From 7ab45473b9059aa172fa86a95d899c41f885f5f4 Mon Sep 17 00:00:00 2001 From: Kirill Kirichenko Date: Thu, 15 May 2025 18:07:57 +0300 Subject: [PATCH 1/6] Change package.json generator to use modified sdk --- arkoala-arkts/tools/peer-generator/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arkoala-arkts/tools/peer-generator/package.json b/arkoala-arkts/tools/peer-generator/package.json index 15041f12b1..e20d2deb59 100644 --- a/arkoala-arkts/tools/peer-generator/package.json +++ b/arkoala-arkts/tools/peer-generator/package.json @@ -4,9 +4,9 @@ "config": { "idlizer_version": "2.1.2", "idlizer_current": "../../../../arkgen", - "api_version": "124", - "input_dir": "../../arkui-common/interface_sdk-js/api/@internal/component/ets/,../../arkui-common/interface_sdk-js/api/global", - "base_dir": "../../arkui-common/interface_sdk-js/api,../../arkui-common/interface_sdk-js/kits,../../arkui-common/interface_sdk-js/arkts" + "api_version": "128", + "input_dir": "../../../../sdk-patched/api/@internal/component/ets/,../../../../sdk-patched/api/global", + "base_dir": "../../../../sdk-patched/api,../../../../sdk-patched/kits,../../../../sdk-patched/arkts" }, "scripts": { "interface-sdk:download": "npm run interface-sdk:download --prefix ../../arkui-common", -- Gitee From de960cb0acc21dbaf821f6f436a473f9327f8d8b Mon Sep 17 00:00:00 2001 From: Kirill Kirichenko Date: Thu, 15 May 2025 18:08:34 +0300 Subject: [PATCH 2/6] Regenerate sources --- .../arkui/src/generated/EnumsImpl.ts | 463 +- .../arkui/src/generated/GlobalScope.ts | 88 +- .../arkui/src/generated/action_sheet.ts | 20 +- .../arkui/src/generated/alert_dialog.ts | 24 +- .../arkui/src/generated/alphabet_indexer.ts | 84 +- .../arkts/ArkUIGeneratedNativeModule.ts | 1385 +- .../arkui/src/generated/arkts/type_check.ts | 686 +- .../arkui/src/generated/arkui-custom.ts | 30 +- .../src/generated/arkui-drawabledescriptor.ts | 10 +- .../arkui/src/generated/arkui-drawing.ts | 10 +- .../arkui/src/generated/arkui-external.ts | 144 +- .../arkui/src/generated/arkui-rendernode.ts | 2 +- arkoala-arkts/arkui/src/generated/blank.ts | 14 +- arkoala-arkts/arkui/src/generated/button.ts | 96 +- arkoala-arkts/arkui/src/generated/calendar.ts | 2 +- .../arkui/src/generated/calendar_picker.ts | 196 +- arkoala-arkts/arkui/src/generated/canvas.ts | 157 +- arkoala-arkts/arkui/src/generated/checkbox.ts | 333 +- .../arkui/src/generated/checkboxgroup.ts | 294 +- arkoala-arkts/arkui/src/generated/circle.ts | 2 +- arkoala-arkts/arkui/src/generated/column.ts | 55 +- .../arkui/src/generated/column_split.ts | 2 +- arkoala-arkts/arkui/src/generated/common.ts | 5671 +- .../arkui/src/generated/component3d.ts | 30 +- .../src/generated/custom_dialog_controller.ts | 19 +- .../arkui/src/generated/data_panel.ts | 26 +- .../arkui/src/generated/date_picker.ts | 265 +- arkoala-arkts/arkui/src/generated/divider.ts | 12 +- arkoala-arkts/arkui/src/generated/ellipse.ts | 2 +- arkoala-arkts/arkui/src/generated/enums.ts | 70 +- arkoala-arkts/arkui/src/generated/flex.ts | 2 +- arkoala-arkts/arkui/src/generated/focus.ts | 4 + .../arkui/src/generated/folder_stack.ts | 2 +- .../arkui/src/generated/form_component.ts | 5 +- arkoala-arkts/arkui/src/generated/gauge.ts | 34 +- .../src/generated/generator_synthetic.ts | 12 +- arkoala-arkts/arkui/src/generated/gesture.ts | 366 +- arkoala-arkts/arkui/src/generated/grid.ts | 34 +- arkoala-arkts/arkui/src/generated/gridItem.ts | 2 +- arkoala-arkts/arkui/src/generated/grid_col.ts | 14 +- .../arkui/src/generated/grid_container.ts | 2 +- arkoala-arkts/arkui/src/generated/grid_row.ts | 4 +- .../arkui/src/generated/hyperlink.ts | 18 +- arkoala-arkts/arkui/src/generated/image.ts | 163 +- .../arkui/src/generated/image_animator.ts | 19 + .../arkui/src/generated/image_span.ts | 12 +- arkoala-arkts/arkui/src/generated/index.ts | 1 + .../arkui/src/generated/indicatorcomponent.ts | 8 +- .../arkui/src/generated/lazy_grid_layout.ts | 195 + arkoala-arkts/arkui/src/generated/line.ts | 14 +- .../arkui/src/generated/linearindicator.ts | 12 +- arkoala-arkts/arkui/src/generated/list.ts | 84 +- .../arkui/src/generated/list_item.ts | 10 +- .../arkui/src/generated/list_item_group.ts | 4 +- .../arkui/src/generated/loading_progress.ts | 8 +- .../arkui/src/generated/location_button.ts | 17 +- arkoala-arkts/arkui/src/generated/marquee.ts | 24 +- arkoala-arkts/arkui/src/generated/matrix2d.ts | 18 +- .../arkui/src/generated/media_cached_image.ts | 12 +- arkoala-arkts/arkui/src/generated/menu.ts | 127 +- .../arkui/src/generated/menu_item.ts | 32 +- .../arkui/src/generated/menu_item_group.ts | 2 +- .../arkui/src/generated/nav_destination.ts | 522 +- .../arkui/src/generated/navigation.ts | 462 +- .../arkui/src/generated/navigator.ts | 4 +- arkoala-arkts/arkui/src/generated/panel.ts | 30 +- .../arkui/src/generated/paste_button.ts | 17 +- arkoala-arkts/arkui/src/generated/path.ts | 2 +- .../arkui/src/generated/pattern_lock.ts | 80 +- .../peers/CallbackDeserializeCall.ts | 443 +- .../arkui/src/generated/peers/CallbackKind.ts | 34 +- .../arkui/src/generated/peers/Deserializer.ts | 25003 ++--- .../arkui/src/generated/peers/Serializer.ts | 37516 ++++--- arkoala-arkts/arkui/src/generated/polygon.ts | 2 +- arkoala-arkts/arkui/src/generated/polyline.ts | 2 +- arkoala-arkts/arkui/src/generated/progress.ts | 26 +- arkoala-arkts/arkui/src/generated/qrcode.ts | 20 +- arkoala-arkts/arkui/src/generated/radio.ts | 120 +- arkoala-arkts/arkui/src/generated/rating.ts | 198 +- arkoala-arkts/arkui/src/generated/rect.ts | 24 +- arkoala-arkts/arkui/src/generated/refresh.ts | 2 +- arkoala-arkts/arkui/src/generated/repeat.ts | 96 +- .../arkui/src/generated/rich_editor.ts | 215 +- arkoala-arkts/arkui/src/generated/row.ts | 53 +- .../arkui/src/generated/save_button.ts | 20 +- arkoala-arkts/arkui/src/generated/scroll.ts | 42 +- .../arkui/src/generated/scroll_bar.ts | 2 +- arkoala-arkts/arkui/src/generated/search.ts | 286 +- .../arkui/src/generated/security_component.ts | 490 +- arkoala-arkts/arkui/src/generated/select.ts | 1321 +- arkoala-arkts/arkui/src/generated/shape.ts | 46 +- arkoala-arkts/arkui/src/generated/sidebar.ts | 28 +- arkoala-arkts/arkui/src/generated/slider.ts | 196 +- arkoala-arkts/arkui/src/generated/span.ts | 42 +- arkoala-arkts/arkui/src/generated/stack.ts | 2 +- arkoala-arkts/arkui/src/generated/stepper.ts | 4 +- .../arkui/src/generated/stepper_item.ts | 2 +- .../arkui/src/generated/styled_string.ts | 99 +- arkoala-arkts/arkui/src/generated/swiper.ts | 330 +- .../arkui/src/generated/symbol_span.ts | 20 +- .../arkui/src/generated/symbolglyph.ts | 114 +- .../arkui/src/generated/tab_content.ts | 69 +- arkoala-arkts/arkui/src/generated/tabs.ts | 137 +- arkoala-arkts/arkui/src/generated/text.ts | 182 +- .../arkui/src/generated/text_area.ts | 354 +- .../arkui/src/generated/text_clock.ts | 32 +- .../arkui/src/generated/text_common.ts | 80 +- .../arkui/src/generated/text_input.ts | 391 +- .../arkui/src/generated/text_picker.ts | 581 +- .../arkui/src/generated/text_timer.ts | 30 +- .../arkui/src/generated/time_picker.ts | 388 +- arkoala-arkts/arkui/src/generated/toggle.ts | 16 +- .../arkui/src/generated/ts/type_check.ts | 2615 +- .../src/generated/ui_extension_component.ts | 34 +- arkoala-arkts/arkui/src/generated/units.ts | 3 +- arkoala-arkts/arkui/src/generated/video.ts | 43 + .../arkui/src/generated/water_flow.ts | 24 +- arkoala-arkts/arkui/src/generated/web.ts | 261 +- .../arkui/src/generated/xcomponent.ts | 68 +- arkoala-arkts/arkui/types/index-full.d.ts | 1649 +- .../native/src/generated/Serializers.h | 84761 ++++++++-------- .../src/generated/arkoala_api_generated.h | 6764 +- .../native/src/generated/bridge_custom.cc | 12 +- .../native/src/generated/bridge_generated.cc | 30079 +++--- .../generated/callback_deserialize_call.cc | 1104 +- .../native/src/generated/callback_kind.h | 34 +- .../src/generated/callback_managed_caller.cc | 1128 +- .../native/src/generated/dummy_impl.cc | 9195 +- .../native/src/generated/real_impl.cc | 4709 +- arkoala/arkui-types/index-full.d.ts | 1649 +- .../arkui/src/generated/AllMaterialized.ts | 15976 +-- .../src/generated/ArkDotIndicatorBuilder.ts | 5 + .../ArkUIGeneratedNativeModuleEmpty.ts | 2520 +- arkoala/arkui/src/generated/EnumsImpl.ts | 463 +- arkoala/arkui/src/generated/GlobalScope.ts | 86 +- arkoala/arkui/src/generated/action_sheet.ts | 20 +- arkoala/arkui/src/generated/alert_dialog.ts | 17 +- arkoala/arkui/src/generated/button.ts | 66 + .../arkui/src/generated/calendar_picker.ts | 190 +- arkoala/arkui/src/generated/checkbox.ts | 315 +- arkoala/arkui/src/generated/checkboxgroup.ts | 276 +- arkoala/arkui/src/generated/column.ts | 51 +- arkoala/arkui/src/generated/common.ts | 4342 +- .../src/generated/custom_dialog_controller.ts | 19 +- arkoala/arkui/src/generated/date_picker.ts | 261 +- arkoala/arkui/src/generated/enums.ts | 62 +- arkoala/arkui/src/generated/focus.ts | 4 + arkoala/arkui/src/generated/form_component.ts | 3 + arkoala/arkui/src/generated/gesture.ts | 19 +- arkoala/arkui/src/generated/image.ts | 114 +- arkoala/arkui/src/generated/image_animator.ts | 19 + .../arkui/src/generated/lazy_grid_layout.ts | 198 + arkoala/arkui/src/generated/list.ts | 56 +- arkoala/arkui/src/generated/list_item.ts | 2 + .../arkui/src/generated/location_button.ts | 17 +- arkoala/arkui/src/generated/menu.ts | 97 +- .../arkui/src/generated/nav_destination.ts | 479 +- arkoala/arkui/src/generated/navigation.ts | 219 +- arkoala/arkui/src/generated/paste_button.ts | 17 +- arkoala/arkui/src/generated/pattern_lock.ts | 20 + .../peers/ArkUIGeneratedNativeModule.ts | 10748 +- .../peers/CallbackDeserializeCall.ts | 437 +- .../arkui/src/generated/peers/CallbackKind.ts | 34 +- .../arkui/src/generated/peers/Deserializer.ts | 24974 ++--- .../arkui/src/generated/peers/Serializer.ts | 27663 +++-- arkoala/arkui/src/generated/progress.ts | 5 +- arkoala/arkui/src/generated/radio.ts | 118 +- arkoala/arkui/src/generated/rating.ts | 196 +- arkoala/arkui/src/generated/repeat.ts | 4 +- arkoala/arkui/src/generated/rich_editor.ts | 145 +- arkoala/arkui/src/generated/row.ts | 49 +- arkoala/arkui/src/generated/save_button.ts | 18 +- arkoala/arkui/src/generated/search.ts | 206 +- .../arkui/src/generated/security_component.ts | 358 +- arkoala/arkui/src/generated/select.ts | 1229 +- arkoala/arkui/src/generated/slider.ts | 114 +- arkoala/arkui/src/generated/styled_string.ts | 18 +- arkoala/arkui/src/generated/swiper.ts | 201 +- arkoala/arkui/src/generated/symbolglyph.ts | 78 + arkoala/arkui/src/generated/tab_content.ts | 56 +- arkoala/arkui/src/generated/tabs.ts | 103 +- arkoala/arkui/src/generated/text.ts | 74 +- arkoala/arkui/src/generated/text_area.ts | 260 +- arkoala/arkui/src/generated/text_common.ts | 41 +- arkoala/arkui/src/generated/text_input.ts | 271 +- arkoala/arkui/src/generated/text_picker.ts | 561 +- arkoala/arkui/src/generated/time_picker.ts | 384 +- .../src/generated/ui_extension_component.ts | 27 + arkoala/arkui/src/generated/units.ts | 3 +- arkoala/arkui/src/generated/video.ts | 44 +- arkoala/arkui/src/generated/water_flow.ts | 3 +- arkoala/arkui/src/generated/web.ts | 208 +- arkoala/arkui/src/generated/xcomponent.ts | 60 +- 193 files changed, 181926 insertions(+), 138457 deletions(-) create mode 100644 arkoala-arkts/arkui/src/generated/lazy_grid_layout.ts create mode 100644 arkoala/arkui/src/generated/lazy_grid_layout.ts diff --git a/arkoala-arkts/arkui/src/generated/EnumsImpl.ts b/arkoala-arkts/arkui/src/generated/EnumsImpl.ts index b3936f8096..48527df165 100644 --- a/arkoala-arkts/arkui/src/generated/EnumsImpl.ts +++ b/arkoala-arkts/arkui/src/generated/EnumsImpl.ts @@ -468,48 +468,136 @@ export enum CalendarAlign { CENTER = 1, END = 2 } -export enum NavigationMode { - STACK = 0, - Stack = 0, - SPLIT = 1, - Split = 1, - AUTO = 2, - Auto = 2 -} -export enum NavBarPosition { - START = 0, - Start = 0, - END = 1, - End = 1 -} -export enum NavigationTitleMode { - FREE = 0, - Free = 0, - FULL = 1, - Full = 1, - MINI = 2, - Mini = 2 -} -export enum LaunchMode { - STANDARD = 0, - MOVE_TO_TOP_SINGLETON = 1, - POP_TO_SINGLETON = 2, - NEW_INSTANCE = 3 -} -export enum ToolbarItemStatus { - NORMAL = 0, - DISABLED = 1, - ACTIVE = 2 -} -export enum NavigationOperation { - PUSH = 1, - POP = 2, - REPLACE = 3 -} -export enum BarStyle { - STANDARD = 0, - STACK = 1, - SAFE_AREA_PADDING = 2 +export enum AccessibilitySamePageMode { + SEMI_SILENT = 0, + FULL_SILENT = 1 +} +export enum AccessibilityRoleType { + ACTION_SHEET = 0, + ALERT_DIALOG = 1, + INDEXER_COMPONENT = 2, + BADGE_COMPONENT = 3, + BLANK = 4, + BUTTON = 5, + BACK_BUTTON = 6, + SHEET_DRAG_BAR = 7, + CALENDAR_PICKER = 8, + CALENDAR = 9, + CANVAS = 10, + CANVAS_GRADIENT = 11, + CANVAS_PATTERN = 12, + CHECKBOX = 13, + CHECKBOX_GROUP = 14, + CIRCLE = 15, + COLUMN_SPLIT = 16, + COLUMN = 17, + CANVAS_RENDERING_CONTEXT_2D = 18, + CHART = 19, + COUNTER = 20, + CONTAINER_MODAL = 21, + DATA_PANEL = 22, + DATE_PICKER = 23, + DIALOG = 24, + DIVIDER = 25, + DRAG_BAR = 26, + EFFECT_COMPONENT = 27, + ELLIPSE = 28, + FLEX = 29, + FLOW_ITEM = 30, + FORM_COMPONENT = 31, + FORM_LINK = 32, + GAUGE = 33, + GRID = 34, + GRID_COL = 35, + GRID_CONTAINER = 36, + GRID_ITEM = 37, + GRID_ROW = 38, + HYPERLINK = 39, + IMAGE = 40, + IMAGE_ANIMATOR = 41, + IMAGE_BITMAP = 42, + IMAGE_DATA = 43, + IMAGE_SPAN = 44, + LABEL = 45, + LINE = 46, + LIST = 47, + LIST_ITEM = 48, + LIST_ITEM_GROUP = 49, + LOADING_PROGRESS = 50, + MARQUEE = 51, + MATRIX2D = 52, + MENU = 53, + MENU_ITEM = 54, + MENU_ITEM_GROUP = 55, + NAV_DESTINATION = 56, + NAV_ROUTER = 57, + NAVIGATION = 58, + NAVIGATION_BAR = 59, + NAVIGATION_MENU = 60, + NAVIGATOR = 61, + OFFSCREEN_CANVAS = 62, + OFFSCREEN_CANVAS_RENDERING_CONTEXT2D = 63, + OPTION = 64, + PANEL = 65, + PAPER_PAGE = 66, + PATH = 67, + PATH2D = 68, + PATTERN_LOCK = 69, + PICKER = 70, + PICKER_VIEW = 71, + PLUGIN_COMPONENT = 72, + POLYGON = 73, + POLYLINE = 74, + POPUP = 75, + PROGRESS = 76, + QRCODE = 77, + RADIO = 78, + RATING = 79, + RECT = 80, + REFRESH = 81, + RELATIVE_CONTAINER = 82, + REMOTE_WINDOW = 83, + RICH_EDITOR = 84, + RICH_TEXT = 85, + ROLE_PAGER = 86, + ROW = 87, + ROW_SPLIT = 88, + SCROLL = 89, + SCROLL_BAR = 90, + SEARCH = 91, + SEARCH_FIELD = 92, + SELECT = 93, + SHAPE = 94, + SIDEBAR_CONTAINER = 95, + SLIDER = 96, + SPAN = 97, + STACK = 98, + STEPPER = 99, + STEPPER_ITEM = 100, + SWIPER = 101, + SWIPER_INDICATOR = 102, + SWITCH = 103, + SYMBOL_GLYPH = 104, + TAB_CONTENT = 105, + TAB_BAR = 106, + TABS = 107, + TEXT = 108, + TEXT_CLOCK = 109, + TEXT_ENTRY = 110, + TEXT_INPUT = 111, + TEXT_PICKER = 112, + TEXT_TIMER = 113, + TEXT_AREA = 114, + TEXT_FIELD = 115, + TIME_PICKER = 116, + TITLE_BAR = 117, + TOGGLER = 118, + UI_EXTENSION_COMPONENT = 119, + VIDEO = 120, + WATER_FLOW = 121, + WEB = 122, + XCOMPONENT = 123, + ROLE_NONE = 124 } export enum FinishCallbackType { REMOVED = 0, @@ -546,7 +634,8 @@ export enum PreDragStatus { PREVIEW_LIFT_FINISHED = 3, PREVIEW_LANDING_STARTED = 4, PREVIEW_LANDING_FINISHED = 5, - ACTION_CANCELED_BEFORE_DRAG = 6 + ACTION_CANCELED_BEFORE_DRAG = 6, + PREPARING_FOR_DRAG_DETECTION = 7 } export enum SourceType { UNKNOWN = 0, @@ -693,6 +782,11 @@ export enum MenuPreviewMode { NONE = 0, IMAGE = 1 } +export enum HapticFeedbackMode { + DISABLED = 0, + ENABLED = 1, + AUTO = 2 +} export enum OutlineStyle { SOLID = 0, DASHED = 1, @@ -702,7 +796,15 @@ export enum DragPreviewMode { AUTO = 1, DISABLE_SCALE = 2, ENABLE_DEFAULT_SHADOW = 3, - ENABLE_DEFAULT_RADIUS = 4 + ENABLE_DEFAULT_RADIUS = 4, + ENABLE_DRAG_ITEM_GRAY_EFFECT = 5, + ENABLE_MULTI_TILE_EFFECT = 6, + ENABLE_TOUCH_POINT_CALCULATION_BASED_ON_FINAL_PREVIEW = 7 +} +export enum DraggingSizeChangeEffect { + DEFAULT = 0, + SIZE_TRANSITION = 1, + SIZE_CONTENT_TRANSITION = 2 } export enum MenuPolicy { DEFAULT = 0, @@ -714,6 +816,10 @@ export enum ContentClipMode { BOUNDARY = 1, SAFE_AREA = 2 } +export enum EffectEdge { + START = 1, + END = 2 +} export enum KeyboardAvoidMode { DEFAULT = 0, NONE = 1 @@ -722,6 +828,49 @@ export enum HoverModeAreaType { TOP_SCREEN = 0, BOTTOM_SCREEN = 1 } +export enum NavigationMode { + STACK = 0, + Stack = 0, + SPLIT = 1, + Split = 1, + AUTO = 2, + Auto = 2 +} +export enum NavBarPosition { + START = 0, + Start = 0, + END = 1, + End = 1 +} +export enum NavigationTitleMode { + FREE = 0, + Free = 0, + FULL = 1, + Full = 1, + MINI = 2, + Mini = 2 +} +export enum LaunchMode { + STANDARD = 0, + MOVE_TO_TOP_SINGLETON = 1, + POP_TO_SINGLETON = 2, + NEW_INSTANCE = 3 +} +export enum ToolbarItemStatus { + NORMAL = 0, + DISABLED = 1, + ACTIVE = 2 +} +export enum NavigationOperation { + PUSH = 1, + POP = 2, + REPLACE = 3 +} +export enum BarStyle { + STANDARD = 0, + STACK = 1, + SAFE_AREA_PADDING = 2 +} export enum SelectStatus { ALL = 0, All = 0, @@ -740,6 +889,11 @@ export enum DataPanelType { CIRCLE = 1, Circle = 1 } +export enum DatePickerMode { + DATE = 0, + YEAR_AND_MONTH = 1, + MONTH_AND_DAY = 2 +} export enum CheckBoxShape { CIRCLE = 0, ROUNDED_SQUARE = 1 @@ -796,7 +950,8 @@ export enum ImageFit { END = 12, BOTTOM_START = 13, BOTTOM = 14, - BOTTOM_END = 15 + BOTTOM_END = 15, + MATRIX = 16 } export enum BorderStyle { DOTTED = 0, @@ -824,6 +979,11 @@ export enum TouchType { CANCEL = 3, Cancel = 3 } +export enum InteractionHand { + NONE = 0, + LEFT = 1, + RIGHT = 2 +} export enum MouseButton { LEFT = 0, Left = 0, @@ -846,7 +1006,8 @@ export enum MouseAction { MOVE = 2, Move = 2, HOVER = 3, - Hover = 3 + Hover = 3, + CANCEL = 13 } export enum AnimationStatus { INITIAL = 0, @@ -916,7 +1077,8 @@ export enum KeySource { UNKNOWN = 0, Unknown = 0, KEYBOARD = 1, - Keyboard = 1 + Keyboard = 1, + JOYSTICK = 2 } export enum Edge { TOP = 0, @@ -1079,6 +1241,10 @@ export enum PixelRoundCalcPolicy { FORCE_CEIL = 1, FORCE_FLOOR = 2 } +export enum PixelRoundMode { + PIXEL_ROUND_ON_LAYOUT_FINISH = 0, + PIXEL_ROUND_AFTER_MEASURE = 1 +} export enum FlexWrap { NO_WRAP = 0, NoWrap = 0, @@ -1344,17 +1510,14 @@ export enum DialogButtonStyle { export enum WordBreak { NORMAL = 0, BREAK_ALL = 1, - BREAK_WORD = 2 + BREAK_WORD = 2, + HYPHENATION = 3 } export enum LineBreakStrategy { GREEDY = 0, HIGH_QUALITY = 1, BALANCED = 2 } -export enum OptionWidthMode { - FIT_CONTENT = "fit_content", - FIT_TRIGGER = "fit_trigger" -} export enum IlluminatedType { NONE = 0, BORDER = 1, @@ -1363,6 +1526,10 @@ export enum IlluminatedType { BLOOM_BORDER = 4, BLOOM_BORDER_CONTENT = 5 } +export enum OptionWidthMode { + FIT_CONTENT = "fit_content", + FIT_TRIGGER = "fit_trigger" +} export enum FoldStatus { FOLD_STATUS_UNKNOWN = 0, FOLD_STATUS_EXPANDED = 1, @@ -1405,11 +1572,54 @@ export enum HeightBreakpoint { HEIGHT_MD = 1, HEIGHT_LG = 2 } +export enum AxisModel { + ABS_X = 0, + ABS_Y = 1, + ABS_Z = 2, + ABS_RZ = 3, + ABS_GAS = 4, + ABS_BRAKE = 5, + ABS_HAT0X = 6, + ABS_HAT0Y = 7 +} +export enum PageFlipMode { + CONTINUOUS = 0, + SINGLE = 1 +} +export enum CrownAction { + BEGIN = 0, + UPDATE = 1, + END = 2 +} +export enum CrownSensitivity { + LOW = 0, + MEDIUM = 1, + HIGH = 2 +} +export enum AxisAction { + NONE = 0, + BEGIN = 1, + UPDATE = 2, + END = 3, + CANCEL = 4 +} +export enum FocusDrawLevel { + SELF = 0, + TOP = 1 +} +export enum DividerMode { + FLOATING_ABOVE_MENU = 0, + EMBEDDED_IN_MENU = 1 +} export enum FocusPriority { AUTO = 0, PRIOR = 2000, PREVIOUS = 3000 } +export enum KeyProcessingMode { + FOCUS_NAVIGATION = 0, + ANCESTOR_EVENT = 1 +} export enum FormDimension { DIMENSION_1_2 = 0, Dimension_1_2 = 0, @@ -1422,7 +1632,10 @@ export enum FormDimension { DIMENSION_2_1 = 4, Dimension_2_1 = 4, DIMENSION_1_1 = 6, - DIMENSION_6_4 = 7 + DIMENSION_6_4 = 7, + DIMENSION_2_3 = 8, + DIMENSION_3_3 = 9, + DIMENSION_3_4 = 10 } export enum FormRenderingMode { FULL_COLOR = 0, @@ -1564,6 +1777,13 @@ export enum ImageInterpolation { HIGH = 3, High = 3 } +export enum ImageRotateOrientation { + AUTO = 0, + UP = 1, + RIGHT = 2, + DOWN = 3, + LEFT = 4 +} export enum ImageAnalyzerType { SUBJECT = 0, TEXT = 1, @@ -1690,12 +1910,24 @@ export enum NavigationSystemTransitionType { DEFAULT = 0, NONE = 1, TITLE = 2, - CONTENT = 3 + CONTENT = 3, + FADE = 4, + EXPLODE = 5, + SLIDE_RIGHT = 6, + SLIDE_BOTTOM = 7 } export enum NavDestinationMode { STANDARD = 0, DIALOG = 1 } +export enum NavDestinationActiveReason { + TRANSITION = 0, + CONTENT_COVER = 1, + SHEET = 2, + DIALOG = 3, + OVERLAY = 4, + APP_STATE = 5 +} export enum NavRouteMode { PUSH_WITH_RECREATE = 0, PUSH = 1, @@ -1851,12 +2083,14 @@ export enum RichEditorSpanType { TEXT = 0, IMAGE = 1, MIXED = 2, - BUILDER = 3 + BUILDER = 3, + DEFAULT = 4 } export enum RichEditorResponseType { RIGHT_CLICK = 0, LONG_PRESS = 1, - SELECT = 2 + SELECT = 2, + DEFAULT = 3 } export enum SaveIconStyle { FULL_FILLED = 0, @@ -1875,7 +2109,8 @@ export enum SaveDescription { SAVE_TO_GALLERY = 8, EXPORT_TO_GALLERY = 9, QUICK_SAVE_TO_GALLERY = 10, - RESAVE_TO_GALLERY = 11 + RESAVE_TO_GALLERY = 11, + SAVE_ALL = 12 } export enum SaveButtonOnClickResult { SUCCESS = 0, @@ -1929,6 +2164,10 @@ export enum MenuAlignType { CENTER = 1, END = 2 } +export enum AvoidanceMode { + COVER_TARGET = 0, + AVOID_AROUND_TARGET = 1 +} export enum SliderStyle { OUT_SET = 0, OutSet = 0, @@ -1988,6 +2227,11 @@ export enum SwiperNestedScrollMode { SELF_ONLY = 0, SELF_FIRST = 1 } +export enum SwiperAnimationMode { + NO_ANIMATION = 0, + DEFAULT_ANIMATION = 1, + FAST_ANIMATION = 2 +} export enum SymbolRenderingStrategy { SINGLE = 0, MULTIPLE_COLOR = 1, @@ -2011,7 +2255,9 @@ export enum BarMode { export enum AnimationMode { CONTENT_FIRST = 0, ACTION_FIRST = 1, - NO_ANIMATION = 2 + NO_ANIMATION = 2, + CONTENT_FIRST_WITH_JUMP = 3, + ACTION_FIRST_WITH_JUMP = 4 } export enum BarPosition { START = 0, @@ -2024,6 +2270,10 @@ export enum LayoutStyle { ALWAYS_AVERAGE_SPLIT = 1, SPACE_BETWEEN_OR_CENTER = 2 } +export enum TabsCacheMode { + CACHE_BOTH_SIDE = 0, + CACHE_LATEST_SWITCHED = 1 +} export enum SelectedMode { INDICATOR = 0, BOARD = 1 @@ -2036,12 +2286,23 @@ export enum LayoutMode { export enum TextSpanType { TEXT = 0, IMAGE = 1, - MIXED = 2 + MIXED = 2, + DEFAULT = 3 } export enum TextResponseType { RIGHT_CLICK = 0, LONG_PRESS = 1, - SELECT = 2 + SELECT = 2, + DEFAULT = 3 +} +export enum MarqueeState { + START = 0, + BOUNCE = 1, + FINISH = 2 +} +export enum MarqueeStartPolicy { + DEFAULT = 0, + ON_FOCUS = 1 } export enum TextAreaType { NORMAL = 0, @@ -2051,29 +2312,6 @@ export enum TextAreaType { NUMBER_DECIMAL = 12, URL = 13 } -export enum ContentType { - USER_NAME = 0, - PASSWORD = 1, - NEW_PASSWORD = 2, - FULL_STREET_ADDRESS = 3, - HOUSE_NUMBER = 4, - DISTRICT_ADDRESS = 5, - CITY_ADDRESS = 6, - PROVINCE_ADDRESS = 7, - COUNTRY_ADDRESS = 8, - PERSON_FULL_NAME = 9, - PERSON_LAST_NAME = 10, - PERSON_FIRST_NAME = 11, - PHONE_NUMBER = 12, - PHONE_COUNTRY_CODE = 13, - FULL_PHONE_NUMBER = 14, - EMAIL_ADDRESS = 15, - BANK_CARD_NUMBER = 16, - ID_CARD_NUMBER = 17, - NICKNAME = 23, - DETAIL_INFO_WITHOUT_STREET = 24, - FORMAT_ADDRESS = 25 -} export enum TextDataDetectorType { PHONE_NUMBER = 0, URL = 1, @@ -2089,6 +2327,22 @@ export enum MenuType { SELECTION_MENU = 0, PREVIEW_MENU = 1 } +export enum AutoCapitalizationMode { + NONE = 0, + WORDS = 1, + SENTENCES = 2, + ALL_CHARACTERS = 3 +} +export enum TextMenuShowMode { + DEFAULT = 0, + PREFER_WINDOW = 1 +} +export enum KeyboardAppearance { + NONE_IMMERSIVE = 0, + IMMERSIVE = 1, + LIGHT_IMMERSIVE = 2, + DARK_IMMERSIVE = 3 +} export enum InputType { NORMAL = 0, Normal = 0, @@ -2107,6 +2361,41 @@ export enum InputType { NUMBER_DECIMAL = 12, URL = 13 } +export enum ContentType { + USER_NAME = 0, + PASSWORD = 1, + NEW_PASSWORD = 2, + FULL_STREET_ADDRESS = 3, + HOUSE_NUMBER = 4, + DISTRICT_ADDRESS = 5, + CITY_ADDRESS = 6, + PROVINCE_ADDRESS = 7, + COUNTRY_ADDRESS = 8, + PERSON_FULL_NAME = 9, + PERSON_LAST_NAME = 10, + PERSON_FIRST_NAME = 11, + PHONE_NUMBER = 12, + PHONE_COUNTRY_CODE = 13, + FULL_PHONE_NUMBER = 14, + EMAIL_ADDRESS = 15, + BANK_CARD_NUMBER = 16, + ID_CARD_NUMBER = 17, + NICKNAME = 23, + DETAIL_INFO_WITHOUT_STREET = 24, + FORMAT_ADDRESS = 25, + PASSPORT_NUMBER = 26, + VALIDITY = 27, + ISSUE_AT = 28, + ORGANIZATION = 29, + TAX_ID = 30, + ADDRESS_CITY_AND_STATE = 31, + FLIGHT_NUMBER = 32, + LICENSE_NUMBER = 33, + LICENSE_FILE_NUMBER = 34, + LICENSE_PLATE = 35, + ENGINE_NUMBER = 36, + LICENSE_CHASSIS_NUMBER = 37 +} export enum EnterKeyType { GO = 2, Go = 2, @@ -2213,6 +2502,10 @@ export enum OverScrollMode { NEVER = 0, ALWAYS = 1 } +export enum BlurOnKeyboardHideMode { + SILENT = 0, + BLUR = 1 +} export enum WebDarkMode { OFF = 0, Off = 0, @@ -2367,6 +2660,10 @@ export enum DpiFollowStrategy { FOLLOW_HOST_DPI = 0, FOLLOW_UI_EXTENSION_ABILITY_DPI = 1 } +export enum WindowModeFollowStrategy { + FOLLOW_HOST_WINDOW_MODE = 0, + FOLLOW_UI_EXTENSION_ABILITY_WINDOW_MODE = 1 +} export enum StyledStringKey { FONT = 0, DECORATION = 1, diff --git a/arkoala-arkts/arkui/src/generated/GlobalScope.ts b/arkoala-arkts/arkui/src/generated/GlobalScope.ts index c46981cb8b..8eac22c6fe 100644 --- a/arkoala-arkts/arkui/src/generated/GlobalScope.ts +++ b/arkoala-arkts/arkui/src/generated/GlobalScope.ts @@ -71,91 +71,7 @@ export class GlobalScope { static borderRadiuses_serialize(all: number): BorderRadiuses { const retval = ArkUIGeneratedNativeModule._GlobalScope_borderRadiuses(all) let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) - const buffer_topLeft_buf_runtimeType = (retvalDeserializer.readInt8() as int32) - let buffer_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (buffer_topLeft_buf_runtimeType)) - { - const buffer_topLeft_buf__selector : int32 = retvalDeserializer.readInt8() - let buffer_topLeft_buf_ : string | number | Resource | undefined - if (buffer_topLeft_buf__selector == 0) { - buffer_topLeft_buf_ = (retvalDeserializer.readString() as string) - } - else if (buffer_topLeft_buf__selector == 1) { - buffer_topLeft_buf_ = (retvalDeserializer.readNumber() as number) - } - else if (buffer_topLeft_buf__selector == 2) { - buffer_topLeft_buf_ = retvalDeserializer.readResource() - } - else { - throw new Error("One of the branches for buffer_topLeft_buf_ has to be chosen through deserialisation.") - } - buffer_topLeft_buf = (buffer_topLeft_buf_ as string | number | Resource) - } - const buffer_topLeft : undefined | Length = buffer_topLeft_buf - const buffer_topRight_buf_runtimeType = (retvalDeserializer.readInt8() as int32) - let buffer_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (buffer_topRight_buf_runtimeType)) - { - const buffer_topRight_buf__selector : int32 = retvalDeserializer.readInt8() - let buffer_topRight_buf_ : string | number | Resource | undefined - if (buffer_topRight_buf__selector == 0) { - buffer_topRight_buf_ = (retvalDeserializer.readString() as string) - } - else if (buffer_topRight_buf__selector == 1) { - buffer_topRight_buf_ = (retvalDeserializer.readNumber() as number) - } - else if (buffer_topRight_buf__selector == 2) { - buffer_topRight_buf_ = retvalDeserializer.readResource() - } - else { - throw new Error("One of the branches for buffer_topRight_buf_ has to be chosen through deserialisation.") - } - buffer_topRight_buf = (buffer_topRight_buf_ as string | number | Resource) - } - const buffer_topRight : undefined | Length = buffer_topRight_buf - const buffer_bottomLeft_buf_runtimeType = (retvalDeserializer.readInt8() as int32) - let buffer_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (buffer_bottomLeft_buf_runtimeType)) - { - const buffer_bottomLeft_buf__selector : int32 = retvalDeserializer.readInt8() - let buffer_bottomLeft_buf_ : string | number | Resource | undefined - if (buffer_bottomLeft_buf__selector == 0) { - buffer_bottomLeft_buf_ = (retvalDeserializer.readString() as string) - } - else if (buffer_bottomLeft_buf__selector == 1) { - buffer_bottomLeft_buf_ = (retvalDeserializer.readNumber() as number) - } - else if (buffer_bottomLeft_buf__selector == 2) { - buffer_bottomLeft_buf_ = retvalDeserializer.readResource() - } - else { - throw new Error("One of the branches for buffer_bottomLeft_buf_ has to be chosen through deserialisation.") - } - buffer_bottomLeft_buf = (buffer_bottomLeft_buf_ as string | number | Resource) - } - const buffer_bottomLeft : undefined | Length = buffer_bottomLeft_buf - const buffer_bottomRight_buf_runtimeType = (retvalDeserializer.readInt8() as int32) - let buffer_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (buffer_bottomRight_buf_runtimeType)) - { - const buffer_bottomRight_buf__selector : int32 = retvalDeserializer.readInt8() - let buffer_bottomRight_buf_ : string | number | Resource | undefined - if (buffer_bottomRight_buf__selector == 0) { - buffer_bottomRight_buf_ = (retvalDeserializer.readString() as string) - } - else if (buffer_bottomRight_buf__selector == 1) { - buffer_bottomRight_buf_ = (retvalDeserializer.readNumber() as number) - } - else if (buffer_bottomRight_buf__selector == 2) { - buffer_bottomRight_buf_ = retvalDeserializer.readResource() - } - else { - throw new Error("One of the branches for buffer_bottomRight_buf_ has to be chosen through deserialisation.") - } - buffer_bottomRight_buf = (buffer_bottomRight_buf_ as string | number | Resource) - } - const buffer_bottomRight : undefined | Length = buffer_bottomRight_buf - const returnResult : BorderRadiuses = ({topLeft: buffer_topLeft, topRight: buffer_topRight, bottomLeft: buffer_bottomLeft, bottomRight: buffer_bottomRight} as BorderRadiuses) + const returnResult : BorderRadiuses = retvalDeserializer.readBorderRadiuses() return returnResult } public static wrapBuilder(builder: ((args: CommonConfiguration) => void)): WrappedBuilder { @@ -179,7 +95,7 @@ export class GlobalScope { const thisSerializer : Serializer = Serializer.hold() let component_type : int32 = RuntimeType.UNDEFINED component_type = runtimeType(component) - thisSerializer.writeInt8(component_type as int32) + thisSerializer.writeInt8(component_type) if ((RuntimeType.UNDEFINED) != (component_type)) { const component_value = component! thisSerializer.holdAndWriteObject(component_value) diff --git a/arkoala-arkts/arkui/src/generated/action_sheet.ts b/arkoala-arkts/arkui/src/generated/action_sheet.ts index 2cded37961..eda3f262dc 100644 --- a/arkoala-arkts/arkui/src/generated/action_sheet.ts +++ b/arkoala-arkts/arkui/src/generated/action_sheet.ts @@ -26,9 +26,9 @@ import { CallbackTransformer } from "./../CallbackTransformer" import { Resource } from "./resource" import { VoidCallback, ResourceStr, ResourceColor, Dimension, BorderRadiuses, LocalizedBorderRadiuses, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors } from "./units" import { Callback_Void } from "./ability_component" -import { DismissReason, Rectangle, BlurStyle, TransitionEffect, ShadowOptions, ShadowStyle, HoverModeAreaType } from "./common" +import { DismissReason, Rectangle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, TransitionEffect, ShadowOptions, ShadowStyle, HoverModeAreaType } from "./common" import { DialogButtonStyle, BorderStyle } from "./enums" -import { DialogAlignment } from "./alert_dialog" +import { DialogAlignment, LevelOrder } from "./alert_dialog" import { EdgeStyles } from "./arkui-external" export class ActionSheet { public static show(value: ActionSheetOptions): void { @@ -63,6 +63,12 @@ export interface ActionSheetOffset { dx: number | string | Resource; dy: number | string | Resource; } +export interface LevelMode { + _LevelModeStub: string; +} +export interface ImmersiveMode { + _ImmersiveModeStub: string; +} export type Callback_DismissDialogAction_Void = (parameter: DismissDialogAction) => void; export interface ActionSheetOptions { title: string | Resource; @@ -79,6 +85,8 @@ export interface ActionSheetOptions { isModal?: boolean; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onWillDismiss?: ((parameter: DismissDialogAction) => void); transition?: TransitionEffect; cornerRadius?: Dimension | BorderRadiuses | LocalizedBorderRadiuses; @@ -90,4 +98,12 @@ export interface ActionSheetOptions { shadow?: ShadowOptions | ShadowStyle; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + onDidAppear?: (() => void); + onDidDisappear?: (() => void); + onWillAppear?: (() => void); + onWillDisappear?: (() => void); + levelMode?: LevelMode; + levelUniqueId?: number; + immersiveMode?: ImmersiveMode; + levelOrder?: LevelOrder; } diff --git a/arkoala-arkts/arkui/src/generated/alert_dialog.ts b/arkoala-arkts/arkui/src/generated/alert_dialog.ts index 2415ba70c6..2b5a0a0cc2 100644 --- a/arkoala-arkts/arkui/src/generated/alert_dialog.ts +++ b/arkoala-arkts/arkui/src/generated/alert_dialog.ts @@ -25,9 +25,10 @@ import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./../CallbackTransformer" import { DialogButtonStyle, WordBreak, BorderStyle } from "./enums" import { ResourceStr, ResourceColor, VoidCallback, Offset, Dimension, BorderRadiuses, LocalizedBorderRadiuses, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors } from "./units" -import { Rectangle, BlurStyle, TransitionEffect, ShadowOptions, ShadowStyle, HoverModeAreaType } from "./common" -import { Callback_DismissDialogAction_Void, DismissDialogAction } from "./action_sheet" +import { Rectangle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, TransitionEffect, ShadowOptions, ShadowStyle, HoverModeAreaType } from "./common" +import { Callback_DismissDialogAction_Void, DismissDialogAction, LevelMode, ImmersiveMode } from "./action_sheet" import { EdgeStyles } from "./arkui-external" +import { Callback_Void } from "./ability_component" export class AlertDialog { public static show(value: AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions): void { const value_casted = value as (AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions) @@ -39,17 +40,17 @@ export class AlertDialog { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isAlertDialogParamWithConfirm(value, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as AlertDialogParamWithConfirm thisSerializer.writeAlertDialogParamWithConfirm(value_0) } else if (TypeChecker.isAlertDialogParamWithButtons(value, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as AlertDialogParamWithButtons thisSerializer.writeAlertDialogParamWithButtons(value_1) } else if (TypeChecker.isAlertDialogParamWithOptions(value, false, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as AlertDialogParamWithOptions thisSerializer.writeAlertDialogParamWithOptions(value_2) } @@ -99,6 +100,9 @@ export interface AlertDialogButtonOptions extends AlertDialogButtonBaseOptions { export interface TextStyle_alert_dialog { wordBreak?: WordBreak; } +export interface LevelOrder { + _LevelOrderStub: string; +} export interface AlertDialogParam { title?: ResourceStr; subtitle?: ResourceStr; @@ -113,6 +117,8 @@ export interface AlertDialogParam { isModal?: boolean; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onWillDismiss?: ((parameter: DismissDialogAction) => void); transition?: TransitionEffect; cornerRadius?: Dimension | BorderRadiuses | LocalizedBorderRadiuses; @@ -125,6 +131,14 @@ export interface AlertDialogParam { textStyle?: TextStyle_alert_dialog; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + onDidAppear?: (() => void); + onDidDisappear?: (() => void); + onWillAppear?: (() => void); + onWillDisappear?: (() => void); + levelMode?: LevelMode; + levelUniqueId?: number; + immersiveMode?: ImmersiveMode; + levelOrder?: LevelOrder; } export interface AlertDialogParamWithConfirm extends AlertDialogParam { confirm?: AlertDialogButtonBaseOptions; diff --git a/arkoala-arkts/arkui/src/generated/alphabet_indexer.ts b/arkoala-arkts/arkui/src/generated/alphabet_indexer.ts index ccaf1cd530..cfac19a50e 100644 --- a/arkoala-arkts/arkui/src/generated/alphabet_indexer.ts +++ b/arkoala-arkts/arkui/src/generated/alphabet_indexer.ts @@ -58,22 +58,22 @@ export class ArkAlphabetIndexerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -85,22 +85,22 @@ export class ArkAlphabetIndexerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -112,22 +112,22 @@ export class ArkAlphabetIndexerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -139,22 +139,22 @@ export class ArkAlphabetIndexerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -166,22 +166,22 @@ export class ArkAlphabetIndexerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -193,22 +193,22 @@ export class ArkAlphabetIndexerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -220,22 +220,22 @@ export class ArkAlphabetIndexerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -247,22 +247,22 @@ export class ArkAlphabetIndexerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -295,12 +295,12 @@ export class ArkAlphabetIndexerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } @@ -357,22 +357,22 @@ export class ArkAlphabetIndexerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -386,23 +386,23 @@ export class ArkAlphabetIndexerPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let offset_type : int32 = RuntimeType.UNDEFINED offset_type = runtimeType(offset) - thisSerializer.writeInt8(offset_type as int32) + thisSerializer.writeInt8(offset_type) if ((RuntimeType.UNDEFINED) != (offset_type)) { const offset_value = offset! let offset_value_type : int32 = RuntimeType.UNDEFINED offset_value_type = runtimeType(offset_value) if (RuntimeType.STRING == offset_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const offset_value_0 = offset_value as string thisSerializer.writeString(offset_value_0) } else if (RuntimeType.NUMBER == offset_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const offset_value_1 = offset_value as number thisSerializer.writeNumber(offset_value_1) } else if (RuntimeType.OBJECT == offset_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const offset_value_2 = offset_value as Resource thisSerializer.writeResource(offset_value_2) } diff --git a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts index 7a83b3c560..874fb34d9a 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts @@ -172,6 +172,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ButtonAttribute_labelStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _ButtonAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _ButtonAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _Calendar_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _CalendarInterface_setCalendarOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -206,77 +210,29 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CalendarPickerInterface_setCalendarPickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CalendarPickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _CalendarPickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _CalendarPickerAttribute_edgeAlign(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _Navigation_construct(id: KInt, flags: KInt): KPointer - @ani.unsafe.Direct - native static _NavigationInterface_setNavigationOptions0(ptr: KPointer): void - @ani.unsafe.Direct - native static _NavigationInterface_setNavigationOptions1(ptr: KPointer, pathInfos: KPointer): void - @ani.unsafe.Direct - native static _NavigationAttribute_navBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavigationAttribute_navBarPosition(ptr: KPointer, value: KInt): void - @ani.unsafe.Direct - native static _NavigationAttribute_navBarWidthRange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavigationAttribute_minContentWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavigationAttribute_mode(ptr: KPointer, value: KInt): void - @ani.unsafe.Direct - native static _NavigationAttribute_backButtonIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavigationAttribute_hideNavBar(ptr: KPointer, value: KInt): void - @ani.unsafe.Quick - native static _NavigationAttribute_subTitle(ptr: KPointer, value: KStringPtr): void - @ani.unsafe.Direct - native static _NavigationAttribute_hideTitleBar0(ptr: KPointer, value: KInt): void - @ani.unsafe.Direct - native static _NavigationAttribute_hideTitleBar1(ptr: KPointer, hide: KInt, animated: KInt): void - @ani.unsafe.Direct - native static _NavigationAttribute_hideBackButton(ptr: KPointer, value: KInt): void - @ani.unsafe.Direct - native static _NavigationAttribute_titleMode(ptr: KPointer, value: KInt): void - @ani.unsafe.Direct - native static _NavigationAttribute_menus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavigationAttribute_toolBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavigationAttribute_hideToolBar0(ptr: KPointer, value: KInt): void - @ani.unsafe.Direct - native static _NavigationAttribute_hideToolBar1(ptr: KPointer, hide: KInt, animated: KInt): void - @ani.unsafe.Direct - native static _NavigationAttribute_onTitleModeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavigationAttribute_onNavBarStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavigationAttribute_onNavigationModeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CalendarPickerAttribute_textStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _NavigationAttribute_navDestination(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CalendarPickerAttribute_textStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _NavigationAttribute_customNavContentTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CalendarPickerAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _NavigationAttribute_systemBarStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CalendarPickerAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _NavigationAttribute_recoverable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CalendarPickerAttribute_markToday(ptr: KPointer, value: KInt): void @ani.unsafe.Direct - native static _NavigationAttribute_enableDragBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CalendarPickerAttribute_edgeAlign0(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _NavigationAttribute_title(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CalendarPickerAttribute_edgeAlign1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _NavigationAttribute_toolbarConfiguration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct - native static _NavigationAttribute_ignoreLayoutSafeArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_width0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_construct(id: KInt, flags: KInt): KPointer + native static _CommonMethod_width1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_height0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_height1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_drawModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -304,7 +260,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_margin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_backgroundColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_backgroundColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_pixelRound(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -312,7 +270,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_backgroundImagePosition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_backgroundEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_backgroundEffect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_backgroundEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_backgroundImageResizable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -326,7 +286,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_compositingFilter(ptr: KPointer, value: KPointer): void @ani.unsafe.Direct - native static _CommonMethod_opacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_opacity0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_opacity1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_border(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -340,17 +302,29 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_borderImage(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_outline(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_outline0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_outline1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_outlineStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_outlineStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_outlineWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_outlineStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_outlineColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_outlineWidth0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_outlineRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_outlineWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_foregroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_outlineColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_outlineColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_outlineRadius0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_outlineRadius1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_foregroundColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_foregroundColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_onClick0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -358,6 +332,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_onHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _CommonMethod_onHoverMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _CommonMethod_onAccessibilityHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_hoverEffect(ptr: KPointer, value: KInt): void @@ -366,12 +342,26 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_onTouch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_onKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_onKeyEvent0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_onKeyEvent1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_onDigitalCrown(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_onKeyPreIme(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _CommonMethod_onKeyEventDispatch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_onFocusAxisEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_onAxisEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _CommonMethod_focusable(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _CommonMethod_nextFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_tabStop(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct native static _CommonMethod_onFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_onBlur(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -392,45 +382,79 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_transition1(ptr: KPointer, effect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_motionBlur(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_motionBlur0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_motionBlur1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_brightness0(ptr: KPointer, value: number): void @ani.unsafe.Direct - native static _CommonMethod_brightness(ptr: KPointer, value: number): void + native static _CommonMethod_brightness1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_contrast(ptr: KPointer, value: number): void + native static _CommonMethod_contrast0(ptr: KPointer, value: number): void @ani.unsafe.Direct - native static _CommonMethod_grayscale(ptr: KPointer, value: number): void + native static _CommonMethod_contrast1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_colorBlend(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_grayscale0(ptr: KPointer, value: number): void @ani.unsafe.Direct - native static _CommonMethod_saturate(ptr: KPointer, value: number): void + native static _CommonMethod_grayscale1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_sepia(ptr: KPointer, value: number): void + native static _CommonMethod_colorBlend0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_invert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_colorBlend1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_hueRotate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_saturate0(ptr: KPointer, value: number): void @ani.unsafe.Direct - native static _CommonMethod_useShadowBatching(ptr: KPointer, value: KInt): void + native static _CommonMethod_saturate1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_sepia0(ptr: KPointer, value: number): void + @ani.unsafe.Direct + native static _CommonMethod_sepia1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_invert0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_invert1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_hueRotate0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_hueRotate1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_useShadowBatching0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _CommonMethod_useShadowBatching1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_useEffect0(ptr: KPointer, value: KInt): void @ani.unsafe.Direct native static _CommonMethod_useEffect1(ptr: KPointer, useEffect: KInt, effectType: KInt): void @ani.unsafe.Direct - native static _CommonMethod_renderGroup(ptr: KPointer, value: KInt): void + native static _CommonMethod_useEffect2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_freeze(ptr: KPointer, value: KInt): void + native static _CommonMethod_renderGroup0(ptr: KPointer, value: KInt): void @ani.unsafe.Direct - native static _CommonMethod_translate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_renderGroup1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_scale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_freeze0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _CommonMethod_freeze1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_translate0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_translate1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_scale0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_scale1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_gridSpan(ptr: KPointer, value: number): void @ani.unsafe.Direct native static _CommonMethod_gridOffset(ptr: KPointer, value: number): void @ani.unsafe.Direct - native static _CommonMethod_rotate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_rotate0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_rotate1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_transform0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_transform(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_transform1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_onAppear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -476,7 +500,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_aspectRatio(ptr: KPointer, value: number): void @ani.unsafe.Direct - native static _CommonMethod_clickEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_clickEffect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_clickEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_onDragStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -486,7 +512,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_onDragLeave(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_onDrop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_onDrop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_onDrop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_onDragEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -494,31 +522,49 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_draggable(ptr: KPointer, value: KInt): void @ani.unsafe.Direct - native static _CommonMethod_dragPreview(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_dragPreview0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_dragPreview1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_onPreDrag(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_linearGradient(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_linearGradient0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_linearGradient1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_sweepGradient(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_sweepGradient0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_radialGradient(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_sweepGradient1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_radialGradient0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_radialGradient1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_motionPath(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_shadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_shadow0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_shadow1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_clip0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_clip1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_clipShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_clip2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_clipShape0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_clipShape1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_mask0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_mask1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_maskShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_mask2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_maskShape0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_maskShape1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick native static _CommonMethod_key(ptr: KPointer, value: KStringPtr): void @ani.unsafe.Quick @@ -532,11 +578,17 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_restoreId(ptr: KPointer, value: number): void @ani.unsafe.Direct - native static _CommonMethod_sphericalEffect(ptr: KPointer, value: number): void + native static _CommonMethod_sphericalEffect0(ptr: KPointer, value: number): void + @ani.unsafe.Direct + native static _CommonMethod_sphericalEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_lightUpEffect(ptr: KPointer, value: number): void + native static _CommonMethod_lightUpEffect0(ptr: KPointer, value: number): void @ani.unsafe.Direct - native static _CommonMethod_pixelStretchEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_lightUpEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_pixelStretchEffect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_pixelStretchEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_accessibilityGroup0(ptr: KPointer, value: KInt): void @ani.unsafe.Direct @@ -546,6 +598,18 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_accessibilityText1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick + native static _CommonMethod_accessibilityNextFocusId(ptr: KPointer, value: KStringPtr): void + @ani.unsafe.Direct + native static _CommonMethod_accessibilityDefaultFocus(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _CommonMethod_accessibilityUseSamePage(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _CommonMethod_accessibilityScrollTriggerable(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _CommonMethod_accessibilityRole(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _CommonMethod_onAccessibilityFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick native static _CommonMethod_accessibilityTextHint(ptr: KPointer, value: KStringPtr): void @ani.unsafe.Quick native static _CommonMethod_accessibilityDescription0(ptr: KPointer, value: KStringPtr): void @@ -564,11 +628,17 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Quick native static _CommonMethod_reuseId(ptr: KPointer, value: KStringPtr): void @ani.unsafe.Direct - native static _CommonMethod_renderFit(ptr: KPointer, value: KInt): void + native static _CommonMethod_reuse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_renderFit0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _CommonMethod_renderFit1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_gestureModifier(ptr: KPointer, value: KPointer): void @ani.unsafe.Direct - native static _CommonMethod_backgroundBrightness(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_backgroundBrightness0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_backgroundBrightness1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_onGestureJudgeBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -583,6 +653,8 @@ export class ArkUIGeneratedNativeModule { native static _CommonMethod_onTouchIntercept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_onSizeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_accessibilityFocusDrawLevel(ptr: KPointer, value: KInt): void @ani.unsafe.Quick native static _CommonMethod_customProperty(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -590,11 +662,17 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_background(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_backgroundImage(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_backgroundImage0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_backgroundImage1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_backgroundBlurStyle0(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_backgroundBlurStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_backgroundBlurStyle(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_foregroundBlurStyle0(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_foregroundBlurStyle(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_foregroundBlurStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick native static _CommonMethod_focusScopeId0(ptr: KPointer, id: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick @@ -608,13 +686,19 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_parallelGesture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_blur(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_blur0(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_linearGradientBlur(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_blur1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_linearGradientBlur0(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_linearGradientBlur1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_systemBarEffect(ptr: KPointer): void @ani.unsafe.Direct - native static _CommonMethod_backdropBlur(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_backdropBlur0(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_backdropBlur1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick native static _CommonMethod_sharedTransition(ptr: KPointer, id: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -624,10 +708,14 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_overlay(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_blendMode(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_blendMode0(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CommonMethod_blendMode1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_advancedBlendMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _CommonMethod_bindTips(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _CommonMethod_bindPopup(ptr: KPointer, show: KInt, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_bindMenu0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -638,14 +726,16 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CommonMethod_bindContextMenu1(ptr: KPointer, isShown: KInt, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_bindContentCover0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_bindContentCover0(ptr: KPointer, isShow: KInt, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_bindContentCover1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_bindContentCover1(ptr: KPointer, isShow: KInt, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CommonMethod_bindSheet(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CommonMethod_bindSheet(ptr: KPointer, isShow: KInt, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CommonMethod_onVisibleAreaChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _CommonMethod_onVisibleAreaApproximateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _CommonMethod_keyboardShortcut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _Common_construct(id: KInt, flags: KInt): KPointer @@ -704,10 +794,82 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ScrollableCommonMethod_clipContent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _ScrollableCommonMethod_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _ScrollableCommonMethod_backToTop(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct native static _ScrollableCommonMethod_edgeEffect(ptr: KPointer, edgeEffect: KInt, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _ScrollableCommonMethod_fadingEdge(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _Navigation_construct(id: KInt, flags: KInt): KPointer + @ani.unsafe.Direct + native static _NavigationInterface_setNavigationOptions0(ptr: KPointer): void + @ani.unsafe.Direct + native static _NavigationInterface_setNavigationOptions1(ptr: KPointer, pathInfos: KPointer): void + @ani.unsafe.Direct + native static _NavigationAttribute_navBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_navBarPosition(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _NavigationAttribute_navBarWidthRange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_minContentWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_mode(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _NavigationAttribute_backButtonIcon0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_backButtonIcon1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_hideNavBar(ptr: KPointer, value: KInt): void + @ani.unsafe.Quick + native static _NavigationAttribute_subTitle(ptr: KPointer, value: KStringPtr): void + @ani.unsafe.Direct + native static _NavigationAttribute_hideTitleBar0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _NavigationAttribute_hideTitleBar1(ptr: KPointer, hide: KInt, animated: KInt): void + @ani.unsafe.Direct + native static _NavigationAttribute_hideBackButton(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _NavigationAttribute_titleMode(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _NavigationAttribute_menus0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_menus1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_toolBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_hideToolBar0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _NavigationAttribute_hideToolBar1(ptr: KPointer, hide: KInt, animated: KInt): void + @ani.unsafe.Direct + native static _NavigationAttribute_enableToolBarAdaptation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_onTitleModeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_onNavBarStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_onNavigationModeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_navDestination(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_customNavContentTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_systemBarStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_recoverable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_enableDragBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_enableModeChangeAnimation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_title(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_toolbarConfiguration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationAttribute_ignoreLayoutSafeArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _Canvas_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _CanvasInterface_setCanvasOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -722,19 +884,33 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CheckboxInterface_setCheckboxOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CheckboxAttribute_select(ptr: KPointer, value: KInt): void + native static _CheckboxAttribute_select0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _CheckboxAttribute_select1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CheckboxAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CheckboxAttribute_selectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CheckboxAttribute_shape(ptr: KPointer, value: KInt): void + native static _CheckboxAttribute_selectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CheckboxAttribute_unselectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CheckboxAttribute_shape0(ptr: KPointer, value: KInt): void @ani.unsafe.Direct - native static _CheckboxAttribute_mark(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CheckboxAttribute_shape1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CheckboxAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CheckboxAttribute_unselectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CheckboxAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CheckboxAttribute_unselectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CheckboxAttribute_mark0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CheckboxAttribute_mark1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CheckboxAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CheckboxAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CheckboxAttribute_contentModifier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CheckboxAttribute_contentModifier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CheckboxAttribute__onChangeEvent_select(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -742,17 +918,29 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _CheckboxGroupInterface_setCheckboxGroupOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CheckboxGroupAttribute_selectAll(ptr: KPointer, value: KInt): void + native static _CheckboxGroupAttribute_selectAll0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _CheckboxGroupAttribute_selectAll1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CheckboxGroupAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CheckboxGroupAttribute_selectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CheckboxGroupAttribute_unselectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CheckboxGroupAttribute_selectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CheckboxGroupAttribute_mark(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CheckboxGroupAttribute_unselectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CheckboxGroupAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _CheckboxGroupAttribute_unselectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _CheckboxGroupAttribute_checkboxShape(ptr: KPointer, value: KInt): void + native static _CheckboxGroupAttribute_mark0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CheckboxGroupAttribute_mark1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CheckboxGroupAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CheckboxGroupAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CheckboxGroupAttribute_checkboxShape0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _CheckboxGroupAttribute_checkboxShape1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CheckboxGroupAttribute__onChangeEvent_selectAll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -762,7 +950,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _Column_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct - native static _ColumnInterface_setColumnOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _ColumnInterface_setColumnOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _ColumnInterface_setColumnOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _ColumnAttribute_alignItems(ptr: KPointer, value: KInt): void @ani.unsafe.Direct @@ -836,17 +1026,31 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _DatePickerInterface_setDatePickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _DatePickerAttribute_lunar(ptr: KPointer, value: KInt): void + native static _DatePickerAttribute_lunar0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _DatePickerAttribute_lunar1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _DatePickerAttribute_disappearTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _DatePickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _DatePickerAttribute_disappearTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _DatePickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _DatePickerAttribute_textStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _DatePickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _DatePickerAttribute_textStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _DatePickerAttribute_selectedTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _DatePickerAttribute_selectedTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _DatePickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _DatePickerAttribute_onDateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _DatePickerAttribute_onDateChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _DatePickerAttribute_onDateChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _DatePickerAttribute_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _DatePickerAttribute_enableHapticFeedback(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _DatePickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -1090,10 +1294,14 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ImageAttribute_fitOriginalSize(ptr: KPointer, value: KInt): void @ani.unsafe.Direct - native static _ImageAttribute_fillColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _ImageAttribute_fillColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _ImageAttribute_fillColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _ImageAttribute_objectFit(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _ImageAttribute_imageMatrix(ptr: KPointer, value: KPointer): void + @ani.unsafe.Direct native static _ImageAttribute_objectRepeat(ptr: KPointer, value: KInt): void @ani.unsafe.Direct native static _ImageAttribute_autoResize(ptr: KPointer, value: KInt): void @@ -1134,6 +1342,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ImageAttribute_enhancedImageQuality(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _ImageAttribute_orientation(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct native static _ImageAnimator_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _ImageAnimatorInterface_setImageAnimatorOptions(ptr: KPointer): void @@ -1154,6 +1364,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ImageAnimatorAttribute_iterations(ptr: KPointer, value: number): void @ani.unsafe.Direct + native static _ImageAnimatorAttribute_monitorInvisibleArea(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct native static _ImageAnimatorAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _ImageAnimatorAttribute_onPause(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -1180,6 +1392,18 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ImageSpanAttribute_alt(ptr: KPointer, value: KPointer): void @ani.unsafe.Direct + native static _LazyGridLayout_construct(id: KInt, flags: KInt): KPointer + @ani.unsafe.Direct + native static _LazyGridLayoutAttribute_rowsGap(ptr: KPointer, value: KPointer): void + @ani.unsafe.Direct + native static _LazyGridLayoutAttribute_columnsGap(ptr: KPointer, value: KPointer): void + @ani.unsafe.Direct + native static _LazyVGridLayout_construct(id: KInt, flags: KInt): KPointer + @ani.unsafe.Direct + native static _LazyVGridLayoutInterface_setLazyVGridLayoutOptions(ptr: KPointer): void + @ani.unsafe.Quick + native static _LazyVGridLayoutAttribute_columnsTemplate(ptr: KPointer, value: KStringPtr): void + @ani.unsafe.Direct native static _Line_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _LineInterface_setLineOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -1230,6 +1454,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ListAttribute_maintainVisibleContentPosition(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _ListAttribute_stackFromEnd(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct native static _ListAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _ListAttribute_onScrollIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -1386,17 +1612,25 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _NavDestinationAttribute_hideTitleBar1(ptr: KPointer, hide: KInt, animated: KInt): void @ani.unsafe.Direct + native static _NavDestinationAttribute_hideBackButton(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _NavDestinationAttribute_onShown(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _NavDestinationAttribute_onHidden(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _NavDestinationAttribute_onBackPressed(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _NavDestinationAttribute_onResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _NavDestinationAttribute_mode(ptr: KPointer, value: KInt): void @ani.unsafe.Direct - native static _NavDestinationAttribute_backButtonIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _NavDestinationAttribute_backButtonIcon0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavDestinationAttribute_backButtonIcon1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _NavDestinationAttribute_menus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _NavDestinationAttribute_menus0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavDestinationAttribute_menus1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _NavDestinationAttribute_onReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -1414,6 +1648,22 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _NavDestinationAttribute_systemTransition(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _NavDestinationAttribute_bindToScrollable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavDestinationAttribute_bindToNestedScrollable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavDestinationAttribute_onActive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavDestinationAttribute_onInactive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavDestinationAttribute_customTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavDestinationAttribute_onNewParam(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavDestinationAttribute_preferredOrientation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavDestinationAttribute_enableNavigationIndicator(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _NavDestinationAttribute_title(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _NavDestinationAttribute_toolbarConfiguration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -1422,6 +1672,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _NavDestinationAttribute_ignoreLayoutSafeArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _NavDestinationAttribute_enableStatusBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _NavRouter_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _NavRouterInterface_setNavRouterOptions0(ptr: KPointer): void @@ -1522,6 +1774,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _PatternLockAttribute_activateCircleStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _PatternLockAttribute_skipUnselectedPoint(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct native static _PluginComponent_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _PluginComponentInterface_setPluginComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -1570,13 +1824,19 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _RadioInterface_setRadioOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _RadioAttribute_checked(ptr: KPointer, value: KInt): void + native static _RadioAttribute_checked0(ptr: KPointer, value: KInt): void @ani.unsafe.Direct - native static _RadioAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _RadioAttribute_checked1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _RadioAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _RadioAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _RadioAttribute_radioStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _RadioAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _RadioAttribute_contentModifier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _RadioAttribute_contentModifier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _RadioAttribute__onChangeEvent_checked(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -1584,15 +1844,25 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _RatingInterface_setRatingOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _RatingAttribute_stars(ptr: KPointer, value: number): void + native static _RatingAttribute_stars0(ptr: KPointer, value: number): void + @ani.unsafe.Direct + native static _RatingAttribute_stars1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _RatingAttribute_stepSize0(ptr: KPointer, value: number): void + @ani.unsafe.Direct + native static _RatingAttribute_stepSize1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _RatingAttribute_starStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _RatingAttribute_stepSize(ptr: KPointer, value: number): void + native static _RatingAttribute_starStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _RatingAttribute_starStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _RatingAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _RatingAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _RatingAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _RatingAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _RatingAttribute_contentModifier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _RatingAttribute_contentModifier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _RatingAttribute__onChangeEvent_rating(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -1692,6 +1962,14 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _RichEditorAttribute_barState(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _RichEditorAttribute_maxLength(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _RichEditorAttribute_maxLines(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _RichEditorAttribute_keyboardAppearance(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _RichEditorAttribute_stopBackPress(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _RichEditorAttribute_bindSelectionMenu(ptr: KPointer, spanType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _RichEditorAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -1712,7 +1990,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _Row_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct - native static _RowInterface_setRowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _RowInterface_setRowOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _RowInterface_setRowOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _RowAttribute_alignItems(ptr: KPointer, value: KInt): void @ani.unsafe.Direct @@ -1844,6 +2124,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SearchAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _SearchAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SearchAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _SearchAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SearchAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -1867,6 +2151,16 @@ export class ArkUIGeneratedNativeModule { native static _SearchAttribute_enablePreviewText(ptr: KPointer, value: KInt): void @ani.unsafe.Direct native static _SearchAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _SearchAttribute_autoCapitalizationMode(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _SearchAttribute_halfLeading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SearchAttribute_stopBackPress(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SearchAttribute_onWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SearchAttribute_keyboardAppearance(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick native static _SearchAttribute_searchButton(ptr: KPointer, value: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -1908,7 +2202,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SecurityComponentMethod_borderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SecurityComponentMethod_borderRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SecurityComponentMethod_borderRadius0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SecurityComponentMethod_borderRadius1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SecurityComponentMethod_padding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -1924,51 +2220,129 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SecurityComponentMethod_constraintSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _SecurityComponentMethod_align(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _SecurityComponentMethod_alignRules0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SecurityComponentMethod_alignRules1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _SecurityComponentMethod_id(ptr: KPointer, value: KStringPtr): void + @ani.unsafe.Direct + native static _SecurityComponentMethod_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SecurityComponentMethod_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SecurityComponentMethod_maxLines(ptr: KPointer, value: number): void + @ani.unsafe.Direct + native static _SecurityComponentMethod_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SecurityComponentMethod_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SecurityComponentMethod_heightAdaptivePolicy(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _SecurityComponentMethod_enabled(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _SecurityComponentMethod_chainMode(ptr: KPointer, direction: KInt, style: KInt): void + @ani.unsafe.Direct native static _Select_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _SelectInterface_setSelectOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_selected0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_selected1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_value0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_value1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_font0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_font1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_font(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_fontColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_fontColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_selectedOptionBgColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_selectedOptionBgColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_selectedOptionFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_selectedOptionBgColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_selectedOptionFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_selectedOptionFont0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_optionBgColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_selectedOptionFont1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_optionFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_selectedOptionFontColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_optionFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_selectedOptionFontColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_optionBgColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_space(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_optionBgColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_arrowPosition(ptr: KPointer, value: KInt): void + native static _SelectAttribute_optionFont0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_optionWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_optionFont1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_optionHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_optionFontColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_menuBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_optionFontColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_menuBackgroundBlurStyle(ptr: KPointer, value: KInt): void + native static _SelectAttribute_onSelect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_controlSize(ptr: KPointer, value: KInt): void + native static _SelectAttribute_onSelect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_menuItemContentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_space0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_space1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_arrowPosition0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _SelectAttribute_arrowPosition1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_optionWidth0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_optionWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_optionHeight0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_optionHeight1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_menuBackgroundColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_menuBackgroundColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_menuBackgroundBlurStyle0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _SelectAttribute_menuBackgroundBlurStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_controlSize0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _SelectAttribute_controlSize1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_menuItemContentModifier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_menuItemContentModifier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SelectAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SelectAttribute_menuAlign(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SelectAttribute_textModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_arrowModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_optionTextModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_selectedOptionTextModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_dividerStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_avoidance(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _SelectAttribute_menuOutline(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_menuAlign0(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SelectAttribute_menuAlign1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SelectAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -2014,7 +2388,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SliderAttribute_trackColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SliderAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SliderAttribute_selectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SliderAttribute_selectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick native static _SliderAttribute_minLabel(ptr: KPointer, value: KStringPtr): void @ani.unsafe.Quick @@ -2050,6 +2426,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SliderAttribute_slideRange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _SliderAttribute_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SliderAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct native static _SliderAttribute_showTips(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SliderAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -2126,13 +2506,15 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SwiperAttribute_index(ptr: KPointer, value: number): void @ani.unsafe.Direct - native static _SwiperAttribute_autoPlay(ptr: KPointer, value: KInt): void + native static _SwiperAttribute_autoPlay0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _SwiperAttribute_autoPlay1(ptr: KPointer, autoPlay: KInt, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SwiperAttribute_interval(ptr: KPointer, value: number): void @ani.unsafe.Direct native static _SwiperAttribute_indicator0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _SwiperAttribute_indicator1(ptr: KPointer, value: KPointer): void + native static _SwiperAttribute_indicator1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SwiperAttribute_loop(ptr: KPointer, value: KInt): void @ani.unsafe.Direct @@ -2144,7 +2526,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SwiperAttribute_displayMode(ptr: KPointer, value: KInt): void @ani.unsafe.Direct - native static _SwiperAttribute_cachedCount(ptr: KPointer, value: number): void + native static _SwiperAttribute_cachedCount0(ptr: KPointer, value: number): void + @ani.unsafe.Direct + native static _SwiperAttribute_cachedCount1(ptr: KPointer, count: number, isShown: KInt): void @ani.unsafe.Direct native static _SwiperAttribute_effectMode(ptr: KPointer, value: KInt): void @ani.unsafe.Direct @@ -2154,8 +2538,12 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SwiperAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _SwiperAttribute_onSelected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _SwiperAttribute_indicatorStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _SwiperAttribute_onUnselected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _SwiperAttribute_onAnimationStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SwiperAttribute_onAnimationEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -2170,6 +2558,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SwiperAttribute_indicatorInteractive(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _SwiperAttribute_pageFlipMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SwiperAttribute_onContentWillScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _SwiperAttribute_displayArrow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SwiperAttribute_displayCount(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -2210,6 +2602,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SymbolGlyphAttribute_renderingStrategy(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _SymbolGlyphAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SymbolGlyphAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _SymbolGlyphAttribute_symbolEffect0(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SymbolGlyphAttribute_symbolEffect1(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -2254,8 +2650,12 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _TabsAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _TabsAttribute_onSelected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _TabsAttribute_onTabBarClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _TabsAttribute_onUnselected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _TabsAttribute_onAnimationStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _TabsAttribute_onAnimationEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -2280,10 +2680,14 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _TabsAttribute_barBackgroundEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _TabsAttribute_pageFlipMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _TabsAttribute_onContentWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _TabsAttribute_barModeScrollable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _TabsAttribute_cachedMaxCount(ptr: KPointer, count: number, mode: KInt): void + @ani.unsafe.Direct native static _TabsAttribute__onChangeEvent_index(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _TabContent_construct(id: KInt, flags: KInt): KPointer @@ -2294,6 +2698,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _TabContentAttribute_tabBar1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _TabContentAttribute_tabBar2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _TabContentAttribute_onWillShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _TabContentAttribute_onWillHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -2374,6 +2780,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Quick native static _TextAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void @ani.unsafe.Direct + native static _TextAttribute_marqueeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextAttribute_onMarqueeStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _TextAttribute_privacySensitive(ptr: KPointer, value: KInt): void @ani.unsafe.Direct native static _TextAttribute_textSelectable(ptr: KPointer, value: KInt): void @@ -2454,6 +2864,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _TextAreaAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _TextAreaAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextAreaAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _TextAreaAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void @ani.unsafe.Direct native static _TextAreaAttribute_maxLines(ptr: KPointer, value: number): void @@ -2492,6 +2906,18 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _TextAreaAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _TextAreaAttribute_autoCapitalizationMode(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _TextAreaAttribute_halfLeading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextAreaAttribute_ellipsisMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextAreaAttribute_stopBackPress(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextAreaAttribute_onWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextAreaAttribute_keyboardAppearance(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _TextAreaAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _TextAreaAttribute_showCounter(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void @@ -2622,6 +3048,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _TextInputAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _TextInputAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextInputAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _TextInputAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void @ani.unsafe.Direct native static _TextInputAttribute_enableAutoFill(ptr: KPointer, value: KInt): void @@ -2654,6 +3084,18 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _TextInputAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _TextInputAttribute_autoCapitalizationMode(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _TextInputAttribute_halfLeading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextInputAttribute_ellipsisMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextInputAttribute_stopBackPress(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextInputAttribute_onWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextInputAttribute_keyboardAppearance(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _TextInputAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _TextInputAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -2666,27 +3108,59 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _TextPickerInterface_setTextPickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TextPickerAttribute_defaultPickerItemHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TextPickerAttribute_defaultPickerItemHeight0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_defaultPickerItemHeight1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_canLoop0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _TextPickerAttribute_canLoop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TextPickerAttribute_canLoop(ptr: KPointer, value: KInt): void + native static _TextPickerAttribute_disappearTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TextPickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TextPickerAttribute_disappearTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TextPickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TextPickerAttribute_textStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TextPickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TextPickerAttribute_textStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_selectedTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_selectedTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_disableTextStyleAnimation(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _TextPickerAttribute_defaultTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _TextPickerAttribute_onAccept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _TextPickerAttribute_onCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TextPickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TextPickerAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_onScrollStop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_onScrollStop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_onEnterSelectedArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TextPickerAttribute_selectedIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TextPickerAttribute_selectedIndex0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TextPickerAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TextPickerAttribute_selectedIndex1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TextPickerAttribute_gradientHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TextPickerAttribute_divider0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_divider1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_gradientHeight0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_gradientHeight1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_enableHapticFeedback(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TextPickerAttribute_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _TextPickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -2718,21 +3192,43 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _TimePickerInterface_setTimePickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TimePickerAttribute_useMilitaryTime(ptr: KPointer, value: KInt): void + native static _TimePickerAttribute_useMilitaryTime0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _TimePickerAttribute_useMilitaryTime1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TimePickerAttribute_loop0(ptr: KPointer, value: KInt): void @ani.unsafe.Direct - native static _TimePickerAttribute_loop(ptr: KPointer, value: KInt): void + native static _TimePickerAttribute_loop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TimePickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TimePickerAttribute_disappearTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TimePickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TimePickerAttribute_disappearTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TimePickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TimePickerAttribute_textStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TimePickerAttribute_dateTimeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TimePickerAttribute_textStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TimePickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _TimePickerAttribute_selectedTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _TimePickerAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void + native static _TimePickerAttribute_selectedTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TimePickerAttribute_dateTimeOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TimePickerAttribute_dateTimeOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TimePickerAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TimePickerAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TimePickerAttribute_onEnterSelectedArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TimePickerAttribute_enableHapticFeedback0(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _TimePickerAttribute_enableHapticFeedback1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TimePickerAttribute_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _TimePickerAttribute_enableCascade(ptr: KPointer, value: KInt): void @ani.unsafe.Direct native static _TimePickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct @@ -2790,6 +3286,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _VideoAttribute_analyzerConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _VideoAttribute_surfaceBackgroundColor(ptr: KPointer, value: KPointer): void + @ani.unsafe.Direct + native static _VideoAttribute_enableShortcutKey(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct native static _Web_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _WebInterface_setWebOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -2830,6 +3330,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _WebAttribute_overScrollMode(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _WebAttribute_blurOnKeyboardHideMode(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct native static _WebAttribute_textZoomAtio(ptr: KPointer, value: number): void @ani.unsafe.Direct native static _WebAttribute_textZoomRatio(ptr: KPointer, value: number): void @@ -3012,8 +3514,6 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _WebAttribute_enableNativeMediaPlayer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _WebAttribute_enableSmoothDragResize(ptr: KPointer, value: KInt): void - @ani.unsafe.Direct native static _WebAttribute_onRenderProcessNotResponding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _WebAttribute_onRenderProcessResponding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -3031,6 +3531,20 @@ export class ArkUIGeneratedNativeModule { native static _WebAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _WebAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _WebAttribute_optimizeParserBudget(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _WebAttribute_enableFollowSystemFontWeight(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _WebAttribute_enableWebAVSession(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _WebAttribute_runJavaScriptOnDocumentStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_runJavaScriptOnDocumentEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_runJavaScriptOnHeadEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _WebAttribute_nativeEmbedOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Quick native static _WebAttribute_registerNativeEmbedRule(ptr: KPointer, tag: KStringPtr, type: KStringPtr): void @ani.unsafe.Direct @@ -3050,6 +3564,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _XComponentInterface_setXComponentOptions2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _XComponentInterface_setXComponentOptions3(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _XComponentAttribute_onLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _XComponentAttribute_onDestroy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -3058,6 +3574,10 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _XComponentAttribute_enableSecure(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _XComponentAttribute_hdrBrightness(ptr: KPointer, value: number): void + @ani.unsafe.Direct + native static _XComponentAttribute_enableTransparentLayer(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct native static _SideBarContainer_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _SideBarContainerInterface_setSideBarContainerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -3146,6 +3666,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _UIExtensionComponentAttribute_onTerminated(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _UIExtensionComponentAttribute_onDrawReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _LinearIndicator_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _LinearIndicatorInterface_setLinearIndicatorOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @@ -3880,148 +4402,43 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _NavExtender_setTitleMode(navigation: KPointer, titleMode: KInt): void @ani.unsafe.Quick - native static _NavExtender_title(navigation: KPointer, title: KStringPtr, hasSubTitle: KInt): void - @ani.unsafe.Quick - native static _NavExtender_subTitle(navigation: KPointer, subTitle: KStringPtr): void - @ani.unsafe.Direct - native static _EventEmulator_emitClickEvent(node: KPointer, event: KPointer): void - @ani.unsafe.Quick - native static _EventEmulator_emitTextInputEvent(node: KPointer, text: KStringPtr): void - @ani.unsafe.Direct - native static _ActionSheet_show(thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _AlertDialog_show(thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _SpringProp_ctor(mass: number, stiffness: number, damping: number): KPointer - @ani.unsafe.Direct - native static _SpringProp_getFinalizer(): KPointer - @ani.unsafe.Direct - native static _SpringMotion_ctor(start: number, end: number, velocity: number, prop: KPointer): KPointer - @ani.unsafe.Direct - native static _SpringMotion_getFinalizer(): KPointer - @ani.unsafe.Direct - native static _FrictionMotion_ctor(friction: number, position: number, velocity: number): KPointer - @ani.unsafe.Direct - native static _FrictionMotion_getFinalizer(): KPointer - @ani.unsafe.Direct - native static _ScrollMotion_ctor(position: number, velocity: number, min: number, max: number, prop: KPointer): KPointer - @ani.unsafe.Direct - native static _ScrollMotion_getFinalizer(): KPointer - @ani.unsafe.Direct - native static _CalendarController_ctor(): KPointer - @ani.unsafe.Direct - native static _CalendarController_getFinalizer(): KPointer - @ani.unsafe.Direct - native static _CalendarController_backToToday(ptr: KPointer): void - @ani.unsafe.Direct - native static _CalendarController_goTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _CalendarPickerDialog_show(thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Quick - native static _NavPathInfo_ctor(name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer - @ani.unsafe.Direct - native static _NavPathInfo_getFinalizer(): KPointer - @ani.unsafe.Quick - native static _NavPathInfo_getName(ptr: KPointer): string - @ani.unsafe.Quick - native static _NavPathInfo_setName(ptr: KPointer, name: KStringPtr): void - @ani.unsafe.Quick - native static _NavPathInfo_getParam(ptr: KPointer): KInteropReturnBuffer - @ani.unsafe.Direct - native static _NavPathInfo_setParam(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Quick - native static _NavPathInfo_getOnPop(ptr: KPointer): KInteropReturnBuffer - @ani.unsafe.Direct - native static _NavPathInfo_setOnPop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Quick - native static _NavPathInfo_getIsEntry(ptr: KPointer): KInteropReturnBuffer - @ani.unsafe.Direct - native static _NavPathInfo_setIsEntry(ptr: KPointer, isEntry: KInt): void - @ani.unsafe.Direct - native static _NavPathStack_ctor(): KPointer - @ani.unsafe.Direct - native static _NavPathStack_getFinalizer(): KPointer - @ani.unsafe.Direct - native static _NavPathStack_pushPath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavPathStack_pushPath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - native static _NavPathStack_pushDestination0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer - native static _NavPathStack_pushDestination1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer - @ani.unsafe.Quick - native static _NavPathStack_pushPathByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Quick - native static _NavPathStack_pushPathByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void - native static _NavPathStack_pushDestinationByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer - native static _NavPathStack_pushDestinationByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer - @ani.unsafe.Direct - native static _NavPathStack_replacePath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavPathStack_replacePath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - native static _NavPathStack_replaceDestination(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer - @ani.unsafe.Quick - native static _NavPathStack_replacePathByName(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavPathStack_removeByIndexes(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): number - @ani.unsafe.Quick - native static _NavPathStack_removeByName(ptr: KPointer, name: KStringPtr): number - @ani.unsafe.Quick - native static _NavPathStack_removeByNavDestinationId(ptr: KPointer, navDestinationId: KStringPtr): boolean - @ani.unsafe.Quick - native static _NavPathStack_pop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer - @ani.unsafe.Quick - native static _NavPathStack_pop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer - @ani.unsafe.Quick - native static _NavPathStack_popToName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number - @ani.unsafe.Quick - native static _NavPathStack_popToName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number - @ani.unsafe.Direct - native static _NavPathStack_popToIndex0(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavPathStack_popToIndex1(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Quick - native static _NavPathStack_moveToTop(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number - @ani.unsafe.Direct - native static _NavPathStack_moveIndexToTop(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Direct - native static _NavPathStack_clear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Quick - native static _NavPathStack_getAllPathName(ptr: KPointer): KInteropReturnBuffer - @ani.unsafe.Quick - native static _NavPathStack_getParamByIndex(ptr: KPointer, index: number): KInteropReturnBuffer - @ani.unsafe.Quick - native static _NavPathStack_getParamByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer + native static _NavExtender_title(navigation: KPointer, title: KStringPtr, hasSubTitle: KInt): void @ani.unsafe.Quick - native static _NavPathStack_getIndexByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer + native static _NavExtender_subTitle(navigation: KPointer, subTitle: KStringPtr): void + @ani.unsafe.Direct + native static _EventEmulator_emitClickEvent(node: KPointer, event: KPointer): void @ani.unsafe.Quick - native static _NavPathStack_getParent(ptr: KPointer): KInteropReturnBuffer + native static _EventEmulator_emitTextInputEvent(node: KPointer, text: KStringPtr): void @ani.unsafe.Direct - native static _NavPathStack_size(ptr: KPointer): number + native static _ActionSheet_show(thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _NavPathStack_disableAnimation(ptr: KPointer, value: KInt): void + native static _AlertDialog_show(thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct - native static _NavPathStack_setInterception(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SpringProp_ctor(mass: number, stiffness: number, damping: number): KPointer @ani.unsafe.Direct - native static _NavigationTransitionProxy_ctor(): KPointer + native static _SpringProp_getFinalizer(): KPointer @ani.unsafe.Direct - native static _NavigationTransitionProxy_getFinalizer(): KPointer + native static _SpringMotion_ctor(start: number, end: number, velocity: number, prop: KPointer): KPointer @ani.unsafe.Direct - native static _NavigationTransitionProxy_finishTransition(ptr: KPointer): void + native static _SpringMotion_getFinalizer(): KPointer @ani.unsafe.Direct - native static _NavigationTransitionProxy_cancelTransition(ptr: KPointer): void + native static _FrictionMotion_ctor(friction: number, position: number, velocity: number): KPointer @ani.unsafe.Direct - native static _NavigationTransitionProxy_updateTransition(ptr: KPointer, progress: number): void - @ani.unsafe.Quick - native static _NavigationTransitionProxy_getFrom(ptr: KPointer): KInteropReturnBuffer + native static _FrictionMotion_getFinalizer(): KPointer @ani.unsafe.Direct - native static _NavigationTransitionProxy_setFrom(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Quick - native static _NavigationTransitionProxy_getTo(ptr: KPointer): KInteropReturnBuffer + native static _ScrollMotion_ctor(position: number, velocity: number, min: number, max: number, prop: KPointer): KPointer @ani.unsafe.Direct - native static _NavigationTransitionProxy_setTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void - @ani.unsafe.Quick - native static _NavigationTransitionProxy_getIsInteractive(ptr: KPointer): KInteropReturnBuffer + native static _ScrollMotion_getFinalizer(): KPointer @ani.unsafe.Direct - native static _NavigationTransitionProxy_setIsInteractive(ptr: KPointer, isInteractive: KInt): void + native static _CalendarController_ctor(): KPointer + @ani.unsafe.Direct + native static _CalendarController_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _CalendarController_backToToday(ptr: KPointer): void + @ani.unsafe.Direct + native static _CalendarController_goTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CalendarPickerDialog_show(thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _ICurve_ctor(): KPointer @ani.unsafe.Direct @@ -4105,6 +4522,10 @@ export class ArkUIGeneratedNativeModule { native static _BaseEvent_getTiltY(ptr: KPointer): number @ani.unsafe.Direct native static _BaseEvent_setTiltY(ptr: KPointer, tiltY: number): void + @ani.unsafe.Quick + native static _BaseEvent_getRollAngle(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _BaseEvent_setRollAngle(ptr: KPointer, rollAngle: number): void @ani.unsafe.Direct native static _BaseEvent_getSourceTool(ptr: KPointer): int32 @ani.unsafe.Direct @@ -4113,6 +4534,10 @@ export class ArkUIGeneratedNativeModule { native static _BaseEvent_getDeviceId(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Direct native static _BaseEvent_setDeviceId(ptr: KPointer, deviceId: number): void + @ani.unsafe.Quick + native static _BaseEvent_getTargetDisplayId(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _BaseEvent_setTargetDisplayId(ptr: KPointer, targetDisplayId: number): void @ani.unsafe.Direct native static _ClickEvent_ctor(): KPointer @ani.unsafe.Direct @@ -4149,6 +4574,10 @@ export class ArkUIGeneratedNativeModule { native static _ClickEvent_getY(ptr: KPointer): number @ani.unsafe.Direct native static _ClickEvent_setY(ptr: KPointer, y: number): void + @ani.unsafe.Quick + native static _ClickEvent_getHand(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _ClickEvent_setHand(ptr: KPointer, hand: KInt): void @ani.unsafe.Direct native static _ClickEvent_getPreventDefault(ptr: KPointer): KPointer @ani.unsafe.Direct @@ -4157,6 +4586,30 @@ export class ArkUIGeneratedNativeModule { native static _HoverEvent_ctor(): KPointer @ani.unsafe.Direct native static _HoverEvent_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _HoverEvent_getX(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _HoverEvent_setX(ptr: KPointer, x: number): void + @ani.unsafe.Quick + native static _HoverEvent_getY(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _HoverEvent_setY(ptr: KPointer, y: number): void + @ani.unsafe.Quick + native static _HoverEvent_getWindowX(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _HoverEvent_setWindowX(ptr: KPointer, windowX: number): void + @ani.unsafe.Quick + native static _HoverEvent_getWindowY(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _HoverEvent_setWindowY(ptr: KPointer, windowY: number): void + @ani.unsafe.Quick + native static _HoverEvent_getDisplayX(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _HoverEvent_setDisplayX(ptr: KPointer, displayX: number): void + @ani.unsafe.Quick + native static _HoverEvent_getDisplayY(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _HoverEvent_setDisplayY(ptr: KPointer, displayY: number): void @ani.unsafe.Direct native static _HoverEvent_getStopPropagation(ptr: KPointer): KPointer @ani.unsafe.Direct @@ -4209,6 +4662,18 @@ export class ArkUIGeneratedNativeModule { native static _MouseEvent_getStopPropagation(ptr: KPointer): KPointer @ani.unsafe.Direct native static _MouseEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _MouseEvent_getRawDeltaX(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _MouseEvent_setRawDeltaX(ptr: KPointer, rawDeltaX: number): void + @ani.unsafe.Quick + native static _MouseEvent_getRawDeltaY(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _MouseEvent_setRawDeltaY(ptr: KPointer, rawDeltaY: number): void + @ani.unsafe.Quick + native static _MouseEvent_getPressedButtons(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _MouseEvent_setPressedButtons(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _AccessibilityHoverEvent_ctor(): KPointer @ani.unsafe.Direct @@ -4268,6 +4733,50 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _TouchEvent_setPreventDefault(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct + native static _AxisEvent_ctor(): KPointer + @ani.unsafe.Direct + native static _AxisEvent_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _AxisEvent_getHorizontalAxisValue(ptr: KPointer): number + @ani.unsafe.Direct + native static _AxisEvent_getVerticalAxisValue(ptr: KPointer): number + @ani.unsafe.Direct + native static _AxisEvent_getAction(ptr: KPointer): int32 + @ani.unsafe.Direct + native static _AxisEvent_setAction(ptr: KPointer, action: KInt): void + @ani.unsafe.Direct + native static _AxisEvent_getDisplayX(ptr: KPointer): number + @ani.unsafe.Direct + native static _AxisEvent_setDisplayX(ptr: KPointer, displayX: number): void + @ani.unsafe.Direct + native static _AxisEvent_getDisplayY(ptr: KPointer): number + @ani.unsafe.Direct + native static _AxisEvent_setDisplayY(ptr: KPointer, displayY: number): void + @ani.unsafe.Direct + native static _AxisEvent_getWindowX(ptr: KPointer): number + @ani.unsafe.Direct + native static _AxisEvent_setWindowX(ptr: KPointer, windowX: number): void + @ani.unsafe.Direct + native static _AxisEvent_getWindowY(ptr: KPointer): number + @ani.unsafe.Direct + native static _AxisEvent_setWindowY(ptr: KPointer, windowY: number): void + @ani.unsafe.Direct + native static _AxisEvent_getX(ptr: KPointer): number + @ani.unsafe.Direct + native static _AxisEvent_setX(ptr: KPointer, x: number): void + @ani.unsafe.Direct + native static _AxisEvent_getY(ptr: KPointer): number + @ani.unsafe.Direct + native static _AxisEvent_setY(ptr: KPointer, y: number): void + @ani.unsafe.Quick + native static _AxisEvent_getScrollStep(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _AxisEvent_setScrollStep(ptr: KPointer, scrollStep: number): void + @ani.unsafe.Direct + native static _AxisEvent_getPropagation(ptr: KPointer): KPointer + @ani.unsafe.Direct + native static _AxisEvent_setPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _PixelMapMock_ctor(): KPointer @ani.unsafe.Direct native static _PixelMapMock_getFinalizer(): KPointer @@ -4308,6 +4817,9 @@ export class ArkUIGeneratedNativeModule { native static _DragEvent_getVelocity(ptr: KPointer): number native static _DragEvent_getModifierKeyState(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean @ani.unsafe.Direct + native static _DragEvent_executeDropAnimation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _DragEvent_startDataLoading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): string + @ani.unsafe.Direct native static _DragEvent_getDragBehavior(ptr: KPointer): int32 @ani.unsafe.Direct native static _DragEvent_setDragBehavior(ptr: KPointer, dragBehavior: KInt): void @@ -4361,6 +4873,18 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _KeyEvent_setUnicode(ptr: KPointer, unicode: number): void @ani.unsafe.Direct + native static _FocusAxisEvent_ctor(): KPointer + @ani.unsafe.Direct + native static _FocusAxisEvent_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _FocusAxisEvent_getAxisMap(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _FocusAxisEvent_setAxisMap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _FocusAxisEvent_getStopPropagation(ptr: KPointer): KPointer + @ani.unsafe.Direct + native static _FocusAxisEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _ProgressMask_ctor(value: number, total: number, thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct native static _ProgressMask_getFinalizer(): KPointer @@ -4382,6 +4906,10 @@ export class ArkUIGeneratedNativeModule { native static _Measurable_getPadding(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Quick native static _Measurable_getBorderWidth(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Quick + native static _Measurable_getUniqueId(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _Measurable_setUniqueId(ptr: KPointer, uniqueId: number): void @ani.unsafe.Direct native static _View_ctor(): KPointer @ani.unsafe.Direct @@ -4398,6 +4926,16 @@ export class ArkUIGeneratedNativeModule { native static _TextContentControllerBase_getTextContentRect(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Direct native static _TextContentControllerBase_getTextContentLineCount(ptr: KPointer): number + @ani.unsafe.Quick + native static _TextContentControllerBase_addText(ptr: KPointer, text: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number + @ani.unsafe.Direct + native static _TextContentControllerBase_deleteText(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _TextContentControllerBase_getSelection(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _TextContentControllerBase_clearPreviewText(ptr: KPointer): void + @ani.unsafe.Quick + native static _TextContentControllerBase_getText(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): string @ani.unsafe.Direct native static _ChildrenMainSize_ctor(childDefaultSize: number): KPointer @ani.unsafe.Direct @@ -4440,6 +4978,119 @@ export class ArkUIGeneratedNativeModule { native static _GestureModifier_getFinalizer(): KPointer @ani.unsafe.Direct native static _GestureModifier_applyGesture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _NavPathInfo_ctor(name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer + @ani.unsafe.Direct + native static _NavPathInfo_getFinalizer(): KPointer + @ani.unsafe.Quick + native static _NavPathInfo_getName(ptr: KPointer): string + @ani.unsafe.Quick + native static _NavPathInfo_setName(ptr: KPointer, name: KStringPtr): void + @ani.unsafe.Quick + native static _NavPathInfo_getParam(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _NavPathInfo_setParam(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _NavPathInfo_getOnPop(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _NavPathInfo_setOnPop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _NavPathInfo_getIsEntry(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _NavPathInfo_setIsEntry(ptr: KPointer, isEntry: KInt): void + @ani.unsafe.Quick + native static _NavPathInfo_getNavDestinationId(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Quick + native static _NavPathInfo_setNavDestinationId(ptr: KPointer, navDestinationId: KStringPtr): void + @ani.unsafe.Direct + native static _NavPathStack_ctor(): KPointer + @ani.unsafe.Direct + native static _NavPathStack_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _NavPathStack_pushPath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavPathStack_pushPath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _NavPathStack_pushDestination0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer + native static _NavPathStack_pushDestination1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer + @ani.unsafe.Quick + native static _NavPathStack_pushPathByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _NavPathStack_pushPathByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void + native static _NavPathStack_pushDestinationByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer + native static _NavPathStack_pushDestinationByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer + @ani.unsafe.Direct + native static _NavPathStack_replacePath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavPathStack_replacePath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _NavPathStack_replaceDestination(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer + @ani.unsafe.Quick + native static _NavPathStack_replacePathByName(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavPathStack_removeByIndexes(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): number + @ani.unsafe.Quick + native static _NavPathStack_removeByName(ptr: KPointer, name: KStringPtr): number + @ani.unsafe.Quick + native static _NavPathStack_removeByNavDestinationId(ptr: KPointer, navDestinationId: KStringPtr): boolean + @ani.unsafe.Quick + native static _NavPathStack_pop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer + @ani.unsafe.Quick + native static _NavPathStack_pop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer + @ani.unsafe.Quick + native static _NavPathStack_popToName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number + @ani.unsafe.Quick + native static _NavPathStack_popToName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number + @ani.unsafe.Direct + native static _NavPathStack_popToIndex0(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavPathStack_popToIndex1(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _NavPathStack_moveToTop(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number + @ani.unsafe.Direct + native static _NavPathStack_moveIndexToTop(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavPathStack_clear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _NavPathStack_getAllPathName(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Quick + native static _NavPathStack_getParamByIndex(ptr: KPointer, index: number): KInteropReturnBuffer + @ani.unsafe.Quick + native static _NavPathStack_getParamByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer + @ani.unsafe.Quick + native static _NavPathStack_getIndexByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer + @ani.unsafe.Quick + native static _NavPathStack_getParent(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _NavPathStack_size(ptr: KPointer): number + @ani.unsafe.Direct + native static _NavPathStack_disableAnimation(ptr: KPointer, value: KInt): void + @ani.unsafe.Direct + native static _NavPathStack_setInterception(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _NavPathStack_getPathStack(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _NavPathStack_setPathStack(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _NavigationTransitionProxy_ctor(): KPointer + @ani.unsafe.Direct + native static _NavigationTransitionProxy_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _NavigationTransitionProxy_finishTransition(ptr: KPointer): void + @ani.unsafe.Direct + native static _NavigationTransitionProxy_cancelTransition(ptr: KPointer): void + @ani.unsafe.Direct + native static _NavigationTransitionProxy_updateTransition(ptr: KPointer, progress: number): void + @ani.unsafe.Quick + native static _NavigationTransitionProxy_getFrom(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _NavigationTransitionProxy_setFrom(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _NavigationTransitionProxy_getTo(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _NavigationTransitionProxy_setTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _NavigationTransitionProxy_getIsInteractive(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _NavigationTransitionProxy_setIsInteractive(ptr: KPointer, isInteractive: KInt): void @ani.unsafe.Direct native static _CanvasGradient_ctor(): KPointer @ani.unsafe.Direct @@ -4598,6 +5249,10 @@ export class ArkUIGeneratedNativeModule { native static _CanvasRenderer_restoreLayer(ptr: KPointer): void @ani.unsafe.Direct native static _CanvasRenderer_reset(ptr: KPointer): void + @ani.unsafe.Quick + native static _CanvasRenderer_getLetterSpacing(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _CanvasRenderer_setLetterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _CanvasRenderer_getGlobalAlpha(ptr: KPointer): number @ani.unsafe.Direct @@ -4894,7 +5549,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _LongPressGestureInterface_onActionEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct - native static _LongPressGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer + native static _LongPressGestureInterface_onActionCancel0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer + @ani.unsafe.Direct + native static _LongPressGestureInterface_onActionCancel1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct native static _PanGestureOptions_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct @@ -4908,6 +5565,8 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _PanGestureOptions_getDirection(ptr: KPointer): int32 @ani.unsafe.Direct + native static _PanGestureOptions_getDistance(ptr: KPointer): number + @ani.unsafe.Direct native static _PanGestureInterface_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct native static _PanGestureInterface_getFinalizer(): KPointer @@ -4918,7 +5577,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _PanGestureInterface_onActionEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct - native static _PanGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer + native static _PanGestureInterface_onActionCancel0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer + @ani.unsafe.Direct + native static _PanGestureInterface_onActionCancel1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct native static _SwipeGestureInterface_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct @@ -4936,7 +5597,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _PinchGestureInterface_onActionEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct - native static _PinchGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer + native static _PinchGestureInterface_onActionCancel0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer + @ani.unsafe.Direct + native static _PinchGestureInterface_onActionCancel1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct native static _RotationGestureInterface_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct @@ -4948,7 +5611,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _RotationGestureInterface_onActionEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct - native static _RotationGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer + native static _RotationGestureInterface_onActionCancel0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer + @ani.unsafe.Direct + native static _RotationGestureInterface_onActionCancel1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct native static _GestureGroupInterface_ctor(mode: KInt, thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct @@ -4990,6 +5655,44 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _GestureRecognizer_isValid(ptr: KPointer): boolean @ani.unsafe.Direct + native static _GestureRecognizer_getFingerCount(ptr: KPointer): number + @ani.unsafe.Direct + native static _GestureRecognizer_isFingerCountLimit(ptr: KPointer): boolean + @ani.unsafe.Direct + native static _TapRecognizer_ctor(): KPointer + @ani.unsafe.Direct + native static _TapRecognizer_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _TapRecognizer_getTapCount(ptr: KPointer): number + @ani.unsafe.Direct + native static _LongPressRecognizer_ctor(): KPointer + @ani.unsafe.Direct + native static _LongPressRecognizer_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _LongPressRecognizer_isRepeat(ptr: KPointer): boolean + @ani.unsafe.Direct + native static _LongPressRecognizer_getDuration(ptr: KPointer): number + @ani.unsafe.Direct + native static _SwipeRecognizer_ctor(): KPointer + @ani.unsafe.Direct + native static _SwipeRecognizer_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _SwipeRecognizer_getVelocityThreshold(ptr: KPointer): number + @ani.unsafe.Direct + native static _SwipeRecognizer_getDirection(ptr: KPointer): int32 + @ani.unsafe.Direct + native static _PinchRecognizer_ctor(): KPointer + @ani.unsafe.Direct + native static _PinchRecognizer_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _PinchRecognizer_getDistance(ptr: KPointer): number + @ani.unsafe.Direct + native static _RotationRecognizer_ctor(): KPointer + @ani.unsafe.Direct + native static _RotationRecognizer_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _RotationRecognizer_getAngle(ptr: KPointer): number + @ani.unsafe.Direct native static _PanRecognizer_ctor(): KPointer @ani.unsafe.Direct native static _PanRecognizer_getFinalizer(): KPointer @@ -5078,6 +5781,22 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _PatternLockController_setChallengeResult(ptr: KPointer, result: KInt): void @ani.unsafe.Direct + native static _VirtualScrollOptions_ctor(): KPointer + @ani.unsafe.Direct + native static _VirtualScrollOptions_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _VirtualScrollOptions_onLazyLoading(ptr: KPointer, index: number): void + @ani.unsafe.Direct + native static _VirtualScrollOptions_onTotalCount(ptr: KPointer): number + @ani.unsafe.Quick + native static _VirtualScrollOptions_getTotalCount(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _VirtualScrollOptions_setTotalCount(ptr: KPointer, totalCount: number): void + @ani.unsafe.Quick + native static _VirtualScrollOptions_getReusable(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _VirtualScrollOptions_setReusable(ptr: KPointer, reusable: KInt): void + @ani.unsafe.Direct native static _RichEditorBaseController_ctor(): KPointer @ani.unsafe.Direct native static _RichEditorBaseController_getFinalizer(): KPointer @@ -5101,6 +5820,8 @@ export class ArkUIGeneratedNativeModule { native static _RichEditorBaseController_getLayoutManager(ptr: KPointer): KPointer @ani.unsafe.Quick native static _RichEditorBaseController_getPreviewText(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Quick + native static _RichEditorBaseController_getCaretRect(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Direct native static _RichEditorController_ctor(): KPointer @ani.unsafe.Direct @@ -5215,9 +5936,12 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _SwiperController_showPrevious(ptr: KPointer): void @ani.unsafe.Direct - native static _SwiperController_changeIndex(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SwiperController_changeIndex0(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _SwiperController_changeIndex1(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void @ani.unsafe.Direct native static _SwiperController_finishAnimation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + native static _SwiperController_preloadItems(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct native static _SwiperContentTransitionProxy_ctor(): KPointer @ani.unsafe.Direct @@ -5410,6 +6134,12 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _TextMenuItemId_getAI_WRITER(): KPointer @ani.unsafe.Direct + native static _TextMenuItemId_getTRANSLATE(): KPointer + @ani.unsafe.Direct + native static _TextMenuItemId_getSEARCH(): KPointer + @ani.unsafe.Direct + native static _TextMenuItemId_getSHARE(): KPointer + @ani.unsafe.Direct native static _SubmitEvent_ctor(): KPointer @ani.unsafe.Direct native static _SubmitEvent_getFinalizer(): KPointer @@ -5499,6 +6229,8 @@ export class ArkUIGeneratedNativeModule { native static _FileSelectorParam_getAcceptType(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Direct native static _FileSelectorParam_isCapture(ptr: KPointer): boolean + @ani.unsafe.Quick + native static _FileSelectorParam_getMimeTypes(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Direct native static _JsResult_ctor(): KPointer @ani.unsafe.Direct @@ -5718,7 +6450,9 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _EventResult_getFinalizer(): KPointer @ani.unsafe.Direct - native static _EventResult_setGestureEventResult(ptr: KPointer, result: KInt): void + native static _EventResult_setGestureEventResult0(ptr: KPointer, result: KInt): void + @ani.unsafe.Direct + native static _EventResult_setGestureEventResult1(ptr: KPointer, result: KInt, stopPropagation: KInt): void @ani.unsafe.Direct native static _WebController_ctor(): KPointer @ani.unsafe.Direct @@ -5836,8 +6570,11 @@ export class ArkUIGeneratedNativeModule { native static _StyledString_fromHtml(html: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer native static _StyledString_toHtml(styledString: KPointer): string @ani.unsafe.Quick - native static _StyledString_marshalling(styledString: KPointer): KInteropReturnBuffer - native static _StyledString_unmarshalling(thisArray: KSerializerBuffer, thisLength: int32): KPointer + native static _StyledString_marshalling0(styledString: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer + @ani.unsafe.Quick + native static _StyledString_marshalling1(styledString: KPointer): KInteropReturnBuffer + native static _StyledString_unmarshalling0(thisArray: KSerializerBuffer, thisLength: int32): KPointer + native static _StyledString_unmarshalling1(thisArray: KSerializerBuffer, thisLength: int32): KPointer @ani.unsafe.Direct native static _StyledString_getLength(ptr: KPointer): number @ani.unsafe.Direct @@ -5908,6 +6645,8 @@ export class ArkUIGeneratedNativeModule { native static _ParagraphStyle_getWordBreak(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Quick native static _ParagraphStyle_getLeadingMargin(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Quick + native static _ParagraphStyle_getParagraphSpacing(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Direct native static _LineHeightStyle_ctor(lineHeight: KPointer): KPointer @ani.unsafe.Direct @@ -5951,6 +6690,8 @@ export class ArkUIGeneratedNativeModule { native static _ImageAttachment_getObjectFit(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Quick native static _ImageAttachment_getLayoutStyle(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Quick + native static _ImageAttachment_getColorFilter(ptr: KPointer): KInteropReturnBuffer @ani.unsafe.Direct native static _CustomSpan_ctor(): KPointer @ani.unsafe.Direct diff --git a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts index 4cd878375b..5bc0537bb9 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts @@ -18,71 +18,72 @@ import { KBoolean, KStringPtr, NativeBuffer, MaterializedBase } from "@koalaui/interop" import { int32 } from "@koalaui/common" -import { AccessibilityHoverType, Alignment, AnimationStatus, AppRotation, ArrowPointPosition, Axis, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, Color, ColoringStrategy, CopyOptions, Curve, DialogButtonStyle, Direction, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PixelRoundCalcPolicy, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" -import { AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragResult, Rectangle, DragPreviewMode, DrawModifier, EdgeEffectOptions, EffectType, FinishCallbackType, GestureModifier, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, HoverModeAreaType, ICurve, KeyboardAvoidMode, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, RectResult, Literal_Boolean_isVisible, Measurable, MeasureResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PreDragStatus, ProgressMask, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, Callback_ClickEvent_Void, ClickEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, HoverCallback, HoverEvent, Callback_MouseEvent_Void, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, View, Callback_KeyEvent_Boolean, BackgroundBrightnessOptions, BlurOptions, ClickEffect, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragInteractionOptions, DragItemInfo, ExpectedFrameRateRange, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, Tuple_ResourceColor_Number, LinearGradient_common, FractionStop, LinearGradientBlurOptions, Literal_Alignment_align, Literal_Number_offset_span, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_String_value_Callback_Void_action, Literal_TransitionEffect_appear_disappear, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, SheetDismiss, SpringBackAction, StateStyles, TouchObject, TouchResult, Type_CommonMethod_linearGradient_value, AlignRuleOption, BlurStyleOptions, ContentCoverOptions, BindOptions, Callback_DismissContentCoverAction_Void, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, Literal_ResourceColor_color, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, PixelStretchEffectOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, Type_CommonMethod_radialGradient_value, Tuple_Length_Length, Type_CommonMethod_sweepGradient_value, BorderImageOption, ContextMenuOptions, CustomPopupOptions, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, EventTarget, BaseEvent, MenuOptions, PickerDialogButtonStyle, PointLightStyle, PopupMessageOptions, AccessibilityHoverEvent, PopupOptions, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, LayoutChild, Layoutable } from "./../common" +import { AccessibilityHoverType, Alignment, AnimationStatus, AppRotation, ArrowPointPosition, Axis, AxisAction, AxisModel, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, Color, ColoringStrategy, CopyOptions, CrownAction, CrownSensitivity, Curve, DialogButtonStyle, Direction, DividerMode, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FocusDrawLevel, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, InteractionHand, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PageFlipMode, PixelRoundCalcPolicy, PixelRoundMode, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" +import { AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, EffectEdge, EffectType, FinishCallbackType, GestureModifier, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, RectResult, Literal_Boolean_isVisible, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PopupStateChangeParam, PreDragStatus, ProgressMask, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, Callback_ClickEvent_Void, ClickEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, HoverCallback, HoverEvent, Callback_MouseEvent_Void, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, View, Callback_KeyEvent_Boolean, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, CrownEvent, DateRange, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragInteractionOptions, DragItemInfo, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, Tuple_ResourceColor_Number, LinearGradient_common, FractionStop, LinearGradientBlurOptions, LinearGradientOptions, Literal_Alignment_align, Literal_Number_offset_span, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_String_value_Callback_Void_action, Literal_TransitionEffect_appear_disappear, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, SheetDismiss, SpringBackAction, StateStyles, SystemAdaptiveOptions, TouchObject, TouchResult, AlignRuleOption, BlurStyleOptions, ContentCoverOptions, BindOptions, Callback_DismissContentCoverAction_Void, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, Literal_ResourceColor_color, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ReuseIdCallback, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, EventTarget, FocusAxisEvent, BaseEvent, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, AccessibilityHoverEvent, AxisEvent, PopupOptions, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, PromptActionDialogController, LayoutChild, Layoutable } from "./../common" import { Affinity, EllipsisMode, FontStyle, FontWidth, TextBox, LineMetrics, TextBaseline, TextDecorationStyle, TextDecorationType, TextDirection, FontFeature, FontVariation, RunMetrics, RectStyle, Decoration, TextShadow, text } from "./../arkui-graphics-text" import { AlphabetIndexerAttribute, Callback_Number_Void, OnAlphabetIndexerSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerPopupSelectCallback, IndexerAlign, AlphabetIndexerOptions } from "./../alphabet_indexer" -import { ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ResourceStr, Dimension, LengthConstrain, ConstraintSizeOptions, DirectionalEdgesT, VoidCallback, AccessibilityOptions, Bias, ChainWeightOptions, EdgeOutlineStyles, VP, BorderRadiuses, DividerStyleOptions, EdgeColors, EdgeOutlineWidths, EdgeWidths, PX, LPX, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, MarkStyle, OutlineRadiuses, Padding, Area, BorderOptions, OutlineOptions } from "./../units" +import { ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ResourceStr, Dimension, LengthConstrain, VoidCallback, DividerStyleOptions, ConstraintSizeOptions, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, Area, BorderOptions, OutlineOptions } from "./../units" import { PixelMap } from "./../arkui-pixelmap" import { AnimatedDrawableDescriptor, DrawableDescriptor, AnimationOptions, LayeredDrawableDescriptor, PixelMapDrawableDescriptor } from "./../arkui-drawabledescriptor" -import { AnimationMode, BarMode, BarPosition, LayoutStyle, TabContentTransitionProxy, TabsAnimationEvent, TabsAttribute, OnTabsAnimationStartCallback, OnTabsAnimationEndCallback, OnTabsGestureSwipeCallback, DividerStyle, BarGridColumnOptions, TabsCustomContentTransitionCallback, OnTabsContentWillChangeCallback, ScrollableBarModeOptions, TabsController, TabContentAnimatedTransition, Callback_TabContentTransitionProxy_Void, TabsOptions } from "./../tabs" -import { ArrowPosition, MenuAlignType, SelectAttribute, Callback_Number_String_Void, Callback_Union_Number_Resource_Void, Callback_ResourceStr_Void, MenuItemConfiguration, SelectOption } from "./../select" +import { AnimationMode, BarMode, BarPosition, LayoutStyle, TabContentTransitionProxy, TabsAnimationEvent, TabsAttribute, OnTabsAnimationStartCallback, OnTabsAnimationEndCallback, OnTabsGestureSwipeCallback, DividerStyle, BarGridColumnOptions, TabsCustomContentTransitionCallback, OnTabsContentWillChangeCallback, ScrollableBarModeOptions, TabsCacheMode, TabsController, CommonModifier, TabContentAnimatedTransition, Callback_TabContentTransitionProxy_Void, TabsOptions } from "./../tabs" +import { ArrowPosition, AvoidanceMode, MenuAlignType, SelectAttribute, Callback_Number_String_Void, OnSelectCallback, MenuOutlineOptions, Callback_Union_Number_Resource_Void, Callback_ResourceStr_Void, MenuItemConfiguration, SelectOption } from "./../select" +import { AutoCapitalizationMode, KeyboardAppearance, LayoutManager, PositionWithAffinity, TextRange, MenuType, TextDataDetectorConfig, OnDidChangeCallback, EditMenuOptions, TextEditControllerEx, PreviewText, StyledStringController, StyledStringChangedListener, CaretStyle, EditableTextOnChangeCallback, TextChangeOptions, InsertValue, DeleteValue, EditableTextChangeValue, FontSettingOptions, TextBaseController, TextDataDetectorType, TextDeleteDirection, TextMenuItemId, TextMenuShowMode, TextMenuItem, AsyncCallback_Array_TextMenuItem_Array_TextMenuItem, AsyncCallback_TextMenuItem_TextRange_Boolean, Callback_StyledStringChangeValue_Boolean, StyledStringChangeValue, DecorationStyleResult } from "./../text_common" import { BadgePosition, BadgeStyle, BadgeParamWithNumber, BadgeParam, BadgeParamWithString } from "./../badge" import { BarrierDirection, LocalizedBarrierDirection, BarrierStyle, LocalizedBarrierStyle, GuideLinePosition, GuideLineStyle } from "./../relative_container" -import { BarStyle, LaunchMode, NavBarPosition, NavigationMenuItem, ToolbarItem, NavigationTitleOptions, NavigationToolbarOptions, NavigationAttribute, Tuple_Dimension_Dimension, NavigationMode, NavigationTitleMode, Callback_NavigationTitleMode_Void, Callback_Boolean_Void, Callback_NavigationMode_Void, Callback_String_Unknown_Void, Type_NavigationAttribute_customNavContentTransition_delegate, NavContentInfo, NavigationOperation, NavigationAnimatedTransition, NavigationCommonTitle, NavigationCustomTitle, NavPathStack, NavPathInfo, NavigationOptions, Callback_PopInfo_Void, PopInfo, NavigationInterception, ToolbarItemStatus, Callback_NavigationTransitionProxy_Void, NavigationTransitionProxy, InterceptionShowCallback, NavBar, InterceptionModeCallback } from "./../navigation" -import { BaseShape, CircleShape, ShapeSize, CommonShape, WebviewController, Summary, EffectDirection, EffectScope, EllipseShape, ImageModifier, IntentionCode, RectWidthStyle, RectHeightStyle, SymbolGlyphModifier, PathShape, PathShapeOptions, PerfMonitorActionType, PerfMonitorSourceType, SymbolEffect, RectShape, RectShapeOptions, RoundRectShapeOptions, ResolutionQuality, IndicatorStyle, TextModifier, WebHeader, WindowStatusType, ColorMetrics, EdgeStyles, FontInfo, ReplaceSymbolEffect, ScaleSymbolEffect, SnapshotOptions, FontOptions, MeasureOptions, LabelStyle } from "./../arkui-external" +import { BarStyle, LaunchMode, NavBarPosition, NavigationMenuItem, ToolbarItem, NavigationOperation, NavigationTitleOptions, NavigationMenuOptions, NavigationToolbarOptions, NavigationAttribute, Tuple_Dimension_Dimension, NavigationMode, NavigationTitleMode, Callback_NavigationTitleMode_Void, Callback_Boolean_Void, Callback_NavigationMode_Void, Callback_String_Opt_Object_Void, Type_NavigationAttribute_customNavContentTransition_delegate, NavContentInfo, NavigationAnimatedTransition, NavigationCommonTitle, NavigationCustomTitle, NavPathInfo, NavPathStack, NavigationOptions, Callback_PopInfo_Void, PopInfo, NavigationInterception, ToolbarItemStatus, Callback_NavigationTransitionProxy_Void, NavigationTransitionProxy, InterceptionShowCallback, NavBar, InterceptionModeCallback, MoreButtonOptions } from "./../navigation" +import { BaseShape, CircleShape, ShapeSize, CommonShape, WebviewController, Summary, EffectDirection, EffectScope, EllipseShape, ImageModifier, IntentionCode, RectWidthStyle, RectHeightStyle, SymbolGlyphModifier, PathShape, PathShapeOptions, PerfMonitorActionType, PerfMonitorSourceType, SymbolEffect, RectShape, RectShapeOptions, RoundRectShapeOptions, ResolutionQuality, TextModifier, IndicatorStyle, WebHeader, WindowStatusType, ColorMetrics, EdgeStyles, FontInfo, ReplaceSymbolEffect, ScaleSymbolEffect, SnapshotOptions, FontOptions, MeasureOptions, LabelStyle } from "./../arkui-external" import { BlendMode, DrawingCanvas, DrawingColorFilter, RectType, DrawingLattice, FontMetricsFlags, FontMetrics } from "./../arkui-drawing" +import { BlurOnKeyboardHideMode, CacheMode, ClientAuthenticationHandler, ConsoleMessage, MessageLevel, ContextMenuEditStateFlags, ContextMenuInputFieldType, ContextMenuMediaType, ContextMenuSourceType, ControllerHandler, DataResubmissionHandler, EventResult, FileSelectorMode, FileSelectorParam, FileSelectorResult, FullScreenExitHandler, HitTestType, HttpAuthHandler, JsGeolocation, JsResult, Literal_Function_callback__Object_fileSelector, Literal_Function_handler_Object_error, Literal_Object_detail, MixedMode, NativeEmbedStatus, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, OverScrollMode, PermissionRequest, ProtectedResourceType, RenderExitReason, RenderMode, RenderProcessNotRespondingReason, ScreenCaptureHandler, ScreenCaptureConfig, SslError, SslErrorHandler, ThreatType, ViewportFit, ScriptItem, ExpandedMenuItemOptions, WebAttribute, JavaScriptProxy, WebDarkMode, WebMediaOptions, Callback_OnPageEndEvent_Void, OnPageEndEvent, Callback_OnPageBeginEvent_Void, OnPageBeginEvent, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, OnTitleReceiveEvent, Callback_OnGeolocationShowEvent_Void, OnGeolocationShowEvent, Callback_OnAlertEvent_Boolean, OnAlertEvent, Callback_OnBeforeUnloadEvent_Boolean, OnBeforeUnloadEvent, Callback_OnConfirmEvent_Boolean, OnConfirmEvent, Callback_OnPromptEvent_Boolean, OnPromptEvent, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, OnErrorReceiveEvent, Callback_OnHttpErrorReceiveEvent_Void, OnHttpErrorReceiveEvent, Callback_OnDownloadStartEvent_Void, OnDownloadStartEvent, Callback_OnRefreshAccessedHistoryEvent_Void, OnRefreshAccessedHistoryEvent, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, WebResourceRequest, Callback_Literal_Function_handler_Object_error_Void, Callback_OnRenderExitedEvent_Void, OnRenderExitedEvent, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Type_WebAttribute_onFileSelectorShow_callback, Callback_OnResourceLoadEvent_Void, OnResourceLoadEvent, OnFullScreenEnterCallback, FullScreenEnterEvent, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, OnHttpAuthRequestEvent, Callback_OnInterceptRequestEvent_WebResourceResponse, OnInterceptRequestEvent, WebResourceResponse, Callback_OnPermissionRequestEvent_Void, OnPermissionRequestEvent, Callback_OnScreenCaptureRequestEvent_Void, OnScreenCaptureRequestEvent, Callback_OnContextMenuShowEvent_Boolean, OnContextMenuShowEvent, OnContextMenuHideCallback, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, OnSslErrorEventReceiveEvent, OnSslErrorEventCallback, SslErrorEvent, Callback_OnClientAuthenticationEvent_Void, OnClientAuthenticationEvent, Callback_OnWindowNewEvent_Void, OnWindowNewEvent, Callback_OnTouchIconUrlReceivedEvent_Void, OnTouchIconUrlReceivedEvent, Callback_OnFaviconReceivedEvent_Void, OnFaviconReceivedEvent, Callback_OnPageVisibleEvent_Void, OnPageVisibleEvent, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, OnFirstMeaningfulPaintCallback, FirstMeaningfulPaint, OnLargestContentfulPaintCallback, LargestContentfulPaint, Callback_OnLoadInterceptEvent_Boolean, OnLoadInterceptEvent, Callback_OnOverScrollEvent_Void, OnSafeBrowsingCheckResultCallback, OnNavigationEntryCommittedCallback, LoadCommittedDetails, OnIntelligentTrackingPreventionCallback, IntelligentTrackingPreventionDetails, WebLayoutMode, NestedScrollOptionsExt, Callback_NativeEmbedDataInfo_Void, NativeEmbedDataInfo, OnNativeEmbedVisibilityChangeCallback, NativeEmbedVisibilityInfo, Callback_NativeEmbedTouchInfo_Void, NativeEmbedTouchInfo, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, RenderProcessNotRespondingData, OnRenderProcessRespondingCallback, OnViewportFitChangedCallback, WebKeyboardCallback, WebKeyboardCallbackInfo, OnAdsBlockedCallback, AdsBlockedDetails, WebKeyboardAvoidMode, EmbedOptions, WebElementType, WebResponseType, SelectionMenuOptionsExt, WebCaptureMode, WebContextMenuParam, WebContextMenuResult, WebController, Literal_String_script_Callback_String_Void_callback_, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Header, Literal_Object_object__String_name_Array_String_methodList, WebCookie, WebKeyboardController, WebNavigationType, WebResourceError, Literal_String_plainText, WebKeyboardOptions, WebOptions, Callback_Literal_String_plainText_Void, NativeEmbedInfo } from "./../web" import { BreakpointsReference, GridRowDirection, Callback_String_Void, BreakPoints, GridRowColumnOption, GridRowSizeOption, GutterOption, GridRowOptions } from "./../grid_row" import { ButtonRole, ButtonStyleMode, ButtonType, ControlSize, ButtonOptions } from "./../button" -import { CacheMode, ClientAuthenticationHandler, ConsoleMessage, MessageLevel, ContextMenuEditStateFlags, ContextMenuInputFieldType, ContextMenuMediaType, ContextMenuSourceType, ControllerHandler, DataResubmissionHandler, EventResult, FileSelectorMode, FileSelectorParam, FileSelectorResult, FullScreenExitHandler, HitTestType, HttpAuthHandler, JsGeolocation, JsResult, Literal_Function_callback__Object_fileSelector, Literal_Function_handler_Object_error, Literal_Object_detail, MixedMode, NativeEmbedStatus, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, OverScrollMode, PermissionRequest, ProtectedResourceType, RenderExitReason, RenderMode, RenderProcessNotRespondingReason, ScreenCaptureHandler, ScreenCaptureConfig, SslError, SslErrorHandler, ThreatType, ViewportFit, ScriptItem, ExpandedMenuItemOptions, WebAttribute, JavaScriptProxy, WebDarkMode, WebMediaOptions, Callback_OnPageEndEvent_Void, OnPageEndEvent, Callback_OnPageBeginEvent_Void, OnPageBeginEvent, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, OnTitleReceiveEvent, Callback_OnGeolocationShowEvent_Void, OnGeolocationShowEvent, Callback_OnAlertEvent_Boolean, OnAlertEvent, Callback_OnBeforeUnloadEvent_Boolean, OnBeforeUnloadEvent, Callback_OnConfirmEvent_Boolean, OnConfirmEvent, Callback_OnPromptEvent_Boolean, OnPromptEvent, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, OnErrorReceiveEvent, Callback_OnHttpErrorReceiveEvent_Void, OnHttpErrorReceiveEvent, Callback_OnDownloadStartEvent_Void, OnDownloadStartEvent, Callback_OnRefreshAccessedHistoryEvent_Void, OnRefreshAccessedHistoryEvent, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, WebResourceRequest, Callback_Literal_Function_handler_Object_error_Void, Callback_OnRenderExitedEvent_Void, OnRenderExitedEvent, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Type_WebAttribute_onFileSelectorShow_callback, Callback_OnResourceLoadEvent_Void, OnResourceLoadEvent, OnFullScreenEnterCallback, FullScreenEnterEvent, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, OnHttpAuthRequestEvent, Callback_OnInterceptRequestEvent_WebResourceResponse, OnInterceptRequestEvent, WebResourceResponse, Callback_OnPermissionRequestEvent_Void, OnPermissionRequestEvent, Callback_OnScreenCaptureRequestEvent_Void, OnScreenCaptureRequestEvent, Callback_OnContextMenuShowEvent_Boolean, OnContextMenuShowEvent, OnContextMenuHideCallback, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, OnSslErrorEventReceiveEvent, OnSslErrorEventCallback, SslErrorEvent, Callback_OnClientAuthenticationEvent_Void, OnClientAuthenticationEvent, Callback_OnWindowNewEvent_Void, OnWindowNewEvent, Callback_OnTouchIconUrlReceivedEvent_Void, OnTouchIconUrlReceivedEvent, Callback_OnFaviconReceivedEvent_Void, OnFaviconReceivedEvent, Callback_OnPageVisibleEvent_Void, OnPageVisibleEvent, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, OnFirstMeaningfulPaintCallback, FirstMeaningfulPaint, OnLargestContentfulPaintCallback, LargestContentfulPaint, Callback_OnLoadInterceptEvent_Boolean, OnLoadInterceptEvent, Callback_OnOverScrollEvent_Void, OnSafeBrowsingCheckResultCallback, OnNavigationEntryCommittedCallback, LoadCommittedDetails, OnIntelligentTrackingPreventionCallback, IntelligentTrackingPreventionDetails, WebLayoutMode, NestedScrollOptionsExt, Callback_NativeEmbedDataInfo_Void, NativeEmbedDataInfo, OnNativeEmbedVisibilityChangeCallback, NativeEmbedVisibilityInfo, Callback_NativeEmbedTouchInfo_Void, NativeEmbedTouchInfo, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, RenderProcessNotRespondingData, OnRenderProcessRespondingCallback, OnViewportFitChangedCallback, WebKeyboardCallback, WebKeyboardCallbackInfo, OnAdsBlockedCallback, AdsBlockedDetails, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, WebCaptureMode, WebContextMenuParam, WebContextMenuResult, WebController, Literal_String_script_Callback_String_Void_callback_, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Header, Literal_Object_object__String_name_Array_String_methodList, WebCookie, WebKeyboardController, WebNavigationType, WebResourceError, Literal_String_plainText, WebKeyboardOptions, WebOptions, Callback_Literal_String_plainText_Void, NativeEmbedInfo } from "./../web" import { CalendarAlign, CalendarPickerAttribute, Callback_Date_Void, CalendarOptions, CalendarDialogOptions } from "./../calendar_picker" import { CalendarController, Literal_Number_day_month_year, CalendarDay, CalendarRequestedData, CalendarSelectedDate, MonthData, Type_CalendarInterface_callable0_value, CurrentDayStyle, NonCurrentDayStyle, TodayStyle, WeekStyle, WorkStateStyle } from "./../calendar" -import { CancelButtonStyle, SearchAttribute, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchSubmitCallback, SearchType, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, SearchButtonOptions, SearchController, SearchOptions } from "./../search" -import { CanvasGradient, CanvasPath, CanvasPattern, OffscreenCanvas, ImageBitmap, RenderingContextSettings, OffscreenCanvasRenderingContext2D, Path2D, TextMetrics, CanvasRenderer, ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, CanvasTextAlign, CanvasTextBaseline, CanvasFillRule, ImageData, CanvasRenderingContext2D, DrawingRenderingContext } from "./../canvas" +import { CancelButtonStyle, SearchAttribute, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchSubmitCallback, SearchType, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_EditableTextChangeValue_Boolean, SearchButtonOptions, SearchController, SearchOptions } from "./../search" +import { CanvasGradient, CanvasPath, CanvasPattern, OffscreenCanvas, ImageBitmap, RenderingContextSettings, OffscreenCanvasRenderingContext2D, Path2D, TextMetrics, DrawingRenderingContext, ImageData, CanvasRenderer, ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, CanvasTextAlign, CanvasTextBaseline, CanvasFillRule, CanvasRenderingContext2D } from "./../canvas" import { Matrix2D } from "./../matrix2d" import { ChainEdgeEffect, ScrollState, ListAttribute, ListItemAlign, ListDividerOptions, ChainAnimationOptions, StickyStyle, ScrollSnapAlign, Callback_Number_Number_Number_Void, OnScrollVisibleContentChangeCallback, VisibleListContentInfo, Callback_Number_Boolean, Callback_Number_Number_Boolean, ListItemGroupArea, ListScroller, CloseSwipeActionOptions, ListOptions } from "./../list" +import { ColorContent, DynamicRangeMode, ImageContent, ImageInterpolation, ImageRenderMode, ImageRotateOrientation, Type_ImageAttribute_onComplete_callback_event, ImageError, ImageSourceSize, ResizableOptions } from "./../image" import { ColorMode, LayoutDirection } from "./../state_management" import { Component3DAttribute, ModelType, SceneOptions } from "./../component3d" import { ComponentContent, UnifiedData, UIContext, SystemBarStyle, PointerStyle, Scene, Context, WorkerEventListener, Event, BaseContext, Context_getGroupDir_Callback, ErrorEvent, MessageEvents, PostMessageOptions, WorkerOptions, CustomColors, RestrictedWorker, RestrictedWorker_onexit_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onmessage_Callback, CustomTheme } from "./../arkui-custom" import { ContentModifier, WrappedBuilder, CommonConfiguration, Callback_WrappedBuilder_Args_Void } from "./../arkui-wrapper-builder" -import { ContentType, TextAreaAttribute, Callback_EnterKeyType_Void, TextAreaSubmitCallback, Callback_String_PasteEvent_Void, TextAreaType, TextAreaController, TextAreaOptions } from "./../text_area" +import { ContentType, EnterKeyType, InputType, SubmitEvent, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, TextInputAttribute, OnSubmitCallback, TextInputStyle, PasswordIcon, UnderlineColor, TextInputController, TextInputOptions } from "./../text_input" import { CustomDialogController, CustomDialogControllerOptions } from "./../custom_dialog_controller" import { DataOperationType } from "./../lazy_for_each" import { DataPanelType, ColorStop, LinearGradient, DataPanelOptions, DataPanelShadowOptions } from "./../data_panel" -import { DialogAlignment, DialogButtonDirection, TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, AlertDialogParamWithButtons, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithOptions } from "./../alert_dialog" +import { DatePickerMode, DatePickerOptions, DatePickerResult, LunarSwitchStyle, DatePickerDialogOptions, Callback_DatePickerResult_Void } from "./../date_picker" +import { DialogAlignment, DialogButtonDirection, LevelOrder, TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, AlertDialogParamWithButtons, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithOptions } from "./../alert_dialog" import { DistributionType, DisturbanceFieldShape, ParticleEmitterShape, ParticleType, ParticleUpdater } from "./../particle" -import { DpiFollowStrategy, UIExtensionProxy, Callback_UIExtensionProxy_Void, UIExtensionOptions, Literal_Number_code__want } from "./../ui_extension_component" +import { DpiFollowStrategy, UIExtensionProxy, Callback_UIExtensionProxy_Void, WindowModeFollowStrategy, UIExtensionOptions, Literal_Number_code__want } from "./../ui_extension_component" +import { Callback_Void, Literal__want } from "./../ability_component" import { Rect, DrawContext, LengthMetricsUnit, LengthUnit, ShapeClip, RoundRect, Circle, CommandPath, ShapeMask, Size, LengthMetrics, Vector2, Vector3, BorderRadiuses_graphics, CornerRadius, Frame, Edges, Matrix4 } from "./../arkui-graphics" -import { DynamicRangeMode, ImageContent, ImageInterpolation, ImageRenderMode, Type_ImageAttribute_onComplete_callback_event, ImageError, ImageSourceSize, ResizableOptions } from "./../image" import { EditMode, ListItemStyle, Sticky, SwipeActionState, SwipeEdgeEffect, ListItemOptions, SwipeActionItem, Callback_SwipeActionState_Void, SwipeActionOptions } from "./../list_item" import { EffectFillStyle, PulseSymbolEffect, SymbolEffectStrategy, SymbolGlyphAttribute, SymbolRenderingStrategy, AppearSymbolEffect, BounceSymbolEffect, DisappearSymbolEffect, HierarchicalSymbolEffect } from "./../symbolglyph" -import { EnterKeyType, InputType, SubmitEvent, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, TextInputAttribute, OnSubmitCallback, TextInputStyle, PasswordIcon, UnderlineColor, TextInputController, TextInputOptions } from "./../text_input" -import { EventTargetInfo, GestureControl, GestureType, GestureGroupInterface, GestureMode, GestureJudgeResult, GestureMask, GesturePriority, GestureRecognizer, GestureRecognizerState, LongPressGestureInterface, GestureInterface, Literal_Number_duration_fingers_Boolean_repeat, Callback_GestureEvent_Void, GestureEvent, PanDirection, PanGestureInterface, Literal_Number_distance_fingers_PanDirection_direction, PanGestureOptions, PanRecognizer, PinchGestureInterface, Literal_Number_distance_fingers, RotationGestureInterface, Literal_Number_angle_fingers, ScrollableTargetInfo, SwipeDirection, SwipeGestureInterface, Literal_Number_fingers_speed_SwipeDirection_direction, TapGestureInterface, TapGestureParameters, GestureHandler, FingerInfo, GestureInfo, LongPressGestureEvent, BaseGestureEvent, PanGestureEvent, PinchGestureEvent, RotationGestureEvent, SwipeGestureEvent, TapGestureEvent } from "./../gesture" +import { EventTargetInfo, GestureControl, GestureType, GestureGroupInterface, GestureMode, GestureJudgeResult, GestureMask, GesturePriority, GestureRecognizer, GestureRecognizerState, LongPressGestureInterface, GestureInterface, Literal_Number_duration_fingers_Boolean_repeat, LongPressGestureHandlerOptions, Callback_GestureEvent_Void, GestureEvent, LongPressRecognizer, PanDirection, PanGestureInterface, Literal_Number_distance_fingers_PanDirection_direction, PanGestureOptions, PanGestureHandlerOptions, PanRecognizer, PinchGestureInterface, Literal_Number_distance_fingers, PinchGestureHandlerOptions, PinchRecognizer, RotationGestureInterface, Literal_Number_angle_fingers, RotationGestureHandlerOptions, RotationRecognizer, ScrollableTargetInfo, SwipeDirection, SwipeGestureInterface, Literal_Number_fingers_speed_SwipeDirection_direction, SwipeGestureHandlerOptions, SwipeRecognizer, TapGestureInterface, TapGestureParameters, TapRecognizer, GestureHandler, FingerInfo, GestureInfo, BaseHandlerOptions, LongPressGestureEvent, BaseGestureEvent, PanGestureEvent, PinchGestureEvent, RotationGestureEvent, SwipeGestureEvent, TapGestureEvent } from "./../gesture" import { Filter, TileMode, WaterRippleMode, FlyMode, VisualEffect, BrightnessBlender } from "./../arkui-uieffect" -import { FocusPriority, FocusBoxStyle } from "./../focus" +import { FocusPriority, KeyProcessingMode, FocusBoxStyle } from "./../focus" import { FormDimension, FormRenderingMode, FormShape, FormCallbackInfo, Literal_Number_errcode_String_msg, FormInfo } from "./../form_component" import { FrameNode } from "./../arkui-framenode" import { FrictionMotion, ScrollMotion, SpringProp, SpringMotion } from "./../animator" -import { FullscreenInfo, PlaybackInfo, PlaybackSpeed, PreparedInfo, SeekMode, VideoController, VideoOptions } from "./../video" -import { Callback_Void, Literal__want } from "./../ability_component" -import { GestureStyle, GestureStyleInterface, StyledString, MutableStyledString, StyleOptions, SpanStyle, ImageAttachment, CustomSpan, StyledStringKey, DecorationStyleInterface, UrlStyle, UserDataSpan, BaselineOffsetStyle, AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, LetterSpacingStyle, LineHeightStyle, TextShadowStyle, DecorationStyle, TextStyle_styled_string, TextStyleInterface, ImageAttachmentLayoutStyle, BackgroundColorStyle, ImageAttachmentInterface, ParagraphStyle, ParagraphStyleInterface, StyledStringValue } from "./../styled_string" +import { FullscreenInfo, PlaybackInfo, PlaybackSpeed, PreparedInfo, SeekMode, VideoController, PosterOptions, VideoOptions } from "./../video" +import { GestureStyle, GestureStyleInterface, StyledString, MutableStyledString, StyleOptions, SpanStyle, ImageAttachment, CustomSpan, StyledStringKey, StyledStringMarshallCallback, UserDataSpan, StyledStringUnmarshallCallback, DecorationStyleInterface, UrlStyle, BaselineOffsetStyle, AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, LetterSpacingStyle, LineHeightStyle, TextShadowStyle, DecorationStyle, TextStyle_styled_string, TextStyleInterface, ImageAttachmentLayoutStyle, ParagraphStyle, ParagraphStyleInterface, BackgroundColorStyle, ColorFilterType, ImageAttachmentInterface, AttachmentType, ResourceImageAttachmentOptions, StyledStringValue } from "./../styled_string" import { GridAttribute, Callback_Number_Number_ComputedBarAttribute, ComputedBarAttribute, Callback_Number_Number_Void, GridDirection, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, GridItemAlignment, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain, GridLayoutOptions, Callback_Number_Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number } from "./../grid" import { GridAttribute_onItemDragStart_event_type, ListAttribute_onItemDragStart_event_type, AnimationRange_Number } from "./../type-replacements" import { Resource } from "./../resource" import { GridItemStyle, GridItemOptions } from "./../gridItem" -import { ImageAnalyzerType, ImageAnalyzerController, ImageAnalyzerConfig, ImageAIOptions } from "./../image_common" +import { ImageAnalyzerType, ImageAnalyzerController, ImageAIOptions, ImageAnalyzerConfig } from "./../image_common" import { IndicatorComponentController } from "./../indicatorcomponent" import { ItemState } from "./../stepper_item" -import { LayoutManager, PositionWithAffinity, TextRange, MenuType, TextDataDetectorConfig, OnDidChangeCallback, EditMenuOptions, TextEditControllerEx, PreviewText, StyledStringController, StyledStringChangedListener, CaretStyle, EditableTextOnChangeCallback, InsertValue, DeleteValue, FontSettingOptions, TextBaseController, TextDataDetectorType, TextDeleteDirection, TextMenuItemId, TextMenuItem, AsyncCallback_Array_TextMenuItem_Array_TextMenuItem, AsyncCallback_TextMenuItem_TextRange_Boolean, Callback_StyledStringChangeValue_Boolean, StyledStringChangeValue, DecorationStyleResult } from "./../text_common" -import { LayoutMode, SelectedMode, TabBarSymbol, BoardStyle, TabBarIconStyle, TabBarOptions, BottomTabBarStyle, SubTabBarStyle } from "./../tab_content" +import { LayoutMode, SelectedMode, TabBarSymbol, TabBarIconStyle, TabBarOptions, BoardStyle, BottomTabBarStyle, SubTabBarStyle } from "./../tab_content" import { LinearIndicatorController, LinearIndicatorStartOptions, LinearIndicatorStyle } from "./../linearindicator" import { ListItemGroupStyle, ListItemGroupOptions } from "./../list_item_group" import { Scroller, ScrollAlign, OffsetResult, OnScrollFrameBeginHandlerResult, ScrollAttribute, ScrollDirection, ScrollOnWillScrollCallback, ScrollOnScrollCallback, OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollSnapOptions, OffsetOptions, ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, Literal_Boolean_next_Axis_direction, ScrollToIndexOptions, ScrollAnimationOptions } from "./../scroll" import { LoadingProgressStyle } from "./../loading_progress" import { LocationButtonOnClickResult, LocationDescription, LocationIconStyle, LocationButtonOptions } from "./../location_button" +import { MarqueeStartPolicy, MarqueeState, TextAttribute, TextOverflowOptions, TextMarqueeOptions, Callback_MarqueeState_Void, TextSpanType, TextResponseType, TextController, TextOptions } from "./../text" import { Matrix4Transit, TranslateOption, ScaleOption, RotateOption, PolyToPolyOptions } from "./../arkui-matrix4" import { Tuple_Number_Number, Tuple_Number_Number_Number } from "./../arkui-synthetics" -import { NavDestinationAttribute, Callback_Boolean, NavDestinationMode, Callback_NavDestinationContext_Void, NavDestinationContext, NavigationSystemTransitionType, NavDestinationCommonTitle, NavDestinationCustomTitle, RouteMapConfig } from "./../nav_destination" +import { NavDestinationActiveReason, NestedScrollInfo, NavDestinationAttribute, Callback_Boolean, Callback_Object_Void, NavDestinationMode, Callback_NavDestinationContext_Void, NavDestinationContext, NavigationSystemTransitionType, Callback_NavDestinationActiveReason_Void, NavDestinationTransitionDelegate, Orientation, NavDestinationCommonTitle, NavDestinationCustomTitle, NavDestinationTransition, RouteMapConfig } from "./../nav_destination" import { NavigationType, Literal_String_target_NavigationType_type } from "./../navigator" import { NavRouteMode, RouteInfo } from "./../nav_router" import { NodeController } from "./../ohos.arkui.node" @@ -94,22 +95,22 @@ import { PatternLockChallengeResult, PatternLockController, CircleStyleOptions } import { ProgressStatus, ProgressStyle, ProgressType, ProgressOptions, LinearStyleOptions, ScanEffectOptions, CommonProgressStyleOptions, ProgressStyleOptions, RingStyleOptions, CapsuleStyleOptions } from "./../progress" import { RadioIndicatorType, RadioOptions, RadioStyle } from "./../radio" import { RefreshStatus, RefreshOptions } from "./../refresh" -import { RichEditorAttribute, Callback_RichEditorSelection_Void, RichEditorSelection, Callback_RichEditorRange_Void, RichEditorRange, Callback_RichEditorInsertValue_Boolean, RichEditorInsertValue, Callback_RichEditorTextSpanResult_Void, RichEditorTextSpanResult, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, RichEditorDeleteValue, PasteEventCallback, PasteEvent, SubmitCallback, Callback_RichEditorChangeValue_Boolean, RichEditorChangeValue, Callback_CutEvent_Void, CutEvent, Callback_CopyEvent_Void, CopyEvent, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle, RichEditorBaseController, RichEditorTextStyle, RichEditorParagraphResult, RichEditorSpan, RichEditorController, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorDeleteDirection, RichEditorOptions, RichEditorStyledStringController, RichEditorStyledStringOptions, RichEditorGesture, RichEditorSpanPosition, MenuOnAppearCallback, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorSpanStyleOptions, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorParagraphStyle } from "./../rich_editor" +import { RichEditorAttribute, Callback_RichEditorSelection_Void, RichEditorSelection, Callback_RichEditorRange_Void, RichEditorRange, Callback_RichEditorInsertValue_Boolean, RichEditorInsertValue, Callback_RichEditorTextSpanResult_Void, RichEditorTextSpanResult, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, RichEditorDeleteValue, PasteEventCallback, PasteEvent, SubmitCallback, Callback_RichEditorChangeValue_Boolean, RichEditorChangeValue, Callback_CutEvent_Void, CutEvent, Callback_CopyEvent_Void, CopyEvent, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle, RichEditorBaseController, RichEditorTextStyle, RichEditorParagraphResult, RichEditorSpan, RichEditorController, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorDeleteDirection, RichEditorOptions, RichEditorStyledStringController, RichEditorStyledStringOptions, PreviewMenuOptions, RichEditorGesture, RichEditorSpanPosition, RichEditorSymbolSpanStyle, RichEditorSpanStyleOptions, RichEditorUrlStyle, MenuOnAppearCallback, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorParagraphStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorTextStyleResult } from "./../rich_editor" import { RootSceneSession } from "./../root_scene" import { RouteType, SlideEffect } from "./../page_transition" import { RRect, WindowAnimationTarget } from "./../remote_window" import { SaveButtonOnClickResult, SaveDescription, SaveIconStyle, SaveButtonOptions } from "./../save_button" import { ScrollBarDirection, ScrollBarOptions } from "./../scroll_bar" import { SecurityComponentLayoutDirection } from "./../security_component" -import { DividerOptions, TextPickerDialogOptions, TextCascadePickerRangeContent, TextPickerRangeContent, TextPickerOptions, TextPickerResult, Callback_TextPickerResult_Void } from "./../text_picker" +import { DividerOptions, TextPickerDialogOptions, TextCascadePickerRangeContent, TextPickerRangeContent, TextPickerOptions, TextPickerResult, TextPickerTextStyle, Callback_TextPickerResult_Void } from "./../text_picker" import { SelectStatus, CheckboxGroupOptions, CheckboxGroupResult } from "./../checkboxgroup" import { ShapeAttribute, ViewportRect } from "./../shape" import { SideBarContainerType, SideBarPosition, ButtonIconOptions, ButtonStyle } from "./../sidebar" import { SizeType, GridContainerOptions } from "./../grid_container" import { SliderAttribute, Callback_Number_SliderChangeMode_Void, SliderChangeMode, SliderBlockStyle, SliderInteraction, SlideRange, SliderBlockType, SliderStyle, SliderOptions } from "./../slider" import { SubMenuExpandingMode } from "./../menu" -import { SwiperAnimationEvent, SwiperAttribute, DotIndicator, DigitIndicator, SwiperDisplayMode, OnSwiperAnimationStartCallback, OnSwiperAnimationEndCallback, OnSwiperGestureSwipeCallback, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ContentDidScrollCallback, ArrowStyle, SwiperAutoFill, SwiperContentTransitionProxy, SwiperController, Callback_SwiperContentTransitionProxy_Void, Indicator } from "./../swiper" -import { TextAttribute, TextOverflowOptions, TextSpanType, TextResponseType, TextController, TextOptions } from "./../text" +import { SwiperAnimationEvent, SwiperAnimationMode, SwiperAttribute, DotIndicator, DigitIndicator, SwiperDisplayMode, OnSwiperAnimationStartCallback, OnSwiperAnimationEndCallback, OnSwiperGestureSwipeCallback, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ContentDidScrollCallback, ContentWillScrollCallback, SwiperContentWillScrollResult, AutoPlayOptions, ArrowStyle, SwiperAutoFill, SwiperContentTransitionProxy, SwiperController, Callback_SwiperContentTransitionProxy_Void, Indicator } from "./../swiper" +import { TextAreaAttribute, Callback_EnterKeyType_Void, TextAreaSubmitCallback, Callback_String_PasteEvent_Void, TextAreaType, TextAreaController, TextAreaOptions } from "./../text_area" import { TextClockController, TextClockOptions } from "./../text_clock" import { TextTimerController, TextTimerOptions } from "./../text_timer" import { TimePickerFormat, TimePickerResult, TimePickerOptions, TimePickerDialogOptions, Callback_TimePickerResult_Void } from "./../time_picker" @@ -122,21 +123,20 @@ import { ASTCResource } from "./../media_cached_image" import { BusinessError } from "./../base" import { CheckboxOptions } from "./../checkbox" import { CircleOptions } from "./../circle" -import { ColumnOptions } from "./../column" +import { ColumnOptions, ColumnOptionsV2 } from "./../column" import { common2D } from "./../ohos.graphics.common2D" import { CustomDialogBuildOptions, CustomDialogControllerBuilder } from "./../arkui-custom-dialog" -import { DatePickerOptions, DatePickerResult, LunarSwitchStyle, DatePickerDialogOptions, Callback_DatePickerResult_Void } from "./../date_picker" import { DateTimeOptions } from "./../arkui-intl" -import { DismissDialogAction, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions, Callback_DismissDialogAction_Void } from "./../action_sheet" +import { DismissDialogAction, ImmersiveMode, LevelMode, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions, Callback_DismissDialogAction_Void } from "./../action_sheet" import { DoubleAnimationParam, Callback_Extender_OnProgress, Callback_Extender_OnFinish } from "./../animation_extender" import { EllipseOptions } from "./../ellipse" import { FormLinkOptions } from "./../form_link" -import { GaugeOptions, GaugeIndicatorOptions, GaugeShadowOptions, Tuple_Union_ResourceColor_LinearGradient_Number } from "./../gauge" +import { GaugeOptions, GaugeShadowOptions, GaugeIndicatorOptions, Tuple_Union_ResourceColor_LinearGradient_Number } from "./../gauge" import { GridColColumnOption, GridColOptions } from "./../grid_col" import { ImageLoadResult } from "./../image_span" import { LineOptions } from "./../line" import { Literal_Number_index } from "./../stepper" -import { Literal_Number_surfaceHeight_surfaceWidth, SurfaceRect, SurfaceRotationOptions, XComponentController, Callback_String_SurfaceRect_Void, Type_XComponentInterface_callable0_value, Type_XComponentInterface_callable1_value, XComponentOptions } from "./../xcomponent" +import { Literal_Number_surfaceHeight_surfaceWidth, SurfaceRect, SurfaceRotationOptions, XComponentController, Callback_String_SurfaceRect_Void, NativeXComponentParameters, Type_XComponentInterface_callable0_value, Type_XComponentInterface_callable1_value, XComponentOptions } from "./../xcomponent" import { MarqueeOptions } from "./../marquee" import { PathOptions } from "./../path" import { PluginComponentTemplate, PluginErrorData, PluginComponentOptions } from "./../plugin_component" @@ -144,17 +144,19 @@ import { PolygonOptions } from "./../polygon" import { PolylineOptions } from "./../polyline" import { RatingOptions, StarStyleOptions } from "./../rating" import { RoundedRectOptions, RectOptions } from "./../rect" -import { RowOptions } from "./../row" +import { RowOptions, RowOptionsV2 } from "./../row" import { StackOptions } from "./../stack" import { TransformationMatrix } from "./../arkui-common" +import { VirtualScrollOptions } from "./../repeat" import { Want } from "./../ohos.app.ability" -import { ColumnSplitDividerStyle } from "./../column_split" import { FlexSpaceOptions, FlexOptions } from "./../flex" import { ImageFrameInfo } from "./../image_animator" import { MenuItemGroupOptions } from "./../menu_item_group" import { MenuItemOptions } from "./../menu_item" -import { RenderNode } from "./../arkui-rendernode" +import { MenuCallback, OnHoverCallback } from "./../sdk-stubs" import { TerminationInfo } from "./../embedded_component" +import { ColumnSplitDividerStyle } from "./../column_split" +import { RenderNode } from "./../arkui-rendernode" import { TextBackgroundStyle } from "./../span" import { Content } from "./../content_slot" export class TypeChecker { @@ -176,13 +178,19 @@ export class TypeChecker { static isAccessibilityOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof AccessibilityOptions } + static isAccessibilityRoleType(value: Object | string | number | undefined): boolean { + return value instanceof AccessibilityRoleType + } + static isAccessibilitySamePageMode(value: Object | string | number | undefined): boolean { + return value instanceof AccessibilitySamePageMode + } static isActionSheetButtonOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof ActionSheetButtonOptions } static isActionSheetOffset(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof ActionSheetOffset } - static isActionSheetOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean): boolean { + static isActionSheetOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean): boolean { return value instanceof ActionSheetOptions } static isAdaptiveColor(value: Object | string | number | undefined): boolean { @@ -257,9 +265,27 @@ export class TypeChecker { static isASTCResource(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof ASTCResource } + static isAutoCapitalizationMode(value: Object | string | number | undefined): boolean { + return value instanceof AutoCapitalizationMode + } + static isAutoPlayOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof AutoPlayOptions + } + static isAvoidanceMode(value: Object | string | number | undefined): boolean { + return value instanceof AvoidanceMode + } static isAxis(value: Object | string | number | undefined): boolean { return value instanceof Axis } + static isAxisAction(value: Object | string | number | undefined): boolean { + return value instanceof AxisAction + } + static isAxisEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean): boolean { + return value instanceof AxisEvent + } + static isAxisModel(value: Object | string | number | undefined): boolean { + return value instanceof AxisModel + } static isBackgroundBlurStyleOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof BackgroundBlurStyleOptions } @@ -272,6 +298,9 @@ export class TypeChecker { static isBackgroundEffectOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean): boolean { return value instanceof BackgroundEffectOptions } + static isBackgroundImageOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof BackgroundImageOptions + } static isBadgeParamWithNumber(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof BadgeParamWithNumber } @@ -308,7 +337,7 @@ export class TypeChecker { static isBaseContext(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof BaseContext } - static isBaseEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean): boolean { + static isBaseEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean): boolean { return value instanceof BaseEvent } static isBaseGestureEvent(value: Object | string | number | undefined, arg0: boolean): boolean { @@ -329,6 +358,9 @@ export class TypeChecker { static isBlendMode(value: Object | string | number | undefined): boolean { return value instanceof BlendMode } + static isBlurOnKeyboardHideMode(value: Object | string | number | undefined): boolean { + return value instanceof BlurOnKeyboardHideMode + } static isBlurOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof BlurOptions } @@ -404,13 +436,13 @@ export class TypeChecker { static isCalendarDay(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean): boolean { return value instanceof CalendarDay } - static isCalendarDialogOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean): boolean { + static isCalendarDialogOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean): boolean { return value instanceof CalendarDialogOptions } - static isCalendarOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + static isCalendarOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof CalendarOptions } - static isCalendarPickerAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + static isCalendarPickerAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof CalendarPickerAttribute } static isCalendarRequestedData(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { @@ -437,13 +469,13 @@ export class TypeChecker { static isCanvasPattern(value: Object | string | number | undefined): boolean { return value instanceof CanvasPattern } - static isCanvasRenderer(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean): boolean { + static isCanvasRenderer(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean): boolean { return value instanceof CanvasRenderer } static isCanvasRenderingContext2D(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof CanvasRenderingContext2D } - static isCapsuleStyleOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { + static isCapsuleStyleOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean): boolean { return value instanceof CapsuleStyleOptions } static isCaretOffset(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { @@ -488,7 +520,7 @@ export class TypeChecker { static isCircleShape(value: Object | string | number | undefined): boolean { return value instanceof CircleShape } - static isCircleStyleOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + static isCircleStyleOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof CircleStyleOptions } static isClickEffect(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { @@ -497,7 +529,7 @@ export class TypeChecker { static isClickEffectLevel(value: Object | string | number | undefined): boolean { return value instanceof ClickEffectLevel } - static isClickEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean): boolean { + static isClickEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean): boolean { return value instanceof ClickEvent } static isClientAuthenticationHandler(value: Object | string | number | undefined): boolean { @@ -509,6 +541,9 @@ export class TypeChecker { static isColor(value: Object | string | number | undefined): boolean { return value instanceof Color } + static isColorContent(value: Object | string | number | undefined): boolean { + return value instanceof ColorContent + } static isColorFilter(value: Object | string | number | undefined): boolean { return value instanceof ColorFilter } @@ -527,6 +562,9 @@ export class TypeChecker { static isColumnOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof ColumnOptions } + static isColumnOptionsV2(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof ColumnOptionsV2 + } static isColumnSplitDividerStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof ColumnSplitDividerStyle } @@ -539,6 +577,9 @@ export class TypeChecker { static isCommonConfiguration(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof CommonConfiguration } + static isCommonModifier(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof CommonModifier + } static isCommonShape(value: Object | string | number | undefined): boolean { return value instanceof CommonShape } @@ -590,7 +631,7 @@ export class TypeChecker { static isContextMenuMediaType(value: Object | string | number | undefined): boolean { return value instanceof ContextMenuMediaType } - static isContextMenuOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean): boolean { + static isContextMenuOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean): boolean { return value instanceof ContextMenuOptions } static isContextMenuSourceType(value: Object | string | number | undefined): boolean { @@ -611,6 +652,15 @@ export class TypeChecker { static isCornerRadius(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof CornerRadius } + static isCrownAction(value: Object | string | number | undefined): boolean { + return value instanceof CrownAction + } + static isCrownEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { + return value instanceof CrownEvent + } + static isCrownSensitivity(value: Object | string | number | undefined): boolean { + return value instanceof CrownSensitivity + } static isCurrentDayStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean): boolean { return value instanceof CurrentDayStyle } @@ -629,10 +679,10 @@ export class TypeChecker { static isCustomDialogControllerBuilder(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof CustomDialogControllerBuilder } - static isCustomDialogControllerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean): boolean { + static isCustomDialogControllerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean, arg37: boolean): boolean { return value instanceof CustomDialogControllerOptions } - static isCustomPopupOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean): boolean { + static isCustomPopupOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean): boolean { return value instanceof CustomPopupOptions } static isCustomSpan(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { @@ -668,15 +718,24 @@ export class TypeChecker { static isDataResubmissionHandler(value: Object | string | number | undefined): boolean { return value instanceof DataResubmissionHandler } - static isDatePickerDialogOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean): boolean { + static isDataSyncOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof DataSyncOptions + } + static isDatePickerDialogOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean): boolean { return value instanceof DatePickerDialogOptions } - static isDatePickerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + static isDatePickerMode(value: Object | string | number | undefined): boolean { + return value instanceof DatePickerMode + } + static isDatePickerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof DatePickerOptions } static isDatePickerResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof DatePickerResult } + static isDateRange(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof DateRange + } static isDateTimeOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean): boolean { return value instanceof DateTimeOptions } @@ -737,13 +796,16 @@ export class TypeChecker { static isDisturbanceFieldShape(value: Object | string | number | undefined): boolean { return value instanceof DisturbanceFieldShape } + static isDividerMode(value: Object | string | number | undefined): boolean { + return value instanceof DividerMode + } static isDividerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof DividerOptions } static isDividerStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof DividerStyle } - static isDividerStyleOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + static isDividerStyleOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof DividerStyleOptions } static isDotIndicator(value: Object | string | number | undefined): boolean { @@ -761,7 +823,10 @@ export class TypeChecker { static isDragEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof DragEvent } - static isDragInteractionOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + static isDraggingSizeChangeEffect(value: Object | string | number | undefined): boolean { + return value instanceof DraggingSizeChangeEffect + } + static isDragInteractionOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof DragInteractionOptions } static isDragItemInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { @@ -770,7 +835,7 @@ export class TypeChecker { static isDragPreviewMode(value: Object | string | number | undefined): boolean { return value instanceof DragPreviewMode } - static isDragPreviewOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + static isDragPreviewOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof DragPreviewOptions } static isDragResult(value: Object | string | number | undefined): boolean { @@ -797,6 +862,9 @@ export class TypeChecker { static isDrawModifier(value: Object | string | number | undefined): boolean { return value instanceof DrawModifier } + static isDropOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof DropOptions + } static isDynamicRangeMode(value: Object | string | number | undefined): boolean { return value instanceof DynamicRangeMode } @@ -809,7 +877,7 @@ export class TypeChecker { static isEdgeEffect(value: Object | string | number | undefined): boolean { return value instanceof EdgeEffect } - static isEdgeEffectOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + static isEdgeEffectOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof EdgeEffectOptions } static isEdgeOutlineStyles(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { @@ -827,6 +895,9 @@ export class TypeChecker { static isEdgeWidths(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof EdgeWidths } + static isEditableTextChangeValue(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof EditableTextChangeValue + } static isEditMenuOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof EditMenuOptions } @@ -836,6 +907,9 @@ export class TypeChecker { static isEffectDirection(value: Object | string | number | undefined): boolean { return value instanceof EffectDirection } + static isEffectEdge(value: Object | string | number | undefined): boolean { + return value instanceof EffectEdge + } static isEffectFillStyle(value: Object | string | number | undefined): boolean { return value instanceof EffectFillStyle } @@ -857,6 +931,9 @@ export class TypeChecker { static isEmbeddedType(value: Object | string | number | undefined): boolean { return value instanceof EmbeddedType } + static isEmbedOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof EmbedOptions + } static isEnterKeyType(value: Object | string | number | undefined): boolean { return value instanceof EnterKeyType } @@ -869,7 +946,7 @@ export class TypeChecker { static isEventResult(value: Object | string | number | undefined): boolean { return value instanceof EventResult } - static isEventTarget(value: Object | string | number | undefined, arg0: boolean): boolean { + static isEventTarget(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof EventTarget } static isEventTargetInfo(value: Object | string | number | undefined): boolean { @@ -899,7 +976,7 @@ export class TypeChecker { static isFilter(value: Object | string | number | undefined): boolean { return value instanceof Filter } - static isFingerInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean): boolean { + static isFingerInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean): boolean { return value instanceof FingerInfo } static isFinishCallbackType(value: Object | string | number | undefined): boolean { @@ -926,9 +1003,18 @@ export class TypeChecker { static isFlyMode(value: Object | string | number | undefined): boolean { return value instanceof FlyMode } + static isFocusAxisEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof FocusAxisEvent + } static isFocusBoxStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof FocusBoxStyle } + static isFocusDrawLevel(value: Object | string | number | undefined): boolean { + return value instanceof FocusDrawLevel + } + static isFocusMovement(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { + return value instanceof FocusMovement + } static isFocusPriority(value: Object | string | number | undefined): boolean { return value instanceof FocusPriority } @@ -1118,6 +1204,9 @@ export class TypeChecker { static isGutterOption(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof GutterOption } + static isHapticFeedbackMode(value: Object | string | number | undefined): boolean { + return value instanceof HapticFeedbackMode + } static isHeader(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof Header } @@ -1142,7 +1231,7 @@ export class TypeChecker { static isHoverEffect(value: Object | string | number | undefined): boolean { return value instanceof HoverEffect } - static isHoverEvent(value: Object | string | number | undefined, arg0: boolean): boolean { + static isHoverEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean): boolean { return value instanceof HoverEvent } static isHoverEventParam(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { @@ -1175,10 +1264,10 @@ export class TypeChecker { static isImageAnalyzerType(value: Object | string | number | undefined): boolean { return value instanceof ImageAnalyzerType } - static isImageAttachment(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { + static isImageAttachment(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { return value instanceof ImageAttachment } - static isImageAttachmentInterface(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { + static isImageAttachmentInterface(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { return value instanceof ImageAttachmentInterface } static isImageAttachmentLayoutStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { @@ -1217,6 +1306,9 @@ export class TypeChecker { static isImageRepeat(value: Object | string | number | undefined): boolean { return value instanceof ImageRepeat } + static isImageRotateOrientation(value: Object | string | number | undefined): boolean { + return value instanceof ImageRotateOrientation + } static isImageSize(value: Object | string | number | undefined): boolean { return value instanceof ImageSize } @@ -1226,6 +1318,9 @@ export class TypeChecker { static isImageSpanAlignment(value: Object | string | number | undefined): boolean { return value instanceof ImageSpanAlignment } + static isImmersiveMode(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof ImmersiveMode + } static isIndexerAlign(value: Object | string | number | undefined): boolean { return value instanceof IndexerAlign } @@ -1250,6 +1345,9 @@ export class TypeChecker { static isIntentionCode(value: Object | string | number | undefined): boolean { return value instanceof IntentionCode } + static isInteractionHand(value: Object | string | number | undefined): boolean { + return value instanceof InteractionHand + } static isInvertOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof InvertOptions } @@ -1271,6 +1369,9 @@ export class TypeChecker { static isJsResult(value: Object | string | number | undefined): boolean { return value instanceof JsResult } + static isKeyboardAppearance(value: Object | string | number | undefined): boolean { + return value instanceof KeyboardAppearance + } static isKeyboardAvoidMode(value: Object | string | number | undefined): boolean { return value instanceof KeyboardAvoidMode } @@ -1280,6 +1381,9 @@ export class TypeChecker { static isKeyEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean): boolean { return value instanceof KeyEvent } + static isKeyProcessingMode(value: Object | string | number | undefined): boolean { + return value instanceof KeyProcessingMode + } static isKeySource(value: Object | string | number | undefined): boolean { return value instanceof KeySource } @@ -1307,6 +1411,9 @@ export class TypeChecker { static isLayoutMode(value: Object | string | number | undefined): boolean { return value instanceof LayoutMode } + static isLayoutPolicy(value: Object | string | number | undefined): boolean { + return value instanceof LayoutPolicy + } static isLayoutSafeAreaEdge(value: Object | string | number | undefined): boolean { return value instanceof LayoutSafeAreaEdge } @@ -1334,6 +1441,12 @@ export class TypeChecker { static isLetterSpacingStyle(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof LetterSpacingStyle } + static isLevelMode(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof LevelMode + } + static isLevelOrder(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof LevelOrder + } static isLightSource(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof LightSource } @@ -1346,6 +1459,9 @@ export class TypeChecker { static isLinearGradientBlurOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof LinearGradientBlurOptions } + static isLinearGradientOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + return value instanceof LinearGradientOptions + } static isLinearIndicatorController(value: Object | string | number | undefined): boolean { return value instanceof LinearIndicatorController } @@ -1376,7 +1492,7 @@ export class TypeChecker { static isLineOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof LineOptions } - static isListAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean): boolean { + static isListAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean): boolean { return value instanceof ListAttribute } static isListDividerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { @@ -1556,9 +1672,15 @@ export class TypeChecker { static isLongPressGestureEvent(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof LongPressGestureEvent } + static isLongPressGestureHandlerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof LongPressGestureHandlerOptions + } static isLongPressGestureInterface(value: Object | string | number | undefined): boolean { return value instanceof LongPressGestureInterface } + static isLongPressRecognizer(value: Object | string | number | undefined): boolean { + return value instanceof LongPressRecognizer + } static isLunarSwitchStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof LunarSwitchStyle } @@ -1568,6 +1690,12 @@ export class TypeChecker { static isMarqueeOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof MarqueeOptions } + static isMarqueeStartPolicy(value: Object | string | number | undefined): boolean { + return value instanceof MarqueeStartPolicy + } + static isMarqueeState(value: Object | string | number | undefined): boolean { + return value instanceof MarqueeState + } static isMarqueeUpdateStrategy(value: Object | string | number | undefined): boolean { return value instanceof MarqueeUpdateStrategy } @@ -1577,7 +1705,7 @@ export class TypeChecker { static isMatrix4Transit(value: Object | string | number | undefined): boolean { return value instanceof Matrix4Transit } - static isMeasurable(value: Object | string | number | undefined): boolean { + static isMeasurable(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof Measurable } static isMeasureOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean): boolean { @@ -1604,6 +1732,9 @@ export class TypeChecker { static isMenuOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof MenuOptions } + static isMenuOutlineOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof MenuOutlineOptions + } static isMenuPolicy(value: Object | string | number | undefined): boolean { return value instanceof MenuPolicy } @@ -1634,6 +1765,9 @@ export class TypeChecker { static isMonthData(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof MonthData } + static isMoreButtonOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof MoreButtonOptions + } static isMotionBlurAnchor(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof MotionBlurAnchor } @@ -1649,7 +1783,7 @@ export class TypeChecker { static isMouseButton(value: Object | string | number | undefined): boolean { return value instanceof MouseButton } - static isMouseEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean): boolean { + static isMouseEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean): boolean { return value instanceof MouseEvent } static isMutableStyledString(value: Object | string | number | undefined): boolean { @@ -1673,13 +1807,19 @@ export class TypeChecker { static isNativeMediaPlayerConfig(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof NativeMediaPlayerConfig } + static isNativeXComponentParameters(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof NativeXComponentParameters + } static isNavBarPosition(value: Object | string | number | undefined): boolean { return value instanceof NavBarPosition } static isNavContentInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof NavContentInfo } - static isNavDestinationAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean): boolean { + static isNavDestinationActiveReason(value: Object | string | number | undefined): boolean { + return value instanceof NavDestinationActiveReason + } + static isNavDestinationAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean): boolean { return value instanceof NavDestinationAttribute } static isNavDestinationCommonTitle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { @@ -1697,10 +1837,13 @@ export class TypeChecker { static isNavDestinationMode(value: Object | string | number | undefined): boolean { return value instanceof NavDestinationMode } + static isNavDestinationTransition(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { + return value instanceof NavDestinationTransition + } static isNavigationAnimatedTransition(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof NavigationAnimatedTransition } - static isNavigationAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean): boolean { + static isNavigationAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean): boolean { return value instanceof NavigationAttribute } static isNavigationCommonTitle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { @@ -1718,6 +1861,9 @@ export class TypeChecker { static isNavigationMenuItem(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof NavigationMenuItem } + static isNavigationMenuOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof NavigationMenuOptions + } static isNavigationMode(value: Object | string | number | undefined): boolean { return value instanceof NavigationMode } @@ -1733,10 +1879,10 @@ export class TypeChecker { static isNavigationTitleMode(value: Object | string | number | undefined): boolean { return value instanceof NavigationTitleMode } - static isNavigationTitleOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean): boolean { + static isNavigationTitleOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean): boolean { return value instanceof NavigationTitleOptions } - static isNavigationToolbarOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + static isNavigationToolbarOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean): boolean { return value instanceof NavigationToolbarOptions } static isNavigationTransitionProxy(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { @@ -1745,7 +1891,7 @@ export class TypeChecker { static isNavigationType(value: Object | string | number | undefined): boolean { return value instanceof NavigationType } - static isNavPathInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + static isNavPathInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof NavPathInfo } static isNavPathStack(value: Object | string | number | undefined): boolean { @@ -1754,6 +1900,9 @@ export class TypeChecker { static isNavRouteMode(value: Object | string | number | undefined): boolean { return value instanceof NavRouteMode } + static isNestedScrollInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof NestedScrollInfo + } static isNestedScrollMode(value: Object | string | number | undefined): boolean { return value instanceof NestedScrollMode } @@ -1907,6 +2056,9 @@ export class TypeChecker { static isOptionWidthMode(value: Object | string | number | undefined): boolean { return value instanceof OptionWidthMode } + static isOrientation(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof Orientation + } static isOutlineOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof OutlineOptions } @@ -1928,6 +2080,9 @@ export class TypeChecker { static isPadding(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof Padding } + static isPageFlipMode(value: Object | string | number | undefined): boolean { + return value instanceof PageFlipMode + } static isPanDirection(value: Object | string | number | undefined): boolean { return value instanceof PanDirection } @@ -1943,6 +2098,9 @@ export class TypeChecker { static isPanGestureEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof PanGestureEvent } + static isPanGestureHandlerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof PanGestureHandlerOptions + } static isPanGestureInterface(value: Object | string | number | undefined): boolean { return value instanceof PanGestureInterface } @@ -1952,10 +2110,10 @@ export class TypeChecker { static isPanRecognizer(value: Object | string | number | undefined): boolean { return value instanceof PanRecognizer } - static isParagraphStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { + static isParagraphStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean): boolean { return value instanceof ParagraphStyle } - static isParagraphStyleInterface(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { + static isParagraphStyleInterface(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean): boolean { return value instanceof ParagraphStyleInterface } static isParticleEmitterShape(value: Object | string | number | undefined): boolean { @@ -2021,9 +2179,15 @@ export class TypeChecker { static isPinchGestureEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof PinchGestureEvent } + static isPinchGestureHandlerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof PinchGestureHandlerOptions + } static isPinchGestureInterface(value: Object | string | number | undefined): boolean { return value instanceof PinchGestureInterface } + static isPinchRecognizer(value: Object | string | number | undefined): boolean { + return value instanceof PinchRecognizer + } static isPixelMap(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof PixelMap } @@ -2036,6 +2200,9 @@ export class TypeChecker { static isPixelRoundCalcPolicy(value: Object | string | number | undefined): boolean { return value instanceof PixelRoundCalcPolicy } + static isPixelRoundMode(value: Object | string | number | undefined): boolean { + return value instanceof PixelRoundMode + } static isPixelRoundPolicy(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof PixelRoundPolicy } @@ -2087,15 +2254,21 @@ export class TypeChecker { static isPopupMessageOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof PopupMessageOptions } - static isPopupOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean): boolean { + static isPopupOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean): boolean { return value instanceof PopupOptions } + static isPopupStateChangeParam(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof PopupStateChangeParam + } static isPosition(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof Position } static isPositionWithAffinity(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof PositionWithAffinity } + static isPosterOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof PosterOptions + } static isPostMessageOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof PostMessageOptions } @@ -2105,6 +2278,12 @@ export class TypeChecker { static isPreparedInfo(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof PreparedInfo } + static isPreviewConfiguration(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof PreviewConfiguration + } + static isPreviewMenuOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof PreviewMenuOptions + } static isPreviewText(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof PreviewText } @@ -2126,12 +2305,18 @@ export class TypeChecker { static isProgressType(value: Object | string | number | undefined): boolean { return value instanceof ProgressType } + static isPromptActionDialogController(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof PromptActionDialogController + } static isProtectedResourceType(value: Object | string | number | undefined): boolean { return value instanceof ProtectedResourceType } static isPulseSymbolEffect(value: Object | string | number | undefined): boolean { return value instanceof PulseSymbolEffect } + static isRadialGradientOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + return value instanceof RadialGradientOptions + } static isRadioIndicatorType(value: Object | string | number | undefined): boolean { return value instanceof RadioIndicatorType } @@ -2219,19 +2404,25 @@ export class TypeChecker { static isResource(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof Resource } + static isResourceImageAttachmentOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean): boolean { + return value instanceof ResourceImageAttachmentOptions + } static isResponseType(value: Object | string | number | undefined): boolean { return value instanceof ResponseType } static isRestrictedWorker(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof RestrictedWorker } - static isRichEditorAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean): boolean { + static isReuseOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof ReuseOptions + } + static isRichEditorAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean): boolean { return value instanceof RichEditorAttribute } static isRichEditorBaseController(value: Object | string | number | undefined): boolean { return value instanceof RichEditorBaseController } - static isRichEditorBuilderSpanOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + static isRichEditorBuilderSpanOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof RichEditorBuilderSpanOptions } static isRichEditorChangeValue(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { @@ -2246,10 +2437,10 @@ export class TypeChecker { static isRichEditorDeleteValue(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof RichEditorDeleteValue } - static isRichEditorGesture(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + static isRichEditorGesture(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof RichEditorGesture } - static isRichEditorImageSpanOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + static isRichEditorImageSpanOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof RichEditorImageSpanOptions } static isRichEditorImageSpanResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { @@ -2273,7 +2464,7 @@ export class TypeChecker { static isRichEditorParagraphResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof RichEditorParagraphResult } - static isRichEditorParagraphStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + static isRichEditorParagraphStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof RichEditorParagraphStyle } static isRichEditorParagraphStyleOptions(value: Object | string | number | undefined, arg0: boolean): boolean { @@ -2306,16 +2497,16 @@ export class TypeChecker { static isRichEditorSymbolSpanStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof RichEditorSymbolSpanStyle } - static isRichEditorTextSpanOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + static isRichEditorTextSpanOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof RichEditorTextSpanOptions } - static isRichEditorTextSpanResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean): boolean { + static isRichEditorTextSpanResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean): boolean { return value instanceof RichEditorTextSpanResult } - static isRichEditorTextStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean): boolean { + static isRichEditorTextStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean): boolean { return value instanceof RichEditorTextStyle } - static isRichEditorTextStyleResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean): boolean { + static isRichEditorTextStyleResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean): boolean { return value instanceof RichEditorTextStyleResult } static isRichEditorUpdateImageSpanStyleOptions(value: Object | string | number | undefined, arg0: boolean): boolean { @@ -2324,9 +2515,12 @@ export class TypeChecker { static isRichEditorUpdateSymbolSpanStyleOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof RichEditorUpdateSymbolSpanStyleOptions } - static isRichEditorUpdateTextSpanStyleOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + static isRichEditorUpdateTextSpanStyleOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof RichEditorUpdateTextSpanStyleOptions } + static isRichEditorUrlStyle(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof RichEditorUrlStyle + } static isRingStyleOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof RingStyleOptions } @@ -2345,9 +2539,15 @@ export class TypeChecker { static isRotationGestureEvent(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof RotationGestureEvent } + static isRotationGestureHandlerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof RotationGestureHandlerOptions + } static isRotationGestureInterface(value: Object | string | number | undefined): boolean { return value instanceof RotationGestureInterface } + static isRotationRecognizer(value: Object | string | number | undefined): boolean { + return value instanceof RotationRecognizer + } static isRoundedRectOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof RoundedRectOptions } @@ -2372,6 +2572,9 @@ export class TypeChecker { static isRowOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof RowOptions } + static isRowOptionsV2(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof RowOptionsV2 + } static isRRect(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof RRect } @@ -2480,7 +2683,7 @@ export class TypeChecker { static isScrollToIndexOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof ScrollToIndexOptions } - static isSearchAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean): boolean { + static isSearchAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean, arg37: boolean, arg38: boolean, arg39: boolean, arg40: boolean, arg41: boolean, arg42: boolean, arg43: boolean): boolean { return value instanceof SearchAttribute } static isSearchButtonOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { @@ -2504,13 +2707,13 @@ export class TypeChecker { static isSeekMode(value: Object | string | number | undefined): boolean { return value instanceof SeekMode } - static isSelectAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean): boolean { + static isSelectAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean): boolean { return value instanceof SelectAttribute } static isSelectedMode(value: Object | string | number | undefined): boolean { return value instanceof SelectedMode } - static isSelectionMenuOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + static isSelectionMenuOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { return value instanceof SelectionMenuOptions } static isSelectionMenuOptionsExt(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { @@ -2564,7 +2767,7 @@ export class TypeChecker { static isSheetMode(value: Object | string | number | undefined): boolean { return value instanceof SheetMode } - static isSheetOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean): boolean { + static isSheetOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean): boolean { return value instanceof SheetOptions } static isSheetSize(value: Object | string | number | undefined): boolean { @@ -2597,7 +2800,7 @@ export class TypeChecker { static isSlideRange(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof SlideRange } - static isSliderAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean): boolean { + static isSliderAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean): boolean { return value instanceof SliderAttribute } static isSliderBlockStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { @@ -2699,7 +2902,10 @@ export class TypeChecker { static isSurfaceRotationOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof SurfaceRotationOptions } - static isSwipeActionItem(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { + static isSweepGradientOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { + return value instanceof SweepGradientOptions + } + static isSwipeActionItem(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean): boolean { return value instanceof SwipeActionItem } static isSwipeActionOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { @@ -2717,13 +2923,19 @@ export class TypeChecker { static isSwipeGestureEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof SwipeGestureEvent } + static isSwipeGestureHandlerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof SwipeGestureHandlerOptions + } static isSwipeGestureInterface(value: Object | string | number | undefined): boolean { return value instanceof SwipeGestureInterface } static isSwiperAnimationEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof SwiperAnimationEvent } - static isSwiperAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean): boolean { + static isSwiperAnimationMode(value: Object | string | number | undefined): boolean { + return value instanceof SwiperAnimationMode + } + static isSwiperAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean): boolean { return value instanceof SwiperAttribute } static isSwiperAutoFill(value: Object | string | number | undefined, arg0: boolean): boolean { @@ -2735,12 +2947,18 @@ export class TypeChecker { static isSwiperContentTransitionProxy(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof SwiperContentTransitionProxy } + static isSwiperContentWillScrollResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof SwiperContentWillScrollResult + } static isSwiperController(value: Object | string | number | undefined): boolean { return value instanceof SwiperController } static isSwiperDisplayMode(value: Object | string | number | undefined): boolean { return value instanceof SwiperDisplayMode } + static isSwipeRecognizer(value: Object | string | number | undefined): boolean { + return value instanceof SwipeRecognizer + } static isSwiperNestedScrollMode(value: Object | string | number | undefined): boolean { return value instanceof SwiperNestedScrollMode } @@ -2753,7 +2971,7 @@ export class TypeChecker { static isSymbolEffectStrategy(value: Object | string | number | undefined): boolean { return value instanceof SymbolEffectStrategy } - static isSymbolGlyphAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { + static isSymbolGlyphAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean): boolean { return value instanceof SymbolGlyphAttribute } static isSymbolGlyphModifier(value: Object | string | number | undefined): boolean { @@ -2762,6 +2980,9 @@ export class TypeChecker { static isSymbolRenderingStrategy(value: Object | string | number | undefined): boolean { return value instanceof SymbolRenderingStrategy } + static isSystemAdaptiveOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof SystemAdaptiveOptions + } static isSystemBarStyle(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof SystemBarStyle } @@ -2783,13 +3004,16 @@ export class TypeChecker { static isTabsAnimationEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof TabsAnimationEvent } - static isTabsAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean): boolean { + static isTabsAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean): boolean { return value instanceof TabsAttribute } + static isTabsCacheMode(value: Object | string | number | undefined): boolean { + return value instanceof TabsCacheMode + } static isTabsController(value: Object | string | number | undefined): boolean { return value instanceof TabsController } - static isTabsOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + static isTabsOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof TabsOptions } static isTapGestureEvent(value: Object | string | number | undefined): boolean { @@ -2801,6 +3025,9 @@ export class TypeChecker { static isTapGestureParameters(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof TapGestureParameters } + static isTapRecognizer(value: Object | string | number | undefined): boolean { + return value instanceof TapRecognizer + } static isTerminationInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof TerminationInfo } @@ -2810,7 +3037,7 @@ export class TypeChecker { static isTextAlign(value: Object | string | number | undefined): boolean { return value instanceof TextAlign } - static isTextAreaAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean, arg37: boolean, arg38: boolean, arg39: boolean, arg40: boolean, arg41: boolean, arg42: boolean, arg43: boolean, arg44: boolean, arg45: boolean, arg46: boolean, arg47: boolean, arg48: boolean): boolean { + static isTextAreaAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean, arg37: boolean, arg38: boolean, arg39: boolean, arg40: boolean, arg41: boolean, arg42: boolean, arg43: boolean, arg44: boolean, arg45: boolean, arg46: boolean, arg47: boolean, arg48: boolean, arg49: boolean, arg50: boolean, arg51: boolean, arg52: boolean, arg53: boolean, arg54: boolean, arg55: boolean, arg56: boolean): boolean { return value instanceof TextAreaAttribute } static isTextAreaController(value: Object | string | number | undefined): boolean { @@ -2822,7 +3049,7 @@ export class TypeChecker { static isTextAreaType(value: Object | string | number | undefined): boolean { return value instanceof TextAreaType } - static isTextAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean, arg37: boolean, arg38: boolean): boolean { + static isTextAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean, arg37: boolean, arg38: boolean, arg39: boolean, arg40: boolean): boolean { return value instanceof TextAttribute } static isTextBackgroundStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { @@ -2843,6 +3070,9 @@ export class TypeChecker { static isTextCase(value: Object | string | number | undefined): boolean { return value instanceof TextCase } + static isTextChangeOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + return value instanceof TextChangeOptions + } static isTextClockController(value: Object | string | number | undefined): boolean { return value instanceof TextClockController } @@ -2852,6 +3082,9 @@ export class TypeChecker { static isTextContentControllerBase(value: Object | string | number | undefined): boolean { return value instanceof TextContentControllerBase } + static isTextContentControllerOptions(value: Object | string | number | undefined, arg0: boolean): boolean { + return value instanceof TextContentControllerOptions + } static isTextContentStyle(value: Object | string | number | undefined): boolean { return value instanceof TextContentStyle } @@ -2885,7 +3118,7 @@ export class TypeChecker { static isTextHeightAdaptivePolicy(value: Object | string | number | undefined): boolean { return value instanceof TextHeightAdaptivePolicy } - static isTextInputAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean, arg37: boolean, arg38: boolean, arg39: boolean, arg40: boolean, arg41: boolean, arg42: boolean, arg43: boolean, arg44: boolean, arg45: boolean, arg46: boolean, arg47: boolean, arg48: boolean, arg49: boolean, arg50: boolean, arg51: boolean, arg52: boolean, arg53: boolean, arg54: boolean, arg55: boolean, arg56: boolean, arg57: boolean, arg58: boolean, arg59: boolean, arg60: boolean): boolean { + static isTextInputAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean, arg37: boolean, arg38: boolean, arg39: boolean, arg40: boolean, arg41: boolean, arg42: boolean, arg43: boolean, arg44: boolean, arg45: boolean, arg46: boolean, arg47: boolean, arg48: boolean, arg49: boolean, arg50: boolean, arg51: boolean, arg52: boolean, arg53: boolean, arg54: boolean, arg55: boolean, arg56: boolean, arg57: boolean, arg58: boolean, arg59: boolean, arg60: boolean, arg61: boolean, arg62: boolean, arg63: boolean, arg64: boolean, arg65: boolean, arg66: boolean, arg67: boolean, arg68: boolean): boolean { return value instanceof TextInputAttribute } static isTextInputController(value: Object | string | number | undefined): boolean { @@ -2897,12 +3130,18 @@ export class TypeChecker { static isTextInputStyle(value: Object | string | number | undefined): boolean { return value instanceof TextInputStyle } - static isTextMenuItem(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + static isTextMarqueeOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean): boolean { + return value instanceof TextMarqueeOptions + } + static isTextMenuItem(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof TextMenuItem } static isTextMenuItemId(value: Object | string | number | undefined): boolean { return value instanceof TextMenuItemId } + static isTextMenuShowMode(value: Object | string | number | undefined): boolean { + return value instanceof TextMenuShowMode + } static isTextMetrics(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean): boolean { return value instanceof TextMetrics } @@ -2918,10 +3157,10 @@ export class TypeChecker { static isTextOverflowOptions(value: Object | string | number | undefined, arg0: boolean): boolean { return value instanceof TextOverflowOptions } - static isTextPickerDialogOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean): boolean { + static isTextPickerDialogOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean): boolean { return value instanceof TextPickerDialogOptions } - static isTextPickerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + static isTextPickerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof TextPickerOptions } static isTextPickerRangeContent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { @@ -2930,6 +3169,9 @@ export class TypeChecker { static isTextPickerResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof TextPickerResult } + static isTextPickerTextStyle(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof TextPickerTextStyle + } static isTextRange(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof TextRange } @@ -2975,18 +3217,21 @@ export class TypeChecker { static isTileMode(value: Object | string | number | undefined): boolean { return value instanceof TileMode } - static isTimePickerDialogOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean): boolean { + static isTimePickerDialogOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean): boolean { return value instanceof TimePickerDialogOptions } static isTimePickerFormat(value: Object | string | number | undefined): boolean { return value instanceof TimePickerFormat } - static isTimePickerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + static isTimePickerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof TimePickerOptions } static isTimePickerResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof TimePickerResult } + static isTipsOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean): boolean { + return value instanceof TipsOptions + } static isTitleHeight(value: Object | string | number | undefined): boolean { return value instanceof TitleHeight } @@ -3008,7 +3253,7 @@ export class TypeChecker { static isTouchEvent(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof TouchEvent } - static isTouchObject(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean): boolean { + static isTouchObject(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean): boolean { return value instanceof TouchObject } static isTouchResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { @@ -3056,15 +3301,6 @@ export class TypeChecker { static isType_CalendarInterface_callable0_value(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof Type_CalendarInterface_callable0_value } - static isType_CommonMethod_linearGradient_value(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { - return value instanceof Type_CommonMethod_linearGradient_value - } - static isType_CommonMethod_radialGradient_value(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { - return value instanceof Type_CommonMethod_radialGradient_value - } - static isType_CommonMethod_sweepGradient_value(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { - return value instanceof Type_CommonMethod_sweepGradient_value - } static isType_ImageAttribute_onComplete_callback_event(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean): boolean { return value instanceof Type_ImageAttribute_onComplete_callback_event } @@ -3080,7 +3316,7 @@ export class TypeChecker { static isUIContext(value: Object | string | number | undefined): boolean { return value instanceof UIContext } - static isUIExtensionOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + static isUIExtensionOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof UIExtensionOptions } static isUIExtensionProxy(value: Object | string | number | undefined): boolean { @@ -3116,7 +3352,7 @@ export class TypeChecker { static isVideoController(value: Object | string | number | undefined): boolean { return value instanceof VideoController } - static isVideoOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { + static isVideoOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { return value instanceof VideoOptions } static isView(value: Object | string | number | undefined): boolean { @@ -3128,6 +3364,9 @@ export class TypeChecker { static isViewportRect(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof ViewportRect } + static isVirtualScrollOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof VirtualScrollOptions + } static isVisibility(value: Object | string | number | undefined): boolean { return value instanceof Visibility } @@ -3149,7 +3388,7 @@ export class TypeChecker { static isWaterFlowLayoutMode(value: Object | string | number | undefined): boolean { return value instanceof WaterFlowLayoutMode } - static isWaterFlowOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { + static isWaterFlowOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof WaterFlowOptions } static isWaterFlowSections(value: Object | string | number | undefined): boolean { @@ -3158,7 +3397,7 @@ export class TypeChecker { static isWaterRippleMode(value: Object | string | number | undefined): boolean { return value instanceof WaterRippleMode } - static isWebAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean, arg37: boolean, arg38: boolean, arg39: boolean, arg40: boolean, arg41: boolean, arg42: boolean, arg43: boolean, arg44: boolean, arg45: boolean, arg46: boolean, arg47: boolean, arg48: boolean, arg49: boolean, arg50: boolean, arg51: boolean, arg52: boolean, arg53: boolean, arg54: boolean, arg55: boolean, arg56: boolean, arg57: boolean, arg58: boolean, arg59: boolean, arg60: boolean, arg61: boolean, arg62: boolean, arg63: boolean, arg64: boolean, arg65: boolean, arg66: boolean, arg67: boolean, arg68: boolean, arg69: boolean, arg70: boolean, arg71: boolean, arg72: boolean, arg73: boolean, arg74: boolean, arg75: boolean, arg76: boolean, arg77: boolean, arg78: boolean, arg79: boolean, arg80: boolean, arg81: boolean, arg82: boolean, arg83: boolean, arg84: boolean, arg85: boolean, arg86: boolean, arg87: boolean, arg88: boolean, arg89: boolean, arg90: boolean, arg91: boolean, arg92: boolean, arg93: boolean, arg94: boolean, arg95: boolean, arg96: boolean, arg97: boolean, arg98: boolean, arg99: boolean, arg100: boolean, arg101: boolean, arg102: boolean, arg103: boolean, arg104: boolean, arg105: boolean, arg106: boolean, arg107: boolean, arg108: boolean, arg109: boolean, arg110: boolean, arg111: boolean, arg112: boolean, arg113: boolean, arg114: boolean, arg115: boolean, arg116: boolean, arg117: boolean): boolean { + static isWebAttribute(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean, arg37: boolean, arg38: boolean, arg39: boolean, arg40: boolean, arg41: boolean, arg42: boolean, arg43: boolean, arg44: boolean, arg45: boolean, arg46: boolean, arg47: boolean, arg48: boolean, arg49: boolean, arg50: boolean, arg51: boolean, arg52: boolean, arg53: boolean, arg54: boolean, arg55: boolean, arg56: boolean, arg57: boolean, arg58: boolean, arg59: boolean, arg60: boolean, arg61: boolean, arg62: boolean, arg63: boolean, arg64: boolean, arg65: boolean, arg66: boolean, arg67: boolean, arg68: boolean, arg69: boolean, arg70: boolean, arg71: boolean, arg72: boolean, arg73: boolean, arg74: boolean, arg75: boolean, arg76: boolean, arg77: boolean, arg78: boolean, arg79: boolean, arg80: boolean, arg81: boolean, arg82: boolean, arg83: boolean, arg84: boolean, arg85: boolean, arg86: boolean, arg87: boolean, arg88: boolean, arg89: boolean, arg90: boolean, arg91: boolean, arg92: boolean, arg93: boolean, arg94: boolean, arg95: boolean, arg96: boolean, arg97: boolean, arg98: boolean, arg99: boolean, arg100: boolean, arg101: boolean, arg102: boolean, arg103: boolean, arg104: boolean, arg105: boolean, arg106: boolean, arg107: boolean, arg108: boolean, arg109: boolean, arg110: boolean, arg111: boolean, arg112: boolean, arg113: boolean, arg114: boolean, arg115: boolean, arg116: boolean, arg117: boolean, arg118: boolean, arg119: boolean, arg120: boolean, arg121: boolean, arg122: boolean, arg123: boolean, arg124: boolean): boolean { return value instanceof WebAttribute } static isWebCaptureMode(value: Object | string | number | undefined): boolean { @@ -3236,6 +3475,9 @@ export class TypeChecker { static isWindowAnimationTarget(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof WindowAnimationTarget } + static isWindowModeFollowStrategy(value: Object | string | number | undefined): boolean { + return value instanceof WindowModeFollowStrategy + } static isWindowSceneAttribute(value: Object | string | number | undefined): boolean { return value instanceof WindowSceneAttribute } @@ -3266,7 +3508,7 @@ export class TypeChecker { static isXComponentController(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { return value instanceof XComponentController } - static isXComponentOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + static isXComponentOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean): boolean { return value instanceof XComponentOptions } static isXComponentType(value: Object | string | number | undefined): boolean { @@ -3278,6 +3520,18 @@ export class TypeChecker { static AccessibilityHoverType_FromNumeric(ordinal: int32): AccessibilityHoverType { return AccessibilityHoverType.fromValue(ordinal) } + static AccessibilityRoleType_ToNumeric(value: AccessibilityRoleType): int32 { + return value.valueOf() + } + static AccessibilityRoleType_FromNumeric(ordinal: int32): AccessibilityRoleType { + return AccessibilityRoleType.fromValue(ordinal) + } + static AccessibilitySamePageMode_ToNumeric(value: AccessibilitySamePageMode): int32 { + return value.valueOf() + } + static AccessibilitySamePageMode_FromNumeric(ordinal: int32): AccessibilitySamePageMode { + return AccessibilitySamePageMode.fromValue(ordinal) + } static AdaptiveColor_ToNumeric(value: AdaptiveColor): int32 { return value.valueOf() } @@ -3326,12 +3580,36 @@ export class TypeChecker { static ArrowPosition_FromNumeric(ordinal: int32): ArrowPosition { return ArrowPosition.fromValue(ordinal) } + static AutoCapitalizationMode_ToNumeric(value: AutoCapitalizationMode): int32 { + return value.valueOf() + } + static AutoCapitalizationMode_FromNumeric(ordinal: int32): AutoCapitalizationMode { + return AutoCapitalizationMode.fromValue(ordinal) + } + static AvoidanceMode_ToNumeric(value: AvoidanceMode): int32 { + return value.valueOf() + } + static AvoidanceMode_FromNumeric(ordinal: int32): AvoidanceMode { + return AvoidanceMode.fromValue(ordinal) + } static Axis_ToNumeric(value: Axis): int32 { return value.valueOf() } static Axis_FromNumeric(ordinal: int32): Axis { return Axis.fromValue(ordinal) } + static AxisAction_ToNumeric(value: AxisAction): int32 { + return value.valueOf() + } + static AxisAction_FromNumeric(ordinal: int32): AxisAction { + return AxisAction.fromValue(ordinal) + } + static AxisModel_ToNumeric(value: AxisModel): int32 { + return value.valueOf() + } + static AxisModel_FromNumeric(ordinal: int32): AxisModel { + return AxisModel.fromValue(ordinal) + } static BadgePosition_ToNumeric(value: BadgePosition): int32 { return value.valueOf() } @@ -3380,6 +3658,12 @@ export class TypeChecker { static BlendMode_FromNumeric(ordinal: int32): BlendMode { return BlendMode.fromValue(ordinal) } + static BlurOnKeyboardHideMode_ToNumeric(value: BlurOnKeyboardHideMode): int32 { + return value.valueOf() + } + static BlurOnKeyboardHideMode_FromNumeric(ordinal: int32): BlurOnKeyboardHideMode { + return BlurOnKeyboardHideMode.fromValue(ordinal) + } static BlurStyle_ToNumeric(value: BlurStyle): int32 { return value.valueOf() } @@ -3530,6 +3814,18 @@ export class TypeChecker { static CopyOptions_FromNumeric(ordinal: int32): CopyOptions { return CopyOptions.fromValue(ordinal) } + static CrownAction_ToNumeric(value: CrownAction): int32 { + return value.valueOf() + } + static CrownAction_FromNumeric(ordinal: int32): CrownAction { + return CrownAction.fromValue(ordinal) + } + static CrownSensitivity_ToNumeric(value: CrownSensitivity): int32 { + return value.valueOf() + } + static CrownSensitivity_FromNumeric(ordinal: int32): CrownSensitivity { + return CrownSensitivity.fromValue(ordinal) + } static Curve_ToNumeric(value: Curve): int32 { return value.valueOf() } @@ -3548,6 +3844,12 @@ export class TypeChecker { static DataPanelType_FromNumeric(ordinal: int32): DataPanelType { return DataPanelType.fromValue(ordinal) } + static DatePickerMode_ToNumeric(value: DatePickerMode): int32 { + return value.valueOf() + } + static DatePickerMode_FromNumeric(ordinal: int32): DatePickerMode { + return DatePickerMode.fromValue(ordinal) + } static DialogAlignment_ToNumeric(value: DialogAlignment): int32 { return value.valueOf() } @@ -3590,6 +3892,12 @@ export class TypeChecker { static DisturbanceFieldShape_FromNumeric(ordinal: int32): DisturbanceFieldShape { return DisturbanceFieldShape.fromValue(ordinal) } + static DividerMode_ToNumeric(value: DividerMode): int32 { + return value.valueOf() + } + static DividerMode_FromNumeric(ordinal: int32): DividerMode { + return DividerMode.fromValue(ordinal) + } static DpiFollowStrategy_ToNumeric(value: DpiFollowStrategy): int32 { return value.valueOf() } @@ -3602,6 +3910,12 @@ export class TypeChecker { static DragBehavior_FromNumeric(ordinal: int32): DragBehavior { return DragBehavior.fromValue(ordinal) } + static DraggingSizeChangeEffect_ToNumeric(value: DraggingSizeChangeEffect): int32 { + return value.valueOf() + } + static DraggingSizeChangeEffect_FromNumeric(ordinal: int32): DraggingSizeChangeEffect { + return DraggingSizeChangeEffect.fromValue(ordinal) + } static DragPreviewMode_ToNumeric(value: DragPreviewMode): int32 { return value.valueOf() } @@ -3644,6 +3958,12 @@ export class TypeChecker { static EffectDirection_FromNumeric(ordinal: int32): EffectDirection { return EffectDirection.fromValue(ordinal) } + static EffectEdge_ToNumeric(value: EffectEdge): int32 { + return value.valueOf() + } + static EffectEdge_FromNumeric(ordinal: int32): EffectEdge { + return EffectEdge.fromValue(ordinal) + } static EffectFillStyle_ToNumeric(value: EffectFillStyle): int32 { return value.valueOf() } @@ -3722,6 +4042,12 @@ export class TypeChecker { static FlyMode_FromNumeric(ordinal: int32): FlyMode { return FlyMode.fromValue(ordinal) } + static FocusDrawLevel_ToNumeric(value: FocusDrawLevel): int32 { + return value.valueOf() + } + static FocusDrawLevel_FromNumeric(ordinal: int32): FocusDrawLevel { + return FocusDrawLevel.fromValue(ordinal) + } static FocusPriority_ToNumeric(value: FocusPriority): int32 { return value.valueOf() } @@ -3848,6 +4174,12 @@ export class TypeChecker { static GridRowDirection_FromNumeric(ordinal: int32): GridRowDirection { return GridRowDirection.fromValue(ordinal) } + static HapticFeedbackMode_ToNumeric(value: HapticFeedbackMode): int32 { + return value.valueOf() + } + static HapticFeedbackMode_FromNumeric(ordinal: int32): HapticFeedbackMode { + return HapticFeedbackMode.fromValue(ordinal) + } static HeightBreakpoint_ToNumeric(value: HeightBreakpoint): int32 { return value.valueOf() } @@ -3926,6 +4258,12 @@ export class TypeChecker { static ImageRepeat_FromNumeric(ordinal: int32): ImageRepeat { return ImageRepeat.fromValue(ordinal) } + static ImageRotateOrientation_ToNumeric(value: ImageRotateOrientation): int32 { + return value.valueOf() + } + static ImageRotateOrientation_FromNumeric(ordinal: int32): ImageRotateOrientation { + return ImageRotateOrientation.fromValue(ordinal) + } static ImageSize_ToNumeric(value: ImageSize): int32 { return value.valueOf() } @@ -3956,6 +4294,12 @@ export class TypeChecker { static IntentionCode_FromNumeric(ordinal: int32): IntentionCode { return IntentionCode.fromValue(ordinal) } + static InteractionHand_ToNumeric(value: InteractionHand): int32 { + return value.valueOf() + } + static InteractionHand_FromNumeric(ordinal: int32): InteractionHand { + return InteractionHand.fromValue(ordinal) + } static ItemAlign_ToNumeric(value: ItemAlign): int32 { return value.valueOf() } @@ -3968,12 +4312,24 @@ export class TypeChecker { static ItemState_FromNumeric(ordinal: int32): ItemState { return ItemState.fromValue(ordinal) } + static KeyboardAppearance_ToNumeric(value: KeyboardAppearance): int32 { + return value.valueOf() + } + static KeyboardAppearance_FromNumeric(ordinal: int32): KeyboardAppearance { + return KeyboardAppearance.fromValue(ordinal) + } static KeyboardAvoidMode_ToNumeric(value: KeyboardAvoidMode): int32 { return value.valueOf() } static KeyboardAvoidMode_FromNumeric(ordinal: int32): KeyboardAvoidMode { return KeyboardAvoidMode.fromValue(ordinal) } + static KeyProcessingMode_ToNumeric(value: KeyProcessingMode): int32 { + return value.valueOf() + } + static KeyProcessingMode_FromNumeric(ordinal: int32): KeyProcessingMode { + return KeyProcessingMode.fromValue(ordinal) + } static KeySource_ToNumeric(value: KeySource): int32 { return value.valueOf() } @@ -4106,6 +4462,18 @@ export class TypeChecker { static LocationIconStyle_FromNumeric(ordinal: int32): LocationIconStyle { return LocationIconStyle.fromValue(ordinal) } + static MarqueeStartPolicy_ToNumeric(value: MarqueeStartPolicy): int32 { + return value.valueOf() + } + static MarqueeStartPolicy_FromNumeric(ordinal: int32): MarqueeStartPolicy { + return MarqueeStartPolicy.fromValue(ordinal) + } + static MarqueeState_ToNumeric(value: MarqueeState): int32 { + return value.valueOf() + } + static MarqueeState_FromNumeric(ordinal: int32): MarqueeState { + return MarqueeState.fromValue(ordinal) + } static MarqueeUpdateStrategy_ToNumeric(value: MarqueeUpdateStrategy): int32 { return value.valueOf() } @@ -4190,6 +4558,12 @@ export class TypeChecker { static NavBarPosition_FromNumeric(ordinal: int32): NavBarPosition { return NavBarPosition.fromValue(ordinal) } + static NavDestinationActiveReason_ToNumeric(value: NavDestinationActiveReason): int32 { + return value.valueOf() + } + static NavDestinationActiveReason_FromNumeric(ordinal: int32): NavDestinationActiveReason { + return NavDestinationActiveReason.fromValue(ordinal) + } static NavDestinationMode_ToNumeric(value: NavDestinationMode): int32 { return value.valueOf() } @@ -4262,6 +4636,12 @@ export class TypeChecker { static OverScrollMode_FromNumeric(ordinal: int32): OverScrollMode { return OverScrollMode.fromValue(ordinal) } + static PageFlipMode_ToNumeric(value: PageFlipMode): int32 { + return value.valueOf() + } + static PageFlipMode_FromNumeric(ordinal: int32): PageFlipMode { + return PageFlipMode.fromValue(ordinal) + } static PanDirection_ToNumeric(value: PanDirection): int32 { return value.valueOf() } @@ -4346,6 +4726,12 @@ export class TypeChecker { static PixelRoundCalcPolicy_FromNumeric(ordinal: int32): PixelRoundCalcPolicy { return PixelRoundCalcPolicy.fromValue(ordinal) } + static PixelRoundMode_ToNumeric(value: PixelRoundMode): int32 { + return value.valueOf() + } + static PixelRoundMode_FromNumeric(ordinal: int32): PixelRoundMode { + return PixelRoundMode.fromValue(ordinal) + } static Placement_ToNumeric(value: Placement): int32 { return value.valueOf() } @@ -4754,6 +5140,12 @@ export class TypeChecker { static SwipeEdgeEffect_FromNumeric(ordinal: int32): SwipeEdgeEffect { return SwipeEdgeEffect.fromValue(ordinal) } + static SwiperAnimationMode_ToNumeric(value: SwiperAnimationMode): int32 { + return value.valueOf() + } + static SwiperAnimationMode_FromNumeric(ordinal: int32): SwiperAnimationMode { + return SwiperAnimationMode.fromValue(ordinal) + } static SwiperDisplayMode_ToNumeric(value: SwiperDisplayMode): int32 { return value.valueOf() } @@ -4778,6 +5170,12 @@ export class TypeChecker { static SymbolRenderingStrategy_FromNumeric(ordinal: int32): SymbolRenderingStrategy { return SymbolRenderingStrategy.fromValue(ordinal) } + static TabsCacheMode_ToNumeric(value: TabsCacheMode): int32 { + return value.valueOf() + } + static TabsCacheMode_FromNumeric(ordinal: int32): TabsCacheMode { + return TabsCacheMode.fromValue(ordinal) + } static TextAlign_ToNumeric(value: TextAlign): int32 { return value.valueOf() } @@ -4850,6 +5248,12 @@ export class TypeChecker { static TextInputStyle_FromNumeric(ordinal: int32): TextInputStyle { return TextInputStyle.fromValue(ordinal) } + static TextMenuShowMode_ToNumeric(value: TextMenuShowMode): int32 { + return value.valueOf() + } + static TextMenuShowMode_FromNumeric(ordinal: int32): TextMenuShowMode { + return TextMenuShowMode.fromValue(ordinal) + } static TextOverflow_ToNumeric(value: TextOverflow): int32 { return value.valueOf() } @@ -5036,6 +5440,12 @@ export class TypeChecker { static WidthBreakpoint_FromNumeric(ordinal: int32): WidthBreakpoint { return WidthBreakpoint.fromValue(ordinal) } + static WindowModeFollowStrategy_ToNumeric(value: WindowModeFollowStrategy): int32 { + return value.valueOf() + } + static WindowModeFollowStrategy_FromNumeric(ordinal: int32): WindowModeFollowStrategy { + return WindowModeFollowStrategy.fromValue(ordinal) + } static WindowStatusType_ToNumeric(value: WindowStatusType): int32 { return value.valueOf() } @@ -5084,6 +5494,12 @@ export class TypeChecker { static isArray_NavigationMenuItem(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_Scroller(value: Object | string | number | undefined): boolean { + return value instanceof Array + } + static isArray_NestedScrollInfo(value: Object | string | number | undefined): boolean { + return value instanceof Array + } static isArray_ToolbarItem(value: Object | string | number | undefined): boolean { return value instanceof Array } @@ -5093,8 +5509,11 @@ export class TypeChecker { static isArray_LayoutSafeAreaEdge(value: Object | string | number | undefined): boolean { return value instanceof Array } - static isArray_Object(value: Object | string | number | undefined): boolean { - return value instanceof Array + static isArray_Opt_Object(value: Object | string | number | undefined): boolean { + return value instanceof Array + } + static isArray_NavPathInfo(value: Object | string | number | undefined): boolean { + return value instanceof Array } static isArray_Union_Number_String(value: Object | string | number | undefined): boolean { return value instanceof Array @@ -5108,7 +5527,7 @@ export class TypeChecker { static isArray_RichEditorSpan(value: Object | string | number | undefined): boolean { return value instanceof Array } - static isArray_Union_String_Number_Resource(value: Object | string | number | undefined): boolean { + static isArray_Length(value: Object | string | number | undefined): boolean { return value instanceof Array } static isArray_StyleOptions(value: Object | string | number | undefined): boolean { @@ -5144,6 +5563,9 @@ export class TypeChecker { static isArray_TouchTestInfo(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_NavDestinationTransition(value: Object | string | number | undefined): boolean { + return value instanceof Array + } static isArray_GestureRecognizer(value: Object | string | number | undefined): boolean { return value instanceof Array } @@ -5162,9 +5584,15 @@ export class TypeChecker { static isArray_common2D_Point(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_Object(value: Object | string | number | undefined): boolean { + return value instanceof Array + } static isArray_Union_RichEditorTextSpanResult_RichEditorImageSpanResult(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_DateRange(value: Object | string | number | undefined): boolean { + return value instanceof Array + } static isArray_Union_ResourceColor_LinearGradient(value: Object | string | number | undefined): boolean { return value instanceof Array } @@ -5186,14 +5614,11 @@ export class TypeChecker { static isArray_TextPickerRangeContent(value: Object | string | number | undefined): boolean { return value instanceof Array } - static isArray_SheetInfo(value: Object | string | number | undefined): boolean { - return value instanceof Array + static isArray_LengthMetrics(value: Object | string | number | undefined): boolean { + return value instanceof Array } - static isArray_AlertDialogButtonOptions(value: Object | string | number | undefined): boolean { - return value instanceof Array - } - static isArray_FingerInfo(value: Object | string | number | undefined): boolean { - return value instanceof Array + static isArray_Dimension(value: Object | string | number | undefined): boolean { + return value instanceof Array } static isArray_FontFeature(value: Object | string | number | undefined): boolean { return value instanceof Array @@ -5207,6 +5632,18 @@ export class TypeChecker { static isArray_TextDataDetectorType(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_SheetInfo(value: Object | string | number | undefined): boolean { + return value instanceof Array + } + static isArray_AlertDialogButtonOptions(value: Object | string | number | undefined): boolean { + return value instanceof Array + } + static isArray_FingerInfo(value: Object | string | number | undefined): boolean { + return value instanceof Array + } + static isArray_MouseButton(value: Object | string | number | undefined): boolean { + return value instanceof Array + } static isArray_TouchObject(value: Object | string | number | undefined): boolean { return value instanceof Array } @@ -5261,4 +5698,7 @@ export class TypeChecker { static isArray_LocalizedBarrierStyle(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_CustomObject(value: Object | string | number | undefined): boolean { + return value instanceof Array + } } diff --git a/arkoala-arkts/arkui/src/generated/arkui-custom.ts b/arkoala-arkts/arkui/src/generated/arkui-custom.ts index 6fe68e6bd7..cbcef5575c 100644 --- a/arkoala-arkts/arkui/src/generated/arkui-custom.ts +++ b/arkoala-arkts/arkui/src/generated/arkui-custom.ts @@ -289,7 +289,7 @@ export class ComponentContent implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let param_type : int32 = RuntimeType.UNDEFINED param_type = runtimeType(param) - thisSerializer.writeInt8(param_type as int32) + thisSerializer.writeInt8(param_type) if ((RuntimeType.UNDEFINED) != (param_type)) { const param_value = param! thisSerializer.holdAndWriteObject(param_value) @@ -345,18 +345,18 @@ export class Scene implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let uri_type : int32 = RuntimeType.UNDEFINED uri_type = runtimeType(uri) - thisSerializer.writeInt8(uri_type as int32) + thisSerializer.writeInt8(uri_type) if ((RuntimeType.UNDEFINED) != (uri_type)) { const uri_value = uri! let uri_value_type : int32 = RuntimeType.UNDEFINED uri_value_type = runtimeType(uri_value) if (RuntimeType.STRING == uri_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const uri_value_0 = uri_value as string thisSerializer.writeString(uri_value_0) } else if (RuntimeType.OBJECT == uri_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const uri_value_1 = uri_value as Resource thisSerializer.writeResource(uri_value_1) } @@ -450,7 +450,7 @@ export class RestrictedWorker implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeWorkerOptions(options_value) @@ -593,7 +593,7 @@ export class RestrictedWorker implements MaterializedBase { thisSerializer.holdAndWriteObject(message) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writePostMessageOptions(options_value) @@ -606,7 +606,7 @@ export class RestrictedWorker implements MaterializedBase { thisSerializer.holdAndWriteObject(message) let transfer_type : int32 = RuntimeType.UNDEFINED transfer_type = runtimeType(transfer) - thisSerializer.writeInt8(transfer_type as int32) + thisSerializer.writeInt8(transfer_type) if ((RuntimeType.UNDEFINED) != (transfer_type)) { const transfer_value = transfer! thisSerializer.writeInt32(transfer_value.length as int32) @@ -628,7 +628,7 @@ export class RestrictedWorker implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let listener_type : int32 = RuntimeType.UNDEFINED listener_type = runtimeType(listener) - thisSerializer.writeInt8(listener_type as int32) + thisSerializer.writeInt8(listener_type) if ((RuntimeType.UNDEFINED) != (listener_type)) { const listener_value = listener! thisSerializer.writeWorkerEventListener(listener_value) @@ -653,7 +653,7 @@ export class RestrictedWorker implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.writeWorkerEventListener(callback__value) @@ -674,7 +674,7 @@ export class RestrictedWorker implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let instanceName_type : int32 = RuntimeType.UNDEFINED instanceName_type = runtimeType(instanceName) - thisSerializer.writeInt8(instanceName_type as int32) + thisSerializer.writeInt8(instanceName_type) if ((RuntimeType.UNDEFINED) != (instanceName_type)) { const instanceName_value = instanceName! thisSerializer.writeString(instanceName_value) @@ -868,7 +868,7 @@ export class UIContext implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let filters_type : int32 = RuntimeType.UNDEFINED filters_type = runtimeType(filters) - thisSerializer.writeInt8(filters_type as int32) + thisSerializer.writeInt8(filters_type) if ((RuntimeType.UNDEFINED) != (filters_type)) { const filters_value = filters! thisSerializer.writeInt32(filters_value.length as int32) @@ -885,7 +885,7 @@ export class UIContext implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let filters_type : int32 = RuntimeType.UNDEFINED filters_type = runtimeType(filters) - thisSerializer.writeInt8(filters_type as int32) + thisSerializer.writeInt8(filters_type) if ((RuntimeType.UNDEFINED) != (filters_type)) { const filters_value = filters! thisSerializer.writeInt32(filters_value.length as int32) @@ -975,14 +975,14 @@ export class UIContext implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let sheetOptions_type : int32 = RuntimeType.UNDEFINED sheetOptions_type = runtimeType(sheetOptions) - thisSerializer.writeInt8(sheetOptions_type as int32) + thisSerializer.writeInt8(sheetOptions_type) if ((RuntimeType.UNDEFINED) != (sheetOptions_type)) { const sheetOptions_value = sheetOptions! thisSerializer.writeSheetOptions(sheetOptions_value) } let targetId_type : int32 = RuntimeType.UNDEFINED targetId_type = runtimeType(targetId) - thisSerializer.writeInt8(targetId_type as int32) + thisSerializer.writeInt8(targetId_type) if ((RuntimeType.UNDEFINED) != (targetId_type)) { const targetId_value = targetId! thisSerializer.writeNumber(targetId_value) @@ -995,7 +995,7 @@ export class UIContext implements MaterializedBase { thisSerializer.writeSheetOptions(sheetOptions) let partialUpdate_type : int32 = RuntimeType.UNDEFINED partialUpdate_type = runtimeType(partialUpdate) - thisSerializer.writeInt8(partialUpdate_type as int32) + thisSerializer.writeInt8(partialUpdate_type) if ((RuntimeType.UNDEFINED) != (partialUpdate_type)) { const partialUpdate_value = partialUpdate! thisSerializer.writeBoolean(partialUpdate_value) diff --git a/arkoala-arkts/arkui/src/generated/arkui-drawabledescriptor.ts b/arkoala-arkts/arkui/src/generated/arkui-drawabledescriptor.ts index f3cad6017f..609bc8c69c 100644 --- a/arkoala-arkts/arkui/src/generated/arkui-drawabledescriptor.ts +++ b/arkoala-arkts/arkui/src/generated/arkui-drawabledescriptor.ts @@ -72,21 +72,21 @@ export class LayeredDrawableDescriptor extends DrawableDescriptor implements Mat const thisSerializer : Serializer = Serializer.hold() let foreground_type : int32 = RuntimeType.UNDEFINED foreground_type = runtimeType(foreground) - thisSerializer.writeInt8(foreground_type as int32) + thisSerializer.writeInt8(foreground_type) if ((RuntimeType.UNDEFINED) != (foreground_type)) { const foreground_value = foreground! thisSerializer.writeDrawableDescriptor(foreground_value) } let background_type : int32 = RuntimeType.UNDEFINED background_type = runtimeType(background) - thisSerializer.writeInt8(background_type as int32) + thisSerializer.writeInt8(background_type) if ((RuntimeType.UNDEFINED) != (background_type)) { const background_value = background! thisSerializer.writeDrawableDescriptor(background_value) } let mask_type : int32 = RuntimeType.UNDEFINED mask_type = runtimeType(mask) - thisSerializer.writeInt8(mask_type as int32) + thisSerializer.writeInt8(mask_type) if ((RuntimeType.UNDEFINED) != (mask_type)) { const mask_value = mask! thisSerializer.writeDrawableDescriptor(mask_value) @@ -150,7 +150,7 @@ export class PixelMapDrawableDescriptor extends DrawableDescriptor implements Ma const thisSerializer : Serializer = Serializer.hold() let src_type : int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) - thisSerializer.writeInt8(src_type as int32) + thisSerializer.writeInt8(src_type) if ((RuntimeType.UNDEFINED) != (src_type)) { const src_value = src! thisSerializer.writePixelMap(src_value) @@ -185,7 +185,7 @@ export class AnimatedDrawableDescriptor extends DrawableDescriptor implements Ma } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeAnimationOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/arkui-drawing.ts b/arkoala-arkts/arkui/src/generated/arkui-drawing.ts index 2afd21981a..b0885e12cc 100644 --- a/arkoala-arkts/arkui/src/generated/arkui-drawing.ts +++ b/arkoala-arkts/arkui/src/generated/arkui-drawing.ts @@ -178,14 +178,14 @@ export class DrawingLattice implements MaterializedBase { } let fBounds_type : int32 = RuntimeType.UNDEFINED fBounds_type = runtimeType(fBounds) - thisSerializer.writeInt8(fBounds_type as int32) + thisSerializer.writeInt8(fBounds_type) if ((RuntimeType.UNDEFINED) != (fBounds_type)) { const fBounds_value = fBounds! thisSerializer.writeRect(fBounds_value) } let fRectTypes_type : int32 = RuntimeType.UNDEFINED fRectTypes_type = runtimeType(fRectTypes) - thisSerializer.writeInt8(fRectTypes_type as int32) + thisSerializer.writeInt8(fRectTypes_type) if ((RuntimeType.UNDEFINED) != (fRectTypes_type)) { const fRectTypes_value = fRectTypes! thisSerializer.writeInt32(fRectTypes_value.length as int32) @@ -196,7 +196,7 @@ export class DrawingLattice implements MaterializedBase { } let fColors_type : int32 = RuntimeType.UNDEFINED fColors_type = runtimeType(fColors) - thisSerializer.writeInt8(fColors_type as int32) + thisSerializer.writeInt8(fColors_type) if ((RuntimeType.UNDEFINED) != (fColors_type)) { const fColors_value = fColors! thisSerializer.writeInt32(fColors_value.length as int32) @@ -205,12 +205,12 @@ export class DrawingLattice implements MaterializedBase { let fColors_value_element_type : int32 = RuntimeType.UNDEFINED fColors_value_element_type = runtimeType(fColors_value_element) if (TypeChecker.isColor(fColors_value_element)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const fColors_value_element_0 = fColors_value_element as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(fColors_value_element_0)) } else if (RuntimeType.NUMBER == fColors_value_element_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const fColors_value_element_1 = fColors_value_element as number thisSerializer.writeNumber(fColors_value_element_1) } diff --git a/arkoala-arkts/arkui/src/generated/arkui-external.ts b/arkoala-arkts/arkui/src/generated/arkui-external.ts index 24ee81db3f..018d956ec8 100644 --- a/arkoala-arkts/arkui/src/generated/arkui-external.ts +++ b/arkoala-arkts/arkui/src/generated/arkui-external.ts @@ -113,7 +113,7 @@ export class ColorMetrics implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let alpha_type : int32 = RuntimeType.UNDEFINED alpha_type = runtimeType(alpha) - thisSerializer.writeInt8(alpha_type as int32) + thisSerializer.writeInt8(alpha_type) if ((RuntimeType.UNDEFINED) != (alpha_type)) { const alpha_value = alpha! thisSerializer.writeNumber(alpha_value) @@ -128,22 +128,22 @@ export class ColorMetrics implements MaterializedBase { let color_type : int32 = RuntimeType.UNDEFINED color_type = runtimeType(color) if (TypeChecker.isColor(color)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const color_0 = color as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(color_0)) } else if (RuntimeType.NUMBER == color_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const color_1 = color as number thisSerializer.writeNumber(color_1) } else if (RuntimeType.STRING == color_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const color_2 = color as string thisSerializer.writeString(color_2) } else if (RuntimeType.OBJECT == color_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const color_3 = color as Resource thisSerializer.writeResource(color_3) } @@ -222,18 +222,18 @@ export class WebviewController implements MaterializedBase { let url_type : int32 = RuntimeType.UNDEFINED url_type = runtimeType(url) if (RuntimeType.STRING == url_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const url_0 = url as string thisSerializer.writeString(url_0) } else if (RuntimeType.OBJECT == url_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const url_1 = url as Resource thisSerializer.writeResource(url_1) } let headers_type : int32 = RuntimeType.UNDEFINED headers_type = runtimeType(headers) - thisSerializer.writeInt8(headers_type as int32) + thisSerializer.writeInt8(headers_type) if ((RuntimeType.UNDEFINED) != (headers_type)) { const headers_value = headers! thisSerializer.writeInt32(headers_value.length as int32) @@ -259,7 +259,7 @@ export class GlobalScope_ohos_arkui_componentSnapshot { thisSerializer.holdAndWriteCallback(callback) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeSnapshotOptions(options_value) @@ -292,7 +292,7 @@ export class GlobalScope_ohos_arkui_performanceMonitor { const thisSerializer : Serializer = Serializer.hold() let note_type : int32 = RuntimeType.UNDEFINED note_type = runtimeType(note) - thisSerializer.writeInt8(note_type as int32) + thisSerializer.writeInt8(note_type) if ((RuntimeType.UNDEFINED) != (note_type)) { const note_value = note! thisSerializer.writeString(note_value) @@ -355,22 +355,22 @@ export class CommonShape implements MaterializedBase { let color_type : int32 = RuntimeType.UNDEFINED color_type = runtimeType(color) if (TypeChecker.isColor(color)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const color_0 = color as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(color_0)) } else if (RuntimeType.NUMBER == color_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const color_1 = color as number thisSerializer.writeNumber(color_1) } else if (RuntimeType.STRING == color_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const color_2 = color as string thisSerializer.writeString(color_2) } else if (RuntimeType.OBJECT == color_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const color_3 = color as Resource thisSerializer.writeResource(color_3) } @@ -428,17 +428,17 @@ export class BaseShape implements MaterializedBase { let width_type : int32 = RuntimeType.UNDEFINED width_type = runtimeType(width) if (RuntimeType.STRING == width_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const width_0 = width as string thisSerializer.writeString(width_0) } else if (RuntimeType.NUMBER == width_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const width_1 = width as number thisSerializer.writeNumber(width_1) } else if (RuntimeType.OBJECT == width_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const width_2 = width as Resource thisSerializer.writeResource(width_2) } @@ -452,17 +452,17 @@ export class BaseShape implements MaterializedBase { let height_type : int32 = RuntimeType.UNDEFINED height_type = runtimeType(height) if (RuntimeType.STRING == height_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const height_0 = height as string thisSerializer.writeString(height_0) } else if (RuntimeType.NUMBER == height_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const height_1 = height as number thisSerializer.writeNumber(height_1) } else if (RuntimeType.OBJECT == height_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const height_2 = height as Resource thisSerializer.writeResource(height_2) } @@ -496,18 +496,18 @@ export class RectShape implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! let options_value_type : int32 = RuntimeType.UNDEFINED options_value_type = runtimeType(options_value) if (TypeChecker.isRectShapeOptions(options_value, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const options_value_0 = options_value as RectShapeOptions thisSerializer.writeRectShapeOptions(options_value_0) } else if (TypeChecker.isRoundRectShapeOptions(options_value, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const options_value_1 = options_value as RoundRectShapeOptions thisSerializer.writeRoundRectShapeOptions(options_value_1) } @@ -572,22 +572,22 @@ export class RectShape implements MaterializedBase { let color_type : int32 = RuntimeType.UNDEFINED color_type = runtimeType(color) if (TypeChecker.isColor(color)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const color_0 = color as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(color_0)) } else if (RuntimeType.NUMBER == color_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const color_1 = color as number thisSerializer.writeNumber(color_1) } else if (RuntimeType.STRING == color_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const color_2 = color as string thisSerializer.writeString(color_2) } else if (RuntimeType.OBJECT == color_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const color_3 = color as Resource thisSerializer.writeResource(color_3) } @@ -609,17 +609,17 @@ export class RectShape implements MaterializedBase { let width_type : int32 = RuntimeType.UNDEFINED width_type = runtimeType(width) if (RuntimeType.STRING == width_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const width_0 = width as string thisSerializer.writeString(width_0) } else if (RuntimeType.NUMBER == width_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const width_1 = width as number thisSerializer.writeNumber(width_1) } else if (RuntimeType.OBJECT == width_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const width_2 = width as Resource thisSerializer.writeResource(width_2) } @@ -633,17 +633,17 @@ export class RectShape implements MaterializedBase { let height_type : int32 = RuntimeType.UNDEFINED height_type = runtimeType(height) if (RuntimeType.STRING == height_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const height_0 = height as string thisSerializer.writeString(height_0) } else if (RuntimeType.NUMBER == height_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const height_1 = height as number thisSerializer.writeNumber(height_1) } else if (RuntimeType.OBJECT == height_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const height_2 = height as Resource thisSerializer.writeResource(height_2) } @@ -665,12 +665,12 @@ export class RectShape implements MaterializedBase { let rWidth_type : int32 = RuntimeType.UNDEFINED rWidth_type = runtimeType(rWidth) if (RuntimeType.NUMBER == rWidth_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const rWidth_0 = rWidth as number thisSerializer.writeNumber(rWidth_0) } else if (RuntimeType.STRING == rWidth_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const rWidth_1 = rWidth as string thisSerializer.writeString(rWidth_1) } @@ -684,12 +684,12 @@ export class RectShape implements MaterializedBase { let rHeight_type : int32 = RuntimeType.UNDEFINED rHeight_type = runtimeType(rHeight) if (RuntimeType.NUMBER == rHeight_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const rHeight_0 = rHeight as number thisSerializer.writeNumber(rHeight_0) } else if (RuntimeType.STRING == rHeight_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const rHeight_1 = rHeight as string thisSerializer.writeString(rHeight_1) } @@ -703,17 +703,17 @@ export class RectShape implements MaterializedBase { let radius_type : int32 = RuntimeType.UNDEFINED radius_type = runtimeType(radius) if (RuntimeType.NUMBER == radius_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const radius_0 = radius as number thisSerializer.writeNumber(radius_0) } else if (RuntimeType.STRING == radius_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const radius_1 = radius as string thisSerializer.writeString(radius_1) } else if (RuntimeType.OBJECT == radius_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const radius_2 = radius as Array thisSerializer.writeInt32(radius_2.length as int32) for (let i = 0; i < radius_2.length; i++) { @@ -721,12 +721,12 @@ export class RectShape implements MaterializedBase { let radius_2_element_type : int32 = RuntimeType.UNDEFINED radius_2_element_type = runtimeType(radius_2_element) if (RuntimeType.NUMBER == radius_2_element_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const radius_2_element_0 = radius_2_element as number thisSerializer.writeNumber(radius_2_element_0) } else if (RuntimeType.STRING == radius_2_element_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const radius_2_element_1 = radius_2_element as string thisSerializer.writeString(radius_2_element_1) } @@ -754,7 +754,7 @@ export class CircleShape implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeShapeSize(options_value) @@ -807,22 +807,22 @@ export class CircleShape implements MaterializedBase { let color_type : int32 = RuntimeType.UNDEFINED color_type = runtimeType(color) if (TypeChecker.isColor(color)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const color_0 = color as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(color_0)) } else if (RuntimeType.NUMBER == color_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const color_1 = color as number thisSerializer.writeNumber(color_1) } else if (RuntimeType.STRING == color_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const color_2 = color as string thisSerializer.writeString(color_2) } else if (RuntimeType.OBJECT == color_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const color_3 = color as Resource thisSerializer.writeResource(color_3) } @@ -844,17 +844,17 @@ export class CircleShape implements MaterializedBase { let width_type : int32 = RuntimeType.UNDEFINED width_type = runtimeType(width) if (RuntimeType.STRING == width_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const width_0 = width as string thisSerializer.writeString(width_0) } else if (RuntimeType.NUMBER == width_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const width_1 = width as number thisSerializer.writeNumber(width_1) } else if (RuntimeType.OBJECT == width_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const width_2 = width as Resource thisSerializer.writeResource(width_2) } @@ -868,17 +868,17 @@ export class CircleShape implements MaterializedBase { let height_type : int32 = RuntimeType.UNDEFINED height_type = runtimeType(height) if (RuntimeType.STRING == height_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const height_0 = height as string thisSerializer.writeString(height_0) } else if (RuntimeType.NUMBER == height_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const height_1 = height as number thisSerializer.writeNumber(height_1) } else if (RuntimeType.OBJECT == height_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const height_2 = height as Resource thisSerializer.writeResource(height_2) } @@ -912,7 +912,7 @@ export class EllipseShape implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeShapeSize(options_value) @@ -965,22 +965,22 @@ export class EllipseShape implements MaterializedBase { let color_type : int32 = RuntimeType.UNDEFINED color_type = runtimeType(color) if (TypeChecker.isColor(color)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const color_0 = color as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(color_0)) } else if (RuntimeType.NUMBER == color_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const color_1 = color as number thisSerializer.writeNumber(color_1) } else if (RuntimeType.STRING == color_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const color_2 = color as string thisSerializer.writeString(color_2) } else if (RuntimeType.OBJECT == color_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const color_3 = color as Resource thisSerializer.writeResource(color_3) } @@ -1002,17 +1002,17 @@ export class EllipseShape implements MaterializedBase { let width_type : int32 = RuntimeType.UNDEFINED width_type = runtimeType(width) if (RuntimeType.STRING == width_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const width_0 = width as string thisSerializer.writeString(width_0) } else if (RuntimeType.NUMBER == width_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const width_1 = width as number thisSerializer.writeNumber(width_1) } else if (RuntimeType.OBJECT == width_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const width_2 = width as Resource thisSerializer.writeResource(width_2) } @@ -1026,17 +1026,17 @@ export class EllipseShape implements MaterializedBase { let height_type : int32 = RuntimeType.UNDEFINED height_type = runtimeType(height) if (RuntimeType.STRING == height_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const height_0 = height as string thisSerializer.writeString(height_0) } else if (RuntimeType.NUMBER == height_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const height_1 = height as number thisSerializer.writeNumber(height_1) } else if (RuntimeType.OBJECT == height_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const height_2 = height as Resource thisSerializer.writeResource(height_2) } @@ -1070,7 +1070,7 @@ export class PathShape implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writePathShapeOptions(options_value) @@ -1115,22 +1115,22 @@ export class PathShape implements MaterializedBase { let color_type : int32 = RuntimeType.UNDEFINED color_type = runtimeType(color) if (TypeChecker.isColor(color)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const color_0 = color as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(color_0)) } else if (RuntimeType.NUMBER == color_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const color_1 = color as number thisSerializer.writeNumber(color_1) } else if (RuntimeType.STRING == color_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const color_2 = color as string thisSerializer.writeString(color_2) } else if (RuntimeType.OBJECT == color_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const color_3 = color as Resource thisSerializer.writeResource(color_3) } @@ -1432,14 +1432,14 @@ export class ScaleSymbolEffect extends SymbolEffect implements MaterializedBase const thisSerializer : Serializer = Serializer.hold() let scope_type : int32 = RuntimeType.UNDEFINED scope_type = runtimeType(scope) - thisSerializer.writeInt8(scope_type as int32) + thisSerializer.writeInt8(scope_type) if ((RuntimeType.UNDEFINED) != (scope_type)) { const scope_value = (scope as EffectScope) thisSerializer.writeInt32(TypeChecker.EffectScope_ToNumeric(scope_value)) } let direction_type : int32 = RuntimeType.UNDEFINED direction_type = runtimeType(direction) - thisSerializer.writeInt8(direction_type as int32) + thisSerializer.writeInt8(direction_type) if ((RuntimeType.UNDEFINED) != (direction_type)) { const direction_value = (direction as EffectDirection) thisSerializer.writeInt32(TypeChecker.EffectDirection_ToNumeric(direction_value)) @@ -1506,7 +1506,7 @@ export class ReplaceSymbolEffect extends SymbolEffect implements MaterializedBas const thisSerializer : Serializer = Serializer.hold() let scope_type : int32 = RuntimeType.UNDEFINED scope_type = runtimeType(scope) - thisSerializer.writeInt8(scope_type as int32) + thisSerializer.writeInt8(scope_type) if ((RuntimeType.UNDEFINED) != (scope_type)) { const scope_value = (scope as EffectScope) thisSerializer.writeInt32(TypeChecker.EffectScope_ToNumeric(scope_value)) diff --git a/arkoala-arkts/arkui/src/generated/arkui-rendernode.ts b/arkoala-arkts/arkui/src/generated/arkui-rendernode.ts index 4774eb69c9..45926000b8 100644 --- a/arkoala-arkts/arkui/src/generated/arkui-rendernode.ts +++ b/arkoala-arkts/arkui/src/generated/arkui-rendernode.ts @@ -483,7 +483,7 @@ export class RenderNodeInternal implements MaterializedBase,RenderNode { const thisSerializer : Serializer = Serializer.hold() let sibling_type : int32 = RuntimeType.UNDEFINED sibling_type = runtimeType(sibling) - thisSerializer.writeInt8(sibling_type as int32) + thisSerializer.writeInt8(sibling_type) if ((RuntimeType.UNDEFINED) != (sibling_type)) { const sibling_value = sibling! thisSerializer.writeRenderNode(sibling_value) diff --git a/arkoala-arkts/arkui/src/generated/blank.ts b/arkoala-arkts/arkui/src/generated/blank.ts index 38c940a29f..a5f6bd634e 100644 --- a/arkoala-arkts/arkui/src/generated/blank.ts +++ b/arkoala-arkts/arkui/src/generated/blank.ts @@ -45,18 +45,18 @@ export class ArkBlankPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let min_type : int32 = RuntimeType.UNDEFINED min_type = runtimeType(min) - thisSerializer.writeInt8(min_type as int32) + thisSerializer.writeInt8(min_type) if ((RuntimeType.UNDEFINED) != (min_type)) { const min_value = min! let min_value_type : int32 = RuntimeType.UNDEFINED min_value_type = runtimeType(min_value) if (RuntimeType.NUMBER == min_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const min_value_0 = min_value as number thisSerializer.writeNumber(min_value_0) } else if (RuntimeType.STRING == min_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const min_value_1 = min_value as string thisSerializer.writeString(min_value_1) } @@ -69,22 +69,22 @@ export class ArkBlankPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } diff --git a/arkoala-arkts/arkui/src/generated/button.ts b/arkoala-arkts/arkui/src/generated/button.ts index 0e7560c9e0..4344edaff8 100644 --- a/arkoala-arkts/arkui/src/generated/button.ts +++ b/arkoala-arkts/arkui/src/generated/button.ts @@ -58,18 +58,18 @@ export class ArkButtonPeer extends ArkCommonMethodPeer { let label_type : int32 = RuntimeType.UNDEFINED label_type = runtimeType(label) if (RuntimeType.STRING == label_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const label_0 = label as string thisSerializer.writeString(label_0) } else if (RuntimeType.OBJECT == label_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const label_1 = label as Resource thisSerializer.writeResource(label_1) } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeButtonOptions(options_value) @@ -97,22 +97,22 @@ export class ArkButtonPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -124,17 +124,17 @@ export class ArkButtonPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -146,17 +146,17 @@ export class ArkButtonPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (TypeChecker.isFontWeight(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_1)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -171,12 +171,12 @@ export class ArkButtonPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -195,6 +195,40 @@ export class ArkButtonPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ButtonAttribute_labelStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + minFontScaleAttribute(value: number | Resource): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(0) + const value_0 = value as number + thisSerializer.writeNumber(value_0) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(1) + const value_1 = value as Resource + thisSerializer.writeResource(value_1) + } + ArkUIGeneratedNativeModule._ButtonAttribute_minFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontScaleAttribute(value: number | Resource): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(0) + const value_0 = value as number + thisSerializer.writeNumber(value_0) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(1) + const value_1 = value as Resource + thisSerializer.writeResource(value_1) + } + ArkUIGeneratedNativeModule._ButtonAttribute_maxFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } } export enum ButtonType { CAPSULE = 0, @@ -245,6 +279,8 @@ export interface ButtonAttribute extends CommonMethod { fontFamily(value: string | Resource): this contentModifier(value: ContentModifier): this labelStyle(value: LabelStyle): this + minFontScale(value: number | Resource): this + maxFontScale(value: number | Resource): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIButtonAttribute extends UICommonMethod { @@ -273,6 +309,10 @@ export interface UIButtonAttribute extends UICommonMethod { /** @memo */ labelStyle(value: LabelStyle): this /** @memo */ + minFontScale(value: number | Resource): this + /** @memo */ + maxFontScale(value: number | Resource): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkButtonStyle extends ArkCommonMethodStyle implements ButtonAttribute { @@ -288,6 +328,8 @@ export class ArkButtonStyle extends ArkCommonMethodStyle implements ButtonAttrib fontFamily_value?: string | Resource contentModifier_value?: ContentModifier labelStyle_value?: LabelStyle + minFontScale_value?: number | Resource + maxFontScale_value?: number | Resource public type(value: ButtonType): this { return this } @@ -324,6 +366,12 @@ export class ArkButtonStyle extends ArkCommonMethodStyle implements ButtonAttrib public labelStyle(value: LabelStyle): this { return this } + public minFontScale(value: number | Resource): this { + return this + } + public maxFontScale(value: number | Resource): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -466,6 +514,24 @@ export class ArkButtonComponent extends ArkCommonMethodComponent implements UIBu return this } /** @memo */ + public minFontScale(value: number | Resource): this { + if (this.checkPriority("minFontScale")) { + const value_casted = value as (number | Resource) + this.getPeer()?.minFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontScale(value: number | Resource): this { + if (this.checkPriority("maxFontScale")) { + const value_casted = value as (number | Resource) + this.getPeer()?.maxFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala-arkts/arkui/src/generated/calendar.ts b/arkoala-arkts/arkui/src/generated/calendar.ts index 35cbd1e0d2..40722d5f4b 100644 --- a/arkoala-arkts/arkui/src/generated/calendar.ts +++ b/arkoala-arkts/arkui/src/generated/calendar.ts @@ -105,7 +105,7 @@ export class ArkCalendarPeer extends PeerNode { const value_controller = value.controller let value_controller_type : int32 = RuntimeType.UNDEFINED value_controller_type = runtimeType(value_controller) - thisSerializer.writeInt8(value_controller_type as int32) + thisSerializer.writeInt8(value_controller_type) if ((RuntimeType.UNDEFINED) != (value_controller_type)) { const value_controller_value = value_controller! thisSerializer.writeCalendarController(value_controller_value) diff --git a/arkoala-arkts/arkui/src/generated/calendar_picker.ts b/arkoala-arkts/arkui/src/generated/calendar_picker.ts index ebf8d534f3..a73dff3ff2 100644 --- a/arkoala-arkts/arkui/src/generated/calendar_picker.ts +++ b/arkoala-arkts/arkui/src/generated/calendar_picker.ts @@ -25,7 +25,7 @@ import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./../CallbackTransformer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, BlurStyle, PickerDialogButtonStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, DateRange, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, PickerDialogButtonStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { Offset, Length, VoidCallback, ResourceColor } from "./units" import { Resource } from "./resource" import { UICommonBase, AttributeModifier } from "./../handwritten" @@ -40,7 +40,7 @@ export class CalendarPickerDialog { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeCalendarDialogOptions(options_value) @@ -64,7 +64,7 @@ export class ArkCalendarPickerPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeCalendarOptions(options_value) @@ -72,63 +72,74 @@ export class ArkCalendarPickerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._CalendarPickerInterface_setCalendarPickerOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - textStyleAttribute(value: PickerTextStyle): void { + textStyle0Attribute(value: PickerTextStyle): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._CalendarPickerAttribute_textStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CalendarPickerAttribute_textStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onChangeAttribute(value: ((parameter: Date) => void)): void { + textStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._CalendarPickerAttribute_textStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange0Attribute(value: ((parameter: Date) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._CalendarPickerAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CalendarPickerAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange1Attribute(value: ((parameter: Date) => void) | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._CalendarPickerAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - edgeAlignAttribute(alignType: CalendarAlign, offset?: Offset): void { + markTodayAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._CalendarPickerAttribute_markToday(this.peer.ptr, value ? 1 : 0) + } + edgeAlign0Attribute(alignType: CalendarAlign, offset?: Offset): void { const thisSerializer : Serializer = Serializer.hold() let offset_type : int32 = RuntimeType.UNDEFINED offset_type = runtimeType(offset) - thisSerializer.writeInt8(offset_type as int32) + thisSerializer.writeInt8(offset_type) if ((RuntimeType.UNDEFINED) != (offset_type)) { const offset_value = offset! - const offset_value_dx = offset_value.dx - let offset_value_dx_type : int32 = RuntimeType.UNDEFINED - offset_value_dx_type = runtimeType(offset_value_dx) - if (RuntimeType.STRING == offset_value_dx_type) { - thisSerializer.writeInt8(0 as int32) - const offset_value_dx_0 = offset_value_dx as string - thisSerializer.writeString(offset_value_dx_0) - } - else if (RuntimeType.NUMBER == offset_value_dx_type) { - thisSerializer.writeInt8(1 as int32) - const offset_value_dx_1 = offset_value_dx as number - thisSerializer.writeNumber(offset_value_dx_1) - } - else if (RuntimeType.OBJECT == offset_value_dx_type) { - thisSerializer.writeInt8(2 as int32) - const offset_value_dx_2 = offset_value_dx as Resource - thisSerializer.writeResource(offset_value_dx_2) - } - const offset_value_dy = offset_value.dy - let offset_value_dy_type : int32 = RuntimeType.UNDEFINED - offset_value_dy_type = runtimeType(offset_value_dy) - if (RuntimeType.STRING == offset_value_dy_type) { - thisSerializer.writeInt8(0 as int32) - const offset_value_dy_0 = offset_value_dy as string - thisSerializer.writeString(offset_value_dy_0) - } - else if (RuntimeType.NUMBER == offset_value_dy_type) { - thisSerializer.writeInt8(1 as int32) - const offset_value_dy_1 = offset_value_dy as number - thisSerializer.writeNumber(offset_value_dy_1) - } - else if (RuntimeType.OBJECT == offset_value_dy_type) { - thisSerializer.writeInt8(2 as int32) - const offset_value_dy_2 = offset_value_dy as Resource - thisSerializer.writeResource(offset_value_dy_2) - } + thisSerializer.writeOffset(offset_value) } - ArkUIGeneratedNativeModule._CalendarPickerAttribute_edgeAlign(this.peer.ptr, TypeChecker.CalendarAlign_ToNumeric(alignType), thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CalendarPickerAttribute_edgeAlign0(this.peer.ptr, TypeChecker.CalendarAlign_ToNumeric(alignType), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + edgeAlign1Attribute(alignType: CalendarAlign | undefined, offset?: Offset): void { + const thisSerializer : Serializer = Serializer.hold() + let alignType_type : int32 = RuntimeType.UNDEFINED + alignType_type = runtimeType(alignType) + thisSerializer.writeInt8(alignType_type) + if ((RuntimeType.UNDEFINED) != (alignType_type)) { + const alignType_value = (alignType as CalendarAlign) + thisSerializer.writeInt32(TypeChecker.CalendarAlign_ToNumeric(alignType_value)) + } + let offset_type : int32 = RuntimeType.UNDEFINED + offset_type = runtimeType(offset) + thisSerializer.writeInt8(offset_type) + if ((RuntimeType.UNDEFINED) != (offset_type)) { + const offset_value = offset! + thisSerializer.writeOffset(offset_value) + } + ArkUIGeneratedNativeModule._CalendarPickerAttribute_edgeAlign1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } } @@ -140,35 +151,45 @@ export enum CalendarAlign { export interface CalendarOptions { hintRadius?: number | Resource; selected?: Date; + start?: Date; + end?: Date; + disabledDateRange?: Array; } export type Callback_Date_Void = (parameter: Date) => void; export interface CalendarPickerAttribute extends CommonMethod { - textStyle(value: PickerTextStyle): this - onChange(value: ((parameter: Date) => void)): this - edgeAlign(alignType: CalendarAlign, offset?: Offset): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + onChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this + markToday(value: boolean): this + edgeAlign(alignType: CalendarAlign | CalendarAlign | undefined, offset?: Offset): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UICalendarPickerAttribute extends UICommonMethod { /** @memo */ - textStyle(value: PickerTextStyle): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + /** @memo */ + onChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this /** @memo */ - onChange(value: ((parameter: Date) => void)): this + markToday(value: boolean): this /** @memo */ - edgeAlign(alignType: CalendarAlign, offset?: Offset): this + edgeAlign(alignType: CalendarAlign | CalendarAlign | undefined, offset?: Offset): this /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkCalendarPickerStyle extends ArkCommonMethodStyle implements CalendarPickerAttribute { textStyle_value?: PickerTextStyle onChange_value?: ((parameter: Date) => void) - public textStyle(value: PickerTextStyle): this { + markToday_value?: boolean + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public onChange(value: ((parameter: Date) => void)): this { + public onChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this { return this } - public edgeAlign(alignType: CalendarAlign, offset?: Offset): this { + public markToday(value: boolean): this { + return this + } + public edgeAlign(alignType: CalendarAlign | CalendarAlign | undefined, offset?: Offset): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -181,6 +202,8 @@ export interface CalendarDialogOptions extends CalendarOptions { onChange?: ((parameter: Date) => void); backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; acceptButtonStyle?: PickerDialogButtonStyle; cancelButtonStyle?: PickerDialogButtonStyle; onDidAppear?: VoidCallback; @@ -190,6 +213,7 @@ export interface CalendarDialogOptions extends CalendarOptions { shadow?: ShadowOptions | ShadowStyle; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + markToday?: boolean; } /** @memo:stable */ export class ArkCalendarPickerComponent extends ArkCommonMethodComponent implements UICalendarPickerAttribute { @@ -206,30 +230,68 @@ export class ArkCalendarPickerComponent extends ArkCommonMethodComponent impleme return this } /** @memo */ - public textStyle(value: PickerTextStyle): this { + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("textStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.textStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isPickerTextStyle(value, false, false)) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.textStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.textStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onChange(value: ((parameter: Date) => void)): this { + public onChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this { if (this.checkPriority("onChange")) { - const value_casted = value as (((parameter: Date) => void)) - this.getPeer()?.onChangeAttribute(value_casted) + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((parameter: Date) => void)) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (((parameter: Date) => void) | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public markToday(value: boolean): this { + if (this.checkPriority("markToday")) { + const value_casted = value as (boolean) + this.getPeer()?.markTodayAttribute(value_casted) return this } return this } /** @memo */ - public edgeAlign(alignType: CalendarAlign, offset?: Offset): this { + public edgeAlign(alignType: CalendarAlign | CalendarAlign | undefined, offset?: Offset): this { if (this.checkPriority("edgeAlign")) { - const alignType_casted = alignType as (CalendarAlign) - const offset_casted = offset as (Offset | undefined) - this.getPeer()?.edgeAlignAttribute(alignType_casted, offset_casted) - return this + const alignType_type = runtimeType(alignType) + const offset_type = runtimeType(offset) + if (TypeChecker.isCalendarAlign(alignType)) { + const alignType_casted = alignType as (CalendarAlign) + const offset_casted = offset as (Offset | undefined) + this.getPeer()?.edgeAlign0Attribute(alignType_casted, offset_casted) + return this + } + if ((RuntimeType.OBJECT == alignType_type) || (RuntimeType.OBJECT == alignType_type)) { + const alignType_casted = alignType as (CalendarAlign | undefined) + const offset_casted = offset as (Offset | undefined) + this.getPeer()?.edgeAlign1Attribute(alignType_casted, offset_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } diff --git a/arkoala-arkts/arkui/src/generated/canvas.ts b/arkoala-arkts/arkui/src/generated/canvas.ts index 382f94ad94..af133a1363 100644 --- a/arkoala-arkts/arkui/src/generated/canvas.ts +++ b/arkoala-arkts/arkui/src/generated/canvas.ts @@ -24,7 +24,7 @@ import { CallbackKind } from "./peers/CallbackKind" import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./../CallbackTransformer" import { Matrix2D, Matrix2DInternal } from "./matrix2d" -import { LengthMetricsUnit, Size } from "./arkui-graphics" +import { LengthMetricsUnit, Size, LengthMetrics, LengthMetricsInternal } from "./arkui-graphics" import { PixelMap, PixelMapInternal } from "./arkui-pixelmap" import { DrawingCanvas, DrawingCanvasInternal } from "./arkui-drawing" import { ComponentBase } from "./../ComponentBase" @@ -169,7 +169,7 @@ export class CanvasPath implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let counterclockwise_type : int32 = RuntimeType.UNDEFINED counterclockwise_type = runtimeType(counterclockwise) - thisSerializer.writeInt8(counterclockwise_type as int32) + thisSerializer.writeInt8(counterclockwise_type) if ((RuntimeType.UNDEFINED) != (counterclockwise_type)) { const counterclockwise_value = counterclockwise! thisSerializer.writeBoolean(counterclockwise_value) @@ -190,7 +190,7 @@ export class CanvasPath implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let counterclockwise_type : int32 = RuntimeType.UNDEFINED counterclockwise_type = runtimeType(counterclockwise) - thisSerializer.writeInt8(counterclockwise_type as int32) + thisSerializer.writeInt8(counterclockwise_type) if ((RuntimeType.UNDEFINED) != (counterclockwise_type)) { const counterclockwise_value = counterclockwise! thisSerializer.writeBoolean(counterclockwise_value) @@ -239,7 +239,7 @@ export class CanvasPatternInternal implements MaterializedBase,CanvasPattern { const thisSerializer : Serializer = Serializer.hold() let transform_type : int32 = RuntimeType.UNDEFINED transform_type = runtimeType(transform) - thisSerializer.writeInt8(transform_type as int32) + thisSerializer.writeInt8(transform_type) if ((RuntimeType.UNDEFINED) != (transform_type)) { const transform_value = transform! thisSerializer.writeMatrix2D(transform_value) @@ -332,7 +332,7 @@ export class ImageData implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let data_type : int32 = RuntimeType.UNDEFINED data_type = runtimeType(data) - thisSerializer.writeInt8(data_type as int32) + thisSerializer.writeInt8(data_type) if ((RuntimeType.UNDEFINED) != (data_type)) { const data_value = data! thisSerializer.writeBuffer(data_value) @@ -396,7 +396,7 @@ export class RenderingContextSettings implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let antialias_type : int32 = RuntimeType.UNDEFINED antialias_type = runtimeType(antialias) - thisSerializer.writeInt8(antialias_type as int32) + thisSerializer.writeInt8(antialias_type) if ((RuntimeType.UNDEFINED) != (antialias_type)) { const antialias_value = antialias! thisSerializer.writeBoolean(antialias_value) @@ -501,7 +501,7 @@ export class OffscreenCanvas implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeRenderingContextSettings(options_value) @@ -548,7 +548,7 @@ export class DrawingRenderingContext implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let unit_type : int32 = RuntimeType.UNDEFINED unit_type = runtimeType(unit) - thisSerializer.writeInt8(unit_type as int32) + thisSerializer.writeInt8(unit_type) if ((RuntimeType.UNDEFINED) != (unit_type)) { const unit_value = (unit as LengthMetricsUnit) thisSerializer.writeInt32(TypeChecker.LengthMetricsUnit_ToNumeric(unit_value)) @@ -604,18 +604,18 @@ export class ArkCanvasPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let context_type : int32 = RuntimeType.UNDEFINED context_type = runtimeType(context) - thisSerializer.writeInt8(context_type as int32) + thisSerializer.writeInt8(context_type) if ((RuntimeType.UNDEFINED) != (context_type)) { const context_value = context! let context_value_type : int32 = RuntimeType.UNDEFINED context_value_type = runtimeType(context_value) if (TypeChecker.isCanvasRenderingContext2D(context_value, false, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const context_value_0 = context_value as CanvasRenderingContext2D thisSerializer.writeCanvasRenderingContext2D(context_value_0) } else if (TypeChecker.isDrawingRenderingContext(context_value, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const context_value_1 = context_value as DrawingRenderingContext thisSerializer.writeDrawingRenderingContext(context_value_1) } @@ -628,12 +628,12 @@ export class ArkCanvasPeer extends ArkCommonMethodPeer { let context_type : int32 = RuntimeType.UNDEFINED context_type = runtimeType(context) if (TypeChecker.isCanvasRenderingContext2D(context, false, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const context_0 = context as CanvasRenderingContext2D thisSerializer.writeCanvasRenderingContext2D(context_0) } else if (TypeChecker.isDrawingRenderingContext(context, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const context_1 = context as DrawingRenderingContext thisSerializer.writeDrawingRenderingContext(context_1) } @@ -801,7 +801,7 @@ export class Path2D extends CanvasPath implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let transform_type : int32 = RuntimeType.UNDEFINED transform_type = runtimeType(transform) - thisSerializer.writeInt8(transform_type as int32) + thisSerializer.writeInt8(transform_type) if ((RuntimeType.UNDEFINED) != (transform_type)) { const transform_value = transform! thisSerializer.writeMatrix2D(transform_value) @@ -818,6 +818,12 @@ export class CanvasRendererInternal { } } export class CanvasRenderer extends CanvasPath implements MaterializedBase { + get letterSpacing(): LengthMetrics | string { + throw new Error("Not implemented") + } + set letterSpacing(letterSpacing: LengthMetrics | string) { + this.setLetterSpacing(letterSpacing) + } get globalAlpha(): number { return this.getGlobalAlpha() } @@ -1255,6 +1261,14 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { this.reset_serialize() return } + private getLetterSpacing(): LengthMetrics | string { + return this.getLetterSpacing_serialize() + } + private setLetterSpacing(letterSpacing: LengthMetrics | string): void { + const letterSpacing_casted = letterSpacing as (LengthMetrics | string) + this.setLetterSpacing_serialize(letterSpacing_casted) + return + } private getGlobalAlpha(): number { return this.getGlobalAlpha_serialize() } @@ -1420,12 +1434,12 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { let image_type : int32 = RuntimeType.UNDEFINED image_type = runtimeType(image) if (TypeChecker.isImageBitmap(image, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const image_0 = image as ImageBitmap thisSerializer.writeImageBitmap(image_0) } else if (TypeChecker.isPixelMap(image, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const image_1 = image as PixelMap thisSerializer.writePixelMap(image_1) } @@ -1437,12 +1451,12 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { let image_type : int32 = RuntimeType.UNDEFINED image_type = runtimeType(image) if (TypeChecker.isImageBitmap(image, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const image_0 = image as ImageBitmap thisSerializer.writeImageBitmap(image_0) } else if (TypeChecker.isPixelMap(image, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const image_1 = image as PixelMap thisSerializer.writePixelMap(image_1) } @@ -1454,12 +1468,12 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { let image_type : int32 = RuntimeType.UNDEFINED image_type = runtimeType(image) if (TypeChecker.isImageBitmap(image, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const image_0 = image as ImageBitmap thisSerializer.writeImageBitmap(image_0) } else if (TypeChecker.isPixelMap(image, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const image_1 = image as PixelMap thisSerializer.writePixelMap(image_1) } @@ -1473,7 +1487,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let fillRule_type : int32 = RuntimeType.UNDEFINED fillRule_type = runtimeType(fillRule) - thisSerializer.writeInt8(fillRule_type as int32) + thisSerializer.writeInt8(fillRule_type) if ((RuntimeType.UNDEFINED) != (fillRule_type)) { const fillRule_value = fillRule! thisSerializer.writeString(fillRule_value) @@ -1485,7 +1499,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let fillRule_type : int32 = RuntimeType.UNDEFINED fillRule_type = runtimeType(fillRule) - thisSerializer.writeInt8(fillRule_type as int32) + thisSerializer.writeInt8(fillRule_type) if ((RuntimeType.UNDEFINED) != (fillRule_type)) { const fillRule_value = fillRule! thisSerializer.writeString(fillRule_value) @@ -1497,7 +1511,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let fillRule_type : int32 = RuntimeType.UNDEFINED fillRule_type = runtimeType(fillRule) - thisSerializer.writeInt8(fillRule_type as int32) + thisSerializer.writeInt8(fillRule_type) if ((RuntimeType.UNDEFINED) != (fillRule_type)) { const fillRule_value = fillRule! thisSerializer.writeString(fillRule_value) @@ -1509,7 +1523,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let fillRule_type : int32 = RuntimeType.UNDEFINED fillRule_type = runtimeType(fillRule) - thisSerializer.writeInt8(fillRule_type as int32) + thisSerializer.writeInt8(fillRule_type) if ((RuntimeType.UNDEFINED) != (fillRule_type)) { const fillRule_value = fillRule! thisSerializer.writeString(fillRule_value) @@ -1532,7 +1546,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let repetition_type : int32 = RuntimeType.UNDEFINED repetition_type = runtimeType(repetition) - thisSerializer.writeInt8(repetition_type as int32) + thisSerializer.writeInt8(repetition_type) if ((RuntimeType.UNDEFINED) != (repetition_type)) { const repetition_value = repetition! thisSerializer.writeString(repetition_value) @@ -1576,24 +1590,24 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { let dx_type : int32 = RuntimeType.UNDEFINED dx_type = runtimeType(dx) if (RuntimeType.NUMBER == dx_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const dx_0 = dx as number thisSerializer.writeNumber(dx_0) } else if (RuntimeType.STRING == dx_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const dx_1 = dx as string thisSerializer.writeString(dx_1) } let dy_type : int32 = RuntimeType.UNDEFINED dy_type = runtimeType(dy) if (RuntimeType.NUMBER == dy_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const dy_0 = dy as number thisSerializer.writeNumber(dy_0) } else if (RuntimeType.STRING == dy_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const dy_1 = dy as string thisSerializer.writeString(dy_1) } @@ -1605,72 +1619,72 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { let dx_type : int32 = RuntimeType.UNDEFINED dx_type = runtimeType(dx) if (RuntimeType.NUMBER == dx_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const dx_0 = dx as number thisSerializer.writeNumber(dx_0) } else if (RuntimeType.STRING == dx_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const dx_1 = dx as string thisSerializer.writeString(dx_1) } let dy_type : int32 = RuntimeType.UNDEFINED dy_type = runtimeType(dy) if (RuntimeType.NUMBER == dy_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const dy_0 = dy as number thisSerializer.writeNumber(dy_0) } else if (RuntimeType.STRING == dy_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const dy_1 = dy as string thisSerializer.writeString(dy_1) } let dirtyX_type : int32 = RuntimeType.UNDEFINED dirtyX_type = runtimeType(dirtyX) if (RuntimeType.NUMBER == dirtyX_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const dirtyX_0 = dirtyX as number thisSerializer.writeNumber(dirtyX_0) } else if (RuntimeType.STRING == dirtyX_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const dirtyX_1 = dirtyX as string thisSerializer.writeString(dirtyX_1) } let dirtyY_type : int32 = RuntimeType.UNDEFINED dirtyY_type = runtimeType(dirtyY) if (RuntimeType.NUMBER == dirtyY_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const dirtyY_0 = dirtyY as number thisSerializer.writeNumber(dirtyY_0) } else if (RuntimeType.STRING == dirtyY_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const dirtyY_1 = dirtyY as string thisSerializer.writeString(dirtyY_1) } let dirtyWidth_type : int32 = RuntimeType.UNDEFINED dirtyWidth_type = runtimeType(dirtyWidth) if (RuntimeType.NUMBER == dirtyWidth_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const dirtyWidth_0 = dirtyWidth as number thisSerializer.writeNumber(dirtyWidth_0) } else if (RuntimeType.STRING == dirtyWidth_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const dirtyWidth_1 = dirtyWidth as string thisSerializer.writeString(dirtyWidth_1) } let dirtyHeight_type : int32 = RuntimeType.UNDEFINED dirtyHeight_type = runtimeType(dirtyHeight) if (RuntimeType.NUMBER == dirtyHeight_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const dirtyHeight_0 = dirtyHeight as number thisSerializer.writeNumber(dirtyHeight_0) } else if (RuntimeType.STRING == dirtyHeight_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const dirtyHeight_1 = dirtyHeight as string thisSerializer.writeString(dirtyHeight_1) } @@ -1717,7 +1731,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let maxWidth_type : int32 = RuntimeType.UNDEFINED maxWidth_type = runtimeType(maxWidth) - thisSerializer.writeInt8(maxWidth_type as int32) + thisSerializer.writeInt8(maxWidth_type) if ((RuntimeType.UNDEFINED) != (maxWidth_type)) { const maxWidth_value = maxWidth! thisSerializer.writeNumber(maxWidth_value) @@ -1735,7 +1749,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let maxWidth_type : int32 = RuntimeType.UNDEFINED maxWidth_type = runtimeType(maxWidth) - thisSerializer.writeInt8(maxWidth_type as int32) + thisSerializer.writeInt8(maxWidth_type) if ((RuntimeType.UNDEFINED) != (maxWidth_type)) { const maxWidth_value = maxWidth! thisSerializer.writeNumber(maxWidth_value) @@ -1764,7 +1778,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let transform_type : int32 = RuntimeType.UNDEFINED transform_type = runtimeType(transform) - thisSerializer.writeInt8(transform_type as int32) + thisSerializer.writeInt8(transform_type) if ((RuntimeType.UNDEFINED) != (transform_type)) { const transform_value = transform! thisSerializer.writeMatrix2D(transform_value) @@ -1782,7 +1796,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writePixelMap(value_value) @@ -1802,6 +1816,27 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { private reset_serialize(): void { ArkUIGeneratedNativeModule._CanvasRenderer_reset(this.peer!.ptr) } + private getLetterSpacing_serialize(): LengthMetrics | string { + const retval = ArkUIGeneratedNativeModule._CanvasRenderer_getLetterSpacing(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setLetterSpacing_serialize(letterSpacing: LengthMetrics | string): void { + const thisSerializer : Serializer = Serializer.hold() + let letterSpacing_type : int32 = RuntimeType.UNDEFINED + letterSpacing_type = runtimeType(letterSpacing) + if (RuntimeType.OBJECT == letterSpacing_type) { + thisSerializer.writeInt8(0) + const letterSpacing_0 = letterSpacing as LengthMetrics + thisSerializer.writeLengthMetrics(letterSpacing_0) + } + else if (RuntimeType.STRING == letterSpacing_type) { + thisSerializer.writeInt8(1) + const letterSpacing_1 = letterSpacing as string + thisSerializer.writeString(letterSpacing_1) + } + ArkUIGeneratedNativeModule._CanvasRenderer_setLetterSpacing(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } private getGlobalAlpha_serialize(): number { const retval = ArkUIGeneratedNativeModule._CanvasRenderer_getGlobalAlpha(this.peer!.ptr) return retval @@ -1825,22 +1860,22 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { let fillStyle_type : int32 = RuntimeType.UNDEFINED fillStyle_type = runtimeType(fillStyle) if (RuntimeType.STRING == fillStyle_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const fillStyle_0 = fillStyle as string thisSerializer.writeString(fillStyle_0) } else if (RuntimeType.NUMBER == fillStyle_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const fillStyle_1 = fillStyle as number thisSerializer.writeNumber(fillStyle_1) } else if (TypeChecker.isCanvasGradient(fillStyle)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const fillStyle_2 = fillStyle as CanvasGradient thisSerializer.writeCanvasGradient(fillStyle_2) } else if (TypeChecker.isCanvasPattern(fillStyle)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const fillStyle_3 = fillStyle as CanvasPattern thisSerializer.writeCanvasPattern(fillStyle_3) } @@ -1856,22 +1891,22 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { let strokeStyle_type : int32 = RuntimeType.UNDEFINED strokeStyle_type = runtimeType(strokeStyle) if (RuntimeType.STRING == strokeStyle_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const strokeStyle_0 = strokeStyle as string thisSerializer.writeString(strokeStyle_0) } else if (RuntimeType.NUMBER == strokeStyle_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const strokeStyle_1 = strokeStyle as number thisSerializer.writeNumber(strokeStyle_1) } else if (TypeChecker.isCanvasGradient(strokeStyle)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const strokeStyle_2 = strokeStyle as CanvasGradient thisSerializer.writeCanvasGradient(strokeStyle_2) } else if (TypeChecker.isCanvasPattern(strokeStyle)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const strokeStyle_3 = strokeStyle as CanvasPattern thisSerializer.writeCanvasPattern(strokeStyle_3) } @@ -2012,7 +2047,7 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material const thisSerializer : Serializer = Serializer.hold() let settings_type : int32 = RuntimeType.UNDEFINED settings_type = runtimeType(settings) - thisSerializer.writeInt8(settings_type as int32) + thisSerializer.writeInt8(settings_type) if ((RuntimeType.UNDEFINED) != (settings_type)) { const settings_value = settings! thisSerializer.writeRenderingContextSettings(settings_value) @@ -2081,14 +2116,14 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material const thisSerializer : Serializer = Serializer.hold() let type_type : int32 = RuntimeType.UNDEFINED type_type = runtimeType(type) - thisSerializer.writeInt8(type_type as int32) + thisSerializer.writeInt8(type_type) if ((RuntimeType.UNDEFINED) != (type_type)) { const type_value = type! thisSerializer.writeString(type_value) } let quality_type : int32 = RuntimeType.UNDEFINED quality_type = runtimeType(quality) - thisSerializer.writeInt8(quality_type as int32) + thisSerializer.writeInt8(quality_type) if ((RuntimeType.UNDEFINED) != (quality_type)) { const quality_value = quality! thisSerializer.writeFloat32(quality_value) @@ -2124,7 +2159,7 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -2136,7 +2171,7 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -2170,7 +2205,7 @@ export class OffscreenCanvasRenderingContext2D extends CanvasRenderer implements const thisSerializer : Serializer = Serializer.hold() let settings_type : int32 = RuntimeType.UNDEFINED settings_type = runtimeType(settings) - thisSerializer.writeInt8(settings_type as int32) + thisSerializer.writeInt8(settings_type) if ((RuntimeType.UNDEFINED) != (settings_type)) { const settings_value = settings! thisSerializer.writeRenderingContextSettings(settings_value) @@ -2202,14 +2237,14 @@ export class OffscreenCanvasRenderingContext2D extends CanvasRenderer implements const thisSerializer : Serializer = Serializer.hold() let type_type : int32 = RuntimeType.UNDEFINED type_type = runtimeType(type) - thisSerializer.writeInt8(type_type as int32) + thisSerializer.writeInt8(type_type) if ((RuntimeType.UNDEFINED) != (type_type)) { const type_value = type! thisSerializer.writeString(type_value) } let quality_type : int32 = RuntimeType.UNDEFINED quality_type = runtimeType(quality) - thisSerializer.writeInt8(quality_type as int32) + thisSerializer.writeInt8(quality_type) if ((RuntimeType.UNDEFINED) != (quality_type)) { const quality_value = quality! thisSerializer.writeFloat32(quality_value) diff --git a/arkoala-arkts/arkui/src/generated/checkbox.ts b/arkoala-arkts/arkui/src/generated/checkbox.ts index d2e847acb9..8454de5477 100644 --- a/arkoala-arkts/arkui/src/generated/checkbox.ts +++ b/arkoala-arkts/arkui/src/generated/checkbox.ts @@ -47,7 +47,7 @@ export class ArkCheckboxPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeCheckboxOptions(options_value) @@ -55,82 +55,208 @@ export class ArkCheckboxPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._CheckboxInterface_setCheckboxOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._CheckboxAttribute_select(this.peer.ptr, value ? 1 : 0) + select0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._CheckboxAttribute_select0(this.peer.ptr, value ? 1 : 0) } - selectedColorAttribute(value: ResourceColor): void { + select1Attribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._CheckboxAttribute_select1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._CheckboxAttribute_selectedColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxAttribute_selectedColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - shapeAttribute(value: CheckBoxShape): void { - ArkUIGeneratedNativeModule._CheckboxAttribute_shape(this.peer.ptr, TypeChecker.CheckBoxShape_ToNumeric(value)) + selectedColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isColor(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0)) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as string + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as Resource + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._CheckboxAttribute_selectedColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + shape0Attribute(value: CheckBoxShape): void { + ArkUIGeneratedNativeModule._CheckboxAttribute_shape0(this.peer.ptr, TypeChecker.CheckBoxShape_ToNumeric(value)) } - unselectedColorAttribute(value: ResourceColor): void { + shape1Attribute(value: CheckBoxShape | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as CheckBoxShape) + thisSerializer.writeInt32(TypeChecker.CheckBoxShape_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._CheckboxAttribute_shape1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + unselectedColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._CheckboxAttribute_unselectedColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxAttribute_unselectedColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + unselectedColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isColor(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0)) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as string + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as Resource + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._CheckboxAttribute_unselectedColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - markAttribute(value: MarkStyle): void { + mark0Attribute(value: MarkStyle): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeMarkStyle(value) - ArkUIGeneratedNativeModule._CheckboxAttribute_mark(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxAttribute_mark0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onChangeAttribute(value: OnCheckboxChangeCallback): void { + mark1Attribute(value: MarkStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeMarkStyle(value_value) + } + ArkUIGeneratedNativeModule._CheckboxAttribute_mark1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange0Attribute(value: OnCheckboxChangeCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._CheckboxAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange1Attribute(value: OnCheckboxChangeCallback | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._CheckboxAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - contentModifierAttribute(value: ContentModifier): void { + contentModifier0Attribute(value: ContentModifier): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteObject(value) - ArkUIGeneratedNativeModule._CheckboxAttribute_contentModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxAttribute_contentModifier0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + contentModifier1Attribute(value: ContentModifier | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteObject(value_value) + } + ArkUIGeneratedNativeModule._CheckboxAttribute_contentModifier1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } _onChangeEvent_selectAttribute(callback: ((isVisible: boolean) => void)): void { @@ -153,31 +279,31 @@ export interface CheckBoxConfiguration extends CommonConfiguration { export type OnCheckboxChangeCallback = (value: boolean) => void; export interface CheckboxAttribute extends CommonMethod { - select(value: boolean): this - selectedColor(value: ResourceColor): this - shape(value: CheckBoxShape): this - unselectedColor(value: ResourceColor): this - mark(value: MarkStyle): this - onChange(value: OnCheckboxChangeCallback): this - contentModifier(value: ContentModifier): this + select(value: boolean | boolean | undefined): this + selectedColor(value: ResourceColor | ResourceColor | undefined): this + shape(value: CheckBoxShape | CheckBoxShape | undefined): this + unselectedColor(value: ResourceColor | ResourceColor | undefined): this + mark(value: MarkStyle | MarkStyle | undefined): this + onChange(value: OnCheckboxChangeCallback | OnCheckboxChangeCallback | undefined): this + contentModifier(value: ContentModifier | ContentModifier | undefined): this _onChangeEvent_select(callback: ((isVisible: boolean) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UICheckboxAttribute extends UICommonMethod { /** @memo */ - select(value: boolean): this + select(value: boolean | boolean | undefined): this /** @memo */ - selectedColor(value: ResourceColor): this + selectedColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - shape(value: CheckBoxShape): this + shape(value: CheckBoxShape | CheckBoxShape | undefined): this /** @memo */ - unselectedColor(value: ResourceColor): this + unselectedColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - mark(value: MarkStyle): this + mark(value: MarkStyle | MarkStyle | undefined): this /** @memo */ - onChange(value: OnCheckboxChangeCallback): this + onChange(value: OnCheckboxChangeCallback | OnCheckboxChangeCallback | undefined): this /** @memo */ - contentModifier(value: ContentModifier): this + contentModifier(value: ContentModifier | ContentModifier | undefined): this /** @memo */ _onChangeEvent_select(callback: ((isVisible: boolean) => void)): void /** @memo */ @@ -191,25 +317,25 @@ export class ArkCheckboxStyle extends ArkCommonMethodStyle implements CheckboxAt mark_value?: MarkStyle onChange_value?: OnCheckboxChangeCallback contentModifier_value?: ContentModifier - public select(value: boolean): this { + public select(value: boolean | boolean | undefined): this { return this } - public selectedColor(value: ResourceColor): this { + public selectedColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public shape(value: CheckBoxShape): this { + public shape(value: CheckBoxShape | CheckBoxShape | undefined): this { return this } - public unselectedColor(value: ResourceColor): this { + public unselectedColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public mark(value: MarkStyle): this { + public mark(value: MarkStyle | MarkStyle | undefined): this { return this } - public onChange(value: OnCheckboxChangeCallback): this { + public onChange(value: OnCheckboxChangeCallback | OnCheckboxChangeCallback | undefined): this { return this } - public contentModifier(value: ContentModifier): this { + public contentModifier(value: ContentModifier | ContentModifier | undefined): this { return this } public _onChangeEvent_select(callback: ((isVisible: boolean) => void)): void { @@ -234,65 +360,128 @@ export class ArkCheckboxComponent extends ArkCommonMethodComponent implements UI return this } /** @memo */ - public select(value: boolean): this { + public select(value: boolean | boolean | undefined): this { if (this.checkPriority("select")) { - const value_casted = value as (boolean) - this.getPeer()?.selectAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.select0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.select1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedColor(value: ResourceColor): this { + public selectedColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("selectedColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.selectedColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.selectedColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.selectedColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public shape(value: CheckBoxShape): this { + public shape(value: CheckBoxShape | CheckBoxShape | undefined): this { if (this.checkPriority("shape")) { - const value_casted = value as (CheckBoxShape) - this.getPeer()?.shapeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isCheckBoxShape(value)) { + const value_casted = value as (CheckBoxShape) + this.getPeer()?.shape0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (CheckBoxShape | undefined) + this.getPeer()?.shape1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public unselectedColor(value: ResourceColor): this { + public unselectedColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("unselectedColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.unselectedColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.unselectedColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.unselectedColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public mark(value: MarkStyle): this { + public mark(value: MarkStyle | MarkStyle | undefined): this { if (this.checkPriority("mark")) { - const value_casted = value as (MarkStyle) - this.getPeer()?.markAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isMarkStyle(value, false, false, false)) { + const value_casted = value as (MarkStyle) + this.getPeer()?.mark0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (MarkStyle | undefined) + this.getPeer()?.mark1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onChange(value: OnCheckboxChangeCallback): this { + public onChange(value: OnCheckboxChangeCallback | OnCheckboxChangeCallback | undefined): this { if (this.checkPriority("onChange")) { - const value_casted = value as (OnCheckboxChangeCallback) - this.getPeer()?.onChangeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (OnCheckboxChangeCallback) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnCheckboxChangeCallback | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public contentModifier(value: ContentModifier): this { + public contentModifier(value: ContentModifier | ContentModifier | undefined): this { if (this.checkPriority("contentModifier")) { - const value_casted = value as (ContentModifier) - this.getPeer()?.contentModifierAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type)) { + const value_casted = value as (ContentModifier) + this.getPeer()?.contentModifier0Attribute(value_casted) + return this + } + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ContentModifier | undefined) + this.getPeer()?.contentModifier1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } diff --git a/arkoala-arkts/arkui/src/generated/checkboxgroup.ts b/arkoala-arkts/arkui/src/generated/checkboxgroup.ts index 91b0279ab0..7b1753f07b 100644 --- a/arkoala-arkts/arkui/src/generated/checkboxgroup.ts +++ b/arkoala-arkts/arkui/src/generated/checkboxgroup.ts @@ -46,7 +46,7 @@ export class ArkCheckboxGroupPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeCheckboxGroupOptions(options_value) @@ -54,77 +54,191 @@ export class ArkCheckboxGroupPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._CheckboxGroupInterface_setCheckboxGroupOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectAllAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._CheckboxGroupAttribute_selectAll(this.peer.ptr, value ? 1 : 0) + selectAll0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_selectAll0(this.peer.ptr, value ? 1 : 0) } - selectedColorAttribute(value: ResourceColor): void { + selectAll1Attribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_selectAll1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._CheckboxGroupAttribute_selectedColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_selectedColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - unselectedColorAttribute(value: ResourceColor): void { + selectedColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isColor(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0)) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as string + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as Resource + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_selectedColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + unselectedColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._CheckboxGroupAttribute_unselectedColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_unselectedColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + unselectedColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isColor(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0)) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as string + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as Resource + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_unselectedColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - markAttribute(value: MarkStyle): void { + mark0Attribute(value: MarkStyle): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeMarkStyle(value) - ArkUIGeneratedNativeModule._CheckboxGroupAttribute_mark(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_mark0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + mark1Attribute(value: MarkStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeMarkStyle(value_value) + } + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_mark1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onChangeAttribute(value: OnCheckboxGroupChangeCallback): void { + onChange0Attribute(value: OnCheckboxGroupChangeCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._CheckboxGroupAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - checkboxShapeAttribute(value: CheckBoxShape): void { - ArkUIGeneratedNativeModule._CheckboxGroupAttribute_checkboxShape(this.peer.ptr, TypeChecker.CheckBoxShape_ToNumeric(value)) + onChange1Attribute(value: OnCheckboxGroupChangeCallback | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + checkboxShape0Attribute(value: CheckBoxShape): void { + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_checkboxShape0(this.peer.ptr, TypeChecker.CheckBoxShape_ToNumeric(value)) + } + checkboxShape1Attribute(value: CheckBoxShape | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as CheckBoxShape) + thisSerializer.writeInt32(TypeChecker.CheckBoxShape_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_checkboxShape1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } _onChangeEvent_selectAllAttribute(callback: ((isVisible: boolean) => void)): void { const thisSerializer : Serializer = Serializer.hold() @@ -151,28 +265,28 @@ export interface CheckboxGroupResult { export type OnCheckboxGroupChangeCallback = (value: CheckboxGroupResult) => void; export interface CheckboxGroupAttribute extends CommonMethod { - selectAll(value: boolean): this - selectedColor(value: ResourceColor): this - unselectedColor(value: ResourceColor): this - mark(value: MarkStyle): this - onChange(value: OnCheckboxGroupChangeCallback): this - checkboxShape(value: CheckBoxShape): this + selectAll(value: boolean | boolean | undefined): this + selectedColor(value: ResourceColor | ResourceColor | undefined): this + unselectedColor(value: ResourceColor | ResourceColor | undefined): this + mark(value: MarkStyle | MarkStyle | undefined): this + onChange(value: OnCheckboxGroupChangeCallback | OnCheckboxGroupChangeCallback | undefined): this + checkboxShape(value: CheckBoxShape | CheckBoxShape | undefined): this _onChangeEvent_selectAll(callback: ((isVisible: boolean) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UICheckboxGroupAttribute extends UICommonMethod { /** @memo */ - selectAll(value: boolean): this + selectAll(value: boolean | boolean | undefined): this /** @memo */ - selectedColor(value: ResourceColor): this + selectedColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - unselectedColor(value: ResourceColor): this + unselectedColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - mark(value: MarkStyle): this + mark(value: MarkStyle | MarkStyle | undefined): this /** @memo */ - onChange(value: OnCheckboxGroupChangeCallback): this + onChange(value: OnCheckboxGroupChangeCallback | OnCheckboxGroupChangeCallback | undefined): this /** @memo */ - checkboxShape(value: CheckBoxShape): this + checkboxShape(value: CheckBoxShape | CheckBoxShape | undefined): this /** @memo */ _onChangeEvent_selectAll(callback: ((isVisible: boolean) => void)): void /** @memo */ @@ -185,22 +299,22 @@ export class ArkCheckboxGroupStyle extends ArkCommonMethodStyle implements Check mark_value?: MarkStyle onChange_value?: OnCheckboxGroupChangeCallback checkboxShape_value?: CheckBoxShape - public selectAll(value: boolean): this { + public selectAll(value: boolean | boolean | undefined): this { return this } - public selectedColor(value: ResourceColor): this { + public selectedColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public unselectedColor(value: ResourceColor): this { + public unselectedColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public mark(value: MarkStyle): this { + public mark(value: MarkStyle | MarkStyle | undefined): this { return this } - public onChange(value: OnCheckboxGroupChangeCallback): this { + public onChange(value: OnCheckboxGroupChangeCallback | OnCheckboxGroupChangeCallback | undefined): this { return this } - public checkboxShape(value: CheckBoxShape): this { + public checkboxShape(value: CheckBoxShape | CheckBoxShape | undefined): this { return this } public _onChangeEvent_selectAll(callback: ((isVisible: boolean) => void)): void { @@ -225,56 +339,110 @@ export class ArkCheckboxGroupComponent extends ArkCommonMethodComponent implemen return this } /** @memo */ - public selectAll(value: boolean): this { + public selectAll(value: boolean | boolean | undefined): this { if (this.checkPriority("selectAll")) { - const value_casted = value as (boolean) - this.getPeer()?.selectAllAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.selectAll0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.selectAll1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedColor(value: ResourceColor): this { + public selectedColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("selectedColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.selectedColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.selectedColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.selectedColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public unselectedColor(value: ResourceColor): this { + public unselectedColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("unselectedColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.unselectedColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.unselectedColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.unselectedColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public mark(value: MarkStyle): this { + public mark(value: MarkStyle | MarkStyle | undefined): this { if (this.checkPriority("mark")) { - const value_casted = value as (MarkStyle) - this.getPeer()?.markAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isMarkStyle(value, false, false, false)) { + const value_casted = value as (MarkStyle) + this.getPeer()?.mark0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (MarkStyle | undefined) + this.getPeer()?.mark1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onChange(value: OnCheckboxGroupChangeCallback): this { + public onChange(value: OnCheckboxGroupChangeCallback | OnCheckboxGroupChangeCallback | undefined): this { if (this.checkPriority("onChange")) { - const value_casted = value as (OnCheckboxGroupChangeCallback) - this.getPeer()?.onChangeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (OnCheckboxGroupChangeCallback) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnCheckboxGroupChangeCallback | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public checkboxShape(value: CheckBoxShape): this { + public checkboxShape(value: CheckBoxShape | CheckBoxShape | undefined): this { if (this.checkPriority("checkboxShape")) { - const value_casted = value as (CheckBoxShape) - this.getPeer()?.checkboxShapeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isCheckBoxShape(value)) { + const value_casted = value as (CheckBoxShape) + this.getPeer()?.checkboxShape0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (CheckBoxShape | undefined) + this.getPeer()?.checkboxShape1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } diff --git a/arkoala-arkts/arkui/src/generated/circle.ts b/arkoala-arkts/arkui/src/generated/circle.ts index 74102f64ac..cb7ec24ade 100644 --- a/arkoala-arkts/arkui/src/generated/circle.ts +++ b/arkoala-arkts/arkui/src/generated/circle.ts @@ -42,7 +42,7 @@ export class ArkCirclePeer extends ArkCommonShapeMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeCircleOptions(value_value) diff --git a/arkoala-arkts/arkui/src/generated/column.ts b/arkoala-arkts/arkui/src/generated/column.ts index d73b8419eb..b0dc48346c 100644 --- a/arkoala-arkts/arkui/src/generated/column.ts +++ b/arkoala-arkts/arkui/src/generated/column.ts @@ -26,6 +26,7 @@ import { ArkCommonMethodPeer, CommonMethod, PointLightStyle, ArkCommonMethodComp import { HorizontalAlign, FlexAlign } from "./enums" import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" +import { Resource } from "./resource" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class ArkColumnPeer extends ArkCommonMethodPeer { @@ -39,16 +40,39 @@ export class ArkColumnPeer extends ArkCommonMethodPeer { component?.setPeer(_peer) return _peer } - setColumnOptionsAttribute(options?: ColumnOptions): void { + setColumnOptions0Attribute(options?: ColumnOptions): void { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeColumnOptions(options_value) } - ArkUIGeneratedNativeModule._ColumnInterface_setColumnOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._ColumnInterface_setColumnOptions0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setColumnOptions1Attribute(options?: ColumnOptions | ColumnOptionsV2): void { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + let options_value_type : int32 = RuntimeType.UNDEFINED + options_value_type = runtimeType(options_value) + if (TypeChecker.isColumnOptions(options_value, false)) { + thisSerializer.writeInt8(0) + const options_value_0 = options_value as ColumnOptions + thisSerializer.writeColumnOptions(options_value_0) + } + else if (TypeChecker.isColumnOptionsV2(options_value, false)) { + thisSerializer.writeInt8(1) + const options_value_1 = options_value as ColumnOptionsV2 + thisSerializer.writeColumnOptionsV2(options_value_1) + } + } + ArkUIGeneratedNativeModule._ColumnInterface_setColumnOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } alignItemsAttribute(value: HorizontalAlign): void { @@ -67,7 +91,7 @@ export class ArkColumnPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeBoolean(value_value) @@ -76,9 +100,13 @@ export class ArkColumnPeer extends ArkCommonMethodPeer { thisSerializer.release() } } +export type SpaceType = string | number | Resource; export interface ColumnOptions { space?: string | number; } +export interface ColumnOptionsV2 { + stub: string; +} export interface ColumnAttribute extends CommonMethod { alignItems(value: HorizontalAlign): this @@ -126,11 +154,20 @@ export class ArkColumnComponent extends ArkCommonMethodComponent implements UICo return (this.peer as ArkColumnPeer) } /** @memo */ - public setColumnOptions(options?: ColumnOptions): this { + public setColumnOptions(options?: ColumnOptions | ColumnOptions | ColumnOptionsV2): this { if (this.checkPriority("setColumnOptions")) { - const options_casted = options as (ColumnOptions | undefined) - this.getPeer()?.setColumnOptionsAttribute(options_casted) - return this + const options_type = runtimeType(options) + if ((RuntimeType.OBJECT == options_type) || (RuntimeType.UNDEFINED == options_type)) { + const options_casted = options as (ColumnOptions | undefined) + this.getPeer()?.setColumnOptions0Attribute(options_casted) + return this + } + if ((RuntimeType.OBJECT == options_type) || (RuntimeType.OBJECT == options_type) || (RuntimeType.UNDEFINED == options_type)) { + const options_casted = options as (ColumnOptions | ColumnOptionsV2 | undefined) + this.getPeer()?.setColumnOptions1Attribute(options_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -186,7 +223,7 @@ export function ArkColumn( style: ((attributes: UIColumnAttribute) => void) | undefined, /** @memo */ content_: (() => void) | undefined, - options?: ColumnOptions, + options?: ColumnOptions | ColumnOptions | ColumnOptionsV2, ): void { const receiver = remember(() => { return new ArkColumnComponent() diff --git a/arkoala-arkts/arkui/src/generated/column_split.ts b/arkoala-arkts/arkui/src/generated/column_split.ts index d432871903..6f14b980c4 100644 --- a/arkoala-arkts/arkui/src/generated/column_split.ts +++ b/arkoala-arkts/arkui/src/generated/column_split.ts @@ -49,7 +49,7 @@ export class ArkColumnSplitPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeColumnSplitDividerStyle(value_value) diff --git a/arkoala-arkts/arkui/src/generated/common.ts b/arkoala-arkts/arkui/src/generated/common.ts index 9596d1934f..e6956db248 100644 --- a/arkoala-arkts/arkui/src/generated/common.ts +++ b/arkoala-arkts/arkui/src/generated/common.ts @@ -26,10 +26,11 @@ import { CallbackTransformer } from "./../CallbackTransformer" import { DrawContext, LengthMetrics, Edges } from "./arkui-graphics" import { UnifiedData, UnifiedDataInternal, ComponentContent, UIContext, Context, PointerStyle, ContextInternal } from "./arkui-custom" import { Summary, IntentionCode, EdgeStyles, CircleShape, EllipseShape, PathShape, RectShape, ImageModifier, SymbolGlyphModifier } from "./arkui-external" -import { KeyType, KeySource, Color, HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, Curve, SharedTransitionEffectType, Placement, ArrowPointPosition, LineCapStyle, LineJoinStyle, BarState, EdgeEffect, PlayMode, HorizontalAlign, VerticalAlign, TransitionType, FontWeight, TouchType, ClickEffectLevel, NestedScrollMode, PixelRoundCalcPolicy, IlluminatedType, MouseButton, MouseAction, AccessibilityHoverType } from "./enums" import { Callback_Void } from "./ability_component" +import { KeyType, KeySource, Color, HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, FocusDrawLevel, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, InteractionHand, GradientDirection, Curve, SharedTransitionEffectType, ArrowPointPosition, Placement, LineCapStyle, LineJoinStyle, BarState, CrownSensitivity, EdgeEffect, PlayMode, HorizontalAlign, VerticalAlign, TransitionType, FontWeight, TouchType, CrownAction, ClickEffectLevel, NestedScrollMode, PixelRoundCalcPolicy, IlluminatedType, MouseButton, MouseAction, AccessibilityHoverType, AxisAction, AxisModel } from "./enums" import { ResourceColor, ConstraintSizeOptions, DirectionalEdgesT, SizeOptions, Length, ChainWeightOptions, Padding, LocalizedPadding, Position, BorderOptions, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Bias, Font } from "./units" import { Resource } from "./resource" +import { TextRange } from "./text_common" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ResizableOptions } from "./image" @@ -37,9 +38,10 @@ import { VisualEffect, Filter, BrightnessBlender } from "./arkui-uieffect" import { FocusBoxStyle, FocusPriority } from "./focus" import { TransformationMatrix } from "./arkui-common" import { UniformDataType } from "./arkui-uniformtypedescriptor" -import { GestureInfo, BaseGestureEvent, GestureJudgeResult, GestureRecognizer, GestureType, GestureMask, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureGroupInterface, GestureInterface, TapGestureParameters, Callback_GestureEvent_Void, GestureEvent, Literal_Number_duration_fingers_Boolean_repeat, Literal_Number_distance_fingers_PanDirection_direction, PanDirection, PanGestureOptions, Literal_Number_distance_fingers, Literal_Number_fingers_speed_SwipeDirection_direction, SwipeDirection, Literal_Number_angle_fingers, GestureMode, FingerInfo, GestureControl, GestureRecognizerState, EventTargetInfo, GestureHandler, GesturePriority } from "./gesture" +import { GestureInfo, BaseGestureEvent, GestureJudgeResult, GestureRecognizer, GestureType, GestureMask, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureGroupInterface, GestureInterface, TapGestureParameters, Callback_GestureEvent_Void, GestureEvent, Literal_Number_duration_fingers_Boolean_repeat, LongPressGestureHandlerOptions, Literal_Number_distance_fingers_PanDirection_direction, PanDirection, PanGestureOptions, PanGestureHandlerOptions, Literal_Number_distance_fingers, PinchGestureHandlerOptions, Literal_Number_fingers_speed_SwipeDirection_direction, SwipeDirection, SwipeGestureHandlerOptions, Literal_Number_angle_fingers, RotationGestureHandlerOptions, GestureMode, FingerInfo, GestureControl, GestureRecognizerState, EventTargetInfo, GestureHandler, GesturePriority } from "./gesture" import { PixelMap } from "./arkui-pixelmap" import { BlendMode } from "./arkui-drawing" +import { StyledString, ImageAttachment, CustomSpan, StyleOptions, StyledStringKey, SpanStyle, StyledStringMarshallCallback, UserDataSpan, StyledStringUnmarshallCallback } from "./styled_string" import { Tuple_Number_Number, Tuple_Number_Number_Number } from "./arkui-synthetics" import { Callback_Number_Void } from "./alphabet_indexer" import { Callback_Number_Number_Void } from "./grid" @@ -331,8 +333,10 @@ export interface BaseEvent { pressure: number tiltX: number tiltY: number + rollAngle?: number | undefined sourceTool: SourceTool deviceId?: number | undefined + targetDisplayId?: number | undefined getModifierKeyState(keys: Array): boolean } export class BaseEventInternal implements MaterializedBase,BaseEvent { @@ -390,6 +394,13 @@ export class BaseEventInternal implements MaterializedBase,BaseEvent { set tiltY(tiltY: number) { this.setTiltY(tiltY) } + get rollAngle(): number | undefined { + return this.getRollAngle() + } + set rollAngle(rollAngle: number | undefined) { + const rollAngle_NonNull = (rollAngle as number) + this.setRollAngle(rollAngle_NonNull) + } get sourceTool(): SourceTool { return this.getSourceTool() } @@ -403,6 +414,13 @@ export class BaseEventInternal implements MaterializedBase,BaseEvent { const deviceId_NonNull = (deviceId as number) this.setDeviceId(deviceId_NonNull) } + get targetDisplayId(): number | undefined { + return this.getTargetDisplayId() + } + set targetDisplayId(targetDisplayId: number | undefined) { + const targetDisplayId_NonNull = (targetDisplayId as number) + this.setTargetDisplayId(targetDisplayId_NonNull) + } static ctor_baseevent(): KPointer { const retval = ArkUIGeneratedNativeModule._BaseEvent_ctor() return retval @@ -482,6 +500,14 @@ export class BaseEventInternal implements MaterializedBase,BaseEvent { this.setTiltY_serialize(tiltY_casted) return } + private getRollAngle(): number | undefined { + return this.getRollAngle_serialize() + } + private setRollAngle(rollAngle: number): void { + const rollAngle_casted = rollAngle as (number) + this.setRollAngle_serialize(rollAngle_casted) + return + } private getSourceTool(): SourceTool { return this.getSourceTool_serialize() } @@ -498,6 +524,14 @@ export class BaseEventInternal implements MaterializedBase,BaseEvent { this.setDeviceId_serialize(deviceId_casted) return } + private getTargetDisplayId(): number | undefined { + return this.getTargetDisplayId_serialize() + } + private setTargetDisplayId(targetDisplayId: number): void { + const targetDisplayId_casted = targetDisplayId as (number) + this.setTargetDisplayId_serialize(targetDisplayId_casted) + return + } private getModifierKeyState_serialize(keys: Array): boolean { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeInt32(keys.length as int32) @@ -570,6 +604,13 @@ export class BaseEventInternal implements MaterializedBase,BaseEvent { private setTiltY_serialize(tiltY: number): void { ArkUIGeneratedNativeModule._BaseEvent_setTiltY(this.peer!.ptr, tiltY) } + private getRollAngle_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getRollAngle(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setRollAngle_serialize(rollAngle: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setRollAngle(this.peer!.ptr, rollAngle) + } private getSourceTool_serialize(): SourceTool { const retval = ArkUIGeneratedNativeModule._BaseEvent_getSourceTool(this.peer!.ptr) return TypeChecker.SourceTool_FromNumeric(retval) @@ -584,6 +625,13 @@ export class BaseEventInternal implements MaterializedBase,BaseEvent { private setDeviceId_serialize(deviceId: number): void { ArkUIGeneratedNativeModule._BaseEvent_setDeviceId(this.peer!.ptr, deviceId) } + private getTargetDisplayId_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getTargetDisplayId(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setTargetDisplayId_serialize(targetDisplayId: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setTargetDisplayId(this.peer!.ptr, targetDisplayId) + } public static fromPtr(ptr: KPointer): BaseEventInternal { const obj : BaseEventInternal = new BaseEventInternal() obj.peer = new Finalizable(ptr, BaseEventInternal.getFinalizer()) @@ -641,6 +689,8 @@ export interface DragEvent { getVelocityY(): number getVelocity(): number getModifierKeyState(keys: Array): boolean + executeDropAnimation(customDropAnimation: (() => void)): void + startDataLoading(options: DataSyncOptions): string } export class DragEventInternal implements MaterializedBase,DragEvent { peer?: Finalizable | undefined = undefined @@ -723,6 +773,15 @@ export class DragEventInternal implements MaterializedBase,DragEvent { const keys_casted = keys as (Array) return this.getModifierKeyState_serialize(keys_casted) } + public executeDropAnimation(customDropAnimation: (() => void)): void { + const customDropAnimation_casted = customDropAnimation as ((() => void)) + this.executeDropAnimation_serialize(customDropAnimation_casted) + return + } + public startDataLoading(options: DataSyncOptions): string { + const options_casted = options as (DataSyncOptions) + return this.startDataLoading_serialize(options_casted) + } private getDragBehavior(): DragBehavior { return this.getDragBehavior_serialize() } @@ -813,6 +872,19 @@ export class DragEventInternal implements MaterializedBase,DragEvent { thisSerializer.release() return retval } + private executeDropAnimation_serialize(customDropAnimation: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(customDropAnimation) + ArkUIGeneratedNativeModule._DragEvent_executeDropAnimation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private startDataLoading_serialize(options: DataSyncOptions): string { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeDataSyncOptions(options) + const retval = ArkUIGeneratedNativeModule._DragEvent_startDataLoading(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } private getDragBehavior_serialize(): DragBehavior { const retval = ArkUIGeneratedNativeModule._DragEvent_getDragBehavior(this.peer!.ptr) return TypeChecker.DragBehavior_FromNumeric(retval) @@ -1114,22 +1186,22 @@ export class ProgressMask implements MaterializedBase { let color_type : int32 = RuntimeType.UNDEFINED color_type = runtimeType(color) if (TypeChecker.isColor(color)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const color_0 = color as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(color_0)) } else if (RuntimeType.NUMBER == color_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const color_1 = color as number thisSerializer.writeNumber(color_1) } else if (RuntimeType.STRING == color_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const color_2 = color as string thisSerializer.writeString(color_2) } else if (RuntimeType.OBJECT == color_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const color_3 = color as Resource thisSerializer.writeResource(color_3) } @@ -1170,22 +1242,22 @@ export class ProgressMask implements MaterializedBase { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -1197,6 +1269,7 @@ export class ProgressMask implements MaterializedBase { } } export interface Measurable { + uniqueId?: number | undefined measure(constraint: ConstraintSizeOptions): MeasureResult getMargin(): DirectionalEdgesT getPadding(): DirectionalEdgesT @@ -1207,6 +1280,13 @@ export class MeasurableInternal implements MaterializedBase,Measurable { public getPeer(): Finalizable | undefined { return this.peer } + get uniqueId(): number | undefined { + return this.getUniqueId() + } + set uniqueId(uniqueId: number | undefined) { + const uniqueId_NonNull = (uniqueId as number) + this.setUniqueId(uniqueId_NonNull) + } static ctor_measurable(): KPointer { const retval = ArkUIGeneratedNativeModule._Measurable_ctor() return retval @@ -1231,6 +1311,14 @@ export class MeasurableInternal implements MaterializedBase,Measurable { public getBorderWidth(): DirectionalEdgesT { return this.getBorderWidth_serialize() } + private getUniqueId(): number | undefined { + return this.getUniqueId_serialize() + } + private setUniqueId(uniqueId: number): void { + const uniqueId_casted = uniqueId as (number) + this.setUniqueId_serialize(uniqueId_casted) + return + } private measure_serialize(constraint: ConstraintSizeOptions): MeasureResult { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeConstraintSizeOptions(constraint) @@ -1258,6 +1346,13 @@ export class MeasurableInternal implements MaterializedBase,Measurable { const returnResult : DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() return returnResult } + private getUniqueId_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._Measurable_getUniqueId(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setUniqueId_serialize(uniqueId: number): void { + ArkUIGeneratedNativeModule._Measurable_setUniqueId(this.peer!.ptr, uniqueId) + } public static fromPtr(ptr: KPointer): MeasurableInternal { const obj : MeasurableInternal = new MeasurableInternal() obj.peer = new Finalizable(ptr, MeasurableInternal.getFinalizer()) @@ -1328,6 +1423,27 @@ export class TextContentControllerBase implements MaterializedBase { public getTextContentLineCount(): number { return this.getTextContentLineCount_serialize() } + public addText(text: string, textOperationOptions?: TextContentControllerOptions): number { + const text_casted = text as (string) + const textOperationOptions_casted = textOperationOptions as (TextContentControllerOptions | undefined) + return this.addText_serialize(text_casted, textOperationOptions_casted) + } + public deleteText(range?: TextRange): void { + const range_casted = range as (TextRange | undefined) + this.deleteText_serialize(range_casted) + return + } + public getSelection(): TextRange { + return this.getSelection_serialize() + } + public clearPreviewText(): void { + this.clearPreviewText_serialize() + return + } + public getText(range?: TextRange): string { + const range_casted = range as (TextRange | undefined) + return this.getText_serialize(range_casted) + } private getCaretOffset_serialize(): CaretOffset { const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_getCaretOffset(this.peer!.ptr) let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) @@ -1344,6 +1460,53 @@ export class TextContentControllerBase implements MaterializedBase { const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_getTextContentLineCount(this.peer!.ptr) return retval } + private addText_serialize(text: string, textOperationOptions?: TextContentControllerOptions): number { + const thisSerializer : Serializer = Serializer.hold() + let textOperationOptions_type : int32 = RuntimeType.UNDEFINED + textOperationOptions_type = runtimeType(textOperationOptions) + thisSerializer.writeInt8(textOperationOptions_type) + if ((RuntimeType.UNDEFINED) != (textOperationOptions_type)) { + const textOperationOptions_value = textOperationOptions! + thisSerializer.writeTextContentControllerOptions(textOperationOptions_value) + } + const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_addText(this.peer!.ptr, text, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } + private deleteText_serialize(range?: TextRange): void { + const thisSerializer : Serializer = Serializer.hold() + let range_type : int32 = RuntimeType.UNDEFINED + range_type = runtimeType(range) + thisSerializer.writeInt8(range_type) + if ((RuntimeType.UNDEFINED) != (range_type)) { + const range_value = range! + thisSerializer.writeTextRange(range_value) + } + ArkUIGeneratedNativeModule._TextContentControllerBase_deleteText(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private getSelection_serialize(): TextRange { + const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_getSelection(this.peer!.ptr) + let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) + const returnResult : TextRange = retvalDeserializer.readTextRange() + return returnResult + } + private clearPreviewText_serialize(): void { + ArkUIGeneratedNativeModule._TextContentControllerBase_clearPreviewText(this.peer!.ptr) + } + private getText_serialize(range?: TextRange): string { + const thisSerializer : Serializer = Serializer.hold() + let range_type : int32 = RuntimeType.UNDEFINED + range_type = runtimeType(range) + thisSerializer.writeInt8(range_type) + if ((RuntimeType.UNDEFINED) != (range_type)) { + const range_value = range! + thisSerializer.writeTextRange(range_value) + } + const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_getText(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } } export class ChildrenMainSizeInternal { public static fromPtr(ptr: KPointer): ChildrenMainSize { @@ -1402,14 +1565,14 @@ export class ChildrenMainSize implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let deleteCount_type : int32 = RuntimeType.UNDEFINED deleteCount_type = runtimeType(deleteCount) - thisSerializer.writeInt8(deleteCount_type as int32) + thisSerializer.writeInt8(deleteCount_type) if ((RuntimeType.UNDEFINED) != (deleteCount_type)) { const deleteCount_value = deleteCount! thisSerializer.writeNumber(deleteCount_value) } let childrenSize_type : int32 = RuntimeType.UNDEFINED childrenSize_type = runtimeType(childrenSize) - thisSerializer.writeInt8(childrenSize_type as int32) + thisSerializer.writeInt8(childrenSize_type) if ((RuntimeType.UNDEFINED) != (childrenSize_type)) { const childrenSize_value = childrenSize! thisSerializer.writeInt32(childrenSize_value.length as int32) @@ -1521,7 +1684,7 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -1533,7 +1696,7 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -1545,7 +1708,7 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -1557,7 +1720,7 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -1569,7 +1732,7 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -1581,7 +1744,7 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -1593,7 +1756,7 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -1605,7 +1768,7 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -1617,7 +1780,7 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -1629,7 +1792,7 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -1642,7 +1805,7 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { thisSerializer.writeVisibleAreaEventOptions(options) let event_type : int32 = RuntimeType.UNDEFINED event_type = runtimeType(event) - thisSerializer.writeInt8(event_type as int32) + thisSerializer.writeInt8(event_type) if ((RuntimeType.UNDEFINED) != (event_type)) { const event_value = event! thisSerializer.holdAndWriteCallback(event_value) @@ -1703,55 +1866,121 @@ export class ArkCommonMethodPeer extends PeerNode { component?.setPeer(_peer) return _peer } - widthAttribute(value: Length): void { + width0Attribute(value: Length): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._CommonMethod_width(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_width0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + width1Attribute(value: Length | LayoutPolicy): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + thisSerializer.writeInt8(0) + const value_0 = value as Length + let value_0_type : int32 = RuntimeType.UNDEFINED + value_0_type = runtimeType(value_0) + if (RuntimeType.STRING == value_0_type) { + thisSerializer.writeInt8(0) + const value_0_0 = value_0 as string + thisSerializer.writeString(value_0_0) + } + else if (RuntimeType.NUMBER == value_0_type) { + thisSerializer.writeInt8(1) + const value_0_1 = value_0 as number + thisSerializer.writeNumber(value_0_1) + } + else if (RuntimeType.OBJECT == value_0_type) { + thisSerializer.writeInt8(2) + const value_0_2 = value_0 as Resource + thisSerializer.writeResource(value_0_2) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isLayoutPolicy(value))) { + thisSerializer.writeInt8(1) + const value_1 = value as LayoutPolicy + thisSerializer.writeLayoutPolicy(value_1) + } + ArkUIGeneratedNativeModule._CommonMethod_width1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - heightAttribute(value: Length): void { + height0Attribute(value: Length): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._CommonMethod_height(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_height0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + height1Attribute(value: Length | LayoutPolicy): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + thisSerializer.writeInt8(0) + const value_0 = value as Length + let value_0_type : int32 = RuntimeType.UNDEFINED + value_0_type = runtimeType(value_0) + if (RuntimeType.STRING == value_0_type) { + thisSerializer.writeInt8(0) + const value_0_0 = value_0 as string + thisSerializer.writeString(value_0_0) + } + else if (RuntimeType.NUMBER == value_0_type) { + thisSerializer.writeInt8(1) + const value_0_1 = value_0 as number + thisSerializer.writeNumber(value_0_1) + } + else if (RuntimeType.OBJECT == value_0_type) { + thisSerializer.writeInt8(2) + const value_0_2 = value_0 as Resource + thisSerializer.writeResource(value_0_2) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isLayoutPolicy(value))) { + thisSerializer.writeInt8(1) + const value_1 = value as LayoutPolicy + thisSerializer.writeLayoutPolicy(value_1) + } + ArkUIGeneratedNativeModule._CommonMethod_height1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } drawModifierAttribute(value: DrawModifier | undefined): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeDrawModifier(value_value) @@ -1764,7 +1993,7 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isArray_Rectangle(value))) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Array thisSerializer.writeInt32(value_0.length as int32) for (let i = 0; i < value_0.length; i++) { @@ -1773,7 +2002,7 @@ export class ArkCommonMethodPeer extends PeerNode { } } else if (TypeChecker.isRectangle(value, false, false, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Rectangle thisSerializer.writeRectangle(value_1) } @@ -1785,7 +2014,7 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isArray_Rectangle(value))) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Array thisSerializer.writeInt32(value_0.length as int32) for (let i = 0; i < value_0.length; i++) { @@ -1794,7 +2023,7 @@ export class ArkCommonMethodPeer extends PeerNode { } } else if (TypeChecker.isRectangle(value, false, false, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Rectangle thisSerializer.writeRectangle(value_1) } @@ -1830,12 +2059,12 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -1853,28 +2082,28 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isPadding(value, false, false, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Padding const value_0_top = value_0.top let value_0_top_type : int32 = RuntimeType.UNDEFINED value_0_top_type = runtimeType(value_0_top) - thisSerializer.writeInt8(value_0_top_type as int32) + thisSerializer.writeInt8(value_0_top_type) if ((RuntimeType.UNDEFINED) != (value_0_top_type)) { const value_0_top_value = value_0_top! let value_0_top_value_type : int32 = RuntimeType.UNDEFINED value_0_top_value_type = runtimeType(value_0_top_value) if (RuntimeType.STRING == value_0_top_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_top_value_0 = value_0_top_value as string thisSerializer.writeString(value_0_top_value_0) } else if (RuntimeType.NUMBER == value_0_top_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_top_value_1 = value_0_top_value as number thisSerializer.writeNumber(value_0_top_value_1) } else if (RuntimeType.OBJECT == value_0_top_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_top_value_2 = value_0_top_value as Resource thisSerializer.writeResource(value_0_top_value_2) } @@ -1882,23 +2111,23 @@ export class ArkCommonMethodPeer extends PeerNode { const value_0_right = value_0.right let value_0_right_type : int32 = RuntimeType.UNDEFINED value_0_right_type = runtimeType(value_0_right) - thisSerializer.writeInt8(value_0_right_type as int32) + thisSerializer.writeInt8(value_0_right_type) if ((RuntimeType.UNDEFINED) != (value_0_right_type)) { const value_0_right_value = value_0_right! let value_0_right_value_type : int32 = RuntimeType.UNDEFINED value_0_right_value_type = runtimeType(value_0_right_value) if (RuntimeType.STRING == value_0_right_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_right_value_0 = value_0_right_value as string thisSerializer.writeString(value_0_right_value_0) } else if (RuntimeType.NUMBER == value_0_right_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_right_value_1 = value_0_right_value as number thisSerializer.writeNumber(value_0_right_value_1) } else if (RuntimeType.OBJECT == value_0_right_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_right_value_2 = value_0_right_value as Resource thisSerializer.writeResource(value_0_right_value_2) } @@ -1906,23 +2135,23 @@ export class ArkCommonMethodPeer extends PeerNode { const value_0_bottom = value_0.bottom let value_0_bottom_type : int32 = RuntimeType.UNDEFINED value_0_bottom_type = runtimeType(value_0_bottom) - thisSerializer.writeInt8(value_0_bottom_type as int32) + thisSerializer.writeInt8(value_0_bottom_type) if ((RuntimeType.UNDEFINED) != (value_0_bottom_type)) { const value_0_bottom_value = value_0_bottom! let value_0_bottom_value_type : int32 = RuntimeType.UNDEFINED value_0_bottom_value_type = runtimeType(value_0_bottom_value) if (RuntimeType.STRING == value_0_bottom_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_bottom_value_0 = value_0_bottom_value as string thisSerializer.writeString(value_0_bottom_value_0) } else if (RuntimeType.NUMBER == value_0_bottom_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_bottom_value_1 = value_0_bottom_value as number thisSerializer.writeNumber(value_0_bottom_value_1) } else if (RuntimeType.OBJECT == value_0_bottom_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_bottom_value_2 = value_0_bottom_value as Resource thisSerializer.writeResource(value_0_bottom_value_2) } @@ -1930,51 +2159,51 @@ export class ArkCommonMethodPeer extends PeerNode { const value_0_left = value_0.left let value_0_left_type : int32 = RuntimeType.UNDEFINED value_0_left_type = runtimeType(value_0_left) - thisSerializer.writeInt8(value_0_left_type as int32) + thisSerializer.writeInt8(value_0_left_type) if ((RuntimeType.UNDEFINED) != (value_0_left_type)) { const value_0_left_value = value_0_left! let value_0_left_value_type : int32 = RuntimeType.UNDEFINED value_0_left_value_type = runtimeType(value_0_left_value) if (RuntimeType.STRING == value_0_left_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_left_value_0 = value_0_left_value as string thisSerializer.writeString(value_0_left_value_0) } else if (RuntimeType.NUMBER == value_0_left_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_left_value_1 = value_0_left_value as number thisSerializer.writeNumber(value_0_left_value_1) } else if (RuntimeType.OBJECT == value_0_left_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_left_value_2 = value_0_left_value as Resource thisSerializer.writeResource(value_0_left_value_2) } } } else if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Length let value_1_type : int32 = RuntimeType.UNDEFINED value_1_type = runtimeType(value_1) if (RuntimeType.STRING == value_1_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_1_0 = value_1 as string thisSerializer.writeString(value_1_0) } else if (RuntimeType.NUMBER == value_1_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1_1 = value_1 as number thisSerializer.writeNumber(value_1_1) } else if (RuntimeType.OBJECT == value_1_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_1_2 = value_1 as Resource thisSerializer.writeResource(value_1_2) } } else if (TypeChecker.isLocalizedPadding(value, true, false, true, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as LocalizedPadding thisSerializer.writeLocalizedPadding(value_2) } @@ -1986,28 +2215,28 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isPadding(value, false, false, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Padding const value_0_top = value_0.top let value_0_top_type : int32 = RuntimeType.UNDEFINED value_0_top_type = runtimeType(value_0_top) - thisSerializer.writeInt8(value_0_top_type as int32) + thisSerializer.writeInt8(value_0_top_type) if ((RuntimeType.UNDEFINED) != (value_0_top_type)) { const value_0_top_value = value_0_top! let value_0_top_value_type : int32 = RuntimeType.UNDEFINED value_0_top_value_type = runtimeType(value_0_top_value) if (RuntimeType.STRING == value_0_top_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_top_value_0 = value_0_top_value as string thisSerializer.writeString(value_0_top_value_0) } else if (RuntimeType.NUMBER == value_0_top_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_top_value_1 = value_0_top_value as number thisSerializer.writeNumber(value_0_top_value_1) } else if (RuntimeType.OBJECT == value_0_top_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_top_value_2 = value_0_top_value as Resource thisSerializer.writeResource(value_0_top_value_2) } @@ -2015,23 +2244,23 @@ export class ArkCommonMethodPeer extends PeerNode { const value_0_right = value_0.right let value_0_right_type : int32 = RuntimeType.UNDEFINED value_0_right_type = runtimeType(value_0_right) - thisSerializer.writeInt8(value_0_right_type as int32) + thisSerializer.writeInt8(value_0_right_type) if ((RuntimeType.UNDEFINED) != (value_0_right_type)) { const value_0_right_value = value_0_right! let value_0_right_value_type : int32 = RuntimeType.UNDEFINED value_0_right_value_type = runtimeType(value_0_right_value) if (RuntimeType.STRING == value_0_right_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_right_value_0 = value_0_right_value as string thisSerializer.writeString(value_0_right_value_0) } else if (RuntimeType.NUMBER == value_0_right_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_right_value_1 = value_0_right_value as number thisSerializer.writeNumber(value_0_right_value_1) } else if (RuntimeType.OBJECT == value_0_right_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_right_value_2 = value_0_right_value as Resource thisSerializer.writeResource(value_0_right_value_2) } @@ -2039,23 +2268,23 @@ export class ArkCommonMethodPeer extends PeerNode { const value_0_bottom = value_0.bottom let value_0_bottom_type : int32 = RuntimeType.UNDEFINED value_0_bottom_type = runtimeType(value_0_bottom) - thisSerializer.writeInt8(value_0_bottom_type as int32) + thisSerializer.writeInt8(value_0_bottom_type) if ((RuntimeType.UNDEFINED) != (value_0_bottom_type)) { const value_0_bottom_value = value_0_bottom! let value_0_bottom_value_type : int32 = RuntimeType.UNDEFINED value_0_bottom_value_type = runtimeType(value_0_bottom_value) if (RuntimeType.STRING == value_0_bottom_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_bottom_value_0 = value_0_bottom_value as string thisSerializer.writeString(value_0_bottom_value_0) } else if (RuntimeType.NUMBER == value_0_bottom_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_bottom_value_1 = value_0_bottom_value as number thisSerializer.writeNumber(value_0_bottom_value_1) } else if (RuntimeType.OBJECT == value_0_bottom_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_bottom_value_2 = value_0_bottom_value as Resource thisSerializer.writeResource(value_0_bottom_value_2) } @@ -2063,35 +2292,35 @@ export class ArkCommonMethodPeer extends PeerNode { const value_0_left = value_0.left let value_0_left_type : int32 = RuntimeType.UNDEFINED value_0_left_type = runtimeType(value_0_left) - thisSerializer.writeInt8(value_0_left_type as int32) + thisSerializer.writeInt8(value_0_left_type) if ((RuntimeType.UNDEFINED) != (value_0_left_type)) { const value_0_left_value = value_0_left! let value_0_left_value_type : int32 = RuntimeType.UNDEFINED value_0_left_value_type = runtimeType(value_0_left_value) if (RuntimeType.STRING == value_0_left_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_left_value_0 = value_0_left_value as string thisSerializer.writeString(value_0_left_value_0) } else if (RuntimeType.NUMBER == value_0_left_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_left_value_1 = value_0_left_value as number thisSerializer.writeNumber(value_0_left_value_1) } else if (RuntimeType.OBJECT == value_0_left_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_left_value_2 = value_0_left_value as Resource thisSerializer.writeResource(value_0_left_value_2) } } } else if (TypeChecker.isLengthMetrics(value, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as LengthMetrics thisSerializer.writeLengthMetrics(value_1) } else if (TypeChecker.isLocalizedPadding(value, true, false, true, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as LocalizedPadding thisSerializer.writeLocalizedPadding(value_2) } @@ -2102,160 +2331,98 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isPadding(value, true, false, true, false))) { - thisSerializer.writeInt8(0 as int32) + if (TypeChecker.isPadding(value, true, false, true, false)) { + thisSerializer.writeInt8(0) const value_0 = value as Padding - const value_0_top = value_0.top - let value_0_top_type : int32 = RuntimeType.UNDEFINED - value_0_top_type = runtimeType(value_0_top) - thisSerializer.writeInt8(value_0_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_0_top_type)) { - const value_0_top_value = value_0_top! - let value_0_top_value_type : int32 = RuntimeType.UNDEFINED - value_0_top_value_type = runtimeType(value_0_top_value) - if (RuntimeType.STRING == value_0_top_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_0_top_value_0 = value_0_top_value as string - thisSerializer.writeString(value_0_top_value_0) - } - else if (RuntimeType.NUMBER == value_0_top_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_0_top_value_1 = value_0_top_value as number - thisSerializer.writeNumber(value_0_top_value_1) - } - else if (RuntimeType.OBJECT == value_0_top_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_0_top_value_2 = value_0_top_value as Resource - thisSerializer.writeResource(value_0_top_value_2) - } - } - const value_0_right = value_0.right - let value_0_right_type : int32 = RuntimeType.UNDEFINED - value_0_right_type = runtimeType(value_0_right) - thisSerializer.writeInt8(value_0_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_0_right_type)) { - const value_0_right_value = value_0_right! - let value_0_right_value_type : int32 = RuntimeType.UNDEFINED - value_0_right_value_type = runtimeType(value_0_right_value) - if (RuntimeType.STRING == value_0_right_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_0_right_value_0 = value_0_right_value as string - thisSerializer.writeString(value_0_right_value_0) - } - else if (RuntimeType.NUMBER == value_0_right_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_0_right_value_1 = value_0_right_value as number - thisSerializer.writeNumber(value_0_right_value_1) - } - else if (RuntimeType.OBJECT == value_0_right_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_0_right_value_2 = value_0_right_value as Resource - thisSerializer.writeResource(value_0_right_value_2) - } - } - const value_0_bottom = value_0.bottom - let value_0_bottom_type : int32 = RuntimeType.UNDEFINED - value_0_bottom_type = runtimeType(value_0_bottom) - thisSerializer.writeInt8(value_0_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_0_bottom_type)) { - const value_0_bottom_value = value_0_bottom! - let value_0_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_0_bottom_value_type = runtimeType(value_0_bottom_value) - if (RuntimeType.STRING == value_0_bottom_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_0_bottom_value_0 = value_0_bottom_value as string - thisSerializer.writeString(value_0_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_0_bottom_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_0_bottom_value_1 = value_0_bottom_value as number - thisSerializer.writeNumber(value_0_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_0_bottom_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_0_bottom_value_2 = value_0_bottom_value as Resource - thisSerializer.writeResource(value_0_bottom_value_2) - } - } - const value_0_left = value_0.left - let value_0_left_type : int32 = RuntimeType.UNDEFINED - value_0_left_type = runtimeType(value_0_left) - thisSerializer.writeInt8(value_0_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_0_left_type)) { - const value_0_left_value = value_0_left! - let value_0_left_value_type : int32 = RuntimeType.UNDEFINED - value_0_left_value_type = runtimeType(value_0_left_value) - if (RuntimeType.STRING == value_0_left_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_0_left_value_0 = value_0_left_value as string - thisSerializer.writeString(value_0_left_value_0) - } - else if (RuntimeType.NUMBER == value_0_left_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_0_left_value_1 = value_0_left_value as number - thisSerializer.writeNumber(value_0_left_value_1) - } - else if (RuntimeType.OBJECT == value_0_left_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_0_left_value_2 = value_0_left_value as Resource - thisSerializer.writeResource(value_0_left_value_2) - } - } + thisSerializer.writePadding(value_0) } else if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Length let value_1_type : int32 = RuntimeType.UNDEFINED value_1_type = runtimeType(value_1) if (RuntimeType.STRING == value_1_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_1_0 = value_1 as string thisSerializer.writeString(value_1_0) } else if (RuntimeType.NUMBER == value_1_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1_1 = value_1 as number thisSerializer.writeNumber(value_1_1) } else if (RuntimeType.OBJECT == value_1_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_1_2 = value_1 as Resource thisSerializer.writeResource(value_1_2) } } else if (TypeChecker.isLocalizedPadding(value, true, false, true, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as LocalizedPadding thisSerializer.writeLocalizedPadding(value_2) } ArkUIGeneratedNativeModule._CommonMethod_margin(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - backgroundColorAttribute(value: ResourceColor): void { + backgroundColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._CommonMethod_backgroundColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_backgroundColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backgroundColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isColor(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0)) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as string + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as Resource + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._CommonMethod_backgroundColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } pixelRoundAttribute(value: PixelRoundPolicy): void { @@ -2269,12 +2436,12 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as SizeOptions thisSerializer.writeSizeOptions(value_0) } else if (TypeChecker.isImageSize(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as ImageSize thisSerializer.writeInt32(TypeChecker.ImageSize_ToNumeric(value_1)) } @@ -2286,22 +2453,41 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Position thisSerializer.writePosition(value_0) } else if (TypeChecker.isAlignment(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Alignment thisSerializer.writeInt32(TypeChecker.Alignment_ToNumeric(value_1)) } ArkUIGeneratedNativeModule._CommonMethod_backgroundImagePosition(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - backgroundEffectAttribute(value: BackgroundEffectOptions): void { + backgroundEffect0Attribute(value: BackgroundEffectOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeBackgroundEffectOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_backgroundEffect(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_backgroundEffect0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backgroundEffect1Attribute(options: BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): void { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeBackgroundEffectOptions(options_value) + } + let sysOptions_type : int32 = RuntimeType.UNDEFINED + sysOptions_type = runtimeType(sysOptions) + thisSerializer.writeInt8(sysOptions_type) + if ((RuntimeType.UNDEFINED) != (sysOptions_type)) { + const sysOptions_value = sysOptions! + thisSerializer.writeSystemAdaptiveOptions(sysOptions_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backgroundEffect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } backgroundImageResizableAttribute(value: ResizableOptions): void { @@ -2328,21 +2514,44 @@ export class ArkCommonMethodPeer extends PeerNode { compositingFilterAttribute(value: Filter): void { ArkUIGeneratedNativeModule._CommonMethod_compositingFilter(this.peer.ptr, toPeerPtr(value)) } - opacityAttribute(value: number | Resource): void { + opacity0Attribute(value: number | Resource): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } - ArkUIGeneratedNativeModule._CommonMethod_opacity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_opacity0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + opacity1Attribute(value: number | Resource | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._CommonMethod_opacity1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } borderAttribute(value: BorderOptions): void { @@ -2356,12 +2565,12 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isBorderStyle(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as BorderStyle thisSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_0)) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as EdgeStyles thisSerializer.writeEdgeStyles(value_1) } @@ -2373,128 +2582,33 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Length let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as string thisSerializer.writeString(value_0_0) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as Resource thisSerializer.writeResource(value_0_2) } } - else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isEdgeWidths(value, true, false, true, false))) { - thisSerializer.writeInt8(1 as int32) + else if (TypeChecker.isEdgeWidths(value, true, false, true, false)) { + thisSerializer.writeInt8(1) const value_1 = value as EdgeWidths - const value_1_top = value_1.top - let value_1_top_type : int32 = RuntimeType.UNDEFINED - value_1_top_type = runtimeType(value_1_top) - thisSerializer.writeInt8(value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { - const value_1_top_value = value_1_top! - let value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_1_top_value_type = runtimeType(value_1_top_value) - if (RuntimeType.STRING == value_1_top_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_top_value_0 = value_1_top_value as string - thisSerializer.writeString(value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_1_top_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_top_value_1 = value_1_top_value as number - thisSerializer.writeNumber(value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_1_top_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_top_value_2 = value_1_top_value as Resource - thisSerializer.writeResource(value_1_top_value_2) - } - } - const value_1_right = value_1.right - let value_1_right_type : int32 = RuntimeType.UNDEFINED - value_1_right_type = runtimeType(value_1_right) - thisSerializer.writeInt8(value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { - const value_1_right_value = value_1_right! - let value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_1_right_value_type = runtimeType(value_1_right_value) - if (RuntimeType.STRING == value_1_right_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_right_value_0 = value_1_right_value as string - thisSerializer.writeString(value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_1_right_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_right_value_1 = value_1_right_value as number - thisSerializer.writeNumber(value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_1_right_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_right_value_2 = value_1_right_value as Resource - thisSerializer.writeResource(value_1_right_value_2) - } - } - const value_1_bottom = value_1.bottom - let value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_1_bottom_type = runtimeType(value_1_bottom) - thisSerializer.writeInt8(value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { - const value_1_bottom_value = value_1_bottom! - let value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_1_bottom_value_type = runtimeType(value_1_bottom_value) - if (RuntimeType.STRING == value_1_bottom_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_bottom_value_0 = value_1_bottom_value as string - thisSerializer.writeString(value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_1_bottom_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_bottom_value_1 = value_1_bottom_value as number - thisSerializer.writeNumber(value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_1_bottom_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_bottom_value_2 = value_1_bottom_value as Resource - thisSerializer.writeResource(value_1_bottom_value_2) - } - } - const value_1_left = value_1.left - let value_1_left_type : int32 = RuntimeType.UNDEFINED - value_1_left_type = runtimeType(value_1_left) - thisSerializer.writeInt8(value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { - const value_1_left_value = value_1_left! - let value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_1_left_value_type = runtimeType(value_1_left_value) - if (RuntimeType.STRING == value_1_left_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_left_value_0 = value_1_left_value as string - thisSerializer.writeString(value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_1_left_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_left_value_1 = value_1_left_value as number - thisSerializer.writeNumber(value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_1_left_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_left_value_2 = value_1_left_value as Resource - thisSerializer.writeResource(value_1_left_value_2) - } - } + thisSerializer.writeEdgeWidths(value_1) } else if (TypeChecker.isLocalizedEdgeWidths(value, true, false, true, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as LocalizedEdgeWidths thisSerializer.writeLocalizedEdgeWidths(value_2) } @@ -2506,153 +2620,38 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ResourceColor let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (TypeChecker.isColor(value_0)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0_0)) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as string thisSerializer.writeString(value_0_2) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_0_3 = value_0 as Resource thisSerializer.writeResource(value_0_3) } } - else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isEdgeColors(value, true, false, true, false))) { - thisSerializer.writeInt8(1 as int32) + else if (TypeChecker.isEdgeColors(value, true, false, true, false)) { + thisSerializer.writeInt8(1) const value_1 = value as EdgeColors - const value_1_top = value_1.top - let value_1_top_type : int32 = RuntimeType.UNDEFINED - value_1_top_type = runtimeType(value_1_top) - thisSerializer.writeInt8(value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { - const value_1_top_value = value_1_top! - let value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_1_top_value_type = runtimeType(value_1_top_value) - if (TypeChecker.isColor(value_1_top_value)) { - thisSerializer.writeInt8(0 as int32) - const value_1_top_value_0 = value_1_top_value as Color - thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_1_top_value_0)) - } - else if (RuntimeType.NUMBER == value_1_top_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_top_value_1 = value_1_top_value as number - thisSerializer.writeNumber(value_1_top_value_1) - } - else if (RuntimeType.STRING == value_1_top_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_top_value_2 = value_1_top_value as string - thisSerializer.writeString(value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_1_top_value_type) { - thisSerializer.writeInt8(3 as int32) - const value_1_top_value_3 = value_1_top_value as Resource - thisSerializer.writeResource(value_1_top_value_3) - } - } - const value_1_right = value_1.right - let value_1_right_type : int32 = RuntimeType.UNDEFINED - value_1_right_type = runtimeType(value_1_right) - thisSerializer.writeInt8(value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { - const value_1_right_value = value_1_right! - let value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_1_right_value_type = runtimeType(value_1_right_value) - if (TypeChecker.isColor(value_1_right_value)) { - thisSerializer.writeInt8(0 as int32) - const value_1_right_value_0 = value_1_right_value as Color - thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_1_right_value_0)) - } - else if (RuntimeType.NUMBER == value_1_right_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_right_value_1 = value_1_right_value as number - thisSerializer.writeNumber(value_1_right_value_1) - } - else if (RuntimeType.STRING == value_1_right_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_right_value_2 = value_1_right_value as string - thisSerializer.writeString(value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_1_right_value_type) { - thisSerializer.writeInt8(3 as int32) - const value_1_right_value_3 = value_1_right_value as Resource - thisSerializer.writeResource(value_1_right_value_3) - } - } - const value_1_bottom = value_1.bottom - let value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_1_bottom_type = runtimeType(value_1_bottom) - thisSerializer.writeInt8(value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { - const value_1_bottom_value = value_1_bottom! - let value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_1_bottom_value_type = runtimeType(value_1_bottom_value) - if (TypeChecker.isColor(value_1_bottom_value)) { - thisSerializer.writeInt8(0 as int32) - const value_1_bottom_value_0 = value_1_bottom_value as Color - thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_1_bottom_value_0)) - } - else if (RuntimeType.NUMBER == value_1_bottom_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_bottom_value_1 = value_1_bottom_value as number - thisSerializer.writeNumber(value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_1_bottom_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_bottom_value_2 = value_1_bottom_value as string - thisSerializer.writeString(value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_1_bottom_value_type) { - thisSerializer.writeInt8(3 as int32) - const value_1_bottom_value_3 = value_1_bottom_value as Resource - thisSerializer.writeResource(value_1_bottom_value_3) - } - } - const value_1_left = value_1.left - let value_1_left_type : int32 = RuntimeType.UNDEFINED - value_1_left_type = runtimeType(value_1_left) - thisSerializer.writeInt8(value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { - const value_1_left_value = value_1_left! - let value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_1_left_value_type = runtimeType(value_1_left_value) - if (TypeChecker.isColor(value_1_left_value)) { - thisSerializer.writeInt8(0 as int32) - const value_1_left_value_0 = value_1_left_value as Color - thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_1_left_value_0)) - } - else if (RuntimeType.NUMBER == value_1_left_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_left_value_1 = value_1_left_value as number - thisSerializer.writeNumber(value_1_left_value_1) - } - else if (RuntimeType.STRING == value_1_left_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_left_value_2 = value_1_left_value as string - thisSerializer.writeString(value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_1_left_value_type) { - thisSerializer.writeInt8(3 as int32) - const value_1_left_value_3 = value_1_left_value as Resource - thisSerializer.writeResource(value_1_left_value_3) - } - } + thisSerializer.writeEdgeColors(value_1) } else if (TypeChecker.isLocalizedEdgeColors(value, true, false, true, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as LocalizedEdgeColors thisSerializer.writeLocalizedEdgeColors(value_2) } @@ -2664,128 +2663,33 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Length let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as string thisSerializer.writeString(value_0_0) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as Resource thisSerializer.writeResource(value_0_2) } } - else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isBorderRadiuses(value, false, false, false, false))) { - thisSerializer.writeInt8(1 as int32) + else if (TypeChecker.isBorderRadiuses(value, false, false, false, false)) { + thisSerializer.writeInt8(1) const value_1 = value as BorderRadiuses - const value_1_topLeft = value_1.topLeft - let value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_1_topLeft_type = runtimeType(value_1_topLeft) - thisSerializer.writeInt8(value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_topLeft_type)) { - const value_1_topLeft_value = value_1_topLeft! - let value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_1_topLeft_value_type = runtimeType(value_1_topLeft_value) - if (RuntimeType.STRING == value_1_topLeft_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_topLeft_value_0 = value_1_topLeft_value as string - thisSerializer.writeString(value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_1_topLeft_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_topLeft_value_1 = value_1_topLeft_value as number - thisSerializer.writeNumber(value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_1_topLeft_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_topLeft_value_2 = value_1_topLeft_value as Resource - thisSerializer.writeResource(value_1_topLeft_value_2) - } - } - const value_1_topRight = value_1.topRight - let value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_1_topRight_type = runtimeType(value_1_topRight) - thisSerializer.writeInt8(value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_topRight_type)) { - const value_1_topRight_value = value_1_topRight! - let value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_1_topRight_value_type = runtimeType(value_1_topRight_value) - if (RuntimeType.STRING == value_1_topRight_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_topRight_value_0 = value_1_topRight_value as string - thisSerializer.writeString(value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_1_topRight_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_topRight_value_1 = value_1_topRight_value as number - thisSerializer.writeNumber(value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_1_topRight_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_topRight_value_2 = value_1_topRight_value as Resource - thisSerializer.writeResource(value_1_topRight_value_2) - } - } - const value_1_bottomLeft = value_1.bottomLeft - let value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_1_bottomLeft_type = runtimeType(value_1_bottomLeft) - thisSerializer.writeInt8(value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_bottomLeft_type)) { - const value_1_bottomLeft_value = value_1_bottomLeft! - let value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_1_bottomLeft_value_type = runtimeType(value_1_bottomLeft_value) - if (RuntimeType.STRING == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_bottomLeft_value_0 = value_1_bottomLeft_value as string - thisSerializer.writeString(value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_bottomLeft_value_1 = value_1_bottomLeft_value as number - thisSerializer.writeNumber(value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_bottomLeft_value_2 = value_1_bottomLeft_value as Resource - thisSerializer.writeResource(value_1_bottomLeft_value_2) - } - } - const value_1_bottomRight = value_1.bottomRight - let value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_1_bottomRight_type = runtimeType(value_1_bottomRight) - thisSerializer.writeInt8(value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_bottomRight_type)) { - const value_1_bottomRight_value = value_1_bottomRight! - let value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_1_bottomRight_value_type = runtimeType(value_1_bottomRight_value) - if (RuntimeType.STRING == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_bottomRight_value_0 = value_1_bottomRight_value as string - thisSerializer.writeString(value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_bottomRight_value_1 = value_1_bottomRight_value as number - thisSerializer.writeNumber(value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_bottomRight_value_2 = value_1_bottomRight_value as Resource - thisSerializer.writeResource(value_1_bottomRight_value_2) - } - } + thisSerializer.writeBorderRadiuses(value_1) } else if (TypeChecker.isLocalizedBorderRadiuses(value, false, false, false, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as LocalizedBorderRadiuses thisSerializer.writeLocalizedBorderRadiuses(value_2) } @@ -2798,510 +2702,380 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_borderImage(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - outlineAttribute(value: OutlineOptions): void { + outline0Attribute(value: OutlineOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeOutlineOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_outline(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_outline0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + outline1Attribute(value: OutlineOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeOutlineOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_outline1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - outlineStyleAttribute(value: OutlineStyle | EdgeOutlineStyles): void { + outlineStyle0Attribute(value: OutlineStyle | EdgeOutlineStyles): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isOutlineStyle(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as OutlineStyle thisSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_0)) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as EdgeOutlineStyles - const value_1_top = value_1.top - let value_1_top_type : int32 = RuntimeType.UNDEFINED - value_1_top_type = runtimeType(value_1_top) - thisSerializer.writeInt8(value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { - const value_1_top_value = (value_1_top as OutlineStyle) - thisSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_1_top_value)) - } - const value_1_right = value_1.right - let value_1_right_type : int32 = RuntimeType.UNDEFINED - value_1_right_type = runtimeType(value_1_right) - thisSerializer.writeInt8(value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { - const value_1_right_value = (value_1_right as OutlineStyle) - thisSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_1_right_value)) - } - const value_1_bottom = value_1.bottom - let value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_1_bottom_type = runtimeType(value_1_bottom) - thisSerializer.writeInt8(value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { - const value_1_bottom_value = (value_1_bottom as OutlineStyle) - thisSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_1_bottom_value)) - } - const value_1_left = value_1.left - let value_1_left_type : int32 = RuntimeType.UNDEFINED - value_1_left_type = runtimeType(value_1_left) - thisSerializer.writeInt8(value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { - const value_1_left_value = (value_1_left as OutlineStyle) - thisSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_1_left_value)) - } - } - ArkUIGeneratedNativeModule._CommonMethod_outlineStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - outlineWidthAttribute(value: Dimension | EdgeOutlineWidths): void { + thisSerializer.writeEdgeOutlineStyles(value_1) + } + ArkUIGeneratedNativeModule._CommonMethod_outlineStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + outlineStyle1Attribute(value: OutlineStyle | EdgeOutlineStyles | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isOutlineStyle(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as OutlineStyle + thisSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_value_0)) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as EdgeOutlineStyles + thisSerializer.writeEdgeOutlineStyles(value_value_1) + } + } + ArkUIGeneratedNativeModule._CommonMethod_outlineStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + outlineWidth0Attribute(value: Dimension | EdgeOutlineWidths): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Dimension let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as string thisSerializer.writeString(value_0_0) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as Resource thisSerializer.writeResource(value_0_2) } } - else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isEdgeOutlineWidths(value, false, false, false, false))) { - thisSerializer.writeInt8(1 as int32) + else if (TypeChecker.isEdgeOutlineWidths(value, false, false, false, false)) { + thisSerializer.writeInt8(1) const value_1 = value as EdgeOutlineWidths - const value_1_top = value_1.top - let value_1_top_type : int32 = RuntimeType.UNDEFINED - value_1_top_type = runtimeType(value_1_top) - thisSerializer.writeInt8(value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { - const value_1_top_value = value_1_top! - let value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_1_top_value_type = runtimeType(value_1_top_value) - if (RuntimeType.STRING == value_1_top_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_top_value_0 = value_1_top_value as string - thisSerializer.writeString(value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_1_top_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_top_value_1 = value_1_top_value as number - thisSerializer.writeNumber(value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_1_top_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_top_value_2 = value_1_top_value as Resource - thisSerializer.writeResource(value_1_top_value_2) - } - } - const value_1_right = value_1.right - let value_1_right_type : int32 = RuntimeType.UNDEFINED - value_1_right_type = runtimeType(value_1_right) - thisSerializer.writeInt8(value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { - const value_1_right_value = value_1_right! - let value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_1_right_value_type = runtimeType(value_1_right_value) - if (RuntimeType.STRING == value_1_right_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_right_value_0 = value_1_right_value as string - thisSerializer.writeString(value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_1_right_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_right_value_1 = value_1_right_value as number - thisSerializer.writeNumber(value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_1_right_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_right_value_2 = value_1_right_value as Resource - thisSerializer.writeResource(value_1_right_value_2) - } - } - const value_1_bottom = value_1.bottom - let value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_1_bottom_type = runtimeType(value_1_bottom) - thisSerializer.writeInt8(value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { - const value_1_bottom_value = value_1_bottom! - let value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_1_bottom_value_type = runtimeType(value_1_bottom_value) - if (RuntimeType.STRING == value_1_bottom_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_bottom_value_0 = value_1_bottom_value as string - thisSerializer.writeString(value_1_bottom_value_0) + thisSerializer.writeEdgeOutlineWidths(value_1) + } + ArkUIGeneratedNativeModule._CommonMethod_outlineWidth0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + outlineWidth1Attribute(value: Dimension | EdgeOutlineWidths | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if ((RuntimeType.STRING == value_value_type) || (RuntimeType.NUMBER == value_value_type) || (RuntimeType.OBJECT == value_value_type)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Dimension + let value_value_0_type : int32 = RuntimeType.UNDEFINED + value_value_0_type = runtimeType(value_value_0) + if (RuntimeType.STRING == value_value_0_type) { + thisSerializer.writeInt8(0) + const value_value_0_0 = value_value_0 as string + thisSerializer.writeString(value_value_0_0) } - else if (RuntimeType.NUMBER == value_1_bottom_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_bottom_value_1 = value_1_bottom_value as number - thisSerializer.writeNumber(value_1_bottom_value_1) + else if (RuntimeType.NUMBER == value_value_0_type) { + thisSerializer.writeInt8(1) + const value_value_0_1 = value_value_0 as number + thisSerializer.writeNumber(value_value_0_1) } - else if (RuntimeType.OBJECT == value_1_bottom_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_bottom_value_2 = value_1_bottom_value as Resource - thisSerializer.writeResource(value_1_bottom_value_2) + else if (RuntimeType.OBJECT == value_value_0_type) { + thisSerializer.writeInt8(2) + const value_value_0_2 = value_value_0 as Resource + thisSerializer.writeResource(value_value_0_2) } } - const value_1_left = value_1.left - let value_1_left_type : int32 = RuntimeType.UNDEFINED - value_1_left_type = runtimeType(value_1_left) - thisSerializer.writeInt8(value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { - const value_1_left_value = value_1_left! - let value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_1_left_value_type = runtimeType(value_1_left_value) - if (RuntimeType.STRING == value_1_left_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_left_value_0 = value_1_left_value as string - thisSerializer.writeString(value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_1_left_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_left_value_1 = value_1_left_value as number - thisSerializer.writeNumber(value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_1_left_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_left_value_2 = value_1_left_value as Resource - thisSerializer.writeResource(value_1_left_value_2) - } + else if (TypeChecker.isEdgeOutlineWidths(value_value, false, false, false, false)) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as EdgeOutlineWidths + thisSerializer.writeEdgeOutlineWidths(value_value_1) } } - ArkUIGeneratedNativeModule._CommonMethod_outlineWidth(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_outlineWidth1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - outlineColorAttribute(value: ResourceColor | EdgeColors | LocalizedEdgeColors): void { + outlineColor0Attribute(value: ResourceColor | EdgeColors | LocalizedEdgeColors): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ResourceColor let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (TypeChecker.isColor(value_0)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0_0)) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as string thisSerializer.writeString(value_0_2) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_0_3 = value_0 as Resource thisSerializer.writeResource(value_0_3) } } - else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isEdgeColors(value, true, false, true, false))) { - thisSerializer.writeInt8(1 as int32) + else if (TypeChecker.isEdgeColors(value, true, false, true, false)) { + thisSerializer.writeInt8(1) const value_1 = value as EdgeColors - const value_1_top = value_1.top - let value_1_top_type : int32 = RuntimeType.UNDEFINED - value_1_top_type = runtimeType(value_1_top) - thisSerializer.writeInt8(value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { - const value_1_top_value = value_1_top! - let value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_1_top_value_type = runtimeType(value_1_top_value) - if (TypeChecker.isColor(value_1_top_value)) { - thisSerializer.writeInt8(0 as int32) - const value_1_top_value_0 = value_1_top_value as Color - thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_1_top_value_0)) - } - else if (RuntimeType.NUMBER == value_1_top_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_top_value_1 = value_1_top_value as number - thisSerializer.writeNumber(value_1_top_value_1) - } - else if (RuntimeType.STRING == value_1_top_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_top_value_2 = value_1_top_value as string - thisSerializer.writeString(value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_1_top_value_type) { - thisSerializer.writeInt8(3 as int32) - const value_1_top_value_3 = value_1_top_value as Resource - thisSerializer.writeResource(value_1_top_value_3) - } - } - const value_1_right = value_1.right - let value_1_right_type : int32 = RuntimeType.UNDEFINED - value_1_right_type = runtimeType(value_1_right) - thisSerializer.writeInt8(value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { - const value_1_right_value = value_1_right! - let value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_1_right_value_type = runtimeType(value_1_right_value) - if (TypeChecker.isColor(value_1_right_value)) { - thisSerializer.writeInt8(0 as int32) - const value_1_right_value_0 = value_1_right_value as Color - thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_1_right_value_0)) + thisSerializer.writeEdgeColors(value_1) + } + else if (TypeChecker.isLocalizedEdgeColors(value, true, false, true, false)) { + thisSerializer.writeInt8(2) + const value_2 = value as LocalizedEdgeColors + thisSerializer.writeLocalizedEdgeColors(value_2) + } + ArkUIGeneratedNativeModule._CommonMethod_outlineColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + outlineColor1Attribute(value: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if ((TypeChecker.isColor(value_value)) || (RuntimeType.NUMBER == value_value_type) || (RuntimeType.STRING == value_value_type) || (RuntimeType.OBJECT == value_value_type)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as ResourceColor + let value_value_0_type : int32 = RuntimeType.UNDEFINED + value_value_0_type = runtimeType(value_value_0) + if (TypeChecker.isColor(value_value_0)) { + thisSerializer.writeInt8(0) + const value_value_0_0 = value_value_0 as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0_0)) } - else if (RuntimeType.NUMBER == value_1_right_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_right_value_1 = value_1_right_value as number - thisSerializer.writeNumber(value_1_right_value_1) + else if (RuntimeType.NUMBER == value_value_0_type) { + thisSerializer.writeInt8(1) + const value_value_0_1 = value_value_0 as number + thisSerializer.writeNumber(value_value_0_1) } - else if (RuntimeType.STRING == value_1_right_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_right_value_2 = value_1_right_value as string - thisSerializer.writeString(value_1_right_value_2) + else if (RuntimeType.STRING == value_value_0_type) { + thisSerializer.writeInt8(2) + const value_value_0_2 = value_value_0 as string + thisSerializer.writeString(value_value_0_2) } - else if (RuntimeType.OBJECT == value_1_right_value_type) { - thisSerializer.writeInt8(3 as int32) - const value_1_right_value_3 = value_1_right_value as Resource - thisSerializer.writeResource(value_1_right_value_3) + else if (RuntimeType.OBJECT == value_value_0_type) { + thisSerializer.writeInt8(3) + const value_value_0_3 = value_value_0 as Resource + thisSerializer.writeResource(value_value_0_3) } } - const value_1_bottom = value_1.bottom - let value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_1_bottom_type = runtimeType(value_1_bottom) - thisSerializer.writeInt8(value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { - const value_1_bottom_value = value_1_bottom! - let value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_1_bottom_value_type = runtimeType(value_1_bottom_value) - if (TypeChecker.isColor(value_1_bottom_value)) { - thisSerializer.writeInt8(0 as int32) - const value_1_bottom_value_0 = value_1_bottom_value as Color - thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_1_bottom_value_0)) - } - else if (RuntimeType.NUMBER == value_1_bottom_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_bottom_value_1 = value_1_bottom_value as number - thisSerializer.writeNumber(value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_1_bottom_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_bottom_value_2 = value_1_bottom_value as string - thisSerializer.writeString(value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_1_bottom_value_type) { - thisSerializer.writeInt8(3 as int32) - const value_1_bottom_value_3 = value_1_bottom_value as Resource - thisSerializer.writeResource(value_1_bottom_value_3) - } + else if (TypeChecker.isEdgeColors(value_value, true, false, true, false)) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as EdgeColors + thisSerializer.writeEdgeColors(value_value_1) } - const value_1_left = value_1.left - let value_1_left_type : int32 = RuntimeType.UNDEFINED - value_1_left_type = runtimeType(value_1_left) - thisSerializer.writeInt8(value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { - const value_1_left_value = value_1_left! - let value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_1_left_value_type = runtimeType(value_1_left_value) - if (TypeChecker.isColor(value_1_left_value)) { - thisSerializer.writeInt8(0 as int32) - const value_1_left_value_0 = value_1_left_value as Color - thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_1_left_value_0)) - } - else if (RuntimeType.NUMBER == value_1_left_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_left_value_1 = value_1_left_value as number - thisSerializer.writeNumber(value_1_left_value_1) - } - else if (RuntimeType.STRING == value_1_left_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_left_value_2 = value_1_left_value as string - thisSerializer.writeString(value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_1_left_value_type) { - thisSerializer.writeInt8(3 as int32) - const value_1_left_value_3 = value_1_left_value as Resource - thisSerializer.writeResource(value_1_left_value_3) - } + else if (TypeChecker.isLocalizedEdgeColors(value_value, true, false, true, false)) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as LocalizedEdgeColors + thisSerializer.writeLocalizedEdgeColors(value_value_2) } } - else if (TypeChecker.isLocalizedEdgeColors(value, true, false, true, false)) { - thisSerializer.writeInt8(2 as int32) - const value_2 = value as LocalizedEdgeColors - thisSerializer.writeLocalizedEdgeColors(value_2) - } - ArkUIGeneratedNativeModule._CommonMethod_outlineColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_outlineColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - outlineRadiusAttribute(value: Dimension | OutlineRadiuses): void { + outlineRadius0Attribute(value: Dimension | OutlineRadiuses): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Dimension let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as string thisSerializer.writeString(value_0_0) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as Resource thisSerializer.writeResource(value_0_2) } } - else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isOutlineRadiuses(value, false, false, false, false))) { - thisSerializer.writeInt8(1 as int32) + else if (TypeChecker.isOutlineRadiuses(value, false, false, false, false)) { + thisSerializer.writeInt8(1) const value_1 = value as OutlineRadiuses - const value_1_topLeft = value_1.topLeft - let value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_1_topLeft_type = runtimeType(value_1_topLeft) - thisSerializer.writeInt8(value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_topLeft_type)) { - const value_1_topLeft_value = value_1_topLeft! - let value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_1_topLeft_value_type = runtimeType(value_1_topLeft_value) - if (RuntimeType.STRING == value_1_topLeft_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_topLeft_value_0 = value_1_topLeft_value as string - thisSerializer.writeString(value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_1_topLeft_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_topLeft_value_1 = value_1_topLeft_value as number - thisSerializer.writeNumber(value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_1_topLeft_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_topLeft_value_2 = value_1_topLeft_value as Resource - thisSerializer.writeResource(value_1_topLeft_value_2) - } - } - const value_1_topRight = value_1.topRight - let value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_1_topRight_type = runtimeType(value_1_topRight) - thisSerializer.writeInt8(value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_topRight_type)) { - const value_1_topRight_value = value_1_topRight! - let value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_1_topRight_value_type = runtimeType(value_1_topRight_value) - if (RuntimeType.STRING == value_1_topRight_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_topRight_value_0 = value_1_topRight_value as string - thisSerializer.writeString(value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_1_topRight_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_topRight_value_1 = value_1_topRight_value as number - thisSerializer.writeNumber(value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_1_topRight_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_topRight_value_2 = value_1_topRight_value as Resource - thisSerializer.writeResource(value_1_topRight_value_2) - } - } - const value_1_bottomLeft = value_1.bottomLeft - let value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_1_bottomLeft_type = runtimeType(value_1_bottomLeft) - thisSerializer.writeInt8(value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_bottomLeft_type)) { - const value_1_bottomLeft_value = value_1_bottomLeft! - let value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_1_bottomLeft_value_type = runtimeType(value_1_bottomLeft_value) - if (RuntimeType.STRING == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_bottomLeft_value_0 = value_1_bottomLeft_value as string - thisSerializer.writeString(value_1_bottomLeft_value_0) + thisSerializer.writeOutlineRadiuses(value_1) + } + ArkUIGeneratedNativeModule._CommonMethod_outlineRadius0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + outlineRadius1Attribute(value: Dimension | OutlineRadiuses | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if ((RuntimeType.STRING == value_value_type) || (RuntimeType.NUMBER == value_value_type) || (RuntimeType.OBJECT == value_value_type)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Dimension + let value_value_0_type : int32 = RuntimeType.UNDEFINED + value_value_0_type = runtimeType(value_value_0) + if (RuntimeType.STRING == value_value_0_type) { + thisSerializer.writeInt8(0) + const value_value_0_0 = value_value_0 as string + thisSerializer.writeString(value_value_0_0) } - else if (RuntimeType.NUMBER == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_bottomLeft_value_1 = value_1_bottomLeft_value as number - thisSerializer.writeNumber(value_1_bottomLeft_value_1) + else if (RuntimeType.NUMBER == value_value_0_type) { + thisSerializer.writeInt8(1) + const value_value_0_1 = value_value_0 as number + thisSerializer.writeNumber(value_value_0_1) } - else if (RuntimeType.OBJECT == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_bottomLeft_value_2 = value_1_bottomLeft_value as Resource - thisSerializer.writeResource(value_1_bottomLeft_value_2) + else if (RuntimeType.OBJECT == value_value_0_type) { + thisSerializer.writeInt8(2) + const value_value_0_2 = value_value_0 as Resource + thisSerializer.writeResource(value_value_0_2) } } - const value_1_bottomRight = value_1.bottomRight - let value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_1_bottomRight_type = runtimeType(value_1_bottomRight) - thisSerializer.writeInt8(value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_bottomRight_type)) { - const value_1_bottomRight_value = value_1_bottomRight! - let value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_1_bottomRight_value_type = runtimeType(value_1_bottomRight_value) - if (RuntimeType.STRING == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_bottomRight_value_0 = value_1_bottomRight_value as string - thisSerializer.writeString(value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_bottomRight_value_1 = value_1_bottomRight_value as number - thisSerializer.writeNumber(value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_bottomRight_value_2 = value_1_bottomRight_value as Resource - thisSerializer.writeResource(value_1_bottomRight_value_2) - } + else if (TypeChecker.isOutlineRadiuses(value_value, false, false, false, false)) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as OutlineRadiuses + thisSerializer.writeOutlineRadiuses(value_value_1) } } - ArkUIGeneratedNativeModule._CommonMethod_outlineRadius(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_outlineRadius1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - foregroundColorAttribute(value: ResourceColor | ColoringStrategy): void { + foregroundColor0Attribute(value: ResourceColor | ColoringStrategy): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ResourceColor let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (TypeChecker.isColor(value_0)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0_0)) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as string thisSerializer.writeString(value_0_2) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_0_3 = value_0 as Resource thisSerializer.writeResource(value_0_3) } } else if (TypeChecker.isColoringStrategy(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as ColoringStrategy thisSerializer.writeInt32(TypeChecker.ColoringStrategy_ToNumeric(value_1)) } - ArkUIGeneratedNativeModule._CommonMethod_foregroundColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_foregroundColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + foregroundColor1Attribute(value: ResourceColor | ColoringStrategy | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if ((TypeChecker.isColor(value_value)) || (RuntimeType.NUMBER == value_value_type) || (RuntimeType.STRING == value_value_type) || (RuntimeType.OBJECT == value_value_type)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as ResourceColor + let value_value_0_type : int32 = RuntimeType.UNDEFINED + value_value_0_type = runtimeType(value_value_0) + if (TypeChecker.isColor(value_value_0)) { + thisSerializer.writeInt8(0) + const value_value_0_0 = value_value_0 as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0_0)) + } + else if (RuntimeType.NUMBER == value_value_0_type) { + thisSerializer.writeInt8(1) + const value_value_0_1 = value_value_0 as number + thisSerializer.writeNumber(value_value_0_1) + } + else if (RuntimeType.STRING == value_value_0_type) { + thisSerializer.writeInt8(2) + const value_value_0_2 = value_value_0 as string + thisSerializer.writeString(value_value_0_2) + } + else if (RuntimeType.OBJECT == value_value_0_type) { + thisSerializer.writeInt8(3) + const value_value_0_3 = value_value_0 as Resource + thisSerializer.writeResource(value_value_0_3) + } + } + else if (TypeChecker.isColoringStrategy(value_value)) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as ColoringStrategy + thisSerializer.writeInt32(TypeChecker.ColoringStrategy_ToNumeric(value_value_1)) + } + } + ArkUIGeneratedNativeModule._CommonMethod_foregroundColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onClick0Attribute(value: ((event: ClickEvent) => void)): void { @@ -3322,6 +3096,12 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onHover(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onHoverMoveAttribute(value: ((parameter: HoverEvent) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onHoverMove(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onAccessibilityHoverAttribute(value: AccessibilityCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -3343,10 +3123,28 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onTouch(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onKeyEventAttribute(value: ((event: KeyEvent) => void)): void { + onKeyEvent0Attribute(value: ((event: KeyEvent) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onKeyEvent0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onKeyEvent1Attribute(value: ((parameter: KeyEvent) => boolean)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._CommonMethod_onKeyEvent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_onKeyEvent1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onDigitalCrownAttribute(value: ((parameter: CrownEvent) => void) | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_onDigitalCrown(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onKeyPreImeAttribute(value: ((parameter: KeyEvent) => boolean)): void { @@ -3355,9 +3153,42 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onKeyPreIme(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onKeyEventDispatchAttribute(value: ((parameter: KeyEvent) => boolean)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onKeyEventDispatch(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onFocusAxisEventAttribute(value: ((parameter: FocusAxisEvent) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onFocusAxisEvent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onAxisEventAttribute(value: ((parameter: AxisEvent) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onAxisEvent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } focusableAttribute(value: boolean): void { ArkUIGeneratedNativeModule._CommonMethod_focusable(this.peer.ptr, value ? 1 : 0) } + nextFocusAttribute(value: FocusMovement | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeFocusMovement(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_nextFocus(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + tabStopAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_tabStop(this.peer.ptr, value ? 1 : 0) + } onFocusAttribute(value: (() => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -3399,12 +3230,12 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isTransitionOptions(value, false, false, false, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as TransitionOptions thisSerializer.writeTransitionOptions(value_0) } else if (TypeChecker.isTransitionEffect(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as TransitionEffect thisSerializer.writeTransitionEffect(value_1) } @@ -3415,7 +3246,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let onFinish_type : int32 = RuntimeType.UNDEFINED onFinish_type = runtimeType(onFinish) - thisSerializer.writeInt8(onFinish_type as int32) + thisSerializer.writeInt8(onFinish_type) if ((RuntimeType.UNDEFINED) != (onFinish_type)) { const onFinish_value = onFinish! thisSerializer.holdAndWriteCallback(onFinish_value) @@ -3423,85 +3254,243 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_transition1(this.peer.ptr, toPeerPtr(effect), thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - motionBlurAttribute(value: MotionBlurOptions): void { + motionBlur0Attribute(value: MotionBlurOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeMotionBlurOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_motionBlur(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_motionBlur0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - brightnessAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_brightness(this.peer.ptr, value) + motionBlur1Attribute(value: MotionBlurOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeMotionBlurOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_motionBlur1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + brightness0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_brightness0(this.peer.ptr, value) + } + brightness1Attribute(value: number | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_brightness1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + contrast0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_contrast0(this.peer.ptr, value) + } + contrast1Attribute(value: number | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_contrast1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - contrastAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_contrast(this.peer.ptr, value) + grayscale0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_grayscale0(this.peer.ptr, value) } - grayscaleAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_grayscale(this.peer.ptr, value) + grayscale1Attribute(value: number | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_grayscale1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - colorBlendAttribute(value: Color | string | Resource): void { + colorBlend0Attribute(value: Color | string | Resource): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._CommonMethod_colorBlend(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_colorBlend0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + colorBlend1Attribute(value: Color | string | Resource | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isColor(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0)) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as string + thisSerializer.writeString(value_value_1) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as Resource + thisSerializer.writeResource(value_value_2) + } + } + ArkUIGeneratedNativeModule._CommonMethod_colorBlend1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - saturateAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_saturate(this.peer.ptr, value) + saturate0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_saturate0(this.peer.ptr, value) } - sepiaAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_sepia(this.peer.ptr, value) + saturate1Attribute(value: number | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_saturate1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + sepia0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_sepia0(this.peer.ptr, value) + } + sepia1Attribute(value: number | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_sepia1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - invertAttribute(value: number | InvertOptions): void { + invert0Attribute(value: number | InvertOptions): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as InvertOptions thisSerializer.writeInvertOptions(value_1) } - ArkUIGeneratedNativeModule._CommonMethod_invert(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_invert0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - hueRotateAttribute(value: number | string): void { + invert1Attribute(value: number | InvertOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as InvertOptions + thisSerializer.writeInvertOptions(value_value_1) + } + } + ArkUIGeneratedNativeModule._CommonMethod_invert1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + hueRotate0Attribute(value: number | string): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } - ArkUIGeneratedNativeModule._CommonMethod_hueRotate(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_hueRotate0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - useShadowBatchingAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._CommonMethod_useShadowBatching(this.peer.ptr, value ? 1 : 0) + hueRotate1Attribute(value: number | string | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as string + thisSerializer.writeString(value_value_1) + } + } + ArkUIGeneratedNativeModule._CommonMethod_hueRotate1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + useShadowBatching0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_useShadowBatching0(this.peer.ptr, value ? 1 : 0) + } + useShadowBatching1Attribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_useShadowBatching1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } useEffect0Attribute(value: boolean): void { ArkUIGeneratedNativeModule._CommonMethod_useEffect0(this.peer.ptr, value ? 1 : 0) @@ -3509,22 +3498,89 @@ export class ArkCommonMethodPeer extends PeerNode { useEffect1Attribute(useEffect: boolean, effectType: EffectType): void { ArkUIGeneratedNativeModule._CommonMethod_useEffect1(this.peer.ptr, useEffect ? 1 : 0, TypeChecker.EffectType_ToNumeric(effectType)) } - renderGroupAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._CommonMethod_renderGroup(this.peer.ptr, value ? 1 : 0) + useEffect2Attribute(useEffect: boolean | undefined, effectType?: EffectType): void { + const thisSerializer : Serializer = Serializer.hold() + let useEffect_type : int32 = RuntimeType.UNDEFINED + useEffect_type = runtimeType(useEffect) + thisSerializer.writeInt8(useEffect_type) + if ((RuntimeType.UNDEFINED) != (useEffect_type)) { + const useEffect_value = useEffect! + thisSerializer.writeBoolean(useEffect_value) + } + let effectType_type : int32 = RuntimeType.UNDEFINED + effectType_type = runtimeType(effectType) + thisSerializer.writeInt8(effectType_type) + if ((RuntimeType.UNDEFINED) != (effectType_type)) { + const effectType_value = (effectType as EffectType) + thisSerializer.writeInt32(TypeChecker.EffectType_ToNumeric(effectType_value)) + } + ArkUIGeneratedNativeModule._CommonMethod_useEffect2(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + renderGroup0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_renderGroup0(this.peer.ptr, value ? 1 : 0) + } + renderGroup1Attribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_renderGroup1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + freeze0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_freeze0(this.peer.ptr, value ? 1 : 0) } - freezeAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._CommonMethod_freeze(this.peer.ptr, value ? 1 : 0) + freeze1Attribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_freeze1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - translateAttribute(value: TranslateOptions): void { + translate0Attribute(value: TranslateOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeTranslateOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_translate(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_translate0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - scaleAttribute(value: ScaleOptions): void { + translate1Attribute(value: TranslateOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeTranslateOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_translate1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + scale0Attribute(value: ScaleOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeScaleOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_scale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_scale0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + scale1Attribute(value: ScaleOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeScaleOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_scale1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } gridSpanAttribute(value: number): void { @@ -3533,16 +3589,40 @@ export class ArkCommonMethodPeer extends PeerNode { gridOffsetAttribute(value: number): void { ArkUIGeneratedNativeModule._CommonMethod_gridOffset(this.peer.ptr, value) } - rotateAttribute(value: RotateOptions): void { + rotate0Attribute(value: RotateOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeRotateOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_rotate(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_rotate0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - transformAttribute(value: TransformationMatrix): void { + rotate1Attribute(value: RotateOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeRotateOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_rotate1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + transform0Attribute(value: TransformationMatrix): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeTransformationMatrix(value) - ArkUIGeneratedNativeModule._CommonMethod_transform(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_transform0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + transform1Attribute(value: Object | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteObject(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_transform1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onAppearAttribute(value: (() => void)): void { @@ -3589,12 +3669,12 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -3621,17 +3701,17 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isPosition(value, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Position thisSerializer.writePosition(value_0) } else if (TypeChecker.isEdges(value, true, false, true, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Edges thisSerializer.writeEdges(value_1) } else if (TypeChecker.isLocalizedEdges(value, true, false, true, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as LocalizedEdges thisSerializer.writeLocalizedEdges(value_2) } @@ -3643,12 +3723,12 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isPosition(value, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Position thisSerializer.writePosition(value_0) } else if (TypeChecker.isLocalizedPosition(value, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as LocalizedPosition thisSerializer.writeLocalizedPosition(value_1) } @@ -3660,17 +3740,17 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isPosition(value, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Position thisSerializer.writePosition(value_0) } else if (TypeChecker.isEdges(value, true, false, true, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Edges thisSerializer.writeEdges(value_1) } else if (TypeChecker.isLocalizedEdges(value, true, false, true, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as LocalizedEdges thisSerializer.writeLocalizedEdges(value_2) } @@ -3685,18 +3765,18 @@ export class ArkCommonMethodPeer extends PeerNode { const value_xs = value.xs let value_xs_type : int32 = RuntimeType.UNDEFINED value_xs_type = runtimeType(value_xs) - thisSerializer.writeInt8(value_xs_type as int32) + thisSerializer.writeInt8(value_xs_type) if ((RuntimeType.UNDEFINED) != (value_xs_type)) { const value_xs_value = value_xs! let value_xs_value_type : int32 = RuntimeType.UNDEFINED value_xs_value_type = runtimeType(value_xs_value) if (RuntimeType.NUMBER == value_xs_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_xs_value_0 = value_xs_value as number thisSerializer.writeNumber(value_xs_value_0) } else if (RuntimeType.OBJECT == value_xs_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_xs_value_1 = value_xs_value as Literal_Number_offset_span const value_xs_value_1_span = value_xs_value_1.span thisSerializer.writeNumber(value_xs_value_1_span) @@ -3707,18 +3787,18 @@ export class ArkCommonMethodPeer extends PeerNode { const value_sm = value.sm let value_sm_type : int32 = RuntimeType.UNDEFINED value_sm_type = runtimeType(value_sm) - thisSerializer.writeInt8(value_sm_type as int32) + thisSerializer.writeInt8(value_sm_type) if ((RuntimeType.UNDEFINED) != (value_sm_type)) { const value_sm_value = value_sm! let value_sm_value_type : int32 = RuntimeType.UNDEFINED value_sm_value_type = runtimeType(value_sm_value) if (RuntimeType.NUMBER == value_sm_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_sm_value_0 = value_sm_value as number thisSerializer.writeNumber(value_sm_value_0) } else if (RuntimeType.OBJECT == value_sm_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_sm_value_1 = value_sm_value as Literal_Number_offset_span const value_sm_value_1_span = value_sm_value_1.span thisSerializer.writeNumber(value_sm_value_1_span) @@ -3729,18 +3809,18 @@ export class ArkCommonMethodPeer extends PeerNode { const value_md = value.md let value_md_type : int32 = RuntimeType.UNDEFINED value_md_type = runtimeType(value_md) - thisSerializer.writeInt8(value_md_type as int32) + thisSerializer.writeInt8(value_md_type) if ((RuntimeType.UNDEFINED) != (value_md_type)) { const value_md_value = value_md! let value_md_value_type : int32 = RuntimeType.UNDEFINED value_md_value_type = runtimeType(value_md_value) if (RuntimeType.NUMBER == value_md_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_md_value_0 = value_md_value as number thisSerializer.writeNumber(value_md_value_0) } else if (RuntimeType.OBJECT == value_md_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_md_value_1 = value_md_value as Literal_Number_offset_span const value_md_value_1_span = value_md_value_1.span thisSerializer.writeNumber(value_md_value_1_span) @@ -3751,18 +3831,18 @@ export class ArkCommonMethodPeer extends PeerNode { const value_lg = value.lg let value_lg_type : int32 = RuntimeType.UNDEFINED value_lg_type = runtimeType(value_lg) - thisSerializer.writeInt8(value_lg_type as int32) + thisSerializer.writeInt8(value_lg_type) if ((RuntimeType.UNDEFINED) != (value_lg_type)) { const value_lg_value = value_lg! let value_lg_value_type : int32 = RuntimeType.UNDEFINED value_lg_value_type = runtimeType(value_lg_value) if (RuntimeType.NUMBER == value_lg_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_lg_value_0 = value_lg_value as number thisSerializer.writeNumber(value_lg_value_0) } else if (RuntimeType.OBJECT == value_lg_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_lg_value_1 = value_lg_value as Literal_Number_offset_span const value_lg_value_1_span = value_lg_value_1.span thisSerializer.writeNumber(value_lg_value_1_span) @@ -3785,19 +3865,31 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_alignRules1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - aspectRatioAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_aspectRatio(this.peer.ptr, value) - } - clickEffectAttribute(value: ClickEffect | undefined): void { + aspectRatioAttribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_aspectRatio(this.peer.ptr, value) + } + clickEffect0Attribute(value: ClickEffect | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeClickEffect(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_clickEffect0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + clickEffect1Attribute(value: ClickEffect | undefined): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeClickEffect(value_value) } - ArkUIGeneratedNativeModule._CommonMethod_clickEffect(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_clickEffect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onDragStartAttribute(value: ((event: DragEvent,extraParams?: string) => CustomBuilder | DragItemInfo)): void { @@ -3824,10 +3916,23 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onDragLeave(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onDropAttribute(value: ((event: DragEvent,extraParams?: string) => void)): void { + onDrop0Attribute(value: ((event: DragEvent,extraParams?: string) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._CommonMethod_onDrop(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_onDrop0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onDrop1Attribute(eventCallback: OnDragEventCallback, dropOptions?: DropOptions): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(eventCallback) + let dropOptions_type : int32 = RuntimeType.UNDEFINED + dropOptions_type = runtimeType(dropOptions) + thisSerializer.writeInt8(dropOptions_type) + if ((RuntimeType.UNDEFINED) != (dropOptions_type)) { + const dropOptions_value = dropOptions! + thisSerializer.writeDropOptions(dropOptions_value) + } + ArkUIGeneratedNativeModule._CommonMethod_onDrop1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onDragEndAttribute(value: ((event: DragEvent,extraParams?: string) => void)): void { @@ -3840,7 +3945,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeInt32(value_value.length as int32) @@ -3855,26 +3960,55 @@ export class ArkCommonMethodPeer extends PeerNode { draggableAttribute(value: boolean): void { ArkUIGeneratedNativeModule._CommonMethod_draggable(this.peer.ptr, value ? 1 : 0) } - dragPreviewAttribute(value: CustomBuilder | DragItemInfo | string): void { + dragPreview0Attribute(value: CustomBuilder | DragItemInfo | string): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.FUNCTION == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as CustomBuilder thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_0)) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as DragItemInfo thisSerializer.writeDragItemInfo(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } - ArkUIGeneratedNativeModule._CommonMethod_dragPreview(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_dragPreview0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + dragPreview1Attribute(preview: CustomBuilder | DragItemInfo | string, config?: PreviewConfiguration): void { + const thisSerializer : Serializer = Serializer.hold() + let preview_type : int32 = RuntimeType.UNDEFINED + preview_type = runtimeType(preview) + if (RuntimeType.FUNCTION == preview_type) { + thisSerializer.writeInt8(0) + const preview_0 = preview as CustomBuilder + thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(preview_0)) + } + else if (RuntimeType.OBJECT == preview_type) { + thisSerializer.writeInt8(1) + const preview_1 = preview as DragItemInfo + thisSerializer.writeDragItemInfo(preview_1) + } + else if (RuntimeType.STRING == preview_type) { + thisSerializer.writeInt8(2) + const preview_2 = preview as string + thisSerializer.writeString(preview_2) + } + let config_type : int32 = RuntimeType.UNDEFINED + config_type = runtimeType(config) + thisSerializer.writeInt8(config_type) + if ((RuntimeType.UNDEFINED) != (config_type)) { + const config_value = config! + thisSerializer.writePreviewConfiguration(config_value) + } + ArkUIGeneratedNativeModule._CommonMethod_dragPreview1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onPreDragAttribute(value: ((parameter: PreDragStatus) => void)): void { @@ -3883,304 +4017,58 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onPreDrag(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - linearGradientAttribute(value: Type_CommonMethod_linearGradient_value): void { - const thisSerializer : Serializer = Serializer.hold() - const value_angle = value.angle - let value_angle_type : int32 = RuntimeType.UNDEFINED - value_angle_type = runtimeType(value_angle) - thisSerializer.writeInt8(value_angle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_angle_type)) { - const value_angle_value = value_angle! - let value_angle_value_type : int32 = RuntimeType.UNDEFINED - value_angle_value_type = runtimeType(value_angle_value) - if (RuntimeType.NUMBER == value_angle_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_angle_value_0 = value_angle_value as number - thisSerializer.writeNumber(value_angle_value_0) - } - else if (RuntimeType.STRING == value_angle_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_angle_value_1 = value_angle_value as string - thisSerializer.writeString(value_angle_value_1) - } - } - const value_direction = value.direction - let value_direction_type : int32 = RuntimeType.UNDEFINED - value_direction_type = runtimeType(value_direction) - thisSerializer.writeInt8(value_direction_type as int32) - if ((RuntimeType.UNDEFINED) != (value_direction_type)) { - const value_direction_value = (value_direction as GradientDirection) - thisSerializer.writeInt32(TypeChecker.GradientDirection_ToNumeric(value_direction_value)) - } - const value_colors = value.colors - thisSerializer.writeInt32(value_colors.length as int32) - for (let i = 0; i < value_colors.length; i++) { - const value_colors_element : [ ResourceColor, number ] = value_colors[i] - const value_colors_element_0 = value_colors_element[0] - let value_colors_element_0_type : int32 = RuntimeType.UNDEFINED - value_colors_element_0_type = runtimeType(value_colors_element_0) - if (TypeChecker.isColor(value_colors_element_0)) { - thisSerializer.writeInt8(0 as int32) - const value_colors_element_0_0 = value_colors_element_0 as Color - thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_colors_element_0_0)) - } - else if (RuntimeType.NUMBER == value_colors_element_0_type) { - thisSerializer.writeInt8(1 as int32) - const value_colors_element_0_1 = value_colors_element_0 as number - thisSerializer.writeNumber(value_colors_element_0_1) - } - else if (RuntimeType.STRING == value_colors_element_0_type) { - thisSerializer.writeInt8(2 as int32) - const value_colors_element_0_2 = value_colors_element_0 as string - thisSerializer.writeString(value_colors_element_0_2) - } - else if (RuntimeType.OBJECT == value_colors_element_0_type) { - thisSerializer.writeInt8(3 as int32) - const value_colors_element_0_3 = value_colors_element_0 as Resource - thisSerializer.writeResource(value_colors_element_0_3) - } - const value_colors_element_1 = value_colors_element[1] - thisSerializer.writeNumber(value_colors_element_1) - } - const value_repeating = value.repeating - let value_repeating_type : int32 = RuntimeType.UNDEFINED - value_repeating_type = runtimeType(value_repeating) - thisSerializer.writeInt8(value_repeating_type as int32) - if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { - const value_repeating_value = value_repeating! - thisSerializer.writeBoolean(value_repeating_value) - } - ArkUIGeneratedNativeModule._CommonMethod_linearGradient(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - sweepGradientAttribute(value: Type_CommonMethod_sweepGradient_value): void { - const thisSerializer : Serializer = Serializer.hold() - const value_center = value.center - const value_center_0 = value_center[0] - let value_center_0_type : int32 = RuntimeType.UNDEFINED - value_center_0_type = runtimeType(value_center_0) - if (RuntimeType.STRING == value_center_0_type) { - thisSerializer.writeInt8(0 as int32) - const value_center_0_0 = value_center_0 as string - thisSerializer.writeString(value_center_0_0) - } - else if (RuntimeType.NUMBER == value_center_0_type) { - thisSerializer.writeInt8(1 as int32) - const value_center_0_1 = value_center_0 as number - thisSerializer.writeNumber(value_center_0_1) - } - else if (RuntimeType.OBJECT == value_center_0_type) { - thisSerializer.writeInt8(2 as int32) - const value_center_0_2 = value_center_0 as Resource - thisSerializer.writeResource(value_center_0_2) - } - const value_center_1 = value_center[1] - let value_center_1_type : int32 = RuntimeType.UNDEFINED - value_center_1_type = runtimeType(value_center_1) - if (RuntimeType.STRING == value_center_1_type) { - thisSerializer.writeInt8(0 as int32) - const value_center_1_0 = value_center_1 as string - thisSerializer.writeString(value_center_1_0) - } - else if (RuntimeType.NUMBER == value_center_1_type) { - thisSerializer.writeInt8(1 as int32) - const value_center_1_1 = value_center_1 as number - thisSerializer.writeNumber(value_center_1_1) - } - else if (RuntimeType.OBJECT == value_center_1_type) { - thisSerializer.writeInt8(2 as int32) - const value_center_1_2 = value_center_1 as Resource - thisSerializer.writeResource(value_center_1_2) - } - const value_start = value.start - let value_start_type : int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - thisSerializer.writeInt8(value_start_type as int32) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - let value_start_value_type : int32 = RuntimeType.UNDEFINED - value_start_value_type = runtimeType(value_start_value) - if (RuntimeType.NUMBER == value_start_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_start_value_0 = value_start_value as number - thisSerializer.writeNumber(value_start_value_0) - } - else if (RuntimeType.STRING == value_start_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_start_value_1 = value_start_value as string - thisSerializer.writeString(value_start_value_1) - } - } - const value_end = value.end - let value_end_type : int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - thisSerializer.writeInt8(value_end_type as int32) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - let value_end_value_type : int32 = RuntimeType.UNDEFINED - value_end_value_type = runtimeType(value_end_value) - if (RuntimeType.NUMBER == value_end_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_end_value_0 = value_end_value as number - thisSerializer.writeNumber(value_end_value_0) - } - else if (RuntimeType.STRING == value_end_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_end_value_1 = value_end_value as string - thisSerializer.writeString(value_end_value_1) - } - } - const value_rotation = value.rotation - let value_rotation_type : int32 = RuntimeType.UNDEFINED - value_rotation_type = runtimeType(value_rotation) - thisSerializer.writeInt8(value_rotation_type as int32) - if ((RuntimeType.UNDEFINED) != (value_rotation_type)) { - const value_rotation_value = value_rotation! - let value_rotation_value_type : int32 = RuntimeType.UNDEFINED - value_rotation_value_type = runtimeType(value_rotation_value) - if (RuntimeType.NUMBER == value_rotation_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_rotation_value_0 = value_rotation_value as number - thisSerializer.writeNumber(value_rotation_value_0) - } - else if (RuntimeType.STRING == value_rotation_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_rotation_value_1 = value_rotation_value as string - thisSerializer.writeString(value_rotation_value_1) - } - } - const value_colors = value.colors - thisSerializer.writeInt32(value_colors.length as int32) - for (let i = 0; i < value_colors.length; i++) { - const value_colors_element : [ ResourceColor, number ] = value_colors[i] - const value_colors_element_0 = value_colors_element[0] - let value_colors_element_0_type : int32 = RuntimeType.UNDEFINED - value_colors_element_0_type = runtimeType(value_colors_element_0) - if (TypeChecker.isColor(value_colors_element_0)) { - thisSerializer.writeInt8(0 as int32) - const value_colors_element_0_0 = value_colors_element_0 as Color - thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_colors_element_0_0)) - } - else if (RuntimeType.NUMBER == value_colors_element_0_type) { - thisSerializer.writeInt8(1 as int32) - const value_colors_element_0_1 = value_colors_element_0 as number - thisSerializer.writeNumber(value_colors_element_0_1) - } - else if (RuntimeType.STRING == value_colors_element_0_type) { - thisSerializer.writeInt8(2 as int32) - const value_colors_element_0_2 = value_colors_element_0 as string - thisSerializer.writeString(value_colors_element_0_2) - } - else if (RuntimeType.OBJECT == value_colors_element_0_type) { - thisSerializer.writeInt8(3 as int32) - const value_colors_element_0_3 = value_colors_element_0 as Resource - thisSerializer.writeResource(value_colors_element_0_3) - } - const value_colors_element_1 = value_colors_element[1] - thisSerializer.writeNumber(value_colors_element_1) - } - const value_repeating = value.repeating - let value_repeating_type : int32 = RuntimeType.UNDEFINED - value_repeating_type = runtimeType(value_repeating) - thisSerializer.writeInt8(value_repeating_type as int32) - if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { - const value_repeating_value = value_repeating! - thisSerializer.writeBoolean(value_repeating_value) - } - ArkUIGeneratedNativeModule._CommonMethod_sweepGradient(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - radialGradientAttribute(value: Type_CommonMethod_radialGradient_value): void { - const thisSerializer : Serializer = Serializer.hold() - const value_center = value.center - const value_center_0 = value_center[0] - let value_center_0_type : int32 = RuntimeType.UNDEFINED - value_center_0_type = runtimeType(value_center_0) - if (RuntimeType.STRING == value_center_0_type) { - thisSerializer.writeInt8(0 as int32) - const value_center_0_0 = value_center_0 as string - thisSerializer.writeString(value_center_0_0) - } - else if (RuntimeType.NUMBER == value_center_0_type) { - thisSerializer.writeInt8(1 as int32) - const value_center_0_1 = value_center_0 as number - thisSerializer.writeNumber(value_center_0_1) - } - else if (RuntimeType.OBJECT == value_center_0_type) { - thisSerializer.writeInt8(2 as int32) - const value_center_0_2 = value_center_0 as Resource - thisSerializer.writeResource(value_center_0_2) - } - const value_center_1 = value_center[1] - let value_center_1_type : int32 = RuntimeType.UNDEFINED - value_center_1_type = runtimeType(value_center_1) - if (RuntimeType.STRING == value_center_1_type) { - thisSerializer.writeInt8(0 as int32) - const value_center_1_0 = value_center_1 as string - thisSerializer.writeString(value_center_1_0) - } - else if (RuntimeType.NUMBER == value_center_1_type) { - thisSerializer.writeInt8(1 as int32) - const value_center_1_1 = value_center_1 as number - thisSerializer.writeNumber(value_center_1_1) - } - else if (RuntimeType.OBJECT == value_center_1_type) { - thisSerializer.writeInt8(2 as int32) - const value_center_1_2 = value_center_1 as Resource - thisSerializer.writeResource(value_center_1_2) - } - const value_radius = value.radius - let value_radius_type : int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - if (RuntimeType.NUMBER == value_radius_type) { - thisSerializer.writeInt8(0 as int32) - const value_radius_0 = value_radius as number - thisSerializer.writeNumber(value_radius_0) - } - else if (RuntimeType.STRING == value_radius_type) { - thisSerializer.writeInt8(1 as int32) - const value_radius_1 = value_radius as string - thisSerializer.writeString(value_radius_1) - } - const value_colors = value.colors - thisSerializer.writeInt32(value_colors.length as int32) - for (let i = 0; i < value_colors.length; i++) { - const value_colors_element : [ ResourceColor, number ] = value_colors[i] - const value_colors_element_0 = value_colors_element[0] - let value_colors_element_0_type : int32 = RuntimeType.UNDEFINED - value_colors_element_0_type = runtimeType(value_colors_element_0) - if (TypeChecker.isColor(value_colors_element_0)) { - thisSerializer.writeInt8(0 as int32) - const value_colors_element_0_0 = value_colors_element_0 as Color - thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_colors_element_0_0)) - } - else if (RuntimeType.NUMBER == value_colors_element_0_type) { - thisSerializer.writeInt8(1 as int32) - const value_colors_element_0_1 = value_colors_element_0 as number - thisSerializer.writeNumber(value_colors_element_0_1) - } - else if (RuntimeType.STRING == value_colors_element_0_type) { - thisSerializer.writeInt8(2 as int32) - const value_colors_element_0_2 = value_colors_element_0 as string - thisSerializer.writeString(value_colors_element_0_2) - } - else if (RuntimeType.OBJECT == value_colors_element_0_type) { - thisSerializer.writeInt8(3 as int32) - const value_colors_element_0_3 = value_colors_element_0 as Resource - thisSerializer.writeResource(value_colors_element_0_3) - } - const value_colors_element_1 = value_colors_element[1] - thisSerializer.writeNumber(value_colors_element_1) - } - const value_repeating = value.repeating - let value_repeating_type : int32 = RuntimeType.UNDEFINED - value_repeating_type = runtimeType(value_repeating) - thisSerializer.writeInt8(value_repeating_type as int32) - if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { - const value_repeating_value = value_repeating! - thisSerializer.writeBoolean(value_repeating_value) - } - ArkUIGeneratedNativeModule._CommonMethod_radialGradient(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + linearGradient0Attribute(value: LinearGradientOptions): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeLinearGradientOptions(value) + ArkUIGeneratedNativeModule._CommonMethod_linearGradient0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + linearGradient1Attribute(value: LinearGradientOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeLinearGradientOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_linearGradient1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + sweepGradient0Attribute(value: SweepGradientOptions): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeSweepGradientOptions(value) + ArkUIGeneratedNativeModule._CommonMethod_sweepGradient0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + sweepGradient1Attribute(value: SweepGradientOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeSweepGradientOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_sweepGradient1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + radialGradient0Attribute(value: RadialGradientOptions): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeRadialGradientOptions(value) + ArkUIGeneratedNativeModule._CommonMethod_radialGradient0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + radialGradient1Attribute(value: RadialGradientOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeRadialGradientOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_radialGradient1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } motionPathAttribute(value: MotionPathOptions): void { @@ -4189,28 +4077,51 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_motionPath(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - shadowAttribute(value: ShadowOptions | ShadowStyle): void { + shadow0Attribute(value: ShadowOptions | ShadowStyle): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ShadowOptions thisSerializer.writeShadowOptions(value_0) } else if (TypeChecker.isShadowStyle(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as ShadowStyle thisSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_1)) } - ArkUIGeneratedNativeModule._CommonMethod_shadow(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_shadow0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + shadow1Attribute(value: ShadowOptions | ShadowStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as ShadowOptions + thisSerializer.writeShadowOptions(value_value_0) + } + else if (TypeChecker.isShadowStyle(value_value)) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as ShadowStyle + thisSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_value_1)) + } + } + ArkUIGeneratedNativeModule._CommonMethod_shadow1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } clip0Attribute(value: boolean | undefined): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeBoolean(value_value) @@ -4222,7 +4133,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeBoolean(value_value) @@ -4230,38 +4141,83 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_clip1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - clipShapeAttribute(value: CircleShape | EllipseShape | PathShape | RectShape): void { + clip2Attribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_clip2(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + clipShape0Attribute(value: CircleShape | EllipseShape | PathShape | RectShape): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isCircleShape(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as CircleShape thisSerializer.writeCircleShape(value_0) } else if (TypeChecker.isEllipseShape(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as EllipseShape thisSerializer.writeEllipseShape(value_1) } else if (TypeChecker.isPathShape(value)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as PathShape thisSerializer.writePathShape(value_2) } else if (TypeChecker.isRectShape(value)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as RectShape thisSerializer.writeRectShape(value_3) } - ArkUIGeneratedNativeModule._CommonMethod_clipShape(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_clipShape0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + clipShape1Attribute(value: CircleShape | EllipseShape | PathShape | RectShape | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isCircleShape(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as CircleShape + thisSerializer.writeCircleShape(value_value_0) + } + else if (TypeChecker.isEllipseShape(value_value)) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as EllipseShape + thisSerializer.writeEllipseShape(value_value_1) + } + else if (TypeChecker.isPathShape(value_value)) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as PathShape + thisSerializer.writePathShape(value_value_2) + } + else if (TypeChecker.isRectShape(value_value)) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as RectShape + thisSerializer.writeRectShape(value_value_3) + } + } + ArkUIGeneratedNativeModule._CommonMethod_clipShape1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } mask0Attribute(value: ProgressMask | undefined): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeProgressMask(value_value) @@ -4273,7 +4229,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeProgressMask(value_value) @@ -4281,31 +4237,76 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_mask1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - maskShapeAttribute(value: CircleShape | EllipseShape | PathShape | RectShape): void { + mask2Attribute(value: ProgressMask | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeProgressMask(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_mask2(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maskShape0Attribute(value: CircleShape | EllipseShape | PathShape | RectShape): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isCircleShape(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as CircleShape thisSerializer.writeCircleShape(value_0) } else if (TypeChecker.isEllipseShape(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as EllipseShape thisSerializer.writeEllipseShape(value_1) } else if (TypeChecker.isPathShape(value)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as PathShape thisSerializer.writePathShape(value_2) } else if (TypeChecker.isRectShape(value)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as RectShape thisSerializer.writeRectShape(value_3) } - ArkUIGeneratedNativeModule._CommonMethod_maskShape(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_maskShape0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maskShape1Attribute(value: CircleShape | EllipseShape | PathShape | RectShape | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isCircleShape(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as CircleShape + thisSerializer.writeCircleShape(value_value_0) + } + else if (TypeChecker.isEllipseShape(value_value)) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as EllipseShape + thisSerializer.writeEllipseShape(value_value_1) + } + else if (TypeChecker.isPathShape(value_value)) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as PathShape + thisSerializer.writePathShape(value_value_2) + } + else if (TypeChecker.isRectShape(value_value)) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as RectShape + thisSerializer.writeRectShape(value_value_3) + } + } + ArkUIGeneratedNativeModule._CommonMethod_maskShape1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } keyAttribute(value: string): void { @@ -4321,7 +4322,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeGeometryTransitionOptions(options_value) @@ -4338,16 +4339,52 @@ export class ArkCommonMethodPeer extends PeerNode { restoreIdAttribute(value: number): void { ArkUIGeneratedNativeModule._CommonMethod_restoreId(this.peer.ptr, value) } - sphericalEffectAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_sphericalEffect(this.peer.ptr, value) + sphericalEffect0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_sphericalEffect0(this.peer.ptr, value) + } + sphericalEffect1Attribute(value: number | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_sphericalEffect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + lightUpEffect0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_lightUpEffect0(this.peer.ptr, value) } - lightUpEffectAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_lightUpEffect(this.peer.ptr, value) + lightUpEffect1Attribute(value: number | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_lightUpEffect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - pixelStretchEffectAttribute(value: PixelStretchEffectOptions): void { + pixelStretchEffect0Attribute(value: PixelStretchEffectOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writePixelStretchEffectOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_pixelStretchEffect(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_pixelStretchEffect0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + pixelStretchEffect1Attribute(value: PixelStretchEffectOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePixelStretchEffectOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_pixelStretchEffect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } accessibilityGroup0Attribute(value: boolean): void { @@ -4368,6 +4405,27 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_accessibilityText1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + accessibilityNextFocusIdAttribute(value: string): void { + ArkUIGeneratedNativeModule._CommonMethod_accessibilityNextFocusId(this.peer.ptr, value) + } + accessibilityDefaultFocusAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_accessibilityDefaultFocus(this.peer.ptr, value ? 1 : 0) + } + accessibilityUseSamePageAttribute(value: AccessibilitySamePageMode): void { + ArkUIGeneratedNativeModule._CommonMethod_accessibilityUseSamePage(this.peer.ptr, TypeChecker.AccessibilitySamePageMode_ToNumeric(value)) + } + accessibilityScrollTriggerableAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_accessibilityScrollTriggerable(this.peer.ptr, value ? 1 : 0) + } + accessibilityRoleAttribute(value: AccessibilityRoleType): void { + ArkUIGeneratedNativeModule._CommonMethod_accessibilityRole(this.peer.ptr, TypeChecker.AccessibilityRoleType_ToNumeric(value)) + } + onAccessibilityFocusAttribute(value: AccessibilityFocusCallback): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onAccessibilityFocus(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } accessibilityTextHintAttribute(value: string): void { ArkUIGeneratedNativeModule._CommonMethod_accessibilityTextHint(this.peer.ptr, value) } @@ -4408,16 +4466,46 @@ export class ArkCommonMethodPeer extends PeerNode { reuseIdAttribute(value: string): void { ArkUIGeneratedNativeModule._CommonMethod_reuseId(this.peer.ptr, value) } - renderFitAttribute(value: RenderFit): void { - ArkUIGeneratedNativeModule._CommonMethod_renderFit(this.peer.ptr, TypeChecker.RenderFit_ToNumeric(value)) + reuseAttribute(value: ReuseOptions): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeReuseOptions(value) + ArkUIGeneratedNativeModule._CommonMethod_reuse(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + renderFit0Attribute(value: RenderFit): void { + ArkUIGeneratedNativeModule._CommonMethod_renderFit0(this.peer.ptr, TypeChecker.RenderFit_ToNumeric(value)) + } + renderFit1Attribute(value: RenderFit | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as RenderFit) + thisSerializer.writeInt32(TypeChecker.RenderFit_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._CommonMethod_renderFit1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } gestureModifierAttribute(value: GestureModifier): void { ArkUIGeneratedNativeModule._CommonMethod_gestureModifier(this.peer.ptr, toPeerPtr(value)) } - backgroundBrightnessAttribute(value: BackgroundBrightnessOptions): void { + backgroundBrightness0Attribute(value: BackgroundBrightnessOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeBackgroundBrightnessOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_backgroundBrightness(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_backgroundBrightness0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backgroundBrightness1Attribute(value: BackgroundBrightnessOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBackgroundBrightnessOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backgroundBrightness1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onGestureJudgeBeginAttribute(value: ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult)): void { @@ -4459,11 +4547,14 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onSizeChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + accessibilityFocusDrawLevelAttribute(value: FocusDrawLevel): void { + ArkUIGeneratedNativeModule._CommonMethod_accessibilityFocusDrawLevel(this.peer.ptr, TypeChecker.FocusDrawLevel_ToNumeric(value)) + } customPropertyAttribute(name: string, value: Object | undefined): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.holdAndWriteObject(value_value) @@ -4475,7 +4566,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let types_type : int32 = RuntimeType.UNDEFINED types_type = runtimeType(types) - thisSerializer.writeInt8(types_type as int32) + thisSerializer.writeInt8(types_type) if ((RuntimeType.UNDEFINED) != (types_type)) { const types_value = types! thisSerializer.writeInt32(types_value.length as int32) @@ -4486,7 +4577,7 @@ export class ArkCommonMethodPeer extends PeerNode { } let edges_type : int32 = RuntimeType.UNDEFINED edges_type = runtimeType(edges) - thisSerializer.writeInt8(edges_type as int32) + thisSerializer.writeInt8(edges_type) if ((RuntimeType.UNDEFINED) != (edges_type)) { const edges_value = edges! thisSerializer.writeInt32(edges_value.length as int32) @@ -4503,13 +4594,13 @@ export class ArkCommonMethodPeer extends PeerNode { thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(builder)) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! const options_value_align = options_value.align let options_value_align_type : int32 = RuntimeType.UNDEFINED options_value_align_type = runtimeType(options_value_align) - thisSerializer.writeInt8(options_value_align_type as int32) + thisSerializer.writeInt8(options_value_align_type) if ((RuntimeType.UNDEFINED) != (options_value_align_type)) { const options_value_align_value = (options_value_align as Alignment) thisSerializer.writeInt32(TypeChecker.Alignment_ToNumeric(options_value_align_value)) @@ -4518,70 +4609,157 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_background(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - backgroundImageAttribute(src: ResourceStr | PixelMap, repeat?: ImageRepeat): void { + backgroundImage0Attribute(src: ResourceStr | PixelMap, repeat?: ImageRepeat): void { const thisSerializer : Serializer = Serializer.hold() let src_type : int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) if ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const src_0 = src as ResourceStr let src_0_type : int32 = RuntimeType.UNDEFINED src_0_type = runtimeType(src_0) if (RuntimeType.STRING == src_0_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const src_0_0 = src_0 as string thisSerializer.writeString(src_0_0) } else if (RuntimeType.OBJECT == src_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const src_0_1 = src_0 as Resource thisSerializer.writeResource(src_0_1) } } else if (TypeChecker.isPixelMap(src, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const src_1 = src as PixelMap thisSerializer.writePixelMap(src_1) } let repeat_type : int32 = RuntimeType.UNDEFINED repeat_type = runtimeType(repeat) - thisSerializer.writeInt8(repeat_type as int32) + thisSerializer.writeInt8(repeat_type) if ((RuntimeType.UNDEFINED) != (repeat_type)) { const repeat_value = (repeat as ImageRepeat) thisSerializer.writeInt32(TypeChecker.ImageRepeat_ToNumeric(repeat_value)) } - ArkUIGeneratedNativeModule._CommonMethod_backgroundImage(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_backgroundImage0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backgroundImage1Attribute(src: ResourceStr | PixelMap, options?: BackgroundImageOptions): void { + const thisSerializer : Serializer = Serializer.hold() + let src_type : int32 = RuntimeType.UNDEFINED + src_type = runtimeType(src) + if ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) { + thisSerializer.writeInt8(0) + const src_0 = src as ResourceStr + let src_0_type : int32 = RuntimeType.UNDEFINED + src_0_type = runtimeType(src_0) + if (RuntimeType.STRING == src_0_type) { + thisSerializer.writeInt8(0) + const src_0_0 = src_0 as string + thisSerializer.writeString(src_0_0) + } + else if (RuntimeType.OBJECT == src_0_type) { + thisSerializer.writeInt8(1) + const src_0_1 = src_0 as Resource + thisSerializer.writeResource(src_0_1) + } + } + else if (TypeChecker.isPixelMap(src, false, false)) { + thisSerializer.writeInt8(1) + const src_1 = src as PixelMap + thisSerializer.writePixelMap(src_1) + } + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeBackgroundImageOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backgroundImage1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backgroundBlurStyle0Attribute(value: BlurStyle, options?: BackgroundBlurStyleOptions): void { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeBackgroundBlurStyleOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backgroundBlurStyle0(this.peer.ptr, TypeChecker.BlurStyle_ToNumeric(value), thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - backgroundBlurStyleAttribute(value: BlurStyle, options?: BackgroundBlurStyleOptions): void { + backgroundBlurStyle1Attribute(style: BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): void { const thisSerializer : Serializer = Serializer.hold() + let style_type : int32 = RuntimeType.UNDEFINED + style_type = runtimeType(style) + thisSerializer.writeInt8(style_type) + if ((RuntimeType.UNDEFINED) != (style_type)) { + const style_value = (style as BlurStyle) + thisSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(style_value)) + } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeBackgroundBlurStyleOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_backgroundBlurStyle(this.peer.ptr, TypeChecker.BlurStyle_ToNumeric(value), thisSerializer.asBuffer(), thisSerializer.length()) + let sysOptions_type : int32 = RuntimeType.UNDEFINED + sysOptions_type = runtimeType(sysOptions) + thisSerializer.writeInt8(sysOptions_type) + if ((RuntimeType.UNDEFINED) != (sysOptions_type)) { + const sysOptions_value = sysOptions! + thisSerializer.writeSystemAdaptiveOptions(sysOptions_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backgroundBlurStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + foregroundBlurStyle0Attribute(value: BlurStyle, options?: ForegroundBlurStyleOptions): void { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeForegroundBlurStyleOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_foregroundBlurStyle0(this.peer.ptr, TypeChecker.BlurStyle_ToNumeric(value), thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - foregroundBlurStyleAttribute(value: BlurStyle, options?: ForegroundBlurStyleOptions): void { + foregroundBlurStyle1Attribute(style: BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): void { const thisSerializer : Serializer = Serializer.hold() + let style_type : int32 = RuntimeType.UNDEFINED + style_type = runtimeType(style) + thisSerializer.writeInt8(style_type) + if ((RuntimeType.UNDEFINED) != (style_type)) { + const style_value = (style as BlurStyle) + thisSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(style_value)) + } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeForegroundBlurStyleOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_foregroundBlurStyle(this.peer.ptr, TypeChecker.BlurStyle_ToNumeric(value), thisSerializer.asBuffer(), thisSerializer.length()) + let sysOptions_type : int32 = RuntimeType.UNDEFINED + sysOptions_type = runtimeType(sysOptions) + thisSerializer.writeInt8(sysOptions_type) + if ((RuntimeType.UNDEFINED) != (sysOptions_type)) { + const sysOptions_value = sysOptions! + thisSerializer.writeSystemAdaptiveOptions(sysOptions_value) + } + ArkUIGeneratedNativeModule._CommonMethod_foregroundBlurStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } focusScopeId0Attribute(id: string, isGroup?: boolean): void { const thisSerializer : Serializer = Serializer.hold() let isGroup_type : int32 = RuntimeType.UNDEFINED isGroup_type = runtimeType(isGroup) - thisSerializer.writeInt8(isGroup_type as int32) + thisSerializer.writeInt8(isGroup_type) if ((RuntimeType.UNDEFINED) != (isGroup_type)) { const isGroup_value = isGroup! thisSerializer.writeBoolean(isGroup_value) @@ -4593,14 +4771,14 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let isGroup_type : int32 = RuntimeType.UNDEFINED isGroup_type = runtimeType(isGroup) - thisSerializer.writeInt8(isGroup_type as int32) + thisSerializer.writeInt8(isGroup_type) if ((RuntimeType.UNDEFINED) != (isGroup_type)) { const isGroup_value = isGroup! thisSerializer.writeBoolean(isGroup_value) } let arrowStepOut_type : int32 = RuntimeType.UNDEFINED arrowStepOut_type = runtimeType(arrowStepOut) - thisSerializer.writeInt8(arrowStepOut_type as int32) + thisSerializer.writeInt8(arrowStepOut_type) if ((RuntimeType.UNDEFINED) != (arrowStepOut_type)) { const arrowStepOut_value = arrowStepOut! thisSerializer.writeBoolean(arrowStepOut_value) @@ -4612,7 +4790,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let priority_type : int32 = RuntimeType.UNDEFINED priority_type = runtimeType(priority) - thisSerializer.writeInt8(priority_type as int32) + thisSerializer.writeInt8(priority_type) if ((RuntimeType.UNDEFINED) != (priority_type)) { const priority_value = (priority as FocusPriority) thisSerializer.writeInt32(TypeChecker.FocusPriority_ToNumeric(priority_value)) @@ -4625,43 +4803,43 @@ export class ArkCommonMethodPeer extends PeerNode { let gesture_type : int32 = RuntimeType.UNDEFINED gesture_type = runtimeType(gesture) if (TypeChecker.isTapGestureInterface(gesture)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const gesture_0 = gesture as TapGestureInterface thisSerializer.writeTapGestureInterface(gesture_0) } else if (TypeChecker.isLongPressGestureInterface(gesture)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const gesture_1 = gesture as LongPressGestureInterface thisSerializer.writeLongPressGestureInterface(gesture_1) } else if (TypeChecker.isPanGestureInterface(gesture)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const gesture_2 = gesture as PanGestureInterface thisSerializer.writePanGestureInterface(gesture_2) } else if (TypeChecker.isPinchGestureInterface(gesture)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const gesture_3 = gesture as PinchGestureInterface thisSerializer.writePinchGestureInterface(gesture_3) } else if (TypeChecker.isSwipeGestureInterface(gesture)) { - thisSerializer.writeInt8(4 as int32) + thisSerializer.writeInt8(4) const gesture_4 = gesture as SwipeGestureInterface thisSerializer.writeSwipeGestureInterface(gesture_4) } else if (TypeChecker.isRotationGestureInterface(gesture)) { - thisSerializer.writeInt8(5 as int32) + thisSerializer.writeInt8(5) const gesture_5 = gesture as RotationGestureInterface thisSerializer.writeRotationGestureInterface(gesture_5) } else if (TypeChecker.isGestureGroupInterface(gesture)) { - thisSerializer.writeInt8(6 as int32) + thisSerializer.writeInt8(6) const gesture_6 = gesture as GestureGroupInterface thisSerializer.writeGestureGroupInterface(gesture_6) } let mask_type : int32 = RuntimeType.UNDEFINED mask_type = runtimeType(mask) - thisSerializer.writeInt8(mask_type as int32) + thisSerializer.writeInt8(mask_type) if ((RuntimeType.UNDEFINED) != (mask_type)) { const mask_value = (mask as GestureMask) thisSerializer.writeInt32(TypeChecker.GestureMask_ToNumeric(mask_value)) @@ -4674,43 +4852,43 @@ export class ArkCommonMethodPeer extends PeerNode { let gesture_type : int32 = RuntimeType.UNDEFINED gesture_type = runtimeType(gesture) if (TypeChecker.isTapGestureInterface(gesture)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const gesture_0 = gesture as TapGestureInterface thisSerializer.writeTapGestureInterface(gesture_0) } else if (TypeChecker.isLongPressGestureInterface(gesture)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const gesture_1 = gesture as LongPressGestureInterface thisSerializer.writeLongPressGestureInterface(gesture_1) } else if (TypeChecker.isPanGestureInterface(gesture)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const gesture_2 = gesture as PanGestureInterface thisSerializer.writePanGestureInterface(gesture_2) } else if (TypeChecker.isPinchGestureInterface(gesture)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const gesture_3 = gesture as PinchGestureInterface thisSerializer.writePinchGestureInterface(gesture_3) } else if (TypeChecker.isSwipeGestureInterface(gesture)) { - thisSerializer.writeInt8(4 as int32) + thisSerializer.writeInt8(4) const gesture_4 = gesture as SwipeGestureInterface thisSerializer.writeSwipeGestureInterface(gesture_4) } else if (TypeChecker.isRotationGestureInterface(gesture)) { - thisSerializer.writeInt8(5 as int32) + thisSerializer.writeInt8(5) const gesture_5 = gesture as RotationGestureInterface thisSerializer.writeRotationGestureInterface(gesture_5) } else if (TypeChecker.isGestureGroupInterface(gesture)) { - thisSerializer.writeInt8(6 as int32) + thisSerializer.writeInt8(6) const gesture_6 = gesture as GestureGroupInterface thisSerializer.writeGestureGroupInterface(gesture_6) } let mask_type : int32 = RuntimeType.UNDEFINED mask_type = runtimeType(mask) - thisSerializer.writeInt8(mask_type as int32) + thisSerializer.writeInt8(mask_type) if ((RuntimeType.UNDEFINED) != (mask_type)) { const mask_value = (mask as GestureMask) thisSerializer.writeInt32(TypeChecker.GestureMask_ToNumeric(mask_value)) @@ -4723,43 +4901,43 @@ export class ArkCommonMethodPeer extends PeerNode { let gesture_type : int32 = RuntimeType.UNDEFINED gesture_type = runtimeType(gesture) if (TypeChecker.isTapGestureInterface(gesture)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const gesture_0 = gesture as TapGestureInterface thisSerializer.writeTapGestureInterface(gesture_0) } else if (TypeChecker.isLongPressGestureInterface(gesture)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const gesture_1 = gesture as LongPressGestureInterface thisSerializer.writeLongPressGestureInterface(gesture_1) } else if (TypeChecker.isPanGestureInterface(gesture)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const gesture_2 = gesture as PanGestureInterface thisSerializer.writePanGestureInterface(gesture_2) } else if (TypeChecker.isPinchGestureInterface(gesture)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const gesture_3 = gesture as PinchGestureInterface thisSerializer.writePinchGestureInterface(gesture_3) } else if (TypeChecker.isSwipeGestureInterface(gesture)) { - thisSerializer.writeInt8(4 as int32) + thisSerializer.writeInt8(4) const gesture_4 = gesture as SwipeGestureInterface thisSerializer.writeSwipeGestureInterface(gesture_4) } else if (TypeChecker.isRotationGestureInterface(gesture)) { - thisSerializer.writeInt8(5 as int32) + thisSerializer.writeInt8(5) const gesture_5 = gesture as RotationGestureInterface thisSerializer.writeRotationGestureInterface(gesture_5) } else if (TypeChecker.isGestureGroupInterface(gesture)) { - thisSerializer.writeInt8(6 as int32) + thisSerializer.writeInt8(6) const gesture_6 = gesture as GestureGroupInterface thisSerializer.writeGestureGroupInterface(gesture_6) } let mask_type : int32 = RuntimeType.UNDEFINED mask_type = runtimeType(mask) - thisSerializer.writeInt8(mask_type as int32) + thisSerializer.writeInt8(mask_type) if ((RuntimeType.UNDEFINED) != (mask_type)) { const mask_value = (mask as GestureMask) thisSerializer.writeInt32(TypeChecker.GestureMask_ToNumeric(mask_value)) @@ -4767,44 +4945,115 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_parallelGesture(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - blurAttribute(value: number, options?: BlurOptions): void { + blur0Attribute(value: number, options?: BlurOptions): void { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeBlurOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_blur0(this.peer.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + blur1Attribute(blurRadius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): void { const thisSerializer : Serializer = Serializer.hold() + let blurRadius_type : int32 = RuntimeType.UNDEFINED + blurRadius_type = runtimeType(blurRadius) + thisSerializer.writeInt8(blurRadius_type) + if ((RuntimeType.UNDEFINED) != (blurRadius_type)) { + const blurRadius_value = blurRadius! + thisSerializer.writeNumber(blurRadius_value) + } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeBlurOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_blur(this.peer.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + let sysOptions_type : int32 = RuntimeType.UNDEFINED + sysOptions_type = runtimeType(sysOptions) + thisSerializer.writeInt8(sysOptions_type) + if ((RuntimeType.UNDEFINED) != (sysOptions_type)) { + const sysOptions_value = sysOptions! + thisSerializer.writeSystemAdaptiveOptions(sysOptions_value) + } + ArkUIGeneratedNativeModule._CommonMethod_blur1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - linearGradientBlurAttribute(value: number, options: LinearGradientBlurOptions): void { + linearGradientBlur0Attribute(value: number, options: LinearGradientBlurOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeLinearGradientBlurOptions(options) - ArkUIGeneratedNativeModule._CommonMethod_linearGradientBlur(this.peer.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_linearGradientBlur0(this.peer.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + linearGradientBlur1Attribute(blurRadius: number | undefined, options: LinearGradientBlurOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let blurRadius_type : int32 = RuntimeType.UNDEFINED + blurRadius_type = runtimeType(blurRadius) + thisSerializer.writeInt8(blurRadius_type) + if ((RuntimeType.UNDEFINED) != (blurRadius_type)) { + const blurRadius_value = blurRadius! + thisSerializer.writeNumber(blurRadius_value) + } + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeLinearGradientBlurOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_linearGradientBlur1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } systemBarEffectAttribute(): void { ArkUIGeneratedNativeModule._CommonMethod_systemBarEffect(this.peer.ptr) } - backdropBlurAttribute(value: number, options?: BlurOptions): void { + backdropBlur0Attribute(value: number, options?: BlurOptions): void { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeBlurOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backdropBlur0(this.peer.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backdropBlur1Attribute(radius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): void { const thisSerializer : Serializer = Serializer.hold() + let radius_type : int32 = RuntimeType.UNDEFINED + radius_type = runtimeType(radius) + thisSerializer.writeInt8(radius_type) + if ((RuntimeType.UNDEFINED) != (radius_type)) { + const radius_value = radius! + thisSerializer.writeNumber(radius_value) + } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeBlurOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_backdropBlur(this.peer.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + let sysOptions_type : int32 = RuntimeType.UNDEFINED + sysOptions_type = runtimeType(sysOptions) + thisSerializer.writeInt8(sysOptions_type) + if ((RuntimeType.UNDEFINED) != (sysOptions_type)) { + const sysOptions_value = sysOptions! + thisSerializer.writeSystemAdaptiveOptions(sysOptions_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backdropBlur1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } sharedTransitionAttribute(id: string, options?: sharedTransitionOptions): void { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writesharedTransitionOptions(options_value) @@ -4820,7 +5069,7 @@ export class ArkCommonMethodPeer extends PeerNode { thisSerializer.writeDragPreviewOptions(value) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeDragInteractionOptions(options_value) @@ -4833,23 +5082,23 @@ export class ArkCommonMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.FUNCTION == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as CustomBuilder thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_1)) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as ComponentContent thisSerializer.writeComponentContent(value_2) } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeOverlayOptions(options_value) @@ -4857,16 +5106,35 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_overlay(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - blendModeAttribute(value: BlendMode, type?: BlendApplyType): void { + blendMode0Attribute(value: BlendMode, type?: BlendApplyType): void { + const thisSerializer : Serializer = Serializer.hold() + let type_type : int32 = RuntimeType.UNDEFINED + type_type = runtimeType(type) + thisSerializer.writeInt8(type_type) + if ((RuntimeType.UNDEFINED) != (type_type)) { + const type_value = (type as BlendApplyType) + thisSerializer.writeInt32(TypeChecker.BlendApplyType_ToNumeric(type_value)) + } + ArkUIGeneratedNativeModule._CommonMethod_blendMode0(this.peer.ptr, TypeChecker.BlendMode_ToNumeric(value), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + blendMode1Attribute(mode: BlendMode | undefined, type?: BlendApplyType): void { const thisSerializer : Serializer = Serializer.hold() + let mode_type : int32 = RuntimeType.UNDEFINED + mode_type = runtimeType(mode) + thisSerializer.writeInt8(mode_type) + if ((RuntimeType.UNDEFINED) != (mode_type)) { + const mode_value = (mode as BlendMode) + thisSerializer.writeInt32(TypeChecker.BlendMode_ToNumeric(mode_value)) + } let type_type : int32 = RuntimeType.UNDEFINED type_type = runtimeType(type) - thisSerializer.writeInt8(type_type as int32) + thisSerializer.writeInt8(type_type) if ((RuntimeType.UNDEFINED) != (type_type)) { const type_value = (type as BlendApplyType) thisSerializer.writeInt32(TypeChecker.BlendApplyType_ToNumeric(type_value)) } - ArkUIGeneratedNativeModule._CommonMethod_blendMode(this.peer.ptr, TypeChecker.BlendMode_ToNumeric(value), thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_blendMode1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } advancedBlendModeAttribute(effect: BlendMode | BrightnessBlender, type?: BlendApplyType): void { @@ -4874,36 +5142,71 @@ export class ArkCommonMethodPeer extends PeerNode { let effect_type : int32 = RuntimeType.UNDEFINED effect_type = runtimeType(effect) if (TypeChecker.isBlendMode(effect)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const effect_0 = effect as BlendMode thisSerializer.writeInt32(TypeChecker.BlendMode_ToNumeric(effect_0)) } else if (RuntimeType.OBJECT == effect_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const effect_1 = effect as BrightnessBlender thisSerializer.writeBrightnessBlender(effect_1) } let type_type : int32 = RuntimeType.UNDEFINED type_type = runtimeType(type) - thisSerializer.writeInt8(type_type as int32) + thisSerializer.writeInt8(type_type) if ((RuntimeType.UNDEFINED) != (type_type)) { const type_value = (type as BlendApplyType) thisSerializer.writeInt32(TypeChecker.BlendApplyType_ToNumeric(type_value)) } - ArkUIGeneratedNativeModule._CommonMethod_advancedBlendMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_advancedBlendMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + bindTipsAttribute(message: TipsMessageType, options?: TipsOptions): void { + const thisSerializer : Serializer = Serializer.hold() + let message_type : int32 = RuntimeType.UNDEFINED + message_type = runtimeType(message) + if ((RuntimeType.STRING == message_type) || (RuntimeType.OBJECT == message_type)) { + thisSerializer.writeInt8(0) + const message_0 = message as ResourceStr + let message_0_type : int32 = RuntimeType.UNDEFINED + message_0_type = runtimeType(message_0) + if (RuntimeType.STRING == message_0_type) { + thisSerializer.writeInt8(0) + const message_0_0 = message_0 as string + thisSerializer.writeString(message_0_0) + } + else if (RuntimeType.OBJECT == message_0_type) { + thisSerializer.writeInt8(1) + const message_0_1 = message_0 as Resource + thisSerializer.writeResource(message_0_1) + } + } + else if (TypeChecker.isStyledString(message, false)) { + thisSerializer.writeInt8(1) + const message_1 = message as StyledString + thisSerializer.writeStyledString(message_1) + } + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeTipsOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_bindTips(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } bindPopupAttribute(show: boolean, popup: PopupOptions | CustomPopupOptions): void { const thisSerializer : Serializer = Serializer.hold() let popup_type : int32 = RuntimeType.UNDEFINED popup_type = runtimeType(popup) - if (TypeChecker.isPopupOptions(popup, false, false, true, false, false, true, true, true, true, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)) { - thisSerializer.writeInt8(0 as int32) + if (TypeChecker.isPopupOptions(popup, false, false, true, false, false, true, true, true, true, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true)) { + thisSerializer.writeInt8(0) const popup_0 = popup as PopupOptions thisSerializer.writePopupOptions(popup_0) } - else if (TypeChecker.isCustomPopupOptions(popup, false, true, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false, true, true, true, true)) { - thisSerializer.writeInt8(1 as int32) + else if (TypeChecker.isCustomPopupOptions(popup, false, true, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, false, true, true, true, true, true)) { + thisSerializer.writeInt8(1) const popup_1 = popup as CustomPopupOptions thisSerializer.writeCustomPopupOptions(popup_1) } @@ -4915,7 +5218,7 @@ export class ArkCommonMethodPeer extends PeerNode { let content_type : int32 = RuntimeType.UNDEFINED content_type = runtimeType(content) if (RuntimeType.OBJECT == content_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const content_0 = content as Array thisSerializer.writeInt32(content_0.length as int32) for (let i = 0; i < content_0.length; i++) { @@ -4924,13 +5227,13 @@ export class ArkCommonMethodPeer extends PeerNode { } } else if (RuntimeType.FUNCTION == content_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const content_1 = content as CustomBuilder thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(content_1)) } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeMenuOptions(options_value) @@ -4943,7 +5246,7 @@ export class ArkCommonMethodPeer extends PeerNode { let content_type : int32 = RuntimeType.UNDEFINED content_type = runtimeType(content) if (RuntimeType.OBJECT == content_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const content_0 = content as Array thisSerializer.writeInt32(content_0.length as int32) for (let i = 0; i < content_0.length; i++) { @@ -4952,13 +5255,13 @@ export class ArkCommonMethodPeer extends PeerNode { } } else if (RuntimeType.FUNCTION == content_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const content_1 = content as CustomBuilder thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(content_1)) } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeMenuOptions(options_value) @@ -4971,7 +5274,7 @@ export class ArkCommonMethodPeer extends PeerNode { thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(content)) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeContextMenuOptions(options_value) @@ -4984,7 +5287,7 @@ export class ArkCommonMethodPeer extends PeerNode { thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(content)) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeContextMenuOptions(options_value) @@ -4992,64 +5295,43 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_bindContextMenu1(this.peer.ptr, isShown ? 1 : 0, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - bindContentCover0Attribute(isShow: boolean | undefined, builder: CustomBuilder, type?: ModalTransition): void { + bindContentCover0Attribute(isShow: boolean, builder: CustomBuilder, type?: ModalTransition): void { const thisSerializer : Serializer = Serializer.hold() - let isShow_type : int32 = RuntimeType.UNDEFINED - isShow_type = runtimeType(isShow) - thisSerializer.writeInt8(isShow_type as int32) - if ((RuntimeType.UNDEFINED) != (isShow_type)) { - const isShow_value = isShow! - thisSerializer.writeBoolean(isShow_value) - } thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(builder)) let type_type : int32 = RuntimeType.UNDEFINED type_type = runtimeType(type) - thisSerializer.writeInt8(type_type as int32) + thisSerializer.writeInt8(type_type) if ((RuntimeType.UNDEFINED) != (type_type)) { const type_value = (type as ModalTransition) thisSerializer.writeInt32(TypeChecker.ModalTransition_ToNumeric(type_value)) } - ArkUIGeneratedNativeModule._CommonMethod_bindContentCover0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_bindContentCover0(this.peer.ptr, isShow ? 1 : 0, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - bindContentCover1Attribute(isShow: boolean | undefined, builder: CustomBuilder, options?: ContentCoverOptions): void { + bindContentCover1Attribute(isShow: boolean, builder: CustomBuilder, options?: ContentCoverOptions): void { const thisSerializer : Serializer = Serializer.hold() - let isShow_type : int32 = RuntimeType.UNDEFINED - isShow_type = runtimeType(isShow) - thisSerializer.writeInt8(isShow_type as int32) - if ((RuntimeType.UNDEFINED) != (isShow_type)) { - const isShow_value = isShow! - thisSerializer.writeBoolean(isShow_value) - } thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(builder)) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeContentCoverOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_bindContentCover1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_bindContentCover1(this.peer.ptr, isShow ? 1 : 0, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - bindSheetAttribute(isShow: boolean | undefined, builder: CustomBuilder, options?: SheetOptions): void { + bindSheetAttribute(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): void { const thisSerializer : Serializer = Serializer.hold() - let isShow_type : int32 = RuntimeType.UNDEFINED - isShow_type = runtimeType(isShow) - thisSerializer.writeInt8(isShow_type as int32) - if ((RuntimeType.UNDEFINED) != (isShow_type)) { - const isShow_value = isShow! - thisSerializer.writeBoolean(isShow_value) - } thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(builder)) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeSheetOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_bindSheet(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_bindSheet(this.peer.ptr, isShow ? 1 : 0, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onVisibleAreaChangeAttribute(ratios: Array, event: VisibleAreaChangeCallback): void { @@ -5063,17 +5345,30 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onVisibleAreaChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onVisibleAreaApproximateChangeAttribute(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeVisibleAreaEventOptions(options) + let event_type : int32 = RuntimeType.UNDEFINED + event_type = runtimeType(event) + thisSerializer.writeInt8(event_type) + if ((RuntimeType.UNDEFINED) != (event_type)) { + const event_value = event! + thisSerializer.holdAndWriteCallback(event_value) + } + ArkUIGeneratedNativeModule._CommonMethod_onVisibleAreaApproximateChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } keyboardShortcutAttribute(value: string | FunctionKey, keys: Array, action?: (() => void)): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (TypeChecker.isFunctionKey(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as FunctionKey thisSerializer.writeInt32(TypeChecker.FunctionKey_ToNumeric(value_1)) } @@ -5084,7 +5379,7 @@ export class ArkCommonMethodPeer extends PeerNode { } let action_type : int32 = RuntimeType.UNDEFINED action_type = runtimeType(action) - thisSerializer.writeInt8(action_type as int32) + thisSerializer.writeInt8(action_type) if ((RuntimeType.UNDEFINED) != (action_type)) { const action_value = action! thisSerializer.holdAndWriteCallback(action_value) @@ -5124,22 +5419,22 @@ export class ArkCommonShapeMethodPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -5151,22 +5446,22 @@ export class ArkCommonShapeMethodPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -5178,12 +5473,12 @@ export class ArkCommonShapeMethodPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -5201,12 +5496,12 @@ export class ArkCommonShapeMethodPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -5218,17 +5513,17 @@ export class ArkCommonShapeMethodPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -5240,17 +5535,17 @@ export class ArkCommonShapeMethodPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -5262,17 +5557,17 @@ export class ArkCommonShapeMethodPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -5290,17 +5585,17 @@ export class ArkCommonShapeMethodPeer extends ArkCommonMethodPeer { let value_element_type : int32 = RuntimeType.UNDEFINED value_element_type = runtimeType(value_element) if (RuntimeType.STRING == value_element_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_element_0 = value_element as string thisSerializer.writeString(value_element_0) } else if (RuntimeType.NUMBER == value_element_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_element_1 = value_element as number thisSerializer.writeNumber(value_element_1) } else if (RuntimeType.OBJECT == value_element_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_element_2 = value_element as Resource thisSerializer.writeResource(value_element_2) } @@ -5328,17 +5623,17 @@ export class ArkScrollableCommonMethodPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -5350,12 +5645,12 @@ export class ArkScrollableCommonMethodPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -5376,12 +5671,12 @@ export class ArkScrollableCommonMethodPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -5426,23 +5721,38 @@ export class ArkScrollableCommonMethodPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isContentClipMode(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ContentClipMode thisSerializer.writeInt32(TypeChecker.ContentClipMode_ToNumeric(value_0)) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as RectShape thisSerializer.writeRectShape(value_1) } ArkUIGeneratedNativeModule._ScrollableCommonMethod_clipContent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + digitalCrownSensitivityAttribute(value: CrownSensitivity | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as CrownSensitivity) + thisSerializer.writeInt32(TypeChecker.CrownSensitivity_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._ScrollableCommonMethod_digitalCrownSensitivity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backToTopAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._ScrollableCommonMethod_backToTop(this.peer.ptr, value ? 1 : 0) + } edgeEffectAttribute(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): void { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeEdgeEffectOptions(options_value) @@ -5454,14 +5764,14 @@ export class ArkScrollableCommonMethodPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let enabled_type : int32 = RuntimeType.UNDEFINED enabled_type = runtimeType(enabled) - thisSerializer.writeInt8(enabled_type as int32) + thisSerializer.writeInt8(enabled_type) if ((RuntimeType.UNDEFINED) != (enabled_type)) { const enabled_value = enabled! thisSerializer.writeBoolean(enabled_value) } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeFadingEdgeOptions(options_value) @@ -5487,6 +5797,10 @@ export interface ProvideOptions { } export interface AnimatableArithmetic { } +export type ReuseIdCallback = () => string; +export interface ReuseOptions { + reuseId?: ReuseIdCallback; +} export interface Configuration { readonly colorMode: string; readonly fontScale: number; @@ -5502,6 +5816,138 @@ export interface ExpectedFrameRateRange { max: number; expected: number; } +export enum AccessibilitySamePageMode { + SEMI_SILENT = 0, + FULL_SILENT = 1 +} +export enum AccessibilityRoleType { + ACTION_SHEET = 0, + ALERT_DIALOG = 1, + INDEXER_COMPONENT = 2, + BADGE_COMPONENT = 3, + BLANK = 4, + BUTTON = 5, + BACK_BUTTON = 6, + SHEET_DRAG_BAR = 7, + CALENDAR_PICKER = 8, + CALENDAR = 9, + CANVAS = 10, + CANVAS_GRADIENT = 11, + CANVAS_PATTERN = 12, + CHECKBOX = 13, + CHECKBOX_GROUP = 14, + CIRCLE = 15, + COLUMN_SPLIT = 16, + COLUMN = 17, + CANVAS_RENDERING_CONTEXT_2D = 18, + CHART = 19, + COUNTER = 20, + CONTAINER_MODAL = 21, + DATA_PANEL = 22, + DATE_PICKER = 23, + DIALOG = 24, + DIVIDER = 25, + DRAG_BAR = 26, + EFFECT_COMPONENT = 27, + ELLIPSE = 28, + FLEX = 29, + FLOW_ITEM = 30, + FORM_COMPONENT = 31, + FORM_LINK = 32, + GAUGE = 33, + GRID = 34, + GRID_COL = 35, + GRID_CONTAINER = 36, + GRID_ITEM = 37, + GRID_ROW = 38, + HYPERLINK = 39, + IMAGE = 40, + IMAGE_ANIMATOR = 41, + IMAGE_BITMAP = 42, + IMAGE_DATA = 43, + IMAGE_SPAN = 44, + LABEL = 45, + LINE = 46, + LIST = 47, + LIST_ITEM = 48, + LIST_ITEM_GROUP = 49, + LOADING_PROGRESS = 50, + MARQUEE = 51, + MATRIX2D = 52, + MENU = 53, + MENU_ITEM = 54, + MENU_ITEM_GROUP = 55, + NAV_DESTINATION = 56, + NAV_ROUTER = 57, + NAVIGATION = 58, + NAVIGATION_BAR = 59, + NAVIGATION_MENU = 60, + NAVIGATOR = 61, + OFFSCREEN_CANVAS = 62, + OFFSCREEN_CANVAS_RENDERING_CONTEXT2D = 63, + OPTION = 64, + PANEL = 65, + PAPER_PAGE = 66, + PATH = 67, + PATH2D = 68, + PATTERN_LOCK = 69, + PICKER = 70, + PICKER_VIEW = 71, + PLUGIN_COMPONENT = 72, + POLYGON = 73, + POLYLINE = 74, + POPUP = 75, + PROGRESS = 76, + QRCODE = 77, + RADIO = 78, + RATING = 79, + RECT = 80, + REFRESH = 81, + RELATIVE_CONTAINER = 82, + REMOTE_WINDOW = 83, + RICH_EDITOR = 84, + RICH_TEXT = 85, + ROLE_PAGER = 86, + ROW = 87, + ROW_SPLIT = 88, + SCROLL = 89, + SCROLL_BAR = 90, + SEARCH = 91, + SEARCH_FIELD = 92, + SELECT = 93, + SHAPE = 94, + SIDEBAR_CONTAINER = 95, + SLIDER = 96, + SPAN = 97, + STACK = 98, + STEPPER = 99, + STEPPER_ITEM = 100, + SWIPER = 101, + SWIPER_INDICATOR = 102, + SWITCH = 103, + SYMBOL_GLYPH = 104, + TAB_CONTENT = 105, + TAB_BAR = 106, + TABS = 107, + TEXT = 108, + TEXT_CLOCK = 109, + TEXT_ENTRY = 110, + TEXT_INPUT = 111, + TEXT_PICKER = 112, + TEXT_TIMER = 113, + TEXT_AREA = 114, + TEXT_FIELD = 115, + TIME_PICKER = 116, + TITLE_BAR = 117, + TOGGLER = 118, + UI_EXTENSION_COMPONENT = 119, + VIDEO = 120, + WATER_FLOW = 121, + WEB = 122, + XCOMPONENT = 123, + ROLE_NONE = 124 +} +export type AccessibilityFocusCallback = (isFocus: boolean) => void; export enum FinishCallbackType { REMOVED = 0, LOGICALLY = 1 @@ -5540,6 +5986,34 @@ export interface GeometryTransitionOptions { follow?: boolean; hierarchyStrategy?: TransitionHierarchyStrategy; } +export type Tuple_ResourceColor_Number = [ + ResourceColor, + number +] +export interface LinearGradientOptions { + angle?: number | string; + direction?: GradientDirection; + colors: Array<[ ResourceColor, number ]>; + repeating?: boolean; +} +export type Tuple_Length_Length = [ + Length, + Length +] +export interface SweepGradientOptions { + center: [ Length, Length ]; + start?: number | string; + end?: number | string; + rotation?: number | string; + colors: Array<[ ResourceColor, number ]>; + repeating?: boolean; +} +export interface RadialGradientOptions { + center: [ Length, Length ]; + radius: Length; + colors: Array<[ ResourceColor, number ]>; + repeating?: boolean; +} export enum TransitionHierarchyStrategy { NONE = 0, ADAPTIVE = 1 @@ -5658,7 +6132,8 @@ export enum PreDragStatus { PREVIEW_LIFT_FINISHED = 3, PREVIEW_LANDING_STARTED = 4, PREVIEW_LANDING_FINISHED = 5, - ACTION_CANCELED_BEFORE_DRAG = 6 + ACTION_CANCELED_BEFORE_DRAG = 6, + PREPARING_FOR_DRAG_DETECTION = 7 } export interface DragItemInfo { pixelMap?: PixelMap; @@ -5667,6 +6142,7 @@ export interface DragItemInfo { } export interface EventTarget { area: Area; + id?: string; } export enum SourceType { UNKNOWN = 0, @@ -5743,6 +6219,9 @@ export interface ForegroundBlurStyleOptions extends BlurStyleOptions { export interface BlurOptions { grayscale: [ number, number ]; } +export interface SystemAdaptiveOptions { + disableSystemAdaptation?: boolean; +} export interface BlurStyleOptions { colorMode?: ThemeColorMode; adaptiveColor?: AdaptiveColor; @@ -5835,6 +6314,8 @@ export interface BorderImageOption { outset?: Length | EdgeWidths | LocalizedEdgeWidths; fill?: boolean; } +export interface LayoutPolicy { +} export interface TouchObject { type: TouchType; id: number; @@ -5846,6 +6327,11 @@ export interface TouchObject { screenY: number; x: number; y: number; + hand?: InteractionHand; + pressedTime?: number; + pressure?: number; + width?: number; + height?: number; } export interface HistoricalPoint { touchObject: TouchObject; @@ -5861,6 +6347,9 @@ export enum DragBehavior { COPY = 0, MOVE = 1 } +export interface DataSyncOptions { + _DataSyncOptionsStub: string; +} export enum DragResult { DRAG_SUCCESSFUL = 0, DRAG_FAILED = 1, @@ -5872,6 +6361,17 @@ export enum BlendApplyType { FAST = 0, OFFSCREEN = 1 } +export type OnDragEventCallback = (event: DragEvent, extraParams?: string) => void; +export interface DropOptions { + disableDataPrefetch?: boolean; +} +export interface CrownEvent { + timestamp: int64; + angularVelocity: number; + degree: number; + action: CrownAction; + stopPropagation: (() => void); +} export interface BindOptions { backgroundColor?: ResourceColor; onAppear?: (() => void); @@ -5957,6 +6457,15 @@ export interface SheetOptions extends BindOptions { onTypeDidChange?: ((parameter: SheetType) => void); uiContext?: UIContext; keyboardAvoidMode?: SheetKeyboardAvoidMode; + enableHoverMode?: boolean; + hoverModeArea?: HoverModeAreaType; + offset?: Position; + effectEdge?: number; + radius?: LengthMetrics | BorderRadiuses | LocalizedBorderRadiuses; + detentSelection?: SheetSize | Length; + showInSubWindow?: boolean; + placement?: Placement; + placementOnTarget?: boolean; } export interface StateStyles { normal?: object; @@ -5980,6 +6489,48 @@ export interface DismissPopupAction { dismiss: (() => void); reason: DismissReason; } +export interface PopupStateChangeParam { + isVisible: boolean; +} +export type PopupStateChangeCallback = (event: PopupStateChangeParam) => void; +export interface PopupMaskType { + color: ResourceColor; +} +export type Callback_DismissPopupAction_Void = (parameter: DismissPopupAction) => void; +export interface PopupCommonOptions { + placement?: Placement; + popupColor?: ResourceColor; + enableArrow?: boolean; + autoCancel?: boolean; + onStateChange?: PopupStateChangeCallback; + arrowOffset?: Length; + showInSubWindow?: boolean; + mask?: boolean | PopupMaskType; + targetSpace?: Length; + offset?: Position; + width?: Dimension; + arrowPointPosition?: ArrowPointPosition; + arrowWidth?: Dimension; + arrowHeight?: Dimension; + radius?: Dimension; + shadow?: ShadowOptions | ShadowStyle; + backgroundBlurStyle?: BlurStyle; + focusable?: boolean; + transition?: TransitionEffect; + onWillDismiss?: boolean | ((parameter: DismissPopupAction) => void); + enableHoverMode?: boolean; + followTransformOfTarget?: boolean; +} +export interface TipsOptions { + appearingTime?: number; + disappearingTime?: number; + appearingTimeWithContinuousOperation?: number; + disappearingTimeWithContinuousOperation?: number; + enableArrow?: boolean; + arrowPointPosition?: ArrowPointPosition; + arrowWidth?: Dimension; + arrowHeight?: Dimension; +} export interface Literal_String_value_Callback_Void_action { value: string; action: (() => void); @@ -5991,7 +6542,6 @@ export type Callback_Literal_Boolean_isVisible_Void = (event: Literal_Boolean_is export interface Literal_ResourceColor_color { color: ResourceColor; } -export type Callback_DismissPopupAction_Void = (parameter: DismissPopupAction) => void; export interface PopupOptions { message: string; placementOnTop?: boolean; @@ -6019,6 +6569,7 @@ export interface PopupOptions { onWillDismiss?: boolean | ((parameter: DismissPopupAction) => void); enableHoverMode?: boolean; followTransformOfTarget?: boolean; + keyboardAvoidMode?: KeyboardAvoidMode; } export interface CustomPopupOptions { builder: CustomBuilder; @@ -6045,6 +6596,7 @@ export interface CustomPopupOptions { onWillDismiss?: boolean | ((parameter: DismissPopupAction) => void); enableHoverMode?: boolean; followTransformOfTarget?: boolean; + keyboardAvoidMode?: KeyboardAvoidMode; } export enum MenuPreviewMode { NONE = 0, @@ -6059,12 +6611,19 @@ export interface ContextMenuAnimationOptions { transition?: TransitionEffect; hoverScale?: [ number, number ]; } +export type BorderRadiusType = Length | BorderRadiuses | LocalizedBorderRadiuses; +export enum HapticFeedbackMode { + DISABLED = 0, + ENABLED = 1, + AUTO = 2 +} export interface ContextMenuOptions { offset?: Position; placement?: Placement; enableArrow?: boolean; arrowOffset?: Length; preview?: MenuPreviewMode | CustomBuilder; + previewBorderRadius?: BorderRadiusType; borderRadius?: Length | BorderRadiuses | LocalizedBorderRadiuses; onAppear?: (() => void); onDisappear?: (() => void); @@ -6074,8 +6633,13 @@ export interface ContextMenuOptions { previewAnimationOptions?: ContextMenuAnimationOptions; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; transition?: TransitionEffect; enableHoverMode?: boolean; + outlineColor?: ResourceColor | EdgeColors; + outlineWidth?: Dimension | EdgeOutlineWidths; + hapticFeedbackMode?: HapticFeedbackMode; } export interface MenuOptions extends ContextMenuOptions { title?: ResourceStr; @@ -6128,7 +6692,15 @@ export enum DragPreviewMode { AUTO = 1, DISABLE_SCALE = 2, ENABLE_DEFAULT_SHADOW = 3, - ENABLE_DEFAULT_RADIUS = 4 + ENABLE_DEFAULT_RADIUS = 4, + ENABLE_DRAG_ITEM_GRAY_EFFECT = 5, + ENABLE_MULTI_TILE_EFFECT = 6, + ENABLE_TOUCH_POINT_CALCULATION_BASED_ON_FINAL_PREVIEW = 7 +} +export enum DraggingSizeChangeEffect { + DEFAULT = 0, + SIZE_TRANSITION = 1, + SIZE_CONTENT_TRANSITION = 2 } export enum MenuPolicy { DEFAULT = 0, @@ -6139,10 +6711,18 @@ export interface DragPreviewOptions { mode?: DragPreviewMode | Array; modifier?: ImageModifier; numberBadge?: boolean | number; + sizeChangeEffect?: DraggingSizeChangeEffect; } export interface DragInteractionOptions { isMultiSelectionEnabled?: boolean; defaultAnimationBeforeLifting?: boolean; + enableEdgeAutoScroll?: boolean; + enableHapticFeedback?: boolean; + isLiftingDisabled?: boolean; +} +export interface PreviewConfiguration { + onlyForLifting?: boolean; + delayCreating?: boolean; } export interface InvertOptions { low: number; @@ -6150,13 +6730,22 @@ export interface InvertOptions { threshold: number; thresholdRange: number; } +export type TipsMessageType = ResourceStr | StyledString; +export interface BackgroundImageOptions { + syncLoad?: boolean; + repeat?: ImageRepeat; +} export type Callback_Array_TouchTestInfo_TouchResult = (value: Array) => TouchResult; export type Callback_ClickEvent_Void = (event: ClickEvent) => void; export type Callback_Boolean_HoverEvent_Void = (isHover: boolean, event: HoverEvent) => void; +export type Callback_HoverEvent_Void = (parameter: HoverEvent) => void; export type Callback_MouseEvent_Void = (event: MouseEvent) => void; export type Callback_TouchEvent_Void = (event: TouchEvent) => void; export type Callback_KeyEvent_Void = (event: KeyEvent) => void; export type Callback_KeyEvent_Boolean = (parameter: KeyEvent) => boolean; +export type Callback_CrownEvent_Void = (parameter: CrownEvent) => void; +export type Callback_FocusAxisEvent_Void = (parameter: FocusAxisEvent) => void; +export type Callback_AxisEvent_Void = (parameter: AxisEvent) => void; export type Callback_Area_Area_Void = (oldValue: Area, newValue: Area) => void; export interface Literal_Number_offset_span { span: number; @@ -6171,42 +6760,14 @@ export interface Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs { export type Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo = (event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo; export type Callback_DragEvent_String_Void = (event: DragEvent, extraParams?: string) => void; export type Callback_PreDragStatus_Void = (parameter: PreDragStatus) => void; -export type Tuple_ResourceColor_Number = [ - ResourceColor, - number -] -export interface Type_CommonMethod_linearGradient_value { - angle?: number | string; - direction?: GradientDirection; - colors: Array<[ ResourceColor, number ]>; - repeating?: boolean; -} -export type Tuple_Length_Length = [ - Length, - Length -] -export interface Type_CommonMethod_sweepGradient_value { - center: [ Length, Length ]; - start?: number | string; - end?: number | string; - rotation?: number | string; - colors: Array<[ ResourceColor, number ]>; - repeating?: boolean; -} -export interface Type_CommonMethod_radialGradient_value { - center: [ Length, Length ]; - radius: number | string; - colors: Array<[ ResourceColor, number ]>; - repeating?: boolean; -} export type Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult = (gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult; export type Callback_TouchEvent_HitTestMode = (parameter: TouchEvent) => HitTestMode; export interface Literal_Alignment_align { align?: Alignment; } export interface CommonMethod { - width(value: Length): this - height(value: Length): this + width(value: Length | Length | LayoutPolicy): this + height(value: Length | Length | LayoutPolicy): this drawModifier(value: DrawModifier | undefined): this responseRegion(value: Array | Rectangle): this mouseResponseRegion(value: Array | Rectangle): this @@ -6220,39 +6781,46 @@ export interface CommonMethod { padding(value: Padding | Length | LocalizedPadding): this safeAreaPadding(value: Padding | LengthMetrics | LocalizedPadding): this margin(value: Padding | Length | LocalizedPadding): this - backgroundColor(value: ResourceColor): this + backgroundColor(value: ResourceColor | ResourceColor | undefined): this pixelRound(value: PixelRoundPolicy): this backgroundImageSize(value: SizeOptions | ImageSize): this backgroundImagePosition(value: Position | Alignment): this - backgroundEffect(value: BackgroundEffectOptions): this + backgroundEffect(options: BackgroundEffectOptions | BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): this backgroundImageResizable(value: ResizableOptions): this foregroundEffect(value: ForegroundEffectOptions): this visualEffect(value: VisualEffect): this backgroundFilter(value: Filter): this foregroundFilter(value: Filter): this compositingFilter(value: Filter): this - opacity(value: number | Resource): this + opacity(value: number | Resource | number | Resource | undefined): this border(value: BorderOptions): this borderStyle(value: BorderStyle | EdgeStyles): this borderWidth(value: Length | EdgeWidths | LocalizedEdgeWidths): this borderColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): this borderRadius(value: Length | BorderRadiuses | LocalizedBorderRadiuses): this borderImage(value: BorderImageOption): this - outline(value: OutlineOptions): this - outlineStyle(value: OutlineStyle | EdgeOutlineStyles): this - outlineWidth(value: Dimension | EdgeOutlineWidths): this - outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): this - outlineRadius(value: Dimension | OutlineRadiuses): this - foregroundColor(value: ResourceColor | ColoringStrategy): this + outline(value: OutlineOptions | OutlineOptions | undefined): this + outlineStyle(value: OutlineStyle | EdgeOutlineStyles | OutlineStyle | EdgeOutlineStyles | undefined): this + outlineWidth(value: Dimension | EdgeOutlineWidths | Dimension | EdgeOutlineWidths | undefined): this + outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this + outlineRadius(value: Dimension | OutlineRadiuses | Dimension | OutlineRadiuses | undefined): this + foregroundColor(value: ResourceColor | ColoringStrategy | ResourceColor | ColoringStrategy | undefined): this onClick(event: ((event: ClickEvent) => void), distanceThreshold?: number): this onHover(value: ((isHover: boolean,event: HoverEvent) => void)): this + onHoverMove(value: ((parameter: HoverEvent) => void)): this onAccessibilityHover(value: AccessibilityCallback): this hoverEffect(value: HoverEffect): this onMouse(value: ((event: MouseEvent) => void)): this onTouch(value: ((event: TouchEvent) => void)): this - onKeyEvent(value: ((event: KeyEvent) => void)): this + onKeyEvent(value: ((event: KeyEvent) => void) | ((parameter: KeyEvent) => boolean)): this + onDigitalCrown(value: ((parameter: CrownEvent) => void) | undefined): this onKeyPreIme(value: ((parameter: KeyEvent) => boolean)): this + onKeyEventDispatch(value: ((parameter: KeyEvent) => boolean)): this + onFocusAxisEvent(value: ((parameter: FocusAxisEvent) => void)): this + onAxisEvent(value: ((parameter: AxisEvent) => void)): this focusable(value: boolean): this + nextFocus(value: FocusMovement | undefined): this + tabStop(value: boolean): this onFocus(value: (() => void)): this onBlur(value: (() => void)): this tabIndex(value: number): this @@ -6262,25 +6830,25 @@ export interface CommonMethod { focusBox(value: FocusBoxStyle): this animation(value: AnimateParam): this transition(effect: TransitionOptions | TransitionEffect | TransitionEffect, onFinish?: TransitionFinishCallback): this - motionBlur(value: MotionBlurOptions): this - brightness(value: number): this - contrast(value: number): this - grayscale(value: number): this - colorBlend(value: Color | string | Resource): this - saturate(value: number): this - sepia(value: number): this - invert(value: number | InvertOptions): this - hueRotate(value: number | string): this - useShadowBatching(value: boolean): this - useEffect(useEffect: boolean, effectType?: EffectType): this - renderGroup(value: boolean): this - freeze(value: boolean): this - translate(value: TranslateOptions): this - scale(value: ScaleOptions): this + motionBlur(value: MotionBlurOptions | MotionBlurOptions | undefined): this + brightness(value: number | number | undefined): this + contrast(value: number | number | undefined): this + grayscale(value: number | number | undefined): this + colorBlend(value: Color | string | Resource | Color | string | Resource | undefined): this + saturate(value: number | number | undefined): this + sepia(value: number | number | undefined): this + invert(value: number | InvertOptions | number | InvertOptions | undefined): this + hueRotate(value: number | string | number | string | undefined): this + useShadowBatching(value: boolean | boolean | undefined): this + useEffect(useEffect: boolean | boolean | undefined, effectType?: EffectType): this + renderGroup(value: boolean | boolean | undefined): this + freeze(value: boolean | boolean | undefined): this + translate(value: TranslateOptions | TranslateOptions | undefined): this + scale(value: ScaleOptions | ScaleOptions | undefined): this gridSpan(value: number): this gridOffset(value: number): this - rotate(value: RotateOptions): this - transform(value: TransformationMatrix): this + rotate(value: RotateOptions | RotateOptions | undefined): this + transform(value: TransformationMatrix | Object | undefined): this onAppear(value: (() => void)): this onDisAppear(value: (() => void)): this onAttach(value: (() => void)): this @@ -6307,31 +6875,37 @@ export interface CommonMethod { onDragEnter(value: ((event: DragEvent,extraParams?: string) => void)): this onDragMove(value: ((event: DragEvent,extraParams?: string) => void)): this onDragLeave(value: ((event: DragEvent,extraParams?: string) => void)): this - onDrop(value: ((event: DragEvent,extraParams?: string) => void)): this + onDrop(eventCallback: ((event: DragEvent,extraParams?: string) => void) | OnDragEventCallback, dropOptions?: DropOptions): this onDragEnd(value: ((event: DragEvent,extraParams?: string) => void)): this allowDrop(value: Array | undefined): this draggable(value: boolean): this - dragPreview(value: CustomBuilder | DragItemInfo | string): this + dragPreview(preview: CustomBuilder | DragItemInfo | string, config?: PreviewConfiguration): this onPreDrag(value: ((parameter: PreDragStatus) => void)): this - linearGradient(value: Type_CommonMethod_linearGradient_value): this - sweepGradient(value: Type_CommonMethod_sweepGradient_value): this - radialGradient(value: Type_CommonMethod_radialGradient_value): this + linearGradient(value: LinearGradientOptions | LinearGradientOptions | undefined): this + sweepGradient(value: SweepGradientOptions | SweepGradientOptions | undefined): this + radialGradient(value: RadialGradientOptions | RadialGradientOptions | undefined): this motionPath(value: MotionPathOptions): this - shadow(value: ShadowOptions | ShadowStyle): this + shadow(value: ShadowOptions | ShadowStyle | ShadowOptions | ShadowStyle | undefined): this clip(value: boolean | undefined): this - clipShape(value: CircleShape | EllipseShape | PathShape | RectShape): this + clipShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this mask(value: ProgressMask | undefined): this - maskShape(value: CircleShape | EllipseShape | PathShape | RectShape): this + maskShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this key(value: string): this id(value: string): this geometryTransition(id: string, options?: GeometryTransitionOptions): this stateStyles(value: StateStyles): this restoreId(value: number): this - sphericalEffect(value: number): this - lightUpEffect(value: number): this - pixelStretchEffect(value: PixelStretchEffectOptions): this + sphericalEffect(value: number | number | undefined): this + lightUpEffect(value: number | number | undefined): this + pixelStretchEffect(value: PixelStretchEffectOptions | PixelStretchEffectOptions | undefined): this accessibilityGroup(isGroup: boolean, accessibilityOptions?: AccessibilityOptions): this accessibilityText(value: string | Resource): this + accessibilityNextFocusId(value: string): this + accessibilityDefaultFocus(value: boolean): this + accessibilityUseSamePage(value: AccessibilitySamePageMode): this + accessibilityScrollTriggerable(value: boolean): this + accessibilityRole(value: AccessibilityRoleType): this + onAccessibilityFocus(value: AccessibilityFocusCallback): this accessibilityTextHint(value: string): this accessibilityDescription(value: string | Resource): this accessibilityLevel(value: string): this @@ -6340,50 +6914,54 @@ export interface CommonMethod { accessibilitySelected(value: boolean): this obscured(value: Array): this reuseId(value: string): this - renderFit(value: RenderFit): this + reuse(value: ReuseOptions): this + renderFit(value: RenderFit | RenderFit | undefined): this gestureModifier(value: GestureModifier): this - backgroundBrightness(value: BackgroundBrightnessOptions): this + backgroundBrightness(value: BackgroundBrightnessOptions | BackgroundBrightnessOptions | undefined): this onGestureJudgeBegin(value: ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult)): this onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback, exposeInnerGesture?: boolean): this shouldBuiltInRecognizerParallelWith(value: ShouldBuiltInRecognizerParallelWithCallback): this monopolizeEvents(value: boolean): this onTouchIntercept(value: ((parameter: TouchEvent) => HitTestMode)): this onSizeChange(value: SizeChangeCallback): this + accessibilityFocusDrawLevel(value: FocusDrawLevel): this customProperty(name: string, value: Object | undefined): this expandSafeArea(types?: Array, edges?: Array): this background(builder: CustomBuilder, options?: Literal_Alignment_align): this - backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat): this - backgroundBlurStyle(value: BlurStyle, options?: BackgroundBlurStyleOptions): this - foregroundBlurStyle(value: BlurStyle, options?: ForegroundBlurStyleOptions): this + backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat | BackgroundImageOptions): this + backgroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this + foregroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this focusScopeId(id: string, isGroup?: boolean, arrowStepOut?: boolean): this focusScopePriority(scopeId: string, priority?: FocusPriority): this gesture(gesture: GestureType, mask?: GestureMask): this priorityGesture(gesture: GestureType, mask?: GestureMask): this parallelGesture(gesture: GestureType, mask?: GestureMask): this - blur(value: number, options?: BlurOptions): this - linearGradientBlur(value: number, options: LinearGradientBlurOptions): this + blur(blurRadius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this + linearGradientBlur(value: number | number | undefined, options: LinearGradientBlurOptions | LinearGradientBlurOptions | undefined): this systemBarEffect(): this - backdropBlur(value: number, options?: BlurOptions): this + backdropBlur(radius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this sharedTransition(id: string, options?: sharedTransitionOptions): this chainMode(direction: Axis, style: ChainStyle): this dragPreviewOptions(value: DragPreviewOptions, options?: DragInteractionOptions): this overlay(value: string | CustomBuilder | ComponentContent, options?: OverlayOptions): this - blendMode(value: BlendMode, type?: BlendApplyType): this + blendMode(value: BlendMode | BlendMode | undefined, type?: BlendApplyType): this advancedBlendMode(effect: BlendMode | BrightnessBlender, type?: BlendApplyType): this + bindTips(message: TipsMessageType, options?: TipsOptions): this bindPopup(show: boolean, popup: PopupOptions | CustomPopupOptions): this bindMenu(isShow: Array | CustomBuilder | boolean, content?: MenuOptions | Array | CustomBuilder, options?: MenuOptions): this bindContextMenu(content: CustomBuilder | boolean, responseType: ResponseType | CustomBuilder, options?: ContextMenuOptions): this - bindContentCover(isShow: boolean | undefined, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this - bindSheet(isShow: boolean | undefined, builder: CustomBuilder, options?: SheetOptions): this + bindContentCover(isShow: boolean, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this + bindSheet(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): this onVisibleAreaChange(ratios: Array, event: VisibleAreaChangeCallback): this + onVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void keyboardShortcut(value: string | FunctionKey, keys: Array, action?: (() => void)): this attributeModifier(value: AttributeModifier | undefined): this } export interface UICommonMethod extends UICommonBase { /** @memo */ - width(value: Length): this + width(value: Length | Length | LayoutPolicy): this /** @memo */ - height(value: Length): this + height(value: Length | Length | LayoutPolicy): this /** @memo */ drawModifier(value: DrawModifier | undefined): this /** @memo */ @@ -6411,7 +6989,7 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ margin(value: Padding | Length | LocalizedPadding): this /** @memo */ - backgroundColor(value: ResourceColor): this + backgroundColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ pixelRound(value: PixelRoundPolicy): this /** @memo */ @@ -6419,7 +6997,7 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ backgroundImagePosition(value: Position | Alignment): this /** @memo */ - backgroundEffect(value: BackgroundEffectOptions): this + backgroundEffect(options: BackgroundEffectOptions | BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): this /** @memo */ backgroundImageResizable(value: ResizableOptions): this /** @memo */ @@ -6433,7 +7011,7 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ compositingFilter(value: Filter): this /** @memo */ - opacity(value: number | Resource): this + opacity(value: number | Resource | number | Resource | undefined): this /** @memo */ border(value: BorderOptions): this /** @memo */ @@ -6447,22 +7025,24 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ borderImage(value: BorderImageOption): this /** @memo */ - outline(value: OutlineOptions): this + outline(value: OutlineOptions | OutlineOptions | undefined): this /** @memo */ - outlineStyle(value: OutlineStyle | EdgeOutlineStyles): this + outlineStyle(value: OutlineStyle | EdgeOutlineStyles | OutlineStyle | EdgeOutlineStyles | undefined): this /** @memo */ - outlineWidth(value: Dimension | EdgeOutlineWidths): this + outlineWidth(value: Dimension | EdgeOutlineWidths | Dimension | EdgeOutlineWidths | undefined): this /** @memo */ - outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): this + outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this /** @memo */ - outlineRadius(value: Dimension | OutlineRadiuses): this + outlineRadius(value: Dimension | OutlineRadiuses | Dimension | OutlineRadiuses | undefined): this /** @memo */ - foregroundColor(value: ResourceColor | ColoringStrategy): this + foregroundColor(value: ResourceColor | ColoringStrategy | ResourceColor | ColoringStrategy | undefined): this /** @memo */ onClick(event: ((event: ClickEvent) => void), distanceThreshold?: number): this /** @memo */ onHover(value: ((isHover: boolean,event: HoverEvent) => void)): this /** @memo */ + onHoverMove(value: ((parameter: HoverEvent) => void)): this + /** @memo */ onAccessibilityHover(value: AccessibilityCallback): this /** @memo */ hoverEffect(value: HoverEffect): this @@ -6471,12 +7051,24 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ onTouch(value: ((event: TouchEvent) => void)): this /** @memo */ - onKeyEvent(value: ((event: KeyEvent) => void)): this + onKeyEvent(value: ((event: KeyEvent) => void) | ((parameter: KeyEvent) => boolean)): this + /** @memo */ + onDigitalCrown(value: ((parameter: CrownEvent) => void) | undefined): this /** @memo */ onKeyPreIme(value: ((parameter: KeyEvent) => boolean)): this /** @memo */ + onKeyEventDispatch(value: ((parameter: KeyEvent) => boolean)): this + /** @memo */ + onFocusAxisEvent(value: ((parameter: FocusAxisEvent) => void)): this + /** @memo */ + onAxisEvent(value: ((parameter: AxisEvent) => void)): this + /** @memo */ focusable(value: boolean): this /** @memo */ + nextFocus(value: FocusMovement | undefined): this + /** @memo */ + tabStop(value: boolean): this + /** @memo */ onFocus(value: (() => void)): this /** @memo */ onBlur(value: (() => void)): this @@ -6495,43 +7087,43 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ transition(effect: TransitionOptions | TransitionEffect | TransitionEffect, onFinish?: TransitionFinishCallback): this /** @memo */ - motionBlur(value: MotionBlurOptions): this + motionBlur(value: MotionBlurOptions | MotionBlurOptions | undefined): this /** @memo */ - brightness(value: number): this + brightness(value: number | number | undefined): this /** @memo */ - contrast(value: number): this + contrast(value: number | number | undefined): this /** @memo */ - grayscale(value: number): this + grayscale(value: number | number | undefined): this /** @memo */ - colorBlend(value: Color | string | Resource): this + colorBlend(value: Color | string | Resource | Color | string | Resource | undefined): this /** @memo */ - saturate(value: number): this + saturate(value: number | number | undefined): this /** @memo */ - sepia(value: number): this + sepia(value: number | number | undefined): this /** @memo */ - invert(value: number | InvertOptions): this + invert(value: number | InvertOptions | number | InvertOptions | undefined): this /** @memo */ - hueRotate(value: number | string): this + hueRotate(value: number | string | number | string | undefined): this /** @memo */ - useShadowBatching(value: boolean): this + useShadowBatching(value: boolean | boolean | undefined): this /** @memo */ - useEffect(useEffect: boolean, effectType?: EffectType): this + useEffect(useEffect: boolean | boolean | undefined, effectType?: EffectType): this /** @memo */ - renderGroup(value: boolean): this + renderGroup(value: boolean | boolean | undefined): this /** @memo */ - freeze(value: boolean): this + freeze(value: boolean | boolean | undefined): this /** @memo */ - translate(value: TranslateOptions): this + translate(value: TranslateOptions | TranslateOptions | undefined): this /** @memo */ - scale(value: ScaleOptions): this + scale(value: ScaleOptions | ScaleOptions | undefined): this /** @memo */ gridSpan(value: number): this /** @memo */ gridOffset(value: number): this /** @memo */ - rotate(value: RotateOptions): this + rotate(value: RotateOptions | RotateOptions | undefined): this /** @memo */ - transform(value: TransformationMatrix): this + transform(value: TransformationMatrix | Object | undefined): this /** @memo */ onAppear(value: (() => void)): this /** @memo */ @@ -6585,7 +7177,7 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ onDragLeave(value: ((event: DragEvent,extraParams?: string) => void)): this /** @memo */ - onDrop(value: ((event: DragEvent,extraParams?: string) => void)): this + onDrop(eventCallback: ((event: DragEvent,extraParams?: string) => void) | OnDragEventCallback, dropOptions?: DropOptions): this /** @memo */ onDragEnd(value: ((event: DragEvent,extraParams?: string) => void)): this /** @memo */ @@ -6593,27 +7185,27 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ draggable(value: boolean): this /** @memo */ - dragPreview(value: CustomBuilder | DragItemInfo | string): this + dragPreview(preview: CustomBuilder | DragItemInfo | string, config?: PreviewConfiguration): this /** @memo */ onPreDrag(value: ((parameter: PreDragStatus) => void)): this /** @memo */ - linearGradient(value: Type_CommonMethod_linearGradient_value): this + linearGradient(value: LinearGradientOptions | LinearGradientOptions | undefined): this /** @memo */ - sweepGradient(value: Type_CommonMethod_sweepGradient_value): this + sweepGradient(value: SweepGradientOptions | SweepGradientOptions | undefined): this /** @memo */ - radialGradient(value: Type_CommonMethod_radialGradient_value): this + radialGradient(value: RadialGradientOptions | RadialGradientOptions | undefined): this /** @memo */ motionPath(value: MotionPathOptions): this /** @memo */ - shadow(value: ShadowOptions | ShadowStyle): this + shadow(value: ShadowOptions | ShadowStyle | ShadowOptions | ShadowStyle | undefined): this /** @memo */ clip(value: boolean | undefined): this /** @memo */ - clipShape(value: CircleShape | EllipseShape | PathShape | RectShape): this + clipShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this /** @memo */ mask(value: ProgressMask | undefined): this /** @memo */ - maskShape(value: CircleShape | EllipseShape | PathShape | RectShape): this + maskShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this /** @memo */ key(value: string): this /** @memo */ @@ -6625,16 +7217,28 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ restoreId(value: number): this /** @memo */ - sphericalEffect(value: number): this + sphericalEffect(value: number | number | undefined): this /** @memo */ - lightUpEffect(value: number): this + lightUpEffect(value: number | number | undefined): this /** @memo */ - pixelStretchEffect(value: PixelStretchEffectOptions): this + pixelStretchEffect(value: PixelStretchEffectOptions | PixelStretchEffectOptions | undefined): this /** @memo */ accessibilityGroup(isGroup: boolean, accessibilityOptions?: AccessibilityOptions): this /** @memo */ accessibilityText(value: string | Resource): this /** @memo */ + accessibilityNextFocusId(value: string): this + /** @memo */ + accessibilityDefaultFocus(value: boolean): this + /** @memo */ + accessibilityUseSamePage(value: AccessibilitySamePageMode): this + /** @memo */ + accessibilityScrollTriggerable(value: boolean): this + /** @memo */ + accessibilityRole(value: AccessibilityRoleType): this + /** @memo */ + onAccessibilityFocus(value: AccessibilityFocusCallback): this + /** @memo */ accessibilityTextHint(value: string): this /** @memo */ accessibilityDescription(value: string | Resource): this @@ -6651,11 +7255,13 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ reuseId(value: string): this /** @memo */ - renderFit(value: RenderFit): this + reuse(value: ReuseOptions): this + /** @memo */ + renderFit(value: RenderFit | RenderFit | undefined): this /** @memo */ gestureModifier(value: GestureModifier): this /** @memo */ - backgroundBrightness(value: BackgroundBrightnessOptions): this + backgroundBrightness(value: BackgroundBrightnessOptions | BackgroundBrightnessOptions | undefined): this /** @memo */ onGestureJudgeBegin(value: ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult)): this /** @memo */ @@ -6669,17 +7275,19 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ onSizeChange(value: SizeChangeCallback): this /** @memo */ + accessibilityFocusDrawLevel(value: FocusDrawLevel): this + /** @memo */ customProperty(name: string, value: Object | undefined): this /** @memo */ expandSafeArea(types?: Array, edges?: Array): this /** @memo */ background(builder: CustomBuilder, options?: Literal_Alignment_align): this /** @memo */ - backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat): this + backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat | BackgroundImageOptions): this /** @memo */ - backgroundBlurStyle(value: BlurStyle, options?: BackgroundBlurStyleOptions): this + backgroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this /** @memo */ - foregroundBlurStyle(value: BlurStyle, options?: ForegroundBlurStyleOptions): this + foregroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this /** @memo */ focusScopeId(id: string, isGroup?: boolean, arrowStepOut?: boolean): this /** @memo */ @@ -6691,13 +7299,13 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ parallelGesture(gesture: GestureType, mask?: GestureMask): this /** @memo */ - blur(value: number, options?: BlurOptions): this + blur(blurRadius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this /** @memo */ - linearGradientBlur(value: number, options: LinearGradientBlurOptions): this + linearGradientBlur(value: number | number | undefined, options: LinearGradientBlurOptions | LinearGradientBlurOptions | undefined): this /** @memo */ systemBarEffect(): this /** @memo */ - backdropBlur(value: number, options?: BlurOptions): this + backdropBlur(radius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this /** @memo */ sharedTransition(id: string, options?: sharedTransitionOptions): this /** @memo */ @@ -6707,22 +7315,26 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ overlay(value: string | CustomBuilder | ComponentContent, options?: OverlayOptions): this /** @memo */ - blendMode(value: BlendMode, type?: BlendApplyType): this + blendMode(value: BlendMode | BlendMode | undefined, type?: BlendApplyType): this /** @memo */ advancedBlendMode(effect: BlendMode | BrightnessBlender, type?: BlendApplyType): this /** @memo */ + bindTips(message: TipsMessageType, options?: TipsOptions): this + /** @memo */ bindPopup(show: boolean, popup: PopupOptions | CustomPopupOptions): this /** @memo */ bindMenu(isShow: Array | CustomBuilder | boolean, content?: MenuOptions | Array | CustomBuilder, options?: MenuOptions): this /** @memo */ bindContextMenu(content: CustomBuilder | boolean, responseType: ResponseType | CustomBuilder, options?: ContextMenuOptions): this /** @memo */ - bindContentCover(isShow: boolean | undefined, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this + bindContentCover(isShow: boolean, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this /** @memo */ - bindSheet(isShow: boolean | undefined, builder: CustomBuilder, options?: SheetOptions): this + bindSheet(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): this /** @memo */ onVisibleAreaChange(ratios: Array, event: VisibleAreaChangeCallback): this /** @memo */ + onVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void + /** @memo */ keyboardShortcut(value: string | FunctionKey, keys: Array, action?: (() => void)): this /** @memo */ attributeModifier(value: AttributeModifier | undefined): this @@ -6769,13 +7381,20 @@ export class ArkCommonMethodStyle implements CommonMethod { foregroundColor_value?: ResourceColor | ColoringStrategy onClick_value?: ((event: ClickEvent) => void) onHover_value?: ((isHover: boolean,event: HoverEvent) => void) + onHoverMove_value?: ((parameter: HoverEvent) => void) onAccessibilityHover_value?: AccessibilityCallback hoverEffect_value?: HoverEffect onMouse_value?: ((event: MouseEvent) => void) onTouch_value?: ((event: TouchEvent) => void) onKeyEvent_value?: ((event: KeyEvent) => void) + onDigitalCrown_value?: ((parameter: CrownEvent) => void) | undefined onKeyPreIme_value?: ((parameter: KeyEvent) => boolean) + onKeyEventDispatch_value?: ((parameter: KeyEvent) => boolean) + onFocusAxisEvent_value?: ((parameter: FocusAxisEvent) => void) + onAxisEvent_value?: ((parameter: AxisEvent) => void) focusable_value?: boolean + nextFocus_value?: FocusMovement | undefined + tabStop_value?: boolean onFocus_value?: (() => void) onBlur_value?: (() => void) tabIndex_value?: number @@ -6836,9 +7455,9 @@ export class ArkCommonMethodStyle implements CommonMethod { draggable_value?: boolean dragPreview_value?: CustomBuilder | DragItemInfo | string onPreDrag_value?: ((parameter: PreDragStatus) => void) - linearGradient_value?: Type_CommonMethod_linearGradient_value - sweepGradient_value?: Type_CommonMethod_sweepGradient_value - radialGradient_value?: Type_CommonMethod_radialGradient_value + linearGradient_value?: LinearGradientOptions + sweepGradient_value?: SweepGradientOptions + radialGradient_value?: RadialGradientOptions motionPath_value?: MotionPathOptions shadow_value?: ShadowOptions | ShadowStyle clip_value?: boolean | undefined @@ -6855,6 +7474,12 @@ export class ArkCommonMethodStyle implements CommonMethod { pixelStretchEffect_value?: PixelStretchEffectOptions accessibilityGroup_value?: boolean accessibilityText_value?: string + accessibilityNextFocusId_value?: string + accessibilityDefaultFocus_value?: boolean + accessibilityUseSamePage_value?: AccessibilitySamePageMode + accessibilityScrollTriggerable_value?: boolean + accessibilityRole_value?: AccessibilityRoleType + onAccessibilityFocus_value?: AccessibilityFocusCallback accessibilityTextHint_value?: string accessibilityDescription_value?: string accessibilityLevel_value?: string @@ -6863,6 +7488,7 @@ export class ArkCommonMethodStyle implements CommonMethod { accessibilitySelected_value?: boolean obscured_value?: Array reuseId_value?: string + reuse_value?: ReuseOptions renderFit_value?: RenderFit gestureModifier_value?: GestureModifier backgroundBrightness_value?: BackgroundBrightnessOptions @@ -6872,10 +7498,11 @@ export class ArkCommonMethodStyle implements CommonMethod { monopolizeEvents_value?: boolean onTouchIntercept_value?: ((parameter: TouchEvent) => HitTestMode) onSizeChange_value?: SizeChangeCallback - public width(value: Length): this { + accessibilityFocusDrawLevel_value?: FocusDrawLevel + public width(value: Length | Length | LayoutPolicy): this { return this } - public height(value: Length): this { + public height(value: Length | Length | LayoutPolicy): this { return this } public drawModifier(value: DrawModifier | undefined): this { @@ -6917,7 +7544,7 @@ export class ArkCommonMethodStyle implements CommonMethod { public margin(value: Padding | Length | LocalizedPadding): this { return this } - public backgroundColor(value: ResourceColor): this { + public backgroundColor(value: ResourceColor | ResourceColor | undefined): this { return this } public pixelRound(value: PixelRoundPolicy): this { @@ -6929,7 +7556,7 @@ export class ArkCommonMethodStyle implements CommonMethod { public backgroundImagePosition(value: Position | Alignment): this { return this } - public backgroundEffect(value: BackgroundEffectOptions): this { + public backgroundEffect(options: BackgroundEffectOptions | BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): this { return this } public backgroundImageResizable(value: ResizableOptions): this { @@ -6950,7 +7577,7 @@ export class ArkCommonMethodStyle implements CommonMethod { public compositingFilter(value: Filter): this { return this } - public opacity(value: number | Resource): this { + public opacity(value: number | Resource | number | Resource | undefined): this { return this } public border(value: BorderOptions): this { @@ -6971,22 +7598,22 @@ export class ArkCommonMethodStyle implements CommonMethod { public borderImage(value: BorderImageOption): this { return this } - public outline(value: OutlineOptions): this { + public outline(value: OutlineOptions | OutlineOptions | undefined): this { return this } - public outlineStyle(value: OutlineStyle | EdgeOutlineStyles): this { + public outlineStyle(value: OutlineStyle | EdgeOutlineStyles | OutlineStyle | EdgeOutlineStyles | undefined): this { return this } - public outlineWidth(value: Dimension | EdgeOutlineWidths): this { + public outlineWidth(value: Dimension | EdgeOutlineWidths | Dimension | EdgeOutlineWidths | undefined): this { return this } - public outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): this { + public outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this { return this } - public outlineRadius(value: Dimension | OutlineRadiuses): this { + public outlineRadius(value: Dimension | OutlineRadiuses | Dimension | OutlineRadiuses | undefined): this { return this } - public foregroundColor(value: ResourceColor | ColoringStrategy): this { + public foregroundColor(value: ResourceColor | ColoringStrategy | ResourceColor | ColoringStrategy | undefined): this { return this } public onClick(event: ((event: ClickEvent) => void), distanceThreshold?: number): this { @@ -6995,6 +7622,9 @@ export class ArkCommonMethodStyle implements CommonMethod { public onHover(value: ((isHover: boolean,event: HoverEvent) => void)): this { return this } + public onHoverMove(value: ((parameter: HoverEvent) => void)): this { + return this + } public onAccessibilityHover(value: AccessibilityCallback): this { return this } @@ -7007,15 +7637,33 @@ export class ArkCommonMethodStyle implements CommonMethod { public onTouch(value: ((event: TouchEvent) => void)): this { return this } - public onKeyEvent(value: ((event: KeyEvent) => void)): this { + public onKeyEvent(value: ((event: KeyEvent) => void) | ((parameter: KeyEvent) => boolean)): this { + return this + } + public onDigitalCrown(value: ((parameter: CrownEvent) => void) | undefined): this { return this } public onKeyPreIme(value: ((parameter: KeyEvent) => boolean)): this { return this } + public onKeyEventDispatch(value: ((parameter: KeyEvent) => boolean)): this { + return this + } + public onFocusAxisEvent(value: ((parameter: FocusAxisEvent) => void)): this { + return this + } + public onAxisEvent(value: ((parameter: AxisEvent) => void)): this { + return this + } public focusable(value: boolean): this { return this } + public nextFocus(value: FocusMovement | undefined): this { + return this + } + public tabStop(value: boolean): this { + return this + } public onFocus(value: (() => void)): this { return this } @@ -7043,49 +7691,49 @@ export class ArkCommonMethodStyle implements CommonMethod { public transition(effect: TransitionOptions | TransitionEffect | TransitionEffect, onFinish?: TransitionFinishCallback): this { return this } - public motionBlur(value: MotionBlurOptions): this { + public motionBlur(value: MotionBlurOptions | MotionBlurOptions | undefined): this { return this } - public brightness(value: number): this { + public brightness(value: number | number | undefined): this { return this } - public contrast(value: number): this { + public contrast(value: number | number | undefined): this { return this } - public grayscale(value: number): this { + public grayscale(value: number | number | undefined): this { return this } - public colorBlend(value: Color | string | Resource): this { + public colorBlend(value: Color | string | Resource | Color | string | Resource | undefined): this { return this } - public saturate(value: number): this { + public saturate(value: number | number | undefined): this { return this } - public sepia(value: number): this { + public sepia(value: number | number | undefined): this { return this } - public invert(value: number | InvertOptions): this { + public invert(value: number | InvertOptions | number | InvertOptions | undefined): this { return this } - public hueRotate(value: number | string): this { + public hueRotate(value: number | string | number | string | undefined): this { return this } - public useShadowBatching(value: boolean): this { + public useShadowBatching(value: boolean | boolean | undefined): this { return this } - public useEffect(useEffect: boolean, effectType?: EffectType): this { + public useEffect(useEffect: boolean | boolean | undefined, effectType?: EffectType): this { return this } - public renderGroup(value: boolean): this { + public renderGroup(value: boolean | boolean | undefined): this { return this } - public freeze(value: boolean): this { + public freeze(value: boolean | boolean | undefined): this { return this } - public translate(value: TranslateOptions): this { + public translate(value: TranslateOptions | TranslateOptions | undefined): this { return this } - public scale(value: ScaleOptions): this { + public scale(value: ScaleOptions | ScaleOptions | undefined): this { return this } public gridSpan(value: number): this { @@ -7094,10 +7742,10 @@ export class ArkCommonMethodStyle implements CommonMethod { public gridOffset(value: number): this { return this } - public rotate(value: RotateOptions): this { + public rotate(value: RotateOptions | RotateOptions | undefined): this { return this } - public transform(value: TransformationMatrix): this { + public transform(value: TransformationMatrix | Object | undefined): this { return this } public onAppear(value: (() => void)): this { @@ -7178,7 +7826,7 @@ export class ArkCommonMethodStyle implements CommonMethod { public onDragLeave(value: ((event: DragEvent,extraParams?: string) => void)): this { return this } - public onDrop(value: ((event: DragEvent,extraParams?: string) => void)): this { + public onDrop(eventCallback: ((event: DragEvent,extraParams?: string) => void) | OnDragEventCallback, dropOptions?: DropOptions): this { return this } public onDragEnd(value: ((event: DragEvent,extraParams?: string) => void)): this { @@ -7190,37 +7838,37 @@ export class ArkCommonMethodStyle implements CommonMethod { public draggable(value: boolean): this { return this } - public dragPreview(value: CustomBuilder | DragItemInfo | string): this { + public dragPreview(preview: CustomBuilder | DragItemInfo | string, config?: PreviewConfiguration): this { return this } public onPreDrag(value: ((parameter: PreDragStatus) => void)): this { return this } - public linearGradient(value: Type_CommonMethod_linearGradient_value): this { + public linearGradient(value: LinearGradientOptions | LinearGradientOptions | undefined): this { return this } - public sweepGradient(value: Type_CommonMethod_sweepGradient_value): this { + public sweepGradient(value: SweepGradientOptions | SweepGradientOptions | undefined): this { return this } - public radialGradient(value: Type_CommonMethod_radialGradient_value): this { + public radialGradient(value: RadialGradientOptions | RadialGradientOptions | undefined): this { return this } public motionPath(value: MotionPathOptions): this { return this } - public shadow(value: ShadowOptions | ShadowStyle): this { + public shadow(value: ShadowOptions | ShadowStyle | ShadowOptions | ShadowStyle | undefined): this { return this } public clip(value: boolean | undefined): this { return this } - public clipShape(value: CircleShape | EllipseShape | PathShape | RectShape): this { + public clipShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this { return this } public mask(value: ProgressMask | undefined): this { return this } - public maskShape(value: CircleShape | EllipseShape | PathShape | RectShape): this { + public maskShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this { return this } public key(value: string): this { @@ -7238,13 +7886,13 @@ export class ArkCommonMethodStyle implements CommonMethod { public restoreId(value: number): this { return this } - public sphericalEffect(value: number): this { + public sphericalEffect(value: number | number | undefined): this { return this } - public lightUpEffect(value: number): this { + public lightUpEffect(value: number | number | undefined): this { return this } - public pixelStretchEffect(value: PixelStretchEffectOptions): this { + public pixelStretchEffect(value: PixelStretchEffectOptions | PixelStretchEffectOptions | undefined): this { return this } public accessibilityGroup(isGroup: boolean, accessibilityOptions?: AccessibilityOptions): this { @@ -7253,6 +7901,24 @@ export class ArkCommonMethodStyle implements CommonMethod { public accessibilityText(value: string | Resource): this { return this } + public accessibilityNextFocusId(value: string): this { + return this + } + public accessibilityDefaultFocus(value: boolean): this { + return this + } + public accessibilityUseSamePage(value: AccessibilitySamePageMode): this { + return this + } + public accessibilityScrollTriggerable(value: boolean): this { + return this + } + public accessibilityRole(value: AccessibilityRoleType): this { + return this + } + public onAccessibilityFocus(value: AccessibilityFocusCallback): this { + return this + } public accessibilityTextHint(value: string): this { return this } @@ -7277,13 +7943,16 @@ export class ArkCommonMethodStyle implements CommonMethod { public reuseId(value: string): this { return this } - public renderFit(value: RenderFit): this { + public reuse(value: ReuseOptions): this { + return this + } + public renderFit(value: RenderFit | RenderFit | undefined): this { return this } public gestureModifier(value: GestureModifier): this { return this } - public backgroundBrightness(value: BackgroundBrightnessOptions): this { + public backgroundBrightness(value: BackgroundBrightnessOptions | BackgroundBrightnessOptions | undefined): this { return this } public onGestureJudgeBegin(value: ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult)): this { @@ -7304,6 +7973,9 @@ export class ArkCommonMethodStyle implements CommonMethod { public onSizeChange(value: SizeChangeCallback): this { return this } + public accessibilityFocusDrawLevel(value: FocusDrawLevel): this { + return this + } public customProperty(name: string, value: Object | undefined): this { return this } @@ -7313,13 +7985,13 @@ export class ArkCommonMethodStyle implements CommonMethod { public background(builder: CustomBuilder, options?: Literal_Alignment_align): this { return this } - public backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat): this { + public backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat | BackgroundImageOptions): this { return this } - public backgroundBlurStyle(value: BlurStyle, options?: BackgroundBlurStyleOptions): this { + public backgroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { return this } - public foregroundBlurStyle(value: BlurStyle, options?: ForegroundBlurStyleOptions): this { + public foregroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { return this } public focusScopeId(id: string, isGroup?: boolean, arrowStepOut?: boolean): this { @@ -7337,16 +8009,16 @@ export class ArkCommonMethodStyle implements CommonMethod { public parallelGesture(gesture: GestureType, mask?: GestureMask): this { return this } - public blur(value: number, options?: BlurOptions): this { + public blur(blurRadius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { return this } - public linearGradientBlur(value: number, options: LinearGradientBlurOptions): this { + public linearGradientBlur(value: number | number | undefined, options: LinearGradientBlurOptions | LinearGradientBlurOptions | undefined): this { return this } public systemBarEffect(): this { return this } - public backdropBlur(value: number, options?: BlurOptions): this { + public backdropBlur(radius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { return this } public sharedTransition(id: string, options?: sharedTransitionOptions): this { @@ -7361,12 +8033,15 @@ export class ArkCommonMethodStyle implements CommonMethod { public overlay(value: string | CustomBuilder | ComponentContent, options?: OverlayOptions): this { return this } - public blendMode(value: BlendMode, type?: BlendApplyType): this { + public blendMode(value: BlendMode | BlendMode | undefined, type?: BlendApplyType): this { return this } public advancedBlendMode(effect: BlendMode | BrightnessBlender, type?: BlendApplyType): this { return this } + public bindTips(message: TipsMessageType, options?: TipsOptions): this { + return this + } public bindPopup(show: boolean, popup: PopupOptions | CustomPopupOptions): this { return this } @@ -7376,15 +8051,18 @@ export class ArkCommonMethodStyle implements CommonMethod { public bindContextMenu(content: CustomBuilder | boolean, responseType: ResponseType | CustomBuilder, options?: ContextMenuOptions): this { return this } - public bindContentCover(isShow: boolean | undefined, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this { + public bindContentCover(isShow: boolean, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this { return this } - public bindSheet(isShow: boolean | undefined, builder: CustomBuilder, options?: SheetOptions): this { + public bindSheet(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): this { return this } public onVisibleAreaChange(ratios: Array, event: VisibleAreaChangeCallback): this { return this } + public onVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void { + throw new Error("Unimplmented") + } public keyboardShortcut(value: string | FunctionKey, keys: Array, action?: (() => void)): this { return this } @@ -7571,6 +8249,9 @@ export interface RouterPageInfo { export interface Theme { _ThemeStub: string; } +export interface PromptActionDialogController { + _PromptActionDialogControllerStub: string; +} export interface Literal_Empty { } export interface RectResult { @@ -7584,6 +8265,9 @@ export interface CaretOffset { x: number; y: number; } +export interface TextContentControllerOptions { + offset?: number; +} export enum ContentClipMode { CONTENT_ONLY = 0, BOUNDARY = 1, @@ -7603,6 +8287,8 @@ export interface ScrollableCommonMethod extends CommonMethod { onScrollStop(value: (() => void)): this flingSpeedLimit(value: number): this clipContent(value: ContentClipMode | RectShape): this + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + backToTop(value: boolean): this edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): this fadingEdge(enabled: boolean | undefined, options?: FadingEdgeOptions): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this @@ -7635,6 +8321,10 @@ export interface UIScrollableCommonMethod extends UICommonMethod { /** @memo */ clipContent(value: ContentClipMode | RectShape): this /** @memo */ + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + /** @memo */ + backToTop(value: boolean): this + /** @memo */ edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): this /** @memo */ fadingEdge(enabled: boolean | undefined, options?: FadingEdgeOptions): this @@ -7681,6 +8371,12 @@ export class ArkScrollableCommonMethodStyle extends ArkCommonMethodStyle impleme public clipContent(value: ContentClipMode | RectShape): this { return this } + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + return this + } + public backToTop(value: boolean): this { + return this + } public edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): this { return this } @@ -7699,10 +8395,21 @@ export interface OnWillScrollCallback { } export type OnScrollCallback = (scrollOffset: number, scrollState: ScrollState) => void; export type OnMoveHandler = (from: number, to: number) => void; +export interface ItemDragEventHandler { + onLongPress?: ((index: number) => void); + onDragStart?: ((index: number) => void); + onMoveThrough?: OnMoveHandler; + onDrop?: ((index: number) => void); +} export interface DynamicNode { } export interface EdgeEffectOptions { alwaysEnabled: boolean; + effectEdge?: number; +} +export enum EffectEdge { + START = 1, + END = 2 } export interface BackgroundBrightnessOptions { rate: number; @@ -7724,6 +8431,7 @@ export interface KeyframeAnimateParam { delay?: number; iterations?: number; onFinish?: (() => void); + expectedFrameRateRange?: ExpectedFrameRateRange; } export interface KeyframeState { duration: number; @@ -7743,6 +8451,14 @@ export interface UIGestureEvent { export interface SelectionOptions { menuPolicy?: MenuPolicy; } +export interface FocusMovement { + forward?: string; + backward?: string; + up?: string; + down?: string; + left?: string; + right?: string; +} export enum KeyboardAvoidMode { DEFAULT = 0, NONE = 1 @@ -7751,26 +8467,48 @@ export enum HoverModeAreaType { TOP_SCREEN = 0, BOTTOM_SCREEN = 1 } +export interface DateRange { + start?: Date; + end?: Date; +} /** @memo:stable */ export class ArkCommonMethodComponent extends ComponentBase implements UICommonMethod { getPeer(): ArkCommonMethodPeer { return (this.peer as ArkCommonMethodPeer) } /** @memo */ - public width(value: Length): this { + public width(value: Length | Length | LayoutPolicy): this { if (this.checkPriority("width")) { - const value_casted = value as (Length) - this.getPeer()?.widthAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Length) + this.getPeer()?.width0Attribute(value_casted) + return this + } + if (((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isLayoutPolicy(value)))) { + const value_casted = value as (Length | LayoutPolicy) + this.getPeer()?.width1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public height(value: Length): this { + public height(value: Length | Length | LayoutPolicy): this { if (this.checkPriority("height")) { - const value_casted = value as (Length) - this.getPeer()?.heightAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Length) + this.getPeer()?.height0Attribute(value_casted) + return this + } + if (((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isLayoutPolicy(value)))) { + const value_casted = value as (Length | LayoutPolicy) + this.getPeer()?.height1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7892,11 +8630,20 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public backgroundColor(value: ResourceColor): this { + public backgroundColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("backgroundColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.backgroundColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.backgroundColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.backgroundColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7928,11 +8675,22 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public backgroundEffect(value: BackgroundEffectOptions): this { + public backgroundEffect(options: BackgroundEffectOptions | BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): this { if (this.checkPriority("backgroundEffect")) { - const value_casted = value as (BackgroundEffectOptions) - this.getPeer()?.backgroundEffectAttribute(value_casted) - return this + const options_type = runtimeType(options) + const sysOptions_type = runtimeType(sysOptions) + if (TypeChecker.isBackgroundEffectOptions(options, false, false, false, false, false, false, false, false)) { + const value_casted = options as (BackgroundEffectOptions) + this.getPeer()?.backgroundEffect0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == options_type) || (RuntimeType.UNDEFINED == options_type)) { + const options_casted = options as (BackgroundEffectOptions | undefined) + const sysOptions_casted = sysOptions as (SystemAdaptiveOptions | undefined) + this.getPeer()?.backgroundEffect1Attribute(options_casted, sysOptions_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7991,11 +8749,20 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public opacity(value: number | Resource): this { + public opacity(value: number | Resource | number | Resource | undefined): this { if (this.checkPriority("opacity")) { - const value_casted = value as (number | Resource) - this.getPeer()?.opacityAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (number | Resource) + this.getPeer()?.opacity0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.opacity1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -8054,56 +8821,110 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public outline(value: OutlineOptions): this { + public outline(value: OutlineOptions | OutlineOptions | undefined): this { if (this.checkPriority("outline")) { - const value_casted = value as (OutlineOptions) - this.getPeer()?.outlineAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isOutlineOptions(value, false, false, false, false)) { + const value_casted = value as (OutlineOptions) + this.getPeer()?.outline0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OutlineOptions | undefined) + this.getPeer()?.outline1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public outlineStyle(value: OutlineStyle | EdgeOutlineStyles): this { + public outlineStyle(value: OutlineStyle | EdgeOutlineStyles | OutlineStyle | EdgeOutlineStyles | undefined): this { if (this.checkPriority("outlineStyle")) { - const value_casted = value as (OutlineStyle | EdgeOutlineStyles) - this.getPeer()?.outlineStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isOutlineStyle(value)) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (OutlineStyle | EdgeOutlineStyles) + this.getPeer()?.outlineStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OutlineStyle | EdgeOutlineStyles | undefined) + this.getPeer()?.outlineStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public outlineWidth(value: Dimension | EdgeOutlineWidths): this { + public outlineWidth(value: Dimension | EdgeOutlineWidths | Dimension | EdgeOutlineWidths | undefined): this { if (this.checkPriority("outlineWidth")) { - const value_casted = value as (Dimension | EdgeOutlineWidths) - this.getPeer()?.outlineWidthAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) || (TypeChecker.isEdgeOutlineWidths(value, false, false, false, false))) { + const value_casted = value as (Dimension | EdgeOutlineWidths) + this.getPeer()?.outlineWidth0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Dimension | EdgeOutlineWidths | undefined) + this.getPeer()?.outlineWidth1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): this { + public outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this { if (this.checkPriority("outlineColor")) { - const value_casted = value as (ResourceColor | EdgeColors | LocalizedEdgeColors) - this.getPeer()?.outlineColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) || (TypeChecker.isEdgeColors(value, true, false, true, false)) || (TypeChecker.isLocalizedEdgeColors(value, true, false, true, false))) { + const value_casted = value as (ResourceColor | EdgeColors | LocalizedEdgeColors) + this.getPeer()?.outlineColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | EdgeColors | LocalizedEdgeColors | undefined) + this.getPeer()?.outlineColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public outlineRadius(value: Dimension | OutlineRadiuses): this { + public outlineRadius(value: Dimension | OutlineRadiuses | Dimension | OutlineRadiuses | undefined): this { if (this.checkPriority("outlineRadius")) { - const value_casted = value as (Dimension | OutlineRadiuses) - this.getPeer()?.outlineRadiusAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) || (TypeChecker.isOutlineRadiuses(value, false, false, false, false))) { + const value_casted = value as (Dimension | OutlineRadiuses) + this.getPeer()?.outlineRadius0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Dimension | OutlineRadiuses | undefined) + this.getPeer()?.outlineRadius1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public foregroundColor(value: ResourceColor | ColoringStrategy): this { + public foregroundColor(value: ResourceColor | ColoringStrategy | ResourceColor | ColoringStrategy | undefined): this { if (this.checkPriority("foregroundColor")) { - const value_casted = value as (ResourceColor | ColoringStrategy) - this.getPeer()?.foregroundColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) || (TypeChecker.isColoringStrategy(value))) { + const value_casted = value as (ResourceColor | ColoringStrategy) + this.getPeer()?.foregroundColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | ColoringStrategy | undefined) + this.getPeer()?.foregroundColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -8128,6 +8949,15 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public onHoverMove(value: ((parameter: HoverEvent) => void)): this { + if (this.checkPriority("onHoverMove")) { + const value_casted = value as (((parameter: HoverEvent) => void)) + this.getPeer()?.onHoverMoveAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onAccessibilityHover(value: AccessibilityCallback): this { if (this.checkPriority("onAccessibilityHover")) { const value_casted = value as (AccessibilityCallback) @@ -8164,10 +8994,28 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public onKeyEvent(value: ((event: KeyEvent) => void)): this { + public onKeyEvent(value: ((event: KeyEvent) => void) | ((parameter: KeyEvent) => boolean)): this { if (this.checkPriority("onKeyEvent")) { - const value_casted = value as (((event: KeyEvent) => void)) - this.getPeer()?.onKeyEventAttribute(value_casted) + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((event: KeyEvent) => void)) + this.getPeer()?.onKeyEvent0Attribute(value_casted) + return this + } + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((parameter: KeyEvent) => boolean)) + this.getPeer()?.onKeyEvent1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public onDigitalCrown(value: ((parameter: CrownEvent) => void) | undefined): this { + if (this.checkPriority("onDigitalCrown")) { + const value_casted = value as (((parameter: CrownEvent) => void) | undefined) + this.getPeer()?.onDigitalCrownAttribute(value_casted) return this } return this @@ -8182,6 +9030,33 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public onKeyEventDispatch(value: ((parameter: KeyEvent) => boolean)): this { + if (this.checkPriority("onKeyEventDispatch")) { + const value_casted = value as (((parameter: KeyEvent) => boolean)) + this.getPeer()?.onKeyEventDispatchAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onFocusAxisEvent(value: ((parameter: FocusAxisEvent) => void)): this { + if (this.checkPriority("onFocusAxisEvent")) { + const value_casted = value as (((parameter: FocusAxisEvent) => void)) + this.getPeer()?.onFocusAxisEventAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onAxisEvent(value: ((parameter: AxisEvent) => void)): this { + if (this.checkPriority("onAxisEvent")) { + const value_casted = value as (((parameter: AxisEvent) => void)) + this.getPeer()?.onAxisEventAttribute(value_casted) + return this + } + return this + } + /** @memo */ public focusable(value: boolean): this { if (this.checkPriority("focusable")) { const value_casted = value as (boolean) @@ -8191,6 +9066,24 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public nextFocus(value: FocusMovement | undefined): this { + if (this.checkPriority("nextFocus")) { + const value_casted = value as (FocusMovement | undefined) + this.getPeer()?.nextFocusAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public tabStop(value: boolean): this { + if (this.checkPriority("tabStop")) { + const value_casted = value as (boolean) + this.getPeer()?.tabStopAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onFocus(value: (() => void)): this { if (this.checkPriority("onFocus")) { const value_casted = value as ((() => void)) @@ -8283,148 +9176,280 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public motionBlur(value: MotionBlurOptions): this { + public motionBlur(value: MotionBlurOptions | MotionBlurOptions | undefined): this { if (this.checkPriority("motionBlur")) { - const value_casted = value as (MotionBlurOptions) - this.getPeer()?.motionBlurAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isMotionBlurOptions(value, false, false)) { + const value_casted = value as (MotionBlurOptions) + this.getPeer()?.motionBlur0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (MotionBlurOptions | undefined) + this.getPeer()?.motionBlur1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public brightness(value: number): this { + public brightness(value: number | number | undefined): this { if (this.checkPriority("brightness")) { - const value_casted = value as (number) - this.getPeer()?.brightnessAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.brightness0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.brightness1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public contrast(value: number): this { + public contrast(value: number | number | undefined): this { if (this.checkPriority("contrast")) { - const value_casted = value as (number) - this.getPeer()?.contrastAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.contrast0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.contrast1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public grayscale(value: number): this { + public grayscale(value: number | number | undefined): this { if (this.checkPriority("grayscale")) { - const value_casted = value as (number) - this.getPeer()?.grayscaleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.grayscale0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.grayscale1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public colorBlend(value: Color | string | Resource): this { + public colorBlend(value: Color | string | Resource | Color | string | Resource | undefined): this { if (this.checkPriority("colorBlend")) { - const value_casted = value as (Color | string | Resource) - this.getPeer()?.colorBlendAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Color | string | Resource) + this.getPeer()?.colorBlend0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Color | string | Resource | undefined) + this.getPeer()?.colorBlend1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public saturate(value: number): this { + public saturate(value: number | number | undefined): this { if (this.checkPriority("saturate")) { - const value_casted = value as (number) - this.getPeer()?.saturateAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.saturate0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.saturate1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public sepia(value: number): this { + public sepia(value: number | number | undefined): this { if (this.checkPriority("sepia")) { - const value_casted = value as (number) - this.getPeer()?.sepiaAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.sepia0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.sepia1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public invert(value: number | InvertOptions): this { + public invert(value: number | InvertOptions | number | InvertOptions | undefined): this { if (this.checkPriority("invert")) { - const value_casted = value as (number | InvertOptions) - this.getPeer()?.invertAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (number | InvertOptions) + this.getPeer()?.invert0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | InvertOptions | undefined) + this.getPeer()?.invert1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public hueRotate(value: number | string): this { + public hueRotate(value: number | string | number | string | undefined): this { if (this.checkPriority("hueRotate")) { - const value_casted = value as (number | string) - this.getPeer()?.hueRotateAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type)) { + const value_casted = value as (number | string) + this.getPeer()?.hueRotate0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | string | undefined) + this.getPeer()?.hueRotate1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public useShadowBatching(value: boolean): this { + public useShadowBatching(value: boolean | boolean | undefined): this { if (this.checkPriority("useShadowBatching")) { - const value_casted = value as (boolean) - this.getPeer()?.useShadowBatchingAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.useShadowBatching0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.useShadowBatching1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public useEffect(useEffect: boolean, effectType?: EffectType): this { + public useEffect(useEffect: boolean | boolean | undefined, effectType?: EffectType): this { if (this.checkPriority("useEffect")) { const useEffect_type = runtimeType(useEffect) const effectType_type = runtimeType(effectType) - if (RuntimeType.UNDEFINED == effectType_type) { + if ((RuntimeType.BOOLEAN == useEffect_type) && (RuntimeType.UNDEFINED == effectType_type)) { const value_casted = useEffect as (boolean) this.getPeer()?.useEffect0Attribute(value_casted) return this } - if (TypeChecker.isEffectType(effectType)) { + if ((RuntimeType.BOOLEAN == useEffect_type) && (TypeChecker.isEffectType(effectType))) { const useEffect_casted = useEffect as (boolean) const effectType_casted = effectType as (EffectType) this.getPeer()?.useEffect1Attribute(useEffect_casted, effectType_casted) return this } + if (((RuntimeType.BOOLEAN == useEffect_type) || (RuntimeType.UNDEFINED == useEffect_type)) && ((RuntimeType.OBJECT == effectType_type) || (RuntimeType.OBJECT == effectType_type))) { + const useEffect_casted = useEffect as (boolean | undefined) + const effectType_casted = effectType as (EffectType | undefined) + this.getPeer()?.useEffect2Attribute(useEffect_casted, effectType_casted) + return this + } throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public renderGroup(value: boolean): this { + public renderGroup(value: boolean | boolean | undefined): this { if (this.checkPriority("renderGroup")) { - const value_casted = value as (boolean) - this.getPeer()?.renderGroupAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.renderGroup0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.renderGroup1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public freeze(value: boolean): this { + public freeze(value: boolean | boolean | undefined): this { if (this.checkPriority("freeze")) { - const value_casted = value as (boolean) - this.getPeer()?.freezeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.freeze0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.freeze1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public translate(value: TranslateOptions): this { + public translate(value: TranslateOptions | TranslateOptions | undefined): this { if (this.checkPriority("translate")) { - const value_casted = value as (TranslateOptions) - this.getPeer()?.translateAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isTranslateOptions(value, false, false, false)) { + const value_casted = value as (TranslateOptions) + this.getPeer()?.translate0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (TranslateOptions | undefined) + this.getPeer()?.translate1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public scale(value: ScaleOptions): this { + public scale(value: ScaleOptions | ScaleOptions | undefined): this { if (this.checkPriority("scale")) { - const value_casted = value as (ScaleOptions) - this.getPeer()?.scaleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isScaleOptions(value, false, false, false, false, false)) { + const value_casted = value as (ScaleOptions) + this.getPeer()?.scale0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ScaleOptions | undefined) + this.getPeer()?.scale1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -8447,20 +9472,38 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public rotate(value: RotateOptions): this { + public rotate(value: RotateOptions | RotateOptions | undefined): this { if (this.checkPriority("rotate")) { - const value_casted = value as (RotateOptions) - this.getPeer()?.rotateAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isRotateOptions(value, false, false, false, false, false, false, false, false)) { + const value_casted = value as (RotateOptions) + this.getPeer()?.rotate0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (RotateOptions | undefined) + this.getPeer()?.rotate1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public transform(value: TransformationMatrix): this { + public transform(value: TransformationMatrix | Object | undefined): this { if (this.checkPriority("transform")) { - const value_casted = value as (TransformationMatrix) - this.getPeer()?.transformAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isTransformationMatrix(value, false)) { + const value_casted = value as (TransformationMatrix) + this.getPeer()?.transform0Attribute(value_casted) + return this + } + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Object | undefined) + this.getPeer()?.transform1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -8665,9 +9708,18 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM /** @memo */ public clickEffect(value: ClickEffect | undefined): this { if (this.checkPriority("clickEffect")) { - const value_casted = value as (ClickEffect | undefined) - this.getPeer()?.clickEffectAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ClickEffect | undefined) + this.getPeer()?.clickEffect0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ClickEffect | undefined) + this.getPeer()?.clickEffect1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -8708,11 +9760,22 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public onDrop(value: ((event: DragEvent,extraParams?: string) => void)): this { + public onDrop(eventCallback: ((event: DragEvent,extraParams?: string) => void) | OnDragEventCallback, dropOptions?: DropOptions): this { if (this.checkPriority("onDrop")) { - const value_casted = value as (((event: DragEvent,extraParams?: string) => void)) - this.getPeer()?.onDropAttribute(value_casted) - return this + const eventCallback_type = runtimeType(eventCallback) + const dropOptions_type = runtimeType(dropOptions) + if (RuntimeType.FUNCTION == eventCallback_type) { + const value_casted = eventCallback as (((event: DragEvent,extraParams?: string) => void)) + this.getPeer()?.onDrop0Attribute(value_casted) + return this + } + if (RuntimeType.FUNCTION == eventCallback_type) { + const eventCallback_casted = eventCallback as (OnDragEventCallback) + const dropOptions_casted = dropOptions as (DropOptions | undefined) + this.getPeer()?.onDrop1Attribute(eventCallback_casted, dropOptions_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -8744,11 +9807,22 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public dragPreview(value: CustomBuilder | DragItemInfo | string): this { + public dragPreview(preview: CustomBuilder | DragItemInfo | string, config?: PreviewConfiguration): this { if (this.checkPriority("dragPreview")) { - const value_casted = value as (CustomBuilder | DragItemInfo | string) - this.getPeer()?.dragPreviewAttribute(value_casted) - return this + const preview_type = runtimeType(preview) + const config_type = runtimeType(config) + if ((RuntimeType.FUNCTION == preview_type) || (RuntimeType.OBJECT == preview_type) || (RuntimeType.STRING == preview_type)) { + const value_casted = preview as (CustomBuilder | DragItemInfo | string) + this.getPeer()?.dragPreview0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == preview_type) || (RuntimeType.OBJECT == preview_type) || (RuntimeType.STRING == preview_type)) { + const preview_casted = preview as (CustomBuilder | DragItemInfo | string) + const config_casted = config as (PreviewConfiguration | undefined) + this.getPeer()?.dragPreview1Attribute(preview_casted, config_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -8762,29 +9836,56 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public linearGradient(value: Type_CommonMethod_linearGradient_value): this { + public linearGradient(value: LinearGradientOptions | LinearGradientOptions | undefined): this { if (this.checkPriority("linearGradient")) { - const value_casted = value as (Type_CommonMethod_linearGradient_value) - this.getPeer()?.linearGradientAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isLinearGradientOptions(value, false, false, false, false)) { + const value_casted = value as (LinearGradientOptions) + this.getPeer()?.linearGradient0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (LinearGradientOptions | undefined) + this.getPeer()?.linearGradient1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public sweepGradient(value: Type_CommonMethod_sweepGradient_value): this { + public sweepGradient(value: SweepGradientOptions | SweepGradientOptions | undefined): this { if (this.checkPriority("sweepGradient")) { - const value_casted = value as (Type_CommonMethod_sweepGradient_value) - this.getPeer()?.sweepGradientAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isSweepGradientOptions(value, false, false, false, false, false, false)) { + const value_casted = value as (SweepGradientOptions) + this.getPeer()?.sweepGradient0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (SweepGradientOptions | undefined) + this.getPeer()?.sweepGradient1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public radialGradient(value: Type_CommonMethod_radialGradient_value): this { + public radialGradient(value: RadialGradientOptions | RadialGradientOptions | undefined): this { if (this.checkPriority("radialGradient")) { - const value_casted = value as (Type_CommonMethod_radialGradient_value) - this.getPeer()?.radialGradientAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isRadialGradientOptions(value, false, false, false, false)) { + const value_casted = value as (RadialGradientOptions) + this.getPeer()?.radialGradient0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (RadialGradientOptions | undefined) + this.getPeer()?.radialGradient1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -8798,11 +9899,20 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public shadow(value: ShadowOptions | ShadowStyle): this { + public shadow(value: ShadowOptions | ShadowStyle | ShadowOptions | ShadowStyle | undefined): this { if (this.checkPriority("shadow")) { - const value_casted = value as (ShadowOptions | ShadowStyle) - this.getPeer()?.shadowAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.OBJECT == value_type) || (TypeChecker.isShadowStyle(value))) { + const value_casted = value as (ShadowOptions | ShadowStyle) + this.getPeer()?.shadow0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ShadowOptions | ShadowStyle | undefined) + this.getPeer()?.shadow1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -8820,16 +9930,30 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM this.getPeer()?.clip1Attribute(value_casted) return this } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.clip2Attribute(value_casted) + return this + } throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public clipShape(value: CircleShape | EllipseShape | PathShape | RectShape): this { + public clipShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this { if (this.checkPriority("clipShape")) { - const value_casted = value as (CircleShape | EllipseShape | PathShape | RectShape) - this.getPeer()?.clipShapeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isCircleShape(value)) || (TypeChecker.isEllipseShape(value)) || (TypeChecker.isPathShape(value)) || (TypeChecker.isRectShape(value))) { + const value_casted = value as (CircleShape | EllipseShape | PathShape | RectShape) + this.getPeer()?.clipShape0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (CircleShape | EllipseShape | PathShape | RectShape | undefined) + this.getPeer()?.clipShape1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -8847,16 +9971,30 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM this.getPeer()?.mask1Attribute(value_casted) return this } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ProgressMask | undefined) + this.getPeer()?.mask2Attribute(value_casted) + return this + } throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public maskShape(value: CircleShape | EllipseShape | PathShape | RectShape): this { + public maskShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this { if (this.checkPriority("maskShape")) { - const value_casted = value as (CircleShape | EllipseShape | PathShape | RectShape) - this.getPeer()?.maskShapeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isCircleShape(value)) || (TypeChecker.isEllipseShape(value)) || (TypeChecker.isPathShape(value)) || (TypeChecker.isRectShape(value))) { + const value_casted = value as (CircleShape | EllipseShape | PathShape | RectShape) + this.getPeer()?.maskShape0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (CircleShape | EllipseShape | PathShape | RectShape | undefined) + this.getPeer()?.maskShape1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -8908,29 +10046,56 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public sphericalEffect(value: number): this { + public sphericalEffect(value: number | number | undefined): this { if (this.checkPriority("sphericalEffect")) { - const value_casted = value as (number) - this.getPeer()?.sphericalEffectAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.sphericalEffect0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.sphericalEffect1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public lightUpEffect(value: number): this { + public lightUpEffect(value: number | number | undefined): this { if (this.checkPriority("lightUpEffect")) { - const value_casted = value as (number) - this.getPeer()?.lightUpEffectAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.lightUpEffect0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.lightUpEffect1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public pixelStretchEffect(value: PixelStretchEffectOptions): this { + public pixelStretchEffect(value: PixelStretchEffectOptions | PixelStretchEffectOptions | undefined): this { if (this.checkPriority("pixelStretchEffect")) { - const value_casted = value as (PixelStretchEffectOptions) - this.getPeer()?.pixelStretchEffectAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isPixelStretchEffectOptions(value, false, false, false, false)) { + const value_casted = value as (PixelStretchEffectOptions) + this.getPeer()?.pixelStretchEffect0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PixelStretchEffectOptions | undefined) + this.getPeer()?.pixelStretchEffect1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -8964,6 +10129,60 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public accessibilityNextFocusId(value: string): this { + if (this.checkPriority("accessibilityNextFocusId")) { + const value_casted = value as (string) + this.getPeer()?.accessibilityNextFocusIdAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public accessibilityDefaultFocus(value: boolean): this { + if (this.checkPriority("accessibilityDefaultFocus")) { + const value_casted = value as (boolean) + this.getPeer()?.accessibilityDefaultFocusAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public accessibilityUseSamePage(value: AccessibilitySamePageMode): this { + if (this.checkPriority("accessibilityUseSamePage")) { + const value_casted = value as (AccessibilitySamePageMode) + this.getPeer()?.accessibilityUseSamePageAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public accessibilityScrollTriggerable(value: boolean): this { + if (this.checkPriority("accessibilityScrollTriggerable")) { + const value_casted = value as (boolean) + this.getPeer()?.accessibilityScrollTriggerableAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public accessibilityRole(value: AccessibilityRoleType): this { + if (this.checkPriority("accessibilityRole")) { + const value_casted = value as (AccessibilityRoleType) + this.getPeer()?.accessibilityRoleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onAccessibilityFocus(value: AccessibilityFocusCallback): this { + if (this.checkPriority("onAccessibilityFocus")) { + const value_casted = value as (AccessibilityFocusCallback) + this.getPeer()?.onAccessibilityFocusAttribute(value_casted) + return this + } + return this + } + /** @memo */ public accessibilityTextHint(value: string): this { if (this.checkPriority("accessibilityTextHint")) { const value_casted = value as (string) @@ -9045,15 +10264,33 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public renderFit(value: RenderFit): this { - if (this.checkPriority("renderFit")) { - const value_casted = value as (RenderFit) - this.getPeer()?.renderFitAttribute(value_casted) + public reuse(value: ReuseOptions): this { + if (this.checkPriority("reuse")) { + const value_casted = value as (ReuseOptions) + this.getPeer()?.reuseAttribute(value_casted) return this } return this } /** @memo */ + public renderFit(value: RenderFit | RenderFit | undefined): this { + if (this.checkPriority("renderFit")) { + const value_type = runtimeType(value) + if (TypeChecker.isRenderFit(value)) { + const value_casted = value as (RenderFit) + this.getPeer()?.renderFit0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (RenderFit | undefined) + this.getPeer()?.renderFit1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ public gestureModifier(value: GestureModifier): this { if (this.checkPriority("gestureModifier")) { const value_casted = value as (GestureModifier) @@ -9063,11 +10300,20 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public backgroundBrightness(value: BackgroundBrightnessOptions): this { + public backgroundBrightness(value: BackgroundBrightnessOptions | BackgroundBrightnessOptions | undefined): this { if (this.checkPriority("backgroundBrightness")) { - const value_casted = value as (BackgroundBrightnessOptions) - this.getPeer()?.backgroundBrightnessAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isBackgroundBrightnessOptions(value, false, false)) { + const value_casted = value as (BackgroundBrightnessOptions) + this.getPeer()?.backgroundBrightness0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (BackgroundBrightnessOptions | undefined) + this.getPeer()?.backgroundBrightness1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -9128,6 +10374,15 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public accessibilityFocusDrawLevel(value: FocusDrawLevel): this { + if (this.checkPriority("accessibilityFocusDrawLevel")) { + const value_casted = value as (FocusDrawLevel) + this.getPeer()?.accessibilityFocusDrawLevelAttribute(value_casted) + return this + } + return this + } + /** @memo */ public customProperty(name: string, value: Object | undefined): this { if (this.checkPriority("customProperty")) { const name_casted = name as (string) @@ -9158,32 +10413,69 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat): this { + public backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat | BackgroundImageOptions): this { if (this.checkPriority("backgroundImage")) { - const src_casted = src as (ResourceStr | PixelMap) - const repeat_casted = repeat as (ImageRepeat | undefined) - this.getPeer()?.backgroundImageAttribute(src_casted, repeat_casted) - return this + const src_type = runtimeType(src) + const repeat_type = runtimeType(repeat) + if ((((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (TypeChecker.isPixelMap(src, false, false))) && ((RuntimeType.OBJECT == repeat_type) || (RuntimeType.OBJECT == repeat_type))) { + const src_casted = src as (ResourceStr | PixelMap) + const repeat_casted = repeat as (ImageRepeat | undefined) + this.getPeer()?.backgroundImage0Attribute(src_casted, repeat_casted) + return this + } + if ((((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (TypeChecker.isPixelMap(src, false, false))) && ((RuntimeType.OBJECT == repeat_type) || (RuntimeType.UNDEFINED == repeat_type))) { + const src_casted = src as (ResourceStr | PixelMap) + const options_casted = repeat as (BackgroundImageOptions | undefined) + this.getPeer()?.backgroundImage1Attribute(src_casted, options_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public backgroundBlurStyle(value: BlurStyle, options?: BackgroundBlurStyleOptions): this { + public backgroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { if (this.checkPriority("backgroundBlurStyle")) { - const value_casted = value as (BlurStyle) - const options_casted = options as (BackgroundBlurStyleOptions | undefined) - this.getPeer()?.backgroundBlurStyleAttribute(value_casted, options_casted) - return this + const style_type = runtimeType(style) + const options_type = runtimeType(options) + const sysOptions_type = runtimeType(sysOptions) + if (TypeChecker.isBlurStyle(style)) { + const value_casted = style as (BlurStyle) + const options_casted = options as (BackgroundBlurStyleOptions | undefined) + this.getPeer()?.backgroundBlurStyle0Attribute(value_casted, options_casted) + return this + } + if ((RuntimeType.OBJECT == style_type) || (RuntimeType.OBJECT == style_type)) { + const style_casted = style as (BlurStyle | undefined) + const options_casted = options as (BackgroundBlurStyleOptions | undefined) + const sysOptions_casted = sysOptions as (SystemAdaptiveOptions | undefined) + this.getPeer()?.backgroundBlurStyle1Attribute(style_casted, options_casted, sysOptions_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public foregroundBlurStyle(value: BlurStyle, options?: ForegroundBlurStyleOptions): this { + public foregroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { if (this.checkPriority("foregroundBlurStyle")) { - const value_casted = value as (BlurStyle) - const options_casted = options as (ForegroundBlurStyleOptions | undefined) - this.getPeer()?.foregroundBlurStyleAttribute(value_casted, options_casted) - return this + const style_type = runtimeType(style) + const options_type = runtimeType(options) + const sysOptions_type = runtimeType(sysOptions) + if (TypeChecker.isBlurStyle(style)) { + const value_casted = style as (BlurStyle) + const options_casted = options as (ForegroundBlurStyleOptions | undefined) + this.getPeer()?.foregroundBlurStyle0Attribute(value_casted, options_casted) + return this + } + if ((RuntimeType.OBJECT == style_type) || (RuntimeType.OBJECT == style_type)) { + const style_casted = style as (BlurStyle | undefined) + const options_casted = options as (ForegroundBlurStyleOptions | undefined) + const sysOptions_casted = sysOptions as (SystemAdaptiveOptions | undefined) + this.getPeer()?.foregroundBlurStyle1Attribute(style_casted, options_casted, sysOptions_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -9241,22 +10533,46 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public blur(value: number, options?: BlurOptions): this { + public blur(blurRadius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { if (this.checkPriority("blur")) { - const value_casted = value as (number) - const options_casted = options as (BlurOptions | undefined) - this.getPeer()?.blurAttribute(value_casted, options_casted) - return this + const blurRadius_type = runtimeType(blurRadius) + const options_type = runtimeType(options) + const sysOptions_type = runtimeType(sysOptions) + if (RuntimeType.NUMBER == blurRadius_type) { + const value_casted = blurRadius as (number) + const options_casted = options as (BlurOptions | undefined) + this.getPeer()?.blur0Attribute(value_casted, options_casted) + return this + } + if ((RuntimeType.NUMBER == blurRadius_type) || (RuntimeType.UNDEFINED == blurRadius_type)) { + const blurRadius_casted = blurRadius as (number | undefined) + const options_casted = options as (BlurOptions | undefined) + const sysOptions_casted = sysOptions as (SystemAdaptiveOptions | undefined) + this.getPeer()?.blur1Attribute(blurRadius_casted, options_casted, sysOptions_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public linearGradientBlur(value: number, options: LinearGradientBlurOptions): this { + public linearGradientBlur(value: number | number | undefined, options: LinearGradientBlurOptions | LinearGradientBlurOptions | undefined): this { if (this.checkPriority("linearGradientBlur")) { - const value_casted = value as (number) - const options_casted = options as (LinearGradientBlurOptions) - this.getPeer()?.linearGradientBlurAttribute(value_casted, options_casted) - return this + const value_type = runtimeType(value) + const options_type = runtimeType(options) + if ((RuntimeType.NUMBER == value_type) && (TypeChecker.isLinearGradientBlurOptions(options, false, false))) { + const value_casted = value as (number) + const options_casted = options as (LinearGradientBlurOptions) + this.getPeer()?.linearGradientBlur0Attribute(value_casted, options_casted) + return this + } + if (((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) && ((RuntimeType.OBJECT == options_type) || (RuntimeType.UNDEFINED == options_type))) { + const blurRadius_casted = value as (number | undefined) + const options_casted = options as (LinearGradientBlurOptions | undefined) + this.getPeer()?.linearGradientBlur1Attribute(blurRadius_casted, options_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -9269,12 +10585,25 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public backdropBlur(value: number, options?: BlurOptions): this { + public backdropBlur(radius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { if (this.checkPriority("backdropBlur")) { - const value_casted = value as (number) - const options_casted = options as (BlurOptions | undefined) - this.getPeer()?.backdropBlurAttribute(value_casted, options_casted) - return this + const radius_type = runtimeType(radius) + const options_type = runtimeType(options) + const sysOptions_type = runtimeType(sysOptions) + if (RuntimeType.NUMBER == radius_type) { + const value_casted = radius as (number) + const options_casted = options as (BlurOptions | undefined) + this.getPeer()?.backdropBlur0Attribute(value_casted, options_casted) + return this + } + if ((RuntimeType.NUMBER == radius_type) || (RuntimeType.UNDEFINED == radius_type)) { + const radius_casted = radius as (number | undefined) + const options_casted = options as (BlurOptions | undefined) + const sysOptions_casted = sysOptions as (SystemAdaptiveOptions | undefined) + this.getPeer()?.backdropBlur1Attribute(radius_casted, options_casted, sysOptions_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -9319,12 +10648,23 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public blendMode(value: BlendMode, type?: BlendApplyType): this { + public blendMode(value: BlendMode | BlendMode | undefined, type?: BlendApplyType): this { if (this.checkPriority("blendMode")) { - const value_casted = value as (BlendMode) - const type_casted = type as (BlendApplyType | undefined) - this.getPeer()?.blendModeAttribute(value_casted, type_casted) - return this + const value_type = runtimeType(value) + const type_type = runtimeType(type) + if ((TypeChecker.isBlendMode(value)) && ((RuntimeType.OBJECT == type_type) || (RuntimeType.OBJECT == type_type))) { + const value_casted = value as (BlendMode) + const type_casted = type as (BlendApplyType | undefined) + this.getPeer()?.blendMode0Attribute(value_casted, type_casted) + return this + } + if (((RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type)) && ((RuntimeType.OBJECT == type_type) || (RuntimeType.OBJECT == type_type))) { + const mode_casted = value as (BlendMode | undefined) + const type_casted = type as (BlendApplyType | undefined) + this.getPeer()?.blendMode1Attribute(mode_casted, type_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -9339,6 +10679,16 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public bindTips(message: TipsMessageType, options?: TipsOptions): this { + if (this.checkPriority("bindTips")) { + const message_casted = message as (TipsMessageType) + const options_casted = options as (TipsOptions | undefined) + this.getPeer()?.bindTipsAttribute(message_casted, options_casted) + return this + } + return this + } + /** @memo */ public bindPopup(show: boolean, popup: PopupOptions | CustomPopupOptions): this { if (this.checkPriority("bindPopup")) { const show_casted = show as (boolean) @@ -9396,20 +10746,20 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public bindContentCover(isShow: boolean | undefined, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this { + public bindContentCover(isShow: boolean, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this { if (this.checkPriority("bindContentCover")) { const isShow_type = runtimeType(isShow) const builder_type = runtimeType(builder) const type_type = runtimeType(type) - if (((RuntimeType.BOOLEAN == isShow_type) || (RuntimeType.UNDEFINED == isShow_type)) && ((RuntimeType.OBJECT == type_type) || (RuntimeType.OBJECT == type_type))) { - const isShow_casted = isShow as (boolean | undefined) + if ((RuntimeType.OBJECT == type_type) || (RuntimeType.OBJECT == type_type)) { + const isShow_casted = isShow as (boolean) const builder_casted = builder as (CustomBuilder) const type_casted = type as (ModalTransition | undefined) this.getPeer()?.bindContentCover0Attribute(isShow_casted, builder_casted, type_casted) return this } - if (((RuntimeType.BOOLEAN == isShow_type) || (RuntimeType.UNDEFINED == isShow_type)) && ((RuntimeType.OBJECT == type_type) || (RuntimeType.UNDEFINED == type_type))) { - const isShow_casted = isShow as (boolean | undefined) + if ((RuntimeType.OBJECT == type_type) || (RuntimeType.UNDEFINED == type_type)) { + const isShow_casted = isShow as (boolean) const builder_casted = builder as (CustomBuilder) const options_casted = type as (ContentCoverOptions | undefined) this.getPeer()?.bindContentCover1Attribute(isShow_casted, builder_casted, options_casted) @@ -9420,9 +10770,9 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public bindSheet(isShow: boolean | undefined, builder: CustomBuilder, options?: SheetOptions): this { + public bindSheet(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): this { if (this.checkPriority("bindSheet")) { - const isShow_casted = isShow as (boolean | undefined) + const isShow_casted = isShow as (boolean) const builder_casted = builder as (CustomBuilder) const options_casted = options as (SheetOptions | undefined) this.getPeer()?.bindSheetAttribute(isShow_casted, builder_casted, options_casted) @@ -9441,6 +10791,16 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public onVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void { + if (this.checkPriority("onVisibleAreaApproximateChange")) { + const options_casted = options as (VisibleAreaEventOptions) + const event_casted = event as (VisibleAreaChangeCallback | undefined) + this.getPeer()?.onVisibleAreaApproximateChangeAttribute(options_casted, event_casted) + return + } + return + } + /** @memo */ public keyboardShortcut(value: string | FunctionKey, keys: Array, action?: (() => void)): this { if (this.checkPriority("keyboardShortcut")) { const value_casted = value as (string | FunctionKey) @@ -9739,6 +11099,24 @@ export class ArkScrollableCommonMethodComponent extends ArkCommonMethodComponent return this } /** @memo */ + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + if (this.checkPriority("digitalCrownSensitivity")) { + const value_casted = value as (CrownSensitivity | undefined) + this.getPeer()?.digitalCrownSensitivityAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public backToTop(value: boolean): this { + if (this.checkPriority("backToTop")) { + const value_casted = value as (boolean) + this.getPeer()?.backToTopAttribute(value_casted) + return this + } + return this + } + /** @memo */ public edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): this { if (this.checkPriority("edgeEffect")) { const edgeEffect_casted = edgeEffect as (EdgeEffect) @@ -9813,6 +11191,7 @@ export interface ClickEvent { screenY: number x: number y: number + hand?: InteractionHand | undefined preventDefault: (() => void) } export class ClickEventInternal extends BaseEventInternal implements MaterializedBase,ClickEvent { @@ -9864,6 +11243,13 @@ export class ClickEventInternal extends BaseEventInternal implements Materialize set y(y: number) { this.setY(y) } + get hand(): InteractionHand | undefined { + return this.getHand() + } + set hand(hand: InteractionHand | undefined) { + const hand_NonNull = (hand as InteractionHand) + this.setHand(hand_NonNull) + } get preventDefault(): (() => void) { throw new Error("Not implemented") } @@ -9946,6 +11332,14 @@ export class ClickEventInternal extends BaseEventInternal implements Materialize this.setY_serialize(y_casted) return } + private getHand(): InteractionHand | undefined { + return this.getHand_serialize() + } + private setHand(hand: InteractionHand): void { + const hand_casted = hand as (InteractionHand) + this.setHand_serialize(hand_casted) + return + } private getPreventDefault(): (() => void) { return this.getPreventDefault_serialize() } @@ -10010,6 +11404,13 @@ export class ClickEventInternal extends BaseEventInternal implements Materialize private setY_serialize(y: number): void { ArkUIGeneratedNativeModule._ClickEvent_setY(this.peer!.ptr, y) } + private getHand_serialize(): InteractionHand | undefined { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getHand(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setHand_serialize(hand: InteractionHand): void { + ArkUIGeneratedNativeModule._ClickEvent_setHand(this.peer!.ptr, TypeChecker.InteractionHand_ToNumeric(hand)) + } private getPreventDefault_serialize(): (() => void) { const retval = ArkUIGeneratedNativeModule._ClickEvent_getPreventDefault(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") @@ -10027,9 +11428,57 @@ export class ClickEventInternal extends BaseEventInternal implements Materialize } } export interface HoverEvent { + x?: number | undefined + y?: number | undefined + windowX?: number | undefined + windowY?: number | undefined + displayX?: number | undefined + displayY?: number | undefined stopPropagation: (() => void) } export class HoverEventInternal extends BaseEventInternal implements MaterializedBase,HoverEvent { + get x(): number | undefined { + return this.getX() + } + set x(x: number | undefined) { + const x_NonNull = (x as number) + this.setX(x_NonNull) + } + get y(): number | undefined { + return this.getY() + } + set y(y: number | undefined) { + const y_NonNull = (y as number) + this.setY(y_NonNull) + } + get windowX(): number | undefined { + return this.getWindowX() + } + set windowX(windowX: number | undefined) { + const windowX_NonNull = (windowX as number) + this.setWindowX(windowX_NonNull) + } + get windowY(): number | undefined { + return this.getWindowY() + } + set windowY(windowY: number | undefined) { + const windowY_NonNull = (windowY as number) + this.setWindowY(windowY_NonNull) + } + get displayX(): number | undefined { + return this.getDisplayX() + } + set displayX(displayX: number | undefined) { + const displayX_NonNull = (displayX as number) + this.setDisplayX(displayX_NonNull) + } + get displayY(): number | undefined { + return this.getDisplayY() + } + set displayY(displayY: number | undefined) { + const displayY_NonNull = (displayY as number) + this.setDisplayY(displayY_NonNull) + } get stopPropagation(): (() => void) { throw new Error("Not implemented") } @@ -10045,16 +11494,106 @@ export class HoverEventInternal extends BaseEventInternal implements Materialize const ctorPtr : KPointer = HoverEventInternal.ctor_hoverevent() this.peer = new Finalizable(ctorPtr, HoverEventInternal.getFinalizer()) } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._HoverEvent_getFinalizer() + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._HoverEvent_getFinalizer() + } + private getX(): number | undefined { + return this.getX_serialize() + } + private setX(x: number): void { + const x_casted = x as (number) + this.setX_serialize(x_casted) + return + } + private getY(): number | undefined { + return this.getY_serialize() + } + private setY(y: number): void { + const y_casted = y as (number) + this.setY_serialize(y_casted) + return + } + private getWindowX(): number | undefined { + return this.getWindowX_serialize() + } + private setWindowX(windowX: number): void { + const windowX_casted = windowX as (number) + this.setWindowX_serialize(windowX_casted) + return + } + private getWindowY(): number | undefined { + return this.getWindowY_serialize() + } + private setWindowY(windowY: number): void { + const windowY_casted = windowY as (number) + this.setWindowY_serialize(windowY_casted) + return + } + private getDisplayX(): number | undefined { + return this.getDisplayX_serialize() + } + private setDisplayX(displayX: number): void { + const displayX_casted = displayX as (number) + this.setDisplayX_serialize(displayX_casted) + return + } + private getDisplayY(): number | undefined { + return this.getDisplayY_serialize() + } + private setDisplayY(displayY: number): void { + const displayY_casted = displayY as (number) + this.setDisplayY_serialize(displayY_casted) + return + } + private getStopPropagation(): (() => void) { + return this.getStopPropagation_serialize() + } + private setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this.setStopPropagation_serialize(stopPropagation_casted) + return + } + private getX_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getX(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setX_serialize(x: number): void { + ArkUIGeneratedNativeModule._HoverEvent_setX(this.peer!.ptr, x) + } + private getY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getY(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setY_serialize(y: number): void { + ArkUIGeneratedNativeModule._HoverEvent_setY(this.peer!.ptr, y) + } + private getWindowX_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getWindowX(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setWindowX_serialize(windowX: number): void { + ArkUIGeneratedNativeModule._HoverEvent_setWindowX(this.peer!.ptr, windowX) + } + private getWindowY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getWindowY(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setWindowY_serialize(windowY: number): void { + ArkUIGeneratedNativeModule._HoverEvent_setWindowY(this.peer!.ptr, windowY) + } + private getDisplayX_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getDisplayX(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private getStopPropagation(): (() => void) { - return this.getStopPropagation_serialize() + private setDisplayX_serialize(displayX: number): void { + ArkUIGeneratedNativeModule._HoverEvent_setDisplayX(this.peer!.ptr, displayX) } - private setStopPropagation(stopPropagation: (() => void)): void { - const stopPropagation_casted = stopPropagation as ((() => void)) - this.setStopPropagation_serialize(stopPropagation_casted) - return + private getDisplayY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getDisplayY(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setDisplayY_serialize(displayY: number): void { + ArkUIGeneratedNativeModule._HoverEvent_setDisplayY(this.peer!.ptr, displayY) } private getStopPropagation_serialize(): (() => void) { const retval = ArkUIGeneratedNativeModule._HoverEvent_getStopPropagation(this.peer!.ptr) @@ -10084,6 +11623,9 @@ export interface MouseEvent { x: number y: number stopPropagation: (() => void) + rawDeltaX?: number | undefined + rawDeltaY?: number | undefined + pressedButtons?: Array | undefined } export class MouseEventInternal extends BaseEventInternal implements MaterializedBase,MouseEvent { get button(): MouseButton { @@ -10152,6 +11694,27 @@ export class MouseEventInternal extends BaseEventInternal implements Materialize set stopPropagation(stopPropagation: (() => void)) { this.setStopPropagation(stopPropagation) } + get rawDeltaX(): number | undefined { + return this.getRawDeltaX() + } + set rawDeltaX(rawDeltaX: number | undefined) { + const rawDeltaX_NonNull = (rawDeltaX as number) + this.setRawDeltaX(rawDeltaX_NonNull) + } + get rawDeltaY(): number | undefined { + return this.getRawDeltaY() + } + set rawDeltaY(rawDeltaY: number | undefined) { + const rawDeltaY_NonNull = (rawDeltaY as number) + this.setRawDeltaY(rawDeltaY_NonNull) + } + get pressedButtons(): Array | undefined { + throw new Error("Not implemented") + } + set pressedButtons(pressedButtons: Array | undefined) { + const pressedButtons_NonNull = (pressedButtons as Array) + this.setPressedButtons(pressedButtons_NonNull) + } static ctor_mouseevent(): KPointer { const retval = ArkUIGeneratedNativeModule._MouseEvent_ctor() return retval @@ -10252,6 +11815,30 @@ export class MouseEventInternal extends BaseEventInternal implements Materialize this.setStopPropagation_serialize(stopPropagation_casted) return } + private getRawDeltaX(): number | undefined { + return this.getRawDeltaX_serialize() + } + private setRawDeltaX(rawDeltaX: number): void { + const rawDeltaX_casted = rawDeltaX as (number) + this.setRawDeltaX_serialize(rawDeltaX_casted) + return + } + private getRawDeltaY(): number | undefined { + return this.getRawDeltaY_serialize() + } + private setRawDeltaY(rawDeltaY: number): void { + const rawDeltaY_casted = rawDeltaY as (number) + this.setRawDeltaY_serialize(rawDeltaY_casted) + return + } + private getPressedButtons(): Array | undefined { + return this.getPressedButtons_serialize() + } + private setPressedButtons(pressedButtons: Array): void { + const pressedButtons_casted = pressedButtons as (Array) + this.setPressedButtons_serialize(pressedButtons_casted) + return + } private getButton_serialize(): MouseButton { const retval = ArkUIGeneratedNativeModule._MouseEvent_getButton(this.peer!.ptr) return TypeChecker.MouseButton_FromNumeric(retval) @@ -10332,6 +11919,34 @@ export class MouseEventInternal extends BaseEventInternal implements Materialize ArkUIGeneratedNativeModule._MouseEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + private getRawDeltaX_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getRawDeltaX(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setRawDeltaX_serialize(rawDeltaX: number): void { + ArkUIGeneratedNativeModule._MouseEvent_setRawDeltaX(this.peer!.ptr, rawDeltaX) + } + private getRawDeltaY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getRawDeltaY(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setRawDeltaY_serialize(rawDeltaY: number): void { + ArkUIGeneratedNativeModule._MouseEvent_setRawDeltaY(this.peer!.ptr, rawDeltaY) + } + private getPressedButtons_serialize(): Array | undefined { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getPressedButtons(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setPressedButtons_serialize(pressedButtons: Array): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(pressedButtons.length as int32) + for (let i = 0; i < pressedButtons.length; i++) { + const pressedButtons_element : MouseButton = pressedButtons[i] + thisSerializer.writeInt32(TypeChecker.MouseButton_ToNumeric(pressedButtons_element)) + } + ArkUIGeneratedNativeModule._MouseEvent_setPressedButtons(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } public static fromPtr(ptr: KPointer): MouseEventInternal { const obj : MouseEventInternal = new MouseEventInternal() obj.peer = new Finalizable(ptr, MouseEventInternal.getFinalizer()) @@ -10693,6 +12308,332 @@ export class TouchEventInternal extends BaseEventInternal implements Materialize return obj } } +export interface AxisEvent { + action: AxisAction + displayX: number + displayY: number + windowX: number + windowY: number + x: number + y: number + scrollStep?: number | undefined + propagation: (() => void) + getHorizontalAxisValue(): number + getVerticalAxisValue(): number +} +export class AxisEventInternal extends BaseEventInternal implements MaterializedBase,AxisEvent { + get action(): AxisAction { + return this.getAction() + } + set action(action: AxisAction) { + this.setAction(action) + } + get displayX(): number { + return this.getDisplayX() + } + set displayX(displayX: number) { + this.setDisplayX(displayX) + } + get displayY(): number { + return this.getDisplayY() + } + set displayY(displayY: number) { + this.setDisplayY(displayY) + } + get windowX(): number { + return this.getWindowX() + } + set windowX(windowX: number) { + this.setWindowX(windowX) + } + get windowY(): number { + return this.getWindowY() + } + set windowY(windowY: number) { + this.setWindowY(windowY) + } + get x(): number { + return this.getX() + } + set x(x: number) { + this.setX(x) + } + get y(): number { + return this.getY() + } + set y(y: number) { + this.setY(y) + } + get scrollStep(): number | undefined { + return this.getScrollStep() + } + set scrollStep(scrollStep: number | undefined) { + const scrollStep_NonNull = (scrollStep as number) + this.setScrollStep(scrollStep_NonNull) + } + get propagation(): (() => void) { + throw new Error("Not implemented") + } + set propagation(propagation: (() => void)) { + this.setPropagation(propagation) + } + static ctor_axisevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._AxisEvent_ctor() + return retval + } + constructor() { + super() + const ctorPtr : KPointer = AxisEventInternal.ctor_axisevent() + this.peer = new Finalizable(ctorPtr, AxisEventInternal.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._AxisEvent_getFinalizer() + } + public getHorizontalAxisValue(): number { + return this.getHorizontalAxisValue_serialize() + } + public getVerticalAxisValue(): number { + return this.getVerticalAxisValue_serialize() + } + private getAction(): AxisAction { + return this.getAction_serialize() + } + private setAction(action: AxisAction): void { + const action_casted = action as (AxisAction) + this.setAction_serialize(action_casted) + return + } + private getDisplayX(): number { + return this.getDisplayX_serialize() + } + private setDisplayX(displayX: number): void { + const displayX_casted = displayX as (number) + this.setDisplayX_serialize(displayX_casted) + return + } + private getDisplayY(): number { + return this.getDisplayY_serialize() + } + private setDisplayY(displayY: number): void { + const displayY_casted = displayY as (number) + this.setDisplayY_serialize(displayY_casted) + return + } + private getWindowX(): number { + return this.getWindowX_serialize() + } + private setWindowX(windowX: number): void { + const windowX_casted = windowX as (number) + this.setWindowX_serialize(windowX_casted) + return + } + private getWindowY(): number { + return this.getWindowY_serialize() + } + private setWindowY(windowY: number): void { + const windowY_casted = windowY as (number) + this.setWindowY_serialize(windowY_casted) + return + } + private getX(): number { + return this.getX_serialize() + } + private setX(x: number): void { + const x_casted = x as (number) + this.setX_serialize(x_casted) + return + } + private getY(): number { + return this.getY_serialize() + } + private setY(y: number): void { + const y_casted = y as (number) + this.setY_serialize(y_casted) + return + } + private getScrollStep(): number | undefined { + return this.getScrollStep_serialize() + } + private setScrollStep(scrollStep: number): void { + const scrollStep_casted = scrollStep as (number) + this.setScrollStep_serialize(scrollStep_casted) + return + } + private getPropagation(): (() => void) { + return this.getPropagation_serialize() + } + private setPropagation(propagation: (() => void)): void { + const propagation_casted = propagation as ((() => void)) + this.setPropagation_serialize(propagation_casted) + return + } + private getHorizontalAxisValue_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getHorizontalAxisValue(this.peer!.ptr) + return retval + } + private getVerticalAxisValue_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getVerticalAxisValue(this.peer!.ptr) + return retval + } + private getAction_serialize(): AxisAction { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getAction(this.peer!.ptr) + return TypeChecker.AxisAction_FromNumeric(retval) + } + private setAction_serialize(action: AxisAction): void { + ArkUIGeneratedNativeModule._AxisEvent_setAction(this.peer!.ptr, TypeChecker.AxisAction_ToNumeric(action)) + } + private getDisplayX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getDisplayX(this.peer!.ptr) + return retval + } + private setDisplayX_serialize(displayX: number): void { + ArkUIGeneratedNativeModule._AxisEvent_setDisplayX(this.peer!.ptr, displayX) + } + private getDisplayY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getDisplayY(this.peer!.ptr) + return retval + } + private setDisplayY_serialize(displayY: number): void { + ArkUIGeneratedNativeModule._AxisEvent_setDisplayY(this.peer!.ptr, displayY) + } + private getWindowX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getWindowX(this.peer!.ptr) + return retval + } + private setWindowX_serialize(windowX: number): void { + ArkUIGeneratedNativeModule._AxisEvent_setWindowX(this.peer!.ptr, windowX) + } + private getWindowY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getWindowY(this.peer!.ptr) + return retval + } + private setWindowY_serialize(windowY: number): void { + ArkUIGeneratedNativeModule._AxisEvent_setWindowY(this.peer!.ptr, windowY) + } + private getX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getX(this.peer!.ptr) + return retval + } + private setX_serialize(x: number): void { + ArkUIGeneratedNativeModule._AxisEvent_setX(this.peer!.ptr, x) + } + private getY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getY(this.peer!.ptr) + return retval + } + private setY_serialize(y: number): void { + ArkUIGeneratedNativeModule._AxisEvent_setY(this.peer!.ptr, y) + } + private getScrollStep_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getScrollStep(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setScrollStep_serialize(scrollStep: number): void { + ArkUIGeneratedNativeModule._AxisEvent_setScrollStep(this.peer!.ptr, scrollStep) + } + private getPropagation_serialize(): (() => void) { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getPropagation(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setPropagation_serialize(propagation: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(propagation) + ArkUIGeneratedNativeModule._AxisEvent_setPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): AxisEventInternal { + const obj : AxisEventInternal = new AxisEventInternal() + obj.peer = new Finalizable(ptr, AxisEventInternal.getFinalizer()) + return obj + } +} +export interface FocusAxisEvent { + axisMap: Map + stopPropagation: (() => void) +} +export class FocusAxisEventInternal extends BaseEventInternal implements MaterializedBase,FocusAxisEvent { + get axisMap(): Map { + throw new Error("Not implemented") + } + set axisMap(axisMap: Map) { + this.setAxisMap(axisMap) + } + get stopPropagation(): (() => void) { + throw new Error("Not implemented") + } + set stopPropagation(stopPropagation: (() => void)) { + this.setStopPropagation(stopPropagation) + } + static ctor_focusaxisevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._FocusAxisEvent_ctor() + return retval + } + constructor() { + super() + const ctorPtr : KPointer = FocusAxisEventInternal.ctor_focusaxisevent() + this.peer = new Finalizable(ctorPtr, FocusAxisEventInternal.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._FocusAxisEvent_getFinalizer() + } + private getAxisMap(): Map { + return this.getAxisMap_serialize() + } + private setAxisMap(axisMap: Map): void { + const axisMap_casted = axisMap as (Map) + this.setAxisMap_serialize(axisMap_casted) + return + } + private getStopPropagation(): (() => void) { + return this.getStopPropagation_serialize() + } + private setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this.setStopPropagation_serialize(stopPropagation_casted) + return + } + private getAxisMap_serialize(): Map { + const retval = ArkUIGeneratedNativeModule._FocusAxisEvent_getAxisMap(this.peer!.ptr) + let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) + const buffer_size : int32 = retvalDeserializer.readInt32() + let buffer : Map = new Map() + // TODO: TS map resize + for (let buffer_i = 0; buffer_i < buffer_size; buffer_i++) { + const buffer_key : AxisModel = TypeChecker.AxisModel_FromNumeric(retvalDeserializer.readInt32()) + const buffer_value : number = (retvalDeserializer.readNumber() as number) + buffer.set(buffer_key, buffer_value) + } + const returnResult : Map = buffer + return returnResult + } + private setAxisMap_serialize(axisMap: Map): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(axisMap.size as int32 as int32) + for (const pair of axisMap) { + const axisMap_key = pair[0] + const axisMap_value = pair[1] + thisSerializer.writeInt32(TypeChecker.AxisModel_ToNumeric(axisMap_key)) + thisSerializer.writeNumber(axisMap_value) + } + ArkUIGeneratedNativeModule._FocusAxisEvent_setAxisMap(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private getStopPropagation_serialize(): (() => void) { + const retval = ArkUIGeneratedNativeModule._FocusAxisEvent_getStopPropagation(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setStopPropagation_serialize(stopPropagation: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(stopPropagation) + ArkUIGeneratedNativeModule._FocusAxisEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): FocusAxisEventInternal { + const obj : FocusAxisEventInternal = new FocusAxisEventInternal() + obj.peer = new Finalizable(ptr, FocusAxisEventInternal.getFinalizer()) + return obj + } +} export namespace cursorControl { export function setCursor(value: PointerStyle): void { GlobalScope.cursorControl_setCursor(value) diff --git a/arkoala-arkts/arkui/src/generated/component3d.ts b/arkoala-arkts/arkui/src/generated/component3d.ts index 5f7173aeeb..5483c8b7ee 100644 --- a/arkoala-arkts/arkui/src/generated/component3d.ts +++ b/arkoala-arkts/arkui/src/generated/component3d.ts @@ -45,7 +45,7 @@ export class ArkComponent3DPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let sceneOptions_type : int32 = RuntimeType.UNDEFINED sceneOptions_type = runtimeType(sceneOptions) - thisSerializer.writeInt8(sceneOptions_type as int32) + thisSerializer.writeInt8(sceneOptions_type) if ((RuntimeType.UNDEFINED) != (sceneOptions_type)) { const sceneOptions_value = sceneOptions! thisSerializer.writeSceneOptions(sceneOptions_value) @@ -58,12 +58,12 @@ export class ArkComponent3DPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -75,12 +75,12 @@ export class ArkComponent3DPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -92,12 +92,12 @@ export class ArkComponent3DPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -119,17 +119,17 @@ export class ArkComponent3DPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -141,17 +141,17 @@ export class ArkComponent3DPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -163,12 +163,12 @@ export class ArkComponent3DPeer extends ArkCommonMethodPeer { let uri_type : int32 = RuntimeType.UNDEFINED uri_type = runtimeType(uri) if (RuntimeType.STRING == uri_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const uri_0 = uri as string thisSerializer.writeString(uri_0) } else if (RuntimeType.OBJECT == uri_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const uri_1 = uri as Resource thisSerializer.writeResource(uri_1) } diff --git a/arkoala-arkts/arkui/src/generated/custom_dialog_controller.ts b/arkoala-arkts/arkui/src/generated/custom_dialog_controller.ts index 5a8e8c6730..8baa05ccd6 100644 --- a/arkoala-arkts/arkui/src/generated/custom_dialog_controller.ts +++ b/arkoala-arkts/arkui/src/generated/custom_dialog_controller.ts @@ -25,12 +25,13 @@ import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./../CallbackTransformer" import { CustomDialogControllerBuilder } from "./arkui-custom-dialog" import { Callback_Void } from "./ability_component" -import { DialogAlignment } from "./alert_dialog" +import { DialogAlignment, LevelOrder } from "./alert_dialog" import { Offset, ResourceColor, Dimension, BorderRadiuses, EdgeWidths, EdgeColors } from "./units" -import { Rectangle, AnimateParam, ShadowOptions, ShadowStyle, BlurStyle, KeyboardAvoidMode, HoverModeAreaType } from "./common" -import { Callback_DismissDialogAction_Void, DismissDialogAction } from "./action_sheet" +import { Rectangle, AnimateParam, ShadowOptions, ShadowStyle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, KeyboardAvoidMode, HoverModeAreaType } from "./common" +import { Callback_DismissDialogAction_Void, DismissDialogAction, LevelMode, ImmersiveMode } from "./action_sheet" import { BorderStyle } from "./enums" import { EdgeStyles } from "./arkui-external" +import { LengthMetrics } from "./arkui-graphics" export class CustomDialogControllerInternal { public static fromPtr(ptr: KPointer): CustomDialogController { const obj : CustomDialogController = new CustomDialogController(undefined) @@ -99,7 +100,19 @@ export interface CustomDialogControllerOptions { borderStyle?: BorderStyle | EdgeStyles; shadow?: ShadowOptions | ShadowStyle; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; keyboardAvoidMode?: KeyboardAvoidMode; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + onDidAppear?: (() => void); + onDidDisappear?: (() => void); + onWillAppear?: (() => void); + onWillDisappear?: (() => void); + keyboardAvoidDistance?: LengthMetrics; + levelMode?: LevelMode; + levelUniqueId?: number; + immersiveMode?: ImmersiveMode; + levelOrder?: LevelOrder; + focusable?: boolean; } diff --git a/arkoala-arkts/arkui/src/generated/data_panel.ts b/arkoala-arkts/arkui/src/generated/data_panel.ts index 273edcae61..0a555f7e8c 100644 --- a/arkoala-arkts/arkui/src/generated/data_panel.ts +++ b/arkoala-arkts/arkui/src/generated/data_panel.ts @@ -94,33 +94,33 @@ export class ArkDataPanelPeer extends ArkCommonMethodPeer { let value_element_type : int32 = RuntimeType.UNDEFINED value_element_type = runtimeType(value_element) if ((TypeChecker.isColor(value_element)) || (RuntimeType.NUMBER == value_element_type) || (RuntimeType.STRING == value_element_type) || (RuntimeType.OBJECT == value_element_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_element_0 = value_element as ResourceColor let value_element_0_type : int32 = RuntimeType.UNDEFINED value_element_0_type = runtimeType(value_element_0) if (TypeChecker.isColor(value_element_0)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_element_0_0 = value_element_0 as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_element_0_0)) } else if (RuntimeType.NUMBER == value_element_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_element_0_1 = value_element_0 as number thisSerializer.writeNumber(value_element_0_1) } else if (RuntimeType.STRING == value_element_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_element_0_2 = value_element_0 as string thisSerializer.writeString(value_element_0_2) } else if (RuntimeType.OBJECT == value_element_0_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_element_0_3 = value_element_0 as Resource thisSerializer.writeResource(value_element_0_3) } } else if (TypeChecker.isLinearGradient(value_element)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_element_1 = value_element as LinearGradient thisSerializer.writeLinearGradient(value_element_1) } @@ -133,22 +133,22 @@ export class ArkDataPanelPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -160,17 +160,17 @@ export class ArkDataPanelPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } diff --git a/arkoala-arkts/arkui/src/generated/date_picker.ts b/arkoala-arkts/arkui/src/generated/date_picker.ts index ff001ec4b7..95fa5b4573 100644 --- a/arkoala-arkts/arkui/src/generated/date_picker.ts +++ b/arkoala-arkts/arkui/src/generated/date_picker.ts @@ -25,8 +25,9 @@ import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./../CallbackTransformer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { Callback_Date_Void } from "./calendar_picker" +import { CrownSensitivity } from "./enums" import { ResourceColor, Offset, VoidCallback } from "./units" import { DialogAlignment } from "./alert_dialog" import { DateTimeOptions } from "./arkui-intl" @@ -42,7 +43,7 @@ export class DatePickerDialog { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeDatePickerDialogOptions(options_value) @@ -66,7 +67,7 @@ export class ArkDatePickerPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeDatePickerOptions(options_value) @@ -74,25 +75,73 @@ export class ArkDatePickerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._DatePickerInterface_setDatePickerOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - lunarAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._DatePickerAttribute_lunar(this.peer.ptr, value ? 1 : 0) + lunar0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._DatePickerAttribute_lunar0(this.peer.ptr, value ? 1 : 0) } - disappearTextStyleAttribute(value: PickerTextStyle): void { + lunar1Attribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_lunar1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + disappearTextStyle0Attribute(value: PickerTextStyle): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._DatePickerAttribute_disappearTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._DatePickerAttribute_disappearTextStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + disappearTextStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_disappearTextStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - textStyleAttribute(value: PickerTextStyle): void { + textStyle0Attribute(value: PickerTextStyle): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._DatePickerAttribute_textStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._DatePickerAttribute_textStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + textStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_textStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedTextStyleAttribute(value: PickerTextStyle): void { + selectedTextStyle0Attribute(value: PickerTextStyle): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._DatePickerAttribute_selectedTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._DatePickerAttribute_selectedTextStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedTextStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_selectedTextStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onChangeAttribute(value: ((value: DatePickerResult) => void)): void { @@ -101,10 +150,46 @@ export class ArkDatePickerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._DatePickerAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onDateChangeAttribute(value: ((parameter: Date) => void)): void { + onDateChange0Attribute(value: ((parameter: Date) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._DatePickerAttribute_onDateChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._DatePickerAttribute_onDateChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onDateChange1Attribute(value: ((parameter: Date) => void) | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_onDateChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + digitalCrownSensitivityAttribute(value: CrownSensitivity | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as CrownSensitivity) + thisSerializer.writeInt32(TypeChecker.CrownSensitivity_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_digitalCrownSensitivity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + enableHapticFeedbackAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_enableHapticFeedback(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } _onChangeEvent_selectedAttribute(callback: ((parameter: Date) => void)): void { @@ -119,36 +204,48 @@ export interface DatePickerResult { month?: number; day?: number; } +export enum DatePickerMode { + DATE = 0, + YEAR_AND_MONTH = 1, + MONTH_AND_DAY = 2 +} export interface DatePickerOptions { start?: Date; end?: Date; selected?: Date; + mode?: DatePickerMode; } export type Callback_DatePickerResult_Void = (value: DatePickerResult) => void; export interface DatePickerAttribute extends CommonMethod { - lunar(value: boolean): this - disappearTextStyle(value: PickerTextStyle): this - textStyle(value: PickerTextStyle): this - selectedTextStyle(value: PickerTextStyle): this + lunar(value: boolean | boolean | undefined): this + disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this onChange(value: ((value: DatePickerResult) => void)): this - onDateChange(value: ((parameter: Date) => void)): this + onDateChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + enableHapticFeedback(value: boolean | undefined): this _onChangeEvent_selected(callback: ((parameter: Date) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIDatePickerAttribute extends UICommonMethod { /** @memo */ - lunar(value: boolean): this + lunar(value: boolean | boolean | undefined): this /** @memo */ - disappearTextStyle(value: PickerTextStyle): this + disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - textStyle(value: PickerTextStyle): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - selectedTextStyle(value: PickerTextStyle): this + selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ onChange(value: ((value: DatePickerResult) => void)): this /** @memo */ - onDateChange(value: ((parameter: Date) => void)): this + onDateChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this + /** @memo */ + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + /** @memo */ + enableHapticFeedback(value: boolean | undefined): this /** @memo */ _onChangeEvent_selected(callback: ((parameter: Date) => void)): void /** @memo */ @@ -161,22 +258,30 @@ export class ArkDatePickerStyle extends ArkCommonMethodStyle implements DatePick selectedTextStyle_value?: PickerTextStyle onChange_value?: ((value: DatePickerResult) => void) onDateChange_value?: ((parameter: Date) => void) - public lunar(value: boolean): this { + digitalCrownSensitivity_value?: CrownSensitivity | undefined + enableHapticFeedback_value?: boolean | undefined + public lunar(value: boolean | boolean | undefined): this { return this } - public disappearTextStyle(value: PickerTextStyle): this { + public disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public textStyle(value: PickerTextStyle): this { + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public selectedTextStyle(value: PickerTextStyle): this { + public selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } public onChange(value: ((value: DatePickerResult) => void)): this { return this } - public onDateChange(value: ((parameter: Date) => void)): this { + public onDateChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this { + return this + } + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + return this + } + public enableHapticFeedback(value: boolean | undefined): this { return this } public _onChangeEvent_selected(callback: ((parameter: Date) => void)): void { @@ -212,6 +317,8 @@ export interface DatePickerDialogOptions extends DatePickerOptions { onDateChange?: ((parameter: Date) => void); backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onDidAppear?: VoidCallback; onDidDisappear?: VoidCallback; onWillAppear?: VoidCallback; @@ -220,6 +327,7 @@ export interface DatePickerDialogOptions extends DatePickerOptions { dateTimeOptions?: DateTimeOptions; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + enableHapticFeedback?: boolean; } /** @memo:stable */ export class ArkDatePickerComponent extends ArkCommonMethodComponent implements UIDatePickerAttribute { @@ -236,38 +344,74 @@ export class ArkDatePickerComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public lunar(value: boolean): this { + public lunar(value: boolean | boolean | undefined): this { if (this.checkPriority("lunar")) { - const value_casted = value as (boolean) - this.getPeer()?.lunarAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.lunar0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.lunar1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public disappearTextStyle(value: PickerTextStyle): this { + public disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("disappearTextStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.disappearTextStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isPickerTextStyle(value, false, false)) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.disappearTextStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.disappearTextStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public textStyle(value: PickerTextStyle): this { + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("textStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.textStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isPickerTextStyle(value, false, false)) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.textStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.textStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedTextStyle(value: PickerTextStyle): this { + public selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("selectedTextStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.selectedTextStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isPickerTextStyle(value, false, false)) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.selectedTextStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.selectedTextStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -281,10 +425,37 @@ export class ArkDatePickerComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public onDateChange(value: ((parameter: Date) => void)): this { + public onDateChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this { if (this.checkPriority("onDateChange")) { - const value_casted = value as (((parameter: Date) => void)) - this.getPeer()?.onDateChangeAttribute(value_casted) + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((parameter: Date) => void)) + this.getPeer()?.onDateChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (((parameter: Date) => void) | undefined) + this.getPeer()?.onDateChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + if (this.checkPriority("digitalCrownSensitivity")) { + const value_casted = value as (CrownSensitivity | undefined) + this.getPeer()?.digitalCrownSensitivityAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableHapticFeedback(value: boolean | undefined): this { + if (this.checkPriority("enableHapticFeedback")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.enableHapticFeedbackAttribute(value_casted) return this } return this diff --git a/arkoala-arkts/arkui/src/generated/divider.ts b/arkoala-arkts/arkui/src/generated/divider.ts index ae7adebe6b..a9f64ad70c 100644 --- a/arkoala-arkts/arkui/src/generated/divider.ts +++ b/arkoala-arkts/arkui/src/generated/divider.ts @@ -52,22 +52,22 @@ export class ArkDividerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -79,12 +79,12 @@ export class ArkDividerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } diff --git a/arkoala-arkts/arkui/src/generated/ellipse.ts b/arkoala-arkts/arkui/src/generated/ellipse.ts index dfa1c6fd7a..ead1d71f41 100644 --- a/arkoala-arkts/arkui/src/generated/ellipse.ts +++ b/arkoala-arkts/arkui/src/generated/ellipse.ts @@ -42,7 +42,7 @@ export class ArkEllipsePeer extends ArkCommonShapeMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeEllipseOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/enums.ts b/arkoala-arkts/arkui/src/generated/enums.ts index 0f3dc92f31..5642308941 100644 --- a/arkoala-arkts/arkui/src/generated/enums.ts +++ b/arkoala-arkts/arkui/src/generated/enums.ts @@ -74,7 +74,8 @@ export enum ImageFit { END = 12, BOTTOM_START = 13, BOTTOM = 14, - BOTTOM_END = 15 + BOTTOM_END = 15, + MATRIX = 16 } export enum BorderStyle { DOTTED = 0, @@ -102,6 +103,11 @@ export enum TouchType { CANCEL = 3, Cancel = 3 } +export enum InteractionHand { + NONE = 0, + LEFT = 1, + RIGHT = 2 +} export enum MouseButton { LEFT = 0, Left = 0, @@ -124,7 +130,8 @@ export enum MouseAction { MOVE = 2, Move = 2, HOVER = 3, - Hover = 3 + Hover = 3, + CANCEL = 13 } export enum AnimationStatus { INITIAL = 0, @@ -194,7 +201,8 @@ export enum KeySource { UNKNOWN = 0, Unknown = 0, KEYBOARD = 1, - Keyboard = 1 + Keyboard = 1, + JOYSTICK = 2 } export enum Edge { TOP = 0, @@ -357,6 +365,10 @@ export enum PixelRoundCalcPolicy { FORCE_CEIL = 1, FORCE_FLOOR = 2 } +export enum PixelRoundMode { + PIXEL_ROUND_ON_LAYOUT_FINISH = 0, + PIXEL_ROUND_AFTER_MEASURE = 1 +} export enum FlexWrap { NO_WRAP = 0, NoWrap = 0, @@ -622,18 +634,14 @@ export enum DialogButtonStyle { export enum WordBreak { NORMAL = 0, BREAK_ALL = 1, - BREAK_WORD = 2 + BREAK_WORD = 2, + HYPHENATION = 3 } export enum LineBreakStrategy { GREEDY = 0, HIGH_QUALITY = 1, BALANCED = 2 } -export type Nullable = T | undefined; -export enum OptionWidthMode { - FIT_CONTENT = "fit_content", - FIT_TRIGGER = "fit_trigger" -} export enum IlluminatedType { NONE = 0, BORDER = 1, @@ -642,6 +650,11 @@ export enum IlluminatedType { BLOOM_BORDER = 4, BLOOM_BORDER_CONTENT = 5 } +export type Nullable = T | undefined; +export enum OptionWidthMode { + FIT_CONTENT = "fit_content", + FIT_TRIGGER = "fit_trigger" +} export enum FoldStatus { FOLD_STATUS_UNKNOWN = 0, FOLD_STATUS_EXPANDED = 1, @@ -684,3 +697,42 @@ export enum HeightBreakpoint { HEIGHT_MD = 1, HEIGHT_LG = 2 } +export enum AxisModel { + ABS_X = 0, + ABS_Y = 1, + ABS_Z = 2, + ABS_RZ = 3, + ABS_GAS = 4, + ABS_BRAKE = 5, + ABS_HAT0X = 6, + ABS_HAT0Y = 7 +} +export enum PageFlipMode { + CONTINUOUS = 0, + SINGLE = 1 +} +export enum CrownAction { + BEGIN = 0, + UPDATE = 1, + END = 2 +} +export enum CrownSensitivity { + LOW = 0, + MEDIUM = 1, + HIGH = 2 +} +export enum AxisAction { + NONE = 0, + BEGIN = 1, + UPDATE = 2, + END = 3, + CANCEL = 4 +} +export enum FocusDrawLevel { + SELF = 0, + TOP = 1 +} +export enum DividerMode { + FLOATING_ABOVE_MENU = 0, + EMBEDDED_IN_MENU = 1 +} diff --git a/arkoala-arkts/arkui/src/generated/flex.ts b/arkoala-arkts/arkui/src/generated/flex.ts index 9ddb388bcd..8f0f7ba7ec 100644 --- a/arkoala-arkts/arkui/src/generated/flex.ts +++ b/arkoala-arkts/arkui/src/generated/flex.ts @@ -44,7 +44,7 @@ export class ArkFlexPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeFlexOptions(value_value) diff --git a/arkoala-arkts/arkui/src/generated/focus.ts b/arkoala-arkts/arkui/src/generated/focus.ts index 086136ee9d..a03d6b10e0 100644 --- a/arkoala-arkts/arkui/src/generated/focus.ts +++ b/arkoala-arkts/arkui/src/generated/focus.ts @@ -30,3 +30,7 @@ export enum FocusPriority { PRIOR = 2000, PREVIOUS = 3000 } +export enum KeyProcessingMode { + FOCUS_NAVIGATION = 0, + ANCESTOR_EVENT = 1 +} diff --git a/arkoala-arkts/arkui/src/generated/folder_stack.ts b/arkoala-arkts/arkui/src/generated/folder_stack.ts index d79d82b13d..d0533b995e 100644 --- a/arkoala-arkts/arkui/src/generated/folder_stack.ts +++ b/arkoala-arkts/arkui/src/generated/folder_stack.ts @@ -44,7 +44,7 @@ export class ArkFolderStackPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeFolderStackOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/form_component.ts b/arkoala-arkts/arkui/src/generated/form_component.ts index 34f54e0c5b..c966ca628e 100644 --- a/arkoala-arkts/arkui/src/generated/form_component.ts +++ b/arkoala-arkts/arkui/src/generated/form_component.ts @@ -110,7 +110,10 @@ export enum FormDimension { DIMENSION_2_1 = 4, Dimension_2_1 = 4, DIMENSION_1_1 = 6, - DIMENSION_6_4 = 7 + DIMENSION_6_4 = 7, + DIMENSION_2_3 = 8, + DIMENSION_3_3 = 9, + DIMENSION_3_4 = 10 } export enum FormRenderingMode { FULL_COLOR = 0, diff --git a/arkoala-arkts/arkui/src/generated/gauge.ts b/arkoala-arkts/arkui/src/generated/gauge.ts index a1698e794f..a6c0d55c55 100644 --- a/arkoala-arkts/arkui/src/generated/gauge.ts +++ b/arkoala-arkts/arkui/src/generated/gauge.ts @@ -63,38 +63,38 @@ export class ArkGaugePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ResourceColor let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (TypeChecker.isColor(value_0)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0_0)) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as string thisSerializer.writeString(value_0_2) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_0_3 = value_0 as Resource thisSerializer.writeResource(value_0_3) } } else if (TypeChecker.isLinearGradient(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as LinearGradient thisSerializer.writeLinearGradient(value_1) } else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isArray_Tuple_Union_ResourceColor_LinearGradient_Number(value))) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Array<[ ResourceColor | LinearGradient, number ]> thisSerializer.writeInt32(value_2.length as int32) for (let i = 0; i < value_2.length; i++) { @@ -103,33 +103,33 @@ export class ArkGaugePeer extends ArkCommonMethodPeer { let value_2_element_0_type : int32 = RuntimeType.UNDEFINED value_2_element_0_type = runtimeType(value_2_element_0) if ((TypeChecker.isColor(value_2_element_0)) || (RuntimeType.NUMBER == value_2_element_0_type) || (RuntimeType.STRING == value_2_element_0_type) || (RuntimeType.OBJECT == value_2_element_0_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_2_element_0_0 = value_2_element_0 as ResourceColor let value_2_element_0_0_type : int32 = RuntimeType.UNDEFINED value_2_element_0_0_type = runtimeType(value_2_element_0_0) if (TypeChecker.isColor(value_2_element_0_0)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_2_element_0_0_0 = value_2_element_0_0 as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_2_element_0_0_0)) } else if (RuntimeType.NUMBER == value_2_element_0_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_2_element_0_0_1 = value_2_element_0_0 as number thisSerializer.writeNumber(value_2_element_0_0_1) } else if (RuntimeType.STRING == value_2_element_0_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2_element_0_0_2 = value_2_element_0_0 as string thisSerializer.writeString(value_2_element_0_0_2) } else if (RuntimeType.OBJECT == value_2_element_0_0_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_2_element_0_0_3 = value_2_element_0_0 as Resource thisSerializer.writeResource(value_2_element_0_0_3) } } else if (TypeChecker.isLinearGradient(value_2_element_0)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_2_element_0_1 = value_2_element_0 as LinearGradient thisSerializer.writeLinearGradient(value_2_element_0_1) } @@ -145,17 +145,17 @@ export class ArkGaugePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -184,7 +184,7 @@ export class ArkGaugePeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeBoolean(value_value) diff --git a/arkoala-arkts/arkui/src/generated/generator_synthetic.ts b/arkoala-arkts/arkui/src/generated/generator_synthetic.ts index bd22c5ba9c..6a2975b23f 100644 --- a/arkoala-arkts/arkui/src/generated/generator_synthetic.ts +++ b/arkoala-arkts/arkui/src/generated/generator_synthetic.ts @@ -18,32 +18,34 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, wrapCallback } from "@koalaui/interop" -import { NavigationAnimatedTransition } from "./navigation" import { GestureJudgeResult, GestureRecognizer } from "./gesture" import { TouchResult, CustomBuilder, DragItemInfo } from "./common" import { HitTestMode } from "./enums" +import { NavigationAnimatedTransition } from "./navigation" import { Tuple_Number_Number } from "./arkui-synthetics" import { Tuple_Number_Number_Number_Number, ComputedBarAttribute, Literal_Number_offsetRemain } from "./grid" +import { NavDestinationTransition } from "./nav_destination" import { OnScrollFrameBeginHandlerResult, OffsetResult } from "./scroll" import { TabContentAnimatedTransition } from "./tabs" import { TextMenuItem } from "./text_common" import { WithThemeAttribute } from "./with_theme" import { WebKeyboardOptions, WebResourceResponse } from "./web" -import { StyledString, CustomSpanMetrics } from "./styled_string" +import { UserDataSpan, StyledString, CustomSpanMetrics } from "./styled_string" export type Callback_Pointer_Void = (value: KPointer) => void; export type Callback_Array_String_Void = (value: Array) => void; -export type Callback_Opt_Array_String_Void = (error?: Array | undefined) => void; -export type Callback_Opt_NavigationAnimatedTransition_Void = (value: NavigationAnimatedTransition | undefined) => void; export type Callback_GestureJudgeResult_Void = (value: GestureJudgeResult) => void; export type Callback_GestureRecognizer_Void = (value: GestureRecognizer) => void; export type Callback_TouchResult_Void = (value: TouchResult) => void; export type Callback_Union_CustomBuilder_DragItemInfo_Void = (value: CustomBuilder | DragItemInfo) => void; export type Callback_HitTestMode_Void = (value: HitTestMode) => void; +export type Callback_Opt_Array_String_Void = (error?: Array | undefined) => void; +export type Callback_Opt_NavigationAnimatedTransition_Void = (value: NavigationAnimatedTransition | undefined) => void; export type Callback_Tuple_Number_Number_Void = (value: [ number, number ]) => void; export type Callback_Tuple_Number_Number_Number_Number_Void = (value: [ number, number, number, number ]) => void; export type Callback_ComputedBarAttribute_Void = (value: ComputedBarAttribute) => void; export type Callback_CustomBuilder_Void = (value: CustomBuilder) => void; export type Callback_Literal_Number_offsetRemain_Void = (value: Literal_Number_offsetRemain) => void; +export type Callback_Opt_Array_NavDestinationTransition_Void = (value: Array | undefined) => void; export type Callback_OnScrollFrameBeginHandlerResult_Void = (value: OnScrollFrameBeginHandlerResult) => void; export type Callback_OffsetResult_Void = (value: OffsetResult) => void; export type Callback_Opt_TabContentAnimatedTransition_Void = (value: TabContentAnimatedTransition | undefined) => void; @@ -51,5 +53,7 @@ export type Callback_Array_TextMenuItem_Void = (value: Array) => v export type Callback_WithThemeAttribute_Void = (value: WithThemeAttribute) => void; export type Callback_WebKeyboardOptions_Void = (value: WebKeyboardOptions) => void; export type Callback_WebResourceResponse_Void = (value: WebResourceResponse) => void; +export type Callback_Buffer_Void = (value: NativeBuffer) => void; +export type Callback_StyledStringMarshallingValue_Void = (value: UserDataSpan) => void; export type Callback_Opt_StyledString_Opt_Array_String_Void = (value?: StyledString | undefined, error?: Array | undefined) => void; export type Callback_CustomSpanMetrics_Void = (value: CustomSpanMetrics) => void; diff --git a/arkoala-arkts/arkui/src/generated/gesture.ts b/arkoala-arkts/arkui/src/generated/gesture.ts index 2dc9a45e67..a5669eb20d 100644 --- a/arkoala-arkts/arkui/src/generated/gesture.ts +++ b/arkoala-arkts/arkui/src/generated/gesture.ts @@ -24,6 +24,7 @@ import { CallbackKind } from "./peers/CallbackKind" import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./../CallbackTransformer" import { Callback_Void } from "./ability_component" +import { InteractionHand } from "./enums" import { SourceTool, BaseEvent, BaseEventInternal } from "./common" export interface TapGestureInterface { onAction(event: ((event: GestureEvent) => void)): TapGestureInterface @@ -37,7 +38,7 @@ export class TapGestureInterfaceInternal implements MaterializedBase,GestureInte const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeTapGestureParameters(value_value) @@ -75,6 +76,7 @@ export interface LongPressGestureInterface { onAction(event: ((event: GestureEvent) => void)): LongPressGestureInterface onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureInterface onActionCancel(event: (() => void)): LongPressGestureInterface + onActionCancel(event: ((event: GestureEvent) => void)): LongPressGestureInterface } export class LongPressGestureInterfaceInternal implements MaterializedBase,GestureInterface,LongPressGestureInterface { peer?: Finalizable | undefined = undefined @@ -85,13 +87,13 @@ export class LongPressGestureInterfaceInternal implements MaterializedBase,Gestu const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! const value_value_fingers = value_value.fingers let value_value_fingers_type : int32 = RuntimeType.UNDEFINED value_value_fingers_type = runtimeType(value_value_fingers) - thisSerializer.writeInt8(value_value_fingers_type as int32) + thisSerializer.writeInt8(value_value_fingers_type) if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { const value_value_fingers_value = value_value_fingers! thisSerializer.writeNumber(value_value_fingers_value) @@ -99,7 +101,7 @@ export class LongPressGestureInterfaceInternal implements MaterializedBase,Gestu const value_value_repeat = value_value.repeat let value_value_repeat_type : int32 = RuntimeType.UNDEFINED value_value_repeat_type = runtimeType(value_value_repeat) - thisSerializer.writeInt8(value_value_repeat_type as int32) + thisSerializer.writeInt8(value_value_repeat_type) if ((RuntimeType.UNDEFINED) != (value_value_repeat_type)) { const value_value_repeat_value = value_value_repeat! thisSerializer.writeBoolean(value_value_repeat_value) @@ -107,7 +109,7 @@ export class LongPressGestureInterfaceInternal implements MaterializedBase,Gestu const value_value_duration = value_value.duration let value_value_duration_type : int32 = RuntimeType.UNDEFINED value_value_duration_type = runtimeType(value_value_duration) - thisSerializer.writeInt8(value_value_duration_type as int32) + thisSerializer.writeInt8(value_value_duration_type) if ((RuntimeType.UNDEFINED) != (value_value_duration_type)) { const value_value_duration_value = value_value_duration! thisSerializer.writeNumber(value_value_duration_value) @@ -132,9 +134,17 @@ export class LongPressGestureInterfaceInternal implements MaterializedBase,Gestu const event_casted = event as (((event: GestureEvent) => void)) return this.onActionEnd_serialize(event_casted) } - public onActionCancel(event: (() => void)): LongPressGestureInterface { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) + public onActionCancel(event: (() => void) | ((event: GestureEvent) => void)): LongPressGestureInterface { + const event_type = runtimeType(event) + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as ((() => void)) + return this.onActionCancel0_serialize(event_casted) + } + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionCancel1_serialize(event_casted) + } + throw new Error("Can not select appropriate overload") } private onAction_serialize(event: ((event: GestureEvent) => void)): LongPressGestureInterface { const thisSerializer : Serializer = Serializer.hold() @@ -152,10 +162,18 @@ export class LongPressGestureInterfaceInternal implements MaterializedBase,Gestu const obj : LongPressGestureInterface = LongPressGestureInterfaceInternal.fromPtr(retval) return obj } - private onActionCancel_serialize(event: (() => void)): LongPressGestureInterface { + private onActionCancel0_serialize(event: (() => void)): LongPressGestureInterface { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._LongPressGestureInterface_onActionCancel0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj : LongPressGestureInterface = LongPressGestureInterfaceInternal.fromPtr(retval) + return obj + } + private onActionCancel1_serialize(event: ((event: GestureEvent) => void)): LongPressGestureInterface { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._LongPressGestureInterface_onActionCancel(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._LongPressGestureInterface_onActionCancel1(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() const obj : LongPressGestureInterface = LongPressGestureInterfaceInternal.fromPtr(retval) return obj @@ -182,13 +200,13 @@ export class PanGestureOptions implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! const value_value_fingers = value_value.fingers let value_value_fingers_type : int32 = RuntimeType.UNDEFINED value_value_fingers_type = runtimeType(value_value_fingers) - thisSerializer.writeInt8(value_value_fingers_type as int32) + thisSerializer.writeInt8(value_value_fingers_type) if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { const value_value_fingers_value = value_value_fingers! thisSerializer.writeNumber(value_value_fingers_value) @@ -196,7 +214,7 @@ export class PanGestureOptions implements MaterializedBase { const value_value_direction = value_value.direction let value_value_direction_type : int32 = RuntimeType.UNDEFINED value_value_direction_type = runtimeType(value_value_direction) - thisSerializer.writeInt8(value_value_direction_type as int32) + thisSerializer.writeInt8(value_value_direction_type) if ((RuntimeType.UNDEFINED) != (value_value_direction_type)) { const value_value_direction_value = (value_value_direction as PanDirection) thisSerializer.writeInt32(TypeChecker.PanDirection_ToNumeric(value_value_direction_value)) @@ -204,7 +222,7 @@ export class PanGestureOptions implements MaterializedBase { const value_value_distance = value_value.distance let value_value_distance_type : int32 = RuntimeType.UNDEFINED value_value_distance_type = runtimeType(value_value_distance) - thisSerializer.writeInt8(value_value_distance_type as int32) + thisSerializer.writeInt8(value_value_distance_type) if ((RuntimeType.UNDEFINED) != (value_value_distance_type)) { const value_value_distance_value = value_value_distance! thisSerializer.writeNumber(value_value_distance_value) @@ -239,6 +257,9 @@ export class PanGestureOptions implements MaterializedBase { public getDirection(): PanDirection { return this.getDirection_serialize() } + public getDistance(): number { + return this.getDistance_serialize() + } private setDirection_serialize(value: PanDirection): void { ArkUIGeneratedNativeModule._PanGestureOptions_setDirection(this.peer!.ptr, TypeChecker.PanDirection_ToNumeric(value)) } @@ -252,12 +273,17 @@ export class PanGestureOptions implements MaterializedBase { const retval = ArkUIGeneratedNativeModule._PanGestureOptions_getDirection(this.peer!.ptr) return TypeChecker.PanDirection_FromNumeric(retval) } + private getDistance_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PanGestureOptions_getDistance(this.peer!.ptr) + return retval + } } export interface PanGestureInterface { onActionStart(event: ((event: GestureEvent) => void)): PanGestureInterface onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureInterface onActionEnd(event: ((event: GestureEvent) => void)): PanGestureInterface onActionCancel(event: (() => void)): PanGestureInterface + onActionCancel(event: ((event: GestureEvent) => void)): PanGestureInterface } export class PanGestureInterfaceInternal implements MaterializedBase,GestureInterface,PanGestureInterface { peer?: Finalizable | undefined = undefined @@ -268,18 +294,18 @@ export class PanGestureInterfaceInternal implements MaterializedBase,GestureInte const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! let value_value_type : int32 = RuntimeType.UNDEFINED value_value_type = runtimeType(value_value) if (((RuntimeType.OBJECT) == (value_value_type)) && (TypeChecker.isLiteral_Number_distance_fingers_PanDirection_direction(value_value, false, false, false))) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_value_0 = value_value as Literal_Number_distance_fingers_PanDirection_direction const value_value_0_fingers = value_value_0.fingers let value_value_0_fingers_type : int32 = RuntimeType.UNDEFINED value_value_0_fingers_type = runtimeType(value_value_0_fingers) - thisSerializer.writeInt8(value_value_0_fingers_type as int32) + thisSerializer.writeInt8(value_value_0_fingers_type) if ((RuntimeType.UNDEFINED) != (value_value_0_fingers_type)) { const value_value_0_fingers_value = value_value_0_fingers! thisSerializer.writeNumber(value_value_0_fingers_value) @@ -287,7 +313,7 @@ export class PanGestureInterfaceInternal implements MaterializedBase,GestureInte const value_value_0_direction = value_value_0.direction let value_value_0_direction_type : int32 = RuntimeType.UNDEFINED value_value_0_direction_type = runtimeType(value_value_0_direction) - thisSerializer.writeInt8(value_value_0_direction_type as int32) + thisSerializer.writeInt8(value_value_0_direction_type) if ((RuntimeType.UNDEFINED) != (value_value_0_direction_type)) { const value_value_0_direction_value = (value_value_0_direction as PanDirection) thisSerializer.writeInt32(TypeChecker.PanDirection_ToNumeric(value_value_0_direction_value)) @@ -295,14 +321,14 @@ export class PanGestureInterfaceInternal implements MaterializedBase,GestureInte const value_value_0_distance = value_value_0.distance let value_value_0_distance_type : int32 = RuntimeType.UNDEFINED value_value_0_distance_type = runtimeType(value_value_0_distance) - thisSerializer.writeInt8(value_value_0_distance_type as int32) + thisSerializer.writeInt8(value_value_0_distance_type) if ((RuntimeType.UNDEFINED) != (value_value_0_distance_type)) { const value_value_0_distance_value = value_value_0_distance! thisSerializer.writeNumber(value_value_0_distance_value) } } else if (TypeChecker.isPanGestureOptions(value_value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_value_1 = value_value as PanGestureOptions thisSerializer.writePanGestureOptions(value_value_1) } @@ -330,9 +356,17 @@ export class PanGestureInterfaceInternal implements MaterializedBase,GestureInte const event_casted = event as (((event: GestureEvent) => void)) return this.onActionEnd_serialize(event_casted) } - public onActionCancel(event: (() => void)): PanGestureInterface { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) + public onActionCancel(event: (() => void) | ((event: GestureEvent) => void)): PanGestureInterface { + const event_type = runtimeType(event) + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as ((() => void)) + return this.onActionCancel0_serialize(event_casted) + } + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionCancel1_serialize(event_casted) + } + throw new Error("Can not select appropriate overload") } private onActionStart_serialize(event: ((event: GestureEvent) => void)): PanGestureInterface { const thisSerializer : Serializer = Serializer.hold() @@ -358,10 +392,18 @@ export class PanGestureInterfaceInternal implements MaterializedBase,GestureInte const obj : PanGestureInterface = PanGestureInterfaceInternal.fromPtr(retval) return obj } - private onActionCancel_serialize(event: (() => void)): PanGestureInterface { + private onActionCancel0_serialize(event: (() => void)): PanGestureInterface { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureInterface_onActionCancel(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._PanGestureInterface_onActionCancel0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj : PanGestureInterface = PanGestureInterfaceInternal.fromPtr(retval) + return obj + } + private onActionCancel1_serialize(event: ((event: GestureEvent) => void)): PanGestureInterface { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureInterface_onActionCancel1(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() const obj : PanGestureInterface = PanGestureInterfaceInternal.fromPtr(retval) return obj @@ -384,13 +426,13 @@ export class SwipeGestureInterfaceInternal implements MaterializedBase,GestureIn const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! const value_value_fingers = value_value.fingers let value_value_fingers_type : int32 = RuntimeType.UNDEFINED value_value_fingers_type = runtimeType(value_value_fingers) - thisSerializer.writeInt8(value_value_fingers_type as int32) + thisSerializer.writeInt8(value_value_fingers_type) if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { const value_value_fingers_value = value_value_fingers! thisSerializer.writeNumber(value_value_fingers_value) @@ -398,7 +440,7 @@ export class SwipeGestureInterfaceInternal implements MaterializedBase,GestureIn const value_value_direction = value_value.direction let value_value_direction_type : int32 = RuntimeType.UNDEFINED value_value_direction_type = runtimeType(value_value_direction) - thisSerializer.writeInt8(value_value_direction_type as int32) + thisSerializer.writeInt8(value_value_direction_type) if ((RuntimeType.UNDEFINED) != (value_value_direction_type)) { const value_value_direction_value = (value_value_direction as SwipeDirection) thisSerializer.writeInt32(TypeChecker.SwipeDirection_ToNumeric(value_value_direction_value)) @@ -406,7 +448,7 @@ export class SwipeGestureInterfaceInternal implements MaterializedBase,GestureIn const value_value_speed = value_value.speed let value_value_speed_type : int32 = RuntimeType.UNDEFINED value_value_speed_type = runtimeType(value_value_speed) - thisSerializer.writeInt8(value_value_speed_type as int32) + thisSerializer.writeInt8(value_value_speed_type) if ((RuntimeType.UNDEFINED) != (value_value_speed_type)) { const value_value_speed_value = value_value_speed! thisSerializer.writeNumber(value_value_speed_value) @@ -446,6 +488,7 @@ export interface PinchGestureInterface { onActionUpdate(event: ((event: GestureEvent) => void)): PinchGestureInterface onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureInterface onActionCancel(event: (() => void)): PinchGestureInterface + onActionCancel(event: ((event: GestureEvent) => void)): PinchGestureInterface } export class PinchGestureInterfaceInternal implements MaterializedBase,GestureInterface,PinchGestureInterface { peer?: Finalizable | undefined = undefined @@ -456,13 +499,13 @@ export class PinchGestureInterfaceInternal implements MaterializedBase,GestureIn const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! const value_value_fingers = value_value.fingers let value_value_fingers_type : int32 = RuntimeType.UNDEFINED value_value_fingers_type = runtimeType(value_value_fingers) - thisSerializer.writeInt8(value_value_fingers_type as int32) + thisSerializer.writeInt8(value_value_fingers_type) if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { const value_value_fingers_value = value_value_fingers! thisSerializer.writeNumber(value_value_fingers_value) @@ -470,7 +513,7 @@ export class PinchGestureInterfaceInternal implements MaterializedBase,GestureIn const value_value_distance = value_value.distance let value_value_distance_type : int32 = RuntimeType.UNDEFINED value_value_distance_type = runtimeType(value_value_distance) - thisSerializer.writeInt8(value_value_distance_type as int32) + thisSerializer.writeInt8(value_value_distance_type) if ((RuntimeType.UNDEFINED) != (value_value_distance_type)) { const value_value_distance_value = value_value_distance! thisSerializer.writeNumber(value_value_distance_value) @@ -499,9 +542,17 @@ export class PinchGestureInterfaceInternal implements MaterializedBase,GestureIn const event_casted = event as (((event: GestureEvent) => void)) return this.onActionEnd_serialize(event_casted) } - public onActionCancel(event: (() => void)): PinchGestureInterface { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) + public onActionCancel(event: (() => void) | ((event: GestureEvent) => void)): PinchGestureInterface { + const event_type = runtimeType(event) + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as ((() => void)) + return this.onActionCancel0_serialize(event_casted) + } + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionCancel1_serialize(event_casted) + } + throw new Error("Can not select appropriate overload") } private onActionStart_serialize(event: ((event: GestureEvent) => void)): PinchGestureInterface { const thisSerializer : Serializer = Serializer.hold() @@ -527,10 +578,18 @@ export class PinchGestureInterfaceInternal implements MaterializedBase,GestureIn const obj : PinchGestureInterface = PinchGestureInterfaceInternal.fromPtr(retval) return obj } - private onActionCancel_serialize(event: (() => void)): PinchGestureInterface { + private onActionCancel0_serialize(event: (() => void)): PinchGestureInterface { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_onActionCancel(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_onActionCancel0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj : PinchGestureInterface = PinchGestureInterfaceInternal.fromPtr(retval) + return obj + } + private onActionCancel1_serialize(event: ((event: GestureEvent) => void)): PinchGestureInterface { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_onActionCancel1(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() const obj : PinchGestureInterface = PinchGestureInterfaceInternal.fromPtr(retval) return obj @@ -546,6 +605,7 @@ export interface RotationGestureInterface { onActionUpdate(event: ((event: GestureEvent) => void)): RotationGestureInterface onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureInterface onActionCancel(event: (() => void)): RotationGestureInterface + onActionCancel(event: ((event: GestureEvent) => void)): RotationGestureInterface } export class RotationGestureInterfaceInternal implements MaterializedBase,GestureInterface,RotationGestureInterface { peer?: Finalizable | undefined = undefined @@ -556,13 +616,13 @@ export class RotationGestureInterfaceInternal implements MaterializedBase,Gestur const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! const value_value_fingers = value_value.fingers let value_value_fingers_type : int32 = RuntimeType.UNDEFINED value_value_fingers_type = runtimeType(value_value_fingers) - thisSerializer.writeInt8(value_value_fingers_type as int32) + thisSerializer.writeInt8(value_value_fingers_type) if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { const value_value_fingers_value = value_value_fingers! thisSerializer.writeNumber(value_value_fingers_value) @@ -570,7 +630,7 @@ export class RotationGestureInterfaceInternal implements MaterializedBase,Gestur const value_value_angle = value_value.angle let value_value_angle_type : int32 = RuntimeType.UNDEFINED value_value_angle_type = runtimeType(value_value_angle) - thisSerializer.writeInt8(value_value_angle_type as int32) + thisSerializer.writeInt8(value_value_angle_type) if ((RuntimeType.UNDEFINED) != (value_value_angle_type)) { const value_value_angle_value = value_value_angle! thisSerializer.writeNumber(value_value_angle_value) @@ -599,9 +659,17 @@ export class RotationGestureInterfaceInternal implements MaterializedBase,Gestur const event_casted = event as (((event: GestureEvent) => void)) return this.onActionEnd_serialize(event_casted) } - public onActionCancel(event: (() => void)): RotationGestureInterface { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) + public onActionCancel(event: (() => void) | ((event: GestureEvent) => void)): RotationGestureInterface { + const event_type = runtimeType(event) + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as ((() => void)) + return this.onActionCancel0_serialize(event_casted) + } + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionCancel1_serialize(event_casted) + } + throw new Error("Can not select appropriate overload") } private onActionStart_serialize(event: ((event: GestureEvent) => void)): RotationGestureInterface { const thisSerializer : Serializer = Serializer.hold() @@ -627,10 +695,18 @@ export class RotationGestureInterfaceInternal implements MaterializedBase,Gestur const obj : RotationGestureInterface = RotationGestureInterfaceInternal.fromPtr(retval) return obj } - private onActionCancel_serialize(event: (() => void)): RotationGestureInterface { + private onActionCancel0_serialize(event: (() => void)): RotationGestureInterface { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_onActionCancel0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj : RotationGestureInterface = RotationGestureInterfaceInternal.fromPtr(retval) + return obj + } + private onActionCancel1_serialize(event: ((event: GestureEvent) => void)): RotationGestureInterface { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_onActionCancel(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_onActionCancel1(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() const obj : RotationGestureInterface = RotationGestureInterfaceInternal.fromPtr(retval) return obj @@ -657,37 +733,37 @@ export class GestureGroupInterfaceInternal implements MaterializedBase,GestureGr let gesture_element_type : int32 = RuntimeType.UNDEFINED gesture_element_type = runtimeType(gesture_element) if (TypeChecker.isTapGestureInterface(gesture_element)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const gesture_element_0 = gesture_element as TapGestureInterface thisSerializer.writeTapGestureInterface(gesture_element_0) } else if (TypeChecker.isLongPressGestureInterface(gesture_element)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const gesture_element_1 = gesture_element as LongPressGestureInterface thisSerializer.writeLongPressGestureInterface(gesture_element_1) } else if (TypeChecker.isPanGestureInterface(gesture_element)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const gesture_element_2 = gesture_element as PanGestureInterface thisSerializer.writePanGestureInterface(gesture_element_2) } else if (TypeChecker.isPinchGestureInterface(gesture_element)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const gesture_element_3 = gesture_element as PinchGestureInterface thisSerializer.writePinchGestureInterface(gesture_element_3) } else if (TypeChecker.isSwipeGestureInterface(gesture_element)) { - thisSerializer.writeInt8(4 as int32) + thisSerializer.writeInt8(4) const gesture_element_4 = gesture_element as SwipeGestureInterface thisSerializer.writeSwipeGestureInterface(gesture_element_4) } else if (TypeChecker.isRotationGestureInterface(gesture_element)) { - thisSerializer.writeInt8(5 as int32) + thisSerializer.writeInt8(5) const gesture_element_5 = gesture_element as RotationGestureInterface thisSerializer.writeRotationGestureInterface(gesture_element_5) } else if (TypeChecker.isGestureGroupInterface(gesture_element)) { - thisSerializer.writeInt8(6 as int32) + thisSerializer.writeInt8(6) const gesture_element_6 = gesture_element as GestureGroupInterface thisSerializer.writeGestureGroupInterface(gesture_element_6) } @@ -804,6 +880,12 @@ export class GestureRecognizer implements MaterializedBase { public isValid(): boolean { return this.isValid_serialize() } + public getFingerCount(): number { + return this.getFingerCount_serialize() + } + public isFingerCountLimit(): boolean { + return this.isFingerCountLimit_serialize() + } private getTag_serialize(): string { const retval = ArkUIGeneratedNativeModule._GestureRecognizer_getTag(this.peer!.ptr) return retval @@ -836,6 +918,14 @@ export class GestureRecognizer implements MaterializedBase { const retval = ArkUIGeneratedNativeModule._GestureRecognizer_isValid(this.peer!.ptr) return retval } + private getFingerCount_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureRecognizer_getFingerCount(this.peer!.ptr) + return retval + } + private isFingerCountLimit_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._GestureRecognizer_isFingerCountLimit(this.peer!.ptr) + return retval + } } export enum PanDirection { NONE = 0, @@ -896,11 +986,15 @@ export interface FingerInfo { localY: number; displayX: number; displayY: number; + hand?: InteractionHand; } export type GestureType = TapGestureInterface | LongPressGestureInterface | PanGestureInterface | PinchGestureInterface | SwipeGestureInterface | RotationGestureInterface | GestureGroupInterface; export interface GestureInterface { } -export interface TapGestureParameters { +export interface BaseHandlerOptions { + isFingerCountLimited?: boolean; +} +export interface TapGestureParameters extends BaseHandlerOptions { count?: number; fingers?: number; distanceThreshold?: number; @@ -931,40 +1025,40 @@ export interface Literal_Number_angle_fingers { } export interface GestureHandler extends GestureInterface { } -export interface TapGestureHandlerOptions { +export interface TapGestureHandlerOptions extends BaseHandlerOptions { count?: number; fingers?: number; } export interface TapGestureHandler extends GestureHandler { } -export interface LongPressGestureHandlerOptions { +export interface LongPressGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; repeat?: boolean; duration?: number; } export interface LongPressGestureHandler extends GestureHandler { } -export interface PanGestureHandlerOptions { +export interface PanGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; direction?: PanDirection; distance?: number; } export interface PanGestureHandler extends GestureHandler { } -export interface SwipeGestureHandlerOptions { +export interface SwipeGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; direction?: SwipeDirection; speed?: number; } export interface SwipeGestureHandler extends GestureHandler { } -export interface PinchGestureHandlerOptions { +export interface PinchGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; distance?: number; } export interface PinchGestureHandler extends GestureHandler { } -export interface RotationGestureHandlerOptions { +export interface RotationGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; angle?: number; } @@ -1376,6 +1470,160 @@ export class ScrollableTargetInfo extends EventTargetInfo implements Materialize return retval } } +export class TapRecognizerInternal { + public static fromPtr(ptr: KPointer): TapRecognizer { + const obj : TapRecognizer = new TapRecognizer() + obj.peer = new Finalizable(ptr, TapRecognizer.getFinalizer()) + return obj + } +} +export class TapRecognizer extends GestureRecognizer implements MaterializedBase { + static ctor_taprecognizer(): KPointer { + const retval = ArkUIGeneratedNativeModule._TapRecognizer_ctor() + return retval + } + constructor() { + super() + const ctorPtr : KPointer = TapRecognizer.ctor_taprecognizer() + this.peer = new Finalizable(ctorPtr, TapRecognizer.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TapRecognizer_getFinalizer() + } + public getTapCount(): number { + return this.getTapCount_serialize() + } + private getTapCount_serialize(): number { + const retval = ArkUIGeneratedNativeModule._TapRecognizer_getTapCount(this.peer!.ptr) + return retval + } +} +export class LongPressRecognizerInternal { + public static fromPtr(ptr: KPointer): LongPressRecognizer { + const obj : LongPressRecognizer = new LongPressRecognizer() + obj.peer = new Finalizable(ptr, LongPressRecognizer.getFinalizer()) + return obj + } +} +export class LongPressRecognizer extends GestureRecognizer implements MaterializedBase { + static ctor_longpressrecognizer(): KPointer { + const retval = ArkUIGeneratedNativeModule._LongPressRecognizer_ctor() + return retval + } + constructor() { + super() + const ctorPtr : KPointer = LongPressRecognizer.ctor_longpressrecognizer() + this.peer = new Finalizable(ctorPtr, LongPressRecognizer.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LongPressRecognizer_getFinalizer() + } + public isRepeat(): boolean { + return this.isRepeat_serialize() + } + public getDuration(): number { + return this.getDuration_serialize() + } + private isRepeat_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._LongPressRecognizer_isRepeat(this.peer!.ptr) + return retval + } + private getDuration_serialize(): number { + const retval = ArkUIGeneratedNativeModule._LongPressRecognizer_getDuration(this.peer!.ptr) + return retval + } +} +export class SwipeRecognizerInternal { + public static fromPtr(ptr: KPointer): SwipeRecognizer { + const obj : SwipeRecognizer = new SwipeRecognizer() + obj.peer = new Finalizable(ptr, SwipeRecognizer.getFinalizer()) + return obj + } +} +export class SwipeRecognizer extends GestureRecognizer implements MaterializedBase { + static ctor_swiperecognizer(): KPointer { + const retval = ArkUIGeneratedNativeModule._SwipeRecognizer_ctor() + return retval + } + constructor() { + super() + const ctorPtr : KPointer = SwipeRecognizer.ctor_swiperecognizer() + this.peer = new Finalizable(ctorPtr, SwipeRecognizer.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._SwipeRecognizer_getFinalizer() + } + public getVelocityThreshold(): number { + return this.getVelocityThreshold_serialize() + } + public getDirection(): SwipeDirection { + return this.getDirection_serialize() + } + private getVelocityThreshold_serialize(): number { + const retval = ArkUIGeneratedNativeModule._SwipeRecognizer_getVelocityThreshold(this.peer!.ptr) + return retval + } + private getDirection_serialize(): SwipeDirection { + const retval = ArkUIGeneratedNativeModule._SwipeRecognizer_getDirection(this.peer!.ptr) + return TypeChecker.SwipeDirection_FromNumeric(retval) + } +} +export class PinchRecognizerInternal { + public static fromPtr(ptr: KPointer): PinchRecognizer { + const obj : PinchRecognizer = new PinchRecognizer() + obj.peer = new Finalizable(ptr, PinchRecognizer.getFinalizer()) + return obj + } +} +export class PinchRecognizer extends GestureRecognizer implements MaterializedBase { + static ctor_pinchrecognizer(): KPointer { + const retval = ArkUIGeneratedNativeModule._PinchRecognizer_ctor() + return retval + } + constructor() { + super() + const ctorPtr : KPointer = PinchRecognizer.ctor_pinchrecognizer() + this.peer = new Finalizable(ctorPtr, PinchRecognizer.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PinchRecognizer_getFinalizer() + } + public getDistance(): number { + return this.getDistance_serialize() + } + private getDistance_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PinchRecognizer_getDistance(this.peer!.ptr) + return retval + } +} +export class RotationRecognizerInternal { + public static fromPtr(ptr: KPointer): RotationRecognizer { + const obj : RotationRecognizer = new RotationRecognizer() + obj.peer = new Finalizable(ptr, RotationRecognizer.getFinalizer()) + return obj + } +} +export class RotationRecognizer extends GestureRecognizer implements MaterializedBase { + static ctor_rotationrecognizer(): KPointer { + const retval = ArkUIGeneratedNativeModule._RotationRecognizer_ctor() + return retval + } + constructor() { + super() + const ctorPtr : KPointer = RotationRecognizer.ctor_rotationrecognizer() + this.peer = new Finalizable(ctorPtr, RotationRecognizer.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._RotationRecognizer_getFinalizer() + } + public getAngle(): number { + return this.getAngle_serialize() + } + private getAngle_serialize(): number { + const retval = ArkUIGeneratedNativeModule._RotationRecognizer_getAngle(this.peer!.ptr) + return retval + } +} export class PanRecognizerInternal { public static fromPtr(ptr: KPointer): PanRecognizer { const obj : PanRecognizer = new PanRecognizer() diff --git a/arkoala-arkts/arkui/src/generated/grid.ts b/arkoala-arkts/arkui/src/generated/grid.ts index 9d28c005da..795ca67a00 100644 --- a/arkoala-arkts/arkui/src/generated/grid.ts +++ b/arkoala-arkts/arkui/src/generated/grid.ts @@ -50,14 +50,14 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let scroller_type : int32 = RuntimeType.UNDEFINED scroller_type = runtimeType(scroller) - thisSerializer.writeInt8(scroller_type as int32) + thisSerializer.writeInt8(scroller_type) if ((RuntimeType.UNDEFINED) != (scroller_type)) { const scroller_value = scroller! thisSerializer.writeScroller(scroller_value) } let layoutOptions_type : int32 = RuntimeType.UNDEFINED layoutOptions_type = runtimeType(layoutOptions) - thisSerializer.writeInt8(layoutOptions_type as int32) + thisSerializer.writeInt8(layoutOptions_type) if ((RuntimeType.UNDEFINED) != (layoutOptions_type)) { const layoutOptions_value = layoutOptions! thisSerializer.writeGridLayoutOptions(layoutOptions_value) @@ -76,17 +76,17 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -98,17 +98,17 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -120,12 +120,12 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -137,17 +137,17 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -240,12 +240,12 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -256,7 +256,7 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = (value as GridItemAlignment) thisSerializer.writeInt32(TypeChecker.GridItemAlignment_ToNumeric(value_value)) @@ -304,7 +304,7 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeEdgeEffectOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/gridItem.ts b/arkoala-arkts/arkui/src/generated/gridItem.ts index dcfab24533..262d173a62 100644 --- a/arkoala-arkts/arkui/src/generated/gridItem.ts +++ b/arkoala-arkts/arkui/src/generated/gridItem.ts @@ -43,7 +43,7 @@ export class ArkGridItemPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeGridItemOptions(value_value) diff --git a/arkoala-arkts/arkui/src/generated/grid_col.ts b/arkoala-arkts/arkui/src/generated/grid_col.ts index d82a55ef54..cb281775b8 100644 --- a/arkoala-arkts/arkui/src/generated/grid_col.ts +++ b/arkoala-arkts/arkui/src/generated/grid_col.ts @@ -42,7 +42,7 @@ export class ArkGridColPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let option_type : int32 = RuntimeType.UNDEFINED option_type = runtimeType(option) - thisSerializer.writeInt8(option_type as int32) + thisSerializer.writeInt8(option_type) if ((RuntimeType.UNDEFINED) != (option_type)) { const option_value = option! thisSerializer.writeGridColOptions(option_value) @@ -55,12 +55,12 @@ export class ArkGridColPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as GridColColumnOption thisSerializer.writeGridColColumnOption(value_1) } @@ -72,12 +72,12 @@ export class ArkGridColPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as GridColColumnOption thisSerializer.writeGridColColumnOption(value_1) } @@ -89,12 +89,12 @@ export class ArkGridColPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as GridColColumnOption thisSerializer.writeGridColColumnOption(value_1) } diff --git a/arkoala-arkts/arkui/src/generated/grid_container.ts b/arkoala-arkts/arkui/src/generated/grid_container.ts index d116e3edcb..310aced3b9 100644 --- a/arkoala-arkts/arkui/src/generated/grid_container.ts +++ b/arkoala-arkts/arkui/src/generated/grid_container.ts @@ -43,7 +43,7 @@ export class ArkGridContainerPeer extends ArkColumnPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeGridContainerOptions(value_value) diff --git a/arkoala-arkts/arkui/src/generated/grid_row.ts b/arkoala-arkts/arkui/src/generated/grid_row.ts index a7c43f541c..efdf15f2b8 100644 --- a/arkoala-arkts/arkui/src/generated/grid_row.ts +++ b/arkoala-arkts/arkui/src/generated/grid_row.ts @@ -44,7 +44,7 @@ export class ArkGridRowPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let option_type : int32 = RuntimeType.UNDEFINED option_type = runtimeType(option) - thisSerializer.writeInt8(option_type as int32) + thisSerializer.writeInt8(option_type) if ((RuntimeType.UNDEFINED) != (option_type)) { const option_value = option! thisSerializer.writeGridRowOptions(option_value) @@ -62,6 +62,7 @@ export class ArkGridRowPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._GridRowAttribute_alignItems(this.peer.ptr, TypeChecker.ItemAlign_ToNumeric(value)) } } +export type Callback_String_Void = (breakpoints: string) => void; export interface GridRowSizeOption { xs?: Length; sm?: Length; @@ -105,7 +106,6 @@ export interface GridRowOptions { direction?: GridRowDirection; } -export type Callback_String_Void = (breakpoints: string) => void; export interface GridRowAttribute extends CommonMethod { onBreakpointChange(value: ((breakpoints: string) => void)): this alignItems(value: ItemAlign): this diff --git a/arkoala-arkts/arkui/src/generated/hyperlink.ts b/arkoala-arkts/arkui/src/generated/hyperlink.ts index 64ac032701..e499310bca 100644 --- a/arkoala-arkts/arkui/src/generated/hyperlink.ts +++ b/arkoala-arkts/arkui/src/generated/hyperlink.ts @@ -45,29 +45,29 @@ export class ArkHyperlinkPeer extends ArkCommonMethodPeer { let address_type : int32 = RuntimeType.UNDEFINED address_type = runtimeType(address) if (RuntimeType.STRING == address_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const address_0 = address as string thisSerializer.writeString(address_0) } else if (RuntimeType.OBJECT == address_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const address_1 = address as Resource thisSerializer.writeResource(address_1) } let content_type : int32 = RuntimeType.UNDEFINED content_type = runtimeType(content) - thisSerializer.writeInt8(content_type as int32) + thisSerializer.writeInt8(content_type) if ((RuntimeType.UNDEFINED) != (content_type)) { const content_value = content! let content_value_type : int32 = RuntimeType.UNDEFINED content_value_type = runtimeType(content_value) if (RuntimeType.STRING == content_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const content_value_0 = content_value as string thisSerializer.writeString(content_value_0) } else if (RuntimeType.OBJECT == content_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const content_value_1 = content_value as Resource thisSerializer.writeResource(content_value_1) } @@ -80,22 +80,22 @@ export class ArkHyperlinkPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } diff --git a/arkoala-arkts/arkui/src/generated/image.ts b/arkoala-arkts/arkui/src/generated/image.ts index 47c0f6d942..175831f3c3 100644 --- a/arkoala-arkts/arkui/src/generated/image.ts +++ b/arkoala-arkts/arkui/src/generated/image.ts @@ -27,6 +27,7 @@ import { Resource } from "./resource" import { PixelMap } from "./arkui-pixelmap" import { ResourceColor, ColorFilter, ResourceStr, EdgeWidths } from "./units" import { ImageFit, ImageRepeat, CopyOptions, Color } from "./enums" +import { Matrix4Transit } from "./arkui-matrix4" import { DrawingColorFilter, DrawingLattice } from "./arkui-drawing" import { Callback_Void } from "./ability_component" import { ImageAnalyzerConfig, ImageAIOptions } from "./image_common" @@ -52,28 +53,28 @@ export class ArkImagePeer extends ArkCommonMethodPeer { let src_type : int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) if (TypeChecker.isPixelMap(src, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const src_0 = src as PixelMap thisSerializer.writePixelMap(src_0) } else if ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const src_1 = src as ResourceStr let src_1_type : int32 = RuntimeType.UNDEFINED src_1_type = runtimeType(src_1) if (RuntimeType.STRING == src_1_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const src_1_0 = src_1 as string thisSerializer.writeString(src_1_0) } else if (RuntimeType.OBJECT == src_1_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const src_1_1 = src_1 as Resource thisSerializer.writeResource(src_1_1) } } else if (TypeChecker.isDrawableDescriptor(src)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const src_2 = src as DrawableDescriptor thisSerializer.writeDrawableDescriptor(src_2) } @@ -85,33 +86,33 @@ export class ArkImagePeer extends ArkCommonMethodPeer { let src_type : int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) if (TypeChecker.isPixelMap(src, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const src_0 = src as PixelMap thisSerializer.writePixelMap(src_0) } else if ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const src_1 = src as ResourceStr let src_1_type : int32 = RuntimeType.UNDEFINED src_1_type = runtimeType(src_1) if (RuntimeType.STRING == src_1_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const src_1_0 = src_1 as string thisSerializer.writeString(src_1_0) } else if (RuntimeType.OBJECT == src_1_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const src_1_1 = src_1 as Resource thisSerializer.writeResource(src_1_1) } } else if (TypeChecker.isDrawableDescriptor(src)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const src_2 = src as DrawableDescriptor thisSerializer.writeDrawableDescriptor(src_2) } else if (TypeChecker.isImageContent(src)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const src_3 = src as ImageContent thisSerializer.writeInt32(TypeChecker.ImageContent_ToNumeric(src_3)) } @@ -123,28 +124,28 @@ export class ArkImagePeer extends ArkCommonMethodPeer { let src_type : int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) if (TypeChecker.isPixelMap(src, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const src_0 = src as PixelMap thisSerializer.writePixelMap(src_0) } else if ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const src_1 = src as ResourceStr let src_1_type : int32 = RuntimeType.UNDEFINED src_1_type = runtimeType(src_1) if (RuntimeType.STRING == src_1_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const src_1_0 = src_1 as string thisSerializer.writeString(src_1_0) } else if (RuntimeType.OBJECT == src_1_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const src_1_1 = src_1 as Resource thisSerializer.writeResource(src_1_1) } } else if (TypeChecker.isDrawableDescriptor(src)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const src_2 = src as DrawableDescriptor thisSerializer.writeDrawableDescriptor(src_2) } @@ -157,17 +158,17 @@ export class ArkImagePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (TypeChecker.isResource(value, false, false, false, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } else if (TypeChecker.isPixelMap(value, false, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as PixelMap thisSerializer.writePixelMap(value_2) } @@ -180,36 +181,77 @@ export class ArkImagePeer extends ArkCommonMethodPeer { fitOriginalSizeAttribute(value: boolean): void { ArkUIGeneratedNativeModule._ImageAttribute_fitOriginalSize(this.peer.ptr, value ? 1 : 0) } - fillColorAttribute(value: ResourceColor): void { + fillColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._ImageAttribute_fillColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._ImageAttribute_fillColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + fillColor1Attribute(value: ResourceColor | ColorContent): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + thisSerializer.writeInt8(0) + const value_0 = value as ResourceColor + let value_0_type : int32 = RuntimeType.UNDEFINED + value_0_type = runtimeType(value_0) + if (TypeChecker.isColor(value_0)) { + thisSerializer.writeInt8(0) + const value_0_0 = value_0 as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0_0)) + } + else if (RuntimeType.NUMBER == value_0_type) { + thisSerializer.writeInt8(1) + const value_0_1 = value_0 as number + thisSerializer.writeNumber(value_0_1) + } + else if (RuntimeType.STRING == value_0_type) { + thisSerializer.writeInt8(2) + const value_0_2 = value_0 as string + thisSerializer.writeString(value_0_2) + } + else if (RuntimeType.OBJECT == value_0_type) { + thisSerializer.writeInt8(3) + const value_0_3 = value_0 as Resource + thisSerializer.writeResource(value_0_3) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isColorContent(value))) { + thisSerializer.writeInt8(1) + const value_1 = value as ColorContent + thisSerializer.writeColorContent(value_1) + } + ArkUIGeneratedNativeModule._ImageAttribute_fillColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } objectFitAttribute(value: ImageFit): void { ArkUIGeneratedNativeModule._ImageAttribute_objectFit(this.peer.ptr, TypeChecker.ImageFit_ToNumeric(value)) } + imageMatrixAttribute(value: Matrix4Transit): void { + ArkUIGeneratedNativeModule._ImageAttribute_imageMatrix(this.peer.ptr, toPeerPtr(value)) + } objectRepeatAttribute(value: ImageRepeat): void { ArkUIGeneratedNativeModule._ImageAttribute_objectRepeat(this.peer.ptr, TypeChecker.ImageRepeat_ToNumeric(value)) } @@ -239,12 +281,12 @@ export class ArkImagePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColorFilter(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ColorFilter thisSerializer.writeColorFilter(value_0) } else if (TypeChecker.isDrawingColorFilter(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as DrawingColorFilter thisSerializer.writeDrawingColorFilter(value_1) } @@ -305,6 +347,9 @@ export class ArkImagePeer extends ArkCommonMethodPeer { enhancedImageQualityAttribute(value: ResolutionQuality): void { ArkUIGeneratedNativeModule._ImageAttribute_enhancedImageQuality(this.peer.ptr, TypeChecker.ResolutionQuality_ToNumeric(value)) } + orientationAttribute(value: ImageRotateOrientation): void { + ArkUIGeneratedNativeModule._ImageAttribute_orientation(this.peer.ptr, TypeChecker.ImageRotateOrientation_ToNumeric(value)) + } } export enum ImageRenderMode { ORIGINAL = 0, @@ -330,11 +375,20 @@ export enum ImageInterpolation { HIGH = 3, High = 3 } +export enum ImageRotateOrientation { + AUTO = 0, + UP = 1, + RIGHT = 2, + DOWN = 3, + LEFT = 4 +} export interface ImageSourceSize { width: number; height: number; } +export interface ColorContent { +} export interface Type_ImageAttribute_onComplete_callback_event { width: number; height: number; @@ -351,8 +405,9 @@ export interface ImageAttribute extends CommonMethod { alt(value: string | Resource | PixelMap): this matchTextDirection(value: boolean): this fitOriginalSize(value: boolean): this - fillColor(value: ResourceColor): this + fillColor(value: ResourceColor | ResourceColor | ColorContent): this objectFit(value: ImageFit): this + imageMatrix(value: Matrix4Transit): this objectRepeat(value: ImageRepeat): this autoResize(value: boolean): this renderMode(value: ImageRenderMode): this @@ -373,6 +428,7 @@ export interface ImageAttribute extends CommonMethod { resizable(value: ResizableOptions): this privacySensitive(value: boolean): this enhancedImageQuality(value: ResolutionQuality): this + orientation(value: ImageRotateOrientation): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIImageAttribute extends UICommonMethod { @@ -383,10 +439,12 @@ export interface UIImageAttribute extends UICommonMethod { /** @memo */ fitOriginalSize(value: boolean): this /** @memo */ - fillColor(value: ResourceColor): this + fillColor(value: ResourceColor | ResourceColor | ColorContent): this /** @memo */ objectFit(value: ImageFit): this /** @memo */ + imageMatrix(value: Matrix4Transit): this + /** @memo */ objectRepeat(value: ImageRepeat): this /** @memo */ autoResize(value: boolean): this @@ -427,6 +485,8 @@ export interface UIImageAttribute extends UICommonMethod { /** @memo */ enhancedImageQuality(value: ResolutionQuality): this /** @memo */ + orientation(value: ImageRotateOrientation): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkImageStyle extends ArkCommonMethodStyle implements ImageAttribute { @@ -435,6 +495,7 @@ export class ArkImageStyle extends ArkCommonMethodStyle implements ImageAttribut fitOriginalSize_value?: boolean fillColor_value?: ResourceColor objectFit_value?: ImageFit + imageMatrix_value?: Matrix4Transit objectRepeat_value?: ImageRepeat autoResize_value?: boolean renderMode_value?: ImageRenderMode @@ -455,6 +516,7 @@ export class ArkImageStyle extends ArkCommonMethodStyle implements ImageAttribut resizable_value?: ResizableOptions privacySensitive_value?: boolean enhancedImageQuality_value?: ResolutionQuality + orientation_value?: ImageRotateOrientation public alt(value: string | Resource | PixelMap): this { return this } @@ -464,12 +526,15 @@ export class ArkImageStyle extends ArkCommonMethodStyle implements ImageAttribut public fitOriginalSize(value: boolean): this { return this } - public fillColor(value: ResourceColor): this { + public fillColor(value: ResourceColor | ResourceColor | ColorContent): this { return this } public objectFit(value: ImageFit): this { return this } + public imageMatrix(value: Matrix4Transit): this { + return this + } public objectRepeat(value: ImageRepeat): this { return this } @@ -530,6 +595,9 @@ export class ArkImageStyle extends ArkCommonMethodStyle implements ImageAttribut public enhancedImageQuality(value: ResolutionQuality): this { return this } + public orientation(value: ImageRotateOrientation): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -602,11 +670,20 @@ export class ArkImageComponent extends ArkCommonMethodComponent implements UIIma return this } /** @memo */ - public fillColor(value: ResourceColor): this { + public fillColor(value: ResourceColor | ResourceColor | ColorContent): this { if (this.checkPriority("fillColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.fillColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.fillColor0Attribute(value_casted) + return this + } + if (((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isColorContent(value)))) { + const value_casted = value as (ResourceColor | ColorContent) + this.getPeer()?.fillColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -620,6 +697,15 @@ export class ArkImageComponent extends ArkCommonMethodComponent implements UIIma return this } /** @memo */ + public imageMatrix(value: Matrix4Transit): this { + if (this.checkPriority("imageMatrix")) { + const value_casted = value as (Matrix4Transit) + this.getPeer()?.imageMatrixAttribute(value_casted) + return this + } + return this + } + /** @memo */ public objectRepeat(value: ImageRepeat): this { if (this.checkPriority("objectRepeat")) { const value_casted = value as (ImageRepeat) @@ -800,6 +886,15 @@ export class ArkImageComponent extends ArkCommonMethodComponent implements UIIma return this } /** @memo */ + public orientation(value: ImageRotateOrientation): this { + if (this.checkPriority("orientation")) { + const value_casted = value as (ImageRotateOrientation) + this.getPeer()?.orientationAttribute(value_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala-arkts/arkui/src/generated/image_animator.ts b/arkoala-arkts/arkui/src/generated/image_animator.ts index 5ac48ae6e3..0e267d5645 100644 --- a/arkoala-arkts/arkui/src/generated/image_animator.ts +++ b/arkoala-arkts/arkui/src/generated/image_animator.ts @@ -76,6 +76,9 @@ export class ArkImageAnimatorPeer extends ArkCommonMethodPeer { iterationsAttribute(value: number): void { ArkUIGeneratedNativeModule._ImageAnimatorAttribute_iterations(this.peer.ptr, value) } + monitorInvisibleAreaAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._ImageAnimatorAttribute_monitorInvisibleArea(this.peer.ptr, value ? 1 : 0) + } onStartAttribute(value: (() => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -125,6 +128,7 @@ export interface ImageAnimatorAttribute extends CommonMethod { preDecode(value: number): this fillMode(value: FillMode): this iterations(value: number): this + monitorInvisibleArea(value: boolean): this onStart(value: (() => void)): this onPause(value: (() => void)): this onRepeat(value: (() => void)): this @@ -150,6 +154,8 @@ export interface UIImageAnimatorAttribute extends UICommonMethod { /** @memo */ iterations(value: number): this /** @memo */ + monitorInvisibleArea(value: boolean): this + /** @memo */ onStart(value: (() => void)): this /** @memo */ onPause(value: (() => void)): this @@ -171,6 +177,7 @@ export class ArkImageAnimatorStyle extends ArkCommonMethodStyle implements Image preDecode_value?: number fillMode_value?: FillMode iterations_value?: number + monitorInvisibleArea_value?: boolean onStart_value?: (() => void) onPause_value?: (() => void) onRepeat_value?: (() => void) @@ -200,6 +207,9 @@ export class ArkImageAnimatorStyle extends ArkCommonMethodStyle implements Image public iterations(value: number): this { return this } + public monitorInvisibleArea(value: boolean): this { + return this + } public onStart(value: (() => void)): this { return this } @@ -305,6 +315,15 @@ export class ArkImageAnimatorComponent extends ArkCommonMethodComponent implemen return this } /** @memo */ + public monitorInvisibleArea(value: boolean): this { + if (this.checkPriority("monitorInvisibleArea")) { + const value_casted = value as (boolean) + this.getPeer()?.monitorInvisibleAreaAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onStart(value: (() => void)): this { if (this.checkPriority("onStart")) { const value_casted = value as ((() => void)) diff --git a/arkoala-arkts/arkui/src/generated/image_span.ts b/arkoala-arkts/arkui/src/generated/image_span.ts index ed5c9b2c4a..08e35867ce 100644 --- a/arkoala-arkts/arkui/src/generated/image_span.ts +++ b/arkoala-arkts/arkui/src/generated/image_span.ts @@ -50,23 +50,23 @@ export class ArkImageSpanPeer extends ArkBaseSpanPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ResourceStr let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as string thisSerializer.writeString(value_0_0) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as Resource thisSerializer.writeResource(value_0_1) } } else if (TypeChecker.isPixelMap(value, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as PixelMap thisSerializer.writePixelMap(value_1) } @@ -81,12 +81,12 @@ export class ArkImageSpanPeer extends ArkBaseSpanPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColorFilter(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ColorFilter thisSerializer.writeColorFilter(value_0) } else if (TypeChecker.isDrawingColorFilter(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as DrawingColorFilter thisSerializer.writeDrawingColorFilter(value_1) } diff --git a/arkoala-arkts/arkui/src/generated/index.ts b/arkoala-arkts/arkui/src/generated/index.ts index 5cd45bad5b..4888074ef4 100644 --- a/arkoala-arkts/arkui/src/generated/index.ts +++ b/arkoala-arkts/arkui/src/generated/index.ts @@ -95,6 +95,7 @@ export * from "./indicatorcomponent" export * from "./inspector" export * from "./isolated_component" export * from "./lazy_for_each" +export * from "./lazy_grid_layout" export * from "./line" export * from "./linearindicator" export * from "./list" diff --git a/arkoala-arkts/arkui/src/generated/indicatorcomponent.ts b/arkoala-arkts/arkui/src/generated/indicatorcomponent.ts index 739a5a4c81..74f4d0f29f 100644 --- a/arkoala-arkts/arkui/src/generated/indicatorcomponent.ts +++ b/arkoala-arkts/arkui/src/generated/indicatorcomponent.ts @@ -77,7 +77,7 @@ export class IndicatorComponentController implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let useAnimation_type : int32 = RuntimeType.UNDEFINED useAnimation_type = runtimeType(useAnimation) - thisSerializer.writeInt8(useAnimation_type as int32) + thisSerializer.writeInt8(useAnimation_type) if ((RuntimeType.UNDEFINED) != (useAnimation_type)) { const useAnimation_value = useAnimation! thisSerializer.writeBoolean(useAnimation_value) @@ -101,7 +101,7 @@ export class ArkIndicatorComponentPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let controller_type : int32 = RuntimeType.UNDEFINED controller_type = runtimeType(controller) - thisSerializer.writeInt8(controller_type as int32) + thisSerializer.writeInt8(controller_type) if ((RuntimeType.UNDEFINED) != (controller_type)) { const controller_value = controller! thisSerializer.writeIndicatorComponentController(controller_value) @@ -120,12 +120,12 @@ export class ArkIndicatorComponentPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isDotIndicator(value))) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as DotIndicator thisSerializer.writeDotIndicator(value_0) } else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isDigitIndicator(value))) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as DigitIndicator thisSerializer.writeDigitIndicator(value_1) } diff --git a/arkoala-arkts/arkui/src/generated/lazy_grid_layout.ts b/arkoala-arkts/arkui/src/generated/lazy_grid_layout.ts new file mode 100644 index 0000000000..f95ba2f774 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/lazy_grid_layout.ts @@ -0,0 +1,195 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { int32, int64, float32 } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, MaterializedBase, toPeerPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { Serializer } from "./peers/Serializer" +import { ComponentBase } from "./../ComponentBase" +import { PeerNode } from "./../PeerNode" +import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" +import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { LengthMetrics } from "./arkui-graphics" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./../CallbackTransformer" +import { UICommonBase, AttributeModifier } from "./../handwritten" +import { NodeAttach, remember } from "@koalaui/runtime" +export class ArkLazyGridLayoutPeer extends ArkCommonMethodPeer { + protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { + super(peerPtr, id, name, flags) + } + public static create(component?: ComponentBase, flags: int32 = 0): ArkLazyGridLayoutPeer { + const peerId = PeerNode.nextId() + const _peerPtr = ArkUIGeneratedNativeModule._LazyGridLayout_construct(peerId, flags) + const _peer = new ArkLazyGridLayoutPeer(_peerPtr, peerId, "LazyGridLayout", flags) + component?.setPeer(_peer) + return _peer + } + rowsGapAttribute(value: LengthMetrics): void { + ArkUIGeneratedNativeModule._LazyGridLayoutAttribute_rowsGap(this.peer.ptr, toPeerPtr(value)) + } + columnsGapAttribute(value: LengthMetrics): void { + ArkUIGeneratedNativeModule._LazyGridLayoutAttribute_columnsGap(this.peer.ptr, toPeerPtr(value)) + } +} +export class ArkLazyVGridLayoutPeer extends ArkLazyGridLayoutPeer { + protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { + super(peerPtr, id, name, flags) + } + public static create(component?: ComponentBase, flags: int32 = 0): ArkLazyVGridLayoutPeer { + const peerId = PeerNode.nextId() + const _peerPtr = ArkUIGeneratedNativeModule._LazyVGridLayout_construct(peerId, flags) + const _peer = new ArkLazyVGridLayoutPeer(_peerPtr, peerId, "LazyVGridLayout", flags) + component?.setPeer(_peer) + return _peer + } + setLazyVGridLayoutOptionsAttribute(): void { + ArkUIGeneratedNativeModule._LazyVGridLayoutInterface_setLazyVGridLayoutOptions(this.peer.ptr) + } + columnsTemplateAttribute(value: string): void { + ArkUIGeneratedNativeModule._LazyVGridLayoutAttribute_columnsTemplate(this.peer.ptr, value) + } +} + +export interface LazyGridLayoutAttribute extends CommonMethod { + rowsGap(value: LengthMetrics): this + columnsGap(value: LengthMetrics): this + attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this +} +export interface UILazyGridLayoutAttribute extends UICommonMethod { + /** @memo */ + rowsGap(value: LengthMetrics): this + /** @memo */ + columnsGap(value: LengthMetrics): this + /** @memo */ + attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this +} +export class ArkLazyGridLayoutStyle extends ArkCommonMethodStyle implements LazyGridLayoutAttribute { + rowsGap_value?: LengthMetrics + columnsGap_value?: LengthMetrics + public rowsGap(value: LengthMetrics): this { + return this + } + public columnsGap(value: LengthMetrics): this { + return this + } + public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { + throw new Error("Not implemented") + } +} +export interface LazyVGridLayoutAttribute extends LazyGridLayoutAttribute { + columnsTemplate(value: string): this + attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this +} +export interface UILazyVGridLayoutAttribute extends UILazyGridLayoutAttribute { + /** @memo */ + columnsTemplate(value: string): this + /** @memo */ + attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this +} +export class ArkLazyVGridLayoutStyle extends ArkLazyGridLayoutStyle implements LazyVGridLayoutAttribute { + columnsTemplate_value?: string + public columnsTemplate(value: string): this { + return this + } + public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { + throw new Error("Not implemented") + } +} +/** @memo:stable */ +export class ArkLazyGridLayoutComponent extends ArkCommonMethodComponent implements UILazyGridLayoutAttribute { + getPeer(): ArkLazyGridLayoutPeer { + return (this.peer as ArkLazyGridLayoutPeer) + } + /** @memo */ + public rowsGap(value: LengthMetrics): this { + if (this.checkPriority("rowsGap")) { + const value_casted = value as (LengthMetrics) + this.getPeer()?.rowsGapAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public columnsGap(value: LengthMetrics): this { + if (this.checkPriority("columnsGap")) { + const value_casted = value as (LengthMetrics) + this.getPeer()?.columnsGapAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { + console.log("attributeModifier() not implemented") + return this + } + public applyAttributesFinish(): void { + // we call this function outside of class, so need to make it public + super.applyAttributesFinish() + } +} +/** @memo:stable */ +export class ArkLazyVGridLayoutComponent extends ArkLazyGridLayoutComponent implements UILazyVGridLayoutAttribute { + getPeer(): ArkLazyVGridLayoutPeer { + return (this.peer as ArkLazyVGridLayoutPeer) + } + /** @memo */ + public setLazyVGridLayoutOptions(): this { + if (this.checkPriority("setLazyVGridLayoutOptions")) { + this.getPeer()?.setLazyVGridLayoutOptionsAttribute() + return this + } + return this + } + /** @memo */ + public columnsTemplate(value: string): this { + if (this.checkPriority("columnsTemplate")) { + const value_casted = value as (string) + this.getPeer()?.columnsTemplateAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { + console.log("attributeModifier() not implemented") + return this + } + public applyAttributesFinish(): void { + // we call this function outside of class, so need to make it public + super.applyAttributesFinish() + } +} +/** @memo */ +export function ArkLazyVGridLayout( + /** @memo */ + style: ((attributes: UILazyVGridLayoutAttribute) => void) | undefined, + /** @memo */ + content_: (() => void) | undefined, + +): void { + const receiver = remember(() => { + return new ArkLazyVGridLayoutComponent() + }) + NodeAttach((): ArkLazyVGridLayoutPeer => ArkLazyVGridLayoutPeer.create(receiver), (_: ArkLazyVGridLayoutPeer) => { + receiver.setLazyVGridLayoutOptions() + style?.(receiver) + content_?.() + receiver.applyAttributesFinish() + }) +} diff --git a/arkoala-arkts/arkui/src/generated/line.ts b/arkoala-arkts/arkui/src/generated/line.ts index 2c54419d59..6a055a559a 100644 --- a/arkoala-arkts/arkui/src/generated/line.ts +++ b/arkoala-arkts/arkui/src/generated/line.ts @@ -44,7 +44,7 @@ export class ArkLinePeer extends ArkCommonShapeMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeLineOptions(options_value) @@ -60,17 +60,17 @@ export class ArkLinePeer extends ArkCommonShapeMethodPeer { let value_element_type : int32 = RuntimeType.UNDEFINED value_element_type = runtimeType(value_element) if (RuntimeType.STRING == value_element_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_element_0 = value_element as string thisSerializer.writeString(value_element_0) } else if (RuntimeType.NUMBER == value_element_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_element_1 = value_element as number thisSerializer.writeNumber(value_element_1) } else if (RuntimeType.OBJECT == value_element_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_element_2 = value_element as Resource thisSerializer.writeResource(value_element_2) } @@ -86,17 +86,17 @@ export class ArkLinePeer extends ArkCommonShapeMethodPeer { let value_element_type : int32 = RuntimeType.UNDEFINED value_element_type = runtimeType(value_element) if (RuntimeType.STRING == value_element_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_element_0 = value_element as string thisSerializer.writeString(value_element_0) } else if (RuntimeType.NUMBER == value_element_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_element_1 = value_element as number thisSerializer.writeNumber(value_element_1) } else if (RuntimeType.OBJECT == value_element_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_element_2 = value_element as Resource thisSerializer.writeResource(value_element_2) } diff --git a/arkoala-arkts/arkui/src/generated/linearindicator.ts b/arkoala-arkts/arkui/src/generated/linearindicator.ts index 295c170573..a4517a821d 100644 --- a/arkoala-arkts/arkui/src/generated/linearindicator.ts +++ b/arkoala-arkts/arkui/src/generated/linearindicator.ts @@ -79,7 +79,7 @@ export class LinearIndicatorController implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeLinearIndicatorStartOptions(options_value) @@ -109,14 +109,14 @@ export class ArkLinearIndicatorPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let count_type : int32 = RuntimeType.UNDEFINED count_type = runtimeType(count) - thisSerializer.writeInt8(count_type as int32) + thisSerializer.writeInt8(count_type) if ((RuntimeType.UNDEFINED) != (count_type)) { const count_value = count! thisSerializer.writeNumber(count_value) } let controller_type : int32 = RuntimeType.UNDEFINED controller_type = runtimeType(controller) - thisSerializer.writeInt8(controller_type as int32) + thisSerializer.writeInt8(controller_type) if ((RuntimeType.UNDEFINED) != (controller_type)) { const controller_value = controller! thisSerializer.writeLinearIndicatorController(controller_value) @@ -128,7 +128,7 @@ export class ArkLinearIndicatorPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeLinearIndicatorStyle(value_value) @@ -140,7 +140,7 @@ export class ArkLinearIndicatorPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeBoolean(value_value) @@ -152,7 +152,7 @@ export class ArkLinearIndicatorPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.holdAndWriteCallback(value_value) diff --git a/arkoala-arkts/arkui/src/generated/list.ts b/arkoala-arkts/arkui/src/generated/list.ts index e6139dba33..c5f9252746 100644 --- a/arkoala-arkts/arkui/src/generated/list.ts +++ b/arkoala-arkts/arkui/src/generated/list.ts @@ -50,7 +50,7 @@ export class ArkListPeer extends ArkScrollableCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeListOptions(options_value) @@ -77,7 +77,7 @@ export class ArkListPeer extends ArkScrollableCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeListDividerOptions(value_value) @@ -126,12 +126,12 @@ export class ArkListPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -144,6 +144,9 @@ export class ArkListPeer extends ArkScrollableCommonMethodPeer { maintainVisibleContentPositionAttribute(value: boolean): void { ArkUIGeneratedNativeModule._ListAttribute_maintainVisibleContentPosition(this.peer.ptr, value ? 1 : 0) } + stackFromEndAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._ListAttribute_stackFromEnd(this.peer.ptr, value ? 1 : 0) + } onScrollAttribute(value: ((first: number,last: number) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -239,69 +242,34 @@ export class ArkListPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as LengthConstrain - const value_1_minLength = value_1.minLength - let value_1_minLength_type : int32 = RuntimeType.UNDEFINED - value_1_minLength_type = runtimeType(value_1_minLength) - if (RuntimeType.STRING == value_1_minLength_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_minLength_0 = value_1_minLength as string - thisSerializer.writeString(value_1_minLength_0) - } - else if (RuntimeType.NUMBER == value_1_minLength_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_minLength_1 = value_1_minLength as number - thisSerializer.writeNumber(value_1_minLength_1) - } - else if (RuntimeType.OBJECT == value_1_minLength_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_minLength_2 = value_1_minLength as Resource - thisSerializer.writeResource(value_1_minLength_2) - } - const value_1_maxLength = value_1.maxLength - let value_1_maxLength_type : int32 = RuntimeType.UNDEFINED - value_1_maxLength_type = runtimeType(value_1_maxLength) - if (RuntimeType.STRING == value_1_maxLength_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_maxLength_0 = value_1_maxLength as string - thisSerializer.writeString(value_1_maxLength_0) - } - else if (RuntimeType.NUMBER == value_1_maxLength_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_maxLength_1 = value_1_maxLength as number - thisSerializer.writeNumber(value_1_maxLength_1) - } - else if (RuntimeType.OBJECT == value_1_maxLength_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_maxLength_2 = value_1_maxLength as Resource - thisSerializer.writeResource(value_1_maxLength_2) - } + thisSerializer.writeLengthConstrain(value_1) } let gutter_type : int32 = RuntimeType.UNDEFINED gutter_type = runtimeType(gutter) - thisSerializer.writeInt8(gutter_type as int32) + thisSerializer.writeInt8(gutter_type) if ((RuntimeType.UNDEFINED) != (gutter_type)) { const gutter_value = gutter! let gutter_value_type : int32 = RuntimeType.UNDEFINED gutter_value_type = runtimeType(gutter_value) if (RuntimeType.STRING == gutter_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const gutter_value_0 = gutter_value as string thisSerializer.writeString(gutter_value_0) } else if (RuntimeType.NUMBER == gutter_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const gutter_value_1 = gutter_value as number thisSerializer.writeNumber(gutter_value_1) } else if (RuntimeType.OBJECT == gutter_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const gutter_value_2 = gutter_value as Resource thisSerializer.writeResource(gutter_value_2) } @@ -313,7 +281,7 @@ export class ArkListPeer extends ArkScrollableCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeEdgeEffectOptions(options_value) @@ -414,6 +382,7 @@ export interface ListAttribute extends ScrollableCommonMethod { friction(value: number | Resource): this childrenMainSize(value: ChildrenMainSize): this maintainVisibleContentPosition(value: boolean): this + stackFromEnd(value: boolean): this onScroll(value: ((first: number,last: number) => void)): this onScrollIndex(value: ((start: number,end: number,center: number) => void)): this onScrollVisibleContentChange(value: OnScrollVisibleContentChangeCallback): this @@ -471,6 +440,8 @@ export interface UIListAttribute extends UIScrollableCommonMethod { /** @memo */ maintainVisibleContentPosition(value: boolean): this /** @memo */ + stackFromEnd(value: boolean): this + /** @memo */ onScroll(value: ((first: number,last: number) => void)): this /** @memo */ onScrollIndex(value: ((start: number,end: number,center: number) => void)): this @@ -526,6 +497,7 @@ export class ArkListStyle extends ArkScrollableCommonMethodStyle implements List friction_value?: number | Resource childrenMainSize_value?: ChildrenMainSize maintainVisibleContentPosition_value?: boolean + stackFromEnd_value?: boolean onScroll_value?: ((first: number,last: number) => void) onScrollIndex_value?: ((start: number,end: number,center: number) => void) onScrollVisibleContentChange_value?: OnScrollVisibleContentChangeCallback @@ -595,6 +567,9 @@ export class ArkListStyle extends ArkScrollableCommonMethodStyle implements List public maintainVisibleContentPosition(value: boolean): this { return this } + public stackFromEnd(value: boolean): this { + return this + } public onScroll(value: ((first: number,last: number) => void)): this { return this } @@ -829,6 +804,15 @@ export class ArkListComponent extends ArkScrollableCommonMethodComponent impleme return this } /** @memo */ + public stackFromEnd(value: boolean): this { + if (this.checkPriority("stackFromEnd")) { + const value_casted = value as (boolean) + this.getPeer()?.stackFromEndAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onScroll(value: ((first: number,last: number) => void)): this { if (this.checkPriority("onScroll")) { const value_casted = value as (((first: number,last: number) => void)) @@ -1064,14 +1048,14 @@ export class ListScroller extends Scroller implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let smooth_type : int32 = RuntimeType.UNDEFINED smooth_type = runtimeType(smooth) - thisSerializer.writeInt8(smooth_type as int32) + thisSerializer.writeInt8(smooth_type) if ((RuntimeType.UNDEFINED) != (smooth_type)) { const smooth_value = smooth! thisSerializer.writeBoolean(smooth_value) } let align_type : int32 = RuntimeType.UNDEFINED align_type = runtimeType(align) - thisSerializer.writeInt8(align_type as int32) + thisSerializer.writeInt8(align_type) if ((RuntimeType.UNDEFINED) != (align_type)) { const align_value = (align as ScrollAlign) thisSerializer.writeInt32(TypeChecker.ScrollAlign_ToNumeric(align_value)) @@ -1083,7 +1067,7 @@ export class ListScroller extends Scroller implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeCloseSwipeActionOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/list_item.ts b/arkoala-arkts/arkui/src/generated/list_item.ts index 84cd858df2..d333cebc43 100644 --- a/arkoala-arkts/arkui/src/generated/list_item.ts +++ b/arkoala-arkts/arkui/src/generated/list_item.ts @@ -26,6 +26,7 @@ import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, ArkCommonMethodCompon import { Callback_Boolean_Void } from "./navigation" import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" +import { ComponentContent } from "./arkui-custom" import { Length } from "./units" import { Callback_Void } from "./ability_component" import { Callback_Number_Void } from "./alphabet_indexer" @@ -46,7 +47,7 @@ export class ArkListItemPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeListItemOptions(value_value) @@ -58,7 +59,7 @@ export class ArkListItemPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeString(value_value) @@ -74,12 +75,12 @@ export class ArkListItemPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.BOOLEAN == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as boolean thisSerializer.writeBoolean(value_0) } else if (TypeChecker.isEditMode(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as EditMode thisSerializer.writeInt32(TypeChecker.EditMode_ToNumeric(value_1)) } @@ -141,6 +142,7 @@ export enum SwipeActionState { export type Callback_SwipeActionState_Void = (state: SwipeActionState) => void; export interface SwipeActionItem { builder?: CustomBuilder; + builderComponent?: ComponentContent; actionAreaDistance?: Length; onAction?: (() => void); onEnterActionArea?: (() => void); diff --git a/arkoala-arkts/arkui/src/generated/list_item_group.ts b/arkoala-arkts/arkui/src/generated/list_item_group.ts index 3d8693888f..ce8f6b8ec3 100644 --- a/arkoala-arkts/arkui/src/generated/list_item_group.ts +++ b/arkoala-arkts/arkui/src/generated/list_item_group.ts @@ -44,7 +44,7 @@ export class ArkListItemGroupPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeListItemGroupOptions(options_value) @@ -56,7 +56,7 @@ export class ArkListItemGroupPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeListDividerOptions(value_value) diff --git a/arkoala-arkts/arkui/src/generated/loading_progress.ts b/arkoala-arkts/arkui/src/generated/loading_progress.ts index 32f1f42078..febe92a4f6 100644 --- a/arkoala-arkts/arkui/src/generated/loading_progress.ts +++ b/arkoala-arkts/arkui/src/generated/loading_progress.ts @@ -50,22 +50,22 @@ export class ArkLoadingProgressPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } diff --git a/arkoala-arkts/arkui/src/generated/location_button.ts b/arkoala-arkts/arkui/src/generated/location_button.ts index 362b8a793d..f064279f81 100644 --- a/arkoala-arkts/arkui/src/generated/location_button.ts +++ b/arkoala-arkts/arkui/src/generated/location_button.ts @@ -24,6 +24,7 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkSecurityComponentMethodPeer, SecurityComponentMethod, ArkSecurityComponentMethodComponent, ArkSecurityComponentMethodStyle, UISecurityComponentMethod } from "./security_component" import { ClickEvent } from "./common" +import { BusinessError } from "./base" import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { ButtonType } from "./button" @@ -49,7 +50,7 @@ export class ArkLocationButtonPeer extends ArkSecurityComponentMethodPeer { ArkUIGeneratedNativeModule._LocationButtonInterface_setLocationButtonOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onClickAttribute(value: ((event: ClickEvent,result: LocationButtonOnClickResult) => void)): void { + onClickAttribute(value: LocationButtonCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._LocationButtonAttribute_onClick(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) @@ -83,20 +84,20 @@ export enum LocationButtonOnClickResult { TEMPORARY_AUTHORIZATION_FAILED = 1 } -export type Callback_ClickEvent_LocationButtonOnClickResult_Void = (event: ClickEvent, result: LocationButtonOnClickResult) => void; +export type LocationButtonCallback = (event: ClickEvent, result: LocationButtonOnClickResult, error?: BusinessError) => void; export interface LocationButtonAttribute extends SecurityComponentMethod { - onClick(value: ((event: ClickEvent,result: LocationButtonOnClickResult) => void)): this + onClick(value: LocationButtonCallback): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UILocationButtonAttribute extends UISecurityComponentMethod { /** @memo */ - onClick(value: ((event: ClickEvent,result: LocationButtonOnClickResult) => void)): this + onClick(value: LocationButtonCallback): this /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkLocationButtonStyle extends ArkSecurityComponentMethodStyle implements LocationButtonAttribute { - onClick_value?: ((event: ClickEvent,result: LocationButtonOnClickResult) => void) - public onClick(value: ((event: ClickEvent,result: LocationButtonOnClickResult) => void)): this { + onClick_value?: LocationButtonCallback + public onClick(value: LocationButtonCallback): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -118,9 +119,9 @@ export class ArkLocationButtonComponent extends ArkSecurityComponentMethodCompon return this } /** @memo */ - public onClick(value: ((event: ClickEvent,result: LocationButtonOnClickResult) => void)): this { + public onClick(value: LocationButtonCallback): this { if (this.checkPriority("onClick")) { - const value_casted = value as (((event: ClickEvent,result: LocationButtonOnClickResult) => void)) + const value_casted = value as (LocationButtonCallback) this.getPeer()?.onClickAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/src/generated/marquee.ts b/arkoala-arkts/arkui/src/generated/marquee.ts index 523c172a64..9dbb16c68e 100644 --- a/arkoala-arkts/arkui/src/generated/marquee.ts +++ b/arkoala-arkts/arkui/src/generated/marquee.ts @@ -53,22 +53,22 @@ export class ArkMarqueePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -80,17 +80,17 @@ export class ArkMarqueePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -105,17 +105,17 @@ export class ArkMarqueePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (TypeChecker.isFontWeight(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_1)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -127,12 +127,12 @@ export class ArkMarqueePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } diff --git a/arkoala-arkts/arkui/src/generated/matrix2d.ts b/arkoala-arkts/arkui/src/generated/matrix2d.ts index be57ff4e46..3b3eb3b3e6 100644 --- a/arkoala-arkts/arkui/src/generated/matrix2d.ts +++ b/arkoala-arkts/arkui/src/generated/matrix2d.ts @@ -188,7 +188,7 @@ export class Matrix2D implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let other_type : int32 = RuntimeType.UNDEFINED other_type = runtimeType(other) - thisSerializer.writeInt8(other_type as int32) + thisSerializer.writeInt8(other_type) if ((RuntimeType.UNDEFINED) != (other_type)) { const other_value = other! thisSerializer.writeMatrix2D(other_value) @@ -202,14 +202,14 @@ export class Matrix2D implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let rx_type : int32 = RuntimeType.UNDEFINED rx_type = runtimeType(rx) - thisSerializer.writeInt8(rx_type as int32) + thisSerializer.writeInt8(rx_type) if ((RuntimeType.UNDEFINED) != (rx_type)) { const rx_value = rx! thisSerializer.writeNumber(rx_value) } let ry_type : int32 = RuntimeType.UNDEFINED ry_type = runtimeType(ry) - thisSerializer.writeInt8(ry_type as int32) + thisSerializer.writeInt8(ry_type) if ((RuntimeType.UNDEFINED) != (ry_type)) { const ry_value = ry! thisSerializer.writeNumber(ry_value) @@ -223,14 +223,14 @@ export class Matrix2D implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let rx_type : int32 = RuntimeType.UNDEFINED rx_type = runtimeType(rx) - thisSerializer.writeInt8(rx_type as int32) + thisSerializer.writeInt8(rx_type) if ((RuntimeType.UNDEFINED) != (rx_type)) { const rx_value = rx! thisSerializer.writeNumber(rx_value) } let ry_type : int32 = RuntimeType.UNDEFINED ry_type = runtimeType(ry) - thisSerializer.writeInt8(ry_type as int32) + thisSerializer.writeInt8(ry_type) if ((RuntimeType.UNDEFINED) != (ry_type)) { const ry_value = ry! thisSerializer.writeNumber(ry_value) @@ -244,14 +244,14 @@ export class Matrix2D implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let tx_type : int32 = RuntimeType.UNDEFINED tx_type = runtimeType(tx) - thisSerializer.writeInt8(tx_type as int32) + thisSerializer.writeInt8(tx_type) if ((RuntimeType.UNDEFINED) != (tx_type)) { const tx_value = tx! thisSerializer.writeNumber(tx_value) } let ty_type : int32 = RuntimeType.UNDEFINED ty_type = runtimeType(ty) - thisSerializer.writeInt8(ty_type as int32) + thisSerializer.writeInt8(ty_type) if ((RuntimeType.UNDEFINED) != (ty_type)) { const ty_value = ty! thisSerializer.writeNumber(ty_value) @@ -265,14 +265,14 @@ export class Matrix2D implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let sx_type : int32 = RuntimeType.UNDEFINED sx_type = runtimeType(sx) - thisSerializer.writeInt8(sx_type as int32) + thisSerializer.writeInt8(sx_type) if ((RuntimeType.UNDEFINED) != (sx_type)) { const sx_value = sx! thisSerializer.writeNumber(sx_value) } let sy_type : int32 = RuntimeType.UNDEFINED sy_type = runtimeType(sy) - thisSerializer.writeInt8(sy_type as int32) + thisSerializer.writeInt8(sy_type) if ((RuntimeType.UNDEFINED) != (sy_type)) { const sy_value = sy! thisSerializer.writeNumber(sy_value) diff --git a/arkoala-arkts/arkui/src/generated/media_cached_image.ts b/arkoala-arkts/arkui/src/generated/media_cached_image.ts index ccc3065c10..3315395c44 100644 --- a/arkoala-arkts/arkui/src/generated/media_cached_image.ts +++ b/arkoala-arkts/arkui/src/generated/media_cached_image.ts @@ -48,33 +48,33 @@ export class ArkMediaCachedImagePeer extends ArkImagePeer { let src_type : int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) if (TypeChecker.isPixelMap(src, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const src_0 = src as PixelMap thisSerializer.writePixelMap(src_0) } else if ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const src_1 = src as ResourceStr let src_1_type : int32 = RuntimeType.UNDEFINED src_1_type = runtimeType(src_1) if (RuntimeType.STRING == src_1_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const src_1_0 = src_1 as string thisSerializer.writeString(src_1_0) } else if (RuntimeType.OBJECT == src_1_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const src_1_1 = src_1 as Resource thisSerializer.writeResource(src_1_1) } } else if (TypeChecker.isDrawableDescriptor(src)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const src_2 = src as DrawableDescriptor thisSerializer.writeDrawableDescriptor(src_2) } else if (TypeChecker.isASTCResource(src, false, false)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const src_3 = src as ASTCResource thisSerializer.writeASTCResource(src_3) } diff --git a/arkoala-arkts/arkui/src/generated/menu.ts b/arkoala-arkts/arkui/src/generated/menu.ts index bf866a4039..f2f10de02e 100644 --- a/arkoala-arkts/arkui/src/generated/menu.ts +++ b/arkoala-arkts/arkui/src/generated/menu.ts @@ -49,17 +49,17 @@ export class ArkMenuPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -77,22 +77,22 @@ export class ArkMenuPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -104,125 +104,30 @@ export class ArkMenuPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Dimension let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as string thisSerializer.writeString(value_0_0) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as Resource thisSerializer.writeResource(value_0_2) } } - else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isBorderRadiuses(value, false, false, false, false))) { - thisSerializer.writeInt8(1 as int32) + else if (TypeChecker.isBorderRadiuses(value, false, false, false, false)) { + thisSerializer.writeInt8(1) const value_1 = value as BorderRadiuses - const value_1_topLeft = value_1.topLeft - let value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_1_topLeft_type = runtimeType(value_1_topLeft) - thisSerializer.writeInt8(value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_topLeft_type)) { - const value_1_topLeft_value = value_1_topLeft! - let value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_1_topLeft_value_type = runtimeType(value_1_topLeft_value) - if (RuntimeType.STRING == value_1_topLeft_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_topLeft_value_0 = value_1_topLeft_value as string - thisSerializer.writeString(value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_1_topLeft_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_topLeft_value_1 = value_1_topLeft_value as number - thisSerializer.writeNumber(value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_1_topLeft_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_topLeft_value_2 = value_1_topLeft_value as Resource - thisSerializer.writeResource(value_1_topLeft_value_2) - } - } - const value_1_topRight = value_1.topRight - let value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_1_topRight_type = runtimeType(value_1_topRight) - thisSerializer.writeInt8(value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_topRight_type)) { - const value_1_topRight_value = value_1_topRight! - let value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_1_topRight_value_type = runtimeType(value_1_topRight_value) - if (RuntimeType.STRING == value_1_topRight_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_topRight_value_0 = value_1_topRight_value as string - thisSerializer.writeString(value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_1_topRight_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_topRight_value_1 = value_1_topRight_value as number - thisSerializer.writeNumber(value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_1_topRight_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_topRight_value_2 = value_1_topRight_value as Resource - thisSerializer.writeResource(value_1_topRight_value_2) - } - } - const value_1_bottomLeft = value_1.bottomLeft - let value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_1_bottomLeft_type = runtimeType(value_1_bottomLeft) - thisSerializer.writeInt8(value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_bottomLeft_type)) { - const value_1_bottomLeft_value = value_1_bottomLeft! - let value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_1_bottomLeft_value_type = runtimeType(value_1_bottomLeft_value) - if (RuntimeType.STRING == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_bottomLeft_value_0 = value_1_bottomLeft_value as string - thisSerializer.writeString(value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_bottomLeft_value_1 = value_1_bottomLeft_value as number - thisSerializer.writeNumber(value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_bottomLeft_value_2 = value_1_bottomLeft_value as Resource - thisSerializer.writeResource(value_1_bottomLeft_value_2) - } - } - const value_1_bottomRight = value_1.bottomRight - let value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_1_bottomRight_type = runtimeType(value_1_bottomRight) - thisSerializer.writeInt8(value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_1_bottomRight_type)) { - const value_1_bottomRight_value = value_1_bottomRight! - let value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_1_bottomRight_value_type = runtimeType(value_1_bottomRight_value) - if (RuntimeType.STRING == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(0 as int32) - const value_1_bottomRight_value_0 = value_1_bottomRight_value as string - thisSerializer.writeString(value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(1 as int32) - const value_1_bottomRight_value_1 = value_1_bottomRight_value as number - thisSerializer.writeNumber(value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(2 as int32) - const value_1_bottomRight_value_2 = value_1_bottomRight_value as Resource - thisSerializer.writeResource(value_1_bottomRight_value_2) - } - } + thisSerializer.writeBorderRadiuses(value_1) } ArkUIGeneratedNativeModule._MenuAttribute_radius(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() @@ -231,7 +136,7 @@ export class ArkMenuPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeDividerStyleOptions(value_value) @@ -243,7 +148,7 @@ export class ArkMenuPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeDividerStyleOptions(value_value) diff --git a/arkoala-arkts/arkui/src/generated/menu_item.ts b/arkoala-arkts/arkui/src/generated/menu_item.ts index beffbfca83..4bbfe10a5c 100644 --- a/arkoala-arkts/arkui/src/generated/menu_item.ts +++ b/arkoala-arkts/arkui/src/generated/menu_item.ts @@ -47,18 +47,18 @@ export class ArkMenuItemPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! let value_value_type : int32 = RuntimeType.UNDEFINED value_value_type = runtimeType(value_value) if (RuntimeType.OBJECT == value_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_value_0 = value_value as MenuItemOptions thisSerializer.writeMenuItemOptions(value_value_0) } else if (RuntimeType.FUNCTION == value_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_value_1 = value_value as CustomBuilder thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_value_1)) } @@ -74,28 +74,28 @@ export class ArkMenuItemPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.BOOLEAN == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as boolean thisSerializer.writeBoolean(value_0) } else if ((RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as ResourceStr let value_1_type : int32 = RuntimeType.UNDEFINED value_1_type = runtimeType(value_1) if (RuntimeType.STRING == value_1_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_1_0 = value_1 as string thisSerializer.writeString(value_1_0) } else if (RuntimeType.OBJECT == value_1_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1_1 = value_1 as Resource thisSerializer.writeResource(value_1_1) } } else if (TypeChecker.isSymbolGlyphModifier(value)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as SymbolGlyphModifier thisSerializer.writeSymbolGlyphModifier(value_2) } @@ -119,22 +119,22 @@ export class ArkMenuItemPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -152,22 +152,22 @@ export class ArkMenuItemPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } diff --git a/arkoala-arkts/arkui/src/generated/menu_item_group.ts b/arkoala-arkts/arkui/src/generated/menu_item_group.ts index af202ff1a9..e07293b1a9 100644 --- a/arkoala-arkts/arkui/src/generated/menu_item_group.ts +++ b/arkoala-arkts/arkui/src/generated/menu_item_group.ts @@ -43,7 +43,7 @@ export class ArkMenuItemGroupPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeMenuItemGroupOptions(value_value) diff --git a/arkoala-arkts/arkui/src/generated/nav_destination.ts b/arkoala-arkts/arkui/src/generated/nav_destination.ts index ca3cb6748d..916d00ecfd 100644 --- a/arkoala-arkts/arkui/src/generated/nav_destination.ts +++ b/arkoala-arkts/arkui/src/generated/nav_destination.ts @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { NavPathInfo, NavPathInfoInternal, NavPathStack, NavPathStackInternal, NavigationMenuItem, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions, BarStyle, ToolbarItemStatus } from "./navigation" +import { NavPathInfo, NavPathInfoInternal, NavPathStack, NavPathStackInternal, NavigationMenuItem, NavigationOperation, NavigationTitleOptions, NavigationMenuOptions, ToolbarItem, NavigationToolbarOptions, BarStyle, MoreButtonOptions, ToolbarItemStatus } from "./navigation" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, nullptr, KInt, KBoolean, KStringPtr } from "@koalaui/interop" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" @@ -26,14 +26,15 @@ import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./../CallbackTransformer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, BlurStyle, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { Callback_Void } from "./ability_component" import { ResourceStr, Length, ResourceColor } from "./units" import { PixelMap } from "./arkui-pixelmap" import { SymbolGlyphModifier, TextModifier } from "./arkui-external" import { SystemBarStyle } from "./arkui-custom" +import { Scroller } from "./scroll" import { Resource } from "./resource" -import { TitleHeight, Color } from "./enums" +import { TitleHeight, Color, Curve } from "./enums" import { LengthMetrics } from "./arkui-graphics" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" @@ -158,6 +159,18 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { hideTitleBar1Attribute(hide: boolean, animated: boolean): void { ArkUIGeneratedNativeModule._NavDestinationAttribute_hideTitleBar1(this.peer.ptr, hide ? 1 : 0, animated ? 1 : 0) } + hideBackButtonAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_hideBackButton(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onShownAttribute(value: (() => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -176,48 +189,111 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._NavDestinationAttribute_onBackPressed(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onResultAttribute(value: ((parameter: Object) => void) | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_onResult(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } modeAttribute(value: NavDestinationMode): void { ArkUIGeneratedNativeModule._NavDestinationAttribute_mode(this.peer.ptr, TypeChecker.NavDestinationMode_ToNumeric(value)) } - backButtonIconAttribute(value: ResourceStr | PixelMap | SymbolGlyphModifier): void { + backButtonIcon0Attribute(value: ResourceStr | PixelMap | SymbolGlyphModifier): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ResourceStr let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as string thisSerializer.writeString(value_0_0) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as Resource thisSerializer.writeResource(value_0_1) } } else if (TypeChecker.isPixelMap(value, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as PixelMap thisSerializer.writePixelMap(value_1) } else if (TypeChecker.isSymbolGlyphModifier(value)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as SymbolGlyphModifier thisSerializer.writeSymbolGlyphModifier(value_2) } - ArkUIGeneratedNativeModule._NavDestinationAttribute_backButtonIcon(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._NavDestinationAttribute_backButtonIcon0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - menusAttribute(value: Array | CustomBuilder): void { + backButtonIcon1Attribute(icon: ResourceStr | PixelMap | SymbolGlyphModifier, accessibilityText?: ResourceStr): void { + const thisSerializer : Serializer = Serializer.hold() + let icon_type : int32 = RuntimeType.UNDEFINED + icon_type = runtimeType(icon) + if ((RuntimeType.STRING == icon_type) || (RuntimeType.OBJECT == icon_type)) { + thisSerializer.writeInt8(0) + const icon_0 = icon as ResourceStr + let icon_0_type : int32 = RuntimeType.UNDEFINED + icon_0_type = runtimeType(icon_0) + if (RuntimeType.STRING == icon_0_type) { + thisSerializer.writeInt8(0) + const icon_0_0 = icon_0 as string + thisSerializer.writeString(icon_0_0) + } + else if (RuntimeType.OBJECT == icon_0_type) { + thisSerializer.writeInt8(1) + const icon_0_1 = icon_0 as Resource + thisSerializer.writeResource(icon_0_1) + } + } + else if (TypeChecker.isPixelMap(icon, false, false)) { + thisSerializer.writeInt8(1) + const icon_1 = icon as PixelMap + thisSerializer.writePixelMap(icon_1) + } + else if (TypeChecker.isSymbolGlyphModifier(icon)) { + thisSerializer.writeInt8(2) + const icon_2 = icon as SymbolGlyphModifier + thisSerializer.writeSymbolGlyphModifier(icon_2) + } + let accessibilityText_type : int32 = RuntimeType.UNDEFINED + accessibilityText_type = runtimeType(accessibilityText) + thisSerializer.writeInt8(accessibilityText_type) + if ((RuntimeType.UNDEFINED) != (accessibilityText_type)) { + const accessibilityText_value = accessibilityText! + let accessibilityText_value_type : int32 = RuntimeType.UNDEFINED + accessibilityText_value_type = runtimeType(accessibilityText_value) + if (RuntimeType.STRING == accessibilityText_value_type) { + thisSerializer.writeInt8(0) + const accessibilityText_value_0 = accessibilityText_value as string + thisSerializer.writeString(accessibilityText_value_0) + } + else if (RuntimeType.OBJECT == accessibilityText_value_type) { + thisSerializer.writeInt8(1) + const accessibilityText_value_1 = accessibilityText_value as Resource + thisSerializer.writeResource(accessibilityText_value_1) + } + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_backButtonIcon1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menus0Attribute(value: Array | CustomBuilder): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Array thisSerializer.writeInt32(value_0.length as int32) for (let i = 0; i < value_0.length; i++) { @@ -226,11 +302,39 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { } } else if (RuntimeType.FUNCTION == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as CustomBuilder thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_1)) } - ArkUIGeneratedNativeModule._NavDestinationAttribute_menus(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._NavDestinationAttribute_menus0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menus1Attribute(items: Array | CustomBuilder, options?: NavigationMenuOptions): void { + const thisSerializer : Serializer = Serializer.hold() + let items_type : int32 = RuntimeType.UNDEFINED + items_type = runtimeType(items) + if (RuntimeType.OBJECT == items_type) { + thisSerializer.writeInt8(0) + const items_0 = items as Array + thisSerializer.writeInt32(items_0.length as int32) + for (let i = 0; i < items_0.length; i++) { + const items_0_element : NavigationMenuItem = items_0[i] + thisSerializer.writeNavigationMenuItem(items_0_element) + } + } + else if (RuntimeType.FUNCTION == items_type) { + thisSerializer.writeInt8(1) + const items_1 = items as CustomBuilder + thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(items_1)) + } + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeNavigationMenuOptions(options_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_menus1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onReadyAttribute(value: ((parameter: NavDestinationContext) => void)): void { @@ -267,7 +371,7 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeSystemBarStyle(value_value) @@ -279,7 +383,7 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeBoolean(value_value) @@ -290,38 +394,124 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { systemTransitionAttribute(value: NavigationSystemTransitionType): void { ArkUIGeneratedNativeModule._NavDestinationAttribute_systemTransition(this.peer.ptr, TypeChecker.NavigationSystemTransitionType_ToNumeric(value)) } + bindToScrollableAttribute(value: Array): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(value.length as int32) + for (let i = 0; i < value.length; i++) { + const value_element : Scroller = value[i] + thisSerializer.writeScroller(value_element) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_bindToScrollable(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + bindToNestedScrollableAttribute(value: Array): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(value.length as int32) + for (let i = 0; i < value.length; i++) { + const value_element : NestedScrollInfo = value[i] + thisSerializer.writeNestedScrollInfo(value_element) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_bindToNestedScrollable(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onActiveAttribute(value: ((parameter: NavDestinationActiveReason) => void) | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_onActive(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onInactiveAttribute(value: ((parameter: NavDestinationActiveReason) => void) | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_onInactive(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + customTransitionAttribute(value: NavDestinationTransitionDelegate): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._NavDestinationAttribute_customTransition(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onNewParamAttribute(value: ((parameter: Object) => void) | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_onNewParam(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + preferredOrientationAttribute(value: Orientation | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeOrientation(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_preferredOrientation(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + enableNavigationIndicatorAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_enableNavigationIndicator(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } titleAttribute(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource, options?: NavigationTitleOptions): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.FUNCTION == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as CustomBuilder thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_1)) } else if (TypeChecker.isNavDestinationCommonTitle(value, false, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as NavDestinationCommonTitle thisSerializer.writeNavDestinationCommonTitle(value_2) } else if (TypeChecker.isNavDestinationCustomTitle(value, false, false)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as NavDestinationCustomTitle thisSerializer.writeNavDestinationCustomTitle(value_3) } else if (TypeChecker.isResource(value, false, false, false, false, false)) { - thisSerializer.writeInt8(4 as int32) + thisSerializer.writeInt8(4) const value_4 = value as Resource thisSerializer.writeResource(value_4) } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeNavigationTitleOptions(options_value) @@ -334,7 +524,7 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { let toolbarParam_type : int32 = RuntimeType.UNDEFINED toolbarParam_type = runtimeType(toolbarParam) if (RuntimeType.OBJECT == toolbarParam_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const toolbarParam_0 = toolbarParam as Array thisSerializer.writeInt32(toolbarParam_0.length as int32) for (let i = 0; i < toolbarParam_0.length; i++) { @@ -343,13 +533,13 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { } } else if (RuntimeType.FUNCTION == toolbarParam_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const toolbarParam_1 = toolbarParam as CustomBuilder thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(toolbarParam_1)) } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeNavigationToolbarOptions(options_value) @@ -361,7 +551,7 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -373,7 +563,7 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let types_type : int32 = RuntimeType.UNDEFINED types_type = runtimeType(types) - thisSerializer.writeInt8(types_type as int32) + thisSerializer.writeInt8(types_type) if ((RuntimeType.UNDEFINED) != (types_type)) { const types_value = types! thisSerializer.writeInt32(types_value.length as int32) @@ -384,7 +574,7 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { } let edges_type : int32 = RuntimeType.UNDEFINED edges_type = runtimeType(edges) - thisSerializer.writeInt8(edges_type as int32) + thisSerializer.writeInt8(edges_type) if ((RuntimeType.UNDEFINED) != (edges_type)) { const edges_value = edges! thisSerializer.writeInt32(edges_value.length as int32) @@ -396,6 +586,28 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._NavDestinationAttribute_ignoreLayoutSafeArea(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + enableStatusBarAttribute(enabled: boolean | undefined, animated?: boolean): void { + const thisSerializer : Serializer = Serializer.hold() + let enabled_type : int32 = RuntimeType.UNDEFINED + enabled_type = runtimeType(enabled) + thisSerializer.writeInt8(enabled_type) + if ((RuntimeType.UNDEFINED) != (enabled_type)) { + const enabled_value = enabled! + thisSerializer.writeBoolean(enabled_value) + } + let animated_type : int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_enableStatusBar(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } +} +export interface Orientation { + _OrientationStub: string; } export interface NavDestinationCommonTitle { main: string | Resource; @@ -409,27 +621,54 @@ export enum NavigationSystemTransitionType { DEFAULT = 0, NONE = 1, TITLE = 2, - CONTENT = 3 + CONTENT = 3, + FADE = 4, + EXPLODE = 5, + SLIDE_RIGHT = 6, + SLIDE_BOTTOM = 7 } export enum NavDestinationMode { STANDARD = 0, DIALOG = 1 } +export enum NavDestinationActiveReason { + TRANSITION = 0, + CONTENT_COVER = 1, + SHEET = 2, + DIALOG = 3, + OVERLAY = 4, + APP_STATE = 5 +} export interface RouteMapConfig { name: string; pageSourceFile: string; data: Object; } +export interface NestedScrollInfo { + parent: Scroller; + child: Scroller; +} +export interface NavDestinationTransition { + onTransitionEnd?: (() => void); + duration?: number; + curve?: Curve; + delay?: number; + event: (() => void); +} export type Callback_Boolean = () => boolean; +export type Callback_Object_Void = (parameter: Object) => void; +export type Callback_NavDestinationActiveReason_Void = (parameter: NavDestinationActiveReason) => void; export interface NavDestinationAttribute extends CommonMethod { hideTitleBar(hide: boolean, animated?: boolean): this + hideBackButton(value: boolean | undefined): this onShown(value: (() => void)): this onHidden(value: (() => void)): this onBackPressed(value: (() => boolean)): this + onResult(value: ((parameter: Object) => void) | undefined): this mode(value: NavDestinationMode): this - backButtonIcon(value: ResourceStr | PixelMap | SymbolGlyphModifier): this - menus(value: Array | CustomBuilder): this + backButtonIcon(icon: ResourceStr | PixelMap | SymbolGlyphModifier, accessibilityText?: ResourceStr): this + menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this onReady(value: ((parameter: NavDestinationContext) => void)): this onWillAppear(value: (() => void)): this onWillDisappear(value: (() => void)): this @@ -438,27 +677,40 @@ export interface NavDestinationAttribute extends CommonMethod { systemBarStyle(value: SystemBarStyle | undefined): this recoverable(value: boolean | undefined): this systemTransition(value: NavigationSystemTransitionType): this + bindToScrollable(value: Array): this + bindToNestedScrollable(value: Array): this + onActive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this + onInactive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this + customTransition(value: NavDestinationTransitionDelegate): this + onNewParam(value: ((parameter: Object) => void) | undefined): this + preferredOrientation(value: Orientation | undefined): this + enableNavigationIndicator(value: boolean | undefined): this title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource, options?: NavigationTitleOptions): this toolbarConfiguration(toolbarParam: Array | CustomBuilder, options?: NavigationToolbarOptions): this hideToolBar(hide: boolean, animated?: boolean): this ignoreLayoutSafeArea(types?: Array, edges?: Array): this + enableStatusBar(enabled: boolean | undefined, animated?: boolean): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UINavDestinationAttribute extends UICommonMethod { /** @memo */ hideTitleBar(hide: boolean, animated?: boolean): this /** @memo */ + hideBackButton(value: boolean | undefined): this + /** @memo */ onShown(value: (() => void)): this /** @memo */ onHidden(value: (() => void)): this /** @memo */ onBackPressed(value: (() => boolean)): this /** @memo */ + onResult(value: ((parameter: Object) => void) | undefined): this + /** @memo */ mode(value: NavDestinationMode): this /** @memo */ - backButtonIcon(value: ResourceStr | PixelMap | SymbolGlyphModifier): this + backButtonIcon(icon: ResourceStr | PixelMap | SymbolGlyphModifier, accessibilityText?: ResourceStr): this /** @memo */ - menus(value: Array | CustomBuilder): this + menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this /** @memo */ onReady(value: ((parameter: NavDestinationContext) => void)): this /** @memo */ @@ -476,6 +728,22 @@ export interface UINavDestinationAttribute extends UICommonMethod { /** @memo */ systemTransition(value: NavigationSystemTransitionType): this /** @memo */ + bindToScrollable(value: Array): this + /** @memo */ + bindToNestedScrollable(value: Array): this + /** @memo */ + onActive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this + /** @memo */ + onInactive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this + /** @memo */ + customTransition(value: NavDestinationTransitionDelegate): this + /** @memo */ + onNewParam(value: ((parameter: Object) => void) | undefined): this + /** @memo */ + preferredOrientation(value: Orientation | undefined): this + /** @memo */ + enableNavigationIndicator(value: boolean | undefined): this + /** @memo */ title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource, options?: NavigationTitleOptions): this /** @memo */ toolbarConfiguration(toolbarParam: Array | CustomBuilder, options?: NavigationToolbarOptions): this @@ -484,13 +752,17 @@ export interface UINavDestinationAttribute extends UICommonMethod { /** @memo */ ignoreLayoutSafeArea(types?: Array, edges?: Array): this /** @memo */ + enableStatusBar(enabled: boolean | undefined, animated?: boolean): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkNavDestinationStyle extends ArkCommonMethodStyle implements NavDestinationAttribute { hideTitleBar_value?: boolean + hideBackButton_value?: boolean | undefined onShown_value?: (() => void) onHidden_value?: (() => void) onBackPressed_value?: (() => boolean) + onResult_value?: ((parameter: Object) => void) | undefined mode_value?: NavDestinationMode backButtonIcon_value?: ResourceStr | PixelMap | SymbolGlyphModifier menus_value?: Array | CustomBuilder @@ -502,9 +774,20 @@ export class ArkNavDestinationStyle extends ArkCommonMethodStyle implements NavD systemBarStyle_value?: SystemBarStyle | undefined recoverable_value?: boolean | undefined systemTransition_value?: NavigationSystemTransitionType + bindToScrollable_value?: Array + bindToNestedScrollable_value?: Array + onActive_value?: ((parameter: NavDestinationActiveReason) => void) | undefined + onInactive_value?: ((parameter: NavDestinationActiveReason) => void) | undefined + customTransition_value?: NavDestinationTransitionDelegate + onNewParam_value?: ((parameter: Object) => void) | undefined + preferredOrientation_value?: Orientation | undefined + enableNavigationIndicator_value?: boolean | undefined public hideTitleBar(hide: boolean, animated?: boolean): this { return this } + public hideBackButton(value: boolean | undefined): this { + return this + } public onShown(value: (() => void)): this { return this } @@ -514,13 +797,16 @@ export class ArkNavDestinationStyle extends ArkCommonMethodStyle implements NavD public onBackPressed(value: (() => boolean)): this { return this } + public onResult(value: ((parameter: Object) => void) | undefined): this { + return this + } public mode(value: NavDestinationMode): this { return this } - public backButtonIcon(value: ResourceStr | PixelMap | SymbolGlyphModifier): this { + public backButtonIcon(icon: ResourceStr | PixelMap | SymbolGlyphModifier, accessibilityText?: ResourceStr): this { return this } - public menus(value: Array | CustomBuilder): this { + public menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this { return this } public onReady(value: ((parameter: NavDestinationContext) => void)): this { @@ -547,6 +833,30 @@ export class ArkNavDestinationStyle extends ArkCommonMethodStyle implements NavD public systemTransition(value: NavigationSystemTransitionType): this { return this } + public bindToScrollable(value: Array): this { + return this + } + public bindToNestedScrollable(value: Array): this { + return this + } + public onActive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this { + return this + } + public onInactive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this { + return this + } + public customTransition(value: NavDestinationTransitionDelegate): this { + return this + } + public onNewParam(value: ((parameter: Object) => void) | undefined): this { + return this + } + public preferredOrientation(value: Orientation | undefined): this { + return this + } + public enableNavigationIndicator(value: boolean | undefined): this { + return this + } public title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource, options?: NavigationTitleOptions): this { return this } @@ -559,10 +869,14 @@ export class ArkNavDestinationStyle extends ArkCommonMethodStyle implements NavD public ignoreLayoutSafeArea(types?: Array, edges?: Array): this { return this } + public enableStatusBar(enabled: boolean | undefined, animated?: boolean): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } } +export type NavDestinationTransitionDelegate = (operation: NavigationOperation, isEnter: boolean) => Array | undefined; export type Callback_NavDestinationContext_Void = (parameter: NavDestinationContext) => void; /** @memo:stable */ export class ArkNavDestinationComponent extends ArkCommonMethodComponent implements UINavDestinationAttribute { @@ -589,6 +903,15 @@ export class ArkNavDestinationComponent extends ArkCommonMethodComponent impleme return this } /** @memo */ + public hideBackButton(value: boolean | undefined): this { + if (this.checkPriority("hideBackButton")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.hideBackButtonAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onShown(value: (() => void)): this { if (this.checkPriority("onShown")) { const value_casted = value as ((() => void)) @@ -616,6 +939,15 @@ export class ArkNavDestinationComponent extends ArkCommonMethodComponent impleme return this } /** @memo */ + public onResult(value: ((parameter: Object) => void) | undefined): this { + if (this.checkPriority("onResult")) { + const value_casted = value as (((parameter: Object) => void) | undefined) + this.getPeer()?.onResultAttribute(value_casted) + return this + } + return this + } + /** @memo */ public mode(value: NavDestinationMode): this { if (this.checkPriority("mode")) { const value_casted = value as (NavDestinationMode) @@ -625,20 +957,42 @@ export class ArkNavDestinationComponent extends ArkCommonMethodComponent impleme return this } /** @memo */ - public backButtonIcon(value: ResourceStr | PixelMap | SymbolGlyphModifier): this { + public backButtonIcon(icon: ResourceStr | PixelMap | SymbolGlyphModifier, accessibilityText?: ResourceStr): this { if (this.checkPriority("backButtonIcon")) { - const value_casted = value as (ResourceStr | PixelMap | SymbolGlyphModifier) - this.getPeer()?.backButtonIconAttribute(value_casted) - return this + const icon_type = runtimeType(icon) + const accessibilityText_type = runtimeType(accessibilityText) + if (((RuntimeType.STRING == icon_type) || (RuntimeType.OBJECT == icon_type)) || (TypeChecker.isPixelMap(icon, false, false)) || (TypeChecker.isSymbolGlyphModifier(icon))) { + const value_casted = icon as (ResourceStr | PixelMap | SymbolGlyphModifier) + this.getPeer()?.backButtonIcon0Attribute(value_casted) + return this + } + if (((RuntimeType.STRING == icon_type) || (RuntimeType.OBJECT == icon_type)) || (TypeChecker.isPixelMap(icon, false, false)) || (TypeChecker.isSymbolGlyphModifier(icon))) { + const icon_casted = icon as (ResourceStr | PixelMap | SymbolGlyphModifier) + const accessibilityText_casted = accessibilityText as (ResourceStr | undefined) + this.getPeer()?.backButtonIcon1Attribute(icon_casted, accessibilityText_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public menus(value: Array | CustomBuilder): this { + public menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this { if (this.checkPriority("menus")) { - const value_casted = value as (Array | CustomBuilder) - this.getPeer()?.menusAttribute(value_casted) - return this + const items_type = runtimeType(items) + const options_type = runtimeType(options) + if ((RuntimeType.OBJECT == items_type) || (RuntimeType.FUNCTION == items_type)) { + const value_casted = items as (Array | CustomBuilder) + this.getPeer()?.menus0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == items_type) || (RuntimeType.FUNCTION == items_type)) { + const items_casted = items as (Array | CustomBuilder) + const options_casted = options as (NavigationMenuOptions | undefined) + this.getPeer()?.menus1Attribute(items_casted, options_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -715,6 +1069,78 @@ export class ArkNavDestinationComponent extends ArkCommonMethodComponent impleme return this } /** @memo */ + public bindToScrollable(value: Array): this { + if (this.checkPriority("bindToScrollable")) { + const value_casted = value as (Array) + this.getPeer()?.bindToScrollableAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public bindToNestedScrollable(value: Array): this { + if (this.checkPriority("bindToNestedScrollable")) { + const value_casted = value as (Array) + this.getPeer()?.bindToNestedScrollableAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onActive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this { + if (this.checkPriority("onActive")) { + const value_casted = value as (((parameter: NavDestinationActiveReason) => void) | undefined) + this.getPeer()?.onActiveAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onInactive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this { + if (this.checkPriority("onInactive")) { + const value_casted = value as (((parameter: NavDestinationActiveReason) => void) | undefined) + this.getPeer()?.onInactiveAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public customTransition(value: NavDestinationTransitionDelegate): this { + if (this.checkPriority("customTransition")) { + const value_casted = value as (NavDestinationTransitionDelegate) + this.getPeer()?.customTransitionAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onNewParam(value: ((parameter: Object) => void) | undefined): this { + if (this.checkPriority("onNewParam")) { + const value_casted = value as (((parameter: Object) => void) | undefined) + this.getPeer()?.onNewParamAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public preferredOrientation(value: Orientation | undefined): this { + if (this.checkPriority("preferredOrientation")) { + const value_casted = value as (Orientation | undefined) + this.getPeer()?.preferredOrientationAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableNavigationIndicator(value: boolean | undefined): this { + if (this.checkPriority("enableNavigationIndicator")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.enableNavigationIndicatorAttribute(value_casted) + return this + } + return this + } + /** @memo */ public title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource, options?: NavigationTitleOptions): this { if (this.checkPriority("title")) { const value_casted = value as (string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource) @@ -755,6 +1181,16 @@ export class ArkNavDestinationComponent extends ArkCommonMethodComponent impleme return this } /** @memo */ + public enableStatusBar(enabled: boolean | undefined, animated?: boolean): this { + if (this.checkPriority("enableStatusBar")) { + const enabled_casted = enabled as (boolean | undefined) + const animated_casted = animated as (boolean | undefined) + this.getPeer()?.enableStatusBarAttribute(enabled_casted, animated_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala-arkts/arkui/src/generated/navigation.ts b/arkoala-arkts/arkui/src/generated/navigation.ts index 8486d9fa98..26343ac210 100644 --- a/arkoala-arkts/arkui/src/generated/navigation.ts +++ b/arkoala-arkts/arkui/src/generated/navigation.ts @@ -25,7 +25,7 @@ import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./../CallbackTransformer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, BlurStyle, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { Length, Dimension, ResourceStr, ResourceColor } from "./units" import { PixelMap } from "./arkui-pixelmap" import { Resource } from "./resource" @@ -55,11 +55,11 @@ export class NavPathInfo implements MaterializedBase { set name(name: string) { this.setName(name) } - get param(): object | undefined { + get param(): Object | undefined { throw new Error("Not implemented") } - set param(param: object | undefined) { - const param_NonNull = (param as object) + set param(param: Object | undefined) { + const param_NonNull = (param as Object | undefined) this.setParam(param_NonNull) } get onPop(): ((parameter: PopInfo) => void) | undefined { @@ -76,19 +76,26 @@ export class NavPathInfo implements MaterializedBase { const isEntry_NonNull = (isEntry as boolean) this.setIsEntry(isEntry_NonNull) } + get navDestinationId(): string | undefined { + return this.getNavDestinationId() + } + set navDestinationId(navDestinationId: string | undefined) { + const navDestinationId_NonNull = (navDestinationId as string) + this.setNavDestinationId(navDestinationId_NonNull) + } static ctor_navpathinfo(name: string, param: object, onPop?: ((parameter: PopInfo) => void), isEntry?: boolean): KPointer { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteObject(param) let onPop_type : int32 = RuntimeType.UNDEFINED onPop_type = runtimeType(onPop) - thisSerializer.writeInt8(onPop_type as int32) + thisSerializer.writeInt8(onPop_type) if ((RuntimeType.UNDEFINED) != (onPop_type)) { const onPop_value = onPop! thisSerializer.holdAndWriteCallback(onPop_value) } let isEntry_type : int32 = RuntimeType.UNDEFINED isEntry_type = runtimeType(isEntry) - thisSerializer.writeInt8(isEntry_type as int32) + thisSerializer.writeInt8(isEntry_type) if ((RuntimeType.UNDEFINED) != (isEntry_type)) { const isEntry_value = isEntry! thisSerializer.writeBoolean(isEntry_value) @@ -115,11 +122,11 @@ export class NavPathInfo implements MaterializedBase { this.setName_serialize(name_casted) return } - private getParam(): object | undefined { + private getParam(): Object | undefined { return this.getParam_serialize() } - private setParam(param: object): void { - const param_casted = param as (object) + private setParam(param: Object | undefined): void { + const param_casted = param as (Object | undefined) this.setParam_serialize(param_casted) return } @@ -139,6 +146,14 @@ export class NavPathInfo implements MaterializedBase { this.setIsEntry_serialize(isEntry_casted) return } + private getNavDestinationId(): string | undefined { + return this.getNavDestinationId_serialize() + } + private setNavDestinationId(navDestinationId: string): void { + const navDestinationId_casted = navDestinationId as (string) + this.setNavDestinationId_serialize(navDestinationId_casted) + return + } private getName_serialize(): string { const retval = ArkUIGeneratedNativeModule._NavPathInfo_getName(this.peer!.ptr) return retval @@ -146,13 +161,19 @@ export class NavPathInfo implements MaterializedBase { private setName_serialize(name: string): void { ArkUIGeneratedNativeModule._NavPathInfo_setName(this.peer!.ptr, name) } - private getParam_serialize(): object | undefined { + private getParam_serialize(): Object | undefined { const retval = ArkUIGeneratedNativeModule._NavPathInfo_getParam(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setParam_serialize(param: object): void { + private setParam_serialize(param: Object | undefined): void { const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(param) + let param_type : int32 = RuntimeType.UNDEFINED + param_type = runtimeType(param) + thisSerializer.writeInt8(param_type) + if ((RuntimeType.UNDEFINED) != (param_type)) { + const param_value = param! + thisSerializer.holdAndWriteObject(param_value) + } ArkUIGeneratedNativeModule._NavPathInfo_setParam(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } @@ -173,6 +194,13 @@ export class NavPathInfo implements MaterializedBase { private setIsEntry_serialize(isEntry: boolean): void { ArkUIGeneratedNativeModule._NavPathInfo_setIsEntry(this.peer!.ptr, isEntry ? 1 : 0) } + private getNavDestinationId_serialize(): string | undefined { + const retval = ArkUIGeneratedNativeModule._NavPathInfo_getNavDestinationId(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setNavDestinationId_serialize(navDestinationId: string): void { + ArkUIGeneratedNativeModule._NavPathInfo_setNavDestinationId(this.peer!.ptr, navDestinationId) + } } export class NavPathStackInternal { public static fromPtr(ptr: KPointer): NavPathStack { @@ -229,18 +257,11 @@ export class NavPathStack implements MaterializedBase { } throw new Error("Can not select appropriate overload") } - public pushPathByName(name: string, param: object | Object, onPop?: boolean | undefined | ((parameter: PopInfo) => void), animated?: boolean): void { + public pushPathByName(name: string, param: Object | Object | undefined, onPop?: ((parameter: PopInfo) => void) | boolean | undefined, animated?: boolean): void { const name_type = runtimeType(name) const param_type = runtimeType(param) const onPop_type = runtimeType(onPop) const animated_type = runtimeType(animated) - if (((RuntimeType.BIGINT == param_type) || (RuntimeType.BOOLEAN == param_type) || (RuntimeType.FUNCTION == param_type) || (RuntimeType.MATERIALIZED == param_type) || (RuntimeType.NUMBER == param_type) || (RuntimeType.OBJECT == param_type) || (RuntimeType.STRING == param_type) || (RuntimeType.SYMBOL == param_type)) && ((RuntimeType.BOOLEAN == onPop_type) || (RuntimeType.UNDEFINED == onPop_type)) && (RuntimeType.UNDEFINED == animated_type)) { - const name_casted = name as (string) - const param_casted = param as (object) - const animated_casted = onPop as (boolean | undefined) - this.pushPathByName0_serialize(name_casted, param_casted, animated_casted) - return - } if (((RuntimeType.BIGINT == param_type) || (RuntimeType.BOOLEAN == param_type) || (RuntimeType.FUNCTION == param_type) || (RuntimeType.MATERIALIZED == param_type) || (RuntimeType.NUMBER == param_type) || (RuntimeType.OBJECT == param_type) || (RuntimeType.STRING == param_type) || (RuntimeType.SYMBOL == param_type)) && (RuntimeType.FUNCTION == onPop_type) && ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type))) { const name_casted = name as (string) const param_casted = param as (Object) @@ -249,6 +270,13 @@ export class NavPathStack implements MaterializedBase { this.pushPathByName1_serialize(name_casted, param_casted, onPop_casted, animated_casted) return } + if (((RuntimeType.BIGINT == param_type) || (RuntimeType.BOOLEAN == param_type) || (RuntimeType.FUNCTION == param_type) || (RuntimeType.MATERIALIZED == param_type) || (RuntimeType.NUMBER == param_type) || (RuntimeType.OBJECT == param_type) || (RuntimeType.STRING == param_type) || (RuntimeType.SYMBOL == param_type) || (RuntimeType.UNDEFINED == param_type)) && ((RuntimeType.BOOLEAN == onPop_type) || (RuntimeType.UNDEFINED == onPop_type)) && (RuntimeType.UNDEFINED == animated_type)) { + const name_casted = name as (string) + const param_casted = param as (Object | undefined) + const animated_casted = onPop as (boolean | undefined) + this.pushPathByName0_serialize(name_casted, param_casted, animated_casted) + return + } throw new Error("Can not select appropriate overload") } public pushDestinationByName(name: string, param: Object, onPop?: boolean | undefined | ((parameter: PopInfo) => void), animated?: boolean): Promise { @@ -381,11 +409,11 @@ export class NavPathStack implements MaterializedBase { public getAllPathName(): Array { return this.getAllPathName_serialize() } - public getParamByIndex(index: number): object | undefined { + public getParamByIndex(index: number): Object | undefined { const index_casted = index as (number) return this.getParamByIndex_serialize(index_casted) } - public getParamByName(name: string): Array { + public getParamByName(name: string): Array { const name_casted = name as (string) return this.getParamByName_serialize(name_casted) } @@ -409,11 +437,20 @@ export class NavPathStack implements MaterializedBase { this.setInterception_serialize(interception_casted) return } + public getPathStack(): Array { + return this.getPathStack_serialize() + } + public setPathStack(pathStack: Array, animated?: boolean): void { + const pathStack_casted = pathStack as (Array) + const animated_casted = animated as (boolean | undefined) + this.setPathStack_serialize(pathStack_casted, animated_casted) + return + } private pushPath0_serialize(info: NavPathInfo, animated?: boolean): void { const thisSerializer : Serializer = Serializer.hold() let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -425,7 +462,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeNavigationOptions(options_value) @@ -437,7 +474,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -451,7 +488,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeNavigationOptions(options_value) @@ -461,12 +498,18 @@ export class NavPathStack implements MaterializedBase { thisSerializer.release() return retval } - private pushPathByName0_serialize(name: string, param: object, animated?: boolean): void { + private pushPathByName0_serialize(name: string, param: Object | undefined, animated?: boolean): void { const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(param) + let param_type : int32 = RuntimeType.UNDEFINED + param_type = runtimeType(param) + thisSerializer.writeInt8(param_type) + if ((RuntimeType.UNDEFINED) != (param_type)) { + const param_value = param! + thisSerializer.holdAndWriteObject(param_value) + } let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -480,7 +523,7 @@ export class NavPathStack implements MaterializedBase { thisSerializer.holdAndWriteCallback(onPop) let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -493,7 +536,7 @@ export class NavPathStack implements MaterializedBase { thisSerializer.holdAndWriteObject(param) let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -509,7 +552,7 @@ export class NavPathStack implements MaterializedBase { thisSerializer.holdAndWriteCallback(onPop) let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -523,7 +566,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -535,7 +578,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeNavigationOptions(options_value) @@ -547,7 +590,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeNavigationOptions(options_value) @@ -562,7 +605,7 @@ export class NavPathStack implements MaterializedBase { thisSerializer.holdAndWriteObject(param) let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -593,7 +636,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -607,7 +650,7 @@ export class NavPathStack implements MaterializedBase { thisSerializer.holdAndWriteObject(result) let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -620,7 +663,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -634,7 +677,7 @@ export class NavPathStack implements MaterializedBase { thisSerializer.holdAndWriteObject(result) let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -647,7 +690,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -660,7 +703,7 @@ export class NavPathStack implements MaterializedBase { thisSerializer.holdAndWriteObject(result) let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -672,7 +715,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -685,7 +728,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -697,7 +740,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let animated_type : int32 = RuntimeType.UNDEFINED animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type as int32) + thisSerializer.writeInt8(animated_type) if ((RuntimeType.UNDEFINED) != (animated_type)) { const animated_value = animated! thisSerializer.writeBoolean(animated_value) @@ -716,19 +759,25 @@ export class NavPathStack implements MaterializedBase { const returnResult : Array = buffer return returnResult } - private getParamByIndex_serialize(index: number): object | undefined { + private getParamByIndex_serialize(index: number): Object | undefined { const retval = ArkUIGeneratedNativeModule._NavPathStack_getParamByIndex(this.peer!.ptr, index) throw new Error("Object deserialization is not implemented.") } - private getParamByName_serialize(name: string): Array { + private getParamByName_serialize(name: string): Array { const retval = ArkUIGeneratedNativeModule._NavPathStack_getParamByName(this.peer!.ptr, name) let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) const buffer_length : int32 = retvalDeserializer.readInt32() - let buffer : Array = new Array(buffer_length) + let buffer : Array = new Array(buffer_length) for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = (retvalDeserializer.readObject() as object) + const buffer_buf_runtimeType = (retvalDeserializer.readInt8() as int32) + let buffer_buf : Object | undefined + if ((RuntimeType.UNDEFINED) != (buffer_buf_runtimeType)) + { + buffer_buf = (retvalDeserializer.readObject() as Object) + } + buffer[buffer_i] = buffer_buf } - const returnResult : Array = buffer + const returnResult : Array = buffer return returnResult } private getIndexByName_serialize(name: string): Array { @@ -759,6 +808,34 @@ export class NavPathStack implements MaterializedBase { ArkUIGeneratedNativeModule._NavPathStack_setInterception(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + private getPathStack_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._NavPathStack_getPathStack(this.peer!.ptr) + let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) + const buffer_length : int32 = retvalDeserializer.readInt32() + let buffer : Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = (retvalDeserializer.readNavPathInfo() as NavPathInfo) + } + const returnResult : Array = buffer + return returnResult + } + private setPathStack_serialize(pathStack: Array, animated?: boolean): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(pathStack.length as int32) + for (let i = 0; i < pathStack.length; i++) { + const pathStack_element : NavPathInfo = pathStack[i] + thisSerializer.writeNavPathInfo(pathStack_element) + } + let animated_type : int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavPathStack_setPathStack(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } } export interface NavigationTransitionProxy { from: NavContentInfo @@ -908,17 +985,17 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -934,17 +1011,17 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as string thisSerializer.writeString(value_0_0) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as Resource thisSerializer.writeResource(value_0_2) } @@ -952,17 +1029,17 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { let value_1_type : int32 = RuntimeType.UNDEFINED value_1_type = runtimeType(value_1) if (RuntimeType.STRING == value_1_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_1_0 = value_1 as string thisSerializer.writeString(value_1_0) } else if (RuntimeType.NUMBER == value_1_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1_1 = value_1 as number thisSerializer.writeNumber(value_1_1) } else if (RuntimeType.OBJECT == value_1_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_1_2 = value_1 as Resource thisSerializer.writeResource(value_1_2) } @@ -974,17 +1051,17 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -994,31 +1071,76 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { modeAttribute(value: NavigationMode): void { ArkUIGeneratedNativeModule._NavigationAttribute_mode(this.peer.ptr, TypeChecker.NavigationMode_ToNumeric(value)) } - backButtonIconAttribute(value: string | PixelMap | Resource | SymbolGlyphModifier): void { + backButtonIcon0Attribute(value: string | PixelMap | Resource | SymbolGlyphModifier): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (TypeChecker.isPixelMap(value, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as PixelMap thisSerializer.writePixelMap(value_1) } else if (TypeChecker.isResource(value, false, false, false, false, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } else if (TypeChecker.isSymbolGlyphModifier(value)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as SymbolGlyphModifier thisSerializer.writeSymbolGlyphModifier(value_3) } - ArkUIGeneratedNativeModule._NavigationAttribute_backButtonIcon(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._NavigationAttribute_backButtonIcon0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backButtonIcon1Attribute(icon: string | PixelMap | Resource | SymbolGlyphModifier, accessibilityText?: ResourceStr): void { + const thisSerializer : Serializer = Serializer.hold() + let icon_type : int32 = RuntimeType.UNDEFINED + icon_type = runtimeType(icon) + if (RuntimeType.STRING == icon_type) { + thisSerializer.writeInt8(0) + const icon_0 = icon as string + thisSerializer.writeString(icon_0) + } + else if (TypeChecker.isPixelMap(icon, false, false)) { + thisSerializer.writeInt8(1) + const icon_1 = icon as PixelMap + thisSerializer.writePixelMap(icon_1) + } + else if (TypeChecker.isResource(icon, false, false, false, false, false)) { + thisSerializer.writeInt8(2) + const icon_2 = icon as Resource + thisSerializer.writeResource(icon_2) + } + else if (TypeChecker.isSymbolGlyphModifier(icon)) { + thisSerializer.writeInt8(3) + const icon_3 = icon as SymbolGlyphModifier + thisSerializer.writeSymbolGlyphModifier(icon_3) + } + let accessibilityText_type : int32 = RuntimeType.UNDEFINED + accessibilityText_type = runtimeType(accessibilityText) + thisSerializer.writeInt8(accessibilityText_type) + if ((RuntimeType.UNDEFINED) != (accessibilityText_type)) { + const accessibilityText_value = accessibilityText! + let accessibilityText_value_type : int32 = RuntimeType.UNDEFINED + accessibilityText_value_type = runtimeType(accessibilityText_value) + if (RuntimeType.STRING == accessibilityText_value_type) { + thisSerializer.writeInt8(0) + const accessibilityText_value_0 = accessibilityText_value as string + thisSerializer.writeString(accessibilityText_value_0) + } + else if (RuntimeType.OBJECT == accessibilityText_value_type) { + thisSerializer.writeInt8(1) + const accessibilityText_value_1 = accessibilityText_value as Resource + thisSerializer.writeResource(accessibilityText_value_1) + } + } + ArkUIGeneratedNativeModule._NavigationAttribute_backButtonIcon1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } hideNavBarAttribute(value: boolean): void { @@ -1039,12 +1161,12 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { titleModeAttribute(value: NavigationTitleMode): void { ArkUIGeneratedNativeModule._NavigationAttribute_titleMode(this.peer.ptr, TypeChecker.NavigationTitleMode_ToNumeric(value)) } - menusAttribute(value: Array | CustomBuilder): void { + menus0Attribute(value: Array | CustomBuilder): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Array thisSerializer.writeInt32(value_0.length as int32) for (let i = 0; i < value_0.length; i++) { @@ -1053,11 +1175,39 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { } } else if (RuntimeType.FUNCTION == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as CustomBuilder thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_1)) } - ArkUIGeneratedNativeModule._NavigationAttribute_menus(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._NavigationAttribute_menus0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menus1Attribute(items: Array | CustomBuilder, options?: NavigationMenuOptions): void { + const thisSerializer : Serializer = Serializer.hold() + let items_type : int32 = RuntimeType.UNDEFINED + items_type = runtimeType(items) + if (RuntimeType.OBJECT == items_type) { + thisSerializer.writeInt8(0) + const items_0 = items as Array + thisSerializer.writeInt32(items_0.length as int32) + for (let i = 0; i < items_0.length; i++) { + const items_0_element : NavigationMenuItem = items_0[i] + thisSerializer.writeNavigationMenuItem(items_0_element) + } + } + else if (RuntimeType.FUNCTION == items_type) { + thisSerializer.writeInt8(1) + const items_1 = items as CustomBuilder + thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(items_1)) + } + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeNavigationMenuOptions(options_value) + } + ArkUIGeneratedNativeModule._NavigationAttribute_menus1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } toolBarAttribute(value: CustomBuilder): void { @@ -1072,6 +1222,18 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { hideToolBar1Attribute(hide: boolean, animated: boolean): void { ArkUIGeneratedNativeModule._NavigationAttribute_hideToolBar1(this.peer.ptr, hide ? 1 : 0, animated ? 1 : 0) } + enableToolBarAdaptationAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._NavigationAttribute_enableToolBarAdaptation(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onTitleModeChangeAttribute(value: ((titleMode: NavigationTitleMode) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -1090,7 +1252,7 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._NavigationAttribute_onNavigationModeChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - navDestinationAttribute(value: ((name: string,param: object) => void)): void { + navDestinationAttribute(value: ((name: string,param: Object | undefined) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._NavigationAttribute_navDestination(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) @@ -1106,7 +1268,7 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeSystemBarStyle(value_value) @@ -1118,7 +1280,7 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeBoolean(value_value) @@ -1130,7 +1292,7 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeBoolean(value_value) @@ -1138,44 +1300,56 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._NavigationAttribute_enableDragBar(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + enableModeChangeAnimationAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._NavigationAttribute_enableModeChangeAnimation(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } titleAttribute(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle, options?: NavigationTitleOptions): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ResourceStr let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as string thisSerializer.writeString(value_0_0) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as Resource thisSerializer.writeResource(value_0_1) } } else if (RuntimeType.FUNCTION == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as CustomBuilder thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_1)) } else if (TypeChecker.isNavigationCommonTitle(value, false, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as NavigationCommonTitle thisSerializer.writeNavigationCommonTitle(value_2) } else if (TypeChecker.isNavigationCustomTitle(value, false, false)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as NavigationCustomTitle thisSerializer.writeNavigationCustomTitle(value_3) } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeNavigationTitleOptions(options_value) @@ -1188,7 +1362,7 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Array thisSerializer.writeInt32(value_0.length as int32) for (let i = 0; i < value_0.length; i++) { @@ -1197,13 +1371,13 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { } } else if (RuntimeType.FUNCTION == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as CustomBuilder thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_1)) } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeNavigationToolbarOptions(options_value) @@ -1215,7 +1389,7 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let types_type : int32 = RuntimeType.UNDEFINED types_type = runtimeType(types) - thisSerializer.writeInt8(types_type as int32) + thisSerializer.writeInt8(types_type) if ((RuntimeType.UNDEFINED) != (types_type)) { const types_value = types! thisSerializer.writeInt32(types_value.length as int32) @@ -1226,7 +1400,7 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { } let edges_type : int32 = RuntimeType.UNDEFINED edges_type = runtimeType(edges) - thisSerializer.writeInt8(edges_type as int32) + thisSerializer.writeInt8(edges_type) if ((RuntimeType.UNDEFINED) != (edges_type)) { const edges_value = edges! thisSerializer.writeInt32(edges_value.length as int32) @@ -1239,6 +1413,7 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { thisSerializer.release() } } +export type Callback_Boolean_Void = (isVisible: boolean) => void; export interface NavigationCommonTitle { main: string | Resource; sub: string | Resource; @@ -1321,6 +1496,8 @@ export interface ToolbarItem { export interface NavigationTitleOptions { backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; barStyle?: BarStyle; paddingStart?: LengthMetrics; paddingEnd?: LengthMetrics; @@ -1336,16 +1513,27 @@ export enum BarStyle { export interface NavigationToolbarOptions { backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; + moreButtonOptions?: MoreButtonOptions; barStyle?: BarStyle; + hideItemValue?: boolean; +} +export interface NavigationMenuOptions { + moreButtonOptions?: MoreButtonOptions; +} +export interface MoreButtonOptions { + backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; } export type Tuple_Dimension_Dimension = [ Dimension, Dimension ] export type Callback_NavigationTitleMode_Void = (titleMode: NavigationTitleMode) => void; -export type Callback_Boolean_Void = (isVisible: boolean) => void; export type Callback_NavigationMode_Void = (mode: NavigationMode) => void; -export type Callback_String_Unknown_Void = (name: string, param: object) => void; +export type Callback_String_Opt_Object_Void = (name: string, param: Object | undefined) => void; export type Type_NavigationAttribute_customNavContentTransition_delegate = (from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined; export interface NavigationAttribute extends CommonMethod { navBarWidth(value: Length): this @@ -1353,23 +1541,25 @@ export interface NavigationAttribute extends CommonMethod { navBarWidthRange(value: [ Dimension, Dimension ]): this minContentWidth(value: Dimension): this mode(value: NavigationMode): this - backButtonIcon(value: string | PixelMap | Resource | SymbolGlyphModifier): this + backButtonIcon(icon: string | PixelMap | Resource | SymbolGlyphModifier, accessibilityText?: ResourceStr): this hideNavBar(value: boolean): this subTitle(value: string): this hideTitleBar(hide: boolean, animated?: boolean): this hideBackButton(value: boolean): this titleMode(value: NavigationTitleMode): this - menus(value: Array | CustomBuilder): this + menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this toolBar(value: CustomBuilder): this hideToolBar(hide: boolean, animated?: boolean): this + enableToolBarAdaptation(value: boolean | undefined): this onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void)): this onNavBarStateChange(value: ((isVisible: boolean) => void)): this onNavigationModeChange(value: ((mode: NavigationMode) => void)): this - navDestination(value: ((name: string,param: object) => void)): this + navDestination(value: ((name: string,param: Object | undefined) => void)): this customNavContentTransition(value: ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined)): this systemBarStyle(value: SystemBarStyle | undefined): this recoverable(value: boolean | undefined): this enableDragBar(value: boolean | undefined): this + enableModeChangeAnimation(value: boolean | undefined): this title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle, options?: NavigationTitleOptions): this toolbarConfiguration(value: Array | CustomBuilder, options?: NavigationToolbarOptions): this ignoreLayoutSafeArea(types?: Array, edges?: Array): this @@ -1387,7 +1577,7 @@ export interface UINavigationAttribute extends UICommonMethod { /** @memo */ mode(value: NavigationMode): this /** @memo */ - backButtonIcon(value: string | PixelMap | Resource | SymbolGlyphModifier): this + backButtonIcon(icon: string | PixelMap | Resource | SymbolGlyphModifier, accessibilityText?: ResourceStr): this /** @memo */ hideNavBar(value: boolean): this /** @memo */ @@ -1399,19 +1589,21 @@ export interface UINavigationAttribute extends UICommonMethod { /** @memo */ titleMode(value: NavigationTitleMode): this /** @memo */ - menus(value: Array | CustomBuilder): this + menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this /** @memo */ toolBar(value: CustomBuilder): this /** @memo */ hideToolBar(hide: boolean, animated?: boolean): this /** @memo */ + enableToolBarAdaptation(value: boolean | undefined): this + /** @memo */ onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void)): this /** @memo */ onNavBarStateChange(value: ((isVisible: boolean) => void)): this /** @memo */ onNavigationModeChange(value: ((mode: NavigationMode) => void)): this /** @memo */ - navDestination(value: ((name: string,param: object) => void)): this + navDestination(value: ((name: string,param: Object | undefined) => void)): this /** @memo */ customNavContentTransition(value: ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined)): this /** @memo */ @@ -1421,6 +1613,8 @@ export interface UINavigationAttribute extends UICommonMethod { /** @memo */ enableDragBar(value: boolean | undefined): this /** @memo */ + enableModeChangeAnimation(value: boolean | undefined): this + /** @memo */ title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle, options?: NavigationTitleOptions): this /** @memo */ toolbarConfiguration(value: Array | CustomBuilder, options?: NavigationToolbarOptions): this @@ -1444,14 +1638,16 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati menus_value?: Array | CustomBuilder toolBar_value?: CustomBuilder hideToolBar_value?: boolean + enableToolBarAdaptation_value?: boolean | undefined onTitleModeChange_value?: ((titleMode: NavigationTitleMode) => void) onNavBarStateChange_value?: ((isVisible: boolean) => void) onNavigationModeChange_value?: ((mode: NavigationMode) => void) - navDestination_value?: ((name: string,param: object) => void) + navDestination_value?: ((name: string,param: Object | undefined) => void) customNavContentTransition_value?: ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined) systemBarStyle_value?: SystemBarStyle | undefined recoverable_value?: boolean | undefined enableDragBar_value?: boolean | undefined + enableModeChangeAnimation_value?: boolean | undefined public navBarWidth(value: Length): this { return this } @@ -1467,7 +1663,7 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati public mode(value: NavigationMode): this { return this } - public backButtonIcon(value: string | PixelMap | Resource | SymbolGlyphModifier): this { + public backButtonIcon(icon: string | PixelMap | Resource | SymbolGlyphModifier, accessibilityText?: ResourceStr): this { return this } public hideNavBar(value: boolean): this { @@ -1485,7 +1681,7 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati public titleMode(value: NavigationTitleMode): this { return this } - public menus(value: Array | CustomBuilder): this { + public menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this { return this } public toolBar(value: CustomBuilder): this { @@ -1494,6 +1690,9 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati public hideToolBar(hide: boolean, animated?: boolean): this { return this } + public enableToolBarAdaptation(value: boolean | undefined): this { + return this + } public onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void)): this { return this } @@ -1503,7 +1702,7 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati public onNavigationModeChange(value: ((mode: NavigationMode) => void)): this { return this } - public navDestination(value: ((name: string,param: object) => void)): this { + public navDestination(value: ((name: string,param: Object | undefined) => void)): this { return this } public customNavContentTransition(value: ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined)): this { @@ -1518,6 +1717,9 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati public enableDragBar(value: boolean | undefined): this { return this } + public enableModeChangeAnimation(value: boolean | undefined): this { + return this + } public title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle, options?: NavigationTitleOptions): this { return this } @@ -1606,11 +1808,22 @@ export class ArkNavigationComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public backButtonIcon(value: string | PixelMap | Resource | SymbolGlyphModifier): this { + public backButtonIcon(icon: string | PixelMap | Resource | SymbolGlyphModifier, accessibilityText?: ResourceStr): this { if (this.checkPriority("backButtonIcon")) { - const value_casted = value as (string | PixelMap | Resource | SymbolGlyphModifier) - this.getPeer()?.backButtonIconAttribute(value_casted) - return this + const icon_type = runtimeType(icon) + const accessibilityText_type = runtimeType(accessibilityText) + if ((RuntimeType.STRING == icon_type) || (TypeChecker.isPixelMap(icon, false, false)) || (TypeChecker.isResource(icon, false, false, false, false, false)) || (TypeChecker.isSymbolGlyphModifier(icon))) { + const value_casted = icon as (string | PixelMap | Resource | SymbolGlyphModifier) + this.getPeer()?.backButtonIcon0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == icon_type) || (TypeChecker.isPixelMap(icon, false, false)) || (TypeChecker.isResource(icon, false, false, false, false, false)) || (TypeChecker.isSymbolGlyphModifier(icon))) { + const icon_casted = icon as (string | PixelMap | Resource | SymbolGlyphModifier) + const accessibilityText_casted = accessibilityText as (ResourceStr | undefined) + this.getPeer()?.backButtonIcon1Attribute(icon_casted, accessibilityText_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -1662,11 +1875,22 @@ export class ArkNavigationComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public menus(value: Array | CustomBuilder): this { + public menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this { if (this.checkPriority("menus")) { - const value_casted = value as (Array | CustomBuilder) - this.getPeer()?.menusAttribute(value_casted) - return this + const items_type = runtimeType(items) + const options_type = runtimeType(options) + if ((RuntimeType.OBJECT == items_type) || (RuntimeType.FUNCTION == items_type)) { + const value_casted = items as (Array | CustomBuilder) + this.getPeer()?.menus0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == items_type) || (RuntimeType.FUNCTION == items_type)) { + const items_casted = items as (Array | CustomBuilder) + const options_casted = options as (NavigationMenuOptions | undefined) + this.getPeer()?.menus1Attribute(items_casted, options_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -1691,6 +1915,15 @@ export class ArkNavigationComponent extends ArkCommonMethodComponent implements return this } /** @memo */ + public enableToolBarAdaptation(value: boolean | undefined): this { + if (this.checkPriority("enableToolBarAdaptation")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.enableToolBarAdaptationAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void)): this { if (this.checkPriority("onTitleModeChange")) { const value_casted = value as (((titleMode: NavigationTitleMode) => void)) @@ -1718,9 +1951,9 @@ export class ArkNavigationComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public navDestination(value: ((name: string,param: object) => void)): this { + public navDestination(value: ((name: string,param: Object | undefined) => void)): this { if (this.checkPriority("navDestination")) { - const value_casted = value as (((name: string,param: object) => void)) + const value_casted = value as (((name: string,param: Object | undefined) => void)) this.getPeer()?.navDestinationAttribute(value_casted) return this } @@ -1763,6 +1996,15 @@ export class ArkNavigationComponent extends ArkCommonMethodComponent implements return this } /** @memo */ + public enableModeChangeAnimation(value: boolean | undefined): this { + if (this.checkPriority("enableModeChangeAnimation")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.enableModeChangeAnimationAttribute(value_casted) + return this + } + return this + } + /** @memo */ public title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle, options?: NavigationTitleOptions): this { if (this.checkPriority("title")) { const value_casted = value as (ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle) diff --git a/arkoala-arkts/arkui/src/generated/navigator.ts b/arkoala-arkts/arkui/src/generated/navigator.ts index 5b46a2a65a..7aa149354b 100644 --- a/arkoala-arkts/arkui/src/generated/navigator.ts +++ b/arkoala-arkts/arkui/src/generated/navigator.ts @@ -42,7 +42,7 @@ export class ArkNavigatorPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! const value_value_target = value_value.target @@ -50,7 +50,7 @@ export class ArkNavigatorPeer extends ArkCommonMethodPeer { const value_value_type = value_value.type let value_value_type_type : int32 = RuntimeType.UNDEFINED value_value_type_type = runtimeType(value_value_type) - thisSerializer.writeInt8(value_value_type_type as int32) + thisSerializer.writeInt8(value_value_type_type) if ((RuntimeType.UNDEFINED) != (value_value_type_type)) { const value_value_type_value = (value_value_type as NavigationType) thisSerializer.writeInt32(TypeChecker.NavigationType_ToNumeric(value_value_type_value)) diff --git a/arkoala-arkts/arkui/src/generated/panel.ts b/arkoala-arkts/arkui/src/generated/panel.ts index 3556a7214d..955758fdcd 100644 --- a/arkoala-arkts/arkui/src/generated/panel.ts +++ b/arkoala-arkts/arkui/src/generated/panel.ts @@ -59,28 +59,28 @@ export class ArkPanelPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Dimension let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as string thisSerializer.writeString(value_0_0) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as Resource thisSerializer.writeResource(value_0_2) } } else if (TypeChecker.isPanelHeight(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as PanelHeight thisSerializer.writeInt32(TypeChecker.PanelHeight_ToNumeric(value_1)) } @@ -92,12 +92,12 @@ export class ArkPanelPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -109,12 +109,12 @@ export class ArkPanelPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -126,12 +126,12 @@ export class ArkPanelPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -146,22 +146,22 @@ export class ArkPanelPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } diff --git a/arkoala-arkts/arkui/src/generated/paste_button.ts b/arkoala-arkts/arkui/src/generated/paste_button.ts index 84afd0ad2a..5d8f5664b2 100644 --- a/arkoala-arkts/arkui/src/generated/paste_button.ts +++ b/arkoala-arkts/arkui/src/generated/paste_button.ts @@ -24,6 +24,7 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkSecurityComponentMethodPeer, SecurityComponentMethod, ArkSecurityComponentMethodComponent, ArkSecurityComponentMethodStyle, UISecurityComponentMethod } from "./security_component" import { ClickEvent } from "./common" +import { BusinessError } from "./base" import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { ButtonType } from "./button" @@ -49,7 +50,7 @@ export class ArkPasteButtonPeer extends ArkSecurityComponentMethodPeer { ArkUIGeneratedNativeModule._PasteButtonInterface_setPasteButtonOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onClickAttribute(value: ((event: ClickEvent,result: PasteButtonOnClickResult) => void)): void { + onClickAttribute(value: PasteButtonCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._PasteButtonAttribute_onClick(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) @@ -72,20 +73,20 @@ export enum PasteButtonOnClickResult { TEMPORARY_AUTHORIZATION_FAILED = 1 } -export type Callback_ClickEvent_PasteButtonOnClickResult_Void = (event: ClickEvent, result: PasteButtonOnClickResult) => void; +export type PasteButtonCallback = (event: ClickEvent, result: PasteButtonOnClickResult, error?: BusinessError) => void; export interface PasteButtonAttribute extends SecurityComponentMethod { - onClick(value: ((event: ClickEvent,result: PasteButtonOnClickResult) => void)): this + onClick(value: PasteButtonCallback): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIPasteButtonAttribute extends UISecurityComponentMethod { /** @memo */ - onClick(value: ((event: ClickEvent,result: PasteButtonOnClickResult) => void)): this + onClick(value: PasteButtonCallback): this /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkPasteButtonStyle extends ArkSecurityComponentMethodStyle implements PasteButtonAttribute { - onClick_value?: ((event: ClickEvent,result: PasteButtonOnClickResult) => void) - public onClick(value: ((event: ClickEvent,result: PasteButtonOnClickResult) => void)): this { + onClick_value?: PasteButtonCallback + public onClick(value: PasteButtonCallback): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -107,9 +108,9 @@ export class ArkPasteButtonComponent extends ArkSecurityComponentMethodComponent return this } /** @memo */ - public onClick(value: ((event: ClickEvent,result: PasteButtonOnClickResult) => void)): this { + public onClick(value: PasteButtonCallback): this { if (this.checkPriority("onClick")) { - const value_casted = value as (((event: ClickEvent,result: PasteButtonOnClickResult) => void)) + const value_casted = value as (PasteButtonCallback) this.getPeer()?.onClickAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/src/generated/path.ts b/arkoala-arkts/arkui/src/generated/path.ts index afa9ec88b6..bb804dc7d4 100644 --- a/arkoala-arkts/arkui/src/generated/path.ts +++ b/arkoala-arkts/arkui/src/generated/path.ts @@ -42,7 +42,7 @@ export class ArkPathPeer extends ArkCommonShapeMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writePathOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/pattern_lock.ts b/arkoala-arkts/arkui/src/generated/pattern_lock.ts index 7d43d6d0aa..383d8ddf50 100644 --- a/arkoala-arkts/arkui/src/generated/pattern_lock.ts +++ b/arkoala-arkts/arkui/src/generated/pattern_lock.ts @@ -87,7 +87,7 @@ export class ArkPatternLockPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let controller_type : int32 = RuntimeType.UNDEFINED controller_type = runtimeType(controller) - thisSerializer.writeInt8(controller_type as int32) + thisSerializer.writeInt8(controller_type) if ((RuntimeType.UNDEFINED) != (controller_type)) { const controller_value = controller! thisSerializer.writePatternLockController(controller_value) @@ -100,17 +100,17 @@ export class ArkPatternLockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -122,17 +122,17 @@ export class ArkPatternLockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -144,22 +144,22 @@ export class ArkPatternLockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -171,22 +171,22 @@ export class ArkPatternLockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -198,22 +198,22 @@ export class ArkPatternLockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -225,22 +225,22 @@ export class ArkPatternLockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -252,22 +252,22 @@ export class ArkPatternLockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -279,12 +279,12 @@ export class ArkPatternLockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -310,7 +310,7 @@ export class ArkPatternLockPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeCircleStyleOptions(value_value) @@ -318,6 +318,9 @@ export class ArkPatternLockPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._PatternLockAttribute_activateCircleStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + skipUnselectedPointAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._PatternLockAttribute_skipUnselectedPoint(this.peer.ptr, value ? 1 : 0) + } } export enum PatternLockChallengeResult { CORRECT = 1, @@ -327,6 +330,7 @@ export interface CircleStyleOptions { color?: ResourceColor; radius?: LengthMetrics; enableWaveEffect?: boolean; + enableForeground?: boolean; } export type Callback_Array_Number_Void = (input: Array) => void; @@ -343,6 +347,7 @@ export interface PatternLockAttribute extends CommonMethod { autoReset(value: boolean): this onDotConnect(value: ((index: number) => void)): this activateCircleStyle(value: CircleStyleOptions | undefined): this + skipUnselectedPoint(value: boolean): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIPatternLockAttribute extends UICommonMethod { @@ -371,6 +376,8 @@ export interface UIPatternLockAttribute extends UICommonMethod { /** @memo */ activateCircleStyle(value: CircleStyleOptions | undefined): this /** @memo */ + skipUnselectedPoint(value: boolean): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkPatternLockStyle extends ArkCommonMethodStyle implements PatternLockAttribute { @@ -386,6 +393,7 @@ export class ArkPatternLockStyle extends ArkCommonMethodStyle implements Pattern autoReset_value?: boolean onDotConnect_value?: ((index: number) => void) activateCircleStyle_value?: CircleStyleOptions | undefined + skipUnselectedPoint_value?: boolean public sideLength(value: Length): this { return this } @@ -422,6 +430,9 @@ export class ArkPatternLockStyle extends ArkCommonMethodStyle implements Pattern public activateCircleStyle(value: CircleStyleOptions | undefined): this { return this } + public skipUnselectedPoint(value: boolean): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -549,6 +560,15 @@ export class ArkPatternLockComponent extends ArkCommonMethodComponent implements return this } /** @memo */ + public skipUnselectedPoint(value: boolean): this { + if (this.checkPriority("skipUnselectedPoint")) { + const value_casted = value as (boolean) + this.getPeer()?.skipUnselectedPointAttribute(value_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts index 8564f7b5ba..23b368afe7 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts @@ -21,26 +21,23 @@ import { Deserializer } from "./Deserializer" import { int32, float32, int64 } from "@koalaui/common" import { ResourceHolder, KInt, KStringPtr, wrapSystemCallback, KPointer, RuntimeType, KSerializerBuffer, NativeBuffer } from "@koalaui/interop" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, AccessibilityHoverEvent, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchTestInfo, TouchResult, Callback_Boolean_HoverEvent_Void, HoverEvent, ClickEvent, Callback_ClickEvent_Void, CustomBuilder, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragEvent, DragItemInfo, Callback_DragEvent_String_Void, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, ItemDragInfo, Callback_KeyEvent_Boolean, KeyEvent, Callback_KeyEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_MouseEvent_Void, MouseEvent, Callback_PreDragStatus_Void, PreDragStatus, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, SheetType, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, TouchEvent, Callback_TouchEvent_Void, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback } from "./../common" -import { AsyncCallback_Array_TextMenuItem_Array_TextMenuItem, TextMenuItem, AsyncCallback_TextMenuItem_TextRange_Boolean, TextRange, DeleteValue, InsertValue, Callback_StyledStringChangeValue_Boolean, StyledStringChangeValue, EditableTextOnChangeCallback, PreviewText, OnDidChangeCallback } from "./../text_common" -import { AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, StyledString } from "./../styled_string" +import { AccessibilityCallback, AccessibilityHoverEvent, AccessibilityFocusCallback, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchTestInfo, TouchResult, Callback_AxisEvent_Void, AxisEvent, Callback_Boolean_HoverEvent_Void, HoverEvent, Callback_ClickEvent_Void, ClickEvent, Callback_CrownEvent_Void, CrownEvent, CustomBuilder, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragEvent, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, ItemDragInfo, Callback_KeyEvent_Boolean, KeyEvent, Callback_KeyEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_MouseEvent_Void, MouseEvent, Callback_PreDragStatus_Void, PreDragStatus, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, SheetType, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, TouchEvent, Callback_TouchEvent_Void, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, PopupStateChangeParam, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback } from "./../common" +import { AsyncCallback_Array_TextMenuItem_Array_TextMenuItem, TextMenuItem, AsyncCallback_TextMenuItem_TextRange_Boolean, TextRange, DeleteValue, EditableTextChangeValue, InsertValue, Callback_StyledStringChangeValue_Boolean, StyledStringChangeValue, EditableTextOnChangeCallback, PreviewText, TextChangeOptions, OnDidChangeCallback } from "./../text_common" +import { AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, StyledString, UserDataSpan, StyledStringMarshallCallback, StyledStringUnmarshallCallback } from "./../styled_string" import { AsyncCallback_image_PixelMap_Void, ReceiveCallback } from "./../arkui-external" import { PixelMap } from "./../arkui-pixelmap" import { ButtonTriggerClickCallback } from "./../button" import { Area, ResourceStr, SizeOptions, VoidCallback } from "./../units" import { Callback_Array_Number_Void } from "./../pattern_lock" -import { Callback_Array_String_Void, Callback_Array_TextMenuItem_Void, Callback_ComputedBarAttribute_Void, Callback_CustomBuilder_Void, Callback_CustomSpanMetrics_Void, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_Literal_Number_offsetRemain_Void, Callback_OffsetResult_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Pointer_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void } from "./../generator_synthetic" -import { Callback_Boolean, Callback_NavDestinationContext_Void, NavDestinationContext } from "./../nav_destination" -import { Callback_Boolean_Void, Callback_NavigationMode_Void, NavigationMode, Callback_NavigationTitleMode_Void, NavigationTitleMode, Callback_NavigationTransitionProxy_Void, NavigationTransitionProxy, NavigationAnimatedTransition, Callback_PopInfo_Void, PopInfo, Callback_String_Unknown_Void, InterceptionModeCallback, InterceptionShowCallback, NavBar, NavigationOperation, Type_NavigationAttribute_customNavContentTransition_delegate, NavContentInfo } from "./../navigation" +import { Callback_Array_String_Void, Callback_Array_TextMenuItem_Void, Callback_Buffer_Void, Callback_ComputedBarAttribute_Void, Callback_CustomBuilder_Void, Callback_CustomSpanMetrics_Void, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_Literal_Number_offsetRemain_Void, Callback_OffsetResult_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_Opt_Array_NavDestinationTransition_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Pointer_Void, Callback_StyledStringMarshallingValue_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void } from "./../generator_synthetic" +import { Callback_Boolean, Callback_NavDestinationActiveReason_Void, NavDestinationActiveReason, Callback_NavDestinationContext_Void, NavDestinationContext, Callback_Object_Void, NavDestinationTransition, NavDestinationTransitionDelegate } from "./../nav_destination" +import { Callback_Boolean_Void, Callback_NavigationMode_Void, NavigationMode, Callback_NavigationTitleMode_Void, NavigationTitleMode, Callback_NavigationTransitionProxy_Void, NavigationTransitionProxy, NavigationAnimatedTransition, Callback_PopInfo_Void, PopInfo, Callback_String_Opt_Object_Void, InterceptionModeCallback, InterceptionShowCallback, NavBar, NavigationOperation, Type_NavigationAttribute_customNavContentTransition_delegate, NavContentInfo } from "./../navigation" import { Callback_CalendarRequestedData_Void, CalendarRequestedData, Callback_CalendarSelectedDate_Void, CalendarSelectedDate } from "./../calendar" -import { Callback_ClickEvent_LocationButtonOnClickResult_Void, LocationButtonOnClickResult } from "./../location_button" -import { Callback_ClickEvent_PasteButtonOnClickResult_Void, PasteButtonOnClickResult } from "./../paste_button" -import { Callback_ClickEvent_SaveButtonOnClickResult_Void, SaveButtonOnClickResult } from "./../save_button" import { ComputedBarAttribute, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Void, Literal_Number_offsetRemain, Callback_Number_Number_ComputedBarAttribute, Callback_Number_Number_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Callback_Number_Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number } from "./../grid" import { Callback_CopyEvent_Void, CopyEvent, Callback_CutEvent_Void, CutEvent, Callback_RichEditorChangeValue_Boolean, RichEditorChangeValue, Callback_RichEditorDeleteValue_Boolean, RichEditorDeleteValue, Callback_RichEditorInsertValue_Boolean, RichEditorInsertValue, Callback_RichEditorRange_Void, RichEditorRange, Callback_RichEditorSelection_Void, RichEditorSelection, Callback_RichEditorTextSpanResult_Void, RichEditorTextSpanResult, PasteEvent, Callback_TextRange_Void, MenuOnAppearCallback, PasteEventCallback, SubmitCallback } from "./../rich_editor" import { Callback_Date_Void } from "./../calendar_picker" import { Callback_DatePickerResult_Void, DatePickerResult } from "./../date_picker" -import { Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, SearchSubmitCallback } from "./../search" +import { Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_EditableTextChangeValue_Boolean, Callback_InsertValue_Boolean, Callback_InsertValue_Void, SearchSubmitCallback } from "./../search" import { Callback_DismissDialogAction_Void, DismissDialogAction } from "./../action_sheet" import { DrawContext } from "./../arkui-graphics" import { Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, TextAreaSubmitCallback } from "./../text_area" @@ -53,10 +50,11 @@ import { HitTestMode, Edge, ScrollSource } from "./../enums" import { Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_NativeEmbedDataInfo_Void, NativeEmbedDataInfo, Callback_NativeEmbedTouchInfo_Void, NativeEmbedTouchInfo, Callback_OnAlertEvent_Boolean, OnAlertEvent, Callback_OnAudioStateChangedEvent_Void, OnAudioStateChangedEvent, Callback_OnBeforeUnloadEvent_Boolean, OnBeforeUnloadEvent, Callback_OnClientAuthenticationEvent_Void, OnClientAuthenticationEvent, Callback_OnConfirmEvent_Boolean, OnConfirmEvent, Callback_OnConsoleEvent_Boolean, OnConsoleEvent, Callback_OnContextMenuShowEvent_Boolean, OnContextMenuShowEvent, Callback_OnDataResubmittedEvent_Void, OnDataResubmittedEvent, Callback_OnDownloadStartEvent_Void, OnDownloadStartEvent, Callback_OnErrorReceiveEvent_Void, OnErrorReceiveEvent, Callback_OnFaviconReceivedEvent_Void, OnFaviconReceivedEvent, Callback_OnFirstContentfulPaintEvent_Void, OnFirstContentfulPaintEvent, Callback_OnGeolocationShowEvent_Void, OnGeolocationShowEvent, Callback_OnHttpAuthRequestEvent_Boolean, OnHttpAuthRequestEvent, Callback_OnHttpErrorReceiveEvent_Void, OnHttpErrorReceiveEvent, Callback_OnInterceptRequestEvent_WebResourceResponse, OnInterceptRequestEvent, WebResourceResponse, Callback_OnLoadInterceptEvent_Boolean, OnLoadInterceptEvent, Callback_OnOverScrollEvent_Void, OnOverScrollEvent, Callback_OnPageBeginEvent_Void, OnPageBeginEvent, Callback_OnPageEndEvent_Void, OnPageEndEvent, Callback_OnPageVisibleEvent_Void, OnPageVisibleEvent, Callback_OnPermissionRequestEvent_Void, OnPermissionRequestEvent, Callback_OnProgressChangeEvent_Void, OnProgressChangeEvent, Callback_OnPromptEvent_Boolean, OnPromptEvent, Callback_OnRefreshAccessedHistoryEvent_Void, OnRefreshAccessedHistoryEvent, Callback_OnRenderExitedEvent_Void, OnRenderExitedEvent, Callback_OnResourceLoadEvent_Void, OnResourceLoadEvent, Callback_OnScaleChangeEvent_Void, OnScaleChangeEvent, Callback_OnScreenCaptureRequestEvent_Void, OnScreenCaptureRequestEvent, Callback_OnScrollEvent_Void, OnScrollEvent, Callback_OnSearchResultReceiveEvent_Void, OnSearchResultReceiveEvent, Callback_OnShowFileSelectorEvent_Boolean, OnShowFileSelectorEvent, Callback_OnSslErrorEventReceiveEvent_Void, OnSslErrorEventReceiveEvent, Callback_OnTitleReceiveEvent_Void, OnTitleReceiveEvent, Callback_OnTouchIconUrlReceivedEvent_Void, OnTouchIconUrlReceivedEvent, Callback_OnWindowNewEvent_Void, OnWindowNewEvent, WebKeyboardOptions, OnAdsBlockedCallback, AdsBlockedDetails, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, FirstMeaningfulPaint, OnFullScreenEnterCallback, FullScreenEnterEvent, OnIntelligentTrackingPreventionCallback, IntelligentTrackingPreventionDetails, OnLargestContentfulPaintCallback, LargestContentfulPaint, OnNativeEmbedVisibilityChangeCallback, NativeEmbedVisibilityInfo, OnNavigationEntryCommittedCallback, LoadCommittedDetails, OnOverrideUrlLoadingCallback, WebResourceRequest, OnRenderProcessNotRespondingCallback, RenderProcessNotRespondingData, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, ThreatType, OnSslErrorEventCallback, SslErrorEvent, OnViewportFitChangedCallback, ViewportFit, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, WebKeyboardCallback, WebKeyboardCallbackInfo } from "./../web" import { Callback_Literal_Number_code__want_Void, Literal_Number_code__want, Callback_Map_String_Object_Void, Callback_UIExtensionProxy_Void, UIExtensionProxy } from "./../ui_extension_component" import { Want } from "./../ohos.app.ability" +import { Callback_MarqueeState_Void, MarqueeState } from "./../text" import { Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_Number_Number_Number_Void, ScrollState, OnScrollVisibleContentChangeCallback, VisibleListContentInfo } from "./../list" import { Callback_Number_Number_PanelMode_Void, PanelMode, Callback_PanelMode_Void } from "./../panel" import { Callback_Number_SliderChangeMode_Void, SliderChangeMode, SliderTriggerChangeCallback } from "./../slider" -import { Callback_Number_String_Void, Callback_ResourceStr_Void, Callback_Union_Number_Resource_Void } from "./../select" +import { Callback_Number_String_Void, Callback_ResourceStr_Void, Callback_Union_Number_Resource_Void, OnSelectCallback } from "./../select" import { Tuple_Number_Number } from "./../arkui-synthetics" import { Callback_Number_Void, OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback } from "./../alphabet_indexer" import { OffsetResult, OnScrollFrameBeginHandlerResult, OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallback, ScrollOnWillScrollCallback } from "./../scroll" @@ -64,13 +62,13 @@ import { TabContentAnimatedTransition, Callback_TabContentTransitionProxy_Void, import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, ErrorEvent, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, MessageEvents } from "./../arkui-custom" import { Callback_RefreshStatus_Void, RefreshStatus } from "./../refresh" import { Resource } from "./../resource" -import { Callback_String_Number_Void, Callback_TextPickerResult_Void, TextPickerResult, Callback_Union_Number_Array_Number_Void, Callback_Union_String_Array_String_Void, Type_TextPickerAttribute_onChange_callback } from "./../text_picker" +import { Callback_String_Number_Void, Callback_TextPickerResult_Void, TextPickerResult, Callback_Union_Number_Array_Number_Void, Callback_Union_String_Array_String_Void, OnTextPickerChangeCallback, TextPickerEnterSelectedAreaCallback, TextPickerScrollStopCallback, Type_TextPickerAttribute_onChange_callback } from "./../text_picker" import { Callback_String_SurfaceRect_Void, SurfaceRect, OnNativeLoadCallback } from "./../xcomponent" import { Callback_String_Void } from "./../grid_row" import { Callback_SwipeActionState_Void, SwipeActionState } from "./../list_item" -import { Callback_SwiperContentTransitionProxy_Void, SwiperContentTransitionProxy, ContentDidScrollCallback, OnSwiperAnimationEndCallback, SwiperAnimationEvent, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback } from "./../swiper" +import { Callback_SwiperContentTransitionProxy_Void, SwiperContentTransitionProxy, ContentDidScrollCallback, ContentWillScrollCallback, SwiperContentWillScrollResult, OnSwiperAnimationEndCallback, SwiperAnimationEvent, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback } from "./../swiper" import { Callback_TerminationInfo_Void, TerminationInfo } from "./../embedded_component" -import { Callback_TimePickerResult_Void, TimePickerResult } from "./../time_picker" +import { Callback_TimePickerResult_Void, TimePickerResult, OnTimePickerChangeCallback } from "./../time_picker" import { Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, ImageErrorCallback, ImageError } from "./../image" import { Callback_Void } from "./../ability_component" import { WithThemeAttribute, WithThemeInterface, WithThemeOptions } from "./../with_theme" @@ -81,14 +79,19 @@ import { BusinessError } from "./../base" import { FormComponentAttribute_onRouter_callback_type, GridAttribute_onItemDragStart_event_type, ListAttribute_onItemDragStart_event_type, TextTimerAttribute_onTimer_event_type } from "./../type-replacements" import { GetItemMainSizeByIndex } from "./../water_flow" import { ImageCompleteCallback, ImageLoadResult } from "./../image_span" +import { LocationButtonCallback, LocationButtonOnClickResult } from "./../location_button" import { MenuCallback, OnHoverCallback } from "./../sdk-stubs" import { NavExtender_OnUpdateStack } from "./../navigation_extender" import { OnCheckboxChangeCallback } from "./../checkbox" import { OnCheckboxGroupChangeCallback, CheckboxGroupResult } from "./../checkboxgroup" import { OnFoldStatusChangeCallback, OnFoldStatusChangeInfo, OnHoverStatusChangeCallback, HoverEventParam } from "./../folder_stack" import { OnLinearIndicatorChangeCallback } from "./../linearindicator" +import { OnRadioChangeCallback } from "./../radio" +import { OnRatingChangeCallback } from "./../rating" import { PageTransitionCallback, RouteType } from "./../page_transition" +import { PasteButtonCallback, PasteButtonOnClickResult } from "./../paste_button" import { PluginErrorCallback, PluginErrorData } from "./../plugin_component" +import { SaveButtonCallback, SaveButtonOnClickResult } from "./../save_button" import { TypeChecker } from "#components" export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() @@ -97,6 +100,12 @@ export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deseri let event : AccessibilityHoverEvent = (thisDeserializer.readAccessibilityHoverEvent() as AccessibilityHoverEvent) _call(isHover, event) } +export function deserializeAndCallAccessibilityFocusCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as AccessibilityFocusCallback) + let isFocus : boolean = thisDeserializer.readBoolean() + _call(isFocus) +} export function deserializeAndCallAsyncCallback_Array_TextMenuItem_Array_TextMenuItem(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((menuItems: Array) => Array)) @@ -193,6 +202,12 @@ export function deserializeAndCallCallback_Array_TouchTestInfo_TouchResult(thisD const _callResult = _call(value) _continuation(_callResult) } +export function deserializeAndCallCallback_AxisEvent_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: AxisEvent) => void)) + let parameter : AxisEvent = (thisDeserializer.readAxisEvent() as AxisEvent) + _call(parameter) +} export function deserializeAndCallCallback_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as (() => boolean)) @@ -213,6 +228,12 @@ export function deserializeAndCallCallback_Boolean_Void(thisDeserializer: Deseri let isVisible : boolean = thisDeserializer.readBoolean() _call(isVisible) } +export function deserializeAndCallCallback_Buffer_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value: NativeBuffer) => void)) + let value : NativeBuffer = (thisDeserializer.readBuffer() as NativeBuffer) + _call(value) +} export function deserializeAndCallCallback_CalendarRequestedData_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: CalendarRequestedData) => void)) @@ -225,27 +246,6 @@ export function deserializeAndCallCallback_CalendarSelectedDate_Void(thisDeseria let event : CalendarSelectedDate = thisDeserializer.readCalendarSelectedDate() _call(event) } -export function deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(thisDeserializer: Deserializer): void { - const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent,result: LocationButtonOnClickResult) => void)) - let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) - let result : LocationButtonOnClickResult = TypeChecker.LocationButtonOnClickResult_FromNumeric(thisDeserializer.readInt32()) - _call(event, result) -} -export function deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(thisDeserializer: Deserializer): void { - const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent,result: PasteButtonOnClickResult) => void)) - let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) - let result : PasteButtonOnClickResult = TypeChecker.PasteButtonOnClickResult_FromNumeric(thisDeserializer.readInt32()) - _call(event, result) -} -export function deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(thisDeserializer: Deserializer): void { - const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent,result: SaveButtonOnClickResult) => void)) - let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) - let result : SaveButtonOnClickResult = TypeChecker.SaveButtonOnClickResult_FromNumeric(thisDeserializer.readInt32()) - _call(event, result) -} export function deserializeAndCallCallback_ClickEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent) => void)) @@ -264,6 +264,12 @@ export function deserializeAndCallCallback_CopyEvent_Void(thisDeserializer: Dese let parameter : CopyEvent = thisDeserializer.readCopyEvent() _call(parameter) } +export function deserializeAndCallCallback_CrownEvent_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: CrownEvent) => void)) + let parameter : CrownEvent = thisDeserializer.readCrownEvent() + _call(parameter) +} export function deserializeAndCallCallback_CustomBuilder_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: CustomBuilder) => void)) @@ -367,6 +373,14 @@ export function deserializeAndCallCallback_DrawContext_CustomSpanDrawInfo_Void(t let drawInfo : CustomSpanDrawInfo = thisDeserializer.readCustomSpanDrawInfo() _call(context, drawInfo) } +export function deserializeAndCallCallback_EditableTextChangeValue_Boolean(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: EditableTextChangeValue) => boolean)) + let parameter : EditableTextChangeValue = thisDeserializer.readEditableTextChangeValue() + let _continuation : ((isVisible: boolean) => void) = thisDeserializer.readCallback_Boolean_Void(true) + const _callResult = _call(parameter) + _continuation(_callResult) +} export function deserializeAndCallCallback_EnterKeyType_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((enterKey: EnterKeyType) => void)) @@ -384,6 +398,12 @@ export function deserializeAndCallCallback_Extender_OnProgress(thisDeserializer: let value : float32 = thisDeserializer.readFloat32() _call(value) } +export function deserializeAndCallCallback_FocusAxisEvent_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: FocusAxisEvent) => void)) + let parameter : FocusAxisEvent = (thisDeserializer.readFocusAxisEvent() as FocusAxisEvent) + _call(parameter) +} export function deserializeAndCallCallback_FormCallbackInfo_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: FormCallbackInfo) => void)) @@ -429,6 +449,12 @@ export function deserializeAndCallCallback_HitTestMode_Void(thisDeserializer: De let value : HitTestMode = TypeChecker.HitTestMode_FromNumeric(thisDeserializer.readInt32()) _call(value) } +export function deserializeAndCallCallback_HoverEvent_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: HoverEvent) => void)) + let parameter : HoverEvent = (thisDeserializer.readHoverEvent() as HoverEvent) + _call(parameter) +} export function deserializeAndCallCallback_InsertValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: InsertValue) => boolean)) @@ -571,6 +597,12 @@ export function deserializeAndCallCallback_Map_String_Object_Void(thisDeserializ let parameter : Map = parameter_buf _call(parameter) } +export function deserializeAndCallCallback_MarqueeState_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: MarqueeState) => void)) + let parameter : MarqueeState = TypeChecker.MarqueeState_FromNumeric(thisDeserializer.readInt32()) + _call(parameter) +} export function deserializeAndCallCallback_MouseEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: MouseEvent) => void)) @@ -589,6 +621,12 @@ export function deserializeAndCallCallback_NativeEmbedTouchInfo_Void(thisDeseria let event : NativeEmbedTouchInfo = thisDeserializer.readNativeEmbedTouchInfo() _call(event) } +export function deserializeAndCallCallback_NavDestinationActiveReason_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: NavDestinationActiveReason) => void)) + let parameter : NavDestinationActiveReason = TypeChecker.NavDestinationActiveReason_FromNumeric(thisDeserializer.readInt32()) + _call(parameter) +} export function deserializeAndCallCallback_NavDestinationContext_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: NavDestinationContext) => void)) @@ -707,6 +745,12 @@ export function deserializeAndCallCallback_Number_Void(thisDeserializer: Deseria let index : number = (thisDeserializer.readNumber() as number) _call(index) } +export function deserializeAndCallCallback_Object_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: Object) => void)) + let parameter : Object = (thisDeserializer.readObject() as Object) + _call(parameter) +} export function deserializeAndCallCallback_OffsetResult_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: OffsetResult) => void)) @@ -955,6 +999,23 @@ export function deserializeAndCallCallback_OnWindowNewEvent_Void(thisDeserialize let parameter : OnWindowNewEvent = thisDeserializer.readOnWindowNewEvent() _call(parameter) } +export function deserializeAndCallCallback_Opt_Array_NavDestinationTransition_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value: Array | undefined) => void)) + const value_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let value_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) + { + const value_buf__length : int32 = thisDeserializer.readInt32() + let value_buf_ : Array = new Array(value_buf__length) + for (let value_buf__i = 0; value_buf__i < value_buf__length; value_buf__i++) { + value_buf_[value_buf__i] = thisDeserializer.readNavDestinationTransition() + } + value_buf = value_buf_ + } + let value : Array | undefined = value_buf + _call(value) +} export function deserializeAndCallCallback_Opt_Array_String_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((error?: Array | undefined) => void)) @@ -1154,6 +1215,19 @@ export function deserializeAndCallCallback_String_Number_Void(thisDeserializer: let index : number = (thisDeserializer.readNumber() as number) _call(value, index) } +export function deserializeAndCallCallback_String_Opt_Object_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((name: string,param: Object | undefined) => void)) + let name : string = (thisDeserializer.readString() as string) + const param_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let param_buf : Object | undefined + if ((RuntimeType.UNDEFINED) != (param_buf_runtimeType)) + { + param_buf = (thisDeserializer.readObject() as Object) + } + let param : Object | undefined = param_buf + _call(name, param) +} export function deserializeAndCallCallback_String_PasteEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: string,event: PasteEvent) => void)) @@ -1168,13 +1242,6 @@ export function deserializeAndCallCallback_String_SurfaceRect_Void(thisDeseriali let rect : SurfaceRect = thisDeserializer.readSurfaceRect() _call(surfaceId, rect) } -export function deserializeAndCallCallback_String_Unknown_Void(thisDeserializer: Deserializer): void { - const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((name: string,param: object) => void)) - let name : string = (thisDeserializer.readString() as string) - let param : object = (thisDeserializer.readObject() as object) - _call(name, param) -} export function deserializeAndCallCallback_String_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((breakpoints: string) => void)) @@ -1189,6 +1256,12 @@ export function deserializeAndCallCallback_StyledStringChangeValue_Boolean(thisD const _callResult = _call(parameter) _continuation(_callResult) } +export function deserializeAndCallCallback_StyledStringMarshallingValue_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value: UserDataSpan) => void)) + let value : UserDataSpan = thisDeserializer.readUserDataSpan() + _call(value) +} export function deserializeAndCallCallback_SwipeActionState_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((state: SwipeActionState) => void)) @@ -1412,6 +1485,14 @@ export function deserializeAndCallContentDidScrollCallback(thisDeserializer: Des let mainAxisLength : number = (thisDeserializer.readNumber() as number) _call(selectedIndex, index, position, mainAxisLength) } +export function deserializeAndCallContentWillScrollCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ContentWillScrollCallback) + let result : SwiperContentWillScrollResult = thisDeserializer.readSwiperContentWillScrollResult() + let _continuation : ((isVisible: boolean) => void) = thisDeserializer.readCallback_Boolean_Void(true) + const _callResult = _call(result) + _continuation(_callResult) +} export function deserializeAndCallContext_getGroupDir_Callback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as Context_getGroupDir_Callback) @@ -1437,7 +1518,14 @@ export function deserializeAndCallEditableTextOnChangeCallback(thisDeserializer: previewText_buf = thisDeserializer.readPreviewText() } let previewText : PreviewText | undefined = previewText_buf - _call(value, previewText) + const options_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let options_buf : TextChangeOptions | undefined + if ((RuntimeType.UNDEFINED) != (options_buf_runtimeType)) + { + options_buf = thisDeserializer.readTextChangeOptions() + } + let options : TextChangeOptions | undefined = options_buf + _call(value, previewText, options) } export function deserializeAndCallErrorCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() @@ -1548,6 +1636,20 @@ export function deserializeAndCallListAttribute_onItemDragStart_event_type(thisD const _callResult = _call(event, itemIndex) _continuation(_callResult) } +export function deserializeAndCallLocationButtonCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as LocationButtonCallback) + let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) + let result : LocationButtonOnClickResult = TypeChecker.LocationButtonOnClickResult_FromNumeric(thisDeserializer.readInt32()) + const error_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let error_buf : BusinessError | undefined + if ((RuntimeType.UNDEFINED) != (error_buf_runtimeType)) + { + error_buf = thisDeserializer.readBusinessError() + } + let error : BusinessError | undefined = error_buf + _call(event, result, error) +} export function deserializeAndCallMenuCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as MenuCallback) @@ -1560,6 +1662,15 @@ export function deserializeAndCallMenuOnAppearCallback(thisDeserializer: Deseria let end : number = (thisDeserializer.readNumber() as number) _call(start, end) } +export function deserializeAndCallNavDestinationTransitionDelegate(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as NavDestinationTransitionDelegate) + let operation : NavigationOperation = TypeChecker.NavigationOperation_FromNumeric(thisDeserializer.readInt32()) + let isEnter : boolean = thisDeserializer.readBoolean() + let _continuation : ((value: Array | undefined) => void) = thisDeserializer.readCallback_Opt_Array_NavDestinationTransition_Void(true) + const _callResult = _call(operation, isEnter) + _continuation(_callResult) +} export function deserializeAndCallNavExtender_OnUpdateStack(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as NavExtender_OnUpdateStack) @@ -1623,6 +1734,19 @@ export function deserializeAndCallOnDidChangeCallback(thisDeserializer: Deserial let rangeAfter : TextRange = thisDeserializer.readTextRange() _call(rangeBefore, rangeAfter) } +export function deserializeAndCallOnDragEventCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnDragEventCallback) + let event : DragEvent = (thisDeserializer.readDragEvent() as DragEvent) + const extraParams_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let extraParams_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (extraParams_buf_runtimeType)) + { + extraParams_buf = (thisDeserializer.readString() as string) + } + let extraParams : string | undefined = extraParams_buf + _call(event, extraParams) +} export function deserializeAndCallOnFirstMeaningfulPaintCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnFirstMeaningfulPaintCallback) @@ -1717,6 +1841,18 @@ export function deserializeAndCallOnPasteCallback(thisDeserializer: Deserializer let event : PasteEvent = thisDeserializer.readPasteEvent() _call(content, event) } +export function deserializeAndCallOnRadioChangeCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnRadioChangeCallback) + let isChecked : boolean = thisDeserializer.readBoolean() + _call(isChecked) +} +export function deserializeAndCallOnRatingChangeCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnRatingChangeCallback) + let rating : number = (thisDeserializer.readNumber() as number) + _call(rating) +} export function deserializeAndCallOnRenderProcessNotRespondingCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnRenderProcessNotRespondingCallback) @@ -1763,6 +1899,13 @@ export function deserializeAndCallOnScrollVisibleContentChangeCallback(thisDeser let end : VisibleListContentInfo = thisDeserializer.readVisibleListContentInfo() _call(start, end) } +export function deserializeAndCallOnSelectCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnSelectCallback) + let index : number = (thisDeserializer.readNumber() as number) + let selectStr : string = (thisDeserializer.readString() as string) + _call(index, selectStr) +} export function deserializeAndCallOnSslErrorEventCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSslErrorEventCallback) @@ -1829,6 +1972,45 @@ export function deserializeAndCallOnTabsGestureSwipeCallback(thisDeserializer: D let extraInfo : TabsAnimationEvent = thisDeserializer.readTabsAnimationEvent() _call(index, extraInfo) } +export function deserializeAndCallOnTextPickerChangeCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnTextPickerChangeCallback) + const selectItem_buf_selector : int32 = thisDeserializer.readInt8() + let selectItem_buf : string | Array | undefined + if (selectItem_buf_selector == 0) { + selectItem_buf = (thisDeserializer.readString() as string) + } + else if (selectItem_buf_selector == 1) { + const selectItem_buf_u_length : int32 = thisDeserializer.readInt32() + let selectItem_buf_u : Array = new Array(selectItem_buf_u_length) + for (let selectItem_buf_u_i = 0; selectItem_buf_u_i < selectItem_buf_u_length; selectItem_buf_u_i++) { + selectItem_buf_u[selectItem_buf_u_i] = (thisDeserializer.readString() as string) + } + selectItem_buf = selectItem_buf_u + } + else { + throw new Error("One of the branches for selectItem_buf has to be chosen through deserialisation.") + } + let selectItem : string | Array = (selectItem_buf as string | Array) + const index_buf_selector : int32 = thisDeserializer.readInt8() + let index_buf : number | Array | undefined + if (index_buf_selector == 0) { + index_buf = (thisDeserializer.readNumber() as number) + } + else if (index_buf_selector == 1) { + const index_buf_u_length : int32 = thisDeserializer.readInt32() + let index_buf_u : Array = new Array(index_buf_u_length) + for (let index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u[index_buf_u_i] = (thisDeserializer.readNumber() as number) + } + index_buf = index_buf_u + } + else { + throw new Error("One of the branches for index_buf has to be chosen through deserialisation.") + } + let index : number | Array = (index_buf as number | Array) + _call(selectItem, index) +} export function deserializeAndCallOnTextSelectionChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnTextSelectionChangeCallback) @@ -1836,6 +2018,12 @@ export function deserializeAndCallOnTextSelectionChangeCallback(thisDeserializer let selectionEnd : number = (thisDeserializer.readNumber() as number) _call(selectionStart, selectionEnd) } +export function deserializeAndCallOnTimePickerChangeCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnTimePickerChangeCallback) + let result : TimePickerResult = thisDeserializer.readTimePickerResult() + _call(result) +} export function deserializeAndCallOnViewportFitChangedCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnViewportFitChangedCallback) @@ -1849,6 +2037,20 @@ export function deserializeAndCallPageTransitionCallback(thisDeserializer: Deser let progress : number = (thisDeserializer.readNumber() as number) _call(type, progress) } +export function deserializeAndCallPasteButtonCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as PasteButtonCallback) + let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) + let result : PasteButtonOnClickResult = TypeChecker.PasteButtonOnClickResult_FromNumeric(thisDeserializer.readInt32()) + const error_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let error_buf : BusinessError | undefined + if ((RuntimeType.UNDEFINED) != (error_buf_runtimeType)) + { + error_buf = thisDeserializer.readBusinessError() + } + let error : BusinessError | undefined = error_buf + _call(event, result, error) +} export function deserializeAndCallPasteEventCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as PasteEventCallback) @@ -1867,6 +2069,12 @@ export function deserializeAndCallPluginErrorCallback(thisDeserializer: Deserial let info : PluginErrorData = thisDeserializer.readPluginErrorData() _call(info) } +export function deserializeAndCallPopupStateChangeCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as PopupStateChangeCallback) + let event : PopupStateChangeParam = thisDeserializer.readPopupStateChangeParam() + _call(event) +} export function deserializeAndCallReceiveCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ReceiveCallback) @@ -1899,6 +2107,27 @@ export function deserializeAndCallRestrictedWorker_onmessage_Callback(thisDeseri let event : MessageEvents = thisDeserializer.readMessageEvents() _call(event) } +export function deserializeAndCallReuseIdCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ReuseIdCallback) + let _continuation : ((breakpoints: string) => void) = thisDeserializer.readCallback_String_Void(true) + const _callResult = _call() + _continuation(_callResult) +} +export function deserializeAndCallSaveButtonCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as SaveButtonCallback) + let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) + let result : SaveButtonOnClickResult = TypeChecker.SaveButtonOnClickResult_FromNumeric(thisDeserializer.readInt32()) + const error_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let error_buf : BusinessError | undefined + if ((RuntimeType.UNDEFINED) != (error_buf_runtimeType)) + { + error_buf = thisDeserializer.readBusinessError() + } + let error : BusinessError | undefined = error_buf + _call(event, result, error) +} export function deserializeAndCallScrollOnScrollCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ScrollOnScrollCallback) @@ -1959,6 +2188,22 @@ export function deserializeAndCallSliderTriggerChangeCallback(thisDeserializer: let mode : SliderChangeMode = TypeChecker.SliderChangeMode_FromNumeric(thisDeserializer.readInt32()) _call(value, mode) } +export function deserializeAndCallStyledStringMarshallCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as StyledStringMarshallCallback) + let marshallableVal : UserDataSpan = thisDeserializer.readUserDataSpan() + let _continuation : ((value: NativeBuffer) => void) = thisDeserializer.readCallback_Buffer_Void(true) + const _callResult = _call(marshallableVal) + _continuation(_callResult) +} +export function deserializeAndCallStyledStringUnmarshallCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as StyledStringUnmarshallCallback) + let buf : NativeBuffer = (thisDeserializer.readBuffer() as NativeBuffer) + let _continuation : ((value: UserDataSpan) => void) = thisDeserializer.readCallback_StyledStringMarshallingValue_Void(true) + const _callResult = _call(buf) + _continuation(_callResult) +} export function deserializeAndCallSubmitCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as SubmitCallback) @@ -1988,6 +2233,84 @@ export function deserializeAndCallTextAreaSubmitCallback(thisDeserializer: Deser let event : SubmitEvent | undefined = event_buf _call(enterKeyType, event) } +export function deserializeAndCallTextPickerEnterSelectedAreaCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as TextPickerEnterSelectedAreaCallback) + const value_buf_selector : int32 = thisDeserializer.readInt8() + let value_buf : string | Array | undefined + if (value_buf_selector == 0) { + value_buf = (thisDeserializer.readString() as string) + } + else if (value_buf_selector == 1) { + const value_buf_u_length : int32 = thisDeserializer.readInt32() + let value_buf_u : Array = new Array(value_buf_u_length) + for (let value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { + value_buf_u[value_buf_u_i] = (thisDeserializer.readString() as string) + } + value_buf = value_buf_u + } + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + } + let value : string | Array = (value_buf as string | Array) + const index_buf_selector : int32 = thisDeserializer.readInt8() + let index_buf : number | Array | undefined + if (index_buf_selector == 0) { + index_buf = (thisDeserializer.readNumber() as number) + } + else if (index_buf_selector == 1) { + const index_buf_u_length : int32 = thisDeserializer.readInt32() + let index_buf_u : Array = new Array(index_buf_u_length) + for (let index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u[index_buf_u_i] = (thisDeserializer.readNumber() as number) + } + index_buf = index_buf_u + } + else { + throw new Error("One of the branches for index_buf has to be chosen through deserialisation.") + } + let index : number | Array = (index_buf as number | Array) + _call(value, index) +} +export function deserializeAndCallTextPickerScrollStopCallback(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as TextPickerScrollStopCallback) + const value_buf_selector : int32 = thisDeserializer.readInt8() + let value_buf : string | Array | undefined + if (value_buf_selector == 0) { + value_buf = (thisDeserializer.readString() as string) + } + else if (value_buf_selector == 1) { + const value_buf_u_length : int32 = thisDeserializer.readInt32() + let value_buf_u : Array = new Array(value_buf_u_length) + for (let value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { + value_buf_u[value_buf_u_i] = (thisDeserializer.readString() as string) + } + value_buf = value_buf_u + } + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + } + let value : string | Array = (value_buf as string | Array) + const index_buf_selector : int32 = thisDeserializer.readInt8() + let index_buf : number | Array | undefined + if (index_buf_selector == 0) { + index_buf = (thisDeserializer.readNumber() as number) + } + else if (index_buf_selector == 1) { + const index_buf_u_length : int32 = thisDeserializer.readInt32() + let index_buf_u : Array = new Array(index_buf_u_length) + for (let index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u[index_buf_u_i] = (thisDeserializer.readNumber() as number) + } + index_buf = index_buf_u + } + else { + throw new Error("One of the branches for index_buf has to be chosen through deserialisation.") + } + let index : number | Array = (index_buf as number | Array) + _call(value, index) +} export function deserializeAndCallTextTimerAttribute_onTimer_event_type(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((utc: int64,elapsedTime: int64) => void)) @@ -2120,6 +2443,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void const kind : int32 = thisDeserializer.readInt32() switch (kind) { case 589030517/*CallbackKind.Kind_AccessibilityCallback*/: return deserializeAndCallAccessibilityCallback(thisDeserializer); + case 1715445305/*CallbackKind.Kind_AccessibilityFocusCallback*/: return deserializeAndCallAccessibilityFocusCallback(thisDeserializer); case 300202685/*CallbackKind.Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem*/: return deserializeAndCallAsyncCallback_Array_TextMenuItem_Array_TextMenuItem(thisDeserializer); case -1689064068/*CallbackKind.Kind_AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics*/: return deserializeAndCallAsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics(thisDeserializer); case 1289587365/*CallbackKind.Kind_AsyncCallback_image_PixelMap_Void*/: return deserializeAndCallAsyncCallback_image_PixelMap_Void(thisDeserializer); @@ -2130,17 +2454,17 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -440782244/*CallbackKind.Kind_Callback_Array_String_Void*/: return deserializeAndCallCallback_Array_String_Void(thisDeserializer); case 528588498/*CallbackKind.Kind_Callback_Array_TextMenuItem_Void*/: return deserializeAndCallCallback_Array_TextMenuItem_Void(thisDeserializer); case -547276916/*CallbackKind.Kind_Callback_Array_TouchTestInfo_TouchResult*/: return deserializeAndCallCallback_Array_TouchTestInfo_TouchResult(thisDeserializer); + case 109087936/*CallbackKind.Kind_Callback_AxisEvent_Void*/: return deserializeAndCallCallback_AxisEvent_Void(thisDeserializer); case -1541107680/*CallbackKind.Kind_Callback_Boolean*/: return deserializeAndCallCallback_Boolean(thisDeserializer); case -916602978/*CallbackKind.Kind_Callback_Boolean_HoverEvent_Void*/: return deserializeAndCallCallback_Boolean_HoverEvent_Void(thisDeserializer); case 313269291/*CallbackKind.Kind_Callback_Boolean_Void*/: return deserializeAndCallCallback_Boolean_Void(thisDeserializer); + case 908731311/*CallbackKind.Kind_Callback_Buffer_Void*/: return deserializeAndCallCallback_Buffer_Void(thisDeserializer); case 1074619005/*CallbackKind.Kind_Callback_CalendarRequestedData_Void*/: return deserializeAndCallCallback_CalendarRequestedData_Void(thisDeserializer); case -289198976/*CallbackKind.Kind_Callback_CalendarSelectedDate_Void*/: return deserializeAndCallCallback_CalendarSelectedDate_Void(thisDeserializer); - case -1189087745/*CallbackKind.Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void*/: return deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(thisDeserializer); - case 659292561/*CallbackKind.Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void*/: return deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(thisDeserializer); - case 846787331/*CallbackKind.Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void*/: return deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(thisDeserializer); case 1097178637/*CallbackKind.Kind_Callback_ClickEvent_Void*/: return deserializeAndCallCallback_ClickEvent_Void(thisDeserializer); case -1270343661/*CallbackKind.Kind_Callback_ComputedBarAttribute_Void*/: return deserializeAndCallCallback_ComputedBarAttribute_Void(thisDeserializer); case -120437466/*CallbackKind.Kind_Callback_CopyEvent_Void*/: return deserializeAndCallCallback_CopyEvent_Void(thisDeserializer); + case -827253372/*CallbackKind.Kind_Callback_CrownEvent_Void*/: return deserializeAndCallCallback_CrownEvent_Void(thisDeserializer); case -721106019/*CallbackKind.Kind_Callback_CustomBuilder_Void*/: return deserializeAndCallCallback_CustomBuilder_Void(thisDeserializer); case 1362306791/*CallbackKind.Kind_Callback_CustomSpanMetrics_Void*/: return deserializeAndCallCallback_CustomSpanMetrics_Void(thisDeserializer); case -1875695871/*CallbackKind.Kind_Callback_CutEvent_Void*/: return deserializeAndCallCallback_CutEvent_Void(thisDeserializer); @@ -2155,9 +2479,11 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 480978023/*CallbackKind.Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo*/: return deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(thisDeserializer); case -17167687/*CallbackKind.Kind_Callback_DragEvent_String_Void*/: return deserializeAndCallCallback_DragEvent_String_Void(thisDeserializer); case -2106022018/*CallbackKind.Kind_Callback_DrawContext_CustomSpanDrawInfo_Void*/: return deserializeAndCallCallback_DrawContext_CustomSpanDrawInfo_Void(thisDeserializer); + case -602545319/*CallbackKind.Kind_Callback_EditableTextChangeValue_Boolean*/: return deserializeAndCallCallback_EditableTextChangeValue_Boolean(thisDeserializer); case -1802605016/*CallbackKind.Kind_Callback_EnterKeyType_Void*/: return deserializeAndCallCallback_EnterKeyType_Void(thisDeserializer); case -733525640/*CallbackKind.Kind_Callback_Extender_OnFinish*/: return deserializeAndCallCallback_Extender_OnFinish(thisDeserializer); case 1264236374/*CallbackKind.Kind_Callback_Extender_OnProgress*/: return deserializeAndCallCallback_Extender_OnProgress(thisDeserializer); + case 394781580/*CallbackKind.Kind_Callback_FocusAxisEvent_Void*/: return deserializeAndCallCallback_FocusAxisEvent_Void(thisDeserializer); case 758395742/*CallbackKind.Kind_Callback_FormCallbackInfo_Void*/: return deserializeAndCallCallback_FormCallbackInfo_Void(thisDeserializer); case 583294398/*CallbackKind.Kind_Callback_FullscreenInfo_Void*/: return deserializeAndCallCallback_FullscreenInfo_Void(thisDeserializer); case -1143194492/*CallbackKind.Kind_Callback_GestureEvent_Void*/: return deserializeAndCallCallback_GestureEvent_Void(thisDeserializer); @@ -2165,6 +2491,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -684588584/*CallbackKind.Kind_Callback_GestureJudgeResult_Void*/: return deserializeAndCallCallback_GestureJudgeResult_Void(thisDeserializer); case 776202910/*CallbackKind.Kind_Callback_GestureRecognizer_Void*/: return deserializeAndCallCallback_GestureRecognizer_Void(thisDeserializer); case -1755111025/*CallbackKind.Kind_Callback_HitTestMode_Void*/: return deserializeAndCallCallback_HitTestMode_Void(thisDeserializer); + case -1576788379/*CallbackKind.Kind_Callback_HoverEvent_Void*/: return deserializeAndCallCallback_HoverEvent_Void(thisDeserializer); case -383025085/*CallbackKind.Kind_Callback_InsertValue_Boolean*/: return deserializeAndCallCallback_InsertValue_Boolean(thisDeserializer); case -1121207885/*CallbackKind.Kind_Callback_InsertValue_Void*/: return deserializeAndCallCallback_InsertValue_Void(thisDeserializer); case -1627362945/*CallbackKind.Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void*/: return deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Void(thisDeserializer); @@ -2181,9 +2508,11 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 222742448/*CallbackKind.Kind_Callback_Literal_Object_detail_Boolean*/: return deserializeAndCallCallback_Literal_Object_detail_Boolean(thisDeserializer); case -122223466/*CallbackKind.Kind_Callback_Literal_String_plainText_Void*/: return deserializeAndCallCallback_Literal_String_plainText_Void(thisDeserializer); case -1146723341/*CallbackKind.Kind_Callback_Map_String_Object_Void*/: return deserializeAndCallCallback_Map_String_Object_Void(thisDeserializer); + case -716263454/*CallbackKind.Kind_Callback_MarqueeState_Void*/: return deserializeAndCallCallback_MarqueeState_Void(thisDeserializer); case -1382640094/*CallbackKind.Kind_Callback_MouseEvent_Void*/: return deserializeAndCallCallback_MouseEvent_Void(thisDeserializer); case 477481563/*CallbackKind.Kind_Callback_NativeEmbedDataInfo_Void*/: return deserializeAndCallCallback_NativeEmbedDataInfo_Void(thisDeserializer); case -1090303858/*CallbackKind.Kind_Callback_NativeEmbedTouchInfo_Void*/: return deserializeAndCallCallback_NativeEmbedTouchInfo_Void(thisDeserializer); + case 634825762/*CallbackKind.Kind_Callback_NavDestinationActiveReason_Void*/: return deserializeAndCallCallback_NavDestinationActiveReason_Void(thisDeserializer); case -1642725259/*CallbackKind.Kind_Callback_NavDestinationContext_Void*/: return deserializeAndCallCallback_NavDestinationContext_Void(thisDeserializer); case 960690982/*CallbackKind.Kind_Callback_NavigationMode_Void*/: return deserializeAndCallCallback_NavigationMode_Void(thisDeserializer); case 1685437830/*CallbackKind.Kind_Callback_NavigationTitleMode_Void*/: return deserializeAndCallCallback_NavigationTitleMode_Void(thisDeserializer); @@ -2200,6 +2529,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 1602877440/*CallbackKind.Kind_Callback_Number_Tuple_Number_Number*/: return deserializeAndCallCallback_Number_Tuple_Number_Number(thisDeserializer); case 1618565120/*CallbackKind.Kind_Callback_Number_Tuple_Number_Number_Number_Number*/: return deserializeAndCallCallback_Number_Tuple_Number_Number_Number_Number(thisDeserializer); case 36519084/*CallbackKind.Kind_Callback_Number_Void*/: return deserializeAndCallCallback_Number_Void(thisDeserializer); + case -1782529222/*CallbackKind.Kind_Callback_Object_Void*/: return deserializeAndCallCallback_Object_Void(thisDeserializer); case 1295952075/*CallbackKind.Kind_Callback_OffsetResult_Void*/: return deserializeAndCallCallback_OffsetResult_Void(thisDeserializer); case 806070428/*CallbackKind.Kind_Callback_OnAlertEvent_Boolean*/: return deserializeAndCallCallback_OnAlertEvent_Boolean(thisDeserializer); case -1559789631/*CallbackKind.Kind_Callback_OnAudioStateChangedEvent_Void*/: return deserializeAndCallCallback_OnAudioStateChangedEvent_Void(thisDeserializer); @@ -2238,6 +2568,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -318085495/*CallbackKind.Kind_Callback_OnTitleReceiveEvent_Void*/: return deserializeAndCallCallback_OnTitleReceiveEvent_Void(thisDeserializer); case 1657893064/*CallbackKind.Kind_Callback_OnTouchIconUrlReceivedEvent_Void*/: return deserializeAndCallCallback_OnTouchIconUrlReceivedEvent_Void(thisDeserializer); case -2052382574/*CallbackKind.Kind_Callback_OnWindowNewEvent_Void*/: return deserializeAndCallCallback_OnWindowNewEvent_Void(thisDeserializer); + case 406871767/*CallbackKind.Kind_Callback_Opt_Array_NavDestinationTransition_Void*/: return deserializeAndCallCallback_Opt_Array_NavDestinationTransition_Void(thisDeserializer); case -543655128/*CallbackKind.Kind_Callback_Opt_Array_String_Void*/: return deserializeAndCallCallback_Opt_Array_String_Void(thisDeserializer); case -2035339519/*CallbackKind.Kind_Callback_Opt_NavigationAnimatedTransition_Void*/: return deserializeAndCallCallback_Opt_NavigationAnimatedTransition_Void(thisDeserializer); case -756319131/*CallbackKind.Kind_Callback_Opt_StyledString_Opt_Array_String_Void*/: return deserializeAndCallCallback_Opt_StyledString_Opt_Array_String_Void(thisDeserializer); @@ -2261,11 +2592,12 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -224451112/*CallbackKind.Kind_Callback_SheetType_Void*/: return deserializeAndCallCallback_SheetType_Void(thisDeserializer); case 1536231691/*CallbackKind.Kind_Callback_SpringBackAction_Void*/: return deserializeAndCallCallback_SpringBackAction_Void(thisDeserializer); case -879490874/*CallbackKind.Kind_Callback_String_Number_Void*/: return deserializeAndCallCallback_String_Number_Void(thisDeserializer); + case -716524508/*CallbackKind.Kind_Callback_String_Opt_Object_Void*/: return deserializeAndCallCallback_String_Opt_Object_Void(thisDeserializer); case -683652998/*CallbackKind.Kind_Callback_String_PasteEvent_Void*/: return deserializeAndCallCallback_String_PasteEvent_Void(thisDeserializer); case -1736208400/*CallbackKind.Kind_Callback_String_SurfaceRect_Void*/: return deserializeAndCallCallback_String_SurfaceRect_Void(thisDeserializer); - case -1493806035/*CallbackKind.Kind_Callback_String_Unknown_Void*/: return deserializeAndCallCallback_String_Unknown_Void(thisDeserializer); case 814634522/*CallbackKind.Kind_Callback_String_Void*/: return deserializeAndCallCallback_String_Void(thisDeserializer); case 2116745428/*CallbackKind.Kind_Callback_StyledStringChangeValue_Boolean*/: return deserializeAndCallCallback_StyledStringChangeValue_Boolean(thisDeserializer); + case -1198150682/*CallbackKind.Kind_Callback_StyledStringMarshallingValue_Void*/: return deserializeAndCallCallback_StyledStringMarshallingValue_Void(thisDeserializer); case -301561698/*CallbackKind.Kind_Callback_SwipeActionState_Void*/: return deserializeAndCallCallback_SwipeActionState_Void(thisDeserializer); case -416053361/*CallbackKind.Kind_Callback_SwiperContentTransitionProxy_Void*/: return deserializeAndCallCallback_SwiperContentTransitionProxy_Void(thisDeserializer); case -1223938478/*CallbackKind.Kind_Callback_TabContentTransitionProxy_Void*/: return deserializeAndCallCallback_TabContentTransitionProxy_Void(thisDeserializer); @@ -2290,6 +2622,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 1436479104/*CallbackKind.Kind_Callback_WithThemeAttribute_Void*/: return deserializeAndCallCallback_WithThemeAttribute_Void(thisDeserializer); case -824029805/*CallbackKind.Kind_Callback_WrappedBuilder_Args_Void*/: return deserializeAndCallCallback_WrappedBuilder_Args_Void(thisDeserializer); case 1532328438/*CallbackKind.Kind_ContentDidScrollCallback*/: return deserializeAndCallContentDidScrollCallback(thisDeserializer); + case -2146044511/*CallbackKind.Kind_ContentWillScrollCallback*/: return deserializeAndCallContentWillScrollCallback(thisDeserializer); case 260483890/*CallbackKind.Kind_Context_getGroupDir_Callback*/: return deserializeAndCallContext_getGroupDir_Callback(thisDeserializer); case 1766817632/*CallbackKind.Kind_CustomNodeBuilder*/: return deserializeAndCallCustomNodeBuilder(thisDeserializer); case -1729563209/*CallbackKind.Kind_EditableTextOnChangeCallback*/: return deserializeAndCallEditableTextOnChangeCallback(thisDeserializer); @@ -2304,8 +2637,10 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 1502213270/*CallbackKind.Kind_InterceptionModeCallback*/: return deserializeAndCallInterceptionModeCallback(thisDeserializer); case 1852781814/*CallbackKind.Kind_InterceptionShowCallback*/: return deserializeAndCallInterceptionShowCallback(thisDeserializer); case -464108861/*CallbackKind.Kind_ListAttribute_onItemDragStart_event_type*/: return deserializeAndCallListAttribute_onItemDragStart_event_type(thisDeserializer); + case -957598032/*CallbackKind.Kind_LocationButtonCallback*/: return deserializeAndCallLocationButtonCallback(thisDeserializer); case 810927048/*CallbackKind.Kind_MenuCallback*/: return deserializeAndCallMenuCallback(thisDeserializer); case -614475458/*CallbackKind.Kind_MenuOnAppearCallback*/: return deserializeAndCallMenuOnAppearCallback(thisDeserializer); + case -1066063065/*CallbackKind.Kind_NavDestinationTransitionDelegate*/: return deserializeAndCallNavDestinationTransitionDelegate(thisDeserializer); case -588228933/*CallbackKind.Kind_NavExtender_OnUpdateStack*/: return deserializeAndCallNavExtender_OnUpdateStack(thisDeserializer); case 1572284740/*CallbackKind.Kind_OnAdsBlockedCallback*/: return deserializeAndCallOnAdsBlockedCallback(thisDeserializer); case 726938390/*CallbackKind.Kind_OnAlphabetIndexerPopupSelectCallback*/: return deserializeAndCallOnAlphabetIndexerPopupSelectCallback(thisDeserializer); @@ -2316,6 +2651,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -419979106/*CallbackKind.Kind_OnContentScrollCallback*/: return deserializeAndCallOnContentScrollCallback(thisDeserializer); case 1788572278/*CallbackKind.Kind_OnContextMenuHideCallback*/: return deserializeAndCallOnContextMenuHideCallback(thisDeserializer); case 1648184341/*CallbackKind.Kind_OnDidChangeCallback*/: return deserializeAndCallOnDidChangeCallback(thisDeserializer); + case 1451593190/*CallbackKind.Kind_OnDragEventCallback*/: return deserializeAndCallOnDragEventCallback(thisDeserializer); case 767275770/*CallbackKind.Kind_OnFirstMeaningfulPaintCallback*/: return deserializeAndCallOnFirstMeaningfulPaintCallback(thisDeserializer); case 2050387049/*CallbackKind.Kind_OnFoldStatusChangeCallback*/: return deserializeAndCallOnFoldStatusChangeCallback(thisDeserializer); case 81230317/*CallbackKind.Kind_OnFullScreenEnterCallback*/: return deserializeAndCallOnFullScreenEnterCallback(thisDeserializer); @@ -2330,6 +2666,8 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -398722176/*CallbackKind.Kind_OnNavigationEntryCommittedCallback*/: return deserializeAndCallOnNavigationEntryCommittedCallback(thisDeserializer); case 865258467/*CallbackKind.Kind_OnOverrideUrlLoadingCallback*/: return deserializeAndCallOnOverrideUrlLoadingCallback(thisDeserializer); case 1738363337/*CallbackKind.Kind_OnPasteCallback*/: return deserializeAndCallOnPasteCallback(thisDeserializer); + case 511412333/*CallbackKind.Kind_OnRadioChangeCallback*/: return deserializeAndCallOnRadioChangeCallback(thisDeserializer); + case -551895045/*CallbackKind.Kind_OnRatingChangeCallback*/: return deserializeAndCallOnRatingChangeCallback(thisDeserializer); case 47282303/*CallbackKind.Kind_OnRenderProcessNotRespondingCallback*/: return deserializeAndCallOnRenderProcessNotRespondingCallback(thisDeserializer); case 1334389194/*CallbackKind.Kind_OnRenderProcessRespondingCallback*/: return deserializeAndCallOnRenderProcessRespondingCallback(thisDeserializer); case -1099824577/*CallbackKind.Kind_OnSafeBrowsingCheckResultCallback*/: return deserializeAndCallOnSafeBrowsingCheckResultCallback(thisDeserializer); @@ -2337,6 +2675,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -1259214476/*CallbackKind.Kind_OnScrollEdgeCallback*/: return deserializeAndCallOnScrollEdgeCallback(thisDeserializer); case -2133791987/*CallbackKind.Kind_OnScrollFrameBeginCallback*/: return deserializeAndCallOnScrollFrameBeginCallback(thisDeserializer); case 625641334/*CallbackKind.Kind_OnScrollVisibleContentChangeCallback*/: return deserializeAndCallOnScrollVisibleContentChangeCallback(thisDeserializer); + case -1486869198/*CallbackKind.Kind_OnSelectCallback*/: return deserializeAndCallOnSelectCallback(thisDeserializer); case -399603614/*CallbackKind.Kind_OnSslErrorEventCallback*/: return deserializeAndCallOnSslErrorEventCallback(thisDeserializer); case -1961646162/*CallbackKind.Kind_OnSubmitCallback*/: return deserializeAndCallOnSubmitCallback(thisDeserializer); case -143686583/*CallbackKind.Kind_OnSwiperAnimationEndCallback*/: return deserializeAndCallOnSwiperAnimationEndCallback(thisDeserializer); @@ -2346,24 +2685,34 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -147408344/*CallbackKind.Kind_OnTabsAnimationStartCallback*/: return deserializeAndCallOnTabsAnimationStartCallback(thisDeserializer); case -349727249/*CallbackKind.Kind_OnTabsContentWillChangeCallback*/: return deserializeAndCallOnTabsContentWillChangeCallback(thisDeserializer); case 253696833/*CallbackKind.Kind_OnTabsGestureSwipeCallback*/: return deserializeAndCallOnTabsGestureSwipeCallback(thisDeserializer); + case -1902343417/*CallbackKind.Kind_OnTextPickerChangeCallback*/: return deserializeAndCallOnTextPickerChangeCallback(thisDeserializer); case 695228737/*CallbackKind.Kind_OnTextSelectionChangeCallback*/: return deserializeAndCallOnTextSelectionChangeCallback(thisDeserializer); + case 994429103/*CallbackKind.Kind_OnTimePickerChangeCallback*/: return deserializeAndCallOnTimePickerChangeCallback(thisDeserializer); case 1847083191/*CallbackKind.Kind_OnViewportFitChangedCallback*/: return deserializeAndCallOnViewportFitChangedCallback(thisDeserializer); case 1627123591/*CallbackKind.Kind_PageTransitionCallback*/: return deserializeAndCallPageTransitionCallback(thisDeserializer); + case 1501373374/*CallbackKind.Kind_PasteButtonCallback*/: return deserializeAndCallPasteButtonCallback(thisDeserializer); case 919057028/*CallbackKind.Kind_PasteEventCallback*/: return deserializeAndCallPasteEventCallback(thisDeserializer); case -1992671958/*CallbackKind.Kind_PluginErrorCallback*/: return deserializeAndCallPluginErrorCallback(thisDeserializer); + case -1444325632/*CallbackKind.Kind_PopupStateChangeCallback*/: return deserializeAndCallPopupStateChangeCallback(thisDeserializer); case 2053798608/*CallbackKind.Kind_ReceiveCallback*/: return deserializeAndCallReceiveCallback(thisDeserializer); case -1213708823/*CallbackKind.Kind_RestrictedWorker_onerror_Callback*/: return deserializeAndCallRestrictedWorker_onerror_Callback(thisDeserializer); case -2095497263/*CallbackKind.Kind_RestrictedWorker_onexit_Callback*/: return deserializeAndCallRestrictedWorker_onexit_Callback(thisDeserializer); case 1614214490/*CallbackKind.Kind_RestrictedWorker_onmessage_Callback*/: return deserializeAndCallRestrictedWorker_onmessage_Callback(thisDeserializer); + case 1110529154/*CallbackKind.Kind_ReuseIdCallback*/: return deserializeAndCallReuseIdCallback(thisDeserializer); + case -1634474996/*CallbackKind.Kind_SaveButtonCallback*/: return deserializeAndCallSaveButtonCallback(thisDeserializer); case -1265626662/*CallbackKind.Kind_ScrollOnScrollCallback*/: return deserializeAndCallScrollOnScrollCallback(thisDeserializer); case -721521596/*CallbackKind.Kind_ScrollOnWillScrollCallback*/: return deserializeAndCallScrollOnWillScrollCallback(thisDeserializer); case 1717691617/*CallbackKind.Kind_SearchSubmitCallback*/: return deserializeAndCallSearchSubmitCallback(thisDeserializer); case -250780276/*CallbackKind.Kind_ShouldBuiltInRecognizerParallelWithCallback*/: return deserializeAndCallShouldBuiltInRecognizerParallelWithCallback(thisDeserializer); case -1716637992/*CallbackKind.Kind_SizeChangeCallback*/: return deserializeAndCallSizeChangeCallback(thisDeserializer); case 711649376/*CallbackKind.Kind_SliderTriggerChangeCallback*/: return deserializeAndCallSliderTriggerChangeCallback(thisDeserializer); + case 1095217433/*CallbackKind.Kind_StyledStringMarshallCallback*/: return deserializeAndCallStyledStringMarshallCallback(thisDeserializer); + case 1359717794/*CallbackKind.Kind_StyledStringUnmarshallCallback*/: return deserializeAndCallStyledStringUnmarshallCallback(thisDeserializer); case -712186065/*CallbackKind.Kind_SubmitCallback*/: return deserializeAndCallSubmitCallback(thisDeserializer); case 221706282/*CallbackKind.Kind_TabsCustomContentTransitionCallback*/: return deserializeAndCallTabsCustomContentTransitionCallback(thisDeserializer); case -401980571/*CallbackKind.Kind_TextAreaSubmitCallback*/: return deserializeAndCallTextAreaSubmitCallback(thisDeserializer); + case -202014218/*CallbackKind.Kind_TextPickerEnterSelectedAreaCallback*/: return deserializeAndCallTextPickerEnterSelectedAreaCallback(thisDeserializer); + case -1928298699/*CallbackKind.Kind_TextPickerScrollStopCallback*/: return deserializeAndCallTextPickerScrollStopCallback(thisDeserializer); case 2057659801/*CallbackKind.Kind_TextTimerAttribute_onTimer_event_type*/: return deserializeAndCallTextTimerAttribute_onTimer_event_type(thisDeserializer); case -1878458553/*CallbackKind.Kind_TransitionFinishCallback*/: return deserializeAndCallTransitionFinishCallback(thisDeserializer); case 1044833488/*CallbackKind.Kind_Type_NavigationAttribute_customNavContentTransition_delegate*/: return deserializeAndCallType_NavigationAttribute_customNavContentTransition_delegate(thisDeserializer); diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts b/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts index e0489003cc..168b0fd2ee 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts @@ -1,6 +1,7 @@ import { int32, float32 } from "@koalaui/common" export enum CallbackKind { Kind_AccessibilityCallback = 589030517, + Kind_AccessibilityFocusCallback = 1715445305, Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem = 300202685, Kind_AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics = -1689064068, Kind_AsyncCallback_image_PixelMap_Void = 1289587365, @@ -11,17 +12,17 @@ export enum CallbackKind { Kind_Callback_Array_String_Void = -440782244, Kind_Callback_Array_TextMenuItem_Void = 528588498, Kind_Callback_Array_TouchTestInfo_TouchResult = -547276916, + Kind_Callback_AxisEvent_Void = 109087936, Kind_Callback_Boolean = -1541107680, Kind_Callback_Boolean_HoverEvent_Void = -916602978, Kind_Callback_Boolean_Void = 313269291, + Kind_Callback_Buffer_Void = 908731311, Kind_Callback_CalendarRequestedData_Void = 1074619005, Kind_Callback_CalendarSelectedDate_Void = -289198976, - Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void = -1189087745, - Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void = 659292561, - Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void = 846787331, Kind_Callback_ClickEvent_Void = 1097178637, Kind_Callback_ComputedBarAttribute_Void = -1270343661, Kind_Callback_CopyEvent_Void = -120437466, + Kind_Callback_CrownEvent_Void = -827253372, Kind_Callback_CustomBuilder_Void = -721106019, Kind_Callback_CustomSpanMetrics_Void = 1362306791, Kind_Callback_CutEvent_Void = -1875695871, @@ -36,9 +37,11 @@ export enum CallbackKind { Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo = 480978023, Kind_Callback_DragEvent_String_Void = -17167687, Kind_Callback_DrawContext_CustomSpanDrawInfo_Void = -2106022018, + Kind_Callback_EditableTextChangeValue_Boolean = -602545319, Kind_Callback_EnterKeyType_Void = -1802605016, Kind_Callback_Extender_OnFinish = -733525640, Kind_Callback_Extender_OnProgress = 1264236374, + Kind_Callback_FocusAxisEvent_Void = 394781580, Kind_Callback_FormCallbackInfo_Void = 758395742, Kind_Callback_FullscreenInfo_Void = 583294398, Kind_Callback_GestureEvent_Void = -1143194492, @@ -46,6 +49,7 @@ export enum CallbackKind { Kind_Callback_GestureJudgeResult_Void = -684588584, Kind_Callback_GestureRecognizer_Void = 776202910, Kind_Callback_HitTestMode_Void = -1755111025, + Kind_Callback_HoverEvent_Void = -1576788379, Kind_Callback_InsertValue_Boolean = -383025085, Kind_Callback_InsertValue_Void = -1121207885, Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void = -1627362945, @@ -62,9 +66,11 @@ export enum CallbackKind { Kind_Callback_Literal_Object_detail_Boolean = 222742448, Kind_Callback_Literal_String_plainText_Void = -122223466, Kind_Callback_Map_String_Object_Void = -1146723341, + Kind_Callback_MarqueeState_Void = -716263454, Kind_Callback_MouseEvent_Void = -1382640094, Kind_Callback_NativeEmbedDataInfo_Void = 477481563, Kind_Callback_NativeEmbedTouchInfo_Void = -1090303858, + Kind_Callback_NavDestinationActiveReason_Void = 634825762, Kind_Callback_NavDestinationContext_Void = -1642725259, Kind_Callback_NavigationMode_Void = 960690982, Kind_Callback_NavigationTitleMode_Void = 1685437830, @@ -81,6 +87,7 @@ export enum CallbackKind { Kind_Callback_Number_Tuple_Number_Number = 1602877440, Kind_Callback_Number_Tuple_Number_Number_Number_Number = 1618565120, Kind_Callback_Number_Void = 36519084, + Kind_Callback_Object_Void = -1782529222, Kind_Callback_OffsetResult_Void = 1295952075, Kind_Callback_OnAlertEvent_Boolean = 806070428, Kind_Callback_OnAudioStateChangedEvent_Void = -1559789631, @@ -119,6 +126,7 @@ export enum CallbackKind { Kind_Callback_OnTitleReceiveEvent_Void = -318085495, Kind_Callback_OnTouchIconUrlReceivedEvent_Void = 1657893064, Kind_Callback_OnWindowNewEvent_Void = -2052382574, + Kind_Callback_Opt_Array_NavDestinationTransition_Void = 406871767, Kind_Callback_Opt_Array_String_Void = -543655128, Kind_Callback_Opt_NavigationAnimatedTransition_Void = -2035339519, Kind_Callback_Opt_StyledString_Opt_Array_String_Void = -756319131, @@ -142,11 +150,12 @@ export enum CallbackKind { Kind_Callback_SheetType_Void = -224451112, Kind_Callback_SpringBackAction_Void = 1536231691, Kind_Callback_String_Number_Void = -879490874, + Kind_Callback_String_Opt_Object_Void = -716524508, Kind_Callback_String_PasteEvent_Void = -683652998, Kind_Callback_String_SurfaceRect_Void = -1736208400, - Kind_Callback_String_Unknown_Void = -1493806035, Kind_Callback_String_Void = 814634522, Kind_Callback_StyledStringChangeValue_Boolean = 2116745428, + Kind_Callback_StyledStringMarshallingValue_Void = -1198150682, Kind_Callback_SwipeActionState_Void = -301561698, Kind_Callback_SwiperContentTransitionProxy_Void = -416053361, Kind_Callback_TabContentTransitionProxy_Void = -1223938478, @@ -171,6 +180,7 @@ export enum CallbackKind { Kind_Callback_WithThemeAttribute_Void = 1436479104, Kind_Callback_WrappedBuilder_Args_Void = -824029805, Kind_ContentDidScrollCallback = 1532328438, + Kind_ContentWillScrollCallback = -2146044511, Kind_Context_getGroupDir_Callback = 260483890, Kind_CustomNodeBuilder = 1766817632, Kind_EditableTextOnChangeCallback = -1729563209, @@ -185,8 +195,10 @@ export enum CallbackKind { Kind_InterceptionModeCallback = 1502213270, Kind_InterceptionShowCallback = 1852781814, Kind_ListAttribute_onItemDragStart_event_type = -464108861, + Kind_LocationButtonCallback = -957598032, Kind_MenuCallback = 810927048, Kind_MenuOnAppearCallback = -614475458, + Kind_NavDestinationTransitionDelegate = -1066063065, Kind_NavExtender_OnUpdateStack = -588228933, Kind_OnAdsBlockedCallback = 1572284740, Kind_OnAlphabetIndexerPopupSelectCallback = 726938390, @@ -197,6 +209,7 @@ export enum CallbackKind { Kind_OnContentScrollCallback = -419979106, Kind_OnContextMenuHideCallback = 1788572278, Kind_OnDidChangeCallback = 1648184341, + Kind_OnDragEventCallback = 1451593190, Kind_OnFirstMeaningfulPaintCallback = 767275770, Kind_OnFoldStatusChangeCallback = 2050387049, Kind_OnFullScreenEnterCallback = 81230317, @@ -211,6 +224,8 @@ export enum CallbackKind { Kind_OnNavigationEntryCommittedCallback = -398722176, Kind_OnOverrideUrlLoadingCallback = 865258467, Kind_OnPasteCallback = 1738363337, + Kind_OnRadioChangeCallback = 511412333, + Kind_OnRatingChangeCallback = -551895045, Kind_OnRenderProcessNotRespondingCallback = 47282303, Kind_OnRenderProcessRespondingCallback = 1334389194, Kind_OnSafeBrowsingCheckResultCallback = -1099824577, @@ -218,6 +233,7 @@ export enum CallbackKind { Kind_OnScrollEdgeCallback = -1259214476, Kind_OnScrollFrameBeginCallback = -2133791987, Kind_OnScrollVisibleContentChangeCallback = 625641334, + Kind_OnSelectCallback = -1486869198, Kind_OnSslErrorEventCallback = -399603614, Kind_OnSubmitCallback = -1961646162, Kind_OnSwiperAnimationEndCallback = -143686583, @@ -227,24 +243,34 @@ export enum CallbackKind { Kind_OnTabsAnimationStartCallback = -147408344, Kind_OnTabsContentWillChangeCallback = -349727249, Kind_OnTabsGestureSwipeCallback = 253696833, + Kind_OnTextPickerChangeCallback = -1902343417, Kind_OnTextSelectionChangeCallback = 695228737, + Kind_OnTimePickerChangeCallback = 994429103, Kind_OnViewportFitChangedCallback = 1847083191, Kind_PageTransitionCallback = 1627123591, + Kind_PasteButtonCallback = 1501373374, Kind_PasteEventCallback = 919057028, Kind_PluginErrorCallback = -1992671958, + Kind_PopupStateChangeCallback = -1444325632, Kind_ReceiveCallback = 2053798608, Kind_RestrictedWorker_onerror_Callback = -1213708823, Kind_RestrictedWorker_onexit_Callback = -2095497263, Kind_RestrictedWorker_onmessage_Callback = 1614214490, + Kind_ReuseIdCallback = 1110529154, + Kind_SaveButtonCallback = -1634474996, Kind_ScrollOnScrollCallback = -1265626662, Kind_ScrollOnWillScrollCallback = -721521596, Kind_SearchSubmitCallback = 1717691617, Kind_ShouldBuiltInRecognizerParallelWithCallback = -250780276, Kind_SizeChangeCallback = -1716637992, Kind_SliderTriggerChangeCallback = 711649376, + Kind_StyledStringMarshallCallback = 1095217433, + Kind_StyledStringUnmarshallCallback = 1359717794, Kind_SubmitCallback = -712186065, Kind_TabsCustomContentTransitionCallback = 221706282, Kind_TextAreaSubmitCallback = -401980571, + Kind_TextPickerEnterSelectedAreaCallback = -202014218, + Kind_TextPickerScrollStopCallback = -1928298699, Kind_TextTimerAttribute_onTimer_event_type = 2057659801, Kind_TransitionFinishCallback = -1878458553, Kind_Type_NavigationAttribute_customNavContentTransition_delegate = 1044833488, diff --git a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts index 5c05eebac0..4c9647133b 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts @@ -22,147 +22,148 @@ import { CallbackKind } from "./CallbackKind" import { Serializer } from "./Serializer" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, AccessibilityHoverEvent, AccessibilityHoverEventInternal, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragEventInternal, DragResult, Rectangle, DragPreviewMode, DrawModifier, DrawModifierInternal, EdgeEffectOptions, EffectType, FinishCallbackType, GestureModifier, GestureModifierInternal, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, HoverModeAreaType, ICurve, ICurveInternal, KeyboardAvoidMode, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, ChildrenMainSizeInternal, RectResult, Measurable, MeasurableInternal, MeasureResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PixelMapMockInternal, PreDragStatus, ProgressMask, ProgressMaskInternal, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, TextContentControllerBaseInternal, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffectInternal, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, UICommonEventInternal, Callback_ClickEvent_Void, ClickEvent, ClickEventInternal, Callback_TouchEvent_Void, TouchEvent, TouchEventInternal, Callback_KeyEvent_Void, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, Callback_MouseEvent_Void, MouseEvent, MouseEventInternal, VisibleAreaEventOptions, SheetOptions, View, ViewInternal, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchResult, Callback_Boolean_HoverEvent_Void, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragItemInfo, Callback_DragEvent_String_Void, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_PreDragStatus_Void, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, BackgroundBrightnessOptions, BlurOptions, ClickEffect, DragInteractionOptions, ExpectedFrameRateRange, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, LinearGradient_common, Tuple_ResourceColor_Number, LinearGradientBlurOptions, FractionStop, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, StateStyles, TouchObject, AlignRuleOption, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, BlurStyleOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, PixelStretchEffectOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, BorderImageOption, ContextMenuOptions, CustomPopupOptions, Literal_ResourceColor_color, EventTarget, BaseEvent, BaseEventInternal, MenuOptions, PickerDialogButtonStyle, PointLightStyle, PopupMessageOptions, PopupOptions, Literal_String_value_Callback_Void_action, Type_SheetOptions_detents } from "./../common" +import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, AccessibilityHoverEvent, AccessibilityHoverEventInternal, AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragEventInternal, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, DrawModifierInternal, EffectEdge, EffectType, FinishCallbackType, GestureModifier, GestureModifierInternal, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, ICurveInternal, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, ChildrenMainSizeInternal, RectResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PixelMapMockInternal, PopupStateChangeParam, PreDragStatus, ProgressMask, ProgressMaskInternal, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, TextContentControllerBaseInternal, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffectInternal, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, UICommonEventInternal, Callback_ClickEvent_Void, ClickEvent, ClickEventInternal, Callback_TouchEvent_Void, TouchEvent, TouchEventInternal, Callback_KeyEvent_Void, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, Callback_MouseEvent_Void, MouseEvent, MouseEventInternal, VisibleAreaEventOptions, SheetOptions, View, ViewInternal, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchResult, Callback_AxisEvent_Void, AxisEvent, AxisEventInternal, Callback_Boolean_HoverEvent_Void, Callback_CrownEvent_Void, CrownEvent, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, FocusAxisEventInternal, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_PreDragStatus_Void, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DragInteractionOptions, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, LinearGradient_common, Tuple_ResourceColor_Number, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasurableInternal, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, StateStyles, SystemAdaptiveOptions, TouchObject, AlignRuleOption, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, BlurStyleOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Literal_ResourceColor_color, EventTarget, BaseEvent, BaseEventInternal, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, PopupOptions, Literal_String_value_Callback_Void_action } from "./../common" import { ButtonTriggerClickCallback, ButtonRole, ButtonStyleMode, ButtonType, ControlSize, ButtonOptions } from "./../button" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../animation_extender" import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, ComponentContent, ComponentContentInternal, UnifiedData, UnifiedDataInternal, UIContext, UIContextInternal, SystemBarStyle, PointerStyle, Scene, SceneInternal, Context, ContextInternal, WorkerEventListener, WorkerEventListenerInternal, Event, ErrorEvent, MessageEvents, BaseContext, BaseContextInternal, PostMessageOptions, WorkerOptions, CustomColors, RestrictedWorker, RestrictedWorkerInternal, CustomTheme } from "./../arkui-custom" -import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, SwiperAnimationEvent, SwiperAttribute, DotIndicator, DigitIndicator, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ArrowStyle, SwiperAutoFill, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, Callback_SwiperContentTransitionProxy_Void, Indicator } from "./../swiper" +import { ContentDidScrollCallback, ContentWillScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, SwiperAnimationEvent, SwiperAnimationMode, SwiperAttribute, DotIndicator, DigitIndicator, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, SwiperContentWillScrollResult, AutoPlayOptions, ArrowStyle, SwiperAutoFill, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, Callback_SwiperContentTransitionProxy_Void, Indicator } from "./../swiper" import { CustomNodeBuilder } from "./../custom_builder" -import { EditableTextOnChangeCallback, OnDidChangeCallback, LayoutManager, LayoutManagerInternal, PositionWithAffinity, TextRange, MenuType, TextDataDetectorConfig, EditMenuOptions, TextEditControllerEx, TextEditControllerExInternal, PreviewText, StyledStringController, StyledStringControllerInternal, StyledStringChangedListener, CaretStyle, InsertValue, DeleteValue, FontSettingOptions, TextBaseController, TextBaseControllerInternal, TextDataDetectorType, TextDeleteDirection, TextMenuItemId, TextMenuItemIdInternal, AsyncCallback_Array_TextMenuItem_Array_TextMenuItem, TextMenuItem, AsyncCallback_TextMenuItem_TextRange_Boolean, Callback_StyledStringChangeValue_Boolean, StyledStringChangeValue, DecorationStyleResult } from "./../text_common" +import { EditableTextOnChangeCallback, OnDidChangeCallback, AutoCapitalizationMode, KeyboardAppearance, LayoutManager, LayoutManagerInternal, PositionWithAffinity, TextRange, MenuType, TextDataDetectorConfig, EditMenuOptions, TextEditControllerEx, TextEditControllerExInternal, PreviewText, StyledStringController, StyledStringControllerInternal, StyledStringChangedListener, CaretStyle, TextChangeOptions, InsertValue, DeleteValue, EditableTextChangeValue, FontSettingOptions, TextBaseController, TextBaseControllerInternal, TextDataDetectorType, TextDeleteDirection, TextMenuItemId, TextMenuItemIdInternal, TextMenuShowMode, AsyncCallback_Array_TextMenuItem_Array_TextMenuItem, TextMenuItem, AsyncCallback_TextMenuItem_TextRange_Boolean, Callback_StyledStringChangeValue_Boolean, StyledStringChangeValue, DecorationStyleResult } from "./../text_common" import { ErrorCallback } from "./../ohos.base" import { GetItemMainSizeByIndex, WaterFlowAttribute, WaterFlowLayoutMode, WaterFlowSections, WaterFlowSectionsInternal, SectionOptions, WaterFlowOptions } from "./../water_flow" import { ImageCompleteCallback, ImageLoadResult } from "./../image_span" -import { ImageErrorCallback, DynamicRangeMode, ImageContent, ImageInterpolation, ImageRenderMode, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, ImageError, ImageSourceSize, ResizableOptions } from "./../image" -import { InterceptionModeCallback, InterceptionShowCallback, BarStyle, LaunchMode, NavBarPosition, NavigationMenuItem, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions, NavigationAttribute, Tuple_Dimension_Dimension, NavigationMode, NavigationTitleMode, Callback_NavigationTitleMode_Void, Callback_Boolean_Void, Callback_NavigationMode_Void, Callback_String_Unknown_Void, Type_NavigationAttribute_customNavContentTransition_delegate, NavContentInfo, NavigationOperation, NavigationAnimatedTransition, NavigationCommonTitle, NavigationCustomTitle, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, NavigationOptions, Callback_PopInfo_Void, PopInfo, NavigationInterception, ToolbarItemStatus, Callback_NavigationTransitionProxy_Void, NavigationTransitionProxy, NavigationTransitionProxyInternal, NavBar } from "./../navigation" +import { ImageErrorCallback, ColorContent, DynamicRangeMode, ImageContent, ImageInterpolation, ImageRenderMode, ImageRotateOrientation, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, ImageError, ImageSourceSize, ResizableOptions } from "./../image" +import { InterceptionModeCallback, InterceptionShowCallback, BarStyle, LaunchMode, NavBarPosition, NavigationMenuItem, NavigationOperation, NavigationTitleOptions, NavigationMenuOptions, ToolbarItem, NavigationToolbarOptions, NavigationAttribute, Tuple_Dimension_Dimension, NavigationMode, NavigationTitleMode, Callback_NavigationTitleMode_Void, Callback_Boolean_Void, Callback_NavigationMode_Void, Callback_String_Opt_Object_Void, Type_NavigationAttribute_customNavContentTransition_delegate, NavContentInfo, NavigationAnimatedTransition, NavigationCommonTitle, NavigationCustomTitle, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, NavigationOptions, Callback_PopInfo_Void, PopInfo, NavigationInterception, ToolbarItemStatus, Callback_NavigationTransitionProxy_Void, NavigationTransitionProxy, NavigationTransitionProxyInternal, NavBar, MoreButtonOptions } from "./../navigation" +import { LocationButtonCallback, LocationButtonOnClickResult, LocationDescription, LocationIconStyle, LocationButtonOptions } from "./../location_button" import { MenuCallback, OnHoverCallback } from "./../sdk-stubs" -import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, RichEditorAttribute, Callback_RichEditorSelection_Void, RichEditorSelection, Callback_RichEditorRange_Void, RichEditorRange, Callback_RichEditorInsertValue_Boolean, RichEditorInsertValue, Callback_RichEditorTextSpanResult_Void, RichEditorTextSpanResult, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, RichEditorDeleteValue, PasteEvent, Callback_RichEditorChangeValue_Boolean, RichEditorChangeValue, Callback_CutEvent_Void, CutEvent, Callback_CopyEvent_Void, CopyEvent, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle, RichEditorBaseController, RichEditorBaseControllerInternal, RichEditorTextStyle, RichEditorController, RichEditorControllerInternal, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorParagraphResult, RichEditorSpan, RichEditorDeleteDirection, RichEditorOptions, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, RichEditorStyledStringOptions, RichEditorGesture, RichEditorSpanPosition, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorSpanStyleOptions, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorParagraphStyle } from "./../rich_editor" +import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, RichEditorAttribute, Callback_RichEditorSelection_Void, RichEditorSelection, Callback_RichEditorRange_Void, RichEditorRange, Callback_RichEditorInsertValue_Boolean, RichEditorInsertValue, Callback_RichEditorTextSpanResult_Void, RichEditorTextSpanResult, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, RichEditorDeleteValue, PasteEvent, Callback_RichEditorChangeValue_Boolean, RichEditorChangeValue, Callback_CutEvent_Void, CutEvent, Callback_CopyEvent_Void, CopyEvent, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle, RichEditorBaseController, RichEditorBaseControllerInternal, RichEditorTextStyle, RichEditorController, RichEditorControllerInternal, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorParagraphResult, RichEditorSpan, RichEditorDeleteDirection, RichEditorOptions, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, RichEditorStyledStringOptions, PreviewMenuOptions, RichEditorGesture, RichEditorSpanPosition, RichEditorSymbolSpanStyle, RichEditorSpanStyleOptions, RichEditorUrlStyle, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorParagraphStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorTextStyleResult } from "./../rich_editor" +import { NavDestinationTransitionDelegate, NavDestinationActiveReason, NavDestinationAttribute, Callback_Boolean, Callback_Object_Void, NavDestinationMode, Callback_NavDestinationContext_Void, NavDestinationContext, NavDestinationContextInternal, NavigationSystemTransitionType, NestedScrollInfo, Callback_NavDestinationActiveReason_Void, Orientation, NavDestinationCommonTitle, NavDestinationCustomTitle, NavDestinationTransition, RouteMapConfig } from "./../nav_destination" import { NavExtender_OnUpdateStack } from "./../navigation_extender" -import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, CacheMode, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ConsoleMessage, ConsoleMessageInternal, MessageLevel, ContextMenuEditStateFlags, ContextMenuInputFieldType, ContextMenuMediaType, ContextMenuSourceType, ControllerHandler, ControllerHandlerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, EventResult, EventResultInternal, FileSelectorMode, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, HitTestType, HttpAuthHandler, HttpAuthHandlerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, MixedMode, NativeEmbedStatus, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, OverScrollMode, PermissionRequest, PermissionRequestInternal, ProtectedResourceType, RenderExitReason, RenderMode, RenderProcessNotRespondingReason, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScreenCaptureConfig, SslError, SslErrorHandler, SslErrorHandlerInternal, ThreatType, ViewportFit, WebAttribute, JavaScriptProxy, WebDarkMode, WebMediaOptions, Callback_OnPageEndEvent_Void, OnPageEndEvent, Callback_OnPageBeginEvent_Void, OnPageBeginEvent, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, OnTitleReceiveEvent, Callback_OnGeolocationShowEvent_Void, OnGeolocationShowEvent, Callback_OnAlertEvent_Boolean, OnAlertEvent, Callback_OnBeforeUnloadEvent_Boolean, OnBeforeUnloadEvent, Callback_OnConfirmEvent_Boolean, OnConfirmEvent, Callback_OnPromptEvent_Boolean, OnPromptEvent, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, OnErrorReceiveEvent, Callback_OnHttpErrorReceiveEvent_Void, OnHttpErrorReceiveEvent, Callback_OnDownloadStartEvent_Void, OnDownloadStartEvent, Callback_OnRefreshAccessedHistoryEvent_Void, OnRefreshAccessedHistoryEvent, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, WebResourceRequest, WebResourceRequestInternal, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, OnRenderExitedEvent, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_OnResourceLoadEvent_Void, OnResourceLoadEvent, FullScreenEnterEvent, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, OnHttpAuthRequestEvent, Callback_OnInterceptRequestEvent_WebResourceResponse, OnInterceptRequestEvent, WebResourceResponse, WebResourceResponseInternal, Callback_OnPermissionRequestEvent_Void, OnPermissionRequestEvent, Callback_OnScreenCaptureRequestEvent_Void, OnScreenCaptureRequestEvent, Callback_OnContextMenuShowEvent_Boolean, OnContextMenuShowEvent, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, OnSslErrorEventReceiveEvent, SslErrorEvent, Callback_OnClientAuthenticationEvent_Void, OnClientAuthenticationEvent, Callback_OnWindowNewEvent_Void, OnWindowNewEvent, Callback_OnTouchIconUrlReceivedEvent_Void, OnTouchIconUrlReceivedEvent, Callback_OnFaviconReceivedEvent_Void, OnFaviconReceivedEvent, Callback_OnPageVisibleEvent_Void, OnPageVisibleEvent, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, FirstMeaningfulPaint, LargestContentfulPaint, Callback_OnLoadInterceptEvent_Boolean, OnLoadInterceptEvent, Callback_OnOverScrollEvent_Void, LoadCommittedDetails, IntelligentTrackingPreventionDetails, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, Callback_NativeEmbedDataInfo_Void, NativeEmbedDataInfo, NativeEmbedVisibilityInfo, Callback_NativeEmbedTouchInfo_Void, NativeEmbedTouchInfo, RenderProcessNotRespondingData, ExpandedMenuItemOptions, WebKeyboardCallbackInfo, AdsBlockedDetails, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, WebCaptureMode, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, Literal_String_script_Callback_String_Void_callback_, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Header, Literal_Object_object__String_name_Array_String_methodList, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebNavigationType, WebResourceError, WebResourceErrorInternal, Callback_Literal_String_plainText_Void, Literal_String_plainText, WebKeyboardOptions, WebOptions, NativeEmbedInfo } from "./../web" +import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, BlurOnKeyboardHideMode, CacheMode, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ConsoleMessage, ConsoleMessageInternal, MessageLevel, ContextMenuEditStateFlags, ContextMenuInputFieldType, ContextMenuMediaType, ContextMenuSourceType, ControllerHandler, ControllerHandlerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, EventResult, EventResultInternal, FileSelectorMode, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, HitTestType, HttpAuthHandler, HttpAuthHandlerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, MixedMode, NativeEmbedStatus, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, OverScrollMode, PermissionRequest, PermissionRequestInternal, ProtectedResourceType, RenderExitReason, RenderMode, RenderProcessNotRespondingReason, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScreenCaptureConfig, SslError, SslErrorHandler, SslErrorHandlerInternal, ThreatType, ViewportFit, WebAttribute, JavaScriptProxy, WebDarkMode, WebMediaOptions, Callback_OnPageEndEvent_Void, OnPageEndEvent, Callback_OnPageBeginEvent_Void, OnPageBeginEvent, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, OnTitleReceiveEvent, Callback_OnGeolocationShowEvent_Void, OnGeolocationShowEvent, Callback_OnAlertEvent_Boolean, OnAlertEvent, Callback_OnBeforeUnloadEvent_Boolean, OnBeforeUnloadEvent, Callback_OnConfirmEvent_Boolean, OnConfirmEvent, Callback_OnPromptEvent_Boolean, OnPromptEvent, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, OnErrorReceiveEvent, Callback_OnHttpErrorReceiveEvent_Void, OnHttpErrorReceiveEvent, Callback_OnDownloadStartEvent_Void, OnDownloadStartEvent, Callback_OnRefreshAccessedHistoryEvent_Void, OnRefreshAccessedHistoryEvent, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, WebResourceRequest, WebResourceRequestInternal, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, OnRenderExitedEvent, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_OnResourceLoadEvent_Void, OnResourceLoadEvent, FullScreenEnterEvent, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, OnHttpAuthRequestEvent, Callback_OnInterceptRequestEvent_WebResourceResponse, OnInterceptRequestEvent, WebResourceResponse, WebResourceResponseInternal, Callback_OnPermissionRequestEvent_Void, OnPermissionRequestEvent, Callback_OnScreenCaptureRequestEvent_Void, OnScreenCaptureRequestEvent, Callback_OnContextMenuShowEvent_Boolean, OnContextMenuShowEvent, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, OnSslErrorEventReceiveEvent, SslErrorEvent, Callback_OnClientAuthenticationEvent_Void, OnClientAuthenticationEvent, Callback_OnWindowNewEvent_Void, OnWindowNewEvent, Callback_OnTouchIconUrlReceivedEvent_Void, OnTouchIconUrlReceivedEvent, Callback_OnFaviconReceivedEvent_Void, OnFaviconReceivedEvent, Callback_OnPageVisibleEvent_Void, OnPageVisibleEvent, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, FirstMeaningfulPaint, LargestContentfulPaint, Callback_OnLoadInterceptEvent_Boolean, OnLoadInterceptEvent, Callback_OnOverScrollEvent_Void, LoadCommittedDetails, IntelligentTrackingPreventionDetails, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, Callback_NativeEmbedDataInfo_Void, NativeEmbedDataInfo, NativeEmbedVisibilityInfo, Callback_NativeEmbedTouchInfo_Void, NativeEmbedTouchInfo, RenderProcessNotRespondingData, ExpandedMenuItemOptions, WebKeyboardCallbackInfo, AdsBlockedDetails, WebKeyboardAvoidMode, EmbedOptions, WebElementType, WebResponseType, SelectionMenuOptionsExt, WebCaptureMode, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, Literal_String_script_Callback_String_Void_callback_, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Header, Literal_Object_object__String_name_Array_String_methodList, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebNavigationType, WebResourceError, WebResourceErrorInternal, Callback_Literal_String_plainText_Void, Literal_String_plainText, WebKeyboardOptions, WebOptions, NativeEmbedInfo } from "./../web" import { OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback, AlphabetIndexerAttribute, Callback_Number_Void, IndexerAlign, AlphabetIndexerOptions } from "./../alphabet_indexer" import { OnCheckboxChangeCallback, CheckboxOptions } from "./../checkbox" import { OnCheckboxGroupChangeCallback, SelectStatus, CheckboxGroupResult, CheckboxGroupOptions } from "./../checkboxgroup" -import { OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback, EnterKeyType, InputType, SubmitEvent, SubmitEventInternal, TextInputAttribute, TextInputStyle, PasswordIcon, UnderlineColor, TextInputController, TextInputControllerInternal, TextInputOptions } from "./../text_input" +import { OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback, ContentType, EnterKeyType, InputType, SubmitEvent, SubmitEventInternal, TextInputAttribute, TextInputStyle, PasswordIcon, UnderlineColor, TextInputController, TextInputControllerInternal, TextInputOptions } from "./../text_input" import { OnFoldStatusChangeCallback, OnHoverStatusChangeCallback, OnFoldStatusChangeInfo, HoverEventParam, FolderStackOptions } from "./../folder_stack" import { OnLinearIndicatorChangeCallback, LinearIndicatorController, LinearIndicatorControllerInternal, LinearIndicatorStartOptions, LinearIndicatorStyle } from "./../linearindicator" -import { OnNativeLoadCallback, Callback_String_SurfaceRect_Void, SurfaceRect, SurfaceRotationOptions, XComponentController, XComponentControllerInternal, Literal_Number_surfaceHeight_surfaceWidth, XComponentOptions } from "./../xcomponent" +import { OnNativeLoadCallback, Callback_String_SurfaceRect_Void, SurfaceRect, SurfaceRotationOptions, XComponentController, XComponentControllerInternal, Literal_Number_surfaceHeight_surfaceWidth, NativeXComponentParameters, XComponentOptions } from "./../xcomponent" +import { OnRadioChangeCallback, RadioIndicatorType, RadioOptions, RadioStyle } from "./../radio" +import { OnRatingChangeCallback, RatingOptions, StarStyleOptions } from "./../rating" import { OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallback, ScrollOnWillScrollCallback, Scroller, ScrollerInternal, ScrollAlign, OffsetResult, OnScrollFrameBeginHandlerResult, ScrollAttribute, ScrollDirection, ScrollSnapOptions, OffsetOptions, ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, Literal_Boolean_next_Axis_direction, ScrollToIndexOptions, ScrollAnimationOptions } from "./../scroll" import { OnScrollVisibleContentChangeCallback, ChainEdgeEffect, ScrollState, ListAttribute, ListItemAlign, ListDividerOptions, ChainAnimationOptions, StickyStyle, ScrollSnapAlign, Callback_Number_Number_Number_Void, VisibleListContentInfo, Callback_Number_Boolean, Callback_Number_Number_Boolean, ListItemGroupArea, ListScroller, ListScrollerInternal, CloseSwipeActionOptions, ListOptions } from "./../list" -import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, AnimationMode, BarMode, BarPosition, LayoutStyle, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsAnimationEvent, TabsAttribute, DividerStyle, BarGridColumnOptions, ScrollableBarModeOptions, TabsController, TabsControllerInternal, TabContentAnimatedTransition, Callback_TabContentTransitionProxy_Void, TabsOptions } from "./../tabs" +import { OnSelectCallback, ArrowPosition, AvoidanceMode, MenuAlignType, SelectAttribute, Callback_Number_String_Void, MenuOutlineOptions, Callback_Union_Number_Resource_Void, Callback_ResourceStr_Void, MenuItemConfiguration, MenuItemConfigurationInternal, SelectOption } from "./../select" +import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, AnimationMode, BarMode, BarPosition, LayoutStyle, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsAnimationEvent, TabsAttribute, DividerStyle, BarGridColumnOptions, ScrollableBarModeOptions, TabsCacheMode, TabsController, TabsControllerInternal, TabContentAnimatedTransition, Callback_TabContentTransitionProxy_Void, CommonModifier, TabsOptions } from "./../tabs" +import { OnTextPickerChangeCallback, TextPickerEnterSelectedAreaCallback, TextPickerScrollStopCallback, DividerOptions, TextPickerDialogOptions, Callback_String_Number_Void, Callback_TextPickerResult_Void, TextPickerResult, Callback_Union_Number_Array_Number_Void, Callback_Union_String_Array_String_Void, Type_TextPickerAttribute_onChange_callback, TextCascadePickerRangeContent, TextPickerOptions, TextPickerRangeContent, TextPickerTextStyle } from "./../text_picker" +import { OnTimePickerChangeCallback, TimePickerFormat, TimePickerResult, Callback_TimePickerResult_Void, TimePickerOptions, TimePickerDialogOptions } from "./../time_picker" import { PageTransitionCallback, RouteType, SlideEffect } from "./../page_transition" +import { PasteButtonCallback, PasteButtonOnClickResult, PasteDescription, PasteIconStyle, PasteButtonOptions } from "./../paste_button" import { PluginErrorCallback, PluginErrorData, PluginComponentTemplate, PluginComponentOptions } from "./../plugin_component" -import { ReceiveCallback, BaseShape, BaseShapeInternal, CircleShape, CircleShapeInternal, ShapeSize, CommonShape, CommonShapeInternal, WebviewController, WebviewControllerInternal, Summary, EffectDirection, EffectScope, EllipseShape, EllipseShapeInternal, ImageModifier, IntentionCode, RectWidthStyle, RectHeightStyle, SymbolGlyphModifier, PathShape, PathShapeInternal, PathShapeOptions, PerfMonitorActionType, PerfMonitorSourceType, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, RectShapeOptions, RoundRectShapeOptions, ResolutionQuality, IndicatorStyle, TextModifier, WebHeader, WindowStatusType, AsyncCallback_image_PixelMap_Void, ColorMetrics, ColorMetricsInternal, EdgeStyles, FontInfo, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, SnapshotOptions, FontOptions, MeasureOptions, LabelStyle } from "./../arkui-external" -import { SearchSubmitCallback, CancelButtonStyle, SearchAttribute, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchType, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, SearchButtonOptions, SearchController, SearchControllerInternal, SearchOptions } from "./../search" +import { ReceiveCallback, BaseShape, BaseShapeInternal, CircleShape, CircleShapeInternal, ShapeSize, CommonShape, CommonShapeInternal, WebviewController, WebviewControllerInternal, Summary, EffectDirection, EffectScope, EllipseShape, EllipseShapeInternal, ImageModifier, IntentionCode, RectWidthStyle, RectHeightStyle, SymbolGlyphModifier, PathShape, PathShapeInternal, PathShapeOptions, PerfMonitorActionType, PerfMonitorSourceType, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, RectShapeOptions, RoundRectShapeOptions, ResolutionQuality, TextModifier, IndicatorStyle, WebHeader, WindowStatusType, AsyncCallback_image_PixelMap_Void, ColorMetrics, ColorMetricsInternal, EdgeStyles, FontInfo, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, SnapshotOptions, FontOptions, MeasureOptions, LabelStyle } from "./../arkui-external" +import { SaveButtonCallback, SaveButtonOnClickResult, SaveDescription, SaveIconStyle, SaveButtonOptions } from "./../save_button" +import { SearchSubmitCallback, CancelButtonStyle, SearchAttribute, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchType, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_EditableTextChangeValue_Boolean, SearchButtonOptions, SearchController, SearchControllerInternal, SearchOptions } from "./../search" import { SliderTriggerChangeCallback, SliderAttribute, Callback_Number_SliderChangeMode_Void, SliderChangeMode, SliderBlockStyle, SliderInteraction, SlideRange, SliderBlockType, SliderStyle, SliderOptions } from "./../slider" -import { TextAreaSubmitCallback, ContentType, TextAreaAttribute, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, TextAreaType, TextAreaController, TextAreaControllerInternal, TextAreaOptions } from "./../text_area" -import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ColorFilterInternal, ResourceStr, Dimension, LengthConstrain, ConstraintSizeOptions, DirectionalEdgesT, Area, AccessibilityOptions, Bias, ChainWeightOptions, VP, DividerStyleOptions, PX, LPX, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, MarkStyle, BorderRadiuses, EdgeWidths, EdgeColors, BorderOptions, Padding, OutlineOptions, EdgeOutlineWidths, OutlineRadiuses, EdgeOutlineStyles } from "./../units" +import { StyledStringMarshallCallback, StyledStringUnmarshallCallback, GestureStyle, GestureStyleInternal, GestureStyleInterface, StyledString, StyledStringInternal, MutableStyledString, MutableStyledStringInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, StyleOptions, StyledStringKey, SpanStyle, UserDataSpan, DecorationStyleInterface, UrlStyle, UrlStyleInternal, AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, BaselineOffsetStyle, BaselineOffsetStyleInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, TextShadowStyle, TextShadowStyleInternal, DecorationStyle, DecorationStyleInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, TextStyleInterface, ImageAttachmentLayoutStyle, ParagraphStyle, ParagraphStyleInternal, ParagraphStyleInterface, BackgroundColorStyle, BackgroundColorStyleInternal, ColorFilterType, ImageAttachmentInterface, AttachmentType, ResourceImageAttachmentOptions, StyledStringValue } from "./../styled_string" +import { TextAreaSubmitCallback, TextAreaAttribute, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, TextAreaType, TextAreaController, TextAreaControllerInternal, TextAreaOptions } from "./../text_area" +import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ColorFilterInternal, ResourceStr, Dimension, LengthConstrain, DividerStyleOptions, ConstraintSizeOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" import { WithThemeInterface, WithThemeAttribute, WithThemeOptions } from "./../with_theme" -import { AccessibilityHoverType, Alignment, Color, AnimationStatus, AppRotation, ArrowPointPosition, Axis, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, ColoringStrategy, CopyOptions, Curve, DialogButtonStyle, Direction, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PixelRoundCalcPolicy, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" +import { AccessibilityHoverType, Alignment, Color, AnimationStatus, AppRotation, ArrowPointPosition, Axis, AxisAction, AxisModel, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, ColoringStrategy, CopyOptions, CrownAction, CrownSensitivity, Curve, DialogButtonStyle, Direction, DividerMode, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FocusDrawLevel, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, InteractionHand, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PageFlipMode, PixelRoundCalcPolicy, PixelRoundMode, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" import { Affinity, EllipsisMode, FontStyle, FontWidth, LineMetrics, TextBox, TextBaseline, TextDecorationStyle, TextDecorationType, TextDirection, FontFeature, FontVariation, RunMetrics, RectStyle, Decoration, TextShadow, text } from "./../arkui-graphics-text" import { Resource } from "./../resource" import { AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, AnimationOptions, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal } from "./../arkui-drawabledescriptor" import { PixelMap, PixelMapInternal } from "./../arkui-pixelmap" -import { ArrowPosition, MenuAlignType, SelectAttribute, Callback_Number_String_Void, Callback_Union_Number_Resource_Void, Callback_ResourceStr_Void, MenuItemConfiguration, MenuItemConfigurationInternal, SelectOption } from "./../select" import { BadgePosition, BadgeStyle, BadgeParamWithNumber, BadgeParam, BadgeParamWithString } from "./../badge" import { BarrierDirection, LocalizedBarrierDirection, BarrierStyle, LocalizedBarrierStyle, GuideLinePosition, GuideLineStyle } from "./../relative_container" import { BlendMode, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, RectType, FontMetricsFlags, FontMetrics } from "./../arkui-drawing" import { BreakpointsReference, GridRowDirection, Callback_String_Void, BreakPoints, GridRowColumnOption, GridRowSizeOption, GutterOption, GridRowOptions } from "./../grid_row" import { CalendarAlign, CalendarPickerAttribute, Callback_Date_Void, CalendarOptions, CalendarDialogOptions } from "./../calendar_picker" import { CalendarController, CalendarControllerInternal, Literal_Number_day_month_year, Callback_CalendarRequestedData_Void, CalendarRequestedData, Callback_CalendarSelectedDate_Void, CalendarSelectedDate, CalendarDay, MonthData, CurrentDayStyle, NonCurrentDayStyle, TodayStyle, WeekStyle, WorkStateStyle } from "./../calendar" -import { CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, Path2D, Path2DInternal, TextMetrics, CanvasRenderer, CanvasRendererInternal, ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, CanvasTextAlign, CanvasTextBaseline, CanvasFillRule, ImageData, ImageDataInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, DrawingRenderingContext, DrawingRenderingContextInternal } from "./../canvas" +import { CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, Path2D, Path2DInternal, TextMetrics, DrawingRenderingContext, DrawingRenderingContextInternal, ImageData, ImageDataInternal, CanvasRenderer, CanvasRendererInternal, ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, CanvasTextAlign, CanvasTextBaseline, CanvasFillRule, CanvasRenderingContext2D, CanvasRenderingContext2DInternal } from "./../canvas" import { Matrix2D, Matrix2DInternal } from "./../matrix2d" import { ColorMode, LayoutDirection } from "./../state_management" import { Component3DAttribute, ModelType, SceneOptions } from "./../component3d" import { CustomDialogController, CustomDialogControllerInternal, CustomDialogControllerOptions } from "./../custom_dialog_controller" import { DataOperationType } from "./../lazy_for_each" import { DataPanelType, LinearGradient, LinearGradientInternal, ColorStop, DataPanelOptions, DataPanelShadowOptions } from "./../data_panel" -import { DialogAlignment, DialogButtonDirection, TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, AlertDialogParamWithButtons, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithOptions } from "./../alert_dialog" +import { DatePickerMode, Callback_DatePickerResult_Void, DatePickerResult, DatePickerOptions, LunarSwitchStyle, DatePickerDialogOptions } from "./../date_picker" +import { DialogAlignment, DialogButtonDirection, LevelOrder, TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, AlertDialogParamWithButtons, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithOptions } from "./../alert_dialog" import { DistributionType, DisturbanceFieldShape, ParticleEmitterShape, ParticleType, ParticleUpdater } from "./../particle" -import { DpiFollowStrategy, UIExtensionProxy, UIExtensionProxyInternal, Callback_UIExtensionProxy_Void, Callback_Literal_Number_code__want_Void, Literal_Number_code__want, Callback_Map_String_Object_Void, UIExtensionOptions } from "./../ui_extension_component" +import { DpiFollowStrategy, UIExtensionProxy, UIExtensionProxyInternal, Callback_UIExtensionProxy_Void, WindowModeFollowStrategy, Callback_Literal_Number_code__want_Void, Literal_Number_code__want, Callback_Map_String_Object_Void, UIExtensionOptions } from "./../ui_extension_component" +import { Callback_Void } from "./../ability_component" import { Rect, DrawContext, LengthMetricsUnit, LengthUnit, ShapeClip, ShapeClipInternal, RoundRect, Circle, CommandPath, ShapeMask, ShapeMaskInternal, Size, LengthMetrics, LengthMetricsInternal, Vector2, Vector3, BorderRadiuses_graphics, CornerRadius, Frame, Edges, Matrix4 } from "./../arkui-graphics" import { EditMode, ListItemStyle, Sticky, SwipeActionState, SwipeEdgeEffect, Callback_SwipeActionState_Void, ListItemOptions, SwipeActionItem, SwipeActionOptions } from "./../list_item" import { EffectFillStyle, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffectStrategy, SymbolGlyphAttribute, SymbolRenderingStrategy, AppearSymbolEffect, AppearSymbolEffectInternal, BounceSymbolEffect, BounceSymbolEffectInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal } from "./../symbolglyph" -import { EventTargetInfo, EventTargetInfoInternal, GestureControl, GestureGroupInterface, GestureGroupInterfaceInternal, GestureMode, GestureType, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureJudgeResult, GestureMask, GesturePriority, GestureRecognizer, GestureRecognizerInternal, GestureRecognizerState, GestureInterface, Literal_Number_duration_fingers_Boolean_repeat, Callback_GestureEvent_Void, GestureEvent, GestureEventInternal, PanDirection, Literal_Number_distance_fingers_PanDirection_direction, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Literal_Number_distance_fingers, Literal_Number_angle_fingers, ScrollableTargetInfo, ScrollableTargetInfoInternal, SwipeDirection, Literal_Number_fingers_speed_SwipeDirection_direction, TapGestureParameters, GestureHandler, GestureInfo, BaseGestureEvent, BaseGestureEventInternal, FingerInfo, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal } from "./../gesture" +import { EventTargetInfo, EventTargetInfoInternal, GestureControl, GestureGroupInterface, GestureGroupInterfaceInternal, GestureMode, GestureType, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureJudgeResult, GestureMask, GesturePriority, GestureRecognizer, GestureRecognizerInternal, GestureRecognizerState, GestureInterface, Literal_Number_duration_fingers_Boolean_repeat, LongPressGestureHandlerOptions, Callback_GestureEvent_Void, GestureEvent, GestureEventInternal, LongPressRecognizer, LongPressRecognizerInternal, PanDirection, Literal_Number_distance_fingers_PanDirection_direction, PanGestureOptions, PanGestureOptionsInternal, PanGestureHandlerOptions, PanRecognizer, PanRecognizerInternal, Literal_Number_distance_fingers, PinchGestureHandlerOptions, PinchRecognizer, PinchRecognizerInternal, Literal_Number_angle_fingers, RotationGestureHandlerOptions, RotationRecognizer, RotationRecognizerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, SwipeDirection, Literal_Number_fingers_speed_SwipeDirection_direction, SwipeGestureHandlerOptions, SwipeRecognizer, SwipeRecognizerInternal, TapGestureParameters, TapRecognizer, TapRecognizerInternal, GestureHandler, GestureInfo, BaseGestureEvent, BaseGestureEventInternal, FingerInfo, BaseHandlerOptions, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal } from "./../gesture" import { Filter, FilterInternal, TileMode, WaterRippleMode, FlyMode, VisualEffect, VisualEffectInternal, BrightnessBlender } from "./../arkui-uieffect" -import { FocusPriority, FocusBoxStyle } from "./../focus" +import { FocusPriority, KeyProcessingMode, FocusBoxStyle } from "./../focus" import { FormDimension, FormRenderingMode, FormShape, Callback_FormCallbackInfo_Void, FormCallbackInfo, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, FormInfo } from "./../form_component" import { FrameNode, FrameNodeInternal } from "./../arkui-framenode" import { FrictionMotion, FrictionMotionInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SpringMotion, SpringMotionInternal } from "./../animator" -import { FullscreenInfo, PlaybackInfo, PlaybackSpeed, PreparedInfo, SeekMode, VideoController, VideoControllerInternal, Callback_FullscreenInfo_Void, Callback_PlaybackInfo_Void, Callback_PreparedInfo_Void, VideoOptions } from "./../video" -import { Callback_Void } from "./../ability_component" -import { GestureStyle, GestureStyleInternal, GestureStyleInterface, StyledString, StyledStringInternal, MutableStyledString, MutableStyledStringInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, StyleOptions, StyledStringKey, SpanStyle, DecorationStyleInterface, UrlStyle, UrlStyleInternal, UserDataSpan, AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, BaselineOffsetStyle, BaselineOffsetStyleInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, TextShadowStyle, TextShadowStyleInternal, DecorationStyle, DecorationStyleInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, TextStyleInterface, ImageAttachmentLayoutStyle, BackgroundColorStyle, BackgroundColorStyleInternal, ImageAttachmentInterface, ParagraphStyle, ParagraphStyleInternal, ParagraphStyleInterface, StyledStringValue } from "./../styled_string" +import { FullscreenInfo, PlaybackInfo, PlaybackSpeed, PreparedInfo, SeekMode, VideoController, VideoControllerInternal, Callback_FullscreenInfo_Void, Callback_PlaybackInfo_Void, Callback_PreparedInfo_Void, PosterOptions, VideoOptions } from "./../video" import { GridAttribute, Callback_Number_Number_ComputedBarAttribute, ComputedBarAttribute, Callback_Number_Number_Void, GridDirection, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, GridItemAlignment, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain, Callback_Number_Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, GridLayoutOptions } from "./../grid" import { GridAttribute_onItemDragStart_event_type, ListAttribute_onItemDragStart_event_type, FormComponentAttribute_onRouter_callback_type, TextTimerAttribute_onTimer_event_type, AnimationRange_Number } from "./../type-replacements" import { GridItemStyle, GridItemOptions } from "./../gridItem" -import { ImageAnalyzerController, ImageAnalyzerControllerInternal, ImageAnalyzerType, ImageAnalyzerConfig, ImageAIOptions } from "./../image_common" +import { ImageAnalyzerController, ImageAnalyzerControllerInternal, ImageAnalyzerType, ImageAIOptions, ImageAnalyzerConfig } from "./../image_common" import { IndicatorComponentController, IndicatorComponentControllerInternal } from "./../indicatorcomponent" import { ItemState } from "./../stepper_item" -import { LayoutMode, SelectedMode, TabBarSymbol, BoardStyle, TabBarIconStyle, TabBarOptions, BottomTabBarStyle, SubTabBarStyle } from "./../tab_content" +import { LayoutMode, SelectedMode, TabBarSymbol, TabBarIconStyle, TabBarOptions, BoardStyle, BottomTabBarStyle, SubTabBarStyle } from "./../tab_content" import { ListItemGroupStyle, ListItemGroupOptions } from "./../list_item_group" import { LoadingProgressStyle } from "./../loading_progress" -import { LocationButtonOnClickResult, LocationDescription, LocationIconStyle, Callback_ClickEvent_LocationButtonOnClickResult_Void, LocationButtonOptions } from "./../location_button" +import { MarqueeStartPolicy, MarqueeState, TextAttribute, TextOverflowOptions, TextMarqueeOptions, Callback_MarqueeState_Void, TextSpanType, TextResponseType, TextController, TextControllerInternal, TextOptions } from "./../text" import { Matrix4Transit, Matrix4TransitInternal, TranslateOption, ScaleOption, RotateOption, PolyToPolyOptions } from "./../arkui-matrix4" import { Tuple_Number_Number, Tuple_Number_Number_Number } from "./../arkui-synthetics" -import { NavDestinationAttribute, Callback_Boolean, NavDestinationMode, Callback_NavDestinationContext_Void, NavDestinationContext, NavDestinationContextInternal, NavigationSystemTransitionType, NavDestinationCommonTitle, NavDestinationCustomTitle, RouteMapConfig } from "./../nav_destination" import { NavigationType } from "./../navigator" import { NavRouteMode, RouteInfo } from "./../nav_router" import { NodeController } from "./../ohos.arkui.node" import { Offset_componentutils, RotateResult, ScaleResult, TranslateResult, ComponentInfo, Matrix4Result } from "./../arkui-componentutils" import { PanelHeight, PanelMode, PanelType, Callback_Number_Number_PanelMode_Void, Callback_PanelMode_Void } from "./../panel" -import { PasteButtonOnClickResult, PasteDescription, PasteIconStyle, Callback_ClickEvent_PasteButtonOnClickResult_Void, PasteButtonOptions } from "./../paste_button" import { PatternLockChallengeResult, PatternLockController, PatternLockControllerInternal, Callback_Array_Number_Void, CircleStyleOptions } from "./../pattern_lock" import { ProgressStatus, ProgressStyle, ProgressType, ProgressOptions, LinearStyleOptions, ScanEffectOptions, CommonProgressStyleOptions, ProgressStyleOptions, RingStyleOptions, CapsuleStyleOptions } from "./../progress" -import { RadioIndicatorType, RadioOptions, RadioStyle } from "./../radio" import { RefreshStatus, Callback_RefreshStatus_Void, RefreshOptions } from "./../refresh" import { RootSceneSession } from "./../root_scene" import { RRect, WindowAnimationTarget } from "./../remote_window" -import { SaveButtonOnClickResult, SaveDescription, SaveIconStyle, Callback_ClickEvent_SaveButtonOnClickResult_Void, SaveButtonOptions } from "./../save_button" import { ScrollBarDirection, ScrollBarOptions } from "./../scroll_bar" import { SecurityComponentLayoutDirection } from "./../security_component" import { ContentModifier, Callback_WrappedBuilder_Args_Void, CommonConfiguration, WrappedBuilder } from "./../arkui-wrapper-builder" -import { DividerOptions, TextPickerDialogOptions, Callback_String_Number_Void, Callback_TextPickerResult_Void, TextPickerResult, Callback_Union_Number_Array_Number_Void, Callback_Union_String_Array_String_Void, Type_TextPickerAttribute_onChange_callback, TextCascadePickerRangeContent, TextPickerOptions, TextPickerRangeContent } from "./../text_picker" import { ShapeAttribute, ViewportRect } from "./../shape" import { SideBarContainerType, SideBarPosition, ButtonIconOptions, ButtonStyle } from "./../sidebar" import { SizeType, GridContainerOptions } from "./../grid_container" import { SubMenuExpandingMode } from "./../menu" -import { TextAttribute, TextOverflowOptions, TextSpanType, TextResponseType, TextController, TextControllerInternal, TextOptions } from "./../text" import { TextClockController, TextClockControllerInternal, TextClockOptions } from "./../text_clock" import { TextTimerController, TextTimerControllerInternal, TextTimerOptions } from "./../text_timer" -import { TimePickerFormat, TimePickerResult, Callback_TimePickerResult_Void, TimePickerOptions, TimePickerDialogOptions } from "./../time_picker" import { ToggleType, ToggleOptions, SwitchStyle } from "./../toggle" import { UniformDataType } from "./../arkui-uniformtypedescriptor" import { WindowSceneAttribute } from "./../window_scene" -import { Callback_Array_String_Void, Callback_Array_TextMenuItem_Void, Callback_ComputedBarAttribute_Void, Callback_CustomBuilder_Void, Callback_CustomSpanMetrics_Void, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_Literal_Number_offsetRemain_Void, Callback_OffsetResult_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Pointer_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void } from "./../generator_synthetic" -import { Callback_DatePickerResult_Void, DatePickerResult, DatePickerOptions, LunarSwitchStyle, DatePickerDialogOptions } from "./../date_picker" -import { Callback_DismissDialogAction_Void, DismissDialogAction, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions } from "./../action_sheet" +import { Callback_Array_String_Void, Callback_Array_TextMenuItem_Void, Callback_Buffer_Void, Callback_ComputedBarAttribute_Void, Callback_CustomBuilder_Void, Callback_CustomSpanMetrics_Void, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_Literal_Number_offsetRemain_Void, Callback_OffsetResult_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_Opt_Array_NavDestinationTransition_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Pointer_Void, Callback_StyledStringMarshallingValue_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void } from "./../generator_synthetic" +import { Callback_DismissDialogAction_Void, DismissDialogAction, ImmersiveMode, LevelMode, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions } from "./../action_sheet" import { Want } from "./../ohos.app.ability" import { Callback_TerminationInfo_Void, TerminationInfo } from "./../embedded_component" import { BusinessError } from "./../base" import { Profiler } from "./../inspector" import { ASTCResource } from "./../media_cached_image" import { CircleOptions } from "./../circle" -import { ColumnOptions } from "./../column" +import { ColumnOptions, ColumnOptionsV2 } from "./../column" import { common2D } from "./../ohos.graphics.common2D" import { CustomDialogBuildOptions, CustomDialogControllerBuilder } from "./../arkui-custom-dialog" import { DateTimeOptions } from "./../arkui-intl" import { EllipseOptions } from "./../ellipse" import { FormLinkOptions } from "./../form_link" -import { GaugeOptions, GaugeIndicatorOptions, GaugeShadowOptions } from "./../gauge" +import { GaugeOptions, GaugeShadowOptions, GaugeIndicatorOptions } from "./../gauge" import { GridColColumnOption, GridColOptions } from "./../grid_col" import { LineOptions } from "./../line" import { MarqueeOptions } from "./../marquee" import { PathOptions } from "./../path" import { PolygonOptions } from "./../polygon" import { PolylineOptions } from "./../polyline" -import { RatingOptions, StarStyleOptions } from "./../rating" import { RoundedRectOptions, RectOptions } from "./../rect" -import { RowOptions } from "./../row" +import { RowOptions, RowOptionsV2 } from "./../row" import { StackOptions } from "./../stack" import { TransformationMatrix } from "./../arkui-common" -import { ColumnSplitDividerStyle } from "./../column_split" +import { VirtualScrollOptions, VirtualScrollOptionsInternal } from "./../repeat" import { FlexSpaceOptions, FlexOptions } from "./../flex" import { ImageFrameInfo } from "./../image_animator" import { MenuItemGroupOptions } from "./../menu_item_group" import { MenuItemOptions } from "./../menu_item" +import { ColumnSplitDividerStyle } from "./../column_split" import { RenderNode, RenderNodeInternal } from "./../arkui-rendernode" import { TextBackgroundStyle } from "./../span" @@ -170,7 +171,7 @@ export class Deserializer extends DeserializerBase { constructor(data: KSerializerBuffer | KUint8ArrayPtr, length: int32) { super(data, length) } - readAccessibilityCallback(isSync: boolean = false): AccessibilityCallback { + public readAccessibilityCallback(isSync: boolean = false): AccessibilityCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -185,390 +186,406 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readAlphabetIndexerAttribute(): AlphabetIndexerAttribute { + public readAccessibilityFocusCallback(isSync: boolean = false): AccessibilityFocusCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (isFocus: boolean):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBoolean(isFocus); + (isSync) ? (InteropNativeModule._CallCallbackSync(1715445305, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1715445305, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readAlphabetIndexerAttribute(): AlphabetIndexerAttribute { throw new Error("Interface with functions is not supported") } - readAnimatedDrawableDescriptor(): AnimatedDrawableDescriptor { + public readAnimatedDrawableDescriptor(): AnimatedDrawableDescriptor { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return AnimatedDrawableDescriptorInternal.fromPtr(ptr) } - readBaseShape(): BaseShape { + public readBaseShape(): BaseShape { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return BaseShapeInternal.fromPtr(ptr) } - readCalendarController(): CalendarController { + public readCalendarController(): CalendarController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return CalendarControllerInternal.fromPtr(ptr) } - readCalendarPickerAttribute(): CalendarPickerAttribute { + public readCalendarPickerAttribute(): CalendarPickerAttribute { throw new Error("Interface with functions is not supported") } - readCanvasGradient(): CanvasGradient { + public readCanvasGradient(): CanvasGradient { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return CanvasGradientInternal.fromPtr(ptr) } - readCanvasPath(): CanvasPath { + public readCanvasPath(): CanvasPath { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return CanvasPathInternal.fromPtr(ptr) } - readCanvasPattern(): CanvasPattern { + public readCanvasPattern(): CanvasPattern { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return CanvasPatternInternal.fromPtr(ptr) } - readCircleShape(): CircleShape { + public readCircleShape(): CircleShape { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return CircleShapeInternal.fromPtr(ptr) } - readClientAuthenticationHandler(): ClientAuthenticationHandler { + public readClientAuthenticationHandler(): ClientAuthenticationHandler { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ClientAuthenticationHandlerInternal.fromPtr(ptr) } - readColorFilter(): ColorFilter { + public readColorContent(): ColorContent { + let value : ColorContent = ({} as ColorContent) + return value + } + public readColorFilter(): ColorFilter { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ColorFilterInternal.fromPtr(ptr) } - readCommonShape(): CommonShape { + public readCommonShape(): CommonShape { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return CommonShapeInternal.fromPtr(ptr) } - readComponent3DAttribute(): Component3DAttribute { + public readComponent3DAttribute(): Component3DAttribute { throw new Error("Interface with functions is not supported") } - readComponentContent(): ComponentContent { + public readComponentContent(): ComponentContent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ComponentContentInternal.fromPtr(ptr) } - readConsoleMessage(): ConsoleMessage { + public readConsoleMessage(): ConsoleMessage { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ConsoleMessageInternal.fromPtr(ptr) } - readControllerHandler(): ControllerHandler { + public readControllerHandler(): ControllerHandler { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ControllerHandlerInternal.fromPtr(ptr) } - readCustomDialogController(): CustomDialogController { + public readCustomDialogController(): CustomDialogController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return CustomDialogControllerInternal.fromPtr(ptr) } - readDataResubmissionHandler(): DataResubmissionHandler { + public readDataResubmissionHandler(): DataResubmissionHandler { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return DataResubmissionHandlerInternal.fromPtr(ptr) } - readDragEvent(): DragEvent { + public readDragEvent(): DragEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return DragEventInternal.fromPtr(ptr) } - readDrawableDescriptor(): DrawableDescriptor { + public readDrawableDescriptor(): DrawableDescriptor { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return DrawableDescriptorInternal.fromPtr(ptr) } - readDrawingCanvas(): DrawingCanvas { + public readDrawingCanvas(): DrawingCanvas { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return DrawingCanvasInternal.fromPtr(ptr) } - readDrawingColorFilter(): DrawingColorFilter { + public readDrawingColorFilter(): DrawingColorFilter { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return DrawingColorFilterInternal.fromPtr(ptr) } - readDrawingLattice(): DrawingLattice { + public readDrawingLattice(): DrawingLattice { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return DrawingLatticeInternal.fromPtr(ptr) } - readDrawModifier(): DrawModifier { + public readDrawModifier(): DrawModifier { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return DrawModifierInternal.fromPtr(ptr) } - readEdgeEffectOptions(): EdgeEffectOptions { - let valueDeserializer : Deserializer = this - const alwaysEnabled_result : boolean = valueDeserializer.readBoolean() - let value : EdgeEffectOptions = ({alwaysEnabled: alwaysEnabled_result} as EdgeEffectOptions) - return value - } - readEllipseShape(): EllipseShape { + public readEllipseShape(): EllipseShape { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return EllipseShapeInternal.fromPtr(ptr) } - readEventResult(): EventResult { + public readEventResult(): EventResult { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return EventResultInternal.fromPtr(ptr) } - readEventTargetInfo(): EventTargetInfo { + public readEventTargetInfo(): EventTargetInfo { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return EventTargetInfoInternal.fromPtr(ptr) } - readFileSelectorParam(): FileSelectorParam { + public readFileSelectorParam(): FileSelectorParam { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return FileSelectorParamInternal.fromPtr(ptr) } - readFileSelectorResult(): FileSelectorResult { + public readFileSelectorResult(): FileSelectorResult { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return FileSelectorResultInternal.fromPtr(ptr) } - readFilter(): Filter { + public readFilter(): Filter { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return FilterInternal.fromPtr(ptr) } - readFrameNode(): FrameNode { + public readFrameNode(): FrameNode { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return FrameNodeInternal.fromPtr(ptr) } - readFrictionMotion(): FrictionMotion { + public readFrictionMotion(): FrictionMotion { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return FrictionMotionInternal.fromPtr(ptr) } - readFullScreenExitHandler(): FullScreenExitHandler { + public readFullScreenExitHandler(): FullScreenExitHandler { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return FullScreenExitHandlerInternal.fromPtr(ptr) } - readFullscreenInfo(): FullscreenInfo { + public readFullscreenInfo(): FullscreenInfo { let valueDeserializer : Deserializer = this const fullscreen_result : boolean = valueDeserializer.readBoolean() let value : FullscreenInfo = ({fullscreen: fullscreen_result} as FullscreenInfo) return value } - readGestureGroupInterface(): GestureGroupInterface { + public readGestureGroupInterface(): GestureGroupInterface { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return GestureGroupInterfaceInternal.fromPtr(ptr) } - readGestureModifier(): GestureModifier { + public readGestureModifier(): GestureModifier { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return GestureModifierInternal.fromPtr(ptr) } - readGestureRecognizer(): GestureRecognizer { + public readGestureRecognizer(): GestureRecognizer { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return GestureRecognizerInternal.fromPtr(ptr) } - readGestureStyle(): GestureStyle { + public readGestureStyle(): GestureStyle { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return GestureStyleInternal.fromPtr(ptr) } - readGridAttribute(): GridAttribute { + public readGridAttribute(): GridAttribute { throw new Error("Interface with functions is not supported") } - readHttpAuthHandler(): HttpAuthHandler { + public readHttpAuthHandler(): HttpAuthHandler { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return HttpAuthHandlerInternal.fromPtr(ptr) } - readICurve(): ICurve { + public readICurve(): ICurve { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ICurveInternal.fromPtr(ptr) } - readImageAnalyzerController(): ImageAnalyzerController { + public readImageAnalyzerController(): ImageAnalyzerController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ImageAnalyzerControllerInternal.fromPtr(ptr) } - readImageModifier(): ImageModifier { + public readImageModifier(): ImageModifier { let value : ImageModifier = ({} as ImageModifier) return value } - readIndicatorComponentController(): IndicatorComponentController { + public readIndicatorComponentController(): IndicatorComponentController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return IndicatorComponentControllerInternal.fromPtr(ptr) } - readJsGeolocation(): JsGeolocation { + public readJsGeolocation(): JsGeolocation { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return JsGeolocationInternal.fromPtr(ptr) } - readJsResult(): JsResult { + public readJsResult(): JsResult { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return JsResultInternal.fromPtr(ptr) } - readLayeredDrawableDescriptor(): LayeredDrawableDescriptor { + public readLayeredDrawableDescriptor(): LayeredDrawableDescriptor { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return LayeredDrawableDescriptorInternal.fromPtr(ptr) } - readLayoutManager(): LayoutManager { + public readLayoutManager(): LayoutManager { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return LayoutManagerInternal.fromPtr(ptr) } - readLinearGradient(): LinearGradient { + public readLayoutPolicy(): LayoutPolicy { + let value : LayoutPolicy = ({} as LayoutPolicy) + return value + } + public readLinearGradient(): LinearGradient { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return LinearGradientInternal.fromPtr(ptr) } - readLinearIndicatorController(): LinearIndicatorController { + public readLinearIndicatorController(): LinearIndicatorController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return LinearIndicatorControllerInternal.fromPtr(ptr) } - readListAttribute(): ListAttribute { + public readListAttribute(): ListAttribute { throw new Error("Interface with functions is not supported") } - readListScroller(): ListScroller { + public readListScroller(): ListScroller { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ListScrollerInternal.fromPtr(ptr) } - readLongPressGestureInterface(): LongPressGestureInterface { + public readLongPressGestureInterface(): LongPressGestureInterface { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return LongPressGestureInterfaceInternal.fromPtr(ptr) } - readMatrix4Transit(): Matrix4Transit { + public readLongPressRecognizer(): LongPressRecognizer { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() - return Matrix4TransitInternal.fromPtr(ptr) + return LongPressRecognizerInternal.fromPtr(ptr) } - readMeasurable(): Measurable { + public readMatrix4Transit(): Matrix4Transit { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() - return MeasurableInternal.fromPtr(ptr) + return Matrix4TransitInternal.fromPtr(ptr) } - readNativeMediaPlayerConfig(): NativeMediaPlayerConfig { + public readNativeMediaPlayerConfig(): NativeMediaPlayerConfig { let valueDeserializer : Deserializer = this const enable_result : boolean = valueDeserializer.readBoolean() const shouldOverlay_result : boolean = valueDeserializer.readBoolean() let value : NativeMediaPlayerConfig = ({enable: enable_result, shouldOverlay: shouldOverlay_result} as NativeMediaPlayerConfig) return value } - readNavDestinationAttribute(): NavDestinationAttribute { + public readNavDestinationAttribute(): NavDestinationAttribute { throw new Error("Interface with functions is not supported") } - readNavigationAttribute(): NavigationAttribute { + public readNavigationAttribute(): NavigationAttribute { throw new Error("Interface with functions is not supported") } - readNavPathStack(): NavPathStack { + public readNavPathStack(): NavPathStack { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return NavPathStackInternal.fromPtr(ptr) } - readNestedScrollOptions(): NestedScrollOptions { + public readNestedScrollOptions(): NestedScrollOptions { let valueDeserializer : Deserializer = this const scrollForward_result : NestedScrollMode = TypeChecker.NestedScrollMode_FromNumeric(valueDeserializer.readInt32()) const scrollBackward_result : NestedScrollMode = TypeChecker.NestedScrollMode_FromNumeric(valueDeserializer.readInt32()) let value : NestedScrollOptions = ({scrollForward: scrollForward_result, scrollBackward: scrollBackward_result} as NestedScrollOptions) return value } - readNodeController(): NodeController { + public readNodeController(): NodeController { let value : NodeController = ({} as NodeController) return value } - readOffscreenCanvas(): OffscreenCanvas { + public readOffscreenCanvas(): OffscreenCanvas { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return OffscreenCanvasInternal.fromPtr(ptr) } - readOffset_componentutils(): Offset_componentutils { + public readOffset_componentutils(): Offset_componentutils { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) const y_result : number = (valueDeserializer.readNumber() as number) let value : Offset_componentutils = ({x: x_result, y: y_result} as Offset_componentutils) return value } - readOffsetResult(): OffsetResult { + public readOffsetResult(): OffsetResult { let valueDeserializer : Deserializer = this const xOffset_result : number = (valueDeserializer.readNumber() as number) const yOffset_result : number = (valueDeserializer.readNumber() as number) let value : OffsetResult = ({xOffset: xOffset_result, yOffset: yOffset_result} as OffsetResult) return value } - readOnAudioStateChangedEvent(): OnAudioStateChangedEvent { + public readOnAudioStateChangedEvent(): OnAudioStateChangedEvent { let valueDeserializer : Deserializer = this const playing_result : boolean = valueDeserializer.readBoolean() let value : OnAudioStateChangedEvent = ({playing: playing_result} as OnAudioStateChangedEvent) return value } - readOnConsoleEvent(): OnConsoleEvent { + public readOnConsoleEvent(): OnConsoleEvent { let valueDeserializer : Deserializer = this const message_result : ConsoleMessage = (valueDeserializer.readConsoleMessage() as ConsoleMessage) let value : OnConsoleEvent = ({message: message_result} as OnConsoleEvent) return value } - readOnDataResubmittedEvent(): OnDataResubmittedEvent { + public readOnDataResubmittedEvent(): OnDataResubmittedEvent { let valueDeserializer : Deserializer = this const handler_result : DataResubmissionHandler = (valueDeserializer.readDataResubmissionHandler() as DataResubmissionHandler) let value : OnDataResubmittedEvent = ({handler: handler_result} as OnDataResubmittedEvent) return value } - readOnFirstContentfulPaintEvent(): OnFirstContentfulPaintEvent { + public readOnFirstContentfulPaintEvent(): OnFirstContentfulPaintEvent { let valueDeserializer : Deserializer = this const navigationStartTick_result : number = (valueDeserializer.readNumber() as number) const firstContentfulPaintMs_result : number = (valueDeserializer.readNumber() as number) let value : OnFirstContentfulPaintEvent = ({navigationStartTick: navigationStartTick_result, firstContentfulPaintMs: firstContentfulPaintMs_result} as OnFirstContentfulPaintEvent) return value } - readOnFoldStatusChangeInfo(): OnFoldStatusChangeInfo { + public readOnFoldStatusChangeInfo(): OnFoldStatusChangeInfo { let valueDeserializer : Deserializer = this const foldStatus_result : FoldStatus = TypeChecker.FoldStatus_FromNumeric(valueDeserializer.readInt32()) let value : OnFoldStatusChangeInfo = ({foldStatus: foldStatus_result} as OnFoldStatusChangeInfo) return value } - readOnOverScrollEvent(): OnOverScrollEvent { + public readOnOverScrollEvent(): OnOverScrollEvent { let valueDeserializer : Deserializer = this const xOffset_result : number = (valueDeserializer.readNumber() as number) const yOffset_result : number = (valueDeserializer.readNumber() as number) let value : OnOverScrollEvent = ({xOffset: xOffset_result, yOffset: yOffset_result} as OnOverScrollEvent) return value } - readOnProgressChangeEvent(): OnProgressChangeEvent { + public readOnProgressChangeEvent(): OnProgressChangeEvent { let valueDeserializer : Deserializer = this const newProgress_result : number = (valueDeserializer.readNumber() as number) let value : OnProgressChangeEvent = ({newProgress: newProgress_result} as OnProgressChangeEvent) return value } - readOnScaleChangeEvent(): OnScaleChangeEvent { + public readOnScaleChangeEvent(): OnScaleChangeEvent { let valueDeserializer : Deserializer = this const oldScale_result : number = (valueDeserializer.readNumber() as number) const newScale_result : number = (valueDeserializer.readNumber() as number) let value : OnScaleChangeEvent = ({oldScale: oldScale_result, newScale: newScale_result} as OnScaleChangeEvent) return value } - readOnScrollEvent(): OnScrollEvent { + public readOnScrollEvent(): OnScrollEvent { let valueDeserializer : Deserializer = this const xOffset_result : number = (valueDeserializer.readNumber() as number) const yOffset_result : number = (valueDeserializer.readNumber() as number) let value : OnScrollEvent = ({xOffset: xOffset_result, yOffset: yOffset_result} as OnScrollEvent) return value } - readOnScrollFrameBeginHandlerResult(): OnScrollFrameBeginHandlerResult { + public readOnScrollFrameBeginHandlerResult(): OnScrollFrameBeginHandlerResult { let valueDeserializer : Deserializer = this const offsetRemain_result : number = (valueDeserializer.readNumber() as number) let value : OnScrollFrameBeginHandlerResult = ({offsetRemain: offsetRemain_result} as OnScrollFrameBeginHandlerResult) return value } - readOnSearchResultReceiveEvent(): OnSearchResultReceiveEvent { + public readOnSearchResultReceiveEvent(): OnSearchResultReceiveEvent { let valueDeserializer : Deserializer = this const activeMatchOrdinal_result : number = (valueDeserializer.readNumber() as number) const numberOfMatches_result : number = (valueDeserializer.readNumber() as number) @@ -576,98 +593,109 @@ export class Deserializer extends DeserializerBase { let value : OnSearchResultReceiveEvent = ({activeMatchOrdinal: activeMatchOrdinal_result, numberOfMatches: numberOfMatches_result, isDoneCounting: isDoneCounting_result} as OnSearchResultReceiveEvent) return value } - readOnShowFileSelectorEvent(): OnShowFileSelectorEvent { + public readOnShowFileSelectorEvent(): OnShowFileSelectorEvent { let valueDeserializer : Deserializer = this const result_result : FileSelectorResult = (valueDeserializer.readFileSelectorResult() as FileSelectorResult) const fileSelector_result : FileSelectorParam = (valueDeserializer.readFileSelectorParam() as FileSelectorParam) let value : OnShowFileSelectorEvent = ({result: result_result, fileSelector: fileSelector_result} as OnShowFileSelectorEvent) return value } - readPanGestureInterface(): PanGestureInterface { + public readPanGestureInterface(): PanGestureInterface { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PanGestureInterfaceInternal.fromPtr(ptr) } - readPanGestureOptions(): PanGestureOptions { + public readPanGestureOptions(): PanGestureOptions { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PanGestureOptionsInternal.fromPtr(ptr) } - readPanRecognizer(): PanRecognizer { + public readPanRecognizer(): PanRecognizer { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PanRecognizerInternal.fromPtr(ptr) } - readPath2D(): Path2D { + public readPath2D(): Path2D { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return Path2DInternal.fromPtr(ptr) } - readPathShape(): PathShape { + public readPathShape(): PathShape { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PathShapeInternal.fromPtr(ptr) } - readPatternLockController(): PatternLockController { + public readPatternLockController(): PatternLockController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PatternLockControllerInternal.fromPtr(ptr) } - readPermissionRequest(): PermissionRequest { + public readPermissionRequest(): PermissionRequest { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PermissionRequestInternal.fromPtr(ptr) } - readPinchGestureInterface(): PinchGestureInterface { + public readPinchGestureInterface(): PinchGestureInterface { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PinchGestureInterfaceInternal.fromPtr(ptr) } - readPixelMap(): PixelMap { + public readPinchRecognizer(): PinchRecognizer { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return PinchRecognizerInternal.fromPtr(ptr) + } + public readPixelMap(): PixelMap { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PixelMapInternal.fromPtr(ptr) } - readPixelMapDrawableDescriptor(): PixelMapDrawableDescriptor { + public readPixelMapDrawableDescriptor(): PixelMapDrawableDescriptor { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PixelMapDrawableDescriptorInternal.fromPtr(ptr) } - readPixelMapMock(): PixelMapMock { + public readPixelMapMock(): PixelMapMock { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PixelMapMockInternal.fromPtr(ptr) } - readPlaybackInfo(): PlaybackInfo { + public readPlaybackInfo(): PlaybackInfo { let valueDeserializer : Deserializer = this const time_result : number = (valueDeserializer.readNumber() as number) let value : PlaybackInfo = ({time: time_result} as PlaybackInfo) return value } - readPositionWithAffinity(): PositionWithAffinity { + public readPopupStateChangeParam(): PopupStateChangeParam { + let valueDeserializer : Deserializer = this + const isVisible_result : boolean = valueDeserializer.readBoolean() + let value : PopupStateChangeParam = ({isVisible: isVisible_result} as PopupStateChangeParam) + return value + } + public readPositionWithAffinity(): PositionWithAffinity { let valueDeserializer : Deserializer = this const position_result : number = (valueDeserializer.readNumber() as number) const affinity_result : Affinity = TypeChecker.Affinity_FromNumeric(valueDeserializer.readInt32()) let value : PositionWithAffinity = ({position: position_result, affinity: affinity_result} as PositionWithAffinity) return value } - readPreparedInfo(): PreparedInfo { + public readPreparedInfo(): PreparedInfo { let valueDeserializer : Deserializer = this const duration_result : number = (valueDeserializer.readNumber() as number) let value : PreparedInfo = ({duration: duration_result} as PreparedInfo) return value } - readProgressMask(): ProgressMask { + public readProgressMask(): ProgressMask { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ProgressMaskInternal.fromPtr(ptr) } - readPulseSymbolEffect(): PulseSymbolEffect { + public readPulseSymbolEffect(): PulseSymbolEffect { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PulseSymbolEffectInternal.fromPtr(ptr) } - readRect(): Rect { + public readRect(): Rect { let valueDeserializer : Deserializer = this const left_result : number = (valueDeserializer.readNumber() as number) const top_result : number = (valueDeserializer.readNumber() as number) @@ -676,7 +704,7 @@ export class Deserializer extends DeserializerBase { let value : Rect = ({left: left_result, top: top_result, right: right_result, bottom: bottom_result} as Rect) return value } - readRectResult(): RectResult { + public readRectResult(): RectResult { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) const y_result : number = (valueDeserializer.readNumber() as number) @@ -685,46 +713,46 @@ export class Deserializer extends DeserializerBase { let value : RectResult = ({x: x_result, y: y_result, width: width_result, height: height_result} as RectResult) return value } - readRectShape(): RectShape { + public readRectShape(): RectShape { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return RectShapeInternal.fromPtr(ptr) } - readRichEditorAttribute(): RichEditorAttribute { + public readRichEditorAttribute(): RichEditorAttribute { throw new Error("Interface with functions is not supported") } - readRichEditorBaseController(): RichEditorBaseController { + public readRichEditorBaseController(): RichEditorBaseController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return RichEditorBaseControllerInternal.fromPtr(ptr) } - readRichEditorController(): RichEditorController { + public readRichEditorController(): RichEditorController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return RichEditorControllerInternal.fromPtr(ptr) } - readRichEditorOptions(): RichEditorOptions { + public readRichEditorOptions(): RichEditorOptions { let valueDeserializer : Deserializer = this const controller_result : RichEditorController = (valueDeserializer.readRichEditorController() as RichEditorController) let value : RichEditorOptions = ({controller: controller_result} as RichEditorOptions) return value } - readRichEditorStyledStringController(): RichEditorStyledStringController { + public readRichEditorStyledStringController(): RichEditorStyledStringController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return RichEditorStyledStringControllerInternal.fromPtr(ptr) } - readRichEditorStyledStringOptions(): RichEditorStyledStringOptions { + public readRichEditorStyledStringOptions(): RichEditorStyledStringOptions { let valueDeserializer : Deserializer = this const controller_result : RichEditorStyledStringController = (valueDeserializer.readRichEditorStyledStringController() as RichEditorStyledStringController) let value : RichEditorStyledStringOptions = ({controller: controller_result} as RichEditorStyledStringOptions) return value } - readRootSceneSession(): RootSceneSession { + public readRootSceneSession(): RootSceneSession { let value : RootSceneSession = ({} as RootSceneSession) return value } - readRotateResult(): RotateResult { + public readRotateResult(): RotateResult { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) const y_result : number = (valueDeserializer.readNumber() as number) @@ -735,12 +763,17 @@ export class Deserializer extends DeserializerBase { let value : RotateResult = ({x: x_result, y: y_result, z: z_result, centerX: centerX_result, centerY: centerY_result, angle: angle_result} as RotateResult) return value } - readRotationGestureInterface(): RotationGestureInterface { + public readRotationGestureInterface(): RotationGestureInterface { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return RotationGestureInterfaceInternal.fromPtr(ptr) } - readRRect(): RRect { + public readRotationRecognizer(): RotationRecognizer { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return RotationRecognizerInternal.fromPtr(ptr) + } + public readRRect(): RRect { let valueDeserializer : Deserializer = this const left_result : number = (valueDeserializer.readNumber() as number) const top_result : number = (valueDeserializer.readNumber() as number) @@ -750,7 +783,7 @@ export class Deserializer extends DeserializerBase { let value : RRect = ({left: left_result, top: top_result, width: width_result, height: height_result, radius: radius_result} as RRect) return value } - readScaleResult(): ScaleResult { + public readScaleResult(): ScaleResult { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) const y_result : number = (valueDeserializer.readNumber() as number) @@ -760,104 +793,104 @@ export class Deserializer extends DeserializerBase { let value : ScaleResult = ({x: x_result, y: y_result, z: z_result, centerX: centerX_result, centerY: centerY_result} as ScaleResult) return value } - readScene(): Scene { + public readScene(): Scene { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return SceneInternal.fromPtr(ptr) } - readScreenCaptureHandler(): ScreenCaptureHandler { + public readScreenCaptureHandler(): ScreenCaptureHandler { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ScreenCaptureHandlerInternal.fromPtr(ptr) } - readScrollableTargetInfo(): ScrollableTargetInfo { + public readScrollableTargetInfo(): ScrollableTargetInfo { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ScrollableTargetInfoInternal.fromPtr(ptr) } - readScrollAttribute(): ScrollAttribute { + public readScrollAttribute(): ScrollAttribute { throw new Error("Interface with functions is not supported") } - readScroller(): Scroller { + public readScroller(): Scroller { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ScrollerInternal.fromPtr(ptr) } - readScrollMotion(): ScrollMotion { + public readScrollMotion(): ScrollMotion { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ScrollMotionInternal.fromPtr(ptr) } - readSearchAttribute(): SearchAttribute { + public readSearchAttribute(): SearchAttribute { throw new Error("Interface with functions is not supported") } - readSearchController(): SearchController { + public readSearchController(): SearchController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return SearchControllerInternal.fromPtr(ptr) } - readSelectAttribute(): SelectAttribute { + public readSelectAttribute(): SelectAttribute { throw new Error("Interface with functions is not supported") } - readShapeAttribute(): ShapeAttribute { + public readShapeAttribute(): ShapeAttribute { throw new Error("Interface with functions is not supported") } - readShapeClip(): ShapeClip { + public readShapeClip(): ShapeClip { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ShapeClipInternal.fromPtr(ptr) } - readShapeMask(): ShapeMask { + public readShapeMask(): ShapeMask { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ShapeMaskInternal.fromPtr(ptr) } - readSize(): Size { + public readSize(): Size { let valueDeserializer : Deserializer = this const width_result : number = (valueDeserializer.readNumber() as number) const height_result : number = (valueDeserializer.readNumber() as number) let value : Size = ({width: width_result, height: height_result} as Size) return value } - readSliderAttribute(): SliderAttribute { + public readSliderAttribute(): SliderAttribute { throw new Error("Interface with functions is not supported") } - readSpringMotion(): SpringMotion { + public readSpringMotion(): SpringMotion { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return SpringMotionInternal.fromPtr(ptr) } - readSpringProp(): SpringProp { + public readSpringProp(): SpringProp { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return SpringPropInternal.fromPtr(ptr) } - readSslErrorHandler(): SslErrorHandler { + public readSslErrorHandler(): SslErrorHandler { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return SslErrorHandlerInternal.fromPtr(ptr) } - readStyledString(): StyledString { + public readStyledString(): StyledString { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return StyledStringInternal.fromPtr(ptr) } - readStyledStringController(): StyledStringController { + public readStyledStringController(): StyledStringController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return StyledStringControllerInternal.fromPtr(ptr) } - readSubmitEvent(): SubmitEvent { + public readSubmitEvent(): SubmitEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return SubmitEventInternal.fromPtr(ptr) } - readSwipeGestureInterface(): SwipeGestureInterface { + public readSwipeGestureInterface(): SwipeGestureInterface { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return SwipeGestureInterfaceInternal.fromPtr(ptr) } - readSwiperAnimationEvent(): SwiperAnimationEvent { + public readSwiperAnimationEvent(): SwiperAnimationEvent { let valueDeserializer : Deserializer = this const currentOffset_result : number = (valueDeserializer.readNumber() as number) const targetOffset_result : number = (valueDeserializer.readNumber() as number) @@ -865,37 +898,50 @@ export class Deserializer extends DeserializerBase { let value : SwiperAnimationEvent = ({currentOffset: currentOffset_result, targetOffset: targetOffset_result, velocity: velocity_result} as SwiperAnimationEvent) return value } - readSwiperAttribute(): SwiperAttribute { + public readSwiperAttribute(): SwiperAttribute { throw new Error("Interface with functions is not supported") } - readSwiperContentTransitionProxy(): SwiperContentTransitionProxy { + public readSwiperContentTransitionProxy(): SwiperContentTransitionProxy { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return SwiperContentTransitionProxyInternal.fromPtr(ptr) } - readSwiperController(): SwiperController { + public readSwiperContentWillScrollResult(): SwiperContentWillScrollResult { + let valueDeserializer : Deserializer = this + const currentIndex_result : number = (valueDeserializer.readNumber() as number) + const comingIndex_result : number = (valueDeserializer.readNumber() as number) + const offset_result : number = (valueDeserializer.readNumber() as number) + let value : SwiperContentWillScrollResult = ({currentIndex: currentIndex_result, comingIndex: comingIndex_result, offset: offset_result} as SwiperContentWillScrollResult) + return value + } + public readSwiperController(): SwiperController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return SwiperControllerInternal.fromPtr(ptr) } - readSymbolEffect(): SymbolEffect { + public readSwipeRecognizer(): SwipeRecognizer { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return SwipeRecognizerInternal.fromPtr(ptr) + } + public readSymbolEffect(): SymbolEffect { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return SymbolEffectInternal.fromPtr(ptr) } - readSymbolGlyphAttribute(): SymbolGlyphAttribute { + public readSymbolGlyphAttribute(): SymbolGlyphAttribute { throw new Error("Interface with functions is not supported") } - readSymbolGlyphModifier(): SymbolGlyphModifier { + public readSymbolGlyphModifier(): SymbolGlyphModifier { let value : SymbolGlyphModifier = ({} as SymbolGlyphModifier) return value } - readTabContentTransitionProxy(): TabContentTransitionProxy { + public readTabContentTransitionProxy(): TabContentTransitionProxy { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TabContentTransitionProxyInternal.fromPtr(ptr) } - readTabsAnimationEvent(): TabsAnimationEvent { + public readTabsAnimationEvent(): TabsAnimationEvent { let valueDeserializer : Deserializer = this const currentOffset_result : number = (valueDeserializer.readNumber() as number) const targetOffset_result : number = (valueDeserializer.readNumber() as number) @@ -903,69 +949,74 @@ export class Deserializer extends DeserializerBase { let value : TabsAnimationEvent = ({currentOffset: currentOffset_result, targetOffset: targetOffset_result, velocity: velocity_result} as TabsAnimationEvent) return value } - readTabsAttribute(): TabsAttribute { + public readTabsAttribute(): TabsAttribute { throw new Error("Interface with functions is not supported") } - readTabsController(): TabsController { + public readTabsController(): TabsController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TabsControllerInternal.fromPtr(ptr) } - readTapGestureInterface(): TapGestureInterface { + public readTapGestureInterface(): TapGestureInterface { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TapGestureInterfaceInternal.fromPtr(ptr) } - readTextAreaAttribute(): TextAreaAttribute { + public readTapRecognizer(): TapRecognizer { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return TapRecognizerInternal.fromPtr(ptr) + } + public readTextAreaAttribute(): TextAreaAttribute { throw new Error("Interface with functions is not supported") } - readTextAreaController(): TextAreaController { + public readTextAreaController(): TextAreaController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TextAreaControllerInternal.fromPtr(ptr) } - readTextAttribute(): TextAttribute { + public readTextAttribute(): TextAttribute { throw new Error("Interface with functions is not supported") } - readTextBaseController(): TextBaseController { + public readTextBaseController(): TextBaseController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TextBaseControllerInternal.fromPtr(ptr) } - readTextClockController(): TextClockController { + public readTextClockController(): TextClockController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TextClockControllerInternal.fromPtr(ptr) } - readTextContentControllerBase(): TextContentControllerBase { + public readTextContentControllerBase(): TextContentControllerBase { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TextContentControllerBaseInternal.fromPtr(ptr) } - readTextController(): TextController { + public readTextController(): TextController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TextControllerInternal.fromPtr(ptr) } - readTextEditControllerEx(): TextEditControllerEx { + public readTextEditControllerEx(): TextEditControllerEx { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TextEditControllerExInternal.fromPtr(ptr) } - readTextInputAttribute(): TextInputAttribute { + public readTextInputAttribute(): TextInputAttribute { throw new Error("Interface with functions is not supported") } - readTextInputController(): TextInputController { + public readTextInputController(): TextInputController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TextInputControllerInternal.fromPtr(ptr) } - readTextMenuItemId(): TextMenuItemId { + public readTextMenuItemId(): TextMenuItemId { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TextMenuItemIdInternal.fromPtr(ptr) } - readTextMetrics(): TextMetrics { + public readTextMetrics(): TextMetrics { let valueDeserializer : Deserializer = this const actualBoundingBoxAscent_result : number = (valueDeserializer.readNumber() as number) const actualBoundingBoxDescent_result : number = (valueDeserializer.readNumber() as number) @@ -983,28 +1034,28 @@ export class Deserializer extends DeserializerBase { let value : TextMetrics = ({actualBoundingBoxAscent: actualBoundingBoxAscent_result, actualBoundingBoxDescent: actualBoundingBoxDescent_result, actualBoundingBoxLeft: actualBoundingBoxLeft_result, actualBoundingBoxRight: actualBoundingBoxRight_result, alphabeticBaseline: alphabeticBaseline_result, emHeightAscent: emHeightAscent_result, emHeightDescent: emHeightDescent_result, fontBoundingBoxAscent: fontBoundingBoxAscent_result, fontBoundingBoxDescent: fontBoundingBoxDescent_result, hangingBaseline: hangingBaseline_result, ideographicBaseline: ideographicBaseline_result, width: width_result, height: height_result} as TextMetrics) return value } - readTextModifier(): TextModifier { + public readTextModifier(): TextModifier { let value : TextModifier = ({} as TextModifier) return value } - readTextOptions(): TextOptions { + public readTextOptions(): TextOptions { let valueDeserializer : Deserializer = this const controller_result : TextController = (valueDeserializer.readTextController() as TextController) let value : TextOptions = ({controller: controller_result} as TextOptions) return value } - readTextOverflowOptions(): TextOverflowOptions { + public readTextOverflowOptions(): TextOverflowOptions { let valueDeserializer : Deserializer = this const overflow_result : TextOverflow = TypeChecker.TextOverflow_FromNumeric(valueDeserializer.readInt32()) let value : TextOverflowOptions = ({overflow: overflow_result} as TextOverflowOptions) return value } - readTextTimerController(): TextTimerController { + public readTextTimerController(): TextTimerController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TextTimerControllerInternal.fromPtr(ptr) } - readTimePickerResult(): TimePickerResult { + public readTimePickerResult(): TimePickerResult { let valueDeserializer : Deserializer = this const hour_result : number = (valueDeserializer.readNumber() as number) const minute_result : number = (valueDeserializer.readNumber() as number) @@ -1012,7 +1063,7 @@ export class Deserializer extends DeserializerBase { let value : TimePickerResult = ({hour: hour_result, minute: minute_result, second: second_result} as TimePickerResult) return value } - readTouchTestInfo(): TouchTestInfo { + public readTouchTestInfo(): TouchTestInfo { let valueDeserializer : Deserializer = this const windowX_result : number = (valueDeserializer.readNumber() as number) const windowY_result : number = (valueDeserializer.readNumber() as number) @@ -1025,12 +1076,12 @@ export class Deserializer extends DeserializerBase { let value : TouchTestInfo = ({windowX: windowX_result, windowY: windowY_result, parentX: parentX_result, parentY: parentY_result, x: x_result, y: y_result, rect: rect_result, id: id_result} as TouchTestInfo) return value } - readTransitionEffect(): TransitionEffect { + public readTransitionEffect(): TransitionEffect { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TransitionEffectInternal.fromPtr(ptr) } - readTranslateResult(): TranslateResult { + public readTranslateResult(): TranslateResult { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) const y_result : number = (valueDeserializer.readNumber() as number) @@ -1038,46 +1089,46 @@ export class Deserializer extends DeserializerBase { let value : TranslateResult = ({x: x_result, y: y_result, z: z_result} as TranslateResult) return value } - readUICommonEvent(): UICommonEvent { + public readUICommonEvent(): UICommonEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return UICommonEventInternal.fromPtr(ptr) } - readUIContext(): UIContext { + public readUIContext(): UIContext { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return UIContextInternal.fromPtr(ptr) } - readUIExtensionProxy(): UIExtensionProxy { + public readUIExtensionProxy(): UIExtensionProxy { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return UIExtensionProxyInternal.fromPtr(ptr) } - readUIGestureEvent(): UIGestureEvent { + public readUIGestureEvent(): UIGestureEvent { throw new Error("Interface with functions is not supported") } - readUnifiedData(): UnifiedData { + public readUnifiedData(): UnifiedData { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return UnifiedDataInternal.fromPtr(ptr) } - readUrlStyle(): UrlStyle { + public readUrlStyle(): UrlStyle { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return UrlStyleInternal.fromPtr(ptr) } - readUserDataSpan(): UserDataSpan { + public readUserDataSpan(): UserDataSpan { let value : UserDataSpan = ({} as UserDataSpan) return value } - readVector2(): Vector2 { + public readVector2(): Vector2 { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) const y_result : number = (valueDeserializer.readNumber() as number) let value : Vector2 = ({x: x_result, y: y_result} as Vector2) return value } - readVector3(): Vector3 { + public readVector3(): Vector3 { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) const y_result : number = (valueDeserializer.readNumber() as number) @@ -1085,85 +1136,85 @@ export class Deserializer extends DeserializerBase { let value : Vector3 = ({x: x_result, y: y_result, z: z_result} as Vector3) return value } - readVideoController(): VideoController { + public readVideoController(): VideoController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return VideoControllerInternal.fromPtr(ptr) } - readView(): View { + public readView(): View { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ViewInternal.fromPtr(ptr) } - readVisualEffect(): VisualEffect { + public readVisualEffect(): VisualEffect { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return VisualEffectInternal.fromPtr(ptr) } - readWaterFlowAttribute(): WaterFlowAttribute { + public readWaterFlowAttribute(): WaterFlowAttribute { throw new Error("Interface with functions is not supported") } - readWaterFlowSections(): WaterFlowSections { + public readWaterFlowSections(): WaterFlowSections { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return WaterFlowSectionsInternal.fromPtr(ptr) } - readWebAttribute(): WebAttribute { + public readWebAttribute(): WebAttribute { throw new Error("Interface with functions is not supported") } - readWebContextMenuParam(): WebContextMenuParam { + public readWebContextMenuParam(): WebContextMenuParam { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return WebContextMenuParamInternal.fromPtr(ptr) } - readWebContextMenuResult(): WebContextMenuResult { + public readWebContextMenuResult(): WebContextMenuResult { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return WebContextMenuResultInternal.fromPtr(ptr) } - readWebController(): WebController { + public readWebController(): WebController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return WebControllerInternal.fromPtr(ptr) } - readWebCookie(): WebCookie { + public readWebCookie(): WebCookie { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return WebCookieInternal.fromPtr(ptr) } - readWebHeader(): WebHeader { + public readWebHeader(): WebHeader { let valueDeserializer : Deserializer = this const headerKey_result : string = (valueDeserializer.readString() as string) const headerValue_result : string = (valueDeserializer.readString() as string) let value : WebHeader = ({headerKey: headerKey_result, headerValue: headerValue_result} as WebHeader) return value } - readWebKeyboardController(): WebKeyboardController { + public readWebKeyboardController(): WebKeyboardController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return WebKeyboardControllerInternal.fromPtr(ptr) } - readWebResourceError(): WebResourceError { + public readWebResourceError(): WebResourceError { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return WebResourceErrorInternal.fromPtr(ptr) } - readWebResourceRequest(): WebResourceRequest { + public readWebResourceRequest(): WebResourceRequest { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return WebResourceRequestInternal.fromPtr(ptr) } - readWebResourceResponse(): WebResourceResponse { + public readWebResourceResponse(): WebResourceResponse { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return WebResourceResponseInternal.fromPtr(ptr) } - readWebviewController(): WebviewController { + public readWebviewController(): WebviewController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return WebviewControllerInternal.fromPtr(ptr) } - readWindowAnimationTarget(): WindowAnimationTarget { + public readWindowAnimationTarget(): WindowAnimationTarget { let valueDeserializer : Deserializer = this const bundleName_result : string = (valueDeserializer.readString() as string) const abilityName_result : string = (valueDeserializer.readString() as string) @@ -1172,19 +1223,19 @@ export class Deserializer extends DeserializerBase { let value : WindowAnimationTarget = ({bundleName: bundleName_result, abilityName: abilityName_result, windowBounds: windowBounds_result, missionId: missionId_result} as WindowAnimationTarget) return value } - readWindowSceneAttribute(): WindowSceneAttribute { + public readWindowSceneAttribute(): WindowSceneAttribute { throw new Error("Interface with functions is not supported") } - readWithThemeAttribute(): WithThemeAttribute { + public readWithThemeAttribute(): WithThemeAttribute { let value : WithThemeAttribute = ({} as WithThemeAttribute) return value } - readWorkerEventListener(): WorkerEventListener { + public readWorkerEventListener(): WorkerEventListener { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return WorkerEventListenerInternal.fromPtr(ptr) } - readAsyncCallback_Array_TextMenuItem_Array_TextMenuItem(isSync: boolean = false): ((menuItems: Array) => Array) { + public readAsyncCallback_Array_TextMenuItem_Array_TextMenuItem(isSync: boolean = false): ((menuItems: Array) => Array) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1205,7 +1256,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as Array); } } - readAsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics(isSync: boolean = false): ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics) { + public readAsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics(isSync: boolean = false): ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1222,7 +1273,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as CustomSpanMetrics); } } - readAsyncCallback_image_PixelMap_Void(isSync: boolean = false): ((result: PixelMap) => void) { + public readAsyncCallback_image_PixelMap_Void(isSync: boolean = false): ((result: PixelMap) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1236,7 +1287,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readAsyncCallback_TextMenuItem_TextRange_Boolean(isSync: boolean = false): ((menuItem: TextMenuItem,range: TextRange) => boolean) { + public readAsyncCallback_TextMenuItem_TextRange_Boolean(isSync: boolean = false): ((menuItem: TextMenuItem,range: TextRange) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1254,7 +1305,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readButtonTriggerClickCallback(isSync: boolean = false): ButtonTriggerClickCallback { + public readButtonTriggerClickCallback(isSync: boolean = false): ButtonTriggerClickCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1269,7 +1320,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Area_Area_Void(isSync: boolean = false): ((oldValue: Area,newValue: Area) => void) { + public readCallback_Area_Area_Void(isSync: boolean = false): ((oldValue: Area,newValue: Area) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1284,7 +1335,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Array_Number_Void(isSync: boolean = false): ((input: Array) => void) { + public readCallback_Array_Number_Void(isSync: boolean = false): ((input: Array) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1302,7 +1353,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Array_String_Void(isSync: boolean = false): ((value: Array) => void) { + public readCallback_Array_String_Void(isSync: boolean = false): ((value: Array) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1320,7 +1371,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Array_TextMenuItem_Void(isSync: boolean = false): ((value: Array) => void) { + public readCallback_Array_TextMenuItem_Void(isSync: boolean = false): ((value: Array) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1338,7 +1389,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Array_TouchTestInfo_TouchResult(isSync: boolean = false): ((value: Array) => TouchResult) { + public readCallback_Array_TouchTestInfo_TouchResult(isSync: boolean = false): ((value: Array) => TouchResult) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1359,7 +1410,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as TouchResult); } } - readCallback_Boolean(isSync: boolean = false): (() => boolean) { + public readCallback_AxisEvent_Void(isSync: boolean = false): ((parameter: AxisEvent) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: AxisEvent):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeAxisEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(109087936, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(109087936, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_Boolean(isSync: boolean = false): (() => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1375,7 +1440,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_Boolean_HoverEvent_Void(isSync: boolean = false): ((isHover: boolean,event: HoverEvent) => void) { + public readCallback_Boolean_HoverEvent_Void(isSync: boolean = false): ((isHover: boolean,event: HoverEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1390,7 +1455,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Boolean_Void(isSync: boolean = false): ((isVisible: boolean) => void) { + public readCallback_Boolean_Void(isSync: boolean = false): ((isVisible: boolean) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1404,122 +1469,105 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_CalendarRequestedData_Void(isSync: boolean = false): ((event: CalendarRequestedData) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (event: CalendarRequestedData):void => { - const _argsSerializer : Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCalendarRequestedData(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readCallback_CalendarSelectedDate_Void(isSync: boolean = false): ((event: CalendarSelectedDate) => void) { + public readCallback_Buffer_Void(isSync: boolean = false): ((value: NativeBuffer) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (event: CalendarSelectedDate):void => { + return (value: NativeBuffer):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCalendarSelectedDate(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeBuffer(value); + (isSync) ? (InteropNativeModule._CallCallbackSync(908731311, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(908731311, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_ClickEvent_LocationButtonOnClickResult_Void(isSync: boolean = false): ((event: ClickEvent,result: LocationButtonOnClickResult) => void) { + public readCallback_CalendarRequestedData_Void(isSync: boolean = false): ((event: CalendarRequestedData) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (event: ClickEvent, result: LocationButtonOnClickResult):void => { + return (event: CalendarRequestedData):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeClickEvent(event); - _argsSerializer.writeInt32(TypeChecker.LocationButtonOnClickResult_ToNumeric(result)); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1189087745, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1189087745, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeCalendarRequestedData(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_ClickEvent_PasteButtonOnClickResult_Void(isSync: boolean = false): ((event: ClickEvent,result: PasteButtonOnClickResult) => void) { + public readCallback_CalendarSelectedDate_Void(isSync: boolean = false): ((event: CalendarSelectedDate) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (event: ClickEvent, result: PasteButtonOnClickResult):void => { + return (event: CalendarSelectedDate):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeClickEvent(event); - _argsSerializer.writeInt32(TypeChecker.PasteButtonOnClickResult_ToNumeric(result)); - (isSync) ? (InteropNativeModule._CallCallbackSync(659292561, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(659292561, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeCalendarSelectedDate(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_ClickEvent_SaveButtonOnClickResult_Void(isSync: boolean = false): ((event: ClickEvent,result: SaveButtonOnClickResult) => void) { + public readCallback_ClickEvent_Void(isSync: boolean = false): ((event: ClickEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (event: ClickEvent, result: SaveButtonOnClickResult):void => { + return (event: ClickEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeClickEvent(event); - _argsSerializer.writeInt32(TypeChecker.SaveButtonOnClickResult_ToNumeric(result)); - (isSync) ? (InteropNativeModule._CallCallbackSync(846787331, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(846787331, _argsSerializer.asBuffer(), _argsSerializer.length())); + (isSync) ? (InteropNativeModule._CallCallbackSync(1097178637, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1097178637, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_ClickEvent_Void(isSync: boolean = false): ((event: ClickEvent) => void) { + public readCallback_ComputedBarAttribute_Void(isSync: boolean = false): ((value: ComputedBarAttribute) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (event: ClickEvent):void => { + return (value: ComputedBarAttribute):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeClickEvent(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(1097178637, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1097178637, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeComputedBarAttribute(value); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1270343661, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1270343661, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_ComputedBarAttribute_Void(isSync: boolean = false): ((value: ComputedBarAttribute) => void) { + public readCallback_CopyEvent_Void(isSync: boolean = false): ((parameter: CopyEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (value: ComputedBarAttribute):void => { + return (parameter: CopyEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeComputedBarAttribute(value); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1270343661, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1270343661, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeCopyEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_CopyEvent_Void(isSync: boolean = false): ((parameter: CopyEvent) => void) { + public readCallback_CrownEvent_Void(isSync: boolean = false): ((parameter: CrownEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (parameter: CopyEvent):void => { + return (parameter: CrownEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCopyEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeCrownEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-827253372, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-827253372, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_CustomBuilder_Void(isSync: boolean = false): ((value: CustomBuilder) => void) { + public readCallback_CustomBuilder_Void(isSync: boolean = false): ((value: CustomBuilder) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1533,7 +1581,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_CustomSpanMetrics_Void(isSync: boolean = false): ((value: CustomSpanMetrics) => void) { + public readCallback_CustomSpanMetrics_Void(isSync: boolean = false): ((value: CustomSpanMetrics) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1547,7 +1595,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_CutEvent_Void(isSync: boolean = false): ((parameter: CutEvent) => void) { + public readCallback_CutEvent_Void(isSync: boolean = false): ((parameter: CutEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1561,7 +1609,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Date_Void(isSync: boolean = false): ((parameter: Date) => void) { + public readCallback_Date_Void(isSync: boolean = false): ((parameter: Date) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1575,7 +1623,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DatePickerResult_Void(isSync: boolean = false): ((value: DatePickerResult) => void) { + public readCallback_DatePickerResult_Void(isSync: boolean = false): ((value: DatePickerResult) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1589,7 +1637,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DeleteValue_Boolean(isSync: boolean = false): ((parameter: DeleteValue) => boolean) { + public readCallback_DeleteValue_Boolean(isSync: boolean = false): ((parameter: DeleteValue) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1606,7 +1654,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_DeleteValue_Void(isSync: boolean = false): ((parameter: DeleteValue) => void) { + public readCallback_DeleteValue_Void(isSync: boolean = false): ((parameter: DeleteValue) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1620,7 +1668,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DismissContentCoverAction_Void(isSync: boolean = false): ((parameter: DismissContentCoverAction) => void) { + public readCallback_DismissContentCoverAction_Void(isSync: boolean = false): ((parameter: DismissContentCoverAction) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1634,7 +1682,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DismissDialogAction_Void(isSync: boolean = false): ((parameter: DismissDialogAction) => void) { + public readCallback_DismissDialogAction_Void(isSync: boolean = false): ((parameter: DismissDialogAction) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1648,7 +1696,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DismissPopupAction_Void(isSync: boolean = false): ((parameter: DismissPopupAction) => void) { + public readCallback_DismissPopupAction_Void(isSync: boolean = false): ((parameter: DismissPopupAction) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1662,7 +1710,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DismissSheetAction_Void(isSync: boolean = false): ((parameter: DismissSheetAction) => void) { + public readCallback_DismissSheetAction_Void(isSync: boolean = false): ((parameter: DismissSheetAction) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1676,7 +1724,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(isSync: boolean = false): ((event: DragEvent,extraParams?: string) => CustomBuilder | DragItemInfo) { + public readCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(isSync: boolean = false): ((event: DragEvent,extraParams?: string) => CustomBuilder | DragItemInfo) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1688,7 +1736,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writeDragEvent(event); let extraParams_type : int32 = RuntimeType.UNDEFINED; extraParams_type = runtimeType(extraParams); - _argsSerializer.writeInt8(extraParams_type as int32); + _argsSerializer.writeInt8(extraParams_type); if ((RuntimeType.UNDEFINED) != (extraParams_type)) { const extraParams_value = extraParams!; _argsSerializer.writeString(extraParams_value); @@ -1700,7 +1748,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as CustomBuilder | DragItemInfo); } } - readCallback_DragEvent_String_Void(isSync: boolean = false): ((event: DragEvent,extraParams?: string) => void) { + public readCallback_DragEvent_String_Void(isSync: boolean = false): ((event: DragEvent,extraParams?: string) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1712,7 +1760,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writeDragEvent(event); let extraParams_type : int32 = RuntimeType.UNDEFINED; extraParams_type = runtimeType(extraParams); - _argsSerializer.writeInt8(extraParams_type as int32); + _argsSerializer.writeInt8(extraParams_type); if ((RuntimeType.UNDEFINED) != (extraParams_type)) { const extraParams_value = extraParams!; _argsSerializer.writeString(extraParams_value); @@ -1721,7 +1769,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DrawContext_CustomSpanDrawInfo_Void(isSync: boolean = false): ((context: DrawContext,drawInfo: CustomSpanDrawInfo) => void) { + public readCallback_DrawContext_CustomSpanDrawInfo_Void(isSync: boolean = false): ((context: DrawContext,drawInfo: CustomSpanDrawInfo) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1736,7 +1784,24 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_EnterKeyType_Void(isSync: boolean = false): ((enterKey: EnterKeyType) => void) { + public readCallback_EditableTextChangeValue_Boolean(isSync: boolean = false): ((parameter: EditableTextChangeValue) => boolean) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: EditableTextChangeValue):boolean => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeEditableTextChangeValue(parameter); + let _continuationValue : boolean | undefined; + const _continuationCallback : ((isVisible: boolean) => void) = (value: boolean):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-602545319, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-602545319, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } + public readCallback_EnterKeyType_Void(isSync: boolean = false): ((enterKey: EnterKeyType) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1750,7 +1815,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Extender_OnFinish(isSync: boolean = false): Callback_Extender_OnFinish { + public readCallback_Extender_OnFinish(isSync: boolean = false): Callback_Extender_OnFinish { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1763,7 +1828,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Extender_OnProgress(isSync: boolean = false): Callback_Extender_OnProgress { + public readCallback_Extender_OnProgress(isSync: boolean = false): Callback_Extender_OnProgress { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1777,7 +1842,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_FormCallbackInfo_Void(isSync: boolean = false): ((parameter: FormCallbackInfo) => void) { + public readCallback_FocusAxisEvent_Void(isSync: boolean = false): ((parameter: FocusAxisEvent) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: FocusAxisEvent):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeFocusAxisEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(394781580, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(394781580, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_FormCallbackInfo_Void(isSync: boolean = false): ((parameter: FormCallbackInfo) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1791,7 +1870,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_FullscreenInfo_Void(isSync: boolean = false): ((parameter: FullscreenInfo) => void) { + public readCallback_FullscreenInfo_Void(isSync: boolean = false): ((parameter: FullscreenInfo) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1805,7 +1884,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_GestureEvent_Void(isSync: boolean = false): ((event: GestureEvent) => void) { + public readCallback_GestureEvent_Void(isSync: boolean = false): ((event: GestureEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1819,7 +1898,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(isSync: boolean = false): ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult) { + public readCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(isSync: boolean = false): ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1837,7 +1916,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as GestureJudgeResult); } } - readCallback_GestureJudgeResult_Void(isSync: boolean = false): ((value: GestureJudgeResult) => void) { + public readCallback_GestureJudgeResult_Void(isSync: boolean = false): ((value: GestureJudgeResult) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1851,7 +1930,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_GestureRecognizer_Void(isSync: boolean = false): ((value: GestureRecognizer) => void) { + public readCallback_GestureRecognizer_Void(isSync: boolean = false): ((value: GestureRecognizer) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1865,7 +1944,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_HitTestMode_Void(isSync: boolean = false): ((value: HitTestMode) => void) { + public readCallback_HitTestMode_Void(isSync: boolean = false): ((value: HitTestMode) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1879,7 +1958,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_InsertValue_Boolean(isSync: boolean = false): ((parameter: InsertValue) => boolean) { + public readCallback_HoverEvent_Void(isSync: boolean = false): ((parameter: HoverEvent) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: HoverEvent):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeHoverEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1576788379, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1576788379, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_InsertValue_Boolean(isSync: boolean = false): ((parameter: InsertValue) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1896,7 +1989,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_InsertValue_Void(isSync: boolean = false): ((parameter: InsertValue) => void) { + public readCallback_InsertValue_Void(isSync: boolean = false): ((parameter: InsertValue) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1910,7 +2003,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_ItemDragInfo_Number_Number_Boolean_Void(isSync: boolean = false): ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) { + public readCallback_ItemDragInfo_Number_Number_Boolean_Void(isSync: boolean = false): ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1927,7 +2020,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_ItemDragInfo_Number_Number_Void(isSync: boolean = false): ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) { + public readCallback_ItemDragInfo_Number_Number_Void(isSync: boolean = false): ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1943,7 +2036,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_ItemDragInfo_Number_Void(isSync: boolean = false): ((event: ItemDragInfo,itemIndex: number) => void) { + public readCallback_ItemDragInfo_Number_Void(isSync: boolean = false): ((event: ItemDragInfo,itemIndex: number) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1958,7 +2051,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_ItemDragInfo_Void(isSync: boolean = false): ((event: ItemDragInfo) => void) { + public readCallback_ItemDragInfo_Void(isSync: boolean = false): ((event: ItemDragInfo) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1972,7 +2065,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_KeyEvent_Boolean(isSync: boolean = false): ((parameter: KeyEvent) => boolean) { + public readCallback_KeyEvent_Boolean(isSync: boolean = false): ((parameter: KeyEvent) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -1989,7 +2082,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_KeyEvent_Void(isSync: boolean = false): ((event: KeyEvent) => void) { + public readCallback_KeyEvent_Void(isSync: boolean = false): ((event: KeyEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2003,7 +2096,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Literal_Boolean_isVisible_Void(isSync: boolean = false): ((event: Literal_Boolean_isVisible) => void) { + public readCallback_Literal_Boolean_isVisible_Void(isSync: boolean = false): ((event: Literal_Boolean_isVisible) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2018,7 +2111,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Literal_Function_handler_Object_error_Void(isSync: boolean = false): ((event?: Literal_Function_handler_Object_error) => void) { + public readCallback_Literal_Function_handler_Object_error_Void(isSync: boolean = false): ((event?: Literal_Function_handler_Object_error) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2029,7 +2122,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writePointer(_callSync); let event_type : int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); - _argsSerializer.writeInt8(event_type as int32); + _argsSerializer.writeInt8(event_type); if ((RuntimeType.UNDEFINED) != (event_type)) { const event_value = event!; const event_value_handler = event_value.handler; @@ -2041,7 +2134,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Literal_Number_code__want_Void(isSync: boolean = false): ((parameter: Literal_Number_code__want) => void) { + public readCallback_Literal_Number_code__want_Void(isSync: boolean = false): ((parameter: Literal_Number_code__want) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2055,7 +2148,7 @@ export class Deserializer extends DeserializerBase { const parameter_want = parameter.want; let parameter_want_type : int32 = RuntimeType.UNDEFINED; parameter_want_type = runtimeType(parameter_want); - _argsSerializer.writeInt8(parameter_want_type as int32); + _argsSerializer.writeInt8(parameter_want_type); if ((RuntimeType.UNDEFINED) != (parameter_want_type)) { const parameter_want_value = parameter_want!; _argsSerializer.writeWant(parameter_want_value); @@ -2064,7 +2157,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Literal_Number_errcode_String_msg_Void(isSync: boolean = false): ((info: Literal_Number_errcode_String_msg) => void) { + public readCallback_Literal_Number_errcode_String_msg_Void(isSync: boolean = false): ((info: Literal_Number_errcode_String_msg) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2081,7 +2174,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Literal_Number_offsetRemain_Void(isSync: boolean = false): ((value: Literal_Number_offsetRemain) => void) { + public readCallback_Literal_Number_offsetRemain_Void(isSync: boolean = false): ((value: Literal_Number_offsetRemain) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2096,7 +2189,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Literal_Object_detail_Boolean(isSync: boolean = false): ((event?: Literal_Object_detail) => boolean) { + public readCallback_Literal_Object_detail_Boolean(isSync: boolean = false): ((event?: Literal_Object_detail) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2107,7 +2200,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writePointer(_callSync); let event_type : int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); - _argsSerializer.writeInt8(event_type as int32); + _argsSerializer.writeInt8(event_type); if ((RuntimeType.UNDEFINED) != (event_type)) { const event_value = event!; const event_value_detail = event_value.detail; @@ -2120,7 +2213,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_Literal_String_plainText_Void(isSync: boolean = false): ((selectedText: Literal_String_plainText) => void) { + public readCallback_Literal_String_plainText_Void(isSync: boolean = false): ((selectedText: Literal_String_plainText) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2135,7 +2228,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Map_String_Object_Void(isSync: boolean = false): ((parameter: Map) => void) { + public readCallback_Map_String_Object_Void(isSync: boolean = false): ((parameter: Map) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2155,7 +2248,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_MouseEvent_Void(isSync: boolean = false): ((event: MouseEvent) => void) { + public readCallback_MarqueeState_Void(isSync: boolean = false): ((parameter: MarqueeState) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: MarqueeState):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(TypeChecker.MarqueeState_ToNumeric(parameter)); + (isSync) ? (InteropNativeModule._CallCallbackSync(-716263454, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-716263454, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_MouseEvent_Void(isSync: boolean = false): ((event: MouseEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2169,7 +2276,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NativeEmbedDataInfo_Void(isSync: boolean = false): ((event: NativeEmbedDataInfo) => void) { + public readCallback_NativeEmbedDataInfo_Void(isSync: boolean = false): ((event: NativeEmbedDataInfo) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2183,7 +2290,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NativeEmbedTouchInfo_Void(isSync: boolean = false): ((event: NativeEmbedTouchInfo) => void) { + public readCallback_NativeEmbedTouchInfo_Void(isSync: boolean = false): ((event: NativeEmbedTouchInfo) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2197,7 +2304,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NavDestinationContext_Void(isSync: boolean = false): ((parameter: NavDestinationContext) => void) { + public readCallback_NavDestinationActiveReason_Void(isSync: boolean = false): ((parameter: NavDestinationActiveReason) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: NavDestinationActiveReason):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(TypeChecker.NavDestinationActiveReason_ToNumeric(parameter)); + (isSync) ? (InteropNativeModule._CallCallbackSync(634825762, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(634825762, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_NavDestinationContext_Void(isSync: boolean = false): ((parameter: NavDestinationContext) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2211,7 +2332,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NavigationMode_Void(isSync: boolean = false): ((mode: NavigationMode) => void) { + public readCallback_NavigationMode_Void(isSync: boolean = false): ((mode: NavigationMode) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2225,7 +2346,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NavigationTitleMode_Void(isSync: boolean = false): ((titleMode: NavigationTitleMode) => void) { + public readCallback_NavigationTitleMode_Void(isSync: boolean = false): ((titleMode: NavigationTitleMode) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2239,7 +2360,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NavigationTransitionProxy_Void(isSync: boolean = false): ((transitionProxy: NavigationTransitionProxy) => void) { + public readCallback_NavigationTransitionProxy_Void(isSync: boolean = false): ((transitionProxy: NavigationTransitionProxy) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2253,7 +2374,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Number_Boolean(isSync: boolean = false): ((index: number) => boolean) { + public readCallback_Number_Boolean(isSync: boolean = false): ((index: number) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2270,7 +2391,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_Number_Number_Boolean(isSync: boolean = false): ((from: number,to: number) => boolean) { + public readCallback_Number_Number_Boolean(isSync: boolean = false): ((from: number,to: number) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2288,7 +2409,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_Number_Number_ComputedBarAttribute(isSync: boolean = false): ((index: number,offset: number) => ComputedBarAttribute) { + public readCallback_Number_Number_ComputedBarAttribute(isSync: boolean = false): ((index: number,offset: number) => ComputedBarAttribute) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2306,7 +2427,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as ComputedBarAttribute); } } - readCallback_Number_Number_Number_Void(isSync: boolean = false): ((start: number,end: number,center: number) => void) { + public readCallback_Number_Number_Number_Void(isSync: boolean = false): ((start: number,end: number,center: number) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2322,7 +2443,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Number_Number_PanelMode_Void(isSync: boolean = false): ((width: number,height: number,mode: PanelMode) => void) { + public readCallback_Number_Number_PanelMode_Void(isSync: boolean = false): ((width: number,height: number,mode: PanelMode) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2338,7 +2459,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Number_Number_Void(isSync: boolean = false): ((first: number,last: number) => void) { + public readCallback_Number_Number_Void(isSync: boolean = false): ((first: number,last: number) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2353,7 +2474,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Number_ScrollState_Literal_Number_offsetRemain(isSync: boolean = false): ((offset: number,state: ScrollState) => Literal_Number_offsetRemain) { + public readCallback_Number_ScrollState_Literal_Number_offsetRemain(isSync: boolean = false): ((offset: number,state: ScrollState) => Literal_Number_offsetRemain) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2371,7 +2492,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as Literal_Number_offsetRemain); } } - readCallback_Number_SliderChangeMode_Void(isSync: boolean = false): ((value: number,mode: SliderChangeMode) => void) { + public readCallback_Number_SliderChangeMode_Void(isSync: boolean = false): ((value: number,mode: SliderChangeMode) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2386,7 +2507,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Number_String_Void(isSync: boolean = false): ((index: number,value: string) => void) { + public readCallback_Number_String_Void(isSync: boolean = false): ((index: number,value: string) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2401,7 +2522,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Number_Tuple_Number_Number(isSync: boolean = false): ((index: number) => [ number, number ]) { + public readCallback_Number_Tuple_Number_Number(isSync: boolean = false): ((index: number) => [ number, number ]) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2418,7 +2539,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as [ number, number ]); } } - readCallback_Number_Tuple_Number_Number_Number_Number(isSync: boolean = false): ((index: number) => [ number, number, number, number ]) { + public readCallback_Number_Tuple_Number_Number_Number_Number(isSync: boolean = false): ((index: number) => [ number, number, number, number ]) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2435,7 +2556,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as [ number, number, number, number ]); } } - readCallback_Number_Void(isSync: boolean = false): ((index: number) => void) { + public readCallback_Number_Void(isSync: boolean = false): ((index: number) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2449,7 +2570,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OffsetResult_Void(isSync: boolean = false): ((value: OffsetResult) => void) { + public readCallback_Object_Void(isSync: boolean = false): ((parameter: Object) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (parameter: Object):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.holdAndWriteObject(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1782529222, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1782529222, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_OffsetResult_Void(isSync: boolean = false): ((value: OffsetResult) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2463,7 +2598,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnAlertEvent_Boolean(isSync: boolean = false): ((parameter: OnAlertEvent) => boolean) { + public readCallback_OnAlertEvent_Boolean(isSync: boolean = false): ((parameter: OnAlertEvent) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2480,7 +2615,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnAudioStateChangedEvent_Void(isSync: boolean = false): ((parameter: OnAudioStateChangedEvent) => void) { + public readCallback_OnAudioStateChangedEvent_Void(isSync: boolean = false): ((parameter: OnAudioStateChangedEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2494,7 +2629,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnBeforeUnloadEvent_Boolean(isSync: boolean = false): ((parameter: OnBeforeUnloadEvent) => boolean) { + public readCallback_OnBeforeUnloadEvent_Boolean(isSync: boolean = false): ((parameter: OnBeforeUnloadEvent) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2511,7 +2646,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnClientAuthenticationEvent_Void(isSync: boolean = false): ((parameter: OnClientAuthenticationEvent) => void) { + public readCallback_OnClientAuthenticationEvent_Void(isSync: boolean = false): ((parameter: OnClientAuthenticationEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2525,7 +2660,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnConfirmEvent_Boolean(isSync: boolean = false): ((parameter: OnConfirmEvent) => boolean) { + public readCallback_OnConfirmEvent_Boolean(isSync: boolean = false): ((parameter: OnConfirmEvent) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2542,7 +2677,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnConsoleEvent_Boolean(isSync: boolean = false): ((parameter: OnConsoleEvent) => boolean) { + public readCallback_OnConsoleEvent_Boolean(isSync: boolean = false): ((parameter: OnConsoleEvent) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2559,7 +2694,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnContextMenuShowEvent_Boolean(isSync: boolean = false): ((parameter: OnContextMenuShowEvent) => boolean) { + public readCallback_OnContextMenuShowEvent_Boolean(isSync: boolean = false): ((parameter: OnContextMenuShowEvent) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2576,7 +2711,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnDataResubmittedEvent_Void(isSync: boolean = false): ((parameter: OnDataResubmittedEvent) => void) { + public readCallback_OnDataResubmittedEvent_Void(isSync: boolean = false): ((parameter: OnDataResubmittedEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2590,7 +2725,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnDownloadStartEvent_Void(isSync: boolean = false): ((parameter: OnDownloadStartEvent) => void) { + public readCallback_OnDownloadStartEvent_Void(isSync: boolean = false): ((parameter: OnDownloadStartEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2604,7 +2739,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnErrorReceiveEvent_Void(isSync: boolean = false): ((parameter: OnErrorReceiveEvent) => void) { + public readCallback_OnErrorReceiveEvent_Void(isSync: boolean = false): ((parameter: OnErrorReceiveEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2618,7 +2753,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnFaviconReceivedEvent_Void(isSync: boolean = false): ((parameter: OnFaviconReceivedEvent) => void) { + public readCallback_OnFaviconReceivedEvent_Void(isSync: boolean = false): ((parameter: OnFaviconReceivedEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2632,7 +2767,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnFirstContentfulPaintEvent_Void(isSync: boolean = false): ((parameter: OnFirstContentfulPaintEvent) => void) { + public readCallback_OnFirstContentfulPaintEvent_Void(isSync: boolean = false): ((parameter: OnFirstContentfulPaintEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2646,7 +2781,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnGeolocationShowEvent_Void(isSync: boolean = false): ((parameter: OnGeolocationShowEvent) => void) { + public readCallback_OnGeolocationShowEvent_Void(isSync: boolean = false): ((parameter: OnGeolocationShowEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2660,7 +2795,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnHttpAuthRequestEvent_Boolean(isSync: boolean = false): ((parameter: OnHttpAuthRequestEvent) => boolean) { + public readCallback_OnHttpAuthRequestEvent_Boolean(isSync: boolean = false): ((parameter: OnHttpAuthRequestEvent) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2677,7 +2812,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnHttpErrorReceiveEvent_Void(isSync: boolean = false): ((parameter: OnHttpErrorReceiveEvent) => void) { + public readCallback_OnHttpErrorReceiveEvent_Void(isSync: boolean = false): ((parameter: OnHttpErrorReceiveEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2691,7 +2826,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnInterceptRequestEvent_WebResourceResponse(isSync: boolean = false): ((parameter: OnInterceptRequestEvent) => WebResourceResponse) { + public readCallback_OnInterceptRequestEvent_WebResourceResponse(isSync: boolean = false): ((parameter: OnInterceptRequestEvent) => WebResourceResponse) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2708,7 +2843,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as WebResourceResponse); } } - readCallback_OnLoadInterceptEvent_Boolean(isSync: boolean = false): ((parameter: OnLoadInterceptEvent) => boolean) { + public readCallback_OnLoadInterceptEvent_Boolean(isSync: boolean = false): ((parameter: OnLoadInterceptEvent) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2725,7 +2860,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnOverScrollEvent_Void(isSync: boolean = false): ((parameter: OnOverScrollEvent) => void) { + public readCallback_OnOverScrollEvent_Void(isSync: boolean = false): ((parameter: OnOverScrollEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2739,7 +2874,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnPageBeginEvent_Void(isSync: boolean = false): ((parameter: OnPageBeginEvent) => void) { + public readCallback_OnPageBeginEvent_Void(isSync: boolean = false): ((parameter: OnPageBeginEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2753,7 +2888,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnPageEndEvent_Void(isSync: boolean = false): ((parameter: OnPageEndEvent) => void) { + public readCallback_OnPageEndEvent_Void(isSync: boolean = false): ((parameter: OnPageEndEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2767,7 +2902,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnPageVisibleEvent_Void(isSync: boolean = false): ((parameter: OnPageVisibleEvent) => void) { + public readCallback_OnPageVisibleEvent_Void(isSync: boolean = false): ((parameter: OnPageVisibleEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2781,7 +2916,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnPermissionRequestEvent_Void(isSync: boolean = false): ((parameter: OnPermissionRequestEvent) => void) { + public readCallback_OnPermissionRequestEvent_Void(isSync: boolean = false): ((parameter: OnPermissionRequestEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2795,7 +2930,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnProgressChangeEvent_Void(isSync: boolean = false): ((parameter: OnProgressChangeEvent) => void) { + public readCallback_OnProgressChangeEvent_Void(isSync: boolean = false): ((parameter: OnProgressChangeEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2809,7 +2944,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnPromptEvent_Boolean(isSync: boolean = false): ((parameter: OnPromptEvent) => boolean) { + public readCallback_OnPromptEvent_Boolean(isSync: boolean = false): ((parameter: OnPromptEvent) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2826,7 +2961,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnRefreshAccessedHistoryEvent_Void(isSync: boolean = false): ((parameter: OnRefreshAccessedHistoryEvent) => void) { + public readCallback_OnRefreshAccessedHistoryEvent_Void(isSync: boolean = false): ((parameter: OnRefreshAccessedHistoryEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2840,7 +2975,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnRenderExitedEvent_Void(isSync: boolean = false): ((parameter: OnRenderExitedEvent) => void) { + public readCallback_OnRenderExitedEvent_Void(isSync: boolean = false): ((parameter: OnRenderExitedEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2854,7 +2989,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnResourceLoadEvent_Void(isSync: boolean = false): ((parameter: OnResourceLoadEvent) => void) { + public readCallback_OnResourceLoadEvent_Void(isSync: boolean = false): ((parameter: OnResourceLoadEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2868,7 +3003,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnScaleChangeEvent_Void(isSync: boolean = false): ((parameter: OnScaleChangeEvent) => void) { + public readCallback_OnScaleChangeEvent_Void(isSync: boolean = false): ((parameter: OnScaleChangeEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2882,7 +3017,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnScreenCaptureRequestEvent_Void(isSync: boolean = false): ((parameter: OnScreenCaptureRequestEvent) => void) { + public readCallback_OnScreenCaptureRequestEvent_Void(isSync: boolean = false): ((parameter: OnScreenCaptureRequestEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2896,7 +3031,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnScrollEvent_Void(isSync: boolean = false): ((parameter: OnScrollEvent) => void) { + public readCallback_OnScrollEvent_Void(isSync: boolean = false): ((parameter: OnScrollEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2910,7 +3045,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnScrollFrameBeginHandlerResult_Void(isSync: boolean = false): ((value: OnScrollFrameBeginHandlerResult) => void) { + public readCallback_OnScrollFrameBeginHandlerResult_Void(isSync: boolean = false): ((value: OnScrollFrameBeginHandlerResult) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2924,7 +3059,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnSearchResultReceiveEvent_Void(isSync: boolean = false): ((parameter: OnSearchResultReceiveEvent) => void) { + public readCallback_OnSearchResultReceiveEvent_Void(isSync: boolean = false): ((parameter: OnSearchResultReceiveEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2938,7 +3073,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnShowFileSelectorEvent_Boolean(isSync: boolean = false): ((parameter: OnShowFileSelectorEvent) => boolean) { + public readCallback_OnShowFileSelectorEvent_Boolean(isSync: boolean = false): ((parameter: OnShowFileSelectorEvent) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2955,7 +3090,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnSslErrorEventReceiveEvent_Void(isSync: boolean = false): ((parameter: OnSslErrorEventReceiveEvent) => void) { + public readCallback_OnSslErrorEventReceiveEvent_Void(isSync: boolean = false): ((parameter: OnSslErrorEventReceiveEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2969,7 +3104,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnTitleReceiveEvent_Void(isSync: boolean = false): ((parameter: OnTitleReceiveEvent) => void) { + public readCallback_OnTitleReceiveEvent_Void(isSync: boolean = false): ((parameter: OnTitleReceiveEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2983,7 +3118,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnTouchIconUrlReceivedEvent_Void(isSync: boolean = false): ((parameter: OnTouchIconUrlReceivedEvent) => void) { + public readCallback_OnTouchIconUrlReceivedEvent_Void(isSync: boolean = false): ((parameter: OnTouchIconUrlReceivedEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -2997,7 +3132,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnWindowNewEvent_Void(isSync: boolean = false): ((parameter: OnWindowNewEvent) => void) { + public readCallback_OnWindowNewEvent_Void(isSync: boolean = false): ((parameter: OnWindowNewEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3011,7 +3146,31 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Opt_Array_String_Void(isSync: boolean = false): ((error?: Array | undefined) => void) { + public readCallback_Opt_Array_NavDestinationTransition_Void(isSync: boolean = false): ((value: Array | undefined) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (value?: Array | undefined):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + let value_type : int32 = RuntimeType.UNDEFINED; + value_type = runtimeType(value); + _argsSerializer.writeInt8(value_type); + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value!; + _argsSerializer.writeInt32(value_value.length as int32); + for (let i = 0; i < value_value.length; i++) { + const value_value_element : NavDestinationTransition = value_value[i]; + _argsSerializer.writeNavDestinationTransition(value_value_element); + } + } + (isSync) ? (InteropNativeModule._CallCallbackSync(406871767, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(406871767, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_Opt_Array_String_Void(isSync: boolean = false): ((error?: Array | undefined) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3022,7 +3181,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writePointer(_callSync); let error_type : int32 = RuntimeType.UNDEFINED; error_type = runtimeType(error); - _argsSerializer.writeInt8(error_type as int32); + _argsSerializer.writeInt8(error_type); if ((RuntimeType.UNDEFINED) != (error_type)) { const error_value = error!; _argsSerializer.writeInt32(error_value.length as int32); @@ -3035,7 +3194,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Opt_NavigationAnimatedTransition_Void(isSync: boolean = false): ((value: NavigationAnimatedTransition | undefined) => void) { + public readCallback_Opt_NavigationAnimatedTransition_Void(isSync: boolean = false): ((value: NavigationAnimatedTransition | undefined) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3046,7 +3205,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writePointer(_callSync); let value_type : int32 = RuntimeType.UNDEFINED; value_type = runtimeType(value); - _argsSerializer.writeInt8(value_type as int32); + _argsSerializer.writeInt8(value_type); if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value!; _argsSerializer.writeNavigationAnimatedTransition(value_value); @@ -3055,7 +3214,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Opt_StyledString_Opt_Array_String_Void(isSync: boolean = false): ((value?: StyledString | undefined,error?: Array | undefined) => void) { + public readCallback_Opt_StyledString_Opt_Array_String_Void(isSync: boolean = false): ((value?: StyledString | undefined,error?: Array | undefined) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3066,14 +3225,14 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writePointer(_callSync); let value_type : int32 = RuntimeType.UNDEFINED; value_type = runtimeType(value); - _argsSerializer.writeInt8(value_type as int32); + _argsSerializer.writeInt8(value_type); if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value!; _argsSerializer.writeStyledString(value_value); } let error_type : int32 = RuntimeType.UNDEFINED; error_type = runtimeType(error); - _argsSerializer.writeInt8(error_type as int32); + _argsSerializer.writeInt8(error_type); if ((RuntimeType.UNDEFINED) != (error_type)) { const error_value = error!; _argsSerializer.writeInt32(error_value.length as int32); @@ -3086,7 +3245,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Opt_TabContentAnimatedTransition_Void(isSync: boolean = false): ((value: TabContentAnimatedTransition | undefined) => void) { + public readCallback_Opt_TabContentAnimatedTransition_Void(isSync: boolean = false): ((value: TabContentAnimatedTransition | undefined) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3097,7 +3256,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writePointer(_callSync); let value_type : int32 = RuntimeType.UNDEFINED; value_type = runtimeType(value); - _argsSerializer.writeInt8(value_type as int32); + _argsSerializer.writeInt8(value_type); if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value!; _argsSerializer.writeTabContentAnimatedTransition(value_value); @@ -3106,7 +3265,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_PanelMode_Void(isSync: boolean = false): ((mode: PanelMode) => void) { + public readCallback_PanelMode_Void(isSync: boolean = false): ((mode: PanelMode) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3120,7 +3279,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_PlaybackInfo_Void(isSync: boolean = false): ((parameter: PlaybackInfo) => void) { + public readCallback_PlaybackInfo_Void(isSync: boolean = false): ((parameter: PlaybackInfo) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3134,7 +3293,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Pointer_Void(isSync: boolean = false): ((value: KPointer) => void) { + public readCallback_Pointer_Void(isSync: boolean = false): ((value: KPointer) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3148,7 +3307,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_PopInfo_Void(isSync: boolean = false): ((parameter: PopInfo) => void) { + public readCallback_PopInfo_Void(isSync: boolean = false): ((parameter: PopInfo) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3162,7 +3321,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_PreDragStatus_Void(isSync: boolean = false): ((parameter: PreDragStatus) => void) { + public readCallback_PreDragStatus_Void(isSync: boolean = false): ((parameter: PreDragStatus) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3176,7 +3335,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_PreparedInfo_Void(isSync: boolean = false): ((parameter: PreparedInfo) => void) { + public readCallback_PreparedInfo_Void(isSync: boolean = false): ((parameter: PreparedInfo) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3190,7 +3349,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_RangeUpdate(isSync: boolean = false): Callback_RangeUpdate { + public readCallback_RangeUpdate(isSync: boolean = false): Callback_RangeUpdate { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3206,7 +3365,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_RefreshStatus_Void(isSync: boolean = false): ((state: RefreshStatus) => void) { + public readCallback_RefreshStatus_Void(isSync: boolean = false): ((state: RefreshStatus) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3220,7 +3379,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_ResourceStr_Void(isSync: boolean = false): ((value: ResourceStr) => void) { + public readCallback_ResourceStr_Void(isSync: boolean = false): ((value: ResourceStr) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3232,12 +3391,12 @@ export class Deserializer extends DeserializerBase { let value_type : int32 = RuntimeType.UNDEFINED; value_type = runtimeType(value); if (RuntimeType.STRING == value_type) { - _argsSerializer.writeInt8(0 as int32); + _argsSerializer.writeInt8(0); const value_0 = value as string; _argsSerializer.writeString(value_0); } else if (RuntimeType.OBJECT == value_type) { - _argsSerializer.writeInt8(1 as int32); + _argsSerializer.writeInt8(1); const value_1 = value as Resource; _argsSerializer.writeResource(value_1); } @@ -3245,7 +3404,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_RichEditorChangeValue_Boolean(isSync: boolean = false): ((parameter: RichEditorChangeValue) => boolean) { + public readCallback_RichEditorChangeValue_Boolean(isSync: boolean = false): ((parameter: RichEditorChangeValue) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3262,7 +3421,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_RichEditorDeleteValue_Boolean(isSync: boolean = false): ((parameter: RichEditorDeleteValue) => boolean) { + public readCallback_RichEditorDeleteValue_Boolean(isSync: boolean = false): ((parameter: RichEditorDeleteValue) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3279,7 +3438,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_RichEditorInsertValue_Boolean(isSync: boolean = false): ((parameter: RichEditorInsertValue) => boolean) { + public readCallback_RichEditorInsertValue_Boolean(isSync: boolean = false): ((parameter: RichEditorInsertValue) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3296,7 +3455,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_RichEditorRange_Void(isSync: boolean = false): ((parameter: RichEditorRange) => void) { + public readCallback_RichEditorRange_Void(isSync: boolean = false): ((parameter: RichEditorRange) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3310,7 +3469,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_RichEditorSelection_Void(isSync: boolean = false): ((parameter: RichEditorSelection) => void) { + public readCallback_RichEditorSelection_Void(isSync: boolean = false): ((parameter: RichEditorSelection) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3324,7 +3483,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_RichEditorTextSpanResult_Void(isSync: boolean = false): ((parameter: RichEditorTextSpanResult) => void) { + public readCallback_RichEditorTextSpanResult_Void(isSync: boolean = false): ((parameter: RichEditorTextSpanResult) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3338,7 +3497,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_SheetDismiss_Void(isSync: boolean = false): ((sheetDismiss: SheetDismiss) => void) { + public readCallback_SheetDismiss_Void(isSync: boolean = false): ((sheetDismiss: SheetDismiss) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3352,7 +3511,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_SheetType_Void(isSync: boolean = false): ((parameter: SheetType) => void) { + public readCallback_SheetType_Void(isSync: boolean = false): ((parameter: SheetType) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3366,7 +3525,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_SpringBackAction_Void(isSync: boolean = false): ((parameter: SpringBackAction) => void) { + public readCallback_SpringBackAction_Void(isSync: boolean = false): ((parameter: SpringBackAction) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3380,7 +3539,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_String_Number_Void(isSync: boolean = false): ((value: string,index: number) => void) { + public readCallback_String_Number_Void(isSync: boolean = false): ((value: string,index: number) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3395,52 +3554,58 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_String_PasteEvent_Void(isSync: boolean = false): ((value: string,event: PasteEvent) => void) { + public readCallback_String_Opt_Object_Void(isSync: boolean = false): ((name: string,param: Object | undefined) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (value: string, event: PasteEvent):void => { + return (name: string, param?: Object | undefined):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeString(value); - _argsSerializer.writePasteEvent(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(-683652998, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-683652998, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeString(name); + let param_type : int32 = RuntimeType.UNDEFINED; + param_type = runtimeType(param); + _argsSerializer.writeInt8(param_type); + if ((RuntimeType.UNDEFINED) != (param_type)) { + const param_value = param!; + _argsSerializer.holdAndWriteObject(param_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-716524508, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-716524508, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_String_SurfaceRect_Void(isSync: boolean = false): ((surfaceId: string,rect: SurfaceRect) => void) { + public readCallback_String_PasteEvent_Void(isSync: boolean = false): ((value: string,event: PasteEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (surfaceId: string, rect: SurfaceRect):void => { + return (value: string, event: PasteEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeString(surfaceId); - _argsSerializer.writeSurfaceRect(rect); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1736208400, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1736208400, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeString(value); + _argsSerializer.writePasteEvent(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(-683652998, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-683652998, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_String_Unknown_Void(isSync: boolean = false): ((name: string,param: object) => void) { + public readCallback_String_SurfaceRect_Void(isSync: boolean = false): ((surfaceId: string,rect: SurfaceRect) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (name: string, param: object):void => { + return (surfaceId: string, rect: SurfaceRect):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeString(name); - _argsSerializer.holdAndWriteObject(param); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1493806035, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1493806035, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeString(surfaceId); + _argsSerializer.writeSurfaceRect(rect); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1736208400, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1736208400, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_String_Void(isSync: boolean = false): ((breakpoints: string) => void) { + public readCallback_String_Void(isSync: boolean = false): ((breakpoints: string) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3454,7 +3619,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_StyledStringChangeValue_Boolean(isSync: boolean = false): ((parameter: StyledStringChangeValue) => boolean) { + public readCallback_StyledStringChangeValue_Boolean(isSync: boolean = false): ((parameter: StyledStringChangeValue) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3471,7 +3636,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_SwipeActionState_Void(isSync: boolean = false): ((state: SwipeActionState) => void) { + public readCallback_StyledStringMarshallingValue_Void(isSync: boolean = false): ((value: UserDataSpan) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (value: UserDataSpan):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeUserDataSpan(value); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1198150682, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1198150682, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_SwipeActionState_Void(isSync: boolean = false): ((state: SwipeActionState) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3485,7 +3664,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_SwiperContentTransitionProxy_Void(isSync: boolean = false): ((parameter: SwiperContentTransitionProxy) => void) { + public readCallback_SwiperContentTransitionProxy_Void(isSync: boolean = false): ((parameter: SwiperContentTransitionProxy) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3499,7 +3678,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TabContentTransitionProxy_Void(isSync: boolean = false): ((parameter: TabContentTransitionProxy) => void) { + public readCallback_TabContentTransitionProxy_Void(isSync: boolean = false): ((parameter: TabContentTransitionProxy) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3513,7 +3692,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TerminationInfo_Void(isSync: boolean = false): ((parameter: TerminationInfo) => void) { + public readCallback_TerminationInfo_Void(isSync: boolean = false): ((parameter: TerminationInfo) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3527,7 +3706,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TextPickerResult_Void(isSync: boolean = false): ((value: TextPickerResult) => void) { + public readCallback_TextPickerResult_Void(isSync: boolean = false): ((value: TextPickerResult) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3541,7 +3720,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TextRange_Void(isSync: boolean = false): ((parameter: TextRange) => void) { + public readCallback_TextRange_Void(isSync: boolean = false): ((parameter: TextRange) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3555,7 +3734,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TimePickerResult_Void(isSync: boolean = false): ((value: TimePickerResult) => void) { + public readCallback_TimePickerResult_Void(isSync: boolean = false): ((value: TimePickerResult) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3569,7 +3748,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TouchEvent_HitTestMode(isSync: boolean = false): ((parameter: TouchEvent) => HitTestMode) { + public readCallback_TouchEvent_HitTestMode(isSync: boolean = false): ((parameter: TouchEvent) => HitTestMode) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3586,7 +3765,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as HitTestMode); } } - readCallback_TouchEvent_Void(isSync: boolean = false): ((event: TouchEvent) => void) { + public readCallback_TouchEvent_Void(isSync: boolean = false): ((event: TouchEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3600,7 +3779,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TouchResult_Void(isSync: boolean = false): ((value: TouchResult) => void) { + public readCallback_TouchResult_Void(isSync: boolean = false): ((value: TouchResult) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3614,7 +3793,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Tuple_Number_Number_Number_Number_Void(isSync: boolean = false): ((value: [ number, number, number, number ]) => void) { + public readCallback_Tuple_Number_Number_Number_Number_Void(isSync: boolean = false): ((value: [ number, number, number, number ]) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3635,7 +3814,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Tuple_Number_Number_Void(isSync: boolean = false): ((value: [ number, number ]) => void) { + public readCallback_Tuple_Number_Number_Void(isSync: boolean = false): ((value: [ number, number ]) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3652,7 +3831,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Type_ImageAttribute_onComplete_callback_event_Void(isSync: boolean = false): ((event?: Type_ImageAttribute_onComplete_callback_event) => void) { + public readCallback_Type_ImageAttribute_onComplete_callback_event_Void(isSync: boolean = false): ((event?: Type_ImageAttribute_onComplete_callback_event) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3663,7 +3842,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writePointer(_callSync); let event_type : int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); - _argsSerializer.writeInt8(event_type as int32); + _argsSerializer.writeInt8(event_type); if ((RuntimeType.UNDEFINED) != (event_type)) { const event_value = event!; const event_value_width = event_value.width; @@ -3689,7 +3868,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_UIExtensionProxy_Void(isSync: boolean = false): ((parameter: UIExtensionProxy) => void) { + public readCallback_UIExtensionProxy_Void(isSync: boolean = false): ((parameter: UIExtensionProxy) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3703,7 +3882,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Union_CustomBuilder_DragItemInfo_Void(isSync: boolean = false): ((value: CustomBuilder | DragItemInfo) => void) { + public readCallback_Union_CustomBuilder_DragItemInfo_Void(isSync: boolean = false): ((value: CustomBuilder | DragItemInfo) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3715,12 +3894,12 @@ export class Deserializer extends DeserializerBase { let value_type : int32 = RuntimeType.UNDEFINED; value_type = runtimeType(value); if (RuntimeType.FUNCTION == value_type) { - _argsSerializer.writeInt8(0 as int32); + _argsSerializer.writeInt8(0); const value_0 = value as CustomBuilder; _argsSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_0)); } else if (RuntimeType.OBJECT == value_type) { - _argsSerializer.writeInt8(1 as int32); + _argsSerializer.writeInt8(1); const value_1 = value as DragItemInfo; _argsSerializer.writeDragItemInfo(value_1); } @@ -3728,7 +3907,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Union_Number_Array_Number_Void(isSync: boolean = false): ((selected: number | Array) => void) { + public readCallback_Union_Number_Array_Number_Void(isSync: boolean = false): ((selected: number | Array) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3740,12 +3919,12 @@ export class Deserializer extends DeserializerBase { let selected_type : int32 = RuntimeType.UNDEFINED; selected_type = runtimeType(selected); if (RuntimeType.NUMBER == selected_type) { - _argsSerializer.writeInt8(0 as int32); + _argsSerializer.writeInt8(0); const selected_0 = selected as number; _argsSerializer.writeNumber(selected_0); } else if (RuntimeType.OBJECT == selected_type) { - _argsSerializer.writeInt8(1 as int32); + _argsSerializer.writeInt8(1); const selected_1 = selected as Array; _argsSerializer.writeInt32(selected_1.length as int32); for (let i = 0; i < selected_1.length; i++) { @@ -3757,7 +3936,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Union_Number_Resource_Void(isSync: boolean = false): ((selected: number | Resource) => void) { + public readCallback_Union_Number_Resource_Void(isSync: boolean = false): ((selected: number | Resource) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3769,12 +3948,12 @@ export class Deserializer extends DeserializerBase { let selected_type : int32 = RuntimeType.UNDEFINED; selected_type = runtimeType(selected); if (RuntimeType.NUMBER == selected_type) { - _argsSerializer.writeInt8(0 as int32); + _argsSerializer.writeInt8(0); const selected_0 = selected as number; _argsSerializer.writeNumber(selected_0); } else if (RuntimeType.OBJECT == selected_type) { - _argsSerializer.writeInt8(1 as int32); + _argsSerializer.writeInt8(1); const selected_1 = selected as Resource; _argsSerializer.writeResource(selected_1); } @@ -3782,7 +3961,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Union_String_Array_String_Void(isSync: boolean = false): ((value: string | Array) => void) { + public readCallback_Union_String_Array_String_Void(isSync: boolean = false): ((value: string | Array) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3794,12 +3973,12 @@ export class Deserializer extends DeserializerBase { let value_type : int32 = RuntimeType.UNDEFINED; value_type = runtimeType(value); if (RuntimeType.STRING == value_type) { - _argsSerializer.writeInt8(0 as int32); + _argsSerializer.writeInt8(0); const value_0 = value as string; _argsSerializer.writeString(value_0); } else if (RuntimeType.OBJECT == value_type) { - _argsSerializer.writeInt8(1 as int32); + _argsSerializer.writeInt8(1); const value_1 = value as Array; _argsSerializer.writeInt32(value_1.length as int32); for (let i = 0; i < value_1.length; i++) { @@ -3811,7 +3990,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Void(isSync: boolean = false): (() => void) { + public readCallback_Void(isSync: boolean = false): (() => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3824,7 +4003,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_WebKeyboardOptions_Void(isSync: boolean = false): ((value: WebKeyboardOptions) => void) { + public readCallback_WebKeyboardOptions_Void(isSync: boolean = false): ((value: WebKeyboardOptions) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3838,7 +4017,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_WebResourceResponse_Void(isSync: boolean = false): ((value: WebResourceResponse) => void) { + public readCallback_WebResourceResponse_Void(isSync: boolean = false): ((value: WebResourceResponse) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3852,7 +4031,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_WithThemeAttribute_Void(isSync: boolean = false): ((value: WithThemeAttribute) => void) { + public readCallback_WithThemeAttribute_Void(isSync: boolean = false): ((value: WithThemeAttribute) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3866,7 +4045,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_WrappedBuilder_Args_Void(isSync: boolean = false): ((args: CommonConfiguration) => void) { + public readCallback_WrappedBuilder_Args_Void(isSync: boolean = false): ((args: CommonConfiguration) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3880,7 +4059,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readContentDidScrollCallback(isSync: boolean = false): ContentDidScrollCallback { + public readContentDidScrollCallback(isSync: boolean = false): ContentDidScrollCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3897,7 +4076,24 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readContext_getGroupDir_Callback(isSync: boolean = false): Context_getGroupDir_Callback { + public readContentWillScrollCallback(isSync: boolean = false): ContentWillScrollCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (result: SwiperContentWillScrollResult):boolean => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeSwiperContentWillScrollResult(result); + let _continuationValue : boolean | undefined; + const _continuationCallback : ((isVisible: boolean) => void) = (value: boolean):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-2146044511, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2146044511, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } + public readContext_getGroupDir_Callback(isSync: boolean = false): Context_getGroupDir_Callback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3911,7 +4107,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCustomNodeBuilder(isSync: boolean = false): CustomNodeBuilder { + public readCustomNodeBuilder(isSync: boolean = false): CustomNodeBuilder { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3928,11 +4124,11 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as KPointer); } } - readEditableTextOnChangeCallback(isSync: boolean = false): EditableTextOnChangeCallback { + public readEditableTextOnChangeCallback(isSync: boolean = false): EditableTextOnChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (value: string, previewText?: PreviewText | undefined):void => { + return (value: string, previewText?: PreviewText | undefined, options?: TextChangeOptions | undefined):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); @@ -3940,16 +4136,23 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writeString(value); let previewText_type : int32 = RuntimeType.UNDEFINED; previewText_type = runtimeType(previewText); - _argsSerializer.writeInt8(previewText_type as int32); + _argsSerializer.writeInt8(previewText_type); if ((RuntimeType.UNDEFINED) != (previewText_type)) { const previewText_value = previewText!; _argsSerializer.writePreviewText(previewText_value); } + let options_type : int32 = RuntimeType.UNDEFINED; + options_type = runtimeType(options); + _argsSerializer.writeInt8(options_type); + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options!; + _argsSerializer.writeTextChangeOptions(options_value); + } (isSync) ? (InteropNativeModule._CallCallbackSync(-1729563209, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1729563209, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readErrorCallback(isSync: boolean = false): ErrorCallback { + public readErrorCallback(isSync: boolean = false): ErrorCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3963,7 +4166,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readFormComponentAttribute_onRouter_callback_type(isSync: boolean = false): ((info: string) => void) { + public readFormComponentAttribute_onRouter_callback_type(isSync: boolean = false): ((info: string) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -3977,7 +4180,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readGestureRecognizerJudgeBeginCallback(isSync: boolean = false): GestureRecognizerJudgeBeginCallback { + public readGestureRecognizerJudgeBeginCallback(isSync: boolean = false): GestureRecognizerJudgeBeginCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4000,7 +4203,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as GestureJudgeResult); } } - readGetItemMainSizeByIndex(isSync: boolean = false): GetItemMainSizeByIndex { + public readGetItemMainSizeByIndex(isSync: boolean = false): GetItemMainSizeByIndex { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4017,7 +4220,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as number); } } - readGridAttribute_onItemDragStart_event_type(isSync: boolean = false): ((event: ItemDragInfo,itemIndex: number) => CustomBuilder) { + public readGridAttribute_onItemDragStart_event_type(isSync: boolean = false): ((event: ItemDragInfo,itemIndex: number) => CustomBuilder) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4035,7 +4238,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as CustomBuilder); } } - readHoverCallback(isSync: boolean = false): HoverCallback { + public readHoverCallback(isSync: boolean = false): HoverCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4050,7 +4253,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readImageCompleteCallback(isSync: boolean = false): ImageCompleteCallback { + public readImageCompleteCallback(isSync: boolean = false): ImageCompleteCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4064,7 +4267,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readImageErrorCallback(isSync: boolean = false): ImageErrorCallback { + public readImageErrorCallback(isSync: boolean = false): ImageErrorCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4078,7 +4281,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readInterceptionModeCallback(isSync: boolean = false): InterceptionModeCallback { + public readInterceptionModeCallback(isSync: boolean = false): InterceptionModeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4092,7 +4295,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readInterceptionShowCallback(isSync: boolean = false): InterceptionShowCallback { + public readInterceptionShowCallback(isSync: boolean = false): InterceptionShowCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4104,24 +4307,24 @@ export class Deserializer extends DeserializerBase { let from_type : int32 = RuntimeType.UNDEFINED; from_type = runtimeType(from); if (RuntimeType.OBJECT == from_type) { - _argsSerializer.writeInt8(0 as int32); + _argsSerializer.writeInt8(0); const from_0 = from as NavDestinationContext; _argsSerializer.writeNavDestinationContext(from_0); } else if (RuntimeType.STRING == from_type) { - _argsSerializer.writeInt8(1 as int32); + _argsSerializer.writeInt8(1); const from_1 = from as NavBar; _argsSerializer.writeString(from_1); } let to_type : int32 = RuntimeType.UNDEFINED; to_type = runtimeType(to); if (RuntimeType.OBJECT == to_type) { - _argsSerializer.writeInt8(0 as int32); + _argsSerializer.writeInt8(0); const to_0 = to as NavDestinationContext; _argsSerializer.writeNavDestinationContext(to_0); } else if (RuntimeType.STRING == to_type) { - _argsSerializer.writeInt8(1 as int32); + _argsSerializer.writeInt8(1); const to_1 = to as NavBar; _argsSerializer.writeString(to_1); } @@ -4131,7 +4334,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readListAttribute_onItemDragStart_event_type(isSync: boolean = false): ((event: ItemDragInfo,itemIndex: number) => CustomBuilder) { + public readListAttribute_onItemDragStart_event_type(isSync: boolean = false): ((event: ItemDragInfo,itemIndex: number) => CustomBuilder) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4149,7 +4352,29 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as CustomBuilder); } } - readMenuCallback(isSync: boolean = false): MenuCallback { + public readLocationButtonCallback(isSync: boolean = false): LocationButtonCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (event: ClickEvent, result: LocationButtonOnClickResult, error?: BusinessError | undefined):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeClickEvent(event); + _argsSerializer.writeInt32(TypeChecker.LocationButtonOnClickResult_ToNumeric(result)); + let error_type : int32 = RuntimeType.UNDEFINED; + error_type = runtimeType(error); + _argsSerializer.writeInt8(error_type); + if ((RuntimeType.UNDEFINED) != (error_type)) { + const error_value = error!; + _argsSerializer.writeBusinessError(error_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-957598032, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-957598032, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readMenuCallback(isSync: boolean = false): MenuCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4162,7 +4387,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readMenuOnAppearCallback(isSync: boolean = false): MenuOnAppearCallback { + public readMenuOnAppearCallback(isSync: boolean = false): MenuOnAppearCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4177,7 +4402,25 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readNavExtender_OnUpdateStack(isSync: boolean = false): NavExtender_OnUpdateStack { + public readNavDestinationTransitionDelegate(isSync: boolean = false): NavDestinationTransitionDelegate { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (operation: NavigationOperation, isEnter: boolean):Array | undefined => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(TypeChecker.NavigationOperation_ToNumeric(operation)); + _argsSerializer.writeBoolean(isEnter); + let _continuationValue : Array | undefined; + const _continuationCallback : ((value: Array | undefined) => void) = (value?: Array | undefined):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1066063065, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1066063065, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as Array | undefined); } + } + public readNavExtender_OnUpdateStack(isSync: boolean = false): NavExtender_OnUpdateStack { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4191,7 +4434,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnAdsBlockedCallback(isSync: boolean = false): OnAdsBlockedCallback { + public readOnAdsBlockedCallback(isSync: boolean = false): OnAdsBlockedCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4205,7 +4448,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnAlphabetIndexerPopupSelectCallback(isSync: boolean = false): OnAlphabetIndexerPopupSelectCallback { + public readOnAlphabetIndexerPopupSelectCallback(isSync: boolean = false): OnAlphabetIndexerPopupSelectCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4219,7 +4462,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnAlphabetIndexerRequestPopupDataCallback(isSync: boolean = false): OnAlphabetIndexerRequestPopupDataCallback { + public readOnAlphabetIndexerRequestPopupDataCallback(isSync: boolean = false): OnAlphabetIndexerRequestPopupDataCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4236,7 +4479,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as Array); } } - readOnAlphabetIndexerSelectCallback(isSync: boolean = false): OnAlphabetIndexerSelectCallback { + public readOnAlphabetIndexerSelectCallback(isSync: boolean = false): OnAlphabetIndexerSelectCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4250,7 +4493,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnCheckboxChangeCallback(isSync: boolean = false): OnCheckboxChangeCallback { + public readOnCheckboxChangeCallback(isSync: boolean = false): OnCheckboxChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4264,7 +4507,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnCheckboxGroupChangeCallback(isSync: boolean = false): OnCheckboxGroupChangeCallback { + public readOnCheckboxGroupChangeCallback(isSync: boolean = false): OnCheckboxGroupChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4278,7 +4521,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnContentScrollCallback(isSync: boolean = false): OnContentScrollCallback { + public readOnContentScrollCallback(isSync: boolean = false): OnContentScrollCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4293,7 +4536,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnContextMenuHideCallback(isSync: boolean = false): OnContextMenuHideCallback { + public readOnContextMenuHideCallback(isSync: boolean = false): OnContextMenuHideCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4306,7 +4549,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnDidChangeCallback(isSync: boolean = false): OnDidChangeCallback { + public readOnDidChangeCallback(isSync: boolean = false): OnDidChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4321,22 +4564,43 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnFirstMeaningfulPaintCallback(isSync: boolean = false): OnFirstMeaningfulPaintCallback { + public readOnDragEventCallback(isSync: boolean = false): OnDragEventCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (firstMeaningfulPaint: FirstMeaningfulPaint):void => { + return (event: DragEvent, extraParams?: string | undefined):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeFirstMeaningfulPaint(firstMeaningfulPaint); - (isSync) ? (InteropNativeModule._CallCallbackSync(767275770, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(767275770, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readOnFoldStatusChangeCallback(isSync: boolean = false): OnFoldStatusChangeCallback { - const _resource : CallbackResource = this.readCallbackResource() + _argsSerializer.writeDragEvent(event); + let extraParams_type : int32 = RuntimeType.UNDEFINED; + extraParams_type = runtimeType(extraParams); + _argsSerializer.writeInt8(extraParams_type); + if ((RuntimeType.UNDEFINED) != (extraParams_type)) { + const extraParams_value = extraParams!; + _argsSerializer.writeString(extraParams_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(1451593190, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1451593190, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnFirstMeaningfulPaintCallback(isSync: boolean = false): OnFirstMeaningfulPaintCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (firstMeaningfulPaint: FirstMeaningfulPaint):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeFirstMeaningfulPaint(firstMeaningfulPaint); + (isSync) ? (InteropNativeModule._CallCallbackSync(767275770, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(767275770, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnFoldStatusChangeCallback(isSync: boolean = false): OnFoldStatusChangeCallback { + const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() return (event: OnFoldStatusChangeInfo):void => { @@ -4349,7 +4613,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnFullScreenEnterCallback(isSync: boolean = false): OnFullScreenEnterCallback { + public readOnFullScreenEnterCallback(isSync: boolean = false): OnFullScreenEnterCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4363,7 +4627,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnHoverCallback(isSync: boolean = false): OnHoverCallback { + public readOnHoverCallback(isSync: boolean = false): OnHoverCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4376,7 +4640,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnHoverStatusChangeCallback(isSync: boolean = false): OnHoverStatusChangeCallback { + public readOnHoverStatusChangeCallback(isSync: boolean = false): OnHoverStatusChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4390,7 +4654,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnIntelligentTrackingPreventionCallback(isSync: boolean = false): OnIntelligentTrackingPreventionCallback { + public readOnIntelligentTrackingPreventionCallback(isSync: boolean = false): OnIntelligentTrackingPreventionCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4404,7 +4668,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnLargestContentfulPaintCallback(isSync: boolean = false): OnLargestContentfulPaintCallback { + public readOnLargestContentfulPaintCallback(isSync: boolean = false): OnLargestContentfulPaintCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4418,7 +4682,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnLinearIndicatorChangeCallback(isSync: boolean = false): OnLinearIndicatorChangeCallback { + public readOnLinearIndicatorChangeCallback(isSync: boolean = false): OnLinearIndicatorChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4433,7 +4697,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnMoveHandler(isSync: boolean = false): OnMoveHandler { + public readOnMoveHandler(isSync: boolean = false): OnMoveHandler { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4448,7 +4712,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnNativeEmbedVisibilityChangeCallback(isSync: boolean = false): OnNativeEmbedVisibilityChangeCallback { + public readOnNativeEmbedVisibilityChangeCallback(isSync: boolean = false): OnNativeEmbedVisibilityChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4462,7 +4726,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnNativeLoadCallback(isSync: boolean = false): OnNativeLoadCallback { + public readOnNativeLoadCallback(isSync: boolean = false): OnNativeLoadCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4473,7 +4737,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writePointer(_callSync); let event_type : int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); - _argsSerializer.writeInt8(event_type as int32); + _argsSerializer.writeInt8(event_type); if ((RuntimeType.UNDEFINED) != (event_type)) { const event_value = event!; _argsSerializer.holdAndWriteObject(event_value); @@ -4482,7 +4746,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnNavigationEntryCommittedCallback(isSync: boolean = false): OnNavigationEntryCommittedCallback { + public readOnNavigationEntryCommittedCallback(isSync: boolean = false): OnNavigationEntryCommittedCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4496,7 +4760,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnOverrideUrlLoadingCallback(isSync: boolean = false): OnOverrideUrlLoadingCallback { + public readOnOverrideUrlLoadingCallback(isSync: boolean = false): OnOverrideUrlLoadingCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4513,7 +4777,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readOnPasteCallback(isSync: boolean = false): OnPasteCallback { + public readOnPasteCallback(isSync: boolean = false): OnPasteCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4528,7 +4792,35 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnRenderProcessNotRespondingCallback(isSync: boolean = false): OnRenderProcessNotRespondingCallback { + public readOnRadioChangeCallback(isSync: boolean = false): OnRadioChangeCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (isChecked: boolean):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBoolean(isChecked); + (isSync) ? (InteropNativeModule._CallCallbackSync(511412333, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(511412333, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnRatingChangeCallback(isSync: boolean = false): OnRatingChangeCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (rating: number):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(rating); + (isSync) ? (InteropNativeModule._CallCallbackSync(-551895045, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-551895045, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnRenderProcessNotRespondingCallback(isSync: boolean = false): OnRenderProcessNotRespondingCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4542,7 +4834,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnRenderProcessRespondingCallback(isSync: boolean = false): OnRenderProcessRespondingCallback { + public readOnRenderProcessRespondingCallback(isSync: boolean = false): OnRenderProcessRespondingCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4555,7 +4847,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnSafeBrowsingCheckResultCallback(isSync: boolean = false): OnSafeBrowsingCheckResultCallback { + public readOnSafeBrowsingCheckResultCallback(isSync: boolean = false): OnSafeBrowsingCheckResultCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4569,7 +4861,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnScrollCallback(isSync: boolean = false): OnScrollCallback { + public readOnScrollCallback(isSync: boolean = false): OnScrollCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4584,7 +4876,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnScrollEdgeCallback(isSync: boolean = false): OnScrollEdgeCallback { + public readOnScrollEdgeCallback(isSync: boolean = false): OnScrollEdgeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4598,7 +4890,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnScrollFrameBeginCallback(isSync: boolean = false): OnScrollFrameBeginCallback { + public readOnScrollFrameBeginCallback(isSync: boolean = false): OnScrollFrameBeginCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4616,7 +4908,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as OnScrollFrameBeginHandlerResult); } } - readOnScrollVisibleContentChangeCallback(isSync: boolean = false): OnScrollVisibleContentChangeCallback { + public readOnScrollVisibleContentChangeCallback(isSync: boolean = false): OnScrollVisibleContentChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4631,7 +4923,22 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnSslErrorEventCallback(isSync: boolean = false): OnSslErrorEventCallback { + public readOnSelectCallback(isSync: boolean = false): OnSelectCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (index: number, selectStr: string):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(index); + _argsSerializer.writeString(selectStr); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1486869198, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1486869198, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnSslErrorEventCallback(isSync: boolean = false): OnSslErrorEventCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4645,7 +4952,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnSubmitCallback(isSync: boolean = false): OnSubmitCallback { + public readOnSubmitCallback(isSync: boolean = false): OnSubmitCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4660,7 +4967,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnSwiperAnimationEndCallback(isSync: boolean = false): OnSwiperAnimationEndCallback { + public readOnSwiperAnimationEndCallback(isSync: boolean = false): OnSwiperAnimationEndCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4675,7 +4982,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnSwiperAnimationStartCallback(isSync: boolean = false): OnSwiperAnimationStartCallback { + public readOnSwiperAnimationStartCallback(isSync: boolean = false): OnSwiperAnimationStartCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4691,7 +4998,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnSwiperGestureSwipeCallback(isSync: boolean = false): OnSwiperGestureSwipeCallback { + public readOnSwiperGestureSwipeCallback(isSync: boolean = false): OnSwiperGestureSwipeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4706,7 +5013,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnTabsAnimationEndCallback(isSync: boolean = false): OnTabsAnimationEndCallback { + public readOnTabsAnimationEndCallback(isSync: boolean = false): OnTabsAnimationEndCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4721,7 +5028,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnTabsAnimationStartCallback(isSync: boolean = false): OnTabsAnimationStartCallback { + public readOnTabsAnimationStartCallback(isSync: boolean = false): OnTabsAnimationStartCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4737,7 +5044,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnTabsContentWillChangeCallback(isSync: boolean = false): OnTabsContentWillChangeCallback { + public readOnTabsContentWillChangeCallback(isSync: boolean = false): OnTabsContentWillChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4755,7 +5062,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readOnTabsGestureSwipeCallback(isSync: boolean = false): OnTabsGestureSwipeCallback { + public readOnTabsGestureSwipeCallback(isSync: boolean = false): OnTabsGestureSwipeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4770,7 +5077,52 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnTextSelectionChangeCallback(isSync: boolean = false): OnTextSelectionChangeCallback { + public readOnTextPickerChangeCallback(isSync: boolean = false): OnTextPickerChangeCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (selectItem: string | Array, index: number | Array):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + let selectItem_type : int32 = RuntimeType.UNDEFINED; + selectItem_type = runtimeType(selectItem); + if (RuntimeType.STRING == selectItem_type) { + _argsSerializer.writeInt8(0); + const selectItem_0 = selectItem as string; + _argsSerializer.writeString(selectItem_0); + } + else if (RuntimeType.OBJECT == selectItem_type) { + _argsSerializer.writeInt8(1); + const selectItem_1 = selectItem as Array; + _argsSerializer.writeInt32(selectItem_1.length as int32); + for (let i = 0; i < selectItem_1.length; i++) { + const selectItem_1_element : string = selectItem_1[i]; + _argsSerializer.writeString(selectItem_1_element); + } + } + let index_type : int32 = RuntimeType.UNDEFINED; + index_type = runtimeType(index); + if (RuntimeType.NUMBER == index_type) { + _argsSerializer.writeInt8(0); + const index_0 = index as number; + _argsSerializer.writeNumber(index_0); + } + else if (RuntimeType.OBJECT == index_type) { + _argsSerializer.writeInt8(1); + const index_1 = index as Array; + _argsSerializer.writeInt32(index_1.length as int32); + for (let i = 0; i < index_1.length; i++) { + const index_1_element : number = index_1[i]; + _argsSerializer.writeNumber(index_1_element); + } + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-1902343417, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1902343417, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnTextSelectionChangeCallback(isSync: boolean = false): OnTextSelectionChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4785,7 +5137,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnViewportFitChangedCallback(isSync: boolean = false): OnViewportFitChangedCallback { + public readOnTimePickerChangeCallback(isSync: boolean = false): OnTimePickerChangeCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (result: TimePickerResult):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeTimePickerResult(result); + (isSync) ? (InteropNativeModule._CallCallbackSync(994429103, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(994429103, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnViewportFitChangedCallback(isSync: boolean = false): OnViewportFitChangedCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4799,7 +5165,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readPageTransitionCallback(isSync: boolean = false): PageTransitionCallback { + public readPageTransitionCallback(isSync: boolean = false): PageTransitionCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4814,7 +5180,29 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readPasteEventCallback(isSync: boolean = false): PasteEventCallback { + public readPasteButtonCallback(isSync: boolean = false): PasteButtonCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (event: ClickEvent, result: PasteButtonOnClickResult, error?: BusinessError | undefined):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeClickEvent(event); + _argsSerializer.writeInt32(TypeChecker.PasteButtonOnClickResult_ToNumeric(result)); + let error_type : int32 = RuntimeType.UNDEFINED; + error_type = runtimeType(error); + _argsSerializer.writeInt8(error_type); + if ((RuntimeType.UNDEFINED) != (error_type)) { + const error_value = error!; + _argsSerializer.writeBusinessError(error_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(1501373374, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1501373374, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readPasteEventCallback(isSync: boolean = false): PasteEventCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4825,7 +5213,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writePointer(_callSync); let event_type : int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); - _argsSerializer.writeInt8(event_type as int32); + _argsSerializer.writeInt8(event_type); if ((RuntimeType.UNDEFINED) != (event_type)) { const event_value = event!; _argsSerializer.writePasteEvent(event_value); @@ -4834,7 +5222,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readPluginErrorCallback(isSync: boolean = false): PluginErrorCallback { + public readPluginErrorCallback(isSync: boolean = false): PluginErrorCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4848,7 +5236,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readProfiler_Callback_String_Void(isSync: boolean = false): ((info: string) => void) { + public readPopupStateChangeCallback(isSync: boolean = false): PopupStateChangeCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (event: PopupStateChangeParam):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writePopupStateChangeParam(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1444325632, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1444325632, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readProfiler_Callback_String_Void(isSync: boolean = false): ((info: string) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4862,7 +5264,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readReceiveCallback(isSync: boolean = false): ReceiveCallback { + public readReceiveCallback(isSync: boolean = false): ReceiveCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4882,7 +5284,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readRestrictedWorker_onerror_Callback(isSync: boolean = false): RestrictedWorker_onerror_Callback { + public readRestrictedWorker_onerror_Callback(isSync: boolean = false): RestrictedWorker_onerror_Callback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4896,7 +5298,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readRestrictedWorker_onexit_Callback(isSync: boolean = false): RestrictedWorker_onexit_Callback { + public readRestrictedWorker_onexit_Callback(isSync: boolean = false): RestrictedWorker_onexit_Callback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4910,7 +5312,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readRestrictedWorker_onmessage_Callback(isSync: boolean = false): RestrictedWorker_onmessage_Callback { + public readRestrictedWorker_onmessage_Callback(isSync: boolean = false): RestrictedWorker_onmessage_Callback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4924,7 +5326,45 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readScrollOnScrollCallback(isSync: boolean = false): ScrollOnScrollCallback { + public readReuseIdCallback(isSync: boolean = false): ReuseIdCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return ():string => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + let _continuationValue : string | undefined; + const _continuationCallback : ((breakpoints: string) => void) = (value: string):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(1110529154, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1110529154, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as string); } + } + public readSaveButtonCallback(isSync: boolean = false): SaveButtonCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (event: ClickEvent, result: SaveButtonOnClickResult, error?: BusinessError | undefined):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeClickEvent(event); + _argsSerializer.writeInt32(TypeChecker.SaveButtonOnClickResult_ToNumeric(result)); + let error_type : int32 = RuntimeType.UNDEFINED; + error_type = runtimeType(error); + _argsSerializer.writeInt8(error_type); + if ((RuntimeType.UNDEFINED) != (error_type)) { + const error_value = error!; + _argsSerializer.writeBusinessError(error_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-1634474996, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1634474996, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readScrollOnScrollCallback(isSync: boolean = false): ScrollOnScrollCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4940,7 +5380,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readScrollOnWillScrollCallback(isSync: boolean = false): ScrollOnWillScrollCallback { + public readScrollOnWillScrollCallback(isSync: boolean = false): ScrollOnWillScrollCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4960,7 +5400,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as OffsetResult); } } - readSearchSubmitCallback(isSync: boolean = false): SearchSubmitCallback { + public readSearchSubmitCallback(isSync: boolean = false): SearchSubmitCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -4972,7 +5412,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writeString(searchContent); let event_type : int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); - _argsSerializer.writeInt8(event_type as int32); + _argsSerializer.writeInt8(event_type); if ((RuntimeType.UNDEFINED) != (event_type)) { const event_value = event!; _argsSerializer.writeSubmitEvent(event_value); @@ -4981,7 +5421,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readShouldBuiltInRecognizerParallelWithCallback(isSync: boolean = false): ShouldBuiltInRecognizerParallelWithCallback { + public readShouldBuiltInRecognizerParallelWithCallback(isSync: boolean = false): ShouldBuiltInRecognizerParallelWithCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5003,7 +5443,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as GestureRecognizer); } } - readSizeChangeCallback(isSync: boolean = false): SizeChangeCallback { + public readSizeChangeCallback(isSync: boolean = false): SizeChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5018,7 +5458,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readSliderTriggerChangeCallback(isSync: boolean = false): SliderTriggerChangeCallback { + public readSliderTriggerChangeCallback(isSync: boolean = false): SliderTriggerChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5033,7 +5473,41 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readSubmitCallback(isSync: boolean = false): SubmitCallback { + public readStyledStringMarshallCallback(isSync: boolean = false): StyledStringMarshallCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (marshallableVal: UserDataSpan):NativeBuffer => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeUserDataSpan(marshallableVal); + let _continuationValue : NativeBuffer | undefined; + const _continuationCallback : ((value: NativeBuffer) => void) = (value: NativeBuffer):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(1095217433, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1095217433, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as NativeBuffer); } + } + public readStyledStringUnmarshallCallback(isSync: boolean = false): StyledStringUnmarshallCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (buf: NativeBuffer):UserDataSpan => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBuffer(buf); + let _continuationValue : UserDataSpan | undefined; + const _continuationCallback : ((value: UserDataSpan) => void) = (value: UserDataSpan):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(1359717794, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1359717794, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as UserDataSpan); } + } + public readSubmitCallback(isSync: boolean = false): SubmitCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5048,7 +5522,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readTabsCustomContentTransitionCallback(isSync: boolean = false): TabsCustomContentTransitionCallback { + public readTabsCustomContentTransitionCallback(isSync: boolean = false): TabsCustomContentTransitionCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5066,7 +5540,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as TabContentAnimatedTransition | undefined); } } - readTextAreaSubmitCallback(isSync: boolean = false): TextAreaSubmitCallback { + public readTextAreaSubmitCallback(isSync: boolean = false): TextAreaSubmitCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5078,7 +5552,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writeInt32(TypeChecker.EnterKeyType_ToNumeric(enterKeyType)); let event_type : int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); - _argsSerializer.writeInt8(event_type as int32); + _argsSerializer.writeInt8(event_type); if ((RuntimeType.UNDEFINED) != (event_type)) { const event_value = event!; _argsSerializer.writeSubmitEvent(event_value); @@ -5087,7 +5561,97 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readTextTimerAttribute_onTimer_event_type(isSync: boolean = false): ((utc: int64,elapsedTime: int64) => void) { + public readTextPickerEnterSelectedAreaCallback(isSync: boolean = false): TextPickerEnterSelectedAreaCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (value: string | Array, index: number | Array):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + let value_type : int32 = RuntimeType.UNDEFINED; + value_type = runtimeType(value); + if (RuntimeType.STRING == value_type) { + _argsSerializer.writeInt8(0); + const value_0 = value as string; + _argsSerializer.writeString(value_0); + } + else if (RuntimeType.OBJECT == value_type) { + _argsSerializer.writeInt8(1); + const value_1 = value as Array; + _argsSerializer.writeInt32(value_1.length as int32); + for (let i = 0; i < value_1.length; i++) { + const value_1_element : string = value_1[i]; + _argsSerializer.writeString(value_1_element); + } + } + let index_type : int32 = RuntimeType.UNDEFINED; + index_type = runtimeType(index); + if (RuntimeType.NUMBER == index_type) { + _argsSerializer.writeInt8(0); + const index_0 = index as number; + _argsSerializer.writeNumber(index_0); + } + else if (RuntimeType.OBJECT == index_type) { + _argsSerializer.writeInt8(1); + const index_1 = index as Array; + _argsSerializer.writeInt32(index_1.length as int32); + for (let i = 0; i < index_1.length; i++) { + const index_1_element : number = index_1[i]; + _argsSerializer.writeNumber(index_1_element); + } + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-202014218, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-202014218, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readTextPickerScrollStopCallback(isSync: boolean = false): TextPickerScrollStopCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (value: string | Array, index: number | Array):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + let value_type : int32 = RuntimeType.UNDEFINED; + value_type = runtimeType(value); + if (RuntimeType.STRING == value_type) { + _argsSerializer.writeInt8(0); + const value_0 = value as string; + _argsSerializer.writeString(value_0); + } + else if (RuntimeType.OBJECT == value_type) { + _argsSerializer.writeInt8(1); + const value_1 = value as Array; + _argsSerializer.writeInt32(value_1.length as int32); + for (let i = 0; i < value_1.length; i++) { + const value_1_element : string = value_1[i]; + _argsSerializer.writeString(value_1_element); + } + } + let index_type : int32 = RuntimeType.UNDEFINED; + index_type = runtimeType(index); + if (RuntimeType.NUMBER == index_type) { + _argsSerializer.writeInt8(0); + const index_0 = index as number; + _argsSerializer.writeNumber(index_0); + } + else if (RuntimeType.OBJECT == index_type) { + _argsSerializer.writeInt8(1); + const index_1 = index as Array; + _argsSerializer.writeInt32(index_1.length as int32); + for (let i = 0; i < index_1.length; i++) { + const index_1_element : number = index_1[i]; + _argsSerializer.writeNumber(index_1_element); + } + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-1928298699, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1928298699, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readTextTimerAttribute_onTimer_event_type(isSync: boolean = false): ((utc: int64,elapsedTime: int64) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5102,7 +5666,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readTransitionFinishCallback(isSync: boolean = false): TransitionFinishCallback { + public readTransitionFinishCallback(isSync: boolean = false): TransitionFinishCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5116,7 +5680,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readType_NavigationAttribute_customNavContentTransition_delegate(isSync: boolean = false): ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined) { + public readType_NavigationAttribute_customNavContentTransition_delegate(isSync: boolean = false): ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5135,7 +5699,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as NavigationAnimatedTransition | undefined); } } - readType_TextPickerAttribute_onChange_callback(isSync: boolean = false): ((value: string | Array,index: number | Array) => void) { + public readType_TextPickerAttribute_onChange_callback(isSync: boolean = false): ((value: string | Array,index: number | Array) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5147,12 +5711,12 @@ export class Deserializer extends DeserializerBase { let value_type : int32 = RuntimeType.UNDEFINED; value_type = runtimeType(value); if (RuntimeType.STRING == value_type) { - _argsSerializer.writeInt8(0 as int32); + _argsSerializer.writeInt8(0); const value_0 = value as string; _argsSerializer.writeString(value_0); } else if (RuntimeType.OBJECT == value_type) { - _argsSerializer.writeInt8(1 as int32); + _argsSerializer.writeInt8(1); const value_1 = value as Array; _argsSerializer.writeInt32(value_1.length as int32); for (let i = 0; i < value_1.length; i++) { @@ -5163,12 +5727,12 @@ export class Deserializer extends DeserializerBase { let index_type : int32 = RuntimeType.UNDEFINED; index_type = runtimeType(index); if (RuntimeType.NUMBER == index_type) { - _argsSerializer.writeInt8(0 as int32); + _argsSerializer.writeInt8(0); const index_0 = index as number; _argsSerializer.writeNumber(index_0); } else if (RuntimeType.OBJECT == index_type) { - _argsSerializer.writeInt8(1 as int32); + _argsSerializer.writeInt8(1); const index_1 = index as Array; _argsSerializer.writeInt32(index_1.length as int32); for (let i = 0; i < index_1.length; i++) { @@ -5180,7 +5744,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readType_WebAttribute_onFileSelectorShow_callback(isSync: boolean = false): ((event?: Literal_Function_callback__Object_fileSelector) => void) { + public readType_WebAttribute_onFileSelectorShow_callback(isSync: boolean = false): ((event?: Literal_Function_callback__Object_fileSelector) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5191,7 +5755,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writePointer(_callSync); let event_type : int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); - _argsSerializer.writeInt8(event_type as int32); + _argsSerializer.writeInt8(event_type); if ((RuntimeType.UNDEFINED) != (event_type)) { const event_value = event!; const event_value_callback_ = event_value.callback_; @@ -5203,7 +5767,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readType_WebAttribute_onUrlLoadIntercept_callback(isSync: boolean = false): ((event?: Literal_Union_String_WebResourceRequest_data) => boolean) { + public readType_WebAttribute_onUrlLoadIntercept_callback(isSync: boolean = false): ((event?: Literal_Union_String_WebResourceRequest_data) => boolean) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5214,19 +5778,19 @@ export class Deserializer extends DeserializerBase { _argsSerializer.writePointer(_callSync); let event_type : int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); - _argsSerializer.writeInt8(event_type as int32); + _argsSerializer.writeInt8(event_type); if ((RuntimeType.UNDEFINED) != (event_type)) { const event_value = event!; const event_value_data = event_value.data; let event_value_data_type : int32 = RuntimeType.UNDEFINED; event_value_data_type = runtimeType(event_value_data); if (RuntimeType.STRING == event_value_data_type) { - _argsSerializer.writeInt8(0 as int32); + _argsSerializer.writeInt8(0); const event_value_data_0 = event_value_data as string; _argsSerializer.writeString(event_value_data_0); } else if (RuntimeType.OBJECT == event_value_data_type) { - _argsSerializer.writeInt8(1 as int32); + _argsSerializer.writeInt8(1); const event_value_data_1 = event_value_data as WebResourceRequest; _argsSerializer.writeWebResourceRequest(event_value_data_1); } @@ -5238,7 +5802,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readVisibleAreaChangeCallback(isSync: boolean = false): VisibleAreaChangeCallback { + public readVisibleAreaChangeCallback(isSync: boolean = false): VisibleAreaChangeCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5253,7 +5817,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readVoidCallback(isSync: boolean = false): VoidCallback { + public readVoidCallback(isSync: boolean = false): VoidCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5266,7 +5830,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readWebKeyboardCallback(isSync: boolean = false): WebKeyboardCallback { + public readWebKeyboardCallback(isSync: boolean = false): WebKeyboardCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5283,7 +5847,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as WebKeyboardOptions); } } - readWithThemeInterface(isSync: boolean = false): WithThemeInterface { + public readWithThemeInterface(isSync: boolean = false): WithThemeInterface { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() @@ -5300,7 +5864,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as WithThemeAttribute); } } - readAccessibilityOptions(): AccessibilityOptions { + public readAccessibilityOptions(): AccessibilityOptions { let valueDeserializer : Deserializer = this const accessibilityPreferred_buf_runtimeType = (valueDeserializer.readInt8() as int32) let accessibilityPreferred_buf : boolean | undefined @@ -5312,7 +5876,7 @@ export class Deserializer extends DeserializerBase { let value : AccessibilityOptions = ({accessibilityPreferred: accessibilityPreferred_result} as AccessibilityOptions) return value } - readAdsBlockedDetails(): AdsBlockedDetails { + public readAdsBlockedDetails(): AdsBlockedDetails { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) const adsBlocked_buf_length : int32 = valueDeserializer.readInt32() @@ -5324,7 +5888,7 @@ export class Deserializer extends DeserializerBase { let value : AdsBlockedDetails = ({url: url_result, adsBlocked: adsBlocked_result} as AdsBlockedDetails) return value } - readAlphabetIndexerOptions(): AlphabetIndexerOptions { + public readAlphabetIndexerOptions(): AlphabetIndexerOptions { let valueDeserializer : Deserializer = this const arrayValue_buf_length : int32 = valueDeserializer.readInt32() let arrayValue_buf : Array = new Array(arrayValue_buf_length) @@ -5336,7 +5900,7 @@ export class Deserializer extends DeserializerBase { let value : AlphabetIndexerOptions = ({arrayValue: arrayValue_result, selected: selected_result} as AlphabetIndexerOptions) return value } - readAnimationOptions(): AnimationOptions { + public readAnimationOptions(): AnimationOptions { let valueDeserializer : Deserializer = this const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) let duration_buf : number | undefined @@ -5355,12 +5919,12 @@ export class Deserializer extends DeserializerBase { let value : AnimationOptions = ({duration: duration_result, iterations: iterations_result} as AnimationOptions) return value } - readAppearSymbolEffect(): AppearSymbolEffect { + public readAppearSymbolEffect(): AppearSymbolEffect { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return AppearSymbolEffectInternal.fromPtr(ptr) } - readASTCResource(): ASTCResource { + public readASTCResource(): ASTCResource { let valueDeserializer : Deserializer = this const sources_buf_length : int32 = valueDeserializer.readInt32() let sources_buf : Array = new Array(sources_buf_length) @@ -5372,14 +5936,39 @@ export class Deserializer extends DeserializerBase { let value : ASTCResource = ({sources: sources_result, column: column_result} as ASTCResource) return value } - readBackgroundBrightnessOptions(): BackgroundBrightnessOptions { + public readAutoPlayOptions(): AutoPlayOptions { + let valueDeserializer : Deserializer = this + const stopWhenTouched_result : boolean = valueDeserializer.readBoolean() + let value : AutoPlayOptions = ({stopWhenTouched: stopWhenTouched_result} as AutoPlayOptions) + return value + } + public readBackgroundBrightnessOptions(): BackgroundBrightnessOptions { let valueDeserializer : Deserializer = this const rate_result : number = (valueDeserializer.readNumber() as number) const lightUpDegree_result : number = (valueDeserializer.readNumber() as number) let value : BackgroundBrightnessOptions = ({rate: rate_result, lightUpDegree: lightUpDegree_result} as BackgroundBrightnessOptions) return value } - readBarrierStyle(): BarrierStyle { + public readBackgroundImageOptions(): BackgroundImageOptions { + let valueDeserializer : Deserializer = this + const syncLoad_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let syncLoad_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (syncLoad_buf_runtimeType)) + { + syncLoad_buf = valueDeserializer.readBoolean() + } + const syncLoad_result : boolean | undefined = syncLoad_buf + const repeat_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let repeat_buf : ImageRepeat | undefined + if ((RuntimeType.UNDEFINED) != (repeat_buf_runtimeType)) + { + repeat_buf = TypeChecker.ImageRepeat_FromNumeric(valueDeserializer.readInt32()) + } + const repeat_result : ImageRepeat | undefined = repeat_buf + let value : BackgroundImageOptions = ({syncLoad: syncLoad_result, repeat: repeat_result} as BackgroundImageOptions) + return value + } + public readBarrierStyle(): BarrierStyle { let valueDeserializer : Deserializer = this const id_result : string = (valueDeserializer.readString() as string) const direction_result : BarrierDirection = TypeChecker.BarrierDirection_FromNumeric(valueDeserializer.readInt32()) @@ -5392,17 +5981,17 @@ export class Deserializer extends DeserializerBase { let value : BarrierStyle = ({id: id_result, direction: direction_result, referencedId: referencedId_result} as BarrierStyle) return value } - readBaseContext(): BaseContext { + public readBaseContext(): BaseContext { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return BaseContextInternal.fromPtr(ptr) } - readBaselineOffsetStyle(): BaselineOffsetStyle { + public readBaselineOffsetStyle(): BaselineOffsetStyle { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return BaselineOffsetStyleInternal.fromPtr(ptr) } - readBias(): Bias { + public readBias(): Bias { let valueDeserializer : Deserializer = this const horizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) let horizontal_buf : number | undefined @@ -5421,7 +6010,7 @@ export class Deserializer extends DeserializerBase { let value : Bias = ({horizontal: horizontal_result, vertical: vertical_result} as Bias) return value } - readBlurOptions(): BlurOptions { + public readBlurOptions(): BlurOptions { let valueDeserializer : Deserializer = this const grayscale_buf_value0 : number = (valueDeserializer.readNumber() as number) const grayscale_buf_value1 : number = (valueDeserializer.readNumber() as number) @@ -5429,7 +6018,7 @@ export class Deserializer extends DeserializerBase { let value : BlurOptions = ({grayscale: grayscale_result} as BlurOptions) return value } - readBorderRadiuses_graphics(): BorderRadiuses_graphics { + public readBorderRadiuses_graphics(): BorderRadiuses_graphics { let valueDeserializer : Deserializer = this const topLeft_result : number = (valueDeserializer.readNumber() as number) const topRight_result : number = (valueDeserializer.readNumber() as number) @@ -5438,12 +6027,12 @@ export class Deserializer extends DeserializerBase { let value : BorderRadiuses_graphics = ({topLeft: topLeft_result, topRight: topRight_result, bottomLeft: bottomLeft_result, bottomRight: bottomRight_result} as BorderRadiuses_graphics) return value } - readBounceSymbolEffect(): BounceSymbolEffect { + public readBounceSymbolEffect(): BounceSymbolEffect { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return BounceSymbolEffectInternal.fromPtr(ptr) } - readBreakPoints(): BreakPoints { + public readBreakPoints(): BreakPoints { let valueDeserializer : Deserializer = this const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) let value_buf : Array | undefined @@ -5467,7 +6056,7 @@ export class Deserializer extends DeserializerBase { let value : BreakPoints = ({value: value_result, reference: reference_result} as BreakPoints) return value } - readBrightnessBlender(): BrightnessBlender { + public readBrightnessBlender(): BrightnessBlender { let valueDeserializer : Deserializer = this const cubicRate_result : number = (valueDeserializer.readNumber() as number) const quadraticRate_result : number = (valueDeserializer.readNumber() as number) @@ -5486,7 +6075,7 @@ export class Deserializer extends DeserializerBase { let value : BrightnessBlender = ({cubicRate: cubicRate_result, quadraticRate: quadraticRate_result, linearRate: linearRate_result, degree: degree_result, saturation: saturation_result, positiveCoefficient: positiveCoefficient_result, negativeCoefficient: negativeCoefficient_result, fraction: fraction_result} as BrightnessBlender) return value } - readBusinessError(): BusinessError { + public readBusinessError(): BusinessError { let valueDeserializer : Deserializer = this const name_result : string = (valueDeserializer.readString() as string) const message_result : string = (valueDeserializer.readString() as string) @@ -5501,7 +6090,7 @@ export class Deserializer extends DeserializerBase { let value : BusinessError = ({name: name_result, message: message_result, stack: stack_result, code: code_result} as BusinessError) return value } - readButtonOptions(): ButtonOptions { + public readButtonOptions(): ButtonOptions { let valueDeserializer : Deserializer = this const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) let type_buf : ButtonType | undefined @@ -5541,7 +6130,7 @@ export class Deserializer extends DeserializerBase { let value : ButtonOptions = ({type: type_result, stateEffect: stateEffect_result, buttonStyle: buttonStyle_result, controlSize: controlSize_result, role: role_result} as ButtonOptions) return value } - readCalendarDay(): CalendarDay { + public readCalendarDay(): CalendarDay { let valueDeserializer : Deserializer = this const index_result : number = (valueDeserializer.readNumber() as number) const lunarMonth_result : string = (valueDeserializer.readString() as string) @@ -5557,7 +6146,7 @@ export class Deserializer extends DeserializerBase { let value : CalendarDay = ({index: index_result, lunarMonth: lunarMonth_result, lunarDay: lunarDay_result, dayMark: dayMark_result, dayMarkValue: dayMarkValue_result, year: year_result, month: month_result, day: day_result, isFirstOfLunar: isFirstOfLunar_result, hasSchedule: hasSchedule_result, markLunarDay: markLunarDay_result} as CalendarDay) return value } - readCalendarRequestedData(): CalendarRequestedData { + public readCalendarRequestedData(): CalendarRequestedData { let valueDeserializer : Deserializer = this const year_result : number = (valueDeserializer.readNumber() as number) const month_result : number = (valueDeserializer.readNumber() as number) @@ -5567,7 +6156,7 @@ export class Deserializer extends DeserializerBase { let value : CalendarRequestedData = ({year: year_result, month: month_result, currentYear: currentYear_result, currentMonth: currentMonth_result, monthState: monthState_result} as CalendarRequestedData) return value } - readCalendarSelectedDate(): CalendarSelectedDate { + public readCalendarSelectedDate(): CalendarSelectedDate { let valueDeserializer : Deserializer = this const year_result : number = (valueDeserializer.readNumber() as number) const month_result : number = (valueDeserializer.readNumber() as number) @@ -5575,7 +6164,7 @@ export class Deserializer extends DeserializerBase { let value : CalendarSelectedDate = ({year: year_result, month: month_result, day: day_result} as CalendarSelectedDate) return value } - readCancelButtonSymbolOptions(): CancelButtonSymbolOptions { + public readCancelButtonSymbolOptions(): CancelButtonSymbolOptions { let valueDeserializer : Deserializer = this const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) let style_buf : CancelButtonStyle | undefined @@ -5594,17 +6183,7 @@ export class Deserializer extends DeserializerBase { let value : CancelButtonSymbolOptions = ({style: style_result, icon: icon_result} as CancelButtonSymbolOptions) return value } - readCanvasRenderer(): CanvasRenderer { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return CanvasRendererInternal.fromPtr(ptr) - } - readCanvasRenderingContext2D(): CanvasRenderingContext2D { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return CanvasRenderingContext2DInternal.fromPtr(ptr) - } - readCaretOffset(): CaretOffset { + public readCaretOffset(): CaretOffset { let valueDeserializer : Deserializer = this const index_result : number = (valueDeserializer.readNumber() as number) const x_result : number = (valueDeserializer.readNumber() as number) @@ -5612,7 +6191,7 @@ export class Deserializer extends DeserializerBase { let value : CaretOffset = ({index: index_result, x: x_result, y: y_result} as CaretOffset) return value } - readChainWeightOptions(): ChainWeightOptions { + public readChainWeightOptions(): ChainWeightOptions { let valueDeserializer : Deserializer = this const horizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) let horizontal_buf : number | undefined @@ -5631,7 +6210,7 @@ export class Deserializer extends DeserializerBase { let value : ChainWeightOptions = ({horizontal: horizontal_result, vertical: vertical_result} as ChainWeightOptions) return value } - readCheckboxGroupOptions(): CheckboxGroupOptions { + public readCheckboxGroupOptions(): CheckboxGroupOptions { let valueDeserializer : Deserializer = this const group_buf_runtimeType = (valueDeserializer.readInt8() as int32) let group_buf : string | undefined @@ -5643,7 +6222,7 @@ export class Deserializer extends DeserializerBase { let value : CheckboxGroupOptions = ({group: group_result} as CheckboxGroupOptions) return value } - readCheckboxGroupResult(): CheckboxGroupResult { + public readCheckboxGroupResult(): CheckboxGroupResult { let valueDeserializer : Deserializer = this const name_buf_length : int32 = valueDeserializer.readInt32() let name_buf : Array = new Array(name_buf_length) @@ -5655,7 +6234,7 @@ export class Deserializer extends DeserializerBase { let value : CheckboxGroupResult = ({name: name_result, status: status_result} as CheckboxGroupResult) return value } - readCheckboxOptions(): CheckboxOptions { + public readCheckboxOptions(): CheckboxOptions { let valueDeserializer : Deserializer = this const name_buf_runtimeType = (valueDeserializer.readInt8() as int32) let name_buf : string | undefined @@ -5681,12 +6260,12 @@ export class Deserializer extends DeserializerBase { let value : CheckboxOptions = ({name: name_result, group: group_result, indicatorBuilder: indicatorBuilder_result} as CheckboxOptions) return value } - readChildrenMainSize(): ChildrenMainSize { + public readChildrenMainSize(): ChildrenMainSize { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ChildrenMainSizeInternal.fromPtr(ptr) } - readCircle(): Circle { + public readCircle(): Circle { let valueDeserializer : Deserializer = this const centerX_result : number = (valueDeserializer.readNumber() as number) const centerY_result : number = (valueDeserializer.readNumber() as number) @@ -5694,7 +6273,7 @@ export class Deserializer extends DeserializerBase { let value : Circle = ({centerX: centerX_result, centerY: centerY_result, radius: radius_result} as Circle) return value } - readCircleOptions(): CircleOptions { + public readCircleOptions(): CircleOptions { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf : string | number | undefined @@ -5735,7 +6314,7 @@ export class Deserializer extends DeserializerBase { let value : CircleOptions = ({width: width_result, height: height_result} as CircleOptions) return value } - readClickEffect(): ClickEffect { + public readClickEffect(): ClickEffect { let valueDeserializer : Deserializer = this const level_result : ClickEffectLevel = TypeChecker.ClickEffectLevel_FromNumeric(valueDeserializer.readInt32()) const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -5748,7 +6327,7 @@ export class Deserializer extends DeserializerBase { let value : ClickEffect = ({level: level_result, scale: scale_result} as ClickEffect) return value } - readCloseSwipeActionOptions(): CloseSwipeActionOptions { + public readCloseSwipeActionOptions(): CloseSwipeActionOptions { let valueDeserializer : Deserializer = this const onFinish_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onFinish_buf : (() => void) | undefined @@ -5760,12 +6339,12 @@ export class Deserializer extends DeserializerBase { let value : CloseSwipeActionOptions = ({onFinish: onFinish_result} as CloseSwipeActionOptions) return value } - readColorMetrics(): ColorMetrics { + public readColorMetrics(): ColorMetrics { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ColorMetricsInternal.fromPtr(ptr) } - readColumnOptions(): ColumnOptions { + public readColumnOptions(): ColumnOptions { let valueDeserializer : Deserializer = this const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) let space_buf : string | number | undefined @@ -5788,13 +6367,19 @@ export class Deserializer extends DeserializerBase { let value : ColumnOptions = ({space: space_result} as ColumnOptions) return value } - readCommandPath(): CommandPath { + public readColumnOptionsV2(): ColumnOptionsV2 { + let valueDeserializer : Deserializer = this + const stub_result : string = (valueDeserializer.readString() as string) + let value : ColumnOptionsV2 = ({stub: stub_result} as ColumnOptionsV2) + return value + } + public readCommandPath(): CommandPath { let valueDeserializer : Deserializer = this const commands_result : string = (valueDeserializer.readString() as string) let value : CommandPath = ({commands: commands_result} as CommandPath) return value } - readcommon2D_Color(): common2D.Color { + public readcommon2D_Color(): common2D.Color { let valueDeserializer : Deserializer = this const alpha_result : number = (valueDeserializer.readNumber() as number) const red_result : number = (valueDeserializer.readNumber() as number) @@ -5803,33 +6388,39 @@ export class Deserializer extends DeserializerBase { let value : common2D.Color = ({alpha: alpha_result, red: red_result, green: green_result, blue: blue_result} as common2D.Color) return value } - readcommon2D_Point(): common2D.Point { + public readcommon2D_Point(): common2D.Point { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) const y_result : number = (valueDeserializer.readNumber() as number) let value : common2D.Point = ({x: x_result, y: y_result} as common2D.Point) return value } - readCommonConfiguration(): CommonConfiguration { + public readCommonConfiguration(): CommonConfiguration { let valueDeserializer : Deserializer = this const enabled_result : boolean = valueDeserializer.readBoolean() const contentModifier_result : ContentModifier = (valueDeserializer.readObject() as ContentModifier) let value : CommonConfiguration = ({enabled: enabled_result, contentModifier: contentModifier_result} as CommonConfiguration) return value } - readComputedBarAttribute(): ComputedBarAttribute { + public readCommonModifier(): CommonModifier { + let valueDeserializer : Deserializer = this + const _CommonModifierStub_result : string = (valueDeserializer.readString() as string) + let value : CommonModifier = ({_CommonModifierStub: _CommonModifierStub_result} as CommonModifier) + return value + } + public readComputedBarAttribute(): ComputedBarAttribute { let valueDeserializer : Deserializer = this const totalOffset_result : number = (valueDeserializer.readNumber() as number) const totalLength_result : number = (valueDeserializer.readNumber() as number) let value : ComputedBarAttribute = ({totalOffset: totalOffset_result, totalLength: totalLength_result} as ComputedBarAttribute) return value } - readContext(): Context { + public readContext(): Context { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ContextInternal.fromPtr(ptr) } - readCopyEvent(): CopyEvent { + public readCopyEvent(): CopyEvent { let valueDeserializer : Deserializer = this const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) let preventDefault_buf : (() => void) | undefined @@ -5841,7 +6432,7 @@ export class Deserializer extends DeserializerBase { let value : CopyEvent = ({preventDefault: preventDefault_result} as CopyEvent) return value } - readCornerRadius(): CornerRadius { + public readCornerRadius(): CornerRadius { let valueDeserializer : Deserializer = this const topLeft_result : Vector2 = valueDeserializer.readVector2() const topRight_result : Vector2 = valueDeserializer.readVector2() @@ -5850,7 +6441,17 @@ export class Deserializer extends DeserializerBase { let value : CornerRadius = ({topLeft: topLeft_result, topRight: topRight_result, bottomLeft: bottomLeft_result, bottomRight: bottomRight_result} as CornerRadius) return value } - readCustomDialogBuildOptions(): CustomDialogBuildOptions { + public readCrownEvent(): CrownEvent { + let valueDeserializer : Deserializer = this + const timestamp_result : int64 = valueDeserializer.readInt64() + const angularVelocity_result : number = (valueDeserializer.readNumber() as number) + const degree_result : number = (valueDeserializer.readNumber() as number) + const action_result : CrownAction = TypeChecker.CrownAction_FromNumeric(valueDeserializer.readInt32()) + const stopPropagation_result : (() => void) = valueDeserializer.readCallback_Void() + let value : CrownEvent = ({timestamp: timestamp_result, angularVelocity: angularVelocity_result, degree: degree_result, action: action_result, stopPropagation: stopPropagation_result} as CrownEvent) + return value + } + public readCustomDialogBuildOptions(): CustomDialogBuildOptions { let valueDeserializer : Deserializer = this const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) let controller_buf : CustomDialogController | undefined @@ -5862,19 +6463,19 @@ export class Deserializer extends DeserializerBase { let value : CustomDialogBuildOptions = ({controller: controller_result} as CustomDialogBuildOptions) return value } - readCustomDialogControllerBuilder(): CustomDialogControllerBuilder { + public readCustomDialogControllerBuilder(): CustomDialogControllerBuilder { let valueDeserializer : Deserializer = this const buildOptions_result : CustomDialogBuildOptions = valueDeserializer.readCustomDialogBuildOptions() const build_result : CustomBuilder = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) let value : CustomDialogControllerBuilder = ({buildOptions: buildOptions_result, build: build_result} as CustomDialogControllerBuilder) return value } - readCustomSpan(): CustomSpan { + public readCustomSpan(): CustomSpan { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return CustomSpanInternal.fromPtr(ptr) } - readCustomSpanDrawInfo(): CustomSpanDrawInfo { + public readCustomSpanDrawInfo(): CustomSpanDrawInfo { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) const lineTop_result : number = (valueDeserializer.readNumber() as number) @@ -5883,13 +6484,13 @@ export class Deserializer extends DeserializerBase { let value : CustomSpanDrawInfo = ({x: x_result, lineTop: lineTop_result, lineBottom: lineBottom_result, baseline: baseline_result} as CustomSpanDrawInfo) return value } - readCustomSpanMeasureInfo(): CustomSpanMeasureInfo { + public readCustomSpanMeasureInfo(): CustomSpanMeasureInfo { let valueDeserializer : Deserializer = this const fontSize_result : number = (valueDeserializer.readNumber() as number) let value : CustomSpanMeasureInfo = ({fontSize: fontSize_result} as CustomSpanMeasureInfo) return value } - readCustomSpanMetrics(): CustomSpanMetrics { + public readCustomSpanMetrics(): CustomSpanMetrics { let valueDeserializer : Deserializer = this const width_result : number = (valueDeserializer.readNumber() as number) const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -5902,7 +6503,7 @@ export class Deserializer extends DeserializerBase { let value : CustomSpanMetrics = ({width: width_result, height: height_result} as CustomSpanMetrics) return value } - readCutEvent(): CutEvent { + public readCutEvent(): CutEvent { let valueDeserializer : Deserializer = this const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) let preventDefault_buf : (() => void) | undefined @@ -5914,7 +6515,7 @@ export class Deserializer extends DeserializerBase { let value : CutEvent = ({preventDefault: preventDefault_result} as CutEvent) return value } - readDataPanelOptions(): DataPanelOptions { + public readDataPanelOptions(): DataPanelOptions { let valueDeserializer : Deserializer = this const values_buf_length : int32 = valueDeserializer.readInt32() let values_buf : Array = new Array(values_buf_length) @@ -5939,7 +6540,13 @@ export class Deserializer extends DeserializerBase { let value : DataPanelOptions = ({values: values_result, max: max_result, type: type_result} as DataPanelOptions) return value } - readDatePickerOptions(): DatePickerOptions { + public readDataSyncOptions(): DataSyncOptions { + let valueDeserializer : Deserializer = this + const _DataSyncOptionsStub_result : string = (valueDeserializer.readString() as string) + let value : DataSyncOptions = ({_DataSyncOptionsStub: _DataSyncOptionsStub_result} as DataSyncOptions) + return value + } + public readDatePickerOptions(): DatePickerOptions { let valueDeserializer : Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf : Date | undefined @@ -5962,10 +6569,17 @@ export class Deserializer extends DeserializerBase { selected_buf = new Date(valueDeserializer.readInt64()) } const selected_result : Date | undefined = selected_buf - let value : DatePickerOptions = ({start: start_result, end: end_result, selected: selected_result} as DatePickerOptions) + const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mode_buf : DatePickerMode | undefined + if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) + { + mode_buf = TypeChecker.DatePickerMode_FromNumeric(valueDeserializer.readInt32()) + } + const mode_result : DatePickerMode | undefined = mode_buf + let value : DatePickerOptions = ({start: start_result, end: end_result, selected: selected_result, mode: mode_result} as DatePickerOptions) return value } - readDatePickerResult(): DatePickerResult { + public readDatePickerResult(): DatePickerResult { let valueDeserializer : Deserializer = this const year_buf_runtimeType = (valueDeserializer.readInt8() as int32) let year_buf : number | undefined @@ -5991,7 +6605,26 @@ export class Deserializer extends DeserializerBase { let value : DatePickerResult = ({year: year_result, month: month_result, day: day_result} as DatePickerResult) return value } - readDateTimeOptions(): DateTimeOptions { + public readDateRange(): DateRange { + let valueDeserializer : Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : Date | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = new Date(valueDeserializer.readInt64()) + } + const start_result : Date | undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : Date | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = new Date(valueDeserializer.readInt64()) + } + const end_result : Date | undefined = end_buf + let value : DateRange = ({start: start_result, end: end_result} as DateRange) + return value + } + public readDateTimeOptions(): DateTimeOptions { let valueDeserializer : Deserializer = this const locale_buf_runtimeType = (valueDeserializer.readInt8() as int32) let locale_buf : string | undefined @@ -6129,7 +6762,7 @@ export class Deserializer extends DeserializerBase { let value : DateTimeOptions = ({locale: locale_result, dateStyle: dateStyle_result, timeStyle: timeStyle_result, hourCycle: hourCycle_result, timeZone: timeZone_result, numberingSystem: numberingSystem_result, hour12: hour12_result, weekday: weekday_result, era: era_result, year: year_result, month: month_result, day: day_result, hour: hour_result, minute: minute_result, second: second_result, timeZoneName: timeZoneName_result, dayPeriod: dayPeriod_result, localeMatcher: localeMatcher_result, formatMatcher: formatMatcher_result} as DateTimeOptions) return value } - readDeleteValue(): DeleteValue { + public readDeleteValue(): DeleteValue { let valueDeserializer : Deserializer = this const deleteOffset_result : number = (valueDeserializer.readNumber() as number) const direction_result : TextDeleteDirection = TypeChecker.TextDeleteDirection_FromNumeric(valueDeserializer.readInt32()) @@ -6137,7 +6770,7 @@ export class Deserializer extends DeserializerBase { let value : DeleteValue = ({deleteOffset: deleteOffset_result, direction: direction_result, deleteValue: deleteValue_result} as DeleteValue) return value } - readDirectionalEdgesT(): DirectionalEdgesT { + public readDirectionalEdgesT(): DirectionalEdgesT { let valueDeserializer : Deserializer = this const start_result : number = (valueDeserializer.readNumber() as number) const end_result : number = (valueDeserializer.readNumber() as number) @@ -6146,40 +6779,40 @@ export class Deserializer extends DeserializerBase { let value : DirectionalEdgesT = ({start: start_result, end: end_result, top: top_result, bottom: bottom_result} as DirectionalEdgesT) return value } - readDisappearSymbolEffect(): DisappearSymbolEffect { + public readDisappearSymbolEffect(): DisappearSymbolEffect { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return DisappearSymbolEffectInternal.fromPtr(ptr) } - readDismissContentCoverAction(): DismissContentCoverAction { + public readDismissContentCoverAction(): DismissContentCoverAction { let valueDeserializer : Deserializer = this const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() const reason_result : DismissReason = TypeChecker.DismissReason_FromNumeric(valueDeserializer.readInt32()) let value : DismissContentCoverAction = ({dismiss: dismiss_result, reason: reason_result} as DismissContentCoverAction) return value } - readDismissDialogAction(): DismissDialogAction { + public readDismissDialogAction(): DismissDialogAction { let valueDeserializer : Deserializer = this const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() const reason_result : DismissReason = TypeChecker.DismissReason_FromNumeric(valueDeserializer.readInt32()) let value : DismissDialogAction = ({dismiss: dismiss_result, reason: reason_result} as DismissDialogAction) return value } - readDismissPopupAction(): DismissPopupAction { + public readDismissPopupAction(): DismissPopupAction { let valueDeserializer : Deserializer = this const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() const reason_result : DismissReason = TypeChecker.DismissReason_FromNumeric(valueDeserializer.readInt32()) let value : DismissPopupAction = ({dismiss: dismiss_result, reason: reason_result} as DismissPopupAction) return value } - readDismissSheetAction(): DismissSheetAction { + public readDismissSheetAction(): DismissSheetAction { let valueDeserializer : Deserializer = this const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() const reason_result : DismissReason = TypeChecker.DismissReason_FromNumeric(valueDeserializer.readInt32()) let value : DismissSheetAction = ({dismiss: dismiss_result, reason: reason_result} as DismissSheetAction) return value } - readDoubleAnimationParam(): DoubleAnimationParam { + public readDoubleAnimationParam(): DoubleAnimationParam { let valueDeserializer : Deserializer = this const propertyName_result : string = (valueDeserializer.readString() as string) const startValue_result : float32 = valueDeserializer.readFloat32() @@ -6218,7 +6851,7 @@ export class Deserializer extends DeserializerBase { let value : DoubleAnimationParam = ({propertyName: propertyName_result, startValue: startValue_result, endValue: endValue_result, duration: duration_result, delay: delay_result, curve: curve_result, onProgress: onProgress_result, onFinish: onFinish_result} as DoubleAnimationParam) return value } - readDragInteractionOptions(): DragInteractionOptions { + public readDragInteractionOptions(): DragInteractionOptions { let valueDeserializer : Deserializer = this const isMultiSelectionEnabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) let isMultiSelectionEnabled_buf : boolean | undefined @@ -6234,10 +6867,31 @@ export class Deserializer extends DeserializerBase { defaultAnimationBeforeLifting_buf = valueDeserializer.readBoolean() } const defaultAnimationBeforeLifting_result : boolean | undefined = defaultAnimationBeforeLifting_buf - let value : DragInteractionOptions = ({isMultiSelectionEnabled: isMultiSelectionEnabled_result, defaultAnimationBeforeLifting: defaultAnimationBeforeLifting_result} as DragInteractionOptions) + const enableEdgeAutoScroll_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableEdgeAutoScroll_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableEdgeAutoScroll_buf_runtimeType)) + { + enableEdgeAutoScroll_buf = valueDeserializer.readBoolean() + } + const enableEdgeAutoScroll_result : boolean | undefined = enableEdgeAutoScroll_buf + const enableHapticFeedback_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableHapticFeedback_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableHapticFeedback_buf_runtimeType)) + { + enableHapticFeedback_buf = valueDeserializer.readBoolean() + } + const enableHapticFeedback_result : boolean | undefined = enableHapticFeedback_buf + const isLiftingDisabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isLiftingDisabled_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (isLiftingDisabled_buf_runtimeType)) + { + isLiftingDisabled_buf = valueDeserializer.readBoolean() + } + const isLiftingDisabled_result : boolean | undefined = isLiftingDisabled_buf + let value : DragInteractionOptions = ({isMultiSelectionEnabled: isMultiSelectionEnabled_result, defaultAnimationBeforeLifting: defaultAnimationBeforeLifting_result, enableEdgeAutoScroll: enableEdgeAutoScroll_result, enableHapticFeedback: enableHapticFeedback_result, isLiftingDisabled: isLiftingDisabled_result} as DragInteractionOptions) return value } - readDragItemInfo(): DragItemInfo { + public readDragItemInfo(): DragItemInfo { let valueDeserializer : Deserializer = this const pixelMap_buf_runtimeType = (valueDeserializer.readInt8() as int32) let pixelMap_buf : PixelMap | undefined @@ -6263,7 +6917,7 @@ export class Deserializer extends DeserializerBase { let value : DragItemInfo = ({pixelMap: pixelMap_result, builder: builder_result, extraInfo: extraInfo_result} as DragItemInfo) return value } - readDrawContext(): DrawContext { + public readDrawContext(): DrawContext { let valueDeserializer : Deserializer = this const size_result : Size = valueDeserializer.readSize() const sizeInPixel_result : Size = valueDeserializer.readSize() @@ -6271,12 +6925,70 @@ export class Deserializer extends DeserializerBase { let value : DrawContext = ({size: size_result, sizeInPixel: sizeInPixel_result, canvas: canvas_result} as DrawContext) return value } - readDrawingRenderingContext(): DrawingRenderingContext { + public readDrawingRenderingContext(): DrawingRenderingContext { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return DrawingRenderingContextInternal.fromPtr(ptr) } - readEdgeStyles(): EdgeStyles { + public readDropOptions(): DropOptions { + let valueDeserializer : Deserializer = this + const disableDataPrefetch_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disableDataPrefetch_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (disableDataPrefetch_buf_runtimeType)) + { + disableDataPrefetch_buf = valueDeserializer.readBoolean() + } + const disableDataPrefetch_result : boolean | undefined = disableDataPrefetch_buf + let value : DropOptions = ({disableDataPrefetch: disableDataPrefetch_result} as DropOptions) + return value + } + public readEdgeEffectOptions(): EdgeEffectOptions { + let valueDeserializer : Deserializer = this + const alwaysEnabled_result : boolean = valueDeserializer.readBoolean() + const effectEdge_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let effectEdge_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (effectEdge_buf_runtimeType)) + { + effectEdge_buf = (valueDeserializer.readNumber() as number) + } + const effectEdge_result : number | undefined = effectEdge_buf + let value : EdgeEffectOptions = ({alwaysEnabled: alwaysEnabled_result, effectEdge: effectEdge_result} as EdgeEffectOptions) + return value + } + public readEdgeOutlineStyles(): EdgeOutlineStyles { + let valueDeserializer : Deserializer = this + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : OutlineStyle | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + top_buf = TypeChecker.OutlineStyle_FromNumeric(valueDeserializer.readInt32()) + } + const top_result : OutlineStyle | undefined = top_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf : OutlineStyle | undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) + { + right_buf = TypeChecker.OutlineStyle_FromNumeric(valueDeserializer.readInt32()) + } + const right_result : OutlineStyle | undefined = right_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf : OutlineStyle | undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf = TypeChecker.OutlineStyle_FromNumeric(valueDeserializer.readInt32()) + } + const bottom_result : OutlineStyle | undefined = bottom_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf : OutlineStyle | undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) + { + left_buf = TypeChecker.OutlineStyle_FromNumeric(valueDeserializer.readInt32()) + } + const left_result : OutlineStyle | undefined = left_buf + let value : EdgeOutlineStyles = ({top: top_result, right: right_result, bottom: bottom_result, left: left_result} as EdgeOutlineStyles) + return value + } + public readEdgeStyles(): EdgeStyles { let valueDeserializer : Deserializer = this const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) let top_buf : BorderStyle | undefined @@ -6309,14 +7021,14 @@ export class Deserializer extends DeserializerBase { let value : EdgeStyles = ({top: top_result, right: right_result, bottom: bottom_result, left: left_result} as EdgeStyles) return value } - readEditMenuOptions(): EditMenuOptions { + public readEditMenuOptions(): EditMenuOptions { let valueDeserializer : Deserializer = this const onCreateMenu_result : ((menuItems: Array) => Array) = valueDeserializer.readAsyncCallback_Array_TextMenuItem_Array_TextMenuItem() const onMenuItemClick_result : ((menuItem: TextMenuItem,range: TextRange) => boolean) = valueDeserializer.readAsyncCallback_TextMenuItem_TextRange_Boolean() let value : EditMenuOptions = ({onCreateMenu: onCreateMenu_result, onMenuItemClick: onMenuItemClick_result} as EditMenuOptions) return value } - readEllipseOptions(): EllipseOptions { + public readEllipseOptions(): EllipseOptions { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf : string | number | undefined @@ -6357,7 +7069,19 @@ export class Deserializer extends DeserializerBase { let value : EllipseOptions = ({width: width_result, height: height_result} as EllipseOptions) return value } - readErrorEvent(): ErrorEvent { + public readEmbedOptions(): EmbedOptions { + let valueDeserializer : Deserializer = this + const supportDefaultIntrinsicSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let supportDefaultIntrinsicSize_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (supportDefaultIntrinsicSize_buf_runtimeType)) + { + supportDefaultIntrinsicSize_buf = valueDeserializer.readBoolean() + } + const supportDefaultIntrinsicSize_result : boolean | undefined = supportDefaultIntrinsicSize_buf + let value : EmbedOptions = ({supportDefaultIntrinsicSize: supportDefaultIntrinsicSize_result} as EmbedOptions) + return value + } + public readErrorEvent(): ErrorEvent { let valueDeserializer : Deserializer = this const type_result : string = (valueDeserializer.readString() as string) const timeStamp_result : int64 = valueDeserializer.readInt64() @@ -6369,14 +7093,14 @@ export class Deserializer extends DeserializerBase { let value : ErrorEvent = ({type: type_result, timeStamp: timeStamp_result, message: message_result, filename: filename_result, lineno: lineno_result, colno: colno_result, error: error_result} as ErrorEvent) return value } - readEvent(): Event { + public readEvent(): Event { let valueDeserializer : Deserializer = this const type_result : string = (valueDeserializer.readString() as string) const timeStamp_result : int64 = valueDeserializer.readInt64() let value : Event = ({type: type_result, timeStamp: timeStamp_result} as Event) return value } - readExpectedFrameRateRange(): ExpectedFrameRateRange { + public readExpectedFrameRateRange(): ExpectedFrameRateRange { let valueDeserializer : Deserializer = this const min_result : number = (valueDeserializer.readNumber() as number) const max_result : number = (valueDeserializer.readNumber() as number) @@ -6384,7 +7108,7 @@ export class Deserializer extends DeserializerBase { let value : ExpectedFrameRateRange = ({min: min_result, max: max_result, expected: expected_result} as ExpectedFrameRateRange) return value } - readFingerInfo(): FingerInfo { + public readFingerInfo(): FingerInfo { let valueDeserializer : Deserializer = this const id_result : number = (valueDeserializer.readNumber() as number) const globalX_result : number = (valueDeserializer.readNumber() as number) @@ -6393,10 +7117,17 @@ export class Deserializer extends DeserializerBase { const localY_result : number = (valueDeserializer.readNumber() as number) const displayX_result : number = (valueDeserializer.readNumber() as number) const displayY_result : number = (valueDeserializer.readNumber() as number) - let value : FingerInfo = ({id: id_result, globalX: globalX_result, globalY: globalY_result, localX: localX_result, localY: localY_result, displayX: displayX_result, displayY: displayY_result} as FingerInfo) + const hand_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hand_buf : InteractionHand | undefined + if ((RuntimeType.UNDEFINED) != (hand_buf_runtimeType)) + { + hand_buf = TypeChecker.InteractionHand_FromNumeric(valueDeserializer.readInt32()) + } + const hand_result : InteractionHand | undefined = hand_buf + let value : FingerInfo = ({id: id_result, globalX: globalX_result, globalY: globalY_result, localX: localX_result, localY: localY_result, displayX: displayX_result, displayY: displayY_result, hand: hand_result} as FingerInfo) return value } - readFirstMeaningfulPaint(): FirstMeaningfulPaint { + public readFirstMeaningfulPaint(): FirstMeaningfulPaint { let valueDeserializer : Deserializer = this const navigationStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) let navigationStartTime_buf : number | undefined @@ -6415,7 +7146,54 @@ export class Deserializer extends DeserializerBase { let value : FirstMeaningfulPaint = ({navigationStartTime: navigationStartTime_result, firstMeaningfulPaintTime: firstMeaningfulPaintTime_result} as FirstMeaningfulPaint) return value } - readFolderStackOptions(): FolderStackOptions { + public readFocusMovement(): FocusMovement { + let valueDeserializer : Deserializer = this + const forward_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let forward_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (forward_buf_runtimeType)) + { + forward_buf = (valueDeserializer.readString() as string) + } + const forward_result : string | undefined = forward_buf + const backward_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backward_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (backward_buf_runtimeType)) + { + backward_buf = (valueDeserializer.readString() as string) + } + const backward_result : string | undefined = backward_buf + const up_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let up_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (up_buf_runtimeType)) + { + up_buf = (valueDeserializer.readString() as string) + } + const up_result : string | undefined = up_buf + const down_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let down_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (down_buf_runtimeType)) + { + down_buf = (valueDeserializer.readString() as string) + } + const down_result : string | undefined = down_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) + { + left_buf = (valueDeserializer.readString() as string) + } + const left_result : string | undefined = left_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) + { + right_buf = (valueDeserializer.readString() as string) + } + const right_result : string | undefined = right_buf + let value : FocusMovement = ({forward: forward_result, backward: backward_result, up: up_result, down: down_result, left: left_result, right: right_result} as FocusMovement) + return value + } + public readFolderStackOptions(): FolderStackOptions { let valueDeserializer : Deserializer = this const upperItems_buf_runtimeType = (valueDeserializer.readInt8() as int32) let upperItems_buf : Array | undefined @@ -6432,14 +7210,14 @@ export class Deserializer extends DeserializerBase { let value : FolderStackOptions = ({upperItems: upperItems_result} as FolderStackOptions) return value } - readFontFeature(): FontFeature { + public readFontFeature(): FontFeature { let valueDeserializer : Deserializer = this const name_result : string = (valueDeserializer.readString() as string) const value_result : number = (valueDeserializer.readNumber() as number) let value : FontFeature = ({name: name_result, value: value_result} as FontFeature) return value } - readFontInfo(): FontInfo { + public readFontInfo(): FontInfo { let valueDeserializer : Deserializer = this const path_result : string = (valueDeserializer.readString() as string) const postScriptName_result : string = (valueDeserializer.readString() as string) @@ -6454,7 +7232,7 @@ export class Deserializer extends DeserializerBase { let value : FontInfo = ({path: path_result, postScriptName: postScriptName_result, fullName: fullName_result, family: family_result, subfamily: subfamily_result, weight: weight_result, width: width_result, italic: italic_result, monoSpace: monoSpace_result, symbolic: symbolic_result} as FontInfo) return value } - readFontMetrics(): FontMetrics { + public readFontMetrics(): FontMetrics { let valueDeserializer : Deserializer = this const flags_buf_runtimeType = (valueDeserializer.readInt8() as int32) let flags_buf : FontMetricsFlags | undefined @@ -6541,7 +7319,7 @@ export class Deserializer extends DeserializerBase { let value : FontMetrics = ({flags: flags_result, top: top_result, ascent: ascent_result, descent: descent_result, bottom: bottom_result, leading: leading_result, avgCharWidth: avgCharWidth_result, maxCharWidth: maxCharWidth_result, xMin: xMin_result, xMax: xMax_result, xHeight: xHeight_result, capHeight: capHeight_result, underlineThickness: underlineThickness_result, underlinePosition: underlinePosition_result, strikethroughThickness: strikethroughThickness_result, strikethroughPosition: strikethroughPosition_result} as FontMetrics) return value } - readFontSettingOptions(): FontSettingOptions { + public readFontSettingOptions(): FontSettingOptions { let valueDeserializer : Deserializer = this const enableVariableFontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) let enableVariableFontWeight_buf : boolean | undefined @@ -6553,27 +7331,27 @@ export class Deserializer extends DeserializerBase { let value : FontSettingOptions = ({enableVariableFontWeight: enableVariableFontWeight_result} as FontSettingOptions) return value } - readFontVariation(): FontVariation { + public readFontVariation(): FontVariation { let valueDeserializer : Deserializer = this const axis_result : string = (valueDeserializer.readString() as string) const value_result : number = (valueDeserializer.readNumber() as number) let value : FontVariation = ({axis: axis_result, value: value_result} as FontVariation) return value } - readForegroundEffectOptions(): ForegroundEffectOptions { + public readForegroundEffectOptions(): ForegroundEffectOptions { let valueDeserializer : Deserializer = this const radius_result : number = (valueDeserializer.readNumber() as number) let value : ForegroundEffectOptions = ({radius: radius_result} as ForegroundEffectOptions) return value } - readFormCallbackInfo(): FormCallbackInfo { + public readFormCallbackInfo(): FormCallbackInfo { let valueDeserializer : Deserializer = this const id_result : int64 = valueDeserializer.readInt64() const idString_result : string = (valueDeserializer.readString() as string) let value : FormCallbackInfo = ({id: id_result, idString: idString_result} as FormCallbackInfo) return value } - readFormLinkOptions(): FormLinkOptions { + public readFormLinkOptions(): FormLinkOptions { let valueDeserializer : Deserializer = this const action_result : string = (valueDeserializer.readString() as string) const moduleName_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -6614,7 +7392,7 @@ export class Deserializer extends DeserializerBase { let value : FormLinkOptions = ({action: action_result, moduleName: moduleName_result, bundleName: bundleName_result, abilityName: abilityName_result, uri: uri_result, params: params_result} as FormLinkOptions) return value } - readFrame(): Frame { + public readFrame(): Frame { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) const y_result : number = (valueDeserializer.readNumber() as number) @@ -6623,7 +7401,7 @@ export class Deserializer extends DeserializerBase { let value : Frame = ({x: x_result, y: y_result, width: width_result, height: height_result} as Frame) return value } - readFullScreenEnterEvent(): FullScreenEnterEvent { + public readFullScreenEnterEvent(): FullScreenEnterEvent { let valueDeserializer : Deserializer = this const handler_result : FullScreenExitHandler = (valueDeserializer.readFullScreenExitHandler() as FullScreenExitHandler) const videoWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -6643,7 +7421,7 @@ export class Deserializer extends DeserializerBase { let value : FullScreenEnterEvent = ({handler: handler_result, videoWidth: videoWidth_result, videoHeight: videoHeight_result} as FullScreenEnterEvent) return value } - readGaugeOptions(): GaugeOptions { + public readGaugeOptions(): GaugeOptions { let valueDeserializer : Deserializer = this const value_result : number = (valueDeserializer.readNumber() as number) const min_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -6663,7 +7441,7 @@ export class Deserializer extends DeserializerBase { let value : GaugeOptions = ({value: value_result, min: min_result, max: max_result} as GaugeOptions) return value } - readGeometryTransitionOptions(): GeometryTransitionOptions { + public readGeometryTransitionOptions(): GeometryTransitionOptions { let valueDeserializer : Deserializer = this const follow_buf_runtimeType = (valueDeserializer.readInt8() as int32) let follow_buf : boolean | undefined @@ -6682,7 +7460,7 @@ export class Deserializer extends DeserializerBase { let value : GeometryTransitionOptions = ({follow: follow_result, hierarchyStrategy: hierarchyStrategy_result} as GeometryTransitionOptions) return value } - readGestureInfo(): GestureInfo { + public readGestureInfo(): GestureInfo { let valueDeserializer : Deserializer = this const tag_buf_runtimeType = (valueDeserializer.readInt8() as int32) let tag_buf : string | undefined @@ -6696,7 +7474,7 @@ export class Deserializer extends DeserializerBase { let value : GestureInfo = ({tag: tag_result, type: type_result, isSystemGesture: isSystemGesture_result} as GestureInfo) return value } - readGestureStyleInterface(): GestureStyleInterface { + public readGestureStyleInterface(): GestureStyleInterface { let valueDeserializer : Deserializer = this const onClick_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onClick_buf : ((event: ClickEvent) => void) | undefined @@ -6715,7 +7493,7 @@ export class Deserializer extends DeserializerBase { let value : GestureStyleInterface = ({onClick: onClick_result, onLongPress: onLongPress_result} as GestureStyleInterface) return value } - readGridColColumnOption(): GridColColumnOption { + public readGridColColumnOption(): GridColColumnOption { let valueDeserializer : Deserializer = this const xs_buf_runtimeType = (valueDeserializer.readInt8() as int32) let xs_buf : number | undefined @@ -6762,7 +7540,7 @@ export class Deserializer extends DeserializerBase { let value : GridColColumnOption = ({xs: xs_result, sm: sm_result, md: md_result, lg: lg_result, xl: xl_result, xxl: xxl_result} as GridColColumnOption) return value } - readGridContainerOptions(): GridContainerOptions { + public readGridContainerOptions(): GridContainerOptions { let valueDeserializer : Deserializer = this const columns_buf_runtimeType = (valueDeserializer.readInt8() as int32) let columns_buf : number | string | undefined @@ -6828,7 +7606,7 @@ export class Deserializer extends DeserializerBase { let value : GridContainerOptions = ({columns: columns_result, sizeType: sizeType_result, gutter: gutter_result, margin: margin_result} as GridContainerOptions) return value } - readGridItemOptions(): GridItemOptions { + public readGridItemOptions(): GridItemOptions { let valueDeserializer : Deserializer = this const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) let style_buf : GridItemStyle | undefined @@ -6840,7 +7618,7 @@ export class Deserializer extends DeserializerBase { let value : GridItemOptions = ({style: style_result} as GridItemOptions) return value } - readGridLayoutOptions(): GridLayoutOptions { + public readGridLayoutOptions(): GridLayoutOptions { let valueDeserializer : Deserializer = this const regularSize_buf_value0 : number = (valueDeserializer.readNumber() as number) const regularSize_buf_value1 : number = (valueDeserializer.readNumber() as number) @@ -6874,7 +7652,7 @@ export class Deserializer extends DeserializerBase { let value : GridLayoutOptions = ({regularSize: regularSize_result, irregularIndexes: irregularIndexes_result, onGetIrregularSizeByIndex: onGetIrregularSizeByIndex_result, onGetRectByIndex: onGetRectByIndex_result} as GridLayoutOptions) return value } - readGridRowColumnOption(): GridRowColumnOption { + public readGridRowColumnOption(): GridRowColumnOption { let valueDeserializer : Deserializer = this const xs_buf_runtimeType = (valueDeserializer.readInt8() as int32) let xs_buf : number | undefined @@ -6921,19 +7699,19 @@ export class Deserializer extends DeserializerBase { let value : GridRowColumnOption = ({xs: xs_result, sm: sm_result, md: md_result, lg: lg_result, xl: xl_result, xxl: xxl_result} as GridRowColumnOption) return value } - readHeader(): Header { + public readHeader(): Header { let valueDeserializer : Deserializer = this const headerKey_result : string = (valueDeserializer.readString() as string) const headerValue_result : string = (valueDeserializer.readString() as string) let value : Header = ({headerKey: headerKey_result, headerValue: headerValue_result} as Header) return value } - readHierarchicalSymbolEffect(): HierarchicalSymbolEffect { + public readHierarchicalSymbolEffect(): HierarchicalSymbolEffect { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return HierarchicalSymbolEffectInternal.fromPtr(ptr) } - readHoverEventParam(): HoverEventParam { + public readHoverEventParam(): HoverEventParam { let valueDeserializer : Deserializer = this const foldStatus_result : FoldStatus = TypeChecker.FoldStatus_FromNumeric(valueDeserializer.readInt32()) const isHoverMode_result : boolean = valueDeserializer.readBoolean() @@ -6942,7 +7720,7 @@ export class Deserializer extends DeserializerBase { let value : HoverEventParam = ({foldStatus: foldStatus_result, isHoverMode: isHoverMode_result, appRotation: appRotation_result, windowStatusType: windowStatusType_result} as HoverEventParam) return value } - readImageAIOptions(): ImageAIOptions { + public readImageAIOptions(): ImageAIOptions { let valueDeserializer : Deserializer = this const types_buf_runtimeType = (valueDeserializer.readInt8() as int32) let types_buf : Array | undefined @@ -6966,7 +7744,7 @@ export class Deserializer extends DeserializerBase { let value : ImageAIOptions = ({types: types_result, aiController: aiController_result} as ImageAIOptions) return value } - readImageAnalyzerConfig(): ImageAnalyzerConfig { + public readImageAnalyzerConfig(): ImageAnalyzerConfig { let valueDeserializer : Deserializer = this const types_buf_length : int32 = valueDeserializer.readInt32() let types_buf : Array = new Array(types_buf_length) @@ -6977,17 +7755,17 @@ export class Deserializer extends DeserializerBase { let value : ImageAnalyzerConfig = ({types: types_result} as ImageAnalyzerConfig) return value } - readImageBitmap(): ImageBitmap { + public readImageBitmap(): ImageBitmap { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ImageBitmapInternal.fromPtr(ptr) } - readImageData(): ImageData { + public readImageData(): ImageData { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ImageDataInternal.fromPtr(ptr) } - readImageError(): ImageError { + public readImageError(): ImageError { let valueDeserializer : Deserializer = this const componentWidth_result : number = (valueDeserializer.readNumber() as number) const componentHeight_result : number = (valueDeserializer.readNumber() as number) @@ -6995,7 +7773,7 @@ export class Deserializer extends DeserializerBase { let value : ImageError = ({componentWidth: componentWidth_result, componentHeight: componentHeight_result, message: message_result} as ImageError) return value } - readImageLoadResult(): ImageLoadResult { + public readImageLoadResult(): ImageLoadResult { let valueDeserializer : Deserializer = this const width_result : number = (valueDeserializer.readNumber() as number) const height_result : number = (valueDeserializer.readNumber() as number) @@ -7009,14 +7787,20 @@ export class Deserializer extends DeserializerBase { let value : ImageLoadResult = ({width: width_result, height: height_result, componentWidth: componentWidth_result, componentHeight: componentHeight_result, loadingStatus: loadingStatus_result, contentWidth: contentWidth_result, contentHeight: contentHeight_result, contentOffsetX: contentOffsetX_result, contentOffsetY: contentOffsetY_result} as ImageLoadResult) return value } - readImageSourceSize(): ImageSourceSize { + public readImageSourceSize(): ImageSourceSize { let valueDeserializer : Deserializer = this const width_result : number = (valueDeserializer.readNumber() as number) const height_result : number = (valueDeserializer.readNumber() as number) let value : ImageSourceSize = ({width: width_result, height: height_result} as ImageSourceSize) return value } - readInputCounterOptions(): InputCounterOptions { + public readImmersiveMode(): ImmersiveMode { + let valueDeserializer : Deserializer = this + const _ImmersiveModeStub_result : string = (valueDeserializer.readString() as string) + let value : ImmersiveMode = ({_ImmersiveModeStub: _ImmersiveModeStub_result} as ImmersiveMode) + return value + } + public readInputCounterOptions(): InputCounterOptions { let valueDeserializer : Deserializer = this const thresholdPercentage_buf_runtimeType = (valueDeserializer.readInt8() as int32) let thresholdPercentage_buf : number | undefined @@ -7035,21 +7819,21 @@ export class Deserializer extends DeserializerBase { let value : InputCounterOptions = ({thresholdPercentage: thresholdPercentage_result, highlightBorder: highlightBorder_result} as InputCounterOptions) return value } - readInsertValue(): InsertValue { + public readInsertValue(): InsertValue { let valueDeserializer : Deserializer = this const insertOffset_result : number = (valueDeserializer.readNumber() as number) const insertValue_result : string = (valueDeserializer.readString() as string) let value : InsertValue = ({insertOffset: insertOffset_result, insertValue: insertValue_result} as InsertValue) return value } - readIntelligentTrackingPreventionDetails(): IntelligentTrackingPreventionDetails { + public readIntelligentTrackingPreventionDetails(): IntelligentTrackingPreventionDetails { let valueDeserializer : Deserializer = this const host_result : string = (valueDeserializer.readString() as string) const trackerHost_result : string = (valueDeserializer.readString() as string) let value : IntelligentTrackingPreventionDetails = ({host: host_result, trackerHost: trackerHost_result} as IntelligentTrackingPreventionDetails) return value } - readInvertOptions(): InvertOptions { + public readInvertOptions(): InvertOptions { let valueDeserializer : Deserializer = this const low_result : number = (valueDeserializer.readNumber() as number) const high_result : number = (valueDeserializer.readNumber() as number) @@ -7058,14 +7842,14 @@ export class Deserializer extends DeserializerBase { let value : InvertOptions = ({low: low_result, high: high_result, threshold: threshold_result, thresholdRange: thresholdRange_result} as InvertOptions) return value } - readItemDragInfo(): ItemDragInfo { + public readItemDragInfo(): ItemDragInfo { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) const y_result : number = (valueDeserializer.readNumber() as number) let value : ItemDragInfo = ({x: x_result, y: y_result} as ItemDragInfo) return value } - readKeyboardOptions(): KeyboardOptions { + public readKeyboardOptions(): KeyboardOptions { let valueDeserializer : Deserializer = this const supportAvoidance_buf_runtimeType = (valueDeserializer.readInt8() as int32) let supportAvoidance_buf : boolean | undefined @@ -7077,12 +7861,12 @@ export class Deserializer extends DeserializerBase { let value : KeyboardOptions = ({supportAvoidance: supportAvoidance_result} as KeyboardOptions) return value } - readKeyEvent(): KeyEvent { + public readKeyEvent(): KeyEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return KeyEventInternal.fromPtr(ptr) } - readLargestContentfulPaint(): LargestContentfulPaint { + public readLargestContentfulPaint(): LargestContentfulPaint { let valueDeserializer : Deserializer = this const navigationStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) let navigationStartTime_buf : number | undefined @@ -7129,17 +7913,29 @@ export class Deserializer extends DeserializerBase { let value : LargestContentfulPaint = ({navigationStartTime: navigationStartTime_result, largestImagePaintTime: largestImagePaintTime_result, largestTextPaintTime: largestTextPaintTime_result, imageBPP: imageBPP_result, largestImageLoadStartTime: largestImageLoadStartTime_result, largestImageLoadEndTime: largestImageLoadEndTime_result} as LargestContentfulPaint) return value } - readLengthMetrics(): LengthMetrics { + public readLengthMetrics(): LengthMetrics { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return LengthMetricsInternal.fromPtr(ptr) } - readLetterSpacingStyle(): LetterSpacingStyle { + public readLetterSpacingStyle(): LetterSpacingStyle { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return LetterSpacingStyleInternal.fromPtr(ptr) } - readLinearGradient_common(): LinearGradient_common { + public readLevelMode(): LevelMode { + let valueDeserializer : Deserializer = this + const _LevelModeStub_result : string = (valueDeserializer.readString() as string) + let value : LevelMode = ({_LevelModeStub: _LevelModeStub_result} as LevelMode) + return value + } + public readLevelOrder(): LevelOrder { + let valueDeserializer : Deserializer = this + const _LevelOrderStub_result : string = (valueDeserializer.readString() as string) + let value : LevelOrder = ({_LevelOrderStub: _LevelOrderStub_result} as LevelOrder) + return value + } + public readLinearGradient_common(): LinearGradient_common { let valueDeserializer : Deserializer = this const angle_buf_runtimeType = (valueDeserializer.readInt8() as int32) let angle_buf : number | string | undefined @@ -7201,7 +7997,7 @@ export class Deserializer extends DeserializerBase { let value : LinearGradient_common = ({angle: angle_result, direction: direction_result, colors: colors_result, repeating: repeating_result} as LinearGradient_common) return value } - readLinearGradientBlurOptions(): LinearGradientBlurOptions { + public readLinearGradientBlurOptions(): LinearGradientBlurOptions { let valueDeserializer : Deserializer = this const fractionStops_buf_length : int32 = valueDeserializer.readInt32() let fractionStops_buf : Array = new Array(fractionStops_buf_length) @@ -7215,7 +8011,69 @@ export class Deserializer extends DeserializerBase { let value : LinearGradientBlurOptions = ({fractionStops: fractionStops_result, direction: direction_result} as LinearGradientBlurOptions) return value } - readLinearIndicatorStartOptions(): LinearIndicatorStartOptions { + public readLinearGradientOptions(): LinearGradientOptions { + let valueDeserializer : Deserializer = this + const angle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let angle_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (angle_buf_runtimeType)) + { + const angle_buf__selector : int32 = valueDeserializer.readInt8() + let angle_buf_ : number | string | undefined + if (angle_buf__selector == 0) { + angle_buf_ = (valueDeserializer.readNumber() as number) + } + else if (angle_buf__selector == 1) { + angle_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for angle_buf_ has to be chosen through deserialisation.") + } + angle_buf = (angle_buf_ as number | string) + } + const angle_result : number | string | undefined = angle_buf + const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let direction_buf : GradientDirection | undefined + if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf = TypeChecker.GradientDirection_FromNumeric(valueDeserializer.readInt32()) + } + const direction_result : GradientDirection | undefined = direction_buf + const colors_buf_length : int32 = valueDeserializer.readInt32() + let colors_buf : Array<[ ResourceColor, number ]> = new Array<[ ResourceColor, number ]>(colors_buf_length) + for (let colors_buf_i = 0; colors_buf_i < colors_buf_length; colors_buf_i++) { + const colors_buf_buf_value0_buf_selector : int32 = valueDeserializer.readInt8() + let colors_buf_buf_value0_buf : Color | number | string | Resource | undefined + if (colors_buf_buf_value0_buf_selector == 0) { + colors_buf_buf_value0_buf = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (colors_buf_buf_value0_buf_selector == 1) { + colors_buf_buf_value0_buf = (valueDeserializer.readNumber() as number) + } + else if (colors_buf_buf_value0_buf_selector == 2) { + colors_buf_buf_value0_buf = (valueDeserializer.readString() as string) + } + else if (colors_buf_buf_value0_buf_selector == 3) { + colors_buf_buf_value0_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for colors_buf_buf_value0_buf has to be chosen through deserialisation.") + } + const colors_buf_buf_value0 : ResourceColor = (colors_buf_buf_value0_buf as Color | number | string | Resource) + const colors_buf_buf_value1 : number = (valueDeserializer.readNumber() as number) + colors_buf[colors_buf_i] = ([colors_buf_buf_value0, colors_buf_buf_value1] as [ ResourceColor, number ]) + } + const colors_result : Array<[ ResourceColor, number ]> = colors_buf + const repeating_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let repeating_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (repeating_buf_runtimeType)) + { + repeating_buf = valueDeserializer.readBoolean() + } + const repeating_result : boolean | undefined = repeating_buf + let value : LinearGradientOptions = ({angle: angle_result, direction: direction_result, colors: colors_result, repeating: repeating_result} as LinearGradientOptions) + return value + } + public readLinearIndicatorStartOptions(): LinearIndicatorStartOptions { let valueDeserializer : Deserializer = this const interval_buf_runtimeType = (valueDeserializer.readInt8() as int32) let interval_buf : number | undefined @@ -7234,12 +8092,12 @@ export class Deserializer extends DeserializerBase { let value : LinearIndicatorStartOptions = ({interval: interval_result, duration: duration_result} as LinearIndicatorStartOptions) return value } - readLineHeightStyle(): LineHeightStyle { + public readLineHeightStyle(): LineHeightStyle { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return LineHeightStyleInternal.fromPtr(ptr) } - readLineMetrics(): LineMetrics { + public readLineMetrics(): LineMetrics { let valueDeserializer : Deserializer = this const startIndex_result : number = (valueDeserializer.readNumber() as number) const endIndex_result : number = (valueDeserializer.readNumber() as number) @@ -7263,7 +8121,7 @@ export class Deserializer extends DeserializerBase { let value : LineMetrics = ({startIndex: startIndex_result, endIndex: endIndex_result, ascent: ascent_result, descent: descent_result, height: height_result, width: width_result, left: left_result, baseline: baseline_result, lineNumber: lineNumber_result, topHeight: topHeight_result, runMetrics: runMetrics_result} as LineMetrics) return value } - readLineOptions(): LineOptions { + public readLineOptions(): LineOptions { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf : string | number | undefined @@ -7304,7 +8162,7 @@ export class Deserializer extends DeserializerBase { let value : LineOptions = ({width: width_result, height: height_result} as LineOptions) return value } - readListItemGroupOptions(): ListItemGroupOptions { + public readListItemGroupOptions(): ListItemGroupOptions { let valueDeserializer : Deserializer = this const header_buf_runtimeType = (valueDeserializer.readInt8() as int32) let header_buf : CustomBuilder | undefined @@ -7362,7 +8220,7 @@ export class Deserializer extends DeserializerBase { let value : ListItemGroupOptions = ({header: header_result, headerComponent: headerComponent_result, footer: footer_result, footerComponent: footerComponent_result, space: space_result, style: style_result} as ListItemGroupOptions) return value } - readListItemOptions(): ListItemOptions { + public readListItemOptions(): ListItemOptions { let valueDeserializer : Deserializer = this const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) let style_buf : ListItemStyle | undefined @@ -7374,7 +8232,7 @@ export class Deserializer extends DeserializerBase { let value : ListItemOptions = ({style: style_result} as ListItemOptions) return value } - readListOptions(): ListOptions { + public readListOptions(): ListOptions { let valueDeserializer : Deserializer = this const initialIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) let initialIndex_buf : number | undefined @@ -7411,7 +8269,7 @@ export class Deserializer extends DeserializerBase { let value : ListOptions = ({initialIndex: initialIndex_result, space: space_result, scroller: scroller_result} as ListOptions) return value } - readLoadCommittedDetails(): LoadCommittedDetails { + public readLoadCommittedDetails(): LoadCommittedDetails { let valueDeserializer : Deserializer = this const isMainFrame_result : boolean = valueDeserializer.readBoolean() const isSameDocument_result : boolean = valueDeserializer.readBoolean() @@ -7421,7 +8279,7 @@ export class Deserializer extends DeserializerBase { let value : LoadCommittedDetails = ({isMainFrame: isMainFrame_result, isSameDocument: isSameDocument_result, didReplaceEntry: didReplaceEntry_result, navigationType: navigationType_result, url: url_result} as LoadCommittedDetails) return value } - readLocalizedBarrierStyle(): LocalizedBarrierStyle { + public readLocalizedBarrierStyle(): LocalizedBarrierStyle { let valueDeserializer : Deserializer = this const id_result : string = (valueDeserializer.readString() as string) const localizedDirection_result : LocalizedBarrierDirection = TypeChecker.LocalizedBarrierDirection_FromNumeric(valueDeserializer.readInt32()) @@ -7434,21 +8292,21 @@ export class Deserializer extends DeserializerBase { let value : LocalizedBarrierStyle = ({id: id_result, localizedDirection: localizedDirection_result, referencedId: referencedId_result} as LocalizedBarrierStyle) return value } - readLocalizedHorizontalAlignParam(): LocalizedHorizontalAlignParam { + public readLocalizedHorizontalAlignParam(): LocalizedHorizontalAlignParam { let valueDeserializer : Deserializer = this const anchor_result : string = (valueDeserializer.readString() as string) const align_result : HorizontalAlign = TypeChecker.HorizontalAlign_FromNumeric(valueDeserializer.readInt32()) let value : LocalizedHorizontalAlignParam = ({anchor: anchor_result, align: align_result} as LocalizedHorizontalAlignParam) return value } - readLocalizedVerticalAlignParam(): LocalizedVerticalAlignParam { + public readLocalizedVerticalAlignParam(): LocalizedVerticalAlignParam { let valueDeserializer : Deserializer = this const anchor_result : string = (valueDeserializer.readString() as string) const align_result : VerticalAlign = TypeChecker.VerticalAlign_FromNumeric(valueDeserializer.readInt32()) let value : LocalizedVerticalAlignParam = ({anchor: anchor_result, align: align_result} as LocalizedVerticalAlignParam) return value } - readLocationButtonOptions(): LocationButtonOptions { + public readLocationButtonOptions(): LocationButtonOptions { let valueDeserializer : Deserializer = this const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) let icon_buf : LocationIconStyle | undefined @@ -7474,7 +8332,40 @@ export class Deserializer extends DeserializerBase { let value : LocationButtonOptions = ({icon: icon_result, text: text_result, buttonType: buttonType_result} as LocationButtonOptions) return value } - readMarqueeOptions(): MarqueeOptions { + public readLongPressGestureHandlerOptions(): LongPressGestureHandlerOptions { + let valueDeserializer : Deserializer = this + const isFingerCountLimited_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isFingerCountLimited_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) + { + isFingerCountLimited_buf = valueDeserializer.readBoolean() + } + const isFingerCountLimited_result : boolean | undefined = isFingerCountLimited_buf + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result : number | undefined = fingers_buf + const repeat_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let repeat_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (repeat_buf_runtimeType)) + { + repeat_buf = valueDeserializer.readBoolean() + } + const repeat_result : boolean | undefined = repeat_buf + const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let duration_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf = (valueDeserializer.readNumber() as number) + } + const duration_result : number | undefined = duration_buf + let value : LongPressGestureHandlerOptions = ({isFingerCountLimited: isFingerCountLimited_result, fingers: fingers_result, repeat: repeat_result, duration: duration_result} as LongPressGestureHandlerOptions) + return value + } + public readMarqueeOptions(): MarqueeOptions { let valueDeserializer : Deserializer = this const start_result : boolean = valueDeserializer.readBoolean() const step_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -7502,19 +8393,24 @@ export class Deserializer extends DeserializerBase { let value : MarqueeOptions = ({start: start_result, step: step_result, loop: loop_result, fromStart: fromStart_result, src: src_result} as MarqueeOptions) return value } - readMatrix2D(): Matrix2D { + public readMatrix2D(): Matrix2D { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return Matrix2DInternal.fromPtr(ptr) } - readMeasureResult(): MeasureResult { + public readMeasurable(): Measurable { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return MeasurableInternal.fromPtr(ptr) + } + public readMeasureResult(): MeasureResult { let valueDeserializer : Deserializer = this const width_result : number = (valueDeserializer.readNumber() as number) const height_result : number = (valueDeserializer.readNumber() as number) let value : MeasureResult = ({width: width_result, height: height_result} as MeasureResult) return value } - readMessageEvents(): MessageEvents { + public readMessageEvents(): MessageEvents { let valueDeserializer : Deserializer = this const type_result : string = (valueDeserializer.readString() as string) const timeStamp_result : int64 = valueDeserializer.readInt64() @@ -7522,7 +8418,7 @@ export class Deserializer extends DeserializerBase { let value : MessageEvents = ({type: type_result, timeStamp: timeStamp_result, data: data_result} as MessageEvents) return value } - readMonthData(): MonthData { + public readMonthData(): MonthData { let valueDeserializer : Deserializer = this const year_result : number = (valueDeserializer.readNumber() as number) const month_result : number = (valueDeserializer.readNumber() as number) @@ -7535,21 +8431,21 @@ export class Deserializer extends DeserializerBase { let value : MonthData = ({year: year_result, month: month_result, data: data_result} as MonthData) return value } - readMotionBlurAnchor(): MotionBlurAnchor { + public readMotionBlurAnchor(): MotionBlurAnchor { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) const y_result : number = (valueDeserializer.readNumber() as number) let value : MotionBlurAnchor = ({x: x_result, y: y_result} as MotionBlurAnchor) return value } - readMotionBlurOptions(): MotionBlurOptions { + public readMotionBlurOptions(): MotionBlurOptions { let valueDeserializer : Deserializer = this const radius_result : number = (valueDeserializer.readNumber() as number) const anchor_result : MotionBlurAnchor = valueDeserializer.readMotionBlurAnchor() let value : MotionBlurOptions = ({radius: radius_result, anchor: anchor_result} as MotionBlurOptions) return value } - readMotionPathOptions(): MotionPathOptions { + public readMotionPathOptions(): MotionPathOptions { let valueDeserializer : Deserializer = this const path_result : string = (valueDeserializer.readString() as string) const from_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -7576,19 +8472,19 @@ export class Deserializer extends DeserializerBase { let value : MotionPathOptions = ({path: path_result, from: from_result, to: to_result, rotatable: rotatable_result} as MotionPathOptions) return value } - readMutableStyledString(): MutableStyledString { + public readMutableStyledString(): MutableStyledString { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return MutableStyledStringInternal.fromPtr(ptr) } - readNativeEmbedVisibilityInfo(): NativeEmbedVisibilityInfo { + public readNativeEmbedVisibilityInfo(): NativeEmbedVisibilityInfo { let valueDeserializer : Deserializer = this const visibility_result : boolean = valueDeserializer.readBoolean() const embedId_result : string = (valueDeserializer.readString() as string) let value : NativeEmbedVisibilityInfo = ({visibility: visibility_result, embedId: embedId_result} as NativeEmbedVisibilityInfo) return value } - readNavContentInfo(): NavContentInfo { + public readNavContentInfo(): NavContentInfo { let valueDeserializer : Deserializer = this const name_buf_runtimeType = (valueDeserializer.readInt8() as int32) let name_buf : string | undefined @@ -7622,7 +8518,41 @@ export class Deserializer extends DeserializerBase { let value : NavContentInfo = ({name: name_result, index: index_result, mode: mode_result, param: param_result, navDestinationId: navDestinationId_result} as NavContentInfo) return value } - readNavigationAnimatedTransition(): NavigationAnimatedTransition { + public readNavDestinationTransition(): NavDestinationTransition { + let valueDeserializer : Deserializer = this + const onTransitionEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onTransitionEnd_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onTransitionEnd_buf_runtimeType)) + { + onTransitionEnd_buf = valueDeserializer.readCallback_Void() + } + const onTransitionEnd_result : (() => void) | undefined = onTransitionEnd_buf + const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let duration_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf = (valueDeserializer.readNumber() as number) + } + const duration_result : number | undefined = duration_buf + const curve_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let curve_buf : Curve | undefined + if ((RuntimeType.UNDEFINED) != (curve_buf_runtimeType)) + { + curve_buf = TypeChecker.Curve_FromNumeric(valueDeserializer.readInt32()) + } + const curve_result : Curve | undefined = curve_buf + const delay_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let delay_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (delay_buf_runtimeType)) + { + delay_buf = (valueDeserializer.readNumber() as number) + } + const delay_result : number | undefined = delay_buf + const event_result : (() => void) = valueDeserializer.readCallback_Void() + let value : NavDestinationTransition = ({onTransitionEnd: onTransitionEnd_result, duration: duration_result, curve: curve_result, delay: delay_result, event: event_result} as NavDestinationTransition) + return value + } + public readNavigationAnimatedTransition(): NavigationAnimatedTransition { let valueDeserializer : Deserializer = this const onTransitionEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onTransitionEnd_buf : ((isVisible: boolean) => void) | undefined @@ -7649,7 +8579,7 @@ export class Deserializer extends DeserializerBase { let value : NavigationAnimatedTransition = ({onTransitionEnd: onTransitionEnd_result, timeout: timeout_result, isInteractive: isInteractive_result, transition: transition_result} as NavigationAnimatedTransition) return value } - readNavigationInterception(): NavigationInterception { + public readNavigationInterception(): NavigationInterception { let valueDeserializer : Deserializer = this const willShow_buf_runtimeType = (valueDeserializer.readInt8() as int32) let willShow_buf : InterceptionShowCallback | undefined @@ -7675,7 +8605,7 @@ export class Deserializer extends DeserializerBase { let value : NavigationInterception = ({willShow: willShow_result, didShow: didShow_result, modeChange: modeChange_result} as NavigationInterception) return value } - readNavigationOptions(): NavigationOptions { + public readNavigationOptions(): NavigationOptions { let valueDeserializer : Deserializer = this const launchMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) let launchMode_buf : LaunchMode | undefined @@ -7694,17 +8624,24 @@ export class Deserializer extends DeserializerBase { let value : NavigationOptions = ({launchMode: launchMode_result, animated: animated_result} as NavigationOptions) return value } - readNavigationTransitionProxy(): NavigationTransitionProxy { + public readNavigationTransitionProxy(): NavigationTransitionProxy { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return NavigationTransitionProxyInternal.fromPtr(ptr) } - readNavPathInfo(): NavPathInfo { + public readNavPathInfo(): NavPathInfo { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return NavPathInfoInternal.fromPtr(ptr) } - readNestedScrollOptionsExt(): NestedScrollOptionsExt { + public readNestedScrollInfo(): NestedScrollInfo { + let valueDeserializer : Deserializer = this + const parent_result : Scroller = (valueDeserializer.readScroller() as Scroller) + const child_result : Scroller = (valueDeserializer.readScroller() as Scroller) + let value : NestedScrollInfo = ({parent: parent_result, child: child_result} as NestedScrollInfo) + return value + } + public readNestedScrollOptionsExt(): NestedScrollOptionsExt { let valueDeserializer : Deserializer = this const scrollUp_buf_runtimeType = (valueDeserializer.readInt8() as int32) let scrollUp_buf : NestedScrollMode | undefined @@ -7737,12 +8674,7 @@ export class Deserializer extends DeserializerBase { let value : NestedScrollOptionsExt = ({scrollUp: scrollUp_result, scrollDown: scrollDown_result, scrollRight: scrollRight_result, scrollLeft: scrollLeft_result} as NestedScrollOptionsExt) return value } - readOffscreenCanvasRenderingContext2D(): OffscreenCanvasRenderingContext2D { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return OffscreenCanvasRenderingContext2DInternal.fromPtr(ptr) - } - readOnAlertEvent(): OnAlertEvent { + public readOnAlertEvent(): OnAlertEvent { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) const message_result : string = (valueDeserializer.readString() as string) @@ -7750,7 +8682,7 @@ export class Deserializer extends DeserializerBase { let value : OnAlertEvent = ({url: url_result, message: message_result, result: result_result} as OnAlertEvent) return value } - readOnBeforeUnloadEvent(): OnBeforeUnloadEvent { + public readOnBeforeUnloadEvent(): OnBeforeUnloadEvent { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) const message_result : string = (valueDeserializer.readString() as string) @@ -7758,7 +8690,7 @@ export class Deserializer extends DeserializerBase { let value : OnBeforeUnloadEvent = ({url: url_result, message: message_result, result: result_result} as OnBeforeUnloadEvent) return value } - readOnClientAuthenticationEvent(): OnClientAuthenticationEvent { + public readOnClientAuthenticationEvent(): OnClientAuthenticationEvent { let valueDeserializer : Deserializer = this const handler_result : ClientAuthenticationHandler = (valueDeserializer.readClientAuthenticationHandler() as ClientAuthenticationHandler) const host_result : string = (valueDeserializer.readString() as string) @@ -7778,7 +8710,7 @@ export class Deserializer extends DeserializerBase { let value : OnClientAuthenticationEvent = ({handler: handler_result, host: host_result, port: port_result, keyTypes: keyTypes_result, issuers: issuers_result} as OnClientAuthenticationEvent) return value } - readOnConfirmEvent(): OnConfirmEvent { + public readOnConfirmEvent(): OnConfirmEvent { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) const message_result : string = (valueDeserializer.readString() as string) @@ -7786,14 +8718,14 @@ export class Deserializer extends DeserializerBase { let value : OnConfirmEvent = ({url: url_result, message: message_result, result: result_result} as OnConfirmEvent) return value } - readOnContextMenuShowEvent(): OnContextMenuShowEvent { + public readOnContextMenuShowEvent(): OnContextMenuShowEvent { let valueDeserializer : Deserializer = this const param_result : WebContextMenuParam = (valueDeserializer.readWebContextMenuParam() as WebContextMenuParam) const result_result : WebContextMenuResult = (valueDeserializer.readWebContextMenuResult() as WebContextMenuResult) let value : OnContextMenuShowEvent = ({param: param_result, result: result_result} as OnContextMenuShowEvent) return value } - readOnDownloadStartEvent(): OnDownloadStartEvent { + public readOnDownloadStartEvent(): OnDownloadStartEvent { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) const userAgent_result : string = (valueDeserializer.readString() as string) @@ -7803,27 +8735,27 @@ export class Deserializer extends DeserializerBase { let value : OnDownloadStartEvent = ({url: url_result, userAgent: userAgent_result, contentDisposition: contentDisposition_result, mimetype: mimetype_result, contentLength: contentLength_result} as OnDownloadStartEvent) return value } - readOnErrorReceiveEvent(): OnErrorReceiveEvent { + public readOnErrorReceiveEvent(): OnErrorReceiveEvent { let valueDeserializer : Deserializer = this const request_result : WebResourceRequest = (valueDeserializer.readWebResourceRequest() as WebResourceRequest) const error_result : WebResourceError = (valueDeserializer.readWebResourceError() as WebResourceError) let value : OnErrorReceiveEvent = ({request: request_result, error: error_result} as OnErrorReceiveEvent) return value } - readOnFaviconReceivedEvent(): OnFaviconReceivedEvent { + public readOnFaviconReceivedEvent(): OnFaviconReceivedEvent { let valueDeserializer : Deserializer = this const favicon_result : PixelMap = (valueDeserializer.readPixelMap() as PixelMap) let value : OnFaviconReceivedEvent = ({favicon: favicon_result} as OnFaviconReceivedEvent) return value } - readOnGeolocationShowEvent(): OnGeolocationShowEvent { + public readOnGeolocationShowEvent(): OnGeolocationShowEvent { let valueDeserializer : Deserializer = this const origin_result : string = (valueDeserializer.readString() as string) const geolocation_result : JsGeolocation = (valueDeserializer.readJsGeolocation() as JsGeolocation) let value : OnGeolocationShowEvent = ({origin: origin_result, geolocation: geolocation_result} as OnGeolocationShowEvent) return value } - readOnHttpAuthRequestEvent(): OnHttpAuthRequestEvent { + public readOnHttpAuthRequestEvent(): OnHttpAuthRequestEvent { let valueDeserializer : Deserializer = this const handler_result : HttpAuthHandler = (valueDeserializer.readHttpAuthHandler() as HttpAuthHandler) const host_result : string = (valueDeserializer.readString() as string) @@ -7831,50 +8763,50 @@ export class Deserializer extends DeserializerBase { let value : OnHttpAuthRequestEvent = ({handler: handler_result, host: host_result, realm: realm_result} as OnHttpAuthRequestEvent) return value } - readOnHttpErrorReceiveEvent(): OnHttpErrorReceiveEvent { + public readOnHttpErrorReceiveEvent(): OnHttpErrorReceiveEvent { let valueDeserializer : Deserializer = this const request_result : WebResourceRequest = (valueDeserializer.readWebResourceRequest() as WebResourceRequest) const response_result : WebResourceResponse = (valueDeserializer.readWebResourceResponse() as WebResourceResponse) let value : OnHttpErrorReceiveEvent = ({request: request_result, response: response_result} as OnHttpErrorReceiveEvent) return value } - readOnInterceptRequestEvent(): OnInterceptRequestEvent { + public readOnInterceptRequestEvent(): OnInterceptRequestEvent { let valueDeserializer : Deserializer = this const request_result : WebResourceRequest = (valueDeserializer.readWebResourceRequest() as WebResourceRequest) let value : OnInterceptRequestEvent = ({request: request_result} as OnInterceptRequestEvent) return value } - readOnLoadInterceptEvent(): OnLoadInterceptEvent { + public readOnLoadInterceptEvent(): OnLoadInterceptEvent { let valueDeserializer : Deserializer = this const data_result : WebResourceRequest = (valueDeserializer.readWebResourceRequest() as WebResourceRequest) let value : OnLoadInterceptEvent = ({data: data_result} as OnLoadInterceptEvent) return value } - readOnPageBeginEvent(): OnPageBeginEvent { + public readOnPageBeginEvent(): OnPageBeginEvent { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) let value : OnPageBeginEvent = ({url: url_result} as OnPageBeginEvent) return value } - readOnPageEndEvent(): OnPageEndEvent { + public readOnPageEndEvent(): OnPageEndEvent { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) let value : OnPageEndEvent = ({url: url_result} as OnPageEndEvent) return value } - readOnPageVisibleEvent(): OnPageVisibleEvent { + public readOnPageVisibleEvent(): OnPageVisibleEvent { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) let value : OnPageVisibleEvent = ({url: url_result} as OnPageVisibleEvent) return value } - readOnPermissionRequestEvent(): OnPermissionRequestEvent { + public readOnPermissionRequestEvent(): OnPermissionRequestEvent { let valueDeserializer : Deserializer = this const request_result : PermissionRequest = (valueDeserializer.readPermissionRequest() as PermissionRequest) let value : OnPermissionRequestEvent = ({request: request_result} as OnPermissionRequestEvent) return value } - readOnPromptEvent(): OnPromptEvent { + public readOnPromptEvent(): OnPromptEvent { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) const message_result : string = (valueDeserializer.readString() as string) @@ -7883,32 +8815,32 @@ export class Deserializer extends DeserializerBase { let value : OnPromptEvent = ({url: url_result, message: message_result, value: value_result, result: result_result} as OnPromptEvent) return value } - readOnRefreshAccessedHistoryEvent(): OnRefreshAccessedHistoryEvent { + public readOnRefreshAccessedHistoryEvent(): OnRefreshAccessedHistoryEvent { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) const isRefreshed_result : boolean = valueDeserializer.readBoolean() let value : OnRefreshAccessedHistoryEvent = ({url: url_result, isRefreshed: isRefreshed_result} as OnRefreshAccessedHistoryEvent) return value } - readOnRenderExitedEvent(): OnRenderExitedEvent { + public readOnRenderExitedEvent(): OnRenderExitedEvent { let valueDeserializer : Deserializer = this const renderExitReason_result : RenderExitReason = TypeChecker.RenderExitReason_FromNumeric(valueDeserializer.readInt32()) let value : OnRenderExitedEvent = ({renderExitReason: renderExitReason_result} as OnRenderExitedEvent) return value } - readOnResourceLoadEvent(): OnResourceLoadEvent { + public readOnResourceLoadEvent(): OnResourceLoadEvent { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) let value : OnResourceLoadEvent = ({url: url_result} as OnResourceLoadEvent) return value } - readOnScreenCaptureRequestEvent(): OnScreenCaptureRequestEvent { + public readOnScreenCaptureRequestEvent(): OnScreenCaptureRequestEvent { let valueDeserializer : Deserializer = this const handler_result : ScreenCaptureHandler = (valueDeserializer.readScreenCaptureHandler() as ScreenCaptureHandler) let value : OnScreenCaptureRequestEvent = ({handler: handler_result} as OnScreenCaptureRequestEvent) return value } - readOnSslErrorEventReceiveEvent(): OnSslErrorEventReceiveEvent { + public readOnSslErrorEventReceiveEvent(): OnSslErrorEventReceiveEvent { let valueDeserializer : Deserializer = this const handler_result : SslErrorHandler = (valueDeserializer.readSslErrorHandler() as SslErrorHandler) const error_result : SslError = TypeChecker.SslError_FromNumeric(valueDeserializer.readInt32()) @@ -7927,20 +8859,20 @@ export class Deserializer extends DeserializerBase { let value : OnSslErrorEventReceiveEvent = ({handler: handler_result, error: error_result, certChainData: certChainData_result} as OnSslErrorEventReceiveEvent) return value } - readOnTitleReceiveEvent(): OnTitleReceiveEvent { + public readOnTitleReceiveEvent(): OnTitleReceiveEvent { let valueDeserializer : Deserializer = this const title_result : string = (valueDeserializer.readString() as string) let value : OnTitleReceiveEvent = ({title: title_result} as OnTitleReceiveEvent) return value } - readOnTouchIconUrlReceivedEvent(): OnTouchIconUrlReceivedEvent { + public readOnTouchIconUrlReceivedEvent(): OnTouchIconUrlReceivedEvent { let valueDeserializer : Deserializer = this const url_result : string = (valueDeserializer.readString() as string) const precomposed_result : boolean = valueDeserializer.readBoolean() let value : OnTouchIconUrlReceivedEvent = ({url: url_result, precomposed: precomposed_result} as OnTouchIconUrlReceivedEvent) return value } - readOnWindowNewEvent(): OnWindowNewEvent { + public readOnWindowNewEvent(): OnWindowNewEvent { let valueDeserializer : Deserializer = this const isAlert_result : boolean = valueDeserializer.readBoolean() const isUserTrigger_result : boolean = valueDeserializer.readBoolean() @@ -7949,7 +8881,13 @@ export class Deserializer extends DeserializerBase { let value : OnWindowNewEvent = ({isAlert: isAlert_result, isUserTrigger: isUserTrigger_result, targetUrl: targetUrl_result, handler: handler_result} as OnWindowNewEvent) return value } - readOverlayOffset(): OverlayOffset { + public readOrientation(): Orientation { + let valueDeserializer : Deserializer = this + const _OrientationStub_result : string = (valueDeserializer.readString() as string) + let value : Orientation = ({_OrientationStub: _OrientationStub_result} as Orientation) + return value + } + public readOverlayOffset(): OverlayOffset { let valueDeserializer : Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf : number | undefined @@ -7968,7 +8906,40 @@ export class Deserializer extends DeserializerBase { let value : OverlayOffset = ({x: x_result, y: y_result} as OverlayOffset) return value } - readPasteButtonOptions(): PasteButtonOptions { + public readPanGestureHandlerOptions(): PanGestureHandlerOptions { + let valueDeserializer : Deserializer = this + const isFingerCountLimited_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isFingerCountLimited_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) + { + isFingerCountLimited_buf = valueDeserializer.readBoolean() + } + const isFingerCountLimited_result : boolean | undefined = isFingerCountLimited_buf + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result : number | undefined = fingers_buf + const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let direction_buf : PanDirection | undefined + if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf = TypeChecker.PanDirection_FromNumeric(valueDeserializer.readInt32()) + } + const direction_result : PanDirection | undefined = direction_buf + const distance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let distance_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (distance_buf_runtimeType)) + { + distance_buf = (valueDeserializer.readNumber() as number) + } + const distance_result : number | undefined = distance_buf + let value : PanGestureHandlerOptions = ({isFingerCountLimited: isFingerCountLimited_result, fingers: fingers_result, direction: direction_result, distance: distance_result} as PanGestureHandlerOptions) + return value + } + public readPasteButtonOptions(): PasteButtonOptions { let valueDeserializer : Deserializer = this const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) let icon_buf : PasteIconStyle | undefined @@ -7994,7 +8965,7 @@ export class Deserializer extends DeserializerBase { let value : PasteButtonOptions = ({icon: icon_result, text: text_result, buttonType: buttonType_result} as PasteButtonOptions) return value } - readPasteEvent(): PasteEvent { + public readPasteEvent(): PasteEvent { let valueDeserializer : Deserializer = this const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) let preventDefault_buf : (() => void) | undefined @@ -8006,7 +8977,7 @@ export class Deserializer extends DeserializerBase { let value : PasteEvent = ({preventDefault: preventDefault_result} as PasteEvent) return value } - readPathOptions(): PathOptions { + public readPathOptions(): PathOptions { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf : number | string | undefined @@ -8054,7 +9025,7 @@ export class Deserializer extends DeserializerBase { let value : PathOptions = ({width: width_result, height: height_result, commands: commands_result} as PathOptions) return value } - readPathShapeOptions(): PathShapeOptions { + public readPathShapeOptions(): PathShapeOptions { let valueDeserializer : Deserializer = this const commands_buf_runtimeType = (valueDeserializer.readInt8() as int32) let commands_buf : string | undefined @@ -8066,9 +9037,35 @@ export class Deserializer extends DeserializerBase { let value : PathShapeOptions = ({commands: commands_result} as PathShapeOptions) return value } - readPixelRoundPolicy(): PixelRoundPolicy { + public readPinchGestureHandlerOptions(): PinchGestureHandlerOptions { let valueDeserializer : Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + const isFingerCountLimited_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isFingerCountLimited_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) + { + isFingerCountLimited_buf = valueDeserializer.readBoolean() + } + const isFingerCountLimited_result : boolean | undefined = isFingerCountLimited_buf + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result : number | undefined = fingers_buf + const distance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let distance_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (distance_buf_runtimeType)) + { + distance_buf = (valueDeserializer.readNumber() as number) + } + const distance_result : number | undefined = distance_buf + let value : PinchGestureHandlerOptions = ({isFingerCountLimited: isFingerCountLimited_result, fingers: fingers_result, distance: distance_result} as PinchGestureHandlerOptions) + return value + } + public readPixelRoundPolicy(): PixelRoundPolicy { + let valueDeserializer : Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf : PixelRoundCalcPolicy | undefined if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { @@ -8099,21 +9096,21 @@ export class Deserializer extends DeserializerBase { let value : PixelRoundPolicy = ({start: start_result, top: top_result, end: end_result, bottom: bottom_result} as PixelRoundPolicy) return value } - readPluginComponentTemplate(): PluginComponentTemplate { + public readPluginComponentTemplate(): PluginComponentTemplate { let valueDeserializer : Deserializer = this const source_result : string = (valueDeserializer.readString() as string) const bundleName_result : string = (valueDeserializer.readString() as string) let value : PluginComponentTemplate = ({source: source_result, bundleName: bundleName_result} as PluginComponentTemplate) return value } - readPluginErrorData(): PluginErrorData { + public readPluginErrorData(): PluginErrorData { let valueDeserializer : Deserializer = this const errcode_result : number = (valueDeserializer.readNumber() as number) const msg_result : string = (valueDeserializer.readString() as string) let value : PluginErrorData = ({errcode: errcode_result, msg: msg_result} as PluginErrorData) return value } - readPolygonOptions(): PolygonOptions { + public readPolygonOptions(): PolygonOptions { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf : string | number | undefined @@ -8154,7 +9151,7 @@ export class Deserializer extends DeserializerBase { let value : PolygonOptions = ({width: width_result, height: height_result} as PolygonOptions) return value } - readPolylineOptions(): PolylineOptions { + public readPolylineOptions(): PolylineOptions { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf : string | number | undefined @@ -8195,7 +9192,7 @@ export class Deserializer extends DeserializerBase { let value : PolylineOptions = ({width: width_result, height: height_result} as PolylineOptions) return value } - readPolyToPolyOptions(): PolyToPolyOptions { + public readPolyToPolyOptions(): PolyToPolyOptions { let valueDeserializer : Deserializer = this const src_buf_length : int32 = valueDeserializer.readInt32() let src_buf : Array = new Array(src_buf_length) @@ -8233,14 +9230,26 @@ export class Deserializer extends DeserializerBase { let value : PolyToPolyOptions = ({src: src_result, srcIndex: srcIndex_result, dst: dst_result, dstIndex: dstIndex_result, pointCount: pointCount_result} as PolyToPolyOptions) return value } - readPopInfo(): PopInfo { + public readPopInfo(): PopInfo { let valueDeserializer : Deserializer = this const info_result : NavPathInfo = (valueDeserializer.readNavPathInfo() as NavPathInfo) const result_result : Object = (valueDeserializer.readObject() as Object) let value : PopInfo = ({info: info_result, result: result_result} as PopInfo) return value } - readPostMessageOptions(): PostMessageOptions { + public readPosterOptions(): PosterOptions { + let valueDeserializer : Deserializer = this + const showFirstFrame_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let showFirstFrame_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (showFirstFrame_buf_runtimeType)) + { + showFirstFrame_buf = valueDeserializer.readBoolean() + } + const showFirstFrame_result : boolean | undefined = showFirstFrame_buf + let value : PosterOptions = ({showFirstFrame: showFirstFrame_result} as PosterOptions) + return value + } + public readPostMessageOptions(): PostMessageOptions { let valueDeserializer : Deserializer = this const transfer_buf_runtimeType = (valueDeserializer.readInt8() as int32) let transfer_buf : Array | undefined @@ -8257,14 +9266,45 @@ export class Deserializer extends DeserializerBase { let value : PostMessageOptions = ({transfer: transfer_result} as PostMessageOptions) return value } - readPreviewText(): PreviewText { + public readPreviewConfiguration(): PreviewConfiguration { + let valueDeserializer : Deserializer = this + const onlyForLifting_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onlyForLifting_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (onlyForLifting_buf_runtimeType)) + { + onlyForLifting_buf = valueDeserializer.readBoolean() + } + const onlyForLifting_result : boolean | undefined = onlyForLifting_buf + const delayCreating_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let delayCreating_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (delayCreating_buf_runtimeType)) + { + delayCreating_buf = valueDeserializer.readBoolean() + } + const delayCreating_result : boolean | undefined = delayCreating_buf + let value : PreviewConfiguration = ({onlyForLifting: onlyForLifting_result, delayCreating: delayCreating_result} as PreviewConfiguration) + return value + } + public readPreviewMenuOptions(): PreviewMenuOptions { + let valueDeserializer : Deserializer = this + const hapticFeedbackMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hapticFeedbackMode_buf : HapticFeedbackMode | undefined + if ((RuntimeType.UNDEFINED) != (hapticFeedbackMode_buf_runtimeType)) + { + hapticFeedbackMode_buf = TypeChecker.HapticFeedbackMode_FromNumeric(valueDeserializer.readInt32()) + } + const hapticFeedbackMode_result : HapticFeedbackMode | undefined = hapticFeedbackMode_buf + let value : PreviewMenuOptions = ({hapticFeedbackMode: hapticFeedbackMode_result} as PreviewMenuOptions) + return value + } + public readPreviewText(): PreviewText { let valueDeserializer : Deserializer = this const offset_result : number = (valueDeserializer.readNumber() as number) const value_result : string = (valueDeserializer.readString() as string) let value : PreviewText = ({offset: offset_result, value: value_result} as PreviewText) return value } - readProgressOptions(): ProgressOptions { + public readProgressOptions(): ProgressOptions { let valueDeserializer : Deserializer = this const value_result : number = (valueDeserializer.readNumber() as number) const total_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -8291,7 +9331,7 @@ export class Deserializer extends DeserializerBase { let value : ProgressOptions = ({value: value_result, total: total_result, style: style_result, type: type_result} as ProgressOptions) return value } - readRadioOptions(): RadioOptions { + public readRadioOptions(): RadioOptions { let valueDeserializer : Deserializer = this const group_result : string = (valueDeserializer.readString() as string) const value_result : string = (valueDeserializer.readString() as string) @@ -8312,7 +9352,7 @@ export class Deserializer extends DeserializerBase { let value : RadioOptions = ({group: group_result, value: value_result, indicatorType: indicatorType_result, indicatorBuilder: indicatorBuilder_result} as RadioOptions) return value } - readRatingOptions(): RatingOptions { + public readRatingOptions(): RatingOptions { let valueDeserializer : Deserializer = this const rating_result : number = (valueDeserializer.readNumber() as number) const indicator_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -8325,7 +9365,7 @@ export class Deserializer extends DeserializerBase { let value : RatingOptions = ({rating: rating_result, indicator: indicator_result} as RatingOptions) return value } - readRectStyle(): RectStyle { + public readRectStyle(): RectStyle { let valueDeserializer : Deserializer = this const color_result : common2D.Color = valueDeserializer.readcommon2D_Color() const leftTopRadius_result : number = (valueDeserializer.readNumber() as number) @@ -8335,12 +9375,12 @@ export class Deserializer extends DeserializerBase { let value : RectStyle = ({color: color_result, leftTopRadius: leftTopRadius_result, rightTopRadius: rightTopRadius_result, rightBottomRadius: rightBottomRadius_result, leftBottomRadius: leftBottomRadius_result} as RectStyle) return value } - readRenderingContextSettings(): RenderingContextSettings { + public readRenderingContextSettings(): RenderingContextSettings { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return RenderingContextSettingsInternal.fromPtr(ptr) } - readRenderProcessNotRespondingData(): RenderProcessNotRespondingData { + public readRenderProcessNotRespondingData(): RenderProcessNotRespondingData { let valueDeserializer : Deserializer = this const jsStack_result : string = (valueDeserializer.readString() as string) const pid_result : number = (valueDeserializer.readNumber() as number) @@ -8348,12 +9388,12 @@ export class Deserializer extends DeserializerBase { let value : RenderProcessNotRespondingData = ({jsStack: jsStack_result, pid: pid_result, reason: reason_result} as RenderProcessNotRespondingData) return value } - readReplaceSymbolEffect(): ReplaceSymbolEffect { + public readReplaceSymbolEffect(): ReplaceSymbolEffect { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ReplaceSymbolEffectInternal.fromPtr(ptr) } - readResource(): Resource { + public readResource(): Resource { let valueDeserializer : Deserializer = this const bundleName_result : string = (valueDeserializer.readString() as string) const moduleName_result : string = (valueDeserializer.readString() as string) @@ -8380,19 +9420,7 @@ export class Deserializer extends DeserializerBase { let value : Resource = ({bundleName: bundleName_result, moduleName: moduleName_result, id: id_result, params: params_result, type: type_result} as Resource) return value } - readRichEditorBuilderSpanOptions(): RichEditorBuilderSpanOptions { - let valueDeserializer : Deserializer = this - const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offset_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) - { - offset_buf = (valueDeserializer.readNumber() as number) - } - const offset_result : number | undefined = offset_buf - let value : RichEditorBuilderSpanOptions = ({offset: offset_result} as RichEditorBuilderSpanOptions) - return value - } - readRichEditorDeleteValue(): RichEditorDeleteValue { + public readRichEditorDeleteValue(): RichEditorDeleteValue { let valueDeserializer : Deserializer = this const offset_result : number = (valueDeserializer.readNumber() as number) const direction_result : RichEditorDeleteDirection = TypeChecker.RichEditorDeleteDirection_FromNumeric(valueDeserializer.readInt32()) @@ -8417,7 +9445,7 @@ export class Deserializer extends DeserializerBase { let value : RichEditorDeleteValue = ({offset: offset_result, direction: direction_result, length: length_result, richEditorDeleteSpans: richEditorDeleteSpans_result} as RichEditorDeleteValue) return value } - readRichEditorGesture(): RichEditorGesture { + public readRichEditorGesture(): RichEditorGesture { let valueDeserializer : Deserializer = this const onClick_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onClick_buf : ((event: ClickEvent) => void) | undefined @@ -8433,10 +9461,17 @@ export class Deserializer extends DeserializerBase { onLongPress_buf = valueDeserializer.readCallback_GestureEvent_Void() } const onLongPress_result : ((event: GestureEvent) => void) | undefined = onLongPress_buf - let value : RichEditorGesture = ({onClick: onClick_result, onLongPress: onLongPress_result} as RichEditorGesture) + const onDoubleClick_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDoubleClick_buf : ((event: GestureEvent) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDoubleClick_buf_runtimeType)) + { + onDoubleClick_buf = valueDeserializer.readCallback_GestureEvent_Void() + } + const onDoubleClick_result : ((event: GestureEvent) => void) | undefined = onDoubleClick_buf + let value : RichEditorGesture = ({onClick: onClick_result, onLongPress: onLongPress_result, onDoubleClick: onDoubleClick_result} as RichEditorGesture) return value } - readRichEditorInsertValue(): RichEditorInsertValue { + public readRichEditorInsertValue(): RichEditorInsertValue { let valueDeserializer : Deserializer = this const insertOffset_result : number = (valueDeserializer.readNumber() as number) const insertValue_result : string = (valueDeserializer.readString() as string) @@ -8450,7 +9485,7 @@ export class Deserializer extends DeserializerBase { let value : RichEditorInsertValue = ({insertOffset: insertOffset_result, insertValue: insertValue_result, previewText: previewText_result} as RichEditorInsertValue) return value } - readRichEditorRange(): RichEditorRange { + public readRichEditorRange(): RichEditorRange { let valueDeserializer : Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf : number | undefined @@ -8469,7 +9504,7 @@ export class Deserializer extends DeserializerBase { let value : RichEditorRange = ({start: start_result, end: end_result} as RichEditorRange) return value } - readRichEditorSelection(): RichEditorSelection { + public readRichEditorSelection(): RichEditorSelection { let valueDeserializer : Deserializer = this const selection_buf_value0 : number = (valueDeserializer.readNumber() as number) const selection_buf_value1 : number = (valueDeserializer.readNumber() as number) @@ -8494,7 +9529,7 @@ export class Deserializer extends DeserializerBase { let value : RichEditorSelection = ({selection: selection_result, spans: spans_result} as RichEditorSelection) return value } - readRichEditorSpanPosition(): RichEditorSpanPosition { + public readRichEditorSpanPosition(): RichEditorSpanPosition { let valueDeserializer : Deserializer = this const spanIndex_result : number = (valueDeserializer.readNumber() as number) const spanRange_buf_value0 : number = (valueDeserializer.readNumber() as number) @@ -8503,7 +9538,7 @@ export class Deserializer extends DeserializerBase { let value : RichEditorSpanPosition = ({spanIndex: spanIndex_result, spanRange: spanRange_result} as RichEditorSpanPosition) return value } - readRotateOption(): RotateOption { + public readRotateOption(): RotateOption { let valueDeserializer : Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf : number | undefined @@ -8550,7 +9585,7 @@ export class Deserializer extends DeserializerBase { let value : RotateOption = ({x: x_result, y: y_result, z: z_result, centerX: centerX_result, centerY: centerY_result, angle: angle_result} as RotateOption) return value } - readRotateOptions(): RotateOptions { + public readRotateOptions(): RotateOptions { let valueDeserializer : Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf : number | undefined @@ -8638,7 +9673,33 @@ export class Deserializer extends DeserializerBase { let value : RotateOptions = ({x: x_result, y: y_result, z: z_result, centerX: centerX_result, centerY: centerY_result, centerZ: centerZ_result, perspective: perspective_result, angle: angle_result} as RotateOptions) return value } - readRoundedRectOptions(): RoundedRectOptions { + public readRotationGestureHandlerOptions(): RotationGestureHandlerOptions { + let valueDeserializer : Deserializer = this + const isFingerCountLimited_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isFingerCountLimited_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) + { + isFingerCountLimited_buf = valueDeserializer.readBoolean() + } + const isFingerCountLimited_result : boolean | undefined = isFingerCountLimited_buf + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result : number | undefined = fingers_buf + const angle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let angle_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (angle_buf_runtimeType)) + { + angle_buf = (valueDeserializer.readNumber() as number) + } + const angle_result : number | undefined = angle_buf + let value : RotationGestureHandlerOptions = ({isFingerCountLimited: isFingerCountLimited_result, fingers: fingers_result, angle: angle_result} as RotationGestureHandlerOptions) + return value + } + public readRoundedRectOptions(): RoundedRectOptions { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf : number | string | undefined @@ -8715,14 +9776,14 @@ export class Deserializer extends DeserializerBase { let value : RoundedRectOptions = ({width: width_result, height: height_result, radiusWidth: radiusWidth_result, radiusHeight: radiusHeight_result} as RoundedRectOptions) return value } - readRoundRect(): RoundRect { + public readRoundRect(): RoundRect { let valueDeserializer : Deserializer = this const rect_result : Rect = valueDeserializer.readRect() const corners_result : CornerRadius = valueDeserializer.readCornerRadius() let value : RoundRect = ({rect: rect_result, corners: corners_result} as RoundRect) return value } - readRoundRectShapeOptions(): RoundRectShapeOptions { + public readRoundRectShapeOptions(): RoundRectShapeOptions { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf : number | string | undefined @@ -8799,7 +9860,7 @@ export class Deserializer extends DeserializerBase { let value : RoundRectShapeOptions = ({width: width_result, height: height_result, radiusWidth: radiusWidth_result, radiusHeight: radiusHeight_result} as RoundRectShapeOptions) return value } - readRouteInfo(): RouteInfo { + public readRouteInfo(): RouteInfo { let valueDeserializer : Deserializer = this const name_result : string = (valueDeserializer.readString() as string) const param_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -8812,7 +9873,7 @@ export class Deserializer extends DeserializerBase { let value : RouteInfo = ({name: name_result, param: param_result} as RouteInfo) return value } - readRouteMapConfig(): RouteMapConfig { + public readRouteMapConfig(): RouteMapConfig { let valueDeserializer : Deserializer = this const name_result : string = (valueDeserializer.readString() as string) const pageSourceFile_result : string = (valueDeserializer.readString() as string) @@ -8820,7 +9881,7 @@ export class Deserializer extends DeserializerBase { let value : RouteMapConfig = ({name: name_result, pageSourceFile: pageSourceFile_result, data: data_result} as RouteMapConfig) return value } - readRowOptions(): RowOptions { + public readRowOptions(): RowOptions { let valueDeserializer : Deserializer = this const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) let space_buf : string | number | undefined @@ -8843,7 +9904,13 @@ export class Deserializer extends DeserializerBase { let value : RowOptions = ({space: space_result} as RowOptions) return value } - readSaveButtonOptions(): SaveButtonOptions { + public readRowOptionsV2(): RowOptionsV2 { + let valueDeserializer : Deserializer = this + const stub_result : string = (valueDeserializer.readString() as string) + let value : RowOptionsV2 = ({stub: stub_result} as RowOptionsV2) + return value + } + public readSaveButtonOptions(): SaveButtonOptions { let valueDeserializer : Deserializer = this const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) let icon_buf : SaveIconStyle | undefined @@ -8869,7 +9936,7 @@ export class Deserializer extends DeserializerBase { let value : SaveButtonOptions = ({icon: icon_result, text: text_result, buttonType: buttonType_result} as SaveButtonOptions) return value } - readScaleOption(): ScaleOption { + public readScaleOption(): ScaleOption { let valueDeserializer : Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf : number | undefined @@ -8909,7 +9976,7 @@ export class Deserializer extends DeserializerBase { let value : ScaleOption = ({x: x_result, y: y_result, z: z_result, centerX: centerX_result, centerY: centerY_result} as ScaleOption) return value } - readScaleOptions(): ScaleOptions { + public readScaleOptions(): ScaleOptions { let valueDeserializer : Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf : number | undefined @@ -8971,18 +10038,18 @@ export class Deserializer extends DeserializerBase { let value : ScaleOptions = ({x: x_result, y: y_result, z: z_result, centerX: centerX_result, centerY: centerY_result} as ScaleOptions) return value } - readScaleSymbolEffect(): ScaleSymbolEffect { + public readScaleSymbolEffect(): ScaleSymbolEffect { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ScaleSymbolEffectInternal.fromPtr(ptr) } - readScreenCaptureConfig(): ScreenCaptureConfig { + public readScreenCaptureConfig(): ScreenCaptureConfig { let valueDeserializer : Deserializer = this const captureMode_result : WebCaptureMode = TypeChecker.WebCaptureMode_FromNumeric(valueDeserializer.readInt32()) let value : ScreenCaptureConfig = ({captureMode: captureMode_result} as ScreenCaptureConfig) return value } - readScriptItem(): ScriptItem { + public readScriptItem(): ScriptItem { let valueDeserializer : Deserializer = this const script_result : string = (valueDeserializer.readString() as string) const scriptRules_buf_length : int32 = valueDeserializer.readInt32() @@ -8994,7 +10061,7 @@ export class Deserializer extends DeserializerBase { let value : ScriptItem = ({script: script_result, scriptRules: scriptRules_result} as ScriptItem) return value } - readScrollAnimationOptions(): ScrollAnimationOptions { + public readScrollAnimationOptions(): ScrollAnimationOptions { let valueDeserializer : Deserializer = this const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) let duration_buf : number | undefined @@ -9031,7 +10098,7 @@ export class Deserializer extends DeserializerBase { let value : ScrollAnimationOptions = ({duration: duration_result, curve: curve_result, canOverScroll: canOverScroll_result} as ScrollAnimationOptions) return value } - readScrollBarOptions(): ScrollBarOptions { + public readScrollBarOptions(): ScrollBarOptions { let valueDeserializer : Deserializer = this const scroller_result : Scroller = (valueDeserializer.readScroller() as Scroller) const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9051,7 +10118,7 @@ export class Deserializer extends DeserializerBase { let value : ScrollBarOptions = ({scroller: scroller_result, direction: direction_result, state: state_result} as ScrollBarOptions) return value } - readScrollEdgeOptions(): ScrollEdgeOptions { + public readScrollEdgeOptions(): ScrollEdgeOptions { let valueDeserializer : Deserializer = this const velocity_buf_runtimeType = (valueDeserializer.readInt8() as int32) let velocity_buf : number | undefined @@ -9063,7 +10130,7 @@ export class Deserializer extends DeserializerBase { let value : ScrollEdgeOptions = ({velocity: velocity_result} as ScrollEdgeOptions) return value } - readScrollPageOptions(): ScrollPageOptions { + public readScrollPageOptions(): ScrollPageOptions { let valueDeserializer : Deserializer = this const next_result : boolean = valueDeserializer.readBoolean() const animation_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9076,33 +10143,7 @@ export class Deserializer extends DeserializerBase { let value : ScrollPageOptions = ({next: next_result, animation: animation_result} as ScrollPageOptions) return value } - readSelectionMenuOptions(): SelectionMenuOptions { - let valueDeserializer : Deserializer = this - const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onAppear_buf : MenuOnAppearCallback | undefined - if ((RuntimeType.UNDEFINED) != (onAppear_buf_runtimeType)) - { - onAppear_buf = valueDeserializer.readMenuOnAppearCallback() - } - const onAppear_result : MenuOnAppearCallback | undefined = onAppear_buf - const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onDisappear_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) - { - onDisappear_buf = valueDeserializer.readCallback_Void() - } - const onDisappear_result : (() => void) | undefined = onDisappear_buf - const menuType_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let menuType_buf : MenuType | undefined - if ((RuntimeType.UNDEFINED) != (menuType_buf_runtimeType)) - { - menuType_buf = TypeChecker.MenuType_FromNumeric(valueDeserializer.readInt32()) - } - const menuType_result : MenuType | undefined = menuType_buf - let value : SelectionMenuOptions = ({onAppear: onAppear_result, onDisappear: onDisappear_result, menuType: menuType_result} as SelectionMenuOptions) - return value - } - readSelectionMenuOptionsExt(): SelectionMenuOptionsExt { + public readSelectionMenuOptionsExt(): SelectionMenuOptionsExt { let valueDeserializer : Deserializer = this const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onAppear_buf : (() => void) | undefined @@ -9135,7 +10176,7 @@ export class Deserializer extends DeserializerBase { let value : SelectionMenuOptionsExt = ({onAppear: onAppear_result, onDisappear: onDisappear_result, preview: preview_result, menuType: menuType_result} as SelectionMenuOptionsExt) return value } - readSelectionOptions(): SelectionOptions { + public readSelectionOptions(): SelectionOptions { let valueDeserializer : Deserializer = this const menuPolicy_buf_runtimeType = (valueDeserializer.readInt8() as int32) let menuPolicy_buf : MenuPolicy | undefined @@ -9147,7 +10188,7 @@ export class Deserializer extends DeserializerBase { let value : SelectionOptions = ({menuPolicy: menuPolicy_result} as SelectionOptions) return value } - readShapeSize(): ShapeSize { + public readShapeSize(): ShapeSize { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf : number | string | undefined @@ -9188,13 +10229,13 @@ export class Deserializer extends DeserializerBase { let value : ShapeSize = ({width: width_result, height: height_result} as ShapeSize) return value } - readSheetDismiss(): SheetDismiss { + public readSheetDismiss(): SheetDismiss { let valueDeserializer : Deserializer = this const dismiss_result : (() => void) = valueDeserializer.readCallback_Void() let value : SheetDismiss = ({dismiss: dismiss_result} as SheetDismiss) return value } - readSlideRange(): SlideRange { + public readSlideRange(): SlideRange { let valueDeserializer : Deserializer = this const from_buf_runtimeType = (valueDeserializer.readInt8() as int32) let from_buf : number | undefined @@ -9213,7 +10254,7 @@ export class Deserializer extends DeserializerBase { let value : SlideRange = ({from: from_result, to: to_result} as SlideRange) return value } - readSliderOptions(): SliderOptions { + public readSliderOptions(): SliderOptions { let valueDeserializer : Deserializer = this const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) let value_buf : number | undefined @@ -9267,7 +10308,7 @@ export class Deserializer extends DeserializerBase { let value : SliderOptions = ({value: value_result, min: min_result, max: max_result, step: step_result, style: style_result, direction: direction_result, reverse: reverse_result} as SliderOptions) return value } - readSnapshotOptions(): SnapshotOptions { + public readSnapshotOptions(): SnapshotOptions { let valueDeserializer : Deserializer = this const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) let scale_buf : number | undefined @@ -9286,13 +10327,13 @@ export class Deserializer extends DeserializerBase { let value : SnapshotOptions = ({scale: scale_result, waitUntilRenderFinished: waitUntilRenderFinished_result} as SnapshotOptions) return value } - readSpringBackAction(): SpringBackAction { + public readSpringBackAction(): SpringBackAction { let valueDeserializer : Deserializer = this const springBack_result : (() => void) = valueDeserializer.readCallback_Void() let value : SpringBackAction = ({springBack: springBack_result} as SpringBackAction) return value } - readSslErrorEvent(): SslErrorEvent { + public readSslErrorEvent(): SslErrorEvent { let valueDeserializer : Deserializer = this const handler_result : SslErrorHandler = (valueDeserializer.readSslErrorHandler() as SslErrorHandler) const error_result : SslError = TypeChecker.SslError_FromNumeric(valueDeserializer.readInt32()) @@ -9304,7 +10345,7 @@ export class Deserializer extends DeserializerBase { let value : SslErrorEvent = ({handler: handler_result, error: error_result, url: url_result, originalUrl: originalUrl_result, referrer: referrer_result, isFatalError: isFatalError_result, isMainFrame: isMainFrame_result} as SslErrorEvent) return value } - readStackOptions(): StackOptions { + public readStackOptions(): StackOptions { let valueDeserializer : Deserializer = this const alignContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) let alignContent_buf : Alignment | undefined @@ -9316,7 +10357,7 @@ export class Deserializer extends DeserializerBase { let value : StackOptions = ({alignContent: alignContent_result} as StackOptions) return value } - readStarStyleOptions(): StarStyleOptions { + public readStarStyleOptions(): StarStyleOptions { let valueDeserializer : Deserializer = this const backgroundUri_result : string = (valueDeserializer.readString() as string) const foregroundUri_result : string = (valueDeserializer.readString() as string) @@ -9330,7 +10371,7 @@ export class Deserializer extends DeserializerBase { let value : StarStyleOptions = ({backgroundUri: backgroundUri_result, foregroundUri: foregroundUri_result, secondaryUri: secondaryUri_result} as StarStyleOptions) return value } - readStateStyles(): StateStyles { + public readStateStyles(): StateStyles { let valueDeserializer : Deserializer = this const normal_buf_runtimeType = (valueDeserializer.readInt8() as int32) let normal_buf : object | undefined @@ -9377,7 +10418,7 @@ export class Deserializer extends DeserializerBase { let value : StateStyles = ({normal: normal_result, pressed: pressed_result, disabled: disabled_result, focused: focused_result, clicked: clicked_result, selected: selected_result} as StateStyles) return value } - readStyledStringChangedListener(): StyledStringChangedListener { + public readStyledStringChangedListener(): StyledStringChangedListener { let valueDeserializer : Deserializer = this const onWillChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onWillChange_buf : ((parameter: StyledStringChangeValue) => boolean) | undefined @@ -9396,7 +10437,7 @@ export class Deserializer extends DeserializerBase { let value : StyledStringChangedListener = ({onWillChange: onWillChange_result, onDidChange: onDidChange_result} as StyledStringChangedListener) return value } - readSummary(): Summary { + public readSummary(): Summary { let valueDeserializer : Deserializer = this const summary_buf_size : int32 = valueDeserializer.readInt32() let summary_buf : Map = new Map() @@ -9411,7 +10452,7 @@ export class Deserializer extends DeserializerBase { let value : Summary = ({summary: summary_result, totalSize: totalSize_result} as Summary) return value } - readSurfaceRect(): SurfaceRect { + public readSurfaceRect(): SurfaceRect { let valueDeserializer : Deserializer = this const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) let offsetX_buf : number | undefined @@ -9432,7 +10473,7 @@ export class Deserializer extends DeserializerBase { let value : SurfaceRect = ({offsetX: offsetX_result, offsetY: offsetY_result, surfaceWidth: surfaceWidth_result, surfaceHeight: surfaceHeight_result} as SurfaceRect) return value } - readSurfaceRotationOptions(): SurfaceRotationOptions { + public readSurfaceRotationOptions(): SurfaceRotationOptions { let valueDeserializer : Deserializer = this const lock_buf_runtimeType = (valueDeserializer.readInt8() as int32) let lock_buf : boolean | undefined @@ -9444,7 +10485,40 @@ export class Deserializer extends DeserializerBase { let value : SurfaceRotationOptions = ({lock: lock_result} as SurfaceRotationOptions) return value } - readSwiperAutoFill(): SwiperAutoFill { + public readSwipeGestureHandlerOptions(): SwipeGestureHandlerOptions { + let valueDeserializer : Deserializer = this + const isFingerCountLimited_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isFingerCountLimited_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) + { + isFingerCountLimited_buf = valueDeserializer.readBoolean() + } + const isFingerCountLimited_result : boolean | undefined = isFingerCountLimited_buf + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result : number | undefined = fingers_buf + const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let direction_buf : SwipeDirection | undefined + if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf = TypeChecker.SwipeDirection_FromNumeric(valueDeserializer.readInt32()) + } + const direction_result : SwipeDirection | undefined = direction_buf + const speed_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let speed_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (speed_buf_runtimeType)) + { + speed_buf = (valueDeserializer.readNumber() as number) + } + const speed_result : number | undefined = speed_buf + let value : SwipeGestureHandlerOptions = ({isFingerCountLimited: isFingerCountLimited_result, fingers: fingers_result, direction: direction_result, speed: speed_result} as SwipeGestureHandlerOptions) + return value + } + public readSwiperAutoFill(): SwiperAutoFill { let valueDeserializer : Deserializer = this const minSize_buf_selector : int32 = valueDeserializer.readInt8() let minSize_buf : string | number | undefined @@ -9461,7 +10535,7 @@ export class Deserializer extends DeserializerBase { let value : SwiperAutoFill = ({minSize: minSize_result} as SwiperAutoFill) return value } - readSwiperContentAnimatedTransition(): SwiperContentAnimatedTransition { + public readSwiperContentAnimatedTransition(): SwiperContentAnimatedTransition { let valueDeserializer : Deserializer = this const timeout_buf_runtimeType = (valueDeserializer.readInt8() as int32) let timeout_buf : number | undefined @@ -9474,7 +10548,19 @@ export class Deserializer extends DeserializerBase { let value : SwiperContentAnimatedTransition = ({timeout: timeout_result, transition: transition_result} as SwiperContentAnimatedTransition) return value } - readSystemBarStyle(): SystemBarStyle { + public readSystemAdaptiveOptions(): SystemAdaptiveOptions { + let valueDeserializer : Deserializer = this + const disableSystemAdaptation_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disableSystemAdaptation_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (disableSystemAdaptation_buf_runtimeType)) + { + disableSystemAdaptation_buf = valueDeserializer.readBoolean() + } + const disableSystemAdaptation_result : boolean | undefined = disableSystemAdaptation_buf + let value : SystemAdaptiveOptions = ({disableSystemAdaptation: disableSystemAdaptation_result} as SystemAdaptiveOptions) + return value + } + public readSystemBarStyle(): SystemBarStyle { let valueDeserializer : Deserializer = this const statusBarContentColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) let statusBarContentColor_buf : string | undefined @@ -9486,7 +10572,7 @@ export class Deserializer extends DeserializerBase { let value : SystemBarStyle = ({statusBarContentColor: statusBarContentColor_result} as SystemBarStyle) return value } - readTabBarSymbol(): TabBarSymbol { + public readTabBarSymbol(): TabBarSymbol { let valueDeserializer : Deserializer = this const normal_result : SymbolGlyphModifier = valueDeserializer.readSymbolGlyphModifier() const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9499,7 +10585,7 @@ export class Deserializer extends DeserializerBase { let value : TabBarSymbol = ({normal: normal_result, selected: selected_result} as TabBarSymbol) return value } - readTabContentAnimatedTransition(): TabContentAnimatedTransition { + public readTabContentAnimatedTransition(): TabContentAnimatedTransition { let valueDeserializer : Deserializer = this const timeout_buf_runtimeType = (valueDeserializer.readInt8() as int32) let timeout_buf : number | undefined @@ -9512,34 +10598,15 @@ export class Deserializer extends DeserializerBase { let value : TabContentAnimatedTransition = ({timeout: timeout_result, transition: transition_result} as TabContentAnimatedTransition) return value } - readTabsOptions(): TabsOptions { + public readTapGestureParameters(): TapGestureParameters { let valueDeserializer : Deserializer = this - const barPosition_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let barPosition_buf : BarPosition | undefined - if ((RuntimeType.UNDEFINED) != (barPosition_buf_runtimeType)) - { - barPosition_buf = TypeChecker.BarPosition_FromNumeric(valueDeserializer.readInt32()) - } - const barPosition_result : BarPosition | undefined = barPosition_buf - const index_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let index_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (index_buf_runtimeType)) - { - index_buf = (valueDeserializer.readNumber() as number) - } - const index_result : number | undefined = index_buf - const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let controller_buf : TabsController | undefined - if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) + const isFingerCountLimited_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isFingerCountLimited_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) { - controller_buf = (valueDeserializer.readTabsController() as TabsController) + isFingerCountLimited_buf = valueDeserializer.readBoolean() } - const controller_result : TabsController | undefined = controller_buf - let value : TabsOptions = ({barPosition: barPosition_result, index: index_result, controller: controller_result} as TabsOptions) - return value - } - readTapGestureParameters(): TapGestureParameters { - let valueDeserializer : Deserializer = this + const isFingerCountLimited_result : boolean | undefined = isFingerCountLimited_buf const count_buf_runtimeType = (valueDeserializer.readInt8() as int32) let count_buf : number | undefined if ((RuntimeType.UNDEFINED) != (count_buf_runtimeType)) @@ -9561,17 +10628,17 @@ export class Deserializer extends DeserializerBase { distanceThreshold_buf = (valueDeserializer.readNumber() as number) } const distanceThreshold_result : number | undefined = distanceThreshold_buf - let value : TapGestureParameters = ({count: count_result, fingers: fingers_result, distanceThreshold: distanceThreshold_result} as TapGestureParameters) + let value : TapGestureParameters = ({isFingerCountLimited: isFingerCountLimited_result, count: count_result, fingers: fingers_result, distanceThreshold: distanceThreshold_result} as TapGestureParameters) return value } - readTextBox(): TextBox { + public readTextBox(): TextBox { let valueDeserializer : Deserializer = this const rect_result : Rect = valueDeserializer.readRect() const direction_result : TextDirection = TypeChecker.TextDirection_FromNumeric(valueDeserializer.readInt32()) let value : TextBox = ({rect: rect_result, direction: direction_result} as TextBox) return value } - readTextClockOptions(): TextClockOptions { + public readTextClockOptions(): TextClockOptions { let valueDeserializer : Deserializer = this const timeZoneOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) let timeZoneOffset_buf : number | undefined @@ -9590,7 +10657,67 @@ export class Deserializer extends DeserializerBase { let value : TextClockOptions = ({timeZoneOffset: timeZoneOffset_result, controller: controller_result} as TextClockOptions) return value } - readTextRange(): TextRange { + public readTextContentControllerOptions(): TextContentControllerOptions { + let valueDeserializer : Deserializer = this + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) + { + offset_buf = (valueDeserializer.readNumber() as number) + } + const offset_result : number | undefined = offset_buf + let value : TextContentControllerOptions = ({offset: offset_result} as TextContentControllerOptions) + return value + } + public readTextMarqueeOptions(): TextMarqueeOptions { + let valueDeserializer : Deserializer = this + const start_result : boolean = valueDeserializer.readBoolean() + const step_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let step_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (step_buf_runtimeType)) + { + step_buf = (valueDeserializer.readNumber() as number) + } + const step_result : number | undefined = step_buf + const loop_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let loop_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (loop_buf_runtimeType)) + { + loop_buf = (valueDeserializer.readNumber() as number) + } + const loop_result : number | undefined = loop_buf + const fromStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fromStart_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (fromStart_buf_runtimeType)) + { + fromStart_buf = valueDeserializer.readBoolean() + } + const fromStart_result : boolean | undefined = fromStart_buf + const delay_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let delay_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (delay_buf_runtimeType)) + { + delay_buf = (valueDeserializer.readNumber() as number) + } + const delay_result : number | undefined = delay_buf + const fadeout_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fadeout_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (fadeout_buf_runtimeType)) + { + fadeout_buf = valueDeserializer.readBoolean() + } + const fadeout_result : boolean | undefined = fadeout_buf + const marqueeStartPolicy_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let marqueeStartPolicy_buf : MarqueeStartPolicy | undefined + if ((RuntimeType.UNDEFINED) != (marqueeStartPolicy_buf_runtimeType)) + { + marqueeStartPolicy_buf = TypeChecker.MarqueeStartPolicy_FromNumeric(valueDeserializer.readInt32()) + } + const marqueeStartPolicy_result : MarqueeStartPolicy | undefined = marqueeStartPolicy_buf + let value : TextMarqueeOptions = ({start: start_result, step: step_result, loop: loop_result, fromStart: fromStart_result, delay: delay_result, fadeout: fadeout_result, marqueeStartPolicy: marqueeStartPolicy_result} as TextMarqueeOptions) + return value + } + public readTextRange(): TextRange { let valueDeserializer : Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf : number | undefined @@ -9609,12 +10736,12 @@ export class Deserializer extends DeserializerBase { let value : TextRange = ({start: start_result, end: end_result} as TextRange) return value } - readTextShadowStyle(): TextShadowStyle { + public readTextShadowStyle(): TextShadowStyle { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TextShadowStyleInternal.fromPtr(ptr) } - readTextStyle_alert_dialog(): TextStyle_alert_dialog { + public readTextStyle_alert_dialog(): TextStyle_alert_dialog { let valueDeserializer : Deserializer = this const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) let wordBreak_buf : WordBreak | undefined @@ -9626,7 +10753,7 @@ export class Deserializer extends DeserializerBase { let value : TextStyle_alert_dialog = ({wordBreak: wordBreak_result} as TextStyle_alert_dialog) return value } - readTextTimerOptions(): TextTimerOptions { + public readTextTimerOptions(): TextTimerOptions { let valueDeserializer : Deserializer = this const isCountDown_buf_runtimeType = (valueDeserializer.readInt8() as int32) let isCountDown_buf : boolean | undefined @@ -9652,7 +10779,7 @@ export class Deserializer extends DeserializerBase { let value : TextTimerOptions = ({isCountDown: isCountDown_result, count: count_result, controller: controller_result} as TextTimerOptions) return value } - readTimePickerOptions(): TimePickerOptions { + public readTimePickerOptions(): TimePickerOptions { let valueDeserializer : Deserializer = this const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) let selected_buf : Date | undefined @@ -9668,10 +10795,24 @@ export class Deserializer extends DeserializerBase { format_buf = TypeChecker.TimePickerFormat_FromNumeric(valueDeserializer.readInt32()) } const format_result : TimePickerFormat | undefined = format_buf - let value : TimePickerOptions = ({selected: selected_result, format: format_result} as TimePickerOptions) + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : Date | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = new Date(valueDeserializer.readInt64()) + } + const start_result : Date | undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : Date | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = new Date(valueDeserializer.readInt64()) + } + const end_result : Date | undefined = end_buf + let value : TimePickerOptions = ({selected: selected_result, format: format_result, start: start_result, end: end_result} as TimePickerOptions) return value } - readToggleOptions(): ToggleOptions { + public readToggleOptions(): ToggleOptions { let valueDeserializer : Deserializer = this const type_result : ToggleType = TypeChecker.ToggleType_FromNumeric(valueDeserializer.readInt32()) const isOn_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9684,7 +10825,7 @@ export class Deserializer extends DeserializerBase { let value : ToggleOptions = ({type: type_result, isOn: isOn_result} as ToggleOptions) return value } - readTouchObject(): TouchObject { + public readTouchObject(): TouchObject { let valueDeserializer : Deserializer = this const type_result : TouchType = TypeChecker.TouchType_FromNumeric(valueDeserializer.readInt32()) const id_result : number = (valueDeserializer.readNumber() as number) @@ -9696,10 +10837,45 @@ export class Deserializer extends DeserializerBase { const screenY_result : number = (valueDeserializer.readNumber() as number) const x_result : number = (valueDeserializer.readNumber() as number) const y_result : number = (valueDeserializer.readNumber() as number) - let value : TouchObject = ({type: type_result, id: id_result, displayX: displayX_result, displayY: displayY_result, windowX: windowX_result, windowY: windowY_result, screenX: screenX_result, screenY: screenY_result, x: x_result, y: y_result} as TouchObject) + const hand_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hand_buf : InteractionHand | undefined + if ((RuntimeType.UNDEFINED) != (hand_buf_runtimeType)) + { + hand_buf = TypeChecker.InteractionHand_FromNumeric(valueDeserializer.readInt32()) + } + const hand_result : InteractionHand | undefined = hand_buf + const pressedTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let pressedTime_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (pressedTime_buf_runtimeType)) + { + pressedTime_buf = (valueDeserializer.readNumber() as number) + } + const pressedTime_result : number | undefined = pressedTime_buf + const pressure_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let pressure_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (pressure_buf_runtimeType)) + { + pressure_buf = (valueDeserializer.readNumber() as number) + } + const pressure_result : number | undefined = pressure_buf + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + width_buf = (valueDeserializer.readNumber() as number) + } + const width_result : number | undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + { + height_buf = (valueDeserializer.readNumber() as number) + } + const height_result : number | undefined = height_buf + let value : TouchObject = ({type: type_result, id: id_result, displayX: displayX_result, displayY: displayY_result, windowX: windowX_result, windowY: windowY_result, screenX: screenX_result, screenY: screenY_result, x: x_result, y: y_result, hand: hand_result, pressedTime: pressedTime_result, pressure: pressure_result, width: width_result, height: height_result} as TouchObject) return value } - readTouchResult(): TouchResult { + public readTouchResult(): TouchResult { let valueDeserializer : Deserializer = this const strategy_result : TouchTestStrategy = TypeChecker.TouchTestStrategy_FromNumeric(valueDeserializer.readInt32()) const id_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9712,7 +10888,7 @@ export class Deserializer extends DeserializerBase { let value : TouchResult = ({strategy: strategy_result, id: id_result} as TouchResult) return value } - readTransformationMatrix(): TransformationMatrix { + public readTransformationMatrix(): TransformationMatrix { let valueDeserializer : Deserializer = this const matrix4x4_buf_length : int32 = valueDeserializer.readInt32() let matrix4x4_buf : Array = new Array(matrix4x4_buf_length) @@ -9723,7 +10899,7 @@ export class Deserializer extends DeserializerBase { let value : TransformationMatrix = ({matrix4x4: matrix4x4_result} as TransformationMatrix) return value } - readTranslateOption(): TranslateOption { + public readTranslateOption(): TranslateOption { let valueDeserializer : Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf : number | undefined @@ -9749,7 +10925,7 @@ export class Deserializer extends DeserializerBase { let value : TranslateOption = ({x: x_result, y: y_result, z: z_result} as TranslateOption) return value } - readTranslateOptions(): TranslateOptions { + public readTranslateOptions(): TranslateOptions { let valueDeserializer : Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf : number | string | undefined @@ -9808,7 +10984,7 @@ export class Deserializer extends DeserializerBase { let value : TranslateOptions = ({x: x_result, y: y_result, z: z_result} as TranslateOptions) return value } - readUIExtensionOptions(): UIExtensionOptions { + public readUIExtensionOptions(): UIExtensionOptions { let valueDeserializer : Deserializer = this const isTransferringCaller_buf_runtimeType = (valueDeserializer.readInt8() as int32) let isTransferringCaller_buf : boolean | undefined @@ -9846,10 +11022,17 @@ export class Deserializer extends DeserializerBase { dpiFollowStrategy_buf = TypeChecker.DpiFollowStrategy_FromNumeric(valueDeserializer.readInt32()) } const dpiFollowStrategy_result : DpiFollowStrategy | undefined = dpiFollowStrategy_buf - let value : UIExtensionOptions = ({isTransferringCaller: isTransferringCaller_result, placeholder: placeholder_result, areaChangePlaceholder: areaChangePlaceholder_result, dpiFollowStrategy: dpiFollowStrategy_result} as UIExtensionOptions) + const windowModeFollowStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let windowModeFollowStrategy_buf : WindowModeFollowStrategy | undefined + if ((RuntimeType.UNDEFINED) != (windowModeFollowStrategy_buf_runtimeType)) + { + windowModeFollowStrategy_buf = TypeChecker.WindowModeFollowStrategy_FromNumeric(valueDeserializer.readInt32()) + } + const windowModeFollowStrategy_result : WindowModeFollowStrategy | undefined = windowModeFollowStrategy_buf + let value : UIExtensionOptions = ({isTransferringCaller: isTransferringCaller_result, placeholder: placeholder_result, areaChangePlaceholder: areaChangePlaceholder_result, dpiFollowStrategy: dpiFollowStrategy_result, windowModeFollowStrategy: windowModeFollowStrategy_result} as UIExtensionOptions) return value } - readViewportRect(): ViewportRect { + public readViewportRect(): ViewportRect { let valueDeserializer : Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf : number | string | undefined @@ -9926,7 +11109,12 @@ export class Deserializer extends DeserializerBase { let value : ViewportRect = ({x: x_result, y: y_result, width: width_result, height: height_result} as ViewportRect) return value } - readVisibleAreaEventOptions(): VisibleAreaEventOptions { + public readVirtualScrollOptions(): VirtualScrollOptions { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return VirtualScrollOptionsInternal.fromPtr(ptr) + } + public readVisibleAreaEventOptions(): VisibleAreaEventOptions { let valueDeserializer : Deserializer = this const ratios_buf_length : int32 = valueDeserializer.readInt32() let ratios_buf : Array = new Array(ratios_buf_length) @@ -9944,7 +11132,7 @@ export class Deserializer extends DeserializerBase { let value : VisibleAreaEventOptions = ({ratios: ratios_result, expectedUpdateInterval: expectedUpdateInterval_result} as VisibleAreaEventOptions) return value } - readVisibleListContentInfo(): VisibleListContentInfo { + public readVisibleListContentInfo(): VisibleListContentInfo { let valueDeserializer : Deserializer = this const index_result : number = (valueDeserializer.readNumber() as number) const itemGroupArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9964,7 +11152,7 @@ export class Deserializer extends DeserializerBase { let value : VisibleListContentInfo = ({index: index_result, itemGroupArea: itemGroupArea_result, itemIndexInGroup: itemIndexInGroup_result} as VisibleListContentInfo) return value } - readWant(): Want { + public readWant(): Want { let valueDeserializer : Deserializer = this const bundleName_buf_runtimeType = (valueDeserializer.readInt8() as int32) let bundleName_buf : string | undefined @@ -10052,7 +11240,7 @@ export class Deserializer extends DeserializerBase { let value : Want = ({bundleName: bundleName_result, abilityName: abilityName_result, deviceId: deviceId_result, uri: uri_result, type: type_result, flags: flags_result, action: action_result, parameters: parameters_result, entities: entities_result, moduleName: moduleName_result} as Want) return value } - readWaterFlowOptions(): WaterFlowOptions { + public readWaterFlowOptions(): WaterFlowOptions { let valueDeserializer : Deserializer = this const footer_buf_runtimeType = (valueDeserializer.readInt8() as int32) let footer_buf : CustomBuilder | undefined @@ -10061,6 +11249,13 @@ export class Deserializer extends DeserializerBase { footer_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) } const footer_result : CustomBuilder | undefined = footer_buf + const footerContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let footerContent_buf : ComponentContent | undefined + if ((RuntimeType.UNDEFINED) != (footerContent_buf_runtimeType)) + { + footerContent_buf = (valueDeserializer.readComponentContent() as ComponentContent) + } + const footerContent_result : ComponentContent | undefined = footerContent_buf const scroller_buf_runtimeType = (valueDeserializer.readInt8() as int32) let scroller_buf : Scroller | undefined if ((RuntimeType.UNDEFINED) != (scroller_buf_runtimeType)) @@ -10082,10 +11277,10 @@ export class Deserializer extends DeserializerBase { layoutMode_buf = TypeChecker.WaterFlowLayoutMode_FromNumeric(valueDeserializer.readInt32()) } const layoutMode_result : WaterFlowLayoutMode | undefined = layoutMode_buf - let value : WaterFlowOptions = ({footer: footer_result, scroller: scroller_result, sections: sections_result, layoutMode: layoutMode_result} as WaterFlowOptions) + let value : WaterFlowOptions = ({footer: footer_result, footerContent: footerContent_result, scroller: scroller_result, sections: sections_result, layoutMode: layoutMode_result} as WaterFlowOptions) return value } - readWebKeyboardCallbackInfo(): WebKeyboardCallbackInfo { + public readWebKeyboardCallbackInfo(): WebKeyboardCallbackInfo { let valueDeserializer : Deserializer = this const controller_result : WebKeyboardController = (valueDeserializer.readWebKeyboardController() as WebKeyboardController) const attributes_buf_size : int32 = valueDeserializer.readInt32() @@ -10100,7 +11295,7 @@ export class Deserializer extends DeserializerBase { let value : WebKeyboardCallbackInfo = ({controller: controller_result, attributes: attributes_result} as WebKeyboardCallbackInfo) return value } - readWebKeyboardOptions(): WebKeyboardOptions { + public readWebKeyboardOptions(): WebKeyboardOptions { let valueDeserializer : Deserializer = this const useSystemKeyboard_result : boolean = valueDeserializer.readBoolean() const enterKeyType_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -10120,7 +11315,7 @@ export class Deserializer extends DeserializerBase { let value : WebKeyboardOptions = ({useSystemKeyboard: useSystemKeyboard_result, enterKeyType: enterKeyType_result, customKeyboard: customKeyboard_result} as WebKeyboardOptions) return value } - readWebMediaOptions(): WebMediaOptions { + public readWebMediaOptions(): WebMediaOptions { let valueDeserializer : Deserializer = this const resumeInterval_buf_runtimeType = (valueDeserializer.readInt8() as int32) let resumeInterval_buf : number | undefined @@ -10139,7 +11334,7 @@ export class Deserializer extends DeserializerBase { let value : WebMediaOptions = ({resumeInterval: resumeInterval_result, audioExclusive: audioExclusive_result} as WebMediaOptions) return value } - readWebOptions(): WebOptions { + public readWebOptions(): WebOptions { let valueDeserializer : Deserializer = this const src_buf_selector : int32 = valueDeserializer.readInt8() let src_buf : string | Resource | undefined @@ -10189,7 +11384,7 @@ export class Deserializer extends DeserializerBase { let value : WebOptions = ({src: src_result, controller: controller_result, renderMode: renderMode_result, incognitoMode: incognitoMode_result, sharedRenderProcessToken: sharedRenderProcessToken_result} as WebOptions) return value } - readWorkerOptions(): WorkerOptions { + public readWorkerOptions(): WorkerOptions { let valueDeserializer : Deserializer = this const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) let type_buf : string | undefined @@ -10215,18 +11410,18 @@ export class Deserializer extends DeserializerBase { let value : WorkerOptions = ({type: type_result, name: name_result, shared: shared_result} as WorkerOptions) return value } - readWrappedBuilder(): WrappedBuilder { + public readWrappedBuilder(): WrappedBuilder { let valueDeserializer : Deserializer = this const builder_result : ((args: CommonConfiguration) => void) = valueDeserializer.readCallback_WrappedBuilder_Args_Void() let value : WrappedBuilder = ({builder: builder_result} as WrappedBuilder) return value } - readXComponentController(): XComponentController { + public readXComponentController(): XComponentController { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return XComponentControllerInternal.fromPtr(ptr) } - readActionSheetButtonOptions(): ActionSheetButtonOptions { + public readActionSheetButtonOptions(): ActionSheetButtonOptions { let valueDeserializer : Deserializer = this const enabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) let enabled_buf : boolean | undefined @@ -10265,7 +11460,7 @@ export class Deserializer extends DeserializerBase { let value : ActionSheetButtonOptions = ({enabled: enabled_result, defaultFocus: defaultFocus_result, style: style_result, value: value_result, action: action_result} as ActionSheetButtonOptions) return value } - readActionSheetOffset(): ActionSheetOffset { + public readActionSheetOffset(): ActionSheetOffset { let valueDeserializer : Deserializer = this const dx_buf_selector : int32 = valueDeserializer.readInt8() let dx_buf : number | string | Resource | undefined @@ -10300,7 +11495,7 @@ export class Deserializer extends DeserializerBase { let value : ActionSheetOffset = ({dx: dx_result, dy: dy_result} as ActionSheetOffset) return value } - readAlertDialogButtonBaseOptions(): AlertDialogButtonBaseOptions { + public readAlertDialogButtonBaseOptions(): AlertDialogButtonBaseOptions { let valueDeserializer : Deserializer = this const enabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) let enabled_buf : boolean | undefined @@ -10387,7 +11582,7 @@ export class Deserializer extends DeserializerBase { let value : AlertDialogButtonBaseOptions = ({enabled: enabled_result, defaultFocus: defaultFocus_result, style: style_result, value: value_result, fontColor: fontColor_result, backgroundColor: backgroundColor_result, action: action_result} as AlertDialogButtonBaseOptions) return value } - readAlertDialogButtonOptions(): AlertDialogButtonOptions { + public readAlertDialogButtonOptions(): AlertDialogButtonOptions { let valueDeserializer : Deserializer = this const enabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) let enabled_buf : boolean | undefined @@ -10481,7 +11676,7 @@ export class Deserializer extends DeserializerBase { let value : AlertDialogButtonOptions = ({enabled: enabled_result, defaultFocus: defaultFocus_result, style: style_result, value: value_result, fontColor: fontColor_result, backgroundColor: backgroundColor_result, action: action_result, primary: primary_result} as AlertDialogButtonOptions) return value } - readAlignRuleOption(): AlignRuleOption { + public readAlignRuleOption(): AlignRuleOption { let valueDeserializer : Deserializer = this const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) let left_buf : Literal_String_anchor_HorizontalAlign_align | undefined @@ -10547,7 +11742,7 @@ export class Deserializer extends DeserializerBase { let value : AlignRuleOption = ({left: left_result, right: right_result, middle: middle_result, top: top_result, bottom: bottom_result, center: center_result, bias: bias_result} as AlignRuleOption) return value } - readAnimateParam(): AnimateParam { + public readAnimateParam(): AnimateParam { let valueDeserializer : Deserializer = this const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) let duration_buf : number | undefined @@ -10629,134 +11824,25 @@ export class Deserializer extends DeserializerBase { let value : AnimateParam = ({duration: duration_result, tempo: tempo_result, curve: curve_result, delay: delay_result, iterations: iterations_result, playMode: playMode_result, onFinish: onFinish_result, finishCallbackType: finishCallbackType_result, expectedFrameRateRange: expectedFrameRateRange_result} as AnimateParam) return value } - readArrowStyle(): ArrowStyle { + public readBackgroundBlurStyleOptions(): BackgroundBlurStyleOptions { let valueDeserializer : Deserializer = this - const showBackground_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let showBackground_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (showBackground_buf_runtimeType)) + const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colorMode_buf : ThemeColorMode | undefined + if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) { - showBackground_buf = valueDeserializer.readBoolean() + colorMode_buf = TypeChecker.ThemeColorMode_FromNumeric(valueDeserializer.readInt32()) } - const showBackground_result : boolean | undefined = showBackground_buf - const isSidebarMiddle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let isSidebarMiddle_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (isSidebarMiddle_buf_runtimeType)) + const colorMode_result : ThemeColorMode | undefined = colorMode_buf + const adaptiveColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let adaptiveColor_buf : AdaptiveColor | undefined + if ((RuntimeType.UNDEFINED) != (adaptiveColor_buf_runtimeType)) { - isSidebarMiddle_buf = valueDeserializer.readBoolean() + adaptiveColor_buf = TypeChecker.AdaptiveColor_FromNumeric(valueDeserializer.readInt32()) } - const isSidebarMiddle_result : boolean | undefined = isSidebarMiddle_buf - const backgroundSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundSize_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (backgroundSize_buf_runtimeType)) - { - const backgroundSize_buf__selector : int32 = valueDeserializer.readInt8() - let backgroundSize_buf_ : string | number | Resource | undefined - if (backgroundSize_buf__selector == 0) { - backgroundSize_buf_ = (valueDeserializer.readString() as string) - } - else if (backgroundSize_buf__selector == 1) { - backgroundSize_buf_ = (valueDeserializer.readNumber() as number) - } - else if (backgroundSize_buf__selector == 2) { - backgroundSize_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for backgroundSize_buf_ has to be chosen through deserialisation.") - } - backgroundSize_buf = (backgroundSize_buf_ as string | number | Resource) - } - const backgroundSize_result : Length | undefined = backgroundSize_buf - const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) - { - const backgroundColor_buf__selector : int32 = valueDeserializer.readInt8() - let backgroundColor_buf_ : Color | number | string | Resource | undefined - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_ = (valueDeserializer.readString() as string) - } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") - } - backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) - } - const backgroundColor_result : ResourceColor | undefined = backgroundColor_buf - const arrowSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let arrowSize_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (arrowSize_buf_runtimeType)) - { - const arrowSize_buf__selector : int32 = valueDeserializer.readInt8() - let arrowSize_buf_ : string | number | Resource | undefined - if (arrowSize_buf__selector == 0) { - arrowSize_buf_ = (valueDeserializer.readString() as string) - } - else if (arrowSize_buf__selector == 1) { - arrowSize_buf_ = (valueDeserializer.readNumber() as number) - } - else if (arrowSize_buf__selector == 2) { - arrowSize_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for arrowSize_buf_ has to be chosen through deserialisation.") - } - arrowSize_buf = (arrowSize_buf_ as string | number | Resource) - } - const arrowSize_result : Length | undefined = arrowSize_buf - const arrowColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let arrowColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (arrowColor_buf_runtimeType)) - { - const arrowColor_buf__selector : int32 = valueDeserializer.readInt8() - let arrowColor_buf_ : Color | number | string | Resource | undefined - if (arrowColor_buf__selector == 0) { - arrowColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (arrowColor_buf__selector == 1) { - arrowColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (arrowColor_buf__selector == 2) { - arrowColor_buf_ = (valueDeserializer.readString() as string) - } - else if (arrowColor_buf__selector == 3) { - arrowColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for arrowColor_buf_ has to be chosen through deserialisation.") - } - arrowColor_buf = (arrowColor_buf_ as Color | number | string | Resource) - } - const arrowColor_result : ResourceColor | undefined = arrowColor_buf - let value : ArrowStyle = ({showBackground: showBackground_result, isSidebarMiddle: isSidebarMiddle_result, backgroundSize: backgroundSize_result, backgroundColor: backgroundColor_result, arrowSize: arrowSize_result, arrowColor: arrowColor_result} as ArrowStyle) - return value - } - readBackgroundBlurStyleOptions(): BackgroundBlurStyleOptions { - let valueDeserializer : Deserializer = this - const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colorMode_buf : ThemeColorMode | undefined - if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) - { - colorMode_buf = TypeChecker.ThemeColorMode_FromNumeric(valueDeserializer.readInt32()) - } - const colorMode_result : ThemeColorMode | undefined = colorMode_buf - const adaptiveColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let adaptiveColor_buf : AdaptiveColor | undefined - if ((RuntimeType.UNDEFINED) != (adaptiveColor_buf_runtimeType)) - { - adaptiveColor_buf = TypeChecker.AdaptiveColor_FromNumeric(valueDeserializer.readInt32()) - } - const adaptiveColor_result : AdaptiveColor | undefined = adaptiveColor_buf - const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scale_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) + const adaptiveColor_result : AdaptiveColor | undefined = adaptiveColor_buf + const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scale_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) { scale_buf = (valueDeserializer.readNumber() as number) } @@ -10802,7 +11888,7 @@ export class Deserializer extends DeserializerBase { let value : BackgroundBlurStyleOptions = ({colorMode: colorMode_result, adaptiveColor: adaptiveColor_result, scale: scale_result, blurOptions: blurOptions_result, policy: policy_result, inactiveColor: inactiveColor_result} as BackgroundBlurStyleOptions) return value } - readBackgroundEffectOptions(): BackgroundEffectOptions { + public readBackgroundEffectOptions(): BackgroundEffectOptions { let valueDeserializer : Deserializer = this const radius_result : number = (valueDeserializer.readNumber() as number) const saturation_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -10891,7 +11977,129 @@ export class Deserializer extends DeserializerBase { let value : BackgroundEffectOptions = ({radius: radius_result, saturation: saturation_result, brightness: brightness_result, color: color_result, adaptiveColor: adaptiveColor_result, blurOptions: blurOptions_result, policy: policy_result, inactiveColor: inactiveColor_result} as BackgroundEffectOptions) return value } - readBadgeStyle(): BadgeStyle { + public readButtonIconOptions(): ButtonIconOptions { + let valueDeserializer : Deserializer = this + const shown_buf_selector : int32 = valueDeserializer.readInt8() + let shown_buf : string | PixelMap | Resource | undefined + if (shown_buf_selector == 0) { + shown_buf = (valueDeserializer.readString() as string) + } + else if (shown_buf_selector == 1) { + shown_buf = (valueDeserializer.readPixelMap() as PixelMap) + } + else if (shown_buf_selector == 2) { + shown_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for shown_buf has to be chosen through deserialisation.") + } + const shown_result : string | PixelMap | Resource = (shown_buf as string | PixelMap | Resource) + const hidden_buf_selector : int32 = valueDeserializer.readInt8() + let hidden_buf : string | PixelMap | Resource | undefined + if (hidden_buf_selector == 0) { + hidden_buf = (valueDeserializer.readString() as string) + } + else if (hidden_buf_selector == 1) { + hidden_buf = (valueDeserializer.readPixelMap() as PixelMap) + } + else if (hidden_buf_selector == 2) { + hidden_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for hidden_buf has to be chosen through deserialisation.") + } + const hidden_result : string | PixelMap | Resource = (hidden_buf as string | PixelMap | Resource) + const switching_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let switching_buf : string | PixelMap | Resource | undefined + if ((RuntimeType.UNDEFINED) != (switching_buf_runtimeType)) + { + const switching_buf__selector : int32 = valueDeserializer.readInt8() + let switching_buf_ : string | PixelMap | Resource | undefined + if (switching_buf__selector == 0) { + switching_buf_ = (valueDeserializer.readString() as string) + } + else if (switching_buf__selector == 1) { + switching_buf_ = (valueDeserializer.readPixelMap() as PixelMap) + } + else if (switching_buf__selector == 2) { + switching_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for switching_buf_ has to be chosen through deserialisation.") + } + switching_buf = (switching_buf_ as string | PixelMap | Resource) + } + const switching_result : string | PixelMap | Resource | undefined = switching_buf + let value : ButtonIconOptions = ({shown: shown_result, hidden: hidden_result, switching: switching_result} as ButtonIconOptions) + return value + } + public readCalendarOptions(): CalendarOptions { + let valueDeserializer : Deserializer = this + const hintRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hintRadius_buf : number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (hintRadius_buf_runtimeType)) + { + const hintRadius_buf__selector : int32 = valueDeserializer.readInt8() + let hintRadius_buf_ : number | Resource | undefined + if (hintRadius_buf__selector == 0) { + hintRadius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (hintRadius_buf__selector == 1) { + hintRadius_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for hintRadius_buf_ has to be chosen through deserialisation.") + } + hintRadius_buf = (hintRadius_buf_ as number | Resource) + } + const hintRadius_result : number | Resource | undefined = hintRadius_buf + const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let selected_buf : Date | undefined + if ((RuntimeType.UNDEFINED) != (selected_buf_runtimeType)) + { + selected_buf = new Date(valueDeserializer.readInt64()) + } + const selected_result : Date | undefined = selected_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : Date | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = new Date(valueDeserializer.readInt64()) + } + const start_result : Date | undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : Date | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = new Date(valueDeserializer.readInt64()) + } + const end_result : Date | undefined = end_buf + const disabledDateRange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disabledDateRange_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (disabledDateRange_buf_runtimeType)) + { + const disabledDateRange_buf__length : int32 = valueDeserializer.readInt32() + let disabledDateRange_buf_ : Array = new Array(disabledDateRange_buf__length) + for (let disabledDateRange_buf__i = 0; disabledDateRange_buf__i < disabledDateRange_buf__length; disabledDateRange_buf__i++) { + disabledDateRange_buf_[disabledDateRange_buf__i] = valueDeserializer.readDateRange() + } + disabledDateRange_buf = disabledDateRange_buf_ + } + const disabledDateRange_result : Array | undefined = disabledDateRange_buf + let value : CalendarOptions = ({hintRadius: hintRadius_result, selected: selected_result, start: start_result, end: end_result, disabledDateRange: disabledDateRange_result} as CalendarOptions) + return value + } + public readCanvasRenderer(): CanvasRenderer { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return CanvasRendererInternal.fromPtr(ptr) + } + public readCanvasRenderingContext2D(): CanvasRenderingContext2D { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return CanvasRenderingContext2DInternal.fromPtr(ptr) + } + public readCircleStyleOptions(): CircleStyleOptions { let valueDeserializer : Deserializer = this const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) let color_buf : ResourceColor | undefined @@ -10917,3098 +12125,4577 @@ export class Deserializer extends DeserializerBase { color_buf = (color_buf_ as Color | number | string | Resource) } const color_result : ResourceColor | undefined = color_buf - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let radius_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) { - const fontSize_buf__selector : int32 = valueDeserializer.readInt8() - let fontSize_buf_ : number | string | undefined - if (fontSize_buf__selector == 0) { - fontSize_buf_ = (valueDeserializer.readNumber() as number) - } - else if (fontSize_buf__selector == 1) { - fontSize_buf_ = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") - } - fontSize_buf = (fontSize_buf_ as number | string) + radius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } - const fontSize_result : number | string | undefined = fontSize_buf - const badgeSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let badgeSize_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (badgeSize_buf_runtimeType)) + const radius_result : LengthMetrics | undefined = radius_buf + const enableWaveEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableWaveEffect_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableWaveEffect_buf_runtimeType)) { - const badgeSize_buf__selector : int32 = valueDeserializer.readInt8() - let badgeSize_buf_ : number | string | undefined - if (badgeSize_buf__selector == 0) { - badgeSize_buf_ = (valueDeserializer.readNumber() as number) - } - else if (badgeSize_buf__selector == 1) { - badgeSize_buf_ = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for badgeSize_buf_ has to be chosen through deserialisation.") - } - badgeSize_buf = (badgeSize_buf_ as number | string) + enableWaveEffect_buf = valueDeserializer.readBoolean() } - const badgeSize_result : number | string | undefined = badgeSize_buf - const badgeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let badgeColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (badgeColor_buf_runtimeType)) + const enableWaveEffect_result : boolean | undefined = enableWaveEffect_buf + const enableForeground_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableForeground_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableForeground_buf_runtimeType)) { - const badgeColor_buf__selector : int32 = valueDeserializer.readInt8() - let badgeColor_buf_ : Color | number | string | Resource | undefined - if (badgeColor_buf__selector == 0) { - badgeColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (badgeColor_buf__selector == 1) { - badgeColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (badgeColor_buf__selector == 2) { - badgeColor_buf_ = (valueDeserializer.readString() as string) - } - else if (badgeColor_buf__selector == 3) { - badgeColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for badgeColor_buf_ has to be chosen through deserialisation.") - } - badgeColor_buf = (badgeColor_buf_ as Color | number | string | Resource) + enableForeground_buf = valueDeserializer.readBoolean() } - const badgeColor_result : ResourceColor | undefined = badgeColor_buf - const borderColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf_runtimeType)) + const enableForeground_result : boolean | undefined = enableForeground_buf + let value : CircleStyleOptions = ({color: color_result, radius: radius_result, enableWaveEffect: enableWaveEffect_result, enableForeground: enableForeground_result} as CircleStyleOptions) + return value + } + public readComponentInfo(): ComponentInfo { + let valueDeserializer : Deserializer = this + const size_result : Size = valueDeserializer.readSize() + const localOffset_result : Offset_componentutils = valueDeserializer.readOffset_componentutils() + const windowOffset_result : Offset_componentutils = valueDeserializer.readOffset_componentutils() + const screenOffset_result : Offset_componentutils = valueDeserializer.readOffset_componentutils() + const translate_result : TranslateResult = valueDeserializer.readTranslateResult() + const scale_result : ScaleResult = valueDeserializer.readScaleResult() + const rotate_result : RotateResult = valueDeserializer.readRotateResult() + const transform_buf_value0 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value1 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value2 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value3 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value4 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value5 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value6 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value7 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value8 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value9 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value10 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value11 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value12 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value13 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value14 : number = (valueDeserializer.readNumber() as number) + const transform_buf_value15 : number = (valueDeserializer.readNumber() as number) + const transform_result : Matrix4Result = ([transform_buf_value0, transform_buf_value1, transform_buf_value2, transform_buf_value3, transform_buf_value4, transform_buf_value5, transform_buf_value6, transform_buf_value7, transform_buf_value8, transform_buf_value9, transform_buf_value10, transform_buf_value11, transform_buf_value12, transform_buf_value13, transform_buf_value14, transform_buf_value15] as Matrix4Result) + let value : ComponentInfo = ({size: size_result, localOffset: localOffset_result, windowOffset: windowOffset_result, screenOffset: screenOffset_result, translate: translate_result, scale: scale_result, rotate: rotate_result, transform: transform_result} as ComponentInfo) + return value + } + public readContentCoverOptions(): ContentCoverOptions { + let valueDeserializer : Deserializer = this + const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) { - const borderColor_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__selector == 0) { - borderColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const backgroundColor_buf__selector : int32 = valueDeserializer.readInt8() + let backgroundColor_buf_ : Color | number | string | Resource | undefined + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (borderColor_buf__selector == 1) { - borderColor_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (borderColor_buf__selector == 2) { - borderColor_buf_ = (valueDeserializer.readString() as string) + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_ = (valueDeserializer.readString() as string) } - else if (borderColor_buf__selector == 3) { - borderColor_buf_ = valueDeserializer.readResource() + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") } - borderColor_buf = (borderColor_buf_ as Color | number | string | Resource) + backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) } - const borderColor_result : ResourceColor | undefined = borderColor_buf - const borderWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf_runtimeType)) + const backgroundColor_result : ResourceColor | undefined = backgroundColor_buf + const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onAppear_buf_runtimeType)) { - const borderWidth_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf_ : string | number | Resource | undefined - if (borderWidth_buf__selector == 0) { - borderWidth_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__selector == 1) { - borderWidth_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__selector == 2) { - borderWidth_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf = (borderWidth_buf_ as string | number | Resource) + onAppear_buf = valueDeserializer.readCallback_Void() } - const borderWidth_result : Length | undefined = borderWidth_buf - const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontWeight_buf : number | FontWeight | string | undefined - if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + const onAppear_result : (() => void) | undefined = onAppear_buf + const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) { - const fontWeight_buf__selector : int32 = valueDeserializer.readInt8() - let fontWeight_buf_ : number | FontWeight | string | undefined - if (fontWeight_buf__selector == 0) { - fontWeight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_ = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) - } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_ = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") - } - fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) + onDisappear_buf = valueDeserializer.readCallback_Void() } - const fontWeight_result : number | FontWeight | string | undefined = fontWeight_buf - let value : BadgeStyle = ({color: color_result, fontSize: fontSize_result, badgeSize: badgeSize_result, badgeColor: badgeColor_result, borderColor: borderColor_result, borderWidth: borderWidth_result, fontWeight: fontWeight_result} as BadgeStyle) + const onDisappear_result : (() => void) | undefined = onDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result : (() => void) | undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result : (() => void) | undefined = onWillDisappear_buf + const modalTransition_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let modalTransition_buf : ModalTransition | undefined + if ((RuntimeType.UNDEFINED) != (modalTransition_buf_runtimeType)) + { + modalTransition_buf = TypeChecker.ModalTransition_FromNumeric(valueDeserializer.readInt32()) + } + const modalTransition_result : ModalTransition | undefined = modalTransition_buf + const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDismiss_buf : ((parameter: DismissContentCoverAction) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) + { + onWillDismiss_buf = valueDeserializer.readCallback_DismissContentCoverAction_Void() + } + const onWillDismiss_result : ((parameter: DismissContentCoverAction) => void) | undefined = onWillDismiss_buf + const transition_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let transition_buf : TransitionEffect | undefined + if ((RuntimeType.UNDEFINED) != (transition_buf_runtimeType)) + { + transition_buf = (valueDeserializer.readTransitionEffect() as TransitionEffect) + } + const transition_result : TransitionEffect | undefined = transition_buf + let value : ContentCoverOptions = ({backgroundColor: backgroundColor_result, onAppear: onAppear_result, onDisappear: onDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, modalTransition: modalTransition_result, onWillDismiss: onWillDismiss_result, transition: transition_result} as ContentCoverOptions) return value } - readBarGridColumnOptions(): BarGridColumnOptions { + public readContextMenuAnimationOptions(): ContextMenuAnimationOptions { let valueDeserializer : Deserializer = this - const sm_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let sm_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (sm_buf_runtimeType)) + const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scale_buf : [ number, number ] | undefined + if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) { - sm_buf = (valueDeserializer.readNumber() as number) + const scale_buf__value0 : number = (valueDeserializer.readNumber() as number) + const scale_buf__value1 : number = (valueDeserializer.readNumber() as number) + scale_buf = ([scale_buf__value0, scale_buf__value1] as [ number, number ]) } - const sm_result : number | undefined = sm_buf - const md_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let md_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (md_buf_runtimeType)) + const scale_result : [ number, number ] | undefined = scale_buf + const transition_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let transition_buf : TransitionEffect | undefined + if ((RuntimeType.UNDEFINED) != (transition_buf_runtimeType)) { - md_buf = (valueDeserializer.readNumber() as number) + transition_buf = (valueDeserializer.readTransitionEffect() as TransitionEffect) } - const md_result : number | undefined = md_buf - const lg_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lg_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (lg_buf_runtimeType)) + const transition_result : TransitionEffect | undefined = transition_buf + const hoverScale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hoverScale_buf : [ number, number ] | undefined + if ((RuntimeType.UNDEFINED) != (hoverScale_buf_runtimeType)) { - lg_buf = (valueDeserializer.readNumber() as number) + const hoverScale_buf__value0 : number = (valueDeserializer.readNumber() as number) + const hoverScale_buf__value1 : number = (valueDeserializer.readNumber() as number) + hoverScale_buf = ([hoverScale_buf__value0, hoverScale_buf__value1] as [ number, number ]) } - const lg_result : number | undefined = lg_buf - const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) + const hoverScale_result : [ number, number ] | undefined = hoverScale_buf + let value : ContextMenuAnimationOptions = ({scale: scale_result, transition: transition_result, hoverScale: hoverScale_result} as ContextMenuAnimationOptions) + return value + } + public readCurrentDayStyle(): CurrentDayStyle { + let valueDeserializer : Deserializer = this + const dayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dayColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (dayColor_buf_runtimeType)) { - const margin_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf_ : string | number | Resource | undefined - if (margin_buf__selector == 0) { - margin_buf_ = (valueDeserializer.readString() as string) + const dayColor_buf__selector : int32 = valueDeserializer.readInt8() + let dayColor_buf_ : Color | number | string | Resource | undefined + if (dayColor_buf__selector == 0) { + dayColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (margin_buf__selector == 1) { - margin_buf_ = (valueDeserializer.readNumber() as number) + else if (dayColor_buf__selector == 1) { + dayColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (margin_buf__selector == 2) { - margin_buf_ = valueDeserializer.readResource() + else if (dayColor_buf__selector == 2) { + dayColor_buf_ = (valueDeserializer.readString() as string) + } + else if (dayColor_buf__selector == 3) { + dayColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for dayColor_buf_ has to be chosen through deserialisation.") } - margin_buf = (margin_buf_ as string | number | Resource) + dayColor_buf = (dayColor_buf_ as Color | number | string | Resource) } - const margin_result : Dimension | undefined = margin_buf - const gutter_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let gutter_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (gutter_buf_runtimeType)) + const dayColor_result : ResourceColor | undefined = dayColor_buf + const lunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lunarColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (lunarColor_buf_runtimeType)) { - const gutter_buf__selector : int32 = valueDeserializer.readInt8() - let gutter_buf_ : string | number | Resource | undefined - if (gutter_buf__selector == 0) { - gutter_buf_ = (valueDeserializer.readString() as string) + const lunarColor_buf__selector : int32 = valueDeserializer.readInt8() + let lunarColor_buf_ : Color | number | string | Resource | undefined + if (lunarColor_buf__selector == 0) { + lunarColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (gutter_buf__selector == 1) { - gutter_buf_ = (valueDeserializer.readNumber() as number) + else if (lunarColor_buf__selector == 1) { + lunarColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (gutter_buf__selector == 2) { - gutter_buf_ = valueDeserializer.readResource() + else if (lunarColor_buf__selector == 2) { + lunarColor_buf_ = (valueDeserializer.readString() as string) } - else { - throw new Error("One of the branches for gutter_buf_ has to be chosen through deserialisation.") + else if (lunarColor_buf__selector == 3) { + lunarColor_buf_ = valueDeserializer.readResource() } - gutter_buf = (gutter_buf_ as string | number | Resource) + else { + throw new Error("One of the branches for lunarColor_buf_ has to be chosen through deserialisation.") + } + lunarColor_buf = (lunarColor_buf_ as Color | number | string | Resource) } - const gutter_result : Dimension | undefined = gutter_buf - let value : BarGridColumnOptions = ({sm: sm_result, md: md_result, lg: lg_result, margin: margin_result, gutter: gutter_result} as BarGridColumnOptions) - return value - } - readBoardStyle(): BoardStyle { - let valueDeserializer : Deserializer = this - const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) + const lunarColor_result : ResourceColor | undefined = lunarColor_buf + const markLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let markLunarColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (markLunarColor_buf_runtimeType)) { - const borderRadius_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf_ : string | number | Resource | undefined - if (borderRadius_buf__selector == 0) { - borderRadius_buf_ = (valueDeserializer.readString() as string) + const markLunarColor_buf__selector : int32 = valueDeserializer.readInt8() + let markLunarColor_buf_ : Color | number | string | Resource | undefined + if (markLunarColor_buf__selector == 0) { + markLunarColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (borderRadius_buf__selector == 1) { - borderRadius_buf_ = (valueDeserializer.readNumber() as number) + else if (markLunarColor_buf__selector == 1) { + markLunarColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (borderRadius_buf__selector == 2) { - borderRadius_buf_ = valueDeserializer.readResource() + else if (markLunarColor_buf__selector == 2) { + markLunarColor_buf_ = (valueDeserializer.readString() as string) + } + else if (markLunarColor_buf__selector == 3) { + markLunarColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for markLunarColor_buf_ has to be chosen through deserialisation.") } - borderRadius_buf = (borderRadius_buf_ as string | number | Resource) - } - const borderRadius_result : Length | undefined = borderRadius_buf - let value : BoardStyle = ({borderRadius: borderRadius_result} as BoardStyle) - return value - } - readButtonIconOptions(): ButtonIconOptions { - let valueDeserializer : Deserializer = this - const shown_buf_selector : int32 = valueDeserializer.readInt8() - let shown_buf : string | PixelMap | Resource | undefined - if (shown_buf_selector == 0) { - shown_buf = (valueDeserializer.readString() as string) + markLunarColor_buf = (markLunarColor_buf_ as Color | number | string | Resource) } - else if (shown_buf_selector == 1) { - shown_buf = (valueDeserializer.readPixelMap() as PixelMap) + const markLunarColor_result : ResourceColor | undefined = markLunarColor_buf + const dayFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dayFontSize_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (dayFontSize_buf_runtimeType)) + { + dayFontSize_buf = (valueDeserializer.readNumber() as number) } - else if (shown_buf_selector == 2) { - shown_buf = valueDeserializer.readResource() + const dayFontSize_result : number | undefined = dayFontSize_buf + const lunarDayFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lunarDayFontSize_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (lunarDayFontSize_buf_runtimeType)) + { + lunarDayFontSize_buf = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for shown_buf has to be chosen through deserialisation.") + const lunarDayFontSize_result : number | undefined = lunarDayFontSize_buf + const dayHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dayHeight_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (dayHeight_buf_runtimeType)) + { + dayHeight_buf = (valueDeserializer.readNumber() as number) } - const shown_result : string | PixelMap | Resource = (shown_buf as string | PixelMap | Resource) - const hidden_buf_selector : int32 = valueDeserializer.readInt8() - let hidden_buf : string | PixelMap | Resource | undefined - if (hidden_buf_selector == 0) { - hidden_buf = (valueDeserializer.readString() as string) + const dayHeight_result : number | undefined = dayHeight_buf + const dayWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dayWidth_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (dayWidth_buf_runtimeType)) + { + dayWidth_buf = (valueDeserializer.readNumber() as number) } - else if (hidden_buf_selector == 1) { - hidden_buf = (valueDeserializer.readPixelMap() as PixelMap) + const dayWidth_result : number | undefined = dayWidth_buf + const gregorianCalendarHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let gregorianCalendarHeight_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (gregorianCalendarHeight_buf_runtimeType)) + { + gregorianCalendarHeight_buf = (valueDeserializer.readNumber() as number) } - else if (hidden_buf_selector == 2) { - hidden_buf = valueDeserializer.readResource() + const gregorianCalendarHeight_result : number | undefined = gregorianCalendarHeight_buf + const dayYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dayYAxisOffset_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (dayYAxisOffset_buf_runtimeType)) + { + dayYAxisOffset_buf = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for hidden_buf has to be chosen through deserialisation.") + const dayYAxisOffset_result : number | undefined = dayYAxisOffset_buf + const lunarDayYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lunarDayYAxisOffset_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (lunarDayYAxisOffset_buf_runtimeType)) + { + lunarDayYAxisOffset_buf = (valueDeserializer.readNumber() as number) } - const hidden_result : string | PixelMap | Resource = (hidden_buf as string | PixelMap | Resource) - const switching_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let switching_buf : string | PixelMap | Resource | undefined - if ((RuntimeType.UNDEFINED) != (switching_buf_runtimeType)) + const lunarDayYAxisOffset_result : number | undefined = lunarDayYAxisOffset_buf + const underscoreXAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let underscoreXAxisOffset_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (underscoreXAxisOffset_buf_runtimeType)) { - const switching_buf__selector : int32 = valueDeserializer.readInt8() - let switching_buf_ : string | PixelMap | Resource | undefined - if (switching_buf__selector == 0) { - switching_buf_ = (valueDeserializer.readString() as string) - } - else if (switching_buf__selector == 1) { - switching_buf_ = (valueDeserializer.readPixelMap() as PixelMap) - } - else if (switching_buf__selector == 2) { - switching_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for switching_buf_ has to be chosen through deserialisation.") - } - switching_buf = (switching_buf_ as string | PixelMap | Resource) + underscoreXAxisOffset_buf = (valueDeserializer.readNumber() as number) } - const switching_result : string | PixelMap | Resource | undefined = switching_buf - let value : ButtonIconOptions = ({shown: shown_result, hidden: hidden_result, switching: switching_result} as ButtonIconOptions) - return value - } - readCalendarOptions(): CalendarOptions { - let valueDeserializer : Deserializer = this - const hintRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let hintRadius_buf : number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (hintRadius_buf_runtimeType)) + const underscoreXAxisOffset_result : number | undefined = underscoreXAxisOffset_buf + const underscoreYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let underscoreYAxisOffset_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (underscoreYAxisOffset_buf_runtimeType)) { - const hintRadius_buf__selector : int32 = valueDeserializer.readInt8() - let hintRadius_buf_ : number | Resource | undefined - if (hintRadius_buf__selector == 0) { - hintRadius_buf_ = (valueDeserializer.readNumber() as number) - } - else if (hintRadius_buf__selector == 1) { - hintRadius_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for hintRadius_buf_ has to be chosen through deserialisation.") - } - hintRadius_buf = (hintRadius_buf_ as number | Resource) + underscoreYAxisOffset_buf = (valueDeserializer.readNumber() as number) } - const hintRadius_result : number | Resource | undefined = hintRadius_buf - const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let selected_buf : Date | undefined - if ((RuntimeType.UNDEFINED) != (selected_buf_runtimeType)) + const underscoreYAxisOffset_result : number | undefined = underscoreYAxisOffset_buf + const scheduleMarkerXAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scheduleMarkerXAxisOffset_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (scheduleMarkerXAxisOffset_buf_runtimeType)) { - selected_buf = new Date(valueDeserializer.readInt64()) + scheduleMarkerXAxisOffset_buf = (valueDeserializer.readNumber() as number) } - const selected_result : Date | undefined = selected_buf - let value : CalendarOptions = ({hintRadius: hintRadius_result, selected: selected_result} as CalendarOptions) - return value - } - readCaretStyle(): CaretStyle { - let valueDeserializer : Deserializer = this - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const scheduleMarkerXAxisOffset_result : number | undefined = scheduleMarkerXAxisOffset_buf + const scheduleMarkerYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scheduleMarkerYAxisOffset_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (scheduleMarkerYAxisOffset_buf_runtimeType)) { - const width_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf_ : string | number | Resource | undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__selector == 2) { - width_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") - } - width_buf = (width_buf_ as string | number | Resource) + scheduleMarkerYAxisOffset_buf = (valueDeserializer.readNumber() as number) } - const width_result : Length | undefined = width_buf - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const scheduleMarkerYAxisOffset_result : number | undefined = scheduleMarkerYAxisOffset_buf + const colSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colSpace_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (colSpace_buf_runtimeType)) { - const color_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf_ : Color | number | string | Resource | undefined - if (color_buf__selector == 0) { - color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") - } - color_buf = (color_buf_ as Color | number | string | Resource) + colSpace_buf = (valueDeserializer.readNumber() as number) } - const color_result : ResourceColor | undefined = color_buf - let value : CaretStyle = ({width: width_result, color: color_result} as CaretStyle) - return value - } - readChainAnimationOptions(): ChainAnimationOptions { - let valueDeserializer : Deserializer = this - const minSpace_buf_selector : int32 = valueDeserializer.readInt8() - let minSpace_buf : string | number | Resource | undefined - if (minSpace_buf_selector == 0) { - minSpace_buf = (valueDeserializer.readString() as string) + const colSpace_result : number | undefined = colSpace_buf + const dailyFiveRowSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dailyFiveRowSpace_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (dailyFiveRowSpace_buf_runtimeType)) + { + dailyFiveRowSpace_buf = (valueDeserializer.readNumber() as number) } - else if (minSpace_buf_selector == 1) { - minSpace_buf = (valueDeserializer.readNumber() as number) + const dailyFiveRowSpace_result : number | undefined = dailyFiveRowSpace_buf + const dailySixRowSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dailySixRowSpace_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (dailySixRowSpace_buf_runtimeType)) + { + dailySixRowSpace_buf = (valueDeserializer.readNumber() as number) } - else if (minSpace_buf_selector == 2) { - minSpace_buf = valueDeserializer.readResource() + const dailySixRowSpace_result : number | undefined = dailySixRowSpace_buf + const lunarHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lunarHeight_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (lunarHeight_buf_runtimeType)) + { + lunarHeight_buf = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for minSpace_buf has to be chosen through deserialisation.") - } - const minSpace_result : Length = (minSpace_buf as string | number | Resource) - const maxSpace_buf_selector : int32 = valueDeserializer.readInt8() - let maxSpace_buf : string | number | Resource | undefined - if (maxSpace_buf_selector == 0) { - maxSpace_buf = (valueDeserializer.readString() as string) - } - else if (maxSpace_buf_selector == 1) { - maxSpace_buf = (valueDeserializer.readNumber() as number) - } - else if (maxSpace_buf_selector == 2) { - maxSpace_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for maxSpace_buf has to be chosen through deserialisation.") - } - const maxSpace_result : Length = (maxSpace_buf as string | number | Resource) - const conductivity_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let conductivity_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (conductivity_buf_runtimeType)) + const lunarHeight_result : number | undefined = lunarHeight_buf + const underscoreWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let underscoreWidth_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (underscoreWidth_buf_runtimeType)) { - conductivity_buf = (valueDeserializer.readNumber() as number) + underscoreWidth_buf = (valueDeserializer.readNumber() as number) } - const conductivity_result : number | undefined = conductivity_buf - const intensity_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let intensity_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (intensity_buf_runtimeType)) + const underscoreWidth_result : number | undefined = underscoreWidth_buf + const underscoreLength_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let underscoreLength_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (underscoreLength_buf_runtimeType)) { - intensity_buf = (valueDeserializer.readNumber() as number) + underscoreLength_buf = (valueDeserializer.readNumber() as number) } - const intensity_result : number | undefined = intensity_buf - const edgeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let edgeEffect_buf : ChainEdgeEffect | undefined - if ((RuntimeType.UNDEFINED) != (edgeEffect_buf_runtimeType)) + const underscoreLength_result : number | undefined = underscoreLength_buf + const scheduleMarkerRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scheduleMarkerRadius_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (scheduleMarkerRadius_buf_runtimeType)) { - edgeEffect_buf = TypeChecker.ChainEdgeEffect_FromNumeric(valueDeserializer.readInt32()) + scheduleMarkerRadius_buf = (valueDeserializer.readNumber() as number) } - const edgeEffect_result : ChainEdgeEffect | undefined = edgeEffect_buf - const stiffness_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let stiffness_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (stiffness_buf_runtimeType)) + const scheduleMarkerRadius_result : number | undefined = scheduleMarkerRadius_buf + const boundaryRowOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let boundaryRowOffset_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (boundaryRowOffset_buf_runtimeType)) { - stiffness_buf = (valueDeserializer.readNumber() as number) + boundaryRowOffset_buf = (valueDeserializer.readNumber() as number) } - const stiffness_result : number | undefined = stiffness_buf - const damping_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let damping_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (damping_buf_runtimeType)) + const boundaryRowOffset_result : number | undefined = boundaryRowOffset_buf + const boundaryColOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let boundaryColOffset_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (boundaryColOffset_buf_runtimeType)) { - damping_buf = (valueDeserializer.readNumber() as number) + boundaryColOffset_buf = (valueDeserializer.readNumber() as number) } - const damping_result : number | undefined = damping_buf - let value : ChainAnimationOptions = ({minSpace: minSpace_result, maxSpace: maxSpace_result, conductivity: conductivity_result, intensity: intensity_result, edgeEffect: edgeEffect_result, stiffness: stiffness_result, damping: damping_result} as ChainAnimationOptions) + const boundaryColOffset_result : number | undefined = boundaryColOffset_buf + let value : CurrentDayStyle = ({dayColor: dayColor_result, lunarColor: lunarColor_result, markLunarColor: markLunarColor_result, dayFontSize: dayFontSize_result, lunarDayFontSize: lunarDayFontSize_result, dayHeight: dayHeight_result, dayWidth: dayWidth_result, gregorianCalendarHeight: gregorianCalendarHeight_result, dayYAxisOffset: dayYAxisOffset_result, lunarDayYAxisOffset: lunarDayYAxisOffset_result, underscoreXAxisOffset: underscoreXAxisOffset_result, underscoreYAxisOffset: underscoreYAxisOffset_result, scheduleMarkerXAxisOffset: scheduleMarkerXAxisOffset_result, scheduleMarkerYAxisOffset: scheduleMarkerYAxisOffset_result, colSpace: colSpace_result, dailyFiveRowSpace: dailyFiveRowSpace_result, dailySixRowSpace: dailySixRowSpace_result, lunarHeight: lunarHeight_result, underscoreWidth: underscoreWidth_result, underscoreLength: underscoreLength_result, scheduleMarkerRadius: scheduleMarkerRadius_result, boundaryRowOffset: boundaryRowOffset_result, boundaryColOffset: boundaryColOffset_result} as CurrentDayStyle) return value } - readCircleStyleOptions(): CircleStyleOptions { + public readCustomColors(): CustomColors { let valueDeserializer : Deserializer = this - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const brand_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let brand_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (brand_buf_runtimeType)) { - const color_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf_ : Color | number | string | Resource | undefined - if (color_buf__selector == 0) { - color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const brand_buf__selector : int32 = valueDeserializer.readInt8() + let brand_buf_ : Color | number | string | Resource | undefined + if (brand_buf__selector == 0) { + brand_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + else if (brand_buf__selector == 1) { + brand_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else if (brand_buf__selector == 2) { + brand_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (brand_buf__selector == 3) { + brand_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for brand_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) + brand_buf = (brand_buf_ as Color | number | string | Resource) } - const color_result : ResourceColor | undefined = color_buf - const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) + const brand_result : ResourceColor | undefined = brand_buf + const warning_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let warning_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (warning_buf_runtimeType)) { - radius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const warning_buf__selector : int32 = valueDeserializer.readInt8() + let warning_buf_ : Color | number | string | Resource | undefined + if (warning_buf__selector == 0) { + warning_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (warning_buf__selector == 1) { + warning_buf_ = (valueDeserializer.readNumber() as number) + } + else if (warning_buf__selector == 2) { + warning_buf_ = (valueDeserializer.readString() as string) + } + else if (warning_buf__selector == 3) { + warning_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for warning_buf_ has to be chosen through deserialisation.") + } + warning_buf = (warning_buf_ as Color | number | string | Resource) } - const radius_result : LengthMetrics | undefined = radius_buf - const enableWaveEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableWaveEffect_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (enableWaveEffect_buf_runtimeType)) + const warning_result : ResourceColor | undefined = warning_buf + const alert_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let alert_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (alert_buf_runtimeType)) { - enableWaveEffect_buf = valueDeserializer.readBoolean() - } - const enableWaveEffect_result : boolean | undefined = enableWaveEffect_buf - let value : CircleStyleOptions = ({color: color_result, radius: radius_result, enableWaveEffect: enableWaveEffect_result} as CircleStyleOptions) - return value - } - readColorStop(): ColorStop { - let valueDeserializer : Deserializer = this - const color_buf_selector : int32 = valueDeserializer.readInt8() - let color_buf : Color | number | string | Resource | undefined - if (color_buf_selector == 0) { - color_buf = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf_selector == 1) { - color_buf = (valueDeserializer.readNumber() as number) - } - else if (color_buf_selector == 2) { - color_buf = (valueDeserializer.readString() as string) - } - else if (color_buf_selector == 3) { - color_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf has to be chosen through deserialisation.") - } - const color_result : ResourceColor = (color_buf as Color | number | string | Resource) - const offset_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf : string | number | Resource | undefined - if (offset_buf_selector == 0) { - offset_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf_selector == 1) { - offset_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf_selector == 2) { - offset_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf has to be chosen through deserialisation.") + const alert_buf__selector : int32 = valueDeserializer.readInt8() + let alert_buf_ : Color | number | string | Resource | undefined + if (alert_buf__selector == 0) { + alert_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (alert_buf__selector == 1) { + alert_buf_ = (valueDeserializer.readNumber() as number) + } + else if (alert_buf__selector == 2) { + alert_buf_ = (valueDeserializer.readString() as string) + } + else if (alert_buf__selector == 3) { + alert_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for alert_buf_ has to be chosen through deserialisation.") + } + alert_buf = (alert_buf_ as Color | number | string | Resource) } - const offset_result : Length = (offset_buf as string | number | Resource) - let value : ColorStop = ({color: color_result, offset: offset_result} as ColorStop) - return value - } - readColumnSplitDividerStyle(): ColumnSplitDividerStyle { - let valueDeserializer : Deserializer = this - const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startMargin_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + const alert_result : ResourceColor | undefined = alert_buf + const confirm_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let confirm_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (confirm_buf_runtimeType)) { - const startMargin_buf__selector : int32 = valueDeserializer.readInt8() - let startMargin_buf_ : string | number | Resource | undefined - if (startMargin_buf__selector == 0) { - startMargin_buf_ = (valueDeserializer.readString() as string) + const confirm_buf__selector : int32 = valueDeserializer.readInt8() + let confirm_buf_ : Color | number | string | Resource | undefined + if (confirm_buf__selector == 0) { + confirm_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (startMargin_buf__selector == 1) { - startMargin_buf_ = (valueDeserializer.readNumber() as number) + else if (confirm_buf__selector == 1) { + confirm_buf_ = (valueDeserializer.readNumber() as number) } - else if (startMargin_buf__selector == 2) { - startMargin_buf_ = valueDeserializer.readResource() + else if (confirm_buf__selector == 2) { + confirm_buf_ = (valueDeserializer.readString() as string) + } + else if (confirm_buf__selector == 3) { + confirm_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for confirm_buf_ has to be chosen through deserialisation.") } - startMargin_buf = (startMargin_buf_ as string | number | Resource) + confirm_buf = (confirm_buf_ as Color | number | string | Resource) } - const startMargin_result : Dimension | undefined = startMargin_buf - const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let endMargin_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) + const confirm_result : ResourceColor | undefined = confirm_buf + const fontPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontPrimary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (fontPrimary_buf_runtimeType)) { - const endMargin_buf__selector : int32 = valueDeserializer.readInt8() - let endMargin_buf_ : string | number | Resource | undefined - if (endMargin_buf__selector == 0) { - endMargin_buf_ = (valueDeserializer.readString() as string) + const fontPrimary_buf__selector : int32 = valueDeserializer.readInt8() + let fontPrimary_buf_ : Color | number | string | Resource | undefined + if (fontPrimary_buf__selector == 0) { + fontPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (endMargin_buf__selector == 1) { - endMargin_buf_ = (valueDeserializer.readNumber() as number) + else if (fontPrimary_buf__selector == 1) { + fontPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (endMargin_buf__selector == 2) { - endMargin_buf_ = valueDeserializer.readResource() + else if (fontPrimary_buf__selector == 2) { + fontPrimary_buf_ = (valueDeserializer.readString() as string) + } + else if (fontPrimary_buf__selector == 3) { + fontPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontPrimary_buf_ has to be chosen through deserialisation.") } - endMargin_buf = (endMargin_buf_ as string | number | Resource) + fontPrimary_buf = (fontPrimary_buf_ as Color | number | string | Resource) } - const endMargin_result : Dimension | undefined = endMargin_buf - let value : ColumnSplitDividerStyle = ({startMargin: startMargin_result, endMargin: endMargin_result} as ColumnSplitDividerStyle) - return value - } - readComponentInfo(): ComponentInfo { - let valueDeserializer : Deserializer = this - const size_result : Size = valueDeserializer.readSize() - const localOffset_result : Offset_componentutils = valueDeserializer.readOffset_componentutils() - const windowOffset_result : Offset_componentutils = valueDeserializer.readOffset_componentutils() - const screenOffset_result : Offset_componentutils = valueDeserializer.readOffset_componentutils() - const translate_result : TranslateResult = valueDeserializer.readTranslateResult() - const scale_result : ScaleResult = valueDeserializer.readScaleResult() - const rotate_result : RotateResult = valueDeserializer.readRotateResult() - const transform_buf_value0 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value1 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value2 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value3 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value4 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value5 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value6 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value7 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value8 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value9 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value10 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value11 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value12 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value13 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value14 : number = (valueDeserializer.readNumber() as number) - const transform_buf_value15 : number = (valueDeserializer.readNumber() as number) - const transform_result : Matrix4Result = ([transform_buf_value0, transform_buf_value1, transform_buf_value2, transform_buf_value3, transform_buf_value4, transform_buf_value5, transform_buf_value6, transform_buf_value7, transform_buf_value8, transform_buf_value9, transform_buf_value10, transform_buf_value11, transform_buf_value12, transform_buf_value13, transform_buf_value14, transform_buf_value15] as Matrix4Result) - let value : ComponentInfo = ({size: size_result, localOffset: localOffset_result, windowOffset: windowOffset_result, screenOffset: screenOffset_result, translate: translate_result, scale: scale_result, rotate: rotate_result, transform: transform_result} as ComponentInfo) - return value - } - readConstraintSizeOptions(): ConstraintSizeOptions { - let valueDeserializer : Deserializer = this - const minWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let minWidth_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (minWidth_buf_runtimeType)) + const fontPrimary_result : ResourceColor | undefined = fontPrimary_buf + const fontSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSecondary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (fontSecondary_buf_runtimeType)) { - const minWidth_buf__selector : int32 = valueDeserializer.readInt8() - let minWidth_buf_ : string | number | Resource | undefined - if (minWidth_buf__selector == 0) { - minWidth_buf_ = (valueDeserializer.readString() as string) + const fontSecondary_buf__selector : int32 = valueDeserializer.readInt8() + let fontSecondary_buf_ : Color | number | string | Resource | undefined + if (fontSecondary_buf__selector == 0) { + fontSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (minWidth_buf__selector == 1) { - minWidth_buf_ = (valueDeserializer.readNumber() as number) + else if (fontSecondary_buf__selector == 1) { + fontSecondary_buf_ = (valueDeserializer.readNumber() as number) } - else if (minWidth_buf__selector == 2) { - minWidth_buf_ = valueDeserializer.readResource() + else if (fontSecondary_buf__selector == 2) { + fontSecondary_buf_ = (valueDeserializer.readString() as string) + } + else if (fontSecondary_buf__selector == 3) { + fontSecondary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for minWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontSecondary_buf_ has to be chosen through deserialisation.") } - minWidth_buf = (minWidth_buf_ as string | number | Resource) + fontSecondary_buf = (fontSecondary_buf_ as Color | number | string | Resource) } - const minWidth_result : Length | undefined = minWidth_buf - const maxWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maxWidth_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (maxWidth_buf_runtimeType)) + const fontSecondary_result : ResourceColor | undefined = fontSecondary_buf + const fontTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontTertiary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (fontTertiary_buf_runtimeType)) { - const maxWidth_buf__selector : int32 = valueDeserializer.readInt8() - let maxWidth_buf_ : string | number | Resource | undefined - if (maxWidth_buf__selector == 0) { - maxWidth_buf_ = (valueDeserializer.readString() as string) + const fontTertiary_buf__selector : int32 = valueDeserializer.readInt8() + let fontTertiary_buf_ : Color | number | string | Resource | undefined + if (fontTertiary_buf__selector == 0) { + fontTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (maxWidth_buf__selector == 1) { - maxWidth_buf_ = (valueDeserializer.readNumber() as number) + else if (fontTertiary_buf__selector == 1) { + fontTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (maxWidth_buf__selector == 2) { - maxWidth_buf_ = valueDeserializer.readResource() + else if (fontTertiary_buf__selector == 2) { + fontTertiary_buf_ = (valueDeserializer.readString() as string) + } + else if (fontTertiary_buf__selector == 3) { + fontTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for maxWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontTertiary_buf_ has to be chosen through deserialisation.") } - maxWidth_buf = (maxWidth_buf_ as string | number | Resource) + fontTertiary_buf = (fontTertiary_buf_ as Color | number | string | Resource) } - const maxWidth_result : Length | undefined = maxWidth_buf - const minHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let minHeight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (minHeight_buf_runtimeType)) + const fontTertiary_result : ResourceColor | undefined = fontTertiary_buf + const fontFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFourth_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (fontFourth_buf_runtimeType)) { - const minHeight_buf__selector : int32 = valueDeserializer.readInt8() - let minHeight_buf_ : string | number | Resource | undefined - if (minHeight_buf__selector == 0) { - minHeight_buf_ = (valueDeserializer.readString() as string) + const fontFourth_buf__selector : int32 = valueDeserializer.readInt8() + let fontFourth_buf_ : Color | number | string | Resource | undefined + if (fontFourth_buf__selector == 0) { + fontFourth_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (minHeight_buf__selector == 1) { - minHeight_buf_ = (valueDeserializer.readNumber() as number) + else if (fontFourth_buf__selector == 1) { + fontFourth_buf_ = (valueDeserializer.readNumber() as number) } - else if (minHeight_buf__selector == 2) { - minHeight_buf_ = valueDeserializer.readResource() + else if (fontFourth_buf__selector == 2) { + fontFourth_buf_ = (valueDeserializer.readString() as string) + } + else if (fontFourth_buf__selector == 3) { + fontFourth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for minHeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontFourth_buf_ has to be chosen through deserialisation.") } - minHeight_buf = (minHeight_buf_ as string | number | Resource) + fontFourth_buf = (fontFourth_buf_ as Color | number | string | Resource) } - const minHeight_result : Length | undefined = minHeight_buf - const maxHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maxHeight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (maxHeight_buf_runtimeType)) + const fontFourth_result : ResourceColor | undefined = fontFourth_buf + const fontEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontEmphasize_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (fontEmphasize_buf_runtimeType)) { - const maxHeight_buf__selector : int32 = valueDeserializer.readInt8() - let maxHeight_buf_ : string | number | Resource | undefined - if (maxHeight_buf__selector == 0) { - maxHeight_buf_ = (valueDeserializer.readString() as string) + const fontEmphasize_buf__selector : int32 = valueDeserializer.readInt8() + let fontEmphasize_buf_ : Color | number | string | Resource | undefined + if (fontEmphasize_buf__selector == 0) { + fontEmphasize_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (maxHeight_buf__selector == 1) { - maxHeight_buf_ = (valueDeserializer.readNumber() as number) + else if (fontEmphasize_buf__selector == 1) { + fontEmphasize_buf_ = (valueDeserializer.readNumber() as number) } - else if (maxHeight_buf__selector == 2) { - maxHeight_buf_ = valueDeserializer.readResource() + else if (fontEmphasize_buf__selector == 2) { + fontEmphasize_buf_ = (valueDeserializer.readString() as string) + } + else if (fontEmphasize_buf__selector == 3) { + fontEmphasize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for maxHeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontEmphasize_buf_ has to be chosen through deserialisation.") } - maxHeight_buf = (maxHeight_buf_ as string | number | Resource) + fontEmphasize_buf = (fontEmphasize_buf_ as Color | number | string | Resource) } - const maxHeight_result : Length | undefined = maxHeight_buf - let value : ConstraintSizeOptions = ({minWidth: minWidth_result, maxWidth: maxWidth_result, minHeight: minHeight_result, maxHeight: maxHeight_result} as ConstraintSizeOptions) - return value - } - readContentCoverOptions(): ContentCoverOptions { - let valueDeserializer : Deserializer = this - const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) + const fontEmphasize_result : ResourceColor | undefined = fontEmphasize_buf + const fontOnPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontOnPrimary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (fontOnPrimary_buf_runtimeType)) { - const backgroundColor_buf__selector : int32 = valueDeserializer.readInt8() - let backgroundColor_buf_ : Color | number | string | Resource | undefined - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const fontOnPrimary_buf__selector : int32 = valueDeserializer.readInt8() + let fontOnPrimary_buf_ : Color | number | string | Resource | undefined + if (fontOnPrimary_buf__selector == 0) { + fontOnPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_ = (valueDeserializer.readNumber() as number) + else if (fontOnPrimary_buf__selector == 1) { + fontOnPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_ = (valueDeserializer.readString() as string) + else if (fontOnPrimary_buf__selector == 2) { + fontOnPrimary_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_ = valueDeserializer.readResource() + else if (fontOnPrimary_buf__selector == 3) { + fontOnPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontOnPrimary_buf_ has to be chosen through deserialisation.") } - backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) + fontOnPrimary_buf = (fontOnPrimary_buf_ as Color | number | string | Resource) } - const backgroundColor_result : ResourceColor | undefined = backgroundColor_buf - const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onAppear_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (onAppear_buf_runtimeType)) + const fontOnPrimary_result : ResourceColor | undefined = fontOnPrimary_buf + const fontOnSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontOnSecondary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (fontOnSecondary_buf_runtimeType)) { - onAppear_buf = valueDeserializer.readCallback_Void() + const fontOnSecondary_buf__selector : int32 = valueDeserializer.readInt8() + let fontOnSecondary_buf_ : Color | number | string | Resource | undefined + if (fontOnSecondary_buf__selector == 0) { + fontOnSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (fontOnSecondary_buf__selector == 1) { + fontOnSecondary_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontOnSecondary_buf__selector == 2) { + fontOnSecondary_buf_ = (valueDeserializer.readString() as string) + } + else if (fontOnSecondary_buf__selector == 3) { + fontOnSecondary_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontOnSecondary_buf_ has to be chosen through deserialisation.") + } + fontOnSecondary_buf = (fontOnSecondary_buf_ as Color | number | string | Resource) } - const onAppear_result : (() => void) | undefined = onAppear_buf - const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onDisappear_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) + const fontOnSecondary_result : ResourceColor | undefined = fontOnSecondary_buf + const fontOnTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontOnTertiary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (fontOnTertiary_buf_runtimeType)) { - onDisappear_buf = valueDeserializer.readCallback_Void() + const fontOnTertiary_buf__selector : int32 = valueDeserializer.readInt8() + let fontOnTertiary_buf_ : Color | number | string | Resource | undefined + if (fontOnTertiary_buf__selector == 0) { + fontOnTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (fontOnTertiary_buf__selector == 1) { + fontOnTertiary_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontOnTertiary_buf__selector == 2) { + fontOnTertiary_buf_ = (valueDeserializer.readString() as string) + } + else if (fontOnTertiary_buf__selector == 3) { + fontOnTertiary_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontOnTertiary_buf_ has to be chosen through deserialisation.") + } + fontOnTertiary_buf = (fontOnTertiary_buf_ as Color | number | string | Resource) } - const onDisappear_result : (() => void) | undefined = onDisappear_buf - const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillAppear_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + const fontOnTertiary_result : ResourceColor | undefined = fontOnTertiary_buf + const fontOnFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontOnFourth_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (fontOnFourth_buf_runtimeType)) { - onWillAppear_buf = valueDeserializer.readCallback_Void() - } - const onWillAppear_result : (() => void) | undefined = onWillAppear_buf - const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillDisappear_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) - { - onWillDisappear_buf = valueDeserializer.readCallback_Void() - } - const onWillDisappear_result : (() => void) | undefined = onWillDisappear_buf - const modalTransition_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let modalTransition_buf : ModalTransition | undefined - if ((RuntimeType.UNDEFINED) != (modalTransition_buf_runtimeType)) - { - modalTransition_buf = TypeChecker.ModalTransition_FromNumeric(valueDeserializer.readInt32()) - } - const modalTransition_result : ModalTransition | undefined = modalTransition_buf - const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillDismiss_buf : ((parameter: DismissContentCoverAction) => void) | undefined - if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) - { - onWillDismiss_buf = valueDeserializer.readCallback_DismissContentCoverAction_Void() + const fontOnFourth_buf__selector : int32 = valueDeserializer.readInt8() + let fontOnFourth_buf_ : Color | number | string | Resource | undefined + if (fontOnFourth_buf__selector == 0) { + fontOnFourth_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (fontOnFourth_buf__selector == 1) { + fontOnFourth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontOnFourth_buf__selector == 2) { + fontOnFourth_buf_ = (valueDeserializer.readString() as string) + } + else if (fontOnFourth_buf__selector == 3) { + fontOnFourth_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontOnFourth_buf_ has to be chosen through deserialisation.") + } + fontOnFourth_buf = (fontOnFourth_buf_ as Color | number | string | Resource) } - const onWillDismiss_result : ((parameter: DismissContentCoverAction) => void) | undefined = onWillDismiss_buf - const transition_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let transition_buf : TransitionEffect | undefined - if ((RuntimeType.UNDEFINED) != (transition_buf_runtimeType)) + const fontOnFourth_result : ResourceColor | undefined = fontOnFourth_buf + const iconPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconPrimary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (iconPrimary_buf_runtimeType)) { - transition_buf = (valueDeserializer.readTransitionEffect() as TransitionEffect) + const iconPrimary_buf__selector : int32 = valueDeserializer.readInt8() + let iconPrimary_buf_ : Color | number | string | Resource | undefined + if (iconPrimary_buf__selector == 0) { + iconPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (iconPrimary_buf__selector == 1) { + iconPrimary_buf_ = (valueDeserializer.readNumber() as number) + } + else if (iconPrimary_buf__selector == 2) { + iconPrimary_buf_ = (valueDeserializer.readString() as string) + } + else if (iconPrimary_buf__selector == 3) { + iconPrimary_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for iconPrimary_buf_ has to be chosen through deserialisation.") + } + iconPrimary_buf = (iconPrimary_buf_ as Color | number | string | Resource) } - const transition_result : TransitionEffect | undefined = transition_buf - let value : ContentCoverOptions = ({backgroundColor: backgroundColor_result, onAppear: onAppear_result, onDisappear: onDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, modalTransition: modalTransition_result, onWillDismiss: onWillDismiss_result, transition: transition_result} as ContentCoverOptions) - return value - } - readContextMenuAnimationOptions(): ContextMenuAnimationOptions { - let valueDeserializer : Deserializer = this - const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scale_buf : [ number, number ] | undefined - if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) + const iconPrimary_result : ResourceColor | undefined = iconPrimary_buf + const iconSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconSecondary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (iconSecondary_buf_runtimeType)) { - const scale_buf__value0 : number = (valueDeserializer.readNumber() as number) - const scale_buf__value1 : number = (valueDeserializer.readNumber() as number) - scale_buf = ([scale_buf__value0, scale_buf__value1] as [ number, number ]) + const iconSecondary_buf__selector : int32 = valueDeserializer.readInt8() + let iconSecondary_buf_ : Color | number | string | Resource | undefined + if (iconSecondary_buf__selector == 0) { + iconSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (iconSecondary_buf__selector == 1) { + iconSecondary_buf_ = (valueDeserializer.readNumber() as number) + } + else if (iconSecondary_buf__selector == 2) { + iconSecondary_buf_ = (valueDeserializer.readString() as string) + } + else if (iconSecondary_buf__selector == 3) { + iconSecondary_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for iconSecondary_buf_ has to be chosen through deserialisation.") + } + iconSecondary_buf = (iconSecondary_buf_ as Color | number | string | Resource) } - const scale_result : [ number, number ] | undefined = scale_buf - const transition_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let transition_buf : TransitionEffect | undefined - if ((RuntimeType.UNDEFINED) != (transition_buf_runtimeType)) + const iconSecondary_result : ResourceColor | undefined = iconSecondary_buf + const iconTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconTertiary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (iconTertiary_buf_runtimeType)) { - transition_buf = (valueDeserializer.readTransitionEffect() as TransitionEffect) + const iconTertiary_buf__selector : int32 = valueDeserializer.readInt8() + let iconTertiary_buf_ : Color | number | string | Resource | undefined + if (iconTertiary_buf__selector == 0) { + iconTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (iconTertiary_buf__selector == 1) { + iconTertiary_buf_ = (valueDeserializer.readNumber() as number) + } + else if (iconTertiary_buf__selector == 2) { + iconTertiary_buf_ = (valueDeserializer.readString() as string) + } + else if (iconTertiary_buf__selector == 3) { + iconTertiary_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for iconTertiary_buf_ has to be chosen through deserialisation.") + } + iconTertiary_buf = (iconTertiary_buf_ as Color | number | string | Resource) } - const transition_result : TransitionEffect | undefined = transition_buf - const hoverScale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let hoverScale_buf : [ number, number ] | undefined - if ((RuntimeType.UNDEFINED) != (hoverScale_buf_runtimeType)) + const iconTertiary_result : ResourceColor | undefined = iconTertiary_buf + const iconFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconFourth_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (iconFourth_buf_runtimeType)) { - const hoverScale_buf__value0 : number = (valueDeserializer.readNumber() as number) - const hoverScale_buf__value1 : number = (valueDeserializer.readNumber() as number) - hoverScale_buf = ([hoverScale_buf__value0, hoverScale_buf__value1] as [ number, number ]) + const iconFourth_buf__selector : int32 = valueDeserializer.readInt8() + let iconFourth_buf_ : Color | number | string | Resource | undefined + if (iconFourth_buf__selector == 0) { + iconFourth_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (iconFourth_buf__selector == 1) { + iconFourth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (iconFourth_buf__selector == 2) { + iconFourth_buf_ = (valueDeserializer.readString() as string) + } + else if (iconFourth_buf__selector == 3) { + iconFourth_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for iconFourth_buf_ has to be chosen through deserialisation.") + } + iconFourth_buf = (iconFourth_buf_ as Color | number | string | Resource) } - const hoverScale_result : [ number, number ] | undefined = hoverScale_buf - let value : ContextMenuAnimationOptions = ({scale: scale_result, transition: transition_result, hoverScale: hoverScale_result} as ContextMenuAnimationOptions) - return value - } - readCurrentDayStyle(): CurrentDayStyle { - let valueDeserializer : Deserializer = this - const dayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dayColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (dayColor_buf_runtimeType)) + const iconFourth_result : ResourceColor | undefined = iconFourth_buf + const iconEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconEmphasize_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (iconEmphasize_buf_runtimeType)) { - const dayColor_buf__selector : int32 = valueDeserializer.readInt8() - let dayColor_buf_ : Color | number | string | Resource | undefined - if (dayColor_buf__selector == 0) { - dayColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const iconEmphasize_buf__selector : int32 = valueDeserializer.readInt8() + let iconEmphasize_buf_ : Color | number | string | Resource | undefined + if (iconEmphasize_buf__selector == 0) { + iconEmphasize_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (dayColor_buf__selector == 1) { - dayColor_buf_ = (valueDeserializer.readNumber() as number) + else if (iconEmphasize_buf__selector == 1) { + iconEmphasize_buf_ = (valueDeserializer.readNumber() as number) } - else if (dayColor_buf__selector == 2) { - dayColor_buf_ = (valueDeserializer.readString() as string) + else if (iconEmphasize_buf__selector == 2) { + iconEmphasize_buf_ = (valueDeserializer.readString() as string) } - else if (dayColor_buf__selector == 3) { - dayColor_buf_ = valueDeserializer.readResource() + else if (iconEmphasize_buf__selector == 3) { + iconEmphasize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for dayColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconEmphasize_buf_ has to be chosen through deserialisation.") } - dayColor_buf = (dayColor_buf_ as Color | number | string | Resource) + iconEmphasize_buf = (iconEmphasize_buf_ as Color | number | string | Resource) } - const dayColor_result : ResourceColor | undefined = dayColor_buf - const lunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lunarColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (lunarColor_buf_runtimeType)) + const iconEmphasize_result : ResourceColor | undefined = iconEmphasize_buf + const iconSubEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconSubEmphasize_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (iconSubEmphasize_buf_runtimeType)) { - const lunarColor_buf__selector : int32 = valueDeserializer.readInt8() - let lunarColor_buf_ : Color | number | string | Resource | undefined - if (lunarColor_buf__selector == 0) { - lunarColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const iconSubEmphasize_buf__selector : int32 = valueDeserializer.readInt8() + let iconSubEmphasize_buf_ : Color | number | string | Resource | undefined + if (iconSubEmphasize_buf__selector == 0) { + iconSubEmphasize_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (lunarColor_buf__selector == 1) { - lunarColor_buf_ = (valueDeserializer.readNumber() as number) + else if (iconSubEmphasize_buf__selector == 1) { + iconSubEmphasize_buf_ = (valueDeserializer.readNumber() as number) } - else if (lunarColor_buf__selector == 2) { - lunarColor_buf_ = (valueDeserializer.readString() as string) + else if (iconSubEmphasize_buf__selector == 2) { + iconSubEmphasize_buf_ = (valueDeserializer.readString() as string) } - else if (lunarColor_buf__selector == 3) { - lunarColor_buf_ = valueDeserializer.readResource() + else if (iconSubEmphasize_buf__selector == 3) { + iconSubEmphasize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for lunarColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconSubEmphasize_buf_ has to be chosen through deserialisation.") } - lunarColor_buf = (lunarColor_buf_ as Color | number | string | Resource) + iconSubEmphasize_buf = (iconSubEmphasize_buf_ as Color | number | string | Resource) } - const lunarColor_result : ResourceColor | undefined = lunarColor_buf - const markLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let markLunarColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (markLunarColor_buf_runtimeType)) + const iconSubEmphasize_result : ResourceColor | undefined = iconSubEmphasize_buf + const iconOnPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconOnPrimary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (iconOnPrimary_buf_runtimeType)) { - const markLunarColor_buf__selector : int32 = valueDeserializer.readInt8() - let markLunarColor_buf_ : Color | number | string | Resource | undefined - if (markLunarColor_buf__selector == 0) { - markLunarColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const iconOnPrimary_buf__selector : int32 = valueDeserializer.readInt8() + let iconOnPrimary_buf_ : Color | number | string | Resource | undefined + if (iconOnPrimary_buf__selector == 0) { + iconOnPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (markLunarColor_buf__selector == 1) { - markLunarColor_buf_ = (valueDeserializer.readNumber() as number) + else if (iconOnPrimary_buf__selector == 1) { + iconOnPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (markLunarColor_buf__selector == 2) { - markLunarColor_buf_ = (valueDeserializer.readString() as string) + else if (iconOnPrimary_buf__selector == 2) { + iconOnPrimary_buf_ = (valueDeserializer.readString() as string) } - else if (markLunarColor_buf__selector == 3) { - markLunarColor_buf_ = valueDeserializer.readResource() + else if (iconOnPrimary_buf__selector == 3) { + iconOnPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for markLunarColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconOnPrimary_buf_ has to be chosen through deserialisation.") } - markLunarColor_buf = (markLunarColor_buf_ as Color | number | string | Resource) + iconOnPrimary_buf = (iconOnPrimary_buf_ as Color | number | string | Resource) } - const markLunarColor_result : ResourceColor | undefined = markLunarColor_buf - const dayFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dayFontSize_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (dayFontSize_buf_runtimeType)) - { - dayFontSize_buf = (valueDeserializer.readNumber() as number) - } - const dayFontSize_result : number | undefined = dayFontSize_buf - const lunarDayFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lunarDayFontSize_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (lunarDayFontSize_buf_runtimeType)) - { - lunarDayFontSize_buf = (valueDeserializer.readNumber() as number) - } - const lunarDayFontSize_result : number | undefined = lunarDayFontSize_buf - const dayHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dayHeight_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (dayHeight_buf_runtimeType)) - { - dayHeight_buf = (valueDeserializer.readNumber() as number) - } - const dayHeight_result : number | undefined = dayHeight_buf - const dayWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dayWidth_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (dayWidth_buf_runtimeType)) - { - dayWidth_buf = (valueDeserializer.readNumber() as number) - } - const dayWidth_result : number | undefined = dayWidth_buf - const gregorianCalendarHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let gregorianCalendarHeight_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (gregorianCalendarHeight_buf_runtimeType)) - { - gregorianCalendarHeight_buf = (valueDeserializer.readNumber() as number) - } - const gregorianCalendarHeight_result : number | undefined = gregorianCalendarHeight_buf - const dayYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dayYAxisOffset_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (dayYAxisOffset_buf_runtimeType)) - { - dayYAxisOffset_buf = (valueDeserializer.readNumber() as number) - } - const dayYAxisOffset_result : number | undefined = dayYAxisOffset_buf - const lunarDayYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lunarDayYAxisOffset_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (lunarDayYAxisOffset_buf_runtimeType)) - { - lunarDayYAxisOffset_buf = (valueDeserializer.readNumber() as number) - } - const lunarDayYAxisOffset_result : number | undefined = lunarDayYAxisOffset_buf - const underscoreXAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let underscoreXAxisOffset_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (underscoreXAxisOffset_buf_runtimeType)) - { - underscoreXAxisOffset_buf = (valueDeserializer.readNumber() as number) - } - const underscoreXAxisOffset_result : number | undefined = underscoreXAxisOffset_buf - const underscoreYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let underscoreYAxisOffset_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (underscoreYAxisOffset_buf_runtimeType)) - { - underscoreYAxisOffset_buf = (valueDeserializer.readNumber() as number) - } - const underscoreYAxisOffset_result : number | undefined = underscoreYAxisOffset_buf - const scheduleMarkerXAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scheduleMarkerXAxisOffset_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (scheduleMarkerXAxisOffset_buf_runtimeType)) - { - scheduleMarkerXAxisOffset_buf = (valueDeserializer.readNumber() as number) - } - const scheduleMarkerXAxisOffset_result : number | undefined = scheduleMarkerXAxisOffset_buf - const scheduleMarkerYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scheduleMarkerYAxisOffset_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (scheduleMarkerYAxisOffset_buf_runtimeType)) - { - scheduleMarkerYAxisOffset_buf = (valueDeserializer.readNumber() as number) - } - const scheduleMarkerYAxisOffset_result : number | undefined = scheduleMarkerYAxisOffset_buf - const colSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colSpace_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (colSpace_buf_runtimeType)) - { - colSpace_buf = (valueDeserializer.readNumber() as number) - } - const colSpace_result : number | undefined = colSpace_buf - const dailyFiveRowSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dailyFiveRowSpace_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (dailyFiveRowSpace_buf_runtimeType)) - { - dailyFiveRowSpace_buf = (valueDeserializer.readNumber() as number) - } - const dailyFiveRowSpace_result : number | undefined = dailyFiveRowSpace_buf - const dailySixRowSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dailySixRowSpace_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (dailySixRowSpace_buf_runtimeType)) - { - dailySixRowSpace_buf = (valueDeserializer.readNumber() as number) - } - const dailySixRowSpace_result : number | undefined = dailySixRowSpace_buf - const lunarHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lunarHeight_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (lunarHeight_buf_runtimeType)) - { - lunarHeight_buf = (valueDeserializer.readNumber() as number) - } - const lunarHeight_result : number | undefined = lunarHeight_buf - const underscoreWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let underscoreWidth_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (underscoreWidth_buf_runtimeType)) - { - underscoreWidth_buf = (valueDeserializer.readNumber() as number) - } - const underscoreWidth_result : number | undefined = underscoreWidth_buf - const underscoreLength_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let underscoreLength_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (underscoreLength_buf_runtimeType)) - { - underscoreLength_buf = (valueDeserializer.readNumber() as number) - } - const underscoreLength_result : number | undefined = underscoreLength_buf - const scheduleMarkerRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scheduleMarkerRadius_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (scheduleMarkerRadius_buf_runtimeType)) - { - scheduleMarkerRadius_buf = (valueDeserializer.readNumber() as number) - } - const scheduleMarkerRadius_result : number | undefined = scheduleMarkerRadius_buf - const boundaryRowOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let boundaryRowOffset_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (boundaryRowOffset_buf_runtimeType)) - { - boundaryRowOffset_buf = (valueDeserializer.readNumber() as number) - } - const boundaryRowOffset_result : number | undefined = boundaryRowOffset_buf - const boundaryColOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let boundaryColOffset_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (boundaryColOffset_buf_runtimeType)) - { - boundaryColOffset_buf = (valueDeserializer.readNumber() as number) - } - const boundaryColOffset_result : number | undefined = boundaryColOffset_buf - let value : CurrentDayStyle = ({dayColor: dayColor_result, lunarColor: lunarColor_result, markLunarColor: markLunarColor_result, dayFontSize: dayFontSize_result, lunarDayFontSize: lunarDayFontSize_result, dayHeight: dayHeight_result, dayWidth: dayWidth_result, gregorianCalendarHeight: gregorianCalendarHeight_result, dayYAxisOffset: dayYAxisOffset_result, lunarDayYAxisOffset: lunarDayYAxisOffset_result, underscoreXAxisOffset: underscoreXAxisOffset_result, underscoreYAxisOffset: underscoreYAxisOffset_result, scheduleMarkerXAxisOffset: scheduleMarkerXAxisOffset_result, scheduleMarkerYAxisOffset: scheduleMarkerYAxisOffset_result, colSpace: colSpace_result, dailyFiveRowSpace: dailyFiveRowSpace_result, dailySixRowSpace: dailySixRowSpace_result, lunarHeight: lunarHeight_result, underscoreWidth: underscoreWidth_result, underscoreLength: underscoreLength_result, scheduleMarkerRadius: scheduleMarkerRadius_result, boundaryRowOffset: boundaryRowOffset_result, boundaryColOffset: boundaryColOffset_result} as CurrentDayStyle) - return value - } - readCustomColors(): CustomColors { - let valueDeserializer : Deserializer = this - const brand_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let brand_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (brand_buf_runtimeType)) + const iconOnPrimary_result : ResourceColor | undefined = iconOnPrimary_buf + const iconOnSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconOnSecondary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (iconOnSecondary_buf_runtimeType)) { - const brand_buf__selector : int32 = valueDeserializer.readInt8() - let brand_buf_ : Color | number | string | Resource | undefined - if (brand_buf__selector == 0) { - brand_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const iconOnSecondary_buf__selector : int32 = valueDeserializer.readInt8() + let iconOnSecondary_buf_ : Color | number | string | Resource | undefined + if (iconOnSecondary_buf__selector == 0) { + iconOnSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (brand_buf__selector == 1) { - brand_buf_ = (valueDeserializer.readNumber() as number) + else if (iconOnSecondary_buf__selector == 1) { + iconOnSecondary_buf_ = (valueDeserializer.readNumber() as number) } - else if (brand_buf__selector == 2) { - brand_buf_ = (valueDeserializer.readString() as string) + else if (iconOnSecondary_buf__selector == 2) { + iconOnSecondary_buf_ = (valueDeserializer.readString() as string) } - else if (brand_buf__selector == 3) { - brand_buf_ = valueDeserializer.readResource() + else if (iconOnSecondary_buf__selector == 3) { + iconOnSecondary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for brand_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconOnSecondary_buf_ has to be chosen through deserialisation.") } - brand_buf = (brand_buf_ as Color | number | string | Resource) + iconOnSecondary_buf = (iconOnSecondary_buf_ as Color | number | string | Resource) } - const brand_result : ResourceColor | undefined = brand_buf - const warning_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let warning_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (warning_buf_runtimeType)) + const iconOnSecondary_result : ResourceColor | undefined = iconOnSecondary_buf + const iconOnTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconOnTertiary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (iconOnTertiary_buf_runtimeType)) { - const warning_buf__selector : int32 = valueDeserializer.readInt8() - let warning_buf_ : Color | number | string | Resource | undefined - if (warning_buf__selector == 0) { - warning_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const iconOnTertiary_buf__selector : int32 = valueDeserializer.readInt8() + let iconOnTertiary_buf_ : Color | number | string | Resource | undefined + if (iconOnTertiary_buf__selector == 0) { + iconOnTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (warning_buf__selector == 1) { - warning_buf_ = (valueDeserializer.readNumber() as number) + else if (iconOnTertiary_buf__selector == 1) { + iconOnTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (warning_buf__selector == 2) { - warning_buf_ = (valueDeserializer.readString() as string) + else if (iconOnTertiary_buf__selector == 2) { + iconOnTertiary_buf_ = (valueDeserializer.readString() as string) } - else if (warning_buf__selector == 3) { - warning_buf_ = valueDeserializer.readResource() + else if (iconOnTertiary_buf__selector == 3) { + iconOnTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for warning_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconOnTertiary_buf_ has to be chosen through deserialisation.") } - warning_buf = (warning_buf_ as Color | number | string | Resource) + iconOnTertiary_buf = (iconOnTertiary_buf_ as Color | number | string | Resource) } - const warning_result : ResourceColor | undefined = warning_buf - const alert_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let alert_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (alert_buf_runtimeType)) + const iconOnTertiary_result : ResourceColor | undefined = iconOnTertiary_buf + const iconOnFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconOnFourth_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (iconOnFourth_buf_runtimeType)) { - const alert_buf__selector : int32 = valueDeserializer.readInt8() - let alert_buf_ : Color | number | string | Resource | undefined - if (alert_buf__selector == 0) { - alert_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const iconOnFourth_buf__selector : int32 = valueDeserializer.readInt8() + let iconOnFourth_buf_ : Color | number | string | Resource | undefined + if (iconOnFourth_buf__selector == 0) { + iconOnFourth_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (alert_buf__selector == 1) { - alert_buf_ = (valueDeserializer.readNumber() as number) + else if (iconOnFourth_buf__selector == 1) { + iconOnFourth_buf_ = (valueDeserializer.readNumber() as number) } - else if (alert_buf__selector == 2) { - alert_buf_ = (valueDeserializer.readString() as string) + else if (iconOnFourth_buf__selector == 2) { + iconOnFourth_buf_ = (valueDeserializer.readString() as string) } - else if (alert_buf__selector == 3) { - alert_buf_ = valueDeserializer.readResource() + else if (iconOnFourth_buf__selector == 3) { + iconOnFourth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for alert_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconOnFourth_buf_ has to be chosen through deserialisation.") } - alert_buf = (alert_buf_ as Color | number | string | Resource) + iconOnFourth_buf = (iconOnFourth_buf_ as Color | number | string | Resource) } - const alert_result : ResourceColor | undefined = alert_buf - const confirm_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let confirm_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (confirm_buf_runtimeType)) + const iconOnFourth_result : ResourceColor | undefined = iconOnFourth_buf + const backgroundPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundPrimary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (backgroundPrimary_buf_runtimeType)) { - const confirm_buf__selector : int32 = valueDeserializer.readInt8() - let confirm_buf_ : Color | number | string | Resource | undefined - if (confirm_buf__selector == 0) { - confirm_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const backgroundPrimary_buf__selector : int32 = valueDeserializer.readInt8() + let backgroundPrimary_buf_ : Color | number | string | Resource | undefined + if (backgroundPrimary_buf__selector == 0) { + backgroundPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (confirm_buf__selector == 1) { - confirm_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundPrimary_buf__selector == 1) { + backgroundPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (confirm_buf__selector == 2) { - confirm_buf_ = (valueDeserializer.readString() as string) + else if (backgroundPrimary_buf__selector == 2) { + backgroundPrimary_buf_ = (valueDeserializer.readString() as string) } - else if (confirm_buf__selector == 3) { - confirm_buf_ = valueDeserializer.readResource() + else if (backgroundPrimary_buf__selector == 3) { + backgroundPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for confirm_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundPrimary_buf_ has to be chosen through deserialisation.") } - confirm_buf = (confirm_buf_ as Color | number | string | Resource) + backgroundPrimary_buf = (backgroundPrimary_buf_ as Color | number | string | Resource) } - const confirm_result : ResourceColor | undefined = confirm_buf - const fontPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontPrimary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (fontPrimary_buf_runtimeType)) + const backgroundPrimary_result : ResourceColor | undefined = backgroundPrimary_buf + const backgroundSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundSecondary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (backgroundSecondary_buf_runtimeType)) { - const fontPrimary_buf__selector : int32 = valueDeserializer.readInt8() - let fontPrimary_buf_ : Color | number | string | Resource | undefined - if (fontPrimary_buf__selector == 0) { - fontPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const backgroundSecondary_buf__selector : int32 = valueDeserializer.readInt8() + let backgroundSecondary_buf_ : Color | number | string | Resource | undefined + if (backgroundSecondary_buf__selector == 0) { + backgroundSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (fontPrimary_buf__selector == 1) { - fontPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundSecondary_buf__selector == 1) { + backgroundSecondary_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontPrimary_buf__selector == 2) { - fontPrimary_buf_ = (valueDeserializer.readString() as string) + else if (backgroundSecondary_buf__selector == 2) { + backgroundSecondary_buf_ = (valueDeserializer.readString() as string) } - else if (fontPrimary_buf__selector == 3) { - fontPrimary_buf_ = valueDeserializer.readResource() + else if (backgroundSecondary_buf__selector == 3) { + backgroundSecondary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundSecondary_buf_ has to be chosen through deserialisation.") } - fontPrimary_buf = (fontPrimary_buf_ as Color | number | string | Resource) + backgroundSecondary_buf = (backgroundSecondary_buf_ as Color | number | string | Resource) } - const fontPrimary_result : ResourceColor | undefined = fontPrimary_buf - const fontSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSecondary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (fontSecondary_buf_runtimeType)) + const backgroundSecondary_result : ResourceColor | undefined = backgroundSecondary_buf + const backgroundTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundTertiary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (backgroundTertiary_buf_runtimeType)) { - const fontSecondary_buf__selector : int32 = valueDeserializer.readInt8() - let fontSecondary_buf_ : Color | number | string | Resource | undefined - if (fontSecondary_buf__selector == 0) { - fontSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const backgroundTertiary_buf__selector : int32 = valueDeserializer.readInt8() + let backgroundTertiary_buf_ : Color | number | string | Resource | undefined + if (backgroundTertiary_buf__selector == 0) { + backgroundTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (fontSecondary_buf__selector == 1) { - fontSecondary_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundTertiary_buf__selector == 1) { + backgroundTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontSecondary_buf__selector == 2) { - fontSecondary_buf_ = (valueDeserializer.readString() as string) + else if (backgroundTertiary_buf__selector == 2) { + backgroundTertiary_buf_ = (valueDeserializer.readString() as string) } - else if (fontSecondary_buf__selector == 3) { - fontSecondary_buf_ = valueDeserializer.readResource() + else if (backgroundTertiary_buf__selector == 3) { + backgroundTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundTertiary_buf_ has to be chosen through deserialisation.") } - fontSecondary_buf = (fontSecondary_buf_ as Color | number | string | Resource) + backgroundTertiary_buf = (backgroundTertiary_buf_ as Color | number | string | Resource) } - const fontSecondary_result : ResourceColor | undefined = fontSecondary_buf - const fontTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontTertiary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (fontTertiary_buf_runtimeType)) + const backgroundTertiary_result : ResourceColor | undefined = backgroundTertiary_buf + const backgroundFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundFourth_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (backgroundFourth_buf_runtimeType)) { - const fontTertiary_buf__selector : int32 = valueDeserializer.readInt8() - let fontTertiary_buf_ : Color | number | string | Resource | undefined - if (fontTertiary_buf__selector == 0) { - fontTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const backgroundFourth_buf__selector : int32 = valueDeserializer.readInt8() + let backgroundFourth_buf_ : Color | number | string | Resource | undefined + if (backgroundFourth_buf__selector == 0) { + backgroundFourth_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (fontTertiary_buf__selector == 1) { - fontTertiary_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundFourth_buf__selector == 1) { + backgroundFourth_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontTertiary_buf__selector == 2) { - fontTertiary_buf_ = (valueDeserializer.readString() as string) + else if (backgroundFourth_buf__selector == 2) { + backgroundFourth_buf_ = (valueDeserializer.readString() as string) } - else if (fontTertiary_buf__selector == 3) { - fontTertiary_buf_ = valueDeserializer.readResource() + else if (backgroundFourth_buf__selector == 3) { + backgroundFourth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundFourth_buf_ has to be chosen through deserialisation.") } - fontTertiary_buf = (fontTertiary_buf_ as Color | number | string | Resource) + backgroundFourth_buf = (backgroundFourth_buf_ as Color | number | string | Resource) } - const fontTertiary_result : ResourceColor | undefined = fontTertiary_buf - const fontFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFourth_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (fontFourth_buf_runtimeType)) + const backgroundFourth_result : ResourceColor | undefined = backgroundFourth_buf + const backgroundEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEmphasize_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEmphasize_buf_runtimeType)) { - const fontFourth_buf__selector : int32 = valueDeserializer.readInt8() - let fontFourth_buf_ : Color | number | string | Resource | undefined - if (fontFourth_buf__selector == 0) { - fontFourth_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const backgroundEmphasize_buf__selector : int32 = valueDeserializer.readInt8() + let backgroundEmphasize_buf_ : Color | number | string | Resource | undefined + if (backgroundEmphasize_buf__selector == 0) { + backgroundEmphasize_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (fontFourth_buf__selector == 1) { - fontFourth_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundEmphasize_buf__selector == 1) { + backgroundEmphasize_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontFourth_buf__selector == 2) { - fontFourth_buf_ = (valueDeserializer.readString() as string) + else if (backgroundEmphasize_buf__selector == 2) { + backgroundEmphasize_buf_ = (valueDeserializer.readString() as string) } - else if (fontFourth_buf__selector == 3) { - fontFourth_buf_ = valueDeserializer.readResource() + else if (backgroundEmphasize_buf__selector == 3) { + backgroundEmphasize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontFourth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundEmphasize_buf_ has to be chosen through deserialisation.") } - fontFourth_buf = (fontFourth_buf_ as Color | number | string | Resource) + backgroundEmphasize_buf = (backgroundEmphasize_buf_ as Color | number | string | Resource) } - const fontFourth_result : ResourceColor | undefined = fontFourth_buf - const fontEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontEmphasize_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (fontEmphasize_buf_runtimeType)) + const backgroundEmphasize_result : ResourceColor | undefined = backgroundEmphasize_buf + const compForegroundPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compForegroundPrimary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compForegroundPrimary_buf_runtimeType)) { - const fontEmphasize_buf__selector : int32 = valueDeserializer.readInt8() - let fontEmphasize_buf_ : Color | number | string | Resource | undefined - if (fontEmphasize_buf__selector == 0) { - fontEmphasize_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compForegroundPrimary_buf__selector : int32 = valueDeserializer.readInt8() + let compForegroundPrimary_buf_ : Color | number | string | Resource | undefined + if (compForegroundPrimary_buf__selector == 0) { + compForegroundPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (fontEmphasize_buf__selector == 1) { - fontEmphasize_buf_ = (valueDeserializer.readNumber() as number) + else if (compForegroundPrimary_buf__selector == 1) { + compForegroundPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontEmphasize_buf__selector == 2) { - fontEmphasize_buf_ = (valueDeserializer.readString() as string) + else if (compForegroundPrimary_buf__selector == 2) { + compForegroundPrimary_buf_ = (valueDeserializer.readString() as string) } - else if (fontEmphasize_buf__selector == 3) { - fontEmphasize_buf_ = valueDeserializer.readResource() + else if (compForegroundPrimary_buf__selector == 3) { + compForegroundPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontEmphasize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compForegroundPrimary_buf_ has to be chosen through deserialisation.") } - fontEmphasize_buf = (fontEmphasize_buf_ as Color | number | string | Resource) + compForegroundPrimary_buf = (compForegroundPrimary_buf_ as Color | number | string | Resource) } - const fontEmphasize_result : ResourceColor | undefined = fontEmphasize_buf - const fontOnPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontOnPrimary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (fontOnPrimary_buf_runtimeType)) + const compForegroundPrimary_result : ResourceColor | undefined = compForegroundPrimary_buf + const compBackgroundPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundPrimary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundPrimary_buf_runtimeType)) { - const fontOnPrimary_buf__selector : int32 = valueDeserializer.readInt8() - let fontOnPrimary_buf_ : Color | number | string | Resource | undefined - if (fontOnPrimary_buf__selector == 0) { - fontOnPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compBackgroundPrimary_buf__selector : int32 = valueDeserializer.readInt8() + let compBackgroundPrimary_buf_ : Color | number | string | Resource | undefined + if (compBackgroundPrimary_buf__selector == 0) { + compBackgroundPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (fontOnPrimary_buf__selector == 1) { - fontOnPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundPrimary_buf__selector == 1) { + compBackgroundPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontOnPrimary_buf__selector == 2) { - fontOnPrimary_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundPrimary_buf__selector == 2) { + compBackgroundPrimary_buf_ = (valueDeserializer.readString() as string) } - else if (fontOnPrimary_buf__selector == 3) { - fontOnPrimary_buf_ = valueDeserializer.readResource() + else if (compBackgroundPrimary_buf__selector == 3) { + compBackgroundPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontOnPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundPrimary_buf_ has to be chosen through deserialisation.") } - fontOnPrimary_buf = (fontOnPrimary_buf_ as Color | number | string | Resource) + compBackgroundPrimary_buf = (compBackgroundPrimary_buf_ as Color | number | string | Resource) } - const fontOnPrimary_result : ResourceColor | undefined = fontOnPrimary_buf - const fontOnSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontOnSecondary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (fontOnSecondary_buf_runtimeType)) + const compBackgroundPrimary_result : ResourceColor | undefined = compBackgroundPrimary_buf + const compBackgroundPrimaryTran_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundPrimaryTran_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundPrimaryTran_buf_runtimeType)) { - const fontOnSecondary_buf__selector : int32 = valueDeserializer.readInt8() - let fontOnSecondary_buf_ : Color | number | string | Resource | undefined - if (fontOnSecondary_buf__selector == 0) { - fontOnSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compBackgroundPrimaryTran_buf__selector : int32 = valueDeserializer.readInt8() + let compBackgroundPrimaryTran_buf_ : Color | number | string | Resource | undefined + if (compBackgroundPrimaryTran_buf__selector == 0) { + compBackgroundPrimaryTran_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (fontOnSecondary_buf__selector == 1) { - fontOnSecondary_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundPrimaryTran_buf__selector == 1) { + compBackgroundPrimaryTran_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontOnSecondary_buf__selector == 2) { - fontOnSecondary_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundPrimaryTran_buf__selector == 2) { + compBackgroundPrimaryTran_buf_ = (valueDeserializer.readString() as string) } - else if (fontOnSecondary_buf__selector == 3) { - fontOnSecondary_buf_ = valueDeserializer.readResource() + else if (compBackgroundPrimaryTran_buf__selector == 3) { + compBackgroundPrimaryTran_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontOnSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundPrimaryTran_buf_ has to be chosen through deserialisation.") } - fontOnSecondary_buf = (fontOnSecondary_buf_ as Color | number | string | Resource) + compBackgroundPrimaryTran_buf = (compBackgroundPrimaryTran_buf_ as Color | number | string | Resource) } - const fontOnSecondary_result : ResourceColor | undefined = fontOnSecondary_buf - const fontOnTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontOnTertiary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (fontOnTertiary_buf_runtimeType)) + const compBackgroundPrimaryTran_result : ResourceColor | undefined = compBackgroundPrimaryTran_buf + const compBackgroundPrimaryContrary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundPrimaryContrary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundPrimaryContrary_buf_runtimeType)) { - const fontOnTertiary_buf__selector : int32 = valueDeserializer.readInt8() - let fontOnTertiary_buf_ : Color | number | string | Resource | undefined - if (fontOnTertiary_buf__selector == 0) { - fontOnTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compBackgroundPrimaryContrary_buf__selector : int32 = valueDeserializer.readInt8() + let compBackgroundPrimaryContrary_buf_ : Color | number | string | Resource | undefined + if (compBackgroundPrimaryContrary_buf__selector == 0) { + compBackgroundPrimaryContrary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (fontOnTertiary_buf__selector == 1) { - fontOnTertiary_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundPrimaryContrary_buf__selector == 1) { + compBackgroundPrimaryContrary_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontOnTertiary_buf__selector == 2) { - fontOnTertiary_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundPrimaryContrary_buf__selector == 2) { + compBackgroundPrimaryContrary_buf_ = (valueDeserializer.readString() as string) } - else if (fontOnTertiary_buf__selector == 3) { - fontOnTertiary_buf_ = valueDeserializer.readResource() + else if (compBackgroundPrimaryContrary_buf__selector == 3) { + compBackgroundPrimaryContrary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontOnTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundPrimaryContrary_buf_ has to be chosen through deserialisation.") } - fontOnTertiary_buf = (fontOnTertiary_buf_ as Color | number | string | Resource) + compBackgroundPrimaryContrary_buf = (compBackgroundPrimaryContrary_buf_ as Color | number | string | Resource) } - const fontOnTertiary_result : ResourceColor | undefined = fontOnTertiary_buf - const fontOnFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontOnFourth_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (fontOnFourth_buf_runtimeType)) + const compBackgroundPrimaryContrary_result : ResourceColor | undefined = compBackgroundPrimaryContrary_buf + const compBackgroundGray_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundGray_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundGray_buf_runtimeType)) { - const fontOnFourth_buf__selector : int32 = valueDeserializer.readInt8() - let fontOnFourth_buf_ : Color | number | string | Resource | undefined - if (fontOnFourth_buf__selector == 0) { - fontOnFourth_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compBackgroundGray_buf__selector : int32 = valueDeserializer.readInt8() + let compBackgroundGray_buf_ : Color | number | string | Resource | undefined + if (compBackgroundGray_buf__selector == 0) { + compBackgroundGray_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (fontOnFourth_buf__selector == 1) { - fontOnFourth_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundGray_buf__selector == 1) { + compBackgroundGray_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontOnFourth_buf__selector == 2) { - fontOnFourth_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundGray_buf__selector == 2) { + compBackgroundGray_buf_ = (valueDeserializer.readString() as string) } - else if (fontOnFourth_buf__selector == 3) { - fontOnFourth_buf_ = valueDeserializer.readResource() + else if (compBackgroundGray_buf__selector == 3) { + compBackgroundGray_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontOnFourth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundGray_buf_ has to be chosen through deserialisation.") } - fontOnFourth_buf = (fontOnFourth_buf_ as Color | number | string | Resource) + compBackgroundGray_buf = (compBackgroundGray_buf_ as Color | number | string | Resource) } - const fontOnFourth_result : ResourceColor | undefined = fontOnFourth_buf - const iconPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconPrimary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (iconPrimary_buf_runtimeType)) + const compBackgroundGray_result : ResourceColor | undefined = compBackgroundGray_buf + const compBackgroundSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundSecondary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundSecondary_buf_runtimeType)) { - const iconPrimary_buf__selector : int32 = valueDeserializer.readInt8() - let iconPrimary_buf_ : Color | number | string | Resource | undefined - if (iconPrimary_buf__selector == 0) { - iconPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compBackgroundSecondary_buf__selector : int32 = valueDeserializer.readInt8() + let compBackgroundSecondary_buf_ : Color | number | string | Resource | undefined + if (compBackgroundSecondary_buf__selector == 0) { + compBackgroundSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (iconPrimary_buf__selector == 1) { - iconPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundSecondary_buf__selector == 1) { + compBackgroundSecondary_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconPrimary_buf__selector == 2) { - iconPrimary_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundSecondary_buf__selector == 2) { + compBackgroundSecondary_buf_ = (valueDeserializer.readString() as string) } - else if (iconPrimary_buf__selector == 3) { - iconPrimary_buf_ = valueDeserializer.readResource() + else if (compBackgroundSecondary_buf__selector == 3) { + compBackgroundSecondary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundSecondary_buf_ has to be chosen through deserialisation.") } - iconPrimary_buf = (iconPrimary_buf_ as Color | number | string | Resource) + compBackgroundSecondary_buf = (compBackgroundSecondary_buf_ as Color | number | string | Resource) } - const iconPrimary_result : ResourceColor | undefined = iconPrimary_buf - const iconSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconSecondary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (iconSecondary_buf_runtimeType)) + const compBackgroundSecondary_result : ResourceColor | undefined = compBackgroundSecondary_buf + const compBackgroundTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundTertiary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundTertiary_buf_runtimeType)) { - const iconSecondary_buf__selector : int32 = valueDeserializer.readInt8() - let iconSecondary_buf_ : Color | number | string | Resource | undefined - if (iconSecondary_buf__selector == 0) { - iconSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compBackgroundTertiary_buf__selector : int32 = valueDeserializer.readInt8() + let compBackgroundTertiary_buf_ : Color | number | string | Resource | undefined + if (compBackgroundTertiary_buf__selector == 0) { + compBackgroundTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (iconSecondary_buf__selector == 1) { - iconSecondary_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundTertiary_buf__selector == 1) { + compBackgroundTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconSecondary_buf__selector == 2) { - iconSecondary_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundTertiary_buf__selector == 2) { + compBackgroundTertiary_buf_ = (valueDeserializer.readString() as string) } - else if (iconSecondary_buf__selector == 3) { - iconSecondary_buf_ = valueDeserializer.readResource() + else if (compBackgroundTertiary_buf__selector == 3) { + compBackgroundTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundTertiary_buf_ has to be chosen through deserialisation.") } - iconSecondary_buf = (iconSecondary_buf_ as Color | number | string | Resource) + compBackgroundTertiary_buf = (compBackgroundTertiary_buf_ as Color | number | string | Resource) } - const iconSecondary_result : ResourceColor | undefined = iconSecondary_buf - const iconTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconTertiary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (iconTertiary_buf_runtimeType)) + const compBackgroundTertiary_result : ResourceColor | undefined = compBackgroundTertiary_buf + const compBackgroundEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundEmphasize_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundEmphasize_buf_runtimeType)) { - const iconTertiary_buf__selector : int32 = valueDeserializer.readInt8() - let iconTertiary_buf_ : Color | number | string | Resource | undefined - if (iconTertiary_buf__selector == 0) { - iconTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compBackgroundEmphasize_buf__selector : int32 = valueDeserializer.readInt8() + let compBackgroundEmphasize_buf_ : Color | number | string | Resource | undefined + if (compBackgroundEmphasize_buf__selector == 0) { + compBackgroundEmphasize_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (iconTertiary_buf__selector == 1) { - iconTertiary_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundEmphasize_buf__selector == 1) { + compBackgroundEmphasize_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconTertiary_buf__selector == 2) { - iconTertiary_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundEmphasize_buf__selector == 2) { + compBackgroundEmphasize_buf_ = (valueDeserializer.readString() as string) } - else if (iconTertiary_buf__selector == 3) { - iconTertiary_buf_ = valueDeserializer.readResource() + else if (compBackgroundEmphasize_buf__selector == 3) { + compBackgroundEmphasize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundEmphasize_buf_ has to be chosen through deserialisation.") } - iconTertiary_buf = (iconTertiary_buf_ as Color | number | string | Resource) + compBackgroundEmphasize_buf = (compBackgroundEmphasize_buf_ as Color | number | string | Resource) } - const iconTertiary_result : ResourceColor | undefined = iconTertiary_buf - const iconFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconFourth_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (iconFourth_buf_runtimeType)) + const compBackgroundEmphasize_result : ResourceColor | undefined = compBackgroundEmphasize_buf + const compBackgroundNeutral_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundNeutral_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundNeutral_buf_runtimeType)) { - const iconFourth_buf__selector : int32 = valueDeserializer.readInt8() - let iconFourth_buf_ : Color | number | string | Resource | undefined - if (iconFourth_buf__selector == 0) { - iconFourth_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compBackgroundNeutral_buf__selector : int32 = valueDeserializer.readInt8() + let compBackgroundNeutral_buf_ : Color | number | string | Resource | undefined + if (compBackgroundNeutral_buf__selector == 0) { + compBackgroundNeutral_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (iconFourth_buf__selector == 1) { - iconFourth_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundNeutral_buf__selector == 1) { + compBackgroundNeutral_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconFourth_buf__selector == 2) { - iconFourth_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundNeutral_buf__selector == 2) { + compBackgroundNeutral_buf_ = (valueDeserializer.readString() as string) } - else if (iconFourth_buf__selector == 3) { - iconFourth_buf_ = valueDeserializer.readResource() + else if (compBackgroundNeutral_buf__selector == 3) { + compBackgroundNeutral_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconFourth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundNeutral_buf_ has to be chosen through deserialisation.") } - iconFourth_buf = (iconFourth_buf_ as Color | number | string | Resource) + compBackgroundNeutral_buf = (compBackgroundNeutral_buf_ as Color | number | string | Resource) } - const iconFourth_result : ResourceColor | undefined = iconFourth_buf - const iconEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconEmphasize_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (iconEmphasize_buf_runtimeType)) + const compBackgroundNeutral_result : ResourceColor | undefined = compBackgroundNeutral_buf + const compEmphasizeSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compEmphasizeSecondary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compEmphasizeSecondary_buf_runtimeType)) { - const iconEmphasize_buf__selector : int32 = valueDeserializer.readInt8() - let iconEmphasize_buf_ : Color | number | string | Resource | undefined - if (iconEmphasize_buf__selector == 0) { - iconEmphasize_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compEmphasizeSecondary_buf__selector : int32 = valueDeserializer.readInt8() + let compEmphasizeSecondary_buf_ : Color | number | string | Resource | undefined + if (compEmphasizeSecondary_buf__selector == 0) { + compEmphasizeSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (iconEmphasize_buf__selector == 1) { - iconEmphasize_buf_ = (valueDeserializer.readNumber() as number) + else if (compEmphasizeSecondary_buf__selector == 1) { + compEmphasizeSecondary_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconEmphasize_buf__selector == 2) { - iconEmphasize_buf_ = (valueDeserializer.readString() as string) + else if (compEmphasizeSecondary_buf__selector == 2) { + compEmphasizeSecondary_buf_ = (valueDeserializer.readString() as string) } - else if (iconEmphasize_buf__selector == 3) { - iconEmphasize_buf_ = valueDeserializer.readResource() + else if (compEmphasizeSecondary_buf__selector == 3) { + compEmphasizeSecondary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconEmphasize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compEmphasizeSecondary_buf_ has to be chosen through deserialisation.") } - iconEmphasize_buf = (iconEmphasize_buf_ as Color | number | string | Resource) + compEmphasizeSecondary_buf = (compEmphasizeSecondary_buf_ as Color | number | string | Resource) } - const iconEmphasize_result : ResourceColor | undefined = iconEmphasize_buf - const iconSubEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconSubEmphasize_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (iconSubEmphasize_buf_runtimeType)) + const compEmphasizeSecondary_result : ResourceColor | undefined = compEmphasizeSecondary_buf + const compEmphasizeTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compEmphasizeTertiary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compEmphasizeTertiary_buf_runtimeType)) { - const iconSubEmphasize_buf__selector : int32 = valueDeserializer.readInt8() - let iconSubEmphasize_buf_ : Color | number | string | Resource | undefined - if (iconSubEmphasize_buf__selector == 0) { - iconSubEmphasize_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compEmphasizeTertiary_buf__selector : int32 = valueDeserializer.readInt8() + let compEmphasizeTertiary_buf_ : Color | number | string | Resource | undefined + if (compEmphasizeTertiary_buf__selector == 0) { + compEmphasizeTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (iconSubEmphasize_buf__selector == 1) { - iconSubEmphasize_buf_ = (valueDeserializer.readNumber() as number) + else if (compEmphasizeTertiary_buf__selector == 1) { + compEmphasizeTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconSubEmphasize_buf__selector == 2) { - iconSubEmphasize_buf_ = (valueDeserializer.readString() as string) + else if (compEmphasizeTertiary_buf__selector == 2) { + compEmphasizeTertiary_buf_ = (valueDeserializer.readString() as string) } - else if (iconSubEmphasize_buf__selector == 3) { - iconSubEmphasize_buf_ = valueDeserializer.readResource() + else if (compEmphasizeTertiary_buf__selector == 3) { + compEmphasizeTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconSubEmphasize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compEmphasizeTertiary_buf_ has to be chosen through deserialisation.") } - iconSubEmphasize_buf = (iconSubEmphasize_buf_ as Color | number | string | Resource) + compEmphasizeTertiary_buf = (compEmphasizeTertiary_buf_ as Color | number | string | Resource) } - const iconSubEmphasize_result : ResourceColor | undefined = iconSubEmphasize_buf - const iconOnPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconOnPrimary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (iconOnPrimary_buf_runtimeType)) + const compEmphasizeTertiary_result : ResourceColor | undefined = compEmphasizeTertiary_buf + const compDivider_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compDivider_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compDivider_buf_runtimeType)) { - const iconOnPrimary_buf__selector : int32 = valueDeserializer.readInt8() - let iconOnPrimary_buf_ : Color | number | string | Resource | undefined - if (iconOnPrimary_buf__selector == 0) { - iconOnPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compDivider_buf__selector : int32 = valueDeserializer.readInt8() + let compDivider_buf_ : Color | number | string | Resource | undefined + if (compDivider_buf__selector == 0) { + compDivider_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (iconOnPrimary_buf__selector == 1) { - iconOnPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (compDivider_buf__selector == 1) { + compDivider_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconOnPrimary_buf__selector == 2) { - iconOnPrimary_buf_ = (valueDeserializer.readString() as string) + else if (compDivider_buf__selector == 2) { + compDivider_buf_ = (valueDeserializer.readString() as string) } - else if (iconOnPrimary_buf__selector == 3) { - iconOnPrimary_buf_ = valueDeserializer.readResource() + else if (compDivider_buf__selector == 3) { + compDivider_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconOnPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compDivider_buf_ has to be chosen through deserialisation.") } - iconOnPrimary_buf = (iconOnPrimary_buf_ as Color | number | string | Resource) + compDivider_buf = (compDivider_buf_ as Color | number | string | Resource) } - const iconOnPrimary_result : ResourceColor | undefined = iconOnPrimary_buf - const iconOnSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconOnSecondary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (iconOnSecondary_buf_runtimeType)) + const compDivider_result : ResourceColor | undefined = compDivider_buf + const compCommonContrary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compCommonContrary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compCommonContrary_buf_runtimeType)) { - const iconOnSecondary_buf__selector : int32 = valueDeserializer.readInt8() - let iconOnSecondary_buf_ : Color | number | string | Resource | undefined - if (iconOnSecondary_buf__selector == 0) { - iconOnSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compCommonContrary_buf__selector : int32 = valueDeserializer.readInt8() + let compCommonContrary_buf_ : Color | number | string | Resource | undefined + if (compCommonContrary_buf__selector == 0) { + compCommonContrary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (iconOnSecondary_buf__selector == 1) { - iconOnSecondary_buf_ = (valueDeserializer.readNumber() as number) + else if (compCommonContrary_buf__selector == 1) { + compCommonContrary_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconOnSecondary_buf__selector == 2) { - iconOnSecondary_buf_ = (valueDeserializer.readString() as string) + else if (compCommonContrary_buf__selector == 2) { + compCommonContrary_buf_ = (valueDeserializer.readString() as string) } - else if (iconOnSecondary_buf__selector == 3) { - iconOnSecondary_buf_ = valueDeserializer.readResource() + else if (compCommonContrary_buf__selector == 3) { + compCommonContrary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconOnSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compCommonContrary_buf_ has to be chosen through deserialisation.") } - iconOnSecondary_buf = (iconOnSecondary_buf_ as Color | number | string | Resource) + compCommonContrary_buf = (compCommonContrary_buf_ as Color | number | string | Resource) } - const iconOnSecondary_result : ResourceColor | undefined = iconOnSecondary_buf - const iconOnTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconOnTertiary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (iconOnTertiary_buf_runtimeType)) + const compCommonContrary_result : ResourceColor | undefined = compCommonContrary_buf + const compBackgroundFocus_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundFocus_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundFocus_buf_runtimeType)) { - const iconOnTertiary_buf__selector : int32 = valueDeserializer.readInt8() - let iconOnTertiary_buf_ : Color | number | string | Resource | undefined - if (iconOnTertiary_buf__selector == 0) { - iconOnTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compBackgroundFocus_buf__selector : int32 = valueDeserializer.readInt8() + let compBackgroundFocus_buf_ : Color | number | string | Resource | undefined + if (compBackgroundFocus_buf__selector == 0) { + compBackgroundFocus_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (iconOnTertiary_buf__selector == 1) { - iconOnTertiary_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundFocus_buf__selector == 1) { + compBackgroundFocus_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconOnTertiary_buf__selector == 2) { - iconOnTertiary_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundFocus_buf__selector == 2) { + compBackgroundFocus_buf_ = (valueDeserializer.readString() as string) } - else if (iconOnTertiary_buf__selector == 3) { - iconOnTertiary_buf_ = valueDeserializer.readResource() + else if (compBackgroundFocus_buf__selector == 3) { + compBackgroundFocus_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconOnTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundFocus_buf_ has to be chosen through deserialisation.") } - iconOnTertiary_buf = (iconOnTertiary_buf_ as Color | number | string | Resource) + compBackgroundFocus_buf = (compBackgroundFocus_buf_ as Color | number | string | Resource) } - const iconOnTertiary_result : ResourceColor | undefined = iconOnTertiary_buf - const iconOnFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconOnFourth_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (iconOnFourth_buf_runtimeType)) + const compBackgroundFocus_result : ResourceColor | undefined = compBackgroundFocus_buf + const compFocusedPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compFocusedPrimary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compFocusedPrimary_buf_runtimeType)) { - const iconOnFourth_buf__selector : int32 = valueDeserializer.readInt8() - let iconOnFourth_buf_ : Color | number | string | Resource | undefined - if (iconOnFourth_buf__selector == 0) { - iconOnFourth_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compFocusedPrimary_buf__selector : int32 = valueDeserializer.readInt8() + let compFocusedPrimary_buf_ : Color | number | string | Resource | undefined + if (compFocusedPrimary_buf__selector == 0) { + compFocusedPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (iconOnFourth_buf__selector == 1) { - iconOnFourth_buf_ = (valueDeserializer.readNumber() as number) + else if (compFocusedPrimary_buf__selector == 1) { + compFocusedPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconOnFourth_buf__selector == 2) { - iconOnFourth_buf_ = (valueDeserializer.readString() as string) + else if (compFocusedPrimary_buf__selector == 2) { + compFocusedPrimary_buf_ = (valueDeserializer.readString() as string) } - else if (iconOnFourth_buf__selector == 3) { - iconOnFourth_buf_ = valueDeserializer.readResource() + else if (compFocusedPrimary_buf__selector == 3) { + compFocusedPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconOnFourth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compFocusedPrimary_buf_ has to be chosen through deserialisation.") } - iconOnFourth_buf = (iconOnFourth_buf_ as Color | number | string | Resource) + compFocusedPrimary_buf = (compFocusedPrimary_buf_ as Color | number | string | Resource) } - const iconOnFourth_result : ResourceColor | undefined = iconOnFourth_buf - const backgroundPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundPrimary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (backgroundPrimary_buf_runtimeType)) + const compFocusedPrimary_result : ResourceColor | undefined = compFocusedPrimary_buf + const compFocusedSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compFocusedSecondary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compFocusedSecondary_buf_runtimeType)) { - const backgroundPrimary_buf__selector : int32 = valueDeserializer.readInt8() - let backgroundPrimary_buf_ : Color | number | string | Resource | undefined - if (backgroundPrimary_buf__selector == 0) { - backgroundPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compFocusedSecondary_buf__selector : int32 = valueDeserializer.readInt8() + let compFocusedSecondary_buf_ : Color | number | string | Resource | undefined + if (compFocusedSecondary_buf__selector == 0) { + compFocusedSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (backgroundPrimary_buf__selector == 1) { - backgroundPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (compFocusedSecondary_buf__selector == 1) { + compFocusedSecondary_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundPrimary_buf__selector == 2) { - backgroundPrimary_buf_ = (valueDeserializer.readString() as string) + else if (compFocusedSecondary_buf__selector == 2) { + compFocusedSecondary_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundPrimary_buf__selector == 3) { - backgroundPrimary_buf_ = valueDeserializer.readResource() + else if (compFocusedSecondary_buf__selector == 3) { + compFocusedSecondary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compFocusedSecondary_buf_ has to be chosen through deserialisation.") } - backgroundPrimary_buf = (backgroundPrimary_buf_ as Color | number | string | Resource) + compFocusedSecondary_buf = (compFocusedSecondary_buf_ as Color | number | string | Resource) } - const backgroundPrimary_result : ResourceColor | undefined = backgroundPrimary_buf - const backgroundSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundSecondary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (backgroundSecondary_buf_runtimeType)) + const compFocusedSecondary_result : ResourceColor | undefined = compFocusedSecondary_buf + const compFocusedTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compFocusedTertiary_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (compFocusedTertiary_buf_runtimeType)) { - const backgroundSecondary_buf__selector : int32 = valueDeserializer.readInt8() - let backgroundSecondary_buf_ : Color | number | string | Resource | undefined - if (backgroundSecondary_buf__selector == 0) { - backgroundSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const compFocusedTertiary_buf__selector : int32 = valueDeserializer.readInt8() + let compFocusedTertiary_buf_ : Color | number | string | Resource | undefined + if (compFocusedTertiary_buf__selector == 0) { + compFocusedTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (backgroundSecondary_buf__selector == 1) { - backgroundSecondary_buf_ = (valueDeserializer.readNumber() as number) + else if (compFocusedTertiary_buf__selector == 1) { + compFocusedTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundSecondary_buf__selector == 2) { - backgroundSecondary_buf_ = (valueDeserializer.readString() as string) + else if (compFocusedTertiary_buf__selector == 2) { + compFocusedTertiary_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundSecondary_buf__selector == 3) { - backgroundSecondary_buf_ = valueDeserializer.readResource() + else if (compFocusedTertiary_buf__selector == 3) { + compFocusedTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compFocusedTertiary_buf_ has to be chosen through deserialisation.") } - backgroundSecondary_buf = (backgroundSecondary_buf_ as Color | number | string | Resource) + compFocusedTertiary_buf = (compFocusedTertiary_buf_ as Color | number | string | Resource) } - const backgroundSecondary_result : ResourceColor | undefined = backgroundSecondary_buf - const backgroundTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundTertiary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (backgroundTertiary_buf_runtimeType)) + const compFocusedTertiary_result : ResourceColor | undefined = compFocusedTertiary_buf + const interactiveHover_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let interactiveHover_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (interactiveHover_buf_runtimeType)) { - const backgroundTertiary_buf__selector : int32 = valueDeserializer.readInt8() - let backgroundTertiary_buf_ : Color | number | string | Resource | undefined - if (backgroundTertiary_buf__selector == 0) { - backgroundTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const interactiveHover_buf__selector : int32 = valueDeserializer.readInt8() + let interactiveHover_buf_ : Color | number | string | Resource | undefined + if (interactiveHover_buf__selector == 0) { + interactiveHover_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (backgroundTertiary_buf__selector == 1) { - backgroundTertiary_buf_ = (valueDeserializer.readNumber() as number) + else if (interactiveHover_buf__selector == 1) { + interactiveHover_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundTertiary_buf__selector == 2) { - backgroundTertiary_buf_ = (valueDeserializer.readString() as string) + else if (interactiveHover_buf__selector == 2) { + interactiveHover_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundTertiary_buf__selector == 3) { - backgroundTertiary_buf_ = valueDeserializer.readResource() + else if (interactiveHover_buf__selector == 3) { + interactiveHover_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for interactiveHover_buf_ has to be chosen through deserialisation.") } - backgroundTertiary_buf = (backgroundTertiary_buf_ as Color | number | string | Resource) + interactiveHover_buf = (interactiveHover_buf_ as Color | number | string | Resource) } - const backgroundTertiary_result : ResourceColor | undefined = backgroundTertiary_buf - const backgroundFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundFourth_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (backgroundFourth_buf_runtimeType)) + const interactiveHover_result : ResourceColor | undefined = interactiveHover_buf + const interactivePressed_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let interactivePressed_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (interactivePressed_buf_runtimeType)) { - const backgroundFourth_buf__selector : int32 = valueDeserializer.readInt8() - let backgroundFourth_buf_ : Color | number | string | Resource | undefined - if (backgroundFourth_buf__selector == 0) { - backgroundFourth_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const interactivePressed_buf__selector : int32 = valueDeserializer.readInt8() + let interactivePressed_buf_ : Color | number | string | Resource | undefined + if (interactivePressed_buf__selector == 0) { + interactivePressed_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (backgroundFourth_buf__selector == 1) { - backgroundFourth_buf_ = (valueDeserializer.readNumber() as number) + else if (interactivePressed_buf__selector == 1) { + interactivePressed_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundFourth_buf__selector == 2) { - backgroundFourth_buf_ = (valueDeserializer.readString() as string) + else if (interactivePressed_buf__selector == 2) { + interactivePressed_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundFourth_buf__selector == 3) { - backgroundFourth_buf_ = valueDeserializer.readResource() + else if (interactivePressed_buf__selector == 3) { + interactivePressed_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundFourth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for interactivePressed_buf_ has to be chosen through deserialisation.") } - backgroundFourth_buf = (backgroundFourth_buf_ as Color | number | string | Resource) + interactivePressed_buf = (interactivePressed_buf_ as Color | number | string | Resource) } - const backgroundFourth_result : ResourceColor | undefined = backgroundFourth_buf - const backgroundEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundEmphasize_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (backgroundEmphasize_buf_runtimeType)) + const interactivePressed_result : ResourceColor | undefined = interactivePressed_buf + const interactiveFocus_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let interactiveFocus_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (interactiveFocus_buf_runtimeType)) { - const backgroundEmphasize_buf__selector : int32 = valueDeserializer.readInt8() - let backgroundEmphasize_buf_ : Color | number | string | Resource | undefined - if (backgroundEmphasize_buf__selector == 0) { - backgroundEmphasize_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const interactiveFocus_buf__selector : int32 = valueDeserializer.readInt8() + let interactiveFocus_buf_ : Color | number | string | Resource | undefined + if (interactiveFocus_buf__selector == 0) { + interactiveFocus_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (backgroundEmphasize_buf__selector == 1) { - backgroundEmphasize_buf_ = (valueDeserializer.readNumber() as number) + else if (interactiveFocus_buf__selector == 1) { + interactiveFocus_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundEmphasize_buf__selector == 2) { - backgroundEmphasize_buf_ = (valueDeserializer.readString() as string) + else if (interactiveFocus_buf__selector == 2) { + interactiveFocus_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundEmphasize_buf__selector == 3) { - backgroundEmphasize_buf_ = valueDeserializer.readResource() + else if (interactiveFocus_buf__selector == 3) { + interactiveFocus_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundEmphasize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for interactiveFocus_buf_ has to be chosen through deserialisation.") } - backgroundEmphasize_buf = (backgroundEmphasize_buf_ as Color | number | string | Resource) + interactiveFocus_buf = (interactiveFocus_buf_ as Color | number | string | Resource) } - const backgroundEmphasize_result : ResourceColor | undefined = backgroundEmphasize_buf - const compForegroundPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compForegroundPrimary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compForegroundPrimary_buf_runtimeType)) + const interactiveFocus_result : ResourceColor | undefined = interactiveFocus_buf + const interactiveActive_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let interactiveActive_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (interactiveActive_buf_runtimeType)) { - const compForegroundPrimary_buf__selector : int32 = valueDeserializer.readInt8() - let compForegroundPrimary_buf_ : Color | number | string | Resource | undefined - if (compForegroundPrimary_buf__selector == 0) { - compForegroundPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const interactiveActive_buf__selector : int32 = valueDeserializer.readInt8() + let interactiveActive_buf_ : Color | number | string | Resource | undefined + if (interactiveActive_buf__selector == 0) { + interactiveActive_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (compForegroundPrimary_buf__selector == 1) { - compForegroundPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (interactiveActive_buf__selector == 1) { + interactiveActive_buf_ = (valueDeserializer.readNumber() as number) } - else if (compForegroundPrimary_buf__selector == 2) { - compForegroundPrimary_buf_ = (valueDeserializer.readString() as string) + else if (interactiveActive_buf__selector == 2) { + interactiveActive_buf_ = (valueDeserializer.readString() as string) } - else if (compForegroundPrimary_buf__selector == 3) { - compForegroundPrimary_buf_ = valueDeserializer.readResource() + else if (interactiveActive_buf__selector == 3) { + interactiveActive_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compForegroundPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for interactiveActive_buf_ has to be chosen through deserialisation.") } - compForegroundPrimary_buf = (compForegroundPrimary_buf_ as Color | number | string | Resource) + interactiveActive_buf = (interactiveActive_buf_ as Color | number | string | Resource) + } + const interactiveActive_result : ResourceColor | undefined = interactiveActive_buf + const interactiveSelect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let interactiveSelect_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (interactiveSelect_buf_runtimeType)) + { + const interactiveSelect_buf__selector : int32 = valueDeserializer.readInt8() + let interactiveSelect_buf_ : Color | number | string | Resource | undefined + if (interactiveSelect_buf__selector == 0) { + interactiveSelect_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (interactiveSelect_buf__selector == 1) { + interactiveSelect_buf_ = (valueDeserializer.readNumber() as number) + } + else if (interactiveSelect_buf__selector == 2) { + interactiveSelect_buf_ = (valueDeserializer.readString() as string) + } + else if (interactiveSelect_buf__selector == 3) { + interactiveSelect_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for interactiveSelect_buf_ has to be chosen through deserialisation.") + } + interactiveSelect_buf = (interactiveSelect_buf_ as Color | number | string | Resource) + } + const interactiveSelect_result : ResourceColor | undefined = interactiveSelect_buf + const interactiveClick_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let interactiveClick_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (interactiveClick_buf_runtimeType)) + { + const interactiveClick_buf__selector : int32 = valueDeserializer.readInt8() + let interactiveClick_buf_ : Color | number | string | Resource | undefined + if (interactiveClick_buf__selector == 0) { + interactiveClick_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (interactiveClick_buf__selector == 1) { + interactiveClick_buf_ = (valueDeserializer.readNumber() as number) + } + else if (interactiveClick_buf__selector == 2) { + interactiveClick_buf_ = (valueDeserializer.readString() as string) + } + else if (interactiveClick_buf__selector == 3) { + interactiveClick_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for interactiveClick_buf_ has to be chosen through deserialisation.") + } + interactiveClick_buf = (interactiveClick_buf_ as Color | number | string | Resource) + } + const interactiveClick_result : ResourceColor | undefined = interactiveClick_buf + let value : CustomColors = ({brand: brand_result, warning: warning_result, alert: alert_result, confirm: confirm_result, fontPrimary: fontPrimary_result, fontSecondary: fontSecondary_result, fontTertiary: fontTertiary_result, fontFourth: fontFourth_result, fontEmphasize: fontEmphasize_result, fontOnPrimary: fontOnPrimary_result, fontOnSecondary: fontOnSecondary_result, fontOnTertiary: fontOnTertiary_result, fontOnFourth: fontOnFourth_result, iconPrimary: iconPrimary_result, iconSecondary: iconSecondary_result, iconTertiary: iconTertiary_result, iconFourth: iconFourth_result, iconEmphasize: iconEmphasize_result, iconSubEmphasize: iconSubEmphasize_result, iconOnPrimary: iconOnPrimary_result, iconOnSecondary: iconOnSecondary_result, iconOnTertiary: iconOnTertiary_result, iconOnFourth: iconOnFourth_result, backgroundPrimary: backgroundPrimary_result, backgroundSecondary: backgroundSecondary_result, backgroundTertiary: backgroundTertiary_result, backgroundFourth: backgroundFourth_result, backgroundEmphasize: backgroundEmphasize_result, compForegroundPrimary: compForegroundPrimary_result, compBackgroundPrimary: compBackgroundPrimary_result, compBackgroundPrimaryTran: compBackgroundPrimaryTran_result, compBackgroundPrimaryContrary: compBackgroundPrimaryContrary_result, compBackgroundGray: compBackgroundGray_result, compBackgroundSecondary: compBackgroundSecondary_result, compBackgroundTertiary: compBackgroundTertiary_result, compBackgroundEmphasize: compBackgroundEmphasize_result, compBackgroundNeutral: compBackgroundNeutral_result, compEmphasizeSecondary: compEmphasizeSecondary_result, compEmphasizeTertiary: compEmphasizeTertiary_result, compDivider: compDivider_result, compCommonContrary: compCommonContrary_result, compBackgroundFocus: compBackgroundFocus_result, compFocusedPrimary: compFocusedPrimary_result, compFocusedSecondary: compFocusedSecondary_result, compFocusedTertiary: compFocusedTertiary_result, interactiveHover: interactiveHover_result, interactivePressed: interactivePressed_result, interactiveFocus: interactiveFocus_result, interactiveActive: interactiveActive_result, interactiveSelect: interactiveSelect_result, interactiveClick: interactiveClick_result} as CustomColors) + return value + } + public readDataPanelShadowOptions(): DataPanelShadowOptions { + let valueDeserializer : Deserializer = this + const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let radius_buf : number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) + { + const radius_buf__selector : int32 = valueDeserializer.readInt8() + let radius_buf_ : number | Resource | undefined + if (radius_buf__selector == 0) { + radius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (radius_buf__selector == 1) { + radius_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") + } + radius_buf = (radius_buf_ as number | Resource) + } + const radius_result : number | Resource | undefined = radius_buf + const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offsetX_buf : number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (offsetX_buf_runtimeType)) + { + const offsetX_buf__selector : int32 = valueDeserializer.readInt8() + let offsetX_buf_ : number | Resource | undefined + if (offsetX_buf__selector == 0) { + offsetX_buf_ = (valueDeserializer.readNumber() as number) + } + else if (offsetX_buf__selector == 1) { + offsetX_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for offsetX_buf_ has to be chosen through deserialisation.") + } + offsetX_buf = (offsetX_buf_ as number | Resource) + } + const offsetX_result : number | Resource | undefined = offsetX_buf + const offsetY_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offsetY_buf : number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (offsetY_buf_runtimeType)) + { + const offsetY_buf__selector : int32 = valueDeserializer.readInt8() + let offsetY_buf_ : number | Resource | undefined + if (offsetY_buf__selector == 0) { + offsetY_buf_ = (valueDeserializer.readNumber() as number) + } + else if (offsetY_buf__selector == 1) { + offsetY_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for offsetY_buf_ has to be chosen through deserialisation.") + } + offsetY_buf = (offsetY_buf_ as number | Resource) + } + const offsetY_result : number | Resource | undefined = offsetY_buf + const colors_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colors_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (colors_buf_runtimeType)) + { + const colors_buf__length : int32 = valueDeserializer.readInt32() + let colors_buf_ : Array = new Array(colors_buf__length) + for (let colors_buf__i = 0; colors_buf__i < colors_buf__length; colors_buf__i++) { + const colors_buf__buf_selector : int32 = valueDeserializer.readInt8() + let colors_buf__buf : ResourceColor | LinearGradient | undefined + if (colors_buf__buf_selector == 0) { + const colors_buf__buf_u_selector : int32 = valueDeserializer.readInt8() + let colors_buf__buf_u : Color | number | string | Resource | undefined + if (colors_buf__buf_u_selector == 0) { + colors_buf__buf_u = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (colors_buf__buf_u_selector == 1) { + colors_buf__buf_u = (valueDeserializer.readNumber() as number) + } + else if (colors_buf__buf_u_selector == 2) { + colors_buf__buf_u = (valueDeserializer.readString() as string) + } + else if (colors_buf__buf_u_selector == 3) { + colors_buf__buf_u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for colors_buf__buf_u has to be chosen through deserialisation.") + } + colors_buf__buf = (colors_buf__buf_u as Color | number | string | Resource) + } + else if (colors_buf__buf_selector == 1) { + colors_buf__buf = (valueDeserializer.readLinearGradient() as LinearGradient) + } + else { + throw new Error("One of the branches for colors_buf__buf has to be chosen through deserialisation.") + } + colors_buf_[colors_buf__i] = (colors_buf__buf as ResourceColor | LinearGradient) + } + colors_buf = colors_buf_ + } + const colors_result : Array | undefined = colors_buf + let value : DataPanelShadowOptions = ({radius: radius_result, offsetX: offsetX_result, offsetY: offsetY_result, colors: colors_result} as DataPanelShadowOptions) + return value + } + public readDecoration(): Decoration { + let valueDeserializer : Deserializer = this + const textDecoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textDecoration_buf : TextDecorationType | undefined + if ((RuntimeType.UNDEFINED) != (textDecoration_buf_runtimeType)) + { + textDecoration_buf = TypeChecker.TextDecorationType_FromNumeric(valueDeserializer.readInt32()) + } + const textDecoration_result : TextDecorationType | undefined = textDecoration_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : common2D.Color | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + { + color_buf = valueDeserializer.readcommon2D_Color() + } + const color_result : common2D.Color | undefined = color_buf + const decorationStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let decorationStyle_buf : TextDecorationStyle | undefined + if ((RuntimeType.UNDEFINED) != (decorationStyle_buf_runtimeType)) + { + decorationStyle_buf = TypeChecker.TextDecorationStyle_FromNumeric(valueDeserializer.readInt32()) + } + const decorationStyle_result : TextDecorationStyle | undefined = decorationStyle_buf + const decorationThicknessScale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let decorationThicknessScale_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (decorationThicknessScale_buf_runtimeType)) + { + decorationThicknessScale_buf = (valueDeserializer.readNumber() as number) + } + const decorationThicknessScale_result : number | undefined = decorationThicknessScale_buf + let value : Decoration = ({textDecoration: textDecoration_result, color: color_result, decorationStyle: decorationStyle_result, decorationThicknessScale: decorationThicknessScale_result} as Decoration) + return value + } + public readDecorationStyle(): DecorationStyle { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return DecorationStyleInternal.fromPtr(ptr) + } + public readDecorationStyleInterface(): DecorationStyleInterface { + let valueDeserializer : Deserializer = this + const type_result : TextDecorationType = TypeChecker.TextDecorationType_FromNumeric(valueDeserializer.readInt32()) + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + { + const color_buf__selector : int32 = valueDeserializer.readInt8() + let color_buf_ : Color | number | string | Resource | undefined + if (color_buf__selector == 0) { + color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as Color | number | string | Resource) + } + const color_result : ResourceColor | undefined = color_buf + const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let style_buf : TextDecorationStyle | undefined + if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + { + style_buf = TypeChecker.TextDecorationStyle_FromNumeric(valueDeserializer.readInt32()) + } + const style_result : TextDecorationStyle | undefined = style_buf + let value : DecorationStyleInterface = ({type: type_result, color: color_result, style: style_result} as DecorationStyleInterface) + return value + } + public readDecorationStyleResult(): DecorationStyleResult { + let valueDeserializer : Deserializer = this + const type_result : TextDecorationType = TypeChecker.TextDecorationType_FromNumeric(valueDeserializer.readInt32()) + const color_buf_selector : int32 = valueDeserializer.readInt8() + let color_buf : Color | number | string | Resource | undefined + if (color_buf_selector == 0) { + color_buf = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (color_buf_selector == 1) { + color_buf = (valueDeserializer.readNumber() as number) + } + else if (color_buf_selector == 2) { + color_buf = (valueDeserializer.readString() as string) + } + else if (color_buf_selector == 3) { + color_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf has to be chosen through deserialisation.") + } + const color_result : ResourceColor = (color_buf as Color | number | string | Resource) + const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let style_buf : TextDecorationStyle | undefined + if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + { + style_buf = TypeChecker.TextDecorationStyle_FromNumeric(valueDeserializer.readInt32()) + } + const style_result : TextDecorationStyle | undefined = style_buf + let value : DecorationStyleResult = ({type: type_result, color: color_result, style: style_result} as DecorationStyleResult) + return value + } + public readDividerStyleOptions(): DividerStyleOptions { + let valueDeserializer : Deserializer = this + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const strokeWidth_result : LengthMetrics | undefined = strokeWidth_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + { + const color_buf__selector : int32 = valueDeserializer.readInt8() + let color_buf_ : Color | number | string | Resource | undefined + if (color_buf__selector == 0) { + color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as Color | number | string | Resource) + } + const color_result : ResourceColor | undefined = color_buf + const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startMargin_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + { + startMargin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const startMargin_result : LengthMetrics | undefined = startMargin_buf + const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let endMargin_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) + { + endMargin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const endMargin_result : LengthMetrics | undefined = endMargin_buf + const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mode_buf : DividerMode | undefined + if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) + { + mode_buf = TypeChecker.DividerMode_FromNumeric(valueDeserializer.readInt32()) + } + const mode_result : DividerMode | undefined = mode_buf + let value : DividerStyleOptions = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result, mode: mode_result} as DividerStyleOptions) + return value + } + public readDragPreviewOptions(): DragPreviewOptions { + let valueDeserializer : Deserializer = this + const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mode_buf : DragPreviewMode | Array | undefined + if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) + { + const mode_buf__selector : int32 = valueDeserializer.readInt8() + let mode_buf_ : DragPreviewMode | Array | undefined + if (mode_buf__selector == 0) { + mode_buf_ = TypeChecker.DragPreviewMode_FromNumeric(valueDeserializer.readInt32()) + } + else if (mode_buf__selector == 1) { + const mode_buf__u_length : int32 = valueDeserializer.readInt32() + let mode_buf__u : Array = new Array(mode_buf__u_length) + for (let mode_buf__u_i = 0; mode_buf__u_i < mode_buf__u_length; mode_buf__u_i++) { + mode_buf__u[mode_buf__u_i] = TypeChecker.DragPreviewMode_FromNumeric(valueDeserializer.readInt32()) + } + mode_buf_ = mode_buf__u + } + else { + throw new Error("One of the branches for mode_buf_ has to be chosen through deserialisation.") + } + mode_buf = (mode_buf_ as DragPreviewMode | Array) + } + const mode_result : DragPreviewMode | Array | undefined = mode_buf + const modifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let modifier_buf : ImageModifier | undefined + if ((RuntimeType.UNDEFINED) != (modifier_buf_runtimeType)) + { + modifier_buf = valueDeserializer.readImageModifier() + } + const modifier_result : ImageModifier | undefined = modifier_buf + const numberBadge_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let numberBadge_buf : boolean | number | undefined + if ((RuntimeType.UNDEFINED) != (numberBadge_buf_runtimeType)) + { + const numberBadge_buf__selector : int32 = valueDeserializer.readInt8() + let numberBadge_buf_ : boolean | number | undefined + if (numberBadge_buf__selector == 0) { + numberBadge_buf_ = valueDeserializer.readBoolean() + } + else if (numberBadge_buf__selector == 1) { + numberBadge_buf_ = (valueDeserializer.readNumber() as number) + } + else { + throw new Error("One of the branches for numberBadge_buf_ has to be chosen through deserialisation.") + } + numberBadge_buf = (numberBadge_buf_ as boolean | number) + } + const numberBadge_result : boolean | number | undefined = numberBadge_buf + const sizeChangeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let sizeChangeEffect_buf : DraggingSizeChangeEffect | undefined + if ((RuntimeType.UNDEFINED) != (sizeChangeEffect_buf_runtimeType)) + { + sizeChangeEffect_buf = TypeChecker.DraggingSizeChangeEffect_FromNumeric(valueDeserializer.readInt32()) + } + const sizeChangeEffect_result : DraggingSizeChangeEffect | undefined = sizeChangeEffect_buf + let value : DragPreviewOptions = ({mode: mode_result, modifier: modifier_result, numberBadge: numberBadge_result, sizeChangeEffect: sizeChangeEffect_result} as DragPreviewOptions) + return value + } + public readEdgeColors(): EdgeColors { + let valueDeserializer : Deserializer = this + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + const top_buf__selector : int32 = valueDeserializer.readInt8() + let top_buf_ : Color | number | string | Resource | undefined + if (top_buf__selector == 0) { + top_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) + } + else if (top_buf__selector == 2) { + top_buf_ = (valueDeserializer.readString() as string) + } + else if (top_buf__selector == 3) { + top_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + } + top_buf = (top_buf_ as Color | number | string | Resource) + } + const top_result : ResourceColor | undefined = top_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) + { + const right_buf__selector : int32 = valueDeserializer.readInt8() + let right_buf_ : Color | number | string | Resource | undefined + if (right_buf__selector == 0) { + right_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) + } + else if (right_buf__selector == 2) { + right_buf_ = (valueDeserializer.readString() as string) + } + else if (right_buf__selector == 3) { + right_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") + } + right_buf = (right_buf_ as Color | number | string | Resource) + } + const right_result : ResourceColor | undefined = right_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + const bottom_buf__selector : int32 = valueDeserializer.readInt8() + let bottom_buf_ : Color | number | string | Resource | undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottom_buf__selector == 2) { + bottom_buf_ = (valueDeserializer.readString() as string) + } + else if (bottom_buf__selector == 3) { + bottom_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") + } + bottom_buf = (bottom_buf_ as Color | number | string | Resource) + } + const bottom_result : ResourceColor | undefined = bottom_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) + { + const left_buf__selector : int32 = valueDeserializer.readInt8() + let left_buf_ : Color | number | string | Resource | undefined + if (left_buf__selector == 0) { + left_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readNumber() as number) + } + else if (left_buf__selector == 2) { + left_buf_ = (valueDeserializer.readString() as string) + } + else if (left_buf__selector == 3) { + left_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") + } + left_buf = (left_buf_ as Color | number | string | Resource) + } + const left_result : ResourceColor | undefined = left_buf + let value : EdgeColors = ({top: top_result, right: right_result, bottom: bottom_result, left: left_result} as EdgeColors) + return value + } + public readExpandedMenuItemOptions(): ExpandedMenuItemOptions { + let valueDeserializer : Deserializer = this + const content_buf_selector : int32 = valueDeserializer.readInt8() + let content_buf : string | Resource | undefined + if (content_buf_selector == 0) { + content_buf = (valueDeserializer.readString() as string) + } + else if (content_buf_selector == 1) { + content_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for content_buf has to be chosen through deserialisation.") + } + const content_result : ResourceStr = (content_buf as string | Resource) + const startIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startIcon_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (startIcon_buf_runtimeType)) + { + const startIcon_buf__selector : int32 = valueDeserializer.readInt8() + let startIcon_buf_ : string | Resource | undefined + if (startIcon_buf__selector == 0) { + startIcon_buf_ = (valueDeserializer.readString() as string) + } + else if (startIcon_buf__selector == 1) { + startIcon_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for startIcon_buf_ has to be chosen through deserialisation.") + } + startIcon_buf = (startIcon_buf_ as string | Resource) + } + const startIcon_result : ResourceStr | undefined = startIcon_buf + const action_result : ((selectedText: Literal_String_plainText) => void) = valueDeserializer.readCallback_Literal_String_plainText_Void() + let value : ExpandedMenuItemOptions = ({content: content_result, startIcon: startIcon_result, action: action_result} as ExpandedMenuItemOptions) + return value + } + public readFadingEdgeOptions(): FadingEdgeOptions { + let valueDeserializer : Deserializer = this + const fadingEdgeLength_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fadingEdgeLength_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (fadingEdgeLength_buf_runtimeType)) + { + fadingEdgeLength_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const fadingEdgeLength_result : LengthMetrics | undefined = fadingEdgeLength_buf + let value : FadingEdgeOptions = ({fadingEdgeLength: fadingEdgeLength_result} as FadingEdgeOptions) + return value + } + public readFlexSpaceOptions(): FlexSpaceOptions { + let valueDeserializer : Deserializer = this + const main_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let main_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (main_buf_runtimeType)) + { + main_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const main_result : LengthMetrics | undefined = main_buf + const cross_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let cross_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (cross_buf_runtimeType)) + { + cross_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const cross_result : LengthMetrics | undefined = cross_buf + let value : FlexSpaceOptions = ({main: main_result, cross: cross_result} as FlexSpaceOptions) + return value + } + public readFocusBoxStyle(): FocusBoxStyle { + let valueDeserializer : Deserializer = this + const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let margin_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) + { + margin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const margin_result : LengthMetrics | undefined = margin_buf + const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeColor_buf : ColorMetrics | undefined + if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) + { + strokeColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + } + const strokeColor_result : ColorMetrics | undefined = strokeColor_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const strokeWidth_result : LengthMetrics | undefined = strokeWidth_buf + let value : FocusBoxStyle = ({margin: margin_result, strokeColor: strokeColor_result, strokeWidth: strokeWidth_result} as FocusBoxStyle) + return value + } + public readFontOptions(): FontOptions { + let valueDeserializer : Deserializer = this + const familyName_buf_selector : int32 = valueDeserializer.readInt8() + let familyName_buf : string | Resource | undefined + if (familyName_buf_selector == 0) { + familyName_buf = (valueDeserializer.readString() as string) + } + else if (familyName_buf_selector == 1) { + familyName_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for familyName_buf has to be chosen through deserialisation.") + } + const familyName_result : string | Resource = (familyName_buf as string | Resource) + const familySrc_buf_selector : int32 = valueDeserializer.readInt8() + let familySrc_buf : string | Resource | undefined + if (familySrc_buf_selector == 0) { + familySrc_buf = (valueDeserializer.readString() as string) + } + else if (familySrc_buf_selector == 1) { + familySrc_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for familySrc_buf has to be chosen through deserialisation.") + } + const familySrc_result : string | Resource = (familySrc_buf as string | Resource) + let value : FontOptions = ({familyName: familyName_result, familySrc: familySrc_result} as FontOptions) + return value + } + public readForegroundBlurStyleOptions(): ForegroundBlurStyleOptions { + let valueDeserializer : Deserializer = this + const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colorMode_buf : ThemeColorMode | undefined + if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) + { + colorMode_buf = TypeChecker.ThemeColorMode_FromNumeric(valueDeserializer.readInt32()) + } + const colorMode_result : ThemeColorMode | undefined = colorMode_buf + const adaptiveColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let adaptiveColor_buf : AdaptiveColor | undefined + if ((RuntimeType.UNDEFINED) != (adaptiveColor_buf_runtimeType)) + { + adaptiveColor_buf = TypeChecker.AdaptiveColor_FromNumeric(valueDeserializer.readInt32()) + } + const adaptiveColor_result : AdaptiveColor | undefined = adaptiveColor_buf + const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scale_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) + { + scale_buf = (valueDeserializer.readNumber() as number) + } + const scale_result : number | undefined = scale_buf + const blurOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let blurOptions_buf : BlurOptions | undefined + if ((RuntimeType.UNDEFINED) != (blurOptions_buf_runtimeType)) + { + blurOptions_buf = valueDeserializer.readBlurOptions() + } + const blurOptions_result : BlurOptions | undefined = blurOptions_buf + let value : ForegroundBlurStyleOptions = ({colorMode: colorMode_result, adaptiveColor: adaptiveColor_result, scale: scale_result, blurOptions: blurOptions_result} as ForegroundBlurStyleOptions) + return value + } + public readFormInfo(): FormInfo { + let valueDeserializer : Deserializer = this + const id_buf_selector : int32 = valueDeserializer.readInt8() + let id_buf : int64 | string | undefined + if (id_buf_selector == 0) { + id_buf = valueDeserializer.readInt64() + } + else if (id_buf_selector == 1) { + id_buf = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for id_buf has to be chosen through deserialisation.") + } + const id_result : int64 | string = (id_buf as int64 | string) + const name_result : string = (valueDeserializer.readString() as string) + const bundle_result : string = (valueDeserializer.readString() as string) + const ability_result : string = (valueDeserializer.readString() as string) + const module_result : string = (valueDeserializer.readString() as string) + const dimension_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dimension_buf : FormDimension | undefined + if ((RuntimeType.UNDEFINED) != (dimension_buf_runtimeType)) + { + dimension_buf = TypeChecker.FormDimension_FromNumeric(valueDeserializer.readInt32()) + } + const dimension_result : FormDimension | undefined = dimension_buf + const temporary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let temporary_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (temporary_buf_runtimeType)) + { + temporary_buf = valueDeserializer.readBoolean() + } + const temporary_result : boolean | undefined = temporary_buf + const want_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let want_buf : Want | undefined + if ((RuntimeType.UNDEFINED) != (want_buf_runtimeType)) + { + want_buf = valueDeserializer.readWant() + } + const want_result : Want | undefined = want_buf + const renderingMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let renderingMode_buf : FormRenderingMode | undefined + if ((RuntimeType.UNDEFINED) != (renderingMode_buf_runtimeType)) + { + renderingMode_buf = TypeChecker.FormRenderingMode_FromNumeric(valueDeserializer.readInt32()) + } + const renderingMode_result : FormRenderingMode | undefined = renderingMode_buf + const shape_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let shape_buf : FormShape | undefined + if ((RuntimeType.UNDEFINED) != (shape_buf_runtimeType)) + { + shape_buf = TypeChecker.FormShape_FromNumeric(valueDeserializer.readInt32()) + } + const shape_result : FormShape | undefined = shape_buf + let value : FormInfo = ({id: id_result, name: name_result, bundle: bundle_result, ability: ability_result, module: module_result, dimension: dimension_result, temporary: temporary_result, want: want_result, renderingMode: renderingMode_result, shape: shape_result} as FormInfo) + return value + } + public readGaugeShadowOptions(): GaugeShadowOptions { + let valueDeserializer : Deserializer = this + const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let radius_buf : number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) + { + const radius_buf__selector : int32 = valueDeserializer.readInt8() + let radius_buf_ : number | Resource | undefined + if (radius_buf__selector == 0) { + radius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (radius_buf__selector == 1) { + radius_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") + } + radius_buf = (radius_buf_ as number | Resource) + } + const radius_result : number | Resource | undefined = radius_buf + const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offsetX_buf : number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (offsetX_buf_runtimeType)) + { + const offsetX_buf__selector : int32 = valueDeserializer.readInt8() + let offsetX_buf_ : number | Resource | undefined + if (offsetX_buf__selector == 0) { + offsetX_buf_ = (valueDeserializer.readNumber() as number) + } + else if (offsetX_buf__selector == 1) { + offsetX_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for offsetX_buf_ has to be chosen through deserialisation.") + } + offsetX_buf = (offsetX_buf_ as number | Resource) + } + const offsetX_result : number | Resource | undefined = offsetX_buf + const offsetY_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offsetY_buf : number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (offsetY_buf_runtimeType)) + { + const offsetY_buf__selector : int32 = valueDeserializer.readInt8() + let offsetY_buf_ : number | Resource | undefined + if (offsetY_buf__selector == 0) { + offsetY_buf_ = (valueDeserializer.readNumber() as number) + } + else if (offsetY_buf__selector == 1) { + offsetY_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for offsetY_buf_ has to be chosen through deserialisation.") + } + offsetY_buf = (offsetY_buf_ as number | Resource) + } + const offsetY_result : number | Resource | undefined = offsetY_buf + let value : GaugeShadowOptions = ({radius: radius_result, offsetX: offsetX_result, offsetY: offsetY_result} as GaugeShadowOptions) + return value + } + public readGridColOptions(): GridColOptions { + let valueDeserializer : Deserializer = this + const span_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let span_buf : number | GridColColumnOption | undefined + if ((RuntimeType.UNDEFINED) != (span_buf_runtimeType)) + { + const span_buf__selector : int32 = valueDeserializer.readInt8() + let span_buf_ : number | GridColColumnOption | undefined + if (span_buf__selector == 0) { + span_buf_ = (valueDeserializer.readNumber() as number) + } + else if (span_buf__selector == 1) { + span_buf_ = valueDeserializer.readGridColColumnOption() + } + else { + throw new Error("One of the branches for span_buf_ has to be chosen through deserialisation.") + } + span_buf = (span_buf_ as number | GridColColumnOption) + } + const span_result : number | GridColColumnOption | undefined = span_buf + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf : number | GridColColumnOption | undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) + { + const offset_buf__selector : int32 = valueDeserializer.readInt8() + let offset_buf_ : number | GridColColumnOption | undefined + if (offset_buf__selector == 0) { + offset_buf_ = (valueDeserializer.readNumber() as number) + } + else if (offset_buf__selector == 1) { + offset_buf_ = valueDeserializer.readGridColColumnOption() + } + else { + throw new Error("One of the branches for offset_buf_ has to be chosen through deserialisation.") + } + offset_buf = (offset_buf_ as number | GridColColumnOption) + } + const offset_result : number | GridColColumnOption | undefined = offset_buf + const order_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let order_buf : number | GridColColumnOption | undefined + if ((RuntimeType.UNDEFINED) != (order_buf_runtimeType)) + { + const order_buf__selector : int32 = valueDeserializer.readInt8() + let order_buf_ : number | GridColColumnOption | undefined + if (order_buf__selector == 0) { + order_buf_ = (valueDeserializer.readNumber() as number) + } + else if (order_buf__selector == 1) { + order_buf_ = valueDeserializer.readGridColColumnOption() + } + else { + throw new Error("One of the branches for order_buf_ has to be chosen through deserialisation.") + } + order_buf = (order_buf_ as number | GridColColumnOption) + } + const order_result : number | GridColColumnOption | undefined = order_buf + let value : GridColOptions = ({span: span_result, offset: offset_result, order: order_result} as GridColOptions) + return value + } + public readHistoricalPoint(): HistoricalPoint { + let valueDeserializer : Deserializer = this + const touchObject_result : TouchObject = valueDeserializer.readTouchObject() + const size_result : number = (valueDeserializer.readNumber() as number) + const force_result : number = (valueDeserializer.readNumber() as number) + const timestamp_result : int64 = valueDeserializer.readInt64() + let value : HistoricalPoint = ({touchObject: touchObject_result, size: size_result, force: force_result, timestamp: timestamp_result} as HistoricalPoint) + return value + } + public readImageFrameInfo(): ImageFrameInfo { + let valueDeserializer : Deserializer = this + const src_buf_selector : int32 = valueDeserializer.readInt8() + let src_buf : string | Resource | PixelMap | undefined + if (src_buf_selector == 0) { + src_buf = (valueDeserializer.readString() as string) + } + else if (src_buf_selector == 1) { + src_buf = valueDeserializer.readResource() + } + else if (src_buf_selector == 2) { + src_buf = (valueDeserializer.readPixelMap() as PixelMap) + } + else { + throw new Error("One of the branches for src_buf has to be chosen through deserialisation.") + } + const src_result : string | Resource | PixelMap = (src_buf as string | Resource | PixelMap) + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + const width_buf__selector : int32 = valueDeserializer.readInt8() + let width_buf_ : number | string | undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readNumber() as number) + } + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + } + width_buf = (width_buf_ as number | string) + } + const width_result : number | string | undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + { + const height_buf__selector : int32 = valueDeserializer.readInt8() + let height_buf_ : number | string | undefined + if (height_buf__selector == 0) { + height_buf_ = (valueDeserializer.readNumber() as number) + } + else if (height_buf__selector == 1) { + height_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + } + height_buf = (height_buf_ as number | string) + } + const height_result : number | string | undefined = height_buf + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + const top_buf__selector : int32 = valueDeserializer.readInt8() + let top_buf_ : number | string | undefined + if (top_buf__selector == 0) { + top_buf_ = (valueDeserializer.readNumber() as number) + } + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + } + top_buf = (top_buf_ as number | string) + } + const top_result : number | string | undefined = top_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) + { + const left_buf__selector : int32 = valueDeserializer.readInt8() + let left_buf_ : number | string | undefined + if (left_buf__selector == 0) { + left_buf_ = (valueDeserializer.readNumber() as number) + } + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") + } + left_buf = (left_buf_ as number | string) + } + const left_result : number | string | undefined = left_buf + const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let duration_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf = (valueDeserializer.readNumber() as number) + } + const duration_result : number | undefined = duration_buf + let value : ImageFrameInfo = ({src: src_result, width: width_result, height: height_result, top: top_result, left: left_result, duration: duration_result} as ImageFrameInfo) + return value + } + public readJavaScriptProxy(): JavaScriptProxy { + let valueDeserializer : Deserializer = this + const object__result : Object = (valueDeserializer.readObject() as Object) + const name_result : string = (valueDeserializer.readString() as string) + const methodList_buf_length : int32 = valueDeserializer.readInt32() + let methodList_buf : Array = new Array(methodList_buf_length) + for (let methodList_buf_i = 0; methodList_buf_i < methodList_buf_length; methodList_buf_i++) { + methodList_buf[methodList_buf_i] = (valueDeserializer.readString() as string) + } + const methodList_result : Array = methodList_buf + const controller_buf_selector : int32 = valueDeserializer.readInt8() + let controller_buf : WebController | WebviewController | undefined + if (controller_buf_selector == 0) { + controller_buf = (valueDeserializer.readWebController() as WebController) + } + else if (controller_buf_selector == 1) { + controller_buf = (valueDeserializer.readWebviewController() as WebviewController) + } + else { + throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") + } + const controller_result : WebController | WebviewController = (controller_buf as WebController | WebviewController) + const asyncMethodList_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let asyncMethodList_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (asyncMethodList_buf_runtimeType)) + { + const asyncMethodList_buf__length : int32 = valueDeserializer.readInt32() + let asyncMethodList_buf_ : Array = new Array(asyncMethodList_buf__length) + for (let asyncMethodList_buf__i = 0; asyncMethodList_buf__i < asyncMethodList_buf__length; asyncMethodList_buf__i++) { + asyncMethodList_buf_[asyncMethodList_buf__i] = (valueDeserializer.readString() as string) + } + asyncMethodList_buf = asyncMethodList_buf_ + } + const asyncMethodList_result : Array | undefined = asyncMethodList_buf + const permission_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let permission_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (permission_buf_runtimeType)) + { + permission_buf = (valueDeserializer.readString() as string) + } + const permission_result : string | undefined = permission_buf + let value : JavaScriptProxy = ({object_: object__result, name: name_result, methodList: methodList_result, controller: controller_result, asyncMethodList: asyncMethodList_result, permission: permission_result} as JavaScriptProxy) + return value + } + public readLengthConstrain(): LengthConstrain { + let valueDeserializer : Deserializer = this + const minLength_buf_selector : int32 = valueDeserializer.readInt8() + let minLength_buf : string | number | Resource | undefined + if (minLength_buf_selector == 0) { + minLength_buf = (valueDeserializer.readString() as string) + } + else if (minLength_buf_selector == 1) { + minLength_buf = (valueDeserializer.readNumber() as number) + } + else if (minLength_buf_selector == 2) { + minLength_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for minLength_buf has to be chosen through deserialisation.") + } + const minLength_result : Length = (minLength_buf as string | number | Resource) + const maxLength_buf_selector : int32 = valueDeserializer.readInt8() + let maxLength_buf : string | number | Resource | undefined + if (maxLength_buf_selector == 0) { + maxLength_buf = (valueDeserializer.readString() as string) + } + else if (maxLength_buf_selector == 1) { + maxLength_buf = (valueDeserializer.readNumber() as number) + } + else if (maxLength_buf_selector == 2) { + maxLength_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for maxLength_buf has to be chosen through deserialisation.") + } + const maxLength_result : Length = (maxLength_buf as string | number | Resource) + let value : LengthConstrain = ({minLength: minLength_result, maxLength: maxLength_result} as LengthConstrain) + return value + } + public readLightSource(): LightSource { + let valueDeserializer : Deserializer = this + const positionX_buf_selector : int32 = valueDeserializer.readInt8() + let positionX_buf : string | number | Resource | undefined + if (positionX_buf_selector == 0) { + positionX_buf = (valueDeserializer.readString() as string) + } + else if (positionX_buf_selector == 1) { + positionX_buf = (valueDeserializer.readNumber() as number) + } + else if (positionX_buf_selector == 2) { + positionX_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for positionX_buf has to be chosen through deserialisation.") + } + const positionX_result : Dimension = (positionX_buf as string | number | Resource) + const positionY_buf_selector : int32 = valueDeserializer.readInt8() + let positionY_buf : string | number | Resource | undefined + if (positionY_buf_selector == 0) { + positionY_buf = (valueDeserializer.readString() as string) + } + else if (positionY_buf_selector == 1) { + positionY_buf = (valueDeserializer.readNumber() as number) + } + else if (positionY_buf_selector == 2) { + positionY_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for positionY_buf has to be chosen through deserialisation.") + } + const positionY_result : Dimension = (positionY_buf as string | number | Resource) + const positionZ_buf_selector : int32 = valueDeserializer.readInt8() + let positionZ_buf : string | number | Resource | undefined + if (positionZ_buf_selector == 0) { + positionZ_buf = (valueDeserializer.readString() as string) + } + else if (positionZ_buf_selector == 1) { + positionZ_buf = (valueDeserializer.readNumber() as number) + } + else if (positionZ_buf_selector == 2) { + positionZ_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for positionZ_buf has to be chosen through deserialisation.") + } + const positionZ_result : Dimension = (positionZ_buf as string | number | Resource) + const intensity_result : number = (valueDeserializer.readNumber() as number) + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + { + const color_buf__selector : int32 = valueDeserializer.readInt8() + let color_buf_ : Color | number | string | Resource | undefined + if (color_buf__selector == 0) { + color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as Color | number | string | Resource) + } + const color_result : ResourceColor | undefined = color_buf + let value : LightSource = ({positionX: positionX_result, positionY: positionY_result, positionZ: positionZ_result, intensity: intensity_result, color: color_result} as LightSource) + return value + } + public readLinearIndicatorStyle(): LinearIndicatorStyle { + let valueDeserializer : Deserializer = this + const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let space_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) + { + space_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const space_result : LengthMetrics | undefined = space_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const strokeWidth_result : LengthMetrics | undefined = strokeWidth_buf + const strokeRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeRadius_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (strokeRadius_buf_runtimeType)) + { + strokeRadius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const strokeRadius_result : LengthMetrics | undefined = strokeRadius_buf + const trackBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let trackBackgroundColor_buf : ColorMetrics | undefined + if ((RuntimeType.UNDEFINED) != (trackBackgroundColor_buf_runtimeType)) + { + trackBackgroundColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + } + const trackBackgroundColor_result : ColorMetrics | undefined = trackBackgroundColor_buf + const trackColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let trackColor_buf : ColorMetrics | undefined + if ((RuntimeType.UNDEFINED) != (trackColor_buf_runtimeType)) + { + trackColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + } + const trackColor_result : ColorMetrics | undefined = trackColor_buf + let value : LinearIndicatorStyle = ({space: space_result, strokeWidth: strokeWidth_result, strokeRadius: strokeRadius_result, trackBackgroundColor: trackBackgroundColor_result, trackColor: trackColor_result} as LinearIndicatorStyle) + return value + } + public readLocalizedAlignRuleOptions(): LocalizedAlignRuleOptions { + let valueDeserializer : Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : LocalizedHorizontalAlignParam | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = valueDeserializer.readLocalizedHorizontalAlignParam() + } + const start_result : LocalizedHorizontalAlignParam | undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : LocalizedHorizontalAlignParam | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = valueDeserializer.readLocalizedHorizontalAlignParam() + } + const end_result : LocalizedHorizontalAlignParam | undefined = end_buf + const middle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let middle_buf : LocalizedHorizontalAlignParam | undefined + if ((RuntimeType.UNDEFINED) != (middle_buf_runtimeType)) + { + middle_buf = valueDeserializer.readLocalizedHorizontalAlignParam() + } + const middle_result : LocalizedHorizontalAlignParam | undefined = middle_buf + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : LocalizedVerticalAlignParam | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + top_buf = valueDeserializer.readLocalizedVerticalAlignParam() + } + const top_result : LocalizedVerticalAlignParam | undefined = top_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf : LocalizedVerticalAlignParam | undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf = valueDeserializer.readLocalizedVerticalAlignParam() + } + const bottom_result : LocalizedVerticalAlignParam | undefined = bottom_buf + const center_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let center_buf : LocalizedVerticalAlignParam | undefined + if ((RuntimeType.UNDEFINED) != (center_buf_runtimeType)) + { + center_buf = valueDeserializer.readLocalizedVerticalAlignParam() + } + const center_result : LocalizedVerticalAlignParam | undefined = center_buf + const bias_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bias_buf : Bias | undefined + if ((RuntimeType.UNDEFINED) != (bias_buf_runtimeType)) + { + bias_buf = valueDeserializer.readBias() + } + const bias_result : Bias | undefined = bias_buf + let value : LocalizedAlignRuleOptions = ({start: start_result, end: end_result, middle: middle_result, top: top_result, bottom: bottom_result, center: center_result, bias: bias_result} as LocalizedAlignRuleOptions) + return value + } + public readLocalizedBorderRadiuses(): LocalizedBorderRadiuses { + let valueDeserializer : Deserializer = this + const topStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let topStart_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (topStart_buf_runtimeType)) + { + topStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const topStart_result : LengthMetrics | undefined = topStart_buf + const topEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let topEnd_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (topEnd_buf_runtimeType)) + { + topEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const topEnd_result : LengthMetrics | undefined = topEnd_buf + const bottomStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottomStart_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (bottomStart_buf_runtimeType)) + { + bottomStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const bottomStart_result : LengthMetrics | undefined = bottomStart_buf + const bottomEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottomEnd_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (bottomEnd_buf_runtimeType)) + { + bottomEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } - const compForegroundPrimary_result : ResourceColor | undefined = compForegroundPrimary_buf - const compBackgroundPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundPrimary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundPrimary_buf_runtimeType)) + const bottomEnd_result : LengthMetrics | undefined = bottomEnd_buf + let value : LocalizedBorderRadiuses = ({topStart: topStart_result, topEnd: topEnd_result, bottomStart: bottomStart_result, bottomEnd: bottomEnd_result} as LocalizedBorderRadiuses) + return value + } + public readLocalizedEdgeColors(): LocalizedEdgeColors { + let valueDeserializer : Deserializer = this + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - const compBackgroundPrimary_buf__selector : int32 = valueDeserializer.readInt8() - let compBackgroundPrimary_buf_ : Color | number | string | Resource | undefined - if (compBackgroundPrimary_buf__selector == 0) { - compBackgroundPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const top_buf__selector : int32 = valueDeserializer.readInt8() + let top_buf_ : Color | number | string | Resource | undefined + if (top_buf__selector == 0) { + top_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (compBackgroundPrimary_buf__selector == 1) { - compBackgroundPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundPrimary_buf__selector == 2) { - compBackgroundPrimary_buf_ = (valueDeserializer.readString() as string) + else if (top_buf__selector == 2) { + top_buf_ = (valueDeserializer.readString() as string) } - else if (compBackgroundPrimary_buf__selector == 3) { - compBackgroundPrimary_buf_ = valueDeserializer.readResource() + else if (top_buf__selector == 3) { + top_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") } - compBackgroundPrimary_buf = (compBackgroundPrimary_buf_ as Color | number | string | Resource) + top_buf = (top_buf_ as Color | number | string | Resource) } - const compBackgroundPrimary_result : ResourceColor | undefined = compBackgroundPrimary_buf - const compBackgroundPrimaryTran_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundPrimaryTran_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundPrimaryTran_buf_runtimeType)) + const top_result : ResourceColor | undefined = top_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - const compBackgroundPrimaryTran_buf__selector : int32 = valueDeserializer.readInt8() - let compBackgroundPrimaryTran_buf_ : Color | number | string | Resource | undefined - if (compBackgroundPrimaryTran_buf__selector == 0) { - compBackgroundPrimaryTran_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const end_buf__selector : int32 = valueDeserializer.readInt8() + let end_buf_ : Color | number | string | Resource | undefined + if (end_buf__selector == 0) { + end_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (compBackgroundPrimaryTran_buf__selector == 1) { - compBackgroundPrimaryTran_buf_ = (valueDeserializer.readNumber() as number) + else if (end_buf__selector == 1) { + end_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundPrimaryTran_buf__selector == 2) { - compBackgroundPrimaryTran_buf_ = (valueDeserializer.readString() as string) + else if (end_buf__selector == 2) { + end_buf_ = (valueDeserializer.readString() as string) } - else if (compBackgroundPrimaryTran_buf__selector == 3) { - compBackgroundPrimaryTran_buf_ = valueDeserializer.readResource() + else if (end_buf__selector == 3) { + end_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundPrimaryTran_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for end_buf_ has to be chosen through deserialisation.") } - compBackgroundPrimaryTran_buf = (compBackgroundPrimaryTran_buf_ as Color | number | string | Resource) + end_buf = (end_buf_ as Color | number | string | Resource) } - const compBackgroundPrimaryTran_result : ResourceColor | undefined = compBackgroundPrimaryTran_buf - const compBackgroundPrimaryContrary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundPrimaryContrary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundPrimaryContrary_buf_runtimeType)) + const end_result : ResourceColor | undefined = end_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - const compBackgroundPrimaryContrary_buf__selector : int32 = valueDeserializer.readInt8() - let compBackgroundPrimaryContrary_buf_ : Color | number | string | Resource | undefined - if (compBackgroundPrimaryContrary_buf__selector == 0) { - compBackgroundPrimaryContrary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const bottom_buf__selector : int32 = valueDeserializer.readInt8() + let bottom_buf_ : Color | number | string | Resource | undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (compBackgroundPrimaryContrary_buf__selector == 1) { - compBackgroundPrimaryContrary_buf_ = (valueDeserializer.readNumber() as number) + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundPrimaryContrary_buf__selector == 2) { - compBackgroundPrimaryContrary_buf_ = (valueDeserializer.readString() as string) + else if (bottom_buf__selector == 2) { + bottom_buf_ = (valueDeserializer.readString() as string) } - else if (compBackgroundPrimaryContrary_buf__selector == 3) { - compBackgroundPrimaryContrary_buf_ = valueDeserializer.readResource() + else if (bottom_buf__selector == 3) { + bottom_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundPrimaryContrary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") } - compBackgroundPrimaryContrary_buf = (compBackgroundPrimaryContrary_buf_ as Color | number | string | Resource) + bottom_buf = (bottom_buf_ as Color | number | string | Resource) } - const compBackgroundPrimaryContrary_result : ResourceColor | undefined = compBackgroundPrimaryContrary_buf - const compBackgroundGray_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundGray_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundGray_buf_runtimeType)) + const bottom_result : ResourceColor | undefined = bottom_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - const compBackgroundGray_buf__selector : int32 = valueDeserializer.readInt8() - let compBackgroundGray_buf_ : Color | number | string | Resource | undefined - if (compBackgroundGray_buf__selector == 0) { - compBackgroundGray_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const start_buf__selector : int32 = valueDeserializer.readInt8() + let start_buf_ : Color | number | string | Resource | undefined + if (start_buf__selector == 0) { + start_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (compBackgroundGray_buf__selector == 1) { - compBackgroundGray_buf_ = (valueDeserializer.readNumber() as number) + else if (start_buf__selector == 1) { + start_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundGray_buf__selector == 2) { - compBackgroundGray_buf_ = (valueDeserializer.readString() as string) + else if (start_buf__selector == 2) { + start_buf_ = (valueDeserializer.readString() as string) } - else if (compBackgroundGray_buf__selector == 3) { - compBackgroundGray_buf_ = valueDeserializer.readResource() + else if (start_buf__selector == 3) { + start_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundGray_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for start_buf_ has to be chosen through deserialisation.") } - compBackgroundGray_buf = (compBackgroundGray_buf_ as Color | number | string | Resource) + start_buf = (start_buf_ as Color | number | string | Resource) } - const compBackgroundGray_result : ResourceColor | undefined = compBackgroundGray_buf - const compBackgroundSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundSecondary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundSecondary_buf_runtimeType)) + const start_result : ResourceColor | undefined = start_buf + let value : LocalizedEdgeColors = ({top: top_result, end: end_result, bottom: bottom_result, start: start_result} as LocalizedEdgeColors) + return value + } + public readLocalizedEdges(): LocalizedEdges { + let valueDeserializer : Deserializer = this + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const top_result : LengthMetrics | undefined = top_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const start_result : LengthMetrics | undefined = start_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const bottom_result : LengthMetrics | undefined = bottom_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const end_result : LengthMetrics | undefined = end_buf + let value : LocalizedEdges = ({top: top_result, start: start_result, bottom: bottom_result, end: end_result} as LocalizedEdges) + return value + } + public readLocalizedEdgeWidths(): LocalizedEdgeWidths { + let valueDeserializer : Deserializer = this + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const top_result : LengthMetrics | undefined = top_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const end_result : LengthMetrics | undefined = end_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const bottom_result : LengthMetrics | undefined = bottom_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const start_result : LengthMetrics | undefined = start_buf + let value : LocalizedEdgeWidths = ({top: top_result, end: end_result, bottom: bottom_result, start: start_result} as LocalizedEdgeWidths) + return value + } + public readLocalizedPadding(): LocalizedPadding { + let valueDeserializer : Deserializer = this + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const top_result : LengthMetrics | undefined = top_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const end_result : LengthMetrics | undefined = end_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const bottom_result : LengthMetrics | undefined = bottom_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const start_result : LengthMetrics | undefined = start_buf + let value : LocalizedPadding = ({top: top_result, end: end_result, bottom: bottom_result, start: start_result} as LocalizedPadding) + return value + } + public readLocalizedPosition(): LocalizedPosition { + let valueDeserializer : Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const start_result : LengthMetrics | undefined = start_buf + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const top_result : LengthMetrics | undefined = top_buf + let value : LocalizedPosition = ({start: start_result, top: top_result} as LocalizedPosition) + return value + } + public readLunarSwitchStyle(): LunarSwitchStyle { + let valueDeserializer : Deserializer = this + const selectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let selectedColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (selectedColor_buf_runtimeType)) { - const compBackgroundSecondary_buf__selector : int32 = valueDeserializer.readInt8() - let compBackgroundSecondary_buf_ : Color | number | string | Resource | undefined - if (compBackgroundSecondary_buf__selector == 0) { - compBackgroundSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const selectedColor_buf__selector : int32 = valueDeserializer.readInt8() + let selectedColor_buf_ : Color | number | string | Resource | undefined + if (selectedColor_buf__selector == 0) { + selectedColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (compBackgroundSecondary_buf__selector == 1) { - compBackgroundSecondary_buf_ = (valueDeserializer.readNumber() as number) + else if (selectedColor_buf__selector == 1) { + selectedColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundSecondary_buf__selector == 2) { - compBackgroundSecondary_buf_ = (valueDeserializer.readString() as string) + else if (selectedColor_buf__selector == 2) { + selectedColor_buf_ = (valueDeserializer.readString() as string) } - else if (compBackgroundSecondary_buf__selector == 3) { - compBackgroundSecondary_buf_ = valueDeserializer.readResource() + else if (selectedColor_buf__selector == 3) { + selectedColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for selectedColor_buf_ has to be chosen through deserialisation.") } - compBackgroundSecondary_buf = (compBackgroundSecondary_buf_ as Color | number | string | Resource) + selectedColor_buf = (selectedColor_buf_ as Color | number | string | Resource) } - const compBackgroundSecondary_result : ResourceColor | undefined = compBackgroundSecondary_buf - const compBackgroundTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundTertiary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundTertiary_buf_runtimeType)) + const selectedColor_result : ResourceColor | undefined = selectedColor_buf + const unselectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let unselectedColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (unselectedColor_buf_runtimeType)) { - const compBackgroundTertiary_buf__selector : int32 = valueDeserializer.readInt8() - let compBackgroundTertiary_buf_ : Color | number | string | Resource | undefined - if (compBackgroundTertiary_buf__selector == 0) { - compBackgroundTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const unselectedColor_buf__selector : int32 = valueDeserializer.readInt8() + let unselectedColor_buf_ : Color | number | string | Resource | undefined + if (unselectedColor_buf__selector == 0) { + unselectedColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (compBackgroundTertiary_buf__selector == 1) { - compBackgroundTertiary_buf_ = (valueDeserializer.readNumber() as number) + else if (unselectedColor_buf__selector == 1) { + unselectedColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundTertiary_buf__selector == 2) { - compBackgroundTertiary_buf_ = (valueDeserializer.readString() as string) + else if (unselectedColor_buf__selector == 2) { + unselectedColor_buf_ = (valueDeserializer.readString() as string) } - else if (compBackgroundTertiary_buf__selector == 3) { - compBackgroundTertiary_buf_ = valueDeserializer.readResource() + else if (unselectedColor_buf__selector == 3) { + unselectedColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation.") } - compBackgroundTertiary_buf = (compBackgroundTertiary_buf_ as Color | number | string | Resource) + unselectedColor_buf = (unselectedColor_buf_ as Color | number | string | Resource) } - const compBackgroundTertiary_result : ResourceColor | undefined = compBackgroundTertiary_buf - const compBackgroundEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundEmphasize_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundEmphasize_buf_runtimeType)) + const unselectedColor_result : ResourceColor | undefined = unselectedColor_buf + const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) { - const compBackgroundEmphasize_buf__selector : int32 = valueDeserializer.readInt8() - let compBackgroundEmphasize_buf_ : Color | number | string | Resource | undefined - if (compBackgroundEmphasize_buf__selector == 0) { - compBackgroundEmphasize_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const strokeColor_buf__selector : int32 = valueDeserializer.readInt8() + let strokeColor_buf_ : Color | number | string | Resource | undefined + if (strokeColor_buf__selector == 0) { + strokeColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (compBackgroundEmphasize_buf__selector == 1) { - compBackgroundEmphasize_buf_ = (valueDeserializer.readNumber() as number) + else if (strokeColor_buf__selector == 1) { + strokeColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundEmphasize_buf__selector == 2) { - compBackgroundEmphasize_buf_ = (valueDeserializer.readString() as string) + else if (strokeColor_buf__selector == 2) { + strokeColor_buf_ = (valueDeserializer.readString() as string) } - else if (compBackgroundEmphasize_buf__selector == 3) { - compBackgroundEmphasize_buf_ = valueDeserializer.readResource() + else if (strokeColor_buf__selector == 3) { + strokeColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundEmphasize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for strokeColor_buf_ has to be chosen through deserialisation.") } - compBackgroundEmphasize_buf = (compBackgroundEmphasize_buf_ as Color | number | string | Resource) + strokeColor_buf = (strokeColor_buf_ as Color | number | string | Resource) } - const compBackgroundEmphasize_result : ResourceColor | undefined = compBackgroundEmphasize_buf - const compBackgroundNeutral_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundNeutral_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundNeutral_buf_runtimeType)) + const strokeColor_result : ResourceColor | undefined = strokeColor_buf + let value : LunarSwitchStyle = ({selectedColor: selectedColor_result, unselectedColor: unselectedColor_result, strokeColor: strokeColor_result} as LunarSwitchStyle) + return value + } + public readMeasureOptions(): MeasureOptions { + let valueDeserializer : Deserializer = this + const textContent_buf_selector : int32 = valueDeserializer.readInt8() + let textContent_buf : string | Resource | undefined + if (textContent_buf_selector == 0) { + textContent_buf = (valueDeserializer.readString() as string) + } + else if (textContent_buf_selector == 1) { + textContent_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for textContent_buf has to be chosen through deserialisation.") + } + const textContent_result : string | Resource = (textContent_buf as string | Resource) + const constraintWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let constraintWidth_buf : number | string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (constraintWidth_buf_runtimeType)) { - const compBackgroundNeutral_buf__selector : int32 = valueDeserializer.readInt8() - let compBackgroundNeutral_buf_ : Color | number | string | Resource | undefined - if (compBackgroundNeutral_buf__selector == 0) { - compBackgroundNeutral_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (compBackgroundNeutral_buf__selector == 1) { - compBackgroundNeutral_buf_ = (valueDeserializer.readNumber() as number) + const constraintWidth_buf__selector : int32 = valueDeserializer.readInt8() + let constraintWidth_buf_ : number | string | Resource | undefined + if (constraintWidth_buf__selector == 0) { + constraintWidth_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundNeutral_buf__selector == 2) { - compBackgroundNeutral_buf_ = (valueDeserializer.readString() as string) + else if (constraintWidth_buf__selector == 1) { + constraintWidth_buf_ = (valueDeserializer.readString() as string) } - else if (compBackgroundNeutral_buf__selector == 3) { - compBackgroundNeutral_buf_ = valueDeserializer.readResource() + else if (constraintWidth_buf__selector == 2) { + constraintWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundNeutral_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for constraintWidth_buf_ has to be chosen through deserialisation.") } - compBackgroundNeutral_buf = (compBackgroundNeutral_buf_ as Color | number | string | Resource) + constraintWidth_buf = (constraintWidth_buf_ as number | string | Resource) } - const compBackgroundNeutral_result : ResourceColor | undefined = compBackgroundNeutral_buf - const compEmphasizeSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compEmphasizeSecondary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compEmphasizeSecondary_buf_runtimeType)) + const constraintWidth_result : number | string | Resource | undefined = constraintWidth_buf + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf : number | string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) { - const compEmphasizeSecondary_buf__selector : int32 = valueDeserializer.readInt8() - let compEmphasizeSecondary_buf_ : Color | number | string | Resource | undefined - if (compEmphasizeSecondary_buf__selector == 0) { - compEmphasizeSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (compEmphasizeSecondary_buf__selector == 1) { - compEmphasizeSecondary_buf_ = (valueDeserializer.readNumber() as number) + const fontSize_buf__selector : int32 = valueDeserializer.readInt8() + let fontSize_buf_ : number | string | Resource | undefined + if (fontSize_buf__selector == 0) { + fontSize_buf_ = (valueDeserializer.readNumber() as number) } - else if (compEmphasizeSecondary_buf__selector == 2) { - compEmphasizeSecondary_buf_ = (valueDeserializer.readString() as string) + else if (fontSize_buf__selector == 1) { + fontSize_buf_ = (valueDeserializer.readString() as string) } - else if (compEmphasizeSecondary_buf__selector == 3) { - compEmphasizeSecondary_buf_ = valueDeserializer.readResource() + else if (fontSize_buf__selector == 2) { + fontSize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compEmphasizeSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") } - compEmphasizeSecondary_buf = (compEmphasizeSecondary_buf_ as Color | number | string | Resource) + fontSize_buf = (fontSize_buf_ as number | string | Resource) } - const compEmphasizeSecondary_result : ResourceColor | undefined = compEmphasizeSecondary_buf - const compEmphasizeTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compEmphasizeTertiary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compEmphasizeTertiary_buf_runtimeType)) + const fontSize_result : number | string | Resource | undefined = fontSize_buf + const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontStyle_buf : number | FontStyle | undefined + if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) { - const compEmphasizeTertiary_buf__selector : int32 = valueDeserializer.readInt8() - let compEmphasizeTertiary_buf_ : Color | number | string | Resource | undefined - if (compEmphasizeTertiary_buf__selector == 0) { - compEmphasizeTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (compEmphasizeTertiary_buf__selector == 1) { - compEmphasizeTertiary_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compEmphasizeTertiary_buf__selector == 2) { - compEmphasizeTertiary_buf_ = (valueDeserializer.readString() as string) + const fontStyle_buf__selector : int32 = valueDeserializer.readInt8() + let fontStyle_buf_ : number | FontStyle | undefined + if (fontStyle_buf__selector == 0) { + fontStyle_buf_ = (valueDeserializer.readNumber() as number) } - else if (compEmphasizeTertiary_buf__selector == 3) { - compEmphasizeTertiary_buf_ = valueDeserializer.readResource() + else if (fontStyle_buf__selector == 1) { + fontStyle_buf_ = TypeChecker.FontStyle_FromNumeric(valueDeserializer.readInt32()) } else { - throw new Error("One of the branches for compEmphasizeTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontStyle_buf_ has to be chosen through deserialisation.") } - compEmphasizeTertiary_buf = (compEmphasizeTertiary_buf_ as Color | number | string | Resource) + fontStyle_buf = (fontStyle_buf_ as number | FontStyle) } - const compEmphasizeTertiary_result : ResourceColor | undefined = compEmphasizeTertiary_buf - const compDivider_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compDivider_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compDivider_buf_runtimeType)) + const fontStyle_result : number | FontStyle | undefined = fontStyle_buf + const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontWeight_buf : number | string | FontWeight | undefined + if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) { - const compDivider_buf__selector : int32 = valueDeserializer.readInt8() - let compDivider_buf_ : Color | number | string | Resource | undefined - if (compDivider_buf__selector == 0) { - compDivider_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (compDivider_buf__selector == 1) { - compDivider_buf_ = (valueDeserializer.readNumber() as number) + const fontWeight_buf__selector : int32 = valueDeserializer.readInt8() + let fontWeight_buf_ : number | string | FontWeight | undefined + if (fontWeight_buf__selector == 0) { + fontWeight_buf_ = (valueDeserializer.readNumber() as number) } - else if (compDivider_buf__selector == 2) { - compDivider_buf_ = (valueDeserializer.readString() as string) + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_ = (valueDeserializer.readString() as string) } - else if (compDivider_buf__selector == 3) { - compDivider_buf_ = valueDeserializer.readResource() + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_ = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) } else { - throw new Error("One of the branches for compDivider_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") } - compDivider_buf = (compDivider_buf_ as Color | number | string | Resource) + fontWeight_buf = (fontWeight_buf_ as number | string | FontWeight) } - const compDivider_result : ResourceColor | undefined = compDivider_buf - const compCommonContrary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compCommonContrary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compCommonContrary_buf_runtimeType)) + const fontWeight_result : number | string | FontWeight | undefined = fontWeight_buf + const fontFamily_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFamily_buf : string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (fontFamily_buf_runtimeType)) { - const compCommonContrary_buf__selector : int32 = valueDeserializer.readInt8() - let compCommonContrary_buf_ : Color | number | string | Resource | undefined - if (compCommonContrary_buf__selector == 0) { - compCommonContrary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (compCommonContrary_buf__selector == 1) { - compCommonContrary_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compCommonContrary_buf__selector == 2) { - compCommonContrary_buf_ = (valueDeserializer.readString() as string) + const fontFamily_buf__selector : int32 = valueDeserializer.readInt8() + let fontFamily_buf_ : string | Resource | undefined + if (fontFamily_buf__selector == 0) { + fontFamily_buf_ = (valueDeserializer.readString() as string) } - else if (compCommonContrary_buf__selector == 3) { - compCommonContrary_buf_ = valueDeserializer.readResource() + else if (fontFamily_buf__selector == 1) { + fontFamily_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compCommonContrary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontFamily_buf_ has to be chosen through deserialisation.") } - compCommonContrary_buf = (compCommonContrary_buf_ as Color | number | string | Resource) + fontFamily_buf = (fontFamily_buf_ as string | Resource) } - const compCommonContrary_result : ResourceColor | undefined = compCommonContrary_buf - const compBackgroundFocus_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundFocus_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundFocus_buf_runtimeType)) + const fontFamily_result : string | Resource | undefined = fontFamily_buf + const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let letterSpacing_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) { - const compBackgroundFocus_buf__selector : int32 = valueDeserializer.readInt8() - let compBackgroundFocus_buf_ : Color | number | string | Resource | undefined - if (compBackgroundFocus_buf__selector == 0) { - compBackgroundFocus_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (compBackgroundFocus_buf__selector == 1) { - compBackgroundFocus_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compBackgroundFocus_buf__selector == 2) { - compBackgroundFocus_buf_ = (valueDeserializer.readString() as string) + const letterSpacing_buf__selector : int32 = valueDeserializer.readInt8() + let letterSpacing_buf_ : number | string | undefined + if (letterSpacing_buf__selector == 0) { + letterSpacing_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundFocus_buf__selector == 3) { - compBackgroundFocus_buf_ = valueDeserializer.readResource() + else if (letterSpacing_buf__selector == 1) { + letterSpacing_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for compBackgroundFocus_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for letterSpacing_buf_ has to be chosen through deserialisation.") } - compBackgroundFocus_buf = (compBackgroundFocus_buf_ as Color | number | string | Resource) + letterSpacing_buf = (letterSpacing_buf_ as number | string) } - const compBackgroundFocus_result : ResourceColor | undefined = compBackgroundFocus_buf - const compFocusedPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compFocusedPrimary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compFocusedPrimary_buf_runtimeType)) + const letterSpacing_result : number | string | undefined = letterSpacing_buf + const textAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textAlign_buf : number | TextAlign | undefined + if ((RuntimeType.UNDEFINED) != (textAlign_buf_runtimeType)) { - const compFocusedPrimary_buf__selector : int32 = valueDeserializer.readInt8() - let compFocusedPrimary_buf_ : Color | number | string | Resource | undefined - if (compFocusedPrimary_buf__selector == 0) { - compFocusedPrimary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (compFocusedPrimary_buf__selector == 1) { - compFocusedPrimary_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compFocusedPrimary_buf__selector == 2) { - compFocusedPrimary_buf_ = (valueDeserializer.readString() as string) + const textAlign_buf__selector : int32 = valueDeserializer.readInt8() + let textAlign_buf_ : number | TextAlign | undefined + if (textAlign_buf__selector == 0) { + textAlign_buf_ = (valueDeserializer.readNumber() as number) } - else if (compFocusedPrimary_buf__selector == 3) { - compFocusedPrimary_buf_ = valueDeserializer.readResource() + else if (textAlign_buf__selector == 1) { + textAlign_buf_ = TypeChecker.TextAlign_FromNumeric(valueDeserializer.readInt32()) } else { - throw new Error("One of the branches for compFocusedPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for textAlign_buf_ has to be chosen through deserialisation.") } - compFocusedPrimary_buf = (compFocusedPrimary_buf_ as Color | number | string | Resource) + textAlign_buf = (textAlign_buf_ as number | TextAlign) } - const compFocusedPrimary_result : ResourceColor | undefined = compFocusedPrimary_buf - const compFocusedSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compFocusedSecondary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compFocusedSecondary_buf_runtimeType)) + const textAlign_result : number | TextAlign | undefined = textAlign_buf + const overflow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let overflow_buf : number | TextOverflow | undefined + if ((RuntimeType.UNDEFINED) != (overflow_buf_runtimeType)) { - const compFocusedSecondary_buf__selector : int32 = valueDeserializer.readInt8() - let compFocusedSecondary_buf_ : Color | number | string | Resource | undefined - if (compFocusedSecondary_buf__selector == 0) { - compFocusedSecondary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (compFocusedSecondary_buf__selector == 1) { - compFocusedSecondary_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compFocusedSecondary_buf__selector == 2) { - compFocusedSecondary_buf_ = (valueDeserializer.readString() as string) + const overflow_buf__selector : int32 = valueDeserializer.readInt8() + let overflow_buf_ : number | TextOverflow | undefined + if (overflow_buf__selector == 0) { + overflow_buf_ = (valueDeserializer.readNumber() as number) } - else if (compFocusedSecondary_buf__selector == 3) { - compFocusedSecondary_buf_ = valueDeserializer.readResource() + else if (overflow_buf__selector == 1) { + overflow_buf_ = TypeChecker.TextOverflow_FromNumeric(valueDeserializer.readInt32()) } else { - throw new Error("One of the branches for compFocusedSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for overflow_buf_ has to be chosen through deserialisation.") } - compFocusedSecondary_buf = (compFocusedSecondary_buf_ as Color | number | string | Resource) + overflow_buf = (overflow_buf_ as number | TextOverflow) } - const compFocusedSecondary_result : ResourceColor | undefined = compFocusedSecondary_buf - const compFocusedTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compFocusedTertiary_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (compFocusedTertiary_buf_runtimeType)) + const overflow_result : number | TextOverflow | undefined = overflow_buf + const maxLines_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxLines_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (maxLines_buf_runtimeType)) { - const compFocusedTertiary_buf__selector : int32 = valueDeserializer.readInt8() - let compFocusedTertiary_buf_ : Color | number | string | Resource | undefined - if (compFocusedTertiary_buf__selector == 0) { - compFocusedTertiary_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (compFocusedTertiary_buf__selector == 1) { - compFocusedTertiary_buf_ = (valueDeserializer.readNumber() as number) + maxLines_buf = (valueDeserializer.readNumber() as number) + } + const maxLines_result : number | undefined = maxLines_buf + const lineHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lineHeight_buf : number | string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (lineHeight_buf_runtimeType)) + { + const lineHeight_buf__selector : int32 = valueDeserializer.readInt8() + let lineHeight_buf_ : number | string | Resource | undefined + if (lineHeight_buf__selector == 0) { + lineHeight_buf_ = (valueDeserializer.readNumber() as number) } - else if (compFocusedTertiary_buf__selector == 2) { - compFocusedTertiary_buf_ = (valueDeserializer.readString() as string) + else if (lineHeight_buf__selector == 1) { + lineHeight_buf_ = (valueDeserializer.readString() as string) } - else if (compFocusedTertiary_buf__selector == 3) { - compFocusedTertiary_buf_ = valueDeserializer.readResource() + else if (lineHeight_buf__selector == 2) { + lineHeight_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compFocusedTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for lineHeight_buf_ has to be chosen through deserialisation.") } - compFocusedTertiary_buf = (compFocusedTertiary_buf_ as Color | number | string | Resource) + lineHeight_buf = (lineHeight_buf_ as number | string | Resource) } - const compFocusedTertiary_result : ResourceColor | undefined = compFocusedTertiary_buf - const interactiveHover_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let interactiveHover_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (interactiveHover_buf_runtimeType)) + const lineHeight_result : number | string | Resource | undefined = lineHeight_buf + const baselineOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let baselineOffset_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (baselineOffset_buf_runtimeType)) { - const interactiveHover_buf__selector : int32 = valueDeserializer.readInt8() - let interactiveHover_buf_ : Color | number | string | Resource | undefined - if (interactiveHover_buf__selector == 0) { - interactiveHover_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (interactiveHover_buf__selector == 1) { - interactiveHover_buf_ = (valueDeserializer.readNumber() as number) - } - else if (interactiveHover_buf__selector == 2) { - interactiveHover_buf_ = (valueDeserializer.readString() as string) + const baselineOffset_buf__selector : int32 = valueDeserializer.readInt8() + let baselineOffset_buf_ : number | string | undefined + if (baselineOffset_buf__selector == 0) { + baselineOffset_buf_ = (valueDeserializer.readNumber() as number) } - else if (interactiveHover_buf__selector == 3) { - interactiveHover_buf_ = valueDeserializer.readResource() + else if (baselineOffset_buf__selector == 1) { + baselineOffset_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for interactiveHover_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for baselineOffset_buf_ has to be chosen through deserialisation.") } - interactiveHover_buf = (interactiveHover_buf_ as Color | number | string | Resource) + baselineOffset_buf = (baselineOffset_buf_ as number | string) } - const interactiveHover_result : ResourceColor | undefined = interactiveHover_buf - const interactivePressed_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let interactivePressed_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (interactivePressed_buf_runtimeType)) + const baselineOffset_result : number | string | undefined = baselineOffset_buf + const textCase_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textCase_buf : number | TextCase | undefined + if ((RuntimeType.UNDEFINED) != (textCase_buf_runtimeType)) { - const interactivePressed_buf__selector : int32 = valueDeserializer.readInt8() - let interactivePressed_buf_ : Color | number | string | Resource | undefined - if (interactivePressed_buf__selector == 0) { - interactivePressed_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (interactivePressed_buf__selector == 1) { - interactivePressed_buf_ = (valueDeserializer.readNumber() as number) - } - else if (interactivePressed_buf__selector == 2) { - interactivePressed_buf_ = (valueDeserializer.readString() as string) + const textCase_buf__selector : int32 = valueDeserializer.readInt8() + let textCase_buf_ : number | TextCase | undefined + if (textCase_buf__selector == 0) { + textCase_buf_ = (valueDeserializer.readNumber() as number) } - else if (interactivePressed_buf__selector == 3) { - interactivePressed_buf_ = valueDeserializer.readResource() + else if (textCase_buf__selector == 1) { + textCase_buf_ = TypeChecker.TextCase_FromNumeric(valueDeserializer.readInt32()) } else { - throw new Error("One of the branches for interactivePressed_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for textCase_buf_ has to be chosen through deserialisation.") } - interactivePressed_buf = (interactivePressed_buf_ as Color | number | string | Resource) + textCase_buf = (textCase_buf_ as number | TextCase) } - const interactivePressed_result : ResourceColor | undefined = interactivePressed_buf - const interactiveFocus_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let interactiveFocus_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (interactiveFocus_buf_runtimeType)) + const textCase_result : number | TextCase | undefined = textCase_buf + const textIndent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textIndent_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (textIndent_buf_runtimeType)) { - const interactiveFocus_buf__selector : int32 = valueDeserializer.readInt8() - let interactiveFocus_buf_ : Color | number | string | Resource | undefined - if (interactiveFocus_buf__selector == 0) { - interactiveFocus_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const textIndent_buf__selector : int32 = valueDeserializer.readInt8() + let textIndent_buf_ : number | string | undefined + if (textIndent_buf__selector == 0) { + textIndent_buf_ = (valueDeserializer.readNumber() as number) } - else if (interactiveFocus_buf__selector == 1) { - interactiveFocus_buf_ = (valueDeserializer.readNumber() as number) + else if (textIndent_buf__selector == 1) { + textIndent_buf_ = (valueDeserializer.readString() as string) } - else if (interactiveFocus_buf__selector == 2) { - interactiveFocus_buf_ = (valueDeserializer.readString() as string) + else { + throw new Error("One of the branches for textIndent_buf_ has to be chosen through deserialisation.") + } + textIndent_buf = (textIndent_buf_ as number | string) + } + const textIndent_result : number | string | undefined = textIndent_buf + const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let wordBreak_buf : WordBreak | undefined + if ((RuntimeType.UNDEFINED) != (wordBreak_buf_runtimeType)) + { + wordBreak_buf = TypeChecker.WordBreak_FromNumeric(valueDeserializer.readInt32()) + } + const wordBreak_result : WordBreak | undefined = wordBreak_buf + let value : MeasureOptions = ({textContent: textContent_result, constraintWidth: constraintWidth_result, fontSize: fontSize_result, fontStyle: fontStyle_result, fontWeight: fontWeight_result, fontFamily: fontFamily_result, letterSpacing: letterSpacing_result, textAlign: textAlign_result, overflow: overflow_result, maxLines: maxLines_result, lineHeight: lineHeight_result, baselineOffset: baselineOffset_result, textCase: textCase_result, textIndent: textIndent_result, wordBreak: wordBreak_result} as MeasureOptions) + return value + } + public readMenuElement(): MenuElement { + let valueDeserializer : Deserializer = this + const value_buf_selector : int32 = valueDeserializer.readInt8() + let value_buf : string | Resource | undefined + if (value_buf_selector == 0) { + value_buf = (valueDeserializer.readString() as string) + } + else if (value_buf_selector == 1) { + value_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + } + const value_result : ResourceStr = (value_buf as string | Resource) + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + { + const icon_buf__selector : int32 = valueDeserializer.readInt8() + let icon_buf_ : string | Resource | undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) } - else if (interactiveFocus_buf__selector == 3) { - interactiveFocus_buf_ = valueDeserializer.readResource() + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for interactiveFocus_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") } - interactiveFocus_buf = (interactiveFocus_buf_ as Color | number | string | Resource) + icon_buf = (icon_buf_ as string | Resource) } - const interactiveFocus_result : ResourceColor | undefined = interactiveFocus_buf - const interactiveActive_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let interactiveActive_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (interactiveActive_buf_runtimeType)) + const icon_result : ResourceStr | undefined = icon_buf + const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let symbolIcon_buf : SymbolGlyphModifier | undefined + if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) { - const interactiveActive_buf__selector : int32 = valueDeserializer.readInt8() - let interactiveActive_buf_ : Color | number | string | Resource | undefined - if (interactiveActive_buf__selector == 0) { - interactiveActive_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (interactiveActive_buf__selector == 1) { - interactiveActive_buf_ = (valueDeserializer.readNumber() as number) - } - else if (interactiveActive_buf__selector == 2) { - interactiveActive_buf_ = (valueDeserializer.readString() as string) - } - else if (interactiveActive_buf__selector == 3) { - interactiveActive_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for interactiveActive_buf_ has to be chosen through deserialisation.") - } - interactiveActive_buf = (interactiveActive_buf_ as Color | number | string | Resource) + symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() } - const interactiveActive_result : ResourceColor | undefined = interactiveActive_buf - const interactiveSelect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let interactiveSelect_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (interactiveSelect_buf_runtimeType)) + const symbolIcon_result : SymbolGlyphModifier | undefined = symbolIcon_buf + const enabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enabled_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enabled_buf_runtimeType)) { - const interactiveSelect_buf__selector : int32 = valueDeserializer.readInt8() - let interactiveSelect_buf_ : Color | number | string | Resource | undefined - if (interactiveSelect_buf__selector == 0) { - interactiveSelect_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (interactiveSelect_buf__selector == 1) { - interactiveSelect_buf_ = (valueDeserializer.readNumber() as number) - } - else if (interactiveSelect_buf__selector == 2) { - interactiveSelect_buf_ = (valueDeserializer.readString() as string) + enabled_buf = valueDeserializer.readBoolean() + } + const enabled_result : boolean | undefined = enabled_buf + const action_result : (() => void) = valueDeserializer.readCallback_Void() + let value : MenuElement = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, enabled: enabled_result, action: action_result} as MenuElement) + return value + } + public readMenuItemConfiguration(): MenuItemConfiguration { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return MenuItemConfigurationInternal.fromPtr(ptr) + } + public readMenuItemGroupOptions(): MenuItemGroupOptions { + let valueDeserializer : Deserializer = this + const header_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let header_buf : ResourceStr | CustomBuilder | undefined + if ((RuntimeType.UNDEFINED) != (header_buf_runtimeType)) + { + const header_buf__selector : int32 = valueDeserializer.readInt8() + let header_buf_ : ResourceStr | CustomBuilder | undefined + if (header_buf__selector == 0) { + const header_buf__u_selector : int32 = valueDeserializer.readInt8() + let header_buf__u : string | Resource | undefined + if (header_buf__u_selector == 0) { + header_buf__u = (valueDeserializer.readString() as string) + } + else if (header_buf__u_selector == 1) { + header_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for header_buf__u has to be chosen through deserialisation.") + } + header_buf_ = (header_buf__u as string | Resource) } - else if (interactiveSelect_buf__selector == 3) { - interactiveSelect_buf_ = valueDeserializer.readResource() + else if (header_buf__selector == 1) { + header_buf_ = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) } else { - throw new Error("One of the branches for interactiveSelect_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for header_buf_ has to be chosen through deserialisation.") } - interactiveSelect_buf = (interactiveSelect_buf_ as Color | number | string | Resource) + header_buf = (header_buf_ as ResourceStr | CustomBuilder) } - const interactiveSelect_result : ResourceColor | undefined = interactiveSelect_buf - const interactiveClick_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let interactiveClick_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (interactiveClick_buf_runtimeType)) + const header_result : ResourceStr | CustomBuilder | undefined = header_buf + const footer_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let footer_buf : ResourceStr | CustomBuilder | undefined + if ((RuntimeType.UNDEFINED) != (footer_buf_runtimeType)) { - const interactiveClick_buf__selector : int32 = valueDeserializer.readInt8() - let interactiveClick_buf_ : Color | number | string | Resource | undefined - if (interactiveClick_buf__selector == 0) { - interactiveClick_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (interactiveClick_buf__selector == 1) { - interactiveClick_buf_ = (valueDeserializer.readNumber() as number) - } - else if (interactiveClick_buf__selector == 2) { - interactiveClick_buf_ = (valueDeserializer.readString() as string) + const footer_buf__selector : int32 = valueDeserializer.readInt8() + let footer_buf_ : ResourceStr | CustomBuilder | undefined + if (footer_buf__selector == 0) { + const footer_buf__u_selector : int32 = valueDeserializer.readInt8() + let footer_buf__u : string | Resource | undefined + if (footer_buf__u_selector == 0) { + footer_buf__u = (valueDeserializer.readString() as string) + } + else if (footer_buf__u_selector == 1) { + footer_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for footer_buf__u has to be chosen through deserialisation.") + } + footer_buf_ = (footer_buf__u as string | Resource) } - else if (interactiveClick_buf__selector == 3) { - interactiveClick_buf_ = valueDeserializer.readResource() + else if (footer_buf__selector == 1) { + footer_buf_ = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) } else { - throw new Error("One of the branches for interactiveClick_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for footer_buf_ has to be chosen through deserialisation.") } - interactiveClick_buf = (interactiveClick_buf_ as Color | number | string | Resource) + footer_buf = (footer_buf_ as ResourceStr | CustomBuilder) } - const interactiveClick_result : ResourceColor | undefined = interactiveClick_buf - let value : CustomColors = ({brand: brand_result, warning: warning_result, alert: alert_result, confirm: confirm_result, fontPrimary: fontPrimary_result, fontSecondary: fontSecondary_result, fontTertiary: fontTertiary_result, fontFourth: fontFourth_result, fontEmphasize: fontEmphasize_result, fontOnPrimary: fontOnPrimary_result, fontOnSecondary: fontOnSecondary_result, fontOnTertiary: fontOnTertiary_result, fontOnFourth: fontOnFourth_result, iconPrimary: iconPrimary_result, iconSecondary: iconSecondary_result, iconTertiary: iconTertiary_result, iconFourth: iconFourth_result, iconEmphasize: iconEmphasize_result, iconSubEmphasize: iconSubEmphasize_result, iconOnPrimary: iconOnPrimary_result, iconOnSecondary: iconOnSecondary_result, iconOnTertiary: iconOnTertiary_result, iconOnFourth: iconOnFourth_result, backgroundPrimary: backgroundPrimary_result, backgroundSecondary: backgroundSecondary_result, backgroundTertiary: backgroundTertiary_result, backgroundFourth: backgroundFourth_result, backgroundEmphasize: backgroundEmphasize_result, compForegroundPrimary: compForegroundPrimary_result, compBackgroundPrimary: compBackgroundPrimary_result, compBackgroundPrimaryTran: compBackgroundPrimaryTran_result, compBackgroundPrimaryContrary: compBackgroundPrimaryContrary_result, compBackgroundGray: compBackgroundGray_result, compBackgroundSecondary: compBackgroundSecondary_result, compBackgroundTertiary: compBackgroundTertiary_result, compBackgroundEmphasize: compBackgroundEmphasize_result, compBackgroundNeutral: compBackgroundNeutral_result, compEmphasizeSecondary: compEmphasizeSecondary_result, compEmphasizeTertiary: compEmphasizeTertiary_result, compDivider: compDivider_result, compCommonContrary: compCommonContrary_result, compBackgroundFocus: compBackgroundFocus_result, compFocusedPrimary: compFocusedPrimary_result, compFocusedSecondary: compFocusedSecondary_result, compFocusedTertiary: compFocusedTertiary_result, interactiveHover: interactiveHover_result, interactivePressed: interactivePressed_result, interactiveFocus: interactiveFocus_result, interactiveActive: interactiveActive_result, interactiveSelect: interactiveSelect_result, interactiveClick: interactiveClick_result} as CustomColors) + const footer_result : ResourceStr | CustomBuilder | undefined = footer_buf + let value : MenuItemGroupOptions = ({header: header_result, footer: footer_result} as MenuItemGroupOptions) return value } - readDataPanelShadowOptions(): DataPanelShadowOptions { + public readMenuItemOptions(): MenuItemOptions { let valueDeserializer : Deserializer = this - const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf : number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) + const startIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startIcon_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (startIcon_buf_runtimeType)) { - const radius_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf_ : number | Resource | undefined - if (radius_buf__selector == 0) { - radius_buf_ = (valueDeserializer.readNumber() as number) + const startIcon_buf__selector : int32 = valueDeserializer.readInt8() + let startIcon_buf_ : string | Resource | undefined + if (startIcon_buf__selector == 0) { + startIcon_buf_ = (valueDeserializer.readString() as string) } - else if (radius_buf__selector == 1) { - radius_buf_ = valueDeserializer.readResource() + else if (startIcon_buf__selector == 1) { + startIcon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for startIcon_buf_ has to be chosen through deserialisation.") } - radius_buf = (radius_buf_ as number | Resource) + startIcon_buf = (startIcon_buf_ as string | Resource) } - const radius_result : number | Resource | undefined = radius_buf - const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offsetX_buf : number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (offsetX_buf_runtimeType)) + const startIcon_result : ResourceStr | undefined = startIcon_buf + const symbolStartIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let symbolStartIcon_buf : SymbolGlyphModifier | undefined + if ((RuntimeType.UNDEFINED) != (symbolStartIcon_buf_runtimeType)) { - const offsetX_buf__selector : int32 = valueDeserializer.readInt8() - let offsetX_buf_ : number | Resource | undefined - if (offsetX_buf__selector == 0) { - offsetX_buf_ = (valueDeserializer.readNumber() as number) + symbolStartIcon_buf = valueDeserializer.readSymbolGlyphModifier() + } + const symbolStartIcon_result : SymbolGlyphModifier | undefined = symbolStartIcon_buf + const content_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let content_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (content_buf_runtimeType)) + { + const content_buf__selector : int32 = valueDeserializer.readInt8() + let content_buf_ : string | Resource | undefined + if (content_buf__selector == 0) { + content_buf_ = (valueDeserializer.readString() as string) } - else if (offsetX_buf__selector == 1) { - offsetX_buf_ = valueDeserializer.readResource() + else if (content_buf__selector == 1) { + content_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offsetX_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for content_buf_ has to be chosen through deserialisation.") } - offsetX_buf = (offsetX_buf_ as number | Resource) + content_buf = (content_buf_ as string | Resource) } - const offsetX_result : number | Resource | undefined = offsetX_buf - const offsetY_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offsetY_buf : number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (offsetY_buf_runtimeType)) + const content_result : ResourceStr | undefined = content_buf + const endIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let endIcon_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (endIcon_buf_runtimeType)) { - const offsetY_buf__selector : int32 = valueDeserializer.readInt8() - let offsetY_buf_ : number | Resource | undefined - if (offsetY_buf__selector == 0) { - offsetY_buf_ = (valueDeserializer.readNumber() as number) + const endIcon_buf__selector : int32 = valueDeserializer.readInt8() + let endIcon_buf_ : string | Resource | undefined + if (endIcon_buf__selector == 0) { + endIcon_buf_ = (valueDeserializer.readString() as string) } - else if (offsetY_buf__selector == 1) { - offsetY_buf_ = valueDeserializer.readResource() + else if (endIcon_buf__selector == 1) { + endIcon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offsetY_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for endIcon_buf_ has to be chosen through deserialisation.") } - offsetY_buf = (offsetY_buf_ as number | Resource) + endIcon_buf = (endIcon_buf_ as string | Resource) } - const offsetY_result : number | Resource | undefined = offsetY_buf - const colors_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colors_buf : Array | undefined - if ((RuntimeType.UNDEFINED) != (colors_buf_runtimeType)) + const endIcon_result : ResourceStr | undefined = endIcon_buf + const symbolEndIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let symbolEndIcon_buf : SymbolGlyphModifier | undefined + if ((RuntimeType.UNDEFINED) != (symbolEndIcon_buf_runtimeType)) { - const colors_buf__length : int32 = valueDeserializer.readInt32() - let colors_buf_ : Array = new Array(colors_buf__length) - for (let colors_buf__i = 0; colors_buf__i < colors_buf__length; colors_buf__i++) { - const colors_buf__buf_selector : int32 = valueDeserializer.readInt8() - let colors_buf__buf : ResourceColor | LinearGradient | undefined - if (colors_buf__buf_selector == 0) { - const colors_buf__buf_u_selector : int32 = valueDeserializer.readInt8() - let colors_buf__buf_u : Color | number | string | Resource | undefined - if (colors_buf__buf_u_selector == 0) { - colors_buf__buf_u = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (colors_buf__buf_u_selector == 1) { - colors_buf__buf_u = (valueDeserializer.readNumber() as number) - } - else if (colors_buf__buf_u_selector == 2) { - colors_buf__buf_u = (valueDeserializer.readString() as string) - } - else if (colors_buf__buf_u_selector == 3) { - colors_buf__buf_u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for colors_buf__buf_u has to be chosen through deserialisation.") - } - colors_buf__buf = (colors_buf__buf_u as Color | number | string | Resource) - } - else if (colors_buf__buf_selector == 1) { - colors_buf__buf = (valueDeserializer.readLinearGradient() as LinearGradient) - } - else { - throw new Error("One of the branches for colors_buf__buf has to be chosen through deserialisation.") - } - colors_buf_[colors_buf__i] = (colors_buf__buf as ResourceColor | LinearGradient) + symbolEndIcon_buf = valueDeserializer.readSymbolGlyphModifier() + } + const symbolEndIcon_result : SymbolGlyphModifier | undefined = symbolEndIcon_buf + const labelInfo_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let labelInfo_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (labelInfo_buf_runtimeType)) + { + const labelInfo_buf__selector : int32 = valueDeserializer.readInt8() + let labelInfo_buf_ : string | Resource | undefined + if (labelInfo_buf__selector == 0) { + labelInfo_buf_ = (valueDeserializer.readString() as string) } - colors_buf = colors_buf_ + else if (labelInfo_buf__selector == 1) { + labelInfo_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for labelInfo_buf_ has to be chosen through deserialisation.") + } + labelInfo_buf = (labelInfo_buf_ as string | Resource) } - const colors_result : Array | undefined = colors_buf - let value : DataPanelShadowOptions = ({radius: radius_result, offsetX: offsetX_result, offsetY: offsetY_result, colors: colors_result} as DataPanelShadowOptions) + const labelInfo_result : ResourceStr | undefined = labelInfo_buf + const builder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let builder_buf : CustomBuilder | undefined + if ((RuntimeType.UNDEFINED) != (builder_buf_runtimeType)) + { + builder_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + } + const builder_result : CustomBuilder | undefined = builder_buf + let value : MenuItemOptions = ({startIcon: startIcon_result, symbolStartIcon: symbolStartIcon_result, content: content_result, endIcon: endIcon_result, symbolEndIcon: symbolEndIcon_result, labelInfo: labelInfo_result, builder: builder_result} as MenuItemOptions) return value } - readDecoration(): Decoration { + public readNativeXComponentParameters(): NativeXComponentParameters { let valueDeserializer : Deserializer = this - const textDecoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textDecoration_buf : TextDecorationType | undefined - if ((RuntimeType.UNDEFINED) != (textDecoration_buf_runtimeType)) + const type_result : XComponentType = TypeChecker.XComponentType_FromNumeric(valueDeserializer.readInt32()) + const imageAIOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let imageAIOptions_buf : ImageAIOptions | undefined + if ((RuntimeType.UNDEFINED) != (imageAIOptions_buf_runtimeType)) { - textDecoration_buf = TypeChecker.TextDecorationType_FromNumeric(valueDeserializer.readInt32()) + imageAIOptions_buf = valueDeserializer.readImageAIOptions() } - const textDecoration_result : TextDecorationType | undefined = textDecoration_buf - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : common2D.Color | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) - { - color_buf = valueDeserializer.readcommon2D_Color() + const imageAIOptions_result : ImageAIOptions | undefined = imageAIOptions_buf + let value : NativeXComponentParameters = ({type: type_result, imageAIOptions: imageAIOptions_result} as NativeXComponentParameters) + return value + } + public readNavDestinationCommonTitle(): NavDestinationCommonTitle { + let valueDeserializer : Deserializer = this + const main_buf_selector : int32 = valueDeserializer.readInt8() + let main_buf : string | Resource | undefined + if (main_buf_selector == 0) { + main_buf = (valueDeserializer.readString() as string) } - const color_result : common2D.Color | undefined = color_buf - const decorationStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let decorationStyle_buf : TextDecorationStyle | undefined - if ((RuntimeType.UNDEFINED) != (decorationStyle_buf_runtimeType)) - { - decorationStyle_buf = TypeChecker.TextDecorationStyle_FromNumeric(valueDeserializer.readInt32()) + else if (main_buf_selector == 1) { + main_buf = valueDeserializer.readResource() } - const decorationStyle_result : TextDecorationStyle | undefined = decorationStyle_buf - const decorationThicknessScale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let decorationThicknessScale_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (decorationThicknessScale_buf_runtimeType)) - { - decorationThicknessScale_buf = (valueDeserializer.readNumber() as number) + else { + throw new Error("One of the branches for main_buf has to be chosen through deserialisation.") } - const decorationThicknessScale_result : number | undefined = decorationThicknessScale_buf - let value : Decoration = ({textDecoration: textDecoration_result, color: color_result, decorationStyle: decorationStyle_result, decorationThicknessScale: decorationThicknessScale_result} as Decoration) + const main_result : string | Resource = (main_buf as string | Resource) + const sub_buf_selector : int32 = valueDeserializer.readInt8() + let sub_buf : string | Resource | undefined + if (sub_buf_selector == 0) { + sub_buf = (valueDeserializer.readString() as string) + } + else if (sub_buf_selector == 1) { + sub_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for sub_buf has to be chosen through deserialisation.") + } + const sub_result : string | Resource = (sub_buf as string | Resource) + let value : NavDestinationCommonTitle = ({main: main_result, sub: sub_result} as NavDestinationCommonTitle) return value } - readDecorationStyle(): DecorationStyle { + public readNavDestinationContext(): NavDestinationContext { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() - return DecorationStyleInternal.fromPtr(ptr) + return NavDestinationContextInternal.fromPtr(ptr) } - readDecorationStyleInterface(): DecorationStyleInterface { + public readNavigationCommonTitle(): NavigationCommonTitle { let valueDeserializer : Deserializer = this - const type_result : TextDecorationType = TypeChecker.TextDecorationType_FromNumeric(valueDeserializer.readInt32()) - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) - { - const color_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf_ : Color | number | string | Resource | undefined - if (color_buf__selector == 0) { - color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") - } - color_buf = (color_buf_ as Color | number | string | Resource) + const main_buf_selector : int32 = valueDeserializer.readInt8() + let main_buf : string | Resource | undefined + if (main_buf_selector == 0) { + main_buf = (valueDeserializer.readString() as string) } - const color_result : ResourceColor | undefined = color_buf - const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf : TextDecorationStyle | undefined - if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) - { - style_buf = TypeChecker.TextDecorationStyle_FromNumeric(valueDeserializer.readInt32()) + else if (main_buf_selector == 1) { + main_buf = valueDeserializer.readResource() } - const style_result : TextDecorationStyle | undefined = style_buf - let value : DecorationStyleInterface = ({type: type_result, color: color_result, style: style_result} as DecorationStyleInterface) + else { + throw new Error("One of the branches for main_buf has to be chosen through deserialisation.") + } + const main_result : string | Resource = (main_buf as string | Resource) + const sub_buf_selector : int32 = valueDeserializer.readInt8() + let sub_buf : string | Resource | undefined + if (sub_buf_selector == 0) { + sub_buf = (valueDeserializer.readString() as string) + } + else if (sub_buf_selector == 1) { + sub_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for sub_buf has to be chosen through deserialisation.") + } + const sub_result : string | Resource = (sub_buf as string | Resource) + let value : NavigationCommonTitle = ({main: main_result, sub: sub_result} as NavigationCommonTitle) return value } - readDecorationStyleResult(): DecorationStyleResult { + public readNavigationMenuItem(): NavigationMenuItem { let valueDeserializer : Deserializer = this - const type_result : TextDecorationType = TypeChecker.TextDecorationType_FromNumeric(valueDeserializer.readInt32()) - const color_buf_selector : int32 = valueDeserializer.readInt8() - let color_buf : Color | number | string | Resource | undefined - if (color_buf_selector == 0) { - color_buf = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const value_buf_selector : int32 = valueDeserializer.readInt8() + let value_buf : string | Resource | undefined + if (value_buf_selector == 0) { + value_buf = (valueDeserializer.readString() as string) } - else if (color_buf_selector == 1) { - color_buf = (valueDeserializer.readNumber() as number) + else if (value_buf_selector == 1) { + value_buf = valueDeserializer.readResource() } - else if (color_buf_selector == 2) { - color_buf = (valueDeserializer.readString() as string) + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") } - else if (color_buf_selector == 3) { - color_buf = valueDeserializer.readResource() + const value_result : string | Resource = (value_buf as string | Resource) + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf : string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + { + const icon_buf__selector : int32 = valueDeserializer.readInt8() + let icon_buf_ : string | Resource | undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) + } + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + } + icon_buf = (icon_buf_ as string | Resource) } - else { - throw new Error("One of the branches for color_buf has to be chosen through deserialisation.") + const icon_result : string | Resource | undefined = icon_buf + const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let symbolIcon_buf : SymbolGlyphModifier | undefined + if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) + { + symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() } - const color_result : ResourceColor = (color_buf as Color | number | string | Resource) - const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf : TextDecorationStyle | undefined - if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + const symbolIcon_result : SymbolGlyphModifier | undefined = symbolIcon_buf + const isEnabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isEnabled_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (isEnabled_buf_runtimeType)) { - style_buf = TypeChecker.TextDecorationStyle_FromNumeric(valueDeserializer.readInt32()) + isEnabled_buf = valueDeserializer.readBoolean() } - const style_result : TextDecorationStyle | undefined = style_buf - let value : DecorationStyleResult = ({type: type_result, color: color_result, style: style_result} as DecorationStyleResult) + const isEnabled_result : boolean | undefined = isEnabled_buf + const action_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let action_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (action_buf_runtimeType)) + { + action_buf = valueDeserializer.readCallback_Void() + } + const action_result : (() => void) | undefined = action_buf + let value : NavigationMenuItem = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, isEnabled: isEnabled_result, action: action_result} as NavigationMenuItem) return value } - readDividerOptions(): DividerOptions { + public readNonCurrentDayStyle(): NonCurrentDayStyle { let valueDeserializer : Deserializer = this - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + const nonCurrentMonthDayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let nonCurrentMonthDayColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (nonCurrentMonthDayColor_buf_runtimeType)) { - const strokeWidth_buf__selector : int32 = valueDeserializer.readInt8() - let strokeWidth_buf_ : string | number | Resource | undefined - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_ = (valueDeserializer.readString() as string) + const nonCurrentMonthDayColor_buf__selector : int32 = valueDeserializer.readInt8() + let nonCurrentMonthDayColor_buf_ : Color | number | string | Resource | undefined + if (nonCurrentMonthDayColor_buf__selector == 0) { + nonCurrentMonthDayColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + else if (nonCurrentMonthDayColor_buf__selector == 1) { + nonCurrentMonthDayColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_ = valueDeserializer.readResource() + else if (nonCurrentMonthDayColor_buf__selector == 2) { + nonCurrentMonthDayColor_buf_ = (valueDeserializer.readString() as string) + } + else if (nonCurrentMonthDayColor_buf__selector == 3) { + nonCurrentMonthDayColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for nonCurrentMonthDayColor_buf_ has to be chosen through deserialisation.") } - strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) + nonCurrentMonthDayColor_buf = (nonCurrentMonthDayColor_buf_ as Color | number | string | Resource) } - const strokeWidth_result : Dimension | undefined = strokeWidth_buf - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const nonCurrentMonthDayColor_result : ResourceColor | undefined = nonCurrentMonthDayColor_buf + const nonCurrentMonthLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let nonCurrentMonthLunarColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (nonCurrentMonthLunarColor_buf_runtimeType)) { - const color_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf_ : Color | number | string | Resource | undefined - if (color_buf__selector == 0) { - color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + const nonCurrentMonthLunarColor_buf__selector : int32 = valueDeserializer.readInt8() + let nonCurrentMonthLunarColor_buf_ : Color | number | string | Resource | undefined + if (nonCurrentMonthLunarColor_buf__selector == 0) { + nonCurrentMonthLunarColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else if (nonCurrentMonthLunarColor_buf__selector == 1) { + nonCurrentMonthLunarColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (nonCurrentMonthLunarColor_buf__selector == 2) { + nonCurrentMonthLunarColor_buf_ = (valueDeserializer.readString() as string) + } + else if (nonCurrentMonthLunarColor_buf__selector == 3) { + nonCurrentMonthLunarColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for nonCurrentMonthLunarColor_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) + nonCurrentMonthLunarColor_buf = (nonCurrentMonthLunarColor_buf_ as Color | number | string | Resource) } - const color_result : ResourceColor | undefined = color_buf - const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startMargin_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + const nonCurrentMonthLunarColor_result : ResourceColor | undefined = nonCurrentMonthLunarColor_buf + const nonCurrentMonthWorkDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let nonCurrentMonthWorkDayMarkColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (nonCurrentMonthWorkDayMarkColor_buf_runtimeType)) { - const startMargin_buf__selector : int32 = valueDeserializer.readInt8() - let startMargin_buf_ : string | number | Resource | undefined - if (startMargin_buf__selector == 0) { - startMargin_buf_ = (valueDeserializer.readString() as string) + const nonCurrentMonthWorkDayMarkColor_buf__selector : int32 = valueDeserializer.readInt8() + let nonCurrentMonthWorkDayMarkColor_buf_ : Color | number | string | Resource | undefined + if (nonCurrentMonthWorkDayMarkColor_buf__selector == 0) { + nonCurrentMonthWorkDayMarkColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (startMargin_buf__selector == 1) { - startMargin_buf_ = (valueDeserializer.readNumber() as number) + else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 1) { + nonCurrentMonthWorkDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (startMargin_buf__selector == 2) { - startMargin_buf_ = valueDeserializer.readResource() + else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 2) { + nonCurrentMonthWorkDayMarkColor_buf_ = (valueDeserializer.readString() as string) + } + else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 3) { + nonCurrentMonthWorkDayMarkColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for nonCurrentMonthWorkDayMarkColor_buf_ has to be chosen through deserialisation.") } - startMargin_buf = (startMargin_buf_ as string | number | Resource) + nonCurrentMonthWorkDayMarkColor_buf = (nonCurrentMonthWorkDayMarkColor_buf_ as Color | number | string | Resource) } - const startMargin_result : Dimension | undefined = startMargin_buf - const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let endMargin_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) + const nonCurrentMonthWorkDayMarkColor_result : ResourceColor | undefined = nonCurrentMonthWorkDayMarkColor_buf + const nonCurrentMonthOffDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let nonCurrentMonthOffDayMarkColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (nonCurrentMonthOffDayMarkColor_buf_runtimeType)) { - const endMargin_buf__selector : int32 = valueDeserializer.readInt8() - let endMargin_buf_ : string | number | Resource | undefined - if (endMargin_buf__selector == 0) { - endMargin_buf_ = (valueDeserializer.readString() as string) + const nonCurrentMonthOffDayMarkColor_buf__selector : int32 = valueDeserializer.readInt8() + let nonCurrentMonthOffDayMarkColor_buf_ : Color | number | string | Resource | undefined + if (nonCurrentMonthOffDayMarkColor_buf__selector == 0) { + nonCurrentMonthOffDayMarkColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (endMargin_buf__selector == 1) { - endMargin_buf_ = (valueDeserializer.readNumber() as number) + else if (nonCurrentMonthOffDayMarkColor_buf__selector == 1) { + nonCurrentMonthOffDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (endMargin_buf__selector == 2) { - endMargin_buf_ = valueDeserializer.readResource() + else if (nonCurrentMonthOffDayMarkColor_buf__selector == 2) { + nonCurrentMonthOffDayMarkColor_buf_ = (valueDeserializer.readString() as string) + } + else if (nonCurrentMonthOffDayMarkColor_buf__selector == 3) { + nonCurrentMonthOffDayMarkColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for nonCurrentMonthOffDayMarkColor_buf_ has to be chosen through deserialisation.") } - endMargin_buf = (endMargin_buf_ as string | number | Resource) + nonCurrentMonthOffDayMarkColor_buf = (nonCurrentMonthOffDayMarkColor_buf_ as Color | number | string | Resource) } - const endMargin_result : Dimension | undefined = endMargin_buf - let value : DividerOptions = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as DividerOptions) + const nonCurrentMonthOffDayMarkColor_result : ResourceColor | undefined = nonCurrentMonthOffDayMarkColor_buf + let value : NonCurrentDayStyle = ({nonCurrentMonthDayColor: nonCurrentMonthDayColor_result, nonCurrentMonthLunarColor: nonCurrentMonthLunarColor_result, nonCurrentMonthWorkDayMarkColor: nonCurrentMonthWorkDayMarkColor_result, nonCurrentMonthOffDayMarkColor: nonCurrentMonthOffDayMarkColor_result} as NonCurrentDayStyle) return value } - readDividerStyle(): DividerStyle { + public readOffscreenCanvasRenderingContext2D(): OffscreenCanvasRenderingContext2D { let valueDeserializer : Deserializer = this - const strokeWidth_buf_selector : int32 = valueDeserializer.readInt8() - let strokeWidth_buf : string | number | Resource | undefined - if (strokeWidth_buf_selector == 0) { - strokeWidth_buf = (valueDeserializer.readString() as string) + let ptr : KPointer = valueDeserializer.readPointer() + return OffscreenCanvasRenderingContext2DInternal.fromPtr(ptr) + } + public readOffset(): Offset { + let valueDeserializer : Deserializer = this + const dx_buf_selector : int32 = valueDeserializer.readInt8() + let dx_buf : string | number | Resource | undefined + if (dx_buf_selector == 0) { + dx_buf = (valueDeserializer.readString() as string) } - else if (strokeWidth_buf_selector == 1) { - strokeWidth_buf = (valueDeserializer.readNumber() as number) + else if (dx_buf_selector == 1) { + dx_buf = (valueDeserializer.readNumber() as number) } - else if (strokeWidth_buf_selector == 2) { - strokeWidth_buf = valueDeserializer.readResource() + else if (dx_buf_selector == 2) { + dx_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for strokeWidth_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for dx_buf has to be chosen through deserialisation.") } - const strokeWidth_result : Length = (strokeWidth_buf as string | number | Resource) - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const dx_result : Length = (dx_buf as string | number | Resource) + const dy_buf_selector : int32 = valueDeserializer.readInt8() + let dy_buf : string | number | Resource | undefined + if (dy_buf_selector == 0) { + dy_buf = (valueDeserializer.readString() as string) + } + else if (dy_buf_selector == 1) { + dy_buf = (valueDeserializer.readNumber() as number) + } + else if (dy_buf_selector == 2) { + dy_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for dy_buf has to be chosen through deserialisation.") + } + const dy_result : Length = (dy_buf as string | number | Resource) + let value : Offset = ({dx: dx_result, dy: dy_result} as Offset) + return value + } + public readOverlayOptions(): OverlayOptions { + let valueDeserializer : Deserializer = this + const align_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let align_buf : Alignment | undefined + if ((RuntimeType.UNDEFINED) != (align_buf_runtimeType)) { - const color_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf_ : Color | number | string | Resource | undefined - if (color_buf__selector == 0) { - color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") - } - color_buf = (color_buf_ as Color | number | string | Resource) + align_buf = TypeChecker.Alignment_FromNumeric(valueDeserializer.readInt32()) } - const color_result : ResourceColor | undefined = color_buf - const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startMargin_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + const align_result : Alignment | undefined = align_buf + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf : OverlayOffset | undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const startMargin_buf__selector : int32 = valueDeserializer.readInt8() - let startMargin_buf_ : string | number | Resource | undefined - if (startMargin_buf__selector == 0) { - startMargin_buf_ = (valueDeserializer.readString() as string) - } - else if (startMargin_buf__selector == 1) { - startMargin_buf_ = (valueDeserializer.readNumber() as number) + offset_buf = valueDeserializer.readOverlayOffset() + } + const offset_result : OverlayOffset | undefined = offset_buf + let value : OverlayOptions = ({align: align_result, offset: offset_result} as OverlayOptions) + return value + } + public readPasswordIcon(): PasswordIcon { + let valueDeserializer : Deserializer = this + const onIconSrc_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onIconSrc_buf : string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (onIconSrc_buf_runtimeType)) + { + const onIconSrc_buf__selector : int32 = valueDeserializer.readInt8() + let onIconSrc_buf_ : string | Resource | undefined + if (onIconSrc_buf__selector == 0) { + onIconSrc_buf_ = (valueDeserializer.readString() as string) } - else if (startMargin_buf__selector == 2) { - startMargin_buf_ = valueDeserializer.readResource() + else if (onIconSrc_buf__selector == 1) { + onIconSrc_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for onIconSrc_buf_ has to be chosen through deserialisation.") } - startMargin_buf = (startMargin_buf_ as string | number | Resource) + onIconSrc_buf = (onIconSrc_buf_ as string | Resource) } - const startMargin_result : Length | undefined = startMargin_buf - const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let endMargin_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) + const onIconSrc_result : string | Resource | undefined = onIconSrc_buf + const offIconSrc_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offIconSrc_buf : string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (offIconSrc_buf_runtimeType)) { - const endMargin_buf__selector : int32 = valueDeserializer.readInt8() - let endMargin_buf_ : string | number | Resource | undefined - if (endMargin_buf__selector == 0) { - endMargin_buf_ = (valueDeserializer.readString() as string) - } - else if (endMargin_buf__selector == 1) { - endMargin_buf_ = (valueDeserializer.readNumber() as number) + const offIconSrc_buf__selector : int32 = valueDeserializer.readInt8() + let offIconSrc_buf_ : string | Resource | undefined + if (offIconSrc_buf__selector == 0) { + offIconSrc_buf_ = (valueDeserializer.readString() as string) } - else if (endMargin_buf__selector == 2) { - endMargin_buf_ = valueDeserializer.readResource() + else if (offIconSrc_buf__selector == 1) { + offIconSrc_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for offIconSrc_buf_ has to be chosen through deserialisation.") } - endMargin_buf = (endMargin_buf_ as string | number | Resource) + offIconSrc_buf = (offIconSrc_buf_ as string | Resource) } - const endMargin_result : Length | undefined = endMargin_buf - let value : DividerStyle = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as DividerStyle) + const offIconSrc_result : string | Resource | undefined = offIconSrc_buf + let value : PasswordIcon = ({onIconSrc: onIconSrc_result, offIconSrc: offIconSrc_result} as PasswordIcon) return value } - readDividerStyleOptions(): DividerStyleOptions { + public readPluginComponentOptions(): PluginComponentOptions { let valueDeserializer : Deserializer = this - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + const template_result : PluginComponentTemplate = valueDeserializer.readPluginComponentTemplate() + const data_result : string = (valueDeserializer.readString() as string) + let value : PluginComponentOptions = ({template: template_result, data: data_result} as PluginComponentOptions) + return value + } + public readRadioStyle(): RadioStyle { + let valueDeserializer : Deserializer = this + const checkedBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let checkedBackgroundColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (checkedBackgroundColor_buf_runtimeType)) { - strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const checkedBackgroundColor_buf__selector : int32 = valueDeserializer.readInt8() + let checkedBackgroundColor_buf_ : Color | number | string | Resource | undefined + if (checkedBackgroundColor_buf__selector == 0) { + checkedBackgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (checkedBackgroundColor_buf__selector == 1) { + checkedBackgroundColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (checkedBackgroundColor_buf__selector == 2) { + checkedBackgroundColor_buf_ = (valueDeserializer.readString() as string) + } + else if (checkedBackgroundColor_buf__selector == 3) { + checkedBackgroundColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for checkedBackgroundColor_buf_ has to be chosen through deserialisation.") + } + checkedBackgroundColor_buf = (checkedBackgroundColor_buf_ as Color | number | string | Resource) } - const strokeWidth_result : LengthMetrics | undefined = strokeWidth_buf - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const checkedBackgroundColor_result : ResourceColor | undefined = checkedBackgroundColor_buf + const uncheckedBorderColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let uncheckedBorderColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (uncheckedBorderColor_buf_runtimeType)) { - const color_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf_ : Color | number | string | Resource | undefined - if (color_buf__selector == 0) { - color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const uncheckedBorderColor_buf__selector : int32 = valueDeserializer.readInt8() + let uncheckedBorderColor_buf_ : Color | number | string | Resource | undefined + if (uncheckedBorderColor_buf__selector == 0) { + uncheckedBorderColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + else if (uncheckedBorderColor_buf__selector == 1) { + uncheckedBorderColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else if (uncheckedBorderColor_buf__selector == 2) { + uncheckedBorderColor_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (uncheckedBorderColor_buf__selector == 3) { + uncheckedBorderColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for uncheckedBorderColor_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) - } - const color_result : ResourceColor | undefined = color_buf - const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startMargin_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) - { - startMargin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + uncheckedBorderColor_buf = (uncheckedBorderColor_buf_ as Color | number | string | Resource) } - const startMargin_result : LengthMetrics | undefined = startMargin_buf - const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let endMargin_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) + const uncheckedBorderColor_result : ResourceColor | undefined = uncheckedBorderColor_buf + const indicatorColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let indicatorColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (indicatorColor_buf_runtimeType)) { - endMargin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const indicatorColor_buf__selector : int32 = valueDeserializer.readInt8() + let indicatorColor_buf_ : Color | number | string | Resource | undefined + if (indicatorColor_buf__selector == 0) { + indicatorColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (indicatorColor_buf__selector == 1) { + indicatorColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (indicatorColor_buf__selector == 2) { + indicatorColor_buf_ = (valueDeserializer.readString() as string) + } + else if (indicatorColor_buf__selector == 3) { + indicatorColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for indicatorColor_buf_ has to be chosen through deserialisation.") + } + indicatorColor_buf = (indicatorColor_buf_ as Color | number | string | Resource) } - const endMargin_result : LengthMetrics | undefined = endMargin_buf - let value : DividerStyleOptions = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as DividerStyleOptions) + const indicatorColor_result : ResourceColor | undefined = indicatorColor_buf + let value : RadioStyle = ({checkedBackgroundColor: checkedBackgroundColor_result, uncheckedBorderColor: uncheckedBorderColor_result, indicatorColor: indicatorColor_result} as RadioStyle) return value } - readDotIndicator(): DotIndicator { - throw new Error("Can not deserialize builder class") - } - readDragPreviewOptions(): DragPreviewOptions { + public readRectOptions(): RectOptions { let valueDeserializer : Deserializer = this - const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let mode_buf : DragPreviewMode | Array | undefined - if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) { - const mode_buf__selector : int32 = valueDeserializer.readInt8() - let mode_buf_ : DragPreviewMode | Array | undefined - if (mode_buf__selector == 0) { - mode_buf_ = TypeChecker.DragPreviewMode_FromNumeric(valueDeserializer.readInt32()) + const width_buf__selector : int32 = valueDeserializer.readInt8() + let width_buf_ : number | string | undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readNumber() as number) } - else if (mode_buf__selector == 1) { - const mode_buf__u_length : int32 = valueDeserializer.readInt32() - let mode_buf__u : Array = new Array(mode_buf__u_length) - for (let mode_buf__u_i = 0; mode_buf__u_i < mode_buf__u_length; mode_buf__u_i++) { - mode_buf__u[mode_buf__u_i] = TypeChecker.DragPreviewMode_FromNumeric(valueDeserializer.readInt32()) - } - mode_buf_ = mode_buf__u + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for mode_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") } - mode_buf = (mode_buf_ as DragPreviewMode | Array) + width_buf = (width_buf_ as number | string) } - const mode_result : DragPreviewMode | Array | undefined = mode_buf - const modifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let modifier_buf : ImageModifier | undefined - if ((RuntimeType.UNDEFINED) != (modifier_buf_runtimeType)) + const width_result : number | string | undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) { - modifier_buf = valueDeserializer.readImageModifier() + const height_buf__selector : int32 = valueDeserializer.readInt8() + let height_buf_ : number | string | undefined + if (height_buf__selector == 0) { + height_buf_ = (valueDeserializer.readNumber() as number) + } + else if (height_buf__selector == 1) { + height_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + } + height_buf = (height_buf_ as number | string) } - const modifier_result : ImageModifier | undefined = modifier_buf - const numberBadge_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let numberBadge_buf : boolean | number | undefined - if ((RuntimeType.UNDEFINED) != (numberBadge_buf_runtimeType)) + const height_result : number | string | undefined = height_buf + const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let radius_buf : number | string | Array | undefined + if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) { - const numberBadge_buf__selector : int32 = valueDeserializer.readInt8() - let numberBadge_buf_ : boolean | number | undefined - if (numberBadge_buf__selector == 0) { - numberBadge_buf_ = valueDeserializer.readBoolean() + const radius_buf__selector : int32 = valueDeserializer.readInt8() + let radius_buf_ : number | string | Array | undefined + if (radius_buf__selector == 0) { + radius_buf_ = (valueDeserializer.readNumber() as number) } - else if (numberBadge_buf__selector == 1) { - numberBadge_buf_ = (valueDeserializer.readNumber() as number) + else if (radius_buf__selector == 1) { + radius_buf_ = (valueDeserializer.readString() as string) + } + else if (radius_buf__selector == 2) { + const radius_buf__u_length : int32 = valueDeserializer.readInt32() + let radius_buf__u : Array = new Array(radius_buf__u_length) + for (let radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { + const radius_buf__u_buf_selector : int32 = valueDeserializer.readInt8() + let radius_buf__u_buf : number | string | undefined + if (radius_buf__u_buf_selector == 0) { + radius_buf__u_buf = (valueDeserializer.readNumber() as number) + } + else if (radius_buf__u_buf_selector == 1) { + radius_buf__u_buf = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for radius_buf__u_buf has to be chosen through deserialisation.") + } + radius_buf__u[radius_buf__u_i] = (radius_buf__u_buf as number | string) + } + radius_buf_ = radius_buf__u } else { - throw new Error("One of the branches for numberBadge_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") } - numberBadge_buf = (numberBadge_buf_ as boolean | number) + radius_buf = (radius_buf_ as number | string | Array) } - const numberBadge_result : boolean | number | undefined = numberBadge_buf - let value : DragPreviewOptions = ({mode: mode_result, modifier: modifier_result, numberBadge: numberBadge_result} as DragPreviewOptions) + const radius_result : number | string | Array | undefined = radius_buf + let value : RectOptions = ({width: width_result, height: height_result, radius: radius_result} as RectOptions) return value } - readEdges(): Edges { + public readRectShapeOptions(): RectShapeOptions { let valueDeserializer : Deserializer = this - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) { - const top_buf__selector : int32 = valueDeserializer.readInt8() - let top_buf_ : string | number | Resource | undefined - if (top_buf__selector == 0) { - top_buf_ = (valueDeserializer.readString() as string) + const width_buf__selector : int32 = valueDeserializer.readInt8() + let width_buf_ : number | string | undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readNumber() as number) } - else if (top_buf__selector == 1) { - top_buf_ = (valueDeserializer.readNumber() as number) + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readString() as string) } - else if (top_buf__selector == 2) { - top_buf_ = valueDeserializer.readResource() + else { + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + } + width_buf = (width_buf_ as number | string) + } + const width_result : number | string | undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + { + const height_buf__selector : int32 = valueDeserializer.readInt8() + let height_buf_ : number | string | undefined + if (height_buf__selector == 0) { + height_buf_ = (valueDeserializer.readNumber() as number) + } + else if (height_buf__selector == 1) { + height_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") } - top_buf = (top_buf_ as string | number | Resource) + height_buf = (height_buf_ as number | string) } - const top_result : Dimension | undefined = top_buf - const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let left_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) + const height_result : number | string | undefined = height_buf + const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let radius_buf : number | string | Array | undefined + if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) { - const left_buf__selector : int32 = valueDeserializer.readInt8() - let left_buf_ : string | number | Resource | undefined - if (left_buf__selector == 0) { - left_buf_ = (valueDeserializer.readString() as string) + const radius_buf__selector : int32 = valueDeserializer.readInt8() + let radius_buf_ : number | string | Array | undefined + if (radius_buf__selector == 0) { + radius_buf_ = (valueDeserializer.readNumber() as number) } - else if (left_buf__selector == 1) { - left_buf_ = (valueDeserializer.readNumber() as number) + else if (radius_buf__selector == 1) { + radius_buf_ = (valueDeserializer.readString() as string) } - else if (left_buf__selector == 2) { - left_buf_ = valueDeserializer.readResource() + else if (radius_buf__selector == 2) { + const radius_buf__u_length : int32 = valueDeserializer.readInt32() + let radius_buf__u : Array = new Array(radius_buf__u_length) + for (let radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { + const radius_buf__u_buf_selector : int32 = valueDeserializer.readInt8() + let radius_buf__u_buf : number | string | undefined + if (radius_buf__u_buf_selector == 0) { + radius_buf__u_buf = (valueDeserializer.readNumber() as number) + } + else if (radius_buf__u_buf_selector == 1) { + radius_buf__u_buf = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for radius_buf__u_buf has to be chosen through deserialisation.") + } + radius_buf__u[radius_buf__u_i] = (radius_buf__u_buf as number | string) + } + radius_buf_ = radius_buf__u } else { - throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") } - left_buf = (left_buf_ as string | number | Resource) + radius_buf = (radius_buf_ as number | string | Array) } - const left_result : Dimension | undefined = left_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + const radius_result : number | string | Array | undefined = radius_buf + let value : RectShapeOptions = ({width: width_result, height: height_result, radius: radius_result} as RectShapeOptions) + return value + } + public readRefreshOptions(): RefreshOptions { + let valueDeserializer : Deserializer = this + const refreshing_result : boolean = valueDeserializer.readBoolean() + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const bottom_buf__selector : int32 = valueDeserializer.readInt8() - let bottom_buf_ : string | number | Resource | undefined - if (bottom_buf__selector == 0) { - bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (bottom_buf__selector == 1) { - bottom_buf_ = (valueDeserializer.readNumber() as number) + const offset_buf__selector : int32 = valueDeserializer.readInt8() + let offset_buf_ : number | string | undefined + if (offset_buf__selector == 0) { + offset_buf_ = (valueDeserializer.readNumber() as number) } - else if (bottom_buf__selector == 2) { - bottom_buf_ = valueDeserializer.readResource() + else if (offset_buf__selector == 1) { + offset_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for offset_buf_ has to be chosen through deserialisation.") } - bottom_buf = (bottom_buf_ as string | number | Resource) + offset_buf = (offset_buf_ as number | string) } - const bottom_result : Dimension | undefined = bottom_buf - const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let right_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) + const offset_result : number | string | undefined = offset_buf + const friction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let friction_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (friction_buf_runtimeType)) { - const right_buf__selector : int32 = valueDeserializer.readInt8() - let right_buf_ : string | number | Resource | undefined - if (right_buf__selector == 0) { - right_buf_ = (valueDeserializer.readString() as string) - } - else if (right_buf__selector == 1) { - right_buf_ = (valueDeserializer.readNumber() as number) + const friction_buf__selector : int32 = valueDeserializer.readInt8() + let friction_buf_ : number | string | undefined + if (friction_buf__selector == 0) { + friction_buf_ = (valueDeserializer.readNumber() as number) } - else if (right_buf__selector == 2) { - right_buf_ = valueDeserializer.readResource() + else if (friction_buf__selector == 1) { + friction_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for friction_buf_ has to be chosen through deserialisation.") } - right_buf = (right_buf_ as string | number | Resource) - } - const right_result : Dimension | undefined = right_buf - let value : Edges = ({top: top_result, left: left_result, bottom: bottom_result, right: right_result} as Edges) - return value - } - readExpandedMenuItemOptions(): ExpandedMenuItemOptions { - let valueDeserializer : Deserializer = this - const content_buf_selector : int32 = valueDeserializer.readInt8() - let content_buf : string | Resource | undefined - if (content_buf_selector == 0) { - content_buf = (valueDeserializer.readString() as string) - } - else if (content_buf_selector == 1) { - content_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for content_buf has to be chosen through deserialisation.") + friction_buf = (friction_buf_ as number | string) } - const content_result : ResourceStr = (content_buf as string | Resource) - const startIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startIcon_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (startIcon_buf_runtimeType)) + const friction_result : number | string | undefined = friction_buf + const promptText_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let promptText_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (promptText_buf_runtimeType)) { - const startIcon_buf__selector : int32 = valueDeserializer.readInt8() - let startIcon_buf_ : string | Resource | undefined - if (startIcon_buf__selector == 0) { - startIcon_buf_ = (valueDeserializer.readString() as string) + const promptText_buf__selector : int32 = valueDeserializer.readInt8() + let promptText_buf_ : string | Resource | undefined + if (promptText_buf__selector == 0) { + promptText_buf_ = (valueDeserializer.readString() as string) } - else if (startIcon_buf__selector == 1) { - startIcon_buf_ = valueDeserializer.readResource() + else if (promptText_buf__selector == 1) { + promptText_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for startIcon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for promptText_buf_ has to be chosen through deserialisation.") } - startIcon_buf = (startIcon_buf_ as string | Resource) + promptText_buf = (promptText_buf_ as string | Resource) } - const startIcon_result : ResourceStr | undefined = startIcon_buf - const action_result : ((selectedText: Literal_String_plainText) => void) = valueDeserializer.readCallback_Literal_String_plainText_Void() - let value : ExpandedMenuItemOptions = ({content: content_result, startIcon: startIcon_result, action: action_result} as ExpandedMenuItemOptions) + const promptText_result : ResourceStr | undefined = promptText_buf + const builder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let builder_buf : CustomBuilder | undefined + if ((RuntimeType.UNDEFINED) != (builder_buf_runtimeType)) + { + builder_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + } + const builder_result : CustomBuilder | undefined = builder_buf + const refreshingContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let refreshingContent_buf : ComponentContent | undefined + if ((RuntimeType.UNDEFINED) != (refreshingContent_buf_runtimeType)) + { + refreshingContent_buf = (valueDeserializer.readComponentContent() as ComponentContent) + } + const refreshingContent_result : ComponentContent | undefined = refreshingContent_buf + let value : RefreshOptions = ({refreshing: refreshing_result, offset: offset_result, friction: friction_result, promptText: promptText_result, builder: builder_result, refreshingContent: refreshingContent_result} as RefreshOptions) return value } - readFadingEdgeOptions(): FadingEdgeOptions { + public readRestrictedWorker(): RestrictedWorker { let valueDeserializer : Deserializer = this - const fadingEdgeLength_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fadingEdgeLength_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (fadingEdgeLength_buf_runtimeType)) + let ptr : KPointer = valueDeserializer.readPointer() + return RestrictedWorkerInternal.fromPtr(ptr) + } + public readReuseOptions(): ReuseOptions { + let valueDeserializer : Deserializer = this + const reuseId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let reuseId_buf : ReuseIdCallback | undefined + if ((RuntimeType.UNDEFINED) != (reuseId_buf_runtimeType)) { - fadingEdgeLength_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + reuseId_buf = valueDeserializer.readReuseIdCallback() } - const fadingEdgeLength_result : LengthMetrics | undefined = fadingEdgeLength_buf - let value : FadingEdgeOptions = ({fadingEdgeLength: fadingEdgeLength_result} as FadingEdgeOptions) + const reuseId_result : ReuseIdCallback | undefined = reuseId_buf + let value : ReuseOptions = ({reuseId: reuseId_result} as ReuseOptions) return value } - readFlexSpaceOptions(): FlexSpaceOptions { + public readRichEditorBuilderSpanOptions(): RichEditorBuilderSpanOptions { let valueDeserializer : Deserializer = this - const main_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let main_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (main_buf_runtimeType)) + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - main_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + offset_buf = (valueDeserializer.readNumber() as number) } - const main_result : LengthMetrics | undefined = main_buf - const cross_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cross_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (cross_buf_runtimeType)) + const offset_result : number | undefined = offset_buf + const dragBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dragBackgroundColor_buf : ColorMetrics | undefined + if ((RuntimeType.UNDEFINED) != (dragBackgroundColor_buf_runtimeType)) { - cross_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + dragBackgroundColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) } - const cross_result : LengthMetrics | undefined = cross_buf - let value : FlexSpaceOptions = ({main: main_result, cross: cross_result} as FlexSpaceOptions) + const dragBackgroundColor_result : ColorMetrics | undefined = dragBackgroundColor_buf + const isDragShadowNeeded_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isDragShadowNeeded_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (isDragShadowNeeded_buf_runtimeType)) + { + isDragShadowNeeded_buf = valueDeserializer.readBoolean() + } + const isDragShadowNeeded_result : boolean | undefined = isDragShadowNeeded_buf + let value : RichEditorBuilderSpanOptions = ({offset: offset_result, dragBackgroundColor: dragBackgroundColor_result, isDragShadowNeeded: isDragShadowNeeded_result} as RichEditorBuilderSpanOptions) return value } - readFocusBoxStyle(): FocusBoxStyle { + public readRichEditorChangeValue(): RichEditorChangeValue { let valueDeserializer : Deserializer = this - const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) - { - margin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const rangeBefore_result : TextRange = valueDeserializer.readTextRange() + const replacedSpans_buf_length : int32 = valueDeserializer.readInt32() + let replacedSpans_buf : Array = new Array(replacedSpans_buf_length) + for (let replacedSpans_buf_i = 0; replacedSpans_buf_i < replacedSpans_buf_length; replacedSpans_buf_i++) { + replacedSpans_buf[replacedSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() } - const margin_result : LengthMetrics | undefined = margin_buf - const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeColor_buf : ColorMetrics | undefined - if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) - { - strokeColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + const replacedSpans_result : Array = replacedSpans_buf + const replacedImageSpans_buf_length : int32 = valueDeserializer.readInt32() + let replacedImageSpans_buf : Array = new Array(replacedImageSpans_buf_length) + for (let replacedImageSpans_buf_i = 0; replacedImageSpans_buf_i < replacedImageSpans_buf_length; replacedImageSpans_buf_i++) { + replacedImageSpans_buf[replacedImageSpans_buf_i] = valueDeserializer.readRichEditorImageSpanResult() } - const strokeColor_result : ColorMetrics | undefined = strokeColor_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) - { - strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const replacedImageSpans_result : Array = replacedImageSpans_buf + const replacedSymbolSpans_buf_length : int32 = valueDeserializer.readInt32() + let replacedSymbolSpans_buf : Array = new Array(replacedSymbolSpans_buf_length) + for (let replacedSymbolSpans_buf_i = 0; replacedSymbolSpans_buf_i < replacedSymbolSpans_buf_length; replacedSymbolSpans_buf_i++) { + replacedSymbolSpans_buf[replacedSymbolSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() } - const strokeWidth_result : LengthMetrics | undefined = strokeWidth_buf - let value : FocusBoxStyle = ({margin: margin_result, strokeColor: strokeColor_result, strokeWidth: strokeWidth_result} as FocusBoxStyle) + const replacedSymbolSpans_result : Array = replacedSymbolSpans_buf + let value : RichEditorChangeValue = ({rangeBefore: rangeBefore_result, replacedSpans: replacedSpans_result, replacedImageSpans: replacedImageSpans_result, replacedSymbolSpans: replacedSymbolSpans_result} as RichEditorChangeValue) return value } - readFont(): Font { + public readRichEditorSymbolSpanStyle(): RichEditorSymbolSpanStyle { let valueDeserializer : Deserializer = this - const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let size_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf : number | string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) { - const size_buf__selector : int32 = valueDeserializer.readInt8() - let size_buf_ : string | number | Resource | undefined - if (size_buf__selector == 0) { - size_buf_ = (valueDeserializer.readString() as string) + const fontSize_buf__selector : int32 = valueDeserializer.readInt8() + let fontSize_buf_ : number | string | Resource | undefined + if (fontSize_buf__selector == 0) { + fontSize_buf_ = (valueDeserializer.readNumber() as number) } - else if (size_buf__selector == 1) { - size_buf_ = (valueDeserializer.readNumber() as number) + else if (fontSize_buf__selector == 1) { + fontSize_buf_ = (valueDeserializer.readString() as string) } - else if (size_buf__selector == 2) { - size_buf_ = valueDeserializer.readResource() + else if (fontSize_buf__selector == 2) { + fontSize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") } - size_buf = (size_buf_ as string | number | Resource) + fontSize_buf = (fontSize_buf_ as number | string | Resource) + } + const fontSize_result : number | string | Resource | undefined = fontSize_buf + const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontColor_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) + { + const fontColor_buf__length : int32 = valueDeserializer.readInt32() + let fontColor_buf_ : Array = new Array(fontColor_buf__length) + for (let fontColor_buf__i = 0; fontColor_buf__i < fontColor_buf__length; fontColor_buf__i++) { + const fontColor_buf__buf_selector : int32 = valueDeserializer.readInt8() + let fontColor_buf__buf : Color | number | string | Resource | undefined + if (fontColor_buf__buf_selector == 0) { + fontColor_buf__buf = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (fontColor_buf__buf_selector == 1) { + fontColor_buf__buf = (valueDeserializer.readNumber() as number) + } + else if (fontColor_buf__buf_selector == 2) { + fontColor_buf__buf = (valueDeserializer.readString() as string) + } + else if (fontColor_buf__buf_selector == 3) { + fontColor_buf__buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontColor_buf__buf has to be chosen through deserialisation.") + } + fontColor_buf_[fontColor_buf__i] = (fontColor_buf__buf as Color | number | string | Resource) + } + fontColor_buf = fontColor_buf_ + } + const fontColor_result : Array | undefined = fontColor_buf + const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontWeight_buf : number | FontWeight | string | undefined + if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + { + const fontWeight_buf__selector : int32 = valueDeserializer.readInt8() + let fontWeight_buf_ : number | FontWeight | string | undefined + if (fontWeight_buf__selector == 0) { + fontWeight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_ = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) + } + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") + } + fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) + } + const fontWeight_result : number | FontWeight | string | undefined = fontWeight_buf + const effectStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let effectStrategy_buf : SymbolEffectStrategy | undefined + if ((RuntimeType.UNDEFINED) != (effectStrategy_buf_runtimeType)) + { + effectStrategy_buf = TypeChecker.SymbolEffectStrategy_FromNumeric(valueDeserializer.readInt32()) + } + const effectStrategy_result : SymbolEffectStrategy | undefined = effectStrategy_buf + const renderingStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let renderingStrategy_buf : SymbolRenderingStrategy | undefined + if ((RuntimeType.UNDEFINED) != (renderingStrategy_buf_runtimeType)) + { + renderingStrategy_buf = TypeChecker.SymbolRenderingStrategy_FromNumeric(valueDeserializer.readInt32()) + } + const renderingStrategy_result : SymbolRenderingStrategy | undefined = renderingStrategy_buf + let value : RichEditorSymbolSpanStyle = ({fontSize: fontSize_result, fontColor: fontColor_result, fontWeight: fontWeight_result, effectStrategy: effectStrategy_result, renderingStrategy: renderingStrategy_result} as RichEditorSymbolSpanStyle) + return value + } + public readRichEditorUpdateSymbolSpanStyleOptions(): RichEditorUpdateSymbolSpanStyleOptions { + let valueDeserializer : Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = (valueDeserializer.readNumber() as number) } - const size_result : Length | undefined = size_buf - const weight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weight_buf : FontWeight | number | string | undefined - if ((RuntimeType.UNDEFINED) != (weight_buf_runtimeType)) + const start_result : number | undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - const weight_buf__selector : int32 = valueDeserializer.readInt8() - let weight_buf_ : FontWeight | number | string | undefined - if (weight_buf__selector == 0) { - weight_buf_ = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) - } - else if (weight_buf__selector == 1) { - weight_buf_ = (valueDeserializer.readNumber() as number) + end_buf = (valueDeserializer.readNumber() as number) + } + const end_result : number | undefined = end_buf + const symbolStyle_result : RichEditorSymbolSpanStyle = valueDeserializer.readRichEditorSymbolSpanStyle() + let value : RichEditorUpdateSymbolSpanStyleOptions = ({start: start_result, end: end_result, symbolStyle: symbolStyle_result} as RichEditorUpdateSymbolSpanStyleOptions) + return value + } + public readRichEditorUrlStyle(): RichEditorUrlStyle { + let valueDeserializer : Deserializer = this + const url_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let url_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (url_buf_runtimeType)) + { + const url_buf__selector : int32 = valueDeserializer.readInt8() + let url_buf_ : string | Resource | undefined + if (url_buf__selector == 0) { + url_buf_ = (valueDeserializer.readString() as string) } - else if (weight_buf__selector == 2) { - weight_buf_ = (valueDeserializer.readString() as string) + else if (url_buf__selector == 1) { + url_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for weight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for url_buf_ has to be chosen through deserialisation.") } - weight_buf = (weight_buf_ as FontWeight | number | string) + url_buf = (url_buf_ as string | Resource) } - const weight_result : FontWeight | number | string | undefined = weight_buf - const family_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let family_buf : string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (family_buf_runtimeType)) + const url_result : ResourceStr | undefined = url_buf + let value : RichEditorUrlStyle = ({url: url_result} as RichEditorUrlStyle) + return value + } + public readSceneOptions(): SceneOptions { + let valueDeserializer : Deserializer = this + const scene_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scene_buf : ResourceStr | Scene | undefined + if ((RuntimeType.UNDEFINED) != (scene_buf_runtimeType)) { - const family_buf__selector : int32 = valueDeserializer.readInt8() - let family_buf_ : string | Resource | undefined - if (family_buf__selector == 0) { - family_buf_ = (valueDeserializer.readString() as string) + const scene_buf__selector : int32 = valueDeserializer.readInt8() + let scene_buf_ : ResourceStr | Scene | undefined + if (scene_buf__selector == 0) { + const scene_buf__u_selector : int32 = valueDeserializer.readInt8() + let scene_buf__u : string | Resource | undefined + if (scene_buf__u_selector == 0) { + scene_buf__u = (valueDeserializer.readString() as string) + } + else if (scene_buf__u_selector == 1) { + scene_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for scene_buf__u has to be chosen through deserialisation.") + } + scene_buf_ = (scene_buf__u as string | Resource) } - else if (family_buf__selector == 1) { - family_buf_ = valueDeserializer.readResource() + else if (scene_buf__selector == 1) { + scene_buf_ = (valueDeserializer.readScene() as Scene) } else { - throw new Error("One of the branches for family_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for scene_buf_ has to be chosen through deserialisation.") } - family_buf = (family_buf_ as string | Resource) + scene_buf = (scene_buf_ as ResourceStr | Scene) } - const family_result : string | Resource | undefined = family_buf - const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf : FontStyle | undefined - if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + const scene_result : ResourceStr | Scene | undefined = scene_buf + const modelType_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let modelType_buf : ModelType | undefined + if ((RuntimeType.UNDEFINED) != (modelType_buf_runtimeType)) { - style_buf = TypeChecker.FontStyle_FromNumeric(valueDeserializer.readInt32()) + modelType_buf = TypeChecker.ModelType_FromNumeric(valueDeserializer.readInt32()) } - const style_result : FontStyle | undefined = style_buf - let value : Font = ({size: size_result, weight: weight_result, family: family_result, style: style_result} as Font) + const modelType_result : ModelType | undefined = modelType_buf + let value : SceneOptions = ({scene: scene_result, modelType: modelType_result} as SceneOptions) return value } - readFontOptions(): FontOptions { + public readScrollOptions(): ScrollOptions { let valueDeserializer : Deserializer = this - const familyName_buf_selector : int32 = valueDeserializer.readInt8() - let familyName_buf : string | Resource | undefined - if (familyName_buf_selector == 0) { - familyName_buf = (valueDeserializer.readString() as string) + const xOffset_buf_selector : int32 = valueDeserializer.readInt8() + let xOffset_buf : number | string | undefined + if (xOffset_buf_selector == 0) { + xOffset_buf = (valueDeserializer.readNumber() as number) } - else if (familyName_buf_selector == 1) { - familyName_buf = valueDeserializer.readResource() + else if (xOffset_buf_selector == 1) { + xOffset_buf = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for familyName_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for xOffset_buf has to be chosen through deserialisation.") } - const familyName_result : string | Resource = (familyName_buf as string | Resource) - const familySrc_buf_selector : int32 = valueDeserializer.readInt8() - let familySrc_buf : string | Resource | undefined - if (familySrc_buf_selector == 0) { - familySrc_buf = (valueDeserializer.readString() as string) + const xOffset_result : number | string = (xOffset_buf as number | string) + const yOffset_buf_selector : int32 = valueDeserializer.readInt8() + let yOffset_buf : number | string | undefined + if (yOffset_buf_selector == 0) { + yOffset_buf = (valueDeserializer.readNumber() as number) } - else if (familySrc_buf_selector == 1) { - familySrc_buf = valueDeserializer.readResource() + else if (yOffset_buf_selector == 1) { + yOffset_buf = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for familySrc_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for yOffset_buf has to be chosen through deserialisation.") } - const familySrc_result : string | Resource = (familySrc_buf as string | Resource) - let value : FontOptions = ({familyName: familyName_result, familySrc: familySrc_result} as FontOptions) + const yOffset_result : number | string = (yOffset_buf as number | string) + const animation_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let animation_buf : ScrollAnimationOptions | boolean | undefined + if ((RuntimeType.UNDEFINED) != (animation_buf_runtimeType)) + { + const animation_buf__selector : int32 = valueDeserializer.readInt8() + let animation_buf_ : ScrollAnimationOptions | boolean | undefined + if (animation_buf__selector == 0) { + animation_buf_ = valueDeserializer.readScrollAnimationOptions() + } + else if (animation_buf__selector == 1) { + animation_buf_ = valueDeserializer.readBoolean() + } + else { + throw new Error("One of the branches for animation_buf_ has to be chosen through deserialisation.") + } + animation_buf = (animation_buf_ as ScrollAnimationOptions | boolean) + } + const animation_result : ScrollAnimationOptions | boolean | undefined = animation_buf + let value : ScrollOptions = ({xOffset: xOffset_result, yOffset: yOffset_result, animation: animation_result} as ScrollOptions) return value } - readForegroundBlurStyleOptions(): ForegroundBlurStyleOptions { + public readScrollToIndexOptions(): ScrollToIndexOptions { let valueDeserializer : Deserializer = this - const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colorMode_buf : ThemeColorMode | undefined - if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) + const extraOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let extraOffset_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (extraOffset_buf_runtimeType)) { - colorMode_buf = TypeChecker.ThemeColorMode_FromNumeric(valueDeserializer.readInt32()) + extraOffset_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } - const colorMode_result : ThemeColorMode | undefined = colorMode_buf - const adaptiveColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let adaptiveColor_buf : AdaptiveColor | undefined - if ((RuntimeType.UNDEFINED) != (adaptiveColor_buf_runtimeType)) + const extraOffset_result : LengthMetrics | undefined = extraOffset_buf + let value : ScrollToIndexOptions = ({extraOffset: extraOffset_result} as ScrollToIndexOptions) + return value + } + public readSearchOptions(): SearchOptions { + let valueDeserializer : Deserializer = this + const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let value_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) { - adaptiveColor_buf = TypeChecker.AdaptiveColor_FromNumeric(valueDeserializer.readInt32()) + value_buf = (valueDeserializer.readString() as string) } - const adaptiveColor_result : AdaptiveColor | undefined = adaptiveColor_buf - const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scale_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) + const value_result : string | undefined = value_buf + const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let placeholder_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (placeholder_buf_runtimeType)) { - scale_buf = (valueDeserializer.readNumber() as number) + const placeholder_buf__selector : int32 = valueDeserializer.readInt8() + let placeholder_buf_ : string | Resource | undefined + if (placeholder_buf__selector == 0) { + placeholder_buf_ = (valueDeserializer.readString() as string) + } + else if (placeholder_buf__selector == 1) { + placeholder_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for placeholder_buf_ has to be chosen through deserialisation.") + } + placeholder_buf = (placeholder_buf_ as string | Resource) } - const scale_result : number | undefined = scale_buf - const blurOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let blurOptions_buf : BlurOptions | undefined - if ((RuntimeType.UNDEFINED) != (blurOptions_buf_runtimeType)) + const placeholder_result : ResourceStr | undefined = placeholder_buf + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) { - blurOptions_buf = valueDeserializer.readBlurOptions() + icon_buf = (valueDeserializer.readString() as string) } - const blurOptions_result : BlurOptions | undefined = blurOptions_buf - let value : ForegroundBlurStyleOptions = ({colorMode: colorMode_result, adaptiveColor: adaptiveColor_result, scale: scale_result, blurOptions: blurOptions_result} as ForegroundBlurStyleOptions) + const icon_result : string | undefined = icon_buf + const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let controller_buf : SearchController | undefined + if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) + { + controller_buf = (valueDeserializer.readSearchController() as SearchController) + } + const controller_result : SearchController | undefined = controller_buf + let value : SearchOptions = ({value: value_result, placeholder: placeholder_result, icon: icon_result, controller: controller_result} as SearchOptions) return value } - readFormInfo(): FormInfo { + public readSelectionMenuOptions(): SelectionMenuOptions { let valueDeserializer : Deserializer = this - const id_buf_selector : int32 = valueDeserializer.readInt8() - let id_buf : int64 | string | undefined - if (id_buf_selector == 0) { - id_buf = valueDeserializer.readInt64() - } - else if (id_buf_selector == 1) { - id_buf = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for id_buf has to be chosen through deserialisation.") - } - const id_result : int64 | string = (id_buf as int64 | string) - const name_result : string = (valueDeserializer.readString() as string) - const bundle_result : string = (valueDeserializer.readString() as string) - const ability_result : string = (valueDeserializer.readString() as string) - const module_result : string = (valueDeserializer.readString() as string) - const dimension_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dimension_buf : FormDimension | undefined - if ((RuntimeType.UNDEFINED) != (dimension_buf_runtimeType)) + const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onAppear_buf : MenuOnAppearCallback | undefined + if ((RuntimeType.UNDEFINED) != (onAppear_buf_runtimeType)) { - dimension_buf = TypeChecker.FormDimension_FromNumeric(valueDeserializer.readInt32()) + onAppear_buf = valueDeserializer.readMenuOnAppearCallback() } - const dimension_result : FormDimension | undefined = dimension_buf - const temporary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let temporary_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (temporary_buf_runtimeType)) + const onAppear_result : MenuOnAppearCallback | undefined = onAppear_buf + const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) { - temporary_buf = valueDeserializer.readBoolean() + onDisappear_buf = valueDeserializer.readCallback_Void() } - const temporary_result : boolean | undefined = temporary_buf - const want_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let want_buf : Want | undefined - if ((RuntimeType.UNDEFINED) != (want_buf_runtimeType)) + const onDisappear_result : (() => void) | undefined = onDisappear_buf + const menuType_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let menuType_buf : MenuType | undefined + if ((RuntimeType.UNDEFINED) != (menuType_buf_runtimeType)) { - want_buf = valueDeserializer.readWant() + menuType_buf = TypeChecker.MenuType_FromNumeric(valueDeserializer.readInt32()) } - const want_result : Want | undefined = want_buf - const renderingMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let renderingMode_buf : FormRenderingMode | undefined - if ((RuntimeType.UNDEFINED) != (renderingMode_buf_runtimeType)) + const menuType_result : MenuType | undefined = menuType_buf + const onMenuShow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onMenuShow_buf : MenuCallback | undefined + if ((RuntimeType.UNDEFINED) != (onMenuShow_buf_runtimeType)) { - renderingMode_buf = TypeChecker.FormRenderingMode_FromNumeric(valueDeserializer.readInt32()) + onMenuShow_buf = valueDeserializer.readMenuCallback() } - const renderingMode_result : FormRenderingMode | undefined = renderingMode_buf - const shape_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let shape_buf : FormShape | undefined - if ((RuntimeType.UNDEFINED) != (shape_buf_runtimeType)) + const onMenuShow_result : MenuCallback | undefined = onMenuShow_buf + const onMenuHide_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onMenuHide_buf : MenuCallback | undefined + if ((RuntimeType.UNDEFINED) != (onMenuHide_buf_runtimeType)) { - shape_buf = TypeChecker.FormShape_FromNumeric(valueDeserializer.readInt32()) + onMenuHide_buf = valueDeserializer.readMenuCallback() } - const shape_result : FormShape | undefined = shape_buf - let value : FormInfo = ({id: id_result, name: name_result, bundle: bundle_result, ability: ability_result, module: module_result, dimension: dimension_result, temporary: temporary_result, want: want_result, renderingMode: renderingMode_result, shape: shape_result} as FormInfo) + const onMenuHide_result : MenuCallback | undefined = onMenuHide_buf + const previewMenuOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let previewMenuOptions_buf : PreviewMenuOptions | undefined + if ((RuntimeType.UNDEFINED) != (previewMenuOptions_buf_runtimeType)) + { + previewMenuOptions_buf = valueDeserializer.readPreviewMenuOptions() + } + const previewMenuOptions_result : PreviewMenuOptions | undefined = previewMenuOptions_buf + let value : SelectionMenuOptions = ({onAppear: onAppear_result, onDisappear: onDisappear_result, menuType: menuType_result, onMenuShow: onMenuShow_result, onMenuHide: onMenuHide_result, previewMenuOptions: previewMenuOptions_result} as SelectionMenuOptions) return value } - readGaugeIndicatorOptions(): GaugeIndicatorOptions { + public readSelectOption(): SelectOption { let valueDeserializer : Deserializer = this + const value_buf_selector : int32 = valueDeserializer.readInt8() + let value_buf : string | Resource | undefined + if (value_buf_selector == 0) { + value_buf = (valueDeserializer.readString() as string) + } + else if (value_buf_selector == 1) { + value_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + } + const value_result : ResourceStr = (value_buf as string | Resource) const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) let icon_buf : ResourceStr | undefined if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) @@ -14027,596 +16714,602 @@ export class Deserializer extends DeserializerBase { icon_buf = (icon_buf_ as string | Resource) } const icon_result : ResourceStr | undefined = icon_buf - const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let space_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) + const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let symbolIcon_buf : SymbolGlyphModifier | undefined + if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) { - const space_buf__selector : int32 = valueDeserializer.readInt8() - let space_buf_ : string | number | Resource | undefined - if (space_buf__selector == 0) { - space_buf_ = (valueDeserializer.readString() as string) - } - else if (space_buf__selector == 1) { - space_buf_ = (valueDeserializer.readNumber() as number) - } - else if (space_buf__selector == 2) { - space_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for space_buf_ has to be chosen through deserialisation.") - } - space_buf = (space_buf_ as string | number | Resource) + symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() } - const space_result : Dimension | undefined = space_buf - let value : GaugeIndicatorOptions = ({icon: icon_result, space: space_result} as GaugeIndicatorOptions) + const symbolIcon_result : SymbolGlyphModifier | undefined = symbolIcon_buf + let value : SelectOption = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result} as SelectOption) return value } - readGaugeShadowOptions(): GaugeShadowOptions { + public readShadowOptions(): ShadowOptions { let valueDeserializer : Deserializer = this - const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + const radius_buf_selector : int32 = valueDeserializer.readInt8() let radius_buf : number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) - { - const radius_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf_ : number | Resource | undefined - if (radius_buf__selector == 0) { - radius_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__selector == 1) { - radius_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") - } - radius_buf = (radius_buf_ as number | Resource) - } - const radius_result : number | Resource | undefined = radius_buf - const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offsetX_buf : number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (offsetX_buf_runtimeType)) - { - const offsetX_buf__selector : int32 = valueDeserializer.readInt8() - let offsetX_buf_ : number | Resource | undefined - if (offsetX_buf__selector == 0) { - offsetX_buf_ = (valueDeserializer.readNumber() as number) - } - else if (offsetX_buf__selector == 1) { - offsetX_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offsetX_buf_ has to be chosen through deserialisation.") - } - offsetX_buf = (offsetX_buf_ as number | Resource) - } - const offsetX_result : number | Resource | undefined = offsetX_buf - const offsetY_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offsetY_buf : number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (offsetY_buf_runtimeType)) - { - const offsetY_buf__selector : int32 = valueDeserializer.readInt8() - let offsetY_buf_ : number | Resource | undefined - if (offsetY_buf__selector == 0) { - offsetY_buf_ = (valueDeserializer.readNumber() as number) - } - else if (offsetY_buf__selector == 1) { - offsetY_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offsetY_buf_ has to be chosen through deserialisation.") - } - offsetY_buf = (offsetY_buf_ as number | Resource) - } - const offsetY_result : number | Resource | undefined = offsetY_buf - let value : GaugeShadowOptions = ({radius: radius_result, offsetX: offsetX_result, offsetY: offsetY_result} as GaugeShadowOptions) - return value - } - readGridColOptions(): GridColOptions { - let valueDeserializer : Deserializer = this - const span_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let span_buf : number | GridColColumnOption | undefined - if ((RuntimeType.UNDEFINED) != (span_buf_runtimeType)) - { - const span_buf__selector : int32 = valueDeserializer.readInt8() - let span_buf_ : number | GridColColumnOption | undefined - if (span_buf__selector == 0) { - span_buf_ = (valueDeserializer.readNumber() as number) - } - else if (span_buf__selector == 1) { - span_buf_ = valueDeserializer.readGridColColumnOption() - } - else { - throw new Error("One of the branches for span_buf_ has to be chosen through deserialisation.") - } - span_buf = (span_buf_ as number | GridColColumnOption) + if (radius_buf_selector == 0) { + radius_buf = (valueDeserializer.readNumber() as number) } - const span_result : number | GridColColumnOption | undefined = span_buf - const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offset_buf : number | GridColColumnOption | undefined - if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) - { - const offset_buf__selector : int32 = valueDeserializer.readInt8() - let offset_buf_ : number | GridColColumnOption | undefined - if (offset_buf__selector == 0) { - offset_buf_ = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__selector == 1) { - offset_buf_ = valueDeserializer.readGridColColumnOption() - } - else { - throw new Error("One of the branches for offset_buf_ has to be chosen through deserialisation.") - } - offset_buf = (offset_buf_ as number | GridColColumnOption) + else if (radius_buf_selector == 1) { + radius_buf = valueDeserializer.readResource() } - const offset_result : number | GridColColumnOption | undefined = offset_buf - const order_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let order_buf : number | GridColColumnOption | undefined - if ((RuntimeType.UNDEFINED) != (order_buf_runtimeType)) - { - const order_buf__selector : int32 = valueDeserializer.readInt8() - let order_buf_ : number | GridColColumnOption | undefined - if (order_buf__selector == 0) { - order_buf_ = (valueDeserializer.readNumber() as number) - } - else if (order_buf__selector == 1) { - order_buf_ = valueDeserializer.readGridColColumnOption() - } - else { - throw new Error("One of the branches for order_buf_ has to be chosen through deserialisation.") - } - order_buf = (order_buf_ as number | GridColColumnOption) + else { + throw new Error("One of the branches for radius_buf has to be chosen through deserialisation.") } - const order_result : number | GridColColumnOption | undefined = order_buf - let value : GridColOptions = ({span: span_result, offset: offset_result, order: order_result} as GridColOptions) - return value - } - readGridRowSizeOption(): GridRowSizeOption { - let valueDeserializer : Deserializer = this - const xs_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let xs_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (xs_buf_runtimeType)) + const radius_result : number | Resource = (radius_buf as number | Resource) + const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let type_buf : ShadowType | undefined + if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) { - const xs_buf__selector : int32 = valueDeserializer.readInt8() - let xs_buf_ : string | number | Resource | undefined - if (xs_buf__selector == 0) { - xs_buf_ = (valueDeserializer.readString() as string) - } - else if (xs_buf__selector == 1) { - xs_buf_ = (valueDeserializer.readNumber() as number) - } - else if (xs_buf__selector == 2) { - xs_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for xs_buf_ has to be chosen through deserialisation.") - } - xs_buf = (xs_buf_ as string | number | Resource) + type_buf = TypeChecker.ShadowType_FromNumeric(valueDeserializer.readInt32()) } - const xs_result : Length | undefined = xs_buf - const sm_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let sm_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (sm_buf_runtimeType)) + const type_result : ShadowType | undefined = type_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : Color | string | Resource | ColoringStrategy | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - const sm_buf__selector : int32 = valueDeserializer.readInt8() - let sm_buf_ : string | number | Resource | undefined - if (sm_buf__selector == 0) { - sm_buf_ = (valueDeserializer.readString() as string) - } - else if (sm_buf__selector == 1) { - sm_buf_ = (valueDeserializer.readNumber() as number) - } - else if (sm_buf__selector == 2) { - sm_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for sm_buf_ has to be chosen through deserialisation.") + const color_buf__selector : int32 = valueDeserializer.readInt8() + let color_buf_ : Color | string | Resource | ColoringStrategy | undefined + if (color_buf__selector == 0) { + color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - sm_buf = (sm_buf_ as string | number | Resource) - } - const sm_result : Length | undefined = sm_buf - const md_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let md_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (md_buf_runtimeType)) - { - const md_buf__selector : int32 = valueDeserializer.readInt8() - let md_buf_ : string | number | Resource | undefined - if (md_buf__selector == 0) { - md_buf_ = (valueDeserializer.readString() as string) + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readString() as string) } - else if (md_buf__selector == 1) { - md_buf_ = (valueDeserializer.readNumber() as number) + else if (color_buf__selector == 2) { + color_buf_ = valueDeserializer.readResource() } - else if (md_buf__selector == 2) { - md_buf_ = valueDeserializer.readResource() + else if (color_buf__selector == 3) { + color_buf_ = TypeChecker.ColoringStrategy_FromNumeric(valueDeserializer.readInt32()) } else { - throw new Error("One of the branches for md_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - md_buf = (md_buf_ as string | number | Resource) + color_buf = (color_buf_ as Color | string | Resource | ColoringStrategy) } - const md_result : Length | undefined = md_buf - const lg_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lg_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (lg_buf_runtimeType)) + const color_result : Color | string | Resource | ColoringStrategy | undefined = color_buf + const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offsetX_buf : number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (offsetX_buf_runtimeType)) { - const lg_buf__selector : int32 = valueDeserializer.readInt8() - let lg_buf_ : string | number | Resource | undefined - if (lg_buf__selector == 0) { - lg_buf_ = (valueDeserializer.readString() as string) - } - else if (lg_buf__selector == 1) { - lg_buf_ = (valueDeserializer.readNumber() as number) + const offsetX_buf__selector : int32 = valueDeserializer.readInt8() + let offsetX_buf_ : number | Resource | undefined + if (offsetX_buf__selector == 0) { + offsetX_buf_ = (valueDeserializer.readNumber() as number) } - else if (lg_buf__selector == 2) { - lg_buf_ = valueDeserializer.readResource() + else if (offsetX_buf__selector == 1) { + offsetX_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for lg_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for offsetX_buf_ has to be chosen through deserialisation.") } - lg_buf = (lg_buf_ as string | number | Resource) + offsetX_buf = (offsetX_buf_ as number | Resource) } - const lg_result : Length | undefined = lg_buf - const xl_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let xl_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (xl_buf_runtimeType)) + const offsetX_result : number | Resource | undefined = offsetX_buf + const offsetY_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offsetY_buf : number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (offsetY_buf_runtimeType)) { - const xl_buf__selector : int32 = valueDeserializer.readInt8() - let xl_buf_ : string | number | Resource | undefined - if (xl_buf__selector == 0) { - xl_buf_ = (valueDeserializer.readString() as string) - } - else if (xl_buf__selector == 1) { - xl_buf_ = (valueDeserializer.readNumber() as number) + const offsetY_buf__selector : int32 = valueDeserializer.readInt8() + let offsetY_buf_ : number | Resource | undefined + if (offsetY_buf__selector == 0) { + offsetY_buf_ = (valueDeserializer.readNumber() as number) } - else if (xl_buf__selector == 2) { - xl_buf_ = valueDeserializer.readResource() + else if (offsetY_buf__selector == 1) { + offsetY_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for xl_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for offsetY_buf_ has to be chosen through deserialisation.") } - xl_buf = (xl_buf_ as string | number | Resource) + offsetY_buf = (offsetY_buf_ as number | Resource) } - const xl_result : Length | undefined = xl_buf - const xxl_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let xxl_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (xxl_buf_runtimeType)) + const offsetY_result : number | Resource | undefined = offsetY_buf + const fill_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fill_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (fill_buf_runtimeType)) { - const xxl_buf__selector : int32 = valueDeserializer.readInt8() - let xxl_buf_ : string | number | Resource | undefined - if (xxl_buf__selector == 0) { - xxl_buf_ = (valueDeserializer.readString() as string) + fill_buf = valueDeserializer.readBoolean() + } + const fill_result : boolean | undefined = fill_buf + let value : ShadowOptions = ({radius: radius_result, type: type_result, color: color_result, offsetX: offsetX_result, offsetY: offsetY_result, fill: fill_result} as ShadowOptions) + return value + } + public readsharedTransitionOptions(): sharedTransitionOptions { + let valueDeserializer : Deserializer = this + const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let duration_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf = (valueDeserializer.readNumber() as number) + } + const duration_result : number | undefined = duration_buf + const curve_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let curve_buf : Curve | string | ICurve | undefined + if ((RuntimeType.UNDEFINED) != (curve_buf_runtimeType)) + { + const curve_buf__selector : int32 = valueDeserializer.readInt8() + let curve_buf_ : Curve | string | ICurve | undefined + if (curve_buf__selector == 0) { + curve_buf_ = TypeChecker.Curve_FromNumeric(valueDeserializer.readInt32()) } - else if (xxl_buf__selector == 1) { - xxl_buf_ = (valueDeserializer.readNumber() as number) + else if (curve_buf__selector == 1) { + curve_buf_ = (valueDeserializer.readString() as string) } - else if (xxl_buf__selector == 2) { - xxl_buf_ = valueDeserializer.readResource() + else if (curve_buf__selector == 2) { + curve_buf_ = (valueDeserializer.readICurve() as ICurve) } else { - throw new Error("One of the branches for xxl_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for curve_buf_ has to be chosen through deserialisation.") } - xxl_buf = (xxl_buf_ as string | number | Resource) + curve_buf = (curve_buf_ as Curve | string | ICurve) } - const xxl_result : Length | undefined = xxl_buf - let value : GridRowSizeOption = ({xs: xs_result, sm: sm_result, md: md_result, lg: lg_result, xl: xl_result, xxl: xxl_result} as GridRowSizeOption) + const curve_result : Curve | string | ICurve | undefined = curve_buf + const delay_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let delay_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (delay_buf_runtimeType)) + { + delay_buf = (valueDeserializer.readNumber() as number) + } + const delay_result : number | undefined = delay_buf + const motionPath_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let motionPath_buf : MotionPathOptions | undefined + if ((RuntimeType.UNDEFINED) != (motionPath_buf_runtimeType)) + { + motionPath_buf = valueDeserializer.readMotionPathOptions() + } + const motionPath_result : MotionPathOptions | undefined = motionPath_buf + const zIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let zIndex_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (zIndex_buf_runtimeType)) + { + zIndex_buf = (valueDeserializer.readNumber() as number) + } + const zIndex_result : number | undefined = zIndex_buf + const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let type_buf : SharedTransitionEffectType | undefined + if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) + { + type_buf = TypeChecker.SharedTransitionEffectType_FromNumeric(valueDeserializer.readInt32()) + } + const type_result : SharedTransitionEffectType | undefined = type_buf + let value : sharedTransitionOptions = ({duration: duration_result, curve: curve_result, delay: delay_result, motionPath: motionPath_result, zIndex: zIndex_result, type: type_result} as sharedTransitionOptions) return value } - readGuideLinePosition(): GuideLinePosition { + public readSheetInfo(): SheetInfo { let valueDeserializer : Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + const title_buf_selector : int32 = valueDeserializer.readInt8() + let title_buf : string | Resource | undefined + if (title_buf_selector == 0) { + title_buf = (valueDeserializer.readString() as string) + } + else if (title_buf_selector == 1) { + title_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for title_buf has to be chosen through deserialisation.") + } + const title_result : string | Resource = (title_buf as string | Resource) + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf : string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) { - const start_buf__selector : int32 = valueDeserializer.readInt8() - let start_buf_ : string | number | Resource | undefined - if (start_buf__selector == 0) { - start_buf_ = (valueDeserializer.readString() as string) - } - else if (start_buf__selector == 1) { - start_buf_ = (valueDeserializer.readNumber() as number) + const icon_buf__selector : int32 = valueDeserializer.readInt8() + let icon_buf_ : string | Resource | undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) } - else if (start_buf__selector == 2) { - start_buf_ = valueDeserializer.readResource() + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for start_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") } - start_buf = (start_buf_ as string | number | Resource) + icon_buf = (icon_buf_ as string | Resource) } - const start_result : Dimension | undefined = start_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + const icon_result : string | Resource | undefined = icon_buf + const action_result : VoidCallback = valueDeserializer.readVoidCallback() + let value : SheetInfo = ({title: title_result, icon: icon_result, action: action_result} as SheetInfo) + return value + } + public readSheetTitleOptions(): SheetTitleOptions { + let valueDeserializer : Deserializer = this + const title_buf_selector : int32 = valueDeserializer.readInt8() + let title_buf : string | Resource | undefined + if (title_buf_selector == 0) { + title_buf = (valueDeserializer.readString() as string) + } + else if (title_buf_selector == 1) { + title_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for title_buf has to be chosen through deserialisation.") + } + const title_result : ResourceStr = (title_buf as string | Resource) + const subtitle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let subtitle_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (subtitle_buf_runtimeType)) { - const end_buf__selector : int32 = valueDeserializer.readInt8() - let end_buf_ : string | number | Resource | undefined - if (end_buf__selector == 0) { - end_buf_ = (valueDeserializer.readString() as string) - } - else if (end_buf__selector == 1) { - end_buf_ = (valueDeserializer.readNumber() as number) + const subtitle_buf__selector : int32 = valueDeserializer.readInt8() + let subtitle_buf_ : string | Resource | undefined + if (subtitle_buf__selector == 0) { + subtitle_buf_ = (valueDeserializer.readString() as string) } - else if (end_buf__selector == 2) { - end_buf_ = valueDeserializer.readResource() + else if (subtitle_buf__selector == 1) { + subtitle_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for end_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for subtitle_buf_ has to be chosen through deserialisation.") } - end_buf = (end_buf_ as string | number | Resource) + subtitle_buf = (subtitle_buf_ as string | Resource) } - const end_result : Dimension | undefined = end_buf - let value : GuideLinePosition = ({start: start_result, end: end_result} as GuideLinePosition) + const subtitle_result : ResourceStr | undefined = subtitle_buf + let value : SheetTitleOptions = ({title: title_result, subtitle: subtitle_result} as SheetTitleOptions) return value } - readGuideLineStyle(): GuideLineStyle { + public readSliderBlockStyle(): SliderBlockStyle { let valueDeserializer : Deserializer = this - const id_result : string = (valueDeserializer.readString() as string) - const direction_result : Axis = TypeChecker.Axis_FromNumeric(valueDeserializer.readInt32()) - const position_result : GuideLinePosition = valueDeserializer.readGuideLinePosition() - let value : GuideLineStyle = ({id: id_result, direction: direction_result, position: position_result} as GuideLineStyle) + const type_result : SliderBlockType = TypeChecker.SliderBlockType_FromNumeric(valueDeserializer.readInt32()) + const image_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let image_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (image_buf_runtimeType)) + { + const image_buf__selector : int32 = valueDeserializer.readInt8() + let image_buf_ : string | Resource | undefined + if (image_buf__selector == 0) { + image_buf_ = (valueDeserializer.readString() as string) + } + else if (image_buf__selector == 1) { + image_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for image_buf_ has to be chosen through deserialisation.") + } + image_buf = (image_buf_ as string | Resource) + } + const image_result : ResourceStr | undefined = image_buf + const shape_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let shape_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (shape_buf_runtimeType)) + { + shape_buf = (valueDeserializer.readString() as string) + } + const shape_result : string | undefined = shape_buf + let value : SliderBlockStyle = ({type: type_result, image: image_result, shape: shape_result} as SliderBlockStyle) return value } - readHistoricalPoint(): HistoricalPoint { + public readStyledStringChangeValue(): StyledStringChangeValue { let valueDeserializer : Deserializer = this - const touchObject_result : TouchObject = valueDeserializer.readTouchObject() - const size_result : number = (valueDeserializer.readNumber() as number) - const force_result : number = (valueDeserializer.readNumber() as number) - const timestamp_result : int64 = valueDeserializer.readInt64() - let value : HistoricalPoint = ({touchObject: touchObject_result, size: size_result, force: force_result, timestamp: timestamp_result} as HistoricalPoint) + const range_result : TextRange = valueDeserializer.readTextRange() + const replacementString_result : StyledString = (valueDeserializer.readStyledString() as StyledString) + const previewText_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let previewText_buf : StyledString | undefined + if ((RuntimeType.UNDEFINED) != (previewText_buf_runtimeType)) + { + previewText_buf = (valueDeserializer.readStyledString() as StyledString) + } + const previewText_result : StyledString | undefined = previewText_buf + let value : StyledStringChangeValue = ({range: range_result, replacementString: replacementString_result, previewText: previewText_result} as StyledStringChangeValue) return value } - readIconOptions(): IconOptions { + public readSwitchStyle(): SwitchStyle { let valueDeserializer : Deserializer = this - const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let size_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) + const pointRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let pointRadius_buf : number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (pointRadius_buf_runtimeType)) + { + const pointRadius_buf__selector : int32 = valueDeserializer.readInt8() + let pointRadius_buf_ : number | Resource | undefined + if (pointRadius_buf__selector == 0) { + pointRadius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (pointRadius_buf__selector == 1) { + pointRadius_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for pointRadius_buf_ has to be chosen through deserialisation.") + } + pointRadius_buf = (pointRadius_buf_ as number | Resource) + } + const pointRadius_result : number | Resource | undefined = pointRadius_buf + const unselectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let unselectedColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (unselectedColor_buf_runtimeType)) { - const size_buf__selector : int32 = valueDeserializer.readInt8() - let size_buf_ : string | number | Resource | undefined - if (size_buf__selector == 0) { - size_buf_ = (valueDeserializer.readString() as string) + const unselectedColor_buf__selector : int32 = valueDeserializer.readInt8() + let unselectedColor_buf_ : Color | number | string | Resource | undefined + if (unselectedColor_buf__selector == 0) { + unselectedColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (size_buf__selector == 1) { - size_buf_ = (valueDeserializer.readNumber() as number) + else if (unselectedColor_buf__selector == 1) { + unselectedColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (size_buf__selector == 2) { - size_buf_ = valueDeserializer.readResource() + else if (unselectedColor_buf__selector == 2) { + unselectedColor_buf_ = (valueDeserializer.readString() as string) + } + else if (unselectedColor_buf__selector == 3) { + unselectedColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation.") } - size_buf = (size_buf_ as string | number | Resource) + unselectedColor_buf = (unselectedColor_buf_ as Color | number | string | Resource) } - const size_result : Length | undefined = size_buf - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const unselectedColor_result : ResourceColor | undefined = unselectedColor_buf + const pointColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let pointColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (pointColor_buf_runtimeType)) { - const color_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf_ : Color | number | string | Resource | undefined - if (color_buf__selector == 0) { - color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const pointColor_buf__selector : int32 = valueDeserializer.readInt8() + let pointColor_buf_ : Color | number | string | Resource | undefined + if (pointColor_buf__selector == 0) { + pointColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + else if (pointColor_buf__selector == 1) { + pointColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else if (pointColor_buf__selector == 2) { + pointColor_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (pointColor_buf__selector == 3) { + pointColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for pointColor_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) + pointColor_buf = (pointColor_buf_ as Color | number | string | Resource) } - const color_result : ResourceColor | undefined = color_buf - const src_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let src_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (src_buf_runtimeType)) + const pointColor_result : ResourceColor | undefined = pointColor_buf + const trackBorderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let trackBorderRadius_buf : number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (trackBorderRadius_buf_runtimeType)) { - const src_buf__selector : int32 = valueDeserializer.readInt8() - let src_buf_ : string | Resource | undefined - if (src_buf__selector == 0) { - src_buf_ = (valueDeserializer.readString() as string) + const trackBorderRadius_buf__selector : int32 = valueDeserializer.readInt8() + let trackBorderRadius_buf_ : number | Resource | undefined + if (trackBorderRadius_buf__selector == 0) { + trackBorderRadius_buf_ = (valueDeserializer.readNumber() as number) } - else if (src_buf__selector == 1) { - src_buf_ = valueDeserializer.readResource() + else if (trackBorderRadius_buf__selector == 1) { + trackBorderRadius_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for src_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for trackBorderRadius_buf_ has to be chosen through deserialisation.") } - src_buf = (src_buf_ as string | Resource) + trackBorderRadius_buf = (trackBorderRadius_buf_ as number | Resource) } - const src_result : ResourceStr | undefined = src_buf - let value : IconOptions = ({size: size_result, color: color_result, src: src_result} as IconOptions) + const trackBorderRadius_result : number | Resource | undefined = trackBorderRadius_buf + let value : SwitchStyle = ({pointRadius: pointRadius_result, unselectedColor: unselectedColor_result, pointColor: pointColor_result, trackBorderRadius: trackBorderRadius_result} as SwitchStyle) return value } - readImageFrameInfo(): ImageFrameInfo { + public readTabBarIconStyle(): TabBarIconStyle { let valueDeserializer : Deserializer = this - const src_buf_selector : int32 = valueDeserializer.readInt8() - let src_buf : string | Resource | PixelMap | undefined - if (src_buf_selector == 0) { - src_buf = (valueDeserializer.readString() as string) - } - else if (src_buf_selector == 1) { - src_buf = valueDeserializer.readResource() - } - else if (src_buf_selector == 2) { - src_buf = (valueDeserializer.readPixelMap() as PixelMap) - } - else { - throw new Error("One of the branches for src_buf has to be chosen through deserialisation.") - } - const src_result : string | Resource | PixelMap = (src_buf as string | Resource | PixelMap) - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const selectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let selectedColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (selectedColor_buf_runtimeType)) { - const width_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf_ : number | string | undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readNumber() as number) + const selectedColor_buf__selector : int32 = valueDeserializer.readInt8() + let selectedColor_buf_ : Color | number | string | Resource | undefined + if (selectedColor_buf__selector == 0) { + selectedColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readString() as string) + else if (selectedColor_buf__selector == 1) { + selectedColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (selectedColor_buf__selector == 2) { + selectedColor_buf_ = (valueDeserializer.readString() as string) + } + else if (selectedColor_buf__selector == 3) { + selectedColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for selectedColor_buf_ has to be chosen through deserialisation.") } - width_buf = (width_buf_ as number | string) + selectedColor_buf = (selectedColor_buf_ as Color | number | string | Resource) } - const width_result : number | string | undefined = width_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + const selectedColor_result : ResourceColor | undefined = selectedColor_buf + const unselectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let unselectedColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (unselectedColor_buf_runtimeType)) { - const height_buf__selector : int32 = valueDeserializer.readInt8() - let height_buf_ : number | string | undefined - if (height_buf__selector == 0) { - height_buf_ = (valueDeserializer.readNumber() as number) + const unselectedColor_buf__selector : int32 = valueDeserializer.readInt8() + let unselectedColor_buf_ : Color | number | string | Resource | undefined + if (unselectedColor_buf__selector == 0) { + unselectedColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (height_buf__selector == 1) { - height_buf_ = (valueDeserializer.readString() as string) + else if (unselectedColor_buf__selector == 1) { + unselectedColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (unselectedColor_buf__selector == 2) { + unselectedColor_buf_ = (valueDeserializer.readString() as string) + } + else if (unselectedColor_buf__selector == 3) { + unselectedColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_ as number | string) + unselectedColor_buf = (unselectedColor_buf_ as Color | number | string | Resource) } - const height_result : number | string | undefined = height_buf - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + const unselectedColor_result : ResourceColor | undefined = unselectedColor_buf + let value : TabBarIconStyle = ({selectedColor: selectedColor_result, unselectedColor: unselectedColor_result} as TabBarIconStyle) + return value + } + public readTabBarOptions(): TabBarOptions { + let valueDeserializer : Deserializer = this + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf : string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) { - const top_buf__selector : int32 = valueDeserializer.readInt8() - let top_buf_ : number | string | undefined - if (top_buf__selector == 0) { - top_buf_ = (valueDeserializer.readNumber() as number) + const icon_buf__selector : int32 = valueDeserializer.readInt8() + let icon_buf_ : string | Resource | undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) } - else if (top_buf__selector == 1) { - top_buf_ = (valueDeserializer.readString() as string) + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") } - top_buf = (top_buf_ as number | string) + icon_buf = (icon_buf_ as string | Resource) } - const top_result : number | string | undefined = top_buf - const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let left_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) + const icon_result : string | Resource | undefined = icon_buf + const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let text_buf : string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) { - const left_buf__selector : int32 = valueDeserializer.readInt8() - let left_buf_ : number | string | undefined - if (left_buf__selector == 0) { - left_buf_ = (valueDeserializer.readNumber() as number) + const text_buf__selector : int32 = valueDeserializer.readInt8() + let text_buf_ : string | Resource | undefined + if (text_buf__selector == 0) { + text_buf_ = (valueDeserializer.readString() as string) } - else if (left_buf__selector == 1) { - left_buf_ = (valueDeserializer.readString() as string) + else if (text_buf__selector == 1) { + text_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") } - left_buf = (left_buf_ as number | string) + text_buf = (text_buf_ as string | Resource) } - const left_result : number | string | undefined = left_buf - const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let duration_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + const text_result : string | Resource | undefined = text_buf + let value : TabBarOptions = ({icon: icon_result, text: text_result} as TabBarOptions) + return value + } + public readTabsOptions(): TabsOptions { + let valueDeserializer : Deserializer = this + const barPosition_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let barPosition_buf : BarPosition | undefined + if ((RuntimeType.UNDEFINED) != (barPosition_buf_runtimeType)) + { + barPosition_buf = TypeChecker.BarPosition_FromNumeric(valueDeserializer.readInt32()) + } + const barPosition_result : BarPosition | undefined = barPosition_buf + const index_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let index_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (index_buf_runtimeType)) + { + index_buf = (valueDeserializer.readNumber() as number) + } + const index_result : number | undefined = index_buf + const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let controller_buf : TabsController | undefined + if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) + { + controller_buf = (valueDeserializer.readTabsController() as TabsController) + } + const controller_result : TabsController | undefined = controller_buf + const barModifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let barModifier_buf : CommonModifier | undefined + if ((RuntimeType.UNDEFINED) != (barModifier_buf_runtimeType)) + { + barModifier_buf = valueDeserializer.readCommonModifier() + } + const barModifier_result : CommonModifier | undefined = barModifier_buf + let value : TabsOptions = ({barPosition: barPosition_result, index: index_result, controller: controller_result, barModifier: barModifier_result} as TabsOptions) + return value + } + public readTerminationInfo(): TerminationInfo { + let valueDeserializer : Deserializer = this + const code_result : number = (valueDeserializer.readNumber() as number) + const want_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let want_buf : Want | undefined + if ((RuntimeType.UNDEFINED) != (want_buf_runtimeType)) { - duration_buf = (valueDeserializer.readNumber() as number) + want_buf = valueDeserializer.readWant() } - const duration_result : number | undefined = duration_buf - let value : ImageFrameInfo = ({src: src_result, width: width_result, height: height_result, top: top_result, left: left_result, duration: duration_result} as ImageFrameInfo) + const want_result : Want | undefined = want_buf + let value : TerminationInfo = ({code: code_result, want: want_result} as TerminationInfo) return value } - readIndicatorStyle(): IndicatorStyle { + public readTextAreaOptions(): TextAreaOptions { let valueDeserializer : Deserializer = this - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let placeholder_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (placeholder_buf_runtimeType)) { - const height_buf__selector : int32 = valueDeserializer.readInt8() - let height_buf_ : string | number | Resource | undefined - if (height_buf__selector == 0) { - height_buf_ = (valueDeserializer.readString() as string) - } - else if (height_buf__selector == 1) { - height_buf_ = (valueDeserializer.readNumber() as number) + const placeholder_buf__selector : int32 = valueDeserializer.readInt8() + let placeholder_buf_ : string | Resource | undefined + if (placeholder_buf__selector == 0) { + placeholder_buf_ = (valueDeserializer.readString() as string) } - else if (height_buf__selector == 2) { - height_buf_ = valueDeserializer.readResource() + else if (placeholder_buf__selector == 1) { + placeholder_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for placeholder_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_ as string | number | Resource) + placeholder_buf = (placeholder_buf_ as string | Resource) } - const height_result : Length | undefined = height_buf - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const placeholder_result : ResourceStr | undefined = placeholder_buf + const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let text_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) { - const width_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf_ : string | number | Resource | undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readNumber() as number) + const text_buf__selector : int32 = valueDeserializer.readInt8() + let text_buf_ : string | Resource | undefined + if (text_buf__selector == 0) { + text_buf_ = (valueDeserializer.readString() as string) } - else if (width_buf__selector == 2) { - width_buf_ = valueDeserializer.readResource() + else if (text_buf__selector == 1) { + text_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") } - width_buf = (width_buf_ as string | number | Resource) + text_buf = (text_buf_ as string | Resource) } - const width_result : Length | undefined = width_buf - const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) + const text_result : ResourceStr | undefined = text_buf + const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let controller_buf : TextAreaController | undefined + if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) { - const borderRadius_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf_ : string | number | Resource | undefined - if (borderRadius_buf__selector == 0) { - borderRadius_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__selector == 1) { - borderRadius_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__selector == 2) { - borderRadius_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf = (borderRadius_buf_ as string | number | Resource) + controller_buf = (valueDeserializer.readTextAreaController() as TextAreaController) } - const borderRadius_result : Length | undefined = borderRadius_buf - const marginTop_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let marginTop_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (marginTop_buf_runtimeType)) + const controller_result : TextAreaController | undefined = controller_buf + let value : TextAreaOptions = ({placeholder: placeholder_result, text: text_result, controller: controller_result} as TextAreaOptions) + return value + } + public readTextCascadePickerRangeContent(): TextCascadePickerRangeContent { + let valueDeserializer : Deserializer = this + const text_buf_selector : int32 = valueDeserializer.readInt8() + let text_buf : string | Resource | undefined + if (text_buf_selector == 0) { + text_buf = (valueDeserializer.readString() as string) + } + else if (text_buf_selector == 1) { + text_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for text_buf has to be chosen through deserialisation.") + } + const text_result : string | Resource = (text_buf as string | Resource) + const children_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let children_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (children_buf_runtimeType)) { - const marginTop_buf__selector : int32 = valueDeserializer.readInt8() - let marginTop_buf_ : string | number | Resource | undefined - if (marginTop_buf__selector == 0) { - marginTop_buf_ = (valueDeserializer.readString() as string) - } - else if (marginTop_buf__selector == 1) { - marginTop_buf_ = (valueDeserializer.readNumber() as number) - } - else if (marginTop_buf__selector == 2) { - marginTop_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for marginTop_buf_ has to be chosen through deserialisation.") + const children_buf__length : int32 = valueDeserializer.readInt32() + let children_buf_ : Array = new Array(children_buf__length) + for (let children_buf__i = 0; children_buf__i < children_buf__length; children_buf__i++) { + children_buf_[children_buf__i] = valueDeserializer.readTextCascadePickerRangeContent() } - marginTop_buf = (marginTop_buf_ as string | number | Resource) + children_buf = children_buf_ } - const marginTop_result : Length | undefined = marginTop_buf + const children_result : Array | undefined = children_buf + let value : TextCascadePickerRangeContent = ({text: text_result, children: children_result} as TextCascadePickerRangeContent) + return value + } + public readTextChangeOptions(): TextChangeOptions { + let valueDeserializer : Deserializer = this + const rangeBefore_result : TextRange = valueDeserializer.readTextRange() + const rangeAfter_result : TextRange = valueDeserializer.readTextRange() + const oldContent_result : string = (valueDeserializer.readString() as string) + const oldPreviewText_result : PreviewText = valueDeserializer.readPreviewText() + let value : TextChangeOptions = ({rangeBefore: rangeBefore_result, rangeAfter: rangeAfter_result, oldContent: oldContent_result, oldPreviewText: oldPreviewText_result} as TextChangeOptions) + return value + } + public readTextDecorationOptions(): TextDecorationOptions { + let valueDeserializer : Deserializer = this + const type_result : TextDecorationType = TypeChecker.TextDecorationType_FromNumeric(valueDeserializer.readInt32()) const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) let color_buf : ResourceColor | undefined if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) @@ -14641,1889 +17334,1998 @@ export class Deserializer extends DeserializerBase { color_buf = (color_buf_ as Color | number | string | Resource) } const color_result : ResourceColor | undefined = color_buf - const selectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let selectedColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (selectedColor_buf_runtimeType)) - { - const selectedColor_buf__selector : int32 = valueDeserializer.readInt8() - let selectedColor_buf_ : Color | number | string | Resource | undefined - if (selectedColor_buf__selector == 0) { - selectedColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (selectedColor_buf__selector == 1) { - selectedColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (selectedColor_buf__selector == 2) { - selectedColor_buf_ = (valueDeserializer.readString() as string) - } - else if (selectedColor_buf__selector == 3) { - selectedColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for selectedColor_buf_ has to be chosen through deserialisation.") - } - selectedColor_buf = (selectedColor_buf_ as Color | number | string | Resource) - } - const selectedColor_result : ResourceColor | undefined = selectedColor_buf - const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) - { - const left_buf__selector : int32 = valueDeserializer.readInt8() - let left_buf_ : string | number | Resource | undefined - if (left_buf__selector == 0) { - left_buf_ = (valueDeserializer.readString() as string) - } - else if (left_buf__selector == 1) { - left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (left_buf__selector == 2) { - left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") - } - left_buf = (left_buf_ as string | number | Resource) - } - const left_result : Length | undefined = left_buf - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) - { - const top_buf__selector : int32 = valueDeserializer.readInt8() - let top_buf_ : string | number | Resource | undefined - if (top_buf__selector == 0) { - top_buf_ = (valueDeserializer.readString() as string) - } - else if (top_buf__selector == 1) { - top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (top_buf__selector == 2) { - top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") - } - top_buf = (top_buf_ as string | number | Resource) - } - const top_result : Length | undefined = top_buf - const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) + const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let style_buf : TextDecorationStyle | undefined + if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) { - const right_buf__selector : int32 = valueDeserializer.readInt8() - let right_buf_ : string | number | Resource | undefined - if (right_buf__selector == 0) { - right_buf_ = (valueDeserializer.readString() as string) - } - else if (right_buf__selector == 1) { - right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (right_buf__selector == 2) { - right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") - } - right_buf = (right_buf_ as string | number | Resource) + style_buf = TypeChecker.TextDecorationStyle_FromNumeric(valueDeserializer.readInt32()) } - const right_result : Length | undefined = right_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + const style_result : TextDecorationStyle | undefined = style_buf + let value : TextDecorationOptions = ({type: type_result, color: color_result, style: style_result} as TextDecorationOptions) + return value + } + public readTextInputOptions(): TextInputOptions { + let valueDeserializer : Deserializer = this + const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let placeholder_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (placeholder_buf_runtimeType)) { - const bottom_buf__selector : int32 = valueDeserializer.readInt8() - let bottom_buf_ : string | number | Resource | undefined - if (bottom_buf__selector == 0) { - bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (bottom_buf__selector == 1) { - bottom_buf_ = (valueDeserializer.readNumber() as number) + const placeholder_buf__selector : int32 = valueDeserializer.readInt8() + let placeholder_buf_ : string | Resource | undefined + if (placeholder_buf__selector == 0) { + placeholder_buf_ = (valueDeserializer.readString() as string) } - else if (bottom_buf__selector == 2) { - bottom_buf_ = valueDeserializer.readResource() + else if (placeholder_buf__selector == 1) { + placeholder_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for placeholder_buf_ has to be chosen through deserialisation.") } - bottom_buf = (bottom_buf_ as string | number | Resource) + placeholder_buf = (placeholder_buf_ as string | Resource) } - const bottom_result : Length | undefined = bottom_buf - const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let size_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) + const placeholder_result : ResourceStr | undefined = placeholder_buf + const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let text_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) { - const size_buf__selector : int32 = valueDeserializer.readInt8() - let size_buf_ : string | number | Resource | undefined - if (size_buf__selector == 0) { - size_buf_ = (valueDeserializer.readString() as string) - } - else if (size_buf__selector == 1) { - size_buf_ = (valueDeserializer.readNumber() as number) + const text_buf__selector : int32 = valueDeserializer.readInt8() + let text_buf_ : string | Resource | undefined + if (text_buf__selector == 0) { + text_buf_ = (valueDeserializer.readString() as string) } - else if (size_buf__selector == 2) { - size_buf_ = valueDeserializer.readResource() + else if (text_buf__selector == 1) { + text_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") } - size_buf = (size_buf_ as string | number | Resource) + text_buf = (text_buf_ as string | Resource) } - const size_result : Length | undefined = size_buf - const mask_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let mask_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (mask_buf_runtimeType)) + const text_result : ResourceStr | undefined = text_buf + const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let controller_buf : TextInputController | undefined + if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) { - mask_buf = valueDeserializer.readBoolean() + controller_buf = (valueDeserializer.readTextInputController() as TextInputController) } - const mask_result : boolean | undefined = mask_buf - let value : IndicatorStyle = ({height: height_result, width: width_result, borderRadius: borderRadius_result, marginTop: marginTop_result, color: color_result, selectedColor: selectedColor_result, left: left_result, top: top_result, right: right_result, bottom: bottom_result, size: size_result, mask: mask_result} as IndicatorStyle) + const controller_result : TextInputController | undefined = controller_buf + let value : TextInputOptions = ({placeholder: placeholder_result, text: text_result, controller: controller_result} as TextInputOptions) return value } - readJavaScriptProxy(): JavaScriptProxy { + public readTextMenuItem(): TextMenuItem { let valueDeserializer : Deserializer = this - const object__result : Object = (valueDeserializer.readObject() as Object) - const name_result : string = (valueDeserializer.readString() as string) - const methodList_buf_length : int32 = valueDeserializer.readInt32() - let methodList_buf : Array = new Array(methodList_buf_length) - for (let methodList_buf_i = 0; methodList_buf_i < methodList_buf_length; methodList_buf_i++) { - methodList_buf[methodList_buf_i] = (valueDeserializer.readString() as string) - } - const methodList_result : Array = methodList_buf - const controller_buf_selector : int32 = valueDeserializer.readInt8() - let controller_buf : WebController | WebviewController | undefined - if (controller_buf_selector == 0) { - controller_buf = (valueDeserializer.readWebController() as WebController) + const content_buf_selector : int32 = valueDeserializer.readInt8() + let content_buf : string | Resource | undefined + if (content_buf_selector == 0) { + content_buf = (valueDeserializer.readString() as string) } - else if (controller_buf_selector == 1) { - controller_buf = (valueDeserializer.readWebviewController() as WebviewController) + else if (content_buf_selector == 1) { + content_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for content_buf has to be chosen through deserialisation.") } - const controller_result : WebController | WebviewController = (controller_buf as WebController | WebviewController) - const asyncMethodList_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let asyncMethodList_buf : Array | undefined - if ((RuntimeType.UNDEFINED) != (asyncMethodList_buf_runtimeType)) + const content_result : ResourceStr = (content_buf as string | Resource) + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) { - const asyncMethodList_buf__length : int32 = valueDeserializer.readInt32() - let asyncMethodList_buf_ : Array = new Array(asyncMethodList_buf__length) - for (let asyncMethodList_buf__i = 0; asyncMethodList_buf__i < asyncMethodList_buf__length; asyncMethodList_buf__i++) { - asyncMethodList_buf_[asyncMethodList_buf__i] = (valueDeserializer.readString() as string) + const icon_buf__selector : int32 = valueDeserializer.readInt8() + let icon_buf_ : string | Resource | undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) } - asyncMethodList_buf = asyncMethodList_buf_ + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + } + icon_buf = (icon_buf_ as string | Resource) } - const asyncMethodList_result : Array | undefined = asyncMethodList_buf - const permission_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let permission_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (permission_buf_runtimeType)) + const icon_result : ResourceStr | undefined = icon_buf + const id_result : TextMenuItemId = (valueDeserializer.readTextMenuItemId() as TextMenuItemId) + const labelInfo_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let labelInfo_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (labelInfo_buf_runtimeType)) { - permission_buf = (valueDeserializer.readString() as string) + const labelInfo_buf__selector : int32 = valueDeserializer.readInt8() + let labelInfo_buf_ : string | Resource | undefined + if (labelInfo_buf__selector == 0) { + labelInfo_buf_ = (valueDeserializer.readString() as string) + } + else if (labelInfo_buf__selector == 1) { + labelInfo_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for labelInfo_buf_ has to be chosen through deserialisation.") + } + labelInfo_buf = (labelInfo_buf_ as string | Resource) } - const permission_result : string | undefined = permission_buf - let value : JavaScriptProxy = ({object_: object__result, name: name_result, methodList: methodList_result, controller: controller_result, asyncMethodList: asyncMethodList_result, permission: permission_result} as JavaScriptProxy) + const labelInfo_result : ResourceStr | undefined = labelInfo_buf + let value : TextMenuItem = ({content: content_result, icon: icon_result, id: id_result, labelInfo: labelInfo_result} as TextMenuItem) return value } - readLightSource(): LightSource { + public readTextPickerOptions(): TextPickerOptions { let valueDeserializer : Deserializer = this - const positionX_buf_selector : int32 = valueDeserializer.readInt8() - let positionX_buf : string | number | Resource | undefined - if (positionX_buf_selector == 0) { - positionX_buf = (valueDeserializer.readString() as string) - } - else if (positionX_buf_selector == 1) { - positionX_buf = (valueDeserializer.readNumber() as number) - } - else if (positionX_buf_selector == 2) { - positionX_buf = valueDeserializer.readResource() + const range_buf_selector : int32 = valueDeserializer.readInt8() + let range_buf : Array | Array> | Resource | Array | Array | undefined + if (range_buf_selector == 0) { + const range_buf_u_length : int32 = valueDeserializer.readInt32() + let range_buf_u : Array = new Array(range_buf_u_length) + for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { + range_buf_u[range_buf_u_i] = (valueDeserializer.readString() as string) + } + range_buf = range_buf_u } - else { - throw new Error("One of the branches for positionX_buf has to be chosen through deserialisation.") + else if (range_buf_selector == 1) { + const range_buf_u_length : int32 = valueDeserializer.readInt32() + let range_buf_u : Array> = new Array>(range_buf_u_length) + for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { + const range_buf_u_buf_length : int32 = valueDeserializer.readInt32() + let range_buf_u_buf : Array = new Array(range_buf_u_buf_length) + for (let range_buf_u_buf_i = 0; range_buf_u_buf_i < range_buf_u_buf_length; range_buf_u_buf_i++) { + range_buf_u_buf[range_buf_u_buf_i] = (valueDeserializer.readString() as string) + } + range_buf_u[range_buf_u_i] = range_buf_u_buf + } + range_buf = range_buf_u } - const positionX_result : Dimension = (positionX_buf as string | number | Resource) - const positionY_buf_selector : int32 = valueDeserializer.readInt8() - let positionY_buf : string | number | Resource | undefined - if (positionY_buf_selector == 0) { - positionY_buf = (valueDeserializer.readString() as string) + else if (range_buf_selector == 2) { + range_buf = valueDeserializer.readResource() } - else if (positionY_buf_selector == 1) { - positionY_buf = (valueDeserializer.readNumber() as number) + else if (range_buf_selector == 3) { + const range_buf_u_length : int32 = valueDeserializer.readInt32() + let range_buf_u : Array = new Array(range_buf_u_length) + for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { + range_buf_u[range_buf_u_i] = valueDeserializer.readTextPickerRangeContent() + } + range_buf = range_buf_u } - else if (positionY_buf_selector == 2) { - positionY_buf = valueDeserializer.readResource() + else if (range_buf_selector == 4) { + const range_buf_u_length : int32 = valueDeserializer.readInt32() + let range_buf_u : Array = new Array(range_buf_u_length) + for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { + range_buf_u[range_buf_u_i] = valueDeserializer.readTextCascadePickerRangeContent() + } + range_buf = range_buf_u } else { - throw new Error("One of the branches for positionY_buf has to be chosen through deserialisation.") - } - const positionY_result : Dimension = (positionY_buf as string | number | Resource) - const positionZ_buf_selector : int32 = valueDeserializer.readInt8() - let positionZ_buf : string | number | Resource | undefined - if (positionZ_buf_selector == 0) { - positionZ_buf = (valueDeserializer.readString() as string) - } - else if (positionZ_buf_selector == 1) { - positionZ_buf = (valueDeserializer.readNumber() as number) - } - else if (positionZ_buf_selector == 2) { - positionZ_buf = valueDeserializer.readResource() + throw new Error("One of the branches for range_buf has to be chosen through deserialisation.") } - else { - throw new Error("One of the branches for positionZ_buf has to be chosen through deserialisation.") + const range_result : Array | Array> | Resource | Array | Array = (range_buf as Array | Array> | Resource | Array | Array) + const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let value_buf : string | Array | undefined + if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) + { + const value_buf__selector : int32 = valueDeserializer.readInt8() + let value_buf_ : string | Array | undefined + if (value_buf__selector == 0) { + value_buf_ = (valueDeserializer.readString() as string) + } + else if (value_buf__selector == 1) { + const value_buf__u_length : int32 = valueDeserializer.readInt32() + let value_buf__u : Array = new Array(value_buf__u_length) + for (let value_buf__u_i = 0; value_buf__u_i < value_buf__u_length; value_buf__u_i++) { + value_buf__u[value_buf__u_i] = (valueDeserializer.readString() as string) + } + value_buf_ = value_buf__u + } + else { + throw new Error("One of the branches for value_buf_ has to be chosen through deserialisation.") + } + value_buf = (value_buf_ as string | Array) } - const positionZ_result : Dimension = (positionZ_buf as string | number | Resource) - const intensity_result : number = (valueDeserializer.readNumber() as number) - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const value_result : string | Array | undefined = value_buf + const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let selected_buf : number | Array | undefined + if ((RuntimeType.UNDEFINED) != (selected_buf_runtimeType)) { - const color_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf_ : Color | number | string | Resource | undefined - if (color_buf__selector == 0) { - color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const selected_buf__selector : int32 = valueDeserializer.readInt8() + let selected_buf_ : number | Array | undefined + if (selected_buf__selector == 0) { + selected_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + else if (selected_buf__selector == 1) { + const selected_buf__u_length : int32 = valueDeserializer.readInt32() + let selected_buf__u : Array = new Array(selected_buf__u_length) + for (let selected_buf__u_i = 0; selected_buf__u_i < selected_buf__u_length; selected_buf__u_i++) { + selected_buf__u[selected_buf__u_i] = (valueDeserializer.readNumber() as number) + } + selected_buf_ = selected_buf__u } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else { + throw new Error("One of the branches for selected_buf_ has to be chosen through deserialisation.") + } + selected_buf = (selected_buf_ as number | Array) + } + const selected_result : number | Array | undefined = selected_buf + const columnWidths_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let columnWidths_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (columnWidths_buf_runtimeType)) + { + const columnWidths_buf__length : int32 = valueDeserializer.readInt32() + let columnWidths_buf_ : Array = new Array(columnWidths_buf__length) + for (let columnWidths_buf__i = 0; columnWidths_buf__i < columnWidths_buf__length; columnWidths_buf__i++) { + columnWidths_buf_[columnWidths_buf__i] = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + columnWidths_buf = columnWidths_buf_ + } + const columnWidths_result : Array | undefined = columnWidths_buf + let value : TextPickerOptions = ({range: range_result, value: value_result, selected: selected_result, columnWidths: columnWidths_result} as TextPickerOptions) + return value + } + public readTextPickerRangeContent(): TextPickerRangeContent { + let valueDeserializer : Deserializer = this + const icon_buf_selector : int32 = valueDeserializer.readInt8() + let icon_buf : string | Resource | undefined + if (icon_buf_selector == 0) { + icon_buf = (valueDeserializer.readString() as string) + } + else if (icon_buf_selector == 1) { + icon_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for icon_buf has to be chosen through deserialisation.") + } + const icon_result : string | Resource = (icon_buf as string | Resource) + const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let text_buf : string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) + { + const text_buf__selector : int32 = valueDeserializer.readInt8() + let text_buf_ : string | Resource | undefined + if (text_buf__selector == 0) { + text_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (text_buf__selector == 1) { + text_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) + text_buf = (text_buf_ as string | Resource) } - const color_result : ResourceColor | undefined = color_buf - let value : LightSource = ({positionX: positionX_result, positionY: positionY_result, positionZ: positionZ_result, intensity: intensity_result, color: color_result} as LightSource) + const text_result : string | Resource | undefined = text_buf + let value : TextPickerRangeContent = ({icon: icon_result, text: text_result} as TextPickerRangeContent) return value } - readLinearIndicatorStyle(): LinearIndicatorStyle { + public readTextPickerResult(): TextPickerResult { let valueDeserializer : Deserializer = this - const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let space_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) - { - space_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const value_buf_selector : int32 = valueDeserializer.readInt8() + let value_buf : string | Array | undefined + if (value_buf_selector == 0) { + value_buf = (valueDeserializer.readString() as string) } - const space_result : LengthMetrics | undefined = space_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) - { - strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + else if (value_buf_selector == 1) { + const value_buf_u_length : int32 = valueDeserializer.readInt32() + let value_buf_u : Array = new Array(value_buf_u_length) + for (let value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { + value_buf_u[value_buf_u_i] = (valueDeserializer.readString() as string) + } + value_buf = value_buf_u } - const strokeWidth_result : LengthMetrics | undefined = strokeWidth_buf - const strokeRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeRadius_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (strokeRadius_buf_runtimeType)) + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + } + const value_result : string | Array = (value_buf as string | Array) + const index_buf_selector : int32 = valueDeserializer.readInt8() + let index_buf : number | Array | undefined + if (index_buf_selector == 0) { + index_buf = (valueDeserializer.readNumber() as number) + } + else if (index_buf_selector == 1) { + const index_buf_u_length : int32 = valueDeserializer.readInt32() + let index_buf_u : Array = new Array(index_buf_u_length) + for (let index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u[index_buf_u_i] = (valueDeserializer.readNumber() as number) + } + index_buf = index_buf_u + } + else { + throw new Error("One of the branches for index_buf has to be chosen through deserialisation.") + } + const index_result : number | Array = (index_buf as number | Array) + let value : TextPickerResult = ({value: value_result, index: index_result} as TextPickerResult) + return value + } + public readTextShadow(): TextShadow { + let valueDeserializer : Deserializer = this + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : common2D.Color | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - strokeRadius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + color_buf = valueDeserializer.readcommon2D_Color() } - const strokeRadius_result : LengthMetrics | undefined = strokeRadius_buf - const trackBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let trackBackgroundColor_buf : ColorMetrics | undefined - if ((RuntimeType.UNDEFINED) != (trackBackgroundColor_buf_runtimeType)) + const color_result : common2D.Color | undefined = color_buf + const point_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let point_buf : common2D.Point | undefined + if ((RuntimeType.UNDEFINED) != (point_buf_runtimeType)) { - trackBackgroundColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + point_buf = valueDeserializer.readcommon2D_Point() } - const trackBackgroundColor_result : ColorMetrics | undefined = trackBackgroundColor_buf - const trackColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let trackColor_buf : ColorMetrics | undefined - if ((RuntimeType.UNDEFINED) != (trackColor_buf_runtimeType)) + const point_result : common2D.Point | undefined = point_buf + const blurRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let blurRadius_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (blurRadius_buf_runtimeType)) { - trackColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + blurRadius_buf = (valueDeserializer.readNumber() as number) } - const trackColor_result : ColorMetrics | undefined = trackColor_buf - let value : LinearIndicatorStyle = ({space: space_result, strokeWidth: strokeWidth_result, strokeRadius: strokeRadius_result, trackBackgroundColor: trackBackgroundColor_result, trackColor: trackColor_result} as LinearIndicatorStyle) + const blurRadius_result : number | undefined = blurRadius_buf + let value : TextShadow = ({color: color_result, point: point_result, blurRadius: blurRadius_result} as TextShadow) return value } - readLinearStyleOptions(): LinearStyleOptions { + public readTextStyle_styled_string(): TextStyle_styled_string { let valueDeserializer : Deserializer = this - const enableScanEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableScanEffect_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (enableScanEffect_buf_runtimeType)) + let ptr : KPointer = valueDeserializer.readPointer() + return TextStyle_styled_stringInternal.fromPtr(ptr) + } + public readTextStyleInterface(): TextStyleInterface { + let valueDeserializer : Deserializer = this + const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) { - enableScanEffect_buf = valueDeserializer.readBoolean() + const fontColor_buf__selector : int32 = valueDeserializer.readInt8() + let fontColor_buf_ : Color | number | string | Resource | undefined + if (fontColor_buf__selector == 0) { + fontColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (fontColor_buf__selector == 1) { + fontColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontColor_buf__selector == 2) { + fontColor_buf_ = (valueDeserializer.readString() as string) + } + else if (fontColor_buf__selector == 3) { + fontColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontColor_buf_ has to be chosen through deserialisation.") + } + fontColor_buf = (fontColor_buf_ as Color | number | string | Resource) } - const enableScanEffect_result : boolean | undefined = enableScanEffect_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + const fontColor_result : ResourceColor | undefined = fontColor_buf + const fontFamily_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFamily_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (fontFamily_buf_runtimeType)) { - const strokeWidth_buf__selector : int32 = valueDeserializer.readInt8() - let strokeWidth_buf_ : string | number | Resource | undefined - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_ = (valueDeserializer.readString() as string) - } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + const fontFamily_buf__selector : int32 = valueDeserializer.readInt8() + let fontFamily_buf_ : string | Resource | undefined + if (fontFamily_buf__selector == 0) { + fontFamily_buf_ = (valueDeserializer.readString() as string) } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_ = valueDeserializer.readResource() + else if (fontFamily_buf__selector == 1) { + fontFamily_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontFamily_buf_ has to be chosen through deserialisation.") } - strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) + fontFamily_buf = (fontFamily_buf_ as string | Resource) } - const strokeWidth_result : Length | undefined = strokeWidth_buf - const strokeRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeRadius_buf : string | number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (strokeRadius_buf_runtimeType)) + const fontFamily_result : ResourceStr | undefined = fontFamily_buf + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) { - const strokeRadius_buf__selector : int32 = valueDeserializer.readInt8() - let strokeRadius_buf_ : string | number | Resource | undefined - if (strokeRadius_buf__selector == 0) { - strokeRadius_buf_ = (valueDeserializer.readString() as string) + fontSize_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const fontSize_result : LengthMetrics | undefined = fontSize_buf + const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontWeight_buf : number | FontWeight | string | undefined + if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + { + const fontWeight_buf__selector : int32 = valueDeserializer.readInt8() + let fontWeight_buf_ : number | FontWeight | string | undefined + if (fontWeight_buf__selector == 0) { + fontWeight_buf_ = (valueDeserializer.readNumber() as number) } - else if (strokeRadius_buf__selector == 1) { - strokeRadius_buf_ = (valueDeserializer.readNumber() as number) + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_ = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) } - else if (strokeRadius_buf__selector == 2) { - strokeRadius_buf_ = valueDeserializer.readResource() + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for strokeRadius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") } - strokeRadius_buf = (strokeRadius_buf_ as string | number | Resource) + fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) } - const strokeRadius_result : PX | VP | LPX | Resource | undefined = strokeRadius_buf - let value : LinearStyleOptions = ({enableScanEffect: enableScanEffect_result, strokeWidth: strokeWidth_result, strokeRadius: strokeRadius_result} as LinearStyleOptions) + const fontWeight_result : number | FontWeight | string | undefined = fontWeight_buf + const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontStyle_buf : FontStyle | undefined + if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) + { + fontStyle_buf = TypeChecker.FontStyle_FromNumeric(valueDeserializer.readInt32()) + } + const fontStyle_result : FontStyle | undefined = fontStyle_buf + let value : TextStyleInterface = ({fontColor: fontColor_result, fontFamily: fontFamily_result, fontSize: fontSize_result, fontWeight: fontWeight_result, fontStyle: fontStyle_result} as TextStyleInterface) return value } - readListDividerOptions(): ListDividerOptions { + public readTodayStyle(): TodayStyle { let valueDeserializer : Deserializer = this - const strokeWidth_buf_selector : int32 = valueDeserializer.readInt8() - let strokeWidth_buf : string | number | Resource | undefined - if (strokeWidth_buf_selector == 0) { - strokeWidth_buf = (valueDeserializer.readString() as string) - } - else if (strokeWidth_buf_selector == 1) { - strokeWidth_buf = (valueDeserializer.readNumber() as number) - } - else if (strokeWidth_buf_selector == 2) { - strokeWidth_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for strokeWidth_buf has to be chosen through deserialisation.") - } - const strokeWidth_result : Length = (strokeWidth_buf as string | number | Resource) - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const focusedDayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let focusedDayColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (focusedDayColor_buf_runtimeType)) { - const color_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf_ : Color | number | string | Resource | undefined - if (color_buf__selector == 0) { - color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const focusedDayColor_buf__selector : int32 = valueDeserializer.readInt8() + let focusedDayColor_buf_ : Color | number | string | Resource | undefined + if (focusedDayColor_buf__selector == 0) { + focusedDayColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + else if (focusedDayColor_buf__selector == 1) { + focusedDayColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else if (focusedDayColor_buf__selector == 2) { + focusedDayColor_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (focusedDayColor_buf__selector == 3) { + focusedDayColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for focusedDayColor_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) + focusedDayColor_buf = (focusedDayColor_buf_ as Color | number | string | Resource) } - const color_result : ResourceColor | undefined = color_buf - const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startMargin_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + const focusedDayColor_result : ResourceColor | undefined = focusedDayColor_buf + const focusedLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let focusedLunarColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (focusedLunarColor_buf_runtimeType)) { - const startMargin_buf__selector : int32 = valueDeserializer.readInt8() - let startMargin_buf_ : string | number | Resource | undefined - if (startMargin_buf__selector == 0) { - startMargin_buf_ = (valueDeserializer.readString() as string) + const focusedLunarColor_buf__selector : int32 = valueDeserializer.readInt8() + let focusedLunarColor_buf_ : Color | number | string | Resource | undefined + if (focusedLunarColor_buf__selector == 0) { + focusedLunarColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (startMargin_buf__selector == 1) { - startMargin_buf_ = (valueDeserializer.readNumber() as number) + else if (focusedLunarColor_buf__selector == 1) { + focusedLunarColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (startMargin_buf__selector == 2) { - startMargin_buf_ = valueDeserializer.readResource() + else if (focusedLunarColor_buf__selector == 2) { + focusedLunarColor_buf_ = (valueDeserializer.readString() as string) + } + else if (focusedLunarColor_buf__selector == 3) { + focusedLunarColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for focusedLunarColor_buf_ has to be chosen through deserialisation.") } - startMargin_buf = (startMargin_buf_ as string | number | Resource) + focusedLunarColor_buf = (focusedLunarColor_buf_ as Color | number | string | Resource) } - const startMargin_result : Length | undefined = startMargin_buf - const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let endMargin_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) + const focusedLunarColor_result : ResourceColor | undefined = focusedLunarColor_buf + const focusedAreaBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let focusedAreaBackgroundColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (focusedAreaBackgroundColor_buf_runtimeType)) { - const endMargin_buf__selector : int32 = valueDeserializer.readInt8() - let endMargin_buf_ : string | number | Resource | undefined - if (endMargin_buf__selector == 0) { - endMargin_buf_ = (valueDeserializer.readString() as string) + const focusedAreaBackgroundColor_buf__selector : int32 = valueDeserializer.readInt8() + let focusedAreaBackgroundColor_buf_ : Color | number | string | Resource | undefined + if (focusedAreaBackgroundColor_buf__selector == 0) { + focusedAreaBackgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (endMargin_buf__selector == 1) { - endMargin_buf_ = (valueDeserializer.readNumber() as number) + else if (focusedAreaBackgroundColor_buf__selector == 1) { + focusedAreaBackgroundColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (endMargin_buf__selector == 2) { - endMargin_buf_ = valueDeserializer.readResource() + else if (focusedAreaBackgroundColor_buf__selector == 2) { + focusedAreaBackgroundColor_buf_ = (valueDeserializer.readString() as string) + } + else if (focusedAreaBackgroundColor_buf__selector == 3) { + focusedAreaBackgroundColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for focusedAreaBackgroundColor_buf_ has to be chosen through deserialisation.") } - endMargin_buf = (endMargin_buf_ as string | number | Resource) + focusedAreaBackgroundColor_buf = (focusedAreaBackgroundColor_buf_ as Color | number | string | Resource) } - const endMargin_result : Length | undefined = endMargin_buf - let value : ListDividerOptions = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as ListDividerOptions) + const focusedAreaBackgroundColor_result : ResourceColor | undefined = focusedAreaBackgroundColor_buf + const focusedAreaRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let focusedAreaRadius_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (focusedAreaRadius_buf_runtimeType)) + { + focusedAreaRadius_buf = (valueDeserializer.readNumber() as number) + } + const focusedAreaRadius_result : number | undefined = focusedAreaRadius_buf + let value : TodayStyle = ({focusedDayColor: focusedDayColor_result, focusedLunarColor: focusedLunarColor_result, focusedAreaBackgroundColor: focusedAreaBackgroundColor_result, focusedAreaRadius: focusedAreaRadius_result} as TodayStyle) return value } - readLocalizedAlignRuleOptions(): LocalizedAlignRuleOptions { + public readToolbarItem(): ToolbarItem { let valueDeserializer : Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf : LocalizedHorizontalAlignParam | undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) - { - start_buf = valueDeserializer.readLocalizedHorizontalAlignParam() + const value_buf_selector : int32 = valueDeserializer.readInt8() + let value_buf : string | Resource | undefined + if (value_buf_selector == 0) { + value_buf = (valueDeserializer.readString() as string) } - const start_result : LocalizedHorizontalAlignParam | undefined = start_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf : LocalizedHorizontalAlignParam | undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + else if (value_buf_selector == 1) { + value_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + } + const value_result : ResourceStr = (value_buf as string | Resource) + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) { - end_buf = valueDeserializer.readLocalizedHorizontalAlignParam() + const icon_buf__selector : int32 = valueDeserializer.readInt8() + let icon_buf_ : string | Resource | undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) + } + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + } + icon_buf = (icon_buf_ as string | Resource) } - const end_result : LocalizedHorizontalAlignParam | undefined = end_buf - const middle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let middle_buf : LocalizedHorizontalAlignParam | undefined - if ((RuntimeType.UNDEFINED) != (middle_buf_runtimeType)) + const icon_result : ResourceStr | undefined = icon_buf + const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let symbolIcon_buf : SymbolGlyphModifier | undefined + if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) { - middle_buf = valueDeserializer.readLocalizedHorizontalAlignParam() + symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() } - const middle_result : LocalizedHorizontalAlignParam | undefined = middle_buf - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf : LocalizedVerticalAlignParam | undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + const symbolIcon_result : SymbolGlyphModifier | undefined = symbolIcon_buf + const action_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let action_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (action_buf_runtimeType)) { - top_buf = valueDeserializer.readLocalizedVerticalAlignParam() + action_buf = valueDeserializer.readCallback_Void() } - const top_result : LocalizedVerticalAlignParam | undefined = top_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf : LocalizedVerticalAlignParam | undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + const action_result : (() => void) | undefined = action_buf + const status_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let status_buf : ToolbarItemStatus | undefined + if ((RuntimeType.UNDEFINED) != (status_buf_runtimeType)) { - bottom_buf = valueDeserializer.readLocalizedVerticalAlignParam() + status_buf = TypeChecker.ToolbarItemStatus_FromNumeric(valueDeserializer.readInt32()) } - const bottom_result : LocalizedVerticalAlignParam | undefined = bottom_buf - const center_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let center_buf : LocalizedVerticalAlignParam | undefined - if ((RuntimeType.UNDEFINED) != (center_buf_runtimeType)) + const status_result : ToolbarItemStatus | undefined = status_buf + const activeIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let activeIcon_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (activeIcon_buf_runtimeType)) { - center_buf = valueDeserializer.readLocalizedVerticalAlignParam() + const activeIcon_buf__selector : int32 = valueDeserializer.readInt8() + let activeIcon_buf_ : string | Resource | undefined + if (activeIcon_buf__selector == 0) { + activeIcon_buf_ = (valueDeserializer.readString() as string) + } + else if (activeIcon_buf__selector == 1) { + activeIcon_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for activeIcon_buf_ has to be chosen through deserialisation.") + } + activeIcon_buf = (activeIcon_buf_ as string | Resource) } - const center_result : LocalizedVerticalAlignParam | undefined = center_buf - const bias_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bias_buf : Bias | undefined - if ((RuntimeType.UNDEFINED) != (bias_buf_runtimeType)) + const activeIcon_result : ResourceStr | undefined = activeIcon_buf + const activeSymbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let activeSymbolIcon_buf : SymbolGlyphModifier | undefined + if ((RuntimeType.UNDEFINED) != (activeSymbolIcon_buf_runtimeType)) { - bias_buf = valueDeserializer.readBias() + activeSymbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() } - const bias_result : Bias | undefined = bias_buf - let value : LocalizedAlignRuleOptions = ({start: start_result, end: end_result, middle: middle_result, top: top_result, bottom: bottom_result, center: center_result, bias: bias_result} as LocalizedAlignRuleOptions) + const activeSymbolIcon_result : SymbolGlyphModifier | undefined = activeSymbolIcon_buf + let value : ToolbarItem = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, action: action_result, status: status_result, activeIcon: activeIcon_result, activeSymbolIcon: activeSymbolIcon_result} as ToolbarItem) return value } - readLocalizedBorderRadiuses(): LocalizedBorderRadiuses { + public readTransitionOptions(): TransitionOptions { let valueDeserializer : Deserializer = this - const topStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let topStart_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (topStart_buf_runtimeType)) + const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let type_buf : TransitionType | undefined + if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) { - topStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + type_buf = TypeChecker.TransitionType_FromNumeric(valueDeserializer.readInt32()) } - const topStart_result : LengthMetrics | undefined = topStart_buf - const topEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let topEnd_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (topEnd_buf_runtimeType)) + const type_result : TransitionType | undefined = type_buf + const opacity_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let opacity_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (opacity_buf_runtimeType)) { - topEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + opacity_buf = (valueDeserializer.readNumber() as number) } - const topEnd_result : LengthMetrics | undefined = topEnd_buf - const bottomStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottomStart_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (bottomStart_buf_runtimeType)) + const opacity_result : number | undefined = opacity_buf + const translate_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let translate_buf : TranslateOptions | undefined + if ((RuntimeType.UNDEFINED) != (translate_buf_runtimeType)) { - bottomStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + translate_buf = valueDeserializer.readTranslateOptions() } - const bottomStart_result : LengthMetrics | undefined = bottomStart_buf - const bottomEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottomEnd_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (bottomEnd_buf_runtimeType)) + const translate_result : TranslateOptions | undefined = translate_buf + const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scale_buf : ScaleOptions | undefined + if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) { - bottomEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + scale_buf = valueDeserializer.readScaleOptions() } - const bottomEnd_result : LengthMetrics | undefined = bottomEnd_buf - let value : LocalizedBorderRadiuses = ({topStart: topStart_result, topEnd: topEnd_result, bottomStart: bottomStart_result, bottomEnd: bottomEnd_result} as LocalizedBorderRadiuses) + const scale_result : ScaleOptions | undefined = scale_buf + const rotate_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let rotate_buf : RotateOptions | undefined + if ((RuntimeType.UNDEFINED) != (rotate_buf_runtimeType)) + { + rotate_buf = valueDeserializer.readRotateOptions() + } + const rotate_result : RotateOptions | undefined = rotate_buf + let value : TransitionOptions = ({type: type_result, opacity: opacity_result, translate: translate_result, scale: scale_result, rotate: rotate_result} as TransitionOptions) return value } - readLocalizedEdgeColors(): LocalizedEdgeColors { + public readUnderlineColor(): UnderlineColor { let valueDeserializer : Deserializer = this - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + const typing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let typing_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (typing_buf_runtimeType)) { - const top_buf__selector : int32 = valueDeserializer.readInt8() - let top_buf_ : Color | number | string | Resource | undefined - if (top_buf__selector == 0) { - top_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const typing_buf__selector : int32 = valueDeserializer.readInt8() + let typing_buf_ : Color | number | string | Resource | undefined + if (typing_buf__selector == 0) { + typing_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (top_buf__selector == 1) { - top_buf_ = (valueDeserializer.readNumber() as number) + else if (typing_buf__selector == 1) { + typing_buf_ = (valueDeserializer.readNumber() as number) } - else if (top_buf__selector == 2) { - top_buf_ = (valueDeserializer.readString() as string) + else if (typing_buf__selector == 2) { + typing_buf_ = (valueDeserializer.readString() as string) } - else if (top_buf__selector == 3) { - top_buf_ = valueDeserializer.readResource() + else if (typing_buf__selector == 3) { + typing_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for typing_buf_ has to be chosen through deserialisation.") } - top_buf = (top_buf_ as Color | number | string | Resource) + typing_buf = (typing_buf_ as Color | number | string | Resource) } - const top_result : ResourceColor | undefined = top_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + const typing_result : ResourceColor | undefined = typing_buf + const normal_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let normal_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (normal_buf_runtimeType)) { - const end_buf__selector : int32 = valueDeserializer.readInt8() - let end_buf_ : Color | number | string | Resource | undefined - if (end_buf__selector == 0) { - end_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const normal_buf__selector : int32 = valueDeserializer.readInt8() + let normal_buf_ : Color | number | string | Resource | undefined + if (normal_buf__selector == 0) { + normal_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (end_buf__selector == 1) { - end_buf_ = (valueDeserializer.readNumber() as number) + else if (normal_buf__selector == 1) { + normal_buf_ = (valueDeserializer.readNumber() as number) } - else if (end_buf__selector == 2) { - end_buf_ = (valueDeserializer.readString() as string) + else if (normal_buf__selector == 2) { + normal_buf_ = (valueDeserializer.readString() as string) } - else if (end_buf__selector == 3) { - end_buf_ = valueDeserializer.readResource() + else if (normal_buf__selector == 3) { + normal_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for end_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for normal_buf_ has to be chosen through deserialisation.") } - end_buf = (end_buf_ as Color | number | string | Resource) + normal_buf = (normal_buf_ as Color | number | string | Resource) } - const end_result : ResourceColor | undefined = end_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + const normal_result : ResourceColor | undefined = normal_buf + const error_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let error_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (error_buf_runtimeType)) { - const bottom_buf__selector : int32 = valueDeserializer.readInt8() - let bottom_buf_ : Color | number | string | Resource | undefined - if (bottom_buf__selector == 0) { - bottom_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const error_buf__selector : int32 = valueDeserializer.readInt8() + let error_buf_ : Color | number | string | Resource | undefined + if (error_buf__selector == 0) { + error_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (bottom_buf__selector == 1) { - bottom_buf_ = (valueDeserializer.readNumber() as number) + else if (error_buf__selector == 1) { + error_buf_ = (valueDeserializer.readNumber() as number) } - else if (bottom_buf__selector == 2) { - bottom_buf_ = (valueDeserializer.readString() as string) + else if (error_buf__selector == 2) { + error_buf_ = (valueDeserializer.readString() as string) } - else if (bottom_buf__selector == 3) { - bottom_buf_ = valueDeserializer.readResource() + else if (error_buf__selector == 3) { + error_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for error_buf_ has to be chosen through deserialisation.") } - bottom_buf = (bottom_buf_ as Color | number | string | Resource) + error_buf = (error_buf_ as Color | number | string | Resource) } - const bottom_result : ResourceColor | undefined = bottom_buf - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + const error_result : ResourceColor | undefined = error_buf + const disable_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disable_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (disable_buf_runtimeType)) { - const start_buf__selector : int32 = valueDeserializer.readInt8() - let start_buf_ : Color | number | string | Resource | undefined - if (start_buf__selector == 0) { - start_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const disable_buf__selector : int32 = valueDeserializer.readInt8() + let disable_buf_ : Color | number | string | Resource | undefined + if (disable_buf__selector == 0) { + disable_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (start_buf__selector == 1) { - start_buf_ = (valueDeserializer.readNumber() as number) + else if (disable_buf__selector == 1) { + disable_buf_ = (valueDeserializer.readNumber() as number) } - else if (start_buf__selector == 2) { - start_buf_ = (valueDeserializer.readString() as string) + else if (disable_buf__selector == 2) { + disable_buf_ = (valueDeserializer.readString() as string) } - else if (start_buf__selector == 3) { - start_buf_ = valueDeserializer.readResource() + else if (disable_buf__selector == 3) { + disable_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for start_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for disable_buf_ has to be chosen through deserialisation.") } - start_buf = (start_buf_ as Color | number | string | Resource) - } - const start_result : ResourceColor | undefined = start_buf - let value : LocalizedEdgeColors = ({top: top_result, end: end_result, bottom: bottom_result, start: start_result} as LocalizedEdgeColors) - return value - } - readLocalizedEdges(): LocalizedEdges { - let valueDeserializer : Deserializer = this - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) - { - top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const top_result : LengthMetrics | undefined = top_buf - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) - { - start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const start_result : LengthMetrics | undefined = start_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) - { - bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const bottom_result : LengthMetrics | undefined = bottom_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) - { - end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const end_result : LengthMetrics | undefined = end_buf - let value : LocalizedEdges = ({top: top_result, start: start_result, bottom: bottom_result, end: end_result} as LocalizedEdges) - return value - } - readLocalizedEdgeWidths(): LocalizedEdgeWidths { - let valueDeserializer : Deserializer = this - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) - { - top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const top_result : LengthMetrics | undefined = top_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) - { - end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const end_result : LengthMetrics | undefined = end_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) - { - bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const bottom_result : LengthMetrics | undefined = bottom_buf - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) - { - start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + disable_buf = (disable_buf_ as Color | number | string | Resource) } - const start_result : LengthMetrics | undefined = start_buf - let value : LocalizedEdgeWidths = ({top: top_result, end: end_result, bottom: bottom_result, start: start_result} as LocalizedEdgeWidths) + const disable_result : ResourceColor | undefined = disable_buf + let value : UnderlineColor = ({typing: typing_result, normal: normal_result, error: error_result, disable: disable_result} as UnderlineColor) return value } - readLocalizedPadding(): LocalizedPadding { + public readVideoOptions(): VideoOptions { let valueDeserializer : Deserializer = this - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + const src_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let src_buf : string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (src_buf_runtimeType)) { - top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const src_buf__selector : int32 = valueDeserializer.readInt8() + let src_buf_ : string | Resource | undefined + if (src_buf__selector == 0) { + src_buf_ = (valueDeserializer.readString() as string) + } + else if (src_buf__selector == 1) { + src_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for src_buf_ has to be chosen through deserialisation.") + } + src_buf = (src_buf_ as string | Resource) } - const top_result : LengthMetrics | undefined = top_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + const src_result : string | Resource | undefined = src_buf + const currentProgressRate_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let currentProgressRate_buf : number | string | PlaybackSpeed | undefined + if ((RuntimeType.UNDEFINED) != (currentProgressRate_buf_runtimeType)) { - end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const currentProgressRate_buf__selector : int32 = valueDeserializer.readInt8() + let currentProgressRate_buf_ : number | string | PlaybackSpeed | undefined + if (currentProgressRate_buf__selector == 0) { + currentProgressRate_buf_ = (valueDeserializer.readNumber() as number) + } + else if (currentProgressRate_buf__selector == 1) { + currentProgressRate_buf_ = (valueDeserializer.readString() as string) + } + else if (currentProgressRate_buf__selector == 2) { + currentProgressRate_buf_ = TypeChecker.PlaybackSpeed_FromNumeric(valueDeserializer.readInt32()) + } + else { + throw new Error("One of the branches for currentProgressRate_buf_ has to be chosen through deserialisation.") + } + currentProgressRate_buf = (currentProgressRate_buf_ as number | string | PlaybackSpeed) } - const end_result : LengthMetrics | undefined = end_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + const currentProgressRate_result : number | string | PlaybackSpeed | undefined = currentProgressRate_buf + const previewUri_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let previewUri_buf : string | PixelMap | Resource | undefined + if ((RuntimeType.UNDEFINED) != (previewUri_buf_runtimeType)) { - bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const previewUri_buf__selector : int32 = valueDeserializer.readInt8() + let previewUri_buf_ : string | PixelMap | Resource | undefined + if (previewUri_buf__selector == 0) { + previewUri_buf_ = (valueDeserializer.readString() as string) + } + else if (previewUri_buf__selector == 1) { + previewUri_buf_ = (valueDeserializer.readPixelMap() as PixelMap) + } + else if (previewUri_buf__selector == 2) { + previewUri_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for previewUri_buf_ has to be chosen through deserialisation.") + } + previewUri_buf = (previewUri_buf_ as string | PixelMap | Resource) } - const bottom_result : LengthMetrics | undefined = bottom_buf - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + const previewUri_result : string | PixelMap | Resource | undefined = previewUri_buf + const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let controller_buf : VideoController | undefined + if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) { - start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + controller_buf = (valueDeserializer.readVideoController() as VideoController) } - const start_result : LengthMetrics | undefined = start_buf - let value : LocalizedPadding = ({top: top_result, end: end_result, bottom: bottom_result, start: start_result} as LocalizedPadding) - return value - } - readLocalizedPosition(): LocalizedPosition { - let valueDeserializer : Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + const controller_result : VideoController | undefined = controller_buf + const imageAIOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let imageAIOptions_buf : ImageAIOptions | undefined + if ((RuntimeType.UNDEFINED) != (imageAIOptions_buf_runtimeType)) { - start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + imageAIOptions_buf = valueDeserializer.readImageAIOptions() } - const start_result : LengthMetrics | undefined = start_buf - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + const imageAIOptions_result : ImageAIOptions | undefined = imageAIOptions_buf + const posterOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let posterOptions_buf : PosterOptions | undefined + if ((RuntimeType.UNDEFINED) != (posterOptions_buf_runtimeType)) { - top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const top_result : LengthMetrics | undefined = top_buf - let value : LocalizedPosition = ({start: start_result, top: top_result} as LocalizedPosition) + posterOptions_buf = valueDeserializer.readPosterOptions() + } + const posterOptions_result : PosterOptions | undefined = posterOptions_buf + let value : VideoOptions = ({src: src_result, currentProgressRate: currentProgressRate_result, previewUri: previewUri_result, controller: controller_result, imageAIOptions: imageAIOptions_result, posterOptions: posterOptions_result} as VideoOptions) return value } - readLunarSwitchStyle(): LunarSwitchStyle { + public readWeekStyle(): WeekStyle { let valueDeserializer : Deserializer = this - const selectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let selectedColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (selectedColor_buf_runtimeType)) + const weekColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (weekColor_buf_runtimeType)) { - const selectedColor_buf__selector : int32 = valueDeserializer.readInt8() - let selectedColor_buf_ : Color | number | string | Resource | undefined - if (selectedColor_buf__selector == 0) { - selectedColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const weekColor_buf__selector : int32 = valueDeserializer.readInt8() + let weekColor_buf_ : Color | number | string | Resource | undefined + if (weekColor_buf__selector == 0) { + weekColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (selectedColor_buf__selector == 1) { - selectedColor_buf_ = (valueDeserializer.readNumber() as number) + else if (weekColor_buf__selector == 1) { + weekColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (selectedColor_buf__selector == 2) { - selectedColor_buf_ = (valueDeserializer.readString() as string) + else if (weekColor_buf__selector == 2) { + weekColor_buf_ = (valueDeserializer.readString() as string) } - else if (selectedColor_buf__selector == 3) { - selectedColor_buf_ = valueDeserializer.readResource() + else if (weekColor_buf__selector == 3) { + weekColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for selectedColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for weekColor_buf_ has to be chosen through deserialisation.") } - selectedColor_buf = (selectedColor_buf_ as Color | number | string | Resource) + weekColor_buf = (weekColor_buf_ as Color | number | string | Resource) } - const selectedColor_result : ResourceColor | undefined = selectedColor_buf - const unselectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let unselectedColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (unselectedColor_buf_runtimeType)) + const weekColor_result : ResourceColor | undefined = weekColor_buf + const weekendDayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekendDayColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (weekendDayColor_buf_runtimeType)) { - const unselectedColor_buf__selector : int32 = valueDeserializer.readInt8() - let unselectedColor_buf_ : Color | number | string | Resource | undefined - if (unselectedColor_buf__selector == 0) { - unselectedColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const weekendDayColor_buf__selector : int32 = valueDeserializer.readInt8() + let weekendDayColor_buf_ : Color | number | string | Resource | undefined + if (weekendDayColor_buf__selector == 0) { + weekendDayColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (unselectedColor_buf__selector == 1) { - unselectedColor_buf_ = (valueDeserializer.readNumber() as number) + else if (weekendDayColor_buf__selector == 1) { + weekendDayColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (unselectedColor_buf__selector == 2) { - unselectedColor_buf_ = (valueDeserializer.readString() as string) + else if (weekendDayColor_buf__selector == 2) { + weekendDayColor_buf_ = (valueDeserializer.readString() as string) } - else if (unselectedColor_buf__selector == 3) { - unselectedColor_buf_ = valueDeserializer.readResource() + else if (weekendDayColor_buf__selector == 3) { + weekendDayColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for weekendDayColor_buf_ has to be chosen through deserialisation.") } - unselectedColor_buf = (unselectedColor_buf_ as Color | number | string | Resource) + weekendDayColor_buf = (weekendDayColor_buf_ as Color | number | string | Resource) } - const unselectedColor_result : ResourceColor | undefined = unselectedColor_buf - const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) + const weekendDayColor_result : ResourceColor | undefined = weekendDayColor_buf + const weekendLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekendLunarColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (weekendLunarColor_buf_runtimeType)) { - const strokeColor_buf__selector : int32 = valueDeserializer.readInt8() - let strokeColor_buf_ : Color | number | string | Resource | undefined - if (strokeColor_buf__selector == 0) { - strokeColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const weekendLunarColor_buf__selector : int32 = valueDeserializer.readInt8() + let weekendLunarColor_buf_ : Color | number | string | Resource | undefined + if (weekendLunarColor_buf__selector == 0) { + weekendLunarColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (strokeColor_buf__selector == 1) { - strokeColor_buf_ = (valueDeserializer.readNumber() as number) + else if (weekendLunarColor_buf__selector == 1) { + weekendLunarColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (strokeColor_buf__selector == 2) { - strokeColor_buf_ = (valueDeserializer.readString() as string) + else if (weekendLunarColor_buf__selector == 2) { + weekendLunarColor_buf_ = (valueDeserializer.readString() as string) } - else if (strokeColor_buf__selector == 3) { - strokeColor_buf_ = valueDeserializer.readResource() + else if (weekendLunarColor_buf__selector == 3) { + weekendLunarColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for strokeColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for weekendLunarColor_buf_ has to be chosen through deserialisation.") } - strokeColor_buf = (strokeColor_buf_ as Color | number | string | Resource) + weekendLunarColor_buf = (weekendLunarColor_buf_ as Color | number | string | Resource) } - const strokeColor_result : ResourceColor | undefined = strokeColor_buf - let value : LunarSwitchStyle = ({selectedColor: selectedColor_result, unselectedColor: unselectedColor_result, strokeColor: strokeColor_result} as LunarSwitchStyle) + const weekendLunarColor_result : ResourceColor | undefined = weekendLunarColor_buf + const weekFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekFontSize_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (weekFontSize_buf_runtimeType)) + { + weekFontSize_buf = (valueDeserializer.readNumber() as number) + } + const weekFontSize_result : number | undefined = weekFontSize_buf + const weekHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekHeight_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (weekHeight_buf_runtimeType)) + { + weekHeight_buf = (valueDeserializer.readNumber() as number) + } + const weekHeight_result : number | undefined = weekHeight_buf + const weekWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekWidth_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (weekWidth_buf_runtimeType)) + { + weekWidth_buf = (valueDeserializer.readNumber() as number) + } + const weekWidth_result : number | undefined = weekWidth_buf + const weekAndDayRowSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekAndDayRowSpace_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (weekAndDayRowSpace_buf_runtimeType)) + { + weekAndDayRowSpace_buf = (valueDeserializer.readNumber() as number) + } + const weekAndDayRowSpace_result : number | undefined = weekAndDayRowSpace_buf + let value : WeekStyle = ({weekColor: weekColor_result, weekendDayColor: weekendDayColor_result, weekendLunarColor: weekendLunarColor_result, weekFontSize: weekFontSize_result, weekHeight: weekHeight_result, weekWidth: weekWidth_result, weekAndDayRowSpace: weekAndDayRowSpace_result} as WeekStyle) return value } - readMarkStyle(): MarkStyle { + public readWorkStateStyle(): WorkStateStyle { let valueDeserializer : Deserializer = this - const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) + const workDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let workDayMarkColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (workDayMarkColor_buf_runtimeType)) { - const strokeColor_buf__selector : int32 = valueDeserializer.readInt8() - let strokeColor_buf_ : Color | number | string | Resource | undefined - if (strokeColor_buf__selector == 0) { - strokeColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const workDayMarkColor_buf__selector : int32 = valueDeserializer.readInt8() + let workDayMarkColor_buf_ : Color | number | string | Resource | undefined + if (workDayMarkColor_buf__selector == 0) { + workDayMarkColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (strokeColor_buf__selector == 1) { - strokeColor_buf_ = (valueDeserializer.readNumber() as number) + else if (workDayMarkColor_buf__selector == 1) { + workDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (strokeColor_buf__selector == 2) { - strokeColor_buf_ = (valueDeserializer.readString() as string) + else if (workDayMarkColor_buf__selector == 2) { + workDayMarkColor_buf_ = (valueDeserializer.readString() as string) } - else if (strokeColor_buf__selector == 3) { - strokeColor_buf_ = valueDeserializer.readResource() + else if (workDayMarkColor_buf__selector == 3) { + workDayMarkColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for strokeColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for workDayMarkColor_buf_ has to be chosen through deserialisation.") } - strokeColor_buf = (strokeColor_buf_ as Color | number | string | Resource) + workDayMarkColor_buf = (workDayMarkColor_buf_ as Color | number | string | Resource) } - const strokeColor_result : ResourceColor | undefined = strokeColor_buf - const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let size_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) + const workDayMarkColor_result : ResourceColor | undefined = workDayMarkColor_buf + const offDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offDayMarkColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (offDayMarkColor_buf_runtimeType)) { - const size_buf__selector : int32 = valueDeserializer.readInt8() - let size_buf_ : string | number | Resource | undefined - if (size_buf__selector == 0) { - size_buf_ = (valueDeserializer.readString() as string) + const offDayMarkColor_buf__selector : int32 = valueDeserializer.readInt8() + let offDayMarkColor_buf_ : Color | number | string | Resource | undefined + if (offDayMarkColor_buf__selector == 0) { + offDayMarkColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (size_buf__selector == 1) { - size_buf_ = (valueDeserializer.readNumber() as number) + else if (offDayMarkColor_buf__selector == 1) { + offDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (size_buf__selector == 2) { - size_buf_ = valueDeserializer.readResource() + else if (offDayMarkColor_buf__selector == 2) { + offDayMarkColor_buf_ = (valueDeserializer.readString() as string) + } + else if (offDayMarkColor_buf__selector == 3) { + offDayMarkColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for offDayMarkColor_buf_ has to be chosen through deserialisation.") } - size_buf = (size_buf_ as string | number | Resource) + offDayMarkColor_buf = (offDayMarkColor_buf_ as Color | number | string | Resource) } - const size_result : Length | undefined = size_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + const offDayMarkColor_result : ResourceColor | undefined = offDayMarkColor_buf + const workDayMarkSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let workDayMarkSize_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (workDayMarkSize_buf_runtimeType)) { - const strokeWidth_buf__selector : int32 = valueDeserializer.readInt8() - let strokeWidth_buf_ : string | number | Resource | undefined - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_ = (valueDeserializer.readString() as string) - } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_ = (valueDeserializer.readNumber() as number) - } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") - } - strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) + workDayMarkSize_buf = (valueDeserializer.readNumber() as number) + } + const workDayMarkSize_result : number | undefined = workDayMarkSize_buf + const offDayMarkSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offDayMarkSize_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (offDayMarkSize_buf_runtimeType)) + { + offDayMarkSize_buf = (valueDeserializer.readNumber() as number) + } + const offDayMarkSize_result : number | undefined = offDayMarkSize_buf + const workStateWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let workStateWidth_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (workStateWidth_buf_runtimeType)) + { + workStateWidth_buf = (valueDeserializer.readNumber() as number) + } + const workStateWidth_result : number | undefined = workStateWidth_buf + const workStateHorizontalMovingDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let workStateHorizontalMovingDistance_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (workStateHorizontalMovingDistance_buf_runtimeType)) + { + workStateHorizontalMovingDistance_buf = (valueDeserializer.readNumber() as number) + } + const workStateHorizontalMovingDistance_result : number | undefined = workStateHorizontalMovingDistance_buf + const workStateVerticalMovingDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let workStateVerticalMovingDistance_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (workStateVerticalMovingDistance_buf_runtimeType)) + { + workStateVerticalMovingDistance_buf = (valueDeserializer.readNumber() as number) + } + const workStateVerticalMovingDistance_result : number | undefined = workStateVerticalMovingDistance_buf + let value : WorkStateStyle = ({workDayMarkColor: workDayMarkColor_result, offDayMarkColor: offDayMarkColor_result, workDayMarkSize: workDayMarkSize_result, offDayMarkSize: offDayMarkSize_result, workStateWidth: workStateWidth_result, workStateHorizontalMovingDistance: workStateHorizontalMovingDistance_result, workStateVerticalMovingDistance: workStateVerticalMovingDistance_result} as WorkStateStyle) + return value + } + public readXComponentOptions(): XComponentOptions { + let valueDeserializer : Deserializer = this + const type_result : XComponentType = TypeChecker.XComponentType_FromNumeric(valueDeserializer.readInt32()) + const controller_result : XComponentController = (valueDeserializer.readXComponentController() as XComponentController) + const imageAIOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let imageAIOptions_buf : ImageAIOptions | undefined + if ((RuntimeType.UNDEFINED) != (imageAIOptions_buf_runtimeType)) + { + imageAIOptions_buf = valueDeserializer.readImageAIOptions() + } + const imageAIOptions_result : ImageAIOptions | undefined = imageAIOptions_buf + const screenId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let screenId_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (screenId_buf_runtimeType)) + { + screenId_buf = (valueDeserializer.readNumber() as number) } - const strokeWidth_result : Length | undefined = strokeWidth_buf - let value : MarkStyle = ({strokeColor: strokeColor_result, size: size_result, strokeWidth: strokeWidth_result} as MarkStyle) + const screenId_result : number | undefined = screenId_buf + let value : XComponentOptions = ({type: type_result, controller: controller_result, imageAIOptions: imageAIOptions_result, screenId: screenId_result} as XComponentOptions) return value } - readMeasureOptions(): MeasureOptions { + public readArrowStyle(): ArrowStyle { let valueDeserializer : Deserializer = this - const textContent_buf_selector : int32 = valueDeserializer.readInt8() - let textContent_buf : string | Resource | undefined - if (textContent_buf_selector == 0) { - textContent_buf = (valueDeserializer.readString() as string) - } - else if (textContent_buf_selector == 1) { - textContent_buf = valueDeserializer.readResource() + const showBackground_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let showBackground_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (showBackground_buf_runtimeType)) + { + showBackground_buf = valueDeserializer.readBoolean() } - else { - throw new Error("One of the branches for textContent_buf has to be chosen through deserialisation.") + const showBackground_result : boolean | undefined = showBackground_buf + const isSidebarMiddle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isSidebarMiddle_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (isSidebarMiddle_buf_runtimeType)) + { + isSidebarMiddle_buf = valueDeserializer.readBoolean() } - const textContent_result : string | Resource = (textContent_buf as string | Resource) - const constraintWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let constraintWidth_buf : number | string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (constraintWidth_buf_runtimeType)) + const isSidebarMiddle_result : boolean | undefined = isSidebarMiddle_buf + const backgroundSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundSize_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (backgroundSize_buf_runtimeType)) { - const constraintWidth_buf__selector : int32 = valueDeserializer.readInt8() - let constraintWidth_buf_ : number | string | Resource | undefined - if (constraintWidth_buf__selector == 0) { - constraintWidth_buf_ = (valueDeserializer.readNumber() as number) + const backgroundSize_buf__selector : int32 = valueDeserializer.readInt8() + let backgroundSize_buf_ : string | number | Resource | undefined + if (backgroundSize_buf__selector == 0) { + backgroundSize_buf_ = (valueDeserializer.readString() as string) } - else if (constraintWidth_buf__selector == 1) { - constraintWidth_buf_ = (valueDeserializer.readString() as string) + else if (backgroundSize_buf__selector == 1) { + backgroundSize_buf_ = (valueDeserializer.readNumber() as number) } - else if (constraintWidth_buf__selector == 2) { - constraintWidth_buf_ = valueDeserializer.readResource() + else if (backgroundSize_buf__selector == 2) { + backgroundSize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for constraintWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundSize_buf_ has to be chosen through deserialisation.") } - constraintWidth_buf = (constraintWidth_buf_ as number | string | Resource) + backgroundSize_buf = (backgroundSize_buf_ as string | number | Resource) } - const constraintWidth_result : number | string | Resource | undefined = constraintWidth_buf - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf : number | string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + const backgroundSize_result : Length | undefined = backgroundSize_buf + const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) { - const fontSize_buf__selector : int32 = valueDeserializer.readInt8() - let fontSize_buf_ : number | string | Resource | undefined - if (fontSize_buf__selector == 0) { - fontSize_buf_ = (valueDeserializer.readNumber() as number) + const backgroundColor_buf__selector : int32 = valueDeserializer.readInt8() + let backgroundColor_buf_ : Color | number | string | Resource | undefined + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (fontSize_buf__selector == 1) { - fontSize_buf_ = (valueDeserializer.readString() as string) + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontSize_buf__selector == 2) { - fontSize_buf_ = valueDeserializer.readResource() + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_ = (valueDeserializer.readString() as string) + } + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") } - fontSize_buf = (fontSize_buf_ as number | string | Resource) + backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) } - const fontSize_result : number | string | Resource | undefined = fontSize_buf - const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontStyle_buf : number | FontStyle | undefined - if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) + const backgroundColor_result : ResourceColor | undefined = backgroundColor_buf + const arrowSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let arrowSize_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (arrowSize_buf_runtimeType)) { - const fontStyle_buf__selector : int32 = valueDeserializer.readInt8() - let fontStyle_buf_ : number | FontStyle | undefined - if (fontStyle_buf__selector == 0) { - fontStyle_buf_ = (valueDeserializer.readNumber() as number) + const arrowSize_buf__selector : int32 = valueDeserializer.readInt8() + let arrowSize_buf_ : string | number | Resource | undefined + if (arrowSize_buf__selector == 0) { + arrowSize_buf_ = (valueDeserializer.readString() as string) } - else if (fontStyle_buf__selector == 1) { - fontStyle_buf_ = TypeChecker.FontStyle_FromNumeric(valueDeserializer.readInt32()) + else if (arrowSize_buf__selector == 1) { + arrowSize_buf_ = (valueDeserializer.readNumber() as number) + } + else if (arrowSize_buf__selector == 2) { + arrowSize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontStyle_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for arrowSize_buf_ has to be chosen through deserialisation.") } - fontStyle_buf = (fontStyle_buf_ as number | FontStyle) + arrowSize_buf = (arrowSize_buf_ as string | number | Resource) } - const fontStyle_result : number | FontStyle | undefined = fontStyle_buf - const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontWeight_buf : number | string | FontWeight | undefined - if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + const arrowSize_result : Length | undefined = arrowSize_buf + const arrowColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let arrowColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (arrowColor_buf_runtimeType)) { - const fontWeight_buf__selector : int32 = valueDeserializer.readInt8() - let fontWeight_buf_ : number | string | FontWeight | undefined - if (fontWeight_buf__selector == 0) { - fontWeight_buf_ = (valueDeserializer.readNumber() as number) + const arrowColor_buf__selector : int32 = valueDeserializer.readInt8() + let arrowColor_buf_ : Color | number | string | Resource | undefined + if (arrowColor_buf__selector == 0) { + arrowColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_ = (valueDeserializer.readString() as string) + else if (arrowColor_buf__selector == 1) { + arrowColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_ = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) + else if (arrowColor_buf__selector == 2) { + arrowColor_buf_ = (valueDeserializer.readString() as string) + } + else if (arrowColor_buf__selector == 3) { + arrowColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for arrowColor_buf_ has to be chosen through deserialisation.") } - fontWeight_buf = (fontWeight_buf_ as number | string | FontWeight) + arrowColor_buf = (arrowColor_buf_ as Color | number | string | Resource) } - const fontWeight_result : number | string | FontWeight | undefined = fontWeight_buf - const fontFamily_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFamily_buf : string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (fontFamily_buf_runtimeType)) + const arrowColor_result : ResourceColor | undefined = arrowColor_buf + let value : ArrowStyle = ({showBackground: showBackground_result, isSidebarMiddle: isSidebarMiddle_result, backgroundSize: backgroundSize_result, backgroundColor: backgroundColor_result, arrowSize: arrowSize_result, arrowColor: arrowColor_result} as ArrowStyle) + return value + } + public readBadgeStyle(): BadgeStyle { + let valueDeserializer : Deserializer = this + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - const fontFamily_buf__selector : int32 = valueDeserializer.readInt8() - let fontFamily_buf_ : string | Resource | undefined - if (fontFamily_buf__selector == 0) { - fontFamily_buf_ = (valueDeserializer.readString() as string) - } - else if (fontFamily_buf__selector == 1) { - fontFamily_buf_ = valueDeserializer.readResource() + const color_buf__selector : int32 = valueDeserializer.readInt8() + let color_buf_ : Color | number | string | Resource | undefined + if (color_buf__selector == 0) { + color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else { - throw new Error("One of the branches for fontFamily_buf_ has to be chosen through deserialisation.") + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) } - fontFamily_buf = (fontFamily_buf_ as string | Resource) - } - const fontFamily_result : string | Resource | undefined = fontFamily_buf - const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let letterSpacing_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) - { - const letterSpacing_buf__selector : int32 = valueDeserializer.readInt8() - let letterSpacing_buf_ : number | string | undefined - if (letterSpacing_buf__selector == 0) { - letterSpacing_buf_ = (valueDeserializer.readNumber() as number) + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) } - else if (letterSpacing_buf__selector == 1) { - letterSpacing_buf_ = (valueDeserializer.readString() as string) + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for letterSpacing_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - letterSpacing_buf = (letterSpacing_buf_ as number | string) + color_buf = (color_buf_ as Color | number | string | Resource) } - const letterSpacing_result : number | string | undefined = letterSpacing_buf - const textAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textAlign_buf : number | TextAlign | undefined - if ((RuntimeType.UNDEFINED) != (textAlign_buf_runtimeType)) + const color_result : ResourceColor | undefined = color_buf + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) { - const textAlign_buf__selector : int32 = valueDeserializer.readInt8() - let textAlign_buf_ : number | TextAlign | undefined - if (textAlign_buf__selector == 0) { - textAlign_buf_ = (valueDeserializer.readNumber() as number) + const fontSize_buf__selector : int32 = valueDeserializer.readInt8() + let fontSize_buf_ : number | string | undefined + if (fontSize_buf__selector == 0) { + fontSize_buf_ = (valueDeserializer.readNumber() as number) } - else if (textAlign_buf__selector == 1) { - textAlign_buf_ = TypeChecker.TextAlign_FromNumeric(valueDeserializer.readInt32()) + else if (fontSize_buf__selector == 1) { + fontSize_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for textAlign_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") } - textAlign_buf = (textAlign_buf_ as number | TextAlign) + fontSize_buf = (fontSize_buf_ as number | string) } - const textAlign_result : number | TextAlign | undefined = textAlign_buf - const overflow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let overflow_buf : number | TextOverflow | undefined - if ((RuntimeType.UNDEFINED) != (overflow_buf_runtimeType)) + const fontSize_result : number | string | undefined = fontSize_buf + const badgeSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let badgeSize_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (badgeSize_buf_runtimeType)) { - const overflow_buf__selector : int32 = valueDeserializer.readInt8() - let overflow_buf_ : number | TextOverflow | undefined - if (overflow_buf__selector == 0) { - overflow_buf_ = (valueDeserializer.readNumber() as number) + const badgeSize_buf__selector : int32 = valueDeserializer.readInt8() + let badgeSize_buf_ : number | string | undefined + if (badgeSize_buf__selector == 0) { + badgeSize_buf_ = (valueDeserializer.readNumber() as number) } - else if (overflow_buf__selector == 1) { - overflow_buf_ = TypeChecker.TextOverflow_FromNumeric(valueDeserializer.readInt32()) + else if (badgeSize_buf__selector == 1) { + badgeSize_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for overflow_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for badgeSize_buf_ has to be chosen through deserialisation.") } - overflow_buf = (overflow_buf_ as number | TextOverflow) - } - const overflow_result : number | TextOverflow | undefined = overflow_buf - const maxLines_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maxLines_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (maxLines_buf_runtimeType)) - { - maxLines_buf = (valueDeserializer.readNumber() as number) + badgeSize_buf = (badgeSize_buf_ as number | string) } - const maxLines_result : number | undefined = maxLines_buf - const lineHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lineHeight_buf : number | string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (lineHeight_buf_runtimeType)) + const badgeSize_result : number | string | undefined = badgeSize_buf + const badgeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let badgeColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (badgeColor_buf_runtimeType)) { - const lineHeight_buf__selector : int32 = valueDeserializer.readInt8() - let lineHeight_buf_ : number | string | Resource | undefined - if (lineHeight_buf__selector == 0) { - lineHeight_buf_ = (valueDeserializer.readNumber() as number) + const badgeColor_buf__selector : int32 = valueDeserializer.readInt8() + let badgeColor_buf_ : Color | number | string | Resource | undefined + if (badgeColor_buf__selector == 0) { + badgeColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (lineHeight_buf__selector == 1) { - lineHeight_buf_ = (valueDeserializer.readString() as string) + else if (badgeColor_buf__selector == 1) { + badgeColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (lineHeight_buf__selector == 2) { - lineHeight_buf_ = valueDeserializer.readResource() + else if (badgeColor_buf__selector == 2) { + badgeColor_buf_ = (valueDeserializer.readString() as string) + } + else if (badgeColor_buf__selector == 3) { + badgeColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for lineHeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for badgeColor_buf_ has to be chosen through deserialisation.") } - lineHeight_buf = (lineHeight_buf_ as number | string | Resource) + badgeColor_buf = (badgeColor_buf_ as Color | number | string | Resource) } - const lineHeight_result : number | string | Resource | undefined = lineHeight_buf - const baselineOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let baselineOffset_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (baselineOffset_buf_runtimeType)) + const badgeColor_result : ResourceColor | undefined = badgeColor_buf + const borderColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (borderColor_buf_runtimeType)) { - const baselineOffset_buf__selector : int32 = valueDeserializer.readInt8() - let baselineOffset_buf_ : number | string | undefined - if (baselineOffset_buf__selector == 0) { - baselineOffset_buf_ = (valueDeserializer.readNumber() as number) + const borderColor_buf__selector : int32 = valueDeserializer.readInt8() + let borderColor_buf_ : Color | number | string | Resource | undefined + if (borderColor_buf__selector == 0) { + borderColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (baselineOffset_buf__selector == 1) { - baselineOffset_buf_ = (valueDeserializer.readString() as string) + else if (borderColor_buf__selector == 1) { + borderColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (borderColor_buf__selector == 2) { + borderColor_buf_ = (valueDeserializer.readString() as string) + } + else if (borderColor_buf__selector == 3) { + borderColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for baselineOffset_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderColor_buf_ has to be chosen through deserialisation.") } - baselineOffset_buf = (baselineOffset_buf_ as number | string) + borderColor_buf = (borderColor_buf_ as Color | number | string | Resource) } - const baselineOffset_result : number | string | undefined = baselineOffset_buf - const textCase_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textCase_buf : number | TextCase | undefined - if ((RuntimeType.UNDEFINED) != (textCase_buf_runtimeType)) + const borderColor_result : ResourceColor | undefined = borderColor_buf + const borderWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderWidth_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (borderWidth_buf_runtimeType)) { - const textCase_buf__selector : int32 = valueDeserializer.readInt8() - let textCase_buf_ : number | TextCase | undefined - if (textCase_buf__selector == 0) { - textCase_buf_ = (valueDeserializer.readNumber() as number) + const borderWidth_buf__selector : int32 = valueDeserializer.readInt8() + let borderWidth_buf_ : string | number | Resource | undefined + if (borderWidth_buf__selector == 0) { + borderWidth_buf_ = (valueDeserializer.readString() as string) } - else if (textCase_buf__selector == 1) { - textCase_buf_ = TypeChecker.TextCase_FromNumeric(valueDeserializer.readInt32()) + else if (borderWidth_buf__selector == 1) { + borderWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (borderWidth_buf__selector == 2) { + borderWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for textCase_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderWidth_buf_ has to be chosen through deserialisation.") } - textCase_buf = (textCase_buf_ as number | TextCase) + borderWidth_buf = (borderWidth_buf_ as string | number | Resource) } - const textCase_result : number | TextCase | undefined = textCase_buf - const textIndent_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textIndent_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (textIndent_buf_runtimeType)) + const borderWidth_result : Length | undefined = borderWidth_buf + const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontWeight_buf : number | FontWeight | string | undefined + if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) { - const textIndent_buf__selector : int32 = valueDeserializer.readInt8() - let textIndent_buf_ : number | string | undefined - if (textIndent_buf__selector == 0) { - textIndent_buf_ = (valueDeserializer.readNumber() as number) + const fontWeight_buf__selector : int32 = valueDeserializer.readInt8() + let fontWeight_buf_ : number | FontWeight | string | undefined + if (fontWeight_buf__selector == 0) { + fontWeight_buf_ = (valueDeserializer.readNumber() as number) } - else if (textIndent_buf__selector == 1) { - textIndent_buf_ = (valueDeserializer.readString() as string) + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_ = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) + } + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for textIndent_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") } - textIndent_buf = (textIndent_buf_ as number | string) - } - const textIndent_result : number | string | undefined = textIndent_buf - const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let wordBreak_buf : WordBreak | undefined - if ((RuntimeType.UNDEFINED) != (wordBreak_buf_runtimeType)) - { - wordBreak_buf = TypeChecker.WordBreak_FromNumeric(valueDeserializer.readInt32()) + fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) } - const wordBreak_result : WordBreak | undefined = wordBreak_buf - let value : MeasureOptions = ({textContent: textContent_result, constraintWidth: constraintWidth_result, fontSize: fontSize_result, fontStyle: fontStyle_result, fontWeight: fontWeight_result, fontFamily: fontFamily_result, letterSpacing: letterSpacing_result, textAlign: textAlign_result, overflow: overflow_result, maxLines: maxLines_result, lineHeight: lineHeight_result, baselineOffset: baselineOffset_result, textCase: textCase_result, textIndent: textIndent_result, wordBreak: wordBreak_result} as MeasureOptions) + const fontWeight_result : number | FontWeight | string | undefined = fontWeight_buf + let value : BadgeStyle = ({color: color_result, fontSize: fontSize_result, badgeSize: badgeSize_result, badgeColor: badgeColor_result, borderColor: borderColor_result, borderWidth: borderWidth_result, fontWeight: fontWeight_result} as BadgeStyle) return value } - readMenuElement(): MenuElement { + public readBarGridColumnOptions(): BarGridColumnOptions { let valueDeserializer : Deserializer = this - const value_buf_selector : int32 = valueDeserializer.readInt8() - let value_buf : string | Resource | undefined - if (value_buf_selector == 0) { - value_buf = (valueDeserializer.readString() as string) + const sm_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let sm_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (sm_buf_runtimeType)) + { + sm_buf = (valueDeserializer.readNumber() as number) } - else if (value_buf_selector == 1) { - value_buf = valueDeserializer.readResource() + const sm_result : number | undefined = sm_buf + const md_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let md_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (md_buf_runtimeType)) + { + md_buf = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + const md_result : number | undefined = md_buf + const lg_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lg_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (lg_buf_runtimeType)) + { + lg_buf = (valueDeserializer.readNumber() as number) } - const value_result : ResourceStr = (value_buf as string | Resource) - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + const lg_result : number | undefined = lg_buf + const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let margin_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) { - const icon_buf__selector : int32 = valueDeserializer.readInt8() - let icon_buf_ : string | Resource | undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + const margin_buf__selector : int32 = valueDeserializer.readInt8() + let margin_buf_ : string | number | Resource | undefined + if (margin_buf__selector == 0) { + margin_buf_ = (valueDeserializer.readString() as string) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (margin_buf__selector == 1) { + margin_buf_ = (valueDeserializer.readNumber() as number) + } + else if (margin_buf__selector == 2) { + margin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) - } - const icon_result : ResourceStr | undefined = icon_buf - const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolIcon_buf : SymbolGlyphModifier | undefined - if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) - { - symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() - } - const symbolIcon_result : SymbolGlyphModifier | undefined = symbolIcon_buf - const enabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enabled_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (enabled_buf_runtimeType)) - { - enabled_buf = valueDeserializer.readBoolean() + margin_buf = (margin_buf_ as string | number | Resource) } - const enabled_result : boolean | undefined = enabled_buf - const action_result : (() => void) = valueDeserializer.readCallback_Void() - let value : MenuElement = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, enabled: enabled_result, action: action_result} as MenuElement) - return value - } - readMenuItemConfiguration(): MenuItemConfiguration { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return MenuItemConfigurationInternal.fromPtr(ptr) - } - readMenuItemGroupOptions(): MenuItemGroupOptions { - let valueDeserializer : Deserializer = this - const header_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let header_buf : ResourceStr | CustomBuilder | undefined - if ((RuntimeType.UNDEFINED) != (header_buf_runtimeType)) + const margin_result : Dimension | undefined = margin_buf + const gutter_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let gutter_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (gutter_buf_runtimeType)) { - const header_buf__selector : int32 = valueDeserializer.readInt8() - let header_buf_ : ResourceStr | CustomBuilder | undefined - if (header_buf__selector == 0) { - const header_buf__u_selector : int32 = valueDeserializer.readInt8() - let header_buf__u : string | Resource | undefined - if (header_buf__u_selector == 0) { - header_buf__u = (valueDeserializer.readString() as string) - } - else if (header_buf__u_selector == 1) { - header_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for header_buf__u has to be chosen through deserialisation.") - } - header_buf_ = (header_buf__u as string | Resource) + const gutter_buf__selector : int32 = valueDeserializer.readInt8() + let gutter_buf_ : string | number | Resource | undefined + if (gutter_buf__selector == 0) { + gutter_buf_ = (valueDeserializer.readString() as string) } - else if (header_buf__selector == 1) { - header_buf_ = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + else if (gutter_buf__selector == 1) { + gutter_buf_ = (valueDeserializer.readNumber() as number) + } + else if (gutter_buf__selector == 2) { + gutter_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for header_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for gutter_buf_ has to be chosen through deserialisation.") } - header_buf = (header_buf_ as ResourceStr | CustomBuilder) + gutter_buf = (gutter_buf_ as string | number | Resource) } - const header_result : ResourceStr | CustomBuilder | undefined = header_buf - const footer_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let footer_buf : ResourceStr | CustomBuilder | undefined - if ((RuntimeType.UNDEFINED) != (footer_buf_runtimeType)) + const gutter_result : Dimension | undefined = gutter_buf + let value : BarGridColumnOptions = ({sm: sm_result, md: md_result, lg: lg_result, margin: margin_result, gutter: gutter_result} as BarGridColumnOptions) + return value + } + public readBoardStyle(): BoardStyle { + let valueDeserializer : Deserializer = this + const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderRadius_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) { - const footer_buf__selector : int32 = valueDeserializer.readInt8() - let footer_buf_ : ResourceStr | CustomBuilder | undefined - if (footer_buf__selector == 0) { - const footer_buf__u_selector : int32 = valueDeserializer.readInt8() - let footer_buf__u : string | Resource | undefined - if (footer_buf__u_selector == 0) { - footer_buf__u = (valueDeserializer.readString() as string) - } - else if (footer_buf__u_selector == 1) { - footer_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for footer_buf__u has to be chosen through deserialisation.") - } - footer_buf_ = (footer_buf__u as string | Resource) + const borderRadius_buf__selector : int32 = valueDeserializer.readInt8() + let borderRadius_buf_ : string | number | Resource | undefined + if (borderRadius_buf__selector == 0) { + borderRadius_buf_ = (valueDeserializer.readString() as string) } - else if (footer_buf__selector == 1) { - footer_buf_ = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + else if (borderRadius_buf__selector == 1) { + borderRadius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (borderRadius_buf__selector == 2) { + borderRadius_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for footer_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") } - footer_buf = (footer_buf_ as ResourceStr | CustomBuilder) + borderRadius_buf = (borderRadius_buf_ as string | number | Resource) } - const footer_result : ResourceStr | CustomBuilder | undefined = footer_buf - let value : MenuItemGroupOptions = ({header: header_result, footer: footer_result} as MenuItemGroupOptions) + const borderRadius_result : Length | undefined = borderRadius_buf + let value : BoardStyle = ({borderRadius: borderRadius_result} as BoardStyle) return value } - readMenuItemOptions(): MenuItemOptions { + public readBorderRadiuses(): BorderRadiuses { let valueDeserializer : Deserializer = this - const startIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startIcon_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (startIcon_buf_runtimeType)) + const topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let topLeft_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (topLeft_buf_runtimeType)) { - const startIcon_buf__selector : int32 = valueDeserializer.readInt8() - let startIcon_buf_ : string | Resource | undefined - if (startIcon_buf__selector == 0) { - startIcon_buf_ = (valueDeserializer.readString() as string) + const topLeft_buf__selector : int32 = valueDeserializer.readInt8() + let topLeft_buf_ : string | number | Resource | undefined + if (topLeft_buf__selector == 0) { + topLeft_buf_ = (valueDeserializer.readString() as string) } - else if (startIcon_buf__selector == 1) { - startIcon_buf_ = valueDeserializer.readResource() + else if (topLeft_buf__selector == 1) { + topLeft_buf_ = (valueDeserializer.readNumber() as number) + } + else if (topLeft_buf__selector == 2) { + topLeft_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for startIcon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for topLeft_buf_ has to be chosen through deserialisation.") } - startIcon_buf = (startIcon_buf_ as string | Resource) + topLeft_buf = (topLeft_buf_ as string | number | Resource) } - const startIcon_result : ResourceStr | undefined = startIcon_buf - const symbolStartIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolStartIcon_buf : SymbolGlyphModifier | undefined - if ((RuntimeType.UNDEFINED) != (symbolStartIcon_buf_runtimeType)) + const topLeft_result : Length | undefined = topLeft_buf + const topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let topRight_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (topRight_buf_runtimeType)) { - symbolStartIcon_buf = valueDeserializer.readSymbolGlyphModifier() + const topRight_buf__selector : int32 = valueDeserializer.readInt8() + let topRight_buf_ : string | number | Resource | undefined + if (topRight_buf__selector == 0) { + topRight_buf_ = (valueDeserializer.readString() as string) + } + else if (topRight_buf__selector == 1) { + topRight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (topRight_buf__selector == 2) { + topRight_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for topRight_buf_ has to be chosen through deserialisation.") + } + topRight_buf = (topRight_buf_ as string | number | Resource) } - const symbolStartIcon_result : SymbolGlyphModifier | undefined = symbolStartIcon_buf - const content_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let content_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (content_buf_runtimeType)) + const topRight_result : Length | undefined = topRight_buf + const bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottomLeft_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (bottomLeft_buf_runtimeType)) { - const content_buf__selector : int32 = valueDeserializer.readInt8() - let content_buf_ : string | Resource | undefined - if (content_buf__selector == 0) { - content_buf_ = (valueDeserializer.readString() as string) + const bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() + let bottomLeft_buf_ : string | number | Resource | undefined + if (bottomLeft_buf__selector == 0) { + bottomLeft_buf_ = (valueDeserializer.readString() as string) } - else if (content_buf__selector == 1) { - content_buf_ = valueDeserializer.readResource() + else if (bottomLeft_buf__selector == 1) { + bottomLeft_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottomLeft_buf__selector == 2) { + bottomLeft_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for content_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottomLeft_buf_ has to be chosen through deserialisation.") } - content_buf = (content_buf_ as string | Resource) + bottomLeft_buf = (bottomLeft_buf_ as string | number | Resource) } - const content_result : ResourceStr | undefined = content_buf - const endIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let endIcon_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (endIcon_buf_runtimeType)) + const bottomLeft_result : Length | undefined = bottomLeft_buf + const bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottomRight_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (bottomRight_buf_runtimeType)) { - const endIcon_buf__selector : int32 = valueDeserializer.readInt8() - let endIcon_buf_ : string | Resource | undefined - if (endIcon_buf__selector == 0) { - endIcon_buf_ = (valueDeserializer.readString() as string) + const bottomRight_buf__selector : int32 = valueDeserializer.readInt8() + let bottomRight_buf_ : string | number | Resource | undefined + if (bottomRight_buf__selector == 0) { + bottomRight_buf_ = (valueDeserializer.readString() as string) } - else if (endIcon_buf__selector == 1) { - endIcon_buf_ = valueDeserializer.readResource() + else if (bottomRight_buf__selector == 1) { + bottomRight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottomRight_buf__selector == 2) { + bottomRight_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for endIcon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottomRight_buf_ has to be chosen through deserialisation.") } - endIcon_buf = (endIcon_buf_ as string | Resource) + bottomRight_buf = (bottomRight_buf_ as string | number | Resource) } - const endIcon_result : ResourceStr | undefined = endIcon_buf - const symbolEndIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolEndIcon_buf : SymbolGlyphModifier | undefined - if ((RuntimeType.UNDEFINED) != (symbolEndIcon_buf_runtimeType)) + const bottomRight_result : Length | undefined = bottomRight_buf + let value : BorderRadiuses = ({topLeft: topLeft_result, topRight: topRight_result, bottomLeft: bottomLeft_result, bottomRight: bottomRight_result} as BorderRadiuses) + return value + } + public readButtonStyle(): ButtonStyle { + let valueDeserializer : Deserializer = this + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { - symbolEndIcon_buf = valueDeserializer.readSymbolGlyphModifier() + left_buf = (valueDeserializer.readNumber() as number) } - const symbolEndIcon_result : SymbolGlyphModifier | undefined = symbolEndIcon_buf - const labelInfo_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let labelInfo_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (labelInfo_buf_runtimeType)) + const left_result : number | undefined = left_buf + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - const labelInfo_buf__selector : int32 = valueDeserializer.readInt8() - let labelInfo_buf_ : string | Resource | undefined - if (labelInfo_buf__selector == 0) { - labelInfo_buf_ = (valueDeserializer.readString() as string) + top_buf = (valueDeserializer.readNumber() as number) + } + const top_result : number | undefined = top_buf + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + width_buf = (valueDeserializer.readNumber() as number) + } + const width_result : number | undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + { + height_buf = (valueDeserializer.readNumber() as number) + } + const height_result : number | undefined = height_buf + const icons_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icons_buf : ButtonIconOptions | undefined + if ((RuntimeType.UNDEFINED) != (icons_buf_runtimeType)) + { + icons_buf = valueDeserializer.readButtonIconOptions() + } + const icons_result : ButtonIconOptions | undefined = icons_buf + let value : ButtonStyle = ({left: left_result, top: top_result, width: width_result, height: height_result, icons: icons_result} as ButtonStyle) + return value + } + public readCaretStyle(): CaretStyle { + let valueDeserializer : Deserializer = this + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + const width_buf__selector : int32 = valueDeserializer.readInt8() + let width_buf_ : string | number | Resource | undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readString() as string) } - else if (labelInfo_buf__selector == 1) { - labelInfo_buf_ = valueDeserializer.readResource() + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readNumber() as number) + } + else if (width_buf__selector == 2) { + width_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for labelInfo_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") } - labelInfo_buf = (labelInfo_buf_ as string | Resource) + width_buf = (width_buf_ as string | number | Resource) } - const labelInfo_result : ResourceStr | undefined = labelInfo_buf - const builder_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let builder_buf : CustomBuilder | undefined - if ((RuntimeType.UNDEFINED) != (builder_buf_runtimeType)) + const width_result : Length | undefined = width_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - builder_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + const color_buf__selector : int32 = valueDeserializer.readInt8() + let color_buf_ : Color | number | string | Resource | undefined + if (color_buf__selector == 0) { + color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as Color | number | string | Resource) } - const builder_result : CustomBuilder | undefined = builder_buf - let value : MenuItemOptions = ({startIcon: startIcon_result, symbolStartIcon: symbolStartIcon_result, content: content_result, endIcon: endIcon_result, symbolEndIcon: symbolEndIcon_result, labelInfo: labelInfo_result, builder: builder_result} as MenuItemOptions) + const color_result : ResourceColor | undefined = color_buf + let value : CaretStyle = ({width: width_result, color: color_result} as CaretStyle) return value } - readNavDestinationCommonTitle(): NavDestinationCommonTitle { + public readChainAnimationOptions(): ChainAnimationOptions { let valueDeserializer : Deserializer = this - const main_buf_selector : int32 = valueDeserializer.readInt8() - let main_buf : string | Resource | undefined - if (main_buf_selector == 0) { - main_buf = (valueDeserializer.readString() as string) + const minSpace_buf_selector : int32 = valueDeserializer.readInt8() + let minSpace_buf : string | number | Resource | undefined + if (minSpace_buf_selector == 0) { + minSpace_buf = (valueDeserializer.readString() as string) } - else if (main_buf_selector == 1) { - main_buf = valueDeserializer.readResource() + else if (minSpace_buf_selector == 1) { + minSpace_buf = (valueDeserializer.readNumber() as number) + } + else if (minSpace_buf_selector == 2) { + minSpace_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for main_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for minSpace_buf has to be chosen through deserialisation.") } - const main_result : string | Resource = (main_buf as string | Resource) - const sub_buf_selector : int32 = valueDeserializer.readInt8() - let sub_buf : string | Resource | undefined - if (sub_buf_selector == 0) { - sub_buf = (valueDeserializer.readString() as string) + const minSpace_result : Length = (minSpace_buf as string | number | Resource) + const maxSpace_buf_selector : int32 = valueDeserializer.readInt8() + let maxSpace_buf : string | number | Resource | undefined + if (maxSpace_buf_selector == 0) { + maxSpace_buf = (valueDeserializer.readString() as string) } - else if (sub_buf_selector == 1) { - sub_buf = valueDeserializer.readResource() + else if (maxSpace_buf_selector == 1) { + maxSpace_buf = (valueDeserializer.readNumber() as number) + } + else if (maxSpace_buf_selector == 2) { + maxSpace_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for sub_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for maxSpace_buf has to be chosen through deserialisation.") } - const sub_result : string | Resource = (sub_buf as string | Resource) - let value : NavDestinationCommonTitle = ({main: main_result, sub: sub_result} as NavDestinationCommonTitle) - return value - } - readNavDestinationContext(): NavDestinationContext { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return NavDestinationContextInternal.fromPtr(ptr) - } - readNavDestinationCustomTitle(): NavDestinationCustomTitle { - let valueDeserializer : Deserializer = this - const builder_result : CustomBuilder = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) - const height_buf_selector : int32 = valueDeserializer.readInt8() - let height_buf : TitleHeight | Length | undefined - if (height_buf_selector == 0) { - height_buf = TypeChecker.TitleHeight_FromNumeric(valueDeserializer.readInt32()) + const maxSpace_result : Length = (maxSpace_buf as string | number | Resource) + const conductivity_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let conductivity_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (conductivity_buf_runtimeType)) + { + conductivity_buf = (valueDeserializer.readNumber() as number) } - else if (height_buf_selector == 1) { - const height_buf_u_selector : int32 = valueDeserializer.readInt8() - let height_buf_u : string | number | Resource | undefined - if (height_buf_u_selector == 0) { - height_buf_u = (valueDeserializer.readString() as string) - } - else if (height_buf_u_selector == 1) { - height_buf_u = (valueDeserializer.readNumber() as number) - } - else if (height_buf_u_selector == 2) { - height_buf_u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for height_buf_u has to be chosen through deserialisation.") - } - height_buf = (height_buf_u as string | number | Resource) + const conductivity_result : number | undefined = conductivity_buf + const intensity_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let intensity_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (intensity_buf_runtimeType)) + { + intensity_buf = (valueDeserializer.readNumber() as number) + } + const intensity_result : number | undefined = intensity_buf + const edgeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let edgeEffect_buf : ChainEdgeEffect | undefined + if ((RuntimeType.UNDEFINED) != (edgeEffect_buf_runtimeType)) + { + edgeEffect_buf = TypeChecker.ChainEdgeEffect_FromNumeric(valueDeserializer.readInt32()) + } + const edgeEffect_result : ChainEdgeEffect | undefined = edgeEffect_buf + const stiffness_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let stiffness_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (stiffness_buf_runtimeType)) + { + stiffness_buf = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for height_buf has to be chosen through deserialisation.") + const stiffness_result : number | undefined = stiffness_buf + const damping_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let damping_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (damping_buf_runtimeType)) + { + damping_buf = (valueDeserializer.readNumber() as number) } - const height_result : TitleHeight | Length = (height_buf as TitleHeight | Length) - let value : NavDestinationCustomTitle = ({builder: builder_result, height: height_result} as NavDestinationCustomTitle) + const damping_result : number | undefined = damping_buf + let value : ChainAnimationOptions = ({minSpace: minSpace_result, maxSpace: maxSpace_result, conductivity: conductivity_result, intensity: intensity_result, edgeEffect: edgeEffect_result, stiffness: stiffness_result, damping: damping_result} as ChainAnimationOptions) return value } - readNavigationCommonTitle(): NavigationCommonTitle { + public readColorStop(): ColorStop { let valueDeserializer : Deserializer = this - const main_buf_selector : int32 = valueDeserializer.readInt8() - let main_buf : string | Resource | undefined - if (main_buf_selector == 0) { - main_buf = (valueDeserializer.readString() as string) + const color_buf_selector : int32 = valueDeserializer.readInt8() + let color_buf : Color | number | string | Resource | undefined + if (color_buf_selector == 0) { + color_buf = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (main_buf_selector == 1) { - main_buf = valueDeserializer.readResource() + else if (color_buf_selector == 1) { + color_buf = (valueDeserializer.readNumber() as number) + } + else if (color_buf_selector == 2) { + color_buf = (valueDeserializer.readString() as string) + } + else if (color_buf_selector == 3) { + color_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for main_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf has to be chosen through deserialisation.") } - const main_result : string | Resource = (main_buf as string | Resource) - const sub_buf_selector : int32 = valueDeserializer.readInt8() - let sub_buf : string | Resource | undefined - if (sub_buf_selector == 0) { - sub_buf = (valueDeserializer.readString() as string) + const color_result : ResourceColor = (color_buf as Color | number | string | Resource) + const offset_buf_selector : int32 = valueDeserializer.readInt8() + let offset_buf : string | number | Resource | undefined + if (offset_buf_selector == 0) { + offset_buf = (valueDeserializer.readString() as string) } - else if (sub_buf_selector == 1) { - sub_buf = valueDeserializer.readResource() + else if (offset_buf_selector == 1) { + offset_buf = (valueDeserializer.readNumber() as number) + } + else if (offset_buf_selector == 2) { + offset_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for sub_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for offset_buf has to be chosen through deserialisation.") } - const sub_result : string | Resource = (sub_buf as string | Resource) - let value : NavigationCommonTitle = ({main: main_result, sub: sub_result} as NavigationCommonTitle) + const offset_result : Length = (offset_buf as string | number | Resource) + let value : ColorStop = ({color: color_result, offset: offset_result} as ColorStop) return value } - readNavigationCustomTitle(): NavigationCustomTitle { + public readColumnSplitDividerStyle(): ColumnSplitDividerStyle { let valueDeserializer : Deserializer = this - const builder_result : CustomBuilder = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) - const height_buf_selector : int32 = valueDeserializer.readInt8() - let height_buf : TitleHeight | Length | undefined - if (height_buf_selector == 0) { - height_buf = TypeChecker.TitleHeight_FromNumeric(valueDeserializer.readInt32()) - } - else if (height_buf_selector == 1) { - const height_buf_u_selector : int32 = valueDeserializer.readInt8() - let height_buf_u : string | number | Resource | undefined - if (height_buf_u_selector == 0) { - height_buf_u = (valueDeserializer.readString() as string) + const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startMargin_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + { + const startMargin_buf__selector : int32 = valueDeserializer.readInt8() + let startMargin_buf_ : string | number | Resource | undefined + if (startMargin_buf__selector == 0) { + startMargin_buf_ = (valueDeserializer.readString() as string) } - else if (height_buf_u_selector == 1) { - height_buf_u = (valueDeserializer.readNumber() as number) + else if (startMargin_buf__selector == 1) { + startMargin_buf_ = (valueDeserializer.readNumber() as number) } - else if (height_buf_u_selector == 2) { - height_buf_u = valueDeserializer.readResource() + else if (startMargin_buf__selector == 2) { + startMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for height_buf_u has to be chosen through deserialisation.") + throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_u as string | number | Resource) - } - else { - throw new Error("One of the branches for height_buf has to be chosen through deserialisation.") - } - const height_result : TitleHeight | Length = (height_buf as TitleHeight | Length) - let value : NavigationCustomTitle = ({builder: builder_result, height: height_result} as NavigationCustomTitle) - return value - } - readNavigationMenuItem(): NavigationMenuItem { - let valueDeserializer : Deserializer = this - const value_buf_selector : int32 = valueDeserializer.readInt8() - let value_buf : string | Resource | undefined - if (value_buf_selector == 0) { - value_buf = (valueDeserializer.readString() as string) - } - else if (value_buf_selector == 1) { - value_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + startMargin_buf = (startMargin_buf_ as string | number | Resource) } - const value_result : string | Resource = (value_buf as string | Resource) - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf : string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + const startMargin_result : Dimension | undefined = startMargin_buf + const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let endMargin_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) { - const icon_buf__selector : int32 = valueDeserializer.readInt8() - let icon_buf_ : string | Resource | undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + const endMargin_buf__selector : int32 = valueDeserializer.readInt8() + let endMargin_buf_ : string | number | Resource | undefined + if (endMargin_buf__selector == 0) { + endMargin_buf_ = (valueDeserializer.readString() as string) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (endMargin_buf__selector == 1) { + endMargin_buf_ = (valueDeserializer.readNumber() as number) + } + else if (endMargin_buf__selector == 2) { + endMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) - } - const icon_result : string | Resource | undefined = icon_buf - const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolIcon_buf : SymbolGlyphModifier | undefined - if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) - { - symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() - } - const symbolIcon_result : SymbolGlyphModifier | undefined = symbolIcon_buf - const isEnabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let isEnabled_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (isEnabled_buf_runtimeType)) - { - isEnabled_buf = valueDeserializer.readBoolean() - } - const isEnabled_result : boolean | undefined = isEnabled_buf - const action_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let action_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (action_buf_runtimeType)) - { - action_buf = valueDeserializer.readCallback_Void() + endMargin_buf = (endMargin_buf_ as string | number | Resource) } - const action_result : (() => void) | undefined = action_buf - let value : NavigationMenuItem = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, isEnabled: isEnabled_result, action: action_result} as NavigationMenuItem) + const endMargin_result : Dimension | undefined = endMargin_buf + let value : ColumnSplitDividerStyle = ({startMargin: startMargin_result, endMargin: endMargin_result} as ColumnSplitDividerStyle) return value } - readNavigationTitleOptions(): NavigationTitleOptions { + public readConstraintSizeOptions(): ConstraintSizeOptions { let valueDeserializer : Deserializer = this - const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) + const minWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let minWidth_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (minWidth_buf_runtimeType)) { - const backgroundColor_buf__selector : int32 = valueDeserializer.readInt8() - let backgroundColor_buf_ : Color | number | string | Resource | undefined - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_ = (valueDeserializer.readNumber() as number) + const minWidth_buf__selector : int32 = valueDeserializer.readInt8() + let minWidth_buf_ : string | number | Resource | undefined + if (minWidth_buf__selector == 0) { + minWidth_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_ = (valueDeserializer.readString() as string) + else if (minWidth_buf__selector == 1) { + minWidth_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_ = valueDeserializer.readResource() + else if (minWidth_buf__selector == 2) { + minWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for minWidth_buf_ has to be chosen through deserialisation.") } - backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) - } - const backgroundColor_result : ResourceColor | undefined = backgroundColor_buf - const backgroundBlurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundBlurStyle_buf : BlurStyle | undefined - if ((RuntimeType.UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) - { - backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) - } - const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf - const barStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let barStyle_buf : BarStyle | undefined - if ((RuntimeType.UNDEFINED) != (barStyle_buf_runtimeType)) - { - barStyle_buf = TypeChecker.BarStyle_FromNumeric(valueDeserializer.readInt32()) - } - const barStyle_result : BarStyle | undefined = barStyle_buf - const paddingStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let paddingStart_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (paddingStart_buf_runtimeType)) - { - paddingStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const paddingStart_result : LengthMetrics | undefined = paddingStart_buf - const paddingEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let paddingEnd_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (paddingEnd_buf_runtimeType)) - { - paddingEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const paddingEnd_result : LengthMetrics | undefined = paddingEnd_buf - const mainTitleModifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let mainTitleModifier_buf : TextModifier | undefined - if ((RuntimeType.UNDEFINED) != (mainTitleModifier_buf_runtimeType)) - { - mainTitleModifier_buf = valueDeserializer.readTextModifier() - } - const mainTitleModifier_result : TextModifier | undefined = mainTitleModifier_buf - const subTitleModifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let subTitleModifier_buf : TextModifier | undefined - if ((RuntimeType.UNDEFINED) != (subTitleModifier_buf_runtimeType)) - { - subTitleModifier_buf = valueDeserializer.readTextModifier() - } - const subTitleModifier_result : TextModifier | undefined = subTitleModifier_buf - const enableHoverMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableHoverMode_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (enableHoverMode_buf_runtimeType)) - { - enableHoverMode_buf = valueDeserializer.readBoolean() + minWidth_buf = (minWidth_buf_ as string | number | Resource) } - const enableHoverMode_result : boolean | undefined = enableHoverMode_buf - let value : NavigationTitleOptions = ({backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, barStyle: barStyle_result, paddingStart: paddingStart_result, paddingEnd: paddingEnd_result, mainTitleModifier: mainTitleModifier_result, subTitleModifier: subTitleModifier_result, enableHoverMode: enableHoverMode_result} as NavigationTitleOptions) - return value - } - readNavigationToolbarOptions(): NavigationToolbarOptions { - let valueDeserializer : Deserializer = this - const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) + const minWidth_result : Length | undefined = minWidth_buf + const maxWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxWidth_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (maxWidth_buf_runtimeType)) { - const backgroundColor_buf__selector : int32 = valueDeserializer.readInt8() - let backgroundColor_buf_ : Color | number | string | Resource | undefined - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const maxWidth_buf__selector : int32 = valueDeserializer.readInt8() + let maxWidth_buf_ : string | number | Resource | undefined + if (maxWidth_buf__selector == 0) { + maxWidth_buf_ = (valueDeserializer.readString() as string) + } + else if (maxWidth_buf__selector == 1) { + maxWidth_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_ = (valueDeserializer.readNumber() as number) + else if (maxWidth_buf__selector == 2) { + maxWidth_buf_ = valueDeserializer.readResource() } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_ = (valueDeserializer.readString() as string) + else { + throw new Error("One of the branches for maxWidth_buf_ has to be chosen through deserialisation.") } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_ = valueDeserializer.readResource() + maxWidth_buf = (maxWidth_buf_ as string | number | Resource) + } + const maxWidth_result : Length | undefined = maxWidth_buf + const minHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let minHeight_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (minHeight_buf_runtimeType)) + { + const minHeight_buf__selector : int32 = valueDeserializer.readInt8() + let minHeight_buf_ : string | number | Resource | undefined + if (minHeight_buf__selector == 0) { + minHeight_buf_ = (valueDeserializer.readString() as string) + } + else if (minHeight_buf__selector == 1) { + minHeight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (minHeight_buf__selector == 2) { + minHeight_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for minHeight_buf_ has to be chosen through deserialisation.") } - backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) + minHeight_buf = (minHeight_buf_ as string | number | Resource) } - const backgroundColor_result : ResourceColor | undefined = backgroundColor_buf - const backgroundBlurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundBlurStyle_buf : BlurStyle | undefined - if ((RuntimeType.UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + const minHeight_result : Length | undefined = minHeight_buf + const maxHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxHeight_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (maxHeight_buf_runtimeType)) { - backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) + const maxHeight_buf__selector : int32 = valueDeserializer.readInt8() + let maxHeight_buf_ : string | number | Resource | undefined + if (maxHeight_buf__selector == 0) { + maxHeight_buf_ = (valueDeserializer.readString() as string) + } + else if (maxHeight_buf__selector == 1) { + maxHeight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (maxHeight_buf__selector == 2) { + maxHeight_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for maxHeight_buf_ has to be chosen through deserialisation.") + } + maxHeight_buf = (maxHeight_buf_ as string | number | Resource) } - const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf - const barStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let barStyle_buf : BarStyle | undefined - if ((RuntimeType.UNDEFINED) != (barStyle_buf_runtimeType)) + const maxHeight_result : Length | undefined = maxHeight_buf + let value : ConstraintSizeOptions = ({minWidth: minWidth_result, maxWidth: maxWidth_result, minHeight: minHeight_result, maxHeight: maxHeight_result} as ConstraintSizeOptions) + return value + } + public readCustomTheme(): CustomTheme { + let valueDeserializer : Deserializer = this + const colors_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colors_buf : CustomColors | undefined + if ((RuntimeType.UNDEFINED) != (colors_buf_runtimeType)) { - barStyle_buf = TypeChecker.BarStyle_FromNumeric(valueDeserializer.readInt32()) + colors_buf = valueDeserializer.readCustomColors() } - const barStyle_result : BarStyle | undefined = barStyle_buf - let value : NavigationToolbarOptions = ({backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, barStyle: barStyle_result} as NavigationToolbarOptions) + const colors_result : CustomColors | undefined = colors_buf + let value : CustomTheme = ({colors: colors_result} as CustomTheme) return value } - readNonCurrentDayStyle(): NonCurrentDayStyle { + public readDividerOptions(): DividerOptions { let valueDeserializer : Deserializer = this - const nonCurrentMonthDayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let nonCurrentMonthDayColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (nonCurrentMonthDayColor_buf_runtimeType)) + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) { - const nonCurrentMonthDayColor_buf__selector : int32 = valueDeserializer.readInt8() - let nonCurrentMonthDayColor_buf_ : Color | number | string | Resource | undefined - if (nonCurrentMonthDayColor_buf__selector == 0) { - nonCurrentMonthDayColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (nonCurrentMonthDayColor_buf__selector == 1) { - nonCurrentMonthDayColor_buf_ = (valueDeserializer.readNumber() as number) + const strokeWidth_buf__selector : int32 = valueDeserializer.readInt8() + let strokeWidth_buf_ : string | number | Resource | undefined + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_ = (valueDeserializer.readString() as string) } - else if (nonCurrentMonthDayColor_buf__selector == 2) { - nonCurrentMonthDayColor_buf_ = (valueDeserializer.readString() as string) + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_ = (valueDeserializer.readNumber() as number) } - else if (nonCurrentMonthDayColor_buf__selector == 3) { - nonCurrentMonthDayColor_buf_ = valueDeserializer.readResource() + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for nonCurrentMonthDayColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") } - nonCurrentMonthDayColor_buf = (nonCurrentMonthDayColor_buf_ as Color | number | string | Resource) + strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) } - const nonCurrentMonthDayColor_result : ResourceColor | undefined = nonCurrentMonthDayColor_buf - const nonCurrentMonthLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let nonCurrentMonthLunarColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (nonCurrentMonthLunarColor_buf_runtimeType)) + const strokeWidth_result : Dimension | undefined = strokeWidth_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - const nonCurrentMonthLunarColor_buf__selector : int32 = valueDeserializer.readInt8() - let nonCurrentMonthLunarColor_buf_ : Color | number | string | Resource | undefined - if (nonCurrentMonthLunarColor_buf__selector == 0) { - nonCurrentMonthLunarColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const color_buf__selector : int32 = valueDeserializer.readInt8() + let color_buf_ : Color | number | string | Resource | undefined + if (color_buf__selector == 0) { + color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (nonCurrentMonthLunarColor_buf__selector == 1) { - nonCurrentMonthLunarColor_buf_ = (valueDeserializer.readNumber() as number) + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) } - else if (nonCurrentMonthLunarColor_buf__selector == 2) { - nonCurrentMonthLunarColor_buf_ = (valueDeserializer.readString() as string) + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) } - else if (nonCurrentMonthLunarColor_buf__selector == 3) { - nonCurrentMonthLunarColor_buf_ = valueDeserializer.readResource() + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for nonCurrentMonthLunarColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - nonCurrentMonthLunarColor_buf = (nonCurrentMonthLunarColor_buf_ as Color | number | string | Resource) + color_buf = (color_buf_ as Color | number | string | Resource) } - const nonCurrentMonthLunarColor_result : ResourceColor | undefined = nonCurrentMonthLunarColor_buf - const nonCurrentMonthWorkDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let nonCurrentMonthWorkDayMarkColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (nonCurrentMonthWorkDayMarkColor_buf_runtimeType)) + const color_result : ResourceColor | undefined = color_buf + const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startMargin_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) { - const nonCurrentMonthWorkDayMarkColor_buf__selector : int32 = valueDeserializer.readInt8() - let nonCurrentMonthWorkDayMarkColor_buf_ : Color | number | string | Resource | undefined - if (nonCurrentMonthWorkDayMarkColor_buf__selector == 0) { - nonCurrentMonthWorkDayMarkColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 1) { - nonCurrentMonthWorkDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) + const startMargin_buf__selector : int32 = valueDeserializer.readInt8() + let startMargin_buf_ : string | number | Resource | undefined + if (startMargin_buf__selector == 0) { + startMargin_buf_ = (valueDeserializer.readString() as string) } - else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 2) { - nonCurrentMonthWorkDayMarkColor_buf_ = (valueDeserializer.readString() as string) + else if (startMargin_buf__selector == 1) { + startMargin_buf_ = (valueDeserializer.readNumber() as number) } - else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 3) { - nonCurrentMonthWorkDayMarkColor_buf_ = valueDeserializer.readResource() + else if (startMargin_buf__selector == 2) { + startMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for nonCurrentMonthWorkDayMarkColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") } - nonCurrentMonthWorkDayMarkColor_buf = (nonCurrentMonthWorkDayMarkColor_buf_ as Color | number | string | Resource) + startMargin_buf = (startMargin_buf_ as string | number | Resource) } - const nonCurrentMonthWorkDayMarkColor_result : ResourceColor | undefined = nonCurrentMonthWorkDayMarkColor_buf - const nonCurrentMonthOffDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let nonCurrentMonthOffDayMarkColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (nonCurrentMonthOffDayMarkColor_buf_runtimeType)) + const startMargin_result : Dimension | undefined = startMargin_buf + const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let endMargin_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) { - const nonCurrentMonthOffDayMarkColor_buf__selector : int32 = valueDeserializer.readInt8() - let nonCurrentMonthOffDayMarkColor_buf_ : Color | number | string | Resource | undefined - if (nonCurrentMonthOffDayMarkColor_buf__selector == 0) { - nonCurrentMonthOffDayMarkColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (nonCurrentMonthOffDayMarkColor_buf__selector == 1) { - nonCurrentMonthOffDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) + const endMargin_buf__selector : int32 = valueDeserializer.readInt8() + let endMargin_buf_ : string | number | Resource | undefined + if (endMargin_buf__selector == 0) { + endMargin_buf_ = (valueDeserializer.readString() as string) } - else if (nonCurrentMonthOffDayMarkColor_buf__selector == 2) { - nonCurrentMonthOffDayMarkColor_buf_ = (valueDeserializer.readString() as string) + else if (endMargin_buf__selector == 1) { + endMargin_buf_ = (valueDeserializer.readNumber() as number) } - else if (nonCurrentMonthOffDayMarkColor_buf__selector == 3) { - nonCurrentMonthOffDayMarkColor_buf_ = valueDeserializer.readResource() + else if (endMargin_buf__selector == 2) { + endMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for nonCurrentMonthOffDayMarkColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") } - nonCurrentMonthOffDayMarkColor_buf = (nonCurrentMonthOffDayMarkColor_buf_ as Color | number | string | Resource) + endMargin_buf = (endMargin_buf_ as string | number | Resource) } - const nonCurrentMonthOffDayMarkColor_result : ResourceColor | undefined = nonCurrentMonthOffDayMarkColor_buf - let value : NonCurrentDayStyle = ({nonCurrentMonthDayColor: nonCurrentMonthDayColor_result, nonCurrentMonthLunarColor: nonCurrentMonthLunarColor_result, nonCurrentMonthWorkDayMarkColor: nonCurrentMonthWorkDayMarkColor_result, nonCurrentMonthOffDayMarkColor: nonCurrentMonthOffDayMarkColor_result} as NonCurrentDayStyle) + const endMargin_result : Dimension | undefined = endMargin_buf + let value : DividerOptions = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as DividerOptions) return value } - readOffsetOptions(): OffsetOptions { + public readDividerStyle(): DividerStyle { let valueDeserializer : Deserializer = this - const xOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let xOffset_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (xOffset_buf_runtimeType)) - { - const xOffset_buf__selector : int32 = valueDeserializer.readInt8() - let xOffset_buf_ : string | number | Resource | undefined - if (xOffset_buf__selector == 0) { - xOffset_buf_ = (valueDeserializer.readString() as string) - } - else if (xOffset_buf__selector == 1) { - xOffset_buf_ = (valueDeserializer.readNumber() as number) - } - else if (xOffset_buf__selector == 2) { - xOffset_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for xOffset_buf_ has to be chosen through deserialisation.") - } - xOffset_buf = (xOffset_buf_ as string | number | Resource) + const strokeWidth_buf_selector : int32 = valueDeserializer.readInt8() + let strokeWidth_buf : string | number | Resource | undefined + if (strokeWidth_buf_selector == 0) { + strokeWidth_buf = (valueDeserializer.readString() as string) } - const xOffset_result : Dimension | undefined = xOffset_buf - const yOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let yOffset_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (yOffset_buf_runtimeType)) + else if (strokeWidth_buf_selector == 1) { + strokeWidth_buf = (valueDeserializer.readNumber() as number) + } + else if (strokeWidth_buf_selector == 2) { + strokeWidth_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for strokeWidth_buf has to be chosen through deserialisation.") + } + const strokeWidth_result : Length = (strokeWidth_buf as string | number | Resource) + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - const yOffset_buf__selector : int32 = valueDeserializer.readInt8() - let yOffset_buf_ : string | number | Resource | undefined - if (yOffset_buf__selector == 0) { - yOffset_buf_ = (valueDeserializer.readString() as string) + const color_buf__selector : int32 = valueDeserializer.readInt8() + let color_buf_ : Color | number | string | Resource | undefined + if (color_buf__selector == 0) { + color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (yOffset_buf__selector == 1) { - yOffset_buf_ = (valueDeserializer.readNumber() as number) + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) } - else if (yOffset_buf__selector == 2) { - yOffset_buf_ = valueDeserializer.readResource() + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for yOffset_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - yOffset_buf = (yOffset_buf_ as string | number | Resource) - } - const yOffset_result : Dimension | undefined = yOffset_buf - let value : OffsetOptions = ({xOffset: xOffset_result, yOffset: yOffset_result} as OffsetOptions) - return value - } - readOverlayOptions(): OverlayOptions { - let valueDeserializer : Deserializer = this - const align_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let align_buf : Alignment | undefined - if ((RuntimeType.UNDEFINED) != (align_buf_runtimeType)) - { - align_buf = TypeChecker.Alignment_FromNumeric(valueDeserializer.readInt32()) - } - const align_result : Alignment | undefined = align_buf - const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offset_buf : OverlayOffset | undefined - if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) - { - offset_buf = valueDeserializer.readOverlayOffset() + color_buf = (color_buf_ as Color | number | string | Resource) } - const offset_result : OverlayOffset | undefined = offset_buf - let value : OverlayOptions = ({align: align_result, offset: offset_result} as OverlayOptions) - return value - } - readPasswordIcon(): PasswordIcon { - let valueDeserializer : Deserializer = this - const onIconSrc_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onIconSrc_buf : string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (onIconSrc_buf_runtimeType)) + const color_result : ResourceColor | undefined = color_buf + const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startMargin_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) { - const onIconSrc_buf__selector : int32 = valueDeserializer.readInt8() - let onIconSrc_buf_ : string | Resource | undefined - if (onIconSrc_buf__selector == 0) { - onIconSrc_buf_ = (valueDeserializer.readString() as string) + const startMargin_buf__selector : int32 = valueDeserializer.readInt8() + let startMargin_buf_ : string | number | Resource | undefined + if (startMargin_buf__selector == 0) { + startMargin_buf_ = (valueDeserializer.readString() as string) } - else if (onIconSrc_buf__selector == 1) { - onIconSrc_buf_ = valueDeserializer.readResource() + else if (startMargin_buf__selector == 1) { + startMargin_buf_ = (valueDeserializer.readNumber() as number) + } + else if (startMargin_buf__selector == 2) { + startMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for onIconSrc_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") } - onIconSrc_buf = (onIconSrc_buf_ as string | Resource) + startMargin_buf = (startMargin_buf_ as string | number | Resource) } - const onIconSrc_result : string | Resource | undefined = onIconSrc_buf - const offIconSrc_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offIconSrc_buf : string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (offIconSrc_buf_runtimeType)) + const startMargin_result : Length | undefined = startMargin_buf + const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let endMargin_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) { - const offIconSrc_buf__selector : int32 = valueDeserializer.readInt8() - let offIconSrc_buf_ : string | Resource | undefined - if (offIconSrc_buf__selector == 0) { - offIconSrc_buf_ = (valueDeserializer.readString() as string) + const endMargin_buf__selector : int32 = valueDeserializer.readInt8() + let endMargin_buf_ : string | number | Resource | undefined + if (endMargin_buf__selector == 0) { + endMargin_buf_ = (valueDeserializer.readString() as string) } - else if (offIconSrc_buf__selector == 1) { - offIconSrc_buf_ = valueDeserializer.readResource() + else if (endMargin_buf__selector == 1) { + endMargin_buf_ = (valueDeserializer.readNumber() as number) + } + else if (endMargin_buf__selector == 2) { + endMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offIconSrc_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") } - offIconSrc_buf = (offIconSrc_buf_ as string | Resource) + endMargin_buf = (endMargin_buf_ as string | number | Resource) } - const offIconSrc_result : string | Resource | undefined = offIconSrc_buf - let value : PasswordIcon = ({onIconSrc: onIconSrc_result, offIconSrc: offIconSrc_result} as PasswordIcon) + const endMargin_result : Length | undefined = endMargin_buf + let value : DividerStyle = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as DividerStyle) return value } - readPixelStretchEffectOptions(): PixelStretchEffectOptions { + public readDotIndicator(): DotIndicator { + throw new Error("Can not deserialize builder class") + } + public readEdgeOutlineWidths(): EdgeOutlineWidths { let valueDeserializer : Deserializer = this const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf : Length | undefined + let top_buf : Dimension | undefined if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { const top_buf__selector : int32 = valueDeserializer.readInt8() @@ -16542,9 +19344,30 @@ export class Deserializer extends DeserializerBase { } top_buf = (top_buf_ as string | number | Resource) } - const top_result : Length | undefined = top_buf + const top_result : Dimension | undefined = top_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) + { + const right_buf__selector : int32 = valueDeserializer.readInt8() + let right_buf_ : string | number | Resource | undefined + if (right_buf__selector == 0) { + right_buf_ = (valueDeserializer.readString() as string) + } + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) + } + else if (right_buf__selector == 2) { + right_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") + } + right_buf = (right_buf_ as string | number | Resource) + } + const right_result : Dimension | undefined = right_buf const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf : Length | undefined + let bottom_buf : Dimension | undefined if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { const bottom_buf__selector : int32 = valueDeserializer.readInt8() @@ -16563,9 +19386,9 @@ export class Deserializer extends DeserializerBase { } bottom_buf = (bottom_buf_ as string | number | Resource) } - const bottom_result : Length | undefined = bottom_buf + const bottom_result : Dimension | undefined = bottom_buf const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let left_buf : Length | undefined + let left_buf : Dimension | undefined if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { const left_buf__selector : int32 = valueDeserializer.readInt8() @@ -16584,2717 +19407,2697 @@ export class Deserializer extends DeserializerBase { } left_buf = (left_buf_ as string | number | Resource) } - const left_result : Length | undefined = left_buf - const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) - { - const right_buf__selector : int32 = valueDeserializer.readInt8() - let right_buf_ : string | number | Resource | undefined - if (right_buf__selector == 0) { - right_buf_ = (valueDeserializer.readString() as string) - } - else if (right_buf__selector == 1) { - right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (right_buf__selector == 2) { - right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") - } - right_buf = (right_buf_ as string | number | Resource) - } - const right_result : Length | undefined = right_buf - let value : PixelStretchEffectOptions = ({top: top_result, bottom: bottom_result, left: left_result, right: right_result} as PixelStretchEffectOptions) - return value - } - readPluginComponentOptions(): PluginComponentOptions { - let valueDeserializer : Deserializer = this - const template_result : PluginComponentTemplate = valueDeserializer.readPluginComponentTemplate() - const data_result : string = (valueDeserializer.readString() as string) - let value : PluginComponentOptions = ({template: template_result, data: data_result} as PluginComponentOptions) + const left_result : Dimension | undefined = left_buf + let value : EdgeOutlineWidths = ({top: top_result, right: right_result, bottom: bottom_result, left: left_result} as EdgeOutlineWidths) return value } - readPosition(): Position { + public readEdges(): Edges { let valueDeserializer : Deserializer = this - const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let x_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (x_buf_runtimeType)) + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - const x_buf__selector : int32 = valueDeserializer.readInt8() - let x_buf_ : string | number | Resource | undefined - if (x_buf__selector == 0) { - x_buf_ = (valueDeserializer.readString() as string) + const top_buf__selector : int32 = valueDeserializer.readInt8() + let top_buf_ : string | number | Resource | undefined + if (top_buf__selector == 0) { + top_buf_ = (valueDeserializer.readString() as string) } - else if (x_buf__selector == 1) { - x_buf_ = (valueDeserializer.readNumber() as number) + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) } - else if (x_buf__selector == 2) { - x_buf_ = valueDeserializer.readResource() + else if (top_buf__selector == 2) { + top_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for x_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") } - x_buf = (x_buf_ as string | number | Resource) + top_buf = (top_buf_ as string | number | Resource) } - const x_result : Length | undefined = x_buf - const y_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let y_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (y_buf_runtimeType)) + const top_result : Dimension | undefined = top_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { - const y_buf__selector : int32 = valueDeserializer.readInt8() - let y_buf_ : string | number | Resource | undefined - if (y_buf__selector == 0) { - y_buf_ = (valueDeserializer.readString() as string) + const left_buf__selector : int32 = valueDeserializer.readInt8() + let left_buf_ : string | number | Resource | undefined + if (left_buf__selector == 0) { + left_buf_ = (valueDeserializer.readString() as string) } - else if (y_buf__selector == 1) { - y_buf_ = (valueDeserializer.readNumber() as number) + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readNumber() as number) } - else if (y_buf__selector == 2) { - y_buf_ = valueDeserializer.readResource() + else if (left_buf__selector == 2) { + left_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for y_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") } - y_buf = (y_buf_ as string | number | Resource) - } - const y_result : Length | undefined = y_buf - let value : Position = ({x: x_result, y: y_result} as Position) - return value - } - readProgressStyleOptions(): ProgressStyleOptions { - let valueDeserializer : Deserializer = this - const enableSmoothEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableSmoothEffect_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (enableSmoothEffect_buf_runtimeType)) - { - enableSmoothEffect_buf = valueDeserializer.readBoolean() + left_buf = (left_buf_ as string | number | Resource) } - const enableSmoothEffect_result : boolean | undefined = enableSmoothEffect_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + const left_result : Dimension | undefined = left_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - const strokeWidth_buf__selector : int32 = valueDeserializer.readInt8() - let strokeWidth_buf_ : string | number | Resource | undefined - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_ = (valueDeserializer.readString() as string) + const bottom_buf__selector : int32 = valueDeserializer.readInt8() + let bottom_buf_ : string | number | Resource | undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = (valueDeserializer.readString() as string) } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_ = valueDeserializer.readResource() + else if (bottom_buf__selector == 2) { + bottom_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") } - strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) - } - const strokeWidth_result : Length | undefined = strokeWidth_buf - const scaleCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scaleCount_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (scaleCount_buf_runtimeType)) - { - scaleCount_buf = (valueDeserializer.readNumber() as number) - } - const scaleCount_result : number | undefined = scaleCount_buf - const scaleWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scaleWidth_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (scaleWidth_buf_runtimeType)) + bottom_buf = (bottom_buf_ as string | number | Resource) + } + const bottom_result : Dimension | undefined = bottom_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) { - const scaleWidth_buf__selector : int32 = valueDeserializer.readInt8() - let scaleWidth_buf_ : string | number | Resource | undefined - if (scaleWidth_buf__selector == 0) { - scaleWidth_buf_ = (valueDeserializer.readString() as string) + const right_buf__selector : int32 = valueDeserializer.readInt8() + let right_buf_ : string | number | Resource | undefined + if (right_buf__selector == 0) { + right_buf_ = (valueDeserializer.readString() as string) } - else if (scaleWidth_buf__selector == 1) { - scaleWidth_buf_ = (valueDeserializer.readNumber() as number) + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) } - else if (scaleWidth_buf__selector == 2) { - scaleWidth_buf_ = valueDeserializer.readResource() + else if (right_buf__selector == 2) { + right_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for scaleWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") } - scaleWidth_buf = (scaleWidth_buf_ as string | number | Resource) + right_buf = (right_buf_ as string | number | Resource) } - const scaleWidth_result : Length | undefined = scaleWidth_buf - let value : ProgressStyleOptions = ({enableSmoothEffect: enableSmoothEffect_result, strokeWidth: strokeWidth_result, scaleCount: scaleCount_result, scaleWidth: scaleWidth_result} as ProgressStyleOptions) + const right_result : Dimension | undefined = right_buf + let value : Edges = ({top: top_result, left: left_result, bottom: bottom_result, right: right_result} as Edges) return value } - readRadioStyle(): RadioStyle { + public readEdgeWidths(): EdgeWidths { let valueDeserializer : Deserializer = this - const checkedBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let checkedBackgroundColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (checkedBackgroundColor_buf_runtimeType)) + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - const checkedBackgroundColor_buf__selector : int32 = valueDeserializer.readInt8() - let checkedBackgroundColor_buf_ : Color | number | string | Resource | undefined - if (checkedBackgroundColor_buf__selector == 0) { - checkedBackgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (checkedBackgroundColor_buf__selector == 1) { - checkedBackgroundColor_buf_ = (valueDeserializer.readNumber() as number) + const top_buf__selector : int32 = valueDeserializer.readInt8() + let top_buf_ : string | number | Resource | undefined + if (top_buf__selector == 0) { + top_buf_ = (valueDeserializer.readString() as string) } - else if (checkedBackgroundColor_buf__selector == 2) { - checkedBackgroundColor_buf_ = (valueDeserializer.readString() as string) + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) } - else if (checkedBackgroundColor_buf__selector == 3) { - checkedBackgroundColor_buf_ = valueDeserializer.readResource() + else if (top_buf__selector == 2) { + top_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for checkedBackgroundColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") } - checkedBackgroundColor_buf = (checkedBackgroundColor_buf_ as Color | number | string | Resource) + top_buf = (top_buf_ as string | number | Resource) } - const checkedBackgroundColor_result : ResourceColor | undefined = checkedBackgroundColor_buf - const uncheckedBorderColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let uncheckedBorderColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (uncheckedBorderColor_buf_runtimeType)) + const top_result : Length | undefined = top_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) { - const uncheckedBorderColor_buf__selector : int32 = valueDeserializer.readInt8() - let uncheckedBorderColor_buf_ : Color | number | string | Resource | undefined - if (uncheckedBorderColor_buf__selector == 0) { - uncheckedBorderColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (uncheckedBorderColor_buf__selector == 1) { - uncheckedBorderColor_buf_ = (valueDeserializer.readNumber() as number) + const right_buf__selector : int32 = valueDeserializer.readInt8() + let right_buf_ : string | number | Resource | undefined + if (right_buf__selector == 0) { + right_buf_ = (valueDeserializer.readString() as string) } - else if (uncheckedBorderColor_buf__selector == 2) { - uncheckedBorderColor_buf_ = (valueDeserializer.readString() as string) + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) } - else if (uncheckedBorderColor_buf__selector == 3) { - uncheckedBorderColor_buf_ = valueDeserializer.readResource() + else if (right_buf__selector == 2) { + right_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for uncheckedBorderColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") } - uncheckedBorderColor_buf = (uncheckedBorderColor_buf_ as Color | number | string | Resource) + right_buf = (right_buf_ as string | number | Resource) } - const uncheckedBorderColor_result : ResourceColor | undefined = uncheckedBorderColor_buf - const indicatorColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let indicatorColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (indicatorColor_buf_runtimeType)) + const right_result : Length | undefined = right_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - const indicatorColor_buf__selector : int32 = valueDeserializer.readInt8() - let indicatorColor_buf_ : Color | number | string | Resource | undefined - if (indicatorColor_buf__selector == 0) { - indicatorColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (indicatorColor_buf__selector == 1) { - indicatorColor_buf_ = (valueDeserializer.readNumber() as number) + const bottom_buf__selector : int32 = valueDeserializer.readInt8() + let bottom_buf_ : string | number | Resource | undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = (valueDeserializer.readString() as string) } - else if (indicatorColor_buf__selector == 2) { - indicatorColor_buf_ = (valueDeserializer.readString() as string) + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) } - else if (indicatorColor_buf__selector == 3) { - indicatorColor_buf_ = valueDeserializer.readResource() + else if (bottom_buf__selector == 2) { + bottom_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for indicatorColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") } - indicatorColor_buf = (indicatorColor_buf_ as Color | number | string | Resource) + bottom_buf = (bottom_buf_ as string | number | Resource) } - const indicatorColor_result : ResourceColor | undefined = indicatorColor_buf - let value : RadioStyle = ({checkedBackgroundColor: checkedBackgroundColor_result, uncheckedBorderColor: uncheckedBorderColor_result, indicatorColor: indicatorColor_result} as RadioStyle) - return value - } - readRectangle(): Rectangle { - let valueDeserializer : Deserializer = this - const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let x_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (x_buf_runtimeType)) + const bottom_result : Length | undefined = bottom_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { - const x_buf__selector : int32 = valueDeserializer.readInt8() - let x_buf_ : string | number | Resource | undefined - if (x_buf__selector == 0) { - x_buf_ = (valueDeserializer.readString() as string) + const left_buf__selector : int32 = valueDeserializer.readInt8() + let left_buf_ : string | number | Resource | undefined + if (left_buf__selector == 0) { + left_buf_ = (valueDeserializer.readString() as string) } - else if (x_buf__selector == 1) { - x_buf_ = (valueDeserializer.readNumber() as number) + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readNumber() as number) } - else if (x_buf__selector == 2) { - x_buf_ = valueDeserializer.readResource() + else if (left_buf__selector == 2) { + left_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for x_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") } - x_buf = (x_buf_ as string | number | Resource) + left_buf = (left_buf_ as string | number | Resource) } - const x_result : Length | undefined = x_buf - const y_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let y_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (y_buf_runtimeType)) + const left_result : Length | undefined = left_buf + let value : EdgeWidths = ({top: top_result, right: right_result, bottom: bottom_result, left: left_result} as EdgeWidths) + return value + } + public readEditableTextChangeValue(): EditableTextChangeValue { + let valueDeserializer : Deserializer = this + const content_result : string = (valueDeserializer.readString() as string) + const previewText_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let previewText_buf : PreviewText | undefined + if ((RuntimeType.UNDEFINED) != (previewText_buf_runtimeType)) { - const y_buf__selector : int32 = valueDeserializer.readInt8() - let y_buf_ : string | number | Resource | undefined - if (y_buf__selector == 0) { - y_buf_ = (valueDeserializer.readString() as string) + previewText_buf = valueDeserializer.readPreviewText() + } + const previewText_result : PreviewText | undefined = previewText_buf + const options_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let options_buf : TextChangeOptions | undefined + if ((RuntimeType.UNDEFINED) != (options_buf_runtimeType)) + { + options_buf = valueDeserializer.readTextChangeOptions() + } + const options_result : TextChangeOptions | undefined = options_buf + let value : EditableTextChangeValue = ({content: content_result, previewText: previewText_result, options: options_result} as EditableTextChangeValue) + return value + } + public readFlexOptions(): FlexOptions { + let valueDeserializer : Deserializer = this + const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let direction_buf : FlexDirection | undefined + if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf = TypeChecker.FlexDirection_FromNumeric(valueDeserializer.readInt32()) + } + const direction_result : FlexDirection | undefined = direction_buf + const wrap_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let wrap_buf : FlexWrap | undefined + if ((RuntimeType.UNDEFINED) != (wrap_buf_runtimeType)) + { + wrap_buf = TypeChecker.FlexWrap_FromNumeric(valueDeserializer.readInt32()) + } + const wrap_result : FlexWrap | undefined = wrap_buf + const justifyContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let justifyContent_buf : FlexAlign | undefined + if ((RuntimeType.UNDEFINED) != (justifyContent_buf_runtimeType)) + { + justifyContent_buf = TypeChecker.FlexAlign_FromNumeric(valueDeserializer.readInt32()) + } + const justifyContent_result : FlexAlign | undefined = justifyContent_buf + const alignItems_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let alignItems_buf : ItemAlign | undefined + if ((RuntimeType.UNDEFINED) != (alignItems_buf_runtimeType)) + { + alignItems_buf = TypeChecker.ItemAlign_FromNumeric(valueDeserializer.readInt32()) + } + const alignItems_result : ItemAlign | undefined = alignItems_buf + const alignContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let alignContent_buf : FlexAlign | undefined + if ((RuntimeType.UNDEFINED) != (alignContent_buf_runtimeType)) + { + alignContent_buf = TypeChecker.FlexAlign_FromNumeric(valueDeserializer.readInt32()) + } + const alignContent_result : FlexAlign | undefined = alignContent_buf + const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let space_buf : FlexSpaceOptions | undefined + if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) + { + space_buf = valueDeserializer.readFlexSpaceOptions() + } + const space_result : FlexSpaceOptions | undefined = space_buf + let value : FlexOptions = ({direction: direction_result, wrap: wrap_result, justifyContent: justifyContent_result, alignItems: alignItems_result, alignContent: alignContent_result, space: space_result} as FlexOptions) + return value + } + public readFont(): Font { + let valueDeserializer : Deserializer = this + const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let size_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) + { + const size_buf__selector : int32 = valueDeserializer.readInt8() + let size_buf_ : string | number | Resource | undefined + if (size_buf__selector == 0) { + size_buf_ = (valueDeserializer.readString() as string) } - else if (y_buf__selector == 1) { - y_buf_ = (valueDeserializer.readNumber() as number) + else if (size_buf__selector == 1) { + size_buf_ = (valueDeserializer.readNumber() as number) } - else if (y_buf__selector == 2) { - y_buf_ = valueDeserializer.readResource() + else if (size_buf__selector == 2) { + size_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for y_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") } - y_buf = (y_buf_ as string | number | Resource) + size_buf = (size_buf_ as string | number | Resource) } - const y_result : Length | undefined = y_buf - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const size_result : Length | undefined = size_buf + const weight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weight_buf : FontWeight | number | string | undefined + if ((RuntimeType.UNDEFINED) != (weight_buf_runtimeType)) { - const width_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf_ : string | number | Resource | undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readString() as string) + const weight_buf__selector : int32 = valueDeserializer.readInt8() + let weight_buf_ : FontWeight | number | string | undefined + if (weight_buf__selector == 0) { + weight_buf_ = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readNumber() as number) + else if (weight_buf__selector == 1) { + weight_buf_ = (valueDeserializer.readNumber() as number) } - else if (width_buf__selector == 2) { - width_buf_ = valueDeserializer.readResource() + else if (weight_buf__selector == 2) { + weight_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for weight_buf_ has to be chosen through deserialisation.") } - width_buf = (width_buf_ as string | number | Resource) + weight_buf = (weight_buf_ as FontWeight | number | string) } - const width_result : Length | undefined = width_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + const weight_result : FontWeight | number | string | undefined = weight_buf + const family_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let family_buf : string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (family_buf_runtimeType)) { - const height_buf__selector : int32 = valueDeserializer.readInt8() - let height_buf_ : string | number | Resource | undefined - if (height_buf__selector == 0) { - height_buf_ = (valueDeserializer.readString() as string) - } - else if (height_buf__selector == 1) { - height_buf_ = (valueDeserializer.readNumber() as number) + const family_buf__selector : int32 = valueDeserializer.readInt8() + let family_buf_ : string | Resource | undefined + if (family_buf__selector == 0) { + family_buf_ = (valueDeserializer.readString() as string) } - else if (height_buf__selector == 2) { - height_buf_ = valueDeserializer.readResource() + else if (family_buf__selector == 1) { + family_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for family_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_ as string | number | Resource) + family_buf = (family_buf_ as string | Resource) } - const height_result : Length | undefined = height_buf - let value : Rectangle = ({x: x_result, y: y_result, width: width_result, height: height_result} as Rectangle) + const family_result : string | Resource | undefined = family_buf + const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let style_buf : FontStyle | undefined + if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + { + style_buf = TypeChecker.FontStyle_FromNumeric(valueDeserializer.readInt32()) + } + const style_result : FontStyle | undefined = style_buf + let value : Font = ({size: size_result, weight: weight_result, family: family_result, style: style_result} as Font) return value } - readRectOptions(): RectOptions { + public readGaugeIndicatorOptions(): GaugeIndicatorOptions { let valueDeserializer : Deserializer = this - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) - { - const width_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf_ : number | string | undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") - } - width_buf = (width_buf_ as number | string) - } - const width_result : number | string | undefined = width_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) { - const height_buf__selector : int32 = valueDeserializer.readInt8() - let height_buf_ : number | string | undefined - if (height_buf__selector == 0) { - height_buf_ = (valueDeserializer.readNumber() as number) + const icon_buf__selector : int32 = valueDeserializer.readInt8() + let icon_buf_ : string | Resource | undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) } - else if (height_buf__selector == 1) { - height_buf_ = (valueDeserializer.readString() as string) + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_ as number | string) + icon_buf = (icon_buf_ as string | Resource) } - const height_result : number | string | undefined = height_buf - const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf : number | string | Array | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) + const icon_result : ResourceStr | undefined = icon_buf + const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let space_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) { - const radius_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf_ : number | string | Array | undefined - if (radius_buf__selector == 0) { - radius_buf_ = (valueDeserializer.readNumber() as number) + const space_buf__selector : int32 = valueDeserializer.readInt8() + let space_buf_ : string | number | Resource | undefined + if (space_buf__selector == 0) { + space_buf_ = (valueDeserializer.readString() as string) } - else if (radius_buf__selector == 1) { - radius_buf_ = (valueDeserializer.readString() as string) + else if (space_buf__selector == 1) { + space_buf_ = (valueDeserializer.readNumber() as number) } - else if (radius_buf__selector == 2) { - const radius_buf__u_length : int32 = valueDeserializer.readInt32() - let radius_buf__u : Array = new Array(radius_buf__u_length) - for (let radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { - const radius_buf__u_buf_selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_buf : number | string | undefined - if (radius_buf__u_buf_selector == 0) { - radius_buf__u_buf = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_buf_selector == 1) { - radius_buf__u_buf = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for radius_buf__u_buf has to be chosen through deserialisation.") - } - radius_buf__u[radius_buf__u_i] = (radius_buf__u_buf as number | string) - } - radius_buf_ = radius_buf__u + else if (space_buf__selector == 2) { + space_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for space_buf_ has to be chosen through deserialisation.") } - radius_buf = (radius_buf_ as number | string | Array) + space_buf = (space_buf_ as string | number | Resource) } - const radius_result : number | string | Array | undefined = radius_buf - let value : RectOptions = ({width: width_result, height: height_result, radius: radius_result} as RectOptions) + const space_result : Dimension | undefined = space_buf + let value : GaugeIndicatorOptions = ({icon: icon_result, space: space_result} as GaugeIndicatorOptions) return value } - readRectShapeOptions(): RectShapeOptions { + public readGridRowSizeOption(): GridRowSizeOption { let valueDeserializer : Deserializer = this - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const xs_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let xs_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (xs_buf_runtimeType)) { - const width_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf_ : number | string | undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readNumber() as number) + const xs_buf__selector : int32 = valueDeserializer.readInt8() + let xs_buf_ : string | number | Resource | undefined + if (xs_buf__selector == 0) { + xs_buf_ = (valueDeserializer.readString() as string) } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readString() as string) + else if (xs_buf__selector == 1) { + xs_buf_ = (valueDeserializer.readNumber() as number) + } + else if (xs_buf__selector == 2) { + xs_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for xs_buf_ has to be chosen through deserialisation.") } - width_buf = (width_buf_ as number | string) + xs_buf = (xs_buf_ as string | number | Resource) } - const width_result : number | string | undefined = width_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + const xs_result : Length | undefined = xs_buf + const sm_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let sm_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (sm_buf_runtimeType)) { - const height_buf__selector : int32 = valueDeserializer.readInt8() - let height_buf_ : number | string | undefined - if (height_buf__selector == 0) { - height_buf_ = (valueDeserializer.readNumber() as number) + const sm_buf__selector : int32 = valueDeserializer.readInt8() + let sm_buf_ : string | number | Resource | undefined + if (sm_buf__selector == 0) { + sm_buf_ = (valueDeserializer.readString() as string) } - else if (height_buf__selector == 1) { - height_buf_ = (valueDeserializer.readString() as string) + else if (sm_buf__selector == 1) { + sm_buf_ = (valueDeserializer.readNumber() as number) + } + else if (sm_buf__selector == 2) { + sm_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for sm_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_ as number | string) + sm_buf = (sm_buf_ as string | number | Resource) } - const height_result : number | string | undefined = height_buf - const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf : number | string | Array | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) + const sm_result : Length | undefined = sm_buf + const md_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let md_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (md_buf_runtimeType)) { - const radius_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf_ : number | string | Array | undefined - if (radius_buf__selector == 0) { - radius_buf_ = (valueDeserializer.readNumber() as number) + const md_buf__selector : int32 = valueDeserializer.readInt8() + let md_buf_ : string | number | Resource | undefined + if (md_buf__selector == 0) { + md_buf_ = (valueDeserializer.readString() as string) } - else if (radius_buf__selector == 1) { - radius_buf_ = (valueDeserializer.readString() as string) + else if (md_buf__selector == 1) { + md_buf_ = (valueDeserializer.readNumber() as number) } - else if (radius_buf__selector == 2) { - const radius_buf__u_length : int32 = valueDeserializer.readInt32() - let radius_buf__u : Array = new Array(radius_buf__u_length) - for (let radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { - const radius_buf__u_buf_selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_buf : number | string | undefined - if (radius_buf__u_buf_selector == 0) { - radius_buf__u_buf = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_buf_selector == 1) { - radius_buf__u_buf = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for radius_buf__u_buf has to be chosen through deserialisation.") - } - radius_buf__u[radius_buf__u_i] = (radius_buf__u_buf as number | string) - } - radius_buf_ = radius_buf__u + else if (md_buf__selector == 2) { + md_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for md_buf_ has to be chosen through deserialisation.") } - radius_buf = (radius_buf_ as number | string | Array) + md_buf = (md_buf_ as string | number | Resource) } - const radius_result : number | string | Array | undefined = radius_buf - let value : RectShapeOptions = ({width: width_result, height: height_result, radius: radius_result} as RectShapeOptions) - return value - } - readRefreshOptions(): RefreshOptions { - let valueDeserializer : Deserializer = this - const refreshing_result : boolean = valueDeserializer.readBoolean() - const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offset_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) + const md_result : Length | undefined = md_buf + const lg_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lg_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (lg_buf_runtimeType)) { - const offset_buf__selector : int32 = valueDeserializer.readInt8() - let offset_buf_ : number | string | undefined - if (offset_buf__selector == 0) { - offset_buf_ = (valueDeserializer.readNumber() as number) + const lg_buf__selector : int32 = valueDeserializer.readInt8() + let lg_buf_ : string | number | Resource | undefined + if (lg_buf__selector == 0) { + lg_buf_ = (valueDeserializer.readString() as string) + } + else if (lg_buf__selector == 1) { + lg_buf_ = (valueDeserializer.readNumber() as number) } - else if (offset_buf__selector == 1) { - offset_buf_ = (valueDeserializer.readString() as string) + else if (lg_buf__selector == 2) { + lg_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offset_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for lg_buf_ has to be chosen through deserialisation.") } - offset_buf = (offset_buf_ as number | string) + lg_buf = (lg_buf_ as string | number | Resource) } - const offset_result : number | string | undefined = offset_buf - const friction_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let friction_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (friction_buf_runtimeType)) + const lg_result : Length | undefined = lg_buf + const xl_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let xl_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (xl_buf_runtimeType)) { - const friction_buf__selector : int32 = valueDeserializer.readInt8() - let friction_buf_ : number | string | undefined - if (friction_buf__selector == 0) { - friction_buf_ = (valueDeserializer.readNumber() as number) + const xl_buf__selector : int32 = valueDeserializer.readInt8() + let xl_buf_ : string | number | Resource | undefined + if (xl_buf__selector == 0) { + xl_buf_ = (valueDeserializer.readString() as string) } - else if (friction_buf__selector == 1) { - friction_buf_ = (valueDeserializer.readString() as string) + else if (xl_buf__selector == 1) { + xl_buf_ = (valueDeserializer.readNumber() as number) + } + else if (xl_buf__selector == 2) { + xl_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for friction_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for xl_buf_ has to be chosen through deserialisation.") } - friction_buf = (friction_buf_ as number | string) + xl_buf = (xl_buf_ as string | number | Resource) } - const friction_result : number | string | undefined = friction_buf - const promptText_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let promptText_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (promptText_buf_runtimeType)) + const xl_result : Length | undefined = xl_buf + const xxl_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let xxl_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (xxl_buf_runtimeType)) { - const promptText_buf__selector : int32 = valueDeserializer.readInt8() - let promptText_buf_ : string | Resource | undefined - if (promptText_buf__selector == 0) { - promptText_buf_ = (valueDeserializer.readString() as string) + const xxl_buf__selector : int32 = valueDeserializer.readInt8() + let xxl_buf_ : string | number | Resource | undefined + if (xxl_buf__selector == 0) { + xxl_buf_ = (valueDeserializer.readString() as string) } - else if (promptText_buf__selector == 1) { - promptText_buf_ = valueDeserializer.readResource() + else if (xxl_buf__selector == 1) { + xxl_buf_ = (valueDeserializer.readNumber() as number) + } + else if (xxl_buf__selector == 2) { + xxl_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for promptText_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for xxl_buf_ has to be chosen through deserialisation.") } - promptText_buf = (promptText_buf_ as string | Resource) - } - const promptText_result : ResourceStr | undefined = promptText_buf - const builder_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let builder_buf : CustomBuilder | undefined - if ((RuntimeType.UNDEFINED) != (builder_buf_runtimeType)) - { - builder_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) - } - const builder_result : CustomBuilder | undefined = builder_buf - const refreshingContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let refreshingContent_buf : ComponentContent | undefined - if ((RuntimeType.UNDEFINED) != (refreshingContent_buf_runtimeType)) - { - refreshingContent_buf = (valueDeserializer.readComponentContent() as ComponentContent) - } - const refreshingContent_result : ComponentContent | undefined = refreshingContent_buf - let value : RefreshOptions = ({refreshing: refreshing_result, offset: offset_result, friction: friction_result, promptText: promptText_result, builder: builder_result, refreshingContent: refreshingContent_result} as RefreshOptions) - return value - } - readRenderNode(): RenderNode { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return RenderNodeInternal.fromPtr(ptr) - } - readRestrictedWorker(): RestrictedWorker { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return RestrictedWorkerInternal.fromPtr(ptr) - } - readRichEditorChangeValue(): RichEditorChangeValue { - let valueDeserializer : Deserializer = this - const rangeBefore_result : TextRange = valueDeserializer.readTextRange() - const replacedSpans_buf_length : int32 = valueDeserializer.readInt32() - let replacedSpans_buf : Array = new Array(replacedSpans_buf_length) - for (let replacedSpans_buf_i = 0; replacedSpans_buf_i < replacedSpans_buf_length; replacedSpans_buf_i++) { - replacedSpans_buf[replacedSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() - } - const replacedSpans_result : Array = replacedSpans_buf - const replacedImageSpans_buf_length : int32 = valueDeserializer.readInt32() - let replacedImageSpans_buf : Array = new Array(replacedImageSpans_buf_length) - for (let replacedImageSpans_buf_i = 0; replacedImageSpans_buf_i < replacedImageSpans_buf_length; replacedImageSpans_buf_i++) { - replacedImageSpans_buf[replacedImageSpans_buf_i] = valueDeserializer.readRichEditorImageSpanResult() - } - const replacedImageSpans_result : Array = replacedImageSpans_buf - const replacedSymbolSpans_buf_length : int32 = valueDeserializer.readInt32() - let replacedSymbolSpans_buf : Array = new Array(replacedSymbolSpans_buf_length) - for (let replacedSymbolSpans_buf_i = 0; replacedSymbolSpans_buf_i < replacedSymbolSpans_buf_length; replacedSymbolSpans_buf_i++) { - replacedSymbolSpans_buf[replacedSymbolSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() + xxl_buf = (xxl_buf_ as string | number | Resource) } - const replacedSymbolSpans_result : Array = replacedSymbolSpans_buf - let value : RichEditorChangeValue = ({rangeBefore: rangeBefore_result, replacedSpans: replacedSpans_result, replacedImageSpans: replacedImageSpans_result, replacedSymbolSpans: replacedSymbolSpans_result} as RichEditorChangeValue) + const xxl_result : Length | undefined = xxl_buf + let value : GridRowSizeOption = ({xs: xs_result, sm: sm_result, md: md_result, lg: lg_result, xl: xl_result, xxl: xxl_result} as GridRowSizeOption) return value } - readRichEditorSymbolSpanStyle(): RichEditorSymbolSpanStyle { + public readGuideLinePosition(): GuideLinePosition { let valueDeserializer : Deserializer = this - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf : number | string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - const fontSize_buf__selector : int32 = valueDeserializer.readInt8() - let fontSize_buf_ : number | string | Resource | undefined - if (fontSize_buf__selector == 0) { - fontSize_buf_ = (valueDeserializer.readNumber() as number) + const start_buf__selector : int32 = valueDeserializer.readInt8() + let start_buf_ : string | number | Resource | undefined + if (start_buf__selector == 0) { + start_buf_ = (valueDeserializer.readString() as string) } - else if (fontSize_buf__selector == 1) { - fontSize_buf_ = (valueDeserializer.readString() as string) + else if (start_buf__selector == 1) { + start_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontSize_buf__selector == 2) { - fontSize_buf_ = valueDeserializer.readResource() + else if (start_buf__selector == 2) { + start_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") - } - fontSize_buf = (fontSize_buf_ as number | string | Resource) - } - const fontSize_result : number | string | Resource | undefined = fontSize_buf - const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontColor_buf : Array | undefined - if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) - { - const fontColor_buf__length : int32 = valueDeserializer.readInt32() - let fontColor_buf_ : Array = new Array(fontColor_buf__length) - for (let fontColor_buf__i = 0; fontColor_buf__i < fontColor_buf__length; fontColor_buf__i++) { - const fontColor_buf__buf_selector : int32 = valueDeserializer.readInt8() - let fontColor_buf__buf : Color | number | string | Resource | undefined - if (fontColor_buf__buf_selector == 0) { - fontColor_buf__buf = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (fontColor_buf__buf_selector == 1) { - fontColor_buf__buf = (valueDeserializer.readNumber() as number) - } - else if (fontColor_buf__buf_selector == 2) { - fontColor_buf__buf = (valueDeserializer.readString() as string) - } - else if (fontColor_buf__buf_selector == 3) { - fontColor_buf__buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for fontColor_buf__buf has to be chosen through deserialisation.") - } - fontColor_buf_[fontColor_buf__i] = (fontColor_buf__buf as Color | number | string | Resource) + throw new Error("One of the branches for start_buf_ has to be chosen through deserialisation.") } - fontColor_buf = fontColor_buf_ + start_buf = (start_buf_ as string | number | Resource) } - const fontColor_result : Array | undefined = fontColor_buf - const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontWeight_buf : number | FontWeight | string | undefined - if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + const start_result : Dimension | undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - const fontWeight_buf__selector : int32 = valueDeserializer.readInt8() - let fontWeight_buf_ : number | FontWeight | string | undefined - if (fontWeight_buf__selector == 0) { - fontWeight_buf_ = (valueDeserializer.readNumber() as number) + const end_buf__selector : int32 = valueDeserializer.readInt8() + let end_buf_ : string | number | Resource | undefined + if (end_buf__selector == 0) { + end_buf_ = (valueDeserializer.readString() as string) } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_ = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) + else if (end_buf__selector == 1) { + end_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_ = (valueDeserializer.readString() as string) + else if (end_buf__selector == 2) { + end_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for end_buf_ has to be chosen through deserialisation.") } - fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) - } - const fontWeight_result : number | FontWeight | string | undefined = fontWeight_buf - const effectStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let effectStrategy_buf : SymbolEffectStrategy | undefined - if ((RuntimeType.UNDEFINED) != (effectStrategy_buf_runtimeType)) - { - effectStrategy_buf = TypeChecker.SymbolEffectStrategy_FromNumeric(valueDeserializer.readInt32()) - } - const effectStrategy_result : SymbolEffectStrategy | undefined = effectStrategy_buf - const renderingStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let renderingStrategy_buf : SymbolRenderingStrategy | undefined - if ((RuntimeType.UNDEFINED) != (renderingStrategy_buf_runtimeType)) - { - renderingStrategy_buf = TypeChecker.SymbolRenderingStrategy_FromNumeric(valueDeserializer.readInt32()) + end_buf = (end_buf_ as string | number | Resource) } - const renderingStrategy_result : SymbolRenderingStrategy | undefined = renderingStrategy_buf - let value : RichEditorSymbolSpanStyle = ({fontSize: fontSize_result, fontColor: fontColor_result, fontWeight: fontWeight_result, effectStrategy: effectStrategy_result, renderingStrategy: renderingStrategy_result} as RichEditorSymbolSpanStyle) + const end_result : Dimension | undefined = end_buf + let value : GuideLinePosition = ({start: start_result, end: end_result} as GuideLinePosition) return value } - readRichEditorTextStyleResult(): RichEditorTextStyleResult { + public readGuideLineStyle(): GuideLineStyle { let valueDeserializer : Deserializer = this - const fontColor_buf_selector : int32 = valueDeserializer.readInt8() - let fontColor_buf : Color | number | string | Resource | undefined - if (fontColor_buf_selector == 0) { - fontColor_buf = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (fontColor_buf_selector == 1) { - fontColor_buf = (valueDeserializer.readNumber() as number) - } - else if (fontColor_buf_selector == 2) { - fontColor_buf = (valueDeserializer.readString() as string) - } - else if (fontColor_buf_selector == 3) { - fontColor_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for fontColor_buf has to be chosen through deserialisation.") - } - const fontColor_result : ResourceColor = (fontColor_buf as Color | number | string | Resource) - const fontSize_result : number = (valueDeserializer.readNumber() as number) - const fontStyle_result : FontStyle = TypeChecker.FontStyle_FromNumeric(valueDeserializer.readInt32()) - const fontWeight_result : number = (valueDeserializer.readNumber() as number) - const fontFamily_result : string = (valueDeserializer.readString() as string) - const decoration_result : DecorationStyleResult = valueDeserializer.readDecorationStyleResult() - const textShadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textShadow_buf : Array | undefined - if ((RuntimeType.UNDEFINED) != (textShadow_buf_runtimeType)) - { - const textShadow_buf__length : int32 = valueDeserializer.readInt32() - let textShadow_buf_ : Array = new Array(textShadow_buf__length) - for (let textShadow_buf__i = 0; textShadow_buf__i < textShadow_buf__length; textShadow_buf__i++) { - textShadow_buf_[textShadow_buf__i] = valueDeserializer.readShadowOptions() - } - textShadow_buf = textShadow_buf_ - } - const textShadow_result : Array | undefined = textShadow_buf - const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let letterSpacing_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) + const id_result : string = (valueDeserializer.readString() as string) + const direction_result : Axis = TypeChecker.Axis_FromNumeric(valueDeserializer.readInt32()) + const position_result : GuideLinePosition = valueDeserializer.readGuideLinePosition() + let value : GuideLineStyle = ({id: id_result, direction: direction_result, position: position_result} as GuideLineStyle) + return value + } + public readIconOptions(): IconOptions { + let valueDeserializer : Deserializer = this + const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let size_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) { - letterSpacing_buf = (valueDeserializer.readNumber() as number) + const size_buf__selector : int32 = valueDeserializer.readInt8() + let size_buf_ : string | number | Resource | undefined + if (size_buf__selector == 0) { + size_buf_ = (valueDeserializer.readString() as string) + } + else if (size_buf__selector == 1) { + size_buf_ = (valueDeserializer.readNumber() as number) + } + else if (size_buf__selector == 2) { + size_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") + } + size_buf = (size_buf_ as string | number | Resource) } - const letterSpacing_result : number | undefined = letterSpacing_buf - const lineHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lineHeight_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (lineHeight_buf_runtimeType)) + const size_result : Length | undefined = size_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - lineHeight_buf = (valueDeserializer.readNumber() as number) + const color_buf__selector : int32 = valueDeserializer.readInt8() + let color_buf_ : Color | number | string | Resource | undefined + if (color_buf__selector == 0) { + color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as Color | number | string | Resource) } - const lineHeight_result : number | undefined = lineHeight_buf - const fontFeature_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFeature_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (fontFeature_buf_runtimeType)) + const color_result : ResourceColor | undefined = color_buf + const src_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let src_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (src_buf_runtimeType)) { - fontFeature_buf = (valueDeserializer.readString() as string) + const src_buf__selector : int32 = valueDeserializer.readInt8() + let src_buf_ : string | Resource | undefined + if (src_buf__selector == 0) { + src_buf_ = (valueDeserializer.readString() as string) + } + else if (src_buf__selector == 1) { + src_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for src_buf_ has to be chosen through deserialisation.") + } + src_buf = (src_buf_ as string | Resource) } - const fontFeature_result : string | undefined = fontFeature_buf - let value : RichEditorTextStyleResult = ({fontColor: fontColor_result, fontSize: fontSize_result, fontStyle: fontStyle_result, fontWeight: fontWeight_result, fontFamily: fontFamily_result, decoration: decoration_result, textShadow: textShadow_result, letterSpacing: letterSpacing_result, lineHeight: lineHeight_result, fontFeature: fontFeature_result} as RichEditorTextStyleResult) + const src_result : ResourceStr | undefined = src_buf + let value : IconOptions = ({size: size_result, color: color_result, src: src_result} as IconOptions) return value } - readRichEditorUpdateSymbolSpanStyleOptions(): RichEditorUpdateSymbolSpanStyleOptions { + public readIndicatorStyle(): IndicatorStyle { let valueDeserializer : Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) { - start_buf = (valueDeserializer.readNumber() as number) + const height_buf__selector : int32 = valueDeserializer.readInt8() + let height_buf_ : string | number | Resource | undefined + if (height_buf__selector == 0) { + height_buf_ = (valueDeserializer.readString() as string) + } + else if (height_buf__selector == 1) { + height_buf_ = (valueDeserializer.readNumber() as number) + } + else if (height_buf__selector == 2) { + height_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + } + height_buf = (height_buf_ as string | number | Resource) } - const start_result : number | undefined = start_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + const height_result : Length | undefined = height_buf + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) { - end_buf = (valueDeserializer.readNumber() as number) + const width_buf__selector : int32 = valueDeserializer.readInt8() + let width_buf_ : string | number | Resource | undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readString() as string) + } + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readNumber() as number) + } + else if (width_buf__selector == 2) { + width_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + } + width_buf = (width_buf_ as string | number | Resource) } - const end_result : number | undefined = end_buf - const symbolStyle_result : RichEditorSymbolSpanStyle = valueDeserializer.readRichEditorSymbolSpanStyle() - let value : RichEditorUpdateSymbolSpanStyleOptions = ({start: start_result, end: end_result, symbolStyle: symbolStyle_result} as RichEditorUpdateSymbolSpanStyleOptions) - return value - } - readRingStyleOptions(): RingStyleOptions { - let valueDeserializer : Deserializer = this - const enableScanEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableScanEffect_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (enableScanEffect_buf_runtimeType)) + const width_result : Length | undefined = width_buf + const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderRadius_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) { - enableScanEffect_buf = valueDeserializer.readBoolean() + const borderRadius_buf__selector : int32 = valueDeserializer.readInt8() + let borderRadius_buf_ : string | number | Resource | undefined + if (borderRadius_buf__selector == 0) { + borderRadius_buf_ = (valueDeserializer.readString() as string) + } + else if (borderRadius_buf__selector == 1) { + borderRadius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (borderRadius_buf__selector == 2) { + borderRadius_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") + } + borderRadius_buf = (borderRadius_buf_ as string | number | Resource) } - const enableScanEffect_result : boolean | undefined = enableScanEffect_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + const borderRadius_result : Length | undefined = borderRadius_buf + const marginTop_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let marginTop_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (marginTop_buf_runtimeType)) { - const strokeWidth_buf__selector : int32 = valueDeserializer.readInt8() - let strokeWidth_buf_ : string | number | Resource | undefined - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_ = (valueDeserializer.readString() as string) + const marginTop_buf__selector : int32 = valueDeserializer.readInt8() + let marginTop_buf_ : string | number | Resource | undefined + if (marginTop_buf__selector == 0) { + marginTop_buf_ = (valueDeserializer.readString() as string) } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + else if (marginTop_buf__selector == 1) { + marginTop_buf_ = (valueDeserializer.readNumber() as number) } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_ = valueDeserializer.readResource() + else if (marginTop_buf__selector == 2) { + marginTop_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for marginTop_buf_ has to be chosen through deserialisation.") } - strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) + marginTop_buf = (marginTop_buf_ as string | number | Resource) } - const strokeWidth_result : Length | undefined = strokeWidth_buf - const shadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let shadow_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (shadow_buf_runtimeType)) + const marginTop_result : Length | undefined = marginTop_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - shadow_buf = valueDeserializer.readBoolean() + const color_buf__selector : int32 = valueDeserializer.readInt8() + let color_buf_ : Color | number | string | Resource | undefined + if (color_buf__selector == 0) { + color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as Color | number | string | Resource) } - const shadow_result : boolean | undefined = shadow_buf - const status_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let status_buf : ProgressStatus | undefined - if ((RuntimeType.UNDEFINED) != (status_buf_runtimeType)) + const color_result : ResourceColor | undefined = color_buf + const selectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let selectedColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (selectedColor_buf_runtimeType)) { - status_buf = TypeChecker.ProgressStatus_FromNumeric(valueDeserializer.readInt32()) + const selectedColor_buf__selector : int32 = valueDeserializer.readInt8() + let selectedColor_buf_ : Color | number | string | Resource | undefined + if (selectedColor_buf__selector == 0) { + selectedColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (selectedColor_buf__selector == 1) { + selectedColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (selectedColor_buf__selector == 2) { + selectedColor_buf_ = (valueDeserializer.readString() as string) + } + else if (selectedColor_buf__selector == 3) { + selectedColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for selectedColor_buf_ has to be chosen through deserialisation.") + } + selectedColor_buf = (selectedColor_buf_ as Color | number | string | Resource) } - const status_result : ProgressStatus | undefined = status_buf - let value : RingStyleOptions = ({enableScanEffect: enableScanEffect_result, strokeWidth: strokeWidth_result, shadow: shadow_result, status: status_result} as RingStyleOptions) - return value - } - readSceneOptions(): SceneOptions { - let valueDeserializer : Deserializer = this - const scene_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scene_buf : ResourceStr | Scene | undefined - if ((RuntimeType.UNDEFINED) != (scene_buf_runtimeType)) + const selectedColor_result : ResourceColor | undefined = selectedColor_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { - const scene_buf__selector : int32 = valueDeserializer.readInt8() - let scene_buf_ : ResourceStr | Scene | undefined - if (scene_buf__selector == 0) { - const scene_buf__u_selector : int32 = valueDeserializer.readInt8() - let scene_buf__u : string | Resource | undefined - if (scene_buf__u_selector == 0) { - scene_buf__u = (valueDeserializer.readString() as string) - } - else if (scene_buf__u_selector == 1) { - scene_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for scene_buf__u has to be chosen through deserialisation.") - } - scene_buf_ = (scene_buf__u as string | Resource) + const left_buf__selector : int32 = valueDeserializer.readInt8() + let left_buf_ : string | number | Resource | undefined + if (left_buf__selector == 0) { + left_buf_ = (valueDeserializer.readString() as string) } - else if (scene_buf__selector == 1) { - scene_buf_ = (valueDeserializer.readScene() as Scene) + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readNumber() as number) + } + else if (left_buf__selector == 2) { + left_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for scene_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") } - scene_buf = (scene_buf_ as ResourceStr | Scene) - } - const scene_result : ResourceStr | Scene | undefined = scene_buf - const modelType_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let modelType_buf : ModelType | undefined - if ((RuntimeType.UNDEFINED) != (modelType_buf_runtimeType)) - { - modelType_buf = TypeChecker.ModelType_FromNumeric(valueDeserializer.readInt32()) + left_buf = (left_buf_ as string | number | Resource) } - const modelType_result : ModelType | undefined = modelType_buf - let value : SceneOptions = ({scene: scene_result, modelType: modelType_result} as SceneOptions) - return value - } - readScrollableBarModeOptions(): ScrollableBarModeOptions { - let valueDeserializer : Deserializer = this - const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) + const left_result : Length | undefined = left_buf + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - const margin_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf_ : string | number | Resource | undefined - if (margin_buf__selector == 0) { - margin_buf_ = (valueDeserializer.readString() as string) + const top_buf__selector : int32 = valueDeserializer.readInt8() + let top_buf_ : string | number | Resource | undefined + if (top_buf__selector == 0) { + top_buf_ = (valueDeserializer.readString() as string) } - else if (margin_buf__selector == 1) { - margin_buf_ = (valueDeserializer.readNumber() as number) + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) } - else if (margin_buf__selector == 2) { - margin_buf_ = valueDeserializer.readResource() + else if (top_buf__selector == 2) { + top_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") } - margin_buf = (margin_buf_ as string | number | Resource) - } - const margin_result : Dimension | undefined = margin_buf - const nonScrollableLayoutStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let nonScrollableLayoutStyle_buf : LayoutStyle | undefined - if ((RuntimeType.UNDEFINED) != (nonScrollableLayoutStyle_buf_runtimeType)) - { - nonScrollableLayoutStyle_buf = TypeChecker.LayoutStyle_FromNumeric(valueDeserializer.readInt32()) - } - const nonScrollableLayoutStyle_result : LayoutStyle | undefined = nonScrollableLayoutStyle_buf - let value : ScrollableBarModeOptions = ({margin: margin_result, nonScrollableLayoutStyle: nonScrollableLayoutStyle_result} as ScrollableBarModeOptions) - return value - } - readScrollOptions(): ScrollOptions { - let valueDeserializer : Deserializer = this - const xOffset_buf_selector : int32 = valueDeserializer.readInt8() - let xOffset_buf : number | string | undefined - if (xOffset_buf_selector == 0) { - xOffset_buf = (valueDeserializer.readNumber() as number) - } - else if (xOffset_buf_selector == 1) { - xOffset_buf = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for xOffset_buf has to be chosen through deserialisation.") - } - const xOffset_result : number | string = (xOffset_buf as number | string) - const yOffset_buf_selector : int32 = valueDeserializer.readInt8() - let yOffset_buf : number | string | undefined - if (yOffset_buf_selector == 0) { - yOffset_buf = (valueDeserializer.readNumber() as number) - } - else if (yOffset_buf_selector == 1) { - yOffset_buf = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for yOffset_buf has to be chosen through deserialisation.") + top_buf = (top_buf_ as string | number | Resource) } - const yOffset_result : number | string = (yOffset_buf as number | string) - const animation_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let animation_buf : ScrollAnimationOptions | boolean | undefined - if ((RuntimeType.UNDEFINED) != (animation_buf_runtimeType)) + const top_result : Length | undefined = top_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) { - const animation_buf__selector : int32 = valueDeserializer.readInt8() - let animation_buf_ : ScrollAnimationOptions | boolean | undefined - if (animation_buf__selector == 0) { - animation_buf_ = valueDeserializer.readScrollAnimationOptions() + const right_buf__selector : int32 = valueDeserializer.readInt8() + let right_buf_ : string | number | Resource | undefined + if (right_buf__selector == 0) { + right_buf_ = (valueDeserializer.readString() as string) } - else if (animation_buf__selector == 1) { - animation_buf_ = valueDeserializer.readBoolean() + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) + } + else if (right_buf__selector == 2) { + right_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for animation_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") } - animation_buf = (animation_buf_ as ScrollAnimationOptions | boolean) - } - const animation_result : ScrollAnimationOptions | boolean | undefined = animation_buf - let value : ScrollOptions = ({xOffset: xOffset_result, yOffset: yOffset_result, animation: animation_result} as ScrollOptions) - return value - } - readScrollToIndexOptions(): ScrollToIndexOptions { - let valueDeserializer : Deserializer = this - const extraOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let extraOffset_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (extraOffset_buf_runtimeType)) - { - extraOffset_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + right_buf = (right_buf_ as string | number | Resource) } - const extraOffset_result : LengthMetrics | undefined = extraOffset_buf - let value : ScrollToIndexOptions = ({extraOffset: extraOffset_result} as ScrollToIndexOptions) - return value - } - readSearchButtonOptions(): SearchButtonOptions { - let valueDeserializer : Deserializer = this - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + const right_result : Length | undefined = right_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - const fontSize_buf__selector : int32 = valueDeserializer.readInt8() - let fontSize_buf_ : string | number | Resource | undefined - if (fontSize_buf__selector == 0) { - fontSize_buf_ = (valueDeserializer.readString() as string) + const bottom_buf__selector : int32 = valueDeserializer.readInt8() + let bottom_buf_ : string | number | Resource | undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = (valueDeserializer.readString() as string) } - else if (fontSize_buf__selector == 1) { - fontSize_buf_ = (valueDeserializer.readNumber() as number) + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontSize_buf__selector == 2) { - fontSize_buf_ = valueDeserializer.readResource() + else if (bottom_buf__selector == 2) { + bottom_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") } - fontSize_buf = (fontSize_buf_ as string | number | Resource) + bottom_buf = (bottom_buf_ as string | number | Resource) } - const fontSize_result : Length | undefined = fontSize_buf - const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) + const bottom_result : Length | undefined = bottom_buf + const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let size_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) { - const fontColor_buf__selector : int32 = valueDeserializer.readInt8() - let fontColor_buf_ : Color | number | string | Resource | undefined - if (fontColor_buf__selector == 0) { - fontColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (fontColor_buf__selector == 1) { - fontColor_buf_ = (valueDeserializer.readNumber() as number) + const size_buf__selector : int32 = valueDeserializer.readInt8() + let size_buf_ : string | number | Resource | undefined + if (size_buf__selector == 0) { + size_buf_ = (valueDeserializer.readString() as string) } - else if (fontColor_buf__selector == 2) { - fontColor_buf_ = (valueDeserializer.readString() as string) + else if (size_buf__selector == 1) { + size_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontColor_buf__selector == 3) { - fontColor_buf_ = valueDeserializer.readResource() + else if (size_buf__selector == 2) { + size_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") } - fontColor_buf = (fontColor_buf_ as Color | number | string | Resource) + size_buf = (size_buf_ as string | number | Resource) } - const fontColor_result : ResourceColor | undefined = fontColor_buf - const autoDisable_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let autoDisable_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (autoDisable_buf_runtimeType)) + const size_result : Length | undefined = size_buf + const mask_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mask_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (mask_buf_runtimeType)) { - autoDisable_buf = valueDeserializer.readBoolean() + mask_buf = valueDeserializer.readBoolean() } - const autoDisable_result : boolean | undefined = autoDisable_buf - let value : SearchButtonOptions = ({fontSize: fontSize_result, fontColor: fontColor_result, autoDisable: autoDisable_result} as SearchButtonOptions) + const mask_result : boolean | undefined = mask_buf + let value : IndicatorStyle = ({height: height_result, width: width_result, borderRadius: borderRadius_result, marginTop: marginTop_result, color: color_result, selectedColor: selectedColor_result, left: left_result, top: top_result, right: right_result, bottom: bottom_result, size: size_result, mask: mask_result} as IndicatorStyle) return value } - readSearchOptions(): SearchOptions { + public readLeadingMarginPlaceholder(): LeadingMarginPlaceholder { let valueDeserializer : Deserializer = this - const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let value_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) - { - value_buf = (valueDeserializer.readString() as string) + const pixelMap_result : PixelMap = (valueDeserializer.readPixelMap() as PixelMap) + const size_buf_value0_buf_selector : int32 = valueDeserializer.readInt8() + let size_buf_value0_buf : string | number | Resource | undefined + if (size_buf_value0_buf_selector == 0) { + size_buf_value0_buf = (valueDeserializer.readString() as string) } - const value_result : string | undefined = value_buf - const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let placeholder_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (placeholder_buf_runtimeType)) - { - const placeholder_buf__selector : int32 = valueDeserializer.readInt8() - let placeholder_buf_ : string | Resource | undefined - if (placeholder_buf__selector == 0) { - placeholder_buf_ = (valueDeserializer.readString() as string) - } - else if (placeholder_buf__selector == 1) { - placeholder_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for placeholder_buf_ has to be chosen through deserialisation.") - } - placeholder_buf = (placeholder_buf_ as string | Resource) + else if (size_buf_value0_buf_selector == 1) { + size_buf_value0_buf = (valueDeserializer.readNumber() as number) } - const placeholder_result : ResourceStr | undefined = placeholder_buf - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) - { - icon_buf = (valueDeserializer.readString() as string) + else if (size_buf_value0_buf_selector == 2) { + size_buf_value0_buf = valueDeserializer.readResource() } - const icon_result : string | undefined = icon_buf - const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let controller_buf : SearchController | undefined - if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) - { - controller_buf = (valueDeserializer.readSearchController() as SearchController) + else { + throw new Error("One of the branches for size_buf_value0_buf has to be chosen through deserialisation.") + } + const size_buf_value0 : Dimension = (size_buf_value0_buf as string | number | Resource) + const size_buf_value1_buf_selector : int32 = valueDeserializer.readInt8() + let size_buf_value1_buf : string | number | Resource | undefined + if (size_buf_value1_buf_selector == 0) { + size_buf_value1_buf = (valueDeserializer.readString() as string) + } + else if (size_buf_value1_buf_selector == 1) { + size_buf_value1_buf = (valueDeserializer.readNumber() as number) } - const controller_result : SearchController | undefined = controller_buf - let value : SearchOptions = ({value: value_result, placeholder: placeholder_result, icon: icon_result, controller: controller_result} as SearchOptions) + else if (size_buf_value1_buf_selector == 2) { + size_buf_value1_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for size_buf_value1_buf has to be chosen through deserialisation.") + } + const size_buf_value1 : Dimension = (size_buf_value1_buf as string | number | Resource) + const size_result : [ Dimension, Dimension ] = ([size_buf_value0, size_buf_value1] as [ Dimension, Dimension ]) + let value : LeadingMarginPlaceholder = ({pixelMap: pixelMap_result, size: size_result} as LeadingMarginPlaceholder) return value } - readSelectOption(): SelectOption { + public readLinearStyleOptions(): LinearStyleOptions { let valueDeserializer : Deserializer = this - const value_buf_selector : int32 = valueDeserializer.readInt8() - let value_buf : string | Resource | undefined - if (value_buf_selector == 0) { - value_buf = (valueDeserializer.readString() as string) - } - else if (value_buf_selector == 1) { - value_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + const enableScanEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableScanEffect_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableScanEffect_buf_runtimeType)) + { + enableScanEffect_buf = valueDeserializer.readBoolean() } - const value_result : ResourceStr = (value_buf as string | Resource) - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + const enableScanEffect_result : boolean | undefined = enableScanEffect_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) { - const icon_buf__selector : int32 = valueDeserializer.readInt8() - let icon_buf_ : string | Resource | undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + const strokeWidth_buf__selector : int32 = valueDeserializer.readInt8() + let strokeWidth_buf_ : string | number | Resource | undefined + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_ = (valueDeserializer.readString() as string) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) + strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) } - const icon_result : ResourceStr | undefined = icon_buf - const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolIcon_buf : SymbolGlyphModifier | undefined - if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) + const strokeWidth_result : Length | undefined = strokeWidth_buf + const strokeRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeRadius_buf : string | number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (strokeRadius_buf_runtimeType)) { - symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() + const strokeRadius_buf__selector : int32 = valueDeserializer.readInt8() + let strokeRadius_buf_ : string | number | Resource | undefined + if (strokeRadius_buf__selector == 0) { + strokeRadius_buf_ = (valueDeserializer.readString() as string) + } + else if (strokeRadius_buf__selector == 1) { + strokeRadius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (strokeRadius_buf__selector == 2) { + strokeRadius_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for strokeRadius_buf_ has to be chosen through deserialisation.") + } + strokeRadius_buf = (strokeRadius_buf_ as string | number | Resource) } - const symbolIcon_result : SymbolGlyphModifier | undefined = symbolIcon_buf - let value : SelectOption = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result} as SelectOption) + const strokeRadius_result : PX | VP | LPX | Resource | undefined = strokeRadius_buf + let value : LinearStyleOptions = ({enableScanEffect: enableScanEffect_result, strokeWidth: strokeWidth_result, strokeRadius: strokeRadius_result} as LinearStyleOptions) return value } - readShadowOptions(): ShadowOptions { + public readListDividerOptions(): ListDividerOptions { let valueDeserializer : Deserializer = this - const radius_buf_selector : int32 = valueDeserializer.readInt8() - let radius_buf : number | Resource | undefined - if (radius_buf_selector == 0) { - radius_buf = (valueDeserializer.readNumber() as number) + const strokeWidth_buf_selector : int32 = valueDeserializer.readInt8() + let strokeWidth_buf : string | number | Resource | undefined + if (strokeWidth_buf_selector == 0) { + strokeWidth_buf = (valueDeserializer.readString() as string) } - else if (radius_buf_selector == 1) { - radius_buf = valueDeserializer.readResource() + else if (strokeWidth_buf_selector == 1) { + strokeWidth_buf = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for radius_buf has to be chosen through deserialisation.") + else if (strokeWidth_buf_selector == 2) { + strokeWidth_buf = valueDeserializer.readResource() } - const radius_result : number | Resource = (radius_buf as number | Resource) - const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let type_buf : ShadowType | undefined - if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) - { - type_buf = TypeChecker.ShadowType_FromNumeric(valueDeserializer.readInt32()) + else { + throw new Error("One of the branches for strokeWidth_buf has to be chosen through deserialisation.") } - const type_result : ShadowType | undefined = type_buf + const strokeWidth_result : Length = (strokeWidth_buf as string | number | Resource) const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : Color | string | Resource | ColoringStrategy | undefined + let color_buf : ResourceColor | undefined if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { const color_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf_ : Color | string | Resource | ColoringStrategy | undefined + let color_buf_ : Color | number | string | Resource | undefined if (color_buf__selector == 0) { color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readString() as string) + color_buf_ = (valueDeserializer.readNumber() as number) } else if (color_buf__selector == 2) { - color_buf_ = valueDeserializer.readResource() + color_buf_ = (valueDeserializer.readString() as string) } else if (color_buf__selector == 3) { - color_buf_ = TypeChecker.ColoringStrategy_FromNumeric(valueDeserializer.readInt32()) + color_buf_ = valueDeserializer.readResource() } else { throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | string | Resource | ColoringStrategy) + color_buf = (color_buf_ as Color | number | string | Resource) } - const color_result : Color | string | Resource | ColoringStrategy | undefined = color_buf - const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offsetX_buf : number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (offsetX_buf_runtimeType)) + const color_result : ResourceColor | undefined = color_buf + const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startMargin_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) { - const offsetX_buf__selector : int32 = valueDeserializer.readInt8() - let offsetX_buf_ : number | Resource | undefined - if (offsetX_buf__selector == 0) { - offsetX_buf_ = (valueDeserializer.readNumber() as number) + const startMargin_buf__selector : int32 = valueDeserializer.readInt8() + let startMargin_buf_ : string | number | Resource | undefined + if (startMargin_buf__selector == 0) { + startMargin_buf_ = (valueDeserializer.readString() as string) } - else if (offsetX_buf__selector == 1) { - offsetX_buf_ = valueDeserializer.readResource() + else if (startMargin_buf__selector == 1) { + startMargin_buf_ = (valueDeserializer.readNumber() as number) + } + else if (startMargin_buf__selector == 2) { + startMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offsetX_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") } - offsetX_buf = (offsetX_buf_ as number | Resource) + startMargin_buf = (startMargin_buf_ as string | number | Resource) } - const offsetX_result : number | Resource | undefined = offsetX_buf - const offsetY_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offsetY_buf : number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (offsetY_buf_runtimeType)) + const startMargin_result : Length | undefined = startMargin_buf + const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let endMargin_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) { - const offsetY_buf__selector : int32 = valueDeserializer.readInt8() - let offsetY_buf_ : number | Resource | undefined - if (offsetY_buf__selector == 0) { - offsetY_buf_ = (valueDeserializer.readNumber() as number) + const endMargin_buf__selector : int32 = valueDeserializer.readInt8() + let endMargin_buf_ : string | number | Resource | undefined + if (endMargin_buf__selector == 0) { + endMargin_buf_ = (valueDeserializer.readString() as string) } - else if (offsetY_buf__selector == 1) { - offsetY_buf_ = valueDeserializer.readResource() + else if (endMargin_buf__selector == 1) { + endMargin_buf_ = (valueDeserializer.readNumber() as number) + } + else if (endMargin_buf__selector == 2) { + endMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offsetY_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") } - offsetY_buf = (offsetY_buf_ as number | Resource) - } - const offsetY_result : number | Resource | undefined = offsetY_buf - const fill_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fill_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (fill_buf_runtimeType)) - { - fill_buf = valueDeserializer.readBoolean() + endMargin_buf = (endMargin_buf_ as string | number | Resource) } - const fill_result : boolean | undefined = fill_buf - let value : ShadowOptions = ({radius: radius_result, type: type_result, color: color_result, offsetX: offsetX_result, offsetY: offsetY_result, fill: fill_result} as ShadowOptions) + const endMargin_result : Length | undefined = endMargin_buf + let value : ListDividerOptions = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as ListDividerOptions) return value } - readsharedTransitionOptions(): sharedTransitionOptions { + public readMarkStyle(): MarkStyle { let valueDeserializer : Deserializer = this - const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let duration_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) { - duration_buf = (valueDeserializer.readNumber() as number) + const strokeColor_buf__selector : int32 = valueDeserializer.readInt8() + let strokeColor_buf_ : Color | number | string | Resource | undefined + if (strokeColor_buf__selector == 0) { + strokeColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (strokeColor_buf__selector == 1) { + strokeColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (strokeColor_buf__selector == 2) { + strokeColor_buf_ = (valueDeserializer.readString() as string) + } + else if (strokeColor_buf__selector == 3) { + strokeColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for strokeColor_buf_ has to be chosen through deserialisation.") + } + strokeColor_buf = (strokeColor_buf_ as Color | number | string | Resource) } - const duration_result : number | undefined = duration_buf - const curve_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let curve_buf : Curve | string | ICurve | undefined - if ((RuntimeType.UNDEFINED) != (curve_buf_runtimeType)) + const strokeColor_result : ResourceColor | undefined = strokeColor_buf + const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let size_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) { - const curve_buf__selector : int32 = valueDeserializer.readInt8() - let curve_buf_ : Curve | string | ICurve | undefined - if (curve_buf__selector == 0) { - curve_buf_ = TypeChecker.Curve_FromNumeric(valueDeserializer.readInt32()) + const size_buf__selector : int32 = valueDeserializer.readInt8() + let size_buf_ : string | number | Resource | undefined + if (size_buf__selector == 0) { + size_buf_ = (valueDeserializer.readString() as string) } - else if (curve_buf__selector == 1) { - curve_buf_ = (valueDeserializer.readString() as string) + else if (size_buf__selector == 1) { + size_buf_ = (valueDeserializer.readNumber() as number) } - else if (curve_buf__selector == 2) { - curve_buf_ = (valueDeserializer.readICurve() as ICurve) + else if (size_buf__selector == 2) { + size_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for curve_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") } - curve_buf = (curve_buf_ as Curve | string | ICurve) + size_buf = (size_buf_ as string | number | Resource) } - const curve_result : Curve | string | ICurve | undefined = curve_buf - const delay_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let delay_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (delay_buf_runtimeType)) + const size_result : Length | undefined = size_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) { - delay_buf = (valueDeserializer.readNumber() as number) + const strokeWidth_buf__selector : int32 = valueDeserializer.readInt8() + let strokeWidth_buf_ : string | number | Resource | undefined + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_ = (valueDeserializer.readString() as string) + } + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") + } + strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) } - const delay_result : number | undefined = delay_buf - const motionPath_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let motionPath_buf : MotionPathOptions | undefined - if ((RuntimeType.UNDEFINED) != (motionPath_buf_runtimeType)) + const strokeWidth_result : Length | undefined = strokeWidth_buf + let value : MarkStyle = ({strokeColor: strokeColor_result, size: size_result, strokeWidth: strokeWidth_result} as MarkStyle) + return value + } + public readMoreButtonOptions(): MoreButtonOptions { + let valueDeserializer : Deserializer = this + const backgroundBlurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyle_buf : BlurStyle | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) { - motionPath_buf = valueDeserializer.readMotionPathOptions() + backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } - const motionPath_result : MotionPathOptions | undefined = motionPath_buf - const zIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let zIndex_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (zIndex_buf_runtimeType)) + const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) { - zIndex_buf = (valueDeserializer.readNumber() as number) + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() } - const zIndex_result : number | undefined = zIndex_buf - const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let type_buf : SharedTransitionEffectType | undefined - if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) { - type_buf = TypeChecker.SharedTransitionEffectType_FromNumeric(valueDeserializer.readInt32()) + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() } - const type_result : SharedTransitionEffectType | undefined = type_buf - let value : sharedTransitionOptions = ({duration: duration_result, curve: curve_result, delay: delay_result, motionPath: motionPath_result, zIndex: zIndex_result, type: type_result} as sharedTransitionOptions) + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf + let value : MoreButtonOptions = ({backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result} as MoreButtonOptions) return value } - readSheetInfo(): SheetInfo { + public readNavDestinationCustomTitle(): NavDestinationCustomTitle { let valueDeserializer : Deserializer = this - const title_buf_selector : int32 = valueDeserializer.readInt8() - let title_buf : string | Resource | undefined - if (title_buf_selector == 0) { - title_buf = (valueDeserializer.readString() as string) - } - else if (title_buf_selector == 1) { - title_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for title_buf has to be chosen through deserialisation.") + const builder_result : CustomBuilder = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + const height_buf_selector : int32 = valueDeserializer.readInt8() + let height_buf : TitleHeight | Length | undefined + if (height_buf_selector == 0) { + height_buf = TypeChecker.TitleHeight_FromNumeric(valueDeserializer.readInt32()) } - const title_result : string | Resource = (title_buf as string | Resource) - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf : string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) - { - const icon_buf__selector : int32 = valueDeserializer.readInt8() - let icon_buf_ : string | Resource | undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + else if (height_buf_selector == 1) { + const height_buf_u_selector : int32 = valueDeserializer.readInt8() + let height_buf_u : string | number | Resource | undefined + if (height_buf_u_selector == 0) { + height_buf_u = (valueDeserializer.readString() as string) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (height_buf_u_selector == 1) { + height_buf_u = (valueDeserializer.readNumber() as number) + } + else if (height_buf_u_selector == 2) { + height_buf_u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for height_buf_u has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) + height_buf = (height_buf_u as string | number | Resource) } - const icon_result : string | Resource | undefined = icon_buf - const action_result : VoidCallback = valueDeserializer.readVoidCallback() - let value : SheetInfo = ({title: title_result, icon: icon_result, action: action_result} as SheetInfo) + else { + throw new Error("One of the branches for height_buf has to be chosen through deserialisation.") + } + const height_result : TitleHeight | Length = (height_buf as TitleHeight | Length) + let value : NavDestinationCustomTitle = ({builder: builder_result, height: height_result} as NavDestinationCustomTitle) return value } - readSheetTitleOptions(): SheetTitleOptions { + public readNavigationCustomTitle(): NavigationCustomTitle { let valueDeserializer : Deserializer = this - const title_buf_selector : int32 = valueDeserializer.readInt8() - let title_buf : string | Resource | undefined - if (title_buf_selector == 0) { - title_buf = (valueDeserializer.readString() as string) - } - else if (title_buf_selector == 1) { - title_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for title_buf has to be chosen through deserialisation.") + const builder_result : CustomBuilder = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + const height_buf_selector : int32 = valueDeserializer.readInt8() + let height_buf : TitleHeight | Length | undefined + if (height_buf_selector == 0) { + height_buf = TypeChecker.TitleHeight_FromNumeric(valueDeserializer.readInt32()) } - const title_result : ResourceStr = (title_buf as string | Resource) - const subtitle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let subtitle_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (subtitle_buf_runtimeType)) - { - const subtitle_buf__selector : int32 = valueDeserializer.readInt8() - let subtitle_buf_ : string | Resource | undefined - if (subtitle_buf__selector == 0) { - subtitle_buf_ = (valueDeserializer.readString() as string) + else if (height_buf_selector == 1) { + const height_buf_u_selector : int32 = valueDeserializer.readInt8() + let height_buf_u : string | number | Resource | undefined + if (height_buf_u_selector == 0) { + height_buf_u = (valueDeserializer.readString() as string) } - else if (subtitle_buf__selector == 1) { - subtitle_buf_ = valueDeserializer.readResource() + else if (height_buf_u_selector == 1) { + height_buf_u = (valueDeserializer.readNumber() as number) + } + else if (height_buf_u_selector == 2) { + height_buf_u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for subtitle_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for height_buf_u has to be chosen through deserialisation.") } - subtitle_buf = (subtitle_buf_ as string | Resource) + height_buf = (height_buf_u as string | number | Resource) } - const subtitle_result : ResourceStr | undefined = subtitle_buf - let value : SheetTitleOptions = ({title: title_result, subtitle: subtitle_result} as SheetTitleOptions) + else { + throw new Error("One of the branches for height_buf has to be chosen through deserialisation.") + } + const height_result : TitleHeight | Length = (height_buf as TitleHeight | Length) + let value : NavigationCustomTitle = ({builder: builder_result, height: height_result} as NavigationCustomTitle) return value } - readSizeOptions(): SizeOptions { + public readNavigationTitleOptions(): NavigationTitleOptions { let valueDeserializer : Deserializer = this - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) { - const width_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf_ : string | number | Resource | undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readString() as string) + const backgroundColor_buf__selector : int32 = valueDeserializer.readInt8() + let backgroundColor_buf_ : Color | number | string | Resource | undefined + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (width_buf__selector == 2) { - width_buf_ = valueDeserializer.readResource() + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_ = (valueDeserializer.readString() as string) + } + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") } - width_buf = (width_buf_ as string | number | Resource) + backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) } - const width_result : Length | undefined = width_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + const backgroundColor_result : ResourceColor | undefined = backgroundColor_buf + const backgroundBlurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyle_buf : BlurStyle | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) { - const height_buf__selector : int32 = valueDeserializer.readInt8() - let height_buf_ : string | number | Resource | undefined - if (height_buf__selector == 0) { - height_buf_ = (valueDeserializer.readString() as string) - } - else if (height_buf__selector == 1) { - height_buf_ = (valueDeserializer.readNumber() as number) - } - else if (height_buf__selector == 2) { - height_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") - } - height_buf = (height_buf_ as string | number | Resource) + backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } - const height_result : Length | undefined = height_buf - let value : SizeOptions = ({width: width_result, height: height_result} as SizeOptions) - return value - } - readSliderBlockStyle(): SliderBlockStyle { - let valueDeserializer : Deserializer = this - const type_result : SliderBlockType = TypeChecker.SliderBlockType_FromNumeric(valueDeserializer.readInt32()) - const image_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let image_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (image_buf_runtimeType)) + const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) { - const image_buf__selector : int32 = valueDeserializer.readInt8() - let image_buf_ : string | Resource | undefined - if (image_buf__selector == 0) { - image_buf_ = (valueDeserializer.readString() as string) - } - else if (image_buf__selector == 1) { - image_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for image_buf_ has to be chosen through deserialisation.") - } - image_buf = (image_buf_ as string | Resource) + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() } - const image_result : ResourceStr | undefined = image_buf - const shape_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let shape_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (shape_buf_runtimeType)) + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) { - shape_buf = (valueDeserializer.readString() as string) + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() } - const shape_result : string | undefined = shape_buf - let value : SliderBlockStyle = ({type: type_result, image: image_result, shape: shape_result} as SliderBlockStyle) - return value - } - readStyledStringChangeValue(): StyledStringChangeValue { - let valueDeserializer : Deserializer = this - const range_result : TextRange = valueDeserializer.readTextRange() - const replacementString_result : StyledString = (valueDeserializer.readStyledString() as StyledString) - const previewText_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let previewText_buf : StyledString | undefined - if ((RuntimeType.UNDEFINED) != (previewText_buf_runtimeType)) + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf + const barStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let barStyle_buf : BarStyle | undefined + if ((RuntimeType.UNDEFINED) != (barStyle_buf_runtimeType)) + { + barStyle_buf = TypeChecker.BarStyle_FromNumeric(valueDeserializer.readInt32()) + } + const barStyle_result : BarStyle | undefined = barStyle_buf + const paddingStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let paddingStart_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (paddingStart_buf_runtimeType)) + { + paddingStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const paddingStart_result : LengthMetrics | undefined = paddingStart_buf + const paddingEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let paddingEnd_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (paddingEnd_buf_runtimeType)) + { + paddingEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const paddingEnd_result : LengthMetrics | undefined = paddingEnd_buf + const mainTitleModifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mainTitleModifier_buf : TextModifier | undefined + if ((RuntimeType.UNDEFINED) != (mainTitleModifier_buf_runtimeType)) + { + mainTitleModifier_buf = valueDeserializer.readTextModifier() + } + const mainTitleModifier_result : TextModifier | undefined = mainTitleModifier_buf + const subTitleModifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let subTitleModifier_buf : TextModifier | undefined + if ((RuntimeType.UNDEFINED) != (subTitleModifier_buf_runtimeType)) + { + subTitleModifier_buf = valueDeserializer.readTextModifier() + } + const subTitleModifier_result : TextModifier | undefined = subTitleModifier_buf + const enableHoverMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableHoverMode_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableHoverMode_buf_runtimeType)) { - previewText_buf = (valueDeserializer.readStyledString() as StyledString) + enableHoverMode_buf = valueDeserializer.readBoolean() } - const previewText_result : StyledString | undefined = previewText_buf - let value : StyledStringChangeValue = ({range: range_result, replacementString: replacementString_result, previewText: previewText_result} as StyledStringChangeValue) + const enableHoverMode_result : boolean | undefined = enableHoverMode_buf + let value : NavigationTitleOptions = ({backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, barStyle: barStyle_result, paddingStart: paddingStart_result, paddingEnd: paddingEnd_result, mainTitleModifier: mainTitleModifier_result, subTitleModifier: subTitleModifier_result, enableHoverMode: enableHoverMode_result} as NavigationTitleOptions) return value } - readSwipeActionItem(): SwipeActionItem { + public readOffsetOptions(): OffsetOptions { let valueDeserializer : Deserializer = this - const builder_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let builder_buf : CustomBuilder | undefined - if ((RuntimeType.UNDEFINED) != (builder_buf_runtimeType)) - { - builder_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) - } - const builder_result : CustomBuilder | undefined = builder_buf - const actionAreaDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let actionAreaDistance_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (actionAreaDistance_buf_runtimeType)) + const xOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let xOffset_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (xOffset_buf_runtimeType)) { - const actionAreaDistance_buf__selector : int32 = valueDeserializer.readInt8() - let actionAreaDistance_buf_ : string | number | Resource | undefined - if (actionAreaDistance_buf__selector == 0) { - actionAreaDistance_buf_ = (valueDeserializer.readString() as string) + const xOffset_buf__selector : int32 = valueDeserializer.readInt8() + let xOffset_buf_ : string | number | Resource | undefined + if (xOffset_buf__selector == 0) { + xOffset_buf_ = (valueDeserializer.readString() as string) } - else if (actionAreaDistance_buf__selector == 1) { - actionAreaDistance_buf_ = (valueDeserializer.readNumber() as number) + else if (xOffset_buf__selector == 1) { + xOffset_buf_ = (valueDeserializer.readNumber() as number) } - else if (actionAreaDistance_buf__selector == 2) { - actionAreaDistance_buf_ = valueDeserializer.readResource() + else if (xOffset_buf__selector == 2) { + xOffset_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for actionAreaDistance_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for xOffset_buf_ has to be chosen through deserialisation.") } - actionAreaDistance_buf = (actionAreaDistance_buf_ as string | number | Resource) - } - const actionAreaDistance_result : Length | undefined = actionAreaDistance_buf - const onAction_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onAction_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (onAction_buf_runtimeType)) - { - onAction_buf = valueDeserializer.readCallback_Void() - } - const onAction_result : (() => void) | undefined = onAction_buf - const onEnterActionArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onEnterActionArea_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (onEnterActionArea_buf_runtimeType)) - { - onEnterActionArea_buf = valueDeserializer.readCallback_Void() - } - const onEnterActionArea_result : (() => void) | undefined = onEnterActionArea_buf - const onExitActionArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onExitActionArea_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (onExitActionArea_buf_runtimeType)) - { - onExitActionArea_buf = valueDeserializer.readCallback_Void() + xOffset_buf = (xOffset_buf_ as string | number | Resource) } - const onExitActionArea_result : (() => void) | undefined = onExitActionArea_buf - const onStateChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onStateChange_buf : ((state: SwipeActionState) => void) | undefined - if ((RuntimeType.UNDEFINED) != (onStateChange_buf_runtimeType)) + const xOffset_result : Dimension | undefined = xOffset_buf + const yOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let yOffset_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (yOffset_buf_runtimeType)) { - onStateChange_buf = valueDeserializer.readCallback_SwipeActionState_Void() + const yOffset_buf__selector : int32 = valueDeserializer.readInt8() + let yOffset_buf_ : string | number | Resource | undefined + if (yOffset_buf__selector == 0) { + yOffset_buf_ = (valueDeserializer.readString() as string) + } + else if (yOffset_buf__selector == 1) { + yOffset_buf_ = (valueDeserializer.readNumber() as number) + } + else if (yOffset_buf__selector == 2) { + yOffset_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for yOffset_buf_ has to be chosen through deserialisation.") + } + yOffset_buf = (yOffset_buf_ as string | number | Resource) } - const onStateChange_result : ((state: SwipeActionState) => void) | undefined = onStateChange_buf - let value : SwipeActionItem = ({builder: builder_result, actionAreaDistance: actionAreaDistance_result, onAction: onAction_result, onEnterActionArea: onEnterActionArea_result, onExitActionArea: onExitActionArea_result, onStateChange: onStateChange_result} as SwipeActionItem) + const yOffset_result : Dimension | undefined = yOffset_buf + let value : OffsetOptions = ({xOffset: xOffset_result, yOffset: yOffset_result} as OffsetOptions) return value } - readSwitchStyle(): SwitchStyle { + public readOutlineRadiuses(): OutlineRadiuses { let valueDeserializer : Deserializer = this - const pointRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let pointRadius_buf : number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (pointRadius_buf_runtimeType)) + const topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let topLeft_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (topLeft_buf_runtimeType)) { - const pointRadius_buf__selector : int32 = valueDeserializer.readInt8() - let pointRadius_buf_ : number | Resource | undefined - if (pointRadius_buf__selector == 0) { - pointRadius_buf_ = (valueDeserializer.readNumber() as number) + const topLeft_buf__selector : int32 = valueDeserializer.readInt8() + let topLeft_buf_ : string | number | Resource | undefined + if (topLeft_buf__selector == 0) { + topLeft_buf_ = (valueDeserializer.readString() as string) } - else if (pointRadius_buf__selector == 1) { - pointRadius_buf_ = valueDeserializer.readResource() + else if (topLeft_buf__selector == 1) { + topLeft_buf_ = (valueDeserializer.readNumber() as number) + } + else if (topLeft_buf__selector == 2) { + topLeft_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for pointRadius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for topLeft_buf_ has to be chosen through deserialisation.") } - pointRadius_buf = (pointRadius_buf_ as number | Resource) + topLeft_buf = (topLeft_buf_ as string | number | Resource) } - const pointRadius_result : number | Resource | undefined = pointRadius_buf - const unselectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let unselectedColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (unselectedColor_buf_runtimeType)) + const topLeft_result : Dimension | undefined = topLeft_buf + const topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let topRight_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (topRight_buf_runtimeType)) { - const unselectedColor_buf__selector : int32 = valueDeserializer.readInt8() - let unselectedColor_buf_ : Color | number | string | Resource | undefined - if (unselectedColor_buf__selector == 0) { - unselectedColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (unselectedColor_buf__selector == 1) { - unselectedColor_buf_ = (valueDeserializer.readNumber() as number) + const topRight_buf__selector : int32 = valueDeserializer.readInt8() + let topRight_buf_ : string | number | Resource | undefined + if (topRight_buf__selector == 0) { + topRight_buf_ = (valueDeserializer.readString() as string) } - else if (unselectedColor_buf__selector == 2) { - unselectedColor_buf_ = (valueDeserializer.readString() as string) + else if (topRight_buf__selector == 1) { + topRight_buf_ = (valueDeserializer.readNumber() as number) } - else if (unselectedColor_buf__selector == 3) { - unselectedColor_buf_ = valueDeserializer.readResource() + else if (topRight_buf__selector == 2) { + topRight_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for topRight_buf_ has to be chosen through deserialisation.") } - unselectedColor_buf = (unselectedColor_buf_ as Color | number | string | Resource) + topRight_buf = (topRight_buf_ as string | number | Resource) } - const unselectedColor_result : ResourceColor | undefined = unselectedColor_buf - const pointColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let pointColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (pointColor_buf_runtimeType)) + const topRight_result : Dimension | undefined = topRight_buf + const bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottomLeft_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (bottomLeft_buf_runtimeType)) { - const pointColor_buf__selector : int32 = valueDeserializer.readInt8() - let pointColor_buf_ : Color | number | string | Resource | undefined - if (pointColor_buf__selector == 0) { - pointColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (pointColor_buf__selector == 1) { - pointColor_buf_ = (valueDeserializer.readNumber() as number) + const bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() + let bottomLeft_buf_ : string | number | Resource | undefined + if (bottomLeft_buf__selector == 0) { + bottomLeft_buf_ = (valueDeserializer.readString() as string) } - else if (pointColor_buf__selector == 2) { - pointColor_buf_ = (valueDeserializer.readString() as string) + else if (bottomLeft_buf__selector == 1) { + bottomLeft_buf_ = (valueDeserializer.readNumber() as number) } - else if (pointColor_buf__selector == 3) { - pointColor_buf_ = valueDeserializer.readResource() + else if (bottomLeft_buf__selector == 2) { + bottomLeft_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for pointColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottomLeft_buf_ has to be chosen through deserialisation.") } - pointColor_buf = (pointColor_buf_ as Color | number | string | Resource) + bottomLeft_buf = (bottomLeft_buf_ as string | number | Resource) } - const pointColor_result : ResourceColor | undefined = pointColor_buf - const trackBorderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let trackBorderRadius_buf : number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (trackBorderRadius_buf_runtimeType)) + const bottomLeft_result : Dimension | undefined = bottomLeft_buf + const bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottomRight_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (bottomRight_buf_runtimeType)) { - const trackBorderRadius_buf__selector : int32 = valueDeserializer.readInt8() - let trackBorderRadius_buf_ : number | Resource | undefined - if (trackBorderRadius_buf__selector == 0) { - trackBorderRadius_buf_ = (valueDeserializer.readNumber() as number) + const bottomRight_buf__selector : int32 = valueDeserializer.readInt8() + let bottomRight_buf_ : string | number | Resource | undefined + if (bottomRight_buf__selector == 0) { + bottomRight_buf_ = (valueDeserializer.readString() as string) } - else if (trackBorderRadius_buf__selector == 1) { - trackBorderRadius_buf_ = valueDeserializer.readResource() + else if (bottomRight_buf__selector == 1) { + bottomRight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottomRight_buf__selector == 2) { + bottomRight_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for trackBorderRadius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottomRight_buf_ has to be chosen through deserialisation.") } - trackBorderRadius_buf = (trackBorderRadius_buf_ as number | Resource) + bottomRight_buf = (bottomRight_buf_ as string | number | Resource) } - const trackBorderRadius_result : number | Resource | undefined = trackBorderRadius_buf - let value : SwitchStyle = ({pointRadius: pointRadius_result, unselectedColor: unselectedColor_result, pointColor: pointColor_result, trackBorderRadius: trackBorderRadius_result} as SwitchStyle) + const bottomRight_result : Dimension | undefined = bottomRight_buf + let value : OutlineRadiuses = ({topLeft: topLeft_result, topRight: topRight_result, bottomLeft: bottomLeft_result, bottomRight: bottomRight_result} as OutlineRadiuses) return value } - readTabBarIconStyle(): TabBarIconStyle { + public readPadding(): Padding { let valueDeserializer : Deserializer = this - const selectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let selectedColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (selectedColor_buf_runtimeType)) + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - const selectedColor_buf__selector : int32 = valueDeserializer.readInt8() - let selectedColor_buf_ : Color | number | string | Resource | undefined - if (selectedColor_buf__selector == 0) { - selectedColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (selectedColor_buf__selector == 1) { - selectedColor_buf_ = (valueDeserializer.readNumber() as number) + const top_buf__selector : int32 = valueDeserializer.readInt8() + let top_buf_ : string | number | Resource | undefined + if (top_buf__selector == 0) { + top_buf_ = (valueDeserializer.readString() as string) } - else if (selectedColor_buf__selector == 2) { - selectedColor_buf_ = (valueDeserializer.readString() as string) + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) } - else if (selectedColor_buf__selector == 3) { - selectedColor_buf_ = valueDeserializer.readResource() + else if (top_buf__selector == 2) { + top_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for selectedColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") } - selectedColor_buf = (selectedColor_buf_ as Color | number | string | Resource) + top_buf = (top_buf_ as string | number | Resource) } - const selectedColor_result : ResourceColor | undefined = selectedColor_buf - const unselectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let unselectedColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (unselectedColor_buf_runtimeType)) + const top_result : Length | undefined = top_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) { - const unselectedColor_buf__selector : int32 = valueDeserializer.readInt8() - let unselectedColor_buf_ : Color | number | string | Resource | undefined - if (unselectedColor_buf__selector == 0) { - unselectedColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (unselectedColor_buf__selector == 1) { - unselectedColor_buf_ = (valueDeserializer.readNumber() as number) + const right_buf__selector : int32 = valueDeserializer.readInt8() + let right_buf_ : string | number | Resource | undefined + if (right_buf__selector == 0) { + right_buf_ = (valueDeserializer.readString() as string) } - else if (unselectedColor_buf__selector == 2) { - unselectedColor_buf_ = (valueDeserializer.readString() as string) + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) } - else if (unselectedColor_buf__selector == 3) { - unselectedColor_buf_ = valueDeserializer.readResource() + else if (right_buf__selector == 2) { + right_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") } - unselectedColor_buf = (unselectedColor_buf_ as Color | number | string | Resource) + right_buf = (right_buf_ as string | number | Resource) } - const unselectedColor_result : ResourceColor | undefined = unselectedColor_buf - let value : TabBarIconStyle = ({selectedColor: selectedColor_result, unselectedColor: unselectedColor_result} as TabBarIconStyle) - return value - } - readTabBarOptions(): TabBarOptions { - let valueDeserializer : Deserializer = this - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf : string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + const right_result : Length | undefined = right_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - const icon_buf__selector : int32 = valueDeserializer.readInt8() - let icon_buf_ : string | Resource | undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + const bottom_buf__selector : int32 = valueDeserializer.readInt8() + let bottom_buf_ : string | number | Resource | undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = (valueDeserializer.readString() as string) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottom_buf__selector == 2) { + bottom_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) + bottom_buf = (bottom_buf_ as string | number | Resource) } - const icon_result : string | Resource | undefined = icon_buf - const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let text_buf : string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) + const bottom_result : Length | undefined = bottom_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { - const text_buf__selector : int32 = valueDeserializer.readInt8() - let text_buf_ : string | Resource | undefined - if (text_buf__selector == 0) { - text_buf_ = (valueDeserializer.readString() as string) + const left_buf__selector : int32 = valueDeserializer.readInt8() + let left_buf_ : string | number | Resource | undefined + if (left_buf__selector == 0) { + left_buf_ = (valueDeserializer.readString() as string) + } + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readNumber() as number) } - else if (text_buf__selector == 1) { - text_buf_ = valueDeserializer.readResource() + else if (left_buf__selector == 2) { + left_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") } - text_buf = (text_buf_ as string | Resource) + left_buf = (left_buf_ as string | number | Resource) } - const text_result : string | Resource | undefined = text_buf - let value : TabBarOptions = ({icon: icon_result, text: text_result} as TabBarOptions) + const left_result : Length | undefined = left_buf + let value : Padding = ({top: top_result, right: right_result, bottom: bottom_result, left: left_result} as Padding) return value } - readTerminationInfo(): TerminationInfo { + public readPixelStretchEffectOptions(): PixelStretchEffectOptions { let valueDeserializer : Deserializer = this - const code_result : number = (valueDeserializer.readNumber() as number) - const want_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let want_buf : Want | undefined - if ((RuntimeType.UNDEFINED) != (want_buf_runtimeType)) + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - want_buf = valueDeserializer.readWant() + const top_buf__selector : int32 = valueDeserializer.readInt8() + let top_buf_ : string | number | Resource | undefined + if (top_buf__selector == 0) { + top_buf_ = (valueDeserializer.readString() as string) + } + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) + } + else if (top_buf__selector == 2) { + top_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + } + top_buf = (top_buf_ as string | number | Resource) } - const want_result : Want | undefined = want_buf - let value : TerminationInfo = ({code: code_result, want: want_result} as TerminationInfo) - return value - } - readTextAreaOptions(): TextAreaOptions { - let valueDeserializer : Deserializer = this - const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let placeholder_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (placeholder_buf_runtimeType)) + const top_result : Length | undefined = top_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - const placeholder_buf__selector : int32 = valueDeserializer.readInt8() - let placeholder_buf_ : string | Resource | undefined - if (placeholder_buf__selector == 0) { - placeholder_buf_ = (valueDeserializer.readString() as string) + const bottom_buf__selector : int32 = valueDeserializer.readInt8() + let bottom_buf_ : string | number | Resource | undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = (valueDeserializer.readString() as string) } - else if (placeholder_buf__selector == 1) { - placeholder_buf_ = valueDeserializer.readResource() + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottom_buf__selector == 2) { + bottom_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for placeholder_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") } - placeholder_buf = (placeholder_buf_ as string | Resource) + bottom_buf = (bottom_buf_ as string | number | Resource) } - const placeholder_result : ResourceStr | undefined = placeholder_buf - const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let text_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) + const bottom_result : Length | undefined = bottom_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { - const text_buf__selector : int32 = valueDeserializer.readInt8() - let text_buf_ : string | Resource | undefined - if (text_buf__selector == 0) { - text_buf_ = (valueDeserializer.readString() as string) + const left_buf__selector : int32 = valueDeserializer.readInt8() + let left_buf_ : string | number | Resource | undefined + if (left_buf__selector == 0) { + left_buf_ = (valueDeserializer.readString() as string) } - else if (text_buf__selector == 1) { - text_buf_ = valueDeserializer.readResource() + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readNumber() as number) + } + else if (left_buf__selector == 2) { + left_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") } - text_buf = (text_buf_ as string | Resource) + left_buf = (left_buf_ as string | number | Resource) } - const text_result : ResourceStr | undefined = text_buf - const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let controller_buf : TextAreaController | undefined - if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) + const left_result : Length | undefined = left_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) { - controller_buf = (valueDeserializer.readTextAreaController() as TextAreaController) + const right_buf__selector : int32 = valueDeserializer.readInt8() + let right_buf_ : string | number | Resource | undefined + if (right_buf__selector == 0) { + right_buf_ = (valueDeserializer.readString() as string) + } + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) + } + else if (right_buf__selector == 2) { + right_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") + } + right_buf = (right_buf_ as string | number | Resource) } - const controller_result : TextAreaController | undefined = controller_buf - let value : TextAreaOptions = ({placeholder: placeholder_result, text: text_result, controller: controller_result} as TextAreaOptions) + const right_result : Length | undefined = right_buf + let value : PixelStretchEffectOptions = ({top: top_result, bottom: bottom_result, left: left_result, right: right_result} as PixelStretchEffectOptions) return value } - readTextCascadePickerRangeContent(): TextCascadePickerRangeContent { + public readPointLightStyle(): PointLightStyle { let valueDeserializer : Deserializer = this - const text_buf_selector : int32 = valueDeserializer.readInt8() - let text_buf : string | Resource | undefined - if (text_buf_selector == 0) { - text_buf = (valueDeserializer.readString() as string) - } - else if (text_buf_selector == 1) { - text_buf = valueDeserializer.readResource() + const lightSource_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lightSource_buf : LightSource | undefined + if ((RuntimeType.UNDEFINED) != (lightSource_buf_runtimeType)) + { + lightSource_buf = valueDeserializer.readLightSource() } - else { - throw new Error("One of the branches for text_buf has to be chosen through deserialisation.") + const lightSource_result : LightSource | undefined = lightSource_buf + const illuminated_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let illuminated_buf : IlluminatedType | undefined + if ((RuntimeType.UNDEFINED) != (illuminated_buf_runtimeType)) + { + illuminated_buf = TypeChecker.IlluminatedType_FromNumeric(valueDeserializer.readInt32()) } - const text_result : string | Resource = (text_buf as string | Resource) - const children_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let children_buf : Array | undefined - if ((RuntimeType.UNDEFINED) != (children_buf_runtimeType)) + const illuminated_result : IlluminatedType | undefined = illuminated_buf + const bloom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bloom_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (bloom_buf_runtimeType)) { - const children_buf__length : int32 = valueDeserializer.readInt32() - let children_buf_ : Array = new Array(children_buf__length) - for (let children_buf__i = 0; children_buf__i < children_buf__length; children_buf__i++) { - children_buf_[children_buf__i] = valueDeserializer.readTextCascadePickerRangeContent() - } - children_buf = children_buf_ + bloom_buf = (valueDeserializer.readNumber() as number) } - const children_result : Array | undefined = children_buf - let value : TextCascadePickerRangeContent = ({text: text_result, children: children_result} as TextCascadePickerRangeContent) + const bloom_result : number | undefined = bloom_buf + let value : PointLightStyle = ({lightSource: lightSource_result, illuminated: illuminated_result, bloom: bloom_result} as PointLightStyle) return value } - readTextDecorationOptions(): TextDecorationOptions { + public readPosition(): Position { let valueDeserializer : Deserializer = this - const type_result : TextDecorationType = TypeChecker.TextDecorationType_FromNumeric(valueDeserializer.readInt32()) - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let x_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (x_buf_runtimeType)) { - const color_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf_ : Color | number | string | Resource | undefined - if (color_buf__selector == 0) { - color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + const x_buf__selector : int32 = valueDeserializer.readInt8() + let x_buf_ : string | number | Resource | undefined + if (x_buf__selector == 0) { + x_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else if (x_buf__selector == 1) { + x_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (x_buf__selector == 2) { + x_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for x_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) + x_buf = (x_buf_ as string | number | Resource) } - const color_result : ResourceColor | undefined = color_buf - const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf : TextDecorationStyle | undefined - if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + const x_result : Length | undefined = x_buf + const y_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let y_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (y_buf_runtimeType)) { - style_buf = TypeChecker.TextDecorationStyle_FromNumeric(valueDeserializer.readInt32()) + const y_buf__selector : int32 = valueDeserializer.readInt8() + let y_buf_ : string | number | Resource | undefined + if (y_buf__selector == 0) { + y_buf_ = (valueDeserializer.readString() as string) + } + else if (y_buf__selector == 1) { + y_buf_ = (valueDeserializer.readNumber() as number) + } + else if (y_buf__selector == 2) { + y_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for y_buf_ has to be chosen through deserialisation.") + } + y_buf = (y_buf_ as string | number | Resource) } - const style_result : TextDecorationStyle | undefined = style_buf - let value : TextDecorationOptions = ({type: type_result, color: color_result, style: style_result} as TextDecorationOptions) + const y_result : Length | undefined = y_buf + let value : Position = ({x: x_result, y: y_result} as Position) return value } - readTextInputOptions(): TextInputOptions { + public readProgressStyleOptions(): ProgressStyleOptions { let valueDeserializer : Deserializer = this - const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let placeholder_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (placeholder_buf_runtimeType)) + const enableSmoothEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableSmoothEffect_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableSmoothEffect_buf_runtimeType)) { - const placeholder_buf__selector : int32 = valueDeserializer.readInt8() - let placeholder_buf_ : string | Resource | undefined - if (placeholder_buf__selector == 0) { - placeholder_buf_ = (valueDeserializer.readString() as string) + enableSmoothEffect_buf = valueDeserializer.readBoolean() + } + const enableSmoothEffect_result : boolean | undefined = enableSmoothEffect_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + const strokeWidth_buf__selector : int32 = valueDeserializer.readInt8() + let strokeWidth_buf_ : string | number | Resource | undefined + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_ = (valueDeserializer.readString() as string) } - else if (placeholder_buf__selector == 1) { - placeholder_buf_ = valueDeserializer.readResource() + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for placeholder_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") } - placeholder_buf = (placeholder_buf_ as string | Resource) + strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) + } + const strokeWidth_result : Length | undefined = strokeWidth_buf + const scaleCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scaleCount_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (scaleCount_buf_runtimeType)) + { + scaleCount_buf = (valueDeserializer.readNumber() as number) } - const placeholder_result : ResourceStr | undefined = placeholder_buf - const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let text_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) + const scaleCount_result : number | undefined = scaleCount_buf + const scaleWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scaleWidth_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (scaleWidth_buf_runtimeType)) { - const text_buf__selector : int32 = valueDeserializer.readInt8() - let text_buf_ : string | Resource | undefined - if (text_buf__selector == 0) { - text_buf_ = (valueDeserializer.readString() as string) + const scaleWidth_buf__selector : int32 = valueDeserializer.readInt8() + let scaleWidth_buf_ : string | number | Resource | undefined + if (scaleWidth_buf__selector == 0) { + scaleWidth_buf_ = (valueDeserializer.readString() as string) } - else if (text_buf__selector == 1) { - text_buf_ = valueDeserializer.readResource() + else if (scaleWidth_buf__selector == 1) { + scaleWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (scaleWidth_buf__selector == 2) { + scaleWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for scaleWidth_buf_ has to be chosen through deserialisation.") } - text_buf = (text_buf_ as string | Resource) - } - const text_result : ResourceStr | undefined = text_buf - const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let controller_buf : TextInputController | undefined - if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) - { - controller_buf = (valueDeserializer.readTextInputController() as TextInputController) + scaleWidth_buf = (scaleWidth_buf_ as string | number | Resource) } - const controller_result : TextInputController | undefined = controller_buf - let value : TextInputOptions = ({placeholder: placeholder_result, text: text_result, controller: controller_result} as TextInputOptions) + const scaleWidth_result : Length | undefined = scaleWidth_buf + let value : ProgressStyleOptions = ({enableSmoothEffect: enableSmoothEffect_result, strokeWidth: strokeWidth_result, scaleCount: scaleCount_result, scaleWidth: scaleWidth_result} as ProgressStyleOptions) return value } - readTextMenuItem(): TextMenuItem { + public readRadialGradientOptions(): RadialGradientOptions { let valueDeserializer : Deserializer = this - const content_buf_selector : int32 = valueDeserializer.readInt8() - let content_buf : string | Resource | undefined - if (content_buf_selector == 0) { - content_buf = (valueDeserializer.readString() as string) + const center_buf_value0_buf_selector : int32 = valueDeserializer.readInt8() + let center_buf_value0_buf : string | number | Resource | undefined + if (center_buf_value0_buf_selector == 0) { + center_buf_value0_buf = (valueDeserializer.readString() as string) } - else if (content_buf_selector == 1) { - content_buf = valueDeserializer.readResource() + else if (center_buf_value0_buf_selector == 1) { + center_buf_value0_buf = (valueDeserializer.readNumber() as number) + } + else if (center_buf_value0_buf_selector == 2) { + center_buf_value0_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for content_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for center_buf_value0_buf has to be chosen through deserialisation.") } - const content_result : ResourceStr = (content_buf as string | Resource) - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) - { - const icon_buf__selector : int32 = valueDeserializer.readInt8() - let icon_buf_ : string | Resource | undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + const center_buf_value0 : Length = (center_buf_value0_buf as string | number | Resource) + const center_buf_value1_buf_selector : int32 = valueDeserializer.readInt8() + let center_buf_value1_buf : string | number | Resource | undefined + if (center_buf_value1_buf_selector == 0) { + center_buf_value1_buf = (valueDeserializer.readString() as string) + } + else if (center_buf_value1_buf_selector == 1) { + center_buf_value1_buf = (valueDeserializer.readNumber() as number) + } + else if (center_buf_value1_buf_selector == 2) { + center_buf_value1_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for center_buf_value1_buf has to be chosen through deserialisation.") + } + const center_buf_value1 : Length = (center_buf_value1_buf as string | number | Resource) + const center_result : [ Length, Length ] = ([center_buf_value0, center_buf_value1] as [ Length, Length ]) + const radius_buf_selector : int32 = valueDeserializer.readInt8() + let radius_buf : string | number | Resource | undefined + if (radius_buf_selector == 0) { + radius_buf = (valueDeserializer.readString() as string) + } + else if (radius_buf_selector == 1) { + radius_buf = (valueDeserializer.readNumber() as number) + } + else if (radius_buf_selector == 2) { + radius_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for radius_buf has to be chosen through deserialisation.") + } + const radius_result : Length = (radius_buf as string | number | Resource) + const colors_buf_length : int32 = valueDeserializer.readInt32() + let colors_buf : Array<[ ResourceColor, number ]> = new Array<[ ResourceColor, number ]>(colors_buf_length) + for (let colors_buf_i = 0; colors_buf_i < colors_buf_length; colors_buf_i++) { + const colors_buf_buf_value0_buf_selector : int32 = valueDeserializer.readInt8() + let colors_buf_buf_value0_buf : Color | number | string | Resource | undefined + if (colors_buf_buf_value0_buf_selector == 0) { + colors_buf_buf_value0_buf = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (colors_buf_buf_value0_buf_selector == 1) { + colors_buf_buf_value0_buf = (valueDeserializer.readNumber() as number) + } + else if (colors_buf_buf_value0_buf_selector == 2) { + colors_buf_buf_value0_buf = (valueDeserializer.readString() as string) + } + else if (colors_buf_buf_value0_buf_selector == 3) { + colors_buf_buf_value0_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for colors_buf_buf_value0_buf has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) + const colors_buf_buf_value0 : ResourceColor = (colors_buf_buf_value0_buf as Color | number | string | Resource) + const colors_buf_buf_value1 : number = (valueDeserializer.readNumber() as number) + colors_buf[colors_buf_i] = ([colors_buf_buf_value0, colors_buf_buf_value1] as [ ResourceColor, number ]) } - const icon_result : ResourceStr | undefined = icon_buf - const id_result : TextMenuItemId = (valueDeserializer.readTextMenuItemId() as TextMenuItemId) - let value : TextMenuItem = ({content: content_result, icon: icon_result, id: id_result} as TextMenuItem) + const colors_result : Array<[ ResourceColor, number ]> = colors_buf + const repeating_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let repeating_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (repeating_buf_runtimeType)) + { + repeating_buf = valueDeserializer.readBoolean() + } + const repeating_result : boolean | undefined = repeating_buf + let value : RadialGradientOptions = ({center: center_result, radius: radius_result, colors: colors_result, repeating: repeating_result} as RadialGradientOptions) return value } - readTextPickerOptions(): TextPickerOptions { + public readRectangle(): Rectangle { let valueDeserializer : Deserializer = this - const range_buf_selector : int32 = valueDeserializer.readInt8() - let range_buf : Array | Array> | Resource | Array | Array | undefined - if (range_buf_selector == 0) { - const range_buf_u_length : int32 = valueDeserializer.readInt32() - let range_buf_u : Array = new Array(range_buf_u_length) - for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { - range_buf_u[range_buf_u_i] = (valueDeserializer.readString() as string) + const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let x_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (x_buf_runtimeType)) + { + const x_buf__selector : int32 = valueDeserializer.readInt8() + let x_buf_ : string | number | Resource | undefined + if (x_buf__selector == 0) { + x_buf_ = (valueDeserializer.readString() as string) } - range_buf = range_buf_u - } - else if (range_buf_selector == 1) { - const range_buf_u_length : int32 = valueDeserializer.readInt32() - let range_buf_u : Array> = new Array>(range_buf_u_length) - for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { - const range_buf_u_buf_length : int32 = valueDeserializer.readInt32() - let range_buf_u_buf : Array = new Array(range_buf_u_buf_length) - for (let range_buf_u_buf_i = 0; range_buf_u_buf_i < range_buf_u_buf_length; range_buf_u_buf_i++) { - range_buf_u_buf[range_buf_u_buf_i] = (valueDeserializer.readString() as string) - } - range_buf_u[range_buf_u_i] = range_buf_u_buf + else if (x_buf__selector == 1) { + x_buf_ = (valueDeserializer.readNumber() as number) } - range_buf = range_buf_u - } - else if (range_buf_selector == 2) { - range_buf = valueDeserializer.readResource() - } - else if (range_buf_selector == 3) { - const range_buf_u_length : int32 = valueDeserializer.readInt32() - let range_buf_u : Array = new Array(range_buf_u_length) - for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { - range_buf_u[range_buf_u_i] = valueDeserializer.readTextPickerRangeContent() + else if (x_buf__selector == 2) { + x_buf_ = valueDeserializer.readResource() } - range_buf = range_buf_u - } - else if (range_buf_selector == 4) { - const range_buf_u_length : int32 = valueDeserializer.readInt32() - let range_buf_u : Array = new Array(range_buf_u_length) - for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { - range_buf_u[range_buf_u_i] = valueDeserializer.readTextCascadePickerRangeContent() + else { + throw new Error("One of the branches for x_buf_ has to be chosen through deserialisation.") } - range_buf = range_buf_u - } - else { - throw new Error("One of the branches for range_buf has to be chosen through deserialisation.") + x_buf = (x_buf_ as string | number | Resource) } - const range_result : Array | Array> | Resource | Array | Array = (range_buf as Array | Array> | Resource | Array | Array) - const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let value_buf : string | Array | undefined - if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) + const x_result : Length | undefined = x_buf + const y_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let y_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (y_buf_runtimeType)) { - const value_buf__selector : int32 = valueDeserializer.readInt8() - let value_buf_ : string | Array | undefined - if (value_buf__selector == 0) { - value_buf_ = (valueDeserializer.readString() as string) + const y_buf__selector : int32 = valueDeserializer.readInt8() + let y_buf_ : string | number | Resource | undefined + if (y_buf__selector == 0) { + y_buf_ = (valueDeserializer.readString() as string) } - else if (value_buf__selector == 1) { - const value_buf__u_length : int32 = valueDeserializer.readInt32() - let value_buf__u : Array = new Array(value_buf__u_length) - for (let value_buf__u_i = 0; value_buf__u_i < value_buf__u_length; value_buf__u_i++) { - value_buf__u[value_buf__u_i] = (valueDeserializer.readString() as string) - } - value_buf_ = value_buf__u + else if (y_buf__selector == 1) { + y_buf_ = (valueDeserializer.readNumber() as number) + } + else if (y_buf__selector == 2) { + y_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for value_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for y_buf_ has to be chosen through deserialisation.") } - value_buf = (value_buf_ as string | Array) + y_buf = (y_buf_ as string | number | Resource) } - const value_result : string | Array | undefined = value_buf - const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let selected_buf : number | Array | undefined - if ((RuntimeType.UNDEFINED) != (selected_buf_runtimeType)) + const y_result : Length | undefined = y_buf + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) { - const selected_buf__selector : int32 = valueDeserializer.readInt8() - let selected_buf_ : number | Array | undefined - if (selected_buf__selector == 0) { - selected_buf_ = (valueDeserializer.readNumber() as number) + const width_buf__selector : int32 = valueDeserializer.readInt8() + let width_buf_ : string | number | Resource | undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readString() as string) } - else if (selected_buf__selector == 1) { - const selected_buf__u_length : int32 = valueDeserializer.readInt32() - let selected_buf__u : Array = new Array(selected_buf__u_length) - for (let selected_buf__u_i = 0; selected_buf__u_i < selected_buf__u_length; selected_buf__u_i++) { - selected_buf__u[selected_buf__u_i] = (valueDeserializer.readNumber() as number) - } - selected_buf_ = selected_buf__u + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readNumber() as number) + } + else if (width_buf__selector == 2) { + width_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for selected_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") } - selected_buf = (selected_buf_ as number | Array) - } - const selected_result : number | Array | undefined = selected_buf - let value : TextPickerOptions = ({range: range_result, value: value_result, selected: selected_result} as TextPickerOptions) - return value - } - readTextPickerRangeContent(): TextPickerRangeContent { - let valueDeserializer : Deserializer = this - const icon_buf_selector : int32 = valueDeserializer.readInt8() - let icon_buf : string | Resource | undefined - if (icon_buf_selector == 0) { - icon_buf = (valueDeserializer.readString() as string) - } - else if (icon_buf_selector == 1) { - icon_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for icon_buf has to be chosen through deserialisation.") + width_buf = (width_buf_ as string | number | Resource) } - const icon_result : string | Resource = (icon_buf as string | Resource) - const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let text_buf : string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) + const width_result : Length | undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) { - const text_buf__selector : int32 = valueDeserializer.readInt8() - let text_buf_ : string | Resource | undefined - if (text_buf__selector == 0) { - text_buf_ = (valueDeserializer.readString() as string) + const height_buf__selector : int32 = valueDeserializer.readInt8() + let height_buf_ : string | number | Resource | undefined + if (height_buf__selector == 0) { + height_buf_ = (valueDeserializer.readString() as string) + } + else if (height_buf__selector == 1) { + height_buf_ = (valueDeserializer.readNumber() as number) } - else if (text_buf__selector == 1) { - text_buf_ = valueDeserializer.readResource() + else if (height_buf__selector == 2) { + height_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") } - text_buf = (text_buf_ as string | Resource) + height_buf = (height_buf_ as string | number | Resource) } - const text_result : string | Resource | undefined = text_buf - let value : TextPickerRangeContent = ({icon: icon_result, text: text_result} as TextPickerRangeContent) + const height_result : Length | undefined = height_buf + let value : Rectangle = ({x: x_result, y: y_result, width: width_result, height: height_result} as Rectangle) return value } - readTextPickerResult(): TextPickerResult { + public readRenderNode(): RenderNode { let valueDeserializer : Deserializer = this - const value_buf_selector : int32 = valueDeserializer.readInt8() - let value_buf : string | Array | undefined - if (value_buf_selector == 0) { - value_buf = (valueDeserializer.readString() as string) - } - else if (value_buf_selector == 1) { - const value_buf_u_length : int32 = valueDeserializer.readInt32() - let value_buf_u : Array = new Array(value_buf_u_length) - for (let value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { - value_buf_u[value_buf_u_i] = (valueDeserializer.readString() as string) - } - value_buf = value_buf_u - } - else { - throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") - } - const value_result : string | Array = (value_buf as string | Array) - const index_buf_selector : int32 = valueDeserializer.readInt8() - let index_buf : number | Array | undefined - if (index_buf_selector == 0) { - index_buf = (valueDeserializer.readNumber() as number) - } - else if (index_buf_selector == 1) { - const index_buf_u_length : int32 = valueDeserializer.readInt32() - let index_buf_u : Array = new Array(index_buf_u_length) - for (let index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { - index_buf_u[index_buf_u_i] = (valueDeserializer.readNumber() as number) - } - index_buf = index_buf_u - } - else { - throw new Error("One of the branches for index_buf has to be chosen through deserialisation.") - } - const index_result : number | Array = (index_buf as number | Array) - let value : TextPickerResult = ({value: value_result, index: index_result} as TextPickerResult) - return value + let ptr : KPointer = valueDeserializer.readPointer() + return RenderNodeInternal.fromPtr(ptr) } - readTextShadow(): TextShadow { + public readRichEditorSymbolSpanOptions(): RichEditorSymbolSpanOptions { let valueDeserializer : Deserializer = this - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : common2D.Color | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) - { - color_buf = valueDeserializer.readcommon2D_Color() - } - const color_result : common2D.Color | undefined = color_buf - const point_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let point_buf : common2D.Point | undefined - if ((RuntimeType.UNDEFINED) != (point_buf_runtimeType)) + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - point_buf = valueDeserializer.readcommon2D_Point() + offset_buf = (valueDeserializer.readNumber() as number) } - const point_result : common2D.Point | undefined = point_buf - const blurRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let blurRadius_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (blurRadius_buf_runtimeType)) + const offset_result : number | undefined = offset_buf + const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let style_buf : RichEditorSymbolSpanStyle | undefined + if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) { - blurRadius_buf = (valueDeserializer.readNumber() as number) + style_buf = valueDeserializer.readRichEditorSymbolSpanStyle() } - const blurRadius_result : number | undefined = blurRadius_buf - let value : TextShadow = ({color: color_result, point: point_result, blurRadius: blurRadius_result} as TextShadow) + const style_result : RichEditorSymbolSpanStyle | undefined = style_buf + let value : RichEditorSymbolSpanOptions = ({offset: offset_result, style: style_result} as RichEditorSymbolSpanOptions) return value } - readTextStyle_styled_string(): TextStyle_styled_string { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return TextStyle_styled_stringInternal.fromPtr(ptr) - } - readTextStyleInterface(): TextStyleInterface { + public readRingStyleOptions(): RingStyleOptions { let valueDeserializer : Deserializer = this - const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) + const enableScanEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableScanEffect_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableScanEffect_buf_runtimeType)) { - const fontColor_buf__selector : int32 = valueDeserializer.readInt8() - let fontColor_buf_ : Color | number | string | Resource | undefined - if (fontColor_buf__selector == 0) { - fontColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (fontColor_buf__selector == 1) { - fontColor_buf_ = (valueDeserializer.readNumber() as number) + enableScanEffect_buf = valueDeserializer.readBoolean() + } + const enableScanEffect_result : boolean | undefined = enableScanEffect_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + const strokeWidth_buf__selector : int32 = valueDeserializer.readInt8() + let strokeWidth_buf_ : string | number | Resource | undefined + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_ = (valueDeserializer.readString() as string) } - else if (fontColor_buf__selector == 2) { - fontColor_buf_ = (valueDeserializer.readString() as string) + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontColor_buf__selector == 3) { - fontColor_buf_ = valueDeserializer.readResource() + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") } - fontColor_buf = (fontColor_buf_ as Color | number | string | Resource) + strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) } - const fontColor_result : ResourceColor | undefined = fontColor_buf - const fontFamily_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFamily_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (fontFamily_buf_runtimeType)) + const strokeWidth_result : Length | undefined = strokeWidth_buf + const shadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let shadow_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (shadow_buf_runtimeType)) { - const fontFamily_buf__selector : int32 = valueDeserializer.readInt8() - let fontFamily_buf_ : string | Resource | undefined - if (fontFamily_buf__selector == 0) { - fontFamily_buf_ = (valueDeserializer.readString() as string) - } - else if (fontFamily_buf__selector == 1) { - fontFamily_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for fontFamily_buf_ has to be chosen through deserialisation.") - } - fontFamily_buf = (fontFamily_buf_ as string | Resource) + shadow_buf = valueDeserializer.readBoolean() } - const fontFamily_result : ResourceStr | undefined = fontFamily_buf - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + const shadow_result : boolean | undefined = shadow_buf + const status_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let status_buf : ProgressStatus | undefined + if ((RuntimeType.UNDEFINED) != (status_buf_runtimeType)) { - fontSize_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + status_buf = TypeChecker.ProgressStatus_FromNumeric(valueDeserializer.readInt32()) } - const fontSize_result : LengthMetrics | undefined = fontSize_buf - const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontWeight_buf : number | FontWeight | string | undefined - if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + const status_result : ProgressStatus | undefined = status_buf + let value : RingStyleOptions = ({enableScanEffect: enableScanEffect_result, strokeWidth: strokeWidth_result, shadow: shadow_result, status: status_result} as RingStyleOptions) + return value + } + public readScrollableBarModeOptions(): ScrollableBarModeOptions { + let valueDeserializer : Deserializer = this + const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let margin_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) { - const fontWeight_buf__selector : int32 = valueDeserializer.readInt8() - let fontWeight_buf_ : number | FontWeight | string | undefined - if (fontWeight_buf__selector == 0) { - fontWeight_buf_ = (valueDeserializer.readNumber() as number) + const margin_buf__selector : int32 = valueDeserializer.readInt8() + let margin_buf_ : string | number | Resource | undefined + if (margin_buf__selector == 0) { + margin_buf_ = (valueDeserializer.readString() as string) } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_ = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) + else if (margin_buf__selector == 1) { + margin_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_ = (valueDeserializer.readString() as string) + else if (margin_buf__selector == 2) { + margin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") } - fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) + margin_buf = (margin_buf_ as string | number | Resource) } - const fontWeight_result : number | FontWeight | string | undefined = fontWeight_buf - const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontStyle_buf : FontStyle | undefined - if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) + const margin_result : Dimension | undefined = margin_buf + const nonScrollableLayoutStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let nonScrollableLayoutStyle_buf : LayoutStyle | undefined + if ((RuntimeType.UNDEFINED) != (nonScrollableLayoutStyle_buf_runtimeType)) { - fontStyle_buf = TypeChecker.FontStyle_FromNumeric(valueDeserializer.readInt32()) + nonScrollableLayoutStyle_buf = TypeChecker.LayoutStyle_FromNumeric(valueDeserializer.readInt32()) } - const fontStyle_result : FontStyle | undefined = fontStyle_buf - let value : TextStyleInterface = ({fontColor: fontColor_result, fontFamily: fontFamily_result, fontSize: fontSize_result, fontWeight: fontWeight_result, fontStyle: fontStyle_result} as TextStyleInterface) + const nonScrollableLayoutStyle_result : LayoutStyle | undefined = nonScrollableLayoutStyle_buf + let value : ScrollableBarModeOptions = ({margin: margin_result, nonScrollableLayoutStyle: nonScrollableLayoutStyle_result} as ScrollableBarModeOptions) return value } - readTodayStyle(): TodayStyle { + public readScrollSnapOptions(): ScrollSnapOptions { let valueDeserializer : Deserializer = this - const focusedDayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let focusedDayColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (focusedDayColor_buf_runtimeType)) + const snapAlign_result : ScrollSnapAlign = TypeChecker.ScrollSnapAlign_FromNumeric(valueDeserializer.readInt32()) + const snapPagination_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let snapPagination_buf : Dimension | Array | undefined + if ((RuntimeType.UNDEFINED) != (snapPagination_buf_runtimeType)) { - const focusedDayColor_buf__selector : int32 = valueDeserializer.readInt8() - let focusedDayColor_buf_ : Color | number | string | Resource | undefined - if (focusedDayColor_buf__selector == 0) { - focusedDayColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (focusedDayColor_buf__selector == 1) { - focusedDayColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (focusedDayColor_buf__selector == 2) { - focusedDayColor_buf_ = (valueDeserializer.readString() as string) + const snapPagination_buf__selector : int32 = valueDeserializer.readInt8() + let snapPagination_buf_ : Dimension | Array | undefined + if (snapPagination_buf__selector == 0) { + const snapPagination_buf__u_selector : int32 = valueDeserializer.readInt8() + let snapPagination_buf__u : string | number | Resource | undefined + if (snapPagination_buf__u_selector == 0) { + snapPagination_buf__u = (valueDeserializer.readString() as string) + } + else if (snapPagination_buf__u_selector == 1) { + snapPagination_buf__u = (valueDeserializer.readNumber() as number) + } + else if (snapPagination_buf__u_selector == 2) { + snapPagination_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for snapPagination_buf__u has to be chosen through deserialisation.") + } + snapPagination_buf_ = (snapPagination_buf__u as string | number | Resource) } - else if (focusedDayColor_buf__selector == 3) { - focusedDayColor_buf_ = valueDeserializer.readResource() + else if (snapPagination_buf__selector == 1) { + const snapPagination_buf__u_length : int32 = valueDeserializer.readInt32() + let snapPagination_buf__u : Array = new Array(snapPagination_buf__u_length) + for (let snapPagination_buf__u_i = 0; snapPagination_buf__u_i < snapPagination_buf__u_length; snapPagination_buf__u_i++) { + const snapPagination_buf__u_buf_selector : int32 = valueDeserializer.readInt8() + let snapPagination_buf__u_buf : string | number | Resource | undefined + if (snapPagination_buf__u_buf_selector == 0) { + snapPagination_buf__u_buf = (valueDeserializer.readString() as string) + } + else if (snapPagination_buf__u_buf_selector == 1) { + snapPagination_buf__u_buf = (valueDeserializer.readNumber() as number) + } + else if (snapPagination_buf__u_buf_selector == 2) { + snapPagination_buf__u_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for snapPagination_buf__u_buf has to be chosen through deserialisation.") + } + snapPagination_buf__u[snapPagination_buf__u_i] = (snapPagination_buf__u_buf as string | number | Resource) + } + snapPagination_buf_ = snapPagination_buf__u } else { - throw new Error("One of the branches for focusedDayColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for snapPagination_buf_ has to be chosen through deserialisation.") } - focusedDayColor_buf = (focusedDayColor_buf_ as Color | number | string | Resource) + snapPagination_buf = (snapPagination_buf_ as Dimension | Array) } - const focusedDayColor_result : ResourceColor | undefined = focusedDayColor_buf - const focusedLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let focusedLunarColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (focusedLunarColor_buf_runtimeType)) + const snapPagination_result : Dimension | Array | undefined = snapPagination_buf + const enableSnapToStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableSnapToStart_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableSnapToStart_buf_runtimeType)) { - const focusedLunarColor_buf__selector : int32 = valueDeserializer.readInt8() - let focusedLunarColor_buf_ : Color | number | string | Resource | undefined - if (focusedLunarColor_buf__selector == 0) { - focusedLunarColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (focusedLunarColor_buf__selector == 1) { - focusedLunarColor_buf_ = (valueDeserializer.readNumber() as number) + enableSnapToStart_buf = valueDeserializer.readBoolean() + } + const enableSnapToStart_result : boolean | undefined = enableSnapToStart_buf + const enableSnapToEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableSnapToEnd_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableSnapToEnd_buf_runtimeType)) + { + enableSnapToEnd_buf = valueDeserializer.readBoolean() + } + const enableSnapToEnd_result : boolean | undefined = enableSnapToEnd_buf + let value : ScrollSnapOptions = ({snapAlign: snapAlign_result, snapPagination: snapPagination_result, enableSnapToStart: enableSnapToStart_result, enableSnapToEnd: enableSnapToEnd_result} as ScrollSnapOptions) + return value + } + public readSearchButtonOptions(): SearchButtonOptions { + let valueDeserializer : Deserializer = this + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + { + const fontSize_buf__selector : int32 = valueDeserializer.readInt8() + let fontSize_buf_ : string | number | Resource | undefined + if (fontSize_buf__selector == 0) { + fontSize_buf_ = (valueDeserializer.readString() as string) } - else if (focusedLunarColor_buf__selector == 2) { - focusedLunarColor_buf_ = (valueDeserializer.readString() as string) + else if (fontSize_buf__selector == 1) { + fontSize_buf_ = (valueDeserializer.readNumber() as number) } - else if (focusedLunarColor_buf__selector == 3) { - focusedLunarColor_buf_ = valueDeserializer.readResource() + else if (fontSize_buf__selector == 2) { + fontSize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for focusedLunarColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") } - focusedLunarColor_buf = (focusedLunarColor_buf_ as Color | number | string | Resource) + fontSize_buf = (fontSize_buf_ as string | number | Resource) } - const focusedLunarColor_result : ResourceColor | undefined = focusedLunarColor_buf - const focusedAreaBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let focusedAreaBackgroundColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (focusedAreaBackgroundColor_buf_runtimeType)) + const fontSize_result : Length | undefined = fontSize_buf + const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) { - const focusedAreaBackgroundColor_buf__selector : int32 = valueDeserializer.readInt8() - let focusedAreaBackgroundColor_buf_ : Color | number | string | Resource | undefined - if (focusedAreaBackgroundColor_buf__selector == 0) { - focusedAreaBackgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const fontColor_buf__selector : int32 = valueDeserializer.readInt8() + let fontColor_buf_ : Color | number | string | Resource | undefined + if (fontColor_buf__selector == 0) { + fontColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (focusedAreaBackgroundColor_buf__selector == 1) { - focusedAreaBackgroundColor_buf_ = (valueDeserializer.readNumber() as number) + else if (fontColor_buf__selector == 1) { + fontColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (focusedAreaBackgroundColor_buf__selector == 2) { - focusedAreaBackgroundColor_buf_ = (valueDeserializer.readString() as string) + else if (fontColor_buf__selector == 2) { + fontColor_buf_ = (valueDeserializer.readString() as string) } - else if (focusedAreaBackgroundColor_buf__selector == 3) { - focusedAreaBackgroundColor_buf_ = valueDeserializer.readResource() + else if (fontColor_buf__selector == 3) { + fontColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for focusedAreaBackgroundColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontColor_buf_ has to be chosen through deserialisation.") } - focusedAreaBackgroundColor_buf = (focusedAreaBackgroundColor_buf_ as Color | number | string | Resource) + fontColor_buf = (fontColor_buf_ as Color | number | string | Resource) } - const focusedAreaBackgroundColor_result : ResourceColor | undefined = focusedAreaBackgroundColor_buf - const focusedAreaRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let focusedAreaRadius_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (focusedAreaRadius_buf_runtimeType)) + const fontColor_result : ResourceColor | undefined = fontColor_buf + const autoDisable_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let autoDisable_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (autoDisable_buf_runtimeType)) { - focusedAreaRadius_buf = (valueDeserializer.readNumber() as number) + autoDisable_buf = valueDeserializer.readBoolean() } - const focusedAreaRadius_result : number | undefined = focusedAreaRadius_buf - let value : TodayStyle = ({focusedDayColor: focusedDayColor_result, focusedLunarColor: focusedLunarColor_result, focusedAreaBackgroundColor: focusedAreaBackgroundColor_result, focusedAreaRadius: focusedAreaRadius_result} as TodayStyle) + const autoDisable_result : boolean | undefined = autoDisable_buf + let value : SearchButtonOptions = ({fontSize: fontSize_result, fontColor: fontColor_result, autoDisable: autoDisable_result} as SearchButtonOptions) return value } - readToolbarItem(): ToolbarItem { + public readSizeOptions(): SizeOptions { let valueDeserializer : Deserializer = this - const value_buf_selector : int32 = valueDeserializer.readInt8() - let value_buf : string | Resource | undefined - if (value_buf_selector == 0) { - value_buf = (valueDeserializer.readString() as string) - } - else if (value_buf_selector == 1) { - value_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") - } - const value_result : ResourceStr = (value_buf as string | Resource) - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) { - const icon_buf__selector : int32 = valueDeserializer.readInt8() - let icon_buf_ : string | Resource | undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + const width_buf__selector : int32 = valueDeserializer.readInt8() + let width_buf_ : string | number | Resource | undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readString() as string) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readNumber() as number) + } + else if (width_buf__selector == 2) { + width_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) - } - const icon_result : ResourceStr | undefined = icon_buf - const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolIcon_buf : SymbolGlyphModifier | undefined - if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) - { - symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() - } - const symbolIcon_result : SymbolGlyphModifier | undefined = symbolIcon_buf - const action_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let action_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (action_buf_runtimeType)) - { - action_buf = valueDeserializer.readCallback_Void() - } - const action_result : (() => void) | undefined = action_buf - const status_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let status_buf : ToolbarItemStatus | undefined - if ((RuntimeType.UNDEFINED) != (status_buf_runtimeType)) - { - status_buf = TypeChecker.ToolbarItemStatus_FromNumeric(valueDeserializer.readInt32()) + width_buf = (width_buf_ as string | number | Resource) } - const status_result : ToolbarItemStatus | undefined = status_buf - const activeIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let activeIcon_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (activeIcon_buf_runtimeType)) + const width_result : Length | undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) { - const activeIcon_buf__selector : int32 = valueDeserializer.readInt8() - let activeIcon_buf_ : string | Resource | undefined - if (activeIcon_buf__selector == 0) { - activeIcon_buf_ = (valueDeserializer.readString() as string) + const height_buf__selector : int32 = valueDeserializer.readInt8() + let height_buf_ : string | number | Resource | undefined + if (height_buf__selector == 0) { + height_buf_ = (valueDeserializer.readString() as string) } - else if (activeIcon_buf__selector == 1) { - activeIcon_buf_ = valueDeserializer.readResource() + else if (height_buf__selector == 1) { + height_buf_ = (valueDeserializer.readNumber() as number) + } + else if (height_buf__selector == 2) { + height_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for activeIcon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") } - activeIcon_buf = (activeIcon_buf_ as string | Resource) - } - const activeIcon_result : ResourceStr | undefined = activeIcon_buf - const activeSymbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let activeSymbolIcon_buf : SymbolGlyphModifier | undefined - if ((RuntimeType.UNDEFINED) != (activeSymbolIcon_buf_runtimeType)) - { - activeSymbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() + height_buf = (height_buf_ as string | number | Resource) } - const activeSymbolIcon_result : SymbolGlyphModifier | undefined = activeSymbolIcon_buf - let value : ToolbarItem = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, action: action_result, status: status_result, activeIcon: activeIcon_result, activeSymbolIcon: activeSymbolIcon_result} as ToolbarItem) + const height_result : Length | undefined = height_buf + let value : SizeOptions = ({width: width_result, height: height_result} as SizeOptions) return value } - readTransitionOptions(): TransitionOptions { + public readSweepGradientOptions(): SweepGradientOptions { let valueDeserializer : Deserializer = this - const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let type_buf : TransitionType | undefined - if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) - { - type_buf = TypeChecker.TransitionType_FromNumeric(valueDeserializer.readInt32()) + const center_buf_value0_buf_selector : int32 = valueDeserializer.readInt8() + let center_buf_value0_buf : string | number | Resource | undefined + if (center_buf_value0_buf_selector == 0) { + center_buf_value0_buf = (valueDeserializer.readString() as string) } - const type_result : TransitionType | undefined = type_buf - const opacity_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let opacity_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (opacity_buf_runtimeType)) - { - opacity_buf = (valueDeserializer.readNumber() as number) + else if (center_buf_value0_buf_selector == 1) { + center_buf_value0_buf = (valueDeserializer.readNumber() as number) } - const opacity_result : number | undefined = opacity_buf - const translate_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let translate_buf : TranslateOptions | undefined - if ((RuntimeType.UNDEFINED) != (translate_buf_runtimeType)) - { - translate_buf = valueDeserializer.readTranslateOptions() + else if (center_buf_value0_buf_selector == 2) { + center_buf_value0_buf = valueDeserializer.readResource() } - const translate_result : TranslateOptions | undefined = translate_buf - const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scale_buf : ScaleOptions | undefined - if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) - { - scale_buf = valueDeserializer.readScaleOptions() + else { + throw new Error("One of the branches for center_buf_value0_buf has to be chosen through deserialisation.") } - const scale_result : ScaleOptions | undefined = scale_buf - const rotate_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let rotate_buf : RotateOptions | undefined - if ((RuntimeType.UNDEFINED) != (rotate_buf_runtimeType)) - { - rotate_buf = valueDeserializer.readRotateOptions() + const center_buf_value0 : Length = (center_buf_value0_buf as string | number | Resource) + const center_buf_value1_buf_selector : int32 = valueDeserializer.readInt8() + let center_buf_value1_buf : string | number | Resource | undefined + if (center_buf_value1_buf_selector == 0) { + center_buf_value1_buf = (valueDeserializer.readString() as string) } - const rotate_result : RotateOptions | undefined = rotate_buf - let value : TransitionOptions = ({type: type_result, opacity: opacity_result, translate: translate_result, scale: scale_result, rotate: rotate_result} as TransitionOptions) - return value - } - readUnderlineColor(): UnderlineColor { - let valueDeserializer : Deserializer = this - const typing_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let typing_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (typing_buf_runtimeType)) + else if (center_buf_value1_buf_selector == 1) { + center_buf_value1_buf = (valueDeserializer.readNumber() as number) + } + else if (center_buf_value1_buf_selector == 2) { + center_buf_value1_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for center_buf_value1_buf has to be chosen through deserialisation.") + } + const center_buf_value1 : Length = (center_buf_value1_buf as string | number | Resource) + const center_result : [ Length, Length ] = ([center_buf_value0, center_buf_value1] as [ Length, Length ]) + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - const typing_buf__selector : int32 = valueDeserializer.readInt8() - let typing_buf_ : Color | number | string | Resource | undefined - if (typing_buf__selector == 0) { - typing_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (typing_buf__selector == 1) { - typing_buf_ = (valueDeserializer.readNumber() as number) - } - else if (typing_buf__selector == 2) { - typing_buf_ = (valueDeserializer.readString() as string) + const start_buf__selector : int32 = valueDeserializer.readInt8() + let start_buf_ : number | string | undefined + if (start_buf__selector == 0) { + start_buf_ = (valueDeserializer.readNumber() as number) } - else if (typing_buf__selector == 3) { - typing_buf_ = valueDeserializer.readResource() + else if (start_buf__selector == 1) { + start_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for typing_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for start_buf_ has to be chosen through deserialisation.") } - typing_buf = (typing_buf_ as Color | number | string | Resource) + start_buf = (start_buf_ as number | string) } - const typing_result : ResourceColor | undefined = typing_buf - const normal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let normal_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (normal_buf_runtimeType)) + const start_result : number | string | undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - const normal_buf__selector : int32 = valueDeserializer.readInt8() - let normal_buf_ : Color | number | string | Resource | undefined - if (normal_buf__selector == 0) { - normal_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (normal_buf__selector == 1) { - normal_buf_ = (valueDeserializer.readNumber() as number) - } - else if (normal_buf__selector == 2) { - normal_buf_ = (valueDeserializer.readString() as string) + const end_buf__selector : int32 = valueDeserializer.readInt8() + let end_buf_ : number | string | undefined + if (end_buf__selector == 0) { + end_buf_ = (valueDeserializer.readNumber() as number) } - else if (normal_buf__selector == 3) { - normal_buf_ = valueDeserializer.readResource() + else if (end_buf__selector == 1) { + end_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for normal_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for end_buf_ has to be chosen through deserialisation.") } - normal_buf = (normal_buf_ as Color | number | string | Resource) + end_buf = (end_buf_ as number | string) } - const normal_result : ResourceColor | undefined = normal_buf - const error_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let error_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (error_buf_runtimeType)) + const end_result : number | string | undefined = end_buf + const rotation_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let rotation_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (rotation_buf_runtimeType)) { - const error_buf__selector : int32 = valueDeserializer.readInt8() - let error_buf_ : Color | number | string | Resource | undefined - if (error_buf__selector == 0) { - error_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (error_buf__selector == 1) { - error_buf_ = (valueDeserializer.readNumber() as number) + const rotation_buf__selector : int32 = valueDeserializer.readInt8() + let rotation_buf_ : number | string | undefined + if (rotation_buf__selector == 0) { + rotation_buf_ = (valueDeserializer.readNumber() as number) } - else if (error_buf__selector == 2) { - error_buf_ = (valueDeserializer.readString() as string) - } - else if (error_buf__selector == 3) { - error_buf_ = valueDeserializer.readResource() + else if (rotation_buf__selector == 1) { + rotation_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for error_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for rotation_buf_ has to be chosen through deserialisation.") } - error_buf = (error_buf_ as Color | number | string | Resource) + rotation_buf = (rotation_buf_ as number | string) } - const error_result : ResourceColor | undefined = error_buf - const disable_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let disable_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (disable_buf_runtimeType)) - { - const disable_buf__selector : int32 = valueDeserializer.readInt8() - let disable_buf_ : Color | number | string | Resource | undefined - if (disable_buf__selector == 0) { - disable_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const rotation_result : number | string | undefined = rotation_buf + const colors_buf_length : int32 = valueDeserializer.readInt32() + let colors_buf : Array<[ ResourceColor, number ]> = new Array<[ ResourceColor, number ]>(colors_buf_length) + for (let colors_buf_i = 0; colors_buf_i < colors_buf_length; colors_buf_i++) { + const colors_buf_buf_value0_buf_selector : int32 = valueDeserializer.readInt8() + let colors_buf_buf_value0_buf : Color | number | string | Resource | undefined + if (colors_buf_buf_value0_buf_selector == 0) { + colors_buf_buf_value0_buf = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (disable_buf__selector == 1) { - disable_buf_ = (valueDeserializer.readNumber() as number) + else if (colors_buf_buf_value0_buf_selector == 1) { + colors_buf_buf_value0_buf = (valueDeserializer.readNumber() as number) } - else if (disable_buf__selector == 2) { - disable_buf_ = (valueDeserializer.readString() as string) + else if (colors_buf_buf_value0_buf_selector == 2) { + colors_buf_buf_value0_buf = (valueDeserializer.readString() as string) } - else if (disable_buf__selector == 3) { - disable_buf_ = valueDeserializer.readResource() + else if (colors_buf_buf_value0_buf_selector == 3) { + colors_buf_buf_value0_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for disable_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for colors_buf_buf_value0_buf has to be chosen through deserialisation.") } - disable_buf = (disable_buf_ as Color | number | string | Resource) + const colors_buf_buf_value0 : ResourceColor = (colors_buf_buf_value0_buf as Color | number | string | Resource) + const colors_buf_buf_value1 : number = (valueDeserializer.readNumber() as number) + colors_buf[colors_buf_i] = ([colors_buf_buf_value0, colors_buf_buf_value1] as [ ResourceColor, number ]) } - const disable_result : ResourceColor | undefined = disable_buf - let value : UnderlineColor = ({typing: typing_result, normal: normal_result, error: error_result, disable: disable_result} as UnderlineColor) + const colors_result : Array<[ ResourceColor, number ]> = colors_buf + const repeating_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let repeating_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (repeating_buf_runtimeType)) + { + repeating_buf = valueDeserializer.readBoolean() + } + const repeating_result : boolean | undefined = repeating_buf + let value : SweepGradientOptions = ({center: center_result, start: start_result, end: end_result, rotation: rotation_result, colors: colors_result, repeating: repeating_result} as SweepGradientOptions) return value } - readVideoOptions(): VideoOptions { + public readSwipeActionItem(): SwipeActionItem { let valueDeserializer : Deserializer = this - const src_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let src_buf : string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (src_buf_runtimeType)) + const builder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let builder_buf : CustomBuilder | undefined + if ((RuntimeType.UNDEFINED) != (builder_buf_runtimeType)) { - const src_buf__selector : int32 = valueDeserializer.readInt8() - let src_buf_ : string | Resource | undefined - if (src_buf__selector == 0) { - src_buf_ = (valueDeserializer.readString() as string) - } - else if (src_buf__selector == 1) { - src_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for src_buf_ has to be chosen through deserialisation.") - } - src_buf = (src_buf_ as string | Resource) + builder_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) } - const src_result : string | Resource | undefined = src_buf - const currentProgressRate_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let currentProgressRate_buf : number | string | PlaybackSpeed | undefined - if ((RuntimeType.UNDEFINED) != (currentProgressRate_buf_runtimeType)) + const builder_result : CustomBuilder | undefined = builder_buf + const builderComponent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let builderComponent_buf : ComponentContent | undefined + if ((RuntimeType.UNDEFINED) != (builderComponent_buf_runtimeType)) { - const currentProgressRate_buf__selector : int32 = valueDeserializer.readInt8() - let currentProgressRate_buf_ : number | string | PlaybackSpeed | undefined - if (currentProgressRate_buf__selector == 0) { - currentProgressRate_buf_ = (valueDeserializer.readNumber() as number) + builderComponent_buf = (valueDeserializer.readComponentContent() as ComponentContent) + } + const builderComponent_result : ComponentContent | undefined = builderComponent_buf + const actionAreaDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let actionAreaDistance_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (actionAreaDistance_buf_runtimeType)) + { + const actionAreaDistance_buf__selector : int32 = valueDeserializer.readInt8() + let actionAreaDistance_buf_ : string | number | Resource | undefined + if (actionAreaDistance_buf__selector == 0) { + actionAreaDistance_buf_ = (valueDeserializer.readString() as string) } - else if (currentProgressRate_buf__selector == 1) { - currentProgressRate_buf_ = (valueDeserializer.readString() as string) + else if (actionAreaDistance_buf__selector == 1) { + actionAreaDistance_buf_ = (valueDeserializer.readNumber() as number) } - else if (currentProgressRate_buf__selector == 2) { - currentProgressRate_buf_ = TypeChecker.PlaybackSpeed_FromNumeric(valueDeserializer.readInt32()) + else if (actionAreaDistance_buf__selector == 2) { + actionAreaDistance_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for currentProgressRate_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for actionAreaDistance_buf_ has to be chosen through deserialisation.") } - currentProgressRate_buf = (currentProgressRate_buf_ as number | string | PlaybackSpeed) + actionAreaDistance_buf = (actionAreaDistance_buf_ as string | number | Resource) } - const currentProgressRate_result : number | string | PlaybackSpeed | undefined = currentProgressRate_buf - const previewUri_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let previewUri_buf : string | PixelMap | Resource | undefined - if ((RuntimeType.UNDEFINED) != (previewUri_buf_runtimeType)) + const actionAreaDistance_result : Length | undefined = actionAreaDistance_buf + const onAction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onAction_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onAction_buf_runtimeType)) { - const previewUri_buf__selector : int32 = valueDeserializer.readInt8() - let previewUri_buf_ : string | PixelMap | Resource | undefined - if (previewUri_buf__selector == 0) { - previewUri_buf_ = (valueDeserializer.readString() as string) - } - else if (previewUri_buf__selector == 1) { - previewUri_buf_ = (valueDeserializer.readPixelMap() as PixelMap) - } - else if (previewUri_buf__selector == 2) { - previewUri_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for previewUri_buf_ has to be chosen through deserialisation.") + onAction_buf = valueDeserializer.readCallback_Void() + } + const onAction_result : (() => void) | undefined = onAction_buf + const onEnterActionArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onEnterActionArea_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onEnterActionArea_buf_runtimeType)) + { + onEnterActionArea_buf = valueDeserializer.readCallback_Void() + } + const onEnterActionArea_result : (() => void) | undefined = onEnterActionArea_buf + const onExitActionArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onExitActionArea_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onExitActionArea_buf_runtimeType)) + { + onExitActionArea_buf = valueDeserializer.readCallback_Void() + } + const onExitActionArea_result : (() => void) | undefined = onExitActionArea_buf + const onStateChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onStateChange_buf : ((state: SwipeActionState) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onStateChange_buf_runtimeType)) + { + onStateChange_buf = valueDeserializer.readCallback_SwipeActionState_Void() + } + const onStateChange_result : ((state: SwipeActionState) => void) | undefined = onStateChange_buf + let value : SwipeActionItem = ({builder: builder_result, builderComponent: builderComponent_result, actionAreaDistance: actionAreaDistance_result, onAction: onAction_result, onEnterActionArea: onEnterActionArea_result, onExitActionArea: onExitActionArea_result, onStateChange: onStateChange_result} as SwipeActionItem) + return value + } + public readtext_TextStyle(): text.TextStyle { + let valueDeserializer : Deserializer = this + const decoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let decoration_buf : Decoration | undefined + if ((RuntimeType.UNDEFINED) != (decoration_buf_runtimeType)) + { + decoration_buf = valueDeserializer.readDecoration() + } + const decoration_result : Decoration | undefined = decoration_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : common2D.Color | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + { + color_buf = valueDeserializer.readcommon2D_Color() + } + const color_result : common2D.Color | undefined = color_buf + const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontWeight_buf : FontWeight | undefined + if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + { + fontWeight_buf = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) + } + const fontWeight_result : FontWeight | undefined = fontWeight_buf + const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontStyle_buf : FontStyle | undefined + if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) + { + fontStyle_buf = TypeChecker.FontStyle_FromNumeric(valueDeserializer.readInt32()) + } + const fontStyle_result : FontStyle | undefined = fontStyle_buf + const baseline_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let baseline_buf : TextBaseline | undefined + if ((RuntimeType.UNDEFINED) != (baseline_buf_runtimeType)) + { + baseline_buf = TypeChecker.TextBaseline_FromNumeric(valueDeserializer.readInt32()) + } + const baseline_result : TextBaseline | undefined = baseline_buf + const fontFamilies_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFamilies_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (fontFamilies_buf_runtimeType)) + { + const fontFamilies_buf__length : int32 = valueDeserializer.readInt32() + let fontFamilies_buf_ : Array = new Array(fontFamilies_buf__length) + for (let fontFamilies_buf__i = 0; fontFamilies_buf__i < fontFamilies_buf__length; fontFamilies_buf__i++) { + fontFamilies_buf_[fontFamilies_buf__i] = (valueDeserializer.readString() as string) } - previewUri_buf = (previewUri_buf_ as string | PixelMap | Resource) + fontFamilies_buf = fontFamilies_buf_ + } + const fontFamilies_result : Array | undefined = fontFamilies_buf + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + { + fontSize_buf = (valueDeserializer.readNumber() as number) + } + const fontSize_result : number | undefined = fontSize_buf + const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let letterSpacing_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) + { + letterSpacing_buf = (valueDeserializer.readNumber() as number) + } + const letterSpacing_result : number | undefined = letterSpacing_buf + const wordSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let wordSpacing_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (wordSpacing_buf_runtimeType)) + { + wordSpacing_buf = (valueDeserializer.readNumber() as number) + } + const wordSpacing_result : number | undefined = wordSpacing_buf + const heightScale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let heightScale_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (heightScale_buf_runtimeType)) + { + heightScale_buf = (valueDeserializer.readNumber() as number) } - const previewUri_result : string | PixelMap | Resource | undefined = previewUri_buf - const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let controller_buf : VideoController | undefined - if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) + const heightScale_result : number | undefined = heightScale_buf + const halfLeading_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let halfLeading_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (halfLeading_buf_runtimeType)) { - controller_buf = (valueDeserializer.readVideoController() as VideoController) + halfLeading_buf = valueDeserializer.readBoolean() } - const controller_result : VideoController | undefined = controller_buf - const imageAIOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let imageAIOptions_buf : ImageAIOptions | undefined - if ((RuntimeType.UNDEFINED) != (imageAIOptions_buf_runtimeType)) + const halfLeading_result : boolean | undefined = halfLeading_buf + const heightOnly_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let heightOnly_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (heightOnly_buf_runtimeType)) { - imageAIOptions_buf = valueDeserializer.readImageAIOptions() + heightOnly_buf = valueDeserializer.readBoolean() } - const imageAIOptions_result : ImageAIOptions | undefined = imageAIOptions_buf - let value : VideoOptions = ({src: src_result, currentProgressRate: currentProgressRate_result, previewUri: previewUri_result, controller: controller_result, imageAIOptions: imageAIOptions_result} as VideoOptions) - return value - } - readWeekStyle(): WeekStyle { - let valueDeserializer : Deserializer = this - const weekColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (weekColor_buf_runtimeType)) + const heightOnly_result : boolean | undefined = heightOnly_buf + const ellipsis_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let ellipsis_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (ellipsis_buf_runtimeType)) { - const weekColor_buf__selector : int32 = valueDeserializer.readInt8() - let weekColor_buf_ : Color | number | string | Resource | undefined - if (weekColor_buf__selector == 0) { - weekColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (weekColor_buf__selector == 1) { - weekColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (weekColor_buf__selector == 2) { - weekColor_buf_ = (valueDeserializer.readString() as string) - } - else if (weekColor_buf__selector == 3) { - weekColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for weekColor_buf_ has to be chosen through deserialisation.") - } - weekColor_buf = (weekColor_buf_ as Color | number | string | Resource) + ellipsis_buf = (valueDeserializer.readString() as string) } - const weekColor_result : ResourceColor | undefined = weekColor_buf - const weekendDayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekendDayColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (weekendDayColor_buf_runtimeType)) + const ellipsis_result : string | undefined = ellipsis_buf + const ellipsisMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let ellipsisMode_buf : EllipsisMode | undefined + if ((RuntimeType.UNDEFINED) != (ellipsisMode_buf_runtimeType)) { - const weekendDayColor_buf__selector : int32 = valueDeserializer.readInt8() - let weekendDayColor_buf_ : Color | number | string | Resource | undefined - if (weekendDayColor_buf__selector == 0) { - weekendDayColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (weekendDayColor_buf__selector == 1) { - weekendDayColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (weekendDayColor_buf__selector == 2) { - weekendDayColor_buf_ = (valueDeserializer.readString() as string) - } - else if (weekendDayColor_buf__selector == 3) { - weekendDayColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for weekendDayColor_buf_ has to be chosen through deserialisation.") - } - weekendDayColor_buf = (weekendDayColor_buf_ as Color | number | string | Resource) + ellipsisMode_buf = TypeChecker.EllipsisMode_FromNumeric(valueDeserializer.readInt32()) } - const weekendDayColor_result : ResourceColor | undefined = weekendDayColor_buf - const weekendLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekendLunarColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (weekendLunarColor_buf_runtimeType)) + const ellipsisMode_result : EllipsisMode | undefined = ellipsisMode_buf + const locale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let locale_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (locale_buf_runtimeType)) { - const weekendLunarColor_buf__selector : int32 = valueDeserializer.readInt8() - let weekendLunarColor_buf_ : Color | number | string | Resource | undefined - if (weekendLunarColor_buf__selector == 0) { - weekendLunarColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (weekendLunarColor_buf__selector == 1) { - weekendLunarColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (weekendLunarColor_buf__selector == 2) { - weekendLunarColor_buf_ = (valueDeserializer.readString() as string) - } - else if (weekendLunarColor_buf__selector == 3) { - weekendLunarColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for weekendLunarColor_buf_ has to be chosen through deserialisation.") - } - weekendLunarColor_buf = (weekendLunarColor_buf_ as Color | number | string | Resource) + locale_buf = (valueDeserializer.readString() as string) } - const weekendLunarColor_result : ResourceColor | undefined = weekendLunarColor_buf - const weekFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekFontSize_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (weekFontSize_buf_runtimeType)) + const locale_result : string | undefined = locale_buf + const baselineShift_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let baselineShift_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (baselineShift_buf_runtimeType)) { - weekFontSize_buf = (valueDeserializer.readNumber() as number) + baselineShift_buf = (valueDeserializer.readNumber() as number) } - const weekFontSize_result : number | undefined = weekFontSize_buf - const weekHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekHeight_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (weekHeight_buf_runtimeType)) + const baselineShift_result : number | undefined = baselineShift_buf + const fontFeatures_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFeatures_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (fontFeatures_buf_runtimeType)) { - weekHeight_buf = (valueDeserializer.readNumber() as number) + const fontFeatures_buf__length : int32 = valueDeserializer.readInt32() + let fontFeatures_buf_ : Array = new Array(fontFeatures_buf__length) + for (let fontFeatures_buf__i = 0; fontFeatures_buf__i < fontFeatures_buf__length; fontFeatures_buf__i++) { + fontFeatures_buf_[fontFeatures_buf__i] = valueDeserializer.readFontFeature() + } + fontFeatures_buf = fontFeatures_buf_ } - const weekHeight_result : number | undefined = weekHeight_buf - const weekWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekWidth_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (weekWidth_buf_runtimeType)) + const fontFeatures_result : Array | undefined = fontFeatures_buf + const textShadows_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textShadows_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (textShadows_buf_runtimeType)) { - weekWidth_buf = (valueDeserializer.readNumber() as number) + const textShadows_buf__length : int32 = valueDeserializer.readInt32() + let textShadows_buf_ : Array = new Array(textShadows_buf__length) + for (let textShadows_buf__i = 0; textShadows_buf__i < textShadows_buf__length; textShadows_buf__i++) { + textShadows_buf_[textShadows_buf__i] = valueDeserializer.readTextShadow() + } + textShadows_buf = textShadows_buf_ } - const weekWidth_result : number | undefined = weekWidth_buf - const weekAndDayRowSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekAndDayRowSpace_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (weekAndDayRowSpace_buf_runtimeType)) + const textShadows_result : Array | undefined = textShadows_buf + const backgroundRect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundRect_buf : RectStyle | undefined + if ((RuntimeType.UNDEFINED) != (backgroundRect_buf_runtimeType)) { - weekAndDayRowSpace_buf = (valueDeserializer.readNumber() as number) + backgroundRect_buf = valueDeserializer.readRectStyle() } - const weekAndDayRowSpace_result : number | undefined = weekAndDayRowSpace_buf - let value : WeekStyle = ({weekColor: weekColor_result, weekendDayColor: weekendDayColor_result, weekendLunarColor: weekendLunarColor_result, weekFontSize: weekFontSize_result, weekHeight: weekHeight_result, weekWidth: weekWidth_result, weekAndDayRowSpace: weekAndDayRowSpace_result} as WeekStyle) + const backgroundRect_result : RectStyle | undefined = backgroundRect_buf + const fontVariations_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontVariations_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (fontVariations_buf_runtimeType)) + { + const fontVariations_buf__length : int32 = valueDeserializer.readInt32() + let fontVariations_buf_ : Array = new Array(fontVariations_buf__length) + for (let fontVariations_buf__i = 0; fontVariations_buf__i < fontVariations_buf__length; fontVariations_buf__i++) { + fontVariations_buf_[fontVariations_buf__i] = valueDeserializer.readFontVariation() + } + fontVariations_buf = fontVariations_buf_ + } + const fontVariations_result : Array | undefined = fontVariations_buf + let value : text.TextStyle = ({decoration: decoration_result, color: color_result, fontWeight: fontWeight_result, fontStyle: fontStyle_result, baseline: baseline_result, fontFamilies: fontFamilies_result, fontSize: fontSize_result, letterSpacing: letterSpacing_result, wordSpacing: wordSpacing_result, heightScale: heightScale_result, halfLeading: halfLeading_result, heightOnly: heightOnly_result, ellipsis: ellipsis_result, ellipsisMode: ellipsisMode_result, locale: locale_result, baselineShift: baselineShift_result, fontFeatures: fontFeatures_result, textShadows: textShadows_result, backgroundRect: backgroundRect_result, fontVariations: fontVariations_result} as text.TextStyle) return value } - readWorkStateStyle(): WorkStateStyle { + public readTextDataDetectorConfig(): TextDataDetectorConfig { let valueDeserializer : Deserializer = this - const workDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let workDayMarkColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (workDayMarkColor_buf_runtimeType)) + const types_buf_length : int32 = valueDeserializer.readInt32() + let types_buf : Array = new Array(types_buf_length) + for (let types_buf_i = 0; types_buf_i < types_buf_length; types_buf_i++) { + types_buf[types_buf_i] = TypeChecker.TextDataDetectorType_FromNumeric(valueDeserializer.readInt32()) + } + const types_result : Array = types_buf + const onDetectResultUpdate_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDetectResultUpdate_buf : ((breakpoints: string) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDetectResultUpdate_buf_runtimeType)) { - const workDayMarkColor_buf__selector : int32 = valueDeserializer.readInt8() - let workDayMarkColor_buf_ : Color | number | string | Resource | undefined - if (workDayMarkColor_buf__selector == 0) { - workDayMarkColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (workDayMarkColor_buf__selector == 1) { - workDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (workDayMarkColor_buf__selector == 2) { - workDayMarkColor_buf_ = (valueDeserializer.readString() as string) - } - else if (workDayMarkColor_buf__selector == 3) { - workDayMarkColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for workDayMarkColor_buf_ has to be chosen through deserialisation.") - } - workDayMarkColor_buf = (workDayMarkColor_buf_ as Color | number | string | Resource) + onDetectResultUpdate_buf = valueDeserializer.readCallback_String_Void() } - const workDayMarkColor_result : ResourceColor | undefined = workDayMarkColor_buf - const offDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offDayMarkColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (offDayMarkColor_buf_runtimeType)) + const onDetectResultUpdate_result : ((breakpoints: string) => void) | undefined = onDetectResultUpdate_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - const offDayMarkColor_buf__selector : int32 = valueDeserializer.readInt8() - let offDayMarkColor_buf_ : Color | number | string | Resource | undefined - if (offDayMarkColor_buf__selector == 0) { - offDayMarkColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + const color_buf__selector : int32 = valueDeserializer.readInt8() + let color_buf_ : Color | number | string | Resource | undefined + if (color_buf__selector == 0) { + color_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (offDayMarkColor_buf__selector == 1) { - offDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) } - else if (offDayMarkColor_buf__selector == 2) { - offDayMarkColor_buf_ = (valueDeserializer.readString() as string) + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) } - else if (offDayMarkColor_buf__selector == 3) { - offDayMarkColor_buf_ = valueDeserializer.readResource() + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offDayMarkColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - offDayMarkColor_buf = (offDayMarkColor_buf_ as Color | number | string | Resource) + color_buf = (color_buf_ as Color | number | string | Resource) } - const offDayMarkColor_result : ResourceColor | undefined = offDayMarkColor_buf - const workDayMarkSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let workDayMarkSize_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (workDayMarkSize_buf_runtimeType)) + const color_result : ResourceColor | undefined = color_buf + const decoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let decoration_buf : DecorationStyleInterface | undefined + if ((RuntimeType.UNDEFINED) != (decoration_buf_runtimeType)) + { + decoration_buf = valueDeserializer.readDecorationStyleInterface() + } + const decoration_result : DecorationStyleInterface | undefined = decoration_buf + let value : TextDataDetectorConfig = ({types: types_result, onDetectResultUpdate: onDetectResultUpdate_result, color: color_result, decoration: decoration_result} as TextDataDetectorConfig) + return value + } + public readTipsOptions(): TipsOptions { + let valueDeserializer : Deserializer = this + const appearingTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let appearingTime_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (appearingTime_buf_runtimeType)) + { + appearingTime_buf = (valueDeserializer.readNumber() as number) + } + const appearingTime_result : number | undefined = appearingTime_buf + const disappearingTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disappearingTime_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (disappearingTime_buf_runtimeType)) { - workDayMarkSize_buf = (valueDeserializer.readNumber() as number) + disappearingTime_buf = (valueDeserializer.readNumber() as number) } - const workDayMarkSize_result : number | undefined = workDayMarkSize_buf - const offDayMarkSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offDayMarkSize_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (offDayMarkSize_buf_runtimeType)) + const disappearingTime_result : number | undefined = disappearingTime_buf + const appearingTimeWithContinuousOperation_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let appearingTimeWithContinuousOperation_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (appearingTimeWithContinuousOperation_buf_runtimeType)) { - offDayMarkSize_buf = (valueDeserializer.readNumber() as number) + appearingTimeWithContinuousOperation_buf = (valueDeserializer.readNumber() as number) } - const offDayMarkSize_result : number | undefined = offDayMarkSize_buf - const workStateWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let workStateWidth_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (workStateWidth_buf_runtimeType)) + const appearingTimeWithContinuousOperation_result : number | undefined = appearingTimeWithContinuousOperation_buf + const disappearingTimeWithContinuousOperation_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disappearingTimeWithContinuousOperation_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (disappearingTimeWithContinuousOperation_buf_runtimeType)) { - workStateWidth_buf = (valueDeserializer.readNumber() as number) + disappearingTimeWithContinuousOperation_buf = (valueDeserializer.readNumber() as number) } - const workStateWidth_result : number | undefined = workStateWidth_buf - const workStateHorizontalMovingDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let workStateHorizontalMovingDistance_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (workStateHorizontalMovingDistance_buf_runtimeType)) + const disappearingTimeWithContinuousOperation_result : number | undefined = disappearingTimeWithContinuousOperation_buf + const enableArrow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableArrow_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableArrow_buf_runtimeType)) { - workStateHorizontalMovingDistance_buf = (valueDeserializer.readNumber() as number) + enableArrow_buf = valueDeserializer.readBoolean() } - const workStateHorizontalMovingDistance_result : number | undefined = workStateHorizontalMovingDistance_buf - const workStateVerticalMovingDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let workStateVerticalMovingDistance_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (workStateVerticalMovingDistance_buf_runtimeType)) + const enableArrow_result : boolean | undefined = enableArrow_buf + const arrowPointPosition_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let arrowPointPosition_buf : ArrowPointPosition | undefined + if ((RuntimeType.UNDEFINED) != (arrowPointPosition_buf_runtimeType)) { - workStateVerticalMovingDistance_buf = (valueDeserializer.readNumber() as number) + arrowPointPosition_buf = TypeChecker.ArrowPointPosition_FromNumeric(valueDeserializer.readInt32()) } - const workStateVerticalMovingDistance_result : number | undefined = workStateVerticalMovingDistance_buf - let value : WorkStateStyle = ({workDayMarkColor: workDayMarkColor_result, offDayMarkColor: offDayMarkColor_result, workDayMarkSize: workDayMarkSize_result, offDayMarkSize: offDayMarkSize_result, workStateWidth: workStateWidth_result, workStateHorizontalMovingDistance: workStateHorizontalMovingDistance_result, workStateVerticalMovingDistance: workStateVerticalMovingDistance_result} as WorkStateStyle) - return value - } - readXComponentOptions(): XComponentOptions { - let valueDeserializer : Deserializer = this - const type_result : XComponentType = TypeChecker.XComponentType_FromNumeric(valueDeserializer.readInt32()) - const controller_result : XComponentController = (valueDeserializer.readXComponentController() as XComponentController) - const imageAIOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let imageAIOptions_buf : ImageAIOptions | undefined - if ((RuntimeType.UNDEFINED) != (imageAIOptions_buf_runtimeType)) + const arrowPointPosition_result : ArrowPointPosition | undefined = arrowPointPosition_buf + const arrowWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let arrowWidth_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (arrowWidth_buf_runtimeType)) { - imageAIOptions_buf = valueDeserializer.readImageAIOptions() + const arrowWidth_buf__selector : int32 = valueDeserializer.readInt8() + let arrowWidth_buf_ : string | number | Resource | undefined + if (arrowWidth_buf__selector == 0) { + arrowWidth_buf_ = (valueDeserializer.readString() as string) + } + else if (arrowWidth_buf__selector == 1) { + arrowWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (arrowWidth_buf__selector == 2) { + arrowWidth_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for arrowWidth_buf_ has to be chosen through deserialisation.") + } + arrowWidth_buf = (arrowWidth_buf_ as string | number | Resource) } - const imageAIOptions_result : ImageAIOptions | undefined = imageAIOptions_buf - let value : XComponentOptions = ({type: type_result, controller: controller_result, imageAIOptions: imageAIOptions_result} as XComponentOptions) + const arrowWidth_result : Dimension | undefined = arrowWidth_buf + const arrowHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let arrowHeight_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (arrowHeight_buf_runtimeType)) + { + const arrowHeight_buf__selector : int32 = valueDeserializer.readInt8() + let arrowHeight_buf_ : string | number | Resource | undefined + if (arrowHeight_buf__selector == 0) { + arrowHeight_buf_ = (valueDeserializer.readString() as string) + } + else if (arrowHeight_buf__selector == 1) { + arrowHeight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (arrowHeight_buf__selector == 2) { + arrowHeight_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for arrowHeight_buf_ has to be chosen through deserialisation.") + } + arrowHeight_buf = (arrowHeight_buf_ as string | number | Resource) + } + const arrowHeight_result : Dimension | undefined = arrowHeight_buf + let value : TipsOptions = ({appearingTime: appearingTime_result, disappearingTime: disappearingTime_result, appearingTimeWithContinuousOperation: appearingTimeWithContinuousOperation_result, disappearingTimeWithContinuousOperation: disappearingTimeWithContinuousOperation_result, enableArrow: enableArrow_result, arrowPointPosition: arrowPointPosition_result, arrowWidth: arrowWidth_result, arrowHeight: arrowHeight_result} as TipsOptions) return value } - readActionSheetOptions(): ActionSheetOptions { + public readActionSheetOptions(): ActionSheetOptions { let valueDeserializer : Deserializer = this const title_buf_selector : int32 = valueDeserializer.readInt8() let title_buf : string | Resource | undefined @@ -19431,6 +22234,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onWillDismiss_buf : ((parameter: DismissDialogAction) => void) | undefined if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) @@ -19469,91 +22286,7 @@ export class Deserializer extends DeserializerBase { cornerRadius_buf_ = (cornerRadius_buf__u as string | number | Resource) } else if (cornerRadius_buf__selector == 1) { - const cornerRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topLeft_buf = (cornerRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topLeft : undefined | Length = cornerRadius_buf__u_topLeft_buf - const cornerRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const cornerRadius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topRight_buf = (cornerRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topRight : undefined | Length = cornerRadius_buf__u_topRight_buf - const cornerRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomLeft_buf = (cornerRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomLeft : undefined | Length = cornerRadius_buf__u_bottomLeft_buf - const cornerRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomRight_buf = (cornerRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomRight : undefined | Length = cornerRadius_buf__u_bottomRight_buf - cornerRadius_buf_ = ({topLeft: cornerRadius_buf__u_topLeft, topRight: cornerRadius_buf__u_topRight, bottomLeft: cornerRadius_buf__u_bottomLeft, bottomRight: cornerRadius_buf__u_bottomRight} as BorderRadiuses) + cornerRadius_buf_ = valueDeserializer.readBorderRadiuses() } else if (cornerRadius_buf__selector == 2) { cornerRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() @@ -19630,91 +22363,7 @@ export class Deserializer extends DeserializerBase { borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) } else if (borderWidth_buf__selector == 1) { - const borderWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const borderWidth_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_top_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_top_buf = (borderWidth_buf__u_top_buf_ as string | number | Resource) - } - const borderWidth_buf__u_top : undefined | Length = borderWidth_buf__u_top_buf - const borderWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const borderWidth_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_right_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_right_buf = (borderWidth_buf__u_right_buf_ as string | number | Resource) - } - const borderWidth_buf__u_right : undefined | Length = borderWidth_buf__u_right_buf - const borderWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const borderWidth_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_bottom_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_bottom_buf = (borderWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const borderWidth_buf__u_bottom : undefined | Length = borderWidth_buf__u_bottom_buf - const borderWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const borderWidth_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_left_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_left_buf = (borderWidth_buf__u_left_buf_ as string | number | Resource) - } - const borderWidth_buf__u_left : undefined | Length = borderWidth_buf__u_left_buf - borderWidth_buf_ = ({top: borderWidth_buf__u_top, right: borderWidth_buf__u_right, bottom: borderWidth_buf__u_bottom, left: borderWidth_buf__u_left} as EdgeWidths) + borderWidth_buf_ = valueDeserializer.readEdgeWidths() } else if (borderWidth_buf__selector == 2) { borderWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -19752,103 +22401,7 @@ export class Deserializer extends DeserializerBase { borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) } else if (borderColor_buf__selector == 1) { - const borderColor_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_top_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const borderColor_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_top_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_top_buf = (borderColor_buf__u_top_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_top : undefined | ResourceColor = borderColor_buf__u_top_buf - const borderColor_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_right_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const borderColor_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_right_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_right_buf = (borderColor_buf__u_right_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_right : undefined | ResourceColor = borderColor_buf__u_right_buf - const borderColor_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_bottom_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const borderColor_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_bottom_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_bottom_buf = (borderColor_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_bottom : undefined | ResourceColor = borderColor_buf__u_bottom_buf - const borderColor_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_left_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const borderColor_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_left_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_left_buf = (borderColor_buf__u_left_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_left : undefined | ResourceColor = borderColor_buf__u_left_buf - borderColor_buf_ = ({top: borderColor_buf__u_top, right: borderColor_buf__u_right, bottom: borderColor_buf__u_bottom, left: borderColor_buf__u_left} as EdgeColors) + borderColor_buf_ = valueDeserializer.readEdgeColors() } else if (borderColor_buf__selector == 2) { borderColor_buf_ = valueDeserializer.readLocalizedEdgeColors() @@ -19909,10 +22462,66 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = TypeChecker.HoverModeAreaType_FromNumeric(valueDeserializer.readInt32()) } const hoverModeArea_result : HoverModeAreaType | undefined = hoverModeArea_buf - let value : ActionSheetOptions = ({title: title_result, subtitle: subtitle_result, message: message_result, confirm: confirm_result, cancel: cancel_result, sheets: sheets_result, autoCancel: autoCancel_result, alignment: alignment_result, offset: offset_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result} as ActionSheetOptions) + const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf = valueDeserializer.readCallback_Void() + } + const onDidAppear_result : (() => void) | undefined = onDidAppear_buf + const onDidDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDidDisappear_result : (() => void) | undefined = onDidDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result : (() => void) | undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result : (() => void) | undefined = onWillDisappear_buf + const levelMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelMode_buf : LevelMode | undefined + if ((RuntimeType.UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf = valueDeserializer.readLevelMode() + } + const levelMode_result : LevelMode | undefined = levelMode_buf + const levelUniqueId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelUniqueId_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf = (valueDeserializer.readNumber() as number) + } + const levelUniqueId_result : number | undefined = levelUniqueId_buf + const immersiveMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let immersiveMode_buf : ImmersiveMode | undefined + if ((RuntimeType.UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf = valueDeserializer.readImmersiveMode() + } + const immersiveMode_result : ImmersiveMode | undefined = immersiveMode_buf + const levelOrder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelOrder_buf : LevelOrder | undefined + if ((RuntimeType.UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf = valueDeserializer.readLevelOrder() + } + const levelOrder_result : LevelOrder | undefined = levelOrder_buf + let value : ActionSheetOptions = ({title: title_result, subtitle: subtitle_result, message: message_result, confirm: confirm_result, cancel: cancel_result, sheets: sheets_result, autoCancel: autoCancel_result, alignment: alignment_result, offset: offset_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, levelMode: levelMode_result, levelUniqueId: levelUniqueId_result, immersiveMode: immersiveMode_result, levelOrder: levelOrder_result} as ActionSheetOptions) return value } - readAlertDialogParamWithButtons(): AlertDialogParamWithButtons { + public readAlertDialogParamWithButtons(): AlertDialogParamWithButtons { let valueDeserializer : Deserializer = this const title_buf_runtimeType = (valueDeserializer.readInt8() as int32) let title_buf : ResourceStr | undefined @@ -19987,37 +22596,7 @@ export class Deserializer extends DeserializerBase { let offset_buf : Offset | undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dx_buf : string | number | Resource | undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx : Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dy_buf : string | number | Resource | undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy : Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result : Offset | undefined = offset_buf const gridCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -20079,6 +22658,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onWillDismiss_buf : ((parameter: DismissDialogAction) => void) | undefined if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) @@ -20114,94 +22707,10 @@ export class Deserializer extends DeserializerBase { else { throw new Error("One of the branches for cornerRadius_buf__u has to be chosen through deserialisation.") } - cornerRadius_buf_ = (cornerRadius_buf__u as string | number | Resource) - } - else if (cornerRadius_buf__selector == 1) { - const cornerRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topLeft_buf = (cornerRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topLeft : undefined | Length = cornerRadius_buf__u_topLeft_buf - const cornerRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const cornerRadius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topRight_buf = (cornerRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topRight : undefined | Length = cornerRadius_buf__u_topRight_buf - const cornerRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomLeft_buf = (cornerRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomLeft : undefined | Length = cornerRadius_buf__u_bottomLeft_buf - const cornerRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomRight_buf = (cornerRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomRight : undefined | Length = cornerRadius_buf__u_bottomRight_buf - cornerRadius_buf_ = ({topLeft: cornerRadius_buf__u_topLeft, topRight: cornerRadius_buf__u_topRight, bottomLeft: cornerRadius_buf__u_bottomLeft, bottomRight: cornerRadius_buf__u_bottomRight} as BorderRadiuses) + cornerRadius_buf_ = (cornerRadius_buf__u as string | number | Resource) + } + else if (cornerRadius_buf__selector == 1) { + cornerRadius_buf_ = valueDeserializer.readBorderRadiuses() } else if (cornerRadius_buf__selector == 2) { cornerRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() @@ -20278,91 +22787,7 @@ export class Deserializer extends DeserializerBase { borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) } else if (borderWidth_buf__selector == 1) { - const borderWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const borderWidth_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_top_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_top_buf = (borderWidth_buf__u_top_buf_ as string | number | Resource) - } - const borderWidth_buf__u_top : undefined | Length = borderWidth_buf__u_top_buf - const borderWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const borderWidth_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_right_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_right_buf = (borderWidth_buf__u_right_buf_ as string | number | Resource) - } - const borderWidth_buf__u_right : undefined | Length = borderWidth_buf__u_right_buf - const borderWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const borderWidth_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_bottom_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_bottom_buf = (borderWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const borderWidth_buf__u_bottom : undefined | Length = borderWidth_buf__u_bottom_buf - const borderWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const borderWidth_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_left_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_left_buf = (borderWidth_buf__u_left_buf_ as string | number | Resource) - } - const borderWidth_buf__u_left : undefined | Length = borderWidth_buf__u_left_buf - borderWidth_buf_ = ({top: borderWidth_buf__u_top, right: borderWidth_buf__u_right, bottom: borderWidth_buf__u_bottom, left: borderWidth_buf__u_left} as EdgeWidths) + borderWidth_buf_ = valueDeserializer.readEdgeWidths() } else if (borderWidth_buf__selector == 2) { borderWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -20400,103 +22825,7 @@ export class Deserializer extends DeserializerBase { borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) } else if (borderColor_buf__selector == 1) { - const borderColor_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_top_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const borderColor_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_top_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_top_buf = (borderColor_buf__u_top_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_top : undefined | ResourceColor = borderColor_buf__u_top_buf - const borderColor_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_right_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const borderColor_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_right_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_right_buf = (borderColor_buf__u_right_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_right : undefined | ResourceColor = borderColor_buf__u_right_buf - const borderColor_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_bottom_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const borderColor_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_bottom_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_bottom_buf = (borderColor_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_bottom : undefined | ResourceColor = borderColor_buf__u_bottom_buf - const borderColor_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_left_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const borderColor_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_left_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_left_buf = (borderColor_buf__u_left_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_left : undefined | ResourceColor = borderColor_buf__u_left_buf - borderColor_buf_ = ({top: borderColor_buf__u_top, right: borderColor_buf__u_right, bottom: borderColor_buf__u_bottom, left: borderColor_buf__u_left} as EdgeColors) + borderColor_buf_ = valueDeserializer.readEdgeColors() } else if (borderColor_buf__selector == 2) { borderColor_buf_ = valueDeserializer.readLocalizedEdgeColors() @@ -20564,12 +22893,68 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = TypeChecker.HoverModeAreaType_FromNumeric(valueDeserializer.readInt32()) } const hoverModeArea_result : HoverModeAreaType | undefined = hoverModeArea_buf + const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf = valueDeserializer.readCallback_Void() + } + const onDidAppear_result : (() => void) | undefined = onDidAppear_buf + const onDidDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDidDisappear_result : (() => void) | undefined = onDidDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result : (() => void) | undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result : (() => void) | undefined = onWillDisappear_buf + const levelMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelMode_buf : LevelMode | undefined + if ((RuntimeType.UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf = valueDeserializer.readLevelMode() + } + const levelMode_result : LevelMode | undefined = levelMode_buf + const levelUniqueId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelUniqueId_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf = (valueDeserializer.readNumber() as number) + } + const levelUniqueId_result : number | undefined = levelUniqueId_buf + const immersiveMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let immersiveMode_buf : ImmersiveMode | undefined + if ((RuntimeType.UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf = valueDeserializer.readImmersiveMode() + } + const immersiveMode_result : ImmersiveMode | undefined = immersiveMode_buf + const levelOrder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelOrder_buf : LevelOrder | undefined + if ((RuntimeType.UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf = valueDeserializer.readLevelOrder() + } + const levelOrder_result : LevelOrder | undefined = levelOrder_buf const primaryButton_result : AlertDialogButtonBaseOptions = valueDeserializer.readAlertDialogButtonBaseOptions() const secondaryButton_result : AlertDialogButtonBaseOptions = valueDeserializer.readAlertDialogButtonBaseOptions() - let value : AlertDialogParamWithButtons = ({title: title_result, subtitle: subtitle_result, message: message_result, autoCancel: autoCancel_result, cancel: cancel_result, alignment: alignment_result, offset: offset_result, gridCount: gridCount_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, textStyle: textStyle_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, primaryButton: primaryButton_result, secondaryButton: secondaryButton_result} as AlertDialogParamWithButtons) + let value : AlertDialogParamWithButtons = ({title: title_result, subtitle: subtitle_result, message: message_result, autoCancel: autoCancel_result, cancel: cancel_result, alignment: alignment_result, offset: offset_result, gridCount: gridCount_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, textStyle: textStyle_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, levelMode: levelMode_result, levelUniqueId: levelUniqueId_result, immersiveMode: immersiveMode_result, levelOrder: levelOrder_result, primaryButton: primaryButton_result, secondaryButton: secondaryButton_result} as AlertDialogParamWithButtons) return value } - readAlertDialogParamWithConfirm(): AlertDialogParamWithConfirm { + public readAlertDialogParamWithConfirm(): AlertDialogParamWithConfirm { let valueDeserializer : Deserializer = this const title_buf_runtimeType = (valueDeserializer.readInt8() as int32) let title_buf : ResourceStr | undefined @@ -20644,37 +23029,7 @@ export class Deserializer extends DeserializerBase { let offset_buf : Offset | undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dx_buf : string | number | Resource | undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx : Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dy_buf : string | number | Resource | undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy : Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result : Offset | undefined = offset_buf const gridCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -20736,6 +23091,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onWillDismiss_buf : ((parameter: DismissDialogAction) => void) | undefined if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) @@ -20774,91 +23143,7 @@ export class Deserializer extends DeserializerBase { cornerRadius_buf_ = (cornerRadius_buf__u as string | number | Resource) } else if (cornerRadius_buf__selector == 1) { - const cornerRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topLeft_buf = (cornerRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topLeft : undefined | Length = cornerRadius_buf__u_topLeft_buf - const cornerRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const cornerRadius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topRight_buf = (cornerRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topRight : undefined | Length = cornerRadius_buf__u_topRight_buf - const cornerRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomLeft_buf = (cornerRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomLeft : undefined | Length = cornerRadius_buf__u_bottomLeft_buf - const cornerRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomRight_buf = (cornerRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomRight : undefined | Length = cornerRadius_buf__u_bottomRight_buf - cornerRadius_buf_ = ({topLeft: cornerRadius_buf__u_topLeft, topRight: cornerRadius_buf__u_topRight, bottomLeft: cornerRadius_buf__u_bottomLeft, bottomRight: cornerRadius_buf__u_bottomRight} as BorderRadiuses) + cornerRadius_buf_ = valueDeserializer.readBorderRadiuses() } else if (cornerRadius_buf__selector == 2) { cornerRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() @@ -20935,91 +23220,7 @@ export class Deserializer extends DeserializerBase { borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) } else if (borderWidth_buf__selector == 1) { - const borderWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const borderWidth_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_top_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_top_buf = (borderWidth_buf__u_top_buf_ as string | number | Resource) - } - const borderWidth_buf__u_top : undefined | Length = borderWidth_buf__u_top_buf - const borderWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const borderWidth_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_right_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_right_buf = (borderWidth_buf__u_right_buf_ as string | number | Resource) - } - const borderWidth_buf__u_right : undefined | Length = borderWidth_buf__u_right_buf - const borderWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const borderWidth_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_bottom_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_bottom_buf = (borderWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const borderWidth_buf__u_bottom : undefined | Length = borderWidth_buf__u_bottom_buf - const borderWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const borderWidth_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_left_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_left_buf = (borderWidth_buf__u_left_buf_ as string | number | Resource) - } - const borderWidth_buf__u_left : undefined | Length = borderWidth_buf__u_left_buf - borderWidth_buf_ = ({top: borderWidth_buf__u_top, right: borderWidth_buf__u_right, bottom: borderWidth_buf__u_bottom, left: borderWidth_buf__u_left} as EdgeWidths) + borderWidth_buf_ = valueDeserializer.readEdgeWidths() } else if (borderWidth_buf__selector == 2) { borderWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -21057,103 +23258,7 @@ export class Deserializer extends DeserializerBase { borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) } else if (borderColor_buf__selector == 1) { - const borderColor_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_top_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const borderColor_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_top_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_top_buf = (borderColor_buf__u_top_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_top : undefined | ResourceColor = borderColor_buf__u_top_buf - const borderColor_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_right_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const borderColor_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_right_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_right_buf = (borderColor_buf__u_right_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_right : undefined | ResourceColor = borderColor_buf__u_right_buf - const borderColor_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_bottom_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const borderColor_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_bottom_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_bottom_buf = (borderColor_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_bottom : undefined | ResourceColor = borderColor_buf__u_bottom_buf - const borderColor_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_left_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const borderColor_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_left_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_left_buf = (borderColor_buf__u_left_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_left : undefined | ResourceColor = borderColor_buf__u_left_buf - borderColor_buf_ = ({top: borderColor_buf__u_top, right: borderColor_buf__u_right, bottom: borderColor_buf__u_bottom, left: borderColor_buf__u_left} as EdgeColors) + borderColor_buf_ = valueDeserializer.readEdgeColors() } else if (borderColor_buf__selector == 2) { borderColor_buf_ = valueDeserializer.readLocalizedEdgeColors() @@ -21221,6 +23326,62 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = TypeChecker.HoverModeAreaType_FromNumeric(valueDeserializer.readInt32()) } const hoverModeArea_result : HoverModeAreaType | undefined = hoverModeArea_buf + const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf = valueDeserializer.readCallback_Void() + } + const onDidAppear_result : (() => void) | undefined = onDidAppear_buf + const onDidDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDidDisappear_result : (() => void) | undefined = onDidDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result : (() => void) | undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result : (() => void) | undefined = onWillDisappear_buf + const levelMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelMode_buf : LevelMode | undefined + if ((RuntimeType.UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf = valueDeserializer.readLevelMode() + } + const levelMode_result : LevelMode | undefined = levelMode_buf + const levelUniqueId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelUniqueId_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf = (valueDeserializer.readNumber() as number) + } + const levelUniqueId_result : number | undefined = levelUniqueId_buf + const immersiveMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let immersiveMode_buf : ImmersiveMode | undefined + if ((RuntimeType.UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf = valueDeserializer.readImmersiveMode() + } + const immersiveMode_result : ImmersiveMode | undefined = immersiveMode_buf + const levelOrder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelOrder_buf : LevelOrder | undefined + if ((RuntimeType.UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf = valueDeserializer.readLevelOrder() + } + const levelOrder_result : LevelOrder | undefined = levelOrder_buf const confirm_buf_runtimeType = (valueDeserializer.readInt8() as int32) let confirm_buf : AlertDialogButtonBaseOptions | undefined if ((RuntimeType.UNDEFINED) != (confirm_buf_runtimeType)) @@ -21228,10 +23389,10 @@ export class Deserializer extends DeserializerBase { confirm_buf = valueDeserializer.readAlertDialogButtonBaseOptions() } const confirm_result : AlertDialogButtonBaseOptions | undefined = confirm_buf - let value : AlertDialogParamWithConfirm = ({title: title_result, subtitle: subtitle_result, message: message_result, autoCancel: autoCancel_result, cancel: cancel_result, alignment: alignment_result, offset: offset_result, gridCount: gridCount_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, textStyle: textStyle_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, confirm: confirm_result} as AlertDialogParamWithConfirm) + let value : AlertDialogParamWithConfirm = ({title: title_result, subtitle: subtitle_result, message: message_result, autoCancel: autoCancel_result, cancel: cancel_result, alignment: alignment_result, offset: offset_result, gridCount: gridCount_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, textStyle: textStyle_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, levelMode: levelMode_result, levelUniqueId: levelUniqueId_result, immersiveMode: immersiveMode_result, levelOrder: levelOrder_result, confirm: confirm_result} as AlertDialogParamWithConfirm) return value } - readAlertDialogParamWithOptions(): AlertDialogParamWithOptions { + public readAlertDialogParamWithOptions(): AlertDialogParamWithOptions { let valueDeserializer : Deserializer = this const title_buf_runtimeType = (valueDeserializer.readInt8() as int32) let title_buf : ResourceStr | undefined @@ -21297,46 +23458,16 @@ export class Deserializer extends DeserializerBase { const cancel_result : VoidCallback | undefined = cancel_buf const alignment_buf_runtimeType = (valueDeserializer.readInt8() as int32) let alignment_buf : DialogAlignment | undefined - if ((RuntimeType.UNDEFINED) != (alignment_buf_runtimeType)) - { - alignment_buf = TypeChecker.DialogAlignment_FromNumeric(valueDeserializer.readInt32()) - } - const alignment_result : DialogAlignment | undefined = alignment_buf - const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offset_buf : Offset | undefined - if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) - { - const offset_buf__dx_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dx_buf : string | number | Resource | undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx : Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dy_buf : string | number | Resource | undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy : Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + if ((RuntimeType.UNDEFINED) != (alignment_buf_runtimeType)) + { + alignment_buf = TypeChecker.DialogAlignment_FromNumeric(valueDeserializer.readInt32()) + } + const alignment_result : DialogAlignment | undefined = alignment_buf + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf : Offset | undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) + { + offset_buf = valueDeserializer.readOffset() } const offset_result : Offset | undefined = offset_buf const gridCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -21398,6 +23529,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onWillDismiss_buf : ((parameter: DismissDialogAction) => void) | undefined if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) @@ -21436,91 +23581,7 @@ export class Deserializer extends DeserializerBase { cornerRadius_buf_ = (cornerRadius_buf__u as string | number | Resource) } else if (cornerRadius_buf__selector == 1) { - const cornerRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topLeft_buf = (cornerRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topLeft : undefined | Length = cornerRadius_buf__u_topLeft_buf - const cornerRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const cornerRadius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topRight_buf = (cornerRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topRight : undefined | Length = cornerRadius_buf__u_topRight_buf - const cornerRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomLeft_buf = (cornerRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomLeft : undefined | Length = cornerRadius_buf__u_bottomLeft_buf - const cornerRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomRight_buf = (cornerRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomRight : undefined | Length = cornerRadius_buf__u_bottomRight_buf - cornerRadius_buf_ = ({topLeft: cornerRadius_buf__u_topLeft, topRight: cornerRadius_buf__u_topRight, bottomLeft: cornerRadius_buf__u_bottomLeft, bottomRight: cornerRadius_buf__u_bottomRight} as BorderRadiuses) + cornerRadius_buf_ = valueDeserializer.readBorderRadiuses() } else if (cornerRadius_buf__selector == 2) { cornerRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() @@ -21597,91 +23658,7 @@ export class Deserializer extends DeserializerBase { borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) } else if (borderWidth_buf__selector == 1) { - const borderWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const borderWidth_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_top_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_top_buf = (borderWidth_buf__u_top_buf_ as string | number | Resource) - } - const borderWidth_buf__u_top : undefined | Length = borderWidth_buf__u_top_buf - const borderWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const borderWidth_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_right_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_right_buf = (borderWidth_buf__u_right_buf_ as string | number | Resource) - } - const borderWidth_buf__u_right : undefined | Length = borderWidth_buf__u_right_buf - const borderWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const borderWidth_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_bottom_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_bottom_buf = (borderWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const borderWidth_buf__u_bottom : undefined | Length = borderWidth_buf__u_bottom_buf - const borderWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const borderWidth_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_left_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_left_buf = (borderWidth_buf__u_left_buf_ as string | number | Resource) - } - const borderWidth_buf__u_left : undefined | Length = borderWidth_buf__u_left_buf - borderWidth_buf_ = ({top: borderWidth_buf__u_top, right: borderWidth_buf__u_right, bottom: borderWidth_buf__u_bottom, left: borderWidth_buf__u_left} as EdgeWidths) + borderWidth_buf_ = valueDeserializer.readEdgeWidths() } else if (borderWidth_buf__selector == 2) { borderWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -21719,103 +23696,7 @@ export class Deserializer extends DeserializerBase { borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) } else if (borderColor_buf__selector == 1) { - const borderColor_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_top_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const borderColor_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_top_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_top_buf = (borderColor_buf__u_top_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_top : undefined | ResourceColor = borderColor_buf__u_top_buf - const borderColor_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_right_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const borderColor_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_right_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_right_buf = (borderColor_buf__u_right_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_right : undefined | ResourceColor = borderColor_buf__u_right_buf - const borderColor_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_bottom_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const borderColor_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_bottom_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_bottom_buf = (borderColor_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_bottom : undefined | ResourceColor = borderColor_buf__u_bottom_buf - const borderColor_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_left_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const borderColor_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_left_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_left_buf = (borderColor_buf__u_left_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_left : undefined | ResourceColor = borderColor_buf__u_left_buf - borderColor_buf_ = ({top: borderColor_buf__u_top, right: borderColor_buf__u_right, bottom: borderColor_buf__u_bottom, left: borderColor_buf__u_left} as EdgeColors) + borderColor_buf_ = valueDeserializer.readEdgeColors() } else if (borderColor_buf__selector == 2) { borderColor_buf_ = valueDeserializer.readLocalizedEdgeColors() @@ -21883,6 +23764,62 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = TypeChecker.HoverModeAreaType_FromNumeric(valueDeserializer.readInt32()) } const hoverModeArea_result : HoverModeAreaType | undefined = hoverModeArea_buf + const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf = valueDeserializer.readCallback_Void() + } + const onDidAppear_result : (() => void) | undefined = onDidAppear_buf + const onDidDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDidDisappear_result : (() => void) | undefined = onDidDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result : (() => void) | undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result : (() => void) | undefined = onWillDisappear_buf + const levelMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelMode_buf : LevelMode | undefined + if ((RuntimeType.UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf = valueDeserializer.readLevelMode() + } + const levelMode_result : LevelMode | undefined = levelMode_buf + const levelUniqueId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelUniqueId_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf = (valueDeserializer.readNumber() as number) + } + const levelUniqueId_result : number | undefined = levelUniqueId_buf + const immersiveMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let immersiveMode_buf : ImmersiveMode | undefined + if ((RuntimeType.UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf = valueDeserializer.readImmersiveMode() + } + const immersiveMode_result : ImmersiveMode | undefined = immersiveMode_buf + const levelOrder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelOrder_buf : LevelOrder | undefined + if ((RuntimeType.UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf = valueDeserializer.readLevelOrder() + } + const levelOrder_result : LevelOrder | undefined = levelOrder_buf const buttons_buf_length : int32 = valueDeserializer.readInt32() let buttons_buf : Array = new Array(buttons_buf_length) for (let buttons_buf_i = 0; buttons_buf_i < buttons_buf_length; buttons_buf_i++) { @@ -21896,10 +23833,10 @@ export class Deserializer extends DeserializerBase { buttonDirection_buf = TypeChecker.DialogButtonDirection_FromNumeric(valueDeserializer.readInt32()) } const buttonDirection_result : DialogButtonDirection | undefined = buttonDirection_buf - let value : AlertDialogParamWithOptions = ({title: title_result, subtitle: subtitle_result, message: message_result, autoCancel: autoCancel_result, cancel: cancel_result, alignment: alignment_result, offset: offset_result, gridCount: gridCount_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, textStyle: textStyle_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, buttons: buttons_result, buttonDirection: buttonDirection_result} as AlertDialogParamWithOptions) + let value : AlertDialogParamWithOptions = ({title: title_result, subtitle: subtitle_result, message: message_result, autoCancel: autoCancel_result, cancel: cancel_result, alignment: alignment_result, offset: offset_result, gridCount: gridCount_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, textStyle: textStyle_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, levelMode: levelMode_result, levelUniqueId: levelUniqueId_result, immersiveMode: immersiveMode_result, levelOrder: levelOrder_result, buttons: buttons_result, buttonDirection: buttonDirection_result} as AlertDialogParamWithOptions) return value } - readArea(): Area { + public readArea(): Area { let valueDeserializer : Deserializer = this const width_buf_selector : int32 = valueDeserializer.readInt8() let width_buf : string | number | Resource | undefined @@ -21936,7 +23873,7 @@ export class Deserializer extends DeserializerBase { let value : Area = ({width: width_result, height: height_result, position: position_result, globalPosition: globalPosition_result} as Area) return value } - readBadgeParamWithNumber(): BadgeParamWithNumber { + public readBadgeParamWithNumber(): BadgeParamWithNumber { let valueDeserializer : Deserializer = this const position_buf_runtimeType = (valueDeserializer.readInt8() as int32) let position_buf : BadgePosition | Position | undefined @@ -21968,7 +23905,7 @@ export class Deserializer extends DeserializerBase { let value : BadgeParamWithNumber = ({position: position_result, style: style_result, count: count_result, maxCount: maxCount_result} as BadgeParamWithNumber) return value } - readBadgeParamWithString(): BadgeParamWithString { + public readBadgeParamWithString(): BadgeParamWithString { let valueDeserializer : Deserializer = this const position_buf_runtimeType = (valueDeserializer.readInt8() as int32) let position_buf : BadgePosition | Position | undefined @@ -21993,7 +23930,7 @@ export class Deserializer extends DeserializerBase { let value : BadgeParamWithString = ({position: position_result, style: style_result, value: value_result} as BadgeParamWithString) return value } - readBorderImageOption(): BorderImageOption { + public readBorderImageOption(): BorderImageOption { let valueDeserializer : Deserializer = this const slice_buf_runtimeType = (valueDeserializer.readInt8() as int32) let slice_buf : Length | EdgeWidths | LocalizedEdgeWidths | undefined @@ -22019,91 +23956,7 @@ export class Deserializer extends DeserializerBase { slice_buf_ = (slice_buf__u as string | number | Resource) } else if (slice_buf__selector == 1) { - const slice_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__u_top_buf_runtimeType)) - { - const slice_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let slice_buf__u_top_buf_ : string | number | Resource | undefined - if (slice_buf__u_top_buf__selector == 0) { - slice_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (slice_buf__u_top_buf__selector == 1) { - slice_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (slice_buf__u_top_buf__selector == 2) { - slice_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for slice_buf__u_top_buf_ has to be chosen through deserialisation.") - } - slice_buf__u_top_buf = (slice_buf__u_top_buf_ as string | number | Resource) - } - const slice_buf__u_top : undefined | Length = slice_buf__u_top_buf - const slice_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__u_right_buf_runtimeType)) - { - const slice_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let slice_buf__u_right_buf_ : string | number | Resource | undefined - if (slice_buf__u_right_buf__selector == 0) { - slice_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (slice_buf__u_right_buf__selector == 1) { - slice_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (slice_buf__u_right_buf__selector == 2) { - slice_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for slice_buf__u_right_buf_ has to be chosen through deserialisation.") - } - slice_buf__u_right_buf = (slice_buf__u_right_buf_ as string | number | Resource) - } - const slice_buf__u_right : undefined | Length = slice_buf__u_right_buf - const slice_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__u_bottom_buf_runtimeType)) - { - const slice_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let slice_buf__u_bottom_buf_ : string | number | Resource | undefined - if (slice_buf__u_bottom_buf__selector == 0) { - slice_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (slice_buf__u_bottom_buf__selector == 1) { - slice_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (slice_buf__u_bottom_buf__selector == 2) { - slice_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for slice_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - slice_buf__u_bottom_buf = (slice_buf__u_bottom_buf_ as string | number | Resource) - } - const slice_buf__u_bottom : undefined | Length = slice_buf__u_bottom_buf - const slice_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__u_left_buf_runtimeType)) - { - const slice_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let slice_buf__u_left_buf_ : string | number | Resource | undefined - if (slice_buf__u_left_buf__selector == 0) { - slice_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (slice_buf__u_left_buf__selector == 1) { - slice_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (slice_buf__u_left_buf__selector == 2) { - slice_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for slice_buf__u_left_buf_ has to be chosen through deserialisation.") - } - slice_buf__u_left_buf = (slice_buf__u_left_buf_ as string | number | Resource) - } - const slice_buf__u_left : undefined | Length = slice_buf__u_left_buf - slice_buf_ = ({top: slice_buf__u_top, right: slice_buf__u_right, bottom: slice_buf__u_bottom, left: slice_buf__u_left} as EdgeWidths) + slice_buf_ = valueDeserializer.readEdgeWidths() } else if (slice_buf__selector == 2) { slice_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -22166,91 +24019,7 @@ export class Deserializer extends DeserializerBase { width_buf_ = (width_buf__u as string | number | Resource) } else if (width_buf__selector == 1) { - const width_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_top_buf_runtimeType)) - { - const width_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf__u_top_buf_ : string | number | Resource | undefined - if (width_buf__u_top_buf__selector == 0) { - width_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_top_buf__selector == 1) { - width_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_top_buf__selector == 2) { - width_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_top_buf_ has to be chosen through deserialisation.") - } - width_buf__u_top_buf = (width_buf__u_top_buf_ as string | number | Resource) - } - const width_buf__u_top : undefined | Length = width_buf__u_top_buf - const width_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_right_buf_runtimeType)) - { - const width_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf__u_right_buf_ : string | number | Resource | undefined - if (width_buf__u_right_buf__selector == 0) { - width_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_right_buf__selector == 1) { - width_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_right_buf__selector == 2) { - width_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_right_buf_ has to be chosen through deserialisation.") - } - width_buf__u_right_buf = (width_buf__u_right_buf_ as string | number | Resource) - } - const width_buf__u_right : undefined | Length = width_buf__u_right_buf - const width_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_bottom_buf_runtimeType)) - { - const width_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf__u_bottom_buf_ : string | number | Resource | undefined - if (width_buf__u_bottom_buf__selector == 0) { - width_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_bottom_buf__selector == 1) { - width_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_bottom_buf__selector == 2) { - width_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - width_buf__u_bottom_buf = (width_buf__u_bottom_buf_ as string | number | Resource) - } - const width_buf__u_bottom : undefined | Length = width_buf__u_bottom_buf - const width_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_left_buf_runtimeType)) - { - const width_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf__u_left_buf_ : string | number | Resource | undefined - if (width_buf__u_left_buf__selector == 0) { - width_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_left_buf__selector == 1) { - width_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_left_buf__selector == 2) { - width_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_left_buf_ has to be chosen through deserialisation.") - } - width_buf__u_left_buf = (width_buf__u_left_buf_ as string | number | Resource) - } - const width_buf__u_left : undefined | Length = width_buf__u_left_buf - width_buf_ = ({top: width_buf__u_top, right: width_buf__u_right, bottom: width_buf__u_bottom, left: width_buf__u_left} as EdgeWidths) + width_buf_ = valueDeserializer.readEdgeWidths() } else if (width_buf__selector == 2) { width_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -22285,91 +24054,7 @@ export class Deserializer extends DeserializerBase { outset_buf_ = (outset_buf__u as string | number | Resource) } else if (outset_buf__selector == 1) { - const outset_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let outset_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (outset_buf__u_top_buf_runtimeType)) - { - const outset_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let outset_buf__u_top_buf_ : string | number | Resource | undefined - if (outset_buf__u_top_buf__selector == 0) { - outset_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (outset_buf__u_top_buf__selector == 1) { - outset_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (outset_buf__u_top_buf__selector == 2) { - outset_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for outset_buf__u_top_buf_ has to be chosen through deserialisation.") - } - outset_buf__u_top_buf = (outset_buf__u_top_buf_ as string | number | Resource) - } - const outset_buf__u_top : undefined | Length = outset_buf__u_top_buf - const outset_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let outset_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (outset_buf__u_right_buf_runtimeType)) - { - const outset_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let outset_buf__u_right_buf_ : string | number | Resource | undefined - if (outset_buf__u_right_buf__selector == 0) { - outset_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (outset_buf__u_right_buf__selector == 1) { - outset_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (outset_buf__u_right_buf__selector == 2) { - outset_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for outset_buf__u_right_buf_ has to be chosen through deserialisation.") - } - outset_buf__u_right_buf = (outset_buf__u_right_buf_ as string | number | Resource) - } - const outset_buf__u_right : undefined | Length = outset_buf__u_right_buf - const outset_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let outset_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (outset_buf__u_bottom_buf_runtimeType)) - { - const outset_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let outset_buf__u_bottom_buf_ : string | number | Resource | undefined - if (outset_buf__u_bottom_buf__selector == 0) { - outset_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (outset_buf__u_bottom_buf__selector == 1) { - outset_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (outset_buf__u_bottom_buf__selector == 2) { - outset_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for outset_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - outset_buf__u_bottom_buf = (outset_buf__u_bottom_buf_ as string | number | Resource) - } - const outset_buf__u_bottom : undefined | Length = outset_buf__u_bottom_buf - const outset_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let outset_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (outset_buf__u_left_buf_runtimeType)) - { - const outset_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let outset_buf__u_left_buf_ : string | number | Resource | undefined - if (outset_buf__u_left_buf__selector == 0) { - outset_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (outset_buf__u_left_buf__selector == 1) { - outset_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (outset_buf__u_left_buf__selector == 2) { - outset_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for outset_buf__u_left_buf_ has to be chosen through deserialisation.") - } - outset_buf__u_left_buf = (outset_buf__u_left_buf_ as string | number | Resource) - } - const outset_buf__u_left : undefined | Length = outset_buf__u_left_buf - outset_buf_ = ({top: outset_buf__u_top, right: outset_buf__u_right, bottom: outset_buf__u_bottom, left: outset_buf__u_left} as EdgeWidths) + outset_buf_ = valueDeserializer.readEdgeWidths() } else if (outset_buf__selector == 2) { outset_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -22390,100 +24075,16 @@ export class Deserializer extends DeserializerBase { let value : BorderImageOption = ({slice: slice_result, repeat: repeat_result, source: source_result, width: width_result, outset: outset_result, fill: fill_result} as BorderImageOption) return value } - readBorderOptions(): BorderOptions { + public readBorderOptions(): BorderOptions { let valueDeserializer : Deserializer = this - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf : EdgeWidths | Length | LocalizedEdgeWidths | undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) - { - const width_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf_ : EdgeWidths | Length | LocalizedEdgeWidths | undefined - if (width_buf__selector == 0) { - const width_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_top_buf_runtimeType)) - { - const width_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf__u_top_buf_ : string | number | Resource | undefined - if (width_buf__u_top_buf__selector == 0) { - width_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_top_buf__selector == 1) { - width_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_top_buf__selector == 2) { - width_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_top_buf_ has to be chosen through deserialisation.") - } - width_buf__u_top_buf = (width_buf__u_top_buf_ as string | number | Resource) - } - const width_buf__u_top : undefined | Length = width_buf__u_top_buf - const width_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_right_buf_runtimeType)) - { - const width_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf__u_right_buf_ : string | number | Resource | undefined - if (width_buf__u_right_buf__selector == 0) { - width_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_right_buf__selector == 1) { - width_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_right_buf__selector == 2) { - width_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_right_buf_ has to be chosen through deserialisation.") - } - width_buf__u_right_buf = (width_buf__u_right_buf_ as string | number | Resource) - } - const width_buf__u_right : undefined | Length = width_buf__u_right_buf - const width_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_bottom_buf_runtimeType)) - { - const width_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf__u_bottom_buf_ : string | number | Resource | undefined - if (width_buf__u_bottom_buf__selector == 0) { - width_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_bottom_buf__selector == 1) { - width_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_bottom_buf__selector == 2) { - width_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - width_buf__u_bottom_buf = (width_buf__u_bottom_buf_ as string | number | Resource) - } - const width_buf__u_bottom : undefined | Length = width_buf__u_bottom_buf - const width_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_left_buf_runtimeType)) - { - const width_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf__u_left_buf_ : string | number | Resource | undefined - if (width_buf__u_left_buf__selector == 0) { - width_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_left_buf__selector == 1) { - width_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_left_buf__selector == 2) { - width_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_left_buf_ has to be chosen through deserialisation.") - } - width_buf__u_left_buf = (width_buf__u_left_buf_ as string | number | Resource) - } - const width_buf__u_left : undefined | Length = width_buf__u_left_buf - width_buf_ = ({top: width_buf__u_top, right: width_buf__u_right, bottom: width_buf__u_bottom, left: width_buf__u_left} as EdgeWidths) + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf : EdgeWidths | Length | LocalizedEdgeWidths | undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + const width_buf__selector : int32 = valueDeserializer.readInt8() + let width_buf_ : EdgeWidths | Length | LocalizedEdgeWidths | undefined + if (width_buf__selector == 0) { + width_buf_ = valueDeserializer.readEdgeWidths() } else if (width_buf__selector == 1) { const width_buf__u_selector : int32 = valueDeserializer.readInt8() @@ -22518,103 +24119,7 @@ export class Deserializer extends DeserializerBase { const color_buf__selector : int32 = valueDeserializer.readInt8() let color_buf_ : EdgeColors | ResourceColor | LocalizedEdgeColors | undefined if (color_buf__selector == 0) { - const color_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_top_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_top_buf_runtimeType)) - { - const color_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf__u_top_buf_ : Color | number | string | Resource | undefined - if (color_buf__u_top_buf__selector == 0) { - color_buf__u_top_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__u_top_buf__selector == 1) { - color_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_top_buf__selector == 2) { - color_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_top_buf__selector == 3) { - color_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_top_buf_ has to be chosen through deserialisation.") - } - color_buf__u_top_buf = (color_buf__u_top_buf_ as Color | number | string | Resource) - } - const color_buf__u_top : undefined | ResourceColor = color_buf__u_top_buf - const color_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_right_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_right_buf_runtimeType)) - { - const color_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf__u_right_buf_ : Color | number | string | Resource | undefined - if (color_buf__u_right_buf__selector == 0) { - color_buf__u_right_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__u_right_buf__selector == 1) { - color_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_right_buf__selector == 2) { - color_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_right_buf__selector == 3) { - color_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_right_buf_ has to be chosen through deserialisation.") - } - color_buf__u_right_buf = (color_buf__u_right_buf_ as Color | number | string | Resource) - } - const color_buf__u_right : undefined | ResourceColor = color_buf__u_right_buf - const color_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_bottom_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_bottom_buf_runtimeType)) - { - const color_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf__u_bottom_buf_ : Color | number | string | Resource | undefined - if (color_buf__u_bottom_buf__selector == 0) { - color_buf__u_bottom_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__u_bottom_buf__selector == 1) { - color_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_bottom_buf__selector == 2) { - color_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_bottom_buf__selector == 3) { - color_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - color_buf__u_bottom_buf = (color_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const color_buf__u_bottom : undefined | ResourceColor = color_buf__u_bottom_buf - const color_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_left_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_left_buf_runtimeType)) - { - const color_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf__u_left_buf_ : Color | number | string | Resource | undefined - if (color_buf__u_left_buf__selector == 0) { - color_buf__u_left_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__u_left_buf__selector == 1) { - color_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_left_buf__selector == 2) { - color_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_left_buf__selector == 3) { - color_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_left_buf_ has to be chosen through deserialisation.") - } - color_buf__u_left_buf = (color_buf__u_left_buf_ as Color | number | string | Resource) - } - const color_buf__u_left : undefined | ResourceColor = color_buf__u_left_buf - color_buf_ = ({top: color_buf__u_top, right: color_buf__u_right, bottom: color_buf__u_bottom, left: color_buf__u_left} as EdgeColors) + color_buf_ = valueDeserializer.readEdgeColors() } else if (color_buf__selector == 1) { const color_buf__u_selector : int32 = valueDeserializer.readInt8() @@ -22652,91 +24157,7 @@ export class Deserializer extends DeserializerBase { const radius_buf__selector : int32 = valueDeserializer.readInt8() let radius_buf_ : BorderRadiuses | Length | LocalizedBorderRadiuses | undefined if (radius_buf__selector == 0) { - const radius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_topLeft_buf_runtimeType)) - { - const radius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (radius_buf__u_topLeft_buf__selector == 0) { - radius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_topLeft_buf__selector == 1) { - radius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_topLeft_buf__selector == 2) { - radius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_topLeft_buf = (radius_buf__u_topLeft_buf_ as string | number | Resource) - } - const radius_buf__u_topLeft : undefined | Length = radius_buf__u_topLeft_buf - const radius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_topRight_buf_runtimeType)) - { - const radius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (radius_buf__u_topRight_buf__selector == 0) { - radius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_topRight_buf__selector == 1) { - radius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_topRight_buf__selector == 2) { - radius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_topRight_buf = (radius_buf__u_topRight_buf_ as string | number | Resource) - } - const radius_buf__u_topRight : undefined | Length = radius_buf__u_topRight_buf - const radius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_bottomLeft_buf_runtimeType)) - { - const radius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (radius_buf__u_bottomLeft_buf__selector == 0) { - radius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_bottomLeft_buf__selector == 1) { - radius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_bottomLeft_buf__selector == 2) { - radius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_bottomLeft_buf = (radius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const radius_buf__u_bottomLeft : undefined | Length = radius_buf__u_bottomLeft_buf - const radius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_bottomRight_buf_runtimeType)) - { - const radius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (radius_buf__u_bottomRight_buf__selector == 0) { - radius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_bottomRight_buf__selector == 1) { - radius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_bottomRight_buf__selector == 2) { - radius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_bottomRight_buf = (radius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const radius_buf__u_bottomRight : undefined | Length = radius_buf__u_bottomRight_buf - radius_buf_ = ({topLeft: radius_buf__u_topLeft, topRight: radius_buf__u_topRight, bottomLeft: radius_buf__u_bottomLeft, bottomRight: radius_buf__u_bottomRight} as BorderRadiuses) + radius_buf_ = valueDeserializer.readBorderRadiuses() } else if (radius_buf__selector == 1) { const radius_buf__u_selector : int32 = valueDeserializer.readInt8() @@ -22789,91 +24210,7 @@ export class Deserializer extends DeserializerBase { const dashGap_buf__selector : int32 = valueDeserializer.readInt8() let dashGap_buf_ : EdgeWidths | LengthMetrics | LocalizedEdgeWidths | undefined if (dashGap_buf__selector == 0) { - const dashGap_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashGap_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (dashGap_buf__u_top_buf_runtimeType)) - { - const dashGap_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let dashGap_buf__u_top_buf_ : string | number | Resource | undefined - if (dashGap_buf__u_top_buf__selector == 0) { - dashGap_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (dashGap_buf__u_top_buf__selector == 1) { - dashGap_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashGap_buf__u_top_buf__selector == 2) { - dashGap_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashGap_buf__u_top_buf_ has to be chosen through deserialisation.") - } - dashGap_buf__u_top_buf = (dashGap_buf__u_top_buf_ as string | number | Resource) - } - const dashGap_buf__u_top : undefined | Length = dashGap_buf__u_top_buf - const dashGap_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashGap_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (dashGap_buf__u_right_buf_runtimeType)) - { - const dashGap_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let dashGap_buf__u_right_buf_ : string | number | Resource | undefined - if (dashGap_buf__u_right_buf__selector == 0) { - dashGap_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (dashGap_buf__u_right_buf__selector == 1) { - dashGap_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashGap_buf__u_right_buf__selector == 2) { - dashGap_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashGap_buf__u_right_buf_ has to be chosen through deserialisation.") - } - dashGap_buf__u_right_buf = (dashGap_buf__u_right_buf_ as string | number | Resource) - } - const dashGap_buf__u_right : undefined | Length = dashGap_buf__u_right_buf - const dashGap_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashGap_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (dashGap_buf__u_bottom_buf_runtimeType)) - { - const dashGap_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let dashGap_buf__u_bottom_buf_ : string | number | Resource | undefined - if (dashGap_buf__u_bottom_buf__selector == 0) { - dashGap_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (dashGap_buf__u_bottom_buf__selector == 1) { - dashGap_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashGap_buf__u_bottom_buf__selector == 2) { - dashGap_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashGap_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - dashGap_buf__u_bottom_buf = (dashGap_buf__u_bottom_buf_ as string | number | Resource) - } - const dashGap_buf__u_bottom : undefined | Length = dashGap_buf__u_bottom_buf - const dashGap_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashGap_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (dashGap_buf__u_left_buf_runtimeType)) - { - const dashGap_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let dashGap_buf__u_left_buf_ : string | number | Resource | undefined - if (dashGap_buf__u_left_buf__selector == 0) { - dashGap_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (dashGap_buf__u_left_buf__selector == 1) { - dashGap_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashGap_buf__u_left_buf__selector == 2) { - dashGap_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashGap_buf__u_left_buf_ has to be chosen through deserialisation.") - } - dashGap_buf__u_left_buf = (dashGap_buf__u_left_buf_ as string | number | Resource) - } - const dashGap_buf__u_left : undefined | Length = dashGap_buf__u_left_buf - dashGap_buf_ = ({top: dashGap_buf__u_top, right: dashGap_buf__u_right, bottom: dashGap_buf__u_bottom, left: dashGap_buf__u_left} as EdgeWidths) + dashGap_buf_ = valueDeserializer.readEdgeWidths() } else if (dashGap_buf__selector == 1) { dashGap_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) @@ -22894,91 +24231,7 @@ export class Deserializer extends DeserializerBase { const dashWidth_buf__selector : int32 = valueDeserializer.readInt8() let dashWidth_buf_ : EdgeWidths | LengthMetrics | LocalizedEdgeWidths | undefined if (dashWidth_buf__selector == 0) { - const dashWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashWidth_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (dashWidth_buf__u_top_buf_runtimeType)) - { - const dashWidth_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let dashWidth_buf__u_top_buf_ : string | number | Resource | undefined - if (dashWidth_buf__u_top_buf__selector == 0) { - dashWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (dashWidth_buf__u_top_buf__selector == 1) { - dashWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashWidth_buf__u_top_buf__selector == 2) { - dashWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - dashWidth_buf__u_top_buf = (dashWidth_buf__u_top_buf_ as string | number | Resource) - } - const dashWidth_buf__u_top : undefined | Length = dashWidth_buf__u_top_buf - const dashWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashWidth_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (dashWidth_buf__u_right_buf_runtimeType)) - { - const dashWidth_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let dashWidth_buf__u_right_buf_ : string | number | Resource | undefined - if (dashWidth_buf__u_right_buf__selector == 0) { - dashWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (dashWidth_buf__u_right_buf__selector == 1) { - dashWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashWidth_buf__u_right_buf__selector == 2) { - dashWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - dashWidth_buf__u_right_buf = (dashWidth_buf__u_right_buf_ as string | number | Resource) - } - const dashWidth_buf__u_right : undefined | Length = dashWidth_buf__u_right_buf - const dashWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashWidth_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (dashWidth_buf__u_bottom_buf_runtimeType)) - { - const dashWidth_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let dashWidth_buf__u_bottom_buf_ : string | number | Resource | undefined - if (dashWidth_buf__u_bottom_buf__selector == 0) { - dashWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (dashWidth_buf__u_bottom_buf__selector == 1) { - dashWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashWidth_buf__u_bottom_buf__selector == 2) { - dashWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - dashWidth_buf__u_bottom_buf = (dashWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const dashWidth_buf__u_bottom : undefined | Length = dashWidth_buf__u_bottom_buf - const dashWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashWidth_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (dashWidth_buf__u_left_buf_runtimeType)) - { - const dashWidth_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let dashWidth_buf__u_left_buf_ : string | number | Resource | undefined - if (dashWidth_buf__u_left_buf__selector == 0) { - dashWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (dashWidth_buf__u_left_buf__selector == 1) { - dashWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashWidth_buf__u_left_buf__selector == 2) { - dashWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - dashWidth_buf__u_left_buf = (dashWidth_buf__u_left_buf_ as string | number | Resource) - } - const dashWidth_buf__u_left : undefined | Length = dashWidth_buf__u_left_buf - dashWidth_buf_ = ({top: dashWidth_buf__u_top, right: dashWidth_buf__u_right, bottom: dashWidth_buf__u_bottom, left: dashWidth_buf__u_left} as EdgeWidths) + dashWidth_buf_ = valueDeserializer.readEdgeWidths() } else if (dashWidth_buf__selector == 1) { dashWidth_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) @@ -22995,47 +24248,7 @@ export class Deserializer extends DeserializerBase { let value : BorderOptions = ({width: width_result, color: color_result, radius: radius_result, style: style_result, dashGap: dashGap_result, dashWidth: dashWidth_result} as BorderOptions) return value } - readButtonStyle(): ButtonStyle { - let valueDeserializer : Deserializer = this - const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let left_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) - { - left_buf = (valueDeserializer.readNumber() as number) - } - const left_result : number | undefined = left_buf - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) - { - top_buf = (valueDeserializer.readNumber() as number) - } - const top_result : number | undefined = top_buf - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) - { - width_buf = (valueDeserializer.readNumber() as number) - } - const width_result : number | undefined = width_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) - { - height_buf = (valueDeserializer.readNumber() as number) - } - const height_result : number | undefined = height_buf - const icons_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icons_buf : ButtonIconOptions | undefined - if ((RuntimeType.UNDEFINED) != (icons_buf_runtimeType)) - { - icons_buf = valueDeserializer.readButtonIconOptions() - } - const icons_result : ButtonIconOptions | undefined = icons_buf - let value : ButtonStyle = ({left: left_result, top: top_result, width: width_result, height: height_result, icons: icons_result} as ButtonStyle) - return value - } - readCancelButtonOptions(): CancelButtonOptions { + public readCancelButtonOptions(): CancelButtonOptions { let valueDeserializer : Deserializer = this const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) let style_buf : CancelButtonStyle | undefined @@ -23054,7 +24267,7 @@ export class Deserializer extends DeserializerBase { let value : CancelButtonOptions = ({style: style_result, icon: icon_result} as CancelButtonOptions) return value } - readCapsuleStyleOptions(): CapsuleStyleOptions { + public readCapsuleStyleOptions(): CapsuleStyleOptions { let valueDeserializer : Deserializer = this const enableScanEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) let enableScanEffect_buf : boolean | undefined @@ -23153,10 +24366,17 @@ export class Deserializer extends DeserializerBase { showDefaultPercentage_buf = valueDeserializer.readBoolean() } const showDefaultPercentage_result : boolean | undefined = showDefaultPercentage_buf - let value : CapsuleStyleOptions = ({enableScanEffect: enableScanEffect_result, borderColor: borderColor_result, borderWidth: borderWidth_result, content: content_result, font: font_result, fontColor: fontColor_result, showDefaultPercentage: showDefaultPercentage_result} as CapsuleStyleOptions) + const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderRadius_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) + { + borderRadius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const borderRadius_result : LengthMetrics | undefined = borderRadius_buf + let value : CapsuleStyleOptions = ({enableScanEffect: enableScanEffect_result, borderColor: borderColor_result, borderWidth: borderWidth_result, content: content_result, font: font_result, fontColor: fontColor_result, showDefaultPercentage: showDefaultPercentage_result, borderRadius: borderRadius_result} as CapsuleStyleOptions) return value } - readContextMenuOptions(): ContextMenuOptions { + public readContextMenuOptions(): ContextMenuOptions { let valueDeserializer : Deserializer = this const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) let offset_buf : Position | undefined @@ -23218,6 +24438,41 @@ export class Deserializer extends DeserializerBase { preview_buf = (preview_buf_ as MenuPreviewMode | CustomBuilder) } const preview_result : MenuPreviewMode | CustomBuilder | undefined = preview_buf + const previewBorderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let previewBorderRadius_buf : BorderRadiusType | undefined + if ((RuntimeType.UNDEFINED) != (previewBorderRadius_buf_runtimeType)) + { + const previewBorderRadius_buf__selector : int32 = valueDeserializer.readInt8() + let previewBorderRadius_buf_ : Length | BorderRadiuses | LocalizedBorderRadiuses | undefined + if (previewBorderRadius_buf__selector == 0) { + const previewBorderRadius_buf__u_selector : int32 = valueDeserializer.readInt8() + let previewBorderRadius_buf__u : string | number | Resource | undefined + if (previewBorderRadius_buf__u_selector == 0) { + previewBorderRadius_buf__u = (valueDeserializer.readString() as string) + } + else if (previewBorderRadius_buf__u_selector == 1) { + previewBorderRadius_buf__u = (valueDeserializer.readNumber() as number) + } + else if (previewBorderRadius_buf__u_selector == 2) { + previewBorderRadius_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for previewBorderRadius_buf__u has to be chosen through deserialisation.") + } + previewBorderRadius_buf_ = (previewBorderRadius_buf__u as string | number | Resource) + } + else if (previewBorderRadius_buf__selector == 1) { + previewBorderRadius_buf_ = valueDeserializer.readBorderRadiuses() + } + else if (previewBorderRadius_buf__selector == 2) { + previewBorderRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() + } + else { + throw new Error("One of the branches for previewBorderRadius_buf_ has to be chosen through deserialisation.") + } + previewBorderRadius_buf = (previewBorderRadius_buf_ as Length | BorderRadiuses | LocalizedBorderRadiuses) + } + const previewBorderRadius_result : BorderRadiusType | undefined = previewBorderRadius_buf const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) let borderRadius_buf : Length | BorderRadiuses | LocalizedBorderRadiuses | undefined if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) @@ -23242,91 +24497,7 @@ export class Deserializer extends DeserializerBase { borderRadius_buf_ = (borderRadius_buf__u as string | number | Resource) } else if (borderRadius_buf__selector == 1) { - const borderRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const borderRadius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topLeft_buf = (borderRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topLeft : undefined | Length = borderRadius_buf__u_topLeft_buf - const borderRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const borderRadius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topRight_buf = (borderRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topRight : undefined | Length = borderRadius_buf__u_topRight_buf - const borderRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const borderRadius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomLeft_buf = (borderRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomLeft : undefined | Length = borderRadius_buf__u_bottomLeft_buf - const borderRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const borderRadius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomRight_buf = (borderRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomRight : undefined | Length = borderRadius_buf__u_bottomRight_buf - borderRadius_buf_ = ({topLeft: borderRadius_buf__u_topLeft, topRight: borderRadius_buf__u_topRight, bottomLeft: borderRadius_buf__u_bottomLeft, bottomRight: borderRadius_buf__u_bottomRight} as BorderRadiuses) + borderRadius_buf_ = valueDeserializer.readBorderRadiuses() } else if (borderRadius_buf__selector == 2) { borderRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() @@ -23347,113 +24518,29 @@ export class Deserializer extends DeserializerBase { const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onDisappear_buf : (() => void) | undefined if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) - { - onDisappear_buf = valueDeserializer.readCallback_Void() - } - const onDisappear_result : (() => void) | undefined = onDisappear_buf - const aboutToAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let aboutToAppear_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (aboutToAppear_buf_runtimeType)) - { - aboutToAppear_buf = valueDeserializer.readCallback_Void() - } - const aboutToAppear_result : (() => void) | undefined = aboutToAppear_buf - const aboutToDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let aboutToDisappear_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (aboutToDisappear_buf_runtimeType)) - { - aboutToDisappear_buf = valueDeserializer.readCallback_Void() - } - const aboutToDisappear_result : (() => void) | undefined = aboutToDisappear_buf - const layoutRegionMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf : Padding | undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf_runtimeType)) - { - const layoutRegionMargin_buf__top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__top_buf_runtimeType)) - { - const layoutRegionMargin_buf__top_buf__selector : int32 = valueDeserializer.readInt8() - let layoutRegionMargin_buf__top_buf_ : string | number | Resource | undefined - if (layoutRegionMargin_buf__top_buf__selector == 0) { - layoutRegionMargin_buf__top_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__top_buf__selector == 1) { - layoutRegionMargin_buf__top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__top_buf__selector == 2) { - layoutRegionMargin_buf__top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__top_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__top_buf = (layoutRegionMargin_buf__top_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__top : undefined | Length = layoutRegionMargin_buf__top_buf - const layoutRegionMargin_buf__right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__right_buf_runtimeType)) - { - const layoutRegionMargin_buf__right_buf__selector : int32 = valueDeserializer.readInt8() - let layoutRegionMargin_buf__right_buf_ : string | number | Resource | undefined - if (layoutRegionMargin_buf__right_buf__selector == 0) { - layoutRegionMargin_buf__right_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__right_buf__selector == 1) { - layoutRegionMargin_buf__right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__right_buf__selector == 2) { - layoutRegionMargin_buf__right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__right_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__right_buf = (layoutRegionMargin_buf__right_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__right : undefined | Length = layoutRegionMargin_buf__right_buf - const layoutRegionMargin_buf__bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__bottom_buf_runtimeType)) - { - const layoutRegionMargin_buf__bottom_buf__selector : int32 = valueDeserializer.readInt8() - let layoutRegionMargin_buf__bottom_buf_ : string | number | Resource | undefined - if (layoutRegionMargin_buf__bottom_buf__selector == 0) { - layoutRegionMargin_buf__bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__bottom_buf__selector == 1) { - layoutRegionMargin_buf__bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__bottom_buf__selector == 2) { - layoutRegionMargin_buf__bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__bottom_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__bottom_buf = (layoutRegionMargin_buf__bottom_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__bottom : undefined | Length = layoutRegionMargin_buf__bottom_buf - const layoutRegionMargin_buf__left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__left_buf_runtimeType)) - { - const layoutRegionMargin_buf__left_buf__selector : int32 = valueDeserializer.readInt8() - let layoutRegionMargin_buf__left_buf_ : string | number | Resource | undefined - if (layoutRegionMargin_buf__left_buf__selector == 0) { - layoutRegionMargin_buf__left_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__left_buf__selector == 1) { - layoutRegionMargin_buf__left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__left_buf__selector == 2) { - layoutRegionMargin_buf__left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__left_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__left_buf = (layoutRegionMargin_buf__left_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__left : undefined | Length = layoutRegionMargin_buf__left_buf - layoutRegionMargin_buf = ({top: layoutRegionMargin_buf__top, right: layoutRegionMargin_buf__right, bottom: layoutRegionMargin_buf__bottom, left: layoutRegionMargin_buf__left} as Padding) + { + onDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDisappear_result : (() => void) | undefined = onDisappear_buf + const aboutToAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let aboutToAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (aboutToAppear_buf_runtimeType)) + { + aboutToAppear_buf = valueDeserializer.readCallback_Void() + } + const aboutToAppear_result : (() => void) | undefined = aboutToAppear_buf + const aboutToDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let aboutToDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (aboutToDisappear_buf_runtimeType)) + { + aboutToDisappear_buf = valueDeserializer.readCallback_Void() + } + const aboutToDisappear_result : (() => void) | undefined = aboutToDisappear_buf + const layoutRegionMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let layoutRegionMargin_buf : Padding | undefined + if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf_runtimeType)) + { + layoutRegionMargin_buf = valueDeserializer.readPadding() } const layoutRegionMargin_result : Padding | undefined = layoutRegionMargin_buf const previewAnimationOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -23494,6 +24581,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf const transition_buf_runtimeType = (valueDeserializer.readInt8() as int32) let transition_buf : TransitionEffect | undefined if ((RuntimeType.UNDEFINED) != (transition_buf_runtimeType)) @@ -23508,10 +24609,84 @@ export class Deserializer extends DeserializerBase { enableHoverMode_buf = valueDeserializer.readBoolean() } const enableHoverMode_result : boolean | undefined = enableHoverMode_buf - let value : ContextMenuOptions = ({offset: offset_result, placement: placement_result, enableArrow: enableArrow_result, arrowOffset: arrowOffset_result, preview: preview_result, borderRadius: borderRadius_result, onAppear: onAppear_result, onDisappear: onDisappear_result, aboutToAppear: aboutToAppear_result, aboutToDisappear: aboutToDisappear_result, layoutRegionMargin: layoutRegionMargin_result, previewAnimationOptions: previewAnimationOptions_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, transition: transition_result, enableHoverMode: enableHoverMode_result} as ContextMenuOptions) + const outlineColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let outlineColor_buf : ResourceColor | EdgeColors | undefined + if ((RuntimeType.UNDEFINED) != (outlineColor_buf_runtimeType)) + { + const outlineColor_buf__selector : int32 = valueDeserializer.readInt8() + let outlineColor_buf_ : ResourceColor | EdgeColors | undefined + if (outlineColor_buf__selector == 0) { + const outlineColor_buf__u_selector : int32 = valueDeserializer.readInt8() + let outlineColor_buf__u : Color | number | string | Resource | undefined + if (outlineColor_buf__u_selector == 0) { + outlineColor_buf__u = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (outlineColor_buf__u_selector == 1) { + outlineColor_buf__u = (valueDeserializer.readNumber() as number) + } + else if (outlineColor_buf__u_selector == 2) { + outlineColor_buf__u = (valueDeserializer.readString() as string) + } + else if (outlineColor_buf__u_selector == 3) { + outlineColor_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for outlineColor_buf__u has to be chosen through deserialisation.") + } + outlineColor_buf_ = (outlineColor_buf__u as Color | number | string | Resource) + } + else if (outlineColor_buf__selector == 1) { + outlineColor_buf_ = valueDeserializer.readEdgeColors() + } + else { + throw new Error("One of the branches for outlineColor_buf_ has to be chosen through deserialisation.") + } + outlineColor_buf = (outlineColor_buf_ as ResourceColor | EdgeColors) + } + const outlineColor_result : ResourceColor | EdgeColors | undefined = outlineColor_buf + const outlineWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let outlineWidth_buf : Dimension | EdgeOutlineWidths | undefined + if ((RuntimeType.UNDEFINED) != (outlineWidth_buf_runtimeType)) + { + const outlineWidth_buf__selector : int32 = valueDeserializer.readInt8() + let outlineWidth_buf_ : Dimension | EdgeOutlineWidths | undefined + if (outlineWidth_buf__selector == 0) { + const outlineWidth_buf__u_selector : int32 = valueDeserializer.readInt8() + let outlineWidth_buf__u : string | number | Resource | undefined + if (outlineWidth_buf__u_selector == 0) { + outlineWidth_buf__u = (valueDeserializer.readString() as string) + } + else if (outlineWidth_buf__u_selector == 1) { + outlineWidth_buf__u = (valueDeserializer.readNumber() as number) + } + else if (outlineWidth_buf__u_selector == 2) { + outlineWidth_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for outlineWidth_buf__u has to be chosen through deserialisation.") + } + outlineWidth_buf_ = (outlineWidth_buf__u as string | number | Resource) + } + else if (outlineWidth_buf__selector == 1) { + outlineWidth_buf_ = valueDeserializer.readEdgeOutlineWidths() + } + else { + throw new Error("One of the branches for outlineWidth_buf_ has to be chosen through deserialisation.") + } + outlineWidth_buf = (outlineWidth_buf_ as Dimension | EdgeOutlineWidths) + } + const outlineWidth_result : Dimension | EdgeOutlineWidths | undefined = outlineWidth_buf + const hapticFeedbackMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hapticFeedbackMode_buf : HapticFeedbackMode | undefined + if ((RuntimeType.UNDEFINED) != (hapticFeedbackMode_buf_runtimeType)) + { + hapticFeedbackMode_buf = TypeChecker.HapticFeedbackMode_FromNumeric(valueDeserializer.readInt32()) + } + const hapticFeedbackMode_result : HapticFeedbackMode | undefined = hapticFeedbackMode_buf + let value : ContextMenuOptions = ({offset: offset_result, placement: placement_result, enableArrow: enableArrow_result, arrowOffset: arrowOffset_result, preview: preview_result, previewBorderRadius: previewBorderRadius_result, borderRadius: borderRadius_result, onAppear: onAppear_result, onDisappear: onDisappear_result, aboutToAppear: aboutToAppear_result, aboutToDisappear: aboutToDisappear_result, layoutRegionMargin: layoutRegionMargin_result, previewAnimationOptions: previewAnimationOptions_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, transition: transition_result, enableHoverMode: enableHoverMode_result, outlineColor: outlineColor_result, outlineWidth: outlineWidth_result, hapticFeedbackMode: hapticFeedbackMode_result} as ContextMenuOptions) return value } - readCustomDialogControllerOptions(): CustomDialogControllerOptions { + public readCustomDialogControllerOptions(): CustomDialogControllerOptions { let valueDeserializer : Deserializer = this const builder_result : CustomDialogControllerBuilder = valueDeserializer.readCustomDialogControllerBuilder() const cancel_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -23539,37 +24714,7 @@ export class Deserializer extends DeserializerBase { let offset_buf : Offset | undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dx_buf : string | number | Resource | undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx : Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dy_buf : string | number | Resource | undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy : Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result : Offset | undefined = offset_buf const customStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -23686,91 +24831,7 @@ export class Deserializer extends DeserializerBase { cornerRadius_buf_ = (cornerRadius_buf__u as string | number | Resource) } else if (cornerRadius_buf__selector == 1) { - const cornerRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topLeft_buf = (cornerRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topLeft : undefined | Length = cornerRadius_buf__u_topLeft_buf - const cornerRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const cornerRadius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topRight_buf = (cornerRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topRight : undefined | Length = cornerRadius_buf__u_topRight_buf - const cornerRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomLeft_buf = (cornerRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomLeft : undefined | Length = cornerRadius_buf__u_bottomLeft_buf - const cornerRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomRight_buf = (cornerRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomRight : undefined | Length = cornerRadius_buf__u_bottomRight_buf - cornerRadius_buf_ = ({topLeft: cornerRadius_buf__u_topLeft, topRight: cornerRadius_buf__u_topRight, bottomLeft: cornerRadius_buf__u_bottomLeft, bottomRight: cornerRadius_buf__u_bottomRight} as BorderRadiuses) + cornerRadius_buf_ = valueDeserializer.readBorderRadiuses() } else { throw new Error("One of the branches for cornerRadius_buf_ has to be chosen through deserialisation.") @@ -23858,91 +24919,7 @@ export class Deserializer extends DeserializerBase { borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) } else if (borderWidth_buf__selector == 1) { - const borderWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const borderWidth_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_top_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_top_buf = (borderWidth_buf__u_top_buf_ as string | number | Resource) - } - const borderWidth_buf__u_top : undefined | Length = borderWidth_buf__u_top_buf - const borderWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const borderWidth_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_right_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_right_buf = (borderWidth_buf__u_right_buf_ as string | number | Resource) - } - const borderWidth_buf__u_right : undefined | Length = borderWidth_buf__u_right_buf - const borderWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const borderWidth_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_bottom_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_bottom_buf = (borderWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const borderWidth_buf__u_bottom : undefined | Length = borderWidth_buf__u_bottom_buf - const borderWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const borderWidth_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_left_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_left_buf = (borderWidth_buf__u_left_buf_ as string | number | Resource) - } - const borderWidth_buf__u_left : undefined | Length = borderWidth_buf__u_left_buf - borderWidth_buf_ = ({top: borderWidth_buf__u_top, right: borderWidth_buf__u_right, bottom: borderWidth_buf__u_bottom, left: borderWidth_buf__u_left} as EdgeWidths) + borderWidth_buf_ = valueDeserializer.readEdgeWidths() } else { throw new Error("One of the branches for borderWidth_buf_ has to be chosen through deserialisation.") @@ -23977,103 +24954,7 @@ export class Deserializer extends DeserializerBase { borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) } else if (borderColor_buf__selector == 1) { - const borderColor_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_top_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const borderColor_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_top_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_top_buf = (borderColor_buf__u_top_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_top : undefined | ResourceColor = borderColor_buf__u_top_buf - const borderColor_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_right_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const borderColor_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_right_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_right_buf = (borderColor_buf__u_right_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_right : undefined | ResourceColor = borderColor_buf__u_right_buf - const borderColor_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_bottom_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const borderColor_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_bottom_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_bottom_buf = (borderColor_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_bottom : undefined | ResourceColor = borderColor_buf__u_bottom_buf - const borderColor_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_left_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const borderColor_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_left_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_left_buf = (borderColor_buf__u_left_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_left : undefined | ResourceColor = borderColor_buf__u_left_buf - borderColor_buf_ = ({top: borderColor_buf__u_top, right: borderColor_buf__u_right, bottom: borderColor_buf__u_bottom, left: borderColor_buf__u_left} as EdgeColors) + borderColor_buf_ = valueDeserializer.readEdgeColors() } else { throw new Error("One of the branches for borderColor_buf_ has to be chosen through deserialisation.") @@ -24124,6 +25005,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf const keyboardAvoidMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) let keyboardAvoidMode_buf : KeyboardAvoidMode | undefined if ((RuntimeType.UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) @@ -24145,10 +25040,80 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = TypeChecker.HoverModeAreaType_FromNumeric(valueDeserializer.readInt32()) } const hoverModeArea_result : HoverModeAreaType | undefined = hoverModeArea_buf - let value : CustomDialogControllerOptions = ({builder: builder_result, cancel: cancel_result, autoCancel: autoCancel_result, alignment: alignment_result, offset: offset_result, customStyle: customStyle_result, gridCount: gridCount_result, maskColor: maskColor_result, maskRect: maskRect_result, openAnimation: openAnimation_result, closeAnimation: closeAnimation_result, showInSubWindow: showInSubWindow_result, backgroundColor: backgroundColor_result, cornerRadius: cornerRadius_result, isModal: isModal_result, onWillDismiss: onWillDismiss_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, backgroundBlurStyle: backgroundBlurStyle_result, keyboardAvoidMode: keyboardAvoidMode_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result} as CustomDialogControllerOptions) + const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf = valueDeserializer.readCallback_Void() + } + const onDidAppear_result : (() => void) | undefined = onDidAppear_buf + const onDidDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDidDisappear_result : (() => void) | undefined = onDidDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result : (() => void) | undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result : (() => void) | undefined = onWillDisappear_buf + const keyboardAvoidDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let keyboardAvoidDistance_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (keyboardAvoidDistance_buf_runtimeType)) + { + keyboardAvoidDistance_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const keyboardAvoidDistance_result : LengthMetrics | undefined = keyboardAvoidDistance_buf + const levelMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelMode_buf : LevelMode | undefined + if ((RuntimeType.UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf = valueDeserializer.readLevelMode() + } + const levelMode_result : LevelMode | undefined = levelMode_buf + const levelUniqueId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelUniqueId_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf = (valueDeserializer.readNumber() as number) + } + const levelUniqueId_result : number | undefined = levelUniqueId_buf + const immersiveMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let immersiveMode_buf : ImmersiveMode | undefined + if ((RuntimeType.UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf = valueDeserializer.readImmersiveMode() + } + const immersiveMode_result : ImmersiveMode | undefined = immersiveMode_buf + const levelOrder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelOrder_buf : LevelOrder | undefined + if ((RuntimeType.UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf = valueDeserializer.readLevelOrder() + } + const levelOrder_result : LevelOrder | undefined = levelOrder_buf + const focusable_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let focusable_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (focusable_buf_runtimeType)) + { + focusable_buf = valueDeserializer.readBoolean() + } + const focusable_result : boolean | undefined = focusable_buf + let value : CustomDialogControllerOptions = ({builder: builder_result, cancel: cancel_result, autoCancel: autoCancel_result, alignment: alignment_result, offset: offset_result, customStyle: customStyle_result, gridCount: gridCount_result, maskColor: maskColor_result, maskRect: maskRect_result, openAnimation: openAnimation_result, closeAnimation: closeAnimation_result, showInSubWindow: showInSubWindow_result, backgroundColor: backgroundColor_result, cornerRadius: cornerRadius_result, isModal: isModal_result, onWillDismiss: onWillDismiss_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, keyboardAvoidMode: keyboardAvoidMode_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, keyboardAvoidDistance: keyboardAvoidDistance_result, levelMode: levelMode_result, levelUniqueId: levelUniqueId_result, immersiveMode: immersiveMode_result, levelOrder: levelOrder_result, focusable: focusable_result} as CustomDialogControllerOptions) return value } - readCustomPopupOptions(): CustomPopupOptions { + public readCustomPopupOptions(): CustomPopupOptions { let valueDeserializer : Deserializer = this const builder_result : CustomBuilder = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) const placement_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -24481,83 +25446,43 @@ export class Deserializer extends DeserializerBase { followTransformOfTarget_buf = valueDeserializer.readBoolean() } const followTransformOfTarget_result : boolean | undefined = followTransformOfTarget_buf - let value : CustomPopupOptions = ({builder: builder_result, placement: placement_result, maskColor: maskColor_result, popupColor: popupColor_result, enableArrow: enableArrow_result, autoCancel: autoCancel_result, onStateChange: onStateChange_result, arrowOffset: arrowOffset_result, showInSubWindow: showInSubWindow_result, mask: mask_result, targetSpace: targetSpace_result, offset: offset_result, width: width_result, arrowPointPosition: arrowPointPosition_result, arrowWidth: arrowWidth_result, arrowHeight: arrowHeight_result, radius: radius_result, shadow: shadow_result, backgroundBlurStyle: backgroundBlurStyle_result, focusable: focusable_result, transition: transition_result, onWillDismiss: onWillDismiss_result, enableHoverMode: enableHoverMode_result, followTransformOfTarget: followTransformOfTarget_result} as CustomPopupOptions) - return value - } - readCustomTheme(): CustomTheme { - let valueDeserializer : Deserializer = this - const colors_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colors_buf : CustomColors | undefined - if ((RuntimeType.UNDEFINED) != (colors_buf_runtimeType)) + const keyboardAvoidMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let keyboardAvoidMode_buf : KeyboardAvoidMode | undefined + if ((RuntimeType.UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) { - colors_buf = valueDeserializer.readCustomColors() + keyboardAvoidMode_buf = TypeChecker.KeyboardAvoidMode_FromNumeric(valueDeserializer.readInt32()) } - const colors_result : CustomColors | undefined = colors_buf - let value : CustomTheme = ({colors: colors_result} as CustomTheme) + const keyboardAvoidMode_result : KeyboardAvoidMode | undefined = keyboardAvoidMode_buf + let value : CustomPopupOptions = ({builder: builder_result, placement: placement_result, maskColor: maskColor_result, popupColor: popupColor_result, enableArrow: enableArrow_result, autoCancel: autoCancel_result, onStateChange: onStateChange_result, arrowOffset: arrowOffset_result, showInSubWindow: showInSubWindow_result, mask: mask_result, targetSpace: targetSpace_result, offset: offset_result, width: width_result, arrowPointPosition: arrowPointPosition_result, arrowWidth: arrowWidth_result, arrowHeight: arrowHeight_result, radius: radius_result, shadow: shadow_result, backgroundBlurStyle: backgroundBlurStyle_result, focusable: focusable_result, transition: transition_result, onWillDismiss: onWillDismiss_result, enableHoverMode: enableHoverMode_result, followTransformOfTarget: followTransformOfTarget_result, keyboardAvoidMode: keyboardAvoidMode_result} as CustomPopupOptions) return value } - readDigitIndicator(): DigitIndicator { + public readDigitIndicator(): DigitIndicator { throw new Error("Can not deserialize builder class") } - readEventTarget(): EventTarget { + public readEventTarget(): EventTarget { let valueDeserializer : Deserializer = this const area_result : Area = valueDeserializer.readArea() - let value : EventTarget = ({area: area_result} as EventTarget) - return value - } - readFlexOptions(): FlexOptions { - let valueDeserializer : Deserializer = this - const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let direction_buf : FlexDirection | undefined - if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) - { - direction_buf = TypeChecker.FlexDirection_FromNumeric(valueDeserializer.readInt32()) - } - const direction_result : FlexDirection | undefined = direction_buf - const wrap_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let wrap_buf : FlexWrap | undefined - if ((RuntimeType.UNDEFINED) != (wrap_buf_runtimeType)) - { - wrap_buf = TypeChecker.FlexWrap_FromNumeric(valueDeserializer.readInt32()) - } - const wrap_result : FlexWrap | undefined = wrap_buf - const justifyContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let justifyContent_buf : FlexAlign | undefined - if ((RuntimeType.UNDEFINED) != (justifyContent_buf_runtimeType)) - { - justifyContent_buf = TypeChecker.FlexAlign_FromNumeric(valueDeserializer.readInt32()) - } - const justifyContent_result : FlexAlign | undefined = justifyContent_buf - const alignItems_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let alignItems_buf : ItemAlign | undefined - if ((RuntimeType.UNDEFINED) != (alignItems_buf_runtimeType)) - { - alignItems_buf = TypeChecker.ItemAlign_FromNumeric(valueDeserializer.readInt32()) - } - const alignItems_result : ItemAlign | undefined = alignItems_buf - const alignContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let alignContent_buf : FlexAlign | undefined - if ((RuntimeType.UNDEFINED) != (alignContent_buf_runtimeType)) - { - alignContent_buf = TypeChecker.FlexAlign_FromNumeric(valueDeserializer.readInt32()) - } - const alignContent_result : FlexAlign | undefined = alignContent_buf - const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let space_buf : FlexSpaceOptions | undefined - if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) + const id_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let id_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (id_buf_runtimeType)) { - space_buf = valueDeserializer.readFlexSpaceOptions() + id_buf = (valueDeserializer.readString() as string) } - const space_result : FlexSpaceOptions | undefined = space_buf - let value : FlexOptions = ({direction: direction_result, wrap: wrap_result, justifyContent: justifyContent_result, alignItems: alignItems_result, alignContent: alignContent_result, space: space_result} as FlexOptions) + const id_result : string | undefined = id_buf + let value : EventTarget = ({area: area_result, id: id_result} as EventTarget) return value } - readGestureEvent(): GestureEvent { + public readFocusAxisEvent(): FocusAxisEvent { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return FocusAxisEventInternal.fromPtr(ptr) + } + public readGestureEvent(): GestureEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return GestureEventInternal.fromPtr(ptr) } - readGutterOption(): GutterOption { + public readGutterOption(): GutterOption { let valueDeserializer : Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf : Length | GridRowSizeOption | undefined @@ -24626,12 +25551,12 @@ export class Deserializer extends DeserializerBase { let value : GutterOption = ({x: x_result, y: y_result} as GutterOption) return value } - readHoverEvent(): HoverEvent { + public readHoverEvent(): HoverEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return HoverEventInternal.fromPtr(ptr) } - readImageAttachmentLayoutStyle(): ImageAttachmentLayoutStyle { + public readImageAttachmentLayoutStyle(): ImageAttachmentLayoutStyle { let valueDeserializer : Deserializer = this const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) let margin_buf : LengthMetrics | Padding | undefined @@ -24643,91 +25568,7 @@ export class Deserializer extends DeserializerBase { margin_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (margin_buf__selector == 1) { - const margin_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_top_buf_runtimeType)) - { - const margin_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf__u_top_buf_ : string | number | Resource | undefined - if (margin_buf__u_top_buf__selector == 0) { - margin_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_top_buf__selector == 1) { - margin_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_top_buf__selector == 2) { - margin_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_top_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_top_buf = (margin_buf__u_top_buf_ as string | number | Resource) - } - const margin_buf__u_top : undefined | Length = margin_buf__u_top_buf - const margin_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_right_buf_runtimeType)) - { - const margin_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf__u_right_buf_ : string | number | Resource | undefined - if (margin_buf__u_right_buf__selector == 0) { - margin_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_right_buf__selector == 1) { - margin_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_right_buf__selector == 2) { - margin_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_right_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_right_buf = (margin_buf__u_right_buf_ as string | number | Resource) - } - const margin_buf__u_right : undefined | Length = margin_buf__u_right_buf - const margin_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_bottom_buf_runtimeType)) - { - const margin_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf__u_bottom_buf_ : string | number | Resource | undefined - if (margin_buf__u_bottom_buf__selector == 0) { - margin_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_bottom_buf__selector == 1) { - margin_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_bottom_buf__selector == 2) { - margin_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_bottom_buf = (margin_buf__u_bottom_buf_ as string | number | Resource) - } - const margin_buf__u_bottom : undefined | Length = margin_buf__u_bottom_buf - const margin_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_left_buf_runtimeType)) - { - const margin_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf__u_left_buf_ : string | number | Resource | undefined - if (margin_buf__u_left_buf__selector == 0) { - margin_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_left_buf__selector == 1) { - margin_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_left_buf__selector == 2) { - margin_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_left_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_left_buf = (margin_buf__u_left_buf_ as string | number | Resource) - } - const margin_buf__u_left : undefined | Length = margin_buf__u_left_buf - margin_buf_ = ({top: margin_buf__u_top, right: margin_buf__u_right, bottom: margin_buf__u_bottom, left: margin_buf__u_left} as Padding) + margin_buf_ = valueDeserializer.readPadding() } else { throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") @@ -24847,91 +25688,7 @@ export class Deserializer extends DeserializerBase { borderRadius_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (borderRadius_buf__selector == 1) { - const borderRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const borderRadius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topLeft_buf = (borderRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topLeft : undefined | Length = borderRadius_buf__u_topLeft_buf - const borderRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const borderRadius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topRight_buf = (borderRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topRight : undefined | Length = borderRadius_buf__u_topRight_buf - const borderRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const borderRadius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomLeft_buf = (borderRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomLeft : undefined | Length = borderRadius_buf__u_bottomLeft_buf - const borderRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const borderRadius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomRight_buf = (borderRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomRight : undefined | Length = borderRadius_buf__u_bottomRight_buf - borderRadius_buf_ = ({topLeft: borderRadius_buf__u_topLeft, topRight: borderRadius_buf__u_topRight, bottomLeft: borderRadius_buf__u_bottomLeft, bottomRight: borderRadius_buf__u_bottomRight} as BorderRadiuses) + borderRadius_buf_ = valueDeserializer.readBorderRadiuses() } else { throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") @@ -24942,7 +25699,7 @@ export class Deserializer extends DeserializerBase { let value : ImageAttachmentLayoutStyle = ({margin: margin_result, padding: padding_result, borderRadius: borderRadius_result} as ImageAttachmentLayoutStyle) return value } - readLabelStyle(): LabelStyle { + public readLabelStyle(): LabelStyle { let valueDeserializer : Deserializer = this const overflow_buf_runtimeType = (valueDeserializer.readInt8() as int32) let overflow_buf : TextOverflow | undefined @@ -25081,49 +25838,12 @@ export class Deserializer extends DeserializerBase { let value : LabelStyle = ({overflow: overflow_result, maxLines: maxLines_result, minFontSize: minFontSize_result, maxFontSize: maxFontSize_result, heightAdaptivePolicy: heightAdaptivePolicy_result, font: font_result, selectedColor: selectedColor_result, unselectedColor: unselectedColor_result} as LabelStyle) return value } - readLeadingMarginPlaceholder(): LeadingMarginPlaceholder { - let valueDeserializer : Deserializer = this - const pixelMap_result : PixelMap = (valueDeserializer.readPixelMap() as PixelMap) - const size_buf_value0_buf_selector : int32 = valueDeserializer.readInt8() - let size_buf_value0_buf : string | number | Resource | undefined - if (size_buf_value0_buf_selector == 0) { - size_buf_value0_buf = (valueDeserializer.readString() as string) - } - else if (size_buf_value0_buf_selector == 1) { - size_buf_value0_buf = (valueDeserializer.readNumber() as number) - } - else if (size_buf_value0_buf_selector == 2) { - size_buf_value0_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for size_buf_value0_buf has to be chosen through deserialisation.") - } - const size_buf_value0 : Dimension = (size_buf_value0_buf as string | number | Resource) - const size_buf_value1_buf_selector : int32 = valueDeserializer.readInt8() - let size_buf_value1_buf : string | number | Resource | undefined - if (size_buf_value1_buf_selector == 0) { - size_buf_value1_buf = (valueDeserializer.readString() as string) - } - else if (size_buf_value1_buf_selector == 1) { - size_buf_value1_buf = (valueDeserializer.readNumber() as number) - } - else if (size_buf_value1_buf_selector == 2) { - size_buf_value1_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for size_buf_value1_buf has to be chosen through deserialisation.") - } - const size_buf_value1 : Dimension = (size_buf_value1_buf as string | number | Resource) - const size_result : [ Dimension, Dimension ] = ([size_buf_value0, size_buf_value1] as [ Dimension, Dimension ]) - let value : LeadingMarginPlaceholder = ({pixelMap: pixelMap_result, size: size_result} as LeadingMarginPlaceholder) - return value - } - readLongPressGestureEvent(): LongPressGestureEvent { + public readLongPressGestureEvent(): LongPressGestureEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return LongPressGestureEventInternal.fromPtr(ptr) } - readMenuOptions(): MenuOptions { + public readMenuOptions(): MenuOptions { let valueDeserializer : Deserializer = this const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) let offset_buf : Position | undefined @@ -25185,6 +25905,41 @@ export class Deserializer extends DeserializerBase { preview_buf = (preview_buf_ as MenuPreviewMode | CustomBuilder) } const preview_result : MenuPreviewMode | CustomBuilder | undefined = preview_buf + const previewBorderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let previewBorderRadius_buf : BorderRadiusType | undefined + if ((RuntimeType.UNDEFINED) != (previewBorderRadius_buf_runtimeType)) + { + const previewBorderRadius_buf__selector : int32 = valueDeserializer.readInt8() + let previewBorderRadius_buf_ : Length | BorderRadiuses | LocalizedBorderRadiuses | undefined + if (previewBorderRadius_buf__selector == 0) { + const previewBorderRadius_buf__u_selector : int32 = valueDeserializer.readInt8() + let previewBorderRadius_buf__u : string | number | Resource | undefined + if (previewBorderRadius_buf__u_selector == 0) { + previewBorderRadius_buf__u = (valueDeserializer.readString() as string) + } + else if (previewBorderRadius_buf__u_selector == 1) { + previewBorderRadius_buf__u = (valueDeserializer.readNumber() as number) + } + else if (previewBorderRadius_buf__u_selector == 2) { + previewBorderRadius_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for previewBorderRadius_buf__u has to be chosen through deserialisation.") + } + previewBorderRadius_buf_ = (previewBorderRadius_buf__u as string | number | Resource) + } + else if (previewBorderRadius_buf__selector == 1) { + previewBorderRadius_buf_ = valueDeserializer.readBorderRadiuses() + } + else if (previewBorderRadius_buf__selector == 2) { + previewBorderRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() + } + else { + throw new Error("One of the branches for previewBorderRadius_buf_ has to be chosen through deserialisation.") + } + previewBorderRadius_buf = (previewBorderRadius_buf_ as Length | BorderRadiuses | LocalizedBorderRadiuses) + } + const previewBorderRadius_result : BorderRadiusType | undefined = previewBorderRadius_buf const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) let borderRadius_buf : Length | BorderRadiuses | LocalizedBorderRadiuses | undefined if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) @@ -25209,91 +25964,7 @@ export class Deserializer extends DeserializerBase { borderRadius_buf_ = (borderRadius_buf__u as string | number | Resource) } else if (borderRadius_buf__selector == 1) { - const borderRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const borderRadius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topLeft_buf = (borderRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topLeft : undefined | Length = borderRadius_buf__u_topLeft_buf - const borderRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const borderRadius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topRight_buf = (borderRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topRight : undefined | Length = borderRadius_buf__u_topRight_buf - const borderRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const borderRadius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomLeft_buf = (borderRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomLeft : undefined | Length = borderRadius_buf__u_bottomLeft_buf - const borderRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const borderRadius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomRight_buf = (borderRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomRight : undefined | Length = borderRadius_buf__u_bottomRight_buf - borderRadius_buf_ = ({topLeft: borderRadius_buf__u_topLeft, topRight: borderRadius_buf__u_topRight, bottomLeft: borderRadius_buf__u_bottomLeft, bottomRight: borderRadius_buf__u_bottomRight} as BorderRadiuses) + borderRadius_buf_ = valueDeserializer.readBorderRadiuses() } else if (borderRadius_buf__selector == 2) { borderRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() @@ -25336,91 +26007,7 @@ export class Deserializer extends DeserializerBase { let layoutRegionMargin_buf : Padding | undefined if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf_runtimeType)) { - const layoutRegionMargin_buf__top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__top_buf_runtimeType)) - { - const layoutRegionMargin_buf__top_buf__selector : int32 = valueDeserializer.readInt8() - let layoutRegionMargin_buf__top_buf_ : string | number | Resource | undefined - if (layoutRegionMargin_buf__top_buf__selector == 0) { - layoutRegionMargin_buf__top_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__top_buf__selector == 1) { - layoutRegionMargin_buf__top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__top_buf__selector == 2) { - layoutRegionMargin_buf__top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__top_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__top_buf = (layoutRegionMargin_buf__top_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__top : undefined | Length = layoutRegionMargin_buf__top_buf - const layoutRegionMargin_buf__right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__right_buf_runtimeType)) - { - const layoutRegionMargin_buf__right_buf__selector : int32 = valueDeserializer.readInt8() - let layoutRegionMargin_buf__right_buf_ : string | number | Resource | undefined - if (layoutRegionMargin_buf__right_buf__selector == 0) { - layoutRegionMargin_buf__right_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__right_buf__selector == 1) { - layoutRegionMargin_buf__right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__right_buf__selector == 2) { - layoutRegionMargin_buf__right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__right_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__right_buf = (layoutRegionMargin_buf__right_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__right : undefined | Length = layoutRegionMargin_buf__right_buf - const layoutRegionMargin_buf__bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__bottom_buf_runtimeType)) - { - const layoutRegionMargin_buf__bottom_buf__selector : int32 = valueDeserializer.readInt8() - let layoutRegionMargin_buf__bottom_buf_ : string | number | Resource | undefined - if (layoutRegionMargin_buf__bottom_buf__selector == 0) { - layoutRegionMargin_buf__bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__bottom_buf__selector == 1) { - layoutRegionMargin_buf__bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__bottom_buf__selector == 2) { - layoutRegionMargin_buf__bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__bottom_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__bottom_buf = (layoutRegionMargin_buf__bottom_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__bottom : undefined | Length = layoutRegionMargin_buf__bottom_buf - const layoutRegionMargin_buf__left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__left_buf_runtimeType)) - { - const layoutRegionMargin_buf__left_buf__selector : int32 = valueDeserializer.readInt8() - let layoutRegionMargin_buf__left_buf_ : string | number | Resource | undefined - if (layoutRegionMargin_buf__left_buf__selector == 0) { - layoutRegionMargin_buf__left_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__left_buf__selector == 1) { - layoutRegionMargin_buf__left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__left_buf__selector == 2) { - layoutRegionMargin_buf__left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__left_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__left_buf = (layoutRegionMargin_buf__left_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__left : undefined | Length = layoutRegionMargin_buf__left_buf - layoutRegionMargin_buf = ({top: layoutRegionMargin_buf__top, right: layoutRegionMargin_buf__right, bottom: layoutRegionMargin_buf__bottom, left: layoutRegionMargin_buf__left} as Padding) + layoutRegionMargin_buf = valueDeserializer.readPadding() } const layoutRegionMargin_result : Padding | undefined = layoutRegionMargin_buf const previewAnimationOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -25461,6 +26048,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf const transition_buf_runtimeType = (valueDeserializer.readInt8() as int32) let transition_buf : TransitionEffect | undefined if ((RuntimeType.UNDEFINED) != (transition_buf_runtimeType)) @@ -25475,6 +26076,80 @@ export class Deserializer extends DeserializerBase { enableHoverMode_buf = valueDeserializer.readBoolean() } const enableHoverMode_result : boolean | undefined = enableHoverMode_buf + const outlineColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let outlineColor_buf : ResourceColor | EdgeColors | undefined + if ((RuntimeType.UNDEFINED) != (outlineColor_buf_runtimeType)) + { + const outlineColor_buf__selector : int32 = valueDeserializer.readInt8() + let outlineColor_buf_ : ResourceColor | EdgeColors | undefined + if (outlineColor_buf__selector == 0) { + const outlineColor_buf__u_selector : int32 = valueDeserializer.readInt8() + let outlineColor_buf__u : Color | number | string | Resource | undefined + if (outlineColor_buf__u_selector == 0) { + outlineColor_buf__u = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (outlineColor_buf__u_selector == 1) { + outlineColor_buf__u = (valueDeserializer.readNumber() as number) + } + else if (outlineColor_buf__u_selector == 2) { + outlineColor_buf__u = (valueDeserializer.readString() as string) + } + else if (outlineColor_buf__u_selector == 3) { + outlineColor_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for outlineColor_buf__u has to be chosen through deserialisation.") + } + outlineColor_buf_ = (outlineColor_buf__u as Color | number | string | Resource) + } + else if (outlineColor_buf__selector == 1) { + outlineColor_buf_ = valueDeserializer.readEdgeColors() + } + else { + throw new Error("One of the branches for outlineColor_buf_ has to be chosen through deserialisation.") + } + outlineColor_buf = (outlineColor_buf_ as ResourceColor | EdgeColors) + } + const outlineColor_result : ResourceColor | EdgeColors | undefined = outlineColor_buf + const outlineWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let outlineWidth_buf : Dimension | EdgeOutlineWidths | undefined + if ((RuntimeType.UNDEFINED) != (outlineWidth_buf_runtimeType)) + { + const outlineWidth_buf__selector : int32 = valueDeserializer.readInt8() + let outlineWidth_buf_ : Dimension | EdgeOutlineWidths | undefined + if (outlineWidth_buf__selector == 0) { + const outlineWidth_buf__u_selector : int32 = valueDeserializer.readInt8() + let outlineWidth_buf__u : string | number | Resource | undefined + if (outlineWidth_buf__u_selector == 0) { + outlineWidth_buf__u = (valueDeserializer.readString() as string) + } + else if (outlineWidth_buf__u_selector == 1) { + outlineWidth_buf__u = (valueDeserializer.readNumber() as number) + } + else if (outlineWidth_buf__u_selector == 2) { + outlineWidth_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for outlineWidth_buf__u has to be chosen through deserialisation.") + } + outlineWidth_buf_ = (outlineWidth_buf__u as string | number | Resource) + } + else if (outlineWidth_buf__selector == 1) { + outlineWidth_buf_ = valueDeserializer.readEdgeOutlineWidths() + } + else { + throw new Error("One of the branches for outlineWidth_buf_ has to be chosen through deserialisation.") + } + outlineWidth_buf = (outlineWidth_buf_ as Dimension | EdgeOutlineWidths) + } + const outlineWidth_result : Dimension | EdgeOutlineWidths | undefined = outlineWidth_buf + const hapticFeedbackMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hapticFeedbackMode_buf : HapticFeedbackMode | undefined + if ((RuntimeType.UNDEFINED) != (hapticFeedbackMode_buf_runtimeType)) + { + hapticFeedbackMode_buf = TypeChecker.HapticFeedbackMode_FromNumeric(valueDeserializer.readInt32()) + } + const hapticFeedbackMode_result : HapticFeedbackMode | undefined = hapticFeedbackMode_buf const title_buf_runtimeType = (valueDeserializer.readInt8() as int32) let title_buf : ResourceStr | undefined if ((RuntimeType.UNDEFINED) != (title_buf_runtimeType)) @@ -25484,31 +26159,103 @@ export class Deserializer extends DeserializerBase { if (title_buf__selector == 0) { title_buf_ = (valueDeserializer.readString() as string) } - else if (title_buf__selector == 1) { - title_buf_ = valueDeserializer.readResource() + else if (title_buf__selector == 1) { + title_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for title_buf_ has to be chosen through deserialisation.") + } + title_buf = (title_buf_ as string | Resource) + } + const title_result : ResourceStr | undefined = title_buf + const showInSubWindow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let showInSubWindow_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (showInSubWindow_buf_runtimeType)) + { + showInSubWindow_buf = valueDeserializer.readBoolean() + } + const showInSubWindow_result : boolean | undefined = showInSubWindow_buf + let value : MenuOptions = ({offset: offset_result, placement: placement_result, enableArrow: enableArrow_result, arrowOffset: arrowOffset_result, preview: preview_result, previewBorderRadius: previewBorderRadius_result, borderRadius: borderRadius_result, onAppear: onAppear_result, onDisappear: onDisappear_result, aboutToAppear: aboutToAppear_result, aboutToDisappear: aboutToDisappear_result, layoutRegionMargin: layoutRegionMargin_result, previewAnimationOptions: previewAnimationOptions_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, transition: transition_result, enableHoverMode: enableHoverMode_result, outlineColor: outlineColor_result, outlineWidth: outlineWidth_result, hapticFeedbackMode: hapticFeedbackMode_result, title: title_result, showInSubWindow: showInSubWindow_result} as MenuOptions) + return value + } + public readMenuOutlineOptions(): MenuOutlineOptions { + let valueDeserializer : Deserializer = this + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf : Dimension | EdgeOutlineWidths | undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + const width_buf__selector : int32 = valueDeserializer.readInt8() + let width_buf_ : Dimension | EdgeOutlineWidths | undefined + if (width_buf__selector == 0) { + const width_buf__u_selector : int32 = valueDeserializer.readInt8() + let width_buf__u : string | number | Resource | undefined + if (width_buf__u_selector == 0) { + width_buf__u = (valueDeserializer.readString() as string) + } + else if (width_buf__u_selector == 1) { + width_buf__u = (valueDeserializer.readNumber() as number) + } + else if (width_buf__u_selector == 2) { + width_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for width_buf__u has to be chosen through deserialisation.") + } + width_buf_ = (width_buf__u as string | number | Resource) + } + else if (width_buf__selector == 1) { + width_buf_ = valueDeserializer.readEdgeOutlineWidths() + } + else { + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + } + width_buf = (width_buf_ as Dimension | EdgeOutlineWidths) + } + const width_result : Dimension | EdgeOutlineWidths | undefined = width_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf : ResourceColor | EdgeColors | undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + { + const color_buf__selector : int32 = valueDeserializer.readInt8() + let color_buf_ : ResourceColor | EdgeColors | undefined + if (color_buf__selector == 0) { + const color_buf__u_selector : int32 = valueDeserializer.readInt8() + let color_buf__u : Color | number | string | Resource | undefined + if (color_buf__u_selector == 0) { + color_buf__u = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (color_buf__u_selector == 1) { + color_buf__u = (valueDeserializer.readNumber() as number) + } + else if (color_buf__u_selector == 2) { + color_buf__u = (valueDeserializer.readString() as string) + } + else if (color_buf__u_selector == 3) { + color_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf__u has to be chosen through deserialisation.") + } + color_buf_ = (color_buf__u as Color | number | string | Resource) + } + else if (color_buf__selector == 1) { + color_buf_ = valueDeserializer.readEdgeColors() } else { - throw new Error("One of the branches for title_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - title_buf = (title_buf_ as string | Resource) - } - const title_result : ResourceStr | undefined = title_buf - const showInSubWindow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let showInSubWindow_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (showInSubWindow_buf_runtimeType)) - { - showInSubWindow_buf = valueDeserializer.readBoolean() + color_buf = (color_buf_ as ResourceColor | EdgeColors) } - const showInSubWindow_result : boolean | undefined = showInSubWindow_buf - let value : MenuOptions = ({offset: offset_result, placement: placement_result, enableArrow: enableArrow_result, arrowOffset: arrowOffset_result, preview: preview_result, borderRadius: borderRadius_result, onAppear: onAppear_result, onDisappear: onDisappear_result, aboutToAppear: aboutToAppear_result, aboutToDisappear: aboutToDisappear_result, layoutRegionMargin: layoutRegionMargin_result, previewAnimationOptions: previewAnimationOptions_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, transition: transition_result, enableHoverMode: enableHoverMode_result, title: title_result, showInSubWindow: showInSubWindow_result} as MenuOptions) + const color_result : ResourceColor | EdgeColors | undefined = color_buf + let value : MenuOutlineOptions = ({width: width_result, color: color_result} as MenuOutlineOptions) return value } - readMouseEvent(): MouseEvent { + public readMouseEvent(): MouseEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return MouseEventInternal.fromPtr(ptr) } - readNativeEmbedInfo(): NativeEmbedInfo { + public readNativeEmbedInfo(): NativeEmbedInfo { let valueDeserializer : Deserializer = this const id_buf_runtimeType = (valueDeserializer.readInt8() as int32) let id_buf : string | undefined @@ -25584,7 +26331,90 @@ export class Deserializer extends DeserializerBase { let value : NativeEmbedInfo = ({id: id_result, type: type_result, src: src_result, position: position_result, width: width_result, height: height_result, url: url_result, tag: tag_result, params: params_result} as NativeEmbedInfo) return value } - readOutlineOptions(): OutlineOptions { + public readNavigationMenuOptions(): NavigationMenuOptions { + let valueDeserializer : Deserializer = this + const moreButtonOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let moreButtonOptions_buf : MoreButtonOptions | undefined + if ((RuntimeType.UNDEFINED) != (moreButtonOptions_buf_runtimeType)) + { + moreButtonOptions_buf = valueDeserializer.readMoreButtonOptions() + } + const moreButtonOptions_result : MoreButtonOptions | undefined = moreButtonOptions_buf + let value : NavigationMenuOptions = ({moreButtonOptions: moreButtonOptions_result} as NavigationMenuOptions) + return value + } + public readNavigationToolbarOptions(): NavigationToolbarOptions { + let valueDeserializer : Deserializer = this + const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) + { + const backgroundColor_buf__selector : int32 = valueDeserializer.readInt8() + let backgroundColor_buf_ : Color | number | string | Resource | undefined + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_ = (valueDeserializer.readString() as string) + } + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") + } + backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) + } + const backgroundColor_result : ResourceColor | undefined = backgroundColor_buf + const backgroundBlurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyle_buf : BlurStyle | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + { + backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) + } + const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf + const moreButtonOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let moreButtonOptions_buf : MoreButtonOptions | undefined + if ((RuntimeType.UNDEFINED) != (moreButtonOptions_buf_runtimeType)) + { + moreButtonOptions_buf = valueDeserializer.readMoreButtonOptions() + } + const moreButtonOptions_result : MoreButtonOptions | undefined = moreButtonOptions_buf + const barStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let barStyle_buf : BarStyle | undefined + if ((RuntimeType.UNDEFINED) != (barStyle_buf_runtimeType)) + { + barStyle_buf = TypeChecker.BarStyle_FromNumeric(valueDeserializer.readInt32()) + } + const barStyle_result : BarStyle | undefined = barStyle_buf + const hideItemValue_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hideItemValue_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (hideItemValue_buf_runtimeType)) + { + hideItemValue_buf = valueDeserializer.readBoolean() + } + const hideItemValue_result : boolean | undefined = hideItemValue_buf + let value : NavigationToolbarOptions = ({backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, moreButtonOptions: moreButtonOptions_result, barStyle: barStyle_result, hideItemValue: hideItemValue_result} as NavigationToolbarOptions) + return value + } + public readOutlineOptions(): OutlineOptions { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf : EdgeOutlineWidths | Dimension | undefined @@ -25593,91 +26423,7 @@ export class Deserializer extends DeserializerBase { const width_buf__selector : int32 = valueDeserializer.readInt8() let width_buf_ : EdgeOutlineWidths | Dimension | undefined if (width_buf__selector == 0) { - const width_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_top_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_top_buf_runtimeType)) - { - const width_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf__u_top_buf_ : string | number | Resource | undefined - if (width_buf__u_top_buf__selector == 0) { - width_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_top_buf__selector == 1) { - width_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_top_buf__selector == 2) { - width_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_top_buf_ has to be chosen through deserialisation.") - } - width_buf__u_top_buf = (width_buf__u_top_buf_ as string | number | Resource) - } - const width_buf__u_top : undefined | Dimension = width_buf__u_top_buf - const width_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_right_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_right_buf_runtimeType)) - { - const width_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf__u_right_buf_ : string | number | Resource | undefined - if (width_buf__u_right_buf__selector == 0) { - width_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_right_buf__selector == 1) { - width_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_right_buf__selector == 2) { - width_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_right_buf_ has to be chosen through deserialisation.") - } - width_buf__u_right_buf = (width_buf__u_right_buf_ as string | number | Resource) - } - const width_buf__u_right : undefined | Dimension = width_buf__u_right_buf - const width_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_bottom_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_bottom_buf_runtimeType)) - { - const width_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf__u_bottom_buf_ : string | number | Resource | undefined - if (width_buf__u_bottom_buf__selector == 0) { - width_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_bottom_buf__selector == 1) { - width_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_bottom_buf__selector == 2) { - width_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - width_buf__u_bottom_buf = (width_buf__u_bottom_buf_ as string | number | Resource) - } - const width_buf__u_bottom : undefined | Dimension = width_buf__u_bottom_buf - const width_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_left_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_left_buf_runtimeType)) - { - const width_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf__u_left_buf_ : string | number | Resource | undefined - if (width_buf__u_left_buf__selector == 0) { - width_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_left_buf__selector == 1) { - width_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_left_buf__selector == 2) { - width_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_left_buf_ has to be chosen through deserialisation.") - } - width_buf__u_left_buf = (width_buf__u_left_buf_ as string | number | Resource) - } - const width_buf__u_left : undefined | Dimension = width_buf__u_left_buf - width_buf_ = ({top: width_buf__u_top, right: width_buf__u_right, bottom: width_buf__u_bottom, left: width_buf__u_left} as EdgeOutlineWidths) + width_buf_ = valueDeserializer.readEdgeOutlineWidths() } else if (width_buf__selector == 1) { const width_buf__u_selector : int32 = valueDeserializer.readInt8() @@ -25709,103 +26455,7 @@ export class Deserializer extends DeserializerBase { const color_buf__selector : int32 = valueDeserializer.readInt8() let color_buf_ : EdgeColors | ResourceColor | LocalizedEdgeColors | undefined if (color_buf__selector == 0) { - const color_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_top_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_top_buf_runtimeType)) - { - const color_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf__u_top_buf_ : Color | number | string | Resource | undefined - if (color_buf__u_top_buf__selector == 0) { - color_buf__u_top_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__u_top_buf__selector == 1) { - color_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_top_buf__selector == 2) { - color_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_top_buf__selector == 3) { - color_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_top_buf_ has to be chosen through deserialisation.") - } - color_buf__u_top_buf = (color_buf__u_top_buf_ as Color | number | string | Resource) - } - const color_buf__u_top : undefined | ResourceColor = color_buf__u_top_buf - const color_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_right_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_right_buf_runtimeType)) - { - const color_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf__u_right_buf_ : Color | number | string | Resource | undefined - if (color_buf__u_right_buf__selector == 0) { - color_buf__u_right_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__u_right_buf__selector == 1) { - color_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_right_buf__selector == 2) { - color_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_right_buf__selector == 3) { - color_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_right_buf_ has to be chosen through deserialisation.") - } - color_buf__u_right_buf = (color_buf__u_right_buf_ as Color | number | string | Resource) - } - const color_buf__u_right : undefined | ResourceColor = color_buf__u_right_buf - const color_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_bottom_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_bottom_buf_runtimeType)) - { - const color_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf__u_bottom_buf_ : Color | number | string | Resource | undefined - if (color_buf__u_bottom_buf__selector == 0) { - color_buf__u_bottom_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__u_bottom_buf__selector == 1) { - color_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_bottom_buf__selector == 2) { - color_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_bottom_buf__selector == 3) { - color_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - color_buf__u_bottom_buf = (color_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const color_buf__u_bottom : undefined | ResourceColor = color_buf__u_bottom_buf - const color_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_left_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_left_buf_runtimeType)) - { - const color_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let color_buf__u_left_buf_ : Color | number | string | Resource | undefined - if (color_buf__u_left_buf__selector == 0) { - color_buf__u_left_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (color_buf__u_left_buf__selector == 1) { - color_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_left_buf__selector == 2) { - color_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_left_buf__selector == 3) { - color_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_left_buf_ has to be chosen through deserialisation.") - } - color_buf__u_left_buf = (color_buf__u_left_buf_ as Color | number | string | Resource) - } - const color_buf__u_left : undefined | ResourceColor = color_buf__u_left_buf - color_buf_ = ({top: color_buf__u_top, right: color_buf__u_right, bottom: color_buf__u_bottom, left: color_buf__u_left} as EdgeColors) + color_buf_ = valueDeserializer.readEdgeColors() } else if (color_buf__selector == 1) { const color_buf__u_selector : int32 = valueDeserializer.readInt8() @@ -25843,91 +26493,7 @@ export class Deserializer extends DeserializerBase { const radius_buf__selector : int32 = valueDeserializer.readInt8() let radius_buf_ : OutlineRadiuses | Dimension | undefined if (radius_buf__selector == 0) { - const radius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_topLeft_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_topLeft_buf_runtimeType)) - { - const radius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (radius_buf__u_topLeft_buf__selector == 0) { - radius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_topLeft_buf__selector == 1) { - radius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_topLeft_buf__selector == 2) { - radius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_topLeft_buf = (radius_buf__u_topLeft_buf_ as string | number | Resource) - } - const radius_buf__u_topLeft : undefined | Dimension = radius_buf__u_topLeft_buf - const radius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_topRight_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_topRight_buf_runtimeType)) - { - const radius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (radius_buf__u_topRight_buf__selector == 0) { - radius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_topRight_buf__selector == 1) { - radius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_topRight_buf__selector == 2) { - radius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_topRight_buf = (radius_buf__u_topRight_buf_ as string | number | Resource) - } - const radius_buf__u_topRight : undefined | Dimension = radius_buf__u_topRight_buf - const radius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_bottomLeft_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_bottomLeft_buf_runtimeType)) - { - const radius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (radius_buf__u_bottomLeft_buf__selector == 0) { - radius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_bottomLeft_buf__selector == 1) { - radius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_bottomLeft_buf__selector == 2) { - radius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_bottomLeft_buf = (radius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const radius_buf__u_bottomLeft : undefined | Dimension = radius_buf__u_bottomLeft_buf - const radius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_bottomRight_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_bottomRight_buf_runtimeType)) - { - const radius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (radius_buf__u_bottomRight_buf__selector == 0) { - radius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_bottomRight_buf__selector == 1) { - radius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_bottomRight_buf__selector == 2) { - radius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_bottomRight_buf = (radius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const radius_buf__u_bottomRight : undefined | Dimension = radius_buf__u_bottomRight_buf - radius_buf_ = ({topLeft: radius_buf__u_topLeft, topRight: radius_buf__u_topRight, bottomLeft: radius_buf__u_bottomLeft, bottomRight: radius_buf__u_bottomRight} as OutlineRadiuses) + radius_buf_ = valueDeserializer.readOutlineRadiuses() } else if (radius_buf__selector == 1) { const radius_buf__u_selector : int32 = valueDeserializer.readInt8() @@ -25959,35 +26525,7 @@ export class Deserializer extends DeserializerBase { const style_buf__selector : int32 = valueDeserializer.readInt8() let style_buf_ : EdgeOutlineStyles | OutlineStyle | undefined if (style_buf__selector == 0) { - const style_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf__u_top_buf : OutlineStyle | undefined - if ((RuntimeType.UNDEFINED) != (style_buf__u_top_buf_runtimeType)) - { - style_buf__u_top_buf = TypeChecker.OutlineStyle_FromNumeric(valueDeserializer.readInt32()) - } - const style_buf__u_top : undefined | OutlineStyle = style_buf__u_top_buf - const style_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf__u_right_buf : OutlineStyle | undefined - if ((RuntimeType.UNDEFINED) != (style_buf__u_right_buf_runtimeType)) - { - style_buf__u_right_buf = TypeChecker.OutlineStyle_FromNumeric(valueDeserializer.readInt32()) - } - const style_buf__u_right : undefined | OutlineStyle = style_buf__u_right_buf - const style_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf__u_bottom_buf : OutlineStyle | undefined - if ((RuntimeType.UNDEFINED) != (style_buf__u_bottom_buf_runtimeType)) - { - style_buf__u_bottom_buf = TypeChecker.OutlineStyle_FromNumeric(valueDeserializer.readInt32()) - } - const style_buf__u_bottom : undefined | OutlineStyle = style_buf__u_bottom_buf - const style_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf__u_left_buf : OutlineStyle | undefined - if ((RuntimeType.UNDEFINED) != (style_buf__u_left_buf_runtimeType)) - { - style_buf__u_left_buf = TypeChecker.OutlineStyle_FromNumeric(valueDeserializer.readInt32()) - } - const style_buf__u_left : undefined | OutlineStyle = style_buf__u_left_buf - style_buf_ = ({top: style_buf__u_top, right: style_buf__u_right, bottom: style_buf__u_bottom, left: style_buf__u_left} as EdgeOutlineStyles) + style_buf_ = valueDeserializer.readEdgeOutlineStyles() } else if (style_buf__selector == 1) { style_buf_ = TypeChecker.OutlineStyle_FromNumeric(valueDeserializer.readInt32()) @@ -26001,12 +26539,82 @@ export class Deserializer extends DeserializerBase { let value : OutlineOptions = ({width: width_result, color: color_result, radius: radius_result, style: style_result} as OutlineOptions) return value } - readPanGestureEvent(): PanGestureEvent { + public readPanGestureEvent(): PanGestureEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PanGestureEventInternal.fromPtr(ptr) } - readPickerDialogButtonStyle(): PickerDialogButtonStyle { + public readParagraphStyle(): ParagraphStyle { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return ParagraphStyleInternal.fromPtr(ptr) + } + public readParagraphStyleInterface(): ParagraphStyleInterface { + let valueDeserializer : Deserializer = this + const textAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textAlign_buf : TextAlign | undefined + if ((RuntimeType.UNDEFINED) != (textAlign_buf_runtimeType)) + { + textAlign_buf = TypeChecker.TextAlign_FromNumeric(valueDeserializer.readInt32()) + } + const textAlign_result : TextAlign | undefined = textAlign_buf + const textIndent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textIndent_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (textIndent_buf_runtimeType)) + { + textIndent_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const textIndent_result : LengthMetrics | undefined = textIndent_buf + const maxLines_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxLines_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (maxLines_buf_runtimeType)) + { + maxLines_buf = (valueDeserializer.readNumber() as number) + } + const maxLines_result : number | undefined = maxLines_buf + const overflow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let overflow_buf : TextOverflow | undefined + if ((RuntimeType.UNDEFINED) != (overflow_buf_runtimeType)) + { + overflow_buf = TypeChecker.TextOverflow_FromNumeric(valueDeserializer.readInt32()) + } + const overflow_result : TextOverflow | undefined = overflow_buf + const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let wordBreak_buf : WordBreak | undefined + if ((RuntimeType.UNDEFINED) != (wordBreak_buf_runtimeType)) + { + wordBreak_buf = TypeChecker.WordBreak_FromNumeric(valueDeserializer.readInt32()) + } + const wordBreak_result : WordBreak | undefined = wordBreak_buf + const leadingMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let leadingMargin_buf : LengthMetrics | LeadingMarginPlaceholder | undefined + if ((RuntimeType.UNDEFINED) != (leadingMargin_buf_runtimeType)) + { + const leadingMargin_buf__selector : int32 = valueDeserializer.readInt8() + let leadingMargin_buf_ : LengthMetrics | LeadingMarginPlaceholder | undefined + if (leadingMargin_buf__selector == 0) { + leadingMargin_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + else if (leadingMargin_buf__selector == 1) { + leadingMargin_buf_ = valueDeserializer.readLeadingMarginPlaceholder() + } + else { + throw new Error("One of the branches for leadingMargin_buf_ has to be chosen through deserialisation.") + } + leadingMargin_buf = (leadingMargin_buf_ as LengthMetrics | LeadingMarginPlaceholder) + } + const leadingMargin_result : LengthMetrics | LeadingMarginPlaceholder | undefined = leadingMargin_buf + const paragraphSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let paragraphSpacing_buf : LengthMetrics | undefined + if ((RuntimeType.UNDEFINED) != (paragraphSpacing_buf_runtimeType)) + { + paragraphSpacing_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const paragraphSpacing_result : LengthMetrics | undefined = paragraphSpacing_buf + let value : ParagraphStyleInterface = ({textAlign: textAlign_result, textIndent: textIndent_result, maxLines: maxLines_result, overflow: overflow_result, wordBreak: wordBreak_result, leadingMargin: leadingMargin_result, paragraphSpacing: paragraphSpacing_result} as ParagraphStyleInterface) + return value + } + public readPickerDialogButtonStyle(): PickerDialogButtonStyle { let valueDeserializer : Deserializer = this const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) let type_buf : ButtonType | undefined @@ -26156,103 +26764,19 @@ export class Deserializer extends DeserializerBase { if (borderRadius_buf__u_selector == 0) { borderRadius_buf__u = (valueDeserializer.readString() as string) } - else if (borderRadius_buf__u_selector == 1) { - borderRadius_buf__u = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_selector == 2) { - borderRadius_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u has to be chosen through deserialisation.") - } - borderRadius_buf_ = (borderRadius_buf__u as string | number | Resource) - } - else if (borderRadius_buf__selector == 1) { - const borderRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const borderRadius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topLeft_buf = (borderRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topLeft : undefined | Length = borderRadius_buf__u_topLeft_buf - const borderRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const borderRadius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topRight_buf = (borderRadius_buf__u_topRight_buf_ as string | number | Resource) + else if (borderRadius_buf__u_selector == 1) { + borderRadius_buf__u = (valueDeserializer.readNumber() as number) } - const borderRadius_buf__u_topRight : undefined | Length = borderRadius_buf__u_topRight_buf - const borderRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const borderRadius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomLeft_buf = (borderRadius_buf__u_bottomLeft_buf_ as string | number | Resource) + else if (borderRadius_buf__u_selector == 2) { + borderRadius_buf__u = valueDeserializer.readResource() } - const borderRadius_buf__u_bottomLeft : undefined | Length = borderRadius_buf__u_bottomLeft_buf - const borderRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const borderRadius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomRight_buf = (borderRadius_buf__u_bottomRight_buf_ as string | number | Resource) + else { + throw new Error("One of the branches for borderRadius_buf__u has to be chosen through deserialisation.") } - const borderRadius_buf__u_bottomRight : undefined | Length = borderRadius_buf__u_bottomRight_buf - borderRadius_buf_ = ({topLeft: borderRadius_buf__u_topLeft, topRight: borderRadius_buf__u_topRight, bottomLeft: borderRadius_buf__u_bottomLeft, bottomRight: borderRadius_buf__u_bottomRight} as BorderRadiuses) + borderRadius_buf_ = (borderRadius_buf__u as string | number | Resource) + } + else if (borderRadius_buf__selector == 1) { + borderRadius_buf_ = valueDeserializer.readBorderRadiuses() } else { throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") @@ -26270,7 +26794,7 @@ export class Deserializer extends DeserializerBase { let value : PickerDialogButtonStyle = ({type: type_result, style: style_result, role: role_result, fontSize: fontSize_result, fontColor: fontColor_result, fontWeight: fontWeight_result, fontStyle: fontStyle_result, fontFamily: fontFamily_result, backgroundColor: backgroundColor_result, borderRadius: borderRadius_result, primary: primary_result} as PickerDialogButtonStyle) return value } - readPickerTextStyle(): PickerTextStyle { + public readPickerTextStyle(): PickerTextStyle { let valueDeserializer : Deserializer = this const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) let color_buf : ResourceColor | undefined @@ -26306,12 +26830,12 @@ export class Deserializer extends DeserializerBase { let value : PickerTextStyle = ({color: color_result, font: font_result} as PickerTextStyle) return value } - readPinchGestureEvent(): PinchGestureEvent { + public readPinchGestureEvent(): PinchGestureEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return PinchGestureEventInternal.fromPtr(ptr) } - readPlaceholderStyle(): PlaceholderStyle { + public readPlaceholderStyle(): PlaceholderStyle { let valueDeserializer : Deserializer = this const font_buf_runtimeType = (valueDeserializer.readInt8() as int32) let font_buf : Font | undefined @@ -26347,33 +26871,7 @@ export class Deserializer extends DeserializerBase { let value : PlaceholderStyle = ({font: font_result, fontColor: fontColor_result} as PlaceholderStyle) return value } - readPointLightStyle(): PointLightStyle { - let valueDeserializer : Deserializer = this - const lightSource_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lightSource_buf : LightSource | undefined - if ((RuntimeType.UNDEFINED) != (lightSource_buf_runtimeType)) - { - lightSource_buf = valueDeserializer.readLightSource() - } - const lightSource_result : LightSource | undefined = lightSource_buf - const illuminated_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let illuminated_buf : IlluminatedType | undefined - if ((RuntimeType.UNDEFINED) != (illuminated_buf_runtimeType)) - { - illuminated_buf = TypeChecker.IlluminatedType_FromNumeric(valueDeserializer.readInt32()) - } - const illuminated_result : IlluminatedType | undefined = illuminated_buf - const bloom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bloom_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (bloom_buf_runtimeType)) - { - bloom_buf = (valueDeserializer.readNumber() as number) - } - const bloom_result : number | undefined = bloom_buf - let value : PointLightStyle = ({lightSource: lightSource_result, illuminated: illuminated_result, bloom: bloom_result} as PointLightStyle) - return value - } - readPopupMessageOptions(): PopupMessageOptions { + public readPopupMessageOptions(): PopupMessageOptions { let valueDeserializer : Deserializer = this const textColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) let textColor_buf : ResourceColor | undefined @@ -26409,118 +26907,260 @@ export class Deserializer extends DeserializerBase { let value : PopupMessageOptions = ({textColor: textColor_result, font: font_result} as PopupMessageOptions) return value } - readResizableOptions(): ResizableOptions { + public readResizableOptions(): ResizableOptions { let valueDeserializer : Deserializer = this const slice_buf_runtimeType = (valueDeserializer.readInt8() as int32) let slice_buf : EdgeWidths | undefined if ((RuntimeType.UNDEFINED) != (slice_buf_runtimeType)) { - const slice_buf__top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__top_buf_runtimeType)) - { - const slice_buf__top_buf__selector : int32 = valueDeserializer.readInt8() - let slice_buf__top_buf_ : string | number | Resource | undefined - if (slice_buf__top_buf__selector == 0) { - slice_buf__top_buf_ = (valueDeserializer.readString() as string) + slice_buf = valueDeserializer.readEdgeWidths() + } + const slice_result : EdgeWidths | undefined = slice_buf + const lattice_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lattice_buf : DrawingLattice | undefined + if ((RuntimeType.UNDEFINED) != (lattice_buf_runtimeType)) + { + lattice_buf = (valueDeserializer.readDrawingLattice() as DrawingLattice) + } + const lattice_result : DrawingLattice | undefined = lattice_buf + let value : ResizableOptions = ({slice: slice_result, lattice: lattice_result} as ResizableOptions) + return value + } + public readRichEditorLayoutStyle(): RichEditorLayoutStyle { + let valueDeserializer : Deserializer = this + const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let margin_buf : Dimension | Padding | undefined + if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) + { + const margin_buf__selector : int32 = valueDeserializer.readInt8() + let margin_buf_ : Dimension | Padding | undefined + if (margin_buf__selector == 0) { + const margin_buf__u_selector : int32 = valueDeserializer.readInt8() + let margin_buf__u : string | number | Resource | undefined + if (margin_buf__u_selector == 0) { + margin_buf__u = (valueDeserializer.readString() as string) } - else if (slice_buf__top_buf__selector == 1) { - slice_buf__top_buf_ = (valueDeserializer.readNumber() as number) + else if (margin_buf__u_selector == 1) { + margin_buf__u = (valueDeserializer.readNumber() as number) } - else if (slice_buf__top_buf__selector == 2) { - slice_buf__top_buf_ = valueDeserializer.readResource() + else if (margin_buf__u_selector == 2) { + margin_buf__u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for slice_buf__top_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for margin_buf__u has to be chosen through deserialisation.") } - slice_buf__top_buf = (slice_buf__top_buf_ as string | number | Resource) + margin_buf_ = (margin_buf__u as string | number | Resource) } - const slice_buf__top : undefined | Length = slice_buf__top_buf - const slice_buf__right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__right_buf_runtimeType)) - { - const slice_buf__right_buf__selector : int32 = valueDeserializer.readInt8() - let slice_buf__right_buf_ : string | number | Resource | undefined - if (slice_buf__right_buf__selector == 0) { - slice_buf__right_buf_ = (valueDeserializer.readString() as string) + else if (margin_buf__selector == 1) { + margin_buf_ = valueDeserializer.readPadding() + } + else { + throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") + } + margin_buf = (margin_buf_ as Dimension | Padding) + } + const margin_result : Dimension | Padding | undefined = margin_buf + const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderRadius_buf : Dimension | BorderRadiuses | undefined + if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) + { + const borderRadius_buf__selector : int32 = valueDeserializer.readInt8() + let borderRadius_buf_ : Dimension | BorderRadiuses | undefined + if (borderRadius_buf__selector == 0) { + const borderRadius_buf__u_selector : int32 = valueDeserializer.readInt8() + let borderRadius_buf__u : string | number | Resource | undefined + if (borderRadius_buf__u_selector == 0) { + borderRadius_buf__u = (valueDeserializer.readString() as string) + } + else if (borderRadius_buf__u_selector == 1) { + borderRadius_buf__u = (valueDeserializer.readNumber() as number) + } + else if (borderRadius_buf__u_selector == 2) { + borderRadius_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for borderRadius_buf__u has to be chosen through deserialisation.") + } + borderRadius_buf_ = (borderRadius_buf__u as string | number | Resource) + } + else if (borderRadius_buf__selector == 1) { + borderRadius_buf_ = valueDeserializer.readBorderRadiuses() + } + else { + throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") + } + borderRadius_buf = (borderRadius_buf_ as Dimension | BorderRadiuses) + } + const borderRadius_result : Dimension | BorderRadiuses | undefined = borderRadius_buf + let value : RichEditorLayoutStyle = ({margin: margin_result, borderRadius: borderRadius_result} as RichEditorLayoutStyle) + return value + } + public readRichEditorParagraphStyle(): RichEditorParagraphStyle { + let valueDeserializer : Deserializer = this + const textAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textAlign_buf : TextAlign | undefined + if ((RuntimeType.UNDEFINED) != (textAlign_buf_runtimeType)) + { + textAlign_buf = TypeChecker.TextAlign_FromNumeric(valueDeserializer.readInt32()) + } + const textAlign_result : TextAlign | undefined = textAlign_buf + const leadingMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let leadingMargin_buf : Dimension | LeadingMarginPlaceholder | undefined + if ((RuntimeType.UNDEFINED) != (leadingMargin_buf_runtimeType)) + { + const leadingMargin_buf__selector : int32 = valueDeserializer.readInt8() + let leadingMargin_buf_ : Dimension | LeadingMarginPlaceholder | undefined + if (leadingMargin_buf__selector == 0) { + const leadingMargin_buf__u_selector : int32 = valueDeserializer.readInt8() + let leadingMargin_buf__u : string | number | Resource | undefined + if (leadingMargin_buf__u_selector == 0) { + leadingMargin_buf__u = (valueDeserializer.readString() as string) } - else if (slice_buf__right_buf__selector == 1) { - slice_buf__right_buf_ = (valueDeserializer.readNumber() as number) + else if (leadingMargin_buf__u_selector == 1) { + leadingMargin_buf__u = (valueDeserializer.readNumber() as number) } - else if (slice_buf__right_buf__selector == 2) { - slice_buf__right_buf_ = valueDeserializer.readResource() + else if (leadingMargin_buf__u_selector == 2) { + leadingMargin_buf__u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for slice_buf__right_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for leadingMargin_buf__u has to be chosen through deserialisation.") } - slice_buf__right_buf = (slice_buf__right_buf_ as string | number | Resource) + leadingMargin_buf_ = (leadingMargin_buf__u as string | number | Resource) + } + else if (leadingMargin_buf__selector == 1) { + leadingMargin_buf_ = valueDeserializer.readLeadingMarginPlaceholder() + } + else { + throw new Error("One of the branches for leadingMargin_buf_ has to be chosen through deserialisation.") + } + leadingMargin_buf = (leadingMargin_buf_ as Dimension | LeadingMarginPlaceholder) + } + const leadingMargin_result : Dimension | LeadingMarginPlaceholder | undefined = leadingMargin_buf + const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let wordBreak_buf : WordBreak | undefined + if ((RuntimeType.UNDEFINED) != (wordBreak_buf_runtimeType)) + { + wordBreak_buf = TypeChecker.WordBreak_FromNumeric(valueDeserializer.readInt32()) + } + const wordBreak_result : WordBreak | undefined = wordBreak_buf + const lineBreakStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lineBreakStrategy_buf : LineBreakStrategy | undefined + if ((RuntimeType.UNDEFINED) != (lineBreakStrategy_buf_runtimeType)) + { + lineBreakStrategy_buf = TypeChecker.LineBreakStrategy_FromNumeric(valueDeserializer.readInt32()) + } + const lineBreakStrategy_result : LineBreakStrategy | undefined = lineBreakStrategy_buf + const paragraphSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let paragraphSpacing_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (paragraphSpacing_buf_runtimeType)) + { + paragraphSpacing_buf = (valueDeserializer.readNumber() as number) + } + const paragraphSpacing_result : number | undefined = paragraphSpacing_buf + let value : RichEditorParagraphStyle = ({textAlign: textAlign_result, leadingMargin: leadingMargin_result, wordBreak: wordBreak_result, lineBreakStrategy: lineBreakStrategy_result, paragraphSpacing: paragraphSpacing_result} as RichEditorParagraphStyle) + return value + } + public readRichEditorParagraphStyleOptions(): RichEditorParagraphStyleOptions { + let valueDeserializer : Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = (valueDeserializer.readNumber() as number) + } + const start_result : number | undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = (valueDeserializer.readNumber() as number) + } + const end_result : number | undefined = end_buf + const style_result : RichEditorParagraphStyle = valueDeserializer.readRichEditorParagraphStyle() + let value : RichEditorParagraphStyleOptions = ({start: start_result, end: end_result, style: style_result} as RichEditorParagraphStyleOptions) + return value + } + public readRotationGestureEvent(): RotationGestureEvent { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return RotationGestureEventInternal.fromPtr(ptr) + } + public readRunMetrics(): RunMetrics { + let valueDeserializer : Deserializer = this + const textStyle_result : text.TextStyle = valueDeserializer.readtext_TextStyle() + const fontMetrics_result : FontMetrics = valueDeserializer.readFontMetrics() + let value : RunMetrics = ({textStyle: textStyle_result, fontMetrics: fontMetrics_result} as RunMetrics) + return value + } + public readSectionOptions(): SectionOptions { + let valueDeserializer : Deserializer = this + const itemsCount_result : number = (valueDeserializer.readNumber() as number) + const crossCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let crossCount_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (crossCount_buf_runtimeType)) + { + crossCount_buf = (valueDeserializer.readNumber() as number) + } + const crossCount_result : number | undefined = crossCount_buf + const onGetItemMainSizeByIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onGetItemMainSizeByIndex_buf : GetItemMainSizeByIndex | undefined + if ((RuntimeType.UNDEFINED) != (onGetItemMainSizeByIndex_buf_runtimeType)) + { + onGetItemMainSizeByIndex_buf = valueDeserializer.readGetItemMainSizeByIndex() + } + const onGetItemMainSizeByIndex_result : GetItemMainSizeByIndex | undefined = onGetItemMainSizeByIndex_buf + const columnsGap_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let columnsGap_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (columnsGap_buf_runtimeType)) + { + const columnsGap_buf__selector : int32 = valueDeserializer.readInt8() + let columnsGap_buf_ : string | number | Resource | undefined + if (columnsGap_buf__selector == 0) { + columnsGap_buf_ = (valueDeserializer.readString() as string) + } + else if (columnsGap_buf__selector == 1) { + columnsGap_buf_ = (valueDeserializer.readNumber() as number) + } + else if (columnsGap_buf__selector == 2) { + columnsGap_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for columnsGap_buf_ has to be chosen through deserialisation.") + } + columnsGap_buf = (columnsGap_buf_ as string | number | Resource) + } + const columnsGap_result : Dimension | undefined = columnsGap_buf + const rowsGap_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let rowsGap_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (rowsGap_buf_runtimeType)) + { + const rowsGap_buf__selector : int32 = valueDeserializer.readInt8() + let rowsGap_buf_ : string | number | Resource | undefined + if (rowsGap_buf__selector == 0) { + rowsGap_buf_ = (valueDeserializer.readString() as string) + } + else if (rowsGap_buf__selector == 1) { + rowsGap_buf_ = (valueDeserializer.readNumber() as number) } - const slice_buf__right : undefined | Length = slice_buf__right_buf - const slice_buf__bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__bottom_buf_runtimeType)) - { - const slice_buf__bottom_buf__selector : int32 = valueDeserializer.readInt8() - let slice_buf__bottom_buf_ : string | number | Resource | undefined - if (slice_buf__bottom_buf__selector == 0) { - slice_buf__bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (slice_buf__bottom_buf__selector == 1) { - slice_buf__bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (slice_buf__bottom_buf__selector == 2) { - slice_buf__bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for slice_buf__bottom_buf_ has to be chosen through deserialisation.") - } - slice_buf__bottom_buf = (slice_buf__bottom_buf_ as string | number | Resource) + else if (rowsGap_buf__selector == 2) { + rowsGap_buf_ = valueDeserializer.readResource() } - const slice_buf__bottom : undefined | Length = slice_buf__bottom_buf - const slice_buf__left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__left_buf_runtimeType)) - { - const slice_buf__left_buf__selector : int32 = valueDeserializer.readInt8() - let slice_buf__left_buf_ : string | number | Resource | undefined - if (slice_buf__left_buf__selector == 0) { - slice_buf__left_buf_ = (valueDeserializer.readString() as string) - } - else if (slice_buf__left_buf__selector == 1) { - slice_buf__left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (slice_buf__left_buf__selector == 2) { - slice_buf__left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for slice_buf__left_buf_ has to be chosen through deserialisation.") - } - slice_buf__left_buf = (slice_buf__left_buf_ as string | number | Resource) + else { + throw new Error("One of the branches for rowsGap_buf_ has to be chosen through deserialisation.") } - const slice_buf__left : undefined | Length = slice_buf__left_buf - slice_buf = ({top: slice_buf__top, right: slice_buf__right, bottom: slice_buf__bottom, left: slice_buf__left} as EdgeWidths) - } - const slice_result : EdgeWidths | undefined = slice_buf - const lattice_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lattice_buf : DrawingLattice | undefined - if ((RuntimeType.UNDEFINED) != (lattice_buf_runtimeType)) - { - lattice_buf = (valueDeserializer.readDrawingLattice() as DrawingLattice) + rowsGap_buf = (rowsGap_buf_ as string | number | Resource) } - const lattice_result : DrawingLattice | undefined = lattice_buf - let value : ResizableOptions = ({slice: slice_result, lattice: lattice_result} as ResizableOptions) - return value - } - readRichEditorLayoutStyle(): RichEditorLayoutStyle { - let valueDeserializer : Deserializer = this + const rowsGap_result : Dimension | undefined = rowsGap_buf const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf : Dimension | Padding | undefined + let margin_buf : Padding | Dimension | undefined if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) { const margin_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf_ : Dimension | Padding | undefined + let margin_buf_ : Padding | Dimension | undefined if (margin_buf__selector == 0) { + margin_buf_ = valueDeserializer.readPadding() + } + else if (margin_buf__selector == 1) { const margin_buf__u_selector : int32 = valueDeserializer.readInt8() let margin_buf__u : string | number | Resource | undefined if (margin_buf__u_selector == 0) { @@ -26537,684 +27177,599 @@ export class Deserializer extends DeserializerBase { } margin_buf_ = (margin_buf__u as string | number | Resource) } - else if (margin_buf__selector == 1) { - const margin_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_top_buf_runtimeType)) - { - const margin_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf__u_top_buf_ : string | number | Resource | undefined - if (margin_buf__u_top_buf__selector == 0) { - margin_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_top_buf__selector == 1) { - margin_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_top_buf__selector == 2) { - margin_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_top_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_top_buf = (margin_buf__u_top_buf_ as string | number | Resource) + else { + throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") + } + margin_buf = (margin_buf_ as Padding | Dimension) + } + const margin_result : Padding | Dimension | undefined = margin_buf + let value : SectionOptions = ({itemsCount: itemsCount_result, crossCount: crossCount_result, onGetItemMainSizeByIndex: onGetItemMainSizeByIndex_result, columnsGap: columnsGap_result, rowsGap: rowsGap_result, margin: margin_result} as SectionOptions) + return value + } + public readSheetOptions(): SheetOptions { + let valueDeserializer : Deserializer = this + const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) + { + const backgroundColor_buf__selector : int32 = valueDeserializer.readInt8() + let backgroundColor_buf_ : Color | number | string | Resource | undefined + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_ = (valueDeserializer.readString() as string) + } + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") + } + backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) + } + const backgroundColor_result : ResourceColor | undefined = backgroundColor_buf + const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onAppear_buf_runtimeType)) + { + onAppear_buf = valueDeserializer.readCallback_Void() + } + const onAppear_result : (() => void) | undefined = onAppear_buf + const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) + { + onDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDisappear_result : (() => void) | undefined = onDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result : (() => void) | undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf : (() => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result : (() => void) | undefined = onWillDisappear_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf : SheetSize | Length | undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + { + const height_buf__selector : int32 = valueDeserializer.readInt8() + let height_buf_ : SheetSize | Length | undefined + if (height_buf__selector == 0) { + height_buf_ = TypeChecker.SheetSize_FromNumeric(valueDeserializer.readInt32()) + } + else if (height_buf__selector == 1) { + const height_buf__u_selector : int32 = valueDeserializer.readInt8() + let height_buf__u : string | number | Resource | undefined + if (height_buf__u_selector == 0) { + height_buf__u = (valueDeserializer.readString() as string) } - const margin_buf__u_top : undefined | Length = margin_buf__u_top_buf - const margin_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_right_buf_runtimeType)) - { - const margin_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf__u_right_buf_ : string | number | Resource | undefined - if (margin_buf__u_right_buf__selector == 0) { - margin_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_right_buf__selector == 1) { - margin_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_right_buf__selector == 2) { - margin_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_right_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_right_buf = (margin_buf__u_right_buf_ as string | number | Resource) + else if (height_buf__u_selector == 1) { + height_buf__u = (valueDeserializer.readNumber() as number) } - const margin_buf__u_right : undefined | Length = margin_buf__u_right_buf - const margin_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_bottom_buf_runtimeType)) - { - const margin_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf__u_bottom_buf_ : string | number | Resource | undefined - if (margin_buf__u_bottom_buf__selector == 0) { - margin_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_bottom_buf__selector == 1) { - margin_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_bottom_buf__selector == 2) { - margin_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_bottom_buf = (margin_buf__u_bottom_buf_ as string | number | Resource) + else if (height_buf__u_selector == 2) { + height_buf__u = valueDeserializer.readResource() } - const margin_buf__u_bottom : undefined | Length = margin_buf__u_bottom_buf - const margin_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_left_buf_runtimeType)) - { - const margin_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf__u_left_buf_ : string | number | Resource | undefined - if (margin_buf__u_left_buf__selector == 0) { - margin_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_left_buf__selector == 1) { - margin_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_left_buf__selector == 2) { - margin_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_left_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_left_buf = (margin_buf__u_left_buf_ as string | number | Resource) + else { + throw new Error("One of the branches for height_buf__u has to be chosen through deserialisation.") } - const margin_buf__u_left : undefined | Length = margin_buf__u_left_buf - margin_buf_ = ({top: margin_buf__u_top, right: margin_buf__u_right, bottom: margin_buf__u_bottom, left: margin_buf__u_left} as Padding) + height_buf_ = (height_buf__u as string | number | Resource) } else { - throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") } - margin_buf = (margin_buf_ as Dimension | Padding) + height_buf = (height_buf_ as SheetSize | Length) } - const margin_result : Dimension | Padding | undefined = margin_buf - const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf : Dimension | BorderRadiuses | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) + const height_result : SheetSize | Length | undefined = height_buf + const dragBar_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dragBar_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (dragBar_buf_runtimeType)) { - const borderRadius_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf_ : Dimension | BorderRadiuses | undefined - if (borderRadius_buf__selector == 0) { - const borderRadius_buf__u_selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u : string | number | Resource | undefined - if (borderRadius_buf__u_selector == 0) { - borderRadius_buf__u = (valueDeserializer.readString() as string) + dragBar_buf = valueDeserializer.readBoolean() + } + const dragBar_result : boolean | undefined = dragBar_buf + const maskColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maskColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (maskColor_buf_runtimeType)) + { + const maskColor_buf__selector : int32 = valueDeserializer.readInt8() + let maskColor_buf_ : Color | number | string | Resource | undefined + if (maskColor_buf__selector == 0) { + maskColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (maskColor_buf__selector == 1) { + maskColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (maskColor_buf__selector == 2) { + maskColor_buf_ = (valueDeserializer.readString() as string) + } + else if (maskColor_buf__selector == 3) { + maskColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for maskColor_buf_ has to be chosen through deserialisation.") + } + maskColor_buf = (maskColor_buf_ as Color | number | string | Resource) + } + const maskColor_result : ResourceColor | undefined = maskColor_buf + const detents_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let detents_buf : [ SheetSize | Length, SheetSize | Length | undefined, SheetSize | Length | undefined ] | undefined + if ((RuntimeType.UNDEFINED) != (detents_buf_runtimeType)) + { + const detents_buf__value0_buf_selector : int32 = valueDeserializer.readInt8() + let detents_buf__value0_buf : SheetSize | Length | undefined + if (detents_buf__value0_buf_selector == 0) { + detents_buf__value0_buf = TypeChecker.SheetSize_FromNumeric(valueDeserializer.readInt32()) + } + else if (detents_buf__value0_buf_selector == 1) { + const detents_buf__value0_buf_u_selector : int32 = valueDeserializer.readInt8() + let detents_buf__value0_buf_u : string | number | Resource | undefined + if (detents_buf__value0_buf_u_selector == 0) { + detents_buf__value0_buf_u = (valueDeserializer.readString() as string) } - else if (borderRadius_buf__u_selector == 1) { - borderRadius_buf__u = (valueDeserializer.readNumber() as number) + else if (detents_buf__value0_buf_u_selector == 1) { + detents_buf__value0_buf_u = (valueDeserializer.readNumber() as number) } - else if (borderRadius_buf__u_selector == 2) { - borderRadius_buf__u = valueDeserializer.readResource() + else if (detents_buf__value0_buf_u_selector == 2) { + detents_buf__value0_buf_u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderRadius_buf__u has to be chosen through deserialisation.") + throw new Error("One of the branches for detents_buf__value0_buf_u has to be chosen through deserialisation.") } - borderRadius_buf_ = (borderRadius_buf__u as string | number | Resource) + detents_buf__value0_buf = (detents_buf__value0_buf_u as string | number | Resource) } - else if (borderRadius_buf__selector == 1) { - const borderRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const borderRadius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topLeft_buf = (borderRadius_buf__u_topLeft_buf_ as string | number | Resource) + else { + throw new Error("One of the branches for detents_buf__value0_buf has to be chosen through deserialisation.") + } + const detents_buf__value0 : SheetSize | Length = (detents_buf__value0_buf as SheetSize | Length) + const detents_buf__value1_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let detents_buf__value1_buf : SheetSize | Length | undefined + if ((RuntimeType.UNDEFINED) != (detents_buf__value1_buf_runtimeType)) + { + const detents_buf__value1_buf__selector : int32 = valueDeserializer.readInt8() + let detents_buf__value1_buf_ : SheetSize | Length | undefined + if (detents_buf__value1_buf__selector == 0) { + detents_buf__value1_buf_ = TypeChecker.SheetSize_FromNumeric(valueDeserializer.readInt32()) } - const borderRadius_buf__u_topLeft : undefined | Length = borderRadius_buf__u_topLeft_buf - const borderRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const borderRadius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) + else if (detents_buf__value1_buf__selector == 1) { + const detents_buf__value1_buf__u_selector : int32 = valueDeserializer.readInt8() + let detents_buf__value1_buf__u : string | number | Resource | undefined + if (detents_buf__value1_buf__u_selector == 0) { + detents_buf__value1_buf__u = (valueDeserializer.readString() as string) } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) + else if (detents_buf__value1_buf__u_selector == 1) { + detents_buf__value1_buf__u = (valueDeserializer.readNumber() as number) } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() + else if (detents_buf__value1_buf__u_selector == 2) { + detents_buf__value1_buf__u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for detents_buf__value1_buf__u has to be chosen through deserialisation.") } - borderRadius_buf__u_topRight_buf = (borderRadius_buf__u_topRight_buf_ as string | number | Resource) + detents_buf__value1_buf_ = (detents_buf__value1_buf__u as string | number | Resource) + } + else { + throw new Error("One of the branches for detents_buf__value1_buf_ has to be chosen through deserialisation.") + } + detents_buf__value1_buf = (detents_buf__value1_buf_ as SheetSize | Length) + } + const detents_buf__value1 : undefined | SheetSize | Length = detents_buf__value1_buf + const detents_buf__value2_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let detents_buf__value2_buf : SheetSize | Length | undefined + if ((RuntimeType.UNDEFINED) != (detents_buf__value2_buf_runtimeType)) + { + const detents_buf__value2_buf__selector : int32 = valueDeserializer.readInt8() + let detents_buf__value2_buf_ : SheetSize | Length | undefined + if (detents_buf__value2_buf__selector == 0) { + detents_buf__value2_buf_ = TypeChecker.SheetSize_FromNumeric(valueDeserializer.readInt32()) } - const borderRadius_buf__u_topRight : undefined | Length = borderRadius_buf__u_topRight_buf - const borderRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const borderRadius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) + else if (detents_buf__value2_buf__selector == 1) { + const detents_buf__value2_buf__u_selector : int32 = valueDeserializer.readInt8() + let detents_buf__value2_buf__u : string | number | Resource | undefined + if (detents_buf__value2_buf__u_selector == 0) { + detents_buf__value2_buf__u = (valueDeserializer.readString() as string) } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) + else if (detents_buf__value2_buf__u_selector == 1) { + detents_buf__value2_buf__u = (valueDeserializer.readNumber() as number) } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() + else if (detents_buf__value2_buf__u_selector == 2) { + detents_buf__value2_buf__u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for detents_buf__value2_buf__u has to be chosen through deserialisation.") } - borderRadius_buf__u_bottomLeft_buf = (borderRadius_buf__u_bottomLeft_buf_ as string | number | Resource) + detents_buf__value2_buf_ = (detents_buf__value2_buf__u as string | number | Resource) } - const borderRadius_buf__u_bottomLeft : undefined | Length = borderRadius_buf__u_bottomLeft_buf - const borderRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const borderRadius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomRight_buf = (borderRadius_buf__u_bottomRight_buf_ as string | number | Resource) + else { + throw new Error("One of the branches for detents_buf__value2_buf_ has to be chosen through deserialisation.") } - const borderRadius_buf__u_bottomRight : undefined | Length = borderRadius_buf__u_bottomRight_buf - borderRadius_buf_ = ({topLeft: borderRadius_buf__u_topLeft, topRight: borderRadius_buf__u_topRight, bottomLeft: borderRadius_buf__u_bottomLeft, bottomRight: borderRadius_buf__u_bottomRight} as BorderRadiuses) - } - else { - throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") + detents_buf__value2_buf = (detents_buf__value2_buf_ as SheetSize | Length) } - borderRadius_buf = (borderRadius_buf_ as Dimension | BorderRadiuses) - } - const borderRadius_result : Dimension | BorderRadiuses | undefined = borderRadius_buf - let value : RichEditorLayoutStyle = ({margin: margin_result, borderRadius: borderRadius_result} as RichEditorLayoutStyle) - return value - } - readRichEditorSymbolSpanOptions(): RichEditorSymbolSpanOptions { - let valueDeserializer : Deserializer = this - const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offset_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) - { - offset_buf = (valueDeserializer.readNumber() as number) + const detents_buf__value2 : undefined | SheetSize | Length = detents_buf__value2_buf + detents_buf = ([detents_buf__value0, detents_buf__value1, detents_buf__value2] as [ SheetSize | Length, SheetSize | Length | undefined, SheetSize | Length | undefined ]) } - const offset_result : number | undefined = offset_buf - const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf : RichEditorSymbolSpanStyle | undefined - if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + const detents_result : [ SheetSize | Length, SheetSize | Length | undefined, SheetSize | Length | undefined ] | undefined = detents_buf + const blurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let blurStyle_buf : BlurStyle | undefined + if ((RuntimeType.UNDEFINED) != (blurStyle_buf_runtimeType)) { - style_buf = valueDeserializer.readRichEditorSymbolSpanStyle() + blurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } - const style_result : RichEditorSymbolSpanStyle | undefined = style_buf - let value : RichEditorSymbolSpanOptions = ({offset: offset_result, style: style_result} as RichEditorSymbolSpanOptions) - return value - } - readRichEditorTextStyle(): RichEditorTextStyle { - let valueDeserializer : Deserializer = this - const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) + const blurStyle_result : BlurStyle | undefined = blurStyle_buf + const showClose_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let showClose_buf : boolean | Resource | undefined + if ((RuntimeType.UNDEFINED) != (showClose_buf_runtimeType)) { - const fontColor_buf__selector : int32 = valueDeserializer.readInt8() - let fontColor_buf_ : Color | number | string | Resource | undefined - if (fontColor_buf__selector == 0) { - fontColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (fontColor_buf__selector == 1) { - fontColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (fontColor_buf__selector == 2) { - fontColor_buf_ = (valueDeserializer.readString() as string) + const showClose_buf__selector : int32 = valueDeserializer.readInt8() + let showClose_buf_ : boolean | Resource | undefined + if (showClose_buf__selector == 0) { + showClose_buf_ = valueDeserializer.readBoolean() } - else if (fontColor_buf__selector == 3) { - fontColor_buf_ = valueDeserializer.readResource() + else if (showClose_buf__selector == 1) { + showClose_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for showClose_buf_ has to be chosen through deserialisation.") } - fontColor_buf = (fontColor_buf_ as Color | number | string | Resource) + showClose_buf = (showClose_buf_ as boolean | Resource) } - const fontColor_result : ResourceColor | undefined = fontColor_buf - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf : string | number | Resource | undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + const showClose_result : boolean | Resource | undefined = showClose_buf + const preferType_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let preferType_buf : SheetType | undefined + if ((RuntimeType.UNDEFINED) != (preferType_buf_runtimeType)) { - const fontSize_buf__selector : int32 = valueDeserializer.readInt8() - let fontSize_buf_ : string | number | Resource | undefined - if (fontSize_buf__selector == 0) { - fontSize_buf_ = (valueDeserializer.readString() as string) - } - else if (fontSize_buf__selector == 1) { - fontSize_buf_ = (valueDeserializer.readNumber() as number) + preferType_buf = TypeChecker.SheetType_FromNumeric(valueDeserializer.readInt32()) + } + const preferType_result : SheetType | undefined = preferType_buf + const title_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let title_buf : SheetTitleOptions | CustomBuilder | undefined + if ((RuntimeType.UNDEFINED) != (title_buf_runtimeType)) + { + const title_buf__selector : int32 = valueDeserializer.readInt8() + let title_buf_ : SheetTitleOptions | CustomBuilder | undefined + if (title_buf__selector == 0) { + title_buf_ = valueDeserializer.readSheetTitleOptions() } - else if (fontSize_buf__selector == 2) { - fontSize_buf_ = valueDeserializer.readResource() + else if (title_buf__selector == 1) { + title_buf_ = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) } else { - throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for title_buf_ has to be chosen through deserialisation.") } - fontSize_buf = (fontSize_buf_ as string | number | Resource) + title_buf = (title_buf_ as SheetTitleOptions | CustomBuilder) } - const fontSize_result : Length | number | undefined = fontSize_buf - const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontStyle_buf : FontStyle | undefined - if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) + const title_result : SheetTitleOptions | CustomBuilder | undefined = title_buf + const shouldDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let shouldDismiss_buf : ((sheetDismiss: SheetDismiss) => void) | undefined + if ((RuntimeType.UNDEFINED) != (shouldDismiss_buf_runtimeType)) { - fontStyle_buf = TypeChecker.FontStyle_FromNumeric(valueDeserializer.readInt32()) + shouldDismiss_buf = valueDeserializer.readCallback_SheetDismiss_Void() } - const fontStyle_result : FontStyle | undefined = fontStyle_buf - const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontWeight_buf : number | FontWeight | string | undefined - if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + const shouldDismiss_result : ((sheetDismiss: SheetDismiss) => void) | undefined = shouldDismiss_buf + const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDismiss_buf : ((parameter: DismissSheetAction) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) { - const fontWeight_buf__selector : int32 = valueDeserializer.readInt8() - let fontWeight_buf_ : number | FontWeight | string | undefined - if (fontWeight_buf__selector == 0) { - fontWeight_buf_ = (valueDeserializer.readNumber() as number) + onWillDismiss_buf = valueDeserializer.readCallback_DismissSheetAction_Void() + } + const onWillDismiss_result : ((parameter: DismissSheetAction) => void) | undefined = onWillDismiss_buf + const onWillSpringBackWhenDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillSpringBackWhenDismiss_buf : ((parameter: SpringBackAction) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWillSpringBackWhenDismiss_buf_runtimeType)) + { + onWillSpringBackWhenDismiss_buf = valueDeserializer.readCallback_SpringBackAction_Void() + } + const onWillSpringBackWhenDismiss_result : ((parameter: SpringBackAction) => void) | undefined = onWillSpringBackWhenDismiss_buf + const enableOutsideInteractive_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableOutsideInteractive_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableOutsideInteractive_buf_runtimeType)) + { + enableOutsideInteractive_buf = valueDeserializer.readBoolean() + } + const enableOutsideInteractive_result : boolean | undefined = enableOutsideInteractive_buf + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf : Dimension | undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + const width_buf__selector : int32 = valueDeserializer.readInt8() + let width_buf_ : string | number | Resource | undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readString() as string) } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_ = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_ = (valueDeserializer.readString() as string) + else if (width_buf__selector == 2) { + width_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") } - fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) + width_buf = (width_buf_ as string | number | Resource) } - const fontWeight_result : number | FontWeight | string | undefined = fontWeight_buf - const fontFamily_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFamily_buf : ResourceStr | undefined - if ((RuntimeType.UNDEFINED) != (fontFamily_buf_runtimeType)) + const width_result : Dimension | undefined = width_buf + const borderWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderWidth_buf : Dimension | EdgeWidths | LocalizedEdgeWidths | undefined + if ((RuntimeType.UNDEFINED) != (borderWidth_buf_runtimeType)) { - const fontFamily_buf__selector : int32 = valueDeserializer.readInt8() - let fontFamily_buf_ : string | Resource | undefined - if (fontFamily_buf__selector == 0) { - fontFamily_buf_ = (valueDeserializer.readString() as string) + const borderWidth_buf__selector : int32 = valueDeserializer.readInt8() + let borderWidth_buf_ : Dimension | EdgeWidths | LocalizedEdgeWidths | undefined + if (borderWidth_buf__selector == 0) { + const borderWidth_buf__u_selector : int32 = valueDeserializer.readInt8() + let borderWidth_buf__u : string | number | Resource | undefined + if (borderWidth_buf__u_selector == 0) { + borderWidth_buf__u = (valueDeserializer.readString() as string) + } + else if (borderWidth_buf__u_selector == 1) { + borderWidth_buf__u = (valueDeserializer.readNumber() as number) + } + else if (borderWidth_buf__u_selector == 2) { + borderWidth_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for borderWidth_buf__u has to be chosen through deserialisation.") + } + borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) } - else if (fontFamily_buf__selector == 1) { - fontFamily_buf_ = valueDeserializer.readResource() + else if (borderWidth_buf__selector == 1) { + borderWidth_buf_ = valueDeserializer.readEdgeWidths() + } + else if (borderWidth_buf__selector == 2) { + borderWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() } else { - throw new Error("One of the branches for fontFamily_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderWidth_buf_ has to be chosen through deserialisation.") } - fontFamily_buf = (fontFamily_buf_ as string | Resource) - } - const fontFamily_result : ResourceStr | undefined = fontFamily_buf - const decoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let decoration_buf : DecorationStyleInterface | undefined - if ((RuntimeType.UNDEFINED) != (decoration_buf_runtimeType)) - { - decoration_buf = valueDeserializer.readDecorationStyleInterface() + borderWidth_buf = (borderWidth_buf_ as Dimension | EdgeWidths | LocalizedEdgeWidths) } - const decoration_result : DecorationStyleInterface | undefined = decoration_buf - const textShadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textShadow_buf : ShadowOptions | Array | undefined - if ((RuntimeType.UNDEFINED) != (textShadow_buf_runtimeType)) + const borderWidth_result : Dimension | EdgeWidths | LocalizedEdgeWidths | undefined = borderWidth_buf + const borderColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderColor_buf : ResourceColor | EdgeColors | LocalizedEdgeColors | undefined + if ((RuntimeType.UNDEFINED) != (borderColor_buf_runtimeType)) { - const textShadow_buf__selector : int32 = valueDeserializer.readInt8() - let textShadow_buf_ : ShadowOptions | Array | undefined - if (textShadow_buf__selector == 0) { - textShadow_buf_ = valueDeserializer.readShadowOptions() - } - else if (textShadow_buf__selector == 1) { - const textShadow_buf__u_length : int32 = valueDeserializer.readInt32() - let textShadow_buf__u : Array = new Array(textShadow_buf__u_length) - for (let textShadow_buf__u_i = 0; textShadow_buf__u_i < textShadow_buf__u_length; textShadow_buf__u_i++) { - textShadow_buf__u[textShadow_buf__u_i] = valueDeserializer.readShadowOptions() + const borderColor_buf__selector : int32 = valueDeserializer.readInt8() + let borderColor_buf_ : ResourceColor | EdgeColors | LocalizedEdgeColors | undefined + if (borderColor_buf__selector == 0) { + const borderColor_buf__u_selector : int32 = valueDeserializer.readInt8() + let borderColor_buf__u : Color | number | string | Resource | undefined + if (borderColor_buf__u_selector == 0) { + borderColor_buf__u = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (borderColor_buf__u_selector == 1) { + borderColor_buf__u = (valueDeserializer.readNumber() as number) } - textShadow_buf_ = textShadow_buf__u + else if (borderColor_buf__u_selector == 2) { + borderColor_buf__u = (valueDeserializer.readString() as string) + } + else if (borderColor_buf__u_selector == 3) { + borderColor_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for borderColor_buf__u has to be chosen through deserialisation.") + } + borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) + } + else if (borderColor_buf__selector == 1) { + borderColor_buf_ = valueDeserializer.readEdgeColors() + } + else if (borderColor_buf__selector == 2) { + borderColor_buf_ = valueDeserializer.readLocalizedEdgeColors() } else { - throw new Error("One of the branches for textShadow_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderColor_buf_ has to be chosen through deserialisation.") } - textShadow_buf = (textShadow_buf_ as ShadowOptions | Array) + borderColor_buf = (borderColor_buf_ as ResourceColor | EdgeColors | LocalizedEdgeColors) } - const textShadow_result : ShadowOptions | Array | undefined = textShadow_buf - const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let letterSpacing_buf : number | string | undefined - if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) + const borderColor_result : ResourceColor | EdgeColors | LocalizedEdgeColors | undefined = borderColor_buf + const borderStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderStyle_buf : BorderStyle | EdgeStyles | undefined + if ((RuntimeType.UNDEFINED) != (borderStyle_buf_runtimeType)) { - const letterSpacing_buf__selector : int32 = valueDeserializer.readInt8() - let letterSpacing_buf_ : number | string | undefined - if (letterSpacing_buf__selector == 0) { - letterSpacing_buf_ = (valueDeserializer.readNumber() as number) + const borderStyle_buf__selector : int32 = valueDeserializer.readInt8() + let borderStyle_buf_ : BorderStyle | EdgeStyles | undefined + if (borderStyle_buf__selector == 0) { + borderStyle_buf_ = TypeChecker.BorderStyle_FromNumeric(valueDeserializer.readInt32()) } - else if (letterSpacing_buf__selector == 1) { - letterSpacing_buf_ = (valueDeserializer.readString() as string) + else if (borderStyle_buf__selector == 1) { + borderStyle_buf_ = valueDeserializer.readEdgeStyles() } else { - throw new Error("One of the branches for letterSpacing_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderStyle_buf_ has to be chosen through deserialisation.") } - letterSpacing_buf = (letterSpacing_buf_ as number | string) + borderStyle_buf = (borderStyle_buf_ as BorderStyle | EdgeStyles) } - const letterSpacing_result : number | string | undefined = letterSpacing_buf - const lineHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lineHeight_buf : number | string | Resource | undefined - if ((RuntimeType.UNDEFINED) != (lineHeight_buf_runtimeType)) + const borderStyle_result : BorderStyle | EdgeStyles | undefined = borderStyle_buf + const shadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let shadow_buf : ShadowOptions | ShadowStyle | undefined + if ((RuntimeType.UNDEFINED) != (shadow_buf_runtimeType)) { - const lineHeight_buf__selector : int32 = valueDeserializer.readInt8() - let lineHeight_buf_ : number | string | Resource | undefined - if (lineHeight_buf__selector == 0) { - lineHeight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (lineHeight_buf__selector == 1) { - lineHeight_buf_ = (valueDeserializer.readString() as string) + const shadow_buf__selector : int32 = valueDeserializer.readInt8() + let shadow_buf_ : ShadowOptions | ShadowStyle | undefined + if (shadow_buf__selector == 0) { + shadow_buf_ = valueDeserializer.readShadowOptions() } - else if (lineHeight_buf__selector == 2) { - lineHeight_buf_ = valueDeserializer.readResource() + else if (shadow_buf__selector == 1) { + shadow_buf_ = TypeChecker.ShadowStyle_FromNumeric(valueDeserializer.readInt32()) } else { - throw new Error("One of the branches for lineHeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for shadow_buf_ has to be chosen through deserialisation.") } - lineHeight_buf = (lineHeight_buf_ as number | string | Resource) + shadow_buf = (shadow_buf_ as ShadowOptions | ShadowStyle) } - const lineHeight_result : number | string | Resource | undefined = lineHeight_buf - const fontFeature_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFeature_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (fontFeature_buf_runtimeType)) + const shadow_result : ShadowOptions | ShadowStyle | undefined = shadow_buf + const onHeightDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onHeightDidChange_buf : ((index: number) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onHeightDidChange_buf_runtimeType)) { - fontFeature_buf = (valueDeserializer.readString() as string) + onHeightDidChange_buf = valueDeserializer.readCallback_Number_Void() } - const fontFeature_result : string | undefined = fontFeature_buf - let value : RichEditorTextStyle = ({fontColor: fontColor_result, fontSize: fontSize_result, fontStyle: fontStyle_result, fontWeight: fontWeight_result, fontFamily: fontFamily_result, decoration: decoration_result, textShadow: textShadow_result, letterSpacing: letterSpacing_result, lineHeight: lineHeight_result, fontFeature: fontFeature_result} as RichEditorTextStyle) - return value - } - readRichEditorUpdateTextSpanStyleOptions(): RichEditorUpdateTextSpanStyleOptions { - let valueDeserializer : Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + const onHeightDidChange_result : ((index: number) => void) | undefined = onHeightDidChange_buf + const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mode_buf : SheetMode | undefined + if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) { - start_buf = (valueDeserializer.readNumber() as number) + mode_buf = TypeChecker.SheetMode_FromNumeric(valueDeserializer.readInt32()) } - const start_result : number | undefined = start_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + const mode_result : SheetMode | undefined = mode_buf + const scrollSizeMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scrollSizeMode_buf : ScrollSizeMode | undefined + if ((RuntimeType.UNDEFINED) != (scrollSizeMode_buf_runtimeType)) { - end_buf = (valueDeserializer.readNumber() as number) + scrollSizeMode_buf = TypeChecker.ScrollSizeMode_FromNumeric(valueDeserializer.readInt32()) } - const end_result : number | undefined = end_buf - const textStyle_result : RichEditorTextStyle = valueDeserializer.readRichEditorTextStyle() - let value : RichEditorUpdateTextSpanStyleOptions = ({start: start_result, end: end_result, textStyle: textStyle_result} as RichEditorUpdateTextSpanStyleOptions) - return value - } - readRotationGestureEvent(): RotationGestureEvent { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return RotationGestureEventInternal.fromPtr(ptr) - } - readScrollSnapOptions(): ScrollSnapOptions { - let valueDeserializer : Deserializer = this - const snapAlign_result : ScrollSnapAlign = TypeChecker.ScrollSnapAlign_FromNumeric(valueDeserializer.readInt32()) - const snapPagination_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let snapPagination_buf : Dimension | Array | undefined - if ((RuntimeType.UNDEFINED) != (snapPagination_buf_runtimeType)) + const scrollSizeMode_result : ScrollSizeMode | undefined = scrollSizeMode_buf + const onDetentsDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDetentsDidChange_buf : ((index: number) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onDetentsDidChange_buf_runtimeType)) { - const snapPagination_buf__selector : int32 = valueDeserializer.readInt8() - let snapPagination_buf_ : Dimension | Array | undefined - if (snapPagination_buf__selector == 0) { - const snapPagination_buf__u_selector : int32 = valueDeserializer.readInt8() - let snapPagination_buf__u : string | number | Resource | undefined - if (snapPagination_buf__u_selector == 0) { - snapPagination_buf__u = (valueDeserializer.readString() as string) - } - else if (snapPagination_buf__u_selector == 1) { - snapPagination_buf__u = (valueDeserializer.readNumber() as number) - } - else if (snapPagination_buf__u_selector == 2) { - snapPagination_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for snapPagination_buf__u has to be chosen through deserialisation.") - } - snapPagination_buf_ = (snapPagination_buf__u as string | number | Resource) - } - else if (snapPagination_buf__selector == 1) { - const snapPagination_buf__u_length : int32 = valueDeserializer.readInt32() - let snapPagination_buf__u : Array = new Array(snapPagination_buf__u_length) - for (let snapPagination_buf__u_i = 0; snapPagination_buf__u_i < snapPagination_buf__u_length; snapPagination_buf__u_i++) { - const snapPagination_buf__u_buf_selector : int32 = valueDeserializer.readInt8() - let snapPagination_buf__u_buf : string | number | Resource | undefined - if (snapPagination_buf__u_buf_selector == 0) { - snapPagination_buf__u_buf = (valueDeserializer.readString() as string) - } - else if (snapPagination_buf__u_buf_selector == 1) { - snapPagination_buf__u_buf = (valueDeserializer.readNumber() as number) - } - else if (snapPagination_buf__u_buf_selector == 2) { - snapPagination_buf__u_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for snapPagination_buf__u_buf has to be chosen through deserialisation.") - } - snapPagination_buf__u[snapPagination_buf__u_i] = (snapPagination_buf__u_buf as string | number | Resource) - } - snapPagination_buf_ = snapPagination_buf__u - } - else { - throw new Error("One of the branches for snapPagination_buf_ has to be chosen through deserialisation.") - } - snapPagination_buf = (snapPagination_buf_ as Dimension | Array) + onDetentsDidChange_buf = valueDeserializer.readCallback_Number_Void() } - const snapPagination_result : Dimension | Array | undefined = snapPagination_buf - const enableSnapToStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableSnapToStart_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (enableSnapToStart_buf_runtimeType)) + const onDetentsDidChange_result : ((index: number) => void) | undefined = onDetentsDidChange_buf + const onWidthDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWidthDidChange_buf : ((index: number) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onWidthDidChange_buf_runtimeType)) { - enableSnapToStart_buf = valueDeserializer.readBoolean() + onWidthDidChange_buf = valueDeserializer.readCallback_Number_Void() } - const enableSnapToStart_result : boolean | undefined = enableSnapToStart_buf - const enableSnapToEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableSnapToEnd_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (enableSnapToEnd_buf_runtimeType)) + const onWidthDidChange_result : ((index: number) => void) | undefined = onWidthDidChange_buf + const onTypeDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onTypeDidChange_buf : ((parameter: SheetType) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onTypeDidChange_buf_runtimeType)) { - enableSnapToEnd_buf = valueDeserializer.readBoolean() + onTypeDidChange_buf = valueDeserializer.readCallback_SheetType_Void() } - const enableSnapToEnd_result : boolean | undefined = enableSnapToEnd_buf - let value : ScrollSnapOptions = ({snapAlign: snapAlign_result, snapPagination: snapPagination_result, enableSnapToStart: enableSnapToStart_result, enableSnapToEnd: enableSnapToEnd_result} as ScrollSnapOptions) - return value - } - readSectionOptions(): SectionOptions { - let valueDeserializer : Deserializer = this - const itemsCount_result : number = (valueDeserializer.readNumber() as number) - const crossCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let crossCount_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (crossCount_buf_runtimeType)) + const onTypeDidChange_result : ((parameter: SheetType) => void) | undefined = onTypeDidChange_buf + const uiContext_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let uiContext_buf : UIContext | undefined + if ((RuntimeType.UNDEFINED) != (uiContext_buf_runtimeType)) { - crossCount_buf = (valueDeserializer.readNumber() as number) + uiContext_buf = (valueDeserializer.readUIContext() as UIContext) } - const crossCount_result : number | undefined = crossCount_buf - const onGetItemMainSizeByIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onGetItemMainSizeByIndex_buf : GetItemMainSizeByIndex | undefined - if ((RuntimeType.UNDEFINED) != (onGetItemMainSizeByIndex_buf_runtimeType)) + const uiContext_result : UIContext | undefined = uiContext_buf + const keyboardAvoidMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let keyboardAvoidMode_buf : SheetKeyboardAvoidMode | undefined + if ((RuntimeType.UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) { - onGetItemMainSizeByIndex_buf = valueDeserializer.readGetItemMainSizeByIndex() + keyboardAvoidMode_buf = TypeChecker.SheetKeyboardAvoidMode_FromNumeric(valueDeserializer.readInt32()) } - const onGetItemMainSizeByIndex_result : GetItemMainSizeByIndex | undefined = onGetItemMainSizeByIndex_buf - const columnsGap_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let columnsGap_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (columnsGap_buf_runtimeType)) + const keyboardAvoidMode_result : SheetKeyboardAvoidMode | undefined = keyboardAvoidMode_buf + const enableHoverMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableHoverMode_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableHoverMode_buf_runtimeType)) { - const columnsGap_buf__selector : int32 = valueDeserializer.readInt8() - let columnsGap_buf_ : string | number | Resource | undefined - if (columnsGap_buf__selector == 0) { - columnsGap_buf_ = (valueDeserializer.readString() as string) - } - else if (columnsGap_buf__selector == 1) { - columnsGap_buf_ = (valueDeserializer.readNumber() as number) - } - else if (columnsGap_buf__selector == 2) { - columnsGap_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for columnsGap_buf_ has to be chosen through deserialisation.") - } - columnsGap_buf = (columnsGap_buf_ as string | number | Resource) + enableHoverMode_buf = valueDeserializer.readBoolean() } - const columnsGap_result : Dimension | undefined = columnsGap_buf - const rowsGap_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let rowsGap_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (rowsGap_buf_runtimeType)) + const enableHoverMode_result : boolean | undefined = enableHoverMode_buf + const hoverModeArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hoverModeArea_buf : HoverModeAreaType | undefined + if ((RuntimeType.UNDEFINED) != (hoverModeArea_buf_runtimeType)) + { + hoverModeArea_buf = TypeChecker.HoverModeAreaType_FromNumeric(valueDeserializer.readInt32()) + } + const hoverModeArea_result : HoverModeAreaType | undefined = hoverModeArea_buf + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf : Position | undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) + { + offset_buf = valueDeserializer.readPosition() + } + const offset_result : Position | undefined = offset_buf + const effectEdge_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let effectEdge_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (effectEdge_buf_runtimeType)) + { + effectEdge_buf = (valueDeserializer.readNumber() as number) + } + const effectEdge_result : number | undefined = effectEdge_buf + const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let radius_buf : LengthMetrics | BorderRadiuses | LocalizedBorderRadiuses | undefined + if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) { - const rowsGap_buf__selector : int32 = valueDeserializer.readInt8() - let rowsGap_buf_ : string | number | Resource | undefined - if (rowsGap_buf__selector == 0) { - rowsGap_buf_ = (valueDeserializer.readString() as string) + const radius_buf__selector : int32 = valueDeserializer.readInt8() + let radius_buf_ : LengthMetrics | BorderRadiuses | LocalizedBorderRadiuses | undefined + if (radius_buf__selector == 0) { + radius_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } - else if (rowsGap_buf__selector == 1) { - rowsGap_buf_ = (valueDeserializer.readNumber() as number) + else if (radius_buf__selector == 1) { + radius_buf_ = valueDeserializer.readBorderRadiuses() } - else if (rowsGap_buf__selector == 2) { - rowsGap_buf_ = valueDeserializer.readResource() + else if (radius_buf__selector == 2) { + radius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() } else { - throw new Error("One of the branches for rowsGap_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") } - rowsGap_buf = (rowsGap_buf_ as string | number | Resource) + radius_buf = (radius_buf_ as LengthMetrics | BorderRadiuses | LocalizedBorderRadiuses) } - const rowsGap_result : Dimension | undefined = rowsGap_buf - const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf : Padding | Dimension | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) + const radius_result : LengthMetrics | BorderRadiuses | LocalizedBorderRadiuses | undefined = radius_buf + const detentSelection_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let detentSelection_buf : SheetSize | Length | undefined + if ((RuntimeType.UNDEFINED) != (detentSelection_buf_runtimeType)) { - const margin_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf_ : Padding | Dimension | undefined - if (margin_buf__selector == 0) { - const margin_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_top_buf_runtimeType)) - { - const margin_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf__u_top_buf_ : string | number | Resource | undefined - if (margin_buf__u_top_buf__selector == 0) { - margin_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_top_buf__selector == 1) { - margin_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_top_buf__selector == 2) { - margin_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_top_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_top_buf = (margin_buf__u_top_buf_ as string | number | Resource) - } - const margin_buf__u_top : undefined | Length = margin_buf__u_top_buf - const margin_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_right_buf_runtimeType)) - { - const margin_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf__u_right_buf_ : string | number | Resource | undefined - if (margin_buf__u_right_buf__selector == 0) { - margin_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_right_buf__selector == 1) { - margin_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_right_buf__selector == 2) { - margin_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_right_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_right_buf = (margin_buf__u_right_buf_ as string | number | Resource) - } - const margin_buf__u_right : undefined | Length = margin_buf__u_right_buf - const margin_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_bottom_buf_runtimeType)) - { - const margin_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf__u_bottom_buf_ : string | number | Resource | undefined - if (margin_buf__u_bottom_buf__selector == 0) { - margin_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_bottom_buf__selector == 1) { - margin_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_bottom_buf__selector == 2) { - margin_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_bottom_buf = (margin_buf__u_bottom_buf_ as string | number | Resource) - } - const margin_buf__u_bottom : undefined | Length = margin_buf__u_bottom_buf - const margin_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_left_buf_runtimeType)) - { - const margin_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let margin_buf__u_left_buf_ : string | number | Resource | undefined - if (margin_buf__u_left_buf__selector == 0) { - margin_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_left_buf__selector == 1) { - margin_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_left_buf__selector == 2) { - margin_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_left_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_left_buf = (margin_buf__u_left_buf_ as string | number | Resource) - } - const margin_buf__u_left : undefined | Length = margin_buf__u_left_buf - margin_buf_ = ({top: margin_buf__u_top, right: margin_buf__u_right, bottom: margin_buf__u_bottom, left: margin_buf__u_left} as Padding) + const detentSelection_buf__selector : int32 = valueDeserializer.readInt8() + let detentSelection_buf_ : SheetSize | Length | undefined + if (detentSelection_buf__selector == 0) { + detentSelection_buf_ = TypeChecker.SheetSize_FromNumeric(valueDeserializer.readInt32()) } - else if (margin_buf__selector == 1) { - const margin_buf__u_selector : int32 = valueDeserializer.readInt8() - let margin_buf__u : string | number | Resource | undefined - if (margin_buf__u_selector == 0) { - margin_buf__u = (valueDeserializer.readString() as string) + else if (detentSelection_buf__selector == 1) { + const detentSelection_buf__u_selector : int32 = valueDeserializer.readInt8() + let detentSelection_buf__u : string | number | Resource | undefined + if (detentSelection_buf__u_selector == 0) { + detentSelection_buf__u = (valueDeserializer.readString() as string) } - else if (margin_buf__u_selector == 1) { - margin_buf__u = (valueDeserializer.readNumber() as number) + else if (detentSelection_buf__u_selector == 1) { + detentSelection_buf__u = (valueDeserializer.readNumber() as number) } - else if (margin_buf__u_selector == 2) { - margin_buf__u = valueDeserializer.readResource() + else if (detentSelection_buf__u_selector == 2) { + detentSelection_buf__u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for margin_buf__u has to be chosen through deserialisation.") + throw new Error("One of the branches for detentSelection_buf__u has to be chosen through deserialisation.") } - margin_buf_ = (margin_buf__u as string | number | Resource) + detentSelection_buf_ = (detentSelection_buf__u as string | number | Resource) } else { - throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for detentSelection_buf_ has to be chosen through deserialisation.") } - margin_buf = (margin_buf_ as Padding | Dimension) + detentSelection_buf = (detentSelection_buf_ as SheetSize | Length) } - const margin_result : Padding | Dimension | undefined = margin_buf - let value : SectionOptions = ({itemsCount: itemsCount_result, crossCount: crossCount_result, onGetItemMainSizeByIndex: onGetItemMainSizeByIndex_result, columnsGap: columnsGap_result, rowsGap: rowsGap_result, margin: margin_result} as SectionOptions) + const detentSelection_result : SheetSize | Length | undefined = detentSelection_buf + const showInSubWindow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let showInSubWindow_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (showInSubWindow_buf_runtimeType)) + { + showInSubWindow_buf = valueDeserializer.readBoolean() + } + const showInSubWindow_result : boolean | undefined = showInSubWindow_buf + const placement_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let placement_buf : Placement | undefined + if ((RuntimeType.UNDEFINED) != (placement_buf_runtimeType)) + { + placement_buf = TypeChecker.Placement_FromNumeric(valueDeserializer.readInt32()) + } + const placement_result : Placement | undefined = placement_buf + const placementOnTarget_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let placementOnTarget_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (placementOnTarget_buf_runtimeType)) + { + placementOnTarget_buf = valueDeserializer.readBoolean() + } + const placementOnTarget_result : boolean | undefined = placementOnTarget_buf + let value : SheetOptions = ({backgroundColor: backgroundColor_result, onAppear: onAppear_result, onDisappear: onDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, height: height_result, dragBar: dragBar_result, maskColor: maskColor_result, detents: detents_result, blurStyle: blurStyle_result, showClose: showClose_result, preferType: preferType_result, title: title_result, shouldDismiss: shouldDismiss_result, onWillDismiss: onWillDismiss_result, onWillSpringBackWhenDismiss: onWillSpringBackWhenDismiss_result, enableOutsideInteractive: enableOutsideInteractive_result, width: width_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, onHeightDidChange: onHeightDidChange_result, mode: mode_result, scrollSizeMode: scrollSizeMode_result, onDetentsDidChange: onDetentsDidChange_result, onWidthDidChange: onWidthDidChange_result, onTypeDidChange: onTypeDidChange_result, uiContext: uiContext_result, keyboardAvoidMode: keyboardAvoidMode_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, offset: offset_result, effectEdge: effectEdge_result, radius: radius_result, detentSelection: detentSelection_result, showInSubWindow: showInSubWindow_result, placement: placement_result, placementOnTarget: placementOnTarget_result} as SheetOptions) return value } - readSwipeActionOptions(): SwipeActionOptions { + public readSwipeActionOptions(): SwipeActionOptions { let valueDeserializer : Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf : CustomBuilder | SwipeActionItem | undefined @@ -27251,200 +27806,35 @@ export class Deserializer extends DeserializerBase { } end_buf = (end_buf_ as CustomBuilder | SwipeActionItem) } - const end_result : CustomBuilder | SwipeActionItem | undefined = end_buf - const edgeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let edgeEffect_buf : SwipeEdgeEffect | undefined - if ((RuntimeType.UNDEFINED) != (edgeEffect_buf_runtimeType)) - { - edgeEffect_buf = TypeChecker.SwipeEdgeEffect_FromNumeric(valueDeserializer.readInt32()) - } - const edgeEffect_result : SwipeEdgeEffect | undefined = edgeEffect_buf - const onOffsetChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onOffsetChange_buf : ((index: number) => void) | undefined - if ((RuntimeType.UNDEFINED) != (onOffsetChange_buf_runtimeType)) - { - onOffsetChange_buf = valueDeserializer.readCallback_Number_Void() - } - const onOffsetChange_result : ((index: number) => void) | undefined = onOffsetChange_buf - let value : SwipeActionOptions = ({start: start_result, end: end_result, edgeEffect: edgeEffect_result, onOffsetChange: onOffsetChange_result} as SwipeActionOptions) - return value - } - readSwipeGestureEvent(): SwipeGestureEvent { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return SwipeGestureEventInternal.fromPtr(ptr) - } - readTapGestureEvent(): TapGestureEvent { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return TapGestureEventInternal.fromPtr(ptr) - } - readtext_TextStyle(): text.TextStyle { - let valueDeserializer : Deserializer = this - const decoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let decoration_buf : Decoration | undefined - if ((RuntimeType.UNDEFINED) != (decoration_buf_runtimeType)) - { - decoration_buf = valueDeserializer.readDecoration() - } - const decoration_result : Decoration | undefined = decoration_buf - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf : common2D.Color | undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) - { - color_buf = valueDeserializer.readcommon2D_Color() - } - const color_result : common2D.Color | undefined = color_buf - const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontWeight_buf : FontWeight | undefined - if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) - { - fontWeight_buf = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) - } - const fontWeight_result : FontWeight | undefined = fontWeight_buf - const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontStyle_buf : FontStyle | undefined - if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) - { - fontStyle_buf = TypeChecker.FontStyle_FromNumeric(valueDeserializer.readInt32()) - } - const fontStyle_result : FontStyle | undefined = fontStyle_buf - const baseline_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let baseline_buf : TextBaseline | undefined - if ((RuntimeType.UNDEFINED) != (baseline_buf_runtimeType)) - { - baseline_buf = TypeChecker.TextBaseline_FromNumeric(valueDeserializer.readInt32()) - } - const baseline_result : TextBaseline | undefined = baseline_buf - const fontFamilies_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFamilies_buf : Array | undefined - if ((RuntimeType.UNDEFINED) != (fontFamilies_buf_runtimeType)) - { - const fontFamilies_buf__length : int32 = valueDeserializer.readInt32() - let fontFamilies_buf_ : Array = new Array(fontFamilies_buf__length) - for (let fontFamilies_buf__i = 0; fontFamilies_buf__i < fontFamilies_buf__length; fontFamilies_buf__i++) { - fontFamilies_buf_[fontFamilies_buf__i] = (valueDeserializer.readString() as string) - } - fontFamilies_buf = fontFamilies_buf_ - } - const fontFamilies_result : Array | undefined = fontFamilies_buf - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) - { - fontSize_buf = (valueDeserializer.readNumber() as number) - } - const fontSize_result : number | undefined = fontSize_buf - const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let letterSpacing_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) - { - letterSpacing_buf = (valueDeserializer.readNumber() as number) - } - const letterSpacing_result : number | undefined = letterSpacing_buf - const wordSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let wordSpacing_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (wordSpacing_buf_runtimeType)) - { - wordSpacing_buf = (valueDeserializer.readNumber() as number) - } - const wordSpacing_result : number | undefined = wordSpacing_buf - const heightScale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let heightScale_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (heightScale_buf_runtimeType)) - { - heightScale_buf = (valueDeserializer.readNumber() as number) - } - const heightScale_result : number | undefined = heightScale_buf - const halfLeading_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let halfLeading_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (halfLeading_buf_runtimeType)) - { - halfLeading_buf = valueDeserializer.readBoolean() - } - const halfLeading_result : boolean | undefined = halfLeading_buf - const heightOnly_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let heightOnly_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (heightOnly_buf_runtimeType)) - { - heightOnly_buf = valueDeserializer.readBoolean() - } - const heightOnly_result : boolean | undefined = heightOnly_buf - const ellipsis_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let ellipsis_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (ellipsis_buf_runtimeType)) - { - ellipsis_buf = (valueDeserializer.readString() as string) - } - const ellipsis_result : string | undefined = ellipsis_buf - const ellipsisMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let ellipsisMode_buf : EllipsisMode | undefined - if ((RuntimeType.UNDEFINED) != (ellipsisMode_buf_runtimeType)) - { - ellipsisMode_buf = TypeChecker.EllipsisMode_FromNumeric(valueDeserializer.readInt32()) - } - const ellipsisMode_result : EllipsisMode | undefined = ellipsisMode_buf - const locale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let locale_buf : string | undefined - if ((RuntimeType.UNDEFINED) != (locale_buf_runtimeType)) - { - locale_buf = (valueDeserializer.readString() as string) - } - const locale_result : string | undefined = locale_buf - const baselineShift_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let baselineShift_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (baselineShift_buf_runtimeType)) - { - baselineShift_buf = (valueDeserializer.readNumber() as number) - } - const baselineShift_result : number | undefined = baselineShift_buf - const fontFeatures_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFeatures_buf : Array | undefined - if ((RuntimeType.UNDEFINED) != (fontFeatures_buf_runtimeType)) - { - const fontFeatures_buf__length : int32 = valueDeserializer.readInt32() - let fontFeatures_buf_ : Array = new Array(fontFeatures_buf__length) - for (let fontFeatures_buf__i = 0; fontFeatures_buf__i < fontFeatures_buf__length; fontFeatures_buf__i++) { - fontFeatures_buf_[fontFeatures_buf__i] = valueDeserializer.readFontFeature() - } - fontFeatures_buf = fontFeatures_buf_ - } - const fontFeatures_result : Array | undefined = fontFeatures_buf - const textShadows_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textShadows_buf : Array | undefined - if ((RuntimeType.UNDEFINED) != (textShadows_buf_runtimeType)) - { - const textShadows_buf__length : int32 = valueDeserializer.readInt32() - let textShadows_buf_ : Array = new Array(textShadows_buf__length) - for (let textShadows_buf__i = 0; textShadows_buf__i < textShadows_buf__length; textShadows_buf__i++) { - textShadows_buf_[textShadows_buf__i] = valueDeserializer.readTextShadow() - } - textShadows_buf = textShadows_buf_ - } - const textShadows_result : Array | undefined = textShadows_buf - const backgroundRect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundRect_buf : RectStyle | undefined - if ((RuntimeType.UNDEFINED) != (backgroundRect_buf_runtimeType)) + const end_result : CustomBuilder | SwipeActionItem | undefined = end_buf + const edgeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let edgeEffect_buf : SwipeEdgeEffect | undefined + if ((RuntimeType.UNDEFINED) != (edgeEffect_buf_runtimeType)) { - backgroundRect_buf = valueDeserializer.readRectStyle() + edgeEffect_buf = TypeChecker.SwipeEdgeEffect_FromNumeric(valueDeserializer.readInt32()) } - const backgroundRect_result : RectStyle | undefined = backgroundRect_buf - const fontVariations_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontVariations_buf : Array | undefined - if ((RuntimeType.UNDEFINED) != (fontVariations_buf_runtimeType)) + const edgeEffect_result : SwipeEdgeEffect | undefined = edgeEffect_buf + const onOffsetChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onOffsetChange_buf : ((index: number) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onOffsetChange_buf_runtimeType)) { - const fontVariations_buf__length : int32 = valueDeserializer.readInt32() - let fontVariations_buf_ : Array = new Array(fontVariations_buf__length) - for (let fontVariations_buf__i = 0; fontVariations_buf__i < fontVariations_buf__length; fontVariations_buf__i++) { - fontVariations_buf_[fontVariations_buf__i] = valueDeserializer.readFontVariation() - } - fontVariations_buf = fontVariations_buf_ + onOffsetChange_buf = valueDeserializer.readCallback_Number_Void() } - const fontVariations_result : Array | undefined = fontVariations_buf - let value : text.TextStyle = ({decoration: decoration_result, color: color_result, fontWeight: fontWeight_result, fontStyle: fontStyle_result, baseline: baseline_result, fontFamilies: fontFamilies_result, fontSize: fontSize_result, letterSpacing: letterSpacing_result, wordSpacing: wordSpacing_result, heightScale: heightScale_result, halfLeading: halfLeading_result, heightOnly: heightOnly_result, ellipsis: ellipsis_result, ellipsisMode: ellipsisMode_result, locale: locale_result, baselineShift: baselineShift_result, fontFeatures: fontFeatures_result, textShadows: textShadows_result, backgroundRect: backgroundRect_result, fontVariations: fontVariations_result} as text.TextStyle) + const onOffsetChange_result : ((index: number) => void) | undefined = onOffsetChange_buf + let value : SwipeActionOptions = ({start: start_result, end: end_result, edgeEffect: edgeEffect_result, onOffsetChange: onOffsetChange_result} as SwipeActionOptions) return value } - readTextBackgroundStyle(): TextBackgroundStyle { + public readSwipeGestureEvent(): SwipeGestureEvent { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return SwipeGestureEventInternal.fromPtr(ptr) + } + public readTapGestureEvent(): TapGestureEvent { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return TapGestureEventInternal.fromPtr(ptr) + } + public readTextBackgroundStyle(): TextBackgroundStyle { let valueDeserializer : Deserializer = this const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) let color_buf : ResourceColor | undefined @@ -27494,91 +27884,7 @@ export class Deserializer extends DeserializerBase { radius_buf_ = (radius_buf__u as string | number | Resource) } else if (radius_buf__selector == 1) { - const radius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_topLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_topLeft_buf_runtimeType)) - { - const radius_buf__u_topLeft_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_topLeft_buf_ : string | number | Resource | undefined - if (radius_buf__u_topLeft_buf__selector == 0) { - radius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_topLeft_buf__selector == 1) { - radius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_topLeft_buf__selector == 2) { - radius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_topLeft_buf = (radius_buf__u_topLeft_buf_ as string | number | Resource) - } - const radius_buf__u_topLeft : undefined | Length = radius_buf__u_topLeft_buf - const radius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_topRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_topRight_buf_runtimeType)) - { - const radius_buf__u_topRight_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_topRight_buf_ : string | number | Resource | undefined - if (radius_buf__u_topRight_buf__selector == 0) { - radius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_topRight_buf__selector == 1) { - radius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_topRight_buf__selector == 2) { - radius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_topRight_buf = (radius_buf__u_topRight_buf_ as string | number | Resource) - } - const radius_buf__u_topRight : undefined | Length = radius_buf__u_topRight_buf - const radius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_bottomLeft_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_bottomLeft_buf_runtimeType)) - { - const radius_buf__u_bottomLeft_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_bottomLeft_buf_ : string | number | Resource | undefined - if (radius_buf__u_bottomLeft_buf__selector == 0) { - radius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_bottomLeft_buf__selector == 1) { - radius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_bottomLeft_buf__selector == 2) { - radius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_bottomLeft_buf = (radius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const radius_buf__u_bottomLeft : undefined | Length = radius_buf__u_bottomLeft_buf - const radius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_bottomRight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_bottomRight_buf_runtimeType)) - { - const radius_buf__u_bottomRight_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf__u_bottomRight_buf_ : string | number | Resource | undefined - if (radius_buf__u_bottomRight_buf__selector == 0) { - radius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_bottomRight_buf__selector == 1) { - radius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_bottomRight_buf__selector == 2) { - radius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_bottomRight_buf = (radius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const radius_buf__u_bottomRight : undefined | Length = radius_buf__u_bottomRight_buf - radius_buf_ = ({topLeft: radius_buf__u_topLeft, topRight: radius_buf__u_topRight, bottomLeft: radius_buf__u_bottomLeft, bottomRight: radius_buf__u_bottomRight} as BorderRadiuses) + radius_buf_ = valueDeserializer.readBorderRadiuses() } else { throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") @@ -27589,21 +27895,8 @@ export class Deserializer extends DeserializerBase { let value : TextBackgroundStyle = ({color: color_result, radius: radius_result} as TextBackgroundStyle) return value } - readTextDataDetectorConfig(): TextDataDetectorConfig { + public readTextPickerTextStyle(): TextPickerTextStyle { let valueDeserializer : Deserializer = this - const types_buf_length : int32 = valueDeserializer.readInt32() - let types_buf : Array = new Array(types_buf_length) - for (let types_buf_i = 0; types_buf_i < types_buf_length; types_buf_i++) { - types_buf[types_buf_i] = TypeChecker.TextDataDetectorType_FromNumeric(valueDeserializer.readInt32()) - } - const types_result : Array = types_buf - const onDetectResultUpdate_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onDetectResultUpdate_buf : ((breakpoints: string) => void) | undefined - if ((RuntimeType.UNDEFINED) != (onDetectResultUpdate_buf_runtimeType)) - { - onDetectResultUpdate_buf = valueDeserializer.readCallback_String_Void() - } - const onDetectResultUpdate_result : ((breakpoints: string) => void) | undefined = onDetectResultUpdate_buf const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) let color_buf : ResourceColor | undefined if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) @@ -27628,45 +27921,118 @@ export class Deserializer extends DeserializerBase { color_buf = (color_buf_ as Color | number | string | Resource) } const color_result : ResourceColor | undefined = color_buf - const decoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let decoration_buf : DecorationStyleInterface | undefined - if ((RuntimeType.UNDEFINED) != (decoration_buf_runtimeType)) + const font_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let font_buf : Font | undefined + if ((RuntimeType.UNDEFINED) != (font_buf_runtimeType)) { - decoration_buf = valueDeserializer.readDecorationStyleInterface() + font_buf = valueDeserializer.readFont() } - const decoration_result : DecorationStyleInterface | undefined = decoration_buf - let value : TextDataDetectorConfig = ({types: types_result, onDetectResultUpdate: onDetectResultUpdate_result, color: color_result, decoration: decoration_result} as TextDataDetectorConfig) + const font_result : Font | undefined = font_buf + const minFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let minFontSize_buf : number | string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (minFontSize_buf_runtimeType)) + { + const minFontSize_buf__selector : int32 = valueDeserializer.readInt8() + let minFontSize_buf_ : number | string | Resource | undefined + if (minFontSize_buf__selector == 0) { + minFontSize_buf_ = (valueDeserializer.readNumber() as number) + } + else if (minFontSize_buf__selector == 1) { + minFontSize_buf_ = (valueDeserializer.readString() as string) + } + else if (minFontSize_buf__selector == 2) { + minFontSize_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for minFontSize_buf_ has to be chosen through deserialisation.") + } + minFontSize_buf = (minFontSize_buf_ as number | string | Resource) + } + const minFontSize_result : number | string | Resource | undefined = minFontSize_buf + const maxFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxFontSize_buf : number | string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (maxFontSize_buf_runtimeType)) + { + const maxFontSize_buf__selector : int32 = valueDeserializer.readInt8() + let maxFontSize_buf_ : number | string | Resource | undefined + if (maxFontSize_buf__selector == 0) { + maxFontSize_buf_ = (valueDeserializer.readNumber() as number) + } + else if (maxFontSize_buf__selector == 1) { + maxFontSize_buf_ = (valueDeserializer.readString() as string) + } + else if (maxFontSize_buf__selector == 2) { + maxFontSize_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for maxFontSize_buf_ has to be chosen through deserialisation.") + } + maxFontSize_buf = (maxFontSize_buf_ as number | string | Resource) + } + const maxFontSize_result : number | string | Resource | undefined = maxFontSize_buf + const overflow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let overflow_buf : TextOverflow | undefined + if ((RuntimeType.UNDEFINED) != (overflow_buf_runtimeType)) + { + overflow_buf = TypeChecker.TextOverflow_FromNumeric(valueDeserializer.readInt32()) + } + const overflow_result : TextOverflow | undefined = overflow_buf + let value : TextPickerTextStyle = ({color: color_result, font: font_result, minFontSize: minFontSize_result, maxFontSize: maxFontSize_result, overflow: overflow_result} as TextPickerTextStyle) return value } - readTouchEvent(): TouchEvent { + public readTouchEvent(): TouchEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return TouchEventInternal.fromPtr(ptr) } - readAccessibilityHoverEvent(): AccessibilityHoverEvent { + public readWithThemeOptions(): WithThemeOptions { + let valueDeserializer : Deserializer = this + const theme_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let theme_buf : CustomTheme | undefined + if ((RuntimeType.UNDEFINED) != (theme_buf_runtimeType)) + { + theme_buf = valueDeserializer.readCustomTheme() + } + const theme_result : CustomTheme | undefined = theme_buf + const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colorMode_buf : ThemeColorMode | undefined + if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) + { + colorMode_buf = TypeChecker.ThemeColorMode_FromNumeric(valueDeserializer.readInt32()) + } + const colorMode_result : ThemeColorMode | undefined = colorMode_buf + let value : WithThemeOptions = ({theme: theme_result, colorMode: colorMode_result} as WithThemeOptions) + return value + } + public readAccessibilityHoverEvent(): AccessibilityHoverEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return AccessibilityHoverEventInternal.fromPtr(ptr) } - readBackgroundColorStyle(): BackgroundColorStyle { + public readAxisEvent(): AxisEvent { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return AxisEventInternal.fromPtr(ptr) + } + public readBackgroundColorStyle(): BackgroundColorStyle { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return BackgroundColorStyleInternal.fromPtr(ptr) } - readBaseEvent(): BaseEvent { + public readBaseEvent(): BaseEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return BaseEventInternal.fromPtr(ptr) } - readBaseGestureEvent(): BaseGestureEvent { + public readBaseGestureEvent(): BaseGestureEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return BaseGestureEventInternal.fromPtr(ptr) } - readBottomTabBarStyle(): BottomTabBarStyle { + public readBottomTabBarStyle(): BottomTabBarStyle { throw new Error("Can not deserialize builder class") } - readCalendarDialogOptions(): CalendarDialogOptions { + public readCalendarDialogOptions(): CalendarDialogOptions { let valueDeserializer : Deserializer = this const hintRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) let hintRadius_buf : number | Resource | undefined @@ -27693,6 +28059,32 @@ export class Deserializer extends DeserializerBase { selected_buf = new Date(valueDeserializer.readInt64()) } const selected_result : Date | undefined = selected_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : Date | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = new Date(valueDeserializer.readInt64()) + } + const start_result : Date | undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : Date | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = new Date(valueDeserializer.readInt64()) + } + const end_result : Date | undefined = end_buf + const disabledDateRange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disabledDateRange_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (disabledDateRange_buf_runtimeType)) + { + const disabledDateRange_buf__length : int32 = valueDeserializer.readInt32() + let disabledDateRange_buf_ : Array = new Array(disabledDateRange_buf__length) + for (let disabledDateRange_buf__i = 0; disabledDateRange_buf__i < disabledDateRange_buf__length; disabledDateRange_buf__i++) { + disabledDateRange_buf_[disabledDateRange_buf__i] = valueDeserializer.readDateRange() + } + disabledDateRange_buf = disabledDateRange_buf_ + } + const disabledDateRange_result : Array | undefined = disabledDateRange_buf const onAccept_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onAccept_buf : ((parameter: Date) => void) | undefined if ((RuntimeType.UNDEFINED) != (onAccept_buf_runtimeType)) @@ -27745,6 +28137,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf const acceptButtonStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) let acceptButtonStyle_buf : PickerDialogButtonStyle | undefined if ((RuntimeType.UNDEFINED) != (acceptButtonStyle_buf_runtimeType)) @@ -27819,15 +28225,22 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = TypeChecker.HoverModeAreaType_FromNumeric(valueDeserializer.readInt32()) } const hoverModeArea_result : HoverModeAreaType | undefined = hoverModeArea_buf - let value : CalendarDialogOptions = ({hintRadius: hintRadius_result, selected: selected_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result} as CalendarDialogOptions) + const markToday_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let markToday_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (markToday_buf_runtimeType)) + { + markToday_buf = valueDeserializer.readBoolean() + } + const markToday_result : boolean | undefined = markToday_buf + let value : CalendarDialogOptions = ({hintRadius: hintRadius_result, selected: selected_result, start: start_result, end: end_result, disabledDateRange: disabledDateRange_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, markToday: markToday_result} as CalendarDialogOptions) return value } - readClickEvent(): ClickEvent { + public readClickEvent(): ClickEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ClickEventInternal.fromPtr(ptr) } - readDatePickerDialogOptions(): DatePickerDialogOptions { + public readDatePickerDialogOptions(): DatePickerDialogOptions { let valueDeserializer : Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf : Date | undefined @@ -27850,6 +28263,13 @@ export class Deserializer extends DeserializerBase { selected_buf = new Date(valueDeserializer.readInt64()) } const selected_result : Date | undefined = selected_buf + const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mode_buf : DatePickerMode | undefined + if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) + { + mode_buf = TypeChecker.DatePickerMode_FromNumeric(valueDeserializer.readInt32()) + } + const mode_result : DatePickerMode | undefined = mode_buf const lunar_buf_runtimeType = (valueDeserializer.readInt8() as int32) let lunar_buf : boolean | undefined if ((RuntimeType.UNDEFINED) != (lunar_buf_runtimeType)) @@ -27938,37 +28358,7 @@ export class Deserializer extends DeserializerBase { let offset_buf : Offset | undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dx_buf : string | number | Resource | undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx : Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dy_buf : string | number | Resource | undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy : Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result : Offset | undefined = offset_buf const onAccept_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -28037,6 +28427,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onDidAppear_buf : VoidCallback | undefined if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) @@ -28104,10 +28508,17 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = TypeChecker.HoverModeAreaType_FromNumeric(valueDeserializer.readInt32()) } const hoverModeArea_result : HoverModeAreaType | undefined = hoverModeArea_buf - let value : DatePickerDialogOptions = ({start: start_result, end: end_result, selected: selected_result, lunar: lunar_result, lunarSwitch: lunarSwitch_result, lunarSwitchStyle: lunarSwitchStyle_result, showTime: showTime_result, useMilitaryTime: useMilitaryTime_result, disappearTextStyle: disappearTextStyle_result, textStyle: textStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, selectedTextStyle: selectedTextStyle_result, maskRect: maskRect_result, alignment: alignment_result, offset: offset_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, onDateAccept: onDateAccept_result, onDateChange: onDateChange_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, dateTimeOptions: dateTimeOptions_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result} as DatePickerDialogOptions) + const enableHapticFeedback_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableHapticFeedback_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableHapticFeedback_buf_runtimeType)) + { + enableHapticFeedback_buf = valueDeserializer.readBoolean() + } + const enableHapticFeedback_result : boolean | undefined = enableHapticFeedback_buf + let value : DatePickerDialogOptions = ({start: start_result, end: end_result, selected: selected_result, mode: mode_result, lunar: lunar_result, lunarSwitch: lunarSwitch_result, lunarSwitchStyle: lunarSwitchStyle_result, showTime: showTime_result, useMilitaryTime: useMilitaryTime_result, disappearTextStyle: disappearTextStyle_result, textStyle: textStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, selectedTextStyle: selectedTextStyle_result, maskRect: maskRect_result, alignment: alignment_result, offset: offset_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, onDateAccept: onDateAccept_result, onDateChange: onDateChange_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, dateTimeOptions: dateTimeOptions_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, enableHapticFeedback: enableHapticFeedback_result} as DatePickerDialogOptions) return value } - readGridRowOptions(): GridRowOptions { + public readGridRowOptions(): GridRowOptions { let valueDeserializer : Deserializer = this const gutter_buf_runtimeType = (valueDeserializer.readInt8() as int32) let gutter_buf : Length | GutterOption | undefined @@ -28176,12 +28587,12 @@ export class Deserializer extends DeserializerBase { let value : GridRowOptions = ({gutter: gutter_result, columns: columns_result, breakpoints: breakpoints_result, direction: direction_result} as GridRowOptions) return value } - readImageAttachment(): ImageAttachment { + public readImageAttachment(): ImageAttachment { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() return ImageAttachmentInternal.fromPtr(ptr) } - readImageAttachmentInterface(): ImageAttachmentInterface { + public readImageAttachmentInterface(): ImageAttachmentInterface { let valueDeserializer : Deserializer = this const value_result : PixelMap = (valueDeserializer.readPixelMap() as PixelMap) const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -28212,10 +28623,28 @@ export class Deserializer extends DeserializerBase { layoutStyle_buf = valueDeserializer.readImageAttachmentLayoutStyle() } const layoutStyle_result : ImageAttachmentLayoutStyle | undefined = layoutStyle_buf - let value : ImageAttachmentInterface = ({value: value_result, size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result} as ImageAttachmentInterface) + const colorFilter_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colorFilter_buf : ColorFilterType | undefined + if ((RuntimeType.UNDEFINED) != (colorFilter_buf_runtimeType)) + { + const colorFilter_buf__selector : int32 = valueDeserializer.readInt8() + let colorFilter_buf_ : ColorFilter | DrawingColorFilter | undefined + if (colorFilter_buf__selector == 0) { + colorFilter_buf_ = (valueDeserializer.readColorFilter() as ColorFilter) + } + else if (colorFilter_buf__selector == 1) { + colorFilter_buf_ = (valueDeserializer.readDrawingColorFilter() as DrawingColorFilter) + } + else { + throw new Error("One of the branches for colorFilter_buf_ has to be chosen through deserialisation.") + } + colorFilter_buf = (colorFilter_buf_ as ColorFilter | DrawingColorFilter) + } + const colorFilter_result : ColorFilterType | undefined = colorFilter_buf + let value : ImageAttachmentInterface = ({value: value_result, size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result, colorFilter: colorFilter_result} as ImageAttachmentInterface) return value } - readNativeEmbedDataInfo(): NativeEmbedDataInfo { + public readNativeEmbedDataInfo(): NativeEmbedDataInfo { let valueDeserializer : Deserializer = this const status_buf_runtimeType = (valueDeserializer.readInt8() as int32) let status_buf : NativeEmbedStatus | undefined @@ -28248,7 +28677,7 @@ export class Deserializer extends DeserializerBase { let value : NativeEmbedDataInfo = ({status: status_result, surfaceId: surfaceId_result, embedId: embedId_result, info: info_result} as NativeEmbedDataInfo) return value } - readNativeEmbedTouchInfo(): NativeEmbedTouchInfo { + public readNativeEmbedTouchInfo(): NativeEmbedTouchInfo { let valueDeserializer : Deserializer = this const embedId_buf_runtimeType = (valueDeserializer.readInt8() as int32) let embedId_buf : string | undefined @@ -28264,80 +28693,17 @@ export class Deserializer extends DeserializerBase { touchEvent_buf = (valueDeserializer.readTouchEvent() as TouchEvent) } const touchEvent_result : TouchEvent | undefined = touchEvent_buf - const result_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let result_buf : EventResult | undefined - if ((RuntimeType.UNDEFINED) != (result_buf_runtimeType)) - { - result_buf = (valueDeserializer.readEventResult() as EventResult) - } - const result_result : EventResult | undefined = result_buf - let value : NativeEmbedTouchInfo = ({embedId: embedId_result, touchEvent: touchEvent_result, result: result_result} as NativeEmbedTouchInfo) - return value - } - readParagraphStyle(): ParagraphStyle { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return ParagraphStyleInternal.fromPtr(ptr) - } - readParagraphStyleInterface(): ParagraphStyleInterface { - let valueDeserializer : Deserializer = this - const textAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textAlign_buf : TextAlign | undefined - if ((RuntimeType.UNDEFINED) != (textAlign_buf_runtimeType)) - { - textAlign_buf = TypeChecker.TextAlign_FromNumeric(valueDeserializer.readInt32()) - } - const textAlign_result : TextAlign | undefined = textAlign_buf - const textIndent_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textIndent_buf : LengthMetrics | undefined - if ((RuntimeType.UNDEFINED) != (textIndent_buf_runtimeType)) - { - textIndent_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const textIndent_result : LengthMetrics | undefined = textIndent_buf - const maxLines_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maxLines_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (maxLines_buf_runtimeType)) - { - maxLines_buf = (valueDeserializer.readNumber() as number) - } - const maxLines_result : number | undefined = maxLines_buf - const overflow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let overflow_buf : TextOverflow | undefined - if ((RuntimeType.UNDEFINED) != (overflow_buf_runtimeType)) - { - overflow_buf = TypeChecker.TextOverflow_FromNumeric(valueDeserializer.readInt32()) - } - const overflow_result : TextOverflow | undefined = overflow_buf - const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let wordBreak_buf : WordBreak | undefined - if ((RuntimeType.UNDEFINED) != (wordBreak_buf_runtimeType)) - { - wordBreak_buf = TypeChecker.WordBreak_FromNumeric(valueDeserializer.readInt32()) - } - const wordBreak_result : WordBreak | undefined = wordBreak_buf - const leadingMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let leadingMargin_buf : LengthMetrics | LeadingMarginPlaceholder | undefined - if ((RuntimeType.UNDEFINED) != (leadingMargin_buf_runtimeType)) - { - const leadingMargin_buf__selector : int32 = valueDeserializer.readInt8() - let leadingMargin_buf_ : LengthMetrics | LeadingMarginPlaceholder | undefined - if (leadingMargin_buf__selector == 0) { - leadingMargin_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - else if (leadingMargin_buf__selector == 1) { - leadingMargin_buf_ = valueDeserializer.readLeadingMarginPlaceholder() - } - else { - throw new Error("One of the branches for leadingMargin_buf_ has to be chosen through deserialisation.") - } - leadingMargin_buf = (leadingMargin_buf_ as LengthMetrics | LeadingMarginPlaceholder) + const result_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let result_buf : EventResult | undefined + if ((RuntimeType.UNDEFINED) != (result_buf_runtimeType)) + { + result_buf = (valueDeserializer.readEventResult() as EventResult) } - const leadingMargin_result : LengthMetrics | LeadingMarginPlaceholder | undefined = leadingMargin_buf - let value : ParagraphStyleInterface = ({textAlign: textAlign_result, textIndent: textIndent_result, maxLines: maxLines_result, overflow: overflow_result, wordBreak: wordBreak_result, leadingMargin: leadingMargin_result} as ParagraphStyleInterface) + const result_result : EventResult | undefined = result_buf + let value : NativeEmbedTouchInfo = ({embedId: embedId_result, touchEvent: touchEvent_result, result: result_result} as NativeEmbedTouchInfo) return value } - readPopupOptions(): PopupOptions { + public readPopupOptions(): PopupOptions { let valueDeserializer : Deserializer = this const message_result : string = (valueDeserializer.readString() as string) const placementOnTop_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -28671,48 +29037,43 @@ export class Deserializer extends DeserializerBase { followTransformOfTarget_buf = valueDeserializer.readBoolean() } const followTransformOfTarget_result : boolean | undefined = followTransformOfTarget_buf - let value : PopupOptions = ({message: message_result, placementOnTop: placementOnTop_result, placement: placement_result, primaryButton: primaryButton_result, secondaryButton: secondaryButton_result, onStateChange: onStateChange_result, arrowOffset: arrowOffset_result, showInSubWindow: showInSubWindow_result, mask: mask_result, messageOptions: messageOptions_result, targetSpace: targetSpace_result, enableArrow: enableArrow_result, offset: offset_result, popupColor: popupColor_result, autoCancel: autoCancel_result, width: width_result, arrowPointPosition: arrowPointPosition_result, arrowWidth: arrowWidth_result, arrowHeight: arrowHeight_result, radius: radius_result, shadow: shadow_result, backgroundBlurStyle: backgroundBlurStyle_result, transition: transition_result, onWillDismiss: onWillDismiss_result, enableHoverMode: enableHoverMode_result, followTransformOfTarget: followTransformOfTarget_result} as PopupOptions) + const keyboardAvoidMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let keyboardAvoidMode_buf : KeyboardAvoidMode | undefined + if ((RuntimeType.UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) + { + keyboardAvoidMode_buf = TypeChecker.KeyboardAvoidMode_FromNumeric(valueDeserializer.readInt32()) + } + const keyboardAvoidMode_result : KeyboardAvoidMode | undefined = keyboardAvoidMode_buf + let value : PopupOptions = ({message: message_result, placementOnTop: placementOnTop_result, placement: placement_result, primaryButton: primaryButton_result, secondaryButton: secondaryButton_result, onStateChange: onStateChange_result, arrowOffset: arrowOffset_result, showInSubWindow: showInSubWindow_result, mask: mask_result, messageOptions: messageOptions_result, targetSpace: targetSpace_result, enableArrow: enableArrow_result, offset: offset_result, popupColor: popupColor_result, autoCancel: autoCancel_result, width: width_result, arrowPointPosition: arrowPointPosition_result, arrowWidth: arrowWidth_result, arrowHeight: arrowHeight_result, radius: radius_result, shadow: shadow_result, backgroundBlurStyle: backgroundBlurStyle_result, transition: transition_result, onWillDismiss: onWillDismiss_result, enableHoverMode: enableHoverMode_result, followTransformOfTarget: followTransformOfTarget_result, keyboardAvoidMode: keyboardAvoidMode_result} as PopupOptions) return value } - readRichEditorImageSpanStyle(): RichEditorImageSpanStyle { + public readResourceImageAttachmentOptions(): ResourceImageAttachmentOptions { let valueDeserializer : Deserializer = this - const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let size_buf : [ Dimension, Dimension ] | undefined - if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) + const resourceValue_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let resourceValue_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (resourceValue_buf_runtimeType)) { - const size_buf__value0_buf_selector : int32 = valueDeserializer.readInt8() - let size_buf__value0_buf : string | number | Resource | undefined - if (size_buf__value0_buf_selector == 0) { - size_buf__value0_buf = (valueDeserializer.readString() as string) - } - else if (size_buf__value0_buf_selector == 1) { - size_buf__value0_buf = (valueDeserializer.readNumber() as number) - } - else if (size_buf__value0_buf_selector == 2) { - size_buf__value0_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for size_buf__value0_buf has to be chosen through deserialisation.") - } - const size_buf__value0 : Dimension = (size_buf__value0_buf as string | number | Resource) - const size_buf__value1_buf_selector : int32 = valueDeserializer.readInt8() - let size_buf__value1_buf : string | number | Resource | undefined - if (size_buf__value1_buf_selector == 0) { - size_buf__value1_buf = (valueDeserializer.readString() as string) - } - else if (size_buf__value1_buf_selector == 1) { - size_buf__value1_buf = (valueDeserializer.readNumber() as number) + const resourceValue_buf__selector : int32 = valueDeserializer.readInt8() + let resourceValue_buf_ : string | Resource | undefined + if (resourceValue_buf__selector == 0) { + resourceValue_buf_ = (valueDeserializer.readString() as string) } - else if (size_buf__value1_buf_selector == 2) { - size_buf__value1_buf = valueDeserializer.readResource() + else if (resourceValue_buf__selector == 1) { + resourceValue_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for size_buf__value1_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for resourceValue_buf_ has to be chosen through deserialisation.") } - const size_buf__value1 : Dimension = (size_buf__value1_buf as string | number | Resource) - size_buf = ([size_buf__value0, size_buf__value1] as [ Dimension, Dimension ]) + resourceValue_buf = (resourceValue_buf_ as string | Resource) } - const size_result : [ Dimension, Dimension ] | undefined = size_buf + const resourceValue_result : ResourceStr | undefined = resourceValue_buf + const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let size_buf : SizeOptions | undefined + if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) + { + size_buf = valueDeserializer.readSizeOptions() + } + const size_result : SizeOptions | undefined = size_buf const verticalAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) let verticalAlign_buf : ImageSpanAlignment | undefined if ((RuntimeType.UNDEFINED) != (verticalAlign_buf_runtimeType)) @@ -28728,799 +29089,438 @@ export class Deserializer extends DeserializerBase { } const objectFit_result : ImageFit | undefined = objectFit_buf const layoutStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutStyle_buf : RichEditorLayoutStyle | undefined - if ((RuntimeType.UNDEFINED) != (layoutStyle_buf_runtimeType)) - { - layoutStyle_buf = valueDeserializer.readRichEditorLayoutStyle() - } - const layoutStyle_result : RichEditorLayoutStyle | undefined = layoutStyle_buf - let value : RichEditorImageSpanStyle = ({size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result} as RichEditorImageSpanStyle) - return value - } - readRichEditorImageSpanStyleResult(): RichEditorImageSpanStyleResult { - let valueDeserializer : Deserializer = this - const size_buf_value0 : number = (valueDeserializer.readNumber() as number) - const size_buf_value1 : number = (valueDeserializer.readNumber() as number) - const size_result : [ number, number ] = ([size_buf_value0, size_buf_value1] as [ number, number ]) - const verticalAlign_result : ImageSpanAlignment = TypeChecker.ImageSpanAlignment_FromNumeric(valueDeserializer.readInt32()) - const objectFit_result : ImageFit = TypeChecker.ImageFit_FromNumeric(valueDeserializer.readInt32()) - const layoutStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutStyle_buf : RichEditorLayoutStyle | undefined + let layoutStyle_buf : ImageAttachmentLayoutStyle | undefined if ((RuntimeType.UNDEFINED) != (layoutStyle_buf_runtimeType)) { - layoutStyle_buf = valueDeserializer.readRichEditorLayoutStyle() - } - const layoutStyle_result : RichEditorLayoutStyle | undefined = layoutStyle_buf - let value : RichEditorImageSpanStyleResult = ({size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result} as RichEditorImageSpanStyleResult) - return value - } - readRichEditorParagraphStyle(): RichEditorParagraphStyle { - let valueDeserializer : Deserializer = this - const textAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textAlign_buf : TextAlign | undefined - if ((RuntimeType.UNDEFINED) != (textAlign_buf_runtimeType)) - { - textAlign_buf = TypeChecker.TextAlign_FromNumeric(valueDeserializer.readInt32()) - } - const textAlign_result : TextAlign | undefined = textAlign_buf - const leadingMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let leadingMargin_buf : Dimension | LeadingMarginPlaceholder | undefined - if ((RuntimeType.UNDEFINED) != (leadingMargin_buf_runtimeType)) - { - const leadingMargin_buf__selector : int32 = valueDeserializer.readInt8() - let leadingMargin_buf_ : Dimension | LeadingMarginPlaceholder | undefined - if (leadingMargin_buf__selector == 0) { - const leadingMargin_buf__u_selector : int32 = valueDeserializer.readInt8() - let leadingMargin_buf__u : string | number | Resource | undefined - if (leadingMargin_buf__u_selector == 0) { - leadingMargin_buf__u = (valueDeserializer.readString() as string) - } - else if (leadingMargin_buf__u_selector == 1) { - leadingMargin_buf__u = (valueDeserializer.readNumber() as number) - } - else if (leadingMargin_buf__u_selector == 2) { - leadingMargin_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for leadingMargin_buf__u has to be chosen through deserialisation.") - } - leadingMargin_buf_ = (leadingMargin_buf__u as string | number | Resource) - } - else if (leadingMargin_buf__selector == 1) { - leadingMargin_buf_ = valueDeserializer.readLeadingMarginPlaceholder() - } - else { - throw new Error("One of the branches for leadingMargin_buf_ has to be chosen through deserialisation.") - } - leadingMargin_buf = (leadingMargin_buf_ as Dimension | LeadingMarginPlaceholder) - } - const leadingMargin_result : Dimension | LeadingMarginPlaceholder | undefined = leadingMargin_buf - const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let wordBreak_buf : WordBreak | undefined - if ((RuntimeType.UNDEFINED) != (wordBreak_buf_runtimeType)) - { - wordBreak_buf = TypeChecker.WordBreak_FromNumeric(valueDeserializer.readInt32()) - } - const wordBreak_result : WordBreak | undefined = wordBreak_buf - const lineBreakStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lineBreakStrategy_buf : LineBreakStrategy | undefined - if ((RuntimeType.UNDEFINED) != (lineBreakStrategy_buf_runtimeType)) - { - lineBreakStrategy_buf = TypeChecker.LineBreakStrategy_FromNumeric(valueDeserializer.readInt32()) - } - const lineBreakStrategy_result : LineBreakStrategy | undefined = lineBreakStrategy_buf - let value : RichEditorParagraphStyle = ({textAlign: textAlign_result, leadingMargin: leadingMargin_result, wordBreak: wordBreak_result, lineBreakStrategy: lineBreakStrategy_result} as RichEditorParagraphStyle) - return value - } - readRichEditorParagraphStyleOptions(): RichEditorParagraphStyleOptions { - let valueDeserializer : Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) - { - start_buf = (valueDeserializer.readNumber() as number) - } - const start_result : number | undefined = start_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) - { - end_buf = (valueDeserializer.readNumber() as number) - } - const end_result : number | undefined = end_buf - const style_result : RichEditorParagraphStyle = valueDeserializer.readRichEditorParagraphStyle() - let value : RichEditorParagraphStyleOptions = ({start: start_result, end: end_result, style: style_result} as RichEditorParagraphStyleOptions) - return value - } - readRichEditorUpdateImageSpanStyleOptions(): RichEditorUpdateImageSpanStyleOptions { - let valueDeserializer : Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) - { - start_buf = (valueDeserializer.readNumber() as number) - } - const start_result : number | undefined = start_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) - { - end_buf = (valueDeserializer.readNumber() as number) - } - const end_result : number | undefined = end_buf - const imageStyle_result : RichEditorImageSpanStyle = valueDeserializer.readRichEditorImageSpanStyle() - let value : RichEditorUpdateImageSpanStyleOptions = ({start: start_result, end: end_result, imageStyle: imageStyle_result} as RichEditorUpdateImageSpanStyleOptions) - return value - } - readRunMetrics(): RunMetrics { - let valueDeserializer : Deserializer = this - const textStyle_result : text.TextStyle = valueDeserializer.readtext_TextStyle() - const fontMetrics_result : FontMetrics = valueDeserializer.readFontMetrics() - let value : RunMetrics = ({textStyle: textStyle_result, fontMetrics: fontMetrics_result} as RunMetrics) - return value - } - readSheetOptions(): SheetOptions { - let valueDeserializer : Deserializer = this - const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) - { - const backgroundColor_buf__selector : int32 = valueDeserializer.readInt8() - let backgroundColor_buf_ : Color | number | string | Resource | undefined - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_ = (valueDeserializer.readString() as string) - } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") - } - backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) - } - const backgroundColor_result : ResourceColor | undefined = backgroundColor_buf - const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onAppear_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (onAppear_buf_runtimeType)) - { - onAppear_buf = valueDeserializer.readCallback_Void() - } - const onAppear_result : (() => void) | undefined = onAppear_buf - const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onDisappear_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) - { - onDisappear_buf = valueDeserializer.readCallback_Void() - } - const onDisappear_result : (() => void) | undefined = onDisappear_buf - const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillAppear_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) - { - onWillAppear_buf = valueDeserializer.readCallback_Void() - } - const onWillAppear_result : (() => void) | undefined = onWillAppear_buf - const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillDisappear_buf : (() => void) | undefined - if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) - { - onWillDisappear_buf = valueDeserializer.readCallback_Void() + layoutStyle_buf = valueDeserializer.readImageAttachmentLayoutStyle() } - const onWillDisappear_result : (() => void) | undefined = onWillDisappear_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf : SheetSize | Length | undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) - { - const height_buf__selector : int32 = valueDeserializer.readInt8() - let height_buf_ : SheetSize | Length | undefined - if (height_buf__selector == 0) { - height_buf_ = TypeChecker.SheetSize_FromNumeric(valueDeserializer.readInt32()) - } - else if (height_buf__selector == 1) { - const height_buf__u_selector : int32 = valueDeserializer.readInt8() - let height_buf__u : string | number | Resource | undefined - if (height_buf__u_selector == 0) { - height_buf__u = (valueDeserializer.readString() as string) - } - else if (height_buf__u_selector == 1) { - height_buf__u = (valueDeserializer.readNumber() as number) - } - else if (height_buf__u_selector == 2) { - height_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for height_buf__u has to be chosen through deserialisation.") - } - height_buf_ = (height_buf__u as string | number | Resource) + const layoutStyle_result : ImageAttachmentLayoutStyle | undefined = layoutStyle_buf + const colorFilter_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colorFilter_buf : ColorFilterType | undefined + if ((RuntimeType.UNDEFINED) != (colorFilter_buf_runtimeType)) + { + const colorFilter_buf__selector : int32 = valueDeserializer.readInt8() + let colorFilter_buf_ : ColorFilter | DrawingColorFilter | undefined + if (colorFilter_buf__selector == 0) { + colorFilter_buf_ = (valueDeserializer.readColorFilter() as ColorFilter) + } + else if (colorFilter_buf__selector == 1) { + colorFilter_buf_ = (valueDeserializer.readDrawingColorFilter() as DrawingColorFilter) } else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for colorFilter_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_ as SheetSize | Length) + colorFilter_buf = (colorFilter_buf_ as ColorFilter | DrawingColorFilter) } - const height_result : SheetSize | Length | undefined = height_buf - const dragBar_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dragBar_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (dragBar_buf_runtimeType)) + const colorFilter_result : ColorFilterType | undefined = colorFilter_buf + const syncLoad_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let syncLoad_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (syncLoad_buf_runtimeType)) { - dragBar_buf = valueDeserializer.readBoolean() + syncLoad_buf = valueDeserializer.readBoolean() } - const dragBar_result : boolean | undefined = dragBar_buf - const maskColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maskColor_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (maskColor_buf_runtimeType)) + const syncLoad_result : boolean | undefined = syncLoad_buf + let value : ResourceImageAttachmentOptions = ({resourceValue: resourceValue_result, size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result, colorFilter: colorFilter_result, syncLoad: syncLoad_result} as ResourceImageAttachmentOptions) + return value + } + public readRichEditorImageSpanStyle(): RichEditorImageSpanStyle { + let valueDeserializer : Deserializer = this + const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let size_buf : [ Dimension, Dimension ] | undefined + if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) { - const maskColor_buf__selector : int32 = valueDeserializer.readInt8() - let maskColor_buf_ : Color | number | string | Resource | undefined - if (maskColor_buf__selector == 0) { - maskColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (maskColor_buf__selector == 1) { - maskColor_buf_ = (valueDeserializer.readNumber() as number) + const size_buf__value0_buf_selector : int32 = valueDeserializer.readInt8() + let size_buf__value0_buf : string | number | Resource | undefined + if (size_buf__value0_buf_selector == 0) { + size_buf__value0_buf = (valueDeserializer.readString() as string) } - else if (maskColor_buf__selector == 2) { - maskColor_buf_ = (valueDeserializer.readString() as string) + else if (size_buf__value0_buf_selector == 1) { + size_buf__value0_buf = (valueDeserializer.readNumber() as number) } - else if (maskColor_buf__selector == 3) { - maskColor_buf_ = valueDeserializer.readResource() + else if (size_buf__value0_buf_selector == 2) { + size_buf__value0_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for maskColor_buf_ has to be chosen through deserialisation.") - } - maskColor_buf = (maskColor_buf_ as Color | number | string | Resource) - } - const maskColor_result : ResourceColor | undefined = maskColor_buf - const detents_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let detents_buf : [ SheetSize | Length, SheetSize | Length | undefined, SheetSize | Length | undefined ] | undefined - if ((RuntimeType.UNDEFINED) != (detents_buf_runtimeType)) - { - const detents_buf__value0_buf_selector : int32 = valueDeserializer.readInt8() - let detents_buf__value0_buf : SheetSize | Length | undefined - if (detents_buf__value0_buf_selector == 0) { - detents_buf__value0_buf = TypeChecker.SheetSize_FromNumeric(valueDeserializer.readInt32()) + throw new Error("One of the branches for size_buf__value0_buf has to be chosen through deserialisation.") } - else if (detents_buf__value0_buf_selector == 1) { - const detents_buf__value0_buf_u_selector : int32 = valueDeserializer.readInt8() - let detents_buf__value0_buf_u : string | number | Resource | undefined - if (detents_buf__value0_buf_u_selector == 0) { - detents_buf__value0_buf_u = (valueDeserializer.readString() as string) - } - else if (detents_buf__value0_buf_u_selector == 1) { - detents_buf__value0_buf_u = (valueDeserializer.readNumber() as number) - } - else if (detents_buf__value0_buf_u_selector == 2) { - detents_buf__value0_buf_u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for detents_buf__value0_buf_u has to be chosen through deserialisation.") - } - detents_buf__value0_buf = (detents_buf__value0_buf_u as string | number | Resource) + const size_buf__value0 : Dimension = (size_buf__value0_buf as string | number | Resource) + const size_buf__value1_buf_selector : int32 = valueDeserializer.readInt8() + let size_buf__value1_buf : string | number | Resource | undefined + if (size_buf__value1_buf_selector == 0) { + size_buf__value1_buf = (valueDeserializer.readString() as string) } - else { - throw new Error("One of the branches for detents_buf__value0_buf has to be chosen through deserialisation.") + else if (size_buf__value1_buf_selector == 1) { + size_buf__value1_buf = (valueDeserializer.readNumber() as number) } - const detents_buf__value0 : SheetSize | Length = (detents_buf__value0_buf as SheetSize | Length) - const detents_buf__value1_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let detents_buf__value1_buf : SheetSize | Length | undefined - if ((RuntimeType.UNDEFINED) != (detents_buf__value1_buf_runtimeType)) - { - const detents_buf__value1_buf__selector : int32 = valueDeserializer.readInt8() - let detents_buf__value1_buf_ : SheetSize | Length | undefined - if (detents_buf__value1_buf__selector == 0) { - detents_buf__value1_buf_ = TypeChecker.SheetSize_FromNumeric(valueDeserializer.readInt32()) - } - else if (detents_buf__value1_buf__selector == 1) { - const detents_buf__value1_buf__u_selector : int32 = valueDeserializer.readInt8() - let detents_buf__value1_buf__u : string | number | Resource | undefined - if (detents_buf__value1_buf__u_selector == 0) { - detents_buf__value1_buf__u = (valueDeserializer.readString() as string) - } - else if (detents_buf__value1_buf__u_selector == 1) { - detents_buf__value1_buf__u = (valueDeserializer.readNumber() as number) - } - else if (detents_buf__value1_buf__u_selector == 2) { - detents_buf__value1_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for detents_buf__value1_buf__u has to be chosen through deserialisation.") - } - detents_buf__value1_buf_ = (detents_buf__value1_buf__u as string | number | Resource) - } - else { - throw new Error("One of the branches for detents_buf__value1_buf_ has to be chosen through deserialisation.") - } - detents_buf__value1_buf = (detents_buf__value1_buf_ as SheetSize | Length) + else if (size_buf__value1_buf_selector == 2) { + size_buf__value1_buf = valueDeserializer.readResource() } - const detents_buf__value1 : undefined | SheetSize | Length = detents_buf__value1_buf - const detents_buf__value2_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let detents_buf__value2_buf : SheetSize | Length | undefined - if ((RuntimeType.UNDEFINED) != (detents_buf__value2_buf_runtimeType)) - { - const detents_buf__value2_buf__selector : int32 = valueDeserializer.readInt8() - let detents_buf__value2_buf_ : SheetSize | Length | undefined - if (detents_buf__value2_buf__selector == 0) { - detents_buf__value2_buf_ = TypeChecker.SheetSize_FromNumeric(valueDeserializer.readInt32()) - } - else if (detents_buf__value2_buf__selector == 1) { - const detents_buf__value2_buf__u_selector : int32 = valueDeserializer.readInt8() - let detents_buf__value2_buf__u : string | number | Resource | undefined - if (detents_buf__value2_buf__u_selector == 0) { - detents_buf__value2_buf__u = (valueDeserializer.readString() as string) - } - else if (detents_buf__value2_buf__u_selector == 1) { - detents_buf__value2_buf__u = (valueDeserializer.readNumber() as number) - } - else if (detents_buf__value2_buf__u_selector == 2) { - detents_buf__value2_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for detents_buf__value2_buf__u has to be chosen through deserialisation.") - } - detents_buf__value2_buf_ = (detents_buf__value2_buf__u as string | number | Resource) - } - else { - throw new Error("One of the branches for detents_buf__value2_buf_ has to be chosen through deserialisation.") - } - detents_buf__value2_buf = (detents_buf__value2_buf_ as SheetSize | Length) + else { + throw new Error("One of the branches for size_buf__value1_buf has to be chosen through deserialisation.") } - const detents_buf__value2 : undefined | SheetSize | Length = detents_buf__value2_buf - detents_buf = ([detents_buf__value0, detents_buf__value1, detents_buf__value2] as [ SheetSize | Length, SheetSize | Length | undefined, SheetSize | Length | undefined ]) + const size_buf__value1 : Dimension = (size_buf__value1_buf as string | number | Resource) + size_buf = ([size_buf__value0, size_buf__value1] as [ Dimension, Dimension ]) } - const detents_result : [ SheetSize | Length, SheetSize | Length | undefined, SheetSize | Length | undefined ] | undefined = detents_buf - const blurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let blurStyle_buf : BlurStyle | undefined - if ((RuntimeType.UNDEFINED) != (blurStyle_buf_runtimeType)) + const size_result : [ Dimension, Dimension ] | undefined = size_buf + const verticalAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let verticalAlign_buf : ImageSpanAlignment | undefined + if ((RuntimeType.UNDEFINED) != (verticalAlign_buf_runtimeType)) { - blurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) + verticalAlign_buf = TypeChecker.ImageSpanAlignment_FromNumeric(valueDeserializer.readInt32()) } - const blurStyle_result : BlurStyle | undefined = blurStyle_buf - const showClose_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let showClose_buf : boolean | Resource | undefined - if ((RuntimeType.UNDEFINED) != (showClose_buf_runtimeType)) + const verticalAlign_result : ImageSpanAlignment | undefined = verticalAlign_buf + const objectFit_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let objectFit_buf : ImageFit | undefined + if ((RuntimeType.UNDEFINED) != (objectFit_buf_runtimeType)) { - const showClose_buf__selector : int32 = valueDeserializer.readInt8() - let showClose_buf_ : boolean | Resource | undefined - if (showClose_buf__selector == 0) { - showClose_buf_ = valueDeserializer.readBoolean() + objectFit_buf = TypeChecker.ImageFit_FromNumeric(valueDeserializer.readInt32()) + } + const objectFit_result : ImageFit | undefined = objectFit_buf + const layoutStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let layoutStyle_buf : RichEditorLayoutStyle | undefined + if ((RuntimeType.UNDEFINED) != (layoutStyle_buf_runtimeType)) + { + layoutStyle_buf = valueDeserializer.readRichEditorLayoutStyle() + } + const layoutStyle_result : RichEditorLayoutStyle | undefined = layoutStyle_buf + let value : RichEditorImageSpanStyle = ({size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result} as RichEditorImageSpanStyle) + return value + } + public readRichEditorImageSpanStyleResult(): RichEditorImageSpanStyleResult { + let valueDeserializer : Deserializer = this + const size_buf_value0 : number = (valueDeserializer.readNumber() as number) + const size_buf_value1 : number = (valueDeserializer.readNumber() as number) + const size_result : [ number, number ] = ([size_buf_value0, size_buf_value1] as [ number, number ]) + const verticalAlign_result : ImageSpanAlignment = TypeChecker.ImageSpanAlignment_FromNumeric(valueDeserializer.readInt32()) + const objectFit_result : ImageFit = TypeChecker.ImageFit_FromNumeric(valueDeserializer.readInt32()) + const layoutStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let layoutStyle_buf : RichEditorLayoutStyle | undefined + if ((RuntimeType.UNDEFINED) != (layoutStyle_buf_runtimeType)) + { + layoutStyle_buf = valueDeserializer.readRichEditorLayoutStyle() + } + const layoutStyle_result : RichEditorLayoutStyle | undefined = layoutStyle_buf + let value : RichEditorImageSpanStyleResult = ({size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result} as RichEditorImageSpanStyleResult) + return value + } + public readRichEditorParagraphResult(): RichEditorParagraphResult { + let valueDeserializer : Deserializer = this + const style_result : RichEditorParagraphStyle = valueDeserializer.readRichEditorParagraphStyle() + const range_buf_value0 : number = (valueDeserializer.readNumber() as number) + const range_buf_value1 : number = (valueDeserializer.readNumber() as number) + const range_result : [ number, number ] = ([range_buf_value0, range_buf_value1] as [ number, number ]) + let value : RichEditorParagraphResult = ({style: style_result, range: range_result} as RichEditorParagraphResult) + return value + } + public readRichEditorTextStyle(): RichEditorTextStyle { + let valueDeserializer : Deserializer = this + const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontColor_buf : ResourceColor | undefined + if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) + { + const fontColor_buf__selector : int32 = valueDeserializer.readInt8() + let fontColor_buf_ : Color | number | string | Resource | undefined + if (fontColor_buf__selector == 0) { + fontColor_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) } - else if (showClose_buf__selector == 1) { - showClose_buf_ = valueDeserializer.readResource() + else if (fontColor_buf__selector == 1) { + fontColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontColor_buf__selector == 2) { + fontColor_buf_ = (valueDeserializer.readString() as string) + } + else if (fontColor_buf__selector == 3) { + fontColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for showClose_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontColor_buf_ has to be chosen through deserialisation.") } - showClose_buf = (showClose_buf_ as boolean | Resource) - } - const showClose_result : boolean | Resource | undefined = showClose_buf - const preferType_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let preferType_buf : SheetType | undefined - if ((RuntimeType.UNDEFINED) != (preferType_buf_runtimeType)) - { - preferType_buf = TypeChecker.SheetType_FromNumeric(valueDeserializer.readInt32()) + fontColor_buf = (fontColor_buf_ as Color | number | string | Resource) } - const preferType_result : SheetType | undefined = preferType_buf - const title_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let title_buf : SheetTitleOptions | CustomBuilder | undefined - if ((RuntimeType.UNDEFINED) != (title_buf_runtimeType)) + const fontColor_result : ResourceColor | undefined = fontColor_buf + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf : string | number | Resource | undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) { - const title_buf__selector : int32 = valueDeserializer.readInt8() - let title_buf_ : SheetTitleOptions | CustomBuilder | undefined - if (title_buf__selector == 0) { - title_buf_ = valueDeserializer.readSheetTitleOptions() + const fontSize_buf__selector : int32 = valueDeserializer.readInt8() + let fontSize_buf_ : string | number | Resource | undefined + if (fontSize_buf__selector == 0) { + fontSize_buf_ = (valueDeserializer.readString() as string) } - else if (title_buf__selector == 1) { - title_buf_ = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + else if (fontSize_buf__selector == 1) { + fontSize_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontSize_buf__selector == 2) { + fontSize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for title_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") } - title_buf = (title_buf_ as SheetTitleOptions | CustomBuilder) - } - const title_result : SheetTitleOptions | CustomBuilder | undefined = title_buf - const shouldDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let shouldDismiss_buf : ((sheetDismiss: SheetDismiss) => void) | undefined - if ((RuntimeType.UNDEFINED) != (shouldDismiss_buf_runtimeType)) - { - shouldDismiss_buf = valueDeserializer.readCallback_SheetDismiss_Void() - } - const shouldDismiss_result : ((sheetDismiss: SheetDismiss) => void) | undefined = shouldDismiss_buf - const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillDismiss_buf : ((parameter: DismissSheetAction) => void) | undefined - if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) - { - onWillDismiss_buf = valueDeserializer.readCallback_DismissSheetAction_Void() - } - const onWillDismiss_result : ((parameter: DismissSheetAction) => void) | undefined = onWillDismiss_buf - const onWillSpringBackWhenDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillSpringBackWhenDismiss_buf : ((parameter: SpringBackAction) => void) | undefined - if ((RuntimeType.UNDEFINED) != (onWillSpringBackWhenDismiss_buf_runtimeType)) - { - onWillSpringBackWhenDismiss_buf = valueDeserializer.readCallback_SpringBackAction_Void() + fontSize_buf = (fontSize_buf_ as string | number | Resource) } - const onWillSpringBackWhenDismiss_result : ((parameter: SpringBackAction) => void) | undefined = onWillSpringBackWhenDismiss_buf - const enableOutsideInteractive_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableOutsideInteractive_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (enableOutsideInteractive_buf_runtimeType)) + const fontSize_result : Length | number | undefined = fontSize_buf + const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontStyle_buf : FontStyle | undefined + if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) { - enableOutsideInteractive_buf = valueDeserializer.readBoolean() + fontStyle_buf = TypeChecker.FontStyle_FromNumeric(valueDeserializer.readInt32()) } - const enableOutsideInteractive_result : boolean | undefined = enableOutsideInteractive_buf - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf : Dimension | undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const fontStyle_result : FontStyle | undefined = fontStyle_buf + const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontWeight_buf : number | FontWeight | string | undefined + if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) { - const width_buf__selector : int32 = valueDeserializer.readInt8() - let width_buf_ : string | number | Resource | undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readString() as string) + const fontWeight_buf__selector : int32 = valueDeserializer.readInt8() + let fontWeight_buf_ : number | FontWeight | string | undefined + if (fontWeight_buf__selector == 0) { + fontWeight_buf_ = (valueDeserializer.readNumber() as number) } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readNumber() as number) + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_ = TypeChecker.FontWeight_FromNumeric(valueDeserializer.readInt32()) } - else if (width_buf__selector == 2) { - width_buf_ = valueDeserializer.readResource() + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") } - width_buf = (width_buf_ as string | number | Resource) + fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) } - const width_result : Dimension | undefined = width_buf - const borderWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf : Dimension | EdgeWidths | LocalizedEdgeWidths | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf_runtimeType)) + const fontWeight_result : number | FontWeight | string | undefined = fontWeight_buf + const fontFamily_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFamily_buf : ResourceStr | undefined + if ((RuntimeType.UNDEFINED) != (fontFamily_buf_runtimeType)) { - const borderWidth_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf_ : Dimension | EdgeWidths | LocalizedEdgeWidths | undefined - if (borderWidth_buf__selector == 0) { - const borderWidth_buf__u_selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u : string | number | Resource | undefined - if (borderWidth_buf__u_selector == 0) { - borderWidth_buf__u = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_selector == 1) { - borderWidth_buf__u = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_selector == 2) { - borderWidth_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u has to be chosen through deserialisation.") - } - borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) - } - else if (borderWidth_buf__selector == 1) { - const borderWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_top_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const borderWidth_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_top_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_top_buf = (borderWidth_buf__u_top_buf_ as string | number | Resource) - } - const borderWidth_buf__u_top : undefined | Length = borderWidth_buf__u_top_buf - const borderWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_right_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const borderWidth_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_right_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_right_buf = (borderWidth_buf__u_right_buf_ as string | number | Resource) - } - const borderWidth_buf__u_right : undefined | Length = borderWidth_buf__u_right_buf - const borderWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_bottom_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const borderWidth_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_bottom_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_bottom_buf = (borderWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const borderWidth_buf__u_bottom : undefined | Length = borderWidth_buf__u_bottom_buf - const borderWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_left_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const borderWidth_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let borderWidth_buf__u_left_buf_ : string | number | Resource | undefined - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_left_buf = (borderWidth_buf__u_left_buf_ as string | number | Resource) - } - const borderWidth_buf__u_left : undefined | Length = borderWidth_buf__u_left_buf - borderWidth_buf_ = ({top: borderWidth_buf__u_top, right: borderWidth_buf__u_right, bottom: borderWidth_buf__u_bottom, left: borderWidth_buf__u_left} as EdgeWidths) + const fontFamily_buf__selector : int32 = valueDeserializer.readInt8() + let fontFamily_buf_ : string | Resource | undefined + if (fontFamily_buf__selector == 0) { + fontFamily_buf_ = (valueDeserializer.readString() as string) } - else if (borderWidth_buf__selector == 2) { - borderWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() + else if (fontFamily_buf__selector == 1) { + fontFamily_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontFamily_buf_ has to be chosen through deserialisation.") } - borderWidth_buf = (borderWidth_buf_ as Dimension | EdgeWidths | LocalizedEdgeWidths) + fontFamily_buf = (fontFamily_buf_ as string | Resource) } - const borderWidth_result : Dimension | EdgeWidths | LocalizedEdgeWidths | undefined = borderWidth_buf - const borderColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf : ResourceColor | EdgeColors | LocalizedEdgeColors | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf_runtimeType)) + const fontFamily_result : ResourceStr | undefined = fontFamily_buf + const decoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let decoration_buf : DecorationStyleInterface | undefined + if ((RuntimeType.UNDEFINED) != (decoration_buf_runtimeType)) { - const borderColor_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf_ : ResourceColor | EdgeColors | LocalizedEdgeColors | undefined - if (borderColor_buf__selector == 0) { - const borderColor_buf__u_selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u : Color | number | string | Resource | undefined - if (borderColor_buf__u_selector == 0) { - borderColor_buf__u = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_selector == 1) { - borderColor_buf__u = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_selector == 2) { - borderColor_buf__u = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_selector == 3) { - borderColor_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u has to be chosen through deserialisation.") - } - borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) + decoration_buf = valueDeserializer.readDecorationStyleInterface() + } + const decoration_result : DecorationStyleInterface | undefined = decoration_buf + const textShadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textShadow_buf : ShadowOptions | Array | undefined + if ((RuntimeType.UNDEFINED) != (textShadow_buf_runtimeType)) + { + const textShadow_buf__selector : int32 = valueDeserializer.readInt8() + let textShadow_buf_ : ShadowOptions | Array | undefined + if (textShadow_buf__selector == 0) { + textShadow_buf_ = valueDeserializer.readShadowOptions() } - else if (borderColor_buf__selector == 1) { - const borderColor_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_top_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const borderColor_buf__u_top_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_top_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_top_buf = (borderColor_buf__u_top_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_top : undefined | ResourceColor = borderColor_buf__u_top_buf - const borderColor_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_right_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const borderColor_buf__u_right_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_right_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_right_buf = (borderColor_buf__u_right_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_right : undefined | ResourceColor = borderColor_buf__u_right_buf - const borderColor_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_bottom_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const borderColor_buf__u_bottom_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_bottom_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_bottom_buf = (borderColor_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_bottom : undefined | ResourceColor = borderColor_buf__u_bottom_buf - const borderColor_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_left_buf : ResourceColor | undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const borderColor_buf__u_left_buf__selector : int32 = valueDeserializer.readInt8() - let borderColor_buf__u_left_buf_ : Color | number | string | Resource | undefined - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_ = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_left_buf = (borderColor_buf__u_left_buf_ as Color | number | string | Resource) + else if (textShadow_buf__selector == 1) { + const textShadow_buf__u_length : int32 = valueDeserializer.readInt32() + let textShadow_buf__u : Array = new Array(textShadow_buf__u_length) + for (let textShadow_buf__u_i = 0; textShadow_buf__u_i < textShadow_buf__u_length; textShadow_buf__u_i++) { + textShadow_buf__u[textShadow_buf__u_i] = valueDeserializer.readShadowOptions() } - const borderColor_buf__u_left : undefined | ResourceColor = borderColor_buf__u_left_buf - borderColor_buf_ = ({top: borderColor_buf__u_top, right: borderColor_buf__u_right, bottom: borderColor_buf__u_bottom, left: borderColor_buf__u_left} as EdgeColors) + textShadow_buf_ = textShadow_buf__u } - else if (borderColor_buf__selector == 2) { - borderColor_buf_ = valueDeserializer.readLocalizedEdgeColors() + else { + throw new Error("One of the branches for textShadow_buf_ has to be chosen through deserialisation.") + } + textShadow_buf = (textShadow_buf_ as ShadowOptions | Array) + } + const textShadow_result : ShadowOptions | Array | undefined = textShadow_buf + const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let letterSpacing_buf : number | string | undefined + if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) + { + const letterSpacing_buf__selector : int32 = valueDeserializer.readInt8() + let letterSpacing_buf_ : number | string | undefined + if (letterSpacing_buf__selector == 0) { + letterSpacing_buf_ = (valueDeserializer.readNumber() as number) + } + else if (letterSpacing_buf__selector == 1) { + letterSpacing_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for borderColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for letterSpacing_buf_ has to be chosen through deserialisation.") } - borderColor_buf = (borderColor_buf_ as ResourceColor | EdgeColors | LocalizedEdgeColors) + letterSpacing_buf = (letterSpacing_buf_ as number | string) } - const borderColor_result : ResourceColor | EdgeColors | LocalizedEdgeColors | undefined = borderColor_buf - const borderStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderStyle_buf : BorderStyle | EdgeStyles | undefined - if ((RuntimeType.UNDEFINED) != (borderStyle_buf_runtimeType)) + const letterSpacing_result : number | string | undefined = letterSpacing_buf + const lineHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lineHeight_buf : number | string | Resource | undefined + if ((RuntimeType.UNDEFINED) != (lineHeight_buf_runtimeType)) { - const borderStyle_buf__selector : int32 = valueDeserializer.readInt8() - let borderStyle_buf_ : BorderStyle | EdgeStyles | undefined - if (borderStyle_buf__selector == 0) { - borderStyle_buf_ = TypeChecker.BorderStyle_FromNumeric(valueDeserializer.readInt32()) + const lineHeight_buf__selector : int32 = valueDeserializer.readInt8() + let lineHeight_buf_ : number | string | Resource | undefined + if (lineHeight_buf__selector == 0) { + lineHeight_buf_ = (valueDeserializer.readNumber() as number) } - else if (borderStyle_buf__selector == 1) { - borderStyle_buf_ = valueDeserializer.readEdgeStyles() + else if (lineHeight_buf__selector == 1) { + lineHeight_buf_ = (valueDeserializer.readString() as string) + } + else if (lineHeight_buf__selector == 2) { + lineHeight_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderStyle_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for lineHeight_buf_ has to be chosen through deserialisation.") } - borderStyle_buf = (borderStyle_buf_ as BorderStyle | EdgeStyles) + lineHeight_buf = (lineHeight_buf_ as number | string | Resource) } - const borderStyle_result : BorderStyle | EdgeStyles | undefined = borderStyle_buf - const shadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let shadow_buf : ShadowOptions | ShadowStyle | undefined - if ((RuntimeType.UNDEFINED) != (shadow_buf_runtimeType)) + const lineHeight_result : number | string | Resource | undefined = lineHeight_buf + const halfLeading_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let halfLeading_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (halfLeading_buf_runtimeType)) { - const shadow_buf__selector : int32 = valueDeserializer.readInt8() - let shadow_buf_ : ShadowOptions | ShadowStyle | undefined - if (shadow_buf__selector == 0) { - shadow_buf_ = valueDeserializer.readShadowOptions() - } - else if (shadow_buf__selector == 1) { - shadow_buf_ = TypeChecker.ShadowStyle_FromNumeric(valueDeserializer.readInt32()) - } - else { - throw new Error("One of the branches for shadow_buf_ has to be chosen through deserialisation.") + halfLeading_buf = valueDeserializer.readBoolean() + } + const halfLeading_result : boolean | undefined = halfLeading_buf + const fontFeature_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFeature_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (fontFeature_buf_runtimeType)) + { + fontFeature_buf = (valueDeserializer.readString() as string) + } + const fontFeature_result : string | undefined = fontFeature_buf + const textBackgroundStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textBackgroundStyle_buf : TextBackgroundStyle | undefined + if ((RuntimeType.UNDEFINED) != (textBackgroundStyle_buf_runtimeType)) + { + textBackgroundStyle_buf = valueDeserializer.readTextBackgroundStyle() + } + const textBackgroundStyle_result : TextBackgroundStyle | undefined = textBackgroundStyle_buf + let value : RichEditorTextStyle = ({fontColor: fontColor_result, fontSize: fontSize_result, fontStyle: fontStyle_result, fontWeight: fontWeight_result, fontFamily: fontFamily_result, decoration: decoration_result, textShadow: textShadow_result, letterSpacing: letterSpacing_result, lineHeight: lineHeight_result, halfLeading: halfLeading_result, fontFeature: fontFeature_result, textBackgroundStyle: textBackgroundStyle_result} as RichEditorTextStyle) + return value + } + public readRichEditorTextStyleResult(): RichEditorTextStyleResult { + let valueDeserializer : Deserializer = this + const fontColor_buf_selector : int32 = valueDeserializer.readInt8() + let fontColor_buf : Color | number | string | Resource | undefined + if (fontColor_buf_selector == 0) { + fontColor_buf = TypeChecker.Color_FromNumeric(valueDeserializer.readInt32()) + } + else if (fontColor_buf_selector == 1) { + fontColor_buf = (valueDeserializer.readNumber() as number) + } + else if (fontColor_buf_selector == 2) { + fontColor_buf = (valueDeserializer.readString() as string) + } + else if (fontColor_buf_selector == 3) { + fontColor_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontColor_buf has to be chosen through deserialisation.") + } + const fontColor_result : ResourceColor = (fontColor_buf as Color | number | string | Resource) + const fontSize_result : number = (valueDeserializer.readNumber() as number) + const fontStyle_result : FontStyle = TypeChecker.FontStyle_FromNumeric(valueDeserializer.readInt32()) + const fontWeight_result : number = (valueDeserializer.readNumber() as number) + const fontFamily_result : string = (valueDeserializer.readString() as string) + const decoration_result : DecorationStyleResult = valueDeserializer.readDecorationStyleResult() + const textShadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textShadow_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (textShadow_buf_runtimeType)) + { + const textShadow_buf__length : int32 = valueDeserializer.readInt32() + let textShadow_buf_ : Array = new Array(textShadow_buf__length) + for (let textShadow_buf__i = 0; textShadow_buf__i < textShadow_buf__length; textShadow_buf__i++) { + textShadow_buf_[textShadow_buf__i] = valueDeserializer.readShadowOptions() } - shadow_buf = (shadow_buf_ as ShadowOptions | ShadowStyle) + textShadow_buf = textShadow_buf_ } - const shadow_result : ShadowOptions | ShadowStyle | undefined = shadow_buf - const onHeightDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onHeightDidChange_buf : ((index: number) => void) | undefined - if ((RuntimeType.UNDEFINED) != (onHeightDidChange_buf_runtimeType)) + const textShadow_result : Array | undefined = textShadow_buf + const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let letterSpacing_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) { - onHeightDidChange_buf = valueDeserializer.readCallback_Number_Void() + letterSpacing_buf = (valueDeserializer.readNumber() as number) } - const onHeightDidChange_result : ((index: number) => void) | undefined = onHeightDidChange_buf - const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let mode_buf : SheetMode | undefined - if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) + const letterSpacing_result : number | undefined = letterSpacing_buf + const lineHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lineHeight_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (lineHeight_buf_runtimeType)) { - mode_buf = TypeChecker.SheetMode_FromNumeric(valueDeserializer.readInt32()) + lineHeight_buf = (valueDeserializer.readNumber() as number) } - const mode_result : SheetMode | undefined = mode_buf - const scrollSizeMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scrollSizeMode_buf : ScrollSizeMode | undefined - if ((RuntimeType.UNDEFINED) != (scrollSizeMode_buf_runtimeType)) + const lineHeight_result : number | undefined = lineHeight_buf + const halfLeading_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let halfLeading_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (halfLeading_buf_runtimeType)) { - scrollSizeMode_buf = TypeChecker.ScrollSizeMode_FromNumeric(valueDeserializer.readInt32()) + halfLeading_buf = valueDeserializer.readBoolean() } - const scrollSizeMode_result : ScrollSizeMode | undefined = scrollSizeMode_buf - const onDetentsDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onDetentsDidChange_buf : ((index: number) => void) | undefined - if ((RuntimeType.UNDEFINED) != (onDetentsDidChange_buf_runtimeType)) + const halfLeading_result : boolean | undefined = halfLeading_buf + const fontFeature_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFeature_buf : string | undefined + if ((RuntimeType.UNDEFINED) != (fontFeature_buf_runtimeType)) { - onDetentsDidChange_buf = valueDeserializer.readCallback_Number_Void() + fontFeature_buf = (valueDeserializer.readString() as string) } - const onDetentsDidChange_result : ((index: number) => void) | undefined = onDetentsDidChange_buf - const onWidthDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWidthDidChange_buf : ((index: number) => void) | undefined - if ((RuntimeType.UNDEFINED) != (onWidthDidChange_buf_runtimeType)) + const fontFeature_result : string | undefined = fontFeature_buf + const textBackgroundStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textBackgroundStyle_buf : TextBackgroundStyle | undefined + if ((RuntimeType.UNDEFINED) != (textBackgroundStyle_buf_runtimeType)) { - onWidthDidChange_buf = valueDeserializer.readCallback_Number_Void() + textBackgroundStyle_buf = valueDeserializer.readTextBackgroundStyle() } - const onWidthDidChange_result : ((index: number) => void) | undefined = onWidthDidChange_buf - const onTypeDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onTypeDidChange_buf : ((parameter: SheetType) => void) | undefined - if ((RuntimeType.UNDEFINED) != (onTypeDidChange_buf_runtimeType)) + const textBackgroundStyle_result : TextBackgroundStyle | undefined = textBackgroundStyle_buf + let value : RichEditorTextStyleResult = ({fontColor: fontColor_result, fontSize: fontSize_result, fontStyle: fontStyle_result, fontWeight: fontWeight_result, fontFamily: fontFamily_result, decoration: decoration_result, textShadow: textShadow_result, letterSpacing: letterSpacing_result, lineHeight: lineHeight_result, halfLeading: halfLeading_result, fontFeature: fontFeature_result, textBackgroundStyle: textBackgroundStyle_result} as RichEditorTextStyleResult) + return value + } + public readRichEditorUpdateImageSpanStyleOptions(): RichEditorUpdateImageSpanStyleOptions { + let valueDeserializer : Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - onTypeDidChange_buf = valueDeserializer.readCallback_SheetType_Void() + start_buf = (valueDeserializer.readNumber() as number) } - const onTypeDidChange_result : ((parameter: SheetType) => void) | undefined = onTypeDidChange_buf - const uiContext_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let uiContext_buf : UIContext | undefined - if ((RuntimeType.UNDEFINED) != (uiContext_buf_runtimeType)) + const start_result : number | undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - uiContext_buf = (valueDeserializer.readUIContext() as UIContext) + end_buf = (valueDeserializer.readNumber() as number) } - const uiContext_result : UIContext | undefined = uiContext_buf - const keyboardAvoidMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let keyboardAvoidMode_buf : SheetKeyboardAvoidMode | undefined - if ((RuntimeType.UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) + const end_result : number | undefined = end_buf + const imageStyle_result : RichEditorImageSpanStyle = valueDeserializer.readRichEditorImageSpanStyle() + let value : RichEditorUpdateImageSpanStyleOptions = ({start: start_result, end: end_result, imageStyle: imageStyle_result} as RichEditorUpdateImageSpanStyleOptions) + return value + } + public readRichEditorUpdateTextSpanStyleOptions(): RichEditorUpdateTextSpanStyleOptions { + let valueDeserializer : Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - keyboardAvoidMode_buf = TypeChecker.SheetKeyboardAvoidMode_FromNumeric(valueDeserializer.readInt32()) + start_buf = (valueDeserializer.readNumber() as number) } - const keyboardAvoidMode_result : SheetKeyboardAvoidMode | undefined = keyboardAvoidMode_buf - let value : SheetOptions = ({backgroundColor: backgroundColor_result, onAppear: onAppear_result, onDisappear: onDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, height: height_result, dragBar: dragBar_result, maskColor: maskColor_result, detents: detents_result, blurStyle: blurStyle_result, showClose: showClose_result, preferType: preferType_result, title: title_result, shouldDismiss: shouldDismiss_result, onWillDismiss: onWillDismiss_result, onWillSpringBackWhenDismiss: onWillSpringBackWhenDismiss_result, enableOutsideInteractive: enableOutsideInteractive_result, width: width_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, onHeightDidChange: onHeightDidChange_result, mode: mode_result, scrollSizeMode: scrollSizeMode_result, onDetentsDidChange: onDetentsDidChange_result, onWidthDidChange: onWidthDidChange_result, onTypeDidChange: onTypeDidChange_result, uiContext: uiContext_result, keyboardAvoidMode: keyboardAvoidMode_result} as SheetOptions) + const start_result : number | undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = (valueDeserializer.readNumber() as number) + } + const end_result : number | undefined = end_buf + const textStyle_result : RichEditorTextStyle = valueDeserializer.readRichEditorTextStyle() + const urlStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let urlStyle_buf : RichEditorUrlStyle | undefined + if ((RuntimeType.UNDEFINED) != (urlStyle_buf_runtimeType)) + { + urlStyle_buf = valueDeserializer.readRichEditorUrlStyle() + } + const urlStyle_result : RichEditorUrlStyle | undefined = urlStyle_buf + let value : RichEditorUpdateTextSpanStyleOptions = ({start: start_result, end: end_result, textStyle: textStyle_result, urlStyle: urlStyle_result} as RichEditorUpdateTextSpanStyleOptions) return value } - readStyleOptions(): StyleOptions { + public readStyleOptions(): StyleOptions { let valueDeserializer : Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf : number | undefined @@ -29585,10 +29585,10 @@ export class Deserializer extends DeserializerBase { let value : StyleOptions = ({start: start_result, length: length_result, styledKey: styledKey_result, styledValue: styledValue_result} as StyleOptions) return value } - readSubTabBarStyle(): SubTabBarStyle { + public readSubTabBarStyle(): SubTabBarStyle { throw new Error("Can not deserialize builder class") } - readTextPickerDialogOptions(): TextPickerDialogOptions { + public readTextPickerDialogOptions(): TextPickerDialogOptions { let valueDeserializer : Deserializer = this const range_buf_selector : int32 = valueDeserializer.readInt8() let range_buf : Array | Array> | Resource | Array | Array | undefined @@ -29682,6 +29682,18 @@ export class Deserializer extends DeserializerBase { selected_buf = (selected_buf_ as number | Array) } const selected_result : number | Array | undefined = selected_buf + const columnWidths_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let columnWidths_buf : Array | undefined + if ((RuntimeType.UNDEFINED) != (columnWidths_buf_runtimeType)) + { + const columnWidths_buf__length : int32 = valueDeserializer.readInt32() + let columnWidths_buf_ : Array = new Array(columnWidths_buf__length) + for (let columnWidths_buf__i = 0; columnWidths_buf__i < columnWidths_buf__length; columnWidths_buf__i++) { + columnWidths_buf_[columnWidths_buf__i] = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + columnWidths_buf = columnWidths_buf_ + } + const columnWidths_result : Array | undefined = columnWidths_buf const defaultPickerItemHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) let defaultPickerItemHeight_buf : number | string | undefined if ((RuntimeType.UNDEFINED) != (defaultPickerItemHeight_buf_runtimeType)) @@ -29742,6 +29754,20 @@ export class Deserializer extends DeserializerBase { selectedTextStyle_buf = valueDeserializer.readPickerTextStyle() } const selectedTextStyle_result : PickerTextStyle | undefined = selectedTextStyle_buf + const disableTextStyleAnimation_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disableTextStyleAnimation_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (disableTextStyleAnimation_buf_runtimeType)) + { + disableTextStyleAnimation_buf = valueDeserializer.readBoolean() + } + const disableTextStyleAnimation_result : boolean | undefined = disableTextStyleAnimation_buf + const defaultTextStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let defaultTextStyle_buf : TextPickerTextStyle | undefined + if ((RuntimeType.UNDEFINED) != (defaultTextStyle_buf_runtimeType)) + { + defaultTextStyle_buf = valueDeserializer.readTextPickerTextStyle() + } + const defaultTextStyle_result : TextPickerTextStyle | undefined = defaultTextStyle_buf const onAccept_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onAccept_buf : ((value: TextPickerResult) => void) | undefined if ((RuntimeType.UNDEFINED) != (onAccept_buf_runtimeType)) @@ -29763,6 +29789,20 @@ export class Deserializer extends DeserializerBase { onChange_buf = valueDeserializer.readCallback_TextPickerResult_Void() } const onChange_result : ((value: TextPickerResult) => void) | undefined = onChange_buf + const onScrollStop_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onScrollStop_buf : ((value: TextPickerResult) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onScrollStop_buf_runtimeType)) + { + onScrollStop_buf = valueDeserializer.readCallback_TextPickerResult_Void() + } + const onScrollStop_result : ((value: TextPickerResult) => void) | undefined = onScrollStop_buf + const onEnterSelectedArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onEnterSelectedArea_buf : ((value: TextPickerResult) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onEnterSelectedArea_buf_runtimeType)) + { + onEnterSelectedArea_buf = valueDeserializer.readCallback_TextPickerResult_Void() + } + const onEnterSelectedArea_result : ((value: TextPickerResult) => void) | undefined = onEnterSelectedArea_buf const maskRect_buf_runtimeType = (valueDeserializer.readInt8() as int32) let maskRect_buf : Rectangle | undefined if ((RuntimeType.UNDEFINED) != (maskRect_buf_runtimeType)) @@ -29781,37 +29821,7 @@ export class Deserializer extends DeserializerBase { let offset_buf : Offset | undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dx_buf : string | number | Resource | undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx : Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dy_buf : string | number | Resource | undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy : Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result : Offset | undefined = offset_buf const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -29845,6 +29855,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onDidAppear_buf : (() => void) | undefined if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) @@ -29905,10 +29929,17 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = TypeChecker.HoverModeAreaType_FromNumeric(valueDeserializer.readInt32()) } const hoverModeArea_result : HoverModeAreaType | undefined = hoverModeArea_buf - let value : TextPickerDialogOptions = ({range: range_result, value: value_result, selected: selected_result, defaultPickerItemHeight: defaultPickerItemHeight_result, canLoop: canLoop_result, disappearTextStyle: disappearTextStyle_result, textStyle: textStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, selectedTextStyle: selectedTextStyle_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, maskRect: maskRect_result, alignment: alignment_result, offset: offset_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result} as TextPickerDialogOptions) + const enableHapticFeedback_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableHapticFeedback_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableHapticFeedback_buf_runtimeType)) + { + enableHapticFeedback_buf = valueDeserializer.readBoolean() + } + const enableHapticFeedback_result : boolean | undefined = enableHapticFeedback_buf + let value : TextPickerDialogOptions = ({range: range_result, value: value_result, selected: selected_result, columnWidths: columnWidths_result, defaultPickerItemHeight: defaultPickerItemHeight_result, canLoop: canLoop_result, disappearTextStyle: disappearTextStyle_result, textStyle: textStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, selectedTextStyle: selectedTextStyle_result, disableTextStyleAnimation: disableTextStyleAnimation_result, defaultTextStyle: defaultTextStyle_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, onScrollStop: onScrollStop_result, onEnterSelectedArea: onEnterSelectedArea_result, maskRect: maskRect_result, alignment: alignment_result, offset: offset_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, enableHapticFeedback: enableHapticFeedback_result} as TextPickerDialogOptions) return value } - readTimePickerDialogOptions(): TimePickerDialogOptions { + public readTimePickerDialogOptions(): TimePickerDialogOptions { let valueDeserializer : Deserializer = this const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) let selected_buf : Date | undefined @@ -29924,6 +29955,20 @@ export class Deserializer extends DeserializerBase { format_buf = TypeChecker.TimePickerFormat_FromNumeric(valueDeserializer.readInt32()) } const format_result : TimePickerFormat | undefined = format_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf : Date | undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = new Date(valueDeserializer.readInt64()) + } + const start_result : Date | undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf : Date | undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = new Date(valueDeserializer.readInt64()) + } + const end_result : Date | undefined = end_buf const useMilitaryTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) let useMilitaryTime_buf : boolean | undefined if ((RuntimeType.UNDEFINED) != (useMilitaryTime_buf_runtimeType)) @@ -29984,37 +30029,7 @@ export class Deserializer extends DeserializerBase { let offset_buf : Offset | undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dx_buf : string | number | Resource | undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx : Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector : int32 = valueDeserializer.readInt8() - let offset_buf__dy_buf : string | number | Resource | undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy : Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result : Offset | undefined = offset_buf const onAccept_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -30038,6 +30053,13 @@ export class Deserializer extends DeserializerBase { onChange_buf = valueDeserializer.readCallback_TimePickerResult_Void() } const onChange_result : ((value: TimePickerResult) => void) | undefined = onChange_buf + const onEnterSelectedArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onEnterSelectedArea_buf : ((value: TimePickerResult) => void) | undefined + if ((RuntimeType.UNDEFINED) != (onEnterSelectedArea_buf_runtimeType)) + { + onEnterSelectedArea_buf = valueDeserializer.readCallback_TimePickerResult_Void() + } + const onEnterSelectedArea_result : ((value: TimePickerResult) => void) | undefined = onEnterSelectedArea_buf const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) let backgroundColor_buf : ResourceColor | undefined if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) @@ -30069,6 +30091,27 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = TypeChecker.BlurStyle_FromNumeric(valueDeserializer.readInt32()) } const backgroundBlurStyle_result : BlurStyle | undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf : BackgroundBlurStyleOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result : BackgroundBlurStyleOptions | undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf : BackgroundEffectOptions | undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result : BackgroundEffectOptions | undefined = backgroundEffect_buf + const enableCascade_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableCascade_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableCascade_buf_runtimeType)) + { + enableCascade_buf = valueDeserializer.readBoolean() + } + const enableCascade_result : boolean | undefined = enableCascade_buf const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onDidAppear_buf : (() => void) | undefined if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) @@ -30136,29 +30179,17 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = TypeChecker.HoverModeAreaType_FromNumeric(valueDeserializer.readInt32()) } const hoverModeArea_result : HoverModeAreaType | undefined = hoverModeArea_buf - let value : TimePickerDialogOptions = ({selected: selected_result, format: format_result, useMilitaryTime: useMilitaryTime_result, disappearTextStyle: disappearTextStyle_result, textStyle: textStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, selectedTextStyle: selectedTextStyle_result, maskRect: maskRect_result, alignment: alignment_result, offset: offset_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, dateTimeOptions: dateTimeOptions_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result} as TimePickerDialogOptions) - return value - } - readWithThemeOptions(): WithThemeOptions { - let valueDeserializer : Deserializer = this - const theme_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let theme_buf : CustomTheme | undefined - if ((RuntimeType.UNDEFINED) != (theme_buf_runtimeType)) + const enableHapticFeedback_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableHapticFeedback_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (enableHapticFeedback_buf_runtimeType)) { - theme_buf = valueDeserializer.readCustomTheme() - } - const theme_result : CustomTheme | undefined = theme_buf - const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colorMode_buf : ThemeColorMode | undefined - if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) - { - colorMode_buf = TypeChecker.ThemeColorMode_FromNumeric(valueDeserializer.readInt32()) + enableHapticFeedback_buf = valueDeserializer.readBoolean() } - const colorMode_result : ThemeColorMode | undefined = colorMode_buf - let value : WithThemeOptions = ({theme: theme_result, colorMode: colorMode_result} as WithThemeOptions) + const enableHapticFeedback_result : boolean | undefined = enableHapticFeedback_buf + let value : TimePickerDialogOptions = ({selected: selected_result, format: format_result, start: start_result, end: end_result, useMilitaryTime: useMilitaryTime_result, disappearTextStyle: disappearTextStyle_result, textStyle: textStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, selectedTextStyle: selectedTextStyle_result, maskRect: maskRect_result, alignment: alignment_result, offset: offset_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, onEnterSelectedArea: onEnterSelectedArea_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, enableCascade: enableCascade_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, dateTimeOptions: dateTimeOptions_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, enableHapticFeedback: enableHapticFeedback_result} as TimePickerDialogOptions) return value } - readRichEditorImageSpanOptions(): RichEditorImageSpanOptions { + public readRichEditorImageSpanOptions(): RichEditorImageSpanOptions { let valueDeserializer : Deserializer = this const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) let offset_buf : number | undefined @@ -30181,10 +30212,17 @@ export class Deserializer extends DeserializerBase { gesture_buf = valueDeserializer.readRichEditorGesture() } const gesture_result : RichEditorGesture | undefined = gesture_buf - let value : RichEditorImageSpanOptions = ({offset: offset_result, imageStyle: imageStyle_result, gesture: gesture_result} as RichEditorImageSpanOptions) + const onHover_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onHover_buf : OnHoverCallback | undefined + if ((RuntimeType.UNDEFINED) != (onHover_buf_runtimeType)) + { + onHover_buf = valueDeserializer.readOnHoverCallback() + } + const onHover_result : OnHoverCallback | undefined = onHover_buf + let value : RichEditorImageSpanOptions = ({offset: offset_result, imageStyle: imageStyle_result, gesture: gesture_result, onHover: onHover_result} as RichEditorImageSpanOptions) return value } - readRichEditorImageSpanResult(): RichEditorImageSpanResult { + public readRichEditorImageSpanResult(): RichEditorImageSpanResult { let valueDeserializer : Deserializer = this const spanPosition_result : RichEditorSpanPosition = valueDeserializer.readRichEditorSpanPosition() const valuePixelMap_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -30219,16 +30257,7 @@ export class Deserializer extends DeserializerBase { let value : RichEditorImageSpanResult = ({spanPosition: spanPosition_result, valuePixelMap: valuePixelMap_result, valueResourceStr: valueResourceStr_result, imageStyle: imageStyle_result, offsetInSpan: offsetInSpan_result} as RichEditorImageSpanResult) return value } - readRichEditorParagraphResult(): RichEditorParagraphResult { - let valueDeserializer : Deserializer = this - const style_result : RichEditorParagraphStyle = valueDeserializer.readRichEditorParagraphStyle() - const range_buf_value0 : number = (valueDeserializer.readNumber() as number) - const range_buf_value1 : number = (valueDeserializer.readNumber() as number) - const range_result : [ number, number ] = ([range_buf_value0, range_buf_value1] as [ number, number ]) - let value : RichEditorParagraphResult = ({style: style_result, range: range_result} as RichEditorParagraphResult) - return value - } - readRichEditorTextSpanOptions(): RichEditorTextSpanOptions { + public readRichEditorTextSpanOptions(): RichEditorTextSpanOptions { let valueDeserializer : Deserializer = this const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) let offset_buf : number | undefined @@ -30258,10 +30287,17 @@ export class Deserializer extends DeserializerBase { gesture_buf = valueDeserializer.readRichEditorGesture() } const gesture_result : RichEditorGesture | undefined = gesture_buf - let value : RichEditorTextSpanOptions = ({offset: offset_result, style: style_result, paragraphStyle: paragraphStyle_result, gesture: gesture_result} as RichEditorTextSpanOptions) + const urlStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let urlStyle_buf : RichEditorUrlStyle | undefined + if ((RuntimeType.UNDEFINED) != (urlStyle_buf_runtimeType)) + { + urlStyle_buf = valueDeserializer.readRichEditorUrlStyle() + } + const urlStyle_result : RichEditorUrlStyle | undefined = urlStyle_buf + let value : RichEditorTextSpanOptions = ({offset: offset_result, style: style_result, paragraphStyle: paragraphStyle_result, gesture: gesture_result, urlStyle: urlStyle_result} as RichEditorTextSpanOptions) return value } - readRichEditorTextSpanResult(): RichEditorTextSpanResult { + public readRichEditorTextSpanResult(): RichEditorTextSpanResult { let valueDeserializer : Deserializer = this const spanPosition_result : RichEditorSpanPosition = valueDeserializer.readRichEditorSpanPosition() const value_result : string = (valueDeserializer.readString() as string) @@ -30297,10 +30333,17 @@ export class Deserializer extends DeserializerBase { previewText_buf = (valueDeserializer.readString() as string) } const previewText_result : string | undefined = previewText_buf - let value : RichEditorTextSpanResult = ({spanPosition: spanPosition_result, value: value_result, textStyle: textStyle_result, offsetInSpan: offsetInSpan_result, symbolSpanStyle: symbolSpanStyle_result, valueResource: valueResource_result, paragraphStyle: paragraphStyle_result, previewText: previewText_result} as RichEditorTextSpanResult) + const urlStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let urlStyle_buf : RichEditorUrlStyle | undefined + if ((RuntimeType.UNDEFINED) != (urlStyle_buf_runtimeType)) + { + urlStyle_buf = valueDeserializer.readRichEditorUrlStyle() + } + const urlStyle_result : RichEditorUrlStyle | undefined = urlStyle_buf + let value : RichEditorTextSpanResult = ({spanPosition: spanPosition_result, value: value_result, textStyle: textStyle_result, offsetInSpan: offsetInSpan_result, symbolSpanStyle: symbolSpanStyle_result, valueResource: valueResource_result, paragraphStyle: paragraphStyle_result, previewText: previewText_result, urlStyle: urlStyle_result} as RichEditorTextSpanResult) return value } - readSpanStyle(): SpanStyle { + public readSpanStyle(): SpanStyle { let valueDeserializer : Deserializer = this const start_result : number = (valueDeserializer.readNumber() as number) const length_result : number = (valueDeserializer.readNumber() as number) diff --git a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts index c58376a36d..4c1cc3a1e2 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts @@ -21,147 +21,148 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, AccessibilityHoverEvent, AccessibilityHoverEventInternal, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragEventInternal, DragResult, Rectangle, DragPreviewMode, DrawModifier, DrawModifierInternal, EdgeEffectOptions, EffectType, FinishCallbackType, GestureModifier, GestureModifierInternal, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, HoverModeAreaType, ICurve, ICurveInternal, KeyboardAvoidMode, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, ChildrenMainSizeInternal, RectResult, Measurable, MeasurableInternal, MeasureResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PixelMapMockInternal, PreDragStatus, ProgressMask, ProgressMaskInternal, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, TextContentControllerBaseInternal, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffectInternal, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, UICommonEventInternal, Callback_ClickEvent_Void, ClickEvent, ClickEventInternal, Callback_TouchEvent_Void, TouchEvent, TouchEventInternal, Callback_KeyEvent_Void, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, Callback_MouseEvent_Void, MouseEvent, MouseEventInternal, VisibleAreaEventOptions, SheetOptions, View, ViewInternal, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchResult, Callback_Boolean_HoverEvent_Void, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragItemInfo, Callback_DragEvent_String_Void, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_PreDragStatus_Void, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, BackgroundBrightnessOptions, BlurOptions, ClickEffect, DragInteractionOptions, ExpectedFrameRateRange, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, LinearGradient_common, Tuple_ResourceColor_Number, LinearGradientBlurOptions, FractionStop, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, StateStyles, TouchObject, AlignRuleOption, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, BlurStyleOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, PixelStretchEffectOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, BorderImageOption, ContextMenuOptions, CustomPopupOptions, Literal_ResourceColor_color, EventTarget, BaseEvent, BaseEventInternal, MenuOptions, PickerDialogButtonStyle, PointLightStyle, PopupMessageOptions, PopupOptions, Literal_String_value_Callback_Void_action, Type_SheetOptions_detents } from "./../common" +import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, AccessibilityHoverEvent, AccessibilityHoverEventInternal, AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragEventInternal, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, DrawModifierInternal, EffectEdge, EffectType, FinishCallbackType, GestureModifier, GestureModifierInternal, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, ICurveInternal, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, ChildrenMainSizeInternal, RectResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PixelMapMockInternal, PopupStateChangeParam, PreDragStatus, ProgressMask, ProgressMaskInternal, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, TextContentControllerBaseInternal, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffectInternal, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, UICommonEventInternal, Callback_ClickEvent_Void, ClickEvent, ClickEventInternal, Callback_TouchEvent_Void, TouchEvent, TouchEventInternal, Callback_KeyEvent_Void, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, Callback_MouseEvent_Void, MouseEvent, MouseEventInternal, VisibleAreaEventOptions, SheetOptions, View, ViewInternal, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchResult, Callback_AxisEvent_Void, AxisEvent, AxisEventInternal, Callback_Boolean_HoverEvent_Void, Callback_CrownEvent_Void, CrownEvent, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, FocusAxisEventInternal, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_PreDragStatus_Void, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DragInteractionOptions, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, LinearGradient_common, Tuple_ResourceColor_Number, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasurableInternal, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, StateStyles, SystemAdaptiveOptions, TouchObject, AlignRuleOption, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, BlurStyleOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Literal_ResourceColor_color, EventTarget, BaseEvent, BaseEventInternal, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, PopupOptions, Literal_String_value_Callback_Void_action } from "./../common" import { ButtonTriggerClickCallback, ButtonRole, ButtonStyleMode, ButtonType, ControlSize, ButtonOptions } from "./../button" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../animation_extender" import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, ComponentContent, ComponentContentInternal, UnifiedData, UnifiedDataInternal, UIContext, UIContextInternal, SystemBarStyle, PointerStyle, Scene, SceneInternal, Context, ContextInternal, WorkerEventListener, WorkerEventListenerInternal, Event, ErrorEvent, MessageEvents, BaseContext, BaseContextInternal, PostMessageOptions, WorkerOptions, CustomColors, RestrictedWorker, RestrictedWorkerInternal, CustomTheme } from "./../arkui-custom" -import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, SwiperAnimationEvent, SwiperAttribute, DotIndicator, DigitIndicator, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ArrowStyle, SwiperAutoFill, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, Callback_SwiperContentTransitionProxy_Void, Indicator } from "./../swiper" +import { ContentDidScrollCallback, ContentWillScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, SwiperAnimationEvent, SwiperAnimationMode, SwiperAttribute, DotIndicator, DigitIndicator, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, SwiperContentWillScrollResult, AutoPlayOptions, ArrowStyle, SwiperAutoFill, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, Callback_SwiperContentTransitionProxy_Void, Indicator } from "./../swiper" import { CustomNodeBuilder } from "./../custom_builder" -import { EditableTextOnChangeCallback, OnDidChangeCallback, LayoutManager, LayoutManagerInternal, PositionWithAffinity, TextRange, MenuType, TextDataDetectorConfig, EditMenuOptions, TextEditControllerEx, TextEditControllerExInternal, PreviewText, StyledStringController, StyledStringControllerInternal, StyledStringChangedListener, CaretStyle, InsertValue, DeleteValue, FontSettingOptions, TextBaseController, TextBaseControllerInternal, TextDataDetectorType, TextDeleteDirection, TextMenuItemId, TextMenuItemIdInternal, AsyncCallback_Array_TextMenuItem_Array_TextMenuItem, TextMenuItem, AsyncCallback_TextMenuItem_TextRange_Boolean, Callback_StyledStringChangeValue_Boolean, StyledStringChangeValue, DecorationStyleResult } from "./../text_common" +import { EditableTextOnChangeCallback, OnDidChangeCallback, AutoCapitalizationMode, KeyboardAppearance, LayoutManager, LayoutManagerInternal, PositionWithAffinity, TextRange, MenuType, TextDataDetectorConfig, EditMenuOptions, TextEditControllerEx, TextEditControllerExInternal, PreviewText, StyledStringController, StyledStringControllerInternal, StyledStringChangedListener, CaretStyle, TextChangeOptions, InsertValue, DeleteValue, EditableTextChangeValue, FontSettingOptions, TextBaseController, TextBaseControllerInternal, TextDataDetectorType, TextDeleteDirection, TextMenuItemId, TextMenuItemIdInternal, TextMenuShowMode, AsyncCallback_Array_TextMenuItem_Array_TextMenuItem, TextMenuItem, AsyncCallback_TextMenuItem_TextRange_Boolean, Callback_StyledStringChangeValue_Boolean, StyledStringChangeValue, DecorationStyleResult } from "./../text_common" import { ErrorCallback } from "./../ohos.base" import { GetItemMainSizeByIndex, WaterFlowAttribute, WaterFlowLayoutMode, WaterFlowSections, WaterFlowSectionsInternal, SectionOptions, WaterFlowOptions } from "./../water_flow" import { ImageCompleteCallback, ImageLoadResult } from "./../image_span" -import { ImageErrorCallback, DynamicRangeMode, ImageContent, ImageInterpolation, ImageRenderMode, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, ImageError, ImageSourceSize, ResizableOptions } from "./../image" -import { InterceptionModeCallback, InterceptionShowCallback, BarStyle, LaunchMode, NavBarPosition, NavigationMenuItem, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions, NavigationAttribute, Tuple_Dimension_Dimension, NavigationMode, NavigationTitleMode, Callback_NavigationTitleMode_Void, Callback_Boolean_Void, Callback_NavigationMode_Void, Callback_String_Unknown_Void, Type_NavigationAttribute_customNavContentTransition_delegate, NavContentInfo, NavigationOperation, NavigationAnimatedTransition, NavigationCommonTitle, NavigationCustomTitle, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, NavigationOptions, Callback_PopInfo_Void, PopInfo, NavigationInterception, ToolbarItemStatus, Callback_NavigationTransitionProxy_Void, NavigationTransitionProxy, NavigationTransitionProxyInternal, NavBar } from "./../navigation" +import { ImageErrorCallback, ColorContent, DynamicRangeMode, ImageContent, ImageInterpolation, ImageRenderMode, ImageRotateOrientation, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, ImageError, ImageSourceSize, ResizableOptions } from "./../image" +import { InterceptionModeCallback, InterceptionShowCallback, BarStyle, LaunchMode, NavBarPosition, NavigationMenuItem, NavigationOperation, NavigationTitleOptions, NavigationMenuOptions, ToolbarItem, NavigationToolbarOptions, NavigationAttribute, Tuple_Dimension_Dimension, NavigationMode, NavigationTitleMode, Callback_NavigationTitleMode_Void, Callback_Boolean_Void, Callback_NavigationMode_Void, Callback_String_Opt_Object_Void, Type_NavigationAttribute_customNavContentTransition_delegate, NavContentInfo, NavigationAnimatedTransition, NavigationCommonTitle, NavigationCustomTitle, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, NavigationOptions, Callback_PopInfo_Void, PopInfo, NavigationInterception, ToolbarItemStatus, Callback_NavigationTransitionProxy_Void, NavigationTransitionProxy, NavigationTransitionProxyInternal, NavBar, MoreButtonOptions } from "./../navigation" +import { LocationButtonCallback, LocationButtonOnClickResult, LocationDescription, LocationIconStyle, LocationButtonOptions } from "./../location_button" import { MenuCallback, OnHoverCallback } from "./../sdk-stubs" -import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, RichEditorAttribute, Callback_RichEditorSelection_Void, RichEditorSelection, Callback_RichEditorRange_Void, RichEditorRange, Callback_RichEditorInsertValue_Boolean, RichEditorInsertValue, Callback_RichEditorTextSpanResult_Void, RichEditorTextSpanResult, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, RichEditorDeleteValue, PasteEvent, Callback_RichEditorChangeValue_Boolean, RichEditorChangeValue, Callback_CutEvent_Void, CutEvent, Callback_CopyEvent_Void, CopyEvent, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle, RichEditorBaseController, RichEditorBaseControllerInternal, RichEditorTextStyle, RichEditorController, RichEditorControllerInternal, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorParagraphResult, RichEditorSpan, RichEditorDeleteDirection, RichEditorOptions, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, RichEditorStyledStringOptions, RichEditorGesture, RichEditorSpanPosition, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorSpanStyleOptions, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorParagraphStyle } from "./../rich_editor" +import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, RichEditorAttribute, Callback_RichEditorSelection_Void, RichEditorSelection, Callback_RichEditorRange_Void, RichEditorRange, Callback_RichEditorInsertValue_Boolean, RichEditorInsertValue, Callback_RichEditorTextSpanResult_Void, RichEditorTextSpanResult, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, RichEditorDeleteValue, PasteEvent, Callback_RichEditorChangeValue_Boolean, RichEditorChangeValue, Callback_CutEvent_Void, CutEvent, Callback_CopyEvent_Void, CopyEvent, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle, RichEditorBaseController, RichEditorBaseControllerInternal, RichEditorTextStyle, RichEditorController, RichEditorControllerInternal, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorParagraphResult, RichEditorSpan, RichEditorDeleteDirection, RichEditorOptions, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, RichEditorStyledStringOptions, PreviewMenuOptions, RichEditorGesture, RichEditorSpanPosition, RichEditorSymbolSpanStyle, RichEditorSpanStyleOptions, RichEditorUrlStyle, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorParagraphStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorTextStyleResult } from "./../rich_editor" +import { NavDestinationTransitionDelegate, NavDestinationActiveReason, NavDestinationAttribute, Callback_Boolean, Callback_Object_Void, NavDestinationMode, Callback_NavDestinationContext_Void, NavDestinationContext, NavDestinationContextInternal, NavigationSystemTransitionType, NestedScrollInfo, Callback_NavDestinationActiveReason_Void, Orientation, NavDestinationCommonTitle, NavDestinationCustomTitle, NavDestinationTransition, RouteMapConfig } from "./../nav_destination" import { NavExtender_OnUpdateStack } from "./../navigation_extender" -import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, CacheMode, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ConsoleMessage, ConsoleMessageInternal, MessageLevel, ContextMenuEditStateFlags, ContextMenuInputFieldType, ContextMenuMediaType, ContextMenuSourceType, ControllerHandler, ControllerHandlerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, EventResult, EventResultInternal, FileSelectorMode, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, HitTestType, HttpAuthHandler, HttpAuthHandlerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, MixedMode, NativeEmbedStatus, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, OverScrollMode, PermissionRequest, PermissionRequestInternal, ProtectedResourceType, RenderExitReason, RenderMode, RenderProcessNotRespondingReason, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScreenCaptureConfig, SslError, SslErrorHandler, SslErrorHandlerInternal, ThreatType, ViewportFit, WebAttribute, JavaScriptProxy, WebDarkMode, WebMediaOptions, Callback_OnPageEndEvent_Void, OnPageEndEvent, Callback_OnPageBeginEvent_Void, OnPageBeginEvent, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, OnTitleReceiveEvent, Callback_OnGeolocationShowEvent_Void, OnGeolocationShowEvent, Callback_OnAlertEvent_Boolean, OnAlertEvent, Callback_OnBeforeUnloadEvent_Boolean, OnBeforeUnloadEvent, Callback_OnConfirmEvent_Boolean, OnConfirmEvent, Callback_OnPromptEvent_Boolean, OnPromptEvent, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, OnErrorReceiveEvent, Callback_OnHttpErrorReceiveEvent_Void, OnHttpErrorReceiveEvent, Callback_OnDownloadStartEvent_Void, OnDownloadStartEvent, Callback_OnRefreshAccessedHistoryEvent_Void, OnRefreshAccessedHistoryEvent, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, WebResourceRequest, WebResourceRequestInternal, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, OnRenderExitedEvent, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_OnResourceLoadEvent_Void, OnResourceLoadEvent, FullScreenEnterEvent, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, OnHttpAuthRequestEvent, Callback_OnInterceptRequestEvent_WebResourceResponse, OnInterceptRequestEvent, WebResourceResponse, WebResourceResponseInternal, Callback_OnPermissionRequestEvent_Void, OnPermissionRequestEvent, Callback_OnScreenCaptureRequestEvent_Void, OnScreenCaptureRequestEvent, Callback_OnContextMenuShowEvent_Boolean, OnContextMenuShowEvent, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, OnSslErrorEventReceiveEvent, SslErrorEvent, Callback_OnClientAuthenticationEvent_Void, OnClientAuthenticationEvent, Callback_OnWindowNewEvent_Void, OnWindowNewEvent, Callback_OnTouchIconUrlReceivedEvent_Void, OnTouchIconUrlReceivedEvent, Callback_OnFaviconReceivedEvent_Void, OnFaviconReceivedEvent, Callback_OnPageVisibleEvent_Void, OnPageVisibleEvent, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, FirstMeaningfulPaint, LargestContentfulPaint, Callback_OnLoadInterceptEvent_Boolean, OnLoadInterceptEvent, Callback_OnOverScrollEvent_Void, LoadCommittedDetails, IntelligentTrackingPreventionDetails, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, Callback_NativeEmbedDataInfo_Void, NativeEmbedDataInfo, NativeEmbedVisibilityInfo, Callback_NativeEmbedTouchInfo_Void, NativeEmbedTouchInfo, RenderProcessNotRespondingData, ExpandedMenuItemOptions, WebKeyboardCallbackInfo, AdsBlockedDetails, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, WebCaptureMode, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, Literal_String_script_Callback_String_Void_callback_, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Header, Literal_Object_object__String_name_Array_String_methodList, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebNavigationType, WebResourceError, WebResourceErrorInternal, Callback_Literal_String_plainText_Void, Literal_String_plainText, WebKeyboardOptions, WebOptions, NativeEmbedInfo } from "./../web" +import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, BlurOnKeyboardHideMode, CacheMode, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ConsoleMessage, ConsoleMessageInternal, MessageLevel, ContextMenuEditStateFlags, ContextMenuInputFieldType, ContextMenuMediaType, ContextMenuSourceType, ControllerHandler, ControllerHandlerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, EventResult, EventResultInternal, FileSelectorMode, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, HitTestType, HttpAuthHandler, HttpAuthHandlerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, MixedMode, NativeEmbedStatus, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, OverScrollMode, PermissionRequest, PermissionRequestInternal, ProtectedResourceType, RenderExitReason, RenderMode, RenderProcessNotRespondingReason, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScreenCaptureConfig, SslError, SslErrorHandler, SslErrorHandlerInternal, ThreatType, ViewportFit, WebAttribute, JavaScriptProxy, WebDarkMode, WebMediaOptions, Callback_OnPageEndEvent_Void, OnPageEndEvent, Callback_OnPageBeginEvent_Void, OnPageBeginEvent, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, OnTitleReceiveEvent, Callback_OnGeolocationShowEvent_Void, OnGeolocationShowEvent, Callback_OnAlertEvent_Boolean, OnAlertEvent, Callback_OnBeforeUnloadEvent_Boolean, OnBeforeUnloadEvent, Callback_OnConfirmEvent_Boolean, OnConfirmEvent, Callback_OnPromptEvent_Boolean, OnPromptEvent, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, OnErrorReceiveEvent, Callback_OnHttpErrorReceiveEvent_Void, OnHttpErrorReceiveEvent, Callback_OnDownloadStartEvent_Void, OnDownloadStartEvent, Callback_OnRefreshAccessedHistoryEvent_Void, OnRefreshAccessedHistoryEvent, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, WebResourceRequest, WebResourceRequestInternal, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, OnRenderExitedEvent, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_OnResourceLoadEvent_Void, OnResourceLoadEvent, FullScreenEnterEvent, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, OnHttpAuthRequestEvent, Callback_OnInterceptRequestEvent_WebResourceResponse, OnInterceptRequestEvent, WebResourceResponse, WebResourceResponseInternal, Callback_OnPermissionRequestEvent_Void, OnPermissionRequestEvent, Callback_OnScreenCaptureRequestEvent_Void, OnScreenCaptureRequestEvent, Callback_OnContextMenuShowEvent_Boolean, OnContextMenuShowEvent, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, OnSslErrorEventReceiveEvent, SslErrorEvent, Callback_OnClientAuthenticationEvent_Void, OnClientAuthenticationEvent, Callback_OnWindowNewEvent_Void, OnWindowNewEvent, Callback_OnTouchIconUrlReceivedEvent_Void, OnTouchIconUrlReceivedEvent, Callback_OnFaviconReceivedEvent_Void, OnFaviconReceivedEvent, Callback_OnPageVisibleEvent_Void, OnPageVisibleEvent, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, FirstMeaningfulPaint, LargestContentfulPaint, Callback_OnLoadInterceptEvent_Boolean, OnLoadInterceptEvent, Callback_OnOverScrollEvent_Void, LoadCommittedDetails, IntelligentTrackingPreventionDetails, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, Callback_NativeEmbedDataInfo_Void, NativeEmbedDataInfo, NativeEmbedVisibilityInfo, Callback_NativeEmbedTouchInfo_Void, NativeEmbedTouchInfo, RenderProcessNotRespondingData, ExpandedMenuItemOptions, WebKeyboardCallbackInfo, AdsBlockedDetails, WebKeyboardAvoidMode, EmbedOptions, WebElementType, WebResponseType, SelectionMenuOptionsExt, WebCaptureMode, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, Literal_String_script_Callback_String_Void_callback_, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Header, Literal_Object_object__String_name_Array_String_methodList, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebNavigationType, WebResourceError, WebResourceErrorInternal, Callback_Literal_String_plainText_Void, Literal_String_plainText, WebKeyboardOptions, WebOptions, NativeEmbedInfo } from "./../web" import { OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback, AlphabetIndexerAttribute, Callback_Number_Void, IndexerAlign, AlphabetIndexerOptions } from "./../alphabet_indexer" import { OnCheckboxChangeCallback, CheckboxOptions } from "./../checkbox" import { OnCheckboxGroupChangeCallback, SelectStatus, CheckboxGroupResult, CheckboxGroupOptions } from "./../checkboxgroup" -import { OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback, EnterKeyType, InputType, SubmitEvent, SubmitEventInternal, TextInputAttribute, TextInputStyle, PasswordIcon, UnderlineColor, TextInputController, TextInputControllerInternal, TextInputOptions } from "./../text_input" +import { OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback, ContentType, EnterKeyType, InputType, SubmitEvent, SubmitEventInternal, TextInputAttribute, TextInputStyle, PasswordIcon, UnderlineColor, TextInputController, TextInputControllerInternal, TextInputOptions } from "./../text_input" import { OnFoldStatusChangeCallback, OnHoverStatusChangeCallback, OnFoldStatusChangeInfo, HoverEventParam, FolderStackOptions } from "./../folder_stack" import { OnLinearIndicatorChangeCallback, LinearIndicatorController, LinearIndicatorControllerInternal, LinearIndicatorStartOptions, LinearIndicatorStyle } from "./../linearindicator" -import { OnNativeLoadCallback, Callback_String_SurfaceRect_Void, SurfaceRect, SurfaceRotationOptions, XComponentController, XComponentControllerInternal, Literal_Number_surfaceHeight_surfaceWidth, XComponentOptions } from "./../xcomponent" +import { OnNativeLoadCallback, Callback_String_SurfaceRect_Void, SurfaceRect, SurfaceRotationOptions, XComponentController, XComponentControllerInternal, Literal_Number_surfaceHeight_surfaceWidth, NativeXComponentParameters, XComponentOptions } from "./../xcomponent" +import { OnRadioChangeCallback, RadioIndicatorType, RadioOptions, RadioStyle } from "./../radio" +import { OnRatingChangeCallback, RatingOptions, StarStyleOptions } from "./../rating" import { OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallback, ScrollOnWillScrollCallback, Scroller, ScrollerInternal, ScrollAlign, OffsetResult, OnScrollFrameBeginHandlerResult, ScrollAttribute, ScrollDirection, ScrollSnapOptions, OffsetOptions, ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, Literal_Boolean_next_Axis_direction, ScrollToIndexOptions, ScrollAnimationOptions } from "./../scroll" import { OnScrollVisibleContentChangeCallback, ChainEdgeEffect, ScrollState, ListAttribute, ListItemAlign, ListDividerOptions, ChainAnimationOptions, StickyStyle, ScrollSnapAlign, Callback_Number_Number_Number_Void, VisibleListContentInfo, Callback_Number_Boolean, Callback_Number_Number_Boolean, ListItemGroupArea, ListScroller, ListScrollerInternal, CloseSwipeActionOptions, ListOptions } from "./../list" -import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, AnimationMode, BarMode, BarPosition, LayoutStyle, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsAnimationEvent, TabsAttribute, DividerStyle, BarGridColumnOptions, ScrollableBarModeOptions, TabsController, TabsControllerInternal, TabContentAnimatedTransition, Callback_TabContentTransitionProxy_Void, TabsOptions } from "./../tabs" +import { OnSelectCallback, ArrowPosition, AvoidanceMode, MenuAlignType, SelectAttribute, Callback_Number_String_Void, MenuOutlineOptions, Callback_Union_Number_Resource_Void, Callback_ResourceStr_Void, MenuItemConfiguration, MenuItemConfigurationInternal, SelectOption } from "./../select" +import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, AnimationMode, BarMode, BarPosition, LayoutStyle, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsAnimationEvent, TabsAttribute, DividerStyle, BarGridColumnOptions, ScrollableBarModeOptions, TabsCacheMode, TabsController, TabsControllerInternal, TabContentAnimatedTransition, Callback_TabContentTransitionProxy_Void, CommonModifier, TabsOptions } from "./../tabs" +import { OnTextPickerChangeCallback, TextPickerEnterSelectedAreaCallback, TextPickerScrollStopCallback, DividerOptions, TextPickerDialogOptions, Callback_String_Number_Void, Callback_TextPickerResult_Void, TextPickerResult, Callback_Union_Number_Array_Number_Void, Callback_Union_String_Array_String_Void, Type_TextPickerAttribute_onChange_callback, TextCascadePickerRangeContent, TextPickerOptions, TextPickerRangeContent, TextPickerTextStyle } from "./../text_picker" +import { OnTimePickerChangeCallback, TimePickerFormat, TimePickerResult, Callback_TimePickerResult_Void, TimePickerOptions, TimePickerDialogOptions } from "./../time_picker" import { PageTransitionCallback, RouteType, SlideEffect } from "./../page_transition" +import { PasteButtonCallback, PasteButtonOnClickResult, PasteDescription, PasteIconStyle, PasteButtonOptions } from "./../paste_button" import { PluginErrorCallback, PluginErrorData, PluginComponentTemplate, PluginComponentOptions } from "./../plugin_component" -import { ReceiveCallback, BaseShape, BaseShapeInternal, CircleShape, CircleShapeInternal, ShapeSize, CommonShape, CommonShapeInternal, WebviewController, WebviewControllerInternal, Summary, EffectDirection, EffectScope, EllipseShape, EllipseShapeInternal, ImageModifier, IntentionCode, RectWidthStyle, RectHeightStyle, SymbolGlyphModifier, PathShape, PathShapeInternal, PathShapeOptions, PerfMonitorActionType, PerfMonitorSourceType, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, RectShapeOptions, RoundRectShapeOptions, ResolutionQuality, IndicatorStyle, TextModifier, WebHeader, WindowStatusType, AsyncCallback_image_PixelMap_Void, ColorMetrics, ColorMetricsInternal, EdgeStyles, FontInfo, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, SnapshotOptions, FontOptions, MeasureOptions, LabelStyle } from "./../arkui-external" -import { SearchSubmitCallback, CancelButtonStyle, SearchAttribute, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchType, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, SearchButtonOptions, SearchController, SearchControllerInternal, SearchOptions } from "./../search" +import { ReceiveCallback, BaseShape, BaseShapeInternal, CircleShape, CircleShapeInternal, ShapeSize, CommonShape, CommonShapeInternal, WebviewController, WebviewControllerInternal, Summary, EffectDirection, EffectScope, EllipseShape, EllipseShapeInternal, ImageModifier, IntentionCode, RectWidthStyle, RectHeightStyle, SymbolGlyphModifier, PathShape, PathShapeInternal, PathShapeOptions, PerfMonitorActionType, PerfMonitorSourceType, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, RectShapeOptions, RoundRectShapeOptions, ResolutionQuality, TextModifier, IndicatorStyle, WebHeader, WindowStatusType, AsyncCallback_image_PixelMap_Void, ColorMetrics, ColorMetricsInternal, EdgeStyles, FontInfo, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, SnapshotOptions, FontOptions, MeasureOptions, LabelStyle } from "./../arkui-external" +import { SaveButtonCallback, SaveButtonOnClickResult, SaveDescription, SaveIconStyle, SaveButtonOptions } from "./../save_button" +import { SearchSubmitCallback, CancelButtonStyle, SearchAttribute, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchType, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_EditableTextChangeValue_Boolean, SearchButtonOptions, SearchController, SearchControllerInternal, SearchOptions } from "./../search" import { SliderTriggerChangeCallback, SliderAttribute, Callback_Number_SliderChangeMode_Void, SliderChangeMode, SliderBlockStyle, SliderInteraction, SlideRange, SliderBlockType, SliderStyle, SliderOptions } from "./../slider" -import { TextAreaSubmitCallback, ContentType, TextAreaAttribute, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, TextAreaType, TextAreaController, TextAreaControllerInternal, TextAreaOptions } from "./../text_area" -import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ColorFilterInternal, ResourceStr, Dimension, LengthConstrain, ConstraintSizeOptions, DirectionalEdgesT, Area, AccessibilityOptions, Bias, ChainWeightOptions, VP, DividerStyleOptions, PX, LPX, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, MarkStyle, BorderRadiuses, EdgeWidths, EdgeColors, BorderOptions, Padding, OutlineOptions, EdgeOutlineWidths, OutlineRadiuses, EdgeOutlineStyles } from "./../units" +import { StyledStringMarshallCallback, StyledStringUnmarshallCallback, GestureStyle, GestureStyleInternal, GestureStyleInterface, StyledString, StyledStringInternal, MutableStyledString, MutableStyledStringInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, StyleOptions, StyledStringKey, SpanStyle, UserDataSpan, DecorationStyleInterface, UrlStyle, UrlStyleInternal, AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, BaselineOffsetStyle, BaselineOffsetStyleInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, TextShadowStyle, TextShadowStyleInternal, DecorationStyle, DecorationStyleInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, TextStyleInterface, ImageAttachmentLayoutStyle, ParagraphStyle, ParagraphStyleInternal, ParagraphStyleInterface, BackgroundColorStyle, BackgroundColorStyleInternal, ColorFilterType, ImageAttachmentInterface, AttachmentType, ResourceImageAttachmentOptions, StyledStringValue } from "./../styled_string" +import { TextAreaSubmitCallback, TextAreaAttribute, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, TextAreaType, TextAreaController, TextAreaControllerInternal, TextAreaOptions } from "./../text_area" +import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ColorFilterInternal, ResourceStr, Dimension, LengthConstrain, DividerStyleOptions, ConstraintSizeOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" import { WithThemeInterface, WithThemeAttribute, WithThemeOptions } from "./../with_theme" -import { AccessibilityHoverType, Alignment, Color, AnimationStatus, AppRotation, ArrowPointPosition, Axis, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, ColoringStrategy, CopyOptions, Curve, DialogButtonStyle, Direction, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PixelRoundCalcPolicy, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" +import { AccessibilityHoverType, Alignment, Color, AnimationStatus, AppRotation, ArrowPointPosition, Axis, AxisAction, AxisModel, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, ColoringStrategy, CopyOptions, CrownAction, CrownSensitivity, Curve, DialogButtonStyle, Direction, DividerMode, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FocusDrawLevel, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, InteractionHand, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PageFlipMode, PixelRoundCalcPolicy, PixelRoundMode, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" import { Affinity, EllipsisMode, FontStyle, FontWidth, LineMetrics, TextBox, TextBaseline, TextDecorationStyle, TextDecorationType, TextDirection, FontFeature, FontVariation, RunMetrics, RectStyle, Decoration, TextShadow, text } from "./../arkui-graphics-text" import { Resource } from "./../resource" import { AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, AnimationOptions, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal } from "./../arkui-drawabledescriptor" import { PixelMap, PixelMapInternal } from "./../arkui-pixelmap" -import { ArrowPosition, MenuAlignType, SelectAttribute, Callback_Number_String_Void, Callback_Union_Number_Resource_Void, Callback_ResourceStr_Void, MenuItemConfiguration, MenuItemConfigurationInternal, SelectOption } from "./../select" import { BadgePosition, BadgeStyle, BadgeParamWithNumber, BadgeParam, BadgeParamWithString } from "./../badge" import { BarrierDirection, LocalizedBarrierDirection, BarrierStyle, LocalizedBarrierStyle, GuideLinePosition, GuideLineStyle } from "./../relative_container" import { BlendMode, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, RectType, FontMetricsFlags, FontMetrics } from "./../arkui-drawing" import { BreakpointsReference, GridRowDirection, Callback_String_Void, BreakPoints, GridRowColumnOption, GridRowSizeOption, GutterOption, GridRowOptions } from "./../grid_row" import { CalendarAlign, CalendarPickerAttribute, Callback_Date_Void, CalendarOptions, CalendarDialogOptions } from "./../calendar_picker" import { CalendarController, CalendarControllerInternal, Literal_Number_day_month_year, Callback_CalendarRequestedData_Void, CalendarRequestedData, Callback_CalendarSelectedDate_Void, CalendarSelectedDate, CalendarDay, MonthData, CurrentDayStyle, NonCurrentDayStyle, TodayStyle, WeekStyle, WorkStateStyle } from "./../calendar" -import { CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, Path2D, Path2DInternal, TextMetrics, CanvasRenderer, CanvasRendererInternal, ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, CanvasTextAlign, CanvasTextBaseline, CanvasFillRule, ImageData, ImageDataInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, DrawingRenderingContext, DrawingRenderingContextInternal } from "./../canvas" +import { CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, Path2D, Path2DInternal, TextMetrics, DrawingRenderingContext, DrawingRenderingContextInternal, ImageData, ImageDataInternal, CanvasRenderer, CanvasRendererInternal, ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, CanvasTextAlign, CanvasTextBaseline, CanvasFillRule, CanvasRenderingContext2D, CanvasRenderingContext2DInternal } from "./../canvas" import { Matrix2D, Matrix2DInternal } from "./../matrix2d" import { ColorMode, LayoutDirection } from "./../state_management" import { Component3DAttribute, ModelType, SceneOptions } from "./../component3d" import { CustomDialogController, CustomDialogControllerInternal, CustomDialogControllerOptions } from "./../custom_dialog_controller" import { DataOperationType } from "./../lazy_for_each" import { DataPanelType, LinearGradient, LinearGradientInternal, ColorStop, DataPanelOptions, DataPanelShadowOptions } from "./../data_panel" -import { DialogAlignment, DialogButtonDirection, TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, AlertDialogParamWithButtons, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithOptions } from "./../alert_dialog" +import { DatePickerMode, Callback_DatePickerResult_Void, DatePickerResult, DatePickerOptions, LunarSwitchStyle, DatePickerDialogOptions } from "./../date_picker" +import { DialogAlignment, DialogButtonDirection, LevelOrder, TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, AlertDialogParamWithButtons, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithOptions } from "./../alert_dialog" import { DistributionType, DisturbanceFieldShape, ParticleEmitterShape, ParticleType, ParticleUpdater } from "./../particle" -import { DpiFollowStrategy, UIExtensionProxy, UIExtensionProxyInternal, Callback_UIExtensionProxy_Void, Callback_Literal_Number_code__want_Void, Literal_Number_code__want, Callback_Map_String_Object_Void, UIExtensionOptions } from "./../ui_extension_component" +import { DpiFollowStrategy, UIExtensionProxy, UIExtensionProxyInternal, Callback_UIExtensionProxy_Void, WindowModeFollowStrategy, Callback_Literal_Number_code__want_Void, Literal_Number_code__want, Callback_Map_String_Object_Void, UIExtensionOptions } from "./../ui_extension_component" +import { Callback_Void } from "./../ability_component" import { Rect, DrawContext, LengthMetricsUnit, LengthUnit, ShapeClip, ShapeClipInternal, RoundRect, Circle, CommandPath, ShapeMask, ShapeMaskInternal, Size, LengthMetrics, LengthMetricsInternal, Vector2, Vector3, BorderRadiuses_graphics, CornerRadius, Frame, Edges, Matrix4 } from "./../arkui-graphics" import { EditMode, ListItemStyle, Sticky, SwipeActionState, SwipeEdgeEffect, Callback_SwipeActionState_Void, ListItemOptions, SwipeActionItem, SwipeActionOptions } from "./../list_item" import { EffectFillStyle, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffectStrategy, SymbolGlyphAttribute, SymbolRenderingStrategy, AppearSymbolEffect, AppearSymbolEffectInternal, BounceSymbolEffect, BounceSymbolEffectInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal } from "./../symbolglyph" -import { EventTargetInfo, EventTargetInfoInternal, GestureControl, GestureGroupInterface, GestureGroupInterfaceInternal, GestureMode, GestureType, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureJudgeResult, GestureMask, GesturePriority, GestureRecognizer, GestureRecognizerInternal, GestureRecognizerState, GestureInterface, Literal_Number_duration_fingers_Boolean_repeat, Callback_GestureEvent_Void, GestureEvent, GestureEventInternal, PanDirection, Literal_Number_distance_fingers_PanDirection_direction, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Literal_Number_distance_fingers, Literal_Number_angle_fingers, ScrollableTargetInfo, ScrollableTargetInfoInternal, SwipeDirection, Literal_Number_fingers_speed_SwipeDirection_direction, TapGestureParameters, GestureHandler, GestureInfo, BaseGestureEvent, BaseGestureEventInternal, FingerInfo, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal } from "./../gesture" +import { EventTargetInfo, EventTargetInfoInternal, GestureControl, GestureGroupInterface, GestureGroupInterfaceInternal, GestureMode, GestureType, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureJudgeResult, GestureMask, GesturePriority, GestureRecognizer, GestureRecognizerInternal, GestureRecognizerState, GestureInterface, Literal_Number_duration_fingers_Boolean_repeat, LongPressGestureHandlerOptions, Callback_GestureEvent_Void, GestureEvent, GestureEventInternal, LongPressRecognizer, LongPressRecognizerInternal, PanDirection, Literal_Number_distance_fingers_PanDirection_direction, PanGestureOptions, PanGestureOptionsInternal, PanGestureHandlerOptions, PanRecognizer, PanRecognizerInternal, Literal_Number_distance_fingers, PinchGestureHandlerOptions, PinchRecognizer, PinchRecognizerInternal, Literal_Number_angle_fingers, RotationGestureHandlerOptions, RotationRecognizer, RotationRecognizerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, SwipeDirection, Literal_Number_fingers_speed_SwipeDirection_direction, SwipeGestureHandlerOptions, SwipeRecognizer, SwipeRecognizerInternal, TapGestureParameters, TapRecognizer, TapRecognizerInternal, GestureHandler, GestureInfo, BaseGestureEvent, BaseGestureEventInternal, FingerInfo, BaseHandlerOptions, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal } from "./../gesture" import { Filter, FilterInternal, TileMode, WaterRippleMode, FlyMode, VisualEffect, VisualEffectInternal, BrightnessBlender } from "./../arkui-uieffect" -import { FocusPriority, FocusBoxStyle } from "./../focus" +import { FocusPriority, KeyProcessingMode, FocusBoxStyle } from "./../focus" import { FormDimension, FormRenderingMode, FormShape, Callback_FormCallbackInfo_Void, FormCallbackInfo, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, FormInfo } from "./../form_component" import { FrameNode, FrameNodeInternal } from "./../arkui-framenode" import { FrictionMotion, FrictionMotionInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SpringMotion, SpringMotionInternal } from "./../animator" -import { FullscreenInfo, PlaybackInfo, PlaybackSpeed, PreparedInfo, SeekMode, VideoController, VideoControllerInternal, Callback_FullscreenInfo_Void, Callback_PlaybackInfo_Void, Callback_PreparedInfo_Void, VideoOptions } from "./../video" -import { Callback_Void } from "./../ability_component" -import { GestureStyle, GestureStyleInternal, GestureStyleInterface, StyledString, StyledStringInternal, MutableStyledString, MutableStyledStringInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, StyleOptions, StyledStringKey, SpanStyle, DecorationStyleInterface, UrlStyle, UrlStyleInternal, UserDataSpan, AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, BaselineOffsetStyle, BaselineOffsetStyleInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, TextShadowStyle, TextShadowStyleInternal, DecorationStyle, DecorationStyleInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, TextStyleInterface, ImageAttachmentLayoutStyle, BackgroundColorStyle, BackgroundColorStyleInternal, ImageAttachmentInterface, ParagraphStyle, ParagraphStyleInternal, ParagraphStyleInterface, StyledStringValue } from "./../styled_string" +import { FullscreenInfo, PlaybackInfo, PlaybackSpeed, PreparedInfo, SeekMode, VideoController, VideoControllerInternal, Callback_FullscreenInfo_Void, Callback_PlaybackInfo_Void, Callback_PreparedInfo_Void, PosterOptions, VideoOptions } from "./../video" import { GridAttribute, Callback_Number_Number_ComputedBarAttribute, ComputedBarAttribute, Callback_Number_Number_Void, GridDirection, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, GridItemAlignment, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain, Callback_Number_Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, GridLayoutOptions } from "./../grid" import { GridAttribute_onItemDragStart_event_type, ListAttribute_onItemDragStart_event_type, FormComponentAttribute_onRouter_callback_type, TextTimerAttribute_onTimer_event_type, AnimationRange_Number } from "./../type-replacements" import { GridItemStyle, GridItemOptions } from "./../gridItem" -import { ImageAnalyzerController, ImageAnalyzerControllerInternal, ImageAnalyzerType, ImageAnalyzerConfig, ImageAIOptions } from "./../image_common" +import { ImageAnalyzerController, ImageAnalyzerControllerInternal, ImageAnalyzerType, ImageAIOptions, ImageAnalyzerConfig } from "./../image_common" import { IndicatorComponentController, IndicatorComponentControllerInternal } from "./../indicatorcomponent" import { ItemState } from "./../stepper_item" -import { LayoutMode, SelectedMode, TabBarSymbol, BoardStyle, TabBarIconStyle, TabBarOptions, BottomTabBarStyle, SubTabBarStyle } from "./../tab_content" +import { LayoutMode, SelectedMode, TabBarSymbol, TabBarIconStyle, TabBarOptions, BoardStyle, BottomTabBarStyle, SubTabBarStyle } from "./../tab_content" import { ListItemGroupStyle, ListItemGroupOptions } from "./../list_item_group" import { LoadingProgressStyle } from "./../loading_progress" -import { LocationButtonOnClickResult, LocationDescription, LocationIconStyle, Callback_ClickEvent_LocationButtonOnClickResult_Void, LocationButtonOptions } from "./../location_button" +import { MarqueeStartPolicy, MarqueeState, TextAttribute, TextOverflowOptions, TextMarqueeOptions, Callback_MarqueeState_Void, TextSpanType, TextResponseType, TextController, TextControllerInternal, TextOptions } from "./../text" import { Matrix4Transit, Matrix4TransitInternal, TranslateOption, ScaleOption, RotateOption, PolyToPolyOptions } from "./../arkui-matrix4" import { Tuple_Number_Number, Tuple_Number_Number_Number } from "./../arkui-synthetics" -import { NavDestinationAttribute, Callback_Boolean, NavDestinationMode, Callback_NavDestinationContext_Void, NavDestinationContext, NavDestinationContextInternal, NavigationSystemTransitionType, NavDestinationCommonTitle, NavDestinationCustomTitle, RouteMapConfig } from "./../nav_destination" import { NavigationType } from "./../navigator" import { NavRouteMode, RouteInfo } from "./../nav_router" import { NodeController } from "./../ohos.arkui.node" import { Offset_componentutils, RotateResult, ScaleResult, TranslateResult, ComponentInfo, Matrix4Result } from "./../arkui-componentutils" import { PanelHeight, PanelMode, PanelType, Callback_Number_Number_PanelMode_Void, Callback_PanelMode_Void } from "./../panel" -import { PasteButtonOnClickResult, PasteDescription, PasteIconStyle, Callback_ClickEvent_PasteButtonOnClickResult_Void, PasteButtonOptions } from "./../paste_button" import { PatternLockChallengeResult, PatternLockController, PatternLockControllerInternal, Callback_Array_Number_Void, CircleStyleOptions } from "./../pattern_lock" import { ProgressStatus, ProgressStyle, ProgressType, ProgressOptions, LinearStyleOptions, ScanEffectOptions, CommonProgressStyleOptions, ProgressStyleOptions, RingStyleOptions, CapsuleStyleOptions } from "./../progress" -import { RadioIndicatorType, RadioOptions, RadioStyle } from "./../radio" import { RefreshStatus, Callback_RefreshStatus_Void, RefreshOptions } from "./../refresh" import { RootSceneSession } from "./../root_scene" import { RRect, WindowAnimationTarget } from "./../remote_window" -import { SaveButtonOnClickResult, SaveDescription, SaveIconStyle, Callback_ClickEvent_SaveButtonOnClickResult_Void, SaveButtonOptions } from "./../save_button" import { ScrollBarDirection, ScrollBarOptions } from "./../scroll_bar" import { SecurityComponentLayoutDirection } from "./../security_component" import { ContentModifier, Callback_WrappedBuilder_Args_Void, CommonConfiguration, WrappedBuilder } from "./../arkui-wrapper-builder" -import { DividerOptions, TextPickerDialogOptions, Callback_String_Number_Void, Callback_TextPickerResult_Void, TextPickerResult, Callback_Union_Number_Array_Number_Void, Callback_Union_String_Array_String_Void, Type_TextPickerAttribute_onChange_callback, TextCascadePickerRangeContent, TextPickerOptions, TextPickerRangeContent } from "./../text_picker" import { ShapeAttribute, ViewportRect } from "./../shape" import { SideBarContainerType, SideBarPosition, ButtonIconOptions, ButtonStyle } from "./../sidebar" import { SizeType, GridContainerOptions } from "./../grid_container" import { SubMenuExpandingMode } from "./../menu" -import { TextAttribute, TextOverflowOptions, TextSpanType, TextResponseType, TextController, TextControllerInternal, TextOptions } from "./../text" import { TextClockController, TextClockControllerInternal, TextClockOptions } from "./../text_clock" import { TextTimerController, TextTimerControllerInternal, TextTimerOptions } from "./../text_timer" -import { TimePickerFormat, TimePickerResult, Callback_TimePickerResult_Void, TimePickerOptions, TimePickerDialogOptions } from "./../time_picker" import { ToggleType, ToggleOptions, SwitchStyle } from "./../toggle" import { UniformDataType } from "./../arkui-uniformtypedescriptor" import { WindowSceneAttribute } from "./../window_scene" -import { Callback_Array_String_Void, Callback_Array_TextMenuItem_Void, Callback_ComputedBarAttribute_Void, Callback_CustomBuilder_Void, Callback_CustomSpanMetrics_Void, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_Literal_Number_offsetRemain_Void, Callback_OffsetResult_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Pointer_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void } from "./../generator_synthetic" -import { Callback_DatePickerResult_Void, DatePickerResult, DatePickerOptions, LunarSwitchStyle, DatePickerDialogOptions } from "./../date_picker" -import { Callback_DismissDialogAction_Void, DismissDialogAction, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions } from "./../action_sheet" +import { Callback_Array_String_Void, Callback_Array_TextMenuItem_Void, Callback_Buffer_Void, Callback_ComputedBarAttribute_Void, Callback_CustomBuilder_Void, Callback_CustomSpanMetrics_Void, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_Literal_Number_offsetRemain_Void, Callback_OffsetResult_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_Opt_Array_NavDestinationTransition_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Pointer_Void, Callback_StyledStringMarshallingValue_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void } from "./../generator_synthetic" +import { Callback_DismissDialogAction_Void, DismissDialogAction, ImmersiveMode, LevelMode, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions } from "./../action_sheet" import { Want } from "./../ohos.app.ability" import { Callback_TerminationInfo_Void, TerminationInfo } from "./../embedded_component" import { BusinessError } from "./../base" import { Profiler } from "./../inspector" import { ASTCResource } from "./../media_cached_image" import { CircleOptions } from "./../circle" -import { ColumnOptions } from "./../column" +import { ColumnOptions, ColumnOptionsV2 } from "./../column" import { common2D } from "./../ohos.graphics.common2D" import { CustomDialogBuildOptions, CustomDialogControllerBuilder } from "./../arkui-custom-dialog" import { DateTimeOptions } from "./../arkui-intl" import { EllipseOptions } from "./../ellipse" import { FormLinkOptions } from "./../form_link" -import { GaugeOptions, GaugeIndicatorOptions, GaugeShadowOptions } from "./../gauge" +import { GaugeOptions, GaugeShadowOptions, GaugeIndicatorOptions } from "./../gauge" import { GridColColumnOption, GridColOptions } from "./../grid_col" import { LineOptions } from "./../line" import { MarqueeOptions } from "./../marquee" import { PathOptions } from "./../path" import { PolygonOptions } from "./../polygon" import { PolylineOptions } from "./../polyline" -import { RatingOptions, StarStyleOptions } from "./../rating" import { RoundedRectOptions, RectOptions } from "./../rect" -import { RowOptions } from "./../row" +import { RowOptions, RowOptionsV2 } from "./../row" import { StackOptions } from "./../stack" import { TransformationMatrix } from "./../arkui-common" -import { ColumnSplitDividerStyle } from "./../column_split" +import { VirtualScrollOptions, VirtualScrollOptionsInternal } from "./../repeat" import { FlexSpaceOptions, FlexOptions } from "./../flex" import { ImageFrameInfo } from "./../image_animator" import { MenuItemGroupOptions } from "./../menu_item_group" import { MenuItemOptions } from "./../menu_item" +import { ColumnSplitDividerStyle } from "./../column_split" import { RenderNode, RenderNodeInternal } from "./../arkui-rendernode" import { TextBackgroundStyle } from "./../span" export class Serializer extends SerializerBase { @@ -202,321 +203,320 @@ export class Serializer extends SerializerBase { constructor() { super() } - writeAlphabetIndexerAttribute(value: AlphabetIndexerAttribute): void { + public writeAlphabetIndexerAttribute(value: AlphabetIndexerAttribute): void { } - writeAnimatedDrawableDescriptor(value: AnimatedDrawableDescriptor): void { + public writeAnimatedDrawableDescriptor(value: AnimatedDrawableDescriptor): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBaseShape(value: BaseShape): void { + public writeBaseShape(value: BaseShape): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCalendarController(value: CalendarController): void { + public writeCalendarController(value: CalendarController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCalendarPickerAttribute(value: CalendarPickerAttribute): void { + public writeCalendarPickerAttribute(value: CalendarPickerAttribute): void { } - writeCanvasGradient(value: CanvasGradient): void { + public writeCanvasGradient(value: CanvasGradient): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCanvasPath(value: CanvasPath): void { + public writeCanvasPath(value: CanvasPath): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCanvasPattern(value: CanvasPattern): void { + public writeCanvasPattern(value: CanvasPattern): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCircleShape(value: CircleShape): void { + public writeCircleShape(value: CircleShape): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeClientAuthenticationHandler(value: ClientAuthenticationHandler): void { + public writeClientAuthenticationHandler(value: ClientAuthenticationHandler): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeColorFilter(value: ColorFilter): void { + public writeColorContent(value: ColorContent): void { + } + public writeColorFilter(value: ColorFilter): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCommonShape(value: CommonShape): void { + public writeCommonShape(value: CommonShape): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeComponent3DAttribute(value: Component3DAttribute): void { + public writeComponent3DAttribute(value: Component3DAttribute): void { } - writeComponentContent(value: ComponentContent): void { + public writeComponentContent(value: ComponentContent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeConsoleMessage(value: ConsoleMessage): void { + public writeConsoleMessage(value: ConsoleMessage): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeControllerHandler(value: ControllerHandler): void { + public writeControllerHandler(value: ControllerHandler): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCustomDialogController(value: CustomDialogController): void { + public writeCustomDialogController(value: CustomDialogController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDataResubmissionHandler(value: DataResubmissionHandler): void { + public writeDataResubmissionHandler(value: DataResubmissionHandler): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDragEvent(value: DragEvent): void { + public writeDragEvent(value: DragEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDrawableDescriptor(value: DrawableDescriptor): void { + public writeDrawableDescriptor(value: DrawableDescriptor): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDrawingCanvas(value: DrawingCanvas): void { + public writeDrawingCanvas(value: DrawingCanvas): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDrawingColorFilter(value: DrawingColorFilter): void { + public writeDrawingColorFilter(value: DrawingColorFilter): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDrawingLattice(value: DrawingLattice): void { + public writeDrawingLattice(value: DrawingLattice): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDrawModifier(value: DrawModifier): void { + public writeDrawModifier(value: DrawModifier): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeEdgeEffectOptions(value: EdgeEffectOptions): void { - let valueSerializer : Serializer = this - const value_alwaysEnabled = value.alwaysEnabled - valueSerializer.writeBoolean(value_alwaysEnabled) - } - writeEllipseShape(value: EllipseShape): void { + public writeEllipseShape(value: EllipseShape): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeEventResult(value: EventResult): void { + public writeEventResult(value: EventResult): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeEventTargetInfo(value: EventTargetInfo): void { + public writeEventTargetInfo(value: EventTargetInfo): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFileSelectorParam(value: FileSelectorParam): void { + public writeFileSelectorParam(value: FileSelectorParam): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFileSelectorResult(value: FileSelectorResult): void { + public writeFileSelectorResult(value: FileSelectorResult): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFilter(value: Filter): void { + public writeFilter(value: Filter): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFrameNode(value: FrameNode): void { + public writeFrameNode(value: FrameNode): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFrictionMotion(value: FrictionMotion): void { + public writeFrictionMotion(value: FrictionMotion): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFullScreenExitHandler(value: FullScreenExitHandler): void { + public writeFullScreenExitHandler(value: FullScreenExitHandler): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFullscreenInfo(value: FullscreenInfo): void { + public writeFullscreenInfo(value: FullscreenInfo): void { let valueSerializer : Serializer = this const value_fullscreen = value.fullscreen valueSerializer.writeBoolean(value_fullscreen) } - writeGestureGroupInterface(value: GestureGroupInterface): void { + public writeGestureGroupInterface(value: GestureGroupInterface): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeGestureModifier(value: GestureModifier): void { + public writeGestureModifier(value: GestureModifier): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeGestureRecognizer(value: GestureRecognizer): void { + public writeGestureRecognizer(value: GestureRecognizer): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeGestureStyle(value: GestureStyle): void { + public writeGestureStyle(value: GestureStyle): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeGridAttribute(value: GridAttribute): void { + public writeGridAttribute(value: GridAttribute): void { } - writeHttpAuthHandler(value: HttpAuthHandler): void { + public writeHttpAuthHandler(value: HttpAuthHandler): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeICurve(value: ICurve): void { + public writeICurve(value: ICurve): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeImageAnalyzerController(value: ImageAnalyzerController): void { + public writeImageAnalyzerController(value: ImageAnalyzerController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeImageModifier(value: ImageModifier): void { + public writeImageModifier(value: ImageModifier): void { } - writeIndicatorComponentController(value: IndicatorComponentController): void { + public writeIndicatorComponentController(value: IndicatorComponentController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeJsGeolocation(value: JsGeolocation): void { + public writeJsGeolocation(value: JsGeolocation): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeJsResult(value: JsResult): void { + public writeJsResult(value: JsResult): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLayeredDrawableDescriptor(value: LayeredDrawableDescriptor): void { + public writeLayeredDrawableDescriptor(value: LayeredDrawableDescriptor): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLayoutManager(value: LayoutManager): void { + public writeLayoutManager(value: LayoutManager): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLinearGradient(value: LinearGradient): void { + public writeLayoutPolicy(value: LayoutPolicy): void { + } + public writeLinearGradient(value: LinearGradient): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLinearIndicatorController(value: LinearIndicatorController): void { + public writeLinearIndicatorController(value: LinearIndicatorController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeListAttribute(value: ListAttribute): void { + public writeListAttribute(value: ListAttribute): void { } - writeListScroller(value: ListScroller): void { + public writeListScroller(value: ListScroller): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLongPressGestureInterface(value: LongPressGestureInterface): void { + public writeLongPressGestureInterface(value: LongPressGestureInterface): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeMatrix4Transit(value: Matrix4Transit): void { + public writeLongPressRecognizer(value: LongPressRecognizer): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeMeasurable(value: Measurable): void { + public writeMatrix4Transit(value: Matrix4Transit): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNativeMediaPlayerConfig(value: NativeMediaPlayerConfig): void { + public writeNativeMediaPlayerConfig(value: NativeMediaPlayerConfig): void { let valueSerializer : Serializer = this const value_enable = value.enable valueSerializer.writeBoolean(value_enable) const value_shouldOverlay = value.shouldOverlay valueSerializer.writeBoolean(value_shouldOverlay) } - writeNavDestinationAttribute(value: NavDestinationAttribute): void { + public writeNavDestinationAttribute(value: NavDestinationAttribute): void { } - writeNavigationAttribute(value: NavigationAttribute): void { + public writeNavigationAttribute(value: NavigationAttribute): void { } - writeNavPathStack(value: NavPathStack): void { + public writeNavPathStack(value: NavPathStack): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNestedScrollOptions(value: NestedScrollOptions): void { + public writeNestedScrollOptions(value: NestedScrollOptions): void { let valueSerializer : Serializer = this const value_scrollForward = value.scrollForward valueSerializer.writeInt32(TypeChecker.NestedScrollMode_ToNumeric(value_scrollForward)) const value_scrollBackward = value.scrollBackward valueSerializer.writeInt32(TypeChecker.NestedScrollMode_ToNumeric(value_scrollBackward)) } - writeNodeController(value: NodeController): void { + public writeNodeController(value: NodeController): void { } - writeOffscreenCanvas(value: OffscreenCanvas): void { + public writeOffscreenCanvas(value: OffscreenCanvas): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeOffset_componentutils(value: Offset_componentutils): void { + public writeOffset_componentutils(value: Offset_componentutils): void { let valueSerializer : Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) const value_y = value.y valueSerializer.writeNumber(value_y) } - writeOffsetResult(value: OffsetResult): void { + public writeOffsetResult(value: OffsetResult): void { let valueSerializer : Serializer = this const value_xOffset = value.xOffset valueSerializer.writeNumber(value_xOffset) const value_yOffset = value.yOffset valueSerializer.writeNumber(value_yOffset) } - writeOnAudioStateChangedEvent(value: OnAudioStateChangedEvent): void { + public writeOnAudioStateChangedEvent(value: OnAudioStateChangedEvent): void { let valueSerializer : Serializer = this const value_playing = value.playing valueSerializer.writeBoolean(value_playing) } - writeOnConsoleEvent(value: OnConsoleEvent): void { + public writeOnConsoleEvent(value: OnConsoleEvent): void { let valueSerializer : Serializer = this const value_message = value.message valueSerializer.writeConsoleMessage(value_message) } - writeOnDataResubmittedEvent(value: OnDataResubmittedEvent): void { + public writeOnDataResubmittedEvent(value: OnDataResubmittedEvent): void { let valueSerializer : Serializer = this const value_handler = value.handler valueSerializer.writeDataResubmissionHandler(value_handler) } - writeOnFirstContentfulPaintEvent(value: OnFirstContentfulPaintEvent): void { + public writeOnFirstContentfulPaintEvent(value: OnFirstContentfulPaintEvent): void { let valueSerializer : Serializer = this const value_navigationStartTick = value.navigationStartTick valueSerializer.writeNumber(value_navigationStartTick) const value_firstContentfulPaintMs = value.firstContentfulPaintMs valueSerializer.writeNumber(value_firstContentfulPaintMs) } - writeOnFoldStatusChangeInfo(value: OnFoldStatusChangeInfo): void { + public writeOnFoldStatusChangeInfo(value: OnFoldStatusChangeInfo): void { let valueSerializer : Serializer = this const value_foldStatus = value.foldStatus valueSerializer.writeInt32(TypeChecker.FoldStatus_ToNumeric(value_foldStatus)) } - writeOnOverScrollEvent(value: OnOverScrollEvent): void { + public writeOnOverScrollEvent(value: OnOverScrollEvent): void { let valueSerializer : Serializer = this const value_xOffset = value.xOffset valueSerializer.writeNumber(value_xOffset) const value_yOffset = value.yOffset valueSerializer.writeNumber(value_yOffset) } - writeOnProgressChangeEvent(value: OnProgressChangeEvent): void { + public writeOnProgressChangeEvent(value: OnProgressChangeEvent): void { let valueSerializer : Serializer = this const value_newProgress = value.newProgress valueSerializer.writeNumber(value_newProgress) } - writeOnScaleChangeEvent(value: OnScaleChangeEvent): void { + public writeOnScaleChangeEvent(value: OnScaleChangeEvent): void { let valueSerializer : Serializer = this const value_oldScale = value.oldScale valueSerializer.writeNumber(value_oldScale) const value_newScale = value.newScale valueSerializer.writeNumber(value_newScale) } - writeOnScrollEvent(value: OnScrollEvent): void { + public writeOnScrollEvent(value: OnScrollEvent): void { let valueSerializer : Serializer = this const value_xOffset = value.xOffset valueSerializer.writeNumber(value_xOffset) const value_yOffset = value.yOffset valueSerializer.writeNumber(value_yOffset) } - writeOnScrollFrameBeginHandlerResult(value: OnScrollFrameBeginHandlerResult): void { + public writeOnScrollFrameBeginHandlerResult(value: OnScrollFrameBeginHandlerResult): void { let valueSerializer : Serializer = this const value_offsetRemain = value.offsetRemain valueSerializer.writeNumber(value_offsetRemain) } - writeOnSearchResultReceiveEvent(value: OnSearchResultReceiveEvent): void { + public writeOnSearchResultReceiveEvent(value: OnSearchResultReceiveEvent): void { let valueSerializer : Serializer = this const value_activeMatchOrdinal = value.activeMatchOrdinal valueSerializer.writeNumber(value_activeMatchOrdinal) @@ -525,83 +525,92 @@ export class Serializer extends SerializerBase { const value_isDoneCounting = value.isDoneCounting valueSerializer.writeBoolean(value_isDoneCounting) } - writeOnShowFileSelectorEvent(value: OnShowFileSelectorEvent): void { + public writeOnShowFileSelectorEvent(value: OnShowFileSelectorEvent): void { let valueSerializer : Serializer = this const value_result = value.result valueSerializer.writeFileSelectorResult(value_result) const value_fileSelector = value.fileSelector valueSerializer.writeFileSelectorParam(value_fileSelector) } - writePanGestureInterface(value: PanGestureInterface): void { + public writePanGestureInterface(value: PanGestureInterface): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writePanGestureOptions(value: PanGestureOptions): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePanGestureOptions(value: PanGestureOptions): void { + public writePanRecognizer(value: PanRecognizer): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePanRecognizer(value: PanRecognizer): void { + public writePath2D(value: Path2D): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePath2D(value: Path2D): void { + public writePathShape(value: PathShape): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePathShape(value: PathShape): void { + public writePatternLockController(value: PatternLockController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePatternLockController(value: PatternLockController): void { + public writePermissionRequest(value: PermissionRequest): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePermissionRequest(value: PermissionRequest): void { + public writePinchGestureInterface(value: PinchGestureInterface): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePinchGestureInterface(value: PinchGestureInterface): void { + public writePinchRecognizer(value: PinchRecognizer): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePixelMap(value: PixelMap): void { + public writePixelMap(value: PixelMap): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePixelMapDrawableDescriptor(value: PixelMapDrawableDescriptor): void { + public writePixelMapDrawableDescriptor(value: PixelMapDrawableDescriptor): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePixelMapMock(value: PixelMapMock): void { + public writePixelMapMock(value: PixelMapMock): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePlaybackInfo(value: PlaybackInfo): void { + public writePlaybackInfo(value: PlaybackInfo): void { let valueSerializer : Serializer = this const value_time = value.time valueSerializer.writeNumber(value_time) } - writePositionWithAffinity(value: PositionWithAffinity): void { + public writePopupStateChangeParam(value: PopupStateChangeParam): void { + let valueSerializer : Serializer = this + const value_isVisible = value.isVisible + valueSerializer.writeBoolean(value_isVisible) + } + public writePositionWithAffinity(value: PositionWithAffinity): void { let valueSerializer : Serializer = this const value_position = value.position valueSerializer.writeNumber(value_position) const value_affinity = value.affinity valueSerializer.writeInt32(TypeChecker.Affinity_ToNumeric(value_affinity)) } - writePreparedInfo(value: PreparedInfo): void { + public writePreparedInfo(value: PreparedInfo): void { let valueSerializer : Serializer = this const value_duration = value.duration valueSerializer.writeNumber(value_duration) } - writeProgressMask(value: ProgressMask): void { + public writeProgressMask(value: ProgressMask): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePulseSymbolEffect(value: PulseSymbolEffect): void { + public writePulseSymbolEffect(value: PulseSymbolEffect): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRect(value: Rect): void { + public writeRect(value: Rect): void { let valueSerializer : Serializer = this const value_left = value.left valueSerializer.writeNumber(value_left) @@ -612,7 +621,7 @@ export class Serializer extends SerializerBase { const value_bottom = value.bottom valueSerializer.writeNumber(value_bottom) } - writeRectResult(value: RectResult): void { + public writeRectResult(value: RectResult): void { let valueSerializer : Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -623,37 +632,37 @@ export class Serializer extends SerializerBase { const value_height = value.height valueSerializer.writeNumber(value_height) } - writeRectShape(value: RectShape): void { + public writeRectShape(value: RectShape): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRichEditorAttribute(value: RichEditorAttribute): void { + public writeRichEditorAttribute(value: RichEditorAttribute): void { } - writeRichEditorBaseController(value: RichEditorBaseController): void { + public writeRichEditorBaseController(value: RichEditorBaseController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRichEditorController(value: RichEditorController): void { + public writeRichEditorController(value: RichEditorController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRichEditorOptions(value: RichEditorOptions): void { + public writeRichEditorOptions(value: RichEditorOptions): void { let valueSerializer : Serializer = this const value_controller = value.controller valueSerializer.writeRichEditorController(value_controller) } - writeRichEditorStyledStringController(value: RichEditorStyledStringController): void { + public writeRichEditorStyledStringController(value: RichEditorStyledStringController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRichEditorStyledStringOptions(value: RichEditorStyledStringOptions): void { + public writeRichEditorStyledStringOptions(value: RichEditorStyledStringOptions): void { let valueSerializer : Serializer = this const value_controller = value.controller valueSerializer.writeRichEditorStyledStringController(value_controller) } - writeRootSceneSession(value: RootSceneSession): void { + public writeRootSceneSession(value: RootSceneSession): void { } - writeRotateResult(value: RotateResult): void { + public writeRotateResult(value: RotateResult): void { let valueSerializer : Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -668,11 +677,15 @@ export class Serializer extends SerializerBase { const value_angle = value.angle valueSerializer.writeNumber(value_angle) } - writeRotationGestureInterface(value: RotationGestureInterface): void { + public writeRotationGestureInterface(value: RotationGestureInterface): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeRotationRecognizer(value: RotationRecognizer): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRRect(value: RRect): void { + public writeRRect(value: RRect): void { let valueSerializer : Serializer = this const value_left = value.left valueSerializer.writeNumber(value_left) @@ -685,7 +698,7 @@ export class Serializer extends SerializerBase { const value_radius = value.radius valueSerializer.writeNumber(value_radius) } - writeScaleResult(value: ScaleResult): void { + public writeScaleResult(value: ScaleResult): void { let valueSerializer : Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -698,84 +711,84 @@ export class Serializer extends SerializerBase { const value_centerY = value.centerY valueSerializer.writeNumber(value_centerY) } - writeScene(value: Scene): void { + public writeScene(value: Scene): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeScreenCaptureHandler(value: ScreenCaptureHandler): void { + public writeScreenCaptureHandler(value: ScreenCaptureHandler): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeScrollableTargetInfo(value: ScrollableTargetInfo): void { + public writeScrollableTargetInfo(value: ScrollableTargetInfo): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeScrollAttribute(value: ScrollAttribute): void { + public writeScrollAttribute(value: ScrollAttribute): void { } - writeScroller(value: Scroller): void { + public writeScroller(value: Scroller): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeScrollMotion(value: ScrollMotion): void { + public writeScrollMotion(value: ScrollMotion): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSearchAttribute(value: SearchAttribute): void { + public writeSearchAttribute(value: SearchAttribute): void { } - writeSearchController(value: SearchController): void { + public writeSearchController(value: SearchController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSelectAttribute(value: SelectAttribute): void { + public writeSelectAttribute(value: SelectAttribute): void { } - writeShapeAttribute(value: ShapeAttribute): void { + public writeShapeAttribute(value: ShapeAttribute): void { } - writeShapeClip(value: ShapeClip): void { + public writeShapeClip(value: ShapeClip): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeShapeMask(value: ShapeMask): void { + public writeShapeMask(value: ShapeMask): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSize(value: Size): void { + public writeSize(value: Size): void { let valueSerializer : Serializer = this const value_width = value.width valueSerializer.writeNumber(value_width) const value_height = value.height valueSerializer.writeNumber(value_height) } - writeSliderAttribute(value: SliderAttribute): void { + public writeSliderAttribute(value: SliderAttribute): void { } - writeSpringMotion(value: SpringMotion): void { + public writeSpringMotion(value: SpringMotion): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSpringProp(value: SpringProp): void { + public writeSpringProp(value: SpringProp): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSslErrorHandler(value: SslErrorHandler): void { + public writeSslErrorHandler(value: SslErrorHandler): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeStyledString(value: StyledString): void { + public writeStyledString(value: StyledString): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeStyledStringController(value: StyledStringController): void { + public writeStyledStringController(value: StyledStringController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSubmitEvent(value: SubmitEvent): void { + public writeSubmitEvent(value: SubmitEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSwipeGestureInterface(value: SwipeGestureInterface): void { + public writeSwipeGestureInterface(value: SwipeGestureInterface): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSwiperAnimationEvent(value: SwiperAnimationEvent): void { + public writeSwiperAnimationEvent(value: SwiperAnimationEvent): void { let valueSerializer : Serializer = this const value_currentOffset = value.currentOffset valueSerializer.writeNumber(value_currentOffset) @@ -784,29 +797,42 @@ export class Serializer extends SerializerBase { const value_velocity = value.velocity valueSerializer.writeNumber(value_velocity) } - writeSwiperAttribute(value: SwiperAttribute): void { + public writeSwiperAttribute(value: SwiperAttribute): void { + } + public writeSwiperContentTransitionProxy(value: SwiperContentTransitionProxy): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeSwiperContentWillScrollResult(value: SwiperContentWillScrollResult): void { + let valueSerializer : Serializer = this + const value_currentIndex = value.currentIndex + valueSerializer.writeNumber(value_currentIndex) + const value_comingIndex = value.comingIndex + valueSerializer.writeNumber(value_comingIndex) + const value_offset = value.offset + valueSerializer.writeNumber(value_offset) } - writeSwiperContentTransitionProxy(value: SwiperContentTransitionProxy): void { + public writeSwiperController(value: SwiperController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSwiperController(value: SwiperController): void { + public writeSwipeRecognizer(value: SwipeRecognizer): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSymbolEffect(value: SymbolEffect): void { + public writeSymbolEffect(value: SymbolEffect): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSymbolGlyphAttribute(value: SymbolGlyphAttribute): void { + public writeSymbolGlyphAttribute(value: SymbolGlyphAttribute): void { } - writeSymbolGlyphModifier(value: SymbolGlyphModifier): void { + public writeSymbolGlyphModifier(value: SymbolGlyphModifier): void { } - writeTabContentTransitionProxy(value: TabContentTransitionProxy): void { + public writeTabContentTransitionProxy(value: TabContentTransitionProxy): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTabsAnimationEvent(value: TabsAnimationEvent): void { + public writeTabsAnimationEvent(value: TabsAnimationEvent): void { let valueSerializer : Serializer = this const value_currentOffset = value.currentOffset valueSerializer.writeNumber(value_currentOffset) @@ -815,55 +841,59 @@ export class Serializer extends SerializerBase { const value_velocity = value.velocity valueSerializer.writeNumber(value_velocity) } - writeTabsAttribute(value: TabsAttribute): void { + public writeTabsAttribute(value: TabsAttribute): void { + } + public writeTabsController(value: TabsController): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) } - writeTabsController(value: TabsController): void { + public writeTapGestureInterface(value: TapGestureInterface): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTapGestureInterface(value: TapGestureInterface): void { + public writeTapRecognizer(value: TapRecognizer): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextAreaAttribute(value: TextAreaAttribute): void { + public writeTextAreaAttribute(value: TextAreaAttribute): void { } - writeTextAreaController(value: TextAreaController): void { + public writeTextAreaController(value: TextAreaController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextAttribute(value: TextAttribute): void { + public writeTextAttribute(value: TextAttribute): void { } - writeTextBaseController(value: TextBaseController): void { + public writeTextBaseController(value: TextBaseController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextClockController(value: TextClockController): void { + public writeTextClockController(value: TextClockController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextContentControllerBase(value: TextContentControllerBase): void { + public writeTextContentControllerBase(value: TextContentControllerBase): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextController(value: TextController): void { + public writeTextController(value: TextController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextEditControllerEx(value: TextEditControllerEx): void { + public writeTextEditControllerEx(value: TextEditControllerEx): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextInputAttribute(value: TextInputAttribute): void { + public writeTextInputAttribute(value: TextInputAttribute): void { } - writeTextInputController(value: TextInputController): void { + public writeTextInputController(value: TextInputController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextMenuItemId(value: TextMenuItemId): void { + public writeTextMenuItemId(value: TextMenuItemId): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextMetrics(value: TextMetrics): void { + public writeTextMetrics(value: TextMetrics): void { let valueSerializer : Serializer = this const value_actualBoundingBoxAscent = value.actualBoundingBoxAscent valueSerializer.writeNumber(value_actualBoundingBoxAscent) @@ -892,23 +922,23 @@ export class Serializer extends SerializerBase { const value_height = value.height valueSerializer.writeNumber(value_height) } - writeTextModifier(value: TextModifier): void { + public writeTextModifier(value: TextModifier): void { } - writeTextOptions(value: TextOptions): void { + public writeTextOptions(value: TextOptions): void { let valueSerializer : Serializer = this const value_controller = value.controller valueSerializer.writeTextController(value_controller) } - writeTextOverflowOptions(value: TextOverflowOptions): void { + public writeTextOverflowOptions(value: TextOverflowOptions): void { let valueSerializer : Serializer = this const value_overflow = value.overflow valueSerializer.writeInt32(TypeChecker.TextOverflow_ToNumeric(value_overflow)) } - writeTextTimerController(value: TextTimerController): void { + public writeTextTimerController(value: TextTimerController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTimePickerResult(value: TimePickerResult): void { + public writeTimePickerResult(value: TimePickerResult): void { let valueSerializer : Serializer = this const value_hour = value.hour valueSerializer.writeNumber(value_hour) @@ -917,7 +947,7 @@ export class Serializer extends SerializerBase { const value_second = value.second valueSerializer.writeNumber(value_second) } - writeTouchTestInfo(value: TouchTestInfo): void { + public writeTouchTestInfo(value: TouchTestInfo): void { let valueSerializer : Serializer = this const value_windowX = value.windowX valueSerializer.writeNumber(value_windowX) @@ -936,11 +966,11 @@ export class Serializer extends SerializerBase { const value_id = value.id valueSerializer.writeString(value_id) } - writeTransitionEffect(value: TransitionEffect): void { + public writeTransitionEffect(value: TransitionEffect): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTranslateResult(value: TranslateResult): void { + public writeTranslateResult(value: TranslateResult): void { let valueSerializer : Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -949,38 +979,38 @@ export class Serializer extends SerializerBase { const value_z = value.z valueSerializer.writeNumber(value_z) } - writeUICommonEvent(value: UICommonEvent): void { + public writeUICommonEvent(value: UICommonEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeUIContext(value: UIContext): void { + public writeUIContext(value: UIContext): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeUIExtensionProxy(value: UIExtensionProxy): void { + public writeUIExtensionProxy(value: UIExtensionProxy): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeUIGestureEvent(value: UIGestureEvent): void { + public writeUIGestureEvent(value: UIGestureEvent): void { } - writeUnifiedData(value: UnifiedData): void { + public writeUnifiedData(value: UnifiedData): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeUrlStyle(value: UrlStyle): void { + public writeUrlStyle(value: UrlStyle): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeUserDataSpan(value: UserDataSpan): void { + public writeUserDataSpan(value: UserDataSpan): void { } - writeVector2(value: Vector2): void { + public writeVector2(value: Vector2): void { let valueSerializer : Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) const value_y = value.y valueSerializer.writeNumber(value_y) } - writeVector3(value: Vector3): void { + public writeVector3(value: Vector3): void { let valueSerializer : Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -989,70 +1019,70 @@ export class Serializer extends SerializerBase { const value_z = value.z valueSerializer.writeNumber(value_z) } - writeVideoController(value: VideoController): void { + public writeVideoController(value: VideoController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeView(value: View): void { + public writeView(value: View): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeVisualEffect(value: VisualEffect): void { + public writeVisualEffect(value: VisualEffect): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWaterFlowAttribute(value: WaterFlowAttribute): void { + public writeWaterFlowAttribute(value: WaterFlowAttribute): void { } - writeWaterFlowSections(value: WaterFlowSections): void { + public writeWaterFlowSections(value: WaterFlowSections): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebAttribute(value: WebAttribute): void { + public writeWebAttribute(value: WebAttribute): void { } - writeWebContextMenuParam(value: WebContextMenuParam): void { + public writeWebContextMenuParam(value: WebContextMenuParam): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebContextMenuResult(value: WebContextMenuResult): void { + public writeWebContextMenuResult(value: WebContextMenuResult): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebController(value: WebController): void { + public writeWebController(value: WebController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebCookie(value: WebCookie): void { + public writeWebCookie(value: WebCookie): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebHeader(value: WebHeader): void { + public writeWebHeader(value: WebHeader): void { let valueSerializer : Serializer = this const value_headerKey = value.headerKey valueSerializer.writeString(value_headerKey) const value_headerValue = value.headerValue valueSerializer.writeString(value_headerValue) } - writeWebKeyboardController(value: WebKeyboardController): void { + public writeWebKeyboardController(value: WebKeyboardController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebResourceError(value: WebResourceError): void { + public writeWebResourceError(value: WebResourceError): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebResourceRequest(value: WebResourceRequest): void { + public writeWebResourceRequest(value: WebResourceRequest): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebResourceResponse(value: WebResourceResponse): void { + public writeWebResourceResponse(value: WebResourceResponse): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebviewController(value: WebviewController): void { + public writeWebviewController(value: WebviewController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWindowAnimationTarget(value: WindowAnimationTarget): void { + public writeWindowAnimationTarget(value: WindowAnimationTarget): void { let valueSerializer : Serializer = this const value_bundleName = value.bundleName valueSerializer.writeString(value_bundleName) @@ -1063,26 +1093,26 @@ export class Serializer extends SerializerBase { const value_missionId = value.missionId valueSerializer.writeNumber(value_missionId) } - writeWindowSceneAttribute(value: WindowSceneAttribute): void { + public writeWindowSceneAttribute(value: WindowSceneAttribute): void { } - writeWithThemeAttribute(value: WithThemeAttribute): void { + public writeWithThemeAttribute(value: WithThemeAttribute): void { } - writeWorkerEventListener(value: WorkerEventListener): void { + public writeWorkerEventListener(value: WorkerEventListener): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeAccessibilityOptions(value: AccessibilityOptions): void { + public writeAccessibilityOptions(value: AccessibilityOptions): void { let valueSerializer : Serializer = this const value_accessibilityPreferred = value.accessibilityPreferred let value_accessibilityPreferred_type : int32 = RuntimeType.UNDEFINED value_accessibilityPreferred_type = runtimeType(value_accessibilityPreferred) - valueSerializer.writeInt8(value_accessibilityPreferred_type as int32) + valueSerializer.writeInt8(value_accessibilityPreferred_type) if ((RuntimeType.UNDEFINED) != (value_accessibilityPreferred_type)) { const value_accessibilityPreferred_value = value_accessibilityPreferred! valueSerializer.writeBoolean(value_accessibilityPreferred_value) } } - writeAdsBlockedDetails(value: AdsBlockedDetails): void { + public writeAdsBlockedDetails(value: AdsBlockedDetails): void { let valueSerializer : Serializer = this const value_url = value.url valueSerializer.writeString(value_url) @@ -1093,7 +1123,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_adsBlocked_element) } } - writeAlphabetIndexerOptions(value: AlphabetIndexerOptions): void { + public writeAlphabetIndexerOptions(value: AlphabetIndexerOptions): void { let valueSerializer : Serializer = this const value_arrayValue = value.arrayValue valueSerializer.writeInt32(value_arrayValue.length as int32) @@ -1104,12 +1134,12 @@ export class Serializer extends SerializerBase { const value_selected = value.selected valueSerializer.writeNumber(value_selected) } - writeAnimationOptions(value: AnimationOptions): void { + public writeAnimationOptions(value: AnimationOptions): void { let valueSerializer : Serializer = this const value_duration = value.duration let value_duration_type : int32 = RuntimeType.UNDEFINED value_duration_type = runtimeType(value_duration) - valueSerializer.writeInt8(value_duration_type as int32) + valueSerializer.writeInt8(value_duration_type) if ((RuntimeType.UNDEFINED) != (value_duration_type)) { const value_duration_value = value_duration! valueSerializer.writeNumber(value_duration_value) @@ -1117,17 +1147,17 @@ export class Serializer extends SerializerBase { const value_iterations = value.iterations let value_iterations_type : int32 = RuntimeType.UNDEFINED value_iterations_type = runtimeType(value_iterations) - valueSerializer.writeInt8(value_iterations_type as int32) + valueSerializer.writeInt8(value_iterations_type) if ((RuntimeType.UNDEFINED) != (value_iterations_type)) { const value_iterations_value = value_iterations! valueSerializer.writeNumber(value_iterations_value) } } - writeAppearSymbolEffect(value: AppearSymbolEffect): void { + public writeAppearSymbolEffect(value: AppearSymbolEffect): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeASTCResource(value: ASTCResource): void { + public writeASTCResource(value: ASTCResource): void { let valueSerializer : Serializer = this const value_sources = value.sources valueSerializer.writeInt32(value_sources.length as int32) @@ -1138,14 +1168,38 @@ export class Serializer extends SerializerBase { const value_column = value.column valueSerializer.writeNumber(value_column) } - writeBackgroundBrightnessOptions(value: BackgroundBrightnessOptions): void { + public writeAutoPlayOptions(value: AutoPlayOptions): void { + let valueSerializer : Serializer = this + const value_stopWhenTouched = value.stopWhenTouched + valueSerializer.writeBoolean(value_stopWhenTouched) + } + public writeBackgroundBrightnessOptions(value: BackgroundBrightnessOptions): void { let valueSerializer : Serializer = this const value_rate = value.rate valueSerializer.writeNumber(value_rate) const value_lightUpDegree = value.lightUpDegree valueSerializer.writeNumber(value_lightUpDegree) } - writeBarrierStyle(value: BarrierStyle): void { + public writeBackgroundImageOptions(value: BackgroundImageOptions): void { + let valueSerializer : Serializer = this + const value_syncLoad = value.syncLoad + let value_syncLoad_type : int32 = RuntimeType.UNDEFINED + value_syncLoad_type = runtimeType(value_syncLoad) + valueSerializer.writeInt8(value_syncLoad_type) + if ((RuntimeType.UNDEFINED) != (value_syncLoad_type)) { + const value_syncLoad_value = value_syncLoad! + valueSerializer.writeBoolean(value_syncLoad_value) + } + const value_repeat = value.repeat + let value_repeat_type : int32 = RuntimeType.UNDEFINED + value_repeat_type = runtimeType(value_repeat) + valueSerializer.writeInt8(value_repeat_type) + if ((RuntimeType.UNDEFINED) != (value_repeat_type)) { + const value_repeat_value = (value_repeat as ImageRepeat) + valueSerializer.writeInt32(TypeChecker.ImageRepeat_ToNumeric(value_repeat_value)) + } + } + public writeBarrierStyle(value: BarrierStyle): void { let valueSerializer : Serializer = this const value_id = value.id valueSerializer.writeString(value_id) @@ -1158,20 +1212,20 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_referencedId_element) } } - writeBaseContext(value: BaseContext): void { + public writeBaseContext(value: BaseContext): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBaselineOffsetStyle(value: BaselineOffsetStyle): void { + public writeBaselineOffsetStyle(value: BaselineOffsetStyle): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBias(value: Bias): void { + public writeBias(value: Bias): void { let valueSerializer : Serializer = this const value_horizontal = value.horizontal let value_horizontal_type : int32 = RuntimeType.UNDEFINED value_horizontal_type = runtimeType(value_horizontal) - valueSerializer.writeInt8(value_horizontal_type as int32) + valueSerializer.writeInt8(value_horizontal_type) if ((RuntimeType.UNDEFINED) != (value_horizontal_type)) { const value_horizontal_value = value_horizontal! valueSerializer.writeNumber(value_horizontal_value) @@ -1179,13 +1233,13 @@ export class Serializer extends SerializerBase { const value_vertical = value.vertical let value_vertical_type : int32 = RuntimeType.UNDEFINED value_vertical_type = runtimeType(value_vertical) - valueSerializer.writeInt8(value_vertical_type as int32) + valueSerializer.writeInt8(value_vertical_type) if ((RuntimeType.UNDEFINED) != (value_vertical_type)) { const value_vertical_value = value_vertical! valueSerializer.writeNumber(value_vertical_value) } } - writeBlurOptions(value: BlurOptions): void { + public writeBlurOptions(value: BlurOptions): void { let valueSerializer : Serializer = this const value_grayscale = value.grayscale const value_grayscale_0 = value_grayscale[0] @@ -1193,7 +1247,7 @@ export class Serializer extends SerializerBase { const value_grayscale_1 = value_grayscale[1] valueSerializer.writeNumber(value_grayscale_1) } - writeBorderRadiuses_graphics(value: BorderRadiuses_graphics): void { + public writeBorderRadiuses_graphics(value: BorderRadiuses_graphics): void { let valueSerializer : Serializer = this const value_topLeft = value.topLeft valueSerializer.writeNumber(value_topLeft) @@ -1204,16 +1258,16 @@ export class Serializer extends SerializerBase { const value_bottomRight = value.bottomRight valueSerializer.writeNumber(value_bottomRight) } - writeBounceSymbolEffect(value: BounceSymbolEffect): void { + public writeBounceSymbolEffect(value: BounceSymbolEffect): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBreakPoints(value: BreakPoints): void { + public writeBreakPoints(value: BreakPoints): void { let valueSerializer : Serializer = this const value_value = value.value let value_value_type : int32 = RuntimeType.UNDEFINED value_value_type = runtimeType(value_value) - valueSerializer.writeInt8(value_value_type as int32) + valueSerializer.writeInt8(value_value_type) if ((RuntimeType.UNDEFINED) != (value_value_type)) { const value_value_value = value_value! valueSerializer.writeInt32(value_value_value.length as int32) @@ -1225,13 +1279,13 @@ export class Serializer extends SerializerBase { const value_reference = value.reference let value_reference_type : int32 = RuntimeType.UNDEFINED value_reference_type = runtimeType(value_reference) - valueSerializer.writeInt8(value_reference_type as int32) + valueSerializer.writeInt8(value_reference_type) if ((RuntimeType.UNDEFINED) != (value_reference_type)) { const value_reference_value = (value_reference as BreakpointsReference) valueSerializer.writeInt32(TypeChecker.BreakpointsReference_ToNumeric(value_reference_value)) } } - writeBrightnessBlender(value: BrightnessBlender): void { + public writeBrightnessBlender(value: BrightnessBlender): void { let valueSerializer : Serializer = this const value_cubicRate = value.cubicRate valueSerializer.writeNumber(value_cubicRate) @@ -1260,7 +1314,7 @@ export class Serializer extends SerializerBase { const value_fraction = value.fraction valueSerializer.writeNumber(value_fraction) } - writeBusinessError(value: BusinessError): void { + public writeBusinessError(value: BusinessError): void { let valueSerializer : Serializer = this const value_name = value.name valueSerializer.writeString(value_name) @@ -1269,7 +1323,7 @@ export class Serializer extends SerializerBase { const value_stack = value.stack let value_stack_type : int32 = RuntimeType.UNDEFINED value_stack_type = runtimeType(value_stack) - valueSerializer.writeInt8(value_stack_type as int32) + valueSerializer.writeInt8(value_stack_type) if ((RuntimeType.UNDEFINED) != (value_stack_type)) { const value_stack_value = value_stack! valueSerializer.writeString(value_stack_value) @@ -1277,12 +1331,12 @@ export class Serializer extends SerializerBase { const value_code = value.code valueSerializer.writeNumber(value_code) } - writeButtonOptions(value: ButtonOptions): void { + public writeButtonOptions(value: ButtonOptions): void { let valueSerializer : Serializer = this const value_type = value.type let value_type_type : int32 = RuntimeType.UNDEFINED value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type as int32) + valueSerializer.writeInt8(value_type_type) if ((RuntimeType.UNDEFINED) != (value_type_type)) { const value_type_value = (value_type as ButtonType) valueSerializer.writeInt32(TypeChecker.ButtonType_ToNumeric(value_type_value)) @@ -1290,7 +1344,7 @@ export class Serializer extends SerializerBase { const value_stateEffect = value.stateEffect let value_stateEffect_type : int32 = RuntimeType.UNDEFINED value_stateEffect_type = runtimeType(value_stateEffect) - valueSerializer.writeInt8(value_stateEffect_type as int32) + valueSerializer.writeInt8(value_stateEffect_type) if ((RuntimeType.UNDEFINED) != (value_stateEffect_type)) { const value_stateEffect_value = value_stateEffect! valueSerializer.writeBoolean(value_stateEffect_value) @@ -1298,7 +1352,7 @@ export class Serializer extends SerializerBase { const value_buttonStyle = value.buttonStyle let value_buttonStyle_type : int32 = RuntimeType.UNDEFINED value_buttonStyle_type = runtimeType(value_buttonStyle) - valueSerializer.writeInt8(value_buttonStyle_type as int32) + valueSerializer.writeInt8(value_buttonStyle_type) if ((RuntimeType.UNDEFINED) != (value_buttonStyle_type)) { const value_buttonStyle_value = (value_buttonStyle as ButtonStyleMode) valueSerializer.writeInt32(TypeChecker.ButtonStyleMode_ToNumeric(value_buttonStyle_value)) @@ -1306,7 +1360,7 @@ export class Serializer extends SerializerBase { const value_controlSize = value.controlSize let value_controlSize_type : int32 = RuntimeType.UNDEFINED value_controlSize_type = runtimeType(value_controlSize) - valueSerializer.writeInt8(value_controlSize_type as int32) + valueSerializer.writeInt8(value_controlSize_type) if ((RuntimeType.UNDEFINED) != (value_controlSize_type)) { const value_controlSize_value = (value_controlSize as ControlSize) valueSerializer.writeInt32(TypeChecker.ControlSize_ToNumeric(value_controlSize_value)) @@ -1314,13 +1368,13 @@ export class Serializer extends SerializerBase { const value_role = value.role let value_role_type : int32 = RuntimeType.UNDEFINED value_role_type = runtimeType(value_role) - valueSerializer.writeInt8(value_role_type as int32) + valueSerializer.writeInt8(value_role_type) if ((RuntimeType.UNDEFINED) != (value_role_type)) { const value_role_value = (value_role as ButtonRole) valueSerializer.writeInt32(TypeChecker.ButtonRole_ToNumeric(value_role_value)) } } - writeCalendarDay(value: CalendarDay): void { + public writeCalendarDay(value: CalendarDay): void { let valueSerializer : Serializer = this const value_index = value.index valueSerializer.writeNumber(value_index) @@ -1345,7 +1399,7 @@ export class Serializer extends SerializerBase { const value_markLunarDay = value.markLunarDay valueSerializer.writeBoolean(value_markLunarDay) } - writeCalendarRequestedData(value: CalendarRequestedData): void { + public writeCalendarRequestedData(value: CalendarRequestedData): void { let valueSerializer : Serializer = this const value_year = value.year valueSerializer.writeNumber(value_year) @@ -1358,7 +1412,7 @@ export class Serializer extends SerializerBase { const value_monthState = value.monthState valueSerializer.writeNumber(value_monthState) } - writeCalendarSelectedDate(value: CalendarSelectedDate): void { + public writeCalendarSelectedDate(value: CalendarSelectedDate): void { let valueSerializer : Serializer = this const value_year = value.year valueSerializer.writeNumber(value_year) @@ -1367,12 +1421,12 @@ export class Serializer extends SerializerBase { const value_day = value.day valueSerializer.writeNumber(value_day) } - writeCancelButtonSymbolOptions(value: CancelButtonSymbolOptions): void { + public writeCancelButtonSymbolOptions(value: CancelButtonSymbolOptions): void { let valueSerializer : Serializer = this const value_style = value.style let value_style_type : int32 = RuntimeType.UNDEFINED value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) + valueSerializer.writeInt8(value_style_type) if ((RuntimeType.UNDEFINED) != (value_style_type)) { const value_style_value = (value_style as CancelButtonStyle) valueSerializer.writeInt32(TypeChecker.CancelButtonStyle_ToNumeric(value_style_value)) @@ -1380,21 +1434,13 @@ export class Serializer extends SerializerBase { const value_icon = value.icon let value_icon_type : int32 = RuntimeType.UNDEFINED value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) + valueSerializer.writeInt8(value_icon_type) if ((RuntimeType.UNDEFINED) != (value_icon_type)) { const value_icon_value = value_icon! valueSerializer.writeSymbolGlyphModifier(value_icon_value) } } - writeCanvasRenderer(value: CanvasRenderer): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeCanvasRenderingContext2D(value: CanvasRenderingContext2D): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeCaretOffset(value: CaretOffset): void { + public writeCaretOffset(value: CaretOffset): void { let valueSerializer : Serializer = this const value_index = value.index valueSerializer.writeNumber(value_index) @@ -1403,12 +1449,12 @@ export class Serializer extends SerializerBase { const value_y = value.y valueSerializer.writeNumber(value_y) } - writeChainWeightOptions(value: ChainWeightOptions): void { + public writeChainWeightOptions(value: ChainWeightOptions): void { let valueSerializer : Serializer = this const value_horizontal = value.horizontal let value_horizontal_type : int32 = RuntimeType.UNDEFINED value_horizontal_type = runtimeType(value_horizontal) - valueSerializer.writeInt8(value_horizontal_type as int32) + valueSerializer.writeInt8(value_horizontal_type) if ((RuntimeType.UNDEFINED) != (value_horizontal_type)) { const value_horizontal_value = value_horizontal! valueSerializer.writeNumber(value_horizontal_value) @@ -1416,24 +1462,24 @@ export class Serializer extends SerializerBase { const value_vertical = value.vertical let value_vertical_type : int32 = RuntimeType.UNDEFINED value_vertical_type = runtimeType(value_vertical) - valueSerializer.writeInt8(value_vertical_type as int32) + valueSerializer.writeInt8(value_vertical_type) if ((RuntimeType.UNDEFINED) != (value_vertical_type)) { const value_vertical_value = value_vertical! valueSerializer.writeNumber(value_vertical_value) } } - writeCheckboxGroupOptions(value: CheckboxGroupOptions): void { + public writeCheckboxGroupOptions(value: CheckboxGroupOptions): void { let valueSerializer : Serializer = this const value_group = value.group let value_group_type : int32 = RuntimeType.UNDEFINED value_group_type = runtimeType(value_group) - valueSerializer.writeInt8(value_group_type as int32) + valueSerializer.writeInt8(value_group_type) if ((RuntimeType.UNDEFINED) != (value_group_type)) { const value_group_value = value_group! valueSerializer.writeString(value_group_value) } } - writeCheckboxGroupResult(value: CheckboxGroupResult): void { + public writeCheckboxGroupResult(value: CheckboxGroupResult): void { let valueSerializer : Serializer = this const value_name = value.name valueSerializer.writeInt32(value_name.length as int32) @@ -1444,12 +1490,12 @@ export class Serializer extends SerializerBase { const value_status = value.status valueSerializer.writeInt32(TypeChecker.SelectStatus_ToNumeric(value_status)) } - writeCheckboxOptions(value: CheckboxOptions): void { + public writeCheckboxOptions(value: CheckboxOptions): void { let valueSerializer : Serializer = this const value_name = value.name let value_name_type : int32 = RuntimeType.UNDEFINED value_name_type = runtimeType(value_name) - valueSerializer.writeInt8(value_name_type as int32) + valueSerializer.writeInt8(value_name_type) if ((RuntimeType.UNDEFINED) != (value_name_type)) { const value_name_value = value_name! valueSerializer.writeString(value_name_value) @@ -1457,7 +1503,7 @@ export class Serializer extends SerializerBase { const value_group = value.group let value_group_type : int32 = RuntimeType.UNDEFINED value_group_type = runtimeType(value_group) - valueSerializer.writeInt8(value_group_type as int32) + valueSerializer.writeInt8(value_group_type) if ((RuntimeType.UNDEFINED) != (value_group_type)) { const value_group_value = value_group! valueSerializer.writeString(value_group_value) @@ -1465,17 +1511,17 @@ export class Serializer extends SerializerBase { const value_indicatorBuilder = value.indicatorBuilder let value_indicatorBuilder_type : int32 = RuntimeType.UNDEFINED value_indicatorBuilder_type = runtimeType(value_indicatorBuilder) - valueSerializer.writeInt8(value_indicatorBuilder_type as int32) + valueSerializer.writeInt8(value_indicatorBuilder_type) if ((RuntimeType.UNDEFINED) != (value_indicatorBuilder_type)) { const value_indicatorBuilder_value = value_indicatorBuilder! valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_indicatorBuilder_value)) } } - writeChildrenMainSize(value: ChildrenMainSize): void { + public writeChildrenMainSize(value: ChildrenMainSize): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCircle(value: Circle): void { + public writeCircle(value: Circle): void { let valueSerializer : Serializer = this const value_centerX = value.centerX valueSerializer.writeNumber(value_centerX) @@ -1484,23 +1530,23 @@ export class Serializer extends SerializerBase { const value_radius = value.radius valueSerializer.writeNumber(value_radius) } - writeCircleOptions(value: CircleOptions): void { + public writeCircleOptions(value: CircleOptions): void { let valueSerializer : Serializer = this const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! let value_width_value_type : int32 = RuntimeType.UNDEFINED value_width_value_type = runtimeType(value_width_value) if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_width_value_0 = value_width_value as string valueSerializer.writeString(value_width_value_0) } else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1 = value_width_value as number valueSerializer.writeNumber(value_width_value_1) } @@ -1508,79 +1554,84 @@ export class Serializer extends SerializerBase { const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! let value_height_value_type : int32 = RuntimeType.UNDEFINED value_height_value_type = runtimeType(value_height_value) if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_height_value_0 = value_height_value as string valueSerializer.writeString(value_height_value_0) } else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_height_value_1 = value_height_value as number valueSerializer.writeNumber(value_height_value_1) } } } - writeClickEffect(value: ClickEffect): void { + public writeClickEffect(value: ClickEffect): void { let valueSerializer : Serializer = this const value_level = value.level valueSerializer.writeInt32(TypeChecker.ClickEffectLevel_ToNumeric(value_level)) const value_scale = value.scale let value_scale_type : int32 = RuntimeType.UNDEFINED value_scale_type = runtimeType(value_scale) - valueSerializer.writeInt8(value_scale_type as int32) + valueSerializer.writeInt8(value_scale_type) if ((RuntimeType.UNDEFINED) != (value_scale_type)) { const value_scale_value = value_scale! valueSerializer.writeNumber(value_scale_value) } } - writeCloseSwipeActionOptions(value: CloseSwipeActionOptions): void { + public writeCloseSwipeActionOptions(value: CloseSwipeActionOptions): void { let valueSerializer : Serializer = this const value_onFinish = value.onFinish let value_onFinish_type : int32 = RuntimeType.UNDEFINED value_onFinish_type = runtimeType(value_onFinish) - valueSerializer.writeInt8(value_onFinish_type as int32) + valueSerializer.writeInt8(value_onFinish_type) if ((RuntimeType.UNDEFINED) != (value_onFinish_type)) { const value_onFinish_value = value_onFinish! valueSerializer.holdAndWriteCallback(value_onFinish_value) } } - writeColorMetrics(value: ColorMetrics): void { + public writeColorMetrics(value: ColorMetrics): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeColumnOptions(value: ColumnOptions): void { + public writeColumnOptions(value: ColumnOptions): void { let valueSerializer : Serializer = this const value_space = value.space let value_space_type : int32 = RuntimeType.UNDEFINED value_space_type = runtimeType(value_space) - valueSerializer.writeInt8(value_space_type as int32) + valueSerializer.writeInt8(value_space_type) if ((RuntimeType.UNDEFINED) != (value_space_type)) { const value_space_value = value_space! let value_space_value_type : int32 = RuntimeType.UNDEFINED value_space_value_type = runtimeType(value_space_value) if (RuntimeType.STRING == value_space_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_space_value_0 = value_space_value as string valueSerializer.writeString(value_space_value_0) } else if (RuntimeType.NUMBER == value_space_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_space_value_1 = value_space_value as number valueSerializer.writeNumber(value_space_value_1) } } } - writeCommandPath(value: CommandPath): void { + public writeColumnOptionsV2(value: ColumnOptionsV2): void { + let valueSerializer : Serializer = this + const value_stub = value.stub + valueSerializer.writeString(value_stub) + } + public writeCommandPath(value: CommandPath): void { let valueSerializer : Serializer = this const value_commands = value.commands valueSerializer.writeString(value_commands) } - writecommon2D_Color(value: common2D.Color): void { + public writecommon2D_Color(value: common2D.Color): void { let valueSerializer : Serializer = this const value_alpha = value.alpha valueSerializer.writeNumber(value_alpha) @@ -1591,43 +1642,48 @@ export class Serializer extends SerializerBase { const value_blue = value.blue valueSerializer.writeNumber(value_blue) } - writecommon2D_Point(value: common2D.Point): void { + public writecommon2D_Point(value: common2D.Point): void { let valueSerializer : Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) const value_y = value.y valueSerializer.writeNumber(value_y) } - writeCommonConfiguration(value: CommonConfiguration): void { + public writeCommonConfiguration(value: CommonConfiguration): void { let valueSerializer : Serializer = this const value_enabled = value.enabled valueSerializer.writeBoolean(value_enabled) const value_contentModifier = value.contentModifier valueSerializer.holdAndWriteObject(value_contentModifier) } - writeComputedBarAttribute(value: ComputedBarAttribute): void { + public writeCommonModifier(value: CommonModifier): void { + let valueSerializer : Serializer = this + const value__CommonModifierStub = value._CommonModifierStub + valueSerializer.writeString(value__CommonModifierStub) + } + public writeComputedBarAttribute(value: ComputedBarAttribute): void { let valueSerializer : Serializer = this const value_totalOffset = value.totalOffset valueSerializer.writeNumber(value_totalOffset) const value_totalLength = value.totalLength valueSerializer.writeNumber(value_totalLength) } - writeContext(value: Context): void { + public writeContext(value: Context): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCopyEvent(value: CopyEvent): void { + public writeCopyEvent(value: CopyEvent): void { let valueSerializer : Serializer = this const value_preventDefault = value.preventDefault let value_preventDefault_type : int32 = RuntimeType.UNDEFINED value_preventDefault_type = runtimeType(value_preventDefault) - valueSerializer.writeInt8(value_preventDefault_type as int32) + valueSerializer.writeInt8(value_preventDefault_type) if ((RuntimeType.UNDEFINED) != (value_preventDefault_type)) { const value_preventDefault_value = value_preventDefault! valueSerializer.holdAndWriteCallback(value_preventDefault_value) } } - writeCornerRadius(value: CornerRadius): void { + public writeCornerRadius(value: CornerRadius): void { let valueSerializer : Serializer = this const value_topLeft = value.topLeft valueSerializer.writeVector2(value_topLeft) @@ -1638,29 +1694,42 @@ export class Serializer extends SerializerBase { const value_bottomRight = value.bottomRight valueSerializer.writeVector2(value_bottomRight) } - writeCustomDialogBuildOptions(value: CustomDialogBuildOptions): void { + public writeCrownEvent(value: CrownEvent): void { + let valueSerializer : Serializer = this + const value_timestamp = value.timestamp + valueSerializer.writeInt64(value_timestamp) + const value_angularVelocity = value.angularVelocity + valueSerializer.writeNumber(value_angularVelocity) + const value_degree = value.degree + valueSerializer.writeNumber(value_degree) + const value_action = value.action + valueSerializer.writeInt32(TypeChecker.CrownAction_ToNumeric(value_action)) + const value_stopPropagation = value.stopPropagation + valueSerializer.holdAndWriteCallback(value_stopPropagation) + } + public writeCustomDialogBuildOptions(value: CustomDialogBuildOptions): void { let valueSerializer : Serializer = this const value_controller = value.controller let value_controller_type : int32 = RuntimeType.UNDEFINED value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type as int32) + valueSerializer.writeInt8(value_controller_type) if ((RuntimeType.UNDEFINED) != (value_controller_type)) { const value_controller_value = value_controller! valueSerializer.writeCustomDialogController(value_controller_value) } } - writeCustomDialogControllerBuilder(value: CustomDialogControllerBuilder): void { + public writeCustomDialogControllerBuilder(value: CustomDialogControllerBuilder): void { let valueSerializer : Serializer = this const value_buildOptions = value.buildOptions valueSerializer.writeCustomDialogBuildOptions(value_buildOptions) const value_build = value.build valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_build)) } - writeCustomSpan(value: CustomSpan): void { + public writeCustomSpan(value: CustomSpan): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCustomSpanDrawInfo(value: CustomSpanDrawInfo): void { + public writeCustomSpanDrawInfo(value: CustomSpanDrawInfo): void { let valueSerializer : Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -1671,36 +1740,36 @@ export class Serializer extends SerializerBase { const value_baseline = value.baseline valueSerializer.writeNumber(value_baseline) } - writeCustomSpanMeasureInfo(value: CustomSpanMeasureInfo): void { + public writeCustomSpanMeasureInfo(value: CustomSpanMeasureInfo): void { let valueSerializer : Serializer = this const value_fontSize = value.fontSize valueSerializer.writeNumber(value_fontSize) } - writeCustomSpanMetrics(value: CustomSpanMetrics): void { + public writeCustomSpanMetrics(value: CustomSpanMetrics): void { let valueSerializer : Serializer = this const value_width = value.width valueSerializer.writeNumber(value_width) const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! valueSerializer.writeNumber(value_height_value) } } - writeCutEvent(value: CutEvent): void { + public writeCutEvent(value: CutEvent): void { let valueSerializer : Serializer = this const value_preventDefault = value.preventDefault let value_preventDefault_type : int32 = RuntimeType.UNDEFINED value_preventDefault_type = runtimeType(value_preventDefault) - valueSerializer.writeInt8(value_preventDefault_type as int32) + valueSerializer.writeInt8(value_preventDefault_type) if ((RuntimeType.UNDEFINED) != (value_preventDefault_type)) { const value_preventDefault_value = value_preventDefault! valueSerializer.holdAndWriteCallback(value_preventDefault_value) } } - writeDataPanelOptions(value: DataPanelOptions): void { + public writeDataPanelOptions(value: DataPanelOptions): void { let valueSerializer : Serializer = this const value_values = value.values valueSerializer.writeInt32(value_values.length as int32) @@ -1711,7 +1780,7 @@ export class Serializer extends SerializerBase { const value_max = value.max let value_max_type : int32 = RuntimeType.UNDEFINED value_max_type = runtimeType(value_max) - valueSerializer.writeInt8(value_max_type as int32) + valueSerializer.writeInt8(value_max_type) if ((RuntimeType.UNDEFINED) != (value_max_type)) { const value_max_value = value_max! valueSerializer.writeNumber(value_max_value) @@ -1719,18 +1788,23 @@ export class Serializer extends SerializerBase { const value_type = value.type let value_type_type : int32 = RuntimeType.UNDEFINED value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type as int32) + valueSerializer.writeInt8(value_type_type) if ((RuntimeType.UNDEFINED) != (value_type_type)) { const value_type_value = (value_type as DataPanelType) valueSerializer.writeInt32(TypeChecker.DataPanelType_ToNumeric(value_type_value)) } } - writeDatePickerOptions(value: DatePickerOptions): void { + public writeDataSyncOptions(value: DataSyncOptions): void { + let valueSerializer : Serializer = this + const value__DataSyncOptionsStub = value._DataSyncOptionsStub + valueSerializer.writeString(value__DataSyncOptionsStub) + } + public writeDatePickerOptions(value: DatePickerOptions): void { let valueSerializer : Serializer = this const value_start = value.start let value_start_type : int32 = RuntimeType.UNDEFINED value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) + valueSerializer.writeInt8(value_start_type) if ((RuntimeType.UNDEFINED) != (value_start_type)) { const value_start_value = value_start! valueSerializer.writeInt64((value_start_value.getTime() as int64)) @@ -1738,7 +1812,7 @@ export class Serializer extends SerializerBase { const value_end = value.end let value_end_type : int32 = RuntimeType.UNDEFINED value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) + valueSerializer.writeInt8(value_end_type) if ((RuntimeType.UNDEFINED) != (value_end_type)) { const value_end_value = value_end! valueSerializer.writeInt64((value_end_value.getTime() as int64)) @@ -1746,18 +1820,26 @@ export class Serializer extends SerializerBase { const value_selected = value.selected let value_selected_type : int32 = RuntimeType.UNDEFINED value_selected_type = runtimeType(value_selected) - valueSerializer.writeInt8(value_selected_type as int32) + valueSerializer.writeInt8(value_selected_type) if ((RuntimeType.UNDEFINED) != (value_selected_type)) { const value_selected_value = value_selected! valueSerializer.writeInt64((value_selected_value.getTime() as int64)) } + const value_mode = value.mode + let value_mode_type : int32 = RuntimeType.UNDEFINED + value_mode_type = runtimeType(value_mode) + valueSerializer.writeInt8(value_mode_type) + if ((RuntimeType.UNDEFINED) != (value_mode_type)) { + const value_mode_value = (value_mode as DatePickerMode) + valueSerializer.writeInt32(TypeChecker.DatePickerMode_ToNumeric(value_mode_value)) + } } - writeDatePickerResult(value: DatePickerResult): void { + public writeDatePickerResult(value: DatePickerResult): void { let valueSerializer : Serializer = this const value_year = value.year let value_year_type : int32 = RuntimeType.UNDEFINED value_year_type = runtimeType(value_year) - valueSerializer.writeInt8(value_year_type as int32) + valueSerializer.writeInt8(value_year_type) if ((RuntimeType.UNDEFINED) != (value_year_type)) { const value_year_value = value_year! valueSerializer.writeNumber(value_year_value) @@ -1765,7 +1847,7 @@ export class Serializer extends SerializerBase { const value_month = value.month let value_month_type : int32 = RuntimeType.UNDEFINED value_month_type = runtimeType(value_month) - valueSerializer.writeInt8(value_month_type as int32) + valueSerializer.writeInt8(value_month_type) if ((RuntimeType.UNDEFINED) != (value_month_type)) { const value_month_value = value_month! valueSerializer.writeNumber(value_month_value) @@ -1773,18 +1855,37 @@ export class Serializer extends SerializerBase { const value_day = value.day let value_day_type : int32 = RuntimeType.UNDEFINED value_day_type = runtimeType(value_day) - valueSerializer.writeInt8(value_day_type as int32) + valueSerializer.writeInt8(value_day_type) if ((RuntimeType.UNDEFINED) != (value_day_type)) { const value_day_value = value_day! valueSerializer.writeNumber(value_day_value) } } - writeDateTimeOptions(value: DateTimeOptions): void { + public writeDateRange(value: DateRange): void { + let valueSerializer : Serializer = this + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeInt64((value_start_value.getTime() as int64)) + } + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeInt64((value_end_value.getTime() as int64)) + } + } + public writeDateTimeOptions(value: DateTimeOptions): void { let valueSerializer : Serializer = this const value_locale = value.locale let value_locale_type : int32 = RuntimeType.UNDEFINED value_locale_type = runtimeType(value_locale) - valueSerializer.writeInt8(value_locale_type as int32) + valueSerializer.writeInt8(value_locale_type) if ((RuntimeType.UNDEFINED) != (value_locale_type)) { const value_locale_value = value_locale! valueSerializer.writeString(value_locale_value) @@ -1792,7 +1893,7 @@ export class Serializer extends SerializerBase { const value_dateStyle = value.dateStyle let value_dateStyle_type : int32 = RuntimeType.UNDEFINED value_dateStyle_type = runtimeType(value_dateStyle) - valueSerializer.writeInt8(value_dateStyle_type as int32) + valueSerializer.writeInt8(value_dateStyle_type) if ((RuntimeType.UNDEFINED) != (value_dateStyle_type)) { const value_dateStyle_value = value_dateStyle! valueSerializer.writeString(value_dateStyle_value) @@ -1800,7 +1901,7 @@ export class Serializer extends SerializerBase { const value_timeStyle = value.timeStyle let value_timeStyle_type : int32 = RuntimeType.UNDEFINED value_timeStyle_type = runtimeType(value_timeStyle) - valueSerializer.writeInt8(value_timeStyle_type as int32) + valueSerializer.writeInt8(value_timeStyle_type) if ((RuntimeType.UNDEFINED) != (value_timeStyle_type)) { const value_timeStyle_value = value_timeStyle! valueSerializer.writeString(value_timeStyle_value) @@ -1808,7 +1909,7 @@ export class Serializer extends SerializerBase { const value_hourCycle = value.hourCycle let value_hourCycle_type : int32 = RuntimeType.UNDEFINED value_hourCycle_type = runtimeType(value_hourCycle) - valueSerializer.writeInt8(value_hourCycle_type as int32) + valueSerializer.writeInt8(value_hourCycle_type) if ((RuntimeType.UNDEFINED) != (value_hourCycle_type)) { const value_hourCycle_value = value_hourCycle! valueSerializer.writeString(value_hourCycle_value) @@ -1816,7 +1917,7 @@ export class Serializer extends SerializerBase { const value_timeZone = value.timeZone let value_timeZone_type : int32 = RuntimeType.UNDEFINED value_timeZone_type = runtimeType(value_timeZone) - valueSerializer.writeInt8(value_timeZone_type as int32) + valueSerializer.writeInt8(value_timeZone_type) if ((RuntimeType.UNDEFINED) != (value_timeZone_type)) { const value_timeZone_value = value_timeZone! valueSerializer.writeString(value_timeZone_value) @@ -1824,7 +1925,7 @@ export class Serializer extends SerializerBase { const value_numberingSystem = value.numberingSystem let value_numberingSystem_type : int32 = RuntimeType.UNDEFINED value_numberingSystem_type = runtimeType(value_numberingSystem) - valueSerializer.writeInt8(value_numberingSystem_type as int32) + valueSerializer.writeInt8(value_numberingSystem_type) if ((RuntimeType.UNDEFINED) != (value_numberingSystem_type)) { const value_numberingSystem_value = value_numberingSystem! valueSerializer.writeString(value_numberingSystem_value) @@ -1832,7 +1933,7 @@ export class Serializer extends SerializerBase { const value_hour12 = value.hour12 let value_hour12_type : int32 = RuntimeType.UNDEFINED value_hour12_type = runtimeType(value_hour12) - valueSerializer.writeInt8(value_hour12_type as int32) + valueSerializer.writeInt8(value_hour12_type) if ((RuntimeType.UNDEFINED) != (value_hour12_type)) { const value_hour12_value = value_hour12! valueSerializer.writeBoolean(value_hour12_value) @@ -1840,7 +1941,7 @@ export class Serializer extends SerializerBase { const value_weekday = value.weekday let value_weekday_type : int32 = RuntimeType.UNDEFINED value_weekday_type = runtimeType(value_weekday) - valueSerializer.writeInt8(value_weekday_type as int32) + valueSerializer.writeInt8(value_weekday_type) if ((RuntimeType.UNDEFINED) != (value_weekday_type)) { const value_weekday_value = value_weekday! valueSerializer.writeString(value_weekday_value) @@ -1848,7 +1949,7 @@ export class Serializer extends SerializerBase { const value_era = value.era let value_era_type : int32 = RuntimeType.UNDEFINED value_era_type = runtimeType(value_era) - valueSerializer.writeInt8(value_era_type as int32) + valueSerializer.writeInt8(value_era_type) if ((RuntimeType.UNDEFINED) != (value_era_type)) { const value_era_value = value_era! valueSerializer.writeString(value_era_value) @@ -1856,7 +1957,7 @@ export class Serializer extends SerializerBase { const value_year = value.year let value_year_type : int32 = RuntimeType.UNDEFINED value_year_type = runtimeType(value_year) - valueSerializer.writeInt8(value_year_type as int32) + valueSerializer.writeInt8(value_year_type) if ((RuntimeType.UNDEFINED) != (value_year_type)) { const value_year_value = value_year! valueSerializer.writeString(value_year_value) @@ -1864,7 +1965,7 @@ export class Serializer extends SerializerBase { const value_month = value.month let value_month_type : int32 = RuntimeType.UNDEFINED value_month_type = runtimeType(value_month) - valueSerializer.writeInt8(value_month_type as int32) + valueSerializer.writeInt8(value_month_type) if ((RuntimeType.UNDEFINED) != (value_month_type)) { const value_month_value = value_month! valueSerializer.writeString(value_month_value) @@ -1872,7 +1973,7 @@ export class Serializer extends SerializerBase { const value_day = value.day let value_day_type : int32 = RuntimeType.UNDEFINED value_day_type = runtimeType(value_day) - valueSerializer.writeInt8(value_day_type as int32) + valueSerializer.writeInt8(value_day_type) if ((RuntimeType.UNDEFINED) != (value_day_type)) { const value_day_value = value_day! valueSerializer.writeString(value_day_value) @@ -1880,7 +1981,7 @@ export class Serializer extends SerializerBase { const value_hour = value.hour let value_hour_type : int32 = RuntimeType.UNDEFINED value_hour_type = runtimeType(value_hour) - valueSerializer.writeInt8(value_hour_type as int32) + valueSerializer.writeInt8(value_hour_type) if ((RuntimeType.UNDEFINED) != (value_hour_type)) { const value_hour_value = value_hour! valueSerializer.writeString(value_hour_value) @@ -1888,7 +1989,7 @@ export class Serializer extends SerializerBase { const value_minute = value.minute let value_minute_type : int32 = RuntimeType.UNDEFINED value_minute_type = runtimeType(value_minute) - valueSerializer.writeInt8(value_minute_type as int32) + valueSerializer.writeInt8(value_minute_type) if ((RuntimeType.UNDEFINED) != (value_minute_type)) { const value_minute_value = value_minute! valueSerializer.writeString(value_minute_value) @@ -1896,7 +1997,7 @@ export class Serializer extends SerializerBase { const value_second = value.second let value_second_type : int32 = RuntimeType.UNDEFINED value_second_type = runtimeType(value_second) - valueSerializer.writeInt8(value_second_type as int32) + valueSerializer.writeInt8(value_second_type) if ((RuntimeType.UNDEFINED) != (value_second_type)) { const value_second_value = value_second! valueSerializer.writeString(value_second_value) @@ -1904,7 +2005,7 @@ export class Serializer extends SerializerBase { const value_timeZoneName = value.timeZoneName let value_timeZoneName_type : int32 = RuntimeType.UNDEFINED value_timeZoneName_type = runtimeType(value_timeZoneName) - valueSerializer.writeInt8(value_timeZoneName_type as int32) + valueSerializer.writeInt8(value_timeZoneName_type) if ((RuntimeType.UNDEFINED) != (value_timeZoneName_type)) { const value_timeZoneName_value = value_timeZoneName! valueSerializer.writeString(value_timeZoneName_value) @@ -1912,7 +2013,7 @@ export class Serializer extends SerializerBase { const value_dayPeriod = value.dayPeriod let value_dayPeriod_type : int32 = RuntimeType.UNDEFINED value_dayPeriod_type = runtimeType(value_dayPeriod) - valueSerializer.writeInt8(value_dayPeriod_type as int32) + valueSerializer.writeInt8(value_dayPeriod_type) if ((RuntimeType.UNDEFINED) != (value_dayPeriod_type)) { const value_dayPeriod_value = value_dayPeriod! valueSerializer.writeString(value_dayPeriod_value) @@ -1920,7 +2021,7 @@ export class Serializer extends SerializerBase { const value_localeMatcher = value.localeMatcher let value_localeMatcher_type : int32 = RuntimeType.UNDEFINED value_localeMatcher_type = runtimeType(value_localeMatcher) - valueSerializer.writeInt8(value_localeMatcher_type as int32) + valueSerializer.writeInt8(value_localeMatcher_type) if ((RuntimeType.UNDEFINED) != (value_localeMatcher_type)) { const value_localeMatcher_value = value_localeMatcher! valueSerializer.writeString(value_localeMatcher_value) @@ -1928,13 +2029,13 @@ export class Serializer extends SerializerBase { const value_formatMatcher = value.formatMatcher let value_formatMatcher_type : int32 = RuntimeType.UNDEFINED value_formatMatcher_type = runtimeType(value_formatMatcher) - valueSerializer.writeInt8(value_formatMatcher_type as int32) + valueSerializer.writeInt8(value_formatMatcher_type) if ((RuntimeType.UNDEFINED) != (value_formatMatcher_type)) { const value_formatMatcher_value = value_formatMatcher! valueSerializer.writeString(value_formatMatcher_value) } } - writeDeleteValue(value: DeleteValue): void { + public writeDeleteValue(value: DeleteValue): void { let valueSerializer : Serializer = this const value_deleteOffset = value.deleteOffset valueSerializer.writeNumber(value_deleteOffset) @@ -1943,7 +2044,7 @@ export class Serializer extends SerializerBase { const value_deleteValue = value.deleteValue valueSerializer.writeString(value_deleteValue) } - writeDirectionalEdgesT(value: DirectionalEdgesT): void { + public writeDirectionalEdgesT(value: DirectionalEdgesT): void { let valueSerializer : Serializer = this const value_start = value.start valueSerializer.writeNumber(value_start) @@ -1954,39 +2055,39 @@ export class Serializer extends SerializerBase { const value_bottom = value.bottom valueSerializer.writeNumber(value_bottom) } - writeDisappearSymbolEffect(value: DisappearSymbolEffect): void { + public writeDisappearSymbolEffect(value: DisappearSymbolEffect): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDismissContentCoverAction(value: DismissContentCoverAction): void { + public writeDismissContentCoverAction(value: DismissContentCoverAction): void { let valueSerializer : Serializer = this const value_dismiss = value.dismiss valueSerializer.holdAndWriteCallback(value_dismiss) const value_reason = value.reason valueSerializer.writeInt32(TypeChecker.DismissReason_ToNumeric(value_reason)) } - writeDismissDialogAction(value: DismissDialogAction): void { + public writeDismissDialogAction(value: DismissDialogAction): void { let valueSerializer : Serializer = this const value_dismiss = value.dismiss valueSerializer.holdAndWriteCallback(value_dismiss) const value_reason = value.reason valueSerializer.writeInt32(TypeChecker.DismissReason_ToNumeric(value_reason)) } - writeDismissPopupAction(value: DismissPopupAction): void { + public writeDismissPopupAction(value: DismissPopupAction): void { let valueSerializer : Serializer = this const value_dismiss = value.dismiss valueSerializer.holdAndWriteCallback(value_dismiss) const value_reason = value.reason valueSerializer.writeInt32(TypeChecker.DismissReason_ToNumeric(value_reason)) } - writeDismissSheetAction(value: DismissSheetAction): void { + public writeDismissSheetAction(value: DismissSheetAction): void { let valueSerializer : Serializer = this const value_dismiss = value.dismiss valueSerializer.holdAndWriteCallback(value_dismiss) const value_reason = value.reason valueSerializer.writeInt32(TypeChecker.DismissReason_ToNumeric(value_reason)) } - writeDoubleAnimationParam(value: DoubleAnimationParam): void { + public writeDoubleAnimationParam(value: DoubleAnimationParam): void { let valueSerializer : Serializer = this const value_propertyName = value.propertyName valueSerializer.writeString(value_propertyName) @@ -2002,24 +2103,24 @@ export class Serializer extends SerializerBase { let value_curve_type : int32 = RuntimeType.UNDEFINED value_curve_type = runtimeType(value_curve) if (TypeChecker.isCurve(value_curve)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_curve_0 = value_curve as Curve valueSerializer.writeInt32(TypeChecker.Curve_ToNumeric(value_curve_0)) } else if (RuntimeType.STRING == value_curve_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_curve_1 = value_curve as string valueSerializer.writeString(value_curve_1) } else if (RuntimeType.OBJECT == value_curve_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_curve_2 = value_curve as ICurve valueSerializer.writeICurve(value_curve_2) } const value_onProgress = value.onProgress let value_onProgress_type : int32 = RuntimeType.UNDEFINED value_onProgress_type = runtimeType(value_onProgress) - valueSerializer.writeInt8(value_onProgress_type as int32) + valueSerializer.writeInt8(value_onProgress_type) if ((RuntimeType.UNDEFINED) != (value_onProgress_type)) { const value_onProgress_value = value_onProgress! valueSerializer.holdAndWriteCallback(value_onProgress_value) @@ -2027,18 +2128,18 @@ export class Serializer extends SerializerBase { const value_onFinish = value.onFinish let value_onFinish_type : int32 = RuntimeType.UNDEFINED value_onFinish_type = runtimeType(value_onFinish) - valueSerializer.writeInt8(value_onFinish_type as int32) + valueSerializer.writeInt8(value_onFinish_type) if ((RuntimeType.UNDEFINED) != (value_onFinish_type)) { const value_onFinish_value = value_onFinish! valueSerializer.holdAndWriteCallback(value_onFinish_value) } } - writeDragInteractionOptions(value: DragInteractionOptions): void { + public writeDragInteractionOptions(value: DragInteractionOptions): void { let valueSerializer : Serializer = this const value_isMultiSelectionEnabled = value.isMultiSelectionEnabled let value_isMultiSelectionEnabled_type : int32 = RuntimeType.UNDEFINED value_isMultiSelectionEnabled_type = runtimeType(value_isMultiSelectionEnabled) - valueSerializer.writeInt8(value_isMultiSelectionEnabled_type as int32) + valueSerializer.writeInt8(value_isMultiSelectionEnabled_type) if ((RuntimeType.UNDEFINED) != (value_isMultiSelectionEnabled_type)) { const value_isMultiSelectionEnabled_value = value_isMultiSelectionEnabled! valueSerializer.writeBoolean(value_isMultiSelectionEnabled_value) @@ -2046,18 +2147,42 @@ export class Serializer extends SerializerBase { const value_defaultAnimationBeforeLifting = value.defaultAnimationBeforeLifting let value_defaultAnimationBeforeLifting_type : int32 = RuntimeType.UNDEFINED value_defaultAnimationBeforeLifting_type = runtimeType(value_defaultAnimationBeforeLifting) - valueSerializer.writeInt8(value_defaultAnimationBeforeLifting_type as int32) + valueSerializer.writeInt8(value_defaultAnimationBeforeLifting_type) if ((RuntimeType.UNDEFINED) != (value_defaultAnimationBeforeLifting_type)) { const value_defaultAnimationBeforeLifting_value = value_defaultAnimationBeforeLifting! valueSerializer.writeBoolean(value_defaultAnimationBeforeLifting_value) } - } - writeDragItemInfo(value: DragItemInfo): void { + const value_enableEdgeAutoScroll = value.enableEdgeAutoScroll + let value_enableEdgeAutoScroll_type : int32 = RuntimeType.UNDEFINED + value_enableEdgeAutoScroll_type = runtimeType(value_enableEdgeAutoScroll) + valueSerializer.writeInt8(value_enableEdgeAutoScroll_type) + if ((RuntimeType.UNDEFINED) != (value_enableEdgeAutoScroll_type)) { + const value_enableEdgeAutoScroll_value = value_enableEdgeAutoScroll! + valueSerializer.writeBoolean(value_enableEdgeAutoScroll_value) + } + const value_enableHapticFeedback = value.enableHapticFeedback + let value_enableHapticFeedback_type : int32 = RuntimeType.UNDEFINED + value_enableHapticFeedback_type = runtimeType(value_enableHapticFeedback) + valueSerializer.writeInt8(value_enableHapticFeedback_type) + if ((RuntimeType.UNDEFINED) != (value_enableHapticFeedback_type)) { + const value_enableHapticFeedback_value = value_enableHapticFeedback! + valueSerializer.writeBoolean(value_enableHapticFeedback_value) + } + const value_isLiftingDisabled = value.isLiftingDisabled + let value_isLiftingDisabled_type : int32 = RuntimeType.UNDEFINED + value_isLiftingDisabled_type = runtimeType(value_isLiftingDisabled) + valueSerializer.writeInt8(value_isLiftingDisabled_type) + if ((RuntimeType.UNDEFINED) != (value_isLiftingDisabled_type)) { + const value_isLiftingDisabled_value = value_isLiftingDisabled! + valueSerializer.writeBoolean(value_isLiftingDisabled_value) + } + } + public writeDragItemInfo(value: DragItemInfo): void { let valueSerializer : Serializer = this const value_pixelMap = value.pixelMap let value_pixelMap_type : int32 = RuntimeType.UNDEFINED value_pixelMap_type = runtimeType(value_pixelMap) - valueSerializer.writeInt8(value_pixelMap_type as int32) + valueSerializer.writeInt8(value_pixelMap_type) if ((RuntimeType.UNDEFINED) != (value_pixelMap_type)) { const value_pixelMap_value = value_pixelMap! valueSerializer.writePixelMap(value_pixelMap_value) @@ -2065,7 +2190,7 @@ export class Serializer extends SerializerBase { const value_builder = value.builder let value_builder_type : int32 = RuntimeType.UNDEFINED value_builder_type = runtimeType(value_builder) - valueSerializer.writeInt8(value_builder_type as int32) + valueSerializer.writeInt8(value_builder_type) if ((RuntimeType.UNDEFINED) != (value_builder_type)) { const value_builder_value = value_builder! valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) @@ -2073,13 +2198,13 @@ export class Serializer extends SerializerBase { const value_extraInfo = value.extraInfo let value_extraInfo_type : int32 = RuntimeType.UNDEFINED value_extraInfo_type = runtimeType(value_extraInfo) - valueSerializer.writeInt8(value_extraInfo_type as int32) + valueSerializer.writeInt8(value_extraInfo_type) if ((RuntimeType.UNDEFINED) != (value_extraInfo_type)) { const value_extraInfo_value = value_extraInfo! valueSerializer.writeString(value_extraInfo_value) } } - writeDrawContext(value: DrawContext): void { + public writeDrawContext(value: DrawContext): void { let valueSerializer : Serializer = this const value_size = value.size valueSerializer.writeSize(value_size) @@ -2088,16 +2213,75 @@ export class Serializer extends SerializerBase { const value_canvas = value.canvas valueSerializer.writeDrawingCanvas(value_canvas) } - writeDrawingRenderingContext(value: DrawingRenderingContext): void { + public writeDrawingRenderingContext(value: DrawingRenderingContext): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeEdgeStyles(value: EdgeStyles): void { + public writeDropOptions(value: DropOptions): void { + let valueSerializer : Serializer = this + const value_disableDataPrefetch = value.disableDataPrefetch + let value_disableDataPrefetch_type : int32 = RuntimeType.UNDEFINED + value_disableDataPrefetch_type = runtimeType(value_disableDataPrefetch) + valueSerializer.writeInt8(value_disableDataPrefetch_type) + if ((RuntimeType.UNDEFINED) != (value_disableDataPrefetch_type)) { + const value_disableDataPrefetch_value = value_disableDataPrefetch! + valueSerializer.writeBoolean(value_disableDataPrefetch_value) + } + } + public writeEdgeEffectOptions(value: EdgeEffectOptions): void { + let valueSerializer : Serializer = this + const value_alwaysEnabled = value.alwaysEnabled + valueSerializer.writeBoolean(value_alwaysEnabled) + const value_effectEdge = value.effectEdge + let value_effectEdge_type : int32 = RuntimeType.UNDEFINED + value_effectEdge_type = runtimeType(value_effectEdge) + valueSerializer.writeInt8(value_effectEdge_type) + if ((RuntimeType.UNDEFINED) != (value_effectEdge_type)) { + const value_effectEdge_value = value_effectEdge! + valueSerializer.writeNumber(value_effectEdge_value) + } + } + public writeEdgeOutlineStyles(value: EdgeOutlineStyles): void { + let valueSerializer : Serializer = this + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = (value_top as OutlineStyle) + valueSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_top_value)) + } + const value_right = value.right + let value_right_type : int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = (value_right as OutlineStyle) + valueSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_right_value)) + } + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = (value_bottom as OutlineStyle) + valueSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_bottom_value)) + } + const value_left = value.left + let value_left_type : int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = (value_left as OutlineStyle) + valueSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_left_value)) + } + } + public writeEdgeStyles(value: EdgeStyles): void { let valueSerializer : Serializer = this const value_top = value.top let value_top_type : int32 = RuntimeType.UNDEFINED value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) + valueSerializer.writeInt8(value_top_type) if ((RuntimeType.UNDEFINED) != (value_top_type)) { const value_top_value = (value_top as BorderStyle) valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_top_value)) @@ -2105,7 +2289,7 @@ export class Serializer extends SerializerBase { const value_right = value.right let value_right_type : int32 = RuntimeType.UNDEFINED value_right_type = runtimeType(value_right) - valueSerializer.writeInt8(value_right_type as int32) + valueSerializer.writeInt8(value_right_type) if ((RuntimeType.UNDEFINED) != (value_right_type)) { const value_right_value = (value_right as BorderStyle) valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_right_value)) @@ -2113,7 +2297,7 @@ export class Serializer extends SerializerBase { const value_bottom = value.bottom let value_bottom_type : int32 = RuntimeType.UNDEFINED value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type as int32) + valueSerializer.writeInt8(value_bottom_type) if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { const value_bottom_value = (value_bottom as BorderStyle) valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_bottom_value)) @@ -2121,36 +2305,36 @@ export class Serializer extends SerializerBase { const value_left = value.left let value_left_type : int32 = RuntimeType.UNDEFINED value_left_type = runtimeType(value_left) - valueSerializer.writeInt8(value_left_type as int32) + valueSerializer.writeInt8(value_left_type) if ((RuntimeType.UNDEFINED) != (value_left_type)) { const value_left_value = (value_left as BorderStyle) valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_left_value)) } } - writeEditMenuOptions(value: EditMenuOptions): void { + public writeEditMenuOptions(value: EditMenuOptions): void { let valueSerializer : Serializer = this const value_onCreateMenu = value.onCreateMenu valueSerializer.holdAndWriteCallback(value_onCreateMenu) const value_onMenuItemClick = value.onMenuItemClick valueSerializer.holdAndWriteCallback(value_onMenuItemClick) } - writeEllipseOptions(value: EllipseOptions): void { + public writeEllipseOptions(value: EllipseOptions): void { let valueSerializer : Serializer = this const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! let value_width_value_type : int32 = RuntimeType.UNDEFINED value_width_value_type = runtimeType(value_width_value) if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_width_value_0 = value_width_value as string valueSerializer.writeString(value_width_value_0) } else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1 = value_width_value as number valueSerializer.writeNumber(value_width_value_1) } @@ -2158,24 +2342,35 @@ export class Serializer extends SerializerBase { const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! let value_height_value_type : int32 = RuntimeType.UNDEFINED value_height_value_type = runtimeType(value_height_value) if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_height_value_0 = value_height_value as string valueSerializer.writeString(value_height_value_0) } else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_height_value_1 = value_height_value as number valueSerializer.writeNumber(value_height_value_1) } } } - writeErrorEvent(value: ErrorEvent): void { + public writeEmbedOptions(value: EmbedOptions): void { + let valueSerializer : Serializer = this + const value_supportDefaultIntrinsicSize = value.supportDefaultIntrinsicSize + let value_supportDefaultIntrinsicSize_type : int32 = RuntimeType.UNDEFINED + value_supportDefaultIntrinsicSize_type = runtimeType(value_supportDefaultIntrinsicSize) + valueSerializer.writeInt8(value_supportDefaultIntrinsicSize_type) + if ((RuntimeType.UNDEFINED) != (value_supportDefaultIntrinsicSize_type)) { + const value_supportDefaultIntrinsicSize_value = value_supportDefaultIntrinsicSize! + valueSerializer.writeBoolean(value_supportDefaultIntrinsicSize_value) + } + } + public writeErrorEvent(value: ErrorEvent): void { let valueSerializer : Serializer = this const value_type = value.type valueSerializer.writeString(value_type) @@ -2192,14 +2387,14 @@ export class Serializer extends SerializerBase { const value_error = value.error valueSerializer.holdAndWriteObject(value_error) } - writeEvent(value: Event): void { + public writeEvent(value: Event): void { let valueSerializer : Serializer = this const value_type = value.type valueSerializer.writeString(value_type) const value_timeStamp = value.timeStamp valueSerializer.writeInt64(value_timeStamp) } - writeExpectedFrameRateRange(value: ExpectedFrameRateRange): void { + public writeExpectedFrameRateRange(value: ExpectedFrameRateRange): void { let valueSerializer : Serializer = this const value_min = value.min valueSerializer.writeNumber(value_min) @@ -2208,7 +2403,7 @@ export class Serializer extends SerializerBase { const value_expected = value.expected valueSerializer.writeNumber(value_expected) } - writeFingerInfo(value: FingerInfo): void { + public writeFingerInfo(value: FingerInfo): void { let valueSerializer : Serializer = this const value_id = value.id valueSerializer.writeNumber(value_id) @@ -2224,13 +2419,21 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_displayX) const value_displayY = value.displayY valueSerializer.writeNumber(value_displayY) + const value_hand = value.hand + let value_hand_type : int32 = RuntimeType.UNDEFINED + value_hand_type = runtimeType(value_hand) + valueSerializer.writeInt8(value_hand_type) + if ((RuntimeType.UNDEFINED) != (value_hand_type)) { + const value_hand_value = (value_hand as InteractionHand) + valueSerializer.writeInt32(TypeChecker.InteractionHand_ToNumeric(value_hand_value)) + } } - writeFirstMeaningfulPaint(value: FirstMeaningfulPaint): void { + public writeFirstMeaningfulPaint(value: FirstMeaningfulPaint): void { let valueSerializer : Serializer = this const value_navigationStartTime = value.navigationStartTime let value_navigationStartTime_type : int32 = RuntimeType.UNDEFINED value_navigationStartTime_type = runtimeType(value_navigationStartTime) - valueSerializer.writeInt8(value_navigationStartTime_type as int32) + valueSerializer.writeInt8(value_navigationStartTime_type) if ((RuntimeType.UNDEFINED) != (value_navigationStartTime_type)) { const value_navigationStartTime_value = value_navigationStartTime! valueSerializer.writeNumber(value_navigationStartTime_value) @@ -2238,18 +2441,69 @@ export class Serializer extends SerializerBase { const value_firstMeaningfulPaintTime = value.firstMeaningfulPaintTime let value_firstMeaningfulPaintTime_type : int32 = RuntimeType.UNDEFINED value_firstMeaningfulPaintTime_type = runtimeType(value_firstMeaningfulPaintTime) - valueSerializer.writeInt8(value_firstMeaningfulPaintTime_type as int32) + valueSerializer.writeInt8(value_firstMeaningfulPaintTime_type) if ((RuntimeType.UNDEFINED) != (value_firstMeaningfulPaintTime_type)) { const value_firstMeaningfulPaintTime_value = value_firstMeaningfulPaintTime! valueSerializer.writeNumber(value_firstMeaningfulPaintTime_value) } } - writeFolderStackOptions(value: FolderStackOptions): void { + public writeFocusMovement(value: FocusMovement): void { + let valueSerializer : Serializer = this + const value_forward = value.forward + let value_forward_type : int32 = RuntimeType.UNDEFINED + value_forward_type = runtimeType(value_forward) + valueSerializer.writeInt8(value_forward_type) + if ((RuntimeType.UNDEFINED) != (value_forward_type)) { + const value_forward_value = value_forward! + valueSerializer.writeString(value_forward_value) + } + const value_backward = value.backward + let value_backward_type : int32 = RuntimeType.UNDEFINED + value_backward_type = runtimeType(value_backward) + valueSerializer.writeInt8(value_backward_type) + if ((RuntimeType.UNDEFINED) != (value_backward_type)) { + const value_backward_value = value_backward! + valueSerializer.writeString(value_backward_value) + } + const value_up = value.up + let value_up_type : int32 = RuntimeType.UNDEFINED + value_up_type = runtimeType(value_up) + valueSerializer.writeInt8(value_up_type) + if ((RuntimeType.UNDEFINED) != (value_up_type)) { + const value_up_value = value_up! + valueSerializer.writeString(value_up_value) + } + const value_down = value.down + let value_down_type : int32 = RuntimeType.UNDEFINED + value_down_type = runtimeType(value_down) + valueSerializer.writeInt8(value_down_type) + if ((RuntimeType.UNDEFINED) != (value_down_type)) { + const value_down_value = value_down! + valueSerializer.writeString(value_down_value) + } + const value_left = value.left + let value_left_type : int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + valueSerializer.writeString(value_left_value) + } + const value_right = value.right + let value_right_type : int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + valueSerializer.writeString(value_right_value) + } + } + public writeFolderStackOptions(value: FolderStackOptions): void { let valueSerializer : Serializer = this const value_upperItems = value.upperItems let value_upperItems_type : int32 = RuntimeType.UNDEFINED value_upperItems_type = runtimeType(value_upperItems) - valueSerializer.writeInt8(value_upperItems_type as int32) + valueSerializer.writeInt8(value_upperItems_type) if ((RuntimeType.UNDEFINED) != (value_upperItems_type)) { const value_upperItems_value = value_upperItems! valueSerializer.writeInt32(value_upperItems_value.length as int32) @@ -2259,14 +2513,14 @@ export class Serializer extends SerializerBase { } } } - writeFontFeature(value: FontFeature): void { + public writeFontFeature(value: FontFeature): void { let valueSerializer : Serializer = this const value_name = value.name valueSerializer.writeString(value_name) const value_value = value.value valueSerializer.writeNumber(value_value) } - writeFontInfo(value: FontInfo): void { + public writeFontInfo(value: FontInfo): void { let valueSerializer : Serializer = this const value_path = value.path valueSerializer.writeString(value_path) @@ -2289,12 +2543,12 @@ export class Serializer extends SerializerBase { const value_symbolic = value.symbolic valueSerializer.writeBoolean(value_symbolic) } - writeFontMetrics(value: FontMetrics): void { + public writeFontMetrics(value: FontMetrics): void { let valueSerializer : Serializer = this const value_flags = value.flags let value_flags_type : int32 = RuntimeType.UNDEFINED value_flags_type = runtimeType(value_flags) - valueSerializer.writeInt8(value_flags_type as int32) + valueSerializer.writeInt8(value_flags_type) if ((RuntimeType.UNDEFINED) != (value_flags_type)) { const value_flags_value = (value_flags as FontMetricsFlags) valueSerializer.writeInt32(TypeChecker.FontMetricsFlags_ToNumeric(value_flags_value)) @@ -2312,7 +2566,7 @@ export class Serializer extends SerializerBase { const value_avgCharWidth = value.avgCharWidth let value_avgCharWidth_type : int32 = RuntimeType.UNDEFINED value_avgCharWidth_type = runtimeType(value_avgCharWidth) - valueSerializer.writeInt8(value_avgCharWidth_type as int32) + valueSerializer.writeInt8(value_avgCharWidth_type) if ((RuntimeType.UNDEFINED) != (value_avgCharWidth_type)) { const value_avgCharWidth_value = value_avgCharWidth! valueSerializer.writeNumber(value_avgCharWidth_value) @@ -2320,7 +2574,7 @@ export class Serializer extends SerializerBase { const value_maxCharWidth = value.maxCharWidth let value_maxCharWidth_type : int32 = RuntimeType.UNDEFINED value_maxCharWidth_type = runtimeType(value_maxCharWidth) - valueSerializer.writeInt8(value_maxCharWidth_type as int32) + valueSerializer.writeInt8(value_maxCharWidth_type) if ((RuntimeType.UNDEFINED) != (value_maxCharWidth_type)) { const value_maxCharWidth_value = value_maxCharWidth! valueSerializer.writeNumber(value_maxCharWidth_value) @@ -2328,7 +2582,7 @@ export class Serializer extends SerializerBase { const value_xMin = value.xMin let value_xMin_type : int32 = RuntimeType.UNDEFINED value_xMin_type = runtimeType(value_xMin) - valueSerializer.writeInt8(value_xMin_type as int32) + valueSerializer.writeInt8(value_xMin_type) if ((RuntimeType.UNDEFINED) != (value_xMin_type)) { const value_xMin_value = value_xMin! valueSerializer.writeNumber(value_xMin_value) @@ -2336,7 +2590,7 @@ export class Serializer extends SerializerBase { const value_xMax = value.xMax let value_xMax_type : int32 = RuntimeType.UNDEFINED value_xMax_type = runtimeType(value_xMax) - valueSerializer.writeInt8(value_xMax_type as int32) + valueSerializer.writeInt8(value_xMax_type) if ((RuntimeType.UNDEFINED) != (value_xMax_type)) { const value_xMax_value = value_xMax! valueSerializer.writeNumber(value_xMax_value) @@ -2344,7 +2598,7 @@ export class Serializer extends SerializerBase { const value_xHeight = value.xHeight let value_xHeight_type : int32 = RuntimeType.UNDEFINED value_xHeight_type = runtimeType(value_xHeight) - valueSerializer.writeInt8(value_xHeight_type as int32) + valueSerializer.writeInt8(value_xHeight_type) if ((RuntimeType.UNDEFINED) != (value_xHeight_type)) { const value_xHeight_value = value_xHeight! valueSerializer.writeNumber(value_xHeight_value) @@ -2352,7 +2606,7 @@ export class Serializer extends SerializerBase { const value_capHeight = value.capHeight let value_capHeight_type : int32 = RuntimeType.UNDEFINED value_capHeight_type = runtimeType(value_capHeight) - valueSerializer.writeInt8(value_capHeight_type as int32) + valueSerializer.writeInt8(value_capHeight_type) if ((RuntimeType.UNDEFINED) != (value_capHeight_type)) { const value_capHeight_value = value_capHeight! valueSerializer.writeNumber(value_capHeight_value) @@ -2360,7 +2614,7 @@ export class Serializer extends SerializerBase { const value_underlineThickness = value.underlineThickness let value_underlineThickness_type : int32 = RuntimeType.UNDEFINED value_underlineThickness_type = runtimeType(value_underlineThickness) - valueSerializer.writeInt8(value_underlineThickness_type as int32) + valueSerializer.writeInt8(value_underlineThickness_type) if ((RuntimeType.UNDEFINED) != (value_underlineThickness_type)) { const value_underlineThickness_value = value_underlineThickness! valueSerializer.writeNumber(value_underlineThickness_value) @@ -2368,7 +2622,7 @@ export class Serializer extends SerializerBase { const value_underlinePosition = value.underlinePosition let value_underlinePosition_type : int32 = RuntimeType.UNDEFINED value_underlinePosition_type = runtimeType(value_underlinePosition) - valueSerializer.writeInt8(value_underlinePosition_type as int32) + valueSerializer.writeInt8(value_underlinePosition_type) if ((RuntimeType.UNDEFINED) != (value_underlinePosition_type)) { const value_underlinePosition_value = value_underlinePosition! valueSerializer.writeNumber(value_underlinePosition_value) @@ -2376,7 +2630,7 @@ export class Serializer extends SerializerBase { const value_strikethroughThickness = value.strikethroughThickness let value_strikethroughThickness_type : int32 = RuntimeType.UNDEFINED value_strikethroughThickness_type = runtimeType(value_strikethroughThickness) - valueSerializer.writeInt8(value_strikethroughThickness_type as int32) + valueSerializer.writeInt8(value_strikethroughThickness_type) if ((RuntimeType.UNDEFINED) != (value_strikethroughThickness_type)) { const value_strikethroughThickness_value = value_strikethroughThickness! valueSerializer.writeNumber(value_strikethroughThickness_value) @@ -2384,50 +2638,50 @@ export class Serializer extends SerializerBase { const value_strikethroughPosition = value.strikethroughPosition let value_strikethroughPosition_type : int32 = RuntimeType.UNDEFINED value_strikethroughPosition_type = runtimeType(value_strikethroughPosition) - valueSerializer.writeInt8(value_strikethroughPosition_type as int32) + valueSerializer.writeInt8(value_strikethroughPosition_type) if ((RuntimeType.UNDEFINED) != (value_strikethroughPosition_type)) { const value_strikethroughPosition_value = value_strikethroughPosition! valueSerializer.writeNumber(value_strikethroughPosition_value) } } - writeFontSettingOptions(value: FontSettingOptions): void { + public writeFontSettingOptions(value: FontSettingOptions): void { let valueSerializer : Serializer = this const value_enableVariableFontWeight = value.enableVariableFontWeight let value_enableVariableFontWeight_type : int32 = RuntimeType.UNDEFINED value_enableVariableFontWeight_type = runtimeType(value_enableVariableFontWeight) - valueSerializer.writeInt8(value_enableVariableFontWeight_type as int32) + valueSerializer.writeInt8(value_enableVariableFontWeight_type) if ((RuntimeType.UNDEFINED) != (value_enableVariableFontWeight_type)) { const value_enableVariableFontWeight_value = value_enableVariableFontWeight! valueSerializer.writeBoolean(value_enableVariableFontWeight_value) } } - writeFontVariation(value: FontVariation): void { + public writeFontVariation(value: FontVariation): void { let valueSerializer : Serializer = this const value_axis = value.axis valueSerializer.writeString(value_axis) const value_value = value.value valueSerializer.writeNumber(value_value) } - writeForegroundEffectOptions(value: ForegroundEffectOptions): void { + public writeForegroundEffectOptions(value: ForegroundEffectOptions): void { let valueSerializer : Serializer = this const value_radius = value.radius valueSerializer.writeNumber(value_radius) } - writeFormCallbackInfo(value: FormCallbackInfo): void { + public writeFormCallbackInfo(value: FormCallbackInfo): void { let valueSerializer : Serializer = this const value_id = value.id valueSerializer.writeInt64(value_id) const value_idString = value.idString valueSerializer.writeString(value_idString) } - writeFormLinkOptions(value: FormLinkOptions): void { + public writeFormLinkOptions(value: FormLinkOptions): void { let valueSerializer : Serializer = this const value_action = value.action valueSerializer.writeString(value_action) const value_moduleName = value.moduleName let value_moduleName_type : int32 = RuntimeType.UNDEFINED value_moduleName_type = runtimeType(value_moduleName) - valueSerializer.writeInt8(value_moduleName_type as int32) + valueSerializer.writeInt8(value_moduleName_type) if ((RuntimeType.UNDEFINED) != (value_moduleName_type)) { const value_moduleName_value = value_moduleName! valueSerializer.writeString(value_moduleName_value) @@ -2435,7 +2689,7 @@ export class Serializer extends SerializerBase { const value_bundleName = value.bundleName let value_bundleName_type : int32 = RuntimeType.UNDEFINED value_bundleName_type = runtimeType(value_bundleName) - valueSerializer.writeInt8(value_bundleName_type as int32) + valueSerializer.writeInt8(value_bundleName_type) if ((RuntimeType.UNDEFINED) != (value_bundleName_type)) { const value_bundleName_value = value_bundleName! valueSerializer.writeString(value_bundleName_value) @@ -2443,7 +2697,7 @@ export class Serializer extends SerializerBase { const value_abilityName = value.abilityName let value_abilityName_type : int32 = RuntimeType.UNDEFINED value_abilityName_type = runtimeType(value_abilityName) - valueSerializer.writeInt8(value_abilityName_type as int32) + valueSerializer.writeInt8(value_abilityName_type) if ((RuntimeType.UNDEFINED) != (value_abilityName_type)) { const value_abilityName_value = value_abilityName! valueSerializer.writeString(value_abilityName_value) @@ -2451,7 +2705,7 @@ export class Serializer extends SerializerBase { const value_uri = value.uri let value_uri_type : int32 = RuntimeType.UNDEFINED value_uri_type = runtimeType(value_uri) - valueSerializer.writeInt8(value_uri_type as int32) + valueSerializer.writeInt8(value_uri_type) if ((RuntimeType.UNDEFINED) != (value_uri_type)) { const value_uri_value = value_uri! valueSerializer.writeString(value_uri_value) @@ -2459,13 +2713,13 @@ export class Serializer extends SerializerBase { const value_params = value.params let value_params_type : int32 = RuntimeType.UNDEFINED value_params_type = runtimeType(value_params) - valueSerializer.writeInt8(value_params_type as int32) + valueSerializer.writeInt8(value_params_type) if ((RuntimeType.UNDEFINED) != (value_params_type)) { const value_params_value = value_params! valueSerializer.holdAndWriteObject(value_params_value) } } - writeFrame(value: Frame): void { + public writeFrame(value: Frame): void { let valueSerializer : Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -2476,14 +2730,14 @@ export class Serializer extends SerializerBase { const value_height = value.height valueSerializer.writeNumber(value_height) } - writeFullScreenEnterEvent(value: FullScreenEnterEvent): void { + public writeFullScreenEnterEvent(value: FullScreenEnterEvent): void { let valueSerializer : Serializer = this const value_handler = value.handler valueSerializer.writeFullScreenExitHandler(value_handler) const value_videoWidth = value.videoWidth let value_videoWidth_type : int32 = RuntimeType.UNDEFINED value_videoWidth_type = runtimeType(value_videoWidth) - valueSerializer.writeInt8(value_videoWidth_type as int32) + valueSerializer.writeInt8(value_videoWidth_type) if ((RuntimeType.UNDEFINED) != (value_videoWidth_type)) { const value_videoWidth_value = value_videoWidth! valueSerializer.writeNumber(value_videoWidth_value) @@ -2491,20 +2745,20 @@ export class Serializer extends SerializerBase { const value_videoHeight = value.videoHeight let value_videoHeight_type : int32 = RuntimeType.UNDEFINED value_videoHeight_type = runtimeType(value_videoHeight) - valueSerializer.writeInt8(value_videoHeight_type as int32) + valueSerializer.writeInt8(value_videoHeight_type) if ((RuntimeType.UNDEFINED) != (value_videoHeight_type)) { const value_videoHeight_value = value_videoHeight! valueSerializer.writeNumber(value_videoHeight_value) } } - writeGaugeOptions(value: GaugeOptions): void { + public writeGaugeOptions(value: GaugeOptions): void { let valueSerializer : Serializer = this const value_value = value.value valueSerializer.writeNumber(value_value) const value_min = value.min let value_min_type : int32 = RuntimeType.UNDEFINED value_min_type = runtimeType(value_min) - valueSerializer.writeInt8(value_min_type as int32) + valueSerializer.writeInt8(value_min_type) if ((RuntimeType.UNDEFINED) != (value_min_type)) { const value_min_value = value_min! valueSerializer.writeNumber(value_min_value) @@ -2512,18 +2766,18 @@ export class Serializer extends SerializerBase { const value_max = value.max let value_max_type : int32 = RuntimeType.UNDEFINED value_max_type = runtimeType(value_max) - valueSerializer.writeInt8(value_max_type as int32) + valueSerializer.writeInt8(value_max_type) if ((RuntimeType.UNDEFINED) != (value_max_type)) { const value_max_value = value_max! valueSerializer.writeNumber(value_max_value) } } - writeGeometryTransitionOptions(value: GeometryTransitionOptions): void { + public writeGeometryTransitionOptions(value: GeometryTransitionOptions): void { let valueSerializer : Serializer = this const value_follow = value.follow let value_follow_type : int32 = RuntimeType.UNDEFINED value_follow_type = runtimeType(value_follow) - valueSerializer.writeInt8(value_follow_type as int32) + valueSerializer.writeInt8(value_follow_type) if ((RuntimeType.UNDEFINED) != (value_follow_type)) { const value_follow_value = value_follow! valueSerializer.writeBoolean(value_follow_value) @@ -2531,18 +2785,18 @@ export class Serializer extends SerializerBase { const value_hierarchyStrategy = value.hierarchyStrategy let value_hierarchyStrategy_type : int32 = RuntimeType.UNDEFINED value_hierarchyStrategy_type = runtimeType(value_hierarchyStrategy) - valueSerializer.writeInt8(value_hierarchyStrategy_type as int32) + valueSerializer.writeInt8(value_hierarchyStrategy_type) if ((RuntimeType.UNDEFINED) != (value_hierarchyStrategy_type)) { const value_hierarchyStrategy_value = (value_hierarchyStrategy as TransitionHierarchyStrategy) valueSerializer.writeInt32(TypeChecker.TransitionHierarchyStrategy_ToNumeric(value_hierarchyStrategy_value)) } } - writeGestureInfo(value: GestureInfo): void { + public writeGestureInfo(value: GestureInfo): void { let valueSerializer : Serializer = this const value_tag = value.tag let value_tag_type : int32 = RuntimeType.UNDEFINED value_tag_type = runtimeType(value_tag) - valueSerializer.writeInt8(value_tag_type as int32) + valueSerializer.writeInt8(value_tag_type) if ((RuntimeType.UNDEFINED) != (value_tag_type)) { const value_tag_value = value_tag! valueSerializer.writeString(value_tag_value) @@ -2552,12 +2806,12 @@ export class Serializer extends SerializerBase { const value_isSystemGesture = value.isSystemGesture valueSerializer.writeBoolean(value_isSystemGesture) } - writeGestureStyleInterface(value: GestureStyleInterface): void { + public writeGestureStyleInterface(value: GestureStyleInterface): void { let valueSerializer : Serializer = this const value_onClick = value.onClick let value_onClick_type : int32 = RuntimeType.UNDEFINED value_onClick_type = runtimeType(value_onClick) - valueSerializer.writeInt8(value_onClick_type as int32) + valueSerializer.writeInt8(value_onClick_type) if ((RuntimeType.UNDEFINED) != (value_onClick_type)) { const value_onClick_value = value_onClick! valueSerializer.holdAndWriteCallback(value_onClick_value) @@ -2565,18 +2819,18 @@ export class Serializer extends SerializerBase { const value_onLongPress = value.onLongPress let value_onLongPress_type : int32 = RuntimeType.UNDEFINED value_onLongPress_type = runtimeType(value_onLongPress) - valueSerializer.writeInt8(value_onLongPress_type as int32) + valueSerializer.writeInt8(value_onLongPress_type) if ((RuntimeType.UNDEFINED) != (value_onLongPress_type)) { const value_onLongPress_value = value_onLongPress! valueSerializer.holdAndWriteCallback(value_onLongPress_value) } } - writeGridColColumnOption(value: GridColColumnOption): void { + public writeGridColColumnOption(value: GridColColumnOption): void { let valueSerializer : Serializer = this const value_xs = value.xs let value_xs_type : int32 = RuntimeType.UNDEFINED value_xs_type = runtimeType(value_xs) - valueSerializer.writeInt8(value_xs_type as int32) + valueSerializer.writeInt8(value_xs_type) if ((RuntimeType.UNDEFINED) != (value_xs_type)) { const value_xs_value = value_xs! valueSerializer.writeNumber(value_xs_value) @@ -2584,7 +2838,7 @@ export class Serializer extends SerializerBase { const value_sm = value.sm let value_sm_type : int32 = RuntimeType.UNDEFINED value_sm_type = runtimeType(value_sm) - valueSerializer.writeInt8(value_sm_type as int32) + valueSerializer.writeInt8(value_sm_type) if ((RuntimeType.UNDEFINED) != (value_sm_type)) { const value_sm_value = value_sm! valueSerializer.writeNumber(value_sm_value) @@ -2592,7 +2846,7 @@ export class Serializer extends SerializerBase { const value_md = value.md let value_md_type : int32 = RuntimeType.UNDEFINED value_md_type = runtimeType(value_md) - valueSerializer.writeInt8(value_md_type as int32) + valueSerializer.writeInt8(value_md_type) if ((RuntimeType.UNDEFINED) != (value_md_type)) { const value_md_value = value_md! valueSerializer.writeNumber(value_md_value) @@ -2600,7 +2854,7 @@ export class Serializer extends SerializerBase { const value_lg = value.lg let value_lg_type : int32 = RuntimeType.UNDEFINED value_lg_type = runtimeType(value_lg) - valueSerializer.writeInt8(value_lg_type as int32) + valueSerializer.writeInt8(value_lg_type) if ((RuntimeType.UNDEFINED) != (value_lg_type)) { const value_lg_value = value_lg! valueSerializer.writeNumber(value_lg_value) @@ -2608,7 +2862,7 @@ export class Serializer extends SerializerBase { const value_xl = value.xl let value_xl_type : int32 = RuntimeType.UNDEFINED value_xl_type = runtimeType(value_xl) - valueSerializer.writeInt8(value_xl_type as int32) + valueSerializer.writeInt8(value_xl_type) if ((RuntimeType.UNDEFINED) != (value_xl_type)) { const value_xl_value = value_xl! valueSerializer.writeNumber(value_xl_value) @@ -2616,29 +2870,29 @@ export class Serializer extends SerializerBase { const value_xxl = value.xxl let value_xxl_type : int32 = RuntimeType.UNDEFINED value_xxl_type = runtimeType(value_xxl) - valueSerializer.writeInt8(value_xxl_type as int32) + valueSerializer.writeInt8(value_xxl_type) if ((RuntimeType.UNDEFINED) != (value_xxl_type)) { const value_xxl_value = value_xxl! valueSerializer.writeNumber(value_xxl_value) } } - writeGridContainerOptions(value: GridContainerOptions): void { + public writeGridContainerOptions(value: GridContainerOptions): void { let valueSerializer : Serializer = this const value_columns = value.columns let value_columns_type : int32 = RuntimeType.UNDEFINED value_columns_type = runtimeType(value_columns) - valueSerializer.writeInt8(value_columns_type as int32) + valueSerializer.writeInt8(value_columns_type) if ((RuntimeType.UNDEFINED) != (value_columns_type)) { const value_columns_value = value_columns! let value_columns_value_type : int32 = RuntimeType.UNDEFINED value_columns_value_type = runtimeType(value_columns_value) if (RuntimeType.NUMBER == value_columns_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_columns_value_0 = value_columns_value as number valueSerializer.writeNumber(value_columns_value_0) } else if (RuntimeType.STRING == value_columns_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_columns_value_1 = value_columns_value as string valueSerializer.writeString(value_columns_value_1) } @@ -2646,7 +2900,7 @@ export class Serializer extends SerializerBase { const value_sizeType = value.sizeType let value_sizeType_type : int32 = RuntimeType.UNDEFINED value_sizeType_type = runtimeType(value_sizeType) - valueSerializer.writeInt8(value_sizeType_type as int32) + valueSerializer.writeInt8(value_sizeType_type) if ((RuntimeType.UNDEFINED) != (value_sizeType_type)) { const value_sizeType_value = (value_sizeType as SizeType) valueSerializer.writeInt32(TypeChecker.SizeType_ToNumeric(value_sizeType_value)) @@ -2654,18 +2908,18 @@ export class Serializer extends SerializerBase { const value_gutter = value.gutter let value_gutter_type : int32 = RuntimeType.UNDEFINED value_gutter_type = runtimeType(value_gutter) - valueSerializer.writeInt8(value_gutter_type as int32) + valueSerializer.writeInt8(value_gutter_type) if ((RuntimeType.UNDEFINED) != (value_gutter_type)) { const value_gutter_value = value_gutter! let value_gutter_value_type : int32 = RuntimeType.UNDEFINED value_gutter_value_type = runtimeType(value_gutter_value) if (RuntimeType.NUMBER == value_gutter_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_gutter_value_0 = value_gutter_value as number valueSerializer.writeNumber(value_gutter_value_0) } else if (RuntimeType.STRING == value_gutter_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_gutter_value_1 = value_gutter_value as string valueSerializer.writeString(value_gutter_value_1) } @@ -2673,35 +2927,35 @@ export class Serializer extends SerializerBase { const value_margin = value.margin let value_margin_type : int32 = RuntimeType.UNDEFINED value_margin_type = runtimeType(value_margin) - valueSerializer.writeInt8(value_margin_type as int32) + valueSerializer.writeInt8(value_margin_type) if ((RuntimeType.UNDEFINED) != (value_margin_type)) { const value_margin_value = value_margin! let value_margin_value_type : int32 = RuntimeType.UNDEFINED value_margin_value_type = runtimeType(value_margin_value) if (RuntimeType.NUMBER == value_margin_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_margin_value_0 = value_margin_value as number valueSerializer.writeNumber(value_margin_value_0) } else if (RuntimeType.STRING == value_margin_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_margin_value_1 = value_margin_value as string valueSerializer.writeString(value_margin_value_1) } } } - writeGridItemOptions(value: GridItemOptions): void { + public writeGridItemOptions(value: GridItemOptions): void { let valueSerializer : Serializer = this const value_style = value.style let value_style_type : int32 = RuntimeType.UNDEFINED value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) + valueSerializer.writeInt8(value_style_type) if ((RuntimeType.UNDEFINED) != (value_style_type)) { const value_style_value = (value_style as GridItemStyle) valueSerializer.writeInt32(TypeChecker.GridItemStyle_ToNumeric(value_style_value)) } } - writeGridLayoutOptions(value: GridLayoutOptions): void { + public writeGridLayoutOptions(value: GridLayoutOptions): void { let valueSerializer : Serializer = this const value_regularSize = value.regularSize const value_regularSize_0 = value_regularSize[0] @@ -2711,7 +2965,7 @@ export class Serializer extends SerializerBase { const value_irregularIndexes = value.irregularIndexes let value_irregularIndexes_type : int32 = RuntimeType.UNDEFINED value_irregularIndexes_type = runtimeType(value_irregularIndexes) - valueSerializer.writeInt8(value_irregularIndexes_type as int32) + valueSerializer.writeInt8(value_irregularIndexes_type) if ((RuntimeType.UNDEFINED) != (value_irregularIndexes_type)) { const value_irregularIndexes_value = value_irregularIndexes! valueSerializer.writeInt32(value_irregularIndexes_value.length as int32) @@ -2723,7 +2977,7 @@ export class Serializer extends SerializerBase { const value_onGetIrregularSizeByIndex = value.onGetIrregularSizeByIndex let value_onGetIrregularSizeByIndex_type : int32 = RuntimeType.UNDEFINED value_onGetIrregularSizeByIndex_type = runtimeType(value_onGetIrregularSizeByIndex) - valueSerializer.writeInt8(value_onGetIrregularSizeByIndex_type as int32) + valueSerializer.writeInt8(value_onGetIrregularSizeByIndex_type) if ((RuntimeType.UNDEFINED) != (value_onGetIrregularSizeByIndex_type)) { const value_onGetIrregularSizeByIndex_value = value_onGetIrregularSizeByIndex! valueSerializer.holdAndWriteCallback(value_onGetIrregularSizeByIndex_value) @@ -2731,18 +2985,18 @@ export class Serializer extends SerializerBase { const value_onGetRectByIndex = value.onGetRectByIndex let value_onGetRectByIndex_type : int32 = RuntimeType.UNDEFINED value_onGetRectByIndex_type = runtimeType(value_onGetRectByIndex) - valueSerializer.writeInt8(value_onGetRectByIndex_type as int32) + valueSerializer.writeInt8(value_onGetRectByIndex_type) if ((RuntimeType.UNDEFINED) != (value_onGetRectByIndex_type)) { const value_onGetRectByIndex_value = value_onGetRectByIndex! valueSerializer.holdAndWriteCallback(value_onGetRectByIndex_value) } } - writeGridRowColumnOption(value: GridRowColumnOption): void { + public writeGridRowColumnOption(value: GridRowColumnOption): void { let valueSerializer : Serializer = this const value_xs = value.xs let value_xs_type : int32 = RuntimeType.UNDEFINED value_xs_type = runtimeType(value_xs) - valueSerializer.writeInt8(value_xs_type as int32) + valueSerializer.writeInt8(value_xs_type) if ((RuntimeType.UNDEFINED) != (value_xs_type)) { const value_xs_value = value_xs! valueSerializer.writeNumber(value_xs_value) @@ -2750,7 +3004,7 @@ export class Serializer extends SerializerBase { const value_sm = value.sm let value_sm_type : int32 = RuntimeType.UNDEFINED value_sm_type = runtimeType(value_sm) - valueSerializer.writeInt8(value_sm_type as int32) + valueSerializer.writeInt8(value_sm_type) if ((RuntimeType.UNDEFINED) != (value_sm_type)) { const value_sm_value = value_sm! valueSerializer.writeNumber(value_sm_value) @@ -2758,7 +3012,7 @@ export class Serializer extends SerializerBase { const value_md = value.md let value_md_type : int32 = RuntimeType.UNDEFINED value_md_type = runtimeType(value_md) - valueSerializer.writeInt8(value_md_type as int32) + valueSerializer.writeInt8(value_md_type) if ((RuntimeType.UNDEFINED) != (value_md_type)) { const value_md_value = value_md! valueSerializer.writeNumber(value_md_value) @@ -2766,7 +3020,7 @@ export class Serializer extends SerializerBase { const value_lg = value.lg let value_lg_type : int32 = RuntimeType.UNDEFINED value_lg_type = runtimeType(value_lg) - valueSerializer.writeInt8(value_lg_type as int32) + valueSerializer.writeInt8(value_lg_type) if ((RuntimeType.UNDEFINED) != (value_lg_type)) { const value_lg_value = value_lg! valueSerializer.writeNumber(value_lg_value) @@ -2774,7 +3028,7 @@ export class Serializer extends SerializerBase { const value_xl = value.xl let value_xl_type : int32 = RuntimeType.UNDEFINED value_xl_type = runtimeType(value_xl) - valueSerializer.writeInt8(value_xl_type as int32) + valueSerializer.writeInt8(value_xl_type) if ((RuntimeType.UNDEFINED) != (value_xl_type)) { const value_xl_value = value_xl! valueSerializer.writeNumber(value_xl_value) @@ -2782,24 +3036,24 @@ export class Serializer extends SerializerBase { const value_xxl = value.xxl let value_xxl_type : int32 = RuntimeType.UNDEFINED value_xxl_type = runtimeType(value_xxl) - valueSerializer.writeInt8(value_xxl_type as int32) + valueSerializer.writeInt8(value_xxl_type) if ((RuntimeType.UNDEFINED) != (value_xxl_type)) { const value_xxl_value = value_xxl! valueSerializer.writeNumber(value_xxl_value) } } - writeHeader(value: Header): void { + public writeHeader(value: Header): void { let valueSerializer : Serializer = this const value_headerKey = value.headerKey valueSerializer.writeString(value_headerKey) const value_headerValue = value.headerValue valueSerializer.writeString(value_headerValue) } - writeHierarchicalSymbolEffect(value: HierarchicalSymbolEffect): void { + public writeHierarchicalSymbolEffect(value: HierarchicalSymbolEffect): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeHoverEventParam(value: HoverEventParam): void { + public writeHoverEventParam(value: HoverEventParam): void { let valueSerializer : Serializer = this const value_foldStatus = value.foldStatus valueSerializer.writeInt32(TypeChecker.FoldStatus_ToNumeric(value_foldStatus)) @@ -2810,12 +3064,12 @@ export class Serializer extends SerializerBase { const value_windowStatusType = value.windowStatusType valueSerializer.writeInt32(TypeChecker.WindowStatusType_ToNumeric(value_windowStatusType)) } - writeImageAIOptions(value: ImageAIOptions): void { + public writeImageAIOptions(value: ImageAIOptions): void { let valueSerializer : Serializer = this const value_types = value.types let value_types_type : int32 = RuntimeType.UNDEFINED value_types_type = runtimeType(value_types) - valueSerializer.writeInt8(value_types_type as int32) + valueSerializer.writeInt8(value_types_type) if ((RuntimeType.UNDEFINED) != (value_types_type)) { const value_types_value = value_types! valueSerializer.writeInt32(value_types_value.length as int32) @@ -2827,13 +3081,13 @@ export class Serializer extends SerializerBase { const value_aiController = value.aiController let value_aiController_type : int32 = RuntimeType.UNDEFINED value_aiController_type = runtimeType(value_aiController) - valueSerializer.writeInt8(value_aiController_type as int32) + valueSerializer.writeInt8(value_aiController_type) if ((RuntimeType.UNDEFINED) != (value_aiController_type)) { const value_aiController_value = value_aiController! valueSerializer.writeImageAnalyzerController(value_aiController_value) } } - writeImageAnalyzerConfig(value: ImageAnalyzerConfig): void { + public writeImageAnalyzerConfig(value: ImageAnalyzerConfig): void { let valueSerializer : Serializer = this const value_types = value.types valueSerializer.writeInt32(value_types.length as int32) @@ -2842,15 +3096,15 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(TypeChecker.ImageAnalyzerType_ToNumeric(value_types_element)) } } - writeImageBitmap(value: ImageBitmap): void { + public writeImageBitmap(value: ImageBitmap): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeImageData(value: ImageData): void { + public writeImageData(value: ImageData): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeImageError(value: ImageError): void { + public writeImageError(value: ImageError): void { let valueSerializer : Serializer = this const value_componentWidth = value.componentWidth valueSerializer.writeNumber(value_componentWidth) @@ -2859,7 +3113,7 @@ export class Serializer extends SerializerBase { const value_message = value.message valueSerializer.writeString(value_message) } - writeImageLoadResult(value: ImageLoadResult): void { + public writeImageLoadResult(value: ImageLoadResult): void { let valueSerializer : Serializer = this const value_width = value.width valueSerializer.writeNumber(value_width) @@ -2880,19 +3134,24 @@ export class Serializer extends SerializerBase { const value_contentOffsetY = value.contentOffsetY valueSerializer.writeNumber(value_contentOffsetY) } - writeImageSourceSize(value: ImageSourceSize): void { + public writeImageSourceSize(value: ImageSourceSize): void { let valueSerializer : Serializer = this const value_width = value.width valueSerializer.writeNumber(value_width) const value_height = value.height valueSerializer.writeNumber(value_height) } - writeInputCounterOptions(value: InputCounterOptions): void { + public writeImmersiveMode(value: ImmersiveMode): void { + let valueSerializer : Serializer = this + const value__ImmersiveModeStub = value._ImmersiveModeStub + valueSerializer.writeString(value__ImmersiveModeStub) + } + public writeInputCounterOptions(value: InputCounterOptions): void { let valueSerializer : Serializer = this const value_thresholdPercentage = value.thresholdPercentage let value_thresholdPercentage_type : int32 = RuntimeType.UNDEFINED value_thresholdPercentage_type = runtimeType(value_thresholdPercentage) - valueSerializer.writeInt8(value_thresholdPercentage_type as int32) + valueSerializer.writeInt8(value_thresholdPercentage_type) if ((RuntimeType.UNDEFINED) != (value_thresholdPercentage_type)) { const value_thresholdPercentage_value = value_thresholdPercentage! valueSerializer.writeNumber(value_thresholdPercentage_value) @@ -2900,27 +3159,27 @@ export class Serializer extends SerializerBase { const value_highlightBorder = value.highlightBorder let value_highlightBorder_type : int32 = RuntimeType.UNDEFINED value_highlightBorder_type = runtimeType(value_highlightBorder) - valueSerializer.writeInt8(value_highlightBorder_type as int32) + valueSerializer.writeInt8(value_highlightBorder_type) if ((RuntimeType.UNDEFINED) != (value_highlightBorder_type)) { const value_highlightBorder_value = value_highlightBorder! valueSerializer.writeBoolean(value_highlightBorder_value) } } - writeInsertValue(value: InsertValue): void { + public writeInsertValue(value: InsertValue): void { let valueSerializer : Serializer = this const value_insertOffset = value.insertOffset valueSerializer.writeNumber(value_insertOffset) const value_insertValue = value.insertValue valueSerializer.writeString(value_insertValue) } - writeIntelligentTrackingPreventionDetails(value: IntelligentTrackingPreventionDetails): void { + public writeIntelligentTrackingPreventionDetails(value: IntelligentTrackingPreventionDetails): void { let valueSerializer : Serializer = this const value_host = value.host valueSerializer.writeString(value_host) const value_trackerHost = value.trackerHost valueSerializer.writeString(value_trackerHost) } - writeInvertOptions(value: InvertOptions): void { + public writeInvertOptions(value: InvertOptions): void { let valueSerializer : Serializer = this const value_low = value.low valueSerializer.writeNumber(value_low) @@ -2931,34 +3190,34 @@ export class Serializer extends SerializerBase { const value_thresholdRange = value.thresholdRange valueSerializer.writeNumber(value_thresholdRange) } - writeItemDragInfo(value: ItemDragInfo): void { + public writeItemDragInfo(value: ItemDragInfo): void { let valueSerializer : Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) const value_y = value.y valueSerializer.writeNumber(value_y) } - writeKeyboardOptions(value: KeyboardOptions): void { + public writeKeyboardOptions(value: KeyboardOptions): void { let valueSerializer : Serializer = this const value_supportAvoidance = value.supportAvoidance let value_supportAvoidance_type : int32 = RuntimeType.UNDEFINED value_supportAvoidance_type = runtimeType(value_supportAvoidance) - valueSerializer.writeInt8(value_supportAvoidance_type as int32) + valueSerializer.writeInt8(value_supportAvoidance_type) if ((RuntimeType.UNDEFINED) != (value_supportAvoidance_type)) { const value_supportAvoidance_value = value_supportAvoidance! valueSerializer.writeBoolean(value_supportAvoidance_value) } } - writeKeyEvent(value: KeyEvent): void { + public writeKeyEvent(value: KeyEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLargestContentfulPaint(value: LargestContentfulPaint): void { + public writeLargestContentfulPaint(value: LargestContentfulPaint): void { let valueSerializer : Serializer = this const value_navigationStartTime = value.navigationStartTime let value_navigationStartTime_type : int32 = RuntimeType.UNDEFINED value_navigationStartTime_type = runtimeType(value_navigationStartTime) - valueSerializer.writeInt8(value_navigationStartTime_type as int32) + valueSerializer.writeInt8(value_navigationStartTime_type) if ((RuntimeType.UNDEFINED) != (value_navigationStartTime_type)) { const value_navigationStartTime_value = value_navigationStartTime! valueSerializer.writeNumber(value_navigationStartTime_value) @@ -2966,7 +3225,7 @@ export class Serializer extends SerializerBase { const value_largestImagePaintTime = value.largestImagePaintTime let value_largestImagePaintTime_type : int32 = RuntimeType.UNDEFINED value_largestImagePaintTime_type = runtimeType(value_largestImagePaintTime) - valueSerializer.writeInt8(value_largestImagePaintTime_type as int32) + valueSerializer.writeInt8(value_largestImagePaintTime_type) if ((RuntimeType.UNDEFINED) != (value_largestImagePaintTime_type)) { const value_largestImagePaintTime_value = value_largestImagePaintTime! valueSerializer.writeNumber(value_largestImagePaintTime_value) @@ -2974,7 +3233,7 @@ export class Serializer extends SerializerBase { const value_largestTextPaintTime = value.largestTextPaintTime let value_largestTextPaintTime_type : int32 = RuntimeType.UNDEFINED value_largestTextPaintTime_type = runtimeType(value_largestTextPaintTime) - valueSerializer.writeInt8(value_largestTextPaintTime_type as int32) + valueSerializer.writeInt8(value_largestTextPaintTime_type) if ((RuntimeType.UNDEFINED) != (value_largestTextPaintTime_type)) { const value_largestTextPaintTime_value = value_largestTextPaintTime! valueSerializer.writeNumber(value_largestTextPaintTime_value) @@ -2982,7 +3241,7 @@ export class Serializer extends SerializerBase { const value_imageBPP = value.imageBPP let value_imageBPP_type : int32 = RuntimeType.UNDEFINED value_imageBPP_type = runtimeType(value_imageBPP) - valueSerializer.writeInt8(value_imageBPP_type as int32) + valueSerializer.writeInt8(value_imageBPP_type) if ((RuntimeType.UNDEFINED) != (value_imageBPP_type)) { const value_imageBPP_value = value_imageBPP! valueSerializer.writeNumber(value_imageBPP_value) @@ -2990,7 +3249,7 @@ export class Serializer extends SerializerBase { const value_largestImageLoadStartTime = value.largestImageLoadStartTime let value_largestImageLoadStartTime_type : int32 = RuntimeType.UNDEFINED value_largestImageLoadStartTime_type = runtimeType(value_largestImageLoadStartTime) - valueSerializer.writeInt8(value_largestImageLoadStartTime_type as int32) + valueSerializer.writeInt8(value_largestImageLoadStartTime_type) if ((RuntimeType.UNDEFINED) != (value_largestImageLoadStartTime_type)) { const value_largestImageLoadStartTime_value = value_largestImageLoadStartTime! valueSerializer.writeNumber(value_largestImageLoadStartTime_value) @@ -2998,37 +3257,47 @@ export class Serializer extends SerializerBase { const value_largestImageLoadEndTime = value.largestImageLoadEndTime let value_largestImageLoadEndTime_type : int32 = RuntimeType.UNDEFINED value_largestImageLoadEndTime_type = runtimeType(value_largestImageLoadEndTime) - valueSerializer.writeInt8(value_largestImageLoadEndTime_type as int32) + valueSerializer.writeInt8(value_largestImageLoadEndTime_type) if ((RuntimeType.UNDEFINED) != (value_largestImageLoadEndTime_type)) { const value_largestImageLoadEndTime_value = value_largestImageLoadEndTime! valueSerializer.writeNumber(value_largestImageLoadEndTime_value) } } - writeLengthMetrics(value: LengthMetrics): void { + public writeLengthMetrics(value: LengthMetrics): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLetterSpacingStyle(value: LetterSpacingStyle): void { + public writeLetterSpacingStyle(value: LetterSpacingStyle): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLinearGradient_common(value: LinearGradient_common): void { + public writeLevelMode(value: LevelMode): void { + let valueSerializer : Serializer = this + const value__LevelModeStub = value._LevelModeStub + valueSerializer.writeString(value__LevelModeStub) + } + public writeLevelOrder(value: LevelOrder): void { + let valueSerializer : Serializer = this + const value__LevelOrderStub = value._LevelOrderStub + valueSerializer.writeString(value__LevelOrderStub) + } + public writeLinearGradient_common(value: LinearGradient_common): void { let valueSerializer : Serializer = this const value_angle = value.angle let value_angle_type : int32 = RuntimeType.UNDEFINED value_angle_type = runtimeType(value_angle) - valueSerializer.writeInt8(value_angle_type as int32) + valueSerializer.writeInt8(value_angle_type) if ((RuntimeType.UNDEFINED) != (value_angle_type)) { const value_angle_value = value_angle! let value_angle_value_type : int32 = RuntimeType.UNDEFINED value_angle_value_type = runtimeType(value_angle_value) if (RuntimeType.NUMBER == value_angle_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_angle_value_0 = value_angle_value as number valueSerializer.writeNumber(value_angle_value_0) } else if (RuntimeType.STRING == value_angle_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_angle_value_1 = value_angle_value as string valueSerializer.writeString(value_angle_value_1) } @@ -3036,7 +3305,7 @@ export class Serializer extends SerializerBase { const value_direction = value.direction let value_direction_type : int32 = RuntimeType.UNDEFINED value_direction_type = runtimeType(value_direction) - valueSerializer.writeInt8(value_direction_type as int32) + valueSerializer.writeInt8(value_direction_type) if ((RuntimeType.UNDEFINED) != (value_direction_type)) { const value_direction_value = (value_direction as GradientDirection) valueSerializer.writeInt32(TypeChecker.GradientDirection_ToNumeric(value_direction_value)) @@ -3049,22 +3318,22 @@ export class Serializer extends SerializerBase { let value_colors_element_0_type : int32 = RuntimeType.UNDEFINED value_colors_element_0_type = runtimeType(value_colors_element_0) if (TypeChecker.isColor(value_colors_element_0)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_colors_element_0_0 = value_colors_element_0 as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_colors_element_0_0)) } else if (RuntimeType.NUMBER == value_colors_element_0_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_colors_element_0_1 = value_colors_element_0 as number valueSerializer.writeNumber(value_colors_element_0_1) } else if (RuntimeType.STRING == value_colors_element_0_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_colors_element_0_2 = value_colors_element_0 as string valueSerializer.writeString(value_colors_element_0_2) } else if (RuntimeType.OBJECT == value_colors_element_0_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_colors_element_0_3 = value_colors_element_0 as Resource valueSerializer.writeResource(value_colors_element_0_3) } @@ -3074,13 +3343,13 @@ export class Serializer extends SerializerBase { const value_repeating = value.repeating let value_repeating_type : int32 = RuntimeType.UNDEFINED value_repeating_type = runtimeType(value_repeating) - valueSerializer.writeInt8(value_repeating_type as int32) + valueSerializer.writeInt8(value_repeating_type) if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { const value_repeating_value = value_repeating! valueSerializer.writeBoolean(value_repeating_value) } } - writeLinearGradientBlurOptions(value: LinearGradientBlurOptions): void { + public writeLinearGradientBlurOptions(value: LinearGradientBlurOptions): void { let valueSerializer : Serializer = this const value_fractionStops = value.fractionStops valueSerializer.writeInt32(value_fractionStops.length as int32) @@ -3094,12 +3363,80 @@ export class Serializer extends SerializerBase { const value_direction = value.direction valueSerializer.writeInt32(TypeChecker.GradientDirection_ToNumeric(value_direction)) } - writeLinearIndicatorStartOptions(value: LinearIndicatorStartOptions): void { + public writeLinearGradientOptions(value: LinearGradientOptions): void { + let valueSerializer : Serializer = this + const value_angle = value.angle + let value_angle_type : int32 = RuntimeType.UNDEFINED + value_angle_type = runtimeType(value_angle) + valueSerializer.writeInt8(value_angle_type) + if ((RuntimeType.UNDEFINED) != (value_angle_type)) { + const value_angle_value = value_angle! + let value_angle_value_type : int32 = RuntimeType.UNDEFINED + value_angle_value_type = runtimeType(value_angle_value) + if (RuntimeType.NUMBER == value_angle_value_type) { + valueSerializer.writeInt8(0) + const value_angle_value_0 = value_angle_value as number + valueSerializer.writeNumber(value_angle_value_0) + } + else if (RuntimeType.STRING == value_angle_value_type) { + valueSerializer.writeInt8(1) + const value_angle_value_1 = value_angle_value as string + valueSerializer.writeString(value_angle_value_1) + } + } + const value_direction = value.direction + let value_direction_type : int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + valueSerializer.writeInt8(value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = (value_direction as GradientDirection) + valueSerializer.writeInt32(TypeChecker.GradientDirection_ToNumeric(value_direction_value)) + } + const value_colors = value.colors + valueSerializer.writeInt32(value_colors.length as int32) + for (let i = 0; i < value_colors.length; i++) { + const value_colors_element : [ ResourceColor, number ] = value_colors[i] + const value_colors_element_0 = value_colors_element[0] + let value_colors_element_0_type : int32 = RuntimeType.UNDEFINED + value_colors_element_0_type = runtimeType(value_colors_element_0) + if (TypeChecker.isColor(value_colors_element_0)) { + valueSerializer.writeInt8(0) + const value_colors_element_0_0 = value_colors_element_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_colors_element_0_0)) + } + else if (RuntimeType.NUMBER == value_colors_element_0_type) { + valueSerializer.writeInt8(1) + const value_colors_element_0_1 = value_colors_element_0 as number + valueSerializer.writeNumber(value_colors_element_0_1) + } + else if (RuntimeType.STRING == value_colors_element_0_type) { + valueSerializer.writeInt8(2) + const value_colors_element_0_2 = value_colors_element_0 as string + valueSerializer.writeString(value_colors_element_0_2) + } + else if (RuntimeType.OBJECT == value_colors_element_0_type) { + valueSerializer.writeInt8(3) + const value_colors_element_0_3 = value_colors_element_0 as Resource + valueSerializer.writeResource(value_colors_element_0_3) + } + const value_colors_element_1 = value_colors_element[1] + valueSerializer.writeNumber(value_colors_element_1) + } + const value_repeating = value.repeating + let value_repeating_type : int32 = RuntimeType.UNDEFINED + value_repeating_type = runtimeType(value_repeating) + valueSerializer.writeInt8(value_repeating_type) + if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { + const value_repeating_value = value_repeating! + valueSerializer.writeBoolean(value_repeating_value) + } + } + public writeLinearIndicatorStartOptions(value: LinearIndicatorStartOptions): void { let valueSerializer : Serializer = this const value_interval = value.interval let value_interval_type : int32 = RuntimeType.UNDEFINED value_interval_type = runtimeType(value_interval) - valueSerializer.writeInt8(value_interval_type as int32) + valueSerializer.writeInt8(value_interval_type) if ((RuntimeType.UNDEFINED) != (value_interval_type)) { const value_interval_value = value_interval! valueSerializer.writeNumber(value_interval_value) @@ -3107,17 +3444,17 @@ export class Serializer extends SerializerBase { const value_duration = value.duration let value_duration_type : int32 = RuntimeType.UNDEFINED value_duration_type = runtimeType(value_duration) - valueSerializer.writeInt8(value_duration_type as int32) + valueSerializer.writeInt8(value_duration_type) if ((RuntimeType.UNDEFINED) != (value_duration_type)) { const value_duration_value = value_duration! valueSerializer.writeNumber(value_duration_value) } } - writeLineHeightStyle(value: LineHeightStyle): void { + public writeLineHeightStyle(value: LineHeightStyle): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLineMetrics(value: LineMetrics): void { + public writeLineMetrics(value: LineMetrics): void { let valueSerializer : Serializer = this const value_startIndex = value.startIndex valueSerializer.writeNumber(value_startIndex) @@ -3148,23 +3485,23 @@ export class Serializer extends SerializerBase { valueSerializer.writeRunMetrics(value_runMetrics_value) } } - writeLineOptions(value: LineOptions): void { + public writeLineOptions(value: LineOptions): void { let valueSerializer : Serializer = this const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! let value_width_value_type : int32 = RuntimeType.UNDEFINED value_width_value_type = runtimeType(value_width_value) if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_width_value_0 = value_width_value as string valueSerializer.writeString(value_width_value_0) } else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1 = value_width_value as number valueSerializer.writeNumber(value_width_value_1) } @@ -3172,29 +3509,29 @@ export class Serializer extends SerializerBase { const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! let value_height_value_type : int32 = RuntimeType.UNDEFINED value_height_value_type = runtimeType(value_height_value) if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_height_value_0 = value_height_value as string valueSerializer.writeString(value_height_value_0) } else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_height_value_1 = value_height_value as number valueSerializer.writeNumber(value_height_value_1) } } } - writeListItemGroupOptions(value: ListItemGroupOptions): void { + public writeListItemGroupOptions(value: ListItemGroupOptions): void { let valueSerializer : Serializer = this const value_header = value.header let value_header_type : int32 = RuntimeType.UNDEFINED value_header_type = runtimeType(value_header) - valueSerializer.writeInt8(value_header_type as int32) + valueSerializer.writeInt8(value_header_type) if ((RuntimeType.UNDEFINED) != (value_header_type)) { const value_header_value = value_header! valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_header_value)) @@ -3202,7 +3539,7 @@ export class Serializer extends SerializerBase { const value_headerComponent = value.headerComponent let value_headerComponent_type : int32 = RuntimeType.UNDEFINED value_headerComponent_type = runtimeType(value_headerComponent) - valueSerializer.writeInt8(value_headerComponent_type as int32) + valueSerializer.writeInt8(value_headerComponent_type) if ((RuntimeType.UNDEFINED) != (value_headerComponent_type)) { const value_headerComponent_value = value_headerComponent! valueSerializer.writeComponentContent(value_headerComponent_value) @@ -3210,7 +3547,7 @@ export class Serializer extends SerializerBase { const value_footer = value.footer let value_footer_type : int32 = RuntimeType.UNDEFINED value_footer_type = runtimeType(value_footer) - valueSerializer.writeInt8(value_footer_type as int32) + valueSerializer.writeInt8(value_footer_type) if ((RuntimeType.UNDEFINED) != (value_footer_type)) { const value_footer_value = value_footer! valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_footer_value)) @@ -3218,7 +3555,7 @@ export class Serializer extends SerializerBase { const value_footerComponent = value.footerComponent let value_footerComponent_type : int32 = RuntimeType.UNDEFINED value_footerComponent_type = runtimeType(value_footerComponent) - valueSerializer.writeInt8(value_footerComponent_type as int32) + valueSerializer.writeInt8(value_footerComponent_type) if ((RuntimeType.UNDEFINED) != (value_footerComponent_type)) { const value_footerComponent_value = value_footerComponent! valueSerializer.writeComponentContent(value_footerComponent_value) @@ -3226,18 +3563,18 @@ export class Serializer extends SerializerBase { const value_space = value.space let value_space_type : int32 = RuntimeType.UNDEFINED value_space_type = runtimeType(value_space) - valueSerializer.writeInt8(value_space_type as int32) + valueSerializer.writeInt8(value_space_type) if ((RuntimeType.UNDEFINED) != (value_space_type)) { const value_space_value = value_space! let value_space_value_type : int32 = RuntimeType.UNDEFINED value_space_value_type = runtimeType(value_space_value) if (RuntimeType.NUMBER == value_space_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_space_value_0 = value_space_value as number valueSerializer.writeNumber(value_space_value_0) } else if (RuntimeType.STRING == value_space_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_space_value_1 = value_space_value as string valueSerializer.writeString(value_space_value_1) } @@ -3245,29 +3582,29 @@ export class Serializer extends SerializerBase { const value_style = value.style let value_style_type : int32 = RuntimeType.UNDEFINED value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) + valueSerializer.writeInt8(value_style_type) if ((RuntimeType.UNDEFINED) != (value_style_type)) { const value_style_value = (value_style as ListItemGroupStyle) valueSerializer.writeInt32(TypeChecker.ListItemGroupStyle_ToNumeric(value_style_value)) } } - writeListItemOptions(value: ListItemOptions): void { + public writeListItemOptions(value: ListItemOptions): void { let valueSerializer : Serializer = this const value_style = value.style let value_style_type : int32 = RuntimeType.UNDEFINED value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) + valueSerializer.writeInt8(value_style_type) if ((RuntimeType.UNDEFINED) != (value_style_type)) { const value_style_value = (value_style as ListItemStyle) valueSerializer.writeInt32(TypeChecker.ListItemStyle_ToNumeric(value_style_value)) } } - writeListOptions(value: ListOptions): void { + public writeListOptions(value: ListOptions): void { let valueSerializer : Serializer = this const value_initialIndex = value.initialIndex let value_initialIndex_type : int32 = RuntimeType.UNDEFINED value_initialIndex_type = runtimeType(value_initialIndex) - valueSerializer.writeInt8(value_initialIndex_type as int32) + valueSerializer.writeInt8(value_initialIndex_type) if ((RuntimeType.UNDEFINED) != (value_initialIndex_type)) { const value_initialIndex_value = value_initialIndex! valueSerializer.writeNumber(value_initialIndex_value) @@ -3275,18 +3612,18 @@ export class Serializer extends SerializerBase { const value_space = value.space let value_space_type : int32 = RuntimeType.UNDEFINED value_space_type = runtimeType(value_space) - valueSerializer.writeInt8(value_space_type as int32) + valueSerializer.writeInt8(value_space_type) if ((RuntimeType.UNDEFINED) != (value_space_type)) { const value_space_value = value_space! let value_space_value_type : int32 = RuntimeType.UNDEFINED value_space_value_type = runtimeType(value_space_value) if (RuntimeType.NUMBER == value_space_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_space_value_0 = value_space_value as number valueSerializer.writeNumber(value_space_value_0) } else if (RuntimeType.STRING == value_space_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_space_value_1 = value_space_value as string valueSerializer.writeString(value_space_value_1) } @@ -3294,13 +3631,13 @@ export class Serializer extends SerializerBase { const value_scroller = value.scroller let value_scroller_type : int32 = RuntimeType.UNDEFINED value_scroller_type = runtimeType(value_scroller) - valueSerializer.writeInt8(value_scroller_type as int32) + valueSerializer.writeInt8(value_scroller_type) if ((RuntimeType.UNDEFINED) != (value_scroller_type)) { const value_scroller_value = value_scroller! valueSerializer.writeScroller(value_scroller_value) } } - writeLoadCommittedDetails(value: LoadCommittedDetails): void { + public writeLoadCommittedDetails(value: LoadCommittedDetails): void { let valueSerializer : Serializer = this const value_isMainFrame = value.isMainFrame valueSerializer.writeBoolean(value_isMainFrame) @@ -3313,7 +3650,7 @@ export class Serializer extends SerializerBase { const value_url = value.url valueSerializer.writeString(value_url) } - writeLocalizedBarrierStyle(value: LocalizedBarrierStyle): void { + public writeLocalizedBarrierStyle(value: LocalizedBarrierStyle): void { let valueSerializer : Serializer = this const value_id = value.id valueSerializer.writeString(value_id) @@ -3326,26 +3663,26 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_referencedId_element) } } - writeLocalizedHorizontalAlignParam(value: LocalizedHorizontalAlignParam): void { + public writeLocalizedHorizontalAlignParam(value: LocalizedHorizontalAlignParam): void { let valueSerializer : Serializer = this const value_anchor = value.anchor valueSerializer.writeString(value_anchor) const value_align = value.align valueSerializer.writeInt32(TypeChecker.HorizontalAlign_ToNumeric(value_align)) } - writeLocalizedVerticalAlignParam(value: LocalizedVerticalAlignParam): void { + public writeLocalizedVerticalAlignParam(value: LocalizedVerticalAlignParam): void { let valueSerializer : Serializer = this const value_anchor = value.anchor valueSerializer.writeString(value_anchor) const value_align = value.align valueSerializer.writeInt32(TypeChecker.VerticalAlign_ToNumeric(value_align)) } - writeLocationButtonOptions(value: LocationButtonOptions): void { + public writeLocationButtonOptions(value: LocationButtonOptions): void { let valueSerializer : Serializer = this const value_icon = value.icon let value_icon_type : int32 = RuntimeType.UNDEFINED value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) + valueSerializer.writeInt8(value_icon_type) if ((RuntimeType.UNDEFINED) != (value_icon_type)) { const value_icon_value = (value_icon as LocationIconStyle) valueSerializer.writeInt32(TypeChecker.LocationIconStyle_ToNumeric(value_icon_value)) @@ -3353,7 +3690,7 @@ export class Serializer extends SerializerBase { const value_text = value.text let value_text_type : int32 = RuntimeType.UNDEFINED value_text_type = runtimeType(value_text) - valueSerializer.writeInt8(value_text_type as int32) + valueSerializer.writeInt8(value_text_type) if ((RuntimeType.UNDEFINED) != (value_text_type)) { const value_text_value = (value_text as LocationDescription) valueSerializer.writeInt32(TypeChecker.LocationDescription_ToNumeric(value_text_value)) @@ -3361,20 +3698,55 @@ export class Serializer extends SerializerBase { const value_buttonType = value.buttonType let value_buttonType_type : int32 = RuntimeType.UNDEFINED value_buttonType_type = runtimeType(value_buttonType) - valueSerializer.writeInt8(value_buttonType_type as int32) + valueSerializer.writeInt8(value_buttonType_type) if ((RuntimeType.UNDEFINED) != (value_buttonType_type)) { const value_buttonType_value = (value_buttonType as ButtonType) valueSerializer.writeInt32(TypeChecker.ButtonType_ToNumeric(value_buttonType_value)) } } - writeMarqueeOptions(value: MarqueeOptions): void { + public writeLongPressGestureHandlerOptions(value: LongPressGestureHandlerOptions): void { + let valueSerializer : Serializer = this + const value_isFingerCountLimited = value.isFingerCountLimited + let value_isFingerCountLimited_type : int32 = RuntimeType.UNDEFINED + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited) + valueSerializer.writeInt8(value_isFingerCountLimited_type) + if ((RuntimeType.UNDEFINED) != (value_isFingerCountLimited_type)) { + const value_isFingerCountLimited_value = value_isFingerCountLimited! + valueSerializer.writeBoolean(value_isFingerCountLimited_value) + } + const value_fingers = value.fingers + let value_fingers_type : int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_repeat = value.repeat + let value_repeat_type : int32 = RuntimeType.UNDEFINED + value_repeat_type = runtimeType(value_repeat) + valueSerializer.writeInt8(value_repeat_type) + if ((RuntimeType.UNDEFINED) != (value_repeat_type)) { + const value_repeat_value = value_repeat! + valueSerializer.writeBoolean(value_repeat_value) + } + const value_duration = value.duration + let value_duration_type : int32 = RuntimeType.UNDEFINED + value_duration_type = runtimeType(value_duration) + valueSerializer.writeInt8(value_duration_type) + if ((RuntimeType.UNDEFINED) != (value_duration_type)) { + const value_duration_value = value_duration! + valueSerializer.writeNumber(value_duration_value) + } + } + public writeMarqueeOptions(value: MarqueeOptions): void { let valueSerializer : Serializer = this const value_start = value.start valueSerializer.writeBoolean(value_start) const value_step = value.step let value_step_type : int32 = RuntimeType.UNDEFINED value_step_type = runtimeType(value_step) - valueSerializer.writeInt8(value_step_type as int32) + valueSerializer.writeInt8(value_step_type) if ((RuntimeType.UNDEFINED) != (value_step_type)) { const value_step_value = value_step! valueSerializer.writeNumber(value_step_value) @@ -3382,7 +3754,7 @@ export class Serializer extends SerializerBase { const value_loop = value.loop let value_loop_type : int32 = RuntimeType.UNDEFINED value_loop_type = runtimeType(value_loop) - valueSerializer.writeInt8(value_loop_type as int32) + valueSerializer.writeInt8(value_loop_type) if ((RuntimeType.UNDEFINED) != (value_loop_type)) { const value_loop_value = value_loop! valueSerializer.writeNumber(value_loop_value) @@ -3390,7 +3762,7 @@ export class Serializer extends SerializerBase { const value_fromStart = value.fromStart let value_fromStart_type : int32 = RuntimeType.UNDEFINED value_fromStart_type = runtimeType(value_fromStart) - valueSerializer.writeInt8(value_fromStart_type as int32) + valueSerializer.writeInt8(value_fromStart_type) if ((RuntimeType.UNDEFINED) != (value_fromStart_type)) { const value_fromStart_value = value_fromStart! valueSerializer.writeBoolean(value_fromStart_value) @@ -3398,18 +3770,22 @@ export class Serializer extends SerializerBase { const value_src = value.src valueSerializer.writeString(value_src) } - writeMatrix2D(value: Matrix2D): void { + public writeMatrix2D(value: Matrix2D): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeMeasurable(value: Measurable): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeMeasureResult(value: MeasureResult): void { + public writeMeasureResult(value: MeasureResult): void { let valueSerializer : Serializer = this const value_width = value.width valueSerializer.writeNumber(value_width) const value_height = value.height valueSerializer.writeNumber(value_height) } - writeMessageEvents(value: MessageEvents): void { + public writeMessageEvents(value: MessageEvents): void { let valueSerializer : Serializer = this const value_type = value.type valueSerializer.writeString(value_type) @@ -3418,7 +3794,7 @@ export class Serializer extends SerializerBase { const value_data = value.data valueSerializer.holdAndWriteObject(value_data) } - writeMonthData(value: MonthData): void { + public writeMonthData(value: MonthData): void { let valueSerializer : Serializer = this const value_year = value.year valueSerializer.writeNumber(value_year) @@ -3431,28 +3807,28 @@ export class Serializer extends SerializerBase { valueSerializer.writeCalendarDay(value_data_element) } } - writeMotionBlurAnchor(value: MotionBlurAnchor): void { + public writeMotionBlurAnchor(value: MotionBlurAnchor): void { let valueSerializer : Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) const value_y = value.y valueSerializer.writeNumber(value_y) } - writeMotionBlurOptions(value: MotionBlurOptions): void { + public writeMotionBlurOptions(value: MotionBlurOptions): void { let valueSerializer : Serializer = this const value_radius = value.radius valueSerializer.writeNumber(value_radius) const value_anchor = value.anchor valueSerializer.writeMotionBlurAnchor(value_anchor) } - writeMotionPathOptions(value: MotionPathOptions): void { + public writeMotionPathOptions(value: MotionPathOptions): void { let valueSerializer : Serializer = this const value_path = value.path valueSerializer.writeString(value_path) const value_from = value.from let value_from_type : int32 = RuntimeType.UNDEFINED value_from_type = runtimeType(value_from) - valueSerializer.writeInt8(value_from_type as int32) + valueSerializer.writeInt8(value_from_type) if ((RuntimeType.UNDEFINED) != (value_from_type)) { const value_from_value = value_from! valueSerializer.writeNumber(value_from_value) @@ -3460,7 +3836,7 @@ export class Serializer extends SerializerBase { const value_to = value.to let value_to_type : int32 = RuntimeType.UNDEFINED value_to_type = runtimeType(value_to) - valueSerializer.writeInt8(value_to_type as int32) + valueSerializer.writeInt8(value_to_type) if ((RuntimeType.UNDEFINED) != (value_to_type)) { const value_to_value = value_to! valueSerializer.writeNumber(value_to_value) @@ -3468,29 +3844,29 @@ export class Serializer extends SerializerBase { const value_rotatable = value.rotatable let value_rotatable_type : int32 = RuntimeType.UNDEFINED value_rotatable_type = runtimeType(value_rotatable) - valueSerializer.writeInt8(value_rotatable_type as int32) + valueSerializer.writeInt8(value_rotatable_type) if ((RuntimeType.UNDEFINED) != (value_rotatable_type)) { const value_rotatable_value = value_rotatable! valueSerializer.writeBoolean(value_rotatable_value) } } - writeMutableStyledString(value: MutableStyledString): void { + public writeMutableStyledString(value: MutableStyledString): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNativeEmbedVisibilityInfo(value: NativeEmbedVisibilityInfo): void { + public writeNativeEmbedVisibilityInfo(value: NativeEmbedVisibilityInfo): void { let valueSerializer : Serializer = this const value_visibility = value.visibility valueSerializer.writeBoolean(value_visibility) const value_embedId = value.embedId valueSerializer.writeString(value_embedId) } - writeNavContentInfo(value: NavContentInfo): void { + public writeNavContentInfo(value: NavContentInfo): void { let valueSerializer : Serializer = this const value_name = value.name let value_name_type : int32 = RuntimeType.UNDEFINED value_name_type = runtimeType(value_name) - valueSerializer.writeInt8(value_name_type as int32) + valueSerializer.writeInt8(value_name_type) if ((RuntimeType.UNDEFINED) != (value_name_type)) { const value_name_value = value_name! valueSerializer.writeString(value_name_value) @@ -3500,7 +3876,7 @@ export class Serializer extends SerializerBase { const value_mode = value.mode let value_mode_type : int32 = RuntimeType.UNDEFINED value_mode_type = runtimeType(value_mode) - valueSerializer.writeInt8(value_mode_type as int32) + valueSerializer.writeInt8(value_mode_type) if ((RuntimeType.UNDEFINED) != (value_mode_type)) { const value_mode_value = (value_mode as NavDestinationMode) valueSerializer.writeInt32(TypeChecker.NavDestinationMode_ToNumeric(value_mode_value)) @@ -3508,7 +3884,7 @@ export class Serializer extends SerializerBase { const value_param = value.param let value_param_type : int32 = RuntimeType.UNDEFINED value_param_type = runtimeType(value_param) - valueSerializer.writeInt8(value_param_type as int32) + valueSerializer.writeInt8(value_param_type) if ((RuntimeType.UNDEFINED) != (value_param_type)) { const value_param_value = value_param! valueSerializer.holdAndWriteObject(value_param_value) @@ -3516,18 +3892,55 @@ export class Serializer extends SerializerBase { const value_navDestinationId = value.navDestinationId let value_navDestinationId_type : int32 = RuntimeType.UNDEFINED value_navDestinationId_type = runtimeType(value_navDestinationId) - valueSerializer.writeInt8(value_navDestinationId_type as int32) + valueSerializer.writeInt8(value_navDestinationId_type) if ((RuntimeType.UNDEFINED) != (value_navDestinationId_type)) { const value_navDestinationId_value = value_navDestinationId! valueSerializer.writeString(value_navDestinationId_value) } } - writeNavigationAnimatedTransition(value: NavigationAnimatedTransition): void { + public writeNavDestinationTransition(value: NavDestinationTransition): void { + let valueSerializer : Serializer = this + const value_onTransitionEnd = value.onTransitionEnd + let value_onTransitionEnd_type : int32 = RuntimeType.UNDEFINED + value_onTransitionEnd_type = runtimeType(value_onTransitionEnd) + valueSerializer.writeInt8(value_onTransitionEnd_type) + if ((RuntimeType.UNDEFINED) != (value_onTransitionEnd_type)) { + const value_onTransitionEnd_value = value_onTransitionEnd! + valueSerializer.holdAndWriteCallback(value_onTransitionEnd_value) + } + const value_duration = value.duration + let value_duration_type : int32 = RuntimeType.UNDEFINED + value_duration_type = runtimeType(value_duration) + valueSerializer.writeInt8(value_duration_type) + if ((RuntimeType.UNDEFINED) != (value_duration_type)) { + const value_duration_value = value_duration! + valueSerializer.writeNumber(value_duration_value) + } + const value_curve = value.curve + let value_curve_type : int32 = RuntimeType.UNDEFINED + value_curve_type = runtimeType(value_curve) + valueSerializer.writeInt8(value_curve_type) + if ((RuntimeType.UNDEFINED) != (value_curve_type)) { + const value_curve_value = (value_curve as Curve) + valueSerializer.writeInt32(TypeChecker.Curve_ToNumeric(value_curve_value)) + } + const value_delay = value.delay + let value_delay_type : int32 = RuntimeType.UNDEFINED + value_delay_type = runtimeType(value_delay) + valueSerializer.writeInt8(value_delay_type) + if ((RuntimeType.UNDEFINED) != (value_delay_type)) { + const value_delay_value = value_delay! + valueSerializer.writeNumber(value_delay_value) + } + const value_event = value.event + valueSerializer.holdAndWriteCallback(value_event) + } + public writeNavigationAnimatedTransition(value: NavigationAnimatedTransition): void { let valueSerializer : Serializer = this const value_onTransitionEnd = value.onTransitionEnd let value_onTransitionEnd_type : int32 = RuntimeType.UNDEFINED value_onTransitionEnd_type = runtimeType(value_onTransitionEnd) - valueSerializer.writeInt8(value_onTransitionEnd_type as int32) + valueSerializer.writeInt8(value_onTransitionEnd_type) if ((RuntimeType.UNDEFINED) != (value_onTransitionEnd_type)) { const value_onTransitionEnd_value = value_onTransitionEnd! valueSerializer.holdAndWriteCallback(value_onTransitionEnd_value) @@ -3535,7 +3948,7 @@ export class Serializer extends SerializerBase { const value_timeout = value.timeout let value_timeout_type : int32 = RuntimeType.UNDEFINED value_timeout_type = runtimeType(value_timeout) - valueSerializer.writeInt8(value_timeout_type as int32) + valueSerializer.writeInt8(value_timeout_type) if ((RuntimeType.UNDEFINED) != (value_timeout_type)) { const value_timeout_value = value_timeout! valueSerializer.writeNumber(value_timeout_value) @@ -3543,7 +3956,7 @@ export class Serializer extends SerializerBase { const value_isInteractive = value.isInteractive let value_isInteractive_type : int32 = RuntimeType.UNDEFINED value_isInteractive_type = runtimeType(value_isInteractive) - valueSerializer.writeInt8(value_isInteractive_type as int32) + valueSerializer.writeInt8(value_isInteractive_type) if ((RuntimeType.UNDEFINED) != (value_isInteractive_type)) { const value_isInteractive_value = value_isInteractive! valueSerializer.writeBoolean(value_isInteractive_value) @@ -3551,12 +3964,12 @@ export class Serializer extends SerializerBase { const value_transition = value.transition valueSerializer.holdAndWriteCallback(value_transition) } - writeNavigationInterception(value: NavigationInterception): void { + public writeNavigationInterception(value: NavigationInterception): void { let valueSerializer : Serializer = this const value_willShow = value.willShow let value_willShow_type : int32 = RuntimeType.UNDEFINED value_willShow_type = runtimeType(value_willShow) - valueSerializer.writeInt8(value_willShow_type as int32) + valueSerializer.writeInt8(value_willShow_type) if ((RuntimeType.UNDEFINED) != (value_willShow_type)) { const value_willShow_value = value_willShow! valueSerializer.holdAndWriteCallback(value_willShow_value) @@ -3564,7 +3977,7 @@ export class Serializer extends SerializerBase { const value_didShow = value.didShow let value_didShow_type : int32 = RuntimeType.UNDEFINED value_didShow_type = runtimeType(value_didShow) - valueSerializer.writeInt8(value_didShow_type as int32) + valueSerializer.writeInt8(value_didShow_type) if ((RuntimeType.UNDEFINED) != (value_didShow_type)) { const value_didShow_value = value_didShow! valueSerializer.holdAndWriteCallback(value_didShow_value) @@ -3572,18 +3985,18 @@ export class Serializer extends SerializerBase { const value_modeChange = value.modeChange let value_modeChange_type : int32 = RuntimeType.UNDEFINED value_modeChange_type = runtimeType(value_modeChange) - valueSerializer.writeInt8(value_modeChange_type as int32) + valueSerializer.writeInt8(value_modeChange_type) if ((RuntimeType.UNDEFINED) != (value_modeChange_type)) { const value_modeChange_value = value_modeChange! valueSerializer.holdAndWriteCallback(value_modeChange_value) } } - writeNavigationOptions(value: NavigationOptions): void { + public writeNavigationOptions(value: NavigationOptions): void { let valueSerializer : Serializer = this const value_launchMode = value.launchMode let value_launchMode_type : int32 = RuntimeType.UNDEFINED value_launchMode_type = runtimeType(value_launchMode) - valueSerializer.writeInt8(value_launchMode_type as int32) + valueSerializer.writeInt8(value_launchMode_type) if ((RuntimeType.UNDEFINED) != (value_launchMode_type)) { const value_launchMode_value = (value_launchMode as LaunchMode) valueSerializer.writeInt32(TypeChecker.LaunchMode_ToNumeric(value_launchMode_value)) @@ -3591,26 +4004,33 @@ export class Serializer extends SerializerBase { const value_animated = value.animated let value_animated_type : int32 = RuntimeType.UNDEFINED value_animated_type = runtimeType(value_animated) - valueSerializer.writeInt8(value_animated_type as int32) + valueSerializer.writeInt8(value_animated_type) if ((RuntimeType.UNDEFINED) != (value_animated_type)) { const value_animated_value = value_animated! valueSerializer.writeBoolean(value_animated_value) } } - writeNavigationTransitionProxy(value: NavigationTransitionProxy): void { + public writeNavigationTransitionProxy(value: NavigationTransitionProxy): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNavPathInfo(value: NavPathInfo): void { + public writeNavPathInfo(value: NavPathInfo): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNestedScrollOptionsExt(value: NestedScrollOptionsExt): void { + public writeNestedScrollInfo(value: NestedScrollInfo): void { + let valueSerializer : Serializer = this + const value_parent = value.parent + valueSerializer.writeScroller(value_parent) + const value_child = value.child + valueSerializer.writeScroller(value_child) + } + public writeNestedScrollOptionsExt(value: NestedScrollOptionsExt): void { let valueSerializer : Serializer = this const value_scrollUp = value.scrollUp let value_scrollUp_type : int32 = RuntimeType.UNDEFINED value_scrollUp_type = runtimeType(value_scrollUp) - valueSerializer.writeInt8(value_scrollUp_type as int32) + valueSerializer.writeInt8(value_scrollUp_type) if ((RuntimeType.UNDEFINED) != (value_scrollUp_type)) { const value_scrollUp_value = (value_scrollUp as NestedScrollMode) valueSerializer.writeInt32(TypeChecker.NestedScrollMode_ToNumeric(value_scrollUp_value)) @@ -3618,7 +4038,7 @@ export class Serializer extends SerializerBase { const value_scrollDown = value.scrollDown let value_scrollDown_type : int32 = RuntimeType.UNDEFINED value_scrollDown_type = runtimeType(value_scrollDown) - valueSerializer.writeInt8(value_scrollDown_type as int32) + valueSerializer.writeInt8(value_scrollDown_type) if ((RuntimeType.UNDEFINED) != (value_scrollDown_type)) { const value_scrollDown_value = (value_scrollDown as NestedScrollMode) valueSerializer.writeInt32(TypeChecker.NestedScrollMode_ToNumeric(value_scrollDown_value)) @@ -3626,7 +4046,7 @@ export class Serializer extends SerializerBase { const value_scrollRight = value.scrollRight let value_scrollRight_type : int32 = RuntimeType.UNDEFINED value_scrollRight_type = runtimeType(value_scrollRight) - valueSerializer.writeInt8(value_scrollRight_type as int32) + valueSerializer.writeInt8(value_scrollRight_type) if ((RuntimeType.UNDEFINED) != (value_scrollRight_type)) { const value_scrollRight_value = (value_scrollRight as NestedScrollMode) valueSerializer.writeInt32(TypeChecker.NestedScrollMode_ToNumeric(value_scrollRight_value)) @@ -3634,17 +4054,13 @@ export class Serializer extends SerializerBase { const value_scrollLeft = value.scrollLeft let value_scrollLeft_type : int32 = RuntimeType.UNDEFINED value_scrollLeft_type = runtimeType(value_scrollLeft) - valueSerializer.writeInt8(value_scrollLeft_type as int32) + valueSerializer.writeInt8(value_scrollLeft_type) if ((RuntimeType.UNDEFINED) != (value_scrollLeft_type)) { const value_scrollLeft_value = (value_scrollLeft as NestedScrollMode) valueSerializer.writeInt32(TypeChecker.NestedScrollMode_ToNumeric(value_scrollLeft_value)) } } - writeOffscreenCanvasRenderingContext2D(value: OffscreenCanvasRenderingContext2D): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeOnAlertEvent(value: OnAlertEvent): void { + public writeOnAlertEvent(value: OnAlertEvent): void { let valueSerializer : Serializer = this const value_url = value.url valueSerializer.writeString(value_url) @@ -3653,7 +4069,7 @@ export class Serializer extends SerializerBase { const value_result = value.result valueSerializer.writeJsResult(value_result) } - writeOnBeforeUnloadEvent(value: OnBeforeUnloadEvent): void { + public writeOnBeforeUnloadEvent(value: OnBeforeUnloadEvent): void { let valueSerializer : Serializer = this const value_url = value.url valueSerializer.writeString(value_url) @@ -3662,7 +4078,7 @@ export class Serializer extends SerializerBase { const value_result = value.result valueSerializer.writeJsResult(value_result) } - writeOnClientAuthenticationEvent(value: OnClientAuthenticationEvent): void { + public writeOnClientAuthenticationEvent(value: OnClientAuthenticationEvent): void { let valueSerializer : Serializer = this const value_handler = value.handler valueSerializer.writeClientAuthenticationHandler(value_handler) @@ -3683,7 +4099,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_issuers_element) } } - writeOnConfirmEvent(value: OnConfirmEvent): void { + public writeOnConfirmEvent(value: OnConfirmEvent): void { let valueSerializer : Serializer = this const value_url = value.url valueSerializer.writeString(value_url) @@ -3692,14 +4108,14 @@ export class Serializer extends SerializerBase { const value_result = value.result valueSerializer.writeJsResult(value_result) } - writeOnContextMenuShowEvent(value: OnContextMenuShowEvent): void { + public writeOnContextMenuShowEvent(value: OnContextMenuShowEvent): void { let valueSerializer : Serializer = this const value_param = value.param valueSerializer.writeWebContextMenuParam(value_param) const value_result = value.result valueSerializer.writeWebContextMenuResult(value_result) } - writeOnDownloadStartEvent(value: OnDownloadStartEvent): void { + public writeOnDownloadStartEvent(value: OnDownloadStartEvent): void { let valueSerializer : Serializer = this const value_url = value.url valueSerializer.writeString(value_url) @@ -3712,26 +4128,26 @@ export class Serializer extends SerializerBase { const value_contentLength = value.contentLength valueSerializer.writeNumber(value_contentLength) } - writeOnErrorReceiveEvent(value: OnErrorReceiveEvent): void { + public writeOnErrorReceiveEvent(value: OnErrorReceiveEvent): void { let valueSerializer : Serializer = this const value_request = value.request valueSerializer.writeWebResourceRequest(value_request) const value_error = value.error valueSerializer.writeWebResourceError(value_error) } - writeOnFaviconReceivedEvent(value: OnFaviconReceivedEvent): void { + public writeOnFaviconReceivedEvent(value: OnFaviconReceivedEvent): void { let valueSerializer : Serializer = this const value_favicon = value.favicon valueSerializer.writePixelMap(value_favicon) } - writeOnGeolocationShowEvent(value: OnGeolocationShowEvent): void { + public writeOnGeolocationShowEvent(value: OnGeolocationShowEvent): void { let valueSerializer : Serializer = this const value_origin = value.origin valueSerializer.writeString(value_origin) const value_geolocation = value.geolocation valueSerializer.writeJsGeolocation(value_geolocation) } - writeOnHttpAuthRequestEvent(value: OnHttpAuthRequestEvent): void { + public writeOnHttpAuthRequestEvent(value: OnHttpAuthRequestEvent): void { let valueSerializer : Serializer = this const value_handler = value.handler valueSerializer.writeHttpAuthHandler(value_handler) @@ -3740,44 +4156,44 @@ export class Serializer extends SerializerBase { const value_realm = value.realm valueSerializer.writeString(value_realm) } - writeOnHttpErrorReceiveEvent(value: OnHttpErrorReceiveEvent): void { + public writeOnHttpErrorReceiveEvent(value: OnHttpErrorReceiveEvent): void { let valueSerializer : Serializer = this const value_request = value.request valueSerializer.writeWebResourceRequest(value_request) const value_response = value.response valueSerializer.writeWebResourceResponse(value_response) } - writeOnInterceptRequestEvent(value: OnInterceptRequestEvent): void { + public writeOnInterceptRequestEvent(value: OnInterceptRequestEvent): void { let valueSerializer : Serializer = this const value_request = value.request valueSerializer.writeWebResourceRequest(value_request) } - writeOnLoadInterceptEvent(value: OnLoadInterceptEvent): void { + public writeOnLoadInterceptEvent(value: OnLoadInterceptEvent): void { let valueSerializer : Serializer = this const value_data = value.data valueSerializer.writeWebResourceRequest(value_data) } - writeOnPageBeginEvent(value: OnPageBeginEvent): void { + public writeOnPageBeginEvent(value: OnPageBeginEvent): void { let valueSerializer : Serializer = this const value_url = value.url valueSerializer.writeString(value_url) } - writeOnPageEndEvent(value: OnPageEndEvent): void { + public writeOnPageEndEvent(value: OnPageEndEvent): void { let valueSerializer : Serializer = this const value_url = value.url valueSerializer.writeString(value_url) } - writeOnPageVisibleEvent(value: OnPageVisibleEvent): void { + public writeOnPageVisibleEvent(value: OnPageVisibleEvent): void { let valueSerializer : Serializer = this const value_url = value.url valueSerializer.writeString(value_url) } - writeOnPermissionRequestEvent(value: OnPermissionRequestEvent): void { + public writeOnPermissionRequestEvent(value: OnPermissionRequestEvent): void { let valueSerializer : Serializer = this const value_request = value.request valueSerializer.writePermissionRequest(value_request) } - writeOnPromptEvent(value: OnPromptEvent): void { + public writeOnPromptEvent(value: OnPromptEvent): void { let valueSerializer : Serializer = this const value_url = value.url valueSerializer.writeString(value_url) @@ -3788,29 +4204,29 @@ export class Serializer extends SerializerBase { const value_result = value.result valueSerializer.writeJsResult(value_result) } - writeOnRefreshAccessedHistoryEvent(value: OnRefreshAccessedHistoryEvent): void { + public writeOnRefreshAccessedHistoryEvent(value: OnRefreshAccessedHistoryEvent): void { let valueSerializer : Serializer = this const value_url = value.url valueSerializer.writeString(value_url) const value_isRefreshed = value.isRefreshed valueSerializer.writeBoolean(value_isRefreshed) } - writeOnRenderExitedEvent(value: OnRenderExitedEvent): void { + public writeOnRenderExitedEvent(value: OnRenderExitedEvent): void { let valueSerializer : Serializer = this const value_renderExitReason = value.renderExitReason valueSerializer.writeInt32(TypeChecker.RenderExitReason_ToNumeric(value_renderExitReason)) } - writeOnResourceLoadEvent(value: OnResourceLoadEvent): void { + public writeOnResourceLoadEvent(value: OnResourceLoadEvent): void { let valueSerializer : Serializer = this const value_url = value.url valueSerializer.writeString(value_url) } - writeOnScreenCaptureRequestEvent(value: OnScreenCaptureRequestEvent): void { + public writeOnScreenCaptureRequestEvent(value: OnScreenCaptureRequestEvent): void { let valueSerializer : Serializer = this const value_handler = value.handler valueSerializer.writeScreenCaptureHandler(value_handler) } - writeOnSslErrorEventReceiveEvent(value: OnSslErrorEventReceiveEvent): void { + public writeOnSslErrorEventReceiveEvent(value: OnSslErrorEventReceiveEvent): void { let valueSerializer : Serializer = this const value_handler = value.handler valueSerializer.writeSslErrorHandler(value_handler) @@ -3819,7 +4235,7 @@ export class Serializer extends SerializerBase { const value_certChainData = value.certChainData let value_certChainData_type : int32 = RuntimeType.UNDEFINED value_certChainData_type = runtimeType(value_certChainData) - valueSerializer.writeInt8(value_certChainData_type as int32) + valueSerializer.writeInt8(value_certChainData_type) if ((RuntimeType.UNDEFINED) != (value_certChainData_type)) { const value_certChainData_value = value_certChainData! valueSerializer.writeInt32(value_certChainData_value.length as int32) @@ -3829,19 +4245,19 @@ export class Serializer extends SerializerBase { } } } - writeOnTitleReceiveEvent(value: OnTitleReceiveEvent): void { + public writeOnTitleReceiveEvent(value: OnTitleReceiveEvent): void { let valueSerializer : Serializer = this const value_title = value.title valueSerializer.writeString(value_title) } - writeOnTouchIconUrlReceivedEvent(value: OnTouchIconUrlReceivedEvent): void { + public writeOnTouchIconUrlReceivedEvent(value: OnTouchIconUrlReceivedEvent): void { let valueSerializer : Serializer = this const value_url = value.url valueSerializer.writeString(value_url) const value_precomposed = value.precomposed valueSerializer.writeBoolean(value_precomposed) } - writeOnWindowNewEvent(value: OnWindowNewEvent): void { + public writeOnWindowNewEvent(value: OnWindowNewEvent): void { let valueSerializer : Serializer = this const value_isAlert = value.isAlert valueSerializer.writeBoolean(value_isAlert) @@ -3852,12 +4268,17 @@ export class Serializer extends SerializerBase { const value_handler = value.handler valueSerializer.writeControllerHandler(value_handler) } - writeOverlayOffset(value: OverlayOffset): void { + public writeOrientation(value: Orientation): void { + let valueSerializer : Serializer = this + const value__OrientationStub = value._OrientationStub + valueSerializer.writeString(value__OrientationStub) + } + public writeOverlayOffset(value: OverlayOffset): void { let valueSerializer : Serializer = this const value_x = value.x let value_x_type : int32 = RuntimeType.UNDEFINED value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type as int32) + valueSerializer.writeInt8(value_x_type) if ((RuntimeType.UNDEFINED) != (value_x_type)) { const value_x_value = value_x! valueSerializer.writeNumber(value_x_value) @@ -3865,26 +4286,61 @@ export class Serializer extends SerializerBase { const value_y = value.y let value_y_type : int32 = RuntimeType.UNDEFINED value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type as int32) + valueSerializer.writeInt8(value_y_type) if ((RuntimeType.UNDEFINED) != (value_y_type)) { const value_y_value = value_y! valueSerializer.writeNumber(value_y_value) } } - writePasteButtonOptions(value: PasteButtonOptions): void { + public writePanGestureHandlerOptions(value: PanGestureHandlerOptions): void { let valueSerializer : Serializer = this - const value_icon = value.icon - let value_icon_type : int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = (value_icon as PasteIconStyle) + const value_isFingerCountLimited = value.isFingerCountLimited + let value_isFingerCountLimited_type : int32 = RuntimeType.UNDEFINED + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited) + valueSerializer.writeInt8(value_isFingerCountLimited_type) + if ((RuntimeType.UNDEFINED) != (value_isFingerCountLimited_type)) { + const value_isFingerCountLimited_value = value_isFingerCountLimited! + valueSerializer.writeBoolean(value_isFingerCountLimited_value) + } + const value_fingers = value.fingers + let value_fingers_type : int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_direction = value.direction + let value_direction_type : int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + valueSerializer.writeInt8(value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = (value_direction as PanDirection) + valueSerializer.writeInt32(TypeChecker.PanDirection_ToNumeric(value_direction_value)) + } + const value_distance = value.distance + let value_distance_type : int32 = RuntimeType.UNDEFINED + value_distance_type = runtimeType(value_distance) + valueSerializer.writeInt8(value_distance_type) + if ((RuntimeType.UNDEFINED) != (value_distance_type)) { + const value_distance_value = value_distance! + valueSerializer.writeNumber(value_distance_value) + } + } + public writePasteButtonOptions(value: PasteButtonOptions): void { + let valueSerializer : Serializer = this + const value_icon = value.icon + let value_icon_type : int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = (value_icon as PasteIconStyle) valueSerializer.writeInt32(TypeChecker.PasteIconStyle_ToNumeric(value_icon_value)) } const value_text = value.text let value_text_type : int32 = RuntimeType.UNDEFINED value_text_type = runtimeType(value_text) - valueSerializer.writeInt8(value_text_type as int32) + valueSerializer.writeInt8(value_text_type) if ((RuntimeType.UNDEFINED) != (value_text_type)) { const value_text_value = (value_text as PasteDescription) valueSerializer.writeInt32(TypeChecker.PasteDescription_ToNumeric(value_text_value)) @@ -3892,40 +4348,40 @@ export class Serializer extends SerializerBase { const value_buttonType = value.buttonType let value_buttonType_type : int32 = RuntimeType.UNDEFINED value_buttonType_type = runtimeType(value_buttonType) - valueSerializer.writeInt8(value_buttonType_type as int32) + valueSerializer.writeInt8(value_buttonType_type) if ((RuntimeType.UNDEFINED) != (value_buttonType_type)) { const value_buttonType_value = (value_buttonType as ButtonType) valueSerializer.writeInt32(TypeChecker.ButtonType_ToNumeric(value_buttonType_value)) } } - writePasteEvent(value: PasteEvent): void { + public writePasteEvent(value: PasteEvent): void { let valueSerializer : Serializer = this const value_preventDefault = value.preventDefault let value_preventDefault_type : int32 = RuntimeType.UNDEFINED value_preventDefault_type = runtimeType(value_preventDefault) - valueSerializer.writeInt8(value_preventDefault_type as int32) + valueSerializer.writeInt8(value_preventDefault_type) if ((RuntimeType.UNDEFINED) != (value_preventDefault_type)) { const value_preventDefault_value = value_preventDefault! valueSerializer.holdAndWriteCallback(value_preventDefault_value) } } - writePathOptions(value: PathOptions): void { + public writePathOptions(value: PathOptions): void { let valueSerializer : Serializer = this const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! let value_width_value_type : int32 = RuntimeType.UNDEFINED value_width_value_type = runtimeType(value_width_value) if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_width_value_0 = value_width_value as number valueSerializer.writeNumber(value_width_value_0) } else if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1 = value_width_value as string valueSerializer.writeString(value_width_value_1) } @@ -3933,18 +4389,18 @@ export class Serializer extends SerializerBase { const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! let value_height_value_type : int32 = RuntimeType.UNDEFINED value_height_value_type = runtimeType(value_height_value) if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_height_value_0 = value_height_value as number valueSerializer.writeNumber(value_height_value_0) } else if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_height_value_1 = value_height_value as string valueSerializer.writeString(value_height_value_1) } @@ -3952,29 +4408,56 @@ export class Serializer extends SerializerBase { const value_commands = value.commands let value_commands_type : int32 = RuntimeType.UNDEFINED value_commands_type = runtimeType(value_commands) - valueSerializer.writeInt8(value_commands_type as int32) + valueSerializer.writeInt8(value_commands_type) if ((RuntimeType.UNDEFINED) != (value_commands_type)) { const value_commands_value = value_commands! valueSerializer.writeString(value_commands_value) } } - writePathShapeOptions(value: PathShapeOptions): void { + public writePathShapeOptions(value: PathShapeOptions): void { let valueSerializer : Serializer = this const value_commands = value.commands let value_commands_type : int32 = RuntimeType.UNDEFINED value_commands_type = runtimeType(value_commands) - valueSerializer.writeInt8(value_commands_type as int32) + valueSerializer.writeInt8(value_commands_type) if ((RuntimeType.UNDEFINED) != (value_commands_type)) { const value_commands_value = value_commands! valueSerializer.writeString(value_commands_value) } } - writePixelRoundPolicy(value: PixelRoundPolicy): void { + public writePinchGestureHandlerOptions(value: PinchGestureHandlerOptions): void { + let valueSerializer : Serializer = this + const value_isFingerCountLimited = value.isFingerCountLimited + let value_isFingerCountLimited_type : int32 = RuntimeType.UNDEFINED + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited) + valueSerializer.writeInt8(value_isFingerCountLimited_type) + if ((RuntimeType.UNDEFINED) != (value_isFingerCountLimited_type)) { + const value_isFingerCountLimited_value = value_isFingerCountLimited! + valueSerializer.writeBoolean(value_isFingerCountLimited_value) + } + const value_fingers = value.fingers + let value_fingers_type : int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_distance = value.distance + let value_distance_type : int32 = RuntimeType.UNDEFINED + value_distance_type = runtimeType(value_distance) + valueSerializer.writeInt8(value_distance_type) + if ((RuntimeType.UNDEFINED) != (value_distance_type)) { + const value_distance_value = value_distance! + valueSerializer.writeNumber(value_distance_value) + } + } + public writePixelRoundPolicy(value: PixelRoundPolicy): void { let valueSerializer : Serializer = this const value_start = value.start let value_start_type : int32 = RuntimeType.UNDEFINED value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) + valueSerializer.writeInt8(value_start_type) if ((RuntimeType.UNDEFINED) != (value_start_type)) { const value_start_value = (value_start as PixelRoundCalcPolicy) valueSerializer.writeInt32(TypeChecker.PixelRoundCalcPolicy_ToNumeric(value_start_value)) @@ -3982,7 +4465,7 @@ export class Serializer extends SerializerBase { const value_top = value.top let value_top_type : int32 = RuntimeType.UNDEFINED value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) + valueSerializer.writeInt8(value_top_type) if ((RuntimeType.UNDEFINED) != (value_top_type)) { const value_top_value = (value_top as PixelRoundCalcPolicy) valueSerializer.writeInt32(TypeChecker.PixelRoundCalcPolicy_ToNumeric(value_top_value)) @@ -3990,7 +4473,7 @@ export class Serializer extends SerializerBase { const value_end = value.end let value_end_type : int32 = RuntimeType.UNDEFINED value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) + valueSerializer.writeInt8(value_end_type) if ((RuntimeType.UNDEFINED) != (value_end_type)) { const value_end_value = (value_end as PixelRoundCalcPolicy) valueSerializer.writeInt32(TypeChecker.PixelRoundCalcPolicy_ToNumeric(value_end_value)) @@ -3998,43 +4481,43 @@ export class Serializer extends SerializerBase { const value_bottom = value.bottom let value_bottom_type : int32 = RuntimeType.UNDEFINED value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type as int32) + valueSerializer.writeInt8(value_bottom_type) if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { const value_bottom_value = (value_bottom as PixelRoundCalcPolicy) valueSerializer.writeInt32(TypeChecker.PixelRoundCalcPolicy_ToNumeric(value_bottom_value)) } } - writePluginComponentTemplate(value: PluginComponentTemplate): void { + public writePluginComponentTemplate(value: PluginComponentTemplate): void { let valueSerializer : Serializer = this const value_source = value.source valueSerializer.writeString(value_source) const value_bundleName = value.bundleName valueSerializer.writeString(value_bundleName) } - writePluginErrorData(value: PluginErrorData): void { + public writePluginErrorData(value: PluginErrorData): void { let valueSerializer : Serializer = this const value_errcode = value.errcode valueSerializer.writeNumber(value_errcode) const value_msg = value.msg valueSerializer.writeString(value_msg) } - writePolygonOptions(value: PolygonOptions): void { + public writePolygonOptions(value: PolygonOptions): void { let valueSerializer : Serializer = this const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! let value_width_value_type : int32 = RuntimeType.UNDEFINED value_width_value_type = runtimeType(value_width_value) if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_width_value_0 = value_width_value as string valueSerializer.writeString(value_width_value_0) } else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1 = value_width_value as number valueSerializer.writeNumber(value_width_value_1) } @@ -4042,40 +4525,40 @@ export class Serializer extends SerializerBase { const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! let value_height_value_type : int32 = RuntimeType.UNDEFINED value_height_value_type = runtimeType(value_height_value) if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_height_value_0 = value_height_value as string valueSerializer.writeString(value_height_value_0) } else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_height_value_1 = value_height_value as number valueSerializer.writeNumber(value_height_value_1) } } } - writePolylineOptions(value: PolylineOptions): void { + public writePolylineOptions(value: PolylineOptions): void { let valueSerializer : Serializer = this const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! let value_width_value_type : int32 = RuntimeType.UNDEFINED value_width_value_type = runtimeType(value_width_value) if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_width_value_0 = value_width_value as string valueSerializer.writeString(value_width_value_0) } else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1 = value_width_value as number valueSerializer.writeNumber(value_width_value_1) } @@ -4083,24 +4566,24 @@ export class Serializer extends SerializerBase { const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! let value_height_value_type : int32 = RuntimeType.UNDEFINED value_height_value_type = runtimeType(value_height_value) if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_height_value_0 = value_height_value as string valueSerializer.writeString(value_height_value_0) } else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_height_value_1 = value_height_value as number valueSerializer.writeNumber(value_height_value_1) } } } - writePolyToPolyOptions(value: PolyToPolyOptions): void { + public writePolyToPolyOptions(value: PolyToPolyOptions): void { let valueSerializer : Serializer = this const value_src = value.src valueSerializer.writeInt32(value_src.length as int32) @@ -4111,7 +4594,7 @@ export class Serializer extends SerializerBase { const value_srcIndex = value.srcIndex let value_srcIndex_type : int32 = RuntimeType.UNDEFINED value_srcIndex_type = runtimeType(value_srcIndex) - valueSerializer.writeInt8(value_srcIndex_type as int32) + valueSerializer.writeInt8(value_srcIndex_type) if ((RuntimeType.UNDEFINED) != (value_srcIndex_type)) { const value_srcIndex_value = value_srcIndex! valueSerializer.writeNumber(value_srcIndex_value) @@ -4125,7 +4608,7 @@ export class Serializer extends SerializerBase { const value_dstIndex = value.dstIndex let value_dstIndex_type : int32 = RuntimeType.UNDEFINED value_dstIndex_type = runtimeType(value_dstIndex) - valueSerializer.writeInt8(value_dstIndex_type as int32) + valueSerializer.writeInt8(value_dstIndex_type) if ((RuntimeType.UNDEFINED) != (value_dstIndex_type)) { const value_dstIndex_value = value_dstIndex! valueSerializer.writeNumber(value_dstIndex_value) @@ -4133,25 +4616,36 @@ export class Serializer extends SerializerBase { const value_pointCount = value.pointCount let value_pointCount_type : int32 = RuntimeType.UNDEFINED value_pointCount_type = runtimeType(value_pointCount) - valueSerializer.writeInt8(value_pointCount_type as int32) + valueSerializer.writeInt8(value_pointCount_type) if ((RuntimeType.UNDEFINED) != (value_pointCount_type)) { const value_pointCount_value = value_pointCount! valueSerializer.writeNumber(value_pointCount_value) } } - writePopInfo(value: PopInfo): void { + public writePopInfo(value: PopInfo): void { let valueSerializer : Serializer = this const value_info = value.info valueSerializer.writeNavPathInfo(value_info) const value_result = value.result valueSerializer.holdAndWriteObject(value_result) } - writePostMessageOptions(value: PostMessageOptions): void { + public writePosterOptions(value: PosterOptions): void { + let valueSerializer : Serializer = this + const value_showFirstFrame = value.showFirstFrame + let value_showFirstFrame_type : int32 = RuntimeType.UNDEFINED + value_showFirstFrame_type = runtimeType(value_showFirstFrame) + valueSerializer.writeInt8(value_showFirstFrame_type) + if ((RuntimeType.UNDEFINED) != (value_showFirstFrame_type)) { + const value_showFirstFrame_value = value_showFirstFrame! + valueSerializer.writeBoolean(value_showFirstFrame_value) + } + } + public writePostMessageOptions(value: PostMessageOptions): void { let valueSerializer : Serializer = this const value_transfer = value.transfer let value_transfer_type : int32 = RuntimeType.UNDEFINED value_transfer_type = runtimeType(value_transfer) - valueSerializer.writeInt8(value_transfer_type as int32) + valueSerializer.writeInt8(value_transfer_type) if ((RuntimeType.UNDEFINED) != (value_transfer_type)) { const value_transfer_value = value_transfer! valueSerializer.writeInt32(value_transfer_value.length as int32) @@ -4161,21 +4655,51 @@ export class Serializer extends SerializerBase { } } } - writePreviewText(value: PreviewText): void { + public writePreviewConfiguration(value: PreviewConfiguration): void { + let valueSerializer : Serializer = this + const value_onlyForLifting = value.onlyForLifting + let value_onlyForLifting_type : int32 = RuntimeType.UNDEFINED + value_onlyForLifting_type = runtimeType(value_onlyForLifting) + valueSerializer.writeInt8(value_onlyForLifting_type) + if ((RuntimeType.UNDEFINED) != (value_onlyForLifting_type)) { + const value_onlyForLifting_value = value_onlyForLifting! + valueSerializer.writeBoolean(value_onlyForLifting_value) + } + const value_delayCreating = value.delayCreating + let value_delayCreating_type : int32 = RuntimeType.UNDEFINED + value_delayCreating_type = runtimeType(value_delayCreating) + valueSerializer.writeInt8(value_delayCreating_type) + if ((RuntimeType.UNDEFINED) != (value_delayCreating_type)) { + const value_delayCreating_value = value_delayCreating! + valueSerializer.writeBoolean(value_delayCreating_value) + } + } + public writePreviewMenuOptions(value: PreviewMenuOptions): void { + let valueSerializer : Serializer = this + const value_hapticFeedbackMode = value.hapticFeedbackMode + let value_hapticFeedbackMode_type : int32 = RuntimeType.UNDEFINED + value_hapticFeedbackMode_type = runtimeType(value_hapticFeedbackMode) + valueSerializer.writeInt8(value_hapticFeedbackMode_type) + if ((RuntimeType.UNDEFINED) != (value_hapticFeedbackMode_type)) { + const value_hapticFeedbackMode_value = (value_hapticFeedbackMode as HapticFeedbackMode) + valueSerializer.writeInt32(TypeChecker.HapticFeedbackMode_ToNumeric(value_hapticFeedbackMode_value)) + } + } + public writePreviewText(value: PreviewText): void { let valueSerializer : Serializer = this const value_offset = value.offset valueSerializer.writeNumber(value_offset) const value_value = value.value valueSerializer.writeString(value_value) } - writeProgressOptions(value: ProgressOptions): void { + public writeProgressOptions(value: ProgressOptions): void { let valueSerializer : Serializer = this const value_value = value.value valueSerializer.writeNumber(value_value) const value_total = value.total let value_total_type : int32 = RuntimeType.UNDEFINED value_total_type = runtimeType(value_total) - valueSerializer.writeInt8(value_total_type as int32) + valueSerializer.writeInt8(value_total_type) if ((RuntimeType.UNDEFINED) != (value_total_type)) { const value_total_value = value_total! valueSerializer.writeNumber(value_total_value) @@ -4183,7 +4707,7 @@ export class Serializer extends SerializerBase { const value_style = value.style let value_style_type : int32 = RuntimeType.UNDEFINED value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) + valueSerializer.writeInt8(value_style_type) if ((RuntimeType.UNDEFINED) != (value_style_type)) { const value_style_value = (value_style as ProgressStyle) valueSerializer.writeInt32(TypeChecker.ProgressStyle_ToNumeric(value_style_value)) @@ -4191,13 +4715,13 @@ export class Serializer extends SerializerBase { const value_type = value.type let value_type_type : int32 = RuntimeType.UNDEFINED value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type as int32) + valueSerializer.writeInt8(value_type_type) if ((RuntimeType.UNDEFINED) != (value_type_type)) { const value_type_value = (value_type as ProgressType) valueSerializer.writeInt32(TypeChecker.ProgressType_ToNumeric(value_type_value)) } } - writeRadioOptions(value: RadioOptions): void { + public writeRadioOptions(value: RadioOptions): void { let valueSerializer : Serializer = this const value_group = value.group valueSerializer.writeString(value_group) @@ -4206,7 +4730,7 @@ export class Serializer extends SerializerBase { const value_indicatorType = value.indicatorType let value_indicatorType_type : int32 = RuntimeType.UNDEFINED value_indicatorType_type = runtimeType(value_indicatorType) - valueSerializer.writeInt8(value_indicatorType_type as int32) + valueSerializer.writeInt8(value_indicatorType_type) if ((RuntimeType.UNDEFINED) != (value_indicatorType_type)) { const value_indicatorType_value = (value_indicatorType as RadioIndicatorType) valueSerializer.writeInt32(TypeChecker.RadioIndicatorType_ToNumeric(value_indicatorType_value)) @@ -4214,26 +4738,26 @@ export class Serializer extends SerializerBase { const value_indicatorBuilder = value.indicatorBuilder let value_indicatorBuilder_type : int32 = RuntimeType.UNDEFINED value_indicatorBuilder_type = runtimeType(value_indicatorBuilder) - valueSerializer.writeInt8(value_indicatorBuilder_type as int32) + valueSerializer.writeInt8(value_indicatorBuilder_type) if ((RuntimeType.UNDEFINED) != (value_indicatorBuilder_type)) { const value_indicatorBuilder_value = value_indicatorBuilder! valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_indicatorBuilder_value)) } } - writeRatingOptions(value: RatingOptions): void { + public writeRatingOptions(value: RatingOptions): void { let valueSerializer : Serializer = this const value_rating = value.rating valueSerializer.writeNumber(value_rating) const value_indicator = value.indicator let value_indicator_type : int32 = RuntimeType.UNDEFINED value_indicator_type = runtimeType(value_indicator) - valueSerializer.writeInt8(value_indicator_type as int32) + valueSerializer.writeInt8(value_indicator_type) if ((RuntimeType.UNDEFINED) != (value_indicator_type)) { const value_indicator_value = value_indicator! valueSerializer.writeBoolean(value_indicator_value) } } - writeRectStyle(value: RectStyle): void { + public writeRectStyle(value: RectStyle): void { let valueSerializer : Serializer = this const value_color = value.color valueSerializer.writecommon2D_Color(value_color) @@ -4246,11 +4770,11 @@ export class Serializer extends SerializerBase { const value_leftBottomRadius = value.leftBottomRadius valueSerializer.writeNumber(value_leftBottomRadius) } - writeRenderingContextSettings(value: RenderingContextSettings): void { + public writeRenderingContextSettings(value: RenderingContextSettings): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRenderProcessNotRespondingData(value: RenderProcessNotRespondingData): void { + public writeRenderProcessNotRespondingData(value: RenderProcessNotRespondingData): void { let valueSerializer : Serializer = this const value_jsStack = value.jsStack valueSerializer.writeString(value_jsStack) @@ -4259,11 +4783,11 @@ export class Serializer extends SerializerBase { const value_reason = value.reason valueSerializer.writeInt32(TypeChecker.RenderProcessNotRespondingReason_ToNumeric(value_reason)) } - writeReplaceSymbolEffect(value: ReplaceSymbolEffect): void { + public writeReplaceSymbolEffect(value: ReplaceSymbolEffect): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeResource(value: Resource): void { + public writeResource(value: Resource): void { let valueSerializer : Serializer = this const value_bundleName = value.bundleName valueSerializer.writeString(value_bundleName) @@ -4274,7 +4798,7 @@ export class Serializer extends SerializerBase { const value_params = value.params let value_params_type : int32 = RuntimeType.UNDEFINED value_params_type = runtimeType(value_params) - valueSerializer.writeInt8(value_params_type as int32) + valueSerializer.writeInt8(value_params_type) if ((RuntimeType.UNDEFINED) != (value_params_type)) { const value_params_value = value_params! valueSerializer.writeInt32(value_params_value.length as int32) @@ -4286,24 +4810,13 @@ export class Serializer extends SerializerBase { const value_type = value.type let value_type_type : int32 = RuntimeType.UNDEFINED value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type as int32) + valueSerializer.writeInt8(value_type_type) if ((RuntimeType.UNDEFINED) != (value_type_type)) { const value_type_value = value_type! valueSerializer.writeNumber(value_type_value) } } - writeRichEditorBuilderSpanOptions(value: RichEditorBuilderSpanOptions): void { - let valueSerializer : Serializer = this - const value_offset = value.offset - let value_offset_type : int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - valueSerializer.writeNumber(value_offset_value) - } - } - writeRichEditorDeleteValue(value: RichEditorDeleteValue): void { + public writeRichEditorDeleteValue(value: RichEditorDeleteValue): void { let valueSerializer : Serializer = this const value_offset = value.offset valueSerializer.writeNumber(value_offset) @@ -4317,24 +4830,24 @@ export class Serializer extends SerializerBase { const value_richEditorDeleteSpans_element : RichEditorTextSpanResult | RichEditorImageSpanResult = value_richEditorDeleteSpans[i] let value_richEditorDeleteSpans_element_type : int32 = RuntimeType.UNDEFINED value_richEditorDeleteSpans_element_type = runtimeType(value_richEditorDeleteSpans_element) - if (TypeChecker.isRichEditorTextSpanResult(value_richEditorDeleteSpans_element, true, false, false, true, false, false, false, false)) { - valueSerializer.writeInt8(0 as int32) + if (TypeChecker.isRichEditorTextSpanResult(value_richEditorDeleteSpans_element, true, false, false, true, false, false, false, false, false)) { + valueSerializer.writeInt8(0) const value_richEditorDeleteSpans_element_0 = value_richEditorDeleteSpans_element as RichEditorTextSpanResult valueSerializer.writeRichEditorTextSpanResult(value_richEditorDeleteSpans_element_0) } else if (TypeChecker.isRichEditorImageSpanResult(value_richEditorDeleteSpans_element, true, false, false, false, true)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_richEditorDeleteSpans_element_1 = value_richEditorDeleteSpans_element as RichEditorImageSpanResult valueSerializer.writeRichEditorImageSpanResult(value_richEditorDeleteSpans_element_1) } } } - writeRichEditorGesture(value: RichEditorGesture): void { + public writeRichEditorGesture(value: RichEditorGesture): void { let valueSerializer : Serializer = this const value_onClick = value.onClick let value_onClick_type : int32 = RuntimeType.UNDEFINED value_onClick_type = runtimeType(value_onClick) - valueSerializer.writeInt8(value_onClick_type as int32) + valueSerializer.writeInt8(value_onClick_type) if ((RuntimeType.UNDEFINED) != (value_onClick_type)) { const value_onClick_value = value_onClick! valueSerializer.holdAndWriteCallback(value_onClick_value) @@ -4342,13 +4855,21 @@ export class Serializer extends SerializerBase { const value_onLongPress = value.onLongPress let value_onLongPress_type : int32 = RuntimeType.UNDEFINED value_onLongPress_type = runtimeType(value_onLongPress) - valueSerializer.writeInt8(value_onLongPress_type as int32) + valueSerializer.writeInt8(value_onLongPress_type) if ((RuntimeType.UNDEFINED) != (value_onLongPress_type)) { const value_onLongPress_value = value_onLongPress! valueSerializer.holdAndWriteCallback(value_onLongPress_value) } + const value_onDoubleClick = value.onDoubleClick + let value_onDoubleClick_type : int32 = RuntimeType.UNDEFINED + value_onDoubleClick_type = runtimeType(value_onDoubleClick) + valueSerializer.writeInt8(value_onDoubleClick_type) + if ((RuntimeType.UNDEFINED) != (value_onDoubleClick_type)) { + const value_onDoubleClick_value = value_onDoubleClick! + valueSerializer.holdAndWriteCallback(value_onDoubleClick_value) + } } - writeRichEditorInsertValue(value: RichEditorInsertValue): void { + public writeRichEditorInsertValue(value: RichEditorInsertValue): void { let valueSerializer : Serializer = this const value_insertOffset = value.insertOffset valueSerializer.writeNumber(value_insertOffset) @@ -4357,18 +4878,18 @@ export class Serializer extends SerializerBase { const value_previewText = value.previewText let value_previewText_type : int32 = RuntimeType.UNDEFINED value_previewText_type = runtimeType(value_previewText) - valueSerializer.writeInt8(value_previewText_type as int32) + valueSerializer.writeInt8(value_previewText_type) if ((RuntimeType.UNDEFINED) != (value_previewText_type)) { const value_previewText_value = value_previewText! valueSerializer.writeString(value_previewText_value) } } - writeRichEditorRange(value: RichEditorRange): void { + public writeRichEditorRange(value: RichEditorRange): void { let valueSerializer : Serializer = this const value_start = value.start let value_start_type : int32 = RuntimeType.UNDEFINED value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) + valueSerializer.writeInt8(value_start_type) if ((RuntimeType.UNDEFINED) != (value_start_type)) { const value_start_value = value_start! valueSerializer.writeNumber(value_start_value) @@ -4376,13 +4897,13 @@ export class Serializer extends SerializerBase { const value_end = value.end let value_end_type : int32 = RuntimeType.UNDEFINED value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) + valueSerializer.writeInt8(value_end_type) if ((RuntimeType.UNDEFINED) != (value_end_type)) { const value_end_value = value_end! valueSerializer.writeNumber(value_end_value) } } - writeRichEditorSelection(value: RichEditorSelection): void { + public writeRichEditorSelection(value: RichEditorSelection): void { let valueSerializer : Serializer = this const value_selection = value.selection const value_selection_0 = value_selection[0] @@ -4395,19 +4916,19 @@ export class Serializer extends SerializerBase { const value_spans_element : RichEditorTextSpanResult | RichEditorImageSpanResult = value_spans[i] let value_spans_element_type : int32 = RuntimeType.UNDEFINED value_spans_element_type = runtimeType(value_spans_element) - if (TypeChecker.isRichEditorTextSpanResult(value_spans_element, true, false, false, true, false, false, false, false)) { - valueSerializer.writeInt8(0 as int32) + if (TypeChecker.isRichEditorTextSpanResult(value_spans_element, true, false, false, true, false, false, false, false, false)) { + valueSerializer.writeInt8(0) const value_spans_element_0 = value_spans_element as RichEditorTextSpanResult valueSerializer.writeRichEditorTextSpanResult(value_spans_element_0) } else if (TypeChecker.isRichEditorImageSpanResult(value_spans_element, true, false, false, false, true)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_spans_element_1 = value_spans_element as RichEditorImageSpanResult valueSerializer.writeRichEditorImageSpanResult(value_spans_element_1) } } } - writeRichEditorSpanPosition(value: RichEditorSpanPosition): void { + public writeRichEditorSpanPosition(value: RichEditorSpanPosition): void { let valueSerializer : Serializer = this const value_spanIndex = value.spanIndex valueSerializer.writeNumber(value_spanIndex) @@ -4417,12 +4938,12 @@ export class Serializer extends SerializerBase { const value_spanRange_1 = value_spanRange[1] valueSerializer.writeNumber(value_spanRange_1) } - writeRotateOption(value: RotateOption): void { + public writeRotateOption(value: RotateOption): void { let valueSerializer : Serializer = this const value_x = value.x let value_x_type : int32 = RuntimeType.UNDEFINED value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type as int32) + valueSerializer.writeInt8(value_x_type) if ((RuntimeType.UNDEFINED) != (value_x_type)) { const value_x_value = value_x! valueSerializer.writeNumber(value_x_value) @@ -4430,7 +4951,7 @@ export class Serializer extends SerializerBase { const value_y = value.y let value_y_type : int32 = RuntimeType.UNDEFINED value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type as int32) + valueSerializer.writeInt8(value_y_type) if ((RuntimeType.UNDEFINED) != (value_y_type)) { const value_y_value = value_y! valueSerializer.writeNumber(value_y_value) @@ -4438,7 +4959,7 @@ export class Serializer extends SerializerBase { const value_z = value.z let value_z_type : int32 = RuntimeType.UNDEFINED value_z_type = runtimeType(value_z) - valueSerializer.writeInt8(value_z_type as int32) + valueSerializer.writeInt8(value_z_type) if ((RuntimeType.UNDEFINED) != (value_z_type)) { const value_z_value = value_z! valueSerializer.writeNumber(value_z_value) @@ -4446,7 +4967,7 @@ export class Serializer extends SerializerBase { const value_centerX = value.centerX let value_centerX_type : int32 = RuntimeType.UNDEFINED value_centerX_type = runtimeType(value_centerX) - valueSerializer.writeInt8(value_centerX_type as int32) + valueSerializer.writeInt8(value_centerX_type) if ((RuntimeType.UNDEFINED) != (value_centerX_type)) { const value_centerX_value = value_centerX! valueSerializer.writeNumber(value_centerX_value) @@ -4454,7 +4975,7 @@ export class Serializer extends SerializerBase { const value_centerY = value.centerY let value_centerY_type : int32 = RuntimeType.UNDEFINED value_centerY_type = runtimeType(value_centerY) - valueSerializer.writeInt8(value_centerY_type as int32) + valueSerializer.writeInt8(value_centerY_type) if ((RuntimeType.UNDEFINED) != (value_centerY_type)) { const value_centerY_value = value_centerY! valueSerializer.writeNumber(value_centerY_value) @@ -4462,18 +4983,18 @@ export class Serializer extends SerializerBase { const value_angle = value.angle let value_angle_type : int32 = RuntimeType.UNDEFINED value_angle_type = runtimeType(value_angle) - valueSerializer.writeInt8(value_angle_type as int32) + valueSerializer.writeInt8(value_angle_type) if ((RuntimeType.UNDEFINED) != (value_angle_type)) { const value_angle_value = value_angle! valueSerializer.writeNumber(value_angle_value) } } - writeRotateOptions(value: RotateOptions): void { + public writeRotateOptions(value: RotateOptions): void { let valueSerializer : Serializer = this const value_x = value.x let value_x_type : int32 = RuntimeType.UNDEFINED value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type as int32) + valueSerializer.writeInt8(value_x_type) if ((RuntimeType.UNDEFINED) != (value_x_type)) { const value_x_value = value_x! valueSerializer.writeNumber(value_x_value) @@ -4481,7 +5002,7 @@ export class Serializer extends SerializerBase { const value_y = value.y let value_y_type : int32 = RuntimeType.UNDEFINED value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type as int32) + valueSerializer.writeInt8(value_y_type) if ((RuntimeType.UNDEFINED) != (value_y_type)) { const value_y_value = value_y! valueSerializer.writeNumber(value_y_value) @@ -4489,7 +5010,7 @@ export class Serializer extends SerializerBase { const value_z = value.z let value_z_type : int32 = RuntimeType.UNDEFINED value_z_type = runtimeType(value_z) - valueSerializer.writeInt8(value_z_type as int32) + valueSerializer.writeInt8(value_z_type) if ((RuntimeType.UNDEFINED) != (value_z_type)) { const value_z_value = value_z! valueSerializer.writeNumber(value_z_value) @@ -4497,18 +5018,18 @@ export class Serializer extends SerializerBase { const value_centerX = value.centerX let value_centerX_type : int32 = RuntimeType.UNDEFINED value_centerX_type = runtimeType(value_centerX) - valueSerializer.writeInt8(value_centerX_type as int32) + valueSerializer.writeInt8(value_centerX_type) if ((RuntimeType.UNDEFINED) != (value_centerX_type)) { const value_centerX_value = value_centerX! let value_centerX_value_type : int32 = RuntimeType.UNDEFINED value_centerX_value_type = runtimeType(value_centerX_value) if (RuntimeType.NUMBER == value_centerX_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_centerX_value_0 = value_centerX_value as number valueSerializer.writeNumber(value_centerX_value_0) } else if (RuntimeType.STRING == value_centerX_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_centerX_value_1 = value_centerX_value as string valueSerializer.writeString(value_centerX_value_1) } @@ -4516,18 +5037,18 @@ export class Serializer extends SerializerBase { const value_centerY = value.centerY let value_centerY_type : int32 = RuntimeType.UNDEFINED value_centerY_type = runtimeType(value_centerY) - valueSerializer.writeInt8(value_centerY_type as int32) + valueSerializer.writeInt8(value_centerY_type) if ((RuntimeType.UNDEFINED) != (value_centerY_type)) { const value_centerY_value = value_centerY! let value_centerY_value_type : int32 = RuntimeType.UNDEFINED value_centerY_value_type = runtimeType(value_centerY_value) if (RuntimeType.NUMBER == value_centerY_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_centerY_value_0 = value_centerY_value as number valueSerializer.writeNumber(value_centerY_value_0) } else if (RuntimeType.STRING == value_centerY_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_centerY_value_1 = value_centerY_value as string valueSerializer.writeString(value_centerY_value_1) } @@ -4535,7 +5056,7 @@ export class Serializer extends SerializerBase { const value_centerZ = value.centerZ let value_centerZ_type : int32 = RuntimeType.UNDEFINED value_centerZ_type = runtimeType(value_centerZ) - valueSerializer.writeInt8(value_centerZ_type as int32) + valueSerializer.writeInt8(value_centerZ_type) if ((RuntimeType.UNDEFINED) != (value_centerZ_type)) { const value_centerZ_value = value_centerZ! valueSerializer.writeNumber(value_centerZ_value) @@ -4543,7 +5064,7 @@ export class Serializer extends SerializerBase { const value_perspective = value.perspective let value_perspective_type : int32 = RuntimeType.UNDEFINED value_perspective_type = runtimeType(value_perspective) - valueSerializer.writeInt8(value_perspective_type as int32) + valueSerializer.writeInt8(value_perspective_type) if ((RuntimeType.UNDEFINED) != (value_perspective_type)) { const value_perspective_value = value_perspective! valueSerializer.writeNumber(value_perspective_value) @@ -4552,33 +5073,60 @@ export class Serializer extends SerializerBase { let value_angle_type : int32 = RuntimeType.UNDEFINED value_angle_type = runtimeType(value_angle) if (RuntimeType.NUMBER == value_angle_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_angle_0 = value_angle as number valueSerializer.writeNumber(value_angle_0) } else if (RuntimeType.STRING == value_angle_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_angle_1 = value_angle as string valueSerializer.writeString(value_angle_1) } } - writeRoundedRectOptions(value: RoundedRectOptions): void { + public writeRotationGestureHandlerOptions(value: RotationGestureHandlerOptions): void { + let valueSerializer : Serializer = this + const value_isFingerCountLimited = value.isFingerCountLimited + let value_isFingerCountLimited_type : int32 = RuntimeType.UNDEFINED + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited) + valueSerializer.writeInt8(value_isFingerCountLimited_type) + if ((RuntimeType.UNDEFINED) != (value_isFingerCountLimited_type)) { + const value_isFingerCountLimited_value = value_isFingerCountLimited! + valueSerializer.writeBoolean(value_isFingerCountLimited_value) + } + const value_fingers = value.fingers + let value_fingers_type : int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_angle = value.angle + let value_angle_type : int32 = RuntimeType.UNDEFINED + value_angle_type = runtimeType(value_angle) + valueSerializer.writeInt8(value_angle_type) + if ((RuntimeType.UNDEFINED) != (value_angle_type)) { + const value_angle_value = value_angle! + valueSerializer.writeNumber(value_angle_value) + } + } + public writeRoundedRectOptions(value: RoundedRectOptions): void { let valueSerializer : Serializer = this const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! let value_width_value_type : int32 = RuntimeType.UNDEFINED value_width_value_type = runtimeType(value_width_value) if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_width_value_0 = value_width_value as number valueSerializer.writeNumber(value_width_value_0) } else if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1 = value_width_value as string valueSerializer.writeString(value_width_value_1) } @@ -4586,18 +5134,18 @@ export class Serializer extends SerializerBase { const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! let value_height_value_type : int32 = RuntimeType.UNDEFINED value_height_value_type = runtimeType(value_height_value) if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_height_value_0 = value_height_value as number valueSerializer.writeNumber(value_height_value_0) } else if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_height_value_1 = value_height_value as string valueSerializer.writeString(value_height_value_1) } @@ -4605,18 +5153,18 @@ export class Serializer extends SerializerBase { const value_radiusWidth = value.radiusWidth let value_radiusWidth_type : int32 = RuntimeType.UNDEFINED value_radiusWidth_type = runtimeType(value_radiusWidth) - valueSerializer.writeInt8(value_radiusWidth_type as int32) + valueSerializer.writeInt8(value_radiusWidth_type) if ((RuntimeType.UNDEFINED) != (value_radiusWidth_type)) { const value_radiusWidth_value = value_radiusWidth! let value_radiusWidth_value_type : int32 = RuntimeType.UNDEFINED value_radiusWidth_value_type = runtimeType(value_radiusWidth_value) if (RuntimeType.NUMBER == value_radiusWidth_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_radiusWidth_value_0 = value_radiusWidth_value as number valueSerializer.writeNumber(value_radiusWidth_value_0) } else if (RuntimeType.STRING == value_radiusWidth_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_radiusWidth_value_1 = value_radiusWidth_value as string valueSerializer.writeString(value_radiusWidth_value_1) } @@ -4624,47 +5172,47 @@ export class Serializer extends SerializerBase { const value_radiusHeight = value.radiusHeight let value_radiusHeight_type : int32 = RuntimeType.UNDEFINED value_radiusHeight_type = runtimeType(value_radiusHeight) - valueSerializer.writeInt8(value_radiusHeight_type as int32) + valueSerializer.writeInt8(value_radiusHeight_type) if ((RuntimeType.UNDEFINED) != (value_radiusHeight_type)) { const value_radiusHeight_value = value_radiusHeight! let value_radiusHeight_value_type : int32 = RuntimeType.UNDEFINED value_radiusHeight_value_type = runtimeType(value_radiusHeight_value) if (RuntimeType.NUMBER == value_radiusHeight_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_radiusHeight_value_0 = value_radiusHeight_value as number valueSerializer.writeNumber(value_radiusHeight_value_0) } else if (RuntimeType.STRING == value_radiusHeight_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_radiusHeight_value_1 = value_radiusHeight_value as string valueSerializer.writeString(value_radiusHeight_value_1) } } } - writeRoundRect(value: RoundRect): void { + public writeRoundRect(value: RoundRect): void { let valueSerializer : Serializer = this const value_rect = value.rect valueSerializer.writeRect(value_rect) const value_corners = value.corners valueSerializer.writeCornerRadius(value_corners) } - writeRoundRectShapeOptions(value: RoundRectShapeOptions): void { + public writeRoundRectShapeOptions(value: RoundRectShapeOptions): void { let valueSerializer : Serializer = this const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! let value_width_value_type : int32 = RuntimeType.UNDEFINED value_width_value_type = runtimeType(value_width_value) if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_width_value_0 = value_width_value as number valueSerializer.writeNumber(value_width_value_0) } else if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1 = value_width_value as string valueSerializer.writeString(value_width_value_1) } @@ -4672,18 +5220,18 @@ export class Serializer extends SerializerBase { const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! let value_height_value_type : int32 = RuntimeType.UNDEFINED value_height_value_type = runtimeType(value_height_value) if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_height_value_0 = value_height_value as number valueSerializer.writeNumber(value_height_value_0) } else if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_height_value_1 = value_height_value as string valueSerializer.writeString(value_height_value_1) } @@ -4691,18 +5239,18 @@ export class Serializer extends SerializerBase { const value_radiusWidth = value.radiusWidth let value_radiusWidth_type : int32 = RuntimeType.UNDEFINED value_radiusWidth_type = runtimeType(value_radiusWidth) - valueSerializer.writeInt8(value_radiusWidth_type as int32) + valueSerializer.writeInt8(value_radiusWidth_type) if ((RuntimeType.UNDEFINED) != (value_radiusWidth_type)) { const value_radiusWidth_value = value_radiusWidth! let value_radiusWidth_value_type : int32 = RuntimeType.UNDEFINED value_radiusWidth_value_type = runtimeType(value_radiusWidth_value) if (RuntimeType.NUMBER == value_radiusWidth_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_radiusWidth_value_0 = value_radiusWidth_value as number valueSerializer.writeNumber(value_radiusWidth_value_0) } else if (RuntimeType.STRING == value_radiusWidth_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_radiusWidth_value_1 = value_radiusWidth_value as string valueSerializer.writeString(value_radiusWidth_value_1) } @@ -4710,37 +5258,37 @@ export class Serializer extends SerializerBase { const value_radiusHeight = value.radiusHeight let value_radiusHeight_type : int32 = RuntimeType.UNDEFINED value_radiusHeight_type = runtimeType(value_radiusHeight) - valueSerializer.writeInt8(value_radiusHeight_type as int32) + valueSerializer.writeInt8(value_radiusHeight_type) if ((RuntimeType.UNDEFINED) != (value_radiusHeight_type)) { const value_radiusHeight_value = value_radiusHeight! let value_radiusHeight_value_type : int32 = RuntimeType.UNDEFINED value_radiusHeight_value_type = runtimeType(value_radiusHeight_value) if (RuntimeType.NUMBER == value_radiusHeight_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_radiusHeight_value_0 = value_radiusHeight_value as number valueSerializer.writeNumber(value_radiusHeight_value_0) } else if (RuntimeType.STRING == value_radiusHeight_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_radiusHeight_value_1 = value_radiusHeight_value as string valueSerializer.writeString(value_radiusHeight_value_1) } } } - writeRouteInfo(value: RouteInfo): void { + public writeRouteInfo(value: RouteInfo): void { let valueSerializer : Serializer = this const value_name = value.name valueSerializer.writeString(value_name) const value_param = value.param let value_param_type : int32 = RuntimeType.UNDEFINED value_param_type = runtimeType(value_param) - valueSerializer.writeInt8(value_param_type as int32) + valueSerializer.writeInt8(value_param_type) if ((RuntimeType.UNDEFINED) != (value_param_type)) { const value_param_value = value_param! valueSerializer.holdAndWriteObject(value_param_value) } } - writeRouteMapConfig(value: RouteMapConfig): void { + public writeRouteMapConfig(value: RouteMapConfig): void { let valueSerializer : Serializer = this const value_name = value.name valueSerializer.writeString(value_name) @@ -4749,34 +5297,39 @@ export class Serializer extends SerializerBase { const value_data = value.data valueSerializer.holdAndWriteObject(value_data) } - writeRowOptions(value: RowOptions): void { + public writeRowOptions(value: RowOptions): void { let valueSerializer : Serializer = this const value_space = value.space let value_space_type : int32 = RuntimeType.UNDEFINED value_space_type = runtimeType(value_space) - valueSerializer.writeInt8(value_space_type as int32) + valueSerializer.writeInt8(value_space_type) if ((RuntimeType.UNDEFINED) != (value_space_type)) { const value_space_value = value_space! let value_space_value_type : int32 = RuntimeType.UNDEFINED value_space_value_type = runtimeType(value_space_value) if (RuntimeType.STRING == value_space_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_space_value_0 = value_space_value as string valueSerializer.writeString(value_space_value_0) } else if (RuntimeType.NUMBER == value_space_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_space_value_1 = value_space_value as number valueSerializer.writeNumber(value_space_value_1) } } } - writeSaveButtonOptions(value: SaveButtonOptions): void { + public writeRowOptionsV2(value: RowOptionsV2): void { + let valueSerializer : Serializer = this + const value_stub = value.stub + valueSerializer.writeString(value_stub) + } + public writeSaveButtonOptions(value: SaveButtonOptions): void { let valueSerializer : Serializer = this const value_icon = value.icon let value_icon_type : int32 = RuntimeType.UNDEFINED value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) + valueSerializer.writeInt8(value_icon_type) if ((RuntimeType.UNDEFINED) != (value_icon_type)) { const value_icon_value = (value_icon as SaveIconStyle) valueSerializer.writeInt32(TypeChecker.SaveIconStyle_ToNumeric(value_icon_value)) @@ -4784,7 +5337,7 @@ export class Serializer extends SerializerBase { const value_text = value.text let value_text_type : int32 = RuntimeType.UNDEFINED value_text_type = runtimeType(value_text) - valueSerializer.writeInt8(value_text_type as int32) + valueSerializer.writeInt8(value_text_type) if ((RuntimeType.UNDEFINED) != (value_text_type)) { const value_text_value = (value_text as SaveDescription) valueSerializer.writeInt32(TypeChecker.SaveDescription_ToNumeric(value_text_value)) @@ -4792,18 +5345,18 @@ export class Serializer extends SerializerBase { const value_buttonType = value.buttonType let value_buttonType_type : int32 = RuntimeType.UNDEFINED value_buttonType_type = runtimeType(value_buttonType) - valueSerializer.writeInt8(value_buttonType_type as int32) + valueSerializer.writeInt8(value_buttonType_type) if ((RuntimeType.UNDEFINED) != (value_buttonType_type)) { const value_buttonType_value = (value_buttonType as ButtonType) valueSerializer.writeInt32(TypeChecker.ButtonType_ToNumeric(value_buttonType_value)) } } - writeScaleOption(value: ScaleOption): void { + public writeScaleOption(value: ScaleOption): void { let valueSerializer : Serializer = this const value_x = value.x let value_x_type : int32 = RuntimeType.UNDEFINED value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type as int32) + valueSerializer.writeInt8(value_x_type) if ((RuntimeType.UNDEFINED) != (value_x_type)) { const value_x_value = value_x! valueSerializer.writeNumber(value_x_value) @@ -4811,7 +5364,7 @@ export class Serializer extends SerializerBase { const value_y = value.y let value_y_type : int32 = RuntimeType.UNDEFINED value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type as int32) + valueSerializer.writeInt8(value_y_type) if ((RuntimeType.UNDEFINED) != (value_y_type)) { const value_y_value = value_y! valueSerializer.writeNumber(value_y_value) @@ -4819,7 +5372,7 @@ export class Serializer extends SerializerBase { const value_z = value.z let value_z_type : int32 = RuntimeType.UNDEFINED value_z_type = runtimeType(value_z) - valueSerializer.writeInt8(value_z_type as int32) + valueSerializer.writeInt8(value_z_type) if ((RuntimeType.UNDEFINED) != (value_z_type)) { const value_z_value = value_z! valueSerializer.writeNumber(value_z_value) @@ -4827,7 +5380,7 @@ export class Serializer extends SerializerBase { const value_centerX = value.centerX let value_centerX_type : int32 = RuntimeType.UNDEFINED value_centerX_type = runtimeType(value_centerX) - valueSerializer.writeInt8(value_centerX_type as int32) + valueSerializer.writeInt8(value_centerX_type) if ((RuntimeType.UNDEFINED) != (value_centerX_type)) { const value_centerX_value = value_centerX! valueSerializer.writeNumber(value_centerX_value) @@ -4835,18 +5388,18 @@ export class Serializer extends SerializerBase { const value_centerY = value.centerY let value_centerY_type : int32 = RuntimeType.UNDEFINED value_centerY_type = runtimeType(value_centerY) - valueSerializer.writeInt8(value_centerY_type as int32) + valueSerializer.writeInt8(value_centerY_type) if ((RuntimeType.UNDEFINED) != (value_centerY_type)) { const value_centerY_value = value_centerY! valueSerializer.writeNumber(value_centerY_value) } } - writeScaleOptions(value: ScaleOptions): void { + public writeScaleOptions(value: ScaleOptions): void { let valueSerializer : Serializer = this const value_x = value.x let value_x_type : int32 = RuntimeType.UNDEFINED value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type as int32) + valueSerializer.writeInt8(value_x_type) if ((RuntimeType.UNDEFINED) != (value_x_type)) { const value_x_value = value_x! valueSerializer.writeNumber(value_x_value) @@ -4854,7 +5407,7 @@ export class Serializer extends SerializerBase { const value_y = value.y let value_y_type : int32 = RuntimeType.UNDEFINED value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type as int32) + valueSerializer.writeInt8(value_y_type) if ((RuntimeType.UNDEFINED) != (value_y_type)) { const value_y_value = value_y! valueSerializer.writeNumber(value_y_value) @@ -4862,7 +5415,7 @@ export class Serializer extends SerializerBase { const value_z = value.z let value_z_type : int32 = RuntimeType.UNDEFINED value_z_type = runtimeType(value_z) - valueSerializer.writeInt8(value_z_type as int32) + valueSerializer.writeInt8(value_z_type) if ((RuntimeType.UNDEFINED) != (value_z_type)) { const value_z_value = value_z! valueSerializer.writeNumber(value_z_value) @@ -4870,18 +5423,18 @@ export class Serializer extends SerializerBase { const value_centerX = value.centerX let value_centerX_type : int32 = RuntimeType.UNDEFINED value_centerX_type = runtimeType(value_centerX) - valueSerializer.writeInt8(value_centerX_type as int32) + valueSerializer.writeInt8(value_centerX_type) if ((RuntimeType.UNDEFINED) != (value_centerX_type)) { const value_centerX_value = value_centerX! let value_centerX_value_type : int32 = RuntimeType.UNDEFINED value_centerX_value_type = runtimeType(value_centerX_value) if (RuntimeType.NUMBER == value_centerX_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_centerX_value_0 = value_centerX_value as number valueSerializer.writeNumber(value_centerX_value_0) } else if (RuntimeType.STRING == value_centerX_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_centerX_value_1 = value_centerX_value as string valueSerializer.writeString(value_centerX_value_1) } @@ -4889,33 +5442,33 @@ export class Serializer extends SerializerBase { const value_centerY = value.centerY let value_centerY_type : int32 = RuntimeType.UNDEFINED value_centerY_type = runtimeType(value_centerY) - valueSerializer.writeInt8(value_centerY_type as int32) + valueSerializer.writeInt8(value_centerY_type) if ((RuntimeType.UNDEFINED) != (value_centerY_type)) { const value_centerY_value = value_centerY! let value_centerY_value_type : int32 = RuntimeType.UNDEFINED value_centerY_value_type = runtimeType(value_centerY_value) if (RuntimeType.NUMBER == value_centerY_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_centerY_value_0 = value_centerY_value as number valueSerializer.writeNumber(value_centerY_value_0) } else if (RuntimeType.STRING == value_centerY_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_centerY_value_1 = value_centerY_value as string valueSerializer.writeString(value_centerY_value_1) } } } - writeScaleSymbolEffect(value: ScaleSymbolEffect): void { + public writeScaleSymbolEffect(value: ScaleSymbolEffect): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeScreenCaptureConfig(value: ScreenCaptureConfig): void { + public writeScreenCaptureConfig(value: ScreenCaptureConfig): void { let valueSerializer : Serializer = this const value_captureMode = value.captureMode valueSerializer.writeInt32(TypeChecker.WebCaptureMode_ToNumeric(value_captureMode)) } - writeScriptItem(value: ScriptItem): void { + public writeScriptItem(value: ScriptItem): void { let valueSerializer : Serializer = this const value_script = value.script valueSerializer.writeString(value_script) @@ -4926,12 +5479,12 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_scriptRules_element) } } - writeScrollAnimationOptions(value: ScrollAnimationOptions): void { + public writeScrollAnimationOptions(value: ScrollAnimationOptions): void { let valueSerializer : Serializer = this const value_duration = value.duration let value_duration_type : int32 = RuntimeType.UNDEFINED value_duration_type = runtimeType(value_duration) - valueSerializer.writeInt8(value_duration_type as int32) + valueSerializer.writeInt8(value_duration_type) if ((RuntimeType.UNDEFINED) != (value_duration_type)) { const value_duration_value = value_duration! valueSerializer.writeNumber(value_duration_value) @@ -4939,18 +5492,18 @@ export class Serializer extends SerializerBase { const value_curve = value.curve let value_curve_type : int32 = RuntimeType.UNDEFINED value_curve_type = runtimeType(value_curve) - valueSerializer.writeInt8(value_curve_type as int32) + valueSerializer.writeInt8(value_curve_type) if ((RuntimeType.UNDEFINED) != (value_curve_type)) { const value_curve_value = value_curve! let value_curve_value_type : int32 = RuntimeType.UNDEFINED value_curve_value_type = runtimeType(value_curve_value) if (TypeChecker.isCurve(value_curve_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_curve_value_0 = value_curve_value as Curve valueSerializer.writeInt32(TypeChecker.Curve_ToNumeric(value_curve_value_0)) } else if (RuntimeType.OBJECT == value_curve_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_curve_value_1 = value_curve_value as ICurve valueSerializer.writeICurve(value_curve_value_1) } @@ -4958,20 +5511,20 @@ export class Serializer extends SerializerBase { const value_canOverScroll = value.canOverScroll let value_canOverScroll_type : int32 = RuntimeType.UNDEFINED value_canOverScroll_type = runtimeType(value_canOverScroll) - valueSerializer.writeInt8(value_canOverScroll_type as int32) + valueSerializer.writeInt8(value_canOverScroll_type) if ((RuntimeType.UNDEFINED) != (value_canOverScroll_type)) { const value_canOverScroll_value = value_canOverScroll! valueSerializer.writeBoolean(value_canOverScroll_value) } } - writeScrollBarOptions(value: ScrollBarOptions): void { + public writeScrollBarOptions(value: ScrollBarOptions): void { let valueSerializer : Serializer = this const value_scroller = value.scroller valueSerializer.writeScroller(value_scroller) const value_direction = value.direction let value_direction_type : int32 = RuntimeType.UNDEFINED value_direction_type = runtimeType(value_direction) - valueSerializer.writeInt8(value_direction_type as int32) + valueSerializer.writeInt8(value_direction_type) if ((RuntimeType.UNDEFINED) != (value_direction_type)) { const value_direction_value = (value_direction as ScrollBarDirection) valueSerializer.writeInt32(TypeChecker.ScrollBarDirection_ToNumeric(value_direction_value)) @@ -4979,69 +5532,42 @@ export class Serializer extends SerializerBase { const value_state = value.state let value_state_type : int32 = RuntimeType.UNDEFINED value_state_type = runtimeType(value_state) - valueSerializer.writeInt8(value_state_type as int32) + valueSerializer.writeInt8(value_state_type) if ((RuntimeType.UNDEFINED) != (value_state_type)) { const value_state_value = (value_state as BarState) valueSerializer.writeInt32(TypeChecker.BarState_ToNumeric(value_state_value)) } } - writeScrollEdgeOptions(value: ScrollEdgeOptions): void { + public writeScrollEdgeOptions(value: ScrollEdgeOptions): void { let valueSerializer : Serializer = this const value_velocity = value.velocity let value_velocity_type : int32 = RuntimeType.UNDEFINED value_velocity_type = runtimeType(value_velocity) - valueSerializer.writeInt8(value_velocity_type as int32) + valueSerializer.writeInt8(value_velocity_type) if ((RuntimeType.UNDEFINED) != (value_velocity_type)) { const value_velocity_value = value_velocity! valueSerializer.writeNumber(value_velocity_value) } } - writeScrollPageOptions(value: ScrollPageOptions): void { + public writeScrollPageOptions(value: ScrollPageOptions): void { let valueSerializer : Serializer = this const value_next = value.next valueSerializer.writeBoolean(value_next) const value_animation = value.animation let value_animation_type : int32 = RuntimeType.UNDEFINED value_animation_type = runtimeType(value_animation) - valueSerializer.writeInt8(value_animation_type as int32) + valueSerializer.writeInt8(value_animation_type) if ((RuntimeType.UNDEFINED) != (value_animation_type)) { const value_animation_value = value_animation! valueSerializer.writeBoolean(value_animation_value) } } - writeSelectionMenuOptions(value: SelectionMenuOptions): void { - let valueSerializer : Serializer = this - const value_onAppear = value.onAppear - let value_onAppear_type : int32 = RuntimeType.UNDEFINED - value_onAppear_type = runtimeType(value_onAppear) - valueSerializer.writeInt8(value_onAppear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { - const value_onAppear_value = value_onAppear! - valueSerializer.holdAndWriteCallback(value_onAppear_value) - } - const value_onDisappear = value.onDisappear - let value_onDisappear_type : int32 = RuntimeType.UNDEFINED - value_onDisappear_type = runtimeType(value_onDisappear) - valueSerializer.writeInt8(value_onDisappear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { - const value_onDisappear_value = value_onDisappear! - valueSerializer.holdAndWriteCallback(value_onDisappear_value) - } - const value_menuType = value.menuType - let value_menuType_type : int32 = RuntimeType.UNDEFINED - value_menuType_type = runtimeType(value_menuType) - valueSerializer.writeInt8(value_menuType_type as int32) - if ((RuntimeType.UNDEFINED) != (value_menuType_type)) { - const value_menuType_value = (value_menuType as MenuType) - valueSerializer.writeInt32(TypeChecker.MenuType_ToNumeric(value_menuType_value)) - } - } - writeSelectionMenuOptionsExt(value: SelectionMenuOptionsExt): void { + public writeSelectionMenuOptionsExt(value: SelectionMenuOptionsExt): void { let valueSerializer : Serializer = this const value_onAppear = value.onAppear let value_onAppear_type : int32 = RuntimeType.UNDEFINED value_onAppear_type = runtimeType(value_onAppear) - valueSerializer.writeInt8(value_onAppear_type as int32) + valueSerializer.writeInt8(value_onAppear_type) if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { const value_onAppear_value = value_onAppear! valueSerializer.holdAndWriteCallback(value_onAppear_value) @@ -5049,7 +5575,7 @@ export class Serializer extends SerializerBase { const value_onDisappear = value.onDisappear let value_onDisappear_type : int32 = RuntimeType.UNDEFINED value_onDisappear_type = runtimeType(value_onDisappear) - valueSerializer.writeInt8(value_onDisappear_type as int32) + valueSerializer.writeInt8(value_onDisappear_type) if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { const value_onDisappear_value = value_onDisappear! valueSerializer.holdAndWriteCallback(value_onDisappear_value) @@ -5057,7 +5583,7 @@ export class Serializer extends SerializerBase { const value_preview = value.preview let value_preview_type : int32 = RuntimeType.UNDEFINED value_preview_type = runtimeType(value_preview) - valueSerializer.writeInt8(value_preview_type as int32) + valueSerializer.writeInt8(value_preview_type) if ((RuntimeType.UNDEFINED) != (value_preview_type)) { const value_preview_value = value_preview! valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_preview_value)) @@ -5065,40 +5591,40 @@ export class Serializer extends SerializerBase { const value_menuType = value.menuType let value_menuType_type : int32 = RuntimeType.UNDEFINED value_menuType_type = runtimeType(value_menuType) - valueSerializer.writeInt8(value_menuType_type as int32) + valueSerializer.writeInt8(value_menuType_type) if ((RuntimeType.UNDEFINED) != (value_menuType_type)) { const value_menuType_value = (value_menuType as MenuType) valueSerializer.writeInt32(TypeChecker.MenuType_ToNumeric(value_menuType_value)) } } - writeSelectionOptions(value: SelectionOptions): void { + public writeSelectionOptions(value: SelectionOptions): void { let valueSerializer : Serializer = this const value_menuPolicy = value.menuPolicy let value_menuPolicy_type : int32 = RuntimeType.UNDEFINED value_menuPolicy_type = runtimeType(value_menuPolicy) - valueSerializer.writeInt8(value_menuPolicy_type as int32) + valueSerializer.writeInt8(value_menuPolicy_type) if ((RuntimeType.UNDEFINED) != (value_menuPolicy_type)) { const value_menuPolicy_value = (value_menuPolicy as MenuPolicy) valueSerializer.writeInt32(TypeChecker.MenuPolicy_ToNumeric(value_menuPolicy_value)) } } - writeShapeSize(value: ShapeSize): void { + public writeShapeSize(value: ShapeSize): void { let valueSerializer : Serializer = this const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! let value_width_value_type : int32 = RuntimeType.UNDEFINED value_width_value_type = runtimeType(value_width_value) if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_width_value_0 = value_width_value as number valueSerializer.writeNumber(value_width_value_0) } else if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1 = value_width_value as string valueSerializer.writeString(value_width_value_1) } @@ -5106,34 +5632,34 @@ export class Serializer extends SerializerBase { const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! let value_height_value_type : int32 = RuntimeType.UNDEFINED value_height_value_type = runtimeType(value_height_value) if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_height_value_0 = value_height_value as number valueSerializer.writeNumber(value_height_value_0) } else if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_height_value_1 = value_height_value as string valueSerializer.writeString(value_height_value_1) } } } - writeSheetDismiss(value: SheetDismiss): void { + public writeSheetDismiss(value: SheetDismiss): void { let valueSerializer : Serializer = this const value_dismiss = value.dismiss valueSerializer.holdAndWriteCallback(value_dismiss) } - writeSlideRange(value: SlideRange): void { + public writeSlideRange(value: SlideRange): void { let valueSerializer : Serializer = this const value_from = value.from let value_from_type : int32 = RuntimeType.UNDEFINED value_from_type = runtimeType(value_from) - valueSerializer.writeInt8(value_from_type as int32) + valueSerializer.writeInt8(value_from_type) if ((RuntimeType.UNDEFINED) != (value_from_type)) { const value_from_value = value_from! valueSerializer.writeNumber(value_from_value) @@ -5141,18 +5667,18 @@ export class Serializer extends SerializerBase { const value_to = value.to let value_to_type : int32 = RuntimeType.UNDEFINED value_to_type = runtimeType(value_to) - valueSerializer.writeInt8(value_to_type as int32) + valueSerializer.writeInt8(value_to_type) if ((RuntimeType.UNDEFINED) != (value_to_type)) { const value_to_value = value_to! valueSerializer.writeNumber(value_to_value) } } - writeSliderOptions(value: SliderOptions): void { + public writeSliderOptions(value: SliderOptions): void { let valueSerializer : Serializer = this const value_value = value.value let value_value_type : int32 = RuntimeType.UNDEFINED value_value_type = runtimeType(value_value) - valueSerializer.writeInt8(value_value_type as int32) + valueSerializer.writeInt8(value_value_type) if ((RuntimeType.UNDEFINED) != (value_value_type)) { const value_value_value = value_value! valueSerializer.writeNumber(value_value_value) @@ -5160,7 +5686,7 @@ export class Serializer extends SerializerBase { const value_min = value.min let value_min_type : int32 = RuntimeType.UNDEFINED value_min_type = runtimeType(value_min) - valueSerializer.writeInt8(value_min_type as int32) + valueSerializer.writeInt8(value_min_type) if ((RuntimeType.UNDEFINED) != (value_min_type)) { const value_min_value = value_min! valueSerializer.writeNumber(value_min_value) @@ -5168,7 +5694,7 @@ export class Serializer extends SerializerBase { const value_max = value.max let value_max_type : int32 = RuntimeType.UNDEFINED value_max_type = runtimeType(value_max) - valueSerializer.writeInt8(value_max_type as int32) + valueSerializer.writeInt8(value_max_type) if ((RuntimeType.UNDEFINED) != (value_max_type)) { const value_max_value = value_max! valueSerializer.writeNumber(value_max_value) @@ -5176,7 +5702,7 @@ export class Serializer extends SerializerBase { const value_step = value.step let value_step_type : int32 = RuntimeType.UNDEFINED value_step_type = runtimeType(value_step) - valueSerializer.writeInt8(value_step_type as int32) + valueSerializer.writeInt8(value_step_type) if ((RuntimeType.UNDEFINED) != (value_step_type)) { const value_step_value = value_step! valueSerializer.writeNumber(value_step_value) @@ -5184,7 +5710,7 @@ export class Serializer extends SerializerBase { const value_style = value.style let value_style_type : int32 = RuntimeType.UNDEFINED value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) + valueSerializer.writeInt8(value_style_type) if ((RuntimeType.UNDEFINED) != (value_style_type)) { const value_style_value = (value_style as SliderStyle) valueSerializer.writeInt32(TypeChecker.SliderStyle_ToNumeric(value_style_value)) @@ -5192,7 +5718,7 @@ export class Serializer extends SerializerBase { const value_direction = value.direction let value_direction_type : int32 = RuntimeType.UNDEFINED value_direction_type = runtimeType(value_direction) - valueSerializer.writeInt8(value_direction_type as int32) + valueSerializer.writeInt8(value_direction_type) if ((RuntimeType.UNDEFINED) != (value_direction_type)) { const value_direction_value = (value_direction as Axis) valueSerializer.writeInt32(TypeChecker.Axis_ToNumeric(value_direction_value)) @@ -5200,18 +5726,18 @@ export class Serializer extends SerializerBase { const value_reverse = value.reverse let value_reverse_type : int32 = RuntimeType.UNDEFINED value_reverse_type = runtimeType(value_reverse) - valueSerializer.writeInt8(value_reverse_type as int32) + valueSerializer.writeInt8(value_reverse_type) if ((RuntimeType.UNDEFINED) != (value_reverse_type)) { const value_reverse_value = value_reverse! valueSerializer.writeBoolean(value_reverse_value) } } - writeSnapshotOptions(value: SnapshotOptions): void { + public writeSnapshotOptions(value: SnapshotOptions): void { let valueSerializer : Serializer = this const value_scale = value.scale let value_scale_type : int32 = RuntimeType.UNDEFINED value_scale_type = runtimeType(value_scale) - valueSerializer.writeInt8(value_scale_type as int32) + valueSerializer.writeInt8(value_scale_type) if ((RuntimeType.UNDEFINED) != (value_scale_type)) { const value_scale_value = value_scale! valueSerializer.writeNumber(value_scale_value) @@ -5219,18 +5745,18 @@ export class Serializer extends SerializerBase { const value_waitUntilRenderFinished = value.waitUntilRenderFinished let value_waitUntilRenderFinished_type : int32 = RuntimeType.UNDEFINED value_waitUntilRenderFinished_type = runtimeType(value_waitUntilRenderFinished) - valueSerializer.writeInt8(value_waitUntilRenderFinished_type as int32) + valueSerializer.writeInt8(value_waitUntilRenderFinished_type) if ((RuntimeType.UNDEFINED) != (value_waitUntilRenderFinished_type)) { const value_waitUntilRenderFinished_value = value_waitUntilRenderFinished! valueSerializer.writeBoolean(value_waitUntilRenderFinished_value) } } - writeSpringBackAction(value: SpringBackAction): void { + public writeSpringBackAction(value: SpringBackAction): void { let valueSerializer : Serializer = this const value_springBack = value.springBack valueSerializer.holdAndWriteCallback(value_springBack) } - writeSslErrorEvent(value: SslErrorEvent): void { + public writeSslErrorEvent(value: SslErrorEvent): void { let valueSerializer : Serializer = this const value_handler = value.handler valueSerializer.writeSslErrorHandler(value_handler) @@ -5247,18 +5773,18 @@ export class Serializer extends SerializerBase { const value_isMainFrame = value.isMainFrame valueSerializer.writeBoolean(value_isMainFrame) } - writeStackOptions(value: StackOptions): void { + public writeStackOptions(value: StackOptions): void { let valueSerializer : Serializer = this const value_alignContent = value.alignContent let value_alignContent_type : int32 = RuntimeType.UNDEFINED value_alignContent_type = runtimeType(value_alignContent) - valueSerializer.writeInt8(value_alignContent_type as int32) + valueSerializer.writeInt8(value_alignContent_type) if ((RuntimeType.UNDEFINED) != (value_alignContent_type)) { const value_alignContent_value = (value_alignContent as Alignment) valueSerializer.writeInt32(TypeChecker.Alignment_ToNumeric(value_alignContent_value)) } } - writeStarStyleOptions(value: StarStyleOptions): void { + public writeStarStyleOptions(value: StarStyleOptions): void { let valueSerializer : Serializer = this const value_backgroundUri = value.backgroundUri valueSerializer.writeString(value_backgroundUri) @@ -5267,18 +5793,18 @@ export class Serializer extends SerializerBase { const value_secondaryUri = value.secondaryUri let value_secondaryUri_type : int32 = RuntimeType.UNDEFINED value_secondaryUri_type = runtimeType(value_secondaryUri) - valueSerializer.writeInt8(value_secondaryUri_type as int32) + valueSerializer.writeInt8(value_secondaryUri_type) if ((RuntimeType.UNDEFINED) != (value_secondaryUri_type)) { const value_secondaryUri_value = value_secondaryUri! valueSerializer.writeString(value_secondaryUri_value) } } - writeStateStyles(value: StateStyles): void { + public writeStateStyles(value: StateStyles): void { let valueSerializer : Serializer = this const value_normal = value.normal let value_normal_type : int32 = RuntimeType.UNDEFINED value_normal_type = runtimeType(value_normal) - valueSerializer.writeInt8(value_normal_type as int32) + valueSerializer.writeInt8(value_normal_type) if ((RuntimeType.UNDEFINED) != (value_normal_type)) { const value_normal_value = value_normal! valueSerializer.holdAndWriteObject(value_normal_value) @@ -5286,7 +5812,7 @@ export class Serializer extends SerializerBase { const value_pressed = value.pressed let value_pressed_type : int32 = RuntimeType.UNDEFINED value_pressed_type = runtimeType(value_pressed) - valueSerializer.writeInt8(value_pressed_type as int32) + valueSerializer.writeInt8(value_pressed_type) if ((RuntimeType.UNDEFINED) != (value_pressed_type)) { const value_pressed_value = value_pressed! valueSerializer.holdAndWriteObject(value_pressed_value) @@ -5294,7 +5820,7 @@ export class Serializer extends SerializerBase { const value_disabled = value.disabled let value_disabled_type : int32 = RuntimeType.UNDEFINED value_disabled_type = runtimeType(value_disabled) - valueSerializer.writeInt8(value_disabled_type as int32) + valueSerializer.writeInt8(value_disabled_type) if ((RuntimeType.UNDEFINED) != (value_disabled_type)) { const value_disabled_value = value_disabled! valueSerializer.holdAndWriteObject(value_disabled_value) @@ -5302,7 +5828,7 @@ export class Serializer extends SerializerBase { const value_focused = value.focused let value_focused_type : int32 = RuntimeType.UNDEFINED value_focused_type = runtimeType(value_focused) - valueSerializer.writeInt8(value_focused_type as int32) + valueSerializer.writeInt8(value_focused_type) if ((RuntimeType.UNDEFINED) != (value_focused_type)) { const value_focused_value = value_focused! valueSerializer.holdAndWriteObject(value_focused_value) @@ -5310,7 +5836,7 @@ export class Serializer extends SerializerBase { const value_clicked = value.clicked let value_clicked_type : int32 = RuntimeType.UNDEFINED value_clicked_type = runtimeType(value_clicked) - valueSerializer.writeInt8(value_clicked_type as int32) + valueSerializer.writeInt8(value_clicked_type) if ((RuntimeType.UNDEFINED) != (value_clicked_type)) { const value_clicked_value = value_clicked! valueSerializer.holdAndWriteObject(value_clicked_value) @@ -5318,18 +5844,18 @@ export class Serializer extends SerializerBase { const value_selected = value.selected let value_selected_type : int32 = RuntimeType.UNDEFINED value_selected_type = runtimeType(value_selected) - valueSerializer.writeInt8(value_selected_type as int32) + valueSerializer.writeInt8(value_selected_type) if ((RuntimeType.UNDEFINED) != (value_selected_type)) { const value_selected_value = value_selected! valueSerializer.holdAndWriteObject(value_selected_value) } } - writeStyledStringChangedListener(value: StyledStringChangedListener): void { + public writeStyledStringChangedListener(value: StyledStringChangedListener): void { let valueSerializer : Serializer = this const value_onWillChange = value.onWillChange let value_onWillChange_type : int32 = RuntimeType.UNDEFINED value_onWillChange_type = runtimeType(value_onWillChange) - valueSerializer.writeInt8(value_onWillChange_type as int32) + valueSerializer.writeInt8(value_onWillChange_type) if ((RuntimeType.UNDEFINED) != (value_onWillChange_type)) { const value_onWillChange_value = value_onWillChange! valueSerializer.holdAndWriteCallback(value_onWillChange_value) @@ -5337,13 +5863,13 @@ export class Serializer extends SerializerBase { const value_onDidChange = value.onDidChange let value_onDidChange_type : int32 = RuntimeType.UNDEFINED value_onDidChange_type = runtimeType(value_onDidChange) - valueSerializer.writeInt8(value_onDidChange_type as int32) + valueSerializer.writeInt8(value_onDidChange_type) if ((RuntimeType.UNDEFINED) != (value_onDidChange_type)) { const value_onDidChange_value = value_onDidChange! valueSerializer.holdAndWriteCallback(value_onDidChange_value) } } - writeSummary(value: Summary): void { + public writeSummary(value: Summary): void { let valueSerializer : Serializer = this const value_summary = value.summary valueSerializer.writeInt32(value_summary.size as int32 as int32) @@ -5356,12 +5882,12 @@ export class Serializer extends SerializerBase { const value_totalSize = value.totalSize valueSerializer.writeInt64(value_totalSize) } - writeSurfaceRect(value: SurfaceRect): void { + public writeSurfaceRect(value: SurfaceRect): void { let valueSerializer : Serializer = this const value_offsetX = value.offsetX let value_offsetX_type : int32 = RuntimeType.UNDEFINED value_offsetX_type = runtimeType(value_offsetX) - valueSerializer.writeInt8(value_offsetX_type as int32) + valueSerializer.writeInt8(value_offsetX_type) if ((RuntimeType.UNDEFINED) != (value_offsetX_type)) { const value_offsetX_value = value_offsetX! valueSerializer.writeNumber(value_offsetX_value) @@ -5369,7 +5895,7 @@ export class Serializer extends SerializerBase { const value_offsetY = value.offsetY let value_offsetY_type : int32 = RuntimeType.UNDEFINED value_offsetY_type = runtimeType(value_offsetY) - valueSerializer.writeInt8(value_offsetY_type as int32) + valueSerializer.writeInt8(value_offsetY_type) if ((RuntimeType.UNDEFINED) != (value_offsetY_type)) { const value_offsetY_value = value_offsetY! valueSerializer.writeNumber(value_offsetY_value) @@ -5379,39 +5905,74 @@ export class Serializer extends SerializerBase { const value_surfaceHeight = value.surfaceHeight valueSerializer.writeNumber(value_surfaceHeight) } - writeSurfaceRotationOptions(value: SurfaceRotationOptions): void { + public writeSurfaceRotationOptions(value: SurfaceRotationOptions): void { let valueSerializer : Serializer = this const value_lock = value.lock let value_lock_type : int32 = RuntimeType.UNDEFINED value_lock_type = runtimeType(value_lock) - valueSerializer.writeInt8(value_lock_type as int32) + valueSerializer.writeInt8(value_lock_type) if ((RuntimeType.UNDEFINED) != (value_lock_type)) { const value_lock_value = value_lock! valueSerializer.writeBoolean(value_lock_value) } } - writeSwiperAutoFill(value: SwiperAutoFill): void { + public writeSwipeGestureHandlerOptions(value: SwipeGestureHandlerOptions): void { + let valueSerializer : Serializer = this + const value_isFingerCountLimited = value.isFingerCountLimited + let value_isFingerCountLimited_type : int32 = RuntimeType.UNDEFINED + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited) + valueSerializer.writeInt8(value_isFingerCountLimited_type) + if ((RuntimeType.UNDEFINED) != (value_isFingerCountLimited_type)) { + const value_isFingerCountLimited_value = value_isFingerCountLimited! + valueSerializer.writeBoolean(value_isFingerCountLimited_value) + } + const value_fingers = value.fingers + let value_fingers_type : int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_direction = value.direction + let value_direction_type : int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + valueSerializer.writeInt8(value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = (value_direction as SwipeDirection) + valueSerializer.writeInt32(TypeChecker.SwipeDirection_ToNumeric(value_direction_value)) + } + const value_speed = value.speed + let value_speed_type : int32 = RuntimeType.UNDEFINED + value_speed_type = runtimeType(value_speed) + valueSerializer.writeInt8(value_speed_type) + if ((RuntimeType.UNDEFINED) != (value_speed_type)) { + const value_speed_value = value_speed! + valueSerializer.writeNumber(value_speed_value) + } + } + public writeSwiperAutoFill(value: SwiperAutoFill): void { let valueSerializer : Serializer = this const value_minSize = value.minSize let value_minSize_type : int32 = RuntimeType.UNDEFINED value_minSize_type = runtimeType(value_minSize) if (RuntimeType.STRING == value_minSize_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_minSize_0 = value_minSize as string valueSerializer.writeString(value_minSize_0) } else if (RuntimeType.NUMBER == value_minSize_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_minSize_1 = value_minSize as number valueSerializer.writeNumber(value_minSize_1) } } - writeSwiperContentAnimatedTransition(value: SwiperContentAnimatedTransition): void { + public writeSwiperContentAnimatedTransition(value: SwiperContentAnimatedTransition): void { let valueSerializer : Serializer = this const value_timeout = value.timeout let value_timeout_type : int32 = RuntimeType.UNDEFINED value_timeout_type = runtimeType(value_timeout) - valueSerializer.writeInt8(value_timeout_type as int32) + valueSerializer.writeInt8(value_timeout_type) if ((RuntimeType.UNDEFINED) != (value_timeout_type)) { const value_timeout_value = value_timeout! valueSerializer.writeNumber(value_timeout_value) @@ -5419,36 +5980,47 @@ export class Serializer extends SerializerBase { const value_transition = value.transition valueSerializer.holdAndWriteCallback(value_transition) } - writeSystemBarStyle(value: SystemBarStyle): void { + public writeSystemAdaptiveOptions(value: SystemAdaptiveOptions): void { + let valueSerializer : Serializer = this + const value_disableSystemAdaptation = value.disableSystemAdaptation + let value_disableSystemAdaptation_type : int32 = RuntimeType.UNDEFINED + value_disableSystemAdaptation_type = runtimeType(value_disableSystemAdaptation) + valueSerializer.writeInt8(value_disableSystemAdaptation_type) + if ((RuntimeType.UNDEFINED) != (value_disableSystemAdaptation_type)) { + const value_disableSystemAdaptation_value = value_disableSystemAdaptation! + valueSerializer.writeBoolean(value_disableSystemAdaptation_value) + } + } + public writeSystemBarStyle(value: SystemBarStyle): void { let valueSerializer : Serializer = this const value_statusBarContentColor = value.statusBarContentColor let value_statusBarContentColor_type : int32 = RuntimeType.UNDEFINED value_statusBarContentColor_type = runtimeType(value_statusBarContentColor) - valueSerializer.writeInt8(value_statusBarContentColor_type as int32) + valueSerializer.writeInt8(value_statusBarContentColor_type) if ((RuntimeType.UNDEFINED) != (value_statusBarContentColor_type)) { const value_statusBarContentColor_value = value_statusBarContentColor! valueSerializer.writeString(value_statusBarContentColor_value) } } - writeTabBarSymbol(value: TabBarSymbol): void { + public writeTabBarSymbol(value: TabBarSymbol): void { let valueSerializer : Serializer = this const value_normal = value.normal valueSerializer.writeSymbolGlyphModifier(value_normal) const value_selected = value.selected let value_selected_type : int32 = RuntimeType.UNDEFINED value_selected_type = runtimeType(value_selected) - valueSerializer.writeInt8(value_selected_type as int32) + valueSerializer.writeInt8(value_selected_type) if ((RuntimeType.UNDEFINED) != (value_selected_type)) { const value_selected_value = value_selected! valueSerializer.writeSymbolGlyphModifier(value_selected_value) } } - writeTabContentAnimatedTransition(value: TabContentAnimatedTransition): void { + public writeTabContentAnimatedTransition(value: TabContentAnimatedTransition): void { let valueSerializer : Serializer = this const value_timeout = value.timeout let value_timeout_type : int32 = RuntimeType.UNDEFINED value_timeout_type = runtimeType(value_timeout) - valueSerializer.writeInt8(value_timeout_type as int32) + valueSerializer.writeInt8(value_timeout_type) if ((RuntimeType.UNDEFINED) != (value_timeout_type)) { const value_timeout_value = value_timeout! valueSerializer.writeNumber(value_timeout_value) @@ -5456,39 +6028,20 @@ export class Serializer extends SerializerBase { const value_transition = value.transition valueSerializer.holdAndWriteCallback(value_transition) } - writeTabsOptions(value: TabsOptions): void { + public writeTapGestureParameters(value: TapGestureParameters): void { let valueSerializer : Serializer = this - const value_barPosition = value.barPosition - let value_barPosition_type : int32 = RuntimeType.UNDEFINED - value_barPosition_type = runtimeType(value_barPosition) - valueSerializer.writeInt8(value_barPosition_type as int32) - if ((RuntimeType.UNDEFINED) != (value_barPosition_type)) { - const value_barPosition_value = (value_barPosition as BarPosition) - valueSerializer.writeInt32(TypeChecker.BarPosition_ToNumeric(value_barPosition_value)) - } - const value_index = value.index - let value_index_type : int32 = RuntimeType.UNDEFINED - value_index_type = runtimeType(value_index) - valueSerializer.writeInt8(value_index_type as int32) - if ((RuntimeType.UNDEFINED) != (value_index_type)) { - const value_index_value = value_index! - valueSerializer.writeNumber(value_index_value) - } - const value_controller = value.controller - let value_controller_type : int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type as int32) - if ((RuntimeType.UNDEFINED) != (value_controller_type)) { - const value_controller_value = value_controller! - valueSerializer.writeTabsController(value_controller_value) + const value_isFingerCountLimited = value.isFingerCountLimited + let value_isFingerCountLimited_type : int32 = RuntimeType.UNDEFINED + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited) + valueSerializer.writeInt8(value_isFingerCountLimited_type) + if ((RuntimeType.UNDEFINED) != (value_isFingerCountLimited_type)) { + const value_isFingerCountLimited_value = value_isFingerCountLimited! + valueSerializer.writeBoolean(value_isFingerCountLimited_value) } - } - writeTapGestureParameters(value: TapGestureParameters): void { - let valueSerializer : Serializer = this const value_count = value.count let value_count_type : int32 = RuntimeType.UNDEFINED value_count_type = runtimeType(value_count) - valueSerializer.writeInt8(value_count_type as int32) + valueSerializer.writeInt8(value_count_type) if ((RuntimeType.UNDEFINED) != (value_count_type)) { const value_count_value = value_count! valueSerializer.writeNumber(value_count_value) @@ -5496,7 +6049,7 @@ export class Serializer extends SerializerBase { const value_fingers = value.fingers let value_fingers_type : int32 = RuntimeType.UNDEFINED value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type as int32) + valueSerializer.writeInt8(value_fingers_type) if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { const value_fingers_value = value_fingers! valueSerializer.writeNumber(value_fingers_value) @@ -5504,25 +6057,25 @@ export class Serializer extends SerializerBase { const value_distanceThreshold = value.distanceThreshold let value_distanceThreshold_type : int32 = RuntimeType.UNDEFINED value_distanceThreshold_type = runtimeType(value_distanceThreshold) - valueSerializer.writeInt8(value_distanceThreshold_type as int32) + valueSerializer.writeInt8(value_distanceThreshold_type) if ((RuntimeType.UNDEFINED) != (value_distanceThreshold_type)) { const value_distanceThreshold_value = value_distanceThreshold! valueSerializer.writeNumber(value_distanceThreshold_value) } } - writeTextBox(value: TextBox): void { + public writeTextBox(value: TextBox): void { let valueSerializer : Serializer = this const value_rect = value.rect valueSerializer.writeRect(value_rect) const value_direction = value.direction valueSerializer.writeInt32(TypeChecker.TextDirection_ToNumeric(value_direction)) } - writeTextClockOptions(value: TextClockOptions): void { + public writeTextClockOptions(value: TextClockOptions): void { let valueSerializer : Serializer = this const value_timeZoneOffset = value.timeZoneOffset let value_timeZoneOffset_type : int32 = RuntimeType.UNDEFINED value_timeZoneOffset_type = runtimeType(value_timeZoneOffset) - valueSerializer.writeInt8(value_timeZoneOffset_type as int32) + valueSerializer.writeInt8(value_timeZoneOffset_type) if ((RuntimeType.UNDEFINED) != (value_timeZoneOffset_type)) { const value_timeZoneOffset_value = value_timeZoneOffset! valueSerializer.writeNumber(value_timeZoneOffset_value) @@ -5530,18 +6083,82 @@ export class Serializer extends SerializerBase { const value_controller = value.controller let value_controller_type : int32 = RuntimeType.UNDEFINED value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type as int32) + valueSerializer.writeInt8(value_controller_type) if ((RuntimeType.UNDEFINED) != (value_controller_type)) { const value_controller_value = value_controller! valueSerializer.writeTextClockController(value_controller_value) } } - writeTextRange(value: TextRange): void { + public writeTextContentControllerOptions(value: TextContentControllerOptions): void { + let valueSerializer : Serializer = this + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writeNumber(value_offset_value) + } + } + public writeTextMarqueeOptions(value: TextMarqueeOptions): void { + let valueSerializer : Serializer = this + const value_start = value.start + valueSerializer.writeBoolean(value_start) + const value_step = value.step + let value_step_type : int32 = RuntimeType.UNDEFINED + value_step_type = runtimeType(value_step) + valueSerializer.writeInt8(value_step_type) + if ((RuntimeType.UNDEFINED) != (value_step_type)) { + const value_step_value = value_step! + valueSerializer.writeNumber(value_step_value) + } + const value_loop = value.loop + let value_loop_type : int32 = RuntimeType.UNDEFINED + value_loop_type = runtimeType(value_loop) + valueSerializer.writeInt8(value_loop_type) + if ((RuntimeType.UNDEFINED) != (value_loop_type)) { + const value_loop_value = value_loop! + valueSerializer.writeNumber(value_loop_value) + } + const value_fromStart = value.fromStart + let value_fromStart_type : int32 = RuntimeType.UNDEFINED + value_fromStart_type = runtimeType(value_fromStart) + valueSerializer.writeInt8(value_fromStart_type) + if ((RuntimeType.UNDEFINED) != (value_fromStart_type)) { + const value_fromStart_value = value_fromStart! + valueSerializer.writeBoolean(value_fromStart_value) + } + const value_delay = value.delay + let value_delay_type : int32 = RuntimeType.UNDEFINED + value_delay_type = runtimeType(value_delay) + valueSerializer.writeInt8(value_delay_type) + if ((RuntimeType.UNDEFINED) != (value_delay_type)) { + const value_delay_value = value_delay! + valueSerializer.writeNumber(value_delay_value) + } + const value_fadeout = value.fadeout + let value_fadeout_type : int32 = RuntimeType.UNDEFINED + value_fadeout_type = runtimeType(value_fadeout) + valueSerializer.writeInt8(value_fadeout_type) + if ((RuntimeType.UNDEFINED) != (value_fadeout_type)) { + const value_fadeout_value = value_fadeout! + valueSerializer.writeBoolean(value_fadeout_value) + } + const value_marqueeStartPolicy = value.marqueeStartPolicy + let value_marqueeStartPolicy_type : int32 = RuntimeType.UNDEFINED + value_marqueeStartPolicy_type = runtimeType(value_marqueeStartPolicy) + valueSerializer.writeInt8(value_marqueeStartPolicy_type) + if ((RuntimeType.UNDEFINED) != (value_marqueeStartPolicy_type)) { + const value_marqueeStartPolicy_value = (value_marqueeStartPolicy as MarqueeStartPolicy) + valueSerializer.writeInt32(TypeChecker.MarqueeStartPolicy_ToNumeric(value_marqueeStartPolicy_value)) + } + } + public writeTextRange(value: TextRange): void { let valueSerializer : Serializer = this const value_start = value.start let value_start_type : int32 = RuntimeType.UNDEFINED value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) + valueSerializer.writeInt8(value_start_type) if ((RuntimeType.UNDEFINED) != (value_start_type)) { const value_start_value = value_start! valueSerializer.writeNumber(value_start_value) @@ -5549,33 +6166,33 @@ export class Serializer extends SerializerBase { const value_end = value.end let value_end_type : int32 = RuntimeType.UNDEFINED value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) + valueSerializer.writeInt8(value_end_type) if ((RuntimeType.UNDEFINED) != (value_end_type)) { const value_end_value = value_end! valueSerializer.writeNumber(value_end_value) } } - writeTextShadowStyle(value: TextShadowStyle): void { + public writeTextShadowStyle(value: TextShadowStyle): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextStyle_alert_dialog(value: TextStyle_alert_dialog): void { + public writeTextStyle_alert_dialog(value: TextStyle_alert_dialog): void { let valueSerializer : Serializer = this const value_wordBreak = value.wordBreak let value_wordBreak_type : int32 = RuntimeType.UNDEFINED value_wordBreak_type = runtimeType(value_wordBreak) - valueSerializer.writeInt8(value_wordBreak_type as int32) + valueSerializer.writeInt8(value_wordBreak_type) if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { const value_wordBreak_value = (value_wordBreak as WordBreak) valueSerializer.writeInt32(TypeChecker.WordBreak_ToNumeric(value_wordBreak_value)) } } - writeTextTimerOptions(value: TextTimerOptions): void { + public writeTextTimerOptions(value: TextTimerOptions): void { let valueSerializer : Serializer = this const value_isCountDown = value.isCountDown let value_isCountDown_type : int32 = RuntimeType.UNDEFINED value_isCountDown_type = runtimeType(value_isCountDown) - valueSerializer.writeInt8(value_isCountDown_type as int32) + valueSerializer.writeInt8(value_isCountDown_type) if ((RuntimeType.UNDEFINED) != (value_isCountDown_type)) { const value_isCountDown_value = value_isCountDown! valueSerializer.writeBoolean(value_isCountDown_value) @@ -5583,7 +6200,7 @@ export class Serializer extends SerializerBase { const value_count = value.count let value_count_type : int32 = RuntimeType.UNDEFINED value_count_type = runtimeType(value_count) - valueSerializer.writeInt8(value_count_type as int32) + valueSerializer.writeInt8(value_count_type) if ((RuntimeType.UNDEFINED) != (value_count_type)) { const value_count_value = value_count! valueSerializer.writeNumber(value_count_value) @@ -5591,18 +6208,18 @@ export class Serializer extends SerializerBase { const value_controller = value.controller let value_controller_type : int32 = RuntimeType.UNDEFINED value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type as int32) + valueSerializer.writeInt8(value_controller_type) if ((RuntimeType.UNDEFINED) != (value_controller_type)) { const value_controller_value = value_controller! valueSerializer.writeTextTimerController(value_controller_value) } } - writeTimePickerOptions(value: TimePickerOptions): void { + public writeTimePickerOptions(value: TimePickerOptions): void { let valueSerializer : Serializer = this const value_selected = value.selected let value_selected_type : int32 = RuntimeType.UNDEFINED value_selected_type = runtimeType(value_selected) - valueSerializer.writeInt8(value_selected_type as int32) + valueSerializer.writeInt8(value_selected_type) if ((RuntimeType.UNDEFINED) != (value_selected_type)) { const value_selected_value = value_selected! valueSerializer.writeInt64((value_selected_value.getTime() as int64)) @@ -5610,26 +6227,42 @@ export class Serializer extends SerializerBase { const value_format = value.format let value_format_type : int32 = RuntimeType.UNDEFINED value_format_type = runtimeType(value_format) - valueSerializer.writeInt8(value_format_type as int32) + valueSerializer.writeInt8(value_format_type) if ((RuntimeType.UNDEFINED) != (value_format_type)) { const value_format_value = (value_format as TimePickerFormat) valueSerializer.writeInt32(TypeChecker.TimePickerFormat_ToNumeric(value_format_value)) } + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeInt64((value_start_value.getTime() as int64)) + } + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeInt64((value_end_value.getTime() as int64)) + } } - writeToggleOptions(value: ToggleOptions): void { + public writeToggleOptions(value: ToggleOptions): void { let valueSerializer : Serializer = this const value_type = value.type valueSerializer.writeInt32(TypeChecker.ToggleType_ToNumeric(value_type)) const value_isOn = value.isOn let value_isOn_type : int32 = RuntimeType.UNDEFINED value_isOn_type = runtimeType(value_isOn) - valueSerializer.writeInt8(value_isOn_type as int32) + valueSerializer.writeInt8(value_isOn_type) if ((RuntimeType.UNDEFINED) != (value_isOn_type)) { const value_isOn_value = value_isOn! valueSerializer.writeBoolean(value_isOn_value) } } - writeTouchObject(value: TouchObject): void { + public writeTouchObject(value: TouchObject): void { let valueSerializer : Serializer = this const value_type = value.type valueSerializer.writeInt32(TypeChecker.TouchType_ToNumeric(value_type)) @@ -5651,21 +6284,61 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_x) const value_y = value.y valueSerializer.writeNumber(value_y) + const value_hand = value.hand + let value_hand_type : int32 = RuntimeType.UNDEFINED + value_hand_type = runtimeType(value_hand) + valueSerializer.writeInt8(value_hand_type) + if ((RuntimeType.UNDEFINED) != (value_hand_type)) { + const value_hand_value = (value_hand as InteractionHand) + valueSerializer.writeInt32(TypeChecker.InteractionHand_ToNumeric(value_hand_value)) + } + const value_pressedTime = value.pressedTime + let value_pressedTime_type : int32 = RuntimeType.UNDEFINED + value_pressedTime_type = runtimeType(value_pressedTime) + valueSerializer.writeInt8(value_pressedTime_type) + if ((RuntimeType.UNDEFINED) != (value_pressedTime_type)) { + const value_pressedTime_value = value_pressedTime! + valueSerializer.writeNumber(value_pressedTime_value) + } + const value_pressure = value.pressure + let value_pressure_type : int32 = RuntimeType.UNDEFINED + value_pressure_type = runtimeType(value_pressure) + valueSerializer.writeInt8(value_pressure_type) + if ((RuntimeType.UNDEFINED) != (value_pressure_type)) { + const value_pressure_value = value_pressure! + valueSerializer.writeNumber(value_pressure_value) + } + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + valueSerializer.writeNumber(value_width_value) + } + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + valueSerializer.writeNumber(value_height_value) + } } - writeTouchResult(value: TouchResult): void { + public writeTouchResult(value: TouchResult): void { let valueSerializer : Serializer = this const value_strategy = value.strategy valueSerializer.writeInt32(TypeChecker.TouchTestStrategy_ToNumeric(value_strategy)) const value_id = value.id let value_id_type : int32 = RuntimeType.UNDEFINED value_id_type = runtimeType(value_id) - valueSerializer.writeInt8(value_id_type as int32) + valueSerializer.writeInt8(value_id_type) if ((RuntimeType.UNDEFINED) != (value_id_type)) { const value_id_value = value_id! valueSerializer.writeString(value_id_value) } } - writeTransformationMatrix(value: TransformationMatrix): void { + public writeTransformationMatrix(value: TransformationMatrix): void { let valueSerializer : Serializer = this const value_matrix4x4 = value.matrix4x4 valueSerializer.writeInt32(value_matrix4x4.length as int32) @@ -5674,12 +6347,12 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_matrix4x4_element) } } - writeTranslateOption(value: TranslateOption): void { + public writeTranslateOption(value: TranslateOption): void { let valueSerializer : Serializer = this const value_x = value.x let value_x_type : int32 = RuntimeType.UNDEFINED value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type as int32) + valueSerializer.writeInt8(value_x_type) if ((RuntimeType.UNDEFINED) != (value_x_type)) { const value_x_value = value_x! valueSerializer.writeNumber(value_x_value) @@ -5687,7 +6360,7 @@ export class Serializer extends SerializerBase { const value_y = value.y let value_y_type : int32 = RuntimeType.UNDEFINED value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type as int32) + valueSerializer.writeInt8(value_y_type) if ((RuntimeType.UNDEFINED) != (value_y_type)) { const value_y_value = value_y! valueSerializer.writeNumber(value_y_value) @@ -5695,29 +6368,29 @@ export class Serializer extends SerializerBase { const value_z = value.z let value_z_type : int32 = RuntimeType.UNDEFINED value_z_type = runtimeType(value_z) - valueSerializer.writeInt8(value_z_type as int32) + valueSerializer.writeInt8(value_z_type) if ((RuntimeType.UNDEFINED) != (value_z_type)) { const value_z_value = value_z! valueSerializer.writeNumber(value_z_value) } } - writeTranslateOptions(value: TranslateOptions): void { + public writeTranslateOptions(value: TranslateOptions): void { let valueSerializer : Serializer = this const value_x = value.x let value_x_type : int32 = RuntimeType.UNDEFINED value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type as int32) + valueSerializer.writeInt8(value_x_type) if ((RuntimeType.UNDEFINED) != (value_x_type)) { const value_x_value = value_x! let value_x_value_type : int32 = RuntimeType.UNDEFINED value_x_value_type = runtimeType(value_x_value) if (RuntimeType.NUMBER == value_x_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_x_value_0 = value_x_value as number valueSerializer.writeNumber(value_x_value_0) } else if (RuntimeType.STRING == value_x_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_x_value_1 = value_x_value as string valueSerializer.writeString(value_x_value_1) } @@ -5725,18 +6398,18 @@ export class Serializer extends SerializerBase { const value_y = value.y let value_y_type : int32 = RuntimeType.UNDEFINED value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type as int32) + valueSerializer.writeInt8(value_y_type) if ((RuntimeType.UNDEFINED) != (value_y_type)) { const value_y_value = value_y! let value_y_value_type : int32 = RuntimeType.UNDEFINED value_y_value_type = runtimeType(value_y_value) if (RuntimeType.NUMBER == value_y_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_y_value_0 = value_y_value as number valueSerializer.writeNumber(value_y_value_0) } else if (RuntimeType.STRING == value_y_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_y_value_1 = value_y_value as string valueSerializer.writeString(value_y_value_1) } @@ -5744,29 +6417,29 @@ export class Serializer extends SerializerBase { const value_z = value.z let value_z_type : int32 = RuntimeType.UNDEFINED value_z_type = runtimeType(value_z) - valueSerializer.writeInt8(value_z_type as int32) + valueSerializer.writeInt8(value_z_type) if ((RuntimeType.UNDEFINED) != (value_z_type)) { const value_z_value = value_z! let value_z_value_type : int32 = RuntimeType.UNDEFINED value_z_value_type = runtimeType(value_z_value) if (RuntimeType.NUMBER == value_z_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_z_value_0 = value_z_value as number valueSerializer.writeNumber(value_z_value_0) } else if (RuntimeType.STRING == value_z_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_z_value_1 = value_z_value as string valueSerializer.writeString(value_z_value_1) } } } - writeUIExtensionOptions(value: UIExtensionOptions): void { + public writeUIExtensionOptions(value: UIExtensionOptions): void { let valueSerializer : Serializer = this const value_isTransferringCaller = value.isTransferringCaller let value_isTransferringCaller_type : int32 = RuntimeType.UNDEFINED value_isTransferringCaller_type = runtimeType(value_isTransferringCaller) - valueSerializer.writeInt8(value_isTransferringCaller_type as int32) + valueSerializer.writeInt8(value_isTransferringCaller_type) if ((RuntimeType.UNDEFINED) != (value_isTransferringCaller_type)) { const value_isTransferringCaller_value = value_isTransferringCaller! valueSerializer.writeBoolean(value_isTransferringCaller_value) @@ -5774,7 +6447,7 @@ export class Serializer extends SerializerBase { const value_placeholder = value.placeholder let value_placeholder_type : int32 = RuntimeType.UNDEFINED value_placeholder_type = runtimeType(value_placeholder) - valueSerializer.writeInt8(value_placeholder_type as int32) + valueSerializer.writeInt8(value_placeholder_type) if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { const value_placeholder_value = value_placeholder! valueSerializer.writeComponentContent(value_placeholder_value) @@ -5782,7 +6455,7 @@ export class Serializer extends SerializerBase { const value_areaChangePlaceholder = value.areaChangePlaceholder let value_areaChangePlaceholder_type : int32 = RuntimeType.UNDEFINED value_areaChangePlaceholder_type = runtimeType(value_areaChangePlaceholder) - valueSerializer.writeInt8(value_areaChangePlaceholder_type as int32) + valueSerializer.writeInt8(value_areaChangePlaceholder_type) if ((RuntimeType.UNDEFINED) != (value_areaChangePlaceholder_type)) { const value_areaChangePlaceholder_value = value_areaChangePlaceholder! valueSerializer.writeInt32(value_areaChangePlaceholder_value.size as int32 as int32) @@ -5796,29 +6469,37 @@ export class Serializer extends SerializerBase { const value_dpiFollowStrategy = value.dpiFollowStrategy let value_dpiFollowStrategy_type : int32 = RuntimeType.UNDEFINED value_dpiFollowStrategy_type = runtimeType(value_dpiFollowStrategy) - valueSerializer.writeInt8(value_dpiFollowStrategy_type as int32) + valueSerializer.writeInt8(value_dpiFollowStrategy_type) if ((RuntimeType.UNDEFINED) != (value_dpiFollowStrategy_type)) { const value_dpiFollowStrategy_value = (value_dpiFollowStrategy as DpiFollowStrategy) valueSerializer.writeInt32(TypeChecker.DpiFollowStrategy_ToNumeric(value_dpiFollowStrategy_value)) } + const value_windowModeFollowStrategy = value.windowModeFollowStrategy + let value_windowModeFollowStrategy_type : int32 = RuntimeType.UNDEFINED + value_windowModeFollowStrategy_type = runtimeType(value_windowModeFollowStrategy) + valueSerializer.writeInt8(value_windowModeFollowStrategy_type) + if ((RuntimeType.UNDEFINED) != (value_windowModeFollowStrategy_type)) { + const value_windowModeFollowStrategy_value = (value_windowModeFollowStrategy as WindowModeFollowStrategy) + valueSerializer.writeInt32(TypeChecker.WindowModeFollowStrategy_ToNumeric(value_windowModeFollowStrategy_value)) + } } - writeViewportRect(value: ViewportRect): void { + public writeViewportRect(value: ViewportRect): void { let valueSerializer : Serializer = this const value_x = value.x let value_x_type : int32 = RuntimeType.UNDEFINED value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type as int32) + valueSerializer.writeInt8(value_x_type) if ((RuntimeType.UNDEFINED) != (value_x_type)) { const value_x_value = value_x! let value_x_value_type : int32 = RuntimeType.UNDEFINED value_x_value_type = runtimeType(value_x_value) if (RuntimeType.NUMBER == value_x_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_x_value_0 = value_x_value as number valueSerializer.writeNumber(value_x_value_0) } else if (RuntimeType.STRING == value_x_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_x_value_1 = value_x_value as string valueSerializer.writeString(value_x_value_1) } @@ -5826,18 +6507,18 @@ export class Serializer extends SerializerBase { const value_y = value.y let value_y_type : int32 = RuntimeType.UNDEFINED value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type as int32) + valueSerializer.writeInt8(value_y_type) if ((RuntimeType.UNDEFINED) != (value_y_type)) { const value_y_value = value_y! let value_y_value_type : int32 = RuntimeType.UNDEFINED value_y_value_type = runtimeType(value_y_value) if (RuntimeType.NUMBER == value_y_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_y_value_0 = value_y_value as number valueSerializer.writeNumber(value_y_value_0) } else if (RuntimeType.STRING == value_y_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_y_value_1 = value_y_value as string valueSerializer.writeString(value_y_value_1) } @@ -5845,18 +6526,18 @@ export class Serializer extends SerializerBase { const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! let value_width_value_type : int32 = RuntimeType.UNDEFINED value_width_value_type = runtimeType(value_width_value) if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_width_value_0 = value_width_value as number valueSerializer.writeNumber(value_width_value_0) } else if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1 = value_width_value as string valueSerializer.writeString(value_width_value_1) } @@ -5864,24 +6545,28 @@ export class Serializer extends SerializerBase { const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! let value_height_value_type : int32 = RuntimeType.UNDEFINED value_height_value_type = runtimeType(value_height_value) if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_height_value_0 = value_height_value as number valueSerializer.writeNumber(value_height_value_0) } else if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_height_value_1 = value_height_value as string valueSerializer.writeString(value_height_value_1) } } } - writeVisibleAreaEventOptions(value: VisibleAreaEventOptions): void { + public writeVirtualScrollOptions(value: VirtualScrollOptions): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeVisibleAreaEventOptions(value: VisibleAreaEventOptions): void { let valueSerializer : Serializer = this const value_ratios = value.ratios valueSerializer.writeInt32(value_ratios.length as int32) @@ -5892,20 +6577,20 @@ export class Serializer extends SerializerBase { const value_expectedUpdateInterval = value.expectedUpdateInterval let value_expectedUpdateInterval_type : int32 = RuntimeType.UNDEFINED value_expectedUpdateInterval_type = runtimeType(value_expectedUpdateInterval) - valueSerializer.writeInt8(value_expectedUpdateInterval_type as int32) + valueSerializer.writeInt8(value_expectedUpdateInterval_type) if ((RuntimeType.UNDEFINED) != (value_expectedUpdateInterval_type)) { const value_expectedUpdateInterval_value = value_expectedUpdateInterval! valueSerializer.writeNumber(value_expectedUpdateInterval_value) } } - writeVisibleListContentInfo(value: VisibleListContentInfo): void { + public writeVisibleListContentInfo(value: VisibleListContentInfo): void { let valueSerializer : Serializer = this const value_index = value.index valueSerializer.writeNumber(value_index) const value_itemGroupArea = value.itemGroupArea let value_itemGroupArea_type : int32 = RuntimeType.UNDEFINED value_itemGroupArea_type = runtimeType(value_itemGroupArea) - valueSerializer.writeInt8(value_itemGroupArea_type as int32) + valueSerializer.writeInt8(value_itemGroupArea_type) if ((RuntimeType.UNDEFINED) != (value_itemGroupArea_type)) { const value_itemGroupArea_value = (value_itemGroupArea as ListItemGroupArea) valueSerializer.writeInt32(TypeChecker.ListItemGroupArea_ToNumeric(value_itemGroupArea_value)) @@ -5913,18 +6598,18 @@ export class Serializer extends SerializerBase { const value_itemIndexInGroup = value.itemIndexInGroup let value_itemIndexInGroup_type : int32 = RuntimeType.UNDEFINED value_itemIndexInGroup_type = runtimeType(value_itemIndexInGroup) - valueSerializer.writeInt8(value_itemIndexInGroup_type as int32) + valueSerializer.writeInt8(value_itemIndexInGroup_type) if ((RuntimeType.UNDEFINED) != (value_itemIndexInGroup_type)) { const value_itemIndexInGroup_value = value_itemIndexInGroup! valueSerializer.writeNumber(value_itemIndexInGroup_value) } } - writeWant(value: Want): void { + public writeWant(value: Want): void { let valueSerializer : Serializer = this const value_bundleName = value.bundleName let value_bundleName_type : int32 = RuntimeType.UNDEFINED value_bundleName_type = runtimeType(value_bundleName) - valueSerializer.writeInt8(value_bundleName_type as int32) + valueSerializer.writeInt8(value_bundleName_type) if ((RuntimeType.UNDEFINED) != (value_bundleName_type)) { const value_bundleName_value = value_bundleName! valueSerializer.writeString(value_bundleName_value) @@ -5932,7 +6617,7 @@ export class Serializer extends SerializerBase { const value_abilityName = value.abilityName let value_abilityName_type : int32 = RuntimeType.UNDEFINED value_abilityName_type = runtimeType(value_abilityName) - valueSerializer.writeInt8(value_abilityName_type as int32) + valueSerializer.writeInt8(value_abilityName_type) if ((RuntimeType.UNDEFINED) != (value_abilityName_type)) { const value_abilityName_value = value_abilityName! valueSerializer.writeString(value_abilityName_value) @@ -5940,7 +6625,7 @@ export class Serializer extends SerializerBase { const value_deviceId = value.deviceId let value_deviceId_type : int32 = RuntimeType.UNDEFINED value_deviceId_type = runtimeType(value_deviceId) - valueSerializer.writeInt8(value_deviceId_type as int32) + valueSerializer.writeInt8(value_deviceId_type) if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { const value_deviceId_value = value_deviceId! valueSerializer.writeString(value_deviceId_value) @@ -5948,7 +6633,7 @@ export class Serializer extends SerializerBase { const value_uri = value.uri let value_uri_type : int32 = RuntimeType.UNDEFINED value_uri_type = runtimeType(value_uri) - valueSerializer.writeInt8(value_uri_type as int32) + valueSerializer.writeInt8(value_uri_type) if ((RuntimeType.UNDEFINED) != (value_uri_type)) { const value_uri_value = value_uri! valueSerializer.writeString(value_uri_value) @@ -5956,7 +6641,7 @@ export class Serializer extends SerializerBase { const value_type = value.type let value_type_type : int32 = RuntimeType.UNDEFINED value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type as int32) + valueSerializer.writeInt8(value_type_type) if ((RuntimeType.UNDEFINED) != (value_type_type)) { const value_type_value = value_type! valueSerializer.writeString(value_type_value) @@ -5964,7 +6649,7 @@ export class Serializer extends SerializerBase { const value_flags = value.flags let value_flags_type : int32 = RuntimeType.UNDEFINED value_flags_type = runtimeType(value_flags) - valueSerializer.writeInt8(value_flags_type as int32) + valueSerializer.writeInt8(value_flags_type) if ((RuntimeType.UNDEFINED) != (value_flags_type)) { const value_flags_value = value_flags! valueSerializer.writeNumber(value_flags_value) @@ -5972,7 +6657,7 @@ export class Serializer extends SerializerBase { const value_action = value.action let value_action_type : int32 = RuntimeType.UNDEFINED value_action_type = runtimeType(value_action) - valueSerializer.writeInt8(value_action_type as int32) + valueSerializer.writeInt8(value_action_type) if ((RuntimeType.UNDEFINED) != (value_action_type)) { const value_action_value = value_action! valueSerializer.writeString(value_action_value) @@ -5980,7 +6665,7 @@ export class Serializer extends SerializerBase { const value_parameters = value.parameters let value_parameters_type : int32 = RuntimeType.UNDEFINED value_parameters_type = runtimeType(value_parameters) - valueSerializer.writeInt8(value_parameters_type as int32) + valueSerializer.writeInt8(value_parameters_type) if ((RuntimeType.UNDEFINED) != (value_parameters_type)) { const value_parameters_value = value_parameters! valueSerializer.writeInt32(value_parameters_value.size as int32 as int32) @@ -5994,7 +6679,7 @@ export class Serializer extends SerializerBase { const value_entities = value.entities let value_entities_type : int32 = RuntimeType.UNDEFINED value_entities_type = runtimeType(value_entities) - valueSerializer.writeInt8(value_entities_type as int32) + valueSerializer.writeInt8(value_entities_type) if ((RuntimeType.UNDEFINED) != (value_entities_type)) { const value_entities_value = value_entities! valueSerializer.writeInt32(value_entities_value.length as int32) @@ -6006,26 +6691,34 @@ export class Serializer extends SerializerBase { const value_moduleName = value.moduleName let value_moduleName_type : int32 = RuntimeType.UNDEFINED value_moduleName_type = runtimeType(value_moduleName) - valueSerializer.writeInt8(value_moduleName_type as int32) + valueSerializer.writeInt8(value_moduleName_type) if ((RuntimeType.UNDEFINED) != (value_moduleName_type)) { const value_moduleName_value = value_moduleName! valueSerializer.writeString(value_moduleName_value) } } - writeWaterFlowOptions(value: WaterFlowOptions): void { + public writeWaterFlowOptions(value: WaterFlowOptions): void { let valueSerializer : Serializer = this const value_footer = value.footer let value_footer_type : int32 = RuntimeType.UNDEFINED value_footer_type = runtimeType(value_footer) - valueSerializer.writeInt8(value_footer_type as int32) + valueSerializer.writeInt8(value_footer_type) if ((RuntimeType.UNDEFINED) != (value_footer_type)) { const value_footer_value = value_footer! valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_footer_value)) } + const value_footerContent = value.footerContent + let value_footerContent_type : int32 = RuntimeType.UNDEFINED + value_footerContent_type = runtimeType(value_footerContent) + valueSerializer.writeInt8(value_footerContent_type) + if ((RuntimeType.UNDEFINED) != (value_footerContent_type)) { + const value_footerContent_value = value_footerContent! + valueSerializer.writeComponentContent(value_footerContent_value) + } const value_scroller = value.scroller let value_scroller_type : int32 = RuntimeType.UNDEFINED value_scroller_type = runtimeType(value_scroller) - valueSerializer.writeInt8(value_scroller_type as int32) + valueSerializer.writeInt8(value_scroller_type) if ((RuntimeType.UNDEFINED) != (value_scroller_type)) { const value_scroller_value = value_scroller! valueSerializer.writeScroller(value_scroller_value) @@ -6033,7 +6726,7 @@ export class Serializer extends SerializerBase { const value_sections = value.sections let value_sections_type : int32 = RuntimeType.UNDEFINED value_sections_type = runtimeType(value_sections) - valueSerializer.writeInt8(value_sections_type as int32) + valueSerializer.writeInt8(value_sections_type) if ((RuntimeType.UNDEFINED) != (value_sections_type)) { const value_sections_value = value_sections! valueSerializer.writeWaterFlowSections(value_sections_value) @@ -6041,13 +6734,13 @@ export class Serializer extends SerializerBase { const value_layoutMode = value.layoutMode let value_layoutMode_type : int32 = RuntimeType.UNDEFINED value_layoutMode_type = runtimeType(value_layoutMode) - valueSerializer.writeInt8(value_layoutMode_type as int32) + valueSerializer.writeInt8(value_layoutMode_type) if ((RuntimeType.UNDEFINED) != (value_layoutMode_type)) { const value_layoutMode_value = (value_layoutMode as WaterFlowLayoutMode) valueSerializer.writeInt32(TypeChecker.WaterFlowLayoutMode_ToNumeric(value_layoutMode_value)) } } - writeWebKeyboardCallbackInfo(value: WebKeyboardCallbackInfo): void { + public writeWebKeyboardCallbackInfo(value: WebKeyboardCallbackInfo): void { let valueSerializer : Serializer = this const value_controller = value.controller valueSerializer.writeWebKeyboardController(value_controller) @@ -6060,14 +6753,14 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_attributes_value) } } - writeWebKeyboardOptions(value: WebKeyboardOptions): void { + public writeWebKeyboardOptions(value: WebKeyboardOptions): void { let valueSerializer : Serializer = this const value_useSystemKeyboard = value.useSystemKeyboard valueSerializer.writeBoolean(value_useSystemKeyboard) const value_enterKeyType = value.enterKeyType let value_enterKeyType_type : int32 = RuntimeType.UNDEFINED value_enterKeyType_type = runtimeType(value_enterKeyType) - valueSerializer.writeInt8(value_enterKeyType_type as int32) + valueSerializer.writeInt8(value_enterKeyType_type) if ((RuntimeType.UNDEFINED) != (value_enterKeyType_type)) { const value_enterKeyType_value = value_enterKeyType! valueSerializer.writeNumber(value_enterKeyType_value) @@ -6075,18 +6768,18 @@ export class Serializer extends SerializerBase { const value_customKeyboard = value.customKeyboard let value_customKeyboard_type : int32 = RuntimeType.UNDEFINED value_customKeyboard_type = runtimeType(value_customKeyboard) - valueSerializer.writeInt8(value_customKeyboard_type as int32) + valueSerializer.writeInt8(value_customKeyboard_type) if ((RuntimeType.UNDEFINED) != (value_customKeyboard_type)) { const value_customKeyboard_value = value_customKeyboard! valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_customKeyboard_value)) } } - writeWebMediaOptions(value: WebMediaOptions): void { + public writeWebMediaOptions(value: WebMediaOptions): void { let valueSerializer : Serializer = this const value_resumeInterval = value.resumeInterval let value_resumeInterval_type : int32 = RuntimeType.UNDEFINED value_resumeInterval_type = runtimeType(value_resumeInterval) - valueSerializer.writeInt8(value_resumeInterval_type as int32) + valueSerializer.writeInt8(value_resumeInterval_type) if ((RuntimeType.UNDEFINED) != (value_resumeInterval_type)) { const value_resumeInterval_value = value_resumeInterval! valueSerializer.writeNumber(value_resumeInterval_value) @@ -6094,24 +6787,24 @@ export class Serializer extends SerializerBase { const value_audioExclusive = value.audioExclusive let value_audioExclusive_type : int32 = RuntimeType.UNDEFINED value_audioExclusive_type = runtimeType(value_audioExclusive) - valueSerializer.writeInt8(value_audioExclusive_type as int32) + valueSerializer.writeInt8(value_audioExclusive_type) if ((RuntimeType.UNDEFINED) != (value_audioExclusive_type)) { const value_audioExclusive_value = value_audioExclusive! valueSerializer.writeBoolean(value_audioExclusive_value) } } - writeWebOptions(value: WebOptions): void { + public writeWebOptions(value: WebOptions): void { let valueSerializer : Serializer = this const value_src = value.src let value_src_type : int32 = RuntimeType.UNDEFINED value_src_type = runtimeType(value_src) if (RuntimeType.STRING == value_src_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_src_0 = value_src as string valueSerializer.writeString(value_src_0) } else if (RuntimeType.OBJECT == value_src_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_src_1 = value_src as Resource valueSerializer.writeResource(value_src_1) } @@ -6119,19 +6812,19 @@ export class Serializer extends SerializerBase { let value_controller_type : int32 = RuntimeType.UNDEFINED value_controller_type = runtimeType(value_controller) if (TypeChecker.isWebController(value_controller)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_controller_0 = value_controller as WebController valueSerializer.writeWebController(value_controller_0) } else if (TypeChecker.isWebviewController(value_controller)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_controller_1 = value_controller as WebviewController valueSerializer.writeWebviewController(value_controller_1) } const value_renderMode = value.renderMode let value_renderMode_type : int32 = RuntimeType.UNDEFINED value_renderMode_type = runtimeType(value_renderMode) - valueSerializer.writeInt8(value_renderMode_type as int32) + valueSerializer.writeInt8(value_renderMode_type) if ((RuntimeType.UNDEFINED) != (value_renderMode_type)) { const value_renderMode_value = (value_renderMode as RenderMode) valueSerializer.writeInt32(TypeChecker.RenderMode_ToNumeric(value_renderMode_value)) @@ -6139,7 +6832,7 @@ export class Serializer extends SerializerBase { const value_incognitoMode = value.incognitoMode let value_incognitoMode_type : int32 = RuntimeType.UNDEFINED value_incognitoMode_type = runtimeType(value_incognitoMode) - valueSerializer.writeInt8(value_incognitoMode_type as int32) + valueSerializer.writeInt8(value_incognitoMode_type) if ((RuntimeType.UNDEFINED) != (value_incognitoMode_type)) { const value_incognitoMode_value = value_incognitoMode! valueSerializer.writeBoolean(value_incognitoMode_value) @@ -6147,18 +6840,18 @@ export class Serializer extends SerializerBase { const value_sharedRenderProcessToken = value.sharedRenderProcessToken let value_sharedRenderProcessToken_type : int32 = RuntimeType.UNDEFINED value_sharedRenderProcessToken_type = runtimeType(value_sharedRenderProcessToken) - valueSerializer.writeInt8(value_sharedRenderProcessToken_type as int32) + valueSerializer.writeInt8(value_sharedRenderProcessToken_type) if ((RuntimeType.UNDEFINED) != (value_sharedRenderProcessToken_type)) { const value_sharedRenderProcessToken_value = value_sharedRenderProcessToken! valueSerializer.writeString(value_sharedRenderProcessToken_value) } } - writeWorkerOptions(value: WorkerOptions): void { + public writeWorkerOptions(value: WorkerOptions): void { let valueSerializer : Serializer = this const value_type = value.type let value_type_type : int32 = RuntimeType.UNDEFINED value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type as int32) + valueSerializer.writeInt8(value_type_type) if ((RuntimeType.UNDEFINED) != (value_type_type)) { const value_type_value = value_type! valueSerializer.writeString(value_type_value) @@ -6166,7 +6859,7 @@ export class Serializer extends SerializerBase { const value_name = value.name let value_name_type : int32 = RuntimeType.UNDEFINED value_name_type = runtimeType(value_name) - valueSerializer.writeInt8(value_name_type as int32) + valueSerializer.writeInt8(value_name_type) if ((RuntimeType.UNDEFINED) != (value_name_type)) { const value_name_value = value_name! valueSerializer.writeString(value_name_value) @@ -6174,27 +6867,27 @@ export class Serializer extends SerializerBase { const value_shared = value.shared let value_shared_type : int32 = RuntimeType.UNDEFINED value_shared_type = runtimeType(value_shared) - valueSerializer.writeInt8(value_shared_type as int32) + valueSerializer.writeInt8(value_shared_type) if ((RuntimeType.UNDEFINED) != (value_shared_type)) { const value_shared_value = value_shared! valueSerializer.writeBoolean(value_shared_value) } } - writeWrappedBuilder(value: WrappedBuilder): void { + public writeWrappedBuilder(value: WrappedBuilder): void { let valueSerializer : Serializer = this const value_builder = value.builder valueSerializer.holdAndWriteCallback(value_builder) } - writeXComponentController(value: XComponentController): void { + public writeXComponentController(value: XComponentController): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeActionSheetButtonOptions(value: ActionSheetButtonOptions): void { + public writeActionSheetButtonOptions(value: ActionSheetButtonOptions): void { let valueSerializer : Serializer = this const value_enabled = value.enabled let value_enabled_type : int32 = RuntimeType.UNDEFINED value_enabled_type = runtimeType(value_enabled) - valueSerializer.writeInt8(value_enabled_type as int32) + valueSerializer.writeInt8(value_enabled_type) if ((RuntimeType.UNDEFINED) != (value_enabled_type)) { const value_enabled_value = value_enabled! valueSerializer.writeBoolean(value_enabled_value) @@ -6202,7 +6895,7 @@ export class Serializer extends SerializerBase { const value_defaultFocus = value.defaultFocus let value_defaultFocus_type : int32 = RuntimeType.UNDEFINED value_defaultFocus_type = runtimeType(value_defaultFocus) - valueSerializer.writeInt8(value_defaultFocus_type as int32) + valueSerializer.writeInt8(value_defaultFocus_type) if ((RuntimeType.UNDEFINED) != (value_defaultFocus_type)) { const value_defaultFocus_value = value_defaultFocus! valueSerializer.writeBoolean(value_defaultFocus_value) @@ -6210,7 +6903,7 @@ export class Serializer extends SerializerBase { const value_style = value.style let value_style_type : int32 = RuntimeType.UNDEFINED value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) + valueSerializer.writeInt8(value_style_type) if ((RuntimeType.UNDEFINED) != (value_style_type)) { const value_style_value = (value_style as DialogButtonStyle) valueSerializer.writeInt32(TypeChecker.DialogButtonStyle_ToNumeric(value_style_value)) @@ -6219,35 +6912,35 @@ export class Serializer extends SerializerBase { let value_value_type : int32 = RuntimeType.UNDEFINED value_value_type = runtimeType(value_value) if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_value_0 = value_value as string valueSerializer.writeString(value_value_0) } else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_value_1 = value_value as Resource valueSerializer.writeResource(value_value_1) } const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } - writeActionSheetOffset(value: ActionSheetOffset): void { + public writeActionSheetOffset(value: ActionSheetOffset): void { let valueSerializer : Serializer = this const value_dx = value.dx let value_dx_type : int32 = RuntimeType.UNDEFINED value_dx_type = runtimeType(value_dx) if (RuntimeType.NUMBER == value_dx_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_dx_0 = value_dx as number valueSerializer.writeNumber(value_dx_0) } else if (RuntimeType.STRING == value_dx_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_dx_1 = value_dx as string valueSerializer.writeString(value_dx_1) } else if (RuntimeType.OBJECT == value_dx_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_dx_2 = value_dx as Resource valueSerializer.writeResource(value_dx_2) } @@ -6255,27 +6948,27 @@ export class Serializer extends SerializerBase { let value_dy_type : int32 = RuntimeType.UNDEFINED value_dy_type = runtimeType(value_dy) if (RuntimeType.NUMBER == value_dy_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_dy_0 = value_dy as number valueSerializer.writeNumber(value_dy_0) } else if (RuntimeType.STRING == value_dy_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_dy_1 = value_dy as string valueSerializer.writeString(value_dy_1) } else if (RuntimeType.OBJECT == value_dy_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_dy_2 = value_dy as Resource valueSerializer.writeResource(value_dy_2) } } - writeAlertDialogButtonBaseOptions(value: AlertDialogButtonBaseOptions): void { + public writeAlertDialogButtonBaseOptions(value: AlertDialogButtonBaseOptions): void { let valueSerializer : Serializer = this const value_enabled = value.enabled let value_enabled_type : int32 = RuntimeType.UNDEFINED value_enabled_type = runtimeType(value_enabled) - valueSerializer.writeInt8(value_enabled_type as int32) + valueSerializer.writeInt8(value_enabled_type) if ((RuntimeType.UNDEFINED) != (value_enabled_type)) { const value_enabled_value = value_enabled! valueSerializer.writeBoolean(value_enabled_value) @@ -6283,7 +6976,7 @@ export class Serializer extends SerializerBase { const value_defaultFocus = value.defaultFocus let value_defaultFocus_type : int32 = RuntimeType.UNDEFINED value_defaultFocus_type = runtimeType(value_defaultFocus) - valueSerializer.writeInt8(value_defaultFocus_type as int32) + valueSerializer.writeInt8(value_defaultFocus_type) if ((RuntimeType.UNDEFINED) != (value_defaultFocus_type)) { const value_defaultFocus_value = value_defaultFocus! valueSerializer.writeBoolean(value_defaultFocus_value) @@ -6291,7 +6984,7 @@ export class Serializer extends SerializerBase { const value_style = value.style let value_style_type : int32 = RuntimeType.UNDEFINED value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) + valueSerializer.writeInt8(value_style_type) if ((RuntimeType.UNDEFINED) != (value_style_type)) { const value_style_value = (value_style as DialogButtonStyle) valueSerializer.writeInt32(TypeChecker.DialogButtonStyle_ToNumeric(value_style_value)) @@ -6300,40 +6993,40 @@ export class Serializer extends SerializerBase { let value_value_type : int32 = RuntimeType.UNDEFINED value_value_type = runtimeType(value_value) if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_value_0 = value_value as string valueSerializer.writeString(value_value_0) } else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_value_1 = value_value as Resource valueSerializer.writeResource(value_value_1) } const value_fontColor = value.fontColor let value_fontColor_type : int32 = RuntimeType.UNDEFINED value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type as int32) + valueSerializer.writeInt8(value_fontColor_type) if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { const value_fontColor_value = value_fontColor! let value_fontColor_value_type : int32 = RuntimeType.UNDEFINED value_fontColor_value_type = runtimeType(value_fontColor_value) if (TypeChecker.isColor(value_fontColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_fontColor_value_0 = value_fontColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_0)) } else if (RuntimeType.NUMBER == value_fontColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_fontColor_value_1 = value_fontColor_value as number valueSerializer.writeNumber(value_fontColor_value_1) } else if (RuntimeType.STRING == value_fontColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_fontColor_value_2 = value_fontColor_value as string valueSerializer.writeString(value_fontColor_value_2) } else if (RuntimeType.OBJECT == value_fontColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_fontColor_value_3 = value_fontColor_value as Resource valueSerializer.writeResource(value_fontColor_value_3) } @@ -6341,28 +7034,28 @@ export class Serializer extends SerializerBase { const value_backgroundColor = value.backgroundColor let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) + valueSerializer.writeInt8(value_backgroundColor_type) if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { const value_backgroundColor_value = value_backgroundColor! let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_backgroundColor_value_0 = value_backgroundColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) } else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_backgroundColor_value_1 = value_backgroundColor_value as number valueSerializer.writeNumber(value_backgroundColor_value_1) } else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_backgroundColor_value_2 = value_backgroundColor_value as string valueSerializer.writeString(value_backgroundColor_value_2) } else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_backgroundColor_value_3 = value_backgroundColor_value as Resource valueSerializer.writeResource(value_backgroundColor_value_3) } @@ -6370,12 +7063,12 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } - writeAlertDialogButtonOptions(value: AlertDialogButtonOptions): void { + public writeAlertDialogButtonOptions(value: AlertDialogButtonOptions): void { let valueSerializer : Serializer = this const value_enabled = value.enabled let value_enabled_type : int32 = RuntimeType.UNDEFINED value_enabled_type = runtimeType(value_enabled) - valueSerializer.writeInt8(value_enabled_type as int32) + valueSerializer.writeInt8(value_enabled_type) if ((RuntimeType.UNDEFINED) != (value_enabled_type)) { const value_enabled_value = value_enabled! valueSerializer.writeBoolean(value_enabled_value) @@ -6383,7 +7076,7 @@ export class Serializer extends SerializerBase { const value_defaultFocus = value.defaultFocus let value_defaultFocus_type : int32 = RuntimeType.UNDEFINED value_defaultFocus_type = runtimeType(value_defaultFocus) - valueSerializer.writeInt8(value_defaultFocus_type as int32) + valueSerializer.writeInt8(value_defaultFocus_type) if ((RuntimeType.UNDEFINED) != (value_defaultFocus_type)) { const value_defaultFocus_value = value_defaultFocus! valueSerializer.writeBoolean(value_defaultFocus_value) @@ -6391,7 +7084,7 @@ export class Serializer extends SerializerBase { const value_style = value.style let value_style_type : int32 = RuntimeType.UNDEFINED value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) + valueSerializer.writeInt8(value_style_type) if ((RuntimeType.UNDEFINED) != (value_style_type)) { const value_style_value = (value_style as DialogButtonStyle) valueSerializer.writeInt32(TypeChecker.DialogButtonStyle_ToNumeric(value_style_value)) @@ -6400,40 +7093,40 @@ export class Serializer extends SerializerBase { let value_value_type : int32 = RuntimeType.UNDEFINED value_value_type = runtimeType(value_value) if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_value_0 = value_value as string valueSerializer.writeString(value_value_0) } else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_value_1 = value_value as Resource valueSerializer.writeResource(value_value_1) } const value_fontColor = value.fontColor let value_fontColor_type : int32 = RuntimeType.UNDEFINED value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type as int32) + valueSerializer.writeInt8(value_fontColor_type) if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { const value_fontColor_value = value_fontColor! let value_fontColor_value_type : int32 = RuntimeType.UNDEFINED value_fontColor_value_type = runtimeType(value_fontColor_value) if (TypeChecker.isColor(value_fontColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_fontColor_value_0 = value_fontColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_0)) } else if (RuntimeType.NUMBER == value_fontColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_fontColor_value_1 = value_fontColor_value as number valueSerializer.writeNumber(value_fontColor_value_1) } else if (RuntimeType.STRING == value_fontColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_fontColor_value_2 = value_fontColor_value as string valueSerializer.writeString(value_fontColor_value_2) } else if (RuntimeType.OBJECT == value_fontColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_fontColor_value_3 = value_fontColor_value as Resource valueSerializer.writeResource(value_fontColor_value_3) } @@ -6441,28 +7134,28 @@ export class Serializer extends SerializerBase { const value_backgroundColor = value.backgroundColor let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) + valueSerializer.writeInt8(value_backgroundColor_type) if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { const value_backgroundColor_value = value_backgroundColor! let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_backgroundColor_value_0 = value_backgroundColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) } else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_backgroundColor_value_1 = value_backgroundColor_value as number valueSerializer.writeNumber(value_backgroundColor_value_1) } else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_backgroundColor_value_2 = value_backgroundColor_value as string valueSerializer.writeString(value_backgroundColor_value_2) } else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_backgroundColor_value_3 = value_backgroundColor_value as Resource valueSerializer.writeResource(value_backgroundColor_value_3) } @@ -6472,18 +7165,18 @@ export class Serializer extends SerializerBase { const value_primary = value.primary let value_primary_type : int32 = RuntimeType.UNDEFINED value_primary_type = runtimeType(value_primary) - valueSerializer.writeInt8(value_primary_type as int32) + valueSerializer.writeInt8(value_primary_type) if ((RuntimeType.UNDEFINED) != (value_primary_type)) { const value_primary_value = value_primary! valueSerializer.writeBoolean(value_primary_value) } } - writeAlignRuleOption(value: AlignRuleOption): void { + public writeAlignRuleOption(value: AlignRuleOption): void { let valueSerializer : Serializer = this const value_left = value.left let value_left_type : int32 = RuntimeType.UNDEFINED value_left_type = runtimeType(value_left) - valueSerializer.writeInt8(value_left_type as int32) + valueSerializer.writeInt8(value_left_type) if ((RuntimeType.UNDEFINED) != (value_left_type)) { const value_left_value = value_left! const value_left_value_anchor = value_left_value.anchor @@ -6494,7 +7187,7 @@ export class Serializer extends SerializerBase { const value_right = value.right let value_right_type : int32 = RuntimeType.UNDEFINED value_right_type = runtimeType(value_right) - valueSerializer.writeInt8(value_right_type as int32) + valueSerializer.writeInt8(value_right_type) if ((RuntimeType.UNDEFINED) != (value_right_type)) { const value_right_value = value_right! const value_right_value_anchor = value_right_value.anchor @@ -6505,7 +7198,7 @@ export class Serializer extends SerializerBase { const value_middle = value.middle let value_middle_type : int32 = RuntimeType.UNDEFINED value_middle_type = runtimeType(value_middle) - valueSerializer.writeInt8(value_middle_type as int32) + valueSerializer.writeInt8(value_middle_type) if ((RuntimeType.UNDEFINED) != (value_middle_type)) { const value_middle_value = value_middle! const value_middle_value_anchor = value_middle_value.anchor @@ -6516,7 +7209,7 @@ export class Serializer extends SerializerBase { const value_top = value.top let value_top_type : int32 = RuntimeType.UNDEFINED value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) + valueSerializer.writeInt8(value_top_type) if ((RuntimeType.UNDEFINED) != (value_top_type)) { const value_top_value = value_top! const value_top_value_anchor = value_top_value.anchor @@ -6527,7 +7220,7 @@ export class Serializer extends SerializerBase { const value_bottom = value.bottom let value_bottom_type : int32 = RuntimeType.UNDEFINED value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type as int32) + valueSerializer.writeInt8(value_bottom_type) if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { const value_bottom_value = value_bottom! const value_bottom_value_anchor = value_bottom_value.anchor @@ -6538,7 +7231,7 @@ export class Serializer extends SerializerBase { const value_center = value.center let value_center_type : int32 = RuntimeType.UNDEFINED value_center_type = runtimeType(value_center) - valueSerializer.writeInt8(value_center_type as int32) + valueSerializer.writeInt8(value_center_type) if ((RuntimeType.UNDEFINED) != (value_center_type)) { const value_center_value = value_center! const value_center_value_anchor = value_center_value.anchor @@ -6549,18 +7242,18 @@ export class Serializer extends SerializerBase { const value_bias = value.bias let value_bias_type : int32 = RuntimeType.UNDEFINED value_bias_type = runtimeType(value_bias) - valueSerializer.writeInt8(value_bias_type as int32) + valueSerializer.writeInt8(value_bias_type) if ((RuntimeType.UNDEFINED) != (value_bias_type)) { const value_bias_value = value_bias! valueSerializer.writeBias(value_bias_value) } } - writeAnimateParam(value: AnimateParam): void { + public writeAnimateParam(value: AnimateParam): void { let valueSerializer : Serializer = this const value_duration = value.duration let value_duration_type : int32 = RuntimeType.UNDEFINED value_duration_type = runtimeType(value_duration) - valueSerializer.writeInt8(value_duration_type as int32) + valueSerializer.writeInt8(value_duration_type) if ((RuntimeType.UNDEFINED) != (value_duration_type)) { const value_duration_value = value_duration! valueSerializer.writeNumber(value_duration_value) @@ -6568,7 +7261,7 @@ export class Serializer extends SerializerBase { const value_tempo = value.tempo let value_tempo_type : int32 = RuntimeType.UNDEFINED value_tempo_type = runtimeType(value_tempo) - valueSerializer.writeInt8(value_tempo_type as int32) + valueSerializer.writeInt8(value_tempo_type) if ((RuntimeType.UNDEFINED) != (value_tempo_type)) { const value_tempo_value = value_tempo! valueSerializer.writeNumber(value_tempo_value) @@ -6576,23 +7269,23 @@ export class Serializer extends SerializerBase { const value_curve = value.curve let value_curve_type : int32 = RuntimeType.UNDEFINED value_curve_type = runtimeType(value_curve) - valueSerializer.writeInt8(value_curve_type as int32) + valueSerializer.writeInt8(value_curve_type) if ((RuntimeType.UNDEFINED) != (value_curve_type)) { const value_curve_value = value_curve! let value_curve_value_type : int32 = RuntimeType.UNDEFINED value_curve_value_type = runtimeType(value_curve_value) if (TypeChecker.isCurve(value_curve_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_curve_value_0 = value_curve_value as Curve valueSerializer.writeInt32(TypeChecker.Curve_ToNumeric(value_curve_value_0)) } else if (RuntimeType.STRING == value_curve_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_curve_value_1 = value_curve_value as string valueSerializer.writeString(value_curve_value_1) } else if (RuntimeType.OBJECT == value_curve_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_curve_value_2 = value_curve_value as ICurve valueSerializer.writeICurve(value_curve_value_2) } @@ -6600,7 +7293,7 @@ export class Serializer extends SerializerBase { const value_delay = value.delay let value_delay_type : int32 = RuntimeType.UNDEFINED value_delay_type = runtimeType(value_delay) - valueSerializer.writeInt8(value_delay_type as int32) + valueSerializer.writeInt8(value_delay_type) if ((RuntimeType.UNDEFINED) != (value_delay_type)) { const value_delay_value = value_delay! valueSerializer.writeNumber(value_delay_value) @@ -6608,7 +7301,7 @@ export class Serializer extends SerializerBase { const value_iterations = value.iterations let value_iterations_type : int32 = RuntimeType.UNDEFINED value_iterations_type = runtimeType(value_iterations) - valueSerializer.writeInt8(value_iterations_type as int32) + valueSerializer.writeInt8(value_iterations_type) if ((RuntimeType.UNDEFINED) != (value_iterations_type)) { const value_iterations_value = value_iterations! valueSerializer.writeNumber(value_iterations_value) @@ -6616,7 +7309,7 @@ export class Serializer extends SerializerBase { const value_playMode = value.playMode let value_playMode_type : int32 = RuntimeType.UNDEFINED value_playMode_type = runtimeType(value_playMode) - valueSerializer.writeInt8(value_playMode_type as int32) + valueSerializer.writeInt8(value_playMode_type) if ((RuntimeType.UNDEFINED) != (value_playMode_type)) { const value_playMode_value = (value_playMode as PlayMode) valueSerializer.writeInt32(TypeChecker.PlayMode_ToNumeric(value_playMode_value)) @@ -6624,7 +7317,7 @@ export class Serializer extends SerializerBase { const value_onFinish = value.onFinish let value_onFinish_type : int32 = RuntimeType.UNDEFINED value_onFinish_type = runtimeType(value_onFinish) - valueSerializer.writeInt8(value_onFinish_type as int32) + valueSerializer.writeInt8(value_onFinish_type) if ((RuntimeType.UNDEFINED) != (value_onFinish_type)) { const value_onFinish_value = value_onFinish! valueSerializer.holdAndWriteCallback(value_onFinish_value) @@ -6632,7 +7325,7 @@ export class Serializer extends SerializerBase { const value_finishCallbackType = value.finishCallbackType let value_finishCallbackType_type : int32 = RuntimeType.UNDEFINED value_finishCallbackType_type = runtimeType(value_finishCallbackType) - valueSerializer.writeInt8(value_finishCallbackType_type as int32) + valueSerializer.writeInt8(value_finishCallbackType_type) if ((RuntimeType.UNDEFINED) != (value_finishCallbackType_type)) { const value_finishCallbackType_value = (value_finishCallbackType as FinishCallbackType) valueSerializer.writeInt32(TypeChecker.FinishCallbackType_ToNumeric(value_finishCallbackType_value)) @@ -6640,159 +7333,34 @@ export class Serializer extends SerializerBase { const value_expectedFrameRateRange = value.expectedFrameRateRange let value_expectedFrameRateRange_type : int32 = RuntimeType.UNDEFINED value_expectedFrameRateRange_type = runtimeType(value_expectedFrameRateRange) - valueSerializer.writeInt8(value_expectedFrameRateRange_type as int32) + valueSerializer.writeInt8(value_expectedFrameRateRange_type) if ((RuntimeType.UNDEFINED) != (value_expectedFrameRateRange_type)) { const value_expectedFrameRateRange_value = value_expectedFrameRateRange! valueSerializer.writeExpectedFrameRateRange(value_expectedFrameRateRange_value) } } - writeArrowStyle(value: ArrowStyle): void { + public writeBackgroundBlurStyleOptions(value: BackgroundBlurStyleOptions): void { let valueSerializer : Serializer = this - const value_showBackground = value.showBackground - let value_showBackground_type : int32 = RuntimeType.UNDEFINED - value_showBackground_type = runtimeType(value_showBackground) - valueSerializer.writeInt8(value_showBackground_type as int32) - if ((RuntimeType.UNDEFINED) != (value_showBackground_type)) { - const value_showBackground_value = value_showBackground! - valueSerializer.writeBoolean(value_showBackground_value) - } - const value_isSidebarMiddle = value.isSidebarMiddle - let value_isSidebarMiddle_type : int32 = RuntimeType.UNDEFINED - value_isSidebarMiddle_type = runtimeType(value_isSidebarMiddle) - valueSerializer.writeInt8(value_isSidebarMiddle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_isSidebarMiddle_type)) { - const value_isSidebarMiddle_value = value_isSidebarMiddle! - valueSerializer.writeBoolean(value_isSidebarMiddle_value) + const value_colorMode = value.colorMode + let value_colorMode_type : int32 = RuntimeType.UNDEFINED + value_colorMode_type = runtimeType(value_colorMode) + valueSerializer.writeInt8(value_colorMode_type) + if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { + const value_colorMode_value = (value_colorMode as ThemeColorMode) + valueSerializer.writeInt32(TypeChecker.ThemeColorMode_ToNumeric(value_colorMode_value)) } - const value_backgroundSize = value.backgroundSize - let value_backgroundSize_type : int32 = RuntimeType.UNDEFINED - value_backgroundSize_type = runtimeType(value_backgroundSize) - valueSerializer.writeInt8(value_backgroundSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundSize_type)) { - const value_backgroundSize_value = value_backgroundSize! - let value_backgroundSize_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundSize_value_type = runtimeType(value_backgroundSize_value) - if (RuntimeType.STRING == value_backgroundSize_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundSize_value_0 = value_backgroundSize_value as string - valueSerializer.writeString(value_backgroundSize_value_0) - } - else if (RuntimeType.NUMBER == value_backgroundSize_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundSize_value_1 = value_backgroundSize_value as number - valueSerializer.writeNumber(value_backgroundSize_value_1) - } - else if (RuntimeType.OBJECT == value_backgroundSize_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundSize_value_2 = value_backgroundSize_value as Resource - valueSerializer.writeResource(value_backgroundSize_value_2) - } - } - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundColor_value_0 = value_backgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) - } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundColor_value_1 = value_backgroundColor_value as number - valueSerializer.writeNumber(value_backgroundColor_value_1) - } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundColor_value_2 = value_backgroundColor_value as string - valueSerializer.writeString(value_backgroundColor_value_2) - } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundColor_value_3 = value_backgroundColor_value as Resource - valueSerializer.writeResource(value_backgroundColor_value_3) - } - } - const value_arrowSize = value.arrowSize - let value_arrowSize_type : int32 = RuntimeType.UNDEFINED - value_arrowSize_type = runtimeType(value_arrowSize) - valueSerializer.writeInt8(value_arrowSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_arrowSize_type)) { - const value_arrowSize_value = value_arrowSize! - let value_arrowSize_value_type : int32 = RuntimeType.UNDEFINED - value_arrowSize_value_type = runtimeType(value_arrowSize_value) - if (RuntimeType.STRING == value_arrowSize_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_arrowSize_value_0 = value_arrowSize_value as string - valueSerializer.writeString(value_arrowSize_value_0) - } - else if (RuntimeType.NUMBER == value_arrowSize_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_arrowSize_value_1 = value_arrowSize_value as number - valueSerializer.writeNumber(value_arrowSize_value_1) - } - else if (RuntimeType.OBJECT == value_arrowSize_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_arrowSize_value_2 = value_arrowSize_value as Resource - valueSerializer.writeResource(value_arrowSize_value_2) - } - } - const value_arrowColor = value.arrowColor - let value_arrowColor_type : int32 = RuntimeType.UNDEFINED - value_arrowColor_type = runtimeType(value_arrowColor) - valueSerializer.writeInt8(value_arrowColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_arrowColor_type)) { - const value_arrowColor_value = value_arrowColor! - let value_arrowColor_value_type : int32 = RuntimeType.UNDEFINED - value_arrowColor_value_type = runtimeType(value_arrowColor_value) - if (TypeChecker.isColor(value_arrowColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_arrowColor_value_0 = value_arrowColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_arrowColor_value_0)) - } - else if (RuntimeType.NUMBER == value_arrowColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_arrowColor_value_1 = value_arrowColor_value as number - valueSerializer.writeNumber(value_arrowColor_value_1) - } - else if (RuntimeType.STRING == value_arrowColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_arrowColor_value_2 = value_arrowColor_value as string - valueSerializer.writeString(value_arrowColor_value_2) - } - else if (RuntimeType.OBJECT == value_arrowColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_arrowColor_value_3 = value_arrowColor_value as Resource - valueSerializer.writeResource(value_arrowColor_value_3) - } - } - } - writeBackgroundBlurStyleOptions(value: BackgroundBlurStyleOptions): void { - let valueSerializer : Serializer = this - const value_colorMode = value.colorMode - let value_colorMode_type : int32 = RuntimeType.UNDEFINED - value_colorMode_type = runtimeType(value_colorMode) - valueSerializer.writeInt8(value_colorMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { - const value_colorMode_value = (value_colorMode as ThemeColorMode) - valueSerializer.writeInt32(TypeChecker.ThemeColorMode_ToNumeric(value_colorMode_value)) - } - const value_adaptiveColor = value.adaptiveColor - let value_adaptiveColor_type : int32 = RuntimeType.UNDEFINED - value_adaptiveColor_type = runtimeType(value_adaptiveColor) - valueSerializer.writeInt8(value_adaptiveColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_adaptiveColor_type)) { - const value_adaptiveColor_value = (value_adaptiveColor as AdaptiveColor) - valueSerializer.writeInt32(TypeChecker.AdaptiveColor_ToNumeric(value_adaptiveColor_value)) + const value_adaptiveColor = value.adaptiveColor + let value_adaptiveColor_type : int32 = RuntimeType.UNDEFINED + value_adaptiveColor_type = runtimeType(value_adaptiveColor) + valueSerializer.writeInt8(value_adaptiveColor_type) + if ((RuntimeType.UNDEFINED) != (value_adaptiveColor_type)) { + const value_adaptiveColor_value = (value_adaptiveColor as AdaptiveColor) + valueSerializer.writeInt32(TypeChecker.AdaptiveColor_ToNumeric(value_adaptiveColor_value)) } const value_scale = value.scale let value_scale_type : int32 = RuntimeType.UNDEFINED value_scale_type = runtimeType(value_scale) - valueSerializer.writeInt8(value_scale_type as int32) + valueSerializer.writeInt8(value_scale_type) if ((RuntimeType.UNDEFINED) != (value_scale_type)) { const value_scale_value = value_scale! valueSerializer.writeNumber(value_scale_value) @@ -6800,7 +7368,7 @@ export class Serializer extends SerializerBase { const value_blurOptions = value.blurOptions let value_blurOptions_type : int32 = RuntimeType.UNDEFINED value_blurOptions_type = runtimeType(value_blurOptions) - valueSerializer.writeInt8(value_blurOptions_type as int32) + valueSerializer.writeInt8(value_blurOptions_type) if ((RuntimeType.UNDEFINED) != (value_blurOptions_type)) { const value_blurOptions_value = value_blurOptions! valueSerializer.writeBlurOptions(value_blurOptions_value) @@ -6808,7 +7376,7 @@ export class Serializer extends SerializerBase { const value_policy = value.policy let value_policy_type : int32 = RuntimeType.UNDEFINED value_policy_type = runtimeType(value_policy) - valueSerializer.writeInt8(value_policy_type as int32) + valueSerializer.writeInt8(value_policy_type) if ((RuntimeType.UNDEFINED) != (value_policy_type)) { const value_policy_value = (value_policy as BlurStyleActivePolicy) valueSerializer.writeInt32(TypeChecker.BlurStyleActivePolicy_ToNumeric(value_policy_value)) @@ -6816,41 +7384,41 @@ export class Serializer extends SerializerBase { const value_inactiveColor = value.inactiveColor let value_inactiveColor_type : int32 = RuntimeType.UNDEFINED value_inactiveColor_type = runtimeType(value_inactiveColor) - valueSerializer.writeInt8(value_inactiveColor_type as int32) + valueSerializer.writeInt8(value_inactiveColor_type) if ((RuntimeType.UNDEFINED) != (value_inactiveColor_type)) { const value_inactiveColor_value = value_inactiveColor! let value_inactiveColor_value_type : int32 = RuntimeType.UNDEFINED value_inactiveColor_value_type = runtimeType(value_inactiveColor_value) if (TypeChecker.isColor(value_inactiveColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_inactiveColor_value_0 = value_inactiveColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_inactiveColor_value_0)) } else if (RuntimeType.NUMBER == value_inactiveColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_inactiveColor_value_1 = value_inactiveColor_value as number valueSerializer.writeNumber(value_inactiveColor_value_1) } else if (RuntimeType.STRING == value_inactiveColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_inactiveColor_value_2 = value_inactiveColor_value as string valueSerializer.writeString(value_inactiveColor_value_2) } else if (RuntimeType.OBJECT == value_inactiveColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_inactiveColor_value_3 = value_inactiveColor_value as Resource valueSerializer.writeResource(value_inactiveColor_value_3) } } } - writeBackgroundEffectOptions(value: BackgroundEffectOptions): void { + public writeBackgroundEffectOptions(value: BackgroundEffectOptions): void { let valueSerializer : Serializer = this const value_radius = value.radius valueSerializer.writeNumber(value_radius) const value_saturation = value.saturation let value_saturation_type : int32 = RuntimeType.UNDEFINED value_saturation_type = runtimeType(value_saturation) - valueSerializer.writeInt8(value_saturation_type as int32) + valueSerializer.writeInt8(value_saturation_type) if ((RuntimeType.UNDEFINED) != (value_saturation_type)) { const value_saturation_value = value_saturation! valueSerializer.writeNumber(value_saturation_value) @@ -6858,7 +7426,7 @@ export class Serializer extends SerializerBase { const value_brightness = value.brightness let value_brightness_type : int32 = RuntimeType.UNDEFINED value_brightness_type = runtimeType(value_brightness) - valueSerializer.writeInt8(value_brightness_type as int32) + valueSerializer.writeInt8(value_brightness_type) if ((RuntimeType.UNDEFINED) != (value_brightness_type)) { const value_brightness_value = value_brightness! valueSerializer.writeNumber(value_brightness_value) @@ -6866,28 +7434,28 @@ export class Serializer extends SerializerBase { const value_color = value.color let value_color_type : int32 = RuntimeType.UNDEFINED value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) + valueSerializer.writeInt8(value_color_type) if ((RuntimeType.UNDEFINED) != (value_color_type)) { const value_color_value = value_color! let value_color_value_type : int32 = RuntimeType.UNDEFINED value_color_value_type = runtimeType(value_color_value) if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_color_value_0 = value_color_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_color_value_1 = value_color_value as number valueSerializer.writeNumber(value_color_value_1) } else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_color_value_2 = value_color_value as string valueSerializer.writeString(value_color_value_2) } else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_color_value_3 = value_color_value as Resource valueSerializer.writeResource(value_color_value_3) } @@ -6895,7 +7463,7 @@ export class Serializer extends SerializerBase { const value_adaptiveColor = value.adaptiveColor let value_adaptiveColor_type : int32 = RuntimeType.UNDEFINED value_adaptiveColor_type = runtimeType(value_adaptiveColor) - valueSerializer.writeInt8(value_adaptiveColor_type as int32) + valueSerializer.writeInt8(value_adaptiveColor_type) if ((RuntimeType.UNDEFINED) != (value_adaptiveColor_type)) { const value_adaptiveColor_value = (value_adaptiveColor as AdaptiveColor) valueSerializer.writeInt32(TypeChecker.AdaptiveColor_ToNumeric(value_adaptiveColor_value)) @@ -6903,7 +7471,7 @@ export class Serializer extends SerializerBase { const value_blurOptions = value.blurOptions let value_blurOptions_type : int32 = RuntimeType.UNDEFINED value_blurOptions_type = runtimeType(value_blurOptions) - valueSerializer.writeInt8(value_blurOptions_type as int32) + valueSerializer.writeInt8(value_blurOptions_type) if ((RuntimeType.UNDEFINED) != (value_blurOptions_type)) { const value_blurOptions_value = value_blurOptions! valueSerializer.writeBlurOptions(value_blurOptions_value) @@ -6911,7 +7479,7 @@ export class Serializer extends SerializerBase { const value_policy = value.policy let value_policy_type : int32 = RuntimeType.UNDEFINED value_policy_type = runtimeType(value_policy) - valueSerializer.writeInt8(value_policy_type as int32) + valueSerializer.writeInt8(value_policy_type) if ((RuntimeType.UNDEFINED) != (value_policy_type)) { const value_policy_value = (value_policy as BlurStyleActivePolicy) valueSerializer.writeInt32(TypeChecker.BlurStyleActivePolicy_ToNumeric(value_policy_value)) @@ -6919,5900 +7487,5316 @@ export class Serializer extends SerializerBase { const value_inactiveColor = value.inactiveColor let value_inactiveColor_type : int32 = RuntimeType.UNDEFINED value_inactiveColor_type = runtimeType(value_inactiveColor) - valueSerializer.writeInt8(value_inactiveColor_type as int32) + valueSerializer.writeInt8(value_inactiveColor_type) if ((RuntimeType.UNDEFINED) != (value_inactiveColor_type)) { const value_inactiveColor_value = value_inactiveColor! let value_inactiveColor_value_type : int32 = RuntimeType.UNDEFINED value_inactiveColor_value_type = runtimeType(value_inactiveColor_value) if (TypeChecker.isColor(value_inactiveColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_inactiveColor_value_0 = value_inactiveColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_inactiveColor_value_0)) } else if (RuntimeType.NUMBER == value_inactiveColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_inactiveColor_value_1 = value_inactiveColor_value as number valueSerializer.writeNumber(value_inactiveColor_value_1) } else if (RuntimeType.STRING == value_inactiveColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_inactiveColor_value_2 = value_inactiveColor_value as string valueSerializer.writeString(value_inactiveColor_value_2) } else if (RuntimeType.OBJECT == value_inactiveColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_inactiveColor_value_3 = value_inactiveColor_value as Resource valueSerializer.writeResource(value_inactiveColor_value_3) } } } - writeBadgeStyle(value: BadgeStyle): void { + public writeButtonIconOptions(value: ButtonIconOptions): void { + let valueSerializer : Serializer = this + const value_shown = value.shown + let value_shown_type : int32 = RuntimeType.UNDEFINED + value_shown_type = runtimeType(value_shown) + if (RuntimeType.STRING == value_shown_type) { + valueSerializer.writeInt8(0) + const value_shown_0 = value_shown as string + valueSerializer.writeString(value_shown_0) + } + else if (TypeChecker.isPixelMap(value_shown, false, false)) { + valueSerializer.writeInt8(1) + const value_shown_1 = value_shown as PixelMap + valueSerializer.writePixelMap(value_shown_1) + } + else if (TypeChecker.isResource(value_shown, false, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_shown_2 = value_shown as Resource + valueSerializer.writeResource(value_shown_2) + } + const value_hidden = value.hidden + let value_hidden_type : int32 = RuntimeType.UNDEFINED + value_hidden_type = runtimeType(value_hidden) + if (RuntimeType.STRING == value_hidden_type) { + valueSerializer.writeInt8(0) + const value_hidden_0 = value_hidden as string + valueSerializer.writeString(value_hidden_0) + } + else if (TypeChecker.isPixelMap(value_hidden, false, false)) { + valueSerializer.writeInt8(1) + const value_hidden_1 = value_hidden as PixelMap + valueSerializer.writePixelMap(value_hidden_1) + } + else if (TypeChecker.isResource(value_hidden, false, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_hidden_2 = value_hidden as Resource + valueSerializer.writeResource(value_hidden_2) + } + const value_switching = value.switching + let value_switching_type : int32 = RuntimeType.UNDEFINED + value_switching_type = runtimeType(value_switching) + valueSerializer.writeInt8(value_switching_type) + if ((RuntimeType.UNDEFINED) != (value_switching_type)) { + const value_switching_value = value_switching! + let value_switching_value_type : int32 = RuntimeType.UNDEFINED + value_switching_value_type = runtimeType(value_switching_value) + if (RuntimeType.STRING == value_switching_value_type) { + valueSerializer.writeInt8(0) + const value_switching_value_0 = value_switching_value as string + valueSerializer.writeString(value_switching_value_0) + } + else if (TypeChecker.isPixelMap(value_switching_value, false, false)) { + valueSerializer.writeInt8(1) + const value_switching_value_1 = value_switching_value as PixelMap + valueSerializer.writePixelMap(value_switching_value_1) + } + else if (TypeChecker.isResource(value_switching_value, false, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_switching_value_2 = value_switching_value as Resource + valueSerializer.writeResource(value_switching_value_2) + } + } + } + public writeCalendarOptions(value: CalendarOptions): void { + let valueSerializer : Serializer = this + const value_hintRadius = value.hintRadius + let value_hintRadius_type : int32 = RuntimeType.UNDEFINED + value_hintRadius_type = runtimeType(value_hintRadius) + valueSerializer.writeInt8(value_hintRadius_type) + if ((RuntimeType.UNDEFINED) != (value_hintRadius_type)) { + const value_hintRadius_value = value_hintRadius! + let value_hintRadius_value_type : int32 = RuntimeType.UNDEFINED + value_hintRadius_value_type = runtimeType(value_hintRadius_value) + if (RuntimeType.NUMBER == value_hintRadius_value_type) { + valueSerializer.writeInt8(0) + const value_hintRadius_value_0 = value_hintRadius_value as number + valueSerializer.writeNumber(value_hintRadius_value_0) + } + else if (RuntimeType.OBJECT == value_hintRadius_value_type) { + valueSerializer.writeInt8(1) + const value_hintRadius_value_1 = value_hintRadius_value as Resource + valueSerializer.writeResource(value_hintRadius_value_1) + } + } + const value_selected = value.selected + let value_selected_type : int32 = RuntimeType.UNDEFINED + value_selected_type = runtimeType(value_selected) + valueSerializer.writeInt8(value_selected_type) + if ((RuntimeType.UNDEFINED) != (value_selected_type)) { + const value_selected_value = value_selected! + valueSerializer.writeInt64((value_selected_value.getTime() as int64)) + } + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeInt64((value_start_value.getTime() as int64)) + } + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeInt64((value_end_value.getTime() as int64)) + } + const value_disabledDateRange = value.disabledDateRange + let value_disabledDateRange_type : int32 = RuntimeType.UNDEFINED + value_disabledDateRange_type = runtimeType(value_disabledDateRange) + valueSerializer.writeInt8(value_disabledDateRange_type) + if ((RuntimeType.UNDEFINED) != (value_disabledDateRange_type)) { + const value_disabledDateRange_value = value_disabledDateRange! + valueSerializer.writeInt32(value_disabledDateRange_value.length as int32) + for (let i = 0; i < value_disabledDateRange_value.length; i++) { + const value_disabledDateRange_value_element : DateRange = value_disabledDateRange_value[i] + valueSerializer.writeDateRange(value_disabledDateRange_value_element) + } + } + } + public writeCanvasRenderer(value: CanvasRenderer): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeCanvasRenderingContext2D(value: CanvasRenderingContext2D): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeCircleStyleOptions(value: CircleStyleOptions): void { let valueSerializer : Serializer = this const value_color = value.color let value_color_type : int32 = RuntimeType.UNDEFINED value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) + valueSerializer.writeInt8(value_color_type) if ((RuntimeType.UNDEFINED) != (value_color_type)) { const value_color_value = value_color! let value_color_value_type : int32 = RuntimeType.UNDEFINED value_color_value_type = runtimeType(value_color_value) if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_color_value_0 = value_color_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_color_value_1 = value_color_value as number valueSerializer.writeNumber(value_color_value_1) } else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_color_value_2 = value_color_value as string valueSerializer.writeString(value_color_value_2) } else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_color_value_3 = value_color_value as Resource valueSerializer.writeResource(value_color_value_3) } } - const value_fontSize = value.fontSize - let value_fontSize_type : int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - let value_fontSize_value_type : int32 = RuntimeType.UNDEFINED - value_fontSize_value_type = runtimeType(value_fontSize_value) - if (RuntimeType.NUMBER == value_fontSize_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_fontSize_value_0 = value_fontSize_value as number - valueSerializer.writeNumber(value_fontSize_value_0) - } - else if (RuntimeType.STRING == value_fontSize_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontSize_value_1 = value_fontSize_value as string - valueSerializer.writeString(value_fontSize_value_1) - } + const value_radius = value.radius + let value_radius_type : int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + valueSerializer.writeLengthMetrics(value_radius_value) } - const value_badgeSize = value.badgeSize - let value_badgeSize_type : int32 = RuntimeType.UNDEFINED - value_badgeSize_type = runtimeType(value_badgeSize) - valueSerializer.writeInt8(value_badgeSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_badgeSize_type)) { - const value_badgeSize_value = value_badgeSize! - let value_badgeSize_value_type : int32 = RuntimeType.UNDEFINED - value_badgeSize_value_type = runtimeType(value_badgeSize_value) - if (RuntimeType.NUMBER == value_badgeSize_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_badgeSize_value_0 = value_badgeSize_value as number - valueSerializer.writeNumber(value_badgeSize_value_0) - } - else if (RuntimeType.STRING == value_badgeSize_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_badgeSize_value_1 = value_badgeSize_value as string - valueSerializer.writeString(value_badgeSize_value_1) - } + const value_enableWaveEffect = value.enableWaveEffect + let value_enableWaveEffect_type : int32 = RuntimeType.UNDEFINED + value_enableWaveEffect_type = runtimeType(value_enableWaveEffect) + valueSerializer.writeInt8(value_enableWaveEffect_type) + if ((RuntimeType.UNDEFINED) != (value_enableWaveEffect_type)) { + const value_enableWaveEffect_value = value_enableWaveEffect! + valueSerializer.writeBoolean(value_enableWaveEffect_value) } - const value_badgeColor = value.badgeColor - let value_badgeColor_type : int32 = RuntimeType.UNDEFINED - value_badgeColor_type = runtimeType(value_badgeColor) - valueSerializer.writeInt8(value_badgeColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_badgeColor_type)) { - const value_badgeColor_value = value_badgeColor! - let value_badgeColor_value_type : int32 = RuntimeType.UNDEFINED - value_badgeColor_value_type = runtimeType(value_badgeColor_value) - if (TypeChecker.isColor(value_badgeColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_badgeColor_value_0 = value_badgeColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_badgeColor_value_0)) - } - else if (RuntimeType.NUMBER == value_badgeColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_badgeColor_value_1 = value_badgeColor_value as number - valueSerializer.writeNumber(value_badgeColor_value_1) - } - else if (RuntimeType.STRING == value_badgeColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_badgeColor_value_2 = value_badgeColor_value as string - valueSerializer.writeString(value_badgeColor_value_2) - } - else if (RuntimeType.OBJECT == value_badgeColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_badgeColor_value_3 = value_badgeColor_value as Resource - valueSerializer.writeResource(value_badgeColor_value_3) - } + const value_enableForeground = value.enableForeground + let value_enableForeground_type : int32 = RuntimeType.UNDEFINED + value_enableForeground_type = runtimeType(value_enableForeground) + valueSerializer.writeInt8(value_enableForeground_type) + if ((RuntimeType.UNDEFINED) != (value_enableForeground_type)) { + const value_enableForeground_value = value_enableForeground! + valueSerializer.writeBoolean(value_enableForeground_value) } - const value_borderColor = value.borderColor - let value_borderColor_type : int32 = RuntimeType.UNDEFINED - value_borderColor_type = runtimeType(value_borderColor) - valueSerializer.writeInt8(value_borderColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { - const value_borderColor_value = value_borderColor! - let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_type = runtimeType(value_borderColor_value) - if (TypeChecker.isColor(value_borderColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0 = value_borderColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0)) + } + public writeComponentInfo(value: ComponentInfo): void { + let valueSerializer : Serializer = this + const value_size = value.size + valueSerializer.writeSize(value_size) + const value_localOffset = value.localOffset + valueSerializer.writeOffset_componentutils(value_localOffset) + const value_windowOffset = value.windowOffset + valueSerializer.writeOffset_componentutils(value_windowOffset) + const value_screenOffset = value.screenOffset + valueSerializer.writeOffset_componentutils(value_screenOffset) + const value_translate = value.translate + valueSerializer.writeTranslateResult(value_translate) + const value_scale = value.scale + valueSerializer.writeScaleResult(value_scale) + const value_rotate = value.rotate + valueSerializer.writeRotateResult(value_rotate) + const value_transform = value.transform + const value_transform_0 = value_transform[0] + valueSerializer.writeNumber(value_transform_0) + const value_transform_1 = value_transform[1] + valueSerializer.writeNumber(value_transform_1) + const value_transform_2 = value_transform[2] + valueSerializer.writeNumber(value_transform_2) + const value_transform_3 = value_transform[3] + valueSerializer.writeNumber(value_transform_3) + const value_transform_4 = value_transform[4] + valueSerializer.writeNumber(value_transform_4) + const value_transform_5 = value_transform[5] + valueSerializer.writeNumber(value_transform_5) + const value_transform_6 = value_transform[6] + valueSerializer.writeNumber(value_transform_6) + const value_transform_7 = value_transform[7] + valueSerializer.writeNumber(value_transform_7) + const value_transform_8 = value_transform[8] + valueSerializer.writeNumber(value_transform_8) + const value_transform_9 = value_transform[9] + valueSerializer.writeNumber(value_transform_9) + const value_transform_10 = value_transform[10] + valueSerializer.writeNumber(value_transform_10) + const value_transform_11 = value_transform[11] + valueSerializer.writeNumber(value_transform_11) + const value_transform_12 = value_transform[12] + valueSerializer.writeNumber(value_transform_12) + const value_transform_13 = value_transform[13] + valueSerializer.writeNumber(value_transform_13) + const value_transform_14 = value_transform[14] + valueSerializer.writeNumber(value_transform_14) + const value_transform_15 = value_transform[15] + valueSerializer.writeNumber(value_transform_15) + } + public writeContentCoverOptions(value: ContentCoverOptions): void { + let valueSerializer : Serializer = this + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (TypeChecker.isColor(value_backgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = value_backgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) } - else if (RuntimeType.NUMBER == value_borderColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1 = value_borderColor_value as number - valueSerializer.writeNumber(value_borderColor_value_1) + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = value_backgroundColor_value as number + valueSerializer.writeNumber(value_backgroundColor_value_1) } - else if (RuntimeType.STRING == value_borderColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_2 = value_borderColor_value as string - valueSerializer.writeString(value_borderColor_value_2) + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = value_backgroundColor_value as string + valueSerializer.writeString(value_backgroundColor_value_2) } - else if (RuntimeType.OBJECT == value_borderColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_3 = value_borderColor_value as Resource - valueSerializer.writeResource(value_borderColor_value_3) + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = value_backgroundColor_value as Resource + valueSerializer.writeResource(value_backgroundColor_value_3) } } - const value_borderWidth = value.borderWidth - let value_borderWidth_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_type = runtimeType(value_borderWidth) - valueSerializer.writeInt8(value_borderWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { - const value_borderWidth_value = value_borderWidth! - let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_type = runtimeType(value_borderWidth_value) - if (RuntimeType.STRING == value_borderWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0 = value_borderWidth_value as string - valueSerializer.writeString(value_borderWidth_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1 = value_borderWidth_value as number - valueSerializer.writeNumber(value_borderWidth_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_2 = value_borderWidth_value as Resource - valueSerializer.writeResource(value_borderWidth_value_2) - } + const value_onAppear = value.onAppear + let value_onAppear_type : int32 = RuntimeType.UNDEFINED + value_onAppear_type = runtimeType(value_onAppear) + valueSerializer.writeInt8(value_onAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { + const value_onAppear_value = value_onAppear! + valueSerializer.holdAndWriteCallback(value_onAppear_value) } - const value_fontWeight = value.fontWeight - let value_fontWeight_type : int32 = RuntimeType.UNDEFINED - value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { - const value_fontWeight_value = value_fontWeight! - let value_fontWeight_value_type : int32 = RuntimeType.UNDEFINED - value_fontWeight_value_type = runtimeType(value_fontWeight_value) - if (RuntimeType.NUMBER == value_fontWeight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_fontWeight_value_0 = value_fontWeight_value as number - valueSerializer.writeNumber(value_fontWeight_value_0) - } - else if (TypeChecker.isFontWeight(value_fontWeight_value)) { - valueSerializer.writeInt8(1 as int32) - const value_fontWeight_value_1 = value_fontWeight_value as FontWeight - valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_fontWeight_value_1)) - } - else if (RuntimeType.STRING == value_fontWeight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontWeight_value_2 = value_fontWeight_value as string - valueSerializer.writeString(value_fontWeight_value_2) - } + const value_onDisappear = value.onDisappear + let value_onDisappear_type : int32 = RuntimeType.UNDEFINED + value_onDisappear_type = runtimeType(value_onDisappear) + valueSerializer.writeInt8(value_onDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { + const value_onDisappear_value = value_onDisappear! + valueSerializer.holdAndWriteCallback(value_onDisappear_value) + } + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) + } + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) + } + const value_modalTransition = value.modalTransition + let value_modalTransition_type : int32 = RuntimeType.UNDEFINED + value_modalTransition_type = runtimeType(value_modalTransition) + valueSerializer.writeInt8(value_modalTransition_type) + if ((RuntimeType.UNDEFINED) != (value_modalTransition_type)) { + const value_modalTransition_value = (value_modalTransition as ModalTransition) + valueSerializer.writeInt32(TypeChecker.ModalTransition_ToNumeric(value_modalTransition_value)) + } + const value_onWillDismiss = value.onWillDismiss + let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED + value_onWillDismiss_type = runtimeType(value_onWillDismiss) + valueSerializer.writeInt8(value_onWillDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { + const value_onWillDismiss_value = value_onWillDismiss! + valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) + } + const value_transition = value.transition + let value_transition_type : int32 = RuntimeType.UNDEFINED + value_transition_type = runtimeType(value_transition) + valueSerializer.writeInt8(value_transition_type) + if ((RuntimeType.UNDEFINED) != (value_transition_type)) { + const value_transition_value = value_transition! + valueSerializer.writeTransitionEffect(value_transition_value) } } - writeBarGridColumnOptions(value: BarGridColumnOptions): void { + public writeContextMenuAnimationOptions(value: ContextMenuAnimationOptions): void { let valueSerializer : Serializer = this - const value_sm = value.sm - let value_sm_type : int32 = RuntimeType.UNDEFINED - value_sm_type = runtimeType(value_sm) - valueSerializer.writeInt8(value_sm_type as int32) - if ((RuntimeType.UNDEFINED) != (value_sm_type)) { - const value_sm_value = value_sm! - valueSerializer.writeNumber(value_sm_value) + const value_scale = value.scale + let value_scale_type : int32 = RuntimeType.UNDEFINED + value_scale_type = runtimeType(value_scale) + valueSerializer.writeInt8(value_scale_type) + if ((RuntimeType.UNDEFINED) != (value_scale_type)) { + const value_scale_value = value_scale! + const value_scale_value_0 = value_scale_value[0] + valueSerializer.writeNumber(value_scale_value_0) + const value_scale_value_1 = value_scale_value[1] + valueSerializer.writeNumber(value_scale_value_1) } - const value_md = value.md - let value_md_type : int32 = RuntimeType.UNDEFINED - value_md_type = runtimeType(value_md) - valueSerializer.writeInt8(value_md_type as int32) - if ((RuntimeType.UNDEFINED) != (value_md_type)) { - const value_md_value = value_md! - valueSerializer.writeNumber(value_md_value) + const value_transition = value.transition + let value_transition_type : int32 = RuntimeType.UNDEFINED + value_transition_type = runtimeType(value_transition) + valueSerializer.writeInt8(value_transition_type) + if ((RuntimeType.UNDEFINED) != (value_transition_type)) { + const value_transition_value = value_transition! + valueSerializer.writeTransitionEffect(value_transition_value) } - const value_lg = value.lg - let value_lg_type : int32 = RuntimeType.UNDEFINED - value_lg_type = runtimeType(value_lg) - valueSerializer.writeInt8(value_lg_type as int32) - if ((RuntimeType.UNDEFINED) != (value_lg_type)) { - const value_lg_value = value_lg! - valueSerializer.writeNumber(value_lg_value) + const value_hoverScale = value.hoverScale + let value_hoverScale_type : int32 = RuntimeType.UNDEFINED + value_hoverScale_type = runtimeType(value_hoverScale) + valueSerializer.writeInt8(value_hoverScale_type) + if ((RuntimeType.UNDEFINED) != (value_hoverScale_type)) { + const value_hoverScale_value = value_hoverScale! + const value_hoverScale_value_0 = value_hoverScale_value[0] + valueSerializer.writeNumber(value_hoverScale_value_0) + const value_hoverScale_value_1 = value_hoverScale_value[1] + valueSerializer.writeNumber(value_hoverScale_value_1) } - const value_margin = value.margin - let value_margin_type : int32 = RuntimeType.UNDEFINED - value_margin_type = runtimeType(value_margin) - valueSerializer.writeInt8(value_margin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_type)) { - const value_margin_value = value_margin! - let value_margin_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_type = runtimeType(value_margin_value) - if (RuntimeType.STRING == value_margin_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_0 = value_margin_value as string - valueSerializer.writeString(value_margin_value_0) + } + public writeCurrentDayStyle(value: CurrentDayStyle): void { + let valueSerializer : Serializer = this + const value_dayColor = value.dayColor + let value_dayColor_type : int32 = RuntimeType.UNDEFINED + value_dayColor_type = runtimeType(value_dayColor) + valueSerializer.writeInt8(value_dayColor_type) + if ((RuntimeType.UNDEFINED) != (value_dayColor_type)) { + const value_dayColor_value = value_dayColor! + let value_dayColor_value_type : int32 = RuntimeType.UNDEFINED + value_dayColor_value_type = runtimeType(value_dayColor_value) + if (TypeChecker.isColor(value_dayColor_value)) { + valueSerializer.writeInt8(0) + const value_dayColor_value_0 = value_dayColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_dayColor_value_0)) } - else if (RuntimeType.NUMBER == value_margin_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1 = value_margin_value as number - valueSerializer.writeNumber(value_margin_value_1) + else if (RuntimeType.NUMBER == value_dayColor_value_type) { + valueSerializer.writeInt8(1) + const value_dayColor_value_1 = value_dayColor_value as number + valueSerializer.writeNumber(value_dayColor_value_1) } - else if (RuntimeType.OBJECT == value_margin_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_2 = value_margin_value as Resource - valueSerializer.writeResource(value_margin_value_2) + else if (RuntimeType.STRING == value_dayColor_value_type) { + valueSerializer.writeInt8(2) + const value_dayColor_value_2 = value_dayColor_value as string + valueSerializer.writeString(value_dayColor_value_2) } - } - const value_gutter = value.gutter - let value_gutter_type : int32 = RuntimeType.UNDEFINED - value_gutter_type = runtimeType(value_gutter) - valueSerializer.writeInt8(value_gutter_type as int32) - if ((RuntimeType.UNDEFINED) != (value_gutter_type)) { - const value_gutter_value = value_gutter! - let value_gutter_value_type : int32 = RuntimeType.UNDEFINED - value_gutter_value_type = runtimeType(value_gutter_value) - if (RuntimeType.STRING == value_gutter_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_gutter_value_0 = value_gutter_value as string - valueSerializer.writeString(value_gutter_value_0) - } - else if (RuntimeType.NUMBER == value_gutter_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_gutter_value_1 = value_gutter_value as number - valueSerializer.writeNumber(value_gutter_value_1) - } - else if (RuntimeType.OBJECT == value_gutter_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_gutter_value_2 = value_gutter_value as Resource - valueSerializer.writeResource(value_gutter_value_2) - } - } - } - writeBoardStyle(value: BoardStyle): void { - let valueSerializer : Serializer = this - const value_borderRadius = value.borderRadius - let value_borderRadius_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_type = runtimeType(value_borderRadius) - valueSerializer.writeInt8(value_borderRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { - const value_borderRadius_value = value_borderRadius! - let value_borderRadius_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_type = runtimeType(value_borderRadius_value) - if (RuntimeType.STRING == value_borderRadius_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_0 = value_borderRadius_value as string - valueSerializer.writeString(value_borderRadius_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1 = value_borderRadius_value as number - valueSerializer.writeNumber(value_borderRadius_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_2 = value_borderRadius_value as Resource - valueSerializer.writeResource(value_borderRadius_value_2) - } - } - } - writeButtonIconOptions(value: ButtonIconOptions): void { - let valueSerializer : Serializer = this - const value_shown = value.shown - let value_shown_type : int32 = RuntimeType.UNDEFINED - value_shown_type = runtimeType(value_shown) - if (RuntimeType.STRING == value_shown_type) { - valueSerializer.writeInt8(0 as int32) - const value_shown_0 = value_shown as string - valueSerializer.writeString(value_shown_0) - } - else if (TypeChecker.isPixelMap(value_shown, false, false)) { - valueSerializer.writeInt8(1 as int32) - const value_shown_1 = value_shown as PixelMap - valueSerializer.writePixelMap(value_shown_1) - } - else if (TypeChecker.isResource(value_shown, false, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_shown_2 = value_shown as Resource - valueSerializer.writeResource(value_shown_2) - } - const value_hidden = value.hidden - let value_hidden_type : int32 = RuntimeType.UNDEFINED - value_hidden_type = runtimeType(value_hidden) - if (RuntimeType.STRING == value_hidden_type) { - valueSerializer.writeInt8(0 as int32) - const value_hidden_0 = value_hidden as string - valueSerializer.writeString(value_hidden_0) - } - else if (TypeChecker.isPixelMap(value_hidden, false, false)) { - valueSerializer.writeInt8(1 as int32) - const value_hidden_1 = value_hidden as PixelMap - valueSerializer.writePixelMap(value_hidden_1) - } - else if (TypeChecker.isResource(value_hidden, false, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_hidden_2 = value_hidden as Resource - valueSerializer.writeResource(value_hidden_2) - } - const value_switching = value.switching - let value_switching_type : int32 = RuntimeType.UNDEFINED - value_switching_type = runtimeType(value_switching) - valueSerializer.writeInt8(value_switching_type as int32) - if ((RuntimeType.UNDEFINED) != (value_switching_type)) { - const value_switching_value = value_switching! - let value_switching_value_type : int32 = RuntimeType.UNDEFINED - value_switching_value_type = runtimeType(value_switching_value) - if (RuntimeType.STRING == value_switching_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_switching_value_0 = value_switching_value as string - valueSerializer.writeString(value_switching_value_0) - } - else if (TypeChecker.isPixelMap(value_switching_value, false, false)) { - valueSerializer.writeInt8(1 as int32) - const value_switching_value_1 = value_switching_value as PixelMap - valueSerializer.writePixelMap(value_switching_value_1) - } - else if (TypeChecker.isResource(value_switching_value, false, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_switching_value_2 = value_switching_value as Resource - valueSerializer.writeResource(value_switching_value_2) + else if (RuntimeType.OBJECT == value_dayColor_value_type) { + valueSerializer.writeInt8(3) + const value_dayColor_value_3 = value_dayColor_value as Resource + valueSerializer.writeResource(value_dayColor_value_3) } } - } - writeCalendarOptions(value: CalendarOptions): void { - let valueSerializer : Serializer = this - const value_hintRadius = value.hintRadius - let value_hintRadius_type : int32 = RuntimeType.UNDEFINED - value_hintRadius_type = runtimeType(value_hintRadius) - valueSerializer.writeInt8(value_hintRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_hintRadius_type)) { - const value_hintRadius_value = value_hintRadius! - let value_hintRadius_value_type : int32 = RuntimeType.UNDEFINED - value_hintRadius_value_type = runtimeType(value_hintRadius_value) - if (RuntimeType.NUMBER == value_hintRadius_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_hintRadius_value_0 = value_hintRadius_value as number - valueSerializer.writeNumber(value_hintRadius_value_0) - } - else if (RuntimeType.OBJECT == value_hintRadius_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_hintRadius_value_1 = value_hintRadius_value as Resource - valueSerializer.writeResource(value_hintRadius_value_1) + const value_lunarColor = value.lunarColor + let value_lunarColor_type : int32 = RuntimeType.UNDEFINED + value_lunarColor_type = runtimeType(value_lunarColor) + valueSerializer.writeInt8(value_lunarColor_type) + if ((RuntimeType.UNDEFINED) != (value_lunarColor_type)) { + const value_lunarColor_value = value_lunarColor! + let value_lunarColor_value_type : int32 = RuntimeType.UNDEFINED + value_lunarColor_value_type = runtimeType(value_lunarColor_value) + if (TypeChecker.isColor(value_lunarColor_value)) { + valueSerializer.writeInt8(0) + const value_lunarColor_value_0 = value_lunarColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_lunarColor_value_0)) } - } - const value_selected = value.selected - let value_selected_type : int32 = RuntimeType.UNDEFINED - value_selected_type = runtimeType(value_selected) - valueSerializer.writeInt8(value_selected_type as int32) - if ((RuntimeType.UNDEFINED) != (value_selected_type)) { - const value_selected_value = value_selected! - valueSerializer.writeInt64((value_selected_value.getTime() as int64)) - } - } - writeCaretStyle(value: CaretStyle): void { - let valueSerializer : Serializer = this - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as string - valueSerializer.writeString(value_width_value_0) + else if (RuntimeType.NUMBER == value_lunarColor_value_type) { + valueSerializer.writeInt8(1) + const value_lunarColor_value_1 = value_lunarColor_value as number + valueSerializer.writeNumber(value_lunarColor_value_1) } - else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as number - valueSerializer.writeNumber(value_width_value_1) + else if (RuntimeType.STRING == value_lunarColor_value_type) { + valueSerializer.writeInt8(2) + const value_lunarColor_value_2 = value_lunarColor_value as string + valueSerializer.writeString(value_lunarColor_value_2) } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as Resource - valueSerializer.writeResource(value_width_value_2) + else if (RuntimeType.OBJECT == value_lunarColor_value_type) { + valueSerializer.writeInt8(3) + const value_lunarColor_value_3 = value_lunarColor_value as Resource + valueSerializer.writeResource(value_lunarColor_value_3) } } - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0 = value_color_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) + const value_markLunarColor = value.markLunarColor + let value_markLunarColor_type : int32 = RuntimeType.UNDEFINED + value_markLunarColor_type = runtimeType(value_markLunarColor) + valueSerializer.writeInt8(value_markLunarColor_type) + if ((RuntimeType.UNDEFINED) != (value_markLunarColor_type)) { + const value_markLunarColor_value = value_markLunarColor! + let value_markLunarColor_value_type : int32 = RuntimeType.UNDEFINED + value_markLunarColor_value_type = runtimeType(value_markLunarColor_value) + if (TypeChecker.isColor(value_markLunarColor_value)) { + valueSerializer.writeInt8(0) + const value_markLunarColor_value_0 = value_markLunarColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_markLunarColor_value_0)) } - else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1 = value_color_value as number - valueSerializer.writeNumber(value_color_value_1) + else if (RuntimeType.NUMBER == value_markLunarColor_value_type) { + valueSerializer.writeInt8(1) + const value_markLunarColor_value_1 = value_markLunarColor_value as number + valueSerializer.writeNumber(value_markLunarColor_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_2 = value_color_value as string - valueSerializer.writeString(value_color_value_2) + else if (RuntimeType.STRING == value_markLunarColor_value_type) { + valueSerializer.writeInt8(2) + const value_markLunarColor_value_2 = value_markLunarColor_value as string + valueSerializer.writeString(value_markLunarColor_value_2) } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_3 = value_color_value as Resource - valueSerializer.writeResource(value_color_value_3) + else if (RuntimeType.OBJECT == value_markLunarColor_value_type) { + valueSerializer.writeInt8(3) + const value_markLunarColor_value_3 = value_markLunarColor_value as Resource + valueSerializer.writeResource(value_markLunarColor_value_3) } } - } - writeChainAnimationOptions(value: ChainAnimationOptions): void { - let valueSerializer : Serializer = this - const value_minSpace = value.minSpace - let value_minSpace_type : int32 = RuntimeType.UNDEFINED - value_minSpace_type = runtimeType(value_minSpace) - if (RuntimeType.STRING == value_minSpace_type) { - valueSerializer.writeInt8(0 as int32) - const value_minSpace_0 = value_minSpace as string - valueSerializer.writeString(value_minSpace_0) + const value_dayFontSize = value.dayFontSize + let value_dayFontSize_type : int32 = RuntimeType.UNDEFINED + value_dayFontSize_type = runtimeType(value_dayFontSize) + valueSerializer.writeInt8(value_dayFontSize_type) + if ((RuntimeType.UNDEFINED) != (value_dayFontSize_type)) { + const value_dayFontSize_value = value_dayFontSize! + valueSerializer.writeNumber(value_dayFontSize_value) } - else if (RuntimeType.NUMBER == value_minSpace_type) { - valueSerializer.writeInt8(1 as int32) - const value_minSpace_1 = value_minSpace as number - valueSerializer.writeNumber(value_minSpace_1) + const value_lunarDayFontSize = value.lunarDayFontSize + let value_lunarDayFontSize_type : int32 = RuntimeType.UNDEFINED + value_lunarDayFontSize_type = runtimeType(value_lunarDayFontSize) + valueSerializer.writeInt8(value_lunarDayFontSize_type) + if ((RuntimeType.UNDEFINED) != (value_lunarDayFontSize_type)) { + const value_lunarDayFontSize_value = value_lunarDayFontSize! + valueSerializer.writeNumber(value_lunarDayFontSize_value) } - else if (RuntimeType.OBJECT == value_minSpace_type) { - valueSerializer.writeInt8(2 as int32) - const value_minSpace_2 = value_minSpace as Resource - valueSerializer.writeResource(value_minSpace_2) + const value_dayHeight = value.dayHeight + let value_dayHeight_type : int32 = RuntimeType.UNDEFINED + value_dayHeight_type = runtimeType(value_dayHeight) + valueSerializer.writeInt8(value_dayHeight_type) + if ((RuntimeType.UNDEFINED) != (value_dayHeight_type)) { + const value_dayHeight_value = value_dayHeight! + valueSerializer.writeNumber(value_dayHeight_value) } - const value_maxSpace = value.maxSpace - let value_maxSpace_type : int32 = RuntimeType.UNDEFINED - value_maxSpace_type = runtimeType(value_maxSpace) - if (RuntimeType.STRING == value_maxSpace_type) { - valueSerializer.writeInt8(0 as int32) - const value_maxSpace_0 = value_maxSpace as string - valueSerializer.writeString(value_maxSpace_0) + const value_dayWidth = value.dayWidth + let value_dayWidth_type : int32 = RuntimeType.UNDEFINED + value_dayWidth_type = runtimeType(value_dayWidth) + valueSerializer.writeInt8(value_dayWidth_type) + if ((RuntimeType.UNDEFINED) != (value_dayWidth_type)) { + const value_dayWidth_value = value_dayWidth! + valueSerializer.writeNumber(value_dayWidth_value) } - else if (RuntimeType.NUMBER == value_maxSpace_type) { - valueSerializer.writeInt8(1 as int32) - const value_maxSpace_1 = value_maxSpace as number - valueSerializer.writeNumber(value_maxSpace_1) + const value_gregorianCalendarHeight = value.gregorianCalendarHeight + let value_gregorianCalendarHeight_type : int32 = RuntimeType.UNDEFINED + value_gregorianCalendarHeight_type = runtimeType(value_gregorianCalendarHeight) + valueSerializer.writeInt8(value_gregorianCalendarHeight_type) + if ((RuntimeType.UNDEFINED) != (value_gregorianCalendarHeight_type)) { + const value_gregorianCalendarHeight_value = value_gregorianCalendarHeight! + valueSerializer.writeNumber(value_gregorianCalendarHeight_value) } - else if (RuntimeType.OBJECT == value_maxSpace_type) { - valueSerializer.writeInt8(2 as int32) - const value_maxSpace_2 = value_maxSpace as Resource - valueSerializer.writeResource(value_maxSpace_2) + const value_dayYAxisOffset = value.dayYAxisOffset + let value_dayYAxisOffset_type : int32 = RuntimeType.UNDEFINED + value_dayYAxisOffset_type = runtimeType(value_dayYAxisOffset) + valueSerializer.writeInt8(value_dayYAxisOffset_type) + if ((RuntimeType.UNDEFINED) != (value_dayYAxisOffset_type)) { + const value_dayYAxisOffset_value = value_dayYAxisOffset! + valueSerializer.writeNumber(value_dayYAxisOffset_value) } - const value_conductivity = value.conductivity - let value_conductivity_type : int32 = RuntimeType.UNDEFINED - value_conductivity_type = runtimeType(value_conductivity) - valueSerializer.writeInt8(value_conductivity_type as int32) - if ((RuntimeType.UNDEFINED) != (value_conductivity_type)) { - const value_conductivity_value = value_conductivity! - valueSerializer.writeNumber(value_conductivity_value) + const value_lunarDayYAxisOffset = value.lunarDayYAxisOffset + let value_lunarDayYAxisOffset_type : int32 = RuntimeType.UNDEFINED + value_lunarDayYAxisOffset_type = runtimeType(value_lunarDayYAxisOffset) + valueSerializer.writeInt8(value_lunarDayYAxisOffset_type) + if ((RuntimeType.UNDEFINED) != (value_lunarDayYAxisOffset_type)) { + const value_lunarDayYAxisOffset_value = value_lunarDayYAxisOffset! + valueSerializer.writeNumber(value_lunarDayYAxisOffset_value) } - const value_intensity = value.intensity - let value_intensity_type : int32 = RuntimeType.UNDEFINED - value_intensity_type = runtimeType(value_intensity) - valueSerializer.writeInt8(value_intensity_type as int32) - if ((RuntimeType.UNDEFINED) != (value_intensity_type)) { - const value_intensity_value = value_intensity! - valueSerializer.writeNumber(value_intensity_value) - } - const value_edgeEffect = value.edgeEffect - let value_edgeEffect_type : int32 = RuntimeType.UNDEFINED - value_edgeEffect_type = runtimeType(value_edgeEffect) - valueSerializer.writeInt8(value_edgeEffect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_edgeEffect_type)) { - const value_edgeEffect_value = (value_edgeEffect as ChainEdgeEffect) - valueSerializer.writeInt32(TypeChecker.ChainEdgeEffect_ToNumeric(value_edgeEffect_value)) + const value_underscoreXAxisOffset = value.underscoreXAxisOffset + let value_underscoreXAxisOffset_type : int32 = RuntimeType.UNDEFINED + value_underscoreXAxisOffset_type = runtimeType(value_underscoreXAxisOffset) + valueSerializer.writeInt8(value_underscoreXAxisOffset_type) + if ((RuntimeType.UNDEFINED) != (value_underscoreXAxisOffset_type)) { + const value_underscoreXAxisOffset_value = value_underscoreXAxisOffset! + valueSerializer.writeNumber(value_underscoreXAxisOffset_value) } - const value_stiffness = value.stiffness - let value_stiffness_type : int32 = RuntimeType.UNDEFINED - value_stiffness_type = runtimeType(value_stiffness) - valueSerializer.writeInt8(value_stiffness_type as int32) - if ((RuntimeType.UNDEFINED) != (value_stiffness_type)) { - const value_stiffness_value = value_stiffness! - valueSerializer.writeNumber(value_stiffness_value) + const value_underscoreYAxisOffset = value.underscoreYAxisOffset + let value_underscoreYAxisOffset_type : int32 = RuntimeType.UNDEFINED + value_underscoreYAxisOffset_type = runtimeType(value_underscoreYAxisOffset) + valueSerializer.writeInt8(value_underscoreYAxisOffset_type) + if ((RuntimeType.UNDEFINED) != (value_underscoreYAxisOffset_type)) { + const value_underscoreYAxisOffset_value = value_underscoreYAxisOffset! + valueSerializer.writeNumber(value_underscoreYAxisOffset_value) } - const value_damping = value.damping - let value_damping_type : int32 = RuntimeType.UNDEFINED - value_damping_type = runtimeType(value_damping) - valueSerializer.writeInt8(value_damping_type as int32) - if ((RuntimeType.UNDEFINED) != (value_damping_type)) { - const value_damping_value = value_damping! - valueSerializer.writeNumber(value_damping_value) + const value_scheduleMarkerXAxisOffset = value.scheduleMarkerXAxisOffset + let value_scheduleMarkerXAxisOffset_type : int32 = RuntimeType.UNDEFINED + value_scheduleMarkerXAxisOffset_type = runtimeType(value_scheduleMarkerXAxisOffset) + valueSerializer.writeInt8(value_scheduleMarkerXAxisOffset_type) + if ((RuntimeType.UNDEFINED) != (value_scheduleMarkerXAxisOffset_type)) { + const value_scheduleMarkerXAxisOffset_value = value_scheduleMarkerXAxisOffset! + valueSerializer.writeNumber(value_scheduleMarkerXAxisOffset_value) } - } - writeCircleStyleOptions(value: CircleStyleOptions): void { - let valueSerializer : Serializer = this - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0 = value_color_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1 = value_color_value as number - valueSerializer.writeNumber(value_color_value_1) - } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_2 = value_color_value as string - valueSerializer.writeString(value_color_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_3 = value_color_value as Resource - valueSerializer.writeResource(value_color_value_3) - } + const value_scheduleMarkerYAxisOffset = value.scheduleMarkerYAxisOffset + let value_scheduleMarkerYAxisOffset_type : int32 = RuntimeType.UNDEFINED + value_scheduleMarkerYAxisOffset_type = runtimeType(value_scheduleMarkerYAxisOffset) + valueSerializer.writeInt8(value_scheduleMarkerYAxisOffset_type) + if ((RuntimeType.UNDEFINED) != (value_scheduleMarkerYAxisOffset_type)) { + const value_scheduleMarkerYAxisOffset_value = value_scheduleMarkerYAxisOffset! + valueSerializer.writeNumber(value_scheduleMarkerYAxisOffset_value) } - const value_radius = value.radius - let value_radius_type : int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_type)) { - const value_radius_value = value_radius! - valueSerializer.writeLengthMetrics(value_radius_value) + const value_colSpace = value.colSpace + let value_colSpace_type : int32 = RuntimeType.UNDEFINED + value_colSpace_type = runtimeType(value_colSpace) + valueSerializer.writeInt8(value_colSpace_type) + if ((RuntimeType.UNDEFINED) != (value_colSpace_type)) { + const value_colSpace_value = value_colSpace! + valueSerializer.writeNumber(value_colSpace_value) } - const value_enableWaveEffect = value.enableWaveEffect - let value_enableWaveEffect_type : int32 = RuntimeType.UNDEFINED - value_enableWaveEffect_type = runtimeType(value_enableWaveEffect) - valueSerializer.writeInt8(value_enableWaveEffect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableWaveEffect_type)) { - const value_enableWaveEffect_value = value_enableWaveEffect! - valueSerializer.writeBoolean(value_enableWaveEffect_value) + const value_dailyFiveRowSpace = value.dailyFiveRowSpace + let value_dailyFiveRowSpace_type : int32 = RuntimeType.UNDEFINED + value_dailyFiveRowSpace_type = runtimeType(value_dailyFiveRowSpace) + valueSerializer.writeInt8(value_dailyFiveRowSpace_type) + if ((RuntimeType.UNDEFINED) != (value_dailyFiveRowSpace_type)) { + const value_dailyFiveRowSpace_value = value_dailyFiveRowSpace! + valueSerializer.writeNumber(value_dailyFiveRowSpace_value) } - } - writeColorStop(value: ColorStop): void { - let valueSerializer : Serializer = this - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - if (TypeChecker.isColor(value_color)) { - valueSerializer.writeInt8(0 as int32) - const value_color_0 = value_color as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_0)) + const value_dailySixRowSpace = value.dailySixRowSpace + let value_dailySixRowSpace_type : int32 = RuntimeType.UNDEFINED + value_dailySixRowSpace_type = runtimeType(value_dailySixRowSpace) + valueSerializer.writeInt8(value_dailySixRowSpace_type) + if ((RuntimeType.UNDEFINED) != (value_dailySixRowSpace_type)) { + const value_dailySixRowSpace_value = value_dailySixRowSpace! + valueSerializer.writeNumber(value_dailySixRowSpace_value) } - else if (RuntimeType.NUMBER == value_color_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_1 = value_color as number - valueSerializer.writeNumber(value_color_1) + const value_lunarHeight = value.lunarHeight + let value_lunarHeight_type : int32 = RuntimeType.UNDEFINED + value_lunarHeight_type = runtimeType(value_lunarHeight) + valueSerializer.writeInt8(value_lunarHeight_type) + if ((RuntimeType.UNDEFINED) != (value_lunarHeight_type)) { + const value_lunarHeight_value = value_lunarHeight! + valueSerializer.writeNumber(value_lunarHeight_value) } - else if (RuntimeType.STRING == value_color_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_2 = value_color as string - valueSerializer.writeString(value_color_2) + const value_underscoreWidth = value.underscoreWidth + let value_underscoreWidth_type : int32 = RuntimeType.UNDEFINED + value_underscoreWidth_type = runtimeType(value_underscoreWidth) + valueSerializer.writeInt8(value_underscoreWidth_type) + if ((RuntimeType.UNDEFINED) != (value_underscoreWidth_type)) { + const value_underscoreWidth_value = value_underscoreWidth! + valueSerializer.writeNumber(value_underscoreWidth_value) } - else if (RuntimeType.OBJECT == value_color_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_3 = value_color as Resource - valueSerializer.writeResource(value_color_3) + const value_underscoreLength = value.underscoreLength + let value_underscoreLength_type : int32 = RuntimeType.UNDEFINED + value_underscoreLength_type = runtimeType(value_underscoreLength) + valueSerializer.writeInt8(value_underscoreLength_type) + if ((RuntimeType.UNDEFINED) != (value_underscoreLength_type)) { + const value_underscoreLength_value = value_underscoreLength! + valueSerializer.writeNumber(value_underscoreLength_value) } - const value_offset = value.offset - let value_offset_type : int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - if (RuntimeType.STRING == value_offset_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_0 = value_offset as string - valueSerializer.writeString(value_offset_0) + const value_scheduleMarkerRadius = value.scheduleMarkerRadius + let value_scheduleMarkerRadius_type : int32 = RuntimeType.UNDEFINED + value_scheduleMarkerRadius_type = runtimeType(value_scheduleMarkerRadius) + valueSerializer.writeInt8(value_scheduleMarkerRadius_type) + if ((RuntimeType.UNDEFINED) != (value_scheduleMarkerRadius_type)) { + const value_scheduleMarkerRadius_value = value_scheduleMarkerRadius! + valueSerializer.writeNumber(value_scheduleMarkerRadius_value) } - else if (RuntimeType.NUMBER == value_offset_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_1 = value_offset as number - valueSerializer.writeNumber(value_offset_1) + const value_boundaryRowOffset = value.boundaryRowOffset + let value_boundaryRowOffset_type : int32 = RuntimeType.UNDEFINED + value_boundaryRowOffset_type = runtimeType(value_boundaryRowOffset) + valueSerializer.writeInt8(value_boundaryRowOffset_type) + if ((RuntimeType.UNDEFINED) != (value_boundaryRowOffset_type)) { + const value_boundaryRowOffset_value = value_boundaryRowOffset! + valueSerializer.writeNumber(value_boundaryRowOffset_value) } - else if (RuntimeType.OBJECT == value_offset_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_2 = value_offset as Resource - valueSerializer.writeResource(value_offset_2) + const value_boundaryColOffset = value.boundaryColOffset + let value_boundaryColOffset_type : int32 = RuntimeType.UNDEFINED + value_boundaryColOffset_type = runtimeType(value_boundaryColOffset) + valueSerializer.writeInt8(value_boundaryColOffset_type) + if ((RuntimeType.UNDEFINED) != (value_boundaryColOffset_type)) { + const value_boundaryColOffset_value = value_boundaryColOffset! + valueSerializer.writeNumber(value_boundaryColOffset_value) } } - writeColumnSplitDividerStyle(value: ColumnSplitDividerStyle): void { + public writeCustomColors(value: CustomColors): void { let valueSerializer : Serializer = this - const value_startMargin = value.startMargin - let value_startMargin_type : int32 = RuntimeType.UNDEFINED - value_startMargin_type = runtimeType(value_startMargin) - valueSerializer.writeInt8(value_startMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { - const value_startMargin_value = value_startMargin! - let value_startMargin_value_type : int32 = RuntimeType.UNDEFINED - value_startMargin_value_type = runtimeType(value_startMargin_value) - if (RuntimeType.STRING == value_startMargin_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_startMargin_value_0 = value_startMargin_value as string - valueSerializer.writeString(value_startMargin_value_0) + const value_brand = value.brand + let value_brand_type : int32 = RuntimeType.UNDEFINED + value_brand_type = runtimeType(value_brand) + valueSerializer.writeInt8(value_brand_type) + if ((RuntimeType.UNDEFINED) != (value_brand_type)) { + const value_brand_value = value_brand! + let value_brand_value_type : int32 = RuntimeType.UNDEFINED + value_brand_value_type = runtimeType(value_brand_value) + if (TypeChecker.isColor(value_brand_value)) { + valueSerializer.writeInt8(0) + const value_brand_value_0 = value_brand_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_brand_value_0)) } - else if (RuntimeType.NUMBER == value_startMargin_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_startMargin_value_1 = value_startMargin_value as number - valueSerializer.writeNumber(value_startMargin_value_1) + else if (RuntimeType.NUMBER == value_brand_value_type) { + valueSerializer.writeInt8(1) + const value_brand_value_1 = value_brand_value as number + valueSerializer.writeNumber(value_brand_value_1) } - else if (RuntimeType.OBJECT == value_startMargin_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_startMargin_value_2 = value_startMargin_value as Resource - valueSerializer.writeResource(value_startMargin_value_2) + else if (RuntimeType.STRING == value_brand_value_type) { + valueSerializer.writeInt8(2) + const value_brand_value_2 = value_brand_value as string + valueSerializer.writeString(value_brand_value_2) + } + else if (RuntimeType.OBJECT == value_brand_value_type) { + valueSerializer.writeInt8(3) + const value_brand_value_3 = value_brand_value as Resource + valueSerializer.writeResource(value_brand_value_3) } } - const value_endMargin = value.endMargin - let value_endMargin_type : int32 = RuntimeType.UNDEFINED - value_endMargin_type = runtimeType(value_endMargin) - valueSerializer.writeInt8(value_endMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { - const value_endMargin_value = value_endMargin! - let value_endMargin_value_type : int32 = RuntimeType.UNDEFINED - value_endMargin_value_type = runtimeType(value_endMargin_value) - if (RuntimeType.STRING == value_endMargin_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_endMargin_value_0 = value_endMargin_value as string - valueSerializer.writeString(value_endMargin_value_0) + const value_warning = value.warning + let value_warning_type : int32 = RuntimeType.UNDEFINED + value_warning_type = runtimeType(value_warning) + valueSerializer.writeInt8(value_warning_type) + if ((RuntimeType.UNDEFINED) != (value_warning_type)) { + const value_warning_value = value_warning! + let value_warning_value_type : int32 = RuntimeType.UNDEFINED + value_warning_value_type = runtimeType(value_warning_value) + if (TypeChecker.isColor(value_warning_value)) { + valueSerializer.writeInt8(0) + const value_warning_value_0 = value_warning_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_warning_value_0)) } - else if (RuntimeType.NUMBER == value_endMargin_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_endMargin_value_1 = value_endMargin_value as number - valueSerializer.writeNumber(value_endMargin_value_1) + else if (RuntimeType.NUMBER == value_warning_value_type) { + valueSerializer.writeInt8(1) + const value_warning_value_1 = value_warning_value as number + valueSerializer.writeNumber(value_warning_value_1) } - else if (RuntimeType.OBJECT == value_endMargin_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_endMargin_value_2 = value_endMargin_value as Resource - valueSerializer.writeResource(value_endMargin_value_2) + else if (RuntimeType.STRING == value_warning_value_type) { + valueSerializer.writeInt8(2) + const value_warning_value_2 = value_warning_value as string + valueSerializer.writeString(value_warning_value_2) + } + else if (RuntimeType.OBJECT == value_warning_value_type) { + valueSerializer.writeInt8(3) + const value_warning_value_3 = value_warning_value as Resource + valueSerializer.writeResource(value_warning_value_3) } } - } - writeComponentInfo(value: ComponentInfo): void { - let valueSerializer : Serializer = this - const value_size = value.size - valueSerializer.writeSize(value_size) - const value_localOffset = value.localOffset - valueSerializer.writeOffset_componentutils(value_localOffset) - const value_windowOffset = value.windowOffset - valueSerializer.writeOffset_componentutils(value_windowOffset) - const value_screenOffset = value.screenOffset - valueSerializer.writeOffset_componentutils(value_screenOffset) - const value_translate = value.translate - valueSerializer.writeTranslateResult(value_translate) - const value_scale = value.scale - valueSerializer.writeScaleResult(value_scale) - const value_rotate = value.rotate - valueSerializer.writeRotateResult(value_rotate) - const value_transform = value.transform - const value_transform_0 = value_transform[0] - valueSerializer.writeNumber(value_transform_0) - const value_transform_1 = value_transform[1] - valueSerializer.writeNumber(value_transform_1) - const value_transform_2 = value_transform[2] - valueSerializer.writeNumber(value_transform_2) - const value_transform_3 = value_transform[3] - valueSerializer.writeNumber(value_transform_3) - const value_transform_4 = value_transform[4] - valueSerializer.writeNumber(value_transform_4) - const value_transform_5 = value_transform[5] - valueSerializer.writeNumber(value_transform_5) - const value_transform_6 = value_transform[6] - valueSerializer.writeNumber(value_transform_6) - const value_transform_7 = value_transform[7] - valueSerializer.writeNumber(value_transform_7) - const value_transform_8 = value_transform[8] - valueSerializer.writeNumber(value_transform_8) - const value_transform_9 = value_transform[9] - valueSerializer.writeNumber(value_transform_9) - const value_transform_10 = value_transform[10] - valueSerializer.writeNumber(value_transform_10) - const value_transform_11 = value_transform[11] - valueSerializer.writeNumber(value_transform_11) - const value_transform_12 = value_transform[12] - valueSerializer.writeNumber(value_transform_12) - const value_transform_13 = value_transform[13] - valueSerializer.writeNumber(value_transform_13) - const value_transform_14 = value_transform[14] - valueSerializer.writeNumber(value_transform_14) - const value_transform_15 = value_transform[15] - valueSerializer.writeNumber(value_transform_15) - } - writeConstraintSizeOptions(value: ConstraintSizeOptions): void { - let valueSerializer : Serializer = this - const value_minWidth = value.minWidth - let value_minWidth_type : int32 = RuntimeType.UNDEFINED - value_minWidth_type = runtimeType(value_minWidth) - valueSerializer.writeInt8(value_minWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_minWidth_type)) { - const value_minWidth_value = value_minWidth! - let value_minWidth_value_type : int32 = RuntimeType.UNDEFINED - value_minWidth_value_type = runtimeType(value_minWidth_value) - if (RuntimeType.STRING == value_minWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_minWidth_value_0 = value_minWidth_value as string - valueSerializer.writeString(value_minWidth_value_0) + const value_alert = value.alert + let value_alert_type : int32 = RuntimeType.UNDEFINED + value_alert_type = runtimeType(value_alert) + valueSerializer.writeInt8(value_alert_type) + if ((RuntimeType.UNDEFINED) != (value_alert_type)) { + const value_alert_value = value_alert! + let value_alert_value_type : int32 = RuntimeType.UNDEFINED + value_alert_value_type = runtimeType(value_alert_value) + if (TypeChecker.isColor(value_alert_value)) { + valueSerializer.writeInt8(0) + const value_alert_value_0 = value_alert_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_alert_value_0)) } - else if (RuntimeType.NUMBER == value_minWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_minWidth_value_1 = value_minWidth_value as number - valueSerializer.writeNumber(value_minWidth_value_1) + else if (RuntimeType.NUMBER == value_alert_value_type) { + valueSerializer.writeInt8(1) + const value_alert_value_1 = value_alert_value as number + valueSerializer.writeNumber(value_alert_value_1) } - else if (RuntimeType.OBJECT == value_minWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_minWidth_value_2 = value_minWidth_value as Resource - valueSerializer.writeResource(value_minWidth_value_2) + else if (RuntimeType.STRING == value_alert_value_type) { + valueSerializer.writeInt8(2) + const value_alert_value_2 = value_alert_value as string + valueSerializer.writeString(value_alert_value_2) + } + else if (RuntimeType.OBJECT == value_alert_value_type) { + valueSerializer.writeInt8(3) + const value_alert_value_3 = value_alert_value as Resource + valueSerializer.writeResource(value_alert_value_3) } } - const value_maxWidth = value.maxWidth - let value_maxWidth_type : int32 = RuntimeType.UNDEFINED - value_maxWidth_type = runtimeType(value_maxWidth) - valueSerializer.writeInt8(value_maxWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maxWidth_type)) { - const value_maxWidth_value = value_maxWidth! - let value_maxWidth_value_type : int32 = RuntimeType.UNDEFINED - value_maxWidth_value_type = runtimeType(value_maxWidth_value) - if (RuntimeType.STRING == value_maxWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_maxWidth_value_0 = value_maxWidth_value as string - valueSerializer.writeString(value_maxWidth_value_0) + const value_confirm = value.confirm + let value_confirm_type : int32 = RuntimeType.UNDEFINED + value_confirm_type = runtimeType(value_confirm) + valueSerializer.writeInt8(value_confirm_type) + if ((RuntimeType.UNDEFINED) != (value_confirm_type)) { + const value_confirm_value = value_confirm! + let value_confirm_value_type : int32 = RuntimeType.UNDEFINED + value_confirm_value_type = runtimeType(value_confirm_value) + if (TypeChecker.isColor(value_confirm_value)) { + valueSerializer.writeInt8(0) + const value_confirm_value_0 = value_confirm_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_confirm_value_0)) } - else if (RuntimeType.NUMBER == value_maxWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_maxWidth_value_1 = value_maxWidth_value as number - valueSerializer.writeNumber(value_maxWidth_value_1) + else if (RuntimeType.NUMBER == value_confirm_value_type) { + valueSerializer.writeInt8(1) + const value_confirm_value_1 = value_confirm_value as number + valueSerializer.writeNumber(value_confirm_value_1) } - else if (RuntimeType.OBJECT == value_maxWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_maxWidth_value_2 = value_maxWidth_value as Resource - valueSerializer.writeResource(value_maxWidth_value_2) + else if (RuntimeType.STRING == value_confirm_value_type) { + valueSerializer.writeInt8(2) + const value_confirm_value_2 = value_confirm_value as string + valueSerializer.writeString(value_confirm_value_2) + } + else if (RuntimeType.OBJECT == value_confirm_value_type) { + valueSerializer.writeInt8(3) + const value_confirm_value_3 = value_confirm_value as Resource + valueSerializer.writeResource(value_confirm_value_3) } } - const value_minHeight = value.minHeight - let value_minHeight_type : int32 = RuntimeType.UNDEFINED - value_minHeight_type = runtimeType(value_minHeight) - valueSerializer.writeInt8(value_minHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_minHeight_type)) { - const value_minHeight_value = value_minHeight! - let value_minHeight_value_type : int32 = RuntimeType.UNDEFINED - value_minHeight_value_type = runtimeType(value_minHeight_value) - if (RuntimeType.STRING == value_minHeight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_minHeight_value_0 = value_minHeight_value as string - valueSerializer.writeString(value_minHeight_value_0) + const value_fontPrimary = value.fontPrimary + let value_fontPrimary_type : int32 = RuntimeType.UNDEFINED + value_fontPrimary_type = runtimeType(value_fontPrimary) + valueSerializer.writeInt8(value_fontPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_fontPrimary_type)) { + const value_fontPrimary_value = value_fontPrimary! + let value_fontPrimary_value_type : int32 = RuntimeType.UNDEFINED + value_fontPrimary_value_type = runtimeType(value_fontPrimary_value) + if (TypeChecker.isColor(value_fontPrimary_value)) { + valueSerializer.writeInt8(0) + const value_fontPrimary_value_0 = value_fontPrimary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontPrimary_value_0)) } - else if (RuntimeType.NUMBER == value_minHeight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_minHeight_value_1 = value_minHeight_value as number - valueSerializer.writeNumber(value_minHeight_value_1) + else if (RuntimeType.NUMBER == value_fontPrimary_value_type) { + valueSerializer.writeInt8(1) + const value_fontPrimary_value_1 = value_fontPrimary_value as number + valueSerializer.writeNumber(value_fontPrimary_value_1) } - else if (RuntimeType.OBJECT == value_minHeight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_minHeight_value_2 = value_minHeight_value as Resource - valueSerializer.writeResource(value_minHeight_value_2) + else if (RuntimeType.STRING == value_fontPrimary_value_type) { + valueSerializer.writeInt8(2) + const value_fontPrimary_value_2 = value_fontPrimary_value as string + valueSerializer.writeString(value_fontPrimary_value_2) + } + else if (RuntimeType.OBJECT == value_fontPrimary_value_type) { + valueSerializer.writeInt8(3) + const value_fontPrimary_value_3 = value_fontPrimary_value as Resource + valueSerializer.writeResource(value_fontPrimary_value_3) } } - const value_maxHeight = value.maxHeight - let value_maxHeight_type : int32 = RuntimeType.UNDEFINED - value_maxHeight_type = runtimeType(value_maxHeight) - valueSerializer.writeInt8(value_maxHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maxHeight_type)) { - const value_maxHeight_value = value_maxHeight! - let value_maxHeight_value_type : int32 = RuntimeType.UNDEFINED - value_maxHeight_value_type = runtimeType(value_maxHeight_value) - if (RuntimeType.STRING == value_maxHeight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_maxHeight_value_0 = value_maxHeight_value as string - valueSerializer.writeString(value_maxHeight_value_0) + const value_fontSecondary = value.fontSecondary + let value_fontSecondary_type : int32 = RuntimeType.UNDEFINED + value_fontSecondary_type = runtimeType(value_fontSecondary) + valueSerializer.writeInt8(value_fontSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_fontSecondary_type)) { + const value_fontSecondary_value = value_fontSecondary! + let value_fontSecondary_value_type : int32 = RuntimeType.UNDEFINED + value_fontSecondary_value_type = runtimeType(value_fontSecondary_value) + if (TypeChecker.isColor(value_fontSecondary_value)) { + valueSerializer.writeInt8(0) + const value_fontSecondary_value_0 = value_fontSecondary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontSecondary_value_0)) } - else if (RuntimeType.NUMBER == value_maxHeight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_maxHeight_value_1 = value_maxHeight_value as number - valueSerializer.writeNumber(value_maxHeight_value_1) + else if (RuntimeType.NUMBER == value_fontSecondary_value_type) { + valueSerializer.writeInt8(1) + const value_fontSecondary_value_1 = value_fontSecondary_value as number + valueSerializer.writeNumber(value_fontSecondary_value_1) } - else if (RuntimeType.OBJECT == value_maxHeight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_maxHeight_value_2 = value_maxHeight_value as Resource - valueSerializer.writeResource(value_maxHeight_value_2) + else if (RuntimeType.STRING == value_fontSecondary_value_type) { + valueSerializer.writeInt8(2) + const value_fontSecondary_value_2 = value_fontSecondary_value as string + valueSerializer.writeString(value_fontSecondary_value_2) + } + else if (RuntimeType.OBJECT == value_fontSecondary_value_type) { + valueSerializer.writeInt8(3) + const value_fontSecondary_value_3 = value_fontSecondary_value as Resource + valueSerializer.writeResource(value_fontSecondary_value_3) } } - } - writeContentCoverOptions(value: ContentCoverOptions): void { - let valueSerializer : Serializer = this - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundColor_value_0 = value_backgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) + const value_fontTertiary = value.fontTertiary + let value_fontTertiary_type : int32 = RuntimeType.UNDEFINED + value_fontTertiary_type = runtimeType(value_fontTertiary) + valueSerializer.writeInt8(value_fontTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_fontTertiary_type)) { + const value_fontTertiary_value = value_fontTertiary! + let value_fontTertiary_value_type : int32 = RuntimeType.UNDEFINED + value_fontTertiary_value_type = runtimeType(value_fontTertiary_value) + if (TypeChecker.isColor(value_fontTertiary_value)) { + valueSerializer.writeInt8(0) + const value_fontTertiary_value_0 = value_fontTertiary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontTertiary_value_0)) } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundColor_value_1 = value_backgroundColor_value as number - valueSerializer.writeNumber(value_backgroundColor_value_1) + else if (RuntimeType.NUMBER == value_fontTertiary_value_type) { + valueSerializer.writeInt8(1) + const value_fontTertiary_value_1 = value_fontTertiary_value as number + valueSerializer.writeNumber(value_fontTertiary_value_1) } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundColor_value_2 = value_backgroundColor_value as string - valueSerializer.writeString(value_backgroundColor_value_2) + else if (RuntimeType.STRING == value_fontTertiary_value_type) { + valueSerializer.writeInt8(2) + const value_fontTertiary_value_2 = value_fontTertiary_value as string + valueSerializer.writeString(value_fontTertiary_value_2) } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundColor_value_3 = value_backgroundColor_value as Resource - valueSerializer.writeResource(value_backgroundColor_value_3) + else if (RuntimeType.OBJECT == value_fontTertiary_value_type) { + valueSerializer.writeInt8(3) + const value_fontTertiary_value_3 = value_fontTertiary_value as Resource + valueSerializer.writeResource(value_fontTertiary_value_3) } } - const value_onAppear = value.onAppear - let value_onAppear_type : int32 = RuntimeType.UNDEFINED - value_onAppear_type = runtimeType(value_onAppear) - valueSerializer.writeInt8(value_onAppear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { - const value_onAppear_value = value_onAppear! - valueSerializer.holdAndWriteCallback(value_onAppear_value) - } - const value_onDisappear = value.onDisappear - let value_onDisappear_type : int32 = RuntimeType.UNDEFINED - value_onDisappear_type = runtimeType(value_onDisappear) - valueSerializer.writeInt8(value_onDisappear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { - const value_onDisappear_value = value_onDisappear! - valueSerializer.holdAndWriteCallback(value_onDisappear_value) + const value_fontFourth = value.fontFourth + let value_fontFourth_type : int32 = RuntimeType.UNDEFINED + value_fontFourth_type = runtimeType(value_fontFourth) + valueSerializer.writeInt8(value_fontFourth_type) + if ((RuntimeType.UNDEFINED) != (value_fontFourth_type)) { + const value_fontFourth_value = value_fontFourth! + let value_fontFourth_value_type : int32 = RuntimeType.UNDEFINED + value_fontFourth_value_type = runtimeType(value_fontFourth_value) + if (TypeChecker.isColor(value_fontFourth_value)) { + valueSerializer.writeInt8(0) + const value_fontFourth_value_0 = value_fontFourth_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontFourth_value_0)) + } + else if (RuntimeType.NUMBER == value_fontFourth_value_type) { + valueSerializer.writeInt8(1) + const value_fontFourth_value_1 = value_fontFourth_value as number + valueSerializer.writeNumber(value_fontFourth_value_1) + } + else if (RuntimeType.STRING == value_fontFourth_value_type) { + valueSerializer.writeInt8(2) + const value_fontFourth_value_2 = value_fontFourth_value as string + valueSerializer.writeString(value_fontFourth_value_2) + } + else if (RuntimeType.OBJECT == value_fontFourth_value_type) { + valueSerializer.writeInt8(3) + const value_fontFourth_value_3 = value_fontFourth_value as Resource + valueSerializer.writeResource(value_fontFourth_value_3) + } } - const value_onWillAppear = value.onWillAppear - let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED - value_onWillAppear_type = runtimeType(value_onWillAppear) - valueSerializer.writeInt8(value_onWillAppear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { - const value_onWillAppear_value = value_onWillAppear! - valueSerializer.holdAndWriteCallback(value_onWillAppear_value) - } - const value_onWillDisappear = value.onWillDisappear - let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED - value_onWillDisappear_type = runtimeType(value_onWillDisappear) - valueSerializer.writeInt8(value_onWillDisappear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { - const value_onWillDisappear_value = value_onWillDisappear! - valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) - } - const value_modalTransition = value.modalTransition - let value_modalTransition_type : int32 = RuntimeType.UNDEFINED - value_modalTransition_type = runtimeType(value_modalTransition) - valueSerializer.writeInt8(value_modalTransition_type as int32) - if ((RuntimeType.UNDEFINED) != (value_modalTransition_type)) { - const value_modalTransition_value = (value_modalTransition as ModalTransition) - valueSerializer.writeInt32(TypeChecker.ModalTransition_ToNumeric(value_modalTransition_value)) - } - const value_onWillDismiss = value.onWillDismiss - let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED - value_onWillDismiss_type = runtimeType(value_onWillDismiss) - valueSerializer.writeInt8(value_onWillDismiss_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { - const value_onWillDismiss_value = value_onWillDismiss! - valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) - } - const value_transition = value.transition - let value_transition_type : int32 = RuntimeType.UNDEFINED - value_transition_type = runtimeType(value_transition) - valueSerializer.writeInt8(value_transition_type as int32) - if ((RuntimeType.UNDEFINED) != (value_transition_type)) { - const value_transition_value = value_transition! - valueSerializer.writeTransitionEffect(value_transition_value) - } - } - writeContextMenuAnimationOptions(value: ContextMenuAnimationOptions): void { - let valueSerializer : Serializer = this - const value_scale = value.scale - let value_scale_type : int32 = RuntimeType.UNDEFINED - value_scale_type = runtimeType(value_scale) - valueSerializer.writeInt8(value_scale_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scale_type)) { - const value_scale_value = value_scale! - const value_scale_value_0 = value_scale_value[0] - valueSerializer.writeNumber(value_scale_value_0) - const value_scale_value_1 = value_scale_value[1] - valueSerializer.writeNumber(value_scale_value_1) - } - const value_transition = value.transition - let value_transition_type : int32 = RuntimeType.UNDEFINED - value_transition_type = runtimeType(value_transition) - valueSerializer.writeInt8(value_transition_type as int32) - if ((RuntimeType.UNDEFINED) != (value_transition_type)) { - const value_transition_value = value_transition! - valueSerializer.writeTransitionEffect(value_transition_value) + const value_fontEmphasize = value.fontEmphasize + let value_fontEmphasize_type : int32 = RuntimeType.UNDEFINED + value_fontEmphasize_type = runtimeType(value_fontEmphasize) + valueSerializer.writeInt8(value_fontEmphasize_type) + if ((RuntimeType.UNDEFINED) != (value_fontEmphasize_type)) { + const value_fontEmphasize_value = value_fontEmphasize! + let value_fontEmphasize_value_type : int32 = RuntimeType.UNDEFINED + value_fontEmphasize_value_type = runtimeType(value_fontEmphasize_value) + if (TypeChecker.isColor(value_fontEmphasize_value)) { + valueSerializer.writeInt8(0) + const value_fontEmphasize_value_0 = value_fontEmphasize_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontEmphasize_value_0)) + } + else if (RuntimeType.NUMBER == value_fontEmphasize_value_type) { + valueSerializer.writeInt8(1) + const value_fontEmphasize_value_1 = value_fontEmphasize_value as number + valueSerializer.writeNumber(value_fontEmphasize_value_1) + } + else if (RuntimeType.STRING == value_fontEmphasize_value_type) { + valueSerializer.writeInt8(2) + const value_fontEmphasize_value_2 = value_fontEmphasize_value as string + valueSerializer.writeString(value_fontEmphasize_value_2) + } + else if (RuntimeType.OBJECT == value_fontEmphasize_value_type) { + valueSerializer.writeInt8(3) + const value_fontEmphasize_value_3 = value_fontEmphasize_value as Resource + valueSerializer.writeResource(value_fontEmphasize_value_3) + } } - const value_hoverScale = value.hoverScale - let value_hoverScale_type : int32 = RuntimeType.UNDEFINED - value_hoverScale_type = runtimeType(value_hoverScale) - valueSerializer.writeInt8(value_hoverScale_type as int32) - if ((RuntimeType.UNDEFINED) != (value_hoverScale_type)) { - const value_hoverScale_value = value_hoverScale! - const value_hoverScale_value_0 = value_hoverScale_value[0] - valueSerializer.writeNumber(value_hoverScale_value_0) - const value_hoverScale_value_1 = value_hoverScale_value[1] - valueSerializer.writeNumber(value_hoverScale_value_1) + const value_fontOnPrimary = value.fontOnPrimary + let value_fontOnPrimary_type : int32 = RuntimeType.UNDEFINED + value_fontOnPrimary_type = runtimeType(value_fontOnPrimary) + valueSerializer.writeInt8(value_fontOnPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_fontOnPrimary_type)) { + const value_fontOnPrimary_value = value_fontOnPrimary! + let value_fontOnPrimary_value_type : int32 = RuntimeType.UNDEFINED + value_fontOnPrimary_value_type = runtimeType(value_fontOnPrimary_value) + if (TypeChecker.isColor(value_fontOnPrimary_value)) { + valueSerializer.writeInt8(0) + const value_fontOnPrimary_value_0 = value_fontOnPrimary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontOnPrimary_value_0)) + } + else if (RuntimeType.NUMBER == value_fontOnPrimary_value_type) { + valueSerializer.writeInt8(1) + const value_fontOnPrimary_value_1 = value_fontOnPrimary_value as number + valueSerializer.writeNumber(value_fontOnPrimary_value_1) + } + else if (RuntimeType.STRING == value_fontOnPrimary_value_type) { + valueSerializer.writeInt8(2) + const value_fontOnPrimary_value_2 = value_fontOnPrimary_value as string + valueSerializer.writeString(value_fontOnPrimary_value_2) + } + else if (RuntimeType.OBJECT == value_fontOnPrimary_value_type) { + valueSerializer.writeInt8(3) + const value_fontOnPrimary_value_3 = value_fontOnPrimary_value as Resource + valueSerializer.writeResource(value_fontOnPrimary_value_3) + } } - } - writeCurrentDayStyle(value: CurrentDayStyle): void { - let valueSerializer : Serializer = this - const value_dayColor = value.dayColor - let value_dayColor_type : int32 = RuntimeType.UNDEFINED - value_dayColor_type = runtimeType(value_dayColor) - valueSerializer.writeInt8(value_dayColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dayColor_type)) { - const value_dayColor_value = value_dayColor! - let value_dayColor_value_type : int32 = RuntimeType.UNDEFINED - value_dayColor_value_type = runtimeType(value_dayColor_value) - if (TypeChecker.isColor(value_dayColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_dayColor_value_0 = value_dayColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_dayColor_value_0)) + const value_fontOnSecondary = value.fontOnSecondary + let value_fontOnSecondary_type : int32 = RuntimeType.UNDEFINED + value_fontOnSecondary_type = runtimeType(value_fontOnSecondary) + valueSerializer.writeInt8(value_fontOnSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_fontOnSecondary_type)) { + const value_fontOnSecondary_value = value_fontOnSecondary! + let value_fontOnSecondary_value_type : int32 = RuntimeType.UNDEFINED + value_fontOnSecondary_value_type = runtimeType(value_fontOnSecondary_value) + if (TypeChecker.isColor(value_fontOnSecondary_value)) { + valueSerializer.writeInt8(0) + const value_fontOnSecondary_value_0 = value_fontOnSecondary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontOnSecondary_value_0)) } - else if (RuntimeType.NUMBER == value_dayColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_dayColor_value_1 = value_dayColor_value as number - valueSerializer.writeNumber(value_dayColor_value_1) + else if (RuntimeType.NUMBER == value_fontOnSecondary_value_type) { + valueSerializer.writeInt8(1) + const value_fontOnSecondary_value_1 = value_fontOnSecondary_value as number + valueSerializer.writeNumber(value_fontOnSecondary_value_1) } - else if (RuntimeType.STRING == value_dayColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_dayColor_value_2 = value_dayColor_value as string - valueSerializer.writeString(value_dayColor_value_2) + else if (RuntimeType.STRING == value_fontOnSecondary_value_type) { + valueSerializer.writeInt8(2) + const value_fontOnSecondary_value_2 = value_fontOnSecondary_value as string + valueSerializer.writeString(value_fontOnSecondary_value_2) } - else if (RuntimeType.OBJECT == value_dayColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_dayColor_value_3 = value_dayColor_value as Resource - valueSerializer.writeResource(value_dayColor_value_3) + else if (RuntimeType.OBJECT == value_fontOnSecondary_value_type) { + valueSerializer.writeInt8(3) + const value_fontOnSecondary_value_3 = value_fontOnSecondary_value as Resource + valueSerializer.writeResource(value_fontOnSecondary_value_3) } } - const value_lunarColor = value.lunarColor - let value_lunarColor_type : int32 = RuntimeType.UNDEFINED - value_lunarColor_type = runtimeType(value_lunarColor) - valueSerializer.writeInt8(value_lunarColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_lunarColor_type)) { - const value_lunarColor_value = value_lunarColor! - let value_lunarColor_value_type : int32 = RuntimeType.UNDEFINED - value_lunarColor_value_type = runtimeType(value_lunarColor_value) - if (TypeChecker.isColor(value_lunarColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_lunarColor_value_0 = value_lunarColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_lunarColor_value_0)) + const value_fontOnTertiary = value.fontOnTertiary + let value_fontOnTertiary_type : int32 = RuntimeType.UNDEFINED + value_fontOnTertiary_type = runtimeType(value_fontOnTertiary) + valueSerializer.writeInt8(value_fontOnTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_fontOnTertiary_type)) { + const value_fontOnTertiary_value = value_fontOnTertiary! + let value_fontOnTertiary_value_type : int32 = RuntimeType.UNDEFINED + value_fontOnTertiary_value_type = runtimeType(value_fontOnTertiary_value) + if (TypeChecker.isColor(value_fontOnTertiary_value)) { + valueSerializer.writeInt8(0) + const value_fontOnTertiary_value_0 = value_fontOnTertiary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontOnTertiary_value_0)) } - else if (RuntimeType.NUMBER == value_lunarColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_lunarColor_value_1 = value_lunarColor_value as number - valueSerializer.writeNumber(value_lunarColor_value_1) + else if (RuntimeType.NUMBER == value_fontOnTertiary_value_type) { + valueSerializer.writeInt8(1) + const value_fontOnTertiary_value_1 = value_fontOnTertiary_value as number + valueSerializer.writeNumber(value_fontOnTertiary_value_1) } - else if (RuntimeType.STRING == value_lunarColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_lunarColor_value_2 = value_lunarColor_value as string - valueSerializer.writeString(value_lunarColor_value_2) + else if (RuntimeType.STRING == value_fontOnTertiary_value_type) { + valueSerializer.writeInt8(2) + const value_fontOnTertiary_value_2 = value_fontOnTertiary_value as string + valueSerializer.writeString(value_fontOnTertiary_value_2) } - else if (RuntimeType.OBJECT == value_lunarColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_lunarColor_value_3 = value_lunarColor_value as Resource - valueSerializer.writeResource(value_lunarColor_value_3) + else if (RuntimeType.OBJECT == value_fontOnTertiary_value_type) { + valueSerializer.writeInt8(3) + const value_fontOnTertiary_value_3 = value_fontOnTertiary_value as Resource + valueSerializer.writeResource(value_fontOnTertiary_value_3) } } - const value_markLunarColor = value.markLunarColor - let value_markLunarColor_type : int32 = RuntimeType.UNDEFINED - value_markLunarColor_type = runtimeType(value_markLunarColor) - valueSerializer.writeInt8(value_markLunarColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_markLunarColor_type)) { - const value_markLunarColor_value = value_markLunarColor! - let value_markLunarColor_value_type : int32 = RuntimeType.UNDEFINED - value_markLunarColor_value_type = runtimeType(value_markLunarColor_value) - if (TypeChecker.isColor(value_markLunarColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_markLunarColor_value_0 = value_markLunarColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_markLunarColor_value_0)) + const value_fontOnFourth = value.fontOnFourth + let value_fontOnFourth_type : int32 = RuntimeType.UNDEFINED + value_fontOnFourth_type = runtimeType(value_fontOnFourth) + valueSerializer.writeInt8(value_fontOnFourth_type) + if ((RuntimeType.UNDEFINED) != (value_fontOnFourth_type)) { + const value_fontOnFourth_value = value_fontOnFourth! + let value_fontOnFourth_value_type : int32 = RuntimeType.UNDEFINED + value_fontOnFourth_value_type = runtimeType(value_fontOnFourth_value) + if (TypeChecker.isColor(value_fontOnFourth_value)) { + valueSerializer.writeInt8(0) + const value_fontOnFourth_value_0 = value_fontOnFourth_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontOnFourth_value_0)) } - else if (RuntimeType.NUMBER == value_markLunarColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_markLunarColor_value_1 = value_markLunarColor_value as number - valueSerializer.writeNumber(value_markLunarColor_value_1) + else if (RuntimeType.NUMBER == value_fontOnFourth_value_type) { + valueSerializer.writeInt8(1) + const value_fontOnFourth_value_1 = value_fontOnFourth_value as number + valueSerializer.writeNumber(value_fontOnFourth_value_1) } - else if (RuntimeType.STRING == value_markLunarColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_markLunarColor_value_2 = value_markLunarColor_value as string - valueSerializer.writeString(value_markLunarColor_value_2) + else if (RuntimeType.STRING == value_fontOnFourth_value_type) { + valueSerializer.writeInt8(2) + const value_fontOnFourth_value_2 = value_fontOnFourth_value as string + valueSerializer.writeString(value_fontOnFourth_value_2) } - else if (RuntimeType.OBJECT == value_markLunarColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_markLunarColor_value_3 = value_markLunarColor_value as Resource - valueSerializer.writeResource(value_markLunarColor_value_3) + else if (RuntimeType.OBJECT == value_fontOnFourth_value_type) { + valueSerializer.writeInt8(3) + const value_fontOnFourth_value_3 = value_fontOnFourth_value as Resource + valueSerializer.writeResource(value_fontOnFourth_value_3) } } - const value_dayFontSize = value.dayFontSize - let value_dayFontSize_type : int32 = RuntimeType.UNDEFINED - value_dayFontSize_type = runtimeType(value_dayFontSize) - valueSerializer.writeInt8(value_dayFontSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dayFontSize_type)) { - const value_dayFontSize_value = value_dayFontSize! - valueSerializer.writeNumber(value_dayFontSize_value) + const value_iconPrimary = value.iconPrimary + let value_iconPrimary_type : int32 = RuntimeType.UNDEFINED + value_iconPrimary_type = runtimeType(value_iconPrimary) + valueSerializer.writeInt8(value_iconPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_iconPrimary_type)) { + const value_iconPrimary_value = value_iconPrimary! + let value_iconPrimary_value_type : int32 = RuntimeType.UNDEFINED + value_iconPrimary_value_type = runtimeType(value_iconPrimary_value) + if (TypeChecker.isColor(value_iconPrimary_value)) { + valueSerializer.writeInt8(0) + const value_iconPrimary_value_0 = value_iconPrimary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconPrimary_value_0)) + } + else if (RuntimeType.NUMBER == value_iconPrimary_value_type) { + valueSerializer.writeInt8(1) + const value_iconPrimary_value_1 = value_iconPrimary_value as number + valueSerializer.writeNumber(value_iconPrimary_value_1) + } + else if (RuntimeType.STRING == value_iconPrimary_value_type) { + valueSerializer.writeInt8(2) + const value_iconPrimary_value_2 = value_iconPrimary_value as string + valueSerializer.writeString(value_iconPrimary_value_2) + } + else if (RuntimeType.OBJECT == value_iconPrimary_value_type) { + valueSerializer.writeInt8(3) + const value_iconPrimary_value_3 = value_iconPrimary_value as Resource + valueSerializer.writeResource(value_iconPrimary_value_3) + } } - const value_lunarDayFontSize = value.lunarDayFontSize - let value_lunarDayFontSize_type : int32 = RuntimeType.UNDEFINED - value_lunarDayFontSize_type = runtimeType(value_lunarDayFontSize) - valueSerializer.writeInt8(value_lunarDayFontSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_lunarDayFontSize_type)) { - const value_lunarDayFontSize_value = value_lunarDayFontSize! - valueSerializer.writeNumber(value_lunarDayFontSize_value) - } - const value_dayHeight = value.dayHeight - let value_dayHeight_type : int32 = RuntimeType.UNDEFINED - value_dayHeight_type = runtimeType(value_dayHeight) - valueSerializer.writeInt8(value_dayHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dayHeight_type)) { - const value_dayHeight_value = value_dayHeight! - valueSerializer.writeNumber(value_dayHeight_value) - } - const value_dayWidth = value.dayWidth - let value_dayWidth_type : int32 = RuntimeType.UNDEFINED - value_dayWidth_type = runtimeType(value_dayWidth) - valueSerializer.writeInt8(value_dayWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dayWidth_type)) { - const value_dayWidth_value = value_dayWidth! - valueSerializer.writeNumber(value_dayWidth_value) - } - const value_gregorianCalendarHeight = value.gregorianCalendarHeight - let value_gregorianCalendarHeight_type : int32 = RuntimeType.UNDEFINED - value_gregorianCalendarHeight_type = runtimeType(value_gregorianCalendarHeight) - valueSerializer.writeInt8(value_gregorianCalendarHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_gregorianCalendarHeight_type)) { - const value_gregorianCalendarHeight_value = value_gregorianCalendarHeight! - valueSerializer.writeNumber(value_gregorianCalendarHeight_value) - } - const value_dayYAxisOffset = value.dayYAxisOffset - let value_dayYAxisOffset_type : int32 = RuntimeType.UNDEFINED - value_dayYAxisOffset_type = runtimeType(value_dayYAxisOffset) - valueSerializer.writeInt8(value_dayYAxisOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dayYAxisOffset_type)) { - const value_dayYAxisOffset_value = value_dayYAxisOffset! - valueSerializer.writeNumber(value_dayYAxisOffset_value) - } - const value_lunarDayYAxisOffset = value.lunarDayYAxisOffset - let value_lunarDayYAxisOffset_type : int32 = RuntimeType.UNDEFINED - value_lunarDayYAxisOffset_type = runtimeType(value_lunarDayYAxisOffset) - valueSerializer.writeInt8(value_lunarDayYAxisOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_lunarDayYAxisOffset_type)) { - const value_lunarDayYAxisOffset_value = value_lunarDayYAxisOffset! - valueSerializer.writeNumber(value_lunarDayYAxisOffset_value) - } - const value_underscoreXAxisOffset = value.underscoreXAxisOffset - let value_underscoreXAxisOffset_type : int32 = RuntimeType.UNDEFINED - value_underscoreXAxisOffset_type = runtimeType(value_underscoreXAxisOffset) - valueSerializer.writeInt8(value_underscoreXAxisOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_underscoreXAxisOffset_type)) { - const value_underscoreXAxisOffset_value = value_underscoreXAxisOffset! - valueSerializer.writeNumber(value_underscoreXAxisOffset_value) - } - const value_underscoreYAxisOffset = value.underscoreYAxisOffset - let value_underscoreYAxisOffset_type : int32 = RuntimeType.UNDEFINED - value_underscoreYAxisOffset_type = runtimeType(value_underscoreYAxisOffset) - valueSerializer.writeInt8(value_underscoreYAxisOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_underscoreYAxisOffset_type)) { - const value_underscoreYAxisOffset_value = value_underscoreYAxisOffset! - valueSerializer.writeNumber(value_underscoreYAxisOffset_value) - } - const value_scheduleMarkerXAxisOffset = value.scheduleMarkerXAxisOffset - let value_scheduleMarkerXAxisOffset_type : int32 = RuntimeType.UNDEFINED - value_scheduleMarkerXAxisOffset_type = runtimeType(value_scheduleMarkerXAxisOffset) - valueSerializer.writeInt8(value_scheduleMarkerXAxisOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scheduleMarkerXAxisOffset_type)) { - const value_scheduleMarkerXAxisOffset_value = value_scheduleMarkerXAxisOffset! - valueSerializer.writeNumber(value_scheduleMarkerXAxisOffset_value) - } - const value_scheduleMarkerYAxisOffset = value.scheduleMarkerYAxisOffset - let value_scheduleMarkerYAxisOffset_type : int32 = RuntimeType.UNDEFINED - value_scheduleMarkerYAxisOffset_type = runtimeType(value_scheduleMarkerYAxisOffset) - valueSerializer.writeInt8(value_scheduleMarkerYAxisOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scheduleMarkerYAxisOffset_type)) { - const value_scheduleMarkerYAxisOffset_value = value_scheduleMarkerYAxisOffset! - valueSerializer.writeNumber(value_scheduleMarkerYAxisOffset_value) - } - const value_colSpace = value.colSpace - let value_colSpace_type : int32 = RuntimeType.UNDEFINED - value_colSpace_type = runtimeType(value_colSpace) - valueSerializer.writeInt8(value_colSpace_type as int32) - if ((RuntimeType.UNDEFINED) != (value_colSpace_type)) { - const value_colSpace_value = value_colSpace! - valueSerializer.writeNumber(value_colSpace_value) - } - const value_dailyFiveRowSpace = value.dailyFiveRowSpace - let value_dailyFiveRowSpace_type : int32 = RuntimeType.UNDEFINED - value_dailyFiveRowSpace_type = runtimeType(value_dailyFiveRowSpace) - valueSerializer.writeInt8(value_dailyFiveRowSpace_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dailyFiveRowSpace_type)) { - const value_dailyFiveRowSpace_value = value_dailyFiveRowSpace! - valueSerializer.writeNumber(value_dailyFiveRowSpace_value) - } - const value_dailySixRowSpace = value.dailySixRowSpace - let value_dailySixRowSpace_type : int32 = RuntimeType.UNDEFINED - value_dailySixRowSpace_type = runtimeType(value_dailySixRowSpace) - valueSerializer.writeInt8(value_dailySixRowSpace_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dailySixRowSpace_type)) { - const value_dailySixRowSpace_value = value_dailySixRowSpace! - valueSerializer.writeNumber(value_dailySixRowSpace_value) - } - const value_lunarHeight = value.lunarHeight - let value_lunarHeight_type : int32 = RuntimeType.UNDEFINED - value_lunarHeight_type = runtimeType(value_lunarHeight) - valueSerializer.writeInt8(value_lunarHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_lunarHeight_type)) { - const value_lunarHeight_value = value_lunarHeight! - valueSerializer.writeNumber(value_lunarHeight_value) - } - const value_underscoreWidth = value.underscoreWidth - let value_underscoreWidth_type : int32 = RuntimeType.UNDEFINED - value_underscoreWidth_type = runtimeType(value_underscoreWidth) - valueSerializer.writeInt8(value_underscoreWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_underscoreWidth_type)) { - const value_underscoreWidth_value = value_underscoreWidth! - valueSerializer.writeNumber(value_underscoreWidth_value) - } - const value_underscoreLength = value.underscoreLength - let value_underscoreLength_type : int32 = RuntimeType.UNDEFINED - value_underscoreLength_type = runtimeType(value_underscoreLength) - valueSerializer.writeInt8(value_underscoreLength_type as int32) - if ((RuntimeType.UNDEFINED) != (value_underscoreLength_type)) { - const value_underscoreLength_value = value_underscoreLength! - valueSerializer.writeNumber(value_underscoreLength_value) - } - const value_scheduleMarkerRadius = value.scheduleMarkerRadius - let value_scheduleMarkerRadius_type : int32 = RuntimeType.UNDEFINED - value_scheduleMarkerRadius_type = runtimeType(value_scheduleMarkerRadius) - valueSerializer.writeInt8(value_scheduleMarkerRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scheduleMarkerRadius_type)) { - const value_scheduleMarkerRadius_value = value_scheduleMarkerRadius! - valueSerializer.writeNumber(value_scheduleMarkerRadius_value) - } - const value_boundaryRowOffset = value.boundaryRowOffset - let value_boundaryRowOffset_type : int32 = RuntimeType.UNDEFINED - value_boundaryRowOffset_type = runtimeType(value_boundaryRowOffset) - valueSerializer.writeInt8(value_boundaryRowOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_boundaryRowOffset_type)) { - const value_boundaryRowOffset_value = value_boundaryRowOffset! - valueSerializer.writeNumber(value_boundaryRowOffset_value) - } - const value_boundaryColOffset = value.boundaryColOffset - let value_boundaryColOffset_type : int32 = RuntimeType.UNDEFINED - value_boundaryColOffset_type = runtimeType(value_boundaryColOffset) - valueSerializer.writeInt8(value_boundaryColOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_boundaryColOffset_type)) { - const value_boundaryColOffset_value = value_boundaryColOffset! - valueSerializer.writeNumber(value_boundaryColOffset_value) - } - } - writeCustomColors(value: CustomColors): void { - let valueSerializer : Serializer = this - const value_brand = value.brand - let value_brand_type : int32 = RuntimeType.UNDEFINED - value_brand_type = runtimeType(value_brand) - valueSerializer.writeInt8(value_brand_type as int32) - if ((RuntimeType.UNDEFINED) != (value_brand_type)) { - const value_brand_value = value_brand! - let value_brand_value_type : int32 = RuntimeType.UNDEFINED - value_brand_value_type = runtimeType(value_brand_value) - if (TypeChecker.isColor(value_brand_value)) { - valueSerializer.writeInt8(0 as int32) - const value_brand_value_0 = value_brand_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_brand_value_0)) + const value_iconSecondary = value.iconSecondary + let value_iconSecondary_type : int32 = RuntimeType.UNDEFINED + value_iconSecondary_type = runtimeType(value_iconSecondary) + valueSerializer.writeInt8(value_iconSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_iconSecondary_type)) { + const value_iconSecondary_value = value_iconSecondary! + let value_iconSecondary_value_type : int32 = RuntimeType.UNDEFINED + value_iconSecondary_value_type = runtimeType(value_iconSecondary_value) + if (TypeChecker.isColor(value_iconSecondary_value)) { + valueSerializer.writeInt8(0) + const value_iconSecondary_value_0 = value_iconSecondary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconSecondary_value_0)) } - else if (RuntimeType.NUMBER == value_brand_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_brand_value_1 = value_brand_value as number - valueSerializer.writeNumber(value_brand_value_1) + else if (RuntimeType.NUMBER == value_iconSecondary_value_type) { + valueSerializer.writeInt8(1) + const value_iconSecondary_value_1 = value_iconSecondary_value as number + valueSerializer.writeNumber(value_iconSecondary_value_1) } - else if (RuntimeType.STRING == value_brand_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_brand_value_2 = value_brand_value as string - valueSerializer.writeString(value_brand_value_2) + else if (RuntimeType.STRING == value_iconSecondary_value_type) { + valueSerializer.writeInt8(2) + const value_iconSecondary_value_2 = value_iconSecondary_value as string + valueSerializer.writeString(value_iconSecondary_value_2) } - else if (RuntimeType.OBJECT == value_brand_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_brand_value_3 = value_brand_value as Resource - valueSerializer.writeResource(value_brand_value_3) + else if (RuntimeType.OBJECT == value_iconSecondary_value_type) { + valueSerializer.writeInt8(3) + const value_iconSecondary_value_3 = value_iconSecondary_value as Resource + valueSerializer.writeResource(value_iconSecondary_value_3) } } - const value_warning = value.warning - let value_warning_type : int32 = RuntimeType.UNDEFINED - value_warning_type = runtimeType(value_warning) - valueSerializer.writeInt8(value_warning_type as int32) - if ((RuntimeType.UNDEFINED) != (value_warning_type)) { - const value_warning_value = value_warning! - let value_warning_value_type : int32 = RuntimeType.UNDEFINED - value_warning_value_type = runtimeType(value_warning_value) - if (TypeChecker.isColor(value_warning_value)) { - valueSerializer.writeInt8(0 as int32) - const value_warning_value_0 = value_warning_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_warning_value_0)) + const value_iconTertiary = value.iconTertiary + let value_iconTertiary_type : int32 = RuntimeType.UNDEFINED + value_iconTertiary_type = runtimeType(value_iconTertiary) + valueSerializer.writeInt8(value_iconTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_iconTertiary_type)) { + const value_iconTertiary_value = value_iconTertiary! + let value_iconTertiary_value_type : int32 = RuntimeType.UNDEFINED + value_iconTertiary_value_type = runtimeType(value_iconTertiary_value) + if (TypeChecker.isColor(value_iconTertiary_value)) { + valueSerializer.writeInt8(0) + const value_iconTertiary_value_0 = value_iconTertiary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconTertiary_value_0)) } - else if (RuntimeType.NUMBER == value_warning_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_warning_value_1 = value_warning_value as number - valueSerializer.writeNumber(value_warning_value_1) + else if (RuntimeType.NUMBER == value_iconTertiary_value_type) { + valueSerializer.writeInt8(1) + const value_iconTertiary_value_1 = value_iconTertiary_value as number + valueSerializer.writeNumber(value_iconTertiary_value_1) } - else if (RuntimeType.STRING == value_warning_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_warning_value_2 = value_warning_value as string - valueSerializer.writeString(value_warning_value_2) + else if (RuntimeType.STRING == value_iconTertiary_value_type) { + valueSerializer.writeInt8(2) + const value_iconTertiary_value_2 = value_iconTertiary_value as string + valueSerializer.writeString(value_iconTertiary_value_2) } - else if (RuntimeType.OBJECT == value_warning_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_warning_value_3 = value_warning_value as Resource - valueSerializer.writeResource(value_warning_value_3) + else if (RuntimeType.OBJECT == value_iconTertiary_value_type) { + valueSerializer.writeInt8(3) + const value_iconTertiary_value_3 = value_iconTertiary_value as Resource + valueSerializer.writeResource(value_iconTertiary_value_3) } } - const value_alert = value.alert - let value_alert_type : int32 = RuntimeType.UNDEFINED - value_alert_type = runtimeType(value_alert) - valueSerializer.writeInt8(value_alert_type as int32) - if ((RuntimeType.UNDEFINED) != (value_alert_type)) { - const value_alert_value = value_alert! - let value_alert_value_type : int32 = RuntimeType.UNDEFINED - value_alert_value_type = runtimeType(value_alert_value) - if (TypeChecker.isColor(value_alert_value)) { - valueSerializer.writeInt8(0 as int32) - const value_alert_value_0 = value_alert_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_alert_value_0)) + const value_iconFourth = value.iconFourth + let value_iconFourth_type : int32 = RuntimeType.UNDEFINED + value_iconFourth_type = runtimeType(value_iconFourth) + valueSerializer.writeInt8(value_iconFourth_type) + if ((RuntimeType.UNDEFINED) != (value_iconFourth_type)) { + const value_iconFourth_value = value_iconFourth! + let value_iconFourth_value_type : int32 = RuntimeType.UNDEFINED + value_iconFourth_value_type = runtimeType(value_iconFourth_value) + if (TypeChecker.isColor(value_iconFourth_value)) { + valueSerializer.writeInt8(0) + const value_iconFourth_value_0 = value_iconFourth_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconFourth_value_0)) } - else if (RuntimeType.NUMBER == value_alert_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_alert_value_1 = value_alert_value as number - valueSerializer.writeNumber(value_alert_value_1) + else if (RuntimeType.NUMBER == value_iconFourth_value_type) { + valueSerializer.writeInt8(1) + const value_iconFourth_value_1 = value_iconFourth_value as number + valueSerializer.writeNumber(value_iconFourth_value_1) } - else if (RuntimeType.STRING == value_alert_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_alert_value_2 = value_alert_value as string - valueSerializer.writeString(value_alert_value_2) + else if (RuntimeType.STRING == value_iconFourth_value_type) { + valueSerializer.writeInt8(2) + const value_iconFourth_value_2 = value_iconFourth_value as string + valueSerializer.writeString(value_iconFourth_value_2) } - else if (RuntimeType.OBJECT == value_alert_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_alert_value_3 = value_alert_value as Resource - valueSerializer.writeResource(value_alert_value_3) + else if (RuntimeType.OBJECT == value_iconFourth_value_type) { + valueSerializer.writeInt8(3) + const value_iconFourth_value_3 = value_iconFourth_value as Resource + valueSerializer.writeResource(value_iconFourth_value_3) } } - const value_confirm = value.confirm - let value_confirm_type : int32 = RuntimeType.UNDEFINED - value_confirm_type = runtimeType(value_confirm) - valueSerializer.writeInt8(value_confirm_type as int32) - if ((RuntimeType.UNDEFINED) != (value_confirm_type)) { - const value_confirm_value = value_confirm! - let value_confirm_value_type : int32 = RuntimeType.UNDEFINED - value_confirm_value_type = runtimeType(value_confirm_value) - if (TypeChecker.isColor(value_confirm_value)) { - valueSerializer.writeInt8(0 as int32) - const value_confirm_value_0 = value_confirm_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_confirm_value_0)) - } - else if (RuntimeType.NUMBER == value_confirm_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_confirm_value_1 = value_confirm_value as number - valueSerializer.writeNumber(value_confirm_value_1) + const value_iconEmphasize = value.iconEmphasize + let value_iconEmphasize_type : int32 = RuntimeType.UNDEFINED + value_iconEmphasize_type = runtimeType(value_iconEmphasize) + valueSerializer.writeInt8(value_iconEmphasize_type) + if ((RuntimeType.UNDEFINED) != (value_iconEmphasize_type)) { + const value_iconEmphasize_value = value_iconEmphasize! + let value_iconEmphasize_value_type : int32 = RuntimeType.UNDEFINED + value_iconEmphasize_value_type = runtimeType(value_iconEmphasize_value) + if (TypeChecker.isColor(value_iconEmphasize_value)) { + valueSerializer.writeInt8(0) + const value_iconEmphasize_value_0 = value_iconEmphasize_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconEmphasize_value_0)) } - else if (RuntimeType.STRING == value_confirm_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_confirm_value_2 = value_confirm_value as string - valueSerializer.writeString(value_confirm_value_2) + else if (RuntimeType.NUMBER == value_iconEmphasize_value_type) { + valueSerializer.writeInt8(1) + const value_iconEmphasize_value_1 = value_iconEmphasize_value as number + valueSerializer.writeNumber(value_iconEmphasize_value_1) } - else if (RuntimeType.OBJECT == value_confirm_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_confirm_value_3 = value_confirm_value as Resource - valueSerializer.writeResource(value_confirm_value_3) + else if (RuntimeType.STRING == value_iconEmphasize_value_type) { + valueSerializer.writeInt8(2) + const value_iconEmphasize_value_2 = value_iconEmphasize_value as string + valueSerializer.writeString(value_iconEmphasize_value_2) + } + else if (RuntimeType.OBJECT == value_iconEmphasize_value_type) { + valueSerializer.writeInt8(3) + const value_iconEmphasize_value_3 = value_iconEmphasize_value as Resource + valueSerializer.writeResource(value_iconEmphasize_value_3) } } - const value_fontPrimary = value.fontPrimary - let value_fontPrimary_type : int32 = RuntimeType.UNDEFINED - value_fontPrimary_type = runtimeType(value_fontPrimary) - valueSerializer.writeInt8(value_fontPrimary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontPrimary_type)) { - const value_fontPrimary_value = value_fontPrimary! - let value_fontPrimary_value_type : int32 = RuntimeType.UNDEFINED - value_fontPrimary_value_type = runtimeType(value_fontPrimary_value) - if (TypeChecker.isColor(value_fontPrimary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontPrimary_value_0 = value_fontPrimary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontPrimary_value_0)) + const value_iconSubEmphasize = value.iconSubEmphasize + let value_iconSubEmphasize_type : int32 = RuntimeType.UNDEFINED + value_iconSubEmphasize_type = runtimeType(value_iconSubEmphasize) + valueSerializer.writeInt8(value_iconSubEmphasize_type) + if ((RuntimeType.UNDEFINED) != (value_iconSubEmphasize_type)) { + const value_iconSubEmphasize_value = value_iconSubEmphasize! + let value_iconSubEmphasize_value_type : int32 = RuntimeType.UNDEFINED + value_iconSubEmphasize_value_type = runtimeType(value_iconSubEmphasize_value) + if (TypeChecker.isColor(value_iconSubEmphasize_value)) { + valueSerializer.writeInt8(0) + const value_iconSubEmphasize_value_0 = value_iconSubEmphasize_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconSubEmphasize_value_0)) } - else if (RuntimeType.NUMBER == value_fontPrimary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontPrimary_value_1 = value_fontPrimary_value as number - valueSerializer.writeNumber(value_fontPrimary_value_1) + else if (RuntimeType.NUMBER == value_iconSubEmphasize_value_type) { + valueSerializer.writeInt8(1) + const value_iconSubEmphasize_value_1 = value_iconSubEmphasize_value as number + valueSerializer.writeNumber(value_iconSubEmphasize_value_1) } - else if (RuntimeType.STRING == value_fontPrimary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontPrimary_value_2 = value_fontPrimary_value as string - valueSerializer.writeString(value_fontPrimary_value_2) + else if (RuntimeType.STRING == value_iconSubEmphasize_value_type) { + valueSerializer.writeInt8(2) + const value_iconSubEmphasize_value_2 = value_iconSubEmphasize_value as string + valueSerializer.writeString(value_iconSubEmphasize_value_2) } - else if (RuntimeType.OBJECT == value_fontPrimary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontPrimary_value_3 = value_fontPrimary_value as Resource - valueSerializer.writeResource(value_fontPrimary_value_3) + else if (RuntimeType.OBJECT == value_iconSubEmphasize_value_type) { + valueSerializer.writeInt8(3) + const value_iconSubEmphasize_value_3 = value_iconSubEmphasize_value as Resource + valueSerializer.writeResource(value_iconSubEmphasize_value_3) } } - const value_fontSecondary = value.fontSecondary - let value_fontSecondary_type : int32 = RuntimeType.UNDEFINED - value_fontSecondary_type = runtimeType(value_fontSecondary) - valueSerializer.writeInt8(value_fontSecondary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontSecondary_type)) { - const value_fontSecondary_value = value_fontSecondary! - let value_fontSecondary_value_type : int32 = RuntimeType.UNDEFINED - value_fontSecondary_value_type = runtimeType(value_fontSecondary_value) - if (TypeChecker.isColor(value_fontSecondary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontSecondary_value_0 = value_fontSecondary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontSecondary_value_0)) + const value_iconOnPrimary = value.iconOnPrimary + let value_iconOnPrimary_type : int32 = RuntimeType.UNDEFINED + value_iconOnPrimary_type = runtimeType(value_iconOnPrimary) + valueSerializer.writeInt8(value_iconOnPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_iconOnPrimary_type)) { + const value_iconOnPrimary_value = value_iconOnPrimary! + let value_iconOnPrimary_value_type : int32 = RuntimeType.UNDEFINED + value_iconOnPrimary_value_type = runtimeType(value_iconOnPrimary_value) + if (TypeChecker.isColor(value_iconOnPrimary_value)) { + valueSerializer.writeInt8(0) + const value_iconOnPrimary_value_0 = value_iconOnPrimary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconOnPrimary_value_0)) } - else if (RuntimeType.NUMBER == value_fontSecondary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontSecondary_value_1 = value_fontSecondary_value as number - valueSerializer.writeNumber(value_fontSecondary_value_1) + else if (RuntimeType.NUMBER == value_iconOnPrimary_value_type) { + valueSerializer.writeInt8(1) + const value_iconOnPrimary_value_1 = value_iconOnPrimary_value as number + valueSerializer.writeNumber(value_iconOnPrimary_value_1) } - else if (RuntimeType.STRING == value_fontSecondary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontSecondary_value_2 = value_fontSecondary_value as string - valueSerializer.writeString(value_fontSecondary_value_2) + else if (RuntimeType.STRING == value_iconOnPrimary_value_type) { + valueSerializer.writeInt8(2) + const value_iconOnPrimary_value_2 = value_iconOnPrimary_value as string + valueSerializer.writeString(value_iconOnPrimary_value_2) } - else if (RuntimeType.OBJECT == value_fontSecondary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontSecondary_value_3 = value_fontSecondary_value as Resource - valueSerializer.writeResource(value_fontSecondary_value_3) + else if (RuntimeType.OBJECT == value_iconOnPrimary_value_type) { + valueSerializer.writeInt8(3) + const value_iconOnPrimary_value_3 = value_iconOnPrimary_value as Resource + valueSerializer.writeResource(value_iconOnPrimary_value_3) } } - const value_fontTertiary = value.fontTertiary - let value_fontTertiary_type : int32 = RuntimeType.UNDEFINED - value_fontTertiary_type = runtimeType(value_fontTertiary) - valueSerializer.writeInt8(value_fontTertiary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontTertiary_type)) { - const value_fontTertiary_value = value_fontTertiary! - let value_fontTertiary_value_type : int32 = RuntimeType.UNDEFINED - value_fontTertiary_value_type = runtimeType(value_fontTertiary_value) - if (TypeChecker.isColor(value_fontTertiary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontTertiary_value_0 = value_fontTertiary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontTertiary_value_0)) + const value_iconOnSecondary = value.iconOnSecondary + let value_iconOnSecondary_type : int32 = RuntimeType.UNDEFINED + value_iconOnSecondary_type = runtimeType(value_iconOnSecondary) + valueSerializer.writeInt8(value_iconOnSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_iconOnSecondary_type)) { + const value_iconOnSecondary_value = value_iconOnSecondary! + let value_iconOnSecondary_value_type : int32 = RuntimeType.UNDEFINED + value_iconOnSecondary_value_type = runtimeType(value_iconOnSecondary_value) + if (TypeChecker.isColor(value_iconOnSecondary_value)) { + valueSerializer.writeInt8(0) + const value_iconOnSecondary_value_0 = value_iconOnSecondary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconOnSecondary_value_0)) } - else if (RuntimeType.NUMBER == value_fontTertiary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontTertiary_value_1 = value_fontTertiary_value as number - valueSerializer.writeNumber(value_fontTertiary_value_1) + else if (RuntimeType.NUMBER == value_iconOnSecondary_value_type) { + valueSerializer.writeInt8(1) + const value_iconOnSecondary_value_1 = value_iconOnSecondary_value as number + valueSerializer.writeNumber(value_iconOnSecondary_value_1) } - else if (RuntimeType.STRING == value_fontTertiary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontTertiary_value_2 = value_fontTertiary_value as string - valueSerializer.writeString(value_fontTertiary_value_2) + else if (RuntimeType.STRING == value_iconOnSecondary_value_type) { + valueSerializer.writeInt8(2) + const value_iconOnSecondary_value_2 = value_iconOnSecondary_value as string + valueSerializer.writeString(value_iconOnSecondary_value_2) } - else if (RuntimeType.OBJECT == value_fontTertiary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontTertiary_value_3 = value_fontTertiary_value as Resource - valueSerializer.writeResource(value_fontTertiary_value_3) + else if (RuntimeType.OBJECT == value_iconOnSecondary_value_type) { + valueSerializer.writeInt8(3) + const value_iconOnSecondary_value_3 = value_iconOnSecondary_value as Resource + valueSerializer.writeResource(value_iconOnSecondary_value_3) } } - const value_fontFourth = value.fontFourth - let value_fontFourth_type : int32 = RuntimeType.UNDEFINED - value_fontFourth_type = runtimeType(value_fontFourth) - valueSerializer.writeInt8(value_fontFourth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontFourth_type)) { - const value_fontFourth_value = value_fontFourth! - let value_fontFourth_value_type : int32 = RuntimeType.UNDEFINED - value_fontFourth_value_type = runtimeType(value_fontFourth_value) - if (TypeChecker.isColor(value_fontFourth_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontFourth_value_0 = value_fontFourth_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontFourth_value_0)) + const value_iconOnTertiary = value.iconOnTertiary + let value_iconOnTertiary_type : int32 = RuntimeType.UNDEFINED + value_iconOnTertiary_type = runtimeType(value_iconOnTertiary) + valueSerializer.writeInt8(value_iconOnTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_iconOnTertiary_type)) { + const value_iconOnTertiary_value = value_iconOnTertiary! + let value_iconOnTertiary_value_type : int32 = RuntimeType.UNDEFINED + value_iconOnTertiary_value_type = runtimeType(value_iconOnTertiary_value) + if (TypeChecker.isColor(value_iconOnTertiary_value)) { + valueSerializer.writeInt8(0) + const value_iconOnTertiary_value_0 = value_iconOnTertiary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconOnTertiary_value_0)) } - else if (RuntimeType.NUMBER == value_fontFourth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontFourth_value_1 = value_fontFourth_value as number - valueSerializer.writeNumber(value_fontFourth_value_1) + else if (RuntimeType.NUMBER == value_iconOnTertiary_value_type) { + valueSerializer.writeInt8(1) + const value_iconOnTertiary_value_1 = value_iconOnTertiary_value as number + valueSerializer.writeNumber(value_iconOnTertiary_value_1) } - else if (RuntimeType.STRING == value_fontFourth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontFourth_value_2 = value_fontFourth_value as string - valueSerializer.writeString(value_fontFourth_value_2) + else if (RuntimeType.STRING == value_iconOnTertiary_value_type) { + valueSerializer.writeInt8(2) + const value_iconOnTertiary_value_2 = value_iconOnTertiary_value as string + valueSerializer.writeString(value_iconOnTertiary_value_2) } - else if (RuntimeType.OBJECT == value_fontFourth_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontFourth_value_3 = value_fontFourth_value as Resource - valueSerializer.writeResource(value_fontFourth_value_3) + else if (RuntimeType.OBJECT == value_iconOnTertiary_value_type) { + valueSerializer.writeInt8(3) + const value_iconOnTertiary_value_3 = value_iconOnTertiary_value as Resource + valueSerializer.writeResource(value_iconOnTertiary_value_3) } } - const value_fontEmphasize = value.fontEmphasize - let value_fontEmphasize_type : int32 = RuntimeType.UNDEFINED - value_fontEmphasize_type = runtimeType(value_fontEmphasize) - valueSerializer.writeInt8(value_fontEmphasize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontEmphasize_type)) { - const value_fontEmphasize_value = value_fontEmphasize! - let value_fontEmphasize_value_type : int32 = RuntimeType.UNDEFINED - value_fontEmphasize_value_type = runtimeType(value_fontEmphasize_value) - if (TypeChecker.isColor(value_fontEmphasize_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontEmphasize_value_0 = value_fontEmphasize_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontEmphasize_value_0)) + const value_iconOnFourth = value.iconOnFourth + let value_iconOnFourth_type : int32 = RuntimeType.UNDEFINED + value_iconOnFourth_type = runtimeType(value_iconOnFourth) + valueSerializer.writeInt8(value_iconOnFourth_type) + if ((RuntimeType.UNDEFINED) != (value_iconOnFourth_type)) { + const value_iconOnFourth_value = value_iconOnFourth! + let value_iconOnFourth_value_type : int32 = RuntimeType.UNDEFINED + value_iconOnFourth_value_type = runtimeType(value_iconOnFourth_value) + if (TypeChecker.isColor(value_iconOnFourth_value)) { + valueSerializer.writeInt8(0) + const value_iconOnFourth_value_0 = value_iconOnFourth_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconOnFourth_value_0)) } - else if (RuntimeType.NUMBER == value_fontEmphasize_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontEmphasize_value_1 = value_fontEmphasize_value as number - valueSerializer.writeNumber(value_fontEmphasize_value_1) + else if (RuntimeType.NUMBER == value_iconOnFourth_value_type) { + valueSerializer.writeInt8(1) + const value_iconOnFourth_value_1 = value_iconOnFourth_value as number + valueSerializer.writeNumber(value_iconOnFourth_value_1) } - else if (RuntimeType.STRING == value_fontEmphasize_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontEmphasize_value_2 = value_fontEmphasize_value as string - valueSerializer.writeString(value_fontEmphasize_value_2) + else if (RuntimeType.STRING == value_iconOnFourth_value_type) { + valueSerializer.writeInt8(2) + const value_iconOnFourth_value_2 = value_iconOnFourth_value as string + valueSerializer.writeString(value_iconOnFourth_value_2) } - else if (RuntimeType.OBJECT == value_fontEmphasize_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontEmphasize_value_3 = value_fontEmphasize_value as Resource - valueSerializer.writeResource(value_fontEmphasize_value_3) + else if (RuntimeType.OBJECT == value_iconOnFourth_value_type) { + valueSerializer.writeInt8(3) + const value_iconOnFourth_value_3 = value_iconOnFourth_value as Resource + valueSerializer.writeResource(value_iconOnFourth_value_3) } } - const value_fontOnPrimary = value.fontOnPrimary - let value_fontOnPrimary_type : int32 = RuntimeType.UNDEFINED - value_fontOnPrimary_type = runtimeType(value_fontOnPrimary) - valueSerializer.writeInt8(value_fontOnPrimary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontOnPrimary_type)) { - const value_fontOnPrimary_value = value_fontOnPrimary! - let value_fontOnPrimary_value_type : int32 = RuntimeType.UNDEFINED - value_fontOnPrimary_value_type = runtimeType(value_fontOnPrimary_value) - if (TypeChecker.isColor(value_fontOnPrimary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontOnPrimary_value_0 = value_fontOnPrimary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontOnPrimary_value_0)) - } - else if (RuntimeType.NUMBER == value_fontOnPrimary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontOnPrimary_value_1 = value_fontOnPrimary_value as number - valueSerializer.writeNumber(value_fontOnPrimary_value_1) + const value_backgroundPrimary = value.backgroundPrimary + let value_backgroundPrimary_type : int32 = RuntimeType.UNDEFINED + value_backgroundPrimary_type = runtimeType(value_backgroundPrimary) + valueSerializer.writeInt8(value_backgroundPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundPrimary_type)) { + const value_backgroundPrimary_value = value_backgroundPrimary! + let value_backgroundPrimary_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundPrimary_value_type = runtimeType(value_backgroundPrimary_value) + if (TypeChecker.isColor(value_backgroundPrimary_value)) { + valueSerializer.writeInt8(0) + const value_backgroundPrimary_value_0 = value_backgroundPrimary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundPrimary_value_0)) } - else if (RuntimeType.STRING == value_fontOnPrimary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontOnPrimary_value_2 = value_fontOnPrimary_value as string - valueSerializer.writeString(value_fontOnPrimary_value_2) + else if (RuntimeType.NUMBER == value_backgroundPrimary_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundPrimary_value_1 = value_backgroundPrimary_value as number + valueSerializer.writeNumber(value_backgroundPrimary_value_1) } - else if (RuntimeType.OBJECT == value_fontOnPrimary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontOnPrimary_value_3 = value_fontOnPrimary_value as Resource - valueSerializer.writeResource(value_fontOnPrimary_value_3) + else if (RuntimeType.STRING == value_backgroundPrimary_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundPrimary_value_2 = value_backgroundPrimary_value as string + valueSerializer.writeString(value_backgroundPrimary_value_2) } - } - const value_fontOnSecondary = value.fontOnSecondary - let value_fontOnSecondary_type : int32 = RuntimeType.UNDEFINED - value_fontOnSecondary_type = runtimeType(value_fontOnSecondary) - valueSerializer.writeInt8(value_fontOnSecondary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontOnSecondary_type)) { - const value_fontOnSecondary_value = value_fontOnSecondary! - let value_fontOnSecondary_value_type : int32 = RuntimeType.UNDEFINED - value_fontOnSecondary_value_type = runtimeType(value_fontOnSecondary_value) - if (TypeChecker.isColor(value_fontOnSecondary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontOnSecondary_value_0 = value_fontOnSecondary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontOnSecondary_value_0)) - } - else if (RuntimeType.NUMBER == value_fontOnSecondary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontOnSecondary_value_1 = value_fontOnSecondary_value as number - valueSerializer.writeNumber(value_fontOnSecondary_value_1) - } - else if (RuntimeType.STRING == value_fontOnSecondary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontOnSecondary_value_2 = value_fontOnSecondary_value as string - valueSerializer.writeString(value_fontOnSecondary_value_2) - } - else if (RuntimeType.OBJECT == value_fontOnSecondary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontOnSecondary_value_3 = value_fontOnSecondary_value as Resource - valueSerializer.writeResource(value_fontOnSecondary_value_3) + else if (RuntimeType.OBJECT == value_backgroundPrimary_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundPrimary_value_3 = value_backgroundPrimary_value as Resource + valueSerializer.writeResource(value_backgroundPrimary_value_3) } } - const value_fontOnTertiary = value.fontOnTertiary - let value_fontOnTertiary_type : int32 = RuntimeType.UNDEFINED - value_fontOnTertiary_type = runtimeType(value_fontOnTertiary) - valueSerializer.writeInt8(value_fontOnTertiary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontOnTertiary_type)) { - const value_fontOnTertiary_value = value_fontOnTertiary! - let value_fontOnTertiary_value_type : int32 = RuntimeType.UNDEFINED - value_fontOnTertiary_value_type = runtimeType(value_fontOnTertiary_value) - if (TypeChecker.isColor(value_fontOnTertiary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontOnTertiary_value_0 = value_fontOnTertiary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontOnTertiary_value_0)) + const value_backgroundSecondary = value.backgroundSecondary + let value_backgroundSecondary_type : int32 = RuntimeType.UNDEFINED + value_backgroundSecondary_type = runtimeType(value_backgroundSecondary) + valueSerializer.writeInt8(value_backgroundSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundSecondary_type)) { + const value_backgroundSecondary_value = value_backgroundSecondary! + let value_backgroundSecondary_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundSecondary_value_type = runtimeType(value_backgroundSecondary_value) + if (TypeChecker.isColor(value_backgroundSecondary_value)) { + valueSerializer.writeInt8(0) + const value_backgroundSecondary_value_0 = value_backgroundSecondary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundSecondary_value_0)) } - else if (RuntimeType.NUMBER == value_fontOnTertiary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontOnTertiary_value_1 = value_fontOnTertiary_value as number - valueSerializer.writeNumber(value_fontOnTertiary_value_1) + else if (RuntimeType.NUMBER == value_backgroundSecondary_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundSecondary_value_1 = value_backgroundSecondary_value as number + valueSerializer.writeNumber(value_backgroundSecondary_value_1) } - else if (RuntimeType.STRING == value_fontOnTertiary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontOnTertiary_value_2 = value_fontOnTertiary_value as string - valueSerializer.writeString(value_fontOnTertiary_value_2) + else if (RuntimeType.STRING == value_backgroundSecondary_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundSecondary_value_2 = value_backgroundSecondary_value as string + valueSerializer.writeString(value_backgroundSecondary_value_2) } - else if (RuntimeType.OBJECT == value_fontOnTertiary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontOnTertiary_value_3 = value_fontOnTertiary_value as Resource - valueSerializer.writeResource(value_fontOnTertiary_value_3) + else if (RuntimeType.OBJECT == value_backgroundSecondary_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundSecondary_value_3 = value_backgroundSecondary_value as Resource + valueSerializer.writeResource(value_backgroundSecondary_value_3) } } - const value_fontOnFourth = value.fontOnFourth - let value_fontOnFourth_type : int32 = RuntimeType.UNDEFINED - value_fontOnFourth_type = runtimeType(value_fontOnFourth) - valueSerializer.writeInt8(value_fontOnFourth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontOnFourth_type)) { - const value_fontOnFourth_value = value_fontOnFourth! - let value_fontOnFourth_value_type : int32 = RuntimeType.UNDEFINED - value_fontOnFourth_value_type = runtimeType(value_fontOnFourth_value) - if (TypeChecker.isColor(value_fontOnFourth_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontOnFourth_value_0 = value_fontOnFourth_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontOnFourth_value_0)) + const value_backgroundTertiary = value.backgroundTertiary + let value_backgroundTertiary_type : int32 = RuntimeType.UNDEFINED + value_backgroundTertiary_type = runtimeType(value_backgroundTertiary) + valueSerializer.writeInt8(value_backgroundTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundTertiary_type)) { + const value_backgroundTertiary_value = value_backgroundTertiary! + let value_backgroundTertiary_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundTertiary_value_type = runtimeType(value_backgroundTertiary_value) + if (TypeChecker.isColor(value_backgroundTertiary_value)) { + valueSerializer.writeInt8(0) + const value_backgroundTertiary_value_0 = value_backgroundTertiary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundTertiary_value_0)) } - else if (RuntimeType.NUMBER == value_fontOnFourth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontOnFourth_value_1 = value_fontOnFourth_value as number - valueSerializer.writeNumber(value_fontOnFourth_value_1) + else if (RuntimeType.NUMBER == value_backgroundTertiary_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundTertiary_value_1 = value_backgroundTertiary_value as number + valueSerializer.writeNumber(value_backgroundTertiary_value_1) } - else if (RuntimeType.STRING == value_fontOnFourth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontOnFourth_value_2 = value_fontOnFourth_value as string - valueSerializer.writeString(value_fontOnFourth_value_2) + else if (RuntimeType.STRING == value_backgroundTertiary_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundTertiary_value_2 = value_backgroundTertiary_value as string + valueSerializer.writeString(value_backgroundTertiary_value_2) } - else if (RuntimeType.OBJECT == value_fontOnFourth_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontOnFourth_value_3 = value_fontOnFourth_value as Resource - valueSerializer.writeResource(value_fontOnFourth_value_3) + else if (RuntimeType.OBJECT == value_backgroundTertiary_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundTertiary_value_3 = value_backgroundTertiary_value as Resource + valueSerializer.writeResource(value_backgroundTertiary_value_3) } } - const value_iconPrimary = value.iconPrimary - let value_iconPrimary_type : int32 = RuntimeType.UNDEFINED - value_iconPrimary_type = runtimeType(value_iconPrimary) - valueSerializer.writeInt8(value_iconPrimary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_iconPrimary_type)) { - const value_iconPrimary_value = value_iconPrimary! - let value_iconPrimary_value_type : int32 = RuntimeType.UNDEFINED - value_iconPrimary_value_type = runtimeType(value_iconPrimary_value) - if (TypeChecker.isColor(value_iconPrimary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_iconPrimary_value_0 = value_iconPrimary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconPrimary_value_0)) + const value_backgroundFourth = value.backgroundFourth + let value_backgroundFourth_type : int32 = RuntimeType.UNDEFINED + value_backgroundFourth_type = runtimeType(value_backgroundFourth) + valueSerializer.writeInt8(value_backgroundFourth_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundFourth_type)) { + const value_backgroundFourth_value = value_backgroundFourth! + let value_backgroundFourth_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundFourth_value_type = runtimeType(value_backgroundFourth_value) + if (TypeChecker.isColor(value_backgroundFourth_value)) { + valueSerializer.writeInt8(0) + const value_backgroundFourth_value_0 = value_backgroundFourth_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundFourth_value_0)) } - else if (RuntimeType.NUMBER == value_iconPrimary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_iconPrimary_value_1 = value_iconPrimary_value as number - valueSerializer.writeNumber(value_iconPrimary_value_1) + else if (RuntimeType.NUMBER == value_backgroundFourth_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundFourth_value_1 = value_backgroundFourth_value as number + valueSerializer.writeNumber(value_backgroundFourth_value_1) } - else if (RuntimeType.STRING == value_iconPrimary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_iconPrimary_value_2 = value_iconPrimary_value as string - valueSerializer.writeString(value_iconPrimary_value_2) + else if (RuntimeType.STRING == value_backgroundFourth_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundFourth_value_2 = value_backgroundFourth_value as string + valueSerializer.writeString(value_backgroundFourth_value_2) } - else if (RuntimeType.OBJECT == value_iconPrimary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_iconPrimary_value_3 = value_iconPrimary_value as Resource - valueSerializer.writeResource(value_iconPrimary_value_3) + else if (RuntimeType.OBJECT == value_backgroundFourth_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundFourth_value_3 = value_backgroundFourth_value as Resource + valueSerializer.writeResource(value_backgroundFourth_value_3) } } - const value_iconSecondary = value.iconSecondary - let value_iconSecondary_type : int32 = RuntimeType.UNDEFINED - value_iconSecondary_type = runtimeType(value_iconSecondary) - valueSerializer.writeInt8(value_iconSecondary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_iconSecondary_type)) { - const value_iconSecondary_value = value_iconSecondary! - let value_iconSecondary_value_type : int32 = RuntimeType.UNDEFINED - value_iconSecondary_value_type = runtimeType(value_iconSecondary_value) - if (TypeChecker.isColor(value_iconSecondary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_iconSecondary_value_0 = value_iconSecondary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconSecondary_value_0)) + const value_backgroundEmphasize = value.backgroundEmphasize + let value_backgroundEmphasize_type : int32 = RuntimeType.UNDEFINED + value_backgroundEmphasize_type = runtimeType(value_backgroundEmphasize) + valueSerializer.writeInt8(value_backgroundEmphasize_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEmphasize_type)) { + const value_backgroundEmphasize_value = value_backgroundEmphasize! + let value_backgroundEmphasize_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundEmphasize_value_type = runtimeType(value_backgroundEmphasize_value) + if (TypeChecker.isColor(value_backgroundEmphasize_value)) { + valueSerializer.writeInt8(0) + const value_backgroundEmphasize_value_0 = value_backgroundEmphasize_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundEmphasize_value_0)) } - else if (RuntimeType.NUMBER == value_iconSecondary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_iconSecondary_value_1 = value_iconSecondary_value as number - valueSerializer.writeNumber(value_iconSecondary_value_1) + else if (RuntimeType.NUMBER == value_backgroundEmphasize_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundEmphasize_value_1 = value_backgroundEmphasize_value as number + valueSerializer.writeNumber(value_backgroundEmphasize_value_1) } - else if (RuntimeType.STRING == value_iconSecondary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_iconSecondary_value_2 = value_iconSecondary_value as string - valueSerializer.writeString(value_iconSecondary_value_2) + else if (RuntimeType.STRING == value_backgroundEmphasize_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundEmphasize_value_2 = value_backgroundEmphasize_value as string + valueSerializer.writeString(value_backgroundEmphasize_value_2) } - else if (RuntimeType.OBJECT == value_iconSecondary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_iconSecondary_value_3 = value_iconSecondary_value as Resource - valueSerializer.writeResource(value_iconSecondary_value_3) + else if (RuntimeType.OBJECT == value_backgroundEmphasize_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundEmphasize_value_3 = value_backgroundEmphasize_value as Resource + valueSerializer.writeResource(value_backgroundEmphasize_value_3) } } - const value_iconTertiary = value.iconTertiary - let value_iconTertiary_type : int32 = RuntimeType.UNDEFINED - value_iconTertiary_type = runtimeType(value_iconTertiary) - valueSerializer.writeInt8(value_iconTertiary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_iconTertiary_type)) { - const value_iconTertiary_value = value_iconTertiary! - let value_iconTertiary_value_type : int32 = RuntimeType.UNDEFINED - value_iconTertiary_value_type = runtimeType(value_iconTertiary_value) - if (TypeChecker.isColor(value_iconTertiary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_iconTertiary_value_0 = value_iconTertiary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconTertiary_value_0)) + const value_compForegroundPrimary = value.compForegroundPrimary + let value_compForegroundPrimary_type : int32 = RuntimeType.UNDEFINED + value_compForegroundPrimary_type = runtimeType(value_compForegroundPrimary) + valueSerializer.writeInt8(value_compForegroundPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_compForegroundPrimary_type)) { + const value_compForegroundPrimary_value = value_compForegroundPrimary! + let value_compForegroundPrimary_value_type : int32 = RuntimeType.UNDEFINED + value_compForegroundPrimary_value_type = runtimeType(value_compForegroundPrimary_value) + if (TypeChecker.isColor(value_compForegroundPrimary_value)) { + valueSerializer.writeInt8(0) + const value_compForegroundPrimary_value_0 = value_compForegroundPrimary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compForegroundPrimary_value_0)) } - else if (RuntimeType.NUMBER == value_iconTertiary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_iconTertiary_value_1 = value_iconTertiary_value as number - valueSerializer.writeNumber(value_iconTertiary_value_1) + else if (RuntimeType.NUMBER == value_compForegroundPrimary_value_type) { + valueSerializer.writeInt8(1) + const value_compForegroundPrimary_value_1 = value_compForegroundPrimary_value as number + valueSerializer.writeNumber(value_compForegroundPrimary_value_1) } - else if (RuntimeType.STRING == value_iconTertiary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_iconTertiary_value_2 = value_iconTertiary_value as string - valueSerializer.writeString(value_iconTertiary_value_2) + else if (RuntimeType.STRING == value_compForegroundPrimary_value_type) { + valueSerializer.writeInt8(2) + const value_compForegroundPrimary_value_2 = value_compForegroundPrimary_value as string + valueSerializer.writeString(value_compForegroundPrimary_value_2) } - else if (RuntimeType.OBJECT == value_iconTertiary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_iconTertiary_value_3 = value_iconTertiary_value as Resource - valueSerializer.writeResource(value_iconTertiary_value_3) + else if (RuntimeType.OBJECT == value_compForegroundPrimary_value_type) { + valueSerializer.writeInt8(3) + const value_compForegroundPrimary_value_3 = value_compForegroundPrimary_value as Resource + valueSerializer.writeResource(value_compForegroundPrimary_value_3) } } - const value_iconFourth = value.iconFourth - let value_iconFourth_type : int32 = RuntimeType.UNDEFINED - value_iconFourth_type = runtimeType(value_iconFourth) - valueSerializer.writeInt8(value_iconFourth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_iconFourth_type)) { - const value_iconFourth_value = value_iconFourth! - let value_iconFourth_value_type : int32 = RuntimeType.UNDEFINED - value_iconFourth_value_type = runtimeType(value_iconFourth_value) - if (TypeChecker.isColor(value_iconFourth_value)) { - valueSerializer.writeInt8(0 as int32) - const value_iconFourth_value_0 = value_iconFourth_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconFourth_value_0)) + const value_compBackgroundPrimary = value.compBackgroundPrimary + let value_compBackgroundPrimary_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundPrimary_type = runtimeType(value_compBackgroundPrimary) + valueSerializer.writeInt8(value_compBackgroundPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundPrimary_type)) { + const value_compBackgroundPrimary_value = value_compBackgroundPrimary! + let value_compBackgroundPrimary_value_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundPrimary_value_type = runtimeType(value_compBackgroundPrimary_value) + if (TypeChecker.isColor(value_compBackgroundPrimary_value)) { + valueSerializer.writeInt8(0) + const value_compBackgroundPrimary_value_0 = value_compBackgroundPrimary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundPrimary_value_0)) } - else if (RuntimeType.NUMBER == value_iconFourth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_iconFourth_value_1 = value_iconFourth_value as number - valueSerializer.writeNumber(value_iconFourth_value_1) + else if (RuntimeType.NUMBER == value_compBackgroundPrimary_value_type) { + valueSerializer.writeInt8(1) + const value_compBackgroundPrimary_value_1 = value_compBackgroundPrimary_value as number + valueSerializer.writeNumber(value_compBackgroundPrimary_value_1) } - else if (RuntimeType.STRING == value_iconFourth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_iconFourth_value_2 = value_iconFourth_value as string - valueSerializer.writeString(value_iconFourth_value_2) + else if (RuntimeType.STRING == value_compBackgroundPrimary_value_type) { + valueSerializer.writeInt8(2) + const value_compBackgroundPrimary_value_2 = value_compBackgroundPrimary_value as string + valueSerializer.writeString(value_compBackgroundPrimary_value_2) } - else if (RuntimeType.OBJECT == value_iconFourth_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_iconFourth_value_3 = value_iconFourth_value as Resource - valueSerializer.writeResource(value_iconFourth_value_3) + else if (RuntimeType.OBJECT == value_compBackgroundPrimary_value_type) { + valueSerializer.writeInt8(3) + const value_compBackgroundPrimary_value_3 = value_compBackgroundPrimary_value as Resource + valueSerializer.writeResource(value_compBackgroundPrimary_value_3) } } - const value_iconEmphasize = value.iconEmphasize - let value_iconEmphasize_type : int32 = RuntimeType.UNDEFINED - value_iconEmphasize_type = runtimeType(value_iconEmphasize) - valueSerializer.writeInt8(value_iconEmphasize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_iconEmphasize_type)) { - const value_iconEmphasize_value = value_iconEmphasize! - let value_iconEmphasize_value_type : int32 = RuntimeType.UNDEFINED - value_iconEmphasize_value_type = runtimeType(value_iconEmphasize_value) - if (TypeChecker.isColor(value_iconEmphasize_value)) { - valueSerializer.writeInt8(0 as int32) - const value_iconEmphasize_value_0 = value_iconEmphasize_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconEmphasize_value_0)) + const value_compBackgroundPrimaryTran = value.compBackgroundPrimaryTran + let value_compBackgroundPrimaryTran_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundPrimaryTran_type = runtimeType(value_compBackgroundPrimaryTran) + valueSerializer.writeInt8(value_compBackgroundPrimaryTran_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundPrimaryTran_type)) { + const value_compBackgroundPrimaryTran_value = value_compBackgroundPrimaryTran! + let value_compBackgroundPrimaryTran_value_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundPrimaryTran_value_type = runtimeType(value_compBackgroundPrimaryTran_value) + if (TypeChecker.isColor(value_compBackgroundPrimaryTran_value)) { + valueSerializer.writeInt8(0) + const value_compBackgroundPrimaryTran_value_0 = value_compBackgroundPrimaryTran_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundPrimaryTran_value_0)) } - else if (RuntimeType.NUMBER == value_iconEmphasize_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_iconEmphasize_value_1 = value_iconEmphasize_value as number - valueSerializer.writeNumber(value_iconEmphasize_value_1) + else if (RuntimeType.NUMBER == value_compBackgroundPrimaryTran_value_type) { + valueSerializer.writeInt8(1) + const value_compBackgroundPrimaryTran_value_1 = value_compBackgroundPrimaryTran_value as number + valueSerializer.writeNumber(value_compBackgroundPrimaryTran_value_1) } - else if (RuntimeType.STRING == value_iconEmphasize_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_iconEmphasize_value_2 = value_iconEmphasize_value as string - valueSerializer.writeString(value_iconEmphasize_value_2) + else if (RuntimeType.STRING == value_compBackgroundPrimaryTran_value_type) { + valueSerializer.writeInt8(2) + const value_compBackgroundPrimaryTran_value_2 = value_compBackgroundPrimaryTran_value as string + valueSerializer.writeString(value_compBackgroundPrimaryTran_value_2) } - else if (RuntimeType.OBJECT == value_iconEmphasize_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_iconEmphasize_value_3 = value_iconEmphasize_value as Resource - valueSerializer.writeResource(value_iconEmphasize_value_3) + else if (RuntimeType.OBJECT == value_compBackgroundPrimaryTran_value_type) { + valueSerializer.writeInt8(3) + const value_compBackgroundPrimaryTran_value_3 = value_compBackgroundPrimaryTran_value as Resource + valueSerializer.writeResource(value_compBackgroundPrimaryTran_value_3) } } - const value_iconSubEmphasize = value.iconSubEmphasize - let value_iconSubEmphasize_type : int32 = RuntimeType.UNDEFINED - value_iconSubEmphasize_type = runtimeType(value_iconSubEmphasize) - valueSerializer.writeInt8(value_iconSubEmphasize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_iconSubEmphasize_type)) { - const value_iconSubEmphasize_value = value_iconSubEmphasize! - let value_iconSubEmphasize_value_type : int32 = RuntimeType.UNDEFINED - value_iconSubEmphasize_value_type = runtimeType(value_iconSubEmphasize_value) - if (TypeChecker.isColor(value_iconSubEmphasize_value)) { - valueSerializer.writeInt8(0 as int32) - const value_iconSubEmphasize_value_0 = value_iconSubEmphasize_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconSubEmphasize_value_0)) + const value_compBackgroundPrimaryContrary = value.compBackgroundPrimaryContrary + let value_compBackgroundPrimaryContrary_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundPrimaryContrary_type = runtimeType(value_compBackgroundPrimaryContrary) + valueSerializer.writeInt8(value_compBackgroundPrimaryContrary_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundPrimaryContrary_type)) { + const value_compBackgroundPrimaryContrary_value = value_compBackgroundPrimaryContrary! + let value_compBackgroundPrimaryContrary_value_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundPrimaryContrary_value_type = runtimeType(value_compBackgroundPrimaryContrary_value) + if (TypeChecker.isColor(value_compBackgroundPrimaryContrary_value)) { + valueSerializer.writeInt8(0) + const value_compBackgroundPrimaryContrary_value_0 = value_compBackgroundPrimaryContrary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundPrimaryContrary_value_0)) } - else if (RuntimeType.NUMBER == value_iconSubEmphasize_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_iconSubEmphasize_value_1 = value_iconSubEmphasize_value as number - valueSerializer.writeNumber(value_iconSubEmphasize_value_1) + else if (RuntimeType.NUMBER == value_compBackgroundPrimaryContrary_value_type) { + valueSerializer.writeInt8(1) + const value_compBackgroundPrimaryContrary_value_1 = value_compBackgroundPrimaryContrary_value as number + valueSerializer.writeNumber(value_compBackgroundPrimaryContrary_value_1) } - else if (RuntimeType.STRING == value_iconSubEmphasize_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_iconSubEmphasize_value_2 = value_iconSubEmphasize_value as string - valueSerializer.writeString(value_iconSubEmphasize_value_2) + else if (RuntimeType.STRING == value_compBackgroundPrimaryContrary_value_type) { + valueSerializer.writeInt8(2) + const value_compBackgroundPrimaryContrary_value_2 = value_compBackgroundPrimaryContrary_value as string + valueSerializer.writeString(value_compBackgroundPrimaryContrary_value_2) } - else if (RuntimeType.OBJECT == value_iconSubEmphasize_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_iconSubEmphasize_value_3 = value_iconSubEmphasize_value as Resource - valueSerializer.writeResource(value_iconSubEmphasize_value_3) + else if (RuntimeType.OBJECT == value_compBackgroundPrimaryContrary_value_type) { + valueSerializer.writeInt8(3) + const value_compBackgroundPrimaryContrary_value_3 = value_compBackgroundPrimaryContrary_value as Resource + valueSerializer.writeResource(value_compBackgroundPrimaryContrary_value_3) } } - const value_iconOnPrimary = value.iconOnPrimary - let value_iconOnPrimary_type : int32 = RuntimeType.UNDEFINED - value_iconOnPrimary_type = runtimeType(value_iconOnPrimary) - valueSerializer.writeInt8(value_iconOnPrimary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_iconOnPrimary_type)) { - const value_iconOnPrimary_value = value_iconOnPrimary! - let value_iconOnPrimary_value_type : int32 = RuntimeType.UNDEFINED - value_iconOnPrimary_value_type = runtimeType(value_iconOnPrimary_value) - if (TypeChecker.isColor(value_iconOnPrimary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_iconOnPrimary_value_0 = value_iconOnPrimary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconOnPrimary_value_0)) + const value_compBackgroundGray = value.compBackgroundGray + let value_compBackgroundGray_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundGray_type = runtimeType(value_compBackgroundGray) + valueSerializer.writeInt8(value_compBackgroundGray_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundGray_type)) { + const value_compBackgroundGray_value = value_compBackgroundGray! + let value_compBackgroundGray_value_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundGray_value_type = runtimeType(value_compBackgroundGray_value) + if (TypeChecker.isColor(value_compBackgroundGray_value)) { + valueSerializer.writeInt8(0) + const value_compBackgroundGray_value_0 = value_compBackgroundGray_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundGray_value_0)) } - else if (RuntimeType.NUMBER == value_iconOnPrimary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_iconOnPrimary_value_1 = value_iconOnPrimary_value as number - valueSerializer.writeNumber(value_iconOnPrimary_value_1) + else if (RuntimeType.NUMBER == value_compBackgroundGray_value_type) { + valueSerializer.writeInt8(1) + const value_compBackgroundGray_value_1 = value_compBackgroundGray_value as number + valueSerializer.writeNumber(value_compBackgroundGray_value_1) } - else if (RuntimeType.STRING == value_iconOnPrimary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_iconOnPrimary_value_2 = value_iconOnPrimary_value as string - valueSerializer.writeString(value_iconOnPrimary_value_2) + else if (RuntimeType.STRING == value_compBackgroundGray_value_type) { + valueSerializer.writeInt8(2) + const value_compBackgroundGray_value_2 = value_compBackgroundGray_value as string + valueSerializer.writeString(value_compBackgroundGray_value_2) } - else if (RuntimeType.OBJECT == value_iconOnPrimary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_iconOnPrimary_value_3 = value_iconOnPrimary_value as Resource - valueSerializer.writeResource(value_iconOnPrimary_value_3) + else if (RuntimeType.OBJECT == value_compBackgroundGray_value_type) { + valueSerializer.writeInt8(3) + const value_compBackgroundGray_value_3 = value_compBackgroundGray_value as Resource + valueSerializer.writeResource(value_compBackgroundGray_value_3) } } - const value_iconOnSecondary = value.iconOnSecondary - let value_iconOnSecondary_type : int32 = RuntimeType.UNDEFINED - value_iconOnSecondary_type = runtimeType(value_iconOnSecondary) - valueSerializer.writeInt8(value_iconOnSecondary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_iconOnSecondary_type)) { - const value_iconOnSecondary_value = value_iconOnSecondary! - let value_iconOnSecondary_value_type : int32 = RuntimeType.UNDEFINED - value_iconOnSecondary_value_type = runtimeType(value_iconOnSecondary_value) - if (TypeChecker.isColor(value_iconOnSecondary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_iconOnSecondary_value_0 = value_iconOnSecondary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconOnSecondary_value_0)) + const value_compBackgroundSecondary = value.compBackgroundSecondary + let value_compBackgroundSecondary_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundSecondary_type = runtimeType(value_compBackgroundSecondary) + valueSerializer.writeInt8(value_compBackgroundSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundSecondary_type)) { + const value_compBackgroundSecondary_value = value_compBackgroundSecondary! + let value_compBackgroundSecondary_value_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundSecondary_value_type = runtimeType(value_compBackgroundSecondary_value) + if (TypeChecker.isColor(value_compBackgroundSecondary_value)) { + valueSerializer.writeInt8(0) + const value_compBackgroundSecondary_value_0 = value_compBackgroundSecondary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundSecondary_value_0)) } - else if (RuntimeType.NUMBER == value_iconOnSecondary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_iconOnSecondary_value_1 = value_iconOnSecondary_value as number - valueSerializer.writeNumber(value_iconOnSecondary_value_1) + else if (RuntimeType.NUMBER == value_compBackgroundSecondary_value_type) { + valueSerializer.writeInt8(1) + const value_compBackgroundSecondary_value_1 = value_compBackgroundSecondary_value as number + valueSerializer.writeNumber(value_compBackgroundSecondary_value_1) } - else if (RuntimeType.STRING == value_iconOnSecondary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_iconOnSecondary_value_2 = value_iconOnSecondary_value as string - valueSerializer.writeString(value_iconOnSecondary_value_2) + else if (RuntimeType.STRING == value_compBackgroundSecondary_value_type) { + valueSerializer.writeInt8(2) + const value_compBackgroundSecondary_value_2 = value_compBackgroundSecondary_value as string + valueSerializer.writeString(value_compBackgroundSecondary_value_2) } - else if (RuntimeType.OBJECT == value_iconOnSecondary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_iconOnSecondary_value_3 = value_iconOnSecondary_value as Resource - valueSerializer.writeResource(value_iconOnSecondary_value_3) + else if (RuntimeType.OBJECT == value_compBackgroundSecondary_value_type) { + valueSerializer.writeInt8(3) + const value_compBackgroundSecondary_value_3 = value_compBackgroundSecondary_value as Resource + valueSerializer.writeResource(value_compBackgroundSecondary_value_3) } } - const value_iconOnTertiary = value.iconOnTertiary - let value_iconOnTertiary_type : int32 = RuntimeType.UNDEFINED - value_iconOnTertiary_type = runtimeType(value_iconOnTertiary) - valueSerializer.writeInt8(value_iconOnTertiary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_iconOnTertiary_type)) { - const value_iconOnTertiary_value = value_iconOnTertiary! - let value_iconOnTertiary_value_type : int32 = RuntimeType.UNDEFINED - value_iconOnTertiary_value_type = runtimeType(value_iconOnTertiary_value) - if (TypeChecker.isColor(value_iconOnTertiary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_iconOnTertiary_value_0 = value_iconOnTertiary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconOnTertiary_value_0)) + const value_compBackgroundTertiary = value.compBackgroundTertiary + let value_compBackgroundTertiary_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundTertiary_type = runtimeType(value_compBackgroundTertiary) + valueSerializer.writeInt8(value_compBackgroundTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundTertiary_type)) { + const value_compBackgroundTertiary_value = value_compBackgroundTertiary! + let value_compBackgroundTertiary_value_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundTertiary_value_type = runtimeType(value_compBackgroundTertiary_value) + if (TypeChecker.isColor(value_compBackgroundTertiary_value)) { + valueSerializer.writeInt8(0) + const value_compBackgroundTertiary_value_0 = value_compBackgroundTertiary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundTertiary_value_0)) } - else if (RuntimeType.NUMBER == value_iconOnTertiary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_iconOnTertiary_value_1 = value_iconOnTertiary_value as number - valueSerializer.writeNumber(value_iconOnTertiary_value_1) + else if (RuntimeType.NUMBER == value_compBackgroundTertiary_value_type) { + valueSerializer.writeInt8(1) + const value_compBackgroundTertiary_value_1 = value_compBackgroundTertiary_value as number + valueSerializer.writeNumber(value_compBackgroundTertiary_value_1) } - else if (RuntimeType.STRING == value_iconOnTertiary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_iconOnTertiary_value_2 = value_iconOnTertiary_value as string - valueSerializer.writeString(value_iconOnTertiary_value_2) + else if (RuntimeType.STRING == value_compBackgroundTertiary_value_type) { + valueSerializer.writeInt8(2) + const value_compBackgroundTertiary_value_2 = value_compBackgroundTertiary_value as string + valueSerializer.writeString(value_compBackgroundTertiary_value_2) } - else if (RuntimeType.OBJECT == value_iconOnTertiary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_iconOnTertiary_value_3 = value_iconOnTertiary_value as Resource - valueSerializer.writeResource(value_iconOnTertiary_value_3) + else if (RuntimeType.OBJECT == value_compBackgroundTertiary_value_type) { + valueSerializer.writeInt8(3) + const value_compBackgroundTertiary_value_3 = value_compBackgroundTertiary_value as Resource + valueSerializer.writeResource(value_compBackgroundTertiary_value_3) } } - const value_iconOnFourth = value.iconOnFourth - let value_iconOnFourth_type : int32 = RuntimeType.UNDEFINED - value_iconOnFourth_type = runtimeType(value_iconOnFourth) - valueSerializer.writeInt8(value_iconOnFourth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_iconOnFourth_type)) { - const value_iconOnFourth_value = value_iconOnFourth! - let value_iconOnFourth_value_type : int32 = RuntimeType.UNDEFINED - value_iconOnFourth_value_type = runtimeType(value_iconOnFourth_value) - if (TypeChecker.isColor(value_iconOnFourth_value)) { - valueSerializer.writeInt8(0 as int32) - const value_iconOnFourth_value_0 = value_iconOnFourth_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_iconOnFourth_value_0)) + const value_compBackgroundEmphasize = value.compBackgroundEmphasize + let value_compBackgroundEmphasize_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundEmphasize_type = runtimeType(value_compBackgroundEmphasize) + valueSerializer.writeInt8(value_compBackgroundEmphasize_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundEmphasize_type)) { + const value_compBackgroundEmphasize_value = value_compBackgroundEmphasize! + let value_compBackgroundEmphasize_value_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundEmphasize_value_type = runtimeType(value_compBackgroundEmphasize_value) + if (TypeChecker.isColor(value_compBackgroundEmphasize_value)) { + valueSerializer.writeInt8(0) + const value_compBackgroundEmphasize_value_0 = value_compBackgroundEmphasize_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundEmphasize_value_0)) } - else if (RuntimeType.NUMBER == value_iconOnFourth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_iconOnFourth_value_1 = value_iconOnFourth_value as number - valueSerializer.writeNumber(value_iconOnFourth_value_1) + else if (RuntimeType.NUMBER == value_compBackgroundEmphasize_value_type) { + valueSerializer.writeInt8(1) + const value_compBackgroundEmphasize_value_1 = value_compBackgroundEmphasize_value as number + valueSerializer.writeNumber(value_compBackgroundEmphasize_value_1) } - else if (RuntimeType.STRING == value_iconOnFourth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_iconOnFourth_value_2 = value_iconOnFourth_value as string - valueSerializer.writeString(value_iconOnFourth_value_2) + else if (RuntimeType.STRING == value_compBackgroundEmphasize_value_type) { + valueSerializer.writeInt8(2) + const value_compBackgroundEmphasize_value_2 = value_compBackgroundEmphasize_value as string + valueSerializer.writeString(value_compBackgroundEmphasize_value_2) } - else if (RuntimeType.OBJECT == value_iconOnFourth_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_iconOnFourth_value_3 = value_iconOnFourth_value as Resource - valueSerializer.writeResource(value_iconOnFourth_value_3) + else if (RuntimeType.OBJECT == value_compBackgroundEmphasize_value_type) { + valueSerializer.writeInt8(3) + const value_compBackgroundEmphasize_value_3 = value_compBackgroundEmphasize_value as Resource + valueSerializer.writeResource(value_compBackgroundEmphasize_value_3) } } - const value_backgroundPrimary = value.backgroundPrimary - let value_backgroundPrimary_type : int32 = RuntimeType.UNDEFINED - value_backgroundPrimary_type = runtimeType(value_backgroundPrimary) - valueSerializer.writeInt8(value_backgroundPrimary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundPrimary_type)) { - const value_backgroundPrimary_value = value_backgroundPrimary! - let value_backgroundPrimary_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundPrimary_value_type = runtimeType(value_backgroundPrimary_value) - if (TypeChecker.isColor(value_backgroundPrimary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundPrimary_value_0 = value_backgroundPrimary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundPrimary_value_0)) - } - else if (RuntimeType.NUMBER == value_backgroundPrimary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundPrimary_value_1 = value_backgroundPrimary_value as number - valueSerializer.writeNumber(value_backgroundPrimary_value_1) + const value_compBackgroundNeutral = value.compBackgroundNeutral + let value_compBackgroundNeutral_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundNeutral_type = runtimeType(value_compBackgroundNeutral) + valueSerializer.writeInt8(value_compBackgroundNeutral_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundNeutral_type)) { + const value_compBackgroundNeutral_value = value_compBackgroundNeutral! + let value_compBackgroundNeutral_value_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundNeutral_value_type = runtimeType(value_compBackgroundNeutral_value) + if (TypeChecker.isColor(value_compBackgroundNeutral_value)) { + valueSerializer.writeInt8(0) + const value_compBackgroundNeutral_value_0 = value_compBackgroundNeutral_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundNeutral_value_0)) } - else if (RuntimeType.STRING == value_backgroundPrimary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundPrimary_value_2 = value_backgroundPrimary_value as string - valueSerializer.writeString(value_backgroundPrimary_value_2) + else if (RuntimeType.NUMBER == value_compBackgroundNeutral_value_type) { + valueSerializer.writeInt8(1) + const value_compBackgroundNeutral_value_1 = value_compBackgroundNeutral_value as number + valueSerializer.writeNumber(value_compBackgroundNeutral_value_1) } - else if (RuntimeType.OBJECT == value_backgroundPrimary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundPrimary_value_3 = value_backgroundPrimary_value as Resource - valueSerializer.writeResource(value_backgroundPrimary_value_3) + else if (RuntimeType.STRING == value_compBackgroundNeutral_value_type) { + valueSerializer.writeInt8(2) + const value_compBackgroundNeutral_value_2 = value_compBackgroundNeutral_value as string + valueSerializer.writeString(value_compBackgroundNeutral_value_2) + } + else if (RuntimeType.OBJECT == value_compBackgroundNeutral_value_type) { + valueSerializer.writeInt8(3) + const value_compBackgroundNeutral_value_3 = value_compBackgroundNeutral_value as Resource + valueSerializer.writeResource(value_compBackgroundNeutral_value_3) } } - const value_backgroundSecondary = value.backgroundSecondary - let value_backgroundSecondary_type : int32 = RuntimeType.UNDEFINED - value_backgroundSecondary_type = runtimeType(value_backgroundSecondary) - valueSerializer.writeInt8(value_backgroundSecondary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundSecondary_type)) { - const value_backgroundSecondary_value = value_backgroundSecondary! - let value_backgroundSecondary_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundSecondary_value_type = runtimeType(value_backgroundSecondary_value) - if (TypeChecker.isColor(value_backgroundSecondary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundSecondary_value_0 = value_backgroundSecondary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundSecondary_value_0)) + const value_compEmphasizeSecondary = value.compEmphasizeSecondary + let value_compEmphasizeSecondary_type : int32 = RuntimeType.UNDEFINED + value_compEmphasizeSecondary_type = runtimeType(value_compEmphasizeSecondary) + valueSerializer.writeInt8(value_compEmphasizeSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_compEmphasizeSecondary_type)) { + const value_compEmphasizeSecondary_value = value_compEmphasizeSecondary! + let value_compEmphasizeSecondary_value_type : int32 = RuntimeType.UNDEFINED + value_compEmphasizeSecondary_value_type = runtimeType(value_compEmphasizeSecondary_value) + if (TypeChecker.isColor(value_compEmphasizeSecondary_value)) { + valueSerializer.writeInt8(0) + const value_compEmphasizeSecondary_value_0 = value_compEmphasizeSecondary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compEmphasizeSecondary_value_0)) } - else if (RuntimeType.NUMBER == value_backgroundSecondary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundSecondary_value_1 = value_backgroundSecondary_value as number - valueSerializer.writeNumber(value_backgroundSecondary_value_1) + else if (RuntimeType.NUMBER == value_compEmphasizeSecondary_value_type) { + valueSerializer.writeInt8(1) + const value_compEmphasizeSecondary_value_1 = value_compEmphasizeSecondary_value as number + valueSerializer.writeNumber(value_compEmphasizeSecondary_value_1) } - else if (RuntimeType.STRING == value_backgroundSecondary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundSecondary_value_2 = value_backgroundSecondary_value as string - valueSerializer.writeString(value_backgroundSecondary_value_2) + else if (RuntimeType.STRING == value_compEmphasizeSecondary_value_type) { + valueSerializer.writeInt8(2) + const value_compEmphasizeSecondary_value_2 = value_compEmphasizeSecondary_value as string + valueSerializer.writeString(value_compEmphasizeSecondary_value_2) } - else if (RuntimeType.OBJECT == value_backgroundSecondary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundSecondary_value_3 = value_backgroundSecondary_value as Resource - valueSerializer.writeResource(value_backgroundSecondary_value_3) + else if (RuntimeType.OBJECT == value_compEmphasizeSecondary_value_type) { + valueSerializer.writeInt8(3) + const value_compEmphasizeSecondary_value_3 = value_compEmphasizeSecondary_value as Resource + valueSerializer.writeResource(value_compEmphasizeSecondary_value_3) } } - const value_backgroundTertiary = value.backgroundTertiary - let value_backgroundTertiary_type : int32 = RuntimeType.UNDEFINED - value_backgroundTertiary_type = runtimeType(value_backgroundTertiary) - valueSerializer.writeInt8(value_backgroundTertiary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundTertiary_type)) { - const value_backgroundTertiary_value = value_backgroundTertiary! - let value_backgroundTertiary_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundTertiary_value_type = runtimeType(value_backgroundTertiary_value) - if (TypeChecker.isColor(value_backgroundTertiary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundTertiary_value_0 = value_backgroundTertiary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundTertiary_value_0)) + const value_compEmphasizeTertiary = value.compEmphasizeTertiary + let value_compEmphasizeTertiary_type : int32 = RuntimeType.UNDEFINED + value_compEmphasizeTertiary_type = runtimeType(value_compEmphasizeTertiary) + valueSerializer.writeInt8(value_compEmphasizeTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_compEmphasizeTertiary_type)) { + const value_compEmphasizeTertiary_value = value_compEmphasizeTertiary! + let value_compEmphasizeTertiary_value_type : int32 = RuntimeType.UNDEFINED + value_compEmphasizeTertiary_value_type = runtimeType(value_compEmphasizeTertiary_value) + if (TypeChecker.isColor(value_compEmphasizeTertiary_value)) { + valueSerializer.writeInt8(0) + const value_compEmphasizeTertiary_value_0 = value_compEmphasizeTertiary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compEmphasizeTertiary_value_0)) } - else if (RuntimeType.NUMBER == value_backgroundTertiary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundTertiary_value_1 = value_backgroundTertiary_value as number - valueSerializer.writeNumber(value_backgroundTertiary_value_1) + else if (RuntimeType.NUMBER == value_compEmphasizeTertiary_value_type) { + valueSerializer.writeInt8(1) + const value_compEmphasizeTertiary_value_1 = value_compEmphasizeTertiary_value as number + valueSerializer.writeNumber(value_compEmphasizeTertiary_value_1) } - else if (RuntimeType.STRING == value_backgroundTertiary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundTertiary_value_2 = value_backgroundTertiary_value as string - valueSerializer.writeString(value_backgroundTertiary_value_2) + else if (RuntimeType.STRING == value_compEmphasizeTertiary_value_type) { + valueSerializer.writeInt8(2) + const value_compEmphasizeTertiary_value_2 = value_compEmphasizeTertiary_value as string + valueSerializer.writeString(value_compEmphasizeTertiary_value_2) } - else if (RuntimeType.OBJECT == value_backgroundTertiary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundTertiary_value_3 = value_backgroundTertiary_value as Resource - valueSerializer.writeResource(value_backgroundTertiary_value_3) + else if (RuntimeType.OBJECT == value_compEmphasizeTertiary_value_type) { + valueSerializer.writeInt8(3) + const value_compEmphasizeTertiary_value_3 = value_compEmphasizeTertiary_value as Resource + valueSerializer.writeResource(value_compEmphasizeTertiary_value_3) } } - const value_backgroundFourth = value.backgroundFourth - let value_backgroundFourth_type : int32 = RuntimeType.UNDEFINED - value_backgroundFourth_type = runtimeType(value_backgroundFourth) - valueSerializer.writeInt8(value_backgroundFourth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundFourth_type)) { - const value_backgroundFourth_value = value_backgroundFourth! - let value_backgroundFourth_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundFourth_value_type = runtimeType(value_backgroundFourth_value) - if (TypeChecker.isColor(value_backgroundFourth_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundFourth_value_0 = value_backgroundFourth_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundFourth_value_0)) + const value_compDivider = value.compDivider + let value_compDivider_type : int32 = RuntimeType.UNDEFINED + value_compDivider_type = runtimeType(value_compDivider) + valueSerializer.writeInt8(value_compDivider_type) + if ((RuntimeType.UNDEFINED) != (value_compDivider_type)) { + const value_compDivider_value = value_compDivider! + let value_compDivider_value_type : int32 = RuntimeType.UNDEFINED + value_compDivider_value_type = runtimeType(value_compDivider_value) + if (TypeChecker.isColor(value_compDivider_value)) { + valueSerializer.writeInt8(0) + const value_compDivider_value_0 = value_compDivider_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compDivider_value_0)) } - else if (RuntimeType.NUMBER == value_backgroundFourth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundFourth_value_1 = value_backgroundFourth_value as number - valueSerializer.writeNumber(value_backgroundFourth_value_1) + else if (RuntimeType.NUMBER == value_compDivider_value_type) { + valueSerializer.writeInt8(1) + const value_compDivider_value_1 = value_compDivider_value as number + valueSerializer.writeNumber(value_compDivider_value_1) } - else if (RuntimeType.STRING == value_backgroundFourth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundFourth_value_2 = value_backgroundFourth_value as string - valueSerializer.writeString(value_backgroundFourth_value_2) + else if (RuntimeType.STRING == value_compDivider_value_type) { + valueSerializer.writeInt8(2) + const value_compDivider_value_2 = value_compDivider_value as string + valueSerializer.writeString(value_compDivider_value_2) } - else if (RuntimeType.OBJECT == value_backgroundFourth_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundFourth_value_3 = value_backgroundFourth_value as Resource - valueSerializer.writeResource(value_backgroundFourth_value_3) + else if (RuntimeType.OBJECT == value_compDivider_value_type) { + valueSerializer.writeInt8(3) + const value_compDivider_value_3 = value_compDivider_value as Resource + valueSerializer.writeResource(value_compDivider_value_3) } } - const value_backgroundEmphasize = value.backgroundEmphasize - let value_backgroundEmphasize_type : int32 = RuntimeType.UNDEFINED - value_backgroundEmphasize_type = runtimeType(value_backgroundEmphasize) - valueSerializer.writeInt8(value_backgroundEmphasize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundEmphasize_type)) { - const value_backgroundEmphasize_value = value_backgroundEmphasize! - let value_backgroundEmphasize_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundEmphasize_value_type = runtimeType(value_backgroundEmphasize_value) - if (TypeChecker.isColor(value_backgroundEmphasize_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundEmphasize_value_0 = value_backgroundEmphasize_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundEmphasize_value_0)) + const value_compCommonContrary = value.compCommonContrary + let value_compCommonContrary_type : int32 = RuntimeType.UNDEFINED + value_compCommonContrary_type = runtimeType(value_compCommonContrary) + valueSerializer.writeInt8(value_compCommonContrary_type) + if ((RuntimeType.UNDEFINED) != (value_compCommonContrary_type)) { + const value_compCommonContrary_value = value_compCommonContrary! + let value_compCommonContrary_value_type : int32 = RuntimeType.UNDEFINED + value_compCommonContrary_value_type = runtimeType(value_compCommonContrary_value) + if (TypeChecker.isColor(value_compCommonContrary_value)) { + valueSerializer.writeInt8(0) + const value_compCommonContrary_value_0 = value_compCommonContrary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compCommonContrary_value_0)) } - else if (RuntimeType.NUMBER == value_backgroundEmphasize_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundEmphasize_value_1 = value_backgroundEmphasize_value as number - valueSerializer.writeNumber(value_backgroundEmphasize_value_1) + else if (RuntimeType.NUMBER == value_compCommonContrary_value_type) { + valueSerializer.writeInt8(1) + const value_compCommonContrary_value_1 = value_compCommonContrary_value as number + valueSerializer.writeNumber(value_compCommonContrary_value_1) } - else if (RuntimeType.STRING == value_backgroundEmphasize_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundEmphasize_value_2 = value_backgroundEmphasize_value as string - valueSerializer.writeString(value_backgroundEmphasize_value_2) + else if (RuntimeType.STRING == value_compCommonContrary_value_type) { + valueSerializer.writeInt8(2) + const value_compCommonContrary_value_2 = value_compCommonContrary_value as string + valueSerializer.writeString(value_compCommonContrary_value_2) } - else if (RuntimeType.OBJECT == value_backgroundEmphasize_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundEmphasize_value_3 = value_backgroundEmphasize_value as Resource - valueSerializer.writeResource(value_backgroundEmphasize_value_3) + else if (RuntimeType.OBJECT == value_compCommonContrary_value_type) { + valueSerializer.writeInt8(3) + const value_compCommonContrary_value_3 = value_compCommonContrary_value as Resource + valueSerializer.writeResource(value_compCommonContrary_value_3) } } - const value_compForegroundPrimary = value.compForegroundPrimary - let value_compForegroundPrimary_type : int32 = RuntimeType.UNDEFINED - value_compForegroundPrimary_type = runtimeType(value_compForegroundPrimary) - valueSerializer.writeInt8(value_compForegroundPrimary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compForegroundPrimary_type)) { - const value_compForegroundPrimary_value = value_compForegroundPrimary! - let value_compForegroundPrimary_value_type : int32 = RuntimeType.UNDEFINED - value_compForegroundPrimary_value_type = runtimeType(value_compForegroundPrimary_value) - if (TypeChecker.isColor(value_compForegroundPrimary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compForegroundPrimary_value_0 = value_compForegroundPrimary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compForegroundPrimary_value_0)) + const value_compBackgroundFocus = value.compBackgroundFocus + let value_compBackgroundFocus_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundFocus_type = runtimeType(value_compBackgroundFocus) + valueSerializer.writeInt8(value_compBackgroundFocus_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundFocus_type)) { + const value_compBackgroundFocus_value = value_compBackgroundFocus! + let value_compBackgroundFocus_value_type : int32 = RuntimeType.UNDEFINED + value_compBackgroundFocus_value_type = runtimeType(value_compBackgroundFocus_value) + if (TypeChecker.isColor(value_compBackgroundFocus_value)) { + valueSerializer.writeInt8(0) + const value_compBackgroundFocus_value_0 = value_compBackgroundFocus_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundFocus_value_0)) } - else if (RuntimeType.NUMBER == value_compForegroundPrimary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compForegroundPrimary_value_1 = value_compForegroundPrimary_value as number - valueSerializer.writeNumber(value_compForegroundPrimary_value_1) + else if (RuntimeType.NUMBER == value_compBackgroundFocus_value_type) { + valueSerializer.writeInt8(1) + const value_compBackgroundFocus_value_1 = value_compBackgroundFocus_value as number + valueSerializer.writeNumber(value_compBackgroundFocus_value_1) } - else if (RuntimeType.STRING == value_compForegroundPrimary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compForegroundPrimary_value_2 = value_compForegroundPrimary_value as string - valueSerializer.writeString(value_compForegroundPrimary_value_2) + else if (RuntimeType.STRING == value_compBackgroundFocus_value_type) { + valueSerializer.writeInt8(2) + const value_compBackgroundFocus_value_2 = value_compBackgroundFocus_value as string + valueSerializer.writeString(value_compBackgroundFocus_value_2) } - else if (RuntimeType.OBJECT == value_compForegroundPrimary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compForegroundPrimary_value_3 = value_compForegroundPrimary_value as Resource - valueSerializer.writeResource(value_compForegroundPrimary_value_3) + else if (RuntimeType.OBJECT == value_compBackgroundFocus_value_type) { + valueSerializer.writeInt8(3) + const value_compBackgroundFocus_value_3 = value_compBackgroundFocus_value as Resource + valueSerializer.writeResource(value_compBackgroundFocus_value_3) } } - const value_compBackgroundPrimary = value.compBackgroundPrimary - let value_compBackgroundPrimary_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundPrimary_type = runtimeType(value_compBackgroundPrimary) - valueSerializer.writeInt8(value_compBackgroundPrimary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundPrimary_type)) { - const value_compBackgroundPrimary_value = value_compBackgroundPrimary! - let value_compBackgroundPrimary_value_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundPrimary_value_type = runtimeType(value_compBackgroundPrimary_value) - if (TypeChecker.isColor(value_compBackgroundPrimary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compBackgroundPrimary_value_0 = value_compBackgroundPrimary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundPrimary_value_0)) + const value_compFocusedPrimary = value.compFocusedPrimary + let value_compFocusedPrimary_type : int32 = RuntimeType.UNDEFINED + value_compFocusedPrimary_type = runtimeType(value_compFocusedPrimary) + valueSerializer.writeInt8(value_compFocusedPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_compFocusedPrimary_type)) { + const value_compFocusedPrimary_value = value_compFocusedPrimary! + let value_compFocusedPrimary_value_type : int32 = RuntimeType.UNDEFINED + value_compFocusedPrimary_value_type = runtimeType(value_compFocusedPrimary_value) + if (TypeChecker.isColor(value_compFocusedPrimary_value)) { + valueSerializer.writeInt8(0) + const value_compFocusedPrimary_value_0 = value_compFocusedPrimary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compFocusedPrimary_value_0)) } - else if (RuntimeType.NUMBER == value_compBackgroundPrimary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compBackgroundPrimary_value_1 = value_compBackgroundPrimary_value as number - valueSerializer.writeNumber(value_compBackgroundPrimary_value_1) + else if (RuntimeType.NUMBER == value_compFocusedPrimary_value_type) { + valueSerializer.writeInt8(1) + const value_compFocusedPrimary_value_1 = value_compFocusedPrimary_value as number + valueSerializer.writeNumber(value_compFocusedPrimary_value_1) } - else if (RuntimeType.STRING == value_compBackgroundPrimary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compBackgroundPrimary_value_2 = value_compBackgroundPrimary_value as string - valueSerializer.writeString(value_compBackgroundPrimary_value_2) + else if (RuntimeType.STRING == value_compFocusedPrimary_value_type) { + valueSerializer.writeInt8(2) + const value_compFocusedPrimary_value_2 = value_compFocusedPrimary_value as string + valueSerializer.writeString(value_compFocusedPrimary_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundPrimary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compBackgroundPrimary_value_3 = value_compBackgroundPrimary_value as Resource - valueSerializer.writeResource(value_compBackgroundPrimary_value_3) + else if (RuntimeType.OBJECT == value_compFocusedPrimary_value_type) { + valueSerializer.writeInt8(3) + const value_compFocusedPrimary_value_3 = value_compFocusedPrimary_value as Resource + valueSerializer.writeResource(value_compFocusedPrimary_value_3) } } - const value_compBackgroundPrimaryTran = value.compBackgroundPrimaryTran - let value_compBackgroundPrimaryTran_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundPrimaryTran_type = runtimeType(value_compBackgroundPrimaryTran) - valueSerializer.writeInt8(value_compBackgroundPrimaryTran_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundPrimaryTran_type)) { - const value_compBackgroundPrimaryTran_value = value_compBackgroundPrimaryTran! - let value_compBackgroundPrimaryTran_value_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundPrimaryTran_value_type = runtimeType(value_compBackgroundPrimaryTran_value) - if (TypeChecker.isColor(value_compBackgroundPrimaryTran_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compBackgroundPrimaryTran_value_0 = value_compBackgroundPrimaryTran_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundPrimaryTran_value_0)) - } - else if (RuntimeType.NUMBER == value_compBackgroundPrimaryTran_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compBackgroundPrimaryTran_value_1 = value_compBackgroundPrimaryTran_value as number - valueSerializer.writeNumber(value_compBackgroundPrimaryTran_value_1) - } - else if (RuntimeType.STRING == value_compBackgroundPrimaryTran_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compBackgroundPrimaryTran_value_2 = value_compBackgroundPrimaryTran_value as string - valueSerializer.writeString(value_compBackgroundPrimaryTran_value_2) - } - else if (RuntimeType.OBJECT == value_compBackgroundPrimaryTran_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compBackgroundPrimaryTran_value_3 = value_compBackgroundPrimaryTran_value as Resource - valueSerializer.writeResource(value_compBackgroundPrimaryTran_value_3) + const value_compFocusedSecondary = value.compFocusedSecondary + let value_compFocusedSecondary_type : int32 = RuntimeType.UNDEFINED + value_compFocusedSecondary_type = runtimeType(value_compFocusedSecondary) + valueSerializer.writeInt8(value_compFocusedSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_compFocusedSecondary_type)) { + const value_compFocusedSecondary_value = value_compFocusedSecondary! + let value_compFocusedSecondary_value_type : int32 = RuntimeType.UNDEFINED + value_compFocusedSecondary_value_type = runtimeType(value_compFocusedSecondary_value) + if (TypeChecker.isColor(value_compFocusedSecondary_value)) { + valueSerializer.writeInt8(0) + const value_compFocusedSecondary_value_0 = value_compFocusedSecondary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compFocusedSecondary_value_0)) + } + else if (RuntimeType.NUMBER == value_compFocusedSecondary_value_type) { + valueSerializer.writeInt8(1) + const value_compFocusedSecondary_value_1 = value_compFocusedSecondary_value as number + valueSerializer.writeNumber(value_compFocusedSecondary_value_1) + } + else if (RuntimeType.STRING == value_compFocusedSecondary_value_type) { + valueSerializer.writeInt8(2) + const value_compFocusedSecondary_value_2 = value_compFocusedSecondary_value as string + valueSerializer.writeString(value_compFocusedSecondary_value_2) + } + else if (RuntimeType.OBJECT == value_compFocusedSecondary_value_type) { + valueSerializer.writeInt8(3) + const value_compFocusedSecondary_value_3 = value_compFocusedSecondary_value as Resource + valueSerializer.writeResource(value_compFocusedSecondary_value_3) } } - const value_compBackgroundPrimaryContrary = value.compBackgroundPrimaryContrary - let value_compBackgroundPrimaryContrary_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundPrimaryContrary_type = runtimeType(value_compBackgroundPrimaryContrary) - valueSerializer.writeInt8(value_compBackgroundPrimaryContrary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundPrimaryContrary_type)) { - const value_compBackgroundPrimaryContrary_value = value_compBackgroundPrimaryContrary! - let value_compBackgroundPrimaryContrary_value_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundPrimaryContrary_value_type = runtimeType(value_compBackgroundPrimaryContrary_value) - if (TypeChecker.isColor(value_compBackgroundPrimaryContrary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compBackgroundPrimaryContrary_value_0 = value_compBackgroundPrimaryContrary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundPrimaryContrary_value_0)) + const value_compFocusedTertiary = value.compFocusedTertiary + let value_compFocusedTertiary_type : int32 = RuntimeType.UNDEFINED + value_compFocusedTertiary_type = runtimeType(value_compFocusedTertiary) + valueSerializer.writeInt8(value_compFocusedTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_compFocusedTertiary_type)) { + const value_compFocusedTertiary_value = value_compFocusedTertiary! + let value_compFocusedTertiary_value_type : int32 = RuntimeType.UNDEFINED + value_compFocusedTertiary_value_type = runtimeType(value_compFocusedTertiary_value) + if (TypeChecker.isColor(value_compFocusedTertiary_value)) { + valueSerializer.writeInt8(0) + const value_compFocusedTertiary_value_0 = value_compFocusedTertiary_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compFocusedTertiary_value_0)) } - else if (RuntimeType.NUMBER == value_compBackgroundPrimaryContrary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compBackgroundPrimaryContrary_value_1 = value_compBackgroundPrimaryContrary_value as number - valueSerializer.writeNumber(value_compBackgroundPrimaryContrary_value_1) + else if (RuntimeType.NUMBER == value_compFocusedTertiary_value_type) { + valueSerializer.writeInt8(1) + const value_compFocusedTertiary_value_1 = value_compFocusedTertiary_value as number + valueSerializer.writeNumber(value_compFocusedTertiary_value_1) } - else if (RuntimeType.STRING == value_compBackgroundPrimaryContrary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compBackgroundPrimaryContrary_value_2 = value_compBackgroundPrimaryContrary_value as string - valueSerializer.writeString(value_compBackgroundPrimaryContrary_value_2) + else if (RuntimeType.STRING == value_compFocusedTertiary_value_type) { + valueSerializer.writeInt8(2) + const value_compFocusedTertiary_value_2 = value_compFocusedTertiary_value as string + valueSerializer.writeString(value_compFocusedTertiary_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundPrimaryContrary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compBackgroundPrimaryContrary_value_3 = value_compBackgroundPrimaryContrary_value as Resource - valueSerializer.writeResource(value_compBackgroundPrimaryContrary_value_3) + else if (RuntimeType.OBJECT == value_compFocusedTertiary_value_type) { + valueSerializer.writeInt8(3) + const value_compFocusedTertiary_value_3 = value_compFocusedTertiary_value as Resource + valueSerializer.writeResource(value_compFocusedTertiary_value_3) } } - const value_compBackgroundGray = value.compBackgroundGray - let value_compBackgroundGray_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundGray_type = runtimeType(value_compBackgroundGray) - valueSerializer.writeInt8(value_compBackgroundGray_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundGray_type)) { - const value_compBackgroundGray_value = value_compBackgroundGray! - let value_compBackgroundGray_value_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundGray_value_type = runtimeType(value_compBackgroundGray_value) - if (TypeChecker.isColor(value_compBackgroundGray_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compBackgroundGray_value_0 = value_compBackgroundGray_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundGray_value_0)) + const value_interactiveHover = value.interactiveHover + let value_interactiveHover_type : int32 = RuntimeType.UNDEFINED + value_interactiveHover_type = runtimeType(value_interactiveHover) + valueSerializer.writeInt8(value_interactiveHover_type) + if ((RuntimeType.UNDEFINED) != (value_interactiveHover_type)) { + const value_interactiveHover_value = value_interactiveHover! + let value_interactiveHover_value_type : int32 = RuntimeType.UNDEFINED + value_interactiveHover_value_type = runtimeType(value_interactiveHover_value) + if (TypeChecker.isColor(value_interactiveHover_value)) { + valueSerializer.writeInt8(0) + const value_interactiveHover_value_0 = value_interactiveHover_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_interactiveHover_value_0)) } - else if (RuntimeType.NUMBER == value_compBackgroundGray_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compBackgroundGray_value_1 = value_compBackgroundGray_value as number - valueSerializer.writeNumber(value_compBackgroundGray_value_1) + else if (RuntimeType.NUMBER == value_interactiveHover_value_type) { + valueSerializer.writeInt8(1) + const value_interactiveHover_value_1 = value_interactiveHover_value as number + valueSerializer.writeNumber(value_interactiveHover_value_1) } - else if (RuntimeType.STRING == value_compBackgroundGray_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compBackgroundGray_value_2 = value_compBackgroundGray_value as string - valueSerializer.writeString(value_compBackgroundGray_value_2) + else if (RuntimeType.STRING == value_interactiveHover_value_type) { + valueSerializer.writeInt8(2) + const value_interactiveHover_value_2 = value_interactiveHover_value as string + valueSerializer.writeString(value_interactiveHover_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundGray_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compBackgroundGray_value_3 = value_compBackgroundGray_value as Resource - valueSerializer.writeResource(value_compBackgroundGray_value_3) + else if (RuntimeType.OBJECT == value_interactiveHover_value_type) { + valueSerializer.writeInt8(3) + const value_interactiveHover_value_3 = value_interactiveHover_value as Resource + valueSerializer.writeResource(value_interactiveHover_value_3) } } - const value_compBackgroundSecondary = value.compBackgroundSecondary - let value_compBackgroundSecondary_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundSecondary_type = runtimeType(value_compBackgroundSecondary) - valueSerializer.writeInt8(value_compBackgroundSecondary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundSecondary_type)) { - const value_compBackgroundSecondary_value = value_compBackgroundSecondary! - let value_compBackgroundSecondary_value_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundSecondary_value_type = runtimeType(value_compBackgroundSecondary_value) - if (TypeChecker.isColor(value_compBackgroundSecondary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compBackgroundSecondary_value_0 = value_compBackgroundSecondary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundSecondary_value_0)) + const value_interactivePressed = value.interactivePressed + let value_interactivePressed_type : int32 = RuntimeType.UNDEFINED + value_interactivePressed_type = runtimeType(value_interactivePressed) + valueSerializer.writeInt8(value_interactivePressed_type) + if ((RuntimeType.UNDEFINED) != (value_interactivePressed_type)) { + const value_interactivePressed_value = value_interactivePressed! + let value_interactivePressed_value_type : int32 = RuntimeType.UNDEFINED + value_interactivePressed_value_type = runtimeType(value_interactivePressed_value) + if (TypeChecker.isColor(value_interactivePressed_value)) { + valueSerializer.writeInt8(0) + const value_interactivePressed_value_0 = value_interactivePressed_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_interactivePressed_value_0)) } - else if (RuntimeType.NUMBER == value_compBackgroundSecondary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compBackgroundSecondary_value_1 = value_compBackgroundSecondary_value as number - valueSerializer.writeNumber(value_compBackgroundSecondary_value_1) + else if (RuntimeType.NUMBER == value_interactivePressed_value_type) { + valueSerializer.writeInt8(1) + const value_interactivePressed_value_1 = value_interactivePressed_value as number + valueSerializer.writeNumber(value_interactivePressed_value_1) } - else if (RuntimeType.STRING == value_compBackgroundSecondary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compBackgroundSecondary_value_2 = value_compBackgroundSecondary_value as string - valueSerializer.writeString(value_compBackgroundSecondary_value_2) + else if (RuntimeType.STRING == value_interactivePressed_value_type) { + valueSerializer.writeInt8(2) + const value_interactivePressed_value_2 = value_interactivePressed_value as string + valueSerializer.writeString(value_interactivePressed_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundSecondary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compBackgroundSecondary_value_3 = value_compBackgroundSecondary_value as Resource - valueSerializer.writeResource(value_compBackgroundSecondary_value_3) + else if (RuntimeType.OBJECT == value_interactivePressed_value_type) { + valueSerializer.writeInt8(3) + const value_interactivePressed_value_3 = value_interactivePressed_value as Resource + valueSerializer.writeResource(value_interactivePressed_value_3) } } - const value_compBackgroundTertiary = value.compBackgroundTertiary - let value_compBackgroundTertiary_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundTertiary_type = runtimeType(value_compBackgroundTertiary) - valueSerializer.writeInt8(value_compBackgroundTertiary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundTertiary_type)) { - const value_compBackgroundTertiary_value = value_compBackgroundTertiary! - let value_compBackgroundTertiary_value_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundTertiary_value_type = runtimeType(value_compBackgroundTertiary_value) - if (TypeChecker.isColor(value_compBackgroundTertiary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compBackgroundTertiary_value_0 = value_compBackgroundTertiary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundTertiary_value_0)) + const value_interactiveFocus = value.interactiveFocus + let value_interactiveFocus_type : int32 = RuntimeType.UNDEFINED + value_interactiveFocus_type = runtimeType(value_interactiveFocus) + valueSerializer.writeInt8(value_interactiveFocus_type) + if ((RuntimeType.UNDEFINED) != (value_interactiveFocus_type)) { + const value_interactiveFocus_value = value_interactiveFocus! + let value_interactiveFocus_value_type : int32 = RuntimeType.UNDEFINED + value_interactiveFocus_value_type = runtimeType(value_interactiveFocus_value) + if (TypeChecker.isColor(value_interactiveFocus_value)) { + valueSerializer.writeInt8(0) + const value_interactiveFocus_value_0 = value_interactiveFocus_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_interactiveFocus_value_0)) } - else if (RuntimeType.NUMBER == value_compBackgroundTertiary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compBackgroundTertiary_value_1 = value_compBackgroundTertiary_value as number - valueSerializer.writeNumber(value_compBackgroundTertiary_value_1) + else if (RuntimeType.NUMBER == value_interactiveFocus_value_type) { + valueSerializer.writeInt8(1) + const value_interactiveFocus_value_1 = value_interactiveFocus_value as number + valueSerializer.writeNumber(value_interactiveFocus_value_1) } - else if (RuntimeType.STRING == value_compBackgroundTertiary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compBackgroundTertiary_value_2 = value_compBackgroundTertiary_value as string - valueSerializer.writeString(value_compBackgroundTertiary_value_2) + else if (RuntimeType.STRING == value_interactiveFocus_value_type) { + valueSerializer.writeInt8(2) + const value_interactiveFocus_value_2 = value_interactiveFocus_value as string + valueSerializer.writeString(value_interactiveFocus_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundTertiary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compBackgroundTertiary_value_3 = value_compBackgroundTertiary_value as Resource - valueSerializer.writeResource(value_compBackgroundTertiary_value_3) + else if (RuntimeType.OBJECT == value_interactiveFocus_value_type) { + valueSerializer.writeInt8(3) + const value_interactiveFocus_value_3 = value_interactiveFocus_value as Resource + valueSerializer.writeResource(value_interactiveFocus_value_3) } } - const value_compBackgroundEmphasize = value.compBackgroundEmphasize - let value_compBackgroundEmphasize_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundEmphasize_type = runtimeType(value_compBackgroundEmphasize) - valueSerializer.writeInt8(value_compBackgroundEmphasize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundEmphasize_type)) { - const value_compBackgroundEmphasize_value = value_compBackgroundEmphasize! - let value_compBackgroundEmphasize_value_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundEmphasize_value_type = runtimeType(value_compBackgroundEmphasize_value) - if (TypeChecker.isColor(value_compBackgroundEmphasize_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compBackgroundEmphasize_value_0 = value_compBackgroundEmphasize_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundEmphasize_value_0)) + const value_interactiveActive = value.interactiveActive + let value_interactiveActive_type : int32 = RuntimeType.UNDEFINED + value_interactiveActive_type = runtimeType(value_interactiveActive) + valueSerializer.writeInt8(value_interactiveActive_type) + if ((RuntimeType.UNDEFINED) != (value_interactiveActive_type)) { + const value_interactiveActive_value = value_interactiveActive! + let value_interactiveActive_value_type : int32 = RuntimeType.UNDEFINED + value_interactiveActive_value_type = runtimeType(value_interactiveActive_value) + if (TypeChecker.isColor(value_interactiveActive_value)) { + valueSerializer.writeInt8(0) + const value_interactiveActive_value_0 = value_interactiveActive_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_interactiveActive_value_0)) } - else if (RuntimeType.NUMBER == value_compBackgroundEmphasize_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compBackgroundEmphasize_value_1 = value_compBackgroundEmphasize_value as number - valueSerializer.writeNumber(value_compBackgroundEmphasize_value_1) + else if (RuntimeType.NUMBER == value_interactiveActive_value_type) { + valueSerializer.writeInt8(1) + const value_interactiveActive_value_1 = value_interactiveActive_value as number + valueSerializer.writeNumber(value_interactiveActive_value_1) } - else if (RuntimeType.STRING == value_compBackgroundEmphasize_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compBackgroundEmphasize_value_2 = value_compBackgroundEmphasize_value as string - valueSerializer.writeString(value_compBackgroundEmphasize_value_2) + else if (RuntimeType.STRING == value_interactiveActive_value_type) { + valueSerializer.writeInt8(2) + const value_interactiveActive_value_2 = value_interactiveActive_value as string + valueSerializer.writeString(value_interactiveActive_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundEmphasize_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compBackgroundEmphasize_value_3 = value_compBackgroundEmphasize_value as Resource - valueSerializer.writeResource(value_compBackgroundEmphasize_value_3) + else if (RuntimeType.OBJECT == value_interactiveActive_value_type) { + valueSerializer.writeInt8(3) + const value_interactiveActive_value_3 = value_interactiveActive_value as Resource + valueSerializer.writeResource(value_interactiveActive_value_3) } } - const value_compBackgroundNeutral = value.compBackgroundNeutral - let value_compBackgroundNeutral_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundNeutral_type = runtimeType(value_compBackgroundNeutral) - valueSerializer.writeInt8(value_compBackgroundNeutral_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundNeutral_type)) { - const value_compBackgroundNeutral_value = value_compBackgroundNeutral! - let value_compBackgroundNeutral_value_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundNeutral_value_type = runtimeType(value_compBackgroundNeutral_value) - if (TypeChecker.isColor(value_compBackgroundNeutral_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compBackgroundNeutral_value_0 = value_compBackgroundNeutral_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundNeutral_value_0)) + const value_interactiveSelect = value.interactiveSelect + let value_interactiveSelect_type : int32 = RuntimeType.UNDEFINED + value_interactiveSelect_type = runtimeType(value_interactiveSelect) + valueSerializer.writeInt8(value_interactiveSelect_type) + if ((RuntimeType.UNDEFINED) != (value_interactiveSelect_type)) { + const value_interactiveSelect_value = value_interactiveSelect! + let value_interactiveSelect_value_type : int32 = RuntimeType.UNDEFINED + value_interactiveSelect_value_type = runtimeType(value_interactiveSelect_value) + if (TypeChecker.isColor(value_interactiveSelect_value)) { + valueSerializer.writeInt8(0) + const value_interactiveSelect_value_0 = value_interactiveSelect_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_interactiveSelect_value_0)) } - else if (RuntimeType.NUMBER == value_compBackgroundNeutral_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compBackgroundNeutral_value_1 = value_compBackgroundNeutral_value as number - valueSerializer.writeNumber(value_compBackgroundNeutral_value_1) + else if (RuntimeType.NUMBER == value_interactiveSelect_value_type) { + valueSerializer.writeInt8(1) + const value_interactiveSelect_value_1 = value_interactiveSelect_value as number + valueSerializer.writeNumber(value_interactiveSelect_value_1) } - else if (RuntimeType.STRING == value_compBackgroundNeutral_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compBackgroundNeutral_value_2 = value_compBackgroundNeutral_value as string - valueSerializer.writeString(value_compBackgroundNeutral_value_2) + else if (RuntimeType.STRING == value_interactiveSelect_value_type) { + valueSerializer.writeInt8(2) + const value_interactiveSelect_value_2 = value_interactiveSelect_value as string + valueSerializer.writeString(value_interactiveSelect_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundNeutral_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compBackgroundNeutral_value_3 = value_compBackgroundNeutral_value as Resource - valueSerializer.writeResource(value_compBackgroundNeutral_value_3) + else if (RuntimeType.OBJECT == value_interactiveSelect_value_type) { + valueSerializer.writeInt8(3) + const value_interactiveSelect_value_3 = value_interactiveSelect_value as Resource + valueSerializer.writeResource(value_interactiveSelect_value_3) } } - const value_compEmphasizeSecondary = value.compEmphasizeSecondary - let value_compEmphasizeSecondary_type : int32 = RuntimeType.UNDEFINED - value_compEmphasizeSecondary_type = runtimeType(value_compEmphasizeSecondary) - valueSerializer.writeInt8(value_compEmphasizeSecondary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compEmphasizeSecondary_type)) { - const value_compEmphasizeSecondary_value = value_compEmphasizeSecondary! - let value_compEmphasizeSecondary_value_type : int32 = RuntimeType.UNDEFINED - value_compEmphasizeSecondary_value_type = runtimeType(value_compEmphasizeSecondary_value) - if (TypeChecker.isColor(value_compEmphasizeSecondary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compEmphasizeSecondary_value_0 = value_compEmphasizeSecondary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compEmphasizeSecondary_value_0)) + const value_interactiveClick = value.interactiveClick + let value_interactiveClick_type : int32 = RuntimeType.UNDEFINED + value_interactiveClick_type = runtimeType(value_interactiveClick) + valueSerializer.writeInt8(value_interactiveClick_type) + if ((RuntimeType.UNDEFINED) != (value_interactiveClick_type)) { + const value_interactiveClick_value = value_interactiveClick! + let value_interactiveClick_value_type : int32 = RuntimeType.UNDEFINED + value_interactiveClick_value_type = runtimeType(value_interactiveClick_value) + if (TypeChecker.isColor(value_interactiveClick_value)) { + valueSerializer.writeInt8(0) + const value_interactiveClick_value_0 = value_interactiveClick_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_interactiveClick_value_0)) } - else if (RuntimeType.NUMBER == value_compEmphasizeSecondary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compEmphasizeSecondary_value_1 = value_compEmphasizeSecondary_value as number - valueSerializer.writeNumber(value_compEmphasizeSecondary_value_1) + else if (RuntimeType.NUMBER == value_interactiveClick_value_type) { + valueSerializer.writeInt8(1) + const value_interactiveClick_value_1 = value_interactiveClick_value as number + valueSerializer.writeNumber(value_interactiveClick_value_1) } - else if (RuntimeType.STRING == value_compEmphasizeSecondary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compEmphasizeSecondary_value_2 = value_compEmphasizeSecondary_value as string - valueSerializer.writeString(value_compEmphasizeSecondary_value_2) + else if (RuntimeType.STRING == value_interactiveClick_value_type) { + valueSerializer.writeInt8(2) + const value_interactiveClick_value_2 = value_interactiveClick_value as string + valueSerializer.writeString(value_interactiveClick_value_2) } - else if (RuntimeType.OBJECT == value_compEmphasizeSecondary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compEmphasizeSecondary_value_3 = value_compEmphasizeSecondary_value as Resource - valueSerializer.writeResource(value_compEmphasizeSecondary_value_3) + else if (RuntimeType.OBJECT == value_interactiveClick_value_type) { + valueSerializer.writeInt8(3) + const value_interactiveClick_value_3 = value_interactiveClick_value as Resource + valueSerializer.writeResource(value_interactiveClick_value_3) } } - const value_compEmphasizeTertiary = value.compEmphasizeTertiary - let value_compEmphasizeTertiary_type : int32 = RuntimeType.UNDEFINED - value_compEmphasizeTertiary_type = runtimeType(value_compEmphasizeTertiary) - valueSerializer.writeInt8(value_compEmphasizeTertiary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compEmphasizeTertiary_type)) { - const value_compEmphasizeTertiary_value = value_compEmphasizeTertiary! - let value_compEmphasizeTertiary_value_type : int32 = RuntimeType.UNDEFINED - value_compEmphasizeTertiary_value_type = runtimeType(value_compEmphasizeTertiary_value) - if (TypeChecker.isColor(value_compEmphasizeTertiary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compEmphasizeTertiary_value_0 = value_compEmphasizeTertiary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compEmphasizeTertiary_value_0)) - } - else if (RuntimeType.NUMBER == value_compEmphasizeTertiary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compEmphasizeTertiary_value_1 = value_compEmphasizeTertiary_value as number - valueSerializer.writeNumber(value_compEmphasizeTertiary_value_1) - } - else if (RuntimeType.STRING == value_compEmphasizeTertiary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compEmphasizeTertiary_value_2 = value_compEmphasizeTertiary_value as string - valueSerializer.writeString(value_compEmphasizeTertiary_value_2) + } + public writeDataPanelShadowOptions(value: DataPanelShadowOptions): void { + let valueSerializer : Serializer = this + const value_radius = value.radius + let value_radius_type : int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + let value_radius_value_type : int32 = RuntimeType.UNDEFINED + value_radius_value_type = runtimeType(value_radius_value) + if (RuntimeType.NUMBER == value_radius_value_type) { + valueSerializer.writeInt8(0) + const value_radius_value_0 = value_radius_value as number + valueSerializer.writeNumber(value_radius_value_0) } - else if (RuntimeType.OBJECT == value_compEmphasizeTertiary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compEmphasizeTertiary_value_3 = value_compEmphasizeTertiary_value as Resource - valueSerializer.writeResource(value_compEmphasizeTertiary_value_3) + else if (RuntimeType.OBJECT == value_radius_value_type) { + valueSerializer.writeInt8(1) + const value_radius_value_1 = value_radius_value as Resource + valueSerializer.writeResource(value_radius_value_1) } } - const value_compDivider = value.compDivider - let value_compDivider_type : int32 = RuntimeType.UNDEFINED - value_compDivider_type = runtimeType(value_compDivider) - valueSerializer.writeInt8(value_compDivider_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compDivider_type)) { - const value_compDivider_value = value_compDivider! - let value_compDivider_value_type : int32 = RuntimeType.UNDEFINED - value_compDivider_value_type = runtimeType(value_compDivider_value) - if (TypeChecker.isColor(value_compDivider_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compDivider_value_0 = value_compDivider_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compDivider_value_0)) - } - else if (RuntimeType.NUMBER == value_compDivider_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compDivider_value_1 = value_compDivider_value as number - valueSerializer.writeNumber(value_compDivider_value_1) - } - else if (RuntimeType.STRING == value_compDivider_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compDivider_value_2 = value_compDivider_value as string - valueSerializer.writeString(value_compDivider_value_2) + const value_offsetX = value.offsetX + let value_offsetX_type : int32 = RuntimeType.UNDEFINED + value_offsetX_type = runtimeType(value_offsetX) + valueSerializer.writeInt8(value_offsetX_type) + if ((RuntimeType.UNDEFINED) != (value_offsetX_type)) { + const value_offsetX_value = value_offsetX! + let value_offsetX_value_type : int32 = RuntimeType.UNDEFINED + value_offsetX_value_type = runtimeType(value_offsetX_value) + if (RuntimeType.NUMBER == value_offsetX_value_type) { + valueSerializer.writeInt8(0) + const value_offsetX_value_0 = value_offsetX_value as number + valueSerializer.writeNumber(value_offsetX_value_0) } - else if (RuntimeType.OBJECT == value_compDivider_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compDivider_value_3 = value_compDivider_value as Resource - valueSerializer.writeResource(value_compDivider_value_3) + else if (RuntimeType.OBJECT == value_offsetX_value_type) { + valueSerializer.writeInt8(1) + const value_offsetX_value_1 = value_offsetX_value as Resource + valueSerializer.writeResource(value_offsetX_value_1) } } - const value_compCommonContrary = value.compCommonContrary - let value_compCommonContrary_type : int32 = RuntimeType.UNDEFINED - value_compCommonContrary_type = runtimeType(value_compCommonContrary) - valueSerializer.writeInt8(value_compCommonContrary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compCommonContrary_type)) { - const value_compCommonContrary_value = value_compCommonContrary! - let value_compCommonContrary_value_type : int32 = RuntimeType.UNDEFINED - value_compCommonContrary_value_type = runtimeType(value_compCommonContrary_value) - if (TypeChecker.isColor(value_compCommonContrary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compCommonContrary_value_0 = value_compCommonContrary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compCommonContrary_value_0)) - } - else if (RuntimeType.NUMBER == value_compCommonContrary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compCommonContrary_value_1 = value_compCommonContrary_value as number - valueSerializer.writeNumber(value_compCommonContrary_value_1) + const value_offsetY = value.offsetY + let value_offsetY_type : int32 = RuntimeType.UNDEFINED + value_offsetY_type = runtimeType(value_offsetY) + valueSerializer.writeInt8(value_offsetY_type) + if ((RuntimeType.UNDEFINED) != (value_offsetY_type)) { + const value_offsetY_value = value_offsetY! + let value_offsetY_value_type : int32 = RuntimeType.UNDEFINED + value_offsetY_value_type = runtimeType(value_offsetY_value) + if (RuntimeType.NUMBER == value_offsetY_value_type) { + valueSerializer.writeInt8(0) + const value_offsetY_value_0 = value_offsetY_value as number + valueSerializer.writeNumber(value_offsetY_value_0) } - else if (RuntimeType.STRING == value_compCommonContrary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compCommonContrary_value_2 = value_compCommonContrary_value as string - valueSerializer.writeString(value_compCommonContrary_value_2) + else if (RuntimeType.OBJECT == value_offsetY_value_type) { + valueSerializer.writeInt8(1) + const value_offsetY_value_1 = value_offsetY_value as Resource + valueSerializer.writeResource(value_offsetY_value_1) } - else if (RuntimeType.OBJECT == value_compCommonContrary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compCommonContrary_value_3 = value_compCommonContrary_value as Resource - valueSerializer.writeResource(value_compCommonContrary_value_3) + } + const value_colors = value.colors + let value_colors_type : int32 = RuntimeType.UNDEFINED + value_colors_type = runtimeType(value_colors) + valueSerializer.writeInt8(value_colors_type) + if ((RuntimeType.UNDEFINED) != (value_colors_type)) { + const value_colors_value = value_colors! + valueSerializer.writeInt32(value_colors_value.length as int32) + for (let i = 0; i < value_colors_value.length; i++) { + const value_colors_value_element : ResourceColor | LinearGradient = value_colors_value[i] + let value_colors_value_element_type : int32 = RuntimeType.UNDEFINED + value_colors_value_element_type = runtimeType(value_colors_value_element) + if ((TypeChecker.isColor(value_colors_value_element)) || (RuntimeType.NUMBER == value_colors_value_element_type) || (RuntimeType.STRING == value_colors_value_element_type) || (RuntimeType.OBJECT == value_colors_value_element_type)) { + valueSerializer.writeInt8(0) + const value_colors_value_element_0 = value_colors_value_element as ResourceColor + let value_colors_value_element_0_type : int32 = RuntimeType.UNDEFINED + value_colors_value_element_0_type = runtimeType(value_colors_value_element_0) + if (TypeChecker.isColor(value_colors_value_element_0)) { + valueSerializer.writeInt8(0) + const value_colors_value_element_0_0 = value_colors_value_element_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_colors_value_element_0_0)) + } + else if (RuntimeType.NUMBER == value_colors_value_element_0_type) { + valueSerializer.writeInt8(1) + const value_colors_value_element_0_1 = value_colors_value_element_0 as number + valueSerializer.writeNumber(value_colors_value_element_0_1) + } + else if (RuntimeType.STRING == value_colors_value_element_0_type) { + valueSerializer.writeInt8(2) + const value_colors_value_element_0_2 = value_colors_value_element_0 as string + valueSerializer.writeString(value_colors_value_element_0_2) + } + else if (RuntimeType.OBJECT == value_colors_value_element_0_type) { + valueSerializer.writeInt8(3) + const value_colors_value_element_0_3 = value_colors_value_element_0 as Resource + valueSerializer.writeResource(value_colors_value_element_0_3) + } + } + else if (TypeChecker.isLinearGradient(value_colors_value_element)) { + valueSerializer.writeInt8(1) + const value_colors_value_element_1 = value_colors_value_element as LinearGradient + valueSerializer.writeLinearGradient(value_colors_value_element_1) + } } } - const value_compBackgroundFocus = value.compBackgroundFocus - let value_compBackgroundFocus_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundFocus_type = runtimeType(value_compBackgroundFocus) - valueSerializer.writeInt8(value_compBackgroundFocus_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundFocus_type)) { - const value_compBackgroundFocus_value = value_compBackgroundFocus! - let value_compBackgroundFocus_value_type : int32 = RuntimeType.UNDEFINED - value_compBackgroundFocus_value_type = runtimeType(value_compBackgroundFocus_value) - if (TypeChecker.isColor(value_compBackgroundFocus_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compBackgroundFocus_value_0 = value_compBackgroundFocus_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compBackgroundFocus_value_0)) + } + public writeDecoration(value: Decoration): void { + let valueSerializer : Serializer = this + const value_textDecoration = value.textDecoration + let value_textDecoration_type : int32 = RuntimeType.UNDEFINED + value_textDecoration_type = runtimeType(value_textDecoration) + valueSerializer.writeInt8(value_textDecoration_type) + if ((RuntimeType.UNDEFINED) != (value_textDecoration_type)) { + const value_textDecoration_value = (value_textDecoration as TextDecorationType) + valueSerializer.writeInt32(TypeChecker.TextDecorationType_ToNumeric(value_textDecoration_value)) + } + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + valueSerializer.writecommon2D_Color(value_color_value) + } + const value_decorationStyle = value.decorationStyle + let value_decorationStyle_type : int32 = RuntimeType.UNDEFINED + value_decorationStyle_type = runtimeType(value_decorationStyle) + valueSerializer.writeInt8(value_decorationStyle_type) + if ((RuntimeType.UNDEFINED) != (value_decorationStyle_type)) { + const value_decorationStyle_value = (value_decorationStyle as TextDecorationStyle) + valueSerializer.writeInt32(TypeChecker.TextDecorationStyle_ToNumeric(value_decorationStyle_value)) + } + const value_decorationThicknessScale = value.decorationThicknessScale + let value_decorationThicknessScale_type : int32 = RuntimeType.UNDEFINED + value_decorationThicknessScale_type = runtimeType(value_decorationThicknessScale) + valueSerializer.writeInt8(value_decorationThicknessScale_type) + if ((RuntimeType.UNDEFINED) != (value_decorationThicknessScale_type)) { + const value_decorationThicknessScale_value = value_decorationThicknessScale! + valueSerializer.writeNumber(value_decorationThicknessScale_value) + } + } + public writeDecorationStyle(value: DecorationStyle): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeDecorationStyleInterface(value: DecorationStyleInterface): void { + let valueSerializer : Serializer = this + const value_type = value.type + valueSerializer.writeInt32(TypeChecker.TextDecorationType_ToNumeric(value_type)) + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isColor(value_color_value)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } - else if (RuntimeType.NUMBER == value_compBackgroundFocus_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compBackgroundFocus_value_1 = value_compBackgroundFocus_value as number - valueSerializer.writeNumber(value_compBackgroundFocus_value_1) + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as number + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.STRING == value_compBackgroundFocus_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compBackgroundFocus_value_2 = value_compBackgroundFocus_value as string - valueSerializer.writeString(value_compBackgroundFocus_value_2) + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as string + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundFocus_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compBackgroundFocus_value_3 = value_compBackgroundFocus_value as Resource - valueSerializer.writeResource(value_compBackgroundFocus_value_3) + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = value_color_value as Resource + valueSerializer.writeResource(value_color_value_3) } } - const value_compFocusedPrimary = value.compFocusedPrimary - let value_compFocusedPrimary_type : int32 = RuntimeType.UNDEFINED - value_compFocusedPrimary_type = runtimeType(value_compFocusedPrimary) - valueSerializer.writeInt8(value_compFocusedPrimary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compFocusedPrimary_type)) { - const value_compFocusedPrimary_value = value_compFocusedPrimary! - let value_compFocusedPrimary_value_type : int32 = RuntimeType.UNDEFINED - value_compFocusedPrimary_value_type = runtimeType(value_compFocusedPrimary_value) - if (TypeChecker.isColor(value_compFocusedPrimary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compFocusedPrimary_value_0 = value_compFocusedPrimary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compFocusedPrimary_value_0)) + const value_style = value.style + let value_style_type : int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = (value_style as TextDecorationStyle) + valueSerializer.writeInt32(TypeChecker.TextDecorationStyle_ToNumeric(value_style_value)) + } + } + public writeDecorationStyleResult(value: DecorationStyleResult): void { + let valueSerializer : Serializer = this + const value_type = value.type + valueSerializer.writeInt32(TypeChecker.TextDecorationType_ToNumeric(value_type)) + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + if (TypeChecker.isColor(value_color)) { + valueSerializer.writeInt8(0) + const value_color_0 = value_color as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_0)) + } + else if (RuntimeType.NUMBER == value_color_type) { + valueSerializer.writeInt8(1) + const value_color_1 = value_color as number + valueSerializer.writeNumber(value_color_1) + } + else if (RuntimeType.STRING == value_color_type) { + valueSerializer.writeInt8(2) + const value_color_2 = value_color as string + valueSerializer.writeString(value_color_2) + } + else if (RuntimeType.OBJECT == value_color_type) { + valueSerializer.writeInt8(3) + const value_color_3 = value_color as Resource + valueSerializer.writeResource(value_color_3) + } + const value_style = value.style + let value_style_type : int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = (value_style as TextDecorationStyle) + valueSerializer.writeInt32(TypeChecker.TextDecorationStyle_ToNumeric(value_style_value)) + } + } + public writeDividerStyleOptions(value: DividerStyleOptions): void { + let valueSerializer : Serializer = this + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + valueSerializer.writeLengthMetrics(value_strokeWidth_value) + } + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isColor(value_color_value)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } - else if (RuntimeType.NUMBER == value_compFocusedPrimary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compFocusedPrimary_value_1 = value_compFocusedPrimary_value as number - valueSerializer.writeNumber(value_compFocusedPrimary_value_1) + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as number + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.STRING == value_compFocusedPrimary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compFocusedPrimary_value_2 = value_compFocusedPrimary_value as string - valueSerializer.writeString(value_compFocusedPrimary_value_2) + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as string + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.OBJECT == value_compFocusedPrimary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compFocusedPrimary_value_3 = value_compFocusedPrimary_value as Resource - valueSerializer.writeResource(value_compFocusedPrimary_value_3) + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = value_color_value as Resource + valueSerializer.writeResource(value_color_value_3) } } - const value_compFocusedSecondary = value.compFocusedSecondary - let value_compFocusedSecondary_type : int32 = RuntimeType.UNDEFINED - value_compFocusedSecondary_type = runtimeType(value_compFocusedSecondary) - valueSerializer.writeInt8(value_compFocusedSecondary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compFocusedSecondary_type)) { - const value_compFocusedSecondary_value = value_compFocusedSecondary! - let value_compFocusedSecondary_value_type : int32 = RuntimeType.UNDEFINED - value_compFocusedSecondary_value_type = runtimeType(value_compFocusedSecondary_value) - if (TypeChecker.isColor(value_compFocusedSecondary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compFocusedSecondary_value_0 = value_compFocusedSecondary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compFocusedSecondary_value_0)) + const value_startMargin = value.startMargin + let value_startMargin_type : int32 = RuntimeType.UNDEFINED + value_startMargin_type = runtimeType(value_startMargin) + valueSerializer.writeInt8(value_startMargin_type) + if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { + const value_startMargin_value = value_startMargin! + valueSerializer.writeLengthMetrics(value_startMargin_value) + } + const value_endMargin = value.endMargin + let value_endMargin_type : int32 = RuntimeType.UNDEFINED + value_endMargin_type = runtimeType(value_endMargin) + valueSerializer.writeInt8(value_endMargin_type) + if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { + const value_endMargin_value = value_endMargin! + valueSerializer.writeLengthMetrics(value_endMargin_value) + } + const value_mode = value.mode + let value_mode_type : int32 = RuntimeType.UNDEFINED + value_mode_type = runtimeType(value_mode) + valueSerializer.writeInt8(value_mode_type) + if ((RuntimeType.UNDEFINED) != (value_mode_type)) { + const value_mode_value = (value_mode as DividerMode) + valueSerializer.writeInt32(TypeChecker.DividerMode_ToNumeric(value_mode_value)) + } + } + public writeDragPreviewOptions(value: DragPreviewOptions): void { + let valueSerializer : Serializer = this + const value_mode = value.mode + let value_mode_type : int32 = RuntimeType.UNDEFINED + value_mode_type = runtimeType(value_mode) + valueSerializer.writeInt8(value_mode_type) + if ((RuntimeType.UNDEFINED) != (value_mode_type)) { + const value_mode_value = value_mode! + let value_mode_value_type : int32 = RuntimeType.UNDEFINED + value_mode_value_type = runtimeType(value_mode_value) + if (TypeChecker.isDragPreviewMode(value_mode_value)) { + valueSerializer.writeInt8(0) + const value_mode_value_0 = value_mode_value as DragPreviewMode + valueSerializer.writeInt32(TypeChecker.DragPreviewMode_ToNumeric(value_mode_value_0)) } - else if (RuntimeType.NUMBER == value_compFocusedSecondary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compFocusedSecondary_value_1 = value_compFocusedSecondary_value as number - valueSerializer.writeNumber(value_compFocusedSecondary_value_1) + else if (RuntimeType.OBJECT == value_mode_value_type) { + valueSerializer.writeInt8(1) + const value_mode_value_1 = value_mode_value as Array + valueSerializer.writeInt32(value_mode_value_1.length as int32) + for (let i = 0; i < value_mode_value_1.length; i++) { + const value_mode_value_1_element : DragPreviewMode = value_mode_value_1[i] + valueSerializer.writeInt32(TypeChecker.DragPreviewMode_ToNumeric(value_mode_value_1_element)) + } } - else if (RuntimeType.STRING == value_compFocusedSecondary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compFocusedSecondary_value_2 = value_compFocusedSecondary_value as string - valueSerializer.writeString(value_compFocusedSecondary_value_2) + } + const value_modifier = value.modifier + let value_modifier_type : int32 = RuntimeType.UNDEFINED + value_modifier_type = runtimeType(value_modifier) + valueSerializer.writeInt8(value_modifier_type) + if ((RuntimeType.UNDEFINED) != (value_modifier_type)) { + const value_modifier_value = value_modifier! + valueSerializer.writeImageModifier(value_modifier_value) + } + const value_numberBadge = value.numberBadge + let value_numberBadge_type : int32 = RuntimeType.UNDEFINED + value_numberBadge_type = runtimeType(value_numberBadge) + valueSerializer.writeInt8(value_numberBadge_type) + if ((RuntimeType.UNDEFINED) != (value_numberBadge_type)) { + const value_numberBadge_value = value_numberBadge! + let value_numberBadge_value_type : int32 = RuntimeType.UNDEFINED + value_numberBadge_value_type = runtimeType(value_numberBadge_value) + if (RuntimeType.BOOLEAN == value_numberBadge_value_type) { + valueSerializer.writeInt8(0) + const value_numberBadge_value_0 = value_numberBadge_value as boolean + valueSerializer.writeBoolean(value_numberBadge_value_0) } - else if (RuntimeType.OBJECT == value_compFocusedSecondary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compFocusedSecondary_value_3 = value_compFocusedSecondary_value as Resource - valueSerializer.writeResource(value_compFocusedSecondary_value_3) + else if (RuntimeType.NUMBER == value_numberBadge_value_type) { + valueSerializer.writeInt8(1) + const value_numberBadge_value_1 = value_numberBadge_value as number + valueSerializer.writeNumber(value_numberBadge_value_1) } } - const value_compFocusedTertiary = value.compFocusedTertiary - let value_compFocusedTertiary_type : int32 = RuntimeType.UNDEFINED - value_compFocusedTertiary_type = runtimeType(value_compFocusedTertiary) - valueSerializer.writeInt8(value_compFocusedTertiary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_compFocusedTertiary_type)) { - const value_compFocusedTertiary_value = value_compFocusedTertiary! - let value_compFocusedTertiary_value_type : int32 = RuntimeType.UNDEFINED - value_compFocusedTertiary_value_type = runtimeType(value_compFocusedTertiary_value) - if (TypeChecker.isColor(value_compFocusedTertiary_value)) { - valueSerializer.writeInt8(0 as int32) - const value_compFocusedTertiary_value_0 = value_compFocusedTertiary_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_compFocusedTertiary_value_0)) + const value_sizeChangeEffect = value.sizeChangeEffect + let value_sizeChangeEffect_type : int32 = RuntimeType.UNDEFINED + value_sizeChangeEffect_type = runtimeType(value_sizeChangeEffect) + valueSerializer.writeInt8(value_sizeChangeEffect_type) + if ((RuntimeType.UNDEFINED) != (value_sizeChangeEffect_type)) { + const value_sizeChangeEffect_value = (value_sizeChangeEffect as DraggingSizeChangeEffect) + valueSerializer.writeInt32(TypeChecker.DraggingSizeChangeEffect_ToNumeric(value_sizeChangeEffect_value)) + } + } + public writeEdgeColors(value: EdgeColors): void { + let valueSerializer : Serializer = this + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type : int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (TypeChecker.isColor(value_top_value)) { + valueSerializer.writeInt8(0) + const value_top_value_0 = value_top_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_top_value_0)) } - else if (RuntimeType.NUMBER == value_compFocusedTertiary_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_compFocusedTertiary_value_1 = value_compFocusedTertiary_value as number - valueSerializer.writeNumber(value_compFocusedTertiary_value_1) + else if (RuntimeType.NUMBER == value_top_value_type) { + valueSerializer.writeInt8(1) + const value_top_value_1 = value_top_value as number + valueSerializer.writeNumber(value_top_value_1) } - else if (RuntimeType.STRING == value_compFocusedTertiary_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_compFocusedTertiary_value_2 = value_compFocusedTertiary_value as string - valueSerializer.writeString(value_compFocusedTertiary_value_2) + else if (RuntimeType.STRING == value_top_value_type) { + valueSerializer.writeInt8(2) + const value_top_value_2 = value_top_value as string + valueSerializer.writeString(value_top_value_2) } - else if (RuntimeType.OBJECT == value_compFocusedTertiary_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_compFocusedTertiary_value_3 = value_compFocusedTertiary_value as Resource - valueSerializer.writeResource(value_compFocusedTertiary_value_3) + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(3) + const value_top_value_3 = value_top_value as Resource + valueSerializer.writeResource(value_top_value_3) } } - const value_interactiveHover = value.interactiveHover - let value_interactiveHover_type : int32 = RuntimeType.UNDEFINED - value_interactiveHover_type = runtimeType(value_interactiveHover) - valueSerializer.writeInt8(value_interactiveHover_type as int32) - if ((RuntimeType.UNDEFINED) != (value_interactiveHover_type)) { - const value_interactiveHover_value = value_interactiveHover! - let value_interactiveHover_value_type : int32 = RuntimeType.UNDEFINED - value_interactiveHover_value_type = runtimeType(value_interactiveHover_value) - if (TypeChecker.isColor(value_interactiveHover_value)) { - valueSerializer.writeInt8(0 as int32) - const value_interactiveHover_value_0 = value_interactiveHover_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_interactiveHover_value_0)) + const value_right = value.right + let value_right_type : int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type : int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (TypeChecker.isColor(value_right_value)) { + valueSerializer.writeInt8(0) + const value_right_value_0 = value_right_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_right_value_0)) } - else if (RuntimeType.NUMBER == value_interactiveHover_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_interactiveHover_value_1 = value_interactiveHover_value as number - valueSerializer.writeNumber(value_interactiveHover_value_1) + else if (RuntimeType.NUMBER == value_right_value_type) { + valueSerializer.writeInt8(1) + const value_right_value_1 = value_right_value as number + valueSerializer.writeNumber(value_right_value_1) } - else if (RuntimeType.STRING == value_interactiveHover_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_interactiveHover_value_2 = value_interactiveHover_value as string - valueSerializer.writeString(value_interactiveHover_value_2) + else if (RuntimeType.STRING == value_right_value_type) { + valueSerializer.writeInt8(2) + const value_right_value_2 = value_right_value as string + valueSerializer.writeString(value_right_value_2) } - else if (RuntimeType.OBJECT == value_interactiveHover_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_interactiveHover_value_3 = value_interactiveHover_value as Resource - valueSerializer.writeResource(value_interactiveHover_value_3) + else if (RuntimeType.OBJECT == value_right_value_type) { + valueSerializer.writeInt8(3) + const value_right_value_3 = value_right_value as Resource + valueSerializer.writeResource(value_right_value_3) } } - const value_interactivePressed = value.interactivePressed - let value_interactivePressed_type : int32 = RuntimeType.UNDEFINED - value_interactivePressed_type = runtimeType(value_interactivePressed) - valueSerializer.writeInt8(value_interactivePressed_type as int32) - if ((RuntimeType.UNDEFINED) != (value_interactivePressed_type)) { - const value_interactivePressed_value = value_interactivePressed! - let value_interactivePressed_value_type : int32 = RuntimeType.UNDEFINED - value_interactivePressed_value_type = runtimeType(value_interactivePressed_value) - if (TypeChecker.isColor(value_interactivePressed_value)) { - valueSerializer.writeInt8(0 as int32) - const value_interactivePressed_value_0 = value_interactivePressed_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_interactivePressed_value_0)) - } - else if (RuntimeType.NUMBER == value_interactivePressed_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_interactivePressed_value_1 = value_interactivePressed_value as number - valueSerializer.writeNumber(value_interactivePressed_value_1) + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type : int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (TypeChecker.isColor(value_bottom_value)) { + valueSerializer.writeInt8(0) + const value_bottom_value_0 = value_bottom_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_bottom_value_0)) } - else if (RuntimeType.STRING == value_interactivePressed_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_interactivePressed_value_2 = value_interactivePressed_value as string - valueSerializer.writeString(value_interactivePressed_value_2) + else if (RuntimeType.NUMBER == value_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_bottom_value_1 = value_bottom_value as number + valueSerializer.writeNumber(value_bottom_value_1) } - else if (RuntimeType.OBJECT == value_interactivePressed_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_interactivePressed_value_3 = value_interactivePressed_value as Resource - valueSerializer.writeResource(value_interactivePressed_value_3) - } - } - const value_interactiveFocus = value.interactiveFocus - let value_interactiveFocus_type : int32 = RuntimeType.UNDEFINED - value_interactiveFocus_type = runtimeType(value_interactiveFocus) - valueSerializer.writeInt8(value_interactiveFocus_type as int32) - if ((RuntimeType.UNDEFINED) != (value_interactiveFocus_type)) { - const value_interactiveFocus_value = value_interactiveFocus! - let value_interactiveFocus_value_type : int32 = RuntimeType.UNDEFINED - value_interactiveFocus_value_type = runtimeType(value_interactiveFocus_value) - if (TypeChecker.isColor(value_interactiveFocus_value)) { - valueSerializer.writeInt8(0 as int32) - const value_interactiveFocus_value_0 = value_interactiveFocus_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_interactiveFocus_value_0)) - } - else if (RuntimeType.NUMBER == value_interactiveFocus_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_interactiveFocus_value_1 = value_interactiveFocus_value as number - valueSerializer.writeNumber(value_interactiveFocus_value_1) - } - else if (RuntimeType.STRING == value_interactiveFocus_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_interactiveFocus_value_2 = value_interactiveFocus_value as string - valueSerializer.writeString(value_interactiveFocus_value_2) - } - else if (RuntimeType.OBJECT == value_interactiveFocus_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_interactiveFocus_value_3 = value_interactiveFocus_value as Resource - valueSerializer.writeResource(value_interactiveFocus_value_3) - } - } - const value_interactiveActive = value.interactiveActive - let value_interactiveActive_type : int32 = RuntimeType.UNDEFINED - value_interactiveActive_type = runtimeType(value_interactiveActive) - valueSerializer.writeInt8(value_interactiveActive_type as int32) - if ((RuntimeType.UNDEFINED) != (value_interactiveActive_type)) { - const value_interactiveActive_value = value_interactiveActive! - let value_interactiveActive_value_type : int32 = RuntimeType.UNDEFINED - value_interactiveActive_value_type = runtimeType(value_interactiveActive_value) - if (TypeChecker.isColor(value_interactiveActive_value)) { - valueSerializer.writeInt8(0 as int32) - const value_interactiveActive_value_0 = value_interactiveActive_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_interactiveActive_value_0)) - } - else if (RuntimeType.NUMBER == value_interactiveActive_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_interactiveActive_value_1 = value_interactiveActive_value as number - valueSerializer.writeNumber(value_interactiveActive_value_1) - } - else if (RuntimeType.STRING == value_interactiveActive_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_interactiveActive_value_2 = value_interactiveActive_value as string - valueSerializer.writeString(value_interactiveActive_value_2) - } - else if (RuntimeType.OBJECT == value_interactiveActive_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_interactiveActive_value_3 = value_interactiveActive_value as Resource - valueSerializer.writeResource(value_interactiveActive_value_3) - } - } - const value_interactiveSelect = value.interactiveSelect - let value_interactiveSelect_type : int32 = RuntimeType.UNDEFINED - value_interactiveSelect_type = runtimeType(value_interactiveSelect) - valueSerializer.writeInt8(value_interactiveSelect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_interactiveSelect_type)) { - const value_interactiveSelect_value = value_interactiveSelect! - let value_interactiveSelect_value_type : int32 = RuntimeType.UNDEFINED - value_interactiveSelect_value_type = runtimeType(value_interactiveSelect_value) - if (TypeChecker.isColor(value_interactiveSelect_value)) { - valueSerializer.writeInt8(0 as int32) - const value_interactiveSelect_value_0 = value_interactiveSelect_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_interactiveSelect_value_0)) - } - else if (RuntimeType.NUMBER == value_interactiveSelect_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_interactiveSelect_value_1 = value_interactiveSelect_value as number - valueSerializer.writeNumber(value_interactiveSelect_value_1) - } - else if (RuntimeType.STRING == value_interactiveSelect_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_interactiveSelect_value_2 = value_interactiveSelect_value as string - valueSerializer.writeString(value_interactiveSelect_value_2) + else if (RuntimeType.STRING == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = value_bottom_value as string + valueSerializer.writeString(value_bottom_value_2) } - else if (RuntimeType.OBJECT == value_interactiveSelect_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_interactiveSelect_value_3 = value_interactiveSelect_value as Resource - valueSerializer.writeResource(value_interactiveSelect_value_3) + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(3) + const value_bottom_value_3 = value_bottom_value as Resource + valueSerializer.writeResource(value_bottom_value_3) } } - const value_interactiveClick = value.interactiveClick - let value_interactiveClick_type : int32 = RuntimeType.UNDEFINED - value_interactiveClick_type = runtimeType(value_interactiveClick) - valueSerializer.writeInt8(value_interactiveClick_type as int32) - if ((RuntimeType.UNDEFINED) != (value_interactiveClick_type)) { - const value_interactiveClick_value = value_interactiveClick! - let value_interactiveClick_value_type : int32 = RuntimeType.UNDEFINED - value_interactiveClick_value_type = runtimeType(value_interactiveClick_value) - if (TypeChecker.isColor(value_interactiveClick_value)) { - valueSerializer.writeInt8(0 as int32) - const value_interactiveClick_value_0 = value_interactiveClick_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_interactiveClick_value_0)) + const value_left = value.left + let value_left_type : int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type : int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (TypeChecker.isColor(value_left_value)) { + valueSerializer.writeInt8(0) + const value_left_value_0 = value_left_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_left_value_0)) } - else if (RuntimeType.NUMBER == value_interactiveClick_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_interactiveClick_value_1 = value_interactiveClick_value as number - valueSerializer.writeNumber(value_interactiveClick_value_1) + else if (RuntimeType.NUMBER == value_left_value_type) { + valueSerializer.writeInt8(1) + const value_left_value_1 = value_left_value as number + valueSerializer.writeNumber(value_left_value_1) } - else if (RuntimeType.STRING == value_interactiveClick_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_interactiveClick_value_2 = value_interactiveClick_value as string - valueSerializer.writeString(value_interactiveClick_value_2) + else if (RuntimeType.STRING == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = value_left_value as string + valueSerializer.writeString(value_left_value_2) } - else if (RuntimeType.OBJECT == value_interactiveClick_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_interactiveClick_value_3 = value_interactiveClick_value as Resource - valueSerializer.writeResource(value_interactiveClick_value_3) + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(3) + const value_left_value_3 = value_left_value as Resource + valueSerializer.writeResource(value_left_value_3) } } } - writeDataPanelShadowOptions(value: DataPanelShadowOptions): void { + public writeExpandedMenuItemOptions(value: ExpandedMenuItemOptions): void { let valueSerializer : Serializer = this - const value_radius = value.radius - let value_radius_type : int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_type)) { - const value_radius_value = value_radius! - let value_radius_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_type = runtimeType(value_radius_value) - if (RuntimeType.NUMBER == value_radius_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0 = value_radius_value as number - valueSerializer.writeNumber(value_radius_value_0) - } - else if (RuntimeType.OBJECT == value_radius_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_1 = value_radius_value as Resource - valueSerializer.writeResource(value_radius_value_1) - } + const value_content = value.content + let value_content_type : int32 = RuntimeType.UNDEFINED + value_content_type = runtimeType(value_content) + if (RuntimeType.STRING == value_content_type) { + valueSerializer.writeInt8(0) + const value_content_0 = value_content as string + valueSerializer.writeString(value_content_0) } - const value_offsetX = value.offsetX - let value_offsetX_type : int32 = RuntimeType.UNDEFINED - value_offsetX_type = runtimeType(value_offsetX) - valueSerializer.writeInt8(value_offsetX_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offsetX_type)) { - const value_offsetX_value = value_offsetX! - let value_offsetX_value_type : int32 = RuntimeType.UNDEFINED - value_offsetX_value_type = runtimeType(value_offsetX_value) - if (RuntimeType.NUMBER == value_offsetX_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_offsetX_value_0 = value_offsetX_value as number - valueSerializer.writeNumber(value_offsetX_value_0) - } - else if (RuntimeType.OBJECT == value_offsetX_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_offsetX_value_1 = value_offsetX_value as Resource - valueSerializer.writeResource(value_offsetX_value_1) - } + else if (RuntimeType.OBJECT == value_content_type) { + valueSerializer.writeInt8(1) + const value_content_1 = value_content as Resource + valueSerializer.writeResource(value_content_1) } - const value_offsetY = value.offsetY - let value_offsetY_type : int32 = RuntimeType.UNDEFINED - value_offsetY_type = runtimeType(value_offsetY) - valueSerializer.writeInt8(value_offsetY_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offsetY_type)) { - const value_offsetY_value = value_offsetY! - let value_offsetY_value_type : int32 = RuntimeType.UNDEFINED - value_offsetY_value_type = runtimeType(value_offsetY_value) - if (RuntimeType.NUMBER == value_offsetY_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_offsetY_value_0 = value_offsetY_value as number - valueSerializer.writeNumber(value_offsetY_value_0) - } - else if (RuntimeType.OBJECT == value_offsetY_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_offsetY_value_1 = value_offsetY_value as Resource - valueSerializer.writeResource(value_offsetY_value_1) + const value_startIcon = value.startIcon + let value_startIcon_type : int32 = RuntimeType.UNDEFINED + value_startIcon_type = runtimeType(value_startIcon) + valueSerializer.writeInt8(value_startIcon_type) + if ((RuntimeType.UNDEFINED) != (value_startIcon_type)) { + const value_startIcon_value = value_startIcon! + let value_startIcon_value_type : int32 = RuntimeType.UNDEFINED + value_startIcon_value_type = runtimeType(value_startIcon_value) + if (RuntimeType.STRING == value_startIcon_value_type) { + valueSerializer.writeInt8(0) + const value_startIcon_value_0 = value_startIcon_value as string + valueSerializer.writeString(value_startIcon_value_0) } - } - const value_colors = value.colors - let value_colors_type : int32 = RuntimeType.UNDEFINED - value_colors_type = runtimeType(value_colors) - valueSerializer.writeInt8(value_colors_type as int32) - if ((RuntimeType.UNDEFINED) != (value_colors_type)) { - const value_colors_value = value_colors! - valueSerializer.writeInt32(value_colors_value.length as int32) - for (let i = 0; i < value_colors_value.length; i++) { - const value_colors_value_element : ResourceColor | LinearGradient = value_colors_value[i] - let value_colors_value_element_type : int32 = RuntimeType.UNDEFINED - value_colors_value_element_type = runtimeType(value_colors_value_element) - if ((TypeChecker.isColor(value_colors_value_element)) || (RuntimeType.NUMBER == value_colors_value_element_type) || (RuntimeType.STRING == value_colors_value_element_type) || (RuntimeType.OBJECT == value_colors_value_element_type)) { - valueSerializer.writeInt8(0 as int32) - const value_colors_value_element_0 = value_colors_value_element as ResourceColor - let value_colors_value_element_0_type : int32 = RuntimeType.UNDEFINED - value_colors_value_element_0_type = runtimeType(value_colors_value_element_0) - if (TypeChecker.isColor(value_colors_value_element_0)) { - valueSerializer.writeInt8(0 as int32) - const value_colors_value_element_0_0 = value_colors_value_element_0 as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_colors_value_element_0_0)) - } - else if (RuntimeType.NUMBER == value_colors_value_element_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_colors_value_element_0_1 = value_colors_value_element_0 as number - valueSerializer.writeNumber(value_colors_value_element_0_1) - } - else if (RuntimeType.STRING == value_colors_value_element_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_colors_value_element_0_2 = value_colors_value_element_0 as string - valueSerializer.writeString(value_colors_value_element_0_2) - } - else if (RuntimeType.OBJECT == value_colors_value_element_0_type) { - valueSerializer.writeInt8(3 as int32) - const value_colors_value_element_0_3 = value_colors_value_element_0 as Resource - valueSerializer.writeResource(value_colors_value_element_0_3) - } - } - else if (TypeChecker.isLinearGradient(value_colors_value_element)) { - valueSerializer.writeInt8(1 as int32) - const value_colors_value_element_1 = value_colors_value_element as LinearGradient - valueSerializer.writeLinearGradient(value_colors_value_element_1) - } + else if (RuntimeType.OBJECT == value_startIcon_value_type) { + valueSerializer.writeInt8(1) + const value_startIcon_value_1 = value_startIcon_value as Resource + valueSerializer.writeResource(value_startIcon_value_1) } } + const value_action = value.action + valueSerializer.holdAndWriteCallback(value_action) } - writeDecoration(value: Decoration): void { + public writeFadingEdgeOptions(value: FadingEdgeOptions): void { let valueSerializer : Serializer = this - const value_textDecoration = value.textDecoration - let value_textDecoration_type : int32 = RuntimeType.UNDEFINED - value_textDecoration_type = runtimeType(value_textDecoration) - valueSerializer.writeInt8(value_textDecoration_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textDecoration_type)) { - const value_textDecoration_value = (value_textDecoration as TextDecorationType) - valueSerializer.writeInt32(TypeChecker.TextDecorationType_ToNumeric(value_textDecoration_value)) - } - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - valueSerializer.writecommon2D_Color(value_color_value) - } - const value_decorationStyle = value.decorationStyle - let value_decorationStyle_type : int32 = RuntimeType.UNDEFINED - value_decorationStyle_type = runtimeType(value_decorationStyle) - valueSerializer.writeInt8(value_decorationStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_decorationStyle_type)) { - const value_decorationStyle_value = (value_decorationStyle as TextDecorationStyle) - valueSerializer.writeInt32(TypeChecker.TextDecorationStyle_ToNumeric(value_decorationStyle_value)) - } - const value_decorationThicknessScale = value.decorationThicknessScale - let value_decorationThicknessScale_type : int32 = RuntimeType.UNDEFINED - value_decorationThicknessScale_type = runtimeType(value_decorationThicknessScale) - valueSerializer.writeInt8(value_decorationThicknessScale_type as int32) - if ((RuntimeType.UNDEFINED) != (value_decorationThicknessScale_type)) { - const value_decorationThicknessScale_value = value_decorationThicknessScale! - valueSerializer.writeNumber(value_decorationThicknessScale_value) + const value_fadingEdgeLength = value.fadingEdgeLength + let value_fadingEdgeLength_type : int32 = RuntimeType.UNDEFINED + value_fadingEdgeLength_type = runtimeType(value_fadingEdgeLength) + valueSerializer.writeInt8(value_fadingEdgeLength_type) + if ((RuntimeType.UNDEFINED) != (value_fadingEdgeLength_type)) { + const value_fadingEdgeLength_value = value_fadingEdgeLength! + valueSerializer.writeLengthMetrics(value_fadingEdgeLength_value) } } - writeDecorationStyle(value: DecorationStyle): void { + public writeFlexSpaceOptions(value: FlexSpaceOptions): void { let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeDecorationStyleInterface(value: DecorationStyleInterface): void { - let valueSerializer : Serializer = this - const value_type = value.type - valueSerializer.writeInt32(TypeChecker.TextDecorationType_ToNumeric(value_type)) - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0 = value_color_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1 = value_color_value as number - valueSerializer.writeNumber(value_color_value_1) - } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_2 = value_color_value as string - valueSerializer.writeString(value_color_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_3 = value_color_value as Resource - valueSerializer.writeResource(value_color_value_3) - } + const value_main = value.main + let value_main_type : int32 = RuntimeType.UNDEFINED + value_main_type = runtimeType(value_main) + valueSerializer.writeInt8(value_main_type) + if ((RuntimeType.UNDEFINED) != (value_main_type)) { + const value_main_value = value_main! + valueSerializer.writeLengthMetrics(value_main_value) } - const value_style = value.style - let value_style_type : int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = (value_style as TextDecorationStyle) - valueSerializer.writeInt32(TypeChecker.TextDecorationStyle_ToNumeric(value_style_value)) + const value_cross = value.cross + let value_cross_type : int32 = RuntimeType.UNDEFINED + value_cross_type = runtimeType(value_cross) + valueSerializer.writeInt8(value_cross_type) + if ((RuntimeType.UNDEFINED) != (value_cross_type)) { + const value_cross_value = value_cross! + valueSerializer.writeLengthMetrics(value_cross_value) } } - writeDecorationStyleResult(value: DecorationStyleResult): void { + public writeFocusBoxStyle(value: FocusBoxStyle): void { let valueSerializer : Serializer = this - const value_type = value.type - valueSerializer.writeInt32(TypeChecker.TextDecorationType_ToNumeric(value_type)) - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - if (TypeChecker.isColor(value_color)) { - valueSerializer.writeInt8(0 as int32) - const value_color_0 = value_color as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_0)) - } - else if (RuntimeType.NUMBER == value_color_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_1 = value_color as number - valueSerializer.writeNumber(value_color_1) - } - else if (RuntimeType.STRING == value_color_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_2 = value_color as string - valueSerializer.writeString(value_color_2) - } - else if (RuntimeType.OBJECT == value_color_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_3 = value_color as Resource - valueSerializer.writeResource(value_color_3) + const value_margin = value.margin + let value_margin_type : int32 = RuntimeType.UNDEFINED + value_margin_type = runtimeType(value_margin) + valueSerializer.writeInt8(value_margin_type) + if ((RuntimeType.UNDEFINED) != (value_margin_type)) { + const value_margin_value = value_margin! + valueSerializer.writeLengthMetrics(value_margin_value) } - const value_style = value.style - let value_style_type : int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = (value_style as TextDecorationStyle) - valueSerializer.writeInt32(TypeChecker.TextDecorationStyle_ToNumeric(value_style_value)) + const value_strokeColor = value.strokeColor + let value_strokeColor_type : int32 = RuntimeType.UNDEFINED + value_strokeColor_type = runtimeType(value_strokeColor) + valueSerializer.writeInt8(value_strokeColor_type) + if ((RuntimeType.UNDEFINED) != (value_strokeColor_type)) { + const value_strokeColor_value = value_strokeColor! + valueSerializer.writeColorMetrics(value_strokeColor_value) } - } - writeDividerOptions(value: DividerOptions): void { - let valueSerializer : Serializer = this const value_strokeWidth = value.strokeWidth let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type as int32) + valueSerializer.writeInt8(value_strokeWidth_type) if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { const value_strokeWidth_value = value_strokeWidth! - let value_strokeWidth_value_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) - if (RuntimeType.STRING == value_strokeWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_strokeWidth_value_0 = value_strokeWidth_value as string - valueSerializer.writeString(value_strokeWidth_value_0) - } - else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_strokeWidth_value_1 = value_strokeWidth_value as number - valueSerializer.writeNumber(value_strokeWidth_value_1) - } - else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_strokeWidth_value_2 = value_strokeWidth_value as Resource - valueSerializer.writeResource(value_strokeWidth_value_2) - } + valueSerializer.writeLengthMetrics(value_strokeWidth_value) } - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0 = value_color_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1 = value_color_value as number - valueSerializer.writeNumber(value_color_value_1) - } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_2 = value_color_value as string - valueSerializer.writeString(value_color_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_3 = value_color_value as Resource - valueSerializer.writeResource(value_color_value_3) - } + } + public writeFontOptions(value: FontOptions): void { + let valueSerializer : Serializer = this + const value_familyName = value.familyName + let value_familyName_type : int32 = RuntimeType.UNDEFINED + value_familyName_type = runtimeType(value_familyName) + if (RuntimeType.STRING == value_familyName_type) { + valueSerializer.writeInt8(0) + const value_familyName_0 = value_familyName as string + valueSerializer.writeString(value_familyName_0) } - const value_startMargin = value.startMargin - let value_startMargin_type : int32 = RuntimeType.UNDEFINED - value_startMargin_type = runtimeType(value_startMargin) - valueSerializer.writeInt8(value_startMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { - const value_startMargin_value = value_startMargin! - let value_startMargin_value_type : int32 = RuntimeType.UNDEFINED - value_startMargin_value_type = runtimeType(value_startMargin_value) - if (RuntimeType.STRING == value_startMargin_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_startMargin_value_0 = value_startMargin_value as string - valueSerializer.writeString(value_startMargin_value_0) - } - else if (RuntimeType.NUMBER == value_startMargin_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_startMargin_value_1 = value_startMargin_value as number - valueSerializer.writeNumber(value_startMargin_value_1) - } - else if (RuntimeType.OBJECT == value_startMargin_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_startMargin_value_2 = value_startMargin_value as Resource - valueSerializer.writeResource(value_startMargin_value_2) - } + else if (RuntimeType.OBJECT == value_familyName_type) { + valueSerializer.writeInt8(1) + const value_familyName_1 = value_familyName as Resource + valueSerializer.writeResource(value_familyName_1) } - const value_endMargin = value.endMargin - let value_endMargin_type : int32 = RuntimeType.UNDEFINED - value_endMargin_type = runtimeType(value_endMargin) - valueSerializer.writeInt8(value_endMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { - const value_endMargin_value = value_endMargin! - let value_endMargin_value_type : int32 = RuntimeType.UNDEFINED - value_endMargin_value_type = runtimeType(value_endMargin_value) - if (RuntimeType.STRING == value_endMargin_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_endMargin_value_0 = value_endMargin_value as string - valueSerializer.writeString(value_endMargin_value_0) - } - else if (RuntimeType.NUMBER == value_endMargin_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_endMargin_value_1 = value_endMargin_value as number - valueSerializer.writeNumber(value_endMargin_value_1) - } - else if (RuntimeType.OBJECT == value_endMargin_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_endMargin_value_2 = value_endMargin_value as Resource - valueSerializer.writeResource(value_endMargin_value_2) - } + const value_familySrc = value.familySrc + let value_familySrc_type : int32 = RuntimeType.UNDEFINED + value_familySrc_type = runtimeType(value_familySrc) + if (RuntimeType.STRING == value_familySrc_type) { + valueSerializer.writeInt8(0) + const value_familySrc_0 = value_familySrc as string + valueSerializer.writeString(value_familySrc_0) + } + else if (RuntimeType.OBJECT == value_familySrc_type) { + valueSerializer.writeInt8(1) + const value_familySrc_1 = value_familySrc as Resource + valueSerializer.writeResource(value_familySrc_1) } } - writeDividerStyle(value: DividerStyle): void { + public writeForegroundBlurStyleOptions(value: ForegroundBlurStyleOptions): void { let valueSerializer : Serializer = this - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - if (RuntimeType.STRING == value_strokeWidth_type) { - valueSerializer.writeInt8(0 as int32) - const value_strokeWidth_0 = value_strokeWidth as string - valueSerializer.writeString(value_strokeWidth_0) - } - else if (RuntimeType.NUMBER == value_strokeWidth_type) { - valueSerializer.writeInt8(1 as int32) - const value_strokeWidth_1 = value_strokeWidth as number - valueSerializer.writeNumber(value_strokeWidth_1) + const value_colorMode = value.colorMode + let value_colorMode_type : int32 = RuntimeType.UNDEFINED + value_colorMode_type = runtimeType(value_colorMode) + valueSerializer.writeInt8(value_colorMode_type) + if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { + const value_colorMode_value = (value_colorMode as ThemeColorMode) + valueSerializer.writeInt32(TypeChecker.ThemeColorMode_ToNumeric(value_colorMode_value)) } - else if (RuntimeType.OBJECT == value_strokeWidth_type) { - valueSerializer.writeInt8(2 as int32) - const value_strokeWidth_2 = value_strokeWidth as Resource - valueSerializer.writeResource(value_strokeWidth_2) + const value_adaptiveColor = value.adaptiveColor + let value_adaptiveColor_type : int32 = RuntimeType.UNDEFINED + value_adaptiveColor_type = runtimeType(value_adaptiveColor) + valueSerializer.writeInt8(value_adaptiveColor_type) + if ((RuntimeType.UNDEFINED) != (value_adaptiveColor_type)) { + const value_adaptiveColor_value = (value_adaptiveColor as AdaptiveColor) + valueSerializer.writeInt32(TypeChecker.AdaptiveColor_ToNumeric(value_adaptiveColor_value)) } - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0 = value_color_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1 = value_color_value as number - valueSerializer.writeNumber(value_color_value_1) - } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_2 = value_color_value as string - valueSerializer.writeString(value_color_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_3 = value_color_value as Resource - valueSerializer.writeResource(value_color_value_3) - } + const value_scale = value.scale + let value_scale_type : int32 = RuntimeType.UNDEFINED + value_scale_type = runtimeType(value_scale) + valueSerializer.writeInt8(value_scale_type) + if ((RuntimeType.UNDEFINED) != (value_scale_type)) { + const value_scale_value = value_scale! + valueSerializer.writeNumber(value_scale_value) } - const value_startMargin = value.startMargin - let value_startMargin_type : int32 = RuntimeType.UNDEFINED - value_startMargin_type = runtimeType(value_startMargin) - valueSerializer.writeInt8(value_startMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { - const value_startMargin_value = value_startMargin! - let value_startMargin_value_type : int32 = RuntimeType.UNDEFINED - value_startMargin_value_type = runtimeType(value_startMargin_value) - if (RuntimeType.STRING == value_startMargin_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_startMargin_value_0 = value_startMargin_value as string - valueSerializer.writeString(value_startMargin_value_0) - } - else if (RuntimeType.NUMBER == value_startMargin_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_startMargin_value_1 = value_startMargin_value as number - valueSerializer.writeNumber(value_startMargin_value_1) - } - else if (RuntimeType.OBJECT == value_startMargin_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_startMargin_value_2 = value_startMargin_value as Resource - valueSerializer.writeResource(value_startMargin_value_2) - } - } - const value_endMargin = value.endMargin - let value_endMargin_type : int32 = RuntimeType.UNDEFINED - value_endMargin_type = runtimeType(value_endMargin) - valueSerializer.writeInt8(value_endMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { - const value_endMargin_value = value_endMargin! - let value_endMargin_value_type : int32 = RuntimeType.UNDEFINED - value_endMargin_value_type = runtimeType(value_endMargin_value) - if (RuntimeType.STRING == value_endMargin_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_endMargin_value_0 = value_endMargin_value as string - valueSerializer.writeString(value_endMargin_value_0) - } - else if (RuntimeType.NUMBER == value_endMargin_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_endMargin_value_1 = value_endMargin_value as number - valueSerializer.writeNumber(value_endMargin_value_1) - } - else if (RuntimeType.OBJECT == value_endMargin_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_endMargin_value_2 = value_endMargin_value as Resource - valueSerializer.writeResource(value_endMargin_value_2) - } + const value_blurOptions = value.blurOptions + let value_blurOptions_type : int32 = RuntimeType.UNDEFINED + value_blurOptions_type = runtimeType(value_blurOptions) + valueSerializer.writeInt8(value_blurOptions_type) + if ((RuntimeType.UNDEFINED) != (value_blurOptions_type)) { + const value_blurOptions_value = value_blurOptions! + valueSerializer.writeBlurOptions(value_blurOptions_value) } } - writeDividerStyleOptions(value: DividerStyleOptions): void { + public writeFormInfo(value: FormInfo): void { let valueSerializer : Serializer = this - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - valueSerializer.writeLengthMetrics(value_strokeWidth_value) + const value_id = value.id + let value_id_type : int32 = RuntimeType.UNDEFINED + value_id_type = runtimeType(value_id) + if (RuntimeType.NUMBER == value_id_type) { + valueSerializer.writeInt8(0) + const value_id_0 = value_id as int64 + valueSerializer.writeInt64(value_id_0) } - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0 = value_color_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1 = value_color_value as number - valueSerializer.writeNumber(value_color_value_1) - } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_2 = value_color_value as string - valueSerializer.writeString(value_color_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_3 = value_color_value as Resource - valueSerializer.writeResource(value_color_value_3) - } + else if (RuntimeType.STRING == value_id_type) { + valueSerializer.writeInt8(1) + const value_id_1 = value_id as string + valueSerializer.writeString(value_id_1) } - const value_startMargin = value.startMargin - let value_startMargin_type : int32 = RuntimeType.UNDEFINED - value_startMargin_type = runtimeType(value_startMargin) - valueSerializer.writeInt8(value_startMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { - const value_startMargin_value = value_startMargin! - valueSerializer.writeLengthMetrics(value_startMargin_value) + const value_name = value.name + valueSerializer.writeString(value_name) + const value_bundle = value.bundle + valueSerializer.writeString(value_bundle) + const value_ability = value.ability + valueSerializer.writeString(value_ability) + const value_module = value.module + valueSerializer.writeString(value_module) + const value_dimension = value.dimension + let value_dimension_type : int32 = RuntimeType.UNDEFINED + value_dimension_type = runtimeType(value_dimension) + valueSerializer.writeInt8(value_dimension_type) + if ((RuntimeType.UNDEFINED) != (value_dimension_type)) { + const value_dimension_value = (value_dimension as FormDimension) + valueSerializer.writeInt32(TypeChecker.FormDimension_ToNumeric(value_dimension_value)) } - const value_endMargin = value.endMargin - let value_endMargin_type : int32 = RuntimeType.UNDEFINED - value_endMargin_type = runtimeType(value_endMargin) - valueSerializer.writeInt8(value_endMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { - const value_endMargin_value = value_endMargin! - valueSerializer.writeLengthMetrics(value_endMargin_value) + const value_temporary = value.temporary + let value_temporary_type : int32 = RuntimeType.UNDEFINED + value_temporary_type = runtimeType(value_temporary) + valueSerializer.writeInt8(value_temporary_type) + if ((RuntimeType.UNDEFINED) != (value_temporary_type)) { + const value_temporary_value = value_temporary! + valueSerializer.writeBoolean(value_temporary_value) + } + const value_want = value.want + let value_want_type : int32 = RuntimeType.UNDEFINED + value_want_type = runtimeType(value_want) + valueSerializer.writeInt8(value_want_type) + if ((RuntimeType.UNDEFINED) != (value_want_type)) { + const value_want_value = value_want! + valueSerializer.writeWant(value_want_value) + } + const value_renderingMode = value.renderingMode + let value_renderingMode_type : int32 = RuntimeType.UNDEFINED + value_renderingMode_type = runtimeType(value_renderingMode) + valueSerializer.writeInt8(value_renderingMode_type) + if ((RuntimeType.UNDEFINED) != (value_renderingMode_type)) { + const value_renderingMode_value = (value_renderingMode as FormRenderingMode) + valueSerializer.writeInt32(TypeChecker.FormRenderingMode_ToNumeric(value_renderingMode_value)) + } + const value_shape = value.shape + let value_shape_type : int32 = RuntimeType.UNDEFINED + value_shape_type = runtimeType(value_shape) + valueSerializer.writeInt8(value_shape_type) + if ((RuntimeType.UNDEFINED) != (value_shape_type)) { + const value_shape_value = (value_shape as FormShape) + valueSerializer.writeInt32(TypeChecker.FormShape_ToNumeric(value_shape_value)) } } - writeDotIndicator(value: DotIndicator): void { + public writeGaugeShadowOptions(value: GaugeShadowOptions): void { let valueSerializer : Serializer = this - const value__left = value._left - let value__left_type : int32 = RuntimeType.UNDEFINED - value__left_type = runtimeType(value__left) - valueSerializer.writeInt8(value__left_type as int32) - if ((RuntimeType.UNDEFINED) != (value__left_type)) { - const value__left_value = value__left! - let value__left_value_type : int32 = RuntimeType.UNDEFINED - value__left_value_type = runtimeType(value__left_value) - if (RuntimeType.STRING == value__left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value__left_value_0 = value__left_value as string - valueSerializer.writeString(value__left_value_0) - } - else if (RuntimeType.NUMBER == value__left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__left_value_1 = value__left_value as number - valueSerializer.writeNumber(value__left_value_1) + const value_radius = value.radius + let value_radius_type : int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + let value_radius_value_type : int32 = RuntimeType.UNDEFINED + value_radius_value_type = runtimeType(value_radius_value) + if (RuntimeType.NUMBER == value_radius_value_type) { + valueSerializer.writeInt8(0) + const value_radius_value_0 = value_radius_value as number + valueSerializer.writeNumber(value_radius_value_0) } - else if (RuntimeType.OBJECT == value__left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__left_value_2 = value__left_value as Resource - valueSerializer.writeResource(value__left_value_2) + else if (RuntimeType.OBJECT == value_radius_value_type) { + valueSerializer.writeInt8(1) + const value_radius_value_1 = value_radius_value as Resource + valueSerializer.writeResource(value_radius_value_1) } } - const value__top = value._top - let value__top_type : int32 = RuntimeType.UNDEFINED - value__top_type = runtimeType(value__top) - valueSerializer.writeInt8(value__top_type as int32) - if ((RuntimeType.UNDEFINED) != (value__top_type)) { - const value__top_value = value__top! - let value__top_value_type : int32 = RuntimeType.UNDEFINED - value__top_value_type = runtimeType(value__top_value) - if (RuntimeType.STRING == value__top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value__top_value_0 = value__top_value as string - valueSerializer.writeString(value__top_value_0) - } - else if (RuntimeType.NUMBER == value__top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__top_value_1 = value__top_value as number - valueSerializer.writeNumber(value__top_value_1) + const value_offsetX = value.offsetX + let value_offsetX_type : int32 = RuntimeType.UNDEFINED + value_offsetX_type = runtimeType(value_offsetX) + valueSerializer.writeInt8(value_offsetX_type) + if ((RuntimeType.UNDEFINED) != (value_offsetX_type)) { + const value_offsetX_value = value_offsetX! + let value_offsetX_value_type : int32 = RuntimeType.UNDEFINED + value_offsetX_value_type = runtimeType(value_offsetX_value) + if (RuntimeType.NUMBER == value_offsetX_value_type) { + valueSerializer.writeInt8(0) + const value_offsetX_value_0 = value_offsetX_value as number + valueSerializer.writeNumber(value_offsetX_value_0) } - else if (RuntimeType.OBJECT == value__top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__top_value_2 = value__top_value as Resource - valueSerializer.writeResource(value__top_value_2) + else if (RuntimeType.OBJECT == value_offsetX_value_type) { + valueSerializer.writeInt8(1) + const value_offsetX_value_1 = value_offsetX_value as Resource + valueSerializer.writeResource(value_offsetX_value_1) } } - const value__right = value._right - let value__right_type : int32 = RuntimeType.UNDEFINED - value__right_type = runtimeType(value__right) - valueSerializer.writeInt8(value__right_type as int32) - if ((RuntimeType.UNDEFINED) != (value__right_type)) { - const value__right_value = value__right! - let value__right_value_type : int32 = RuntimeType.UNDEFINED - value__right_value_type = runtimeType(value__right_value) - if (RuntimeType.STRING == value__right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value__right_value_0 = value__right_value as string - valueSerializer.writeString(value__right_value_0) - } - else if (RuntimeType.NUMBER == value__right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__right_value_1 = value__right_value as number - valueSerializer.writeNumber(value__right_value_1) + const value_offsetY = value.offsetY + let value_offsetY_type : int32 = RuntimeType.UNDEFINED + value_offsetY_type = runtimeType(value_offsetY) + valueSerializer.writeInt8(value_offsetY_type) + if ((RuntimeType.UNDEFINED) != (value_offsetY_type)) { + const value_offsetY_value = value_offsetY! + let value_offsetY_value_type : int32 = RuntimeType.UNDEFINED + value_offsetY_value_type = runtimeType(value_offsetY_value) + if (RuntimeType.NUMBER == value_offsetY_value_type) { + valueSerializer.writeInt8(0) + const value_offsetY_value_0 = value_offsetY_value as number + valueSerializer.writeNumber(value_offsetY_value_0) } - else if (RuntimeType.OBJECT == value__right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__right_value_2 = value__right_value as Resource - valueSerializer.writeResource(value__right_value_2) + else if (RuntimeType.OBJECT == value_offsetY_value_type) { + valueSerializer.writeInt8(1) + const value_offsetY_value_1 = value_offsetY_value as Resource + valueSerializer.writeResource(value_offsetY_value_1) } } - const value__bottom = value._bottom - let value__bottom_type : int32 = RuntimeType.UNDEFINED - value__bottom_type = runtimeType(value__bottom) - valueSerializer.writeInt8(value__bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value__bottom_type)) { - const value__bottom_value = value__bottom! - let value__bottom_value_type : int32 = RuntimeType.UNDEFINED - value__bottom_value_type = runtimeType(value__bottom_value) - if (RuntimeType.STRING == value__bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value__bottom_value_0 = value__bottom_value as string - valueSerializer.writeString(value__bottom_value_0) - } - else if (RuntimeType.NUMBER == value__bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__bottom_value_1 = value__bottom_value as number - valueSerializer.writeNumber(value__bottom_value_1) + } + public writeGridColOptions(value: GridColOptions): void { + let valueSerializer : Serializer = this + const value_span = value.span + let value_span_type : int32 = RuntimeType.UNDEFINED + value_span_type = runtimeType(value_span) + valueSerializer.writeInt8(value_span_type) + if ((RuntimeType.UNDEFINED) != (value_span_type)) { + const value_span_value = value_span! + let value_span_value_type : int32 = RuntimeType.UNDEFINED + value_span_value_type = runtimeType(value_span_value) + if (RuntimeType.NUMBER == value_span_value_type) { + valueSerializer.writeInt8(0) + const value_span_value_0 = value_span_value as number + valueSerializer.writeNumber(value_span_value_0) } - else if (RuntimeType.OBJECT == value__bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__bottom_value_2 = value__bottom_value as Resource - valueSerializer.writeResource(value__bottom_value_2) + else if (RuntimeType.OBJECT == value_span_value_type) { + valueSerializer.writeInt8(1) + const value_span_value_1 = value_span_value as GridColColumnOption + valueSerializer.writeGridColColumnOption(value_span_value_1) } } - const value__start = value._start - let value__start_type : int32 = RuntimeType.UNDEFINED - value__start_type = runtimeType(value__start) - valueSerializer.writeInt8(value__start_type as int32) - if ((RuntimeType.UNDEFINED) != (value__start_type)) { - const value__start_value = value__start! - valueSerializer.writeLengthMetrics(value__start_value) + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + let value_offset_value_type : int32 = RuntimeType.UNDEFINED + value_offset_value_type = runtimeType(value_offset_value) + if (RuntimeType.NUMBER == value_offset_value_type) { + valueSerializer.writeInt8(0) + const value_offset_value_0 = value_offset_value as number + valueSerializer.writeNumber(value_offset_value_0) + } + else if (RuntimeType.OBJECT == value_offset_value_type) { + valueSerializer.writeInt8(1) + const value_offset_value_1 = value_offset_value as GridColColumnOption + valueSerializer.writeGridColColumnOption(value_offset_value_1) + } } - const value__end = value._end - let value__end_type : int32 = RuntimeType.UNDEFINED - value__end_type = runtimeType(value__end) - valueSerializer.writeInt8(value__end_type as int32) - if ((RuntimeType.UNDEFINED) != (value__end_type)) { - const value__end_value = value__end! - valueSerializer.writeLengthMetrics(value__end_value) - } - const value__itemWidth = value._itemWidth - let value__itemWidth_type : int32 = RuntimeType.UNDEFINED - value__itemWidth_type = runtimeType(value__itemWidth) - valueSerializer.writeInt8(value__itemWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value__itemWidth_type)) { - const value__itemWidth_value = value__itemWidth! - let value__itemWidth_value_type : int32 = RuntimeType.UNDEFINED - value__itemWidth_value_type = runtimeType(value__itemWidth_value) - if (RuntimeType.STRING == value__itemWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value__itemWidth_value_0 = value__itemWidth_value as string - valueSerializer.writeString(value__itemWidth_value_0) - } - else if (RuntimeType.NUMBER == value__itemWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__itemWidth_value_1 = value__itemWidth_value as number - valueSerializer.writeNumber(value__itemWidth_value_1) - } - else if (RuntimeType.OBJECT == value__itemWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__itemWidth_value_2 = value__itemWidth_value as Resource - valueSerializer.writeResource(value__itemWidth_value_2) - } - } - const value__itemHeight = value._itemHeight - let value__itemHeight_type : int32 = RuntimeType.UNDEFINED - value__itemHeight_type = runtimeType(value__itemHeight) - valueSerializer.writeInt8(value__itemHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value__itemHeight_type)) { - const value__itemHeight_value = value__itemHeight! - let value__itemHeight_value_type : int32 = RuntimeType.UNDEFINED - value__itemHeight_value_type = runtimeType(value__itemHeight_value) - if (RuntimeType.STRING == value__itemHeight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value__itemHeight_value_0 = value__itemHeight_value as string - valueSerializer.writeString(value__itemHeight_value_0) - } - else if (RuntimeType.NUMBER == value__itemHeight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__itemHeight_value_1 = value__itemHeight_value as number - valueSerializer.writeNumber(value__itemHeight_value_1) - } - else if (RuntimeType.OBJECT == value__itemHeight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__itemHeight_value_2 = value__itemHeight_value as Resource - valueSerializer.writeResource(value__itemHeight_value_2) - } - } - const value__selectedItemWidth = value._selectedItemWidth - let value__selectedItemWidth_type : int32 = RuntimeType.UNDEFINED - value__selectedItemWidth_type = runtimeType(value__selectedItemWidth) - valueSerializer.writeInt8(value__selectedItemWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value__selectedItemWidth_type)) { - const value__selectedItemWidth_value = value__selectedItemWidth! - let value__selectedItemWidth_value_type : int32 = RuntimeType.UNDEFINED - value__selectedItemWidth_value_type = runtimeType(value__selectedItemWidth_value) - if (RuntimeType.STRING == value__selectedItemWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value__selectedItemWidth_value_0 = value__selectedItemWidth_value as string - valueSerializer.writeString(value__selectedItemWidth_value_0) - } - else if (RuntimeType.NUMBER == value__selectedItemWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__selectedItemWidth_value_1 = value__selectedItemWidth_value as number - valueSerializer.writeNumber(value__selectedItemWidth_value_1) - } - else if (RuntimeType.OBJECT == value__selectedItemWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__selectedItemWidth_value_2 = value__selectedItemWidth_value as Resource - valueSerializer.writeResource(value__selectedItemWidth_value_2) - } - } - const value__selectedItemHeight = value._selectedItemHeight - let value__selectedItemHeight_type : int32 = RuntimeType.UNDEFINED - value__selectedItemHeight_type = runtimeType(value__selectedItemHeight) - valueSerializer.writeInt8(value__selectedItemHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value__selectedItemHeight_type)) { - const value__selectedItemHeight_value = value__selectedItemHeight! - let value__selectedItemHeight_value_type : int32 = RuntimeType.UNDEFINED - value__selectedItemHeight_value_type = runtimeType(value__selectedItemHeight_value) - if (RuntimeType.STRING == value__selectedItemHeight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value__selectedItemHeight_value_0 = value__selectedItemHeight_value as string - valueSerializer.writeString(value__selectedItemHeight_value_0) - } - else if (RuntimeType.NUMBER == value__selectedItemHeight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__selectedItemHeight_value_1 = value__selectedItemHeight_value as number - valueSerializer.writeNumber(value__selectedItemHeight_value_1) + const value_order = value.order + let value_order_type : int32 = RuntimeType.UNDEFINED + value_order_type = runtimeType(value_order) + valueSerializer.writeInt8(value_order_type) + if ((RuntimeType.UNDEFINED) != (value_order_type)) { + const value_order_value = value_order! + let value_order_value_type : int32 = RuntimeType.UNDEFINED + value_order_value_type = runtimeType(value_order_value) + if (RuntimeType.NUMBER == value_order_value_type) { + valueSerializer.writeInt8(0) + const value_order_value_0 = value_order_value as number + valueSerializer.writeNumber(value_order_value_0) } - else if (RuntimeType.OBJECT == value__selectedItemHeight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__selectedItemHeight_value_2 = value__selectedItemHeight_value as Resource - valueSerializer.writeResource(value__selectedItemHeight_value_2) + else if (RuntimeType.OBJECT == value_order_value_type) { + valueSerializer.writeInt8(1) + const value_order_value_1 = value_order_value as GridColColumnOption + valueSerializer.writeGridColColumnOption(value_order_value_1) } } - const value__mask = value._mask - let value__mask_type : int32 = RuntimeType.UNDEFINED - value__mask_type = runtimeType(value__mask) - valueSerializer.writeInt8(value__mask_type as int32) - if ((RuntimeType.UNDEFINED) != (value__mask_type)) { - const value__mask_value = value__mask! - valueSerializer.writeBoolean(value__mask_value) - } - const value__color = value._color - let value__color_type : int32 = RuntimeType.UNDEFINED - value__color_type = runtimeType(value__color) - valueSerializer.writeInt8(value__color_type as int32) - if ((RuntimeType.UNDEFINED) != (value__color_type)) { - const value__color_value = value__color! - let value__color_value_type : int32 = RuntimeType.UNDEFINED - value__color_value_type = runtimeType(value__color_value) - if (TypeChecker.isColor(value__color_value)) { - valueSerializer.writeInt8(0 as int32) - const value__color_value_0 = value__color_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value__color_value_0)) - } - else if (RuntimeType.NUMBER == value__color_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__color_value_1 = value__color_value as number - valueSerializer.writeNumber(value__color_value_1) - } - else if (RuntimeType.STRING == value__color_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__color_value_2 = value__color_value as string - valueSerializer.writeString(value__color_value_2) - } - else if (RuntimeType.OBJECT == value__color_value_type) { - valueSerializer.writeInt8(3 as int32) - const value__color_value_3 = value__color_value as Resource - valueSerializer.writeResource(value__color_value_3) - } + } + public writeHistoricalPoint(value: HistoricalPoint): void { + let valueSerializer : Serializer = this + const value_touchObject = value.touchObject + valueSerializer.writeTouchObject(value_touchObject) + const value_size = value.size + valueSerializer.writeNumber(value_size) + const value_force = value.force + valueSerializer.writeNumber(value_force) + const value_timestamp = value.timestamp + valueSerializer.writeInt64(value_timestamp) + } + public writeImageFrameInfo(value: ImageFrameInfo): void { + let valueSerializer : Serializer = this + const value_src = value.src + let value_src_type : int32 = RuntimeType.UNDEFINED + value_src_type = runtimeType(value_src) + if (RuntimeType.STRING == value_src_type) { + valueSerializer.writeInt8(0) + const value_src_0 = value_src as string + valueSerializer.writeString(value_src_0) } - const value__selectedColor = value._selectedColor - let value__selectedColor_type : int32 = RuntimeType.UNDEFINED - value__selectedColor_type = runtimeType(value__selectedColor) - valueSerializer.writeInt8(value__selectedColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value__selectedColor_type)) { - const value__selectedColor_value = value__selectedColor! - let value__selectedColor_value_type : int32 = RuntimeType.UNDEFINED - value__selectedColor_value_type = runtimeType(value__selectedColor_value) - if (TypeChecker.isColor(value__selectedColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value__selectedColor_value_0 = value__selectedColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value__selectedColor_value_0)) - } - else if (RuntimeType.NUMBER == value__selectedColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__selectedColor_value_1 = value__selectedColor_value as number - valueSerializer.writeNumber(value__selectedColor_value_1) - } - else if (RuntimeType.STRING == value__selectedColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__selectedColor_value_2 = value__selectedColor_value as string - valueSerializer.writeString(value__selectedColor_value_2) - } - else if (RuntimeType.OBJECT == value__selectedColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value__selectedColor_value_3 = value__selectedColor_value as Resource - valueSerializer.writeResource(value__selectedColor_value_3) - } + else if (TypeChecker.isResource(value_src, false, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_src_1 = value_src as Resource + valueSerializer.writeResource(value_src_1) } - const value__maxDisplayCount = value._maxDisplayCount - let value__maxDisplayCount_type : int32 = RuntimeType.UNDEFINED - value__maxDisplayCount_type = runtimeType(value__maxDisplayCount) - valueSerializer.writeInt8(value__maxDisplayCount_type as int32) - if ((RuntimeType.UNDEFINED) != (value__maxDisplayCount_type)) { - const value__maxDisplayCount_value = value__maxDisplayCount! - valueSerializer.writeNumber(value__maxDisplayCount_value) + else if (TypeChecker.isPixelMap(value_src, false, false)) { + valueSerializer.writeInt8(2) + const value_src_2 = value_src as PixelMap + valueSerializer.writePixelMap(value_src_2) } - } - writeDragPreviewOptions(value: DragPreviewOptions): void { - let valueSerializer : Serializer = this - const value_mode = value.mode - let value_mode_type : int32 = RuntimeType.UNDEFINED - value_mode_type = runtimeType(value_mode) - valueSerializer.writeInt8(value_mode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_mode_type)) { - const value_mode_value = value_mode! - let value_mode_value_type : int32 = RuntimeType.UNDEFINED - value_mode_value_type = runtimeType(value_mode_value) - if (TypeChecker.isDragPreviewMode(value_mode_value)) { - valueSerializer.writeInt8(0 as int32) - const value_mode_value_0 = value_mode_value as DragPreviewMode - valueSerializer.writeInt32(TypeChecker.DragPreviewMode_ToNumeric(value_mode_value_0)) + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as number + valueSerializer.writeNumber(value_width_value_0) } - else if (RuntimeType.OBJECT == value_mode_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_mode_value_1 = value_mode_value as Array - valueSerializer.writeInt32(value_mode_value_1.length as int32) - for (let i = 0; i < value_mode_value_1.length; i++) { - const value_mode_value_1_element : DragPreviewMode = value_mode_value_1[i] - valueSerializer.writeInt32(TypeChecker.DragPreviewMode_ToNumeric(value_mode_value_1_element)) - } + else if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as string + valueSerializer.writeString(value_width_value_1) } } - const value_modifier = value.modifier - let value_modifier_type : int32 = RuntimeType.UNDEFINED - value_modifier_type = runtimeType(value_modifier) - valueSerializer.writeInt8(value_modifier_type as int32) - if ((RuntimeType.UNDEFINED) != (value_modifier_type)) { - const value_modifier_value = value_modifier! - valueSerializer.writeImageModifier(value_modifier_value) - } - const value_numberBadge = value.numberBadge - let value_numberBadge_type : int32 = RuntimeType.UNDEFINED - value_numberBadge_type = runtimeType(value_numberBadge) - valueSerializer.writeInt8(value_numberBadge_type as int32) - if ((RuntimeType.UNDEFINED) != (value_numberBadge_type)) { - const value_numberBadge_value = value_numberBadge! - let value_numberBadge_value_type : int32 = RuntimeType.UNDEFINED - value_numberBadge_value_type = runtimeType(value_numberBadge_value) - if (RuntimeType.BOOLEAN == value_numberBadge_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_numberBadge_value_0 = value_numberBadge_value as boolean - valueSerializer.writeBoolean(value_numberBadge_value_0) + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type : int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.NUMBER == value_height_value_type) { + valueSerializer.writeInt8(0) + const value_height_value_0 = value_height_value as number + valueSerializer.writeNumber(value_height_value_0) } - else if (RuntimeType.NUMBER == value_numberBadge_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_numberBadge_value_1 = value_numberBadge_value as number - valueSerializer.writeNumber(value_numberBadge_value_1) + else if (RuntimeType.STRING == value_height_value_type) { + valueSerializer.writeInt8(1) + const value_height_value_1 = value_height_value as string + valueSerializer.writeString(value_height_value_1) } } - } - writeEdges(value: Edges): void { - let valueSerializer : Serializer = this const value_top = value.top let value_top_type : int32 = RuntimeType.UNDEFINED value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) + valueSerializer.writeInt8(value_top_type) if ((RuntimeType.UNDEFINED) != (value_top_type)) { const value_top_value = value_top! let value_top_value_type : int32 = RuntimeType.UNDEFINED value_top_value_type = runtimeType(value_top_value) - if (RuntimeType.STRING == value_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_top_value_0 = value_top_value as string - valueSerializer.writeString(value_top_value_0) + if (RuntimeType.NUMBER == value_top_value_type) { + valueSerializer.writeInt8(0) + const value_top_value_0 = value_top_value as number + valueSerializer.writeNumber(value_top_value_0) } - else if (RuntimeType.NUMBER == value_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_top_value_1 = value_top_value as number - valueSerializer.writeNumber(value_top_value_1) - } - else if (RuntimeType.OBJECT == value_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_top_value_2 = value_top_value as Resource - valueSerializer.writeResource(value_top_value_2) + else if (RuntimeType.STRING == value_top_value_type) { + valueSerializer.writeInt8(1) + const value_top_value_1 = value_top_value as string + valueSerializer.writeString(value_top_value_1) } } const value_left = value.left let value_left_type : int32 = RuntimeType.UNDEFINED value_left_type = runtimeType(value_left) - valueSerializer.writeInt8(value_left_type as int32) + valueSerializer.writeInt8(value_left_type) if ((RuntimeType.UNDEFINED) != (value_left_type)) { const value_left_value = value_left! let value_left_value_type : int32 = RuntimeType.UNDEFINED value_left_value_type = runtimeType(value_left_value) - if (RuntimeType.STRING == value_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_left_value_0 = value_left_value as string - valueSerializer.writeString(value_left_value_0) - } - else if (RuntimeType.NUMBER == value_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_left_value_1 = value_left_value as number - valueSerializer.writeNumber(value_left_value_1) - } - else if (RuntimeType.OBJECT == value_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_left_value_2 = value_left_value as Resource - valueSerializer.writeResource(value_left_value_2) - } - } - const value_bottom = value.bottom - let value_bottom_type : int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - let value_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_bottom_value_type = runtimeType(value_bottom_value) - if (RuntimeType.STRING == value_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_bottom_value_0 = value_bottom_value as string - valueSerializer.writeString(value_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_bottom_value_1 = value_bottom_value as number - valueSerializer.writeNumber(value_bottom_value_1) + if (RuntimeType.NUMBER == value_left_value_type) { + valueSerializer.writeInt8(0) + const value_left_value_0 = value_left_value as number + valueSerializer.writeNumber(value_left_value_0) } - else if (RuntimeType.OBJECT == value_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_bottom_value_2 = value_bottom_value as Resource - valueSerializer.writeResource(value_bottom_value_2) + else if (RuntimeType.STRING == value_left_value_type) { + valueSerializer.writeInt8(1) + const value_left_value_1 = value_left_value as string + valueSerializer.writeString(value_left_value_1) } } - const value_right = value.right - let value_right_type : int32 = RuntimeType.UNDEFINED - value_right_type = runtimeType(value_right) - valueSerializer.writeInt8(value_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_right_type)) { - const value_right_value = value_right! - let value_right_value_type : int32 = RuntimeType.UNDEFINED - value_right_value_type = runtimeType(value_right_value) - if (RuntimeType.STRING == value_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_right_value_0 = value_right_value as string - valueSerializer.writeString(value_right_value_0) - } - else if (RuntimeType.NUMBER == value_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_right_value_1 = value_right_value as number - valueSerializer.writeNumber(value_right_value_1) - } - else if (RuntimeType.OBJECT == value_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_right_value_2 = value_right_value as Resource - valueSerializer.writeResource(value_right_value_2) - } + const value_duration = value.duration + let value_duration_type : int32 = RuntimeType.UNDEFINED + value_duration_type = runtimeType(value_duration) + valueSerializer.writeInt8(value_duration_type) + if ((RuntimeType.UNDEFINED) != (value_duration_type)) { + const value_duration_value = value_duration! + valueSerializer.writeNumber(value_duration_value) } } - writeExpandedMenuItemOptions(value: ExpandedMenuItemOptions): void { + public writeJavaScriptProxy(value: JavaScriptProxy): void { let valueSerializer : Serializer = this - const value_content = value.content - let value_content_type : int32 = RuntimeType.UNDEFINED - value_content_type = runtimeType(value_content) - if (RuntimeType.STRING == value_content_type) { - valueSerializer.writeInt8(0 as int32) - const value_content_0 = value_content as string - valueSerializer.writeString(value_content_0) + const value_object_ = value.object_ + valueSerializer.holdAndWriteObject(value_object_) + const value_name = value.name + valueSerializer.writeString(value_name) + const value_methodList = value.methodList + valueSerializer.writeInt32(value_methodList.length as int32) + for (let i = 0; i < value_methodList.length; i++) { + const value_methodList_element : string = value_methodList[i] + valueSerializer.writeString(value_methodList_element) } - else if (RuntimeType.OBJECT == value_content_type) { - valueSerializer.writeInt8(1 as int32) - const value_content_1 = value_content as Resource - valueSerializer.writeResource(value_content_1) + const value_controller = value.controller + let value_controller_type : int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + if (TypeChecker.isWebController(value_controller)) { + valueSerializer.writeInt8(0) + const value_controller_0 = value_controller as WebController + valueSerializer.writeWebController(value_controller_0) } - const value_startIcon = value.startIcon - let value_startIcon_type : int32 = RuntimeType.UNDEFINED - value_startIcon_type = runtimeType(value_startIcon) - valueSerializer.writeInt8(value_startIcon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_startIcon_type)) { - const value_startIcon_value = value_startIcon! - let value_startIcon_value_type : int32 = RuntimeType.UNDEFINED - value_startIcon_value_type = runtimeType(value_startIcon_value) - if (RuntimeType.STRING == value_startIcon_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_startIcon_value_0 = value_startIcon_value as string - valueSerializer.writeString(value_startIcon_value_0) - } - else if (RuntimeType.OBJECT == value_startIcon_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_startIcon_value_1 = value_startIcon_value as Resource - valueSerializer.writeResource(value_startIcon_value_1) + else if (TypeChecker.isWebviewController(value_controller)) { + valueSerializer.writeInt8(1) + const value_controller_1 = value_controller as WebviewController + valueSerializer.writeWebviewController(value_controller_1) + } + const value_asyncMethodList = value.asyncMethodList + let value_asyncMethodList_type : int32 = RuntimeType.UNDEFINED + value_asyncMethodList_type = runtimeType(value_asyncMethodList) + valueSerializer.writeInt8(value_asyncMethodList_type) + if ((RuntimeType.UNDEFINED) != (value_asyncMethodList_type)) { + const value_asyncMethodList_value = value_asyncMethodList! + valueSerializer.writeInt32(value_asyncMethodList_value.length as int32) + for (let i = 0; i < value_asyncMethodList_value.length; i++) { + const value_asyncMethodList_value_element : string = value_asyncMethodList_value[i] + valueSerializer.writeString(value_asyncMethodList_value_element) } } - const value_action = value.action - valueSerializer.holdAndWriteCallback(value_action) + const value_permission = value.permission + let value_permission_type : int32 = RuntimeType.UNDEFINED + value_permission_type = runtimeType(value_permission) + valueSerializer.writeInt8(value_permission_type) + if ((RuntimeType.UNDEFINED) != (value_permission_type)) { + const value_permission_value = value_permission! + valueSerializer.writeString(value_permission_value) + } } - writeFadingEdgeOptions(value: FadingEdgeOptions): void { + public writeLengthConstrain(value: LengthConstrain): void { let valueSerializer : Serializer = this - const value_fadingEdgeLength = value.fadingEdgeLength - let value_fadingEdgeLength_type : int32 = RuntimeType.UNDEFINED - value_fadingEdgeLength_type = runtimeType(value_fadingEdgeLength) - valueSerializer.writeInt8(value_fadingEdgeLength_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fadingEdgeLength_type)) { - const value_fadingEdgeLength_value = value_fadingEdgeLength! - valueSerializer.writeLengthMetrics(value_fadingEdgeLength_value) + const value_minLength = value.minLength + let value_minLength_type : int32 = RuntimeType.UNDEFINED + value_minLength_type = runtimeType(value_minLength) + if (RuntimeType.STRING == value_minLength_type) { + valueSerializer.writeInt8(0) + const value_minLength_0 = value_minLength as string + valueSerializer.writeString(value_minLength_0) + } + else if (RuntimeType.NUMBER == value_minLength_type) { + valueSerializer.writeInt8(1) + const value_minLength_1 = value_minLength as number + valueSerializer.writeNumber(value_minLength_1) + } + else if (RuntimeType.OBJECT == value_minLength_type) { + valueSerializer.writeInt8(2) + const value_minLength_2 = value_minLength as Resource + valueSerializer.writeResource(value_minLength_2) + } + const value_maxLength = value.maxLength + let value_maxLength_type : int32 = RuntimeType.UNDEFINED + value_maxLength_type = runtimeType(value_maxLength) + if (RuntimeType.STRING == value_maxLength_type) { + valueSerializer.writeInt8(0) + const value_maxLength_0 = value_maxLength as string + valueSerializer.writeString(value_maxLength_0) + } + else if (RuntimeType.NUMBER == value_maxLength_type) { + valueSerializer.writeInt8(1) + const value_maxLength_1 = value_maxLength as number + valueSerializer.writeNumber(value_maxLength_1) + } + else if (RuntimeType.OBJECT == value_maxLength_type) { + valueSerializer.writeInt8(2) + const value_maxLength_2 = value_maxLength as Resource + valueSerializer.writeResource(value_maxLength_2) } } - writeFlexSpaceOptions(value: FlexSpaceOptions): void { + public writeLightSource(value: LightSource): void { let valueSerializer : Serializer = this - const value_main = value.main - let value_main_type : int32 = RuntimeType.UNDEFINED - value_main_type = runtimeType(value_main) - valueSerializer.writeInt8(value_main_type as int32) - if ((RuntimeType.UNDEFINED) != (value_main_type)) { - const value_main_value = value_main! - valueSerializer.writeLengthMetrics(value_main_value) + const value_positionX = value.positionX + let value_positionX_type : int32 = RuntimeType.UNDEFINED + value_positionX_type = runtimeType(value_positionX) + if (RuntimeType.STRING == value_positionX_type) { + valueSerializer.writeInt8(0) + const value_positionX_0 = value_positionX as string + valueSerializer.writeString(value_positionX_0) } - const value_cross = value.cross - let value_cross_type : int32 = RuntimeType.UNDEFINED - value_cross_type = runtimeType(value_cross) - valueSerializer.writeInt8(value_cross_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cross_type)) { - const value_cross_value = value_cross! - valueSerializer.writeLengthMetrics(value_cross_value) + else if (RuntimeType.NUMBER == value_positionX_type) { + valueSerializer.writeInt8(1) + const value_positionX_1 = value_positionX as number + valueSerializer.writeNumber(value_positionX_1) + } + else if (RuntimeType.OBJECT == value_positionX_type) { + valueSerializer.writeInt8(2) + const value_positionX_2 = value_positionX as Resource + valueSerializer.writeResource(value_positionX_2) + } + const value_positionY = value.positionY + let value_positionY_type : int32 = RuntimeType.UNDEFINED + value_positionY_type = runtimeType(value_positionY) + if (RuntimeType.STRING == value_positionY_type) { + valueSerializer.writeInt8(0) + const value_positionY_0 = value_positionY as string + valueSerializer.writeString(value_positionY_0) + } + else if (RuntimeType.NUMBER == value_positionY_type) { + valueSerializer.writeInt8(1) + const value_positionY_1 = value_positionY as number + valueSerializer.writeNumber(value_positionY_1) + } + else if (RuntimeType.OBJECT == value_positionY_type) { + valueSerializer.writeInt8(2) + const value_positionY_2 = value_positionY as Resource + valueSerializer.writeResource(value_positionY_2) + } + const value_positionZ = value.positionZ + let value_positionZ_type : int32 = RuntimeType.UNDEFINED + value_positionZ_type = runtimeType(value_positionZ) + if (RuntimeType.STRING == value_positionZ_type) { + valueSerializer.writeInt8(0) + const value_positionZ_0 = value_positionZ as string + valueSerializer.writeString(value_positionZ_0) + } + else if (RuntimeType.NUMBER == value_positionZ_type) { + valueSerializer.writeInt8(1) + const value_positionZ_1 = value_positionZ as number + valueSerializer.writeNumber(value_positionZ_1) + } + else if (RuntimeType.OBJECT == value_positionZ_type) { + valueSerializer.writeInt8(2) + const value_positionZ_2 = value_positionZ as Resource + valueSerializer.writeResource(value_positionZ_2) + } + const value_intensity = value.intensity + valueSerializer.writeNumber(value_intensity) + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isColor(value_color_value)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) + } + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as number + valueSerializer.writeNumber(value_color_value_1) + } + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as string + valueSerializer.writeString(value_color_value_2) + } + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = value_color_value as Resource + valueSerializer.writeResource(value_color_value_3) + } } } - writeFocusBoxStyle(value: FocusBoxStyle): void { + public writeLinearIndicatorStyle(value: LinearIndicatorStyle): void { let valueSerializer : Serializer = this - const value_margin = value.margin - let value_margin_type : int32 = RuntimeType.UNDEFINED - value_margin_type = runtimeType(value_margin) - valueSerializer.writeInt8(value_margin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_type)) { - const value_margin_value = value_margin! - valueSerializer.writeLengthMetrics(value_margin_value) - } - const value_strokeColor = value.strokeColor - let value_strokeColor_type : int32 = RuntimeType.UNDEFINED - value_strokeColor_type = runtimeType(value_strokeColor) - valueSerializer.writeInt8(value_strokeColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_strokeColor_type)) { - const value_strokeColor_value = value_strokeColor! - valueSerializer.writeColorMetrics(value_strokeColor_value) + const value_space = value.space + let value_space_type : int32 = RuntimeType.UNDEFINED + value_space_type = runtimeType(value_space) + valueSerializer.writeInt8(value_space_type) + if ((RuntimeType.UNDEFINED) != (value_space_type)) { + const value_space_value = value_space! + valueSerializer.writeLengthMetrics(value_space_value) } const value_strokeWidth = value.strokeWidth let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type as int32) + valueSerializer.writeInt8(value_strokeWidth_type) if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { const value_strokeWidth_value = value_strokeWidth! valueSerializer.writeLengthMetrics(value_strokeWidth_value) } + const value_strokeRadius = value.strokeRadius + let value_strokeRadius_type : int32 = RuntimeType.UNDEFINED + value_strokeRadius_type = runtimeType(value_strokeRadius) + valueSerializer.writeInt8(value_strokeRadius_type) + if ((RuntimeType.UNDEFINED) != (value_strokeRadius_type)) { + const value_strokeRadius_value = value_strokeRadius! + valueSerializer.writeLengthMetrics(value_strokeRadius_value) + } + const value_trackBackgroundColor = value.trackBackgroundColor + let value_trackBackgroundColor_type : int32 = RuntimeType.UNDEFINED + value_trackBackgroundColor_type = runtimeType(value_trackBackgroundColor) + valueSerializer.writeInt8(value_trackBackgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_trackBackgroundColor_type)) { + const value_trackBackgroundColor_value = value_trackBackgroundColor! + valueSerializer.writeColorMetrics(value_trackBackgroundColor_value) + } + const value_trackColor = value.trackColor + let value_trackColor_type : int32 = RuntimeType.UNDEFINED + value_trackColor_type = runtimeType(value_trackColor) + valueSerializer.writeInt8(value_trackColor_type) + if ((RuntimeType.UNDEFINED) != (value_trackColor_type)) { + const value_trackColor_value = value_trackColor! + valueSerializer.writeColorMetrics(value_trackColor_value) + } } - writeFont(value: Font): void { + public writeLocalizedAlignRuleOptions(value: LocalizedAlignRuleOptions): void { let valueSerializer : Serializer = this - const value_size = value.size - let value_size_type : int32 = RuntimeType.UNDEFINED - value_size_type = runtimeType(value_size) - valueSerializer.writeInt8(value_size_type as int32) - if ((RuntimeType.UNDEFINED) != (value_size_type)) { - const value_size_value = value_size! - let value_size_value_type : int32 = RuntimeType.UNDEFINED - value_size_value_type = runtimeType(value_size_value) - if (RuntimeType.STRING == value_size_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_size_value_0 = value_size_value as string - valueSerializer.writeString(value_size_value_0) - } - else if (RuntimeType.NUMBER == value_size_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_size_value_1 = value_size_value as number - valueSerializer.writeNumber(value_size_value_1) - } - else if (RuntimeType.OBJECT == value_size_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_size_value_2 = value_size_value as Resource - valueSerializer.writeResource(value_size_value_2) - } - } - const value_weight = value.weight - let value_weight_type : int32 = RuntimeType.UNDEFINED - value_weight_type = runtimeType(value_weight) - valueSerializer.writeInt8(value_weight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_weight_type)) { - const value_weight_value = value_weight! - let value_weight_value_type : int32 = RuntimeType.UNDEFINED - value_weight_value_type = runtimeType(value_weight_value) - if (TypeChecker.isFontWeight(value_weight_value)) { - valueSerializer.writeInt8(0 as int32) - const value_weight_value_0 = value_weight_value as FontWeight - valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_weight_value_0)) - } - else if (RuntimeType.NUMBER == value_weight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_weight_value_1 = value_weight_value as number - valueSerializer.writeNumber(value_weight_value_1) - } - else if (RuntimeType.STRING == value_weight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_weight_value_2 = value_weight_value as string - valueSerializer.writeString(value_weight_value_2) - } - } - const value_family = value.family - let value_family_type : int32 = RuntimeType.UNDEFINED - value_family_type = runtimeType(value_family) - valueSerializer.writeInt8(value_family_type as int32) - if ((RuntimeType.UNDEFINED) != (value_family_type)) { - const value_family_value = value_family! - let value_family_value_type : int32 = RuntimeType.UNDEFINED - value_family_value_type = runtimeType(value_family_value) - if (RuntimeType.STRING == value_family_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_family_value_0 = value_family_value as string - valueSerializer.writeString(value_family_value_0) - } - else if (RuntimeType.OBJECT == value_family_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_family_value_1 = value_family_value as Resource - valueSerializer.writeResource(value_family_value_1) - } - } - const value_style = value.style - let value_style_type : int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = (value_style as FontStyle) - valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_style_value)) - } - } - writeFontOptions(value: FontOptions): void { - let valueSerializer : Serializer = this - const value_familyName = value.familyName - let value_familyName_type : int32 = RuntimeType.UNDEFINED - value_familyName_type = runtimeType(value_familyName) - if (RuntimeType.STRING == value_familyName_type) { - valueSerializer.writeInt8(0 as int32) - const value_familyName_0 = value_familyName as string - valueSerializer.writeString(value_familyName_0) - } - else if (RuntimeType.OBJECT == value_familyName_type) { - valueSerializer.writeInt8(1 as int32) - const value_familyName_1 = value_familyName as Resource - valueSerializer.writeResource(value_familyName_1) + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeLocalizedHorizontalAlignParam(value_start_value) } - const value_familySrc = value.familySrc - let value_familySrc_type : int32 = RuntimeType.UNDEFINED - value_familySrc_type = runtimeType(value_familySrc) - if (RuntimeType.STRING == value_familySrc_type) { - valueSerializer.writeInt8(0 as int32) - const value_familySrc_0 = value_familySrc as string - valueSerializer.writeString(value_familySrc_0) + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeLocalizedHorizontalAlignParam(value_end_value) } - else if (RuntimeType.OBJECT == value_familySrc_type) { - valueSerializer.writeInt8(1 as int32) - const value_familySrc_1 = value_familySrc as Resource - valueSerializer.writeResource(value_familySrc_1) + const value_middle = value.middle + let value_middle_type : int32 = RuntimeType.UNDEFINED + value_middle_type = runtimeType(value_middle) + valueSerializer.writeInt8(value_middle_type) + if ((RuntimeType.UNDEFINED) != (value_middle_type)) { + const value_middle_value = value_middle! + valueSerializer.writeLocalizedHorizontalAlignParam(value_middle_value) } - } - writeForegroundBlurStyleOptions(value: ForegroundBlurStyleOptions): void { - let valueSerializer : Serializer = this - const value_colorMode = value.colorMode - let value_colorMode_type : int32 = RuntimeType.UNDEFINED - value_colorMode_type = runtimeType(value_colorMode) - valueSerializer.writeInt8(value_colorMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { - const value_colorMode_value = (value_colorMode as ThemeColorMode) - valueSerializer.writeInt32(TypeChecker.ThemeColorMode_ToNumeric(value_colorMode_value)) + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeLocalizedVerticalAlignParam(value_top_value) } - const value_adaptiveColor = value.adaptiveColor - let value_adaptiveColor_type : int32 = RuntimeType.UNDEFINED - value_adaptiveColor_type = runtimeType(value_adaptiveColor) - valueSerializer.writeInt8(value_adaptiveColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_adaptiveColor_type)) { - const value_adaptiveColor_value = (value_adaptiveColor as AdaptiveColor) - valueSerializer.writeInt32(TypeChecker.AdaptiveColor_ToNumeric(value_adaptiveColor_value)) + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + valueSerializer.writeLocalizedVerticalAlignParam(value_bottom_value) } - const value_scale = value.scale - let value_scale_type : int32 = RuntimeType.UNDEFINED - value_scale_type = runtimeType(value_scale) - valueSerializer.writeInt8(value_scale_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scale_type)) { - const value_scale_value = value_scale! - valueSerializer.writeNumber(value_scale_value) + const value_center = value.center + let value_center_type : int32 = RuntimeType.UNDEFINED + value_center_type = runtimeType(value_center) + valueSerializer.writeInt8(value_center_type) + if ((RuntimeType.UNDEFINED) != (value_center_type)) { + const value_center_value = value_center! + valueSerializer.writeLocalizedVerticalAlignParam(value_center_value) } - const value_blurOptions = value.blurOptions - let value_blurOptions_type : int32 = RuntimeType.UNDEFINED - value_blurOptions_type = runtimeType(value_blurOptions) - valueSerializer.writeInt8(value_blurOptions_type as int32) - if ((RuntimeType.UNDEFINED) != (value_blurOptions_type)) { - const value_blurOptions_value = value_blurOptions! - valueSerializer.writeBlurOptions(value_blurOptions_value) + const value_bias = value.bias + let value_bias_type : int32 = RuntimeType.UNDEFINED + value_bias_type = runtimeType(value_bias) + valueSerializer.writeInt8(value_bias_type) + if ((RuntimeType.UNDEFINED) != (value_bias_type)) { + const value_bias_value = value_bias! + valueSerializer.writeBias(value_bias_value) } } - writeFormInfo(value: FormInfo): void { + public writeLocalizedBorderRadiuses(value: LocalizedBorderRadiuses): void { let valueSerializer : Serializer = this - const value_id = value.id - let value_id_type : int32 = RuntimeType.UNDEFINED - value_id_type = runtimeType(value_id) - if (RuntimeType.NUMBER == value_id_type) { - valueSerializer.writeInt8(0 as int32) - const value_id_0 = value_id as int64 - valueSerializer.writeInt64(value_id_0) - } - else if (RuntimeType.STRING == value_id_type) { - valueSerializer.writeInt8(1 as int32) - const value_id_1 = value_id as string - valueSerializer.writeString(value_id_1) - } - const value_name = value.name - valueSerializer.writeString(value_name) - const value_bundle = value.bundle - valueSerializer.writeString(value_bundle) - const value_ability = value.ability - valueSerializer.writeString(value_ability) - const value_module = value.module - valueSerializer.writeString(value_module) - const value_dimension = value.dimension - let value_dimension_type : int32 = RuntimeType.UNDEFINED - value_dimension_type = runtimeType(value_dimension) - valueSerializer.writeInt8(value_dimension_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dimension_type)) { - const value_dimension_value = (value_dimension as FormDimension) - valueSerializer.writeInt32(TypeChecker.FormDimension_ToNumeric(value_dimension_value)) - } - const value_temporary = value.temporary - let value_temporary_type : int32 = RuntimeType.UNDEFINED - value_temporary_type = runtimeType(value_temporary) - valueSerializer.writeInt8(value_temporary_type as int32) - if ((RuntimeType.UNDEFINED) != (value_temporary_type)) { - const value_temporary_value = value_temporary! - valueSerializer.writeBoolean(value_temporary_value) + const value_topStart = value.topStart + let value_topStart_type : int32 = RuntimeType.UNDEFINED + value_topStart_type = runtimeType(value_topStart) + valueSerializer.writeInt8(value_topStart_type) + if ((RuntimeType.UNDEFINED) != (value_topStart_type)) { + const value_topStart_value = value_topStart! + valueSerializer.writeLengthMetrics(value_topStart_value) } - const value_want = value.want - let value_want_type : int32 = RuntimeType.UNDEFINED - value_want_type = runtimeType(value_want) - valueSerializer.writeInt8(value_want_type as int32) - if ((RuntimeType.UNDEFINED) != (value_want_type)) { - const value_want_value = value_want! - valueSerializer.writeWant(value_want_value) + const value_topEnd = value.topEnd + let value_topEnd_type : int32 = RuntimeType.UNDEFINED + value_topEnd_type = runtimeType(value_topEnd) + valueSerializer.writeInt8(value_topEnd_type) + if ((RuntimeType.UNDEFINED) != (value_topEnd_type)) { + const value_topEnd_value = value_topEnd! + valueSerializer.writeLengthMetrics(value_topEnd_value) } - const value_renderingMode = value.renderingMode - let value_renderingMode_type : int32 = RuntimeType.UNDEFINED - value_renderingMode_type = runtimeType(value_renderingMode) - valueSerializer.writeInt8(value_renderingMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_renderingMode_type)) { - const value_renderingMode_value = (value_renderingMode as FormRenderingMode) - valueSerializer.writeInt32(TypeChecker.FormRenderingMode_ToNumeric(value_renderingMode_value)) + const value_bottomStart = value.bottomStart + let value_bottomStart_type : int32 = RuntimeType.UNDEFINED + value_bottomStart_type = runtimeType(value_bottomStart) + valueSerializer.writeInt8(value_bottomStart_type) + if ((RuntimeType.UNDEFINED) != (value_bottomStart_type)) { + const value_bottomStart_value = value_bottomStart! + valueSerializer.writeLengthMetrics(value_bottomStart_value) } - const value_shape = value.shape - let value_shape_type : int32 = RuntimeType.UNDEFINED - value_shape_type = runtimeType(value_shape) - valueSerializer.writeInt8(value_shape_type as int32) - if ((RuntimeType.UNDEFINED) != (value_shape_type)) { - const value_shape_value = (value_shape as FormShape) - valueSerializer.writeInt32(TypeChecker.FormShape_ToNumeric(value_shape_value)) + const value_bottomEnd = value.bottomEnd + let value_bottomEnd_type : int32 = RuntimeType.UNDEFINED + value_bottomEnd_type = runtimeType(value_bottomEnd) + valueSerializer.writeInt8(value_bottomEnd_type) + if ((RuntimeType.UNDEFINED) != (value_bottomEnd_type)) { + const value_bottomEnd_value = value_bottomEnd! + valueSerializer.writeLengthMetrics(value_bottomEnd_value) } } - writeGaugeIndicatorOptions(value: GaugeIndicatorOptions): void { + public writeLocalizedEdgeColors(value: LocalizedEdgeColors): void { let valueSerializer : Serializer = this - const value_icon = value.icon - let value_icon_type : int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - let value_icon_value_type : int32 = RuntimeType.UNDEFINED - value_icon_value_type = runtimeType(value_icon_value) - if (RuntimeType.STRING == value_icon_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_icon_value_0 = value_icon_value as string - valueSerializer.writeString(value_icon_value_0) + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type : int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (TypeChecker.isColor(value_top_value)) { + valueSerializer.writeInt8(0) + const value_top_value_0 = value_top_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_top_value_0)) } - else if (RuntimeType.OBJECT == value_icon_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_icon_value_1 = value_icon_value as Resource - valueSerializer.writeResource(value_icon_value_1) + else if (RuntimeType.NUMBER == value_top_value_type) { + valueSerializer.writeInt8(1) + const value_top_value_1 = value_top_value as number + valueSerializer.writeNumber(value_top_value_1) } - } - const value_space = value.space - let value_space_type : int32 = RuntimeType.UNDEFINED - value_space_type = runtimeType(value_space) - valueSerializer.writeInt8(value_space_type as int32) - if ((RuntimeType.UNDEFINED) != (value_space_type)) { - const value_space_value = value_space! - let value_space_value_type : int32 = RuntimeType.UNDEFINED - value_space_value_type = runtimeType(value_space_value) - if (RuntimeType.STRING == value_space_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_space_value_0 = value_space_value as string - valueSerializer.writeString(value_space_value_0) - } - else if (RuntimeType.NUMBER == value_space_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_space_value_1 = value_space_value as number - valueSerializer.writeNumber(value_space_value_1) + else if (RuntimeType.STRING == value_top_value_type) { + valueSerializer.writeInt8(2) + const value_top_value_2 = value_top_value as string + valueSerializer.writeString(value_top_value_2) } - else if (RuntimeType.OBJECT == value_space_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_space_value_2 = value_space_value as Resource - valueSerializer.writeResource(value_space_value_2) + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(3) + const value_top_value_3 = value_top_value as Resource + valueSerializer.writeResource(value_top_value_3) } } - } - writeGaugeShadowOptions(value: GaugeShadowOptions): void { - let valueSerializer : Serializer = this - const value_radius = value.radius - let value_radius_type : int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_type)) { - const value_radius_value = value_radius! - let value_radius_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_type = runtimeType(value_radius_value) - if (RuntimeType.NUMBER == value_radius_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0 = value_radius_value as number - valueSerializer.writeNumber(value_radius_value_0) + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + let value_end_value_type : int32 = RuntimeType.UNDEFINED + value_end_value_type = runtimeType(value_end_value) + if (TypeChecker.isColor(value_end_value)) { + valueSerializer.writeInt8(0) + const value_end_value_0 = value_end_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_end_value_0)) } - else if (RuntimeType.OBJECT == value_radius_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_1 = value_radius_value as Resource - valueSerializer.writeResource(value_radius_value_1) + else if (RuntimeType.NUMBER == value_end_value_type) { + valueSerializer.writeInt8(1) + const value_end_value_1 = value_end_value as number + valueSerializer.writeNumber(value_end_value_1) } - } - const value_offsetX = value.offsetX - let value_offsetX_type : int32 = RuntimeType.UNDEFINED - value_offsetX_type = runtimeType(value_offsetX) - valueSerializer.writeInt8(value_offsetX_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offsetX_type)) { - const value_offsetX_value = value_offsetX! - let value_offsetX_value_type : int32 = RuntimeType.UNDEFINED - value_offsetX_value_type = runtimeType(value_offsetX_value) - if (RuntimeType.NUMBER == value_offsetX_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_offsetX_value_0 = value_offsetX_value as number - valueSerializer.writeNumber(value_offsetX_value_0) + else if (RuntimeType.STRING == value_end_value_type) { + valueSerializer.writeInt8(2) + const value_end_value_2 = value_end_value as string + valueSerializer.writeString(value_end_value_2) } - else if (RuntimeType.OBJECT == value_offsetX_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_offsetX_value_1 = value_offsetX_value as Resource - valueSerializer.writeResource(value_offsetX_value_1) + else if (RuntimeType.OBJECT == value_end_value_type) { + valueSerializer.writeInt8(3) + const value_end_value_3 = value_end_value as Resource + valueSerializer.writeResource(value_end_value_3) } } - const value_offsetY = value.offsetY - let value_offsetY_type : int32 = RuntimeType.UNDEFINED - value_offsetY_type = runtimeType(value_offsetY) - valueSerializer.writeInt8(value_offsetY_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offsetY_type)) { - const value_offsetY_value = value_offsetY! - let value_offsetY_value_type : int32 = RuntimeType.UNDEFINED - value_offsetY_value_type = runtimeType(value_offsetY_value) - if (RuntimeType.NUMBER == value_offsetY_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_offsetY_value_0 = value_offsetY_value as number - valueSerializer.writeNumber(value_offsetY_value_0) + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type : int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (TypeChecker.isColor(value_bottom_value)) { + valueSerializer.writeInt8(0) + const value_bottom_value_0 = value_bottom_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_bottom_value_0)) } - else if (RuntimeType.OBJECT == value_offsetY_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_offsetY_value_1 = value_offsetY_value as Resource - valueSerializer.writeResource(value_offsetY_value_1) + else if (RuntimeType.NUMBER == value_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_bottom_value_1 = value_bottom_value as number + valueSerializer.writeNumber(value_bottom_value_1) } - } - } - writeGridColOptions(value: GridColOptions): void { - let valueSerializer : Serializer = this - const value_span = value.span - let value_span_type : int32 = RuntimeType.UNDEFINED - value_span_type = runtimeType(value_span) - valueSerializer.writeInt8(value_span_type as int32) - if ((RuntimeType.UNDEFINED) != (value_span_type)) { - const value_span_value = value_span! - let value_span_value_type : int32 = RuntimeType.UNDEFINED - value_span_value_type = runtimeType(value_span_value) - if (RuntimeType.NUMBER == value_span_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_span_value_0 = value_span_value as number - valueSerializer.writeNumber(value_span_value_0) + else if (RuntimeType.STRING == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = value_bottom_value as string + valueSerializer.writeString(value_bottom_value_2) } - else if (RuntimeType.OBJECT == value_span_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_span_value_1 = value_span_value as GridColColumnOption - valueSerializer.writeGridColColumnOption(value_span_value_1) + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(3) + const value_bottom_value_3 = value_bottom_value as Resource + valueSerializer.writeResource(value_bottom_value_3) } } - const value_offset = value.offset - let value_offset_type : int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - let value_offset_value_type : int32 = RuntimeType.UNDEFINED - value_offset_value_type = runtimeType(value_offset_value) - if (RuntimeType.NUMBER == value_offset_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_0 = value_offset_value as number - valueSerializer.writeNumber(value_offset_value_0) + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + let value_start_value_type : int32 = RuntimeType.UNDEFINED + value_start_value_type = runtimeType(value_start_value) + if (TypeChecker.isColor(value_start_value)) { + valueSerializer.writeInt8(0) + const value_start_value_0 = value_start_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_start_value_0)) } - else if (RuntimeType.OBJECT == value_offset_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_1 = value_offset_value as GridColColumnOption - valueSerializer.writeGridColColumnOption(value_offset_value_1) + else if (RuntimeType.NUMBER == value_start_value_type) { + valueSerializer.writeInt8(1) + const value_start_value_1 = value_start_value as number + valueSerializer.writeNumber(value_start_value_1) } - } - const value_order = value.order - let value_order_type : int32 = RuntimeType.UNDEFINED - value_order_type = runtimeType(value_order) - valueSerializer.writeInt8(value_order_type as int32) - if ((RuntimeType.UNDEFINED) != (value_order_type)) { - const value_order_value = value_order! - let value_order_value_type : int32 = RuntimeType.UNDEFINED - value_order_value_type = runtimeType(value_order_value) - if (RuntimeType.NUMBER == value_order_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_order_value_0 = value_order_value as number - valueSerializer.writeNumber(value_order_value_0) + else if (RuntimeType.STRING == value_start_value_type) { + valueSerializer.writeInt8(2) + const value_start_value_2 = value_start_value as string + valueSerializer.writeString(value_start_value_2) } - else if (RuntimeType.OBJECT == value_order_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_order_value_1 = value_order_value as GridColColumnOption - valueSerializer.writeGridColColumnOption(value_order_value_1) + else if (RuntimeType.OBJECT == value_start_value_type) { + valueSerializer.writeInt8(3) + const value_start_value_3 = value_start_value as Resource + valueSerializer.writeResource(value_start_value_3) } } } - writeGridRowSizeOption(value: GridRowSizeOption): void { + public writeLocalizedEdges(value: LocalizedEdges): void { let valueSerializer : Serializer = this - const value_xs = value.xs - let value_xs_type : int32 = RuntimeType.UNDEFINED - value_xs_type = runtimeType(value_xs) - valueSerializer.writeInt8(value_xs_type as int32) - if ((RuntimeType.UNDEFINED) != (value_xs_type)) { - const value_xs_value = value_xs! - let value_xs_value_type : int32 = RuntimeType.UNDEFINED - value_xs_value_type = runtimeType(value_xs_value) - if (RuntimeType.STRING == value_xs_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_xs_value_0 = value_xs_value as string - valueSerializer.writeString(value_xs_value_0) - } - else if (RuntimeType.NUMBER == value_xs_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_xs_value_1 = value_xs_value as number - valueSerializer.writeNumber(value_xs_value_1) - } - else if (RuntimeType.OBJECT == value_xs_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_xs_value_2 = value_xs_value as Resource - valueSerializer.writeResource(value_xs_value_2) - } + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeLengthMetrics(value_top_value) } - const value_sm = value.sm - let value_sm_type : int32 = RuntimeType.UNDEFINED - value_sm_type = runtimeType(value_sm) - valueSerializer.writeInt8(value_sm_type as int32) - if ((RuntimeType.UNDEFINED) != (value_sm_type)) { - const value_sm_value = value_sm! - let value_sm_value_type : int32 = RuntimeType.UNDEFINED - value_sm_value_type = runtimeType(value_sm_value) - if (RuntimeType.STRING == value_sm_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_sm_value_0 = value_sm_value as string - valueSerializer.writeString(value_sm_value_0) - } - else if (RuntimeType.NUMBER == value_sm_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_sm_value_1 = value_sm_value as number - valueSerializer.writeNumber(value_sm_value_1) - } - else if (RuntimeType.OBJECT == value_sm_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_sm_value_2 = value_sm_value as Resource - valueSerializer.writeResource(value_sm_value_2) - } + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeLengthMetrics(value_start_value) } - const value_md = value.md - let value_md_type : int32 = RuntimeType.UNDEFINED - value_md_type = runtimeType(value_md) - valueSerializer.writeInt8(value_md_type as int32) - if ((RuntimeType.UNDEFINED) != (value_md_type)) { - const value_md_value = value_md! - let value_md_value_type : int32 = RuntimeType.UNDEFINED - value_md_value_type = runtimeType(value_md_value) - if (RuntimeType.STRING == value_md_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_md_value_0 = value_md_value as string - valueSerializer.writeString(value_md_value_0) - } - else if (RuntimeType.NUMBER == value_md_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_md_value_1 = value_md_value as number - valueSerializer.writeNumber(value_md_value_1) - } - else if (RuntimeType.OBJECT == value_md_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_md_value_2 = value_md_value as Resource - valueSerializer.writeResource(value_md_value_2) - } + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + valueSerializer.writeLengthMetrics(value_bottom_value) } - const value_lg = value.lg - let value_lg_type : int32 = RuntimeType.UNDEFINED - value_lg_type = runtimeType(value_lg) - valueSerializer.writeInt8(value_lg_type as int32) - if ((RuntimeType.UNDEFINED) != (value_lg_type)) { - const value_lg_value = value_lg! - let value_lg_value_type : int32 = RuntimeType.UNDEFINED - value_lg_value_type = runtimeType(value_lg_value) - if (RuntimeType.STRING == value_lg_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_lg_value_0 = value_lg_value as string - valueSerializer.writeString(value_lg_value_0) - } - else if (RuntimeType.NUMBER == value_lg_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_lg_value_1 = value_lg_value as number - valueSerializer.writeNumber(value_lg_value_1) - } - else if (RuntimeType.OBJECT == value_lg_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_lg_value_2 = value_lg_value as Resource - valueSerializer.writeResource(value_lg_value_2) - } - } - const value_xl = value.xl - let value_xl_type : int32 = RuntimeType.UNDEFINED - value_xl_type = runtimeType(value_xl) - valueSerializer.writeInt8(value_xl_type as int32) - if ((RuntimeType.UNDEFINED) != (value_xl_type)) { - const value_xl_value = value_xl! - let value_xl_value_type : int32 = RuntimeType.UNDEFINED - value_xl_value_type = runtimeType(value_xl_value) - if (RuntimeType.STRING == value_xl_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_xl_value_0 = value_xl_value as string - valueSerializer.writeString(value_xl_value_0) - } - else if (RuntimeType.NUMBER == value_xl_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_xl_value_1 = value_xl_value as number - valueSerializer.writeNumber(value_xl_value_1) - } - else if (RuntimeType.OBJECT == value_xl_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_xl_value_2 = value_xl_value as Resource - valueSerializer.writeResource(value_xl_value_2) - } - } - const value_xxl = value.xxl - let value_xxl_type : int32 = RuntimeType.UNDEFINED - value_xxl_type = runtimeType(value_xxl) - valueSerializer.writeInt8(value_xxl_type as int32) - if ((RuntimeType.UNDEFINED) != (value_xxl_type)) { - const value_xxl_value = value_xxl! - let value_xxl_value_type : int32 = RuntimeType.UNDEFINED - value_xxl_value_type = runtimeType(value_xxl_value) - if (RuntimeType.STRING == value_xxl_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_xxl_value_0 = value_xxl_value as string - valueSerializer.writeString(value_xxl_value_0) - } - else if (RuntimeType.NUMBER == value_xxl_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_xxl_value_1 = value_xxl_value as number - valueSerializer.writeNumber(value_xxl_value_1) - } - else if (RuntimeType.OBJECT == value_xxl_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_xxl_value_2 = value_xxl_value as Resource - valueSerializer.writeResource(value_xxl_value_2) - } + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeLengthMetrics(value_end_value) } } - writeGuideLinePosition(value: GuideLinePosition): void { + public writeLocalizedEdgeWidths(value: LocalizedEdgeWidths): void { let valueSerializer : Serializer = this + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeLengthMetrics(value_top_value) + } + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeLengthMetrics(value_end_value) + } + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + valueSerializer.writeLengthMetrics(value_bottom_value) + } const value_start = value.start let value_start_type : int32 = RuntimeType.UNDEFINED value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) + valueSerializer.writeInt8(value_start_type) if ((RuntimeType.UNDEFINED) != (value_start_type)) { const value_start_value = value_start! - let value_start_value_type : int32 = RuntimeType.UNDEFINED - value_start_value_type = runtimeType(value_start_value) - if (RuntimeType.STRING == value_start_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_start_value_0 = value_start_value as string - valueSerializer.writeString(value_start_value_0) - } - else if (RuntimeType.NUMBER == value_start_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_start_value_1 = value_start_value as number - valueSerializer.writeNumber(value_start_value_1) - } - else if (RuntimeType.OBJECT == value_start_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_start_value_2 = value_start_value as Resource - valueSerializer.writeResource(value_start_value_2) - } + valueSerializer.writeLengthMetrics(value_start_value) + } + } + public writeLocalizedPadding(value: LocalizedPadding): void { + let valueSerializer : Serializer = this + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeLengthMetrics(value_top_value) } const value_end = value.end let value_end_type : int32 = RuntimeType.UNDEFINED value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) + valueSerializer.writeInt8(value_end_type) if ((RuntimeType.UNDEFINED) != (value_end_type)) { const value_end_value = value_end! - let value_end_value_type : int32 = RuntimeType.UNDEFINED - value_end_value_type = runtimeType(value_end_value) - if (RuntimeType.STRING == value_end_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_end_value_0 = value_end_value as string - valueSerializer.writeString(value_end_value_0) - } - else if (RuntimeType.NUMBER == value_end_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_end_value_1 = value_end_value as number - valueSerializer.writeNumber(value_end_value_1) - } - else if (RuntimeType.OBJECT == value_end_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_end_value_2 = value_end_value as Resource - valueSerializer.writeResource(value_end_value_2) - } + valueSerializer.writeLengthMetrics(value_end_value) + } + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + valueSerializer.writeLengthMetrics(value_bottom_value) + } + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeLengthMetrics(value_start_value) } } - writeGuideLineStyle(value: GuideLineStyle): void { - let valueSerializer : Serializer = this - const value_id = value.id - valueSerializer.writeString(value_id) - const value_direction = value.direction - valueSerializer.writeInt32(TypeChecker.Axis_ToNumeric(value_direction)) - const value_position = value.position - valueSerializer.writeGuideLinePosition(value_position) - } - writeHistoricalPoint(value: HistoricalPoint): void { + public writeLocalizedPosition(value: LocalizedPosition): void { let valueSerializer : Serializer = this - const value_touchObject = value.touchObject - valueSerializer.writeTouchObject(value_touchObject) - const value_size = value.size - valueSerializer.writeNumber(value_size) - const value_force = value.force - valueSerializer.writeNumber(value_force) - const value_timestamp = value.timestamp - valueSerializer.writeInt64(value_timestamp) + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeLengthMetrics(value_start_value) + } + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeLengthMetrics(value_top_value) + } } - writeIconOptions(value: IconOptions): void { + public writeLunarSwitchStyle(value: LunarSwitchStyle): void { let valueSerializer : Serializer = this - const value_size = value.size - let value_size_type : int32 = RuntimeType.UNDEFINED - value_size_type = runtimeType(value_size) - valueSerializer.writeInt8(value_size_type as int32) - if ((RuntimeType.UNDEFINED) != (value_size_type)) { - const value_size_value = value_size! - let value_size_value_type : int32 = RuntimeType.UNDEFINED - value_size_value_type = runtimeType(value_size_value) - if (RuntimeType.STRING == value_size_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_size_value_0 = value_size_value as string - valueSerializer.writeString(value_size_value_0) + const value_selectedColor = value.selectedColor + let value_selectedColor_type : int32 = RuntimeType.UNDEFINED + value_selectedColor_type = runtimeType(value_selectedColor) + valueSerializer.writeInt8(value_selectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { + const value_selectedColor_value = value_selectedColor! + let value_selectedColor_value_type : int32 = RuntimeType.UNDEFINED + value_selectedColor_value_type = runtimeType(value_selectedColor_value) + if (TypeChecker.isColor(value_selectedColor_value)) { + valueSerializer.writeInt8(0) + const value_selectedColor_value_0 = value_selectedColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_selectedColor_value_0)) } - else if (RuntimeType.NUMBER == value_size_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_size_value_1 = value_size_value as number - valueSerializer.writeNumber(value_size_value_1) + else if (RuntimeType.NUMBER == value_selectedColor_value_type) { + valueSerializer.writeInt8(1) + const value_selectedColor_value_1 = value_selectedColor_value as number + valueSerializer.writeNumber(value_selectedColor_value_1) } - else if (RuntimeType.OBJECT == value_size_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_size_value_2 = value_size_value as Resource - valueSerializer.writeResource(value_size_value_2) + else if (RuntimeType.STRING == value_selectedColor_value_type) { + valueSerializer.writeInt8(2) + const value_selectedColor_value_2 = value_selectedColor_value as string + valueSerializer.writeString(value_selectedColor_value_2) + } + else if (RuntimeType.OBJECT == value_selectedColor_value_type) { + valueSerializer.writeInt8(3) + const value_selectedColor_value_3 = value_selectedColor_value as Resource + valueSerializer.writeResource(value_selectedColor_value_3) } } - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0 = value_color_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) + const value_unselectedColor = value.unselectedColor + let value_unselectedColor_type : int32 = RuntimeType.UNDEFINED + value_unselectedColor_type = runtimeType(value_unselectedColor) + valueSerializer.writeInt8(value_unselectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { + const value_unselectedColor_value = value_unselectedColor! + let value_unselectedColor_value_type : int32 = RuntimeType.UNDEFINED + value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) + if (TypeChecker.isColor(value_unselectedColor_value)) { + valueSerializer.writeInt8(0) + const value_unselectedColor_value_0 = value_unselectedColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_unselectedColor_value_0)) } - else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1 = value_color_value as number - valueSerializer.writeNumber(value_color_value_1) + else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { + valueSerializer.writeInt8(1) + const value_unselectedColor_value_1 = value_unselectedColor_value as number + valueSerializer.writeNumber(value_unselectedColor_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_2 = value_color_value as string - valueSerializer.writeString(value_color_value_2) + else if (RuntimeType.STRING == value_unselectedColor_value_type) { + valueSerializer.writeInt8(2) + const value_unselectedColor_value_2 = value_unselectedColor_value as string + valueSerializer.writeString(value_unselectedColor_value_2) } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_3 = value_color_value as Resource - valueSerializer.writeResource(value_color_value_3) + else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { + valueSerializer.writeInt8(3) + const value_unselectedColor_value_3 = value_unselectedColor_value as Resource + valueSerializer.writeResource(value_unselectedColor_value_3) } } - const value_src = value.src - let value_src_type : int32 = RuntimeType.UNDEFINED - value_src_type = runtimeType(value_src) - valueSerializer.writeInt8(value_src_type as int32) - if ((RuntimeType.UNDEFINED) != (value_src_type)) { - const value_src_value = value_src! - let value_src_value_type : int32 = RuntimeType.UNDEFINED - value_src_value_type = runtimeType(value_src_value) - if (RuntimeType.STRING == value_src_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_src_value_0 = value_src_value as string - valueSerializer.writeString(value_src_value_0) + const value_strokeColor = value.strokeColor + let value_strokeColor_type : int32 = RuntimeType.UNDEFINED + value_strokeColor_type = runtimeType(value_strokeColor) + valueSerializer.writeInt8(value_strokeColor_type) + if ((RuntimeType.UNDEFINED) != (value_strokeColor_type)) { + const value_strokeColor_value = value_strokeColor! + let value_strokeColor_value_type : int32 = RuntimeType.UNDEFINED + value_strokeColor_value_type = runtimeType(value_strokeColor_value) + if (TypeChecker.isColor(value_strokeColor_value)) { + valueSerializer.writeInt8(0) + const value_strokeColor_value_0 = value_strokeColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_strokeColor_value_0)) } - else if (RuntimeType.OBJECT == value_src_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_src_value_1 = value_src_value as Resource - valueSerializer.writeResource(value_src_value_1) + else if (RuntimeType.NUMBER == value_strokeColor_value_type) { + valueSerializer.writeInt8(1) + const value_strokeColor_value_1 = value_strokeColor_value as number + valueSerializer.writeNumber(value_strokeColor_value_1) + } + else if (RuntimeType.STRING == value_strokeColor_value_type) { + valueSerializer.writeInt8(2) + const value_strokeColor_value_2 = value_strokeColor_value as string + valueSerializer.writeString(value_strokeColor_value_2) + } + else if (RuntimeType.OBJECT == value_strokeColor_value_type) { + valueSerializer.writeInt8(3) + const value_strokeColor_value_3 = value_strokeColor_value as Resource + valueSerializer.writeResource(value_strokeColor_value_3) } } - } - writeImageFrameInfo(value: ImageFrameInfo): void { - let valueSerializer : Serializer = this - const value_src = value.src - let value_src_type : int32 = RuntimeType.UNDEFINED - value_src_type = runtimeType(value_src) - if (RuntimeType.STRING == value_src_type) { - valueSerializer.writeInt8(0 as int32) - const value_src_0 = value_src as string - valueSerializer.writeString(value_src_0) - } - else if (TypeChecker.isResource(value_src, false, false, false, false, false)) { - valueSerializer.writeInt8(1 as int32) - const value_src_1 = value_src as Resource - valueSerializer.writeResource(value_src_1) + } + public writeMeasureOptions(value: MeasureOptions): void { + let valueSerializer : Serializer = this + const value_textContent = value.textContent + let value_textContent_type : int32 = RuntimeType.UNDEFINED + value_textContent_type = runtimeType(value_textContent) + if (RuntimeType.STRING == value_textContent_type) { + valueSerializer.writeInt8(0) + const value_textContent_0 = value_textContent as string + valueSerializer.writeString(value_textContent_0) } - else if (TypeChecker.isPixelMap(value_src, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_src_2 = value_src as PixelMap - valueSerializer.writePixelMap(value_src_2) + else if (RuntimeType.OBJECT == value_textContent_type) { + valueSerializer.writeInt8(1) + const value_textContent_1 = value_textContent as Resource + valueSerializer.writeResource(value_textContent_1) } - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as number - valueSerializer.writeNumber(value_width_value_0) - } - else if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as string - valueSerializer.writeString(value_width_value_1) + const value_constraintWidth = value.constraintWidth + let value_constraintWidth_type : int32 = RuntimeType.UNDEFINED + value_constraintWidth_type = runtimeType(value_constraintWidth) + valueSerializer.writeInt8(value_constraintWidth_type) + if ((RuntimeType.UNDEFINED) != (value_constraintWidth_type)) { + const value_constraintWidth_value = value_constraintWidth! + let value_constraintWidth_value_type : int32 = RuntimeType.UNDEFINED + value_constraintWidth_value_type = runtimeType(value_constraintWidth_value) + if (RuntimeType.NUMBER == value_constraintWidth_value_type) { + valueSerializer.writeInt8(0) + const value_constraintWidth_value_0 = value_constraintWidth_value as number + valueSerializer.writeNumber(value_constraintWidth_value_0) } - } - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type : int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_value_0 = value_height_value as number - valueSerializer.writeNumber(value_height_value_0) + else if (RuntimeType.STRING == value_constraintWidth_value_type) { + valueSerializer.writeInt8(1) + const value_constraintWidth_value_1 = value_constraintWidth_value as string + valueSerializer.writeString(value_constraintWidth_value_1) } - else if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_value_1 = value_height_value as string - valueSerializer.writeString(value_height_value_1) + else if (RuntimeType.OBJECT == value_constraintWidth_value_type) { + valueSerializer.writeInt8(2) + const value_constraintWidth_value_2 = value_constraintWidth_value as Resource + valueSerializer.writeResource(value_constraintWidth_value_2) } } - const value_top = value.top - let value_top_type : int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - let value_top_value_type : int32 = RuntimeType.UNDEFINED - value_top_value_type = runtimeType(value_top_value) - if (RuntimeType.NUMBER == value_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_top_value_0 = value_top_value as number - valueSerializer.writeNumber(value_top_value_0) + const value_fontSize = value.fontSize + let value_fontSize_type : int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + let value_fontSize_value_type : int32 = RuntimeType.UNDEFINED + value_fontSize_value_type = runtimeType(value_fontSize_value) + if (RuntimeType.NUMBER == value_fontSize_value_type) { + valueSerializer.writeInt8(0) + const value_fontSize_value_0 = value_fontSize_value as number + valueSerializer.writeNumber(value_fontSize_value_0) } - else if (RuntimeType.STRING == value_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_top_value_1 = value_top_value as string - valueSerializer.writeString(value_top_value_1) + else if (RuntimeType.STRING == value_fontSize_value_type) { + valueSerializer.writeInt8(1) + const value_fontSize_value_1 = value_fontSize_value as string + valueSerializer.writeString(value_fontSize_value_1) + } + else if (RuntimeType.OBJECT == value_fontSize_value_type) { + valueSerializer.writeInt8(2) + const value_fontSize_value_2 = value_fontSize_value as Resource + valueSerializer.writeResource(value_fontSize_value_2) } } - const value_left = value.left - let value_left_type : int32 = RuntimeType.UNDEFINED - value_left_type = runtimeType(value_left) - valueSerializer.writeInt8(value_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_left_type)) { - const value_left_value = value_left! - let value_left_value_type : int32 = RuntimeType.UNDEFINED - value_left_value_type = runtimeType(value_left_value) - if (RuntimeType.NUMBER == value_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_left_value_0 = value_left_value as number - valueSerializer.writeNumber(value_left_value_0) + const value_fontStyle = value.fontStyle + let value_fontStyle_type : int32 = RuntimeType.UNDEFINED + value_fontStyle_type = runtimeType(value_fontStyle) + valueSerializer.writeInt8(value_fontStyle_type) + if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { + const value_fontStyle_value = value_fontStyle! + let value_fontStyle_value_type : int32 = RuntimeType.UNDEFINED + value_fontStyle_value_type = runtimeType(value_fontStyle_value) + if (RuntimeType.NUMBER == value_fontStyle_value_type) { + valueSerializer.writeInt8(0) + const value_fontStyle_value_0 = value_fontStyle_value as number + valueSerializer.writeNumber(value_fontStyle_value_0) } - else if (RuntimeType.STRING == value_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_left_value_1 = value_left_value as string - valueSerializer.writeString(value_left_value_1) + else if (TypeChecker.isFontStyle(value_fontStyle_value)) { + valueSerializer.writeInt8(1) + const value_fontStyle_value_1 = value_fontStyle_value as FontStyle + valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_fontStyle_value_1)) } } - const value_duration = value.duration - let value_duration_type : int32 = RuntimeType.UNDEFINED - value_duration_type = runtimeType(value_duration) - valueSerializer.writeInt8(value_duration_type as int32) - if ((RuntimeType.UNDEFINED) != (value_duration_type)) { - const value_duration_value = value_duration! - valueSerializer.writeNumber(value_duration_value) - } - } - writeIndicatorStyle(value: IndicatorStyle): void { - let valueSerializer : Serializer = this - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type : int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_value_0 = value_height_value as string - valueSerializer.writeString(value_height_value_0) + const value_fontWeight = value.fontWeight + let value_fontWeight_type : int32 = RuntimeType.UNDEFINED + value_fontWeight_type = runtimeType(value_fontWeight) + valueSerializer.writeInt8(value_fontWeight_type) + if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { + const value_fontWeight_value = value_fontWeight! + let value_fontWeight_value_type : int32 = RuntimeType.UNDEFINED + value_fontWeight_value_type = runtimeType(value_fontWeight_value) + if (RuntimeType.NUMBER == value_fontWeight_value_type) { + valueSerializer.writeInt8(0) + const value_fontWeight_value_0 = value_fontWeight_value as number + valueSerializer.writeNumber(value_fontWeight_value_0) } - else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_value_1 = value_height_value as number - valueSerializer.writeNumber(value_height_value_1) + else if (RuntimeType.STRING == value_fontWeight_value_type) { + valueSerializer.writeInt8(1) + const value_fontWeight_value_1 = value_fontWeight_value as string + valueSerializer.writeString(value_fontWeight_value_1) } - else if (RuntimeType.OBJECT == value_height_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_height_value_2 = value_height_value as Resource - valueSerializer.writeResource(value_height_value_2) + else if (TypeChecker.isFontWeight(value_fontWeight_value)) { + valueSerializer.writeInt8(2) + const value_fontWeight_value_2 = value_fontWeight_value as FontWeight + valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_fontWeight_value_2)) } } - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as string - valueSerializer.writeString(value_width_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as number - valueSerializer.writeNumber(value_width_value_1) + const value_fontFamily = value.fontFamily + let value_fontFamily_type : int32 = RuntimeType.UNDEFINED + value_fontFamily_type = runtimeType(value_fontFamily) + valueSerializer.writeInt8(value_fontFamily_type) + if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { + const value_fontFamily_value = value_fontFamily! + let value_fontFamily_value_type : int32 = RuntimeType.UNDEFINED + value_fontFamily_value_type = runtimeType(value_fontFamily_value) + if (RuntimeType.STRING == value_fontFamily_value_type) { + valueSerializer.writeInt8(0) + const value_fontFamily_value_0 = value_fontFamily_value as string + valueSerializer.writeString(value_fontFamily_value_0) } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as Resource - valueSerializer.writeResource(value_width_value_2) + else if (RuntimeType.OBJECT == value_fontFamily_value_type) { + valueSerializer.writeInt8(1) + const value_fontFamily_value_1 = value_fontFamily_value as Resource + valueSerializer.writeResource(value_fontFamily_value_1) } } - const value_borderRadius = value.borderRadius - let value_borderRadius_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_type = runtimeType(value_borderRadius) - valueSerializer.writeInt8(value_borderRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { - const value_borderRadius_value = value_borderRadius! - let value_borderRadius_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_type = runtimeType(value_borderRadius_value) - if (RuntimeType.STRING == value_borderRadius_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_0 = value_borderRadius_value as string - valueSerializer.writeString(value_borderRadius_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1 = value_borderRadius_value as number - valueSerializer.writeNumber(value_borderRadius_value_1) + const value_letterSpacing = value.letterSpacing + let value_letterSpacing_type : int32 = RuntimeType.UNDEFINED + value_letterSpacing_type = runtimeType(value_letterSpacing) + valueSerializer.writeInt8(value_letterSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { + const value_letterSpacing_value = value_letterSpacing! + let value_letterSpacing_value_type : int32 = RuntimeType.UNDEFINED + value_letterSpacing_value_type = runtimeType(value_letterSpacing_value) + if (RuntimeType.NUMBER == value_letterSpacing_value_type) { + valueSerializer.writeInt8(0) + const value_letterSpacing_value_0 = value_letterSpacing_value as number + valueSerializer.writeNumber(value_letterSpacing_value_0) } - else if (RuntimeType.OBJECT == value_borderRadius_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_2 = value_borderRadius_value as Resource - valueSerializer.writeResource(value_borderRadius_value_2) + else if (RuntimeType.STRING == value_letterSpacing_value_type) { + valueSerializer.writeInt8(1) + const value_letterSpacing_value_1 = value_letterSpacing_value as string + valueSerializer.writeString(value_letterSpacing_value_1) } } - const value_marginTop = value.marginTop - let value_marginTop_type : int32 = RuntimeType.UNDEFINED - value_marginTop_type = runtimeType(value_marginTop) - valueSerializer.writeInt8(value_marginTop_type as int32) - if ((RuntimeType.UNDEFINED) != (value_marginTop_type)) { - const value_marginTop_value = value_marginTop! - let value_marginTop_value_type : int32 = RuntimeType.UNDEFINED - value_marginTop_value_type = runtimeType(value_marginTop_value) - if (RuntimeType.STRING == value_marginTop_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_marginTop_value_0 = value_marginTop_value as string - valueSerializer.writeString(value_marginTop_value_0) + const value_textAlign = value.textAlign + let value_textAlign_type : int32 = RuntimeType.UNDEFINED + value_textAlign_type = runtimeType(value_textAlign) + valueSerializer.writeInt8(value_textAlign_type) + if ((RuntimeType.UNDEFINED) != (value_textAlign_type)) { + const value_textAlign_value = value_textAlign! + let value_textAlign_value_type : int32 = RuntimeType.UNDEFINED + value_textAlign_value_type = runtimeType(value_textAlign_value) + if (RuntimeType.NUMBER == value_textAlign_value_type) { + valueSerializer.writeInt8(0) + const value_textAlign_value_0 = value_textAlign_value as number + valueSerializer.writeNumber(value_textAlign_value_0) } - else if (RuntimeType.NUMBER == value_marginTop_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_marginTop_value_1 = value_marginTop_value as number - valueSerializer.writeNumber(value_marginTop_value_1) - } - else if (RuntimeType.OBJECT == value_marginTop_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_marginTop_value_2 = value_marginTop_value as Resource - valueSerializer.writeResource(value_marginTop_value_2) - } - } - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0 = value_color_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1 = value_color_value as number - valueSerializer.writeNumber(value_color_value_1) - } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_2 = value_color_value as string - valueSerializer.writeString(value_color_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_3 = value_color_value as Resource - valueSerializer.writeResource(value_color_value_3) + else if (TypeChecker.isTextAlign(value_textAlign_value)) { + valueSerializer.writeInt8(1) + const value_textAlign_value_1 = value_textAlign_value as TextAlign + valueSerializer.writeInt32(TypeChecker.TextAlign_ToNumeric(value_textAlign_value_1)) } } - const value_selectedColor = value.selectedColor - let value_selectedColor_type : int32 = RuntimeType.UNDEFINED - value_selectedColor_type = runtimeType(value_selectedColor) - valueSerializer.writeInt8(value_selectedColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { - const value_selectedColor_value = value_selectedColor! - let value_selectedColor_value_type : int32 = RuntimeType.UNDEFINED - value_selectedColor_value_type = runtimeType(value_selectedColor_value) - if (TypeChecker.isColor(value_selectedColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_selectedColor_value_0 = value_selectedColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_selectedColor_value_0)) - } - else if (RuntimeType.NUMBER == value_selectedColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_selectedColor_value_1 = value_selectedColor_value as number - valueSerializer.writeNumber(value_selectedColor_value_1) - } - else if (RuntimeType.STRING == value_selectedColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_selectedColor_value_2 = value_selectedColor_value as string - valueSerializer.writeString(value_selectedColor_value_2) + const value_overflow = value.overflow + let value_overflow_type : int32 = RuntimeType.UNDEFINED + value_overflow_type = runtimeType(value_overflow) + valueSerializer.writeInt8(value_overflow_type) + if ((RuntimeType.UNDEFINED) != (value_overflow_type)) { + const value_overflow_value = value_overflow! + let value_overflow_value_type : int32 = RuntimeType.UNDEFINED + value_overflow_value_type = runtimeType(value_overflow_value) + if (RuntimeType.NUMBER == value_overflow_value_type) { + valueSerializer.writeInt8(0) + const value_overflow_value_0 = value_overflow_value as number + valueSerializer.writeNumber(value_overflow_value_0) } - else if (RuntimeType.OBJECT == value_selectedColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_selectedColor_value_3 = value_selectedColor_value as Resource - valueSerializer.writeResource(value_selectedColor_value_3) + else if (TypeChecker.isTextOverflow(value_overflow_value)) { + valueSerializer.writeInt8(1) + const value_overflow_value_1 = value_overflow_value as TextOverflow + valueSerializer.writeInt32(TypeChecker.TextOverflow_ToNumeric(value_overflow_value_1)) } } - const value_left = value.left - let value_left_type : int32 = RuntimeType.UNDEFINED - value_left_type = runtimeType(value_left) - valueSerializer.writeInt8(value_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_left_type)) { - const value_left_value = value_left! - let value_left_value_type : int32 = RuntimeType.UNDEFINED - value_left_value_type = runtimeType(value_left_value) - if (RuntimeType.STRING == value_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_left_value_0 = value_left_value as string - valueSerializer.writeString(value_left_value_0) - } - else if (RuntimeType.NUMBER == value_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_left_value_1 = value_left_value as number - valueSerializer.writeNumber(value_left_value_1) - } - else if (RuntimeType.OBJECT == value_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_left_value_2 = value_left_value as Resource - valueSerializer.writeResource(value_left_value_2) - } + const value_maxLines = value.maxLines + let value_maxLines_type : int32 = RuntimeType.UNDEFINED + value_maxLines_type = runtimeType(value_maxLines) + valueSerializer.writeInt8(value_maxLines_type) + if ((RuntimeType.UNDEFINED) != (value_maxLines_type)) { + const value_maxLines_value = value_maxLines! + valueSerializer.writeNumber(value_maxLines_value) } - const value_top = value.top - let value_top_type : int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - let value_top_value_type : int32 = RuntimeType.UNDEFINED - value_top_value_type = runtimeType(value_top_value) - if (RuntimeType.STRING == value_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_top_value_0 = value_top_value as string - valueSerializer.writeString(value_top_value_0) + const value_lineHeight = value.lineHeight + let value_lineHeight_type : int32 = RuntimeType.UNDEFINED + value_lineHeight_type = runtimeType(value_lineHeight) + valueSerializer.writeInt8(value_lineHeight_type) + if ((RuntimeType.UNDEFINED) != (value_lineHeight_type)) { + const value_lineHeight_value = value_lineHeight! + let value_lineHeight_value_type : int32 = RuntimeType.UNDEFINED + value_lineHeight_value_type = runtimeType(value_lineHeight_value) + if (RuntimeType.NUMBER == value_lineHeight_value_type) { + valueSerializer.writeInt8(0) + const value_lineHeight_value_0 = value_lineHeight_value as number + valueSerializer.writeNumber(value_lineHeight_value_0) } - else if (RuntimeType.NUMBER == value_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_top_value_1 = value_top_value as number - valueSerializer.writeNumber(value_top_value_1) + else if (RuntimeType.STRING == value_lineHeight_value_type) { + valueSerializer.writeInt8(1) + const value_lineHeight_value_1 = value_lineHeight_value as string + valueSerializer.writeString(value_lineHeight_value_1) } - else if (RuntimeType.OBJECT == value_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_top_value_2 = value_top_value as Resource - valueSerializer.writeResource(value_top_value_2) + else if (RuntimeType.OBJECT == value_lineHeight_value_type) { + valueSerializer.writeInt8(2) + const value_lineHeight_value_2 = value_lineHeight_value as Resource + valueSerializer.writeResource(value_lineHeight_value_2) } } - const value_right = value.right - let value_right_type : int32 = RuntimeType.UNDEFINED - value_right_type = runtimeType(value_right) - valueSerializer.writeInt8(value_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_right_type)) { - const value_right_value = value_right! - let value_right_value_type : int32 = RuntimeType.UNDEFINED - value_right_value_type = runtimeType(value_right_value) - if (RuntimeType.STRING == value_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_right_value_0 = value_right_value as string - valueSerializer.writeString(value_right_value_0) - } - else if (RuntimeType.NUMBER == value_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_right_value_1 = value_right_value as number - valueSerializer.writeNumber(value_right_value_1) + const value_baselineOffset = value.baselineOffset + let value_baselineOffset_type : int32 = RuntimeType.UNDEFINED + value_baselineOffset_type = runtimeType(value_baselineOffset) + valueSerializer.writeInt8(value_baselineOffset_type) + if ((RuntimeType.UNDEFINED) != (value_baselineOffset_type)) { + const value_baselineOffset_value = value_baselineOffset! + let value_baselineOffset_value_type : int32 = RuntimeType.UNDEFINED + value_baselineOffset_value_type = runtimeType(value_baselineOffset_value) + if (RuntimeType.NUMBER == value_baselineOffset_value_type) { + valueSerializer.writeInt8(0) + const value_baselineOffset_value_0 = value_baselineOffset_value as number + valueSerializer.writeNumber(value_baselineOffset_value_0) } - else if (RuntimeType.OBJECT == value_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_right_value_2 = value_right_value as Resource - valueSerializer.writeResource(value_right_value_2) + else if (RuntimeType.STRING == value_baselineOffset_value_type) { + valueSerializer.writeInt8(1) + const value_baselineOffset_value_1 = value_baselineOffset_value as string + valueSerializer.writeString(value_baselineOffset_value_1) } } - const value_bottom = value.bottom - let value_bottom_type : int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - let value_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_bottom_value_type = runtimeType(value_bottom_value) - if (RuntimeType.STRING == value_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_bottom_value_0 = value_bottom_value as string - valueSerializer.writeString(value_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_bottom_value_1 = value_bottom_value as number - valueSerializer.writeNumber(value_bottom_value_1) + const value_textCase = value.textCase + let value_textCase_type : int32 = RuntimeType.UNDEFINED + value_textCase_type = runtimeType(value_textCase) + valueSerializer.writeInt8(value_textCase_type) + if ((RuntimeType.UNDEFINED) != (value_textCase_type)) { + const value_textCase_value = value_textCase! + let value_textCase_value_type : int32 = RuntimeType.UNDEFINED + value_textCase_value_type = runtimeType(value_textCase_value) + if (RuntimeType.NUMBER == value_textCase_value_type) { + valueSerializer.writeInt8(0) + const value_textCase_value_0 = value_textCase_value as number + valueSerializer.writeNumber(value_textCase_value_0) } - else if (RuntimeType.OBJECT == value_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_bottom_value_2 = value_bottom_value as Resource - valueSerializer.writeResource(value_bottom_value_2) + else if (TypeChecker.isTextCase(value_textCase_value)) { + valueSerializer.writeInt8(1) + const value_textCase_value_1 = value_textCase_value as TextCase + valueSerializer.writeInt32(TypeChecker.TextCase_ToNumeric(value_textCase_value_1)) } } - const value_size = value.size - let value_size_type : int32 = RuntimeType.UNDEFINED - value_size_type = runtimeType(value_size) - valueSerializer.writeInt8(value_size_type as int32) - if ((RuntimeType.UNDEFINED) != (value_size_type)) { - const value_size_value = value_size! - let value_size_value_type : int32 = RuntimeType.UNDEFINED - value_size_value_type = runtimeType(value_size_value) - if (RuntimeType.STRING == value_size_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_size_value_0 = value_size_value as string - valueSerializer.writeString(value_size_value_0) - } - else if (RuntimeType.NUMBER == value_size_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_size_value_1 = value_size_value as number - valueSerializer.writeNumber(value_size_value_1) + const value_textIndent = value.textIndent + let value_textIndent_type : int32 = RuntimeType.UNDEFINED + value_textIndent_type = runtimeType(value_textIndent) + valueSerializer.writeInt8(value_textIndent_type) + if ((RuntimeType.UNDEFINED) != (value_textIndent_type)) { + const value_textIndent_value = value_textIndent! + let value_textIndent_value_type : int32 = RuntimeType.UNDEFINED + value_textIndent_value_type = runtimeType(value_textIndent_value) + if (RuntimeType.NUMBER == value_textIndent_value_type) { + valueSerializer.writeInt8(0) + const value_textIndent_value_0 = value_textIndent_value as number + valueSerializer.writeNumber(value_textIndent_value_0) } - else if (RuntimeType.OBJECT == value_size_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_size_value_2 = value_size_value as Resource - valueSerializer.writeResource(value_size_value_2) + else if (RuntimeType.STRING == value_textIndent_value_type) { + valueSerializer.writeInt8(1) + const value_textIndent_value_1 = value_textIndent_value as string + valueSerializer.writeString(value_textIndent_value_1) } } - const value_mask = value.mask - let value_mask_type : int32 = RuntimeType.UNDEFINED - value_mask_type = runtimeType(value_mask) - valueSerializer.writeInt8(value_mask_type as int32) - if ((RuntimeType.UNDEFINED) != (value_mask_type)) { - const value_mask_value = value_mask! - valueSerializer.writeBoolean(value_mask_value) + const value_wordBreak = value.wordBreak + let value_wordBreak_type : int32 = RuntimeType.UNDEFINED + value_wordBreak_type = runtimeType(value_wordBreak) + valueSerializer.writeInt8(value_wordBreak_type) + if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { + const value_wordBreak_value = (value_wordBreak as WordBreak) + valueSerializer.writeInt32(TypeChecker.WordBreak_ToNumeric(value_wordBreak_value)) } } - writeJavaScriptProxy(value: JavaScriptProxy): void { + public writeMenuElement(value: MenuElement): void { let valueSerializer : Serializer = this - const value_object_ = value.object_ - valueSerializer.holdAndWriteObject(value_object_) - const value_name = value.name - valueSerializer.writeString(value_name) - const value_methodList = value.methodList - valueSerializer.writeInt32(value_methodList.length as int32) - for (let i = 0; i < value_methodList.length; i++) { - const value_methodList_element : string = value_methodList[i] - valueSerializer.writeString(value_methodList_element) - } - const value_controller = value.controller - let value_controller_type : int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - if (TypeChecker.isWebController(value_controller)) { - valueSerializer.writeInt8(0 as int32) - const value_controller_0 = value_controller as WebController - valueSerializer.writeWebController(value_controller_0) + const value_value = value.value + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + valueSerializer.writeInt8(0) + const value_value_0 = value_value as string + valueSerializer.writeString(value_value_0) } - else if (TypeChecker.isWebviewController(value_controller)) { - valueSerializer.writeInt8(1 as int32) - const value_controller_1 = value_controller as WebviewController - valueSerializer.writeWebviewController(value_controller_1) + else if (RuntimeType.OBJECT == value_value_type) { + valueSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + valueSerializer.writeResource(value_value_1) } - const value_asyncMethodList = value.asyncMethodList - let value_asyncMethodList_type : int32 = RuntimeType.UNDEFINED - value_asyncMethodList_type = runtimeType(value_asyncMethodList) - valueSerializer.writeInt8(value_asyncMethodList_type as int32) - if ((RuntimeType.UNDEFINED) != (value_asyncMethodList_type)) { - const value_asyncMethodList_value = value_asyncMethodList! - valueSerializer.writeInt32(value_asyncMethodList_value.length as int32) - for (let i = 0; i < value_asyncMethodList_value.length; i++) { - const value_asyncMethodList_value_element : string = value_asyncMethodList_value[i] - valueSerializer.writeString(value_asyncMethodList_value_element) + const value_icon = value.icon + let value_icon_type : int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + let value_icon_value_type : int32 = RuntimeType.UNDEFINED + value_icon_value_type = runtimeType(value_icon_value) + if (RuntimeType.STRING == value_icon_value_type) { + valueSerializer.writeInt8(0) + const value_icon_value_0 = value_icon_value as string + valueSerializer.writeString(value_icon_value_0) + } + else if (RuntimeType.OBJECT == value_icon_value_type) { + valueSerializer.writeInt8(1) + const value_icon_value_1 = value_icon_value as Resource + valueSerializer.writeResource(value_icon_value_1) } } - const value_permission = value.permission - let value_permission_type : int32 = RuntimeType.UNDEFINED - value_permission_type = runtimeType(value_permission) - valueSerializer.writeInt8(value_permission_type as int32) - if ((RuntimeType.UNDEFINED) != (value_permission_type)) { - const value_permission_value = value_permission! - valueSerializer.writeString(value_permission_value) + const value_symbolIcon = value.symbolIcon + let value_symbolIcon_type : int32 = RuntimeType.UNDEFINED + value_symbolIcon_type = runtimeType(value_symbolIcon) + valueSerializer.writeInt8(value_symbolIcon_type) + if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { + const value_symbolIcon_value = value_symbolIcon! + valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) + } + const value_enabled = value.enabled + let value_enabled_type : int32 = RuntimeType.UNDEFINED + value_enabled_type = runtimeType(value_enabled) + valueSerializer.writeInt8(value_enabled_type) + if ((RuntimeType.UNDEFINED) != (value_enabled_type)) { + const value_enabled_value = value_enabled! + valueSerializer.writeBoolean(value_enabled_value) } + const value_action = value.action + valueSerializer.holdAndWriteCallback(value_action) } - writeLightSource(value: LightSource): void { + public writeMenuItemConfiguration(value: MenuItemConfiguration): void { let valueSerializer : Serializer = this - const value_positionX = value.positionX - let value_positionX_type : int32 = RuntimeType.UNDEFINED - value_positionX_type = runtimeType(value_positionX) - if (RuntimeType.STRING == value_positionX_type) { - valueSerializer.writeInt8(0 as int32) - const value_positionX_0 = value_positionX as string - valueSerializer.writeString(value_positionX_0) - } - else if (RuntimeType.NUMBER == value_positionX_type) { - valueSerializer.writeInt8(1 as int32) - const value_positionX_1 = value_positionX as number - valueSerializer.writeNumber(value_positionX_1) - } - else if (RuntimeType.OBJECT == value_positionX_type) { - valueSerializer.writeInt8(2 as int32) - const value_positionX_2 = value_positionX as Resource - valueSerializer.writeResource(value_positionX_2) - } - const value_positionY = value.positionY - let value_positionY_type : int32 = RuntimeType.UNDEFINED - value_positionY_type = runtimeType(value_positionY) - if (RuntimeType.STRING == value_positionY_type) { - valueSerializer.writeInt8(0 as int32) - const value_positionY_0 = value_positionY as string - valueSerializer.writeString(value_positionY_0) - } - else if (RuntimeType.NUMBER == value_positionY_type) { - valueSerializer.writeInt8(1 as int32) - const value_positionY_1 = value_positionY as number - valueSerializer.writeNumber(value_positionY_1) + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeMenuItemGroupOptions(value: MenuItemGroupOptions): void { + let valueSerializer : Serializer = this + const value_header = value.header + let value_header_type : int32 = RuntimeType.UNDEFINED + value_header_type = runtimeType(value_header) + valueSerializer.writeInt8(value_header_type) + if ((RuntimeType.UNDEFINED) != (value_header_type)) { + const value_header_value = value_header! + let value_header_value_type : int32 = RuntimeType.UNDEFINED + value_header_value_type = runtimeType(value_header_value) + if ((RuntimeType.STRING == value_header_value_type) || (RuntimeType.OBJECT == value_header_value_type)) { + valueSerializer.writeInt8(0) + const value_header_value_0 = value_header_value as ResourceStr + let value_header_value_0_type : int32 = RuntimeType.UNDEFINED + value_header_value_0_type = runtimeType(value_header_value_0) + if (RuntimeType.STRING == value_header_value_0_type) { + valueSerializer.writeInt8(0) + const value_header_value_0_0 = value_header_value_0 as string + valueSerializer.writeString(value_header_value_0_0) + } + else if (RuntimeType.OBJECT == value_header_value_0_type) { + valueSerializer.writeInt8(1) + const value_header_value_0_1 = value_header_value_0 as Resource + valueSerializer.writeResource(value_header_value_0_1) + } + } + else if (RuntimeType.FUNCTION == value_header_value_type) { + valueSerializer.writeInt8(1) + const value_header_value_1 = value_header_value as CustomBuilder + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_header_value_1)) + } } - else if (RuntimeType.OBJECT == value_positionY_type) { - valueSerializer.writeInt8(2 as int32) - const value_positionY_2 = value_positionY as Resource - valueSerializer.writeResource(value_positionY_2) + const value_footer = value.footer + let value_footer_type : int32 = RuntimeType.UNDEFINED + value_footer_type = runtimeType(value_footer) + valueSerializer.writeInt8(value_footer_type) + if ((RuntimeType.UNDEFINED) != (value_footer_type)) { + const value_footer_value = value_footer! + let value_footer_value_type : int32 = RuntimeType.UNDEFINED + value_footer_value_type = runtimeType(value_footer_value) + if ((RuntimeType.STRING == value_footer_value_type) || (RuntimeType.OBJECT == value_footer_value_type)) { + valueSerializer.writeInt8(0) + const value_footer_value_0 = value_footer_value as ResourceStr + let value_footer_value_0_type : int32 = RuntimeType.UNDEFINED + value_footer_value_0_type = runtimeType(value_footer_value_0) + if (RuntimeType.STRING == value_footer_value_0_type) { + valueSerializer.writeInt8(0) + const value_footer_value_0_0 = value_footer_value_0 as string + valueSerializer.writeString(value_footer_value_0_0) + } + else if (RuntimeType.OBJECT == value_footer_value_0_type) { + valueSerializer.writeInt8(1) + const value_footer_value_0_1 = value_footer_value_0 as Resource + valueSerializer.writeResource(value_footer_value_0_1) + } + } + else if (RuntimeType.FUNCTION == value_footer_value_type) { + valueSerializer.writeInt8(1) + const value_footer_value_1 = value_footer_value as CustomBuilder + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_footer_value_1)) + } } - const value_positionZ = value.positionZ - let value_positionZ_type : int32 = RuntimeType.UNDEFINED - value_positionZ_type = runtimeType(value_positionZ) - if (RuntimeType.STRING == value_positionZ_type) { - valueSerializer.writeInt8(0 as int32) - const value_positionZ_0 = value_positionZ as string - valueSerializer.writeString(value_positionZ_0) + } + public writeMenuItemOptions(value: MenuItemOptions): void { + let valueSerializer : Serializer = this + const value_startIcon = value.startIcon + let value_startIcon_type : int32 = RuntimeType.UNDEFINED + value_startIcon_type = runtimeType(value_startIcon) + valueSerializer.writeInt8(value_startIcon_type) + if ((RuntimeType.UNDEFINED) != (value_startIcon_type)) { + const value_startIcon_value = value_startIcon! + let value_startIcon_value_type : int32 = RuntimeType.UNDEFINED + value_startIcon_value_type = runtimeType(value_startIcon_value) + if (RuntimeType.STRING == value_startIcon_value_type) { + valueSerializer.writeInt8(0) + const value_startIcon_value_0 = value_startIcon_value as string + valueSerializer.writeString(value_startIcon_value_0) + } + else if (RuntimeType.OBJECT == value_startIcon_value_type) { + valueSerializer.writeInt8(1) + const value_startIcon_value_1 = value_startIcon_value as Resource + valueSerializer.writeResource(value_startIcon_value_1) + } } - else if (RuntimeType.NUMBER == value_positionZ_type) { - valueSerializer.writeInt8(1 as int32) - const value_positionZ_1 = value_positionZ as number - valueSerializer.writeNumber(value_positionZ_1) + const value_symbolStartIcon = value.symbolStartIcon + let value_symbolStartIcon_type : int32 = RuntimeType.UNDEFINED + value_symbolStartIcon_type = runtimeType(value_symbolStartIcon) + valueSerializer.writeInt8(value_symbolStartIcon_type) + if ((RuntimeType.UNDEFINED) != (value_symbolStartIcon_type)) { + const value_symbolStartIcon_value = value_symbolStartIcon! + valueSerializer.writeSymbolGlyphModifier(value_symbolStartIcon_value) } - else if (RuntimeType.OBJECT == value_positionZ_type) { - valueSerializer.writeInt8(2 as int32) - const value_positionZ_2 = value_positionZ as Resource - valueSerializer.writeResource(value_positionZ_2) + const value_content = value.content + let value_content_type : int32 = RuntimeType.UNDEFINED + value_content_type = runtimeType(value_content) + valueSerializer.writeInt8(value_content_type) + if ((RuntimeType.UNDEFINED) != (value_content_type)) { + const value_content_value = value_content! + let value_content_value_type : int32 = RuntimeType.UNDEFINED + value_content_value_type = runtimeType(value_content_value) + if (RuntimeType.STRING == value_content_value_type) { + valueSerializer.writeInt8(0) + const value_content_value_0 = value_content_value as string + valueSerializer.writeString(value_content_value_0) + } + else if (RuntimeType.OBJECT == value_content_value_type) { + valueSerializer.writeInt8(1) + const value_content_value_1 = value_content_value as Resource + valueSerializer.writeResource(value_content_value_1) + } } - const value_intensity = value.intensity - valueSerializer.writeNumber(value_intensity) - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0 = value_color_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) + const value_endIcon = value.endIcon + let value_endIcon_type : int32 = RuntimeType.UNDEFINED + value_endIcon_type = runtimeType(value_endIcon) + valueSerializer.writeInt8(value_endIcon_type) + if ((RuntimeType.UNDEFINED) != (value_endIcon_type)) { + const value_endIcon_value = value_endIcon! + let value_endIcon_value_type : int32 = RuntimeType.UNDEFINED + value_endIcon_value_type = runtimeType(value_endIcon_value) + if (RuntimeType.STRING == value_endIcon_value_type) { + valueSerializer.writeInt8(0) + const value_endIcon_value_0 = value_endIcon_value as string + valueSerializer.writeString(value_endIcon_value_0) } - else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1 = value_color_value as number - valueSerializer.writeNumber(value_color_value_1) + else if (RuntimeType.OBJECT == value_endIcon_value_type) { + valueSerializer.writeInt8(1) + const value_endIcon_value_1 = value_endIcon_value as Resource + valueSerializer.writeResource(value_endIcon_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_2 = value_color_value as string - valueSerializer.writeString(value_color_value_2) + } + const value_symbolEndIcon = value.symbolEndIcon + let value_symbolEndIcon_type : int32 = RuntimeType.UNDEFINED + value_symbolEndIcon_type = runtimeType(value_symbolEndIcon) + valueSerializer.writeInt8(value_symbolEndIcon_type) + if ((RuntimeType.UNDEFINED) != (value_symbolEndIcon_type)) { + const value_symbolEndIcon_value = value_symbolEndIcon! + valueSerializer.writeSymbolGlyphModifier(value_symbolEndIcon_value) + } + const value_labelInfo = value.labelInfo + let value_labelInfo_type : int32 = RuntimeType.UNDEFINED + value_labelInfo_type = runtimeType(value_labelInfo) + valueSerializer.writeInt8(value_labelInfo_type) + if ((RuntimeType.UNDEFINED) != (value_labelInfo_type)) { + const value_labelInfo_value = value_labelInfo! + let value_labelInfo_value_type : int32 = RuntimeType.UNDEFINED + value_labelInfo_value_type = runtimeType(value_labelInfo_value) + if (RuntimeType.STRING == value_labelInfo_value_type) { + valueSerializer.writeInt8(0) + const value_labelInfo_value_0 = value_labelInfo_value as string + valueSerializer.writeString(value_labelInfo_value_0) } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_3 = value_color_value as Resource - valueSerializer.writeResource(value_color_value_3) + else if (RuntimeType.OBJECT == value_labelInfo_value_type) { + valueSerializer.writeInt8(1) + const value_labelInfo_value_1 = value_labelInfo_value as Resource + valueSerializer.writeResource(value_labelInfo_value_1) } } + const value_builder = value.builder + let value_builder_type : int32 = RuntimeType.UNDEFINED + value_builder_type = runtimeType(value_builder) + valueSerializer.writeInt8(value_builder_type) + if ((RuntimeType.UNDEFINED) != (value_builder_type)) { + const value_builder_value = value_builder! + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) + } } - writeLinearIndicatorStyle(value: LinearIndicatorStyle): void { + public writeNativeXComponentParameters(value: NativeXComponentParameters): void { let valueSerializer : Serializer = this - const value_space = value.space - let value_space_type : int32 = RuntimeType.UNDEFINED - value_space_type = runtimeType(value_space) - valueSerializer.writeInt8(value_space_type as int32) - if ((RuntimeType.UNDEFINED) != (value_space_type)) { - const value_space_value = value_space! - valueSerializer.writeLengthMetrics(value_space_value) + const value_type = value.type + valueSerializer.writeInt32(TypeChecker.XComponentType_ToNumeric(value_type)) + const value_imageAIOptions = value.imageAIOptions + let value_imageAIOptions_type : int32 = RuntimeType.UNDEFINED + value_imageAIOptions_type = runtimeType(value_imageAIOptions) + valueSerializer.writeInt8(value_imageAIOptions_type) + if ((RuntimeType.UNDEFINED) != (value_imageAIOptions_type)) { + const value_imageAIOptions_value = value_imageAIOptions! + valueSerializer.writeImageAIOptions(value_imageAIOptions_value) } - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - valueSerializer.writeLengthMetrics(value_strokeWidth_value) + } + public writeNavDestinationCommonTitle(value: NavDestinationCommonTitle): void { + let valueSerializer : Serializer = this + const value_main = value.main + let value_main_type : int32 = RuntimeType.UNDEFINED + value_main_type = runtimeType(value_main) + if (RuntimeType.STRING == value_main_type) { + valueSerializer.writeInt8(0) + const value_main_0 = value_main as string + valueSerializer.writeString(value_main_0) } - const value_strokeRadius = value.strokeRadius - let value_strokeRadius_type : int32 = RuntimeType.UNDEFINED - value_strokeRadius_type = runtimeType(value_strokeRadius) - valueSerializer.writeInt8(value_strokeRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_strokeRadius_type)) { - const value_strokeRadius_value = value_strokeRadius! - valueSerializer.writeLengthMetrics(value_strokeRadius_value) + else if (RuntimeType.OBJECT == value_main_type) { + valueSerializer.writeInt8(1) + const value_main_1 = value_main as Resource + valueSerializer.writeResource(value_main_1) } - const value_trackBackgroundColor = value.trackBackgroundColor - let value_trackBackgroundColor_type : int32 = RuntimeType.UNDEFINED - value_trackBackgroundColor_type = runtimeType(value_trackBackgroundColor) - valueSerializer.writeInt8(value_trackBackgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_trackBackgroundColor_type)) { - const value_trackBackgroundColor_value = value_trackBackgroundColor! - valueSerializer.writeColorMetrics(value_trackBackgroundColor_value) + const value_sub = value.sub + let value_sub_type : int32 = RuntimeType.UNDEFINED + value_sub_type = runtimeType(value_sub) + if (RuntimeType.STRING == value_sub_type) { + valueSerializer.writeInt8(0) + const value_sub_0 = value_sub as string + valueSerializer.writeString(value_sub_0) } - const value_trackColor = value.trackColor - let value_trackColor_type : int32 = RuntimeType.UNDEFINED - value_trackColor_type = runtimeType(value_trackColor) - valueSerializer.writeInt8(value_trackColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_trackColor_type)) { - const value_trackColor_value = value_trackColor! - valueSerializer.writeColorMetrics(value_trackColor_value) + else if (RuntimeType.OBJECT == value_sub_type) { + valueSerializer.writeInt8(1) + const value_sub_1 = value_sub as Resource + valueSerializer.writeResource(value_sub_1) } } - writeLinearStyleOptions(value: LinearStyleOptions): void { + public writeNavDestinationContext(value: NavDestinationContext): void { let valueSerializer : Serializer = this - const value_enableScanEffect = value.enableScanEffect - let value_enableScanEffect_type : int32 = RuntimeType.UNDEFINED - value_enableScanEffect_type = runtimeType(value_enableScanEffect) - valueSerializer.writeInt8(value_enableScanEffect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableScanEffect_type)) { - const value_enableScanEffect_value = value_enableScanEffect! - valueSerializer.writeBoolean(value_enableScanEffect_value) + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeNavigationCommonTitle(value: NavigationCommonTitle): void { + let valueSerializer : Serializer = this + const value_main = value.main + let value_main_type : int32 = RuntimeType.UNDEFINED + value_main_type = runtimeType(value_main) + if (RuntimeType.STRING == value_main_type) { + valueSerializer.writeInt8(0) + const value_main_0 = value_main as string + valueSerializer.writeString(value_main_0) } - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - let value_strokeWidth_value_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) - if (RuntimeType.STRING == value_strokeWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_strokeWidth_value_0 = value_strokeWidth_value as string - valueSerializer.writeString(value_strokeWidth_value_0) - } - else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_strokeWidth_value_1 = value_strokeWidth_value as number - valueSerializer.writeNumber(value_strokeWidth_value_1) - } - else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_strokeWidth_value_2 = value_strokeWidth_value as Resource - valueSerializer.writeResource(value_strokeWidth_value_2) - } + else if (RuntimeType.OBJECT == value_main_type) { + valueSerializer.writeInt8(1) + const value_main_1 = value_main as Resource + valueSerializer.writeResource(value_main_1) } - const value_strokeRadius = value.strokeRadius - let value_strokeRadius_type : int32 = RuntimeType.UNDEFINED - value_strokeRadius_type = runtimeType(value_strokeRadius) - valueSerializer.writeInt8(value_strokeRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_strokeRadius_type)) { - const value_strokeRadius_value = value_strokeRadius! - let value_strokeRadius_value_type : int32 = RuntimeType.UNDEFINED - value_strokeRadius_value_type = runtimeType(value_strokeRadius_value) - if (RuntimeType.STRING == value_strokeRadius_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_strokeRadius_value_0 = value_strokeRadius_value as string - valueSerializer.writeString(value_strokeRadius_value_0) - } - else if (RuntimeType.NUMBER == value_strokeRadius_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_strokeRadius_value_1 = value_strokeRadius_value as number - valueSerializer.writeNumber(value_strokeRadius_value_1) - } - else if (RuntimeType.OBJECT == value_strokeRadius_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_strokeRadius_value_2 = value_strokeRadius_value as Resource - valueSerializer.writeResource(value_strokeRadius_value_2) - } + const value_sub = value.sub + let value_sub_type : int32 = RuntimeType.UNDEFINED + value_sub_type = runtimeType(value_sub) + if (RuntimeType.STRING == value_sub_type) { + valueSerializer.writeInt8(0) + const value_sub_0 = value_sub as string + valueSerializer.writeString(value_sub_0) + } + else if (RuntimeType.OBJECT == value_sub_type) { + valueSerializer.writeInt8(1) + const value_sub_1 = value_sub as Resource + valueSerializer.writeResource(value_sub_1) } } - writeListDividerOptions(value: ListDividerOptions): void { + public writeNavigationMenuItem(value: NavigationMenuItem): void { let valueSerializer : Serializer = this - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - if (RuntimeType.STRING == value_strokeWidth_type) { - valueSerializer.writeInt8(0 as int32) - const value_strokeWidth_0 = value_strokeWidth as string - valueSerializer.writeString(value_strokeWidth_0) + const value_value = value.value + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + valueSerializer.writeInt8(0) + const value_value_0 = value_value as string + valueSerializer.writeString(value_value_0) } - else if (RuntimeType.NUMBER == value_strokeWidth_type) { - valueSerializer.writeInt8(1 as int32) - const value_strokeWidth_1 = value_strokeWidth as number - valueSerializer.writeNumber(value_strokeWidth_1) + else if (RuntimeType.OBJECT == value_value_type) { + valueSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + valueSerializer.writeResource(value_value_1) } - else if (RuntimeType.OBJECT == value_strokeWidth_type) { - valueSerializer.writeInt8(2 as int32) - const value_strokeWidth_2 = value_strokeWidth as Resource - valueSerializer.writeResource(value_strokeWidth_2) + const value_icon = value.icon + let value_icon_type : int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + let value_icon_value_type : int32 = RuntimeType.UNDEFINED + value_icon_value_type = runtimeType(value_icon_value) + if (RuntimeType.STRING == value_icon_value_type) { + valueSerializer.writeInt8(0) + const value_icon_value_0 = value_icon_value as string + valueSerializer.writeString(value_icon_value_0) + } + else if (RuntimeType.OBJECT == value_icon_value_type) { + valueSerializer.writeInt8(1) + const value_icon_value_1 = value_icon_value as Resource + valueSerializer.writeResource(value_icon_value_1) + } } - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0 = value_color_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) + const value_symbolIcon = value.symbolIcon + let value_symbolIcon_type : int32 = RuntimeType.UNDEFINED + value_symbolIcon_type = runtimeType(value_symbolIcon) + valueSerializer.writeInt8(value_symbolIcon_type) + if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { + const value_symbolIcon_value = value_symbolIcon! + valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) + } + const value_isEnabled = value.isEnabled + let value_isEnabled_type : int32 = RuntimeType.UNDEFINED + value_isEnabled_type = runtimeType(value_isEnabled) + valueSerializer.writeInt8(value_isEnabled_type) + if ((RuntimeType.UNDEFINED) != (value_isEnabled_type)) { + const value_isEnabled_value = value_isEnabled! + valueSerializer.writeBoolean(value_isEnabled_value) + } + const value_action = value.action + let value_action_type : int32 = RuntimeType.UNDEFINED + value_action_type = runtimeType(value_action) + valueSerializer.writeInt8(value_action_type) + if ((RuntimeType.UNDEFINED) != (value_action_type)) { + const value_action_value = value_action! + valueSerializer.holdAndWriteCallback(value_action_value) + } + } + public writeNonCurrentDayStyle(value: NonCurrentDayStyle): void { + let valueSerializer : Serializer = this + const value_nonCurrentMonthDayColor = value.nonCurrentMonthDayColor + let value_nonCurrentMonthDayColor_type : int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthDayColor_type = runtimeType(value_nonCurrentMonthDayColor) + valueSerializer.writeInt8(value_nonCurrentMonthDayColor_type) + if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthDayColor_type)) { + const value_nonCurrentMonthDayColor_value = value_nonCurrentMonthDayColor! + let value_nonCurrentMonthDayColor_value_type : int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthDayColor_value_type = runtimeType(value_nonCurrentMonthDayColor_value) + if (TypeChecker.isColor(value_nonCurrentMonthDayColor_value)) { + valueSerializer.writeInt8(0) + const value_nonCurrentMonthDayColor_value_0 = value_nonCurrentMonthDayColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_nonCurrentMonthDayColor_value_0)) } - else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1 = value_color_value as number - valueSerializer.writeNumber(value_color_value_1) + else if (RuntimeType.NUMBER == value_nonCurrentMonthDayColor_value_type) { + valueSerializer.writeInt8(1) + const value_nonCurrentMonthDayColor_value_1 = value_nonCurrentMonthDayColor_value as number + valueSerializer.writeNumber(value_nonCurrentMonthDayColor_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_2 = value_color_value as string - valueSerializer.writeString(value_color_value_2) + else if (RuntimeType.STRING == value_nonCurrentMonthDayColor_value_type) { + valueSerializer.writeInt8(2) + const value_nonCurrentMonthDayColor_value_2 = value_nonCurrentMonthDayColor_value as string + valueSerializer.writeString(value_nonCurrentMonthDayColor_value_2) } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_3 = value_color_value as Resource - valueSerializer.writeResource(value_color_value_3) + else if (RuntimeType.OBJECT == value_nonCurrentMonthDayColor_value_type) { + valueSerializer.writeInt8(3) + const value_nonCurrentMonthDayColor_value_3 = value_nonCurrentMonthDayColor_value as Resource + valueSerializer.writeResource(value_nonCurrentMonthDayColor_value_3) } } - const value_startMargin = value.startMargin - let value_startMargin_type : int32 = RuntimeType.UNDEFINED - value_startMargin_type = runtimeType(value_startMargin) - valueSerializer.writeInt8(value_startMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { - const value_startMargin_value = value_startMargin! - let value_startMargin_value_type : int32 = RuntimeType.UNDEFINED - value_startMargin_value_type = runtimeType(value_startMargin_value) - if (RuntimeType.STRING == value_startMargin_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_startMargin_value_0 = value_startMargin_value as string - valueSerializer.writeString(value_startMargin_value_0) + const value_nonCurrentMonthLunarColor = value.nonCurrentMonthLunarColor + let value_nonCurrentMonthLunarColor_type : int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthLunarColor_type = runtimeType(value_nonCurrentMonthLunarColor) + valueSerializer.writeInt8(value_nonCurrentMonthLunarColor_type) + if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthLunarColor_type)) { + const value_nonCurrentMonthLunarColor_value = value_nonCurrentMonthLunarColor! + let value_nonCurrentMonthLunarColor_value_type : int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthLunarColor_value_type = runtimeType(value_nonCurrentMonthLunarColor_value) + if (TypeChecker.isColor(value_nonCurrentMonthLunarColor_value)) { + valueSerializer.writeInt8(0) + const value_nonCurrentMonthLunarColor_value_0 = value_nonCurrentMonthLunarColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_nonCurrentMonthLunarColor_value_0)) } - else if (RuntimeType.NUMBER == value_startMargin_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_startMargin_value_1 = value_startMargin_value as number - valueSerializer.writeNumber(value_startMargin_value_1) + else if (RuntimeType.NUMBER == value_nonCurrentMonthLunarColor_value_type) { + valueSerializer.writeInt8(1) + const value_nonCurrentMonthLunarColor_value_1 = value_nonCurrentMonthLunarColor_value as number + valueSerializer.writeNumber(value_nonCurrentMonthLunarColor_value_1) } - else if (RuntimeType.OBJECT == value_startMargin_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_startMargin_value_2 = value_startMargin_value as Resource - valueSerializer.writeResource(value_startMargin_value_2) + else if (RuntimeType.STRING == value_nonCurrentMonthLunarColor_value_type) { + valueSerializer.writeInt8(2) + const value_nonCurrentMonthLunarColor_value_2 = value_nonCurrentMonthLunarColor_value as string + valueSerializer.writeString(value_nonCurrentMonthLunarColor_value_2) + } + else if (RuntimeType.OBJECT == value_nonCurrentMonthLunarColor_value_type) { + valueSerializer.writeInt8(3) + const value_nonCurrentMonthLunarColor_value_3 = value_nonCurrentMonthLunarColor_value as Resource + valueSerializer.writeResource(value_nonCurrentMonthLunarColor_value_3) } } - const value_endMargin = value.endMargin - let value_endMargin_type : int32 = RuntimeType.UNDEFINED - value_endMargin_type = runtimeType(value_endMargin) - valueSerializer.writeInt8(value_endMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { - const value_endMargin_value = value_endMargin! - let value_endMargin_value_type : int32 = RuntimeType.UNDEFINED - value_endMargin_value_type = runtimeType(value_endMargin_value) - if (RuntimeType.STRING == value_endMargin_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_endMargin_value_0 = value_endMargin_value as string - valueSerializer.writeString(value_endMargin_value_0) + const value_nonCurrentMonthWorkDayMarkColor = value.nonCurrentMonthWorkDayMarkColor + let value_nonCurrentMonthWorkDayMarkColor_type : int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthWorkDayMarkColor_type = runtimeType(value_nonCurrentMonthWorkDayMarkColor) + valueSerializer.writeInt8(value_nonCurrentMonthWorkDayMarkColor_type) + if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthWorkDayMarkColor_type)) { + const value_nonCurrentMonthWorkDayMarkColor_value = value_nonCurrentMonthWorkDayMarkColor! + let value_nonCurrentMonthWorkDayMarkColor_value_type : int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthWorkDayMarkColor_value_type = runtimeType(value_nonCurrentMonthWorkDayMarkColor_value) + if (TypeChecker.isColor(value_nonCurrentMonthWorkDayMarkColor_value)) { + valueSerializer.writeInt8(0) + const value_nonCurrentMonthWorkDayMarkColor_value_0 = value_nonCurrentMonthWorkDayMarkColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_nonCurrentMonthWorkDayMarkColor_value_0)) } - else if (RuntimeType.NUMBER == value_endMargin_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_endMargin_value_1 = value_endMargin_value as number - valueSerializer.writeNumber(value_endMargin_value_1) + else if (RuntimeType.NUMBER == value_nonCurrentMonthWorkDayMarkColor_value_type) { + valueSerializer.writeInt8(1) + const value_nonCurrentMonthWorkDayMarkColor_value_1 = value_nonCurrentMonthWorkDayMarkColor_value as number + valueSerializer.writeNumber(value_nonCurrentMonthWorkDayMarkColor_value_1) } - else if (RuntimeType.OBJECT == value_endMargin_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_endMargin_value_2 = value_endMargin_value as Resource - valueSerializer.writeResource(value_endMargin_value_2) + else if (RuntimeType.STRING == value_nonCurrentMonthWorkDayMarkColor_value_type) { + valueSerializer.writeInt8(2) + const value_nonCurrentMonthWorkDayMarkColor_value_2 = value_nonCurrentMonthWorkDayMarkColor_value as string + valueSerializer.writeString(value_nonCurrentMonthWorkDayMarkColor_value_2) + } + else if (RuntimeType.OBJECT == value_nonCurrentMonthWorkDayMarkColor_value_type) { + valueSerializer.writeInt8(3) + const value_nonCurrentMonthWorkDayMarkColor_value_3 = value_nonCurrentMonthWorkDayMarkColor_value as Resource + valueSerializer.writeResource(value_nonCurrentMonthWorkDayMarkColor_value_3) + } + } + const value_nonCurrentMonthOffDayMarkColor = value.nonCurrentMonthOffDayMarkColor + let value_nonCurrentMonthOffDayMarkColor_type : int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthOffDayMarkColor_type = runtimeType(value_nonCurrentMonthOffDayMarkColor) + valueSerializer.writeInt8(value_nonCurrentMonthOffDayMarkColor_type) + if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthOffDayMarkColor_type)) { + const value_nonCurrentMonthOffDayMarkColor_value = value_nonCurrentMonthOffDayMarkColor! + let value_nonCurrentMonthOffDayMarkColor_value_type : int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthOffDayMarkColor_value_type = runtimeType(value_nonCurrentMonthOffDayMarkColor_value) + if (TypeChecker.isColor(value_nonCurrentMonthOffDayMarkColor_value)) { + valueSerializer.writeInt8(0) + const value_nonCurrentMonthOffDayMarkColor_value_0 = value_nonCurrentMonthOffDayMarkColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_nonCurrentMonthOffDayMarkColor_value_0)) + } + else if (RuntimeType.NUMBER == value_nonCurrentMonthOffDayMarkColor_value_type) { + valueSerializer.writeInt8(1) + const value_nonCurrentMonthOffDayMarkColor_value_1 = value_nonCurrentMonthOffDayMarkColor_value as number + valueSerializer.writeNumber(value_nonCurrentMonthOffDayMarkColor_value_1) + } + else if (RuntimeType.STRING == value_nonCurrentMonthOffDayMarkColor_value_type) { + valueSerializer.writeInt8(2) + const value_nonCurrentMonthOffDayMarkColor_value_2 = value_nonCurrentMonthOffDayMarkColor_value as string + valueSerializer.writeString(value_nonCurrentMonthOffDayMarkColor_value_2) + } + else if (RuntimeType.OBJECT == value_nonCurrentMonthOffDayMarkColor_value_type) { + valueSerializer.writeInt8(3) + const value_nonCurrentMonthOffDayMarkColor_value_3 = value_nonCurrentMonthOffDayMarkColor_value as Resource + valueSerializer.writeResource(value_nonCurrentMonthOffDayMarkColor_value_3) } } } - writeLocalizedAlignRuleOptions(value: LocalizedAlignRuleOptions): void { + public writeOffscreenCanvasRenderingContext2D(value: OffscreenCanvasRenderingContext2D): void { let valueSerializer : Serializer = this - const value_start = value.start - let value_start_type : int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeLocalizedHorizontalAlignParam(value_start_value) - } - const value_end = value.end - let value_end_type : int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeLocalizedHorizontalAlignParam(value_end_value) + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeOffset(value: Offset): void { + let valueSerializer : Serializer = this + const value_dx = value.dx + let value_dx_type : int32 = RuntimeType.UNDEFINED + value_dx_type = runtimeType(value_dx) + if (RuntimeType.STRING == value_dx_type) { + valueSerializer.writeInt8(0) + const value_dx_0 = value_dx as string + valueSerializer.writeString(value_dx_0) } - const value_middle = value.middle - let value_middle_type : int32 = RuntimeType.UNDEFINED - value_middle_type = runtimeType(value_middle) - valueSerializer.writeInt8(value_middle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_middle_type)) { - const value_middle_value = value_middle! - valueSerializer.writeLocalizedHorizontalAlignParam(value_middle_value) + else if (RuntimeType.NUMBER == value_dx_type) { + valueSerializer.writeInt8(1) + const value_dx_1 = value_dx as number + valueSerializer.writeNumber(value_dx_1) } - const value_top = value.top - let value_top_type : int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - valueSerializer.writeLocalizedVerticalAlignParam(value_top_value) + else if (RuntimeType.OBJECT == value_dx_type) { + valueSerializer.writeInt8(2) + const value_dx_2 = value_dx as Resource + valueSerializer.writeResource(value_dx_2) } - const value_bottom = value.bottom - let value_bottom_type : int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - valueSerializer.writeLocalizedVerticalAlignParam(value_bottom_value) + const value_dy = value.dy + let value_dy_type : int32 = RuntimeType.UNDEFINED + value_dy_type = runtimeType(value_dy) + if (RuntimeType.STRING == value_dy_type) { + valueSerializer.writeInt8(0) + const value_dy_0 = value_dy as string + valueSerializer.writeString(value_dy_0) } - const value_center = value.center - let value_center_type : int32 = RuntimeType.UNDEFINED - value_center_type = runtimeType(value_center) - valueSerializer.writeInt8(value_center_type as int32) - if ((RuntimeType.UNDEFINED) != (value_center_type)) { - const value_center_value = value_center! - valueSerializer.writeLocalizedVerticalAlignParam(value_center_value) + else if (RuntimeType.NUMBER == value_dy_type) { + valueSerializer.writeInt8(1) + const value_dy_1 = value_dy as number + valueSerializer.writeNumber(value_dy_1) } - const value_bias = value.bias - let value_bias_type : int32 = RuntimeType.UNDEFINED - value_bias_type = runtimeType(value_bias) - valueSerializer.writeInt8(value_bias_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bias_type)) { - const value_bias_value = value_bias! - valueSerializer.writeBias(value_bias_value) + else if (RuntimeType.OBJECT == value_dy_type) { + valueSerializer.writeInt8(2) + const value_dy_2 = value_dy as Resource + valueSerializer.writeResource(value_dy_2) } } - writeLocalizedBorderRadiuses(value: LocalizedBorderRadiuses): void { + public writeOverlayOptions(value: OverlayOptions): void { let valueSerializer : Serializer = this - const value_topStart = value.topStart - let value_topStart_type : int32 = RuntimeType.UNDEFINED - value_topStart_type = runtimeType(value_topStart) - valueSerializer.writeInt8(value_topStart_type as int32) - if ((RuntimeType.UNDEFINED) != (value_topStart_type)) { - const value_topStart_value = value_topStart! - valueSerializer.writeLengthMetrics(value_topStart_value) - } - const value_topEnd = value.topEnd - let value_topEnd_type : int32 = RuntimeType.UNDEFINED - value_topEnd_type = runtimeType(value_topEnd) - valueSerializer.writeInt8(value_topEnd_type as int32) - if ((RuntimeType.UNDEFINED) != (value_topEnd_type)) { - const value_topEnd_value = value_topEnd! - valueSerializer.writeLengthMetrics(value_topEnd_value) - } - const value_bottomStart = value.bottomStart - let value_bottomStart_type : int32 = RuntimeType.UNDEFINED - value_bottomStart_type = runtimeType(value_bottomStart) - valueSerializer.writeInt8(value_bottomStart_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bottomStart_type)) { - const value_bottomStart_value = value_bottomStart! - valueSerializer.writeLengthMetrics(value_bottomStart_value) + const value_align = value.align + let value_align_type : int32 = RuntimeType.UNDEFINED + value_align_type = runtimeType(value_align) + valueSerializer.writeInt8(value_align_type) + if ((RuntimeType.UNDEFINED) != (value_align_type)) { + const value_align_value = (value_align as Alignment) + valueSerializer.writeInt32(TypeChecker.Alignment_ToNumeric(value_align_value)) } - const value_bottomEnd = value.bottomEnd - let value_bottomEnd_type : int32 = RuntimeType.UNDEFINED - value_bottomEnd_type = runtimeType(value_bottomEnd) - valueSerializer.writeInt8(value_bottomEnd_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bottomEnd_type)) { - const value_bottomEnd_value = value_bottomEnd! - valueSerializer.writeLengthMetrics(value_bottomEnd_value) + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writeOverlayOffset(value_offset_value) } } - writeLocalizedEdgeColors(value: LocalizedEdgeColors): void { + public writePasswordIcon(value: PasswordIcon): void { let valueSerializer : Serializer = this - const value_top = value.top - let value_top_type : int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - let value_top_value_type : int32 = RuntimeType.UNDEFINED - value_top_value_type = runtimeType(value_top_value) - if (TypeChecker.isColor(value_top_value)) { - valueSerializer.writeInt8(0 as int32) - const value_top_value_0 = value_top_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_top_value_0)) + const value_onIconSrc = value.onIconSrc + let value_onIconSrc_type : int32 = RuntimeType.UNDEFINED + value_onIconSrc_type = runtimeType(value_onIconSrc) + valueSerializer.writeInt8(value_onIconSrc_type) + if ((RuntimeType.UNDEFINED) != (value_onIconSrc_type)) { + const value_onIconSrc_value = value_onIconSrc! + let value_onIconSrc_value_type : int32 = RuntimeType.UNDEFINED + value_onIconSrc_value_type = runtimeType(value_onIconSrc_value) + if (RuntimeType.STRING == value_onIconSrc_value_type) { + valueSerializer.writeInt8(0) + const value_onIconSrc_value_0 = value_onIconSrc_value as string + valueSerializer.writeString(value_onIconSrc_value_0) } - else if (RuntimeType.NUMBER == value_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_top_value_1 = value_top_value as number - valueSerializer.writeNumber(value_top_value_1) + else if (RuntimeType.OBJECT == value_onIconSrc_value_type) { + valueSerializer.writeInt8(1) + const value_onIconSrc_value_1 = value_onIconSrc_value as Resource + valueSerializer.writeResource(value_onIconSrc_value_1) } - else if (RuntimeType.STRING == value_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_top_value_2 = value_top_value as string - valueSerializer.writeString(value_top_value_2) + } + const value_offIconSrc = value.offIconSrc + let value_offIconSrc_type : int32 = RuntimeType.UNDEFINED + value_offIconSrc_type = runtimeType(value_offIconSrc) + valueSerializer.writeInt8(value_offIconSrc_type) + if ((RuntimeType.UNDEFINED) != (value_offIconSrc_type)) { + const value_offIconSrc_value = value_offIconSrc! + let value_offIconSrc_value_type : int32 = RuntimeType.UNDEFINED + value_offIconSrc_value_type = runtimeType(value_offIconSrc_value) + if (RuntimeType.STRING == value_offIconSrc_value_type) { + valueSerializer.writeInt8(0) + const value_offIconSrc_value_0 = value_offIconSrc_value as string + valueSerializer.writeString(value_offIconSrc_value_0) } - else if (RuntimeType.OBJECT == value_top_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_top_value_3 = value_top_value as Resource - valueSerializer.writeResource(value_top_value_3) + else if (RuntimeType.OBJECT == value_offIconSrc_value_type) { + valueSerializer.writeInt8(1) + const value_offIconSrc_value_1 = value_offIconSrc_value as Resource + valueSerializer.writeResource(value_offIconSrc_value_1) } } - const value_end = value.end - let value_end_type : int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - let value_end_value_type : int32 = RuntimeType.UNDEFINED - value_end_value_type = runtimeType(value_end_value) - if (TypeChecker.isColor(value_end_value)) { - valueSerializer.writeInt8(0 as int32) - const value_end_value_0 = value_end_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_end_value_0)) + } + public writePluginComponentOptions(value: PluginComponentOptions): void { + let valueSerializer : Serializer = this + const value_template = value.template + valueSerializer.writePluginComponentTemplate(value_template) + const value_data = value.data + valueSerializer.writeString(value_data) + } + public writeRadioStyle(value: RadioStyle): void { + let valueSerializer : Serializer = this + const value_checkedBackgroundColor = value.checkedBackgroundColor + let value_checkedBackgroundColor_type : int32 = RuntimeType.UNDEFINED + value_checkedBackgroundColor_type = runtimeType(value_checkedBackgroundColor) + valueSerializer.writeInt8(value_checkedBackgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_checkedBackgroundColor_type)) { + const value_checkedBackgroundColor_value = value_checkedBackgroundColor! + let value_checkedBackgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_checkedBackgroundColor_value_type = runtimeType(value_checkedBackgroundColor_value) + if (TypeChecker.isColor(value_checkedBackgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_checkedBackgroundColor_value_0 = value_checkedBackgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_checkedBackgroundColor_value_0)) } - else if (RuntimeType.NUMBER == value_end_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_end_value_1 = value_end_value as number - valueSerializer.writeNumber(value_end_value_1) + else if (RuntimeType.NUMBER == value_checkedBackgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_checkedBackgroundColor_value_1 = value_checkedBackgroundColor_value as number + valueSerializer.writeNumber(value_checkedBackgroundColor_value_1) } - else if (RuntimeType.STRING == value_end_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_end_value_2 = value_end_value as string - valueSerializer.writeString(value_end_value_2) + else if (RuntimeType.STRING == value_checkedBackgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_checkedBackgroundColor_value_2 = value_checkedBackgroundColor_value as string + valueSerializer.writeString(value_checkedBackgroundColor_value_2) } - else if (RuntimeType.OBJECT == value_end_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_end_value_3 = value_end_value as Resource - valueSerializer.writeResource(value_end_value_3) + else if (RuntimeType.OBJECT == value_checkedBackgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_checkedBackgroundColor_value_3 = value_checkedBackgroundColor_value as Resource + valueSerializer.writeResource(value_checkedBackgroundColor_value_3) } } - const value_bottom = value.bottom - let value_bottom_type : int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - let value_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_bottom_value_type = runtimeType(value_bottom_value) - if (TypeChecker.isColor(value_bottom_value)) { - valueSerializer.writeInt8(0 as int32) - const value_bottom_value_0 = value_bottom_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_bottom_value_0)) - } - else if (RuntimeType.NUMBER == value_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_bottom_value_1 = value_bottom_value as number - valueSerializer.writeNumber(value_bottom_value_1) + const value_uncheckedBorderColor = value.uncheckedBorderColor + let value_uncheckedBorderColor_type : int32 = RuntimeType.UNDEFINED + value_uncheckedBorderColor_type = runtimeType(value_uncheckedBorderColor) + valueSerializer.writeInt8(value_uncheckedBorderColor_type) + if ((RuntimeType.UNDEFINED) != (value_uncheckedBorderColor_type)) { + const value_uncheckedBorderColor_value = value_uncheckedBorderColor! + let value_uncheckedBorderColor_value_type : int32 = RuntimeType.UNDEFINED + value_uncheckedBorderColor_value_type = runtimeType(value_uncheckedBorderColor_value) + if (TypeChecker.isColor(value_uncheckedBorderColor_value)) { + valueSerializer.writeInt8(0) + const value_uncheckedBorderColor_value_0 = value_uncheckedBorderColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_uncheckedBorderColor_value_0)) } - else if (RuntimeType.STRING == value_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_bottom_value_2 = value_bottom_value as string - valueSerializer.writeString(value_bottom_value_2) + else if (RuntimeType.NUMBER == value_uncheckedBorderColor_value_type) { + valueSerializer.writeInt8(1) + const value_uncheckedBorderColor_value_1 = value_uncheckedBorderColor_value as number + valueSerializer.writeNumber(value_uncheckedBorderColor_value_1) } - else if (RuntimeType.OBJECT == value_bottom_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_bottom_value_3 = value_bottom_value as Resource - valueSerializer.writeResource(value_bottom_value_3) + else if (RuntimeType.STRING == value_uncheckedBorderColor_value_type) { + valueSerializer.writeInt8(2) + const value_uncheckedBorderColor_value_2 = value_uncheckedBorderColor_value as string + valueSerializer.writeString(value_uncheckedBorderColor_value_2) + } + else if (RuntimeType.OBJECT == value_uncheckedBorderColor_value_type) { + valueSerializer.writeInt8(3) + const value_uncheckedBorderColor_value_3 = value_uncheckedBorderColor_value as Resource + valueSerializer.writeResource(value_uncheckedBorderColor_value_3) } } - const value_start = value.start - let value_start_type : int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - let value_start_value_type : int32 = RuntimeType.UNDEFINED - value_start_value_type = runtimeType(value_start_value) - if (TypeChecker.isColor(value_start_value)) { - valueSerializer.writeInt8(0 as int32) - const value_start_value_0 = value_start_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_start_value_0)) + const value_indicatorColor = value.indicatorColor + let value_indicatorColor_type : int32 = RuntimeType.UNDEFINED + value_indicatorColor_type = runtimeType(value_indicatorColor) + valueSerializer.writeInt8(value_indicatorColor_type) + if ((RuntimeType.UNDEFINED) != (value_indicatorColor_type)) { + const value_indicatorColor_value = value_indicatorColor! + let value_indicatorColor_value_type : int32 = RuntimeType.UNDEFINED + value_indicatorColor_value_type = runtimeType(value_indicatorColor_value) + if (TypeChecker.isColor(value_indicatorColor_value)) { + valueSerializer.writeInt8(0) + const value_indicatorColor_value_0 = value_indicatorColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_indicatorColor_value_0)) } - else if (RuntimeType.NUMBER == value_start_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_start_value_1 = value_start_value as number - valueSerializer.writeNumber(value_start_value_1) + else if (RuntimeType.NUMBER == value_indicatorColor_value_type) { + valueSerializer.writeInt8(1) + const value_indicatorColor_value_1 = value_indicatorColor_value as number + valueSerializer.writeNumber(value_indicatorColor_value_1) } - else if (RuntimeType.STRING == value_start_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_start_value_2 = value_start_value as string - valueSerializer.writeString(value_start_value_2) + else if (RuntimeType.STRING == value_indicatorColor_value_type) { + valueSerializer.writeInt8(2) + const value_indicatorColor_value_2 = value_indicatorColor_value as string + valueSerializer.writeString(value_indicatorColor_value_2) } - else if (RuntimeType.OBJECT == value_start_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_start_value_3 = value_start_value as Resource - valueSerializer.writeResource(value_start_value_3) + else if (RuntimeType.OBJECT == value_indicatorColor_value_type) { + valueSerializer.writeInt8(3) + const value_indicatorColor_value_3 = value_indicatorColor_value as Resource + valueSerializer.writeResource(value_indicatorColor_value_3) } } } - writeLocalizedEdges(value: LocalizedEdges): void { + public writeRectOptions(value: RectOptions): void { let valueSerializer : Serializer = this - const value_top = value.top - let value_top_type : int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - valueSerializer.writeLengthMetrics(value_top_value) - } - const value_start = value.start - let value_start_type : int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeLengthMetrics(value_start_value) + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as number + valueSerializer.writeNumber(value_width_value_0) + } + else if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as string + valueSerializer.writeString(value_width_value_1) + } } - const value_bottom = value.bottom - let value_bottom_type : int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - valueSerializer.writeLengthMetrics(value_bottom_value) + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type : int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.NUMBER == value_height_value_type) { + valueSerializer.writeInt8(0) + const value_height_value_0 = value_height_value as number + valueSerializer.writeNumber(value_height_value_0) + } + else if (RuntimeType.STRING == value_height_value_type) { + valueSerializer.writeInt8(1) + const value_height_value_1 = value_height_value as string + valueSerializer.writeString(value_height_value_1) + } } - const value_end = value.end - let value_end_type : int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeLengthMetrics(value_end_value) + const value_radius = value.radius + let value_radius_type : int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + let value_radius_value_type : int32 = RuntimeType.UNDEFINED + value_radius_value_type = runtimeType(value_radius_value) + if (RuntimeType.NUMBER == value_radius_value_type) { + valueSerializer.writeInt8(0) + const value_radius_value_0 = value_radius_value as number + valueSerializer.writeNumber(value_radius_value_0) + } + else if (RuntimeType.STRING == value_radius_value_type) { + valueSerializer.writeInt8(1) + const value_radius_value_1 = value_radius_value as string + valueSerializer.writeString(value_radius_value_1) + } + else if (RuntimeType.OBJECT == value_radius_value_type) { + valueSerializer.writeInt8(2) + const value_radius_value_2 = value_radius_value as Array + valueSerializer.writeInt32(value_radius_value_2.length as int32) + for (let i = 0; i < value_radius_value_2.length; i++) { + const value_radius_value_2_element : number | string = value_radius_value_2[i] + let value_radius_value_2_element_type : int32 = RuntimeType.UNDEFINED + value_radius_value_2_element_type = runtimeType(value_radius_value_2_element) + if (RuntimeType.NUMBER == value_radius_value_2_element_type) { + valueSerializer.writeInt8(0) + const value_radius_value_2_element_0 = value_radius_value_2_element as number + valueSerializer.writeNumber(value_radius_value_2_element_0) + } + else if (RuntimeType.STRING == value_radius_value_2_element_type) { + valueSerializer.writeInt8(1) + const value_radius_value_2_element_1 = value_radius_value_2_element as string + valueSerializer.writeString(value_radius_value_2_element_1) + } + } + } } } - writeLocalizedEdgeWidths(value: LocalizedEdgeWidths): void { + public writeRectShapeOptions(value: RectShapeOptions): void { let valueSerializer : Serializer = this - const value_top = value.top - let value_top_type : int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - valueSerializer.writeLengthMetrics(value_top_value) - } - const value_end = value.end - let value_end_type : int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeLengthMetrics(value_end_value) + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as number + valueSerializer.writeNumber(value_width_value_0) + } + else if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as string + valueSerializer.writeString(value_width_value_1) + } } - const value_bottom = value.bottom - let value_bottom_type : int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - valueSerializer.writeLengthMetrics(value_bottom_value) + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type : int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.NUMBER == value_height_value_type) { + valueSerializer.writeInt8(0) + const value_height_value_0 = value_height_value as number + valueSerializer.writeNumber(value_height_value_0) + } + else if (RuntimeType.STRING == value_height_value_type) { + valueSerializer.writeInt8(1) + const value_height_value_1 = value_height_value as string + valueSerializer.writeString(value_height_value_1) + } } - const value_start = value.start - let value_start_type : int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeLengthMetrics(value_start_value) + const value_radius = value.radius + let value_radius_type : int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + let value_radius_value_type : int32 = RuntimeType.UNDEFINED + value_radius_value_type = runtimeType(value_radius_value) + if (RuntimeType.NUMBER == value_radius_value_type) { + valueSerializer.writeInt8(0) + const value_radius_value_0 = value_radius_value as number + valueSerializer.writeNumber(value_radius_value_0) + } + else if (RuntimeType.STRING == value_radius_value_type) { + valueSerializer.writeInt8(1) + const value_radius_value_1 = value_radius_value as string + valueSerializer.writeString(value_radius_value_1) + } + else if (RuntimeType.OBJECT == value_radius_value_type) { + valueSerializer.writeInt8(2) + const value_radius_value_2 = value_radius_value as Array + valueSerializer.writeInt32(value_radius_value_2.length as int32) + for (let i = 0; i < value_radius_value_2.length; i++) { + const value_radius_value_2_element : number | string = value_radius_value_2[i] + let value_radius_value_2_element_type : int32 = RuntimeType.UNDEFINED + value_radius_value_2_element_type = runtimeType(value_radius_value_2_element) + if (RuntimeType.NUMBER == value_radius_value_2_element_type) { + valueSerializer.writeInt8(0) + const value_radius_value_2_element_0 = value_radius_value_2_element as number + valueSerializer.writeNumber(value_radius_value_2_element_0) + } + else if (RuntimeType.STRING == value_radius_value_2_element_type) { + valueSerializer.writeInt8(1) + const value_radius_value_2_element_1 = value_radius_value_2_element as string + valueSerializer.writeString(value_radius_value_2_element_1) + } + } + } } } - writeLocalizedPadding(value: LocalizedPadding): void { + public writeRefreshOptions(value: RefreshOptions): void { let valueSerializer : Serializer = this - const value_top = value.top - let value_top_type : int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - valueSerializer.writeLengthMetrics(value_top_value) - } - const value_end = value.end - let value_end_type : int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeLengthMetrics(value_end_value) - } - const value_bottom = value.bottom - let value_bottom_type : int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - valueSerializer.writeLengthMetrics(value_bottom_value) + const value_refreshing = value.refreshing + valueSerializer.writeBoolean(value_refreshing) + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + let value_offset_value_type : int32 = RuntimeType.UNDEFINED + value_offset_value_type = runtimeType(value_offset_value) + if (RuntimeType.NUMBER == value_offset_value_type) { + valueSerializer.writeInt8(0) + const value_offset_value_0 = value_offset_value as number + valueSerializer.writeNumber(value_offset_value_0) + } + else if (RuntimeType.STRING == value_offset_value_type) { + valueSerializer.writeInt8(1) + const value_offset_value_1 = value_offset_value as string + valueSerializer.writeString(value_offset_value_1) + } } - const value_start = value.start - let value_start_type : int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeLengthMetrics(value_start_value) - } - } - writeLocalizedPosition(value: LocalizedPosition): void { - let valueSerializer : Serializer = this - const value_start = value.start - let value_start_type : int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeLengthMetrics(value_start_value) - } - const value_top = value.top - let value_top_type : int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - valueSerializer.writeLengthMetrics(value_top_value) - } - } - writeLunarSwitchStyle(value: LunarSwitchStyle): void { - let valueSerializer : Serializer = this - const value_selectedColor = value.selectedColor - let value_selectedColor_type : int32 = RuntimeType.UNDEFINED - value_selectedColor_type = runtimeType(value_selectedColor) - valueSerializer.writeInt8(value_selectedColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { - const value_selectedColor_value = value_selectedColor! - let value_selectedColor_value_type : int32 = RuntimeType.UNDEFINED - value_selectedColor_value_type = runtimeType(value_selectedColor_value) - if (TypeChecker.isColor(value_selectedColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_selectedColor_value_0 = value_selectedColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_selectedColor_value_0)) - } - else if (RuntimeType.NUMBER == value_selectedColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_selectedColor_value_1 = value_selectedColor_value as number - valueSerializer.writeNumber(value_selectedColor_value_1) - } - else if (RuntimeType.STRING == value_selectedColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_selectedColor_value_2 = value_selectedColor_value as string - valueSerializer.writeString(value_selectedColor_value_2) + const value_friction = value.friction + let value_friction_type : int32 = RuntimeType.UNDEFINED + value_friction_type = runtimeType(value_friction) + valueSerializer.writeInt8(value_friction_type) + if ((RuntimeType.UNDEFINED) != (value_friction_type)) { + const value_friction_value = value_friction! + let value_friction_value_type : int32 = RuntimeType.UNDEFINED + value_friction_value_type = runtimeType(value_friction_value) + if (RuntimeType.NUMBER == value_friction_value_type) { + valueSerializer.writeInt8(0) + const value_friction_value_0 = value_friction_value as number + valueSerializer.writeNumber(value_friction_value_0) } - else if (RuntimeType.OBJECT == value_selectedColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_selectedColor_value_3 = value_selectedColor_value as Resource - valueSerializer.writeResource(value_selectedColor_value_3) + else if (RuntimeType.STRING == value_friction_value_type) { + valueSerializer.writeInt8(1) + const value_friction_value_1 = value_friction_value as string + valueSerializer.writeString(value_friction_value_1) } } - const value_unselectedColor = value.unselectedColor - let value_unselectedColor_type : int32 = RuntimeType.UNDEFINED - value_unselectedColor_type = runtimeType(value_unselectedColor) - valueSerializer.writeInt8(value_unselectedColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { - const value_unselectedColor_value = value_unselectedColor! - let value_unselectedColor_value_type : int32 = RuntimeType.UNDEFINED - value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) - if (TypeChecker.isColor(value_unselectedColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_unselectedColor_value_0 = value_unselectedColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_unselectedColor_value_0)) - } - else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_unselectedColor_value_1 = value_unselectedColor_value as number - valueSerializer.writeNumber(value_unselectedColor_value_1) - } - else if (RuntimeType.STRING == value_unselectedColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_unselectedColor_value_2 = value_unselectedColor_value as string - valueSerializer.writeString(value_unselectedColor_value_2) + const value_promptText = value.promptText + let value_promptText_type : int32 = RuntimeType.UNDEFINED + value_promptText_type = runtimeType(value_promptText) + valueSerializer.writeInt8(value_promptText_type) + if ((RuntimeType.UNDEFINED) != (value_promptText_type)) { + const value_promptText_value = value_promptText! + let value_promptText_value_type : int32 = RuntimeType.UNDEFINED + value_promptText_value_type = runtimeType(value_promptText_value) + if (RuntimeType.STRING == value_promptText_value_type) { + valueSerializer.writeInt8(0) + const value_promptText_value_0 = value_promptText_value as string + valueSerializer.writeString(value_promptText_value_0) } - else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_unselectedColor_value_3 = value_unselectedColor_value as Resource - valueSerializer.writeResource(value_unselectedColor_value_3) + else if (RuntimeType.OBJECT == value_promptText_value_type) { + valueSerializer.writeInt8(1) + const value_promptText_value_1 = value_promptText_value as Resource + valueSerializer.writeResource(value_promptText_value_1) } } - const value_strokeColor = value.strokeColor - let value_strokeColor_type : int32 = RuntimeType.UNDEFINED - value_strokeColor_type = runtimeType(value_strokeColor) - valueSerializer.writeInt8(value_strokeColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_strokeColor_type)) { - const value_strokeColor_value = value_strokeColor! - let value_strokeColor_value_type : int32 = RuntimeType.UNDEFINED - value_strokeColor_value_type = runtimeType(value_strokeColor_value) - if (TypeChecker.isColor(value_strokeColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_strokeColor_value_0 = value_strokeColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_strokeColor_value_0)) - } - else if (RuntimeType.NUMBER == value_strokeColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_strokeColor_value_1 = value_strokeColor_value as number - valueSerializer.writeNumber(value_strokeColor_value_1) - } - else if (RuntimeType.STRING == value_strokeColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_strokeColor_value_2 = value_strokeColor_value as string - valueSerializer.writeString(value_strokeColor_value_2) - } - else if (RuntimeType.OBJECT == value_strokeColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_strokeColor_value_3 = value_strokeColor_value as Resource - valueSerializer.writeResource(value_strokeColor_value_3) - } + const value_builder = value.builder + let value_builder_type : int32 = RuntimeType.UNDEFINED + value_builder_type = runtimeType(value_builder) + valueSerializer.writeInt8(value_builder_type) + if ((RuntimeType.UNDEFINED) != (value_builder_type)) { + const value_builder_value = value_builder! + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) + } + const value_refreshingContent = value.refreshingContent + let value_refreshingContent_type : int32 = RuntimeType.UNDEFINED + value_refreshingContent_type = runtimeType(value_refreshingContent) + valueSerializer.writeInt8(value_refreshingContent_type) + if ((RuntimeType.UNDEFINED) != (value_refreshingContent_type)) { + const value_refreshingContent_value = value_refreshingContent! + valueSerializer.writeComponentContent(value_refreshingContent_value) } } - writeMarkStyle(value: MarkStyle): void { + public writeRestrictedWorker(value: RestrictedWorker): void { let valueSerializer : Serializer = this - const value_strokeColor = value.strokeColor - let value_strokeColor_type : int32 = RuntimeType.UNDEFINED - value_strokeColor_type = runtimeType(value_strokeColor) - valueSerializer.writeInt8(value_strokeColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_strokeColor_type)) { - const value_strokeColor_value = value_strokeColor! - let value_strokeColor_value_type : int32 = RuntimeType.UNDEFINED - value_strokeColor_value_type = runtimeType(value_strokeColor_value) - if (TypeChecker.isColor(value_strokeColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_strokeColor_value_0 = value_strokeColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_strokeColor_value_0)) - } - else if (RuntimeType.NUMBER == value_strokeColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_strokeColor_value_1 = value_strokeColor_value as number - valueSerializer.writeNumber(value_strokeColor_value_1) - } - else if (RuntimeType.STRING == value_strokeColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_strokeColor_value_2 = value_strokeColor_value as string - valueSerializer.writeString(value_strokeColor_value_2) - } - else if (RuntimeType.OBJECT == value_strokeColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_strokeColor_value_3 = value_strokeColor_value as Resource - valueSerializer.writeResource(value_strokeColor_value_3) - } + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeReuseOptions(value: ReuseOptions): void { + let valueSerializer : Serializer = this + const value_reuseId = value.reuseId + let value_reuseId_type : int32 = RuntimeType.UNDEFINED + value_reuseId_type = runtimeType(value_reuseId) + valueSerializer.writeInt8(value_reuseId_type) + if ((RuntimeType.UNDEFINED) != (value_reuseId_type)) { + const value_reuseId_value = value_reuseId! + valueSerializer.holdAndWriteCallback(value_reuseId_value) } - const value_size = value.size - let value_size_type : int32 = RuntimeType.UNDEFINED - value_size_type = runtimeType(value_size) - valueSerializer.writeInt8(value_size_type as int32) - if ((RuntimeType.UNDEFINED) != (value_size_type)) { - const value_size_value = value_size! - let value_size_value_type : int32 = RuntimeType.UNDEFINED - value_size_value_type = runtimeType(value_size_value) - if (RuntimeType.STRING == value_size_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_size_value_0 = value_size_value as string - valueSerializer.writeString(value_size_value_0) - } - else if (RuntimeType.NUMBER == value_size_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_size_value_1 = value_size_value as number - valueSerializer.writeNumber(value_size_value_1) - } - else if (RuntimeType.OBJECT == value_size_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_size_value_2 = value_size_value as Resource - valueSerializer.writeResource(value_size_value_2) - } + } + public writeRichEditorBuilderSpanOptions(value: RichEditorBuilderSpanOptions): void { + let valueSerializer : Serializer = this + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writeNumber(value_offset_value) } - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - let value_strokeWidth_value_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) - if (RuntimeType.STRING == value_strokeWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_strokeWidth_value_0 = value_strokeWidth_value as string - valueSerializer.writeString(value_strokeWidth_value_0) - } - else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_strokeWidth_value_1 = value_strokeWidth_value as number - valueSerializer.writeNumber(value_strokeWidth_value_1) - } - else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_strokeWidth_value_2 = value_strokeWidth_value as Resource - valueSerializer.writeResource(value_strokeWidth_value_2) - } + const value_dragBackgroundColor = value.dragBackgroundColor + let value_dragBackgroundColor_type : int32 = RuntimeType.UNDEFINED + value_dragBackgroundColor_type = runtimeType(value_dragBackgroundColor) + valueSerializer.writeInt8(value_dragBackgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_dragBackgroundColor_type)) { + const value_dragBackgroundColor_value = value_dragBackgroundColor! + valueSerializer.writeColorMetrics(value_dragBackgroundColor_value) + } + const value_isDragShadowNeeded = value.isDragShadowNeeded + let value_isDragShadowNeeded_type : int32 = RuntimeType.UNDEFINED + value_isDragShadowNeeded_type = runtimeType(value_isDragShadowNeeded) + valueSerializer.writeInt8(value_isDragShadowNeeded_type) + if ((RuntimeType.UNDEFINED) != (value_isDragShadowNeeded_type)) { + const value_isDragShadowNeeded_value = value_isDragShadowNeeded! + valueSerializer.writeBoolean(value_isDragShadowNeeded_value) } } - writeMeasureOptions(value: MeasureOptions): void { + public writeRichEditorChangeValue(value: RichEditorChangeValue): void { let valueSerializer : Serializer = this - const value_textContent = value.textContent - let value_textContent_type : int32 = RuntimeType.UNDEFINED - value_textContent_type = runtimeType(value_textContent) - if (RuntimeType.STRING == value_textContent_type) { - valueSerializer.writeInt8(0 as int32) - const value_textContent_0 = value_textContent as string - valueSerializer.writeString(value_textContent_0) + const value_rangeBefore = value.rangeBefore + valueSerializer.writeTextRange(value_rangeBefore) + const value_replacedSpans = value.replacedSpans + valueSerializer.writeInt32(value_replacedSpans.length as int32) + for (let i = 0; i < value_replacedSpans.length; i++) { + const value_replacedSpans_element : RichEditorTextSpanResult = value_replacedSpans[i] + valueSerializer.writeRichEditorTextSpanResult(value_replacedSpans_element) } - else if (RuntimeType.OBJECT == value_textContent_type) { - valueSerializer.writeInt8(1 as int32) - const value_textContent_1 = value_textContent as Resource - valueSerializer.writeResource(value_textContent_1) + const value_replacedImageSpans = value.replacedImageSpans + valueSerializer.writeInt32(value_replacedImageSpans.length as int32) + for (let i = 0; i < value_replacedImageSpans.length; i++) { + const value_replacedImageSpans_element : RichEditorImageSpanResult = value_replacedImageSpans[i] + valueSerializer.writeRichEditorImageSpanResult(value_replacedImageSpans_element) } - const value_constraintWidth = value.constraintWidth - let value_constraintWidth_type : int32 = RuntimeType.UNDEFINED - value_constraintWidth_type = runtimeType(value_constraintWidth) - valueSerializer.writeInt8(value_constraintWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_constraintWidth_type)) { - const value_constraintWidth_value = value_constraintWidth! - let value_constraintWidth_value_type : int32 = RuntimeType.UNDEFINED - value_constraintWidth_value_type = runtimeType(value_constraintWidth_value) - if (RuntimeType.NUMBER == value_constraintWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_constraintWidth_value_0 = value_constraintWidth_value as number - valueSerializer.writeNumber(value_constraintWidth_value_0) - } - else if (RuntimeType.STRING == value_constraintWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_constraintWidth_value_1 = value_constraintWidth_value as string - valueSerializer.writeString(value_constraintWidth_value_1) - } - else if (RuntimeType.OBJECT == value_constraintWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_constraintWidth_value_2 = value_constraintWidth_value as Resource - valueSerializer.writeResource(value_constraintWidth_value_2) - } + const value_replacedSymbolSpans = value.replacedSymbolSpans + valueSerializer.writeInt32(value_replacedSymbolSpans.length as int32) + for (let i = 0; i < value_replacedSymbolSpans.length; i++) { + const value_replacedSymbolSpans_element : RichEditorTextSpanResult = value_replacedSymbolSpans[i] + valueSerializer.writeRichEditorTextSpanResult(value_replacedSymbolSpans_element) } + } + public writeRichEditorSymbolSpanStyle(value: RichEditorSymbolSpanStyle): void { + let valueSerializer : Serializer = this const value_fontSize = value.fontSize let value_fontSize_type : int32 = RuntimeType.UNDEFINED value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type as int32) + valueSerializer.writeInt8(value_fontSize_type) if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { const value_fontSize_value = value_fontSize! let value_fontSize_value_type : int32 = RuntimeType.UNDEFINED value_fontSize_value_type = runtimeType(value_fontSize_value) if (RuntimeType.NUMBER == value_fontSize_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_fontSize_value_0 = value_fontSize_value as number valueSerializer.writeNumber(value_fontSize_value_0) } else if (RuntimeType.STRING == value_fontSize_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_fontSize_value_1 = value_fontSize_value as string valueSerializer.writeString(value_fontSize_value_1) } else if (RuntimeType.OBJECT == value_fontSize_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_fontSize_value_2 = value_fontSize_value as Resource valueSerializer.writeResource(value_fontSize_value_2) } } - const value_fontStyle = value.fontStyle - let value_fontStyle_type : int32 = RuntimeType.UNDEFINED - value_fontStyle_type = runtimeType(value_fontStyle) - valueSerializer.writeInt8(value_fontStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { - const value_fontStyle_value = value_fontStyle! - let value_fontStyle_value_type : int32 = RuntimeType.UNDEFINED - value_fontStyle_value_type = runtimeType(value_fontStyle_value) - if (RuntimeType.NUMBER == value_fontStyle_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_fontStyle_value_0 = value_fontStyle_value as number - valueSerializer.writeNumber(value_fontStyle_value_0) - } - else if (TypeChecker.isFontStyle(value_fontStyle_value)) { - valueSerializer.writeInt8(1 as int32) - const value_fontStyle_value_1 = value_fontStyle_value as FontStyle - valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_fontStyle_value_1)) + const value_fontColor = value.fontColor + let value_fontColor_type : int32 = RuntimeType.UNDEFINED + value_fontColor_type = runtimeType(value_fontColor) + valueSerializer.writeInt8(value_fontColor_type) + if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { + const value_fontColor_value = value_fontColor! + valueSerializer.writeInt32(value_fontColor_value.length as int32) + for (let i = 0; i < value_fontColor_value.length; i++) { + const value_fontColor_value_element : ResourceColor = value_fontColor_value[i] + let value_fontColor_value_element_type : int32 = RuntimeType.UNDEFINED + value_fontColor_value_element_type = runtimeType(value_fontColor_value_element) + if (TypeChecker.isColor(value_fontColor_value_element)) { + valueSerializer.writeInt8(0) + const value_fontColor_value_element_0 = value_fontColor_value_element as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_element_0)) + } + else if (RuntimeType.NUMBER == value_fontColor_value_element_type) { + valueSerializer.writeInt8(1) + const value_fontColor_value_element_1 = value_fontColor_value_element as number + valueSerializer.writeNumber(value_fontColor_value_element_1) + } + else if (RuntimeType.STRING == value_fontColor_value_element_type) { + valueSerializer.writeInt8(2) + const value_fontColor_value_element_2 = value_fontColor_value_element as string + valueSerializer.writeString(value_fontColor_value_element_2) + } + else if (RuntimeType.OBJECT == value_fontColor_value_element_type) { + valueSerializer.writeInt8(3) + const value_fontColor_value_element_3 = value_fontColor_value_element as Resource + valueSerializer.writeResource(value_fontColor_value_element_3) + } } } const value_fontWeight = value.fontWeight let value_fontWeight_type : int32 = RuntimeType.UNDEFINED value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type as int32) + valueSerializer.writeInt8(value_fontWeight_type) if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { const value_fontWeight_value = value_fontWeight! let value_fontWeight_value_type : int32 = RuntimeType.UNDEFINED value_fontWeight_value_type = runtimeType(value_fontWeight_value) if (RuntimeType.NUMBER == value_fontWeight_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_fontWeight_value_0 = value_fontWeight_value as number valueSerializer.writeNumber(value_fontWeight_value_0) } - else if (RuntimeType.STRING == value_fontWeight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontWeight_value_1 = value_fontWeight_value as string - valueSerializer.writeString(value_fontWeight_value_1) - } else if (TypeChecker.isFontWeight(value_fontWeight_value)) { - valueSerializer.writeInt8(2 as int32) - const value_fontWeight_value_2 = value_fontWeight_value as FontWeight - valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_fontWeight_value_2)) - } - } - const value_fontFamily = value.fontFamily - let value_fontFamily_type : int32 = RuntimeType.UNDEFINED - value_fontFamily_type = runtimeType(value_fontFamily) - valueSerializer.writeInt8(value_fontFamily_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { - const value_fontFamily_value = value_fontFamily! - let value_fontFamily_value_type : int32 = RuntimeType.UNDEFINED - value_fontFamily_value_type = runtimeType(value_fontFamily_value) - if (RuntimeType.STRING == value_fontFamily_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_fontFamily_value_0 = value_fontFamily_value as string - valueSerializer.writeString(value_fontFamily_value_0) - } - else if (RuntimeType.OBJECT == value_fontFamily_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontFamily_value_1 = value_fontFamily_value as Resource - valueSerializer.writeResource(value_fontFamily_value_1) - } - } - const value_letterSpacing = value.letterSpacing - let value_letterSpacing_type : int32 = RuntimeType.UNDEFINED - value_letterSpacing_type = runtimeType(value_letterSpacing) - valueSerializer.writeInt8(value_letterSpacing_type as int32) - if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { - const value_letterSpacing_value = value_letterSpacing! - let value_letterSpacing_value_type : int32 = RuntimeType.UNDEFINED - value_letterSpacing_value_type = runtimeType(value_letterSpacing_value) - if (RuntimeType.NUMBER == value_letterSpacing_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_letterSpacing_value_0 = value_letterSpacing_value as number - valueSerializer.writeNumber(value_letterSpacing_value_0) - } - else if (RuntimeType.STRING == value_letterSpacing_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_letterSpacing_value_1 = value_letterSpacing_value as string - valueSerializer.writeString(value_letterSpacing_value_1) - } - } - const value_textAlign = value.textAlign - let value_textAlign_type : int32 = RuntimeType.UNDEFINED - value_textAlign_type = runtimeType(value_textAlign) - valueSerializer.writeInt8(value_textAlign_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textAlign_type)) { - const value_textAlign_value = value_textAlign! - let value_textAlign_value_type : int32 = RuntimeType.UNDEFINED - value_textAlign_value_type = runtimeType(value_textAlign_value) - if (RuntimeType.NUMBER == value_textAlign_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_textAlign_value_0 = value_textAlign_value as number - valueSerializer.writeNumber(value_textAlign_value_0) + valueSerializer.writeInt8(1) + const value_fontWeight_value_1 = value_fontWeight_value as FontWeight + valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_fontWeight_value_1)) } - else if (TypeChecker.isTextAlign(value_textAlign_value)) { - valueSerializer.writeInt8(1 as int32) - const value_textAlign_value_1 = value_textAlign_value as TextAlign - valueSerializer.writeInt32(TypeChecker.TextAlign_ToNumeric(value_textAlign_value_1)) + else if (RuntimeType.STRING == value_fontWeight_value_type) { + valueSerializer.writeInt8(2) + const value_fontWeight_value_2 = value_fontWeight_value as string + valueSerializer.writeString(value_fontWeight_value_2) } } - const value_overflow = value.overflow - let value_overflow_type : int32 = RuntimeType.UNDEFINED - value_overflow_type = runtimeType(value_overflow) - valueSerializer.writeInt8(value_overflow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_overflow_type)) { - const value_overflow_value = value_overflow! - let value_overflow_value_type : int32 = RuntimeType.UNDEFINED - value_overflow_value_type = runtimeType(value_overflow_value) - if (RuntimeType.NUMBER == value_overflow_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_overflow_value_0 = value_overflow_value as number - valueSerializer.writeNumber(value_overflow_value_0) - } - else if (TypeChecker.isTextOverflow(value_overflow_value)) { - valueSerializer.writeInt8(1 as int32) - const value_overflow_value_1 = value_overflow_value as TextOverflow - valueSerializer.writeInt32(TypeChecker.TextOverflow_ToNumeric(value_overflow_value_1)) - } + const value_effectStrategy = value.effectStrategy + let value_effectStrategy_type : int32 = RuntimeType.UNDEFINED + value_effectStrategy_type = runtimeType(value_effectStrategy) + valueSerializer.writeInt8(value_effectStrategy_type) + if ((RuntimeType.UNDEFINED) != (value_effectStrategy_type)) { + const value_effectStrategy_value = (value_effectStrategy as SymbolEffectStrategy) + valueSerializer.writeInt32(TypeChecker.SymbolEffectStrategy_ToNumeric(value_effectStrategy_value)) } - const value_maxLines = value.maxLines - let value_maxLines_type : int32 = RuntimeType.UNDEFINED - value_maxLines_type = runtimeType(value_maxLines) - valueSerializer.writeInt8(value_maxLines_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maxLines_type)) { - const value_maxLines_value = value_maxLines! - valueSerializer.writeNumber(value_maxLines_value) + const value_renderingStrategy = value.renderingStrategy + let value_renderingStrategy_type : int32 = RuntimeType.UNDEFINED + value_renderingStrategy_type = runtimeType(value_renderingStrategy) + valueSerializer.writeInt8(value_renderingStrategy_type) + if ((RuntimeType.UNDEFINED) != (value_renderingStrategy_type)) { + const value_renderingStrategy_value = (value_renderingStrategy as SymbolRenderingStrategy) + valueSerializer.writeInt32(TypeChecker.SymbolRenderingStrategy_ToNumeric(value_renderingStrategy_value)) } - const value_lineHeight = value.lineHeight - let value_lineHeight_type : int32 = RuntimeType.UNDEFINED - value_lineHeight_type = runtimeType(value_lineHeight) - valueSerializer.writeInt8(value_lineHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_lineHeight_type)) { - const value_lineHeight_value = value_lineHeight! - let value_lineHeight_value_type : int32 = RuntimeType.UNDEFINED - value_lineHeight_value_type = runtimeType(value_lineHeight_value) - if (RuntimeType.NUMBER == value_lineHeight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_lineHeight_value_0 = value_lineHeight_value as number - valueSerializer.writeNumber(value_lineHeight_value_0) - } - else if (RuntimeType.STRING == value_lineHeight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_lineHeight_value_1 = value_lineHeight_value as string - valueSerializer.writeString(value_lineHeight_value_1) - } - else if (RuntimeType.OBJECT == value_lineHeight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_lineHeight_value_2 = value_lineHeight_value as Resource - valueSerializer.writeResource(value_lineHeight_value_2) - } + } + public writeRichEditorUpdateSymbolSpanStyleOptions(value: RichEditorUpdateSymbolSpanStyleOptions): void { + let valueSerializer : Serializer = this + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeNumber(value_start_value) } - const value_baselineOffset = value.baselineOffset - let value_baselineOffset_type : int32 = RuntimeType.UNDEFINED - value_baselineOffset_type = runtimeType(value_baselineOffset) - valueSerializer.writeInt8(value_baselineOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_baselineOffset_type)) { - const value_baselineOffset_value = value_baselineOffset! - let value_baselineOffset_value_type : int32 = RuntimeType.UNDEFINED - value_baselineOffset_value_type = runtimeType(value_baselineOffset_value) - if (RuntimeType.NUMBER == value_baselineOffset_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_baselineOffset_value_0 = value_baselineOffset_value as number - valueSerializer.writeNumber(value_baselineOffset_value_0) - } - else if (RuntimeType.STRING == value_baselineOffset_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_baselineOffset_value_1 = value_baselineOffset_value as string - valueSerializer.writeString(value_baselineOffset_value_1) - } + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeNumber(value_end_value) } - const value_textCase = value.textCase - let value_textCase_type : int32 = RuntimeType.UNDEFINED - value_textCase_type = runtimeType(value_textCase) - valueSerializer.writeInt8(value_textCase_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textCase_type)) { - const value_textCase_value = value_textCase! - let value_textCase_value_type : int32 = RuntimeType.UNDEFINED - value_textCase_value_type = runtimeType(value_textCase_value) - if (RuntimeType.NUMBER == value_textCase_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_textCase_value_0 = value_textCase_value as number - valueSerializer.writeNumber(value_textCase_value_0) + const value_symbolStyle = value.symbolStyle + valueSerializer.writeRichEditorSymbolSpanStyle(value_symbolStyle) + } + public writeRichEditorUrlStyle(value: RichEditorUrlStyle): void { + let valueSerializer : Serializer = this + const value_url = value.url + let value_url_type : int32 = RuntimeType.UNDEFINED + value_url_type = runtimeType(value_url) + valueSerializer.writeInt8(value_url_type) + if ((RuntimeType.UNDEFINED) != (value_url_type)) { + const value_url_value = value_url! + let value_url_value_type : int32 = RuntimeType.UNDEFINED + value_url_value_type = runtimeType(value_url_value) + if (RuntimeType.STRING == value_url_value_type) { + valueSerializer.writeInt8(0) + const value_url_value_0 = value_url_value as string + valueSerializer.writeString(value_url_value_0) } - else if (TypeChecker.isTextCase(value_textCase_value)) { - valueSerializer.writeInt8(1 as int32) - const value_textCase_value_1 = value_textCase_value as TextCase - valueSerializer.writeInt32(TypeChecker.TextCase_ToNumeric(value_textCase_value_1)) + else if (RuntimeType.OBJECT == value_url_value_type) { + valueSerializer.writeInt8(1) + const value_url_value_1 = value_url_value as Resource + valueSerializer.writeResource(value_url_value_1) } } - const value_textIndent = value.textIndent - let value_textIndent_type : int32 = RuntimeType.UNDEFINED - value_textIndent_type = runtimeType(value_textIndent) - valueSerializer.writeInt8(value_textIndent_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textIndent_type)) { - const value_textIndent_value = value_textIndent! - let value_textIndent_value_type : int32 = RuntimeType.UNDEFINED - value_textIndent_value_type = runtimeType(value_textIndent_value) - if (RuntimeType.NUMBER == value_textIndent_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_textIndent_value_0 = value_textIndent_value as number - valueSerializer.writeNumber(value_textIndent_value_0) + } + public writeSceneOptions(value: SceneOptions): void { + let valueSerializer : Serializer = this + const value_scene = value.scene + let value_scene_type : int32 = RuntimeType.UNDEFINED + value_scene_type = runtimeType(value_scene) + valueSerializer.writeInt8(value_scene_type) + if ((RuntimeType.UNDEFINED) != (value_scene_type)) { + const value_scene_value = value_scene! + let value_scene_value_type : int32 = RuntimeType.UNDEFINED + value_scene_value_type = runtimeType(value_scene_value) + if ((RuntimeType.STRING == value_scene_value_type) || (RuntimeType.OBJECT == value_scene_value_type)) { + valueSerializer.writeInt8(0) + const value_scene_value_0 = value_scene_value as ResourceStr + let value_scene_value_0_type : int32 = RuntimeType.UNDEFINED + value_scene_value_0_type = runtimeType(value_scene_value_0) + if (RuntimeType.STRING == value_scene_value_0_type) { + valueSerializer.writeInt8(0) + const value_scene_value_0_0 = value_scene_value_0 as string + valueSerializer.writeString(value_scene_value_0_0) + } + else if (RuntimeType.OBJECT == value_scene_value_0_type) { + valueSerializer.writeInt8(1) + const value_scene_value_0_1 = value_scene_value_0 as Resource + valueSerializer.writeResource(value_scene_value_0_1) + } } - else if (RuntimeType.STRING == value_textIndent_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_textIndent_value_1 = value_textIndent_value as string - valueSerializer.writeString(value_textIndent_value_1) + else if (TypeChecker.isScene(value_scene_value)) { + valueSerializer.writeInt8(1) + const value_scene_value_1 = value_scene_value as Scene + valueSerializer.writeScene(value_scene_value_1) } } - const value_wordBreak = value.wordBreak - let value_wordBreak_type : int32 = RuntimeType.UNDEFINED - value_wordBreak_type = runtimeType(value_wordBreak) - valueSerializer.writeInt8(value_wordBreak_type as int32) - if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { - const value_wordBreak_value = (value_wordBreak as WordBreak) - valueSerializer.writeInt32(TypeChecker.WordBreak_ToNumeric(value_wordBreak_value)) + const value_modelType = value.modelType + let value_modelType_type : int32 = RuntimeType.UNDEFINED + value_modelType_type = runtimeType(value_modelType) + valueSerializer.writeInt8(value_modelType_type) + if ((RuntimeType.UNDEFINED) != (value_modelType_type)) { + const value_modelType_value = (value_modelType as ModelType) + valueSerializer.writeInt32(TypeChecker.ModelType_ToNumeric(value_modelType_value)) } } - writeMenuElement(value: MenuElement): void { + public writeScrollOptions(value: ScrollOptions): void { let valueSerializer : Serializer = this - const value_value = value.value - let value_value_type : int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_value_0 = value_value as string - valueSerializer.writeString(value_value_0) - } - else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_value_1 = value_value as Resource - valueSerializer.writeResource(value_value_1) + const value_xOffset = value.xOffset + let value_xOffset_type : int32 = RuntimeType.UNDEFINED + value_xOffset_type = runtimeType(value_xOffset) + if (RuntimeType.NUMBER == value_xOffset_type) { + valueSerializer.writeInt8(0) + const value_xOffset_0 = value_xOffset as number + valueSerializer.writeNumber(value_xOffset_0) + } + else if (RuntimeType.STRING == value_xOffset_type) { + valueSerializer.writeInt8(1) + const value_xOffset_1 = value_xOffset as string + valueSerializer.writeString(value_xOffset_1) + } + const value_yOffset = value.yOffset + let value_yOffset_type : int32 = RuntimeType.UNDEFINED + value_yOffset_type = runtimeType(value_yOffset) + if (RuntimeType.NUMBER == value_yOffset_type) { + valueSerializer.writeInt8(0) + const value_yOffset_0 = value_yOffset as number + valueSerializer.writeNumber(value_yOffset_0) + } + else if (RuntimeType.STRING == value_yOffset_type) { + valueSerializer.writeInt8(1) + const value_yOffset_1 = value_yOffset as string + valueSerializer.writeString(value_yOffset_1) + } + const value_animation = value.animation + let value_animation_type : int32 = RuntimeType.UNDEFINED + value_animation_type = runtimeType(value_animation) + valueSerializer.writeInt8(value_animation_type) + if ((RuntimeType.UNDEFINED) != (value_animation_type)) { + const value_animation_value = value_animation! + let value_animation_value_type : int32 = RuntimeType.UNDEFINED + value_animation_value_type = runtimeType(value_animation_value) + if (RuntimeType.OBJECT == value_animation_value_type) { + valueSerializer.writeInt8(0) + const value_animation_value_0 = value_animation_value as ScrollAnimationOptions + valueSerializer.writeScrollAnimationOptions(value_animation_value_0) + } + else if (RuntimeType.BOOLEAN == value_animation_value_type) { + valueSerializer.writeInt8(1) + const value_animation_value_1 = value_animation_value as boolean + valueSerializer.writeBoolean(value_animation_value_1) + } + } + } + public writeScrollToIndexOptions(value: ScrollToIndexOptions): void { + let valueSerializer : Serializer = this + const value_extraOffset = value.extraOffset + let value_extraOffset_type : int32 = RuntimeType.UNDEFINED + value_extraOffset_type = runtimeType(value_extraOffset) + valueSerializer.writeInt8(value_extraOffset_type) + if ((RuntimeType.UNDEFINED) != (value_extraOffset_type)) { + const value_extraOffset_value = value_extraOffset! + valueSerializer.writeLengthMetrics(value_extraOffset_value) + } + } + public writeSearchOptions(value: SearchOptions): void { + let valueSerializer : Serializer = this + const value_value = value.value + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + valueSerializer.writeInt8(value_value_type) + if ((RuntimeType.UNDEFINED) != (value_value_type)) { + const value_value_value = value_value! + valueSerializer.writeString(value_value_value) + } + const value_placeholder = value.placeholder + let value_placeholder_type : int32 = RuntimeType.UNDEFINED + value_placeholder_type = runtimeType(value_placeholder) + valueSerializer.writeInt8(value_placeholder_type) + if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { + const value_placeholder_value = value_placeholder! + let value_placeholder_value_type : int32 = RuntimeType.UNDEFINED + value_placeholder_value_type = runtimeType(value_placeholder_value) + if (RuntimeType.STRING == value_placeholder_value_type) { + valueSerializer.writeInt8(0) + const value_placeholder_value_0 = value_placeholder_value as string + valueSerializer.writeString(value_placeholder_value_0) + } + else if (RuntimeType.OBJECT == value_placeholder_value_type) { + valueSerializer.writeInt8(1) + const value_placeholder_value_1 = value_placeholder_value as Resource + valueSerializer.writeResource(value_placeholder_value_1) + } + } + const value_icon = value.icon + let value_icon_type : int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + valueSerializer.writeString(value_icon_value) + } + const value_controller = value.controller + let value_controller_type : int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + valueSerializer.writeInt8(value_controller_type) + if ((RuntimeType.UNDEFINED) != (value_controller_type)) { + const value_controller_value = value_controller! + valueSerializer.writeSearchController(value_controller_value) + } + } + public writeSelectionMenuOptions(value: SelectionMenuOptions): void { + let valueSerializer : Serializer = this + const value_onAppear = value.onAppear + let value_onAppear_type : int32 = RuntimeType.UNDEFINED + value_onAppear_type = runtimeType(value_onAppear) + valueSerializer.writeInt8(value_onAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { + const value_onAppear_value = value_onAppear! + valueSerializer.holdAndWriteCallback(value_onAppear_value) + } + const value_onDisappear = value.onDisappear + let value_onDisappear_type : int32 = RuntimeType.UNDEFINED + value_onDisappear_type = runtimeType(value_onDisappear) + valueSerializer.writeInt8(value_onDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { + const value_onDisappear_value = value_onDisappear! + valueSerializer.holdAndWriteCallback(value_onDisappear_value) + } + const value_menuType = value.menuType + let value_menuType_type : int32 = RuntimeType.UNDEFINED + value_menuType_type = runtimeType(value_menuType) + valueSerializer.writeInt8(value_menuType_type) + if ((RuntimeType.UNDEFINED) != (value_menuType_type)) { + const value_menuType_value = (value_menuType as MenuType) + valueSerializer.writeInt32(TypeChecker.MenuType_ToNumeric(value_menuType_value)) + } + const value_onMenuShow = value.onMenuShow + let value_onMenuShow_type : int32 = RuntimeType.UNDEFINED + value_onMenuShow_type = runtimeType(value_onMenuShow) + valueSerializer.writeInt8(value_onMenuShow_type) + if ((RuntimeType.UNDEFINED) != (value_onMenuShow_type)) { + const value_onMenuShow_value = value_onMenuShow! + valueSerializer.holdAndWriteCallback(value_onMenuShow_value) + } + const value_onMenuHide = value.onMenuHide + let value_onMenuHide_type : int32 = RuntimeType.UNDEFINED + value_onMenuHide_type = runtimeType(value_onMenuHide) + valueSerializer.writeInt8(value_onMenuHide_type) + if ((RuntimeType.UNDEFINED) != (value_onMenuHide_type)) { + const value_onMenuHide_value = value_onMenuHide! + valueSerializer.holdAndWriteCallback(value_onMenuHide_value) + } + const value_previewMenuOptions = value.previewMenuOptions + let value_previewMenuOptions_type : int32 = RuntimeType.UNDEFINED + value_previewMenuOptions_type = runtimeType(value_previewMenuOptions) + valueSerializer.writeInt8(value_previewMenuOptions_type) + if ((RuntimeType.UNDEFINED) != (value_previewMenuOptions_type)) { + const value_previewMenuOptions_value = value_previewMenuOptions! + valueSerializer.writePreviewMenuOptions(value_previewMenuOptions_value) + } + } + public writeSelectOption(value: SelectOption): void { + let valueSerializer : Serializer = this + const value_value = value.value + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + valueSerializer.writeInt8(0) + const value_value_0 = value_value as string + valueSerializer.writeString(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + valueSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + valueSerializer.writeResource(value_value_1) } const value_icon = value.icon let value_icon_type : int32 = RuntimeType.UNDEFINED value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) + valueSerializer.writeInt8(value_icon_type) if ((RuntimeType.UNDEFINED) != (value_icon_type)) { const value_icon_value = value_icon! let value_icon_value_type : int32 = RuntimeType.UNDEFINED value_icon_value_type = runtimeType(value_icon_value) if (RuntimeType.STRING == value_icon_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_icon_value_0 = value_icon_value as string valueSerializer.writeString(value_icon_value_0) } else if (RuntimeType.OBJECT == value_icon_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_icon_value_1 = value_icon_value as Resource valueSerializer.writeResource(value_icon_value_1) } @@ -12820,9510 +12804,6189 @@ export class Serializer extends SerializerBase { const value_symbolIcon = value.symbolIcon let value_symbolIcon_type : int32 = RuntimeType.UNDEFINED value_symbolIcon_type = runtimeType(value_symbolIcon) - valueSerializer.writeInt8(value_symbolIcon_type as int32) + valueSerializer.writeInt8(value_symbolIcon_type) if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { const value_symbolIcon_value = value_symbolIcon! valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) } - const value_enabled = value.enabled - let value_enabled_type : int32 = RuntimeType.UNDEFINED - value_enabled_type = runtimeType(value_enabled) - valueSerializer.writeInt8(value_enabled_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enabled_type)) { - const value_enabled_value = value_enabled! - valueSerializer.writeBoolean(value_enabled_value) - } - const value_action = value.action - valueSerializer.holdAndWriteCallback(value_action) - } - writeMenuItemConfiguration(value: MenuItemConfiguration): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) } - writeMenuItemGroupOptions(value: MenuItemGroupOptions): void { + public writeShadowOptions(value: ShadowOptions): void { let valueSerializer : Serializer = this - const value_header = value.header - let value_header_type : int32 = RuntimeType.UNDEFINED - value_header_type = runtimeType(value_header) - valueSerializer.writeInt8(value_header_type as int32) - if ((RuntimeType.UNDEFINED) != (value_header_type)) { - const value_header_value = value_header! - let value_header_value_type : int32 = RuntimeType.UNDEFINED - value_header_value_type = runtimeType(value_header_value) - if ((RuntimeType.STRING == value_header_value_type) || (RuntimeType.OBJECT == value_header_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_header_value_0 = value_header_value as ResourceStr - let value_header_value_0_type : int32 = RuntimeType.UNDEFINED - value_header_value_0_type = runtimeType(value_header_value_0) - if (RuntimeType.STRING == value_header_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_header_value_0_0 = value_header_value_0 as string - valueSerializer.writeString(value_header_value_0_0) - } - else if (RuntimeType.OBJECT == value_header_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_header_value_0_1 = value_header_value_0 as Resource - valueSerializer.writeResource(value_header_value_0_1) - } + const value_radius = value.radius + let value_radius_type : int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + if (RuntimeType.NUMBER == value_radius_type) { + valueSerializer.writeInt8(0) + const value_radius_0 = value_radius as number + valueSerializer.writeNumber(value_radius_0) + } + else if (RuntimeType.OBJECT == value_radius_type) { + valueSerializer.writeInt8(1) + const value_radius_1 = value_radius as Resource + valueSerializer.writeResource(value_radius_1) + } + const value_type = value.type + let value_type_type : int32 = RuntimeType.UNDEFINED + value_type_type = runtimeType(value_type) + valueSerializer.writeInt8(value_type_type) + if ((RuntimeType.UNDEFINED) != (value_type_type)) { + const value_type_value = (value_type as ShadowType) + valueSerializer.writeInt32(TypeChecker.ShadowType_ToNumeric(value_type_value)) + } + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isColor(value_color_value)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } - else if (RuntimeType.FUNCTION == value_header_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_header_value_1 = value_header_value as CustomBuilder - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_header_value_1)) + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as string + valueSerializer.writeString(value_color_value_1) + } + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as Resource + valueSerializer.writeResource(value_color_value_2) + } + else if (TypeChecker.isColoringStrategy(value_color_value)) { + valueSerializer.writeInt8(3) + const value_color_value_3 = value_color_value as ColoringStrategy + valueSerializer.writeInt32(TypeChecker.ColoringStrategy_ToNumeric(value_color_value_3)) } } - const value_footer = value.footer - let value_footer_type : int32 = RuntimeType.UNDEFINED - value_footer_type = runtimeType(value_footer) - valueSerializer.writeInt8(value_footer_type as int32) - if ((RuntimeType.UNDEFINED) != (value_footer_type)) { - const value_footer_value = value_footer! - let value_footer_value_type : int32 = RuntimeType.UNDEFINED - value_footer_value_type = runtimeType(value_footer_value) - if ((RuntimeType.STRING == value_footer_value_type) || (RuntimeType.OBJECT == value_footer_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_footer_value_0 = value_footer_value as ResourceStr - let value_footer_value_0_type : int32 = RuntimeType.UNDEFINED - value_footer_value_0_type = runtimeType(value_footer_value_0) - if (RuntimeType.STRING == value_footer_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_footer_value_0_0 = value_footer_value_0 as string - valueSerializer.writeString(value_footer_value_0_0) - } - else if (RuntimeType.OBJECT == value_footer_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_footer_value_0_1 = value_footer_value_0 as Resource - valueSerializer.writeResource(value_footer_value_0_1) - } + const value_offsetX = value.offsetX + let value_offsetX_type : int32 = RuntimeType.UNDEFINED + value_offsetX_type = runtimeType(value_offsetX) + valueSerializer.writeInt8(value_offsetX_type) + if ((RuntimeType.UNDEFINED) != (value_offsetX_type)) { + const value_offsetX_value = value_offsetX! + let value_offsetX_value_type : int32 = RuntimeType.UNDEFINED + value_offsetX_value_type = runtimeType(value_offsetX_value) + if (RuntimeType.NUMBER == value_offsetX_value_type) { + valueSerializer.writeInt8(0) + const value_offsetX_value_0 = value_offsetX_value as number + valueSerializer.writeNumber(value_offsetX_value_0) } - else if (RuntimeType.FUNCTION == value_footer_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_footer_value_1 = value_footer_value as CustomBuilder - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_footer_value_1)) + else if (RuntimeType.OBJECT == value_offsetX_value_type) { + valueSerializer.writeInt8(1) + const value_offsetX_value_1 = value_offsetX_value as Resource + valueSerializer.writeResource(value_offsetX_value_1) } } - } - writeMenuItemOptions(value: MenuItemOptions): void { - let valueSerializer : Serializer = this - const value_startIcon = value.startIcon - let value_startIcon_type : int32 = RuntimeType.UNDEFINED - value_startIcon_type = runtimeType(value_startIcon) - valueSerializer.writeInt8(value_startIcon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_startIcon_type)) { - const value_startIcon_value = value_startIcon! - let value_startIcon_value_type : int32 = RuntimeType.UNDEFINED - value_startIcon_value_type = runtimeType(value_startIcon_value) - if (RuntimeType.STRING == value_startIcon_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_startIcon_value_0 = value_startIcon_value as string - valueSerializer.writeString(value_startIcon_value_0) + const value_offsetY = value.offsetY + let value_offsetY_type : int32 = RuntimeType.UNDEFINED + value_offsetY_type = runtimeType(value_offsetY) + valueSerializer.writeInt8(value_offsetY_type) + if ((RuntimeType.UNDEFINED) != (value_offsetY_type)) { + const value_offsetY_value = value_offsetY! + let value_offsetY_value_type : int32 = RuntimeType.UNDEFINED + value_offsetY_value_type = runtimeType(value_offsetY_value) + if (RuntimeType.NUMBER == value_offsetY_value_type) { + valueSerializer.writeInt8(0) + const value_offsetY_value_0 = value_offsetY_value as number + valueSerializer.writeNumber(value_offsetY_value_0) } - else if (RuntimeType.OBJECT == value_startIcon_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_startIcon_value_1 = value_startIcon_value as Resource - valueSerializer.writeResource(value_startIcon_value_1) + else if (RuntimeType.OBJECT == value_offsetY_value_type) { + valueSerializer.writeInt8(1) + const value_offsetY_value_1 = value_offsetY_value as Resource + valueSerializer.writeResource(value_offsetY_value_1) } } - const value_symbolStartIcon = value.symbolStartIcon - let value_symbolStartIcon_type : int32 = RuntimeType.UNDEFINED - value_symbolStartIcon_type = runtimeType(value_symbolStartIcon) - valueSerializer.writeInt8(value_symbolStartIcon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_symbolStartIcon_type)) { - const value_symbolStartIcon_value = value_symbolStartIcon! - valueSerializer.writeSymbolGlyphModifier(value_symbolStartIcon_value) - } - const value_content = value.content - let value_content_type : int32 = RuntimeType.UNDEFINED - value_content_type = runtimeType(value_content) - valueSerializer.writeInt8(value_content_type as int32) - if ((RuntimeType.UNDEFINED) != (value_content_type)) { - const value_content_value = value_content! - let value_content_value_type : int32 = RuntimeType.UNDEFINED - value_content_value_type = runtimeType(value_content_value) - if (RuntimeType.STRING == value_content_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_content_value_0 = value_content_value as string - valueSerializer.writeString(value_content_value_0) - } - else if (RuntimeType.OBJECT == value_content_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_content_value_1 = value_content_value as Resource - valueSerializer.writeResource(value_content_value_1) - } - } - const value_endIcon = value.endIcon - let value_endIcon_type : int32 = RuntimeType.UNDEFINED - value_endIcon_type = runtimeType(value_endIcon) - valueSerializer.writeInt8(value_endIcon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_endIcon_type)) { - const value_endIcon_value = value_endIcon! - let value_endIcon_value_type : int32 = RuntimeType.UNDEFINED - value_endIcon_value_type = runtimeType(value_endIcon_value) - if (RuntimeType.STRING == value_endIcon_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_endIcon_value_0 = value_endIcon_value as string - valueSerializer.writeString(value_endIcon_value_0) - } - else if (RuntimeType.OBJECT == value_endIcon_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_endIcon_value_1 = value_endIcon_value as Resource - valueSerializer.writeResource(value_endIcon_value_1) - } - } - const value_symbolEndIcon = value.symbolEndIcon - let value_symbolEndIcon_type : int32 = RuntimeType.UNDEFINED - value_symbolEndIcon_type = runtimeType(value_symbolEndIcon) - valueSerializer.writeInt8(value_symbolEndIcon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_symbolEndIcon_type)) { - const value_symbolEndIcon_value = value_symbolEndIcon! - valueSerializer.writeSymbolGlyphModifier(value_symbolEndIcon_value) - } - const value_labelInfo = value.labelInfo - let value_labelInfo_type : int32 = RuntimeType.UNDEFINED - value_labelInfo_type = runtimeType(value_labelInfo) - valueSerializer.writeInt8(value_labelInfo_type as int32) - if ((RuntimeType.UNDEFINED) != (value_labelInfo_type)) { - const value_labelInfo_value = value_labelInfo! - let value_labelInfo_value_type : int32 = RuntimeType.UNDEFINED - value_labelInfo_value_type = runtimeType(value_labelInfo_value) - if (RuntimeType.STRING == value_labelInfo_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_labelInfo_value_0 = value_labelInfo_value as string - valueSerializer.writeString(value_labelInfo_value_0) - } - else if (RuntimeType.OBJECT == value_labelInfo_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_labelInfo_value_1 = value_labelInfo_value as Resource - valueSerializer.writeResource(value_labelInfo_value_1) - } - } - const value_builder = value.builder - let value_builder_type : int32 = RuntimeType.UNDEFINED - value_builder_type = runtimeType(value_builder) - valueSerializer.writeInt8(value_builder_type as int32) - if ((RuntimeType.UNDEFINED) != (value_builder_type)) { - const value_builder_value = value_builder! - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) - } - } - writeNavDestinationCommonTitle(value: NavDestinationCommonTitle): void { - let valueSerializer : Serializer = this - const value_main = value.main - let value_main_type : int32 = RuntimeType.UNDEFINED - value_main_type = runtimeType(value_main) - if (RuntimeType.STRING == value_main_type) { - valueSerializer.writeInt8(0 as int32) - const value_main_0 = value_main as string - valueSerializer.writeString(value_main_0) - } - else if (RuntimeType.OBJECT == value_main_type) { - valueSerializer.writeInt8(1 as int32) - const value_main_1 = value_main as Resource - valueSerializer.writeResource(value_main_1) - } - const value_sub = value.sub - let value_sub_type : int32 = RuntimeType.UNDEFINED - value_sub_type = runtimeType(value_sub) - if (RuntimeType.STRING == value_sub_type) { - valueSerializer.writeInt8(0 as int32) - const value_sub_0 = value_sub as string - valueSerializer.writeString(value_sub_0) - } - else if (RuntimeType.OBJECT == value_sub_type) { - valueSerializer.writeInt8(1 as int32) - const value_sub_1 = value_sub as Resource - valueSerializer.writeResource(value_sub_1) + const value_fill = value.fill + let value_fill_type : int32 = RuntimeType.UNDEFINED + value_fill_type = runtimeType(value_fill) + valueSerializer.writeInt8(value_fill_type) + if ((RuntimeType.UNDEFINED) != (value_fill_type)) { + const value_fill_value = value_fill! + valueSerializer.writeBoolean(value_fill_value) } } - writeNavDestinationContext(value: NavDestinationContext): void { + public writesharedTransitionOptions(value: sharedTransitionOptions): void { let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeNavDestinationCustomTitle(value: NavDestinationCustomTitle): void { - let valueSerializer : Serializer = this - const value_builder = value.builder - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder)) - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - if (TypeChecker.isTitleHeight(value_height)) { - valueSerializer.writeInt8(0 as int32) - const value_height_0 = value_height as TitleHeight - valueSerializer.writeInt32(TypeChecker.TitleHeight_ToNumeric(value_height_0)) + const value_duration = value.duration + let value_duration_type : int32 = RuntimeType.UNDEFINED + value_duration_type = runtimeType(value_duration) + valueSerializer.writeInt8(value_duration_type) + if ((RuntimeType.UNDEFINED) != (value_duration_type)) { + const value_duration_value = value_duration! + valueSerializer.writeNumber(value_duration_value) } - else if ((RuntimeType.STRING == value_height_type) || (RuntimeType.NUMBER == value_height_type) || (RuntimeType.OBJECT == value_height_type)) { - valueSerializer.writeInt8(1 as int32) - const value_height_1 = value_height as Length - let value_height_1_type : int32 = RuntimeType.UNDEFINED - value_height_1_type = runtimeType(value_height_1) - if (RuntimeType.STRING == value_height_1_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_1_0 = value_height_1 as string - valueSerializer.writeString(value_height_1_0) + const value_curve = value.curve + let value_curve_type : int32 = RuntimeType.UNDEFINED + value_curve_type = runtimeType(value_curve) + valueSerializer.writeInt8(value_curve_type) + if ((RuntimeType.UNDEFINED) != (value_curve_type)) { + const value_curve_value = value_curve! + let value_curve_value_type : int32 = RuntimeType.UNDEFINED + value_curve_value_type = runtimeType(value_curve_value) + if (TypeChecker.isCurve(value_curve_value)) { + valueSerializer.writeInt8(0) + const value_curve_value_0 = value_curve_value as Curve + valueSerializer.writeInt32(TypeChecker.Curve_ToNumeric(value_curve_value_0)) } - else if (RuntimeType.NUMBER == value_height_1_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_1_1 = value_height_1 as number - valueSerializer.writeNumber(value_height_1_1) + else if (RuntimeType.STRING == value_curve_value_type) { + valueSerializer.writeInt8(1) + const value_curve_value_1 = value_curve_value as string + valueSerializer.writeString(value_curve_value_1) } - else if (RuntimeType.OBJECT == value_height_1_type) { - valueSerializer.writeInt8(2 as int32) - const value_height_1_2 = value_height_1 as Resource - valueSerializer.writeResource(value_height_1_2) + else if (RuntimeType.OBJECT == value_curve_value_type) { + valueSerializer.writeInt8(2) + const value_curve_value_2 = value_curve_value as ICurve + valueSerializer.writeICurve(value_curve_value_2) } } - } - writeNavigationCommonTitle(value: NavigationCommonTitle): void { - let valueSerializer : Serializer = this - const value_main = value.main - let value_main_type : int32 = RuntimeType.UNDEFINED - value_main_type = runtimeType(value_main) - if (RuntimeType.STRING == value_main_type) { - valueSerializer.writeInt8(0 as int32) - const value_main_0 = value_main as string - valueSerializer.writeString(value_main_0) - } - else if (RuntimeType.OBJECT == value_main_type) { - valueSerializer.writeInt8(1 as int32) - const value_main_1 = value_main as Resource - valueSerializer.writeResource(value_main_1) - } - const value_sub = value.sub - let value_sub_type : int32 = RuntimeType.UNDEFINED - value_sub_type = runtimeType(value_sub) - if (RuntimeType.STRING == value_sub_type) { - valueSerializer.writeInt8(0 as int32) - const value_sub_0 = value_sub as string - valueSerializer.writeString(value_sub_0) + const value_delay = value.delay + let value_delay_type : int32 = RuntimeType.UNDEFINED + value_delay_type = runtimeType(value_delay) + valueSerializer.writeInt8(value_delay_type) + if ((RuntimeType.UNDEFINED) != (value_delay_type)) { + const value_delay_value = value_delay! + valueSerializer.writeNumber(value_delay_value) } - else if (RuntimeType.OBJECT == value_sub_type) { - valueSerializer.writeInt8(1 as int32) - const value_sub_1 = value_sub as Resource - valueSerializer.writeResource(value_sub_1) + const value_motionPath = value.motionPath + let value_motionPath_type : int32 = RuntimeType.UNDEFINED + value_motionPath_type = runtimeType(value_motionPath) + valueSerializer.writeInt8(value_motionPath_type) + if ((RuntimeType.UNDEFINED) != (value_motionPath_type)) { + const value_motionPath_value = value_motionPath! + valueSerializer.writeMotionPathOptions(value_motionPath_value) } - } - writeNavigationCustomTitle(value: NavigationCustomTitle): void { - let valueSerializer : Serializer = this - const value_builder = value.builder - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder)) - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - if (TypeChecker.isTitleHeight(value_height)) { - valueSerializer.writeInt8(0 as int32) - const value_height_0 = value_height as TitleHeight - valueSerializer.writeInt32(TypeChecker.TitleHeight_ToNumeric(value_height_0)) + const value_zIndex = value.zIndex + let value_zIndex_type : int32 = RuntimeType.UNDEFINED + value_zIndex_type = runtimeType(value_zIndex) + valueSerializer.writeInt8(value_zIndex_type) + if ((RuntimeType.UNDEFINED) != (value_zIndex_type)) { + const value_zIndex_value = value_zIndex! + valueSerializer.writeNumber(value_zIndex_value) } - else if ((RuntimeType.STRING == value_height_type) || (RuntimeType.NUMBER == value_height_type) || (RuntimeType.OBJECT == value_height_type)) { - valueSerializer.writeInt8(1 as int32) - const value_height_1 = value_height as Length - let value_height_1_type : int32 = RuntimeType.UNDEFINED - value_height_1_type = runtimeType(value_height_1) - if (RuntimeType.STRING == value_height_1_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_1_0 = value_height_1 as string - valueSerializer.writeString(value_height_1_0) - } - else if (RuntimeType.NUMBER == value_height_1_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_1_1 = value_height_1 as number - valueSerializer.writeNumber(value_height_1_1) - } - else if (RuntimeType.OBJECT == value_height_1_type) { - valueSerializer.writeInt8(2 as int32) - const value_height_1_2 = value_height_1 as Resource - valueSerializer.writeResource(value_height_1_2) - } + const value_type = value.type + let value_type_type : int32 = RuntimeType.UNDEFINED + value_type_type = runtimeType(value_type) + valueSerializer.writeInt8(value_type_type) + if ((RuntimeType.UNDEFINED) != (value_type_type)) { + const value_type_value = (value_type as SharedTransitionEffectType) + valueSerializer.writeInt32(TypeChecker.SharedTransitionEffectType_ToNumeric(value_type_value)) } } - writeNavigationMenuItem(value: NavigationMenuItem): void { + public writeSheetInfo(value: SheetInfo): void { let valueSerializer : Serializer = this - const value_value = value.value - let value_value_type : int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_value_0 = value_value as string - valueSerializer.writeString(value_value_0) + const value_title = value.title + let value_title_type : int32 = RuntimeType.UNDEFINED + value_title_type = runtimeType(value_title) + if (RuntimeType.STRING == value_title_type) { + valueSerializer.writeInt8(0) + const value_title_0 = value_title as string + valueSerializer.writeString(value_title_0) } - else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_value_1 = value_value as Resource - valueSerializer.writeResource(value_value_1) + else if (RuntimeType.OBJECT == value_title_type) { + valueSerializer.writeInt8(1) + const value_title_1 = value_title as Resource + valueSerializer.writeResource(value_title_1) } const value_icon = value.icon let value_icon_type : int32 = RuntimeType.UNDEFINED value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) + valueSerializer.writeInt8(value_icon_type) if ((RuntimeType.UNDEFINED) != (value_icon_type)) { const value_icon_value = value_icon! let value_icon_value_type : int32 = RuntimeType.UNDEFINED value_icon_value_type = runtimeType(value_icon_value) if (RuntimeType.STRING == value_icon_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_icon_value_0 = value_icon_value as string valueSerializer.writeString(value_icon_value_0) } else if (RuntimeType.OBJECT == value_icon_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_icon_value_1 = value_icon_value as Resource valueSerializer.writeResource(value_icon_value_1) } } - const value_symbolIcon = value.symbolIcon - let value_symbolIcon_type : int32 = RuntimeType.UNDEFINED - value_symbolIcon_type = runtimeType(value_symbolIcon) - valueSerializer.writeInt8(value_symbolIcon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { - const value_symbolIcon_value = value_symbolIcon! - valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) - } - const value_isEnabled = value.isEnabled - let value_isEnabled_type : int32 = RuntimeType.UNDEFINED - value_isEnabled_type = runtimeType(value_isEnabled) - valueSerializer.writeInt8(value_isEnabled_type as int32) - if ((RuntimeType.UNDEFINED) != (value_isEnabled_type)) { - const value_isEnabled_value = value_isEnabled! - valueSerializer.writeBoolean(value_isEnabled_value) - } const value_action = value.action - let value_action_type : int32 = RuntimeType.UNDEFINED - value_action_type = runtimeType(value_action) - valueSerializer.writeInt8(value_action_type as int32) - if ((RuntimeType.UNDEFINED) != (value_action_type)) { - const value_action_value = value_action! - valueSerializer.holdAndWriteCallback(value_action_value) - } + valueSerializer.holdAndWriteCallback(value_action) } - writeNavigationTitleOptions(value: NavigationTitleOptions): void { + public writeSheetTitleOptions(value: SheetTitleOptions): void { let valueSerializer : Serializer = this - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundColor_value_0 = value_backgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) - } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundColor_value_1 = value_backgroundColor_value as number - valueSerializer.writeNumber(value_backgroundColor_value_1) - } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundColor_value_2 = value_backgroundColor_value as string - valueSerializer.writeString(value_backgroundColor_value_2) - } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundColor_value_3 = value_backgroundColor_value as Resource - valueSerializer.writeResource(value_backgroundColor_value_3) - } - } - const value_backgroundBlurStyle = value.backgroundBlurStyle - let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { - const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) - valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) - } - const value_barStyle = value.barStyle - let value_barStyle_type : int32 = RuntimeType.UNDEFINED - value_barStyle_type = runtimeType(value_barStyle) - valueSerializer.writeInt8(value_barStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_barStyle_type)) { - const value_barStyle_value = (value_barStyle as BarStyle) - valueSerializer.writeInt32(TypeChecker.BarStyle_ToNumeric(value_barStyle_value)) - } - const value_paddingStart = value.paddingStart - let value_paddingStart_type : int32 = RuntimeType.UNDEFINED - value_paddingStart_type = runtimeType(value_paddingStart) - valueSerializer.writeInt8(value_paddingStart_type as int32) - if ((RuntimeType.UNDEFINED) != (value_paddingStart_type)) { - const value_paddingStart_value = value_paddingStart! - valueSerializer.writeLengthMetrics(value_paddingStart_value) - } - const value_paddingEnd = value.paddingEnd - let value_paddingEnd_type : int32 = RuntimeType.UNDEFINED - value_paddingEnd_type = runtimeType(value_paddingEnd) - valueSerializer.writeInt8(value_paddingEnd_type as int32) - if ((RuntimeType.UNDEFINED) != (value_paddingEnd_type)) { - const value_paddingEnd_value = value_paddingEnd! - valueSerializer.writeLengthMetrics(value_paddingEnd_value) - } - const value_mainTitleModifier = value.mainTitleModifier - let value_mainTitleModifier_type : int32 = RuntimeType.UNDEFINED - value_mainTitleModifier_type = runtimeType(value_mainTitleModifier) - valueSerializer.writeInt8(value_mainTitleModifier_type as int32) - if ((RuntimeType.UNDEFINED) != (value_mainTitleModifier_type)) { - const value_mainTitleModifier_value = value_mainTitleModifier! - valueSerializer.writeTextModifier(value_mainTitleModifier_value) + const value_title = value.title + let value_title_type : int32 = RuntimeType.UNDEFINED + value_title_type = runtimeType(value_title) + if (RuntimeType.STRING == value_title_type) { + valueSerializer.writeInt8(0) + const value_title_0 = value_title as string + valueSerializer.writeString(value_title_0) } - const value_subTitleModifier = value.subTitleModifier - let value_subTitleModifier_type : int32 = RuntimeType.UNDEFINED - value_subTitleModifier_type = runtimeType(value_subTitleModifier) - valueSerializer.writeInt8(value_subTitleModifier_type as int32) - if ((RuntimeType.UNDEFINED) != (value_subTitleModifier_type)) { - const value_subTitleModifier_value = value_subTitleModifier! - valueSerializer.writeTextModifier(value_subTitleModifier_value) + else if (RuntimeType.OBJECT == value_title_type) { + valueSerializer.writeInt8(1) + const value_title_1 = value_title as Resource + valueSerializer.writeResource(value_title_1) } - const value_enableHoverMode = value.enableHoverMode - let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED - value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { - const value_enableHoverMode_value = value_enableHoverMode! - valueSerializer.writeBoolean(value_enableHoverMode_value) + const value_subtitle = value.subtitle + let value_subtitle_type : int32 = RuntimeType.UNDEFINED + value_subtitle_type = runtimeType(value_subtitle) + valueSerializer.writeInt8(value_subtitle_type) + if ((RuntimeType.UNDEFINED) != (value_subtitle_type)) { + const value_subtitle_value = value_subtitle! + let value_subtitle_value_type : int32 = RuntimeType.UNDEFINED + value_subtitle_value_type = runtimeType(value_subtitle_value) + if (RuntimeType.STRING == value_subtitle_value_type) { + valueSerializer.writeInt8(0) + const value_subtitle_value_0 = value_subtitle_value as string + valueSerializer.writeString(value_subtitle_value_0) + } + else if (RuntimeType.OBJECT == value_subtitle_value_type) { + valueSerializer.writeInt8(1) + const value_subtitle_value_1 = value_subtitle_value as Resource + valueSerializer.writeResource(value_subtitle_value_1) + } } } - writeNavigationToolbarOptions(value: NavigationToolbarOptions): void { + public writeSliderBlockStyle(value: SliderBlockStyle): void { let valueSerializer : Serializer = this - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundColor_value_0 = value_backgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) - } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundColor_value_1 = value_backgroundColor_value as number - valueSerializer.writeNumber(value_backgroundColor_value_1) - } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundColor_value_2 = value_backgroundColor_value as string - valueSerializer.writeString(value_backgroundColor_value_2) + const value_type = value.type + valueSerializer.writeInt32(TypeChecker.SliderBlockType_ToNumeric(value_type)) + const value_image = value.image + let value_image_type : int32 = RuntimeType.UNDEFINED + value_image_type = runtimeType(value_image) + valueSerializer.writeInt8(value_image_type) + if ((RuntimeType.UNDEFINED) != (value_image_type)) { + const value_image_value = value_image! + let value_image_value_type : int32 = RuntimeType.UNDEFINED + value_image_value_type = runtimeType(value_image_value) + if (RuntimeType.STRING == value_image_value_type) { + valueSerializer.writeInt8(0) + const value_image_value_0 = value_image_value as string + valueSerializer.writeString(value_image_value_0) } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundColor_value_3 = value_backgroundColor_value as Resource - valueSerializer.writeResource(value_backgroundColor_value_3) + else if (RuntimeType.OBJECT == value_image_value_type) { + valueSerializer.writeInt8(1) + const value_image_value_1 = value_image_value as Resource + valueSerializer.writeResource(value_image_value_1) } } - const value_backgroundBlurStyle = value.backgroundBlurStyle - let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { - const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) - valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) + const value_shape = value.shape + let value_shape_type : int32 = RuntimeType.UNDEFINED + value_shape_type = runtimeType(value_shape) + valueSerializer.writeInt8(value_shape_type) + if ((RuntimeType.UNDEFINED) != (value_shape_type)) { + const value_shape_value = value_shape! + valueSerializer.writeString(value_shape_value) } - const value_barStyle = value.barStyle - let value_barStyle_type : int32 = RuntimeType.UNDEFINED - value_barStyle_type = runtimeType(value_barStyle) - valueSerializer.writeInt8(value_barStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_barStyle_type)) { - const value_barStyle_value = (value_barStyle as BarStyle) - valueSerializer.writeInt32(TypeChecker.BarStyle_ToNumeric(value_barStyle_value)) + } + public writeStyledStringChangeValue(value: StyledStringChangeValue): void { + let valueSerializer : Serializer = this + const value_range = value.range + valueSerializer.writeTextRange(value_range) + const value_replacementString = value.replacementString + valueSerializer.writeStyledString(value_replacementString) + const value_previewText = value.previewText + let value_previewText_type : int32 = RuntimeType.UNDEFINED + value_previewText_type = runtimeType(value_previewText) + valueSerializer.writeInt8(value_previewText_type) + if ((RuntimeType.UNDEFINED) != (value_previewText_type)) { + const value_previewText_value = value_previewText! + valueSerializer.writeStyledString(value_previewText_value) } } - writeNonCurrentDayStyle(value: NonCurrentDayStyle): void { + public writeSwitchStyle(value: SwitchStyle): void { let valueSerializer : Serializer = this - const value_nonCurrentMonthDayColor = value.nonCurrentMonthDayColor - let value_nonCurrentMonthDayColor_type : int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthDayColor_type = runtimeType(value_nonCurrentMonthDayColor) - valueSerializer.writeInt8(value_nonCurrentMonthDayColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthDayColor_type)) { - const value_nonCurrentMonthDayColor_value = value_nonCurrentMonthDayColor! - let value_nonCurrentMonthDayColor_value_type : int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthDayColor_value_type = runtimeType(value_nonCurrentMonthDayColor_value) - if (TypeChecker.isColor(value_nonCurrentMonthDayColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_nonCurrentMonthDayColor_value_0 = value_nonCurrentMonthDayColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_nonCurrentMonthDayColor_value_0)) - } - else if (RuntimeType.NUMBER == value_nonCurrentMonthDayColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_nonCurrentMonthDayColor_value_1 = value_nonCurrentMonthDayColor_value as number - valueSerializer.writeNumber(value_nonCurrentMonthDayColor_value_1) - } - else if (RuntimeType.STRING == value_nonCurrentMonthDayColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_nonCurrentMonthDayColor_value_2 = value_nonCurrentMonthDayColor_value as string - valueSerializer.writeString(value_nonCurrentMonthDayColor_value_2) + const value_pointRadius = value.pointRadius + let value_pointRadius_type : int32 = RuntimeType.UNDEFINED + value_pointRadius_type = runtimeType(value_pointRadius) + valueSerializer.writeInt8(value_pointRadius_type) + if ((RuntimeType.UNDEFINED) != (value_pointRadius_type)) { + const value_pointRadius_value = value_pointRadius! + let value_pointRadius_value_type : int32 = RuntimeType.UNDEFINED + value_pointRadius_value_type = runtimeType(value_pointRadius_value) + if (RuntimeType.NUMBER == value_pointRadius_value_type) { + valueSerializer.writeInt8(0) + const value_pointRadius_value_0 = value_pointRadius_value as number + valueSerializer.writeNumber(value_pointRadius_value_0) } - else if (RuntimeType.OBJECT == value_nonCurrentMonthDayColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_nonCurrentMonthDayColor_value_3 = value_nonCurrentMonthDayColor_value as Resource - valueSerializer.writeResource(value_nonCurrentMonthDayColor_value_3) + else if (RuntimeType.OBJECT == value_pointRadius_value_type) { + valueSerializer.writeInt8(1) + const value_pointRadius_value_1 = value_pointRadius_value as Resource + valueSerializer.writeResource(value_pointRadius_value_1) } } - const value_nonCurrentMonthLunarColor = value.nonCurrentMonthLunarColor - let value_nonCurrentMonthLunarColor_type : int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthLunarColor_type = runtimeType(value_nonCurrentMonthLunarColor) - valueSerializer.writeInt8(value_nonCurrentMonthLunarColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthLunarColor_type)) { - const value_nonCurrentMonthLunarColor_value = value_nonCurrentMonthLunarColor! - let value_nonCurrentMonthLunarColor_value_type : int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthLunarColor_value_type = runtimeType(value_nonCurrentMonthLunarColor_value) - if (TypeChecker.isColor(value_nonCurrentMonthLunarColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_nonCurrentMonthLunarColor_value_0 = value_nonCurrentMonthLunarColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_nonCurrentMonthLunarColor_value_0)) + const value_unselectedColor = value.unselectedColor + let value_unselectedColor_type : int32 = RuntimeType.UNDEFINED + value_unselectedColor_type = runtimeType(value_unselectedColor) + valueSerializer.writeInt8(value_unselectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { + const value_unselectedColor_value = value_unselectedColor! + let value_unselectedColor_value_type : int32 = RuntimeType.UNDEFINED + value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) + if (TypeChecker.isColor(value_unselectedColor_value)) { + valueSerializer.writeInt8(0) + const value_unselectedColor_value_0 = value_unselectedColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_unselectedColor_value_0)) } - else if (RuntimeType.NUMBER == value_nonCurrentMonthLunarColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_nonCurrentMonthLunarColor_value_1 = value_nonCurrentMonthLunarColor_value as number - valueSerializer.writeNumber(value_nonCurrentMonthLunarColor_value_1) + else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { + valueSerializer.writeInt8(1) + const value_unselectedColor_value_1 = value_unselectedColor_value as number + valueSerializer.writeNumber(value_unselectedColor_value_1) } - else if (RuntimeType.STRING == value_nonCurrentMonthLunarColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_nonCurrentMonthLunarColor_value_2 = value_nonCurrentMonthLunarColor_value as string - valueSerializer.writeString(value_nonCurrentMonthLunarColor_value_2) + else if (RuntimeType.STRING == value_unselectedColor_value_type) { + valueSerializer.writeInt8(2) + const value_unselectedColor_value_2 = value_unselectedColor_value as string + valueSerializer.writeString(value_unselectedColor_value_2) } - else if (RuntimeType.OBJECT == value_nonCurrentMonthLunarColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_nonCurrentMonthLunarColor_value_3 = value_nonCurrentMonthLunarColor_value as Resource - valueSerializer.writeResource(value_nonCurrentMonthLunarColor_value_3) + else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { + valueSerializer.writeInt8(3) + const value_unselectedColor_value_3 = value_unselectedColor_value as Resource + valueSerializer.writeResource(value_unselectedColor_value_3) } } - const value_nonCurrentMonthWorkDayMarkColor = value.nonCurrentMonthWorkDayMarkColor - let value_nonCurrentMonthWorkDayMarkColor_type : int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthWorkDayMarkColor_type = runtimeType(value_nonCurrentMonthWorkDayMarkColor) - valueSerializer.writeInt8(value_nonCurrentMonthWorkDayMarkColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthWorkDayMarkColor_type)) { - const value_nonCurrentMonthWorkDayMarkColor_value = value_nonCurrentMonthWorkDayMarkColor! - let value_nonCurrentMonthWorkDayMarkColor_value_type : int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthWorkDayMarkColor_value_type = runtimeType(value_nonCurrentMonthWorkDayMarkColor_value) - if (TypeChecker.isColor(value_nonCurrentMonthWorkDayMarkColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_nonCurrentMonthWorkDayMarkColor_value_0 = value_nonCurrentMonthWorkDayMarkColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_nonCurrentMonthWorkDayMarkColor_value_0)) - } - else if (RuntimeType.NUMBER == value_nonCurrentMonthWorkDayMarkColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_nonCurrentMonthWorkDayMarkColor_value_1 = value_nonCurrentMonthWorkDayMarkColor_value as number - valueSerializer.writeNumber(value_nonCurrentMonthWorkDayMarkColor_value_1) + const value_pointColor = value.pointColor + let value_pointColor_type : int32 = RuntimeType.UNDEFINED + value_pointColor_type = runtimeType(value_pointColor) + valueSerializer.writeInt8(value_pointColor_type) + if ((RuntimeType.UNDEFINED) != (value_pointColor_type)) { + const value_pointColor_value = value_pointColor! + let value_pointColor_value_type : int32 = RuntimeType.UNDEFINED + value_pointColor_value_type = runtimeType(value_pointColor_value) + if (TypeChecker.isColor(value_pointColor_value)) { + valueSerializer.writeInt8(0) + const value_pointColor_value_0 = value_pointColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_pointColor_value_0)) } - else if (RuntimeType.STRING == value_nonCurrentMonthWorkDayMarkColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_nonCurrentMonthWorkDayMarkColor_value_2 = value_nonCurrentMonthWorkDayMarkColor_value as string - valueSerializer.writeString(value_nonCurrentMonthWorkDayMarkColor_value_2) + else if (RuntimeType.NUMBER == value_pointColor_value_type) { + valueSerializer.writeInt8(1) + const value_pointColor_value_1 = value_pointColor_value as number + valueSerializer.writeNumber(value_pointColor_value_1) } - else if (RuntimeType.OBJECT == value_nonCurrentMonthWorkDayMarkColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_nonCurrentMonthWorkDayMarkColor_value_3 = value_nonCurrentMonthWorkDayMarkColor_value as Resource - valueSerializer.writeResource(value_nonCurrentMonthWorkDayMarkColor_value_3) - } - } - const value_nonCurrentMonthOffDayMarkColor = value.nonCurrentMonthOffDayMarkColor - let value_nonCurrentMonthOffDayMarkColor_type : int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthOffDayMarkColor_type = runtimeType(value_nonCurrentMonthOffDayMarkColor) - valueSerializer.writeInt8(value_nonCurrentMonthOffDayMarkColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthOffDayMarkColor_type)) { - const value_nonCurrentMonthOffDayMarkColor_value = value_nonCurrentMonthOffDayMarkColor! - let value_nonCurrentMonthOffDayMarkColor_value_type : int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthOffDayMarkColor_value_type = runtimeType(value_nonCurrentMonthOffDayMarkColor_value) - if (TypeChecker.isColor(value_nonCurrentMonthOffDayMarkColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_nonCurrentMonthOffDayMarkColor_value_0 = value_nonCurrentMonthOffDayMarkColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_nonCurrentMonthOffDayMarkColor_value_0)) + else if (RuntimeType.STRING == value_pointColor_value_type) { + valueSerializer.writeInt8(2) + const value_pointColor_value_2 = value_pointColor_value as string + valueSerializer.writeString(value_pointColor_value_2) } - else if (RuntimeType.NUMBER == value_nonCurrentMonthOffDayMarkColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_nonCurrentMonthOffDayMarkColor_value_1 = value_nonCurrentMonthOffDayMarkColor_value as number - valueSerializer.writeNumber(value_nonCurrentMonthOffDayMarkColor_value_1) + else if (RuntimeType.OBJECT == value_pointColor_value_type) { + valueSerializer.writeInt8(3) + const value_pointColor_value_3 = value_pointColor_value as Resource + valueSerializer.writeResource(value_pointColor_value_3) } - else if (RuntimeType.STRING == value_nonCurrentMonthOffDayMarkColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_nonCurrentMonthOffDayMarkColor_value_2 = value_nonCurrentMonthOffDayMarkColor_value as string - valueSerializer.writeString(value_nonCurrentMonthOffDayMarkColor_value_2) + } + const value_trackBorderRadius = value.trackBorderRadius + let value_trackBorderRadius_type : int32 = RuntimeType.UNDEFINED + value_trackBorderRadius_type = runtimeType(value_trackBorderRadius) + valueSerializer.writeInt8(value_trackBorderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_trackBorderRadius_type)) { + const value_trackBorderRadius_value = value_trackBorderRadius! + let value_trackBorderRadius_value_type : int32 = RuntimeType.UNDEFINED + value_trackBorderRadius_value_type = runtimeType(value_trackBorderRadius_value) + if (RuntimeType.NUMBER == value_trackBorderRadius_value_type) { + valueSerializer.writeInt8(0) + const value_trackBorderRadius_value_0 = value_trackBorderRadius_value as number + valueSerializer.writeNumber(value_trackBorderRadius_value_0) } - else if (RuntimeType.OBJECT == value_nonCurrentMonthOffDayMarkColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_nonCurrentMonthOffDayMarkColor_value_3 = value_nonCurrentMonthOffDayMarkColor_value as Resource - valueSerializer.writeResource(value_nonCurrentMonthOffDayMarkColor_value_3) + else if (RuntimeType.OBJECT == value_trackBorderRadius_value_type) { + valueSerializer.writeInt8(1) + const value_trackBorderRadius_value_1 = value_trackBorderRadius_value as Resource + valueSerializer.writeResource(value_trackBorderRadius_value_1) } } } - writeOffsetOptions(value: OffsetOptions): void { + public writeTabBarIconStyle(value: TabBarIconStyle): void { let valueSerializer : Serializer = this - const value_xOffset = value.xOffset - let value_xOffset_type : int32 = RuntimeType.UNDEFINED - value_xOffset_type = runtimeType(value_xOffset) - valueSerializer.writeInt8(value_xOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_xOffset_type)) { - const value_xOffset_value = value_xOffset! - let value_xOffset_value_type : int32 = RuntimeType.UNDEFINED - value_xOffset_value_type = runtimeType(value_xOffset_value) - if (RuntimeType.STRING == value_xOffset_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_xOffset_value_0 = value_xOffset_value as string - valueSerializer.writeString(value_xOffset_value_0) + const value_selectedColor = value.selectedColor + let value_selectedColor_type : int32 = RuntimeType.UNDEFINED + value_selectedColor_type = runtimeType(value_selectedColor) + valueSerializer.writeInt8(value_selectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { + const value_selectedColor_value = value_selectedColor! + let value_selectedColor_value_type : int32 = RuntimeType.UNDEFINED + value_selectedColor_value_type = runtimeType(value_selectedColor_value) + if (TypeChecker.isColor(value_selectedColor_value)) { + valueSerializer.writeInt8(0) + const value_selectedColor_value_0 = value_selectedColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_selectedColor_value_0)) } - else if (RuntimeType.NUMBER == value_xOffset_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_xOffset_value_1 = value_xOffset_value as number - valueSerializer.writeNumber(value_xOffset_value_1) + else if (RuntimeType.NUMBER == value_selectedColor_value_type) { + valueSerializer.writeInt8(1) + const value_selectedColor_value_1 = value_selectedColor_value as number + valueSerializer.writeNumber(value_selectedColor_value_1) } - else if (RuntimeType.OBJECT == value_xOffset_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_xOffset_value_2 = value_xOffset_value as Resource - valueSerializer.writeResource(value_xOffset_value_2) + else if (RuntimeType.STRING == value_selectedColor_value_type) { + valueSerializer.writeInt8(2) + const value_selectedColor_value_2 = value_selectedColor_value as string + valueSerializer.writeString(value_selectedColor_value_2) + } + else if (RuntimeType.OBJECT == value_selectedColor_value_type) { + valueSerializer.writeInt8(3) + const value_selectedColor_value_3 = value_selectedColor_value as Resource + valueSerializer.writeResource(value_selectedColor_value_3) } } - const value_yOffset = value.yOffset - let value_yOffset_type : int32 = RuntimeType.UNDEFINED - value_yOffset_type = runtimeType(value_yOffset) - valueSerializer.writeInt8(value_yOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_yOffset_type)) { - const value_yOffset_value = value_yOffset! - let value_yOffset_value_type : int32 = RuntimeType.UNDEFINED - value_yOffset_value_type = runtimeType(value_yOffset_value) - if (RuntimeType.STRING == value_yOffset_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_yOffset_value_0 = value_yOffset_value as string - valueSerializer.writeString(value_yOffset_value_0) + const value_unselectedColor = value.unselectedColor + let value_unselectedColor_type : int32 = RuntimeType.UNDEFINED + value_unselectedColor_type = runtimeType(value_unselectedColor) + valueSerializer.writeInt8(value_unselectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { + const value_unselectedColor_value = value_unselectedColor! + let value_unselectedColor_value_type : int32 = RuntimeType.UNDEFINED + value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) + if (TypeChecker.isColor(value_unselectedColor_value)) { + valueSerializer.writeInt8(0) + const value_unselectedColor_value_0 = value_unselectedColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_unselectedColor_value_0)) } - else if (RuntimeType.NUMBER == value_yOffset_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_yOffset_value_1 = value_yOffset_value as number - valueSerializer.writeNumber(value_yOffset_value_1) + else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { + valueSerializer.writeInt8(1) + const value_unselectedColor_value_1 = value_unselectedColor_value as number + valueSerializer.writeNumber(value_unselectedColor_value_1) } - else if (RuntimeType.OBJECT == value_yOffset_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_yOffset_value_2 = value_yOffset_value as Resource - valueSerializer.writeResource(value_yOffset_value_2) + else if (RuntimeType.STRING == value_unselectedColor_value_type) { + valueSerializer.writeInt8(2) + const value_unselectedColor_value_2 = value_unselectedColor_value as string + valueSerializer.writeString(value_unselectedColor_value_2) + } + else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { + valueSerializer.writeInt8(3) + const value_unselectedColor_value_3 = value_unselectedColor_value as Resource + valueSerializer.writeResource(value_unselectedColor_value_3) } } } - writeOverlayOptions(value: OverlayOptions): void { + public writeTabBarOptions(value: TabBarOptions): void { let valueSerializer : Serializer = this - const value_align = value.align - let value_align_type : int32 = RuntimeType.UNDEFINED - value_align_type = runtimeType(value_align) - valueSerializer.writeInt8(value_align_type as int32) - if ((RuntimeType.UNDEFINED) != (value_align_type)) { - const value_align_value = (value_align as Alignment) - valueSerializer.writeInt32(TypeChecker.Alignment_ToNumeric(value_align_value)) + const value_icon = value.icon + let value_icon_type : int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + let value_icon_value_type : int32 = RuntimeType.UNDEFINED + value_icon_value_type = runtimeType(value_icon_value) + if (RuntimeType.STRING == value_icon_value_type) { + valueSerializer.writeInt8(0) + const value_icon_value_0 = value_icon_value as string + valueSerializer.writeString(value_icon_value_0) + } + else if (RuntimeType.OBJECT == value_icon_value_type) { + valueSerializer.writeInt8(1) + const value_icon_value_1 = value_icon_value as Resource + valueSerializer.writeResource(value_icon_value_1) + } } - const value_offset = value.offset - let value_offset_type : int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - valueSerializer.writeOverlayOffset(value_offset_value) + const value_text = value.text + let value_text_type : int32 = RuntimeType.UNDEFINED + value_text_type = runtimeType(value_text) + valueSerializer.writeInt8(value_text_type) + if ((RuntimeType.UNDEFINED) != (value_text_type)) { + const value_text_value = value_text! + let value_text_value_type : int32 = RuntimeType.UNDEFINED + value_text_value_type = runtimeType(value_text_value) + if (RuntimeType.STRING == value_text_value_type) { + valueSerializer.writeInt8(0) + const value_text_value_0 = value_text_value as string + valueSerializer.writeString(value_text_value_0) + } + else if (RuntimeType.OBJECT == value_text_value_type) { + valueSerializer.writeInt8(1) + const value_text_value_1 = value_text_value as Resource + valueSerializer.writeResource(value_text_value_1) + } } } - writePasswordIcon(value: PasswordIcon): void { + public writeTabsOptions(value: TabsOptions): void { let valueSerializer : Serializer = this - const value_onIconSrc = value.onIconSrc - let value_onIconSrc_type : int32 = RuntimeType.UNDEFINED - value_onIconSrc_type = runtimeType(value_onIconSrc) - valueSerializer.writeInt8(value_onIconSrc_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onIconSrc_type)) { - const value_onIconSrc_value = value_onIconSrc! - let value_onIconSrc_value_type : int32 = RuntimeType.UNDEFINED - value_onIconSrc_value_type = runtimeType(value_onIconSrc_value) - if (RuntimeType.STRING == value_onIconSrc_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_onIconSrc_value_0 = value_onIconSrc_value as string - valueSerializer.writeString(value_onIconSrc_value_0) + const value_barPosition = value.barPosition + let value_barPosition_type : int32 = RuntimeType.UNDEFINED + value_barPosition_type = runtimeType(value_barPosition) + valueSerializer.writeInt8(value_barPosition_type) + if ((RuntimeType.UNDEFINED) != (value_barPosition_type)) { + const value_barPosition_value = (value_barPosition as BarPosition) + valueSerializer.writeInt32(TypeChecker.BarPosition_ToNumeric(value_barPosition_value)) + } + const value_index = value.index + let value_index_type : int32 = RuntimeType.UNDEFINED + value_index_type = runtimeType(value_index) + valueSerializer.writeInt8(value_index_type) + if ((RuntimeType.UNDEFINED) != (value_index_type)) { + const value_index_value = value_index! + valueSerializer.writeNumber(value_index_value) + } + const value_controller = value.controller + let value_controller_type : int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + valueSerializer.writeInt8(value_controller_type) + if ((RuntimeType.UNDEFINED) != (value_controller_type)) { + const value_controller_value = value_controller! + valueSerializer.writeTabsController(value_controller_value) + } + const value_barModifier = value.barModifier + let value_barModifier_type : int32 = RuntimeType.UNDEFINED + value_barModifier_type = runtimeType(value_barModifier) + valueSerializer.writeInt8(value_barModifier_type) + if ((RuntimeType.UNDEFINED) != (value_barModifier_type)) { + const value_barModifier_value = value_barModifier! + valueSerializer.writeCommonModifier(value_barModifier_value) + } + } + public writeTerminationInfo(value: TerminationInfo): void { + let valueSerializer : Serializer = this + const value_code = value.code + valueSerializer.writeNumber(value_code) + const value_want = value.want + let value_want_type : int32 = RuntimeType.UNDEFINED + value_want_type = runtimeType(value_want) + valueSerializer.writeInt8(value_want_type) + if ((RuntimeType.UNDEFINED) != (value_want_type)) { + const value_want_value = value_want! + valueSerializer.writeWant(value_want_value) + } + } + public writeTextAreaOptions(value: TextAreaOptions): void { + let valueSerializer : Serializer = this + const value_placeholder = value.placeholder + let value_placeholder_type : int32 = RuntimeType.UNDEFINED + value_placeholder_type = runtimeType(value_placeholder) + valueSerializer.writeInt8(value_placeholder_type) + if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { + const value_placeholder_value = value_placeholder! + let value_placeholder_value_type : int32 = RuntimeType.UNDEFINED + value_placeholder_value_type = runtimeType(value_placeholder_value) + if (RuntimeType.STRING == value_placeholder_value_type) { + valueSerializer.writeInt8(0) + const value_placeholder_value_0 = value_placeholder_value as string + valueSerializer.writeString(value_placeholder_value_0) } - else if (RuntimeType.OBJECT == value_onIconSrc_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_onIconSrc_value_1 = value_onIconSrc_value as Resource - valueSerializer.writeResource(value_onIconSrc_value_1) + else if (RuntimeType.OBJECT == value_placeholder_value_type) { + valueSerializer.writeInt8(1) + const value_placeholder_value_1 = value_placeholder_value as Resource + valueSerializer.writeResource(value_placeholder_value_1) } } - const value_offIconSrc = value.offIconSrc - let value_offIconSrc_type : int32 = RuntimeType.UNDEFINED - value_offIconSrc_type = runtimeType(value_offIconSrc) - valueSerializer.writeInt8(value_offIconSrc_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offIconSrc_type)) { - const value_offIconSrc_value = value_offIconSrc! - let value_offIconSrc_value_type : int32 = RuntimeType.UNDEFINED - value_offIconSrc_value_type = runtimeType(value_offIconSrc_value) - if (RuntimeType.STRING == value_offIconSrc_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_offIconSrc_value_0 = value_offIconSrc_value as string - valueSerializer.writeString(value_offIconSrc_value_0) + const value_text = value.text + let value_text_type : int32 = RuntimeType.UNDEFINED + value_text_type = runtimeType(value_text) + valueSerializer.writeInt8(value_text_type) + if ((RuntimeType.UNDEFINED) != (value_text_type)) { + const value_text_value = value_text! + let value_text_value_type : int32 = RuntimeType.UNDEFINED + value_text_value_type = runtimeType(value_text_value) + if (RuntimeType.STRING == value_text_value_type) { + valueSerializer.writeInt8(0) + const value_text_value_0 = value_text_value as string + valueSerializer.writeString(value_text_value_0) } - else if (RuntimeType.OBJECT == value_offIconSrc_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_offIconSrc_value_1 = value_offIconSrc_value as Resource - valueSerializer.writeResource(value_offIconSrc_value_1) + else if (RuntimeType.OBJECT == value_text_value_type) { + valueSerializer.writeInt8(1) + const value_text_value_1 = value_text_value as Resource + valueSerializer.writeResource(value_text_value_1) } } + const value_controller = value.controller + let value_controller_type : int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + valueSerializer.writeInt8(value_controller_type) + if ((RuntimeType.UNDEFINED) != (value_controller_type)) { + const value_controller_value = value_controller! + valueSerializer.writeTextAreaController(value_controller_value) + } } - writePixelStretchEffectOptions(value: PixelStretchEffectOptions): void { + public writeTextCascadePickerRangeContent(value: TextCascadePickerRangeContent): void { let valueSerializer : Serializer = this - const value_top = value.top - let value_top_type : int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - let value_top_value_type : int32 = RuntimeType.UNDEFINED - value_top_value_type = runtimeType(value_top_value) - if (RuntimeType.STRING == value_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_top_value_0 = value_top_value as string - valueSerializer.writeString(value_top_value_0) - } - else if (RuntimeType.NUMBER == value_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_top_value_1 = value_top_value as number - valueSerializer.writeNumber(value_top_value_1) - } - else if (RuntimeType.OBJECT == value_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_top_value_2 = value_top_value as Resource - valueSerializer.writeResource(value_top_value_2) - } - } - const value_bottom = value.bottom - let value_bottom_type : int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - let value_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_bottom_value_type = runtimeType(value_bottom_value) - if (RuntimeType.STRING == value_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_bottom_value_0 = value_bottom_value as string - valueSerializer.writeString(value_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_bottom_value_1 = value_bottom_value as number - valueSerializer.writeNumber(value_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_bottom_value_2 = value_bottom_value as Resource - valueSerializer.writeResource(value_bottom_value_2) - } + const value_text = value.text + let value_text_type : int32 = RuntimeType.UNDEFINED + value_text_type = runtimeType(value_text) + if (RuntimeType.STRING == value_text_type) { + valueSerializer.writeInt8(0) + const value_text_0 = value_text as string + valueSerializer.writeString(value_text_0) } - const value_left = value.left - let value_left_type : int32 = RuntimeType.UNDEFINED - value_left_type = runtimeType(value_left) - valueSerializer.writeInt8(value_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_left_type)) { - const value_left_value = value_left! - let value_left_value_type : int32 = RuntimeType.UNDEFINED - value_left_value_type = runtimeType(value_left_value) - if (RuntimeType.STRING == value_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_left_value_0 = value_left_value as string - valueSerializer.writeString(value_left_value_0) - } - else if (RuntimeType.NUMBER == value_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_left_value_1 = value_left_value as number - valueSerializer.writeNumber(value_left_value_1) - } - else if (RuntimeType.OBJECT == value_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_left_value_2 = value_left_value as Resource - valueSerializer.writeResource(value_left_value_2) - } + else if (RuntimeType.OBJECT == value_text_type) { + valueSerializer.writeInt8(1) + const value_text_1 = value_text as Resource + valueSerializer.writeResource(value_text_1) } - const value_right = value.right - let value_right_type : int32 = RuntimeType.UNDEFINED - value_right_type = runtimeType(value_right) - valueSerializer.writeInt8(value_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_right_type)) { - const value_right_value = value_right! - let value_right_value_type : int32 = RuntimeType.UNDEFINED - value_right_value_type = runtimeType(value_right_value) - if (RuntimeType.STRING == value_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_right_value_0 = value_right_value as string - valueSerializer.writeString(value_right_value_0) - } - else if (RuntimeType.NUMBER == value_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_right_value_1 = value_right_value as number - valueSerializer.writeNumber(value_right_value_1) - } - else if (RuntimeType.OBJECT == value_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_right_value_2 = value_right_value as Resource - valueSerializer.writeResource(value_right_value_2) + const value_children = value.children + let value_children_type : int32 = RuntimeType.UNDEFINED + value_children_type = runtimeType(value_children) + valueSerializer.writeInt8(value_children_type) + if ((RuntimeType.UNDEFINED) != (value_children_type)) { + const value_children_value = value_children! + valueSerializer.writeInt32(value_children_value.length as int32) + for (let i = 0; i < value_children_value.length; i++) { + const value_children_value_element : TextCascadePickerRangeContent = value_children_value[i] + valueSerializer.writeTextCascadePickerRangeContent(value_children_value_element) } } } - writePluginComponentOptions(value: PluginComponentOptions): void { + public writeTextChangeOptions(value: TextChangeOptions): void { let valueSerializer : Serializer = this - const value_template = value.template - valueSerializer.writePluginComponentTemplate(value_template) - const value_data = value.data - valueSerializer.writeString(value_data) + const value_rangeBefore = value.rangeBefore + valueSerializer.writeTextRange(value_rangeBefore) + const value_rangeAfter = value.rangeAfter + valueSerializer.writeTextRange(value_rangeAfter) + const value_oldContent = value.oldContent + valueSerializer.writeString(value_oldContent) + const value_oldPreviewText = value.oldPreviewText + valueSerializer.writePreviewText(value_oldPreviewText) } - writePosition(value: Position): void { + public writeTextDecorationOptions(value: TextDecorationOptions): void { let valueSerializer : Serializer = this - const value_x = value.x - let value_x_type : int32 = RuntimeType.UNDEFINED - value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type as int32) - if ((RuntimeType.UNDEFINED) != (value_x_type)) { - const value_x_value = value_x! - let value_x_value_type : int32 = RuntimeType.UNDEFINED - value_x_value_type = runtimeType(value_x_value) - if (RuntimeType.STRING == value_x_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_x_value_0 = value_x_value as string - valueSerializer.writeString(value_x_value_0) - } - else if (RuntimeType.NUMBER == value_x_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_x_value_1 = value_x_value as number - valueSerializer.writeNumber(value_x_value_1) - } - else if (RuntimeType.OBJECT == value_x_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_x_value_2 = value_x_value as Resource - valueSerializer.writeResource(value_x_value_2) + const value_type = value.type + valueSerializer.writeInt32(TypeChecker.TextDecorationType_ToNumeric(value_type)) + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isColor(value_color_value)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } - } - const value_y = value.y - let value_y_type : int32 = RuntimeType.UNDEFINED - value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type as int32) - if ((RuntimeType.UNDEFINED) != (value_y_type)) { - const value_y_value = value_y! - let value_y_value_type : int32 = RuntimeType.UNDEFINED - value_y_value_type = runtimeType(value_y_value) - if (RuntimeType.STRING == value_y_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_y_value_0 = value_y_value as string - valueSerializer.writeString(value_y_value_0) + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as number + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.NUMBER == value_y_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_y_value_1 = value_y_value as number - valueSerializer.writeNumber(value_y_value_1) + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as string + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.OBJECT == value_y_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_y_value_2 = value_y_value as Resource - valueSerializer.writeResource(value_y_value_2) + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = value_color_value as Resource + valueSerializer.writeResource(value_color_value_3) } } + const value_style = value.style + let value_style_type : int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = (value_style as TextDecorationStyle) + valueSerializer.writeInt32(TypeChecker.TextDecorationStyle_ToNumeric(value_style_value)) + } } - writeProgressStyleOptions(value: ProgressStyleOptions): void { + public writeTextInputOptions(value: TextInputOptions): void { let valueSerializer : Serializer = this - const value_enableSmoothEffect = value.enableSmoothEffect - let value_enableSmoothEffect_type : int32 = RuntimeType.UNDEFINED - value_enableSmoothEffect_type = runtimeType(value_enableSmoothEffect) - valueSerializer.writeInt8(value_enableSmoothEffect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableSmoothEffect_type)) { - const value_enableSmoothEffect_value = value_enableSmoothEffect! - valueSerializer.writeBoolean(value_enableSmoothEffect_value) - } - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - let value_strokeWidth_value_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) - if (RuntimeType.STRING == value_strokeWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_strokeWidth_value_0 = value_strokeWidth_value as string - valueSerializer.writeString(value_strokeWidth_value_0) - } - else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_strokeWidth_value_1 = value_strokeWidth_value as number - valueSerializer.writeNumber(value_strokeWidth_value_1) + const value_placeholder = value.placeholder + let value_placeholder_type : int32 = RuntimeType.UNDEFINED + value_placeholder_type = runtimeType(value_placeholder) + valueSerializer.writeInt8(value_placeholder_type) + if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { + const value_placeholder_value = value_placeholder! + let value_placeholder_value_type : int32 = RuntimeType.UNDEFINED + value_placeholder_value_type = runtimeType(value_placeholder_value) + if (RuntimeType.STRING == value_placeholder_value_type) { + valueSerializer.writeInt8(0) + const value_placeholder_value_0 = value_placeholder_value as string + valueSerializer.writeString(value_placeholder_value_0) } - else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_strokeWidth_value_2 = value_strokeWidth_value as Resource - valueSerializer.writeResource(value_strokeWidth_value_2) + else if (RuntimeType.OBJECT == value_placeholder_value_type) { + valueSerializer.writeInt8(1) + const value_placeholder_value_1 = value_placeholder_value as Resource + valueSerializer.writeResource(value_placeholder_value_1) } } - const value_scaleCount = value.scaleCount - let value_scaleCount_type : int32 = RuntimeType.UNDEFINED - value_scaleCount_type = runtimeType(value_scaleCount) - valueSerializer.writeInt8(value_scaleCount_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scaleCount_type)) { - const value_scaleCount_value = value_scaleCount! - valueSerializer.writeNumber(value_scaleCount_value) - } - const value_scaleWidth = value.scaleWidth - let value_scaleWidth_type : int32 = RuntimeType.UNDEFINED - value_scaleWidth_type = runtimeType(value_scaleWidth) - valueSerializer.writeInt8(value_scaleWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scaleWidth_type)) { - const value_scaleWidth_value = value_scaleWidth! - let value_scaleWidth_value_type : int32 = RuntimeType.UNDEFINED - value_scaleWidth_value_type = runtimeType(value_scaleWidth_value) - if (RuntimeType.STRING == value_scaleWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_scaleWidth_value_0 = value_scaleWidth_value as string - valueSerializer.writeString(value_scaleWidth_value_0) - } - else if (RuntimeType.NUMBER == value_scaleWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_scaleWidth_value_1 = value_scaleWidth_value as number - valueSerializer.writeNumber(value_scaleWidth_value_1) + const value_text = value.text + let value_text_type : int32 = RuntimeType.UNDEFINED + value_text_type = runtimeType(value_text) + valueSerializer.writeInt8(value_text_type) + if ((RuntimeType.UNDEFINED) != (value_text_type)) { + const value_text_value = value_text! + let value_text_value_type : int32 = RuntimeType.UNDEFINED + value_text_value_type = runtimeType(value_text_value) + if (RuntimeType.STRING == value_text_value_type) { + valueSerializer.writeInt8(0) + const value_text_value_0 = value_text_value as string + valueSerializer.writeString(value_text_value_0) } - else if (RuntimeType.OBJECT == value_scaleWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_scaleWidth_value_2 = value_scaleWidth_value as Resource - valueSerializer.writeResource(value_scaleWidth_value_2) + else if (RuntimeType.OBJECT == value_text_value_type) { + valueSerializer.writeInt8(1) + const value_text_value_1 = value_text_value as Resource + valueSerializer.writeResource(value_text_value_1) } } + const value_controller = value.controller + let value_controller_type : int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + valueSerializer.writeInt8(value_controller_type) + if ((RuntimeType.UNDEFINED) != (value_controller_type)) { + const value_controller_value = value_controller! + valueSerializer.writeTextInputController(value_controller_value) + } } - writeRadioStyle(value: RadioStyle): void { + public writeTextMenuItem(value: TextMenuItem): void { let valueSerializer : Serializer = this - const value_checkedBackgroundColor = value.checkedBackgroundColor - let value_checkedBackgroundColor_type : int32 = RuntimeType.UNDEFINED - value_checkedBackgroundColor_type = runtimeType(value_checkedBackgroundColor) - valueSerializer.writeInt8(value_checkedBackgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_checkedBackgroundColor_type)) { - const value_checkedBackgroundColor_value = value_checkedBackgroundColor! - let value_checkedBackgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_checkedBackgroundColor_value_type = runtimeType(value_checkedBackgroundColor_value) - if (TypeChecker.isColor(value_checkedBackgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_checkedBackgroundColor_value_0 = value_checkedBackgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_checkedBackgroundColor_value_0)) - } - else if (RuntimeType.NUMBER == value_checkedBackgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_checkedBackgroundColor_value_1 = value_checkedBackgroundColor_value as number - valueSerializer.writeNumber(value_checkedBackgroundColor_value_1) - } - else if (RuntimeType.STRING == value_checkedBackgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_checkedBackgroundColor_value_2 = value_checkedBackgroundColor_value as string - valueSerializer.writeString(value_checkedBackgroundColor_value_2) - } - else if (RuntimeType.OBJECT == value_checkedBackgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_checkedBackgroundColor_value_3 = value_checkedBackgroundColor_value as Resource - valueSerializer.writeResource(value_checkedBackgroundColor_value_3) - } + const value_content = value.content + let value_content_type : int32 = RuntimeType.UNDEFINED + value_content_type = runtimeType(value_content) + if (RuntimeType.STRING == value_content_type) { + valueSerializer.writeInt8(0) + const value_content_0 = value_content as string + valueSerializer.writeString(value_content_0) } - const value_uncheckedBorderColor = value.uncheckedBorderColor - let value_uncheckedBorderColor_type : int32 = RuntimeType.UNDEFINED - value_uncheckedBorderColor_type = runtimeType(value_uncheckedBorderColor) - valueSerializer.writeInt8(value_uncheckedBorderColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_uncheckedBorderColor_type)) { - const value_uncheckedBorderColor_value = value_uncheckedBorderColor! - let value_uncheckedBorderColor_value_type : int32 = RuntimeType.UNDEFINED - value_uncheckedBorderColor_value_type = runtimeType(value_uncheckedBorderColor_value) - if (TypeChecker.isColor(value_uncheckedBorderColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_uncheckedBorderColor_value_0 = value_uncheckedBorderColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_uncheckedBorderColor_value_0)) - } - else if (RuntimeType.NUMBER == value_uncheckedBorderColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_uncheckedBorderColor_value_1 = value_uncheckedBorderColor_value as number - valueSerializer.writeNumber(value_uncheckedBorderColor_value_1) - } - else if (RuntimeType.STRING == value_uncheckedBorderColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_uncheckedBorderColor_value_2 = value_uncheckedBorderColor_value as string - valueSerializer.writeString(value_uncheckedBorderColor_value_2) - } - else if (RuntimeType.OBJECT == value_uncheckedBorderColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_uncheckedBorderColor_value_3 = value_uncheckedBorderColor_value as Resource - valueSerializer.writeResource(value_uncheckedBorderColor_value_3) - } + else if (RuntimeType.OBJECT == value_content_type) { + valueSerializer.writeInt8(1) + const value_content_1 = value_content as Resource + valueSerializer.writeResource(value_content_1) } - const value_indicatorColor = value.indicatorColor - let value_indicatorColor_type : int32 = RuntimeType.UNDEFINED - value_indicatorColor_type = runtimeType(value_indicatorColor) - valueSerializer.writeInt8(value_indicatorColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_indicatorColor_type)) { - const value_indicatorColor_value = value_indicatorColor! - let value_indicatorColor_value_type : int32 = RuntimeType.UNDEFINED - value_indicatorColor_value_type = runtimeType(value_indicatorColor_value) - if (TypeChecker.isColor(value_indicatorColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_indicatorColor_value_0 = value_indicatorColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_indicatorColor_value_0)) + const value_icon = value.icon + let value_icon_type : int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + let value_icon_value_type : int32 = RuntimeType.UNDEFINED + value_icon_value_type = runtimeType(value_icon_value) + if (RuntimeType.STRING == value_icon_value_type) { + valueSerializer.writeInt8(0) + const value_icon_value_0 = value_icon_value as string + valueSerializer.writeString(value_icon_value_0) } - else if (RuntimeType.NUMBER == value_indicatorColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_indicatorColor_value_1 = value_indicatorColor_value as number - valueSerializer.writeNumber(value_indicatorColor_value_1) + else if (RuntimeType.OBJECT == value_icon_value_type) { + valueSerializer.writeInt8(1) + const value_icon_value_1 = value_icon_value as Resource + valueSerializer.writeResource(value_icon_value_1) } - else if (RuntimeType.STRING == value_indicatorColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_indicatorColor_value_2 = value_indicatorColor_value as string - valueSerializer.writeString(value_indicatorColor_value_2) + } + const value_id = value.id + valueSerializer.writeTextMenuItemId(value_id) + const value_labelInfo = value.labelInfo + let value_labelInfo_type : int32 = RuntimeType.UNDEFINED + value_labelInfo_type = runtimeType(value_labelInfo) + valueSerializer.writeInt8(value_labelInfo_type) + if ((RuntimeType.UNDEFINED) != (value_labelInfo_type)) { + const value_labelInfo_value = value_labelInfo! + let value_labelInfo_value_type : int32 = RuntimeType.UNDEFINED + value_labelInfo_value_type = runtimeType(value_labelInfo_value) + if (RuntimeType.STRING == value_labelInfo_value_type) { + valueSerializer.writeInt8(0) + const value_labelInfo_value_0 = value_labelInfo_value as string + valueSerializer.writeString(value_labelInfo_value_0) } - else if (RuntimeType.OBJECT == value_indicatorColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_indicatorColor_value_3 = value_indicatorColor_value as Resource - valueSerializer.writeResource(value_indicatorColor_value_3) + else if (RuntimeType.OBJECT == value_labelInfo_value_type) { + valueSerializer.writeInt8(1) + const value_labelInfo_value_1 = value_labelInfo_value as Resource + valueSerializer.writeResource(value_labelInfo_value_1) } } } - writeRectangle(value: Rectangle): void { + public writeTextPickerOptions(value: TextPickerOptions): void { let valueSerializer : Serializer = this - const value_x = value.x - let value_x_type : int32 = RuntimeType.UNDEFINED - value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type as int32) - if ((RuntimeType.UNDEFINED) != (value_x_type)) { - const value_x_value = value_x! - let value_x_value_type : int32 = RuntimeType.UNDEFINED - value_x_value_type = runtimeType(value_x_value) - if (RuntimeType.STRING == value_x_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_x_value_0 = value_x_value as string - valueSerializer.writeString(value_x_value_0) + const value_range = value.range + let value_range_type : int32 = RuntimeType.UNDEFINED + value_range_type = runtimeType(value_range) + if (((RuntimeType.OBJECT) == (value_range_type)) && (TypeChecker.isArray_String(value_range))) { + valueSerializer.writeInt8(0) + const value_range_0 = value_range as Array + valueSerializer.writeInt32(value_range_0.length as int32) + for (let i = 0; i < value_range_0.length; i++) { + const value_range_0_element : string = value_range_0[i] + valueSerializer.writeString(value_range_0_element) } - else if (RuntimeType.NUMBER == value_x_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_x_value_1 = value_x_value as number - valueSerializer.writeNumber(value_x_value_1) + } + else if (((RuntimeType.OBJECT) == (value_range_type)) && (TypeChecker.isArray_Array_String(value_range))) { + valueSerializer.writeInt8(1) + const value_range_1 = value_range as Array> + valueSerializer.writeInt32(value_range_1.length as int32) + for (let i = 0; i < value_range_1.length; i++) { + const value_range_1_element : Array = value_range_1[i] + valueSerializer.writeInt32(value_range_1_element.length as int32) + for (let i = 0; i < value_range_1_element.length; i++) { + const value_range_1_element_element : string = value_range_1_element[i] + valueSerializer.writeString(value_range_1_element_element) + } } - else if (RuntimeType.OBJECT == value_x_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_x_value_2 = value_x_value as Resource - valueSerializer.writeResource(value_x_value_2) + } + else if (TypeChecker.isResource(value_range, false, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_range_2 = value_range as Resource + valueSerializer.writeResource(value_range_2) + } + else if (((RuntimeType.OBJECT) == (value_range_type)) && (TypeChecker.isArray_TextPickerRangeContent(value_range))) { + valueSerializer.writeInt8(3) + const value_range_3 = value_range as Array + valueSerializer.writeInt32(value_range_3.length as int32) + for (let i = 0; i < value_range_3.length; i++) { + const value_range_3_element : TextPickerRangeContent = value_range_3[i] + valueSerializer.writeTextPickerRangeContent(value_range_3_element) } } - const value_y = value.y - let value_y_type : int32 = RuntimeType.UNDEFINED - value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type as int32) - if ((RuntimeType.UNDEFINED) != (value_y_type)) { - const value_y_value = value_y! - let value_y_value_type : int32 = RuntimeType.UNDEFINED - value_y_value_type = runtimeType(value_y_value) - if (RuntimeType.STRING == value_y_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_y_value_0 = value_y_value as string - valueSerializer.writeString(value_y_value_0) + else if (((RuntimeType.OBJECT) == (value_range_type)) && (TypeChecker.isArray_TextCascadePickerRangeContent(value_range))) { + valueSerializer.writeInt8(4) + const value_range_4 = value_range as Array + valueSerializer.writeInt32(value_range_4.length as int32) + for (let i = 0; i < value_range_4.length; i++) { + const value_range_4_element : TextCascadePickerRangeContent = value_range_4[i] + valueSerializer.writeTextCascadePickerRangeContent(value_range_4_element) } - else if (RuntimeType.NUMBER == value_y_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_y_value_1 = value_y_value as number - valueSerializer.writeNumber(value_y_value_1) + } + const value_value = value.value + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + valueSerializer.writeInt8(value_value_type) + if ((RuntimeType.UNDEFINED) != (value_value_type)) { + const value_value_value = value_value! + let value_value_value_type : int32 = RuntimeType.UNDEFINED + value_value_value_type = runtimeType(value_value_value) + if (RuntimeType.STRING == value_value_value_type) { + valueSerializer.writeInt8(0) + const value_value_value_0 = value_value_value as string + valueSerializer.writeString(value_value_value_0) } - else if (RuntimeType.OBJECT == value_y_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_y_value_2 = value_y_value as Resource - valueSerializer.writeResource(value_y_value_2) + else if (RuntimeType.OBJECT == value_value_value_type) { + valueSerializer.writeInt8(1) + const value_value_value_1 = value_value_value as Array + valueSerializer.writeInt32(value_value_value_1.length as int32) + for (let i = 0; i < value_value_value_1.length; i++) { + const value_value_value_1_element : string = value_value_value_1[i] + valueSerializer.writeString(value_value_value_1_element) + } } } - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as string - valueSerializer.writeString(value_width_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as number - valueSerializer.writeNumber(value_width_value_1) + const value_selected = value.selected + let value_selected_type : int32 = RuntimeType.UNDEFINED + value_selected_type = runtimeType(value_selected) + valueSerializer.writeInt8(value_selected_type) + if ((RuntimeType.UNDEFINED) != (value_selected_type)) { + const value_selected_value = value_selected! + let value_selected_value_type : int32 = RuntimeType.UNDEFINED + value_selected_value_type = runtimeType(value_selected_value) + if (RuntimeType.NUMBER == value_selected_value_type) { + valueSerializer.writeInt8(0) + const value_selected_value_0 = value_selected_value as number + valueSerializer.writeNumber(value_selected_value_0) } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as Resource - valueSerializer.writeResource(value_width_value_2) + else if (RuntimeType.OBJECT == value_selected_value_type) { + valueSerializer.writeInt8(1) + const value_selected_value_1 = value_selected_value as Array + valueSerializer.writeInt32(value_selected_value_1.length as int32) + for (let i = 0; i < value_selected_value_1.length; i++) { + const value_selected_value_1_element : number = value_selected_value_1[i] + valueSerializer.writeNumber(value_selected_value_1_element) + } } } - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type : int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_value_0 = value_height_value as string - valueSerializer.writeString(value_height_value_0) + const value_columnWidths = value.columnWidths + let value_columnWidths_type : int32 = RuntimeType.UNDEFINED + value_columnWidths_type = runtimeType(value_columnWidths) + valueSerializer.writeInt8(value_columnWidths_type) + if ((RuntimeType.UNDEFINED) != (value_columnWidths_type)) { + const value_columnWidths_value = value_columnWidths! + valueSerializer.writeInt32(value_columnWidths_value.length as int32) + for (let i = 0; i < value_columnWidths_value.length; i++) { + const value_columnWidths_value_element : LengthMetrics = value_columnWidths_value[i] + valueSerializer.writeLengthMetrics(value_columnWidths_value_element) } - else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_value_1 = value_height_value as number - valueSerializer.writeNumber(value_height_value_1) + } + } + public writeTextPickerRangeContent(value: TextPickerRangeContent): void { + let valueSerializer : Serializer = this + const value_icon = value.icon + let value_icon_type : int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + if (RuntimeType.STRING == value_icon_type) { + valueSerializer.writeInt8(0) + const value_icon_0 = value_icon as string + valueSerializer.writeString(value_icon_0) + } + else if (RuntimeType.OBJECT == value_icon_type) { + valueSerializer.writeInt8(1) + const value_icon_1 = value_icon as Resource + valueSerializer.writeResource(value_icon_1) + } + const value_text = value.text + let value_text_type : int32 = RuntimeType.UNDEFINED + value_text_type = runtimeType(value_text) + valueSerializer.writeInt8(value_text_type) + if ((RuntimeType.UNDEFINED) != (value_text_type)) { + const value_text_value = value_text! + let value_text_value_type : int32 = RuntimeType.UNDEFINED + value_text_value_type = runtimeType(value_text_value) + if (RuntimeType.STRING == value_text_value_type) { + valueSerializer.writeInt8(0) + const value_text_value_0 = value_text_value as string + valueSerializer.writeString(value_text_value_0) } - else if (RuntimeType.OBJECT == value_height_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_height_value_2 = value_height_value as Resource - valueSerializer.writeResource(value_height_value_2) + else if (RuntimeType.OBJECT == value_text_value_type) { + valueSerializer.writeInt8(1) + const value_text_value_1 = value_text_value as Resource + valueSerializer.writeResource(value_text_value_1) } } } - writeRectOptions(value: RectOptions): void { + public writeTextPickerResult(value: TextPickerResult): void { let valueSerializer : Serializer = this - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as number - valueSerializer.writeNumber(value_width_value_0) - } - else if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as string - valueSerializer.writeString(value_width_value_1) - } + const value_value = value.value + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + valueSerializer.writeInt8(0) + const value_value_0 = value_value as string + valueSerializer.writeString(value_value_0) } - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type : int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_value_0 = value_height_value as number - valueSerializer.writeNumber(value_height_value_0) - } - else if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_value_1 = value_height_value as string - valueSerializer.writeString(value_height_value_1) + else if (RuntimeType.OBJECT == value_value_type) { + valueSerializer.writeInt8(1) + const value_value_1 = value_value as Array + valueSerializer.writeInt32(value_value_1.length as int32) + for (let i = 0; i < value_value_1.length; i++) { + const value_value_1_element : string = value_value_1[i] + valueSerializer.writeString(value_value_1_element) } } - const value_radius = value.radius - let value_radius_type : int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_type)) { - const value_radius_value = value_radius! - let value_radius_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_type = runtimeType(value_radius_value) - if (RuntimeType.NUMBER == value_radius_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0 = value_radius_value as number - valueSerializer.writeNumber(value_radius_value_0) - } - else if (RuntimeType.STRING == value_radius_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_1 = value_radius_value as string - valueSerializer.writeString(value_radius_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_2 = value_radius_value as Array - valueSerializer.writeInt32(value_radius_value_2.length as int32) - for (let i = 0; i < value_radius_value_2.length; i++) { - const value_radius_value_2_element : number | string = value_radius_value_2[i] - let value_radius_value_2_element_type : int32 = RuntimeType.UNDEFINED - value_radius_value_2_element_type = runtimeType(value_radius_value_2_element) - if (RuntimeType.NUMBER == value_radius_value_2_element_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_2_element_0 = value_radius_value_2_element as number - valueSerializer.writeNumber(value_radius_value_2_element_0) - } - else if (RuntimeType.STRING == value_radius_value_2_element_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_2_element_1 = value_radius_value_2_element as string - valueSerializer.writeString(value_radius_value_2_element_1) - } - } + const value_index = value.index + let value_index_type : int32 = RuntimeType.UNDEFINED + value_index_type = runtimeType(value_index) + if (RuntimeType.NUMBER == value_index_type) { + valueSerializer.writeInt8(0) + const value_index_0 = value_index as number + valueSerializer.writeNumber(value_index_0) + } + else if (RuntimeType.OBJECT == value_index_type) { + valueSerializer.writeInt8(1) + const value_index_1 = value_index as Array + valueSerializer.writeInt32(value_index_1.length as int32) + for (let i = 0; i < value_index_1.length; i++) { + const value_index_1_element : number = value_index_1[i] + valueSerializer.writeNumber(value_index_1_element) } } } - writeRectShapeOptions(value: RectShapeOptions): void { + public writeTextShadow(value: TextShadow): void { let valueSerializer : Serializer = this - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as number - valueSerializer.writeNumber(value_width_value_0) - } - else if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as string - valueSerializer.writeString(value_width_value_1) - } + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + valueSerializer.writecommon2D_Color(value_color_value) } - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type : int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_value_0 = value_height_value as number - valueSerializer.writeNumber(value_height_value_0) - } - else if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_value_1 = value_height_value as string - valueSerializer.writeString(value_height_value_1) - } + const value_point = value.point + let value_point_type : int32 = RuntimeType.UNDEFINED + value_point_type = runtimeType(value_point) + valueSerializer.writeInt8(value_point_type) + if ((RuntimeType.UNDEFINED) != (value_point_type)) { + const value_point_value = value_point! + valueSerializer.writecommon2D_Point(value_point_value) } - const value_radius = value.radius - let value_radius_type : int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_type)) { - const value_radius_value = value_radius! - let value_radius_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_type = runtimeType(value_radius_value) - if (RuntimeType.NUMBER == value_radius_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0 = value_radius_value as number - valueSerializer.writeNumber(value_radius_value_0) - } - else if (RuntimeType.STRING == value_radius_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_1 = value_radius_value as string - valueSerializer.writeString(value_radius_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_2 = value_radius_value as Array - valueSerializer.writeInt32(value_radius_value_2.length as int32) - for (let i = 0; i < value_radius_value_2.length; i++) { - const value_radius_value_2_element : number | string = value_radius_value_2[i] - let value_radius_value_2_element_type : int32 = RuntimeType.UNDEFINED - value_radius_value_2_element_type = runtimeType(value_radius_value_2_element) - if (RuntimeType.NUMBER == value_radius_value_2_element_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_2_element_0 = value_radius_value_2_element as number - valueSerializer.writeNumber(value_radius_value_2_element_0) - } - else if (RuntimeType.STRING == value_radius_value_2_element_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_2_element_1 = value_radius_value_2_element as string - valueSerializer.writeString(value_radius_value_2_element_1) - } - } - } + const value_blurRadius = value.blurRadius + let value_blurRadius_type : int32 = RuntimeType.UNDEFINED + value_blurRadius_type = runtimeType(value_blurRadius) + valueSerializer.writeInt8(value_blurRadius_type) + if ((RuntimeType.UNDEFINED) != (value_blurRadius_type)) { + const value_blurRadius_value = value_blurRadius! + valueSerializer.writeNumber(value_blurRadius_value) } } - writeRefreshOptions(value: RefreshOptions): void { + public writeTextStyle_styled_string(value: TextStyle_styled_string): void { let valueSerializer : Serializer = this - const value_refreshing = value.refreshing - valueSerializer.writeBoolean(value_refreshing) - const value_offset = value.offset - let value_offset_type : int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - let value_offset_value_type : int32 = RuntimeType.UNDEFINED - value_offset_value_type = runtimeType(value_offset_value) - if (RuntimeType.NUMBER == value_offset_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_0 = value_offset_value as number - valueSerializer.writeNumber(value_offset_value_0) + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeTextStyleInterface(value: TextStyleInterface): void { + let valueSerializer : Serializer = this + const value_fontColor = value.fontColor + let value_fontColor_type : int32 = RuntimeType.UNDEFINED + value_fontColor_type = runtimeType(value_fontColor) + valueSerializer.writeInt8(value_fontColor_type) + if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { + const value_fontColor_value = value_fontColor! + let value_fontColor_value_type : int32 = RuntimeType.UNDEFINED + value_fontColor_value_type = runtimeType(value_fontColor_value) + if (TypeChecker.isColor(value_fontColor_value)) { + valueSerializer.writeInt8(0) + const value_fontColor_value_0 = value_fontColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_0)) } - else if (RuntimeType.STRING == value_offset_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_1 = value_offset_value as string - valueSerializer.writeString(value_offset_value_1) + else if (RuntimeType.NUMBER == value_fontColor_value_type) { + valueSerializer.writeInt8(1) + const value_fontColor_value_1 = value_fontColor_value as number + valueSerializer.writeNumber(value_fontColor_value_1) } - } - const value_friction = value.friction - let value_friction_type : int32 = RuntimeType.UNDEFINED - value_friction_type = runtimeType(value_friction) - valueSerializer.writeInt8(value_friction_type as int32) - if ((RuntimeType.UNDEFINED) != (value_friction_type)) { - const value_friction_value = value_friction! - let value_friction_value_type : int32 = RuntimeType.UNDEFINED - value_friction_value_type = runtimeType(value_friction_value) - if (RuntimeType.NUMBER == value_friction_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_friction_value_0 = value_friction_value as number - valueSerializer.writeNumber(value_friction_value_0) + else if (RuntimeType.STRING == value_fontColor_value_type) { + valueSerializer.writeInt8(2) + const value_fontColor_value_2 = value_fontColor_value as string + valueSerializer.writeString(value_fontColor_value_2) } - else if (RuntimeType.STRING == value_friction_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_friction_value_1 = value_friction_value as string - valueSerializer.writeString(value_friction_value_1) + else if (RuntimeType.OBJECT == value_fontColor_value_type) { + valueSerializer.writeInt8(3) + const value_fontColor_value_3 = value_fontColor_value as Resource + valueSerializer.writeResource(value_fontColor_value_3) } } - const value_promptText = value.promptText - let value_promptText_type : int32 = RuntimeType.UNDEFINED - value_promptText_type = runtimeType(value_promptText) - valueSerializer.writeInt8(value_promptText_type as int32) - if ((RuntimeType.UNDEFINED) != (value_promptText_type)) { - const value_promptText_value = value_promptText! - let value_promptText_value_type : int32 = RuntimeType.UNDEFINED - value_promptText_value_type = runtimeType(value_promptText_value) - if (RuntimeType.STRING == value_promptText_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_promptText_value_0 = value_promptText_value as string - valueSerializer.writeString(value_promptText_value_0) + const value_fontFamily = value.fontFamily + let value_fontFamily_type : int32 = RuntimeType.UNDEFINED + value_fontFamily_type = runtimeType(value_fontFamily) + valueSerializer.writeInt8(value_fontFamily_type) + if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { + const value_fontFamily_value = value_fontFamily! + let value_fontFamily_value_type : int32 = RuntimeType.UNDEFINED + value_fontFamily_value_type = runtimeType(value_fontFamily_value) + if (RuntimeType.STRING == value_fontFamily_value_type) { + valueSerializer.writeInt8(0) + const value_fontFamily_value_0 = value_fontFamily_value as string + valueSerializer.writeString(value_fontFamily_value_0) } - else if (RuntimeType.OBJECT == value_promptText_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_promptText_value_1 = value_promptText_value as Resource - valueSerializer.writeResource(value_promptText_value_1) + else if (RuntimeType.OBJECT == value_fontFamily_value_type) { + valueSerializer.writeInt8(1) + const value_fontFamily_value_1 = value_fontFamily_value as Resource + valueSerializer.writeResource(value_fontFamily_value_1) } } - const value_builder = value.builder - let value_builder_type : int32 = RuntimeType.UNDEFINED - value_builder_type = runtimeType(value_builder) - valueSerializer.writeInt8(value_builder_type as int32) - if ((RuntimeType.UNDEFINED) != (value_builder_type)) { - const value_builder_value = value_builder! - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) - } - const value_refreshingContent = value.refreshingContent - let value_refreshingContent_type : int32 = RuntimeType.UNDEFINED - value_refreshingContent_type = runtimeType(value_refreshingContent) - valueSerializer.writeInt8(value_refreshingContent_type as int32) - if ((RuntimeType.UNDEFINED) != (value_refreshingContent_type)) { - const value_refreshingContent_value = value_refreshingContent! - valueSerializer.writeComponentContent(value_refreshingContent_value) - } - } - writeRenderNode(value: RenderNode): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeRestrictedWorker(value: RestrictedWorker): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeRichEditorChangeValue(value: RichEditorChangeValue): void { - let valueSerializer : Serializer = this - const value_rangeBefore = value.rangeBefore - valueSerializer.writeTextRange(value_rangeBefore) - const value_replacedSpans = value.replacedSpans - valueSerializer.writeInt32(value_replacedSpans.length as int32) - for (let i = 0; i < value_replacedSpans.length; i++) { - const value_replacedSpans_element : RichEditorTextSpanResult = value_replacedSpans[i] - valueSerializer.writeRichEditorTextSpanResult(value_replacedSpans_element) - } - const value_replacedImageSpans = value.replacedImageSpans - valueSerializer.writeInt32(value_replacedImageSpans.length as int32) - for (let i = 0; i < value_replacedImageSpans.length; i++) { - const value_replacedImageSpans_element : RichEditorImageSpanResult = value_replacedImageSpans[i] - valueSerializer.writeRichEditorImageSpanResult(value_replacedImageSpans_element) - } - const value_replacedSymbolSpans = value.replacedSymbolSpans - valueSerializer.writeInt32(value_replacedSymbolSpans.length as int32) - for (let i = 0; i < value_replacedSymbolSpans.length; i++) { - const value_replacedSymbolSpans_element : RichEditorTextSpanResult = value_replacedSymbolSpans[i] - valueSerializer.writeRichEditorTextSpanResult(value_replacedSymbolSpans_element) - } - } - writeRichEditorSymbolSpanStyle(value: RichEditorSymbolSpanStyle): void { - let valueSerializer : Serializer = this - const value_fontSize = value.fontSize - let value_fontSize_type : int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - let value_fontSize_value_type : int32 = RuntimeType.UNDEFINED - value_fontSize_value_type = runtimeType(value_fontSize_value) - if (RuntimeType.NUMBER == value_fontSize_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_fontSize_value_0 = value_fontSize_value as number - valueSerializer.writeNumber(value_fontSize_value_0) - } - else if (RuntimeType.STRING == value_fontSize_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontSize_value_1 = value_fontSize_value as string - valueSerializer.writeString(value_fontSize_value_1) - } - else if (RuntimeType.OBJECT == value_fontSize_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontSize_value_2 = value_fontSize_value as Resource - valueSerializer.writeResource(value_fontSize_value_2) - } - } - const value_fontColor = value.fontColor - let value_fontColor_type : int32 = RuntimeType.UNDEFINED - value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { - const value_fontColor_value = value_fontColor! - valueSerializer.writeInt32(value_fontColor_value.length as int32) - for (let i = 0; i < value_fontColor_value.length; i++) { - const value_fontColor_value_element : ResourceColor = value_fontColor_value[i] - let value_fontColor_value_element_type : int32 = RuntimeType.UNDEFINED - value_fontColor_value_element_type = runtimeType(value_fontColor_value_element) - if (TypeChecker.isColor(value_fontColor_value_element)) { - valueSerializer.writeInt8(0 as int32) - const value_fontColor_value_element_0 = value_fontColor_value_element as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_element_0)) - } - else if (RuntimeType.NUMBER == value_fontColor_value_element_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontColor_value_element_1 = value_fontColor_value_element as number - valueSerializer.writeNumber(value_fontColor_value_element_1) - } - else if (RuntimeType.STRING == value_fontColor_value_element_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontColor_value_element_2 = value_fontColor_value_element as string - valueSerializer.writeString(value_fontColor_value_element_2) - } - else if (RuntimeType.OBJECT == value_fontColor_value_element_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontColor_value_element_3 = value_fontColor_value_element as Resource - valueSerializer.writeResource(value_fontColor_value_element_3) - } - } + const value_fontSize = value.fontSize + let value_fontSize_type : int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + valueSerializer.writeLengthMetrics(value_fontSize_value) } const value_fontWeight = value.fontWeight let value_fontWeight_type : int32 = RuntimeType.UNDEFINED value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type as int32) + valueSerializer.writeInt8(value_fontWeight_type) if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { const value_fontWeight_value = value_fontWeight! let value_fontWeight_value_type : int32 = RuntimeType.UNDEFINED value_fontWeight_value_type = runtimeType(value_fontWeight_value) if (RuntimeType.NUMBER == value_fontWeight_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_fontWeight_value_0 = value_fontWeight_value as number valueSerializer.writeNumber(value_fontWeight_value_0) } else if (TypeChecker.isFontWeight(value_fontWeight_value)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_fontWeight_value_1 = value_fontWeight_value as FontWeight valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_fontWeight_value_1)) } else if (RuntimeType.STRING == value_fontWeight_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_fontWeight_value_2 = value_fontWeight_value as string valueSerializer.writeString(value_fontWeight_value_2) } } - const value_effectStrategy = value.effectStrategy - let value_effectStrategy_type : int32 = RuntimeType.UNDEFINED - value_effectStrategy_type = runtimeType(value_effectStrategy) - valueSerializer.writeInt8(value_effectStrategy_type as int32) - if ((RuntimeType.UNDEFINED) != (value_effectStrategy_type)) { - const value_effectStrategy_value = (value_effectStrategy as SymbolEffectStrategy) - valueSerializer.writeInt32(TypeChecker.SymbolEffectStrategy_ToNumeric(value_effectStrategy_value)) - } - const value_renderingStrategy = value.renderingStrategy - let value_renderingStrategy_type : int32 = RuntimeType.UNDEFINED - value_renderingStrategy_type = runtimeType(value_renderingStrategy) - valueSerializer.writeInt8(value_renderingStrategy_type as int32) - if ((RuntimeType.UNDEFINED) != (value_renderingStrategy_type)) { - const value_renderingStrategy_value = (value_renderingStrategy as SymbolRenderingStrategy) - valueSerializer.writeInt32(TypeChecker.SymbolRenderingStrategy_ToNumeric(value_renderingStrategy_value)) + const value_fontStyle = value.fontStyle + let value_fontStyle_type : int32 = RuntimeType.UNDEFINED + value_fontStyle_type = runtimeType(value_fontStyle) + valueSerializer.writeInt8(value_fontStyle_type) + if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { + const value_fontStyle_value = (value_fontStyle as FontStyle) + valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_fontStyle_value)) } } - writeRichEditorTextStyleResult(value: RichEditorTextStyleResult): void { + public writeTodayStyle(value: TodayStyle): void { let valueSerializer : Serializer = this - const value_fontColor = value.fontColor - let value_fontColor_type : int32 = RuntimeType.UNDEFINED - value_fontColor_type = runtimeType(value_fontColor) - if (TypeChecker.isColor(value_fontColor)) { - valueSerializer.writeInt8(0 as int32) - const value_fontColor_0 = value_fontColor as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_0)) - } - else if (RuntimeType.NUMBER == value_fontColor_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontColor_1 = value_fontColor as number - valueSerializer.writeNumber(value_fontColor_1) - } - else if (RuntimeType.STRING == value_fontColor_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontColor_2 = value_fontColor as string - valueSerializer.writeString(value_fontColor_2) - } - else if (RuntimeType.OBJECT == value_fontColor_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontColor_3 = value_fontColor as Resource - valueSerializer.writeResource(value_fontColor_3) - } - const value_fontSize = value.fontSize - valueSerializer.writeNumber(value_fontSize) - const value_fontStyle = value.fontStyle - valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_fontStyle)) - const value_fontWeight = value.fontWeight - valueSerializer.writeNumber(value_fontWeight) - const value_fontFamily = value.fontFamily - valueSerializer.writeString(value_fontFamily) - const value_decoration = value.decoration - valueSerializer.writeDecorationStyleResult(value_decoration) - const value_textShadow = value.textShadow - let value_textShadow_type : int32 = RuntimeType.UNDEFINED - value_textShadow_type = runtimeType(value_textShadow) - valueSerializer.writeInt8(value_textShadow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textShadow_type)) { - const value_textShadow_value = value_textShadow! - valueSerializer.writeInt32(value_textShadow_value.length as int32) - for (let i = 0; i < value_textShadow_value.length; i++) { - const value_textShadow_value_element : ShadowOptions = value_textShadow_value[i] - valueSerializer.writeShadowOptions(value_textShadow_value_element) + const value_focusedDayColor = value.focusedDayColor + let value_focusedDayColor_type : int32 = RuntimeType.UNDEFINED + value_focusedDayColor_type = runtimeType(value_focusedDayColor) + valueSerializer.writeInt8(value_focusedDayColor_type) + if ((RuntimeType.UNDEFINED) != (value_focusedDayColor_type)) { + const value_focusedDayColor_value = value_focusedDayColor! + let value_focusedDayColor_value_type : int32 = RuntimeType.UNDEFINED + value_focusedDayColor_value_type = runtimeType(value_focusedDayColor_value) + if (TypeChecker.isColor(value_focusedDayColor_value)) { + valueSerializer.writeInt8(0) + const value_focusedDayColor_value_0 = value_focusedDayColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_focusedDayColor_value_0)) + } + else if (RuntimeType.NUMBER == value_focusedDayColor_value_type) { + valueSerializer.writeInt8(1) + const value_focusedDayColor_value_1 = value_focusedDayColor_value as number + valueSerializer.writeNumber(value_focusedDayColor_value_1) + } + else if (RuntimeType.STRING == value_focusedDayColor_value_type) { + valueSerializer.writeInt8(2) + const value_focusedDayColor_value_2 = value_focusedDayColor_value as string + valueSerializer.writeString(value_focusedDayColor_value_2) + } + else if (RuntimeType.OBJECT == value_focusedDayColor_value_type) { + valueSerializer.writeInt8(3) + const value_focusedDayColor_value_3 = value_focusedDayColor_value as Resource + valueSerializer.writeResource(value_focusedDayColor_value_3) } } - const value_letterSpacing = value.letterSpacing - let value_letterSpacing_type : int32 = RuntimeType.UNDEFINED - value_letterSpacing_type = runtimeType(value_letterSpacing) - valueSerializer.writeInt8(value_letterSpacing_type as int32) - if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { - const value_letterSpacing_value = value_letterSpacing! - valueSerializer.writeNumber(value_letterSpacing_value) + const value_focusedLunarColor = value.focusedLunarColor + let value_focusedLunarColor_type : int32 = RuntimeType.UNDEFINED + value_focusedLunarColor_type = runtimeType(value_focusedLunarColor) + valueSerializer.writeInt8(value_focusedLunarColor_type) + if ((RuntimeType.UNDEFINED) != (value_focusedLunarColor_type)) { + const value_focusedLunarColor_value = value_focusedLunarColor! + let value_focusedLunarColor_value_type : int32 = RuntimeType.UNDEFINED + value_focusedLunarColor_value_type = runtimeType(value_focusedLunarColor_value) + if (TypeChecker.isColor(value_focusedLunarColor_value)) { + valueSerializer.writeInt8(0) + const value_focusedLunarColor_value_0 = value_focusedLunarColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_focusedLunarColor_value_0)) + } + else if (RuntimeType.NUMBER == value_focusedLunarColor_value_type) { + valueSerializer.writeInt8(1) + const value_focusedLunarColor_value_1 = value_focusedLunarColor_value as number + valueSerializer.writeNumber(value_focusedLunarColor_value_1) + } + else if (RuntimeType.STRING == value_focusedLunarColor_value_type) { + valueSerializer.writeInt8(2) + const value_focusedLunarColor_value_2 = value_focusedLunarColor_value as string + valueSerializer.writeString(value_focusedLunarColor_value_2) + } + else if (RuntimeType.OBJECT == value_focusedLunarColor_value_type) { + valueSerializer.writeInt8(3) + const value_focusedLunarColor_value_3 = value_focusedLunarColor_value as Resource + valueSerializer.writeResource(value_focusedLunarColor_value_3) + } } - const value_lineHeight = value.lineHeight - let value_lineHeight_type : int32 = RuntimeType.UNDEFINED - value_lineHeight_type = runtimeType(value_lineHeight) - valueSerializer.writeInt8(value_lineHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_lineHeight_type)) { - const value_lineHeight_value = value_lineHeight! - valueSerializer.writeNumber(value_lineHeight_value) + const value_focusedAreaBackgroundColor = value.focusedAreaBackgroundColor + let value_focusedAreaBackgroundColor_type : int32 = RuntimeType.UNDEFINED + value_focusedAreaBackgroundColor_type = runtimeType(value_focusedAreaBackgroundColor) + valueSerializer.writeInt8(value_focusedAreaBackgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_focusedAreaBackgroundColor_type)) { + const value_focusedAreaBackgroundColor_value = value_focusedAreaBackgroundColor! + let value_focusedAreaBackgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_focusedAreaBackgroundColor_value_type = runtimeType(value_focusedAreaBackgroundColor_value) + if (TypeChecker.isColor(value_focusedAreaBackgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_focusedAreaBackgroundColor_value_0 = value_focusedAreaBackgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_focusedAreaBackgroundColor_value_0)) + } + else if (RuntimeType.NUMBER == value_focusedAreaBackgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_focusedAreaBackgroundColor_value_1 = value_focusedAreaBackgroundColor_value as number + valueSerializer.writeNumber(value_focusedAreaBackgroundColor_value_1) + } + else if (RuntimeType.STRING == value_focusedAreaBackgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_focusedAreaBackgroundColor_value_2 = value_focusedAreaBackgroundColor_value as string + valueSerializer.writeString(value_focusedAreaBackgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_focusedAreaBackgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_focusedAreaBackgroundColor_value_3 = value_focusedAreaBackgroundColor_value as Resource + valueSerializer.writeResource(value_focusedAreaBackgroundColor_value_3) + } } - const value_fontFeature = value.fontFeature - let value_fontFeature_type : int32 = RuntimeType.UNDEFINED - value_fontFeature_type = runtimeType(value_fontFeature) - valueSerializer.writeInt8(value_fontFeature_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontFeature_type)) { - const value_fontFeature_value = value_fontFeature! - valueSerializer.writeString(value_fontFeature_value) + const value_focusedAreaRadius = value.focusedAreaRadius + let value_focusedAreaRadius_type : int32 = RuntimeType.UNDEFINED + value_focusedAreaRadius_type = runtimeType(value_focusedAreaRadius) + valueSerializer.writeInt8(value_focusedAreaRadius_type) + if ((RuntimeType.UNDEFINED) != (value_focusedAreaRadius_type)) { + const value_focusedAreaRadius_value = value_focusedAreaRadius! + valueSerializer.writeNumber(value_focusedAreaRadius_value) } } - writeRichEditorUpdateSymbolSpanStyleOptions(value: RichEditorUpdateSymbolSpanStyleOptions): void { + public writeToolbarItem(value: ToolbarItem): void { let valueSerializer : Serializer = this - const value_start = value.start - let value_start_type : int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeNumber(value_start_value) + const value_value = value.value + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + valueSerializer.writeInt8(0) + const value_value_0 = value_value as string + valueSerializer.writeString(value_value_0) } - const value_end = value.end - let value_end_type : int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeNumber(value_end_value) + else if (RuntimeType.OBJECT == value_value_type) { + valueSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + valueSerializer.writeResource(value_value_1) } - const value_symbolStyle = value.symbolStyle - valueSerializer.writeRichEditorSymbolSpanStyle(value_symbolStyle) - } - writeRingStyleOptions(value: RingStyleOptions): void { - let valueSerializer : Serializer = this - const value_enableScanEffect = value.enableScanEffect - let value_enableScanEffect_type : int32 = RuntimeType.UNDEFINED - value_enableScanEffect_type = runtimeType(value_enableScanEffect) - valueSerializer.writeInt8(value_enableScanEffect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableScanEffect_type)) { - const value_enableScanEffect_value = value_enableScanEffect! - valueSerializer.writeBoolean(value_enableScanEffect_value) - } - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - let value_strokeWidth_value_type : int32 = RuntimeType.UNDEFINED - value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) - if (RuntimeType.STRING == value_strokeWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_strokeWidth_value_0 = value_strokeWidth_value as string - valueSerializer.writeString(value_strokeWidth_value_0) - } - else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_strokeWidth_value_1 = value_strokeWidth_value as number - valueSerializer.writeNumber(value_strokeWidth_value_1) + const value_icon = value.icon + let value_icon_type : int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + let value_icon_value_type : int32 = RuntimeType.UNDEFINED + value_icon_value_type = runtimeType(value_icon_value) + if (RuntimeType.STRING == value_icon_value_type) { + valueSerializer.writeInt8(0) + const value_icon_value_0 = value_icon_value as string + valueSerializer.writeString(value_icon_value_0) } - else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_strokeWidth_value_2 = value_strokeWidth_value as Resource - valueSerializer.writeResource(value_strokeWidth_value_2) + else if (RuntimeType.OBJECT == value_icon_value_type) { + valueSerializer.writeInt8(1) + const value_icon_value_1 = value_icon_value as Resource + valueSerializer.writeResource(value_icon_value_1) } } - const value_shadow = value.shadow - let value_shadow_type : int32 = RuntimeType.UNDEFINED - value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { - const value_shadow_value = value_shadow! - valueSerializer.writeBoolean(value_shadow_value) + const value_symbolIcon = value.symbolIcon + let value_symbolIcon_type : int32 = RuntimeType.UNDEFINED + value_symbolIcon_type = runtimeType(value_symbolIcon) + valueSerializer.writeInt8(value_symbolIcon_type) + if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { + const value_symbolIcon_value = value_symbolIcon! + valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) + } + const value_action = value.action + let value_action_type : int32 = RuntimeType.UNDEFINED + value_action_type = runtimeType(value_action) + valueSerializer.writeInt8(value_action_type) + if ((RuntimeType.UNDEFINED) != (value_action_type)) { + const value_action_value = value_action! + valueSerializer.holdAndWriteCallback(value_action_value) } const value_status = value.status let value_status_type : int32 = RuntimeType.UNDEFINED value_status_type = runtimeType(value_status) - valueSerializer.writeInt8(value_status_type as int32) + valueSerializer.writeInt8(value_status_type) if ((RuntimeType.UNDEFINED) != (value_status_type)) { - const value_status_value = (value_status as ProgressStatus) - valueSerializer.writeInt32(TypeChecker.ProgressStatus_ToNumeric(value_status_value)) - } - } - writeSceneOptions(value: SceneOptions): void { - let valueSerializer : Serializer = this - const value_scene = value.scene - let value_scene_type : int32 = RuntimeType.UNDEFINED - value_scene_type = runtimeType(value_scene) - valueSerializer.writeInt8(value_scene_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scene_type)) { - const value_scene_value = value_scene! - let value_scene_value_type : int32 = RuntimeType.UNDEFINED - value_scene_value_type = runtimeType(value_scene_value) - if ((RuntimeType.STRING == value_scene_value_type) || (RuntimeType.OBJECT == value_scene_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_scene_value_0 = value_scene_value as ResourceStr - let value_scene_value_0_type : int32 = RuntimeType.UNDEFINED - value_scene_value_0_type = runtimeType(value_scene_value_0) - if (RuntimeType.STRING == value_scene_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_scene_value_0_0 = value_scene_value_0 as string - valueSerializer.writeString(value_scene_value_0_0) - } - else if (RuntimeType.OBJECT == value_scene_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_scene_value_0_1 = value_scene_value_0 as Resource - valueSerializer.writeResource(value_scene_value_0_1) - } - } - else if (TypeChecker.isScene(value_scene_value)) { - valueSerializer.writeInt8(1 as int32) - const value_scene_value_1 = value_scene_value as Scene - valueSerializer.writeScene(value_scene_value_1) - } - } - const value_modelType = value.modelType - let value_modelType_type : int32 = RuntimeType.UNDEFINED - value_modelType_type = runtimeType(value_modelType) - valueSerializer.writeInt8(value_modelType_type as int32) - if ((RuntimeType.UNDEFINED) != (value_modelType_type)) { - const value_modelType_value = (value_modelType as ModelType) - valueSerializer.writeInt32(TypeChecker.ModelType_ToNumeric(value_modelType_value)) + const value_status_value = (value_status as ToolbarItemStatus) + valueSerializer.writeInt32(TypeChecker.ToolbarItemStatus_ToNumeric(value_status_value)) } - } - writeScrollableBarModeOptions(value: ScrollableBarModeOptions): void { - let valueSerializer : Serializer = this - const value_margin = value.margin - let value_margin_type : int32 = RuntimeType.UNDEFINED - value_margin_type = runtimeType(value_margin) - valueSerializer.writeInt8(value_margin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_type)) { - const value_margin_value = value_margin! - let value_margin_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_type = runtimeType(value_margin_value) - if (RuntimeType.STRING == value_margin_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_0 = value_margin_value as string - valueSerializer.writeString(value_margin_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1 = value_margin_value as number - valueSerializer.writeNumber(value_margin_value_1) + const value_activeIcon = value.activeIcon + let value_activeIcon_type : int32 = RuntimeType.UNDEFINED + value_activeIcon_type = runtimeType(value_activeIcon) + valueSerializer.writeInt8(value_activeIcon_type) + if ((RuntimeType.UNDEFINED) != (value_activeIcon_type)) { + const value_activeIcon_value = value_activeIcon! + let value_activeIcon_value_type : int32 = RuntimeType.UNDEFINED + value_activeIcon_value_type = runtimeType(value_activeIcon_value) + if (RuntimeType.STRING == value_activeIcon_value_type) { + valueSerializer.writeInt8(0) + const value_activeIcon_value_0 = value_activeIcon_value as string + valueSerializer.writeString(value_activeIcon_value_0) } - else if (RuntimeType.OBJECT == value_margin_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_2 = value_margin_value as Resource - valueSerializer.writeResource(value_margin_value_2) + else if (RuntimeType.OBJECT == value_activeIcon_value_type) { + valueSerializer.writeInt8(1) + const value_activeIcon_value_1 = value_activeIcon_value as Resource + valueSerializer.writeResource(value_activeIcon_value_1) } } - const value_nonScrollableLayoutStyle = value.nonScrollableLayoutStyle - let value_nonScrollableLayoutStyle_type : int32 = RuntimeType.UNDEFINED - value_nonScrollableLayoutStyle_type = runtimeType(value_nonScrollableLayoutStyle) - valueSerializer.writeInt8(value_nonScrollableLayoutStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_nonScrollableLayoutStyle_type)) { - const value_nonScrollableLayoutStyle_value = (value_nonScrollableLayoutStyle as LayoutStyle) - valueSerializer.writeInt32(TypeChecker.LayoutStyle_ToNumeric(value_nonScrollableLayoutStyle_value)) + const value_activeSymbolIcon = value.activeSymbolIcon + let value_activeSymbolIcon_type : int32 = RuntimeType.UNDEFINED + value_activeSymbolIcon_type = runtimeType(value_activeSymbolIcon) + valueSerializer.writeInt8(value_activeSymbolIcon_type) + if ((RuntimeType.UNDEFINED) != (value_activeSymbolIcon_type)) { + const value_activeSymbolIcon_value = value_activeSymbolIcon! + valueSerializer.writeSymbolGlyphModifier(value_activeSymbolIcon_value) } } - writeScrollOptions(value: ScrollOptions): void { + public writeTransitionOptions(value: TransitionOptions): void { let valueSerializer : Serializer = this - const value_xOffset = value.xOffset - let value_xOffset_type : int32 = RuntimeType.UNDEFINED - value_xOffset_type = runtimeType(value_xOffset) - if (RuntimeType.NUMBER == value_xOffset_type) { - valueSerializer.writeInt8(0 as int32) - const value_xOffset_0 = value_xOffset as number - valueSerializer.writeNumber(value_xOffset_0) - } - else if (RuntimeType.STRING == value_xOffset_type) { - valueSerializer.writeInt8(1 as int32) - const value_xOffset_1 = value_xOffset as string - valueSerializer.writeString(value_xOffset_1) + const value_type = value.type + let value_type_type : int32 = RuntimeType.UNDEFINED + value_type_type = runtimeType(value_type) + valueSerializer.writeInt8(value_type_type) + if ((RuntimeType.UNDEFINED) != (value_type_type)) { + const value_type_value = (value_type as TransitionType) + valueSerializer.writeInt32(TypeChecker.TransitionType_ToNumeric(value_type_value)) } - const value_yOffset = value.yOffset - let value_yOffset_type : int32 = RuntimeType.UNDEFINED - value_yOffset_type = runtimeType(value_yOffset) - if (RuntimeType.NUMBER == value_yOffset_type) { - valueSerializer.writeInt8(0 as int32) - const value_yOffset_0 = value_yOffset as number - valueSerializer.writeNumber(value_yOffset_0) + const value_opacity = value.opacity + let value_opacity_type : int32 = RuntimeType.UNDEFINED + value_opacity_type = runtimeType(value_opacity) + valueSerializer.writeInt8(value_opacity_type) + if ((RuntimeType.UNDEFINED) != (value_opacity_type)) { + const value_opacity_value = value_opacity! + valueSerializer.writeNumber(value_opacity_value) } - else if (RuntimeType.STRING == value_yOffset_type) { - valueSerializer.writeInt8(1 as int32) - const value_yOffset_1 = value_yOffset as string - valueSerializer.writeString(value_yOffset_1) + const value_translate = value.translate + let value_translate_type : int32 = RuntimeType.UNDEFINED + value_translate_type = runtimeType(value_translate) + valueSerializer.writeInt8(value_translate_type) + if ((RuntimeType.UNDEFINED) != (value_translate_type)) { + const value_translate_value = value_translate! + valueSerializer.writeTranslateOptions(value_translate_value) } - const value_animation = value.animation - let value_animation_type : int32 = RuntimeType.UNDEFINED - value_animation_type = runtimeType(value_animation) - valueSerializer.writeInt8(value_animation_type as int32) - if ((RuntimeType.UNDEFINED) != (value_animation_type)) { - const value_animation_value = value_animation! - let value_animation_value_type : int32 = RuntimeType.UNDEFINED - value_animation_value_type = runtimeType(value_animation_value) - if (RuntimeType.OBJECT == value_animation_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_animation_value_0 = value_animation_value as ScrollAnimationOptions - valueSerializer.writeScrollAnimationOptions(value_animation_value_0) - } - else if (RuntimeType.BOOLEAN == value_animation_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_animation_value_1 = value_animation_value as boolean - valueSerializer.writeBoolean(value_animation_value_1) - } + const value_scale = value.scale + let value_scale_type : int32 = RuntimeType.UNDEFINED + value_scale_type = runtimeType(value_scale) + valueSerializer.writeInt8(value_scale_type) + if ((RuntimeType.UNDEFINED) != (value_scale_type)) { + const value_scale_value = value_scale! + valueSerializer.writeScaleOptions(value_scale_value) } - } - writeScrollToIndexOptions(value: ScrollToIndexOptions): void { - let valueSerializer : Serializer = this - const value_extraOffset = value.extraOffset - let value_extraOffset_type : int32 = RuntimeType.UNDEFINED - value_extraOffset_type = runtimeType(value_extraOffset) - valueSerializer.writeInt8(value_extraOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_extraOffset_type)) { - const value_extraOffset_value = value_extraOffset! - valueSerializer.writeLengthMetrics(value_extraOffset_value) + const value_rotate = value.rotate + let value_rotate_type : int32 = RuntimeType.UNDEFINED + value_rotate_type = runtimeType(value_rotate) + valueSerializer.writeInt8(value_rotate_type) + if ((RuntimeType.UNDEFINED) != (value_rotate_type)) { + const value_rotate_value = value_rotate! + valueSerializer.writeRotateOptions(value_rotate_value) } } - writeSearchButtonOptions(value: SearchButtonOptions): void { + public writeUnderlineColor(value: UnderlineColor): void { let valueSerializer : Serializer = this - const value_fontSize = value.fontSize - let value_fontSize_type : int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - let value_fontSize_value_type : int32 = RuntimeType.UNDEFINED - value_fontSize_value_type = runtimeType(value_fontSize_value) - if (RuntimeType.STRING == value_fontSize_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_fontSize_value_0 = value_fontSize_value as string - valueSerializer.writeString(value_fontSize_value_0) - } - else if (RuntimeType.NUMBER == value_fontSize_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontSize_value_1 = value_fontSize_value as number - valueSerializer.writeNumber(value_fontSize_value_1) + const value_typing = value.typing + let value_typing_type : int32 = RuntimeType.UNDEFINED + value_typing_type = runtimeType(value_typing) + valueSerializer.writeInt8(value_typing_type) + if ((RuntimeType.UNDEFINED) != (value_typing_type)) { + const value_typing_value = value_typing! + let value_typing_value_type : int32 = RuntimeType.UNDEFINED + value_typing_value_type = runtimeType(value_typing_value) + if (TypeChecker.isColor(value_typing_value)) { + valueSerializer.writeInt8(0) + const value_typing_value_0 = value_typing_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_typing_value_0)) } - else if (RuntimeType.OBJECT == value_fontSize_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontSize_value_2 = value_fontSize_value as Resource - valueSerializer.writeResource(value_fontSize_value_2) + else if (RuntimeType.NUMBER == value_typing_value_type) { + valueSerializer.writeInt8(1) + const value_typing_value_1 = value_typing_value as number + valueSerializer.writeNumber(value_typing_value_1) } - } - const value_fontColor = value.fontColor - let value_fontColor_type : int32 = RuntimeType.UNDEFINED - value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { - const value_fontColor_value = value_fontColor! - let value_fontColor_value_type : int32 = RuntimeType.UNDEFINED - value_fontColor_value_type = runtimeType(value_fontColor_value) - if (TypeChecker.isColor(value_fontColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontColor_value_0 = value_fontColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_0)) + else if (RuntimeType.STRING == value_typing_value_type) { + valueSerializer.writeInt8(2) + const value_typing_value_2 = value_typing_value as string + valueSerializer.writeString(value_typing_value_2) } - else if (RuntimeType.NUMBER == value_fontColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontColor_value_1 = value_fontColor_value as number - valueSerializer.writeNumber(value_fontColor_value_1) + else if (RuntimeType.OBJECT == value_typing_value_type) { + valueSerializer.writeInt8(3) + const value_typing_value_3 = value_typing_value as Resource + valueSerializer.writeResource(value_typing_value_3) } - else if (RuntimeType.STRING == value_fontColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontColor_value_2 = value_fontColor_value as string - valueSerializer.writeString(value_fontColor_value_2) + } + const value_normal = value.normal + let value_normal_type : int32 = RuntimeType.UNDEFINED + value_normal_type = runtimeType(value_normal) + valueSerializer.writeInt8(value_normal_type) + if ((RuntimeType.UNDEFINED) != (value_normal_type)) { + const value_normal_value = value_normal! + let value_normal_value_type : int32 = RuntimeType.UNDEFINED + value_normal_value_type = runtimeType(value_normal_value) + if (TypeChecker.isColor(value_normal_value)) { + valueSerializer.writeInt8(0) + const value_normal_value_0 = value_normal_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_normal_value_0)) } - else if (RuntimeType.OBJECT == value_fontColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontColor_value_3 = value_fontColor_value as Resource - valueSerializer.writeResource(value_fontColor_value_3) + else if (RuntimeType.NUMBER == value_normal_value_type) { + valueSerializer.writeInt8(1) + const value_normal_value_1 = value_normal_value as number + valueSerializer.writeNumber(value_normal_value_1) + } + else if (RuntimeType.STRING == value_normal_value_type) { + valueSerializer.writeInt8(2) + const value_normal_value_2 = value_normal_value as string + valueSerializer.writeString(value_normal_value_2) + } + else if (RuntimeType.OBJECT == value_normal_value_type) { + valueSerializer.writeInt8(3) + const value_normal_value_3 = value_normal_value as Resource + valueSerializer.writeResource(value_normal_value_3) } } - const value_autoDisable = value.autoDisable - let value_autoDisable_type : int32 = RuntimeType.UNDEFINED - value_autoDisable_type = runtimeType(value_autoDisable) - valueSerializer.writeInt8(value_autoDisable_type as int32) - if ((RuntimeType.UNDEFINED) != (value_autoDisable_type)) { - const value_autoDisable_value = value_autoDisable! - valueSerializer.writeBoolean(value_autoDisable_value) + const value_error = value.error + let value_error_type : int32 = RuntimeType.UNDEFINED + value_error_type = runtimeType(value_error) + valueSerializer.writeInt8(value_error_type) + if ((RuntimeType.UNDEFINED) != (value_error_type)) { + const value_error_value = value_error! + let value_error_value_type : int32 = RuntimeType.UNDEFINED + value_error_value_type = runtimeType(value_error_value) + if (TypeChecker.isColor(value_error_value)) { + valueSerializer.writeInt8(0) + const value_error_value_0 = value_error_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_error_value_0)) + } + else if (RuntimeType.NUMBER == value_error_value_type) { + valueSerializer.writeInt8(1) + const value_error_value_1 = value_error_value as number + valueSerializer.writeNumber(value_error_value_1) + } + else if (RuntimeType.STRING == value_error_value_type) { + valueSerializer.writeInt8(2) + const value_error_value_2 = value_error_value as string + valueSerializer.writeString(value_error_value_2) + } + else if (RuntimeType.OBJECT == value_error_value_type) { + valueSerializer.writeInt8(3) + const value_error_value_3 = value_error_value as Resource + valueSerializer.writeResource(value_error_value_3) + } + } + const value_disable = value.disable + let value_disable_type : int32 = RuntimeType.UNDEFINED + value_disable_type = runtimeType(value_disable) + valueSerializer.writeInt8(value_disable_type) + if ((RuntimeType.UNDEFINED) != (value_disable_type)) { + const value_disable_value = value_disable! + let value_disable_value_type : int32 = RuntimeType.UNDEFINED + value_disable_value_type = runtimeType(value_disable_value) + if (TypeChecker.isColor(value_disable_value)) { + valueSerializer.writeInt8(0) + const value_disable_value_0 = value_disable_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_disable_value_0)) + } + else if (RuntimeType.NUMBER == value_disable_value_type) { + valueSerializer.writeInt8(1) + const value_disable_value_1 = value_disable_value as number + valueSerializer.writeNumber(value_disable_value_1) + } + else if (RuntimeType.STRING == value_disable_value_type) { + valueSerializer.writeInt8(2) + const value_disable_value_2 = value_disable_value as string + valueSerializer.writeString(value_disable_value_2) + } + else if (RuntimeType.OBJECT == value_disable_value_type) { + valueSerializer.writeInt8(3) + const value_disable_value_3 = value_disable_value as Resource + valueSerializer.writeResource(value_disable_value_3) + } } } - writeSearchOptions(value: SearchOptions): void { + public writeVideoOptions(value: VideoOptions): void { let valueSerializer : Serializer = this - const value_value = value.value - let value_value_type : int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - valueSerializer.writeInt8(value_value_type as int32) - if ((RuntimeType.UNDEFINED) != (value_value_type)) { - const value_value_value = value_value! - valueSerializer.writeString(value_value_value) + const value_src = value.src + let value_src_type : int32 = RuntimeType.UNDEFINED + value_src_type = runtimeType(value_src) + valueSerializer.writeInt8(value_src_type) + if ((RuntimeType.UNDEFINED) != (value_src_type)) { + const value_src_value = value_src! + let value_src_value_type : int32 = RuntimeType.UNDEFINED + value_src_value_type = runtimeType(value_src_value) + if (RuntimeType.STRING == value_src_value_type) { + valueSerializer.writeInt8(0) + const value_src_value_0 = value_src_value as string + valueSerializer.writeString(value_src_value_0) + } + else if (RuntimeType.OBJECT == value_src_value_type) { + valueSerializer.writeInt8(1) + const value_src_value_1 = value_src_value as Resource + valueSerializer.writeResource(value_src_value_1) + } } - const value_placeholder = value.placeholder - let value_placeholder_type : int32 = RuntimeType.UNDEFINED - value_placeholder_type = runtimeType(value_placeholder) - valueSerializer.writeInt8(value_placeholder_type as int32) - if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { - const value_placeholder_value = value_placeholder! - let value_placeholder_value_type : int32 = RuntimeType.UNDEFINED - value_placeholder_value_type = runtimeType(value_placeholder_value) - if (RuntimeType.STRING == value_placeholder_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_placeholder_value_0 = value_placeholder_value as string - valueSerializer.writeString(value_placeholder_value_0) + const value_currentProgressRate = value.currentProgressRate + let value_currentProgressRate_type : int32 = RuntimeType.UNDEFINED + value_currentProgressRate_type = runtimeType(value_currentProgressRate) + valueSerializer.writeInt8(value_currentProgressRate_type) + if ((RuntimeType.UNDEFINED) != (value_currentProgressRate_type)) { + const value_currentProgressRate_value = value_currentProgressRate! + let value_currentProgressRate_value_type : int32 = RuntimeType.UNDEFINED + value_currentProgressRate_value_type = runtimeType(value_currentProgressRate_value) + if (RuntimeType.NUMBER == value_currentProgressRate_value_type) { + valueSerializer.writeInt8(0) + const value_currentProgressRate_value_0 = value_currentProgressRate_value as number + valueSerializer.writeNumber(value_currentProgressRate_value_0) } - else if (RuntimeType.OBJECT == value_placeholder_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_placeholder_value_1 = value_placeholder_value as Resource - valueSerializer.writeResource(value_placeholder_value_1) + else if (RuntimeType.STRING == value_currentProgressRate_value_type) { + valueSerializer.writeInt8(1) + const value_currentProgressRate_value_1 = value_currentProgressRate_value as string + valueSerializer.writeString(value_currentProgressRate_value_1) + } + else if (TypeChecker.isPlaybackSpeed(value_currentProgressRate_value)) { + valueSerializer.writeInt8(2) + const value_currentProgressRate_value_2 = value_currentProgressRate_value as PlaybackSpeed + valueSerializer.writeInt32(TypeChecker.PlaybackSpeed_ToNumeric(value_currentProgressRate_value_2)) } } - const value_icon = value.icon - let value_icon_type : int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - valueSerializer.writeString(value_icon_value) + const value_previewUri = value.previewUri + let value_previewUri_type : int32 = RuntimeType.UNDEFINED + value_previewUri_type = runtimeType(value_previewUri) + valueSerializer.writeInt8(value_previewUri_type) + if ((RuntimeType.UNDEFINED) != (value_previewUri_type)) { + const value_previewUri_value = value_previewUri! + let value_previewUri_value_type : int32 = RuntimeType.UNDEFINED + value_previewUri_value_type = runtimeType(value_previewUri_value) + if (RuntimeType.STRING == value_previewUri_value_type) { + valueSerializer.writeInt8(0) + const value_previewUri_value_0 = value_previewUri_value as string + valueSerializer.writeString(value_previewUri_value_0) + } + else if (TypeChecker.isPixelMap(value_previewUri_value, false, false)) { + valueSerializer.writeInt8(1) + const value_previewUri_value_1 = value_previewUri_value as PixelMap + valueSerializer.writePixelMap(value_previewUri_value_1) + } + else if (TypeChecker.isResource(value_previewUri_value, false, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_previewUri_value_2 = value_previewUri_value as Resource + valueSerializer.writeResource(value_previewUri_value_2) + } } const value_controller = value.controller let value_controller_type : int32 = RuntimeType.UNDEFINED value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type as int32) + valueSerializer.writeInt8(value_controller_type) if ((RuntimeType.UNDEFINED) != (value_controller_type)) { const value_controller_value = value_controller! - valueSerializer.writeSearchController(value_controller_value) - } - } - writeSelectOption(value: SelectOption): void { - let valueSerializer : Serializer = this - const value_value = value.value - let value_value_type : int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_value_0 = value_value as string - valueSerializer.writeString(value_value_0) - } - else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_value_1 = value_value as Resource - valueSerializer.writeResource(value_value_1) + valueSerializer.writeVideoController(value_controller_value) } - const value_icon = value.icon - let value_icon_type : int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - let value_icon_value_type : int32 = RuntimeType.UNDEFINED - value_icon_value_type = runtimeType(value_icon_value) - if (RuntimeType.STRING == value_icon_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_icon_value_0 = value_icon_value as string - valueSerializer.writeString(value_icon_value_0) - } - else if (RuntimeType.OBJECT == value_icon_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_icon_value_1 = value_icon_value as Resource - valueSerializer.writeResource(value_icon_value_1) - } + const value_imageAIOptions = value.imageAIOptions + let value_imageAIOptions_type : int32 = RuntimeType.UNDEFINED + value_imageAIOptions_type = runtimeType(value_imageAIOptions) + valueSerializer.writeInt8(value_imageAIOptions_type) + if ((RuntimeType.UNDEFINED) != (value_imageAIOptions_type)) { + const value_imageAIOptions_value = value_imageAIOptions! + valueSerializer.writeImageAIOptions(value_imageAIOptions_value) } - const value_symbolIcon = value.symbolIcon - let value_symbolIcon_type : int32 = RuntimeType.UNDEFINED - value_symbolIcon_type = runtimeType(value_symbolIcon) - valueSerializer.writeInt8(value_symbolIcon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { - const value_symbolIcon_value = value_symbolIcon! - valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) + const value_posterOptions = value.posterOptions + let value_posterOptions_type : int32 = RuntimeType.UNDEFINED + value_posterOptions_type = runtimeType(value_posterOptions) + valueSerializer.writeInt8(value_posterOptions_type) + if ((RuntimeType.UNDEFINED) != (value_posterOptions_type)) { + const value_posterOptions_value = value_posterOptions! + valueSerializer.writePosterOptions(value_posterOptions_value) } } - writeShadowOptions(value: ShadowOptions): void { + public writeWeekStyle(value: WeekStyle): void { let valueSerializer : Serializer = this - const value_radius = value.radius - let value_radius_type : int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - if (RuntimeType.NUMBER == value_radius_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_0 = value_radius as number - valueSerializer.writeNumber(value_radius_0) - } - else if (RuntimeType.OBJECT == value_radius_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_1 = value_radius as Resource - valueSerializer.writeResource(value_radius_1) - } - const value_type = value.type - let value_type_type : int32 = RuntimeType.UNDEFINED - value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type as int32) - if ((RuntimeType.UNDEFINED) != (value_type_type)) { - const value_type_value = (value_type as ShadowType) - valueSerializer.writeInt32(TypeChecker.ShadowType_ToNumeric(value_type_value)) - } - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0 = value_color_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) + const value_weekColor = value.weekColor + let value_weekColor_type : int32 = RuntimeType.UNDEFINED + value_weekColor_type = runtimeType(value_weekColor) + valueSerializer.writeInt8(value_weekColor_type) + if ((RuntimeType.UNDEFINED) != (value_weekColor_type)) { + const value_weekColor_value = value_weekColor! + let value_weekColor_value_type : int32 = RuntimeType.UNDEFINED + value_weekColor_value_type = runtimeType(value_weekColor_value) + if (TypeChecker.isColor(value_weekColor_value)) { + valueSerializer.writeInt8(0) + const value_weekColor_value_0 = value_weekColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_weekColor_value_0)) } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1 = value_color_value as string - valueSerializer.writeString(value_color_value_1) + else if (RuntimeType.NUMBER == value_weekColor_value_type) { + valueSerializer.writeInt8(1) + const value_weekColor_value_1 = value_weekColor_value as number + valueSerializer.writeNumber(value_weekColor_value_1) } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_2 = value_color_value as Resource - valueSerializer.writeResource(value_color_value_2) + else if (RuntimeType.STRING == value_weekColor_value_type) { + valueSerializer.writeInt8(2) + const value_weekColor_value_2 = value_weekColor_value as string + valueSerializer.writeString(value_weekColor_value_2) } - else if (TypeChecker.isColoringStrategy(value_color_value)) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_3 = value_color_value as ColoringStrategy - valueSerializer.writeInt32(TypeChecker.ColoringStrategy_ToNumeric(value_color_value_3)) + else if (RuntimeType.OBJECT == value_weekColor_value_type) { + valueSerializer.writeInt8(3) + const value_weekColor_value_3 = value_weekColor_value as Resource + valueSerializer.writeResource(value_weekColor_value_3) } } - const value_offsetX = value.offsetX - let value_offsetX_type : int32 = RuntimeType.UNDEFINED - value_offsetX_type = runtimeType(value_offsetX) - valueSerializer.writeInt8(value_offsetX_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offsetX_type)) { - const value_offsetX_value = value_offsetX! - let value_offsetX_value_type : int32 = RuntimeType.UNDEFINED - value_offsetX_value_type = runtimeType(value_offsetX_value) - if (RuntimeType.NUMBER == value_offsetX_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_offsetX_value_0 = value_offsetX_value as number - valueSerializer.writeNumber(value_offsetX_value_0) + const value_weekendDayColor = value.weekendDayColor + let value_weekendDayColor_type : int32 = RuntimeType.UNDEFINED + value_weekendDayColor_type = runtimeType(value_weekendDayColor) + valueSerializer.writeInt8(value_weekendDayColor_type) + if ((RuntimeType.UNDEFINED) != (value_weekendDayColor_type)) { + const value_weekendDayColor_value = value_weekendDayColor! + let value_weekendDayColor_value_type : int32 = RuntimeType.UNDEFINED + value_weekendDayColor_value_type = runtimeType(value_weekendDayColor_value) + if (TypeChecker.isColor(value_weekendDayColor_value)) { + valueSerializer.writeInt8(0) + const value_weekendDayColor_value_0 = value_weekendDayColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_weekendDayColor_value_0)) } - else if (RuntimeType.OBJECT == value_offsetX_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_offsetX_value_1 = value_offsetX_value as Resource - valueSerializer.writeResource(value_offsetX_value_1) + else if (RuntimeType.NUMBER == value_weekendDayColor_value_type) { + valueSerializer.writeInt8(1) + const value_weekendDayColor_value_1 = value_weekendDayColor_value as number + valueSerializer.writeNumber(value_weekendDayColor_value_1) } - } - const value_offsetY = value.offsetY - let value_offsetY_type : int32 = RuntimeType.UNDEFINED - value_offsetY_type = runtimeType(value_offsetY) - valueSerializer.writeInt8(value_offsetY_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offsetY_type)) { - const value_offsetY_value = value_offsetY! - let value_offsetY_value_type : int32 = RuntimeType.UNDEFINED - value_offsetY_value_type = runtimeType(value_offsetY_value) - if (RuntimeType.NUMBER == value_offsetY_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_offsetY_value_0 = value_offsetY_value as number - valueSerializer.writeNumber(value_offsetY_value_0) + else if (RuntimeType.STRING == value_weekendDayColor_value_type) { + valueSerializer.writeInt8(2) + const value_weekendDayColor_value_2 = value_weekendDayColor_value as string + valueSerializer.writeString(value_weekendDayColor_value_2) } - else if (RuntimeType.OBJECT == value_offsetY_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_offsetY_value_1 = value_offsetY_value as Resource - valueSerializer.writeResource(value_offsetY_value_1) + else if (RuntimeType.OBJECT == value_weekendDayColor_value_type) { + valueSerializer.writeInt8(3) + const value_weekendDayColor_value_3 = value_weekendDayColor_value as Resource + valueSerializer.writeResource(value_weekendDayColor_value_3) } } - const value_fill = value.fill - let value_fill_type : int32 = RuntimeType.UNDEFINED - value_fill_type = runtimeType(value_fill) - valueSerializer.writeInt8(value_fill_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fill_type)) { - const value_fill_value = value_fill! - valueSerializer.writeBoolean(value_fill_value) - } - } - writesharedTransitionOptions(value: sharedTransitionOptions): void { - let valueSerializer : Serializer = this - const value_duration = value.duration - let value_duration_type : int32 = RuntimeType.UNDEFINED - value_duration_type = runtimeType(value_duration) - valueSerializer.writeInt8(value_duration_type as int32) - if ((RuntimeType.UNDEFINED) != (value_duration_type)) { - const value_duration_value = value_duration! - valueSerializer.writeNumber(value_duration_value) - } - const value_curve = value.curve - let value_curve_type : int32 = RuntimeType.UNDEFINED - value_curve_type = runtimeType(value_curve) - valueSerializer.writeInt8(value_curve_type as int32) - if ((RuntimeType.UNDEFINED) != (value_curve_type)) { - const value_curve_value = value_curve! - let value_curve_value_type : int32 = RuntimeType.UNDEFINED - value_curve_value_type = runtimeType(value_curve_value) - if (TypeChecker.isCurve(value_curve_value)) { - valueSerializer.writeInt8(0 as int32) - const value_curve_value_0 = value_curve_value as Curve - valueSerializer.writeInt32(TypeChecker.Curve_ToNumeric(value_curve_value_0)) + const value_weekendLunarColor = value.weekendLunarColor + let value_weekendLunarColor_type : int32 = RuntimeType.UNDEFINED + value_weekendLunarColor_type = runtimeType(value_weekendLunarColor) + valueSerializer.writeInt8(value_weekendLunarColor_type) + if ((RuntimeType.UNDEFINED) != (value_weekendLunarColor_type)) { + const value_weekendLunarColor_value = value_weekendLunarColor! + let value_weekendLunarColor_value_type : int32 = RuntimeType.UNDEFINED + value_weekendLunarColor_value_type = runtimeType(value_weekendLunarColor_value) + if (TypeChecker.isColor(value_weekendLunarColor_value)) { + valueSerializer.writeInt8(0) + const value_weekendLunarColor_value_0 = value_weekendLunarColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_weekendLunarColor_value_0)) } - else if (RuntimeType.STRING == value_curve_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_curve_value_1 = value_curve_value as string - valueSerializer.writeString(value_curve_value_1) + else if (RuntimeType.NUMBER == value_weekendLunarColor_value_type) { + valueSerializer.writeInt8(1) + const value_weekendLunarColor_value_1 = value_weekendLunarColor_value as number + valueSerializer.writeNumber(value_weekendLunarColor_value_1) } - else if (RuntimeType.OBJECT == value_curve_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_curve_value_2 = value_curve_value as ICurve - valueSerializer.writeICurve(value_curve_value_2) + else if (RuntimeType.STRING == value_weekendLunarColor_value_type) { + valueSerializer.writeInt8(2) + const value_weekendLunarColor_value_2 = value_weekendLunarColor_value as string + valueSerializer.writeString(value_weekendLunarColor_value_2) + } + else if (RuntimeType.OBJECT == value_weekendLunarColor_value_type) { + valueSerializer.writeInt8(3) + const value_weekendLunarColor_value_3 = value_weekendLunarColor_value as Resource + valueSerializer.writeResource(value_weekendLunarColor_value_3) } } - const value_delay = value.delay - let value_delay_type : int32 = RuntimeType.UNDEFINED - value_delay_type = runtimeType(value_delay) - valueSerializer.writeInt8(value_delay_type as int32) - if ((RuntimeType.UNDEFINED) != (value_delay_type)) { - const value_delay_value = value_delay! - valueSerializer.writeNumber(value_delay_value) + const value_weekFontSize = value.weekFontSize + let value_weekFontSize_type : int32 = RuntimeType.UNDEFINED + value_weekFontSize_type = runtimeType(value_weekFontSize) + valueSerializer.writeInt8(value_weekFontSize_type) + if ((RuntimeType.UNDEFINED) != (value_weekFontSize_type)) { + const value_weekFontSize_value = value_weekFontSize! + valueSerializer.writeNumber(value_weekFontSize_value) } - const value_motionPath = value.motionPath - let value_motionPath_type : int32 = RuntimeType.UNDEFINED - value_motionPath_type = runtimeType(value_motionPath) - valueSerializer.writeInt8(value_motionPath_type as int32) - if ((RuntimeType.UNDEFINED) != (value_motionPath_type)) { - const value_motionPath_value = value_motionPath! - valueSerializer.writeMotionPathOptions(value_motionPath_value) + const value_weekHeight = value.weekHeight + let value_weekHeight_type : int32 = RuntimeType.UNDEFINED + value_weekHeight_type = runtimeType(value_weekHeight) + valueSerializer.writeInt8(value_weekHeight_type) + if ((RuntimeType.UNDEFINED) != (value_weekHeight_type)) { + const value_weekHeight_value = value_weekHeight! + valueSerializer.writeNumber(value_weekHeight_value) } - const value_zIndex = value.zIndex - let value_zIndex_type : int32 = RuntimeType.UNDEFINED - value_zIndex_type = runtimeType(value_zIndex) - valueSerializer.writeInt8(value_zIndex_type as int32) - if ((RuntimeType.UNDEFINED) != (value_zIndex_type)) { - const value_zIndex_value = value_zIndex! - valueSerializer.writeNumber(value_zIndex_value) + const value_weekWidth = value.weekWidth + let value_weekWidth_type : int32 = RuntimeType.UNDEFINED + value_weekWidth_type = runtimeType(value_weekWidth) + valueSerializer.writeInt8(value_weekWidth_type) + if ((RuntimeType.UNDEFINED) != (value_weekWidth_type)) { + const value_weekWidth_value = value_weekWidth! + valueSerializer.writeNumber(value_weekWidth_value) } - const value_type = value.type - let value_type_type : int32 = RuntimeType.UNDEFINED - value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type as int32) - if ((RuntimeType.UNDEFINED) != (value_type_type)) { - const value_type_value = (value_type as SharedTransitionEffectType) - valueSerializer.writeInt32(TypeChecker.SharedTransitionEffectType_ToNumeric(value_type_value)) + const value_weekAndDayRowSpace = value.weekAndDayRowSpace + let value_weekAndDayRowSpace_type : int32 = RuntimeType.UNDEFINED + value_weekAndDayRowSpace_type = runtimeType(value_weekAndDayRowSpace) + valueSerializer.writeInt8(value_weekAndDayRowSpace_type) + if ((RuntimeType.UNDEFINED) != (value_weekAndDayRowSpace_type)) { + const value_weekAndDayRowSpace_value = value_weekAndDayRowSpace! + valueSerializer.writeNumber(value_weekAndDayRowSpace_value) } } - writeSheetInfo(value: SheetInfo): void { + public writeWorkStateStyle(value: WorkStateStyle): void { let valueSerializer : Serializer = this - const value_title = value.title - let value_title_type : int32 = RuntimeType.UNDEFINED - value_title_type = runtimeType(value_title) - if (RuntimeType.STRING == value_title_type) { - valueSerializer.writeInt8(0 as int32) - const value_title_0 = value_title as string - valueSerializer.writeString(value_title_0) - } - else if (RuntimeType.OBJECT == value_title_type) { - valueSerializer.writeInt8(1 as int32) - const value_title_1 = value_title as Resource - valueSerializer.writeResource(value_title_1) - } - const value_icon = value.icon - let value_icon_type : int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - let value_icon_value_type : int32 = RuntimeType.UNDEFINED - value_icon_value_type = runtimeType(value_icon_value) - if (RuntimeType.STRING == value_icon_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_icon_value_0 = value_icon_value as string - valueSerializer.writeString(value_icon_value_0) + const value_workDayMarkColor = value.workDayMarkColor + let value_workDayMarkColor_type : int32 = RuntimeType.UNDEFINED + value_workDayMarkColor_type = runtimeType(value_workDayMarkColor) + valueSerializer.writeInt8(value_workDayMarkColor_type) + if ((RuntimeType.UNDEFINED) != (value_workDayMarkColor_type)) { + const value_workDayMarkColor_value = value_workDayMarkColor! + let value_workDayMarkColor_value_type : int32 = RuntimeType.UNDEFINED + value_workDayMarkColor_value_type = runtimeType(value_workDayMarkColor_value) + if (TypeChecker.isColor(value_workDayMarkColor_value)) { + valueSerializer.writeInt8(0) + const value_workDayMarkColor_value_0 = value_workDayMarkColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_workDayMarkColor_value_0)) } - else if (RuntimeType.OBJECT == value_icon_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_icon_value_1 = value_icon_value as Resource - valueSerializer.writeResource(value_icon_value_1) + else if (RuntimeType.NUMBER == value_workDayMarkColor_value_type) { + valueSerializer.writeInt8(1) + const value_workDayMarkColor_value_1 = value_workDayMarkColor_value as number + valueSerializer.writeNumber(value_workDayMarkColor_value_1) } - } - const value_action = value.action - valueSerializer.holdAndWriteCallback(value_action) - } - writeSheetTitleOptions(value: SheetTitleOptions): void { - let valueSerializer : Serializer = this - const value_title = value.title - let value_title_type : int32 = RuntimeType.UNDEFINED - value_title_type = runtimeType(value_title) - if (RuntimeType.STRING == value_title_type) { - valueSerializer.writeInt8(0 as int32) - const value_title_0 = value_title as string - valueSerializer.writeString(value_title_0) - } - else if (RuntimeType.OBJECT == value_title_type) { - valueSerializer.writeInt8(1 as int32) - const value_title_1 = value_title as Resource - valueSerializer.writeResource(value_title_1) - } - const value_subtitle = value.subtitle - let value_subtitle_type : int32 = RuntimeType.UNDEFINED - value_subtitle_type = runtimeType(value_subtitle) - valueSerializer.writeInt8(value_subtitle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_subtitle_type)) { - const value_subtitle_value = value_subtitle! - let value_subtitle_value_type : int32 = RuntimeType.UNDEFINED - value_subtitle_value_type = runtimeType(value_subtitle_value) - if (RuntimeType.STRING == value_subtitle_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_subtitle_value_0 = value_subtitle_value as string - valueSerializer.writeString(value_subtitle_value_0) + else if (RuntimeType.STRING == value_workDayMarkColor_value_type) { + valueSerializer.writeInt8(2) + const value_workDayMarkColor_value_2 = value_workDayMarkColor_value as string + valueSerializer.writeString(value_workDayMarkColor_value_2) } - else if (RuntimeType.OBJECT == value_subtitle_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_subtitle_value_1 = value_subtitle_value as Resource - valueSerializer.writeResource(value_subtitle_value_1) + else if (RuntimeType.OBJECT == value_workDayMarkColor_value_type) { + valueSerializer.writeInt8(3) + const value_workDayMarkColor_value_3 = value_workDayMarkColor_value as Resource + valueSerializer.writeResource(value_workDayMarkColor_value_3) } } - } - writeSizeOptions(value: SizeOptions): void { - let valueSerializer : Serializer = this - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as string - valueSerializer.writeString(value_width_value_0) + const value_offDayMarkColor = value.offDayMarkColor + let value_offDayMarkColor_type : int32 = RuntimeType.UNDEFINED + value_offDayMarkColor_type = runtimeType(value_offDayMarkColor) + valueSerializer.writeInt8(value_offDayMarkColor_type) + if ((RuntimeType.UNDEFINED) != (value_offDayMarkColor_type)) { + const value_offDayMarkColor_value = value_offDayMarkColor! + let value_offDayMarkColor_value_type : int32 = RuntimeType.UNDEFINED + value_offDayMarkColor_value_type = runtimeType(value_offDayMarkColor_value) + if (TypeChecker.isColor(value_offDayMarkColor_value)) { + valueSerializer.writeInt8(0) + const value_offDayMarkColor_value_0 = value_offDayMarkColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_offDayMarkColor_value_0)) } - else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as number - valueSerializer.writeNumber(value_width_value_1) + else if (RuntimeType.NUMBER == value_offDayMarkColor_value_type) { + valueSerializer.writeInt8(1) + const value_offDayMarkColor_value_1 = value_offDayMarkColor_value as number + valueSerializer.writeNumber(value_offDayMarkColor_value_1) } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as Resource - valueSerializer.writeResource(value_width_value_2) + else if (RuntimeType.STRING == value_offDayMarkColor_value_type) { + valueSerializer.writeInt8(2) + const value_offDayMarkColor_value_2 = value_offDayMarkColor_value as string + valueSerializer.writeString(value_offDayMarkColor_value_2) + } + else if (RuntimeType.OBJECT == value_offDayMarkColor_value_type) { + valueSerializer.writeInt8(3) + const value_offDayMarkColor_value_3 = value_offDayMarkColor_value as Resource + valueSerializer.writeResource(value_offDayMarkColor_value_3) } } - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type : int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_value_0 = value_height_value as string - valueSerializer.writeString(value_height_value_0) - } - else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_value_1 = value_height_value as number - valueSerializer.writeNumber(value_height_value_1) - } - else if (RuntimeType.OBJECT == value_height_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_height_value_2 = value_height_value as Resource - valueSerializer.writeResource(value_height_value_2) - } + const value_workDayMarkSize = value.workDayMarkSize + let value_workDayMarkSize_type : int32 = RuntimeType.UNDEFINED + value_workDayMarkSize_type = runtimeType(value_workDayMarkSize) + valueSerializer.writeInt8(value_workDayMarkSize_type) + if ((RuntimeType.UNDEFINED) != (value_workDayMarkSize_type)) { + const value_workDayMarkSize_value = value_workDayMarkSize! + valueSerializer.writeNumber(value_workDayMarkSize_value) + } + const value_offDayMarkSize = value.offDayMarkSize + let value_offDayMarkSize_type : int32 = RuntimeType.UNDEFINED + value_offDayMarkSize_type = runtimeType(value_offDayMarkSize) + valueSerializer.writeInt8(value_offDayMarkSize_type) + if ((RuntimeType.UNDEFINED) != (value_offDayMarkSize_type)) { + const value_offDayMarkSize_value = value_offDayMarkSize! + valueSerializer.writeNumber(value_offDayMarkSize_value) + } + const value_workStateWidth = value.workStateWidth + let value_workStateWidth_type : int32 = RuntimeType.UNDEFINED + value_workStateWidth_type = runtimeType(value_workStateWidth) + valueSerializer.writeInt8(value_workStateWidth_type) + if ((RuntimeType.UNDEFINED) != (value_workStateWidth_type)) { + const value_workStateWidth_value = value_workStateWidth! + valueSerializer.writeNumber(value_workStateWidth_value) + } + const value_workStateHorizontalMovingDistance = value.workStateHorizontalMovingDistance + let value_workStateHorizontalMovingDistance_type : int32 = RuntimeType.UNDEFINED + value_workStateHorizontalMovingDistance_type = runtimeType(value_workStateHorizontalMovingDistance) + valueSerializer.writeInt8(value_workStateHorizontalMovingDistance_type) + if ((RuntimeType.UNDEFINED) != (value_workStateHorizontalMovingDistance_type)) { + const value_workStateHorizontalMovingDistance_value = value_workStateHorizontalMovingDistance! + valueSerializer.writeNumber(value_workStateHorizontalMovingDistance_value) + } + const value_workStateVerticalMovingDistance = value.workStateVerticalMovingDistance + let value_workStateVerticalMovingDistance_type : int32 = RuntimeType.UNDEFINED + value_workStateVerticalMovingDistance_type = runtimeType(value_workStateVerticalMovingDistance) + valueSerializer.writeInt8(value_workStateVerticalMovingDistance_type) + if ((RuntimeType.UNDEFINED) != (value_workStateVerticalMovingDistance_type)) { + const value_workStateVerticalMovingDistance_value = value_workStateVerticalMovingDistance! + valueSerializer.writeNumber(value_workStateVerticalMovingDistance_value) } } - writeSliderBlockStyle(value: SliderBlockStyle): void { + public writeXComponentOptions(value: XComponentOptions): void { let valueSerializer : Serializer = this const value_type = value.type - valueSerializer.writeInt32(TypeChecker.SliderBlockType_ToNumeric(value_type)) - const value_image = value.image - let value_image_type : int32 = RuntimeType.UNDEFINED - value_image_type = runtimeType(value_image) - valueSerializer.writeInt8(value_image_type as int32) - if ((RuntimeType.UNDEFINED) != (value_image_type)) { - const value_image_value = value_image! - let value_image_value_type : int32 = RuntimeType.UNDEFINED - value_image_value_type = runtimeType(value_image_value) - if (RuntimeType.STRING == value_image_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_image_value_0 = value_image_value as string - valueSerializer.writeString(value_image_value_0) - } - else if (RuntimeType.OBJECT == value_image_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_image_value_1 = value_image_value as Resource - valueSerializer.writeResource(value_image_value_1) - } + valueSerializer.writeInt32(TypeChecker.XComponentType_ToNumeric(value_type)) + const value_controller = value.controller + valueSerializer.writeXComponentController(value_controller) + const value_imageAIOptions = value.imageAIOptions + let value_imageAIOptions_type : int32 = RuntimeType.UNDEFINED + value_imageAIOptions_type = runtimeType(value_imageAIOptions) + valueSerializer.writeInt8(value_imageAIOptions_type) + if ((RuntimeType.UNDEFINED) != (value_imageAIOptions_type)) { + const value_imageAIOptions_value = value_imageAIOptions! + valueSerializer.writeImageAIOptions(value_imageAIOptions_value) } - const value_shape = value.shape - let value_shape_type : int32 = RuntimeType.UNDEFINED - value_shape_type = runtimeType(value_shape) - valueSerializer.writeInt8(value_shape_type as int32) - if ((RuntimeType.UNDEFINED) != (value_shape_type)) { - const value_shape_value = value_shape! - valueSerializer.writeString(value_shape_value) + const value_screenId = value.screenId + let value_screenId_type : int32 = RuntimeType.UNDEFINED + value_screenId_type = runtimeType(value_screenId) + valueSerializer.writeInt8(value_screenId_type) + if ((RuntimeType.UNDEFINED) != (value_screenId_type)) { + const value_screenId_value = value_screenId! + valueSerializer.writeNumber(value_screenId_value) } } - writeStyledStringChangeValue(value: StyledStringChangeValue): void { + public writeArrowStyle(value: ArrowStyle): void { let valueSerializer : Serializer = this - const value_range = value.range - valueSerializer.writeTextRange(value_range) - const value_replacementString = value.replacementString - valueSerializer.writeStyledString(value_replacementString) - const value_previewText = value.previewText - let value_previewText_type : int32 = RuntimeType.UNDEFINED - value_previewText_type = runtimeType(value_previewText) - valueSerializer.writeInt8(value_previewText_type as int32) - if ((RuntimeType.UNDEFINED) != (value_previewText_type)) { - const value_previewText_value = value_previewText! - valueSerializer.writeStyledString(value_previewText_value) + const value_showBackground = value.showBackground + let value_showBackground_type : int32 = RuntimeType.UNDEFINED + value_showBackground_type = runtimeType(value_showBackground) + valueSerializer.writeInt8(value_showBackground_type) + if ((RuntimeType.UNDEFINED) != (value_showBackground_type)) { + const value_showBackground_value = value_showBackground! + valueSerializer.writeBoolean(value_showBackground_value) } - } - writeSwipeActionItem(value: SwipeActionItem): void { - let valueSerializer : Serializer = this - const value_builder = value.builder - let value_builder_type : int32 = RuntimeType.UNDEFINED - value_builder_type = runtimeType(value_builder) - valueSerializer.writeInt8(value_builder_type as int32) - if ((RuntimeType.UNDEFINED) != (value_builder_type)) { - const value_builder_value = value_builder! - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) + const value_isSidebarMiddle = value.isSidebarMiddle + let value_isSidebarMiddle_type : int32 = RuntimeType.UNDEFINED + value_isSidebarMiddle_type = runtimeType(value_isSidebarMiddle) + valueSerializer.writeInt8(value_isSidebarMiddle_type) + if ((RuntimeType.UNDEFINED) != (value_isSidebarMiddle_type)) { + const value_isSidebarMiddle_value = value_isSidebarMiddle! + valueSerializer.writeBoolean(value_isSidebarMiddle_value) } - const value_actionAreaDistance = value.actionAreaDistance - let value_actionAreaDistance_type : int32 = RuntimeType.UNDEFINED - value_actionAreaDistance_type = runtimeType(value_actionAreaDistance) - valueSerializer.writeInt8(value_actionAreaDistance_type as int32) - if ((RuntimeType.UNDEFINED) != (value_actionAreaDistance_type)) { - const value_actionAreaDistance_value = value_actionAreaDistance! - let value_actionAreaDistance_value_type : int32 = RuntimeType.UNDEFINED - value_actionAreaDistance_value_type = runtimeType(value_actionAreaDistance_value) - if (RuntimeType.STRING == value_actionAreaDistance_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_actionAreaDistance_value_0 = value_actionAreaDistance_value as string - valueSerializer.writeString(value_actionAreaDistance_value_0) - } - else if (RuntimeType.NUMBER == value_actionAreaDistance_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_actionAreaDistance_value_1 = value_actionAreaDistance_value as number - valueSerializer.writeNumber(value_actionAreaDistance_value_1) - } - else if (RuntimeType.OBJECT == value_actionAreaDistance_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_actionAreaDistance_value_2 = value_actionAreaDistance_value as Resource - valueSerializer.writeResource(value_actionAreaDistance_value_2) + const value_backgroundSize = value.backgroundSize + let value_backgroundSize_type : int32 = RuntimeType.UNDEFINED + value_backgroundSize_type = runtimeType(value_backgroundSize) + valueSerializer.writeInt8(value_backgroundSize_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundSize_type)) { + const value_backgroundSize_value = value_backgroundSize! + let value_backgroundSize_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundSize_value_type = runtimeType(value_backgroundSize_value) + if (RuntimeType.STRING == value_backgroundSize_value_type) { + valueSerializer.writeInt8(0) + const value_backgroundSize_value_0 = value_backgroundSize_value as string + valueSerializer.writeString(value_backgroundSize_value_0) } - } - const value_onAction = value.onAction - let value_onAction_type : int32 = RuntimeType.UNDEFINED - value_onAction_type = runtimeType(value_onAction) - valueSerializer.writeInt8(value_onAction_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onAction_type)) { - const value_onAction_value = value_onAction! - valueSerializer.holdAndWriteCallback(value_onAction_value) - } - const value_onEnterActionArea = value.onEnterActionArea - let value_onEnterActionArea_type : int32 = RuntimeType.UNDEFINED - value_onEnterActionArea_type = runtimeType(value_onEnterActionArea) - valueSerializer.writeInt8(value_onEnterActionArea_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onEnterActionArea_type)) { - const value_onEnterActionArea_value = value_onEnterActionArea! - valueSerializer.holdAndWriteCallback(value_onEnterActionArea_value) - } - const value_onExitActionArea = value.onExitActionArea - let value_onExitActionArea_type : int32 = RuntimeType.UNDEFINED - value_onExitActionArea_type = runtimeType(value_onExitActionArea) - valueSerializer.writeInt8(value_onExitActionArea_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onExitActionArea_type)) { - const value_onExitActionArea_value = value_onExitActionArea! - valueSerializer.holdAndWriteCallback(value_onExitActionArea_value) - } - const value_onStateChange = value.onStateChange - let value_onStateChange_type : int32 = RuntimeType.UNDEFINED - value_onStateChange_type = runtimeType(value_onStateChange) - valueSerializer.writeInt8(value_onStateChange_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onStateChange_type)) { - const value_onStateChange_value = value_onStateChange! - valueSerializer.holdAndWriteCallback(value_onStateChange_value) - } - } - writeSwitchStyle(value: SwitchStyle): void { - let valueSerializer : Serializer = this - const value_pointRadius = value.pointRadius - let value_pointRadius_type : int32 = RuntimeType.UNDEFINED - value_pointRadius_type = runtimeType(value_pointRadius) - valueSerializer.writeInt8(value_pointRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_pointRadius_type)) { - const value_pointRadius_value = value_pointRadius! - let value_pointRadius_value_type : int32 = RuntimeType.UNDEFINED - value_pointRadius_value_type = runtimeType(value_pointRadius_value) - if (RuntimeType.NUMBER == value_pointRadius_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_pointRadius_value_0 = value_pointRadius_value as number - valueSerializer.writeNumber(value_pointRadius_value_0) + else if (RuntimeType.NUMBER == value_backgroundSize_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundSize_value_1 = value_backgroundSize_value as number + valueSerializer.writeNumber(value_backgroundSize_value_1) } - else if (RuntimeType.OBJECT == value_pointRadius_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_pointRadius_value_1 = value_pointRadius_value as Resource - valueSerializer.writeResource(value_pointRadius_value_1) + else if (RuntimeType.OBJECT == value_backgroundSize_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundSize_value_2 = value_backgroundSize_value as Resource + valueSerializer.writeResource(value_backgroundSize_value_2) } } - const value_unselectedColor = value.unselectedColor - let value_unselectedColor_type : int32 = RuntimeType.UNDEFINED - value_unselectedColor_type = runtimeType(value_unselectedColor) - valueSerializer.writeInt8(value_unselectedColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { - const value_unselectedColor_value = value_unselectedColor! - let value_unselectedColor_value_type : int32 = RuntimeType.UNDEFINED - value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) - if (TypeChecker.isColor(value_unselectedColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_unselectedColor_value_0 = value_unselectedColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_unselectedColor_value_0)) + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (TypeChecker.isColor(value_backgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = value_backgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) } - else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_unselectedColor_value_1 = value_unselectedColor_value as number - valueSerializer.writeNumber(value_unselectedColor_value_1) + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = value_backgroundColor_value as number + valueSerializer.writeNumber(value_backgroundColor_value_1) } - else if (RuntimeType.STRING == value_unselectedColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_unselectedColor_value_2 = value_unselectedColor_value as string - valueSerializer.writeString(value_unselectedColor_value_2) + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = value_backgroundColor_value as string + valueSerializer.writeString(value_backgroundColor_value_2) } - else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_unselectedColor_value_3 = value_unselectedColor_value as Resource - valueSerializer.writeResource(value_unselectedColor_value_3) + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = value_backgroundColor_value as Resource + valueSerializer.writeResource(value_backgroundColor_value_3) } } - const value_pointColor = value.pointColor - let value_pointColor_type : int32 = RuntimeType.UNDEFINED - value_pointColor_type = runtimeType(value_pointColor) - valueSerializer.writeInt8(value_pointColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_pointColor_type)) { - const value_pointColor_value = value_pointColor! - let value_pointColor_value_type : int32 = RuntimeType.UNDEFINED - value_pointColor_value_type = runtimeType(value_pointColor_value) - if (TypeChecker.isColor(value_pointColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_pointColor_value_0 = value_pointColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_pointColor_value_0)) + const value_arrowSize = value.arrowSize + let value_arrowSize_type : int32 = RuntimeType.UNDEFINED + value_arrowSize_type = runtimeType(value_arrowSize) + valueSerializer.writeInt8(value_arrowSize_type) + if ((RuntimeType.UNDEFINED) != (value_arrowSize_type)) { + const value_arrowSize_value = value_arrowSize! + let value_arrowSize_value_type : int32 = RuntimeType.UNDEFINED + value_arrowSize_value_type = runtimeType(value_arrowSize_value) + if (RuntimeType.STRING == value_arrowSize_value_type) { + valueSerializer.writeInt8(0) + const value_arrowSize_value_0 = value_arrowSize_value as string + valueSerializer.writeString(value_arrowSize_value_0) } - else if (RuntimeType.NUMBER == value_pointColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_pointColor_value_1 = value_pointColor_value as number - valueSerializer.writeNumber(value_pointColor_value_1) + else if (RuntimeType.NUMBER == value_arrowSize_value_type) { + valueSerializer.writeInt8(1) + const value_arrowSize_value_1 = value_arrowSize_value as number + valueSerializer.writeNumber(value_arrowSize_value_1) } - else if (RuntimeType.STRING == value_pointColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_pointColor_value_2 = value_pointColor_value as string - valueSerializer.writeString(value_pointColor_value_2) - } - else if (RuntimeType.OBJECT == value_pointColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_pointColor_value_3 = value_pointColor_value as Resource - valueSerializer.writeResource(value_pointColor_value_3) - } - } - const value_trackBorderRadius = value.trackBorderRadius - let value_trackBorderRadius_type : int32 = RuntimeType.UNDEFINED - value_trackBorderRadius_type = runtimeType(value_trackBorderRadius) - valueSerializer.writeInt8(value_trackBorderRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_trackBorderRadius_type)) { - const value_trackBorderRadius_value = value_trackBorderRadius! - let value_trackBorderRadius_value_type : int32 = RuntimeType.UNDEFINED - value_trackBorderRadius_value_type = runtimeType(value_trackBorderRadius_value) - if (RuntimeType.NUMBER == value_trackBorderRadius_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_trackBorderRadius_value_0 = value_trackBorderRadius_value as number - valueSerializer.writeNumber(value_trackBorderRadius_value_0) - } - else if (RuntimeType.OBJECT == value_trackBorderRadius_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_trackBorderRadius_value_1 = value_trackBorderRadius_value as Resource - valueSerializer.writeResource(value_trackBorderRadius_value_1) - } - } - } - writeTabBarIconStyle(value: TabBarIconStyle): void { - let valueSerializer : Serializer = this - const value_selectedColor = value.selectedColor - let value_selectedColor_type : int32 = RuntimeType.UNDEFINED - value_selectedColor_type = runtimeType(value_selectedColor) - valueSerializer.writeInt8(value_selectedColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { - const value_selectedColor_value = value_selectedColor! - let value_selectedColor_value_type : int32 = RuntimeType.UNDEFINED - value_selectedColor_value_type = runtimeType(value_selectedColor_value) - if (TypeChecker.isColor(value_selectedColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_selectedColor_value_0 = value_selectedColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_selectedColor_value_0)) - } - else if (RuntimeType.NUMBER == value_selectedColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_selectedColor_value_1 = value_selectedColor_value as number - valueSerializer.writeNumber(value_selectedColor_value_1) - } - else if (RuntimeType.STRING == value_selectedColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_selectedColor_value_2 = value_selectedColor_value as string - valueSerializer.writeString(value_selectedColor_value_2) - } - else if (RuntimeType.OBJECT == value_selectedColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_selectedColor_value_3 = value_selectedColor_value as Resource - valueSerializer.writeResource(value_selectedColor_value_3) - } - } - const value_unselectedColor = value.unselectedColor - let value_unselectedColor_type : int32 = RuntimeType.UNDEFINED - value_unselectedColor_type = runtimeType(value_unselectedColor) - valueSerializer.writeInt8(value_unselectedColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { - const value_unselectedColor_value = value_unselectedColor! - let value_unselectedColor_value_type : int32 = RuntimeType.UNDEFINED - value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) - if (TypeChecker.isColor(value_unselectedColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_unselectedColor_value_0 = value_unselectedColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_unselectedColor_value_0)) - } - else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_unselectedColor_value_1 = value_unselectedColor_value as number - valueSerializer.writeNumber(value_unselectedColor_value_1) - } - else if (RuntimeType.STRING == value_unselectedColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_unselectedColor_value_2 = value_unselectedColor_value as string - valueSerializer.writeString(value_unselectedColor_value_2) - } - else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_unselectedColor_value_3 = value_unselectedColor_value as Resource - valueSerializer.writeResource(value_unselectedColor_value_3) - } - } - } - writeTabBarOptions(value: TabBarOptions): void { - let valueSerializer : Serializer = this - const value_icon = value.icon - let value_icon_type : int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - let value_icon_value_type : int32 = RuntimeType.UNDEFINED - value_icon_value_type = runtimeType(value_icon_value) - if (RuntimeType.STRING == value_icon_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_icon_value_0 = value_icon_value as string - valueSerializer.writeString(value_icon_value_0) - } - else if (RuntimeType.OBJECT == value_icon_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_icon_value_1 = value_icon_value as Resource - valueSerializer.writeResource(value_icon_value_1) - } - } - const value_text = value.text - let value_text_type : int32 = RuntimeType.UNDEFINED - value_text_type = runtimeType(value_text) - valueSerializer.writeInt8(value_text_type as int32) - if ((RuntimeType.UNDEFINED) != (value_text_type)) { - const value_text_value = value_text! - let value_text_value_type : int32 = RuntimeType.UNDEFINED - value_text_value_type = runtimeType(value_text_value) - if (RuntimeType.STRING == value_text_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_text_value_0 = value_text_value as string - valueSerializer.writeString(value_text_value_0) - } - else if (RuntimeType.OBJECT == value_text_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_text_value_1 = value_text_value as Resource - valueSerializer.writeResource(value_text_value_1) + else if (RuntimeType.OBJECT == value_arrowSize_value_type) { + valueSerializer.writeInt8(2) + const value_arrowSize_value_2 = value_arrowSize_value as Resource + valueSerializer.writeResource(value_arrowSize_value_2) } } - } - writeTerminationInfo(value: TerminationInfo): void { - let valueSerializer : Serializer = this - const value_code = value.code - valueSerializer.writeNumber(value_code) - const value_want = value.want - let value_want_type : int32 = RuntimeType.UNDEFINED - value_want_type = runtimeType(value_want) - valueSerializer.writeInt8(value_want_type as int32) - if ((RuntimeType.UNDEFINED) != (value_want_type)) { - const value_want_value = value_want! - valueSerializer.writeWant(value_want_value) - } - } - writeTextAreaOptions(value: TextAreaOptions): void { - let valueSerializer : Serializer = this - const value_placeholder = value.placeholder - let value_placeholder_type : int32 = RuntimeType.UNDEFINED - value_placeholder_type = runtimeType(value_placeholder) - valueSerializer.writeInt8(value_placeholder_type as int32) - if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { - const value_placeholder_value = value_placeholder! - let value_placeholder_value_type : int32 = RuntimeType.UNDEFINED - value_placeholder_value_type = runtimeType(value_placeholder_value) - if (RuntimeType.STRING == value_placeholder_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_placeholder_value_0 = value_placeholder_value as string - valueSerializer.writeString(value_placeholder_value_0) - } - else if (RuntimeType.OBJECT == value_placeholder_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_placeholder_value_1 = value_placeholder_value as Resource - valueSerializer.writeResource(value_placeholder_value_1) + const value_arrowColor = value.arrowColor + let value_arrowColor_type : int32 = RuntimeType.UNDEFINED + value_arrowColor_type = runtimeType(value_arrowColor) + valueSerializer.writeInt8(value_arrowColor_type) + if ((RuntimeType.UNDEFINED) != (value_arrowColor_type)) { + const value_arrowColor_value = value_arrowColor! + let value_arrowColor_value_type : int32 = RuntimeType.UNDEFINED + value_arrowColor_value_type = runtimeType(value_arrowColor_value) + if (TypeChecker.isColor(value_arrowColor_value)) { + valueSerializer.writeInt8(0) + const value_arrowColor_value_0 = value_arrowColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_arrowColor_value_0)) } - } - const value_text = value.text - let value_text_type : int32 = RuntimeType.UNDEFINED - value_text_type = runtimeType(value_text) - valueSerializer.writeInt8(value_text_type as int32) - if ((RuntimeType.UNDEFINED) != (value_text_type)) { - const value_text_value = value_text! - let value_text_value_type : int32 = RuntimeType.UNDEFINED - value_text_value_type = runtimeType(value_text_value) - if (RuntimeType.STRING == value_text_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_text_value_0 = value_text_value as string - valueSerializer.writeString(value_text_value_0) + else if (RuntimeType.NUMBER == value_arrowColor_value_type) { + valueSerializer.writeInt8(1) + const value_arrowColor_value_1 = value_arrowColor_value as number + valueSerializer.writeNumber(value_arrowColor_value_1) } - else if (RuntimeType.OBJECT == value_text_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_text_value_1 = value_text_value as Resource - valueSerializer.writeResource(value_text_value_1) + else if (RuntimeType.STRING == value_arrowColor_value_type) { + valueSerializer.writeInt8(2) + const value_arrowColor_value_2 = value_arrowColor_value as string + valueSerializer.writeString(value_arrowColor_value_2) } - } - const value_controller = value.controller - let value_controller_type : int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type as int32) - if ((RuntimeType.UNDEFINED) != (value_controller_type)) { - const value_controller_value = value_controller! - valueSerializer.writeTextAreaController(value_controller_value) - } - } - writeTextCascadePickerRangeContent(value: TextCascadePickerRangeContent): void { - let valueSerializer : Serializer = this - const value_text = value.text - let value_text_type : int32 = RuntimeType.UNDEFINED - value_text_type = runtimeType(value_text) - if (RuntimeType.STRING == value_text_type) { - valueSerializer.writeInt8(0 as int32) - const value_text_0 = value_text as string - valueSerializer.writeString(value_text_0) - } - else if (RuntimeType.OBJECT == value_text_type) { - valueSerializer.writeInt8(1 as int32) - const value_text_1 = value_text as Resource - valueSerializer.writeResource(value_text_1) - } - const value_children = value.children - let value_children_type : int32 = RuntimeType.UNDEFINED - value_children_type = runtimeType(value_children) - valueSerializer.writeInt8(value_children_type as int32) - if ((RuntimeType.UNDEFINED) != (value_children_type)) { - const value_children_value = value_children! - valueSerializer.writeInt32(value_children_value.length as int32) - for (let i = 0; i < value_children_value.length; i++) { - const value_children_value_element : TextCascadePickerRangeContent = value_children_value[i] - valueSerializer.writeTextCascadePickerRangeContent(value_children_value_element) + else if (RuntimeType.OBJECT == value_arrowColor_value_type) { + valueSerializer.writeInt8(3) + const value_arrowColor_value_3 = value_arrowColor_value as Resource + valueSerializer.writeResource(value_arrowColor_value_3) } } } - writeTextDecorationOptions(value: TextDecorationOptions): void { + public writeBadgeStyle(value: BadgeStyle): void { let valueSerializer : Serializer = this - const value_type = value.type - valueSerializer.writeInt32(TypeChecker.TextDecorationType_ToNumeric(value_type)) const value_color = value.color let value_color_type : int32 = RuntimeType.UNDEFINED value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) + valueSerializer.writeInt8(value_color_type) if ((RuntimeType.UNDEFINED) != (value_color_type)) { const value_color_value = value_color! let value_color_value_type : int32 = RuntimeType.UNDEFINED value_color_value_type = runtimeType(value_color_value) if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_color_value_0 = value_color_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_color_value_1 = value_color_value as number valueSerializer.writeNumber(value_color_value_1) } else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_color_value_2 = value_color_value as string valueSerializer.writeString(value_color_value_2) } else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_color_value_3 = value_color_value as Resource valueSerializer.writeResource(value_color_value_3) } } - const value_style = value.style - let value_style_type : int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = (value_style as TextDecorationStyle) - valueSerializer.writeInt32(TypeChecker.TextDecorationStyle_ToNumeric(value_style_value)) - } - } - writeTextInputOptions(value: TextInputOptions): void { - let valueSerializer : Serializer = this - const value_placeholder = value.placeholder - let value_placeholder_type : int32 = RuntimeType.UNDEFINED - value_placeholder_type = runtimeType(value_placeholder) - valueSerializer.writeInt8(value_placeholder_type as int32) - if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { - const value_placeholder_value = value_placeholder! - let value_placeholder_value_type : int32 = RuntimeType.UNDEFINED - value_placeholder_value_type = runtimeType(value_placeholder_value) - if (RuntimeType.STRING == value_placeholder_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_placeholder_value_0 = value_placeholder_value as string - valueSerializer.writeString(value_placeholder_value_0) + const value_fontSize = value.fontSize + let value_fontSize_type : int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + let value_fontSize_value_type : int32 = RuntimeType.UNDEFINED + value_fontSize_value_type = runtimeType(value_fontSize_value) + if (RuntimeType.NUMBER == value_fontSize_value_type) { + valueSerializer.writeInt8(0) + const value_fontSize_value_0 = value_fontSize_value as number + valueSerializer.writeNumber(value_fontSize_value_0) } - else if (RuntimeType.OBJECT == value_placeholder_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_placeholder_value_1 = value_placeholder_value as Resource - valueSerializer.writeResource(value_placeholder_value_1) + else if (RuntimeType.STRING == value_fontSize_value_type) { + valueSerializer.writeInt8(1) + const value_fontSize_value_1 = value_fontSize_value as string + valueSerializer.writeString(value_fontSize_value_1) } } - const value_text = value.text - let value_text_type : int32 = RuntimeType.UNDEFINED - value_text_type = runtimeType(value_text) - valueSerializer.writeInt8(value_text_type as int32) - if ((RuntimeType.UNDEFINED) != (value_text_type)) { - const value_text_value = value_text! - let value_text_value_type : int32 = RuntimeType.UNDEFINED - value_text_value_type = runtimeType(value_text_value) - if (RuntimeType.STRING == value_text_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_text_value_0 = value_text_value as string - valueSerializer.writeString(value_text_value_0) + const value_badgeSize = value.badgeSize + let value_badgeSize_type : int32 = RuntimeType.UNDEFINED + value_badgeSize_type = runtimeType(value_badgeSize) + valueSerializer.writeInt8(value_badgeSize_type) + if ((RuntimeType.UNDEFINED) != (value_badgeSize_type)) { + const value_badgeSize_value = value_badgeSize! + let value_badgeSize_value_type : int32 = RuntimeType.UNDEFINED + value_badgeSize_value_type = runtimeType(value_badgeSize_value) + if (RuntimeType.NUMBER == value_badgeSize_value_type) { + valueSerializer.writeInt8(0) + const value_badgeSize_value_0 = value_badgeSize_value as number + valueSerializer.writeNumber(value_badgeSize_value_0) } - else if (RuntimeType.OBJECT == value_text_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_text_value_1 = value_text_value as Resource - valueSerializer.writeResource(value_text_value_1) + else if (RuntimeType.STRING == value_badgeSize_value_type) { + valueSerializer.writeInt8(1) + const value_badgeSize_value_1 = value_badgeSize_value as string + valueSerializer.writeString(value_badgeSize_value_1) } } - const value_controller = value.controller - let value_controller_type : int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type as int32) - if ((RuntimeType.UNDEFINED) != (value_controller_type)) { - const value_controller_value = value_controller! - valueSerializer.writeTextInputController(value_controller_value) - } - } - writeTextMenuItem(value: TextMenuItem): void { - let valueSerializer : Serializer = this - const value_content = value.content - let value_content_type : int32 = RuntimeType.UNDEFINED - value_content_type = runtimeType(value_content) - if (RuntimeType.STRING == value_content_type) { - valueSerializer.writeInt8(0 as int32) - const value_content_0 = value_content as string - valueSerializer.writeString(value_content_0) - } - else if (RuntimeType.OBJECT == value_content_type) { - valueSerializer.writeInt8(1 as int32) - const value_content_1 = value_content as Resource - valueSerializer.writeResource(value_content_1) - } - const value_icon = value.icon - let value_icon_type : int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - let value_icon_value_type : int32 = RuntimeType.UNDEFINED - value_icon_value_type = runtimeType(value_icon_value) - if (RuntimeType.STRING == value_icon_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_icon_value_0 = value_icon_value as string - valueSerializer.writeString(value_icon_value_0) + const value_badgeColor = value.badgeColor + let value_badgeColor_type : int32 = RuntimeType.UNDEFINED + value_badgeColor_type = runtimeType(value_badgeColor) + valueSerializer.writeInt8(value_badgeColor_type) + if ((RuntimeType.UNDEFINED) != (value_badgeColor_type)) { + const value_badgeColor_value = value_badgeColor! + let value_badgeColor_value_type : int32 = RuntimeType.UNDEFINED + value_badgeColor_value_type = runtimeType(value_badgeColor_value) + if (TypeChecker.isColor(value_badgeColor_value)) { + valueSerializer.writeInt8(0) + const value_badgeColor_value_0 = value_badgeColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_badgeColor_value_0)) } - else if (RuntimeType.OBJECT == value_icon_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_icon_value_1 = value_icon_value as Resource - valueSerializer.writeResource(value_icon_value_1) + else if (RuntimeType.NUMBER == value_badgeColor_value_type) { + valueSerializer.writeInt8(1) + const value_badgeColor_value_1 = value_badgeColor_value as number + valueSerializer.writeNumber(value_badgeColor_value_1) } - } - const value_id = value.id - valueSerializer.writeTextMenuItemId(value_id) - } - writeTextPickerOptions(value: TextPickerOptions): void { - let valueSerializer : Serializer = this - const value_range = value.range - let value_range_type : int32 = RuntimeType.UNDEFINED - value_range_type = runtimeType(value_range) - if (((RuntimeType.OBJECT) == (value_range_type)) && (TypeChecker.isArray_String(value_range))) { - valueSerializer.writeInt8(0 as int32) - const value_range_0 = value_range as Array - valueSerializer.writeInt32(value_range_0.length as int32) - for (let i = 0; i < value_range_0.length; i++) { - const value_range_0_element : string = value_range_0[i] - valueSerializer.writeString(value_range_0_element) + else if (RuntimeType.STRING == value_badgeColor_value_type) { + valueSerializer.writeInt8(2) + const value_badgeColor_value_2 = value_badgeColor_value as string + valueSerializer.writeString(value_badgeColor_value_2) } - } - else if (((RuntimeType.OBJECT) == (value_range_type)) && (TypeChecker.isArray_Array_String(value_range))) { - valueSerializer.writeInt8(1 as int32) - const value_range_1 = value_range as Array> - valueSerializer.writeInt32(value_range_1.length as int32) - for (let i = 0; i < value_range_1.length; i++) { - const value_range_1_element : Array = value_range_1[i] - valueSerializer.writeInt32(value_range_1_element.length as int32) - for (let i = 0; i < value_range_1_element.length; i++) { - const value_range_1_element_element : string = value_range_1_element[i] - valueSerializer.writeString(value_range_1_element_element) - } + else if (RuntimeType.OBJECT == value_badgeColor_value_type) { + valueSerializer.writeInt8(3) + const value_badgeColor_value_3 = value_badgeColor_value as Resource + valueSerializer.writeResource(value_badgeColor_value_3) } } - else if (TypeChecker.isResource(value_range, false, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_range_2 = value_range as Resource - valueSerializer.writeResource(value_range_2) - } - else if (((RuntimeType.OBJECT) == (value_range_type)) && (TypeChecker.isArray_TextPickerRangeContent(value_range))) { - valueSerializer.writeInt8(3 as int32) - const value_range_3 = value_range as Array - valueSerializer.writeInt32(value_range_3.length as int32) - for (let i = 0; i < value_range_3.length; i++) { - const value_range_3_element : TextPickerRangeContent = value_range_3[i] - valueSerializer.writeTextPickerRangeContent(value_range_3_element) + const value_borderColor = value.borderColor + let value_borderColor_type : int32 = RuntimeType.UNDEFINED + value_borderColor_type = runtimeType(value_borderColor) + valueSerializer.writeInt8(value_borderColor_type) + if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { + const value_borderColor_value = value_borderColor! + let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_type = runtimeType(value_borderColor_value) + if (TypeChecker.isColor(value_borderColor_value)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0 = value_borderColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0)) } - } - else if (((RuntimeType.OBJECT) == (value_range_type)) && (TypeChecker.isArray_TextCascadePickerRangeContent(value_range))) { - valueSerializer.writeInt8(4 as int32) - const value_range_4 = value_range as Array - valueSerializer.writeInt32(value_range_4.length as int32) - for (let i = 0; i < value_range_4.length; i++) { - const value_range_4_element : TextCascadePickerRangeContent = value_range_4[i] - valueSerializer.writeTextCascadePickerRangeContent(value_range_4_element) + else if (RuntimeType.NUMBER == value_borderColor_value_type) { + valueSerializer.writeInt8(1) + const value_borderColor_value_1 = value_borderColor_value as number + valueSerializer.writeNumber(value_borderColor_value_1) } - } - const value_value = value.value - let value_value_type : int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - valueSerializer.writeInt8(value_value_type as int32) - if ((RuntimeType.UNDEFINED) != (value_value_type)) { - const value_value_value = value_value! - let value_value_value_type : int32 = RuntimeType.UNDEFINED - value_value_value_type = runtimeType(value_value_value) - if (RuntimeType.STRING == value_value_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_value_value_0 = value_value_value as string - valueSerializer.writeString(value_value_value_0) + else if (RuntimeType.STRING == value_borderColor_value_type) { + valueSerializer.writeInt8(2) + const value_borderColor_value_2 = value_borderColor_value as string + valueSerializer.writeString(value_borderColor_value_2) } - else if (RuntimeType.OBJECT == value_value_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_value_value_1 = value_value_value as Array - valueSerializer.writeInt32(value_value_value_1.length as int32) - for (let i = 0; i < value_value_value_1.length; i++) { - const value_value_value_1_element : string = value_value_value_1[i] - valueSerializer.writeString(value_value_value_1_element) - } + else if (RuntimeType.OBJECT == value_borderColor_value_type) { + valueSerializer.writeInt8(3) + const value_borderColor_value_3 = value_borderColor_value as Resource + valueSerializer.writeResource(value_borderColor_value_3) } } - const value_selected = value.selected - let value_selected_type : int32 = RuntimeType.UNDEFINED - value_selected_type = runtimeType(value_selected) - valueSerializer.writeInt8(value_selected_type as int32) - if ((RuntimeType.UNDEFINED) != (value_selected_type)) { - const value_selected_value = value_selected! - let value_selected_value_type : int32 = RuntimeType.UNDEFINED - value_selected_value_type = runtimeType(value_selected_value) - if (RuntimeType.NUMBER == value_selected_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_selected_value_0 = value_selected_value as number - valueSerializer.writeNumber(value_selected_value_0) + const value_borderWidth = value.borderWidth + let value_borderWidth_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_type = runtimeType(value_borderWidth) + valueSerializer.writeInt8(value_borderWidth_type) + if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { + const value_borderWidth_value = value_borderWidth! + let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_type = runtimeType(value_borderWidth_value) + if (RuntimeType.STRING == value_borderWidth_value_type) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0 = value_borderWidth_value as string + valueSerializer.writeString(value_borderWidth_value_0) } - else if (RuntimeType.OBJECT == value_selected_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_selected_value_1 = value_selected_value as Array - valueSerializer.writeInt32(value_selected_value_1.length as int32) - for (let i = 0; i < value_selected_value_1.length; i++) { - const value_selected_value_1_element : number = value_selected_value_1[i] - valueSerializer.writeNumber(value_selected_value_1_element) - } + else if (RuntimeType.NUMBER == value_borderWidth_value_type) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_1 = value_borderWidth_value as number + valueSerializer.writeNumber(value_borderWidth_value_1) + } + else if (RuntimeType.OBJECT == value_borderWidth_value_type) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_2 = value_borderWidth_value as Resource + valueSerializer.writeResource(value_borderWidth_value_2) } } - } - writeTextPickerRangeContent(value: TextPickerRangeContent): void { - let valueSerializer : Serializer = this - const value_icon = value.icon - let value_icon_type : int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - if (RuntimeType.STRING == value_icon_type) { - valueSerializer.writeInt8(0 as int32) - const value_icon_0 = value_icon as string - valueSerializer.writeString(value_icon_0) - } - else if (RuntimeType.OBJECT == value_icon_type) { - valueSerializer.writeInt8(1 as int32) - const value_icon_1 = value_icon as Resource - valueSerializer.writeResource(value_icon_1) - } - const value_text = value.text - let value_text_type : int32 = RuntimeType.UNDEFINED - value_text_type = runtimeType(value_text) - valueSerializer.writeInt8(value_text_type as int32) - if ((RuntimeType.UNDEFINED) != (value_text_type)) { - const value_text_value = value_text! - let value_text_value_type : int32 = RuntimeType.UNDEFINED - value_text_value_type = runtimeType(value_text_value) - if (RuntimeType.STRING == value_text_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_text_value_0 = value_text_value as string - valueSerializer.writeString(value_text_value_0) + const value_fontWeight = value.fontWeight + let value_fontWeight_type : int32 = RuntimeType.UNDEFINED + value_fontWeight_type = runtimeType(value_fontWeight) + valueSerializer.writeInt8(value_fontWeight_type) + if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { + const value_fontWeight_value = value_fontWeight! + let value_fontWeight_value_type : int32 = RuntimeType.UNDEFINED + value_fontWeight_value_type = runtimeType(value_fontWeight_value) + if (RuntimeType.NUMBER == value_fontWeight_value_type) { + valueSerializer.writeInt8(0) + const value_fontWeight_value_0 = value_fontWeight_value as number + valueSerializer.writeNumber(value_fontWeight_value_0) } - else if (RuntimeType.OBJECT == value_text_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_text_value_1 = value_text_value as Resource - valueSerializer.writeResource(value_text_value_1) + else if (TypeChecker.isFontWeight(value_fontWeight_value)) { + valueSerializer.writeInt8(1) + const value_fontWeight_value_1 = value_fontWeight_value as FontWeight + valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_fontWeight_value_1)) + } + else if (RuntimeType.STRING == value_fontWeight_value_type) { + valueSerializer.writeInt8(2) + const value_fontWeight_value_2 = value_fontWeight_value as string + valueSerializer.writeString(value_fontWeight_value_2) } } } - writeTextPickerResult(value: TextPickerResult): void { + public writeBarGridColumnOptions(value: BarGridColumnOptions): void { let valueSerializer : Serializer = this - const value_value = value.value - let value_value_type : int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_value_0 = value_value as string - valueSerializer.writeString(value_value_0) + const value_sm = value.sm + let value_sm_type : int32 = RuntimeType.UNDEFINED + value_sm_type = runtimeType(value_sm) + valueSerializer.writeInt8(value_sm_type) + if ((RuntimeType.UNDEFINED) != (value_sm_type)) { + const value_sm_value = value_sm! + valueSerializer.writeNumber(value_sm_value) } - else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_value_1 = value_value as Array - valueSerializer.writeInt32(value_value_1.length as int32) - for (let i = 0; i < value_value_1.length; i++) { - const value_value_1_element : string = value_value_1[i] - valueSerializer.writeString(value_value_1_element) - } + const value_md = value.md + let value_md_type : int32 = RuntimeType.UNDEFINED + value_md_type = runtimeType(value_md) + valueSerializer.writeInt8(value_md_type) + if ((RuntimeType.UNDEFINED) != (value_md_type)) { + const value_md_value = value_md! + valueSerializer.writeNumber(value_md_value) } - const value_index = value.index - let value_index_type : int32 = RuntimeType.UNDEFINED - value_index_type = runtimeType(value_index) - if (RuntimeType.NUMBER == value_index_type) { - valueSerializer.writeInt8(0 as int32) - const value_index_0 = value_index as number - valueSerializer.writeNumber(value_index_0) + const value_lg = value.lg + let value_lg_type : int32 = RuntimeType.UNDEFINED + value_lg_type = runtimeType(value_lg) + valueSerializer.writeInt8(value_lg_type) + if ((RuntimeType.UNDEFINED) != (value_lg_type)) { + const value_lg_value = value_lg! + valueSerializer.writeNumber(value_lg_value) } - else if (RuntimeType.OBJECT == value_index_type) { - valueSerializer.writeInt8(1 as int32) - const value_index_1 = value_index as Array - valueSerializer.writeInt32(value_index_1.length as int32) - for (let i = 0; i < value_index_1.length; i++) { - const value_index_1_element : number = value_index_1[i] - valueSerializer.writeNumber(value_index_1_element) + const value_margin = value.margin + let value_margin_type : int32 = RuntimeType.UNDEFINED + value_margin_type = runtimeType(value_margin) + valueSerializer.writeInt8(value_margin_type) + if ((RuntimeType.UNDEFINED) != (value_margin_type)) { + const value_margin_value = value_margin! + let value_margin_value_type : int32 = RuntimeType.UNDEFINED + value_margin_value_type = runtimeType(value_margin_value) + if (RuntimeType.STRING == value_margin_value_type) { + valueSerializer.writeInt8(0) + const value_margin_value_0 = value_margin_value as string + valueSerializer.writeString(value_margin_value_0) + } + else if (RuntimeType.NUMBER == value_margin_value_type) { + valueSerializer.writeInt8(1) + const value_margin_value_1 = value_margin_value as number + valueSerializer.writeNumber(value_margin_value_1) + } + else if (RuntimeType.OBJECT == value_margin_value_type) { + valueSerializer.writeInt8(2) + const value_margin_value_2 = value_margin_value as Resource + valueSerializer.writeResource(value_margin_value_2) } } - } - writeTextShadow(value: TextShadow): void { - let valueSerializer : Serializer = this - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - valueSerializer.writecommon2D_Color(value_color_value) - } - const value_point = value.point - let value_point_type : int32 = RuntimeType.UNDEFINED - value_point_type = runtimeType(value_point) - valueSerializer.writeInt8(value_point_type as int32) - if ((RuntimeType.UNDEFINED) != (value_point_type)) { - const value_point_value = value_point! - valueSerializer.writecommon2D_Point(value_point_value) - } - const value_blurRadius = value.blurRadius - let value_blurRadius_type : int32 = RuntimeType.UNDEFINED - value_blurRadius_type = runtimeType(value_blurRadius) - valueSerializer.writeInt8(value_blurRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_blurRadius_type)) { - const value_blurRadius_value = value_blurRadius! - valueSerializer.writeNumber(value_blurRadius_value) + const value_gutter = value.gutter + let value_gutter_type : int32 = RuntimeType.UNDEFINED + value_gutter_type = runtimeType(value_gutter) + valueSerializer.writeInt8(value_gutter_type) + if ((RuntimeType.UNDEFINED) != (value_gutter_type)) { + const value_gutter_value = value_gutter! + let value_gutter_value_type : int32 = RuntimeType.UNDEFINED + value_gutter_value_type = runtimeType(value_gutter_value) + if (RuntimeType.STRING == value_gutter_value_type) { + valueSerializer.writeInt8(0) + const value_gutter_value_0 = value_gutter_value as string + valueSerializer.writeString(value_gutter_value_0) + } + else if (RuntimeType.NUMBER == value_gutter_value_type) { + valueSerializer.writeInt8(1) + const value_gutter_value_1 = value_gutter_value as number + valueSerializer.writeNumber(value_gutter_value_1) + } + else if (RuntimeType.OBJECT == value_gutter_value_type) { + valueSerializer.writeInt8(2) + const value_gutter_value_2 = value_gutter_value as Resource + valueSerializer.writeResource(value_gutter_value_2) + } } } - writeTextStyle_styled_string(value: TextStyle_styled_string): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeTextStyleInterface(value: TextStyleInterface): void { + public writeBoardStyle(value: BoardStyle): void { let valueSerializer : Serializer = this - const value_fontColor = value.fontColor - let value_fontColor_type : int32 = RuntimeType.UNDEFINED - value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { - const value_fontColor_value = value_fontColor! - let value_fontColor_value_type : int32 = RuntimeType.UNDEFINED - value_fontColor_value_type = runtimeType(value_fontColor_value) - if (TypeChecker.isColor(value_fontColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontColor_value_0 = value_fontColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_0)) - } - else if (RuntimeType.NUMBER == value_fontColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontColor_value_1 = value_fontColor_value as number - valueSerializer.writeNumber(value_fontColor_value_1) + const value_borderRadius = value.borderRadius + let value_borderRadius_type : int32 = RuntimeType.UNDEFINED + value_borderRadius_type = runtimeType(value_borderRadius) + valueSerializer.writeInt8(value_borderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { + const value_borderRadius_value = value_borderRadius! + let value_borderRadius_value_type : int32 = RuntimeType.UNDEFINED + value_borderRadius_value_type = runtimeType(value_borderRadius_value) + if (RuntimeType.STRING == value_borderRadius_value_type) { + valueSerializer.writeInt8(0) + const value_borderRadius_value_0 = value_borderRadius_value as string + valueSerializer.writeString(value_borderRadius_value_0) } - else if (RuntimeType.STRING == value_fontColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontColor_value_2 = value_fontColor_value as string - valueSerializer.writeString(value_fontColor_value_2) + else if (RuntimeType.NUMBER == value_borderRadius_value_type) { + valueSerializer.writeInt8(1) + const value_borderRadius_value_1 = value_borderRadius_value as number + valueSerializer.writeNumber(value_borderRadius_value_1) } - else if (RuntimeType.OBJECT == value_fontColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontColor_value_3 = value_fontColor_value as Resource - valueSerializer.writeResource(value_fontColor_value_3) + else if (RuntimeType.OBJECT == value_borderRadius_value_type) { + valueSerializer.writeInt8(2) + const value_borderRadius_value_2 = value_borderRadius_value as Resource + valueSerializer.writeResource(value_borderRadius_value_2) } } - const value_fontFamily = value.fontFamily - let value_fontFamily_type : int32 = RuntimeType.UNDEFINED - value_fontFamily_type = runtimeType(value_fontFamily) - valueSerializer.writeInt8(value_fontFamily_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { - const value_fontFamily_value = value_fontFamily! - let value_fontFamily_value_type : int32 = RuntimeType.UNDEFINED - value_fontFamily_value_type = runtimeType(value_fontFamily_value) - if (RuntimeType.STRING == value_fontFamily_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_fontFamily_value_0 = value_fontFamily_value as string - valueSerializer.writeString(value_fontFamily_value_0) + } + public writeBorderRadiuses(value: BorderRadiuses): void { + let valueSerializer : Serializer = this + const value_topLeft = value.topLeft + let value_topLeft_type : int32 = RuntimeType.UNDEFINED + value_topLeft_type = runtimeType(value_topLeft) + valueSerializer.writeInt8(value_topLeft_type) + if ((RuntimeType.UNDEFINED) != (value_topLeft_type)) { + const value_topLeft_value = value_topLeft! + let value_topLeft_value_type : int32 = RuntimeType.UNDEFINED + value_topLeft_value_type = runtimeType(value_topLeft_value) + if (RuntimeType.STRING == value_topLeft_value_type) { + valueSerializer.writeInt8(0) + const value_topLeft_value_0 = value_topLeft_value as string + valueSerializer.writeString(value_topLeft_value_0) + } + else if (RuntimeType.NUMBER == value_topLeft_value_type) { + valueSerializer.writeInt8(1) + const value_topLeft_value_1 = value_topLeft_value as number + valueSerializer.writeNumber(value_topLeft_value_1) + } + else if (RuntimeType.OBJECT == value_topLeft_value_type) { + valueSerializer.writeInt8(2) + const value_topLeft_value_2 = value_topLeft_value as Resource + valueSerializer.writeResource(value_topLeft_value_2) } - else if (RuntimeType.OBJECT == value_fontFamily_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontFamily_value_1 = value_fontFamily_value as Resource - valueSerializer.writeResource(value_fontFamily_value_1) + } + const value_topRight = value.topRight + let value_topRight_type : int32 = RuntimeType.UNDEFINED + value_topRight_type = runtimeType(value_topRight) + valueSerializer.writeInt8(value_topRight_type) + if ((RuntimeType.UNDEFINED) != (value_topRight_type)) { + const value_topRight_value = value_topRight! + let value_topRight_value_type : int32 = RuntimeType.UNDEFINED + value_topRight_value_type = runtimeType(value_topRight_value) + if (RuntimeType.STRING == value_topRight_value_type) { + valueSerializer.writeInt8(0) + const value_topRight_value_0 = value_topRight_value as string + valueSerializer.writeString(value_topRight_value_0) + } + else if (RuntimeType.NUMBER == value_topRight_value_type) { + valueSerializer.writeInt8(1) + const value_topRight_value_1 = value_topRight_value as number + valueSerializer.writeNumber(value_topRight_value_1) + } + else if (RuntimeType.OBJECT == value_topRight_value_type) { + valueSerializer.writeInt8(2) + const value_topRight_value_2 = value_topRight_value as Resource + valueSerializer.writeResource(value_topRight_value_2) } } - const value_fontSize = value.fontSize - let value_fontSize_type : int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - valueSerializer.writeLengthMetrics(value_fontSize_value) + const value_bottomLeft = value.bottomLeft + let value_bottomLeft_type : int32 = RuntimeType.UNDEFINED + value_bottomLeft_type = runtimeType(value_bottomLeft) + valueSerializer.writeInt8(value_bottomLeft_type) + if ((RuntimeType.UNDEFINED) != (value_bottomLeft_type)) { + const value_bottomLeft_value = value_bottomLeft! + let value_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED + value_bottomLeft_value_type = runtimeType(value_bottomLeft_value) + if (RuntimeType.STRING == value_bottomLeft_value_type) { + valueSerializer.writeInt8(0) + const value_bottomLeft_value_0 = value_bottomLeft_value as string + valueSerializer.writeString(value_bottomLeft_value_0) + } + else if (RuntimeType.NUMBER == value_bottomLeft_value_type) { + valueSerializer.writeInt8(1) + const value_bottomLeft_value_1 = value_bottomLeft_value as number + valueSerializer.writeNumber(value_bottomLeft_value_1) + } + else if (RuntimeType.OBJECT == value_bottomLeft_value_type) { + valueSerializer.writeInt8(2) + const value_bottomLeft_value_2 = value_bottomLeft_value as Resource + valueSerializer.writeResource(value_bottomLeft_value_2) + } } - const value_fontWeight = value.fontWeight - let value_fontWeight_type : int32 = RuntimeType.UNDEFINED - value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { - const value_fontWeight_value = value_fontWeight! - let value_fontWeight_value_type : int32 = RuntimeType.UNDEFINED - value_fontWeight_value_type = runtimeType(value_fontWeight_value) - if (RuntimeType.NUMBER == value_fontWeight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_fontWeight_value_0 = value_fontWeight_value as number - valueSerializer.writeNumber(value_fontWeight_value_0) + const value_bottomRight = value.bottomRight + let value_bottomRight_type : int32 = RuntimeType.UNDEFINED + value_bottomRight_type = runtimeType(value_bottomRight) + valueSerializer.writeInt8(value_bottomRight_type) + if ((RuntimeType.UNDEFINED) != (value_bottomRight_type)) { + const value_bottomRight_value = value_bottomRight! + let value_bottomRight_value_type : int32 = RuntimeType.UNDEFINED + value_bottomRight_value_type = runtimeType(value_bottomRight_value) + if (RuntimeType.STRING == value_bottomRight_value_type) { + valueSerializer.writeInt8(0) + const value_bottomRight_value_0 = value_bottomRight_value as string + valueSerializer.writeString(value_bottomRight_value_0) } - else if (TypeChecker.isFontWeight(value_fontWeight_value)) { - valueSerializer.writeInt8(1 as int32) - const value_fontWeight_value_1 = value_fontWeight_value as FontWeight - valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_fontWeight_value_1)) + else if (RuntimeType.NUMBER == value_bottomRight_value_type) { + valueSerializer.writeInt8(1) + const value_bottomRight_value_1 = value_bottomRight_value as number + valueSerializer.writeNumber(value_bottomRight_value_1) } - else if (RuntimeType.STRING == value_fontWeight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontWeight_value_2 = value_fontWeight_value as string - valueSerializer.writeString(value_fontWeight_value_2) + else if (RuntimeType.OBJECT == value_bottomRight_value_type) { + valueSerializer.writeInt8(2) + const value_bottomRight_value_2 = value_bottomRight_value as Resource + valueSerializer.writeResource(value_bottomRight_value_2) } } - const value_fontStyle = value.fontStyle - let value_fontStyle_type : int32 = RuntimeType.UNDEFINED - value_fontStyle_type = runtimeType(value_fontStyle) - valueSerializer.writeInt8(value_fontStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { - const value_fontStyle_value = (value_fontStyle as FontStyle) - valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_fontStyle_value)) + } + public writeButtonStyle(value: ButtonStyle): void { + let valueSerializer : Serializer = this + const value_left = value.left + let value_left_type : int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + valueSerializer.writeNumber(value_left_value) + } + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeNumber(value_top_value) + } + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + valueSerializer.writeNumber(value_width_value) + } + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + valueSerializer.writeNumber(value_height_value) + } + const value_icons = value.icons + let value_icons_type : int32 = RuntimeType.UNDEFINED + value_icons_type = runtimeType(value_icons) + valueSerializer.writeInt8(value_icons_type) + if ((RuntimeType.UNDEFINED) != (value_icons_type)) { + const value_icons_value = value_icons! + valueSerializer.writeButtonIconOptions(value_icons_value) } } - writeTodayStyle(value: TodayStyle): void { + public writeCaretStyle(value: CaretStyle): void { let valueSerializer : Serializer = this - const value_focusedDayColor = value.focusedDayColor - let value_focusedDayColor_type : int32 = RuntimeType.UNDEFINED - value_focusedDayColor_type = runtimeType(value_focusedDayColor) - valueSerializer.writeInt8(value_focusedDayColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_focusedDayColor_type)) { - const value_focusedDayColor_value = value_focusedDayColor! - let value_focusedDayColor_value_type : int32 = RuntimeType.UNDEFINED - value_focusedDayColor_value_type = runtimeType(value_focusedDayColor_value) - if (TypeChecker.isColor(value_focusedDayColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_focusedDayColor_value_0 = value_focusedDayColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_focusedDayColor_value_0)) - } - else if (RuntimeType.NUMBER == value_focusedDayColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_focusedDayColor_value_1 = value_focusedDayColor_value as number - valueSerializer.writeNumber(value_focusedDayColor_value_1) + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as string + valueSerializer.writeString(value_width_value_0) } - else if (RuntimeType.STRING == value_focusedDayColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_focusedDayColor_value_2 = value_focusedDayColor_value as string - valueSerializer.writeString(value_focusedDayColor_value_2) + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as number + valueSerializer.writeNumber(value_width_value_1) } - else if (RuntimeType.OBJECT == value_focusedDayColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_focusedDayColor_value_3 = value_focusedDayColor_value as Resource - valueSerializer.writeResource(value_focusedDayColor_value_3) + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as Resource + valueSerializer.writeResource(value_width_value_2) } } - const value_focusedLunarColor = value.focusedLunarColor - let value_focusedLunarColor_type : int32 = RuntimeType.UNDEFINED - value_focusedLunarColor_type = runtimeType(value_focusedLunarColor) - valueSerializer.writeInt8(value_focusedLunarColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_focusedLunarColor_type)) { - const value_focusedLunarColor_value = value_focusedLunarColor! - let value_focusedLunarColor_value_type : int32 = RuntimeType.UNDEFINED - value_focusedLunarColor_value_type = runtimeType(value_focusedLunarColor_value) - if (TypeChecker.isColor(value_focusedLunarColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_focusedLunarColor_value_0 = value_focusedLunarColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_focusedLunarColor_value_0)) - } - else if (RuntimeType.NUMBER == value_focusedLunarColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_focusedLunarColor_value_1 = value_focusedLunarColor_value as number - valueSerializer.writeNumber(value_focusedLunarColor_value_1) + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isColor(value_color_value)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } - else if (RuntimeType.STRING == value_focusedLunarColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_focusedLunarColor_value_2 = value_focusedLunarColor_value as string - valueSerializer.writeString(value_focusedLunarColor_value_2) + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as number + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.OBJECT == value_focusedLunarColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_focusedLunarColor_value_3 = value_focusedLunarColor_value as Resource - valueSerializer.writeResource(value_focusedLunarColor_value_3) + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as string + valueSerializer.writeString(value_color_value_2) } - } - const value_focusedAreaBackgroundColor = value.focusedAreaBackgroundColor - let value_focusedAreaBackgroundColor_type : int32 = RuntimeType.UNDEFINED - value_focusedAreaBackgroundColor_type = runtimeType(value_focusedAreaBackgroundColor) - valueSerializer.writeInt8(value_focusedAreaBackgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_focusedAreaBackgroundColor_type)) { - const value_focusedAreaBackgroundColor_value = value_focusedAreaBackgroundColor! - let value_focusedAreaBackgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_focusedAreaBackgroundColor_value_type = runtimeType(value_focusedAreaBackgroundColor_value) - if (TypeChecker.isColor(value_focusedAreaBackgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_focusedAreaBackgroundColor_value_0 = value_focusedAreaBackgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_focusedAreaBackgroundColor_value_0)) - } - else if (RuntimeType.NUMBER == value_focusedAreaBackgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_focusedAreaBackgroundColor_value_1 = value_focusedAreaBackgroundColor_value as number - valueSerializer.writeNumber(value_focusedAreaBackgroundColor_value_1) - } - else if (RuntimeType.STRING == value_focusedAreaBackgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_focusedAreaBackgroundColor_value_2 = value_focusedAreaBackgroundColor_value as string - valueSerializer.writeString(value_focusedAreaBackgroundColor_value_2) - } - else if (RuntimeType.OBJECT == value_focusedAreaBackgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_focusedAreaBackgroundColor_value_3 = value_focusedAreaBackgroundColor_value as Resource - valueSerializer.writeResource(value_focusedAreaBackgroundColor_value_3) + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = value_color_value as Resource + valueSerializer.writeResource(value_color_value_3) } } - const value_focusedAreaRadius = value.focusedAreaRadius - let value_focusedAreaRadius_type : int32 = RuntimeType.UNDEFINED - value_focusedAreaRadius_type = runtimeType(value_focusedAreaRadius) - valueSerializer.writeInt8(value_focusedAreaRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_focusedAreaRadius_type)) { - const value_focusedAreaRadius_value = value_focusedAreaRadius! - valueSerializer.writeNumber(value_focusedAreaRadius_value) - } } - writeToolbarItem(value: ToolbarItem): void { + public writeChainAnimationOptions(value: ChainAnimationOptions): void { let valueSerializer : Serializer = this - const value_value = value.value - let value_value_type : int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_value_0 = value_value as string - valueSerializer.writeString(value_value_0) + const value_minSpace = value.minSpace + let value_minSpace_type : int32 = RuntimeType.UNDEFINED + value_minSpace_type = runtimeType(value_minSpace) + if (RuntimeType.STRING == value_minSpace_type) { + valueSerializer.writeInt8(0) + const value_minSpace_0 = value_minSpace as string + valueSerializer.writeString(value_minSpace_0) } - else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_value_1 = value_value as Resource - valueSerializer.writeResource(value_value_1) + else if (RuntimeType.NUMBER == value_minSpace_type) { + valueSerializer.writeInt8(1) + const value_minSpace_1 = value_minSpace as number + valueSerializer.writeNumber(value_minSpace_1) } - const value_icon = value.icon - let value_icon_type : int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - let value_icon_value_type : int32 = RuntimeType.UNDEFINED - value_icon_value_type = runtimeType(value_icon_value) - if (RuntimeType.STRING == value_icon_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_icon_value_0 = value_icon_value as string - valueSerializer.writeString(value_icon_value_0) - } - else if (RuntimeType.OBJECT == value_icon_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_icon_value_1 = value_icon_value as Resource - valueSerializer.writeResource(value_icon_value_1) - } + else if (RuntimeType.OBJECT == value_minSpace_type) { + valueSerializer.writeInt8(2) + const value_minSpace_2 = value_minSpace as Resource + valueSerializer.writeResource(value_minSpace_2) } - const value_symbolIcon = value.symbolIcon - let value_symbolIcon_type : int32 = RuntimeType.UNDEFINED - value_symbolIcon_type = runtimeType(value_symbolIcon) - valueSerializer.writeInt8(value_symbolIcon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { - const value_symbolIcon_value = value_symbolIcon! - valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) + const value_maxSpace = value.maxSpace + let value_maxSpace_type : int32 = RuntimeType.UNDEFINED + value_maxSpace_type = runtimeType(value_maxSpace) + if (RuntimeType.STRING == value_maxSpace_type) { + valueSerializer.writeInt8(0) + const value_maxSpace_0 = value_maxSpace as string + valueSerializer.writeString(value_maxSpace_0) } - const value_action = value.action - let value_action_type : int32 = RuntimeType.UNDEFINED - value_action_type = runtimeType(value_action) - valueSerializer.writeInt8(value_action_type as int32) - if ((RuntimeType.UNDEFINED) != (value_action_type)) { - const value_action_value = value_action! - valueSerializer.holdAndWriteCallback(value_action_value) + else if (RuntimeType.NUMBER == value_maxSpace_type) { + valueSerializer.writeInt8(1) + const value_maxSpace_1 = value_maxSpace as number + valueSerializer.writeNumber(value_maxSpace_1) } - const value_status = value.status - let value_status_type : int32 = RuntimeType.UNDEFINED - value_status_type = runtimeType(value_status) - valueSerializer.writeInt8(value_status_type as int32) - if ((RuntimeType.UNDEFINED) != (value_status_type)) { - const value_status_value = (value_status as ToolbarItemStatus) - valueSerializer.writeInt32(TypeChecker.ToolbarItemStatus_ToNumeric(value_status_value)) + else if (RuntimeType.OBJECT == value_maxSpace_type) { + valueSerializer.writeInt8(2) + const value_maxSpace_2 = value_maxSpace as Resource + valueSerializer.writeResource(value_maxSpace_2) } - const value_activeIcon = value.activeIcon - let value_activeIcon_type : int32 = RuntimeType.UNDEFINED - value_activeIcon_type = runtimeType(value_activeIcon) - valueSerializer.writeInt8(value_activeIcon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_activeIcon_type)) { - const value_activeIcon_value = value_activeIcon! - let value_activeIcon_value_type : int32 = RuntimeType.UNDEFINED - value_activeIcon_value_type = runtimeType(value_activeIcon_value) - if (RuntimeType.STRING == value_activeIcon_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_activeIcon_value_0 = value_activeIcon_value as string - valueSerializer.writeString(value_activeIcon_value_0) - } - else if (RuntimeType.OBJECT == value_activeIcon_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_activeIcon_value_1 = value_activeIcon_value as Resource - valueSerializer.writeResource(value_activeIcon_value_1) - } + const value_conductivity = value.conductivity + let value_conductivity_type : int32 = RuntimeType.UNDEFINED + value_conductivity_type = runtimeType(value_conductivity) + valueSerializer.writeInt8(value_conductivity_type) + if ((RuntimeType.UNDEFINED) != (value_conductivity_type)) { + const value_conductivity_value = value_conductivity! + valueSerializer.writeNumber(value_conductivity_value) } - const value_activeSymbolIcon = value.activeSymbolIcon - let value_activeSymbolIcon_type : int32 = RuntimeType.UNDEFINED - value_activeSymbolIcon_type = runtimeType(value_activeSymbolIcon) - valueSerializer.writeInt8(value_activeSymbolIcon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_activeSymbolIcon_type)) { - const value_activeSymbolIcon_value = value_activeSymbolIcon! - valueSerializer.writeSymbolGlyphModifier(value_activeSymbolIcon_value) + const value_intensity = value.intensity + let value_intensity_type : int32 = RuntimeType.UNDEFINED + value_intensity_type = runtimeType(value_intensity) + valueSerializer.writeInt8(value_intensity_type) + if ((RuntimeType.UNDEFINED) != (value_intensity_type)) { + const value_intensity_value = value_intensity! + valueSerializer.writeNumber(value_intensity_value) + } + const value_edgeEffect = value.edgeEffect + let value_edgeEffect_type : int32 = RuntimeType.UNDEFINED + value_edgeEffect_type = runtimeType(value_edgeEffect) + valueSerializer.writeInt8(value_edgeEffect_type) + if ((RuntimeType.UNDEFINED) != (value_edgeEffect_type)) { + const value_edgeEffect_value = (value_edgeEffect as ChainEdgeEffect) + valueSerializer.writeInt32(TypeChecker.ChainEdgeEffect_ToNumeric(value_edgeEffect_value)) + } + const value_stiffness = value.stiffness + let value_stiffness_type : int32 = RuntimeType.UNDEFINED + value_stiffness_type = runtimeType(value_stiffness) + valueSerializer.writeInt8(value_stiffness_type) + if ((RuntimeType.UNDEFINED) != (value_stiffness_type)) { + const value_stiffness_value = value_stiffness! + valueSerializer.writeNumber(value_stiffness_value) + } + const value_damping = value.damping + let value_damping_type : int32 = RuntimeType.UNDEFINED + value_damping_type = runtimeType(value_damping) + valueSerializer.writeInt8(value_damping_type) + if ((RuntimeType.UNDEFINED) != (value_damping_type)) { + const value_damping_value = value_damping! + valueSerializer.writeNumber(value_damping_value) } } - writeTransitionOptions(value: TransitionOptions): void { + public writeColorStop(value: ColorStop): void { let valueSerializer : Serializer = this - const value_type = value.type - let value_type_type : int32 = RuntimeType.UNDEFINED - value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type as int32) - if ((RuntimeType.UNDEFINED) != (value_type_type)) { - const value_type_value = (value_type as TransitionType) - valueSerializer.writeInt32(TypeChecker.TransitionType_ToNumeric(value_type_value)) + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + if (TypeChecker.isColor(value_color)) { + valueSerializer.writeInt8(0) + const value_color_0 = value_color as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_0)) } - const value_opacity = value.opacity - let value_opacity_type : int32 = RuntimeType.UNDEFINED - value_opacity_type = runtimeType(value_opacity) - valueSerializer.writeInt8(value_opacity_type as int32) - if ((RuntimeType.UNDEFINED) != (value_opacity_type)) { - const value_opacity_value = value_opacity! - valueSerializer.writeNumber(value_opacity_value) + else if (RuntimeType.NUMBER == value_color_type) { + valueSerializer.writeInt8(1) + const value_color_1 = value_color as number + valueSerializer.writeNumber(value_color_1) } - const value_translate = value.translate - let value_translate_type : int32 = RuntimeType.UNDEFINED - value_translate_type = runtimeType(value_translate) - valueSerializer.writeInt8(value_translate_type as int32) - if ((RuntimeType.UNDEFINED) != (value_translate_type)) { - const value_translate_value = value_translate! - valueSerializer.writeTranslateOptions(value_translate_value) + else if (RuntimeType.STRING == value_color_type) { + valueSerializer.writeInt8(2) + const value_color_2 = value_color as string + valueSerializer.writeString(value_color_2) } - const value_scale = value.scale - let value_scale_type : int32 = RuntimeType.UNDEFINED - value_scale_type = runtimeType(value_scale) - valueSerializer.writeInt8(value_scale_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scale_type)) { - const value_scale_value = value_scale! - valueSerializer.writeScaleOptions(value_scale_value) + else if (RuntimeType.OBJECT == value_color_type) { + valueSerializer.writeInt8(3) + const value_color_3 = value_color as Resource + valueSerializer.writeResource(value_color_3) } - const value_rotate = value.rotate - let value_rotate_type : int32 = RuntimeType.UNDEFINED - value_rotate_type = runtimeType(value_rotate) - valueSerializer.writeInt8(value_rotate_type as int32) - if ((RuntimeType.UNDEFINED) != (value_rotate_type)) { - const value_rotate_value = value_rotate! - valueSerializer.writeRotateOptions(value_rotate_value) + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + if (RuntimeType.STRING == value_offset_type) { + valueSerializer.writeInt8(0) + const value_offset_0 = value_offset as string + valueSerializer.writeString(value_offset_0) + } + else if (RuntimeType.NUMBER == value_offset_type) { + valueSerializer.writeInt8(1) + const value_offset_1 = value_offset as number + valueSerializer.writeNumber(value_offset_1) + } + else if (RuntimeType.OBJECT == value_offset_type) { + valueSerializer.writeInt8(2) + const value_offset_2 = value_offset as Resource + valueSerializer.writeResource(value_offset_2) } } - writeUnderlineColor(value: UnderlineColor): void { + public writeColumnSplitDividerStyle(value: ColumnSplitDividerStyle): void { let valueSerializer : Serializer = this - const value_typing = value.typing - let value_typing_type : int32 = RuntimeType.UNDEFINED - value_typing_type = runtimeType(value_typing) - valueSerializer.writeInt8(value_typing_type as int32) - if ((RuntimeType.UNDEFINED) != (value_typing_type)) { - const value_typing_value = value_typing! - let value_typing_value_type : int32 = RuntimeType.UNDEFINED - value_typing_value_type = runtimeType(value_typing_value) - if (TypeChecker.isColor(value_typing_value)) { - valueSerializer.writeInt8(0 as int32) - const value_typing_value_0 = value_typing_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_typing_value_0)) - } - else if (RuntimeType.NUMBER == value_typing_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_typing_value_1 = value_typing_value as number - valueSerializer.writeNumber(value_typing_value_1) + const value_startMargin = value.startMargin + let value_startMargin_type : int32 = RuntimeType.UNDEFINED + value_startMargin_type = runtimeType(value_startMargin) + valueSerializer.writeInt8(value_startMargin_type) + if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { + const value_startMargin_value = value_startMargin! + let value_startMargin_value_type : int32 = RuntimeType.UNDEFINED + value_startMargin_value_type = runtimeType(value_startMargin_value) + if (RuntimeType.STRING == value_startMargin_value_type) { + valueSerializer.writeInt8(0) + const value_startMargin_value_0 = value_startMargin_value as string + valueSerializer.writeString(value_startMargin_value_0) } - else if (RuntimeType.STRING == value_typing_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_typing_value_2 = value_typing_value as string - valueSerializer.writeString(value_typing_value_2) + else if (RuntimeType.NUMBER == value_startMargin_value_type) { + valueSerializer.writeInt8(1) + const value_startMargin_value_1 = value_startMargin_value as number + valueSerializer.writeNumber(value_startMargin_value_1) } - else if (RuntimeType.OBJECT == value_typing_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_typing_value_3 = value_typing_value as Resource - valueSerializer.writeResource(value_typing_value_3) + else if (RuntimeType.OBJECT == value_startMargin_value_type) { + valueSerializer.writeInt8(2) + const value_startMargin_value_2 = value_startMargin_value as Resource + valueSerializer.writeResource(value_startMargin_value_2) } } - const value_normal = value.normal - let value_normal_type : int32 = RuntimeType.UNDEFINED - value_normal_type = runtimeType(value_normal) - valueSerializer.writeInt8(value_normal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_normal_type)) { - const value_normal_value = value_normal! - let value_normal_value_type : int32 = RuntimeType.UNDEFINED - value_normal_value_type = runtimeType(value_normal_value) - if (TypeChecker.isColor(value_normal_value)) { - valueSerializer.writeInt8(0 as int32) - const value_normal_value_0 = value_normal_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_normal_value_0)) - } - else if (RuntimeType.NUMBER == value_normal_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_normal_value_1 = value_normal_value as number - valueSerializer.writeNumber(value_normal_value_1) + const value_endMargin = value.endMargin + let value_endMargin_type : int32 = RuntimeType.UNDEFINED + value_endMargin_type = runtimeType(value_endMargin) + valueSerializer.writeInt8(value_endMargin_type) + if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { + const value_endMargin_value = value_endMargin! + let value_endMargin_value_type : int32 = RuntimeType.UNDEFINED + value_endMargin_value_type = runtimeType(value_endMargin_value) + if (RuntimeType.STRING == value_endMargin_value_type) { + valueSerializer.writeInt8(0) + const value_endMargin_value_0 = value_endMargin_value as string + valueSerializer.writeString(value_endMargin_value_0) } - else if (RuntimeType.STRING == value_normal_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_normal_value_2 = value_normal_value as string - valueSerializer.writeString(value_normal_value_2) + else if (RuntimeType.NUMBER == value_endMargin_value_type) { + valueSerializer.writeInt8(1) + const value_endMargin_value_1 = value_endMargin_value as number + valueSerializer.writeNumber(value_endMargin_value_1) } - else if (RuntimeType.OBJECT == value_normal_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_normal_value_3 = value_normal_value as Resource - valueSerializer.writeResource(value_normal_value_3) + else if (RuntimeType.OBJECT == value_endMargin_value_type) { + valueSerializer.writeInt8(2) + const value_endMargin_value_2 = value_endMargin_value as Resource + valueSerializer.writeResource(value_endMargin_value_2) } } - const value_error = value.error - let value_error_type : int32 = RuntimeType.UNDEFINED - value_error_type = runtimeType(value_error) - valueSerializer.writeInt8(value_error_type as int32) - if ((RuntimeType.UNDEFINED) != (value_error_type)) { - const value_error_value = value_error! - let value_error_value_type : int32 = RuntimeType.UNDEFINED - value_error_value_type = runtimeType(value_error_value) - if (TypeChecker.isColor(value_error_value)) { - valueSerializer.writeInt8(0 as int32) - const value_error_value_0 = value_error_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_error_value_0)) - } - else if (RuntimeType.NUMBER == value_error_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_error_value_1 = value_error_value as number - valueSerializer.writeNumber(value_error_value_1) + } + public writeConstraintSizeOptions(value: ConstraintSizeOptions): void { + let valueSerializer : Serializer = this + const value_minWidth = value.minWidth + let value_minWidth_type : int32 = RuntimeType.UNDEFINED + value_minWidth_type = runtimeType(value_minWidth) + valueSerializer.writeInt8(value_minWidth_type) + if ((RuntimeType.UNDEFINED) != (value_minWidth_type)) { + const value_minWidth_value = value_minWidth! + let value_minWidth_value_type : int32 = RuntimeType.UNDEFINED + value_minWidth_value_type = runtimeType(value_minWidth_value) + if (RuntimeType.STRING == value_minWidth_value_type) { + valueSerializer.writeInt8(0) + const value_minWidth_value_0 = value_minWidth_value as string + valueSerializer.writeString(value_minWidth_value_0) } - else if (RuntimeType.STRING == value_error_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_error_value_2 = value_error_value as string - valueSerializer.writeString(value_error_value_2) + else if (RuntimeType.NUMBER == value_minWidth_value_type) { + valueSerializer.writeInt8(1) + const value_minWidth_value_1 = value_minWidth_value as number + valueSerializer.writeNumber(value_minWidth_value_1) } - else if (RuntimeType.OBJECT == value_error_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_error_value_3 = value_error_value as Resource - valueSerializer.writeResource(value_error_value_3) + else if (RuntimeType.OBJECT == value_minWidth_value_type) { + valueSerializer.writeInt8(2) + const value_minWidth_value_2 = value_minWidth_value as Resource + valueSerializer.writeResource(value_minWidth_value_2) } } - const value_disable = value.disable - let value_disable_type : int32 = RuntimeType.UNDEFINED - value_disable_type = runtimeType(value_disable) - valueSerializer.writeInt8(value_disable_type as int32) - if ((RuntimeType.UNDEFINED) != (value_disable_type)) { - const value_disable_value = value_disable! - let value_disable_value_type : int32 = RuntimeType.UNDEFINED - value_disable_value_type = runtimeType(value_disable_value) - if (TypeChecker.isColor(value_disable_value)) { - valueSerializer.writeInt8(0 as int32) - const value_disable_value_0 = value_disable_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_disable_value_0)) - } - else if (RuntimeType.NUMBER == value_disable_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_disable_value_1 = value_disable_value as number - valueSerializer.writeNumber(value_disable_value_1) - } - else if (RuntimeType.STRING == value_disable_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_disable_value_2 = value_disable_value as string - valueSerializer.writeString(value_disable_value_2) - } - else if (RuntimeType.OBJECT == value_disable_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_disable_value_3 = value_disable_value as Resource - valueSerializer.writeResource(value_disable_value_3) + const value_maxWidth = value.maxWidth + let value_maxWidth_type : int32 = RuntimeType.UNDEFINED + value_maxWidth_type = runtimeType(value_maxWidth) + valueSerializer.writeInt8(value_maxWidth_type) + if ((RuntimeType.UNDEFINED) != (value_maxWidth_type)) { + const value_maxWidth_value = value_maxWidth! + let value_maxWidth_value_type : int32 = RuntimeType.UNDEFINED + value_maxWidth_value_type = runtimeType(value_maxWidth_value) + if (RuntimeType.STRING == value_maxWidth_value_type) { + valueSerializer.writeInt8(0) + const value_maxWidth_value_0 = value_maxWidth_value as string + valueSerializer.writeString(value_maxWidth_value_0) } - } - } - writeVideoOptions(value: VideoOptions): void { - let valueSerializer : Serializer = this - const value_src = value.src - let value_src_type : int32 = RuntimeType.UNDEFINED - value_src_type = runtimeType(value_src) - valueSerializer.writeInt8(value_src_type as int32) - if ((RuntimeType.UNDEFINED) != (value_src_type)) { - const value_src_value = value_src! - let value_src_value_type : int32 = RuntimeType.UNDEFINED - value_src_value_type = runtimeType(value_src_value) - if (RuntimeType.STRING == value_src_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_src_value_0 = value_src_value as string - valueSerializer.writeString(value_src_value_0) + else if (RuntimeType.NUMBER == value_maxWidth_value_type) { + valueSerializer.writeInt8(1) + const value_maxWidth_value_1 = value_maxWidth_value as number + valueSerializer.writeNumber(value_maxWidth_value_1) } - else if (RuntimeType.OBJECT == value_src_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_src_value_1 = value_src_value as Resource - valueSerializer.writeResource(value_src_value_1) + else if (RuntimeType.OBJECT == value_maxWidth_value_type) { + valueSerializer.writeInt8(2) + const value_maxWidth_value_2 = value_maxWidth_value as Resource + valueSerializer.writeResource(value_maxWidth_value_2) } } - const value_currentProgressRate = value.currentProgressRate - let value_currentProgressRate_type : int32 = RuntimeType.UNDEFINED - value_currentProgressRate_type = runtimeType(value_currentProgressRate) - valueSerializer.writeInt8(value_currentProgressRate_type as int32) - if ((RuntimeType.UNDEFINED) != (value_currentProgressRate_type)) { - const value_currentProgressRate_value = value_currentProgressRate! - let value_currentProgressRate_value_type : int32 = RuntimeType.UNDEFINED - value_currentProgressRate_value_type = runtimeType(value_currentProgressRate_value) - if (RuntimeType.NUMBER == value_currentProgressRate_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_currentProgressRate_value_0 = value_currentProgressRate_value as number - valueSerializer.writeNumber(value_currentProgressRate_value_0) + const value_minHeight = value.minHeight + let value_minHeight_type : int32 = RuntimeType.UNDEFINED + value_minHeight_type = runtimeType(value_minHeight) + valueSerializer.writeInt8(value_minHeight_type) + if ((RuntimeType.UNDEFINED) != (value_minHeight_type)) { + const value_minHeight_value = value_minHeight! + let value_minHeight_value_type : int32 = RuntimeType.UNDEFINED + value_minHeight_value_type = runtimeType(value_minHeight_value) + if (RuntimeType.STRING == value_minHeight_value_type) { + valueSerializer.writeInt8(0) + const value_minHeight_value_0 = value_minHeight_value as string + valueSerializer.writeString(value_minHeight_value_0) } - else if (RuntimeType.STRING == value_currentProgressRate_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_currentProgressRate_value_1 = value_currentProgressRate_value as string - valueSerializer.writeString(value_currentProgressRate_value_1) + else if (RuntimeType.NUMBER == value_minHeight_value_type) { + valueSerializer.writeInt8(1) + const value_minHeight_value_1 = value_minHeight_value as number + valueSerializer.writeNumber(value_minHeight_value_1) } - else if (TypeChecker.isPlaybackSpeed(value_currentProgressRate_value)) { - valueSerializer.writeInt8(2 as int32) - const value_currentProgressRate_value_2 = value_currentProgressRate_value as PlaybackSpeed - valueSerializer.writeInt32(TypeChecker.PlaybackSpeed_ToNumeric(value_currentProgressRate_value_2)) + else if (RuntimeType.OBJECT == value_minHeight_value_type) { + valueSerializer.writeInt8(2) + const value_minHeight_value_2 = value_minHeight_value as Resource + valueSerializer.writeResource(value_minHeight_value_2) } } - const value_previewUri = value.previewUri - let value_previewUri_type : int32 = RuntimeType.UNDEFINED - value_previewUri_type = runtimeType(value_previewUri) - valueSerializer.writeInt8(value_previewUri_type as int32) - if ((RuntimeType.UNDEFINED) != (value_previewUri_type)) { - const value_previewUri_value = value_previewUri! - let value_previewUri_value_type : int32 = RuntimeType.UNDEFINED - value_previewUri_value_type = runtimeType(value_previewUri_value) - if (RuntimeType.STRING == value_previewUri_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_previewUri_value_0 = value_previewUri_value as string - valueSerializer.writeString(value_previewUri_value_0) + const value_maxHeight = value.maxHeight + let value_maxHeight_type : int32 = RuntimeType.UNDEFINED + value_maxHeight_type = runtimeType(value_maxHeight) + valueSerializer.writeInt8(value_maxHeight_type) + if ((RuntimeType.UNDEFINED) != (value_maxHeight_type)) { + const value_maxHeight_value = value_maxHeight! + let value_maxHeight_value_type : int32 = RuntimeType.UNDEFINED + value_maxHeight_value_type = runtimeType(value_maxHeight_value) + if (RuntimeType.STRING == value_maxHeight_value_type) { + valueSerializer.writeInt8(0) + const value_maxHeight_value_0 = value_maxHeight_value as string + valueSerializer.writeString(value_maxHeight_value_0) } - else if (TypeChecker.isPixelMap(value_previewUri_value, false, false)) { - valueSerializer.writeInt8(1 as int32) - const value_previewUri_value_1 = value_previewUri_value as PixelMap - valueSerializer.writePixelMap(value_previewUri_value_1) + else if (RuntimeType.NUMBER == value_maxHeight_value_type) { + valueSerializer.writeInt8(1) + const value_maxHeight_value_1 = value_maxHeight_value as number + valueSerializer.writeNumber(value_maxHeight_value_1) } - else if (TypeChecker.isResource(value_previewUri_value, false, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_previewUri_value_2 = value_previewUri_value as Resource - valueSerializer.writeResource(value_previewUri_value_2) + else if (RuntimeType.OBJECT == value_maxHeight_value_type) { + valueSerializer.writeInt8(2) + const value_maxHeight_value_2 = value_maxHeight_value as Resource + valueSerializer.writeResource(value_maxHeight_value_2) } } - const value_controller = value.controller - let value_controller_type : int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type as int32) - if ((RuntimeType.UNDEFINED) != (value_controller_type)) { - const value_controller_value = value_controller! - valueSerializer.writeVideoController(value_controller_value) - } - const value_imageAIOptions = value.imageAIOptions - let value_imageAIOptions_type : int32 = RuntimeType.UNDEFINED - value_imageAIOptions_type = runtimeType(value_imageAIOptions) - valueSerializer.writeInt8(value_imageAIOptions_type as int32) - if ((RuntimeType.UNDEFINED) != (value_imageAIOptions_type)) { - const value_imageAIOptions_value = value_imageAIOptions! - valueSerializer.writeImageAIOptions(value_imageAIOptions_value) + } + public writeCustomTheme(value: CustomTheme): void { + let valueSerializer : Serializer = this + const value_colors = value.colors + let value_colors_type : int32 = RuntimeType.UNDEFINED + value_colors_type = runtimeType(value_colors) + valueSerializer.writeInt8(value_colors_type) + if ((RuntimeType.UNDEFINED) != (value_colors_type)) { + const value_colors_value = value_colors! + valueSerializer.writeCustomColors(value_colors_value) } } - writeWeekStyle(value: WeekStyle): void { + public writeDividerOptions(value: DividerOptions): void { let valueSerializer : Serializer = this - const value_weekColor = value.weekColor - let value_weekColor_type : int32 = RuntimeType.UNDEFINED - value_weekColor_type = runtimeType(value_weekColor) - valueSerializer.writeInt8(value_weekColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_weekColor_type)) { - const value_weekColor_value = value_weekColor! - let value_weekColor_value_type : int32 = RuntimeType.UNDEFINED - value_weekColor_value_type = runtimeType(value_weekColor_value) - if (TypeChecker.isColor(value_weekColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_weekColor_value_0 = value_weekColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_weekColor_value_0)) - } - else if (RuntimeType.NUMBER == value_weekColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_weekColor_value_1 = value_weekColor_value as number - valueSerializer.writeNumber(value_weekColor_value_1) + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + let value_strokeWidth_value_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) + if (RuntimeType.STRING == value_strokeWidth_value_type) { + valueSerializer.writeInt8(0) + const value_strokeWidth_value_0 = value_strokeWidth_value as string + valueSerializer.writeString(value_strokeWidth_value_0) } - else if (RuntimeType.STRING == value_weekColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_weekColor_value_2 = value_weekColor_value as string - valueSerializer.writeString(value_weekColor_value_2) + else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { + valueSerializer.writeInt8(1) + const value_strokeWidth_value_1 = value_strokeWidth_value as number + valueSerializer.writeNumber(value_strokeWidth_value_1) } - else if (RuntimeType.OBJECT == value_weekColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_weekColor_value_3 = value_weekColor_value as Resource - valueSerializer.writeResource(value_weekColor_value_3) + else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_value_2 = value_strokeWidth_value as Resource + valueSerializer.writeResource(value_strokeWidth_value_2) } } - const value_weekendDayColor = value.weekendDayColor - let value_weekendDayColor_type : int32 = RuntimeType.UNDEFINED - value_weekendDayColor_type = runtimeType(value_weekendDayColor) - valueSerializer.writeInt8(value_weekendDayColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_weekendDayColor_type)) { - const value_weekendDayColor_value = value_weekendDayColor! - let value_weekendDayColor_value_type : int32 = RuntimeType.UNDEFINED - value_weekendDayColor_value_type = runtimeType(value_weekendDayColor_value) - if (TypeChecker.isColor(value_weekendDayColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_weekendDayColor_value_0 = value_weekendDayColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_weekendDayColor_value_0)) - } - else if (RuntimeType.NUMBER == value_weekendDayColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_weekendDayColor_value_1 = value_weekendDayColor_value as number - valueSerializer.writeNumber(value_weekendDayColor_value_1) - } - else if (RuntimeType.STRING == value_weekendDayColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_weekendDayColor_value_2 = value_weekendDayColor_value as string - valueSerializer.writeString(value_weekendDayColor_value_2) + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isColor(value_color_value)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } - else if (RuntimeType.OBJECT == value_weekendDayColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_weekendDayColor_value_3 = value_weekendDayColor_value as Resource - valueSerializer.writeResource(value_weekendDayColor_value_3) + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as number + valueSerializer.writeNumber(value_color_value_1) } - } - const value_weekendLunarColor = value.weekendLunarColor - let value_weekendLunarColor_type : int32 = RuntimeType.UNDEFINED - value_weekendLunarColor_type = runtimeType(value_weekendLunarColor) - valueSerializer.writeInt8(value_weekendLunarColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_weekendLunarColor_type)) { - const value_weekendLunarColor_value = value_weekendLunarColor! - let value_weekendLunarColor_value_type : int32 = RuntimeType.UNDEFINED - value_weekendLunarColor_value_type = runtimeType(value_weekendLunarColor_value) - if (TypeChecker.isColor(value_weekendLunarColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_weekendLunarColor_value_0 = value_weekendLunarColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_weekendLunarColor_value_0)) + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as string + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.NUMBER == value_weekendLunarColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_weekendLunarColor_value_1 = value_weekendLunarColor_value as number - valueSerializer.writeNumber(value_weekendLunarColor_value_1) + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = value_color_value as Resource + valueSerializer.writeResource(value_color_value_3) } - else if (RuntimeType.STRING == value_weekendLunarColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_weekendLunarColor_value_2 = value_weekendLunarColor_value as string - valueSerializer.writeString(value_weekendLunarColor_value_2) + } + const value_startMargin = value.startMargin + let value_startMargin_type : int32 = RuntimeType.UNDEFINED + value_startMargin_type = runtimeType(value_startMargin) + valueSerializer.writeInt8(value_startMargin_type) + if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { + const value_startMargin_value = value_startMargin! + let value_startMargin_value_type : int32 = RuntimeType.UNDEFINED + value_startMargin_value_type = runtimeType(value_startMargin_value) + if (RuntimeType.STRING == value_startMargin_value_type) { + valueSerializer.writeInt8(0) + const value_startMargin_value_0 = value_startMargin_value as string + valueSerializer.writeString(value_startMargin_value_0) } - else if (RuntimeType.OBJECT == value_weekendLunarColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_weekendLunarColor_value_3 = value_weekendLunarColor_value as Resource - valueSerializer.writeResource(value_weekendLunarColor_value_3) + else if (RuntimeType.NUMBER == value_startMargin_value_type) { + valueSerializer.writeInt8(1) + const value_startMargin_value_1 = value_startMargin_value as number + valueSerializer.writeNumber(value_startMargin_value_1) + } + else if (RuntimeType.OBJECT == value_startMargin_value_type) { + valueSerializer.writeInt8(2) + const value_startMargin_value_2 = value_startMargin_value as Resource + valueSerializer.writeResource(value_startMargin_value_2) } } - const value_weekFontSize = value.weekFontSize - let value_weekFontSize_type : int32 = RuntimeType.UNDEFINED - value_weekFontSize_type = runtimeType(value_weekFontSize) - valueSerializer.writeInt8(value_weekFontSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_weekFontSize_type)) { - const value_weekFontSize_value = value_weekFontSize! - valueSerializer.writeNumber(value_weekFontSize_value) + const value_endMargin = value.endMargin + let value_endMargin_type : int32 = RuntimeType.UNDEFINED + value_endMargin_type = runtimeType(value_endMargin) + valueSerializer.writeInt8(value_endMargin_type) + if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { + const value_endMargin_value = value_endMargin! + let value_endMargin_value_type : int32 = RuntimeType.UNDEFINED + value_endMargin_value_type = runtimeType(value_endMargin_value) + if (RuntimeType.STRING == value_endMargin_value_type) { + valueSerializer.writeInt8(0) + const value_endMargin_value_0 = value_endMargin_value as string + valueSerializer.writeString(value_endMargin_value_0) + } + else if (RuntimeType.NUMBER == value_endMargin_value_type) { + valueSerializer.writeInt8(1) + const value_endMargin_value_1 = value_endMargin_value as number + valueSerializer.writeNumber(value_endMargin_value_1) + } + else if (RuntimeType.OBJECT == value_endMargin_value_type) { + valueSerializer.writeInt8(2) + const value_endMargin_value_2 = value_endMargin_value as Resource + valueSerializer.writeResource(value_endMargin_value_2) + } } - const value_weekHeight = value.weekHeight - let value_weekHeight_type : int32 = RuntimeType.UNDEFINED - value_weekHeight_type = runtimeType(value_weekHeight) - valueSerializer.writeInt8(value_weekHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_weekHeight_type)) { - const value_weekHeight_value = value_weekHeight! - valueSerializer.writeNumber(value_weekHeight_value) + } + public writeDividerStyle(value: DividerStyle): void { + let valueSerializer : Serializer = this + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + if (RuntimeType.STRING == value_strokeWidth_type) { + valueSerializer.writeInt8(0) + const value_strokeWidth_0 = value_strokeWidth as string + valueSerializer.writeString(value_strokeWidth_0) } - const value_weekWidth = value.weekWidth - let value_weekWidth_type : int32 = RuntimeType.UNDEFINED - value_weekWidth_type = runtimeType(value_weekWidth) - valueSerializer.writeInt8(value_weekWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_weekWidth_type)) { - const value_weekWidth_value = value_weekWidth! - valueSerializer.writeNumber(value_weekWidth_value) + else if (RuntimeType.NUMBER == value_strokeWidth_type) { + valueSerializer.writeInt8(1) + const value_strokeWidth_1 = value_strokeWidth as number + valueSerializer.writeNumber(value_strokeWidth_1) } - const value_weekAndDayRowSpace = value.weekAndDayRowSpace - let value_weekAndDayRowSpace_type : int32 = RuntimeType.UNDEFINED - value_weekAndDayRowSpace_type = runtimeType(value_weekAndDayRowSpace) - valueSerializer.writeInt8(value_weekAndDayRowSpace_type as int32) - if ((RuntimeType.UNDEFINED) != (value_weekAndDayRowSpace_type)) { - const value_weekAndDayRowSpace_value = value_weekAndDayRowSpace! - valueSerializer.writeNumber(value_weekAndDayRowSpace_value) + else if (RuntimeType.OBJECT == value_strokeWidth_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_2 = value_strokeWidth as Resource + valueSerializer.writeResource(value_strokeWidth_2) } - } - writeWorkStateStyle(value: WorkStateStyle): void { - let valueSerializer : Serializer = this - const value_workDayMarkColor = value.workDayMarkColor - let value_workDayMarkColor_type : int32 = RuntimeType.UNDEFINED - value_workDayMarkColor_type = runtimeType(value_workDayMarkColor) - valueSerializer.writeInt8(value_workDayMarkColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_workDayMarkColor_type)) { - const value_workDayMarkColor_value = value_workDayMarkColor! - let value_workDayMarkColor_value_type : int32 = RuntimeType.UNDEFINED - value_workDayMarkColor_value_type = runtimeType(value_workDayMarkColor_value) - if (TypeChecker.isColor(value_workDayMarkColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_workDayMarkColor_value_0 = value_workDayMarkColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_workDayMarkColor_value_0)) + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isColor(value_color_value)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } - else if (RuntimeType.NUMBER == value_workDayMarkColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_workDayMarkColor_value_1 = value_workDayMarkColor_value as number - valueSerializer.writeNumber(value_workDayMarkColor_value_1) + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as number + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.STRING == value_workDayMarkColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_workDayMarkColor_value_2 = value_workDayMarkColor_value as string - valueSerializer.writeString(value_workDayMarkColor_value_2) + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as string + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.OBJECT == value_workDayMarkColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_workDayMarkColor_value_3 = value_workDayMarkColor_value as Resource - valueSerializer.writeResource(value_workDayMarkColor_value_3) + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = value_color_value as Resource + valueSerializer.writeResource(value_color_value_3) } } - const value_offDayMarkColor = value.offDayMarkColor - let value_offDayMarkColor_type : int32 = RuntimeType.UNDEFINED - value_offDayMarkColor_type = runtimeType(value_offDayMarkColor) - valueSerializer.writeInt8(value_offDayMarkColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offDayMarkColor_type)) { - const value_offDayMarkColor_value = value_offDayMarkColor! - let value_offDayMarkColor_value_type : int32 = RuntimeType.UNDEFINED - value_offDayMarkColor_value_type = runtimeType(value_offDayMarkColor_value) - if (TypeChecker.isColor(value_offDayMarkColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_offDayMarkColor_value_0 = value_offDayMarkColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_offDayMarkColor_value_0)) - } - else if (RuntimeType.NUMBER == value_offDayMarkColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_offDayMarkColor_value_1 = value_offDayMarkColor_value as number - valueSerializer.writeNumber(value_offDayMarkColor_value_1) + const value_startMargin = value.startMargin + let value_startMargin_type : int32 = RuntimeType.UNDEFINED + value_startMargin_type = runtimeType(value_startMargin) + valueSerializer.writeInt8(value_startMargin_type) + if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { + const value_startMargin_value = value_startMargin! + let value_startMargin_value_type : int32 = RuntimeType.UNDEFINED + value_startMargin_value_type = runtimeType(value_startMargin_value) + if (RuntimeType.STRING == value_startMargin_value_type) { + valueSerializer.writeInt8(0) + const value_startMargin_value_0 = value_startMargin_value as string + valueSerializer.writeString(value_startMargin_value_0) } - else if (RuntimeType.STRING == value_offDayMarkColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_offDayMarkColor_value_2 = value_offDayMarkColor_value as string - valueSerializer.writeString(value_offDayMarkColor_value_2) + else if (RuntimeType.NUMBER == value_startMargin_value_type) { + valueSerializer.writeInt8(1) + const value_startMargin_value_1 = value_startMargin_value as number + valueSerializer.writeNumber(value_startMargin_value_1) } - else if (RuntimeType.OBJECT == value_offDayMarkColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_offDayMarkColor_value_3 = value_offDayMarkColor_value as Resource - valueSerializer.writeResource(value_offDayMarkColor_value_3) + else if (RuntimeType.OBJECT == value_startMargin_value_type) { + valueSerializer.writeInt8(2) + const value_startMargin_value_2 = value_startMargin_value as Resource + valueSerializer.writeResource(value_startMargin_value_2) } } - const value_workDayMarkSize = value.workDayMarkSize - let value_workDayMarkSize_type : int32 = RuntimeType.UNDEFINED - value_workDayMarkSize_type = runtimeType(value_workDayMarkSize) - valueSerializer.writeInt8(value_workDayMarkSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_workDayMarkSize_type)) { - const value_workDayMarkSize_value = value_workDayMarkSize! - valueSerializer.writeNumber(value_workDayMarkSize_value) - } - const value_offDayMarkSize = value.offDayMarkSize - let value_offDayMarkSize_type : int32 = RuntimeType.UNDEFINED - value_offDayMarkSize_type = runtimeType(value_offDayMarkSize) - valueSerializer.writeInt8(value_offDayMarkSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offDayMarkSize_type)) { - const value_offDayMarkSize_value = value_offDayMarkSize! - valueSerializer.writeNumber(value_offDayMarkSize_value) - } - const value_workStateWidth = value.workStateWidth - let value_workStateWidth_type : int32 = RuntimeType.UNDEFINED - value_workStateWidth_type = runtimeType(value_workStateWidth) - valueSerializer.writeInt8(value_workStateWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_workStateWidth_type)) { - const value_workStateWidth_value = value_workStateWidth! - valueSerializer.writeNumber(value_workStateWidth_value) - } - const value_workStateHorizontalMovingDistance = value.workStateHorizontalMovingDistance - let value_workStateHorizontalMovingDistance_type : int32 = RuntimeType.UNDEFINED - value_workStateHorizontalMovingDistance_type = runtimeType(value_workStateHorizontalMovingDistance) - valueSerializer.writeInt8(value_workStateHorizontalMovingDistance_type as int32) - if ((RuntimeType.UNDEFINED) != (value_workStateHorizontalMovingDistance_type)) { - const value_workStateHorizontalMovingDistance_value = value_workStateHorizontalMovingDistance! - valueSerializer.writeNumber(value_workStateHorizontalMovingDistance_value) - } - const value_workStateVerticalMovingDistance = value.workStateVerticalMovingDistance - let value_workStateVerticalMovingDistance_type : int32 = RuntimeType.UNDEFINED - value_workStateVerticalMovingDistance_type = runtimeType(value_workStateVerticalMovingDistance) - valueSerializer.writeInt8(value_workStateVerticalMovingDistance_type as int32) - if ((RuntimeType.UNDEFINED) != (value_workStateVerticalMovingDistance_type)) { - const value_workStateVerticalMovingDistance_value = value_workStateVerticalMovingDistance! - valueSerializer.writeNumber(value_workStateVerticalMovingDistance_value) + const value_endMargin = value.endMargin + let value_endMargin_type : int32 = RuntimeType.UNDEFINED + value_endMargin_type = runtimeType(value_endMargin) + valueSerializer.writeInt8(value_endMargin_type) + if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { + const value_endMargin_value = value_endMargin! + let value_endMargin_value_type : int32 = RuntimeType.UNDEFINED + value_endMargin_value_type = runtimeType(value_endMargin_value) + if (RuntimeType.STRING == value_endMargin_value_type) { + valueSerializer.writeInt8(0) + const value_endMargin_value_0 = value_endMargin_value as string + valueSerializer.writeString(value_endMargin_value_0) + } + else if (RuntimeType.NUMBER == value_endMargin_value_type) { + valueSerializer.writeInt8(1) + const value_endMargin_value_1 = value_endMargin_value as number + valueSerializer.writeNumber(value_endMargin_value_1) + } + else if (RuntimeType.OBJECT == value_endMargin_value_type) { + valueSerializer.writeInt8(2) + const value_endMargin_value_2 = value_endMargin_value as Resource + valueSerializer.writeResource(value_endMargin_value_2) + } } } - writeXComponentOptions(value: XComponentOptions): void { + public writeDotIndicator(value: DotIndicator): void { let valueSerializer : Serializer = this - const value_type = value.type - valueSerializer.writeInt32(TypeChecker.XComponentType_ToNumeric(value_type)) - const value_controller = value.controller - valueSerializer.writeXComponentController(value_controller) - const value_imageAIOptions = value.imageAIOptions - let value_imageAIOptions_type : int32 = RuntimeType.UNDEFINED - value_imageAIOptions_type = runtimeType(value_imageAIOptions) - valueSerializer.writeInt8(value_imageAIOptions_type as int32) - if ((RuntimeType.UNDEFINED) != (value_imageAIOptions_type)) { - const value_imageAIOptions_value = value_imageAIOptions! - valueSerializer.writeImageAIOptions(value_imageAIOptions_value) - } - } - writeActionSheetOptions(value: ActionSheetOptions): void { - let valueSerializer : Serializer = this - const value_title = value.title - let value_title_type : int32 = RuntimeType.UNDEFINED - value_title_type = runtimeType(value_title) - if (RuntimeType.STRING == value_title_type) { - valueSerializer.writeInt8(0 as int32) - const value_title_0 = value_title as string - valueSerializer.writeString(value_title_0) - } - else if (RuntimeType.OBJECT == value_title_type) { - valueSerializer.writeInt8(1 as int32) - const value_title_1 = value_title as Resource - valueSerializer.writeResource(value_title_1) - } - const value_subtitle = value.subtitle - let value_subtitle_type : int32 = RuntimeType.UNDEFINED - value_subtitle_type = runtimeType(value_subtitle) - valueSerializer.writeInt8(value_subtitle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_subtitle_type)) { - const value_subtitle_value = value_subtitle! - let value_subtitle_value_type : int32 = RuntimeType.UNDEFINED - value_subtitle_value_type = runtimeType(value_subtitle_value) - if (RuntimeType.STRING == value_subtitle_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_subtitle_value_0 = value_subtitle_value as string - valueSerializer.writeString(value_subtitle_value_0) + const value__left = value._left + let value__left_type : int32 = RuntimeType.UNDEFINED + value__left_type = runtimeType(value__left) + valueSerializer.writeInt8(value__left_type) + if ((RuntimeType.UNDEFINED) != (value__left_type)) { + const value__left_value = value__left! + let value__left_value_type : int32 = RuntimeType.UNDEFINED + value__left_value_type = runtimeType(value__left_value) + if (RuntimeType.STRING == value__left_value_type) { + valueSerializer.writeInt8(0) + const value__left_value_0 = value__left_value as string + valueSerializer.writeString(value__left_value_0) } - else if (RuntimeType.OBJECT == value_subtitle_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_subtitle_value_1 = value_subtitle_value as Resource - valueSerializer.writeResource(value_subtitle_value_1) + else if (RuntimeType.NUMBER == value__left_value_type) { + valueSerializer.writeInt8(1) + const value__left_value_1 = value__left_value as number + valueSerializer.writeNumber(value__left_value_1) + } + else if (RuntimeType.OBJECT == value__left_value_type) { + valueSerializer.writeInt8(2) + const value__left_value_2 = value__left_value as Resource + valueSerializer.writeResource(value__left_value_2) } } - const value_message = value.message - let value_message_type : int32 = RuntimeType.UNDEFINED - value_message_type = runtimeType(value_message) - if (RuntimeType.STRING == value_message_type) { - valueSerializer.writeInt8(0 as int32) - const value_message_0 = value_message as string - valueSerializer.writeString(value_message_0) - } - else if (RuntimeType.OBJECT == value_message_type) { - valueSerializer.writeInt8(1 as int32) - const value_message_1 = value_message as Resource - valueSerializer.writeResource(value_message_1) - } - const value_confirm = value.confirm - let value_confirm_type : int32 = RuntimeType.UNDEFINED - value_confirm_type = runtimeType(value_confirm) - valueSerializer.writeInt8(value_confirm_type as int32) - if ((RuntimeType.UNDEFINED) != (value_confirm_type)) { - const value_confirm_value = value_confirm! - valueSerializer.writeActionSheetButtonOptions(value_confirm_value) - } - const value_cancel = value.cancel - let value_cancel_type : int32 = RuntimeType.UNDEFINED - value_cancel_type = runtimeType(value_cancel) - valueSerializer.writeInt8(value_cancel_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cancel_type)) { - const value_cancel_value = value_cancel! - valueSerializer.holdAndWriteCallback(value_cancel_value) - } - const value_sheets = value.sheets - valueSerializer.writeInt32(value_sheets.length as int32) - for (let i = 0; i < value_sheets.length; i++) { - const value_sheets_element : SheetInfo = value_sheets[i] - valueSerializer.writeSheetInfo(value_sheets_element) - } - const value_autoCancel = value.autoCancel - let value_autoCancel_type : int32 = RuntimeType.UNDEFINED - value_autoCancel_type = runtimeType(value_autoCancel) - valueSerializer.writeInt8(value_autoCancel_type as int32) - if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { - const value_autoCancel_value = value_autoCancel! - valueSerializer.writeBoolean(value_autoCancel_value) + const value__top = value._top + let value__top_type : int32 = RuntimeType.UNDEFINED + value__top_type = runtimeType(value__top) + valueSerializer.writeInt8(value__top_type) + if ((RuntimeType.UNDEFINED) != (value__top_type)) { + const value__top_value = value__top! + let value__top_value_type : int32 = RuntimeType.UNDEFINED + value__top_value_type = runtimeType(value__top_value) + if (RuntimeType.STRING == value__top_value_type) { + valueSerializer.writeInt8(0) + const value__top_value_0 = value__top_value as string + valueSerializer.writeString(value__top_value_0) + } + else if (RuntimeType.NUMBER == value__top_value_type) { + valueSerializer.writeInt8(1) + const value__top_value_1 = value__top_value as number + valueSerializer.writeNumber(value__top_value_1) + } + else if (RuntimeType.OBJECT == value__top_value_type) { + valueSerializer.writeInt8(2) + const value__top_value_2 = value__top_value as Resource + valueSerializer.writeResource(value__top_value_2) + } } - const value_alignment = value.alignment - let value_alignment_type : int32 = RuntimeType.UNDEFINED - value_alignment_type = runtimeType(value_alignment) - valueSerializer.writeInt8(value_alignment_type as int32) - if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { - const value_alignment_value = (value_alignment as DialogAlignment) - valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) + const value__right = value._right + let value__right_type : int32 = RuntimeType.UNDEFINED + value__right_type = runtimeType(value__right) + valueSerializer.writeInt8(value__right_type) + if ((RuntimeType.UNDEFINED) != (value__right_type)) { + const value__right_value = value__right! + let value__right_value_type : int32 = RuntimeType.UNDEFINED + value__right_value_type = runtimeType(value__right_value) + if (RuntimeType.STRING == value__right_value_type) { + valueSerializer.writeInt8(0) + const value__right_value_0 = value__right_value as string + valueSerializer.writeString(value__right_value_0) + } + else if (RuntimeType.NUMBER == value__right_value_type) { + valueSerializer.writeInt8(1) + const value__right_value_1 = value__right_value as number + valueSerializer.writeNumber(value__right_value_1) + } + else if (RuntimeType.OBJECT == value__right_value_type) { + valueSerializer.writeInt8(2) + const value__right_value_2 = value__right_value as Resource + valueSerializer.writeResource(value__right_value_2) + } } - const value_offset = value.offset - let value_offset_type : int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - valueSerializer.writeActionSheetOffset(value_offset_value) + const value__bottom = value._bottom + let value__bottom_type : int32 = RuntimeType.UNDEFINED + value__bottom_type = runtimeType(value__bottom) + valueSerializer.writeInt8(value__bottom_type) + if ((RuntimeType.UNDEFINED) != (value__bottom_type)) { + const value__bottom_value = value__bottom! + let value__bottom_value_type : int32 = RuntimeType.UNDEFINED + value__bottom_value_type = runtimeType(value__bottom_value) + if (RuntimeType.STRING == value__bottom_value_type) { + valueSerializer.writeInt8(0) + const value__bottom_value_0 = value__bottom_value as string + valueSerializer.writeString(value__bottom_value_0) + } + else if (RuntimeType.NUMBER == value__bottom_value_type) { + valueSerializer.writeInt8(1) + const value__bottom_value_1 = value__bottom_value as number + valueSerializer.writeNumber(value__bottom_value_1) + } + else if (RuntimeType.OBJECT == value__bottom_value_type) { + valueSerializer.writeInt8(2) + const value__bottom_value_2 = value__bottom_value as Resource + valueSerializer.writeResource(value__bottom_value_2) + } } - const value_maskRect = value.maskRect - let value_maskRect_type : int32 = RuntimeType.UNDEFINED - value_maskRect_type = runtimeType(value_maskRect) - valueSerializer.writeInt8(value_maskRect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { - const value_maskRect_value = value_maskRect! - valueSerializer.writeRectangle(value_maskRect_value) + const value__start = value._start + let value__start_type : int32 = RuntimeType.UNDEFINED + value__start_type = runtimeType(value__start) + valueSerializer.writeInt8(value__start_type) + if ((RuntimeType.UNDEFINED) != (value__start_type)) { + const value__start_value = value__start! + valueSerializer.writeLengthMetrics(value__start_value) } - const value_showInSubWindow = value.showInSubWindow - let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED - value_showInSubWindow_type = runtimeType(value_showInSubWindow) - valueSerializer.writeInt8(value_showInSubWindow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { - const value_showInSubWindow_value = value_showInSubWindow! - valueSerializer.writeBoolean(value_showInSubWindow_value) + const value__end = value._end + let value__end_type : int32 = RuntimeType.UNDEFINED + value__end_type = runtimeType(value__end) + valueSerializer.writeInt8(value__end_type) + if ((RuntimeType.UNDEFINED) != (value__end_type)) { + const value__end_value = value__end! + valueSerializer.writeLengthMetrics(value__end_value) } - const value_isModal = value.isModal - let value_isModal_type : int32 = RuntimeType.UNDEFINED - value_isModal_type = runtimeType(value_isModal) - valueSerializer.writeInt8(value_isModal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_isModal_type)) { - const value_isModal_value = value_isModal! - valueSerializer.writeBoolean(value_isModal_value) + const value__itemWidth = value._itemWidth + let value__itemWidth_type : int32 = RuntimeType.UNDEFINED + value__itemWidth_type = runtimeType(value__itemWidth) + valueSerializer.writeInt8(value__itemWidth_type) + if ((RuntimeType.UNDEFINED) != (value__itemWidth_type)) { + const value__itemWidth_value = value__itemWidth! + let value__itemWidth_value_type : int32 = RuntimeType.UNDEFINED + value__itemWidth_value_type = runtimeType(value__itemWidth_value) + if (RuntimeType.STRING == value__itemWidth_value_type) { + valueSerializer.writeInt8(0) + const value__itemWidth_value_0 = value__itemWidth_value as string + valueSerializer.writeString(value__itemWidth_value_0) + } + else if (RuntimeType.NUMBER == value__itemWidth_value_type) { + valueSerializer.writeInt8(1) + const value__itemWidth_value_1 = value__itemWidth_value as number + valueSerializer.writeNumber(value__itemWidth_value_1) + } + else if (RuntimeType.OBJECT == value__itemWidth_value_type) { + valueSerializer.writeInt8(2) + const value__itemWidth_value_2 = value__itemWidth_value as Resource + valueSerializer.writeResource(value__itemWidth_value_2) + } } - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundColor_value_0 = value_backgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) + const value__itemHeight = value._itemHeight + let value__itemHeight_type : int32 = RuntimeType.UNDEFINED + value__itemHeight_type = runtimeType(value__itemHeight) + valueSerializer.writeInt8(value__itemHeight_type) + if ((RuntimeType.UNDEFINED) != (value__itemHeight_type)) { + const value__itemHeight_value = value__itemHeight! + let value__itemHeight_value_type : int32 = RuntimeType.UNDEFINED + value__itemHeight_value_type = runtimeType(value__itemHeight_value) + if (RuntimeType.STRING == value__itemHeight_value_type) { + valueSerializer.writeInt8(0) + const value__itemHeight_value_0 = value__itemHeight_value as string + valueSerializer.writeString(value__itemHeight_value_0) } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundColor_value_1 = value_backgroundColor_value as number - valueSerializer.writeNumber(value_backgroundColor_value_1) + else if (RuntimeType.NUMBER == value__itemHeight_value_type) { + valueSerializer.writeInt8(1) + const value__itemHeight_value_1 = value__itemHeight_value as number + valueSerializer.writeNumber(value__itemHeight_value_1) } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundColor_value_2 = value_backgroundColor_value as string - valueSerializer.writeString(value_backgroundColor_value_2) + else if (RuntimeType.OBJECT == value__itemHeight_value_type) { + valueSerializer.writeInt8(2) + const value__itemHeight_value_2 = value__itemHeight_value as Resource + valueSerializer.writeResource(value__itemHeight_value_2) } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundColor_value_3 = value_backgroundColor_value as Resource - valueSerializer.writeResource(value_backgroundColor_value_3) + } + const value__selectedItemWidth = value._selectedItemWidth + let value__selectedItemWidth_type : int32 = RuntimeType.UNDEFINED + value__selectedItemWidth_type = runtimeType(value__selectedItemWidth) + valueSerializer.writeInt8(value__selectedItemWidth_type) + if ((RuntimeType.UNDEFINED) != (value__selectedItemWidth_type)) { + const value__selectedItemWidth_value = value__selectedItemWidth! + let value__selectedItemWidth_value_type : int32 = RuntimeType.UNDEFINED + value__selectedItemWidth_value_type = runtimeType(value__selectedItemWidth_value) + if (RuntimeType.STRING == value__selectedItemWidth_value_type) { + valueSerializer.writeInt8(0) + const value__selectedItemWidth_value_0 = value__selectedItemWidth_value as string + valueSerializer.writeString(value__selectedItemWidth_value_0) + } + else if (RuntimeType.NUMBER == value__selectedItemWidth_value_type) { + valueSerializer.writeInt8(1) + const value__selectedItemWidth_value_1 = value__selectedItemWidth_value as number + valueSerializer.writeNumber(value__selectedItemWidth_value_1) + } + else if (RuntimeType.OBJECT == value__selectedItemWidth_value_type) { + valueSerializer.writeInt8(2) + const value__selectedItemWidth_value_2 = value__selectedItemWidth_value as Resource + valueSerializer.writeResource(value__selectedItemWidth_value_2) } } - const value_backgroundBlurStyle = value.backgroundBlurStyle - let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { - const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) - valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) - } - const value_onWillDismiss = value.onWillDismiss - let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED - value_onWillDismiss_type = runtimeType(value_onWillDismiss) - valueSerializer.writeInt8(value_onWillDismiss_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { - const value_onWillDismiss_value = value_onWillDismiss! - valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) + const value__selectedItemHeight = value._selectedItemHeight + let value__selectedItemHeight_type : int32 = RuntimeType.UNDEFINED + value__selectedItemHeight_type = runtimeType(value__selectedItemHeight) + valueSerializer.writeInt8(value__selectedItemHeight_type) + if ((RuntimeType.UNDEFINED) != (value__selectedItemHeight_type)) { + const value__selectedItemHeight_value = value__selectedItemHeight! + let value__selectedItemHeight_value_type : int32 = RuntimeType.UNDEFINED + value__selectedItemHeight_value_type = runtimeType(value__selectedItemHeight_value) + if (RuntimeType.STRING == value__selectedItemHeight_value_type) { + valueSerializer.writeInt8(0) + const value__selectedItemHeight_value_0 = value__selectedItemHeight_value as string + valueSerializer.writeString(value__selectedItemHeight_value_0) + } + else if (RuntimeType.NUMBER == value__selectedItemHeight_value_type) { + valueSerializer.writeInt8(1) + const value__selectedItemHeight_value_1 = value__selectedItemHeight_value as number + valueSerializer.writeNumber(value__selectedItemHeight_value_1) + } + else if (RuntimeType.OBJECT == value__selectedItemHeight_value_type) { + valueSerializer.writeInt8(2) + const value__selectedItemHeight_value_2 = value__selectedItemHeight_value as Resource + valueSerializer.writeResource(value__selectedItemHeight_value_2) + } } - const value_transition = value.transition - let value_transition_type : int32 = RuntimeType.UNDEFINED - value_transition_type = runtimeType(value_transition) - valueSerializer.writeInt8(value_transition_type as int32) - if ((RuntimeType.UNDEFINED) != (value_transition_type)) { - const value_transition_value = value_transition! - valueSerializer.writeTransitionEffect(value_transition_value) + const value__mask = value._mask + let value__mask_type : int32 = RuntimeType.UNDEFINED + value__mask_type = runtimeType(value__mask) + valueSerializer.writeInt8(value__mask_type) + if ((RuntimeType.UNDEFINED) != (value__mask_type)) { + const value__mask_value = value__mask! + valueSerializer.writeBoolean(value__mask_value) } - const value_cornerRadius = value.cornerRadius - let value_cornerRadius_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_type = runtimeType(value_cornerRadius) - valueSerializer.writeInt8(value_cornerRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_type)) { - const value_cornerRadius_value = value_cornerRadius! - let value_cornerRadius_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_type = runtimeType(value_cornerRadius_value) - if ((RuntimeType.STRING == value_cornerRadius_value_type) || (RuntimeType.NUMBER == value_cornerRadius_value_type) || (RuntimeType.OBJECT == value_cornerRadius_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_0 = value_cornerRadius_value as Dimension - let value_cornerRadius_value_0_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_0_type = runtimeType(value_cornerRadius_value_0) - if (RuntimeType.STRING == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_0_0 = value_cornerRadius_value_0 as string - valueSerializer.writeString(value_cornerRadius_value_0_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_0_1 = value_cornerRadius_value_0 as number - valueSerializer.writeNumber(value_cornerRadius_value_0_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_0_2 = value_cornerRadius_value_0 as Resource - valueSerializer.writeResource(value_cornerRadius_value_0_2) - } + const value__color = value._color + let value__color_type : int32 = RuntimeType.UNDEFINED + value__color_type = runtimeType(value__color) + valueSerializer.writeInt8(value__color_type) + if ((RuntimeType.UNDEFINED) != (value__color_type)) { + const value__color_value = value__color! + let value__color_value_type : int32 = RuntimeType.UNDEFINED + value__color_value_type = runtimeType(value__color_value) + if (TypeChecker.isColor(value__color_value)) { + valueSerializer.writeInt8(0) + const value__color_value_0 = value__color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value__color_value_0)) } - else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (TypeChecker.isBorderRadiuses(value_cornerRadius_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1 = value_cornerRadius_value as BorderRadiuses - const value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft - let value_cornerRadius_value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft! - let value_cornerRadius_value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_value_type = runtimeType(value_cornerRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_topLeft_value_0 = value_cornerRadius_value_1_topLeft_value as string - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_topLeft_value_1 = value_cornerRadius_value_1_topLeft_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_topLeft_value_2 = value_cornerRadius_value_1_topLeft_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2) - } - } - const value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight - let value_cornerRadius_value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight! - let value_cornerRadius_value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_value_type = runtimeType(value_cornerRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_topRight_value_0 = value_cornerRadius_value_1_topRight_value as string - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_topRight_value_1 = value_cornerRadius_value_1_topRight_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_topRight_value_2 = value_cornerRadius_value_1_topRight_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2) - } - } - const value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft - let value_cornerRadius_value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft! - let value_cornerRadius_value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_value_type = runtimeType(value_cornerRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_bottomLeft_value_0 = value_cornerRadius_value_1_bottomLeft_value as string - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_bottomLeft_value_1 = value_cornerRadius_value_1_bottomLeft_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_bottomLeft_value_2 = value_cornerRadius_value_1_bottomLeft_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2) - } - } - const value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight - let value_cornerRadius_value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight! - let value_cornerRadius_value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_value_type = runtimeType(value_cornerRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_bottomRight_value_0 = value_cornerRadius_value_1_bottomRight_value as string - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_bottomRight_value_1 = value_cornerRadius_value_1_bottomRight_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_bottomRight_value_2 = value_cornerRadius_value_1_bottomRight_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2) - } - } + else if (RuntimeType.NUMBER == value__color_value_type) { + valueSerializer.writeInt8(1) + const value__color_value_1 = value__color_value as number + valueSerializer.writeNumber(value__color_value_1) } - else if (TypeChecker.isLocalizedBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_2 = value_cornerRadius_value as LocalizedBorderRadiuses - valueSerializer.writeLocalizedBorderRadiuses(value_cornerRadius_value_2) + else if (RuntimeType.STRING == value__color_value_type) { + valueSerializer.writeInt8(2) + const value__color_value_2 = value__color_value as string + valueSerializer.writeString(value__color_value_2) + } + else if (RuntimeType.OBJECT == value__color_value_type) { + valueSerializer.writeInt8(3) + const value__color_value_3 = value__color_value as Resource + valueSerializer.writeResource(value__color_value_3) } } - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as string - valueSerializer.writeString(value_width_value_0) + const value__selectedColor = value._selectedColor + let value__selectedColor_type : int32 = RuntimeType.UNDEFINED + value__selectedColor_type = runtimeType(value__selectedColor) + valueSerializer.writeInt8(value__selectedColor_type) + if ((RuntimeType.UNDEFINED) != (value__selectedColor_type)) { + const value__selectedColor_value = value__selectedColor! + let value__selectedColor_value_type : int32 = RuntimeType.UNDEFINED + value__selectedColor_value_type = runtimeType(value__selectedColor_value) + if (TypeChecker.isColor(value__selectedColor_value)) { + valueSerializer.writeInt8(0) + const value__selectedColor_value_0 = value__selectedColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value__selectedColor_value_0)) } - else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as number - valueSerializer.writeNumber(value_width_value_1) + else if (RuntimeType.NUMBER == value__selectedColor_value_type) { + valueSerializer.writeInt8(1) + const value__selectedColor_value_1 = value__selectedColor_value as number + valueSerializer.writeNumber(value__selectedColor_value_1) } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as Resource - valueSerializer.writeResource(value_width_value_2) + else if (RuntimeType.STRING == value__selectedColor_value_type) { + valueSerializer.writeInt8(2) + const value__selectedColor_value_2 = value__selectedColor_value as string + valueSerializer.writeString(value__selectedColor_value_2) + } + else if (RuntimeType.OBJECT == value__selectedColor_value_type) { + valueSerializer.writeInt8(3) + const value__selectedColor_value_3 = value__selectedColor_value as Resource + valueSerializer.writeResource(value__selectedColor_value_3) } } - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type : int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_value_0 = value_height_value as string - valueSerializer.writeString(value_height_value_0) + const value__maxDisplayCount = value._maxDisplayCount + let value__maxDisplayCount_type : int32 = RuntimeType.UNDEFINED + value__maxDisplayCount_type = runtimeType(value__maxDisplayCount) + valueSerializer.writeInt8(value__maxDisplayCount_type) + if ((RuntimeType.UNDEFINED) != (value__maxDisplayCount_type)) { + const value__maxDisplayCount_value = value__maxDisplayCount! + valueSerializer.writeNumber(value__maxDisplayCount_value) + } + const value__space = value._space + let value__space_type : int32 = RuntimeType.UNDEFINED + value__space_type = runtimeType(value__space) + valueSerializer.writeInt8(value__space_type) + if ((RuntimeType.UNDEFINED) != (value__space_type)) { + const value__space_value = value__space! + valueSerializer.writeLengthMetrics(value__space_value) + } + } + public writeEdgeOutlineWidths(value: EdgeOutlineWidths): void { + let valueSerializer : Serializer = this + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type : int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.STRING == value_top_value_type) { + valueSerializer.writeInt8(0) + const value_top_value_0 = value_top_value as string + valueSerializer.writeString(value_top_value_0) } - else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_value_1 = value_height_value as number - valueSerializer.writeNumber(value_height_value_1) + else if (RuntimeType.NUMBER == value_top_value_type) { + valueSerializer.writeInt8(1) + const value_top_value_1 = value_top_value as number + valueSerializer.writeNumber(value_top_value_1) } - else if (RuntimeType.OBJECT == value_height_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_height_value_2 = value_height_value as Resource - valueSerializer.writeResource(value_height_value_2) + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(2) + const value_top_value_2 = value_top_value as Resource + valueSerializer.writeResource(value_top_value_2) } } - const value_borderWidth = value.borderWidth - let value_borderWidth_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_type = runtimeType(value_borderWidth) - valueSerializer.writeInt8(value_borderWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { - const value_borderWidth_value = value_borderWidth! - let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_type = runtimeType(value_borderWidth_value) - if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0 = value_borderWidth_value as Dimension - let value_borderWidth_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) - if (RuntimeType.STRING == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0_0 = value_borderWidth_value_0 as string - valueSerializer.writeString(value_borderWidth_value_0_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_0_1 = value_borderWidth_value_0 as number - valueSerializer.writeNumber(value_borderWidth_value_0_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_0_2 = value_borderWidth_value_0 as Resource - valueSerializer.writeResource(value_borderWidth_value_0_2) - } + const value_right = value.right + let value_right_type : int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type : int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (RuntimeType.STRING == value_right_value_type) { + valueSerializer.writeInt8(0) + const value_right_value_0 = value_right_value as string + valueSerializer.writeString(value_right_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (TypeChecker.isEdgeWidths(value_borderWidth_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1 = value_borderWidth_value as EdgeWidths - const value_borderWidth_value_1_top = value_borderWidth_value_1.top - let value_borderWidth_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top) - valueSerializer.writeInt8(value_borderWidth_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const value_borderWidth_value_1_top_value = value_borderWidth_value_1_top! - let value_borderWidth_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_value_type = runtimeType(value_borderWidth_value_1_top_value) - if (RuntimeType.STRING == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_top_value_0 = value_borderWidth_value_1_top_value as string - valueSerializer.writeString(value_borderWidth_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_top_value_1 = value_borderWidth_value_1_top_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_top_value_2 = value_borderWidth_value_1_top_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2) - } - } - const value_borderWidth_value_1_right = value_borderWidth_value_1.right - let value_borderWidth_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right) - valueSerializer.writeInt8(value_borderWidth_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const value_borderWidth_value_1_right_value = value_borderWidth_value_1_right! - let value_borderWidth_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_value_type = runtimeType(value_borderWidth_value_1_right_value) - if (RuntimeType.STRING == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_right_value_0 = value_borderWidth_value_1_right_value as string - valueSerializer.writeString(value_borderWidth_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_right_value_1 = value_borderWidth_value_1_right_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_right_value_2 = value_borderWidth_value_1_right_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2) - } - } - const value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom - let value_borderWidth_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom) - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom! - let value_borderWidth_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_value_type = runtimeType(value_borderWidth_value_1_bottom_value) - if (RuntimeType.STRING == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_bottom_value_0 = value_borderWidth_value_1_bottom_value as string - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_bottom_value_1 = value_borderWidth_value_1_bottom_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_bottom_value_2 = value_borderWidth_value_1_bottom_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2) - } - } - const value_borderWidth_value_1_left = value_borderWidth_value_1.left - let value_borderWidth_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left) - valueSerializer.writeInt8(value_borderWidth_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const value_borderWidth_value_1_left_value = value_borderWidth_value_1_left! - let value_borderWidth_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_value_type = runtimeType(value_borderWidth_value_1_left_value) - if (RuntimeType.STRING == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_left_value_0 = value_borderWidth_value_1_left_value as string - valueSerializer.writeString(value_borderWidth_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_left_value_1 = value_borderWidth_value_1_left_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_left_value_2 = value_borderWidth_value_1_left_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2) - } - } + else if (RuntimeType.NUMBER == value_right_value_type) { + valueSerializer.writeInt8(1) + const value_right_value_1 = value_right_value as number + valueSerializer.writeNumber(value_right_value_1) } - else if (TypeChecker.isLocalizedEdgeWidths(value_borderWidth_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_2 = value_borderWidth_value as LocalizedEdgeWidths - valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2) + else if (RuntimeType.OBJECT == value_right_value_type) { + valueSerializer.writeInt8(2) + const value_right_value_2 = value_right_value as Resource + valueSerializer.writeResource(value_right_value_2) } } - const value_borderColor = value.borderColor - let value_borderColor_type : int32 = RuntimeType.UNDEFINED - value_borderColor_type = runtimeType(value_borderColor) - valueSerializer.writeInt8(value_borderColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { - const value_borderColor_value = value_borderColor! - let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_type = runtimeType(value_borderColor_value) - if ((TypeChecker.isColor(value_borderColor_value)) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0 = value_borderColor_value as ResourceColor - let value_borderColor_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) - if (TypeChecker.isColor(value_borderColor_value_0)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0_0 = value_borderColor_value_0 as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_0_1 = value_borderColor_value_0 as number - valueSerializer.writeNumber(value_borderColor_value_0_1) - } - else if (RuntimeType.STRING == value_borderColor_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_0_2 = value_borderColor_value_0 as string - valueSerializer.writeString(value_borderColor_value_0_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_0_3 = value_borderColor_value_0 as Resource - valueSerializer.writeResource(value_borderColor_value_0_3) - } + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type : int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (RuntimeType.STRING == value_bottom_value_type) { + valueSerializer.writeInt8(0) + const value_bottom_value_0 = value_bottom_value as string + valueSerializer.writeString(value_bottom_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (TypeChecker.isEdgeColors(value_borderColor_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1 = value_borderColor_value as EdgeColors - const value_borderColor_value_1_top = value_borderColor_value_1.top - let value_borderColor_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top) - valueSerializer.writeInt8(value_borderColor_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_top_type)) { - const value_borderColor_value_1_top_value = value_borderColor_value_1_top! - let value_borderColor_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_value_type = runtimeType(value_borderColor_value_1_top_value) - if (TypeChecker.isColor(value_borderColor_value_1_top_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_top_value_0 = value_borderColor_value_1_top_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_top_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_top_value_1 = value_borderColor_value_1_top_value as number - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_top_value_2 = value_borderColor_value_1_top_value as string - valueSerializer.writeString(value_borderColor_value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_top_value_3 = value_borderColor_value_1_top_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_top_value_3) - } - } - const value_borderColor_value_1_right = value_borderColor_value_1.right - let value_borderColor_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right) - valueSerializer.writeInt8(value_borderColor_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_right_type)) { - const value_borderColor_value_1_right_value = value_borderColor_value_1_right! - let value_borderColor_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_value_type = runtimeType(value_borderColor_value_1_right_value) - if (TypeChecker.isColor(value_borderColor_value_1_right_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_right_value_0 = value_borderColor_value_1_right_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_right_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_right_value_1 = value_borderColor_value_1_right_value as number - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_right_value_2 = value_borderColor_value_1_right_value as string - valueSerializer.writeString(value_borderColor_value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_right_value_3 = value_borderColor_value_1_right_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_right_value_3) - } - } - const value_borderColor_value_1_bottom = value_borderColor_value_1.bottom - let value_borderColor_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom) - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom! - let value_borderColor_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_value_type = runtimeType(value_borderColor_value_1_bottom_value) - if (TypeChecker.isColor(value_borderColor_value_1_bottom_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_bottom_value_0 = value_borderColor_value_1_bottom_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_bottom_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_bottom_value_1 = value_borderColor_value_1_bottom_value as number - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_bottom_value_2 = value_borderColor_value_1_bottom_value as string - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_bottom_value_3 = value_borderColor_value_1_bottom_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3) - } - } - const value_borderColor_value_1_left = value_borderColor_value_1.left - let value_borderColor_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left) - valueSerializer.writeInt8(value_borderColor_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_left_type)) { - const value_borderColor_value_1_left_value = value_borderColor_value_1_left! - let value_borderColor_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_value_type = runtimeType(value_borderColor_value_1_left_value) - if (TypeChecker.isColor(value_borderColor_value_1_left_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_left_value_0 = value_borderColor_value_1_left_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_left_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_left_value_1 = value_borderColor_value_1_left_value as number - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_left_value_2 = value_borderColor_value_1_left_value as string - valueSerializer.writeString(value_borderColor_value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_left_value_3 = value_borderColor_value_1_left_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_left_value_3) - } - } + else if (RuntimeType.NUMBER == value_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_bottom_value_1 = value_bottom_value as number + valueSerializer.writeNumber(value_bottom_value_1) } - else if (TypeChecker.isLocalizedEdgeColors(value_borderColor_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_2 = value_borderColor_value as LocalizedEdgeColors - valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2) + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = value_bottom_value as Resource + valueSerializer.writeResource(value_bottom_value_2) } } - const value_borderStyle = value.borderStyle - let value_borderStyle_type : int32 = RuntimeType.UNDEFINED - value_borderStyle_type = runtimeType(value_borderStyle) - valueSerializer.writeInt8(value_borderStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { - const value_borderStyle_value = value_borderStyle! - let value_borderStyle_value_type : int32 = RuntimeType.UNDEFINED - value_borderStyle_value_type = runtimeType(value_borderStyle_value) - if (TypeChecker.isBorderStyle(value_borderStyle_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderStyle_value_0 = value_borderStyle_value as BorderStyle - valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_borderStyle_value_0)) + const value_left = value.left + let value_left_type : int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type : int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.STRING == value_left_value_type) { + valueSerializer.writeInt8(0) + const value_left_value_0 = value_left_value as string + valueSerializer.writeString(value_left_value_0) } - else if (RuntimeType.OBJECT == value_borderStyle_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderStyle_value_1 = value_borderStyle_value as EdgeStyles - valueSerializer.writeEdgeStyles(value_borderStyle_value_1) + else if (RuntimeType.NUMBER == value_left_value_type) { + valueSerializer.writeInt8(1) + const value_left_value_1 = value_left_value as number + valueSerializer.writeNumber(value_left_value_1) + } + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = value_left_value as Resource + valueSerializer.writeResource(value_left_value_2) } } - const value_shadow = value.shadow - let value_shadow_type : int32 = RuntimeType.UNDEFINED - value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { - const value_shadow_value = value_shadow! - let value_shadow_value_type : int32 = RuntimeType.UNDEFINED - value_shadow_value_type = runtimeType(value_shadow_value) - if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_shadow_value_0 = value_shadow_value as ShadowOptions - valueSerializer.writeShadowOptions(value_shadow_value_0) + } + public writeEdges(value: Edges): void { + let valueSerializer : Serializer = this + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type : int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.STRING == value_top_value_type) { + valueSerializer.writeInt8(0) + const value_top_value_0 = value_top_value as string + valueSerializer.writeString(value_top_value_0) } - else if (TypeChecker.isShadowStyle(value_shadow_value)) { - valueSerializer.writeInt8(1 as int32) - const value_shadow_value_1 = value_shadow_value as ShadowStyle - valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) + else if (RuntimeType.NUMBER == value_top_value_type) { + valueSerializer.writeInt8(1) + const value_top_value_1 = value_top_value as number + valueSerializer.writeNumber(value_top_value_1) + } + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(2) + const value_top_value_2 = value_top_value as Resource + valueSerializer.writeResource(value_top_value_2) } } - const value_enableHoverMode = value.enableHoverMode - let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED - value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { - const value_enableHoverMode_value = value_enableHoverMode! - valueSerializer.writeBoolean(value_enableHoverMode_value) + const value_left = value.left + let value_left_type : int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type : int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.STRING == value_left_value_type) { + valueSerializer.writeInt8(0) + const value_left_value_0 = value_left_value as string + valueSerializer.writeString(value_left_value_0) + } + else if (RuntimeType.NUMBER == value_left_value_type) { + valueSerializer.writeInt8(1) + const value_left_value_1 = value_left_value as number + valueSerializer.writeNumber(value_left_value_1) + } + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = value_left_value as Resource + valueSerializer.writeResource(value_left_value_2) + } } - const value_hoverModeArea = value.hoverModeArea - let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED - value_hoverModeArea_type = runtimeType(value_hoverModeArea) - valueSerializer.writeInt8(value_hoverModeArea_type as int32) - if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { - const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) - valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type : int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (RuntimeType.STRING == value_bottom_value_type) { + valueSerializer.writeInt8(0) + const value_bottom_value_0 = value_bottom_value as string + valueSerializer.writeString(value_bottom_value_0) + } + else if (RuntimeType.NUMBER == value_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_bottom_value_1 = value_bottom_value as number + valueSerializer.writeNumber(value_bottom_value_1) + } + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = value_bottom_value as Resource + valueSerializer.writeResource(value_bottom_value_2) + } + } + const value_right = value.right + let value_right_type : int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type : int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (RuntimeType.STRING == value_right_value_type) { + valueSerializer.writeInt8(0) + const value_right_value_0 = value_right_value as string + valueSerializer.writeString(value_right_value_0) + } + else if (RuntimeType.NUMBER == value_right_value_type) { + valueSerializer.writeInt8(1) + const value_right_value_1 = value_right_value as number + valueSerializer.writeNumber(value_right_value_1) + } + else if (RuntimeType.OBJECT == value_right_value_type) { + valueSerializer.writeInt8(2) + const value_right_value_2 = value_right_value as Resource + valueSerializer.writeResource(value_right_value_2) + } } } - writeAlertDialogParamWithButtons(value: AlertDialogParamWithButtons): void { + public writeEdgeWidths(value: EdgeWidths): void { let valueSerializer : Serializer = this - const value_title = value.title - let value_title_type : int32 = RuntimeType.UNDEFINED - value_title_type = runtimeType(value_title) - valueSerializer.writeInt8(value_title_type as int32) - if ((RuntimeType.UNDEFINED) != (value_title_type)) { - const value_title_value = value_title! - let value_title_value_type : int32 = RuntimeType.UNDEFINED - value_title_value_type = runtimeType(value_title_value) - if (RuntimeType.STRING == value_title_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_title_value_0 = value_title_value as string - valueSerializer.writeString(value_title_value_0) + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type : int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.STRING == value_top_value_type) { + valueSerializer.writeInt8(0) + const value_top_value_0 = value_top_value as string + valueSerializer.writeString(value_top_value_0) } - else if (RuntimeType.OBJECT == value_title_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_title_value_1 = value_title_value as Resource - valueSerializer.writeResource(value_title_value_1) + else if (RuntimeType.NUMBER == value_top_value_type) { + valueSerializer.writeInt8(1) + const value_top_value_1 = value_top_value as number + valueSerializer.writeNumber(value_top_value_1) + } + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(2) + const value_top_value_2 = value_top_value as Resource + valueSerializer.writeResource(value_top_value_2) } } - const value_subtitle = value.subtitle - let value_subtitle_type : int32 = RuntimeType.UNDEFINED - value_subtitle_type = runtimeType(value_subtitle) - valueSerializer.writeInt8(value_subtitle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_subtitle_type)) { - const value_subtitle_value = value_subtitle! - let value_subtitle_value_type : int32 = RuntimeType.UNDEFINED - value_subtitle_value_type = runtimeType(value_subtitle_value) - if (RuntimeType.STRING == value_subtitle_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_subtitle_value_0 = value_subtitle_value as string - valueSerializer.writeString(value_subtitle_value_0) + const value_right = value.right + let value_right_type : int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type : int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (RuntimeType.STRING == value_right_value_type) { + valueSerializer.writeInt8(0) + const value_right_value_0 = value_right_value as string + valueSerializer.writeString(value_right_value_0) } - else if (RuntimeType.OBJECT == value_subtitle_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_subtitle_value_1 = value_subtitle_value as Resource - valueSerializer.writeResource(value_subtitle_value_1) + else if (RuntimeType.NUMBER == value_right_value_type) { + valueSerializer.writeInt8(1) + const value_right_value_1 = value_right_value as number + valueSerializer.writeNumber(value_right_value_1) + } + else if (RuntimeType.OBJECT == value_right_value_type) { + valueSerializer.writeInt8(2) + const value_right_value_2 = value_right_value as Resource + valueSerializer.writeResource(value_right_value_2) } } - const value_message = value.message - let value_message_type : int32 = RuntimeType.UNDEFINED - value_message_type = runtimeType(value_message) - if (RuntimeType.STRING == value_message_type) { - valueSerializer.writeInt8(0 as int32) - const value_message_0 = value_message as string - valueSerializer.writeString(value_message_0) - } - else if (RuntimeType.OBJECT == value_message_type) { - valueSerializer.writeInt8(1 as int32) - const value_message_1 = value_message as Resource - valueSerializer.writeResource(value_message_1) + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type : int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (RuntimeType.STRING == value_bottom_value_type) { + valueSerializer.writeInt8(0) + const value_bottom_value_0 = value_bottom_value as string + valueSerializer.writeString(value_bottom_value_0) + } + else if (RuntimeType.NUMBER == value_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_bottom_value_1 = value_bottom_value as number + valueSerializer.writeNumber(value_bottom_value_1) + } + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = value_bottom_value as Resource + valueSerializer.writeResource(value_bottom_value_2) + } } - const value_autoCancel = value.autoCancel - let value_autoCancel_type : int32 = RuntimeType.UNDEFINED - value_autoCancel_type = runtimeType(value_autoCancel) - valueSerializer.writeInt8(value_autoCancel_type as int32) - if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { - const value_autoCancel_value = value_autoCancel! - valueSerializer.writeBoolean(value_autoCancel_value) + const value_left = value.left + let value_left_type : int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type : int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.STRING == value_left_value_type) { + valueSerializer.writeInt8(0) + const value_left_value_0 = value_left_value as string + valueSerializer.writeString(value_left_value_0) + } + else if (RuntimeType.NUMBER == value_left_value_type) { + valueSerializer.writeInt8(1) + const value_left_value_1 = value_left_value as number + valueSerializer.writeNumber(value_left_value_1) + } + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = value_left_value as Resource + valueSerializer.writeResource(value_left_value_2) + } } - const value_cancel = value.cancel - let value_cancel_type : int32 = RuntimeType.UNDEFINED - value_cancel_type = runtimeType(value_cancel) - valueSerializer.writeInt8(value_cancel_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cancel_type)) { - const value_cancel_value = value_cancel! - valueSerializer.holdAndWriteCallback(value_cancel_value) + } + public writeEditableTextChangeValue(value: EditableTextChangeValue): void { + let valueSerializer : Serializer = this + const value_content = value.content + valueSerializer.writeString(value_content) + const value_previewText = value.previewText + let value_previewText_type : int32 = RuntimeType.UNDEFINED + value_previewText_type = runtimeType(value_previewText) + valueSerializer.writeInt8(value_previewText_type) + if ((RuntimeType.UNDEFINED) != (value_previewText_type)) { + const value_previewText_value = value_previewText! + valueSerializer.writePreviewText(value_previewText_value) } - const value_alignment = value.alignment - let value_alignment_type : int32 = RuntimeType.UNDEFINED - value_alignment_type = runtimeType(value_alignment) - valueSerializer.writeInt8(value_alignment_type as int32) - if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { - const value_alignment_value = (value_alignment as DialogAlignment) - valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) + const value_options = value.options + let value_options_type : int32 = RuntimeType.UNDEFINED + value_options_type = runtimeType(value_options) + valueSerializer.writeInt8(value_options_type) + if ((RuntimeType.UNDEFINED) != (value_options_type)) { + const value_options_value = value_options! + valueSerializer.writeTextChangeOptions(value_options_value) } - const value_offset = value.offset - let value_offset_type : int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dx_0 = value_offset_value_dx as string - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dx_1 = value_offset_value_dx as number - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dx_2 = value_offset_value_dx as Resource - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dy_0 = value_offset_value_dy as string - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dy_1 = value_offset_value_dy as number - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dy_2 = value_offset_value_dy as Resource - valueSerializer.writeResource(value_offset_value_dy_2) - } + } + public writeFlexOptions(value: FlexOptions): void { + let valueSerializer : Serializer = this + const value_direction = value.direction + let value_direction_type : int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + valueSerializer.writeInt8(value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = (value_direction as FlexDirection) + valueSerializer.writeInt32(TypeChecker.FlexDirection_ToNumeric(value_direction_value)) } - const value_gridCount = value.gridCount - let value_gridCount_type : int32 = RuntimeType.UNDEFINED - value_gridCount_type = runtimeType(value_gridCount) - valueSerializer.writeInt8(value_gridCount_type as int32) - if ((RuntimeType.UNDEFINED) != (value_gridCount_type)) { - const value_gridCount_value = value_gridCount! - valueSerializer.writeNumber(value_gridCount_value) + const value_wrap = value.wrap + let value_wrap_type : int32 = RuntimeType.UNDEFINED + value_wrap_type = runtimeType(value_wrap) + valueSerializer.writeInt8(value_wrap_type) + if ((RuntimeType.UNDEFINED) != (value_wrap_type)) { + const value_wrap_value = (value_wrap as FlexWrap) + valueSerializer.writeInt32(TypeChecker.FlexWrap_ToNumeric(value_wrap_value)) } - const value_maskRect = value.maskRect - let value_maskRect_type : int32 = RuntimeType.UNDEFINED - value_maskRect_type = runtimeType(value_maskRect) - valueSerializer.writeInt8(value_maskRect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { - const value_maskRect_value = value_maskRect! - valueSerializer.writeRectangle(value_maskRect_value) + const value_justifyContent = value.justifyContent + let value_justifyContent_type : int32 = RuntimeType.UNDEFINED + value_justifyContent_type = runtimeType(value_justifyContent) + valueSerializer.writeInt8(value_justifyContent_type) + if ((RuntimeType.UNDEFINED) != (value_justifyContent_type)) { + const value_justifyContent_value = (value_justifyContent as FlexAlign) + valueSerializer.writeInt32(TypeChecker.FlexAlign_ToNumeric(value_justifyContent_value)) } - const value_showInSubWindow = value.showInSubWindow - let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED - value_showInSubWindow_type = runtimeType(value_showInSubWindow) - valueSerializer.writeInt8(value_showInSubWindow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { - const value_showInSubWindow_value = value_showInSubWindow! - valueSerializer.writeBoolean(value_showInSubWindow_value) + const value_alignItems = value.alignItems + let value_alignItems_type : int32 = RuntimeType.UNDEFINED + value_alignItems_type = runtimeType(value_alignItems) + valueSerializer.writeInt8(value_alignItems_type) + if ((RuntimeType.UNDEFINED) != (value_alignItems_type)) { + const value_alignItems_value = (value_alignItems as ItemAlign) + valueSerializer.writeInt32(TypeChecker.ItemAlign_ToNumeric(value_alignItems_value)) } - const value_isModal = value.isModal - let value_isModal_type : int32 = RuntimeType.UNDEFINED - value_isModal_type = runtimeType(value_isModal) - valueSerializer.writeInt8(value_isModal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_isModal_type)) { - const value_isModal_value = value_isModal! - valueSerializer.writeBoolean(value_isModal_value) + const value_alignContent = value.alignContent + let value_alignContent_type : int32 = RuntimeType.UNDEFINED + value_alignContent_type = runtimeType(value_alignContent) + valueSerializer.writeInt8(value_alignContent_type) + if ((RuntimeType.UNDEFINED) != (value_alignContent_type)) { + const value_alignContent_value = (value_alignContent as FlexAlign) + valueSerializer.writeInt32(TypeChecker.FlexAlign_ToNumeric(value_alignContent_value)) } - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundColor_value_0 = value_backgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) - } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundColor_value_1 = value_backgroundColor_value as number - valueSerializer.writeNumber(value_backgroundColor_value_1) + const value_space = value.space + let value_space_type : int32 = RuntimeType.UNDEFINED + value_space_type = runtimeType(value_space) + valueSerializer.writeInt8(value_space_type) + if ((RuntimeType.UNDEFINED) != (value_space_type)) { + const value_space_value = value_space! + valueSerializer.writeFlexSpaceOptions(value_space_value) + } + } + public writeFont(value: Font): void { + let valueSerializer : Serializer = this + const value_size = value.size + let value_size_type : int32 = RuntimeType.UNDEFINED + value_size_type = runtimeType(value_size) + valueSerializer.writeInt8(value_size_type) + if ((RuntimeType.UNDEFINED) != (value_size_type)) { + const value_size_value = value_size! + let value_size_value_type : int32 = RuntimeType.UNDEFINED + value_size_value_type = runtimeType(value_size_value) + if (RuntimeType.STRING == value_size_value_type) { + valueSerializer.writeInt8(0) + const value_size_value_0 = value_size_value as string + valueSerializer.writeString(value_size_value_0) } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundColor_value_2 = value_backgroundColor_value as string - valueSerializer.writeString(value_backgroundColor_value_2) + else if (RuntimeType.NUMBER == value_size_value_type) { + valueSerializer.writeInt8(1) + const value_size_value_1 = value_size_value as number + valueSerializer.writeNumber(value_size_value_1) } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundColor_value_3 = value_backgroundColor_value as Resource - valueSerializer.writeResource(value_backgroundColor_value_3) + else if (RuntimeType.OBJECT == value_size_value_type) { + valueSerializer.writeInt8(2) + const value_size_value_2 = value_size_value as Resource + valueSerializer.writeResource(value_size_value_2) } } - const value_backgroundBlurStyle = value.backgroundBlurStyle - let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { - const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) - valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) - } - const value_onWillDismiss = value.onWillDismiss - let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED - value_onWillDismiss_type = runtimeType(value_onWillDismiss) - valueSerializer.writeInt8(value_onWillDismiss_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { - const value_onWillDismiss_value = value_onWillDismiss! - valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) - } - const value_transition = value.transition - let value_transition_type : int32 = RuntimeType.UNDEFINED - value_transition_type = runtimeType(value_transition) - valueSerializer.writeInt8(value_transition_type as int32) - if ((RuntimeType.UNDEFINED) != (value_transition_type)) { - const value_transition_value = value_transition! - valueSerializer.writeTransitionEffect(value_transition_value) - } - const value_cornerRadius = value.cornerRadius - let value_cornerRadius_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_type = runtimeType(value_cornerRadius) - valueSerializer.writeInt8(value_cornerRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_type)) { - const value_cornerRadius_value = value_cornerRadius! - let value_cornerRadius_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_type = runtimeType(value_cornerRadius_value) - if ((RuntimeType.STRING == value_cornerRadius_value_type) || (RuntimeType.NUMBER == value_cornerRadius_value_type) || (RuntimeType.OBJECT == value_cornerRadius_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_0 = value_cornerRadius_value as Dimension - let value_cornerRadius_value_0_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_0_type = runtimeType(value_cornerRadius_value_0) - if (RuntimeType.STRING == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_0_0 = value_cornerRadius_value_0 as string - valueSerializer.writeString(value_cornerRadius_value_0_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_0_1 = value_cornerRadius_value_0 as number - valueSerializer.writeNumber(value_cornerRadius_value_0_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_0_2 = value_cornerRadius_value_0 as Resource - valueSerializer.writeResource(value_cornerRadius_value_0_2) - } + const value_weight = value.weight + let value_weight_type : int32 = RuntimeType.UNDEFINED + value_weight_type = runtimeType(value_weight) + valueSerializer.writeInt8(value_weight_type) + if ((RuntimeType.UNDEFINED) != (value_weight_type)) { + const value_weight_value = value_weight! + let value_weight_value_type : int32 = RuntimeType.UNDEFINED + value_weight_value_type = runtimeType(value_weight_value) + if (TypeChecker.isFontWeight(value_weight_value)) { + valueSerializer.writeInt8(0) + const value_weight_value_0 = value_weight_value as FontWeight + valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_weight_value_0)) } - else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (TypeChecker.isBorderRadiuses(value_cornerRadius_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1 = value_cornerRadius_value as BorderRadiuses - const value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft - let value_cornerRadius_value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft! - let value_cornerRadius_value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_value_type = runtimeType(value_cornerRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_topLeft_value_0 = value_cornerRadius_value_1_topLeft_value as string - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_topLeft_value_1 = value_cornerRadius_value_1_topLeft_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_topLeft_value_2 = value_cornerRadius_value_1_topLeft_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2) - } - } - const value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight - let value_cornerRadius_value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight! - let value_cornerRadius_value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_value_type = runtimeType(value_cornerRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_topRight_value_0 = value_cornerRadius_value_1_topRight_value as string - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_topRight_value_1 = value_cornerRadius_value_1_topRight_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_topRight_value_2 = value_cornerRadius_value_1_topRight_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2) - } - } - const value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft - let value_cornerRadius_value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft! - let value_cornerRadius_value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_value_type = runtimeType(value_cornerRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_bottomLeft_value_0 = value_cornerRadius_value_1_bottomLeft_value as string - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_bottomLeft_value_1 = value_cornerRadius_value_1_bottomLeft_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_bottomLeft_value_2 = value_cornerRadius_value_1_bottomLeft_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2) - } - } - const value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight - let value_cornerRadius_value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight! - let value_cornerRadius_value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_value_type = runtimeType(value_cornerRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_bottomRight_value_0 = value_cornerRadius_value_1_bottomRight_value as string - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_bottomRight_value_1 = value_cornerRadius_value_1_bottomRight_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_bottomRight_value_2 = value_cornerRadius_value_1_bottomRight_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2) - } - } + else if (RuntimeType.NUMBER == value_weight_value_type) { + valueSerializer.writeInt8(1) + const value_weight_value_1 = value_weight_value as number + valueSerializer.writeNumber(value_weight_value_1) } - else if (TypeChecker.isLocalizedBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_2 = value_cornerRadius_value as LocalizedBorderRadiuses - valueSerializer.writeLocalizedBorderRadiuses(value_cornerRadius_value_2) + else if (RuntimeType.STRING == value_weight_value_type) { + valueSerializer.writeInt8(2) + const value_weight_value_2 = value_weight_value as string + valueSerializer.writeString(value_weight_value_2) } } - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as string - valueSerializer.writeString(value_width_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as number - valueSerializer.writeNumber(value_width_value_1) + const value_family = value.family + let value_family_type : int32 = RuntimeType.UNDEFINED + value_family_type = runtimeType(value_family) + valueSerializer.writeInt8(value_family_type) + if ((RuntimeType.UNDEFINED) != (value_family_type)) { + const value_family_value = value_family! + let value_family_value_type : int32 = RuntimeType.UNDEFINED + value_family_value_type = runtimeType(value_family_value) + if (RuntimeType.STRING == value_family_value_type) { + valueSerializer.writeInt8(0) + const value_family_value_0 = value_family_value as string + valueSerializer.writeString(value_family_value_0) } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as Resource - valueSerializer.writeResource(value_width_value_2) + else if (RuntimeType.OBJECT == value_family_value_type) { + valueSerializer.writeInt8(1) + const value_family_value_1 = value_family_value as Resource + valueSerializer.writeResource(value_family_value_1) } } - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type : int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_value_0 = value_height_value as string - valueSerializer.writeString(value_height_value_0) - } - else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_value_1 = value_height_value as number - valueSerializer.writeNumber(value_height_value_1) + const value_style = value.style + let value_style_type : int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = (value_style as FontStyle) + valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_style_value)) + } + } + public writeGaugeIndicatorOptions(value: GaugeIndicatorOptions): void { + let valueSerializer : Serializer = this + const value_icon = value.icon + let value_icon_type : int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + let value_icon_value_type : int32 = RuntimeType.UNDEFINED + value_icon_value_type = runtimeType(value_icon_value) + if (RuntimeType.STRING == value_icon_value_type) { + valueSerializer.writeInt8(0) + const value_icon_value_0 = value_icon_value as string + valueSerializer.writeString(value_icon_value_0) } - else if (RuntimeType.OBJECT == value_height_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_height_value_2 = value_height_value as Resource - valueSerializer.writeResource(value_height_value_2) + else if (RuntimeType.OBJECT == value_icon_value_type) { + valueSerializer.writeInt8(1) + const value_icon_value_1 = value_icon_value as Resource + valueSerializer.writeResource(value_icon_value_1) } } - const value_borderWidth = value.borderWidth - let value_borderWidth_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_type = runtimeType(value_borderWidth) - valueSerializer.writeInt8(value_borderWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { - const value_borderWidth_value = value_borderWidth! - let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_type = runtimeType(value_borderWidth_value) - if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0 = value_borderWidth_value as Dimension - let value_borderWidth_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) - if (RuntimeType.STRING == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0_0 = value_borderWidth_value_0 as string - valueSerializer.writeString(value_borderWidth_value_0_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_0_1 = value_borderWidth_value_0 as number - valueSerializer.writeNumber(value_borderWidth_value_0_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_0_2 = value_borderWidth_value_0 as Resource - valueSerializer.writeResource(value_borderWidth_value_0_2) - } + const value_space = value.space + let value_space_type : int32 = RuntimeType.UNDEFINED + value_space_type = runtimeType(value_space) + valueSerializer.writeInt8(value_space_type) + if ((RuntimeType.UNDEFINED) != (value_space_type)) { + const value_space_value = value_space! + let value_space_value_type : int32 = RuntimeType.UNDEFINED + value_space_value_type = runtimeType(value_space_value) + if (RuntimeType.STRING == value_space_value_type) { + valueSerializer.writeInt8(0) + const value_space_value_0 = value_space_value as string + valueSerializer.writeString(value_space_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (TypeChecker.isEdgeWidths(value_borderWidth_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1 = value_borderWidth_value as EdgeWidths - const value_borderWidth_value_1_top = value_borderWidth_value_1.top - let value_borderWidth_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top) - valueSerializer.writeInt8(value_borderWidth_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const value_borderWidth_value_1_top_value = value_borderWidth_value_1_top! - let value_borderWidth_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_value_type = runtimeType(value_borderWidth_value_1_top_value) - if (RuntimeType.STRING == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_top_value_0 = value_borderWidth_value_1_top_value as string - valueSerializer.writeString(value_borderWidth_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_top_value_1 = value_borderWidth_value_1_top_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_top_value_2 = value_borderWidth_value_1_top_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2) - } - } - const value_borderWidth_value_1_right = value_borderWidth_value_1.right - let value_borderWidth_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right) - valueSerializer.writeInt8(value_borderWidth_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const value_borderWidth_value_1_right_value = value_borderWidth_value_1_right! - let value_borderWidth_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_value_type = runtimeType(value_borderWidth_value_1_right_value) - if (RuntimeType.STRING == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_right_value_0 = value_borderWidth_value_1_right_value as string - valueSerializer.writeString(value_borderWidth_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_right_value_1 = value_borderWidth_value_1_right_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_right_value_2 = value_borderWidth_value_1_right_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2) - } - } - const value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom - let value_borderWidth_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom) - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom! - let value_borderWidth_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_value_type = runtimeType(value_borderWidth_value_1_bottom_value) - if (RuntimeType.STRING == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_bottom_value_0 = value_borderWidth_value_1_bottom_value as string - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_bottom_value_1 = value_borderWidth_value_1_bottom_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_bottom_value_2 = value_borderWidth_value_1_bottom_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2) - } - } - const value_borderWidth_value_1_left = value_borderWidth_value_1.left - let value_borderWidth_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left) - valueSerializer.writeInt8(value_borderWidth_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const value_borderWidth_value_1_left_value = value_borderWidth_value_1_left! - let value_borderWidth_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_value_type = runtimeType(value_borderWidth_value_1_left_value) - if (RuntimeType.STRING == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_left_value_0 = value_borderWidth_value_1_left_value as string - valueSerializer.writeString(value_borderWidth_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_left_value_1 = value_borderWidth_value_1_left_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_left_value_2 = value_borderWidth_value_1_left_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2) - } - } + else if (RuntimeType.NUMBER == value_space_value_type) { + valueSerializer.writeInt8(1) + const value_space_value_1 = value_space_value as number + valueSerializer.writeNumber(value_space_value_1) } - else if (TypeChecker.isLocalizedEdgeWidths(value_borderWidth_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_2 = value_borderWidth_value as LocalizedEdgeWidths - valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2) + else if (RuntimeType.OBJECT == value_space_value_type) { + valueSerializer.writeInt8(2) + const value_space_value_2 = value_space_value as Resource + valueSerializer.writeResource(value_space_value_2) } } - const value_borderColor = value.borderColor - let value_borderColor_type : int32 = RuntimeType.UNDEFINED - value_borderColor_type = runtimeType(value_borderColor) - valueSerializer.writeInt8(value_borderColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { - const value_borderColor_value = value_borderColor! - let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_type = runtimeType(value_borderColor_value) - if ((TypeChecker.isColor(value_borderColor_value)) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0 = value_borderColor_value as ResourceColor - let value_borderColor_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) - if (TypeChecker.isColor(value_borderColor_value_0)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0_0 = value_borderColor_value_0 as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_0_1 = value_borderColor_value_0 as number - valueSerializer.writeNumber(value_borderColor_value_0_1) - } - else if (RuntimeType.STRING == value_borderColor_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_0_2 = value_borderColor_value_0 as string - valueSerializer.writeString(value_borderColor_value_0_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_0_3 = value_borderColor_value_0 as Resource - valueSerializer.writeResource(value_borderColor_value_0_3) - } + } + public writeGridRowSizeOption(value: GridRowSizeOption): void { + let valueSerializer : Serializer = this + const value_xs = value.xs + let value_xs_type : int32 = RuntimeType.UNDEFINED + value_xs_type = runtimeType(value_xs) + valueSerializer.writeInt8(value_xs_type) + if ((RuntimeType.UNDEFINED) != (value_xs_type)) { + const value_xs_value = value_xs! + let value_xs_value_type : int32 = RuntimeType.UNDEFINED + value_xs_value_type = runtimeType(value_xs_value) + if (RuntimeType.STRING == value_xs_value_type) { + valueSerializer.writeInt8(0) + const value_xs_value_0 = value_xs_value as string + valueSerializer.writeString(value_xs_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (TypeChecker.isEdgeColors(value_borderColor_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1 = value_borderColor_value as EdgeColors - const value_borderColor_value_1_top = value_borderColor_value_1.top - let value_borderColor_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top) - valueSerializer.writeInt8(value_borderColor_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_top_type)) { - const value_borderColor_value_1_top_value = value_borderColor_value_1_top! - let value_borderColor_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_value_type = runtimeType(value_borderColor_value_1_top_value) - if (TypeChecker.isColor(value_borderColor_value_1_top_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_top_value_0 = value_borderColor_value_1_top_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_top_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_top_value_1 = value_borderColor_value_1_top_value as number - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_top_value_2 = value_borderColor_value_1_top_value as string - valueSerializer.writeString(value_borderColor_value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_top_value_3 = value_borderColor_value_1_top_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_top_value_3) - } - } - const value_borderColor_value_1_right = value_borderColor_value_1.right - let value_borderColor_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right) - valueSerializer.writeInt8(value_borderColor_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_right_type)) { - const value_borderColor_value_1_right_value = value_borderColor_value_1_right! - let value_borderColor_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_value_type = runtimeType(value_borderColor_value_1_right_value) - if (TypeChecker.isColor(value_borderColor_value_1_right_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_right_value_0 = value_borderColor_value_1_right_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_right_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_right_value_1 = value_borderColor_value_1_right_value as number - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_right_value_2 = value_borderColor_value_1_right_value as string - valueSerializer.writeString(value_borderColor_value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_right_value_3 = value_borderColor_value_1_right_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_right_value_3) - } - } - const value_borderColor_value_1_bottom = value_borderColor_value_1.bottom - let value_borderColor_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom) - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom! - let value_borderColor_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_value_type = runtimeType(value_borderColor_value_1_bottom_value) - if (TypeChecker.isColor(value_borderColor_value_1_bottom_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_bottom_value_0 = value_borderColor_value_1_bottom_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_bottom_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_bottom_value_1 = value_borderColor_value_1_bottom_value as number - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_bottom_value_2 = value_borderColor_value_1_bottom_value as string - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_bottom_value_3 = value_borderColor_value_1_bottom_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3) - } - } - const value_borderColor_value_1_left = value_borderColor_value_1.left - let value_borderColor_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left) - valueSerializer.writeInt8(value_borderColor_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_left_type)) { - const value_borderColor_value_1_left_value = value_borderColor_value_1_left! - let value_borderColor_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_value_type = runtimeType(value_borderColor_value_1_left_value) - if (TypeChecker.isColor(value_borderColor_value_1_left_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_left_value_0 = value_borderColor_value_1_left_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_left_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_left_value_1 = value_borderColor_value_1_left_value as number - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_left_value_2 = value_borderColor_value_1_left_value as string - valueSerializer.writeString(value_borderColor_value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_left_value_3 = value_borderColor_value_1_left_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_left_value_3) - } - } + else if (RuntimeType.NUMBER == value_xs_value_type) { + valueSerializer.writeInt8(1) + const value_xs_value_1 = value_xs_value as number + valueSerializer.writeNumber(value_xs_value_1) } - else if (TypeChecker.isLocalizedEdgeColors(value_borderColor_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_2 = value_borderColor_value as LocalizedEdgeColors - valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2) + else if (RuntimeType.OBJECT == value_xs_value_type) { + valueSerializer.writeInt8(2) + const value_xs_value_2 = value_xs_value as Resource + valueSerializer.writeResource(value_xs_value_2) } } - const value_borderStyle = value.borderStyle - let value_borderStyle_type : int32 = RuntimeType.UNDEFINED - value_borderStyle_type = runtimeType(value_borderStyle) - valueSerializer.writeInt8(value_borderStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { - const value_borderStyle_value = value_borderStyle! - let value_borderStyle_value_type : int32 = RuntimeType.UNDEFINED - value_borderStyle_value_type = runtimeType(value_borderStyle_value) - if (TypeChecker.isBorderStyle(value_borderStyle_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderStyle_value_0 = value_borderStyle_value as BorderStyle - valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_borderStyle_value_0)) + const value_sm = value.sm + let value_sm_type : int32 = RuntimeType.UNDEFINED + value_sm_type = runtimeType(value_sm) + valueSerializer.writeInt8(value_sm_type) + if ((RuntimeType.UNDEFINED) != (value_sm_type)) { + const value_sm_value = value_sm! + let value_sm_value_type : int32 = RuntimeType.UNDEFINED + value_sm_value_type = runtimeType(value_sm_value) + if (RuntimeType.STRING == value_sm_value_type) { + valueSerializer.writeInt8(0) + const value_sm_value_0 = value_sm_value as string + valueSerializer.writeString(value_sm_value_0) } - else if (RuntimeType.OBJECT == value_borderStyle_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderStyle_value_1 = value_borderStyle_value as EdgeStyles - valueSerializer.writeEdgeStyles(value_borderStyle_value_1) + else if (RuntimeType.NUMBER == value_sm_value_type) { + valueSerializer.writeInt8(1) + const value_sm_value_1 = value_sm_value as number + valueSerializer.writeNumber(value_sm_value_1) + } + else if (RuntimeType.OBJECT == value_sm_value_type) { + valueSerializer.writeInt8(2) + const value_sm_value_2 = value_sm_value as Resource + valueSerializer.writeResource(value_sm_value_2) } } - const value_shadow = value.shadow - let value_shadow_type : int32 = RuntimeType.UNDEFINED - value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { - const value_shadow_value = value_shadow! - let value_shadow_value_type : int32 = RuntimeType.UNDEFINED - value_shadow_value_type = runtimeType(value_shadow_value) - if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_shadow_value_0 = value_shadow_value as ShadowOptions - valueSerializer.writeShadowOptions(value_shadow_value_0) + const value_md = value.md + let value_md_type : int32 = RuntimeType.UNDEFINED + value_md_type = runtimeType(value_md) + valueSerializer.writeInt8(value_md_type) + if ((RuntimeType.UNDEFINED) != (value_md_type)) { + const value_md_value = value_md! + let value_md_value_type : int32 = RuntimeType.UNDEFINED + value_md_value_type = runtimeType(value_md_value) + if (RuntimeType.STRING == value_md_value_type) { + valueSerializer.writeInt8(0) + const value_md_value_0 = value_md_value as string + valueSerializer.writeString(value_md_value_0) } - else if (TypeChecker.isShadowStyle(value_shadow_value)) { - valueSerializer.writeInt8(1 as int32) - const value_shadow_value_1 = value_shadow_value as ShadowStyle - valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) + else if (RuntimeType.NUMBER == value_md_value_type) { + valueSerializer.writeInt8(1) + const value_md_value_1 = value_md_value as number + valueSerializer.writeNumber(value_md_value_1) + } + else if (RuntimeType.OBJECT == value_md_value_type) { + valueSerializer.writeInt8(2) + const value_md_value_2 = value_md_value as Resource + valueSerializer.writeResource(value_md_value_2) } } - const value_textStyle = value.textStyle - let value_textStyle_type : int32 = RuntimeType.UNDEFINED - value_textStyle_type = runtimeType(value_textStyle) - valueSerializer.writeInt8(value_textStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textStyle_type)) { - const value_textStyle_value = value_textStyle! - valueSerializer.writeTextStyle_alert_dialog(value_textStyle_value) + const value_lg = value.lg + let value_lg_type : int32 = RuntimeType.UNDEFINED + value_lg_type = runtimeType(value_lg) + valueSerializer.writeInt8(value_lg_type) + if ((RuntimeType.UNDEFINED) != (value_lg_type)) { + const value_lg_value = value_lg! + let value_lg_value_type : int32 = RuntimeType.UNDEFINED + value_lg_value_type = runtimeType(value_lg_value) + if (RuntimeType.STRING == value_lg_value_type) { + valueSerializer.writeInt8(0) + const value_lg_value_0 = value_lg_value as string + valueSerializer.writeString(value_lg_value_0) + } + else if (RuntimeType.NUMBER == value_lg_value_type) { + valueSerializer.writeInt8(1) + const value_lg_value_1 = value_lg_value as number + valueSerializer.writeNumber(value_lg_value_1) + } + else if (RuntimeType.OBJECT == value_lg_value_type) { + valueSerializer.writeInt8(2) + const value_lg_value_2 = value_lg_value as Resource + valueSerializer.writeResource(value_lg_value_2) + } } - const value_enableHoverMode = value.enableHoverMode - let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED - value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { - const value_enableHoverMode_value = value_enableHoverMode! - valueSerializer.writeBoolean(value_enableHoverMode_value) + const value_xl = value.xl + let value_xl_type : int32 = RuntimeType.UNDEFINED + value_xl_type = runtimeType(value_xl) + valueSerializer.writeInt8(value_xl_type) + if ((RuntimeType.UNDEFINED) != (value_xl_type)) { + const value_xl_value = value_xl! + let value_xl_value_type : int32 = RuntimeType.UNDEFINED + value_xl_value_type = runtimeType(value_xl_value) + if (RuntimeType.STRING == value_xl_value_type) { + valueSerializer.writeInt8(0) + const value_xl_value_0 = value_xl_value as string + valueSerializer.writeString(value_xl_value_0) + } + else if (RuntimeType.NUMBER == value_xl_value_type) { + valueSerializer.writeInt8(1) + const value_xl_value_1 = value_xl_value as number + valueSerializer.writeNumber(value_xl_value_1) + } + else if (RuntimeType.OBJECT == value_xl_value_type) { + valueSerializer.writeInt8(2) + const value_xl_value_2 = value_xl_value as Resource + valueSerializer.writeResource(value_xl_value_2) + } } - const value_hoverModeArea = value.hoverModeArea - let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED - value_hoverModeArea_type = runtimeType(value_hoverModeArea) - valueSerializer.writeInt8(value_hoverModeArea_type as int32) - if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { - const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) - valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) + const value_xxl = value.xxl + let value_xxl_type : int32 = RuntimeType.UNDEFINED + value_xxl_type = runtimeType(value_xxl) + valueSerializer.writeInt8(value_xxl_type) + if ((RuntimeType.UNDEFINED) != (value_xxl_type)) { + const value_xxl_value = value_xxl! + let value_xxl_value_type : int32 = RuntimeType.UNDEFINED + value_xxl_value_type = runtimeType(value_xxl_value) + if (RuntimeType.STRING == value_xxl_value_type) { + valueSerializer.writeInt8(0) + const value_xxl_value_0 = value_xxl_value as string + valueSerializer.writeString(value_xxl_value_0) + } + else if (RuntimeType.NUMBER == value_xxl_value_type) { + valueSerializer.writeInt8(1) + const value_xxl_value_1 = value_xxl_value as number + valueSerializer.writeNumber(value_xxl_value_1) + } + else if (RuntimeType.OBJECT == value_xxl_value_type) { + valueSerializer.writeInt8(2) + const value_xxl_value_2 = value_xxl_value as Resource + valueSerializer.writeResource(value_xxl_value_2) + } } - const value_primaryButton = value.primaryButton - valueSerializer.writeAlertDialogButtonBaseOptions(value_primaryButton) - const value_secondaryButton = value.secondaryButton - valueSerializer.writeAlertDialogButtonBaseOptions(value_secondaryButton) } - writeAlertDialogParamWithConfirm(value: AlertDialogParamWithConfirm): void { + public writeGuideLinePosition(value: GuideLinePosition): void { let valueSerializer : Serializer = this - const value_title = value.title - let value_title_type : int32 = RuntimeType.UNDEFINED - value_title_type = runtimeType(value_title) - valueSerializer.writeInt8(value_title_type as int32) - if ((RuntimeType.UNDEFINED) != (value_title_type)) { - const value_title_value = value_title! - let value_title_value_type : int32 = RuntimeType.UNDEFINED - value_title_value_type = runtimeType(value_title_value) - if (RuntimeType.STRING == value_title_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_title_value_0 = value_title_value as string - valueSerializer.writeString(value_title_value_0) + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + let value_start_value_type : int32 = RuntimeType.UNDEFINED + value_start_value_type = runtimeType(value_start_value) + if (RuntimeType.STRING == value_start_value_type) { + valueSerializer.writeInt8(0) + const value_start_value_0 = value_start_value as string + valueSerializer.writeString(value_start_value_0) } - else if (RuntimeType.OBJECT == value_title_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_title_value_1 = value_title_value as Resource - valueSerializer.writeResource(value_title_value_1) + else if (RuntimeType.NUMBER == value_start_value_type) { + valueSerializer.writeInt8(1) + const value_start_value_1 = value_start_value as number + valueSerializer.writeNumber(value_start_value_1) + } + else if (RuntimeType.OBJECT == value_start_value_type) { + valueSerializer.writeInt8(2) + const value_start_value_2 = value_start_value as Resource + valueSerializer.writeResource(value_start_value_2) } } - const value_subtitle = value.subtitle - let value_subtitle_type : int32 = RuntimeType.UNDEFINED - value_subtitle_type = runtimeType(value_subtitle) - valueSerializer.writeInt8(value_subtitle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_subtitle_type)) { - const value_subtitle_value = value_subtitle! - let value_subtitle_value_type : int32 = RuntimeType.UNDEFINED - value_subtitle_value_type = runtimeType(value_subtitle_value) - if (RuntimeType.STRING == value_subtitle_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_subtitle_value_0 = value_subtitle_value as string - valueSerializer.writeString(value_subtitle_value_0) + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + let value_end_value_type : int32 = RuntimeType.UNDEFINED + value_end_value_type = runtimeType(value_end_value) + if (RuntimeType.STRING == value_end_value_type) { + valueSerializer.writeInt8(0) + const value_end_value_0 = value_end_value as string + valueSerializer.writeString(value_end_value_0) } - else if (RuntimeType.OBJECT == value_subtitle_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_subtitle_value_1 = value_subtitle_value as Resource - valueSerializer.writeResource(value_subtitle_value_1) + else if (RuntimeType.NUMBER == value_end_value_type) { + valueSerializer.writeInt8(1) + const value_end_value_1 = value_end_value as number + valueSerializer.writeNumber(value_end_value_1) } - } - const value_message = value.message - let value_message_type : int32 = RuntimeType.UNDEFINED - value_message_type = runtimeType(value_message) - if (RuntimeType.STRING == value_message_type) { - valueSerializer.writeInt8(0 as int32) - const value_message_0 = value_message as string - valueSerializer.writeString(value_message_0) - } - else if (RuntimeType.OBJECT == value_message_type) { - valueSerializer.writeInt8(1 as int32) - const value_message_1 = value_message as Resource - valueSerializer.writeResource(value_message_1) - } - const value_autoCancel = value.autoCancel - let value_autoCancel_type : int32 = RuntimeType.UNDEFINED - value_autoCancel_type = runtimeType(value_autoCancel) - valueSerializer.writeInt8(value_autoCancel_type as int32) - if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { - const value_autoCancel_value = value_autoCancel! - valueSerializer.writeBoolean(value_autoCancel_value) - } - const value_cancel = value.cancel - let value_cancel_type : int32 = RuntimeType.UNDEFINED - value_cancel_type = runtimeType(value_cancel) - valueSerializer.writeInt8(value_cancel_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cancel_type)) { - const value_cancel_value = value_cancel! - valueSerializer.holdAndWriteCallback(value_cancel_value) - } - const value_alignment = value.alignment - let value_alignment_type : int32 = RuntimeType.UNDEFINED - value_alignment_type = runtimeType(value_alignment) - valueSerializer.writeInt8(value_alignment_type as int32) - if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { - const value_alignment_value = (value_alignment as DialogAlignment) - valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) - } - const value_offset = value.offset - let value_offset_type : int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dx_0 = value_offset_value_dx as string - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dx_1 = value_offset_value_dx as number - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dx_2 = value_offset_value_dx as Resource - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dy_0 = value_offset_value_dy as string - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dy_1 = value_offset_value_dy as number - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dy_2 = value_offset_value_dy as Resource - valueSerializer.writeResource(value_offset_value_dy_2) + else if (RuntimeType.OBJECT == value_end_value_type) { + valueSerializer.writeInt8(2) + const value_end_value_2 = value_end_value as Resource + valueSerializer.writeResource(value_end_value_2) } } - const value_gridCount = value.gridCount - let value_gridCount_type : int32 = RuntimeType.UNDEFINED - value_gridCount_type = runtimeType(value_gridCount) - valueSerializer.writeInt8(value_gridCount_type as int32) - if ((RuntimeType.UNDEFINED) != (value_gridCount_type)) { - const value_gridCount_value = value_gridCount! - valueSerializer.writeNumber(value_gridCount_value) - } - const value_maskRect = value.maskRect - let value_maskRect_type : int32 = RuntimeType.UNDEFINED - value_maskRect_type = runtimeType(value_maskRect) - valueSerializer.writeInt8(value_maskRect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { - const value_maskRect_value = value_maskRect! - valueSerializer.writeRectangle(value_maskRect_value) - } - const value_showInSubWindow = value.showInSubWindow - let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED - value_showInSubWindow_type = runtimeType(value_showInSubWindow) - valueSerializer.writeInt8(value_showInSubWindow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { - const value_showInSubWindow_value = value_showInSubWindow! - valueSerializer.writeBoolean(value_showInSubWindow_value) - } - const value_isModal = value.isModal - let value_isModal_type : int32 = RuntimeType.UNDEFINED - value_isModal_type = runtimeType(value_isModal) - valueSerializer.writeInt8(value_isModal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_isModal_type)) { - const value_isModal_value = value_isModal! - valueSerializer.writeBoolean(value_isModal_value) - } - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundColor_value_0 = value_backgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) - } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundColor_value_1 = value_backgroundColor_value as number - valueSerializer.writeNumber(value_backgroundColor_value_1) + } + public writeGuideLineStyle(value: GuideLineStyle): void { + let valueSerializer : Serializer = this + const value_id = value.id + valueSerializer.writeString(value_id) + const value_direction = value.direction + valueSerializer.writeInt32(TypeChecker.Axis_ToNumeric(value_direction)) + const value_position = value.position + valueSerializer.writeGuideLinePosition(value_position) + } + public writeIconOptions(value: IconOptions): void { + let valueSerializer : Serializer = this + const value_size = value.size + let value_size_type : int32 = RuntimeType.UNDEFINED + value_size_type = runtimeType(value_size) + valueSerializer.writeInt8(value_size_type) + if ((RuntimeType.UNDEFINED) != (value_size_type)) { + const value_size_value = value_size! + let value_size_value_type : int32 = RuntimeType.UNDEFINED + value_size_value_type = runtimeType(value_size_value) + if (RuntimeType.STRING == value_size_value_type) { + valueSerializer.writeInt8(0) + const value_size_value_0 = value_size_value as string + valueSerializer.writeString(value_size_value_0) } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundColor_value_2 = value_backgroundColor_value as string - valueSerializer.writeString(value_backgroundColor_value_2) + else if (RuntimeType.NUMBER == value_size_value_type) { + valueSerializer.writeInt8(1) + const value_size_value_1 = value_size_value as number + valueSerializer.writeNumber(value_size_value_1) } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundColor_value_3 = value_backgroundColor_value as Resource - valueSerializer.writeResource(value_backgroundColor_value_3) + else if (RuntimeType.OBJECT == value_size_value_type) { + valueSerializer.writeInt8(2) + const value_size_value_2 = value_size_value as Resource + valueSerializer.writeResource(value_size_value_2) } } - const value_backgroundBlurStyle = value.backgroundBlurStyle - let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { - const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) - valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) - } - const value_onWillDismiss = value.onWillDismiss - let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED - value_onWillDismiss_type = runtimeType(value_onWillDismiss) - valueSerializer.writeInt8(value_onWillDismiss_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { - const value_onWillDismiss_value = value_onWillDismiss! - valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) - } - const value_transition = value.transition - let value_transition_type : int32 = RuntimeType.UNDEFINED - value_transition_type = runtimeType(value_transition) - valueSerializer.writeInt8(value_transition_type as int32) - if ((RuntimeType.UNDEFINED) != (value_transition_type)) { - const value_transition_value = value_transition! - valueSerializer.writeTransitionEffect(value_transition_value) - } - const value_cornerRadius = value.cornerRadius - let value_cornerRadius_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_type = runtimeType(value_cornerRadius) - valueSerializer.writeInt8(value_cornerRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_type)) { - const value_cornerRadius_value = value_cornerRadius! - let value_cornerRadius_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_type = runtimeType(value_cornerRadius_value) - if ((RuntimeType.STRING == value_cornerRadius_value_type) || (RuntimeType.NUMBER == value_cornerRadius_value_type) || (RuntimeType.OBJECT == value_cornerRadius_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_0 = value_cornerRadius_value as Dimension - let value_cornerRadius_value_0_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_0_type = runtimeType(value_cornerRadius_value_0) - if (RuntimeType.STRING == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_0_0 = value_cornerRadius_value_0 as string - valueSerializer.writeString(value_cornerRadius_value_0_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_0_1 = value_cornerRadius_value_0 as number - valueSerializer.writeNumber(value_cornerRadius_value_0_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_0_2 = value_cornerRadius_value_0 as Resource - valueSerializer.writeResource(value_cornerRadius_value_0_2) - } + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isColor(value_color_value)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } - else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (TypeChecker.isBorderRadiuses(value_cornerRadius_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1 = value_cornerRadius_value as BorderRadiuses - const value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft - let value_cornerRadius_value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft! - let value_cornerRadius_value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_value_type = runtimeType(value_cornerRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_topLeft_value_0 = value_cornerRadius_value_1_topLeft_value as string - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_topLeft_value_1 = value_cornerRadius_value_1_topLeft_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_topLeft_value_2 = value_cornerRadius_value_1_topLeft_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2) - } - } - const value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight - let value_cornerRadius_value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight! - let value_cornerRadius_value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_value_type = runtimeType(value_cornerRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_topRight_value_0 = value_cornerRadius_value_1_topRight_value as string - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_topRight_value_1 = value_cornerRadius_value_1_topRight_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_topRight_value_2 = value_cornerRadius_value_1_topRight_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2) - } - } - const value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft - let value_cornerRadius_value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft! - let value_cornerRadius_value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_value_type = runtimeType(value_cornerRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_bottomLeft_value_0 = value_cornerRadius_value_1_bottomLeft_value as string - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_bottomLeft_value_1 = value_cornerRadius_value_1_bottomLeft_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_bottomLeft_value_2 = value_cornerRadius_value_1_bottomLeft_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2) - } - } - const value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight - let value_cornerRadius_value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight! - let value_cornerRadius_value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_value_type = runtimeType(value_cornerRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_bottomRight_value_0 = value_cornerRadius_value_1_bottomRight_value as string - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_bottomRight_value_1 = value_cornerRadius_value_1_bottomRight_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_bottomRight_value_2 = value_cornerRadius_value_1_bottomRight_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2) - } - } + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as number + valueSerializer.writeNumber(value_color_value_1) } - else if (TypeChecker.isLocalizedBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_2 = value_cornerRadius_value as LocalizedBorderRadiuses - valueSerializer.writeLocalizedBorderRadiuses(value_cornerRadius_value_2) + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as string + valueSerializer.writeString(value_color_value_2) } - } - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as string - valueSerializer.writeString(value_width_value_0) + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = value_color_value as Resource + valueSerializer.writeResource(value_color_value_3) } - else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as number - valueSerializer.writeNumber(value_width_value_1) + } + const value_src = value.src + let value_src_type : int32 = RuntimeType.UNDEFINED + value_src_type = runtimeType(value_src) + valueSerializer.writeInt8(value_src_type) + if ((RuntimeType.UNDEFINED) != (value_src_type)) { + const value_src_value = value_src! + let value_src_value_type : int32 = RuntimeType.UNDEFINED + value_src_value_type = runtimeType(value_src_value) + if (RuntimeType.STRING == value_src_value_type) { + valueSerializer.writeInt8(0) + const value_src_value_0 = value_src_value as string + valueSerializer.writeString(value_src_value_0) } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as Resource - valueSerializer.writeResource(value_width_value_2) + else if (RuntimeType.OBJECT == value_src_value_type) { + valueSerializer.writeInt8(1) + const value_src_value_1 = value_src_value as Resource + valueSerializer.writeResource(value_src_value_1) } } + } + public writeIndicatorStyle(value: IndicatorStyle): void { + let valueSerializer : Serializer = this const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! let value_height_value_type : int32 = RuntimeType.UNDEFINED value_height_value_type = runtimeType(value_height_value) if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_height_value_0 = value_height_value as string valueSerializer.writeString(value_height_value_0) } else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_height_value_1 = value_height_value as number valueSerializer.writeNumber(value_height_value_1) } else if (RuntimeType.OBJECT == value_height_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_height_value_2 = value_height_value as Resource valueSerializer.writeResource(value_height_value_2) } } - const value_borderWidth = value.borderWidth - let value_borderWidth_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_type = runtimeType(value_borderWidth) - valueSerializer.writeInt8(value_borderWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { - const value_borderWidth_value = value_borderWidth! - let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_type = runtimeType(value_borderWidth_value) - if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0 = value_borderWidth_value as Dimension - let value_borderWidth_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) - if (RuntimeType.STRING == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0_0 = value_borderWidth_value_0 as string - valueSerializer.writeString(value_borderWidth_value_0_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_0_1 = value_borderWidth_value_0 as number - valueSerializer.writeNumber(value_borderWidth_value_0_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_0_2 = value_borderWidth_value_0 as Resource - valueSerializer.writeResource(value_borderWidth_value_0_2) - } + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as string + valueSerializer.writeString(value_width_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (TypeChecker.isEdgeWidths(value_borderWidth_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1 = value_borderWidth_value as EdgeWidths - const value_borderWidth_value_1_top = value_borderWidth_value_1.top - let value_borderWidth_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top) - valueSerializer.writeInt8(value_borderWidth_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const value_borderWidth_value_1_top_value = value_borderWidth_value_1_top! - let value_borderWidth_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_value_type = runtimeType(value_borderWidth_value_1_top_value) - if (RuntimeType.STRING == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_top_value_0 = value_borderWidth_value_1_top_value as string - valueSerializer.writeString(value_borderWidth_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_top_value_1 = value_borderWidth_value_1_top_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_top_value_2 = value_borderWidth_value_1_top_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2) - } - } - const value_borderWidth_value_1_right = value_borderWidth_value_1.right - let value_borderWidth_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right) - valueSerializer.writeInt8(value_borderWidth_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const value_borderWidth_value_1_right_value = value_borderWidth_value_1_right! - let value_borderWidth_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_value_type = runtimeType(value_borderWidth_value_1_right_value) - if (RuntimeType.STRING == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_right_value_0 = value_borderWidth_value_1_right_value as string - valueSerializer.writeString(value_borderWidth_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_right_value_1 = value_borderWidth_value_1_right_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_right_value_2 = value_borderWidth_value_1_right_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2) - } - } - const value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom - let value_borderWidth_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom) - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom! - let value_borderWidth_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_value_type = runtimeType(value_borderWidth_value_1_bottom_value) - if (RuntimeType.STRING == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_bottom_value_0 = value_borderWidth_value_1_bottom_value as string - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_bottom_value_1 = value_borderWidth_value_1_bottom_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_bottom_value_2 = value_borderWidth_value_1_bottom_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2) - } - } - const value_borderWidth_value_1_left = value_borderWidth_value_1.left - let value_borderWidth_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left) - valueSerializer.writeInt8(value_borderWidth_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const value_borderWidth_value_1_left_value = value_borderWidth_value_1_left! - let value_borderWidth_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_value_type = runtimeType(value_borderWidth_value_1_left_value) - if (RuntimeType.STRING == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_left_value_0 = value_borderWidth_value_1_left_value as string - valueSerializer.writeString(value_borderWidth_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_left_value_1 = value_borderWidth_value_1_left_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_left_value_2 = value_borderWidth_value_1_left_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2) - } - } + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as number + valueSerializer.writeNumber(value_width_value_1) } - else if (TypeChecker.isLocalizedEdgeWidths(value_borderWidth_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_2 = value_borderWidth_value as LocalizedEdgeWidths - valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2) + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as Resource + valueSerializer.writeResource(value_width_value_2) } } - const value_borderColor = value.borderColor - let value_borderColor_type : int32 = RuntimeType.UNDEFINED - value_borderColor_type = runtimeType(value_borderColor) - valueSerializer.writeInt8(value_borderColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { - const value_borderColor_value = value_borderColor! - let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_type = runtimeType(value_borderColor_value) - if ((TypeChecker.isColor(value_borderColor_value)) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0 = value_borderColor_value as ResourceColor - let value_borderColor_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) - if (TypeChecker.isColor(value_borderColor_value_0)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0_0 = value_borderColor_value_0 as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_0_1 = value_borderColor_value_0 as number - valueSerializer.writeNumber(value_borderColor_value_0_1) - } - else if (RuntimeType.STRING == value_borderColor_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_0_2 = value_borderColor_value_0 as string - valueSerializer.writeString(value_borderColor_value_0_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_0_3 = value_borderColor_value_0 as Resource - valueSerializer.writeResource(value_borderColor_value_0_3) - } + const value_borderRadius = value.borderRadius + let value_borderRadius_type : int32 = RuntimeType.UNDEFINED + value_borderRadius_type = runtimeType(value_borderRadius) + valueSerializer.writeInt8(value_borderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { + const value_borderRadius_value = value_borderRadius! + let value_borderRadius_value_type : int32 = RuntimeType.UNDEFINED + value_borderRadius_value_type = runtimeType(value_borderRadius_value) + if (RuntimeType.STRING == value_borderRadius_value_type) { + valueSerializer.writeInt8(0) + const value_borderRadius_value_0 = value_borderRadius_value as string + valueSerializer.writeString(value_borderRadius_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (TypeChecker.isEdgeColors(value_borderColor_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1 = value_borderColor_value as EdgeColors - const value_borderColor_value_1_top = value_borderColor_value_1.top - let value_borderColor_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top) - valueSerializer.writeInt8(value_borderColor_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_top_type)) { - const value_borderColor_value_1_top_value = value_borderColor_value_1_top! - let value_borderColor_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_value_type = runtimeType(value_borderColor_value_1_top_value) - if (TypeChecker.isColor(value_borderColor_value_1_top_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_top_value_0 = value_borderColor_value_1_top_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_top_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_top_value_1 = value_borderColor_value_1_top_value as number - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_top_value_2 = value_borderColor_value_1_top_value as string - valueSerializer.writeString(value_borderColor_value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_top_value_3 = value_borderColor_value_1_top_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_top_value_3) - } - } - const value_borderColor_value_1_right = value_borderColor_value_1.right - let value_borderColor_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right) - valueSerializer.writeInt8(value_borderColor_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_right_type)) { - const value_borderColor_value_1_right_value = value_borderColor_value_1_right! - let value_borderColor_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_value_type = runtimeType(value_borderColor_value_1_right_value) - if (TypeChecker.isColor(value_borderColor_value_1_right_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_right_value_0 = value_borderColor_value_1_right_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_right_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_right_value_1 = value_borderColor_value_1_right_value as number - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_right_value_2 = value_borderColor_value_1_right_value as string - valueSerializer.writeString(value_borderColor_value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_right_value_3 = value_borderColor_value_1_right_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_right_value_3) - } - } - const value_borderColor_value_1_bottom = value_borderColor_value_1.bottom - let value_borderColor_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom) - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom! - let value_borderColor_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_value_type = runtimeType(value_borderColor_value_1_bottom_value) - if (TypeChecker.isColor(value_borderColor_value_1_bottom_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_bottom_value_0 = value_borderColor_value_1_bottom_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_bottom_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_bottom_value_1 = value_borderColor_value_1_bottom_value as number - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_bottom_value_2 = value_borderColor_value_1_bottom_value as string - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_bottom_value_3 = value_borderColor_value_1_bottom_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3) - } - } - const value_borderColor_value_1_left = value_borderColor_value_1.left - let value_borderColor_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left) - valueSerializer.writeInt8(value_borderColor_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_left_type)) { - const value_borderColor_value_1_left_value = value_borderColor_value_1_left! - let value_borderColor_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_value_type = runtimeType(value_borderColor_value_1_left_value) - if (TypeChecker.isColor(value_borderColor_value_1_left_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_left_value_0 = value_borderColor_value_1_left_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_left_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_left_value_1 = value_borderColor_value_1_left_value as number - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_left_value_2 = value_borderColor_value_1_left_value as string - valueSerializer.writeString(value_borderColor_value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_left_value_3 = value_borderColor_value_1_left_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_left_value_3) - } - } + else if (RuntimeType.NUMBER == value_borderRadius_value_type) { + valueSerializer.writeInt8(1) + const value_borderRadius_value_1 = value_borderRadius_value as number + valueSerializer.writeNumber(value_borderRadius_value_1) } - else if (TypeChecker.isLocalizedEdgeColors(value_borderColor_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_2 = value_borderColor_value as LocalizedEdgeColors - valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2) + else if (RuntimeType.OBJECT == value_borderRadius_value_type) { + valueSerializer.writeInt8(2) + const value_borderRadius_value_2 = value_borderRadius_value as Resource + valueSerializer.writeResource(value_borderRadius_value_2) } } - const value_borderStyle = value.borderStyle - let value_borderStyle_type : int32 = RuntimeType.UNDEFINED - value_borderStyle_type = runtimeType(value_borderStyle) - valueSerializer.writeInt8(value_borderStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { - const value_borderStyle_value = value_borderStyle! - let value_borderStyle_value_type : int32 = RuntimeType.UNDEFINED - value_borderStyle_value_type = runtimeType(value_borderStyle_value) - if (TypeChecker.isBorderStyle(value_borderStyle_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderStyle_value_0 = value_borderStyle_value as BorderStyle - valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_borderStyle_value_0)) - } - else if (RuntimeType.OBJECT == value_borderStyle_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderStyle_value_1 = value_borderStyle_value as EdgeStyles - valueSerializer.writeEdgeStyles(value_borderStyle_value_1) + const value_marginTop = value.marginTop + let value_marginTop_type : int32 = RuntimeType.UNDEFINED + value_marginTop_type = runtimeType(value_marginTop) + valueSerializer.writeInt8(value_marginTop_type) + if ((RuntimeType.UNDEFINED) != (value_marginTop_type)) { + const value_marginTop_value = value_marginTop! + let value_marginTop_value_type : int32 = RuntimeType.UNDEFINED + value_marginTop_value_type = runtimeType(value_marginTop_value) + if (RuntimeType.STRING == value_marginTop_value_type) { + valueSerializer.writeInt8(0) + const value_marginTop_value_0 = value_marginTop_value as string + valueSerializer.writeString(value_marginTop_value_0) + } + else if (RuntimeType.NUMBER == value_marginTop_value_type) { + valueSerializer.writeInt8(1) + const value_marginTop_value_1 = value_marginTop_value as number + valueSerializer.writeNumber(value_marginTop_value_1) + } + else if (RuntimeType.OBJECT == value_marginTop_value_type) { + valueSerializer.writeInt8(2) + const value_marginTop_value_2 = value_marginTop_value as Resource + valueSerializer.writeResource(value_marginTop_value_2) } } - const value_shadow = value.shadow - let value_shadow_type : int32 = RuntimeType.UNDEFINED - value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { - const value_shadow_value = value_shadow! - let value_shadow_value_type : int32 = RuntimeType.UNDEFINED - value_shadow_value_type = runtimeType(value_shadow_value) - if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_shadow_value_0 = value_shadow_value as ShadowOptions - valueSerializer.writeShadowOptions(value_shadow_value_0) + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isColor(value_color_value)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } - else if (TypeChecker.isShadowStyle(value_shadow_value)) { - valueSerializer.writeInt8(1 as int32) - const value_shadow_value_1 = value_shadow_value as ShadowStyle - valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as number + valueSerializer.writeNumber(value_color_value_1) + } + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as string + valueSerializer.writeString(value_color_value_2) + } + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = value_color_value as Resource + valueSerializer.writeResource(value_color_value_3) } } - const value_textStyle = value.textStyle - let value_textStyle_type : int32 = RuntimeType.UNDEFINED - value_textStyle_type = runtimeType(value_textStyle) - valueSerializer.writeInt8(value_textStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textStyle_type)) { - const value_textStyle_value = value_textStyle! - valueSerializer.writeTextStyle_alert_dialog(value_textStyle_value) + const value_selectedColor = value.selectedColor + let value_selectedColor_type : int32 = RuntimeType.UNDEFINED + value_selectedColor_type = runtimeType(value_selectedColor) + valueSerializer.writeInt8(value_selectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { + const value_selectedColor_value = value_selectedColor! + let value_selectedColor_value_type : int32 = RuntimeType.UNDEFINED + value_selectedColor_value_type = runtimeType(value_selectedColor_value) + if (TypeChecker.isColor(value_selectedColor_value)) { + valueSerializer.writeInt8(0) + const value_selectedColor_value_0 = value_selectedColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_selectedColor_value_0)) + } + else if (RuntimeType.NUMBER == value_selectedColor_value_type) { + valueSerializer.writeInt8(1) + const value_selectedColor_value_1 = value_selectedColor_value as number + valueSerializer.writeNumber(value_selectedColor_value_1) + } + else if (RuntimeType.STRING == value_selectedColor_value_type) { + valueSerializer.writeInt8(2) + const value_selectedColor_value_2 = value_selectedColor_value as string + valueSerializer.writeString(value_selectedColor_value_2) + } + else if (RuntimeType.OBJECT == value_selectedColor_value_type) { + valueSerializer.writeInt8(3) + const value_selectedColor_value_3 = value_selectedColor_value as Resource + valueSerializer.writeResource(value_selectedColor_value_3) + } } - const value_enableHoverMode = value.enableHoverMode - let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED - value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { - const value_enableHoverMode_value = value_enableHoverMode! - valueSerializer.writeBoolean(value_enableHoverMode_value) + const value_left = value.left + let value_left_type : int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type : int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.STRING == value_left_value_type) { + valueSerializer.writeInt8(0) + const value_left_value_0 = value_left_value as string + valueSerializer.writeString(value_left_value_0) + } + else if (RuntimeType.NUMBER == value_left_value_type) { + valueSerializer.writeInt8(1) + const value_left_value_1 = value_left_value as number + valueSerializer.writeNumber(value_left_value_1) + } + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = value_left_value as Resource + valueSerializer.writeResource(value_left_value_2) + } } - const value_hoverModeArea = value.hoverModeArea - let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED - value_hoverModeArea_type = runtimeType(value_hoverModeArea) - valueSerializer.writeInt8(value_hoverModeArea_type as int32) - if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { - const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) - valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type : int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.STRING == value_top_value_type) { + valueSerializer.writeInt8(0) + const value_top_value_0 = value_top_value as string + valueSerializer.writeString(value_top_value_0) + } + else if (RuntimeType.NUMBER == value_top_value_type) { + valueSerializer.writeInt8(1) + const value_top_value_1 = value_top_value as number + valueSerializer.writeNumber(value_top_value_1) + } + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(2) + const value_top_value_2 = value_top_value as Resource + valueSerializer.writeResource(value_top_value_2) + } } - const value_confirm = value.confirm - let value_confirm_type : int32 = RuntimeType.UNDEFINED - value_confirm_type = runtimeType(value_confirm) - valueSerializer.writeInt8(value_confirm_type as int32) - if ((RuntimeType.UNDEFINED) != (value_confirm_type)) { - const value_confirm_value = value_confirm! - valueSerializer.writeAlertDialogButtonBaseOptions(value_confirm_value) + const value_right = value.right + let value_right_type : int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type : int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (RuntimeType.STRING == value_right_value_type) { + valueSerializer.writeInt8(0) + const value_right_value_0 = value_right_value as string + valueSerializer.writeString(value_right_value_0) + } + else if (RuntimeType.NUMBER == value_right_value_type) { + valueSerializer.writeInt8(1) + const value_right_value_1 = value_right_value as number + valueSerializer.writeNumber(value_right_value_1) + } + else if (RuntimeType.OBJECT == value_right_value_type) { + valueSerializer.writeInt8(2) + const value_right_value_2 = value_right_value as Resource + valueSerializer.writeResource(value_right_value_2) + } } - } - writeAlertDialogParamWithOptions(value: AlertDialogParamWithOptions): void { - let valueSerializer : Serializer = this - const value_title = value.title - let value_title_type : int32 = RuntimeType.UNDEFINED - value_title_type = runtimeType(value_title) - valueSerializer.writeInt8(value_title_type as int32) - if ((RuntimeType.UNDEFINED) != (value_title_type)) { - const value_title_value = value_title! - let value_title_value_type : int32 = RuntimeType.UNDEFINED - value_title_value_type = runtimeType(value_title_value) - if (RuntimeType.STRING == value_title_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_title_value_0 = value_title_value as string - valueSerializer.writeString(value_title_value_0) + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type : int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (RuntimeType.STRING == value_bottom_value_type) { + valueSerializer.writeInt8(0) + const value_bottom_value_0 = value_bottom_value as string + valueSerializer.writeString(value_bottom_value_0) } - else if (RuntimeType.OBJECT == value_title_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_title_value_1 = value_title_value as Resource - valueSerializer.writeResource(value_title_value_1) + else if (RuntimeType.NUMBER == value_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_bottom_value_1 = value_bottom_value as number + valueSerializer.writeNumber(value_bottom_value_1) + } + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = value_bottom_value as Resource + valueSerializer.writeResource(value_bottom_value_2) } } - const value_subtitle = value.subtitle - let value_subtitle_type : int32 = RuntimeType.UNDEFINED - value_subtitle_type = runtimeType(value_subtitle) - valueSerializer.writeInt8(value_subtitle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_subtitle_type)) { - const value_subtitle_value = value_subtitle! - let value_subtitle_value_type : int32 = RuntimeType.UNDEFINED - value_subtitle_value_type = runtimeType(value_subtitle_value) - if (RuntimeType.STRING == value_subtitle_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_subtitle_value_0 = value_subtitle_value as string - valueSerializer.writeString(value_subtitle_value_0) + const value_size = value.size + let value_size_type : int32 = RuntimeType.UNDEFINED + value_size_type = runtimeType(value_size) + valueSerializer.writeInt8(value_size_type) + if ((RuntimeType.UNDEFINED) != (value_size_type)) { + const value_size_value = value_size! + let value_size_value_type : int32 = RuntimeType.UNDEFINED + value_size_value_type = runtimeType(value_size_value) + if (RuntimeType.STRING == value_size_value_type) { + valueSerializer.writeInt8(0) + const value_size_value_0 = value_size_value as string + valueSerializer.writeString(value_size_value_0) } - else if (RuntimeType.OBJECT == value_subtitle_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_subtitle_value_1 = value_subtitle_value as Resource - valueSerializer.writeResource(value_subtitle_value_1) + else if (RuntimeType.NUMBER == value_size_value_type) { + valueSerializer.writeInt8(1) + const value_size_value_1 = value_size_value as number + valueSerializer.writeNumber(value_size_value_1) + } + else if (RuntimeType.OBJECT == value_size_value_type) { + valueSerializer.writeInt8(2) + const value_size_value_2 = value_size_value as Resource + valueSerializer.writeResource(value_size_value_2) } } - const value_message = value.message - let value_message_type : int32 = RuntimeType.UNDEFINED - value_message_type = runtimeType(value_message) - if (RuntimeType.STRING == value_message_type) { - valueSerializer.writeInt8(0 as int32) - const value_message_0 = value_message as string - valueSerializer.writeString(value_message_0) + const value_mask = value.mask + let value_mask_type : int32 = RuntimeType.UNDEFINED + value_mask_type = runtimeType(value_mask) + valueSerializer.writeInt8(value_mask_type) + if ((RuntimeType.UNDEFINED) != (value_mask_type)) { + const value_mask_value = value_mask! + valueSerializer.writeBoolean(value_mask_value) } - else if (RuntimeType.OBJECT == value_message_type) { - valueSerializer.writeInt8(1 as int32) - const value_message_1 = value_message as Resource - valueSerializer.writeResource(value_message_1) + } + public writeLeadingMarginPlaceholder(value: LeadingMarginPlaceholder): void { + let valueSerializer : Serializer = this + const value_pixelMap = value.pixelMap + valueSerializer.writePixelMap(value_pixelMap) + const value_size = value.size + const value_size_0 = value_size[0] + let value_size_0_type : int32 = RuntimeType.UNDEFINED + value_size_0_type = runtimeType(value_size_0) + if (RuntimeType.STRING == value_size_0_type) { + valueSerializer.writeInt8(0) + const value_size_0_0 = value_size_0 as string + valueSerializer.writeString(value_size_0_0) } - const value_autoCancel = value.autoCancel - let value_autoCancel_type : int32 = RuntimeType.UNDEFINED - value_autoCancel_type = runtimeType(value_autoCancel) - valueSerializer.writeInt8(value_autoCancel_type as int32) - if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { - const value_autoCancel_value = value_autoCancel! - valueSerializer.writeBoolean(value_autoCancel_value) + else if (RuntimeType.NUMBER == value_size_0_type) { + valueSerializer.writeInt8(1) + const value_size_0_1 = value_size_0 as number + valueSerializer.writeNumber(value_size_0_1) } - const value_cancel = value.cancel - let value_cancel_type : int32 = RuntimeType.UNDEFINED - value_cancel_type = runtimeType(value_cancel) - valueSerializer.writeInt8(value_cancel_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cancel_type)) { - const value_cancel_value = value_cancel! - valueSerializer.holdAndWriteCallback(value_cancel_value) + else if (RuntimeType.OBJECT == value_size_0_type) { + valueSerializer.writeInt8(2) + const value_size_0_2 = value_size_0 as Resource + valueSerializer.writeResource(value_size_0_2) } - const value_alignment = value.alignment - let value_alignment_type : int32 = RuntimeType.UNDEFINED - value_alignment_type = runtimeType(value_alignment) - valueSerializer.writeInt8(value_alignment_type as int32) - if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { - const value_alignment_value = (value_alignment as DialogAlignment) - valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) - } - const value_offset = value.offset - let value_offset_type : int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dx_0 = value_offset_value_dx as string - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dx_1 = value_offset_value_dx as number - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dx_2 = value_offset_value_dx as Resource - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dy_0 = value_offset_value_dy as string - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dy_1 = value_offset_value_dy as number - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dy_2 = value_offset_value_dy as Resource - valueSerializer.writeResource(value_offset_value_dy_2) - } - } - const value_gridCount = value.gridCount - let value_gridCount_type : int32 = RuntimeType.UNDEFINED - value_gridCount_type = runtimeType(value_gridCount) - valueSerializer.writeInt8(value_gridCount_type as int32) - if ((RuntimeType.UNDEFINED) != (value_gridCount_type)) { - const value_gridCount_value = value_gridCount! - valueSerializer.writeNumber(value_gridCount_value) + const value_size_1 = value_size[1] + let value_size_1_type : int32 = RuntimeType.UNDEFINED + value_size_1_type = runtimeType(value_size_1) + if (RuntimeType.STRING == value_size_1_type) { + valueSerializer.writeInt8(0) + const value_size_1_0 = value_size_1 as string + valueSerializer.writeString(value_size_1_0) } - const value_maskRect = value.maskRect - let value_maskRect_type : int32 = RuntimeType.UNDEFINED - value_maskRect_type = runtimeType(value_maskRect) - valueSerializer.writeInt8(value_maskRect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { - const value_maskRect_value = value_maskRect! - valueSerializer.writeRectangle(value_maskRect_value) + else if (RuntimeType.NUMBER == value_size_1_type) { + valueSerializer.writeInt8(1) + const value_size_1_1 = value_size_1 as number + valueSerializer.writeNumber(value_size_1_1) } - const value_showInSubWindow = value.showInSubWindow - let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED - value_showInSubWindow_type = runtimeType(value_showInSubWindow) - valueSerializer.writeInt8(value_showInSubWindow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { - const value_showInSubWindow_value = value_showInSubWindow! - valueSerializer.writeBoolean(value_showInSubWindow_value) + else if (RuntimeType.OBJECT == value_size_1_type) { + valueSerializer.writeInt8(2) + const value_size_1_2 = value_size_1 as Resource + valueSerializer.writeResource(value_size_1_2) } - const value_isModal = value.isModal - let value_isModal_type : int32 = RuntimeType.UNDEFINED - value_isModal_type = runtimeType(value_isModal) - valueSerializer.writeInt8(value_isModal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_isModal_type)) { - const value_isModal_value = value_isModal! - valueSerializer.writeBoolean(value_isModal_value) + } + public writeLinearStyleOptions(value: LinearStyleOptions): void { + let valueSerializer : Serializer = this + const value_enableScanEffect = value.enableScanEffect + let value_enableScanEffect_type : int32 = RuntimeType.UNDEFINED + value_enableScanEffect_type = runtimeType(value_enableScanEffect) + valueSerializer.writeInt8(value_enableScanEffect_type) + if ((RuntimeType.UNDEFINED) != (value_enableScanEffect_type)) { + const value_enableScanEffect_value = value_enableScanEffect! + valueSerializer.writeBoolean(value_enableScanEffect_value) } - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundColor_value_0 = value_backgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + let value_strokeWidth_value_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) + if (RuntimeType.STRING == value_strokeWidth_value_type) { + valueSerializer.writeInt8(0) + const value_strokeWidth_value_0 = value_strokeWidth_value as string + valueSerializer.writeString(value_strokeWidth_value_0) } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundColor_value_1 = value_backgroundColor_value as number - valueSerializer.writeNumber(value_backgroundColor_value_1) + else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { + valueSerializer.writeInt8(1) + const value_strokeWidth_value_1 = value_strokeWidth_value as number + valueSerializer.writeNumber(value_strokeWidth_value_1) } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundColor_value_2 = value_backgroundColor_value as string - valueSerializer.writeString(value_backgroundColor_value_2) + else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_value_2 = value_strokeWidth_value as Resource + valueSerializer.writeResource(value_strokeWidth_value_2) } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundColor_value_3 = value_backgroundColor_value as Resource - valueSerializer.writeResource(value_backgroundColor_value_3) + } + const value_strokeRadius = value.strokeRadius + let value_strokeRadius_type : int32 = RuntimeType.UNDEFINED + value_strokeRadius_type = runtimeType(value_strokeRadius) + valueSerializer.writeInt8(value_strokeRadius_type) + if ((RuntimeType.UNDEFINED) != (value_strokeRadius_type)) { + const value_strokeRadius_value = value_strokeRadius! + let value_strokeRadius_value_type : int32 = RuntimeType.UNDEFINED + value_strokeRadius_value_type = runtimeType(value_strokeRadius_value) + if (RuntimeType.STRING == value_strokeRadius_value_type) { + valueSerializer.writeInt8(0) + const value_strokeRadius_value_0 = value_strokeRadius_value as string + valueSerializer.writeString(value_strokeRadius_value_0) + } + else if (RuntimeType.NUMBER == value_strokeRadius_value_type) { + valueSerializer.writeInt8(1) + const value_strokeRadius_value_1 = value_strokeRadius_value as number + valueSerializer.writeNumber(value_strokeRadius_value_1) + } + else if (RuntimeType.OBJECT == value_strokeRadius_value_type) { + valueSerializer.writeInt8(2) + const value_strokeRadius_value_2 = value_strokeRadius_value as Resource + valueSerializer.writeResource(value_strokeRadius_value_2) } } - const value_backgroundBlurStyle = value.backgroundBlurStyle - let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { - const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) - valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) + } + public writeListDividerOptions(value: ListDividerOptions): void { + let valueSerializer : Serializer = this + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + if (RuntimeType.STRING == value_strokeWidth_type) { + valueSerializer.writeInt8(0) + const value_strokeWidth_0 = value_strokeWidth as string + valueSerializer.writeString(value_strokeWidth_0) } - const value_onWillDismiss = value.onWillDismiss - let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED - value_onWillDismiss_type = runtimeType(value_onWillDismiss) - valueSerializer.writeInt8(value_onWillDismiss_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { - const value_onWillDismiss_value = value_onWillDismiss! - valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) + else if (RuntimeType.NUMBER == value_strokeWidth_type) { + valueSerializer.writeInt8(1) + const value_strokeWidth_1 = value_strokeWidth as number + valueSerializer.writeNumber(value_strokeWidth_1) } - const value_transition = value.transition - let value_transition_type : int32 = RuntimeType.UNDEFINED - value_transition_type = runtimeType(value_transition) - valueSerializer.writeInt8(value_transition_type as int32) - if ((RuntimeType.UNDEFINED) != (value_transition_type)) { - const value_transition_value = value_transition! - valueSerializer.writeTransitionEffect(value_transition_value) + else if (RuntimeType.OBJECT == value_strokeWidth_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_2 = value_strokeWidth as Resource + valueSerializer.writeResource(value_strokeWidth_2) } - const value_cornerRadius = value.cornerRadius - let value_cornerRadius_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_type = runtimeType(value_cornerRadius) - valueSerializer.writeInt8(value_cornerRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_type)) { - const value_cornerRadius_value = value_cornerRadius! - let value_cornerRadius_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_type = runtimeType(value_cornerRadius_value) - if ((RuntimeType.STRING == value_cornerRadius_value_type) || (RuntimeType.NUMBER == value_cornerRadius_value_type) || (RuntimeType.OBJECT == value_cornerRadius_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_0 = value_cornerRadius_value as Dimension - let value_cornerRadius_value_0_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_0_type = runtimeType(value_cornerRadius_value_0) - if (RuntimeType.STRING == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_0_0 = value_cornerRadius_value_0 as string - valueSerializer.writeString(value_cornerRadius_value_0_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_0_1 = value_cornerRadius_value_0 as number - valueSerializer.writeNumber(value_cornerRadius_value_0_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_0_2 = value_cornerRadius_value_0 as Resource - valueSerializer.writeResource(value_cornerRadius_value_0_2) - } - } - else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (TypeChecker.isBorderRadiuses(value_cornerRadius_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1 = value_cornerRadius_value as BorderRadiuses - const value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft - let value_cornerRadius_value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft! - let value_cornerRadius_value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_value_type = runtimeType(value_cornerRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_topLeft_value_0 = value_cornerRadius_value_1_topLeft_value as string - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_topLeft_value_1 = value_cornerRadius_value_1_topLeft_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_topLeft_value_2 = value_cornerRadius_value_1_topLeft_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2) - } - } - const value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight - let value_cornerRadius_value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight! - let value_cornerRadius_value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_value_type = runtimeType(value_cornerRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_topRight_value_0 = value_cornerRadius_value_1_topRight_value as string - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_topRight_value_1 = value_cornerRadius_value_1_topRight_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_topRight_value_2 = value_cornerRadius_value_1_topRight_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2) - } - } - const value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft - let value_cornerRadius_value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft! - let value_cornerRadius_value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_value_type = runtimeType(value_cornerRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_bottomLeft_value_0 = value_cornerRadius_value_1_bottomLeft_value as string - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_bottomLeft_value_1 = value_cornerRadius_value_1_bottomLeft_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_bottomLeft_value_2 = value_cornerRadius_value_1_bottomLeft_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2) - } - } - const value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight - let value_cornerRadius_value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight! - let value_cornerRadius_value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_value_type = runtimeType(value_cornerRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_bottomRight_value_0 = value_cornerRadius_value_1_bottomRight_value as string - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_bottomRight_value_1 = value_cornerRadius_value_1_bottomRight_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_bottomRight_value_2 = value_cornerRadius_value_1_bottomRight_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2) - } - } - } - else if (TypeChecker.isLocalizedBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_2 = value_cornerRadius_value as LocalizedBorderRadiuses - valueSerializer.writeLocalizedBorderRadiuses(value_cornerRadius_value_2) + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isColor(value_color_value)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } - } - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as string - valueSerializer.writeString(value_width_value_0) + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as number + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as number - valueSerializer.writeNumber(value_width_value_1) + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as string + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as Resource - valueSerializer.writeResource(value_width_value_2) + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = value_color_value as Resource + valueSerializer.writeResource(value_color_value_3) } } - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type : int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_value_0 = value_height_value as string - valueSerializer.writeString(value_height_value_0) + const value_startMargin = value.startMargin + let value_startMargin_type : int32 = RuntimeType.UNDEFINED + value_startMargin_type = runtimeType(value_startMargin) + valueSerializer.writeInt8(value_startMargin_type) + if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { + const value_startMargin_value = value_startMargin! + let value_startMargin_value_type : int32 = RuntimeType.UNDEFINED + value_startMargin_value_type = runtimeType(value_startMargin_value) + if (RuntimeType.STRING == value_startMargin_value_type) { + valueSerializer.writeInt8(0) + const value_startMargin_value_0 = value_startMargin_value as string + valueSerializer.writeString(value_startMargin_value_0) } - else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_value_1 = value_height_value as number - valueSerializer.writeNumber(value_height_value_1) + else if (RuntimeType.NUMBER == value_startMargin_value_type) { + valueSerializer.writeInt8(1) + const value_startMargin_value_1 = value_startMargin_value as number + valueSerializer.writeNumber(value_startMargin_value_1) } - else if (RuntimeType.OBJECT == value_height_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_height_value_2 = value_height_value as Resource - valueSerializer.writeResource(value_height_value_2) + else if (RuntimeType.OBJECT == value_startMargin_value_type) { + valueSerializer.writeInt8(2) + const value_startMargin_value_2 = value_startMargin_value as Resource + valueSerializer.writeResource(value_startMargin_value_2) } } - const value_borderWidth = value.borderWidth - let value_borderWidth_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_type = runtimeType(value_borderWidth) - valueSerializer.writeInt8(value_borderWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { - const value_borderWidth_value = value_borderWidth! - let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_type = runtimeType(value_borderWidth_value) - if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0 = value_borderWidth_value as Dimension - let value_borderWidth_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) - if (RuntimeType.STRING == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0_0 = value_borderWidth_value_0 as string - valueSerializer.writeString(value_borderWidth_value_0_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_0_1 = value_borderWidth_value_0 as number - valueSerializer.writeNumber(value_borderWidth_value_0_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_0_2 = value_borderWidth_value_0 as Resource - valueSerializer.writeResource(value_borderWidth_value_0_2) - } + const value_endMargin = value.endMargin + let value_endMargin_type : int32 = RuntimeType.UNDEFINED + value_endMargin_type = runtimeType(value_endMargin) + valueSerializer.writeInt8(value_endMargin_type) + if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { + const value_endMargin_value = value_endMargin! + let value_endMargin_value_type : int32 = RuntimeType.UNDEFINED + value_endMargin_value_type = runtimeType(value_endMargin_value) + if (RuntimeType.STRING == value_endMargin_value_type) { + valueSerializer.writeInt8(0) + const value_endMargin_value_0 = value_endMargin_value as string + valueSerializer.writeString(value_endMargin_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (TypeChecker.isEdgeWidths(value_borderWidth_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1 = value_borderWidth_value as EdgeWidths - const value_borderWidth_value_1_top = value_borderWidth_value_1.top - let value_borderWidth_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top) - valueSerializer.writeInt8(value_borderWidth_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const value_borderWidth_value_1_top_value = value_borderWidth_value_1_top! - let value_borderWidth_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_value_type = runtimeType(value_borderWidth_value_1_top_value) - if (RuntimeType.STRING == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_top_value_0 = value_borderWidth_value_1_top_value as string - valueSerializer.writeString(value_borderWidth_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_top_value_1 = value_borderWidth_value_1_top_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_top_value_2 = value_borderWidth_value_1_top_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2) - } - } - const value_borderWidth_value_1_right = value_borderWidth_value_1.right - let value_borderWidth_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right) - valueSerializer.writeInt8(value_borderWidth_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const value_borderWidth_value_1_right_value = value_borderWidth_value_1_right! - let value_borderWidth_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_value_type = runtimeType(value_borderWidth_value_1_right_value) - if (RuntimeType.STRING == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_right_value_0 = value_borderWidth_value_1_right_value as string - valueSerializer.writeString(value_borderWidth_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_right_value_1 = value_borderWidth_value_1_right_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_right_value_2 = value_borderWidth_value_1_right_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2) - } - } - const value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom - let value_borderWidth_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom) - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom! - let value_borderWidth_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_value_type = runtimeType(value_borderWidth_value_1_bottom_value) - if (RuntimeType.STRING == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_bottom_value_0 = value_borderWidth_value_1_bottom_value as string - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_bottom_value_1 = value_borderWidth_value_1_bottom_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_bottom_value_2 = value_borderWidth_value_1_bottom_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2) - } - } - const value_borderWidth_value_1_left = value_borderWidth_value_1.left - let value_borderWidth_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left) - valueSerializer.writeInt8(value_borderWidth_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const value_borderWidth_value_1_left_value = value_borderWidth_value_1_left! - let value_borderWidth_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_value_type = runtimeType(value_borderWidth_value_1_left_value) - if (RuntimeType.STRING == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_left_value_0 = value_borderWidth_value_1_left_value as string - valueSerializer.writeString(value_borderWidth_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_left_value_1 = value_borderWidth_value_1_left_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_left_value_2 = value_borderWidth_value_1_left_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2) - } - } + else if (RuntimeType.NUMBER == value_endMargin_value_type) { + valueSerializer.writeInt8(1) + const value_endMargin_value_1 = value_endMargin_value as number + valueSerializer.writeNumber(value_endMargin_value_1) } - else if (TypeChecker.isLocalizedEdgeWidths(value_borderWidth_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_2 = value_borderWidth_value as LocalizedEdgeWidths - valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2) + else if (RuntimeType.OBJECT == value_endMargin_value_type) { + valueSerializer.writeInt8(2) + const value_endMargin_value_2 = value_endMargin_value as Resource + valueSerializer.writeResource(value_endMargin_value_2) } } - const value_borderColor = value.borderColor - let value_borderColor_type : int32 = RuntimeType.UNDEFINED - value_borderColor_type = runtimeType(value_borderColor) - valueSerializer.writeInt8(value_borderColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { - const value_borderColor_value = value_borderColor! - let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_type = runtimeType(value_borderColor_value) - if ((TypeChecker.isColor(value_borderColor_value)) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0 = value_borderColor_value as ResourceColor - let value_borderColor_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) - if (TypeChecker.isColor(value_borderColor_value_0)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0_0 = value_borderColor_value_0 as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_0_1 = value_borderColor_value_0 as number - valueSerializer.writeNumber(value_borderColor_value_0_1) - } - else if (RuntimeType.STRING == value_borderColor_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_0_2 = value_borderColor_value_0 as string - valueSerializer.writeString(value_borderColor_value_0_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_0_3 = value_borderColor_value_0 as Resource - valueSerializer.writeResource(value_borderColor_value_0_3) - } + } + public writeMarkStyle(value: MarkStyle): void { + let valueSerializer : Serializer = this + const value_strokeColor = value.strokeColor + let value_strokeColor_type : int32 = RuntimeType.UNDEFINED + value_strokeColor_type = runtimeType(value_strokeColor) + valueSerializer.writeInt8(value_strokeColor_type) + if ((RuntimeType.UNDEFINED) != (value_strokeColor_type)) { + const value_strokeColor_value = value_strokeColor! + let value_strokeColor_value_type : int32 = RuntimeType.UNDEFINED + value_strokeColor_value_type = runtimeType(value_strokeColor_value) + if (TypeChecker.isColor(value_strokeColor_value)) { + valueSerializer.writeInt8(0) + const value_strokeColor_value_0 = value_strokeColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_strokeColor_value_0)) } - else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (TypeChecker.isEdgeColors(value_borderColor_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1 = value_borderColor_value as EdgeColors - const value_borderColor_value_1_top = value_borderColor_value_1.top - let value_borderColor_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top) - valueSerializer.writeInt8(value_borderColor_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_top_type)) { - const value_borderColor_value_1_top_value = value_borderColor_value_1_top! - let value_borderColor_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_value_type = runtimeType(value_borderColor_value_1_top_value) - if (TypeChecker.isColor(value_borderColor_value_1_top_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_top_value_0 = value_borderColor_value_1_top_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_top_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_top_value_1 = value_borderColor_value_1_top_value as number - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_top_value_2 = value_borderColor_value_1_top_value as string - valueSerializer.writeString(value_borderColor_value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_top_value_3 = value_borderColor_value_1_top_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_top_value_3) - } - } - const value_borderColor_value_1_right = value_borderColor_value_1.right - let value_borderColor_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right) - valueSerializer.writeInt8(value_borderColor_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_right_type)) { - const value_borderColor_value_1_right_value = value_borderColor_value_1_right! - let value_borderColor_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_value_type = runtimeType(value_borderColor_value_1_right_value) - if (TypeChecker.isColor(value_borderColor_value_1_right_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_right_value_0 = value_borderColor_value_1_right_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_right_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_right_value_1 = value_borderColor_value_1_right_value as number - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_right_value_2 = value_borderColor_value_1_right_value as string - valueSerializer.writeString(value_borderColor_value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_right_value_3 = value_borderColor_value_1_right_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_right_value_3) - } - } - const value_borderColor_value_1_bottom = value_borderColor_value_1.bottom - let value_borderColor_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom) - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom! - let value_borderColor_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_value_type = runtimeType(value_borderColor_value_1_bottom_value) - if (TypeChecker.isColor(value_borderColor_value_1_bottom_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_bottom_value_0 = value_borderColor_value_1_bottom_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_bottom_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_bottom_value_1 = value_borderColor_value_1_bottom_value as number - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_bottom_value_2 = value_borderColor_value_1_bottom_value as string - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_bottom_value_3 = value_borderColor_value_1_bottom_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3) - } - } - const value_borderColor_value_1_left = value_borderColor_value_1.left - let value_borderColor_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left) - valueSerializer.writeInt8(value_borderColor_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_left_type)) { - const value_borderColor_value_1_left_value = value_borderColor_value_1_left! - let value_borderColor_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_value_type = runtimeType(value_borderColor_value_1_left_value) - if (TypeChecker.isColor(value_borderColor_value_1_left_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_left_value_0 = value_borderColor_value_1_left_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_left_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_left_value_1 = value_borderColor_value_1_left_value as number - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_left_value_2 = value_borderColor_value_1_left_value as string - valueSerializer.writeString(value_borderColor_value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_left_value_3 = value_borderColor_value_1_left_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_left_value_3) - } - } + else if (RuntimeType.NUMBER == value_strokeColor_value_type) { + valueSerializer.writeInt8(1) + const value_strokeColor_value_1 = value_strokeColor_value as number + valueSerializer.writeNumber(value_strokeColor_value_1) } - else if (TypeChecker.isLocalizedEdgeColors(value_borderColor_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_2 = value_borderColor_value as LocalizedEdgeColors - valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2) + else if (RuntimeType.STRING == value_strokeColor_value_type) { + valueSerializer.writeInt8(2) + const value_strokeColor_value_2 = value_strokeColor_value as string + valueSerializer.writeString(value_strokeColor_value_2) + } + else if (RuntimeType.OBJECT == value_strokeColor_value_type) { + valueSerializer.writeInt8(3) + const value_strokeColor_value_3 = value_strokeColor_value as Resource + valueSerializer.writeResource(value_strokeColor_value_3) } } - const value_borderStyle = value.borderStyle - let value_borderStyle_type : int32 = RuntimeType.UNDEFINED - value_borderStyle_type = runtimeType(value_borderStyle) - valueSerializer.writeInt8(value_borderStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { - const value_borderStyle_value = value_borderStyle! - let value_borderStyle_value_type : int32 = RuntimeType.UNDEFINED - value_borderStyle_value_type = runtimeType(value_borderStyle_value) - if (TypeChecker.isBorderStyle(value_borderStyle_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderStyle_value_0 = value_borderStyle_value as BorderStyle - valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_borderStyle_value_0)) + const value_size = value.size + let value_size_type : int32 = RuntimeType.UNDEFINED + value_size_type = runtimeType(value_size) + valueSerializer.writeInt8(value_size_type) + if ((RuntimeType.UNDEFINED) != (value_size_type)) { + const value_size_value = value_size! + let value_size_value_type : int32 = RuntimeType.UNDEFINED + value_size_value_type = runtimeType(value_size_value) + if (RuntimeType.STRING == value_size_value_type) { + valueSerializer.writeInt8(0) + const value_size_value_0 = value_size_value as string + valueSerializer.writeString(value_size_value_0) } - else if (RuntimeType.OBJECT == value_borderStyle_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderStyle_value_1 = value_borderStyle_value as EdgeStyles - valueSerializer.writeEdgeStyles(value_borderStyle_value_1) + else if (RuntimeType.NUMBER == value_size_value_type) { + valueSerializer.writeInt8(1) + const value_size_value_1 = value_size_value as number + valueSerializer.writeNumber(value_size_value_1) + } + else if (RuntimeType.OBJECT == value_size_value_type) { + valueSerializer.writeInt8(2) + const value_size_value_2 = value_size_value as Resource + valueSerializer.writeResource(value_size_value_2) } } - const value_shadow = value.shadow - let value_shadow_type : int32 = RuntimeType.UNDEFINED - value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { - const value_shadow_value = value_shadow! - let value_shadow_value_type : int32 = RuntimeType.UNDEFINED - value_shadow_value_type = runtimeType(value_shadow_value) - if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_shadow_value_0 = value_shadow_value as ShadowOptions - valueSerializer.writeShadowOptions(value_shadow_value_0) + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + let value_strokeWidth_value_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) + if (RuntimeType.STRING == value_strokeWidth_value_type) { + valueSerializer.writeInt8(0) + const value_strokeWidth_value_0 = value_strokeWidth_value as string + valueSerializer.writeString(value_strokeWidth_value_0) } - else if (TypeChecker.isShadowStyle(value_shadow_value)) { - valueSerializer.writeInt8(1 as int32) - const value_shadow_value_1 = value_shadow_value as ShadowStyle - valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) + else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { + valueSerializer.writeInt8(1) + const value_strokeWidth_value_1 = value_strokeWidth_value as number + valueSerializer.writeNumber(value_strokeWidth_value_1) + } + else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_value_2 = value_strokeWidth_value as Resource + valueSerializer.writeResource(value_strokeWidth_value_2) } - } - const value_textStyle = value.textStyle - let value_textStyle_type : int32 = RuntimeType.UNDEFINED - value_textStyle_type = runtimeType(value_textStyle) - valueSerializer.writeInt8(value_textStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textStyle_type)) { - const value_textStyle_value = value_textStyle! - valueSerializer.writeTextStyle_alert_dialog(value_textStyle_value) - } - const value_enableHoverMode = value.enableHoverMode - let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED - value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { - const value_enableHoverMode_value = value_enableHoverMode! - valueSerializer.writeBoolean(value_enableHoverMode_value) - } - const value_hoverModeArea = value.hoverModeArea - let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED - value_hoverModeArea_type = runtimeType(value_hoverModeArea) - valueSerializer.writeInt8(value_hoverModeArea_type as int32) - if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { - const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) - valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) - } - const value_buttons = value.buttons - valueSerializer.writeInt32(value_buttons.length as int32) - for (let i = 0; i < value_buttons.length; i++) { - const value_buttons_element : AlertDialogButtonOptions = value_buttons[i] - valueSerializer.writeAlertDialogButtonOptions(value_buttons_element) - } - const value_buttonDirection = value.buttonDirection - let value_buttonDirection_type : int32 = RuntimeType.UNDEFINED - value_buttonDirection_type = runtimeType(value_buttonDirection) - valueSerializer.writeInt8(value_buttonDirection_type as int32) - if ((RuntimeType.UNDEFINED) != (value_buttonDirection_type)) { - const value_buttonDirection_value = (value_buttonDirection as DialogButtonDirection) - valueSerializer.writeInt32(TypeChecker.DialogButtonDirection_ToNumeric(value_buttonDirection_value)) } } - writeArea(value: Area): void { + public writeMoreButtonOptions(value: MoreButtonOptions): void { let valueSerializer : Serializer = this - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - if (RuntimeType.STRING == value_width_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_0 = value_width as string - valueSerializer.writeString(value_width_0) + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) + valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) } - else if (RuntimeType.NUMBER == value_width_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_1 = value_width as number - valueSerializer.writeNumber(value_width_1) + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) } - else if (RuntimeType.OBJECT == value_width_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_2 = value_width as Resource - valueSerializer.writeResource(value_width_2) + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) } + } + public writeNavDestinationCustomTitle(value: NavDestinationCustomTitle): void { + let valueSerializer : Serializer = this + const value_builder = value.builder + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder)) const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - if (RuntimeType.STRING == value_height_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_0 = value_height as string - valueSerializer.writeString(value_height_0) - } - else if (RuntimeType.NUMBER == value_height_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_1 = value_height as number - valueSerializer.writeNumber(value_height_1) + if (TypeChecker.isTitleHeight(value_height)) { + valueSerializer.writeInt8(0) + const value_height_0 = value_height as TitleHeight + valueSerializer.writeInt32(TypeChecker.TitleHeight_ToNumeric(value_height_0)) } - else if (RuntimeType.OBJECT == value_height_type) { - valueSerializer.writeInt8(2 as int32) - const value_height_2 = value_height as Resource - valueSerializer.writeResource(value_height_2) + else if ((RuntimeType.STRING == value_height_type) || (RuntimeType.NUMBER == value_height_type) || (RuntimeType.OBJECT == value_height_type)) { + valueSerializer.writeInt8(1) + const value_height_1 = value_height as Length + let value_height_1_type : int32 = RuntimeType.UNDEFINED + value_height_1_type = runtimeType(value_height_1) + if (RuntimeType.STRING == value_height_1_type) { + valueSerializer.writeInt8(0) + const value_height_1_0 = value_height_1 as string + valueSerializer.writeString(value_height_1_0) + } + else if (RuntimeType.NUMBER == value_height_1_type) { + valueSerializer.writeInt8(1) + const value_height_1_1 = value_height_1 as number + valueSerializer.writeNumber(value_height_1_1) + } + else if (RuntimeType.OBJECT == value_height_1_type) { + valueSerializer.writeInt8(2) + const value_height_1_2 = value_height_1 as Resource + valueSerializer.writeResource(value_height_1_2) + } } - const value_position = value.position - valueSerializer.writePosition(value_position) - const value_globalPosition = value.globalPosition - valueSerializer.writePosition(value_globalPosition) } - writeBadgeParamWithNumber(value: BadgeParamWithNumber): void { + public writeNavigationCustomTitle(value: NavigationCustomTitle): void { let valueSerializer : Serializer = this - const value_position = value.position - let value_position_type : int32 = RuntimeType.UNDEFINED - value_position_type = runtimeType(value_position) - valueSerializer.writeInt8(value_position_type as int32) - if ((RuntimeType.UNDEFINED) != (value_position_type)) { - const value_position_value = value_position! - let value_position_value_type : int32 = RuntimeType.UNDEFINED - value_position_value_type = runtimeType(value_position_value) - if (TypeChecker.isBadgePosition(value_position_value)) { - valueSerializer.writeInt8(0 as int32) - const value_position_value_0 = value_position_value as BadgePosition - valueSerializer.writeInt32(TypeChecker.BadgePosition_ToNumeric(value_position_value_0)) + const value_builder = value.builder + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder)) + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + if (TypeChecker.isTitleHeight(value_height)) { + valueSerializer.writeInt8(0) + const value_height_0 = value_height as TitleHeight + valueSerializer.writeInt32(TypeChecker.TitleHeight_ToNumeric(value_height_0)) + } + else if ((RuntimeType.STRING == value_height_type) || (RuntimeType.NUMBER == value_height_type) || (RuntimeType.OBJECT == value_height_type)) { + valueSerializer.writeInt8(1) + const value_height_1 = value_height as Length + let value_height_1_type : int32 = RuntimeType.UNDEFINED + value_height_1_type = runtimeType(value_height_1) + if (RuntimeType.STRING == value_height_1_type) { + valueSerializer.writeInt8(0) + const value_height_1_0 = value_height_1 as string + valueSerializer.writeString(value_height_1_0) } - else if (RuntimeType.OBJECT == value_position_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_position_value_1 = value_position_value as Position - valueSerializer.writePosition(value_position_value_1) + else if (RuntimeType.NUMBER == value_height_1_type) { + valueSerializer.writeInt8(1) + const value_height_1_1 = value_height_1 as number + valueSerializer.writeNumber(value_height_1_1) + } + else if (RuntimeType.OBJECT == value_height_1_type) { + valueSerializer.writeInt8(2) + const value_height_1_2 = value_height_1 as Resource + valueSerializer.writeResource(value_height_1_2) } - } - const value_style = value.style - valueSerializer.writeBadgeStyle(value_style) - const value_count = value.count - valueSerializer.writeNumber(value_count) - const value_maxCount = value.maxCount - let value_maxCount_type : int32 = RuntimeType.UNDEFINED - value_maxCount_type = runtimeType(value_maxCount) - valueSerializer.writeInt8(value_maxCount_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maxCount_type)) { - const value_maxCount_value = value_maxCount! - valueSerializer.writeNumber(value_maxCount_value) } } - writeBadgeParamWithString(value: BadgeParamWithString): void { + public writeNavigationTitleOptions(value: NavigationTitleOptions): void { let valueSerializer : Serializer = this - const value_position = value.position - let value_position_type : int32 = RuntimeType.UNDEFINED - value_position_type = runtimeType(value_position) - valueSerializer.writeInt8(value_position_type as int32) - if ((RuntimeType.UNDEFINED) != (value_position_type)) { - const value_position_value = value_position! - let value_position_value_type : int32 = RuntimeType.UNDEFINED - value_position_value_type = runtimeType(value_position_value) - if (TypeChecker.isBadgePosition(value_position_value)) { - valueSerializer.writeInt8(0 as int32) - const value_position_value_0 = value_position_value as BadgePosition - valueSerializer.writeInt32(TypeChecker.BadgePosition_ToNumeric(value_position_value_0)) + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (TypeChecker.isColor(value_backgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = value_backgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) } - else if (RuntimeType.OBJECT == value_position_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_position_value_1 = value_position_value as Position - valueSerializer.writePosition(value_position_value_1) + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = value_backgroundColor_value as number + valueSerializer.writeNumber(value_backgroundColor_value_1) + } + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = value_backgroundColor_value as string + valueSerializer.writeString(value_backgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = value_backgroundColor_value as Resource + valueSerializer.writeResource(value_backgroundColor_value_3) } } - const value_style = value.style - valueSerializer.writeBadgeStyle(value_style) - const value_value = value.value - valueSerializer.writeString(value_value) + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) + valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) + } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } + const value_barStyle = value.barStyle + let value_barStyle_type : int32 = RuntimeType.UNDEFINED + value_barStyle_type = runtimeType(value_barStyle) + valueSerializer.writeInt8(value_barStyle_type) + if ((RuntimeType.UNDEFINED) != (value_barStyle_type)) { + const value_barStyle_value = (value_barStyle as BarStyle) + valueSerializer.writeInt32(TypeChecker.BarStyle_ToNumeric(value_barStyle_value)) + } + const value_paddingStart = value.paddingStart + let value_paddingStart_type : int32 = RuntimeType.UNDEFINED + value_paddingStart_type = runtimeType(value_paddingStart) + valueSerializer.writeInt8(value_paddingStart_type) + if ((RuntimeType.UNDEFINED) != (value_paddingStart_type)) { + const value_paddingStart_value = value_paddingStart! + valueSerializer.writeLengthMetrics(value_paddingStart_value) + } + const value_paddingEnd = value.paddingEnd + let value_paddingEnd_type : int32 = RuntimeType.UNDEFINED + value_paddingEnd_type = runtimeType(value_paddingEnd) + valueSerializer.writeInt8(value_paddingEnd_type) + if ((RuntimeType.UNDEFINED) != (value_paddingEnd_type)) { + const value_paddingEnd_value = value_paddingEnd! + valueSerializer.writeLengthMetrics(value_paddingEnd_value) + } + const value_mainTitleModifier = value.mainTitleModifier + let value_mainTitleModifier_type : int32 = RuntimeType.UNDEFINED + value_mainTitleModifier_type = runtimeType(value_mainTitleModifier) + valueSerializer.writeInt8(value_mainTitleModifier_type) + if ((RuntimeType.UNDEFINED) != (value_mainTitleModifier_type)) { + const value_mainTitleModifier_value = value_mainTitleModifier! + valueSerializer.writeTextModifier(value_mainTitleModifier_value) + } + const value_subTitleModifier = value.subTitleModifier + let value_subTitleModifier_type : int32 = RuntimeType.UNDEFINED + value_subTitleModifier_type = runtimeType(value_subTitleModifier) + valueSerializer.writeInt8(value_subTitleModifier_type) + if ((RuntimeType.UNDEFINED) != (value_subTitleModifier_type)) { + const value_subTitleModifier_value = value_subTitleModifier! + valueSerializer.writeTextModifier(value_subTitleModifier_value) + } + const value_enableHoverMode = value.enableHoverMode + let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED + value_enableHoverMode_type = runtimeType(value_enableHoverMode) + valueSerializer.writeInt8(value_enableHoverMode_type) + if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { + const value_enableHoverMode_value = value_enableHoverMode! + valueSerializer.writeBoolean(value_enableHoverMode_value) + } } - writeBorderImageOption(value: BorderImageOption): void { + public writeOffsetOptions(value: OffsetOptions): void { let valueSerializer : Serializer = this - const value_slice = value.slice - let value_slice_type : int32 = RuntimeType.UNDEFINED - value_slice_type = runtimeType(value_slice) - valueSerializer.writeInt8(value_slice_type as int32) - if ((RuntimeType.UNDEFINED) != (value_slice_type)) { - const value_slice_value = value_slice! - let value_slice_value_type : int32 = RuntimeType.UNDEFINED - value_slice_value_type = runtimeType(value_slice_value) - if ((RuntimeType.STRING == value_slice_value_type) || (RuntimeType.NUMBER == value_slice_value_type) || (RuntimeType.OBJECT == value_slice_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_slice_value_0 = value_slice_value as Length - let value_slice_value_0_type : int32 = RuntimeType.UNDEFINED - value_slice_value_0_type = runtimeType(value_slice_value_0) - if (RuntimeType.STRING == value_slice_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_slice_value_0_0 = value_slice_value_0 as string - valueSerializer.writeString(value_slice_value_0_0) - } - else if (RuntimeType.NUMBER == value_slice_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_slice_value_0_1 = value_slice_value_0 as number - valueSerializer.writeNumber(value_slice_value_0_1) - } - else if (RuntimeType.OBJECT == value_slice_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_slice_value_0_2 = value_slice_value_0 as Resource - valueSerializer.writeResource(value_slice_value_0_2) - } + const value_xOffset = value.xOffset + let value_xOffset_type : int32 = RuntimeType.UNDEFINED + value_xOffset_type = runtimeType(value_xOffset) + valueSerializer.writeInt8(value_xOffset_type) + if ((RuntimeType.UNDEFINED) != (value_xOffset_type)) { + const value_xOffset_value = value_xOffset! + let value_xOffset_value_type : int32 = RuntimeType.UNDEFINED + value_xOffset_value_type = runtimeType(value_xOffset_value) + if (RuntimeType.STRING == value_xOffset_value_type) { + valueSerializer.writeInt8(0) + const value_xOffset_value_0 = value_xOffset_value as string + valueSerializer.writeString(value_xOffset_value_0) } - else if (((RuntimeType.OBJECT) == (value_slice_value_type)) && (TypeChecker.isEdgeWidths(value_slice_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_slice_value_1 = value_slice_value as EdgeWidths - const value_slice_value_1_top = value_slice_value_1.top - let value_slice_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_slice_value_1_top_type = runtimeType(value_slice_value_1_top) - valueSerializer.writeInt8(value_slice_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_slice_value_1_top_type)) { - const value_slice_value_1_top_value = value_slice_value_1_top! - let value_slice_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_slice_value_1_top_value_type = runtimeType(value_slice_value_1_top_value) - if (RuntimeType.STRING == value_slice_value_1_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_slice_value_1_top_value_0 = value_slice_value_1_top_value as string - valueSerializer.writeString(value_slice_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_slice_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_slice_value_1_top_value_1 = value_slice_value_1_top_value as number - valueSerializer.writeNumber(value_slice_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_slice_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_slice_value_1_top_value_2 = value_slice_value_1_top_value as Resource - valueSerializer.writeResource(value_slice_value_1_top_value_2) - } - } - const value_slice_value_1_right = value_slice_value_1.right - let value_slice_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_slice_value_1_right_type = runtimeType(value_slice_value_1_right) - valueSerializer.writeInt8(value_slice_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_slice_value_1_right_type)) { - const value_slice_value_1_right_value = value_slice_value_1_right! - let value_slice_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_slice_value_1_right_value_type = runtimeType(value_slice_value_1_right_value) - if (RuntimeType.STRING == value_slice_value_1_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_slice_value_1_right_value_0 = value_slice_value_1_right_value as string - valueSerializer.writeString(value_slice_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_slice_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_slice_value_1_right_value_1 = value_slice_value_1_right_value as number - valueSerializer.writeNumber(value_slice_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_slice_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_slice_value_1_right_value_2 = value_slice_value_1_right_value as Resource - valueSerializer.writeResource(value_slice_value_1_right_value_2) - } - } - const value_slice_value_1_bottom = value_slice_value_1.bottom - let value_slice_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_slice_value_1_bottom_type = runtimeType(value_slice_value_1_bottom) - valueSerializer.writeInt8(value_slice_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_slice_value_1_bottom_type)) { - const value_slice_value_1_bottom_value = value_slice_value_1_bottom! - let value_slice_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_slice_value_1_bottom_value_type = runtimeType(value_slice_value_1_bottom_value) - if (RuntimeType.STRING == value_slice_value_1_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_slice_value_1_bottom_value_0 = value_slice_value_1_bottom_value as string - valueSerializer.writeString(value_slice_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_slice_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_slice_value_1_bottom_value_1 = value_slice_value_1_bottom_value as number - valueSerializer.writeNumber(value_slice_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_slice_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_slice_value_1_bottom_value_2 = value_slice_value_1_bottom_value as Resource - valueSerializer.writeResource(value_slice_value_1_bottom_value_2) - } - } - const value_slice_value_1_left = value_slice_value_1.left - let value_slice_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_slice_value_1_left_type = runtimeType(value_slice_value_1_left) - valueSerializer.writeInt8(value_slice_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_slice_value_1_left_type)) { - const value_slice_value_1_left_value = value_slice_value_1_left! - let value_slice_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_slice_value_1_left_value_type = runtimeType(value_slice_value_1_left_value) - if (RuntimeType.STRING == value_slice_value_1_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_slice_value_1_left_value_0 = value_slice_value_1_left_value as string - valueSerializer.writeString(value_slice_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_slice_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_slice_value_1_left_value_1 = value_slice_value_1_left_value as number - valueSerializer.writeNumber(value_slice_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_slice_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_slice_value_1_left_value_2 = value_slice_value_1_left_value as Resource - valueSerializer.writeResource(value_slice_value_1_left_value_2) - } - } + else if (RuntimeType.NUMBER == value_xOffset_value_type) { + valueSerializer.writeInt8(1) + const value_xOffset_value_1 = value_xOffset_value as number + valueSerializer.writeNumber(value_xOffset_value_1) } - else if (TypeChecker.isLocalizedEdgeWidths(value_slice_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_slice_value_2 = value_slice_value as LocalizedEdgeWidths - valueSerializer.writeLocalizedEdgeWidths(value_slice_value_2) + else if (RuntimeType.OBJECT == value_xOffset_value_type) { + valueSerializer.writeInt8(2) + const value_xOffset_value_2 = value_xOffset_value as Resource + valueSerializer.writeResource(value_xOffset_value_2) } } - const value_repeat = value.repeat - let value_repeat_type : int32 = RuntimeType.UNDEFINED - value_repeat_type = runtimeType(value_repeat) - valueSerializer.writeInt8(value_repeat_type as int32) - if ((RuntimeType.UNDEFINED) != (value_repeat_type)) { - const value_repeat_value = (value_repeat as RepeatMode) - valueSerializer.writeInt32(TypeChecker.RepeatMode_ToNumeric(value_repeat_value)) - } - const value_source = value.source - let value_source_type : int32 = RuntimeType.UNDEFINED - value_source_type = runtimeType(value_source) - valueSerializer.writeInt8(value_source_type as int32) - if ((RuntimeType.UNDEFINED) != (value_source_type)) { - const value_source_value = value_source! - let value_source_value_type : int32 = RuntimeType.UNDEFINED - value_source_value_type = runtimeType(value_source_value) - if (RuntimeType.STRING == value_source_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_source_value_0 = value_source_value as string - valueSerializer.writeString(value_source_value_0) + const value_yOffset = value.yOffset + let value_yOffset_type : int32 = RuntimeType.UNDEFINED + value_yOffset_type = runtimeType(value_yOffset) + valueSerializer.writeInt8(value_yOffset_type) + if ((RuntimeType.UNDEFINED) != (value_yOffset_type)) { + const value_yOffset_value = value_yOffset! + let value_yOffset_value_type : int32 = RuntimeType.UNDEFINED + value_yOffset_value_type = runtimeType(value_yOffset_value) + if (RuntimeType.STRING == value_yOffset_value_type) { + valueSerializer.writeInt8(0) + const value_yOffset_value_0 = value_yOffset_value as string + valueSerializer.writeString(value_yOffset_value_0) } - else if (TypeChecker.isResource(value_source_value, false, false, false, false, false)) { - valueSerializer.writeInt8(1 as int32) - const value_source_value_1 = value_source_value as Resource - valueSerializer.writeResource(value_source_value_1) + else if (RuntimeType.NUMBER == value_yOffset_value_type) { + valueSerializer.writeInt8(1) + const value_yOffset_value_1 = value_yOffset_value as number + valueSerializer.writeNumber(value_yOffset_value_1) } - else if (TypeChecker.isLinearGradient_common(value_source_value, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_source_value_2 = value_source_value as LinearGradient_common - valueSerializer.writeLinearGradient_common(value_source_value_2) + else if (RuntimeType.OBJECT == value_yOffset_value_type) { + valueSerializer.writeInt8(2) + const value_yOffset_value_2 = value_yOffset_value as Resource + valueSerializer.writeResource(value_yOffset_value_2) } } - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if ((RuntimeType.STRING == value_width_value_type) || (RuntimeType.NUMBER == value_width_value_type) || (RuntimeType.OBJECT == value_width_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as Length - let value_width_value_0_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_type = runtimeType(value_width_value_0) - if (RuntimeType.STRING == value_width_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0_0 = value_width_value_0 as string - valueSerializer.writeString(value_width_value_0_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_0_1 = value_width_value_0 as number - valueSerializer.writeNumber(value_width_value_0_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_0_2 = value_width_value_0 as Resource - valueSerializer.writeResource(value_width_value_0_2) - } + } + public writeOutlineRadiuses(value: OutlineRadiuses): void { + let valueSerializer : Serializer = this + const value_topLeft = value.topLeft + let value_topLeft_type : int32 = RuntimeType.UNDEFINED + value_topLeft_type = runtimeType(value_topLeft) + valueSerializer.writeInt8(value_topLeft_type) + if ((RuntimeType.UNDEFINED) != (value_topLeft_type)) { + const value_topLeft_value = value_topLeft! + let value_topLeft_value_type : int32 = RuntimeType.UNDEFINED + value_topLeft_value_type = runtimeType(value_topLeft_value) + if (RuntimeType.STRING == value_topLeft_value_type) { + valueSerializer.writeInt8(0) + const value_topLeft_value_0 = value_topLeft_value as string + valueSerializer.writeString(value_topLeft_value_0) + } + else if (RuntimeType.NUMBER == value_topLeft_value_type) { + valueSerializer.writeInt8(1) + const value_topLeft_value_1 = value_topLeft_value as number + valueSerializer.writeNumber(value_topLeft_value_1) + } + else if (RuntimeType.OBJECT == value_topLeft_value_type) { + valueSerializer.writeInt8(2) + const value_topLeft_value_2 = value_topLeft_value as Resource + valueSerializer.writeResource(value_topLeft_value_2) } - else if (((RuntimeType.OBJECT) == (value_width_value_type)) && (TypeChecker.isEdgeWidths(value_width_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as EdgeWidths - const value_width_value_1_top = value_width_value_1.top - let value_width_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_width_value_1_top_type = runtimeType(value_width_value_1_top) - valueSerializer.writeInt8(value_width_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_value_1_top_type)) { - const value_width_value_1_top_value = value_width_value_1_top! - let value_width_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_1_top_value_type = runtimeType(value_width_value_1_top_value) - if (RuntimeType.STRING == value_width_value_1_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_1_top_value_0 = value_width_value_1_top_value as string - valueSerializer.writeString(value_width_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1_top_value_1 = value_width_value_1_top_value as number - valueSerializer.writeNumber(value_width_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_1_top_value_2 = value_width_value_1_top_value as Resource - valueSerializer.writeResource(value_width_value_1_top_value_2) - } - } - const value_width_value_1_right = value_width_value_1.right - let value_width_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_width_value_1_right_type = runtimeType(value_width_value_1_right) - valueSerializer.writeInt8(value_width_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_value_1_right_type)) { - const value_width_value_1_right_value = value_width_value_1_right! - let value_width_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_1_right_value_type = runtimeType(value_width_value_1_right_value) - if (RuntimeType.STRING == value_width_value_1_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_1_right_value_0 = value_width_value_1_right_value as string - valueSerializer.writeString(value_width_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1_right_value_1 = value_width_value_1_right_value as number - valueSerializer.writeNumber(value_width_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_1_right_value_2 = value_width_value_1_right_value as Resource - valueSerializer.writeResource(value_width_value_1_right_value_2) - } - } - const value_width_value_1_bottom = value_width_value_1.bottom - let value_width_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_width_value_1_bottom_type = runtimeType(value_width_value_1_bottom) - valueSerializer.writeInt8(value_width_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_value_1_bottom_type)) { - const value_width_value_1_bottom_value = value_width_value_1_bottom! - let value_width_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_1_bottom_value_type = runtimeType(value_width_value_1_bottom_value) - if (RuntimeType.STRING == value_width_value_1_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_1_bottom_value_0 = value_width_value_1_bottom_value as string - valueSerializer.writeString(value_width_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1_bottom_value_1 = value_width_value_1_bottom_value as number - valueSerializer.writeNumber(value_width_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_1_bottom_value_2 = value_width_value_1_bottom_value as Resource - valueSerializer.writeResource(value_width_value_1_bottom_value_2) - } - } - const value_width_value_1_left = value_width_value_1.left - let value_width_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_width_value_1_left_type = runtimeType(value_width_value_1_left) - valueSerializer.writeInt8(value_width_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_value_1_left_type)) { - const value_width_value_1_left_value = value_width_value_1_left! - let value_width_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_1_left_value_type = runtimeType(value_width_value_1_left_value) - if (RuntimeType.STRING == value_width_value_1_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_1_left_value_0 = value_width_value_1_left_value as string - valueSerializer.writeString(value_width_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1_left_value_1 = value_width_value_1_left_value as number - valueSerializer.writeNumber(value_width_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_1_left_value_2 = value_width_value_1_left_value as Resource - valueSerializer.writeResource(value_width_value_1_left_value_2) - } - } + } + const value_topRight = value.topRight + let value_topRight_type : int32 = RuntimeType.UNDEFINED + value_topRight_type = runtimeType(value_topRight) + valueSerializer.writeInt8(value_topRight_type) + if ((RuntimeType.UNDEFINED) != (value_topRight_type)) { + const value_topRight_value = value_topRight! + let value_topRight_value_type : int32 = RuntimeType.UNDEFINED + value_topRight_value_type = runtimeType(value_topRight_value) + if (RuntimeType.STRING == value_topRight_value_type) { + valueSerializer.writeInt8(0) + const value_topRight_value_0 = value_topRight_value as string + valueSerializer.writeString(value_topRight_value_0) + } + else if (RuntimeType.NUMBER == value_topRight_value_type) { + valueSerializer.writeInt8(1) + const value_topRight_value_1 = value_topRight_value as number + valueSerializer.writeNumber(value_topRight_value_1) + } + else if (RuntimeType.OBJECT == value_topRight_value_type) { + valueSerializer.writeInt8(2) + const value_topRight_value_2 = value_topRight_value as Resource + valueSerializer.writeResource(value_topRight_value_2) } - else if (TypeChecker.isLocalizedEdgeWidths(value_width_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as LocalizedEdgeWidths - valueSerializer.writeLocalizedEdgeWidths(value_width_value_2) + } + const value_bottomLeft = value.bottomLeft + let value_bottomLeft_type : int32 = RuntimeType.UNDEFINED + value_bottomLeft_type = runtimeType(value_bottomLeft) + valueSerializer.writeInt8(value_bottomLeft_type) + if ((RuntimeType.UNDEFINED) != (value_bottomLeft_type)) { + const value_bottomLeft_value = value_bottomLeft! + let value_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED + value_bottomLeft_value_type = runtimeType(value_bottomLeft_value) + if (RuntimeType.STRING == value_bottomLeft_value_type) { + valueSerializer.writeInt8(0) + const value_bottomLeft_value_0 = value_bottomLeft_value as string + valueSerializer.writeString(value_bottomLeft_value_0) + } + else if (RuntimeType.NUMBER == value_bottomLeft_value_type) { + valueSerializer.writeInt8(1) + const value_bottomLeft_value_1 = value_bottomLeft_value as number + valueSerializer.writeNumber(value_bottomLeft_value_1) + } + else if (RuntimeType.OBJECT == value_bottomLeft_value_type) { + valueSerializer.writeInt8(2) + const value_bottomLeft_value_2 = value_bottomLeft_value as Resource + valueSerializer.writeResource(value_bottomLeft_value_2) } } - const value_outset = value.outset - let value_outset_type : int32 = RuntimeType.UNDEFINED - value_outset_type = runtimeType(value_outset) - valueSerializer.writeInt8(value_outset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_outset_type)) { - const value_outset_value = value_outset! - let value_outset_value_type : int32 = RuntimeType.UNDEFINED - value_outset_value_type = runtimeType(value_outset_value) - if ((RuntimeType.STRING == value_outset_value_type) || (RuntimeType.NUMBER == value_outset_value_type) || (RuntimeType.OBJECT == value_outset_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_outset_value_0 = value_outset_value as Length - let value_outset_value_0_type : int32 = RuntimeType.UNDEFINED - value_outset_value_0_type = runtimeType(value_outset_value_0) - if (RuntimeType.STRING == value_outset_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_outset_value_0_0 = value_outset_value_0 as string - valueSerializer.writeString(value_outset_value_0_0) - } - else if (RuntimeType.NUMBER == value_outset_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_outset_value_0_1 = value_outset_value_0 as number - valueSerializer.writeNumber(value_outset_value_0_1) - } - else if (RuntimeType.OBJECT == value_outset_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_outset_value_0_2 = value_outset_value_0 as Resource - valueSerializer.writeResource(value_outset_value_0_2) - } + const value_bottomRight = value.bottomRight + let value_bottomRight_type : int32 = RuntimeType.UNDEFINED + value_bottomRight_type = runtimeType(value_bottomRight) + valueSerializer.writeInt8(value_bottomRight_type) + if ((RuntimeType.UNDEFINED) != (value_bottomRight_type)) { + const value_bottomRight_value = value_bottomRight! + let value_bottomRight_value_type : int32 = RuntimeType.UNDEFINED + value_bottomRight_value_type = runtimeType(value_bottomRight_value) + if (RuntimeType.STRING == value_bottomRight_value_type) { + valueSerializer.writeInt8(0) + const value_bottomRight_value_0 = value_bottomRight_value as string + valueSerializer.writeString(value_bottomRight_value_0) } - else if (((RuntimeType.OBJECT) == (value_outset_value_type)) && (TypeChecker.isEdgeWidths(value_outset_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_outset_value_1 = value_outset_value as EdgeWidths - const value_outset_value_1_top = value_outset_value_1.top - let value_outset_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_outset_value_1_top_type = runtimeType(value_outset_value_1_top) - valueSerializer.writeInt8(value_outset_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_outset_value_1_top_type)) { - const value_outset_value_1_top_value = value_outset_value_1_top! - let value_outset_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_outset_value_1_top_value_type = runtimeType(value_outset_value_1_top_value) - if (RuntimeType.STRING == value_outset_value_1_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_outset_value_1_top_value_0 = value_outset_value_1_top_value as string - valueSerializer.writeString(value_outset_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_outset_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_outset_value_1_top_value_1 = value_outset_value_1_top_value as number - valueSerializer.writeNumber(value_outset_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_outset_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_outset_value_1_top_value_2 = value_outset_value_1_top_value as Resource - valueSerializer.writeResource(value_outset_value_1_top_value_2) - } - } - const value_outset_value_1_right = value_outset_value_1.right - let value_outset_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_outset_value_1_right_type = runtimeType(value_outset_value_1_right) - valueSerializer.writeInt8(value_outset_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_outset_value_1_right_type)) { - const value_outset_value_1_right_value = value_outset_value_1_right! - let value_outset_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_outset_value_1_right_value_type = runtimeType(value_outset_value_1_right_value) - if (RuntimeType.STRING == value_outset_value_1_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_outset_value_1_right_value_0 = value_outset_value_1_right_value as string - valueSerializer.writeString(value_outset_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_outset_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_outset_value_1_right_value_1 = value_outset_value_1_right_value as number - valueSerializer.writeNumber(value_outset_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_outset_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_outset_value_1_right_value_2 = value_outset_value_1_right_value as Resource - valueSerializer.writeResource(value_outset_value_1_right_value_2) - } - } - const value_outset_value_1_bottom = value_outset_value_1.bottom - let value_outset_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_outset_value_1_bottom_type = runtimeType(value_outset_value_1_bottom) - valueSerializer.writeInt8(value_outset_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_outset_value_1_bottom_type)) { - const value_outset_value_1_bottom_value = value_outset_value_1_bottom! - let value_outset_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_outset_value_1_bottom_value_type = runtimeType(value_outset_value_1_bottom_value) - if (RuntimeType.STRING == value_outset_value_1_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_outset_value_1_bottom_value_0 = value_outset_value_1_bottom_value as string - valueSerializer.writeString(value_outset_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_outset_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_outset_value_1_bottom_value_1 = value_outset_value_1_bottom_value as number - valueSerializer.writeNumber(value_outset_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_outset_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_outset_value_1_bottom_value_2 = value_outset_value_1_bottom_value as Resource - valueSerializer.writeResource(value_outset_value_1_bottom_value_2) - } - } - const value_outset_value_1_left = value_outset_value_1.left - let value_outset_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_outset_value_1_left_type = runtimeType(value_outset_value_1_left) - valueSerializer.writeInt8(value_outset_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_outset_value_1_left_type)) { - const value_outset_value_1_left_value = value_outset_value_1_left! - let value_outset_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_outset_value_1_left_value_type = runtimeType(value_outset_value_1_left_value) - if (RuntimeType.STRING == value_outset_value_1_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_outset_value_1_left_value_0 = value_outset_value_1_left_value as string - valueSerializer.writeString(value_outset_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_outset_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_outset_value_1_left_value_1 = value_outset_value_1_left_value as number - valueSerializer.writeNumber(value_outset_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_outset_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_outset_value_1_left_value_2 = value_outset_value_1_left_value as Resource - valueSerializer.writeResource(value_outset_value_1_left_value_2) - } - } + else if (RuntimeType.NUMBER == value_bottomRight_value_type) { + valueSerializer.writeInt8(1) + const value_bottomRight_value_1 = value_bottomRight_value as number + valueSerializer.writeNumber(value_bottomRight_value_1) } - else if (TypeChecker.isLocalizedEdgeWidths(value_outset_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_outset_value_2 = value_outset_value as LocalizedEdgeWidths - valueSerializer.writeLocalizedEdgeWidths(value_outset_value_2) + else if (RuntimeType.OBJECT == value_bottomRight_value_type) { + valueSerializer.writeInt8(2) + const value_bottomRight_value_2 = value_bottomRight_value as Resource + valueSerializer.writeResource(value_bottomRight_value_2) } } - const value_fill = value.fill - let value_fill_type : int32 = RuntimeType.UNDEFINED - value_fill_type = runtimeType(value_fill) - valueSerializer.writeInt8(value_fill_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fill_type)) { - const value_fill_value = value_fill! - valueSerializer.writeBoolean(value_fill_value) - } } - writeBorderOptions(value: BorderOptions): void { + public writePadding(value: Padding): void { let valueSerializer : Serializer = this - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (((RuntimeType.OBJECT) == (value_width_value_type)) && (TypeChecker.isEdgeWidths(value_width_value, true, false, true, false))) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as EdgeWidths - const value_width_value_0_top = value_width_value_0.top - let value_width_value_0_top_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_top_type = runtimeType(value_width_value_0_top) - valueSerializer.writeInt8(value_width_value_0_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_top_type)) { - const value_width_value_0_top_value = value_width_value_0_top! - let value_width_value_0_top_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_top_value_type = runtimeType(value_width_value_0_top_value) - if (RuntimeType.STRING == value_width_value_0_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0_top_value_0 = value_width_value_0_top_value as string - valueSerializer.writeString(value_width_value_0_top_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_0_top_value_1 = value_width_value_0_top_value as number - valueSerializer.writeNumber(value_width_value_0_top_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_0_top_value_2 = value_width_value_0_top_value as Resource - valueSerializer.writeResource(value_width_value_0_top_value_2) - } - } - const value_width_value_0_right = value_width_value_0.right - let value_width_value_0_right_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_right_type = runtimeType(value_width_value_0_right) - valueSerializer.writeInt8(value_width_value_0_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_right_type)) { - const value_width_value_0_right_value = value_width_value_0_right! - let value_width_value_0_right_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_right_value_type = runtimeType(value_width_value_0_right_value) - if (RuntimeType.STRING == value_width_value_0_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0_right_value_0 = value_width_value_0_right_value as string - valueSerializer.writeString(value_width_value_0_right_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_0_right_value_1 = value_width_value_0_right_value as number - valueSerializer.writeNumber(value_width_value_0_right_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_0_right_value_2 = value_width_value_0_right_value as Resource - valueSerializer.writeResource(value_width_value_0_right_value_2) - } - } - const value_width_value_0_bottom = value_width_value_0.bottom - let value_width_value_0_bottom_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_bottom_type = runtimeType(value_width_value_0_bottom) - valueSerializer.writeInt8(value_width_value_0_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_bottom_type)) { - const value_width_value_0_bottom_value = value_width_value_0_bottom! - let value_width_value_0_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_bottom_value_type = runtimeType(value_width_value_0_bottom_value) - if (RuntimeType.STRING == value_width_value_0_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0_bottom_value_0 = value_width_value_0_bottom_value as string - valueSerializer.writeString(value_width_value_0_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_0_bottom_value_1 = value_width_value_0_bottom_value as number - valueSerializer.writeNumber(value_width_value_0_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_0_bottom_value_2 = value_width_value_0_bottom_value as Resource - valueSerializer.writeResource(value_width_value_0_bottom_value_2) - } - } - const value_width_value_0_left = value_width_value_0.left - let value_width_value_0_left_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_left_type = runtimeType(value_width_value_0_left) - valueSerializer.writeInt8(value_width_value_0_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_left_type)) { - const value_width_value_0_left_value = value_width_value_0_left! - let value_width_value_0_left_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_left_value_type = runtimeType(value_width_value_0_left_value) - if (RuntimeType.STRING == value_width_value_0_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0_left_value_0 = value_width_value_0_left_value as string - valueSerializer.writeString(value_width_value_0_left_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_0_left_value_1 = value_width_value_0_left_value as number - valueSerializer.writeNumber(value_width_value_0_left_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_0_left_value_2 = value_width_value_0_left_value as Resource - valueSerializer.writeResource(value_width_value_0_left_value_2) - } - } + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type : int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.STRING == value_top_value_type) { + valueSerializer.writeInt8(0) + const value_top_value_0 = value_top_value as string + valueSerializer.writeString(value_top_value_0) } - else if ((RuntimeType.STRING == value_width_value_type) || (RuntimeType.NUMBER == value_width_value_type) || (RuntimeType.OBJECT == value_width_value_type)) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as Length - let value_width_value_1_type : int32 = RuntimeType.UNDEFINED - value_width_value_1_type = runtimeType(value_width_value_1) - if (RuntimeType.STRING == value_width_value_1_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_1_0 = value_width_value_1 as string - valueSerializer.writeString(value_width_value_1_0) - } - else if (RuntimeType.NUMBER == value_width_value_1_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1_1 = value_width_value_1 as number - valueSerializer.writeNumber(value_width_value_1_1) - } - else if (RuntimeType.OBJECT == value_width_value_1_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_1_2 = value_width_value_1 as Resource - valueSerializer.writeResource(value_width_value_1_2) - } + else if (RuntimeType.NUMBER == value_top_value_type) { + valueSerializer.writeInt8(1) + const value_top_value_1 = value_top_value as number + valueSerializer.writeNumber(value_top_value_1) } - else if (TypeChecker.isLocalizedEdgeWidths(value_width_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as LocalizedEdgeWidths - valueSerializer.writeLocalizedEdgeWidths(value_width_value_2) + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(2) + const value_top_value_2 = value_top_value as Resource + valueSerializer.writeResource(value_top_value_2) } } - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.OBJECT) == (value_color_value_type)) && (TypeChecker.isEdgeColors(value_color_value, true, false, true, false))) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0 = value_color_value as EdgeColors - const value_color_value_0_top = value_color_value_0.top - let value_color_value_0_top_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_top_type = runtimeType(value_color_value_0_top) - valueSerializer.writeInt8(value_color_value_0_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_top_type)) { - const value_color_value_0_top_value = value_color_value_0_top! - let value_color_value_0_top_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_top_value_type = runtimeType(value_color_value_0_top_value) - if (TypeChecker.isColor(value_color_value_0_top_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0_top_value_0 = value_color_value_0_top_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0_top_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_0_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_0_top_value_1 = value_color_value_0_top_value as number - valueSerializer.writeNumber(value_color_value_0_top_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_0_top_value_2 = value_color_value_0_top_value as string - valueSerializer.writeString(value_color_value_0_top_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_top_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_0_top_value_3 = value_color_value_0_top_value as Resource - valueSerializer.writeResource(value_color_value_0_top_value_3) - } - } - const value_color_value_0_right = value_color_value_0.right - let value_color_value_0_right_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_right_type = runtimeType(value_color_value_0_right) - valueSerializer.writeInt8(value_color_value_0_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_right_type)) { - const value_color_value_0_right_value = value_color_value_0_right! - let value_color_value_0_right_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_right_value_type = runtimeType(value_color_value_0_right_value) - if (TypeChecker.isColor(value_color_value_0_right_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0_right_value_0 = value_color_value_0_right_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0_right_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_0_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_0_right_value_1 = value_color_value_0_right_value as number - valueSerializer.writeNumber(value_color_value_0_right_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_0_right_value_2 = value_color_value_0_right_value as string - valueSerializer.writeString(value_color_value_0_right_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_right_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_0_right_value_3 = value_color_value_0_right_value as Resource - valueSerializer.writeResource(value_color_value_0_right_value_3) - } - } - const value_color_value_0_bottom = value_color_value_0.bottom - let value_color_value_0_bottom_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_bottom_type = runtimeType(value_color_value_0_bottom) - valueSerializer.writeInt8(value_color_value_0_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_bottom_type)) { - const value_color_value_0_bottom_value = value_color_value_0_bottom! - let value_color_value_0_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_bottom_value_type = runtimeType(value_color_value_0_bottom_value) - if (TypeChecker.isColor(value_color_value_0_bottom_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0_bottom_value_0 = value_color_value_0_bottom_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0_bottom_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_0_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_0_bottom_value_1 = value_color_value_0_bottom_value as number - valueSerializer.writeNumber(value_color_value_0_bottom_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_0_bottom_value_2 = value_color_value_0_bottom_value as string - valueSerializer.writeString(value_color_value_0_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_bottom_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_0_bottom_value_3 = value_color_value_0_bottom_value as Resource - valueSerializer.writeResource(value_color_value_0_bottom_value_3) - } - } - const value_color_value_0_left = value_color_value_0.left - let value_color_value_0_left_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_left_type = runtimeType(value_color_value_0_left) - valueSerializer.writeInt8(value_color_value_0_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_left_type)) { - const value_color_value_0_left_value = value_color_value_0_left! - let value_color_value_0_left_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_left_value_type = runtimeType(value_color_value_0_left_value) - if (TypeChecker.isColor(value_color_value_0_left_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0_left_value_0 = value_color_value_0_left_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0_left_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_0_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_0_left_value_1 = value_color_value_0_left_value as number - valueSerializer.writeNumber(value_color_value_0_left_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_0_left_value_2 = value_color_value_0_left_value as string - valueSerializer.writeString(value_color_value_0_left_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_left_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_0_left_value_3 = value_color_value_0_left_value as Resource - valueSerializer.writeResource(value_color_value_0_left_value_3) - } - } + const value_right = value.right + let value_right_type : int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type : int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (RuntimeType.STRING == value_right_value_type) { + valueSerializer.writeInt8(0) + const value_right_value_0 = value_right_value as string + valueSerializer.writeString(value_right_value_0) } - else if ((TypeChecker.isColor(value_color_value)) || (RuntimeType.NUMBER == value_color_value_type) || (RuntimeType.STRING == value_color_value_type) || (RuntimeType.OBJECT == value_color_value_type)) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1 = value_color_value as ResourceColor - let value_color_value_1_type : int32 = RuntimeType.UNDEFINED - value_color_value_1_type = runtimeType(value_color_value_1) - if (TypeChecker.isColor(value_color_value_1)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_1_0 = value_color_value_1 as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_1_0)) - } - else if (RuntimeType.NUMBER == value_color_value_1_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_1_1 = value_color_value_1 as number - valueSerializer.writeNumber(value_color_value_1_1) - } - else if (RuntimeType.STRING == value_color_value_1_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_1_2 = value_color_value_1 as string - valueSerializer.writeString(value_color_value_1_2) - } - else if (RuntimeType.OBJECT == value_color_value_1_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_1_3 = value_color_value_1 as Resource - valueSerializer.writeResource(value_color_value_1_3) - } + else if (RuntimeType.NUMBER == value_right_value_type) { + valueSerializer.writeInt8(1) + const value_right_value_1 = value_right_value as number + valueSerializer.writeNumber(value_right_value_1) } - else if (TypeChecker.isLocalizedEdgeColors(value_color_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_2 = value_color_value as LocalizedEdgeColors - valueSerializer.writeLocalizedEdgeColors(value_color_value_2) + else if (RuntimeType.OBJECT == value_right_value_type) { + valueSerializer.writeInt8(2) + const value_right_value_2 = value_right_value as Resource + valueSerializer.writeResource(value_right_value_2) } } - const value_radius = value.radius - let value_radius_type : int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_type)) { - const value_radius_value = value_radius! - let value_radius_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_type = runtimeType(value_radius_value) - if (((RuntimeType.OBJECT) == (value_radius_value_type)) && (TypeChecker.isBorderRadiuses(value_radius_value, false, false, false, false))) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0 = value_radius_value as BorderRadiuses - const value_radius_value_0_topLeft = value_radius_value_0.topLeft - let value_radius_value_0_topLeft_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_topLeft_type = runtimeType(value_radius_value_0_topLeft) - valueSerializer.writeInt8(value_radius_value_0_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_topLeft_type)) { - const value_radius_value_0_topLeft_value = value_radius_value_0_topLeft! - let value_radius_value_0_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_topLeft_value_type = runtimeType(value_radius_value_0_topLeft_value) - if (RuntimeType.STRING == value_radius_value_0_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0_topLeft_value_0 = value_radius_value_0_topLeft_value as string - valueSerializer.writeString(value_radius_value_0_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_0_topLeft_value_1 = value_radius_value_0_topLeft_value as number - valueSerializer.writeNumber(value_radius_value_0_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_0_topLeft_value_2 = value_radius_value_0_topLeft_value as Resource - valueSerializer.writeResource(value_radius_value_0_topLeft_value_2) - } - } - const value_radius_value_0_topRight = value_radius_value_0.topRight - let value_radius_value_0_topRight_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_topRight_type = runtimeType(value_radius_value_0_topRight) - valueSerializer.writeInt8(value_radius_value_0_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_topRight_type)) { - const value_radius_value_0_topRight_value = value_radius_value_0_topRight! - let value_radius_value_0_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_topRight_value_type = runtimeType(value_radius_value_0_topRight_value) - if (RuntimeType.STRING == value_radius_value_0_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0_topRight_value_0 = value_radius_value_0_topRight_value as string - valueSerializer.writeString(value_radius_value_0_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_0_topRight_value_1 = value_radius_value_0_topRight_value as number - valueSerializer.writeNumber(value_radius_value_0_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_0_topRight_value_2 = value_radius_value_0_topRight_value as Resource - valueSerializer.writeResource(value_radius_value_0_topRight_value_2) - } - } - const value_radius_value_0_bottomLeft = value_radius_value_0.bottomLeft - let value_radius_value_0_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomLeft_type = runtimeType(value_radius_value_0_bottomLeft) - valueSerializer.writeInt8(value_radius_value_0_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_bottomLeft_type)) { - const value_radius_value_0_bottomLeft_value = value_radius_value_0_bottomLeft! - let value_radius_value_0_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomLeft_value_type = runtimeType(value_radius_value_0_bottomLeft_value) - if (RuntimeType.STRING == value_radius_value_0_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0_bottomLeft_value_0 = value_radius_value_0_bottomLeft_value as string - valueSerializer.writeString(value_radius_value_0_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_0_bottomLeft_value_1 = value_radius_value_0_bottomLeft_value as number - valueSerializer.writeNumber(value_radius_value_0_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_0_bottomLeft_value_2 = value_radius_value_0_bottomLeft_value as Resource - valueSerializer.writeResource(value_radius_value_0_bottomLeft_value_2) - } - } - const value_radius_value_0_bottomRight = value_radius_value_0.bottomRight - let value_radius_value_0_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomRight_type = runtimeType(value_radius_value_0_bottomRight) - valueSerializer.writeInt8(value_radius_value_0_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_bottomRight_type)) { - const value_radius_value_0_bottomRight_value = value_radius_value_0_bottomRight! - let value_radius_value_0_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomRight_value_type = runtimeType(value_radius_value_0_bottomRight_value) - if (RuntimeType.STRING == value_radius_value_0_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0_bottomRight_value_0 = value_radius_value_0_bottomRight_value as string - valueSerializer.writeString(value_radius_value_0_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_0_bottomRight_value_1 = value_radius_value_0_bottomRight_value as number - valueSerializer.writeNumber(value_radius_value_0_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_0_bottomRight_value_2 = value_radius_value_0_bottomRight_value as Resource - valueSerializer.writeResource(value_radius_value_0_bottomRight_value_2) - } - } - } - else if ((RuntimeType.STRING == value_radius_value_type) || (RuntimeType.NUMBER == value_radius_value_type) || (RuntimeType.OBJECT == value_radius_value_type)) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_1 = value_radius_value as Length - let value_radius_value_1_type : int32 = RuntimeType.UNDEFINED - value_radius_value_1_type = runtimeType(value_radius_value_1) - if (RuntimeType.STRING == value_radius_value_1_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_1_0 = value_radius_value_1 as string - valueSerializer.writeString(value_radius_value_1_0) - } - else if (RuntimeType.NUMBER == value_radius_value_1_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_1_1 = value_radius_value_1 as number - valueSerializer.writeNumber(value_radius_value_1_1) - } - else if (RuntimeType.OBJECT == value_radius_value_1_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_1_2 = value_radius_value_1 as Resource - valueSerializer.writeResource(value_radius_value_1_2) - } + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type : int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (RuntimeType.STRING == value_bottom_value_type) { + valueSerializer.writeInt8(0) + const value_bottom_value_0 = value_bottom_value as string + valueSerializer.writeString(value_bottom_value_0) } - else if (TypeChecker.isLocalizedBorderRadiuses(value_radius_value, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_2 = value_radius_value as LocalizedBorderRadiuses - valueSerializer.writeLocalizedBorderRadiuses(value_radius_value_2) + else if (RuntimeType.NUMBER == value_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_bottom_value_1 = value_bottom_value as number + valueSerializer.writeNumber(value_bottom_value_1) + } + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = value_bottom_value as Resource + valueSerializer.writeResource(value_bottom_value_2) } } - const value_style = value.style - let value_style_type : int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = value_style! - let value_style_value_type : int32 = RuntimeType.UNDEFINED - value_style_value_type = runtimeType(value_style_value) - if (RuntimeType.OBJECT == value_style_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_style_value_0 = value_style_value as EdgeStyles - valueSerializer.writeEdgeStyles(value_style_value_0) + const value_left = value.left + let value_left_type : int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type : int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.STRING == value_left_value_type) { + valueSerializer.writeInt8(0) + const value_left_value_0 = value_left_value as string + valueSerializer.writeString(value_left_value_0) } - else if (TypeChecker.isBorderStyle(value_style_value)) { - valueSerializer.writeInt8(1 as int32) - const value_style_value_1 = value_style_value as BorderStyle - valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_style_value_1)) + else if (RuntimeType.NUMBER == value_left_value_type) { + valueSerializer.writeInt8(1) + const value_left_value_1 = value_left_value as number + valueSerializer.writeNumber(value_left_value_1) + } + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = value_left_value as Resource + valueSerializer.writeResource(value_left_value_2) } } - const value_dashGap = value.dashGap - let value_dashGap_type : int32 = RuntimeType.UNDEFINED - value_dashGap_type = runtimeType(value_dashGap) - valueSerializer.writeInt8(value_dashGap_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dashGap_type)) { - const value_dashGap_value = value_dashGap! - let value_dashGap_value_type : int32 = RuntimeType.UNDEFINED - value_dashGap_value_type = runtimeType(value_dashGap_value) - if (((RuntimeType.OBJECT) == (value_dashGap_value_type)) && (TypeChecker.isEdgeWidths(value_dashGap_value, true, false, true, false))) { - valueSerializer.writeInt8(0 as int32) - const value_dashGap_value_0 = value_dashGap_value as EdgeWidths - const value_dashGap_value_0_top = value_dashGap_value_0.top - let value_dashGap_value_0_top_type : int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_top_type = runtimeType(value_dashGap_value_0_top) - valueSerializer.writeInt8(value_dashGap_value_0_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dashGap_value_0_top_type)) { - const value_dashGap_value_0_top_value = value_dashGap_value_0_top! - let value_dashGap_value_0_top_value_type : int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_top_value_type = runtimeType(value_dashGap_value_0_top_value) - if (RuntimeType.STRING == value_dashGap_value_0_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_dashGap_value_0_top_value_0 = value_dashGap_value_0_top_value as string - valueSerializer.writeString(value_dashGap_value_0_top_value_0) - } - else if (RuntimeType.NUMBER == value_dashGap_value_0_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_dashGap_value_0_top_value_1 = value_dashGap_value_0_top_value as number - valueSerializer.writeNumber(value_dashGap_value_0_top_value_1) - } - else if (RuntimeType.OBJECT == value_dashGap_value_0_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_dashGap_value_0_top_value_2 = value_dashGap_value_0_top_value as Resource - valueSerializer.writeResource(value_dashGap_value_0_top_value_2) - } - } - const value_dashGap_value_0_right = value_dashGap_value_0.right - let value_dashGap_value_0_right_type : int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_right_type = runtimeType(value_dashGap_value_0_right) - valueSerializer.writeInt8(value_dashGap_value_0_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dashGap_value_0_right_type)) { - const value_dashGap_value_0_right_value = value_dashGap_value_0_right! - let value_dashGap_value_0_right_value_type : int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_right_value_type = runtimeType(value_dashGap_value_0_right_value) - if (RuntimeType.STRING == value_dashGap_value_0_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_dashGap_value_0_right_value_0 = value_dashGap_value_0_right_value as string - valueSerializer.writeString(value_dashGap_value_0_right_value_0) - } - else if (RuntimeType.NUMBER == value_dashGap_value_0_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_dashGap_value_0_right_value_1 = value_dashGap_value_0_right_value as number - valueSerializer.writeNumber(value_dashGap_value_0_right_value_1) - } - else if (RuntimeType.OBJECT == value_dashGap_value_0_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_dashGap_value_0_right_value_2 = value_dashGap_value_0_right_value as Resource - valueSerializer.writeResource(value_dashGap_value_0_right_value_2) - } - } - const value_dashGap_value_0_bottom = value_dashGap_value_0.bottom - let value_dashGap_value_0_bottom_type : int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_bottom_type = runtimeType(value_dashGap_value_0_bottom) - valueSerializer.writeInt8(value_dashGap_value_0_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dashGap_value_0_bottom_type)) { - const value_dashGap_value_0_bottom_value = value_dashGap_value_0_bottom! - let value_dashGap_value_0_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_bottom_value_type = runtimeType(value_dashGap_value_0_bottom_value) - if (RuntimeType.STRING == value_dashGap_value_0_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_dashGap_value_0_bottom_value_0 = value_dashGap_value_0_bottom_value as string - valueSerializer.writeString(value_dashGap_value_0_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_dashGap_value_0_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_dashGap_value_0_bottom_value_1 = value_dashGap_value_0_bottom_value as number - valueSerializer.writeNumber(value_dashGap_value_0_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_dashGap_value_0_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_dashGap_value_0_bottom_value_2 = value_dashGap_value_0_bottom_value as Resource - valueSerializer.writeResource(value_dashGap_value_0_bottom_value_2) - } - } - const value_dashGap_value_0_left = value_dashGap_value_0.left - let value_dashGap_value_0_left_type : int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_left_type = runtimeType(value_dashGap_value_0_left) - valueSerializer.writeInt8(value_dashGap_value_0_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dashGap_value_0_left_type)) { - const value_dashGap_value_0_left_value = value_dashGap_value_0_left! - let value_dashGap_value_0_left_value_type : int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_left_value_type = runtimeType(value_dashGap_value_0_left_value) - if (RuntimeType.STRING == value_dashGap_value_0_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_dashGap_value_0_left_value_0 = value_dashGap_value_0_left_value as string - valueSerializer.writeString(value_dashGap_value_0_left_value_0) - } - else if (RuntimeType.NUMBER == value_dashGap_value_0_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_dashGap_value_0_left_value_1 = value_dashGap_value_0_left_value as number - valueSerializer.writeNumber(value_dashGap_value_0_left_value_1) - } - else if (RuntimeType.OBJECT == value_dashGap_value_0_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_dashGap_value_0_left_value_2 = value_dashGap_value_0_left_value as Resource - valueSerializer.writeResource(value_dashGap_value_0_left_value_2) - } - } + } + public writePixelStretchEffectOptions(value: PixelStretchEffectOptions): void { + let valueSerializer : Serializer = this + const value_top = value.top + let value_top_type : int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type : int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.STRING == value_top_value_type) { + valueSerializer.writeInt8(0) + const value_top_value_0 = value_top_value as string + valueSerializer.writeString(value_top_value_0) } - else if (TypeChecker.isLengthMetrics(value_dashGap_value, false, false)) { - valueSerializer.writeInt8(1 as int32) - const value_dashGap_value_1 = value_dashGap_value as LengthMetrics - valueSerializer.writeLengthMetrics(value_dashGap_value_1) + else if (RuntimeType.NUMBER == value_top_value_type) { + valueSerializer.writeInt8(1) + const value_top_value_1 = value_top_value as number + valueSerializer.writeNumber(value_top_value_1) } - else if (TypeChecker.isLocalizedEdgeWidths(value_dashGap_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_dashGap_value_2 = value_dashGap_value as LocalizedEdgeWidths - valueSerializer.writeLocalizedEdgeWidths(value_dashGap_value_2) + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(2) + const value_top_value_2 = value_top_value as Resource + valueSerializer.writeResource(value_top_value_2) } } - const value_dashWidth = value.dashWidth - let value_dashWidth_type : int32 = RuntimeType.UNDEFINED - value_dashWidth_type = runtimeType(value_dashWidth) - valueSerializer.writeInt8(value_dashWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dashWidth_type)) { - const value_dashWidth_value = value_dashWidth! - let value_dashWidth_value_type : int32 = RuntimeType.UNDEFINED - value_dashWidth_value_type = runtimeType(value_dashWidth_value) - if (((RuntimeType.OBJECT) == (value_dashWidth_value_type)) && (TypeChecker.isEdgeWidths(value_dashWidth_value, true, false, true, false))) { - valueSerializer.writeInt8(0 as int32) - const value_dashWidth_value_0 = value_dashWidth_value as EdgeWidths - const value_dashWidth_value_0_top = value_dashWidth_value_0.top - let value_dashWidth_value_0_top_type : int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_top_type = runtimeType(value_dashWidth_value_0_top) - valueSerializer.writeInt8(value_dashWidth_value_0_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dashWidth_value_0_top_type)) { - const value_dashWidth_value_0_top_value = value_dashWidth_value_0_top! - let value_dashWidth_value_0_top_value_type : int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_top_value_type = runtimeType(value_dashWidth_value_0_top_value) - if (RuntimeType.STRING == value_dashWidth_value_0_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_dashWidth_value_0_top_value_0 = value_dashWidth_value_0_top_value as string - valueSerializer.writeString(value_dashWidth_value_0_top_value_0) - } - else if (RuntimeType.NUMBER == value_dashWidth_value_0_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_dashWidth_value_0_top_value_1 = value_dashWidth_value_0_top_value as number - valueSerializer.writeNumber(value_dashWidth_value_0_top_value_1) - } - else if (RuntimeType.OBJECT == value_dashWidth_value_0_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_dashWidth_value_0_top_value_2 = value_dashWidth_value_0_top_value as Resource - valueSerializer.writeResource(value_dashWidth_value_0_top_value_2) - } - } - const value_dashWidth_value_0_right = value_dashWidth_value_0.right - let value_dashWidth_value_0_right_type : int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_right_type = runtimeType(value_dashWidth_value_0_right) - valueSerializer.writeInt8(value_dashWidth_value_0_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dashWidth_value_0_right_type)) { - const value_dashWidth_value_0_right_value = value_dashWidth_value_0_right! - let value_dashWidth_value_0_right_value_type : int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_right_value_type = runtimeType(value_dashWidth_value_0_right_value) - if (RuntimeType.STRING == value_dashWidth_value_0_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_dashWidth_value_0_right_value_0 = value_dashWidth_value_0_right_value as string - valueSerializer.writeString(value_dashWidth_value_0_right_value_0) - } - else if (RuntimeType.NUMBER == value_dashWidth_value_0_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_dashWidth_value_0_right_value_1 = value_dashWidth_value_0_right_value as number - valueSerializer.writeNumber(value_dashWidth_value_0_right_value_1) - } - else if (RuntimeType.OBJECT == value_dashWidth_value_0_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_dashWidth_value_0_right_value_2 = value_dashWidth_value_0_right_value as Resource - valueSerializer.writeResource(value_dashWidth_value_0_right_value_2) - } - } - const value_dashWidth_value_0_bottom = value_dashWidth_value_0.bottom - let value_dashWidth_value_0_bottom_type : int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_bottom_type = runtimeType(value_dashWidth_value_0_bottom) - valueSerializer.writeInt8(value_dashWidth_value_0_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dashWidth_value_0_bottom_type)) { - const value_dashWidth_value_0_bottom_value = value_dashWidth_value_0_bottom! - let value_dashWidth_value_0_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_bottom_value_type = runtimeType(value_dashWidth_value_0_bottom_value) - if (RuntimeType.STRING == value_dashWidth_value_0_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_dashWidth_value_0_bottom_value_0 = value_dashWidth_value_0_bottom_value as string - valueSerializer.writeString(value_dashWidth_value_0_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_dashWidth_value_0_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_dashWidth_value_0_bottom_value_1 = value_dashWidth_value_0_bottom_value as number - valueSerializer.writeNumber(value_dashWidth_value_0_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_dashWidth_value_0_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_dashWidth_value_0_bottom_value_2 = value_dashWidth_value_0_bottom_value as Resource - valueSerializer.writeResource(value_dashWidth_value_0_bottom_value_2) - } - } - const value_dashWidth_value_0_left = value_dashWidth_value_0.left - let value_dashWidth_value_0_left_type : int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_left_type = runtimeType(value_dashWidth_value_0_left) - valueSerializer.writeInt8(value_dashWidth_value_0_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dashWidth_value_0_left_type)) { - const value_dashWidth_value_0_left_value = value_dashWidth_value_0_left! - let value_dashWidth_value_0_left_value_type : int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_left_value_type = runtimeType(value_dashWidth_value_0_left_value) - if (RuntimeType.STRING == value_dashWidth_value_0_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_dashWidth_value_0_left_value_0 = value_dashWidth_value_0_left_value as string - valueSerializer.writeString(value_dashWidth_value_0_left_value_0) - } - else if (RuntimeType.NUMBER == value_dashWidth_value_0_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_dashWidth_value_0_left_value_1 = value_dashWidth_value_0_left_value as number - valueSerializer.writeNumber(value_dashWidth_value_0_left_value_1) - } - else if (RuntimeType.OBJECT == value_dashWidth_value_0_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_dashWidth_value_0_left_value_2 = value_dashWidth_value_0_left_value as Resource - valueSerializer.writeResource(value_dashWidth_value_0_left_value_2) - } - } + const value_bottom = value.bottom + let value_bottom_type : int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type : int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (RuntimeType.STRING == value_bottom_value_type) { + valueSerializer.writeInt8(0) + const value_bottom_value_0 = value_bottom_value as string + valueSerializer.writeString(value_bottom_value_0) } - else if (TypeChecker.isLengthMetrics(value_dashWidth_value, false, false)) { - valueSerializer.writeInt8(1 as int32) - const value_dashWidth_value_1 = value_dashWidth_value as LengthMetrics - valueSerializer.writeLengthMetrics(value_dashWidth_value_1) + else if (RuntimeType.NUMBER == value_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_bottom_value_1 = value_bottom_value as number + valueSerializer.writeNumber(value_bottom_value_1) } - else if (TypeChecker.isLocalizedEdgeWidths(value_dashWidth_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_dashWidth_value_2 = value_dashWidth_value as LocalizedEdgeWidths - valueSerializer.writeLocalizedEdgeWidths(value_dashWidth_value_2) + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = value_bottom_value as Resource + valueSerializer.writeResource(value_bottom_value_2) } } - } - writeButtonStyle(value: ButtonStyle): void { - let valueSerializer : Serializer = this const value_left = value.left let value_left_type : int32 = RuntimeType.UNDEFINED value_left_type = runtimeType(value_left) - valueSerializer.writeInt8(value_left_type as int32) + valueSerializer.writeInt8(value_left_type) if ((RuntimeType.UNDEFINED) != (value_left_type)) { const value_left_value = value_left! - valueSerializer.writeNumber(value_left_value) - } - const value_top = value.top - let value_top_type : int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - valueSerializer.writeNumber(value_top_value) - } - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - valueSerializer.writeNumber(value_width_value) - } - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - valueSerializer.writeNumber(value_height_value) + let value_left_value_type : int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.STRING == value_left_value_type) { + valueSerializer.writeInt8(0) + const value_left_value_0 = value_left_value as string + valueSerializer.writeString(value_left_value_0) + } + else if (RuntimeType.NUMBER == value_left_value_type) { + valueSerializer.writeInt8(1) + const value_left_value_1 = value_left_value as number + valueSerializer.writeNumber(value_left_value_1) + } + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = value_left_value as Resource + valueSerializer.writeResource(value_left_value_2) + } } - const value_icons = value.icons - let value_icons_type : int32 = RuntimeType.UNDEFINED - value_icons_type = runtimeType(value_icons) - valueSerializer.writeInt8(value_icons_type as int32) - if ((RuntimeType.UNDEFINED) != (value_icons_type)) { - const value_icons_value = value_icons! - valueSerializer.writeButtonIconOptions(value_icons_value) + const value_right = value.right + let value_right_type : int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type : int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (RuntimeType.STRING == value_right_value_type) { + valueSerializer.writeInt8(0) + const value_right_value_0 = value_right_value as string + valueSerializer.writeString(value_right_value_0) + } + else if (RuntimeType.NUMBER == value_right_value_type) { + valueSerializer.writeInt8(1) + const value_right_value_1 = value_right_value as number + valueSerializer.writeNumber(value_right_value_1) + } + else if (RuntimeType.OBJECT == value_right_value_type) { + valueSerializer.writeInt8(2) + const value_right_value_2 = value_right_value as Resource + valueSerializer.writeResource(value_right_value_2) + } } } - writeCancelButtonOptions(value: CancelButtonOptions): void { + public writePointLightStyle(value: PointLightStyle): void { let valueSerializer : Serializer = this - const value_style = value.style - let value_style_type : int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = (value_style as CancelButtonStyle) - valueSerializer.writeInt32(TypeChecker.CancelButtonStyle_ToNumeric(value_style_value)) + const value_lightSource = value.lightSource + let value_lightSource_type : int32 = RuntimeType.UNDEFINED + value_lightSource_type = runtimeType(value_lightSource) + valueSerializer.writeInt8(value_lightSource_type) + if ((RuntimeType.UNDEFINED) != (value_lightSource_type)) { + const value_lightSource_value = value_lightSource! + valueSerializer.writeLightSource(value_lightSource_value) } - const value_icon = value.icon - let value_icon_type : int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type as int32) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - valueSerializer.writeIconOptions(value_icon_value) + const value_illuminated = value.illuminated + let value_illuminated_type : int32 = RuntimeType.UNDEFINED + value_illuminated_type = runtimeType(value_illuminated) + valueSerializer.writeInt8(value_illuminated_type) + if ((RuntimeType.UNDEFINED) != (value_illuminated_type)) { + const value_illuminated_value = (value_illuminated as IlluminatedType) + valueSerializer.writeInt32(TypeChecker.IlluminatedType_ToNumeric(value_illuminated_value)) + } + const value_bloom = value.bloom + let value_bloom_type : int32 = RuntimeType.UNDEFINED + value_bloom_type = runtimeType(value_bloom) + valueSerializer.writeInt8(value_bloom_type) + if ((RuntimeType.UNDEFINED) != (value_bloom_type)) { + const value_bloom_value = value_bloom! + valueSerializer.writeNumber(value_bloom_value) } } - writeCapsuleStyleOptions(value: CapsuleStyleOptions): void { + public writePosition(value: Position): void { let valueSerializer : Serializer = this - const value_enableScanEffect = value.enableScanEffect - let value_enableScanEffect_type : int32 = RuntimeType.UNDEFINED - value_enableScanEffect_type = runtimeType(value_enableScanEffect) - valueSerializer.writeInt8(value_enableScanEffect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableScanEffect_type)) { - const value_enableScanEffect_value = value_enableScanEffect! - valueSerializer.writeBoolean(value_enableScanEffect_value) - } - const value_borderColor = value.borderColor - let value_borderColor_type : int32 = RuntimeType.UNDEFINED - value_borderColor_type = runtimeType(value_borderColor) - valueSerializer.writeInt8(value_borderColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { - const value_borderColor_value = value_borderColor! - let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_type = runtimeType(value_borderColor_value) - if (TypeChecker.isColor(value_borderColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0 = value_borderColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1 = value_borderColor_value as number - valueSerializer.writeNumber(value_borderColor_value_1) + const value_x = value.x + let value_x_type : int32 = RuntimeType.UNDEFINED + value_x_type = runtimeType(value_x) + valueSerializer.writeInt8(value_x_type) + if ((RuntimeType.UNDEFINED) != (value_x_type)) { + const value_x_value = value_x! + let value_x_value_type : int32 = RuntimeType.UNDEFINED + value_x_value_type = runtimeType(value_x_value) + if (RuntimeType.STRING == value_x_value_type) { + valueSerializer.writeInt8(0) + const value_x_value_0 = value_x_value as string + valueSerializer.writeString(value_x_value_0) } - else if (RuntimeType.STRING == value_borderColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_2 = value_borderColor_value as string - valueSerializer.writeString(value_borderColor_value_2) + else if (RuntimeType.NUMBER == value_x_value_type) { + valueSerializer.writeInt8(1) + const value_x_value_1 = value_x_value as number + valueSerializer.writeNumber(value_x_value_1) } - else if (RuntimeType.OBJECT == value_borderColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_3 = value_borderColor_value as Resource - valueSerializer.writeResource(value_borderColor_value_3) + else if (RuntimeType.OBJECT == value_x_value_type) { + valueSerializer.writeInt8(2) + const value_x_value_2 = value_x_value as Resource + valueSerializer.writeResource(value_x_value_2) } } - const value_borderWidth = value.borderWidth - let value_borderWidth_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_type = runtimeType(value_borderWidth) - valueSerializer.writeInt8(value_borderWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { - const value_borderWidth_value = value_borderWidth! - let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_type = runtimeType(value_borderWidth_value) - if (RuntimeType.STRING == value_borderWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0 = value_borderWidth_value as string - valueSerializer.writeString(value_borderWidth_value_0) + const value_y = value.y + let value_y_type : int32 = RuntimeType.UNDEFINED + value_y_type = runtimeType(value_y) + valueSerializer.writeInt8(value_y_type) + if ((RuntimeType.UNDEFINED) != (value_y_type)) { + const value_y_value = value_y! + let value_y_value_type : int32 = RuntimeType.UNDEFINED + value_y_value_type = runtimeType(value_y_value) + if (RuntimeType.STRING == value_y_value_type) { + valueSerializer.writeInt8(0) + const value_y_value_0 = value_y_value as string + valueSerializer.writeString(value_y_value_0) } - else if (RuntimeType.NUMBER == value_borderWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1 = value_borderWidth_value as number - valueSerializer.writeNumber(value_borderWidth_value_1) + else if (RuntimeType.NUMBER == value_y_value_type) { + valueSerializer.writeInt8(1) + const value_y_value_1 = value_y_value as number + valueSerializer.writeNumber(value_y_value_1) } - else if (RuntimeType.OBJECT == value_borderWidth_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_2 = value_borderWidth_value as Resource - valueSerializer.writeResource(value_borderWidth_value_2) + else if (RuntimeType.OBJECT == value_y_value_type) { + valueSerializer.writeInt8(2) + const value_y_value_2 = value_y_value as Resource + valueSerializer.writeResource(value_y_value_2) } } - const value_content = value.content - let value_content_type : int32 = RuntimeType.UNDEFINED - value_content_type = runtimeType(value_content) - valueSerializer.writeInt8(value_content_type as int32) - if ((RuntimeType.UNDEFINED) != (value_content_type)) { - const value_content_value = value_content! - valueSerializer.writeString(value_content_value) - } - const value_font = value.font - let value_font_type : int32 = RuntimeType.UNDEFINED - value_font_type = runtimeType(value_font) - valueSerializer.writeInt8(value_font_type as int32) - if ((RuntimeType.UNDEFINED) != (value_font_type)) { - const value_font_value = value_font! - valueSerializer.writeFont(value_font_value) + } + public writeProgressStyleOptions(value: ProgressStyleOptions): void { + let valueSerializer : Serializer = this + const value_enableSmoothEffect = value.enableSmoothEffect + let value_enableSmoothEffect_type : int32 = RuntimeType.UNDEFINED + value_enableSmoothEffect_type = runtimeType(value_enableSmoothEffect) + valueSerializer.writeInt8(value_enableSmoothEffect_type) + if ((RuntimeType.UNDEFINED) != (value_enableSmoothEffect_type)) { + const value_enableSmoothEffect_value = value_enableSmoothEffect! + valueSerializer.writeBoolean(value_enableSmoothEffect_value) } - const value_fontColor = value.fontColor - let value_fontColor_type : int32 = RuntimeType.UNDEFINED - value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { - const value_fontColor_value = value_fontColor! - let value_fontColor_value_type : int32 = RuntimeType.UNDEFINED - value_fontColor_value_type = runtimeType(value_fontColor_value) - if (TypeChecker.isColor(value_fontColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontColor_value_0 = value_fontColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_0)) - } - else if (RuntimeType.NUMBER == value_fontColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontColor_value_1 = value_fontColor_value as number - valueSerializer.writeNumber(value_fontColor_value_1) + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + let value_strokeWidth_value_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) + if (RuntimeType.STRING == value_strokeWidth_value_type) { + valueSerializer.writeInt8(0) + const value_strokeWidth_value_0 = value_strokeWidth_value as string + valueSerializer.writeString(value_strokeWidth_value_0) } - else if (RuntimeType.STRING == value_fontColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontColor_value_2 = value_fontColor_value as string - valueSerializer.writeString(value_fontColor_value_2) + else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { + valueSerializer.writeInt8(1) + const value_strokeWidth_value_1 = value_strokeWidth_value as number + valueSerializer.writeNumber(value_strokeWidth_value_1) } - else if (RuntimeType.OBJECT == value_fontColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontColor_value_3 = value_fontColor_value as Resource - valueSerializer.writeResource(value_fontColor_value_3) + else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_value_2 = value_strokeWidth_value as Resource + valueSerializer.writeResource(value_strokeWidth_value_2) } } - const value_showDefaultPercentage = value.showDefaultPercentage - let value_showDefaultPercentage_type : int32 = RuntimeType.UNDEFINED - value_showDefaultPercentage_type = runtimeType(value_showDefaultPercentage) - valueSerializer.writeInt8(value_showDefaultPercentage_type as int32) - if ((RuntimeType.UNDEFINED) != (value_showDefaultPercentage_type)) { - const value_showDefaultPercentage_value = value_showDefaultPercentage! - valueSerializer.writeBoolean(value_showDefaultPercentage_value) + const value_scaleCount = value.scaleCount + let value_scaleCount_type : int32 = RuntimeType.UNDEFINED + value_scaleCount_type = runtimeType(value_scaleCount) + valueSerializer.writeInt8(value_scaleCount_type) + if ((RuntimeType.UNDEFINED) != (value_scaleCount_type)) { + const value_scaleCount_value = value_scaleCount! + valueSerializer.writeNumber(value_scaleCount_value) + } + const value_scaleWidth = value.scaleWidth + let value_scaleWidth_type : int32 = RuntimeType.UNDEFINED + value_scaleWidth_type = runtimeType(value_scaleWidth) + valueSerializer.writeInt8(value_scaleWidth_type) + if ((RuntimeType.UNDEFINED) != (value_scaleWidth_type)) { + const value_scaleWidth_value = value_scaleWidth! + let value_scaleWidth_value_type : int32 = RuntimeType.UNDEFINED + value_scaleWidth_value_type = runtimeType(value_scaleWidth_value) + if (RuntimeType.STRING == value_scaleWidth_value_type) { + valueSerializer.writeInt8(0) + const value_scaleWidth_value_0 = value_scaleWidth_value as string + valueSerializer.writeString(value_scaleWidth_value_0) + } + else if (RuntimeType.NUMBER == value_scaleWidth_value_type) { + valueSerializer.writeInt8(1) + const value_scaleWidth_value_1 = value_scaleWidth_value as number + valueSerializer.writeNumber(value_scaleWidth_value_1) + } + else if (RuntimeType.OBJECT == value_scaleWidth_value_type) { + valueSerializer.writeInt8(2) + const value_scaleWidth_value_2 = value_scaleWidth_value as Resource + valueSerializer.writeResource(value_scaleWidth_value_2) + } } } - writeContextMenuOptions(value: ContextMenuOptions): void { + public writeRadialGradientOptions(value: RadialGradientOptions): void { let valueSerializer : Serializer = this - const value_offset = value.offset - let value_offset_type : int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - valueSerializer.writePosition(value_offset_value) + const value_center = value.center + const value_center_0 = value_center[0] + let value_center_0_type : int32 = RuntimeType.UNDEFINED + value_center_0_type = runtimeType(value_center_0) + if (RuntimeType.STRING == value_center_0_type) { + valueSerializer.writeInt8(0) + const value_center_0_0 = value_center_0 as string + valueSerializer.writeString(value_center_0_0) + } + else if (RuntimeType.NUMBER == value_center_0_type) { + valueSerializer.writeInt8(1) + const value_center_0_1 = value_center_0 as number + valueSerializer.writeNumber(value_center_0_1) + } + else if (RuntimeType.OBJECT == value_center_0_type) { + valueSerializer.writeInt8(2) + const value_center_0_2 = value_center_0 as Resource + valueSerializer.writeResource(value_center_0_2) + } + const value_center_1 = value_center[1] + let value_center_1_type : int32 = RuntimeType.UNDEFINED + value_center_1_type = runtimeType(value_center_1) + if (RuntimeType.STRING == value_center_1_type) { + valueSerializer.writeInt8(0) + const value_center_1_0 = value_center_1 as string + valueSerializer.writeString(value_center_1_0) + } + else if (RuntimeType.NUMBER == value_center_1_type) { + valueSerializer.writeInt8(1) + const value_center_1_1 = value_center_1 as number + valueSerializer.writeNumber(value_center_1_1) + } + else if (RuntimeType.OBJECT == value_center_1_type) { + valueSerializer.writeInt8(2) + const value_center_1_2 = value_center_1 as Resource + valueSerializer.writeResource(value_center_1_2) } - const value_placement = value.placement - let value_placement_type : int32 = RuntimeType.UNDEFINED - value_placement_type = runtimeType(value_placement) - valueSerializer.writeInt8(value_placement_type as int32) - if ((RuntimeType.UNDEFINED) != (value_placement_type)) { - const value_placement_value = (value_placement as Placement) - valueSerializer.writeInt32(TypeChecker.Placement_ToNumeric(value_placement_value)) + const value_radius = value.radius + let value_radius_type : int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + if (RuntimeType.STRING == value_radius_type) { + valueSerializer.writeInt8(0) + const value_radius_0 = value_radius as string + valueSerializer.writeString(value_radius_0) } - const value_enableArrow = value.enableArrow - let value_enableArrow_type : int32 = RuntimeType.UNDEFINED - value_enableArrow_type = runtimeType(value_enableArrow) - valueSerializer.writeInt8(value_enableArrow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableArrow_type)) { - const value_enableArrow_value = value_enableArrow! - valueSerializer.writeBoolean(value_enableArrow_value) + else if (RuntimeType.NUMBER == value_radius_type) { + valueSerializer.writeInt8(1) + const value_radius_1 = value_radius as number + valueSerializer.writeNumber(value_radius_1) } - const value_arrowOffset = value.arrowOffset - let value_arrowOffset_type : int32 = RuntimeType.UNDEFINED - value_arrowOffset_type = runtimeType(value_arrowOffset) - valueSerializer.writeInt8(value_arrowOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_arrowOffset_type)) { - const value_arrowOffset_value = value_arrowOffset! - let value_arrowOffset_value_type : int32 = RuntimeType.UNDEFINED - value_arrowOffset_value_type = runtimeType(value_arrowOffset_value) - if (RuntimeType.STRING == value_arrowOffset_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_arrowOffset_value_0 = value_arrowOffset_value as string - valueSerializer.writeString(value_arrowOffset_value_0) + else if (RuntimeType.OBJECT == value_radius_type) { + valueSerializer.writeInt8(2) + const value_radius_2 = value_radius as Resource + valueSerializer.writeResource(value_radius_2) + } + const value_colors = value.colors + valueSerializer.writeInt32(value_colors.length as int32) + for (let i = 0; i < value_colors.length; i++) { + const value_colors_element : [ ResourceColor, number ] = value_colors[i] + const value_colors_element_0 = value_colors_element[0] + let value_colors_element_0_type : int32 = RuntimeType.UNDEFINED + value_colors_element_0_type = runtimeType(value_colors_element_0) + if (TypeChecker.isColor(value_colors_element_0)) { + valueSerializer.writeInt8(0) + const value_colors_element_0_0 = value_colors_element_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_colors_element_0_0)) } - else if (RuntimeType.NUMBER == value_arrowOffset_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_arrowOffset_value_1 = value_arrowOffset_value as number - valueSerializer.writeNumber(value_arrowOffset_value_1) + else if (RuntimeType.NUMBER == value_colors_element_0_type) { + valueSerializer.writeInt8(1) + const value_colors_element_0_1 = value_colors_element_0 as number + valueSerializer.writeNumber(value_colors_element_0_1) } - else if (RuntimeType.OBJECT == value_arrowOffset_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_arrowOffset_value_2 = value_arrowOffset_value as Resource - valueSerializer.writeResource(value_arrowOffset_value_2) + else if (RuntimeType.STRING == value_colors_element_0_type) { + valueSerializer.writeInt8(2) + const value_colors_element_0_2 = value_colors_element_0 as string + valueSerializer.writeString(value_colors_element_0_2) + } + else if (RuntimeType.OBJECT == value_colors_element_0_type) { + valueSerializer.writeInt8(3) + const value_colors_element_0_3 = value_colors_element_0 as Resource + valueSerializer.writeResource(value_colors_element_0_3) } + const value_colors_element_1 = value_colors_element[1] + valueSerializer.writeNumber(value_colors_element_1) } - const value_preview = value.preview - let value_preview_type : int32 = RuntimeType.UNDEFINED - value_preview_type = runtimeType(value_preview) - valueSerializer.writeInt8(value_preview_type as int32) - if ((RuntimeType.UNDEFINED) != (value_preview_type)) { - const value_preview_value = value_preview! - let value_preview_value_type : int32 = RuntimeType.UNDEFINED - value_preview_value_type = runtimeType(value_preview_value) - if (TypeChecker.isMenuPreviewMode(value_preview_value)) { - valueSerializer.writeInt8(0 as int32) - const value_preview_value_0 = value_preview_value as MenuPreviewMode - valueSerializer.writeInt32(TypeChecker.MenuPreviewMode_ToNumeric(value_preview_value_0)) + const value_repeating = value.repeating + let value_repeating_type : int32 = RuntimeType.UNDEFINED + value_repeating_type = runtimeType(value_repeating) + valueSerializer.writeInt8(value_repeating_type) + if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { + const value_repeating_value = value_repeating! + valueSerializer.writeBoolean(value_repeating_value) + } + } + public writeRectangle(value: Rectangle): void { + let valueSerializer : Serializer = this + const value_x = value.x + let value_x_type : int32 = RuntimeType.UNDEFINED + value_x_type = runtimeType(value_x) + valueSerializer.writeInt8(value_x_type) + if ((RuntimeType.UNDEFINED) != (value_x_type)) { + const value_x_value = value_x! + let value_x_value_type : int32 = RuntimeType.UNDEFINED + value_x_value_type = runtimeType(value_x_value) + if (RuntimeType.STRING == value_x_value_type) { + valueSerializer.writeInt8(0) + const value_x_value_0 = value_x_value as string + valueSerializer.writeString(value_x_value_0) } - else if (RuntimeType.FUNCTION == value_preview_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_preview_value_1 = value_preview_value as CustomBuilder - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_preview_value_1)) + else if (RuntimeType.NUMBER == value_x_value_type) { + valueSerializer.writeInt8(1) + const value_x_value_1 = value_x_value as number + valueSerializer.writeNumber(value_x_value_1) } - } - const value_borderRadius = value.borderRadius - let value_borderRadius_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_type = runtimeType(value_borderRadius) - valueSerializer.writeInt8(value_borderRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { - const value_borderRadius_value = value_borderRadius! - let value_borderRadius_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_type = runtimeType(value_borderRadius_value) - if ((RuntimeType.STRING == value_borderRadius_value_type) || (RuntimeType.NUMBER == value_borderRadius_value_type) || (RuntimeType.OBJECT == value_borderRadius_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_0 = value_borderRadius_value as Length - let value_borderRadius_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_0_type = runtimeType(value_borderRadius_value_0) - if (RuntimeType.STRING == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_0_0 = value_borderRadius_value_0 as string - valueSerializer.writeString(value_borderRadius_value_0_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_0_1 = value_borderRadius_value_0 as number - valueSerializer.writeNumber(value_borderRadius_value_0_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_0_2 = value_borderRadius_value_0 as Resource - valueSerializer.writeResource(value_borderRadius_value_0_2) - } + else if (RuntimeType.OBJECT == value_x_value_type) { + valueSerializer.writeInt8(2) + const value_x_value_2 = value_x_value as Resource + valueSerializer.writeResource(value_x_value_2) } - else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (TypeChecker.isBorderRadiuses(value_borderRadius_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1 = value_borderRadius_value as BorderRadiuses - const value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft - let value_borderRadius_value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft! - let value_borderRadius_value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_value_type = runtimeType(value_borderRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_topLeft_value_0 = value_borderRadius_value_1_topLeft_value as string - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_topLeft_value_1 = value_borderRadius_value_1_topLeft_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_topLeft_value_2 = value_borderRadius_value_1_topLeft_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2) - } - } - const value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight - let value_borderRadius_value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight) - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight! - let value_borderRadius_value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_value_type = runtimeType(value_borderRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_topRight_value_0 = value_borderRadius_value_1_topRight_value as string - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_topRight_value_1 = value_borderRadius_value_1_topRight_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_topRight_value_2 = value_borderRadius_value_1_topRight_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2) - } - } - const value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft - let value_borderRadius_value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft! - let value_borderRadius_value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_value_type = runtimeType(value_borderRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_bottomLeft_value_0 = value_borderRadius_value_1_bottomLeft_value as string - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_bottomLeft_value_1 = value_borderRadius_value_1_bottomLeft_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_bottomLeft_value_2 = value_borderRadius_value_1_bottomLeft_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2) - } - } - const value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight - let value_borderRadius_value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight! - let value_borderRadius_value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_value_type = runtimeType(value_borderRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_bottomRight_value_0 = value_borderRadius_value_1_bottomRight_value as string - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_bottomRight_value_1 = value_borderRadius_value_1_bottomRight_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_bottomRight_value_2 = value_borderRadius_value_1_bottomRight_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2) - } - } + } + const value_y = value.y + let value_y_type : int32 = RuntimeType.UNDEFINED + value_y_type = runtimeType(value_y) + valueSerializer.writeInt8(value_y_type) + if ((RuntimeType.UNDEFINED) != (value_y_type)) { + const value_y_value = value_y! + let value_y_value_type : int32 = RuntimeType.UNDEFINED + value_y_value_type = runtimeType(value_y_value) + if (RuntimeType.STRING == value_y_value_type) { + valueSerializer.writeInt8(0) + const value_y_value_0 = value_y_value as string + valueSerializer.writeString(value_y_value_0) } - else if (TypeChecker.isLocalizedBorderRadiuses(value_borderRadius_value, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_2 = value_borderRadius_value as LocalizedBorderRadiuses - valueSerializer.writeLocalizedBorderRadiuses(value_borderRadius_value_2) + else if (RuntimeType.NUMBER == value_y_value_type) { + valueSerializer.writeInt8(1) + const value_y_value_1 = value_y_value as number + valueSerializer.writeNumber(value_y_value_1) } - } - const value_onAppear = value.onAppear - let value_onAppear_type : int32 = RuntimeType.UNDEFINED - value_onAppear_type = runtimeType(value_onAppear) - valueSerializer.writeInt8(value_onAppear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { - const value_onAppear_value = value_onAppear! - valueSerializer.holdAndWriteCallback(value_onAppear_value) - } - const value_onDisappear = value.onDisappear - let value_onDisappear_type : int32 = RuntimeType.UNDEFINED - value_onDisappear_type = runtimeType(value_onDisappear) - valueSerializer.writeInt8(value_onDisappear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { - const value_onDisappear_value = value_onDisappear! - valueSerializer.holdAndWriteCallback(value_onDisappear_value) - } - const value_aboutToAppear = value.aboutToAppear - let value_aboutToAppear_type : int32 = RuntimeType.UNDEFINED - value_aboutToAppear_type = runtimeType(value_aboutToAppear) - valueSerializer.writeInt8(value_aboutToAppear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_aboutToAppear_type)) { - const value_aboutToAppear_value = value_aboutToAppear! - valueSerializer.holdAndWriteCallback(value_aboutToAppear_value) - } - const value_aboutToDisappear = value.aboutToDisappear - let value_aboutToDisappear_type : int32 = RuntimeType.UNDEFINED - value_aboutToDisappear_type = runtimeType(value_aboutToDisappear) - valueSerializer.writeInt8(value_aboutToDisappear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_aboutToDisappear_type)) { - const value_aboutToDisappear_value = value_aboutToDisappear! - valueSerializer.holdAndWriteCallback(value_aboutToDisappear_value) - } - const value_layoutRegionMargin = value.layoutRegionMargin - let value_layoutRegionMargin_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_type = runtimeType(value_layoutRegionMargin) - valueSerializer.writeInt8(value_layoutRegionMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_type)) { - const value_layoutRegionMargin_value = value_layoutRegionMargin! - const value_layoutRegionMargin_value_top = value_layoutRegionMargin_value.top - let value_layoutRegionMargin_value_top_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_top_type = runtimeType(value_layoutRegionMargin_value_top) - valueSerializer.writeInt8(value_layoutRegionMargin_value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_top_type)) { - const value_layoutRegionMargin_value_top_value = value_layoutRegionMargin_value_top! - let value_layoutRegionMargin_value_top_value_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_top_value_type = runtimeType(value_layoutRegionMargin_value_top_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_layoutRegionMargin_value_top_value_0 = value_layoutRegionMargin_value_top_value as string - valueSerializer.writeString(value_layoutRegionMargin_value_top_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_layoutRegionMargin_value_top_value_1 = value_layoutRegionMargin_value_top_value as number - valueSerializer.writeNumber(value_layoutRegionMargin_value_top_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_layoutRegionMargin_value_top_value_2 = value_layoutRegionMargin_value_top_value as Resource - valueSerializer.writeResource(value_layoutRegionMargin_value_top_value_2) - } + else if (RuntimeType.OBJECT == value_y_value_type) { + valueSerializer.writeInt8(2) + const value_y_value_2 = value_y_value as Resource + valueSerializer.writeResource(value_y_value_2) } - const value_layoutRegionMargin_value_right = value_layoutRegionMargin_value.right - let value_layoutRegionMargin_value_right_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_right_type = runtimeType(value_layoutRegionMargin_value_right) - valueSerializer.writeInt8(value_layoutRegionMargin_value_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_right_type)) { - const value_layoutRegionMargin_value_right_value = value_layoutRegionMargin_value_right! - let value_layoutRegionMargin_value_right_value_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_right_value_type = runtimeType(value_layoutRegionMargin_value_right_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_layoutRegionMargin_value_right_value_0 = value_layoutRegionMargin_value_right_value as string - valueSerializer.writeString(value_layoutRegionMargin_value_right_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_layoutRegionMargin_value_right_value_1 = value_layoutRegionMargin_value_right_value as number - valueSerializer.writeNumber(value_layoutRegionMargin_value_right_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_layoutRegionMargin_value_right_value_2 = value_layoutRegionMargin_value_right_value as Resource - valueSerializer.writeResource(value_layoutRegionMargin_value_right_value_2) - } + } + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as string + valueSerializer.writeString(value_width_value_0) } - const value_layoutRegionMargin_value_bottom = value_layoutRegionMargin_value.bottom - let value_layoutRegionMargin_value_bottom_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_bottom_type = runtimeType(value_layoutRegionMargin_value_bottom) - valueSerializer.writeInt8(value_layoutRegionMargin_value_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_bottom_type)) { - const value_layoutRegionMargin_value_bottom_value = value_layoutRegionMargin_value_bottom! - let value_layoutRegionMargin_value_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_bottom_value_type = runtimeType(value_layoutRegionMargin_value_bottom_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_layoutRegionMargin_value_bottom_value_0 = value_layoutRegionMargin_value_bottom_value as string - valueSerializer.writeString(value_layoutRegionMargin_value_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_layoutRegionMargin_value_bottom_value_1 = value_layoutRegionMargin_value_bottom_value as number - valueSerializer.writeNumber(value_layoutRegionMargin_value_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_layoutRegionMargin_value_bottom_value_2 = value_layoutRegionMargin_value_bottom_value as Resource - valueSerializer.writeResource(value_layoutRegionMargin_value_bottom_value_2) - } + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as number + valueSerializer.writeNumber(value_width_value_1) } - const value_layoutRegionMargin_value_left = value_layoutRegionMargin_value.left - let value_layoutRegionMargin_value_left_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_left_type = runtimeType(value_layoutRegionMargin_value_left) - valueSerializer.writeInt8(value_layoutRegionMargin_value_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_left_type)) { - const value_layoutRegionMargin_value_left_value = value_layoutRegionMargin_value_left! - let value_layoutRegionMargin_value_left_value_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_left_value_type = runtimeType(value_layoutRegionMargin_value_left_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_layoutRegionMargin_value_left_value_0 = value_layoutRegionMargin_value_left_value as string - valueSerializer.writeString(value_layoutRegionMargin_value_left_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_layoutRegionMargin_value_left_value_1 = value_layoutRegionMargin_value_left_value as number - valueSerializer.writeNumber(value_layoutRegionMargin_value_left_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_layoutRegionMargin_value_left_value_2 = value_layoutRegionMargin_value_left_value as Resource - valueSerializer.writeResource(value_layoutRegionMargin_value_left_value_2) - } + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as Resource + valueSerializer.writeResource(value_width_value_2) } } - const value_previewAnimationOptions = value.previewAnimationOptions - let value_previewAnimationOptions_type : int32 = RuntimeType.UNDEFINED - value_previewAnimationOptions_type = runtimeType(value_previewAnimationOptions) - valueSerializer.writeInt8(value_previewAnimationOptions_type as int32) - if ((RuntimeType.UNDEFINED) != (value_previewAnimationOptions_type)) { - const value_previewAnimationOptions_value = value_previewAnimationOptions! - valueSerializer.writeContextMenuAnimationOptions(value_previewAnimationOptions_value) - } - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundColor_value_0 = value_backgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) - } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundColor_value_1 = value_backgroundColor_value as number - valueSerializer.writeNumber(value_backgroundColor_value_1) + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type : int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.STRING == value_height_value_type) { + valueSerializer.writeInt8(0) + const value_height_value_0 = value_height_value as string + valueSerializer.writeString(value_height_value_0) } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundColor_value_2 = value_backgroundColor_value as string - valueSerializer.writeString(value_backgroundColor_value_2) + else if (RuntimeType.NUMBER == value_height_value_type) { + valueSerializer.writeInt8(1) + const value_height_value_1 = value_height_value as number + valueSerializer.writeNumber(value_height_value_1) } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundColor_value_3 = value_backgroundColor_value as Resource - valueSerializer.writeResource(value_backgroundColor_value_3) + else if (RuntimeType.OBJECT == value_height_value_type) { + valueSerializer.writeInt8(2) + const value_height_value_2 = value_height_value as Resource + valueSerializer.writeResource(value_height_value_2) } } - const value_backgroundBlurStyle = value.backgroundBlurStyle - let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { - const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) - valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) - } - const value_transition = value.transition - let value_transition_type : int32 = RuntimeType.UNDEFINED - value_transition_type = runtimeType(value_transition) - valueSerializer.writeInt8(value_transition_type as int32) - if ((RuntimeType.UNDEFINED) != (value_transition_type)) { - const value_transition_value = value_transition! - valueSerializer.writeTransitionEffect(value_transition_value) - } - const value_enableHoverMode = value.enableHoverMode - let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED - value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { - const value_enableHoverMode_value = value_enableHoverMode! - valueSerializer.writeBoolean(value_enableHoverMode_value) - } } - writeCustomDialogControllerOptions(value: CustomDialogControllerOptions): void { + public writeRenderNode(value: RenderNode): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeRichEditorSymbolSpanOptions(value: RichEditorSymbolSpanOptions): void { let valueSerializer : Serializer = this - const value_builder = value.builder - valueSerializer.writeCustomDialogControllerBuilder(value_builder) - const value_cancel = value.cancel - let value_cancel_type : int32 = RuntimeType.UNDEFINED - value_cancel_type = runtimeType(value_cancel) - valueSerializer.writeInt8(value_cancel_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cancel_type)) { - const value_cancel_value = value_cancel! - valueSerializer.holdAndWriteCallback(value_cancel_value) - } - const value_autoCancel = value.autoCancel - let value_autoCancel_type : int32 = RuntimeType.UNDEFINED - value_autoCancel_type = runtimeType(value_autoCancel) - valueSerializer.writeInt8(value_autoCancel_type as int32) - if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { - const value_autoCancel_value = value_autoCancel! - valueSerializer.writeBoolean(value_autoCancel_value) - } - const value_alignment = value.alignment - let value_alignment_type : int32 = RuntimeType.UNDEFINED - value_alignment_type = runtimeType(value_alignment) - valueSerializer.writeInt8(value_alignment_type as int32) - if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { - const value_alignment_value = (value_alignment as DialogAlignment) - valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) - } const value_offset = value.offset let value_offset_type : int32 = RuntimeType.UNDEFINED value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) + valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dx_0 = value_offset_value_dx as string - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dx_1 = value_offset_value_dx as number - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dx_2 = value_offset_value_dx as Resource - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dy_0 = value_offset_value_dy as string - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dy_1 = value_offset_value_dy as number - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dy_2 = value_offset_value_dy as Resource - valueSerializer.writeResource(value_offset_value_dy_2) - } + valueSerializer.writeNumber(value_offset_value) } - const value_customStyle = value.customStyle - let value_customStyle_type : int32 = RuntimeType.UNDEFINED - value_customStyle_type = runtimeType(value_customStyle) - valueSerializer.writeInt8(value_customStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_customStyle_type)) { - const value_customStyle_value = value_customStyle! - valueSerializer.writeBoolean(value_customStyle_value) + const value_style = value.style + let value_style_type : int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = value_style! + valueSerializer.writeRichEditorSymbolSpanStyle(value_style_value) } - const value_gridCount = value.gridCount - let value_gridCount_type : int32 = RuntimeType.UNDEFINED - value_gridCount_type = runtimeType(value_gridCount) - valueSerializer.writeInt8(value_gridCount_type as int32) - if ((RuntimeType.UNDEFINED) != (value_gridCount_type)) { - const value_gridCount_value = value_gridCount! - valueSerializer.writeNumber(value_gridCount_value) + } + public writeRingStyleOptions(value: RingStyleOptions): void { + let valueSerializer : Serializer = this + const value_enableScanEffect = value.enableScanEffect + let value_enableScanEffect_type : int32 = RuntimeType.UNDEFINED + value_enableScanEffect_type = runtimeType(value_enableScanEffect) + valueSerializer.writeInt8(value_enableScanEffect_type) + if ((RuntimeType.UNDEFINED) != (value_enableScanEffect_type)) { + const value_enableScanEffect_value = value_enableScanEffect! + valueSerializer.writeBoolean(value_enableScanEffect_value) } - const value_maskColor = value.maskColor - let value_maskColor_type : int32 = RuntimeType.UNDEFINED - value_maskColor_type = runtimeType(value_maskColor) - valueSerializer.writeInt8(value_maskColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maskColor_type)) { - const value_maskColor_value = value_maskColor! - let value_maskColor_value_type : int32 = RuntimeType.UNDEFINED - value_maskColor_value_type = runtimeType(value_maskColor_value) - if (TypeChecker.isColor(value_maskColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_maskColor_value_0 = value_maskColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_maskColor_value_0)) - } - else if (RuntimeType.NUMBER == value_maskColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_maskColor_value_1 = value_maskColor_value as number - valueSerializer.writeNumber(value_maskColor_value_1) + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + let value_strokeWidth_value_type : int32 = RuntimeType.UNDEFINED + value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) + if (RuntimeType.STRING == value_strokeWidth_value_type) { + valueSerializer.writeInt8(0) + const value_strokeWidth_value_0 = value_strokeWidth_value as string + valueSerializer.writeString(value_strokeWidth_value_0) } - else if (RuntimeType.STRING == value_maskColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_maskColor_value_2 = value_maskColor_value as string - valueSerializer.writeString(value_maskColor_value_2) + else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { + valueSerializer.writeInt8(1) + const value_strokeWidth_value_1 = value_strokeWidth_value as number + valueSerializer.writeNumber(value_strokeWidth_value_1) } - else if (RuntimeType.OBJECT == value_maskColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_maskColor_value_3 = value_maskColor_value as Resource - valueSerializer.writeResource(value_maskColor_value_3) + else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_value_2 = value_strokeWidth_value as Resource + valueSerializer.writeResource(value_strokeWidth_value_2) } } - const value_maskRect = value.maskRect - let value_maskRect_type : int32 = RuntimeType.UNDEFINED - value_maskRect_type = runtimeType(value_maskRect) - valueSerializer.writeInt8(value_maskRect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { - const value_maskRect_value = value_maskRect! - valueSerializer.writeRectangle(value_maskRect_value) - } - const value_openAnimation = value.openAnimation - let value_openAnimation_type : int32 = RuntimeType.UNDEFINED - value_openAnimation_type = runtimeType(value_openAnimation) - valueSerializer.writeInt8(value_openAnimation_type as int32) - if ((RuntimeType.UNDEFINED) != (value_openAnimation_type)) { - const value_openAnimation_value = value_openAnimation! - valueSerializer.writeAnimateParam(value_openAnimation_value) - } - const value_closeAnimation = value.closeAnimation - let value_closeAnimation_type : int32 = RuntimeType.UNDEFINED - value_closeAnimation_type = runtimeType(value_closeAnimation) - valueSerializer.writeInt8(value_closeAnimation_type as int32) - if ((RuntimeType.UNDEFINED) != (value_closeAnimation_type)) { - const value_closeAnimation_value = value_closeAnimation! - valueSerializer.writeAnimateParam(value_closeAnimation_value) + const value_shadow = value.shadow + let value_shadow_type : int32 = RuntimeType.UNDEFINED + value_shadow_type = runtimeType(value_shadow) + valueSerializer.writeInt8(value_shadow_type) + if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { + const value_shadow_value = value_shadow! + valueSerializer.writeBoolean(value_shadow_value) } - const value_showInSubWindow = value.showInSubWindow - let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED - value_showInSubWindow_type = runtimeType(value_showInSubWindow) - valueSerializer.writeInt8(value_showInSubWindow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { - const value_showInSubWindow_value = value_showInSubWindow! - valueSerializer.writeBoolean(value_showInSubWindow_value) + const value_status = value.status + let value_status_type : int32 = RuntimeType.UNDEFINED + value_status_type = runtimeType(value_status) + valueSerializer.writeInt8(value_status_type) + if ((RuntimeType.UNDEFINED) != (value_status_type)) { + const value_status_value = (value_status as ProgressStatus) + valueSerializer.writeInt32(TypeChecker.ProgressStatus_ToNumeric(value_status_value)) } - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundColor_value_0 = value_backgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) - } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundColor_value_1 = value_backgroundColor_value as number - valueSerializer.writeNumber(value_backgroundColor_value_1) + } + public writeScrollableBarModeOptions(value: ScrollableBarModeOptions): void { + let valueSerializer : Serializer = this + const value_margin = value.margin + let value_margin_type : int32 = RuntimeType.UNDEFINED + value_margin_type = runtimeType(value_margin) + valueSerializer.writeInt8(value_margin_type) + if ((RuntimeType.UNDEFINED) != (value_margin_type)) { + const value_margin_value = value_margin! + let value_margin_value_type : int32 = RuntimeType.UNDEFINED + value_margin_value_type = runtimeType(value_margin_value) + if (RuntimeType.STRING == value_margin_value_type) { + valueSerializer.writeInt8(0) + const value_margin_value_0 = value_margin_value as string + valueSerializer.writeString(value_margin_value_0) } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundColor_value_2 = value_backgroundColor_value as string - valueSerializer.writeString(value_backgroundColor_value_2) + else if (RuntimeType.NUMBER == value_margin_value_type) { + valueSerializer.writeInt8(1) + const value_margin_value_1 = value_margin_value as number + valueSerializer.writeNumber(value_margin_value_1) } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundColor_value_3 = value_backgroundColor_value as Resource - valueSerializer.writeResource(value_backgroundColor_value_3) + else if (RuntimeType.OBJECT == value_margin_value_type) { + valueSerializer.writeInt8(2) + const value_margin_value_2 = value_margin_value as Resource + valueSerializer.writeResource(value_margin_value_2) } } - const value_cornerRadius = value.cornerRadius - let value_cornerRadius_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_type = runtimeType(value_cornerRadius) - valueSerializer.writeInt8(value_cornerRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_type)) { - const value_cornerRadius_value = value_cornerRadius! - let value_cornerRadius_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_type = runtimeType(value_cornerRadius_value) - if ((RuntimeType.STRING == value_cornerRadius_value_type) || (RuntimeType.NUMBER == value_cornerRadius_value_type) || (RuntimeType.OBJECT == value_cornerRadius_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_0 = value_cornerRadius_value as Dimension - let value_cornerRadius_value_0_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_0_type = runtimeType(value_cornerRadius_value_0) - if (RuntimeType.STRING == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_0_0 = value_cornerRadius_value_0 as string - valueSerializer.writeString(value_cornerRadius_value_0_0) + const value_nonScrollableLayoutStyle = value.nonScrollableLayoutStyle + let value_nonScrollableLayoutStyle_type : int32 = RuntimeType.UNDEFINED + value_nonScrollableLayoutStyle_type = runtimeType(value_nonScrollableLayoutStyle) + valueSerializer.writeInt8(value_nonScrollableLayoutStyle_type) + if ((RuntimeType.UNDEFINED) != (value_nonScrollableLayoutStyle_type)) { + const value_nonScrollableLayoutStyle_value = (value_nonScrollableLayoutStyle as LayoutStyle) + valueSerializer.writeInt32(TypeChecker.LayoutStyle_ToNumeric(value_nonScrollableLayoutStyle_value)) + } + } + public writeScrollSnapOptions(value: ScrollSnapOptions): void { + let valueSerializer : Serializer = this + const value_snapAlign = value.snapAlign + valueSerializer.writeInt32(TypeChecker.ScrollSnapAlign_ToNumeric(value_snapAlign)) + const value_snapPagination = value.snapPagination + let value_snapPagination_type : int32 = RuntimeType.UNDEFINED + value_snapPagination_type = runtimeType(value_snapPagination) + valueSerializer.writeInt8(value_snapPagination_type) + if ((RuntimeType.UNDEFINED) != (value_snapPagination_type)) { + const value_snapPagination_value = value_snapPagination! + let value_snapPagination_value_type : int32 = RuntimeType.UNDEFINED + value_snapPagination_value_type = runtimeType(value_snapPagination_value) + if ((RuntimeType.STRING == value_snapPagination_value_type) || (RuntimeType.NUMBER == value_snapPagination_value_type) || (RuntimeType.OBJECT == value_snapPagination_value_type)) { + valueSerializer.writeInt8(0) + const value_snapPagination_value_0 = value_snapPagination_value as Dimension + let value_snapPagination_value_0_type : int32 = RuntimeType.UNDEFINED + value_snapPagination_value_0_type = runtimeType(value_snapPagination_value_0) + if (RuntimeType.STRING == value_snapPagination_value_0_type) { + valueSerializer.writeInt8(0) + const value_snapPagination_value_0_0 = value_snapPagination_value_0 as string + valueSerializer.writeString(value_snapPagination_value_0_0) } - else if (RuntimeType.NUMBER == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_0_1 = value_cornerRadius_value_0 as number - valueSerializer.writeNumber(value_cornerRadius_value_0_1) + else if (RuntimeType.NUMBER == value_snapPagination_value_0_type) { + valueSerializer.writeInt8(1) + const value_snapPagination_value_0_1 = value_snapPagination_value_0 as number + valueSerializer.writeNumber(value_snapPagination_value_0_1) } - else if (RuntimeType.OBJECT == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_0_2 = value_cornerRadius_value_0 as Resource - valueSerializer.writeResource(value_cornerRadius_value_0_2) + else if (RuntimeType.OBJECT == value_snapPagination_value_0_type) { + valueSerializer.writeInt8(2) + const value_snapPagination_value_0_2 = value_snapPagination_value_0 as Resource + valueSerializer.writeResource(value_snapPagination_value_0_2) } } - else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (TypeChecker.isBorderRadiuses(value_cornerRadius_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1 = value_cornerRadius_value as BorderRadiuses - const value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft - let value_cornerRadius_value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft! - let value_cornerRadius_value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_value_type = runtimeType(value_cornerRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_topLeft_value_0 = value_cornerRadius_value_1_topLeft_value as string - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_topLeft_value_1 = value_cornerRadius_value_1_topLeft_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_topLeft_value_2 = value_cornerRadius_value_1_topLeft_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2) - } - } - const value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight - let value_cornerRadius_value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight! - let value_cornerRadius_value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_value_type = runtimeType(value_cornerRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_topRight_value_0 = value_cornerRadius_value_1_topRight_value as string - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_topRight_value_1 = value_cornerRadius_value_1_topRight_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_topRight_value_2 = value_cornerRadius_value_1_topRight_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2) - } - } - const value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft - let value_cornerRadius_value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft! - let value_cornerRadius_value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_value_type = runtimeType(value_cornerRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_bottomLeft_value_0 = value_cornerRadius_value_1_bottomLeft_value as string - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_bottomLeft_value_1 = value_cornerRadius_value_1_bottomLeft_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_bottomLeft_value_2 = value_cornerRadius_value_1_bottomLeft_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2) - } - } - const value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight - let value_cornerRadius_value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight! - let value_cornerRadius_value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_value_type = runtimeType(value_cornerRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_cornerRadius_value_1_bottomRight_value_0 = value_cornerRadius_value_1_bottomRight_value as string - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0) + else if (((RuntimeType.OBJECT) == (value_snapPagination_value_type)) && (TypeChecker.isArray_Dimension(value_snapPagination_value))) { + valueSerializer.writeInt8(1) + const value_snapPagination_value_1 = value_snapPagination_value as Array + valueSerializer.writeInt32(value_snapPagination_value_1.length as int32) + for (let i = 0; i < value_snapPagination_value_1.length; i++) { + const value_snapPagination_value_1_element : Dimension = value_snapPagination_value_1[i] + let value_snapPagination_value_1_element_type : int32 = RuntimeType.UNDEFINED + value_snapPagination_value_1_element_type = runtimeType(value_snapPagination_value_1_element) + if (RuntimeType.STRING == value_snapPagination_value_1_element_type) { + valueSerializer.writeInt8(0) + const value_snapPagination_value_1_element_0 = value_snapPagination_value_1_element as string + valueSerializer.writeString(value_snapPagination_value_1_element_0) } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_cornerRadius_value_1_bottomRight_value_1 = value_cornerRadius_value_1_bottomRight_value as number - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1) + else if (RuntimeType.NUMBER == value_snapPagination_value_1_element_type) { + valueSerializer.writeInt8(1) + const value_snapPagination_value_1_element_1 = value_snapPagination_value_1_element as number + valueSerializer.writeNumber(value_snapPagination_value_1_element_1) } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_cornerRadius_value_1_bottomRight_value_2 = value_cornerRadius_value_1_bottomRight_value as Resource - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2) + else if (RuntimeType.OBJECT == value_snapPagination_value_1_element_type) { + valueSerializer.writeInt8(2) + const value_snapPagination_value_1_element_2 = value_snapPagination_value_1_element as Resource + valueSerializer.writeResource(value_snapPagination_value_1_element_2) } } } } - const value_isModal = value.isModal - let value_isModal_type : int32 = RuntimeType.UNDEFINED - value_isModal_type = runtimeType(value_isModal) - valueSerializer.writeInt8(value_isModal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_isModal_type)) { - const value_isModal_value = value_isModal! - valueSerializer.writeBoolean(value_isModal_value) + const value_enableSnapToStart = value.enableSnapToStart + let value_enableSnapToStart_type : int32 = RuntimeType.UNDEFINED + value_enableSnapToStart_type = runtimeType(value_enableSnapToStart) + valueSerializer.writeInt8(value_enableSnapToStart_type) + if ((RuntimeType.UNDEFINED) != (value_enableSnapToStart_type)) { + const value_enableSnapToStart_value = value_enableSnapToStart! + valueSerializer.writeBoolean(value_enableSnapToStart_value) } - const value_onWillDismiss = value.onWillDismiss - let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED - value_onWillDismiss_type = runtimeType(value_onWillDismiss) - valueSerializer.writeInt8(value_onWillDismiss_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { - const value_onWillDismiss_value = value_onWillDismiss! - valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) + const value_enableSnapToEnd = value.enableSnapToEnd + let value_enableSnapToEnd_type : int32 = RuntimeType.UNDEFINED + value_enableSnapToEnd_type = runtimeType(value_enableSnapToEnd) + valueSerializer.writeInt8(value_enableSnapToEnd_type) + if ((RuntimeType.UNDEFINED) != (value_enableSnapToEnd_type)) { + const value_enableSnapToEnd_value = value_enableSnapToEnd! + valueSerializer.writeBoolean(value_enableSnapToEnd_value) } - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as string - valueSerializer.writeString(value_width_value_0) + } + public writeSearchButtonOptions(value: SearchButtonOptions): void { + let valueSerializer : Serializer = this + const value_fontSize = value.fontSize + let value_fontSize_type : int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + let value_fontSize_value_type : int32 = RuntimeType.UNDEFINED + value_fontSize_value_type = runtimeType(value_fontSize_value) + if (RuntimeType.STRING == value_fontSize_value_type) { + valueSerializer.writeInt8(0) + const value_fontSize_value_0 = value_fontSize_value as string + valueSerializer.writeString(value_fontSize_value_0) } - else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as number - valueSerializer.writeNumber(value_width_value_1) + else if (RuntimeType.NUMBER == value_fontSize_value_type) { + valueSerializer.writeInt8(1) + const value_fontSize_value_1 = value_fontSize_value as number + valueSerializer.writeNumber(value_fontSize_value_1) } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as Resource - valueSerializer.writeResource(value_width_value_2) + else if (RuntimeType.OBJECT == value_fontSize_value_type) { + valueSerializer.writeInt8(2) + const value_fontSize_value_2 = value_fontSize_value as Resource + valueSerializer.writeResource(value_fontSize_value_2) } } - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type : int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.STRING == value_height_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_value_0 = value_height_value as string - valueSerializer.writeString(value_height_value_0) + const value_fontColor = value.fontColor + let value_fontColor_type : int32 = RuntimeType.UNDEFINED + value_fontColor_type = runtimeType(value_fontColor) + valueSerializer.writeInt8(value_fontColor_type) + if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { + const value_fontColor_value = value_fontColor! + let value_fontColor_value_type : int32 = RuntimeType.UNDEFINED + value_fontColor_value_type = runtimeType(value_fontColor_value) + if (TypeChecker.isColor(value_fontColor_value)) { + valueSerializer.writeInt8(0) + const value_fontColor_value_0 = value_fontColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_0)) + } + else if (RuntimeType.NUMBER == value_fontColor_value_type) { + valueSerializer.writeInt8(1) + const value_fontColor_value_1 = value_fontColor_value as number + valueSerializer.writeNumber(value_fontColor_value_1) + } + else if (RuntimeType.STRING == value_fontColor_value_type) { + valueSerializer.writeInt8(2) + const value_fontColor_value_2 = value_fontColor_value as string + valueSerializer.writeString(value_fontColor_value_2) + } + else if (RuntimeType.OBJECT == value_fontColor_value_type) { + valueSerializer.writeInt8(3) + const value_fontColor_value_3 = value_fontColor_value as Resource + valueSerializer.writeResource(value_fontColor_value_3) + } + } + const value_autoDisable = value.autoDisable + let value_autoDisable_type : int32 = RuntimeType.UNDEFINED + value_autoDisable_type = runtimeType(value_autoDisable) + valueSerializer.writeInt8(value_autoDisable_type) + if ((RuntimeType.UNDEFINED) != (value_autoDisable_type)) { + const value_autoDisable_value = value_autoDisable! + valueSerializer.writeBoolean(value_autoDisable_value) + } + } + public writeSizeOptions(value: SizeOptions): void { + let valueSerializer : Serializer = this + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as string + valueSerializer.writeString(value_width_value_0) + } + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as number + valueSerializer.writeNumber(value_width_value_1) + } + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as Resource + valueSerializer.writeResource(value_width_value_2) + } + } + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type : int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.STRING == value_height_value_type) { + valueSerializer.writeInt8(0) + const value_height_value_0 = value_height_value as string + valueSerializer.writeString(value_height_value_0) } else if (RuntimeType.NUMBER == value_height_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_height_value_1 = value_height_value as number valueSerializer.writeNumber(value_height_value_1) } else if (RuntimeType.OBJECT == value_height_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_height_value_2 = value_height_value as Resource valueSerializer.writeResource(value_height_value_2) } } - const value_borderWidth = value.borderWidth - let value_borderWidth_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_type = runtimeType(value_borderWidth) - valueSerializer.writeInt8(value_borderWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { - const value_borderWidth_value = value_borderWidth! - let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_type = runtimeType(value_borderWidth_value) - if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0 = value_borderWidth_value as Dimension - let value_borderWidth_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) - if (RuntimeType.STRING == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0_0 = value_borderWidth_value_0 as string - valueSerializer.writeString(value_borderWidth_value_0_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_0_1 = value_borderWidth_value_0 as number - valueSerializer.writeNumber(value_borderWidth_value_0_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_0_2 = value_borderWidth_value_0 as Resource - valueSerializer.writeResource(value_borderWidth_value_0_2) - } + } + public writeSweepGradientOptions(value: SweepGradientOptions): void { + let valueSerializer : Serializer = this + const value_center = value.center + const value_center_0 = value_center[0] + let value_center_0_type : int32 = RuntimeType.UNDEFINED + value_center_0_type = runtimeType(value_center_0) + if (RuntimeType.STRING == value_center_0_type) { + valueSerializer.writeInt8(0) + const value_center_0_0 = value_center_0 as string + valueSerializer.writeString(value_center_0_0) + } + else if (RuntimeType.NUMBER == value_center_0_type) { + valueSerializer.writeInt8(1) + const value_center_0_1 = value_center_0 as number + valueSerializer.writeNumber(value_center_0_1) + } + else if (RuntimeType.OBJECT == value_center_0_type) { + valueSerializer.writeInt8(2) + const value_center_0_2 = value_center_0 as Resource + valueSerializer.writeResource(value_center_0_2) + } + const value_center_1 = value_center[1] + let value_center_1_type : int32 = RuntimeType.UNDEFINED + value_center_1_type = runtimeType(value_center_1) + if (RuntimeType.STRING == value_center_1_type) { + valueSerializer.writeInt8(0) + const value_center_1_0 = value_center_1 as string + valueSerializer.writeString(value_center_1_0) + } + else if (RuntimeType.NUMBER == value_center_1_type) { + valueSerializer.writeInt8(1) + const value_center_1_1 = value_center_1 as number + valueSerializer.writeNumber(value_center_1_1) + } + else if (RuntimeType.OBJECT == value_center_1_type) { + valueSerializer.writeInt8(2) + const value_center_1_2 = value_center_1 as Resource + valueSerializer.writeResource(value_center_1_2) + } + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + let value_start_value_type : int32 = RuntimeType.UNDEFINED + value_start_value_type = runtimeType(value_start_value) + if (RuntimeType.NUMBER == value_start_value_type) { + valueSerializer.writeInt8(0) + const value_start_value_0 = value_start_value as number + valueSerializer.writeNumber(value_start_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (TypeChecker.isEdgeWidths(value_borderWidth_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1 = value_borderWidth_value as EdgeWidths - const value_borderWidth_value_1_top = value_borderWidth_value_1.top - let value_borderWidth_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top) - valueSerializer.writeInt8(value_borderWidth_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const value_borderWidth_value_1_top_value = value_borderWidth_value_1_top! - let value_borderWidth_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_value_type = runtimeType(value_borderWidth_value_1_top_value) - if (RuntimeType.STRING == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_top_value_0 = value_borderWidth_value_1_top_value as string - valueSerializer.writeString(value_borderWidth_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_top_value_1 = value_borderWidth_value_1_top_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_top_value_2 = value_borderWidth_value_1_top_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2) - } - } - const value_borderWidth_value_1_right = value_borderWidth_value_1.right - let value_borderWidth_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right) - valueSerializer.writeInt8(value_borderWidth_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const value_borderWidth_value_1_right_value = value_borderWidth_value_1_right! - let value_borderWidth_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_value_type = runtimeType(value_borderWidth_value_1_right_value) - if (RuntimeType.STRING == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_right_value_0 = value_borderWidth_value_1_right_value as string - valueSerializer.writeString(value_borderWidth_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_right_value_1 = value_borderWidth_value_1_right_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_right_value_2 = value_borderWidth_value_1_right_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2) - } - } - const value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom - let value_borderWidth_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom) - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom! - let value_borderWidth_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_value_type = runtimeType(value_borderWidth_value_1_bottom_value) - if (RuntimeType.STRING == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_bottom_value_0 = value_borderWidth_value_1_bottom_value as string - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_bottom_value_1 = value_borderWidth_value_1_bottom_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_bottom_value_2 = value_borderWidth_value_1_bottom_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2) - } - } - const value_borderWidth_value_1_left = value_borderWidth_value_1.left - let value_borderWidth_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left) - valueSerializer.writeInt8(value_borderWidth_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const value_borderWidth_value_1_left_value = value_borderWidth_value_1_left! - let value_borderWidth_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_value_type = runtimeType(value_borderWidth_value_1_left_value) - if (RuntimeType.STRING == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_left_value_0 = value_borderWidth_value_1_left_value as string - valueSerializer.writeString(value_borderWidth_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_left_value_1 = value_borderWidth_value_1_left_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_left_value_2 = value_borderWidth_value_1_left_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2) - } - } + else if (RuntimeType.STRING == value_start_value_type) { + valueSerializer.writeInt8(1) + const value_start_value_1 = value_start_value as string + valueSerializer.writeString(value_start_value_1) } } - const value_borderColor = value.borderColor - let value_borderColor_type : int32 = RuntimeType.UNDEFINED - value_borderColor_type = runtimeType(value_borderColor) - valueSerializer.writeInt8(value_borderColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { - const value_borderColor_value = value_borderColor! - let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_type = runtimeType(value_borderColor_value) - if ((TypeChecker.isColor(value_borderColor_value)) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0 = value_borderColor_value as ResourceColor - let value_borderColor_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) - if (TypeChecker.isColor(value_borderColor_value_0)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0_0 = value_borderColor_value_0 as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_0_1 = value_borderColor_value_0 as number - valueSerializer.writeNumber(value_borderColor_value_0_1) - } - else if (RuntimeType.STRING == value_borderColor_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_0_2 = value_borderColor_value_0 as string - valueSerializer.writeString(value_borderColor_value_0_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_0_3 = value_borderColor_value_0 as Resource - valueSerializer.writeResource(value_borderColor_value_0_3) - } + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + let value_end_value_type : int32 = RuntimeType.UNDEFINED + value_end_value_type = runtimeType(value_end_value) + if (RuntimeType.NUMBER == value_end_value_type) { + valueSerializer.writeInt8(0) + const value_end_value_0 = value_end_value as number + valueSerializer.writeNumber(value_end_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (TypeChecker.isEdgeColors(value_borderColor_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1 = value_borderColor_value as EdgeColors - const value_borderColor_value_1_top = value_borderColor_value_1.top - let value_borderColor_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top) - valueSerializer.writeInt8(value_borderColor_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_top_type)) { - const value_borderColor_value_1_top_value = value_borderColor_value_1_top! - let value_borderColor_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_value_type = runtimeType(value_borderColor_value_1_top_value) - if (TypeChecker.isColor(value_borderColor_value_1_top_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_top_value_0 = value_borderColor_value_1_top_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_top_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_top_value_1 = value_borderColor_value_1_top_value as number - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_top_value_2 = value_borderColor_value_1_top_value as string - valueSerializer.writeString(value_borderColor_value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_top_value_3 = value_borderColor_value_1_top_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_top_value_3) - } - } - const value_borderColor_value_1_right = value_borderColor_value_1.right - let value_borderColor_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right) - valueSerializer.writeInt8(value_borderColor_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_right_type)) { - const value_borderColor_value_1_right_value = value_borderColor_value_1_right! - let value_borderColor_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_value_type = runtimeType(value_borderColor_value_1_right_value) - if (TypeChecker.isColor(value_borderColor_value_1_right_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_right_value_0 = value_borderColor_value_1_right_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_right_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_right_value_1 = value_borderColor_value_1_right_value as number - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_right_value_2 = value_borderColor_value_1_right_value as string - valueSerializer.writeString(value_borderColor_value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_right_value_3 = value_borderColor_value_1_right_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_right_value_3) - } - } - const value_borderColor_value_1_bottom = value_borderColor_value_1.bottom - let value_borderColor_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom) - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom! - let value_borderColor_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_value_type = runtimeType(value_borderColor_value_1_bottom_value) - if (TypeChecker.isColor(value_borderColor_value_1_bottom_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_bottom_value_0 = value_borderColor_value_1_bottom_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_bottom_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_bottom_value_1 = value_borderColor_value_1_bottom_value as number - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_bottom_value_2 = value_borderColor_value_1_bottom_value as string - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_bottom_value_3 = value_borderColor_value_1_bottom_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3) - } - } - const value_borderColor_value_1_left = value_borderColor_value_1.left - let value_borderColor_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left) - valueSerializer.writeInt8(value_borderColor_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_left_type)) { - const value_borderColor_value_1_left_value = value_borderColor_value_1_left! - let value_borderColor_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_value_type = runtimeType(value_borderColor_value_1_left_value) - if (TypeChecker.isColor(value_borderColor_value_1_left_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_left_value_0 = value_borderColor_value_1_left_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_left_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_left_value_1 = value_borderColor_value_1_left_value as number - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_left_value_2 = value_borderColor_value_1_left_value as string - valueSerializer.writeString(value_borderColor_value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_left_value_3 = value_borderColor_value_1_left_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_left_value_3) - } - } + else if (RuntimeType.STRING == value_end_value_type) { + valueSerializer.writeInt8(1) + const value_end_value_1 = value_end_value as string + valueSerializer.writeString(value_end_value_1) + } + } + const value_rotation = value.rotation + let value_rotation_type : int32 = RuntimeType.UNDEFINED + value_rotation_type = runtimeType(value_rotation) + valueSerializer.writeInt8(value_rotation_type) + if ((RuntimeType.UNDEFINED) != (value_rotation_type)) { + const value_rotation_value = value_rotation! + let value_rotation_value_type : int32 = RuntimeType.UNDEFINED + value_rotation_value_type = runtimeType(value_rotation_value) + if (RuntimeType.NUMBER == value_rotation_value_type) { + valueSerializer.writeInt8(0) + const value_rotation_value_0 = value_rotation_value as number + valueSerializer.writeNumber(value_rotation_value_0) + } + else if (RuntimeType.STRING == value_rotation_value_type) { + valueSerializer.writeInt8(1) + const value_rotation_value_1 = value_rotation_value as string + valueSerializer.writeString(value_rotation_value_1) } } - const value_borderStyle = value.borderStyle - let value_borderStyle_type : int32 = RuntimeType.UNDEFINED - value_borderStyle_type = runtimeType(value_borderStyle) - valueSerializer.writeInt8(value_borderStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { - const value_borderStyle_value = value_borderStyle! - let value_borderStyle_value_type : int32 = RuntimeType.UNDEFINED - value_borderStyle_value_type = runtimeType(value_borderStyle_value) - if (TypeChecker.isBorderStyle(value_borderStyle_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderStyle_value_0 = value_borderStyle_value as BorderStyle - valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_borderStyle_value_0)) + const value_colors = value.colors + valueSerializer.writeInt32(value_colors.length as int32) + for (let i = 0; i < value_colors.length; i++) { + const value_colors_element : [ ResourceColor, number ] = value_colors[i] + const value_colors_element_0 = value_colors_element[0] + let value_colors_element_0_type : int32 = RuntimeType.UNDEFINED + value_colors_element_0_type = runtimeType(value_colors_element_0) + if (TypeChecker.isColor(value_colors_element_0)) { + valueSerializer.writeInt8(0) + const value_colors_element_0_0 = value_colors_element_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_colors_element_0_0)) } - else if (RuntimeType.OBJECT == value_borderStyle_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderStyle_value_1 = value_borderStyle_value as EdgeStyles - valueSerializer.writeEdgeStyles(value_borderStyle_value_1) + else if (RuntimeType.NUMBER == value_colors_element_0_type) { + valueSerializer.writeInt8(1) + const value_colors_element_0_1 = value_colors_element_0 as number + valueSerializer.writeNumber(value_colors_element_0_1) } - } - const value_shadow = value.shadow - let value_shadow_type : int32 = RuntimeType.UNDEFINED - value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { - const value_shadow_value = value_shadow! - let value_shadow_value_type : int32 = RuntimeType.UNDEFINED - value_shadow_value_type = runtimeType(value_shadow_value) - if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_shadow_value_0 = value_shadow_value as ShadowOptions - valueSerializer.writeShadowOptions(value_shadow_value_0) + else if (RuntimeType.STRING == value_colors_element_0_type) { + valueSerializer.writeInt8(2) + const value_colors_element_0_2 = value_colors_element_0 as string + valueSerializer.writeString(value_colors_element_0_2) } - else if (TypeChecker.isShadowStyle(value_shadow_value)) { - valueSerializer.writeInt8(1 as int32) - const value_shadow_value_1 = value_shadow_value as ShadowStyle - valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) + else if (RuntimeType.OBJECT == value_colors_element_0_type) { + valueSerializer.writeInt8(3) + const value_colors_element_0_3 = value_colors_element_0 as Resource + valueSerializer.writeResource(value_colors_element_0_3) } + const value_colors_element_1 = value_colors_element[1] + valueSerializer.writeNumber(value_colors_element_1) } - const value_backgroundBlurStyle = value.backgroundBlurStyle - let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { - const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) - valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) - } - const value_keyboardAvoidMode = value.keyboardAvoidMode - let value_keyboardAvoidMode_type : int32 = RuntimeType.UNDEFINED - value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode) - valueSerializer.writeInt8(value_keyboardAvoidMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_keyboardAvoidMode_type)) { - const value_keyboardAvoidMode_value = (value_keyboardAvoidMode as KeyboardAvoidMode) - valueSerializer.writeInt32(TypeChecker.KeyboardAvoidMode_ToNumeric(value_keyboardAvoidMode_value)) - } - const value_enableHoverMode = value.enableHoverMode - let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED - value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { - const value_enableHoverMode_value = value_enableHoverMode! - valueSerializer.writeBoolean(value_enableHoverMode_value) - } - const value_hoverModeArea = value.hoverModeArea - let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED - value_hoverModeArea_type = runtimeType(value_hoverModeArea) - valueSerializer.writeInt8(value_hoverModeArea_type as int32) - if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { - const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) - valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) + const value_repeating = value.repeating + let value_repeating_type : int32 = RuntimeType.UNDEFINED + value_repeating_type = runtimeType(value_repeating) + valueSerializer.writeInt8(value_repeating_type) + if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { + const value_repeating_value = value_repeating! + valueSerializer.writeBoolean(value_repeating_value) } } - writeCustomPopupOptions(value: CustomPopupOptions): void { + public writeSwipeActionItem(value: SwipeActionItem): void { let valueSerializer : Serializer = this const value_builder = value.builder - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder)) - const value_placement = value.placement - let value_placement_type : int32 = RuntimeType.UNDEFINED - value_placement_type = runtimeType(value_placement) - valueSerializer.writeInt8(value_placement_type as int32) - if ((RuntimeType.UNDEFINED) != (value_placement_type)) { - const value_placement_value = (value_placement as Placement) - valueSerializer.writeInt32(TypeChecker.Placement_ToNumeric(value_placement_value)) + let value_builder_type : int32 = RuntimeType.UNDEFINED + value_builder_type = runtimeType(value_builder) + valueSerializer.writeInt8(value_builder_type) + if ((RuntimeType.UNDEFINED) != (value_builder_type)) { + const value_builder_value = value_builder! + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) } - const value_maskColor = value.maskColor - let value_maskColor_type : int32 = RuntimeType.UNDEFINED - value_maskColor_type = runtimeType(value_maskColor) - valueSerializer.writeInt8(value_maskColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maskColor_type)) { - const value_maskColor_value = value_maskColor! - let value_maskColor_value_type : int32 = RuntimeType.UNDEFINED - value_maskColor_value_type = runtimeType(value_maskColor_value) - if (TypeChecker.isColor(value_maskColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_maskColor_value_0 = value_maskColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_maskColor_value_0)) - } - else if (RuntimeType.STRING == value_maskColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_maskColor_value_1 = value_maskColor_value as string - valueSerializer.writeString(value_maskColor_value_1) - } - else if (RuntimeType.OBJECT == value_maskColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_maskColor_value_2 = value_maskColor_value as Resource - valueSerializer.writeResource(value_maskColor_value_2) - } - else if (RuntimeType.NUMBER == value_maskColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_maskColor_value_3 = value_maskColor_value as number - valueSerializer.writeNumber(value_maskColor_value_3) - } + const value_builderComponent = value.builderComponent + let value_builderComponent_type : int32 = RuntimeType.UNDEFINED + value_builderComponent_type = runtimeType(value_builderComponent) + valueSerializer.writeInt8(value_builderComponent_type) + if ((RuntimeType.UNDEFINED) != (value_builderComponent_type)) { + const value_builderComponent_value = value_builderComponent! + valueSerializer.writeComponentContent(value_builderComponent_value) } - const value_popupColor = value.popupColor - let value_popupColor_type : int32 = RuntimeType.UNDEFINED - value_popupColor_type = runtimeType(value_popupColor) - valueSerializer.writeInt8(value_popupColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_popupColor_type)) { - const value_popupColor_value = value_popupColor! - let value_popupColor_value_type : int32 = RuntimeType.UNDEFINED - value_popupColor_value_type = runtimeType(value_popupColor_value) - if (TypeChecker.isColor(value_popupColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_popupColor_value_0 = value_popupColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_popupColor_value_0)) - } - else if (RuntimeType.STRING == value_popupColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_popupColor_value_1 = value_popupColor_value as string - valueSerializer.writeString(value_popupColor_value_1) + const value_actionAreaDistance = value.actionAreaDistance + let value_actionAreaDistance_type : int32 = RuntimeType.UNDEFINED + value_actionAreaDistance_type = runtimeType(value_actionAreaDistance) + valueSerializer.writeInt8(value_actionAreaDistance_type) + if ((RuntimeType.UNDEFINED) != (value_actionAreaDistance_type)) { + const value_actionAreaDistance_value = value_actionAreaDistance! + let value_actionAreaDistance_value_type : int32 = RuntimeType.UNDEFINED + value_actionAreaDistance_value_type = runtimeType(value_actionAreaDistance_value) + if (RuntimeType.STRING == value_actionAreaDistance_value_type) { + valueSerializer.writeInt8(0) + const value_actionAreaDistance_value_0 = value_actionAreaDistance_value as string + valueSerializer.writeString(value_actionAreaDistance_value_0) } - else if (RuntimeType.OBJECT == value_popupColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_popupColor_value_2 = value_popupColor_value as Resource - valueSerializer.writeResource(value_popupColor_value_2) + else if (RuntimeType.NUMBER == value_actionAreaDistance_value_type) { + valueSerializer.writeInt8(1) + const value_actionAreaDistance_value_1 = value_actionAreaDistance_value as number + valueSerializer.writeNumber(value_actionAreaDistance_value_1) } - else if (RuntimeType.NUMBER == value_popupColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_popupColor_value_3 = value_popupColor_value as number - valueSerializer.writeNumber(value_popupColor_value_3) + else if (RuntimeType.OBJECT == value_actionAreaDistance_value_type) { + valueSerializer.writeInt8(2) + const value_actionAreaDistance_value_2 = value_actionAreaDistance_value as Resource + valueSerializer.writeResource(value_actionAreaDistance_value_2) } } - const value_enableArrow = value.enableArrow - let value_enableArrow_type : int32 = RuntimeType.UNDEFINED - value_enableArrow_type = runtimeType(value_enableArrow) - valueSerializer.writeInt8(value_enableArrow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableArrow_type)) { - const value_enableArrow_value = value_enableArrow! - valueSerializer.writeBoolean(value_enableArrow_value) + const value_onAction = value.onAction + let value_onAction_type : int32 = RuntimeType.UNDEFINED + value_onAction_type = runtimeType(value_onAction) + valueSerializer.writeInt8(value_onAction_type) + if ((RuntimeType.UNDEFINED) != (value_onAction_type)) { + const value_onAction_value = value_onAction! + valueSerializer.holdAndWriteCallback(value_onAction_value) } - const value_autoCancel = value.autoCancel - let value_autoCancel_type : int32 = RuntimeType.UNDEFINED - value_autoCancel_type = runtimeType(value_autoCancel) - valueSerializer.writeInt8(value_autoCancel_type as int32) - if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { - const value_autoCancel_value = value_autoCancel! - valueSerializer.writeBoolean(value_autoCancel_value) + const value_onEnterActionArea = value.onEnterActionArea + let value_onEnterActionArea_type : int32 = RuntimeType.UNDEFINED + value_onEnterActionArea_type = runtimeType(value_onEnterActionArea) + valueSerializer.writeInt8(value_onEnterActionArea_type) + if ((RuntimeType.UNDEFINED) != (value_onEnterActionArea_type)) { + const value_onEnterActionArea_value = value_onEnterActionArea! + valueSerializer.holdAndWriteCallback(value_onEnterActionArea_value) + } + const value_onExitActionArea = value.onExitActionArea + let value_onExitActionArea_type : int32 = RuntimeType.UNDEFINED + value_onExitActionArea_type = runtimeType(value_onExitActionArea) + valueSerializer.writeInt8(value_onExitActionArea_type) + if ((RuntimeType.UNDEFINED) != (value_onExitActionArea_type)) { + const value_onExitActionArea_value = value_onExitActionArea! + valueSerializer.holdAndWriteCallback(value_onExitActionArea_value) } const value_onStateChange = value.onStateChange let value_onStateChange_type : int32 = RuntimeType.UNDEFINED value_onStateChange_type = runtimeType(value_onStateChange) - valueSerializer.writeInt8(value_onStateChange_type as int32) + valueSerializer.writeInt8(value_onStateChange_type) if ((RuntimeType.UNDEFINED) != (value_onStateChange_type)) { const value_onStateChange_value = value_onStateChange! valueSerializer.holdAndWriteCallback(value_onStateChange_value) } - const value_arrowOffset = value.arrowOffset - let value_arrowOffset_type : int32 = RuntimeType.UNDEFINED - value_arrowOffset_type = runtimeType(value_arrowOffset) - valueSerializer.writeInt8(value_arrowOffset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_arrowOffset_type)) { - const value_arrowOffset_value = value_arrowOffset! - let value_arrowOffset_value_type : int32 = RuntimeType.UNDEFINED - value_arrowOffset_value_type = runtimeType(value_arrowOffset_value) - if (RuntimeType.STRING == value_arrowOffset_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_arrowOffset_value_0 = value_arrowOffset_value as string - valueSerializer.writeString(value_arrowOffset_value_0) - } - else if (RuntimeType.NUMBER == value_arrowOffset_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_arrowOffset_value_1 = value_arrowOffset_value as number - valueSerializer.writeNumber(value_arrowOffset_value_1) - } - else if (RuntimeType.OBJECT == value_arrowOffset_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_arrowOffset_value_2 = value_arrowOffset_value as Resource - valueSerializer.writeResource(value_arrowOffset_value_2) - } + } + public writetext_TextStyle(value: text.TextStyle): void { + let valueSerializer : Serializer = this + const value_decoration = value.decoration + let value_decoration_type : int32 = RuntimeType.UNDEFINED + value_decoration_type = runtimeType(value_decoration) + valueSerializer.writeInt8(value_decoration_type) + if ((RuntimeType.UNDEFINED) != (value_decoration_type)) { + const value_decoration_value = value_decoration! + valueSerializer.writeDecoration(value_decoration_value) } - const value_showInSubWindow = value.showInSubWindow - let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED - value_showInSubWindow_type = runtimeType(value_showInSubWindow) - valueSerializer.writeInt8(value_showInSubWindow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { - const value_showInSubWindow_value = value_showInSubWindow! - valueSerializer.writeBoolean(value_showInSubWindow_value) + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + valueSerializer.writecommon2D_Color(value_color_value) } - const value_mask = value.mask - let value_mask_type : int32 = RuntimeType.UNDEFINED - value_mask_type = runtimeType(value_mask) - valueSerializer.writeInt8(value_mask_type as int32) - if ((RuntimeType.UNDEFINED) != (value_mask_type)) { - const value_mask_value = value_mask! - let value_mask_value_type : int32 = RuntimeType.UNDEFINED - value_mask_value_type = runtimeType(value_mask_value) - if (RuntimeType.BOOLEAN == value_mask_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_mask_value_0 = value_mask_value as boolean - valueSerializer.writeBoolean(value_mask_value_0) - } - else if (RuntimeType.OBJECT == value_mask_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_mask_value_1 = value_mask_value as Literal_ResourceColor_color - const value_mask_value_1_color = value_mask_value_1.color - let value_mask_value_1_color_type : int32 = RuntimeType.UNDEFINED - value_mask_value_1_color_type = runtimeType(value_mask_value_1_color) - if (TypeChecker.isColor(value_mask_value_1_color)) { - valueSerializer.writeInt8(0 as int32) - const value_mask_value_1_color_0 = value_mask_value_1_color as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_mask_value_1_color_0)) - } - else if (RuntimeType.NUMBER == value_mask_value_1_color_type) { - valueSerializer.writeInt8(1 as int32) - const value_mask_value_1_color_1 = value_mask_value_1_color as number - valueSerializer.writeNumber(value_mask_value_1_color_1) - } - else if (RuntimeType.STRING == value_mask_value_1_color_type) { - valueSerializer.writeInt8(2 as int32) - const value_mask_value_1_color_2 = value_mask_value_1_color as string - valueSerializer.writeString(value_mask_value_1_color_2) - } - else if (RuntimeType.OBJECT == value_mask_value_1_color_type) { - valueSerializer.writeInt8(3 as int32) - const value_mask_value_1_color_3 = value_mask_value_1_color as Resource - valueSerializer.writeResource(value_mask_value_1_color_3) - } - } + const value_fontWeight = value.fontWeight + let value_fontWeight_type : int32 = RuntimeType.UNDEFINED + value_fontWeight_type = runtimeType(value_fontWeight) + valueSerializer.writeInt8(value_fontWeight_type) + if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { + const value_fontWeight_value = (value_fontWeight as FontWeight) + valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_fontWeight_value)) } - const value_targetSpace = value.targetSpace - let value_targetSpace_type : int32 = RuntimeType.UNDEFINED - value_targetSpace_type = runtimeType(value_targetSpace) - valueSerializer.writeInt8(value_targetSpace_type as int32) - if ((RuntimeType.UNDEFINED) != (value_targetSpace_type)) { - const value_targetSpace_value = value_targetSpace! - let value_targetSpace_value_type : int32 = RuntimeType.UNDEFINED - value_targetSpace_value_type = runtimeType(value_targetSpace_value) - if (RuntimeType.STRING == value_targetSpace_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_targetSpace_value_0 = value_targetSpace_value as string - valueSerializer.writeString(value_targetSpace_value_0) - } - else if (RuntimeType.NUMBER == value_targetSpace_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_targetSpace_value_1 = value_targetSpace_value as number - valueSerializer.writeNumber(value_targetSpace_value_1) - } - else if (RuntimeType.OBJECT == value_targetSpace_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_targetSpace_value_2 = value_targetSpace_value as Resource - valueSerializer.writeResource(value_targetSpace_value_2) - } + const value_fontStyle = value.fontStyle + let value_fontStyle_type : int32 = RuntimeType.UNDEFINED + value_fontStyle_type = runtimeType(value_fontStyle) + valueSerializer.writeInt8(value_fontStyle_type) + if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { + const value_fontStyle_value = (value_fontStyle as FontStyle) + valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_fontStyle_value)) } - const value_offset = value.offset - let value_offset_type : int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - valueSerializer.writePosition(value_offset_value) + const value_baseline = value.baseline + let value_baseline_type : int32 = RuntimeType.UNDEFINED + value_baseline_type = runtimeType(value_baseline) + valueSerializer.writeInt8(value_baseline_type) + if ((RuntimeType.UNDEFINED) != (value_baseline_type)) { + const value_baseline_value = (value_baseline as TextBaseline) + valueSerializer.writeInt32(TypeChecker.TextBaseline_ToNumeric(value_baseline_value)) } - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as string - valueSerializer.writeString(value_width_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as number - valueSerializer.writeNumber(value_width_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as Resource - valueSerializer.writeResource(value_width_value_2) + const value_fontFamilies = value.fontFamilies + let value_fontFamilies_type : int32 = RuntimeType.UNDEFINED + value_fontFamilies_type = runtimeType(value_fontFamilies) + valueSerializer.writeInt8(value_fontFamilies_type) + if ((RuntimeType.UNDEFINED) != (value_fontFamilies_type)) { + const value_fontFamilies_value = value_fontFamilies! + valueSerializer.writeInt32(value_fontFamilies_value.length as int32) + for (let i = 0; i < value_fontFamilies_value.length; i++) { + const value_fontFamilies_value_element : string = value_fontFamilies_value[i] + valueSerializer.writeString(value_fontFamilies_value_element) } } - const value_arrowPointPosition = value.arrowPointPosition - let value_arrowPointPosition_type : int32 = RuntimeType.UNDEFINED - value_arrowPointPosition_type = runtimeType(value_arrowPointPosition) - valueSerializer.writeInt8(value_arrowPointPosition_type as int32) - if ((RuntimeType.UNDEFINED) != (value_arrowPointPosition_type)) { - const value_arrowPointPosition_value = (value_arrowPointPosition as ArrowPointPosition) - valueSerializer.writeInt32(TypeChecker.ArrowPointPosition_ToNumeric(value_arrowPointPosition_value)) + const value_fontSize = value.fontSize + let value_fontSize_type : int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + valueSerializer.writeNumber(value_fontSize_value) } - const value_arrowWidth = value.arrowWidth - let value_arrowWidth_type : int32 = RuntimeType.UNDEFINED - value_arrowWidth_type = runtimeType(value_arrowWidth) - valueSerializer.writeInt8(value_arrowWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_arrowWidth_type)) { - const value_arrowWidth_value = value_arrowWidth! - let value_arrowWidth_value_type : int32 = RuntimeType.UNDEFINED - value_arrowWidth_value_type = runtimeType(value_arrowWidth_value) - if (RuntimeType.STRING == value_arrowWidth_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_arrowWidth_value_0 = value_arrowWidth_value as string - valueSerializer.writeString(value_arrowWidth_value_0) - } - else if (RuntimeType.NUMBER == value_arrowWidth_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_arrowWidth_value_1 = value_arrowWidth_value as number - valueSerializer.writeNumber(value_arrowWidth_value_1) + const value_letterSpacing = value.letterSpacing + let value_letterSpacing_type : int32 = RuntimeType.UNDEFINED + value_letterSpacing_type = runtimeType(value_letterSpacing) + valueSerializer.writeInt8(value_letterSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { + const value_letterSpacing_value = value_letterSpacing! + valueSerializer.writeNumber(value_letterSpacing_value) + } + const value_wordSpacing = value.wordSpacing + let value_wordSpacing_type : int32 = RuntimeType.UNDEFINED + value_wordSpacing_type = runtimeType(value_wordSpacing) + valueSerializer.writeInt8(value_wordSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_wordSpacing_type)) { + const value_wordSpacing_value = value_wordSpacing! + valueSerializer.writeNumber(value_wordSpacing_value) + } + const value_heightScale = value.heightScale + let value_heightScale_type : int32 = RuntimeType.UNDEFINED + value_heightScale_type = runtimeType(value_heightScale) + valueSerializer.writeInt8(value_heightScale_type) + if ((RuntimeType.UNDEFINED) != (value_heightScale_type)) { + const value_heightScale_value = value_heightScale! + valueSerializer.writeNumber(value_heightScale_value) + } + const value_halfLeading = value.halfLeading + let value_halfLeading_type : int32 = RuntimeType.UNDEFINED + value_halfLeading_type = runtimeType(value_halfLeading) + valueSerializer.writeInt8(value_halfLeading_type) + if ((RuntimeType.UNDEFINED) != (value_halfLeading_type)) { + const value_halfLeading_value = value_halfLeading! + valueSerializer.writeBoolean(value_halfLeading_value) + } + const value_heightOnly = value.heightOnly + let value_heightOnly_type : int32 = RuntimeType.UNDEFINED + value_heightOnly_type = runtimeType(value_heightOnly) + valueSerializer.writeInt8(value_heightOnly_type) + if ((RuntimeType.UNDEFINED) != (value_heightOnly_type)) { + const value_heightOnly_value = value_heightOnly! + valueSerializer.writeBoolean(value_heightOnly_value) + } + const value_ellipsis = value.ellipsis + let value_ellipsis_type : int32 = RuntimeType.UNDEFINED + value_ellipsis_type = runtimeType(value_ellipsis) + valueSerializer.writeInt8(value_ellipsis_type) + if ((RuntimeType.UNDEFINED) != (value_ellipsis_type)) { + const value_ellipsis_value = value_ellipsis! + valueSerializer.writeString(value_ellipsis_value) + } + const value_ellipsisMode = value.ellipsisMode + let value_ellipsisMode_type : int32 = RuntimeType.UNDEFINED + value_ellipsisMode_type = runtimeType(value_ellipsisMode) + valueSerializer.writeInt8(value_ellipsisMode_type) + if ((RuntimeType.UNDEFINED) != (value_ellipsisMode_type)) { + const value_ellipsisMode_value = (value_ellipsisMode as EllipsisMode) + valueSerializer.writeInt32(TypeChecker.EllipsisMode_ToNumeric(value_ellipsisMode_value)) + } + const value_locale = value.locale + let value_locale_type : int32 = RuntimeType.UNDEFINED + value_locale_type = runtimeType(value_locale) + valueSerializer.writeInt8(value_locale_type) + if ((RuntimeType.UNDEFINED) != (value_locale_type)) { + const value_locale_value = value_locale! + valueSerializer.writeString(value_locale_value) + } + const value_baselineShift = value.baselineShift + let value_baselineShift_type : int32 = RuntimeType.UNDEFINED + value_baselineShift_type = runtimeType(value_baselineShift) + valueSerializer.writeInt8(value_baselineShift_type) + if ((RuntimeType.UNDEFINED) != (value_baselineShift_type)) { + const value_baselineShift_value = value_baselineShift! + valueSerializer.writeNumber(value_baselineShift_value) + } + const value_fontFeatures = value.fontFeatures + let value_fontFeatures_type : int32 = RuntimeType.UNDEFINED + value_fontFeatures_type = runtimeType(value_fontFeatures) + valueSerializer.writeInt8(value_fontFeatures_type) + if ((RuntimeType.UNDEFINED) != (value_fontFeatures_type)) { + const value_fontFeatures_value = value_fontFeatures! + valueSerializer.writeInt32(value_fontFeatures_value.length as int32) + for (let i = 0; i < value_fontFeatures_value.length; i++) { + const value_fontFeatures_value_element : FontFeature = value_fontFeatures_value[i] + valueSerializer.writeFontFeature(value_fontFeatures_value_element) + } + } + const value_textShadows = value.textShadows + let value_textShadows_type : int32 = RuntimeType.UNDEFINED + value_textShadows_type = runtimeType(value_textShadows) + valueSerializer.writeInt8(value_textShadows_type) + if ((RuntimeType.UNDEFINED) != (value_textShadows_type)) { + const value_textShadows_value = value_textShadows! + valueSerializer.writeInt32(value_textShadows_value.length as int32) + for (let i = 0; i < value_textShadows_value.length; i++) { + const value_textShadows_value_element : TextShadow = value_textShadows_value[i] + valueSerializer.writeTextShadow(value_textShadows_value_element) + } + } + const value_backgroundRect = value.backgroundRect + let value_backgroundRect_type : int32 = RuntimeType.UNDEFINED + value_backgroundRect_type = runtimeType(value_backgroundRect) + valueSerializer.writeInt8(value_backgroundRect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundRect_type)) { + const value_backgroundRect_value = value_backgroundRect! + valueSerializer.writeRectStyle(value_backgroundRect_value) + } + const value_fontVariations = value.fontVariations + let value_fontVariations_type : int32 = RuntimeType.UNDEFINED + value_fontVariations_type = runtimeType(value_fontVariations) + valueSerializer.writeInt8(value_fontVariations_type) + if ((RuntimeType.UNDEFINED) != (value_fontVariations_type)) { + const value_fontVariations_value = value_fontVariations! + valueSerializer.writeInt32(value_fontVariations_value.length as int32) + for (let i = 0; i < value_fontVariations_value.length; i++) { + const value_fontVariations_value_element : FontVariation = value_fontVariations_value[i] + valueSerializer.writeFontVariation(value_fontVariations_value_element) + } + } + } + public writeTextDataDetectorConfig(value: TextDataDetectorConfig): void { + let valueSerializer : Serializer = this + const value_types = value.types + valueSerializer.writeInt32(value_types.length as int32) + for (let i = 0; i < value_types.length; i++) { + const value_types_element : TextDataDetectorType = value_types[i] + valueSerializer.writeInt32(TypeChecker.TextDataDetectorType_ToNumeric(value_types_element)) + } + const value_onDetectResultUpdate = value.onDetectResultUpdate + let value_onDetectResultUpdate_type : int32 = RuntimeType.UNDEFINED + value_onDetectResultUpdate_type = runtimeType(value_onDetectResultUpdate) + valueSerializer.writeInt8(value_onDetectResultUpdate_type) + if ((RuntimeType.UNDEFINED) != (value_onDetectResultUpdate_type)) { + const value_onDetectResultUpdate_value = value_onDetectResultUpdate! + valueSerializer.holdAndWriteCallback(value_onDetectResultUpdate_value) + } + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isColor(value_color_value)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) + } + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as number + valueSerializer.writeNumber(value_color_value_1) + } + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as string + valueSerializer.writeString(value_color_value_2) + } + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = value_color_value as Resource + valueSerializer.writeResource(value_color_value_3) + } + } + const value_decoration = value.decoration + let value_decoration_type : int32 = RuntimeType.UNDEFINED + value_decoration_type = runtimeType(value_decoration) + valueSerializer.writeInt8(value_decoration_type) + if ((RuntimeType.UNDEFINED) != (value_decoration_type)) { + const value_decoration_value = value_decoration! + valueSerializer.writeDecorationStyleInterface(value_decoration_value) + } + } + public writeTipsOptions(value: TipsOptions): void { + let valueSerializer : Serializer = this + const value_appearingTime = value.appearingTime + let value_appearingTime_type : int32 = RuntimeType.UNDEFINED + value_appearingTime_type = runtimeType(value_appearingTime) + valueSerializer.writeInt8(value_appearingTime_type) + if ((RuntimeType.UNDEFINED) != (value_appearingTime_type)) { + const value_appearingTime_value = value_appearingTime! + valueSerializer.writeNumber(value_appearingTime_value) + } + const value_disappearingTime = value.disappearingTime + let value_disappearingTime_type : int32 = RuntimeType.UNDEFINED + value_disappearingTime_type = runtimeType(value_disappearingTime) + valueSerializer.writeInt8(value_disappearingTime_type) + if ((RuntimeType.UNDEFINED) != (value_disappearingTime_type)) { + const value_disappearingTime_value = value_disappearingTime! + valueSerializer.writeNumber(value_disappearingTime_value) + } + const value_appearingTimeWithContinuousOperation = value.appearingTimeWithContinuousOperation + let value_appearingTimeWithContinuousOperation_type : int32 = RuntimeType.UNDEFINED + value_appearingTimeWithContinuousOperation_type = runtimeType(value_appearingTimeWithContinuousOperation) + valueSerializer.writeInt8(value_appearingTimeWithContinuousOperation_type) + if ((RuntimeType.UNDEFINED) != (value_appearingTimeWithContinuousOperation_type)) { + const value_appearingTimeWithContinuousOperation_value = value_appearingTimeWithContinuousOperation! + valueSerializer.writeNumber(value_appearingTimeWithContinuousOperation_value) + } + const value_disappearingTimeWithContinuousOperation = value.disappearingTimeWithContinuousOperation + let value_disappearingTimeWithContinuousOperation_type : int32 = RuntimeType.UNDEFINED + value_disappearingTimeWithContinuousOperation_type = runtimeType(value_disappearingTimeWithContinuousOperation) + valueSerializer.writeInt8(value_disappearingTimeWithContinuousOperation_type) + if ((RuntimeType.UNDEFINED) != (value_disappearingTimeWithContinuousOperation_type)) { + const value_disappearingTimeWithContinuousOperation_value = value_disappearingTimeWithContinuousOperation! + valueSerializer.writeNumber(value_disappearingTimeWithContinuousOperation_value) + } + const value_enableArrow = value.enableArrow + let value_enableArrow_type : int32 = RuntimeType.UNDEFINED + value_enableArrow_type = runtimeType(value_enableArrow) + valueSerializer.writeInt8(value_enableArrow_type) + if ((RuntimeType.UNDEFINED) != (value_enableArrow_type)) { + const value_enableArrow_value = value_enableArrow! + valueSerializer.writeBoolean(value_enableArrow_value) + } + const value_arrowPointPosition = value.arrowPointPosition + let value_arrowPointPosition_type : int32 = RuntimeType.UNDEFINED + value_arrowPointPosition_type = runtimeType(value_arrowPointPosition) + valueSerializer.writeInt8(value_arrowPointPosition_type) + if ((RuntimeType.UNDEFINED) != (value_arrowPointPosition_type)) { + const value_arrowPointPosition_value = (value_arrowPointPosition as ArrowPointPosition) + valueSerializer.writeInt32(TypeChecker.ArrowPointPosition_ToNumeric(value_arrowPointPosition_value)) + } + const value_arrowWidth = value.arrowWidth + let value_arrowWidth_type : int32 = RuntimeType.UNDEFINED + value_arrowWidth_type = runtimeType(value_arrowWidth) + valueSerializer.writeInt8(value_arrowWidth_type) + if ((RuntimeType.UNDEFINED) != (value_arrowWidth_type)) { + const value_arrowWidth_value = value_arrowWidth! + let value_arrowWidth_value_type : int32 = RuntimeType.UNDEFINED + value_arrowWidth_value_type = runtimeType(value_arrowWidth_value) + if (RuntimeType.STRING == value_arrowWidth_value_type) { + valueSerializer.writeInt8(0) + const value_arrowWidth_value_0 = value_arrowWidth_value as string + valueSerializer.writeString(value_arrowWidth_value_0) + } + else if (RuntimeType.NUMBER == value_arrowWidth_value_type) { + valueSerializer.writeInt8(1) + const value_arrowWidth_value_1 = value_arrowWidth_value as number + valueSerializer.writeNumber(value_arrowWidth_value_1) } else if (RuntimeType.OBJECT == value_arrowWidth_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_arrowWidth_value_2 = value_arrowWidth_value as Resource valueSerializer.writeResource(value_arrowWidth_value_2) } @@ -22331,423 +18994,4061 @@ export class Serializer extends SerializerBase { const value_arrowHeight = value.arrowHeight let value_arrowHeight_type : int32 = RuntimeType.UNDEFINED value_arrowHeight_type = runtimeType(value_arrowHeight) - valueSerializer.writeInt8(value_arrowHeight_type as int32) + valueSerializer.writeInt8(value_arrowHeight_type) if ((RuntimeType.UNDEFINED) != (value_arrowHeight_type)) { const value_arrowHeight_value = value_arrowHeight! let value_arrowHeight_value_type : int32 = RuntimeType.UNDEFINED value_arrowHeight_value_type = runtimeType(value_arrowHeight_value) if (RuntimeType.STRING == value_arrowHeight_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_arrowHeight_value_0 = value_arrowHeight_value as string valueSerializer.writeString(value_arrowHeight_value_0) } else if (RuntimeType.NUMBER == value_arrowHeight_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_arrowHeight_value_1 = value_arrowHeight_value as number valueSerializer.writeNumber(value_arrowHeight_value_1) } else if (RuntimeType.OBJECT == value_arrowHeight_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_arrowHeight_value_2 = value_arrowHeight_value as Resource valueSerializer.writeResource(value_arrowHeight_value_2) } } - const value_radius = value.radius - let value_radius_type : int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_type)) { - const value_radius_value = value_radius! - let value_radius_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_type = runtimeType(value_radius_value) - if (RuntimeType.STRING == value_radius_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0 = value_radius_value as string - valueSerializer.writeString(value_radius_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_1 = value_radius_value as number - valueSerializer.writeNumber(value_radius_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_2 = value_radius_value as Resource - valueSerializer.writeResource(value_radius_value_2) - } + } + public writeActionSheetOptions(value: ActionSheetOptions): void { + let valueSerializer : Serializer = this + const value_title = value.title + let value_title_type : int32 = RuntimeType.UNDEFINED + value_title_type = runtimeType(value_title) + if (RuntimeType.STRING == value_title_type) { + valueSerializer.writeInt8(0) + const value_title_0 = value_title as string + valueSerializer.writeString(value_title_0) } - const value_shadow = value.shadow - let value_shadow_type : int32 = RuntimeType.UNDEFINED - value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { - const value_shadow_value = value_shadow! - let value_shadow_value_type : int32 = RuntimeType.UNDEFINED - value_shadow_value_type = runtimeType(value_shadow_value) - if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_shadow_value_0 = value_shadow_value as ShadowOptions - valueSerializer.writeShadowOptions(value_shadow_value_0) + else if (RuntimeType.OBJECT == value_title_type) { + valueSerializer.writeInt8(1) + const value_title_1 = value_title as Resource + valueSerializer.writeResource(value_title_1) + } + const value_subtitle = value.subtitle + let value_subtitle_type : int32 = RuntimeType.UNDEFINED + value_subtitle_type = runtimeType(value_subtitle) + valueSerializer.writeInt8(value_subtitle_type) + if ((RuntimeType.UNDEFINED) != (value_subtitle_type)) { + const value_subtitle_value = value_subtitle! + let value_subtitle_value_type : int32 = RuntimeType.UNDEFINED + value_subtitle_value_type = runtimeType(value_subtitle_value) + if (RuntimeType.STRING == value_subtitle_value_type) { + valueSerializer.writeInt8(0) + const value_subtitle_value_0 = value_subtitle_value as string + valueSerializer.writeString(value_subtitle_value_0) } - else if (TypeChecker.isShadowStyle(value_shadow_value)) { - valueSerializer.writeInt8(1 as int32) - const value_shadow_value_1 = value_shadow_value as ShadowStyle - valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) + else if (RuntimeType.OBJECT == value_subtitle_value_type) { + valueSerializer.writeInt8(1) + const value_subtitle_value_1 = value_subtitle_value as Resource + valueSerializer.writeResource(value_subtitle_value_1) } } - const value_backgroundBlurStyle = value.backgroundBlurStyle - let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { - const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) - valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) - } - const value_focusable = value.focusable - let value_focusable_type : int32 = RuntimeType.UNDEFINED - value_focusable_type = runtimeType(value_focusable) - valueSerializer.writeInt8(value_focusable_type as int32) - if ((RuntimeType.UNDEFINED) != (value_focusable_type)) { - const value_focusable_value = value_focusable! - valueSerializer.writeBoolean(value_focusable_value) + const value_message = value.message + let value_message_type : int32 = RuntimeType.UNDEFINED + value_message_type = runtimeType(value_message) + if (RuntimeType.STRING == value_message_type) { + valueSerializer.writeInt8(0) + const value_message_0 = value_message as string + valueSerializer.writeString(value_message_0) } - const value_transition = value.transition - let value_transition_type : int32 = RuntimeType.UNDEFINED - value_transition_type = runtimeType(value_transition) - valueSerializer.writeInt8(value_transition_type as int32) - if ((RuntimeType.UNDEFINED) != (value_transition_type)) { - const value_transition_value = value_transition! - valueSerializer.writeTransitionEffect(value_transition_value) + else if (RuntimeType.OBJECT == value_message_type) { + valueSerializer.writeInt8(1) + const value_message_1 = value_message as Resource + valueSerializer.writeResource(value_message_1) + } + const value_confirm = value.confirm + let value_confirm_type : int32 = RuntimeType.UNDEFINED + value_confirm_type = runtimeType(value_confirm) + valueSerializer.writeInt8(value_confirm_type) + if ((RuntimeType.UNDEFINED) != (value_confirm_type)) { + const value_confirm_value = value_confirm! + valueSerializer.writeActionSheetButtonOptions(value_confirm_value) + } + const value_cancel = value.cancel + let value_cancel_type : int32 = RuntimeType.UNDEFINED + value_cancel_type = runtimeType(value_cancel) + valueSerializer.writeInt8(value_cancel_type) + if ((RuntimeType.UNDEFINED) != (value_cancel_type)) { + const value_cancel_value = value_cancel! + valueSerializer.holdAndWriteCallback(value_cancel_value) + } + const value_sheets = value.sheets + valueSerializer.writeInt32(value_sheets.length as int32) + for (let i = 0; i < value_sheets.length; i++) { + const value_sheets_element : SheetInfo = value_sheets[i] + valueSerializer.writeSheetInfo(value_sheets_element) + } + const value_autoCancel = value.autoCancel + let value_autoCancel_type : int32 = RuntimeType.UNDEFINED + value_autoCancel_type = runtimeType(value_autoCancel) + valueSerializer.writeInt8(value_autoCancel_type) + if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { + const value_autoCancel_value = value_autoCancel! + valueSerializer.writeBoolean(value_autoCancel_value) + } + const value_alignment = value.alignment + let value_alignment_type : int32 = RuntimeType.UNDEFINED + value_alignment_type = runtimeType(value_alignment) + valueSerializer.writeInt8(value_alignment_type) + if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { + const value_alignment_value = (value_alignment as DialogAlignment) + valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) + } + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writeActionSheetOffset(value_offset_value) + } + const value_maskRect = value.maskRect + let value_maskRect_type : int32 = RuntimeType.UNDEFINED + value_maskRect_type = runtimeType(value_maskRect) + valueSerializer.writeInt8(value_maskRect_type) + if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { + const value_maskRect_value = value_maskRect! + valueSerializer.writeRectangle(value_maskRect_value) + } + const value_showInSubWindow = value.showInSubWindow + let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED + value_showInSubWindow_type = runtimeType(value_showInSubWindow) + valueSerializer.writeInt8(value_showInSubWindow_type) + if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { + const value_showInSubWindow_value = value_showInSubWindow! + valueSerializer.writeBoolean(value_showInSubWindow_value) + } + const value_isModal = value.isModal + let value_isModal_type : int32 = RuntimeType.UNDEFINED + value_isModal_type = runtimeType(value_isModal) + valueSerializer.writeInt8(value_isModal_type) + if ((RuntimeType.UNDEFINED) != (value_isModal_type)) { + const value_isModal_value = value_isModal! + valueSerializer.writeBoolean(value_isModal_value) + } + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (TypeChecker.isColor(value_backgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = value_backgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) + } + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = value_backgroundColor_value as number + valueSerializer.writeNumber(value_backgroundColor_value_1) + } + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = value_backgroundColor_value as string + valueSerializer.writeString(value_backgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = value_backgroundColor_value as Resource + valueSerializer.writeResource(value_backgroundColor_value_3) + } + } + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) + valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) + } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) } const value_onWillDismiss = value.onWillDismiss let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED value_onWillDismiss_type = runtimeType(value_onWillDismiss) - valueSerializer.writeInt8(value_onWillDismiss_type as int32) + valueSerializer.writeInt8(value_onWillDismiss_type) if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { const value_onWillDismiss_value = value_onWillDismiss! - let value_onWillDismiss_value_type : int32 = RuntimeType.UNDEFINED - value_onWillDismiss_value_type = runtimeType(value_onWillDismiss_value) - if (RuntimeType.BOOLEAN == value_onWillDismiss_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_onWillDismiss_value_0 = value_onWillDismiss_value as boolean - valueSerializer.writeBoolean(value_onWillDismiss_value_0) - } - else if (RuntimeType.FUNCTION == value_onWillDismiss_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_onWillDismiss_value_1 = value_onWillDismiss_value as ((parameter: DismissPopupAction) => void) - valueSerializer.holdAndWriteCallback(value_onWillDismiss_value_1) - } - } - const value_enableHoverMode = value.enableHoverMode - let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED - value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { - const value_enableHoverMode_value = value_enableHoverMode! - valueSerializer.writeBoolean(value_enableHoverMode_value) - } - const value_followTransformOfTarget = value.followTransformOfTarget - let value_followTransformOfTarget_type : int32 = RuntimeType.UNDEFINED - value_followTransformOfTarget_type = runtimeType(value_followTransformOfTarget) - valueSerializer.writeInt8(value_followTransformOfTarget_type as int32) - if ((RuntimeType.UNDEFINED) != (value_followTransformOfTarget_type)) { - const value_followTransformOfTarget_value = value_followTransformOfTarget! - valueSerializer.writeBoolean(value_followTransformOfTarget_value) + valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) } - } - writeCustomTheme(value: CustomTheme): void { - let valueSerializer : Serializer = this - const value_colors = value.colors - let value_colors_type : int32 = RuntimeType.UNDEFINED - value_colors_type = runtimeType(value_colors) - valueSerializer.writeInt8(value_colors_type as int32) - if ((RuntimeType.UNDEFINED) != (value_colors_type)) { - const value_colors_value = value_colors! - valueSerializer.writeCustomColors(value_colors_value) + const value_transition = value.transition + let value_transition_type : int32 = RuntimeType.UNDEFINED + value_transition_type = runtimeType(value_transition) + valueSerializer.writeInt8(value_transition_type) + if ((RuntimeType.UNDEFINED) != (value_transition_type)) { + const value_transition_value = value_transition! + valueSerializer.writeTransitionEffect(value_transition_value) } - } - writeDigitIndicator(value: DigitIndicator): void { - let valueSerializer : Serializer = this - const value__left = value._left - let value__left_type : int32 = RuntimeType.UNDEFINED - value__left_type = runtimeType(value__left) - valueSerializer.writeInt8(value__left_type as int32) - if ((RuntimeType.UNDEFINED) != (value__left_type)) { - const value__left_value = value__left! - let value__left_value_type : int32 = RuntimeType.UNDEFINED - value__left_value_type = runtimeType(value__left_value) - if (RuntimeType.STRING == value__left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value__left_value_0 = value__left_value as string - valueSerializer.writeString(value__left_value_0) + const value_cornerRadius = value.cornerRadius + let value_cornerRadius_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_type = runtimeType(value_cornerRadius) + valueSerializer.writeInt8(value_cornerRadius_type) + if ((RuntimeType.UNDEFINED) != (value_cornerRadius_type)) { + const value_cornerRadius_value = value_cornerRadius! + let value_cornerRadius_value_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_value_type = runtimeType(value_cornerRadius_value) + if ((RuntimeType.STRING == value_cornerRadius_value_type) || (RuntimeType.NUMBER == value_cornerRadius_value_type) || (RuntimeType.OBJECT == value_cornerRadius_value_type)) { + valueSerializer.writeInt8(0) + const value_cornerRadius_value_0 = value_cornerRadius_value as Dimension + let value_cornerRadius_value_0_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_value_0_type = runtimeType(value_cornerRadius_value_0) + if (RuntimeType.STRING == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(0) + const value_cornerRadius_value_0_0 = value_cornerRadius_value_0 as string + valueSerializer.writeString(value_cornerRadius_value_0_0) + } + else if (RuntimeType.NUMBER == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_cornerRadius_value_0_1 = value_cornerRadius_value_0 as number + valueSerializer.writeNumber(value_cornerRadius_value_0_1) + } + else if (RuntimeType.OBJECT == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_cornerRadius_value_0_2 = value_cornerRadius_value_0 as Resource + valueSerializer.writeResource(value_cornerRadius_value_0_2) + } } - else if (RuntimeType.NUMBER == value__left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__left_value_1 = value__left_value as number - valueSerializer.writeNumber(value__left_value_1) + else if (TypeChecker.isBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_cornerRadius_value_1 = value_cornerRadius_value as BorderRadiuses + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1) } - else if (RuntimeType.OBJECT == value__left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__left_value_2 = value__left_value as Resource - valueSerializer.writeResource(value__left_value_2) + else if (TypeChecker.isLocalizedBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_cornerRadius_value_2 = value_cornerRadius_value as LocalizedBorderRadiuses + valueSerializer.writeLocalizedBorderRadiuses(value_cornerRadius_value_2) } } - const value__top = value._top - let value__top_type : int32 = RuntimeType.UNDEFINED - value__top_type = runtimeType(value__top) - valueSerializer.writeInt8(value__top_type as int32) - if ((RuntimeType.UNDEFINED) != (value__top_type)) { - const value__top_value = value__top! - let value__top_value_type : int32 = RuntimeType.UNDEFINED - value__top_value_type = runtimeType(value__top_value) - if (RuntimeType.STRING == value__top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value__top_value_0 = value__top_value as string - valueSerializer.writeString(value__top_value_0) + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as string + valueSerializer.writeString(value_width_value_0) } - else if (RuntimeType.NUMBER == value__top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__top_value_1 = value__top_value as number - valueSerializer.writeNumber(value__top_value_1) + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as number + valueSerializer.writeNumber(value_width_value_1) } - else if (RuntimeType.OBJECT == value__top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__top_value_2 = value__top_value as Resource - valueSerializer.writeResource(value__top_value_2) + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as Resource + valueSerializer.writeResource(value_width_value_2) } } - const value__right = value._right - let value__right_type : int32 = RuntimeType.UNDEFINED - value__right_type = runtimeType(value__right) - valueSerializer.writeInt8(value__right_type as int32) - if ((RuntimeType.UNDEFINED) != (value__right_type)) { - const value__right_value = value__right! - let value__right_value_type : int32 = RuntimeType.UNDEFINED - value__right_value_type = runtimeType(value__right_value) - if (RuntimeType.STRING == value__right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value__right_value_0 = value__right_value as string - valueSerializer.writeString(value__right_value_0) + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type : int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.STRING == value_height_value_type) { + valueSerializer.writeInt8(0) + const value_height_value_0 = value_height_value as string + valueSerializer.writeString(value_height_value_0) } - else if (RuntimeType.NUMBER == value__right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__right_value_1 = value__right_value as number - valueSerializer.writeNumber(value__right_value_1) + else if (RuntimeType.NUMBER == value_height_value_type) { + valueSerializer.writeInt8(1) + const value_height_value_1 = value_height_value as number + valueSerializer.writeNumber(value_height_value_1) } - else if (RuntimeType.OBJECT == value__right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__right_value_2 = value__right_value as Resource - valueSerializer.writeResource(value__right_value_2) + else if (RuntimeType.OBJECT == value_height_value_type) { + valueSerializer.writeInt8(2) + const value_height_value_2 = value_height_value as Resource + valueSerializer.writeResource(value_height_value_2) } } - const value__bottom = value._bottom - let value__bottom_type : int32 = RuntimeType.UNDEFINED - value__bottom_type = runtimeType(value__bottom) - valueSerializer.writeInt8(value__bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value__bottom_type)) { - const value__bottom_value = value__bottom! - let value__bottom_value_type : int32 = RuntimeType.UNDEFINED - value__bottom_value_type = runtimeType(value__bottom_value) - if (RuntimeType.STRING == value__bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value__bottom_value_0 = value__bottom_value as string - valueSerializer.writeString(value__bottom_value_0) + const value_borderWidth = value.borderWidth + let value_borderWidth_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_type = runtimeType(value_borderWidth) + valueSerializer.writeInt8(value_borderWidth_type) + if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { + const value_borderWidth_value = value_borderWidth! + let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_type = runtimeType(value_borderWidth_value) + if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0 = value_borderWidth_value as Dimension + let value_borderWidth_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) + if (RuntimeType.STRING == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0_0 = value_borderWidth_value_0 as string + valueSerializer.writeString(value_borderWidth_value_0_0) + } + else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_0_1 = value_borderWidth_value_0 as number + valueSerializer.writeNumber(value_borderWidth_value_0_1) + } + else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_0_2 = value_borderWidth_value_0 as Resource + valueSerializer.writeResource(value_borderWidth_value_0_2) + } } - else if (RuntimeType.NUMBER == value__bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__bottom_value_1 = value__bottom_value as number - valueSerializer.writeNumber(value__bottom_value_1) + else if (TypeChecker.isEdgeWidths(value_borderWidth_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_1 = value_borderWidth_value as EdgeWidths + valueSerializer.writeEdgeWidths(value_borderWidth_value_1) } - else if (RuntimeType.OBJECT == value__bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__bottom_value_2 = value__bottom_value as Resource - valueSerializer.writeResource(value__bottom_value_2) + else if (TypeChecker.isLocalizedEdgeWidths(value_borderWidth_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_2 = value_borderWidth_value as LocalizedEdgeWidths + valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2) } } - const value__start = value._start - let value__start_type : int32 = RuntimeType.UNDEFINED - value__start_type = runtimeType(value__start) - valueSerializer.writeInt8(value__start_type as int32) - if ((RuntimeType.UNDEFINED) != (value__start_type)) { - const value__start_value = value__start! - valueSerializer.writeLengthMetrics(value__start_value) - } - const value__end = value._end - let value__end_type : int32 = RuntimeType.UNDEFINED - value__end_type = runtimeType(value__end) - valueSerializer.writeInt8(value__end_type as int32) - if ((RuntimeType.UNDEFINED) != (value__end_type)) { - const value__end_value = value__end! - valueSerializer.writeLengthMetrics(value__end_value) - } - const value__fontColor = value._fontColor - let value__fontColor_type : int32 = RuntimeType.UNDEFINED - value__fontColor_type = runtimeType(value__fontColor) - valueSerializer.writeInt8(value__fontColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value__fontColor_type)) { - const value__fontColor_value = value__fontColor! - let value__fontColor_value_type : int32 = RuntimeType.UNDEFINED - value__fontColor_value_type = runtimeType(value__fontColor_value) - if (TypeChecker.isColor(value__fontColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value__fontColor_value_0 = value__fontColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value__fontColor_value_0)) - } - else if (RuntimeType.NUMBER == value__fontColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__fontColor_value_1 = value__fontColor_value as number - valueSerializer.writeNumber(value__fontColor_value_1) + const value_borderColor = value.borderColor + let value_borderColor_type : int32 = RuntimeType.UNDEFINED + value_borderColor_type = runtimeType(value_borderColor) + valueSerializer.writeInt8(value_borderColor_type) + if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { + const value_borderColor_value = value_borderColor! + let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_type = runtimeType(value_borderColor_value) + if ((TypeChecker.isColor(value_borderColor_value)) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0 = value_borderColor_value as ResourceColor + let value_borderColor_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) + if (TypeChecker.isColor(value_borderColor_value_0)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0_0 = value_borderColor_value_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0_0)) + } + else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderColor_value_0_1 = value_borderColor_value_0 as number + valueSerializer.writeNumber(value_borderColor_value_0_1) + } + else if (RuntimeType.STRING == value_borderColor_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderColor_value_0_2 = value_borderColor_value_0 as string + valueSerializer.writeString(value_borderColor_value_0_2) + } + else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { + valueSerializer.writeInt8(3) + const value_borderColor_value_0_3 = value_borderColor_value_0 as Resource + valueSerializer.writeResource(value_borderColor_value_0_3) + } } - else if (RuntimeType.STRING == value__fontColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__fontColor_value_2 = value__fontColor_value as string - valueSerializer.writeString(value__fontColor_value_2) + else if (TypeChecker.isEdgeColors(value_borderColor_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_borderColor_value_1 = value_borderColor_value as EdgeColors + valueSerializer.writeEdgeColors(value_borderColor_value_1) } - else if (RuntimeType.OBJECT == value__fontColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value__fontColor_value_3 = value__fontColor_value as Resource - valueSerializer.writeResource(value__fontColor_value_3) + else if (TypeChecker.isLocalizedEdgeColors(value_borderColor_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_borderColor_value_2 = value_borderColor_value as LocalizedEdgeColors + valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2) } } - const value__selectedFontColor = value._selectedFontColor - let value__selectedFontColor_type : int32 = RuntimeType.UNDEFINED - value__selectedFontColor_type = runtimeType(value__selectedFontColor) - valueSerializer.writeInt8(value__selectedFontColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value__selectedFontColor_type)) { - const value__selectedFontColor_value = value__selectedFontColor! - let value__selectedFontColor_value_type : int32 = RuntimeType.UNDEFINED - value__selectedFontColor_value_type = runtimeType(value__selectedFontColor_value) - if (TypeChecker.isColor(value__selectedFontColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value__selectedFontColor_value_0 = value__selectedFontColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value__selectedFontColor_value_0)) + const value_borderStyle = value.borderStyle + let value_borderStyle_type : int32 = RuntimeType.UNDEFINED + value_borderStyle_type = runtimeType(value_borderStyle) + valueSerializer.writeInt8(value_borderStyle_type) + if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { + const value_borderStyle_value = value_borderStyle! + let value_borderStyle_value_type : int32 = RuntimeType.UNDEFINED + value_borderStyle_value_type = runtimeType(value_borderStyle_value) + if (TypeChecker.isBorderStyle(value_borderStyle_value)) { + valueSerializer.writeInt8(0) + const value_borderStyle_value_0 = value_borderStyle_value as BorderStyle + valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_borderStyle_value_0)) } - else if (RuntimeType.NUMBER == value__selectedFontColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value__selectedFontColor_value_1 = value__selectedFontColor_value as number - valueSerializer.writeNumber(value__selectedFontColor_value_1) + else if (RuntimeType.OBJECT == value_borderStyle_value_type) { + valueSerializer.writeInt8(1) + const value_borderStyle_value_1 = value_borderStyle_value as EdgeStyles + valueSerializer.writeEdgeStyles(value_borderStyle_value_1) } - else if (RuntimeType.STRING == value__selectedFontColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value__selectedFontColor_value_2 = value__selectedFontColor_value as string - valueSerializer.writeString(value__selectedFontColor_value_2) + } + const value_shadow = value.shadow + let value_shadow_type : int32 = RuntimeType.UNDEFINED + value_shadow_type = runtimeType(value_shadow) + valueSerializer.writeInt8(value_shadow_type) + if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { + const value_shadow_value = value_shadow! + let value_shadow_value_type : int32 = RuntimeType.UNDEFINED + value_shadow_value_type = runtimeType(value_shadow_value) + if (RuntimeType.OBJECT == value_shadow_value_type) { + valueSerializer.writeInt8(0) + const value_shadow_value_0 = value_shadow_value as ShadowOptions + valueSerializer.writeShadowOptions(value_shadow_value_0) } - else if (RuntimeType.OBJECT == value__selectedFontColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value__selectedFontColor_value_3 = value__selectedFontColor_value as Resource - valueSerializer.writeResource(value__selectedFontColor_value_3) + else if (TypeChecker.isShadowStyle(value_shadow_value)) { + valueSerializer.writeInt8(1) + const value_shadow_value_1 = value_shadow_value as ShadowStyle + valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) } } - const value__digitFont = value._digitFont - let value__digitFont_type : int32 = RuntimeType.UNDEFINED - value__digitFont_type = runtimeType(value__digitFont) - valueSerializer.writeInt8(value__digitFont_type as int32) - if ((RuntimeType.UNDEFINED) != (value__digitFont_type)) { - const value__digitFont_value = value__digitFont! - valueSerializer.writeFont(value__digitFont_value) - } - const value__selectedDigitFont = value._selectedDigitFont - let value__selectedDigitFont_type : int32 = RuntimeType.UNDEFINED - value__selectedDigitFont_type = runtimeType(value__selectedDigitFont) - valueSerializer.writeInt8(value__selectedDigitFont_type as int32) - if ((RuntimeType.UNDEFINED) != (value__selectedDigitFont_type)) { - const value__selectedDigitFont_value = value__selectedDigitFont! - valueSerializer.writeFont(value__selectedDigitFont_value) - } - } - writeEventTarget(value: EventTarget): void { - let valueSerializer : Serializer = this - const value_area = value.area - valueSerializer.writeArea(value_area) - } - writeFlexOptions(value: FlexOptions): void { - let valueSerializer : Serializer = this - const value_direction = value.direction - let value_direction_type : int32 = RuntimeType.UNDEFINED - value_direction_type = runtimeType(value_direction) - valueSerializer.writeInt8(value_direction_type as int32) - if ((RuntimeType.UNDEFINED) != (value_direction_type)) { - const value_direction_value = (value_direction as FlexDirection) - valueSerializer.writeInt32(TypeChecker.FlexDirection_ToNumeric(value_direction_value)) + const value_enableHoverMode = value.enableHoverMode + let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED + value_enableHoverMode_type = runtimeType(value_enableHoverMode) + valueSerializer.writeInt8(value_enableHoverMode_type) + if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { + const value_enableHoverMode_value = value_enableHoverMode! + valueSerializer.writeBoolean(value_enableHoverMode_value) } - const value_wrap = value.wrap - let value_wrap_type : int32 = RuntimeType.UNDEFINED - value_wrap_type = runtimeType(value_wrap) - valueSerializer.writeInt8(value_wrap_type as int32) - if ((RuntimeType.UNDEFINED) != (value_wrap_type)) { - const value_wrap_value = (value_wrap as FlexWrap) - valueSerializer.writeInt32(TypeChecker.FlexWrap_ToNumeric(value_wrap_value)) + const value_hoverModeArea = value.hoverModeArea + let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED + value_hoverModeArea_type = runtimeType(value_hoverModeArea) + valueSerializer.writeInt8(value_hoverModeArea_type) + if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { + const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) + valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) } - const value_justifyContent = value.justifyContent - let value_justifyContent_type : int32 = RuntimeType.UNDEFINED - value_justifyContent_type = runtimeType(value_justifyContent) - valueSerializer.writeInt8(value_justifyContent_type as int32) - if ((RuntimeType.UNDEFINED) != (value_justifyContent_type)) { - const value_justifyContent_value = (value_justifyContent as FlexAlign) - valueSerializer.writeInt32(TypeChecker.FlexAlign_ToNumeric(value_justifyContent_value)) + const value_onDidAppear = value.onDidAppear + let value_onDidAppear_type : int32 = RuntimeType.UNDEFINED + value_onDidAppear_type = runtimeType(value_onDidAppear) + valueSerializer.writeInt8(value_onDidAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { + const value_onDidAppear_value = value_onDidAppear! + valueSerializer.holdAndWriteCallback(value_onDidAppear_value) } - const value_alignItems = value.alignItems - let value_alignItems_type : int32 = RuntimeType.UNDEFINED - value_alignItems_type = runtimeType(value_alignItems) - valueSerializer.writeInt8(value_alignItems_type as int32) - if ((RuntimeType.UNDEFINED) != (value_alignItems_type)) { - const value_alignItems_value = (value_alignItems as ItemAlign) - valueSerializer.writeInt32(TypeChecker.ItemAlign_ToNumeric(value_alignItems_value)) + const value_onDidDisappear = value.onDidDisappear + let value_onDidDisappear_type : int32 = RuntimeType.UNDEFINED + value_onDidDisappear_type = runtimeType(value_onDidDisappear) + valueSerializer.writeInt8(value_onDidDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { + const value_onDidDisappear_value = value_onDidDisappear! + valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) } - const value_alignContent = value.alignContent - let value_alignContent_type : int32 = RuntimeType.UNDEFINED - value_alignContent_type = runtimeType(value_alignContent) - valueSerializer.writeInt8(value_alignContent_type as int32) - if ((RuntimeType.UNDEFINED) != (value_alignContent_type)) { - const value_alignContent_value = (value_alignContent as FlexAlign) - valueSerializer.writeInt32(TypeChecker.FlexAlign_ToNumeric(value_alignContent_value)) + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) } - const value_space = value.space - let value_space_type : int32 = RuntimeType.UNDEFINED - value_space_type = runtimeType(value_space) - valueSerializer.writeInt8(value_space_type as int32) - if ((RuntimeType.UNDEFINED) != (value_space_type)) { - const value_space_value = value_space! - valueSerializer.writeFlexSpaceOptions(value_space_value) + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) } - } - writeGestureEvent(value: GestureEvent): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeGutterOption(value: GutterOption): void { + const value_levelMode = value.levelMode + let value_levelMode_type : int32 = RuntimeType.UNDEFINED + value_levelMode_type = runtimeType(value_levelMode) + valueSerializer.writeInt8(value_levelMode_type) + if ((RuntimeType.UNDEFINED) != (value_levelMode_type)) { + const value_levelMode_value = value_levelMode! + valueSerializer.writeLevelMode(value_levelMode_value) + } + const value_levelUniqueId = value.levelUniqueId + let value_levelUniqueId_type : int32 = RuntimeType.UNDEFINED + value_levelUniqueId_type = runtimeType(value_levelUniqueId) + valueSerializer.writeInt8(value_levelUniqueId_type) + if ((RuntimeType.UNDEFINED) != (value_levelUniqueId_type)) { + const value_levelUniqueId_value = value_levelUniqueId! + valueSerializer.writeNumber(value_levelUniqueId_value) + } + const value_immersiveMode = value.immersiveMode + let value_immersiveMode_type : int32 = RuntimeType.UNDEFINED + value_immersiveMode_type = runtimeType(value_immersiveMode) + valueSerializer.writeInt8(value_immersiveMode_type) + if ((RuntimeType.UNDEFINED) != (value_immersiveMode_type)) { + const value_immersiveMode_value = value_immersiveMode! + valueSerializer.writeImmersiveMode(value_immersiveMode_value) + } + const value_levelOrder = value.levelOrder + let value_levelOrder_type : int32 = RuntimeType.UNDEFINED + value_levelOrder_type = runtimeType(value_levelOrder) + valueSerializer.writeInt8(value_levelOrder_type) + if ((RuntimeType.UNDEFINED) != (value_levelOrder_type)) { + const value_levelOrder_value = value_levelOrder! + valueSerializer.writeLevelOrder(value_levelOrder_value) + } + } + public writeAlertDialogParamWithButtons(value: AlertDialogParamWithButtons): void { let valueSerializer : Serializer = this - const value_x = value.x - let value_x_type : int32 = RuntimeType.UNDEFINED - value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type as int32) - if ((RuntimeType.UNDEFINED) != (value_x_type)) { - const value_x_value = value_x! - let value_x_value_type : int32 = RuntimeType.UNDEFINED - value_x_value_type = runtimeType(value_x_value) - if ((RuntimeType.STRING == value_x_value_type) || (RuntimeType.NUMBER == value_x_value_type) || (RuntimeType.OBJECT == value_x_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_x_value_0 = value_x_value as Length - let value_x_value_0_type : int32 = RuntimeType.UNDEFINED - value_x_value_0_type = runtimeType(value_x_value_0) - if (RuntimeType.STRING == value_x_value_0_type) { - valueSerializer.writeInt8(0 as int32) + const value_title = value.title + let value_title_type : int32 = RuntimeType.UNDEFINED + value_title_type = runtimeType(value_title) + valueSerializer.writeInt8(value_title_type) + if ((RuntimeType.UNDEFINED) != (value_title_type)) { + const value_title_value = value_title! + let value_title_value_type : int32 = RuntimeType.UNDEFINED + value_title_value_type = runtimeType(value_title_value) + if (RuntimeType.STRING == value_title_value_type) { + valueSerializer.writeInt8(0) + const value_title_value_0 = value_title_value as string + valueSerializer.writeString(value_title_value_0) + } + else if (RuntimeType.OBJECT == value_title_value_type) { + valueSerializer.writeInt8(1) + const value_title_value_1 = value_title_value as Resource + valueSerializer.writeResource(value_title_value_1) + } + } + const value_subtitle = value.subtitle + let value_subtitle_type : int32 = RuntimeType.UNDEFINED + value_subtitle_type = runtimeType(value_subtitle) + valueSerializer.writeInt8(value_subtitle_type) + if ((RuntimeType.UNDEFINED) != (value_subtitle_type)) { + const value_subtitle_value = value_subtitle! + let value_subtitle_value_type : int32 = RuntimeType.UNDEFINED + value_subtitle_value_type = runtimeType(value_subtitle_value) + if (RuntimeType.STRING == value_subtitle_value_type) { + valueSerializer.writeInt8(0) + const value_subtitle_value_0 = value_subtitle_value as string + valueSerializer.writeString(value_subtitle_value_0) + } + else if (RuntimeType.OBJECT == value_subtitle_value_type) { + valueSerializer.writeInt8(1) + const value_subtitle_value_1 = value_subtitle_value as Resource + valueSerializer.writeResource(value_subtitle_value_1) + } + } + const value_message = value.message + let value_message_type : int32 = RuntimeType.UNDEFINED + value_message_type = runtimeType(value_message) + if (RuntimeType.STRING == value_message_type) { + valueSerializer.writeInt8(0) + const value_message_0 = value_message as string + valueSerializer.writeString(value_message_0) + } + else if (RuntimeType.OBJECT == value_message_type) { + valueSerializer.writeInt8(1) + const value_message_1 = value_message as Resource + valueSerializer.writeResource(value_message_1) + } + const value_autoCancel = value.autoCancel + let value_autoCancel_type : int32 = RuntimeType.UNDEFINED + value_autoCancel_type = runtimeType(value_autoCancel) + valueSerializer.writeInt8(value_autoCancel_type) + if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { + const value_autoCancel_value = value_autoCancel! + valueSerializer.writeBoolean(value_autoCancel_value) + } + const value_cancel = value.cancel + let value_cancel_type : int32 = RuntimeType.UNDEFINED + value_cancel_type = runtimeType(value_cancel) + valueSerializer.writeInt8(value_cancel_type) + if ((RuntimeType.UNDEFINED) != (value_cancel_type)) { + const value_cancel_value = value_cancel! + valueSerializer.holdAndWriteCallback(value_cancel_value) + } + const value_alignment = value.alignment + let value_alignment_type : int32 = RuntimeType.UNDEFINED + value_alignment_type = runtimeType(value_alignment) + valueSerializer.writeInt8(value_alignment_type) + if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { + const value_alignment_value = (value_alignment as DialogAlignment) + valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) + } + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writeOffset(value_offset_value) + } + const value_gridCount = value.gridCount + let value_gridCount_type : int32 = RuntimeType.UNDEFINED + value_gridCount_type = runtimeType(value_gridCount) + valueSerializer.writeInt8(value_gridCount_type) + if ((RuntimeType.UNDEFINED) != (value_gridCount_type)) { + const value_gridCount_value = value_gridCount! + valueSerializer.writeNumber(value_gridCount_value) + } + const value_maskRect = value.maskRect + let value_maskRect_type : int32 = RuntimeType.UNDEFINED + value_maskRect_type = runtimeType(value_maskRect) + valueSerializer.writeInt8(value_maskRect_type) + if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { + const value_maskRect_value = value_maskRect! + valueSerializer.writeRectangle(value_maskRect_value) + } + const value_showInSubWindow = value.showInSubWindow + let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED + value_showInSubWindow_type = runtimeType(value_showInSubWindow) + valueSerializer.writeInt8(value_showInSubWindow_type) + if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { + const value_showInSubWindow_value = value_showInSubWindow! + valueSerializer.writeBoolean(value_showInSubWindow_value) + } + const value_isModal = value.isModal + let value_isModal_type : int32 = RuntimeType.UNDEFINED + value_isModal_type = runtimeType(value_isModal) + valueSerializer.writeInt8(value_isModal_type) + if ((RuntimeType.UNDEFINED) != (value_isModal_type)) { + const value_isModal_value = value_isModal! + valueSerializer.writeBoolean(value_isModal_value) + } + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (TypeChecker.isColor(value_backgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = value_backgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) + } + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = value_backgroundColor_value as number + valueSerializer.writeNumber(value_backgroundColor_value_1) + } + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = value_backgroundColor_value as string + valueSerializer.writeString(value_backgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = value_backgroundColor_value as Resource + valueSerializer.writeResource(value_backgroundColor_value_3) + } + } + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) + valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) + } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } + const value_onWillDismiss = value.onWillDismiss + let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED + value_onWillDismiss_type = runtimeType(value_onWillDismiss) + valueSerializer.writeInt8(value_onWillDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { + const value_onWillDismiss_value = value_onWillDismiss! + valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) + } + const value_transition = value.transition + let value_transition_type : int32 = RuntimeType.UNDEFINED + value_transition_type = runtimeType(value_transition) + valueSerializer.writeInt8(value_transition_type) + if ((RuntimeType.UNDEFINED) != (value_transition_type)) { + const value_transition_value = value_transition! + valueSerializer.writeTransitionEffect(value_transition_value) + } + const value_cornerRadius = value.cornerRadius + let value_cornerRadius_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_type = runtimeType(value_cornerRadius) + valueSerializer.writeInt8(value_cornerRadius_type) + if ((RuntimeType.UNDEFINED) != (value_cornerRadius_type)) { + const value_cornerRadius_value = value_cornerRadius! + let value_cornerRadius_value_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_value_type = runtimeType(value_cornerRadius_value) + if ((RuntimeType.STRING == value_cornerRadius_value_type) || (RuntimeType.NUMBER == value_cornerRadius_value_type) || (RuntimeType.OBJECT == value_cornerRadius_value_type)) { + valueSerializer.writeInt8(0) + const value_cornerRadius_value_0 = value_cornerRadius_value as Dimension + let value_cornerRadius_value_0_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_value_0_type = runtimeType(value_cornerRadius_value_0) + if (RuntimeType.STRING == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(0) + const value_cornerRadius_value_0_0 = value_cornerRadius_value_0 as string + valueSerializer.writeString(value_cornerRadius_value_0_0) + } + else if (RuntimeType.NUMBER == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_cornerRadius_value_0_1 = value_cornerRadius_value_0 as number + valueSerializer.writeNumber(value_cornerRadius_value_0_1) + } + else if (RuntimeType.OBJECT == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_cornerRadius_value_0_2 = value_cornerRadius_value_0 as Resource + valueSerializer.writeResource(value_cornerRadius_value_0_2) + } + } + else if (TypeChecker.isBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_cornerRadius_value_1 = value_cornerRadius_value as BorderRadiuses + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1) + } + else if (TypeChecker.isLocalizedBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_cornerRadius_value_2 = value_cornerRadius_value as LocalizedBorderRadiuses + valueSerializer.writeLocalizedBorderRadiuses(value_cornerRadius_value_2) + } + } + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as string + valueSerializer.writeString(value_width_value_0) + } + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as number + valueSerializer.writeNumber(value_width_value_1) + } + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as Resource + valueSerializer.writeResource(value_width_value_2) + } + } + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type : int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.STRING == value_height_value_type) { + valueSerializer.writeInt8(0) + const value_height_value_0 = value_height_value as string + valueSerializer.writeString(value_height_value_0) + } + else if (RuntimeType.NUMBER == value_height_value_type) { + valueSerializer.writeInt8(1) + const value_height_value_1 = value_height_value as number + valueSerializer.writeNumber(value_height_value_1) + } + else if (RuntimeType.OBJECT == value_height_value_type) { + valueSerializer.writeInt8(2) + const value_height_value_2 = value_height_value as Resource + valueSerializer.writeResource(value_height_value_2) + } + } + const value_borderWidth = value.borderWidth + let value_borderWidth_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_type = runtimeType(value_borderWidth) + valueSerializer.writeInt8(value_borderWidth_type) + if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { + const value_borderWidth_value = value_borderWidth! + let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_type = runtimeType(value_borderWidth_value) + if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0 = value_borderWidth_value as Dimension + let value_borderWidth_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) + if (RuntimeType.STRING == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0_0 = value_borderWidth_value_0 as string + valueSerializer.writeString(value_borderWidth_value_0_0) + } + else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_0_1 = value_borderWidth_value_0 as number + valueSerializer.writeNumber(value_borderWidth_value_0_1) + } + else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_0_2 = value_borderWidth_value_0 as Resource + valueSerializer.writeResource(value_borderWidth_value_0_2) + } + } + else if (TypeChecker.isEdgeWidths(value_borderWidth_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_1 = value_borderWidth_value as EdgeWidths + valueSerializer.writeEdgeWidths(value_borderWidth_value_1) + } + else if (TypeChecker.isLocalizedEdgeWidths(value_borderWidth_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_2 = value_borderWidth_value as LocalizedEdgeWidths + valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2) + } + } + const value_borderColor = value.borderColor + let value_borderColor_type : int32 = RuntimeType.UNDEFINED + value_borderColor_type = runtimeType(value_borderColor) + valueSerializer.writeInt8(value_borderColor_type) + if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { + const value_borderColor_value = value_borderColor! + let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_type = runtimeType(value_borderColor_value) + if ((TypeChecker.isColor(value_borderColor_value)) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0 = value_borderColor_value as ResourceColor + let value_borderColor_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) + if (TypeChecker.isColor(value_borderColor_value_0)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0_0 = value_borderColor_value_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0_0)) + } + else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderColor_value_0_1 = value_borderColor_value_0 as number + valueSerializer.writeNumber(value_borderColor_value_0_1) + } + else if (RuntimeType.STRING == value_borderColor_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderColor_value_0_2 = value_borderColor_value_0 as string + valueSerializer.writeString(value_borderColor_value_0_2) + } + else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { + valueSerializer.writeInt8(3) + const value_borderColor_value_0_3 = value_borderColor_value_0 as Resource + valueSerializer.writeResource(value_borderColor_value_0_3) + } + } + else if (TypeChecker.isEdgeColors(value_borderColor_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_borderColor_value_1 = value_borderColor_value as EdgeColors + valueSerializer.writeEdgeColors(value_borderColor_value_1) + } + else if (TypeChecker.isLocalizedEdgeColors(value_borderColor_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_borderColor_value_2 = value_borderColor_value as LocalizedEdgeColors + valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2) + } + } + const value_borderStyle = value.borderStyle + let value_borderStyle_type : int32 = RuntimeType.UNDEFINED + value_borderStyle_type = runtimeType(value_borderStyle) + valueSerializer.writeInt8(value_borderStyle_type) + if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { + const value_borderStyle_value = value_borderStyle! + let value_borderStyle_value_type : int32 = RuntimeType.UNDEFINED + value_borderStyle_value_type = runtimeType(value_borderStyle_value) + if (TypeChecker.isBorderStyle(value_borderStyle_value)) { + valueSerializer.writeInt8(0) + const value_borderStyle_value_0 = value_borderStyle_value as BorderStyle + valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_borderStyle_value_0)) + } + else if (RuntimeType.OBJECT == value_borderStyle_value_type) { + valueSerializer.writeInt8(1) + const value_borderStyle_value_1 = value_borderStyle_value as EdgeStyles + valueSerializer.writeEdgeStyles(value_borderStyle_value_1) + } + } + const value_shadow = value.shadow + let value_shadow_type : int32 = RuntimeType.UNDEFINED + value_shadow_type = runtimeType(value_shadow) + valueSerializer.writeInt8(value_shadow_type) + if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { + const value_shadow_value = value_shadow! + let value_shadow_value_type : int32 = RuntimeType.UNDEFINED + value_shadow_value_type = runtimeType(value_shadow_value) + if (RuntimeType.OBJECT == value_shadow_value_type) { + valueSerializer.writeInt8(0) + const value_shadow_value_0 = value_shadow_value as ShadowOptions + valueSerializer.writeShadowOptions(value_shadow_value_0) + } + else if (TypeChecker.isShadowStyle(value_shadow_value)) { + valueSerializer.writeInt8(1) + const value_shadow_value_1 = value_shadow_value as ShadowStyle + valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) + } + } + const value_textStyle = value.textStyle + let value_textStyle_type : int32 = RuntimeType.UNDEFINED + value_textStyle_type = runtimeType(value_textStyle) + valueSerializer.writeInt8(value_textStyle_type) + if ((RuntimeType.UNDEFINED) != (value_textStyle_type)) { + const value_textStyle_value = value_textStyle! + valueSerializer.writeTextStyle_alert_dialog(value_textStyle_value) + } + const value_enableHoverMode = value.enableHoverMode + let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED + value_enableHoverMode_type = runtimeType(value_enableHoverMode) + valueSerializer.writeInt8(value_enableHoverMode_type) + if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { + const value_enableHoverMode_value = value_enableHoverMode! + valueSerializer.writeBoolean(value_enableHoverMode_value) + } + const value_hoverModeArea = value.hoverModeArea + let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED + value_hoverModeArea_type = runtimeType(value_hoverModeArea) + valueSerializer.writeInt8(value_hoverModeArea_type) + if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { + const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) + valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) + } + const value_onDidAppear = value.onDidAppear + let value_onDidAppear_type : int32 = RuntimeType.UNDEFINED + value_onDidAppear_type = runtimeType(value_onDidAppear) + valueSerializer.writeInt8(value_onDidAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { + const value_onDidAppear_value = value_onDidAppear! + valueSerializer.holdAndWriteCallback(value_onDidAppear_value) + } + const value_onDidDisappear = value.onDidDisappear + let value_onDidDisappear_type : int32 = RuntimeType.UNDEFINED + value_onDidDisappear_type = runtimeType(value_onDidDisappear) + valueSerializer.writeInt8(value_onDidDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { + const value_onDidDisappear_value = value_onDidDisappear! + valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) + } + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) + } + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) + } + const value_levelMode = value.levelMode + let value_levelMode_type : int32 = RuntimeType.UNDEFINED + value_levelMode_type = runtimeType(value_levelMode) + valueSerializer.writeInt8(value_levelMode_type) + if ((RuntimeType.UNDEFINED) != (value_levelMode_type)) { + const value_levelMode_value = value_levelMode! + valueSerializer.writeLevelMode(value_levelMode_value) + } + const value_levelUniqueId = value.levelUniqueId + let value_levelUniqueId_type : int32 = RuntimeType.UNDEFINED + value_levelUniqueId_type = runtimeType(value_levelUniqueId) + valueSerializer.writeInt8(value_levelUniqueId_type) + if ((RuntimeType.UNDEFINED) != (value_levelUniqueId_type)) { + const value_levelUniqueId_value = value_levelUniqueId! + valueSerializer.writeNumber(value_levelUniqueId_value) + } + const value_immersiveMode = value.immersiveMode + let value_immersiveMode_type : int32 = RuntimeType.UNDEFINED + value_immersiveMode_type = runtimeType(value_immersiveMode) + valueSerializer.writeInt8(value_immersiveMode_type) + if ((RuntimeType.UNDEFINED) != (value_immersiveMode_type)) { + const value_immersiveMode_value = value_immersiveMode! + valueSerializer.writeImmersiveMode(value_immersiveMode_value) + } + const value_levelOrder = value.levelOrder + let value_levelOrder_type : int32 = RuntimeType.UNDEFINED + value_levelOrder_type = runtimeType(value_levelOrder) + valueSerializer.writeInt8(value_levelOrder_type) + if ((RuntimeType.UNDEFINED) != (value_levelOrder_type)) { + const value_levelOrder_value = value_levelOrder! + valueSerializer.writeLevelOrder(value_levelOrder_value) + } + const value_primaryButton = value.primaryButton + valueSerializer.writeAlertDialogButtonBaseOptions(value_primaryButton) + const value_secondaryButton = value.secondaryButton + valueSerializer.writeAlertDialogButtonBaseOptions(value_secondaryButton) + } + public writeAlertDialogParamWithConfirm(value: AlertDialogParamWithConfirm): void { + let valueSerializer : Serializer = this + const value_title = value.title + let value_title_type : int32 = RuntimeType.UNDEFINED + value_title_type = runtimeType(value_title) + valueSerializer.writeInt8(value_title_type) + if ((RuntimeType.UNDEFINED) != (value_title_type)) { + const value_title_value = value_title! + let value_title_value_type : int32 = RuntimeType.UNDEFINED + value_title_value_type = runtimeType(value_title_value) + if (RuntimeType.STRING == value_title_value_type) { + valueSerializer.writeInt8(0) + const value_title_value_0 = value_title_value as string + valueSerializer.writeString(value_title_value_0) + } + else if (RuntimeType.OBJECT == value_title_value_type) { + valueSerializer.writeInt8(1) + const value_title_value_1 = value_title_value as Resource + valueSerializer.writeResource(value_title_value_1) + } + } + const value_subtitle = value.subtitle + let value_subtitle_type : int32 = RuntimeType.UNDEFINED + value_subtitle_type = runtimeType(value_subtitle) + valueSerializer.writeInt8(value_subtitle_type) + if ((RuntimeType.UNDEFINED) != (value_subtitle_type)) { + const value_subtitle_value = value_subtitle! + let value_subtitle_value_type : int32 = RuntimeType.UNDEFINED + value_subtitle_value_type = runtimeType(value_subtitle_value) + if (RuntimeType.STRING == value_subtitle_value_type) { + valueSerializer.writeInt8(0) + const value_subtitle_value_0 = value_subtitle_value as string + valueSerializer.writeString(value_subtitle_value_0) + } + else if (RuntimeType.OBJECT == value_subtitle_value_type) { + valueSerializer.writeInt8(1) + const value_subtitle_value_1 = value_subtitle_value as Resource + valueSerializer.writeResource(value_subtitle_value_1) + } + } + const value_message = value.message + let value_message_type : int32 = RuntimeType.UNDEFINED + value_message_type = runtimeType(value_message) + if (RuntimeType.STRING == value_message_type) { + valueSerializer.writeInt8(0) + const value_message_0 = value_message as string + valueSerializer.writeString(value_message_0) + } + else if (RuntimeType.OBJECT == value_message_type) { + valueSerializer.writeInt8(1) + const value_message_1 = value_message as Resource + valueSerializer.writeResource(value_message_1) + } + const value_autoCancel = value.autoCancel + let value_autoCancel_type : int32 = RuntimeType.UNDEFINED + value_autoCancel_type = runtimeType(value_autoCancel) + valueSerializer.writeInt8(value_autoCancel_type) + if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { + const value_autoCancel_value = value_autoCancel! + valueSerializer.writeBoolean(value_autoCancel_value) + } + const value_cancel = value.cancel + let value_cancel_type : int32 = RuntimeType.UNDEFINED + value_cancel_type = runtimeType(value_cancel) + valueSerializer.writeInt8(value_cancel_type) + if ((RuntimeType.UNDEFINED) != (value_cancel_type)) { + const value_cancel_value = value_cancel! + valueSerializer.holdAndWriteCallback(value_cancel_value) + } + const value_alignment = value.alignment + let value_alignment_type : int32 = RuntimeType.UNDEFINED + value_alignment_type = runtimeType(value_alignment) + valueSerializer.writeInt8(value_alignment_type) + if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { + const value_alignment_value = (value_alignment as DialogAlignment) + valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) + } + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writeOffset(value_offset_value) + } + const value_gridCount = value.gridCount + let value_gridCount_type : int32 = RuntimeType.UNDEFINED + value_gridCount_type = runtimeType(value_gridCount) + valueSerializer.writeInt8(value_gridCount_type) + if ((RuntimeType.UNDEFINED) != (value_gridCount_type)) { + const value_gridCount_value = value_gridCount! + valueSerializer.writeNumber(value_gridCount_value) + } + const value_maskRect = value.maskRect + let value_maskRect_type : int32 = RuntimeType.UNDEFINED + value_maskRect_type = runtimeType(value_maskRect) + valueSerializer.writeInt8(value_maskRect_type) + if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { + const value_maskRect_value = value_maskRect! + valueSerializer.writeRectangle(value_maskRect_value) + } + const value_showInSubWindow = value.showInSubWindow + let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED + value_showInSubWindow_type = runtimeType(value_showInSubWindow) + valueSerializer.writeInt8(value_showInSubWindow_type) + if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { + const value_showInSubWindow_value = value_showInSubWindow! + valueSerializer.writeBoolean(value_showInSubWindow_value) + } + const value_isModal = value.isModal + let value_isModal_type : int32 = RuntimeType.UNDEFINED + value_isModal_type = runtimeType(value_isModal) + valueSerializer.writeInt8(value_isModal_type) + if ((RuntimeType.UNDEFINED) != (value_isModal_type)) { + const value_isModal_value = value_isModal! + valueSerializer.writeBoolean(value_isModal_value) + } + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (TypeChecker.isColor(value_backgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = value_backgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) + } + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = value_backgroundColor_value as number + valueSerializer.writeNumber(value_backgroundColor_value_1) + } + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = value_backgroundColor_value as string + valueSerializer.writeString(value_backgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = value_backgroundColor_value as Resource + valueSerializer.writeResource(value_backgroundColor_value_3) + } + } + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) + valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) + } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } + const value_onWillDismiss = value.onWillDismiss + let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED + value_onWillDismiss_type = runtimeType(value_onWillDismiss) + valueSerializer.writeInt8(value_onWillDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { + const value_onWillDismiss_value = value_onWillDismiss! + valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) + } + const value_transition = value.transition + let value_transition_type : int32 = RuntimeType.UNDEFINED + value_transition_type = runtimeType(value_transition) + valueSerializer.writeInt8(value_transition_type) + if ((RuntimeType.UNDEFINED) != (value_transition_type)) { + const value_transition_value = value_transition! + valueSerializer.writeTransitionEffect(value_transition_value) + } + const value_cornerRadius = value.cornerRadius + let value_cornerRadius_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_type = runtimeType(value_cornerRadius) + valueSerializer.writeInt8(value_cornerRadius_type) + if ((RuntimeType.UNDEFINED) != (value_cornerRadius_type)) { + const value_cornerRadius_value = value_cornerRadius! + let value_cornerRadius_value_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_value_type = runtimeType(value_cornerRadius_value) + if ((RuntimeType.STRING == value_cornerRadius_value_type) || (RuntimeType.NUMBER == value_cornerRadius_value_type) || (RuntimeType.OBJECT == value_cornerRadius_value_type)) { + valueSerializer.writeInt8(0) + const value_cornerRadius_value_0 = value_cornerRadius_value as Dimension + let value_cornerRadius_value_0_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_value_0_type = runtimeType(value_cornerRadius_value_0) + if (RuntimeType.STRING == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(0) + const value_cornerRadius_value_0_0 = value_cornerRadius_value_0 as string + valueSerializer.writeString(value_cornerRadius_value_0_0) + } + else if (RuntimeType.NUMBER == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_cornerRadius_value_0_1 = value_cornerRadius_value_0 as number + valueSerializer.writeNumber(value_cornerRadius_value_0_1) + } + else if (RuntimeType.OBJECT == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_cornerRadius_value_0_2 = value_cornerRadius_value_0 as Resource + valueSerializer.writeResource(value_cornerRadius_value_0_2) + } + } + else if (TypeChecker.isBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_cornerRadius_value_1 = value_cornerRadius_value as BorderRadiuses + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1) + } + else if (TypeChecker.isLocalizedBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_cornerRadius_value_2 = value_cornerRadius_value as LocalizedBorderRadiuses + valueSerializer.writeLocalizedBorderRadiuses(value_cornerRadius_value_2) + } + } + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as string + valueSerializer.writeString(value_width_value_0) + } + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as number + valueSerializer.writeNumber(value_width_value_1) + } + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as Resource + valueSerializer.writeResource(value_width_value_2) + } + } + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type : int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.STRING == value_height_value_type) { + valueSerializer.writeInt8(0) + const value_height_value_0 = value_height_value as string + valueSerializer.writeString(value_height_value_0) + } + else if (RuntimeType.NUMBER == value_height_value_type) { + valueSerializer.writeInt8(1) + const value_height_value_1 = value_height_value as number + valueSerializer.writeNumber(value_height_value_1) + } + else if (RuntimeType.OBJECT == value_height_value_type) { + valueSerializer.writeInt8(2) + const value_height_value_2 = value_height_value as Resource + valueSerializer.writeResource(value_height_value_2) + } + } + const value_borderWidth = value.borderWidth + let value_borderWidth_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_type = runtimeType(value_borderWidth) + valueSerializer.writeInt8(value_borderWidth_type) + if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { + const value_borderWidth_value = value_borderWidth! + let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_type = runtimeType(value_borderWidth_value) + if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0 = value_borderWidth_value as Dimension + let value_borderWidth_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) + if (RuntimeType.STRING == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0_0 = value_borderWidth_value_0 as string + valueSerializer.writeString(value_borderWidth_value_0_0) + } + else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_0_1 = value_borderWidth_value_0 as number + valueSerializer.writeNumber(value_borderWidth_value_0_1) + } + else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_0_2 = value_borderWidth_value_0 as Resource + valueSerializer.writeResource(value_borderWidth_value_0_2) + } + } + else if (TypeChecker.isEdgeWidths(value_borderWidth_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_1 = value_borderWidth_value as EdgeWidths + valueSerializer.writeEdgeWidths(value_borderWidth_value_1) + } + else if (TypeChecker.isLocalizedEdgeWidths(value_borderWidth_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_2 = value_borderWidth_value as LocalizedEdgeWidths + valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2) + } + } + const value_borderColor = value.borderColor + let value_borderColor_type : int32 = RuntimeType.UNDEFINED + value_borderColor_type = runtimeType(value_borderColor) + valueSerializer.writeInt8(value_borderColor_type) + if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { + const value_borderColor_value = value_borderColor! + let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_type = runtimeType(value_borderColor_value) + if ((TypeChecker.isColor(value_borderColor_value)) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0 = value_borderColor_value as ResourceColor + let value_borderColor_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) + if (TypeChecker.isColor(value_borderColor_value_0)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0_0 = value_borderColor_value_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0_0)) + } + else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderColor_value_0_1 = value_borderColor_value_0 as number + valueSerializer.writeNumber(value_borderColor_value_0_1) + } + else if (RuntimeType.STRING == value_borderColor_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderColor_value_0_2 = value_borderColor_value_0 as string + valueSerializer.writeString(value_borderColor_value_0_2) + } + else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { + valueSerializer.writeInt8(3) + const value_borderColor_value_0_3 = value_borderColor_value_0 as Resource + valueSerializer.writeResource(value_borderColor_value_0_3) + } + } + else if (TypeChecker.isEdgeColors(value_borderColor_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_borderColor_value_1 = value_borderColor_value as EdgeColors + valueSerializer.writeEdgeColors(value_borderColor_value_1) + } + else if (TypeChecker.isLocalizedEdgeColors(value_borderColor_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_borderColor_value_2 = value_borderColor_value as LocalizedEdgeColors + valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2) + } + } + const value_borderStyle = value.borderStyle + let value_borderStyle_type : int32 = RuntimeType.UNDEFINED + value_borderStyle_type = runtimeType(value_borderStyle) + valueSerializer.writeInt8(value_borderStyle_type) + if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { + const value_borderStyle_value = value_borderStyle! + let value_borderStyle_value_type : int32 = RuntimeType.UNDEFINED + value_borderStyle_value_type = runtimeType(value_borderStyle_value) + if (TypeChecker.isBorderStyle(value_borderStyle_value)) { + valueSerializer.writeInt8(0) + const value_borderStyle_value_0 = value_borderStyle_value as BorderStyle + valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_borderStyle_value_0)) + } + else if (RuntimeType.OBJECT == value_borderStyle_value_type) { + valueSerializer.writeInt8(1) + const value_borderStyle_value_1 = value_borderStyle_value as EdgeStyles + valueSerializer.writeEdgeStyles(value_borderStyle_value_1) + } + } + const value_shadow = value.shadow + let value_shadow_type : int32 = RuntimeType.UNDEFINED + value_shadow_type = runtimeType(value_shadow) + valueSerializer.writeInt8(value_shadow_type) + if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { + const value_shadow_value = value_shadow! + let value_shadow_value_type : int32 = RuntimeType.UNDEFINED + value_shadow_value_type = runtimeType(value_shadow_value) + if (RuntimeType.OBJECT == value_shadow_value_type) { + valueSerializer.writeInt8(0) + const value_shadow_value_0 = value_shadow_value as ShadowOptions + valueSerializer.writeShadowOptions(value_shadow_value_0) + } + else if (TypeChecker.isShadowStyle(value_shadow_value)) { + valueSerializer.writeInt8(1) + const value_shadow_value_1 = value_shadow_value as ShadowStyle + valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) + } + } + const value_textStyle = value.textStyle + let value_textStyle_type : int32 = RuntimeType.UNDEFINED + value_textStyle_type = runtimeType(value_textStyle) + valueSerializer.writeInt8(value_textStyle_type) + if ((RuntimeType.UNDEFINED) != (value_textStyle_type)) { + const value_textStyle_value = value_textStyle! + valueSerializer.writeTextStyle_alert_dialog(value_textStyle_value) + } + const value_enableHoverMode = value.enableHoverMode + let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED + value_enableHoverMode_type = runtimeType(value_enableHoverMode) + valueSerializer.writeInt8(value_enableHoverMode_type) + if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { + const value_enableHoverMode_value = value_enableHoverMode! + valueSerializer.writeBoolean(value_enableHoverMode_value) + } + const value_hoverModeArea = value.hoverModeArea + let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED + value_hoverModeArea_type = runtimeType(value_hoverModeArea) + valueSerializer.writeInt8(value_hoverModeArea_type) + if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { + const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) + valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) + } + const value_onDidAppear = value.onDidAppear + let value_onDidAppear_type : int32 = RuntimeType.UNDEFINED + value_onDidAppear_type = runtimeType(value_onDidAppear) + valueSerializer.writeInt8(value_onDidAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { + const value_onDidAppear_value = value_onDidAppear! + valueSerializer.holdAndWriteCallback(value_onDidAppear_value) + } + const value_onDidDisappear = value.onDidDisappear + let value_onDidDisappear_type : int32 = RuntimeType.UNDEFINED + value_onDidDisappear_type = runtimeType(value_onDidDisappear) + valueSerializer.writeInt8(value_onDidDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { + const value_onDidDisappear_value = value_onDidDisappear! + valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) + } + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) + } + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) + } + const value_levelMode = value.levelMode + let value_levelMode_type : int32 = RuntimeType.UNDEFINED + value_levelMode_type = runtimeType(value_levelMode) + valueSerializer.writeInt8(value_levelMode_type) + if ((RuntimeType.UNDEFINED) != (value_levelMode_type)) { + const value_levelMode_value = value_levelMode! + valueSerializer.writeLevelMode(value_levelMode_value) + } + const value_levelUniqueId = value.levelUniqueId + let value_levelUniqueId_type : int32 = RuntimeType.UNDEFINED + value_levelUniqueId_type = runtimeType(value_levelUniqueId) + valueSerializer.writeInt8(value_levelUniqueId_type) + if ((RuntimeType.UNDEFINED) != (value_levelUniqueId_type)) { + const value_levelUniqueId_value = value_levelUniqueId! + valueSerializer.writeNumber(value_levelUniqueId_value) + } + const value_immersiveMode = value.immersiveMode + let value_immersiveMode_type : int32 = RuntimeType.UNDEFINED + value_immersiveMode_type = runtimeType(value_immersiveMode) + valueSerializer.writeInt8(value_immersiveMode_type) + if ((RuntimeType.UNDEFINED) != (value_immersiveMode_type)) { + const value_immersiveMode_value = value_immersiveMode! + valueSerializer.writeImmersiveMode(value_immersiveMode_value) + } + const value_levelOrder = value.levelOrder + let value_levelOrder_type : int32 = RuntimeType.UNDEFINED + value_levelOrder_type = runtimeType(value_levelOrder) + valueSerializer.writeInt8(value_levelOrder_type) + if ((RuntimeType.UNDEFINED) != (value_levelOrder_type)) { + const value_levelOrder_value = value_levelOrder! + valueSerializer.writeLevelOrder(value_levelOrder_value) + } + const value_confirm = value.confirm + let value_confirm_type : int32 = RuntimeType.UNDEFINED + value_confirm_type = runtimeType(value_confirm) + valueSerializer.writeInt8(value_confirm_type) + if ((RuntimeType.UNDEFINED) != (value_confirm_type)) { + const value_confirm_value = value_confirm! + valueSerializer.writeAlertDialogButtonBaseOptions(value_confirm_value) + } + } + public writeAlertDialogParamWithOptions(value: AlertDialogParamWithOptions): void { + let valueSerializer : Serializer = this + const value_title = value.title + let value_title_type : int32 = RuntimeType.UNDEFINED + value_title_type = runtimeType(value_title) + valueSerializer.writeInt8(value_title_type) + if ((RuntimeType.UNDEFINED) != (value_title_type)) { + const value_title_value = value_title! + let value_title_value_type : int32 = RuntimeType.UNDEFINED + value_title_value_type = runtimeType(value_title_value) + if (RuntimeType.STRING == value_title_value_type) { + valueSerializer.writeInt8(0) + const value_title_value_0 = value_title_value as string + valueSerializer.writeString(value_title_value_0) + } + else if (RuntimeType.OBJECT == value_title_value_type) { + valueSerializer.writeInt8(1) + const value_title_value_1 = value_title_value as Resource + valueSerializer.writeResource(value_title_value_1) + } + } + const value_subtitle = value.subtitle + let value_subtitle_type : int32 = RuntimeType.UNDEFINED + value_subtitle_type = runtimeType(value_subtitle) + valueSerializer.writeInt8(value_subtitle_type) + if ((RuntimeType.UNDEFINED) != (value_subtitle_type)) { + const value_subtitle_value = value_subtitle! + let value_subtitle_value_type : int32 = RuntimeType.UNDEFINED + value_subtitle_value_type = runtimeType(value_subtitle_value) + if (RuntimeType.STRING == value_subtitle_value_type) { + valueSerializer.writeInt8(0) + const value_subtitle_value_0 = value_subtitle_value as string + valueSerializer.writeString(value_subtitle_value_0) + } + else if (RuntimeType.OBJECT == value_subtitle_value_type) { + valueSerializer.writeInt8(1) + const value_subtitle_value_1 = value_subtitle_value as Resource + valueSerializer.writeResource(value_subtitle_value_1) + } + } + const value_message = value.message + let value_message_type : int32 = RuntimeType.UNDEFINED + value_message_type = runtimeType(value_message) + if (RuntimeType.STRING == value_message_type) { + valueSerializer.writeInt8(0) + const value_message_0 = value_message as string + valueSerializer.writeString(value_message_0) + } + else if (RuntimeType.OBJECT == value_message_type) { + valueSerializer.writeInt8(1) + const value_message_1 = value_message as Resource + valueSerializer.writeResource(value_message_1) + } + const value_autoCancel = value.autoCancel + let value_autoCancel_type : int32 = RuntimeType.UNDEFINED + value_autoCancel_type = runtimeType(value_autoCancel) + valueSerializer.writeInt8(value_autoCancel_type) + if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { + const value_autoCancel_value = value_autoCancel! + valueSerializer.writeBoolean(value_autoCancel_value) + } + const value_cancel = value.cancel + let value_cancel_type : int32 = RuntimeType.UNDEFINED + value_cancel_type = runtimeType(value_cancel) + valueSerializer.writeInt8(value_cancel_type) + if ((RuntimeType.UNDEFINED) != (value_cancel_type)) { + const value_cancel_value = value_cancel! + valueSerializer.holdAndWriteCallback(value_cancel_value) + } + const value_alignment = value.alignment + let value_alignment_type : int32 = RuntimeType.UNDEFINED + value_alignment_type = runtimeType(value_alignment) + valueSerializer.writeInt8(value_alignment_type) + if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { + const value_alignment_value = (value_alignment as DialogAlignment) + valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) + } + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writeOffset(value_offset_value) + } + const value_gridCount = value.gridCount + let value_gridCount_type : int32 = RuntimeType.UNDEFINED + value_gridCount_type = runtimeType(value_gridCount) + valueSerializer.writeInt8(value_gridCount_type) + if ((RuntimeType.UNDEFINED) != (value_gridCount_type)) { + const value_gridCount_value = value_gridCount! + valueSerializer.writeNumber(value_gridCount_value) + } + const value_maskRect = value.maskRect + let value_maskRect_type : int32 = RuntimeType.UNDEFINED + value_maskRect_type = runtimeType(value_maskRect) + valueSerializer.writeInt8(value_maskRect_type) + if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { + const value_maskRect_value = value_maskRect! + valueSerializer.writeRectangle(value_maskRect_value) + } + const value_showInSubWindow = value.showInSubWindow + let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED + value_showInSubWindow_type = runtimeType(value_showInSubWindow) + valueSerializer.writeInt8(value_showInSubWindow_type) + if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { + const value_showInSubWindow_value = value_showInSubWindow! + valueSerializer.writeBoolean(value_showInSubWindow_value) + } + const value_isModal = value.isModal + let value_isModal_type : int32 = RuntimeType.UNDEFINED + value_isModal_type = runtimeType(value_isModal) + valueSerializer.writeInt8(value_isModal_type) + if ((RuntimeType.UNDEFINED) != (value_isModal_type)) { + const value_isModal_value = value_isModal! + valueSerializer.writeBoolean(value_isModal_value) + } + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (TypeChecker.isColor(value_backgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = value_backgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) + } + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = value_backgroundColor_value as number + valueSerializer.writeNumber(value_backgroundColor_value_1) + } + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = value_backgroundColor_value as string + valueSerializer.writeString(value_backgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = value_backgroundColor_value as Resource + valueSerializer.writeResource(value_backgroundColor_value_3) + } + } + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) + valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) + } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } + const value_onWillDismiss = value.onWillDismiss + let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED + value_onWillDismiss_type = runtimeType(value_onWillDismiss) + valueSerializer.writeInt8(value_onWillDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { + const value_onWillDismiss_value = value_onWillDismiss! + valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) + } + const value_transition = value.transition + let value_transition_type : int32 = RuntimeType.UNDEFINED + value_transition_type = runtimeType(value_transition) + valueSerializer.writeInt8(value_transition_type) + if ((RuntimeType.UNDEFINED) != (value_transition_type)) { + const value_transition_value = value_transition! + valueSerializer.writeTransitionEffect(value_transition_value) + } + const value_cornerRadius = value.cornerRadius + let value_cornerRadius_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_type = runtimeType(value_cornerRadius) + valueSerializer.writeInt8(value_cornerRadius_type) + if ((RuntimeType.UNDEFINED) != (value_cornerRadius_type)) { + const value_cornerRadius_value = value_cornerRadius! + let value_cornerRadius_value_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_value_type = runtimeType(value_cornerRadius_value) + if ((RuntimeType.STRING == value_cornerRadius_value_type) || (RuntimeType.NUMBER == value_cornerRadius_value_type) || (RuntimeType.OBJECT == value_cornerRadius_value_type)) { + valueSerializer.writeInt8(0) + const value_cornerRadius_value_0 = value_cornerRadius_value as Dimension + let value_cornerRadius_value_0_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_value_0_type = runtimeType(value_cornerRadius_value_0) + if (RuntimeType.STRING == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(0) + const value_cornerRadius_value_0_0 = value_cornerRadius_value_0 as string + valueSerializer.writeString(value_cornerRadius_value_0_0) + } + else if (RuntimeType.NUMBER == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_cornerRadius_value_0_1 = value_cornerRadius_value_0 as number + valueSerializer.writeNumber(value_cornerRadius_value_0_1) + } + else if (RuntimeType.OBJECT == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_cornerRadius_value_0_2 = value_cornerRadius_value_0 as Resource + valueSerializer.writeResource(value_cornerRadius_value_0_2) + } + } + else if (TypeChecker.isBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_cornerRadius_value_1 = value_cornerRadius_value as BorderRadiuses + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1) + } + else if (TypeChecker.isLocalizedBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_cornerRadius_value_2 = value_cornerRadius_value as LocalizedBorderRadiuses + valueSerializer.writeLocalizedBorderRadiuses(value_cornerRadius_value_2) + } + } + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as string + valueSerializer.writeString(value_width_value_0) + } + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as number + valueSerializer.writeNumber(value_width_value_1) + } + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as Resource + valueSerializer.writeResource(value_width_value_2) + } + } + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type : int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.STRING == value_height_value_type) { + valueSerializer.writeInt8(0) + const value_height_value_0 = value_height_value as string + valueSerializer.writeString(value_height_value_0) + } + else if (RuntimeType.NUMBER == value_height_value_type) { + valueSerializer.writeInt8(1) + const value_height_value_1 = value_height_value as number + valueSerializer.writeNumber(value_height_value_1) + } + else if (RuntimeType.OBJECT == value_height_value_type) { + valueSerializer.writeInt8(2) + const value_height_value_2 = value_height_value as Resource + valueSerializer.writeResource(value_height_value_2) + } + } + const value_borderWidth = value.borderWidth + let value_borderWidth_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_type = runtimeType(value_borderWidth) + valueSerializer.writeInt8(value_borderWidth_type) + if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { + const value_borderWidth_value = value_borderWidth! + let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_type = runtimeType(value_borderWidth_value) + if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0 = value_borderWidth_value as Dimension + let value_borderWidth_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) + if (RuntimeType.STRING == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0_0 = value_borderWidth_value_0 as string + valueSerializer.writeString(value_borderWidth_value_0_0) + } + else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_0_1 = value_borderWidth_value_0 as number + valueSerializer.writeNumber(value_borderWidth_value_0_1) + } + else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_0_2 = value_borderWidth_value_0 as Resource + valueSerializer.writeResource(value_borderWidth_value_0_2) + } + } + else if (TypeChecker.isEdgeWidths(value_borderWidth_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_1 = value_borderWidth_value as EdgeWidths + valueSerializer.writeEdgeWidths(value_borderWidth_value_1) + } + else if (TypeChecker.isLocalizedEdgeWidths(value_borderWidth_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_2 = value_borderWidth_value as LocalizedEdgeWidths + valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2) + } + } + const value_borderColor = value.borderColor + let value_borderColor_type : int32 = RuntimeType.UNDEFINED + value_borderColor_type = runtimeType(value_borderColor) + valueSerializer.writeInt8(value_borderColor_type) + if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { + const value_borderColor_value = value_borderColor! + let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_type = runtimeType(value_borderColor_value) + if ((TypeChecker.isColor(value_borderColor_value)) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0 = value_borderColor_value as ResourceColor + let value_borderColor_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) + if (TypeChecker.isColor(value_borderColor_value_0)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0_0 = value_borderColor_value_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0_0)) + } + else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderColor_value_0_1 = value_borderColor_value_0 as number + valueSerializer.writeNumber(value_borderColor_value_0_1) + } + else if (RuntimeType.STRING == value_borderColor_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderColor_value_0_2 = value_borderColor_value_0 as string + valueSerializer.writeString(value_borderColor_value_0_2) + } + else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { + valueSerializer.writeInt8(3) + const value_borderColor_value_0_3 = value_borderColor_value_0 as Resource + valueSerializer.writeResource(value_borderColor_value_0_3) + } + } + else if (TypeChecker.isEdgeColors(value_borderColor_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_borderColor_value_1 = value_borderColor_value as EdgeColors + valueSerializer.writeEdgeColors(value_borderColor_value_1) + } + else if (TypeChecker.isLocalizedEdgeColors(value_borderColor_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_borderColor_value_2 = value_borderColor_value as LocalizedEdgeColors + valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2) + } + } + const value_borderStyle = value.borderStyle + let value_borderStyle_type : int32 = RuntimeType.UNDEFINED + value_borderStyle_type = runtimeType(value_borderStyle) + valueSerializer.writeInt8(value_borderStyle_type) + if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { + const value_borderStyle_value = value_borderStyle! + let value_borderStyle_value_type : int32 = RuntimeType.UNDEFINED + value_borderStyle_value_type = runtimeType(value_borderStyle_value) + if (TypeChecker.isBorderStyle(value_borderStyle_value)) { + valueSerializer.writeInt8(0) + const value_borderStyle_value_0 = value_borderStyle_value as BorderStyle + valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_borderStyle_value_0)) + } + else if (RuntimeType.OBJECT == value_borderStyle_value_type) { + valueSerializer.writeInt8(1) + const value_borderStyle_value_1 = value_borderStyle_value as EdgeStyles + valueSerializer.writeEdgeStyles(value_borderStyle_value_1) + } + } + const value_shadow = value.shadow + let value_shadow_type : int32 = RuntimeType.UNDEFINED + value_shadow_type = runtimeType(value_shadow) + valueSerializer.writeInt8(value_shadow_type) + if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { + const value_shadow_value = value_shadow! + let value_shadow_value_type : int32 = RuntimeType.UNDEFINED + value_shadow_value_type = runtimeType(value_shadow_value) + if (RuntimeType.OBJECT == value_shadow_value_type) { + valueSerializer.writeInt8(0) + const value_shadow_value_0 = value_shadow_value as ShadowOptions + valueSerializer.writeShadowOptions(value_shadow_value_0) + } + else if (TypeChecker.isShadowStyle(value_shadow_value)) { + valueSerializer.writeInt8(1) + const value_shadow_value_1 = value_shadow_value as ShadowStyle + valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) + } + } + const value_textStyle = value.textStyle + let value_textStyle_type : int32 = RuntimeType.UNDEFINED + value_textStyle_type = runtimeType(value_textStyle) + valueSerializer.writeInt8(value_textStyle_type) + if ((RuntimeType.UNDEFINED) != (value_textStyle_type)) { + const value_textStyle_value = value_textStyle! + valueSerializer.writeTextStyle_alert_dialog(value_textStyle_value) + } + const value_enableHoverMode = value.enableHoverMode + let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED + value_enableHoverMode_type = runtimeType(value_enableHoverMode) + valueSerializer.writeInt8(value_enableHoverMode_type) + if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { + const value_enableHoverMode_value = value_enableHoverMode! + valueSerializer.writeBoolean(value_enableHoverMode_value) + } + const value_hoverModeArea = value.hoverModeArea + let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED + value_hoverModeArea_type = runtimeType(value_hoverModeArea) + valueSerializer.writeInt8(value_hoverModeArea_type) + if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { + const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) + valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) + } + const value_onDidAppear = value.onDidAppear + let value_onDidAppear_type : int32 = RuntimeType.UNDEFINED + value_onDidAppear_type = runtimeType(value_onDidAppear) + valueSerializer.writeInt8(value_onDidAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { + const value_onDidAppear_value = value_onDidAppear! + valueSerializer.holdAndWriteCallback(value_onDidAppear_value) + } + const value_onDidDisappear = value.onDidDisappear + let value_onDidDisappear_type : int32 = RuntimeType.UNDEFINED + value_onDidDisappear_type = runtimeType(value_onDidDisappear) + valueSerializer.writeInt8(value_onDidDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { + const value_onDidDisappear_value = value_onDidDisappear! + valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) + } + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) + } + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) + } + const value_levelMode = value.levelMode + let value_levelMode_type : int32 = RuntimeType.UNDEFINED + value_levelMode_type = runtimeType(value_levelMode) + valueSerializer.writeInt8(value_levelMode_type) + if ((RuntimeType.UNDEFINED) != (value_levelMode_type)) { + const value_levelMode_value = value_levelMode! + valueSerializer.writeLevelMode(value_levelMode_value) + } + const value_levelUniqueId = value.levelUniqueId + let value_levelUniqueId_type : int32 = RuntimeType.UNDEFINED + value_levelUniqueId_type = runtimeType(value_levelUniqueId) + valueSerializer.writeInt8(value_levelUniqueId_type) + if ((RuntimeType.UNDEFINED) != (value_levelUniqueId_type)) { + const value_levelUniqueId_value = value_levelUniqueId! + valueSerializer.writeNumber(value_levelUniqueId_value) + } + const value_immersiveMode = value.immersiveMode + let value_immersiveMode_type : int32 = RuntimeType.UNDEFINED + value_immersiveMode_type = runtimeType(value_immersiveMode) + valueSerializer.writeInt8(value_immersiveMode_type) + if ((RuntimeType.UNDEFINED) != (value_immersiveMode_type)) { + const value_immersiveMode_value = value_immersiveMode! + valueSerializer.writeImmersiveMode(value_immersiveMode_value) + } + const value_levelOrder = value.levelOrder + let value_levelOrder_type : int32 = RuntimeType.UNDEFINED + value_levelOrder_type = runtimeType(value_levelOrder) + valueSerializer.writeInt8(value_levelOrder_type) + if ((RuntimeType.UNDEFINED) != (value_levelOrder_type)) { + const value_levelOrder_value = value_levelOrder! + valueSerializer.writeLevelOrder(value_levelOrder_value) + } + const value_buttons = value.buttons + valueSerializer.writeInt32(value_buttons.length as int32) + for (let i = 0; i < value_buttons.length; i++) { + const value_buttons_element : AlertDialogButtonOptions = value_buttons[i] + valueSerializer.writeAlertDialogButtonOptions(value_buttons_element) + } + const value_buttonDirection = value.buttonDirection + let value_buttonDirection_type : int32 = RuntimeType.UNDEFINED + value_buttonDirection_type = runtimeType(value_buttonDirection) + valueSerializer.writeInt8(value_buttonDirection_type) + if ((RuntimeType.UNDEFINED) != (value_buttonDirection_type)) { + const value_buttonDirection_value = (value_buttonDirection as DialogButtonDirection) + valueSerializer.writeInt32(TypeChecker.DialogButtonDirection_ToNumeric(value_buttonDirection_value)) + } + } + public writeArea(value: Area): void { + let valueSerializer : Serializer = this + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + if (RuntimeType.STRING == value_width_type) { + valueSerializer.writeInt8(0) + const value_width_0 = value_width as string + valueSerializer.writeString(value_width_0) + } + else if (RuntimeType.NUMBER == value_width_type) { + valueSerializer.writeInt8(1) + const value_width_1 = value_width as number + valueSerializer.writeNumber(value_width_1) + } + else if (RuntimeType.OBJECT == value_width_type) { + valueSerializer.writeInt8(2) + const value_width_2 = value_width as Resource + valueSerializer.writeResource(value_width_2) + } + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + if (RuntimeType.STRING == value_height_type) { + valueSerializer.writeInt8(0) + const value_height_0 = value_height as string + valueSerializer.writeString(value_height_0) + } + else if (RuntimeType.NUMBER == value_height_type) { + valueSerializer.writeInt8(1) + const value_height_1 = value_height as number + valueSerializer.writeNumber(value_height_1) + } + else if (RuntimeType.OBJECT == value_height_type) { + valueSerializer.writeInt8(2) + const value_height_2 = value_height as Resource + valueSerializer.writeResource(value_height_2) + } + const value_position = value.position + valueSerializer.writePosition(value_position) + const value_globalPosition = value.globalPosition + valueSerializer.writePosition(value_globalPosition) + } + public writeBadgeParamWithNumber(value: BadgeParamWithNumber): void { + let valueSerializer : Serializer = this + const value_position = value.position + let value_position_type : int32 = RuntimeType.UNDEFINED + value_position_type = runtimeType(value_position) + valueSerializer.writeInt8(value_position_type) + if ((RuntimeType.UNDEFINED) != (value_position_type)) { + const value_position_value = value_position! + let value_position_value_type : int32 = RuntimeType.UNDEFINED + value_position_value_type = runtimeType(value_position_value) + if (TypeChecker.isBadgePosition(value_position_value)) { + valueSerializer.writeInt8(0) + const value_position_value_0 = value_position_value as BadgePosition + valueSerializer.writeInt32(TypeChecker.BadgePosition_ToNumeric(value_position_value_0)) + } + else if (RuntimeType.OBJECT == value_position_value_type) { + valueSerializer.writeInt8(1) + const value_position_value_1 = value_position_value as Position + valueSerializer.writePosition(value_position_value_1) + } + } + const value_style = value.style + valueSerializer.writeBadgeStyle(value_style) + const value_count = value.count + valueSerializer.writeNumber(value_count) + const value_maxCount = value.maxCount + let value_maxCount_type : int32 = RuntimeType.UNDEFINED + value_maxCount_type = runtimeType(value_maxCount) + valueSerializer.writeInt8(value_maxCount_type) + if ((RuntimeType.UNDEFINED) != (value_maxCount_type)) { + const value_maxCount_value = value_maxCount! + valueSerializer.writeNumber(value_maxCount_value) + } + } + public writeBadgeParamWithString(value: BadgeParamWithString): void { + let valueSerializer : Serializer = this + const value_position = value.position + let value_position_type : int32 = RuntimeType.UNDEFINED + value_position_type = runtimeType(value_position) + valueSerializer.writeInt8(value_position_type) + if ((RuntimeType.UNDEFINED) != (value_position_type)) { + const value_position_value = value_position! + let value_position_value_type : int32 = RuntimeType.UNDEFINED + value_position_value_type = runtimeType(value_position_value) + if (TypeChecker.isBadgePosition(value_position_value)) { + valueSerializer.writeInt8(0) + const value_position_value_0 = value_position_value as BadgePosition + valueSerializer.writeInt32(TypeChecker.BadgePosition_ToNumeric(value_position_value_0)) + } + else if (RuntimeType.OBJECT == value_position_value_type) { + valueSerializer.writeInt8(1) + const value_position_value_1 = value_position_value as Position + valueSerializer.writePosition(value_position_value_1) + } + } + const value_style = value.style + valueSerializer.writeBadgeStyle(value_style) + const value_value = value.value + valueSerializer.writeString(value_value) + } + public writeBorderImageOption(value: BorderImageOption): void { + let valueSerializer : Serializer = this + const value_slice = value.slice + let value_slice_type : int32 = RuntimeType.UNDEFINED + value_slice_type = runtimeType(value_slice) + valueSerializer.writeInt8(value_slice_type) + if ((RuntimeType.UNDEFINED) != (value_slice_type)) { + const value_slice_value = value_slice! + let value_slice_value_type : int32 = RuntimeType.UNDEFINED + value_slice_value_type = runtimeType(value_slice_value) + if ((RuntimeType.STRING == value_slice_value_type) || (RuntimeType.NUMBER == value_slice_value_type) || (RuntimeType.OBJECT == value_slice_value_type)) { + valueSerializer.writeInt8(0) + const value_slice_value_0 = value_slice_value as Length + let value_slice_value_0_type : int32 = RuntimeType.UNDEFINED + value_slice_value_0_type = runtimeType(value_slice_value_0) + if (RuntimeType.STRING == value_slice_value_0_type) { + valueSerializer.writeInt8(0) + const value_slice_value_0_0 = value_slice_value_0 as string + valueSerializer.writeString(value_slice_value_0_0) + } + else if (RuntimeType.NUMBER == value_slice_value_0_type) { + valueSerializer.writeInt8(1) + const value_slice_value_0_1 = value_slice_value_0 as number + valueSerializer.writeNumber(value_slice_value_0_1) + } + else if (RuntimeType.OBJECT == value_slice_value_0_type) { + valueSerializer.writeInt8(2) + const value_slice_value_0_2 = value_slice_value_0 as Resource + valueSerializer.writeResource(value_slice_value_0_2) + } + } + else if (TypeChecker.isEdgeWidths(value_slice_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_slice_value_1 = value_slice_value as EdgeWidths + valueSerializer.writeEdgeWidths(value_slice_value_1) + } + else if (TypeChecker.isLocalizedEdgeWidths(value_slice_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_slice_value_2 = value_slice_value as LocalizedEdgeWidths + valueSerializer.writeLocalizedEdgeWidths(value_slice_value_2) + } + } + const value_repeat = value.repeat + let value_repeat_type : int32 = RuntimeType.UNDEFINED + value_repeat_type = runtimeType(value_repeat) + valueSerializer.writeInt8(value_repeat_type) + if ((RuntimeType.UNDEFINED) != (value_repeat_type)) { + const value_repeat_value = (value_repeat as RepeatMode) + valueSerializer.writeInt32(TypeChecker.RepeatMode_ToNumeric(value_repeat_value)) + } + const value_source = value.source + let value_source_type : int32 = RuntimeType.UNDEFINED + value_source_type = runtimeType(value_source) + valueSerializer.writeInt8(value_source_type) + if ((RuntimeType.UNDEFINED) != (value_source_type)) { + const value_source_value = value_source! + let value_source_value_type : int32 = RuntimeType.UNDEFINED + value_source_value_type = runtimeType(value_source_value) + if (RuntimeType.STRING == value_source_value_type) { + valueSerializer.writeInt8(0) + const value_source_value_0 = value_source_value as string + valueSerializer.writeString(value_source_value_0) + } + else if (TypeChecker.isResource(value_source_value, false, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_source_value_1 = value_source_value as Resource + valueSerializer.writeResource(value_source_value_1) + } + else if (TypeChecker.isLinearGradient_common(value_source_value, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_source_value_2 = value_source_value as LinearGradient_common + valueSerializer.writeLinearGradient_common(value_source_value_2) + } + } + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if ((RuntimeType.STRING == value_width_value_type) || (RuntimeType.NUMBER == value_width_value_type) || (RuntimeType.OBJECT == value_width_value_type)) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as Length + let value_width_value_0_type : int32 = RuntimeType.UNDEFINED + value_width_value_0_type = runtimeType(value_width_value_0) + if (RuntimeType.STRING == value_width_value_0_type) { + valueSerializer.writeInt8(0) + const value_width_value_0_0 = value_width_value_0 as string + valueSerializer.writeString(value_width_value_0_0) + } + else if (RuntimeType.NUMBER == value_width_value_0_type) { + valueSerializer.writeInt8(1) + const value_width_value_0_1 = value_width_value_0 as number + valueSerializer.writeNumber(value_width_value_0_1) + } + else if (RuntimeType.OBJECT == value_width_value_0_type) { + valueSerializer.writeInt8(2) + const value_width_value_0_2 = value_width_value_0 as Resource + valueSerializer.writeResource(value_width_value_0_2) + } + } + else if (TypeChecker.isEdgeWidths(value_width_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as EdgeWidths + valueSerializer.writeEdgeWidths(value_width_value_1) + } + else if (TypeChecker.isLocalizedEdgeWidths(value_width_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as LocalizedEdgeWidths + valueSerializer.writeLocalizedEdgeWidths(value_width_value_2) + } + } + const value_outset = value.outset + let value_outset_type : int32 = RuntimeType.UNDEFINED + value_outset_type = runtimeType(value_outset) + valueSerializer.writeInt8(value_outset_type) + if ((RuntimeType.UNDEFINED) != (value_outset_type)) { + const value_outset_value = value_outset! + let value_outset_value_type : int32 = RuntimeType.UNDEFINED + value_outset_value_type = runtimeType(value_outset_value) + if ((RuntimeType.STRING == value_outset_value_type) || (RuntimeType.NUMBER == value_outset_value_type) || (RuntimeType.OBJECT == value_outset_value_type)) { + valueSerializer.writeInt8(0) + const value_outset_value_0 = value_outset_value as Length + let value_outset_value_0_type : int32 = RuntimeType.UNDEFINED + value_outset_value_0_type = runtimeType(value_outset_value_0) + if (RuntimeType.STRING == value_outset_value_0_type) { + valueSerializer.writeInt8(0) + const value_outset_value_0_0 = value_outset_value_0 as string + valueSerializer.writeString(value_outset_value_0_0) + } + else if (RuntimeType.NUMBER == value_outset_value_0_type) { + valueSerializer.writeInt8(1) + const value_outset_value_0_1 = value_outset_value_0 as number + valueSerializer.writeNumber(value_outset_value_0_1) + } + else if (RuntimeType.OBJECT == value_outset_value_0_type) { + valueSerializer.writeInt8(2) + const value_outset_value_0_2 = value_outset_value_0 as Resource + valueSerializer.writeResource(value_outset_value_0_2) + } + } + else if (TypeChecker.isEdgeWidths(value_outset_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_outset_value_1 = value_outset_value as EdgeWidths + valueSerializer.writeEdgeWidths(value_outset_value_1) + } + else if (TypeChecker.isLocalizedEdgeWidths(value_outset_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_outset_value_2 = value_outset_value as LocalizedEdgeWidths + valueSerializer.writeLocalizedEdgeWidths(value_outset_value_2) + } + } + const value_fill = value.fill + let value_fill_type : int32 = RuntimeType.UNDEFINED + value_fill_type = runtimeType(value_fill) + valueSerializer.writeInt8(value_fill_type) + if ((RuntimeType.UNDEFINED) != (value_fill_type)) { + const value_fill_value = value_fill! + valueSerializer.writeBoolean(value_fill_value) + } + } + public writeBorderOptions(value: BorderOptions): void { + let valueSerializer : Serializer = this + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (TypeChecker.isEdgeWidths(value_width_value, true, false, true, false)) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as EdgeWidths + valueSerializer.writeEdgeWidths(value_width_value_0) + } + else if ((RuntimeType.STRING == value_width_value_type) || (RuntimeType.NUMBER == value_width_value_type) || (RuntimeType.OBJECT == value_width_value_type)) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as Length + let value_width_value_1_type : int32 = RuntimeType.UNDEFINED + value_width_value_1_type = runtimeType(value_width_value_1) + if (RuntimeType.STRING == value_width_value_1_type) { + valueSerializer.writeInt8(0) + const value_width_value_1_0 = value_width_value_1 as string + valueSerializer.writeString(value_width_value_1_0) + } + else if (RuntimeType.NUMBER == value_width_value_1_type) { + valueSerializer.writeInt8(1) + const value_width_value_1_1 = value_width_value_1 as number + valueSerializer.writeNumber(value_width_value_1_1) + } + else if (RuntimeType.OBJECT == value_width_value_1_type) { + valueSerializer.writeInt8(2) + const value_width_value_1_2 = value_width_value_1 as Resource + valueSerializer.writeResource(value_width_value_1_2) + } + } + else if (TypeChecker.isLocalizedEdgeWidths(value_width_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as LocalizedEdgeWidths + valueSerializer.writeLocalizedEdgeWidths(value_width_value_2) + } + } + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (TypeChecker.isEdgeColors(value_color_value, true, false, true, false)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as EdgeColors + valueSerializer.writeEdgeColors(value_color_value_0) + } + else if ((TypeChecker.isColor(value_color_value)) || (RuntimeType.NUMBER == value_color_value_type) || (RuntimeType.STRING == value_color_value_type) || (RuntimeType.OBJECT == value_color_value_type)) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as ResourceColor + let value_color_value_1_type : int32 = RuntimeType.UNDEFINED + value_color_value_1_type = runtimeType(value_color_value_1) + if (TypeChecker.isColor(value_color_value_1)) { + valueSerializer.writeInt8(0) + const value_color_value_1_0 = value_color_value_1 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_1_0)) + } + else if (RuntimeType.NUMBER == value_color_value_1_type) { + valueSerializer.writeInt8(1) + const value_color_value_1_1 = value_color_value_1 as number + valueSerializer.writeNumber(value_color_value_1_1) + } + else if (RuntimeType.STRING == value_color_value_1_type) { + valueSerializer.writeInt8(2) + const value_color_value_1_2 = value_color_value_1 as string + valueSerializer.writeString(value_color_value_1_2) + } + else if (RuntimeType.OBJECT == value_color_value_1_type) { + valueSerializer.writeInt8(3) + const value_color_value_1_3 = value_color_value_1 as Resource + valueSerializer.writeResource(value_color_value_1_3) + } + } + else if (TypeChecker.isLocalizedEdgeColors(value_color_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_color_value_2 = value_color_value as LocalizedEdgeColors + valueSerializer.writeLocalizedEdgeColors(value_color_value_2) + } + } + const value_radius = value.radius + let value_radius_type : int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + let value_radius_value_type : int32 = RuntimeType.UNDEFINED + value_radius_value_type = runtimeType(value_radius_value) + if (TypeChecker.isBorderRadiuses(value_radius_value, false, false, false, false)) { + valueSerializer.writeInt8(0) + const value_radius_value_0 = value_radius_value as BorderRadiuses + valueSerializer.writeBorderRadiuses(value_radius_value_0) + } + else if ((RuntimeType.STRING == value_radius_value_type) || (RuntimeType.NUMBER == value_radius_value_type) || (RuntimeType.OBJECT == value_radius_value_type)) { + valueSerializer.writeInt8(1) + const value_radius_value_1 = value_radius_value as Length + let value_radius_value_1_type : int32 = RuntimeType.UNDEFINED + value_radius_value_1_type = runtimeType(value_radius_value_1) + if (RuntimeType.STRING == value_radius_value_1_type) { + valueSerializer.writeInt8(0) + const value_radius_value_1_0 = value_radius_value_1 as string + valueSerializer.writeString(value_radius_value_1_0) + } + else if (RuntimeType.NUMBER == value_radius_value_1_type) { + valueSerializer.writeInt8(1) + const value_radius_value_1_1 = value_radius_value_1 as number + valueSerializer.writeNumber(value_radius_value_1_1) + } + else if (RuntimeType.OBJECT == value_radius_value_1_type) { + valueSerializer.writeInt8(2) + const value_radius_value_1_2 = value_radius_value_1 as Resource + valueSerializer.writeResource(value_radius_value_1_2) + } + } + else if (TypeChecker.isLocalizedBorderRadiuses(value_radius_value, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_radius_value_2 = value_radius_value as LocalizedBorderRadiuses + valueSerializer.writeLocalizedBorderRadiuses(value_radius_value_2) + } + } + const value_style = value.style + let value_style_type : int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = value_style! + let value_style_value_type : int32 = RuntimeType.UNDEFINED + value_style_value_type = runtimeType(value_style_value) + if (RuntimeType.OBJECT == value_style_value_type) { + valueSerializer.writeInt8(0) + const value_style_value_0 = value_style_value as EdgeStyles + valueSerializer.writeEdgeStyles(value_style_value_0) + } + else if (TypeChecker.isBorderStyle(value_style_value)) { + valueSerializer.writeInt8(1) + const value_style_value_1 = value_style_value as BorderStyle + valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_style_value_1)) + } + } + const value_dashGap = value.dashGap + let value_dashGap_type : int32 = RuntimeType.UNDEFINED + value_dashGap_type = runtimeType(value_dashGap) + valueSerializer.writeInt8(value_dashGap_type) + if ((RuntimeType.UNDEFINED) != (value_dashGap_type)) { + const value_dashGap_value = value_dashGap! + let value_dashGap_value_type : int32 = RuntimeType.UNDEFINED + value_dashGap_value_type = runtimeType(value_dashGap_value) + if (TypeChecker.isEdgeWidths(value_dashGap_value, true, false, true, false)) { + valueSerializer.writeInt8(0) + const value_dashGap_value_0 = value_dashGap_value as EdgeWidths + valueSerializer.writeEdgeWidths(value_dashGap_value_0) + } + else if (TypeChecker.isLengthMetrics(value_dashGap_value, false, false)) { + valueSerializer.writeInt8(1) + const value_dashGap_value_1 = value_dashGap_value as LengthMetrics + valueSerializer.writeLengthMetrics(value_dashGap_value_1) + } + else if (TypeChecker.isLocalizedEdgeWidths(value_dashGap_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_dashGap_value_2 = value_dashGap_value as LocalizedEdgeWidths + valueSerializer.writeLocalizedEdgeWidths(value_dashGap_value_2) + } + } + const value_dashWidth = value.dashWidth + let value_dashWidth_type : int32 = RuntimeType.UNDEFINED + value_dashWidth_type = runtimeType(value_dashWidth) + valueSerializer.writeInt8(value_dashWidth_type) + if ((RuntimeType.UNDEFINED) != (value_dashWidth_type)) { + const value_dashWidth_value = value_dashWidth! + let value_dashWidth_value_type : int32 = RuntimeType.UNDEFINED + value_dashWidth_value_type = runtimeType(value_dashWidth_value) + if (TypeChecker.isEdgeWidths(value_dashWidth_value, true, false, true, false)) { + valueSerializer.writeInt8(0) + const value_dashWidth_value_0 = value_dashWidth_value as EdgeWidths + valueSerializer.writeEdgeWidths(value_dashWidth_value_0) + } + else if (TypeChecker.isLengthMetrics(value_dashWidth_value, false, false)) { + valueSerializer.writeInt8(1) + const value_dashWidth_value_1 = value_dashWidth_value as LengthMetrics + valueSerializer.writeLengthMetrics(value_dashWidth_value_1) + } + else if (TypeChecker.isLocalizedEdgeWidths(value_dashWidth_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_dashWidth_value_2 = value_dashWidth_value as LocalizedEdgeWidths + valueSerializer.writeLocalizedEdgeWidths(value_dashWidth_value_2) + } + } + } + public writeCancelButtonOptions(value: CancelButtonOptions): void { + let valueSerializer : Serializer = this + const value_style = value.style + let value_style_type : int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = (value_style as CancelButtonStyle) + valueSerializer.writeInt32(TypeChecker.CancelButtonStyle_ToNumeric(value_style_value)) + } + const value_icon = value.icon + let value_icon_type : int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + valueSerializer.writeIconOptions(value_icon_value) + } + } + public writeCapsuleStyleOptions(value: CapsuleStyleOptions): void { + let valueSerializer : Serializer = this + const value_enableScanEffect = value.enableScanEffect + let value_enableScanEffect_type : int32 = RuntimeType.UNDEFINED + value_enableScanEffect_type = runtimeType(value_enableScanEffect) + valueSerializer.writeInt8(value_enableScanEffect_type) + if ((RuntimeType.UNDEFINED) != (value_enableScanEffect_type)) { + const value_enableScanEffect_value = value_enableScanEffect! + valueSerializer.writeBoolean(value_enableScanEffect_value) + } + const value_borderColor = value.borderColor + let value_borderColor_type : int32 = RuntimeType.UNDEFINED + value_borderColor_type = runtimeType(value_borderColor) + valueSerializer.writeInt8(value_borderColor_type) + if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { + const value_borderColor_value = value_borderColor! + let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_type = runtimeType(value_borderColor_value) + if (TypeChecker.isColor(value_borderColor_value)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0 = value_borderColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0)) + } + else if (RuntimeType.NUMBER == value_borderColor_value_type) { + valueSerializer.writeInt8(1) + const value_borderColor_value_1 = value_borderColor_value as number + valueSerializer.writeNumber(value_borderColor_value_1) + } + else if (RuntimeType.STRING == value_borderColor_value_type) { + valueSerializer.writeInt8(2) + const value_borderColor_value_2 = value_borderColor_value as string + valueSerializer.writeString(value_borderColor_value_2) + } + else if (RuntimeType.OBJECT == value_borderColor_value_type) { + valueSerializer.writeInt8(3) + const value_borderColor_value_3 = value_borderColor_value as Resource + valueSerializer.writeResource(value_borderColor_value_3) + } + } + const value_borderWidth = value.borderWidth + let value_borderWidth_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_type = runtimeType(value_borderWidth) + valueSerializer.writeInt8(value_borderWidth_type) + if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { + const value_borderWidth_value = value_borderWidth! + let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_type = runtimeType(value_borderWidth_value) + if (RuntimeType.STRING == value_borderWidth_value_type) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0 = value_borderWidth_value as string + valueSerializer.writeString(value_borderWidth_value_0) + } + else if (RuntimeType.NUMBER == value_borderWidth_value_type) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_1 = value_borderWidth_value as number + valueSerializer.writeNumber(value_borderWidth_value_1) + } + else if (RuntimeType.OBJECT == value_borderWidth_value_type) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_2 = value_borderWidth_value as Resource + valueSerializer.writeResource(value_borderWidth_value_2) + } + } + const value_content = value.content + let value_content_type : int32 = RuntimeType.UNDEFINED + value_content_type = runtimeType(value_content) + valueSerializer.writeInt8(value_content_type) + if ((RuntimeType.UNDEFINED) != (value_content_type)) { + const value_content_value = value_content! + valueSerializer.writeString(value_content_value) + } + const value_font = value.font + let value_font_type : int32 = RuntimeType.UNDEFINED + value_font_type = runtimeType(value_font) + valueSerializer.writeInt8(value_font_type) + if ((RuntimeType.UNDEFINED) != (value_font_type)) { + const value_font_value = value_font! + valueSerializer.writeFont(value_font_value) + } + const value_fontColor = value.fontColor + let value_fontColor_type : int32 = RuntimeType.UNDEFINED + value_fontColor_type = runtimeType(value_fontColor) + valueSerializer.writeInt8(value_fontColor_type) + if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { + const value_fontColor_value = value_fontColor! + let value_fontColor_value_type : int32 = RuntimeType.UNDEFINED + value_fontColor_value_type = runtimeType(value_fontColor_value) + if (TypeChecker.isColor(value_fontColor_value)) { + valueSerializer.writeInt8(0) + const value_fontColor_value_0 = value_fontColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_0)) + } + else if (RuntimeType.NUMBER == value_fontColor_value_type) { + valueSerializer.writeInt8(1) + const value_fontColor_value_1 = value_fontColor_value as number + valueSerializer.writeNumber(value_fontColor_value_1) + } + else if (RuntimeType.STRING == value_fontColor_value_type) { + valueSerializer.writeInt8(2) + const value_fontColor_value_2 = value_fontColor_value as string + valueSerializer.writeString(value_fontColor_value_2) + } + else if (RuntimeType.OBJECT == value_fontColor_value_type) { + valueSerializer.writeInt8(3) + const value_fontColor_value_3 = value_fontColor_value as Resource + valueSerializer.writeResource(value_fontColor_value_3) + } + } + const value_showDefaultPercentage = value.showDefaultPercentage + let value_showDefaultPercentage_type : int32 = RuntimeType.UNDEFINED + value_showDefaultPercentage_type = runtimeType(value_showDefaultPercentage) + valueSerializer.writeInt8(value_showDefaultPercentage_type) + if ((RuntimeType.UNDEFINED) != (value_showDefaultPercentage_type)) { + const value_showDefaultPercentage_value = value_showDefaultPercentage! + valueSerializer.writeBoolean(value_showDefaultPercentage_value) + } + const value_borderRadius = value.borderRadius + let value_borderRadius_type : int32 = RuntimeType.UNDEFINED + value_borderRadius_type = runtimeType(value_borderRadius) + valueSerializer.writeInt8(value_borderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { + const value_borderRadius_value = value_borderRadius! + valueSerializer.writeLengthMetrics(value_borderRadius_value) + } + } + public writeContextMenuOptions(value: ContextMenuOptions): void { + let valueSerializer : Serializer = this + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writePosition(value_offset_value) + } + const value_placement = value.placement + let value_placement_type : int32 = RuntimeType.UNDEFINED + value_placement_type = runtimeType(value_placement) + valueSerializer.writeInt8(value_placement_type) + if ((RuntimeType.UNDEFINED) != (value_placement_type)) { + const value_placement_value = (value_placement as Placement) + valueSerializer.writeInt32(TypeChecker.Placement_ToNumeric(value_placement_value)) + } + const value_enableArrow = value.enableArrow + let value_enableArrow_type : int32 = RuntimeType.UNDEFINED + value_enableArrow_type = runtimeType(value_enableArrow) + valueSerializer.writeInt8(value_enableArrow_type) + if ((RuntimeType.UNDEFINED) != (value_enableArrow_type)) { + const value_enableArrow_value = value_enableArrow! + valueSerializer.writeBoolean(value_enableArrow_value) + } + const value_arrowOffset = value.arrowOffset + let value_arrowOffset_type : int32 = RuntimeType.UNDEFINED + value_arrowOffset_type = runtimeType(value_arrowOffset) + valueSerializer.writeInt8(value_arrowOffset_type) + if ((RuntimeType.UNDEFINED) != (value_arrowOffset_type)) { + const value_arrowOffset_value = value_arrowOffset! + let value_arrowOffset_value_type : int32 = RuntimeType.UNDEFINED + value_arrowOffset_value_type = runtimeType(value_arrowOffset_value) + if (RuntimeType.STRING == value_arrowOffset_value_type) { + valueSerializer.writeInt8(0) + const value_arrowOffset_value_0 = value_arrowOffset_value as string + valueSerializer.writeString(value_arrowOffset_value_0) + } + else if (RuntimeType.NUMBER == value_arrowOffset_value_type) { + valueSerializer.writeInt8(1) + const value_arrowOffset_value_1 = value_arrowOffset_value as number + valueSerializer.writeNumber(value_arrowOffset_value_1) + } + else if (RuntimeType.OBJECT == value_arrowOffset_value_type) { + valueSerializer.writeInt8(2) + const value_arrowOffset_value_2 = value_arrowOffset_value as Resource + valueSerializer.writeResource(value_arrowOffset_value_2) + } + } + const value_preview = value.preview + let value_preview_type : int32 = RuntimeType.UNDEFINED + value_preview_type = runtimeType(value_preview) + valueSerializer.writeInt8(value_preview_type) + if ((RuntimeType.UNDEFINED) != (value_preview_type)) { + const value_preview_value = value_preview! + let value_preview_value_type : int32 = RuntimeType.UNDEFINED + value_preview_value_type = runtimeType(value_preview_value) + if (TypeChecker.isMenuPreviewMode(value_preview_value)) { + valueSerializer.writeInt8(0) + const value_preview_value_0 = value_preview_value as MenuPreviewMode + valueSerializer.writeInt32(TypeChecker.MenuPreviewMode_ToNumeric(value_preview_value_0)) + } + else if (RuntimeType.FUNCTION == value_preview_value_type) { + valueSerializer.writeInt8(1) + const value_preview_value_1 = value_preview_value as CustomBuilder + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_preview_value_1)) + } + } + const value_previewBorderRadius = value.previewBorderRadius + let value_previewBorderRadius_type : int32 = RuntimeType.UNDEFINED + value_previewBorderRadius_type = runtimeType(value_previewBorderRadius) + valueSerializer.writeInt8(value_previewBorderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_previewBorderRadius_type)) { + const value_previewBorderRadius_value = value_previewBorderRadius! + let value_previewBorderRadius_value_type : int32 = RuntimeType.UNDEFINED + value_previewBorderRadius_value_type = runtimeType(value_previewBorderRadius_value) + if ((RuntimeType.STRING == value_previewBorderRadius_value_type) || (RuntimeType.NUMBER == value_previewBorderRadius_value_type) || (RuntimeType.OBJECT == value_previewBorderRadius_value_type)) { + valueSerializer.writeInt8(0) + const value_previewBorderRadius_value_0 = value_previewBorderRadius_value as Length + let value_previewBorderRadius_value_0_type : int32 = RuntimeType.UNDEFINED + value_previewBorderRadius_value_0_type = runtimeType(value_previewBorderRadius_value_0) + if (RuntimeType.STRING == value_previewBorderRadius_value_0_type) { + valueSerializer.writeInt8(0) + const value_previewBorderRadius_value_0_0 = value_previewBorderRadius_value_0 as string + valueSerializer.writeString(value_previewBorderRadius_value_0_0) + } + else if (RuntimeType.NUMBER == value_previewBorderRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_previewBorderRadius_value_0_1 = value_previewBorderRadius_value_0 as number + valueSerializer.writeNumber(value_previewBorderRadius_value_0_1) + } + else if (RuntimeType.OBJECT == value_previewBorderRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_previewBorderRadius_value_0_2 = value_previewBorderRadius_value_0 as Resource + valueSerializer.writeResource(value_previewBorderRadius_value_0_2) + } + } + else if (TypeChecker.isBorderRadiuses(value_previewBorderRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_previewBorderRadius_value_1 = value_previewBorderRadius_value as BorderRadiuses + valueSerializer.writeBorderRadiuses(value_previewBorderRadius_value_1) + } + else if (TypeChecker.isLocalizedBorderRadiuses(value_previewBorderRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_previewBorderRadius_value_2 = value_previewBorderRadius_value as LocalizedBorderRadiuses + valueSerializer.writeLocalizedBorderRadiuses(value_previewBorderRadius_value_2) + } + } + const value_borderRadius = value.borderRadius + let value_borderRadius_type : int32 = RuntimeType.UNDEFINED + value_borderRadius_type = runtimeType(value_borderRadius) + valueSerializer.writeInt8(value_borderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { + const value_borderRadius_value = value_borderRadius! + let value_borderRadius_value_type : int32 = RuntimeType.UNDEFINED + value_borderRadius_value_type = runtimeType(value_borderRadius_value) + if ((RuntimeType.STRING == value_borderRadius_value_type) || (RuntimeType.NUMBER == value_borderRadius_value_type) || (RuntimeType.OBJECT == value_borderRadius_value_type)) { + valueSerializer.writeInt8(0) + const value_borderRadius_value_0 = value_borderRadius_value as Length + let value_borderRadius_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderRadius_value_0_type = runtimeType(value_borderRadius_value_0) + if (RuntimeType.STRING == value_borderRadius_value_0_type) { + valueSerializer.writeInt8(0) + const value_borderRadius_value_0_0 = value_borderRadius_value_0 as string + valueSerializer.writeString(value_borderRadius_value_0_0) + } + else if (RuntimeType.NUMBER == value_borderRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderRadius_value_0_1 = value_borderRadius_value_0 as number + valueSerializer.writeNumber(value_borderRadius_value_0_1) + } + else if (RuntimeType.OBJECT == value_borderRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderRadius_value_0_2 = value_borderRadius_value_0 as Resource + valueSerializer.writeResource(value_borderRadius_value_0_2) + } + } + else if (TypeChecker.isBorderRadiuses(value_borderRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_borderRadius_value_1 = value_borderRadius_value as BorderRadiuses + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1) + } + else if (TypeChecker.isLocalizedBorderRadiuses(value_borderRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_borderRadius_value_2 = value_borderRadius_value as LocalizedBorderRadiuses + valueSerializer.writeLocalizedBorderRadiuses(value_borderRadius_value_2) + } + } + const value_onAppear = value.onAppear + let value_onAppear_type : int32 = RuntimeType.UNDEFINED + value_onAppear_type = runtimeType(value_onAppear) + valueSerializer.writeInt8(value_onAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { + const value_onAppear_value = value_onAppear! + valueSerializer.holdAndWriteCallback(value_onAppear_value) + } + const value_onDisappear = value.onDisappear + let value_onDisappear_type : int32 = RuntimeType.UNDEFINED + value_onDisappear_type = runtimeType(value_onDisappear) + valueSerializer.writeInt8(value_onDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { + const value_onDisappear_value = value_onDisappear! + valueSerializer.holdAndWriteCallback(value_onDisappear_value) + } + const value_aboutToAppear = value.aboutToAppear + let value_aboutToAppear_type : int32 = RuntimeType.UNDEFINED + value_aboutToAppear_type = runtimeType(value_aboutToAppear) + valueSerializer.writeInt8(value_aboutToAppear_type) + if ((RuntimeType.UNDEFINED) != (value_aboutToAppear_type)) { + const value_aboutToAppear_value = value_aboutToAppear! + valueSerializer.holdAndWriteCallback(value_aboutToAppear_value) + } + const value_aboutToDisappear = value.aboutToDisappear + let value_aboutToDisappear_type : int32 = RuntimeType.UNDEFINED + value_aboutToDisappear_type = runtimeType(value_aboutToDisappear) + valueSerializer.writeInt8(value_aboutToDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_aboutToDisappear_type)) { + const value_aboutToDisappear_value = value_aboutToDisappear! + valueSerializer.holdAndWriteCallback(value_aboutToDisappear_value) + } + const value_layoutRegionMargin = value.layoutRegionMargin + let value_layoutRegionMargin_type : int32 = RuntimeType.UNDEFINED + value_layoutRegionMargin_type = runtimeType(value_layoutRegionMargin) + valueSerializer.writeInt8(value_layoutRegionMargin_type) + if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_type)) { + const value_layoutRegionMargin_value = value_layoutRegionMargin! + valueSerializer.writePadding(value_layoutRegionMargin_value) + } + const value_previewAnimationOptions = value.previewAnimationOptions + let value_previewAnimationOptions_type : int32 = RuntimeType.UNDEFINED + value_previewAnimationOptions_type = runtimeType(value_previewAnimationOptions) + valueSerializer.writeInt8(value_previewAnimationOptions_type) + if ((RuntimeType.UNDEFINED) != (value_previewAnimationOptions_type)) { + const value_previewAnimationOptions_value = value_previewAnimationOptions! + valueSerializer.writeContextMenuAnimationOptions(value_previewAnimationOptions_value) + } + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (TypeChecker.isColor(value_backgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = value_backgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) + } + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = value_backgroundColor_value as number + valueSerializer.writeNumber(value_backgroundColor_value_1) + } + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = value_backgroundColor_value as string + valueSerializer.writeString(value_backgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = value_backgroundColor_value as Resource + valueSerializer.writeResource(value_backgroundColor_value_3) + } + } + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) + valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) + } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } + const value_transition = value.transition + let value_transition_type : int32 = RuntimeType.UNDEFINED + value_transition_type = runtimeType(value_transition) + valueSerializer.writeInt8(value_transition_type) + if ((RuntimeType.UNDEFINED) != (value_transition_type)) { + const value_transition_value = value_transition! + valueSerializer.writeTransitionEffect(value_transition_value) + } + const value_enableHoverMode = value.enableHoverMode + let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED + value_enableHoverMode_type = runtimeType(value_enableHoverMode) + valueSerializer.writeInt8(value_enableHoverMode_type) + if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { + const value_enableHoverMode_value = value_enableHoverMode! + valueSerializer.writeBoolean(value_enableHoverMode_value) + } + const value_outlineColor = value.outlineColor + let value_outlineColor_type : int32 = RuntimeType.UNDEFINED + value_outlineColor_type = runtimeType(value_outlineColor) + valueSerializer.writeInt8(value_outlineColor_type) + if ((RuntimeType.UNDEFINED) != (value_outlineColor_type)) { + const value_outlineColor_value = value_outlineColor! + let value_outlineColor_value_type : int32 = RuntimeType.UNDEFINED + value_outlineColor_value_type = runtimeType(value_outlineColor_value) + if ((TypeChecker.isColor(value_outlineColor_value)) || (RuntimeType.NUMBER == value_outlineColor_value_type) || (RuntimeType.STRING == value_outlineColor_value_type) || (RuntimeType.OBJECT == value_outlineColor_value_type)) { + valueSerializer.writeInt8(0) + const value_outlineColor_value_0 = value_outlineColor_value as ResourceColor + let value_outlineColor_value_0_type : int32 = RuntimeType.UNDEFINED + value_outlineColor_value_0_type = runtimeType(value_outlineColor_value_0) + if (TypeChecker.isColor(value_outlineColor_value_0)) { + valueSerializer.writeInt8(0) + const value_outlineColor_value_0_0 = value_outlineColor_value_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_outlineColor_value_0_0)) + } + else if (RuntimeType.NUMBER == value_outlineColor_value_0_type) { + valueSerializer.writeInt8(1) + const value_outlineColor_value_0_1 = value_outlineColor_value_0 as number + valueSerializer.writeNumber(value_outlineColor_value_0_1) + } + else if (RuntimeType.STRING == value_outlineColor_value_0_type) { + valueSerializer.writeInt8(2) + const value_outlineColor_value_0_2 = value_outlineColor_value_0 as string + valueSerializer.writeString(value_outlineColor_value_0_2) + } + else if (RuntimeType.OBJECT == value_outlineColor_value_0_type) { + valueSerializer.writeInt8(3) + const value_outlineColor_value_0_3 = value_outlineColor_value_0 as Resource + valueSerializer.writeResource(value_outlineColor_value_0_3) + } + } + else if (TypeChecker.isEdgeColors(value_outlineColor_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_outlineColor_value_1 = value_outlineColor_value as EdgeColors + valueSerializer.writeEdgeColors(value_outlineColor_value_1) + } + } + const value_outlineWidth = value.outlineWidth + let value_outlineWidth_type : int32 = RuntimeType.UNDEFINED + value_outlineWidth_type = runtimeType(value_outlineWidth) + valueSerializer.writeInt8(value_outlineWidth_type) + if ((RuntimeType.UNDEFINED) != (value_outlineWidth_type)) { + const value_outlineWidth_value = value_outlineWidth! + let value_outlineWidth_value_type : int32 = RuntimeType.UNDEFINED + value_outlineWidth_value_type = runtimeType(value_outlineWidth_value) + if ((RuntimeType.STRING == value_outlineWidth_value_type) || (RuntimeType.NUMBER == value_outlineWidth_value_type) || (RuntimeType.OBJECT == value_outlineWidth_value_type)) { + valueSerializer.writeInt8(0) + const value_outlineWidth_value_0 = value_outlineWidth_value as Dimension + let value_outlineWidth_value_0_type : int32 = RuntimeType.UNDEFINED + value_outlineWidth_value_0_type = runtimeType(value_outlineWidth_value_0) + if (RuntimeType.STRING == value_outlineWidth_value_0_type) { + valueSerializer.writeInt8(0) + const value_outlineWidth_value_0_0 = value_outlineWidth_value_0 as string + valueSerializer.writeString(value_outlineWidth_value_0_0) + } + else if (RuntimeType.NUMBER == value_outlineWidth_value_0_type) { + valueSerializer.writeInt8(1) + const value_outlineWidth_value_0_1 = value_outlineWidth_value_0 as number + valueSerializer.writeNumber(value_outlineWidth_value_0_1) + } + else if (RuntimeType.OBJECT == value_outlineWidth_value_0_type) { + valueSerializer.writeInt8(2) + const value_outlineWidth_value_0_2 = value_outlineWidth_value_0 as Resource + valueSerializer.writeResource(value_outlineWidth_value_0_2) + } + } + else if (TypeChecker.isEdgeOutlineWidths(value_outlineWidth_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_outlineWidth_value_1 = value_outlineWidth_value as EdgeOutlineWidths + valueSerializer.writeEdgeOutlineWidths(value_outlineWidth_value_1) + } + } + const value_hapticFeedbackMode = value.hapticFeedbackMode + let value_hapticFeedbackMode_type : int32 = RuntimeType.UNDEFINED + value_hapticFeedbackMode_type = runtimeType(value_hapticFeedbackMode) + valueSerializer.writeInt8(value_hapticFeedbackMode_type) + if ((RuntimeType.UNDEFINED) != (value_hapticFeedbackMode_type)) { + const value_hapticFeedbackMode_value = (value_hapticFeedbackMode as HapticFeedbackMode) + valueSerializer.writeInt32(TypeChecker.HapticFeedbackMode_ToNumeric(value_hapticFeedbackMode_value)) + } + } + public writeCustomDialogControllerOptions(value: CustomDialogControllerOptions): void { + let valueSerializer : Serializer = this + const value_builder = value.builder + valueSerializer.writeCustomDialogControllerBuilder(value_builder) + const value_cancel = value.cancel + let value_cancel_type : int32 = RuntimeType.UNDEFINED + value_cancel_type = runtimeType(value_cancel) + valueSerializer.writeInt8(value_cancel_type) + if ((RuntimeType.UNDEFINED) != (value_cancel_type)) { + const value_cancel_value = value_cancel! + valueSerializer.holdAndWriteCallback(value_cancel_value) + } + const value_autoCancel = value.autoCancel + let value_autoCancel_type : int32 = RuntimeType.UNDEFINED + value_autoCancel_type = runtimeType(value_autoCancel) + valueSerializer.writeInt8(value_autoCancel_type) + if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { + const value_autoCancel_value = value_autoCancel! + valueSerializer.writeBoolean(value_autoCancel_value) + } + const value_alignment = value.alignment + let value_alignment_type : int32 = RuntimeType.UNDEFINED + value_alignment_type = runtimeType(value_alignment) + valueSerializer.writeInt8(value_alignment_type) + if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { + const value_alignment_value = (value_alignment as DialogAlignment) + valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) + } + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writeOffset(value_offset_value) + } + const value_customStyle = value.customStyle + let value_customStyle_type : int32 = RuntimeType.UNDEFINED + value_customStyle_type = runtimeType(value_customStyle) + valueSerializer.writeInt8(value_customStyle_type) + if ((RuntimeType.UNDEFINED) != (value_customStyle_type)) { + const value_customStyle_value = value_customStyle! + valueSerializer.writeBoolean(value_customStyle_value) + } + const value_gridCount = value.gridCount + let value_gridCount_type : int32 = RuntimeType.UNDEFINED + value_gridCount_type = runtimeType(value_gridCount) + valueSerializer.writeInt8(value_gridCount_type) + if ((RuntimeType.UNDEFINED) != (value_gridCount_type)) { + const value_gridCount_value = value_gridCount! + valueSerializer.writeNumber(value_gridCount_value) + } + const value_maskColor = value.maskColor + let value_maskColor_type : int32 = RuntimeType.UNDEFINED + value_maskColor_type = runtimeType(value_maskColor) + valueSerializer.writeInt8(value_maskColor_type) + if ((RuntimeType.UNDEFINED) != (value_maskColor_type)) { + const value_maskColor_value = value_maskColor! + let value_maskColor_value_type : int32 = RuntimeType.UNDEFINED + value_maskColor_value_type = runtimeType(value_maskColor_value) + if (TypeChecker.isColor(value_maskColor_value)) { + valueSerializer.writeInt8(0) + const value_maskColor_value_0 = value_maskColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_maskColor_value_0)) + } + else if (RuntimeType.NUMBER == value_maskColor_value_type) { + valueSerializer.writeInt8(1) + const value_maskColor_value_1 = value_maskColor_value as number + valueSerializer.writeNumber(value_maskColor_value_1) + } + else if (RuntimeType.STRING == value_maskColor_value_type) { + valueSerializer.writeInt8(2) + const value_maskColor_value_2 = value_maskColor_value as string + valueSerializer.writeString(value_maskColor_value_2) + } + else if (RuntimeType.OBJECT == value_maskColor_value_type) { + valueSerializer.writeInt8(3) + const value_maskColor_value_3 = value_maskColor_value as Resource + valueSerializer.writeResource(value_maskColor_value_3) + } + } + const value_maskRect = value.maskRect + let value_maskRect_type : int32 = RuntimeType.UNDEFINED + value_maskRect_type = runtimeType(value_maskRect) + valueSerializer.writeInt8(value_maskRect_type) + if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { + const value_maskRect_value = value_maskRect! + valueSerializer.writeRectangle(value_maskRect_value) + } + const value_openAnimation = value.openAnimation + let value_openAnimation_type : int32 = RuntimeType.UNDEFINED + value_openAnimation_type = runtimeType(value_openAnimation) + valueSerializer.writeInt8(value_openAnimation_type) + if ((RuntimeType.UNDEFINED) != (value_openAnimation_type)) { + const value_openAnimation_value = value_openAnimation! + valueSerializer.writeAnimateParam(value_openAnimation_value) + } + const value_closeAnimation = value.closeAnimation + let value_closeAnimation_type : int32 = RuntimeType.UNDEFINED + value_closeAnimation_type = runtimeType(value_closeAnimation) + valueSerializer.writeInt8(value_closeAnimation_type) + if ((RuntimeType.UNDEFINED) != (value_closeAnimation_type)) { + const value_closeAnimation_value = value_closeAnimation! + valueSerializer.writeAnimateParam(value_closeAnimation_value) + } + const value_showInSubWindow = value.showInSubWindow + let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED + value_showInSubWindow_type = runtimeType(value_showInSubWindow) + valueSerializer.writeInt8(value_showInSubWindow_type) + if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { + const value_showInSubWindow_value = value_showInSubWindow! + valueSerializer.writeBoolean(value_showInSubWindow_value) + } + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (TypeChecker.isColor(value_backgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = value_backgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) + } + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = value_backgroundColor_value as number + valueSerializer.writeNumber(value_backgroundColor_value_1) + } + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = value_backgroundColor_value as string + valueSerializer.writeString(value_backgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = value_backgroundColor_value as Resource + valueSerializer.writeResource(value_backgroundColor_value_3) + } + } + const value_cornerRadius = value.cornerRadius + let value_cornerRadius_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_type = runtimeType(value_cornerRadius) + valueSerializer.writeInt8(value_cornerRadius_type) + if ((RuntimeType.UNDEFINED) != (value_cornerRadius_type)) { + const value_cornerRadius_value = value_cornerRadius! + let value_cornerRadius_value_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_value_type = runtimeType(value_cornerRadius_value) + if ((RuntimeType.STRING == value_cornerRadius_value_type) || (RuntimeType.NUMBER == value_cornerRadius_value_type) || (RuntimeType.OBJECT == value_cornerRadius_value_type)) { + valueSerializer.writeInt8(0) + const value_cornerRadius_value_0 = value_cornerRadius_value as Dimension + let value_cornerRadius_value_0_type : int32 = RuntimeType.UNDEFINED + value_cornerRadius_value_0_type = runtimeType(value_cornerRadius_value_0) + if (RuntimeType.STRING == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(0) + const value_cornerRadius_value_0_0 = value_cornerRadius_value_0 as string + valueSerializer.writeString(value_cornerRadius_value_0_0) + } + else if (RuntimeType.NUMBER == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_cornerRadius_value_0_1 = value_cornerRadius_value_0 as number + valueSerializer.writeNumber(value_cornerRadius_value_0_1) + } + else if (RuntimeType.OBJECT == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_cornerRadius_value_0_2 = value_cornerRadius_value_0 as Resource + valueSerializer.writeResource(value_cornerRadius_value_0_2) + } + } + else if (TypeChecker.isBorderRadiuses(value_cornerRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_cornerRadius_value_1 = value_cornerRadius_value as BorderRadiuses + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1) + } + } + const value_isModal = value.isModal + let value_isModal_type : int32 = RuntimeType.UNDEFINED + value_isModal_type = runtimeType(value_isModal) + valueSerializer.writeInt8(value_isModal_type) + if ((RuntimeType.UNDEFINED) != (value_isModal_type)) { + const value_isModal_value = value_isModal! + valueSerializer.writeBoolean(value_isModal_value) + } + const value_onWillDismiss = value.onWillDismiss + let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED + value_onWillDismiss_type = runtimeType(value_onWillDismiss) + valueSerializer.writeInt8(value_onWillDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { + const value_onWillDismiss_value = value_onWillDismiss! + valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) + } + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as string + valueSerializer.writeString(value_width_value_0) + } + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as number + valueSerializer.writeNumber(value_width_value_1) + } + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as Resource + valueSerializer.writeResource(value_width_value_2) + } + } + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type : int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.STRING == value_height_value_type) { + valueSerializer.writeInt8(0) + const value_height_value_0 = value_height_value as string + valueSerializer.writeString(value_height_value_0) + } + else if (RuntimeType.NUMBER == value_height_value_type) { + valueSerializer.writeInt8(1) + const value_height_value_1 = value_height_value as number + valueSerializer.writeNumber(value_height_value_1) + } + else if (RuntimeType.OBJECT == value_height_value_type) { + valueSerializer.writeInt8(2) + const value_height_value_2 = value_height_value as Resource + valueSerializer.writeResource(value_height_value_2) + } + } + const value_borderWidth = value.borderWidth + let value_borderWidth_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_type = runtimeType(value_borderWidth) + valueSerializer.writeInt8(value_borderWidth_type) + if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { + const value_borderWidth_value = value_borderWidth! + let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_type = runtimeType(value_borderWidth_value) + if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0 = value_borderWidth_value as Dimension + let value_borderWidth_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) + if (RuntimeType.STRING == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0_0 = value_borderWidth_value_0 as string + valueSerializer.writeString(value_borderWidth_value_0_0) + } + else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_0_1 = value_borderWidth_value_0 as number + valueSerializer.writeNumber(value_borderWidth_value_0_1) + } + else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_0_2 = value_borderWidth_value_0 as Resource + valueSerializer.writeResource(value_borderWidth_value_0_2) + } + } + else if (TypeChecker.isEdgeWidths(value_borderWidth_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_1 = value_borderWidth_value as EdgeWidths + valueSerializer.writeEdgeWidths(value_borderWidth_value_1) + } + } + const value_borderColor = value.borderColor + let value_borderColor_type : int32 = RuntimeType.UNDEFINED + value_borderColor_type = runtimeType(value_borderColor) + valueSerializer.writeInt8(value_borderColor_type) + if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { + const value_borderColor_value = value_borderColor! + let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_type = runtimeType(value_borderColor_value) + if ((TypeChecker.isColor(value_borderColor_value)) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0 = value_borderColor_value as ResourceColor + let value_borderColor_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) + if (TypeChecker.isColor(value_borderColor_value_0)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0_0 = value_borderColor_value_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0_0)) + } + else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderColor_value_0_1 = value_borderColor_value_0 as number + valueSerializer.writeNumber(value_borderColor_value_0_1) + } + else if (RuntimeType.STRING == value_borderColor_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderColor_value_0_2 = value_borderColor_value_0 as string + valueSerializer.writeString(value_borderColor_value_0_2) + } + else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { + valueSerializer.writeInt8(3) + const value_borderColor_value_0_3 = value_borderColor_value_0 as Resource + valueSerializer.writeResource(value_borderColor_value_0_3) + } + } + else if (TypeChecker.isEdgeColors(value_borderColor_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_borderColor_value_1 = value_borderColor_value as EdgeColors + valueSerializer.writeEdgeColors(value_borderColor_value_1) + } + } + const value_borderStyle = value.borderStyle + let value_borderStyle_type : int32 = RuntimeType.UNDEFINED + value_borderStyle_type = runtimeType(value_borderStyle) + valueSerializer.writeInt8(value_borderStyle_type) + if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { + const value_borderStyle_value = value_borderStyle! + let value_borderStyle_value_type : int32 = RuntimeType.UNDEFINED + value_borderStyle_value_type = runtimeType(value_borderStyle_value) + if (TypeChecker.isBorderStyle(value_borderStyle_value)) { + valueSerializer.writeInt8(0) + const value_borderStyle_value_0 = value_borderStyle_value as BorderStyle + valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_borderStyle_value_0)) + } + else if (RuntimeType.OBJECT == value_borderStyle_value_type) { + valueSerializer.writeInt8(1) + const value_borderStyle_value_1 = value_borderStyle_value as EdgeStyles + valueSerializer.writeEdgeStyles(value_borderStyle_value_1) + } + } + const value_shadow = value.shadow + let value_shadow_type : int32 = RuntimeType.UNDEFINED + value_shadow_type = runtimeType(value_shadow) + valueSerializer.writeInt8(value_shadow_type) + if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { + const value_shadow_value = value_shadow! + let value_shadow_value_type : int32 = RuntimeType.UNDEFINED + value_shadow_value_type = runtimeType(value_shadow_value) + if (RuntimeType.OBJECT == value_shadow_value_type) { + valueSerializer.writeInt8(0) + const value_shadow_value_0 = value_shadow_value as ShadowOptions + valueSerializer.writeShadowOptions(value_shadow_value_0) + } + else if (TypeChecker.isShadowStyle(value_shadow_value)) { + valueSerializer.writeInt8(1) + const value_shadow_value_1 = value_shadow_value as ShadowStyle + valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) + } + } + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) + valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) + } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } + const value_keyboardAvoidMode = value.keyboardAvoidMode + let value_keyboardAvoidMode_type : int32 = RuntimeType.UNDEFINED + value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode) + valueSerializer.writeInt8(value_keyboardAvoidMode_type) + if ((RuntimeType.UNDEFINED) != (value_keyboardAvoidMode_type)) { + const value_keyboardAvoidMode_value = (value_keyboardAvoidMode as KeyboardAvoidMode) + valueSerializer.writeInt32(TypeChecker.KeyboardAvoidMode_ToNumeric(value_keyboardAvoidMode_value)) + } + const value_enableHoverMode = value.enableHoverMode + let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED + value_enableHoverMode_type = runtimeType(value_enableHoverMode) + valueSerializer.writeInt8(value_enableHoverMode_type) + if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { + const value_enableHoverMode_value = value_enableHoverMode! + valueSerializer.writeBoolean(value_enableHoverMode_value) + } + const value_hoverModeArea = value.hoverModeArea + let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED + value_hoverModeArea_type = runtimeType(value_hoverModeArea) + valueSerializer.writeInt8(value_hoverModeArea_type) + if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { + const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) + valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) + } + const value_onDidAppear = value.onDidAppear + let value_onDidAppear_type : int32 = RuntimeType.UNDEFINED + value_onDidAppear_type = runtimeType(value_onDidAppear) + valueSerializer.writeInt8(value_onDidAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { + const value_onDidAppear_value = value_onDidAppear! + valueSerializer.holdAndWriteCallback(value_onDidAppear_value) + } + const value_onDidDisappear = value.onDidDisappear + let value_onDidDisappear_type : int32 = RuntimeType.UNDEFINED + value_onDidDisappear_type = runtimeType(value_onDidDisappear) + valueSerializer.writeInt8(value_onDidDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { + const value_onDidDisappear_value = value_onDidDisappear! + valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) + } + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) + } + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) + } + const value_keyboardAvoidDistance = value.keyboardAvoidDistance + let value_keyboardAvoidDistance_type : int32 = RuntimeType.UNDEFINED + value_keyboardAvoidDistance_type = runtimeType(value_keyboardAvoidDistance) + valueSerializer.writeInt8(value_keyboardAvoidDistance_type) + if ((RuntimeType.UNDEFINED) != (value_keyboardAvoidDistance_type)) { + const value_keyboardAvoidDistance_value = value_keyboardAvoidDistance! + valueSerializer.writeLengthMetrics(value_keyboardAvoidDistance_value) + } + const value_levelMode = value.levelMode + let value_levelMode_type : int32 = RuntimeType.UNDEFINED + value_levelMode_type = runtimeType(value_levelMode) + valueSerializer.writeInt8(value_levelMode_type) + if ((RuntimeType.UNDEFINED) != (value_levelMode_type)) { + const value_levelMode_value = value_levelMode! + valueSerializer.writeLevelMode(value_levelMode_value) + } + const value_levelUniqueId = value.levelUniqueId + let value_levelUniqueId_type : int32 = RuntimeType.UNDEFINED + value_levelUniqueId_type = runtimeType(value_levelUniqueId) + valueSerializer.writeInt8(value_levelUniqueId_type) + if ((RuntimeType.UNDEFINED) != (value_levelUniqueId_type)) { + const value_levelUniqueId_value = value_levelUniqueId! + valueSerializer.writeNumber(value_levelUniqueId_value) + } + const value_immersiveMode = value.immersiveMode + let value_immersiveMode_type : int32 = RuntimeType.UNDEFINED + value_immersiveMode_type = runtimeType(value_immersiveMode) + valueSerializer.writeInt8(value_immersiveMode_type) + if ((RuntimeType.UNDEFINED) != (value_immersiveMode_type)) { + const value_immersiveMode_value = value_immersiveMode! + valueSerializer.writeImmersiveMode(value_immersiveMode_value) + } + const value_levelOrder = value.levelOrder + let value_levelOrder_type : int32 = RuntimeType.UNDEFINED + value_levelOrder_type = runtimeType(value_levelOrder) + valueSerializer.writeInt8(value_levelOrder_type) + if ((RuntimeType.UNDEFINED) != (value_levelOrder_type)) { + const value_levelOrder_value = value_levelOrder! + valueSerializer.writeLevelOrder(value_levelOrder_value) + } + const value_focusable = value.focusable + let value_focusable_type : int32 = RuntimeType.UNDEFINED + value_focusable_type = runtimeType(value_focusable) + valueSerializer.writeInt8(value_focusable_type) + if ((RuntimeType.UNDEFINED) != (value_focusable_type)) { + const value_focusable_value = value_focusable! + valueSerializer.writeBoolean(value_focusable_value) + } + } + public writeCustomPopupOptions(value: CustomPopupOptions): void { + let valueSerializer : Serializer = this + const value_builder = value.builder + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder)) + const value_placement = value.placement + let value_placement_type : int32 = RuntimeType.UNDEFINED + value_placement_type = runtimeType(value_placement) + valueSerializer.writeInt8(value_placement_type) + if ((RuntimeType.UNDEFINED) != (value_placement_type)) { + const value_placement_value = (value_placement as Placement) + valueSerializer.writeInt32(TypeChecker.Placement_ToNumeric(value_placement_value)) + } + const value_maskColor = value.maskColor + let value_maskColor_type : int32 = RuntimeType.UNDEFINED + value_maskColor_type = runtimeType(value_maskColor) + valueSerializer.writeInt8(value_maskColor_type) + if ((RuntimeType.UNDEFINED) != (value_maskColor_type)) { + const value_maskColor_value = value_maskColor! + let value_maskColor_value_type : int32 = RuntimeType.UNDEFINED + value_maskColor_value_type = runtimeType(value_maskColor_value) + if (TypeChecker.isColor(value_maskColor_value)) { + valueSerializer.writeInt8(0) + const value_maskColor_value_0 = value_maskColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_maskColor_value_0)) + } + else if (RuntimeType.STRING == value_maskColor_value_type) { + valueSerializer.writeInt8(1) + const value_maskColor_value_1 = value_maskColor_value as string + valueSerializer.writeString(value_maskColor_value_1) + } + else if (RuntimeType.OBJECT == value_maskColor_value_type) { + valueSerializer.writeInt8(2) + const value_maskColor_value_2 = value_maskColor_value as Resource + valueSerializer.writeResource(value_maskColor_value_2) + } + else if (RuntimeType.NUMBER == value_maskColor_value_type) { + valueSerializer.writeInt8(3) + const value_maskColor_value_3 = value_maskColor_value as number + valueSerializer.writeNumber(value_maskColor_value_3) + } + } + const value_popupColor = value.popupColor + let value_popupColor_type : int32 = RuntimeType.UNDEFINED + value_popupColor_type = runtimeType(value_popupColor) + valueSerializer.writeInt8(value_popupColor_type) + if ((RuntimeType.UNDEFINED) != (value_popupColor_type)) { + const value_popupColor_value = value_popupColor! + let value_popupColor_value_type : int32 = RuntimeType.UNDEFINED + value_popupColor_value_type = runtimeType(value_popupColor_value) + if (TypeChecker.isColor(value_popupColor_value)) { + valueSerializer.writeInt8(0) + const value_popupColor_value_0 = value_popupColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_popupColor_value_0)) + } + else if (RuntimeType.STRING == value_popupColor_value_type) { + valueSerializer.writeInt8(1) + const value_popupColor_value_1 = value_popupColor_value as string + valueSerializer.writeString(value_popupColor_value_1) + } + else if (RuntimeType.OBJECT == value_popupColor_value_type) { + valueSerializer.writeInt8(2) + const value_popupColor_value_2 = value_popupColor_value as Resource + valueSerializer.writeResource(value_popupColor_value_2) + } + else if (RuntimeType.NUMBER == value_popupColor_value_type) { + valueSerializer.writeInt8(3) + const value_popupColor_value_3 = value_popupColor_value as number + valueSerializer.writeNumber(value_popupColor_value_3) + } + } + const value_enableArrow = value.enableArrow + let value_enableArrow_type : int32 = RuntimeType.UNDEFINED + value_enableArrow_type = runtimeType(value_enableArrow) + valueSerializer.writeInt8(value_enableArrow_type) + if ((RuntimeType.UNDEFINED) != (value_enableArrow_type)) { + const value_enableArrow_value = value_enableArrow! + valueSerializer.writeBoolean(value_enableArrow_value) + } + const value_autoCancel = value.autoCancel + let value_autoCancel_type : int32 = RuntimeType.UNDEFINED + value_autoCancel_type = runtimeType(value_autoCancel) + valueSerializer.writeInt8(value_autoCancel_type) + if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { + const value_autoCancel_value = value_autoCancel! + valueSerializer.writeBoolean(value_autoCancel_value) + } + const value_onStateChange = value.onStateChange + let value_onStateChange_type : int32 = RuntimeType.UNDEFINED + value_onStateChange_type = runtimeType(value_onStateChange) + valueSerializer.writeInt8(value_onStateChange_type) + if ((RuntimeType.UNDEFINED) != (value_onStateChange_type)) { + const value_onStateChange_value = value_onStateChange! + valueSerializer.holdAndWriteCallback(value_onStateChange_value) + } + const value_arrowOffset = value.arrowOffset + let value_arrowOffset_type : int32 = RuntimeType.UNDEFINED + value_arrowOffset_type = runtimeType(value_arrowOffset) + valueSerializer.writeInt8(value_arrowOffset_type) + if ((RuntimeType.UNDEFINED) != (value_arrowOffset_type)) { + const value_arrowOffset_value = value_arrowOffset! + let value_arrowOffset_value_type : int32 = RuntimeType.UNDEFINED + value_arrowOffset_value_type = runtimeType(value_arrowOffset_value) + if (RuntimeType.STRING == value_arrowOffset_value_type) { + valueSerializer.writeInt8(0) + const value_arrowOffset_value_0 = value_arrowOffset_value as string + valueSerializer.writeString(value_arrowOffset_value_0) + } + else if (RuntimeType.NUMBER == value_arrowOffset_value_type) { + valueSerializer.writeInt8(1) + const value_arrowOffset_value_1 = value_arrowOffset_value as number + valueSerializer.writeNumber(value_arrowOffset_value_1) + } + else if (RuntimeType.OBJECT == value_arrowOffset_value_type) { + valueSerializer.writeInt8(2) + const value_arrowOffset_value_2 = value_arrowOffset_value as Resource + valueSerializer.writeResource(value_arrowOffset_value_2) + } + } + const value_showInSubWindow = value.showInSubWindow + let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED + value_showInSubWindow_type = runtimeType(value_showInSubWindow) + valueSerializer.writeInt8(value_showInSubWindow_type) + if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { + const value_showInSubWindow_value = value_showInSubWindow! + valueSerializer.writeBoolean(value_showInSubWindow_value) + } + const value_mask = value.mask + let value_mask_type : int32 = RuntimeType.UNDEFINED + value_mask_type = runtimeType(value_mask) + valueSerializer.writeInt8(value_mask_type) + if ((RuntimeType.UNDEFINED) != (value_mask_type)) { + const value_mask_value = value_mask! + let value_mask_value_type : int32 = RuntimeType.UNDEFINED + value_mask_value_type = runtimeType(value_mask_value) + if (RuntimeType.BOOLEAN == value_mask_value_type) { + valueSerializer.writeInt8(0) + const value_mask_value_0 = value_mask_value as boolean + valueSerializer.writeBoolean(value_mask_value_0) + } + else if (RuntimeType.OBJECT == value_mask_value_type) { + valueSerializer.writeInt8(1) + const value_mask_value_1 = value_mask_value as Literal_ResourceColor_color + const value_mask_value_1_color = value_mask_value_1.color + let value_mask_value_1_color_type : int32 = RuntimeType.UNDEFINED + value_mask_value_1_color_type = runtimeType(value_mask_value_1_color) + if (TypeChecker.isColor(value_mask_value_1_color)) { + valueSerializer.writeInt8(0) + const value_mask_value_1_color_0 = value_mask_value_1_color as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_mask_value_1_color_0)) + } + else if (RuntimeType.NUMBER == value_mask_value_1_color_type) { + valueSerializer.writeInt8(1) + const value_mask_value_1_color_1 = value_mask_value_1_color as number + valueSerializer.writeNumber(value_mask_value_1_color_1) + } + else if (RuntimeType.STRING == value_mask_value_1_color_type) { + valueSerializer.writeInt8(2) + const value_mask_value_1_color_2 = value_mask_value_1_color as string + valueSerializer.writeString(value_mask_value_1_color_2) + } + else if (RuntimeType.OBJECT == value_mask_value_1_color_type) { + valueSerializer.writeInt8(3) + const value_mask_value_1_color_3 = value_mask_value_1_color as Resource + valueSerializer.writeResource(value_mask_value_1_color_3) + } + } + } + const value_targetSpace = value.targetSpace + let value_targetSpace_type : int32 = RuntimeType.UNDEFINED + value_targetSpace_type = runtimeType(value_targetSpace) + valueSerializer.writeInt8(value_targetSpace_type) + if ((RuntimeType.UNDEFINED) != (value_targetSpace_type)) { + const value_targetSpace_value = value_targetSpace! + let value_targetSpace_value_type : int32 = RuntimeType.UNDEFINED + value_targetSpace_value_type = runtimeType(value_targetSpace_value) + if (RuntimeType.STRING == value_targetSpace_value_type) { + valueSerializer.writeInt8(0) + const value_targetSpace_value_0 = value_targetSpace_value as string + valueSerializer.writeString(value_targetSpace_value_0) + } + else if (RuntimeType.NUMBER == value_targetSpace_value_type) { + valueSerializer.writeInt8(1) + const value_targetSpace_value_1 = value_targetSpace_value as number + valueSerializer.writeNumber(value_targetSpace_value_1) + } + else if (RuntimeType.OBJECT == value_targetSpace_value_type) { + valueSerializer.writeInt8(2) + const value_targetSpace_value_2 = value_targetSpace_value as Resource + valueSerializer.writeResource(value_targetSpace_value_2) + } + } + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writePosition(value_offset_value) + } + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as string + valueSerializer.writeString(value_width_value_0) + } + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as number + valueSerializer.writeNumber(value_width_value_1) + } + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as Resource + valueSerializer.writeResource(value_width_value_2) + } + } + const value_arrowPointPosition = value.arrowPointPosition + let value_arrowPointPosition_type : int32 = RuntimeType.UNDEFINED + value_arrowPointPosition_type = runtimeType(value_arrowPointPosition) + valueSerializer.writeInt8(value_arrowPointPosition_type) + if ((RuntimeType.UNDEFINED) != (value_arrowPointPosition_type)) { + const value_arrowPointPosition_value = (value_arrowPointPosition as ArrowPointPosition) + valueSerializer.writeInt32(TypeChecker.ArrowPointPosition_ToNumeric(value_arrowPointPosition_value)) + } + const value_arrowWidth = value.arrowWidth + let value_arrowWidth_type : int32 = RuntimeType.UNDEFINED + value_arrowWidth_type = runtimeType(value_arrowWidth) + valueSerializer.writeInt8(value_arrowWidth_type) + if ((RuntimeType.UNDEFINED) != (value_arrowWidth_type)) { + const value_arrowWidth_value = value_arrowWidth! + let value_arrowWidth_value_type : int32 = RuntimeType.UNDEFINED + value_arrowWidth_value_type = runtimeType(value_arrowWidth_value) + if (RuntimeType.STRING == value_arrowWidth_value_type) { + valueSerializer.writeInt8(0) + const value_arrowWidth_value_0 = value_arrowWidth_value as string + valueSerializer.writeString(value_arrowWidth_value_0) + } + else if (RuntimeType.NUMBER == value_arrowWidth_value_type) { + valueSerializer.writeInt8(1) + const value_arrowWidth_value_1 = value_arrowWidth_value as number + valueSerializer.writeNumber(value_arrowWidth_value_1) + } + else if (RuntimeType.OBJECT == value_arrowWidth_value_type) { + valueSerializer.writeInt8(2) + const value_arrowWidth_value_2 = value_arrowWidth_value as Resource + valueSerializer.writeResource(value_arrowWidth_value_2) + } + } + const value_arrowHeight = value.arrowHeight + let value_arrowHeight_type : int32 = RuntimeType.UNDEFINED + value_arrowHeight_type = runtimeType(value_arrowHeight) + valueSerializer.writeInt8(value_arrowHeight_type) + if ((RuntimeType.UNDEFINED) != (value_arrowHeight_type)) { + const value_arrowHeight_value = value_arrowHeight! + let value_arrowHeight_value_type : int32 = RuntimeType.UNDEFINED + value_arrowHeight_value_type = runtimeType(value_arrowHeight_value) + if (RuntimeType.STRING == value_arrowHeight_value_type) { + valueSerializer.writeInt8(0) + const value_arrowHeight_value_0 = value_arrowHeight_value as string + valueSerializer.writeString(value_arrowHeight_value_0) + } + else if (RuntimeType.NUMBER == value_arrowHeight_value_type) { + valueSerializer.writeInt8(1) + const value_arrowHeight_value_1 = value_arrowHeight_value as number + valueSerializer.writeNumber(value_arrowHeight_value_1) + } + else if (RuntimeType.OBJECT == value_arrowHeight_value_type) { + valueSerializer.writeInt8(2) + const value_arrowHeight_value_2 = value_arrowHeight_value as Resource + valueSerializer.writeResource(value_arrowHeight_value_2) + } + } + const value_radius = value.radius + let value_radius_type : int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + let value_radius_value_type : int32 = RuntimeType.UNDEFINED + value_radius_value_type = runtimeType(value_radius_value) + if (RuntimeType.STRING == value_radius_value_type) { + valueSerializer.writeInt8(0) + const value_radius_value_0 = value_radius_value as string + valueSerializer.writeString(value_radius_value_0) + } + else if (RuntimeType.NUMBER == value_radius_value_type) { + valueSerializer.writeInt8(1) + const value_radius_value_1 = value_radius_value as number + valueSerializer.writeNumber(value_radius_value_1) + } + else if (RuntimeType.OBJECT == value_radius_value_type) { + valueSerializer.writeInt8(2) + const value_radius_value_2 = value_radius_value as Resource + valueSerializer.writeResource(value_radius_value_2) + } + } + const value_shadow = value.shadow + let value_shadow_type : int32 = RuntimeType.UNDEFINED + value_shadow_type = runtimeType(value_shadow) + valueSerializer.writeInt8(value_shadow_type) + if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { + const value_shadow_value = value_shadow! + let value_shadow_value_type : int32 = RuntimeType.UNDEFINED + value_shadow_value_type = runtimeType(value_shadow_value) + if (RuntimeType.OBJECT == value_shadow_value_type) { + valueSerializer.writeInt8(0) + const value_shadow_value_0 = value_shadow_value as ShadowOptions + valueSerializer.writeShadowOptions(value_shadow_value_0) + } + else if (TypeChecker.isShadowStyle(value_shadow_value)) { + valueSerializer.writeInt8(1) + const value_shadow_value_1 = value_shadow_value as ShadowStyle + valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) + } + } + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) + valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) + } + const value_focusable = value.focusable + let value_focusable_type : int32 = RuntimeType.UNDEFINED + value_focusable_type = runtimeType(value_focusable) + valueSerializer.writeInt8(value_focusable_type) + if ((RuntimeType.UNDEFINED) != (value_focusable_type)) { + const value_focusable_value = value_focusable! + valueSerializer.writeBoolean(value_focusable_value) + } + const value_transition = value.transition + let value_transition_type : int32 = RuntimeType.UNDEFINED + value_transition_type = runtimeType(value_transition) + valueSerializer.writeInt8(value_transition_type) + if ((RuntimeType.UNDEFINED) != (value_transition_type)) { + const value_transition_value = value_transition! + valueSerializer.writeTransitionEffect(value_transition_value) + } + const value_onWillDismiss = value.onWillDismiss + let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED + value_onWillDismiss_type = runtimeType(value_onWillDismiss) + valueSerializer.writeInt8(value_onWillDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { + const value_onWillDismiss_value = value_onWillDismiss! + let value_onWillDismiss_value_type : int32 = RuntimeType.UNDEFINED + value_onWillDismiss_value_type = runtimeType(value_onWillDismiss_value) + if (RuntimeType.BOOLEAN == value_onWillDismiss_value_type) { + valueSerializer.writeInt8(0) + const value_onWillDismiss_value_0 = value_onWillDismiss_value as boolean + valueSerializer.writeBoolean(value_onWillDismiss_value_0) + } + else if (RuntimeType.FUNCTION == value_onWillDismiss_value_type) { + valueSerializer.writeInt8(1) + const value_onWillDismiss_value_1 = value_onWillDismiss_value as ((parameter: DismissPopupAction) => void) + valueSerializer.holdAndWriteCallback(value_onWillDismiss_value_1) + } + } + const value_enableHoverMode = value.enableHoverMode + let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED + value_enableHoverMode_type = runtimeType(value_enableHoverMode) + valueSerializer.writeInt8(value_enableHoverMode_type) + if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { + const value_enableHoverMode_value = value_enableHoverMode! + valueSerializer.writeBoolean(value_enableHoverMode_value) + } + const value_followTransformOfTarget = value.followTransformOfTarget + let value_followTransformOfTarget_type : int32 = RuntimeType.UNDEFINED + value_followTransformOfTarget_type = runtimeType(value_followTransformOfTarget) + valueSerializer.writeInt8(value_followTransformOfTarget_type) + if ((RuntimeType.UNDEFINED) != (value_followTransformOfTarget_type)) { + const value_followTransformOfTarget_value = value_followTransformOfTarget! + valueSerializer.writeBoolean(value_followTransformOfTarget_value) + } + const value_keyboardAvoidMode = value.keyboardAvoidMode + let value_keyboardAvoidMode_type : int32 = RuntimeType.UNDEFINED + value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode) + valueSerializer.writeInt8(value_keyboardAvoidMode_type) + if ((RuntimeType.UNDEFINED) != (value_keyboardAvoidMode_type)) { + const value_keyboardAvoidMode_value = (value_keyboardAvoidMode as KeyboardAvoidMode) + valueSerializer.writeInt32(TypeChecker.KeyboardAvoidMode_ToNumeric(value_keyboardAvoidMode_value)) + } + } + public writeDigitIndicator(value: DigitIndicator): void { + let valueSerializer : Serializer = this + const value__left = value._left + let value__left_type : int32 = RuntimeType.UNDEFINED + value__left_type = runtimeType(value__left) + valueSerializer.writeInt8(value__left_type) + if ((RuntimeType.UNDEFINED) != (value__left_type)) { + const value__left_value = value__left! + let value__left_value_type : int32 = RuntimeType.UNDEFINED + value__left_value_type = runtimeType(value__left_value) + if (RuntimeType.STRING == value__left_value_type) { + valueSerializer.writeInt8(0) + const value__left_value_0 = value__left_value as string + valueSerializer.writeString(value__left_value_0) + } + else if (RuntimeType.NUMBER == value__left_value_type) { + valueSerializer.writeInt8(1) + const value__left_value_1 = value__left_value as number + valueSerializer.writeNumber(value__left_value_1) + } + else if (RuntimeType.OBJECT == value__left_value_type) { + valueSerializer.writeInt8(2) + const value__left_value_2 = value__left_value as Resource + valueSerializer.writeResource(value__left_value_2) + } + } + const value__top = value._top + let value__top_type : int32 = RuntimeType.UNDEFINED + value__top_type = runtimeType(value__top) + valueSerializer.writeInt8(value__top_type) + if ((RuntimeType.UNDEFINED) != (value__top_type)) { + const value__top_value = value__top! + let value__top_value_type : int32 = RuntimeType.UNDEFINED + value__top_value_type = runtimeType(value__top_value) + if (RuntimeType.STRING == value__top_value_type) { + valueSerializer.writeInt8(0) + const value__top_value_0 = value__top_value as string + valueSerializer.writeString(value__top_value_0) + } + else if (RuntimeType.NUMBER == value__top_value_type) { + valueSerializer.writeInt8(1) + const value__top_value_1 = value__top_value as number + valueSerializer.writeNumber(value__top_value_1) + } + else if (RuntimeType.OBJECT == value__top_value_type) { + valueSerializer.writeInt8(2) + const value__top_value_2 = value__top_value as Resource + valueSerializer.writeResource(value__top_value_2) + } + } + const value__right = value._right + let value__right_type : int32 = RuntimeType.UNDEFINED + value__right_type = runtimeType(value__right) + valueSerializer.writeInt8(value__right_type) + if ((RuntimeType.UNDEFINED) != (value__right_type)) { + const value__right_value = value__right! + let value__right_value_type : int32 = RuntimeType.UNDEFINED + value__right_value_type = runtimeType(value__right_value) + if (RuntimeType.STRING == value__right_value_type) { + valueSerializer.writeInt8(0) + const value__right_value_0 = value__right_value as string + valueSerializer.writeString(value__right_value_0) + } + else if (RuntimeType.NUMBER == value__right_value_type) { + valueSerializer.writeInt8(1) + const value__right_value_1 = value__right_value as number + valueSerializer.writeNumber(value__right_value_1) + } + else if (RuntimeType.OBJECT == value__right_value_type) { + valueSerializer.writeInt8(2) + const value__right_value_2 = value__right_value as Resource + valueSerializer.writeResource(value__right_value_2) + } + } + const value__bottom = value._bottom + let value__bottom_type : int32 = RuntimeType.UNDEFINED + value__bottom_type = runtimeType(value__bottom) + valueSerializer.writeInt8(value__bottom_type) + if ((RuntimeType.UNDEFINED) != (value__bottom_type)) { + const value__bottom_value = value__bottom! + let value__bottom_value_type : int32 = RuntimeType.UNDEFINED + value__bottom_value_type = runtimeType(value__bottom_value) + if (RuntimeType.STRING == value__bottom_value_type) { + valueSerializer.writeInt8(0) + const value__bottom_value_0 = value__bottom_value as string + valueSerializer.writeString(value__bottom_value_0) + } + else if (RuntimeType.NUMBER == value__bottom_value_type) { + valueSerializer.writeInt8(1) + const value__bottom_value_1 = value__bottom_value as number + valueSerializer.writeNumber(value__bottom_value_1) + } + else if (RuntimeType.OBJECT == value__bottom_value_type) { + valueSerializer.writeInt8(2) + const value__bottom_value_2 = value__bottom_value as Resource + valueSerializer.writeResource(value__bottom_value_2) + } + } + const value__start = value._start + let value__start_type : int32 = RuntimeType.UNDEFINED + value__start_type = runtimeType(value__start) + valueSerializer.writeInt8(value__start_type) + if ((RuntimeType.UNDEFINED) != (value__start_type)) { + const value__start_value = value__start! + valueSerializer.writeLengthMetrics(value__start_value) + } + const value__end = value._end + let value__end_type : int32 = RuntimeType.UNDEFINED + value__end_type = runtimeType(value__end) + valueSerializer.writeInt8(value__end_type) + if ((RuntimeType.UNDEFINED) != (value__end_type)) { + const value__end_value = value__end! + valueSerializer.writeLengthMetrics(value__end_value) + } + const value__fontColor = value._fontColor + let value__fontColor_type : int32 = RuntimeType.UNDEFINED + value__fontColor_type = runtimeType(value__fontColor) + valueSerializer.writeInt8(value__fontColor_type) + if ((RuntimeType.UNDEFINED) != (value__fontColor_type)) { + const value__fontColor_value = value__fontColor! + let value__fontColor_value_type : int32 = RuntimeType.UNDEFINED + value__fontColor_value_type = runtimeType(value__fontColor_value) + if (TypeChecker.isColor(value__fontColor_value)) { + valueSerializer.writeInt8(0) + const value__fontColor_value_0 = value__fontColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value__fontColor_value_0)) + } + else if (RuntimeType.NUMBER == value__fontColor_value_type) { + valueSerializer.writeInt8(1) + const value__fontColor_value_1 = value__fontColor_value as number + valueSerializer.writeNumber(value__fontColor_value_1) + } + else if (RuntimeType.STRING == value__fontColor_value_type) { + valueSerializer.writeInt8(2) + const value__fontColor_value_2 = value__fontColor_value as string + valueSerializer.writeString(value__fontColor_value_2) + } + else if (RuntimeType.OBJECT == value__fontColor_value_type) { + valueSerializer.writeInt8(3) + const value__fontColor_value_3 = value__fontColor_value as Resource + valueSerializer.writeResource(value__fontColor_value_3) + } + } + const value__selectedFontColor = value._selectedFontColor + let value__selectedFontColor_type : int32 = RuntimeType.UNDEFINED + value__selectedFontColor_type = runtimeType(value__selectedFontColor) + valueSerializer.writeInt8(value__selectedFontColor_type) + if ((RuntimeType.UNDEFINED) != (value__selectedFontColor_type)) { + const value__selectedFontColor_value = value__selectedFontColor! + let value__selectedFontColor_value_type : int32 = RuntimeType.UNDEFINED + value__selectedFontColor_value_type = runtimeType(value__selectedFontColor_value) + if (TypeChecker.isColor(value__selectedFontColor_value)) { + valueSerializer.writeInt8(0) + const value__selectedFontColor_value_0 = value__selectedFontColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value__selectedFontColor_value_0)) + } + else if (RuntimeType.NUMBER == value__selectedFontColor_value_type) { + valueSerializer.writeInt8(1) + const value__selectedFontColor_value_1 = value__selectedFontColor_value as number + valueSerializer.writeNumber(value__selectedFontColor_value_1) + } + else if (RuntimeType.STRING == value__selectedFontColor_value_type) { + valueSerializer.writeInt8(2) + const value__selectedFontColor_value_2 = value__selectedFontColor_value as string + valueSerializer.writeString(value__selectedFontColor_value_2) + } + else if (RuntimeType.OBJECT == value__selectedFontColor_value_type) { + valueSerializer.writeInt8(3) + const value__selectedFontColor_value_3 = value__selectedFontColor_value as Resource + valueSerializer.writeResource(value__selectedFontColor_value_3) + } + } + const value__digitFont = value._digitFont + let value__digitFont_type : int32 = RuntimeType.UNDEFINED + value__digitFont_type = runtimeType(value__digitFont) + valueSerializer.writeInt8(value__digitFont_type) + if ((RuntimeType.UNDEFINED) != (value__digitFont_type)) { + const value__digitFont_value = value__digitFont! + valueSerializer.writeFont(value__digitFont_value) + } + const value__selectedDigitFont = value._selectedDigitFont + let value__selectedDigitFont_type : int32 = RuntimeType.UNDEFINED + value__selectedDigitFont_type = runtimeType(value__selectedDigitFont) + valueSerializer.writeInt8(value__selectedDigitFont_type) + if ((RuntimeType.UNDEFINED) != (value__selectedDigitFont_type)) { + const value__selectedDigitFont_value = value__selectedDigitFont! + valueSerializer.writeFont(value__selectedDigitFont_value) + } + } + public writeEventTarget(value: EventTarget): void { + let valueSerializer : Serializer = this + const value_area = value.area + valueSerializer.writeArea(value_area) + const value_id = value.id + let value_id_type : int32 = RuntimeType.UNDEFINED + value_id_type = runtimeType(value_id) + valueSerializer.writeInt8(value_id_type) + if ((RuntimeType.UNDEFINED) != (value_id_type)) { + const value_id_value = value_id! + valueSerializer.writeString(value_id_value) + } + } + public writeFocusAxisEvent(value: FocusAxisEvent): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeGestureEvent(value: GestureEvent): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeGutterOption(value: GutterOption): void { + let valueSerializer : Serializer = this + const value_x = value.x + let value_x_type : int32 = RuntimeType.UNDEFINED + value_x_type = runtimeType(value_x) + valueSerializer.writeInt8(value_x_type) + if ((RuntimeType.UNDEFINED) != (value_x_type)) { + const value_x_value = value_x! + let value_x_value_type : int32 = RuntimeType.UNDEFINED + value_x_value_type = runtimeType(value_x_value) + if ((RuntimeType.STRING == value_x_value_type) || (RuntimeType.NUMBER == value_x_value_type) || (RuntimeType.OBJECT == value_x_value_type)) { + valueSerializer.writeInt8(0) + const value_x_value_0 = value_x_value as Length + let value_x_value_0_type : int32 = RuntimeType.UNDEFINED + value_x_value_0_type = runtimeType(value_x_value_0) + if (RuntimeType.STRING == value_x_value_0_type) { + valueSerializer.writeInt8(0) const value_x_value_0_0 = value_x_value_0 as string valueSerializer.writeString(value_x_value_0_0) } else if (RuntimeType.NUMBER == value_x_value_0_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_x_value_0_1 = value_x_value_0 as number valueSerializer.writeNumber(value_x_value_0_1) } else if (RuntimeType.OBJECT == value_x_value_0_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_x_value_0_2 = value_x_value_0 as Resource valueSerializer.writeResource(value_x_value_0_2) } } else if (TypeChecker.isGridRowSizeOption(value_x_value, false, false, false, false, false, false)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_x_value_1 = value_x_value as GridRowSizeOption valueSerializer.writeGridRowSizeOption(value_x_value_1) } @@ -22755,195 +23056,100 @@ export class Serializer extends SerializerBase { const value_y = value.y let value_y_type : int32 = RuntimeType.UNDEFINED value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type as int32) + valueSerializer.writeInt8(value_y_type) if ((RuntimeType.UNDEFINED) != (value_y_type)) { const value_y_value = value_y! let value_y_value_type : int32 = RuntimeType.UNDEFINED value_y_value_type = runtimeType(value_y_value) if ((RuntimeType.STRING == value_y_value_type) || (RuntimeType.NUMBER == value_y_value_type) || (RuntimeType.OBJECT == value_y_value_type)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_y_value_0 = value_y_value as Length let value_y_value_0_type : int32 = RuntimeType.UNDEFINED value_y_value_0_type = runtimeType(value_y_value_0) if (RuntimeType.STRING == value_y_value_0_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_y_value_0_0 = value_y_value_0 as string valueSerializer.writeString(value_y_value_0_0) } else if (RuntimeType.NUMBER == value_y_value_0_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_y_value_0_1 = value_y_value_0 as number valueSerializer.writeNumber(value_y_value_0_1) } else if (RuntimeType.OBJECT == value_y_value_0_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_y_value_0_2 = value_y_value_0 as Resource valueSerializer.writeResource(value_y_value_0_2) } } else if (TypeChecker.isGridRowSizeOption(value_y_value, false, false, false, false, false, false)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_y_value_1 = value_y_value as GridRowSizeOption valueSerializer.writeGridRowSizeOption(value_y_value_1) } } } - writeHoverEvent(value: HoverEvent): void { + public writeHoverEvent(value: HoverEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeImageAttachmentLayoutStyle(value: ImageAttachmentLayoutStyle): void { + public writeImageAttachmentLayoutStyle(value: ImageAttachmentLayoutStyle): void { let valueSerializer : Serializer = this const value_margin = value.margin let value_margin_type : int32 = RuntimeType.UNDEFINED value_margin_type = runtimeType(value_margin) - valueSerializer.writeInt8(value_margin_type as int32) + valueSerializer.writeInt8(value_margin_type) if ((RuntimeType.UNDEFINED) != (value_margin_type)) { const value_margin_value = value_margin! let value_margin_value_type : int32 = RuntimeType.UNDEFINED value_margin_value_type = runtimeType(value_margin_value) if (TypeChecker.isLengthMetrics(value_margin_value, false, false)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_margin_value_0 = value_margin_value as LengthMetrics valueSerializer.writeLengthMetrics(value_margin_value_0) } - else if (((RuntimeType.OBJECT) == (value_margin_value_type)) && (TypeChecker.isPadding(value_margin_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) + else if (TypeChecker.isPadding(value_margin_value, false, false, false, false)) { + valueSerializer.writeInt8(1) const value_margin_value_1 = value_margin_value as Padding - const value_margin_value_1_top = value_margin_value_1.top - let value_margin_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_top_type = runtimeType(value_margin_value_1_top) - valueSerializer.writeInt8(value_margin_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_top_type)) { - const value_margin_value_1_top_value = value_margin_value_1_top! - let value_margin_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_top_value_type = runtimeType(value_margin_value_1_top_value) - if (RuntimeType.STRING == value_margin_value_1_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_1_top_value_0 = value_margin_value_1_top_value as string - valueSerializer.writeString(value_margin_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1_top_value_1 = value_margin_value_1_top_value as number - valueSerializer.writeNumber(value_margin_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_1_top_value_2 = value_margin_value_1_top_value as Resource - valueSerializer.writeResource(value_margin_value_1_top_value_2) - } - } - const value_margin_value_1_right = value_margin_value_1.right - let value_margin_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_right_type = runtimeType(value_margin_value_1_right) - valueSerializer.writeInt8(value_margin_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_right_type)) { - const value_margin_value_1_right_value = value_margin_value_1_right! - let value_margin_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_right_value_type = runtimeType(value_margin_value_1_right_value) - if (RuntimeType.STRING == value_margin_value_1_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_1_right_value_0 = value_margin_value_1_right_value as string - valueSerializer.writeString(value_margin_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1_right_value_1 = value_margin_value_1_right_value as number - valueSerializer.writeNumber(value_margin_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_1_right_value_2 = value_margin_value_1_right_value as Resource - valueSerializer.writeResource(value_margin_value_1_right_value_2) - } - } - const value_margin_value_1_bottom = value_margin_value_1.bottom - let value_margin_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_bottom_type = runtimeType(value_margin_value_1_bottom) - valueSerializer.writeInt8(value_margin_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_bottom_type)) { - const value_margin_value_1_bottom_value = value_margin_value_1_bottom! - let value_margin_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_bottom_value_type = runtimeType(value_margin_value_1_bottom_value) - if (RuntimeType.STRING == value_margin_value_1_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_1_bottom_value_0 = value_margin_value_1_bottom_value as string - valueSerializer.writeString(value_margin_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1_bottom_value_1 = value_margin_value_1_bottom_value as number - valueSerializer.writeNumber(value_margin_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_1_bottom_value_2 = value_margin_value_1_bottom_value as Resource - valueSerializer.writeResource(value_margin_value_1_bottom_value_2) - } - } - const value_margin_value_1_left = value_margin_value_1.left - let value_margin_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_left_type = runtimeType(value_margin_value_1_left) - valueSerializer.writeInt8(value_margin_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_left_type)) { - const value_margin_value_1_left_value = value_margin_value_1_left! - let value_margin_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_left_value_type = runtimeType(value_margin_value_1_left_value) - if (RuntimeType.STRING == value_margin_value_1_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_1_left_value_0 = value_margin_value_1_left_value as string - valueSerializer.writeString(value_margin_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1_left_value_1 = value_margin_value_1_left_value as number - valueSerializer.writeNumber(value_margin_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_1_left_value_2 = value_margin_value_1_left_value as Resource - valueSerializer.writeResource(value_margin_value_1_left_value_2) - } - } + valueSerializer.writePadding(value_margin_value_1) } } const value_padding = value.padding let value_padding_type : int32 = RuntimeType.UNDEFINED value_padding_type = runtimeType(value_padding) - valueSerializer.writeInt8(value_padding_type as int32) + valueSerializer.writeInt8(value_padding_type) if ((RuntimeType.UNDEFINED) != (value_padding_type)) { const value_padding_value = value_padding! let value_padding_value_type : int32 = RuntimeType.UNDEFINED value_padding_value_type = runtimeType(value_padding_value) if (TypeChecker.isLengthMetrics(value_padding_value, false, false)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_padding_value_0 = value_padding_value as LengthMetrics valueSerializer.writeLengthMetrics(value_padding_value_0) } else if (TypeChecker.isPadding(value_padding_value, false, false, false, false)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_padding_value_1 = value_padding_value as Padding const value_padding_value_1_top = value_padding_value_1.top let value_padding_value_1_top_type : int32 = RuntimeType.UNDEFINED value_padding_value_1_top_type = runtimeType(value_padding_value_1_top) - valueSerializer.writeInt8(value_padding_value_1_top_type as int32) + valueSerializer.writeInt8(value_padding_value_1_top_type) if ((RuntimeType.UNDEFINED) != (value_padding_value_1_top_type)) { const value_padding_value_1_top_value = value_padding_value_1_top! let value_padding_value_1_top_value_type : int32 = RuntimeType.UNDEFINED value_padding_value_1_top_value_type = runtimeType(value_padding_value_1_top_value) if (RuntimeType.STRING == value_padding_value_1_top_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_padding_value_1_top_value_0 = value_padding_value_1_top_value as string valueSerializer.writeString(value_padding_value_1_top_value_0) } else if (RuntimeType.NUMBER == value_padding_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_padding_value_1_top_value_1 = value_padding_value_1_top_value as number valueSerializer.writeNumber(value_padding_value_1_top_value_1) } else if (RuntimeType.OBJECT == value_padding_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_padding_value_1_top_value_2 = value_padding_value_1_top_value as Resource valueSerializer.writeResource(value_padding_value_1_top_value_2) } @@ -22951,23 +23157,23 @@ export class Serializer extends SerializerBase { const value_padding_value_1_right = value_padding_value_1.right let value_padding_value_1_right_type : int32 = RuntimeType.UNDEFINED value_padding_value_1_right_type = runtimeType(value_padding_value_1_right) - valueSerializer.writeInt8(value_padding_value_1_right_type as int32) + valueSerializer.writeInt8(value_padding_value_1_right_type) if ((RuntimeType.UNDEFINED) != (value_padding_value_1_right_type)) { const value_padding_value_1_right_value = value_padding_value_1_right! let value_padding_value_1_right_value_type : int32 = RuntimeType.UNDEFINED value_padding_value_1_right_value_type = runtimeType(value_padding_value_1_right_value) if (RuntimeType.STRING == value_padding_value_1_right_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_padding_value_1_right_value_0 = value_padding_value_1_right_value as string valueSerializer.writeString(value_padding_value_1_right_value_0) } else if (RuntimeType.NUMBER == value_padding_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_padding_value_1_right_value_1 = value_padding_value_1_right_value as number valueSerializer.writeNumber(value_padding_value_1_right_value_1) } else if (RuntimeType.OBJECT == value_padding_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_padding_value_1_right_value_2 = value_padding_value_1_right_value as Resource valueSerializer.writeResource(value_padding_value_1_right_value_2) } @@ -22975,23 +23181,23 @@ export class Serializer extends SerializerBase { const value_padding_value_1_bottom = value_padding_value_1.bottom let value_padding_value_1_bottom_type : int32 = RuntimeType.UNDEFINED value_padding_value_1_bottom_type = runtimeType(value_padding_value_1_bottom) - valueSerializer.writeInt8(value_padding_value_1_bottom_type as int32) + valueSerializer.writeInt8(value_padding_value_1_bottom_type) if ((RuntimeType.UNDEFINED) != (value_padding_value_1_bottom_type)) { const value_padding_value_1_bottom_value = value_padding_value_1_bottom! let value_padding_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED value_padding_value_1_bottom_value_type = runtimeType(value_padding_value_1_bottom_value) if (RuntimeType.STRING == value_padding_value_1_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_padding_value_1_bottom_value_0 = value_padding_value_1_bottom_value as string valueSerializer.writeString(value_padding_value_1_bottom_value_0) } else if (RuntimeType.NUMBER == value_padding_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_padding_value_1_bottom_value_1 = value_padding_value_1_bottom_value as number valueSerializer.writeNumber(value_padding_value_1_bottom_value_1) } else if (RuntimeType.OBJECT == value_padding_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_padding_value_1_bottom_value_2 = value_padding_value_1_bottom_value as Resource valueSerializer.writeResource(value_padding_value_1_bottom_value_2) } @@ -22999,23 +23205,23 @@ export class Serializer extends SerializerBase { const value_padding_value_1_left = value_padding_value_1.left let value_padding_value_1_left_type : int32 = RuntimeType.UNDEFINED value_padding_value_1_left_type = runtimeType(value_padding_value_1_left) - valueSerializer.writeInt8(value_padding_value_1_left_type as int32) + valueSerializer.writeInt8(value_padding_value_1_left_type) if ((RuntimeType.UNDEFINED) != (value_padding_value_1_left_type)) { const value_padding_value_1_left_value = value_padding_value_1_left! let value_padding_value_1_left_value_type : int32 = RuntimeType.UNDEFINED value_padding_value_1_left_value_type = runtimeType(value_padding_value_1_left_value) if (RuntimeType.STRING == value_padding_value_1_left_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_padding_value_1_left_value_0 = value_padding_value_1_left_value as string valueSerializer.writeString(value_padding_value_1_left_value_0) } else if (RuntimeType.NUMBER == value_padding_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_padding_value_1_left_value_1 = value_padding_value_1_left_value as number valueSerializer.writeNumber(value_padding_value_1_left_value_1) } else if (RuntimeType.OBJECT == value_padding_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_padding_value_1_left_value_2 = value_padding_value_1_left_value as Resource valueSerializer.writeResource(value_padding_value_1_left_value_2) } @@ -23025,124 +23231,29 @@ export class Serializer extends SerializerBase { const value_borderRadius = value.borderRadius let value_borderRadius_type : int32 = RuntimeType.UNDEFINED value_borderRadius_type = runtimeType(value_borderRadius) - valueSerializer.writeInt8(value_borderRadius_type as int32) + valueSerializer.writeInt8(value_borderRadius_type) if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { const value_borderRadius_value = value_borderRadius! let value_borderRadius_value_type : int32 = RuntimeType.UNDEFINED value_borderRadius_value_type = runtimeType(value_borderRadius_value) if (TypeChecker.isLengthMetrics(value_borderRadius_value, false, false)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_borderRadius_value_0 = value_borderRadius_value as LengthMetrics valueSerializer.writeLengthMetrics(value_borderRadius_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (TypeChecker.isBorderRadiuses(value_borderRadius_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) + else if (TypeChecker.isBorderRadiuses(value_borderRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) const value_borderRadius_value_1 = value_borderRadius_value as BorderRadiuses - const value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft - let value_borderRadius_value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft! - let value_borderRadius_value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_value_type = runtimeType(value_borderRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_topLeft_value_0 = value_borderRadius_value_1_topLeft_value as string - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_topLeft_value_1 = value_borderRadius_value_1_topLeft_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_topLeft_value_2 = value_borderRadius_value_1_topLeft_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2) - } - } - const value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight - let value_borderRadius_value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight) - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight! - let value_borderRadius_value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_value_type = runtimeType(value_borderRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_topRight_value_0 = value_borderRadius_value_1_topRight_value as string - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_topRight_value_1 = value_borderRadius_value_1_topRight_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_topRight_value_2 = value_borderRadius_value_1_topRight_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2) - } - } - const value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft - let value_borderRadius_value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft! - let value_borderRadius_value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_value_type = runtimeType(value_borderRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_bottomLeft_value_0 = value_borderRadius_value_1_bottomLeft_value as string - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_bottomLeft_value_1 = value_borderRadius_value_1_bottomLeft_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_bottomLeft_value_2 = value_borderRadius_value_1_bottomLeft_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2) - } - } - const value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight - let value_borderRadius_value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight! - let value_borderRadius_value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_value_type = runtimeType(value_borderRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_bottomRight_value_0 = value_borderRadius_value_1_bottomRight_value as string - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_bottomRight_value_1 = value_borderRadius_value_1_bottomRight_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_bottomRight_value_2 = value_borderRadius_value_1_bottomRight_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1) } } } - writeLabelStyle(value: LabelStyle): void { + public writeLabelStyle(value: LabelStyle): void { let valueSerializer : Serializer = this const value_overflow = value.overflow let value_overflow_type : int32 = RuntimeType.UNDEFINED value_overflow_type = runtimeType(value_overflow) - valueSerializer.writeInt8(value_overflow_type as int32) + valueSerializer.writeInt8(value_overflow_type) if ((RuntimeType.UNDEFINED) != (value_overflow_type)) { const value_overflow_value = (value_overflow as TextOverflow) valueSerializer.writeInt32(TypeChecker.TextOverflow_ToNumeric(value_overflow_value)) @@ -23150,7 +23261,7 @@ export class Serializer extends SerializerBase { const value_maxLines = value.maxLines let value_maxLines_type : int32 = RuntimeType.UNDEFINED value_maxLines_type = runtimeType(value_maxLines) - valueSerializer.writeInt8(value_maxLines_type as int32) + valueSerializer.writeInt8(value_maxLines_type) if ((RuntimeType.UNDEFINED) != (value_maxLines_type)) { const value_maxLines_value = value_maxLines! valueSerializer.writeNumber(value_maxLines_value) @@ -23158,28 +23269,28 @@ export class Serializer extends SerializerBase { const value_minFontSize = value.minFontSize let value_minFontSize_type : int32 = RuntimeType.UNDEFINED value_minFontSize_type = runtimeType(value_minFontSize) - valueSerializer.writeInt8(value_minFontSize_type as int32) + valueSerializer.writeInt8(value_minFontSize_type) if ((RuntimeType.UNDEFINED) != (value_minFontSize_type)) { const value_minFontSize_value = value_minFontSize! let value_minFontSize_value_type : int32 = RuntimeType.UNDEFINED value_minFontSize_value_type = runtimeType(value_minFontSize_value) if (RuntimeType.NUMBER == value_minFontSize_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_minFontSize_value_0 = value_minFontSize_value as number valueSerializer.writeNumber(value_minFontSize_value_0) } else if ((RuntimeType.STRING == value_minFontSize_value_type) || (RuntimeType.OBJECT == value_minFontSize_value_type)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_minFontSize_value_1 = value_minFontSize_value as ResourceStr let value_minFontSize_value_1_type : int32 = RuntimeType.UNDEFINED value_minFontSize_value_1_type = runtimeType(value_minFontSize_value_1) if (RuntimeType.STRING == value_minFontSize_value_1_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_minFontSize_value_1_0 = value_minFontSize_value_1 as string valueSerializer.writeString(value_minFontSize_value_1_0) } else if (RuntimeType.OBJECT == value_minFontSize_value_1_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_minFontSize_value_1_1 = value_minFontSize_value_1 as Resource valueSerializer.writeResource(value_minFontSize_value_1_1) } @@ -23188,28 +23299,28 @@ export class Serializer extends SerializerBase { const value_maxFontSize = value.maxFontSize let value_maxFontSize_type : int32 = RuntimeType.UNDEFINED value_maxFontSize_type = runtimeType(value_maxFontSize) - valueSerializer.writeInt8(value_maxFontSize_type as int32) + valueSerializer.writeInt8(value_maxFontSize_type) if ((RuntimeType.UNDEFINED) != (value_maxFontSize_type)) { const value_maxFontSize_value = value_maxFontSize! let value_maxFontSize_value_type : int32 = RuntimeType.UNDEFINED value_maxFontSize_value_type = runtimeType(value_maxFontSize_value) if (RuntimeType.NUMBER == value_maxFontSize_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_maxFontSize_value_0 = value_maxFontSize_value as number valueSerializer.writeNumber(value_maxFontSize_value_0) } else if ((RuntimeType.STRING == value_maxFontSize_value_type) || (RuntimeType.OBJECT == value_maxFontSize_value_type)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_maxFontSize_value_1 = value_maxFontSize_value as ResourceStr let value_maxFontSize_value_1_type : int32 = RuntimeType.UNDEFINED value_maxFontSize_value_1_type = runtimeType(value_maxFontSize_value_1) if (RuntimeType.STRING == value_maxFontSize_value_1_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_maxFontSize_value_1_0 = value_maxFontSize_value_1 as string valueSerializer.writeString(value_maxFontSize_value_1_0) } else if (RuntimeType.OBJECT == value_maxFontSize_value_1_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_maxFontSize_value_1_1 = value_maxFontSize_value_1 as Resource valueSerializer.writeResource(value_maxFontSize_value_1_1) } @@ -23218,7 +23329,7 @@ export class Serializer extends SerializerBase { const value_heightAdaptivePolicy = value.heightAdaptivePolicy let value_heightAdaptivePolicy_type : int32 = RuntimeType.UNDEFINED value_heightAdaptivePolicy_type = runtimeType(value_heightAdaptivePolicy) - valueSerializer.writeInt8(value_heightAdaptivePolicy_type as int32) + valueSerializer.writeInt8(value_heightAdaptivePolicy_type) if ((RuntimeType.UNDEFINED) != (value_heightAdaptivePolicy_type)) { const value_heightAdaptivePolicy_value = (value_heightAdaptivePolicy as TextHeightAdaptivePolicy) valueSerializer.writeInt32(TypeChecker.TextHeightAdaptivePolicy_ToNumeric(value_heightAdaptivePolicy_value)) @@ -23226,7 +23337,7 @@ export class Serializer extends SerializerBase { const value_font = value.font let value_font_type : int32 = RuntimeType.UNDEFINED value_font_type = runtimeType(value_font) - valueSerializer.writeInt8(value_font_type as int32) + valueSerializer.writeInt8(value_font_type) if ((RuntimeType.UNDEFINED) != (value_font_type)) { const value_font_value = value_font! valueSerializer.writeFont(value_font_value) @@ -23234,114 +23345,72 @@ export class Serializer extends SerializerBase { const value_selectedColor = value.selectedColor let value_selectedColor_type : int32 = RuntimeType.UNDEFINED value_selectedColor_type = runtimeType(value_selectedColor) - valueSerializer.writeInt8(value_selectedColor_type as int32) + valueSerializer.writeInt8(value_selectedColor_type) if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { const value_selectedColor_value = value_selectedColor! let value_selectedColor_value_type : int32 = RuntimeType.UNDEFINED value_selectedColor_value_type = runtimeType(value_selectedColor_value) if (TypeChecker.isColor(value_selectedColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_selectedColor_value_0 = value_selectedColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_selectedColor_value_0)) } else if (RuntimeType.NUMBER == value_selectedColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_selectedColor_value_1 = value_selectedColor_value as number valueSerializer.writeNumber(value_selectedColor_value_1) } else if (RuntimeType.STRING == value_selectedColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_selectedColor_value_2 = value_selectedColor_value as string valueSerializer.writeString(value_selectedColor_value_2) } else if (RuntimeType.OBJECT == value_selectedColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_selectedColor_value_3 = value_selectedColor_value as Resource - valueSerializer.writeResource(value_selectedColor_value_3) - } - } - const value_unselectedColor = value.unselectedColor - let value_unselectedColor_type : int32 = RuntimeType.UNDEFINED - value_unselectedColor_type = runtimeType(value_unselectedColor) - valueSerializer.writeInt8(value_unselectedColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { - const value_unselectedColor_value = value_unselectedColor! - let value_unselectedColor_value_type : int32 = RuntimeType.UNDEFINED - value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) - if (TypeChecker.isColor(value_unselectedColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_unselectedColor_value_0 = value_unselectedColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_unselectedColor_value_0)) - } - else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_unselectedColor_value_1 = value_unselectedColor_value as number - valueSerializer.writeNumber(value_unselectedColor_value_1) - } - else if (RuntimeType.STRING == value_unselectedColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_unselectedColor_value_2 = value_unselectedColor_value as string - valueSerializer.writeString(value_unselectedColor_value_2) - } - else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_unselectedColor_value_3 = value_unselectedColor_value as Resource - valueSerializer.writeResource(value_unselectedColor_value_3) - } - } - } - writeLeadingMarginPlaceholder(value: LeadingMarginPlaceholder): void { - let valueSerializer : Serializer = this - const value_pixelMap = value.pixelMap - valueSerializer.writePixelMap(value_pixelMap) - const value_size = value.size - const value_size_0 = value_size[0] - let value_size_0_type : int32 = RuntimeType.UNDEFINED - value_size_0_type = runtimeType(value_size_0) - if (RuntimeType.STRING == value_size_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_size_0_0 = value_size_0 as string - valueSerializer.writeString(value_size_0_0) - } - else if (RuntimeType.NUMBER == value_size_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_size_0_1 = value_size_0 as number - valueSerializer.writeNumber(value_size_0_1) - } - else if (RuntimeType.OBJECT == value_size_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_size_0_2 = value_size_0 as Resource - valueSerializer.writeResource(value_size_0_2) - } - const value_size_1 = value_size[1] - let value_size_1_type : int32 = RuntimeType.UNDEFINED - value_size_1_type = runtimeType(value_size_1) - if (RuntimeType.STRING == value_size_1_type) { - valueSerializer.writeInt8(0 as int32) - const value_size_1_0 = value_size_1 as string - valueSerializer.writeString(value_size_1_0) - } - else if (RuntimeType.NUMBER == value_size_1_type) { - valueSerializer.writeInt8(1 as int32) - const value_size_1_1 = value_size_1 as number - valueSerializer.writeNumber(value_size_1_1) + valueSerializer.writeInt8(3) + const value_selectedColor_value_3 = value_selectedColor_value as Resource + valueSerializer.writeResource(value_selectedColor_value_3) + } } - else if (RuntimeType.OBJECT == value_size_1_type) { - valueSerializer.writeInt8(2 as int32) - const value_size_1_2 = value_size_1 as Resource - valueSerializer.writeResource(value_size_1_2) + const value_unselectedColor = value.unselectedColor + let value_unselectedColor_type : int32 = RuntimeType.UNDEFINED + value_unselectedColor_type = runtimeType(value_unselectedColor) + valueSerializer.writeInt8(value_unselectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { + const value_unselectedColor_value = value_unselectedColor! + let value_unselectedColor_value_type : int32 = RuntimeType.UNDEFINED + value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) + if (TypeChecker.isColor(value_unselectedColor_value)) { + valueSerializer.writeInt8(0) + const value_unselectedColor_value_0 = value_unselectedColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_unselectedColor_value_0)) + } + else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { + valueSerializer.writeInt8(1) + const value_unselectedColor_value_1 = value_unselectedColor_value as number + valueSerializer.writeNumber(value_unselectedColor_value_1) + } + else if (RuntimeType.STRING == value_unselectedColor_value_type) { + valueSerializer.writeInt8(2) + const value_unselectedColor_value_2 = value_unselectedColor_value as string + valueSerializer.writeString(value_unselectedColor_value_2) + } + else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { + valueSerializer.writeInt8(3) + const value_unselectedColor_value_3 = value_unselectedColor_value as Resource + valueSerializer.writeResource(value_unselectedColor_value_3) + } } } - writeLongPressGestureEvent(value: LongPressGestureEvent): void { + public writeLongPressGestureEvent(value: LongPressGestureEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeMenuOptions(value: MenuOptions): void { + public writeMenuOptions(value: MenuOptions): void { let valueSerializer : Serializer = this const value_offset = value.offset let value_offset_type : int32 = RuntimeType.UNDEFINED value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) + valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! valueSerializer.writePosition(value_offset_value) @@ -23349,7 +23418,7 @@ export class Serializer extends SerializerBase { const value_placement = value.placement let value_placement_type : int32 = RuntimeType.UNDEFINED value_placement_type = runtimeType(value_placement) - valueSerializer.writeInt8(value_placement_type as int32) + valueSerializer.writeInt8(value_placement_type) if ((RuntimeType.UNDEFINED) != (value_placement_type)) { const value_placement_value = (value_placement as Placement) valueSerializer.writeInt32(TypeChecker.Placement_ToNumeric(value_placement_value)) @@ -23357,7 +23426,7 @@ export class Serializer extends SerializerBase { const value_enableArrow = value.enableArrow let value_enableArrow_type : int32 = RuntimeType.UNDEFINED value_enableArrow_type = runtimeType(value_enableArrow) - valueSerializer.writeInt8(value_enableArrow_type as int32) + valueSerializer.writeInt8(value_enableArrow_type) if ((RuntimeType.UNDEFINED) != (value_enableArrow_type)) { const value_enableArrow_value = value_enableArrow! valueSerializer.writeBoolean(value_enableArrow_value) @@ -23365,23 +23434,23 @@ export class Serializer extends SerializerBase { const value_arrowOffset = value.arrowOffset let value_arrowOffset_type : int32 = RuntimeType.UNDEFINED value_arrowOffset_type = runtimeType(value_arrowOffset) - valueSerializer.writeInt8(value_arrowOffset_type as int32) + valueSerializer.writeInt8(value_arrowOffset_type) if ((RuntimeType.UNDEFINED) != (value_arrowOffset_type)) { const value_arrowOffset_value = value_arrowOffset! let value_arrowOffset_value_type : int32 = RuntimeType.UNDEFINED value_arrowOffset_value_type = runtimeType(value_arrowOffset_value) if (RuntimeType.STRING == value_arrowOffset_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_arrowOffset_value_0 = value_arrowOffset_value as string valueSerializer.writeString(value_arrowOffset_value_0) } else if (RuntimeType.NUMBER == value_arrowOffset_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_arrowOffset_value_1 = value_arrowOffset_value as number valueSerializer.writeNumber(value_arrowOffset_value_1) } else if (RuntimeType.OBJECT == value_arrowOffset_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_arrowOffset_value_2 = value_arrowOffset_value as Resource valueSerializer.writeResource(value_arrowOffset_value_2) } @@ -23389,153 +23458,98 @@ export class Serializer extends SerializerBase { const value_preview = value.preview let value_preview_type : int32 = RuntimeType.UNDEFINED value_preview_type = runtimeType(value_preview) - valueSerializer.writeInt8(value_preview_type as int32) + valueSerializer.writeInt8(value_preview_type) if ((RuntimeType.UNDEFINED) != (value_preview_type)) { const value_preview_value = value_preview! let value_preview_value_type : int32 = RuntimeType.UNDEFINED value_preview_value_type = runtimeType(value_preview_value) if (TypeChecker.isMenuPreviewMode(value_preview_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_preview_value_0 = value_preview_value as MenuPreviewMode valueSerializer.writeInt32(TypeChecker.MenuPreviewMode_ToNumeric(value_preview_value_0)) } else if (RuntimeType.FUNCTION == value_preview_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_preview_value_1 = value_preview_value as CustomBuilder valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_preview_value_1)) } } + const value_previewBorderRadius = value.previewBorderRadius + let value_previewBorderRadius_type : int32 = RuntimeType.UNDEFINED + value_previewBorderRadius_type = runtimeType(value_previewBorderRadius) + valueSerializer.writeInt8(value_previewBorderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_previewBorderRadius_type)) { + const value_previewBorderRadius_value = value_previewBorderRadius! + let value_previewBorderRadius_value_type : int32 = RuntimeType.UNDEFINED + value_previewBorderRadius_value_type = runtimeType(value_previewBorderRadius_value) + if ((RuntimeType.STRING == value_previewBorderRadius_value_type) || (RuntimeType.NUMBER == value_previewBorderRadius_value_type) || (RuntimeType.OBJECT == value_previewBorderRadius_value_type)) { + valueSerializer.writeInt8(0) + const value_previewBorderRadius_value_0 = value_previewBorderRadius_value as Length + let value_previewBorderRadius_value_0_type : int32 = RuntimeType.UNDEFINED + value_previewBorderRadius_value_0_type = runtimeType(value_previewBorderRadius_value_0) + if (RuntimeType.STRING == value_previewBorderRadius_value_0_type) { + valueSerializer.writeInt8(0) + const value_previewBorderRadius_value_0_0 = value_previewBorderRadius_value_0 as string + valueSerializer.writeString(value_previewBorderRadius_value_0_0) + } + else if (RuntimeType.NUMBER == value_previewBorderRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_previewBorderRadius_value_0_1 = value_previewBorderRadius_value_0 as number + valueSerializer.writeNumber(value_previewBorderRadius_value_0_1) + } + else if (RuntimeType.OBJECT == value_previewBorderRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_previewBorderRadius_value_0_2 = value_previewBorderRadius_value_0 as Resource + valueSerializer.writeResource(value_previewBorderRadius_value_0_2) + } + } + else if (TypeChecker.isBorderRadiuses(value_previewBorderRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_previewBorderRadius_value_1 = value_previewBorderRadius_value as BorderRadiuses + valueSerializer.writeBorderRadiuses(value_previewBorderRadius_value_1) + } + else if (TypeChecker.isLocalizedBorderRadiuses(value_previewBorderRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_previewBorderRadius_value_2 = value_previewBorderRadius_value as LocalizedBorderRadiuses + valueSerializer.writeLocalizedBorderRadiuses(value_previewBorderRadius_value_2) + } + } const value_borderRadius = value.borderRadius let value_borderRadius_type : int32 = RuntimeType.UNDEFINED value_borderRadius_type = runtimeType(value_borderRadius) - valueSerializer.writeInt8(value_borderRadius_type as int32) + valueSerializer.writeInt8(value_borderRadius_type) if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { const value_borderRadius_value = value_borderRadius! let value_borderRadius_value_type : int32 = RuntimeType.UNDEFINED value_borderRadius_value_type = runtimeType(value_borderRadius_value) if ((RuntimeType.STRING == value_borderRadius_value_type) || (RuntimeType.NUMBER == value_borderRadius_value_type) || (RuntimeType.OBJECT == value_borderRadius_value_type)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_borderRadius_value_0 = value_borderRadius_value as Length let value_borderRadius_value_0_type : int32 = RuntimeType.UNDEFINED value_borderRadius_value_0_type = runtimeType(value_borderRadius_value_0) if (RuntimeType.STRING == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_borderRadius_value_0_0 = value_borderRadius_value_0 as string valueSerializer.writeString(value_borderRadius_value_0_0) } else if (RuntimeType.NUMBER == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_borderRadius_value_0_1 = value_borderRadius_value_0 as number valueSerializer.writeNumber(value_borderRadius_value_0_1) } else if (RuntimeType.OBJECT == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_borderRadius_value_0_2 = value_borderRadius_value_0 as Resource valueSerializer.writeResource(value_borderRadius_value_0_2) } } - else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (TypeChecker.isBorderRadiuses(value_borderRadius_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) + else if (TypeChecker.isBorderRadiuses(value_borderRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) const value_borderRadius_value_1 = value_borderRadius_value as BorderRadiuses - const value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft - let value_borderRadius_value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft! - let value_borderRadius_value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_value_type = runtimeType(value_borderRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_topLeft_value_0 = value_borderRadius_value_1_topLeft_value as string - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_topLeft_value_1 = value_borderRadius_value_1_topLeft_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_topLeft_value_2 = value_borderRadius_value_1_topLeft_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2) - } - } - const value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight - let value_borderRadius_value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight) - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight! - let value_borderRadius_value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_value_type = runtimeType(value_borderRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_topRight_value_0 = value_borderRadius_value_1_topRight_value as string - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_topRight_value_1 = value_borderRadius_value_1_topRight_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_topRight_value_2 = value_borderRadius_value_1_topRight_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2) - } - } - const value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft - let value_borderRadius_value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft! - let value_borderRadius_value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_value_type = runtimeType(value_borderRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_bottomLeft_value_0 = value_borderRadius_value_1_bottomLeft_value as string - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_bottomLeft_value_1 = value_borderRadius_value_1_bottomLeft_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_bottomLeft_value_2 = value_borderRadius_value_1_bottomLeft_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2) - } - } - const value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight - let value_borderRadius_value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight! - let value_borderRadius_value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_value_type = runtimeType(value_borderRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_bottomRight_value_0 = value_borderRadius_value_1_bottomRight_value as string - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_bottomRight_value_1 = value_borderRadius_value_1_bottomRight_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_bottomRight_value_2 = value_borderRadius_value_1_bottomRight_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1) } else if (TypeChecker.isLocalizedBorderRadiuses(value_borderRadius_value, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_borderRadius_value_2 = value_borderRadius_value as LocalizedBorderRadiuses valueSerializer.writeLocalizedBorderRadiuses(value_borderRadius_value_2) } @@ -23543,7 +23557,7 @@ export class Serializer extends SerializerBase { const value_onAppear = value.onAppear let value_onAppear_type : int32 = RuntimeType.UNDEFINED value_onAppear_type = runtimeType(value_onAppear) - valueSerializer.writeInt8(value_onAppear_type as int32) + valueSerializer.writeInt8(value_onAppear_type) if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { const value_onAppear_value = value_onAppear! valueSerializer.holdAndWriteCallback(value_onAppear_value) @@ -23551,7 +23565,7 @@ export class Serializer extends SerializerBase { const value_onDisappear = value.onDisappear let value_onDisappear_type : int32 = RuntimeType.UNDEFINED value_onDisappear_type = runtimeType(value_onDisappear) - valueSerializer.writeInt8(value_onDisappear_type as int32) + valueSerializer.writeInt8(value_onDisappear_type) if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { const value_onDisappear_value = value_onDisappear! valueSerializer.holdAndWriteCallback(value_onDisappear_value) @@ -23559,7 +23573,7 @@ export class Serializer extends SerializerBase { const value_aboutToAppear = value.aboutToAppear let value_aboutToAppear_type : int32 = RuntimeType.UNDEFINED value_aboutToAppear_type = runtimeType(value_aboutToAppear) - valueSerializer.writeInt8(value_aboutToAppear_type as int32) + valueSerializer.writeInt8(value_aboutToAppear_type) if ((RuntimeType.UNDEFINED) != (value_aboutToAppear_type)) { const value_aboutToAppear_value = value_aboutToAppear! valueSerializer.holdAndWriteCallback(value_aboutToAppear_value) @@ -23567,7 +23581,7 @@ export class Serializer extends SerializerBase { const value_aboutToDisappear = value.aboutToDisappear let value_aboutToDisappear_type : int32 = RuntimeType.UNDEFINED value_aboutToDisappear_type = runtimeType(value_aboutToDisappear) - valueSerializer.writeInt8(value_aboutToDisappear_type as int32) + valueSerializer.writeInt8(value_aboutToDisappear_type) if ((RuntimeType.UNDEFINED) != (value_aboutToDisappear_type)) { const value_aboutToDisappear_value = value_aboutToDisappear! valueSerializer.holdAndWriteCallback(value_aboutToDisappear_value) @@ -23575,110 +23589,15 @@ export class Serializer extends SerializerBase { const value_layoutRegionMargin = value.layoutRegionMargin let value_layoutRegionMargin_type : int32 = RuntimeType.UNDEFINED value_layoutRegionMargin_type = runtimeType(value_layoutRegionMargin) - valueSerializer.writeInt8(value_layoutRegionMargin_type as int32) + valueSerializer.writeInt8(value_layoutRegionMargin_type) if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_type)) { const value_layoutRegionMargin_value = value_layoutRegionMargin! - const value_layoutRegionMargin_value_top = value_layoutRegionMargin_value.top - let value_layoutRegionMargin_value_top_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_top_type = runtimeType(value_layoutRegionMargin_value_top) - valueSerializer.writeInt8(value_layoutRegionMargin_value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_top_type)) { - const value_layoutRegionMargin_value_top_value = value_layoutRegionMargin_value_top! - let value_layoutRegionMargin_value_top_value_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_top_value_type = runtimeType(value_layoutRegionMargin_value_top_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_layoutRegionMargin_value_top_value_0 = value_layoutRegionMargin_value_top_value as string - valueSerializer.writeString(value_layoutRegionMargin_value_top_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_layoutRegionMargin_value_top_value_1 = value_layoutRegionMargin_value_top_value as number - valueSerializer.writeNumber(value_layoutRegionMargin_value_top_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_layoutRegionMargin_value_top_value_2 = value_layoutRegionMargin_value_top_value as Resource - valueSerializer.writeResource(value_layoutRegionMargin_value_top_value_2) - } - } - const value_layoutRegionMargin_value_right = value_layoutRegionMargin_value.right - let value_layoutRegionMargin_value_right_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_right_type = runtimeType(value_layoutRegionMargin_value_right) - valueSerializer.writeInt8(value_layoutRegionMargin_value_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_right_type)) { - const value_layoutRegionMargin_value_right_value = value_layoutRegionMargin_value_right! - let value_layoutRegionMargin_value_right_value_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_right_value_type = runtimeType(value_layoutRegionMargin_value_right_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_layoutRegionMargin_value_right_value_0 = value_layoutRegionMargin_value_right_value as string - valueSerializer.writeString(value_layoutRegionMargin_value_right_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_layoutRegionMargin_value_right_value_1 = value_layoutRegionMargin_value_right_value as number - valueSerializer.writeNumber(value_layoutRegionMargin_value_right_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_layoutRegionMargin_value_right_value_2 = value_layoutRegionMargin_value_right_value as Resource - valueSerializer.writeResource(value_layoutRegionMargin_value_right_value_2) - } - } - const value_layoutRegionMargin_value_bottom = value_layoutRegionMargin_value.bottom - let value_layoutRegionMargin_value_bottom_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_bottom_type = runtimeType(value_layoutRegionMargin_value_bottom) - valueSerializer.writeInt8(value_layoutRegionMargin_value_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_bottom_type)) { - const value_layoutRegionMargin_value_bottom_value = value_layoutRegionMargin_value_bottom! - let value_layoutRegionMargin_value_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_bottom_value_type = runtimeType(value_layoutRegionMargin_value_bottom_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_layoutRegionMargin_value_bottom_value_0 = value_layoutRegionMargin_value_bottom_value as string - valueSerializer.writeString(value_layoutRegionMargin_value_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_layoutRegionMargin_value_bottom_value_1 = value_layoutRegionMargin_value_bottom_value as number - valueSerializer.writeNumber(value_layoutRegionMargin_value_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_layoutRegionMargin_value_bottom_value_2 = value_layoutRegionMargin_value_bottom_value as Resource - valueSerializer.writeResource(value_layoutRegionMargin_value_bottom_value_2) - } - } - const value_layoutRegionMargin_value_left = value_layoutRegionMargin_value.left - let value_layoutRegionMargin_value_left_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_left_type = runtimeType(value_layoutRegionMargin_value_left) - valueSerializer.writeInt8(value_layoutRegionMargin_value_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_left_type)) { - const value_layoutRegionMargin_value_left_value = value_layoutRegionMargin_value_left! - let value_layoutRegionMargin_value_left_value_type : int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_left_value_type = runtimeType(value_layoutRegionMargin_value_left_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_layoutRegionMargin_value_left_value_0 = value_layoutRegionMargin_value_left_value as string - valueSerializer.writeString(value_layoutRegionMargin_value_left_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_layoutRegionMargin_value_left_value_1 = value_layoutRegionMargin_value_left_value as number - valueSerializer.writeNumber(value_layoutRegionMargin_value_left_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_layoutRegionMargin_value_left_value_2 = value_layoutRegionMargin_value_left_value as Resource - valueSerializer.writeResource(value_layoutRegionMargin_value_left_value_2) - } - } + valueSerializer.writePadding(value_layoutRegionMargin_value) } const value_previewAnimationOptions = value.previewAnimationOptions let value_previewAnimationOptions_type : int32 = RuntimeType.UNDEFINED value_previewAnimationOptions_type = runtimeType(value_previewAnimationOptions) - valueSerializer.writeInt8(value_previewAnimationOptions_type as int32) + valueSerializer.writeInt8(value_previewAnimationOptions_type) if ((RuntimeType.UNDEFINED) != (value_previewAnimationOptions_type)) { const value_previewAnimationOptions_value = value_previewAnimationOptions! valueSerializer.writeContextMenuAnimationOptions(value_previewAnimationOptions_value) @@ -23686,28 +23605,28 @@ export class Serializer extends SerializerBase { const value_backgroundColor = value.backgroundColor let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) + valueSerializer.writeInt8(value_backgroundColor_type) if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { const value_backgroundColor_value = value_backgroundColor! let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_backgroundColor_value_0 = value_backgroundColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) } else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_backgroundColor_value_1 = value_backgroundColor_value as number valueSerializer.writeNumber(value_backgroundColor_value_1) } else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_backgroundColor_value_2 = value_backgroundColor_value as string valueSerializer.writeString(value_backgroundColor_value_2) } else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_backgroundColor_value_3 = value_backgroundColor_value as Resource valueSerializer.writeResource(value_backgroundColor_value_3) } @@ -23715,15 +23634,31 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle = value.backgroundBlurStyle let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_transition = value.transition let value_transition_type : int32 = RuntimeType.UNDEFINED value_transition_type = runtimeType(value_transition) - valueSerializer.writeInt8(value_transition_type as int32) + valueSerializer.writeInt8(value_transition_type) if ((RuntimeType.UNDEFINED) != (value_transition_type)) { const value_transition_value = value_transition! valueSerializer.writeTransitionEffect(value_transition_value) @@ -23731,26 +23666,109 @@ export class Serializer extends SerializerBase { const value_enableHoverMode = value.enableHoverMode let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) + valueSerializer.writeInt8(value_enableHoverMode_type) if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { const value_enableHoverMode_value = value_enableHoverMode! valueSerializer.writeBoolean(value_enableHoverMode_value) } + const value_outlineColor = value.outlineColor + let value_outlineColor_type : int32 = RuntimeType.UNDEFINED + value_outlineColor_type = runtimeType(value_outlineColor) + valueSerializer.writeInt8(value_outlineColor_type) + if ((RuntimeType.UNDEFINED) != (value_outlineColor_type)) { + const value_outlineColor_value = value_outlineColor! + let value_outlineColor_value_type : int32 = RuntimeType.UNDEFINED + value_outlineColor_value_type = runtimeType(value_outlineColor_value) + if ((TypeChecker.isColor(value_outlineColor_value)) || (RuntimeType.NUMBER == value_outlineColor_value_type) || (RuntimeType.STRING == value_outlineColor_value_type) || (RuntimeType.OBJECT == value_outlineColor_value_type)) { + valueSerializer.writeInt8(0) + const value_outlineColor_value_0 = value_outlineColor_value as ResourceColor + let value_outlineColor_value_0_type : int32 = RuntimeType.UNDEFINED + value_outlineColor_value_0_type = runtimeType(value_outlineColor_value_0) + if (TypeChecker.isColor(value_outlineColor_value_0)) { + valueSerializer.writeInt8(0) + const value_outlineColor_value_0_0 = value_outlineColor_value_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_outlineColor_value_0_0)) + } + else if (RuntimeType.NUMBER == value_outlineColor_value_0_type) { + valueSerializer.writeInt8(1) + const value_outlineColor_value_0_1 = value_outlineColor_value_0 as number + valueSerializer.writeNumber(value_outlineColor_value_0_1) + } + else if (RuntimeType.STRING == value_outlineColor_value_0_type) { + valueSerializer.writeInt8(2) + const value_outlineColor_value_0_2 = value_outlineColor_value_0 as string + valueSerializer.writeString(value_outlineColor_value_0_2) + } + else if (RuntimeType.OBJECT == value_outlineColor_value_0_type) { + valueSerializer.writeInt8(3) + const value_outlineColor_value_0_3 = value_outlineColor_value_0 as Resource + valueSerializer.writeResource(value_outlineColor_value_0_3) + } + } + else if (TypeChecker.isEdgeColors(value_outlineColor_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_outlineColor_value_1 = value_outlineColor_value as EdgeColors + valueSerializer.writeEdgeColors(value_outlineColor_value_1) + } + } + const value_outlineWidth = value.outlineWidth + let value_outlineWidth_type : int32 = RuntimeType.UNDEFINED + value_outlineWidth_type = runtimeType(value_outlineWidth) + valueSerializer.writeInt8(value_outlineWidth_type) + if ((RuntimeType.UNDEFINED) != (value_outlineWidth_type)) { + const value_outlineWidth_value = value_outlineWidth! + let value_outlineWidth_value_type : int32 = RuntimeType.UNDEFINED + value_outlineWidth_value_type = runtimeType(value_outlineWidth_value) + if ((RuntimeType.STRING == value_outlineWidth_value_type) || (RuntimeType.NUMBER == value_outlineWidth_value_type) || (RuntimeType.OBJECT == value_outlineWidth_value_type)) { + valueSerializer.writeInt8(0) + const value_outlineWidth_value_0 = value_outlineWidth_value as Dimension + let value_outlineWidth_value_0_type : int32 = RuntimeType.UNDEFINED + value_outlineWidth_value_0_type = runtimeType(value_outlineWidth_value_0) + if (RuntimeType.STRING == value_outlineWidth_value_0_type) { + valueSerializer.writeInt8(0) + const value_outlineWidth_value_0_0 = value_outlineWidth_value_0 as string + valueSerializer.writeString(value_outlineWidth_value_0_0) + } + else if (RuntimeType.NUMBER == value_outlineWidth_value_0_type) { + valueSerializer.writeInt8(1) + const value_outlineWidth_value_0_1 = value_outlineWidth_value_0 as number + valueSerializer.writeNumber(value_outlineWidth_value_0_1) + } + else if (RuntimeType.OBJECT == value_outlineWidth_value_0_type) { + valueSerializer.writeInt8(2) + const value_outlineWidth_value_0_2 = value_outlineWidth_value_0 as Resource + valueSerializer.writeResource(value_outlineWidth_value_0_2) + } + } + else if (TypeChecker.isEdgeOutlineWidths(value_outlineWidth_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_outlineWidth_value_1 = value_outlineWidth_value as EdgeOutlineWidths + valueSerializer.writeEdgeOutlineWidths(value_outlineWidth_value_1) + } + } + const value_hapticFeedbackMode = value.hapticFeedbackMode + let value_hapticFeedbackMode_type : int32 = RuntimeType.UNDEFINED + value_hapticFeedbackMode_type = runtimeType(value_hapticFeedbackMode) + valueSerializer.writeInt8(value_hapticFeedbackMode_type) + if ((RuntimeType.UNDEFINED) != (value_hapticFeedbackMode_type)) { + const value_hapticFeedbackMode_value = (value_hapticFeedbackMode as HapticFeedbackMode) + valueSerializer.writeInt32(TypeChecker.HapticFeedbackMode_ToNumeric(value_hapticFeedbackMode_value)) + } const value_title = value.title let value_title_type : int32 = RuntimeType.UNDEFINED value_title_type = runtimeType(value_title) - valueSerializer.writeInt8(value_title_type as int32) + valueSerializer.writeInt8(value_title_type) if ((RuntimeType.UNDEFINED) != (value_title_type)) { const value_title_value = value_title! let value_title_value_type : int32 = RuntimeType.UNDEFINED value_title_value_type = runtimeType(value_title_value) if (RuntimeType.STRING == value_title_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_title_value_0 = value_title_value as string valueSerializer.writeString(value_title_value_0) } else if (RuntimeType.OBJECT == value_title_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_title_value_1 = value_title_value as Resource valueSerializer.writeResource(value_title_value_1) } @@ -23758,22 +23776,100 @@ export class Serializer extends SerializerBase { const value_showInSubWindow = value.showInSubWindow let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED value_showInSubWindow_type = runtimeType(value_showInSubWindow) - valueSerializer.writeInt8(value_showInSubWindow_type as int32) + valueSerializer.writeInt8(value_showInSubWindow_type) if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { const value_showInSubWindow_value = value_showInSubWindow! valueSerializer.writeBoolean(value_showInSubWindow_value) } } - writeMouseEvent(value: MouseEvent): void { + public writeMenuOutlineOptions(value: MenuOutlineOptions): void { + let valueSerializer : Serializer = this + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if ((RuntimeType.STRING == value_width_value_type) || (RuntimeType.NUMBER == value_width_value_type) || (RuntimeType.OBJECT == value_width_value_type)) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as Dimension + let value_width_value_0_type : int32 = RuntimeType.UNDEFINED + value_width_value_0_type = runtimeType(value_width_value_0) + if (RuntimeType.STRING == value_width_value_0_type) { + valueSerializer.writeInt8(0) + const value_width_value_0_0 = value_width_value_0 as string + valueSerializer.writeString(value_width_value_0_0) + } + else if (RuntimeType.NUMBER == value_width_value_0_type) { + valueSerializer.writeInt8(1) + const value_width_value_0_1 = value_width_value_0 as number + valueSerializer.writeNumber(value_width_value_0_1) + } + else if (RuntimeType.OBJECT == value_width_value_0_type) { + valueSerializer.writeInt8(2) + const value_width_value_0_2 = value_width_value_0 as Resource + valueSerializer.writeResource(value_width_value_0_2) + } + } + else if (TypeChecker.isEdgeOutlineWidths(value_width_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as EdgeOutlineWidths + valueSerializer.writeEdgeOutlineWidths(value_width_value_1) + } + } + const value_color = value.color + let value_color_type : int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type : int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if ((TypeChecker.isColor(value_color_value)) || (RuntimeType.NUMBER == value_color_value_type) || (RuntimeType.STRING == value_color_value_type) || (RuntimeType.OBJECT == value_color_value_type)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = value_color_value as ResourceColor + let value_color_value_0_type : int32 = RuntimeType.UNDEFINED + value_color_value_0_type = runtimeType(value_color_value_0) + if (TypeChecker.isColor(value_color_value_0)) { + valueSerializer.writeInt8(0) + const value_color_value_0_0 = value_color_value_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0_0)) + } + else if (RuntimeType.NUMBER == value_color_value_0_type) { + valueSerializer.writeInt8(1) + const value_color_value_0_1 = value_color_value_0 as number + valueSerializer.writeNumber(value_color_value_0_1) + } + else if (RuntimeType.STRING == value_color_value_0_type) { + valueSerializer.writeInt8(2) + const value_color_value_0_2 = value_color_value_0 as string + valueSerializer.writeString(value_color_value_0_2) + } + else if (RuntimeType.OBJECT == value_color_value_0_type) { + valueSerializer.writeInt8(3) + const value_color_value_0_3 = value_color_value_0 as Resource + valueSerializer.writeResource(value_color_value_0_3) + } + } + else if (TypeChecker.isEdgeColors(value_color_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_color_value_1 = value_color_value as EdgeColors + valueSerializer.writeEdgeColors(value_color_value_1) + } + } + } + public writeMouseEvent(value: MouseEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNativeEmbedInfo(value: NativeEmbedInfo): void { + public writeNativeEmbedInfo(value: NativeEmbedInfo): void { let valueSerializer : Serializer = this const value_id = value.id let value_id_type : int32 = RuntimeType.UNDEFINED value_id_type = runtimeType(value_id) - valueSerializer.writeInt8(value_id_type as int32) + valueSerializer.writeInt8(value_id_type) if ((RuntimeType.UNDEFINED) != (value_id_type)) { const value_id_value = value_id! valueSerializer.writeString(value_id_value) @@ -23781,7 +23877,7 @@ export class Serializer extends SerializerBase { const value_type = value.type let value_type_type : int32 = RuntimeType.UNDEFINED value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type as int32) + valueSerializer.writeInt8(value_type_type) if ((RuntimeType.UNDEFINED) != (value_type_type)) { const value_type_value = value_type! valueSerializer.writeString(value_type_value) @@ -23789,7 +23885,7 @@ export class Serializer extends SerializerBase { const value_src = value.src let value_src_type : int32 = RuntimeType.UNDEFINED value_src_type = runtimeType(value_src) - valueSerializer.writeInt8(value_src_type as int32) + valueSerializer.writeInt8(value_src_type) if ((RuntimeType.UNDEFINED) != (value_src_type)) { const value_src_value = value_src! valueSerializer.writeString(value_src_value) @@ -23797,7 +23893,7 @@ export class Serializer extends SerializerBase { const value_position = value.position let value_position_type : int32 = RuntimeType.UNDEFINED value_position_type = runtimeType(value_position) - valueSerializer.writeInt8(value_position_type as int32) + valueSerializer.writeInt8(value_position_type) if ((RuntimeType.UNDEFINED) != (value_position_type)) { const value_position_value = value_position! valueSerializer.writePosition(value_position_value) @@ -23805,7 +23901,7 @@ export class Serializer extends SerializerBase { const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! valueSerializer.writeNumber(value_width_value) @@ -23813,7 +23909,7 @@ export class Serializer extends SerializerBase { const value_height = value.height let value_height_type : int32 = RuntimeType.UNDEFINED value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) + valueSerializer.writeInt8(value_height_type) if ((RuntimeType.UNDEFINED) != (value_height_type)) { const value_height_value = value_height! valueSerializer.writeNumber(value_height_value) @@ -23821,7 +23917,7 @@ export class Serializer extends SerializerBase { const value_url = value.url let value_url_type : int32 = RuntimeType.UNDEFINED value_url_type = runtimeType(value_url) - valueSerializer.writeInt8(value_url_type as int32) + valueSerializer.writeInt8(value_url_type) if ((RuntimeType.UNDEFINED) != (value_url_type)) { const value_url_value = value_url! valueSerializer.writeString(value_url_value) @@ -23829,7 +23925,7 @@ export class Serializer extends SerializerBase { const value_tag = value.tag let value_tag_type : int32 = RuntimeType.UNDEFINED value_tag_type = runtimeType(value_tag) - valueSerializer.writeInt8(value_tag_type as int32) + valueSerializer.writeInt8(value_tag_type) if ((RuntimeType.UNDEFINED) != (value_tag_type)) { const value_tag_value = value_tag! valueSerializer.writeString(value_tag_value) @@ -23837,7 +23933,7 @@ export class Serializer extends SerializerBase { const value_params = value.params let value_params_type : int32 = RuntimeType.UNDEFINED value_params_type = runtimeType(value_params) - valueSerializer.writeInt8(value_params_type as int32) + valueSerializer.writeInt8(value_params_type) if ((RuntimeType.UNDEFINED) != (value_params_type)) { const value_params_value = value_params! valueSerializer.writeInt32(value_params_value.size as int32 as int32) @@ -23849,133 +23945,129 @@ export class Serializer extends SerializerBase { } } } - writeOutlineOptions(value: OutlineOptions): void { + public writeNavigationMenuOptions(value: NavigationMenuOptions): void { + let valueSerializer : Serializer = this + const value_moreButtonOptions = value.moreButtonOptions + let value_moreButtonOptions_type : int32 = RuntimeType.UNDEFINED + value_moreButtonOptions_type = runtimeType(value_moreButtonOptions) + valueSerializer.writeInt8(value_moreButtonOptions_type) + if ((RuntimeType.UNDEFINED) != (value_moreButtonOptions_type)) { + const value_moreButtonOptions_value = value_moreButtonOptions! + valueSerializer.writeMoreButtonOptions(value_moreButtonOptions_value) + } + } + public writeNavigationToolbarOptions(value: NavigationToolbarOptions): void { + let valueSerializer : Serializer = this + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (TypeChecker.isColor(value_backgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = value_backgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) + } + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = value_backgroundColor_value as number + valueSerializer.writeNumber(value_backgroundColor_value_1) + } + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = value_backgroundColor_value as string + valueSerializer.writeString(value_backgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = value_backgroundColor_value as Resource + valueSerializer.writeResource(value_backgroundColor_value_3) + } + } + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) + valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) + } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } + const value_moreButtonOptions = value.moreButtonOptions + let value_moreButtonOptions_type : int32 = RuntimeType.UNDEFINED + value_moreButtonOptions_type = runtimeType(value_moreButtonOptions) + valueSerializer.writeInt8(value_moreButtonOptions_type) + if ((RuntimeType.UNDEFINED) != (value_moreButtonOptions_type)) { + const value_moreButtonOptions_value = value_moreButtonOptions! + valueSerializer.writeMoreButtonOptions(value_moreButtonOptions_value) + } + const value_barStyle = value.barStyle + let value_barStyle_type : int32 = RuntimeType.UNDEFINED + value_barStyle_type = runtimeType(value_barStyle) + valueSerializer.writeInt8(value_barStyle_type) + if ((RuntimeType.UNDEFINED) != (value_barStyle_type)) { + const value_barStyle_value = (value_barStyle as BarStyle) + valueSerializer.writeInt32(TypeChecker.BarStyle_ToNumeric(value_barStyle_value)) + } + const value_hideItemValue = value.hideItemValue + let value_hideItemValue_type : int32 = RuntimeType.UNDEFINED + value_hideItemValue_type = runtimeType(value_hideItemValue) + valueSerializer.writeInt8(value_hideItemValue_type) + if ((RuntimeType.UNDEFINED) != (value_hideItemValue_type)) { + const value_hideItemValue_value = value_hideItemValue! + valueSerializer.writeBoolean(value_hideItemValue_value) + } + } + public writeOutlineOptions(value: OutlineOptions): void { let valueSerializer : Serializer = this const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! let value_width_value_type : int32 = RuntimeType.UNDEFINED value_width_value_type = runtimeType(value_width_value) - if (((RuntimeType.OBJECT) == (value_width_value_type)) && (TypeChecker.isEdgeOutlineWidths(value_width_value, false, false, false, false))) { - valueSerializer.writeInt8(0 as int32) + if (TypeChecker.isEdgeOutlineWidths(value_width_value, false, false, false, false)) { + valueSerializer.writeInt8(0) const value_width_value_0 = value_width_value as EdgeOutlineWidths - const value_width_value_0_top = value_width_value_0.top - let value_width_value_0_top_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_top_type = runtimeType(value_width_value_0_top) - valueSerializer.writeInt8(value_width_value_0_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_top_type)) { - const value_width_value_0_top_value = value_width_value_0_top! - let value_width_value_0_top_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_top_value_type = runtimeType(value_width_value_0_top_value) - if (RuntimeType.STRING == value_width_value_0_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0_top_value_0 = value_width_value_0_top_value as string - valueSerializer.writeString(value_width_value_0_top_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_0_top_value_1 = value_width_value_0_top_value as number - valueSerializer.writeNumber(value_width_value_0_top_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_0_top_value_2 = value_width_value_0_top_value as Resource - valueSerializer.writeResource(value_width_value_0_top_value_2) - } - } - const value_width_value_0_right = value_width_value_0.right - let value_width_value_0_right_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_right_type = runtimeType(value_width_value_0_right) - valueSerializer.writeInt8(value_width_value_0_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_right_type)) { - const value_width_value_0_right_value = value_width_value_0_right! - let value_width_value_0_right_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_right_value_type = runtimeType(value_width_value_0_right_value) - if (RuntimeType.STRING == value_width_value_0_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0_right_value_0 = value_width_value_0_right_value as string - valueSerializer.writeString(value_width_value_0_right_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_0_right_value_1 = value_width_value_0_right_value as number - valueSerializer.writeNumber(value_width_value_0_right_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_0_right_value_2 = value_width_value_0_right_value as Resource - valueSerializer.writeResource(value_width_value_0_right_value_2) - } - } - const value_width_value_0_bottom = value_width_value_0.bottom - let value_width_value_0_bottom_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_bottom_type = runtimeType(value_width_value_0_bottom) - valueSerializer.writeInt8(value_width_value_0_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_bottom_type)) { - const value_width_value_0_bottom_value = value_width_value_0_bottom! - let value_width_value_0_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_bottom_value_type = runtimeType(value_width_value_0_bottom_value) - if (RuntimeType.STRING == value_width_value_0_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0_bottom_value_0 = value_width_value_0_bottom_value as string - valueSerializer.writeString(value_width_value_0_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_0_bottom_value_1 = value_width_value_0_bottom_value as number - valueSerializer.writeNumber(value_width_value_0_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_0_bottom_value_2 = value_width_value_0_bottom_value as Resource - valueSerializer.writeResource(value_width_value_0_bottom_value_2) - } - } - const value_width_value_0_left = value_width_value_0.left - let value_width_value_0_left_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_left_type = runtimeType(value_width_value_0_left) - valueSerializer.writeInt8(value_width_value_0_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_left_type)) { - const value_width_value_0_left_value = value_width_value_0_left! - let value_width_value_0_left_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_0_left_value_type = runtimeType(value_width_value_0_left_value) - if (RuntimeType.STRING == value_width_value_0_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0_left_value_0 = value_width_value_0_left_value as string - valueSerializer.writeString(value_width_value_0_left_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_0_left_value_1 = value_width_value_0_left_value as number - valueSerializer.writeNumber(value_width_value_0_left_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_0_left_value_2 = value_width_value_0_left_value as Resource - valueSerializer.writeResource(value_width_value_0_left_value_2) - } - } + valueSerializer.writeEdgeOutlineWidths(value_width_value_0) } else if ((RuntimeType.STRING == value_width_value_type) || (RuntimeType.NUMBER == value_width_value_type) || (RuntimeType.OBJECT == value_width_value_type)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1 = value_width_value as Dimension let value_width_value_1_type : int32 = RuntimeType.UNDEFINED value_width_value_1_type = runtimeType(value_width_value_1) if (RuntimeType.STRING == value_width_value_1_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_width_value_1_0 = value_width_value_1 as string valueSerializer.writeString(value_width_value_1_0) } else if (RuntimeType.NUMBER == value_width_value_1_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1_1 = value_width_value_1 as number valueSerializer.writeNumber(value_width_value_1_1) } else if (RuntimeType.OBJECT == value_width_value_1_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_width_value_1_2 = value_width_value_1 as Resource valueSerializer.writeResource(value_width_value_1_2) } @@ -23984,159 +24076,44 @@ export class Serializer extends SerializerBase { const value_color = value.color let value_color_type : int32 = RuntimeType.UNDEFINED value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) + valueSerializer.writeInt8(value_color_type) if ((RuntimeType.UNDEFINED) != (value_color_type)) { const value_color_value = value_color! let value_color_value_type : int32 = RuntimeType.UNDEFINED value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.OBJECT) == (value_color_value_type)) && (TypeChecker.isEdgeColors(value_color_value, true, false, true, false))) { - valueSerializer.writeInt8(0 as int32) + if (TypeChecker.isEdgeColors(value_color_value, true, false, true, false)) { + valueSerializer.writeInt8(0) const value_color_value_0 = value_color_value as EdgeColors - const value_color_value_0_top = value_color_value_0.top - let value_color_value_0_top_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_top_type = runtimeType(value_color_value_0_top) - valueSerializer.writeInt8(value_color_value_0_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_top_type)) { - const value_color_value_0_top_value = value_color_value_0_top! - let value_color_value_0_top_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_top_value_type = runtimeType(value_color_value_0_top_value) - if (TypeChecker.isColor(value_color_value_0_top_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0_top_value_0 = value_color_value_0_top_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0_top_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_0_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_0_top_value_1 = value_color_value_0_top_value as number - valueSerializer.writeNumber(value_color_value_0_top_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_0_top_value_2 = value_color_value_0_top_value as string - valueSerializer.writeString(value_color_value_0_top_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_top_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_0_top_value_3 = value_color_value_0_top_value as Resource - valueSerializer.writeResource(value_color_value_0_top_value_3) - } - } - const value_color_value_0_right = value_color_value_0.right - let value_color_value_0_right_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_right_type = runtimeType(value_color_value_0_right) - valueSerializer.writeInt8(value_color_value_0_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_right_type)) { - const value_color_value_0_right_value = value_color_value_0_right! - let value_color_value_0_right_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_right_value_type = runtimeType(value_color_value_0_right_value) - if (TypeChecker.isColor(value_color_value_0_right_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0_right_value_0 = value_color_value_0_right_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0_right_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_0_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_0_right_value_1 = value_color_value_0_right_value as number - valueSerializer.writeNumber(value_color_value_0_right_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_0_right_value_2 = value_color_value_0_right_value as string - valueSerializer.writeString(value_color_value_0_right_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_right_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_0_right_value_3 = value_color_value_0_right_value as Resource - valueSerializer.writeResource(value_color_value_0_right_value_3) - } - } - const value_color_value_0_bottom = value_color_value_0.bottom - let value_color_value_0_bottom_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_bottom_type = runtimeType(value_color_value_0_bottom) - valueSerializer.writeInt8(value_color_value_0_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_bottom_type)) { - const value_color_value_0_bottom_value = value_color_value_0_bottom! - let value_color_value_0_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_bottom_value_type = runtimeType(value_color_value_0_bottom_value) - if (TypeChecker.isColor(value_color_value_0_bottom_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0_bottom_value_0 = value_color_value_0_bottom_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0_bottom_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_0_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_0_bottom_value_1 = value_color_value_0_bottom_value as number - valueSerializer.writeNumber(value_color_value_0_bottom_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_0_bottom_value_2 = value_color_value_0_bottom_value as string - valueSerializer.writeString(value_color_value_0_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_bottom_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_0_bottom_value_3 = value_color_value_0_bottom_value as Resource - valueSerializer.writeResource(value_color_value_0_bottom_value_3) - } - } - const value_color_value_0_left = value_color_value_0.left - let value_color_value_0_left_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_left_type = runtimeType(value_color_value_0_left) - valueSerializer.writeInt8(value_color_value_0_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_left_type)) { - const value_color_value_0_left_value = value_color_value_0_left! - let value_color_value_0_left_value_type : int32 = RuntimeType.UNDEFINED - value_color_value_0_left_value_type = runtimeType(value_color_value_0_left_value) - if (TypeChecker.isColor(value_color_value_0_left_value)) { - valueSerializer.writeInt8(0 as int32) - const value_color_value_0_left_value_0 = value_color_value_0_left_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0_left_value_0)) - } - else if (RuntimeType.NUMBER == value_color_value_0_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_color_value_0_left_value_1 = value_color_value_0_left_value as number - valueSerializer.writeNumber(value_color_value_0_left_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_color_value_0_left_value_2 = value_color_value_0_left_value as string - valueSerializer.writeString(value_color_value_0_left_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_left_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_color_value_0_left_value_3 = value_color_value_0_left_value as Resource - valueSerializer.writeResource(value_color_value_0_left_value_3) - } - } + valueSerializer.writeEdgeColors(value_color_value_0) } else if ((TypeChecker.isColor(value_color_value)) || (RuntimeType.NUMBER == value_color_value_type) || (RuntimeType.STRING == value_color_value_type) || (RuntimeType.OBJECT == value_color_value_type)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_color_value_1 = value_color_value as ResourceColor let value_color_value_1_type : int32 = RuntimeType.UNDEFINED value_color_value_1_type = runtimeType(value_color_value_1) if (TypeChecker.isColor(value_color_value_1)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_color_value_1_0 = value_color_value_1 as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_1_0)) } else if (RuntimeType.NUMBER == value_color_value_1_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_color_value_1_1 = value_color_value_1 as number valueSerializer.writeNumber(value_color_value_1_1) } else if (RuntimeType.STRING == value_color_value_1_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_color_value_1_2 = value_color_value_1 as string valueSerializer.writeString(value_color_value_1_2) } else if (RuntimeType.OBJECT == value_color_value_1_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_color_value_1_3 = value_color_value_1 as Resource valueSerializer.writeResource(value_color_value_1_3) } } else if (TypeChecker.isLocalizedEdgeColors(value_color_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_color_value_2 = value_color_value as LocalizedEdgeColors valueSerializer.writeLocalizedEdgeColors(value_color_value_2) } @@ -24144,194 +24121,142 @@ export class Serializer extends SerializerBase { const value_radius = value.radius let value_radius_type : int32 = RuntimeType.UNDEFINED value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type as int32) + valueSerializer.writeInt8(value_radius_type) if ((RuntimeType.UNDEFINED) != (value_radius_type)) { const value_radius_value = value_radius! let value_radius_value_type : int32 = RuntimeType.UNDEFINED value_radius_value_type = runtimeType(value_radius_value) - if (((RuntimeType.OBJECT) == (value_radius_value_type)) && (TypeChecker.isOutlineRadiuses(value_radius_value, false, false, false, false))) { - valueSerializer.writeInt8(0 as int32) + if (TypeChecker.isOutlineRadiuses(value_radius_value, false, false, false, false)) { + valueSerializer.writeInt8(0) const value_radius_value_0 = value_radius_value as OutlineRadiuses - const value_radius_value_0_topLeft = value_radius_value_0.topLeft - let value_radius_value_0_topLeft_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_topLeft_type = runtimeType(value_radius_value_0_topLeft) - valueSerializer.writeInt8(value_radius_value_0_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_topLeft_type)) { - const value_radius_value_0_topLeft_value = value_radius_value_0_topLeft! - let value_radius_value_0_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_topLeft_value_type = runtimeType(value_radius_value_0_topLeft_value) - if (RuntimeType.STRING == value_radius_value_0_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0_topLeft_value_0 = value_radius_value_0_topLeft_value as string - valueSerializer.writeString(value_radius_value_0_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_0_topLeft_value_1 = value_radius_value_0_topLeft_value as number - valueSerializer.writeNumber(value_radius_value_0_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_0_topLeft_value_2 = value_radius_value_0_topLeft_value as Resource - valueSerializer.writeResource(value_radius_value_0_topLeft_value_2) - } - } - const value_radius_value_0_topRight = value_radius_value_0.topRight - let value_radius_value_0_topRight_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_topRight_type = runtimeType(value_radius_value_0_topRight) - valueSerializer.writeInt8(value_radius_value_0_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_topRight_type)) { - const value_radius_value_0_topRight_value = value_radius_value_0_topRight! - let value_radius_value_0_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_topRight_value_type = runtimeType(value_radius_value_0_topRight_value) - if (RuntimeType.STRING == value_radius_value_0_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0_topRight_value_0 = value_radius_value_0_topRight_value as string - valueSerializer.writeString(value_radius_value_0_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_0_topRight_value_1 = value_radius_value_0_topRight_value as number - valueSerializer.writeNumber(value_radius_value_0_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_0_topRight_value_2 = value_radius_value_0_topRight_value as Resource - valueSerializer.writeResource(value_radius_value_0_topRight_value_2) - } - } - const value_radius_value_0_bottomLeft = value_radius_value_0.bottomLeft - let value_radius_value_0_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomLeft_type = runtimeType(value_radius_value_0_bottomLeft) - valueSerializer.writeInt8(value_radius_value_0_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_bottomLeft_type)) { - const value_radius_value_0_bottomLeft_value = value_radius_value_0_bottomLeft! - let value_radius_value_0_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomLeft_value_type = runtimeType(value_radius_value_0_bottomLeft_value) - if (RuntimeType.STRING == value_radius_value_0_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0_bottomLeft_value_0 = value_radius_value_0_bottomLeft_value as string - valueSerializer.writeString(value_radius_value_0_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_0_bottomLeft_value_1 = value_radius_value_0_bottomLeft_value as number - valueSerializer.writeNumber(value_radius_value_0_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_0_bottomLeft_value_2 = value_radius_value_0_bottomLeft_value as Resource - valueSerializer.writeResource(value_radius_value_0_bottomLeft_value_2) - } - } - const value_radius_value_0_bottomRight = value_radius_value_0.bottomRight - let value_radius_value_0_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomRight_type = runtimeType(value_radius_value_0_bottomRight) - valueSerializer.writeInt8(value_radius_value_0_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_bottomRight_type)) { - const value_radius_value_0_bottomRight_value = value_radius_value_0_bottomRight! - let value_radius_value_0_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomRight_value_type = runtimeType(value_radius_value_0_bottomRight_value) - if (RuntimeType.STRING == value_radius_value_0_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_0_bottomRight_value_0 = value_radius_value_0_bottomRight_value as string - valueSerializer.writeString(value_radius_value_0_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_0_bottomRight_value_1 = value_radius_value_0_bottomRight_value as number - valueSerializer.writeNumber(value_radius_value_0_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_0_bottomRight_value_2 = value_radius_value_0_bottomRight_value as Resource - valueSerializer.writeResource(value_radius_value_0_bottomRight_value_2) - } - } + valueSerializer.writeOutlineRadiuses(value_radius_value_0) } else if ((RuntimeType.STRING == value_radius_value_type) || (RuntimeType.NUMBER == value_radius_value_type) || (RuntimeType.OBJECT == value_radius_value_type)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_radius_value_1 = value_radius_value as Dimension let value_radius_value_1_type : int32 = RuntimeType.UNDEFINED value_radius_value_1_type = runtimeType(value_radius_value_1) if (RuntimeType.STRING == value_radius_value_1_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_radius_value_1_0 = value_radius_value_1 as string valueSerializer.writeString(value_radius_value_1_0) } else if (RuntimeType.NUMBER == value_radius_value_1_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_radius_value_1_1 = value_radius_value_1 as number valueSerializer.writeNumber(value_radius_value_1_1) } else if (RuntimeType.OBJECT == value_radius_value_1_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_radius_value_1_2 = value_radius_value_1 as Resource valueSerializer.writeResource(value_radius_value_1_2) } } } - const value_style = value.style - let value_style_type : int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = value_style! - let value_style_value_type : int32 = RuntimeType.UNDEFINED - value_style_value_type = runtimeType(value_style_value) - if (RuntimeType.OBJECT == value_style_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_style_value_0 = value_style_value as EdgeOutlineStyles - const value_style_value_0_top = value_style_value_0.top - let value_style_value_0_top_type : int32 = RuntimeType.UNDEFINED - value_style_value_0_top_type = runtimeType(value_style_value_0_top) - valueSerializer.writeInt8(value_style_value_0_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_style_value_0_top_type)) { - const value_style_value_0_top_value = (value_style_value_0_top as OutlineStyle) - valueSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_style_value_0_top_value)) - } - const value_style_value_0_right = value_style_value_0.right - let value_style_value_0_right_type : int32 = RuntimeType.UNDEFINED - value_style_value_0_right_type = runtimeType(value_style_value_0_right) - valueSerializer.writeInt8(value_style_value_0_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_style_value_0_right_type)) { - const value_style_value_0_right_value = (value_style_value_0_right as OutlineStyle) - valueSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_style_value_0_right_value)) - } - const value_style_value_0_bottom = value_style_value_0.bottom - let value_style_value_0_bottom_type : int32 = RuntimeType.UNDEFINED - value_style_value_0_bottom_type = runtimeType(value_style_value_0_bottom) - valueSerializer.writeInt8(value_style_value_0_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_style_value_0_bottom_type)) { - const value_style_value_0_bottom_value = (value_style_value_0_bottom as OutlineStyle) - valueSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_style_value_0_bottom_value)) - } - const value_style_value_0_left = value_style_value_0.left - let value_style_value_0_left_type : int32 = RuntimeType.UNDEFINED - value_style_value_0_left_type = runtimeType(value_style_value_0_left) - valueSerializer.writeInt8(value_style_value_0_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_style_value_0_left_type)) { - const value_style_value_0_left_value = (value_style_value_0_left as OutlineStyle) - valueSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_style_value_0_left_value)) - } + const value_style = value.style + let value_style_type : int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = value_style! + let value_style_value_type : int32 = RuntimeType.UNDEFINED + value_style_value_type = runtimeType(value_style_value) + if (RuntimeType.OBJECT == value_style_value_type) { + valueSerializer.writeInt8(0) + const value_style_value_0 = value_style_value as EdgeOutlineStyles + valueSerializer.writeEdgeOutlineStyles(value_style_value_0) + } + else if (TypeChecker.isOutlineStyle(value_style_value)) { + valueSerializer.writeInt8(1) + const value_style_value_1 = value_style_value as OutlineStyle + valueSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_style_value_1)) + } + } + } + public writePanGestureEvent(value: PanGestureEvent): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeParagraphStyle(value: ParagraphStyle): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeParagraphStyleInterface(value: ParagraphStyleInterface): void { + let valueSerializer : Serializer = this + const value_textAlign = value.textAlign + let value_textAlign_type : int32 = RuntimeType.UNDEFINED + value_textAlign_type = runtimeType(value_textAlign) + valueSerializer.writeInt8(value_textAlign_type) + if ((RuntimeType.UNDEFINED) != (value_textAlign_type)) { + const value_textAlign_value = (value_textAlign as TextAlign) + valueSerializer.writeInt32(TypeChecker.TextAlign_ToNumeric(value_textAlign_value)) + } + const value_textIndent = value.textIndent + let value_textIndent_type : int32 = RuntimeType.UNDEFINED + value_textIndent_type = runtimeType(value_textIndent) + valueSerializer.writeInt8(value_textIndent_type) + if ((RuntimeType.UNDEFINED) != (value_textIndent_type)) { + const value_textIndent_value = value_textIndent! + valueSerializer.writeLengthMetrics(value_textIndent_value) + } + const value_maxLines = value.maxLines + let value_maxLines_type : int32 = RuntimeType.UNDEFINED + value_maxLines_type = runtimeType(value_maxLines) + valueSerializer.writeInt8(value_maxLines_type) + if ((RuntimeType.UNDEFINED) != (value_maxLines_type)) { + const value_maxLines_value = value_maxLines! + valueSerializer.writeNumber(value_maxLines_value) + } + const value_overflow = value.overflow + let value_overflow_type : int32 = RuntimeType.UNDEFINED + value_overflow_type = runtimeType(value_overflow) + valueSerializer.writeInt8(value_overflow_type) + if ((RuntimeType.UNDEFINED) != (value_overflow_type)) { + const value_overflow_value = (value_overflow as TextOverflow) + valueSerializer.writeInt32(TypeChecker.TextOverflow_ToNumeric(value_overflow_value)) + } + const value_wordBreak = value.wordBreak + let value_wordBreak_type : int32 = RuntimeType.UNDEFINED + value_wordBreak_type = runtimeType(value_wordBreak) + valueSerializer.writeInt8(value_wordBreak_type) + if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { + const value_wordBreak_value = (value_wordBreak as WordBreak) + valueSerializer.writeInt32(TypeChecker.WordBreak_ToNumeric(value_wordBreak_value)) + } + const value_leadingMargin = value.leadingMargin + let value_leadingMargin_type : int32 = RuntimeType.UNDEFINED + value_leadingMargin_type = runtimeType(value_leadingMargin) + valueSerializer.writeInt8(value_leadingMargin_type) + if ((RuntimeType.UNDEFINED) != (value_leadingMargin_type)) { + const value_leadingMargin_value = value_leadingMargin! + let value_leadingMargin_value_type : int32 = RuntimeType.UNDEFINED + value_leadingMargin_value_type = runtimeType(value_leadingMargin_value) + if (TypeChecker.isLengthMetrics(value_leadingMargin_value, false, false)) { + valueSerializer.writeInt8(0) + const value_leadingMargin_value_0 = value_leadingMargin_value as LengthMetrics + valueSerializer.writeLengthMetrics(value_leadingMargin_value_0) } - else if (TypeChecker.isOutlineStyle(value_style_value)) { - valueSerializer.writeInt8(1 as int32) - const value_style_value_1 = value_style_value as OutlineStyle - valueSerializer.writeInt32(TypeChecker.OutlineStyle_ToNumeric(value_style_value_1)) + else if (TypeChecker.isLeadingMarginPlaceholder(value_leadingMargin_value, false, false)) { + valueSerializer.writeInt8(1) + const value_leadingMargin_value_1 = value_leadingMargin_value as LeadingMarginPlaceholder + valueSerializer.writeLeadingMarginPlaceholder(value_leadingMargin_value_1) } } + const value_paragraphSpacing = value.paragraphSpacing + let value_paragraphSpacing_type : int32 = RuntimeType.UNDEFINED + value_paragraphSpacing_type = runtimeType(value_paragraphSpacing) + valueSerializer.writeInt8(value_paragraphSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_paragraphSpacing_type)) { + const value_paragraphSpacing_value = value_paragraphSpacing! + valueSerializer.writeLengthMetrics(value_paragraphSpacing_value) + } } - writePanGestureEvent(value: PanGestureEvent): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writePickerDialogButtonStyle(value: PickerDialogButtonStyle): void { + public writePickerDialogButtonStyle(value: PickerDialogButtonStyle): void { let valueSerializer : Serializer = this const value_type = value.type let value_type_type : int32 = RuntimeType.UNDEFINED value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type as int32) + valueSerializer.writeInt8(value_type_type) if ((RuntimeType.UNDEFINED) != (value_type_type)) { const value_type_value = (value_type as ButtonType) valueSerializer.writeInt32(TypeChecker.ButtonType_ToNumeric(value_type_value)) @@ -24339,7 +24264,7 @@ export class Serializer extends SerializerBase { const value_style = value.style let value_style_type : int32 = RuntimeType.UNDEFINED value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) + valueSerializer.writeInt8(value_style_type) if ((RuntimeType.UNDEFINED) != (value_style_type)) { const value_style_value = (value_style as ButtonStyleMode) valueSerializer.writeInt32(TypeChecker.ButtonStyleMode_ToNumeric(value_style_value)) @@ -24347,7 +24272,7 @@ export class Serializer extends SerializerBase { const value_role = value.role let value_role_type : int32 = RuntimeType.UNDEFINED value_role_type = runtimeType(value_role) - valueSerializer.writeInt8(value_role_type as int32) + valueSerializer.writeInt8(value_role_type) if ((RuntimeType.UNDEFINED) != (value_role_type)) { const value_role_value = (value_role as ButtonRole) valueSerializer.writeInt32(TypeChecker.ButtonRole_ToNumeric(value_role_value)) @@ -24355,23 +24280,23 @@ export class Serializer extends SerializerBase { const value_fontSize = value.fontSize let value_fontSize_type : int32 = RuntimeType.UNDEFINED value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type as int32) + valueSerializer.writeInt8(value_fontSize_type) if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { const value_fontSize_value = value_fontSize! let value_fontSize_value_type : int32 = RuntimeType.UNDEFINED value_fontSize_value_type = runtimeType(value_fontSize_value) if (RuntimeType.STRING == value_fontSize_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_fontSize_value_0 = value_fontSize_value as string valueSerializer.writeString(value_fontSize_value_0) } else if (RuntimeType.NUMBER == value_fontSize_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_fontSize_value_1 = value_fontSize_value as number valueSerializer.writeNumber(value_fontSize_value_1) } else if (RuntimeType.OBJECT == value_fontSize_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_fontSize_value_2 = value_fontSize_value as Resource valueSerializer.writeResource(value_fontSize_value_2) } @@ -24379,28 +24304,28 @@ export class Serializer extends SerializerBase { const value_fontColor = value.fontColor let value_fontColor_type : int32 = RuntimeType.UNDEFINED value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type as int32) + valueSerializer.writeInt8(value_fontColor_type) if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { const value_fontColor_value = value_fontColor! let value_fontColor_value_type : int32 = RuntimeType.UNDEFINED value_fontColor_value_type = runtimeType(value_fontColor_value) if (TypeChecker.isColor(value_fontColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_fontColor_value_0 = value_fontColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_0)) } else if (RuntimeType.NUMBER == value_fontColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_fontColor_value_1 = value_fontColor_value as number valueSerializer.writeNumber(value_fontColor_value_1) } else if (RuntimeType.STRING == value_fontColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_fontColor_value_2 = value_fontColor_value as string valueSerializer.writeString(value_fontColor_value_2) } else if (RuntimeType.OBJECT == value_fontColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_fontColor_value_3 = value_fontColor_value as Resource valueSerializer.writeResource(value_fontColor_value_3) } @@ -24408,23 +24333,23 @@ export class Serializer extends SerializerBase { const value_fontWeight = value.fontWeight let value_fontWeight_type : int32 = RuntimeType.UNDEFINED value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type as int32) + valueSerializer.writeInt8(value_fontWeight_type) if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { const value_fontWeight_value = value_fontWeight! let value_fontWeight_value_type : int32 = RuntimeType.UNDEFINED value_fontWeight_value_type = runtimeType(value_fontWeight_value) if (TypeChecker.isFontWeight(value_fontWeight_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_fontWeight_value_0 = value_fontWeight_value as FontWeight valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_fontWeight_value_0)) } else if (RuntimeType.NUMBER == value_fontWeight_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_fontWeight_value_1 = value_fontWeight_value as number valueSerializer.writeNumber(value_fontWeight_value_1) } else if (RuntimeType.STRING == value_fontWeight_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_fontWeight_value_2 = value_fontWeight_value as string valueSerializer.writeString(value_fontWeight_value_2) } @@ -24432,7 +24357,7 @@ export class Serializer extends SerializerBase { const value_fontStyle = value.fontStyle let value_fontStyle_type : int32 = RuntimeType.UNDEFINED value_fontStyle_type = runtimeType(value_fontStyle) - valueSerializer.writeInt8(value_fontStyle_type as int32) + valueSerializer.writeInt8(value_fontStyle_type) if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { const value_fontStyle_value = (value_fontStyle as FontStyle) valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_fontStyle_value)) @@ -24440,18 +24365,18 @@ export class Serializer extends SerializerBase { const value_fontFamily = value.fontFamily let value_fontFamily_type : int32 = RuntimeType.UNDEFINED value_fontFamily_type = runtimeType(value_fontFamily) - valueSerializer.writeInt8(value_fontFamily_type as int32) + valueSerializer.writeInt8(value_fontFamily_type) if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { const value_fontFamily_value = value_fontFamily! let value_fontFamily_value_type : int32 = RuntimeType.UNDEFINED value_fontFamily_value_type = runtimeType(value_fontFamily_value) if (RuntimeType.OBJECT == value_fontFamily_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_fontFamily_value_0 = value_fontFamily_value as Resource valueSerializer.writeResource(value_fontFamily_value_0) } else if (RuntimeType.STRING == value_fontFamily_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_fontFamily_value_1 = value_fontFamily_value as string valueSerializer.writeString(value_fontFamily_value_1) } @@ -24459,28 +24384,28 @@ export class Serializer extends SerializerBase { const value_backgroundColor = value.backgroundColor let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) + valueSerializer.writeInt8(value_backgroundColor_type) if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { const value_backgroundColor_value = value_backgroundColor! let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_backgroundColor_value_0 = value_backgroundColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) } else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_backgroundColor_value_1 = value_backgroundColor_value as number valueSerializer.writeNumber(value_backgroundColor_value_1) } else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_backgroundColor_value_2 = value_backgroundColor_value as string valueSerializer.writeString(value_backgroundColor_value_2) } else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_backgroundColor_value_3 = value_backgroundColor_value as Resource valueSerializer.writeResource(value_backgroundColor_value_3) } @@ -24488,169 +24413,74 @@ export class Serializer extends SerializerBase { const value_borderRadius = value.borderRadius let value_borderRadius_type : int32 = RuntimeType.UNDEFINED value_borderRadius_type = runtimeType(value_borderRadius) - valueSerializer.writeInt8(value_borderRadius_type as int32) + valueSerializer.writeInt8(value_borderRadius_type) if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { const value_borderRadius_value = value_borderRadius! let value_borderRadius_value_type : int32 = RuntimeType.UNDEFINED value_borderRadius_value_type = runtimeType(value_borderRadius_value) if ((RuntimeType.STRING == value_borderRadius_value_type) || (RuntimeType.NUMBER == value_borderRadius_value_type) || (RuntimeType.OBJECT == value_borderRadius_value_type)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_borderRadius_value_0 = value_borderRadius_value as Length let value_borderRadius_value_0_type : int32 = RuntimeType.UNDEFINED value_borderRadius_value_0_type = runtimeType(value_borderRadius_value_0) if (RuntimeType.STRING == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_borderRadius_value_0_0 = value_borderRadius_value_0 as string valueSerializer.writeString(value_borderRadius_value_0_0) } else if (RuntimeType.NUMBER == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_borderRadius_value_0_1 = value_borderRadius_value_0 as number valueSerializer.writeNumber(value_borderRadius_value_0_1) } else if (RuntimeType.OBJECT == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_borderRadius_value_0_2 = value_borderRadius_value_0 as Resource valueSerializer.writeResource(value_borderRadius_value_0_2) } } - else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (TypeChecker.isBorderRadiuses(value_borderRadius_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) + else if (TypeChecker.isBorderRadiuses(value_borderRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) const value_borderRadius_value_1 = value_borderRadius_value as BorderRadiuses - const value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft - let value_borderRadius_value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft! - let value_borderRadius_value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_value_type = runtimeType(value_borderRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_topLeft_value_0 = value_borderRadius_value_1_topLeft_value as string - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_topLeft_value_1 = value_borderRadius_value_1_topLeft_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_topLeft_value_2 = value_borderRadius_value_1_topLeft_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2) - } - } - const value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight - let value_borderRadius_value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight) - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight! - let value_borderRadius_value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_value_type = runtimeType(value_borderRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_topRight_value_0 = value_borderRadius_value_1_topRight_value as string - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_topRight_value_1 = value_borderRadius_value_1_topRight_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_topRight_value_2 = value_borderRadius_value_1_topRight_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2) - } - } - const value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft - let value_borderRadius_value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft! - let value_borderRadius_value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_value_type = runtimeType(value_borderRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_bottomLeft_value_0 = value_borderRadius_value_1_bottomLeft_value as string - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_bottomLeft_value_1 = value_borderRadius_value_1_bottomLeft_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_bottomLeft_value_2 = value_borderRadius_value_1_bottomLeft_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2) - } - } - const value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight - let value_borderRadius_value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight! - let value_borderRadius_value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_value_type = runtimeType(value_borderRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_bottomRight_value_0 = value_borderRadius_value_1_bottomRight_value as string - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_bottomRight_value_1 = value_borderRadius_value_1_bottomRight_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_bottomRight_value_2 = value_borderRadius_value_1_bottomRight_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1) } } const value_primary = value.primary let value_primary_type : int32 = RuntimeType.UNDEFINED value_primary_type = runtimeType(value_primary) - valueSerializer.writeInt8(value_primary_type as int32) + valueSerializer.writeInt8(value_primary_type) if ((RuntimeType.UNDEFINED) != (value_primary_type)) { const value_primary_value = value_primary! valueSerializer.writeBoolean(value_primary_value) } } - writePickerTextStyle(value: PickerTextStyle): void { + public writePickerTextStyle(value: PickerTextStyle): void { let valueSerializer : Serializer = this const value_color = value.color let value_color_type : int32 = RuntimeType.UNDEFINED value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) + valueSerializer.writeInt8(value_color_type) if ((RuntimeType.UNDEFINED) != (value_color_type)) { const value_color_value = value_color! let value_color_value_type : int32 = RuntimeType.UNDEFINED value_color_value_type = runtimeType(value_color_value) if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_color_value_0 = value_color_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_color_value_1 = value_color_value as number valueSerializer.writeNumber(value_color_value_1) } else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_color_value_2 = value_color_value as string valueSerializer.writeString(value_color_value_2) } else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_color_value_3 = value_color_value as Resource valueSerializer.writeResource(value_color_value_3) } @@ -24658,22 +24488,22 @@ export class Serializer extends SerializerBase { const value_font = value.font let value_font_type : int32 = RuntimeType.UNDEFINED value_font_type = runtimeType(value_font) - valueSerializer.writeInt8(value_font_type as int32) + valueSerializer.writeInt8(value_font_type) if ((RuntimeType.UNDEFINED) != (value_font_type)) { const value_font_value = value_font! valueSerializer.writeFont(value_font_value) } } - writePinchGestureEvent(value: PinchGestureEvent): void { + public writePinchGestureEvent(value: PinchGestureEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePlaceholderStyle(value: PlaceholderStyle): void { + public writePlaceholderStyle(value: PlaceholderStyle): void { let valueSerializer : Serializer = this const value_font = value.font let value_font_type : int32 = RuntimeType.UNDEFINED value_font_type = runtimeType(value_font) - valueSerializer.writeInt8(value_font_type as int32) + valueSerializer.writeInt8(value_font_type) if ((RuntimeType.UNDEFINED) != (value_font_type)) { const value_font_value = value_font! valueSerializer.writeFont(value_font_value) @@ -24681,87 +24511,60 @@ export class Serializer extends SerializerBase { const value_fontColor = value.fontColor let value_fontColor_type : int32 = RuntimeType.UNDEFINED value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type as int32) + valueSerializer.writeInt8(value_fontColor_type) if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { const value_fontColor_value = value_fontColor! let value_fontColor_value_type : int32 = RuntimeType.UNDEFINED value_fontColor_value_type = runtimeType(value_fontColor_value) if (TypeChecker.isColor(value_fontColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_fontColor_value_0 = value_fontColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_0)) } else if (RuntimeType.NUMBER == value_fontColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_fontColor_value_1 = value_fontColor_value as number valueSerializer.writeNumber(value_fontColor_value_1) } else if (RuntimeType.STRING == value_fontColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_fontColor_value_2 = value_fontColor_value as string valueSerializer.writeString(value_fontColor_value_2) } else if (RuntimeType.OBJECT == value_fontColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_fontColor_value_3 = value_fontColor_value as Resource valueSerializer.writeResource(value_fontColor_value_3) } } } - writePointLightStyle(value: PointLightStyle): void { - let valueSerializer : Serializer = this - const value_lightSource = value.lightSource - let value_lightSource_type : int32 = RuntimeType.UNDEFINED - value_lightSource_type = runtimeType(value_lightSource) - valueSerializer.writeInt8(value_lightSource_type as int32) - if ((RuntimeType.UNDEFINED) != (value_lightSource_type)) { - const value_lightSource_value = value_lightSource! - valueSerializer.writeLightSource(value_lightSource_value) - } - const value_illuminated = value.illuminated - let value_illuminated_type : int32 = RuntimeType.UNDEFINED - value_illuminated_type = runtimeType(value_illuminated) - valueSerializer.writeInt8(value_illuminated_type as int32) - if ((RuntimeType.UNDEFINED) != (value_illuminated_type)) { - const value_illuminated_value = (value_illuminated as IlluminatedType) - valueSerializer.writeInt32(TypeChecker.IlluminatedType_ToNumeric(value_illuminated_value)) - } - const value_bloom = value.bloom - let value_bloom_type : int32 = RuntimeType.UNDEFINED - value_bloom_type = runtimeType(value_bloom) - valueSerializer.writeInt8(value_bloom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_bloom_type)) { - const value_bloom_value = value_bloom! - valueSerializer.writeNumber(value_bloom_value) - } - } - writePopupMessageOptions(value: PopupMessageOptions): void { + public writePopupMessageOptions(value: PopupMessageOptions): void { let valueSerializer : Serializer = this const value_textColor = value.textColor let value_textColor_type : int32 = RuntimeType.UNDEFINED value_textColor_type = runtimeType(value_textColor) - valueSerializer.writeInt8(value_textColor_type as int32) + valueSerializer.writeInt8(value_textColor_type) if ((RuntimeType.UNDEFINED) != (value_textColor_type)) { const value_textColor_value = value_textColor! let value_textColor_value_type : int32 = RuntimeType.UNDEFINED value_textColor_value_type = runtimeType(value_textColor_value) if (TypeChecker.isColor(value_textColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_textColor_value_0 = value_textColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_textColor_value_0)) } else if (RuntimeType.NUMBER == value_textColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_textColor_value_1 = value_textColor_value as number valueSerializer.writeNumber(value_textColor_value_1) } else if (RuntimeType.STRING == value_textColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_textColor_value_2 = value_textColor_value as string valueSerializer.writeString(value_textColor_value_2) } else if (RuntimeType.OBJECT == value_textColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_textColor_value_3 = value_textColor_value as Resource valueSerializer.writeResource(value_textColor_value_3) } @@ -24769,1168 +24572,1056 @@ export class Serializer extends SerializerBase { const value_font = value.font let value_font_type : int32 = RuntimeType.UNDEFINED value_font_type = runtimeType(value_font) - valueSerializer.writeInt8(value_font_type as int32) + valueSerializer.writeInt8(value_font_type) if ((RuntimeType.UNDEFINED) != (value_font_type)) { const value_font_value = value_font! valueSerializer.writeFont(value_font_value) } } - writeResizableOptions(value: ResizableOptions): void { + public writeResizableOptions(value: ResizableOptions): void { let valueSerializer : Serializer = this const value_slice = value.slice let value_slice_type : int32 = RuntimeType.UNDEFINED value_slice_type = runtimeType(value_slice) - valueSerializer.writeInt8(value_slice_type as int32) + valueSerializer.writeInt8(value_slice_type) if ((RuntimeType.UNDEFINED) != (value_slice_type)) { const value_slice_value = value_slice! - const value_slice_value_top = value_slice_value.top - let value_slice_value_top_type : int32 = RuntimeType.UNDEFINED - value_slice_value_top_type = runtimeType(value_slice_value_top) - valueSerializer.writeInt8(value_slice_value_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_slice_value_top_type)) { - const value_slice_value_top_value = value_slice_value_top! - let value_slice_value_top_value_type : int32 = RuntimeType.UNDEFINED - value_slice_value_top_value_type = runtimeType(value_slice_value_top_value) - if (RuntimeType.STRING == value_slice_value_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_slice_value_top_value_0 = value_slice_value_top_value as string - valueSerializer.writeString(value_slice_value_top_value_0) + valueSerializer.writeEdgeWidths(value_slice_value) + } + const value_lattice = value.lattice + let value_lattice_type : int32 = RuntimeType.UNDEFINED + value_lattice_type = runtimeType(value_lattice) + valueSerializer.writeInt8(value_lattice_type) + if ((RuntimeType.UNDEFINED) != (value_lattice_type)) { + const value_lattice_value = value_lattice! + valueSerializer.writeDrawingLattice(value_lattice_value) + } + } + public writeRichEditorLayoutStyle(value: RichEditorLayoutStyle): void { + let valueSerializer : Serializer = this + const value_margin = value.margin + let value_margin_type : int32 = RuntimeType.UNDEFINED + value_margin_type = runtimeType(value_margin) + valueSerializer.writeInt8(value_margin_type) + if ((RuntimeType.UNDEFINED) != (value_margin_type)) { + const value_margin_value = value_margin! + let value_margin_value_type : int32 = RuntimeType.UNDEFINED + value_margin_value_type = runtimeType(value_margin_value) + if ((RuntimeType.STRING == value_margin_value_type) || (RuntimeType.NUMBER == value_margin_value_type) || (RuntimeType.OBJECT == value_margin_value_type)) { + valueSerializer.writeInt8(0) + const value_margin_value_0 = value_margin_value as Dimension + let value_margin_value_0_type : int32 = RuntimeType.UNDEFINED + value_margin_value_0_type = runtimeType(value_margin_value_0) + if (RuntimeType.STRING == value_margin_value_0_type) { + valueSerializer.writeInt8(0) + const value_margin_value_0_0 = value_margin_value_0 as string + valueSerializer.writeString(value_margin_value_0_0) + } + else if (RuntimeType.NUMBER == value_margin_value_0_type) { + valueSerializer.writeInt8(1) + const value_margin_value_0_1 = value_margin_value_0 as number + valueSerializer.writeNumber(value_margin_value_0_1) + } + else if (RuntimeType.OBJECT == value_margin_value_0_type) { + valueSerializer.writeInt8(2) + const value_margin_value_0_2 = value_margin_value_0 as Resource + valueSerializer.writeResource(value_margin_value_0_2) + } + } + else if (TypeChecker.isPadding(value_margin_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_margin_value_1 = value_margin_value as Padding + valueSerializer.writePadding(value_margin_value_1) + } + } + const value_borderRadius = value.borderRadius + let value_borderRadius_type : int32 = RuntimeType.UNDEFINED + value_borderRadius_type = runtimeType(value_borderRadius) + valueSerializer.writeInt8(value_borderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { + const value_borderRadius_value = value_borderRadius! + let value_borderRadius_value_type : int32 = RuntimeType.UNDEFINED + value_borderRadius_value_type = runtimeType(value_borderRadius_value) + if ((RuntimeType.STRING == value_borderRadius_value_type) || (RuntimeType.NUMBER == value_borderRadius_value_type) || (RuntimeType.OBJECT == value_borderRadius_value_type)) { + valueSerializer.writeInt8(0) + const value_borderRadius_value_0 = value_borderRadius_value as Dimension + let value_borderRadius_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderRadius_value_0_type = runtimeType(value_borderRadius_value_0) + if (RuntimeType.STRING == value_borderRadius_value_0_type) { + valueSerializer.writeInt8(0) + const value_borderRadius_value_0_0 = value_borderRadius_value_0 as string + valueSerializer.writeString(value_borderRadius_value_0_0) } - else if (RuntimeType.NUMBER == value_slice_value_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_slice_value_top_value_1 = value_slice_value_top_value as number - valueSerializer.writeNumber(value_slice_value_top_value_1) + else if (RuntimeType.NUMBER == value_borderRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderRadius_value_0_1 = value_borderRadius_value_0 as number + valueSerializer.writeNumber(value_borderRadius_value_0_1) } - else if (RuntimeType.OBJECT == value_slice_value_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_slice_value_top_value_2 = value_slice_value_top_value as Resource - valueSerializer.writeResource(value_slice_value_top_value_2) + else if (RuntimeType.OBJECT == value_borderRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderRadius_value_0_2 = value_borderRadius_value_0 as Resource + valueSerializer.writeResource(value_borderRadius_value_0_2) } } - const value_slice_value_right = value_slice_value.right - let value_slice_value_right_type : int32 = RuntimeType.UNDEFINED - value_slice_value_right_type = runtimeType(value_slice_value_right) - valueSerializer.writeInt8(value_slice_value_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_slice_value_right_type)) { - const value_slice_value_right_value = value_slice_value_right! - let value_slice_value_right_value_type : int32 = RuntimeType.UNDEFINED - value_slice_value_right_value_type = runtimeType(value_slice_value_right_value) - if (RuntimeType.STRING == value_slice_value_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_slice_value_right_value_0 = value_slice_value_right_value as string - valueSerializer.writeString(value_slice_value_right_value_0) + else if (TypeChecker.isBorderRadiuses(value_borderRadius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_borderRadius_value_1 = value_borderRadius_value as BorderRadiuses + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1) + } + } + } + public writeRichEditorParagraphStyle(value: RichEditorParagraphStyle): void { + let valueSerializer : Serializer = this + const value_textAlign = value.textAlign + let value_textAlign_type : int32 = RuntimeType.UNDEFINED + value_textAlign_type = runtimeType(value_textAlign) + valueSerializer.writeInt8(value_textAlign_type) + if ((RuntimeType.UNDEFINED) != (value_textAlign_type)) { + const value_textAlign_value = (value_textAlign as TextAlign) + valueSerializer.writeInt32(TypeChecker.TextAlign_ToNumeric(value_textAlign_value)) + } + const value_leadingMargin = value.leadingMargin + let value_leadingMargin_type : int32 = RuntimeType.UNDEFINED + value_leadingMargin_type = runtimeType(value_leadingMargin) + valueSerializer.writeInt8(value_leadingMargin_type) + if ((RuntimeType.UNDEFINED) != (value_leadingMargin_type)) { + const value_leadingMargin_value = value_leadingMargin! + let value_leadingMargin_value_type : int32 = RuntimeType.UNDEFINED + value_leadingMargin_value_type = runtimeType(value_leadingMargin_value) + if ((RuntimeType.STRING == value_leadingMargin_value_type) || (RuntimeType.NUMBER == value_leadingMargin_value_type) || (RuntimeType.OBJECT == value_leadingMargin_value_type)) { + valueSerializer.writeInt8(0) + const value_leadingMargin_value_0 = value_leadingMargin_value as Dimension + let value_leadingMargin_value_0_type : int32 = RuntimeType.UNDEFINED + value_leadingMargin_value_0_type = runtimeType(value_leadingMargin_value_0) + if (RuntimeType.STRING == value_leadingMargin_value_0_type) { + valueSerializer.writeInt8(0) + const value_leadingMargin_value_0_0 = value_leadingMargin_value_0 as string + valueSerializer.writeString(value_leadingMargin_value_0_0) } - else if (RuntimeType.NUMBER == value_slice_value_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_slice_value_right_value_1 = value_slice_value_right_value as number - valueSerializer.writeNumber(value_slice_value_right_value_1) + else if (RuntimeType.NUMBER == value_leadingMargin_value_0_type) { + valueSerializer.writeInt8(1) + const value_leadingMargin_value_0_1 = value_leadingMargin_value_0 as number + valueSerializer.writeNumber(value_leadingMargin_value_0_1) } - else if (RuntimeType.OBJECT == value_slice_value_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_slice_value_right_value_2 = value_slice_value_right_value as Resource - valueSerializer.writeResource(value_slice_value_right_value_2) + else if (RuntimeType.OBJECT == value_leadingMargin_value_0_type) { + valueSerializer.writeInt8(2) + const value_leadingMargin_value_0_2 = value_leadingMargin_value_0 as Resource + valueSerializer.writeResource(value_leadingMargin_value_0_2) } } - const value_slice_value_bottom = value_slice_value.bottom - let value_slice_value_bottom_type : int32 = RuntimeType.UNDEFINED - value_slice_value_bottom_type = runtimeType(value_slice_value_bottom) - valueSerializer.writeInt8(value_slice_value_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_slice_value_bottom_type)) { - const value_slice_value_bottom_value = value_slice_value_bottom! - let value_slice_value_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_slice_value_bottom_value_type = runtimeType(value_slice_value_bottom_value) - if (RuntimeType.STRING == value_slice_value_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_slice_value_bottom_value_0 = value_slice_value_bottom_value as string - valueSerializer.writeString(value_slice_value_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_slice_value_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_slice_value_bottom_value_1 = value_slice_value_bottom_value as number - valueSerializer.writeNumber(value_slice_value_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_slice_value_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_slice_value_bottom_value_2 = value_slice_value_bottom_value as Resource - valueSerializer.writeResource(value_slice_value_bottom_value_2) - } + else if (TypeChecker.isLeadingMarginPlaceholder(value_leadingMargin_value, false, false)) { + valueSerializer.writeInt8(1) + const value_leadingMargin_value_1 = value_leadingMargin_value as LeadingMarginPlaceholder + valueSerializer.writeLeadingMarginPlaceholder(value_leadingMargin_value_1) + } + } + const value_wordBreak = value.wordBreak + let value_wordBreak_type : int32 = RuntimeType.UNDEFINED + value_wordBreak_type = runtimeType(value_wordBreak) + valueSerializer.writeInt8(value_wordBreak_type) + if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { + const value_wordBreak_value = (value_wordBreak as WordBreak) + valueSerializer.writeInt32(TypeChecker.WordBreak_ToNumeric(value_wordBreak_value)) + } + const value_lineBreakStrategy = value.lineBreakStrategy + let value_lineBreakStrategy_type : int32 = RuntimeType.UNDEFINED + value_lineBreakStrategy_type = runtimeType(value_lineBreakStrategy) + valueSerializer.writeInt8(value_lineBreakStrategy_type) + if ((RuntimeType.UNDEFINED) != (value_lineBreakStrategy_type)) { + const value_lineBreakStrategy_value = (value_lineBreakStrategy as LineBreakStrategy) + valueSerializer.writeInt32(TypeChecker.LineBreakStrategy_ToNumeric(value_lineBreakStrategy_value)) + } + const value_paragraphSpacing = value.paragraphSpacing + let value_paragraphSpacing_type : int32 = RuntimeType.UNDEFINED + value_paragraphSpacing_type = runtimeType(value_paragraphSpacing) + valueSerializer.writeInt8(value_paragraphSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_paragraphSpacing_type)) { + const value_paragraphSpacing_value = value_paragraphSpacing! + valueSerializer.writeNumber(value_paragraphSpacing_value) + } + } + public writeRichEditorParagraphStyleOptions(value: RichEditorParagraphStyleOptions): void { + let valueSerializer : Serializer = this + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeNumber(value_start_value) + } + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeNumber(value_end_value) + } + const value_style = value.style + valueSerializer.writeRichEditorParagraphStyle(value_style) + } + public writeRotationGestureEvent(value: RotationGestureEvent): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeRunMetrics(value: RunMetrics): void { + let valueSerializer : Serializer = this + const value_textStyle = value.textStyle + valueSerializer.writetext_TextStyle(value_textStyle) + const value_fontMetrics = value.fontMetrics + valueSerializer.writeFontMetrics(value_fontMetrics) + } + public writeSectionOptions(value: SectionOptions): void { + let valueSerializer : Serializer = this + const value_itemsCount = value.itemsCount + valueSerializer.writeNumber(value_itemsCount) + const value_crossCount = value.crossCount + let value_crossCount_type : int32 = RuntimeType.UNDEFINED + value_crossCount_type = runtimeType(value_crossCount) + valueSerializer.writeInt8(value_crossCount_type) + if ((RuntimeType.UNDEFINED) != (value_crossCount_type)) { + const value_crossCount_value = value_crossCount! + valueSerializer.writeNumber(value_crossCount_value) + } + const value_onGetItemMainSizeByIndex = value.onGetItemMainSizeByIndex + let value_onGetItemMainSizeByIndex_type : int32 = RuntimeType.UNDEFINED + value_onGetItemMainSizeByIndex_type = runtimeType(value_onGetItemMainSizeByIndex) + valueSerializer.writeInt8(value_onGetItemMainSizeByIndex_type) + if ((RuntimeType.UNDEFINED) != (value_onGetItemMainSizeByIndex_type)) { + const value_onGetItemMainSizeByIndex_value = value_onGetItemMainSizeByIndex! + valueSerializer.holdAndWriteCallback(value_onGetItemMainSizeByIndex_value) + } + const value_columnsGap = value.columnsGap + let value_columnsGap_type : int32 = RuntimeType.UNDEFINED + value_columnsGap_type = runtimeType(value_columnsGap) + valueSerializer.writeInt8(value_columnsGap_type) + if ((RuntimeType.UNDEFINED) != (value_columnsGap_type)) { + const value_columnsGap_value = value_columnsGap! + let value_columnsGap_value_type : int32 = RuntimeType.UNDEFINED + value_columnsGap_value_type = runtimeType(value_columnsGap_value) + if (RuntimeType.STRING == value_columnsGap_value_type) { + valueSerializer.writeInt8(0) + const value_columnsGap_value_0 = value_columnsGap_value as string + valueSerializer.writeString(value_columnsGap_value_0) + } + else if (RuntimeType.NUMBER == value_columnsGap_value_type) { + valueSerializer.writeInt8(1) + const value_columnsGap_value_1 = value_columnsGap_value as number + valueSerializer.writeNumber(value_columnsGap_value_1) + } + else if (RuntimeType.OBJECT == value_columnsGap_value_type) { + valueSerializer.writeInt8(2) + const value_columnsGap_value_2 = value_columnsGap_value as Resource + valueSerializer.writeResource(value_columnsGap_value_2) + } + } + const value_rowsGap = value.rowsGap + let value_rowsGap_type : int32 = RuntimeType.UNDEFINED + value_rowsGap_type = runtimeType(value_rowsGap) + valueSerializer.writeInt8(value_rowsGap_type) + if ((RuntimeType.UNDEFINED) != (value_rowsGap_type)) { + const value_rowsGap_value = value_rowsGap! + let value_rowsGap_value_type : int32 = RuntimeType.UNDEFINED + value_rowsGap_value_type = runtimeType(value_rowsGap_value) + if (RuntimeType.STRING == value_rowsGap_value_type) { + valueSerializer.writeInt8(0) + const value_rowsGap_value_0 = value_rowsGap_value as string + valueSerializer.writeString(value_rowsGap_value_0) + } + else if (RuntimeType.NUMBER == value_rowsGap_value_type) { + valueSerializer.writeInt8(1) + const value_rowsGap_value_1 = value_rowsGap_value as number + valueSerializer.writeNumber(value_rowsGap_value_1) } - const value_slice_value_left = value_slice_value.left - let value_slice_value_left_type : int32 = RuntimeType.UNDEFINED - value_slice_value_left_type = runtimeType(value_slice_value_left) - valueSerializer.writeInt8(value_slice_value_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_slice_value_left_type)) { - const value_slice_value_left_value = value_slice_value_left! - let value_slice_value_left_value_type : int32 = RuntimeType.UNDEFINED - value_slice_value_left_value_type = runtimeType(value_slice_value_left_value) - if (RuntimeType.STRING == value_slice_value_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_slice_value_left_value_0 = value_slice_value_left_value as string - valueSerializer.writeString(value_slice_value_left_value_0) - } - else if (RuntimeType.NUMBER == value_slice_value_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_slice_value_left_value_1 = value_slice_value_left_value as number - valueSerializer.writeNumber(value_slice_value_left_value_1) - } - else if (RuntimeType.OBJECT == value_slice_value_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_slice_value_left_value_2 = value_slice_value_left_value as Resource - valueSerializer.writeResource(value_slice_value_left_value_2) - } + else if (RuntimeType.OBJECT == value_rowsGap_value_type) { + valueSerializer.writeInt8(2) + const value_rowsGap_value_2 = value_rowsGap_value as Resource + valueSerializer.writeResource(value_rowsGap_value_2) } } - const value_lattice = value.lattice - let value_lattice_type : int32 = RuntimeType.UNDEFINED - value_lattice_type = runtimeType(value_lattice) - valueSerializer.writeInt8(value_lattice_type as int32) - if ((RuntimeType.UNDEFINED) != (value_lattice_type)) { - const value_lattice_value = value_lattice! - valueSerializer.writeDrawingLattice(value_lattice_value) - } - } - writeRichEditorLayoutStyle(value: RichEditorLayoutStyle): void { - let valueSerializer : Serializer = this const value_margin = value.margin let value_margin_type : int32 = RuntimeType.UNDEFINED value_margin_type = runtimeType(value_margin) - valueSerializer.writeInt8(value_margin_type as int32) + valueSerializer.writeInt8(value_margin_type) if ((RuntimeType.UNDEFINED) != (value_margin_type)) { const value_margin_value = value_margin! let value_margin_value_type : int32 = RuntimeType.UNDEFINED value_margin_value_type = runtimeType(value_margin_value) - if ((RuntimeType.STRING == value_margin_value_type) || (RuntimeType.NUMBER == value_margin_value_type) || (RuntimeType.OBJECT == value_margin_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_0 = value_margin_value as Dimension - let value_margin_value_0_type : int32 = RuntimeType.UNDEFINED - value_margin_value_0_type = runtimeType(value_margin_value_0) - if (RuntimeType.STRING == value_margin_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_0_0 = value_margin_value_0 as string - valueSerializer.writeString(value_margin_value_0_0) - } - else if (RuntimeType.NUMBER == value_margin_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_0_1 = value_margin_value_0 as number - valueSerializer.writeNumber(value_margin_value_0_1) - } - else if (RuntimeType.OBJECT == value_margin_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_0_2 = value_margin_value_0 as Resource - valueSerializer.writeResource(value_margin_value_0_2) - } - } - else if (((RuntimeType.OBJECT) == (value_margin_value_type)) && (TypeChecker.isPadding(value_margin_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1 = value_margin_value as Padding - const value_margin_value_1_top = value_margin_value_1.top - let value_margin_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_top_type = runtimeType(value_margin_value_1_top) - valueSerializer.writeInt8(value_margin_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_top_type)) { - const value_margin_value_1_top_value = value_margin_value_1_top! - let value_margin_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_top_value_type = runtimeType(value_margin_value_1_top_value) - if (RuntimeType.STRING == value_margin_value_1_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_1_top_value_0 = value_margin_value_1_top_value as string - valueSerializer.writeString(value_margin_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1_top_value_1 = value_margin_value_1_top_value as number - valueSerializer.writeNumber(value_margin_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_1_top_value_2 = value_margin_value_1_top_value as Resource - valueSerializer.writeResource(value_margin_value_1_top_value_2) - } - } - const value_margin_value_1_right = value_margin_value_1.right - let value_margin_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_right_type = runtimeType(value_margin_value_1_right) - valueSerializer.writeInt8(value_margin_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_right_type)) { - const value_margin_value_1_right_value = value_margin_value_1_right! - let value_margin_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_right_value_type = runtimeType(value_margin_value_1_right_value) - if (RuntimeType.STRING == value_margin_value_1_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_1_right_value_0 = value_margin_value_1_right_value as string - valueSerializer.writeString(value_margin_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1_right_value_1 = value_margin_value_1_right_value as number - valueSerializer.writeNumber(value_margin_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_1_right_value_2 = value_margin_value_1_right_value as Resource - valueSerializer.writeResource(value_margin_value_1_right_value_2) - } - } - const value_margin_value_1_bottom = value_margin_value_1.bottom - let value_margin_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_bottom_type = runtimeType(value_margin_value_1_bottom) - valueSerializer.writeInt8(value_margin_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_bottom_type)) { - const value_margin_value_1_bottom_value = value_margin_value_1_bottom! - let value_margin_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_bottom_value_type = runtimeType(value_margin_value_1_bottom_value) - if (RuntimeType.STRING == value_margin_value_1_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_1_bottom_value_0 = value_margin_value_1_bottom_value as string - valueSerializer.writeString(value_margin_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1_bottom_value_1 = value_margin_value_1_bottom_value as number - valueSerializer.writeNumber(value_margin_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_1_bottom_value_2 = value_margin_value_1_bottom_value as Resource - valueSerializer.writeResource(value_margin_value_1_bottom_value_2) - } - } - const value_margin_value_1_left = value_margin_value_1.left - let value_margin_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_left_type = runtimeType(value_margin_value_1_left) - valueSerializer.writeInt8(value_margin_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_left_type)) { - const value_margin_value_1_left_value = value_margin_value_1_left! - let value_margin_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_left_value_type = runtimeType(value_margin_value_1_left_value) - if (RuntimeType.STRING == value_margin_value_1_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_1_left_value_0 = value_margin_value_1_left_value as string - valueSerializer.writeString(value_margin_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1_left_value_1 = value_margin_value_1_left_value as number - valueSerializer.writeNumber(value_margin_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_1_left_value_2 = value_margin_value_1_left_value as Resource - valueSerializer.writeResource(value_margin_value_1_left_value_2) - } - } - } - } - const value_borderRadius = value.borderRadius - let value_borderRadius_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_type = runtimeType(value_borderRadius) - valueSerializer.writeInt8(value_borderRadius_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { - const value_borderRadius_value = value_borderRadius! - let value_borderRadius_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_type = runtimeType(value_borderRadius_value) - if ((RuntimeType.STRING == value_borderRadius_value_type) || (RuntimeType.NUMBER == value_borderRadius_value_type) || (RuntimeType.OBJECT == value_borderRadius_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_0 = value_borderRadius_value as Dimension - let value_borderRadius_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_0_type = runtimeType(value_borderRadius_value_0) - if (RuntimeType.STRING == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_0_0 = value_borderRadius_value_0 as string - valueSerializer.writeString(value_borderRadius_value_0_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_0_1 = value_borderRadius_value_0 as number - valueSerializer.writeNumber(value_borderRadius_value_0_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_0_2 = value_borderRadius_value_0 as Resource - valueSerializer.writeResource(value_borderRadius_value_0_2) - } + if (TypeChecker.isPadding(value_margin_value, false, false, false, false)) { + valueSerializer.writeInt8(0) + const value_margin_value_0 = value_margin_value as Padding + valueSerializer.writePadding(value_margin_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (TypeChecker.isBorderRadiuses(value_borderRadius_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1 = value_borderRadius_value as BorderRadiuses - const value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft - let value_borderRadius_value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft! - let value_borderRadius_value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_value_type = runtimeType(value_borderRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_topLeft_value_0 = value_borderRadius_value_1_topLeft_value as string - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_topLeft_value_1 = value_borderRadius_value_1_topLeft_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_topLeft_value_2 = value_borderRadius_value_1_topLeft_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2) - } - } - const value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight - let value_borderRadius_value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight) - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight! - let value_borderRadius_value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_value_type = runtimeType(value_borderRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_topRight_value_0 = value_borderRadius_value_1_topRight_value as string - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_topRight_value_1 = value_borderRadius_value_1_topRight_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_topRight_value_2 = value_borderRadius_value_1_topRight_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2) - } + else if ((RuntimeType.STRING == value_margin_value_type) || (RuntimeType.NUMBER == value_margin_value_type) || (RuntimeType.OBJECT == value_margin_value_type)) { + valueSerializer.writeInt8(1) + const value_margin_value_1 = value_margin_value as Dimension + let value_margin_value_1_type : int32 = RuntimeType.UNDEFINED + value_margin_value_1_type = runtimeType(value_margin_value_1) + if (RuntimeType.STRING == value_margin_value_1_type) { + valueSerializer.writeInt8(0) + const value_margin_value_1_0 = value_margin_value_1 as string + valueSerializer.writeString(value_margin_value_1_0) } - const value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft - let value_borderRadius_value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft! - let value_borderRadius_value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_value_type = runtimeType(value_borderRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_bottomLeft_value_0 = value_borderRadius_value_1_bottomLeft_value as string - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_bottomLeft_value_1 = value_borderRadius_value_1_bottomLeft_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_bottomLeft_value_2 = value_borderRadius_value_1_bottomLeft_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2) - } + else if (RuntimeType.NUMBER == value_margin_value_1_type) { + valueSerializer.writeInt8(1) + const value_margin_value_1_1 = value_margin_value_1 as number + valueSerializer.writeNumber(value_margin_value_1_1) } - const value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight - let value_borderRadius_value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight! - let value_borderRadius_value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_value_type = runtimeType(value_borderRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderRadius_value_1_bottomRight_value_0 = value_borderRadius_value_1_bottomRight_value as string - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderRadius_value_1_bottomRight_value_1 = value_borderRadius_value_1_bottomRight_value as number - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderRadius_value_1_bottomRight_value_2 = value_borderRadius_value_1_bottomRight_value as Resource - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2) - } + else if (RuntimeType.OBJECT == value_margin_value_1_type) { + valueSerializer.writeInt8(2) + const value_margin_value_1_2 = value_margin_value_1 as Resource + valueSerializer.writeResource(value_margin_value_1_2) } } } } - writeRichEditorSymbolSpanOptions(value: RichEditorSymbolSpanOptions): void { - let valueSerializer : Serializer = this - const value_offset = value.offset - let value_offset_type : int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - valueSerializer.writeNumber(value_offset_value) - } - const value_style = value.style - let value_style_type : int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = value_style! - valueSerializer.writeRichEditorSymbolSpanStyle(value_style_value) - } - } - writeRichEditorTextStyle(value: RichEditorTextStyle): void { + public writeSheetOptions(value: SheetOptions): void { let valueSerializer : Serializer = this - const value_fontColor = value.fontColor - let value_fontColor_type : int32 = RuntimeType.UNDEFINED - value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { - const value_fontColor_value = value_fontColor! - let value_fontColor_value_type : int32 = RuntimeType.UNDEFINED - value_fontColor_value_type = runtimeType(value_fontColor_value) - if (TypeChecker.isColor(value_fontColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_fontColor_value_0 = value_fontColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_0)) + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (TypeChecker.isColor(value_backgroundColor_value)) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = value_backgroundColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) } - else if (RuntimeType.NUMBER == value_fontColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontColor_value_1 = value_fontColor_value as number - valueSerializer.writeNumber(value_fontColor_value_1) + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = value_backgroundColor_value as number + valueSerializer.writeNumber(value_backgroundColor_value_1) } - else if (RuntimeType.STRING == value_fontColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontColor_value_2 = value_fontColor_value as string - valueSerializer.writeString(value_fontColor_value_2) + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = value_backgroundColor_value as string + valueSerializer.writeString(value_backgroundColor_value_2) } - else if (RuntimeType.OBJECT == value_fontColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_fontColor_value_3 = value_fontColor_value as Resource - valueSerializer.writeResource(value_fontColor_value_3) + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = value_backgroundColor_value as Resource + valueSerializer.writeResource(value_backgroundColor_value_3) } } - const value_fontSize = value.fontSize - let value_fontSize_type : int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - let value_fontSize_value_type : int32 = RuntimeType.UNDEFINED - value_fontSize_value_type = runtimeType(value_fontSize_value) - if (RuntimeType.STRING == value_fontSize_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_fontSize_value_0 = value_fontSize_value as string - valueSerializer.writeString(value_fontSize_value_0) - } - else if (RuntimeType.NUMBER == value_fontSize_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontSize_value_1 = value_fontSize_value as number - valueSerializer.writeNumber(value_fontSize_value_1) - } - else if (RuntimeType.OBJECT == value_fontSize_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontSize_value_2 = value_fontSize_value as Resource - valueSerializer.writeResource(value_fontSize_value_2) - } + const value_onAppear = value.onAppear + let value_onAppear_type : int32 = RuntimeType.UNDEFINED + value_onAppear_type = runtimeType(value_onAppear) + valueSerializer.writeInt8(value_onAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { + const value_onAppear_value = value_onAppear! + valueSerializer.holdAndWriteCallback(value_onAppear_value) } - const value_fontStyle = value.fontStyle - let value_fontStyle_type : int32 = RuntimeType.UNDEFINED - value_fontStyle_type = runtimeType(value_fontStyle) - valueSerializer.writeInt8(value_fontStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { - const value_fontStyle_value = (value_fontStyle as FontStyle) - valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_fontStyle_value)) + const value_onDisappear = value.onDisappear + let value_onDisappear_type : int32 = RuntimeType.UNDEFINED + value_onDisappear_type = runtimeType(value_onDisappear) + valueSerializer.writeInt8(value_onDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { + const value_onDisappear_value = value_onDisappear! + valueSerializer.holdAndWriteCallback(value_onDisappear_value) } - const value_fontWeight = value.fontWeight - let value_fontWeight_type : int32 = RuntimeType.UNDEFINED - value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { - const value_fontWeight_value = value_fontWeight! - let value_fontWeight_value_type : int32 = RuntimeType.UNDEFINED - value_fontWeight_value_type = runtimeType(value_fontWeight_value) - if (RuntimeType.NUMBER == value_fontWeight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_fontWeight_value_0 = value_fontWeight_value as number - valueSerializer.writeNumber(value_fontWeight_value_0) - } - else if (TypeChecker.isFontWeight(value_fontWeight_value)) { - valueSerializer.writeInt8(1 as int32) - const value_fontWeight_value_1 = value_fontWeight_value as FontWeight - valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_fontWeight_value_1)) - } - else if (RuntimeType.STRING == value_fontWeight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_fontWeight_value_2 = value_fontWeight_value as string - valueSerializer.writeString(value_fontWeight_value_2) - } + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) } - const value_fontFamily = value.fontFamily - let value_fontFamily_type : int32 = RuntimeType.UNDEFINED - value_fontFamily_type = runtimeType(value_fontFamily) - valueSerializer.writeInt8(value_fontFamily_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { - const value_fontFamily_value = value_fontFamily! - let value_fontFamily_value_type : int32 = RuntimeType.UNDEFINED - value_fontFamily_value_type = runtimeType(value_fontFamily_value) - if (RuntimeType.STRING == value_fontFamily_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_fontFamily_value_0 = value_fontFamily_value as string - valueSerializer.writeString(value_fontFamily_value_0) + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) + } + const value_height = value.height + let value_height_type : int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type : int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (TypeChecker.isSheetSize(value_height_value)) { + valueSerializer.writeInt8(0) + const value_height_value_0 = value_height_value as SheetSize + valueSerializer.writeInt32(TypeChecker.SheetSize_ToNumeric(value_height_value_0)) } - else if (RuntimeType.OBJECT == value_fontFamily_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_fontFamily_value_1 = value_fontFamily_value as Resource - valueSerializer.writeResource(value_fontFamily_value_1) + else if ((RuntimeType.STRING == value_height_value_type) || (RuntimeType.NUMBER == value_height_value_type) || (RuntimeType.OBJECT == value_height_value_type)) { + valueSerializer.writeInt8(1) + const value_height_value_1 = value_height_value as Length + let value_height_value_1_type : int32 = RuntimeType.UNDEFINED + value_height_value_1_type = runtimeType(value_height_value_1) + if (RuntimeType.STRING == value_height_value_1_type) { + valueSerializer.writeInt8(0) + const value_height_value_1_0 = value_height_value_1 as string + valueSerializer.writeString(value_height_value_1_0) + } + else if (RuntimeType.NUMBER == value_height_value_1_type) { + valueSerializer.writeInt8(1) + const value_height_value_1_1 = value_height_value_1 as number + valueSerializer.writeNumber(value_height_value_1_1) + } + else if (RuntimeType.OBJECT == value_height_value_1_type) { + valueSerializer.writeInt8(2) + const value_height_value_1_2 = value_height_value_1 as Resource + valueSerializer.writeResource(value_height_value_1_2) + } } } - const value_decoration = value.decoration - let value_decoration_type : int32 = RuntimeType.UNDEFINED - value_decoration_type = runtimeType(value_decoration) - valueSerializer.writeInt8(value_decoration_type as int32) - if ((RuntimeType.UNDEFINED) != (value_decoration_type)) { - const value_decoration_value = value_decoration! - valueSerializer.writeDecorationStyleInterface(value_decoration_value) + const value_dragBar = value.dragBar + let value_dragBar_type : int32 = RuntimeType.UNDEFINED + value_dragBar_type = runtimeType(value_dragBar) + valueSerializer.writeInt8(value_dragBar_type) + if ((RuntimeType.UNDEFINED) != (value_dragBar_type)) { + const value_dragBar_value = value_dragBar! + valueSerializer.writeBoolean(value_dragBar_value) } - const value_textShadow = value.textShadow - let value_textShadow_type : int32 = RuntimeType.UNDEFINED - value_textShadow_type = runtimeType(value_textShadow) - valueSerializer.writeInt8(value_textShadow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textShadow_type)) { - const value_textShadow_value = value_textShadow! - let value_textShadow_value_type : int32 = RuntimeType.UNDEFINED - value_textShadow_value_type = runtimeType(value_textShadow_value) - if (TypeChecker.isShadowOptions(value_textShadow_value, false, false, false, false, false, false)) { - valueSerializer.writeInt8(0 as int32) - const value_textShadow_value_0 = value_textShadow_value as ShadowOptions - valueSerializer.writeShadowOptions(value_textShadow_value_0) + const value_maskColor = value.maskColor + let value_maskColor_type : int32 = RuntimeType.UNDEFINED + value_maskColor_type = runtimeType(value_maskColor) + valueSerializer.writeInt8(value_maskColor_type) + if ((RuntimeType.UNDEFINED) != (value_maskColor_type)) { + const value_maskColor_value = value_maskColor! + let value_maskColor_value_type : int32 = RuntimeType.UNDEFINED + value_maskColor_value_type = runtimeType(value_maskColor_value) + if (TypeChecker.isColor(value_maskColor_value)) { + valueSerializer.writeInt8(0) + const value_maskColor_value_0 = value_maskColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_maskColor_value_0)) } - else if (((RuntimeType.OBJECT) == (value_textShadow_value_type)) && (TypeChecker.isArray_ShadowOptions(value_textShadow_value))) { - valueSerializer.writeInt8(1 as int32) - const value_textShadow_value_1 = value_textShadow_value as Array - valueSerializer.writeInt32(value_textShadow_value_1.length as int32) - for (let i = 0; i < value_textShadow_value_1.length; i++) { - const value_textShadow_value_1_element : ShadowOptions = value_textShadow_value_1[i] - valueSerializer.writeShadowOptions(value_textShadow_value_1_element) - } + else if (RuntimeType.NUMBER == value_maskColor_value_type) { + valueSerializer.writeInt8(1) + const value_maskColor_value_1 = value_maskColor_value as number + valueSerializer.writeNumber(value_maskColor_value_1) } - } - const value_letterSpacing = value.letterSpacing - let value_letterSpacing_type : int32 = RuntimeType.UNDEFINED - value_letterSpacing_type = runtimeType(value_letterSpacing) - valueSerializer.writeInt8(value_letterSpacing_type as int32) - if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { - const value_letterSpacing_value = value_letterSpacing! - let value_letterSpacing_value_type : int32 = RuntimeType.UNDEFINED - value_letterSpacing_value_type = runtimeType(value_letterSpacing_value) - if (RuntimeType.NUMBER == value_letterSpacing_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_letterSpacing_value_0 = value_letterSpacing_value as number - valueSerializer.writeNumber(value_letterSpacing_value_0) + else if (RuntimeType.STRING == value_maskColor_value_type) { + valueSerializer.writeInt8(2) + const value_maskColor_value_2 = value_maskColor_value as string + valueSerializer.writeString(value_maskColor_value_2) } - else if (RuntimeType.STRING == value_letterSpacing_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_letterSpacing_value_1 = value_letterSpacing_value as string - valueSerializer.writeString(value_letterSpacing_value_1) + else if (RuntimeType.OBJECT == value_maskColor_value_type) { + valueSerializer.writeInt8(3) + const value_maskColor_value_3 = value_maskColor_value as Resource + valueSerializer.writeResource(value_maskColor_value_3) } } - const value_lineHeight = value.lineHeight - let value_lineHeight_type : int32 = RuntimeType.UNDEFINED - value_lineHeight_type = runtimeType(value_lineHeight) - valueSerializer.writeInt8(value_lineHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_lineHeight_type)) { - const value_lineHeight_value = value_lineHeight! - let value_lineHeight_value_type : int32 = RuntimeType.UNDEFINED - value_lineHeight_value_type = runtimeType(value_lineHeight_value) - if (RuntimeType.NUMBER == value_lineHeight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_lineHeight_value_0 = value_lineHeight_value as number - valueSerializer.writeNumber(value_lineHeight_value_0) + const value_detents = value.detents + let value_detents_type : int32 = RuntimeType.UNDEFINED + value_detents_type = runtimeType(value_detents) + valueSerializer.writeInt8(value_detents_type) + if ((RuntimeType.UNDEFINED) != (value_detents_type)) { + const value_detents_value = value_detents! + const value_detents_value_0 = value_detents_value[0] + let value_detents_value_0_type : int32 = RuntimeType.UNDEFINED + value_detents_value_0_type = runtimeType(value_detents_value_0) + if (TypeChecker.isSheetSize(value_detents_value_0)) { + valueSerializer.writeInt8(0) + const value_detents_value_0_0 = value_detents_value_0 as SheetSize + valueSerializer.writeInt32(TypeChecker.SheetSize_ToNumeric(value_detents_value_0_0)) } - else if (RuntimeType.STRING == value_lineHeight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_lineHeight_value_1 = value_lineHeight_value as string - valueSerializer.writeString(value_lineHeight_value_1) + else if ((RuntimeType.STRING == value_detents_value_0_type) || (RuntimeType.NUMBER == value_detents_value_0_type) || (RuntimeType.OBJECT == value_detents_value_0_type)) { + valueSerializer.writeInt8(1) + const value_detents_value_0_1 = value_detents_value_0 as Length + let value_detents_value_0_1_type : int32 = RuntimeType.UNDEFINED + value_detents_value_0_1_type = runtimeType(value_detents_value_0_1) + if (RuntimeType.STRING == value_detents_value_0_1_type) { + valueSerializer.writeInt8(0) + const value_detents_value_0_1_0 = value_detents_value_0_1 as string + valueSerializer.writeString(value_detents_value_0_1_0) + } + else if (RuntimeType.NUMBER == value_detents_value_0_1_type) { + valueSerializer.writeInt8(1) + const value_detents_value_0_1_1 = value_detents_value_0_1 as number + valueSerializer.writeNumber(value_detents_value_0_1_1) + } + else if (RuntimeType.OBJECT == value_detents_value_0_1_type) { + valueSerializer.writeInt8(2) + const value_detents_value_0_1_2 = value_detents_value_0_1 as Resource + valueSerializer.writeResource(value_detents_value_0_1_2) + } } - else if (RuntimeType.OBJECT == value_lineHeight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_lineHeight_value_2 = value_lineHeight_value as Resource - valueSerializer.writeResource(value_lineHeight_value_2) + const value_detents_value_1 = value_detents_value[1] + let value_detents_value_1_type : int32 = RuntimeType.UNDEFINED + value_detents_value_1_type = runtimeType(value_detents_value_1) + valueSerializer.writeInt8(value_detents_value_1_type) + if ((RuntimeType.UNDEFINED) != (value_detents_value_1_type)) { + const value_detents_value_1_value = value_detents_value_1! + let value_detents_value_1_value_type : int32 = RuntimeType.UNDEFINED + value_detents_value_1_value_type = runtimeType(value_detents_value_1_value) + if (TypeChecker.isSheetSize(value_detents_value_1_value)) { + valueSerializer.writeInt8(0) + const value_detents_value_1_value_0 = value_detents_value_1_value as SheetSize + valueSerializer.writeInt32(TypeChecker.SheetSize_ToNumeric(value_detents_value_1_value_0)) + } + else if ((RuntimeType.STRING == value_detents_value_1_value_type) || (RuntimeType.NUMBER == value_detents_value_1_value_type) || (RuntimeType.OBJECT == value_detents_value_1_value_type)) { + valueSerializer.writeInt8(1) + const value_detents_value_1_value_1 = value_detents_value_1_value as Length + let value_detents_value_1_value_1_type : int32 = RuntimeType.UNDEFINED + value_detents_value_1_value_1_type = runtimeType(value_detents_value_1_value_1) + if (RuntimeType.STRING == value_detents_value_1_value_1_type) { + valueSerializer.writeInt8(0) + const value_detents_value_1_value_1_0 = value_detents_value_1_value_1 as string + valueSerializer.writeString(value_detents_value_1_value_1_0) + } + else if (RuntimeType.NUMBER == value_detents_value_1_value_1_type) { + valueSerializer.writeInt8(1) + const value_detents_value_1_value_1_1 = value_detents_value_1_value_1 as number + valueSerializer.writeNumber(value_detents_value_1_value_1_1) + } + else if (RuntimeType.OBJECT == value_detents_value_1_value_1_type) { + valueSerializer.writeInt8(2) + const value_detents_value_1_value_1_2 = value_detents_value_1_value_1 as Resource + valueSerializer.writeResource(value_detents_value_1_value_1_2) + } + } + } + const value_detents_value_2 = value_detents_value[2] + let value_detents_value_2_type : int32 = RuntimeType.UNDEFINED + value_detents_value_2_type = runtimeType(value_detents_value_2) + valueSerializer.writeInt8(value_detents_value_2_type) + if ((RuntimeType.UNDEFINED) != (value_detents_value_2_type)) { + const value_detents_value_2_value = value_detents_value_2! + let value_detents_value_2_value_type : int32 = RuntimeType.UNDEFINED + value_detents_value_2_value_type = runtimeType(value_detents_value_2_value) + if (TypeChecker.isSheetSize(value_detents_value_2_value)) { + valueSerializer.writeInt8(0) + const value_detents_value_2_value_0 = value_detents_value_2_value as SheetSize + valueSerializer.writeInt32(TypeChecker.SheetSize_ToNumeric(value_detents_value_2_value_0)) + } + else if ((RuntimeType.STRING == value_detents_value_2_value_type) || (RuntimeType.NUMBER == value_detents_value_2_value_type) || (RuntimeType.OBJECT == value_detents_value_2_value_type)) { + valueSerializer.writeInt8(1) + const value_detents_value_2_value_1 = value_detents_value_2_value as Length + let value_detents_value_2_value_1_type : int32 = RuntimeType.UNDEFINED + value_detents_value_2_value_1_type = runtimeType(value_detents_value_2_value_1) + if (RuntimeType.STRING == value_detents_value_2_value_1_type) { + valueSerializer.writeInt8(0) + const value_detents_value_2_value_1_0 = value_detents_value_2_value_1 as string + valueSerializer.writeString(value_detents_value_2_value_1_0) + } + else if (RuntimeType.NUMBER == value_detents_value_2_value_1_type) { + valueSerializer.writeInt8(1) + const value_detents_value_2_value_1_1 = value_detents_value_2_value_1 as number + valueSerializer.writeNumber(value_detents_value_2_value_1_1) + } + else if (RuntimeType.OBJECT == value_detents_value_2_value_1_type) { + valueSerializer.writeInt8(2) + const value_detents_value_2_value_1_2 = value_detents_value_2_value_1 as Resource + valueSerializer.writeResource(value_detents_value_2_value_1_2) + } + } } } - const value_fontFeature = value.fontFeature - let value_fontFeature_type : int32 = RuntimeType.UNDEFINED - value_fontFeature_type = runtimeType(value_fontFeature) - valueSerializer.writeInt8(value_fontFeature_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontFeature_type)) { - const value_fontFeature_value = value_fontFeature! - valueSerializer.writeString(value_fontFeature_value) - } - } - writeRichEditorUpdateTextSpanStyleOptions(value: RichEditorUpdateTextSpanStyleOptions): void { - let valueSerializer : Serializer = this - const value_start = value.start - let value_start_type : int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeNumber(value_start_value) + const value_blurStyle = value.blurStyle + let value_blurStyle_type : int32 = RuntimeType.UNDEFINED + value_blurStyle_type = runtimeType(value_blurStyle) + valueSerializer.writeInt8(value_blurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_blurStyle_type)) { + const value_blurStyle_value = (value_blurStyle as BlurStyle) + valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_blurStyle_value)) } - const value_end = value.end - let value_end_type : int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeNumber(value_end_value) + const value_showClose = value.showClose + let value_showClose_type : int32 = RuntimeType.UNDEFINED + value_showClose_type = runtimeType(value_showClose) + valueSerializer.writeInt8(value_showClose_type) + if ((RuntimeType.UNDEFINED) != (value_showClose_type)) { + const value_showClose_value = value_showClose! + let value_showClose_value_type : int32 = RuntimeType.UNDEFINED + value_showClose_value_type = runtimeType(value_showClose_value) + if (RuntimeType.BOOLEAN == value_showClose_value_type) { + valueSerializer.writeInt8(0) + const value_showClose_value_0 = value_showClose_value as boolean + valueSerializer.writeBoolean(value_showClose_value_0) + } + else if (RuntimeType.OBJECT == value_showClose_value_type) { + valueSerializer.writeInt8(1) + const value_showClose_value_1 = value_showClose_value as Resource + valueSerializer.writeResource(value_showClose_value_1) + } } - const value_textStyle = value.textStyle - valueSerializer.writeRichEditorTextStyle(value_textStyle) - } - writeRotationGestureEvent(value: RotationGestureEvent): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeScrollSnapOptions(value: ScrollSnapOptions): void { - let valueSerializer : Serializer = this - const value_snapAlign = value.snapAlign - valueSerializer.writeInt32(TypeChecker.ScrollSnapAlign_ToNumeric(value_snapAlign)) - const value_snapPagination = value.snapPagination - let value_snapPagination_type : int32 = RuntimeType.UNDEFINED - value_snapPagination_type = runtimeType(value_snapPagination) - valueSerializer.writeInt8(value_snapPagination_type as int32) - if ((RuntimeType.UNDEFINED) != (value_snapPagination_type)) { - const value_snapPagination_value = value_snapPagination! - let value_snapPagination_value_type : int32 = RuntimeType.UNDEFINED - value_snapPagination_value_type = runtimeType(value_snapPagination_value) - if ((RuntimeType.STRING == value_snapPagination_value_type) || (RuntimeType.NUMBER == value_snapPagination_value_type) || (RuntimeType.OBJECT == value_snapPagination_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_snapPagination_value_0 = value_snapPagination_value as Dimension - let value_snapPagination_value_0_type : int32 = RuntimeType.UNDEFINED - value_snapPagination_value_0_type = runtimeType(value_snapPagination_value_0) - if (RuntimeType.STRING == value_snapPagination_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_snapPagination_value_0_0 = value_snapPagination_value_0 as string - valueSerializer.writeString(value_snapPagination_value_0_0) - } - else if (RuntimeType.NUMBER == value_snapPagination_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_snapPagination_value_0_1 = value_snapPagination_value_0 as number - valueSerializer.writeNumber(value_snapPagination_value_0_1) - } - else if (RuntimeType.OBJECT == value_snapPagination_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_snapPagination_value_0_2 = value_snapPagination_value_0 as Resource - valueSerializer.writeResource(value_snapPagination_value_0_2) - } + const value_preferType = value.preferType + let value_preferType_type : int32 = RuntimeType.UNDEFINED + value_preferType_type = runtimeType(value_preferType) + valueSerializer.writeInt8(value_preferType_type) + if ((RuntimeType.UNDEFINED) != (value_preferType_type)) { + const value_preferType_value = (value_preferType as SheetType) + valueSerializer.writeInt32(TypeChecker.SheetType_ToNumeric(value_preferType_value)) + } + const value_title = value.title + let value_title_type : int32 = RuntimeType.UNDEFINED + value_title_type = runtimeType(value_title) + valueSerializer.writeInt8(value_title_type) + if ((RuntimeType.UNDEFINED) != (value_title_type)) { + const value_title_value = value_title! + let value_title_value_type : int32 = RuntimeType.UNDEFINED + value_title_value_type = runtimeType(value_title_value) + if (RuntimeType.OBJECT == value_title_value_type) { + valueSerializer.writeInt8(0) + const value_title_value_0 = value_title_value as SheetTitleOptions + valueSerializer.writeSheetTitleOptions(value_title_value_0) } - else if (((RuntimeType.OBJECT) == (value_snapPagination_value_type)) && (TypeChecker.isArray_Union_String_Number_Resource(value_snapPagination_value))) { - valueSerializer.writeInt8(1 as int32) - const value_snapPagination_value_1 = value_snapPagination_value as Array - valueSerializer.writeInt32(value_snapPagination_value_1.length as int32) - for (let i = 0; i < value_snapPagination_value_1.length; i++) { - const value_snapPagination_value_1_element : Dimension = value_snapPagination_value_1[i] - let value_snapPagination_value_1_element_type : int32 = RuntimeType.UNDEFINED - value_snapPagination_value_1_element_type = runtimeType(value_snapPagination_value_1_element) - if (RuntimeType.STRING == value_snapPagination_value_1_element_type) { - valueSerializer.writeInt8(0 as int32) - const value_snapPagination_value_1_element_0 = value_snapPagination_value_1_element as string - valueSerializer.writeString(value_snapPagination_value_1_element_0) - } - else if (RuntimeType.NUMBER == value_snapPagination_value_1_element_type) { - valueSerializer.writeInt8(1 as int32) - const value_snapPagination_value_1_element_1 = value_snapPagination_value_1_element as number - valueSerializer.writeNumber(value_snapPagination_value_1_element_1) - } - else if (RuntimeType.OBJECT == value_snapPagination_value_1_element_type) { - valueSerializer.writeInt8(2 as int32) - const value_snapPagination_value_1_element_2 = value_snapPagination_value_1_element as Resource - valueSerializer.writeResource(value_snapPagination_value_1_element_2) - } - } + else if (RuntimeType.FUNCTION == value_title_value_type) { + valueSerializer.writeInt8(1) + const value_title_value_1 = value_title_value as CustomBuilder + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_title_value_1)) } } - const value_enableSnapToStart = value.enableSnapToStart - let value_enableSnapToStart_type : int32 = RuntimeType.UNDEFINED - value_enableSnapToStart_type = runtimeType(value_enableSnapToStart) - valueSerializer.writeInt8(value_enableSnapToStart_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableSnapToStart_type)) { - const value_enableSnapToStart_value = value_enableSnapToStart! - valueSerializer.writeBoolean(value_enableSnapToStart_value) + const value_shouldDismiss = value.shouldDismiss + let value_shouldDismiss_type : int32 = RuntimeType.UNDEFINED + value_shouldDismiss_type = runtimeType(value_shouldDismiss) + valueSerializer.writeInt8(value_shouldDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_shouldDismiss_type)) { + const value_shouldDismiss_value = value_shouldDismiss! + valueSerializer.holdAndWriteCallback(value_shouldDismiss_value) } - const value_enableSnapToEnd = value.enableSnapToEnd - let value_enableSnapToEnd_type : int32 = RuntimeType.UNDEFINED - value_enableSnapToEnd_type = runtimeType(value_enableSnapToEnd) - valueSerializer.writeInt8(value_enableSnapToEnd_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableSnapToEnd_type)) { - const value_enableSnapToEnd_value = value_enableSnapToEnd! - valueSerializer.writeBoolean(value_enableSnapToEnd_value) + const value_onWillDismiss = value.onWillDismiss + let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED + value_onWillDismiss_type = runtimeType(value_onWillDismiss) + valueSerializer.writeInt8(value_onWillDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { + const value_onWillDismiss_value = value_onWillDismiss! + valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) } - } - writeSectionOptions(value: SectionOptions): void { - let valueSerializer : Serializer = this - const value_itemsCount = value.itemsCount - valueSerializer.writeNumber(value_itemsCount) - const value_crossCount = value.crossCount - let value_crossCount_type : int32 = RuntimeType.UNDEFINED - value_crossCount_type = runtimeType(value_crossCount) - valueSerializer.writeInt8(value_crossCount_type as int32) - if ((RuntimeType.UNDEFINED) != (value_crossCount_type)) { - const value_crossCount_value = value_crossCount! - valueSerializer.writeNumber(value_crossCount_value) + const value_onWillSpringBackWhenDismiss = value.onWillSpringBackWhenDismiss + let value_onWillSpringBackWhenDismiss_type : int32 = RuntimeType.UNDEFINED + value_onWillSpringBackWhenDismiss_type = runtimeType(value_onWillSpringBackWhenDismiss) + valueSerializer.writeInt8(value_onWillSpringBackWhenDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_onWillSpringBackWhenDismiss_type)) { + const value_onWillSpringBackWhenDismiss_value = value_onWillSpringBackWhenDismiss! + valueSerializer.holdAndWriteCallback(value_onWillSpringBackWhenDismiss_value) } - const value_onGetItemMainSizeByIndex = value.onGetItemMainSizeByIndex - let value_onGetItemMainSizeByIndex_type : int32 = RuntimeType.UNDEFINED - value_onGetItemMainSizeByIndex_type = runtimeType(value_onGetItemMainSizeByIndex) - valueSerializer.writeInt8(value_onGetItemMainSizeByIndex_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onGetItemMainSizeByIndex_type)) { - const value_onGetItemMainSizeByIndex_value = value_onGetItemMainSizeByIndex! - valueSerializer.holdAndWriteCallback(value_onGetItemMainSizeByIndex_value) + const value_enableOutsideInteractive = value.enableOutsideInteractive + let value_enableOutsideInteractive_type : int32 = RuntimeType.UNDEFINED + value_enableOutsideInteractive_type = runtimeType(value_enableOutsideInteractive) + valueSerializer.writeInt8(value_enableOutsideInteractive_type) + if ((RuntimeType.UNDEFINED) != (value_enableOutsideInteractive_type)) { + const value_enableOutsideInteractive_value = value_enableOutsideInteractive! + valueSerializer.writeBoolean(value_enableOutsideInteractive_value) } - const value_columnsGap = value.columnsGap - let value_columnsGap_type : int32 = RuntimeType.UNDEFINED - value_columnsGap_type = runtimeType(value_columnsGap) - valueSerializer.writeInt8(value_columnsGap_type as int32) - if ((RuntimeType.UNDEFINED) != (value_columnsGap_type)) { - const value_columnsGap_value = value_columnsGap! - let value_columnsGap_value_type : int32 = RuntimeType.UNDEFINED - value_columnsGap_value_type = runtimeType(value_columnsGap_value) - if (RuntimeType.STRING == value_columnsGap_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_columnsGap_value_0 = value_columnsGap_value as string - valueSerializer.writeString(value_columnsGap_value_0) + const value_width = value.width + let value_width_type : int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type : int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = value_width_value as string + valueSerializer.writeString(value_width_value_0) } - else if (RuntimeType.NUMBER == value_columnsGap_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_columnsGap_value_1 = value_columnsGap_value as number - valueSerializer.writeNumber(value_columnsGap_value_1) + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = value_width_value as number + valueSerializer.writeNumber(value_width_value_1) } - else if (RuntimeType.OBJECT == value_columnsGap_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_columnsGap_value_2 = value_columnsGap_value as Resource - valueSerializer.writeResource(value_columnsGap_value_2) + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = value_width_value as Resource + valueSerializer.writeResource(value_width_value_2) } } - const value_rowsGap = value.rowsGap - let value_rowsGap_type : int32 = RuntimeType.UNDEFINED - value_rowsGap_type = runtimeType(value_rowsGap) - valueSerializer.writeInt8(value_rowsGap_type as int32) - if ((RuntimeType.UNDEFINED) != (value_rowsGap_type)) { - const value_rowsGap_value = value_rowsGap! - let value_rowsGap_value_type : int32 = RuntimeType.UNDEFINED - value_rowsGap_value_type = runtimeType(value_rowsGap_value) - if (RuntimeType.STRING == value_rowsGap_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_rowsGap_value_0 = value_rowsGap_value as string - valueSerializer.writeString(value_rowsGap_value_0) + const value_borderWidth = value.borderWidth + let value_borderWidth_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_type = runtimeType(value_borderWidth) + valueSerializer.writeInt8(value_borderWidth_type) + if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { + const value_borderWidth_value = value_borderWidth! + let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_type = runtimeType(value_borderWidth_value) + if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0 = value_borderWidth_value as Dimension + let value_borderWidth_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) + if (RuntimeType.STRING == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(0) + const value_borderWidth_value_0_0 = value_borderWidth_value_0 as string + valueSerializer.writeString(value_borderWidth_value_0_0) + } + else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_0_1 = value_borderWidth_value_0 as number + valueSerializer.writeNumber(value_borderWidth_value_0_1) + } + else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_0_2 = value_borderWidth_value_0 as Resource + valueSerializer.writeResource(value_borderWidth_value_0_2) + } } - else if (RuntimeType.NUMBER == value_rowsGap_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_rowsGap_value_1 = value_rowsGap_value as number - valueSerializer.writeNumber(value_rowsGap_value_1) + else if (TypeChecker.isEdgeWidths(value_borderWidth_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_borderWidth_value_1 = value_borderWidth_value as EdgeWidths + valueSerializer.writeEdgeWidths(value_borderWidth_value_1) } - else if (RuntimeType.OBJECT == value_rowsGap_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_rowsGap_value_2 = value_rowsGap_value as Resource - valueSerializer.writeResource(value_rowsGap_value_2) + else if (TypeChecker.isLocalizedEdgeWidths(value_borderWidth_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_2 = value_borderWidth_value as LocalizedEdgeWidths + valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2) } } - const value_margin = value.margin - let value_margin_type : int32 = RuntimeType.UNDEFINED - value_margin_type = runtimeType(value_margin) - valueSerializer.writeInt8(value_margin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_type)) { - const value_margin_value = value_margin! - let value_margin_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_type = runtimeType(value_margin_value) - if (((RuntimeType.OBJECT) == (value_margin_value_type)) && (TypeChecker.isPadding(value_margin_value, false, false, false, false))) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_0 = value_margin_value as Padding - const value_margin_value_0_top = value_margin_value_0.top - let value_margin_value_0_top_type : int32 = RuntimeType.UNDEFINED - value_margin_value_0_top_type = runtimeType(value_margin_value_0_top) - valueSerializer.writeInt8(value_margin_value_0_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_value_0_top_type)) { - const value_margin_value_0_top_value = value_margin_value_0_top! - let value_margin_value_0_top_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_0_top_value_type = runtimeType(value_margin_value_0_top_value) - if (RuntimeType.STRING == value_margin_value_0_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_0_top_value_0 = value_margin_value_0_top_value as string - valueSerializer.writeString(value_margin_value_0_top_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_0_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_0_top_value_1 = value_margin_value_0_top_value as number - valueSerializer.writeNumber(value_margin_value_0_top_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_0_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_0_top_value_2 = value_margin_value_0_top_value as Resource - valueSerializer.writeResource(value_margin_value_0_top_value_2) - } + const value_borderColor = value.borderColor + let value_borderColor_type : int32 = RuntimeType.UNDEFINED + value_borderColor_type = runtimeType(value_borderColor) + valueSerializer.writeInt8(value_borderColor_type) + if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { + const value_borderColor_value = value_borderColor! + let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_type = runtimeType(value_borderColor_value) + if ((TypeChecker.isColor(value_borderColor_value)) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0 = value_borderColor_value as ResourceColor + let value_borderColor_value_0_type : int32 = RuntimeType.UNDEFINED + value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) + if (TypeChecker.isColor(value_borderColor_value_0)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0_0 = value_borderColor_value_0 as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0_0)) } - const value_margin_value_0_right = value_margin_value_0.right - let value_margin_value_0_right_type : int32 = RuntimeType.UNDEFINED - value_margin_value_0_right_type = runtimeType(value_margin_value_0_right) - valueSerializer.writeInt8(value_margin_value_0_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_value_0_right_type)) { - const value_margin_value_0_right_value = value_margin_value_0_right! - let value_margin_value_0_right_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_0_right_value_type = runtimeType(value_margin_value_0_right_value) - if (RuntimeType.STRING == value_margin_value_0_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_0_right_value_0 = value_margin_value_0_right_value as string - valueSerializer.writeString(value_margin_value_0_right_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_0_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_0_right_value_1 = value_margin_value_0_right_value as number - valueSerializer.writeNumber(value_margin_value_0_right_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_0_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_0_right_value_2 = value_margin_value_0_right_value as Resource - valueSerializer.writeResource(value_margin_value_0_right_value_2) - } + else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderColor_value_0_1 = value_borderColor_value_0 as number + valueSerializer.writeNumber(value_borderColor_value_0_1) } - const value_margin_value_0_bottom = value_margin_value_0.bottom - let value_margin_value_0_bottom_type : int32 = RuntimeType.UNDEFINED - value_margin_value_0_bottom_type = runtimeType(value_margin_value_0_bottom) - valueSerializer.writeInt8(value_margin_value_0_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_value_0_bottom_type)) { - const value_margin_value_0_bottom_value = value_margin_value_0_bottom! - let value_margin_value_0_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_0_bottom_value_type = runtimeType(value_margin_value_0_bottom_value) - if (RuntimeType.STRING == value_margin_value_0_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_0_bottom_value_0 = value_margin_value_0_bottom_value as string - valueSerializer.writeString(value_margin_value_0_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_0_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_0_bottom_value_1 = value_margin_value_0_bottom_value as number - valueSerializer.writeNumber(value_margin_value_0_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_0_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_0_bottom_value_2 = value_margin_value_0_bottom_value as Resource - valueSerializer.writeResource(value_margin_value_0_bottom_value_2) - } + else if (RuntimeType.STRING == value_borderColor_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderColor_value_0_2 = value_borderColor_value_0 as string + valueSerializer.writeString(value_borderColor_value_0_2) } - const value_margin_value_0_left = value_margin_value_0.left - let value_margin_value_0_left_type : int32 = RuntimeType.UNDEFINED - value_margin_value_0_left_type = runtimeType(value_margin_value_0_left) - valueSerializer.writeInt8(value_margin_value_0_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_margin_value_0_left_type)) { - const value_margin_value_0_left_value = value_margin_value_0_left! - let value_margin_value_0_left_value_type : int32 = RuntimeType.UNDEFINED - value_margin_value_0_left_value_type = runtimeType(value_margin_value_0_left_value) - if (RuntimeType.STRING == value_margin_value_0_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_0_left_value_0 = value_margin_value_0_left_value as string - valueSerializer.writeString(value_margin_value_0_left_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_0_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_0_left_value_1 = value_margin_value_0_left_value as number - valueSerializer.writeNumber(value_margin_value_0_left_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_0_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_0_left_value_2 = value_margin_value_0_left_value as Resource - valueSerializer.writeResource(value_margin_value_0_left_value_2) - } + else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { + valueSerializer.writeInt8(3) + const value_borderColor_value_0_3 = value_borderColor_value_0 as Resource + valueSerializer.writeResource(value_borderColor_value_0_3) } } - else if ((RuntimeType.STRING == value_margin_value_type) || (RuntimeType.NUMBER == value_margin_value_type) || (RuntimeType.OBJECT == value_margin_value_type)) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1 = value_margin_value as Dimension - let value_margin_value_1_type : int32 = RuntimeType.UNDEFINED - value_margin_value_1_type = runtimeType(value_margin_value_1) - if (RuntimeType.STRING == value_margin_value_1_type) { - valueSerializer.writeInt8(0 as int32) - const value_margin_value_1_0 = value_margin_value_1 as string - valueSerializer.writeString(value_margin_value_1_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_type) { - valueSerializer.writeInt8(1 as int32) - const value_margin_value_1_1 = value_margin_value_1 as number - valueSerializer.writeNumber(value_margin_value_1_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_type) { - valueSerializer.writeInt8(2 as int32) - const value_margin_value_1_2 = value_margin_value_1 as Resource - valueSerializer.writeResource(value_margin_value_1_2) - } + else if (TypeChecker.isEdgeColors(value_borderColor_value, true, false, true, false)) { + valueSerializer.writeInt8(1) + const value_borderColor_value_1 = value_borderColor_value as EdgeColors + valueSerializer.writeEdgeColors(value_borderColor_value_1) } - } - } - writeSwipeActionOptions(value: SwipeActionOptions): void { - let valueSerializer : Serializer = this - const value_start = value.start - let value_start_type : int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - let value_start_value_type : int32 = RuntimeType.UNDEFINED - value_start_value_type = runtimeType(value_start_value) - if (RuntimeType.FUNCTION == value_start_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_start_value_0 = value_start_value as CustomBuilder - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_start_value_0)) + else if (TypeChecker.isLocalizedEdgeColors(value_borderColor_value, true, false, true, false)) { + valueSerializer.writeInt8(2) + const value_borderColor_value_2 = value_borderColor_value as LocalizedEdgeColors + valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2) } - else if (RuntimeType.OBJECT == value_start_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_start_value_1 = value_start_value as SwipeActionItem - valueSerializer.writeSwipeActionItem(value_start_value_1) + } + const value_borderStyle = value.borderStyle + let value_borderStyle_type : int32 = RuntimeType.UNDEFINED + value_borderStyle_type = runtimeType(value_borderStyle) + valueSerializer.writeInt8(value_borderStyle_type) + if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { + const value_borderStyle_value = value_borderStyle! + let value_borderStyle_value_type : int32 = RuntimeType.UNDEFINED + value_borderStyle_value_type = runtimeType(value_borderStyle_value) + if (TypeChecker.isBorderStyle(value_borderStyle_value)) { + valueSerializer.writeInt8(0) + const value_borderStyle_value_0 = value_borderStyle_value as BorderStyle + valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_borderStyle_value_0)) + } + else if (RuntimeType.OBJECT == value_borderStyle_value_type) { + valueSerializer.writeInt8(1) + const value_borderStyle_value_1 = value_borderStyle_value as EdgeStyles + valueSerializer.writeEdgeStyles(value_borderStyle_value_1) } } - const value_end = value.end - let value_end_type : int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - let value_end_value_type : int32 = RuntimeType.UNDEFINED - value_end_value_type = runtimeType(value_end_value) - if (RuntimeType.FUNCTION == value_end_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_end_value_0 = value_end_value as CustomBuilder - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_end_value_0)) + const value_shadow = value.shadow + let value_shadow_type : int32 = RuntimeType.UNDEFINED + value_shadow_type = runtimeType(value_shadow) + valueSerializer.writeInt8(value_shadow_type) + if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { + const value_shadow_value = value_shadow! + let value_shadow_value_type : int32 = RuntimeType.UNDEFINED + value_shadow_value_type = runtimeType(value_shadow_value) + if (RuntimeType.OBJECT == value_shadow_value_type) { + valueSerializer.writeInt8(0) + const value_shadow_value_0 = value_shadow_value as ShadowOptions + valueSerializer.writeShadowOptions(value_shadow_value_0) } - else if (RuntimeType.OBJECT == value_end_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_end_value_1 = value_end_value as SwipeActionItem - valueSerializer.writeSwipeActionItem(value_end_value_1) + else if (TypeChecker.isShadowStyle(value_shadow_value)) { + valueSerializer.writeInt8(1) + const value_shadow_value_1 = value_shadow_value as ShadowStyle + valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) } } - const value_edgeEffect = value.edgeEffect - let value_edgeEffect_type : int32 = RuntimeType.UNDEFINED - value_edgeEffect_type = runtimeType(value_edgeEffect) - valueSerializer.writeInt8(value_edgeEffect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_edgeEffect_type)) { - const value_edgeEffect_value = (value_edgeEffect as SwipeEdgeEffect) - valueSerializer.writeInt32(TypeChecker.SwipeEdgeEffect_ToNumeric(value_edgeEffect_value)) - } - const value_onOffsetChange = value.onOffsetChange - let value_onOffsetChange_type : int32 = RuntimeType.UNDEFINED - value_onOffsetChange_type = runtimeType(value_onOffsetChange) - valueSerializer.writeInt8(value_onOffsetChange_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onOffsetChange_type)) { - const value_onOffsetChange_value = value_onOffsetChange! - valueSerializer.holdAndWriteCallback(value_onOffsetChange_value) - } - } - writeSwipeGestureEvent(value: SwipeGestureEvent): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeTapGestureEvent(value: TapGestureEvent): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writetext_TextStyle(value: text.TextStyle): void { - let valueSerializer : Serializer = this - const value_decoration = value.decoration - let value_decoration_type : int32 = RuntimeType.UNDEFINED - value_decoration_type = runtimeType(value_decoration) - valueSerializer.writeInt8(value_decoration_type as int32) - if ((RuntimeType.UNDEFINED) != (value_decoration_type)) { - const value_decoration_value = value_decoration! - valueSerializer.writeDecoration(value_decoration_value) - } - const value_color = value.color - let value_color_type : int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - valueSerializer.writecommon2D_Color(value_color_value) + const value_onHeightDidChange = value.onHeightDidChange + let value_onHeightDidChange_type : int32 = RuntimeType.UNDEFINED + value_onHeightDidChange_type = runtimeType(value_onHeightDidChange) + valueSerializer.writeInt8(value_onHeightDidChange_type) + if ((RuntimeType.UNDEFINED) != (value_onHeightDidChange_type)) { + const value_onHeightDidChange_value = value_onHeightDidChange! + valueSerializer.holdAndWriteCallback(value_onHeightDidChange_value) } - const value_fontWeight = value.fontWeight - let value_fontWeight_type : int32 = RuntimeType.UNDEFINED - value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { - const value_fontWeight_value = (value_fontWeight as FontWeight) - valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_fontWeight_value)) + const value_mode = value.mode + let value_mode_type : int32 = RuntimeType.UNDEFINED + value_mode_type = runtimeType(value_mode) + valueSerializer.writeInt8(value_mode_type) + if ((RuntimeType.UNDEFINED) != (value_mode_type)) { + const value_mode_value = (value_mode as SheetMode) + valueSerializer.writeInt32(TypeChecker.SheetMode_ToNumeric(value_mode_value)) } - const value_fontStyle = value.fontStyle - let value_fontStyle_type : int32 = RuntimeType.UNDEFINED - value_fontStyle_type = runtimeType(value_fontStyle) - valueSerializer.writeInt8(value_fontStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { - const value_fontStyle_value = (value_fontStyle as FontStyle) - valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_fontStyle_value)) + const value_scrollSizeMode = value.scrollSizeMode + let value_scrollSizeMode_type : int32 = RuntimeType.UNDEFINED + value_scrollSizeMode_type = runtimeType(value_scrollSizeMode) + valueSerializer.writeInt8(value_scrollSizeMode_type) + if ((RuntimeType.UNDEFINED) != (value_scrollSizeMode_type)) { + const value_scrollSizeMode_value = (value_scrollSizeMode as ScrollSizeMode) + valueSerializer.writeInt32(TypeChecker.ScrollSizeMode_ToNumeric(value_scrollSizeMode_value)) } - const value_baseline = value.baseline - let value_baseline_type : int32 = RuntimeType.UNDEFINED - value_baseline_type = runtimeType(value_baseline) - valueSerializer.writeInt8(value_baseline_type as int32) - if ((RuntimeType.UNDEFINED) != (value_baseline_type)) { - const value_baseline_value = (value_baseline as TextBaseline) - valueSerializer.writeInt32(TypeChecker.TextBaseline_ToNumeric(value_baseline_value)) + const value_onDetentsDidChange = value.onDetentsDidChange + let value_onDetentsDidChange_type : int32 = RuntimeType.UNDEFINED + value_onDetentsDidChange_type = runtimeType(value_onDetentsDidChange) + valueSerializer.writeInt8(value_onDetentsDidChange_type) + if ((RuntimeType.UNDEFINED) != (value_onDetentsDidChange_type)) { + const value_onDetentsDidChange_value = value_onDetentsDidChange! + valueSerializer.holdAndWriteCallback(value_onDetentsDidChange_value) } - const value_fontFamilies = value.fontFamilies - let value_fontFamilies_type : int32 = RuntimeType.UNDEFINED - value_fontFamilies_type = runtimeType(value_fontFamilies) - valueSerializer.writeInt8(value_fontFamilies_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontFamilies_type)) { - const value_fontFamilies_value = value_fontFamilies! - valueSerializer.writeInt32(value_fontFamilies_value.length as int32) - for (let i = 0; i < value_fontFamilies_value.length; i++) { - const value_fontFamilies_value_element : string = value_fontFamilies_value[i] - valueSerializer.writeString(value_fontFamilies_value_element) - } + const value_onWidthDidChange = value.onWidthDidChange + let value_onWidthDidChange_type : int32 = RuntimeType.UNDEFINED + value_onWidthDidChange_type = runtimeType(value_onWidthDidChange) + valueSerializer.writeInt8(value_onWidthDidChange_type) + if ((RuntimeType.UNDEFINED) != (value_onWidthDidChange_type)) { + const value_onWidthDidChange_value = value_onWidthDidChange! + valueSerializer.holdAndWriteCallback(value_onWidthDidChange_value) } - const value_fontSize = value.fontSize - let value_fontSize_type : int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - valueSerializer.writeNumber(value_fontSize_value) + const value_onTypeDidChange = value.onTypeDidChange + let value_onTypeDidChange_type : int32 = RuntimeType.UNDEFINED + value_onTypeDidChange_type = runtimeType(value_onTypeDidChange) + valueSerializer.writeInt8(value_onTypeDidChange_type) + if ((RuntimeType.UNDEFINED) != (value_onTypeDidChange_type)) { + const value_onTypeDidChange_value = value_onTypeDidChange! + valueSerializer.holdAndWriteCallback(value_onTypeDidChange_value) } - const value_letterSpacing = value.letterSpacing - let value_letterSpacing_type : int32 = RuntimeType.UNDEFINED - value_letterSpacing_type = runtimeType(value_letterSpacing) - valueSerializer.writeInt8(value_letterSpacing_type as int32) - if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { - const value_letterSpacing_value = value_letterSpacing! - valueSerializer.writeNumber(value_letterSpacing_value) + const value_uiContext = value.uiContext + let value_uiContext_type : int32 = RuntimeType.UNDEFINED + value_uiContext_type = runtimeType(value_uiContext) + valueSerializer.writeInt8(value_uiContext_type) + if ((RuntimeType.UNDEFINED) != (value_uiContext_type)) { + const value_uiContext_value = value_uiContext! + valueSerializer.writeUIContext(value_uiContext_value) } - const value_wordSpacing = value.wordSpacing - let value_wordSpacing_type : int32 = RuntimeType.UNDEFINED - value_wordSpacing_type = runtimeType(value_wordSpacing) - valueSerializer.writeInt8(value_wordSpacing_type as int32) - if ((RuntimeType.UNDEFINED) != (value_wordSpacing_type)) { - const value_wordSpacing_value = value_wordSpacing! - valueSerializer.writeNumber(value_wordSpacing_value) + const value_keyboardAvoidMode = value.keyboardAvoidMode + let value_keyboardAvoidMode_type : int32 = RuntimeType.UNDEFINED + value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode) + valueSerializer.writeInt8(value_keyboardAvoidMode_type) + if ((RuntimeType.UNDEFINED) != (value_keyboardAvoidMode_type)) { + const value_keyboardAvoidMode_value = (value_keyboardAvoidMode as SheetKeyboardAvoidMode) + valueSerializer.writeInt32(TypeChecker.SheetKeyboardAvoidMode_ToNumeric(value_keyboardAvoidMode_value)) } - const value_heightScale = value.heightScale - let value_heightScale_type : int32 = RuntimeType.UNDEFINED - value_heightScale_type = runtimeType(value_heightScale) - valueSerializer.writeInt8(value_heightScale_type as int32) - if ((RuntimeType.UNDEFINED) != (value_heightScale_type)) { - const value_heightScale_value = value_heightScale! - valueSerializer.writeNumber(value_heightScale_value) + const value_enableHoverMode = value.enableHoverMode + let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED + value_enableHoverMode_type = runtimeType(value_enableHoverMode) + valueSerializer.writeInt8(value_enableHoverMode_type) + if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { + const value_enableHoverMode_value = value_enableHoverMode! + valueSerializer.writeBoolean(value_enableHoverMode_value) } - const value_halfLeading = value.halfLeading - let value_halfLeading_type : int32 = RuntimeType.UNDEFINED - value_halfLeading_type = runtimeType(value_halfLeading) - valueSerializer.writeInt8(value_halfLeading_type as int32) - if ((RuntimeType.UNDEFINED) != (value_halfLeading_type)) { - const value_halfLeading_value = value_halfLeading! - valueSerializer.writeBoolean(value_halfLeading_value) + const value_hoverModeArea = value.hoverModeArea + let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED + value_hoverModeArea_type = runtimeType(value_hoverModeArea) + valueSerializer.writeInt8(value_hoverModeArea_type) + if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { + const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) + valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) } - const value_heightOnly = value.heightOnly - let value_heightOnly_type : int32 = RuntimeType.UNDEFINED - value_heightOnly_type = runtimeType(value_heightOnly) - valueSerializer.writeInt8(value_heightOnly_type as int32) - if ((RuntimeType.UNDEFINED) != (value_heightOnly_type)) { - const value_heightOnly_value = value_heightOnly! - valueSerializer.writeBoolean(value_heightOnly_value) + const value_offset = value.offset + let value_offset_type : int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writePosition(value_offset_value) } - const value_ellipsis = value.ellipsis - let value_ellipsis_type : int32 = RuntimeType.UNDEFINED - value_ellipsis_type = runtimeType(value_ellipsis) - valueSerializer.writeInt8(value_ellipsis_type as int32) - if ((RuntimeType.UNDEFINED) != (value_ellipsis_type)) { - const value_ellipsis_value = value_ellipsis! - valueSerializer.writeString(value_ellipsis_value) + const value_effectEdge = value.effectEdge + let value_effectEdge_type : int32 = RuntimeType.UNDEFINED + value_effectEdge_type = runtimeType(value_effectEdge) + valueSerializer.writeInt8(value_effectEdge_type) + if ((RuntimeType.UNDEFINED) != (value_effectEdge_type)) { + const value_effectEdge_value = value_effectEdge! + valueSerializer.writeNumber(value_effectEdge_value) } - const value_ellipsisMode = value.ellipsisMode - let value_ellipsisMode_type : int32 = RuntimeType.UNDEFINED - value_ellipsisMode_type = runtimeType(value_ellipsisMode) - valueSerializer.writeInt8(value_ellipsisMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_ellipsisMode_type)) { - const value_ellipsisMode_value = (value_ellipsisMode as EllipsisMode) - valueSerializer.writeInt32(TypeChecker.EllipsisMode_ToNumeric(value_ellipsisMode_value)) + const value_radius = value.radius + let value_radius_type : int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + let value_radius_value_type : int32 = RuntimeType.UNDEFINED + value_radius_value_type = runtimeType(value_radius_value) + if (TypeChecker.isLengthMetrics(value_radius_value, false, false)) { + valueSerializer.writeInt8(0) + const value_radius_value_0 = value_radius_value as LengthMetrics + valueSerializer.writeLengthMetrics(value_radius_value_0) + } + else if (TypeChecker.isBorderRadiuses(value_radius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) + const value_radius_value_1 = value_radius_value as BorderRadiuses + valueSerializer.writeBorderRadiuses(value_radius_value_1) + } + else if (TypeChecker.isLocalizedBorderRadiuses(value_radius_value, false, false, false, false)) { + valueSerializer.writeInt8(2) + const value_radius_value_2 = value_radius_value as LocalizedBorderRadiuses + valueSerializer.writeLocalizedBorderRadiuses(value_radius_value_2) + } } - const value_locale = value.locale - let value_locale_type : int32 = RuntimeType.UNDEFINED - value_locale_type = runtimeType(value_locale) - valueSerializer.writeInt8(value_locale_type as int32) - if ((RuntimeType.UNDEFINED) != (value_locale_type)) { - const value_locale_value = value_locale! - valueSerializer.writeString(value_locale_value) + const value_detentSelection = value.detentSelection + let value_detentSelection_type : int32 = RuntimeType.UNDEFINED + value_detentSelection_type = runtimeType(value_detentSelection) + valueSerializer.writeInt8(value_detentSelection_type) + if ((RuntimeType.UNDEFINED) != (value_detentSelection_type)) { + const value_detentSelection_value = value_detentSelection! + let value_detentSelection_value_type : int32 = RuntimeType.UNDEFINED + value_detentSelection_value_type = runtimeType(value_detentSelection_value) + if (TypeChecker.isSheetSize(value_detentSelection_value)) { + valueSerializer.writeInt8(0) + const value_detentSelection_value_0 = value_detentSelection_value as SheetSize + valueSerializer.writeInt32(TypeChecker.SheetSize_ToNumeric(value_detentSelection_value_0)) + } + else if ((RuntimeType.STRING == value_detentSelection_value_type) || (RuntimeType.NUMBER == value_detentSelection_value_type) || (RuntimeType.OBJECT == value_detentSelection_value_type)) { + valueSerializer.writeInt8(1) + const value_detentSelection_value_1 = value_detentSelection_value as Length + let value_detentSelection_value_1_type : int32 = RuntimeType.UNDEFINED + value_detentSelection_value_1_type = runtimeType(value_detentSelection_value_1) + if (RuntimeType.STRING == value_detentSelection_value_1_type) { + valueSerializer.writeInt8(0) + const value_detentSelection_value_1_0 = value_detentSelection_value_1 as string + valueSerializer.writeString(value_detentSelection_value_1_0) + } + else if (RuntimeType.NUMBER == value_detentSelection_value_1_type) { + valueSerializer.writeInt8(1) + const value_detentSelection_value_1_1 = value_detentSelection_value_1 as number + valueSerializer.writeNumber(value_detentSelection_value_1_1) + } + else if (RuntimeType.OBJECT == value_detentSelection_value_1_type) { + valueSerializer.writeInt8(2) + const value_detentSelection_value_1_2 = value_detentSelection_value_1 as Resource + valueSerializer.writeResource(value_detentSelection_value_1_2) + } + } } - const value_baselineShift = value.baselineShift - let value_baselineShift_type : int32 = RuntimeType.UNDEFINED - value_baselineShift_type = runtimeType(value_baselineShift) - valueSerializer.writeInt8(value_baselineShift_type as int32) - if ((RuntimeType.UNDEFINED) != (value_baselineShift_type)) { - const value_baselineShift_value = value_baselineShift! - valueSerializer.writeNumber(value_baselineShift_value) + const value_showInSubWindow = value.showInSubWindow + let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED + value_showInSubWindow_type = runtimeType(value_showInSubWindow) + valueSerializer.writeInt8(value_showInSubWindow_type) + if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { + const value_showInSubWindow_value = value_showInSubWindow! + valueSerializer.writeBoolean(value_showInSubWindow_value) } - const value_fontFeatures = value.fontFeatures - let value_fontFeatures_type : int32 = RuntimeType.UNDEFINED - value_fontFeatures_type = runtimeType(value_fontFeatures) - valueSerializer.writeInt8(value_fontFeatures_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontFeatures_type)) { - const value_fontFeatures_value = value_fontFeatures! - valueSerializer.writeInt32(value_fontFeatures_value.length as int32) - for (let i = 0; i < value_fontFeatures_value.length; i++) { - const value_fontFeatures_value_element : FontFeature = value_fontFeatures_value[i] - valueSerializer.writeFontFeature(value_fontFeatures_value_element) + const value_placement = value.placement + let value_placement_type : int32 = RuntimeType.UNDEFINED + value_placement_type = runtimeType(value_placement) + valueSerializer.writeInt8(value_placement_type) + if ((RuntimeType.UNDEFINED) != (value_placement_type)) { + const value_placement_value = (value_placement as Placement) + valueSerializer.writeInt32(TypeChecker.Placement_ToNumeric(value_placement_value)) + } + const value_placementOnTarget = value.placementOnTarget + let value_placementOnTarget_type : int32 = RuntimeType.UNDEFINED + value_placementOnTarget_type = runtimeType(value_placementOnTarget) + valueSerializer.writeInt8(value_placementOnTarget_type) + if ((RuntimeType.UNDEFINED) != (value_placementOnTarget_type)) { + const value_placementOnTarget_value = value_placementOnTarget! + valueSerializer.writeBoolean(value_placementOnTarget_value) + } + } + public writeSwipeActionOptions(value: SwipeActionOptions): void { + let valueSerializer : Serializer = this + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + let value_start_value_type : int32 = RuntimeType.UNDEFINED + value_start_value_type = runtimeType(value_start_value) + if (RuntimeType.FUNCTION == value_start_value_type) { + valueSerializer.writeInt8(0) + const value_start_value_0 = value_start_value as CustomBuilder + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_start_value_0)) + } + else if (RuntimeType.OBJECT == value_start_value_type) { + valueSerializer.writeInt8(1) + const value_start_value_1 = value_start_value as SwipeActionItem + valueSerializer.writeSwipeActionItem(value_start_value_1) } } - const value_textShadows = value.textShadows - let value_textShadows_type : int32 = RuntimeType.UNDEFINED - value_textShadows_type = runtimeType(value_textShadows) - valueSerializer.writeInt8(value_textShadows_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textShadows_type)) { - const value_textShadows_value = value_textShadows! - valueSerializer.writeInt32(value_textShadows_value.length as int32) - for (let i = 0; i < value_textShadows_value.length; i++) { - const value_textShadows_value_element : TextShadow = value_textShadows_value[i] - valueSerializer.writeTextShadow(value_textShadows_value_element) + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + let value_end_value_type : int32 = RuntimeType.UNDEFINED + value_end_value_type = runtimeType(value_end_value) + if (RuntimeType.FUNCTION == value_end_value_type) { + valueSerializer.writeInt8(0) + const value_end_value_0 = value_end_value as CustomBuilder + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_end_value_0)) + } + else if (RuntimeType.OBJECT == value_end_value_type) { + valueSerializer.writeInt8(1) + const value_end_value_1 = value_end_value as SwipeActionItem + valueSerializer.writeSwipeActionItem(value_end_value_1) } } - const value_backgroundRect = value.backgroundRect - let value_backgroundRect_type : int32 = RuntimeType.UNDEFINED - value_backgroundRect_type = runtimeType(value_backgroundRect) - valueSerializer.writeInt8(value_backgroundRect_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundRect_type)) { - const value_backgroundRect_value = value_backgroundRect! - valueSerializer.writeRectStyle(value_backgroundRect_value) + const value_edgeEffect = value.edgeEffect + let value_edgeEffect_type : int32 = RuntimeType.UNDEFINED + value_edgeEffect_type = runtimeType(value_edgeEffect) + valueSerializer.writeInt8(value_edgeEffect_type) + if ((RuntimeType.UNDEFINED) != (value_edgeEffect_type)) { + const value_edgeEffect_value = (value_edgeEffect as SwipeEdgeEffect) + valueSerializer.writeInt32(TypeChecker.SwipeEdgeEffect_ToNumeric(value_edgeEffect_value)) } - const value_fontVariations = value.fontVariations - let value_fontVariations_type : int32 = RuntimeType.UNDEFINED - value_fontVariations_type = runtimeType(value_fontVariations) - valueSerializer.writeInt8(value_fontVariations_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fontVariations_type)) { - const value_fontVariations_value = value_fontVariations! - valueSerializer.writeInt32(value_fontVariations_value.length as int32) - for (let i = 0; i < value_fontVariations_value.length; i++) { - const value_fontVariations_value_element : FontVariation = value_fontVariations_value[i] - valueSerializer.writeFontVariation(value_fontVariations_value_element) - } + const value_onOffsetChange = value.onOffsetChange + let value_onOffsetChange_type : int32 = RuntimeType.UNDEFINED + value_onOffsetChange_type = runtimeType(value_onOffsetChange) + valueSerializer.writeInt8(value_onOffsetChange_type) + if ((RuntimeType.UNDEFINED) != (value_onOffsetChange_type)) { + const value_onOffsetChange_value = value_onOffsetChange! + valueSerializer.holdAndWriteCallback(value_onOffsetChange_value) } } - writeTextBackgroundStyle(value: TextBackgroundStyle): void { + public writeSwipeGestureEvent(value: SwipeGestureEvent): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeTapGestureEvent(value: TapGestureEvent): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeTextBackgroundStyle(value: TextBackgroundStyle): void { let valueSerializer : Serializer = this const value_color = value.color let value_color_type : int32 = RuntimeType.UNDEFINED value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) + valueSerializer.writeInt8(value_color_type) if ((RuntimeType.UNDEFINED) != (value_color_type)) { const value_color_value = value_color! let value_color_value_type : int32 = RuntimeType.UNDEFINED value_color_value_type = runtimeType(value_color_value) if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_color_value_0 = value_color_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_color_value_1 = value_color_value as number valueSerializer.writeNumber(value_color_value_1) } else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_color_value_2 = value_color_value as string valueSerializer.writeString(value_color_value_2) } else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_color_value_3 = value_color_value as Resource valueSerializer.writeResource(value_color_value_3) } @@ -25938,236 +25629,206 @@ export class Serializer extends SerializerBase { const value_radius = value.radius let value_radius_type : int32 = RuntimeType.UNDEFINED value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type as int32) + valueSerializer.writeInt8(value_radius_type) if ((RuntimeType.UNDEFINED) != (value_radius_type)) { const value_radius_value = value_radius! let value_radius_value_type : int32 = RuntimeType.UNDEFINED value_radius_value_type = runtimeType(value_radius_value) if ((RuntimeType.STRING == value_radius_value_type) || (RuntimeType.NUMBER == value_radius_value_type) || (RuntimeType.OBJECT == value_radius_value_type)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_radius_value_0 = value_radius_value as Dimension let value_radius_value_0_type : int32 = RuntimeType.UNDEFINED value_radius_value_0_type = runtimeType(value_radius_value_0) if (RuntimeType.STRING == value_radius_value_0_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_radius_value_0_0 = value_radius_value_0 as string valueSerializer.writeString(value_radius_value_0_0) } else if (RuntimeType.NUMBER == value_radius_value_0_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_radius_value_0_1 = value_radius_value_0 as number valueSerializer.writeNumber(value_radius_value_0_1) } else if (RuntimeType.OBJECT == value_radius_value_0_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_radius_value_0_2 = value_radius_value_0 as Resource valueSerializer.writeResource(value_radius_value_0_2) } } - else if (((RuntimeType.OBJECT) == (value_radius_value_type)) && (TypeChecker.isBorderRadiuses(value_radius_value, false, false, false, false))) { - valueSerializer.writeInt8(1 as int32) + else if (TypeChecker.isBorderRadiuses(value_radius_value, false, false, false, false)) { + valueSerializer.writeInt8(1) const value_radius_value_1 = value_radius_value as BorderRadiuses - const value_radius_value_1_topLeft = value_radius_value_1.topLeft - let value_radius_value_1_topLeft_type : int32 = RuntimeType.UNDEFINED - value_radius_value_1_topLeft_type = runtimeType(value_radius_value_1_topLeft) - valueSerializer.writeInt8(value_radius_value_1_topLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_value_1_topLeft_type)) { - const value_radius_value_1_topLeft_value = value_radius_value_1_topLeft! - let value_radius_value_1_topLeft_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_1_topLeft_value_type = runtimeType(value_radius_value_1_topLeft_value) - if (RuntimeType.STRING == value_radius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_1_topLeft_value_0 = value_radius_value_1_topLeft_value as string - valueSerializer.writeString(value_radius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_1_topLeft_value_1 = value_radius_value_1_topLeft_value as number - valueSerializer.writeNumber(value_radius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_1_topLeft_value_2 = value_radius_value_1_topLeft_value as Resource - valueSerializer.writeResource(value_radius_value_1_topLeft_value_2) - } - } - const value_radius_value_1_topRight = value_radius_value_1.topRight - let value_radius_value_1_topRight_type : int32 = RuntimeType.UNDEFINED - value_radius_value_1_topRight_type = runtimeType(value_radius_value_1_topRight) - valueSerializer.writeInt8(value_radius_value_1_topRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_value_1_topRight_type)) { - const value_radius_value_1_topRight_value = value_radius_value_1_topRight! - let value_radius_value_1_topRight_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_1_topRight_value_type = runtimeType(value_radius_value_1_topRight_value) - if (RuntimeType.STRING == value_radius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_1_topRight_value_0 = value_radius_value_1_topRight_value as string - valueSerializer.writeString(value_radius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_1_topRight_value_1 = value_radius_value_1_topRight_value as number - valueSerializer.writeNumber(value_radius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_1_topRight_value_2 = value_radius_value_1_topRight_value as Resource - valueSerializer.writeResource(value_radius_value_1_topRight_value_2) - } - } - const value_radius_value_1_bottomLeft = value_radius_value_1.bottomLeft - let value_radius_value_1_bottomLeft_type : int32 = RuntimeType.UNDEFINED - value_radius_value_1_bottomLeft_type = runtimeType(value_radius_value_1_bottomLeft) - valueSerializer.writeInt8(value_radius_value_1_bottomLeft_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_value_1_bottomLeft_type)) { - const value_radius_value_1_bottomLeft_value = value_radius_value_1_bottomLeft! - let value_radius_value_1_bottomLeft_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_1_bottomLeft_value_type = runtimeType(value_radius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_radius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_1_bottomLeft_value_0 = value_radius_value_1_bottomLeft_value as string - valueSerializer.writeString(value_radius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_1_bottomLeft_value_1 = value_radius_value_1_bottomLeft_value as number - valueSerializer.writeNumber(value_radius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_1_bottomLeft_value_2 = value_radius_value_1_bottomLeft_value as Resource - valueSerializer.writeResource(value_radius_value_1_bottomLeft_value_2) - } - } - const value_radius_value_1_bottomRight = value_radius_value_1.bottomRight - let value_radius_value_1_bottomRight_type : int32 = RuntimeType.UNDEFINED - value_radius_value_1_bottomRight_type = runtimeType(value_radius_value_1_bottomRight) - valueSerializer.writeInt8(value_radius_value_1_bottomRight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_radius_value_1_bottomRight_type)) { - const value_radius_value_1_bottomRight_value = value_radius_value_1_bottomRight! - let value_radius_value_1_bottomRight_value_type : int32 = RuntimeType.UNDEFINED - value_radius_value_1_bottomRight_value_type = runtimeType(value_radius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_radius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_radius_value_1_bottomRight_value_0 = value_radius_value_1_bottomRight_value as string - valueSerializer.writeString(value_radius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_radius_value_1_bottomRight_value_1 = value_radius_value_1_bottomRight_value as number - valueSerializer.writeNumber(value_radius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_radius_value_1_bottomRight_value_2 = value_radius_value_1_bottomRight_value as Resource - valueSerializer.writeResource(value_radius_value_1_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_radius_value_1) } } } - writeTextDataDetectorConfig(value: TextDataDetectorConfig): void { + public writeTextPickerTextStyle(value: TextPickerTextStyle): void { let valueSerializer : Serializer = this - const value_types = value.types - valueSerializer.writeInt32(value_types.length as int32) - for (let i = 0; i < value_types.length; i++) { - const value_types_element : TextDataDetectorType = value_types[i] - valueSerializer.writeInt32(TypeChecker.TextDataDetectorType_ToNumeric(value_types_element)) - } - const value_onDetectResultUpdate = value.onDetectResultUpdate - let value_onDetectResultUpdate_type : int32 = RuntimeType.UNDEFINED - value_onDetectResultUpdate_type = runtimeType(value_onDetectResultUpdate) - valueSerializer.writeInt8(value_onDetectResultUpdate_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onDetectResultUpdate_type)) { - const value_onDetectResultUpdate_value = value_onDetectResultUpdate! - valueSerializer.holdAndWriteCallback(value_onDetectResultUpdate_value) - } const value_color = value.color let value_color_type : int32 = RuntimeType.UNDEFINED value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type as int32) + valueSerializer.writeInt8(value_color_type) if ((RuntimeType.UNDEFINED) != (value_color_type)) { const value_color_value = value_color! let value_color_value_type : int32 = RuntimeType.UNDEFINED value_color_value_type = runtimeType(value_color_value) if (TypeChecker.isColor(value_color_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_color_value_0 = value_color_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_color_value_0)) } else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_color_value_1 = value_color_value as number valueSerializer.writeNumber(value_color_value_1) } else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_color_value_2 = value_color_value as string valueSerializer.writeString(value_color_value_2) } else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_color_value_3 = value_color_value as Resource valueSerializer.writeResource(value_color_value_3) } } - const value_decoration = value.decoration - let value_decoration_type : int32 = RuntimeType.UNDEFINED - value_decoration_type = runtimeType(value_decoration) - valueSerializer.writeInt8(value_decoration_type as int32) - if ((RuntimeType.UNDEFINED) != (value_decoration_type)) { - const value_decoration_value = value_decoration! - valueSerializer.writeDecorationStyleInterface(value_decoration_value) + const value_font = value.font + let value_font_type : int32 = RuntimeType.UNDEFINED + value_font_type = runtimeType(value_font) + valueSerializer.writeInt8(value_font_type) + if ((RuntimeType.UNDEFINED) != (value_font_type)) { + const value_font_value = value_font! + valueSerializer.writeFont(value_font_value) + } + const value_minFontSize = value.minFontSize + let value_minFontSize_type : int32 = RuntimeType.UNDEFINED + value_minFontSize_type = runtimeType(value_minFontSize) + valueSerializer.writeInt8(value_minFontSize_type) + if ((RuntimeType.UNDEFINED) != (value_minFontSize_type)) { + const value_minFontSize_value = value_minFontSize! + let value_minFontSize_value_type : int32 = RuntimeType.UNDEFINED + value_minFontSize_value_type = runtimeType(value_minFontSize_value) + if (RuntimeType.NUMBER == value_minFontSize_value_type) { + valueSerializer.writeInt8(0) + const value_minFontSize_value_0 = value_minFontSize_value as number + valueSerializer.writeNumber(value_minFontSize_value_0) + } + else if (RuntimeType.STRING == value_minFontSize_value_type) { + valueSerializer.writeInt8(1) + const value_minFontSize_value_1 = value_minFontSize_value as string + valueSerializer.writeString(value_minFontSize_value_1) + } + else if (RuntimeType.OBJECT == value_minFontSize_value_type) { + valueSerializer.writeInt8(2) + const value_minFontSize_value_2 = value_minFontSize_value as Resource + valueSerializer.writeResource(value_minFontSize_value_2) + } + } + const value_maxFontSize = value.maxFontSize + let value_maxFontSize_type : int32 = RuntimeType.UNDEFINED + value_maxFontSize_type = runtimeType(value_maxFontSize) + valueSerializer.writeInt8(value_maxFontSize_type) + if ((RuntimeType.UNDEFINED) != (value_maxFontSize_type)) { + const value_maxFontSize_value = value_maxFontSize! + let value_maxFontSize_value_type : int32 = RuntimeType.UNDEFINED + value_maxFontSize_value_type = runtimeType(value_maxFontSize_value) + if (RuntimeType.NUMBER == value_maxFontSize_value_type) { + valueSerializer.writeInt8(0) + const value_maxFontSize_value_0 = value_maxFontSize_value as number + valueSerializer.writeNumber(value_maxFontSize_value_0) + } + else if (RuntimeType.STRING == value_maxFontSize_value_type) { + valueSerializer.writeInt8(1) + const value_maxFontSize_value_1 = value_maxFontSize_value as string + valueSerializer.writeString(value_maxFontSize_value_1) + } + else if (RuntimeType.OBJECT == value_maxFontSize_value_type) { + valueSerializer.writeInt8(2) + const value_maxFontSize_value_2 = value_maxFontSize_value as Resource + valueSerializer.writeResource(value_maxFontSize_value_2) + } + } + const value_overflow = value.overflow + let value_overflow_type : int32 = RuntimeType.UNDEFINED + value_overflow_type = runtimeType(value_overflow) + valueSerializer.writeInt8(value_overflow_type) + if ((RuntimeType.UNDEFINED) != (value_overflow_type)) { + const value_overflow_value = (value_overflow as TextOverflow) + valueSerializer.writeInt32(TypeChecker.TextOverflow_ToNumeric(value_overflow_value)) + } + } + public writeTouchEvent(value: TouchEvent): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeWithThemeOptions(value: WithThemeOptions): void { + let valueSerializer : Serializer = this + const value_theme = value.theme + let value_theme_type : int32 = RuntimeType.UNDEFINED + value_theme_type = runtimeType(value_theme) + valueSerializer.writeInt8(value_theme_type) + if ((RuntimeType.UNDEFINED) != (value_theme_type)) { + const value_theme_value = value_theme! + valueSerializer.writeCustomTheme(value_theme_value) + } + const value_colorMode = value.colorMode + let value_colorMode_type : int32 = RuntimeType.UNDEFINED + value_colorMode_type = runtimeType(value_colorMode) + valueSerializer.writeInt8(value_colorMode_type) + if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { + const value_colorMode_value = (value_colorMode as ThemeColorMode) + valueSerializer.writeInt32(TypeChecker.ThemeColorMode_ToNumeric(value_colorMode_value)) } } - writeTouchEvent(value: TouchEvent): void { + public writeAccessibilityHoverEvent(value: AccessibilityHoverEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeAccessibilityHoverEvent(value: AccessibilityHoverEvent): void { + public writeAxisEvent(value: AxisEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBackgroundColorStyle(value: BackgroundColorStyle): void { + public writeBackgroundColorStyle(value: BackgroundColorStyle): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBaseEvent(value: BaseEvent): void { + public writeBaseEvent(value: BaseEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBaseGestureEvent(value: BaseGestureEvent): void { + public writeBaseGestureEvent(value: BaseGestureEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBottomTabBarStyle(value: BottomTabBarStyle): void { + public writeBottomTabBarStyle(value: BottomTabBarStyle): void { let valueSerializer : Serializer = this const value__icon = value._icon let value__icon_type : int32 = RuntimeType.UNDEFINED value__icon_type = runtimeType(value__icon) - valueSerializer.writeInt8(value__icon_type as int32) + valueSerializer.writeInt8(value__icon_type) if ((RuntimeType.UNDEFINED) != (value__icon_type)) { const value__icon_value = value__icon! let value__icon_value_type : int32 = RuntimeType.UNDEFINED value__icon_value_type = runtimeType(value__icon_value) if ((RuntimeType.STRING == value__icon_value_type) || (RuntimeType.OBJECT == value__icon_value_type)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__icon_value_0 = value__icon_value as ResourceStr let value__icon_value_0_type : int32 = RuntimeType.UNDEFINED value__icon_value_0_type = runtimeType(value__icon_value_0) if (RuntimeType.STRING == value__icon_value_0_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__icon_value_0_0 = value__icon_value_0 as string valueSerializer.writeString(value__icon_value_0_0) } else if (RuntimeType.OBJECT == value__icon_value_0_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__icon_value_0_1 = value__icon_value_0 as Resource valueSerializer.writeResource(value__icon_value_0_1) } } else if (((RuntimeType.OBJECT) == (value__icon_value_type)) && (TypeChecker.isTabBarSymbol(value__icon_value, false, false))) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__icon_value_1 = value__icon_value as TabBarSymbol valueSerializer.writeTabBarSymbol(value__icon_value_1) } @@ -26175,18 +25836,18 @@ export class Serializer extends SerializerBase { const value__text = value._text let value__text_type : int32 = RuntimeType.UNDEFINED value__text_type = runtimeType(value__text) - valueSerializer.writeInt8(value__text_type as int32) + valueSerializer.writeInt8(value__text_type) if ((RuntimeType.UNDEFINED) != (value__text_type)) { const value__text_value = value__text! let value__text_value_type : int32 = RuntimeType.UNDEFINED value__text_value_type = runtimeType(value__text_value) if (RuntimeType.STRING == value__text_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__text_value_0 = value__text_value as string valueSerializer.writeString(value__text_value_0) } else if (RuntimeType.OBJECT == value__text_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__text_value_1 = value__text_value as Resource valueSerializer.writeResource(value__text_value_1) } @@ -26194,7 +25855,7 @@ export class Serializer extends SerializerBase { const value__labelStyle = value._labelStyle let value__labelStyle_type : int32 = RuntimeType.UNDEFINED value__labelStyle_type = runtimeType(value__labelStyle) - valueSerializer.writeInt8(value__labelStyle_type as int32) + valueSerializer.writeInt8(value__labelStyle_type) if ((RuntimeType.UNDEFINED) != (value__labelStyle_type)) { const value__labelStyle_value = value__labelStyle! valueSerializer.writeLabelStyle(value__labelStyle_value) @@ -26202,34 +25863,34 @@ export class Serializer extends SerializerBase { const value__padding = value._padding let value__padding_type : int32 = RuntimeType.UNDEFINED value__padding_type = runtimeType(value__padding) - valueSerializer.writeInt8(value__padding_type as int32) + valueSerializer.writeInt8(value__padding_type) if ((RuntimeType.UNDEFINED) != (value__padding_type)) { const value__padding_value = value__padding! let value__padding_value_type : int32 = RuntimeType.UNDEFINED value__padding_value_type = runtimeType(value__padding_value) if (TypeChecker.isPadding(value__padding_value, false, false, false, false)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_0 = value__padding_value as Padding const value__padding_value_0_top = value__padding_value_0.top let value__padding_value_0_top_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_top_type = runtimeType(value__padding_value_0_top) - valueSerializer.writeInt8(value__padding_value_0_top_type as int32) + valueSerializer.writeInt8(value__padding_value_0_top_type) if ((RuntimeType.UNDEFINED) != (value__padding_value_0_top_type)) { const value__padding_value_0_top_value = value__padding_value_0_top! let value__padding_value_0_top_value_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_top_value_type = runtimeType(value__padding_value_0_top_value) if (RuntimeType.STRING == value__padding_value_0_top_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_0_top_value_0 = value__padding_value_0_top_value as string valueSerializer.writeString(value__padding_value_0_top_value_0) } else if (RuntimeType.NUMBER == value__padding_value_0_top_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_0_top_value_1 = value__padding_value_0_top_value as number valueSerializer.writeNumber(value__padding_value_0_top_value_1) } else if (RuntimeType.OBJECT == value__padding_value_0_top_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value__padding_value_0_top_value_2 = value__padding_value_0_top_value as Resource valueSerializer.writeResource(value__padding_value_0_top_value_2) } @@ -26237,23 +25898,23 @@ export class Serializer extends SerializerBase { const value__padding_value_0_right = value__padding_value_0.right let value__padding_value_0_right_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_right_type = runtimeType(value__padding_value_0_right) - valueSerializer.writeInt8(value__padding_value_0_right_type as int32) + valueSerializer.writeInt8(value__padding_value_0_right_type) if ((RuntimeType.UNDEFINED) != (value__padding_value_0_right_type)) { const value__padding_value_0_right_value = value__padding_value_0_right! let value__padding_value_0_right_value_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_right_value_type = runtimeType(value__padding_value_0_right_value) if (RuntimeType.STRING == value__padding_value_0_right_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_0_right_value_0 = value__padding_value_0_right_value as string valueSerializer.writeString(value__padding_value_0_right_value_0) } else if (RuntimeType.NUMBER == value__padding_value_0_right_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_0_right_value_1 = value__padding_value_0_right_value as number valueSerializer.writeNumber(value__padding_value_0_right_value_1) } else if (RuntimeType.OBJECT == value__padding_value_0_right_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value__padding_value_0_right_value_2 = value__padding_value_0_right_value as Resource valueSerializer.writeResource(value__padding_value_0_right_value_2) } @@ -26261,23 +25922,23 @@ export class Serializer extends SerializerBase { const value__padding_value_0_bottom = value__padding_value_0.bottom let value__padding_value_0_bottom_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_bottom_type = runtimeType(value__padding_value_0_bottom) - valueSerializer.writeInt8(value__padding_value_0_bottom_type as int32) + valueSerializer.writeInt8(value__padding_value_0_bottom_type) if ((RuntimeType.UNDEFINED) != (value__padding_value_0_bottom_type)) { const value__padding_value_0_bottom_value = value__padding_value_0_bottom! let value__padding_value_0_bottom_value_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_bottom_value_type = runtimeType(value__padding_value_0_bottom_value) if (RuntimeType.STRING == value__padding_value_0_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_0_bottom_value_0 = value__padding_value_0_bottom_value as string valueSerializer.writeString(value__padding_value_0_bottom_value_0) } else if (RuntimeType.NUMBER == value__padding_value_0_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_0_bottom_value_1 = value__padding_value_0_bottom_value as number valueSerializer.writeNumber(value__padding_value_0_bottom_value_1) } else if (RuntimeType.OBJECT == value__padding_value_0_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value__padding_value_0_bottom_value_2 = value__padding_value_0_bottom_value as Resource valueSerializer.writeResource(value__padding_value_0_bottom_value_2) } @@ -26285,51 +25946,51 @@ export class Serializer extends SerializerBase { const value__padding_value_0_left = value__padding_value_0.left let value__padding_value_0_left_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_left_type = runtimeType(value__padding_value_0_left) - valueSerializer.writeInt8(value__padding_value_0_left_type as int32) + valueSerializer.writeInt8(value__padding_value_0_left_type) if ((RuntimeType.UNDEFINED) != (value__padding_value_0_left_type)) { const value__padding_value_0_left_value = value__padding_value_0_left! let value__padding_value_0_left_value_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_left_value_type = runtimeType(value__padding_value_0_left_value) if (RuntimeType.STRING == value__padding_value_0_left_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_0_left_value_0 = value__padding_value_0_left_value as string valueSerializer.writeString(value__padding_value_0_left_value_0) } else if (RuntimeType.NUMBER == value__padding_value_0_left_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_0_left_value_1 = value__padding_value_0_left_value as number valueSerializer.writeNumber(value__padding_value_0_left_value_1) } else if (RuntimeType.OBJECT == value__padding_value_0_left_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value__padding_value_0_left_value_2 = value__padding_value_0_left_value as Resource valueSerializer.writeResource(value__padding_value_0_left_value_2) } } } else if ((RuntimeType.STRING == value__padding_value_type) || (RuntimeType.NUMBER == value__padding_value_type) || (RuntimeType.OBJECT == value__padding_value_type)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_1 = value__padding_value as Dimension let value__padding_value_1_type : int32 = RuntimeType.UNDEFINED value__padding_value_1_type = runtimeType(value__padding_value_1) if (RuntimeType.STRING == value__padding_value_1_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_1_0 = value__padding_value_1 as string valueSerializer.writeString(value__padding_value_1_0) } else if (RuntimeType.NUMBER == value__padding_value_1_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_1_1 = value__padding_value_1 as number valueSerializer.writeNumber(value__padding_value_1_1) } else if (RuntimeType.OBJECT == value__padding_value_1_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value__padding_value_1_2 = value__padding_value_1 as Resource valueSerializer.writeResource(value__padding_value_1_2) } } else if (TypeChecker.isLocalizedPadding(value__padding_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value__padding_value_2 = value__padding_value as LocalizedPadding valueSerializer.writeLocalizedPadding(value__padding_value_2) } @@ -26337,7 +25998,7 @@ export class Serializer extends SerializerBase { const value__layoutMode = value._layoutMode let value__layoutMode_type : int32 = RuntimeType.UNDEFINED value__layoutMode_type = runtimeType(value__layoutMode) - valueSerializer.writeInt8(value__layoutMode_type as int32) + valueSerializer.writeInt8(value__layoutMode_type) if ((RuntimeType.UNDEFINED) != (value__layoutMode_type)) { const value__layoutMode_value = (value__layoutMode as LayoutMode) valueSerializer.writeInt32(TypeChecker.LayoutMode_ToNumeric(value__layoutMode_value)) @@ -26345,7 +26006,7 @@ export class Serializer extends SerializerBase { const value__verticalAlign = value._verticalAlign let value__verticalAlign_type : int32 = RuntimeType.UNDEFINED value__verticalAlign_type = runtimeType(value__verticalAlign) - valueSerializer.writeInt8(value__verticalAlign_type as int32) + valueSerializer.writeInt8(value__verticalAlign_type) if ((RuntimeType.UNDEFINED) != (value__verticalAlign_type)) { const value__verticalAlign_value = (value__verticalAlign as VerticalAlign) valueSerializer.writeInt32(TypeChecker.VerticalAlign_ToNumeric(value__verticalAlign_value)) @@ -26353,7 +26014,7 @@ export class Serializer extends SerializerBase { const value__symmetricExtensible = value._symmetricExtensible let value__symmetricExtensible_type : int32 = RuntimeType.UNDEFINED value__symmetricExtensible_type = runtimeType(value__symmetricExtensible) - valueSerializer.writeInt8(value__symmetricExtensible_type as int32) + valueSerializer.writeInt8(value__symmetricExtensible_type) if ((RuntimeType.UNDEFINED) != (value__symmetricExtensible_type)) { const value__symmetricExtensible_value = value__symmetricExtensible! valueSerializer.writeBoolean(value__symmetricExtensible_value) @@ -26361,7 +26022,7 @@ export class Serializer extends SerializerBase { const value__id = value._id let value__id_type : int32 = RuntimeType.UNDEFINED value__id_type = runtimeType(value__id) - valueSerializer.writeInt8(value__id_type as int32) + valueSerializer.writeInt8(value__id_type) if ((RuntimeType.UNDEFINED) != (value__id_type)) { const value__id_value = value__id! valueSerializer.writeString(value__id_value) @@ -26369,29 +26030,29 @@ export class Serializer extends SerializerBase { const value__iconStyle = value._iconStyle let value__iconStyle_type : int32 = RuntimeType.UNDEFINED value__iconStyle_type = runtimeType(value__iconStyle) - valueSerializer.writeInt8(value__iconStyle_type as int32) + valueSerializer.writeInt8(value__iconStyle_type) if ((RuntimeType.UNDEFINED) != (value__iconStyle_type)) { const value__iconStyle_value = value__iconStyle! valueSerializer.writeTabBarIconStyle(value__iconStyle_value) } } - writeCalendarDialogOptions(value: CalendarDialogOptions): void { + public writeCalendarDialogOptions(value: CalendarDialogOptions): void { let valueSerializer : Serializer = this const value_hintRadius = value.hintRadius let value_hintRadius_type : int32 = RuntimeType.UNDEFINED value_hintRadius_type = runtimeType(value_hintRadius) - valueSerializer.writeInt8(value_hintRadius_type as int32) + valueSerializer.writeInt8(value_hintRadius_type) if ((RuntimeType.UNDEFINED) != (value_hintRadius_type)) { const value_hintRadius_value = value_hintRadius! let value_hintRadius_value_type : int32 = RuntimeType.UNDEFINED value_hintRadius_value_type = runtimeType(value_hintRadius_value) if (RuntimeType.NUMBER == value_hintRadius_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_hintRadius_value_0 = value_hintRadius_value as number valueSerializer.writeNumber(value_hintRadius_value_0) } else if (RuntimeType.OBJECT == value_hintRadius_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_hintRadius_value_1 = value_hintRadius_value as Resource valueSerializer.writeResource(value_hintRadius_value_1) } @@ -26399,15 +26060,43 @@ export class Serializer extends SerializerBase { const value_selected = value.selected let value_selected_type : int32 = RuntimeType.UNDEFINED value_selected_type = runtimeType(value_selected) - valueSerializer.writeInt8(value_selected_type as int32) + valueSerializer.writeInt8(value_selected_type) if ((RuntimeType.UNDEFINED) != (value_selected_type)) { const value_selected_value = value_selected! valueSerializer.writeInt64((value_selected_value.getTime() as int64)) } + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeInt64((value_start_value.getTime() as int64)) + } + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeInt64((value_end_value.getTime() as int64)) + } + const value_disabledDateRange = value.disabledDateRange + let value_disabledDateRange_type : int32 = RuntimeType.UNDEFINED + value_disabledDateRange_type = runtimeType(value_disabledDateRange) + valueSerializer.writeInt8(value_disabledDateRange_type) + if ((RuntimeType.UNDEFINED) != (value_disabledDateRange_type)) { + const value_disabledDateRange_value = value_disabledDateRange! + valueSerializer.writeInt32(value_disabledDateRange_value.length as int32) + for (let i = 0; i < value_disabledDateRange_value.length; i++) { + const value_disabledDateRange_value_element : DateRange = value_disabledDateRange_value[i] + valueSerializer.writeDateRange(value_disabledDateRange_value_element) + } + } const value_onAccept = value.onAccept let value_onAccept_type : int32 = RuntimeType.UNDEFINED value_onAccept_type = runtimeType(value_onAccept) - valueSerializer.writeInt8(value_onAccept_type as int32) + valueSerializer.writeInt8(value_onAccept_type) if ((RuntimeType.UNDEFINED) != (value_onAccept_type)) { const value_onAccept_value = value_onAccept! valueSerializer.holdAndWriteCallback(value_onAccept_value) @@ -26415,7 +26104,7 @@ export class Serializer extends SerializerBase { const value_onCancel = value.onCancel let value_onCancel_type : int32 = RuntimeType.UNDEFINED value_onCancel_type = runtimeType(value_onCancel) - valueSerializer.writeInt8(value_onCancel_type as int32) + valueSerializer.writeInt8(value_onCancel_type) if ((RuntimeType.UNDEFINED) != (value_onCancel_type)) { const value_onCancel_value = value_onCancel! valueSerializer.holdAndWriteCallback(value_onCancel_value) @@ -26423,7 +26112,7 @@ export class Serializer extends SerializerBase { const value_onChange = value.onChange let value_onChange_type : int32 = RuntimeType.UNDEFINED value_onChange_type = runtimeType(value_onChange) - valueSerializer.writeInt8(value_onChange_type as int32) + valueSerializer.writeInt8(value_onChange_type) if ((RuntimeType.UNDEFINED) != (value_onChange_type)) { const value_onChange_value = value_onChange! valueSerializer.holdAndWriteCallback(value_onChange_value) @@ -26431,28 +26120,28 @@ export class Serializer extends SerializerBase { const value_backgroundColor = value.backgroundColor let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) + valueSerializer.writeInt8(value_backgroundColor_type) if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { const value_backgroundColor_value = value_backgroundColor! let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_backgroundColor_value_0 = value_backgroundColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) } else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_backgroundColor_value_1 = value_backgroundColor_value as number valueSerializer.writeNumber(value_backgroundColor_value_1) } else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_backgroundColor_value_2 = value_backgroundColor_value as string valueSerializer.writeString(value_backgroundColor_value_2) } else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_backgroundColor_value_3 = value_backgroundColor_value as Resource valueSerializer.writeResource(value_backgroundColor_value_3) } @@ -26460,15 +26149,31 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle = value.backgroundBlurStyle let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_acceptButtonStyle = value.acceptButtonStyle let value_acceptButtonStyle_type : int32 = RuntimeType.UNDEFINED value_acceptButtonStyle_type = runtimeType(value_acceptButtonStyle) - valueSerializer.writeInt8(value_acceptButtonStyle_type as int32) + valueSerializer.writeInt8(value_acceptButtonStyle_type) if ((RuntimeType.UNDEFINED) != (value_acceptButtonStyle_type)) { const value_acceptButtonStyle_value = value_acceptButtonStyle! valueSerializer.writePickerDialogButtonStyle(value_acceptButtonStyle_value) @@ -26476,7 +26181,7 @@ export class Serializer extends SerializerBase { const value_cancelButtonStyle = value.cancelButtonStyle let value_cancelButtonStyle_type : int32 = RuntimeType.UNDEFINED value_cancelButtonStyle_type = runtimeType(value_cancelButtonStyle) - valueSerializer.writeInt8(value_cancelButtonStyle_type as int32) + valueSerializer.writeInt8(value_cancelButtonStyle_type) if ((RuntimeType.UNDEFINED) != (value_cancelButtonStyle_type)) { const value_cancelButtonStyle_value = value_cancelButtonStyle! valueSerializer.writePickerDialogButtonStyle(value_cancelButtonStyle_value) @@ -26484,7 +26189,7 @@ export class Serializer extends SerializerBase { const value_onDidAppear = value.onDidAppear let value_onDidAppear_type : int32 = RuntimeType.UNDEFINED value_onDidAppear_type = runtimeType(value_onDidAppear) - valueSerializer.writeInt8(value_onDidAppear_type as int32) + valueSerializer.writeInt8(value_onDidAppear_type) if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { const value_onDidAppear_value = value_onDidAppear! valueSerializer.holdAndWriteCallback(value_onDidAppear_value) @@ -26492,7 +26197,7 @@ export class Serializer extends SerializerBase { const value_onDidDisappear = value.onDidDisappear let value_onDidDisappear_type : int32 = RuntimeType.UNDEFINED value_onDidDisappear_type = runtimeType(value_onDidDisappear) - valueSerializer.writeInt8(value_onDidDisappear_type as int32) + valueSerializer.writeInt8(value_onDidDisappear_type) if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { const value_onDidDisappear_value = value_onDidDisappear! valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) @@ -26500,7 +26205,7 @@ export class Serializer extends SerializerBase { const value_onWillAppear = value.onWillAppear let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED value_onWillAppear_type = runtimeType(value_onWillAppear) - valueSerializer.writeInt8(value_onWillAppear_type as int32) + valueSerializer.writeInt8(value_onWillAppear_type) if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { const value_onWillAppear_value = value_onWillAppear! valueSerializer.holdAndWriteCallback(value_onWillAppear_value) @@ -26508,7 +26213,7 @@ export class Serializer extends SerializerBase { const value_onWillDisappear = value.onWillDisappear let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED value_onWillDisappear_type = runtimeType(value_onWillDisappear) - valueSerializer.writeInt8(value_onWillDisappear_type as int32) + valueSerializer.writeInt8(value_onWillDisappear_type) if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { const value_onWillDisappear_value = value_onWillDisappear! valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) @@ -26516,18 +26221,18 @@ export class Serializer extends SerializerBase { const value_shadow = value.shadow let value_shadow_type : int32 = RuntimeType.UNDEFINED value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) + valueSerializer.writeInt8(value_shadow_type) if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { const value_shadow_value = value_shadow! let value_shadow_value_type : int32 = RuntimeType.UNDEFINED value_shadow_value_type = runtimeType(value_shadow_value) if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_shadow_value_0 = value_shadow_value as ShadowOptions valueSerializer.writeShadowOptions(value_shadow_value_0) } else if (TypeChecker.isShadowStyle(value_shadow_value)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_shadow_value_1 = value_shadow_value as ShadowStyle valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) } @@ -26535,7 +26240,7 @@ export class Serializer extends SerializerBase { const value_enableHoverMode = value.enableHoverMode let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) + valueSerializer.writeInt8(value_enableHoverMode_type) if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { const value_enableHoverMode_value = value_enableHoverMode! valueSerializer.writeBoolean(value_enableHoverMode_value) @@ -26543,22 +26248,30 @@ export class Serializer extends SerializerBase { const value_hoverModeArea = value.hoverModeArea let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED value_hoverModeArea_type = runtimeType(value_hoverModeArea) - valueSerializer.writeInt8(value_hoverModeArea_type as int32) + valueSerializer.writeInt8(value_hoverModeArea_type) if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) } + const value_markToday = value.markToday + let value_markToday_type : int32 = RuntimeType.UNDEFINED + value_markToday_type = runtimeType(value_markToday) + valueSerializer.writeInt8(value_markToday_type) + if ((RuntimeType.UNDEFINED) != (value_markToday_type)) { + const value_markToday_value = value_markToday! + valueSerializer.writeBoolean(value_markToday_value) + } } - writeClickEvent(value: ClickEvent): void { + public writeClickEvent(value: ClickEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDatePickerDialogOptions(value: DatePickerDialogOptions): void { + public writeDatePickerDialogOptions(value: DatePickerDialogOptions): void { let valueSerializer : Serializer = this const value_start = value.start let value_start_type : int32 = RuntimeType.UNDEFINED value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) + valueSerializer.writeInt8(value_start_type) if ((RuntimeType.UNDEFINED) != (value_start_type)) { const value_start_value = value_start! valueSerializer.writeInt64((value_start_value.getTime() as int64)) @@ -26566,7 +26279,7 @@ export class Serializer extends SerializerBase { const value_end = value.end let value_end_type : int32 = RuntimeType.UNDEFINED value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) + valueSerializer.writeInt8(value_end_type) if ((RuntimeType.UNDEFINED) != (value_end_type)) { const value_end_value = value_end! valueSerializer.writeInt64((value_end_value.getTime() as int64)) @@ -26574,15 +26287,23 @@ export class Serializer extends SerializerBase { const value_selected = value.selected let value_selected_type : int32 = RuntimeType.UNDEFINED value_selected_type = runtimeType(value_selected) - valueSerializer.writeInt8(value_selected_type as int32) + valueSerializer.writeInt8(value_selected_type) if ((RuntimeType.UNDEFINED) != (value_selected_type)) { const value_selected_value = value_selected! valueSerializer.writeInt64((value_selected_value.getTime() as int64)) } + const value_mode = value.mode + let value_mode_type : int32 = RuntimeType.UNDEFINED + value_mode_type = runtimeType(value_mode) + valueSerializer.writeInt8(value_mode_type) + if ((RuntimeType.UNDEFINED) != (value_mode_type)) { + const value_mode_value = (value_mode as DatePickerMode) + valueSerializer.writeInt32(TypeChecker.DatePickerMode_ToNumeric(value_mode_value)) + } const value_lunar = value.lunar let value_lunar_type : int32 = RuntimeType.UNDEFINED value_lunar_type = runtimeType(value_lunar) - valueSerializer.writeInt8(value_lunar_type as int32) + valueSerializer.writeInt8(value_lunar_type) if ((RuntimeType.UNDEFINED) != (value_lunar_type)) { const value_lunar_value = value_lunar! valueSerializer.writeBoolean(value_lunar_value) @@ -26590,7 +26311,7 @@ export class Serializer extends SerializerBase { const value_lunarSwitch = value.lunarSwitch let value_lunarSwitch_type : int32 = RuntimeType.UNDEFINED value_lunarSwitch_type = runtimeType(value_lunarSwitch) - valueSerializer.writeInt8(value_lunarSwitch_type as int32) + valueSerializer.writeInt8(value_lunarSwitch_type) if ((RuntimeType.UNDEFINED) != (value_lunarSwitch_type)) { const value_lunarSwitch_value = value_lunarSwitch! valueSerializer.writeBoolean(value_lunarSwitch_value) @@ -26598,7 +26319,7 @@ export class Serializer extends SerializerBase { const value_lunarSwitchStyle = value.lunarSwitchStyle let value_lunarSwitchStyle_type : int32 = RuntimeType.UNDEFINED value_lunarSwitchStyle_type = runtimeType(value_lunarSwitchStyle) - valueSerializer.writeInt8(value_lunarSwitchStyle_type as int32) + valueSerializer.writeInt8(value_lunarSwitchStyle_type) if ((RuntimeType.UNDEFINED) != (value_lunarSwitchStyle_type)) { const value_lunarSwitchStyle_value = value_lunarSwitchStyle! valueSerializer.writeLunarSwitchStyle(value_lunarSwitchStyle_value) @@ -26606,7 +26327,7 @@ export class Serializer extends SerializerBase { const value_showTime = value.showTime let value_showTime_type : int32 = RuntimeType.UNDEFINED value_showTime_type = runtimeType(value_showTime) - valueSerializer.writeInt8(value_showTime_type as int32) + valueSerializer.writeInt8(value_showTime_type) if ((RuntimeType.UNDEFINED) != (value_showTime_type)) { const value_showTime_value = value_showTime! valueSerializer.writeBoolean(value_showTime_value) @@ -26614,7 +26335,7 @@ export class Serializer extends SerializerBase { const value_useMilitaryTime = value.useMilitaryTime let value_useMilitaryTime_type : int32 = RuntimeType.UNDEFINED value_useMilitaryTime_type = runtimeType(value_useMilitaryTime) - valueSerializer.writeInt8(value_useMilitaryTime_type as int32) + valueSerializer.writeInt8(value_useMilitaryTime_type) if ((RuntimeType.UNDEFINED) != (value_useMilitaryTime_type)) { const value_useMilitaryTime_value = value_useMilitaryTime! valueSerializer.writeBoolean(value_useMilitaryTime_value) @@ -26622,7 +26343,7 @@ export class Serializer extends SerializerBase { const value_disappearTextStyle = value.disappearTextStyle let value_disappearTextStyle_type : int32 = RuntimeType.UNDEFINED value_disappearTextStyle_type = runtimeType(value_disappearTextStyle) - valueSerializer.writeInt8(value_disappearTextStyle_type as int32) + valueSerializer.writeInt8(value_disappearTextStyle_type) if ((RuntimeType.UNDEFINED) != (value_disappearTextStyle_type)) { const value_disappearTextStyle_value = value_disappearTextStyle! valueSerializer.writePickerTextStyle(value_disappearTextStyle_value) @@ -26630,7 +26351,7 @@ export class Serializer extends SerializerBase { const value_textStyle = value.textStyle let value_textStyle_type : int32 = RuntimeType.UNDEFINED value_textStyle_type = runtimeType(value_textStyle) - valueSerializer.writeInt8(value_textStyle_type as int32) + valueSerializer.writeInt8(value_textStyle_type) if ((RuntimeType.UNDEFINED) != (value_textStyle_type)) { const value_textStyle_value = value_textStyle! valueSerializer.writePickerTextStyle(value_textStyle_value) @@ -26638,7 +26359,7 @@ export class Serializer extends SerializerBase { const value_acceptButtonStyle = value.acceptButtonStyle let value_acceptButtonStyle_type : int32 = RuntimeType.UNDEFINED value_acceptButtonStyle_type = runtimeType(value_acceptButtonStyle) - valueSerializer.writeInt8(value_acceptButtonStyle_type as int32) + valueSerializer.writeInt8(value_acceptButtonStyle_type) if ((RuntimeType.UNDEFINED) != (value_acceptButtonStyle_type)) { const value_acceptButtonStyle_value = value_acceptButtonStyle! valueSerializer.writePickerDialogButtonStyle(value_acceptButtonStyle_value) @@ -26646,7 +26367,7 @@ export class Serializer extends SerializerBase { const value_cancelButtonStyle = value.cancelButtonStyle let value_cancelButtonStyle_type : int32 = RuntimeType.UNDEFINED value_cancelButtonStyle_type = runtimeType(value_cancelButtonStyle) - valueSerializer.writeInt8(value_cancelButtonStyle_type as int32) + valueSerializer.writeInt8(value_cancelButtonStyle_type) if ((RuntimeType.UNDEFINED) != (value_cancelButtonStyle_type)) { const value_cancelButtonStyle_value = value_cancelButtonStyle! valueSerializer.writePickerDialogButtonStyle(value_cancelButtonStyle_value) @@ -26654,7 +26375,7 @@ export class Serializer extends SerializerBase { const value_selectedTextStyle = value.selectedTextStyle let value_selectedTextStyle_type : int32 = RuntimeType.UNDEFINED value_selectedTextStyle_type = runtimeType(value_selectedTextStyle) - valueSerializer.writeInt8(value_selectedTextStyle_type as int32) + valueSerializer.writeInt8(value_selectedTextStyle_type) if ((RuntimeType.UNDEFINED) != (value_selectedTextStyle_type)) { const value_selectedTextStyle_value = value_selectedTextStyle! valueSerializer.writePickerTextStyle(value_selectedTextStyle_value) @@ -26662,7 +26383,7 @@ export class Serializer extends SerializerBase { const value_maskRect = value.maskRect let value_maskRect_type : int32 = RuntimeType.UNDEFINED value_maskRect_type = runtimeType(value_maskRect) - valueSerializer.writeInt8(value_maskRect_type as int32) + valueSerializer.writeInt8(value_maskRect_type) if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { const value_maskRect_value = value_maskRect! valueSerializer.writeRectangle(value_maskRect_value) @@ -26670,7 +26391,7 @@ export class Serializer extends SerializerBase { const value_alignment = value.alignment let value_alignment_type : int32 = RuntimeType.UNDEFINED value_alignment_type = runtimeType(value_alignment) - valueSerializer.writeInt8(value_alignment_type as int32) + valueSerializer.writeInt8(value_alignment_type) if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { const value_alignment_value = (value_alignment as DialogAlignment) valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) @@ -26678,50 +26399,15 @@ export class Serializer extends SerializerBase { const value_offset = value.offset let value_offset_type : int32 = RuntimeType.UNDEFINED value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) + valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dx_0 = value_offset_value_dx as string - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dx_1 = value_offset_value_dx as number - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dx_2 = value_offset_value_dx as Resource - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dy_0 = value_offset_value_dy as string - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dy_1 = value_offset_value_dy as number - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dy_2 = value_offset_value_dy as Resource - valueSerializer.writeResource(value_offset_value_dy_2) - } + valueSerializer.writeOffset(value_offset_value) } const value_onAccept = value.onAccept let value_onAccept_type : int32 = RuntimeType.UNDEFINED value_onAccept_type = runtimeType(value_onAccept) - valueSerializer.writeInt8(value_onAccept_type as int32) + valueSerializer.writeInt8(value_onAccept_type) if ((RuntimeType.UNDEFINED) != (value_onAccept_type)) { const value_onAccept_value = value_onAccept! valueSerializer.holdAndWriteCallback(value_onAccept_value) @@ -26729,7 +26415,7 @@ export class Serializer extends SerializerBase { const value_onCancel = value.onCancel let value_onCancel_type : int32 = RuntimeType.UNDEFINED value_onCancel_type = runtimeType(value_onCancel) - valueSerializer.writeInt8(value_onCancel_type as int32) + valueSerializer.writeInt8(value_onCancel_type) if ((RuntimeType.UNDEFINED) != (value_onCancel_type)) { const value_onCancel_value = value_onCancel! valueSerializer.holdAndWriteCallback(value_onCancel_value) @@ -26737,7 +26423,7 @@ export class Serializer extends SerializerBase { const value_onChange = value.onChange let value_onChange_type : int32 = RuntimeType.UNDEFINED value_onChange_type = runtimeType(value_onChange) - valueSerializer.writeInt8(value_onChange_type as int32) + valueSerializer.writeInt8(value_onChange_type) if ((RuntimeType.UNDEFINED) != (value_onChange_type)) { const value_onChange_value = value_onChange! valueSerializer.holdAndWriteCallback(value_onChange_value) @@ -26745,7 +26431,7 @@ export class Serializer extends SerializerBase { const value_onDateAccept = value.onDateAccept let value_onDateAccept_type : int32 = RuntimeType.UNDEFINED value_onDateAccept_type = runtimeType(value_onDateAccept) - valueSerializer.writeInt8(value_onDateAccept_type as int32) + valueSerializer.writeInt8(value_onDateAccept_type) if ((RuntimeType.UNDEFINED) != (value_onDateAccept_type)) { const value_onDateAccept_value = value_onDateAccept! valueSerializer.holdAndWriteCallback(value_onDateAccept_value) @@ -26753,7 +26439,7 @@ export class Serializer extends SerializerBase { const value_onDateChange = value.onDateChange let value_onDateChange_type : int32 = RuntimeType.UNDEFINED value_onDateChange_type = runtimeType(value_onDateChange) - valueSerializer.writeInt8(value_onDateChange_type as int32) + valueSerializer.writeInt8(value_onDateChange_type) if ((RuntimeType.UNDEFINED) != (value_onDateChange_type)) { const value_onDateChange_value = value_onDateChange! valueSerializer.holdAndWriteCallback(value_onDateChange_value) @@ -26761,28 +26447,28 @@ export class Serializer extends SerializerBase { const value_backgroundColor = value.backgroundColor let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) + valueSerializer.writeInt8(value_backgroundColor_type) if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { const value_backgroundColor_value = value_backgroundColor! let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_backgroundColor_value_0 = value_backgroundColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) } else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_backgroundColor_value_1 = value_backgroundColor_value as number valueSerializer.writeNumber(value_backgroundColor_value_1) } else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_backgroundColor_value_2 = value_backgroundColor_value as string valueSerializer.writeString(value_backgroundColor_value_2) } else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_backgroundColor_value_3 = value_backgroundColor_value as Resource valueSerializer.writeResource(value_backgroundColor_value_3) } @@ -26790,15 +26476,31 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle = value.backgroundBlurStyle let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_onDidAppear = value.onDidAppear let value_onDidAppear_type : int32 = RuntimeType.UNDEFINED value_onDidAppear_type = runtimeType(value_onDidAppear) - valueSerializer.writeInt8(value_onDidAppear_type as int32) + valueSerializer.writeInt8(value_onDidAppear_type) if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { const value_onDidAppear_value = value_onDidAppear! valueSerializer.holdAndWriteCallback(value_onDidAppear_value) @@ -26806,7 +26508,7 @@ export class Serializer extends SerializerBase { const value_onDidDisappear = value.onDidDisappear let value_onDidDisappear_type : int32 = RuntimeType.UNDEFINED value_onDidDisappear_type = runtimeType(value_onDidDisappear) - valueSerializer.writeInt8(value_onDidDisappear_type as int32) + valueSerializer.writeInt8(value_onDidDisappear_type) if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { const value_onDidDisappear_value = value_onDidDisappear! valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) @@ -26814,7 +26516,7 @@ export class Serializer extends SerializerBase { const value_onWillAppear = value.onWillAppear let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED value_onWillAppear_type = runtimeType(value_onWillAppear) - valueSerializer.writeInt8(value_onWillAppear_type as int32) + valueSerializer.writeInt8(value_onWillAppear_type) if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { const value_onWillAppear_value = value_onWillAppear! valueSerializer.holdAndWriteCallback(value_onWillAppear_value) @@ -26822,7 +26524,7 @@ export class Serializer extends SerializerBase { const value_onWillDisappear = value.onWillDisappear let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED value_onWillDisappear_type = runtimeType(value_onWillDisappear) - valueSerializer.writeInt8(value_onWillDisappear_type as int32) + valueSerializer.writeInt8(value_onWillDisappear_type) if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { const value_onWillDisappear_value = value_onWillDisappear! valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) @@ -26830,18 +26532,18 @@ export class Serializer extends SerializerBase { const value_shadow = value.shadow let value_shadow_type : int32 = RuntimeType.UNDEFINED value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) + valueSerializer.writeInt8(value_shadow_type) if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { const value_shadow_value = value_shadow! let value_shadow_value_type : int32 = RuntimeType.UNDEFINED value_shadow_value_type = runtimeType(value_shadow_value) if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_shadow_value_0 = value_shadow_value as ShadowOptions valueSerializer.writeShadowOptions(value_shadow_value_0) } else if (TypeChecker.isShadowStyle(value_shadow_value)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_shadow_value_1 = value_shadow_value as ShadowStyle valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) } @@ -26849,7 +26551,7 @@ export class Serializer extends SerializerBase { const value_dateTimeOptions = value.dateTimeOptions let value_dateTimeOptions_type : int32 = RuntimeType.UNDEFINED value_dateTimeOptions_type = runtimeType(value_dateTimeOptions) - valueSerializer.writeInt8(value_dateTimeOptions_type as int32) + valueSerializer.writeInt8(value_dateTimeOptions_type) if ((RuntimeType.UNDEFINED) != (value_dateTimeOptions_type)) { const value_dateTimeOptions_value = value_dateTimeOptions! valueSerializer.writeDateTimeOptions(value_dateTimeOptions_value) @@ -26857,7 +26559,7 @@ export class Serializer extends SerializerBase { const value_enableHoverMode = value.enableHoverMode let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) + valueSerializer.writeInt8(value_enableHoverMode_type) if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { const value_enableHoverMode_value = value_enableHoverMode! valueSerializer.writeBoolean(value_enableHoverMode_value) @@ -26865,45 +26567,53 @@ export class Serializer extends SerializerBase { const value_hoverModeArea = value.hoverModeArea let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED value_hoverModeArea_type = runtimeType(value_hoverModeArea) - valueSerializer.writeInt8(value_hoverModeArea_type as int32) + valueSerializer.writeInt8(value_hoverModeArea_type) if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) } + const value_enableHapticFeedback = value.enableHapticFeedback + let value_enableHapticFeedback_type : int32 = RuntimeType.UNDEFINED + value_enableHapticFeedback_type = runtimeType(value_enableHapticFeedback) + valueSerializer.writeInt8(value_enableHapticFeedback_type) + if ((RuntimeType.UNDEFINED) != (value_enableHapticFeedback_type)) { + const value_enableHapticFeedback_value = value_enableHapticFeedback! + valueSerializer.writeBoolean(value_enableHapticFeedback_value) + } } - writeGridRowOptions(value: GridRowOptions): void { + public writeGridRowOptions(value: GridRowOptions): void { let valueSerializer : Serializer = this const value_gutter = value.gutter let value_gutter_type : int32 = RuntimeType.UNDEFINED value_gutter_type = runtimeType(value_gutter) - valueSerializer.writeInt8(value_gutter_type as int32) + valueSerializer.writeInt8(value_gutter_type) if ((RuntimeType.UNDEFINED) != (value_gutter_type)) { const value_gutter_value = value_gutter! let value_gutter_value_type : int32 = RuntimeType.UNDEFINED value_gutter_value_type = runtimeType(value_gutter_value) if ((RuntimeType.STRING == value_gutter_value_type) || (RuntimeType.NUMBER == value_gutter_value_type) || (RuntimeType.OBJECT == value_gutter_value_type)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_gutter_value_0 = value_gutter_value as Length let value_gutter_value_0_type : int32 = RuntimeType.UNDEFINED value_gutter_value_0_type = runtimeType(value_gutter_value_0) if (RuntimeType.STRING == value_gutter_value_0_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_gutter_value_0_0 = value_gutter_value_0 as string valueSerializer.writeString(value_gutter_value_0_0) } else if (RuntimeType.NUMBER == value_gutter_value_0_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_gutter_value_0_1 = value_gutter_value_0 as number valueSerializer.writeNumber(value_gutter_value_0_1) } else if (RuntimeType.OBJECT == value_gutter_value_0_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_gutter_value_0_2 = value_gutter_value_0 as Resource valueSerializer.writeResource(value_gutter_value_0_2) } } else if (TypeChecker.isGutterOption(value_gutter_value, false, false)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_gutter_value_1 = value_gutter_value as GutterOption valueSerializer.writeGutterOption(value_gutter_value_1) } @@ -26911,18 +26621,18 @@ export class Serializer extends SerializerBase { const value_columns = value.columns let value_columns_type : int32 = RuntimeType.UNDEFINED value_columns_type = runtimeType(value_columns) - valueSerializer.writeInt8(value_columns_type as int32) + valueSerializer.writeInt8(value_columns_type) if ((RuntimeType.UNDEFINED) != (value_columns_type)) { const value_columns_value = value_columns! let value_columns_value_type : int32 = RuntimeType.UNDEFINED value_columns_value_type = runtimeType(value_columns_value) if (RuntimeType.NUMBER == value_columns_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_columns_value_0 = value_columns_value as number valueSerializer.writeNumber(value_columns_value_0) } else if (RuntimeType.OBJECT == value_columns_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_columns_value_1 = value_columns_value as GridRowColumnOption valueSerializer.writeGridRowColumnOption(value_columns_value_1) } @@ -26930,7 +26640,7 @@ export class Serializer extends SerializerBase { const value_breakpoints = value.breakpoints let value_breakpoints_type : int32 = RuntimeType.UNDEFINED value_breakpoints_type = runtimeType(value_breakpoints) - valueSerializer.writeInt8(value_breakpoints_type as int32) + valueSerializer.writeInt8(value_breakpoints_type) if ((RuntimeType.UNDEFINED) != (value_breakpoints_type)) { const value_breakpoints_value = value_breakpoints! valueSerializer.writeBreakPoints(value_breakpoints_value) @@ -26938,24 +26648,24 @@ export class Serializer extends SerializerBase { const value_direction = value.direction let value_direction_type : int32 = RuntimeType.UNDEFINED value_direction_type = runtimeType(value_direction) - valueSerializer.writeInt8(value_direction_type as int32) + valueSerializer.writeInt8(value_direction_type) if ((RuntimeType.UNDEFINED) != (value_direction_type)) { const value_direction_value = (value_direction as GridRowDirection) valueSerializer.writeInt32(TypeChecker.GridRowDirection_ToNumeric(value_direction_value)) } } - writeImageAttachment(value: ImageAttachment): void { + public writeImageAttachment(value: ImageAttachment): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeImageAttachmentInterface(value: ImageAttachmentInterface): void { + public writeImageAttachmentInterface(value: ImageAttachmentInterface): void { let valueSerializer : Serializer = this const value_value = value.value valueSerializer.writePixelMap(value_value) const value_size = value.size let value_size_type : int32 = RuntimeType.UNDEFINED value_size_type = runtimeType(value_size) - valueSerializer.writeInt8(value_size_type as int32) + valueSerializer.writeInt8(value_size_type) if ((RuntimeType.UNDEFINED) != (value_size_type)) { const value_size_value = value_size! valueSerializer.writeSizeOptions(value_size_value) @@ -26963,7 +26673,7 @@ export class Serializer extends SerializerBase { const value_verticalAlign = value.verticalAlign let value_verticalAlign_type : int32 = RuntimeType.UNDEFINED value_verticalAlign_type = runtimeType(value_verticalAlign) - valueSerializer.writeInt8(value_verticalAlign_type as int32) + valueSerializer.writeInt8(value_verticalAlign_type) if ((RuntimeType.UNDEFINED) != (value_verticalAlign_type)) { const value_verticalAlign_value = (value_verticalAlign as ImageSpanAlignment) valueSerializer.writeInt32(TypeChecker.ImageSpanAlignment_ToNumeric(value_verticalAlign_value)) @@ -26971,7 +26681,7 @@ export class Serializer extends SerializerBase { const value_objectFit = value.objectFit let value_objectFit_type : int32 = RuntimeType.UNDEFINED value_objectFit_type = runtimeType(value_objectFit) - valueSerializer.writeInt8(value_objectFit_type as int32) + valueSerializer.writeInt8(value_objectFit_type) if ((RuntimeType.UNDEFINED) != (value_objectFit_type)) { const value_objectFit_value = (value_objectFit as ImageFit) valueSerializer.writeInt32(TypeChecker.ImageFit_ToNumeric(value_objectFit_value)) @@ -26979,18 +26689,37 @@ export class Serializer extends SerializerBase { const value_layoutStyle = value.layoutStyle let value_layoutStyle_type : int32 = RuntimeType.UNDEFINED value_layoutStyle_type = runtimeType(value_layoutStyle) - valueSerializer.writeInt8(value_layoutStyle_type as int32) + valueSerializer.writeInt8(value_layoutStyle_type) if ((RuntimeType.UNDEFINED) != (value_layoutStyle_type)) { const value_layoutStyle_value = value_layoutStyle! valueSerializer.writeImageAttachmentLayoutStyle(value_layoutStyle_value) } + const value_colorFilter = value.colorFilter + let value_colorFilter_type : int32 = RuntimeType.UNDEFINED + value_colorFilter_type = runtimeType(value_colorFilter) + valueSerializer.writeInt8(value_colorFilter_type) + if ((RuntimeType.UNDEFINED) != (value_colorFilter_type)) { + const value_colorFilter_value = value_colorFilter! + let value_colorFilter_value_type : int32 = RuntimeType.UNDEFINED + value_colorFilter_value_type = runtimeType(value_colorFilter_value) + if (TypeChecker.isColorFilter(value_colorFilter_value)) { + valueSerializer.writeInt8(0) + const value_colorFilter_value_0 = value_colorFilter_value as ColorFilter + valueSerializer.writeColorFilter(value_colorFilter_value_0) + } + else if (TypeChecker.isDrawingColorFilter(value_colorFilter_value)) { + valueSerializer.writeInt8(1) + const value_colorFilter_value_1 = value_colorFilter_value as DrawingColorFilter + valueSerializer.writeDrawingColorFilter(value_colorFilter_value_1) + } + } } - writeNativeEmbedDataInfo(value: NativeEmbedDataInfo): void { + public writeNativeEmbedDataInfo(value: NativeEmbedDataInfo): void { let valueSerializer : Serializer = this const value_status = value.status let value_status_type : int32 = RuntimeType.UNDEFINED value_status_type = runtimeType(value_status) - valueSerializer.writeInt8(value_status_type as int32) + valueSerializer.writeInt8(value_status_type) if ((RuntimeType.UNDEFINED) != (value_status_type)) { const value_status_value = (value_status as NativeEmbedStatus) valueSerializer.writeInt32(TypeChecker.NativeEmbedStatus_ToNumeric(value_status_value)) @@ -26998,7 +26727,7 @@ export class Serializer extends SerializerBase { const value_surfaceId = value.surfaceId let value_surfaceId_type : int32 = RuntimeType.UNDEFINED value_surfaceId_type = runtimeType(value_surfaceId) - valueSerializer.writeInt8(value_surfaceId_type as int32) + valueSerializer.writeInt8(value_surfaceId_type) if ((RuntimeType.UNDEFINED) != (value_surfaceId_type)) { const value_surfaceId_value = value_surfaceId! valueSerializer.writeString(value_surfaceId_value) @@ -27006,7 +26735,7 @@ export class Serializer extends SerializerBase { const value_embedId = value.embedId let value_embedId_type : int32 = RuntimeType.UNDEFINED value_embedId_type = runtimeType(value_embedId) - valueSerializer.writeInt8(value_embedId_type as int32) + valueSerializer.writeInt8(value_embedId_type) if ((RuntimeType.UNDEFINED) != (value_embedId_type)) { const value_embedId_value = value_embedId! valueSerializer.writeString(value_embedId_value) @@ -27014,18 +26743,18 @@ export class Serializer extends SerializerBase { const value_info = value.info let value_info_type : int32 = RuntimeType.UNDEFINED value_info_type = runtimeType(value_info) - valueSerializer.writeInt8(value_info_type as int32) + valueSerializer.writeInt8(value_info_type) if ((RuntimeType.UNDEFINED) != (value_info_type)) { const value_info_value = value_info! valueSerializer.writeNativeEmbedInfo(value_info_value) } } - writeNativeEmbedTouchInfo(value: NativeEmbedTouchInfo): void { + public writeNativeEmbedTouchInfo(value: NativeEmbedTouchInfo): void { let valueSerializer : Serializer = this const value_embedId = value.embedId let value_embedId_type : int32 = RuntimeType.UNDEFINED value_embedId_type = runtimeType(value_embedId) - valueSerializer.writeInt8(value_embedId_type as int32) + valueSerializer.writeInt8(value_embedId_type) if ((RuntimeType.UNDEFINED) != (value_embedId_type)) { const value_embedId_value = value_embedId! valueSerializer.writeString(value_embedId_value) @@ -27033,7 +26762,7 @@ export class Serializer extends SerializerBase { const value_touchEvent = value.touchEvent let value_touchEvent_type : int32 = RuntimeType.UNDEFINED value_touchEvent_type = runtimeType(value_touchEvent) - valueSerializer.writeInt8(value_touchEvent_type as int32) + valueSerializer.writeInt8(value_touchEvent_type) if ((RuntimeType.UNDEFINED) != (value_touchEvent_type)) { const value_touchEvent_value = value_touchEvent! valueSerializer.writeTouchEvent(value_touchEvent_value) @@ -27041,86 +26770,20 @@ export class Serializer extends SerializerBase { const value_result = value.result let value_result_type : int32 = RuntimeType.UNDEFINED value_result_type = runtimeType(value_result) - valueSerializer.writeInt8(value_result_type as int32) + valueSerializer.writeInt8(value_result_type) if ((RuntimeType.UNDEFINED) != (value_result_type)) { const value_result_value = value_result! - valueSerializer.writeEventResult(value_result_value) - } - } - writeParagraphStyle(value: ParagraphStyle): void { - let valueSerializer : Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeParagraphStyleInterface(value: ParagraphStyleInterface): void { - let valueSerializer : Serializer = this - const value_textAlign = value.textAlign - let value_textAlign_type : int32 = RuntimeType.UNDEFINED - value_textAlign_type = runtimeType(value_textAlign) - valueSerializer.writeInt8(value_textAlign_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textAlign_type)) { - const value_textAlign_value = (value_textAlign as TextAlign) - valueSerializer.writeInt32(TypeChecker.TextAlign_ToNumeric(value_textAlign_value)) - } - const value_textIndent = value.textIndent - let value_textIndent_type : int32 = RuntimeType.UNDEFINED - value_textIndent_type = runtimeType(value_textIndent) - valueSerializer.writeInt8(value_textIndent_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textIndent_type)) { - const value_textIndent_value = value_textIndent! - valueSerializer.writeLengthMetrics(value_textIndent_value) - } - const value_maxLines = value.maxLines - let value_maxLines_type : int32 = RuntimeType.UNDEFINED - value_maxLines_type = runtimeType(value_maxLines) - valueSerializer.writeInt8(value_maxLines_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maxLines_type)) { - const value_maxLines_value = value_maxLines! - valueSerializer.writeNumber(value_maxLines_value) - } - const value_overflow = value.overflow - let value_overflow_type : int32 = RuntimeType.UNDEFINED - value_overflow_type = runtimeType(value_overflow) - valueSerializer.writeInt8(value_overflow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_overflow_type)) { - const value_overflow_value = (value_overflow as TextOverflow) - valueSerializer.writeInt32(TypeChecker.TextOverflow_ToNumeric(value_overflow_value)) - } - const value_wordBreak = value.wordBreak - let value_wordBreak_type : int32 = RuntimeType.UNDEFINED - value_wordBreak_type = runtimeType(value_wordBreak) - valueSerializer.writeInt8(value_wordBreak_type as int32) - if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { - const value_wordBreak_value = (value_wordBreak as WordBreak) - valueSerializer.writeInt32(TypeChecker.WordBreak_ToNumeric(value_wordBreak_value)) - } - const value_leadingMargin = value.leadingMargin - let value_leadingMargin_type : int32 = RuntimeType.UNDEFINED - value_leadingMargin_type = runtimeType(value_leadingMargin) - valueSerializer.writeInt8(value_leadingMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_leadingMargin_type)) { - const value_leadingMargin_value = value_leadingMargin! - let value_leadingMargin_value_type : int32 = RuntimeType.UNDEFINED - value_leadingMargin_value_type = runtimeType(value_leadingMargin_value) - if (TypeChecker.isLengthMetrics(value_leadingMargin_value, false, false)) { - valueSerializer.writeInt8(0 as int32) - const value_leadingMargin_value_0 = value_leadingMargin_value as LengthMetrics - valueSerializer.writeLengthMetrics(value_leadingMargin_value_0) - } - else if (TypeChecker.isLeadingMarginPlaceholder(value_leadingMargin_value, false, false)) { - valueSerializer.writeInt8(1 as int32) - const value_leadingMargin_value_1 = value_leadingMargin_value as LeadingMarginPlaceholder - valueSerializer.writeLeadingMarginPlaceholder(value_leadingMargin_value_1) - } + valueSerializer.writeEventResult(value_result_value) } } - writePopupOptions(value: PopupOptions): void { + public writePopupOptions(value: PopupOptions): void { let valueSerializer : Serializer = this const value_message = value.message valueSerializer.writeString(value_message) const value_placementOnTop = value.placementOnTop let value_placementOnTop_type : int32 = RuntimeType.UNDEFINED value_placementOnTop_type = runtimeType(value_placementOnTop) - valueSerializer.writeInt8(value_placementOnTop_type as int32) + valueSerializer.writeInt8(value_placementOnTop_type) if ((RuntimeType.UNDEFINED) != (value_placementOnTop_type)) { const value_placementOnTop_value = value_placementOnTop! valueSerializer.writeBoolean(value_placementOnTop_value) @@ -27128,7 +26791,7 @@ export class Serializer extends SerializerBase { const value_placement = value.placement let value_placement_type : int32 = RuntimeType.UNDEFINED value_placement_type = runtimeType(value_placement) - valueSerializer.writeInt8(value_placement_type as int32) + valueSerializer.writeInt8(value_placement_type) if ((RuntimeType.UNDEFINED) != (value_placement_type)) { const value_placement_value = (value_placement as Placement) valueSerializer.writeInt32(TypeChecker.Placement_ToNumeric(value_placement_value)) @@ -27136,7 +26799,7 @@ export class Serializer extends SerializerBase { const value_primaryButton = value.primaryButton let value_primaryButton_type : int32 = RuntimeType.UNDEFINED value_primaryButton_type = runtimeType(value_primaryButton) - valueSerializer.writeInt8(value_primaryButton_type as int32) + valueSerializer.writeInt8(value_primaryButton_type) if ((RuntimeType.UNDEFINED) != (value_primaryButton_type)) { const value_primaryButton_value = value_primaryButton! const value_primaryButton_value_value = value_primaryButton_value.value @@ -27147,7 +26810,7 @@ export class Serializer extends SerializerBase { const value_secondaryButton = value.secondaryButton let value_secondaryButton_type : int32 = RuntimeType.UNDEFINED value_secondaryButton_type = runtimeType(value_secondaryButton) - valueSerializer.writeInt8(value_secondaryButton_type as int32) + valueSerializer.writeInt8(value_secondaryButton_type) if ((RuntimeType.UNDEFINED) != (value_secondaryButton_type)) { const value_secondaryButton_value = value_secondaryButton! const value_secondaryButton_value_value = value_secondaryButton_value.value @@ -27158,7 +26821,7 @@ export class Serializer extends SerializerBase { const value_onStateChange = value.onStateChange let value_onStateChange_type : int32 = RuntimeType.UNDEFINED value_onStateChange_type = runtimeType(value_onStateChange) - valueSerializer.writeInt8(value_onStateChange_type as int32) + valueSerializer.writeInt8(value_onStateChange_type) if ((RuntimeType.UNDEFINED) != (value_onStateChange_type)) { const value_onStateChange_value = value_onStateChange! valueSerializer.holdAndWriteCallback(value_onStateChange_value) @@ -27166,23 +26829,23 @@ export class Serializer extends SerializerBase { const value_arrowOffset = value.arrowOffset let value_arrowOffset_type : int32 = RuntimeType.UNDEFINED value_arrowOffset_type = runtimeType(value_arrowOffset) - valueSerializer.writeInt8(value_arrowOffset_type as int32) + valueSerializer.writeInt8(value_arrowOffset_type) if ((RuntimeType.UNDEFINED) != (value_arrowOffset_type)) { const value_arrowOffset_value = value_arrowOffset! let value_arrowOffset_value_type : int32 = RuntimeType.UNDEFINED value_arrowOffset_value_type = runtimeType(value_arrowOffset_value) if (RuntimeType.STRING == value_arrowOffset_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_arrowOffset_value_0 = value_arrowOffset_value as string valueSerializer.writeString(value_arrowOffset_value_0) } else if (RuntimeType.NUMBER == value_arrowOffset_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_arrowOffset_value_1 = value_arrowOffset_value as number valueSerializer.writeNumber(value_arrowOffset_value_1) } else if (RuntimeType.OBJECT == value_arrowOffset_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_arrowOffset_value_2 = value_arrowOffset_value as Resource valueSerializer.writeResource(value_arrowOffset_value_2) } @@ -27190,7 +26853,7 @@ export class Serializer extends SerializerBase { const value_showInSubWindow = value.showInSubWindow let value_showInSubWindow_type : int32 = RuntimeType.UNDEFINED value_showInSubWindow_type = runtimeType(value_showInSubWindow) - valueSerializer.writeInt8(value_showInSubWindow_type as int32) + valueSerializer.writeInt8(value_showInSubWindow_type) if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { const value_showInSubWindow_value = value_showInSubWindow! valueSerializer.writeBoolean(value_showInSubWindow_value) @@ -27198,39 +26861,39 @@ export class Serializer extends SerializerBase { const value_mask = value.mask let value_mask_type : int32 = RuntimeType.UNDEFINED value_mask_type = runtimeType(value_mask) - valueSerializer.writeInt8(value_mask_type as int32) + valueSerializer.writeInt8(value_mask_type) if ((RuntimeType.UNDEFINED) != (value_mask_type)) { const value_mask_value = value_mask! let value_mask_value_type : int32 = RuntimeType.UNDEFINED value_mask_value_type = runtimeType(value_mask_value) if (RuntimeType.BOOLEAN == value_mask_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_mask_value_0 = value_mask_value as boolean valueSerializer.writeBoolean(value_mask_value_0) } else if (RuntimeType.OBJECT == value_mask_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_mask_value_1 = value_mask_value as Literal_ResourceColor_color const value_mask_value_1_color = value_mask_value_1.color let value_mask_value_1_color_type : int32 = RuntimeType.UNDEFINED value_mask_value_1_color_type = runtimeType(value_mask_value_1_color) if (TypeChecker.isColor(value_mask_value_1_color)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_mask_value_1_color_0 = value_mask_value_1_color as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_mask_value_1_color_0)) } else if (RuntimeType.NUMBER == value_mask_value_1_color_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_mask_value_1_color_1 = value_mask_value_1_color as number valueSerializer.writeNumber(value_mask_value_1_color_1) } else if (RuntimeType.STRING == value_mask_value_1_color_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_mask_value_1_color_2 = value_mask_value_1_color as string valueSerializer.writeString(value_mask_value_1_color_2) } else if (RuntimeType.OBJECT == value_mask_value_1_color_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_mask_value_1_color_3 = value_mask_value_1_color as Resource valueSerializer.writeResource(value_mask_value_1_color_3) } @@ -27239,7 +26902,7 @@ export class Serializer extends SerializerBase { const value_messageOptions = value.messageOptions let value_messageOptions_type : int32 = RuntimeType.UNDEFINED value_messageOptions_type = runtimeType(value_messageOptions) - valueSerializer.writeInt8(value_messageOptions_type as int32) + valueSerializer.writeInt8(value_messageOptions_type) if ((RuntimeType.UNDEFINED) != (value_messageOptions_type)) { const value_messageOptions_value = value_messageOptions! valueSerializer.writePopupMessageOptions(value_messageOptions_value) @@ -27247,23 +26910,23 @@ export class Serializer extends SerializerBase { const value_targetSpace = value.targetSpace let value_targetSpace_type : int32 = RuntimeType.UNDEFINED value_targetSpace_type = runtimeType(value_targetSpace) - valueSerializer.writeInt8(value_targetSpace_type as int32) + valueSerializer.writeInt8(value_targetSpace_type) if ((RuntimeType.UNDEFINED) != (value_targetSpace_type)) { const value_targetSpace_value = value_targetSpace! let value_targetSpace_value_type : int32 = RuntimeType.UNDEFINED value_targetSpace_value_type = runtimeType(value_targetSpace_value) if (RuntimeType.STRING == value_targetSpace_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_targetSpace_value_0 = value_targetSpace_value as string valueSerializer.writeString(value_targetSpace_value_0) } else if (RuntimeType.NUMBER == value_targetSpace_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_targetSpace_value_1 = value_targetSpace_value as number valueSerializer.writeNumber(value_targetSpace_value_1) } else if (RuntimeType.OBJECT == value_targetSpace_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_targetSpace_value_2 = value_targetSpace_value as Resource valueSerializer.writeResource(value_targetSpace_value_2) } @@ -27271,7 +26934,7 @@ export class Serializer extends SerializerBase { const value_enableArrow = value.enableArrow let value_enableArrow_type : int32 = RuntimeType.UNDEFINED value_enableArrow_type = runtimeType(value_enableArrow) - valueSerializer.writeInt8(value_enableArrow_type as int32) + valueSerializer.writeInt8(value_enableArrow_type) if ((RuntimeType.UNDEFINED) != (value_enableArrow_type)) { const value_enableArrow_value = value_enableArrow! valueSerializer.writeBoolean(value_enableArrow_value) @@ -27279,7 +26942,7 @@ export class Serializer extends SerializerBase { const value_offset = value.offset let value_offset_type : int32 = RuntimeType.UNDEFINED value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) + valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! valueSerializer.writePosition(value_offset_value) @@ -27287,28 +26950,28 @@ export class Serializer extends SerializerBase { const value_popupColor = value.popupColor let value_popupColor_type : int32 = RuntimeType.UNDEFINED value_popupColor_type = runtimeType(value_popupColor) - valueSerializer.writeInt8(value_popupColor_type as int32) + valueSerializer.writeInt8(value_popupColor_type) if ((RuntimeType.UNDEFINED) != (value_popupColor_type)) { const value_popupColor_value = value_popupColor! let value_popupColor_value_type : int32 = RuntimeType.UNDEFINED value_popupColor_value_type = runtimeType(value_popupColor_value) if (TypeChecker.isColor(value_popupColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_popupColor_value_0 = value_popupColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_popupColor_value_0)) } else if (RuntimeType.STRING == value_popupColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_popupColor_value_1 = value_popupColor_value as string valueSerializer.writeString(value_popupColor_value_1) } else if (RuntimeType.OBJECT == value_popupColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_popupColor_value_2 = value_popupColor_value as Resource valueSerializer.writeResource(value_popupColor_value_2) } else if (RuntimeType.NUMBER == value_popupColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_popupColor_value_3 = value_popupColor_value as number valueSerializer.writeNumber(value_popupColor_value_3) } @@ -27316,7 +26979,7 @@ export class Serializer extends SerializerBase { const value_autoCancel = value.autoCancel let value_autoCancel_type : int32 = RuntimeType.UNDEFINED value_autoCancel_type = runtimeType(value_autoCancel) - valueSerializer.writeInt8(value_autoCancel_type as int32) + valueSerializer.writeInt8(value_autoCancel_type) if ((RuntimeType.UNDEFINED) != (value_autoCancel_type)) { const value_autoCancel_value = value_autoCancel! valueSerializer.writeBoolean(value_autoCancel_value) @@ -27324,23 +26987,23 @@ export class Serializer extends SerializerBase { const value_width = value.width let value_width_type : int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) + valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { const value_width_value = value_width! let value_width_value_type : int32 = RuntimeType.UNDEFINED value_width_value_type = runtimeType(value_width_value) if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_width_value_0 = value_width_value as string valueSerializer.writeString(value_width_value_0) } else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_width_value_1 = value_width_value as number valueSerializer.writeNumber(value_width_value_1) } else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_width_value_2 = value_width_value as Resource valueSerializer.writeResource(value_width_value_2) } @@ -27348,7 +27011,7 @@ export class Serializer extends SerializerBase { const value_arrowPointPosition = value.arrowPointPosition let value_arrowPointPosition_type : int32 = RuntimeType.UNDEFINED value_arrowPointPosition_type = runtimeType(value_arrowPointPosition) - valueSerializer.writeInt8(value_arrowPointPosition_type as int32) + valueSerializer.writeInt8(value_arrowPointPosition_type) if ((RuntimeType.UNDEFINED) != (value_arrowPointPosition_type)) { const value_arrowPointPosition_value = (value_arrowPointPosition as ArrowPointPosition) valueSerializer.writeInt32(TypeChecker.ArrowPointPosition_ToNumeric(value_arrowPointPosition_value)) @@ -27356,23 +27019,23 @@ export class Serializer extends SerializerBase { const value_arrowWidth = value.arrowWidth let value_arrowWidth_type : int32 = RuntimeType.UNDEFINED value_arrowWidth_type = runtimeType(value_arrowWidth) - valueSerializer.writeInt8(value_arrowWidth_type as int32) + valueSerializer.writeInt8(value_arrowWidth_type) if ((RuntimeType.UNDEFINED) != (value_arrowWidth_type)) { const value_arrowWidth_value = value_arrowWidth! let value_arrowWidth_value_type : int32 = RuntimeType.UNDEFINED value_arrowWidth_value_type = runtimeType(value_arrowWidth_value) if (RuntimeType.STRING == value_arrowWidth_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_arrowWidth_value_0 = value_arrowWidth_value as string valueSerializer.writeString(value_arrowWidth_value_0) } else if (RuntimeType.NUMBER == value_arrowWidth_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_arrowWidth_value_1 = value_arrowWidth_value as number valueSerializer.writeNumber(value_arrowWidth_value_1) } else if (RuntimeType.OBJECT == value_arrowWidth_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_arrowWidth_value_2 = value_arrowWidth_value as Resource valueSerializer.writeResource(value_arrowWidth_value_2) } @@ -27380,23 +27043,23 @@ export class Serializer extends SerializerBase { const value_arrowHeight = value.arrowHeight let value_arrowHeight_type : int32 = RuntimeType.UNDEFINED value_arrowHeight_type = runtimeType(value_arrowHeight) - valueSerializer.writeInt8(value_arrowHeight_type as int32) + valueSerializer.writeInt8(value_arrowHeight_type) if ((RuntimeType.UNDEFINED) != (value_arrowHeight_type)) { const value_arrowHeight_value = value_arrowHeight! let value_arrowHeight_value_type : int32 = RuntimeType.UNDEFINED value_arrowHeight_value_type = runtimeType(value_arrowHeight_value) if (RuntimeType.STRING == value_arrowHeight_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_arrowHeight_value_0 = value_arrowHeight_value as string valueSerializer.writeString(value_arrowHeight_value_0) } else if (RuntimeType.NUMBER == value_arrowHeight_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_arrowHeight_value_1 = value_arrowHeight_value as number valueSerializer.writeNumber(value_arrowHeight_value_1) } else if (RuntimeType.OBJECT == value_arrowHeight_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_arrowHeight_value_2 = value_arrowHeight_value as Resource valueSerializer.writeResource(value_arrowHeight_value_2) } @@ -27404,23 +27067,23 @@ export class Serializer extends SerializerBase { const value_radius = value.radius let value_radius_type : int32 = RuntimeType.UNDEFINED value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type as int32) + valueSerializer.writeInt8(value_radius_type) if ((RuntimeType.UNDEFINED) != (value_radius_type)) { const value_radius_value = value_radius! let value_radius_value_type : int32 = RuntimeType.UNDEFINED value_radius_value_type = runtimeType(value_radius_value) if (RuntimeType.STRING == value_radius_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_radius_value_0 = value_radius_value as string valueSerializer.writeString(value_radius_value_0) } else if (RuntimeType.NUMBER == value_radius_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_radius_value_1 = value_radius_value as number valueSerializer.writeNumber(value_radius_value_1) } else if (RuntimeType.OBJECT == value_radius_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_radius_value_2 = value_radius_value as Resource valueSerializer.writeResource(value_radius_value_2) } @@ -27428,18 +27091,18 @@ export class Serializer extends SerializerBase { const value_shadow = value.shadow let value_shadow_type : int32 = RuntimeType.UNDEFINED value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) + valueSerializer.writeInt8(value_shadow_type) if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { const value_shadow_value = value_shadow! let value_shadow_value_type : int32 = RuntimeType.UNDEFINED value_shadow_value_type = runtimeType(value_shadow_value) if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_shadow_value_0 = value_shadow_value as ShadowOptions valueSerializer.writeShadowOptions(value_shadow_value_0) } else if (TypeChecker.isShadowStyle(value_shadow_value)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_shadow_value_1 = value_shadow_value as ShadowStyle valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) } @@ -27447,7 +27110,7 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle = value.backgroundBlurStyle let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) @@ -27455,7 +27118,7 @@ export class Serializer extends SerializerBase { const value_transition = value.transition let value_transition_type : int32 = RuntimeType.UNDEFINED value_transition_type = runtimeType(value_transition) - valueSerializer.writeInt8(value_transition_type as int32) + valueSerializer.writeInt8(value_transition_type) if ((RuntimeType.UNDEFINED) != (value_transition_type)) { const value_transition_value = value_transition! valueSerializer.writeTransitionEffect(value_transition_value) @@ -27463,18 +27126,18 @@ export class Serializer extends SerializerBase { const value_onWillDismiss = value.onWillDismiss let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED value_onWillDismiss_type = runtimeType(value_onWillDismiss) - valueSerializer.writeInt8(value_onWillDismiss_type as int32) + valueSerializer.writeInt8(value_onWillDismiss_type) if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { const value_onWillDismiss_value = value_onWillDismiss! let value_onWillDismiss_value_type : int32 = RuntimeType.UNDEFINED value_onWillDismiss_value_type = runtimeType(value_onWillDismiss_value) if (RuntimeType.BOOLEAN == value_onWillDismiss_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_onWillDismiss_value_0 = value_onWillDismiss_value as boolean valueSerializer.writeBoolean(value_onWillDismiss_value_0) } else if (RuntimeType.FUNCTION == value_onWillDismiss_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_onWillDismiss_value_1 = value_onWillDismiss_value as ((parameter: DismissPopupAction) => void) valueSerializer.holdAndWriteCallback(value_onWillDismiss_value_1) } @@ -27482,7 +27145,7 @@ export class Serializer extends SerializerBase { const value_enableHoverMode = value.enableHoverMode let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) + valueSerializer.writeInt8(value_enableHoverMode_type) if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { const value_enableHoverMode_value = value_enableHoverMode! valueSerializer.writeBoolean(value_enableHoverMode_value) @@ -27490,968 +27153,550 @@ export class Serializer extends SerializerBase { const value_followTransformOfTarget = value.followTransformOfTarget let value_followTransformOfTarget_type : int32 = RuntimeType.UNDEFINED value_followTransformOfTarget_type = runtimeType(value_followTransformOfTarget) - valueSerializer.writeInt8(value_followTransformOfTarget_type as int32) + valueSerializer.writeInt8(value_followTransformOfTarget_type) if ((RuntimeType.UNDEFINED) != (value_followTransformOfTarget_type)) { const value_followTransformOfTarget_value = value_followTransformOfTarget! valueSerializer.writeBoolean(value_followTransformOfTarget_value) } - } - writeRichEditorImageSpanStyle(value: RichEditorImageSpanStyle): void { - let valueSerializer : Serializer = this - const value_size = value.size - let value_size_type : int32 = RuntimeType.UNDEFINED - value_size_type = runtimeType(value_size) - valueSerializer.writeInt8(value_size_type as int32) - if ((RuntimeType.UNDEFINED) != (value_size_type)) { - const value_size_value = value_size! - const value_size_value_0 = value_size_value[0] - let value_size_value_0_type : int32 = RuntimeType.UNDEFINED - value_size_value_0_type = runtimeType(value_size_value_0) - if (RuntimeType.STRING == value_size_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_size_value_0_0 = value_size_value_0 as string - valueSerializer.writeString(value_size_value_0_0) - } - else if (RuntimeType.NUMBER == value_size_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_size_value_0_1 = value_size_value_0 as number - valueSerializer.writeNumber(value_size_value_0_1) - } - else if (RuntimeType.OBJECT == value_size_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_size_value_0_2 = value_size_value_0 as Resource - valueSerializer.writeResource(value_size_value_0_2) - } - const value_size_value_1 = value_size_value[1] - let value_size_value_1_type : int32 = RuntimeType.UNDEFINED - value_size_value_1_type = runtimeType(value_size_value_1) - if (RuntimeType.STRING == value_size_value_1_type) { - valueSerializer.writeInt8(0 as int32) - const value_size_value_1_0 = value_size_value_1 as string - valueSerializer.writeString(value_size_value_1_0) - } - else if (RuntimeType.NUMBER == value_size_value_1_type) { - valueSerializer.writeInt8(1 as int32) - const value_size_value_1_1 = value_size_value_1 as number - valueSerializer.writeNumber(value_size_value_1_1) - } - else if (RuntimeType.OBJECT == value_size_value_1_type) { - valueSerializer.writeInt8(2 as int32) - const value_size_value_1_2 = value_size_value_1 as Resource - valueSerializer.writeResource(value_size_value_1_2) - } - } - const value_verticalAlign = value.verticalAlign - let value_verticalAlign_type : int32 = RuntimeType.UNDEFINED - value_verticalAlign_type = runtimeType(value_verticalAlign) - valueSerializer.writeInt8(value_verticalAlign_type as int32) - if ((RuntimeType.UNDEFINED) != (value_verticalAlign_type)) { - const value_verticalAlign_value = (value_verticalAlign as ImageSpanAlignment) - valueSerializer.writeInt32(TypeChecker.ImageSpanAlignment_ToNumeric(value_verticalAlign_value)) - } - const value_objectFit = value.objectFit - let value_objectFit_type : int32 = RuntimeType.UNDEFINED - value_objectFit_type = runtimeType(value_objectFit) - valueSerializer.writeInt8(value_objectFit_type as int32) - if ((RuntimeType.UNDEFINED) != (value_objectFit_type)) { - const value_objectFit_value = (value_objectFit as ImageFit) - valueSerializer.writeInt32(TypeChecker.ImageFit_ToNumeric(value_objectFit_value)) - } - const value_layoutStyle = value.layoutStyle - let value_layoutStyle_type : int32 = RuntimeType.UNDEFINED - value_layoutStyle_type = runtimeType(value_layoutStyle) - valueSerializer.writeInt8(value_layoutStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_layoutStyle_type)) { - const value_layoutStyle_value = value_layoutStyle! - valueSerializer.writeRichEditorLayoutStyle(value_layoutStyle_value) - } - } - writeRichEditorImageSpanStyleResult(value: RichEditorImageSpanStyleResult): void { - let valueSerializer : Serializer = this - const value_size = value.size - const value_size_0 = value_size[0] - valueSerializer.writeNumber(value_size_0) - const value_size_1 = value_size[1] - valueSerializer.writeNumber(value_size_1) - const value_verticalAlign = value.verticalAlign - valueSerializer.writeInt32(TypeChecker.ImageSpanAlignment_ToNumeric(value_verticalAlign)) - const value_objectFit = value.objectFit - valueSerializer.writeInt32(TypeChecker.ImageFit_ToNumeric(value_objectFit)) - const value_layoutStyle = value.layoutStyle - let value_layoutStyle_type : int32 = RuntimeType.UNDEFINED - value_layoutStyle_type = runtimeType(value_layoutStyle) - valueSerializer.writeInt8(value_layoutStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_layoutStyle_type)) { - const value_layoutStyle_value = value_layoutStyle! - valueSerializer.writeRichEditorLayoutStyle(value_layoutStyle_value) - } - } - writeRichEditorParagraphStyle(value: RichEditorParagraphStyle): void { - let valueSerializer : Serializer = this - const value_textAlign = value.textAlign - let value_textAlign_type : int32 = RuntimeType.UNDEFINED - value_textAlign_type = runtimeType(value_textAlign) - valueSerializer.writeInt8(value_textAlign_type as int32) - if ((RuntimeType.UNDEFINED) != (value_textAlign_type)) { - const value_textAlign_value = (value_textAlign as TextAlign) - valueSerializer.writeInt32(TypeChecker.TextAlign_ToNumeric(value_textAlign_value)) - } - const value_leadingMargin = value.leadingMargin - let value_leadingMargin_type : int32 = RuntimeType.UNDEFINED - value_leadingMargin_type = runtimeType(value_leadingMargin) - valueSerializer.writeInt8(value_leadingMargin_type as int32) - if ((RuntimeType.UNDEFINED) != (value_leadingMargin_type)) { - const value_leadingMargin_value = value_leadingMargin! - let value_leadingMargin_value_type : int32 = RuntimeType.UNDEFINED - value_leadingMargin_value_type = runtimeType(value_leadingMargin_value) - if ((RuntimeType.STRING == value_leadingMargin_value_type) || (RuntimeType.NUMBER == value_leadingMargin_value_type) || (RuntimeType.OBJECT == value_leadingMargin_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_leadingMargin_value_0 = value_leadingMargin_value as Dimension - let value_leadingMargin_value_0_type : int32 = RuntimeType.UNDEFINED - value_leadingMargin_value_0_type = runtimeType(value_leadingMargin_value_0) - if (RuntimeType.STRING == value_leadingMargin_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_leadingMargin_value_0_0 = value_leadingMargin_value_0 as string - valueSerializer.writeString(value_leadingMargin_value_0_0) - } - else if (RuntimeType.NUMBER == value_leadingMargin_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_leadingMargin_value_0_1 = value_leadingMargin_value_0 as number - valueSerializer.writeNumber(value_leadingMargin_value_0_1) - } - else if (RuntimeType.OBJECT == value_leadingMargin_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_leadingMargin_value_0_2 = value_leadingMargin_value_0 as Resource - valueSerializer.writeResource(value_leadingMargin_value_0_2) - } - } - else if (TypeChecker.isLeadingMarginPlaceholder(value_leadingMargin_value, false, false)) { - valueSerializer.writeInt8(1 as int32) - const value_leadingMargin_value_1 = value_leadingMargin_value as LeadingMarginPlaceholder - valueSerializer.writeLeadingMarginPlaceholder(value_leadingMargin_value_1) - } - } - const value_wordBreak = value.wordBreak - let value_wordBreak_type : int32 = RuntimeType.UNDEFINED - value_wordBreak_type = runtimeType(value_wordBreak) - valueSerializer.writeInt8(value_wordBreak_type as int32) - if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { - const value_wordBreak_value = (value_wordBreak as WordBreak) - valueSerializer.writeInt32(TypeChecker.WordBreak_ToNumeric(value_wordBreak_value)) - } - const value_lineBreakStrategy = value.lineBreakStrategy - let value_lineBreakStrategy_type : int32 = RuntimeType.UNDEFINED - value_lineBreakStrategy_type = runtimeType(value_lineBreakStrategy) - valueSerializer.writeInt8(value_lineBreakStrategy_type as int32) - if ((RuntimeType.UNDEFINED) != (value_lineBreakStrategy_type)) { - const value_lineBreakStrategy_value = (value_lineBreakStrategy as LineBreakStrategy) - valueSerializer.writeInt32(TypeChecker.LineBreakStrategy_ToNumeric(value_lineBreakStrategy_value)) - } - } - writeRichEditorParagraphStyleOptions(value: RichEditorParagraphStyleOptions): void { - let valueSerializer : Serializer = this - const value_start = value.start - let value_start_type : int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeNumber(value_start_value) - } - const value_end = value.end - let value_end_type : int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeNumber(value_end_value) - } - const value_style = value.style - valueSerializer.writeRichEditorParagraphStyle(value_style) - } - writeRichEditorUpdateImageSpanStyleOptions(value: RichEditorUpdateImageSpanStyleOptions): void { - let valueSerializer : Serializer = this - const value_start = value.start - let value_start_type : int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeNumber(value_start_value) - } - const value_end = value.end - let value_end_type : int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type as int32) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeNumber(value_end_value) - } - const value_imageStyle = value.imageStyle - valueSerializer.writeRichEditorImageSpanStyle(value_imageStyle) - } - writeRunMetrics(value: RunMetrics): void { - let valueSerializer : Serializer = this - const value_textStyle = value.textStyle - valueSerializer.writetext_TextStyle(value_textStyle) - const value_fontMetrics = value.fontMetrics - valueSerializer.writeFontMetrics(value_fontMetrics) - } - writeSheetOptions(value: SheetOptions): void { - let valueSerializer : Serializer = this - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_backgroundColor_value_0 = value_backgroundColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) - } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_backgroundColor_value_1 = value_backgroundColor_value as number - valueSerializer.writeNumber(value_backgroundColor_value_1) - } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_backgroundColor_value_2 = value_backgroundColor_value as string - valueSerializer.writeString(value_backgroundColor_value_2) - } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_backgroundColor_value_3 = value_backgroundColor_value as Resource - valueSerializer.writeResource(value_backgroundColor_value_3) - } - } - const value_onAppear = value.onAppear - let value_onAppear_type : int32 = RuntimeType.UNDEFINED - value_onAppear_type = runtimeType(value_onAppear) - valueSerializer.writeInt8(value_onAppear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { - const value_onAppear_value = value_onAppear! - valueSerializer.holdAndWriteCallback(value_onAppear_value) - } - const value_onDisappear = value.onDisappear - let value_onDisappear_type : int32 = RuntimeType.UNDEFINED - value_onDisappear_type = runtimeType(value_onDisappear) - valueSerializer.writeInt8(value_onDisappear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { - const value_onDisappear_value = value_onDisappear! - valueSerializer.holdAndWriteCallback(value_onDisappear_value) - } - const value_onWillAppear = value.onWillAppear - let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED - value_onWillAppear_type = runtimeType(value_onWillAppear) - valueSerializer.writeInt8(value_onWillAppear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { - const value_onWillAppear_value = value_onWillAppear! - valueSerializer.holdAndWriteCallback(value_onWillAppear_value) - } - const value_onWillDisappear = value.onWillDisappear - let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED - value_onWillDisappear_type = runtimeType(value_onWillDisappear) - valueSerializer.writeInt8(value_onWillDisappear_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { - const value_onWillDisappear_value = value_onWillDisappear! - valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) - } - const value_height = value.height - let value_height_type : int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type as int32) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type : int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (TypeChecker.isSheetSize(value_height_value)) { - valueSerializer.writeInt8(0 as int32) - const value_height_value_0 = value_height_value as SheetSize - valueSerializer.writeInt32(TypeChecker.SheetSize_ToNumeric(value_height_value_0)) - } - else if ((RuntimeType.STRING == value_height_value_type) || (RuntimeType.NUMBER == value_height_value_type) || (RuntimeType.OBJECT == value_height_value_type)) { - valueSerializer.writeInt8(1 as int32) - const value_height_value_1 = value_height_value as Length - let value_height_value_1_type : int32 = RuntimeType.UNDEFINED - value_height_value_1_type = runtimeType(value_height_value_1) - if (RuntimeType.STRING == value_height_value_1_type) { - valueSerializer.writeInt8(0 as int32) - const value_height_value_1_0 = value_height_value_1 as string - valueSerializer.writeString(value_height_value_1_0) - } - else if (RuntimeType.NUMBER == value_height_value_1_type) { - valueSerializer.writeInt8(1 as int32) - const value_height_value_1_1 = value_height_value_1 as number - valueSerializer.writeNumber(value_height_value_1_1) - } - else if (RuntimeType.OBJECT == value_height_value_1_type) { - valueSerializer.writeInt8(2 as int32) - const value_height_value_1_2 = value_height_value_1 as Resource - valueSerializer.writeResource(value_height_value_1_2) - } + const value_keyboardAvoidMode = value.keyboardAvoidMode + let value_keyboardAvoidMode_type : int32 = RuntimeType.UNDEFINED + value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode) + valueSerializer.writeInt8(value_keyboardAvoidMode_type) + if ((RuntimeType.UNDEFINED) != (value_keyboardAvoidMode_type)) { + const value_keyboardAvoidMode_value = (value_keyboardAvoidMode as KeyboardAvoidMode) + valueSerializer.writeInt32(TypeChecker.KeyboardAvoidMode_ToNumeric(value_keyboardAvoidMode_value)) + } + } + public writeResourceImageAttachmentOptions(value: ResourceImageAttachmentOptions): void { + let valueSerializer : Serializer = this + const value_resourceValue = value.resourceValue + let value_resourceValue_type : int32 = RuntimeType.UNDEFINED + value_resourceValue_type = runtimeType(value_resourceValue) + valueSerializer.writeInt8(value_resourceValue_type) + if ((RuntimeType.UNDEFINED) != (value_resourceValue_type)) { + const value_resourceValue_value = value_resourceValue! + let value_resourceValue_value_type : int32 = RuntimeType.UNDEFINED + value_resourceValue_value_type = runtimeType(value_resourceValue_value) + if (RuntimeType.STRING == value_resourceValue_value_type) { + valueSerializer.writeInt8(0) + const value_resourceValue_value_0 = value_resourceValue_value as string + valueSerializer.writeString(value_resourceValue_value_0) + } + else if (RuntimeType.OBJECT == value_resourceValue_value_type) { + valueSerializer.writeInt8(1) + const value_resourceValue_value_1 = value_resourceValue_value as Resource + valueSerializer.writeResource(value_resourceValue_value_1) } } - const value_dragBar = value.dragBar - let value_dragBar_type : int32 = RuntimeType.UNDEFINED - value_dragBar_type = runtimeType(value_dragBar) - valueSerializer.writeInt8(value_dragBar_type as int32) - if ((RuntimeType.UNDEFINED) != (value_dragBar_type)) { - const value_dragBar_value = value_dragBar! - valueSerializer.writeBoolean(value_dragBar_value) + const value_size = value.size + let value_size_type : int32 = RuntimeType.UNDEFINED + value_size_type = runtimeType(value_size) + valueSerializer.writeInt8(value_size_type) + if ((RuntimeType.UNDEFINED) != (value_size_type)) { + const value_size_value = value_size! + valueSerializer.writeSizeOptions(value_size_value) } - const value_maskColor = value.maskColor - let value_maskColor_type : int32 = RuntimeType.UNDEFINED - value_maskColor_type = runtimeType(value_maskColor) - valueSerializer.writeInt8(value_maskColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maskColor_type)) { - const value_maskColor_value = value_maskColor! - let value_maskColor_value_type : int32 = RuntimeType.UNDEFINED - value_maskColor_value_type = runtimeType(value_maskColor_value) - if (TypeChecker.isColor(value_maskColor_value)) { - valueSerializer.writeInt8(0 as int32) - const value_maskColor_value_0 = value_maskColor_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_maskColor_value_0)) + const value_verticalAlign = value.verticalAlign + let value_verticalAlign_type : int32 = RuntimeType.UNDEFINED + value_verticalAlign_type = runtimeType(value_verticalAlign) + valueSerializer.writeInt8(value_verticalAlign_type) + if ((RuntimeType.UNDEFINED) != (value_verticalAlign_type)) { + const value_verticalAlign_value = (value_verticalAlign as ImageSpanAlignment) + valueSerializer.writeInt32(TypeChecker.ImageSpanAlignment_ToNumeric(value_verticalAlign_value)) + } + const value_objectFit = value.objectFit + let value_objectFit_type : int32 = RuntimeType.UNDEFINED + value_objectFit_type = runtimeType(value_objectFit) + valueSerializer.writeInt8(value_objectFit_type) + if ((RuntimeType.UNDEFINED) != (value_objectFit_type)) { + const value_objectFit_value = (value_objectFit as ImageFit) + valueSerializer.writeInt32(TypeChecker.ImageFit_ToNumeric(value_objectFit_value)) + } + const value_layoutStyle = value.layoutStyle + let value_layoutStyle_type : int32 = RuntimeType.UNDEFINED + value_layoutStyle_type = runtimeType(value_layoutStyle) + valueSerializer.writeInt8(value_layoutStyle_type) + if ((RuntimeType.UNDEFINED) != (value_layoutStyle_type)) { + const value_layoutStyle_value = value_layoutStyle! + valueSerializer.writeImageAttachmentLayoutStyle(value_layoutStyle_value) + } + const value_colorFilter = value.colorFilter + let value_colorFilter_type : int32 = RuntimeType.UNDEFINED + value_colorFilter_type = runtimeType(value_colorFilter) + valueSerializer.writeInt8(value_colorFilter_type) + if ((RuntimeType.UNDEFINED) != (value_colorFilter_type)) { + const value_colorFilter_value = value_colorFilter! + let value_colorFilter_value_type : int32 = RuntimeType.UNDEFINED + value_colorFilter_value_type = runtimeType(value_colorFilter_value) + if (TypeChecker.isColorFilter(value_colorFilter_value)) { + valueSerializer.writeInt8(0) + const value_colorFilter_value_0 = value_colorFilter_value as ColorFilter + valueSerializer.writeColorFilter(value_colorFilter_value_0) } - else if (RuntimeType.NUMBER == value_maskColor_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_maskColor_value_1 = value_maskColor_value as number - valueSerializer.writeNumber(value_maskColor_value_1) + else if (TypeChecker.isDrawingColorFilter(value_colorFilter_value)) { + valueSerializer.writeInt8(1) + const value_colorFilter_value_1 = value_colorFilter_value as DrawingColorFilter + valueSerializer.writeDrawingColorFilter(value_colorFilter_value_1) } - else if (RuntimeType.STRING == value_maskColor_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_maskColor_value_2 = value_maskColor_value as string - valueSerializer.writeString(value_maskColor_value_2) + } + const value_syncLoad = value.syncLoad + let value_syncLoad_type : int32 = RuntimeType.UNDEFINED + value_syncLoad_type = runtimeType(value_syncLoad) + valueSerializer.writeInt8(value_syncLoad_type) + if ((RuntimeType.UNDEFINED) != (value_syncLoad_type)) { + const value_syncLoad_value = value_syncLoad! + valueSerializer.writeBoolean(value_syncLoad_value) + } + } + public writeRichEditorImageSpanStyle(value: RichEditorImageSpanStyle): void { + let valueSerializer : Serializer = this + const value_size = value.size + let value_size_type : int32 = RuntimeType.UNDEFINED + value_size_type = runtimeType(value_size) + valueSerializer.writeInt8(value_size_type) + if ((RuntimeType.UNDEFINED) != (value_size_type)) { + const value_size_value = value_size! + const value_size_value_0 = value_size_value[0] + let value_size_value_0_type : int32 = RuntimeType.UNDEFINED + value_size_value_0_type = runtimeType(value_size_value_0) + if (RuntimeType.STRING == value_size_value_0_type) { + valueSerializer.writeInt8(0) + const value_size_value_0_0 = value_size_value_0 as string + valueSerializer.writeString(value_size_value_0_0) } - else if (RuntimeType.OBJECT == value_maskColor_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_maskColor_value_3 = value_maskColor_value as Resource - valueSerializer.writeResource(value_maskColor_value_3) + else if (RuntimeType.NUMBER == value_size_value_0_type) { + valueSerializer.writeInt8(1) + const value_size_value_0_1 = value_size_value_0 as number + valueSerializer.writeNumber(value_size_value_0_1) } - } - const value_detents = value.detents - let value_detents_type : int32 = RuntimeType.UNDEFINED - value_detents_type = runtimeType(value_detents) - valueSerializer.writeInt8(value_detents_type as int32) - if ((RuntimeType.UNDEFINED) != (value_detents_type)) { - const value_detents_value = value_detents! - const value_detents_value_0 = value_detents_value[0] - let value_detents_value_0_type : int32 = RuntimeType.UNDEFINED - value_detents_value_0_type = runtimeType(value_detents_value_0) - if (TypeChecker.isSheetSize(value_detents_value_0)) { - valueSerializer.writeInt8(0 as int32) - const value_detents_value_0_0 = value_detents_value_0 as SheetSize - valueSerializer.writeInt32(TypeChecker.SheetSize_ToNumeric(value_detents_value_0_0)) + else if (RuntimeType.OBJECT == value_size_value_0_type) { + valueSerializer.writeInt8(2) + const value_size_value_0_2 = value_size_value_0 as Resource + valueSerializer.writeResource(value_size_value_0_2) } - else if ((RuntimeType.STRING == value_detents_value_0_type) || (RuntimeType.NUMBER == value_detents_value_0_type) || (RuntimeType.OBJECT == value_detents_value_0_type)) { - valueSerializer.writeInt8(1 as int32) - const value_detents_value_0_1 = value_detents_value_0 as Length - let value_detents_value_0_1_type : int32 = RuntimeType.UNDEFINED - value_detents_value_0_1_type = runtimeType(value_detents_value_0_1) - if (RuntimeType.STRING == value_detents_value_0_1_type) { - valueSerializer.writeInt8(0 as int32) - const value_detents_value_0_1_0 = value_detents_value_0_1 as string - valueSerializer.writeString(value_detents_value_0_1_0) - } - else if (RuntimeType.NUMBER == value_detents_value_0_1_type) { - valueSerializer.writeInt8(1 as int32) - const value_detents_value_0_1_1 = value_detents_value_0_1 as number - valueSerializer.writeNumber(value_detents_value_0_1_1) - } - else if (RuntimeType.OBJECT == value_detents_value_0_1_type) { - valueSerializer.writeInt8(2 as int32) - const value_detents_value_0_1_2 = value_detents_value_0_1 as Resource - valueSerializer.writeResource(value_detents_value_0_1_2) - } + const value_size_value_1 = value_size_value[1] + let value_size_value_1_type : int32 = RuntimeType.UNDEFINED + value_size_value_1_type = runtimeType(value_size_value_1) + if (RuntimeType.STRING == value_size_value_1_type) { + valueSerializer.writeInt8(0) + const value_size_value_1_0 = value_size_value_1 as string + valueSerializer.writeString(value_size_value_1_0) } - const value_detents_value_1 = value_detents_value[1] - let value_detents_value_1_type : int32 = RuntimeType.UNDEFINED - value_detents_value_1_type = runtimeType(value_detents_value_1) - valueSerializer.writeInt8(value_detents_value_1_type as int32) - if ((RuntimeType.UNDEFINED) != (value_detents_value_1_type)) { - const value_detents_value_1_value = value_detents_value_1! - let value_detents_value_1_value_type : int32 = RuntimeType.UNDEFINED - value_detents_value_1_value_type = runtimeType(value_detents_value_1_value) - if (TypeChecker.isSheetSize(value_detents_value_1_value)) { - valueSerializer.writeInt8(0 as int32) - const value_detents_value_1_value_0 = value_detents_value_1_value as SheetSize - valueSerializer.writeInt32(TypeChecker.SheetSize_ToNumeric(value_detents_value_1_value_0)) - } - else if ((RuntimeType.STRING == value_detents_value_1_value_type) || (RuntimeType.NUMBER == value_detents_value_1_value_type) || (RuntimeType.OBJECT == value_detents_value_1_value_type)) { - valueSerializer.writeInt8(1 as int32) - const value_detents_value_1_value_1 = value_detents_value_1_value as Length - let value_detents_value_1_value_1_type : int32 = RuntimeType.UNDEFINED - value_detents_value_1_value_1_type = runtimeType(value_detents_value_1_value_1) - if (RuntimeType.STRING == value_detents_value_1_value_1_type) { - valueSerializer.writeInt8(0 as int32) - const value_detents_value_1_value_1_0 = value_detents_value_1_value_1 as string - valueSerializer.writeString(value_detents_value_1_value_1_0) - } - else if (RuntimeType.NUMBER == value_detents_value_1_value_1_type) { - valueSerializer.writeInt8(1 as int32) - const value_detents_value_1_value_1_1 = value_detents_value_1_value_1 as number - valueSerializer.writeNumber(value_detents_value_1_value_1_1) - } - else if (RuntimeType.OBJECT == value_detents_value_1_value_1_type) { - valueSerializer.writeInt8(2 as int32) - const value_detents_value_1_value_1_2 = value_detents_value_1_value_1 as Resource - valueSerializer.writeResource(value_detents_value_1_value_1_2) - } - } + else if (RuntimeType.NUMBER == value_size_value_1_type) { + valueSerializer.writeInt8(1) + const value_size_value_1_1 = value_size_value_1 as number + valueSerializer.writeNumber(value_size_value_1_1) } - const value_detents_value_2 = value_detents_value[2] - let value_detents_value_2_type : int32 = RuntimeType.UNDEFINED - value_detents_value_2_type = runtimeType(value_detents_value_2) - valueSerializer.writeInt8(value_detents_value_2_type as int32) - if ((RuntimeType.UNDEFINED) != (value_detents_value_2_type)) { - const value_detents_value_2_value = value_detents_value_2! - let value_detents_value_2_value_type : int32 = RuntimeType.UNDEFINED - value_detents_value_2_value_type = runtimeType(value_detents_value_2_value) - if (TypeChecker.isSheetSize(value_detents_value_2_value)) { - valueSerializer.writeInt8(0 as int32) - const value_detents_value_2_value_0 = value_detents_value_2_value as SheetSize - valueSerializer.writeInt32(TypeChecker.SheetSize_ToNumeric(value_detents_value_2_value_0)) - } - else if ((RuntimeType.STRING == value_detents_value_2_value_type) || (RuntimeType.NUMBER == value_detents_value_2_value_type) || (RuntimeType.OBJECT == value_detents_value_2_value_type)) { - valueSerializer.writeInt8(1 as int32) - const value_detents_value_2_value_1 = value_detents_value_2_value as Length - let value_detents_value_2_value_1_type : int32 = RuntimeType.UNDEFINED - value_detents_value_2_value_1_type = runtimeType(value_detents_value_2_value_1) - if (RuntimeType.STRING == value_detents_value_2_value_1_type) { - valueSerializer.writeInt8(0 as int32) - const value_detents_value_2_value_1_0 = value_detents_value_2_value_1 as string - valueSerializer.writeString(value_detents_value_2_value_1_0) - } - else if (RuntimeType.NUMBER == value_detents_value_2_value_1_type) { - valueSerializer.writeInt8(1 as int32) - const value_detents_value_2_value_1_1 = value_detents_value_2_value_1 as number - valueSerializer.writeNumber(value_detents_value_2_value_1_1) - } - else if (RuntimeType.OBJECT == value_detents_value_2_value_1_type) { - valueSerializer.writeInt8(2 as int32) - const value_detents_value_2_value_1_2 = value_detents_value_2_value_1 as Resource - valueSerializer.writeResource(value_detents_value_2_value_1_2) - } - } + else if (RuntimeType.OBJECT == value_size_value_1_type) { + valueSerializer.writeInt8(2) + const value_size_value_1_2 = value_size_value_1 as Resource + valueSerializer.writeResource(value_size_value_1_2) } } - const value_blurStyle = value.blurStyle - let value_blurStyle_type : int32 = RuntimeType.UNDEFINED - value_blurStyle_type = runtimeType(value_blurStyle) - valueSerializer.writeInt8(value_blurStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_blurStyle_type)) { - const value_blurStyle_value = (value_blurStyle as BlurStyle) - valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_blurStyle_value)) + const value_verticalAlign = value.verticalAlign + let value_verticalAlign_type : int32 = RuntimeType.UNDEFINED + value_verticalAlign_type = runtimeType(value_verticalAlign) + valueSerializer.writeInt8(value_verticalAlign_type) + if ((RuntimeType.UNDEFINED) != (value_verticalAlign_type)) { + const value_verticalAlign_value = (value_verticalAlign as ImageSpanAlignment) + valueSerializer.writeInt32(TypeChecker.ImageSpanAlignment_ToNumeric(value_verticalAlign_value)) } - const value_showClose = value.showClose - let value_showClose_type : int32 = RuntimeType.UNDEFINED - value_showClose_type = runtimeType(value_showClose) - valueSerializer.writeInt8(value_showClose_type as int32) - if ((RuntimeType.UNDEFINED) != (value_showClose_type)) { - const value_showClose_value = value_showClose! - let value_showClose_value_type : int32 = RuntimeType.UNDEFINED - value_showClose_value_type = runtimeType(value_showClose_value) - if (RuntimeType.BOOLEAN == value_showClose_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_showClose_value_0 = value_showClose_value as boolean - valueSerializer.writeBoolean(value_showClose_value_0) + const value_objectFit = value.objectFit + let value_objectFit_type : int32 = RuntimeType.UNDEFINED + value_objectFit_type = runtimeType(value_objectFit) + valueSerializer.writeInt8(value_objectFit_type) + if ((RuntimeType.UNDEFINED) != (value_objectFit_type)) { + const value_objectFit_value = (value_objectFit as ImageFit) + valueSerializer.writeInt32(TypeChecker.ImageFit_ToNumeric(value_objectFit_value)) + } + const value_layoutStyle = value.layoutStyle + let value_layoutStyle_type : int32 = RuntimeType.UNDEFINED + value_layoutStyle_type = runtimeType(value_layoutStyle) + valueSerializer.writeInt8(value_layoutStyle_type) + if ((RuntimeType.UNDEFINED) != (value_layoutStyle_type)) { + const value_layoutStyle_value = value_layoutStyle! + valueSerializer.writeRichEditorLayoutStyle(value_layoutStyle_value) + } + } + public writeRichEditorImageSpanStyleResult(value: RichEditorImageSpanStyleResult): void { + let valueSerializer : Serializer = this + const value_size = value.size + const value_size_0 = value_size[0] + valueSerializer.writeNumber(value_size_0) + const value_size_1 = value_size[1] + valueSerializer.writeNumber(value_size_1) + const value_verticalAlign = value.verticalAlign + valueSerializer.writeInt32(TypeChecker.ImageSpanAlignment_ToNumeric(value_verticalAlign)) + const value_objectFit = value.objectFit + valueSerializer.writeInt32(TypeChecker.ImageFit_ToNumeric(value_objectFit)) + const value_layoutStyle = value.layoutStyle + let value_layoutStyle_type : int32 = RuntimeType.UNDEFINED + value_layoutStyle_type = runtimeType(value_layoutStyle) + valueSerializer.writeInt8(value_layoutStyle_type) + if ((RuntimeType.UNDEFINED) != (value_layoutStyle_type)) { + const value_layoutStyle_value = value_layoutStyle! + valueSerializer.writeRichEditorLayoutStyle(value_layoutStyle_value) + } + } + public writeRichEditorParagraphResult(value: RichEditorParagraphResult): void { + let valueSerializer : Serializer = this + const value_style = value.style + valueSerializer.writeRichEditorParagraphStyle(value_style) + const value_range = value.range + const value_range_0 = value_range[0] + valueSerializer.writeNumber(value_range_0) + const value_range_1 = value_range[1] + valueSerializer.writeNumber(value_range_1) + } + public writeRichEditorTextStyle(value: RichEditorTextStyle): void { + let valueSerializer : Serializer = this + const value_fontColor = value.fontColor + let value_fontColor_type : int32 = RuntimeType.UNDEFINED + value_fontColor_type = runtimeType(value_fontColor) + valueSerializer.writeInt8(value_fontColor_type) + if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { + const value_fontColor_value = value_fontColor! + let value_fontColor_value_type : int32 = RuntimeType.UNDEFINED + value_fontColor_value_type = runtimeType(value_fontColor_value) + if (TypeChecker.isColor(value_fontColor_value)) { + valueSerializer.writeInt8(0) + const value_fontColor_value_0 = value_fontColor_value as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_value_0)) + } + else if (RuntimeType.NUMBER == value_fontColor_value_type) { + valueSerializer.writeInt8(1) + const value_fontColor_value_1 = value_fontColor_value as number + valueSerializer.writeNumber(value_fontColor_value_1) + } + else if (RuntimeType.STRING == value_fontColor_value_type) { + valueSerializer.writeInt8(2) + const value_fontColor_value_2 = value_fontColor_value as string + valueSerializer.writeString(value_fontColor_value_2) } - else if (RuntimeType.OBJECT == value_showClose_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_showClose_value_1 = value_showClose_value as Resource - valueSerializer.writeResource(value_showClose_value_1) + else if (RuntimeType.OBJECT == value_fontColor_value_type) { + valueSerializer.writeInt8(3) + const value_fontColor_value_3 = value_fontColor_value as Resource + valueSerializer.writeResource(value_fontColor_value_3) } } - const value_preferType = value.preferType - let value_preferType_type : int32 = RuntimeType.UNDEFINED - value_preferType_type = runtimeType(value_preferType) - valueSerializer.writeInt8(value_preferType_type as int32) - if ((RuntimeType.UNDEFINED) != (value_preferType_type)) { - const value_preferType_value = (value_preferType as SheetType) - valueSerializer.writeInt32(TypeChecker.SheetType_ToNumeric(value_preferType_value)) - } - const value_title = value.title - let value_title_type : int32 = RuntimeType.UNDEFINED - value_title_type = runtimeType(value_title) - valueSerializer.writeInt8(value_title_type as int32) - if ((RuntimeType.UNDEFINED) != (value_title_type)) { - const value_title_value = value_title! - let value_title_value_type : int32 = RuntimeType.UNDEFINED - value_title_value_type = runtimeType(value_title_value) - if (RuntimeType.OBJECT == value_title_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_title_value_0 = value_title_value as SheetTitleOptions - valueSerializer.writeSheetTitleOptions(value_title_value_0) + const value_fontSize = value.fontSize + let value_fontSize_type : int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + let value_fontSize_value_type : int32 = RuntimeType.UNDEFINED + value_fontSize_value_type = runtimeType(value_fontSize_value) + if (RuntimeType.STRING == value_fontSize_value_type) { + valueSerializer.writeInt8(0) + const value_fontSize_value_0 = value_fontSize_value as string + valueSerializer.writeString(value_fontSize_value_0) } - else if (RuntimeType.FUNCTION == value_title_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_title_value_1 = value_title_value as CustomBuilder - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_title_value_1)) + else if (RuntimeType.NUMBER == value_fontSize_value_type) { + valueSerializer.writeInt8(1) + const value_fontSize_value_1 = value_fontSize_value as number + valueSerializer.writeNumber(value_fontSize_value_1) + } + else if (RuntimeType.OBJECT == value_fontSize_value_type) { + valueSerializer.writeInt8(2) + const value_fontSize_value_2 = value_fontSize_value as Resource + valueSerializer.writeResource(value_fontSize_value_2) } } - const value_shouldDismiss = value.shouldDismiss - let value_shouldDismiss_type : int32 = RuntimeType.UNDEFINED - value_shouldDismiss_type = runtimeType(value_shouldDismiss) - valueSerializer.writeInt8(value_shouldDismiss_type as int32) - if ((RuntimeType.UNDEFINED) != (value_shouldDismiss_type)) { - const value_shouldDismiss_value = value_shouldDismiss! - valueSerializer.holdAndWriteCallback(value_shouldDismiss_value) - } - const value_onWillDismiss = value.onWillDismiss - let value_onWillDismiss_type : int32 = RuntimeType.UNDEFINED - value_onWillDismiss_type = runtimeType(value_onWillDismiss) - valueSerializer.writeInt8(value_onWillDismiss_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { - const value_onWillDismiss_value = value_onWillDismiss! - valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) - } - const value_onWillSpringBackWhenDismiss = value.onWillSpringBackWhenDismiss - let value_onWillSpringBackWhenDismiss_type : int32 = RuntimeType.UNDEFINED - value_onWillSpringBackWhenDismiss_type = runtimeType(value_onWillSpringBackWhenDismiss) - valueSerializer.writeInt8(value_onWillSpringBackWhenDismiss_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWillSpringBackWhenDismiss_type)) { - const value_onWillSpringBackWhenDismiss_value = value_onWillSpringBackWhenDismiss! - valueSerializer.holdAndWriteCallback(value_onWillSpringBackWhenDismiss_value) - } - const value_enableOutsideInteractive = value.enableOutsideInteractive - let value_enableOutsideInteractive_type : int32 = RuntimeType.UNDEFINED - value_enableOutsideInteractive_type = runtimeType(value_enableOutsideInteractive) - valueSerializer.writeInt8(value_enableOutsideInteractive_type as int32) - if ((RuntimeType.UNDEFINED) != (value_enableOutsideInteractive_type)) { - const value_enableOutsideInteractive_value = value_enableOutsideInteractive! - valueSerializer.writeBoolean(value_enableOutsideInteractive_value) + const value_fontStyle = value.fontStyle + let value_fontStyle_type : int32 = RuntimeType.UNDEFINED + value_fontStyle_type = runtimeType(value_fontStyle) + valueSerializer.writeInt8(value_fontStyle_type) + if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { + const value_fontStyle_value = (value_fontStyle as FontStyle) + valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_fontStyle_value)) } - const value_width = value.width - let value_width_type : int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type as int32) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type : int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_width_value_0 = value_width_value as string - valueSerializer.writeString(value_width_value_0) + const value_fontWeight = value.fontWeight + let value_fontWeight_type : int32 = RuntimeType.UNDEFINED + value_fontWeight_type = runtimeType(value_fontWeight) + valueSerializer.writeInt8(value_fontWeight_type) + if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { + const value_fontWeight_value = value_fontWeight! + let value_fontWeight_value_type : int32 = RuntimeType.UNDEFINED + value_fontWeight_value_type = runtimeType(value_fontWeight_value) + if (RuntimeType.NUMBER == value_fontWeight_value_type) { + valueSerializer.writeInt8(0) + const value_fontWeight_value_0 = value_fontWeight_value as number + valueSerializer.writeNumber(value_fontWeight_value_0) } - else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_width_value_1 = value_width_value as number - valueSerializer.writeNumber(value_width_value_1) + else if (TypeChecker.isFontWeight(value_fontWeight_value)) { + valueSerializer.writeInt8(1) + const value_fontWeight_value_1 = value_fontWeight_value as FontWeight + valueSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_fontWeight_value_1)) } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_width_value_2 = value_width_value as Resource - valueSerializer.writeResource(value_width_value_2) + else if (RuntimeType.STRING == value_fontWeight_value_type) { + valueSerializer.writeInt8(2) + const value_fontWeight_value_2 = value_fontWeight_value as string + valueSerializer.writeString(value_fontWeight_value_2) } } - const value_borderWidth = value.borderWidth - let value_borderWidth_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_type = runtimeType(value_borderWidth) - valueSerializer.writeInt8(value_borderWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { - const value_borderWidth_value = value_borderWidth! - let value_borderWidth_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_type = runtimeType(value_borderWidth_value) - if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0 = value_borderWidth_value as Dimension - let value_borderWidth_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) - if (RuntimeType.STRING == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_0_0 = value_borderWidth_value_0 as string - valueSerializer.writeString(value_borderWidth_value_0_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_0_1 = value_borderWidth_value_0 as number - valueSerializer.writeNumber(value_borderWidth_value_0_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_0_2 = value_borderWidth_value_0 as Resource - valueSerializer.writeResource(value_borderWidth_value_0_2) - } - } - else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (TypeChecker.isEdgeWidths(value_borderWidth_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1 = value_borderWidth_value as EdgeWidths - const value_borderWidth_value_1_top = value_borderWidth_value_1.top - let value_borderWidth_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top) - valueSerializer.writeInt8(value_borderWidth_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const value_borderWidth_value_1_top_value = value_borderWidth_value_1_top! - let value_borderWidth_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_value_type = runtimeType(value_borderWidth_value_1_top_value) - if (RuntimeType.STRING == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_top_value_0 = value_borderWidth_value_1_top_value as string - valueSerializer.writeString(value_borderWidth_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_top_value_1 = value_borderWidth_value_1_top_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_top_value_2 = value_borderWidth_value_1_top_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2) - } - } - const value_borderWidth_value_1_right = value_borderWidth_value_1.right - let value_borderWidth_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right) - valueSerializer.writeInt8(value_borderWidth_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const value_borderWidth_value_1_right_value = value_borderWidth_value_1_right! - let value_borderWidth_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_value_type = runtimeType(value_borderWidth_value_1_right_value) - if (RuntimeType.STRING == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_right_value_0 = value_borderWidth_value_1_right_value as string - valueSerializer.writeString(value_borderWidth_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_right_value_1 = value_borderWidth_value_1_right_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_right_value_2 = value_borderWidth_value_1_right_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2) - } - } - const value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom - let value_borderWidth_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom) - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom! - let value_borderWidth_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_value_type = runtimeType(value_borderWidth_value_1_bottom_value) - if (RuntimeType.STRING == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_bottom_value_0 = value_borderWidth_value_1_bottom_value as string - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_bottom_value_1 = value_borderWidth_value_1_bottom_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_bottom_value_2 = value_borderWidth_value_1_bottom_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2) - } - } - const value_borderWidth_value_1_left = value_borderWidth_value_1.left - let value_borderWidth_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left) - valueSerializer.writeInt8(value_borderWidth_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const value_borderWidth_value_1_left_value = value_borderWidth_value_1_left! - let value_borderWidth_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_value_type = runtimeType(value_borderWidth_value_1_left_value) - if (RuntimeType.STRING == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_borderWidth_value_1_left_value_0 = value_borderWidth_value_1_left_value as string - valueSerializer.writeString(value_borderWidth_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderWidth_value_1_left_value_1 = value_borderWidth_value_1_left_value as number - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_1_left_value_2 = value_borderWidth_value_1_left_value as Resource - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2) - } - } + const value_fontFamily = value.fontFamily + let value_fontFamily_type : int32 = RuntimeType.UNDEFINED + value_fontFamily_type = runtimeType(value_fontFamily) + valueSerializer.writeInt8(value_fontFamily_type) + if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { + const value_fontFamily_value = value_fontFamily! + let value_fontFamily_value_type : int32 = RuntimeType.UNDEFINED + value_fontFamily_value_type = runtimeType(value_fontFamily_value) + if (RuntimeType.STRING == value_fontFamily_value_type) { + valueSerializer.writeInt8(0) + const value_fontFamily_value_0 = value_fontFamily_value as string + valueSerializer.writeString(value_fontFamily_value_0) } - else if (TypeChecker.isLocalizedEdgeWidths(value_borderWidth_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_borderWidth_value_2 = value_borderWidth_value as LocalizedEdgeWidths - valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2) + else if (RuntimeType.OBJECT == value_fontFamily_value_type) { + valueSerializer.writeInt8(1) + const value_fontFamily_value_1 = value_fontFamily_value as Resource + valueSerializer.writeResource(value_fontFamily_value_1) } } - const value_borderColor = value.borderColor - let value_borderColor_type : int32 = RuntimeType.UNDEFINED - value_borderColor_type = runtimeType(value_borderColor) - valueSerializer.writeInt8(value_borderColor_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { - const value_borderColor_value = value_borderColor! - let value_borderColor_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_type = runtimeType(value_borderColor_value) - if ((TypeChecker.isColor(value_borderColor_value)) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0 = value_borderColor_value as ResourceColor - let value_borderColor_value_0_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) - if (TypeChecker.isColor(value_borderColor_value_0)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_0_0 = value_borderColor_value_0 as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_0_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_0_1 = value_borderColor_value_0 as number - valueSerializer.writeNumber(value_borderColor_value_0_1) - } - else if (RuntimeType.STRING == value_borderColor_value_0_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_0_2 = value_borderColor_value_0 as string - valueSerializer.writeString(value_borderColor_value_0_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_0_3 = value_borderColor_value_0 as Resource - valueSerializer.writeResource(value_borderColor_value_0_3) - } + const value_decoration = value.decoration + let value_decoration_type : int32 = RuntimeType.UNDEFINED + value_decoration_type = runtimeType(value_decoration) + valueSerializer.writeInt8(value_decoration_type) + if ((RuntimeType.UNDEFINED) != (value_decoration_type)) { + const value_decoration_value = value_decoration! + valueSerializer.writeDecorationStyleInterface(value_decoration_value) + } + const value_textShadow = value.textShadow + let value_textShadow_type : int32 = RuntimeType.UNDEFINED + value_textShadow_type = runtimeType(value_textShadow) + valueSerializer.writeInt8(value_textShadow_type) + if ((RuntimeType.UNDEFINED) != (value_textShadow_type)) { + const value_textShadow_value = value_textShadow! + let value_textShadow_value_type : int32 = RuntimeType.UNDEFINED + value_textShadow_value_type = runtimeType(value_textShadow_value) + if (TypeChecker.isShadowOptions(value_textShadow_value, false, false, false, false, false, false)) { + valueSerializer.writeInt8(0) + const value_textShadow_value_0 = value_textShadow_value as ShadowOptions + valueSerializer.writeShadowOptions(value_textShadow_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (TypeChecker.isEdgeColors(value_borderColor_value, true, false, true, false))) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1 = value_borderColor_value as EdgeColors - const value_borderColor_value_1_top = value_borderColor_value_1.top - let value_borderColor_value_1_top_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top) - valueSerializer.writeInt8(value_borderColor_value_1_top_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_top_type)) { - const value_borderColor_value_1_top_value = value_borderColor_value_1_top! - let value_borderColor_value_1_top_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_value_type = runtimeType(value_borderColor_value_1_top_value) - if (TypeChecker.isColor(value_borderColor_value_1_top_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_top_value_0 = value_borderColor_value_1_top_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_top_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_top_value_1 = value_borderColor_value_1_top_value as number - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_top_value_2 = value_borderColor_value_1_top_value as string - valueSerializer.writeString(value_borderColor_value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_top_value_3 = value_borderColor_value_1_top_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_top_value_3) - } - } - const value_borderColor_value_1_right = value_borderColor_value_1.right - let value_borderColor_value_1_right_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right) - valueSerializer.writeInt8(value_borderColor_value_1_right_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_right_type)) { - const value_borderColor_value_1_right_value = value_borderColor_value_1_right! - let value_borderColor_value_1_right_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_value_type = runtimeType(value_borderColor_value_1_right_value) - if (TypeChecker.isColor(value_borderColor_value_1_right_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_right_value_0 = value_borderColor_value_1_right_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_right_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_right_value_1 = value_borderColor_value_1_right_value as number - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_right_value_2 = value_borderColor_value_1_right_value as string - valueSerializer.writeString(value_borderColor_value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_right_value_3 = value_borderColor_value_1_right_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_right_value_3) - } - } - const value_borderColor_value_1_bottom = value_borderColor_value_1.bottom - let value_borderColor_value_1_bottom_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom) - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom! - let value_borderColor_value_1_bottom_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_value_type = runtimeType(value_borderColor_value_1_bottom_value) - if (TypeChecker.isColor(value_borderColor_value_1_bottom_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_bottom_value_0 = value_borderColor_value_1_bottom_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_bottom_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_bottom_value_1 = value_borderColor_value_1_bottom_value as number - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_bottom_value_2 = value_borderColor_value_1_bottom_value as string - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_bottom_value_3 = value_borderColor_value_1_bottom_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3) - } - } - const value_borderColor_value_1_left = value_borderColor_value_1.left - let value_borderColor_value_1_left_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left) - valueSerializer.writeInt8(value_borderColor_value_1_left_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_left_type)) { - const value_borderColor_value_1_left_value = value_borderColor_value_1_left! - let value_borderColor_value_1_left_value_type : int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_value_type = runtimeType(value_borderColor_value_1_left_value) - if (TypeChecker.isColor(value_borderColor_value_1_left_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderColor_value_1_left_value_0 = value_borderColor_value_1_left_value as Color - valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_borderColor_value_1_left_value_0)) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderColor_value_1_left_value_1 = value_borderColor_value_1_left_value as number - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_1_left_value_2 = value_borderColor_value_1_left_value as string - valueSerializer.writeString(value_borderColor_value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(3 as int32) - const value_borderColor_value_1_left_value_3 = value_borderColor_value_1_left_value as Resource - valueSerializer.writeResource(value_borderColor_value_1_left_value_3) - } + else if (((RuntimeType.OBJECT) == (value_textShadow_value_type)) && (TypeChecker.isArray_ShadowOptions(value_textShadow_value))) { + valueSerializer.writeInt8(1) + const value_textShadow_value_1 = value_textShadow_value as Array + valueSerializer.writeInt32(value_textShadow_value_1.length as int32) + for (let i = 0; i < value_textShadow_value_1.length; i++) { + const value_textShadow_value_1_element : ShadowOptions = value_textShadow_value_1[i] + valueSerializer.writeShadowOptions(value_textShadow_value_1_element) } } - else if (TypeChecker.isLocalizedEdgeColors(value_borderColor_value, true, false, true, false)) { - valueSerializer.writeInt8(2 as int32) - const value_borderColor_value_2 = value_borderColor_value as LocalizedEdgeColors - valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2) + } + const value_letterSpacing = value.letterSpacing + let value_letterSpacing_type : int32 = RuntimeType.UNDEFINED + value_letterSpacing_type = runtimeType(value_letterSpacing) + valueSerializer.writeInt8(value_letterSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { + const value_letterSpacing_value = value_letterSpacing! + let value_letterSpacing_value_type : int32 = RuntimeType.UNDEFINED + value_letterSpacing_value_type = runtimeType(value_letterSpacing_value) + if (RuntimeType.NUMBER == value_letterSpacing_value_type) { + valueSerializer.writeInt8(0) + const value_letterSpacing_value_0 = value_letterSpacing_value as number + valueSerializer.writeNumber(value_letterSpacing_value_0) + } + else if (RuntimeType.STRING == value_letterSpacing_value_type) { + valueSerializer.writeInt8(1) + const value_letterSpacing_value_1 = value_letterSpacing_value as string + valueSerializer.writeString(value_letterSpacing_value_1) } } - const value_borderStyle = value.borderStyle - let value_borderStyle_type : int32 = RuntimeType.UNDEFINED - value_borderStyle_type = runtimeType(value_borderStyle) - valueSerializer.writeInt8(value_borderStyle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { - const value_borderStyle_value = value_borderStyle! - let value_borderStyle_value_type : int32 = RuntimeType.UNDEFINED - value_borderStyle_value_type = runtimeType(value_borderStyle_value) - if (TypeChecker.isBorderStyle(value_borderStyle_value)) { - valueSerializer.writeInt8(0 as int32) - const value_borderStyle_value_0 = value_borderStyle_value as BorderStyle - valueSerializer.writeInt32(TypeChecker.BorderStyle_ToNumeric(value_borderStyle_value_0)) + const value_lineHeight = value.lineHeight + let value_lineHeight_type : int32 = RuntimeType.UNDEFINED + value_lineHeight_type = runtimeType(value_lineHeight) + valueSerializer.writeInt8(value_lineHeight_type) + if ((RuntimeType.UNDEFINED) != (value_lineHeight_type)) { + const value_lineHeight_value = value_lineHeight! + let value_lineHeight_value_type : int32 = RuntimeType.UNDEFINED + value_lineHeight_value_type = runtimeType(value_lineHeight_value) + if (RuntimeType.NUMBER == value_lineHeight_value_type) { + valueSerializer.writeInt8(0) + const value_lineHeight_value_0 = value_lineHeight_value as number + valueSerializer.writeNumber(value_lineHeight_value_0) } - else if (RuntimeType.OBJECT == value_borderStyle_value_type) { - valueSerializer.writeInt8(1 as int32) - const value_borderStyle_value_1 = value_borderStyle_value as EdgeStyles - valueSerializer.writeEdgeStyles(value_borderStyle_value_1) + else if (RuntimeType.STRING == value_lineHeight_value_type) { + valueSerializer.writeInt8(1) + const value_lineHeight_value_1 = value_lineHeight_value as string + valueSerializer.writeString(value_lineHeight_value_1) } - } - const value_shadow = value.shadow - let value_shadow_type : int32 = RuntimeType.UNDEFINED - value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) - if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { - const value_shadow_value = value_shadow! - let value_shadow_value_type : int32 = RuntimeType.UNDEFINED - value_shadow_value_type = runtimeType(value_shadow_value) - if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0 as int32) - const value_shadow_value_0 = value_shadow_value as ShadowOptions - valueSerializer.writeShadowOptions(value_shadow_value_0) + else if (RuntimeType.OBJECT == value_lineHeight_value_type) { + valueSerializer.writeInt8(2) + const value_lineHeight_value_2 = value_lineHeight_value as Resource + valueSerializer.writeResource(value_lineHeight_value_2) } - else if (TypeChecker.isShadowStyle(value_shadow_value)) { - valueSerializer.writeInt8(1 as int32) - const value_shadow_value_1 = value_shadow_value as ShadowStyle - valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) + } + const value_halfLeading = value.halfLeading + let value_halfLeading_type : int32 = RuntimeType.UNDEFINED + value_halfLeading_type = runtimeType(value_halfLeading) + valueSerializer.writeInt8(value_halfLeading_type) + if ((RuntimeType.UNDEFINED) != (value_halfLeading_type)) { + const value_halfLeading_value = value_halfLeading! + valueSerializer.writeBoolean(value_halfLeading_value) + } + const value_fontFeature = value.fontFeature + let value_fontFeature_type : int32 = RuntimeType.UNDEFINED + value_fontFeature_type = runtimeType(value_fontFeature) + valueSerializer.writeInt8(value_fontFeature_type) + if ((RuntimeType.UNDEFINED) != (value_fontFeature_type)) { + const value_fontFeature_value = value_fontFeature! + valueSerializer.writeString(value_fontFeature_value) + } + const value_textBackgroundStyle = value.textBackgroundStyle + let value_textBackgroundStyle_type : int32 = RuntimeType.UNDEFINED + value_textBackgroundStyle_type = runtimeType(value_textBackgroundStyle) + valueSerializer.writeInt8(value_textBackgroundStyle_type) + if ((RuntimeType.UNDEFINED) != (value_textBackgroundStyle_type)) { + const value_textBackgroundStyle_value = value_textBackgroundStyle! + valueSerializer.writeTextBackgroundStyle(value_textBackgroundStyle_value) + } + } + public writeRichEditorTextStyleResult(value: RichEditorTextStyleResult): void { + let valueSerializer : Serializer = this + const value_fontColor = value.fontColor + let value_fontColor_type : int32 = RuntimeType.UNDEFINED + value_fontColor_type = runtimeType(value_fontColor) + if (TypeChecker.isColor(value_fontColor)) { + valueSerializer.writeInt8(0) + const value_fontColor_0 = value_fontColor as Color + valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_fontColor_0)) + } + else if (RuntimeType.NUMBER == value_fontColor_type) { + valueSerializer.writeInt8(1) + const value_fontColor_1 = value_fontColor as number + valueSerializer.writeNumber(value_fontColor_1) + } + else if (RuntimeType.STRING == value_fontColor_type) { + valueSerializer.writeInt8(2) + const value_fontColor_2 = value_fontColor as string + valueSerializer.writeString(value_fontColor_2) + } + else if (RuntimeType.OBJECT == value_fontColor_type) { + valueSerializer.writeInt8(3) + const value_fontColor_3 = value_fontColor as Resource + valueSerializer.writeResource(value_fontColor_3) + } + const value_fontSize = value.fontSize + valueSerializer.writeNumber(value_fontSize) + const value_fontStyle = value.fontStyle + valueSerializer.writeInt32(TypeChecker.FontStyle_ToNumeric(value_fontStyle)) + const value_fontWeight = value.fontWeight + valueSerializer.writeNumber(value_fontWeight) + const value_fontFamily = value.fontFamily + valueSerializer.writeString(value_fontFamily) + const value_decoration = value.decoration + valueSerializer.writeDecorationStyleResult(value_decoration) + const value_textShadow = value.textShadow + let value_textShadow_type : int32 = RuntimeType.UNDEFINED + value_textShadow_type = runtimeType(value_textShadow) + valueSerializer.writeInt8(value_textShadow_type) + if ((RuntimeType.UNDEFINED) != (value_textShadow_type)) { + const value_textShadow_value = value_textShadow! + valueSerializer.writeInt32(value_textShadow_value.length as int32) + for (let i = 0; i < value_textShadow_value.length; i++) { + const value_textShadow_value_element : ShadowOptions = value_textShadow_value[i] + valueSerializer.writeShadowOptions(value_textShadow_value_element) } } - const value_onHeightDidChange = value.onHeightDidChange - let value_onHeightDidChange_type : int32 = RuntimeType.UNDEFINED - value_onHeightDidChange_type = runtimeType(value_onHeightDidChange) - valueSerializer.writeInt8(value_onHeightDidChange_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onHeightDidChange_type)) { - const value_onHeightDidChange_value = value_onHeightDidChange! - valueSerializer.holdAndWriteCallback(value_onHeightDidChange_value) + const value_letterSpacing = value.letterSpacing + let value_letterSpacing_type : int32 = RuntimeType.UNDEFINED + value_letterSpacing_type = runtimeType(value_letterSpacing) + valueSerializer.writeInt8(value_letterSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { + const value_letterSpacing_value = value_letterSpacing! + valueSerializer.writeNumber(value_letterSpacing_value) } - const value_mode = value.mode - let value_mode_type : int32 = RuntimeType.UNDEFINED - value_mode_type = runtimeType(value_mode) - valueSerializer.writeInt8(value_mode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_mode_type)) { - const value_mode_value = (value_mode as SheetMode) - valueSerializer.writeInt32(TypeChecker.SheetMode_ToNumeric(value_mode_value)) + const value_lineHeight = value.lineHeight + let value_lineHeight_type : int32 = RuntimeType.UNDEFINED + value_lineHeight_type = runtimeType(value_lineHeight) + valueSerializer.writeInt8(value_lineHeight_type) + if ((RuntimeType.UNDEFINED) != (value_lineHeight_type)) { + const value_lineHeight_value = value_lineHeight! + valueSerializer.writeNumber(value_lineHeight_value) } - const value_scrollSizeMode = value.scrollSizeMode - let value_scrollSizeMode_type : int32 = RuntimeType.UNDEFINED - value_scrollSizeMode_type = runtimeType(value_scrollSizeMode) - valueSerializer.writeInt8(value_scrollSizeMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_scrollSizeMode_type)) { - const value_scrollSizeMode_value = (value_scrollSizeMode as ScrollSizeMode) - valueSerializer.writeInt32(TypeChecker.ScrollSizeMode_ToNumeric(value_scrollSizeMode_value)) + const value_halfLeading = value.halfLeading + let value_halfLeading_type : int32 = RuntimeType.UNDEFINED + value_halfLeading_type = runtimeType(value_halfLeading) + valueSerializer.writeInt8(value_halfLeading_type) + if ((RuntimeType.UNDEFINED) != (value_halfLeading_type)) { + const value_halfLeading_value = value_halfLeading! + valueSerializer.writeBoolean(value_halfLeading_value) } - const value_onDetentsDidChange = value.onDetentsDidChange - let value_onDetentsDidChange_type : int32 = RuntimeType.UNDEFINED - value_onDetentsDidChange_type = runtimeType(value_onDetentsDidChange) - valueSerializer.writeInt8(value_onDetentsDidChange_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onDetentsDidChange_type)) { - const value_onDetentsDidChange_value = value_onDetentsDidChange! - valueSerializer.holdAndWriteCallback(value_onDetentsDidChange_value) + const value_fontFeature = value.fontFeature + let value_fontFeature_type : int32 = RuntimeType.UNDEFINED + value_fontFeature_type = runtimeType(value_fontFeature) + valueSerializer.writeInt8(value_fontFeature_type) + if ((RuntimeType.UNDEFINED) != (value_fontFeature_type)) { + const value_fontFeature_value = value_fontFeature! + valueSerializer.writeString(value_fontFeature_value) } - const value_onWidthDidChange = value.onWidthDidChange - let value_onWidthDidChange_type : int32 = RuntimeType.UNDEFINED - value_onWidthDidChange_type = runtimeType(value_onWidthDidChange) - valueSerializer.writeInt8(value_onWidthDidChange_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onWidthDidChange_type)) { - const value_onWidthDidChange_value = value_onWidthDidChange! - valueSerializer.holdAndWriteCallback(value_onWidthDidChange_value) + const value_textBackgroundStyle = value.textBackgroundStyle + let value_textBackgroundStyle_type : int32 = RuntimeType.UNDEFINED + value_textBackgroundStyle_type = runtimeType(value_textBackgroundStyle) + valueSerializer.writeInt8(value_textBackgroundStyle_type) + if ((RuntimeType.UNDEFINED) != (value_textBackgroundStyle_type)) { + const value_textBackgroundStyle_value = value_textBackgroundStyle! + valueSerializer.writeTextBackgroundStyle(value_textBackgroundStyle_value) } - const value_onTypeDidChange = value.onTypeDidChange - let value_onTypeDidChange_type : int32 = RuntimeType.UNDEFINED - value_onTypeDidChange_type = runtimeType(value_onTypeDidChange) - valueSerializer.writeInt8(value_onTypeDidChange_type as int32) - if ((RuntimeType.UNDEFINED) != (value_onTypeDidChange_type)) { - const value_onTypeDidChange_value = value_onTypeDidChange! - valueSerializer.holdAndWriteCallback(value_onTypeDidChange_value) + } + public writeRichEditorUpdateImageSpanStyleOptions(value: RichEditorUpdateImageSpanStyleOptions): void { + let valueSerializer : Serializer = this + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeNumber(value_start_value) } - const value_uiContext = value.uiContext - let value_uiContext_type : int32 = RuntimeType.UNDEFINED - value_uiContext_type = runtimeType(value_uiContext) - valueSerializer.writeInt8(value_uiContext_type as int32) - if ((RuntimeType.UNDEFINED) != (value_uiContext_type)) { - const value_uiContext_value = value_uiContext! - valueSerializer.writeUIContext(value_uiContext_value) + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeNumber(value_end_value) } - const value_keyboardAvoidMode = value.keyboardAvoidMode - let value_keyboardAvoidMode_type : int32 = RuntimeType.UNDEFINED - value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode) - valueSerializer.writeInt8(value_keyboardAvoidMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_keyboardAvoidMode_type)) { - const value_keyboardAvoidMode_value = (value_keyboardAvoidMode as SheetKeyboardAvoidMode) - valueSerializer.writeInt32(TypeChecker.SheetKeyboardAvoidMode_ToNumeric(value_keyboardAvoidMode_value)) + const value_imageStyle = value.imageStyle + valueSerializer.writeRichEditorImageSpanStyle(value_imageStyle) + } + public writeRichEditorUpdateTextSpanStyleOptions(value: RichEditorUpdateTextSpanStyleOptions): void { + let valueSerializer : Serializer = this + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeNumber(value_start_value) + } + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeNumber(value_end_value) + } + const value_textStyle = value.textStyle + valueSerializer.writeRichEditorTextStyle(value_textStyle) + const value_urlStyle = value.urlStyle + let value_urlStyle_type : int32 = RuntimeType.UNDEFINED + value_urlStyle_type = runtimeType(value_urlStyle) + valueSerializer.writeInt8(value_urlStyle_type) + if ((RuntimeType.UNDEFINED) != (value_urlStyle_type)) { + const value_urlStyle_value = value_urlStyle! + valueSerializer.writeRichEditorUrlStyle(value_urlStyle_value) } } - writeStyleOptions(value: StyleOptions): void { + public writeStyleOptions(value: StyleOptions): void { let valueSerializer : Serializer = this const value_start = value.start let value_start_type : int32 = RuntimeType.UNDEFINED value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type as int32) + valueSerializer.writeInt8(value_start_type) if ((RuntimeType.UNDEFINED) != (value_start_type)) { const value_start_value = value_start! valueSerializer.writeNumber(value_start_value) @@ -28459,7 +27704,7 @@ export class Serializer extends SerializerBase { const value_length = value.length let value_length_type : int32 = RuntimeType.UNDEFINED value_length_type = runtimeType(value_length) - valueSerializer.writeInt8(value_length_type as int32) + valueSerializer.writeInt8(value_length_type) if ((RuntimeType.UNDEFINED) != (value_length_type)) { const value_length_value = value_length! valueSerializer.writeNumber(value_length_value) @@ -28470,93 +27715,93 @@ export class Serializer extends SerializerBase { let value_styledValue_type : int32 = RuntimeType.UNDEFINED value_styledValue_type = runtimeType(value_styledValue) if (TypeChecker.isTextStyle_styled_string(value_styledValue, false, false, false, false, false)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_styledValue_0 = value_styledValue as TextStyle_styled_string valueSerializer.writeTextStyle_styled_string(value_styledValue_0) } else if (TypeChecker.isDecorationStyle(value_styledValue, false, false, false)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_styledValue_1 = value_styledValue as DecorationStyle valueSerializer.writeDecorationStyle(value_styledValue_1) } else if (TypeChecker.isBaselineOffsetStyle(value_styledValue, false)) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_styledValue_2 = value_styledValue as BaselineOffsetStyle valueSerializer.writeBaselineOffsetStyle(value_styledValue_2) } else if (TypeChecker.isLetterSpacingStyle(value_styledValue, false)) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_styledValue_3 = value_styledValue as LetterSpacingStyle valueSerializer.writeLetterSpacingStyle(value_styledValue_3) } else if (TypeChecker.isTextShadowStyle(value_styledValue, false)) { - valueSerializer.writeInt8(4 as int32) + valueSerializer.writeInt8(4) const value_styledValue_4 = value_styledValue as TextShadowStyle valueSerializer.writeTextShadowStyle(value_styledValue_4) } else if (TypeChecker.isGestureStyle(value_styledValue)) { - valueSerializer.writeInt8(5 as int32) + valueSerializer.writeInt8(5) const value_styledValue_5 = value_styledValue as GestureStyle valueSerializer.writeGestureStyle(value_styledValue_5) } - else if (TypeChecker.isImageAttachment(value_styledValue, false, false, false, false, false)) { - valueSerializer.writeInt8(6 as int32) + else if (TypeChecker.isImageAttachment(value_styledValue, false, false, false, false, false, false)) { + valueSerializer.writeInt8(6) const value_styledValue_6 = value_styledValue as ImageAttachment valueSerializer.writeImageAttachment(value_styledValue_6) } - else if (TypeChecker.isParagraphStyle(value_styledValue, false, false, false, false, false, false)) { - valueSerializer.writeInt8(7 as int32) + else if (TypeChecker.isParagraphStyle(value_styledValue, false, false, false, false, false, false, false)) { + valueSerializer.writeInt8(7) const value_styledValue_7 = value_styledValue as ParagraphStyle valueSerializer.writeParagraphStyle(value_styledValue_7) } else if (TypeChecker.isLineHeightStyle(value_styledValue, false)) { - valueSerializer.writeInt8(8 as int32) + valueSerializer.writeInt8(8) const value_styledValue_8 = value_styledValue as LineHeightStyle valueSerializer.writeLineHeightStyle(value_styledValue_8) } else if (TypeChecker.isUrlStyle(value_styledValue, false)) { - valueSerializer.writeInt8(9 as int32) + valueSerializer.writeInt8(9) const value_styledValue_9 = value_styledValue as UrlStyle valueSerializer.writeUrlStyle(value_styledValue_9) } else if (TypeChecker.isCustomSpan(value_styledValue, false, false)) { - valueSerializer.writeInt8(10 as int32) + valueSerializer.writeInt8(10) const value_styledValue_10 = value_styledValue as CustomSpan valueSerializer.writeCustomSpan(value_styledValue_10) } else if (RuntimeType.OBJECT == value_styledValue_type) { - valueSerializer.writeInt8(11 as int32) + valueSerializer.writeInt8(11) const value_styledValue_11 = value_styledValue as UserDataSpan valueSerializer.writeUserDataSpan(value_styledValue_11) } else if (TypeChecker.isBackgroundColorStyle(value_styledValue, false)) { - valueSerializer.writeInt8(12 as int32) + valueSerializer.writeInt8(12) const value_styledValue_12 = value_styledValue as BackgroundColorStyle valueSerializer.writeBackgroundColorStyle(value_styledValue_12) } } - writeSubTabBarStyle(value: SubTabBarStyle): void { + public writeSubTabBarStyle(value: SubTabBarStyle): void { let valueSerializer : Serializer = this const value__content = value._content let value__content_type : int32 = RuntimeType.UNDEFINED value__content_type = runtimeType(value__content) - valueSerializer.writeInt8(value__content_type as int32) + valueSerializer.writeInt8(value__content_type) if ((RuntimeType.UNDEFINED) != (value__content_type)) { const value__content_value = value__content! let value__content_value_type : int32 = RuntimeType.UNDEFINED value__content_value_type = runtimeType(value__content_value) if (RuntimeType.STRING == value__content_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__content_value_0 = value__content_value as string valueSerializer.writeString(value__content_value_0) } else if (TypeChecker.isResource(value__content_value, false, false, false, false, false)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__content_value_1 = value__content_value as Resource valueSerializer.writeResource(value__content_value_1) } else if (TypeChecker.isComponentContent(value__content_value)) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value__content_value_2 = value__content_value as ComponentContent valueSerializer.writeComponentContent(value__content_value_2) } @@ -28564,7 +27809,7 @@ export class Serializer extends SerializerBase { const value__indicator = value._indicator let value__indicator_type : int32 = RuntimeType.UNDEFINED value__indicator_type = runtimeType(value__indicator) - valueSerializer.writeInt8(value__indicator_type as int32) + valueSerializer.writeInt8(value__indicator_type) if ((RuntimeType.UNDEFINED) != (value__indicator_type)) { const value__indicator_value = value__indicator! valueSerializer.writeIndicatorStyle(value__indicator_value) @@ -28572,7 +27817,7 @@ export class Serializer extends SerializerBase { const value__selectedMode = value._selectedMode let value__selectedMode_type : int32 = RuntimeType.UNDEFINED value__selectedMode_type = runtimeType(value__selectedMode) - valueSerializer.writeInt8(value__selectedMode_type as int32) + valueSerializer.writeInt8(value__selectedMode_type) if ((RuntimeType.UNDEFINED) != (value__selectedMode_type)) { const value__selectedMode_value = (value__selectedMode as SelectedMode) valueSerializer.writeInt32(TypeChecker.SelectedMode_ToNumeric(value__selectedMode_value)) @@ -28580,7 +27825,7 @@ export class Serializer extends SerializerBase { const value__board = value._board let value__board_type : int32 = RuntimeType.UNDEFINED value__board_type = runtimeType(value__board) - valueSerializer.writeInt8(value__board_type as int32) + valueSerializer.writeInt8(value__board_type) if ((RuntimeType.UNDEFINED) != (value__board_type)) { const value__board_value = value__board! valueSerializer.writeBoardStyle(value__board_value) @@ -28588,7 +27833,7 @@ export class Serializer extends SerializerBase { const value__labelStyle = value._labelStyle let value__labelStyle_type : int32 = RuntimeType.UNDEFINED value__labelStyle_type = runtimeType(value__labelStyle) - valueSerializer.writeInt8(value__labelStyle_type as int32) + valueSerializer.writeInt8(value__labelStyle_type) if ((RuntimeType.UNDEFINED) != (value__labelStyle_type)) { const value__labelStyle_value = value__labelStyle! valueSerializer.writeLabelStyle(value__labelStyle_value) @@ -28596,39 +27841,39 @@ export class Serializer extends SerializerBase { const value__padding = value._padding let value__padding_type : int32 = RuntimeType.UNDEFINED value__padding_type = runtimeType(value__padding) - valueSerializer.writeInt8(value__padding_type as int32) + valueSerializer.writeInt8(value__padding_type) if ((RuntimeType.UNDEFINED) != (value__padding_type)) { const value__padding_value = value__padding! let value__padding_value_type : int32 = RuntimeType.UNDEFINED value__padding_value_type = runtimeType(value__padding_value) if ((TypeChecker.isPadding(value__padding_value, false, false, false, false)) || ((RuntimeType.STRING == value__padding_value_type) || (RuntimeType.NUMBER == value__padding_value_type) || (RuntimeType.OBJECT == value__padding_value_type))) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_0 = value__padding_value as Padding | Dimension let value__padding_value_0_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_type = runtimeType(value__padding_value_0) if (TypeChecker.isPadding(value__padding_value_0, false, false, false, false)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_0_0 = value__padding_value_0 as Padding const value__padding_value_0_0_top = value__padding_value_0_0.top let value__padding_value_0_0_top_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_0_top_type = runtimeType(value__padding_value_0_0_top) - valueSerializer.writeInt8(value__padding_value_0_0_top_type as int32) + valueSerializer.writeInt8(value__padding_value_0_0_top_type) if ((RuntimeType.UNDEFINED) != (value__padding_value_0_0_top_type)) { const value__padding_value_0_0_top_value = value__padding_value_0_0_top! let value__padding_value_0_0_top_value_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_0_top_value_type = runtimeType(value__padding_value_0_0_top_value) if (RuntimeType.STRING == value__padding_value_0_0_top_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_0_0_top_value_0 = value__padding_value_0_0_top_value as string valueSerializer.writeString(value__padding_value_0_0_top_value_0) } else if (RuntimeType.NUMBER == value__padding_value_0_0_top_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_0_0_top_value_1 = value__padding_value_0_0_top_value as number valueSerializer.writeNumber(value__padding_value_0_0_top_value_1) } else if (RuntimeType.OBJECT == value__padding_value_0_0_top_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value__padding_value_0_0_top_value_2 = value__padding_value_0_0_top_value as Resource valueSerializer.writeResource(value__padding_value_0_0_top_value_2) } @@ -28636,23 +27881,23 @@ export class Serializer extends SerializerBase { const value__padding_value_0_0_right = value__padding_value_0_0.right let value__padding_value_0_0_right_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_0_right_type = runtimeType(value__padding_value_0_0_right) - valueSerializer.writeInt8(value__padding_value_0_0_right_type as int32) + valueSerializer.writeInt8(value__padding_value_0_0_right_type) if ((RuntimeType.UNDEFINED) != (value__padding_value_0_0_right_type)) { const value__padding_value_0_0_right_value = value__padding_value_0_0_right! let value__padding_value_0_0_right_value_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_0_right_value_type = runtimeType(value__padding_value_0_0_right_value) if (RuntimeType.STRING == value__padding_value_0_0_right_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_0_0_right_value_0 = value__padding_value_0_0_right_value as string valueSerializer.writeString(value__padding_value_0_0_right_value_0) } else if (RuntimeType.NUMBER == value__padding_value_0_0_right_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_0_0_right_value_1 = value__padding_value_0_0_right_value as number valueSerializer.writeNumber(value__padding_value_0_0_right_value_1) } else if (RuntimeType.OBJECT == value__padding_value_0_0_right_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value__padding_value_0_0_right_value_2 = value__padding_value_0_0_right_value as Resource valueSerializer.writeResource(value__padding_value_0_0_right_value_2) } @@ -28660,23 +27905,23 @@ export class Serializer extends SerializerBase { const value__padding_value_0_0_bottom = value__padding_value_0_0.bottom let value__padding_value_0_0_bottom_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_0_bottom_type = runtimeType(value__padding_value_0_0_bottom) - valueSerializer.writeInt8(value__padding_value_0_0_bottom_type as int32) + valueSerializer.writeInt8(value__padding_value_0_0_bottom_type) if ((RuntimeType.UNDEFINED) != (value__padding_value_0_0_bottom_type)) { const value__padding_value_0_0_bottom_value = value__padding_value_0_0_bottom! let value__padding_value_0_0_bottom_value_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_0_bottom_value_type = runtimeType(value__padding_value_0_0_bottom_value) if (RuntimeType.STRING == value__padding_value_0_0_bottom_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_0_0_bottom_value_0 = value__padding_value_0_0_bottom_value as string valueSerializer.writeString(value__padding_value_0_0_bottom_value_0) } else if (RuntimeType.NUMBER == value__padding_value_0_0_bottom_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_0_0_bottom_value_1 = value__padding_value_0_0_bottom_value as number valueSerializer.writeNumber(value__padding_value_0_0_bottom_value_1) } else if (RuntimeType.OBJECT == value__padding_value_0_0_bottom_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value__padding_value_0_0_bottom_value_2 = value__padding_value_0_0_bottom_value as Resource valueSerializer.writeResource(value__padding_value_0_0_bottom_value_2) } @@ -28684,52 +27929,52 @@ export class Serializer extends SerializerBase { const value__padding_value_0_0_left = value__padding_value_0_0.left let value__padding_value_0_0_left_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_0_left_type = runtimeType(value__padding_value_0_0_left) - valueSerializer.writeInt8(value__padding_value_0_0_left_type as int32) + valueSerializer.writeInt8(value__padding_value_0_0_left_type) if ((RuntimeType.UNDEFINED) != (value__padding_value_0_0_left_type)) { const value__padding_value_0_0_left_value = value__padding_value_0_0_left! let value__padding_value_0_0_left_value_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_0_left_value_type = runtimeType(value__padding_value_0_0_left_value) if (RuntimeType.STRING == value__padding_value_0_0_left_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_0_0_left_value_0 = value__padding_value_0_0_left_value as string valueSerializer.writeString(value__padding_value_0_0_left_value_0) } else if (RuntimeType.NUMBER == value__padding_value_0_0_left_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_0_0_left_value_1 = value__padding_value_0_0_left_value as number valueSerializer.writeNumber(value__padding_value_0_0_left_value_1) } else if (RuntimeType.OBJECT == value__padding_value_0_0_left_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value__padding_value_0_0_left_value_2 = value__padding_value_0_0_left_value as Resource valueSerializer.writeResource(value__padding_value_0_0_left_value_2) } } } else if ((RuntimeType.STRING == value__padding_value_0_type) || (RuntimeType.NUMBER == value__padding_value_0_type) || (RuntimeType.OBJECT == value__padding_value_0_type)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_0_1 = value__padding_value_0 as Dimension let value__padding_value_0_1_type : int32 = RuntimeType.UNDEFINED value__padding_value_0_1_type = runtimeType(value__padding_value_0_1) if (RuntimeType.STRING == value__padding_value_0_1_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value__padding_value_0_1_0 = value__padding_value_0_1 as string valueSerializer.writeString(value__padding_value_0_1_0) } else if (RuntimeType.NUMBER == value__padding_value_0_1_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_0_1_1 = value__padding_value_0_1 as number valueSerializer.writeNumber(value__padding_value_0_1_1) } else if (RuntimeType.OBJECT == value__padding_value_0_1_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value__padding_value_0_1_2 = value__padding_value_0_1 as Resource valueSerializer.writeResource(value__padding_value_0_1_2) } } } else if (TypeChecker.isLocalizedPadding(value__padding_value, false, false, false, false)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value__padding_value_1 = value__padding_value as LocalizedPadding valueSerializer.writeLocalizedPadding(value__padding_value_1) } @@ -28737,19 +27982,19 @@ export class Serializer extends SerializerBase { const value__id = value._id let value__id_type : int32 = RuntimeType.UNDEFINED value__id_type = runtimeType(value__id) - valueSerializer.writeInt8(value__id_type as int32) + valueSerializer.writeInt8(value__id_type) if ((RuntimeType.UNDEFINED) != (value__id_type)) { const value__id_value = value__id! valueSerializer.writeString(value__id_value) } } - writeTextPickerDialogOptions(value: TextPickerDialogOptions): void { + public writeTextPickerDialogOptions(value: TextPickerDialogOptions): void { let valueSerializer : Serializer = this const value_range = value.range let value_range_type : int32 = RuntimeType.UNDEFINED value_range_type = runtimeType(value_range) if (((RuntimeType.OBJECT) == (value_range_type)) && (TypeChecker.isArray_String(value_range))) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_range_0 = value_range as Array valueSerializer.writeInt32(value_range_0.length as int32) for (let i = 0; i < value_range_0.length; i++) { @@ -28758,7 +28003,7 @@ export class Serializer extends SerializerBase { } } else if (((RuntimeType.OBJECT) == (value_range_type)) && (TypeChecker.isArray_Array_String(value_range))) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_range_1 = value_range as Array> valueSerializer.writeInt32(value_range_1.length as int32) for (let i = 0; i < value_range_1.length; i++) { @@ -28771,12 +28016,12 @@ export class Serializer extends SerializerBase { } } else if (TypeChecker.isResource(value_range, false, false, false, false, false)) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_range_2 = value_range as Resource valueSerializer.writeResource(value_range_2) } else if (((RuntimeType.OBJECT) == (value_range_type)) && (TypeChecker.isArray_TextPickerRangeContent(value_range))) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_range_3 = value_range as Array valueSerializer.writeInt32(value_range_3.length as int32) for (let i = 0; i < value_range_3.length; i++) { @@ -28785,7 +28030,7 @@ export class Serializer extends SerializerBase { } } else if (((RuntimeType.OBJECT) == (value_range_type)) && (TypeChecker.isArray_TextCascadePickerRangeContent(value_range))) { - valueSerializer.writeInt8(4 as int32) + valueSerializer.writeInt8(4) const value_range_4 = value_range as Array valueSerializer.writeInt32(value_range_4.length as int32) for (let i = 0; i < value_range_4.length; i++) { @@ -28796,18 +28041,18 @@ export class Serializer extends SerializerBase { const value_value = value.value let value_value_type : int32 = RuntimeType.UNDEFINED value_value_type = runtimeType(value_value) - valueSerializer.writeInt8(value_value_type as int32) + valueSerializer.writeInt8(value_value_type) if ((RuntimeType.UNDEFINED) != (value_value_type)) { const value_value_value = value_value! let value_value_value_type : int32 = RuntimeType.UNDEFINED value_value_value_type = runtimeType(value_value_value) if (RuntimeType.STRING == value_value_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_value_value_0 = value_value_value as string valueSerializer.writeString(value_value_value_0) } else if (RuntimeType.OBJECT == value_value_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_value_value_1 = value_value_value as Array valueSerializer.writeInt32(value_value_value_1.length as int32) for (let i = 0; i < value_value_value_1.length; i++) { @@ -28819,18 +28064,18 @@ export class Serializer extends SerializerBase { const value_selected = value.selected let value_selected_type : int32 = RuntimeType.UNDEFINED value_selected_type = runtimeType(value_selected) - valueSerializer.writeInt8(value_selected_type as int32) + valueSerializer.writeInt8(value_selected_type) if ((RuntimeType.UNDEFINED) != (value_selected_type)) { const value_selected_value = value_selected! let value_selected_value_type : int32 = RuntimeType.UNDEFINED value_selected_value_type = runtimeType(value_selected_value) if (RuntimeType.NUMBER == value_selected_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_selected_value_0 = value_selected_value as number valueSerializer.writeNumber(value_selected_value_0) } else if (RuntimeType.OBJECT == value_selected_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_selected_value_1 = value_selected_value as Array valueSerializer.writeInt32(value_selected_value_1.length as int32) for (let i = 0; i < value_selected_value_1.length; i++) { @@ -28839,21 +28084,33 @@ export class Serializer extends SerializerBase { } } } + const value_columnWidths = value.columnWidths + let value_columnWidths_type : int32 = RuntimeType.UNDEFINED + value_columnWidths_type = runtimeType(value_columnWidths) + valueSerializer.writeInt8(value_columnWidths_type) + if ((RuntimeType.UNDEFINED) != (value_columnWidths_type)) { + const value_columnWidths_value = value_columnWidths! + valueSerializer.writeInt32(value_columnWidths_value.length as int32) + for (let i = 0; i < value_columnWidths_value.length; i++) { + const value_columnWidths_value_element : LengthMetrics = value_columnWidths_value[i] + valueSerializer.writeLengthMetrics(value_columnWidths_value_element) + } + } const value_defaultPickerItemHeight = value.defaultPickerItemHeight let value_defaultPickerItemHeight_type : int32 = RuntimeType.UNDEFINED value_defaultPickerItemHeight_type = runtimeType(value_defaultPickerItemHeight) - valueSerializer.writeInt8(value_defaultPickerItemHeight_type as int32) + valueSerializer.writeInt8(value_defaultPickerItemHeight_type) if ((RuntimeType.UNDEFINED) != (value_defaultPickerItemHeight_type)) { const value_defaultPickerItemHeight_value = value_defaultPickerItemHeight! let value_defaultPickerItemHeight_value_type : int32 = RuntimeType.UNDEFINED value_defaultPickerItemHeight_value_type = runtimeType(value_defaultPickerItemHeight_value) if (RuntimeType.NUMBER == value_defaultPickerItemHeight_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_defaultPickerItemHeight_value_0 = value_defaultPickerItemHeight_value as number valueSerializer.writeNumber(value_defaultPickerItemHeight_value_0) } else if (RuntimeType.STRING == value_defaultPickerItemHeight_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_defaultPickerItemHeight_value_1 = value_defaultPickerItemHeight_value as string valueSerializer.writeString(value_defaultPickerItemHeight_value_1) } @@ -28861,7 +28118,7 @@ export class Serializer extends SerializerBase { const value_canLoop = value.canLoop let value_canLoop_type : int32 = RuntimeType.UNDEFINED value_canLoop_type = runtimeType(value_canLoop) - valueSerializer.writeInt8(value_canLoop_type as int32) + valueSerializer.writeInt8(value_canLoop_type) if ((RuntimeType.UNDEFINED) != (value_canLoop_type)) { const value_canLoop_value = value_canLoop! valueSerializer.writeBoolean(value_canLoop_value) @@ -28869,7 +28126,7 @@ export class Serializer extends SerializerBase { const value_disappearTextStyle = value.disappearTextStyle let value_disappearTextStyle_type : int32 = RuntimeType.UNDEFINED value_disappearTextStyle_type = runtimeType(value_disappearTextStyle) - valueSerializer.writeInt8(value_disappearTextStyle_type as int32) + valueSerializer.writeInt8(value_disappearTextStyle_type) if ((RuntimeType.UNDEFINED) != (value_disappearTextStyle_type)) { const value_disappearTextStyle_value = value_disappearTextStyle! valueSerializer.writePickerTextStyle(value_disappearTextStyle_value) @@ -28877,7 +28134,7 @@ export class Serializer extends SerializerBase { const value_textStyle = value.textStyle let value_textStyle_type : int32 = RuntimeType.UNDEFINED value_textStyle_type = runtimeType(value_textStyle) - valueSerializer.writeInt8(value_textStyle_type as int32) + valueSerializer.writeInt8(value_textStyle_type) if ((RuntimeType.UNDEFINED) != (value_textStyle_type)) { const value_textStyle_value = value_textStyle! valueSerializer.writePickerTextStyle(value_textStyle_value) @@ -28885,7 +28142,7 @@ export class Serializer extends SerializerBase { const value_acceptButtonStyle = value.acceptButtonStyle let value_acceptButtonStyle_type : int32 = RuntimeType.UNDEFINED value_acceptButtonStyle_type = runtimeType(value_acceptButtonStyle) - valueSerializer.writeInt8(value_acceptButtonStyle_type as int32) + valueSerializer.writeInt8(value_acceptButtonStyle_type) if ((RuntimeType.UNDEFINED) != (value_acceptButtonStyle_type)) { const value_acceptButtonStyle_value = value_acceptButtonStyle! valueSerializer.writePickerDialogButtonStyle(value_acceptButtonStyle_value) @@ -28893,7 +28150,7 @@ export class Serializer extends SerializerBase { const value_cancelButtonStyle = value.cancelButtonStyle let value_cancelButtonStyle_type : int32 = RuntimeType.UNDEFINED value_cancelButtonStyle_type = runtimeType(value_cancelButtonStyle) - valueSerializer.writeInt8(value_cancelButtonStyle_type as int32) + valueSerializer.writeInt8(value_cancelButtonStyle_type) if ((RuntimeType.UNDEFINED) != (value_cancelButtonStyle_type)) { const value_cancelButtonStyle_value = value_cancelButtonStyle! valueSerializer.writePickerDialogButtonStyle(value_cancelButtonStyle_value) @@ -28901,15 +28158,31 @@ export class Serializer extends SerializerBase { const value_selectedTextStyle = value.selectedTextStyle let value_selectedTextStyle_type : int32 = RuntimeType.UNDEFINED value_selectedTextStyle_type = runtimeType(value_selectedTextStyle) - valueSerializer.writeInt8(value_selectedTextStyle_type as int32) + valueSerializer.writeInt8(value_selectedTextStyle_type) if ((RuntimeType.UNDEFINED) != (value_selectedTextStyle_type)) { const value_selectedTextStyle_value = value_selectedTextStyle! valueSerializer.writePickerTextStyle(value_selectedTextStyle_value) } + const value_disableTextStyleAnimation = value.disableTextStyleAnimation + let value_disableTextStyleAnimation_type : int32 = RuntimeType.UNDEFINED + value_disableTextStyleAnimation_type = runtimeType(value_disableTextStyleAnimation) + valueSerializer.writeInt8(value_disableTextStyleAnimation_type) + if ((RuntimeType.UNDEFINED) != (value_disableTextStyleAnimation_type)) { + const value_disableTextStyleAnimation_value = value_disableTextStyleAnimation! + valueSerializer.writeBoolean(value_disableTextStyleAnimation_value) + } + const value_defaultTextStyle = value.defaultTextStyle + let value_defaultTextStyle_type : int32 = RuntimeType.UNDEFINED + value_defaultTextStyle_type = runtimeType(value_defaultTextStyle) + valueSerializer.writeInt8(value_defaultTextStyle_type) + if ((RuntimeType.UNDEFINED) != (value_defaultTextStyle_type)) { + const value_defaultTextStyle_value = value_defaultTextStyle! + valueSerializer.writeTextPickerTextStyle(value_defaultTextStyle_value) + } const value_onAccept = value.onAccept let value_onAccept_type : int32 = RuntimeType.UNDEFINED value_onAccept_type = runtimeType(value_onAccept) - valueSerializer.writeInt8(value_onAccept_type as int32) + valueSerializer.writeInt8(value_onAccept_type) if ((RuntimeType.UNDEFINED) != (value_onAccept_type)) { const value_onAccept_value = value_onAccept! valueSerializer.holdAndWriteCallback(value_onAccept_value) @@ -28917,7 +28190,7 @@ export class Serializer extends SerializerBase { const value_onCancel = value.onCancel let value_onCancel_type : int32 = RuntimeType.UNDEFINED value_onCancel_type = runtimeType(value_onCancel) - valueSerializer.writeInt8(value_onCancel_type as int32) + valueSerializer.writeInt8(value_onCancel_type) if ((RuntimeType.UNDEFINED) != (value_onCancel_type)) { const value_onCancel_value = value_onCancel! valueSerializer.holdAndWriteCallback(value_onCancel_value) @@ -28925,15 +28198,31 @@ export class Serializer extends SerializerBase { const value_onChange = value.onChange let value_onChange_type : int32 = RuntimeType.UNDEFINED value_onChange_type = runtimeType(value_onChange) - valueSerializer.writeInt8(value_onChange_type as int32) + valueSerializer.writeInt8(value_onChange_type) if ((RuntimeType.UNDEFINED) != (value_onChange_type)) { const value_onChange_value = value_onChange! valueSerializer.holdAndWriteCallback(value_onChange_value) } + const value_onScrollStop = value.onScrollStop + let value_onScrollStop_type : int32 = RuntimeType.UNDEFINED + value_onScrollStop_type = runtimeType(value_onScrollStop) + valueSerializer.writeInt8(value_onScrollStop_type) + if ((RuntimeType.UNDEFINED) != (value_onScrollStop_type)) { + const value_onScrollStop_value = value_onScrollStop! + valueSerializer.holdAndWriteCallback(value_onScrollStop_value) + } + const value_onEnterSelectedArea = value.onEnterSelectedArea + let value_onEnterSelectedArea_type : int32 = RuntimeType.UNDEFINED + value_onEnterSelectedArea_type = runtimeType(value_onEnterSelectedArea) + valueSerializer.writeInt8(value_onEnterSelectedArea_type) + if ((RuntimeType.UNDEFINED) != (value_onEnterSelectedArea_type)) { + const value_onEnterSelectedArea_value = value_onEnterSelectedArea! + valueSerializer.holdAndWriteCallback(value_onEnterSelectedArea_value) + } const value_maskRect = value.maskRect let value_maskRect_type : int32 = RuntimeType.UNDEFINED value_maskRect_type = runtimeType(value_maskRect) - valueSerializer.writeInt8(value_maskRect_type as int32) + valueSerializer.writeInt8(value_maskRect_type) if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { const value_maskRect_value = value_maskRect! valueSerializer.writeRectangle(value_maskRect_value) @@ -28941,7 +28230,7 @@ export class Serializer extends SerializerBase { const value_alignment = value.alignment let value_alignment_type : int32 = RuntimeType.UNDEFINED value_alignment_type = runtimeType(value_alignment) - valueSerializer.writeInt8(value_alignment_type as int32) + valueSerializer.writeInt8(value_alignment_type) if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { const value_alignment_value = (value_alignment as DialogAlignment) valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) @@ -28949,71 +28238,36 @@ export class Serializer extends SerializerBase { const value_offset = value.offset let value_offset_type : int32 = RuntimeType.UNDEFINED value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) + valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dx_0 = value_offset_value_dx as string - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dx_1 = value_offset_value_dx as number - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dx_2 = value_offset_value_dx as Resource - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dy_0 = value_offset_value_dy as string - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dy_1 = value_offset_value_dy as number - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dy_2 = value_offset_value_dy as Resource - valueSerializer.writeResource(value_offset_value_dy_2) - } + valueSerializer.writeOffset(value_offset_value) } const value_backgroundColor = value.backgroundColor let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) + valueSerializer.writeInt8(value_backgroundColor_type) if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { const value_backgroundColor_value = value_backgroundColor! let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_backgroundColor_value_0 = value_backgroundColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) } else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_backgroundColor_value_1 = value_backgroundColor_value as number valueSerializer.writeNumber(value_backgroundColor_value_1) } else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_backgroundColor_value_2 = value_backgroundColor_value as string valueSerializer.writeString(value_backgroundColor_value_2) } else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_backgroundColor_value_3 = value_backgroundColor_value as Resource valueSerializer.writeResource(value_backgroundColor_value_3) } @@ -29021,15 +28275,31 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle = value.backgroundBlurStyle let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_onDidAppear = value.onDidAppear let value_onDidAppear_type : int32 = RuntimeType.UNDEFINED value_onDidAppear_type = runtimeType(value_onDidAppear) - valueSerializer.writeInt8(value_onDidAppear_type as int32) + valueSerializer.writeInt8(value_onDidAppear_type) if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { const value_onDidAppear_value = value_onDidAppear! valueSerializer.holdAndWriteCallback(value_onDidAppear_value) @@ -29037,7 +28307,7 @@ export class Serializer extends SerializerBase { const value_onDidDisappear = value.onDidDisappear let value_onDidDisappear_type : int32 = RuntimeType.UNDEFINED value_onDidDisappear_type = runtimeType(value_onDidDisappear) - valueSerializer.writeInt8(value_onDidDisappear_type as int32) + valueSerializer.writeInt8(value_onDidDisappear_type) if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { const value_onDidDisappear_value = value_onDidDisappear! valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) @@ -29045,7 +28315,7 @@ export class Serializer extends SerializerBase { const value_onWillAppear = value.onWillAppear let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED value_onWillAppear_type = runtimeType(value_onWillAppear) - valueSerializer.writeInt8(value_onWillAppear_type as int32) + valueSerializer.writeInt8(value_onWillAppear_type) if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { const value_onWillAppear_value = value_onWillAppear! valueSerializer.holdAndWriteCallback(value_onWillAppear_value) @@ -29053,7 +28323,7 @@ export class Serializer extends SerializerBase { const value_onWillDisappear = value.onWillDisappear let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED value_onWillDisappear_type = runtimeType(value_onWillDisappear) - valueSerializer.writeInt8(value_onWillDisappear_type as int32) + valueSerializer.writeInt8(value_onWillDisappear_type) if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { const value_onWillDisappear_value = value_onWillDisappear! valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) @@ -29061,18 +28331,18 @@ export class Serializer extends SerializerBase { const value_shadow = value.shadow let value_shadow_type : int32 = RuntimeType.UNDEFINED value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) + valueSerializer.writeInt8(value_shadow_type) if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { const value_shadow_value = value_shadow! let value_shadow_value_type : int32 = RuntimeType.UNDEFINED value_shadow_value_type = runtimeType(value_shadow_value) if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_shadow_value_0 = value_shadow_value as ShadowOptions valueSerializer.writeShadowOptions(value_shadow_value_0) } else if (TypeChecker.isShadowStyle(value_shadow_value)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_shadow_value_1 = value_shadow_value as ShadowStyle valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) } @@ -29080,7 +28350,7 @@ export class Serializer extends SerializerBase { const value_enableHoverMode = value.enableHoverMode let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) + valueSerializer.writeInt8(value_enableHoverMode_type) if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { const value_enableHoverMode_value = value_enableHoverMode! valueSerializer.writeBoolean(value_enableHoverMode_value) @@ -29088,18 +28358,26 @@ export class Serializer extends SerializerBase { const value_hoverModeArea = value.hoverModeArea let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED value_hoverModeArea_type = runtimeType(value_hoverModeArea) - valueSerializer.writeInt8(value_hoverModeArea_type as int32) + valueSerializer.writeInt8(value_hoverModeArea_type) if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) } + const value_enableHapticFeedback = value.enableHapticFeedback + let value_enableHapticFeedback_type : int32 = RuntimeType.UNDEFINED + value_enableHapticFeedback_type = runtimeType(value_enableHapticFeedback) + valueSerializer.writeInt8(value_enableHapticFeedback_type) + if ((RuntimeType.UNDEFINED) != (value_enableHapticFeedback_type)) { + const value_enableHapticFeedback_value = value_enableHapticFeedback! + valueSerializer.writeBoolean(value_enableHapticFeedback_value) + } } - writeTimePickerDialogOptions(value: TimePickerDialogOptions): void { + public writeTimePickerDialogOptions(value: TimePickerDialogOptions): void { let valueSerializer : Serializer = this const value_selected = value.selected let value_selected_type : int32 = RuntimeType.UNDEFINED value_selected_type = runtimeType(value_selected) - valueSerializer.writeInt8(value_selected_type as int32) + valueSerializer.writeInt8(value_selected_type) if ((RuntimeType.UNDEFINED) != (value_selected_type)) { const value_selected_value = value_selected! valueSerializer.writeInt64((value_selected_value.getTime() as int64)) @@ -29107,15 +28385,31 @@ export class Serializer extends SerializerBase { const value_format = value.format let value_format_type : int32 = RuntimeType.UNDEFINED value_format_type = runtimeType(value_format) - valueSerializer.writeInt8(value_format_type as int32) + valueSerializer.writeInt8(value_format_type) if ((RuntimeType.UNDEFINED) != (value_format_type)) { const value_format_value = (value_format as TimePickerFormat) valueSerializer.writeInt32(TypeChecker.TimePickerFormat_ToNumeric(value_format_value)) } + const value_start = value.start + let value_start_type : int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeInt64((value_start_value.getTime() as int64)) + } + const value_end = value.end + let value_end_type : int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeInt64((value_end_value.getTime() as int64)) + } const value_useMilitaryTime = value.useMilitaryTime let value_useMilitaryTime_type : int32 = RuntimeType.UNDEFINED value_useMilitaryTime_type = runtimeType(value_useMilitaryTime) - valueSerializer.writeInt8(value_useMilitaryTime_type as int32) + valueSerializer.writeInt8(value_useMilitaryTime_type) if ((RuntimeType.UNDEFINED) != (value_useMilitaryTime_type)) { const value_useMilitaryTime_value = value_useMilitaryTime! valueSerializer.writeBoolean(value_useMilitaryTime_value) @@ -29123,7 +28417,7 @@ export class Serializer extends SerializerBase { const value_disappearTextStyle = value.disappearTextStyle let value_disappearTextStyle_type : int32 = RuntimeType.UNDEFINED value_disappearTextStyle_type = runtimeType(value_disappearTextStyle) - valueSerializer.writeInt8(value_disappearTextStyle_type as int32) + valueSerializer.writeInt8(value_disappearTextStyle_type) if ((RuntimeType.UNDEFINED) != (value_disappearTextStyle_type)) { const value_disappearTextStyle_value = value_disappearTextStyle! valueSerializer.writePickerTextStyle(value_disappearTextStyle_value) @@ -29131,7 +28425,7 @@ export class Serializer extends SerializerBase { const value_textStyle = value.textStyle let value_textStyle_type : int32 = RuntimeType.UNDEFINED value_textStyle_type = runtimeType(value_textStyle) - valueSerializer.writeInt8(value_textStyle_type as int32) + valueSerializer.writeInt8(value_textStyle_type) if ((RuntimeType.UNDEFINED) != (value_textStyle_type)) { const value_textStyle_value = value_textStyle! valueSerializer.writePickerTextStyle(value_textStyle_value) @@ -29139,7 +28433,7 @@ export class Serializer extends SerializerBase { const value_acceptButtonStyle = value.acceptButtonStyle let value_acceptButtonStyle_type : int32 = RuntimeType.UNDEFINED value_acceptButtonStyle_type = runtimeType(value_acceptButtonStyle) - valueSerializer.writeInt8(value_acceptButtonStyle_type as int32) + valueSerializer.writeInt8(value_acceptButtonStyle_type) if ((RuntimeType.UNDEFINED) != (value_acceptButtonStyle_type)) { const value_acceptButtonStyle_value = value_acceptButtonStyle! valueSerializer.writePickerDialogButtonStyle(value_acceptButtonStyle_value) @@ -29147,7 +28441,7 @@ export class Serializer extends SerializerBase { const value_cancelButtonStyle = value.cancelButtonStyle let value_cancelButtonStyle_type : int32 = RuntimeType.UNDEFINED value_cancelButtonStyle_type = runtimeType(value_cancelButtonStyle) - valueSerializer.writeInt8(value_cancelButtonStyle_type as int32) + valueSerializer.writeInt8(value_cancelButtonStyle_type) if ((RuntimeType.UNDEFINED) != (value_cancelButtonStyle_type)) { const value_cancelButtonStyle_value = value_cancelButtonStyle! valueSerializer.writePickerDialogButtonStyle(value_cancelButtonStyle_value) @@ -29155,7 +28449,7 @@ export class Serializer extends SerializerBase { const value_selectedTextStyle = value.selectedTextStyle let value_selectedTextStyle_type : int32 = RuntimeType.UNDEFINED value_selectedTextStyle_type = runtimeType(value_selectedTextStyle) - valueSerializer.writeInt8(value_selectedTextStyle_type as int32) + valueSerializer.writeInt8(value_selectedTextStyle_type) if ((RuntimeType.UNDEFINED) != (value_selectedTextStyle_type)) { const value_selectedTextStyle_value = value_selectedTextStyle! valueSerializer.writePickerTextStyle(value_selectedTextStyle_value) @@ -29163,7 +28457,7 @@ export class Serializer extends SerializerBase { const value_maskRect = value.maskRect let value_maskRect_type : int32 = RuntimeType.UNDEFINED value_maskRect_type = runtimeType(value_maskRect) - valueSerializer.writeInt8(value_maskRect_type as int32) + valueSerializer.writeInt8(value_maskRect_type) if ((RuntimeType.UNDEFINED) != (value_maskRect_type)) { const value_maskRect_value = value_maskRect! valueSerializer.writeRectangle(value_maskRect_value) @@ -29171,7 +28465,7 @@ export class Serializer extends SerializerBase { const value_alignment = value.alignment let value_alignment_type : int32 = RuntimeType.UNDEFINED value_alignment_type = runtimeType(value_alignment) - valueSerializer.writeInt8(value_alignment_type as int32) + valueSerializer.writeInt8(value_alignment_type) if ((RuntimeType.UNDEFINED) != (value_alignment_type)) { const value_alignment_value = (value_alignment as DialogAlignment) valueSerializer.writeInt32(TypeChecker.DialogAlignment_ToNumeric(value_alignment_value)) @@ -29179,50 +28473,15 @@ export class Serializer extends SerializerBase { const value_offset = value.offset let value_offset_type : int32 = RuntimeType.UNDEFINED value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) + valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dx_0 = value_offset_value_dx as string - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dx_1 = value_offset_value_dx as number - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dx_2 = value_offset_value_dx as Resource - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type : int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0 as int32) - const value_offset_value_dy_0 = value_offset_value_dy as string - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1 as int32) - const value_offset_value_dy_1 = value_offset_value_dy as number - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2 as int32) - const value_offset_value_dy_2 = value_offset_value_dy as Resource - valueSerializer.writeResource(value_offset_value_dy_2) - } + valueSerializer.writeOffset(value_offset_value) } const value_onAccept = value.onAccept let value_onAccept_type : int32 = RuntimeType.UNDEFINED value_onAccept_type = runtimeType(value_onAccept) - valueSerializer.writeInt8(value_onAccept_type as int32) + valueSerializer.writeInt8(value_onAccept_type) if ((RuntimeType.UNDEFINED) != (value_onAccept_type)) { const value_onAccept_value = value_onAccept! valueSerializer.holdAndWriteCallback(value_onAccept_value) @@ -29230,7 +28489,7 @@ export class Serializer extends SerializerBase { const value_onCancel = value.onCancel let value_onCancel_type : int32 = RuntimeType.UNDEFINED value_onCancel_type = runtimeType(value_onCancel) - valueSerializer.writeInt8(value_onCancel_type as int32) + valueSerializer.writeInt8(value_onCancel_type) if ((RuntimeType.UNDEFINED) != (value_onCancel_type)) { const value_onCancel_value = value_onCancel! valueSerializer.holdAndWriteCallback(value_onCancel_value) @@ -29238,36 +28497,44 @@ export class Serializer extends SerializerBase { const value_onChange = value.onChange let value_onChange_type : int32 = RuntimeType.UNDEFINED value_onChange_type = runtimeType(value_onChange) - valueSerializer.writeInt8(value_onChange_type as int32) + valueSerializer.writeInt8(value_onChange_type) if ((RuntimeType.UNDEFINED) != (value_onChange_type)) { const value_onChange_value = value_onChange! valueSerializer.holdAndWriteCallback(value_onChange_value) } + const value_onEnterSelectedArea = value.onEnterSelectedArea + let value_onEnterSelectedArea_type : int32 = RuntimeType.UNDEFINED + value_onEnterSelectedArea_type = runtimeType(value_onEnterSelectedArea) + valueSerializer.writeInt8(value_onEnterSelectedArea_type) + if ((RuntimeType.UNDEFINED) != (value_onEnterSelectedArea_type)) { + const value_onEnterSelectedArea_value = value_onEnterSelectedArea! + valueSerializer.holdAndWriteCallback(value_onEnterSelectedArea_value) + } const value_backgroundColor = value.backgroundColor let value_backgroundColor_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type as int32) + valueSerializer.writeInt8(value_backgroundColor_type) if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { const value_backgroundColor_value = value_backgroundColor! let value_backgroundColor_value_type : int32 = RuntimeType.UNDEFINED value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) if (TypeChecker.isColor(value_backgroundColor_value)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_backgroundColor_value_0 = value_backgroundColor_value as Color valueSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_backgroundColor_value_0)) } else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_backgroundColor_value_1 = value_backgroundColor_value as number valueSerializer.writeNumber(value_backgroundColor_value_1) } else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_backgroundColor_value_2 = value_backgroundColor_value as string valueSerializer.writeString(value_backgroundColor_value_2) } else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_backgroundColor_value_3 = value_backgroundColor_value as Resource valueSerializer.writeResource(value_backgroundColor_value_3) } @@ -29275,15 +28542,39 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle = value.backgroundBlurStyle let value_backgroundBlurStyle_type : int32 = RuntimeType.UNDEFINED value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type as int32) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { const value_backgroundBlurStyle_value = (value_backgroundBlurStyle as BlurStyle) valueSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_backgroundBlurStyle_value)) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type : int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type : int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } + const value_enableCascade = value.enableCascade + let value_enableCascade_type : int32 = RuntimeType.UNDEFINED + value_enableCascade_type = runtimeType(value_enableCascade) + valueSerializer.writeInt8(value_enableCascade_type) + if ((RuntimeType.UNDEFINED) != (value_enableCascade_type)) { + const value_enableCascade_value = value_enableCascade! + valueSerializer.writeBoolean(value_enableCascade_value) + } const value_onDidAppear = value.onDidAppear let value_onDidAppear_type : int32 = RuntimeType.UNDEFINED value_onDidAppear_type = runtimeType(value_onDidAppear) - valueSerializer.writeInt8(value_onDidAppear_type as int32) + valueSerializer.writeInt8(value_onDidAppear_type) if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { const value_onDidAppear_value = value_onDidAppear! valueSerializer.holdAndWriteCallback(value_onDidAppear_value) @@ -29291,7 +28582,7 @@ export class Serializer extends SerializerBase { const value_onDidDisappear = value.onDidDisappear let value_onDidDisappear_type : int32 = RuntimeType.UNDEFINED value_onDidDisappear_type = runtimeType(value_onDidDisappear) - valueSerializer.writeInt8(value_onDidDisappear_type as int32) + valueSerializer.writeInt8(value_onDidDisappear_type) if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { const value_onDidDisappear_value = value_onDidDisappear! valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) @@ -29299,7 +28590,7 @@ export class Serializer extends SerializerBase { const value_onWillAppear = value.onWillAppear let value_onWillAppear_type : int32 = RuntimeType.UNDEFINED value_onWillAppear_type = runtimeType(value_onWillAppear) - valueSerializer.writeInt8(value_onWillAppear_type as int32) + valueSerializer.writeInt8(value_onWillAppear_type) if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { const value_onWillAppear_value = value_onWillAppear! valueSerializer.holdAndWriteCallback(value_onWillAppear_value) @@ -29307,7 +28598,7 @@ export class Serializer extends SerializerBase { const value_onWillDisappear = value.onWillDisappear let value_onWillDisappear_type : int32 = RuntimeType.UNDEFINED value_onWillDisappear_type = runtimeType(value_onWillDisappear) - valueSerializer.writeInt8(value_onWillDisappear_type as int32) + valueSerializer.writeInt8(value_onWillDisappear_type) if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { const value_onWillDisappear_value = value_onWillDisappear! valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) @@ -29315,18 +28606,18 @@ export class Serializer extends SerializerBase { const value_shadow = value.shadow let value_shadow_type : int32 = RuntimeType.UNDEFINED value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type as int32) + valueSerializer.writeInt8(value_shadow_type) if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { const value_shadow_value = value_shadow! let value_shadow_value_type : int32 = RuntimeType.UNDEFINED value_shadow_value_type = runtimeType(value_shadow_value) if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_shadow_value_0 = value_shadow_value as ShadowOptions valueSerializer.writeShadowOptions(value_shadow_value_0) } else if (TypeChecker.isShadowStyle(value_shadow_value)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_shadow_value_1 = value_shadow_value as ShadowStyle valueSerializer.writeInt32(TypeChecker.ShadowStyle_ToNumeric(value_shadow_value_1)) } @@ -29334,7 +28625,7 @@ export class Serializer extends SerializerBase { const value_dateTimeOptions = value.dateTimeOptions let value_dateTimeOptions_type : int32 = RuntimeType.UNDEFINED value_dateTimeOptions_type = runtimeType(value_dateTimeOptions) - valueSerializer.writeInt8(value_dateTimeOptions_type as int32) + valueSerializer.writeInt8(value_dateTimeOptions_type) if ((RuntimeType.UNDEFINED) != (value_dateTimeOptions_type)) { const value_dateTimeOptions_value = value_dateTimeOptions! valueSerializer.writeDateTimeOptions(value_dateTimeOptions_value) @@ -29342,7 +28633,7 @@ export class Serializer extends SerializerBase { const value_enableHoverMode = value.enableHoverMode let value_enableHoverMode_type : int32 = RuntimeType.UNDEFINED value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type as int32) + valueSerializer.writeInt8(value_enableHoverMode_type) if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { const value_enableHoverMode_value = value_enableHoverMode! valueSerializer.writeBoolean(value_enableHoverMode_value) @@ -29350,37 +28641,26 @@ export class Serializer extends SerializerBase { const value_hoverModeArea = value.hoverModeArea let value_hoverModeArea_type : int32 = RuntimeType.UNDEFINED value_hoverModeArea_type = runtimeType(value_hoverModeArea) - valueSerializer.writeInt8(value_hoverModeArea_type as int32) + valueSerializer.writeInt8(value_hoverModeArea_type) if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { const value_hoverModeArea_value = (value_hoverModeArea as HoverModeAreaType) valueSerializer.writeInt32(TypeChecker.HoverModeAreaType_ToNumeric(value_hoverModeArea_value)) } - } - writeWithThemeOptions(value: WithThemeOptions): void { - let valueSerializer : Serializer = this - const value_theme = value.theme - let value_theme_type : int32 = RuntimeType.UNDEFINED - value_theme_type = runtimeType(value_theme) - valueSerializer.writeInt8(value_theme_type as int32) - if ((RuntimeType.UNDEFINED) != (value_theme_type)) { - const value_theme_value = value_theme! - valueSerializer.writeCustomTheme(value_theme_value) - } - const value_colorMode = value.colorMode - let value_colorMode_type : int32 = RuntimeType.UNDEFINED - value_colorMode_type = runtimeType(value_colorMode) - valueSerializer.writeInt8(value_colorMode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { - const value_colorMode_value = (value_colorMode as ThemeColorMode) - valueSerializer.writeInt32(TypeChecker.ThemeColorMode_ToNumeric(value_colorMode_value)) + const value_enableHapticFeedback = value.enableHapticFeedback + let value_enableHapticFeedback_type : int32 = RuntimeType.UNDEFINED + value_enableHapticFeedback_type = runtimeType(value_enableHapticFeedback) + valueSerializer.writeInt8(value_enableHapticFeedback_type) + if ((RuntimeType.UNDEFINED) != (value_enableHapticFeedback_type)) { + const value_enableHapticFeedback_value = value_enableHapticFeedback! + valueSerializer.writeBoolean(value_enableHapticFeedback_value) } } - writeRichEditorImageSpanOptions(value: RichEditorImageSpanOptions): void { + public writeRichEditorImageSpanOptions(value: RichEditorImageSpanOptions): void { let valueSerializer : Serializer = this const value_offset = value.offset let value_offset_type : int32 = RuntimeType.UNDEFINED value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) + valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! valueSerializer.writeNumber(value_offset_value) @@ -29388,7 +28668,7 @@ export class Serializer extends SerializerBase { const value_imageStyle = value.imageStyle let value_imageStyle_type : int32 = RuntimeType.UNDEFINED value_imageStyle_type = runtimeType(value_imageStyle) - valueSerializer.writeInt8(value_imageStyle_type as int32) + valueSerializer.writeInt8(value_imageStyle_type) if ((RuntimeType.UNDEFINED) != (value_imageStyle_type)) { const value_imageStyle_value = value_imageStyle! valueSerializer.writeRichEditorImageSpanStyle(value_imageStyle_value) @@ -29396,20 +28676,28 @@ export class Serializer extends SerializerBase { const value_gesture = value.gesture let value_gesture_type : int32 = RuntimeType.UNDEFINED value_gesture_type = runtimeType(value_gesture) - valueSerializer.writeInt8(value_gesture_type as int32) + valueSerializer.writeInt8(value_gesture_type) if ((RuntimeType.UNDEFINED) != (value_gesture_type)) { const value_gesture_value = value_gesture! valueSerializer.writeRichEditorGesture(value_gesture_value) } + const value_onHover = value.onHover + let value_onHover_type : int32 = RuntimeType.UNDEFINED + value_onHover_type = runtimeType(value_onHover) + valueSerializer.writeInt8(value_onHover_type) + if ((RuntimeType.UNDEFINED) != (value_onHover_type)) { + const value_onHover_value = value_onHover! + valueSerializer.holdAndWriteCallback(value_onHover_value) + } } - writeRichEditorImageSpanResult(value: RichEditorImageSpanResult): void { + public writeRichEditorImageSpanResult(value: RichEditorImageSpanResult): void { let valueSerializer : Serializer = this const value_spanPosition = value.spanPosition valueSerializer.writeRichEditorSpanPosition(value_spanPosition) const value_valuePixelMap = value.valuePixelMap let value_valuePixelMap_type : int32 = RuntimeType.UNDEFINED value_valuePixelMap_type = runtimeType(value_valuePixelMap) - valueSerializer.writeInt8(value_valuePixelMap_type as int32) + valueSerializer.writeInt8(value_valuePixelMap_type) if ((RuntimeType.UNDEFINED) != (value_valuePixelMap_type)) { const value_valuePixelMap_value = value_valuePixelMap! valueSerializer.writePixelMap(value_valuePixelMap_value) @@ -29417,18 +28705,18 @@ export class Serializer extends SerializerBase { const value_valueResourceStr = value.valueResourceStr let value_valueResourceStr_type : int32 = RuntimeType.UNDEFINED value_valueResourceStr_type = runtimeType(value_valueResourceStr) - valueSerializer.writeInt8(value_valueResourceStr_type as int32) + valueSerializer.writeInt8(value_valueResourceStr_type) if ((RuntimeType.UNDEFINED) != (value_valueResourceStr_type)) { const value_valueResourceStr_value = value_valueResourceStr! let value_valueResourceStr_value_type : int32 = RuntimeType.UNDEFINED value_valueResourceStr_value_type = runtimeType(value_valueResourceStr_value) if (RuntimeType.STRING == value_valueResourceStr_value_type) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_valueResourceStr_value_0 = value_valueResourceStr_value as string valueSerializer.writeString(value_valueResourceStr_value_0) } else if (RuntimeType.OBJECT == value_valueResourceStr_value_type) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_valueResourceStr_value_1 = value_valueResourceStr_value as Resource valueSerializer.writeResource(value_valueResourceStr_value_1) } @@ -29441,22 +28729,12 @@ export class Serializer extends SerializerBase { const value_offsetInSpan_1 = value_offsetInSpan[1] valueSerializer.writeNumber(value_offsetInSpan_1) } - writeRichEditorParagraphResult(value: RichEditorParagraphResult): void { - let valueSerializer : Serializer = this - const value_style = value.style - valueSerializer.writeRichEditorParagraphStyle(value_style) - const value_range = value.range - const value_range_0 = value_range[0] - valueSerializer.writeNumber(value_range_0) - const value_range_1 = value_range[1] - valueSerializer.writeNumber(value_range_1) - } - writeRichEditorTextSpanOptions(value: RichEditorTextSpanOptions): void { + public writeRichEditorTextSpanOptions(value: RichEditorTextSpanOptions): void { let valueSerializer : Serializer = this const value_offset = value.offset let value_offset_type : int32 = RuntimeType.UNDEFINED value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type as int32) + valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! valueSerializer.writeNumber(value_offset_value) @@ -29464,7 +28742,7 @@ export class Serializer extends SerializerBase { const value_style = value.style let value_style_type : int32 = RuntimeType.UNDEFINED value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type as int32) + valueSerializer.writeInt8(value_style_type) if ((RuntimeType.UNDEFINED) != (value_style_type)) { const value_style_value = value_style! valueSerializer.writeRichEditorTextStyle(value_style_value) @@ -29472,7 +28750,7 @@ export class Serializer extends SerializerBase { const value_paragraphStyle = value.paragraphStyle let value_paragraphStyle_type : int32 = RuntimeType.UNDEFINED value_paragraphStyle_type = runtimeType(value_paragraphStyle) - valueSerializer.writeInt8(value_paragraphStyle_type as int32) + valueSerializer.writeInt8(value_paragraphStyle_type) if ((RuntimeType.UNDEFINED) != (value_paragraphStyle_type)) { const value_paragraphStyle_value = value_paragraphStyle! valueSerializer.writeRichEditorParagraphStyle(value_paragraphStyle_value) @@ -29480,13 +28758,21 @@ export class Serializer extends SerializerBase { const value_gesture = value.gesture let value_gesture_type : int32 = RuntimeType.UNDEFINED value_gesture_type = runtimeType(value_gesture) - valueSerializer.writeInt8(value_gesture_type as int32) + valueSerializer.writeInt8(value_gesture_type) if ((RuntimeType.UNDEFINED) != (value_gesture_type)) { const value_gesture_value = value_gesture! valueSerializer.writeRichEditorGesture(value_gesture_value) } + const value_urlStyle = value.urlStyle + let value_urlStyle_type : int32 = RuntimeType.UNDEFINED + value_urlStyle_type = runtimeType(value_urlStyle) + valueSerializer.writeInt8(value_urlStyle_type) + if ((RuntimeType.UNDEFINED) != (value_urlStyle_type)) { + const value_urlStyle_value = value_urlStyle! + valueSerializer.writeRichEditorUrlStyle(value_urlStyle_value) + } } - writeRichEditorTextSpanResult(value: RichEditorTextSpanResult): void { + public writeRichEditorTextSpanResult(value: RichEditorTextSpanResult): void { let valueSerializer : Serializer = this const value_spanPosition = value.spanPosition valueSerializer.writeRichEditorSpanPosition(value_spanPosition) @@ -29502,7 +28788,7 @@ export class Serializer extends SerializerBase { const value_symbolSpanStyle = value.symbolSpanStyle let value_symbolSpanStyle_type : int32 = RuntimeType.UNDEFINED value_symbolSpanStyle_type = runtimeType(value_symbolSpanStyle) - valueSerializer.writeInt8(value_symbolSpanStyle_type as int32) + valueSerializer.writeInt8(value_symbolSpanStyle_type) if ((RuntimeType.UNDEFINED) != (value_symbolSpanStyle_type)) { const value_symbolSpanStyle_value = value_symbolSpanStyle! valueSerializer.writeRichEditorSymbolSpanStyle(value_symbolSpanStyle_value) @@ -29510,7 +28796,7 @@ export class Serializer extends SerializerBase { const value_valueResource = value.valueResource let value_valueResource_type : int32 = RuntimeType.UNDEFINED value_valueResource_type = runtimeType(value_valueResource) - valueSerializer.writeInt8(value_valueResource_type as int32) + valueSerializer.writeInt8(value_valueResource_type) if ((RuntimeType.UNDEFINED) != (value_valueResource_type)) { const value_valueResource_value = value_valueResource! valueSerializer.writeResource(value_valueResource_value) @@ -29518,7 +28804,7 @@ export class Serializer extends SerializerBase { const value_paragraphStyle = value.paragraphStyle let value_paragraphStyle_type : int32 = RuntimeType.UNDEFINED value_paragraphStyle_type = runtimeType(value_paragraphStyle) - valueSerializer.writeInt8(value_paragraphStyle_type as int32) + valueSerializer.writeInt8(value_paragraphStyle_type) if ((RuntimeType.UNDEFINED) != (value_paragraphStyle_type)) { const value_paragraphStyle_value = value_paragraphStyle! valueSerializer.writeRichEditorParagraphStyle(value_paragraphStyle_value) @@ -29526,13 +28812,21 @@ export class Serializer extends SerializerBase { const value_previewText = value.previewText let value_previewText_type : int32 = RuntimeType.UNDEFINED value_previewText_type = runtimeType(value_previewText) - valueSerializer.writeInt8(value_previewText_type as int32) + valueSerializer.writeInt8(value_previewText_type) if ((RuntimeType.UNDEFINED) != (value_previewText_type)) { const value_previewText_value = value_previewText! valueSerializer.writeString(value_previewText_value) } + const value_urlStyle = value.urlStyle + let value_urlStyle_type : int32 = RuntimeType.UNDEFINED + value_urlStyle_type = runtimeType(value_urlStyle) + valueSerializer.writeInt8(value_urlStyle_type) + if ((RuntimeType.UNDEFINED) != (value_urlStyle_type)) { + const value_urlStyle_value = value_urlStyle! + valueSerializer.writeRichEditorUrlStyle(value_urlStyle_value) + } } - writeSpanStyle(value: SpanStyle): void { + public writeSpanStyle(value: SpanStyle): void { let valueSerializer : Serializer = this const value_start = value.start valueSerializer.writeNumber(value_start) @@ -29544,67 +28838,67 @@ export class Serializer extends SerializerBase { let value_styledValue_type : int32 = RuntimeType.UNDEFINED value_styledValue_type = runtimeType(value_styledValue) if (TypeChecker.isTextStyle_styled_string(value_styledValue, false, false, false, false, false)) { - valueSerializer.writeInt8(0 as int32) + valueSerializer.writeInt8(0) const value_styledValue_0 = value_styledValue as TextStyle_styled_string valueSerializer.writeTextStyle_styled_string(value_styledValue_0) } else if (TypeChecker.isDecorationStyle(value_styledValue, false, false, false)) { - valueSerializer.writeInt8(1 as int32) + valueSerializer.writeInt8(1) const value_styledValue_1 = value_styledValue as DecorationStyle valueSerializer.writeDecorationStyle(value_styledValue_1) } else if (TypeChecker.isBaselineOffsetStyle(value_styledValue, false)) { - valueSerializer.writeInt8(2 as int32) + valueSerializer.writeInt8(2) const value_styledValue_2 = value_styledValue as BaselineOffsetStyle valueSerializer.writeBaselineOffsetStyle(value_styledValue_2) } else if (TypeChecker.isLetterSpacingStyle(value_styledValue, false)) { - valueSerializer.writeInt8(3 as int32) + valueSerializer.writeInt8(3) const value_styledValue_3 = value_styledValue as LetterSpacingStyle valueSerializer.writeLetterSpacingStyle(value_styledValue_3) } else if (TypeChecker.isTextShadowStyle(value_styledValue, false)) { - valueSerializer.writeInt8(4 as int32) + valueSerializer.writeInt8(4) const value_styledValue_4 = value_styledValue as TextShadowStyle valueSerializer.writeTextShadowStyle(value_styledValue_4) } else if (TypeChecker.isGestureStyle(value_styledValue)) { - valueSerializer.writeInt8(5 as int32) + valueSerializer.writeInt8(5) const value_styledValue_5 = value_styledValue as GestureStyle valueSerializer.writeGestureStyle(value_styledValue_5) } - else if (TypeChecker.isImageAttachment(value_styledValue, false, false, false, false, false)) { - valueSerializer.writeInt8(6 as int32) + else if (TypeChecker.isImageAttachment(value_styledValue, false, false, false, false, false, false)) { + valueSerializer.writeInt8(6) const value_styledValue_6 = value_styledValue as ImageAttachment valueSerializer.writeImageAttachment(value_styledValue_6) } - else if (TypeChecker.isParagraphStyle(value_styledValue, false, false, false, false, false, false)) { - valueSerializer.writeInt8(7 as int32) + else if (TypeChecker.isParagraphStyle(value_styledValue, false, false, false, false, false, false, false)) { + valueSerializer.writeInt8(7) const value_styledValue_7 = value_styledValue as ParagraphStyle valueSerializer.writeParagraphStyle(value_styledValue_7) } else if (TypeChecker.isLineHeightStyle(value_styledValue, false)) { - valueSerializer.writeInt8(8 as int32) + valueSerializer.writeInt8(8) const value_styledValue_8 = value_styledValue as LineHeightStyle valueSerializer.writeLineHeightStyle(value_styledValue_8) } else if (TypeChecker.isUrlStyle(value_styledValue, false)) { - valueSerializer.writeInt8(9 as int32) + valueSerializer.writeInt8(9) const value_styledValue_9 = value_styledValue as UrlStyle valueSerializer.writeUrlStyle(value_styledValue_9) } else if (TypeChecker.isCustomSpan(value_styledValue, false, false)) { - valueSerializer.writeInt8(10 as int32) + valueSerializer.writeInt8(10) const value_styledValue_10 = value_styledValue as CustomSpan valueSerializer.writeCustomSpan(value_styledValue_10) } else if (RuntimeType.OBJECT == value_styledValue_type) { - valueSerializer.writeInt8(11 as int32) + valueSerializer.writeInt8(11) const value_styledValue_11 = value_styledValue as UserDataSpan valueSerializer.writeUserDataSpan(value_styledValue_11) } else if (TypeChecker.isBackgroundColorStyle(value_styledValue, false)) { - valueSerializer.writeInt8(12 as int32) + valueSerializer.writeInt8(12) const value_styledValue_12 = value_styledValue as BackgroundColorStyle valueSerializer.writeBackgroundColorStyle(value_styledValue_12) } diff --git a/arkoala-arkts/arkui/src/generated/polygon.ts b/arkoala-arkts/arkui/src/generated/polygon.ts index 17f6633dfb..571cc46be4 100644 --- a/arkoala-arkts/arkui/src/generated/polygon.ts +++ b/arkoala-arkts/arkui/src/generated/polygon.ts @@ -43,7 +43,7 @@ export class ArkPolygonPeer extends ArkCommonShapeMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writePolygonOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/polyline.ts b/arkoala-arkts/arkui/src/generated/polyline.ts index 390ef23301..9e401d6936 100644 --- a/arkoala-arkts/arkui/src/generated/polyline.ts +++ b/arkoala-arkts/arkui/src/generated/polyline.ts @@ -43,7 +43,7 @@ export class ArkPolylinePeer extends ArkCommonShapeMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writePolylineOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/progress.ts b/arkoala-arkts/arkui/src/generated/progress.ts index 6e983fb55e..c18ba46cbc 100644 --- a/arkoala-arkts/arkui/src/generated/progress.ts +++ b/arkoala-arkts/arkui/src/generated/progress.ts @@ -30,6 +30,7 @@ import { Color } from "./enums" import { Resource } from "./resource" import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" +import { LengthMetrics } from "./arkui-graphics" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class ArkProgressPeer extends ArkCommonMethodPeer { @@ -57,33 +58,33 @@ export class ArkProgressPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ResourceColor let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (TypeChecker.isColor(value_0)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0_0)) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as string thisSerializer.writeString(value_0_2) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_0_3 = value_0 as Resource thisSerializer.writeResource(value_0_3) } } else if (TypeChecker.isLinearGradient(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as LinearGradient thisSerializer.writeLinearGradient(value_1) } @@ -95,22 +96,22 @@ export class ArkProgressPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isLinearStyleOptions(value, true, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as LinearStyleOptions thisSerializer.writeLinearStyleOptions(value_0) } else if (TypeChecker.isRingStyleOptions(value, true, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as RingStyleOptions thisSerializer.writeRingStyleOptions(value_1) } - else if (TypeChecker.isCapsuleStyleOptions(value, false, false, false, false, false, false)) { - thisSerializer.writeInt8(2 as int32) + else if (TypeChecker.isCapsuleStyleOptions(value, false, false, false, false, false, false, false)) { + thisSerializer.writeInt8(2) const value_2 = value as CapsuleStyleOptions thisSerializer.writeCapsuleStyleOptions(value_2) } else if (TypeChecker.isProgressStyleOptions(value, true, false, false)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as ProgressStyleOptions thisSerializer.writeProgressStyleOptions(value_3) } @@ -121,7 +122,7 @@ export class ArkProgressPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeBoolean(value_value) @@ -192,6 +193,7 @@ export interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressSt font?: Font; fontColor?: ResourceColor; showDefaultPercentage?: boolean; + borderRadius?: LengthMetrics; } export enum ProgressStyle { LINEAR = 0, diff --git a/arkoala-arkts/arkui/src/generated/qrcode.ts b/arkoala-arkts/arkui/src/generated/qrcode.ts index 1a89fd316a..27dc928863 100644 --- a/arkoala-arkts/arkui/src/generated/qrcode.ts +++ b/arkoala-arkts/arkui/src/generated/qrcode.ts @@ -49,22 +49,22 @@ export class ArkQRCodePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -76,22 +76,22 @@ export class ArkQRCodePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -103,12 +103,12 @@ export class ArkQRCodePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } diff --git a/arkoala-arkts/arkui/src/generated/radio.ts b/arkoala-arkts/arkui/src/generated/radio.ts index f4c19bbcc1..b737476d52 100644 --- a/arkoala-arkts/arkui/src/generated/radio.ts +++ b/arkoala-arkts/arkui/src/generated/radio.ts @@ -47,20 +47,44 @@ export class ArkRadioPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._RadioInterface_setRadioOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - checkedAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._RadioAttribute_checked(this.peer.ptr, value ? 1 : 0) + checked0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._RadioAttribute_checked0(this.peer.ptr, value ? 1 : 0) } - onChangeAttribute(value: ((isVisible: boolean) => void)): void { + checked1Attribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._RadioAttribute_checked1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange0Attribute(value: ((isVisible: boolean) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._RadioAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._RadioAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange1Attribute(value: OnRadioChangeCallback | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._RadioAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } radioStyleAttribute(value: RadioStyle | undefined): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeRadioStyle(value_value) @@ -68,10 +92,22 @@ export class ArkRadioPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._RadioAttribute_radioStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - contentModifierAttribute(value: ContentModifier): void { + contentModifier0Attribute(value: ContentModifier): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteObject(value) - ArkUIGeneratedNativeModule._RadioAttribute_contentModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._RadioAttribute_contentModifier0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + contentModifier1Attribute(value: ContentModifier | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteObject(value_value) + } + ArkUIGeneratedNativeModule._RadioAttribute_contentModifier1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } _onChangeEvent_checkedAttribute(callback: ((isVisible: boolean) => void)): void { @@ -98,23 +134,24 @@ export interface RadioStyle { indicatorColor?: ResourceColor; } +export type OnRadioChangeCallback = (isChecked: boolean) => void; export interface RadioAttribute extends CommonMethod { - checked(value: boolean): this - onChange(value: ((isVisible: boolean) => void)): this + checked(value: boolean | boolean | undefined): this + onChange(value: ((isVisible: boolean) => void) | OnRadioChangeCallback | undefined): this radioStyle(value: RadioStyle | undefined): this - contentModifier(value: ContentModifier): this + contentModifier(value: ContentModifier | ContentModifier | undefined): this _onChangeEvent_checked(callback: ((isVisible: boolean) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIRadioAttribute extends UICommonMethod { /** @memo */ - checked(value: boolean): this + checked(value: boolean | boolean | undefined): this /** @memo */ - onChange(value: ((isVisible: boolean) => void)): this + onChange(value: ((isVisible: boolean) => void) | OnRadioChangeCallback | undefined): this /** @memo */ radioStyle(value: RadioStyle | undefined): this /** @memo */ - contentModifier(value: ContentModifier): this + contentModifier(value: ContentModifier | ContentModifier | undefined): this /** @memo */ _onChangeEvent_checked(callback: ((isVisible: boolean) => void)): void /** @memo */ @@ -125,16 +162,16 @@ export class ArkRadioStyle extends ArkCommonMethodStyle implements RadioAttribut onChange_value?: ((isVisible: boolean) => void) radioStyle_value?: RadioStyle contentModifier_value?: ContentModifier - public checked(value: boolean): this { + public checked(value: boolean | boolean | undefined): this { return this } - public onChange(value: ((isVisible: boolean) => void)): this { + public onChange(value: ((isVisible: boolean) => void) | OnRadioChangeCallback | undefined): this { return this } public radioStyle(value: RadioStyle | undefined): this { return this } - public contentModifier(value: ContentModifier): this { + public contentModifier(value: ContentModifier | ContentModifier | undefined): this { return this } public _onChangeEvent_checked(callback: ((isVisible: boolean) => void)): void { @@ -164,20 +201,38 @@ export class ArkRadioComponent extends ArkCommonMethodComponent implements UIRad return this } /** @memo */ - public checked(value: boolean): this { + public checked(value: boolean | boolean | undefined): this { if (this.checkPriority("checked")) { - const value_casted = value as (boolean) - this.getPeer()?.checkedAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.checked0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.checked1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onChange(value: ((isVisible: boolean) => void)): this { + public onChange(value: ((isVisible: boolean) => void) | OnRadioChangeCallback | undefined): this { if (this.checkPriority("onChange")) { - const value_casted = value as (((isVisible: boolean) => void)) - this.getPeer()?.onChangeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((isVisible: boolean) => void)) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnRadioChangeCallback | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -191,11 +246,20 @@ export class ArkRadioComponent extends ArkCommonMethodComponent implements UIRad return this } /** @memo */ - public contentModifier(value: ContentModifier): this { + public contentModifier(value: ContentModifier | ContentModifier | undefined): this { if (this.checkPriority("contentModifier")) { - const value_casted = value as (ContentModifier) - this.getPeer()?.contentModifierAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type)) { + const value_casted = value as (ContentModifier) + this.getPeer()?.contentModifier0Attribute(value_casted) + return this + } + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ContentModifier | undefined) + this.getPeer()?.contentModifier1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } diff --git a/arkoala-arkts/arkui/src/generated/rating.ts b/arkoala-arkts/arkui/src/generated/rating.ts index d78c1a6db3..e871610858 100644 --- a/arkoala-arkts/arkui/src/generated/rating.ts +++ b/arkoala-arkts/arkui/src/generated/rating.ts @@ -44,7 +44,7 @@ export class ArkRatingPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeRatingOptions(options_value) @@ -52,28 +52,88 @@ export class ArkRatingPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._RatingInterface_setRatingOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - starsAttribute(value: number): void { - ArkUIGeneratedNativeModule._RatingAttribute_stars(this.peer.ptr, value) + stars0Attribute(value: number): void { + ArkUIGeneratedNativeModule._RatingAttribute_stars0(this.peer.ptr, value) } - stepSizeAttribute(value: number): void { - ArkUIGeneratedNativeModule._RatingAttribute_stepSize(this.peer.ptr, value) + stars1Attribute(value: number | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._RatingAttribute_stars1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + stepSize0Attribute(value: number): void { + ArkUIGeneratedNativeModule._RatingAttribute_stepSize0(this.peer.ptr, value) } - starStyleAttribute(value: StarStyleOptions): void { + stepSize1Attribute(value: number | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._RatingAttribute_stepSize1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + starStyle0Attribute(value: StarStyleOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeStarStyleOptions(value) - ArkUIGeneratedNativeModule._RatingAttribute_starStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._RatingAttribute_starStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + starStyle1Attribute(value: StarStyleOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeStarStyleOptions(value_value) + } + ArkUIGeneratedNativeModule._RatingAttribute_starStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onChangeAttribute(value: ((index: number) => void)): void { + onChange0Attribute(value: ((index: number) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._RatingAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._RatingAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - contentModifierAttribute(value: ContentModifier): void { + onChange1Attribute(value: OnRatingChangeCallback | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._RatingAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + contentModifier0Attribute(value: ContentModifier): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteObject(value) - ArkUIGeneratedNativeModule._RatingAttribute_contentModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._RatingAttribute_contentModifier0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + contentModifier1Attribute(value: ContentModifier | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteObject(value_value) + } + ArkUIGeneratedNativeModule._RatingAttribute_contentModifier1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } _onChangeEvent_ratingAttribute(callback: ((index: number) => void)): void { @@ -100,26 +160,27 @@ export interface RatingConfiguration extends CommonConfiguration { stepSize: number; triggerChange: ((index: number) => void); } +export type OnRatingChangeCallback = (rating: number) => void; export interface RatingAttribute extends CommonMethod { - stars(value: number): this - stepSize(value: number): this - starStyle(value: StarStyleOptions): this - onChange(value: ((index: number) => void)): this - contentModifier(value: ContentModifier): this + stars(value: number | number | undefined): this + stepSize(value: number | number | undefined): this + starStyle(value: StarStyleOptions | StarStyleOptions | undefined): this + onChange(value: ((index: number) => void) | OnRatingChangeCallback | undefined): this + contentModifier(value: ContentModifier | ContentModifier | undefined): this _onChangeEvent_rating(callback: ((index: number) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIRatingAttribute extends UICommonMethod { /** @memo */ - stars(value: number): this + stars(value: number | number | undefined): this /** @memo */ - stepSize(value: number): this + stepSize(value: number | number | undefined): this /** @memo */ - starStyle(value: StarStyleOptions): this + starStyle(value: StarStyleOptions | StarStyleOptions | undefined): this /** @memo */ - onChange(value: ((index: number) => void)): this + onChange(value: ((index: number) => void) | OnRatingChangeCallback | undefined): this /** @memo */ - contentModifier(value: ContentModifier): this + contentModifier(value: ContentModifier | ContentModifier | undefined): this /** @memo */ _onChangeEvent_rating(callback: ((index: number) => void)): void /** @memo */ @@ -131,19 +192,19 @@ export class ArkRatingStyle extends ArkCommonMethodStyle implements RatingAttrib starStyle_value?: StarStyleOptions onChange_value?: ((index: number) => void) contentModifier_value?: ContentModifier - public stars(value: number): this { + public stars(value: number | number | undefined): this { return this } - public stepSize(value: number): this { + public stepSize(value: number | number | undefined): this { return this } - public starStyle(value: StarStyleOptions): this { + public starStyle(value: StarStyleOptions | StarStyleOptions | undefined): this { return this } - public onChange(value: ((index: number) => void)): this { + public onChange(value: ((index: number) => void) | OnRatingChangeCallback | undefined): this { return this } - public contentModifier(value: ContentModifier): this { + public contentModifier(value: ContentModifier | ContentModifier | undefined): this { return this } public _onChangeEvent_rating(callback: ((index: number) => void)): void { @@ -168,47 +229,92 @@ export class ArkRatingComponent extends ArkCommonMethodComponent implements UIRa return this } /** @memo */ - public stars(value: number): this { + public stars(value: number | number | undefined): this { if (this.checkPriority("stars")) { - const value_casted = value as (number) - this.getPeer()?.starsAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.stars0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.stars1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public stepSize(value: number): this { + public stepSize(value: number | number | undefined): this { if (this.checkPriority("stepSize")) { - const value_casted = value as (number) - this.getPeer()?.stepSizeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.stepSize0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.stepSize1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public starStyle(value: StarStyleOptions): this { + public starStyle(value: StarStyleOptions | StarStyleOptions | undefined): this { if (this.checkPriority("starStyle")) { - const value_casted = value as (StarStyleOptions) - this.getPeer()?.starStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isStarStyleOptions(value, false, false, false)) { + const value_casted = value as (StarStyleOptions) + this.getPeer()?.starStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (StarStyleOptions | undefined) + this.getPeer()?.starStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onChange(value: ((index: number) => void)): this { + public onChange(value: ((index: number) => void) | OnRatingChangeCallback | undefined): this { if (this.checkPriority("onChange")) { - const value_casted = value as (((index: number) => void)) - this.getPeer()?.onChangeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((index: number) => void)) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnRatingChangeCallback | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public contentModifier(value: ContentModifier): this { + public contentModifier(value: ContentModifier | ContentModifier | undefined): this { if (this.checkPriority("contentModifier")) { - const value_casted = value as (ContentModifier) - this.getPeer()?.contentModifierAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type)) { + const value_casted = value as (ContentModifier) + this.getPeer()?.contentModifier0Attribute(value_casted) + return this + } + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ContentModifier | undefined) + this.getPeer()?.contentModifier1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } diff --git a/arkoala-arkts/arkui/src/generated/rect.ts b/arkoala-arkts/arkui/src/generated/rect.ts index e053adf9f2..e5824a0b5a 100644 --- a/arkoala-arkts/arkui/src/generated/rect.ts +++ b/arkoala-arkts/arkui/src/generated/rect.ts @@ -42,18 +42,18 @@ export class ArkRectPeer extends ArkCommonShapeMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! let options_value_type : int32 = RuntimeType.UNDEFINED options_value_type = runtimeType(options_value) if (TypeChecker.isRectOptions(options_value, true, true, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const options_value_0 = options_value as RectOptions thisSerializer.writeRectOptions(options_value_0) } else if (TypeChecker.isRoundedRectOptions(options_value, true, true, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const options_value_1 = options_value as RoundedRectOptions thisSerializer.writeRoundedRectOptions(options_value_1) } @@ -66,12 +66,12 @@ export class ArkRectPeer extends ArkCommonShapeMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -83,12 +83,12 @@ export class ArkRectPeer extends ArkCommonShapeMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -100,17 +100,17 @@ export class ArkRectPeer extends ArkCommonShapeMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Array thisSerializer.writeInt32(value_2.length as int32) for (let i = 0; i < value_2.length; i++) { @@ -118,12 +118,12 @@ export class ArkRectPeer extends ArkCommonShapeMethodPeer { let value_2_element_type : int32 = RuntimeType.UNDEFINED value_2_element_type = runtimeType(value_2_element) if (RuntimeType.NUMBER == value_2_element_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_2_element_0 = value_2_element as number thisSerializer.writeNumber(value_2_element_0) } else if (RuntimeType.STRING == value_2_element_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_2_element_1 = value_2_element as string thisSerializer.writeString(value_2_element_1) } diff --git a/arkoala-arkts/arkui/src/generated/refresh.ts b/arkoala-arkts/arkui/src/generated/refresh.ts index 6faf887356..33317173dc 100644 --- a/arkoala-arkts/arkui/src/generated/refresh.ts +++ b/arkoala-arkts/arkui/src/generated/refresh.ts @@ -77,7 +77,7 @@ export class ArkRefreshPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeNumber(value_value) diff --git a/arkoala-arkts/arkui/src/generated/repeat.ts b/arkoala-arkts/arkui/src/generated/repeat.ts index a769955130..9862a128b2 100644 --- a/arkoala-arkts/arkui/src/generated/repeat.ts +++ b/arkoala-arkts/arkui/src/generated/repeat.ts @@ -16,11 +16,101 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { int32, int64, float32 } from "@koalaui/common" -import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, wrapCallback } from "@koalaui/interop" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, KInt, KBoolean, KStringPtr } from "@koalaui/interop" +import { unsafeCast, int32, int64, float32 } from "@koalaui/common" +import { Serializer } from "./peers/Serializer" +import { CallbackKind } from "./peers/CallbackKind" +import { Deserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./../CallbackTransformer" export interface VirtualScrollOptions { - totalCount?: number; + totalCount?: number | undefined + reusable?: boolean | undefined + onLazyLoading(index: number): void + onTotalCount(): number +} +export class VirtualScrollOptionsInternal implements MaterializedBase,VirtualScrollOptions { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + get totalCount(): number | undefined { + return this.getTotalCount() + } + set totalCount(totalCount: number | undefined) { + const totalCount_NonNull = (totalCount as number) + this.setTotalCount(totalCount_NonNull) + } + get reusable(): boolean | undefined { + return this.getReusable() + } + set reusable(reusable: boolean | undefined) { + const reusable_NonNull = (reusable as boolean) + this.setReusable(reusable_NonNull) + } + static ctor_virtualscrolloptions(): KPointer { + const retval = ArkUIGeneratedNativeModule._VirtualScrollOptions_ctor() + return retval + } + constructor() { + const ctorPtr : KPointer = VirtualScrollOptionsInternal.ctor_virtualscrolloptions() + this.peer = new Finalizable(ctorPtr, VirtualScrollOptionsInternal.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._VirtualScrollOptions_getFinalizer() + } + public onLazyLoading(index: number): void { + const index_casted = index as (number) + this.onLazyLoading_serialize(index_casted) + return + } + public onTotalCount(): number { + return this.onTotalCount_serialize() + } + private getTotalCount(): number | undefined { + return this.getTotalCount_serialize() + } + private setTotalCount(totalCount: number): void { + const totalCount_casted = totalCount as (number) + this.setTotalCount_serialize(totalCount_casted) + return + } + private getReusable(): boolean | undefined { + return this.getReusable_serialize() + } + private setReusable(reusable: boolean): void { + const reusable_casted = reusable as (boolean) + this.setReusable_serialize(reusable_casted) + return + } + private onLazyLoading_serialize(index: number): void { + ArkUIGeneratedNativeModule._VirtualScrollOptions_onLazyLoading(this.peer!.ptr, index) + } + private onTotalCount_serialize(): number { + const retval = ArkUIGeneratedNativeModule._VirtualScrollOptions_onTotalCount(this.peer!.ptr) + return retval + } + private getTotalCount_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._VirtualScrollOptions_getTotalCount(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setTotalCount_serialize(totalCount: number): void { + ArkUIGeneratedNativeModule._VirtualScrollOptions_setTotalCount(this.peer!.ptr, totalCount) + } + private getReusable_serialize(): boolean | undefined { + const retval = ArkUIGeneratedNativeModule._VirtualScrollOptions_getReusable(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setReusable_serialize(reusable: boolean): void { + ArkUIGeneratedNativeModule._VirtualScrollOptions_setReusable(this.peer!.ptr, reusable ? 1 : 0) + } + public static fromPtr(ptr: KPointer): VirtualScrollOptionsInternal { + const obj : VirtualScrollOptionsInternal = new VirtualScrollOptionsInternal() + obj.peer = new Finalizable(ptr, VirtualScrollOptionsInternal.getFinalizer()) + return obj + } } export interface TemplateOptions { cachedCount?: number; } +export type RepeatArray = Array | object | object; diff --git a/arkoala-arkts/arkui/src/generated/rich_editor.ts b/arkoala-arkts/arkui/src/generated/rich_editor.ts index 65d6bb058b..f1c13a4e76 100644 --- a/arkoala-arkts/arkui/src/generated/rich_editor.ts +++ b/arkoala-arkts/arkui/src/generated/rich_editor.ts @@ -16,8 +16,8 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { TextEditControllerEx, TextEditControllerExInternal, LayoutManager, LayoutManagerInternal, PreviewText, TextRange, TextDataDetectorConfig, OnDidChangeCallback, EditMenuOptions, MenuType, DecorationStyleResult, StyledStringController, StyledStringControllerInternal, StyledStringChangedListener } from "./text_common" -import { SelectionOptions, ArkCommonMethodPeer, CommonMethod, CustomBuilder, ShadowOptions, Callback_ClickEvent_Void, ClickEvent, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { TextEditControllerEx, TextEditControllerExInternal, LayoutManager, LayoutManagerInternal, PreviewText, TextRange, TextDataDetectorConfig, OnDidChangeCallback, EditMenuOptions, KeyboardAppearance, MenuType, DecorationStyleResult, StyledStringController, StyledStringControllerInternal, StyledStringChangedListener } from "./text_common" +import { SelectionOptions, RectResult, ArkCommonMethodPeer, CommonMethod, CustomBuilder, ShadowOptions, Callback_ClickEvent_Void, ClickEvent, HapticFeedbackMode, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, nullptr, KInt, KBoolean, KStringPtr } from "@koalaui/interop" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" @@ -33,12 +33,15 @@ import { ResourceColor, ResourceStr, Font, Length, Dimension, Padding, BorderRad import { Callback_Boolean_Void, Tuple_Dimension_Dimension } from "./navigation" import { EnterKeyType, SubmitEvent } from "./text_input" import { Resource } from "./resource" +import { MenuCallback, OnHoverCallback } from "./sdk-stubs" import { Tuple_Number_Number } from "./arkui-synthetics" import { FontStyle } from "./arkui-graphics-text" import { DecorationStyleInterface, StyledString, StyledStringInternal, MutableStyledString, MutableStyledStringInternal } from "./styled_string" +import { TextBackgroundStyle } from "./span" import { PixelMap, PixelMapInternal } from "./arkui-pixelmap" import { SymbolEffectStrategy, SymbolRenderingStrategy } from "./symbolglyph" import { Callback_GestureEvent_Void, GestureEvent } from "./gesture" +import { ColorMetrics } from "./arkui-external" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" import { CustomNodeBuilder } from "./custom_builder" @@ -104,6 +107,9 @@ export class RichEditorBaseController implements MaterializedBase { public getPreviewText(): PreviewText { return this.getPreviewText_serialize() } + public getCaretRect(): RectResult | undefined { + return this.getCaretRect_serialize() + } private getCaretOffset_serialize(): number { const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_getCaretOffset(this.peer!.ptr) return retval @@ -131,7 +137,7 @@ export class RichEditorBaseController implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeSelectionOptions(options_value) @@ -157,6 +163,10 @@ export class RichEditorBaseController implements MaterializedBase { const returnResult : PreviewText = retvalDeserializer.readPreviewText() return returnResult } + private getCaretRect_serialize(): RectResult | undefined { + const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_getCaretRect(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } } export class ArkRichEditorPeer extends ArkCommonMethodPeer { protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { @@ -255,22 +265,22 @@ export class ArkRichEditorPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -282,22 +292,22 @@ export class ArkRichEditorPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -358,24 +368,72 @@ export class ArkRichEditorPeer extends ArkCommonMethodPeer { barStateAttribute(value: BarState): void { ArkUIGeneratedNativeModule._RichEditorAttribute_barState(this.peer.ptr, TypeChecker.BarState_ToNumeric(value)) } + maxLengthAttribute(value: number | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._RichEditorAttribute_maxLength(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxLinesAttribute(value: number | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._RichEditorAttribute_maxLines(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + keyboardAppearanceAttribute(value: KeyboardAppearance | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as KeyboardAppearance) + thisSerializer.writeInt32(TypeChecker.KeyboardAppearance_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._RichEditorAttribute_keyboardAppearance(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + stopBackPressAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._RichEditorAttribute_stopBackPress(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } bindSelectionMenuAttribute(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType | RichEditorResponseType, options?: SelectionMenuOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(content)) let responseType_type : int32 = RuntimeType.UNDEFINED responseType_type = runtimeType(responseType) if (TypeChecker.isResponseType(responseType)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const responseType_0 = responseType as ResponseType thisSerializer.writeInt32(TypeChecker.ResponseType_ToNumeric(responseType_0)) } else if (TypeChecker.isRichEditorResponseType(responseType)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const responseType_1 = responseType as RichEditorResponseType thisSerializer.writeInt32(TypeChecker.RichEditorResponseType_ToNumeric(responseType_1)) } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeSelectionMenuOptions(options_value) @@ -388,7 +446,7 @@ export class ArkRichEditorPeer extends ArkCommonMethodPeer { thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value)) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeKeyboardOptions(options_value) @@ -401,18 +459,18 @@ export class ArkRichEditorPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } let style_type : int32 = RuntimeType.UNDEFINED style_type = runtimeType(style) - thisSerializer.writeInt8(style_type as int32) + thisSerializer.writeInt8(style_type) if ((RuntimeType.UNDEFINED) != (style_type)) { const style_value = style! thisSerializer.writePlaceholderStyle(style_value) @@ -429,12 +487,14 @@ export enum RichEditorSpanType { TEXT = 0, IMAGE = 1, MIXED = 2, - BUILDER = 3 + BUILDER = 3, + DEFAULT = 4 } export enum RichEditorResponseType { RIGHT_CLICK = 0, LONG_PRESS = 1, - SELECT = 2 + SELECT = 2, + DEFAULT = 3 } export interface RichEditorSpanPosition { spanIndex: number; @@ -450,7 +510,9 @@ export interface RichEditorTextStyle { textShadow?: ShadowOptions | Array; letterSpacing?: number | string; lineHeight?: number | string | Resource; + halfLeading?: boolean; fontFeature?: string; + textBackgroundStyle?: TextBackgroundStyle; } export interface LeadingMarginPlaceholder { pixelMap: PixelMap; @@ -461,6 +523,7 @@ export interface RichEditorParagraphStyle { leadingMargin?: Dimension | LeadingMarginPlaceholder; wordBreak?: WordBreak; lineBreakStrategy?: LineBreakStrategy; + paragraphSpacing?: number; } export interface PasteEvent { preventDefault?: (() => void); @@ -497,7 +560,9 @@ export interface RichEditorTextStyleResult { textShadow?: Array; letterSpacing?: number; lineHeight?: number; + halfLeading?: boolean; fontFeature?: string; + textBackgroundStyle?: TextBackgroundStyle; } export interface RichEditorParagraphResult { style: RichEditorParagraphStyle; @@ -519,6 +584,7 @@ export interface RichEditorTextSpanResult { valueResource?: Resource; paragraphStyle?: RichEditorParagraphStyle; previewText?: string; + urlStyle?: RichEditorUrlStyle; } export interface RichEditorImageSpanStyleResult { size: [ number, number ]; @@ -545,12 +611,14 @@ export interface RichEditorRange { export interface RichEditorGesture { onClick?: ((event: ClickEvent) => void); onLongPress?: ((event: GestureEvent) => void); + onDoubleClick?: ((event: GestureEvent) => void); } export interface RichEditorTextSpanOptions { offset?: number; style?: RichEditorTextStyle; paragraphStyle?: RichEditorParagraphStyle; gesture?: RichEditorGesture; + urlStyle?: RichEditorUrlStyle; } export interface KeyboardOptions { supportAvoidance?: boolean; @@ -559,9 +627,12 @@ export interface RichEditorImageSpanOptions { offset?: number; imageStyle?: RichEditorImageSpanStyle; gesture?: RichEditorGesture; + onHover?: OnHoverCallback; } export interface RichEditorBuilderSpanOptions { offset?: number; + dragBackgroundColor?: ColorMetrics; + isDragShadowNeeded?: boolean; } export interface PlaceholderStyle { font?: Font; @@ -574,6 +645,7 @@ export interface RichEditorParagraphStyleOptions extends RichEditorRange { } export interface RichEditorUpdateTextSpanStyleOptions extends RichEditorSpanStyleOptions { textStyle: RichEditorTextStyle; + urlStyle?: RichEditorUrlStyle; } export interface RichEditorUpdateImageSpanStyleOptions extends RichEditorSpanStyleOptions { imageStyle: RichEditorImageSpanStyle; @@ -616,6 +688,12 @@ export interface SelectionMenuOptions { onAppear?: MenuOnAppearCallback; onDisappear?: (() => void); menuType?: MenuType; + onMenuShow?: MenuCallback; + onMenuHide?: MenuCallback; + previewMenuOptions?: PreviewMenuOptions; +} +export interface PreviewMenuOptions { + hapticFeedbackMode?: HapticFeedbackMode; } export type RichEditorSpan = RichEditorImageSpanResult | RichEditorTextSpanResult; export type Callback_RichEditorSelection_Void = (parameter: RichEditorSelection) => void; @@ -654,6 +732,10 @@ export interface RichEditorAttribute extends CommonMethod { enableKeyboardOnFocus(value: boolean): this enableHapticFeedback(value: boolean): this barState(value: BarState): this + maxLength(value: number | undefined): this + maxLines(value: number | undefined): this + keyboardAppearance(value: KeyboardAppearance | undefined): this + stopBackPress(value: boolean | undefined): this bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType | RichEditorResponseType, options?: SelectionMenuOptions): this customKeyboard(value: CustomBuilder, options?: KeyboardOptions): this placeholder(value: ResourceStr, style?: PlaceholderStyle): this @@ -713,6 +795,14 @@ export interface UIRichEditorAttribute extends UICommonMethod { /** @memo */ barState(value: BarState): this /** @memo */ + maxLength(value: number | undefined): this + /** @memo */ + maxLines(value: number | undefined): this + /** @memo */ + keyboardAppearance(value: KeyboardAppearance | undefined): this + /** @memo */ + stopBackPress(value: boolean | undefined): this + /** @memo */ bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType | RichEditorResponseType, options?: SelectionMenuOptions): this /** @memo */ customKeyboard(value: CustomBuilder, options?: KeyboardOptions): this @@ -748,6 +838,10 @@ export class ArkRichEditorStyle extends ArkCommonMethodStyle implements RichEdit enableKeyboardOnFocus_value?: boolean enableHapticFeedback_value?: boolean barState_value?: BarState + maxLength_value?: number | undefined + maxLines_value?: number | undefined + keyboardAppearance_value?: KeyboardAppearance | undefined + stopBackPress_value?: boolean | undefined public onReady(value: (() => void)): this { return this } @@ -826,6 +920,18 @@ export class ArkRichEditorStyle extends ArkCommonMethodStyle implements RichEdit public barState(value: BarState): this { return this } + public maxLength(value: number | undefined): this { + return this + } + public maxLines(value: number | undefined): this { + return this + } + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + return this + } + public stopBackPress(value: boolean | undefined): this { + return this + } public bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType | RichEditorResponseType, options?: SelectionMenuOptions): this { return this } @@ -845,6 +951,9 @@ export interface CutEvent { export interface CopyEvent { preventDefault?: (() => void); } +export interface RichEditorUrlStyle { + url?: ResourceStr; +} export type SubmitCallback = (enterKey: EnterKeyType, event: SubmitEvent) => void; export type MenuOnAppearCallback = (start: number, end: number) => void; export type PasteEventCallback = (event?: PasteEvent) => void; @@ -1107,6 +1216,42 @@ export class ArkRichEditorComponent extends ArkCommonMethodComponent implements return this } /** @memo */ + public maxLength(value: number | undefined): this { + if (this.checkPriority("maxLength")) { + const value_casted = value as (number | undefined) + this.getPeer()?.maxLengthAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxLines(value: number | undefined): this { + if (this.checkPriority("maxLines")) { + const value_casted = value as (number | undefined) + this.getPeer()?.maxLinesAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + if (this.checkPriority("keyboardAppearance")) { + const value_casted = value as (KeyboardAppearance | undefined) + this.getPeer()?.keyboardAppearanceAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public stopBackPress(value: boolean | undefined): this { + if (this.checkPriority("stopBackPress")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.stopBackPressAttribute(value_casted) + return this + } + return this + } + /** @memo */ public bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType | RichEditorResponseType, options?: SelectionMenuOptions): this { if (this.checkPriority("bindSelectionMenu")) { const spanType_casted = spanType as (RichEditorSpanType) @@ -1244,7 +1389,7 @@ export class RichEditorController extends RichEditorBaseController implements Ma const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeRichEditorTextSpanOptions(options_value) @@ -1258,29 +1403,29 @@ export class RichEditorController extends RichEditorBaseController implements Ma let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isPixelMap(value, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as PixelMap thisSerializer.writePixelMap(value_0) } else if ((RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as ResourceStr let value_1_type : int32 = RuntimeType.UNDEFINED value_1_type = runtimeType(value_1) if (RuntimeType.STRING == value_1_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_1_0 = value_1 as string thisSerializer.writeString(value_1_0) } else if (RuntimeType.OBJECT == value_1_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1_1 = value_1 as Resource thisSerializer.writeResource(value_1_1) } } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeRichEditorImageSpanOptions(options_value) @@ -1294,7 +1439,7 @@ export class RichEditorController extends RichEditorBaseController implements Ma thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value)) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeRichEditorBuilderSpanOptions(options_value) @@ -1308,7 +1453,7 @@ export class RichEditorController extends RichEditorBaseController implements Ma thisSerializer.writeResource(value) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeRichEditorSymbolSpanOptions(options_value) @@ -1321,18 +1466,18 @@ export class RichEditorController extends RichEditorBaseController implements Ma const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (TypeChecker.isRichEditorUpdateTextSpanStyleOptions(value, false)) { - thisSerializer.writeInt8(0 as int32) + if (TypeChecker.isRichEditorUpdateTextSpanStyleOptions(value, false, false)) { + thisSerializer.writeInt8(0) const value_0 = value as RichEditorUpdateTextSpanStyleOptions thisSerializer.writeRichEditorUpdateTextSpanStyleOptions(value_0) } else if (TypeChecker.isRichEditorUpdateImageSpanStyleOptions(value, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as RichEditorUpdateImageSpanStyleOptions thisSerializer.writeRichEditorUpdateImageSpanStyleOptions(value_1) } else if (TypeChecker.isRichEditorUpdateSymbolSpanStyleOptions(value, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as RichEditorUpdateSymbolSpanStyleOptions thisSerializer.writeRichEditorUpdateSymbolSpanStyleOptions(value_2) } @@ -1349,7 +1494,7 @@ export class RichEditorController extends RichEditorBaseController implements Ma const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeRichEditorRange(value_value) @@ -1361,7 +1506,7 @@ export class RichEditorController extends RichEditorBaseController implements Ma const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeRichEditorRange(value_value) @@ -1392,7 +1537,7 @@ export class RichEditorController extends RichEditorBaseController implements Ma const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeRichEditorRange(value_value) diff --git a/arkoala-arkts/arkui/src/generated/row.ts b/arkoala-arkts/arkui/src/generated/row.ts index 1af6289781..f238cc8f10 100644 --- a/arkoala-arkts/arkui/src/generated/row.ts +++ b/arkoala-arkts/arkui/src/generated/row.ts @@ -39,16 +39,39 @@ export class ArkRowPeer extends ArkCommonMethodPeer { component?.setPeer(_peer) return _peer } - setRowOptionsAttribute(options?: RowOptions): void { + setRowOptions0Attribute(options?: RowOptions): void { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeRowOptions(options_value) } - ArkUIGeneratedNativeModule._RowInterface_setRowOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._RowInterface_setRowOptions0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setRowOptions1Attribute(options?: RowOptions | RowOptionsV2): void { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + let options_value_type : int32 = RuntimeType.UNDEFINED + options_value_type = runtimeType(options_value) + if (TypeChecker.isRowOptions(options_value, false)) { + thisSerializer.writeInt8(0) + const options_value_0 = options_value as RowOptions + thisSerializer.writeRowOptions(options_value_0) + } + else if (TypeChecker.isRowOptionsV2(options_value, false)) { + thisSerializer.writeInt8(1) + const options_value_1 = options_value as RowOptionsV2 + thisSerializer.writeRowOptionsV2(options_value_1) + } + } + ArkUIGeneratedNativeModule._RowInterface_setRowOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } alignItemsAttribute(value: VerticalAlign): void { @@ -67,7 +90,7 @@ export class ArkRowPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeBoolean(value_value) @@ -79,6 +102,9 @@ export class ArkRowPeer extends ArkCommonMethodPeer { export interface RowOptions { space?: string | number; } +export interface RowOptionsV2 { + stub: string; +} export interface RowAttribute extends CommonMethod { alignItems(value: VerticalAlign): this @@ -126,11 +152,20 @@ export class ArkRowComponent extends ArkCommonMethodComponent implements UIRowAt return (this.peer as ArkRowPeer) } /** @memo */ - public setRowOptions(options?: RowOptions): this { + public setRowOptions(options?: RowOptions | RowOptions | RowOptionsV2): this { if (this.checkPriority("setRowOptions")) { - const options_casted = options as (RowOptions | undefined) - this.getPeer()?.setRowOptionsAttribute(options_casted) - return this + const options_type = runtimeType(options) + if ((RuntimeType.OBJECT == options_type) || (RuntimeType.UNDEFINED == options_type)) { + const options_casted = options as (RowOptions | undefined) + this.getPeer()?.setRowOptions0Attribute(options_casted) + return this + } + if ((RuntimeType.OBJECT == options_type) || (RuntimeType.OBJECT == options_type) || (RuntimeType.UNDEFINED == options_type)) { + const options_casted = options as (RowOptions | RowOptionsV2 | undefined) + this.getPeer()?.setRowOptions1Attribute(options_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -186,7 +221,7 @@ export function ArkRow( style: ((attributes: UIRowAttribute) => void) | undefined, /** @memo */ content_: (() => void) | undefined, - options?: RowOptions, + options?: RowOptions | RowOptions | RowOptionsV2, ): void { const receiver = remember(() => { return new ArkRowComponent() diff --git a/arkoala-arkts/arkui/src/generated/save_button.ts b/arkoala-arkts/arkui/src/generated/save_button.ts index 4d59f1a00a..fb2785ec79 100644 --- a/arkoala-arkts/arkui/src/generated/save_button.ts +++ b/arkoala-arkts/arkui/src/generated/save_button.ts @@ -24,6 +24,7 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkSecurityComponentMethodPeer, SecurityComponentMethod, ArkSecurityComponentMethodComponent, ArkSecurityComponentMethodStyle, UISecurityComponentMethod } from "./security_component" import { ClickEvent } from "./common" +import { BusinessError } from "./base" import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { ButtonType } from "./button" @@ -49,7 +50,7 @@ export class ArkSaveButtonPeer extends ArkSecurityComponentMethodPeer { ArkUIGeneratedNativeModule._SaveButtonInterface_setSaveButtonOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onClickAttribute(value: ((event: ClickEvent,result: SaveButtonOnClickResult) => void)): void { + onClickAttribute(value: SaveButtonCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._SaveButtonAttribute_onClick(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) @@ -73,7 +74,8 @@ export enum SaveDescription { SAVE_TO_GALLERY = 8, EXPORT_TO_GALLERY = 9, QUICK_SAVE_TO_GALLERY = 10, - RESAVE_TO_GALLERY = 11 + RESAVE_TO_GALLERY = 11, + SAVE_ALL = 12 } export interface SaveButtonOptions { icon?: SaveIconStyle; @@ -85,20 +87,20 @@ export enum SaveButtonOnClickResult { TEMPORARY_AUTHORIZATION_FAILED = 1 } -export type Callback_ClickEvent_SaveButtonOnClickResult_Void = (event: ClickEvent, result: SaveButtonOnClickResult) => void; +export type SaveButtonCallback = (event: ClickEvent, result: SaveButtonOnClickResult, error?: BusinessError) => void; export interface SaveButtonAttribute extends SecurityComponentMethod { - onClick(value: ((event: ClickEvent,result: SaveButtonOnClickResult) => void)): this + onClick(value: SaveButtonCallback): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UISaveButtonAttribute extends UISecurityComponentMethod { /** @memo */ - onClick(value: ((event: ClickEvent,result: SaveButtonOnClickResult) => void)): this + onClick(value: SaveButtonCallback): this /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkSaveButtonStyle extends ArkSecurityComponentMethodStyle implements SaveButtonAttribute { - onClick_value?: ((event: ClickEvent,result: SaveButtonOnClickResult) => void) - public onClick(value: ((event: ClickEvent,result: SaveButtonOnClickResult) => void)): this { + onClick_value?: SaveButtonCallback + public onClick(value: SaveButtonCallback): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -120,9 +122,9 @@ export class ArkSaveButtonComponent extends ArkSecurityComponentMethodComponent return this } /** @memo */ - public onClick(value: ((event: ClickEvent,result: SaveButtonOnClickResult) => void)): this { + public onClick(value: SaveButtonCallback): this { if (this.checkPriority("onClick")) { - const value_casted = value as (((event: ClickEvent,result: SaveButtonOnClickResult) => void)) + const value_casted = value as (SaveButtonCallback) this.getPeer()?.onClickAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/src/generated/scroll.ts b/arkoala-arkts/arkui/src/generated/scroll.ts index 59f9e99f22..074e66433e 100644 --- a/arkoala-arkts/arkui/src/generated/scroll.ts +++ b/arkoala-arkts/arkui/src/generated/scroll.ts @@ -127,7 +127,7 @@ export class Scroller implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeScrollEdgeOptions(options_value) @@ -151,7 +151,7 @@ export class Scroller implements MaterializedBase { const value_direction = value.direction let value_direction_type : int32 = RuntimeType.UNDEFINED value_direction_type = runtimeType(value_direction) - thisSerializer.writeInt8(value_direction_type as int32) + thisSerializer.writeInt8(value_direction_type) if ((RuntimeType.UNDEFINED) != (value_direction_type)) { const value_direction_value = (value_direction as Axis) thisSerializer.writeInt32(TypeChecker.Axis_ToNumeric(value_direction_value)) @@ -169,21 +169,21 @@ export class Scroller implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let smooth_type : int32 = RuntimeType.UNDEFINED smooth_type = runtimeType(smooth) - thisSerializer.writeInt8(smooth_type as int32) + thisSerializer.writeInt8(smooth_type) if ((RuntimeType.UNDEFINED) != (smooth_type)) { const smooth_value = smooth! thisSerializer.writeBoolean(smooth_value) } let align_type : int32 = RuntimeType.UNDEFINED align_type = runtimeType(align) - thisSerializer.writeInt8(align_type as int32) + thisSerializer.writeInt8(align_type) if ((RuntimeType.UNDEFINED) != (align_type)) { const align_value = (align as ScrollAlign) thisSerializer.writeInt32(TypeChecker.ScrollAlign_ToNumeric(align_value)) } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeScrollToIndexOptions(options_value) @@ -196,34 +196,34 @@ export class Scroller implements MaterializedBase { let dx_type : int32 = RuntimeType.UNDEFINED dx_type = runtimeType(dx) if (RuntimeType.STRING == dx_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const dx_0 = dx as string thisSerializer.writeString(dx_0) } else if (RuntimeType.NUMBER == dx_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const dx_1 = dx as number thisSerializer.writeNumber(dx_1) } else if (RuntimeType.OBJECT == dx_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const dx_2 = dx as Resource thisSerializer.writeResource(dx_2) } let dy_type : int32 = RuntimeType.UNDEFINED dy_type = runtimeType(dy) if (RuntimeType.STRING == dy_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const dy_0 = dy as string thisSerializer.writeString(dy_0) } else if (RuntimeType.NUMBER == dy_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const dy_1 = dy as number thisSerializer.writeNumber(dy_1) } else if (RuntimeType.OBJECT == dy_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const dy_2 = dy as Resource thisSerializer.writeResource(dy_2) } @@ -260,7 +260,7 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let scroller_type : int32 = RuntimeType.UNDEFINED scroller_type = runtimeType(scroller) - thisSerializer.writeInt8(scroller_type as int32) + thisSerializer.writeInt8(scroller_type) if ((RuntimeType.UNDEFINED) != (scroller_type)) { const scroller_value = scroller! thisSerializer.writeScroller(scroller_value) @@ -281,7 +281,7 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.holdAndWriteCallback(value_value) @@ -327,17 +327,17 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -349,12 +349,12 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -381,12 +381,12 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -412,7 +412,7 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeEdgeEffectOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/scroll_bar.ts b/arkoala-arkts/arkui/src/generated/scroll_bar.ts index df2a2ecf1a..97379a2de9 100644 --- a/arkoala-arkts/arkui/src/generated/scroll_bar.ts +++ b/arkoala-arkts/arkui/src/generated/scroll_bar.ts @@ -50,7 +50,7 @@ export class ArkScrollBarPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeBoolean(value_value) diff --git a/arkoala-arkts/arkui/src/generated/search.ts b/arkoala-arkts/arkui/src/generated/search.ts index 4b45d94128..d52253031d 100644 --- a/arkoala-arkts/arkui/src/generated/search.ts +++ b/arkoala-arkts/arkui/src/generated/search.ts @@ -26,7 +26,7 @@ import { ArkCommonMethodPeer, CommonMethod, TextDecorationOptions, CustomBuilder import { ResourceColor, Dimension, Font, ResourceStr, Length } from "./units" import { SymbolGlyphModifier } from "./arkui-external" import { Callback_Boolean_Void } from "./navigation" -import { CaretStyle, EditableTextOnChangeCallback, PreviewText, InsertValue, DeleteValue, EditMenuOptions } from "./text_common" +import { CaretStyle, EditableTextOnChangeCallback, PreviewText, TextChangeOptions, InsertValue, DeleteValue, EditMenuOptions, AutoCapitalizationMode, EditableTextChangeValue, KeyboardAppearance } from "./text_common" import { EnterKeyType, SubmitEvent, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback } from "./text_input" import { Callback_String_Void } from "./grid_row" import { PasteEvent, KeyboardOptions } from "./rich_editor" @@ -52,7 +52,7 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeSearchOptions(options_value) @@ -65,22 +65,22 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -92,12 +92,12 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isIconOptions(value, false, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as IconOptions thisSerializer.writeIconOptions(value_0) } else if (TypeChecker.isSymbolGlyphModifier(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as SymbolGlyphModifier thisSerializer.writeSymbolGlyphModifier(value_1) } @@ -109,12 +109,12 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isCancelButtonOptions(value, true, true)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as CancelButtonOptions thisSerializer.writeCancelButtonOptions(value_0) } else if (TypeChecker.isCancelButtonSymbolOptions(value, true, true)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as CancelButtonSymbolOptions thisSerializer.writeCancelButtonSymbolOptions(value_1) } @@ -126,17 +126,17 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -154,22 +154,22 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -187,22 +187,22 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -213,7 +213,7 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeFont(value_value) @@ -225,7 +225,7 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeFont(value_value) @@ -304,17 +304,17 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -326,23 +326,69 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } ArkUIGeneratedNativeModule._SearchAttribute_maxFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + minFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._SearchAttribute_minFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._SearchAttribute_maxFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } decorationAttribute(value: TextDecorationOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeTextDecorationOptions(value) @@ -354,17 +400,17 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -376,17 +422,17 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -435,11 +481,56 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { enableHapticFeedbackAttribute(value: boolean): void { ArkUIGeneratedNativeModule._SearchAttribute_enableHapticFeedback(this.peer.ptr, value ? 1 : 0) } + autoCapitalizationModeAttribute(value: AutoCapitalizationMode): void { + ArkUIGeneratedNativeModule._SearchAttribute_autoCapitalizationMode(this.peer.ptr, TypeChecker.AutoCapitalizationMode_ToNumeric(value)) + } + halfLeadingAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._SearchAttribute_halfLeading(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + stopBackPressAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._SearchAttribute_stopBackPress(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onWillChangeAttribute(value: ((parameter: EditableTextChangeValue) => boolean)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._SearchAttribute_onWillChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + keyboardAppearanceAttribute(value: KeyboardAppearance | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as KeyboardAppearance) + thisSerializer.writeInt32(TypeChecker.KeyboardAppearance_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._SearchAttribute_keyboardAppearance(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } searchButtonAttribute(value: string, option?: SearchButtonOptions): void { const thisSerializer : Serializer = Serializer.hold() let option_type : int32 = RuntimeType.UNDEFINED option_type = runtimeType(option) - thisSerializer.writeInt8(option_type as int32) + thisSerializer.writeInt8(option_type) if ((RuntimeType.UNDEFINED) != (option_type)) { const option_value = option! thisSerializer.writeSearchButtonOptions(option_value) @@ -452,18 +543,18 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } let error_type : int32 = RuntimeType.UNDEFINED error_type = runtimeType(error) - thisSerializer.writeInt8(error_type as int32) + thisSerializer.writeInt8(error_type) if ((RuntimeType.UNDEFINED) != (error_type)) { const error_value = error! thisSerializer.holdAndWriteCallback(error_value) @@ -476,7 +567,7 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value)) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeKeyboardOptions(options_value) @@ -534,6 +625,7 @@ export type Callback_InsertValue_Boolean = (parameter: InsertValue) => boolean; export type Callback_InsertValue_Void = (parameter: InsertValue) => void; export type Callback_DeleteValue_Boolean = (parameter: DeleteValue) => boolean; export type Callback_DeleteValue_Void = (parameter: DeleteValue) => void; +export type Callback_EditableTextChangeValue_Boolean = (parameter: EditableTextChangeValue) => boolean; export interface SearchAttribute extends CommonMethod { fontColor(value: ResourceColor): this searchIcon(value: IconOptions | SymbolGlyphModifier): this @@ -560,6 +652,8 @@ export interface SearchAttribute extends CommonMethod { selectionMenuHidden(value: boolean): this minFontSize(value: number | string | Resource): this maxFontSize(value: number | string | Resource): this + minFontScale(value: number | Resource | undefined): this + maxFontScale(value: number | Resource | undefined): this decoration(value: TextDecorationOptions): this letterSpacing(value: number | string | Resource): this lineHeight(value: number | string | Resource): this @@ -572,6 +666,11 @@ export interface SearchAttribute extends CommonMethod { editMenuOptions(value: EditMenuOptions): this enablePreviewText(value: boolean): this enableHapticFeedback(value: boolean): this + autoCapitalizationMode(value: AutoCapitalizationMode): this + halfLeading(value: boolean | undefined): this + stopBackPress(value: boolean | undefined): this + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this + keyboardAppearance(value: KeyboardAppearance | undefined): this searchButton(value: string, option?: SearchButtonOptions): this inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this customKeyboard(value: CustomBuilder, options?: KeyboardOptions): this @@ -630,6 +729,10 @@ export interface UISearchAttribute extends UICommonMethod { /** @memo */ maxFontSize(value: number | string | Resource): this /** @memo */ + minFontScale(value: number | Resource | undefined): this + /** @memo */ + maxFontScale(value: number | Resource | undefined): this + /** @memo */ decoration(value: TextDecorationOptions): this /** @memo */ letterSpacing(value: number | string | Resource): this @@ -654,6 +757,16 @@ export interface UISearchAttribute extends UICommonMethod { /** @memo */ enableHapticFeedback(value: boolean): this /** @memo */ + autoCapitalizationMode(value: AutoCapitalizationMode): this + /** @memo */ + halfLeading(value: boolean | undefined): this + /** @memo */ + stopBackPress(value: boolean | undefined): this + /** @memo */ + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this + /** @memo */ + keyboardAppearance(value: KeyboardAppearance | undefined): this + /** @memo */ searchButton(value: string, option?: SearchButtonOptions): this /** @memo */ inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this @@ -690,6 +803,8 @@ export class ArkSearchStyle extends ArkCommonMethodStyle implements SearchAttrib selectionMenuHidden_value?: boolean minFontSize_value?: number | string | Resource maxFontSize_value?: number | string | Resource + minFontScale_value?: number | Resource | undefined + maxFontScale_value?: number | Resource | undefined decoration_value?: TextDecorationOptions letterSpacing_value?: number | string | Resource lineHeight_value?: number | string | Resource @@ -702,6 +817,11 @@ export class ArkSearchStyle extends ArkCommonMethodStyle implements SearchAttrib editMenuOptions_value?: EditMenuOptions enablePreviewText_value?: boolean enableHapticFeedback_value?: boolean + autoCapitalizationMode_value?: AutoCapitalizationMode + halfLeading_value?: boolean | undefined + stopBackPress_value?: boolean | undefined + onWillChange_value?: ((parameter: EditableTextChangeValue) => boolean) + keyboardAppearance_value?: KeyboardAppearance | undefined public fontColor(value: ResourceColor): this { return this } @@ -777,6 +897,12 @@ export class ArkSearchStyle extends ArkCommonMethodStyle implements SearchAttrib public maxFontSize(value: number | string | Resource): this { return this } + public minFontScale(value: number | Resource | undefined): this { + return this + } + public maxFontScale(value: number | Resource | undefined): this { + return this + } public decoration(value: TextDecorationOptions): this { return this } @@ -813,6 +939,21 @@ export class ArkSearchStyle extends ArkCommonMethodStyle implements SearchAttrib public enableHapticFeedback(value: boolean): this { return this } + public autoCapitalizationMode(value: AutoCapitalizationMode): this { + return this + } + public halfLeading(value: boolean | undefined): this { + return this + } + public stopBackPress(value: boolean | undefined): this { + return this + } + public onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this { + return this + } + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + return this + } public searchButton(value: string, option?: SearchButtonOptions): this { return this } @@ -1078,6 +1219,24 @@ export class ArkSearchComponent extends ArkCommonMethodComponent implements UISe return this } /** @memo */ + public minFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("minFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.minFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("maxFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.maxFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ public decoration(value: TextDecorationOptions): this { if (this.checkPriority("decoration")) { const value_casted = value as (TextDecorationOptions) @@ -1186,6 +1345,51 @@ export class ArkSearchComponent extends ArkCommonMethodComponent implements UISe return this } /** @memo */ + public autoCapitalizationMode(value: AutoCapitalizationMode): this { + if (this.checkPriority("autoCapitalizationMode")) { + const value_casted = value as (AutoCapitalizationMode) + this.getPeer()?.autoCapitalizationModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public halfLeading(value: boolean | undefined): this { + if (this.checkPriority("halfLeading")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.halfLeadingAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public stopBackPress(value: boolean | undefined): this { + if (this.checkPriority("stopBackPress")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.stopBackPressAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this { + if (this.checkPriority("onWillChange")) { + const value_casted = value as (((parameter: EditableTextChangeValue) => boolean)) + this.getPeer()?.onWillChangeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + if (this.checkPriority("keyboardAppearance")) { + const value_casted = value as (KeyboardAppearance | undefined) + this.getPeer()?.keyboardAppearanceAttribute(value_casted) + return this + } + return this + } + /** @memo */ public searchButton(value: string, option?: SearchButtonOptions): this { if (this.checkPriority("searchButton")) { const value_casted = value as (string) @@ -1298,7 +1502,7 @@ export class SearchController extends TextContentControllerBase implements Mater const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeSelectionOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/security_component.ts b/arkoala-arkts/arkui/src/generated/security_component.ts index af011bb084..f3039ef34f 100644 --- a/arkoala-arkts/arkui/src/generated/security_component.ts +++ b/arkoala-arkts/arkui/src/generated/security_component.ts @@ -22,11 +22,12 @@ import { Serializer } from "./peers/Serializer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" -import { Dimension, Position, LocalizedEdges, ResourceColor, Padding, Length, SizeOptions, ConstraintSizeOptions } from "./units" +import { Dimension, Position, LocalizedEdges, ResourceColor, BorderRadiuses, Padding, Length, SizeOptions, ConstraintSizeOptions } from "./units" import { Edges } from "./arkui-graphics" import { FontStyle } from "./arkui-graphics-text" -import { FontWeight, BorderStyle, Color } from "./enums" +import { FontWeight, BorderStyle, Alignment, TextHeightAdaptivePolicy, Axis, Color } from "./enums" import { Resource } from "./resource" +import { AlignRuleOption, LocalizedAlignRuleOptions, ChainStyle } from "./common" import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { UICommonBase, AttributeModifier } from "./../handwritten" @@ -47,17 +48,17 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -84,17 +85,17 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isPosition(value, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Position thisSerializer.writePosition(value_0) } else if (TypeChecker.isEdges(value, true, false, true, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Edges thisSerializer.writeEdges(value_1) } else if (TypeChecker.isLocalizedEdges(value, true, false, true, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as LocalizedEdges thisSerializer.writeLocalizedEdges(value_2) } @@ -106,17 +107,17 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -131,17 +132,17 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (TypeChecker.isFontWeight(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_1)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -153,12 +154,12 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -170,22 +171,22 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -197,22 +198,22 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -224,22 +225,22 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -254,17 +255,17 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -276,48 +277,81 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } ArkUIGeneratedNativeModule._SecurityComponentMethod_borderColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - borderRadiusAttribute(value: Dimension): void { + borderRadius0Attribute(value: Dimension): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._SecurityComponentMethod_borderRadius(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SecurityComponentMethod_borderRadius0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + borderRadius1Attribute(value: Dimension | BorderRadiuses): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + thisSerializer.writeInt8(0) + const value_0 = value as Dimension + let value_0_type : int32 = RuntimeType.UNDEFINED + value_0_type = runtimeType(value_0) + if (RuntimeType.STRING == value_0_type) { + thisSerializer.writeInt8(0) + const value_0_0 = value_0 as string + thisSerializer.writeString(value_0_0) + } + else if (RuntimeType.NUMBER == value_0_type) { + thisSerializer.writeInt8(1) + const value_0_1 = value_0 as number + thisSerializer.writeNumber(value_0_1) + } + else if (RuntimeType.OBJECT == value_0_type) { + thisSerializer.writeInt8(2) + const value_0_2 = value_0 as Resource + thisSerializer.writeResource(value_0_2) + } + } + else if (TypeChecker.isBorderRadiuses(value, false, false, false, false)) { + thisSerializer.writeInt8(1) + const value_1 = value as BorderRadiuses + thisSerializer.writeBorderRadiuses(value_1) + } + ArkUIGeneratedNativeModule._SecurityComponentMethod_borderRadius1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } paddingAttribute(value: Padding | Dimension): void { @@ -325,28 +359,28 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isPadding(value, false, false, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Padding const value_0_top = value_0.top let value_0_top_type : int32 = RuntimeType.UNDEFINED value_0_top_type = runtimeType(value_0_top) - thisSerializer.writeInt8(value_0_top_type as int32) + thisSerializer.writeInt8(value_0_top_type) if ((RuntimeType.UNDEFINED) != (value_0_top_type)) { const value_0_top_value = value_0_top! let value_0_top_value_type : int32 = RuntimeType.UNDEFINED value_0_top_value_type = runtimeType(value_0_top_value) if (RuntimeType.STRING == value_0_top_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_top_value_0 = value_0_top_value as string thisSerializer.writeString(value_0_top_value_0) } else if (RuntimeType.NUMBER == value_0_top_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_top_value_1 = value_0_top_value as number thisSerializer.writeNumber(value_0_top_value_1) } else if (RuntimeType.OBJECT == value_0_top_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_top_value_2 = value_0_top_value as Resource thisSerializer.writeResource(value_0_top_value_2) } @@ -354,23 +388,23 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { const value_0_right = value_0.right let value_0_right_type : int32 = RuntimeType.UNDEFINED value_0_right_type = runtimeType(value_0_right) - thisSerializer.writeInt8(value_0_right_type as int32) + thisSerializer.writeInt8(value_0_right_type) if ((RuntimeType.UNDEFINED) != (value_0_right_type)) { const value_0_right_value = value_0_right! let value_0_right_value_type : int32 = RuntimeType.UNDEFINED value_0_right_value_type = runtimeType(value_0_right_value) if (RuntimeType.STRING == value_0_right_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_right_value_0 = value_0_right_value as string thisSerializer.writeString(value_0_right_value_0) } else if (RuntimeType.NUMBER == value_0_right_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_right_value_1 = value_0_right_value as number thisSerializer.writeNumber(value_0_right_value_1) } else if (RuntimeType.OBJECT == value_0_right_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_right_value_2 = value_0_right_value as Resource thisSerializer.writeResource(value_0_right_value_2) } @@ -378,23 +412,23 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { const value_0_bottom = value_0.bottom let value_0_bottom_type : int32 = RuntimeType.UNDEFINED value_0_bottom_type = runtimeType(value_0_bottom) - thisSerializer.writeInt8(value_0_bottom_type as int32) + thisSerializer.writeInt8(value_0_bottom_type) if ((RuntimeType.UNDEFINED) != (value_0_bottom_type)) { const value_0_bottom_value = value_0_bottom! let value_0_bottom_value_type : int32 = RuntimeType.UNDEFINED value_0_bottom_value_type = runtimeType(value_0_bottom_value) if (RuntimeType.STRING == value_0_bottom_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_bottom_value_0 = value_0_bottom_value as string thisSerializer.writeString(value_0_bottom_value_0) } else if (RuntimeType.NUMBER == value_0_bottom_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_bottom_value_1 = value_0_bottom_value as number thisSerializer.writeNumber(value_0_bottom_value_1) } else if (RuntimeType.OBJECT == value_0_bottom_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_bottom_value_2 = value_0_bottom_value as Resource thisSerializer.writeResource(value_0_bottom_value_2) } @@ -402,45 +436,45 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { const value_0_left = value_0.left let value_0_left_type : int32 = RuntimeType.UNDEFINED value_0_left_type = runtimeType(value_0_left) - thisSerializer.writeInt8(value_0_left_type as int32) + thisSerializer.writeInt8(value_0_left_type) if ((RuntimeType.UNDEFINED) != (value_0_left_type)) { const value_0_left_value = value_0_left! let value_0_left_value_type : int32 = RuntimeType.UNDEFINED value_0_left_value_type = runtimeType(value_0_left_value) if (RuntimeType.STRING == value_0_left_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_left_value_0 = value_0_left_value as string thisSerializer.writeString(value_0_left_value_0) } else if (RuntimeType.NUMBER == value_0_left_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_left_value_1 = value_0_left_value as number thisSerializer.writeNumber(value_0_left_value_1) } else if (RuntimeType.OBJECT == value_0_left_value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_left_value_2 = value_0_left_value as Resource thisSerializer.writeResource(value_0_left_value_2) } } } else if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Dimension let value_1_type : int32 = RuntimeType.UNDEFINED value_1_type = runtimeType(value_1) if (RuntimeType.STRING == value_1_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_1_0 = value_1 as string thisSerializer.writeString(value_1_0) } else if (RuntimeType.NUMBER == value_1_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1_1 = value_1 as number thisSerializer.writeNumber(value_1_1) } else if (RuntimeType.OBJECT == value_1_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_1_2 = value_1 as Resource thisSerializer.writeResource(value_1_2) } @@ -453,17 +487,17 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -478,17 +512,17 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -500,17 +534,17 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -529,6 +563,114 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._SecurityComponentMethod_constraintSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + alignAttribute(value: Alignment): void { + ArkUIGeneratedNativeModule._SecurityComponentMethod_align(this.peer.ptr, TypeChecker.Alignment_ToNumeric(value)) + } + alignRules0Attribute(value: AlignRuleOption): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeAlignRuleOption(value) + ArkUIGeneratedNativeModule._SecurityComponentMethod_alignRules0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + alignRules1Attribute(value: LocalizedAlignRuleOptions): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeLocalizedAlignRuleOptions(value) + ArkUIGeneratedNativeModule._SecurityComponentMethod_alignRules1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + idAttribute(value: string): void { + ArkUIGeneratedNativeModule._SecurityComponentMethod_id(this.peer.ptr, value) + } + minFontScaleAttribute(value: number | Resource): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(0) + const value_0 = value as number + thisSerializer.writeNumber(value_0) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(1) + const value_1 = value as Resource + thisSerializer.writeResource(value_1) + } + ArkUIGeneratedNativeModule._SecurityComponentMethod_minFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontScaleAttribute(value: number | Resource): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(0) + const value_0 = value as number + thisSerializer.writeNumber(value_0) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(1) + const value_1 = value as Resource + thisSerializer.writeResource(value_1) + } + ArkUIGeneratedNativeModule._SecurityComponentMethod_maxFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxLinesAttribute(value: number): void { + ArkUIGeneratedNativeModule._SecurityComponentMethod_maxLines(this.peer.ptr, value) + } + minFontSizeAttribute(value: number | string | Resource): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(0) + const value_0 = value as number + thisSerializer.writeNumber(value_0) + } + else if (RuntimeType.STRING == value_type) { + thisSerializer.writeInt8(1) + const value_1 = value as string + thisSerializer.writeString(value_1) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(2) + const value_2 = value as Resource + thisSerializer.writeResource(value_2) + } + ArkUIGeneratedNativeModule._SecurityComponentMethod_minFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontSizeAttribute(value: number | string | Resource): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(0) + const value_0 = value as number + thisSerializer.writeNumber(value_0) + } + else if (RuntimeType.STRING == value_type) { + thisSerializer.writeInt8(1) + const value_1 = value as string + thisSerializer.writeString(value_1) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(2) + const value_2 = value as Resource + thisSerializer.writeResource(value_2) + } + ArkUIGeneratedNativeModule._SecurityComponentMethod_maxFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + heightAdaptivePolicyAttribute(value: TextHeightAdaptivePolicy): void { + ArkUIGeneratedNativeModule._SecurityComponentMethod_heightAdaptivePolicy(this.peer.ptr, TypeChecker.TextHeightAdaptivePolicy_ToNumeric(value)) + } + enabledAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._SecurityComponentMethod_enabled(this.peer.ptr, value ? 1 : 0) + } + chainModeAttribute(direction: Axis, style: ChainStyle): void { + ArkUIGeneratedNativeModule._SecurityComponentMethod_chainMode(this.peer.ptr, TypeChecker.Axis_ToNumeric(direction), TypeChecker.ChainStyle_ToNumeric(style)) + } } export enum SecurityComponentLayoutDirection { HORIZONTAL = 0, @@ -550,7 +692,7 @@ export interface SecurityComponentMethod { borderStyle(value: BorderStyle): this borderWidth(value: Dimension): this borderColor(value: ResourceColor): this - borderRadius(value: Dimension): this + borderRadius(value: Dimension | Dimension | BorderRadiuses): this padding(value: Padding | Dimension): this textIconSpace(value: Dimension): this key(value: string): this @@ -558,6 +700,17 @@ export interface SecurityComponentMethod { height(value: Length): this size(value: SizeOptions): this constraintSize(value: ConstraintSizeOptions): this + align(value: Alignment): this + alignRules(value: AlignRuleOption | LocalizedAlignRuleOptions): this + id(value: string): this + minFontScale(value: number | Resource): this + maxFontScale(value: number | Resource): this + maxLines(value: number): this + minFontSize(value: number | string | Resource): this + maxFontSize(value: number | string | Resource): this + heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this + enabled(value: boolean): this + chainMode(direction: Axis, style: ChainStyle): this attributeModifier(value: AttributeModifier | undefined): this } export interface UISecurityComponentMethod { @@ -592,7 +745,7 @@ export interface UISecurityComponentMethod { /** @memo */ borderColor(value: ResourceColor): this /** @memo */ - borderRadius(value: Dimension): this + borderRadius(value: Dimension | Dimension | BorderRadiuses): this /** @memo */ padding(value: Padding | Dimension): this /** @memo */ @@ -608,6 +761,28 @@ export interface UISecurityComponentMethod { /** @memo */ constraintSize(value: ConstraintSizeOptions): this /** @memo */ + align(value: Alignment): this + /** @memo */ + alignRules(value: AlignRuleOption | LocalizedAlignRuleOptions): this + /** @memo */ + id(value: string): this + /** @memo */ + minFontScale(value: number | Resource): this + /** @memo */ + maxFontScale(value: number | Resource): this + /** @memo */ + maxLines(value: number): this + /** @memo */ + minFontSize(value: number | string | Resource): this + /** @memo */ + maxFontSize(value: number | string | Resource): this + /** @memo */ + heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this + /** @memo */ + enabled(value: boolean): this + /** @memo */ + chainMode(direction: Axis, style: ChainStyle): this + /** @memo */ attributeModifier(value: AttributeModifier | undefined): this } export class ArkSecurityComponentMethodStyle implements SecurityComponentMethod { @@ -634,6 +809,16 @@ export class ArkSecurityComponentMethodStyle implements SecurityComponentMethod height_value?: Length size_value?: SizeOptions constraintSize_value?: ConstraintSizeOptions + align_value?: Alignment + alignRules_value?: AlignRuleOption + id_value?: string + minFontScale_value?: number | Resource + maxFontScale_value?: number | Resource + maxLines_value?: number + minFontSize_value?: number | string | Resource + maxFontSize_value?: number | string | Resource + heightAdaptivePolicy_value?: TextHeightAdaptivePolicy + enabled_value?: boolean public iconSize(value: Dimension): this { return this } @@ -679,7 +864,7 @@ export class ArkSecurityComponentMethodStyle implements SecurityComponentMethod public borderColor(value: ResourceColor): this { return this } - public borderRadius(value: Dimension): this { + public borderRadius(value: Dimension | Dimension | BorderRadiuses): this { return this } public padding(value: Padding | Dimension): this { @@ -703,6 +888,39 @@ export class ArkSecurityComponentMethodStyle implements SecurityComponentMethod public constraintSize(value: ConstraintSizeOptions): this { return this } + public align(value: Alignment): this { + return this + } + public alignRules(value: AlignRuleOption | LocalizedAlignRuleOptions): this { + return this + } + public id(value: string): this { + return this + } + public minFontScale(value: number | Resource): this { + return this + } + public maxFontScale(value: number | Resource): this { + return this + } + public maxLines(value: number): this { + return this + } + public minFontSize(value: number | string | Resource): this { + return this + } + public maxFontSize(value: number | string | Resource): this { + return this + } + public heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this { + return this + } + public enabled(value: boolean): this { + return this + } + public chainMode(direction: Axis, style: ChainStyle): this { + return this + } public attributeModifier(value: AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -848,11 +1066,20 @@ export class ArkSecurityComponentMethodComponent extends ComponentBase implement return this } /** @memo */ - public borderRadius(value: Dimension): this { + public borderRadius(value: Dimension | Dimension | BorderRadiuses): this { if (this.checkPriority("borderRadius")) { - const value_casted = value as (Dimension) - this.getPeer()?.borderRadiusAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Dimension) + this.getPeer()?.borderRadius0Attribute(value_casted) + return this + } + if (((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) || (TypeChecker.isBorderRadiuses(value, false, false, false, false))) { + const value_casted = value as (Dimension | BorderRadiuses) + this.getPeer()?.borderRadius1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -920,6 +1147,115 @@ export class ArkSecurityComponentMethodComponent extends ComponentBase implement return this } /** @memo */ + public align(value: Alignment): this { + if (this.checkPriority("align")) { + const value_casted = value as (Alignment) + this.getPeer()?.alignAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public alignRules(value: AlignRuleOption | LocalizedAlignRuleOptions): this { + if (this.checkPriority("alignRules")) { + const value_type = runtimeType(value) + if (TypeChecker.isAlignRuleOption(value, false, false, true, true, true, true, true)) { + const value_casted = value as (AlignRuleOption) + this.getPeer()?.alignRules0Attribute(value_casted) + return this + } + if (TypeChecker.isLocalizedAlignRuleOptions(value, false, false, true, true, true, true, true)) { + const value_casted = value as (LocalizedAlignRuleOptions) + this.getPeer()?.alignRules1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public id(value: string): this { + if (this.checkPriority("id")) { + const value_casted = value as (string) + this.getPeer()?.idAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public minFontScale(value: number | Resource): this { + if (this.checkPriority("minFontScale")) { + const value_casted = value as (number | Resource) + this.getPeer()?.minFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontScale(value: number | Resource): this { + if (this.checkPriority("maxFontScale")) { + const value_casted = value as (number | Resource) + this.getPeer()?.maxFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxLines(value: number): this { + if (this.checkPriority("maxLines")) { + const value_casted = value as (number) + this.getPeer()?.maxLinesAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public minFontSize(value: number | string | Resource): this { + if (this.checkPriority("minFontSize")) { + const value_casted = value as (number | string | Resource) + this.getPeer()?.minFontSizeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontSize(value: number | string | Resource): this { + if (this.checkPriority("maxFontSize")) { + const value_casted = value as (number | string | Resource) + this.getPeer()?.maxFontSizeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this { + if (this.checkPriority("heightAdaptivePolicy")) { + const value_casted = value as (TextHeightAdaptivePolicy) + this.getPeer()?.heightAdaptivePolicyAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enabled(value: boolean): this { + if (this.checkPriority("enabled")) { + const value_casted = value as (boolean) + this.getPeer()?.enabledAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public chainMode(direction: Axis, style: ChainStyle): this { + if (this.checkPriority("chainMode")) { + const direction_casted = direction as (Axis) + const style_casted = style as (ChainStyle) + this.getPeer()?.chainModeAttribute(direction_casted, style_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala-arkts/arkui/src/generated/select.ts b/arkoala-arkts/arkui/src/generated/select.ts index 6ec93f9e82..27e87c3917 100644 --- a/arkoala-arkts/arkui/src/generated/select.ts +++ b/arkoala-arkts/arkui/src/generated/select.ts @@ -17,8 +17,8 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { CommonConfiguration, ContentModifier } from "./arkui-wrapper-builder" -import { ResourceStr, Font, ResourceColor, Length, Dimension, Offset } from "./units" -import { SymbolGlyphModifier } from "./arkui-external" +import { ResourceStr, Font, ResourceColor, Length, Dimension, DividerStyleOptions, Offset, EdgeOutlineWidths, EdgeColors } from "./units" +import { SymbolGlyphModifier, TextModifier } from "./arkui-external" import { Resource } from "./resource" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, nullptr, KInt, KBoolean, KStringPtr } from "@koalaui/interop" @@ -196,12 +196,12 @@ export class MenuItemConfigurationInternal implements MaterializedBase,CommonCon let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -217,12 +217,12 @@ export class MenuItemConfigurationInternal implements MaterializedBase,CommonCon let icon_type : int32 = RuntimeType.UNDEFINED icon_type = runtimeType(icon) if (RuntimeType.STRING == icon_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const icon_0 = icon as string thisSerializer.writeString(icon_0) } else if (RuntimeType.OBJECT == icon_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const icon_1 = icon as Resource thisSerializer.writeResource(icon_1) } @@ -280,323 +280,758 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SelectInterface_setSelectOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedAttribute(value: number | Resource): void { + selected0Attribute(value: number | Resource): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } - ArkUIGeneratedNativeModule._SelectAttribute_selected(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_selected0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - valueAttribute(value: ResourceStr): void { + selected1Attribute(value: number | Resource | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_selected1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + value0Attribute(value: ResourceStr): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } - ArkUIGeneratedNativeModule._SelectAttribute_value(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_value0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - fontAttribute(value: Font): void { + value1Attribute(value: ResourceStr | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as string + thisSerializer.writeString(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_value1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + font0Attribute(value: Font): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeFont(value) - ArkUIGeneratedNativeModule._SelectAttribute_font(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_font0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - fontColorAttribute(value: ResourceColor): void { + font1Attribute(value: Font | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeFont(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_font1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + fontColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SelectAttribute_fontColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_fontColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + fontColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isColor(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0)) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as string + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as Resource + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_fontColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedOptionBgColorAttribute(value: ResourceColor): void { + selectedOptionBgColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionBgColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionBgColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedOptionBgColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isColor(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0)) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as string + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as Resource + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionBgColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedOptionFontAttribute(value: Font): void { + selectedOptionFont0Attribute(value: Font): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeFont(value) - ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionFont(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionFont0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedOptionFontColorAttribute(value: ResourceColor): void { + selectedOptionFont1Attribute(value: Font | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeFont(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionFont1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedOptionFontColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionFontColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionFontColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - optionBgColorAttribute(value: ResourceColor): void { + selectedOptionFontColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isColor(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0)) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as string + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as Resource + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionFontColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + optionBgColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SelectAttribute_optionBgColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_optionBgColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + optionBgColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isColor(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0)) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as string + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as Resource + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_optionBgColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - optionFontAttribute(value: Font): void { + optionFont0Attribute(value: Font): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeFont(value) - ArkUIGeneratedNativeModule._SelectAttribute_optionFont(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_optionFont0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - optionFontColorAttribute(value: ResourceColor): void { + optionFont1Attribute(value: Font | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeFont(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_optionFont1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + optionFontColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SelectAttribute_optionFontColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_optionFontColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onSelectAttribute(value: ((index: number,value: string) => void)): void { + optionFontColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isColor(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0)) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as string + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as Resource + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_optionFontColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onSelect0Attribute(value: ((index: number,value: string) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._SelectAttribute_onSelect(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_onSelect0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - spaceAttribute(value: Length): void { + onSelect1Attribute(value: OnSelectCallback | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_onSelect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + space0Attribute(value: Length): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._SelectAttribute_space(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_space0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - arrowPositionAttribute(value: ArrowPosition): void { - ArkUIGeneratedNativeModule._SelectAttribute_arrowPosition(this.peer.ptr, TypeChecker.ArrowPosition_ToNumeric(value)) + space1Attribute(value: Length | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as string + thisSerializer.writeString(value_value_0) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as Resource + thisSerializer.writeResource(value_value_2) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_space1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + arrowPosition0Attribute(value: ArrowPosition): void { + ArkUIGeneratedNativeModule._SelectAttribute_arrowPosition0(this.peer.ptr, TypeChecker.ArrowPosition_ToNumeric(value)) + } + arrowPosition1Attribute(value: ArrowPosition | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as ArrowPosition) + thisSerializer.writeInt32(TypeChecker.ArrowPosition_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._SelectAttribute_arrowPosition1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - optionWidthAttribute(value: Dimension | OptionWidthMode): void { + optionWidth0Attribute(value: Dimension | OptionWidthMode): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Dimension let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as string thisSerializer.writeString(value_0_0) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as Resource thisSerializer.writeResource(value_0_2) } } else if (TypeChecker.isOptionWidthMode(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as OptionWidthMode thisSerializer.writeInt32(TypeChecker.OptionWidthMode_ToNumeric(value_1)) } - ArkUIGeneratedNativeModule._SelectAttribute_optionWidth(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_optionWidth0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - optionHeightAttribute(value: Dimension): void { + optionWidth1Attribute(value: Dimension | OptionWidthMode | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if ((RuntimeType.STRING == value_value_type) || (RuntimeType.NUMBER == value_value_type) || (RuntimeType.OBJECT == value_value_type)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Dimension + let value_value_0_type : int32 = RuntimeType.UNDEFINED + value_value_0_type = runtimeType(value_value_0) + if (RuntimeType.STRING == value_value_0_type) { + thisSerializer.writeInt8(0) + const value_value_0_0 = value_value_0 as string + thisSerializer.writeString(value_value_0_0) + } + else if (RuntimeType.NUMBER == value_value_0_type) { + thisSerializer.writeInt8(1) + const value_value_0_1 = value_value_0 as number + thisSerializer.writeNumber(value_value_0_1) + } + else if (RuntimeType.OBJECT == value_value_0_type) { + thisSerializer.writeInt8(2) + const value_value_0_2 = value_value_0 as Resource + thisSerializer.writeResource(value_value_0_2) + } + } + else if (TypeChecker.isOptionWidthMode(value_value)) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as OptionWidthMode + thisSerializer.writeInt32(TypeChecker.OptionWidthMode_ToNumeric(value_value_1)) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_optionWidth1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + optionHeight0Attribute(value: Dimension): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._SelectAttribute_optionHeight(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_optionHeight0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + optionHeight1Attribute(value: Dimension | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as string + thisSerializer.writeString(value_value_0) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as Resource + thisSerializer.writeResource(value_value_2) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_optionHeight1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - menuBackgroundColorAttribute(value: ResourceColor): void { + menuBackgroundColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SelectAttribute_menuBackgroundColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_menuBackgroundColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menuBackgroundColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (TypeChecker.isColor(value_value)) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0)) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as string + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = value_value as Resource + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_menuBackgroundColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menuBackgroundBlurStyle0Attribute(value: BlurStyle): void { + ArkUIGeneratedNativeModule._SelectAttribute_menuBackgroundBlurStyle0(this.peer.ptr, TypeChecker.BlurStyle_ToNumeric(value)) + } + menuBackgroundBlurStyle1Attribute(value: BlurStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as BlurStyle) + thisSerializer.writeInt32(TypeChecker.BlurStyle_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._SelectAttribute_menuBackgroundBlurStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - menuBackgroundBlurStyleAttribute(value: BlurStyle): void { - ArkUIGeneratedNativeModule._SelectAttribute_menuBackgroundBlurStyle(this.peer.ptr, TypeChecker.BlurStyle_ToNumeric(value)) + controlSize0Attribute(value: ControlSize): void { + ArkUIGeneratedNativeModule._SelectAttribute_controlSize0(this.peer.ptr, TypeChecker.ControlSize_ToNumeric(value)) } - controlSizeAttribute(value: ControlSize): void { - ArkUIGeneratedNativeModule._SelectAttribute_controlSize(this.peer.ptr, TypeChecker.ControlSize_ToNumeric(value)) + controlSize1Attribute(value: ControlSize | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as ControlSize) + thisSerializer.writeInt32(TypeChecker.ControlSize_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._SelectAttribute_controlSize1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - menuItemContentModifierAttribute(value: ContentModifier): void { + menuItemContentModifier0Attribute(value: ContentModifier): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteObject(value) - ArkUIGeneratedNativeModule._SelectAttribute_menuItemContentModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_menuItemContentModifier0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menuItemContentModifier1Attribute(value: ContentModifier | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteObject(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_menuItemContentModifier1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } dividerAttribute(value: DividerOptions | undefined): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeDividerOptions(value_value) @@ -604,51 +1039,104 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SelectAttribute_divider(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - menuAlignAttribute(alignType: MenuAlignType, offset?: Offset): void { + textModifierAttribute(value: TextModifier | undefined): void { const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeTextModifier(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_textModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + arrowModifierAttribute(value: SymbolGlyphModifier | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeSymbolGlyphModifier(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_arrowModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + optionTextModifierAttribute(value: TextModifier | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeTextModifier(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_optionTextModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedOptionTextModifierAttribute(value: TextModifier | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeTextModifier(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionTextModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + dividerStyleAttribute(value: DividerStyleOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeDividerStyleOptions(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_dividerStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + avoidanceAttribute(value: AvoidanceMode): void { + ArkUIGeneratedNativeModule._SelectAttribute_avoidance(this.peer.ptr, TypeChecker.AvoidanceMode_ToNumeric(value)) + } + menuOutlineAttribute(value: MenuOutlineOptions): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeMenuOutlineOptions(value) + ArkUIGeneratedNativeModule._SelectAttribute_menuOutline(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menuAlign0Attribute(alignType: MenuAlignType, offset?: Offset): void { + const thisSerializer : Serializer = Serializer.hold() + let offset_type : int32 = RuntimeType.UNDEFINED + offset_type = runtimeType(offset) + thisSerializer.writeInt8(offset_type) + if ((RuntimeType.UNDEFINED) != (offset_type)) { + const offset_value = offset! + thisSerializer.writeOffset(offset_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_menuAlign0(this.peer.ptr, TypeChecker.MenuAlignType_ToNumeric(alignType), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menuAlign1Attribute(alignType: MenuAlignType | undefined, offset?: Offset): void { + const thisSerializer : Serializer = Serializer.hold() + let alignType_type : int32 = RuntimeType.UNDEFINED + alignType_type = runtimeType(alignType) + thisSerializer.writeInt8(alignType_type) + if ((RuntimeType.UNDEFINED) != (alignType_type)) { + const alignType_value = (alignType as MenuAlignType) + thisSerializer.writeInt32(TypeChecker.MenuAlignType_ToNumeric(alignType_value)) + } let offset_type : int32 = RuntimeType.UNDEFINED offset_type = runtimeType(offset) - thisSerializer.writeInt8(offset_type as int32) + thisSerializer.writeInt8(offset_type) if ((RuntimeType.UNDEFINED) != (offset_type)) { const offset_value = offset! - const offset_value_dx = offset_value.dx - let offset_value_dx_type : int32 = RuntimeType.UNDEFINED - offset_value_dx_type = runtimeType(offset_value_dx) - if (RuntimeType.STRING == offset_value_dx_type) { - thisSerializer.writeInt8(0 as int32) - const offset_value_dx_0 = offset_value_dx as string - thisSerializer.writeString(offset_value_dx_0) - } - else if (RuntimeType.NUMBER == offset_value_dx_type) { - thisSerializer.writeInt8(1 as int32) - const offset_value_dx_1 = offset_value_dx as number - thisSerializer.writeNumber(offset_value_dx_1) - } - else if (RuntimeType.OBJECT == offset_value_dx_type) { - thisSerializer.writeInt8(2 as int32) - const offset_value_dx_2 = offset_value_dx as Resource - thisSerializer.writeResource(offset_value_dx_2) - } - const offset_value_dy = offset_value.dy - let offset_value_dy_type : int32 = RuntimeType.UNDEFINED - offset_value_dy_type = runtimeType(offset_value_dy) - if (RuntimeType.STRING == offset_value_dy_type) { - thisSerializer.writeInt8(0 as int32) - const offset_value_dy_0 = offset_value_dy as string - thisSerializer.writeString(offset_value_dy_0) - } - else if (RuntimeType.NUMBER == offset_value_dy_type) { - thisSerializer.writeInt8(1 as int32) - const offset_value_dy_1 = offset_value_dy as number - thisSerializer.writeNumber(offset_value_dy_1) - } - else if (RuntimeType.OBJECT == offset_value_dy_type) { - thisSerializer.writeInt8(2 as int32) - const offset_value_dy_2 = offset_value_dy as Resource - thisSerializer.writeResource(offset_value_dy_2) - } - } - ArkUIGeneratedNativeModule._SelectAttribute_menuAlign(this.peer.ptr, TypeChecker.MenuAlignType_ToNumeric(alignType), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeOffset(offset_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_menuAlign1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } _onChangeEvent_selectedAttribute(callback: ((selected: number | Resource) => void)): void { @@ -679,78 +1167,108 @@ export enum MenuAlignType { CENTER = 1, END = 2 } +export enum AvoidanceMode { + COVER_TARGET = 0, + AVOID_AROUND_TARGET = 1 +} +export type OnSelectCallback = (index: number, selectStr: string) => void; +export interface MenuOutlineOptions { + width?: Dimension | EdgeOutlineWidths; + color?: ResourceColor | EdgeColors; +} export type Callback_Number_String_Void = (index: number, value: string) => void; export type Callback_Union_Number_Resource_Void = (selected: number | Resource) => void; export type Callback_ResourceStr_Void = (value: ResourceStr) => void; export interface SelectAttribute extends CommonMethod { - selected(value: number | Resource): this - value(value: ResourceStr): this - font(value: Font): this - fontColor(value: ResourceColor): this - selectedOptionBgColor(value: ResourceColor): this - selectedOptionFont(value: Font): this - selectedOptionFontColor(value: ResourceColor): this - optionBgColor(value: ResourceColor): this - optionFont(value: Font): this - optionFontColor(value: ResourceColor): this - onSelect(value: ((index: number,value: string) => void)): this - space(value: Length): this - arrowPosition(value: ArrowPosition): this - optionWidth(value: Dimension | OptionWidthMode): this - optionHeight(value: Dimension): this - menuBackgroundColor(value: ResourceColor): this - menuBackgroundBlurStyle(value: BlurStyle): this - controlSize(value: ControlSize): this - menuItemContentModifier(value: ContentModifier): this + selected(value: number | Resource | number | Resource | undefined): this + value(value: ResourceStr | ResourceStr | undefined): this + font(value: Font | Font | undefined): this + fontColor(value: ResourceColor | ResourceColor | undefined): this + selectedOptionBgColor(value: ResourceColor | ResourceColor | undefined): this + selectedOptionFont(value: Font | Font | undefined): this + selectedOptionFontColor(value: ResourceColor | ResourceColor | undefined): this + optionBgColor(value: ResourceColor | ResourceColor | undefined): this + optionFont(value: Font | Font | undefined): this + optionFontColor(value: ResourceColor | ResourceColor | undefined): this + onSelect(value: ((index: number,value: string) => void) | OnSelectCallback | undefined): this + space(value: Length | Length | undefined): this + arrowPosition(value: ArrowPosition | ArrowPosition | undefined): this + optionWidth(value: Dimension | OptionWidthMode | Dimension | OptionWidthMode | undefined): this + optionHeight(value: Dimension | Dimension | undefined): this + menuBackgroundColor(value: ResourceColor | ResourceColor | undefined): this + menuBackgroundBlurStyle(value: BlurStyle | BlurStyle | undefined): this + controlSize(value: ControlSize | ControlSize | undefined): this + menuItemContentModifier(value: ContentModifier | ContentModifier | undefined): this divider(value: DividerOptions | undefined): this - menuAlign(alignType: MenuAlignType, offset?: Offset): this + textModifier(value: TextModifier | undefined): this + arrowModifier(value: SymbolGlyphModifier | undefined): this + optionTextModifier(value: TextModifier | undefined): this + selectedOptionTextModifier(value: TextModifier | undefined): this + dividerStyle(value: DividerStyleOptions | undefined): this + avoidance(value: AvoidanceMode): this + menuOutline(value: MenuOutlineOptions): this + menuAlign(alignType: MenuAlignType | MenuAlignType | undefined, offset?: Offset): this _onChangeEvent_selected(callback: ((selected: number | Resource) => void)): void _onChangeEvent_value(callback: ((value: ResourceStr) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UISelectAttribute extends UICommonMethod { /** @memo */ - selected(value: number | Resource): this + selected(value: number | Resource | number | Resource | undefined): this /** @memo */ - value(value: ResourceStr): this + value(value: ResourceStr | ResourceStr | undefined): this /** @memo */ - font(value: Font): this + font(value: Font | Font | undefined): this /** @memo */ - fontColor(value: ResourceColor): this + fontColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - selectedOptionBgColor(value: ResourceColor): this + selectedOptionBgColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - selectedOptionFont(value: Font): this + selectedOptionFont(value: Font | Font | undefined): this /** @memo */ - selectedOptionFontColor(value: ResourceColor): this + selectedOptionFontColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - optionBgColor(value: ResourceColor): this + optionBgColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - optionFont(value: Font): this + optionFont(value: Font | Font | undefined): this /** @memo */ - optionFontColor(value: ResourceColor): this + optionFontColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - onSelect(value: ((index: number,value: string) => void)): this + onSelect(value: ((index: number,value: string) => void) | OnSelectCallback | undefined): this /** @memo */ - space(value: Length): this + space(value: Length | Length | undefined): this /** @memo */ - arrowPosition(value: ArrowPosition): this + arrowPosition(value: ArrowPosition | ArrowPosition | undefined): this /** @memo */ - optionWidth(value: Dimension | OptionWidthMode): this + optionWidth(value: Dimension | OptionWidthMode | Dimension | OptionWidthMode | undefined): this /** @memo */ - optionHeight(value: Dimension): this + optionHeight(value: Dimension | Dimension | undefined): this /** @memo */ - menuBackgroundColor(value: ResourceColor): this + menuBackgroundColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - menuBackgroundBlurStyle(value: BlurStyle): this + menuBackgroundBlurStyle(value: BlurStyle | BlurStyle | undefined): this /** @memo */ - controlSize(value: ControlSize): this + controlSize(value: ControlSize | ControlSize | undefined): this /** @memo */ - menuItemContentModifier(value: ContentModifier): this + menuItemContentModifier(value: ContentModifier | ContentModifier | undefined): this /** @memo */ divider(value: DividerOptions | undefined): this /** @memo */ - menuAlign(alignType: MenuAlignType, offset?: Offset): this + textModifier(value: TextModifier | undefined): this + /** @memo */ + arrowModifier(value: SymbolGlyphModifier | undefined): this + /** @memo */ + optionTextModifier(value: TextModifier | undefined): this + /** @memo */ + selectedOptionTextModifier(value: TextModifier | undefined): this + /** @memo */ + dividerStyle(value: DividerStyleOptions | undefined): this + /** @memo */ + avoidance(value: AvoidanceMode): this + /** @memo */ + menuOutline(value: MenuOutlineOptions): this + /** @memo */ + menuAlign(alignType: MenuAlignType | MenuAlignType | undefined, offset?: Offset): this /** @memo */ _onChangeEvent_selected(callback: ((selected: number | Resource) => void)): void /** @memo */ @@ -779,67 +1297,95 @@ export class ArkSelectStyle extends ArkCommonMethodStyle implements SelectAttrib controlSize_value?: ControlSize menuItemContentModifier_value?: ContentModifier divider_value?: DividerOptions | undefined - public selected(value: number | Resource): this { + textModifier_value?: TextModifier | undefined + arrowModifier_value?: SymbolGlyphModifier | undefined + optionTextModifier_value?: TextModifier | undefined + selectedOptionTextModifier_value?: TextModifier | undefined + dividerStyle_value?: DividerStyleOptions | undefined + avoidance_value?: AvoidanceMode + menuOutline_value?: MenuOutlineOptions + public selected(value: number | Resource | number | Resource | undefined): this { return this } - public value(value: ResourceStr): this { + public value(value: ResourceStr | ResourceStr | undefined): this { return this } - public font(value: Font): this { + public font(value: Font | Font | undefined): this { return this } - public fontColor(value: ResourceColor): this { + public fontColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public selectedOptionBgColor(value: ResourceColor): this { + public selectedOptionBgColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public selectedOptionFont(value: Font): this { + public selectedOptionFont(value: Font | Font | undefined): this { return this } - public selectedOptionFontColor(value: ResourceColor): this { + public selectedOptionFontColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public optionBgColor(value: ResourceColor): this { + public optionBgColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public optionFont(value: Font): this { + public optionFont(value: Font | Font | undefined): this { return this } - public optionFontColor(value: ResourceColor): this { + public optionFontColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public onSelect(value: ((index: number,value: string) => void)): this { + public onSelect(value: ((index: number,value: string) => void) | OnSelectCallback | undefined): this { return this } - public space(value: Length): this { + public space(value: Length | Length | undefined): this { return this } - public arrowPosition(value: ArrowPosition): this { + public arrowPosition(value: ArrowPosition | ArrowPosition | undefined): this { return this } - public optionWidth(value: Dimension | OptionWidthMode): this { + public optionWidth(value: Dimension | OptionWidthMode | Dimension | OptionWidthMode | undefined): this { return this } - public optionHeight(value: Dimension): this { + public optionHeight(value: Dimension | Dimension | undefined): this { return this } - public menuBackgroundColor(value: ResourceColor): this { + public menuBackgroundColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public menuBackgroundBlurStyle(value: BlurStyle): this { + public menuBackgroundBlurStyle(value: BlurStyle | BlurStyle | undefined): this { return this } - public controlSize(value: ControlSize): this { + public controlSize(value: ControlSize | ControlSize | undefined): this { return this } - public menuItemContentModifier(value: ContentModifier): this { + public menuItemContentModifier(value: ContentModifier | ContentModifier | undefined): this { return this } public divider(value: DividerOptions | undefined): this { return this } - public menuAlign(alignType: MenuAlignType, offset?: Offset): this { + public textModifier(value: TextModifier | undefined): this { + return this + } + public arrowModifier(value: SymbolGlyphModifier | undefined): this { + return this + } + public optionTextModifier(value: TextModifier | undefined): this { + return this + } + public selectedOptionTextModifier(value: TextModifier | undefined): this { + return this + } + public dividerStyle(value: DividerStyleOptions | undefined): this { + return this + } + public avoidance(value: AvoidanceMode): this { + return this + } + public menuOutline(value: MenuOutlineOptions): this { + return this + } + public menuAlign(alignType: MenuAlignType | MenuAlignType | undefined, offset?: Offset): this { return this } public _onChangeEvent_selected(callback: ((selected: number | Resource) => void)): void { @@ -867,173 +1413,344 @@ export class ArkSelectComponent extends ArkCommonMethodComponent implements UISe return this } /** @memo */ - public selected(value: number | Resource): this { + public selected(value: number | Resource | number | Resource | undefined): this { if (this.checkPriority("selected")) { - const value_casted = value as (number | Resource) - this.getPeer()?.selectedAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (number | Resource) + this.getPeer()?.selected0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.selected1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public value(value: ResourceStr): this { + public value(value: ResourceStr | ResourceStr | undefined): this { if (this.checkPriority("value")) { - const value_casted = value as (ResourceStr) - this.getPeer()?.valueAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceStr) + this.getPeer()?.value0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceStr | undefined) + this.getPeer()?.value1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public font(value: Font): this { + public font(value: Font | Font | undefined): this { if (this.checkPriority("font")) { - const value_casted = value as (Font) - this.getPeer()?.fontAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isFont(value, false, false, false, false)) { + const value_casted = value as (Font) + this.getPeer()?.font0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Font | undefined) + this.getPeer()?.font1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public fontColor(value: ResourceColor): this { + public fontColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("fontColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.fontColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.fontColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.fontColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedOptionBgColor(value: ResourceColor): this { + public selectedOptionBgColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("selectedOptionBgColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.selectedOptionBgColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.selectedOptionBgColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.selectedOptionBgColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedOptionFont(value: Font): this { + public selectedOptionFont(value: Font | Font | undefined): this { if (this.checkPriority("selectedOptionFont")) { - const value_casted = value as (Font) - this.getPeer()?.selectedOptionFontAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isFont(value, false, false, false, false)) { + const value_casted = value as (Font) + this.getPeer()?.selectedOptionFont0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Font | undefined) + this.getPeer()?.selectedOptionFont1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedOptionFontColor(value: ResourceColor): this { + public selectedOptionFontColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("selectedOptionFontColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.selectedOptionFontColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.selectedOptionFontColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.selectedOptionFontColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public optionBgColor(value: ResourceColor): this { + public optionBgColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("optionBgColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.optionBgColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.optionBgColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.optionBgColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public optionFont(value: Font): this { + public optionFont(value: Font | Font | undefined): this { if (this.checkPriority("optionFont")) { - const value_casted = value as (Font) - this.getPeer()?.optionFontAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isFont(value, false, false, false, false)) { + const value_casted = value as (Font) + this.getPeer()?.optionFont0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Font | undefined) + this.getPeer()?.optionFont1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public optionFontColor(value: ResourceColor): this { + public optionFontColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("optionFontColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.optionFontColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.optionFontColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.optionFontColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onSelect(value: ((index: number,value: string) => void)): this { + public onSelect(value: ((index: number,value: string) => void) | OnSelectCallback | undefined): this { if (this.checkPriority("onSelect")) { - const value_casted = value as (((index: number,value: string) => void)) - this.getPeer()?.onSelectAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((index: number,value: string) => void)) + this.getPeer()?.onSelect0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnSelectCallback | undefined) + this.getPeer()?.onSelect1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public space(value: Length): this { + public space(value: Length | Length | undefined): this { if (this.checkPriority("space")) { - const value_casted = value as (Length) - this.getPeer()?.spaceAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Length) + this.getPeer()?.space0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Length | undefined) + this.getPeer()?.space1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public arrowPosition(value: ArrowPosition): this { + public arrowPosition(value: ArrowPosition | ArrowPosition | undefined): this { if (this.checkPriority("arrowPosition")) { - const value_casted = value as (ArrowPosition) - this.getPeer()?.arrowPositionAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isArrowPosition(value)) { + const value_casted = value as (ArrowPosition) + this.getPeer()?.arrowPosition0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ArrowPosition | undefined) + this.getPeer()?.arrowPosition1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public optionWidth(value: Dimension | OptionWidthMode): this { + public optionWidth(value: Dimension | OptionWidthMode | Dimension | OptionWidthMode | undefined): this { if (this.checkPriority("optionWidth")) { - const value_casted = value as (Dimension | OptionWidthMode) - this.getPeer()?.optionWidthAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) || (TypeChecker.isOptionWidthMode(value))) { + const value_casted = value as (Dimension | OptionWidthMode) + this.getPeer()?.optionWidth0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Dimension | OptionWidthMode | undefined) + this.getPeer()?.optionWidth1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public optionHeight(value: Dimension): this { + public optionHeight(value: Dimension | Dimension | undefined): this { if (this.checkPriority("optionHeight")) { - const value_casted = value as (Dimension) - this.getPeer()?.optionHeightAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Dimension) + this.getPeer()?.optionHeight0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Dimension | undefined) + this.getPeer()?.optionHeight1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public menuBackgroundColor(value: ResourceColor): this { + public menuBackgroundColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("menuBackgroundColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.menuBackgroundColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.menuBackgroundColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.menuBackgroundColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public menuBackgroundBlurStyle(value: BlurStyle): this { + public menuBackgroundBlurStyle(value: BlurStyle | BlurStyle | undefined): this { if (this.checkPriority("menuBackgroundBlurStyle")) { - const value_casted = value as (BlurStyle) - this.getPeer()?.menuBackgroundBlurStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isBlurStyle(value)) { + const value_casted = value as (BlurStyle) + this.getPeer()?.menuBackgroundBlurStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (BlurStyle | undefined) + this.getPeer()?.menuBackgroundBlurStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public controlSize(value: ControlSize): this { + public controlSize(value: ControlSize | ControlSize | undefined): this { if (this.checkPriority("controlSize")) { - const value_casted = value as (ControlSize) - this.getPeer()?.controlSizeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isControlSize(value)) { + const value_casted = value as (ControlSize) + this.getPeer()?.controlSize0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ControlSize | undefined) + this.getPeer()?.controlSize1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public menuItemContentModifier(value: ContentModifier): this { + public menuItemContentModifier(value: ContentModifier | ContentModifier | undefined): this { if (this.checkPriority("menuItemContentModifier")) { - const value_casted = value as (ContentModifier) - this.getPeer()?.menuItemContentModifierAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type)) { + const value_casted = value as (ContentModifier) + this.getPeer()?.menuItemContentModifier0Attribute(value_casted) + return this + } + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ContentModifier | undefined) + this.getPeer()?.menuItemContentModifier1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -1047,16 +1764,90 @@ export class ArkSelectComponent extends ArkCommonMethodComponent implements UISe return this } /** @memo */ - public menuAlign(alignType: MenuAlignType, offset?: Offset): this { - if (this.checkPriority("menuAlign")) { - const alignType_casted = alignType as (MenuAlignType) - const offset_casted = offset as (Offset | undefined) - this.getPeer()?.menuAlignAttribute(alignType_casted, offset_casted) + public textModifier(value: TextModifier | undefined): this { + if (this.checkPriority("textModifier")) { + const value_casted = value as (TextModifier | undefined) + this.getPeer()?.textModifierAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public arrowModifier(value: SymbolGlyphModifier | undefined): this { + if (this.checkPriority("arrowModifier")) { + const value_casted = value as (SymbolGlyphModifier | undefined) + this.getPeer()?.arrowModifierAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public optionTextModifier(value: TextModifier | undefined): this { + if (this.checkPriority("optionTextModifier")) { + const value_casted = value as (TextModifier | undefined) + this.getPeer()?.optionTextModifierAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public selectedOptionTextModifier(value: TextModifier | undefined): this { + if (this.checkPriority("selectedOptionTextModifier")) { + const value_casted = value as (TextModifier | undefined) + this.getPeer()?.selectedOptionTextModifierAttribute(value_casted) return this } return this } /** @memo */ + public dividerStyle(value: DividerStyleOptions | undefined): this { + if (this.checkPriority("dividerStyle")) { + const value_casted = value as (DividerStyleOptions | undefined) + this.getPeer()?.dividerStyleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public avoidance(value: AvoidanceMode): this { + if (this.checkPriority("avoidance")) { + const value_casted = value as (AvoidanceMode) + this.getPeer()?.avoidanceAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public menuOutline(value: MenuOutlineOptions): this { + if (this.checkPriority("menuOutline")) { + const value_casted = value as (MenuOutlineOptions) + this.getPeer()?.menuOutlineAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public menuAlign(alignType: MenuAlignType | MenuAlignType | undefined, offset?: Offset): this { + if (this.checkPriority("menuAlign")) { + const alignType_type = runtimeType(alignType) + const offset_type = runtimeType(offset) + if (TypeChecker.isMenuAlignType(alignType)) { + const alignType_casted = alignType as (MenuAlignType) + const offset_casted = offset as (Offset | undefined) + this.getPeer()?.menuAlign0Attribute(alignType_casted, offset_casted) + return this + } + if ((RuntimeType.OBJECT == alignType_type) || (RuntimeType.OBJECT == alignType_type)) { + const alignType_casted = alignType as (MenuAlignType | undefined) + const offset_casted = offset as (Offset | undefined) + this.getPeer()?.menuAlign1Attribute(alignType_casted, offset_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ public _onChangeEvent_selected(callback: ((selected: number | Resource) => void)): void { if (this.checkPriority("_onChangeEvent_selected")) { const callback_casted = callback as (((selected: number | Resource) => void)) diff --git a/arkoala-arkts/arkui/src/generated/shape.ts b/arkoala-arkts/arkui/src/generated/shape.ts index 8dce7a574a..688f625843 100644 --- a/arkoala-arkts/arkui/src/generated/shape.ts +++ b/arkoala-arkts/arkui/src/generated/shape.ts @@ -59,22 +59,22 @@ export class ArkShapePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -86,22 +86,22 @@ export class ArkShapePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -113,12 +113,12 @@ export class ArkShapePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -133,17 +133,17 @@ export class ArkShapePeer extends ArkCommonMethodPeer { let value_element_type : int32 = RuntimeType.UNDEFINED value_element_type = runtimeType(value_element) if (RuntimeType.STRING == value_element_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_element_0 = value_element as string thisSerializer.writeString(value_element_0) } else if (RuntimeType.NUMBER == value_element_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_element_1 = value_element as number thisSerializer.writeNumber(value_element_1) } else if (RuntimeType.OBJECT == value_element_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_element_2 = value_element as Resource thisSerializer.writeResource(value_element_2) } @@ -162,12 +162,12 @@ export class ArkShapePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -179,17 +179,17 @@ export class ArkShapePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -201,17 +201,17 @@ export class ArkShapePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -223,12 +223,12 @@ export class ArkShapePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } diff --git a/arkoala-arkts/arkui/src/generated/sidebar.ts b/arkoala-arkts/arkui/src/generated/sidebar.ts index 15ac193e72..e42abdaa23 100644 --- a/arkoala-arkts/arkui/src/generated/sidebar.ts +++ b/arkoala-arkts/arkui/src/generated/sidebar.ts @@ -47,7 +47,7 @@ export class ArkSideBarContainerPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let type_type : int32 = RuntimeType.UNDEFINED type_type = runtimeType(type) - thisSerializer.writeInt8(type_type as int32) + thisSerializer.writeInt8(type_type) if ((RuntimeType.UNDEFINED) != (type_type)) { const type_value = (type as SideBarContainerType) thisSerializer.writeInt32(TypeChecker.SideBarContainerType_ToNumeric(type_value)) @@ -81,17 +81,17 @@ export class ArkSideBarContainerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -106,17 +106,17 @@ export class ArkSideBarContainerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -131,17 +131,17 @@ export class ArkSideBarContainerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -158,7 +158,7 @@ export class ArkSideBarContainerPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeDividerStyle(value_value) @@ -171,17 +171,17 @@ export class ArkSideBarContainerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } diff --git a/arkoala-arkts/arkui/src/generated/slider.ts b/arkoala-arkts/arkui/src/generated/slider.ts index 4e5a907224..03d7fffeb2 100644 --- a/arkoala-arkts/arkui/src/generated/slider.ts +++ b/arkoala-arkts/arkui/src/generated/slider.ts @@ -26,8 +26,8 @@ import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonM import { ResourceColor, Length, Dimension, SizeOptions, ResourceStr } from "./units" import { LinearGradient } from "./data_panel" import { ContentModifier, CommonConfiguration } from "./arkui-wrapper-builder" +import { CrownSensitivity, Color, Axis } from "./enums" import { Callback_Number_Void } from "./alphabet_indexer" -import { Color, Axis } from "./enums" import { Resource } from "./resource" import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" @@ -48,7 +48,7 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeSliderOptions(options_value) @@ -61,22 +61,22 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -88,64 +88,102 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ResourceColor let value_0_type : int32 = RuntimeType.UNDEFINED value_0_type = runtimeType(value_0) if (TypeChecker.isColor(value_0)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0_0 = value_0 as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0_0)) } else if (RuntimeType.NUMBER == value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_0_1 = value_0 as number thisSerializer.writeNumber(value_0_1) } else if (RuntimeType.STRING == value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_0_2 = value_0 as string thisSerializer.writeString(value_0_2) } else if (RuntimeType.OBJECT == value_0_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_0_3 = value_0 as Resource thisSerializer.writeResource(value_0_3) } } else if (TypeChecker.isLinearGradient(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as LinearGradient thisSerializer.writeLinearGradient(value_1) } ArkUIGeneratedNativeModule._SliderAttribute_trackColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedColorAttribute(value: ResourceColor): void { + selectedColor0Attribute(value: ResourceColor): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SliderAttribute_selectedColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SliderAttribute_selectedColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedColor1Attribute(value: ResourceColor | LinearGradient): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + thisSerializer.writeInt8(0) + const value_0 = value as ResourceColor + let value_0_type : int32 = RuntimeType.UNDEFINED + value_0_type = runtimeType(value_0) + if (TypeChecker.isColor(value_0)) { + thisSerializer.writeInt8(0) + const value_0_0 = value_0 as Color + thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0_0)) + } + else if (RuntimeType.NUMBER == value_0_type) { + thisSerializer.writeInt8(1) + const value_0_1 = value_0 as number + thisSerializer.writeNumber(value_0_1) + } + else if (RuntimeType.STRING == value_0_type) { + thisSerializer.writeInt8(2) + const value_0_2 = value_0 as string + thisSerializer.writeString(value_0_2) + } + else if (RuntimeType.OBJECT == value_0_type) { + thisSerializer.writeInt8(3) + const value_0_3 = value_0 as Resource + thisSerializer.writeResource(value_0_3) + } + } + else if (TypeChecker.isLinearGradient(value)) { + thisSerializer.writeInt8(1) + const value_1 = value as LinearGradient + thisSerializer.writeLinearGradient(value_1) + } + ArkUIGeneratedNativeModule._SliderAttribute_selectedColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } minLabelAttribute(value: string): void { @@ -162,17 +200,17 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -190,22 +228,22 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -217,17 +255,17 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -239,22 +277,22 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -266,17 +304,17 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -288,17 +326,17 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -322,17 +360,17 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -357,22 +395,37 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SliderAttribute_slideRange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + digitalCrownSensitivityAttribute(value: CrownSensitivity | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as CrownSensitivity) + thisSerializer.writeInt32(TypeChecker.CrownSensitivity_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._SliderAttribute_digitalCrownSensitivity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + enableHapticFeedbackAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._SliderAttribute_enableHapticFeedback(this.peer.ptr, value ? 1 : 0) + } showTipsAttribute(value: boolean, content?: ResourceStr): void { const thisSerializer : Serializer = Serializer.hold() let content_type : int32 = RuntimeType.UNDEFINED content_type = runtimeType(content) - thisSerializer.writeInt8(content_type as int32) + thisSerializer.writeInt8(content_type) if ((RuntimeType.UNDEFINED) != (content_type)) { const content_value = content! let content_value_type : int32 = RuntimeType.UNDEFINED content_value_type = runtimeType(content_value) if (RuntimeType.STRING == content_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const content_value_0 = content_value as string thisSerializer.writeString(content_value_0) } else if (RuntimeType.OBJECT == content_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const content_value_1 = content_value as Resource thisSerializer.writeResource(content_value_1) } @@ -445,7 +498,7 @@ export type Callback_Number_SliderChangeMode_Void = (value: number, mode: Slider export interface SliderAttribute extends CommonMethod { blockColor(value: ResourceColor): this trackColor(value: ResourceColor | LinearGradient): this - selectedColor(value: ResourceColor): this + selectedColor(value: ResourceColor | ResourceColor | LinearGradient): this minLabel(value: string): this maxLabel(value: string): this showSteps(value: boolean): this @@ -463,6 +516,8 @@ export interface SliderAttribute extends CommonMethod { minResponsiveDistance(value: number): this contentModifier(value: ContentModifier): this slideRange(value: SlideRange): this + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + enableHapticFeedback(value: boolean): this showTips(value: boolean, content?: ResourceStr): this _onChangeEvent_value(callback: ((index: number) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this @@ -473,7 +528,7 @@ export interface UISliderAttribute extends UICommonMethod { /** @memo */ trackColor(value: ResourceColor | LinearGradient): this /** @memo */ - selectedColor(value: ResourceColor): this + selectedColor(value: ResourceColor | ResourceColor | LinearGradient): this /** @memo */ minLabel(value: string): this /** @memo */ @@ -509,6 +564,10 @@ export interface UISliderAttribute extends UICommonMethod { /** @memo */ slideRange(value: SlideRange): this /** @memo */ + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + /** @memo */ + enableHapticFeedback(value: boolean): this + /** @memo */ showTips(value: boolean, content?: ResourceStr): this /** @memo */ _onChangeEvent_value(callback: ((index: number) => void)): void @@ -536,13 +595,15 @@ export class ArkSliderStyle extends ArkCommonMethodStyle implements SliderAttrib minResponsiveDistance_value?: number contentModifier_value?: ContentModifier slideRange_value?: SlideRange + digitalCrownSensitivity_value?: CrownSensitivity | undefined + enableHapticFeedback_value?: boolean public blockColor(value: ResourceColor): this { return this } public trackColor(value: ResourceColor | LinearGradient): this { return this } - public selectedColor(value: ResourceColor): this { + public selectedColor(value: ResourceColor | ResourceColor | LinearGradient): this { return this } public minLabel(value: string): this { @@ -596,6 +657,12 @@ export class ArkSliderStyle extends ArkCommonMethodStyle implements SliderAttrib public slideRange(value: SlideRange): this { return this } + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + return this + } + public enableHapticFeedback(value: boolean): this { + return this + } public showTips(value: boolean, content?: ResourceStr): this { return this } @@ -639,11 +706,20 @@ export class ArkSliderComponent extends ArkCommonMethodComponent implements UISl return this } /** @memo */ - public selectedColor(value: ResourceColor): this { + public selectedColor(value: ResourceColor | ResourceColor | LinearGradient): this { if (this.checkPriority("selectedColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.selectedColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.selectedColor0Attribute(value_casted) + return this + } + if (((TypeChecker.isColor(value)) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) || (TypeChecker.isLinearGradient(value))) { + const value_casted = value as (ResourceColor | LinearGradient) + this.getPeer()?.selectedColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -801,6 +877,24 @@ export class ArkSliderComponent extends ArkCommonMethodComponent implements UISl return this } /** @memo */ + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + if (this.checkPriority("digitalCrownSensitivity")) { + const value_casted = value as (CrownSensitivity | undefined) + this.getPeer()?.digitalCrownSensitivityAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableHapticFeedback(value: boolean): this { + if (this.checkPriority("enableHapticFeedback")) { + const value_casted = value as (boolean) + this.getPeer()?.enableHapticFeedbackAttribute(value_casted) + return this + } + return this + } + /** @memo */ public showTips(value: boolean, content?: ResourceStr): this { if (this.checkPriority("showTips")) { const value_casted = value as (boolean) diff --git a/arkoala-arkts/arkui/src/generated/span.ts b/arkoala-arkts/arkui/src/generated/span.ts index f601170563..3a99be8ef3 100644 --- a/arkoala-arkts/arkui/src/generated/span.ts +++ b/arkoala-arkts/arkui/src/generated/span.ts @@ -70,12 +70,12 @@ export class ArkSpanPeer extends ArkBaseSpanPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -93,22 +93,22 @@ export class ArkSpanPeer extends ArkBaseSpanPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -120,17 +120,17 @@ export class ArkSpanPeer extends ArkBaseSpanPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -145,17 +145,17 @@ export class ArkSpanPeer extends ArkBaseSpanPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (TypeChecker.isFontWeight(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_1)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -167,12 +167,12 @@ export class ArkSpanPeer extends ArkBaseSpanPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -190,12 +190,12 @@ export class ArkSpanPeer extends ArkBaseSpanPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -210,17 +210,17 @@ export class ArkSpanPeer extends ArkBaseSpanPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -232,12 +232,12 @@ export class ArkSpanPeer extends ArkBaseSpanPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isShadowOptions(value, false, false, false, false, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ShadowOptions thisSerializer.writeShadowOptions(value_0) } else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isArray_ShadowOptions(value))) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Array thisSerializer.writeInt32(value_1.length as int32) for (let i = 0; i < value_1.length; i++) { diff --git a/arkoala-arkts/arkui/src/generated/stack.ts b/arkoala-arkts/arkui/src/generated/stack.ts index 0fffa2cc3c..cfe5de832f 100644 --- a/arkoala-arkts/arkui/src/generated/stack.ts +++ b/arkoala-arkts/arkui/src/generated/stack.ts @@ -43,7 +43,7 @@ export class ArkStackPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeStackOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/stepper.ts b/arkoala-arkts/arkui/src/generated/stepper.ts index 57f7b85197..a2b83b0d51 100644 --- a/arkoala-arkts/arkui/src/generated/stepper.ts +++ b/arkoala-arkts/arkui/src/generated/stepper.ts @@ -45,13 +45,13 @@ export class ArkStepperPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! const value_value_index = value_value.index let value_value_index_type : int32 = RuntimeType.UNDEFINED value_value_index_type = runtimeType(value_value_index) - thisSerializer.writeInt8(value_value_index_type as int32) + thisSerializer.writeInt8(value_value_index_type) if ((RuntimeType.UNDEFINED) != (value_value_index_type)) { const value_value_index_value = value_value_index! thisSerializer.writeNumber(value_value_index_value) diff --git a/arkoala-arkts/arkui/src/generated/stepper_item.ts b/arkoala-arkts/arkui/src/generated/stepper_item.ts index 681e98abbe..f51a7d2741 100644 --- a/arkoala-arkts/arkui/src/generated/stepper_item.ts +++ b/arkoala-arkts/arkui/src/generated/stepper_item.ts @@ -51,7 +51,7 @@ export class ArkStepperItemPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = (value as ItemState) thisSerializer.writeInt32(TypeChecker.ItemState_ToNumeric(value_value)) diff --git a/arkoala-arkts/arkui/src/generated/styled_string.ts b/arkoala-arkts/arkui/src/generated/styled_string.ts index 3fde17149d..c18d31e357 100644 --- a/arkoala-arkts/arkui/src/generated/styled_string.ts +++ b/arkoala-arkts/arkui/src/generated/styled_string.ts @@ -23,7 +23,7 @@ import { Serializer } from "./peers/Serializer" import { CallbackKind } from "./peers/CallbackKind" import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./../CallbackTransformer" -import { ResourceColor, SizeOptions, ResourceStr, Padding, BorderRadiuses } from "./units" +import { ResourceColor, SizeOptions, ColorFilter, ColorFilterInternal, ResourceStr, Padding, BorderRadiuses } from "./units" import { FontStyle, TextDecorationType, TextDecorationStyle } from "./arkui-graphics-text" import { Color, TextAlign, TextOverflow, WordBreak, ImageSpanAlignment, ImageFit, FontWeight } from "./enums" import { Resource } from "./resource" @@ -32,6 +32,7 @@ import { ShadowOptions, Callback_ClickEvent_Void, ClickEvent } from "./common" import { TextBackgroundStyle } from "./span" import { LeadingMarginPlaceholder } from "./rich_editor" import { PixelMap, PixelMapInternal } from "./arkui-pixelmap" +import { DrawingColorFilter, DrawingColorFilterInternal } from "./arkui-drawing" import { Callback_GestureEvent_Void, GestureEvent } from "./gesture" export class StyledStringInternal { public static fromPtr(ptr: KPointer): StyledString { @@ -53,23 +54,23 @@ export class StyledString implements MaterializedBase { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } - else if (TypeChecker.isImageAttachment(value, false, false, false, false, false)) { - thisSerializer.writeInt8(1 as int32) + else if (TypeChecker.isImageAttachment(value, false, false, false, false, false, false)) { + thisSerializer.writeInt8(1) const value_1 = value as ImageAttachment thisSerializer.writeImageAttachment(value_1) } else if (TypeChecker.isCustomSpan(value, false, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as CustomSpan thisSerializer.writeCustomSpan(value_2) } let styles_type : int32 = RuntimeType.UNDEFINED styles_type = runtimeType(styles) - thisSerializer.writeInt8(styles_type as int32) + thisSerializer.writeInt8(styles_type) if ((RuntimeType.UNDEFINED) != (styles_type)) { const styles_value = styles! thisSerializer.writeInt32(styles_value.length as int32) @@ -118,13 +119,17 @@ export class StyledString implements MaterializedBase { const styledString_casted = styledString as (StyledString) return StyledString.toHtml_serialize(styledString_casted) } - public static marshalling(styledString: StyledString): NativeBuffer { + public static marshalling(styledString: StyledString, callback_?: StyledStringMarshallCallback): NativeBuffer { + const styledString_type = runtimeType(styledString) + const callback__type = runtimeType(callback_) const styledString_casted = styledString as (StyledString) - return StyledString.marshalling_serialize(styledString_casted) + return StyledString.marshalling1_serialize(styledString_casted) } - public static unmarshalling(buffer: NativeBuffer): Promise { + public static unmarshalling(buffer: NativeBuffer, callback_?: StyledStringUnmarshallCallback): Promise { + const buffer_type = runtimeType(buffer) + const callback__type = runtimeType(callback_) const buffer_casted = buffer as (NativeBuffer) - return StyledString.unmarshalling_serialize(buffer_casted) + return StyledString.unmarshalling1_serialize(buffer_casted) } private getLength(): number { return this.getLength_serialize() @@ -137,7 +142,7 @@ export class StyledString implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let styledKey_type : int32 = RuntimeType.UNDEFINED styledKey_type = runtimeType(styledKey) - thisSerializer.writeInt8(styledKey_type as int32) + thisSerializer.writeInt8(styledKey_type) if ((RuntimeType.UNDEFINED) != (styledKey_type)) { const styledKey_value = (styledKey as StyledStringKey) thisSerializer.writeInt32(TypeChecker.StyledStringKey_ToNumeric(styledKey_value)) @@ -161,7 +166,7 @@ export class StyledString implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let length_type : int32 = RuntimeType.UNDEFINED length_type = runtimeType(length) - thisSerializer.writeInt8(length_type as int32) + thisSerializer.writeInt8(length_type) if ((RuntimeType.UNDEFINED) != (length_type)) { const length_value = length! thisSerializer.writeNumber(length_value) @@ -182,15 +187,31 @@ export class StyledString implements MaterializedBase { const retval = ArkUIGeneratedNativeModule._StyledString_toHtml(toPeerPtr(styledString)) return retval } - private static marshalling_serialize(styledString: StyledString): NativeBuffer { - const retval = ArkUIGeneratedNativeModule._StyledString_marshalling(toPeerPtr(styledString)) + private static marshalling0_serialize(styledString: StyledString, callback_: StyledStringMarshallCallback): NativeBuffer { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(callback_) + const retval = ArkUIGeneratedNativeModule._StyledString_marshalling0(toPeerPtr(styledString), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return new Deserializer(retval, retval.length).readBuffer() + } + private static marshalling1_serialize(styledString: StyledString): NativeBuffer { + const retval = ArkUIGeneratedNativeModule._StyledString_marshalling1(toPeerPtr(styledString)) return new Deserializer(retval, retval.length).readBuffer() } - private static unmarshalling_serialize(buffer: NativeBuffer): Promise { + private static unmarshalling0_serialize(buffer: NativeBuffer, callback_: StyledStringUnmarshallCallback): Promise { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeBuffer(buffer) + thisSerializer.holdAndWriteCallback(callback_) + const retval = thisSerializer.holdAndWriteCallbackForPromise()[0] + ArkUIGeneratedNativeModule._StyledString_unmarshalling0(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } + private static unmarshalling1_serialize(buffer: NativeBuffer): Promise { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeBuffer(buffer) const retval = thisSerializer.holdAndWriteCallbackForPromise()[0] - ArkUIGeneratedNativeModule._StyledString_unmarshalling(thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._StyledString_unmarshalling1(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() return retval } @@ -230,7 +251,7 @@ export class TextStyle_styled_string implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeTextStyleInterface(value_value) @@ -436,12 +457,12 @@ export class TextShadowStyle implements MaterializedBase { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isShadowOptions(value, false, false, false, false, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ShadowOptions thisSerializer.writeShadowOptions(value_0) } else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isArray_ShadowOptions(value))) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Array thisSerializer.writeInt32(value_1.length as int32) for (let i = 0; i < value_1.length; i++) { @@ -536,7 +557,7 @@ export class GestureStyle implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeGestureStyleInterface(value_value) @@ -583,11 +604,14 @@ export class ParagraphStyle implements MaterializedBase { get leadingMargin(): number | LeadingMarginPlaceholder | undefined { throw new Error("Not implemented") } + get paragraphSpacing(): number | undefined { + return this.getParagraphSpacing() + } static ctor_paragraphstyle(value?: ParagraphStyleInterface): KPointer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeParagraphStyleInterface(value_value) @@ -621,6 +645,9 @@ export class ParagraphStyle implements MaterializedBase { private getLeadingMargin(): number | LeadingMarginPlaceholder | undefined { return this.getLeadingMargin_serialize() } + private getParagraphSpacing(): number | undefined { + return this.getParagraphSpacing_serialize() + } private getTextAlign_serialize(): TextAlign | undefined { const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getTextAlign(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") @@ -645,6 +672,10 @@ export class ParagraphStyle implements MaterializedBase { const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getLeadingMargin(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } + private getParagraphSpacing_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getParagraphSpacing(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } } export class LineHeightStyleInternal { public static fromPtr(ptr: KPointer): LineHeightStyle { @@ -747,6 +778,9 @@ export class ImageAttachment implements MaterializedBase { get layoutStyle(): ImageAttachmentLayoutStyle | undefined { throw new Error("Not implemented") } + get colorFilter(): ColorFilterType | undefined { + throw new Error("Not implemented") + } static ctor_imageattachment(value: ImageAttachmentInterface): KPointer { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeImageAttachmentInterface(value) @@ -779,6 +813,9 @@ export class ImageAttachment implements MaterializedBase { private getLayoutStyle(): ImageAttachmentLayoutStyle | undefined { return this.getLayoutStyle_serialize() } + private getColorFilter(): ColorFilterType | undefined { + return this.getColorFilter_serialize() + } private getValue_serialize(): PixelMap { const retval = ArkUIGeneratedNativeModule._ImageAttachment_getValue(this.peer!.ptr) const obj : PixelMap = PixelMapInternal.fromPtr(retval) @@ -800,6 +837,10 @@ export class ImageAttachment implements MaterializedBase { const retval = ArkUIGeneratedNativeModule._ImageAttachment_getLayoutStyle(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } + private getColorFilter_serialize(): ColorFilterType | undefined { + const retval = ArkUIGeneratedNativeModule._ImageAttachment_getColorFilter(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } } export class CustomSpanInternal { public static fromPtr(ptr: KPointer): CustomSpan { @@ -880,6 +921,9 @@ export class CustomSpan implements MaterializedBase { thisSerializer.release() } } +export type StyledStringMarshallingValue = UserDataSpan; +export type StyledStringMarshallCallback = (marshallableVal: UserDataSpan) => NativeBuffer; +export type StyledStringUnmarshallCallback = (buf: NativeBuffer) => UserDataSpan; export interface StyleOptions { start?: number; length?: number; @@ -915,6 +959,7 @@ export interface ParagraphStyleInterface { overflow?: TextOverflow; wordBreak?: WordBreak; leadingMargin?: LengthMetrics | LeadingMarginPlaceholder; + paragraphSpacing?: LengthMetrics; } export type StyledStringValue = TextStyle_styled_string | DecorationStyle | BaselineOffsetStyle | LetterSpacingStyle | TextShadowStyle | GestureStyle | ImageAttachment | ParagraphStyle | LineHeightStyle | UrlStyle | CustomSpan | UserDataSpan | BackgroundColorStyle; export enum StyledStringKey { @@ -932,13 +977,25 @@ export enum StyledStringKey { CUSTOM_SPAN = 400, USER_DATA = 500 } +export interface ResourceImageAttachmentOptions { + resourceValue: ResourceStr | undefined; + size?: SizeOptions; + verticalAlign?: ImageSpanAlignment; + objectFit?: ImageFit; + layoutStyle?: ImageAttachmentLayoutStyle; + colorFilter?: ColorFilterType; + syncLoad?: boolean; +} export interface ImageAttachmentInterface { value: PixelMap; size?: SizeOptions; verticalAlign?: ImageSpanAlignment; objectFit?: ImageFit; layoutStyle?: ImageAttachmentLayoutStyle; + colorFilter?: ColorFilterType; } +export type AttachmentType = ImageAttachmentInterface | ResourceImageAttachmentOptions; +export type ColorFilterType = ColorFilter | DrawingColorFilter; export interface ImageAttachmentLayoutStyle { margin?: LengthMetrics | Padding; padding?: LengthMetrics | Padding; diff --git a/arkoala-arkts/arkui/src/generated/swiper.ts b/arkoala-arkts/arkui/src/generated/swiper.ts index a278a6e5c0..b08bb74115 100644 --- a/arkoala-arkts/arkui/src/generated/swiper.ts +++ b/arkoala-arkts/arkui/src/generated/swiper.ts @@ -28,7 +28,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, ICurve, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { IndicatorComponentController } from "./indicatorcomponent" -import { EdgeEffect, Curve, Color } from "./enums" +import { EdgeEffect, Curve, PageFlipMode, Color } from "./enums" import { Callback_Number_Void } from "./alphabet_indexer" import { IndicatorStyle } from "./arkui-external" import { Resource } from "./resource" @@ -66,40 +66,78 @@ export class SwiperController implements MaterializedBase { this.showPrevious_serialize() return } - public changeIndex(index: number, useAnimation?: boolean): void { - const index_casted = index as (number) - const useAnimation_casted = useAnimation as (boolean | undefined) - this.changeIndex_serialize(index_casted, useAnimation_casted) - return + public changeIndex(index: number, useAnimation?: boolean | undefined | SwiperAnimationMode | boolean | undefined): void { + const index_type = runtimeType(index) + const useAnimation_type = runtimeType(useAnimation) + if ((RuntimeType.BOOLEAN == useAnimation_type) || (RuntimeType.UNDEFINED == useAnimation_type)) { + const index_casted = index as (number) + const useAnimation_casted = useAnimation as (boolean | undefined) + this.changeIndex0_serialize(index_casted, useAnimation_casted) + return + } + if ((RuntimeType.NUMBER == useAnimation_type) || (RuntimeType.BOOLEAN == useAnimation_type) || (RuntimeType.UNDEFINED == useAnimation_type)) { + const index_casted = index as (number) + const animationMode_casted = useAnimation as (SwiperAnimationMode | boolean | undefined) + this.changeIndex1_serialize(index_casted, animationMode_casted) + return + } + throw new Error("Can not select appropriate overload") } public finishAnimation(callback_?: VoidCallback): void { const callback__casted = callback_ as (VoidCallback | undefined) this.finishAnimation_serialize(callback__casted) return } + public preloadItems(indices: Array | undefined): Promise { + const indices_casted = indices as (Array | undefined) + return this.preloadItems_serialize(indices_casted) + } private showNext_serialize(): void { ArkUIGeneratedNativeModule._SwiperController_showNext(this.peer!.ptr) } private showPrevious_serialize(): void { ArkUIGeneratedNativeModule._SwiperController_showPrevious(this.peer!.ptr) } - private changeIndex_serialize(index: number, useAnimation?: boolean): void { + private changeIndex0_serialize(index: number, useAnimation?: boolean): void { const thisSerializer : Serializer = Serializer.hold() let useAnimation_type : int32 = RuntimeType.UNDEFINED useAnimation_type = runtimeType(useAnimation) - thisSerializer.writeInt8(useAnimation_type as int32) + thisSerializer.writeInt8(useAnimation_type) if ((RuntimeType.UNDEFINED) != (useAnimation_type)) { const useAnimation_value = useAnimation! thisSerializer.writeBoolean(useAnimation_value) } - ArkUIGeneratedNativeModule._SwiperController_changeIndex(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SwiperController_changeIndex0(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private changeIndex1_serialize(index: number, animationMode?: SwiperAnimationMode | boolean): void { + const thisSerializer : Serializer = Serializer.hold() + let animationMode_type : int32 = RuntimeType.UNDEFINED + animationMode_type = runtimeType(animationMode) + thisSerializer.writeInt8(animationMode_type) + if ((RuntimeType.UNDEFINED) != (animationMode_type)) { + const animationMode_value = animationMode! + let animationMode_value_type : int32 = RuntimeType.UNDEFINED + animationMode_value_type = runtimeType(animationMode_value) + if (TypeChecker.isSwiperAnimationMode(animationMode_value)) { + thisSerializer.writeInt8(0) + const animationMode_value_0 = animationMode_value as SwiperAnimationMode + thisSerializer.writeInt32(TypeChecker.SwiperAnimationMode_ToNumeric(animationMode_value_0)) + } + else if (RuntimeType.BOOLEAN == animationMode_value_type) { + thisSerializer.writeInt8(1) + const animationMode_value_1 = animationMode_value as boolean + thisSerializer.writeBoolean(animationMode_value_1) + } + } + ArkUIGeneratedNativeModule._SwiperController_changeIndex1(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } private finishAnimation_serialize(callback_?: VoidCallback): void { const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -107,6 +145,24 @@ export class SwiperController implements MaterializedBase { ArkUIGeneratedNativeModule._SwiperController_finishAnimation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + private preloadItems_serialize(indices: Array | undefined): Promise { + const thisSerializer : Serializer = Serializer.hold() + let indices_type : int32 = RuntimeType.UNDEFINED + indices_type = runtimeType(indices) + thisSerializer.writeInt8(indices_type) + if ((RuntimeType.UNDEFINED) != (indices_type)) { + const indices_value = indices! + thisSerializer.writeInt32(indices_value.length as int32) + for (let i = 0; i < indices_value.length; i++) { + const indices_value_element : number = indices_value[i] + thisSerializer.writeNumber(indices_value_element) + } + } + const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] + ArkUIGeneratedNativeModule._SwiperController_preloadItems(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } } export interface SwiperContentTransitionProxy { selectedIndex: number @@ -243,7 +299,7 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let controller_type : int32 = RuntimeType.UNDEFINED controller_type = runtimeType(controller) - thisSerializer.writeInt8(controller_type as int32) + thisSerializer.writeInt8(controller_type) if ((RuntimeType.UNDEFINED) != (controller_type)) { const controller_value = controller! thisSerializer.writeSwiperController(controller_value) @@ -254,8 +310,14 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { indexAttribute(value: number): void { ArkUIGeneratedNativeModule._SwiperAttribute_index(this.peer.ptr, value) } - autoPlayAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._SwiperAttribute_autoPlay(this.peer.ptr, value ? 1 : 0) + autoPlay0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._SwiperAttribute_autoPlay0(this.peer.ptr, value ? 1 : 0) + } + autoPlay1Attribute(autoPlay: boolean, options: AutoPlayOptions): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeAutoPlayOptions(options) + ArkUIGeneratedNativeModule._SwiperAttribute_autoPlay1(this.peer.ptr, autoPlay ? 1 : 0, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } intervalAttribute(value: number): void { ArkUIGeneratedNativeModule._SwiperAttribute_interval(this.peer.ptr, value) @@ -265,25 +327,49 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isDotIndicator(value))) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as DotIndicator thisSerializer.writeDotIndicator(value_0) } else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isDigitIndicator(value))) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as DigitIndicator thisSerializer.writeDigitIndicator(value_1) } else if (RuntimeType.BOOLEAN == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as boolean thisSerializer.writeBoolean(value_2) } ArkUIGeneratedNativeModule._SwiperAttribute_indicator0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - indicator1Attribute(value: IndicatorComponentController): void { - ArkUIGeneratedNativeModule._SwiperAttribute_indicator1(this.peer.ptr, toPeerPtr(value)) + indicator1Attribute(value: IndicatorComponentController | DotIndicator | DigitIndicator | boolean): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (TypeChecker.isIndicatorComponentController(value)) { + thisSerializer.writeInt8(0) + const value_0 = value as IndicatorComponentController + thisSerializer.writeIndicatorComponentController(value_0) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isDotIndicator(value))) { + thisSerializer.writeInt8(1) + const value_1 = value as DotIndicator + thisSerializer.writeDotIndicator(value_1) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isDigitIndicator(value))) { + thisSerializer.writeInt8(2) + const value_2 = value as DigitIndicator + thisSerializer.writeDigitIndicator(value_2) + } + else if (RuntimeType.BOOLEAN == value_type) { + thisSerializer.writeInt8(3) + const value_3 = value as boolean + thisSerializer.writeBoolean(value_3) + } + ArkUIGeneratedNativeModule._SwiperAttribute_indicator1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } loopAttribute(value: boolean): void { ArkUIGeneratedNativeModule._SwiperAttribute_loop(this.peer.ptr, value ? 1 : 0) @@ -299,12 +385,12 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -314,8 +400,11 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { displayModeAttribute(value: SwiperDisplayMode): void { ArkUIGeneratedNativeModule._SwiperAttribute_displayMode(this.peer.ptr, TypeChecker.SwiperDisplayMode_ToNumeric(value)) } - cachedCountAttribute(value: number): void { - ArkUIGeneratedNativeModule._SwiperAttribute_cachedCount(this.peer.ptr, value) + cachedCount0Attribute(value: number): void { + ArkUIGeneratedNativeModule._SwiperAttribute_cachedCount0(this.peer.ptr, value) + } + cachedCount1Attribute(count: number, isShown: boolean): void { + ArkUIGeneratedNativeModule._SwiperAttribute_cachedCount1(this.peer.ptr, count, isShown ? 1 : 0) } effectModeAttribute(value: EdgeEffect): void { ArkUIGeneratedNativeModule._SwiperAttribute_effectMode(this.peer.ptr, TypeChecker.EdgeEffect_ToNumeric(value)) @@ -328,17 +417,17 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isCurve(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Curve thisSerializer.writeInt32(TypeChecker.Curve_ToNumeric(value_0)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as ICurve thisSerializer.writeICurve(value_2) } @@ -351,11 +440,17 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SwiperAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onSelectedAttribute(value: ((index: number) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._SwiperAttribute_onSelected(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } indicatorStyleAttribute(value: IndicatorStyle | undefined): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeIndicatorStyle(value_value) @@ -363,6 +458,12 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SwiperAttribute_indicatorStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onUnselectedAttribute(value: ((index: number) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._SwiperAttribute_onUnselected(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onAnimationStartAttribute(value: OnSwiperAnimationStartCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -399,23 +500,41 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { indicatorInteractiveAttribute(value: boolean): void { ArkUIGeneratedNativeModule._SwiperAttribute_indicatorInteractive(this.peer.ptr, value ? 1 : 0) } + pageFlipModeAttribute(value: PageFlipMode | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as PageFlipMode) + thisSerializer.writeInt32(TypeChecker.PageFlipMode_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._SwiperAttribute_pageFlipMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onContentWillScrollAttribute(value: ContentWillScrollCallback): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._SwiperAttribute_onContentWillScroll(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } displayArrowAttribute(value: ArrowStyle | boolean, isHoverShow?: boolean): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ArrowStyle thisSerializer.writeArrowStyle(value_0) } else if (RuntimeType.BOOLEAN == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as boolean thisSerializer.writeBoolean(value_1) } let isHoverShow_type : int32 = RuntimeType.UNDEFINED isHoverShow_type = runtimeType(isHoverShow) - thisSerializer.writeInt8(isHoverShow_type as int32) + thisSerializer.writeInt8(isHoverShow_type) if ((RuntimeType.UNDEFINED) != (isHoverShow_type)) { const isHoverShow_value = isHoverShow! thisSerializer.writeBoolean(isHoverShow_value) @@ -428,23 +547,23 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as SwiperAutoFill thisSerializer.writeSwiperAutoFill(value_2) } let swipeByGroup_type : int32 = RuntimeType.UNDEFINED swipeByGroup_type = runtimeType(swipeByGroup) - thisSerializer.writeInt8(swipeByGroup_type as int32) + thisSerializer.writeInt8(swipeByGroup_type) if ((RuntimeType.UNDEFINED) != (swipeByGroup_type)) { const swipeByGroup_value = swipeByGroup! thisSerializer.writeBoolean(swipeByGroup_value) @@ -457,23 +576,23 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } let ignoreBlank_type : int32 = RuntimeType.UNDEFINED ignoreBlank_type = runtimeType(ignoreBlank) - thisSerializer.writeInt8(ignoreBlank_type as int32) + thisSerializer.writeInt8(ignoreBlank_type) if ((RuntimeType.UNDEFINED) != (ignoreBlank_type)) { const ignoreBlank_value = ignoreBlank! thisSerializer.writeBoolean(ignoreBlank_value) @@ -486,23 +605,23 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } let ignoreBlank_type : int32 = RuntimeType.UNDEFINED ignoreBlank_type = runtimeType(ignoreBlank) - thisSerializer.writeInt8(ignoreBlank_type as int32) + thisSerializer.writeInt8(ignoreBlank_type) if ((RuntimeType.UNDEFINED) != (ignoreBlank_type)) { const ignoreBlank_value = ignoreBlank! thisSerializer.writeBoolean(ignoreBlank_value) @@ -542,29 +661,39 @@ export interface SwiperAnimationEvent { targetOffset: number; velocity: number; } +export interface AutoPlayOptions { + stopWhenTouched: boolean; +} export enum SwiperNestedScrollMode { SELF_ONLY = 0, SELF_FIRST = 1 } +export enum SwiperAnimationMode { + NO_ANIMATION = 0, + DEFAULT_ANIMATION = 1, + FAST_ANIMATION = 2 +} export type OnSwiperAnimationStartCallback = (index: number, targetIndex: number, extraInfo: SwiperAnimationEvent) => void; export type OnSwiperAnimationEndCallback = (index: number, extraInfo: SwiperAnimationEvent) => void; export type OnSwiperGestureSwipeCallback = (index: number, extraInfo: SwiperAnimationEvent) => void; export interface SwiperAttribute extends CommonMethod { index(value: number): this - autoPlay(value: boolean): this + autoPlay(autoPlay: boolean, options?: AutoPlayOptions): this interval(value: number): this - indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController): this + indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController | DotIndicator | DigitIndicator | boolean): this loop(value: boolean): this duration(value: number): this vertical(value: boolean): this itemSpace(value: number | string): this displayMode(value: SwiperDisplayMode): this - cachedCount(value: number): this + cachedCount(count: number, isShown?: boolean): this effectMode(value: EdgeEffect): this disableSwipe(value: boolean): this curve(value: Curve | string | ICurve): this onChange(value: ((index: number) => void)): this + onSelected(value: ((index: number) => void)): this indicatorStyle(value: IndicatorStyle | undefined): this + onUnselected(value: ((index: number) => void)): this onAnimationStart(value: OnSwiperAnimationStartCallback): this onAnimationEnd(value: OnSwiperAnimationEndCallback): this onGestureSwipe(value: OnSwiperGestureSwipeCallback): this @@ -572,6 +701,8 @@ export interface SwiperAttribute extends CommonMethod { customContentTransition(value: SwiperContentAnimatedTransition): this onContentDidScroll(value: ContentDidScrollCallback): this indicatorInteractive(value: boolean): this + pageFlipMode(value: PageFlipMode | undefined): this + onContentWillScroll(value: ContentWillScrollCallback): this displayArrow(value: ArrowStyle | boolean, isHoverShow?: boolean): this displayCount(value: number | string | SwiperAutoFill, swipeByGroup?: boolean): this prevMargin(value: Length, ignoreBlank?: boolean): this @@ -583,11 +714,11 @@ export interface UISwiperAttribute extends UICommonMethod { /** @memo */ index(value: number): this /** @memo */ - autoPlay(value: boolean): this + autoPlay(autoPlay: boolean, options?: AutoPlayOptions): this /** @memo */ interval(value: number): this /** @memo */ - indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController): this + indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController | DotIndicator | DigitIndicator | boolean): this /** @memo */ loop(value: boolean): this /** @memo */ @@ -599,7 +730,7 @@ export interface UISwiperAttribute extends UICommonMethod { /** @memo */ displayMode(value: SwiperDisplayMode): this /** @memo */ - cachedCount(value: number): this + cachedCount(count: number, isShown?: boolean): this /** @memo */ effectMode(value: EdgeEffect): this /** @memo */ @@ -609,8 +740,12 @@ export interface UISwiperAttribute extends UICommonMethod { /** @memo */ onChange(value: ((index: number) => void)): this /** @memo */ + onSelected(value: ((index: number) => void)): this + /** @memo */ indicatorStyle(value: IndicatorStyle | undefined): this /** @memo */ + onUnselected(value: ((index: number) => void)): this + /** @memo */ onAnimationStart(value: OnSwiperAnimationStartCallback): this /** @memo */ onAnimationEnd(value: OnSwiperAnimationEndCallback): this @@ -625,6 +760,10 @@ export interface UISwiperAttribute extends UICommonMethod { /** @memo */ indicatorInteractive(value: boolean): this /** @memo */ + pageFlipMode(value: PageFlipMode | undefined): this + /** @memo */ + onContentWillScroll(value: ContentWillScrollCallback): this + /** @memo */ displayArrow(value: ArrowStyle | boolean, isHoverShow?: boolean): this /** @memo */ displayCount(value: number | string | SwiperAutoFill, swipeByGroup?: boolean): this @@ -652,7 +791,9 @@ export class ArkSwiperStyle extends ArkCommonMethodStyle implements SwiperAttrib disableSwipe_value?: boolean curve_value?: Curve | string | ICurve onChange_value?: ((index: number) => void) + onSelected_value?: ((index: number) => void) indicatorStyle_value?: IndicatorStyle + onUnselected_value?: ((index: number) => void) onAnimationStart_value?: OnSwiperAnimationStartCallback onAnimationEnd_value?: OnSwiperAnimationEndCallback onGestureSwipe_value?: OnSwiperGestureSwipeCallback @@ -660,16 +801,18 @@ export class ArkSwiperStyle extends ArkCommonMethodStyle implements SwiperAttrib customContentTransition_value?: SwiperContentAnimatedTransition onContentDidScroll_value?: ContentDidScrollCallback indicatorInteractive_value?: boolean + pageFlipMode_value?: PageFlipMode | undefined + onContentWillScroll_value?: ContentWillScrollCallback public index(value: number): this { return this } - public autoPlay(value: boolean): this { + public autoPlay(autoPlay: boolean, options?: AutoPlayOptions): this { return this } public interval(value: number): this { return this } - public indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController): this { + public indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController | DotIndicator | DigitIndicator | boolean): this { return this } public loop(value: boolean): this { @@ -687,7 +830,7 @@ export class ArkSwiperStyle extends ArkCommonMethodStyle implements SwiperAttrib public displayMode(value: SwiperDisplayMode): this { return this } - public cachedCount(value: number): this { + public cachedCount(count: number, isShown?: boolean): this { return this } public effectMode(value: EdgeEffect): this { @@ -702,9 +845,15 @@ export class ArkSwiperStyle extends ArkCommonMethodStyle implements SwiperAttrib public onChange(value: ((index: number) => void)): this { return this } + public onSelected(value: ((index: number) => void)): this { + return this + } public indicatorStyle(value: IndicatorStyle | undefined): this { return this } + public onUnselected(value: ((index: number) => void)): this { + return this + } public onAnimationStart(value: OnSwiperAnimationStartCallback): this { return this } @@ -726,6 +875,12 @@ export class ArkSwiperStyle extends ArkCommonMethodStyle implements SwiperAttrib public indicatorInteractive(value: boolean): this { return this } + public pageFlipMode(value: PageFlipMode | undefined): this { + return this + } + public onContentWillScroll(value: ContentWillScrollCallback): this { + return this + } public displayArrow(value: ArrowStyle | boolean, isHoverShow?: boolean): this { return this } @@ -750,7 +905,13 @@ export interface SwiperContentAnimatedTransition { timeout?: number; transition: ((parameter: SwiperContentTransitionProxy) => void); } +export interface SwiperContentWillScrollResult { + currentIndex: number; + comingIndex: number; + offset: number; +} export type ContentDidScrollCallback = (selectedIndex: number, index: number, position: number, mainAxisLength: number) => void; +export type ContentWillScrollCallback = (result: SwiperContentWillScrollResult) => boolean; /** @memo:stable */ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISwiperAttribute { getPeer(): ArkSwiperPeer { @@ -775,10 +936,12 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISw return this } /** @memo */ - public autoPlay(value: boolean): this { + public autoPlay(autoPlay: boolean, options?: AutoPlayOptions): this { if (this.checkPriority("autoPlay")) { - const value_casted = value as (boolean) - this.getPeer()?.autoPlayAttribute(value_casted) + const autoPlay_type = runtimeType(autoPlay) + const options_type = runtimeType(options) + const value_casted = autoPlay as (boolean) + this.getPeer()?.autoPlay0Attribute(value_casted) return this } return this @@ -793,19 +956,19 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISw return this } /** @memo */ - public indicator(value: IndicatorComponentController | DotIndicator | DigitIndicator | boolean): this { + public indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController | DotIndicator | DigitIndicator | boolean): this { if (this.checkPriority("indicator")) { const value_type = runtimeType(value) - if (TypeChecker.isIndicatorComponentController(value)) { - const value_casted = value as (IndicatorComponentController) - this.getPeer()?.indicator1Attribute(value_casted) - return this - } if ((((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isDotIndicator(value))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isDigitIndicator(value))) || (RuntimeType.BOOLEAN == value_type)) { const value_casted = value as (DotIndicator | DigitIndicator | boolean) this.getPeer()?.indicator0Attribute(value_casted) return this } + if ((TypeChecker.isIndicatorComponentController(value)) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isDotIndicator(value))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isDigitIndicator(value))) || (RuntimeType.BOOLEAN == value_type)) { + const value_casted = value as (IndicatorComponentController | DotIndicator | DigitIndicator | boolean) + this.getPeer()?.indicator1Attribute(value_casted) + return this + } throw new Error("Can not select appropriate overload") } return this @@ -856,10 +1019,12 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISw return this } /** @memo */ - public cachedCount(value: number): this { + public cachedCount(count: number, isShown?: boolean): this { if (this.checkPriority("cachedCount")) { - const value_casted = value as (number) - this.getPeer()?.cachedCountAttribute(value_casted) + const count_type = runtimeType(count) + const isShown_type = runtimeType(isShown) + const value_casted = count as (number) + this.getPeer()?.cachedCount0Attribute(value_casted) return this } return this @@ -901,6 +1066,15 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISw return this } /** @memo */ + public onSelected(value: ((index: number) => void)): this { + if (this.checkPriority("onSelected")) { + const value_casted = value as (((index: number) => void)) + this.getPeer()?.onSelectedAttribute(value_casted) + return this + } + return this + } + /** @memo */ public indicatorStyle(value: IndicatorStyle | undefined): this { if (this.checkPriority("indicatorStyle")) { const value_casted = value as (IndicatorStyle | undefined) @@ -910,6 +1084,15 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISw return this } /** @memo */ + public onUnselected(value: ((index: number) => void)): this { + if (this.checkPriority("onUnselected")) { + const value_casted = value as (((index: number) => void)) + this.getPeer()?.onUnselectedAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onAnimationStart(value: OnSwiperAnimationStartCallback): this { if (this.checkPriority("onAnimationStart")) { const value_casted = value as (OnSwiperAnimationStartCallback) @@ -973,6 +1156,24 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISw return this } /** @memo */ + public pageFlipMode(value: PageFlipMode | undefined): this { + if (this.checkPriority("pageFlipMode")) { + const value_casted = value as (PageFlipMode | undefined) + this.getPeer()?.pageFlipModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onContentWillScroll(value: ContentWillScrollCallback): this { + if (this.checkPriority("onContentWillScroll")) { + const value_casted = value as (ContentWillScrollCallback) + this.getPeer()?.onContentWillScrollAttribute(value_casted) + return this + } + return this + } + /** @memo */ public displayArrow(value: ArrowStyle | boolean, isHoverShow?: boolean): this { if (this.checkPriority("displayArrow")) { const value_casted = value as (ArrowStyle | boolean) @@ -1104,6 +1305,7 @@ export class DotIndicator { _color?: ResourceColor | undefined _selectedColor?: ResourceColor | undefined _maxDisplayCount?: number | undefined + _space?: LengthMetrics | undefined constructor() { } static dot(): DotIndicator { @@ -1168,6 +1370,10 @@ export class DotIndicator { this._maxDisplayCount = maxDisplayCount return this } + space(space: LengthMetrics): this { + this._space = space + return this + } } export class DigitIndicator { _left?: Length | undefined diff --git a/arkoala-arkts/arkui/src/generated/symbol_span.ts b/arkoala-arkts/arkui/src/generated/symbol_span.ts index 4e14ff2ac3..ddf9631b2c 100644 --- a/arkoala-arkts/arkui/src/generated/symbol_span.ts +++ b/arkoala-arkts/arkui/src/generated/symbol_span.ts @@ -53,17 +53,17 @@ export class ArkSymbolSpanPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -78,22 +78,22 @@ export class ArkSymbolSpanPeer extends ArkCommonMethodPeer { let value_element_type : int32 = RuntimeType.UNDEFINED value_element_type = runtimeType(value_element) if (TypeChecker.isColor(value_element)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_element_0 = value_element as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_element_0)) } else if (RuntimeType.NUMBER == value_element_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_element_1 = value_element as number thisSerializer.writeNumber(value_element_1) } else if (RuntimeType.STRING == value_element_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_element_2 = value_element as string thisSerializer.writeString(value_element_2) } else if (RuntimeType.OBJECT == value_element_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_element_3 = value_element as Resource thisSerializer.writeResource(value_element_3) } @@ -106,17 +106,17 @@ export class ArkSymbolSpanPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (TypeChecker.isFontWeight(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_1)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } diff --git a/arkoala-arkts/arkui/src/generated/symbolglyph.ts b/arkoala-arkts/arkui/src/generated/symbolglyph.ts index f2fafe9ca1..0b7d6c766f 100644 --- a/arkoala-arkts/arkui/src/generated/symbolglyph.ts +++ b/arkoala-arkts/arkui/src/generated/symbolglyph.ts @@ -47,7 +47,7 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeResource(value_value) @@ -60,17 +60,17 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -85,22 +85,22 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { let value_element_type : int32 = RuntimeType.UNDEFINED value_element_type = runtimeType(value_element) if (TypeChecker.isColor(value_element)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_element_0 = value_element as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_element_0)) } else if (RuntimeType.NUMBER == value_element_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_element_1 = value_element as number thisSerializer.writeNumber(value_element_1) } else if (RuntimeType.STRING == value_element_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_element_2 = value_element as string thisSerializer.writeString(value_element_2) } else if (RuntimeType.OBJECT == value_element_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_element_3 = value_element as Resource thisSerializer.writeResource(value_element_3) } @@ -113,17 +113,17 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (TypeChecker.isFontWeight(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_1)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -136,11 +136,57 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { renderingStrategyAttribute(value: SymbolRenderingStrategy): void { ArkUIGeneratedNativeModule._SymbolGlyphAttribute_renderingStrategy(this.peer.ptr, TypeChecker.SymbolRenderingStrategy_ToNumeric(value)) } + minFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._SymbolGlyphAttribute_minFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._SymbolGlyphAttribute_maxFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } symbolEffect0Attribute(symbolEffect: SymbolEffect, isActive?: boolean): void { const thisSerializer : Serializer = Serializer.hold() let isActive_type : int32 = RuntimeType.UNDEFINED isActive_type = runtimeType(isActive) - thisSerializer.writeInt8(isActive_type as int32) + thisSerializer.writeInt8(isActive_type) if ((RuntimeType.UNDEFINED) != (isActive_type)) { const isActive_value = isActive! thisSerializer.writeBoolean(isActive_value) @@ -152,7 +198,7 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let triggerValue_type : int32 = RuntimeType.UNDEFINED triggerValue_type = runtimeType(triggerValue) - thisSerializer.writeInt8(triggerValue_type as int32) + thisSerializer.writeInt8(triggerValue_type) if ((RuntimeType.UNDEFINED) != (triggerValue_type)) { const triggerValue_value = triggerValue! thisSerializer.writeNumber(triggerValue_value) @@ -182,6 +228,8 @@ export interface SymbolGlyphAttribute extends CommonMethod { fontWeight(value: number | FontWeight | string): this effectStrategy(value: SymbolEffectStrategy): this renderingStrategy(value: SymbolRenderingStrategy): this + minFontScale(value: number | Resource | undefined): this + maxFontScale(value: number | Resource | undefined): this symbolEffect(symbolEffect: SymbolEffect, isActive?: boolean | number): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } @@ -197,6 +245,10 @@ export interface UISymbolGlyphAttribute extends UICommonMethod { /** @memo */ renderingStrategy(value: SymbolRenderingStrategy): this /** @memo */ + minFontScale(value: number | Resource | undefined): this + /** @memo */ + maxFontScale(value: number | Resource | undefined): this + /** @memo */ symbolEffect(symbolEffect: SymbolEffect, isActive?: boolean | number): this /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this @@ -207,6 +259,8 @@ export class ArkSymbolGlyphStyle extends ArkCommonMethodStyle implements SymbolG fontWeight_value?: number | FontWeight | string effectStrategy_value?: SymbolEffectStrategy renderingStrategy_value?: SymbolRenderingStrategy + minFontScale_value?: number | Resource | undefined + maxFontScale_value?: number | Resource | undefined public fontSize(value: number | string | Resource): this { return this } @@ -222,6 +276,12 @@ export class ArkSymbolGlyphStyle extends ArkCommonMethodStyle implements SymbolG public renderingStrategy(value: SymbolRenderingStrategy): this { return this } + public minFontScale(value: number | Resource | undefined): this { + return this + } + public maxFontScale(value: number | Resource | undefined): this { + return this + } public symbolEffect(symbolEffect: SymbolEffect, isActive?: boolean | number): this { return this } @@ -289,6 +349,24 @@ export class ArkSymbolGlyphComponent extends ArkCommonMethodComponent implements return this } /** @memo */ + public minFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("minFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.minFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("maxFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.maxFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ public symbolEffect(symbolEffect: SymbolEffect, isActive?: boolean | number): this { if (this.checkPriority("symbolEffect")) { const symbolEffect_type = runtimeType(symbolEffect) @@ -356,7 +434,7 @@ export class HierarchicalSymbolEffect extends SymbolEffect implements Materializ const thisSerializer : Serializer = Serializer.hold() let fillStyle_type : int32 = RuntimeType.UNDEFINED fillStyle_type = runtimeType(fillStyle) - thisSerializer.writeInt8(fillStyle_type as int32) + thisSerializer.writeInt8(fillStyle_type) if ((RuntimeType.UNDEFINED) != (fillStyle_type)) { const fillStyle_value = (fillStyle as EffectFillStyle) thisSerializer.writeInt32(TypeChecker.EffectFillStyle_ToNumeric(fillStyle_value)) @@ -408,7 +486,7 @@ export class AppearSymbolEffect extends SymbolEffect implements MaterializedBase const thisSerializer : Serializer = Serializer.hold() let scope_type : int32 = RuntimeType.UNDEFINED scope_type = runtimeType(scope) - thisSerializer.writeInt8(scope_type as int32) + thisSerializer.writeInt8(scope_type) if ((RuntimeType.UNDEFINED) != (scope_type)) { const scope_value = (scope as EffectScope) thisSerializer.writeInt32(TypeChecker.EffectScope_ToNumeric(scope_value)) @@ -460,7 +538,7 @@ export class DisappearSymbolEffect extends SymbolEffect implements MaterializedB const thisSerializer : Serializer = Serializer.hold() let scope_type : int32 = RuntimeType.UNDEFINED scope_type = runtimeType(scope) - thisSerializer.writeInt8(scope_type as int32) + thisSerializer.writeInt8(scope_type) if ((RuntimeType.UNDEFINED) != (scope_type)) { const scope_value = (scope as EffectScope) thisSerializer.writeInt32(TypeChecker.EffectScope_ToNumeric(scope_value)) @@ -519,14 +597,14 @@ export class BounceSymbolEffect extends SymbolEffect implements MaterializedBase const thisSerializer : Serializer = Serializer.hold() let scope_type : int32 = RuntimeType.UNDEFINED scope_type = runtimeType(scope) - thisSerializer.writeInt8(scope_type as int32) + thisSerializer.writeInt8(scope_type) if ((RuntimeType.UNDEFINED) != (scope_type)) { const scope_value = (scope as EffectScope) thisSerializer.writeInt32(TypeChecker.EffectScope_ToNumeric(scope_value)) } let direction_type : int32 = RuntimeType.UNDEFINED direction_type = runtimeType(direction) - thisSerializer.writeInt8(direction_type as int32) + thisSerializer.writeInt8(direction_type) if ((RuntimeType.UNDEFINED) != (direction_type)) { const direction_value = (direction as EffectDirection) thisSerializer.writeInt32(TypeChecker.EffectDirection_ToNumeric(direction_value)) diff --git a/arkoala-arkts/arkui/src/generated/tab_content.ts b/arkoala-arkts/arkui/src/generated/tab_content.ts index 5f95e32f31..9f685e8644 100644 --- a/arkoala-arkts/arkui/src/generated/tab_content.ts +++ b/arkoala-arkts/arkui/src/generated/tab_content.ts @@ -24,13 +24,13 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { Resource } from "./resource" +import { ComponentContent } from "./arkui-custom" import { VoidCallback, Length, ResourceColor, ResourceStr, Padding, Dimension, LocalizedPadding } from "./units" import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { SymbolGlyphModifier, IndicatorStyle, LabelStyle } from "./arkui-external" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" -import { ComponentContent } from "./arkui-custom" import { VerticalAlign } from "./enums" export class ArkTabContentPeer extends ArkCommonMethodPeer { protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { @@ -51,22 +51,22 @@ export class ArkTabContentPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (TypeChecker.isResource(value, false, false, false, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } else if (RuntimeType.FUNCTION == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as CustomBuilder thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_2)) } else if (TypeChecker.isTabBarOptions(value, false, false)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as TabBarOptions thisSerializer.writeTabBarOptions(value_3) } @@ -78,18 +78,60 @@ export class ArkTabContentPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isSubTabBarStyle(value))) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as SubTabBarStyle thisSerializer.writeSubTabBarStyle(value_0) } else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isBottomTabBarStyle(value))) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as BottomTabBarStyle thisSerializer.writeBottomTabBarStyle(value_1) } ArkUIGeneratedNativeModule._TabContentAttribute_tabBar1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + tabBar2Attribute(value: ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (TypeChecker.isComponentContent(value)) { + thisSerializer.writeInt8(0) + const value_0 = value as ComponentContent + thisSerializer.writeComponentContent(value_0) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isSubTabBarStyle(value))) { + thisSerializer.writeInt8(1) + const value_1 = value as SubTabBarStyle + thisSerializer.writeSubTabBarStyle(value_1) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isBottomTabBarStyle(value))) { + thisSerializer.writeInt8(2) + const value_2 = value as BottomTabBarStyle + thisSerializer.writeBottomTabBarStyle(value_2) + } + else if (RuntimeType.STRING == value_type) { + thisSerializer.writeInt8(3) + const value_3 = value as string + thisSerializer.writeString(value_3) + } + else if (TypeChecker.isResource(value, false, false, false, false, false)) { + thisSerializer.writeInt8(4) + const value_4 = value as Resource + thisSerializer.writeResource(value_4) + } + else if (RuntimeType.FUNCTION == value_type) { + thisSerializer.writeInt8(5) + const value_5 = value as CustomBuilder + thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_5)) + } + else if (TypeChecker.isTabBarOptions(value, false, false)) { + thisSerializer.writeInt8(6) + const value_6 = value as TabBarOptions + thisSerializer.writeTabBarOptions(value_6) + } + ArkUIGeneratedNativeModule._TabContentAttribute_tabBar2(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onWillShowAttribute(value: VoidCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -129,14 +171,14 @@ export interface TabBarOptions { } export interface TabContentAttribute extends CommonMethod { - tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle): this + tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle | ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this onWillShow(value: VoidCallback): this onWillHide(value: VoidCallback): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UITabContentAttribute extends UICommonMethod { /** @memo */ - tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle): this + tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle | ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this /** @memo */ onWillShow(value: VoidCallback): this /** @memo */ @@ -148,7 +190,7 @@ export class ArkTabContentStyle extends ArkCommonMethodStyle implements TabConte tabBar_value?: string | Resource | CustomBuilder | TabBarOptions onWillShow_value?: VoidCallback onWillHide_value?: VoidCallback - public tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle): this { + public tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle | ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this { return this } public onWillShow(value: VoidCallback): this { @@ -175,7 +217,7 @@ export class ArkTabContentComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public tabBar(value: SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this { + public tabBar(value: SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions | ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this { if (this.checkPriority("tabBar")) { const value_type = runtimeType(value) if ((((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isSubTabBarStyle(value))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isBottomTabBarStyle(value)))) { @@ -188,6 +230,11 @@ export class ArkTabContentComponent extends ArkCommonMethodComponent implements this.getPeer()?.tabBar0Attribute(value_casted) return this } + if ((TypeChecker.isComponentContent(value)) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isSubTabBarStyle(value))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isBottomTabBarStyle(value))) || (RuntimeType.STRING == value_type) || (TypeChecker.isResource(value, false, false, false, false, false)) || (RuntimeType.FUNCTION == value_type) || (TypeChecker.isTabBarOptions(value, false, false))) { + const value_casted = value as (ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions) + this.getPeer()?.tabBar2Attribute(value_casted) + return this + } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala-arkts/arkui/src/generated/tabs.ts b/arkoala-arkts/arkui/src/generated/tabs.ts index 33dd304ea3..6d05d091a4 100644 --- a/arkoala-arkts/arkui/src/generated/tabs.ts +++ b/arkoala-arkts/arkui/src/generated/tabs.ts @@ -27,7 +27,7 @@ import { CallbackTransformer } from "./../CallbackTransformer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { Length, ResourceColor, Dimension } from "./units" -import { EdgeEffect, Color } from "./enums" +import { EdgeEffect, PageFlipMode, Color } from "./enums" import { Callback_Number_Void } from "./alphabet_indexer" import { Resource } from "./resource" import { UICommonBase, AttributeModifier } from "./../handwritten" @@ -81,7 +81,7 @@ export class TabsController implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let indices_type : int32 = RuntimeType.UNDEFINED indices_type = runtimeType(indices) - thisSerializer.writeInt8(indices_type as int32) + thisSerializer.writeInt8(indices_type) if ((RuntimeType.UNDEFINED) != (indices_type)) { const indices_value = indices! thisSerializer.writeInt32(indices_value.length as int32) @@ -196,7 +196,7 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeTabsOptions(options_value) @@ -220,7 +220,7 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeScrollableBarModeOptions(options_value) @@ -233,17 +233,17 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -255,17 +255,17 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -279,7 +279,7 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = (value as AnimationMode) thisSerializer.writeInt32(TypeChecker.AnimationMode_ToNumeric(value_value)) @@ -291,7 +291,7 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = (value as EdgeEffect) thisSerializer.writeInt32(TypeChecker.EdgeEffect_ToNumeric(value_value)) @@ -305,12 +305,24 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TabsAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onSelectedAttribute(value: ((index: number) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TabsAttribute_onSelected(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onTabBarClickAttribute(value: ((index: number) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._TabsAttribute_onTabBarClick(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onUnselectedAttribute(value: ((index: number) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TabsAttribute_onUnselected(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onAnimationStartAttribute(value: OnTabsAnimationStartCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -336,7 +348,7 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeDividerStyle(value_value) @@ -352,22 +364,22 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -401,6 +413,18 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TabsAttribute_barBackgroundEffect(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + pageFlipModeAttribute(value: PageFlipMode | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as PageFlipMode) + thisSerializer.writeInt32(TypeChecker.PageFlipMode_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._TabsAttribute_pageFlipMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onContentWillChangeAttribute(value: OnTabsContentWillChangeCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -413,6 +437,9 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TabsAttribute_barModeScrollable(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + cachedMaxCountAttribute(count: number, mode: TabsCacheMode): void { + ArkUIGeneratedNativeModule._TabsAttribute_cachedMaxCount(this.peer.ptr, count, TypeChecker.TabsCacheMode_ToNumeric(mode)) + } _onChangeEvent_indexAttribute(callback: ((index: number) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(callback) @@ -420,6 +447,9 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { thisSerializer.release() } } +export interface CommonModifier { + _CommonModifierStub: string; +} export enum BarMode { SCROLLABLE = 0, Scrollable = 0, @@ -429,7 +459,9 @@ export enum BarMode { export enum AnimationMode { CONTENT_FIRST = 0, ACTION_FIRST = 1, - NO_ANIMATION = 2 + NO_ANIMATION = 2, + CONTENT_FIRST_WITH_JUMP = 3, + ACTION_FIRST_WITH_JUMP = 4 } export enum BarPosition { START = 0, @@ -442,10 +474,15 @@ export enum LayoutStyle { ALWAYS_AVERAGE_SPLIT = 1, SPACE_BETWEEN_OR_CENTER = 2 } +export enum TabsCacheMode { + CACHE_BOTH_SIDE = 0, + CACHE_LATEST_SWITCHED = 1 +} export interface TabsOptions { barPosition?: BarPosition; index?: number; controller?: TabsController; + barModifier?: CommonModifier; } export interface DividerStyle { @@ -486,7 +523,9 @@ export interface TabsAttribute extends CommonMethod { animationMode(value: AnimationMode | undefined): this edgeEffect(value: EdgeEffect | undefined): this onChange(value: ((index: number) => void)): this + onSelected(value: ((index: number) => void)): this onTabBarClick(value: ((index: number) => void)): this + onUnselected(value: ((index: number) => void)): this onAnimationStart(value: OnTabsAnimationStartCallback): this onAnimationEnd(value: OnTabsAnimationEndCallback): this onGestureSwipe(value: OnTabsGestureSwipeCallback): this @@ -498,8 +537,10 @@ export interface TabsAttribute extends CommonMethod { customContentTransition(value: TabsCustomContentTransitionCallback): this barBackgroundBlurStyle(style: BlurStyle, options?: BackgroundBlurStyleOptions): this barBackgroundEffect(value: BackgroundEffectOptions): this + pageFlipMode(value: PageFlipMode | undefined): this onContentWillChange(value: OnTabsContentWillChangeCallback): this barModeScrollable(options: ScrollableBarModeOptions): this + cachedMaxCount(count: number, mode: TabsCacheMode): this _onChangeEvent_index(callback: ((index: number) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } @@ -525,8 +566,12 @@ export interface UITabsAttribute extends UICommonMethod { /** @memo */ onChange(value: ((index: number) => void)): this /** @memo */ + onSelected(value: ((index: number) => void)): this + /** @memo */ onTabBarClick(value: ((index: number) => void)): this /** @memo */ + onUnselected(value: ((index: number) => void)): this + /** @memo */ onAnimationStart(value: OnTabsAnimationStartCallback): this /** @memo */ onAnimationEnd(value: OnTabsAnimationEndCallback): this @@ -549,10 +594,14 @@ export interface UITabsAttribute extends UICommonMethod { /** @memo */ barBackgroundEffect(value: BackgroundEffectOptions): this /** @memo */ + pageFlipMode(value: PageFlipMode | undefined): this + /** @memo */ onContentWillChange(value: OnTabsContentWillChangeCallback): this /** @memo */ barModeScrollable(options: ScrollableBarModeOptions): this /** @memo */ + cachedMaxCount(count: number, mode: TabsCacheMode): this + /** @memo */ _onChangeEvent_index(callback: ((index: number) => void)): void /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this @@ -568,7 +617,9 @@ export class ArkTabsStyle extends ArkCommonMethodStyle implements TabsAttribute animationMode_value?: AnimationMode | undefined edgeEffect_value?: EdgeEffect | undefined onChange_value?: ((index: number) => void) + onSelected_value?: ((index: number) => void) onTabBarClick_value?: ((index: number) => void) + onUnselected_value?: ((index: number) => void) onAnimationStart_value?: OnTabsAnimationStartCallback onAnimationEnd_value?: OnTabsAnimationEndCallback onGestureSwipe_value?: OnTabsGestureSwipeCallback @@ -580,6 +631,7 @@ export class ArkTabsStyle extends ArkCommonMethodStyle implements TabsAttribute customContentTransition_value?: TabsCustomContentTransitionCallback barBackgroundBlurStyle_value?: BlurStyle barBackgroundEffect_value?: BackgroundEffectOptions + pageFlipMode_value?: PageFlipMode | undefined onContentWillChange_value?: OnTabsContentWillChangeCallback public vertical(value: boolean): this { return this @@ -611,9 +663,15 @@ export class ArkTabsStyle extends ArkCommonMethodStyle implements TabsAttribute public onChange(value: ((index: number) => void)): this { return this } + public onSelected(value: ((index: number) => void)): this { + return this + } public onTabBarClick(value: ((index: number) => void)): this { return this } + public onUnselected(value: ((index: number) => void)): this { + return this + } public onAnimationStart(value: OnTabsAnimationStartCallback): this { return this } @@ -647,12 +705,18 @@ export class ArkTabsStyle extends ArkCommonMethodStyle implements TabsAttribute public barBackgroundEffect(value: BackgroundEffectOptions): this { return this } + public pageFlipMode(value: PageFlipMode | undefined): this { + return this + } public onContentWillChange(value: OnTabsContentWillChangeCallback): this { return this } public barModeScrollable(options: ScrollableBarModeOptions): this { return this } + public cachedMaxCount(count: number, mode: TabsCacheMode): this { + return this + } public _onChangeEvent_index(callback: ((index: number) => void)): void { throw new Error("Unimplmented") } @@ -781,6 +845,15 @@ export class ArkTabsComponent extends ArkCommonMethodComponent implements UITabs return this } /** @memo */ + public onSelected(value: ((index: number) => void)): this { + if (this.checkPriority("onSelected")) { + const value_casted = value as (((index: number) => void)) + this.getPeer()?.onSelectedAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onTabBarClick(value: ((index: number) => void)): this { if (this.checkPriority("onTabBarClick")) { const value_casted = value as (((index: number) => void)) @@ -790,6 +863,15 @@ export class ArkTabsComponent extends ArkCommonMethodComponent implements UITabs return this } /** @memo */ + public onUnselected(value: ((index: number) => void)): this { + if (this.checkPriority("onUnselected")) { + const value_casted = value as (((index: number) => void)) + this.getPeer()?.onUnselectedAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onAnimationStart(value: OnTabsAnimationStartCallback): this { if (this.checkPriority("onAnimationStart")) { const value_casted = value as (OnTabsAnimationStartCallback) @@ -900,6 +982,15 @@ export class ArkTabsComponent extends ArkCommonMethodComponent implements UITabs return this } /** @memo */ + public pageFlipMode(value: PageFlipMode | undefined): this { + if (this.checkPriority("pageFlipMode")) { + const value_casted = value as (PageFlipMode | undefined) + this.getPeer()?.pageFlipModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onContentWillChange(value: OnTabsContentWillChangeCallback): this { if (this.checkPriority("onContentWillChange")) { const value_casted = value as (OnTabsContentWillChangeCallback) @@ -918,6 +1009,16 @@ export class ArkTabsComponent extends ArkCommonMethodComponent implements UITabs return this } /** @memo */ + public cachedMaxCount(count: number, mode: TabsCacheMode): this { + if (this.checkPriority("cachedMaxCount")) { + const count_casted = count as (number) + const mode_casted = mode as (TabsCacheMode) + this.getPeer()?.cachedMaxCountAttribute(count_casted, mode_casted) + return this + } + return this + } + /** @memo */ public _onChangeEvent_index(callback: ((index: number) => void)): void { if (this.checkPriority("_onChangeEvent_index")) { const callback_casted = callback as (((index: number) => void)) diff --git a/arkoala-arkts/arkui/src/generated/text.ts b/arkoala-arkts/arkui/src/generated/text.ts index d28f2b51bd..2536b64077 100644 --- a/arkoala-arkts/arkui/src/generated/text.ts +++ b/arkoala-arkts/arkui/src/generated/text.ts @@ -35,8 +35,9 @@ import { FontWeight, TextAlign, TextCase, CopyOptions, TextHeightAdaptivePolicy, import { LengthMetrics } from "./arkui-graphics" import { Callback_String_Void } from "./grid_row" import { Callback_Number_Number_Void } from "./grid" -import { SelectionMenuOptions, MenuOnAppearCallback } from "./rich_editor" +import { SelectionMenuOptions, MenuOnAppearCallback, PreviewMenuOptions } from "./rich_editor" import { Callback_Void } from "./ability_component" +import { MenuCallback } from "./sdk-stubs" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class TextControllerInternal { @@ -101,25 +102,25 @@ export class ArkTextPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let content_type : int32 = RuntimeType.UNDEFINED content_type = runtimeType(content) - thisSerializer.writeInt8(content_type as int32) + thisSerializer.writeInt8(content_type) if ((RuntimeType.UNDEFINED) != (content_type)) { const content_value = content! let content_value_type : int32 = RuntimeType.UNDEFINED content_value_type = runtimeType(content_value) if (RuntimeType.STRING == content_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const content_value_0 = content_value as string thisSerializer.writeString(content_value_0) } else if (RuntimeType.OBJECT == content_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const content_value_1 = content_value as Resource thisSerializer.writeResource(content_value_1) } } let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeTextOptions(value_value) @@ -138,7 +139,7 @@ export class ArkTextPeer extends ArkCommonMethodPeer { thisSerializer.writeFont(fontValue) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeFontSettingOptions(options_value) @@ -151,22 +152,22 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -178,17 +179,17 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -200,17 +201,17 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -222,17 +223,17 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -244,12 +245,12 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -261,12 +262,12 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -281,17 +282,17 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (TypeChecker.isFontWeight(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_1)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -303,23 +304,23 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let weight_type : int32 = RuntimeType.UNDEFINED weight_type = runtimeType(weight) if (RuntimeType.NUMBER == weight_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const weight_0 = weight as number thisSerializer.writeNumber(weight_0) } else if (TypeChecker.isFontWeight(weight)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const weight_1 = weight as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(weight_1)) } else if (RuntimeType.STRING == weight_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const weight_2 = weight as string thisSerializer.writeString(weight_2) } let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeFontSettingOptions(options_value) @@ -338,17 +339,17 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -366,12 +367,12 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -392,12 +393,12 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -412,12 +413,12 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } @@ -435,12 +436,12 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isShadowOptions(value, false, false, false, false, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ShadowOptions thisSerializer.writeShadowOptions(value_0) } else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isArray_ShadowOptions(value))) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Array thisSerializer.writeInt32(value_1.length as int32) for (let i = 0; i < value_1.length; i++) { @@ -459,17 +460,17 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -493,22 +494,22 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -520,22 +521,22 @@ export class ArkTextPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -563,6 +564,24 @@ export class ArkTextPeer extends ArkCommonMethodPeer { fontFeatureAttribute(value: string): void { ArkUIGeneratedNativeModule._TextAttribute_fontFeature(this.peer.ptr, value) } + marqueeOptionsAttribute(value: TextMarqueeOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeTextMarqueeOptions(value_value) + } + ArkUIGeneratedNativeModule._TextAttribute_marqueeOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onMarqueeStateChangeAttribute(value: ((parameter: MarqueeState) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TextAttribute_onMarqueeStateChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } privacySensitiveAttribute(value: boolean): void { ArkUIGeneratedNativeModule._TextAttribute_privacySensitive(this.peer.ptr, value ? 1 : 0) } @@ -589,7 +608,7 @@ export class ArkTextPeer extends ArkCommonMethodPeer { thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(content)) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeSelectionMenuOptions(options_value) @@ -602,6 +621,7 @@ export interface TextOverflowOptions { overflow: TextOverflow; } +export type Callback_MarqueeState_Void = (parameter: MarqueeState) => void; export interface TextAttribute extends CommonMethod { font(fontValue: Font, options?: FontSettingOptions): this fontColor(value: ResourceColor): this @@ -637,6 +657,8 @@ export interface TextAttribute extends CommonMethod { dataDetectorConfig(value: TextDataDetectorConfig): this onTextSelectionChange(value: ((first: number,last: number) => void)): this fontFeature(value: string): this + marqueeOptions(value: TextMarqueeOptions | undefined): this + onMarqueeStateChange(value: ((parameter: MarqueeState) => void)): this privacySensitive(value: boolean): this textSelectable(value: TextSelectableMode): this editMenuOptions(value: EditMenuOptions): this @@ -716,6 +738,10 @@ export interface UITextAttribute extends UICommonMethod { /** @memo */ fontFeature(value: string): this /** @memo */ + marqueeOptions(value: TextMarqueeOptions | undefined): this + /** @memo */ + onMarqueeStateChange(value: ((parameter: MarqueeState) => void)): this + /** @memo */ privacySensitive(value: boolean): this /** @memo */ textSelectable(value: TextSelectableMode): this @@ -767,6 +793,8 @@ export class ArkTextStyle extends ArkCommonMethodStyle implements TextAttribute dataDetectorConfig_value?: TextDataDetectorConfig onTextSelectionChange_value?: ((first: number,last: number) => void) fontFeature_value?: string + marqueeOptions_value?: TextMarqueeOptions | undefined + onMarqueeStateChange_value?: ((parameter: MarqueeState) => void) privacySensitive_value?: boolean textSelectable_value?: TextSelectableMode editMenuOptions_value?: EditMenuOptions @@ -874,6 +902,12 @@ export class ArkTextStyle extends ArkCommonMethodStyle implements TextAttribute public fontFeature(value: string): this { return this } + public marqueeOptions(value: TextMarqueeOptions | undefined): this { + return this + } + public onMarqueeStateChange(value: ((parameter: MarqueeState) => void)): this { + return this + } public privacySensitive(value: boolean): this { return this } @@ -902,16 +936,36 @@ export class ArkTextStyle extends ArkCommonMethodStyle implements TextAttribute export enum TextSpanType { TEXT = 0, IMAGE = 1, - MIXED = 2 + MIXED = 2, + DEFAULT = 3 } export enum TextResponseType { RIGHT_CLICK = 0, LONG_PRESS = 1, - SELECT = 2 + SELECT = 2, + DEFAULT = 3 +} +export enum MarqueeState { + START = 0, + BOUNCE = 1, + FINISH = 2 +} +export enum MarqueeStartPolicy { + DEFAULT = 0, + ON_FOCUS = 1 } export interface TextOptions { controller: TextController; } +export interface TextMarqueeOptions { + start: boolean; + step?: number; + loop?: number; + fromStart?: boolean; + delay?: number; + fadeout?: boolean; + marqueeStartPolicy?: MarqueeStartPolicy; +} /** @memo:stable */ export class ArkTextComponent extends ArkCommonMethodComponent implements UITextAttribute { getPeer(): ArkTextPeer { @@ -1247,6 +1301,24 @@ export class ArkTextComponent extends ArkCommonMethodComponent implements UIText return this } /** @memo */ + public marqueeOptions(value: TextMarqueeOptions | undefined): this { + if (this.checkPriority("marqueeOptions")) { + const value_casted = value as (TextMarqueeOptions | undefined) + this.getPeer()?.marqueeOptionsAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onMarqueeStateChange(value: ((parameter: MarqueeState) => void)): this { + if (this.checkPriority("onMarqueeStateChange")) { + const value_casted = value as (((parameter: MarqueeState) => void)) + this.getPeer()?.onMarqueeStateChangeAttribute(value_casted) + return this + } + return this + } + /** @memo */ public privacySensitive(value: boolean): this { if (this.checkPriority("privacySensitive")) { const value_casted = value as (boolean) diff --git a/arkoala-arkts/arkui/src/generated/text_area.ts b/arkoala-arkts/arkui/src/generated/text_area.ts index a8945d490a..b8df8443a0 100644 --- a/arkoala-arkts/arkui/src/generated/text_area.ts +++ b/arkoala-arkts/arkui/src/generated/text_area.ts @@ -24,17 +24,17 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { ArkCommonMethodPeer, CommonMethod, TextDecorationOptions, InputCounterOptions, CustomBuilder, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod, TextContentControllerBase, TextContentControllerBaseInternal, SelectionOptions } from "./common" import { ResourceColor, Font, Length, ResourceStr, Dimension } from "./units" -import { EnterKeyType, SubmitEvent } from "./text_input" +import { EnterKeyType, SubmitEvent, ContentType } from "./text_input" import { TextAlign, FontWeight, TextOverflow, CopyOptions, TextContentStyle, BarState, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, Color } from "./enums" -import { FontStyle } from "./arkui-graphics-text" -import { CaretStyle, EditableTextOnChangeCallback, PreviewText, InsertValue, DeleteValue, EditMenuOptions } from "./text_common" +import { FontStyle, EllipsisMode } from "./arkui-graphics-text" +import { CaretStyle, EditableTextOnChangeCallback, PreviewText, TextChangeOptions, InsertValue, DeleteValue, EditMenuOptions, AutoCapitalizationMode, EditableTextChangeValue, KeyboardAppearance } from "./text_common" import { Callback_Number_Number_Void } from "./grid" import { Callback_Boolean_Void } from "./navigation" import { Callback_String_Void } from "./grid_row" import { PasteEvent, KeyboardOptions } from "./rich_editor" import { Resource } from "./resource" import { LengthMetrics } from "./arkui-graphics" -import { Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void } from "./search" +import { Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_EditableTextChangeValue_Boolean } from "./search" import { Callback_ResourceStr_Void } from "./select" import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" @@ -56,7 +56,7 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeTextAreaOptions(value_value) @@ -69,22 +69,22 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -108,22 +108,22 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -135,22 +135,22 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -162,17 +162,17 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -187,17 +187,17 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (TypeChecker.isFontWeight(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_1)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -209,12 +209,12 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -229,17 +229,17 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -257,22 +257,22 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -356,17 +356,17 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -378,23 +378,69 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } ArkUIGeneratedNativeModule._TextAreaAttribute_maxFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + minFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._TextAreaAttribute_minFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._TextAreaAttribute_maxFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } heightAdaptivePolicyAttribute(value: TextHeightAdaptivePolicy): void { ArkUIGeneratedNativeModule._TextAreaAttribute_heightAdaptivePolicy(this.peer.ptr, TypeChecker.TextHeightAdaptivePolicy_ToNumeric(value)) } @@ -418,17 +464,17 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -443,17 +489,17 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -508,23 +554,80 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { enableHapticFeedbackAttribute(value: boolean): void { ArkUIGeneratedNativeModule._TextAreaAttribute_enableHapticFeedback(this.peer.ptr, value ? 1 : 0) } + autoCapitalizationModeAttribute(value: AutoCapitalizationMode): void { + ArkUIGeneratedNativeModule._TextAreaAttribute_autoCapitalizationMode(this.peer.ptr, TypeChecker.AutoCapitalizationMode_ToNumeric(value)) + } + halfLeadingAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TextAreaAttribute_halfLeading(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + ellipsisModeAttribute(value: EllipsisMode | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as EllipsisMode) + thisSerializer.writeInt32(TypeChecker.EllipsisMode_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._TextAreaAttribute_ellipsisMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + stopBackPressAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TextAreaAttribute_stopBackPress(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onWillChangeAttribute(value: ((parameter: EditableTextChangeValue) => boolean)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TextAreaAttribute_onWillChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + keyboardAppearanceAttribute(value: KeyboardAppearance | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as KeyboardAppearance) + thisSerializer.writeInt32(TypeChecker.KeyboardAppearance_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._TextAreaAttribute_keyboardAppearance(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } inputFilterAttribute(value: ResourceStr, error?: ((breakpoints: string) => void)): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } let error_type : int32 = RuntimeType.UNDEFINED error_type = runtimeType(error) - thisSerializer.writeInt8(error_type as int32) + thisSerializer.writeInt8(error_type) if ((RuntimeType.UNDEFINED) != (error_type)) { const error_value = error! thisSerializer.holdAndWriteCallback(error_value) @@ -536,7 +639,7 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeInputCounterOptions(options_value) @@ -549,7 +652,7 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value)) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeKeyboardOptions(options_value) @@ -578,29 +681,6 @@ export enum TextAreaType { NUMBER_DECIMAL = 12, URL = 13 } -export enum ContentType { - USER_NAME = 0, - PASSWORD = 1, - NEW_PASSWORD = 2, - FULL_STREET_ADDRESS = 3, - HOUSE_NUMBER = 4, - DISTRICT_ADDRESS = 5, - CITY_ADDRESS = 6, - PROVINCE_ADDRESS = 7, - COUNTRY_ADDRESS = 8, - PERSON_FULL_NAME = 9, - PERSON_LAST_NAME = 10, - PERSON_FIRST_NAME = 11, - PHONE_NUMBER = 12, - PHONE_COUNTRY_CODE = 13, - FULL_PHONE_NUMBER = 14, - EMAIL_ADDRESS = 15, - BANK_CARD_NUMBER = 16, - ID_CARD_NUMBER = 17, - NICKNAME = 23, - DETAIL_INFO_WITHOUT_STREET = 24, - FORMAT_ADDRESS = 25 -} export type TextAreaSubmitCallback = (enterKeyType: EnterKeyType, event?: SubmitEvent) => void; export type Callback_EnterKeyType_Void = (enterKey: EnterKeyType) => void; export type Callback_String_PasteEvent_Void = (value: string, event: PasteEvent) => void; @@ -635,6 +715,8 @@ export interface TextAreaAttribute extends CommonMethod { selectionMenuHidden(value: boolean): this minFontSize(value: number | string | Resource): this maxFontSize(value: number | string | Resource): this + minFontScale(value: number | Resource | undefined): this + maxFontScale(value: number | Resource | undefined): this heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this maxLines(value: number): this wordBreak(value: WordBreak): this @@ -654,6 +736,12 @@ export interface TextAreaAttribute extends CommonMethod { editMenuOptions(value: EditMenuOptions): this enablePreviewText(value: boolean): this enableHapticFeedback(value: boolean): this + autoCapitalizationMode(value: AutoCapitalizationMode): this + halfLeading(value: boolean | undefined): this + ellipsisMode(value: EllipsisMode | undefined): this + stopBackPress(value: boolean | undefined): this + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this + keyboardAppearance(value: KeyboardAppearance | undefined): this inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this showCounter(value: boolean, options?: InputCounterOptions): this customKeyboard(value: CustomBuilder, options?: KeyboardOptions): this @@ -722,6 +810,10 @@ export interface UITextAreaAttribute extends UICommonMethod { /** @memo */ maxFontSize(value: number | string | Resource): this /** @memo */ + minFontScale(value: number | Resource | undefined): this + /** @memo */ + maxFontScale(value: number | Resource | undefined): this + /** @memo */ heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this /** @memo */ maxLines(value: number): this @@ -760,6 +852,18 @@ export interface UITextAreaAttribute extends UICommonMethod { /** @memo */ enableHapticFeedback(value: boolean): this /** @memo */ + autoCapitalizationMode(value: AutoCapitalizationMode): this + /** @memo */ + halfLeading(value: boolean | undefined): this + /** @memo */ + ellipsisMode(value: EllipsisMode | undefined): this + /** @memo */ + stopBackPress(value: boolean | undefined): this + /** @memo */ + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this + /** @memo */ + keyboardAppearance(value: KeyboardAppearance | undefined): this + /** @memo */ inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this /** @memo */ showCounter(value: boolean, options?: InputCounterOptions): this @@ -801,6 +905,8 @@ export class ArkTextAreaStyle extends ArkCommonMethodStyle implements TextAreaAt selectionMenuHidden_value?: boolean minFontSize_value?: number | string | Resource maxFontSize_value?: number | string | Resource + minFontScale_value?: number | Resource | undefined + maxFontScale_value?: number | Resource | undefined heightAdaptivePolicy_value?: TextHeightAdaptivePolicy maxLines_value?: number wordBreak_value?: WordBreak @@ -820,6 +926,12 @@ export class ArkTextAreaStyle extends ArkCommonMethodStyle implements TextAreaAt editMenuOptions_value?: EditMenuOptions enablePreviewText_value?: boolean enableHapticFeedback_value?: boolean + autoCapitalizationMode_value?: AutoCapitalizationMode + halfLeading_value?: boolean | undefined + ellipsisMode_value?: EllipsisMode | undefined + stopBackPress_value?: boolean | undefined + onWillChange_value?: ((parameter: EditableTextChangeValue) => boolean) + keyboardAppearance_value?: KeyboardAppearance | undefined public placeholderColor(value: ResourceColor): this { return this } @@ -910,6 +1022,12 @@ export class ArkTextAreaStyle extends ArkCommonMethodStyle implements TextAreaAt public maxFontSize(value: number | string | Resource): this { return this } + public minFontScale(value: number | Resource | undefined): this { + return this + } + public maxFontScale(value: number | Resource | undefined): this { + return this + } public heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this { return this } @@ -967,6 +1085,24 @@ export class ArkTextAreaStyle extends ArkCommonMethodStyle implements TextAreaAt public enableHapticFeedback(value: boolean): this { return this } + public autoCapitalizationMode(value: AutoCapitalizationMode): this { + return this + } + public halfLeading(value: boolean | undefined): this { + return this + } + public ellipsisMode(value: EllipsisMode | undefined): this { + return this + } + public stopBackPress(value: boolean | undefined): this { + return this + } + public onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this { + return this + } + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + return this + } public inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this { return this } @@ -1277,6 +1413,24 @@ export class ArkTextAreaComponent extends ArkCommonMethodComponent implements UI return this } /** @memo */ + public minFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("minFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.minFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("maxFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.maxFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ public heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this { if (this.checkPriority("heightAdaptivePolicy")) { const value_casted = value as (TextHeightAdaptivePolicy) @@ -1448,6 +1602,60 @@ export class ArkTextAreaComponent extends ArkCommonMethodComponent implements UI return this } /** @memo */ + public autoCapitalizationMode(value: AutoCapitalizationMode): this { + if (this.checkPriority("autoCapitalizationMode")) { + const value_casted = value as (AutoCapitalizationMode) + this.getPeer()?.autoCapitalizationModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public halfLeading(value: boolean | undefined): this { + if (this.checkPriority("halfLeading")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.halfLeadingAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public ellipsisMode(value: EllipsisMode | undefined): this { + if (this.checkPriority("ellipsisMode")) { + const value_casted = value as (EllipsisMode | undefined) + this.getPeer()?.ellipsisModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public stopBackPress(value: boolean | undefined): this { + if (this.checkPriority("stopBackPress")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.stopBackPressAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this { + if (this.checkPriority("onWillChange")) { + const value_casted = value as (((parameter: EditableTextChangeValue) => boolean)) + this.getPeer()?.onWillChangeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + if (this.checkPriority("keyboardAppearance")) { + const value_casted = value as (KeyboardAppearance | undefined) + this.getPeer()?.keyboardAppearanceAttribute(value_casted) + return this + } + return this + } + /** @memo */ public inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this { if (this.checkPriority("inputFilter")) { const value_casted = value as (ResourceStr) @@ -1557,7 +1765,7 @@ export class TextAreaController extends TextContentControllerBase implements Mat const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeSelectionOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/text_clock.ts b/arkoala-arkts/arkui/src/generated/text_clock.ts index deab3e18e5..da16a4e16c 100644 --- a/arkoala-arkts/arkui/src/generated/text_clock.ts +++ b/arkoala-arkts/arkui/src/generated/text_clock.ts @@ -88,7 +88,7 @@ export class ArkTextClockPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeTextClockOptions(options_value) @@ -110,22 +110,22 @@ export class ArkTextClockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -137,17 +137,17 @@ export class ArkTextClockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -162,17 +162,17 @@ export class ArkTextClockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (TypeChecker.isFontWeight(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_1)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -184,12 +184,12 @@ export class ArkTextClockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -201,12 +201,12 @@ export class ArkTextClockPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isShadowOptions(value, false, false, false, false, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ShadowOptions thisSerializer.writeShadowOptions(value_0) } else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isArray_ShadowOptions(value))) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Array thisSerializer.writeInt32(value_1.length as int32) for (let i = 0; i < value_1.length; i++) { @@ -230,7 +230,7 @@ export class ArkTextClockPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeDateTimeOptions(value_value) diff --git a/arkoala-arkts/arkui/src/generated/text_common.ts b/arkoala-arkts/arkui/src/generated/text_common.ts index 96c27b5c03..e485c250f5 100644 --- a/arkoala-arkts/arkui/src/generated/text_common.ts +++ b/arkoala-arkts/arkui/src/generated/text_common.ts @@ -69,7 +69,7 @@ export class TextBaseControllerInternal implements MaterializedBase,TextBaseCont const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeSelectionOptions(options_value) @@ -242,6 +242,15 @@ export class TextMenuItemId implements MaterializedBase { static get AI_WRITER(): TextMenuItemId { return TextMenuItemId.getAI_WRITER() } + static get TRANSLATE(): TextMenuItemId { + return TextMenuItemId.getTRANSLATE() + } + static get SEARCH(): TextMenuItemId { + return TextMenuItemId.getSEARCH() + } + static get SHARE(): TextMenuItemId { + return TextMenuItemId.getSHARE() + } static ctor_textmenuitemid(): KPointer { const retval = ArkUIGeneratedNativeModule._TextMenuItemId_ctor() return retval @@ -285,17 +294,26 @@ export class TextMenuItemId implements MaterializedBase { private static getAI_WRITER(): TextMenuItemId { return TextMenuItemId.getAI_WRITER_serialize() } + private static getTRANSLATE(): TextMenuItemId { + return TextMenuItemId.getTRANSLATE_serialize() + } + private static getSEARCH(): TextMenuItemId { + return TextMenuItemId.getSEARCH_serialize() + } + private static getSHARE(): TextMenuItemId { + return TextMenuItemId.getSHARE_serialize() + } private static of_serialize(id: ResourceStr): TextMenuItemId { const thisSerializer : Serializer = Serializer.hold() let id_type : int32 = RuntimeType.UNDEFINED id_type = runtimeType(id) if (RuntimeType.STRING == id_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const id_0 = id as string thisSerializer.writeString(id_0) } else if (RuntimeType.OBJECT == id_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const id_1 = id as Resource thisSerializer.writeResource(id_1) } @@ -343,6 +361,21 @@ export class TextMenuItemId implements MaterializedBase { const obj : TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) return obj } + private static getTRANSLATE_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getTRANSLATE() + const obj : TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) + return obj + } + private static getSEARCH_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getSEARCH() + const obj : TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) + return obj + } + private static getSHARE_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getSHARE() + const obj : TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) + return obj + } } export enum TextDataDetectorType { PHONE_NUMBER = 0, @@ -373,13 +406,23 @@ export enum MenuType { SELECTION_MENU = 0, PREVIEW_MENU = 1 } +export enum AutoCapitalizationMode { + NONE = 0, + WORDS = 1, + SENTENCES = 2, + ALL_CHARACTERS = 3 +} export interface DeleteValue { deleteOffset: number; direction: TextDeleteDirection; deleteValue: string; } export type OnDidChangeCallback = (rangeBefore: TextRange, rangeAfter: TextRange) => void; -export type EditableTextOnChangeCallback = (value: string, previewText?: PreviewText) => void; +export type EditableTextOnChangeCallback = (value: string, previewText?: PreviewText, options?: TextChangeOptions) => void; +export interface PreviewText { + offset: number; + value: string; +} export type Callback_StyledStringChangeValue_Boolean = (parameter: StyledStringChangeValue) => boolean; export interface StyledStringChangedListener { onWillChange?: ((parameter: StyledStringChangeValue) => boolean); @@ -398,14 +441,11 @@ export interface CaretStyle { width?: Length; color?: ResourceColor; } -export interface PreviewText { - offset: number; - value: string; -} export interface TextMenuItem { content: ResourceStr; icon?: ResourceStr; id: TextMenuItemId; + labelInfo?: ResourceStr; } export type AsyncCallback_Array_TextMenuItem_Array_TextMenuItem = (menuItems: Array) => Array; export type AsyncCallback_TextMenuItem_TextRange_Boolean = (menuItem: TextMenuItem, range: TextRange) => boolean; @@ -421,6 +461,30 @@ export interface DecorationStyleResult { export interface FontSettingOptions { enableVariableFontWeight?: boolean; } +export interface TextChangeOptions { + rangeBefore: TextRange; + rangeAfter: TextRange; + oldContent: string; + oldPreviewText: PreviewText; +} +export interface EditableTextChangeValue { + content: string; + previewText?: PreviewText; + options?: TextChangeOptions; +} +export enum TextMenuShowMode { + DEFAULT = 0, + PREFER_WINDOW = 1 +} +export interface TextMenuOptions { + showMode?: TextMenuShowMode; +} +export enum KeyboardAppearance { + NONE_IMMERSIVE = 0, + IMMERSIVE = 1, + LIGHT_IMMERSIVE = 2, + DARK_IMMERSIVE = 3 +} export interface TextEditControllerEx { isEditing(): boolean stopEditing(): void diff --git a/arkoala-arkts/arkui/src/generated/text_input.ts b/arkoala-arkts/arkui/src/generated/text_input.ts index c07c5f9d44..630684f7c6 100644 --- a/arkoala-arkts/arkui/src/generated/text_input.ts +++ b/arkoala-arkts/arkui/src/generated/text_input.ts @@ -26,15 +26,14 @@ import { CallbackTransformer } from "./../CallbackTransformer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, TextDecorationOptions, InputCounterOptions, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod, TextContentControllerBase, TextContentControllerBaseInternal, SelectionOptions } from "./common" -import { ContentType } from "./text_area" import { ResourceColor, Dimension, Font, Length, ResourceStr } from "./units" import { TextOverflow, FontWeight, CopyOptions, TextAlign, TextContentStyle, BarState, WordBreak, LineBreakStrategy, TextHeightAdaptivePolicy, Color } from "./enums" import { Callback_Boolean_Void } from "./navigation" -import { EditableTextOnChangeCallback, PreviewText, CaretStyle, InsertValue, DeleteValue, EditMenuOptions } from "./text_common" -import { FontStyle } from "./arkui-graphics-text" +import { EditableTextOnChangeCallback, PreviewText, TextChangeOptions, CaretStyle, InsertValue, DeleteValue, EditMenuOptions, AutoCapitalizationMode, EditableTextChangeValue, KeyboardAppearance } from "./text_common" +import { FontStyle, EllipsisMode } from "./arkui-graphics-text" import { Callback_String_Void } from "./grid_row" import { PasteEvent, KeyboardOptions } from "./rich_editor" -import { CancelButtonOptions, CancelButtonSymbolOptions, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void } from "./search" +import { CancelButtonOptions, CancelButtonSymbolOptions, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_EditableTextChangeValue_Boolean } from "./search" import { Resource } from "./resource" import { Callback_ResourceStr_Void } from "./select" import { UICommonBase, AttributeModifier } from "./../handwritten" @@ -108,7 +107,7 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeTextInputOptions(value_value) @@ -127,22 +126,22 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -157,17 +156,17 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -178,7 +177,7 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeFont(value_value) @@ -194,22 +193,22 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -260,22 +259,22 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -287,17 +286,17 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -312,17 +311,17 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (TypeChecker.isFontWeight(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_1)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -334,12 +333,12 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -378,12 +377,12 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isTextInputStyle(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as TextInputStyle thisSerializer.writeInt32(TypeChecker.TextInputStyle_ToNumeric(value_0)) } else if (TypeChecker.isTextContentStyle(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as TextContentStyle thisSerializer.writeInt32(TypeChecker.TextContentStyle_ToNumeric(value_1)) } @@ -401,22 +400,22 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -439,18 +438,18 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! let value_value_type : int32 = RuntimeType.UNDEFINED value_value_type = runtimeType(value_value) if (RuntimeType.STRING == value_value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_value_0 = value_value as string thisSerializer.writeString(value_value_0) } else if (RuntimeType.OBJECT == value_value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_value_1 = value_value as Resource thisSerializer.writeResource(value_value_1) } @@ -471,39 +470,39 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! let value_value_type : int32 = RuntimeType.UNDEFINED value_value_type = runtimeType(value_value) if ((TypeChecker.isColor(value_value)) || (RuntimeType.NUMBER == value_value_type) || (RuntimeType.STRING == value_value_type) || (RuntimeType.OBJECT == value_value_type)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_value_0 = value_value as ResourceColor let value_value_0_type : int32 = RuntimeType.UNDEFINED value_value_0_type = runtimeType(value_value_0) if (TypeChecker.isColor(value_value_0)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_value_0_0 = value_value_0 as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_value_0_0)) } else if (RuntimeType.NUMBER == value_value_0_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_value_0_1 = value_value_0 as number thisSerializer.writeNumber(value_value_0_1) } else if (RuntimeType.STRING == value_value_0_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_value_0_2 = value_value_0 as string thisSerializer.writeString(value_value_0_2) } else if (RuntimeType.OBJECT == value_value_0_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_value_0_3 = value_value_0 as Resource thisSerializer.writeResource(value_value_0_3) } } else if (TypeChecker.isUnderlineColor(value_value, false, false, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_value_1 = value_value as UnderlineColor thisSerializer.writeUnderlineColor(value_value_1) } @@ -546,17 +545,17 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -568,23 +567,69 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } ArkUIGeneratedNativeModule._TextInputAttribute_maxFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + minFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._TextInputAttribute_minFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as Resource + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._TextInputAttribute_maxFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } heightAdaptivePolicyAttribute(value: TextHeightAdaptivePolicy): void { ArkUIGeneratedNativeModule._TextInputAttribute_heightAdaptivePolicy(this.peer.ptr, TypeChecker.TextHeightAdaptivePolicy_ToNumeric(value)) } @@ -602,17 +647,17 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -624,17 +669,17 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -692,23 +737,80 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { enableHapticFeedbackAttribute(value: boolean): void { ArkUIGeneratedNativeModule._TextInputAttribute_enableHapticFeedback(this.peer.ptr, value ? 1 : 0) } + autoCapitalizationModeAttribute(value: AutoCapitalizationMode): void { + ArkUIGeneratedNativeModule._TextInputAttribute_autoCapitalizationMode(this.peer.ptr, TypeChecker.AutoCapitalizationMode_ToNumeric(value)) + } + halfLeadingAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TextInputAttribute_halfLeading(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + ellipsisModeAttribute(value: EllipsisMode | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as EllipsisMode) + thisSerializer.writeInt32(TypeChecker.EllipsisMode_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._TextInputAttribute_ellipsisMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + stopBackPressAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TextInputAttribute_stopBackPress(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onWillChangeAttribute(value: ((parameter: EditableTextChangeValue) => boolean)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TextInputAttribute_onWillChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + keyboardAppearanceAttribute(value: KeyboardAppearance | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as KeyboardAppearance) + thisSerializer.writeInt32(TypeChecker.KeyboardAppearance_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._TextInputAttribute_keyboardAppearance(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } inputFilterAttribute(value: ResourceStr, error?: ((breakpoints: string) => void)): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } let error_type : int32 = RuntimeType.UNDEFINED error_type = runtimeType(error) - thisSerializer.writeInt8(error_type as int32) + thisSerializer.writeInt8(error_type) if ((RuntimeType.UNDEFINED) != (error_type)) { const error_value = error! thisSerializer.holdAndWriteCallback(error_value) @@ -721,7 +823,7 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value)) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeKeyboardOptions(options_value) @@ -733,7 +835,7 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeInputCounterOptions(options_value) @@ -766,6 +868,41 @@ export enum InputType { NUMBER_DECIMAL = 12, URL = 13 } +export enum ContentType { + USER_NAME = 0, + PASSWORD = 1, + NEW_PASSWORD = 2, + FULL_STREET_ADDRESS = 3, + HOUSE_NUMBER = 4, + DISTRICT_ADDRESS = 5, + CITY_ADDRESS = 6, + PROVINCE_ADDRESS = 7, + COUNTRY_ADDRESS = 8, + PERSON_FULL_NAME = 9, + PERSON_LAST_NAME = 10, + PERSON_FIRST_NAME = 11, + PHONE_NUMBER = 12, + PHONE_COUNTRY_CODE = 13, + FULL_PHONE_NUMBER = 14, + EMAIL_ADDRESS = 15, + BANK_CARD_NUMBER = 16, + ID_CARD_NUMBER = 17, + NICKNAME = 23, + DETAIL_INFO_WITHOUT_STREET = 24, + FORMAT_ADDRESS = 25, + PASSPORT_NUMBER = 26, + VALIDITY = 27, + ISSUE_AT = 28, + ORGANIZATION = 29, + TAX_ID = 30, + ADDRESS_CITY_AND_STATE = 31, + FLIGHT_NUMBER = 32, + LICENSE_NUMBER = 33, + LICENSE_FILE_NUMBER = 34, + LICENSE_PLATE = 35, + ENGINE_NUMBER = 36, + LICENSE_CHASSIS_NUMBER = 37 +} export enum EnterKeyType { GO = 2, Go = 2, @@ -852,6 +989,8 @@ export interface TextInputAttribute extends CommonMethod { selectAll(value: boolean): this minFontSize(value: number | string | Resource): this maxFontSize(value: number | string | Resource): this + minFontScale(value: number | Resource | undefined): this + maxFontScale(value: number | Resource | undefined): this heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this enableAutoFill(value: boolean): this decoration(value: TextDecorationOptions): this @@ -868,6 +1007,12 @@ export interface TextInputAttribute extends CommonMethod { editMenuOptions(value: EditMenuOptions): this enablePreviewText(value: boolean): this enableHapticFeedback(value: boolean): this + autoCapitalizationMode(value: AutoCapitalizationMode): this + halfLeading(value: boolean | undefined): this + ellipsisMode(value: EllipsisMode | undefined): this + stopBackPress(value: boolean | undefined): this + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this + keyboardAppearance(value: KeyboardAppearance | undefined): this inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this customKeyboard(value: CustomBuilder, options?: KeyboardOptions): this showCounter(value: boolean, options?: InputCounterOptions): this @@ -966,6 +1111,10 @@ export interface UITextInputAttribute extends UICommonMethod { /** @memo */ maxFontSize(value: number | string | Resource): this /** @memo */ + minFontScale(value: number | Resource | undefined): this + /** @memo */ + maxFontScale(value: number | Resource | undefined): this + /** @memo */ heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this /** @memo */ enableAutoFill(value: boolean): this @@ -998,6 +1147,18 @@ export interface UITextInputAttribute extends UICommonMethod { /** @memo */ enableHapticFeedback(value: boolean): this /** @memo */ + autoCapitalizationMode(value: AutoCapitalizationMode): this + /** @memo */ + halfLeading(value: boolean | undefined): this + /** @memo */ + ellipsisMode(value: EllipsisMode | undefined): this + /** @memo */ + stopBackPress(value: boolean | undefined): this + /** @memo */ + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this + /** @memo */ + keyboardAppearance(value: KeyboardAppearance | undefined): this + /** @memo */ inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this /** @memo */ customKeyboard(value: CustomBuilder, options?: KeyboardOptions): this @@ -1054,6 +1215,8 @@ export class ArkTextInputStyle extends ArkCommonMethodStyle implements TextInput selectAll_value?: boolean minFontSize_value?: number | string | Resource maxFontSize_value?: number | string | Resource + minFontScale_value?: number | Resource | undefined + maxFontScale_value?: number | Resource | undefined heightAdaptivePolicy_value?: TextHeightAdaptivePolicy enableAutoFill_value?: boolean decoration_value?: TextDecorationOptions @@ -1070,6 +1233,12 @@ export class ArkTextInputStyle extends ArkCommonMethodStyle implements TextInput editMenuOptions_value?: EditMenuOptions enablePreviewText_value?: boolean enableHapticFeedback_value?: boolean + autoCapitalizationMode_value?: AutoCapitalizationMode + halfLeading_value?: boolean | undefined + ellipsisMode_value?: EllipsisMode | undefined + stopBackPress_value?: boolean | undefined + onWillChange_value?: ((parameter: EditableTextChangeValue) => boolean) + keyboardAppearance_value?: KeyboardAppearance | undefined public type(value: InputType): this { return this } @@ -1205,6 +1374,12 @@ export class ArkTextInputStyle extends ArkCommonMethodStyle implements TextInput public maxFontSize(value: number | string | Resource): this { return this } + public minFontScale(value: number | Resource | undefined): this { + return this + } + public maxFontScale(value: number | Resource | undefined): this { + return this + } public heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this { return this } @@ -1253,6 +1428,24 @@ export class ArkTextInputStyle extends ArkCommonMethodStyle implements TextInput public enableHapticFeedback(value: boolean): this { return this } + public autoCapitalizationMode(value: AutoCapitalizationMode): this { + return this + } + public halfLeading(value: boolean | undefined): this { + return this + } + public ellipsisMode(value: EllipsisMode | undefined): this { + return this + } + public stopBackPress(value: boolean | undefined): this { + return this + } + public onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this { + return this + } + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + return this + } public inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this { return this } @@ -1698,6 +1891,24 @@ export class ArkTextInputComponent extends ArkCommonMethodComponent implements U return this } /** @memo */ + public minFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("minFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.minFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("maxFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.maxFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ public heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this { if (this.checkPriority("heightAdaptivePolicy")) { const value_casted = value as (TextHeightAdaptivePolicy) @@ -1842,6 +2053,60 @@ export class ArkTextInputComponent extends ArkCommonMethodComponent implements U return this } /** @memo */ + public autoCapitalizationMode(value: AutoCapitalizationMode): this { + if (this.checkPriority("autoCapitalizationMode")) { + const value_casted = value as (AutoCapitalizationMode) + this.getPeer()?.autoCapitalizationModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public halfLeading(value: boolean | undefined): this { + if (this.checkPriority("halfLeading")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.halfLeadingAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public ellipsisMode(value: EllipsisMode | undefined): this { + if (this.checkPriority("ellipsisMode")) { + const value_casted = value as (EllipsisMode | undefined) + this.getPeer()?.ellipsisModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public stopBackPress(value: boolean | undefined): this { + if (this.checkPriority("stopBackPress")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.stopBackPressAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this { + if (this.checkPriority("onWillChange")) { + const value_casted = value as (((parameter: EditableTextChangeValue) => boolean)) + this.getPeer()?.onWillChangeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + if (this.checkPriority("keyboardAppearance")) { + const value_casted = value as (KeyboardAppearance | undefined) + this.getPeer()?.keyboardAppearanceAttribute(value_casted) + return this + } + return this + } + /** @memo */ public inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this { if (this.checkPriority("inputFilter")) { const value_casted = value as (ResourceStr) @@ -1951,7 +2216,7 @@ export class TextInputController extends TextContentControllerBase implements Ma const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeSelectionOptions(options_value) diff --git a/arkoala-arkts/arkui/src/generated/text_picker.ts b/arkoala-arkts/arkui/src/generated/text_picker.ts index dea39046a6..7eb1ae8535 100644 --- a/arkoala-arkts/arkui/src/generated/text_picker.ts +++ b/arkoala-arkts/arkui/src/generated/text_picker.ts @@ -25,10 +25,12 @@ import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./../CallbackTransformer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { Callback_Void } from "./ability_component" import { Dimension, ResourceColor, Offset } from "./units" +import { CrownSensitivity, TextOverflow } from "./enums" import { Resource } from "./resource" +import { LengthMetrics } from "./arkui-graphics" import { DialogAlignment } from "./alert_dialog" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" @@ -42,7 +44,7 @@ export class TextPickerDialog { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeTextPickerDialogOptions(options_value) @@ -66,7 +68,7 @@ export class ArkTextPickerPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeTextPickerOptions(options_value) @@ -74,42 +76,122 @@ export class ArkTextPickerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TextPickerInterface_setTextPickerOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - defaultPickerItemHeightAttribute(value: number | string): void { + defaultPickerItemHeight0Attribute(value: number | string): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as string thisSerializer.writeString(value_1) } - ArkUIGeneratedNativeModule._TextPickerAttribute_defaultPickerItemHeight(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_defaultPickerItemHeight0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - canLoopAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._TextPickerAttribute_canLoop(this.peer.ptr, value ? 1 : 0) + defaultPickerItemHeight1Attribute(value: number | string | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as string + thisSerializer.writeString(value_value_1) + } + } + ArkUIGeneratedNativeModule._TextPickerAttribute_defaultPickerItemHeight1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + canLoop0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._TextPickerAttribute_canLoop0(this.peer.ptr, value ? 1 : 0) + } + canLoop1Attribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_canLoop1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - disappearTextStyleAttribute(value: PickerTextStyle): void { + disappearTextStyle0Attribute(value: PickerTextStyle): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._TextPickerAttribute_disappearTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_disappearTextStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - textStyleAttribute(value: PickerTextStyle): void { + disappearTextStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_disappearTextStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + textStyle0Attribute(value: PickerTextStyle): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._TextPickerAttribute_textStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_textStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + textStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_textStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedTextStyleAttribute(value: PickerTextStyle): void { + selectedTextStyle0Attribute(value: PickerTextStyle): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._TextPickerAttribute_selectedTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_selectedTextStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedTextStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_selectedTextStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + disableTextStyleAnimationAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._TextPickerAttribute_disableTextStyleAnimation(this.peer.ptr, value ? 1 : 0) + } + defaultTextStyleAttribute(value: TextPickerTextStyle): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeTextPickerTextStyle(value) + ArkUIGeneratedNativeModule._TextPickerAttribute_defaultTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onAcceptAttribute(value: ((value: string,index: number) => void)): void { @@ -124,23 +206,59 @@ export class ArkTextPickerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TextPickerAttribute_onCancel(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onChangeAttribute(value: ((value: string | Array,index: number | Array) => void)): void { + onChange0Attribute(value: ((value: string | Array,index: number | Array) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TextPickerAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange1Attribute(value: OnTextPickerChangeCallback | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onScrollStop0Attribute(value: TextPickerScrollStopCallback): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TextPickerAttribute_onScrollStop0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onScrollStop1Attribute(value: TextPickerScrollStopCallback | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_onScrollStop1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onEnterSelectedAreaAttribute(value: TextPickerEnterSelectedAreaCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._TextPickerAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_onEnterSelectedArea(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedIndexAttribute(value: number | Array): void { + selectedIndex0Attribute(value: number | Array): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Array thisSerializer.writeInt32(value_1.length as int32) for (let i = 0; i < value_1.length; i++) { @@ -148,41 +266,132 @@ export class ArkTextPickerPeer extends ArkCommonMethodPeer { thisSerializer.writeNumber(value_1_element) } } - ArkUIGeneratedNativeModule._TextPickerAttribute_selectedIndex(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_selectedIndex0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - dividerAttribute(value: DividerOptions | undefined): void { + selectedIndex1Attribute(value: number | Array | undefined): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - thisSerializer.writeInt8(value_type as int32) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as number + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as Array + thisSerializer.writeInt32(value_value_1.length as int32) + for (let i = 0; i < value_value_1.length; i++) { + const value_value_1_element : number = value_value_1[i] + thisSerializer.writeNumber(value_value_1_element) + } + } + } + ArkUIGeneratedNativeModule._TextPickerAttribute_selectedIndex1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + divider0Attribute(value: DividerOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeDividerOptions(value_value) } - ArkUIGeneratedNativeModule._TextPickerAttribute_divider(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_divider0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - gradientHeightAttribute(value: Dimension): void { + divider1Attribute(value: DividerOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeDividerOptions(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_divider1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + gradientHeight0Attribute(value: Dimension): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._TextPickerAttribute_gradientHeight(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_gradientHeight0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + gradientHeight1Attribute(value: Dimension | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type : int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = value_value as string + thisSerializer.writeString(value_value_0) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = value_value as number + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = value_value as Resource + thisSerializer.writeResource(value_value_2) + } + } + ArkUIGeneratedNativeModule._TextPickerAttribute_gradientHeight1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + enableHapticFeedbackAttribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_enableHapticFeedback(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + digitalCrownSensitivityAttribute(value: CrownSensitivity | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as CrownSensitivity) + thisSerializer.writeInt32(TypeChecker.CrownSensitivity_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_digitalCrownSensitivity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } _onChangeEvent_selectedAttribute(callback: ((selected: number | Array) => void)): void { @@ -210,6 +419,7 @@ export interface TextPickerOptions { range: Array | Array> | Resource | Array | Array; value?: string | Array; selected?: number | Array; + columnWidths?: Array; } export interface DividerOptions { @@ -218,49 +428,75 @@ export interface DividerOptions { startMargin?: Dimension; endMargin?: Dimension; } +export interface TextPickerTextStyle extends PickerTextStyle { + minFontSize?: number | string | Resource; + maxFontSize?: number | string | Resource; + overflow?: TextOverflow; +} +export type TextPickerScrollStopCallback = (value: string | Array, index: number | Array) => void; +export type OnTextPickerChangeCallback = (selectItem: string | Array, index: number | Array) => void; +export type TextPickerEnterSelectedAreaCallback = (value: string | Array, index: number | Array) => void; export type Callback_String_Number_Void = (value: string, index: number) => void; export type Type_TextPickerAttribute_onChange_callback = (value: string | Array, index: number | Array) => void; export type Callback_Union_Number_Array_Number_Void = (selected: number | Array) => void; export type Callback_Union_String_Array_String_Void = (value: string | Array) => void; export interface TextPickerAttribute extends CommonMethod { - defaultPickerItemHeight(value: number | string): this - canLoop(value: boolean): this - disappearTextStyle(value: PickerTextStyle): this - textStyle(value: PickerTextStyle): this - selectedTextStyle(value: PickerTextStyle): this + defaultPickerItemHeight(value: number | string | number | string | undefined): this + canLoop(value: boolean | boolean | undefined): this + disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + disableTextStyleAnimation(value: boolean): this + defaultTextStyle(value: TextPickerTextStyle): this onAccept(value: ((value: string,index: number) => void)): this onCancel(value: (() => void)): this - onChange(value: ((value: string | Array,index: number | Array) => void)): this - selectedIndex(value: number | Array): this + onChange(value: ((value: string | Array,index: number | Array) => void) | OnTextPickerChangeCallback | undefined): this + onScrollStop(value: TextPickerScrollStopCallback | TextPickerScrollStopCallback | undefined): this + onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback): this + selectedIndex(value: number | Array | number | Array | undefined): this divider(value: DividerOptions | undefined): this - gradientHeight(value: Dimension): this + gradientHeight(value: Dimension | Dimension | undefined): this + enableHapticFeedback(value: boolean | undefined): this + digitalCrownSensitivity(value: CrownSensitivity | undefined): this _onChangeEvent_selected(callback: ((selected: number | Array) => void)): void _onChangeEvent_value(callback: ((value: string | Array) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UITextPickerAttribute extends UICommonMethod { /** @memo */ - defaultPickerItemHeight(value: number | string): this + defaultPickerItemHeight(value: number | string | number | string | undefined): this + /** @memo */ + canLoop(value: boolean | boolean | undefined): this + /** @memo */ + disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - canLoop(value: boolean): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - disappearTextStyle(value: PickerTextStyle): this + selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - textStyle(value: PickerTextStyle): this + disableTextStyleAnimation(value: boolean): this /** @memo */ - selectedTextStyle(value: PickerTextStyle): this + defaultTextStyle(value: TextPickerTextStyle): this /** @memo */ onAccept(value: ((value: string,index: number) => void)): this /** @memo */ onCancel(value: (() => void)): this /** @memo */ - onChange(value: ((value: string | Array,index: number | Array) => void)): this + onChange(value: ((value: string | Array,index: number | Array) => void) | OnTextPickerChangeCallback | undefined): this /** @memo */ - selectedIndex(value: number | Array): this + onScrollStop(value: TextPickerScrollStopCallback | TextPickerScrollStopCallback | undefined): this + /** @memo */ + onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback): this + /** @memo */ + selectedIndex(value: number | Array | number | Array | undefined): this /** @memo */ divider(value: DividerOptions | undefined): this /** @memo */ - gradientHeight(value: Dimension): this + gradientHeight(value: Dimension | Dimension | undefined): this + /** @memo */ + enableHapticFeedback(value: boolean | undefined): this + /** @memo */ + digitalCrownSensitivity(value: CrownSensitivity | undefined): this /** @memo */ _onChangeEvent_selected(callback: ((selected: number | Array) => void)): void /** @memo */ @@ -274,25 +510,37 @@ export class ArkTextPickerStyle extends ArkCommonMethodStyle implements TextPick disappearTextStyle_value?: PickerTextStyle textStyle_value?: PickerTextStyle selectedTextStyle_value?: PickerTextStyle + disableTextStyleAnimation_value?: boolean + defaultTextStyle_value?: TextPickerTextStyle onAccept_value?: ((value: string,index: number) => void) onCancel_value?: (() => void) onChange_value?: ((value: string | Array,index: number | Array) => void) + onScrollStop_value?: TextPickerScrollStopCallback + onEnterSelectedArea_value?: TextPickerEnterSelectedAreaCallback selectedIndex_value?: number | Array divider_value?: DividerOptions | undefined gradientHeight_value?: Dimension - public defaultPickerItemHeight(value: number | string): this { + enableHapticFeedback_value?: boolean | undefined + digitalCrownSensitivity_value?: CrownSensitivity | undefined + public defaultPickerItemHeight(value: number | string | number | string | undefined): this { + return this + } + public canLoop(value: boolean | boolean | undefined): this { return this } - public canLoop(value: boolean): this { + public disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public disappearTextStyle(value: PickerTextStyle): this { + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public textStyle(value: PickerTextStyle): this { + public selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public selectedTextStyle(value: PickerTextStyle): this { + public disableTextStyleAnimation(value: boolean): this { + return this + } + public defaultTextStyle(value: TextPickerTextStyle): this { return this } public onAccept(value: ((value: string,index: number) => void)): this { @@ -301,16 +549,28 @@ export class ArkTextPickerStyle extends ArkCommonMethodStyle implements TextPick public onCancel(value: (() => void)): this { return this } - public onChange(value: ((value: string | Array,index: number | Array) => void)): this { + public onChange(value: ((value: string | Array,index: number | Array) => void) | OnTextPickerChangeCallback | undefined): this { + return this + } + public onScrollStop(value: TextPickerScrollStopCallback | TextPickerScrollStopCallback | undefined): this { + return this + } + public onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback): this { return this } - public selectedIndex(value: number | Array): this { + public selectedIndex(value: number | Array | number | Array | undefined): this { return this } public divider(value: DividerOptions | undefined): this { return this } - public gradientHeight(value: Dimension): this { + public gradientHeight(value: Dimension | Dimension | undefined): this { + return this + } + public enableHapticFeedback(value: boolean | undefined): this { + return this + } + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } public _onChangeEvent_selected(callback: ((selected: number | Array) => void)): void { @@ -336,14 +596,20 @@ export interface TextPickerDialogOptions extends TextPickerOptions { acceptButtonStyle?: PickerDialogButtonStyle; cancelButtonStyle?: PickerDialogButtonStyle; selectedTextStyle?: PickerTextStyle; + disableTextStyleAnimation?: boolean; + defaultTextStyle?: TextPickerTextStyle; onAccept?: ((value: TextPickerResult) => void); onCancel?: (() => void); onChange?: ((value: TextPickerResult) => void); + onScrollStop?: ((value: TextPickerResult) => void); + onEnterSelectedArea?: ((value: TextPickerResult) => void); maskRect?: Rectangle; alignment?: DialogAlignment; offset?: Offset; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onDidAppear?: (() => void); onDidDisappear?: (() => void); onWillAppear?: (() => void); @@ -351,6 +617,7 @@ export interface TextPickerDialogOptions extends TextPickerOptions { shadow?: ShadowOptions | ShadowStyle; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + enableHapticFeedback?: boolean; } /** @memo:stable */ export class ArkTextPickerComponent extends ArkCommonMethodComponent implements UITextPickerAttribute { @@ -367,46 +634,109 @@ export class ArkTextPickerComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public defaultPickerItemHeight(value: number | string): this { + public defaultPickerItemHeight(value: number | string | number | string | undefined): this { if (this.checkPriority("defaultPickerItemHeight")) { - const value_casted = value as (number | string) - this.getPeer()?.defaultPickerItemHeightAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type)) { + const value_casted = value as (number | string) + this.getPeer()?.defaultPickerItemHeight0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | string | undefined) + this.getPeer()?.defaultPickerItemHeight1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public canLoop(value: boolean): this { + public canLoop(value: boolean | boolean | undefined): this { if (this.checkPriority("canLoop")) { - const value_casted = value as (boolean) - this.getPeer()?.canLoopAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.canLoop0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.canLoop1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public disappearTextStyle(value: PickerTextStyle): this { + public disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("disappearTextStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.disappearTextStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isPickerTextStyle(value, false, false)) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.disappearTextStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.disappearTextStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public textStyle(value: PickerTextStyle): this { + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("textStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.textStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isPickerTextStyle(value, false, false)) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.textStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.textStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedTextStyle(value: PickerTextStyle): this { + public selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("selectedTextStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.selectedTextStyleAttribute(value_casted) + const value_type = runtimeType(value) + if (TypeChecker.isPickerTextStyle(value, false, false)) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.selectedTextStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.selectedTextStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public disableTextStyleAnimation(value: boolean): this { + if (this.checkPriority("disableTextStyleAnimation")) { + const value_casted = value as (boolean) + this.getPeer()?.disableTextStyleAnimationAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public defaultTextStyle(value: TextPickerTextStyle): this { + if (this.checkPriority("defaultTextStyle")) { + const value_casted = value as (TextPickerTextStyle) + this.getPeer()?.defaultTextStyleAttribute(value_casted) return this } return this @@ -430,37 +760,118 @@ export class ArkTextPickerComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public onChange(value: ((value: string | Array,index: number | Array) => void)): this { + public onChange(value: ((value: string | Array,index: number | Array) => void) | OnTextPickerChangeCallback | undefined): this { if (this.checkPriority("onChange")) { - const value_casted = value as (((value: string | Array,index: number | Array) => void)) - this.getPeer()?.onChangeAttribute(value_casted) + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((value: string | Array,index: number | Array) => void)) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnTextPickerChangeCallback | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public onScrollStop(value: TextPickerScrollStopCallback | TextPickerScrollStopCallback | undefined): this { + if (this.checkPriority("onScrollStop")) { + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (TextPickerScrollStopCallback) + this.getPeer()?.onScrollStop0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (TextPickerScrollStopCallback | undefined) + this.getPeer()?.onScrollStop1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback): this { + if (this.checkPriority("onEnterSelectedArea")) { + const value_casted = value as (TextPickerEnterSelectedAreaCallback) + this.getPeer()?.onEnterSelectedAreaAttribute(value_casted) return this } return this } /** @memo */ - public selectedIndex(value: number | Array): this { + public selectedIndex(value: number | Array | number | Array | undefined): this { if (this.checkPriority("selectedIndex")) { - const value_casted = value as (number | Array) - this.getPeer()?.selectedIndexAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (number | Array) + this.getPeer()?.selectedIndex0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | Array | undefined) + this.getPeer()?.selectedIndex1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ public divider(value: DividerOptions | undefined): this { if (this.checkPriority("divider")) { - const value_casted = value as (DividerOptions | undefined) - this.getPeer()?.dividerAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (DividerOptions | undefined) + this.getPeer()?.divider0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (DividerOptions | undefined) + this.getPeer()?.divider1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public gradientHeight(value: Dimension): this { + public gradientHeight(value: Dimension | Dimension | undefined): this { if (this.checkPriority("gradientHeight")) { - const value_casted = value as (Dimension) - this.getPeer()?.gradientHeightAttribute(value_casted) + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Dimension) + this.getPeer()?.gradientHeight0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Dimension | undefined) + this.getPeer()?.gradientHeight1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public enableHapticFeedback(value: boolean | undefined): this { + if (this.checkPriority("enableHapticFeedback")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.enableHapticFeedbackAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + if (this.checkPriority("digitalCrownSensitivity")) { + const value_casted = value as (CrownSensitivity | undefined) + this.getPeer()?.digitalCrownSensitivityAttribute(value_casted) return this } return this diff --git a/arkoala-arkts/arkui/src/generated/text_timer.ts b/arkoala-arkts/arkui/src/generated/text_timer.ts index 546897b75d..5db0c511d6 100644 --- a/arkoala-arkts/arkui/src/generated/text_timer.ts +++ b/arkoala-arkts/arkui/src/generated/text_timer.ts @@ -94,7 +94,7 @@ export class ArkTextTimerPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeTextTimerOptions(options_value) @@ -110,22 +110,22 @@ export class ArkTextTimerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -137,17 +137,17 @@ export class ArkTextTimerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -162,17 +162,17 @@ export class ArkTextTimerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (TypeChecker.isFontWeight(value)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as FontWeight thisSerializer.writeInt32(TypeChecker.FontWeight_ToNumeric(value_1)) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } @@ -184,12 +184,12 @@ export class ArkTextTimerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -207,12 +207,12 @@ export class ArkTextTimerPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isShadowOptions(value, false, false, false, false, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as ShadowOptions thisSerializer.writeShadowOptions(value_0) } else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isArray_ShadowOptions(value))) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Array thisSerializer.writeInt32(value_1.length as int32) for (let i = 0; i < value_1.length; i++) { diff --git a/arkoala-arkts/arkui/src/generated/time_picker.ts b/arkoala-arkts/arkui/src/generated/time_picker.ts index 5b32631325..035ef23505 100644 --- a/arkoala-arkts/arkui/src/generated/time_picker.ts +++ b/arkoala-arkts/arkui/src/generated/time_picker.ts @@ -25,8 +25,9 @@ import { Deserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./../CallbackTransformer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { DateTimeOptions } from "./arkui-intl" +import { CrownSensitivity } from "./enums" import { Callback_Date_Void } from "./calendar_picker" import { DialogAlignment } from "./alert_dialog" import { Offset, ResourceColor } from "./units" @@ -43,7 +44,7 @@ export class TimePickerDialog { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeTimePickerDialogOptions(options_value) @@ -67,7 +68,7 @@ export class ArkTimePickerPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeTimePickerOptions(options_value) @@ -75,44 +76,161 @@ export class ArkTimePickerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TimePickerInterface_setTimePickerOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - useMilitaryTimeAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._TimePickerAttribute_useMilitaryTime(this.peer.ptr, value ? 1 : 0) + useMilitaryTime0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._TimePickerAttribute_useMilitaryTime0(this.peer.ptr, value ? 1 : 0) } - loopAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._TimePickerAttribute_loop(this.peer.ptr, value ? 1 : 0) + useMilitaryTime1Attribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_useMilitaryTime1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - disappearTextStyleAttribute(value: PickerTextStyle): void { + loop0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._TimePickerAttribute_loop0(this.peer.ptr, value ? 1 : 0) + } + loop1Attribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_loop1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + disappearTextStyle0Attribute(value: PickerTextStyle): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._TimePickerAttribute_disappearTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TimePickerAttribute_disappearTextStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + disappearTextStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_disappearTextStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - textStyleAttribute(value: PickerTextStyle): void { + textStyle0Attribute(value: PickerTextStyle): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._TimePickerAttribute_textStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TimePickerAttribute_textStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedTextStyleAttribute(value: PickerTextStyle): void { + textStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_textStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedTextStyle0Attribute(value: PickerTextStyle): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._TimePickerAttribute_selectedTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TimePickerAttribute_selectedTextStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedTextStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_selectedTextStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - dateTimeOptionsAttribute(value: DateTimeOptions): void { + dateTimeOptions0Attribute(value: DateTimeOptions): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeDateTimeOptions(value) - ArkUIGeneratedNativeModule._TimePickerAttribute_dateTimeOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TimePickerAttribute_dateTimeOptions0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + dateTimeOptions1Attribute(value: DateTimeOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeDateTimeOptions(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_dateTimeOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange0Attribute(value: ((value: TimePickerResult) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TimePickerAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange1Attribute(value: OnTimePickerChangeCallback | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onChangeAttribute(value: ((value: TimePickerResult) => void)): void { + onEnterSelectedAreaAttribute(value: ((value: TimePickerResult) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._TimePickerAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TimePickerAttribute_onEnterSelectedArea(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - enableHapticFeedbackAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._TimePickerAttribute_enableHapticFeedback(this.peer.ptr, value ? 1 : 0) + enableHapticFeedback0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._TimePickerAttribute_enableHapticFeedback0(this.peer.ptr, value ? 1 : 0) + } + enableHapticFeedback1Attribute(value: boolean | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_enableHapticFeedback1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + digitalCrownSensitivityAttribute(value: CrownSensitivity | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = (value as CrownSensitivity) + thisSerializer.writeInt32(TypeChecker.CrownSensitivity_ToNumeric(value_value)) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_digitalCrownSensitivity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + enableCascadeAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._TimePickerAttribute_enableCascade(this.peer.ptr, value ? 1 : 0) } _onChangeEvent_selectedAttribute(callback: ((parameter: Date) => void)): void { const thisSerializer : Serializer = Serializer.hold() @@ -133,38 +251,50 @@ export enum TimePickerFormat { export interface TimePickerOptions { selected?: Date; format?: TimePickerFormat; + start?: Date; + end?: Date; } +export type OnTimePickerChangeCallback = (result: TimePickerResult) => void; export type Callback_TimePickerResult_Void = (value: TimePickerResult) => void; export interface TimePickerAttribute extends CommonMethod { - useMilitaryTime(value: boolean): this - loop(value: boolean): this - disappearTextStyle(value: PickerTextStyle): this - textStyle(value: PickerTextStyle): this - selectedTextStyle(value: PickerTextStyle): this - dateTimeOptions(value: DateTimeOptions): this - onChange(value: ((value: TimePickerResult) => void)): this - enableHapticFeedback(value: boolean): this + useMilitaryTime(value: boolean | boolean | undefined): this + loop(value: boolean | boolean | undefined): this + disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + dateTimeOptions(value: DateTimeOptions | DateTimeOptions | undefined): this + onChange(value: ((value: TimePickerResult) => void) | OnTimePickerChangeCallback | undefined): this + onEnterSelectedArea(value: ((value: TimePickerResult) => void)): this + enableHapticFeedback(value: boolean | boolean | undefined): this + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + enableCascade(value: boolean): this _onChangeEvent_selected(callback: ((parameter: Date) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UITimePickerAttribute extends UICommonMethod { /** @memo */ - useMilitaryTime(value: boolean): this + useMilitaryTime(value: boolean | boolean | undefined): this /** @memo */ - loop(value: boolean): this + loop(value: boolean | boolean | undefined): this /** @memo */ - disappearTextStyle(value: PickerTextStyle): this + disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - textStyle(value: PickerTextStyle): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - selectedTextStyle(value: PickerTextStyle): this + selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - dateTimeOptions(value: DateTimeOptions): this + dateTimeOptions(value: DateTimeOptions | DateTimeOptions | undefined): this /** @memo */ - onChange(value: ((value: TimePickerResult) => void)): this + onChange(value: ((value: TimePickerResult) => void) | OnTimePickerChangeCallback | undefined): this /** @memo */ - enableHapticFeedback(value: boolean): this + onEnterSelectedArea(value: ((value: TimePickerResult) => void)): this + /** @memo */ + enableHapticFeedback(value: boolean | boolean | undefined): this + /** @memo */ + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + /** @memo */ + enableCascade(value: boolean): this /** @memo */ _onChangeEvent_selected(callback: ((parameter: Date) => void)): void /** @memo */ @@ -178,29 +308,41 @@ export class ArkTimePickerStyle extends ArkCommonMethodStyle implements TimePick selectedTextStyle_value?: PickerTextStyle dateTimeOptions_value?: DateTimeOptions onChange_value?: ((value: TimePickerResult) => void) + onEnterSelectedArea_value?: ((value: TimePickerResult) => void) enableHapticFeedback_value?: boolean - public useMilitaryTime(value: boolean): this { + digitalCrownSensitivity_value?: CrownSensitivity | undefined + enableCascade_value?: boolean + public useMilitaryTime(value: boolean | boolean | undefined): this { + return this + } + public loop(value: boolean | boolean | undefined): this { + return this + } + public disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { + return this + } + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public loop(value: boolean): this { + public selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public disappearTextStyle(value: PickerTextStyle): this { + public dateTimeOptions(value: DateTimeOptions | DateTimeOptions | undefined): this { return this } - public textStyle(value: PickerTextStyle): this { + public onChange(value: ((value: TimePickerResult) => void) | OnTimePickerChangeCallback | undefined): this { return this } - public selectedTextStyle(value: PickerTextStyle): this { + public onEnterSelectedArea(value: ((value: TimePickerResult) => void)): this { return this } - public dateTimeOptions(value: DateTimeOptions): this { + public enableHapticFeedback(value: boolean | boolean | undefined): this { return this } - public onChange(value: ((value: TimePickerResult) => void)): this { + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } - public enableHapticFeedback(value: boolean): this { + public enableCascade(value: boolean): this { return this } public _onChangeEvent_selected(callback: ((parameter: Date) => void)): void { @@ -223,8 +365,12 @@ export interface TimePickerDialogOptions extends TimePickerOptions { onAccept?: ((value: TimePickerResult) => void); onCancel?: (() => void); onChange?: ((value: TimePickerResult) => void); + onEnterSelectedArea?: ((value: TimePickerResult) => void); backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; + enableCascade?: boolean; onDidAppear?: (() => void); onDidDisappear?: (() => void); onWillAppear?: (() => void); @@ -233,6 +379,7 @@ export interface TimePickerDialogOptions extends TimePickerOptions { dateTimeOptions?: DateTimeOptions; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + enableHapticFeedback?: boolean; } /** @memo:stable */ export class ArkTimePickerComponent extends ArkCommonMethodComponent implements UITimePickerAttribute { @@ -249,73 +396,172 @@ export class ArkTimePickerComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public useMilitaryTime(value: boolean): this { + public useMilitaryTime(value: boolean | boolean | undefined): this { if (this.checkPriority("useMilitaryTime")) { - const value_casted = value as (boolean) - this.getPeer()?.useMilitaryTimeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.useMilitaryTime0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.useMilitaryTime1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public loop(value: boolean): this { + public loop(value: boolean | boolean | undefined): this { if (this.checkPriority("loop")) { - const value_casted = value as (boolean) - this.getPeer()?.loopAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.loop0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.loop1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public disappearTextStyle(value: PickerTextStyle): this { + public disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("disappearTextStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.disappearTextStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isPickerTextStyle(value, false, false)) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.disappearTextStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.disappearTextStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public textStyle(value: PickerTextStyle): this { + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("textStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.textStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isPickerTextStyle(value, false, false)) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.textStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.textStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedTextStyle(value: PickerTextStyle): this { + public selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("selectedTextStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.selectedTextStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isPickerTextStyle(value, false, false)) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.selectedTextStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.selectedTextStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public dateTimeOptions(value: DateTimeOptions): this { + public dateTimeOptions(value: DateTimeOptions | DateTimeOptions | undefined): this { if (this.checkPriority("dateTimeOptions")) { - const value_casted = value as (DateTimeOptions) - this.getPeer()?.dateTimeOptionsAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (TypeChecker.isDateTimeOptions(value, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false)) { + const value_casted = value as (DateTimeOptions) + this.getPeer()?.dateTimeOptions0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (DateTimeOptions | undefined) + this.getPeer()?.dateTimeOptions1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onChange(value: ((value: TimePickerResult) => void)): this { + public onChange(value: ((value: TimePickerResult) => void) | OnTimePickerChangeCallback | undefined): this { if (this.checkPriority("onChange")) { + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((value: TimePickerResult) => void)) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnTimePickerChangeCallback | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public onEnterSelectedArea(value: ((value: TimePickerResult) => void)): this { + if (this.checkPriority("onEnterSelectedArea")) { const value_casted = value as (((value: TimePickerResult) => void)) - this.getPeer()?.onChangeAttribute(value_casted) + this.getPeer()?.onEnterSelectedAreaAttribute(value_casted) return this } return this } /** @memo */ - public enableHapticFeedback(value: boolean): this { + public enableHapticFeedback(value: boolean | boolean | undefined): this { if (this.checkPriority("enableHapticFeedback")) { + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.enableHapticFeedback0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.enableHapticFeedback1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + if (this.checkPriority("digitalCrownSensitivity")) { + const value_casted = value as (CrownSensitivity | undefined) + this.getPeer()?.digitalCrownSensitivityAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableCascade(value: boolean): this { + if (this.checkPriority("enableCascade")) { const value_casted = value as (boolean) - this.getPeer()?.enableHapticFeedbackAttribute(value_casted) + this.getPeer()?.enableCascadeAttribute(value_casted) return this } return this diff --git a/arkoala-arkts/arkui/src/generated/toggle.ts b/arkoala-arkts/arkui/src/generated/toggle.ts index 7c9cf59ed6..ee3d586be0 100644 --- a/arkoala-arkts/arkui/src/generated/toggle.ts +++ b/arkoala-arkts/arkui/src/generated/toggle.ts @@ -66,22 +66,22 @@ export class ArkTogglePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } @@ -93,22 +93,22 @@ export class ArkTogglePeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isColor(value)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as Color thisSerializer.writeInt32(TypeChecker.Color_ToNumeric(value_0)) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as string thisSerializer.writeString(value_2) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const value_3 = value as Resource thisSerializer.writeResource(value_3) } diff --git a/arkoala-arkts/arkui/src/generated/ts/type_check.ts b/arkoala-arkts/arkui/src/generated/ts/type_check.ts index 3d84d81429..f47fdb826a 100644 --- a/arkoala-arkts/arkui/src/generated/ts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/ts/type_check.ts @@ -18,71 +18,72 @@ import { KBoolean, KStringPtr, NativeBuffer, MaterializedBase } from "@koalaui/interop" import { int32 } from "@koalaui/common" -import { AccessibilityHoverType, Alignment, AnimationStatus, AppRotation, ArrowPointPosition, Axis, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, Color, ColoringStrategy, CopyOptions, Curve, DialogButtonStyle, Direction, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PixelRoundCalcPolicy, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" -import { AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragResult, Rectangle, DragPreviewMode, DrawModifier, EdgeEffectOptions, EffectType, FinishCallbackType, GestureModifier, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, HoverModeAreaType, ICurve, KeyboardAvoidMode, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, RectResult, Literal_Boolean_isVisible, Measurable, MeasureResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PreDragStatus, ProgressMask, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, Callback_ClickEvent_Void, ClickEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, HoverCallback, HoverEvent, Callback_MouseEvent_Void, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, View, Callback_KeyEvent_Boolean, BackgroundBrightnessOptions, BlurOptions, ClickEffect, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragInteractionOptions, DragItemInfo, ExpectedFrameRateRange, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, Tuple_ResourceColor_Number, LinearGradient_common, FractionStop, LinearGradientBlurOptions, Literal_Alignment_align, Literal_Number_offset_span, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_String_value_Callback_Void_action, Literal_TransitionEffect_appear_disappear, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, SheetDismiss, SpringBackAction, StateStyles, TouchObject, TouchResult, Type_CommonMethod_linearGradient_value, AlignRuleOption, BlurStyleOptions, ContentCoverOptions, BindOptions, Callback_DismissContentCoverAction_Void, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, Literal_ResourceColor_color, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, PixelStretchEffectOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, Type_CommonMethod_radialGradient_value, Tuple_Length_Length, Type_CommonMethod_sweepGradient_value, BorderImageOption, ContextMenuOptions, CustomPopupOptions, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, EventTarget, BaseEvent, MenuOptions, PickerDialogButtonStyle, PointLightStyle, PopupMessageOptions, AccessibilityHoverEvent, PopupOptions, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, LayoutChild, Layoutable } from "./../common" +import { AccessibilityHoverType, Alignment, AnimationStatus, AppRotation, ArrowPointPosition, Axis, AxisAction, AxisModel, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, Color, ColoringStrategy, CopyOptions, CrownAction, CrownSensitivity, Curve, DialogButtonStyle, Direction, DividerMode, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FocusDrawLevel, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, InteractionHand, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PageFlipMode, PixelRoundCalcPolicy, PixelRoundMode, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" +import { AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, EffectEdge, EffectType, FinishCallbackType, GestureModifier, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, RectResult, Literal_Boolean_isVisible, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PopupStateChangeParam, PreDragStatus, ProgressMask, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, Callback_ClickEvent_Void, ClickEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, HoverCallback, HoverEvent, Callback_MouseEvent_Void, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, View, Callback_KeyEvent_Boolean, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, CrownEvent, DateRange, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragInteractionOptions, DragItemInfo, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, Tuple_ResourceColor_Number, LinearGradient_common, FractionStop, LinearGradientBlurOptions, LinearGradientOptions, Literal_Alignment_align, Literal_Number_offset_span, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_String_value_Callback_Void_action, Literal_TransitionEffect_appear_disappear, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, SheetDismiss, SpringBackAction, StateStyles, SystemAdaptiveOptions, TouchObject, TouchResult, AlignRuleOption, BlurStyleOptions, ContentCoverOptions, BindOptions, Callback_DismissContentCoverAction_Void, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, Literal_ResourceColor_color, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ReuseIdCallback, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, EventTarget, FocusAxisEvent, BaseEvent, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, AccessibilityHoverEvent, AxisEvent, PopupOptions, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, PromptActionDialogController, LayoutChild, Layoutable } from "./../common" import { Affinity, EllipsisMode, FontStyle, FontWidth, TextBox, LineMetrics, TextBaseline, TextDecorationStyle, TextDecorationType, TextDirection, FontFeature, FontVariation, RunMetrics, RectStyle, Decoration, TextShadow, text } from "./../arkui-graphics-text" import { AlphabetIndexerAttribute, Callback_Number_Void, OnAlphabetIndexerSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerPopupSelectCallback, IndexerAlign, AlphabetIndexerOptions } from "./../alphabet_indexer" -import { ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ResourceStr, Dimension, LengthConstrain, ConstraintSizeOptions, DirectionalEdgesT, VoidCallback, AccessibilityOptions, Bias, ChainWeightOptions, EdgeOutlineStyles, VP, BorderRadiuses, DividerStyleOptions, EdgeColors, EdgeOutlineWidths, EdgeWidths, PX, LPX, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, MarkStyle, OutlineRadiuses, Padding, Area, BorderOptions, OutlineOptions } from "./../units" +import { ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ResourceStr, Dimension, LengthConstrain, VoidCallback, DividerStyleOptions, ConstraintSizeOptions, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, Area, BorderOptions, OutlineOptions } from "./../units" import { PixelMap } from "./../arkui-pixelmap" import { AnimatedDrawableDescriptor, DrawableDescriptor, AnimationOptions, LayeredDrawableDescriptor, PixelMapDrawableDescriptor } from "./../arkui-drawabledescriptor" -import { AnimationMode, BarMode, BarPosition, LayoutStyle, TabContentTransitionProxy, TabsAnimationEvent, TabsAttribute, OnTabsAnimationStartCallback, OnTabsAnimationEndCallback, OnTabsGestureSwipeCallback, DividerStyle, BarGridColumnOptions, TabsCustomContentTransitionCallback, OnTabsContentWillChangeCallback, ScrollableBarModeOptions, TabsController, TabContentAnimatedTransition, Callback_TabContentTransitionProxy_Void, TabsOptions } from "./../tabs" -import { ArrowPosition, MenuAlignType, SelectAttribute, Callback_Number_String_Void, Callback_Union_Number_Resource_Void, Callback_ResourceStr_Void, MenuItemConfiguration, SelectOption } from "./../select" +import { AnimationMode, BarMode, BarPosition, LayoutStyle, TabContentTransitionProxy, TabsAnimationEvent, TabsAttribute, OnTabsAnimationStartCallback, OnTabsAnimationEndCallback, OnTabsGestureSwipeCallback, DividerStyle, BarGridColumnOptions, TabsCustomContentTransitionCallback, OnTabsContentWillChangeCallback, ScrollableBarModeOptions, TabsCacheMode, TabsController, CommonModifier, TabContentAnimatedTransition, Callback_TabContentTransitionProxy_Void, TabsOptions } from "./../tabs" +import { ArrowPosition, AvoidanceMode, MenuAlignType, SelectAttribute, Callback_Number_String_Void, OnSelectCallback, MenuOutlineOptions, Callback_Union_Number_Resource_Void, Callback_ResourceStr_Void, MenuItemConfiguration, SelectOption } from "./../select" +import { AutoCapitalizationMode, KeyboardAppearance, LayoutManager, PositionWithAffinity, TextRange, MenuType, TextDataDetectorConfig, OnDidChangeCallback, EditMenuOptions, TextEditControllerEx, PreviewText, StyledStringController, StyledStringChangedListener, CaretStyle, EditableTextOnChangeCallback, TextChangeOptions, InsertValue, DeleteValue, EditableTextChangeValue, FontSettingOptions, TextBaseController, TextDataDetectorType, TextDeleteDirection, TextMenuItemId, TextMenuShowMode, TextMenuItem, AsyncCallback_Array_TextMenuItem_Array_TextMenuItem, AsyncCallback_TextMenuItem_TextRange_Boolean, Callback_StyledStringChangeValue_Boolean, StyledStringChangeValue, DecorationStyleResult } from "./../text_common" import { BadgePosition, BadgeStyle, BadgeParamWithNumber, BadgeParam, BadgeParamWithString } from "./../badge" import { BarrierDirection, LocalizedBarrierDirection, BarrierStyle, LocalizedBarrierStyle, GuideLinePosition, GuideLineStyle } from "./../relative_container" -import { BarStyle, LaunchMode, NavBarPosition, NavigationMenuItem, ToolbarItem, NavigationTitleOptions, NavigationToolbarOptions, NavigationAttribute, Tuple_Dimension_Dimension, NavigationMode, NavigationTitleMode, Callback_NavigationTitleMode_Void, Callback_Boolean_Void, Callback_NavigationMode_Void, Callback_String_Unknown_Void, Type_NavigationAttribute_customNavContentTransition_delegate, NavContentInfo, NavigationOperation, NavigationAnimatedTransition, NavigationCommonTitle, NavigationCustomTitle, NavPathStack, NavPathInfo, NavigationOptions, Callback_PopInfo_Void, PopInfo, NavigationInterception, ToolbarItemStatus, Callback_NavigationTransitionProxy_Void, NavigationTransitionProxy, InterceptionShowCallback, NavBar, InterceptionModeCallback } from "./../navigation" -import { BaseShape, CircleShape, ShapeSize, CommonShape, WebviewController, Summary, EffectDirection, EffectScope, EllipseShape, ImageModifier, IntentionCode, RectWidthStyle, RectHeightStyle, SymbolGlyphModifier, PathShape, PathShapeOptions, PerfMonitorActionType, PerfMonitorSourceType, SymbolEffect, RectShape, RectShapeOptions, RoundRectShapeOptions, ResolutionQuality, IndicatorStyle, TextModifier, WebHeader, WindowStatusType, ColorMetrics, EdgeStyles, FontInfo, ReplaceSymbolEffect, ScaleSymbolEffect, SnapshotOptions, FontOptions, MeasureOptions, LabelStyle } from "./../arkui-external" +import { BarStyle, LaunchMode, NavBarPosition, NavigationMenuItem, ToolbarItem, NavigationOperation, NavigationTitleOptions, NavigationMenuOptions, NavigationToolbarOptions, NavigationAttribute, Tuple_Dimension_Dimension, NavigationMode, NavigationTitleMode, Callback_NavigationTitleMode_Void, Callback_Boolean_Void, Callback_NavigationMode_Void, Callback_String_Opt_Object_Void, Type_NavigationAttribute_customNavContentTransition_delegate, NavContentInfo, NavigationAnimatedTransition, NavigationCommonTitle, NavigationCustomTitle, NavPathInfo, NavPathStack, NavigationOptions, Callback_PopInfo_Void, PopInfo, NavigationInterception, ToolbarItemStatus, Callback_NavigationTransitionProxy_Void, NavigationTransitionProxy, InterceptionShowCallback, NavBar, InterceptionModeCallback, MoreButtonOptions } from "./../navigation" +import { BaseShape, CircleShape, ShapeSize, CommonShape, WebviewController, Summary, EffectDirection, EffectScope, EllipseShape, ImageModifier, IntentionCode, RectWidthStyle, RectHeightStyle, SymbolGlyphModifier, PathShape, PathShapeOptions, PerfMonitorActionType, PerfMonitorSourceType, SymbolEffect, RectShape, RectShapeOptions, RoundRectShapeOptions, ResolutionQuality, TextModifier, IndicatorStyle, WebHeader, WindowStatusType, ColorMetrics, EdgeStyles, FontInfo, ReplaceSymbolEffect, ScaleSymbolEffect, SnapshotOptions, FontOptions, MeasureOptions, LabelStyle } from "./../arkui-external" import { BlendMode, DrawingCanvas, DrawingColorFilter, RectType, DrawingLattice, FontMetricsFlags, FontMetrics } from "./../arkui-drawing" +import { BlurOnKeyboardHideMode, CacheMode, ClientAuthenticationHandler, ConsoleMessage, MessageLevel, ContextMenuEditStateFlags, ContextMenuInputFieldType, ContextMenuMediaType, ContextMenuSourceType, ControllerHandler, DataResubmissionHandler, EventResult, FileSelectorMode, FileSelectorParam, FileSelectorResult, FullScreenExitHandler, HitTestType, HttpAuthHandler, JsGeolocation, JsResult, Literal_Function_callback__Object_fileSelector, Literal_Function_handler_Object_error, Literal_Object_detail, MixedMode, NativeEmbedStatus, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, OverScrollMode, PermissionRequest, ProtectedResourceType, RenderExitReason, RenderMode, RenderProcessNotRespondingReason, ScreenCaptureHandler, ScreenCaptureConfig, SslError, SslErrorHandler, ThreatType, ViewportFit, ScriptItem, ExpandedMenuItemOptions, WebAttribute, JavaScriptProxy, WebDarkMode, WebMediaOptions, Callback_OnPageEndEvent_Void, OnPageEndEvent, Callback_OnPageBeginEvent_Void, OnPageBeginEvent, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, OnTitleReceiveEvent, Callback_OnGeolocationShowEvent_Void, OnGeolocationShowEvent, Callback_OnAlertEvent_Boolean, OnAlertEvent, Callback_OnBeforeUnloadEvent_Boolean, OnBeforeUnloadEvent, Callback_OnConfirmEvent_Boolean, OnConfirmEvent, Callback_OnPromptEvent_Boolean, OnPromptEvent, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, OnErrorReceiveEvent, Callback_OnHttpErrorReceiveEvent_Void, OnHttpErrorReceiveEvent, Callback_OnDownloadStartEvent_Void, OnDownloadStartEvent, Callback_OnRefreshAccessedHistoryEvent_Void, OnRefreshAccessedHistoryEvent, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, WebResourceRequest, Callback_Literal_Function_handler_Object_error_Void, Callback_OnRenderExitedEvent_Void, OnRenderExitedEvent, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Type_WebAttribute_onFileSelectorShow_callback, Callback_OnResourceLoadEvent_Void, OnResourceLoadEvent, OnFullScreenEnterCallback, FullScreenEnterEvent, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, OnHttpAuthRequestEvent, Callback_OnInterceptRequestEvent_WebResourceResponse, OnInterceptRequestEvent, WebResourceResponse, Callback_OnPermissionRequestEvent_Void, OnPermissionRequestEvent, Callback_OnScreenCaptureRequestEvent_Void, OnScreenCaptureRequestEvent, Callback_OnContextMenuShowEvent_Boolean, OnContextMenuShowEvent, OnContextMenuHideCallback, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, OnSslErrorEventReceiveEvent, OnSslErrorEventCallback, SslErrorEvent, Callback_OnClientAuthenticationEvent_Void, OnClientAuthenticationEvent, Callback_OnWindowNewEvent_Void, OnWindowNewEvent, Callback_OnTouchIconUrlReceivedEvent_Void, OnTouchIconUrlReceivedEvent, Callback_OnFaviconReceivedEvent_Void, OnFaviconReceivedEvent, Callback_OnPageVisibleEvent_Void, OnPageVisibleEvent, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, OnFirstMeaningfulPaintCallback, FirstMeaningfulPaint, OnLargestContentfulPaintCallback, LargestContentfulPaint, Callback_OnLoadInterceptEvent_Boolean, OnLoadInterceptEvent, Callback_OnOverScrollEvent_Void, OnSafeBrowsingCheckResultCallback, OnNavigationEntryCommittedCallback, LoadCommittedDetails, OnIntelligentTrackingPreventionCallback, IntelligentTrackingPreventionDetails, WebLayoutMode, NestedScrollOptionsExt, Callback_NativeEmbedDataInfo_Void, NativeEmbedDataInfo, OnNativeEmbedVisibilityChangeCallback, NativeEmbedVisibilityInfo, Callback_NativeEmbedTouchInfo_Void, NativeEmbedTouchInfo, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, RenderProcessNotRespondingData, OnRenderProcessRespondingCallback, OnViewportFitChangedCallback, WebKeyboardCallback, WebKeyboardCallbackInfo, OnAdsBlockedCallback, AdsBlockedDetails, WebKeyboardAvoidMode, EmbedOptions, WebElementType, WebResponseType, SelectionMenuOptionsExt, WebCaptureMode, WebContextMenuParam, WebContextMenuResult, WebController, Literal_String_script_Callback_String_Void_callback_, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Header, Literal_Object_object__String_name_Array_String_methodList, WebCookie, WebKeyboardController, WebNavigationType, WebResourceError, Literal_String_plainText, WebKeyboardOptions, WebOptions, Callback_Literal_String_plainText_Void, NativeEmbedInfo } from "./../web" import { BreakpointsReference, GridRowDirection, Callback_String_Void, BreakPoints, GridRowColumnOption, GridRowSizeOption, GutterOption, GridRowOptions } from "./../grid_row" import { ButtonRole, ButtonStyleMode, ButtonType, ControlSize, ButtonOptions } from "./../button" -import { CacheMode, ClientAuthenticationHandler, ConsoleMessage, MessageLevel, ContextMenuEditStateFlags, ContextMenuInputFieldType, ContextMenuMediaType, ContextMenuSourceType, ControllerHandler, DataResubmissionHandler, EventResult, FileSelectorMode, FileSelectorParam, FileSelectorResult, FullScreenExitHandler, HitTestType, HttpAuthHandler, JsGeolocation, JsResult, Literal_Function_callback__Object_fileSelector, Literal_Function_handler_Object_error, Literal_Object_detail, MixedMode, NativeEmbedStatus, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, OverScrollMode, PermissionRequest, ProtectedResourceType, RenderExitReason, RenderMode, RenderProcessNotRespondingReason, ScreenCaptureHandler, ScreenCaptureConfig, SslError, SslErrorHandler, ThreatType, ViewportFit, ScriptItem, ExpandedMenuItemOptions, WebAttribute, JavaScriptProxy, WebDarkMode, WebMediaOptions, Callback_OnPageEndEvent_Void, OnPageEndEvent, Callback_OnPageBeginEvent_Void, OnPageBeginEvent, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, OnTitleReceiveEvent, Callback_OnGeolocationShowEvent_Void, OnGeolocationShowEvent, Callback_OnAlertEvent_Boolean, OnAlertEvent, Callback_OnBeforeUnloadEvent_Boolean, OnBeforeUnloadEvent, Callback_OnConfirmEvent_Boolean, OnConfirmEvent, Callback_OnPromptEvent_Boolean, OnPromptEvent, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, OnErrorReceiveEvent, Callback_OnHttpErrorReceiveEvent_Void, OnHttpErrorReceiveEvent, Callback_OnDownloadStartEvent_Void, OnDownloadStartEvent, Callback_OnRefreshAccessedHistoryEvent_Void, OnRefreshAccessedHistoryEvent, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, WebResourceRequest, Callback_Literal_Function_handler_Object_error_Void, Callback_OnRenderExitedEvent_Void, OnRenderExitedEvent, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Type_WebAttribute_onFileSelectorShow_callback, Callback_OnResourceLoadEvent_Void, OnResourceLoadEvent, OnFullScreenEnterCallback, FullScreenEnterEvent, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, OnHttpAuthRequestEvent, Callback_OnInterceptRequestEvent_WebResourceResponse, OnInterceptRequestEvent, WebResourceResponse, Callback_OnPermissionRequestEvent_Void, OnPermissionRequestEvent, Callback_OnScreenCaptureRequestEvent_Void, OnScreenCaptureRequestEvent, Callback_OnContextMenuShowEvent_Boolean, OnContextMenuShowEvent, OnContextMenuHideCallback, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, OnSslErrorEventReceiveEvent, OnSslErrorEventCallback, SslErrorEvent, Callback_OnClientAuthenticationEvent_Void, OnClientAuthenticationEvent, Callback_OnWindowNewEvent_Void, OnWindowNewEvent, Callback_OnTouchIconUrlReceivedEvent_Void, OnTouchIconUrlReceivedEvent, Callback_OnFaviconReceivedEvent_Void, OnFaviconReceivedEvent, Callback_OnPageVisibleEvent_Void, OnPageVisibleEvent, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, OnFirstMeaningfulPaintCallback, FirstMeaningfulPaint, OnLargestContentfulPaintCallback, LargestContentfulPaint, Callback_OnLoadInterceptEvent_Boolean, OnLoadInterceptEvent, Callback_OnOverScrollEvent_Void, OnSafeBrowsingCheckResultCallback, OnNavigationEntryCommittedCallback, LoadCommittedDetails, OnIntelligentTrackingPreventionCallback, IntelligentTrackingPreventionDetails, WebLayoutMode, NestedScrollOptionsExt, Callback_NativeEmbedDataInfo_Void, NativeEmbedDataInfo, OnNativeEmbedVisibilityChangeCallback, NativeEmbedVisibilityInfo, Callback_NativeEmbedTouchInfo_Void, NativeEmbedTouchInfo, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, RenderProcessNotRespondingData, OnRenderProcessRespondingCallback, OnViewportFitChangedCallback, WebKeyboardCallback, WebKeyboardCallbackInfo, OnAdsBlockedCallback, AdsBlockedDetails, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, WebCaptureMode, WebContextMenuParam, WebContextMenuResult, WebController, Literal_String_script_Callback_String_Void_callback_, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Header, Literal_Object_object__String_name_Array_String_methodList, WebCookie, WebKeyboardController, WebNavigationType, WebResourceError, Literal_String_plainText, WebKeyboardOptions, WebOptions, Callback_Literal_String_plainText_Void, NativeEmbedInfo } from "./../web" import { CalendarAlign, CalendarPickerAttribute, Callback_Date_Void, CalendarOptions, CalendarDialogOptions } from "./../calendar_picker" import { CalendarController, Literal_Number_day_month_year, CalendarDay, CalendarRequestedData, CalendarSelectedDate, MonthData, Type_CalendarInterface_callable0_value, CurrentDayStyle, NonCurrentDayStyle, TodayStyle, WeekStyle, WorkStateStyle } from "./../calendar" -import { CancelButtonStyle, SearchAttribute, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchSubmitCallback, SearchType, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, SearchButtonOptions, SearchController, SearchOptions } from "./../search" -import { CanvasGradient, CanvasPath, CanvasPattern, OffscreenCanvas, ImageBitmap, RenderingContextSettings, OffscreenCanvasRenderingContext2D, Path2D, TextMetrics, CanvasRenderer, ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, CanvasTextAlign, CanvasTextBaseline, CanvasFillRule, ImageData, CanvasRenderingContext2D, DrawingRenderingContext } from "./../canvas" +import { CancelButtonStyle, SearchAttribute, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchSubmitCallback, SearchType, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_EditableTextChangeValue_Boolean, SearchButtonOptions, SearchController, SearchOptions } from "./../search" +import { CanvasGradient, CanvasPath, CanvasPattern, OffscreenCanvas, ImageBitmap, RenderingContextSettings, OffscreenCanvasRenderingContext2D, Path2D, TextMetrics, DrawingRenderingContext, ImageData, CanvasRenderer, ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, CanvasTextAlign, CanvasTextBaseline, CanvasFillRule, CanvasRenderingContext2D } from "./../canvas" import { Matrix2D } from "./../matrix2d" import { ChainEdgeEffect, ScrollState, ListAttribute, ListItemAlign, ListDividerOptions, ChainAnimationOptions, StickyStyle, ScrollSnapAlign, Callback_Number_Number_Number_Void, OnScrollVisibleContentChangeCallback, VisibleListContentInfo, Callback_Number_Boolean, Callback_Number_Number_Boolean, ListItemGroupArea, ListScroller, CloseSwipeActionOptions, ListOptions } from "./../list" +import { ColorContent, DynamicRangeMode, ImageContent, ImageInterpolation, ImageRenderMode, ImageRotateOrientation, Type_ImageAttribute_onComplete_callback_event, ImageError, ImageSourceSize, ResizableOptions } from "./../image" import { ColorMode, LayoutDirection } from "./../state_management" import { Component3DAttribute, ModelType, SceneOptions } from "./../component3d" import { ComponentContent, UnifiedData, UIContext, SystemBarStyle, PointerStyle, Scene, Context, WorkerEventListener, Event, BaseContext, Context_getGroupDir_Callback, ErrorEvent, MessageEvents, PostMessageOptions, WorkerOptions, CustomColors, RestrictedWorker, RestrictedWorker_onexit_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onmessage_Callback, CustomTheme } from "./../arkui-custom" import { ContentModifier, WrappedBuilder, CommonConfiguration, Callback_WrappedBuilder_Args_Void } from "./../arkui-wrapper-builder" -import { ContentType, TextAreaAttribute, Callback_EnterKeyType_Void, TextAreaSubmitCallback, Callback_String_PasteEvent_Void, TextAreaType, TextAreaController, TextAreaOptions } from "./../text_area" +import { ContentType, EnterKeyType, InputType, SubmitEvent, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, TextInputAttribute, OnSubmitCallback, TextInputStyle, PasswordIcon, UnderlineColor, TextInputController, TextInputOptions } from "./../text_input" import { CustomDialogController, CustomDialogControllerOptions } from "./../custom_dialog_controller" import { DataOperationType } from "./../lazy_for_each" import { DataPanelType, ColorStop, LinearGradient, DataPanelOptions, DataPanelShadowOptions } from "./../data_panel" -import { DialogAlignment, DialogButtonDirection, TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, AlertDialogParamWithButtons, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithOptions } from "./../alert_dialog" +import { DatePickerMode, DatePickerOptions, DatePickerResult, LunarSwitchStyle, DatePickerDialogOptions, Callback_DatePickerResult_Void } from "./../date_picker" +import { DialogAlignment, DialogButtonDirection, LevelOrder, TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, AlertDialogParamWithButtons, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithOptions } from "./../alert_dialog" import { DistributionType, DisturbanceFieldShape, ParticleEmitterShape, ParticleType, ParticleUpdater } from "./../particle" -import { DpiFollowStrategy, UIExtensionProxy, Callback_UIExtensionProxy_Void, UIExtensionOptions, Literal_Number_code__want } from "./../ui_extension_component" +import { DpiFollowStrategy, UIExtensionProxy, Callback_UIExtensionProxy_Void, WindowModeFollowStrategy, UIExtensionOptions, Literal_Number_code__want } from "./../ui_extension_component" +import { Callback_Void, Literal__want } from "./../ability_component" import { Rect, DrawContext, LengthMetricsUnit, LengthUnit, ShapeClip, RoundRect, Circle, CommandPath, ShapeMask, Size, LengthMetrics, Vector2, Vector3, BorderRadiuses_graphics, CornerRadius, Frame, Edges, Matrix4 } from "./../arkui-graphics" -import { DynamicRangeMode, ImageContent, ImageInterpolation, ImageRenderMode, Type_ImageAttribute_onComplete_callback_event, ImageError, ImageSourceSize, ResizableOptions } from "./../image" import { EditMode, ListItemStyle, Sticky, SwipeActionState, SwipeEdgeEffect, ListItemOptions, SwipeActionItem, Callback_SwipeActionState_Void, SwipeActionOptions } from "./../list_item" import { EffectFillStyle, PulseSymbolEffect, SymbolEffectStrategy, SymbolGlyphAttribute, SymbolRenderingStrategy, AppearSymbolEffect, BounceSymbolEffect, DisappearSymbolEffect, HierarchicalSymbolEffect } from "./../symbolglyph" -import { EnterKeyType, InputType, SubmitEvent, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, TextInputAttribute, OnSubmitCallback, TextInputStyle, PasswordIcon, UnderlineColor, TextInputController, TextInputOptions } from "./../text_input" -import { EventTargetInfo, GestureControl, GestureType, GestureGroupInterface, GestureMode, GestureJudgeResult, GestureMask, GesturePriority, GestureRecognizer, GestureRecognizerState, LongPressGestureInterface, GestureInterface, Literal_Number_duration_fingers_Boolean_repeat, Callback_GestureEvent_Void, GestureEvent, PanDirection, PanGestureInterface, Literal_Number_distance_fingers_PanDirection_direction, PanGestureOptions, PanRecognizer, PinchGestureInterface, Literal_Number_distance_fingers, RotationGestureInterface, Literal_Number_angle_fingers, ScrollableTargetInfo, SwipeDirection, SwipeGestureInterface, Literal_Number_fingers_speed_SwipeDirection_direction, TapGestureInterface, TapGestureParameters, GestureHandler, FingerInfo, GestureInfo, LongPressGestureEvent, BaseGestureEvent, PanGestureEvent, PinchGestureEvent, RotationGestureEvent, SwipeGestureEvent, TapGestureEvent } from "./../gesture" +import { EventTargetInfo, GestureControl, GestureType, GestureGroupInterface, GestureMode, GestureJudgeResult, GestureMask, GesturePriority, GestureRecognizer, GestureRecognizerState, LongPressGestureInterface, GestureInterface, Literal_Number_duration_fingers_Boolean_repeat, LongPressGestureHandlerOptions, Callback_GestureEvent_Void, GestureEvent, LongPressRecognizer, PanDirection, PanGestureInterface, Literal_Number_distance_fingers_PanDirection_direction, PanGestureOptions, PanGestureHandlerOptions, PanRecognizer, PinchGestureInterface, Literal_Number_distance_fingers, PinchGestureHandlerOptions, PinchRecognizer, RotationGestureInterface, Literal_Number_angle_fingers, RotationGestureHandlerOptions, RotationRecognizer, ScrollableTargetInfo, SwipeDirection, SwipeGestureInterface, Literal_Number_fingers_speed_SwipeDirection_direction, SwipeGestureHandlerOptions, SwipeRecognizer, TapGestureInterface, TapGestureParameters, TapRecognizer, GestureHandler, FingerInfo, GestureInfo, BaseHandlerOptions, LongPressGestureEvent, BaseGestureEvent, PanGestureEvent, PinchGestureEvent, RotationGestureEvent, SwipeGestureEvent, TapGestureEvent } from "./../gesture" import { Filter, TileMode, WaterRippleMode, FlyMode, VisualEffect, BrightnessBlender } from "./../arkui-uieffect" -import { FocusPriority, FocusBoxStyle } from "./../focus" +import { FocusPriority, KeyProcessingMode, FocusBoxStyle } from "./../focus" import { FormDimension, FormRenderingMode, FormShape, FormCallbackInfo, Literal_Number_errcode_String_msg, FormInfo } from "./../form_component" import { FrameNode } from "./../arkui-framenode" import { FrictionMotion, ScrollMotion, SpringProp, SpringMotion } from "./../animator" -import { FullscreenInfo, PlaybackInfo, PlaybackSpeed, PreparedInfo, SeekMode, VideoController, VideoOptions } from "./../video" -import { Callback_Void, Literal__want } from "./../ability_component" -import { GestureStyle, GestureStyleInterface, StyledString, MutableStyledString, StyleOptions, SpanStyle, ImageAttachment, CustomSpan, StyledStringKey, DecorationStyleInterface, UrlStyle, UserDataSpan, BaselineOffsetStyle, AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, LetterSpacingStyle, LineHeightStyle, TextShadowStyle, DecorationStyle, TextStyle_styled_string, TextStyleInterface, ImageAttachmentLayoutStyle, BackgroundColorStyle, ImageAttachmentInterface, ParagraphStyle, ParagraphStyleInterface, StyledStringValue } from "./../styled_string" +import { FullscreenInfo, PlaybackInfo, PlaybackSpeed, PreparedInfo, SeekMode, VideoController, PosterOptions, VideoOptions } from "./../video" +import { GestureStyle, GestureStyleInterface, StyledString, MutableStyledString, StyleOptions, SpanStyle, ImageAttachment, CustomSpan, StyledStringKey, StyledStringMarshallCallback, UserDataSpan, StyledStringUnmarshallCallback, DecorationStyleInterface, UrlStyle, BaselineOffsetStyle, AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, LetterSpacingStyle, LineHeightStyle, TextShadowStyle, DecorationStyle, TextStyle_styled_string, TextStyleInterface, ImageAttachmentLayoutStyle, ParagraphStyle, ParagraphStyleInterface, BackgroundColorStyle, ColorFilterType, ImageAttachmentInterface, AttachmentType, ResourceImageAttachmentOptions, StyledStringValue } from "./../styled_string" import { GridAttribute, Callback_Number_Number_ComputedBarAttribute, ComputedBarAttribute, Callback_Number_Number_Void, GridDirection, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, GridItemAlignment, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain, GridLayoutOptions, Callback_Number_Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number } from "./../grid" import { GridAttribute_onItemDragStart_event_type, ListAttribute_onItemDragStart_event_type, AnimationRange_Number } from "./../type-replacements" import { Resource } from "./../resource" import { GridItemStyle, GridItemOptions } from "./../gridItem" -import { ImageAnalyzerType, ImageAnalyzerController, ImageAnalyzerConfig, ImageAIOptions } from "./../image_common" +import { ImageAnalyzerType, ImageAnalyzerController, ImageAIOptions, ImageAnalyzerConfig } from "./../image_common" import { IndicatorComponentController } from "./../indicatorcomponent" import { ItemState } from "./../stepper_item" -import { LayoutManager, PositionWithAffinity, TextRange, MenuType, TextDataDetectorConfig, OnDidChangeCallback, EditMenuOptions, TextEditControllerEx, PreviewText, StyledStringController, StyledStringChangedListener, CaretStyle, EditableTextOnChangeCallback, InsertValue, DeleteValue, FontSettingOptions, TextBaseController, TextDataDetectorType, TextDeleteDirection, TextMenuItemId, TextMenuItem, AsyncCallback_Array_TextMenuItem_Array_TextMenuItem, AsyncCallback_TextMenuItem_TextRange_Boolean, Callback_StyledStringChangeValue_Boolean, StyledStringChangeValue, DecorationStyleResult } from "./../text_common" -import { LayoutMode, SelectedMode, TabBarSymbol, BoardStyle, TabBarIconStyle, TabBarOptions, BottomTabBarStyle, SubTabBarStyle } from "./../tab_content" +import { LayoutMode, SelectedMode, TabBarSymbol, TabBarIconStyle, TabBarOptions, BoardStyle, BottomTabBarStyle, SubTabBarStyle } from "./../tab_content" import { LinearIndicatorController, LinearIndicatorStartOptions, LinearIndicatorStyle } from "./../linearindicator" import { ListItemGroupStyle, ListItemGroupOptions } from "./../list_item_group" import { Scroller, ScrollAlign, OffsetResult, OnScrollFrameBeginHandlerResult, ScrollAttribute, ScrollDirection, ScrollOnWillScrollCallback, ScrollOnScrollCallback, OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollSnapOptions, OffsetOptions, ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, Literal_Boolean_next_Axis_direction, ScrollToIndexOptions, ScrollAnimationOptions } from "./../scroll" import { LoadingProgressStyle } from "./../loading_progress" import { LocationButtonOnClickResult, LocationDescription, LocationIconStyle, LocationButtonOptions } from "./../location_button" +import { MarqueeStartPolicy, MarqueeState, TextAttribute, TextOverflowOptions, TextMarqueeOptions, Callback_MarqueeState_Void, TextSpanType, TextResponseType, TextController, TextOptions } from "./../text" import { Matrix4Transit, TranslateOption, ScaleOption, RotateOption, PolyToPolyOptions } from "./../arkui-matrix4" import { Tuple_Number_Number, Tuple_Number_Number_Number } from "./../arkui-synthetics" -import { NavDestinationAttribute, Callback_Boolean, NavDestinationMode, Callback_NavDestinationContext_Void, NavDestinationContext, NavigationSystemTransitionType, NavDestinationCommonTitle, NavDestinationCustomTitle, RouteMapConfig } from "./../nav_destination" +import { NavDestinationActiveReason, NestedScrollInfo, NavDestinationAttribute, Callback_Boolean, Callback_Object_Void, NavDestinationMode, Callback_NavDestinationContext_Void, NavDestinationContext, NavigationSystemTransitionType, Callback_NavDestinationActiveReason_Void, NavDestinationTransitionDelegate, Orientation, NavDestinationCommonTitle, NavDestinationCustomTitle, NavDestinationTransition, RouteMapConfig } from "./../nav_destination" import { NavigationType, Literal_String_target_NavigationType_type } from "./../navigator" import { NavRouteMode, RouteInfo } from "./../nav_router" import { NodeController } from "./../ohos.arkui.node" @@ -94,22 +95,22 @@ import { PatternLockChallengeResult, PatternLockController, CircleStyleOptions } import { ProgressStatus, ProgressStyle, ProgressType, ProgressOptions, LinearStyleOptions, ScanEffectOptions, CommonProgressStyleOptions, ProgressStyleOptions, RingStyleOptions, CapsuleStyleOptions } from "./../progress" import { RadioIndicatorType, RadioOptions, RadioStyle } from "./../radio" import { RefreshStatus, RefreshOptions } from "./../refresh" -import { RichEditorAttribute, Callback_RichEditorSelection_Void, RichEditorSelection, Callback_RichEditorRange_Void, RichEditorRange, Callback_RichEditorInsertValue_Boolean, RichEditorInsertValue, Callback_RichEditorTextSpanResult_Void, RichEditorTextSpanResult, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, RichEditorDeleteValue, PasteEventCallback, PasteEvent, SubmitCallback, Callback_RichEditorChangeValue_Boolean, RichEditorChangeValue, Callback_CutEvent_Void, CutEvent, Callback_CopyEvent_Void, CopyEvent, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle, RichEditorBaseController, RichEditorTextStyle, RichEditorParagraphResult, RichEditorSpan, RichEditorController, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorDeleteDirection, RichEditorOptions, RichEditorStyledStringController, RichEditorStyledStringOptions, RichEditorGesture, RichEditorSpanPosition, MenuOnAppearCallback, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorSpanStyleOptions, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorParagraphStyle } from "./../rich_editor" +import { RichEditorAttribute, Callback_RichEditorSelection_Void, RichEditorSelection, Callback_RichEditorRange_Void, RichEditorRange, Callback_RichEditorInsertValue_Boolean, RichEditorInsertValue, Callback_RichEditorTextSpanResult_Void, RichEditorTextSpanResult, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, RichEditorDeleteValue, PasteEventCallback, PasteEvent, SubmitCallback, Callback_RichEditorChangeValue_Boolean, RichEditorChangeValue, Callback_CutEvent_Void, CutEvent, Callback_CopyEvent_Void, CopyEvent, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle, RichEditorBaseController, RichEditorTextStyle, RichEditorParagraphResult, RichEditorSpan, RichEditorController, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorDeleteDirection, RichEditorOptions, RichEditorStyledStringController, RichEditorStyledStringOptions, PreviewMenuOptions, RichEditorGesture, RichEditorSpanPosition, RichEditorSymbolSpanStyle, RichEditorSpanStyleOptions, RichEditorUrlStyle, MenuOnAppearCallback, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorParagraphStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorTextStyleResult } from "./../rich_editor" import { RootSceneSession } from "./../root_scene" import { RouteType, SlideEffect } from "./../page_transition" import { RRect, WindowAnimationTarget } from "./../remote_window" import { SaveButtonOnClickResult, SaveDescription, SaveIconStyle, SaveButtonOptions } from "./../save_button" import { ScrollBarDirection, ScrollBarOptions } from "./../scroll_bar" import { SecurityComponentLayoutDirection } from "./../security_component" -import { DividerOptions, TextPickerDialogOptions, TextCascadePickerRangeContent, TextPickerRangeContent, TextPickerOptions, TextPickerResult, Callback_TextPickerResult_Void } from "./../text_picker" +import { DividerOptions, TextPickerDialogOptions, TextCascadePickerRangeContent, TextPickerRangeContent, TextPickerOptions, TextPickerResult, TextPickerTextStyle, Callback_TextPickerResult_Void } from "./../text_picker" import { SelectStatus, CheckboxGroupOptions, CheckboxGroupResult } from "./../checkboxgroup" import { ShapeAttribute, ViewportRect } from "./../shape" import { SideBarContainerType, SideBarPosition, ButtonIconOptions, ButtonStyle } from "./../sidebar" import { SizeType, GridContainerOptions } from "./../grid_container" import { SliderAttribute, Callback_Number_SliderChangeMode_Void, SliderChangeMode, SliderBlockStyle, SliderInteraction, SlideRange, SliderBlockType, SliderStyle, SliderOptions } from "./../slider" import { SubMenuExpandingMode } from "./../menu" -import { SwiperAnimationEvent, SwiperAttribute, DotIndicator, DigitIndicator, SwiperDisplayMode, OnSwiperAnimationStartCallback, OnSwiperAnimationEndCallback, OnSwiperGestureSwipeCallback, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ContentDidScrollCallback, ArrowStyle, SwiperAutoFill, SwiperContentTransitionProxy, SwiperController, Callback_SwiperContentTransitionProxy_Void, Indicator } from "./../swiper" -import { TextAttribute, TextOverflowOptions, TextSpanType, TextResponseType, TextController, TextOptions } from "./../text" +import { SwiperAnimationEvent, SwiperAnimationMode, SwiperAttribute, DotIndicator, DigitIndicator, SwiperDisplayMode, OnSwiperAnimationStartCallback, OnSwiperAnimationEndCallback, OnSwiperGestureSwipeCallback, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ContentDidScrollCallback, ContentWillScrollCallback, SwiperContentWillScrollResult, AutoPlayOptions, ArrowStyle, SwiperAutoFill, SwiperContentTransitionProxy, SwiperController, Callback_SwiperContentTransitionProxy_Void, Indicator } from "./../swiper" +import { TextAreaAttribute, Callback_EnterKeyType_Void, TextAreaSubmitCallback, Callback_String_PasteEvent_Void, TextAreaType, TextAreaController, TextAreaOptions } from "./../text_area" import { TextClockController, TextClockOptions } from "./../text_clock" import { TextTimerController, TextTimerOptions } from "./../text_timer" import { TimePickerFormat, TimePickerResult, TimePickerOptions, TimePickerDialogOptions, Callback_TimePickerResult_Void } from "./../time_picker" @@ -122,21 +123,20 @@ import { ASTCResource } from "./../media_cached_image" import { BusinessError } from "./../base" import { CheckboxOptions } from "./../checkbox" import { CircleOptions } from "./../circle" -import { ColumnOptions } from "./../column" +import { ColumnOptions, ColumnOptionsV2 } from "./../column" import { common2D } from "./../ohos.graphics.common2D" import { CustomDialogBuildOptions, CustomDialogControllerBuilder } from "./../arkui-custom-dialog" -import { DatePickerOptions, DatePickerResult, LunarSwitchStyle, DatePickerDialogOptions, Callback_DatePickerResult_Void } from "./../date_picker" import { DateTimeOptions } from "./../arkui-intl" -import { DismissDialogAction, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions, Callback_DismissDialogAction_Void } from "./../action_sheet" +import { DismissDialogAction, ImmersiveMode, LevelMode, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions, Callback_DismissDialogAction_Void } from "./../action_sheet" import { DoubleAnimationParam, Callback_Extender_OnProgress, Callback_Extender_OnFinish } from "./../animation_extender" import { EllipseOptions } from "./../ellipse" import { FormLinkOptions } from "./../form_link" -import { GaugeOptions, GaugeIndicatorOptions, GaugeShadowOptions, Tuple_Union_ResourceColor_LinearGradient_Number } from "./../gauge" +import { GaugeOptions, GaugeShadowOptions, GaugeIndicatorOptions, Tuple_Union_ResourceColor_LinearGradient_Number } from "./../gauge" import { GridColColumnOption, GridColOptions } from "./../grid_col" import { ImageLoadResult } from "./../image_span" import { LineOptions } from "./../line" import { Literal_Number_index } from "./../stepper" -import { Literal_Number_surfaceHeight_surfaceWidth, SurfaceRect, SurfaceRotationOptions, XComponentController, Callback_String_SurfaceRect_Void, Type_XComponentInterface_callable0_value, Type_XComponentInterface_callable1_value, XComponentOptions } from "./../xcomponent" +import { Literal_Number_surfaceHeight_surfaceWidth, SurfaceRect, SurfaceRotationOptions, XComponentController, Callback_String_SurfaceRect_Void, NativeXComponentParameters, Type_XComponentInterface_callable0_value, Type_XComponentInterface_callable1_value, XComponentOptions } from "./../xcomponent" import { MarqueeOptions } from "./../marquee" import { PathOptions } from "./../path" import { PluginComponentTemplate, PluginErrorData, PluginComponentOptions } from "./../plugin_component" @@ -144,17 +144,19 @@ import { PolygonOptions } from "./../polygon" import { PolylineOptions } from "./../polyline" import { RatingOptions, StarStyleOptions } from "./../rating" import { RoundedRectOptions, RectOptions } from "./../rect" -import { RowOptions } from "./../row" +import { RowOptions, RowOptionsV2 } from "./../row" import { StackOptions } from "./../stack" import { TransformationMatrix } from "./../arkui-common" +import { VirtualScrollOptions } from "./../repeat" import { Want } from "./../ohos.app.ability" -import { ColumnSplitDividerStyle } from "./../column_split" import { FlexSpaceOptions, FlexOptions } from "./../flex" import { ImageFrameInfo } from "./../image_animator" import { MenuItemGroupOptions } from "./../menu_item_group" import { MenuItemOptions } from "./../menu_item" -import { RenderNode } from "./../arkui-rendernode" +import { MenuCallback, OnHoverCallback } from "./../sdk-stubs" import { TerminationInfo } from "./../embedded_component" +import { ColumnSplitDividerStyle } from "./../column_split" +import { RenderNode } from "./../arkui-rendernode" import { TextBackgroundStyle } from "./../span" import { Content } from "./../content_slot" export class TypeChecker { @@ -218,6 +220,397 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof AccessibilityOptions") } } + static isAccessibilityRoleType(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (AccessibilityRoleType.ACTION_SHEET)) { + return true + } + else if ((value) === (AccessibilityRoleType.ALERT_DIALOG)) { + return true + } + else if ((value) === (AccessibilityRoleType.INDEXER_COMPONENT)) { + return true + } + else if ((value) === (AccessibilityRoleType.BADGE_COMPONENT)) { + return true + } + else if ((value) === (AccessibilityRoleType.BLANK)) { + return true + } + else if ((value) === (AccessibilityRoleType.BUTTON)) { + return true + } + else if ((value) === (AccessibilityRoleType.BACK_BUTTON)) { + return true + } + else if ((value) === (AccessibilityRoleType.SHEET_DRAG_BAR)) { + return true + } + else if ((value) === (AccessibilityRoleType.CALENDAR_PICKER)) { + return true + } + else if ((value) === (AccessibilityRoleType.CALENDAR)) { + return true + } + else if ((value) === (AccessibilityRoleType.CANVAS)) { + return true + } + else if ((value) === (AccessibilityRoleType.CANVAS_GRADIENT)) { + return true + } + else if ((value) === (AccessibilityRoleType.CANVAS_PATTERN)) { + return true + } + else if ((value) === (AccessibilityRoleType.CHECKBOX)) { + return true + } + else if ((value) === (AccessibilityRoleType.CHECKBOX_GROUP)) { + return true + } + else if ((value) === (AccessibilityRoleType.CIRCLE)) { + return true + } + else if ((value) === (AccessibilityRoleType.COLUMN_SPLIT)) { + return true + } + else if ((value) === (AccessibilityRoleType.COLUMN)) { + return true + } + else if ((value) === (AccessibilityRoleType.CANVAS_RENDERING_CONTEXT_2D)) { + return true + } + else if ((value) === (AccessibilityRoleType.CHART)) { + return true + } + else if ((value) === (AccessibilityRoleType.COUNTER)) { + return true + } + else if ((value) === (AccessibilityRoleType.CONTAINER_MODAL)) { + return true + } + else if ((value) === (AccessibilityRoleType.DATA_PANEL)) { + return true + } + else if ((value) === (AccessibilityRoleType.DATE_PICKER)) { + return true + } + else if ((value) === (AccessibilityRoleType.DIALOG)) { + return true + } + else if ((value) === (AccessibilityRoleType.DIVIDER)) { + return true + } + else if ((value) === (AccessibilityRoleType.DRAG_BAR)) { + return true + } + else if ((value) === (AccessibilityRoleType.EFFECT_COMPONENT)) { + return true + } + else if ((value) === (AccessibilityRoleType.ELLIPSE)) { + return true + } + else if ((value) === (AccessibilityRoleType.FLEX)) { + return true + } + else if ((value) === (AccessibilityRoleType.FLOW_ITEM)) { + return true + } + else if ((value) === (AccessibilityRoleType.FORM_COMPONENT)) { + return true + } + else if ((value) === (AccessibilityRoleType.FORM_LINK)) { + return true + } + else if ((value) === (AccessibilityRoleType.GAUGE)) { + return true + } + else if ((value) === (AccessibilityRoleType.GRID)) { + return true + } + else if ((value) === (AccessibilityRoleType.GRID_COL)) { + return true + } + else if ((value) === (AccessibilityRoleType.GRID_CONTAINER)) { + return true + } + else if ((value) === (AccessibilityRoleType.GRID_ITEM)) { + return true + } + else if ((value) === (AccessibilityRoleType.GRID_ROW)) { + return true + } + else if ((value) === (AccessibilityRoleType.HYPERLINK)) { + return true + } + else if ((value) === (AccessibilityRoleType.IMAGE)) { + return true + } + else if ((value) === (AccessibilityRoleType.IMAGE_ANIMATOR)) { + return true + } + else if ((value) === (AccessibilityRoleType.IMAGE_BITMAP)) { + return true + } + else if ((value) === (AccessibilityRoleType.IMAGE_DATA)) { + return true + } + else if ((value) === (AccessibilityRoleType.IMAGE_SPAN)) { + return true + } + else if ((value) === (AccessibilityRoleType.LABEL)) { + return true + } + else if ((value) === (AccessibilityRoleType.LINE)) { + return true + } + else if ((value) === (AccessibilityRoleType.LIST)) { + return true + } + else if ((value) === (AccessibilityRoleType.LIST_ITEM)) { + return true + } + else if ((value) === (AccessibilityRoleType.LIST_ITEM_GROUP)) { + return true + } + else if ((value) === (AccessibilityRoleType.LOADING_PROGRESS)) { + return true + } + else if ((value) === (AccessibilityRoleType.MARQUEE)) { + return true + } + else if ((value) === (AccessibilityRoleType.MATRIX2D)) { + return true + } + else if ((value) === (AccessibilityRoleType.MENU)) { + return true + } + else if ((value) === (AccessibilityRoleType.MENU_ITEM)) { + return true + } + else if ((value) === (AccessibilityRoleType.MENU_ITEM_GROUP)) { + return true + } + else if ((value) === (AccessibilityRoleType.NAV_DESTINATION)) { + return true + } + else if ((value) === (AccessibilityRoleType.NAV_ROUTER)) { + return true + } + else if ((value) === (AccessibilityRoleType.NAVIGATION)) { + return true + } + else if ((value) === (AccessibilityRoleType.NAVIGATION_BAR)) { + return true + } + else if ((value) === (AccessibilityRoleType.NAVIGATION_MENU)) { + return true + } + else if ((value) === (AccessibilityRoleType.NAVIGATOR)) { + return true + } + else if ((value) === (AccessibilityRoleType.OFFSCREEN_CANVAS)) { + return true + } + else if ((value) === (AccessibilityRoleType.OFFSCREEN_CANVAS_RENDERING_CONTEXT2D)) { + return true + } + else if ((value) === (AccessibilityRoleType.OPTION)) { + return true + } + else if ((value) === (AccessibilityRoleType.PANEL)) { + return true + } + else if ((value) === (AccessibilityRoleType.PAPER_PAGE)) { + return true + } + else if ((value) === (AccessibilityRoleType.PATH)) { + return true + } + else if ((value) === (AccessibilityRoleType.PATH2D)) { + return true + } + else if ((value) === (AccessibilityRoleType.PATTERN_LOCK)) { + return true + } + else if ((value) === (AccessibilityRoleType.PICKER)) { + return true + } + else if ((value) === (AccessibilityRoleType.PICKER_VIEW)) { + return true + } + else if ((value) === (AccessibilityRoleType.PLUGIN_COMPONENT)) { + return true + } + else if ((value) === (AccessibilityRoleType.POLYGON)) { + return true + } + else if ((value) === (AccessibilityRoleType.POLYLINE)) { + return true + } + else if ((value) === (AccessibilityRoleType.POPUP)) { + return true + } + else if ((value) === (AccessibilityRoleType.PROGRESS)) { + return true + } + else if ((value) === (AccessibilityRoleType.QRCODE)) { + return true + } + else if ((value) === (AccessibilityRoleType.RADIO)) { + return true + } + else if ((value) === (AccessibilityRoleType.RATING)) { + return true + } + else if ((value) === (AccessibilityRoleType.RECT)) { + return true + } + else if ((value) === (AccessibilityRoleType.REFRESH)) { + return true + } + else if ((value) === (AccessibilityRoleType.RELATIVE_CONTAINER)) { + return true + } + else if ((value) === (AccessibilityRoleType.REMOTE_WINDOW)) { + return true + } + else if ((value) === (AccessibilityRoleType.RICH_EDITOR)) { + return true + } + else if ((value) === (AccessibilityRoleType.RICH_TEXT)) { + return true + } + else if ((value) === (AccessibilityRoleType.ROLE_PAGER)) { + return true + } + else if ((value) === (AccessibilityRoleType.ROW)) { + return true + } + else if ((value) === (AccessibilityRoleType.ROW_SPLIT)) { + return true + } + else if ((value) === (AccessibilityRoleType.SCROLL)) { + return true + } + else if ((value) === (AccessibilityRoleType.SCROLL_BAR)) { + return true + } + else if ((value) === (AccessibilityRoleType.SEARCH)) { + return true + } + else if ((value) === (AccessibilityRoleType.SEARCH_FIELD)) { + return true + } + else if ((value) === (AccessibilityRoleType.SELECT)) { + return true + } + else if ((value) === (AccessibilityRoleType.SHAPE)) { + return true + } + else if ((value) === (AccessibilityRoleType.SIDEBAR_CONTAINER)) { + return true + } + else if ((value) === (AccessibilityRoleType.SLIDER)) { + return true + } + else if ((value) === (AccessibilityRoleType.SPAN)) { + return true + } + else if ((value) === (AccessibilityRoleType.STACK)) { + return true + } + else if ((value) === (AccessibilityRoleType.STEPPER)) { + return true + } + else if ((value) === (AccessibilityRoleType.STEPPER_ITEM)) { + return true + } + else if ((value) === (AccessibilityRoleType.SWIPER)) { + return true + } + else if ((value) === (AccessibilityRoleType.SWIPER_INDICATOR)) { + return true + } + else if ((value) === (AccessibilityRoleType.SWITCH)) { + return true + } + else if ((value) === (AccessibilityRoleType.SYMBOL_GLYPH)) { + return true + } + else if ((value) === (AccessibilityRoleType.TAB_CONTENT)) { + return true + } + else if ((value) === (AccessibilityRoleType.TAB_BAR)) { + return true + } + else if ((value) === (AccessibilityRoleType.TABS)) { + return true + } + else if ((value) === (AccessibilityRoleType.TEXT)) { + return true + } + else if ((value) === (AccessibilityRoleType.TEXT_CLOCK)) { + return true + } + else if ((value) === (AccessibilityRoleType.TEXT_ENTRY)) { + return true + } + else if ((value) === (AccessibilityRoleType.TEXT_INPUT)) { + return true + } + else if ((value) === (AccessibilityRoleType.TEXT_PICKER)) { + return true + } + else if ((value) === (AccessibilityRoleType.TEXT_TIMER)) { + return true + } + else if ((value) === (AccessibilityRoleType.TEXT_AREA)) { + return true + } + else if ((value) === (AccessibilityRoleType.TEXT_FIELD)) { + return true + } + else if ((value) === (AccessibilityRoleType.TIME_PICKER)) { + return true + } + else if ((value) === (AccessibilityRoleType.TITLE_BAR)) { + return true + } + else if ((value) === (AccessibilityRoleType.TOGGLER)) { + return true + } + else if ((value) === (AccessibilityRoleType.UI_EXTENSION_COMPONENT)) { + return true + } + else if ((value) === (AccessibilityRoleType.VIDEO)) { + return true + } + else if ((value) === (AccessibilityRoleType.WATER_FLOW)) { + return true + } + else if ((value) === (AccessibilityRoleType.WEB)) { + return true + } + else if ((value) === (AccessibilityRoleType.XCOMPONENT)) { + return true + } + else if ((value) === (AccessibilityRoleType.ROLE_NONE)) { + return true + } + else { + throw new Error("Can not discriminate value typeof AccessibilityRoleType") + } + } + static isAccessibilitySamePageMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (AccessibilitySamePageMode.SEMI_SILENT)) { + return true + } + else if ((value) === (AccessibilitySamePageMode.FULL_SILENT)) { + return true + } + else { + throw new Error("Can not discriminate value typeof AccessibilitySamePageMode") + } + } static isActionSheetButtonOptions(value: Object | string | number | undefined | boolean, duplicated_enabled: boolean, duplicated_defaultFocus: boolean, duplicated_style: boolean, duplicated_value: boolean, duplicated_action: boolean): boolean { if ((!duplicated_value) && (value?.hasOwnProperty("value"))) { return true @@ -249,7 +642,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ActionSheetOffset") } } - static isActionSheetOptions(value: Object | string | number | undefined | boolean, duplicated_title: boolean, duplicated_subtitle: boolean, duplicated_message: boolean, duplicated_confirm: boolean, duplicated_cancel: boolean, duplicated_sheets: boolean, duplicated_autoCancel: boolean, duplicated_alignment: boolean, duplicated_offset: boolean, duplicated_maskRect: boolean, duplicated_showInSubWindow: boolean, duplicated_isModal: boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_onWillDismiss: boolean, duplicated_transition: boolean, duplicated_cornerRadius: boolean, duplicated_width: boolean, duplicated_height: boolean, duplicated_borderWidth: boolean, duplicated_borderColor: boolean, duplicated_borderStyle: boolean, duplicated_shadow: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean): boolean { + static isActionSheetOptions(value: Object | string | number | undefined | boolean, duplicated_title: boolean, duplicated_subtitle: boolean, duplicated_message: boolean, duplicated_confirm: boolean, duplicated_cancel: boolean, duplicated_sheets: boolean, duplicated_autoCancel: boolean, duplicated_alignment: boolean, duplicated_offset: boolean, duplicated_maskRect: boolean, duplicated_showInSubWindow: boolean, duplicated_isModal: boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_backgroundBlurStyleOptions: boolean, duplicated_backgroundEffect: boolean, duplicated_onWillDismiss: boolean, duplicated_transition: boolean, duplicated_cornerRadius: boolean, duplicated_width: boolean, duplicated_height: boolean, duplicated_borderWidth: boolean, duplicated_borderColor: boolean, duplicated_borderStyle: boolean, duplicated_shadow: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean, duplicated_onDidAppear: boolean, duplicated_onDidDisappear: boolean, duplicated_onWillAppear: boolean, duplicated_onWillDisappear: boolean, duplicated_levelMode: boolean, duplicated_levelUniqueId: boolean, duplicated_immersiveMode: boolean, duplicated_levelOrder: boolean): boolean { if ((!duplicated_title) && (value?.hasOwnProperty("title"))) { return true } @@ -292,6 +685,12 @@ export class TypeChecker { else if ((!duplicated_backgroundBlurStyle) && (value?.hasOwnProperty("backgroundBlurStyle"))) { return true } + else if ((!duplicated_backgroundBlurStyleOptions) && (value?.hasOwnProperty("backgroundBlurStyleOptions"))) { + return true + } + else if ((!duplicated_backgroundEffect) && (value?.hasOwnProperty("backgroundEffect"))) { + return true + } else if ((!duplicated_onWillDismiss) && (value?.hasOwnProperty("onWillDismiss"))) { return true } @@ -325,6 +724,30 @@ export class TypeChecker { else if ((!duplicated_hoverModeArea) && (value?.hasOwnProperty("hoverModeArea"))) { return true } + else if ((!duplicated_onDidAppear) && (value?.hasOwnProperty("onDidAppear"))) { + return true + } + else if ((!duplicated_onDidDisappear) && (value?.hasOwnProperty("onDidDisappear"))) { + return true + } + else if ((!duplicated_onWillAppear) && (value?.hasOwnProperty("onWillAppear"))) { + return true + } + else if ((!duplicated_onWillDisappear) && (value?.hasOwnProperty("onWillDisappear"))) { + return true + } + else if ((!duplicated_levelMode) && (value?.hasOwnProperty("levelMode"))) { + return true + } + else if ((!duplicated_levelUniqueId) && (value?.hasOwnProperty("levelUniqueId"))) { + return true + } + else if ((!duplicated_immersiveMode) && (value?.hasOwnProperty("immersiveMode"))) { + return true + } + else if ((!duplicated_levelOrder) && (value?.hasOwnProperty("levelOrder"))) { + return true + } else { throw new Error("Can not discriminate value typeof ActionSheetOptions") } @@ -623,6 +1046,12 @@ export class TypeChecker { else if ((value) === (AnimationMode.NO_ANIMATION)) { return true } + else if ((value) === (AnimationMode.CONTENT_FIRST_WITH_JUMP)) { + return true + } + else if ((value) === (AnimationMode.ACTION_FIRST_WITH_JUMP)) { + return true + } else { throw new Error("Can not discriminate value typeof AnimationMode") } @@ -756,6 +1185,42 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ASTCResource") } } + static isAutoCapitalizationMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (AutoCapitalizationMode.NONE)) { + return true + } + else if ((value) === (AutoCapitalizationMode.WORDS)) { + return true + } + else if ((value) === (AutoCapitalizationMode.SENTENCES)) { + return true + } + else if ((value) === (AutoCapitalizationMode.ALL_CHARACTERS)) { + return true + } + else { + throw new Error("Can not discriminate value typeof AutoCapitalizationMode") + } + } + static isAutoPlayOptions(value: Object | string | number | undefined | boolean, duplicated_stopWhenTouched: boolean): boolean { + if ((!duplicated_stopWhenTouched) && (value?.hasOwnProperty("stopWhenTouched"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof AutoPlayOptions") + } + } + static isAvoidanceMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (AvoidanceMode.COVER_TARGET)) { + return true + } + else if ((value) === (AvoidanceMode.AVOID_AROUND_TARGET)) { + return true + } + else { + throw new Error("Can not discriminate value typeof AvoidanceMode") + } + } static isAxis(value: Object | string | number | undefined | boolean): boolean { if ((value) === (Axis.Vertical)) { return true @@ -767,6 +1232,87 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof Axis") } } + static isAxisAction(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (AxisAction.NONE)) { + return true + } + else if ((value) === (AxisAction.BEGIN)) { + return true + } + else if ((value) === (AxisAction.UPDATE)) { + return true + } + else if ((value) === (AxisAction.END)) { + return true + } + else if ((value) === (AxisAction.CANCEL)) { + return true + } + else { + throw new Error("Can not discriminate value typeof AxisAction") + } + } + static isAxisEvent(value: Object | string | number | undefined | boolean, duplicated_action: boolean, duplicated_displayX: boolean, duplicated_displayY: boolean, duplicated_windowX: boolean, duplicated_windowY: boolean, duplicated_x: boolean, duplicated_y: boolean, duplicated_scrollStep: boolean, duplicated_propagation: boolean): boolean { + if ((!duplicated_action) && (value?.hasOwnProperty("action"))) { + return true + } + else if ((!duplicated_displayX) && (value?.hasOwnProperty("displayX"))) { + return true + } + else if ((!duplicated_displayY) && (value?.hasOwnProperty("displayY"))) { + return true + } + else if ((!duplicated_windowX) && (value?.hasOwnProperty("windowX"))) { + return true + } + else if ((!duplicated_windowY) && (value?.hasOwnProperty("windowY"))) { + return true + } + else if ((!duplicated_x) && (value?.hasOwnProperty("x"))) { + return true + } + else if ((!duplicated_y) && (value?.hasOwnProperty("y"))) { + return true + } + else if ((!duplicated_propagation) && (value?.hasOwnProperty("propagation"))) { + return true + } + else if ((!duplicated_scrollStep) && (value?.hasOwnProperty("scrollStep"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof AxisEvent") + } + } + static isAxisModel(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (AxisModel.ABS_X)) { + return true + } + else if ((value) === (AxisModel.ABS_Y)) { + return true + } + else if ((value) === (AxisModel.ABS_Z)) { + return true + } + else if ((value) === (AxisModel.ABS_RZ)) { + return true + } + else if ((value) === (AxisModel.ABS_GAS)) { + return true + } + else if ((value) === (AxisModel.ABS_BRAKE)) { + return true + } + else if ((value) === (AxisModel.ABS_HAT0X)) { + return true + } + else if ((value) === (AxisModel.ABS_HAT0Y)) { + return true + } + else { + throw new Error("Can not discriminate value typeof AxisModel") + } + } static isBackgroundBlurStyleOptions(value: Object | string | number | undefined | boolean, duplicated_policy: boolean, duplicated_inactiveColor: boolean): boolean { if ((!duplicated_policy) && (value?.hasOwnProperty("policy"))) { return true @@ -826,6 +1372,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof BackgroundEffectOptions") } } + static isBackgroundImageOptions(value: Object | string | number | undefined | boolean, duplicated_syncLoad: boolean, duplicated_repeat: boolean): boolean { + if ((!duplicated_syncLoad) && (value?.hasOwnProperty("syncLoad"))) { + return true + } + else if ((!duplicated_repeat) && (value?.hasOwnProperty("repeat"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof BackgroundImageOptions") + } + } static isBadgeParamWithNumber(value: Object | string | number | undefined | boolean, duplicated_count: boolean, duplicated_maxCount: boolean): boolean { if ((!duplicated_count) && (value?.hasOwnProperty("count"))) { return true @@ -994,7 +1551,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof BaseContext") } } - static isBaseEvent(value: Object | string | number | undefined | boolean, duplicated_target: boolean, duplicated_timestamp: boolean, duplicated_source: boolean, duplicated_axisHorizontal: boolean, duplicated_axisVertical: boolean, duplicated_pressure: boolean, duplicated_tiltX: boolean, duplicated_tiltY: boolean, duplicated_sourceTool: boolean, duplicated_deviceId: boolean): boolean { + static isBaseEvent(value: Object | string | number | undefined | boolean, duplicated_target: boolean, duplicated_timestamp: boolean, duplicated_source: boolean, duplicated_axisHorizontal: boolean, duplicated_axisVertical: boolean, duplicated_pressure: boolean, duplicated_tiltX: boolean, duplicated_tiltY: boolean, duplicated_rollAngle: boolean, duplicated_sourceTool: boolean, duplicated_deviceId: boolean, duplicated_targetDisplayId: boolean): boolean { if ((!duplicated_target) && (value?.hasOwnProperty("target"))) { return true } @@ -1022,9 +1579,15 @@ export class TypeChecker { else if ((!duplicated_axisVertical) && (value?.hasOwnProperty("axisVertical"))) { return true } + else if ((!duplicated_rollAngle) && (value?.hasOwnProperty("rollAngle"))) { + return true + } else if ((!duplicated_deviceId) && (value?.hasOwnProperty("deviceId"))) { return true } + else if ((!duplicated_targetDisplayId) && (value?.hasOwnProperty("targetDisplayId"))) { + return true + } else { throw new Error("Can not discriminate value typeof BaseEvent") } @@ -1162,6 +1725,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof BlendMode") } } + static isBlurOnKeyboardHideMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (BlurOnKeyboardHideMode.SILENT)) { + return true + } + else if ((value) === (BlurOnKeyboardHideMode.BLUR)) { + return true + } + else { + throw new Error("Can not discriminate value typeof BlurOnKeyboardHideMode") + } + } static isBlurOptions(value: Object | string | number | undefined | boolean, duplicated_grayscale: boolean): boolean { if ((!duplicated_grayscale) && (value?.hasOwnProperty("grayscale"))) { return true @@ -1580,7 +2154,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof CalendarDay") } } - static isCalendarDialogOptions(value: Object | string | number | undefined | boolean, duplicated_onAccept: boolean, duplicated_onCancel: boolean, duplicated_onChange: boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_acceptButtonStyle: boolean, duplicated_cancelButtonStyle: boolean, duplicated_onDidAppear: boolean, duplicated_onDidDisappear: boolean, duplicated_onWillAppear: boolean, duplicated_onWillDisappear: boolean, duplicated_shadow: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean): boolean { + static isCalendarDialogOptions(value: Object | string | number | undefined | boolean, duplicated_onAccept: boolean, duplicated_onCancel: boolean, duplicated_onChange: boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_backgroundBlurStyleOptions: boolean, duplicated_backgroundEffect: boolean, duplicated_acceptButtonStyle: boolean, duplicated_cancelButtonStyle: boolean, duplicated_onDidAppear: boolean, duplicated_onDidDisappear: boolean, duplicated_onWillAppear: boolean, duplicated_onWillDisappear: boolean, duplicated_shadow: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean, duplicated_markToday: boolean): boolean { if ((!duplicated_onAccept) && (value?.hasOwnProperty("onAccept"))) { return true } @@ -1596,6 +2170,12 @@ export class TypeChecker { else if ((!duplicated_backgroundBlurStyle) && (value?.hasOwnProperty("backgroundBlurStyle"))) { return true } + else if ((!duplicated_backgroundBlurStyleOptions) && (value?.hasOwnProperty("backgroundBlurStyleOptions"))) { + return true + } + else if ((!duplicated_backgroundEffect) && (value?.hasOwnProperty("backgroundEffect"))) { + return true + } else if ((!duplicated_acceptButtonStyle) && (value?.hasOwnProperty("acceptButtonStyle"))) { return true } @@ -1623,28 +2203,43 @@ export class TypeChecker { else if ((!duplicated_hoverModeArea) && (value?.hasOwnProperty("hoverModeArea"))) { return true } + else if ((!duplicated_markToday) && (value?.hasOwnProperty("markToday"))) { + return true + } else { throw new Error("Can not discriminate value typeof CalendarDialogOptions") } } - static isCalendarOptions(value: Object | string | number | undefined | boolean, duplicated_hintRadius: boolean, duplicated_selected: boolean): boolean { + static isCalendarOptions(value: Object | string | number | undefined | boolean, duplicated_hintRadius: boolean, duplicated_selected: boolean, duplicated_start: boolean, duplicated_end: boolean, duplicated_disabledDateRange: boolean): boolean { if ((!duplicated_hintRadius) && (value?.hasOwnProperty("hintRadius"))) { return true } else if ((!duplicated_selected) && (value?.hasOwnProperty("selected"))) { return true } + else if ((!duplicated_start) && (value?.hasOwnProperty("start"))) { + return true + } + else if ((!duplicated_end) && (value?.hasOwnProperty("end"))) { + return true + } + else if ((!duplicated_disabledDateRange) && (value?.hasOwnProperty("disabledDateRange"))) { + return true + } else { throw new Error("Can not discriminate value typeof CalendarOptions") } } - static isCalendarPickerAttribute(value: Object | string | number | undefined | boolean, duplicated_textStyle: boolean, duplicated_onChange: boolean): boolean { + static isCalendarPickerAttribute(value: Object | string | number | undefined | boolean, duplicated_textStyle: boolean, duplicated_onChange: boolean, duplicated_markToday: boolean): boolean { if ((!duplicated_textStyle) && (value?.hasOwnProperty("textStyle"))) { return true } else if ((!duplicated_onChange) && (value?.hasOwnProperty("onChange"))) { return true } + else if ((!duplicated_markToday) && (value?.hasOwnProperty("markToday"))) { + return true + } else { throw new Error("Can not discriminate value typeof CalendarPickerAttribute") } @@ -1728,8 +2323,11 @@ export class TypeChecker { static isCanvasPattern(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof CanvasPattern") } - static isCanvasRenderer(value: Object | string | number | undefined | boolean, duplicated_globalAlpha: boolean, duplicated_globalCompositeOperation: boolean, duplicated_fillStyle: boolean, duplicated_strokeStyle: boolean, duplicated_filter: boolean, duplicated_imageSmoothingEnabled: boolean, duplicated_imageSmoothingQuality: boolean, duplicated_lineCap: boolean, duplicated_lineDashOffset: boolean, duplicated_lineJoin: boolean, duplicated_lineWidth: boolean, duplicated_miterLimit: boolean, duplicated_shadowBlur: boolean, duplicated_shadowColor: boolean, duplicated_shadowOffsetX: boolean, duplicated_shadowOffsetY: boolean, duplicated_direction: boolean, duplicated_font: boolean, duplicated_textAlign: boolean, duplicated_textBaseline: boolean): boolean { - if ((!duplicated_globalAlpha) && (value?.hasOwnProperty("globalAlpha"))) { + static isCanvasRenderer(value: Object | string | number | undefined | boolean, duplicated_letterSpacing: boolean, duplicated_globalAlpha: boolean, duplicated_globalCompositeOperation: boolean, duplicated_fillStyle: boolean, duplicated_strokeStyle: boolean, duplicated_filter: boolean, duplicated_imageSmoothingEnabled: boolean, duplicated_imageSmoothingQuality: boolean, duplicated_lineCap: boolean, duplicated_lineDashOffset: boolean, duplicated_lineJoin: boolean, duplicated_lineWidth: boolean, duplicated_miterLimit: boolean, duplicated_shadowBlur: boolean, duplicated_shadowColor: boolean, duplicated_shadowOffsetX: boolean, duplicated_shadowOffsetY: boolean, duplicated_direction: boolean, duplicated_font: boolean, duplicated_textAlign: boolean, duplicated_textBaseline: boolean): boolean { + if ((!duplicated_letterSpacing) && (value?.hasOwnProperty("letterSpacing"))) { + return true + } + else if ((!duplicated_globalAlpha) && (value?.hasOwnProperty("globalAlpha"))) { return true } else if ((!duplicated_globalCompositeOperation) && (value?.hasOwnProperty("globalCompositeOperation"))) { @@ -1807,7 +2405,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof CanvasRenderingContext2D") } } - static isCapsuleStyleOptions(value: Object | string | number | undefined | boolean, duplicated_borderColor: boolean, duplicated_borderWidth: boolean, duplicated_content: boolean, duplicated_font: boolean, duplicated_fontColor: boolean, duplicated_showDefaultPercentage: boolean): boolean { + static isCapsuleStyleOptions(value: Object | string | number | undefined | boolean, duplicated_borderColor: boolean, duplicated_borderWidth: boolean, duplicated_content: boolean, duplicated_font: boolean, duplicated_fontColor: boolean, duplicated_showDefaultPercentage: boolean, duplicated_borderRadius: boolean): boolean { if ((!duplicated_borderColor) && (value?.hasOwnProperty("borderColor"))) { return true } @@ -1826,6 +2424,9 @@ export class TypeChecker { else if ((!duplicated_showDefaultPercentage) && (value?.hasOwnProperty("showDefaultPercentage"))) { return true } + else if ((!duplicated_borderRadius) && (value?.hasOwnProperty("borderRadius"))) { + return true + } else { throw new Error("Can not discriminate value typeof CapsuleStyleOptions") } @@ -1997,7 +2598,7 @@ export class TypeChecker { static isCircleShape(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof CircleShape") } - static isCircleStyleOptions(value: Object | string | number | undefined | boolean, duplicated_color: boolean, duplicated_radius: boolean, duplicated_enableWaveEffect: boolean): boolean { + static isCircleStyleOptions(value: Object | string | number | undefined | boolean, duplicated_color: boolean, duplicated_radius: boolean, duplicated_enableWaveEffect: boolean, duplicated_enableForeground: boolean): boolean { if ((!duplicated_color) && (value?.hasOwnProperty("color"))) { return true } @@ -2007,6 +2608,9 @@ export class TypeChecker { else if ((!duplicated_enableWaveEffect) && (value?.hasOwnProperty("enableWaveEffect"))) { return true } + else if ((!duplicated_enableForeground) && (value?.hasOwnProperty("enableForeground"))) { + return true + } else { throw new Error("Can not discriminate value typeof CircleStyleOptions") } @@ -2036,7 +2640,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ClickEffectLevel") } } - static isClickEvent(value: Object | string | number | undefined | boolean, duplicated_displayX: boolean, duplicated_displayY: boolean, duplicated_windowX: boolean, duplicated_windowY: boolean, duplicated_screenX: boolean, duplicated_screenY: boolean, duplicated_x: boolean, duplicated_y: boolean, duplicated_preventDefault: boolean): boolean { + static isClickEvent(value: Object | string | number | undefined | boolean, duplicated_displayX: boolean, duplicated_displayY: boolean, duplicated_windowX: boolean, duplicated_windowY: boolean, duplicated_screenX: boolean, duplicated_screenY: boolean, duplicated_x: boolean, duplicated_y: boolean, duplicated_hand: boolean, duplicated_preventDefault: boolean): boolean { if ((!duplicated_displayX) && (value?.hasOwnProperty("displayX"))) { return true } @@ -2064,6 +2668,9 @@ export class TypeChecker { else if ((!duplicated_preventDefault) && (value?.hasOwnProperty("preventDefault"))) { return true } + else if ((!duplicated_hand) && (value?.hasOwnProperty("hand"))) { + return true + } else { throw new Error("Can not discriminate value typeof ClickEvent") } @@ -2120,6 +2727,9 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof Color") } } + static isColorContent(value: Object | string | number | undefined | boolean): boolean { + throw new Error("Can not discriminate value typeof ColorContent") + } static isColorFilter(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof ColorFilter") } @@ -2187,6 +2797,14 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ColumnOptions") } } + static isColumnOptionsV2(value: Object | string | number | undefined | boolean, duplicated_stub: boolean): boolean { + if ((!duplicated_stub) && (value?.hasOwnProperty("stub"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof ColumnOptionsV2") + } + } static isColumnSplitDividerStyle(value: Object | string | number | undefined | boolean, duplicated_startMargin: boolean, duplicated_endMargin: boolean): boolean { if ((!duplicated_startMargin) && (value?.hasOwnProperty("startMargin"))) { return true @@ -2221,11 +2839,19 @@ export class TypeChecker { if ((!duplicated_enabled) && (value?.hasOwnProperty("enabled"))) { return true } - else if ((!duplicated_contentModifier) && (value?.hasOwnProperty("contentModifier"))) { + else if ((!duplicated_contentModifier) && (value?.hasOwnProperty("contentModifier"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof CommonConfiguration") + } + } + static isCommonModifier(value: Object | string | number | undefined | boolean, duplicated__CommonModifierStub: boolean): boolean { + if ((!duplicated__CommonModifierStub) && (value?.hasOwnProperty("_CommonModifierStub"))) { return true } else { - throw new Error("Can not discriminate value typeof CommonConfiguration") + throw new Error("Can not discriminate value typeof CommonModifier") } } static isCommonShape(value: Object | string | number | undefined | boolean): boolean { @@ -2420,6 +3046,42 @@ export class TypeChecker { else if ((value) === (ContentType.FORMAT_ADDRESS)) { return true } + else if ((value) === (ContentType.PASSPORT_NUMBER)) { + return true + } + else if ((value) === (ContentType.VALIDITY)) { + return true + } + else if ((value) === (ContentType.ISSUE_AT)) { + return true + } + else if ((value) === (ContentType.ORGANIZATION)) { + return true + } + else if ((value) === (ContentType.TAX_ID)) { + return true + } + else if ((value) === (ContentType.ADDRESS_CITY_AND_STATE)) { + return true + } + else if ((value) === (ContentType.FLIGHT_NUMBER)) { + return true + } + else if ((value) === (ContentType.LICENSE_NUMBER)) { + return true + } + else if ((value) === (ContentType.LICENSE_FILE_NUMBER)) { + return true + } + else if ((value) === (ContentType.LICENSE_PLATE)) { + return true + } + else if ((value) === (ContentType.ENGINE_NUMBER)) { + return true + } + else if ((value) === (ContentType.LICENSE_CHASSIS_NUMBER)) { + return true + } else { throw new Error("Can not discriminate value typeof ContentType") } @@ -2524,7 +3186,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ContextMenuMediaType") } } - static isContextMenuOptions(value: Object | string | number | undefined | boolean, duplicated_offset: boolean, duplicated_placement: boolean, duplicated_enableArrow: boolean, duplicated_arrowOffset: boolean, duplicated_preview: boolean, duplicated_borderRadius: boolean, duplicated_onAppear: boolean, duplicated_onDisappear: boolean, duplicated_aboutToAppear: boolean, duplicated_aboutToDisappear: boolean, duplicated_layoutRegionMargin: boolean, duplicated_previewAnimationOptions: boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_transition: boolean, duplicated_enableHoverMode: boolean): boolean { + static isContextMenuOptions(value: Object | string | number | undefined | boolean, duplicated_offset: boolean, duplicated_placement: boolean, duplicated_enableArrow: boolean, duplicated_arrowOffset: boolean, duplicated_preview: boolean, duplicated_previewBorderRadius: boolean, duplicated_borderRadius: boolean, duplicated_onAppear: boolean, duplicated_onDisappear: boolean, duplicated_aboutToAppear: boolean, duplicated_aboutToDisappear: boolean, duplicated_layoutRegionMargin: boolean, duplicated_previewAnimationOptions: boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_backgroundBlurStyleOptions: boolean, duplicated_backgroundEffect: boolean, duplicated_transition: boolean, duplicated_enableHoverMode: boolean, duplicated_outlineColor: boolean, duplicated_outlineWidth: boolean, duplicated_hapticFeedbackMode: boolean): boolean { if ((!duplicated_offset) && (value?.hasOwnProperty("offset"))) { return true } @@ -2540,6 +3202,9 @@ export class TypeChecker { else if ((!duplicated_preview) && (value?.hasOwnProperty("preview"))) { return true } + else if ((!duplicated_previewBorderRadius) && (value?.hasOwnProperty("previewBorderRadius"))) { + return true + } else if ((!duplicated_borderRadius) && (value?.hasOwnProperty("borderRadius"))) { return true } @@ -2567,12 +3232,27 @@ export class TypeChecker { else if ((!duplicated_backgroundBlurStyle) && (value?.hasOwnProperty("backgroundBlurStyle"))) { return true } + else if ((!duplicated_backgroundBlurStyleOptions) && (value?.hasOwnProperty("backgroundBlurStyleOptions"))) { + return true + } + else if ((!duplicated_backgroundEffect) && (value?.hasOwnProperty("backgroundEffect"))) { + return true + } else if ((!duplicated_transition) && (value?.hasOwnProperty("transition"))) { return true } else if ((!duplicated_enableHoverMode) && (value?.hasOwnProperty("enableHoverMode"))) { return true } + else if ((!duplicated_outlineColor) && (value?.hasOwnProperty("outlineColor"))) { + return true + } + else if ((!duplicated_outlineWidth) && (value?.hasOwnProperty("outlineWidth"))) { + return true + } + else if ((!duplicated_hapticFeedbackMode) && (value?.hasOwnProperty("hapticFeedbackMode"))) { + return true + } else { throw new Error("Can not discriminate value typeof ContextMenuOptions") } @@ -2647,6 +3327,54 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof CornerRadius") } } + static isCrownAction(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (CrownAction.BEGIN)) { + return true + } + else if ((value) === (CrownAction.UPDATE)) { + return true + } + else if ((value) === (CrownAction.END)) { + return true + } + else { + throw new Error("Can not discriminate value typeof CrownAction") + } + } + static isCrownEvent(value: Object | string | number | undefined | boolean, duplicated_timestamp: boolean, duplicated_angularVelocity: boolean, duplicated_degree: boolean, duplicated_action: boolean, duplicated_stopPropagation: boolean): boolean { + if ((!duplicated_timestamp) && (value?.hasOwnProperty("timestamp"))) { + return true + } + else if ((!duplicated_angularVelocity) && (value?.hasOwnProperty("angularVelocity"))) { + return true + } + else if ((!duplicated_degree) && (value?.hasOwnProperty("degree"))) { + return true + } + else if ((!duplicated_action) && (value?.hasOwnProperty("action"))) { + return true + } + else if ((!duplicated_stopPropagation) && (value?.hasOwnProperty("stopPropagation"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof CrownEvent") + } + } + static isCrownSensitivity(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (CrownSensitivity.LOW)) { + return true + } + else if ((value) === (CrownSensitivity.MEDIUM)) { + return true + } + else if ((value) === (CrownSensitivity.HIGH)) { + return true + } + else { + throw new Error("Can not discriminate value typeof CrownSensitivity") + } + } static isCurrentDayStyle(value: Object | string | number | undefined | boolean, duplicated_dayColor: boolean, duplicated_lunarColor: boolean, duplicated_markLunarColor: boolean, duplicated_dayFontSize: boolean, duplicated_lunarDayFontSize: boolean, duplicated_dayHeight: boolean, duplicated_dayWidth: boolean, duplicated_gregorianCalendarHeight: boolean, duplicated_dayYAxisOffset: boolean, duplicated_lunarDayYAxisOffset: boolean, duplicated_underscoreXAxisOffset: boolean, duplicated_underscoreYAxisOffset: boolean, duplicated_scheduleMarkerXAxisOffset: boolean, duplicated_scheduleMarkerYAxisOffset: boolean, duplicated_colSpace: boolean, duplicated_dailyFiveRowSpace: boolean, duplicated_dailySixRowSpace: boolean, duplicated_lunarHeight: boolean, duplicated_underscoreWidth: boolean, duplicated_underscoreLength: boolean, duplicated_scheduleMarkerRadius: boolean, duplicated_boundaryRowOffset: boolean, duplicated_boundaryColOffset: boolean): boolean { if ((!duplicated_dayColor) && (value?.hasOwnProperty("dayColor"))) { return true @@ -2945,7 +3673,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof CustomDialogControllerBuilder") } } - static isCustomDialogControllerOptions(value: Object | string | number | undefined | boolean, duplicated_builder: boolean, duplicated_cancel: boolean, duplicated_autoCancel: boolean, duplicated_alignment: boolean, duplicated_offset: boolean, duplicated_customStyle: boolean, duplicated_gridCount: boolean, duplicated_maskColor: boolean, duplicated_maskRect: boolean, duplicated_openAnimation: boolean, duplicated_closeAnimation: boolean, duplicated_showInSubWindow: boolean, duplicated_backgroundColor: boolean, duplicated_cornerRadius: boolean, duplicated_isModal: boolean, duplicated_onWillDismiss: boolean, duplicated_width: boolean, duplicated_height: boolean, duplicated_borderWidth: boolean, duplicated_borderColor: boolean, duplicated_borderStyle: boolean, duplicated_shadow: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_keyboardAvoidMode: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean): boolean { + static isCustomDialogControllerOptions(value: Object | string | number | undefined | boolean, duplicated_builder: boolean, duplicated_cancel: boolean, duplicated_autoCancel: boolean, duplicated_alignment: boolean, duplicated_offset: boolean, duplicated_customStyle: boolean, duplicated_gridCount: boolean, duplicated_maskColor: boolean, duplicated_maskRect: boolean, duplicated_openAnimation: boolean, duplicated_closeAnimation: boolean, duplicated_showInSubWindow: boolean, duplicated_backgroundColor: boolean, duplicated_cornerRadius: boolean, duplicated_isModal: boolean, duplicated_onWillDismiss: boolean, duplicated_width: boolean, duplicated_height: boolean, duplicated_borderWidth: boolean, duplicated_borderColor: boolean, duplicated_borderStyle: boolean, duplicated_shadow: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_backgroundBlurStyleOptions: boolean, duplicated_backgroundEffect: boolean, duplicated_keyboardAvoidMode: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean, duplicated_onDidAppear: boolean, duplicated_onDidDisappear: boolean, duplicated_onWillAppear: boolean, duplicated_onWillDisappear: boolean, duplicated_keyboardAvoidDistance: boolean, duplicated_levelMode: boolean, duplicated_levelUniqueId: boolean, duplicated_immersiveMode: boolean, duplicated_levelOrder: boolean, duplicated_focusable: boolean): boolean { if ((!duplicated_builder) && (value?.hasOwnProperty("builder"))) { return true } @@ -3015,6 +3743,12 @@ export class TypeChecker { else if ((!duplicated_backgroundBlurStyle) && (value?.hasOwnProperty("backgroundBlurStyle"))) { return true } + else if ((!duplicated_backgroundBlurStyleOptions) && (value?.hasOwnProperty("backgroundBlurStyleOptions"))) { + return true + } + else if ((!duplicated_backgroundEffect) && (value?.hasOwnProperty("backgroundEffect"))) { + return true + } else if ((!duplicated_keyboardAvoidMode) && (value?.hasOwnProperty("keyboardAvoidMode"))) { return true } @@ -3024,11 +3758,41 @@ export class TypeChecker { else if ((!duplicated_hoverModeArea) && (value?.hasOwnProperty("hoverModeArea"))) { return true } + else if ((!duplicated_onDidAppear) && (value?.hasOwnProperty("onDidAppear"))) { + return true + } + else if ((!duplicated_onDidDisappear) && (value?.hasOwnProperty("onDidDisappear"))) { + return true + } + else if ((!duplicated_onWillAppear) && (value?.hasOwnProperty("onWillAppear"))) { + return true + } + else if ((!duplicated_onWillDisappear) && (value?.hasOwnProperty("onWillDisappear"))) { + return true + } + else if ((!duplicated_keyboardAvoidDistance) && (value?.hasOwnProperty("keyboardAvoidDistance"))) { + return true + } + else if ((!duplicated_levelMode) && (value?.hasOwnProperty("levelMode"))) { + return true + } + else if ((!duplicated_levelUniqueId) && (value?.hasOwnProperty("levelUniqueId"))) { + return true + } + else if ((!duplicated_immersiveMode) && (value?.hasOwnProperty("immersiveMode"))) { + return true + } + else if ((!duplicated_levelOrder) && (value?.hasOwnProperty("levelOrder"))) { + return true + } + else if ((!duplicated_focusable) && (value?.hasOwnProperty("focusable"))) { + return true + } else { throw new Error("Can not discriminate value typeof CustomDialogControllerOptions") } } - static isCustomPopupOptions(value: Object | string | number | undefined | boolean, duplicated_builder: boolean, duplicated_placement: boolean, duplicated_maskColor: boolean, duplicated_popupColor: boolean, duplicated_enableArrow: boolean, duplicated_autoCancel: boolean, duplicated_onStateChange: boolean, duplicated_arrowOffset: boolean, duplicated_showInSubWindow: boolean, duplicated_mask: boolean, duplicated_targetSpace: boolean, duplicated_offset: boolean, duplicated_width: boolean, duplicated_arrowPointPosition: boolean, duplicated_arrowWidth: boolean, duplicated_arrowHeight: boolean, duplicated_radius: boolean, duplicated_shadow: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_focusable: boolean, duplicated_transition: boolean, duplicated_onWillDismiss: boolean, duplicated_enableHoverMode: boolean, duplicated_followTransformOfTarget: boolean): boolean { + static isCustomPopupOptions(value: Object | string | number | undefined | boolean, duplicated_builder: boolean, duplicated_placement: boolean, duplicated_maskColor: boolean, duplicated_popupColor: boolean, duplicated_enableArrow: boolean, duplicated_autoCancel: boolean, duplicated_onStateChange: boolean, duplicated_arrowOffset: boolean, duplicated_showInSubWindow: boolean, duplicated_mask: boolean, duplicated_targetSpace: boolean, duplicated_offset: boolean, duplicated_width: boolean, duplicated_arrowPointPosition: boolean, duplicated_arrowWidth: boolean, duplicated_arrowHeight: boolean, duplicated_radius: boolean, duplicated_shadow: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_focusable: boolean, duplicated_transition: boolean, duplicated_onWillDismiss: boolean, duplicated_enableHoverMode: boolean, duplicated_followTransformOfTarget: boolean, duplicated_keyboardAvoidMode: boolean): boolean { if ((!duplicated_builder) && (value?.hasOwnProperty("builder"))) { return true } @@ -3101,6 +3865,9 @@ export class TypeChecker { else if ((!duplicated_followTransformOfTarget) && (value?.hasOwnProperty("followTransformOfTarget"))) { return true } + else if ((!duplicated_keyboardAvoidMode) && (value?.hasOwnProperty("keyboardAvoidMode"))) { + return true + } else { throw new Error("Can not discriminate value typeof CustomPopupOptions") } @@ -3227,7 +3994,15 @@ export class TypeChecker { static isDataResubmissionHandler(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof DataResubmissionHandler") } - static isDatePickerDialogOptions(value: Object | string | number | undefined | boolean, duplicated_lunar: boolean, duplicated_lunarSwitch: boolean, duplicated_lunarSwitchStyle: boolean, duplicated_showTime: boolean, duplicated_useMilitaryTime: boolean, duplicated_disappearTextStyle: boolean, duplicated_textStyle: boolean, duplicated_acceptButtonStyle: boolean, duplicated_cancelButtonStyle: boolean, duplicated_selectedTextStyle: boolean, duplicated_maskRect: boolean, duplicated_alignment: boolean, duplicated_offset: boolean, duplicated_onAccept: boolean, duplicated_onCancel: boolean, duplicated_onChange: boolean, duplicated_onDateAccept: boolean, duplicated_onDateChange: boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_onDidAppear: boolean, duplicated_onDidDisappear: boolean, duplicated_onWillAppear: boolean, duplicated_onWillDisappear: boolean, duplicated_shadow: boolean, duplicated_dateTimeOptions: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean): boolean { + static isDataSyncOptions(value: Object | string | number | undefined | boolean, duplicated__DataSyncOptionsStub: boolean): boolean { + if ((!duplicated__DataSyncOptionsStub) && (value?.hasOwnProperty("_DataSyncOptionsStub"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof DataSyncOptions") + } + } + static isDatePickerDialogOptions(value: Object | string | number | undefined | boolean, duplicated_lunar: boolean, duplicated_lunarSwitch: boolean, duplicated_lunarSwitchStyle: boolean, duplicated_showTime: boolean, duplicated_useMilitaryTime: boolean, duplicated_disappearTextStyle: boolean, duplicated_textStyle: boolean, duplicated_acceptButtonStyle: boolean, duplicated_cancelButtonStyle: boolean, duplicated_selectedTextStyle: boolean, duplicated_maskRect: boolean, duplicated_alignment: boolean, duplicated_offset: boolean, duplicated_onAccept: boolean, duplicated_onCancel: boolean, duplicated_onChange: boolean, duplicated_onDateAccept: boolean, duplicated_onDateChange: boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_backgroundBlurStyleOptions: boolean, duplicated_backgroundEffect: boolean, duplicated_onDidAppear: boolean, duplicated_onDidDisappear: boolean, duplicated_onWillAppear: boolean, duplicated_onWillDisappear: boolean, duplicated_shadow: boolean, duplicated_dateTimeOptions: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean, duplicated_enableHapticFeedback: boolean): boolean { if ((!duplicated_lunar) && (value?.hasOwnProperty("lunar"))) { return true } @@ -3288,6 +4063,12 @@ export class TypeChecker { else if ((!duplicated_backgroundBlurStyle) && (value?.hasOwnProperty("backgroundBlurStyle"))) { return true } + else if ((!duplicated_backgroundBlurStyleOptions) && (value?.hasOwnProperty("backgroundBlurStyleOptions"))) { + return true + } + else if ((!duplicated_backgroundEffect) && (value?.hasOwnProperty("backgroundEffect"))) { + return true + } else if ((!duplicated_onDidAppear) && (value?.hasOwnProperty("onDidAppear"))) { return true } @@ -3312,11 +4093,28 @@ export class TypeChecker { else if ((!duplicated_hoverModeArea) && (value?.hasOwnProperty("hoverModeArea"))) { return true } + else if ((!duplicated_enableHapticFeedback) && (value?.hasOwnProperty("enableHapticFeedback"))) { + return true + } else { throw new Error("Can not discriminate value typeof DatePickerDialogOptions") } } - static isDatePickerOptions(value: Object | string | number | undefined | boolean, duplicated_start: boolean, duplicated_end: boolean, duplicated_selected: boolean): boolean { + static isDatePickerMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (DatePickerMode.DATE)) { + return true + } + else if ((value) === (DatePickerMode.YEAR_AND_MONTH)) { + return true + } + else if ((value) === (DatePickerMode.MONTH_AND_DAY)) { + return true + } + else { + throw new Error("Can not discriminate value typeof DatePickerMode") + } + } + static isDatePickerOptions(value: Object | string | number | undefined | boolean, duplicated_start: boolean, duplicated_end: boolean, duplicated_selected: boolean, duplicated_mode: boolean): boolean { if ((!duplicated_start) && (value?.hasOwnProperty("start"))) { return true } @@ -3326,6 +4124,9 @@ export class TypeChecker { else if ((!duplicated_selected) && (value?.hasOwnProperty("selected"))) { return true } + else if ((!duplicated_mode) && (value?.hasOwnProperty("mode"))) { + return true + } else { throw new Error("Can not discriminate value typeof DatePickerOptions") } @@ -3344,6 +4145,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof DatePickerResult") } } + static isDateRange(value: Object | string | number | undefined | boolean, duplicated_start: boolean, duplicated_end: boolean): boolean { + if ((!duplicated_start) && (value?.hasOwnProperty("start"))) { + return true + } + else if ((!duplicated_end) && (value?.hasOwnProperty("end"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof DateRange") + } + } static isDateTimeOptions(value: Object | string | number | undefined | boolean, duplicated_locale: boolean, duplicated_dateStyle: boolean, duplicated_timeStyle: boolean, duplicated_hourCycle: boolean, duplicated_timeZone: boolean, duplicated_numberingSystem: boolean, duplicated_hour12: boolean, duplicated_weekday: boolean, duplicated_era: boolean, duplicated_year: boolean, duplicated_month: boolean, duplicated_day: boolean, duplicated_hour: boolean, duplicated_minute: boolean, duplicated_second: boolean, duplicated_timeZoneName: boolean, duplicated_dayPeriod: boolean, duplicated_localeMatcher: boolean, duplicated_formatMatcher: boolean): boolean { if ((!duplicated_locale) && (value?.hasOwnProperty("locale"))) { return true @@ -3667,6 +4479,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof DisturbanceFieldShape") } } + static isDividerMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (DividerMode.FLOATING_ABOVE_MENU)) { + return true + } + else if ((value) === (DividerMode.EMBEDDED_IN_MENU)) { + return true + } + else { + throw new Error("Can not discriminate value typeof DividerMode") + } + } static isDividerOptions(value: Object | string | number | undefined | boolean, duplicated_strokeWidth: boolean, duplicated_color: boolean, duplicated_startMargin: boolean, duplicated_endMargin: boolean): boolean { if ((!duplicated_strokeWidth) && (value?.hasOwnProperty("strokeWidth"))) { return true @@ -3701,7 +4524,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof DividerStyle") } } - static isDividerStyleOptions(value: Object | string | number | undefined | boolean, duplicated_strokeWidth: boolean, duplicated_color: boolean, duplicated_startMargin: boolean, duplicated_endMargin: boolean): boolean { + static isDividerStyleOptions(value: Object | string | number | undefined | boolean, duplicated_strokeWidth: boolean, duplicated_color: boolean, duplicated_startMargin: boolean, duplicated_endMargin: boolean, duplicated_mode: boolean): boolean { if ((!duplicated_strokeWidth) && (value?.hasOwnProperty("strokeWidth"))) { return true } @@ -3714,6 +4537,9 @@ export class TypeChecker { else if ((!duplicated_endMargin) && (value?.hasOwnProperty("endMargin"))) { return true } + else if ((!duplicated_mode) && (value?.hasOwnProperty("mode"))) { + return true + } else { throw new Error("Can not discriminate value typeof DividerStyleOptions") } @@ -3783,13 +4609,36 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof DragEvent") } } - static isDragInteractionOptions(value: Object | string | number | undefined | boolean, duplicated_isMultiSelectionEnabled: boolean, duplicated_defaultAnimationBeforeLifting: boolean): boolean { + static isDraggingSizeChangeEffect(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (DraggingSizeChangeEffect.DEFAULT)) { + return true + } + else if ((value) === (DraggingSizeChangeEffect.SIZE_TRANSITION)) { + return true + } + else if ((value) === (DraggingSizeChangeEffect.SIZE_CONTENT_TRANSITION)) { + return true + } + else { + throw new Error("Can not discriminate value typeof DraggingSizeChangeEffect") + } + } + static isDragInteractionOptions(value: Object | string | number | undefined | boolean, duplicated_isMultiSelectionEnabled: boolean, duplicated_defaultAnimationBeforeLifting: boolean, duplicated_enableEdgeAutoScroll: boolean, duplicated_enableHapticFeedback: boolean, duplicated_isLiftingDisabled: boolean): boolean { if ((!duplicated_isMultiSelectionEnabled) && (value?.hasOwnProperty("isMultiSelectionEnabled"))) { return true } else if ((!duplicated_defaultAnimationBeforeLifting) && (value?.hasOwnProperty("defaultAnimationBeforeLifting"))) { return true } + else if ((!duplicated_enableEdgeAutoScroll) && (value?.hasOwnProperty("enableEdgeAutoScroll"))) { + return true + } + else if ((!duplicated_enableHapticFeedback) && (value?.hasOwnProperty("enableHapticFeedback"))) { + return true + } + else if ((!duplicated_isLiftingDisabled) && (value?.hasOwnProperty("isLiftingDisabled"))) { + return true + } else { throw new Error("Can not discriminate value typeof DragInteractionOptions") } @@ -3821,11 +4670,20 @@ export class TypeChecker { else if ((value) === (DragPreviewMode.ENABLE_DEFAULT_RADIUS)) { return true } + else if ((value) === (DragPreviewMode.ENABLE_DRAG_ITEM_GRAY_EFFECT)) { + return true + } + else if ((value) === (DragPreviewMode.ENABLE_MULTI_TILE_EFFECT)) { + return true + } + else if ((value) === (DragPreviewMode.ENABLE_TOUCH_POINT_CALCULATION_BASED_ON_FINAL_PREVIEW)) { + return true + } else { throw new Error("Can not discriminate value typeof DragPreviewMode") } } - static isDragPreviewOptions(value: Object | string | number | undefined | boolean, duplicated_mode: boolean, duplicated_modifier: boolean, duplicated_numberBadge: boolean): boolean { + static isDragPreviewOptions(value: Object | string | number | undefined | boolean, duplicated_mode: boolean, duplicated_modifier: boolean, duplicated_numberBadge: boolean, duplicated_sizeChangeEffect: boolean): boolean { if ((!duplicated_mode) && (value?.hasOwnProperty("mode"))) { return true } @@ -3835,6 +4693,9 @@ export class TypeChecker { else if ((!duplicated_numberBadge) && (value?.hasOwnProperty("numberBadge"))) { return true } + else if ((!duplicated_sizeChangeEffect) && (value?.hasOwnProperty("sizeChangeEffect"))) { + return true + } else { throw new Error("Can not discriminate value typeof DragPreviewOptions") } @@ -3899,6 +4760,14 @@ export class TypeChecker { static isDrawModifier(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof DrawModifier") } + static isDropOptions(value: Object | string | number | undefined | boolean, duplicated_disableDataPrefetch: boolean): boolean { + if ((!duplicated_disableDataPrefetch) && (value?.hasOwnProperty("disableDataPrefetch"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof DropOptions") + } + } static isDynamicRangeMode(value: Object | string | number | undefined | boolean): boolean { if ((value) === (DynamicRangeMode.HIGH)) { return true @@ -3970,10 +4839,13 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof EdgeEffect") } } - static isEdgeEffectOptions(value: Object | string | number | undefined | boolean, duplicated_alwaysEnabled: boolean): boolean { + static isEdgeEffectOptions(value: Object | string | number | undefined | boolean, duplicated_alwaysEnabled: boolean, duplicated_effectEdge: boolean): boolean { if ((!duplicated_alwaysEnabled) && (value?.hasOwnProperty("alwaysEnabled"))) { return true } + else if ((!duplicated_effectEdge) && (value?.hasOwnProperty("effectEdge"))) { + return true + } else { throw new Error("Can not discriminate value typeof EdgeEffectOptions") } @@ -4063,6 +4935,20 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof EdgeWidths") } } + static isEditableTextChangeValue(value: Object | string | number | undefined | boolean, duplicated_content: boolean, duplicated_previewText: boolean, duplicated_options: boolean): boolean { + if ((!duplicated_content) && (value?.hasOwnProperty("content"))) { + return true + } + else if ((!duplicated_previewText) && (value?.hasOwnProperty("previewText"))) { + return true + } + else if ((!duplicated_options) && (value?.hasOwnProperty("options"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof EditableTextChangeValue") + } + } static isEditMenuOptions(value: Object | string | number | undefined | boolean, duplicated_onCreateMenu: boolean, duplicated_onMenuItemClick: boolean): boolean { if ((!duplicated_onCreateMenu) && (value?.hasOwnProperty("onCreateMenu"))) { return true @@ -4099,6 +4985,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof EffectDirection") } } + static isEffectEdge(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (EffectEdge.START)) { + return true + } + else if ((value) === (EffectEdge.END)) { + return true + } + else { + throw new Error("Can not discriminate value typeof EffectEdge") + } + } static isEffectFillStyle(value: Object | string | number | undefined | boolean): boolean { if ((value) === (EffectFillStyle.CUMULATIVE)) { return true @@ -4168,6 +5065,14 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof EmbeddedType") } } + static isEmbedOptions(value: Object | string | number | undefined | boolean, duplicated_supportDefaultIntrinsicSize: boolean): boolean { + if ((!duplicated_supportDefaultIntrinsicSize) && (value?.hasOwnProperty("supportDefaultIntrinsicSize"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof EmbedOptions") + } + } static isEnterKeyType(value: Object | string | number | undefined | boolean): boolean { if ((value) === (EnterKeyType.Go)) { return true @@ -4228,10 +5133,13 @@ export class TypeChecker { static isEventResult(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof EventResult") } - static isEventTarget(value: Object | string | number | undefined | boolean, duplicated_area: boolean): boolean { + static isEventTarget(value: Object | string | number | undefined | boolean, duplicated_area: boolean, duplicated_id: boolean): boolean { if ((!duplicated_area) && (value?.hasOwnProperty("area"))) { return true } + else if ((!duplicated_id) && (value?.hasOwnProperty("id"))) { + return true + } else { throw new Error("Can not discriminate value typeof EventTarget") } @@ -4318,7 +5226,7 @@ export class TypeChecker { static isFilter(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof Filter") } - static isFingerInfo(value: Object | string | number | undefined | boolean, duplicated_id: boolean, duplicated_globalX: boolean, duplicated_globalY: boolean, duplicated_localX: boolean, duplicated_localY: boolean, duplicated_displayX: boolean, duplicated_displayY: boolean): boolean { + static isFingerInfo(value: Object | string | number | undefined | boolean, duplicated_id: boolean, duplicated_globalX: boolean, duplicated_globalY: boolean, duplicated_localX: boolean, duplicated_localY: boolean, duplicated_displayX: boolean, duplicated_displayY: boolean, duplicated_hand: boolean): boolean { if ((!duplicated_id) && (value?.hasOwnProperty("id"))) { return true } @@ -4340,6 +5248,9 @@ export class TypeChecker { else if ((!duplicated_displayY) && (value?.hasOwnProperty("displayY"))) { return true } + else if ((!duplicated_hand) && (value?.hasOwnProperty("hand"))) { + return true + } else { throw new Error("Can not discriminate value typeof FingerInfo") } @@ -4465,6 +5376,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof FlyMode") } } + static isFocusAxisEvent(value: Object | string | number | undefined | boolean, duplicated_axisMap: boolean, duplicated_stopPropagation: boolean): boolean { + if ((!duplicated_axisMap) && (value?.hasOwnProperty("axisMap"))) { + return true + } + else if ((!duplicated_stopPropagation) && (value?.hasOwnProperty("stopPropagation"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof FocusAxisEvent") + } + } static isFocusBoxStyle(value: Object | string | number | undefined | boolean, duplicated_margin: boolean, duplicated_strokeColor: boolean, duplicated_strokeWidth: boolean): boolean { if ((!duplicated_margin) && (value?.hasOwnProperty("margin"))) { return true @@ -4479,6 +5401,40 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof FocusBoxStyle") } } + static isFocusDrawLevel(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (FocusDrawLevel.SELF)) { + return true + } + else if ((value) === (FocusDrawLevel.TOP)) { + return true + } + else { + throw new Error("Can not discriminate value typeof FocusDrawLevel") + } + } + static isFocusMovement(value: Object | string | number | undefined | boolean, duplicated_forward: boolean, duplicated_backward: boolean, duplicated_up: boolean, duplicated_down: boolean, duplicated_left: boolean, duplicated_right: boolean): boolean { + if ((!duplicated_forward) && (value?.hasOwnProperty("forward"))) { + return true + } + else if ((!duplicated_backward) && (value?.hasOwnProperty("backward"))) { + return true + } + else if ((!duplicated_up) && (value?.hasOwnProperty("up"))) { + return true + } + else if ((!duplicated_down) && (value?.hasOwnProperty("down"))) { + return true + } + else if ((!duplicated_left) && (value?.hasOwnProperty("left"))) { + return true + } + else if ((!duplicated_right) && (value?.hasOwnProperty("right"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof FocusMovement") + } + } static isFocusPriority(value: Object | string | number | undefined | boolean): boolean { if ((value) === (FocusPriority.AUTO)) { return true @@ -4797,6 +5753,15 @@ export class TypeChecker { else if ((value) === (FormDimension.DIMENSION_6_4)) { return true } + else if ((value) === (FormDimension.DIMENSION_2_3)) { + return true + } + else if ((value) === (FormDimension.DIMENSION_3_3)) { + return true + } + else if ((value) === (FormDimension.DIMENSION_3_4)) { + return true + } else { throw new Error("Can not discriminate value typeof FormDimension") } @@ -5554,15 +6519,29 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof GuideLineStyle") } } - static isGutterOption(value: Object | string | number | undefined | boolean, duplicated_x: boolean, duplicated_y: boolean): boolean { - if ((!duplicated_x) && (value?.hasOwnProperty("x"))) { + static isGutterOption(value: Object | string | number | undefined | boolean, duplicated_x: boolean, duplicated_y: boolean): boolean { + if ((!duplicated_x) && (value?.hasOwnProperty("x"))) { + return true + } + else if ((!duplicated_y) && (value?.hasOwnProperty("y"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof GutterOption") + } + } + static isHapticFeedbackMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (HapticFeedbackMode.DISABLED)) { return true } - else if ((!duplicated_y) && (value?.hasOwnProperty("y"))) { + else if ((value) === (HapticFeedbackMode.ENABLED)) { + return true + } + else if ((value) === (HapticFeedbackMode.AUTO)) { return true } else { - throw new Error("Can not discriminate value typeof GutterOption") + throw new Error("Can not discriminate value typeof HapticFeedbackMode") } } static isHeader(value: Object | string | number | undefined | boolean, duplicated_headerKey: boolean, duplicated_headerValue: boolean): boolean { @@ -5692,10 +6671,28 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof HoverEffect") } } - static isHoverEvent(value: Object | string | number | undefined | boolean, duplicated_stopPropagation: boolean): boolean { + static isHoverEvent(value: Object | string | number | undefined | boolean, duplicated_x: boolean, duplicated_y: boolean, duplicated_windowX: boolean, duplicated_windowY: boolean, duplicated_displayX: boolean, duplicated_displayY: boolean, duplicated_stopPropagation: boolean): boolean { if ((!duplicated_stopPropagation) && (value?.hasOwnProperty("stopPropagation"))) { return true } + else if ((!duplicated_x) && (value?.hasOwnProperty("x"))) { + return true + } + else if ((!duplicated_y) && (value?.hasOwnProperty("y"))) { + return true + } + else if ((!duplicated_windowX) && (value?.hasOwnProperty("windowX"))) { + return true + } + else if ((!duplicated_windowY) && (value?.hasOwnProperty("windowY"))) { + return true + } + else if ((!duplicated_displayX) && (value?.hasOwnProperty("displayX"))) { + return true + } + else if ((!duplicated_displayY) && (value?.hasOwnProperty("displayY"))) { + return true + } else { throw new Error("Can not discriminate value typeof HoverEvent") } @@ -5807,7 +6804,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ImageAnalyzerType") } } - static isImageAttachment(value: Object | string | number | undefined | boolean, duplicated_value: boolean, duplicated_size: boolean, duplicated_verticalAlign: boolean, duplicated_objectFit: boolean, duplicated_layoutStyle: boolean): boolean { + static isImageAttachment(value: Object | string | number | undefined | boolean, duplicated_value: boolean, duplicated_size: boolean, duplicated_verticalAlign: boolean, duplicated_objectFit: boolean, duplicated_layoutStyle: boolean, duplicated_colorFilter: boolean): boolean { if ((!duplicated_value) && (value?.hasOwnProperty("value"))) { return true } @@ -5823,11 +6820,14 @@ export class TypeChecker { else if ((!duplicated_layoutStyle) && (value?.hasOwnProperty("layoutStyle"))) { return true } + else if ((!duplicated_colorFilter) && (value?.hasOwnProperty("colorFilter"))) { + return true + } else { throw new Error("Can not discriminate value typeof ImageAttachment") } } - static isImageAttachmentInterface(value: Object | string | number | undefined | boolean, duplicated_value: boolean, duplicated_size: boolean, duplicated_verticalAlign: boolean, duplicated_objectFit: boolean, duplicated_layoutStyle: boolean): boolean { + static isImageAttachmentInterface(value: Object | string | number | undefined | boolean, duplicated_value: boolean, duplicated_size: boolean, duplicated_verticalAlign: boolean, duplicated_objectFit: boolean, duplicated_layoutStyle: boolean, duplicated_colorFilter: boolean): boolean { if ((!duplicated_value) && (value?.hasOwnProperty("value"))) { return true } @@ -5843,6 +6843,9 @@ export class TypeChecker { else if ((!duplicated_layoutStyle) && (value?.hasOwnProperty("layoutStyle"))) { return true } + else if ((!duplicated_colorFilter) && (value?.hasOwnProperty("colorFilter"))) { + return true + } else { throw new Error("Can not discriminate value typeof ImageAttachmentInterface") } @@ -5954,6 +6957,9 @@ export class TypeChecker { else if ((value) === (ImageFit.BOTTOM_END)) { return true } + else if ((value) === (ImageFit.MATRIX)) { + return true + } else { throw new Error("Can not discriminate value typeof ImageFit") } @@ -6061,6 +7067,26 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ImageRepeat") } } + static isImageRotateOrientation(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (ImageRotateOrientation.AUTO)) { + return true + } + else if ((value) === (ImageRotateOrientation.UP)) { + return true + } + else if ((value) === (ImageRotateOrientation.RIGHT)) { + return true + } + else if ((value) === (ImageRotateOrientation.DOWN)) { + return true + } + else if ((value) === (ImageRotateOrientation.LEFT)) { + return true + } + else { + throw new Error("Can not discriminate value typeof ImageRotateOrientation") + } + } static isImageSize(value: Object | string | number | undefined | boolean): boolean { if ((value) === (ImageSize.Auto)) { return true @@ -6106,6 +7132,14 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ImageSpanAlignment") } } + static isImmersiveMode(value: Object | string | number | undefined | boolean, duplicated__ImmersiveModeStub: boolean): boolean { + if ((!duplicated__ImmersiveModeStub) && (value?.hasOwnProperty("_ImmersiveModeStub"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof ImmersiveMode") + } + } static isIndexerAlign(value: Object | string | number | undefined | boolean): boolean { if ((value) === (IndexerAlign.Left)) { return true @@ -6285,6 +7319,20 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof IntentionCode") } } + static isInteractionHand(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (InteractionHand.NONE)) { + return true + } + else if ((value) === (InteractionHand.LEFT)) { + return true + } + else if ((value) === (InteractionHand.RIGHT)) { + return true + } + else { + throw new Error("Can not discriminate value typeof InteractionHand") + } + } static isInvertOptions(value: Object | string | number | undefined | boolean, duplicated_low: boolean, duplicated_high: boolean, duplicated_threshold: boolean, duplicated_thresholdRange: boolean): boolean { if ((!duplicated_low) && (value?.hasOwnProperty("low"))) { return true @@ -6382,6 +7430,23 @@ export class TypeChecker { static isJsResult(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof JsResult") } + static isKeyboardAppearance(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (KeyboardAppearance.NONE_IMMERSIVE)) { + return true + } + else if ((value) === (KeyboardAppearance.IMMERSIVE)) { + return true + } + else if ((value) === (KeyboardAppearance.LIGHT_IMMERSIVE)) { + return true + } + else if ((value) === (KeyboardAppearance.DARK_IMMERSIVE)) { + return true + } + else { + throw new Error("Can not discriminate value typeof KeyboardAppearance") + } + } static isKeyboardAvoidMode(value: Object | string | number | undefined | boolean): boolean { if ((value) === (KeyboardAvoidMode.DEFAULT)) { return true @@ -6436,6 +7501,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof KeyEvent") } } + static isKeyProcessingMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (KeyProcessingMode.FOCUS_NAVIGATION)) { + return true + } + else if ((value) === (KeyProcessingMode.ANCESTOR_EVENT)) { + return true + } + else { + throw new Error("Can not discriminate value typeof KeyProcessingMode") + } + } static isKeySource(value: Object | string | number | undefined | boolean): boolean { if ((value) === (KeySource.Unknown)) { return true @@ -6443,6 +7519,9 @@ export class TypeChecker { else if ((value) === (KeySource.Keyboard)) { return true } + else if ((value) === (KeySource.JOYSTICK)) { + return true + } else { throw new Error("Can not discriminate value typeof KeySource") } @@ -6561,6 +7640,9 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof LayoutMode") } } + static isLayoutPolicy(value: Object | string | number | undefined | boolean): boolean { + throw new Error("Can not discriminate value typeof LayoutPolicy") + } static isLayoutSafeAreaEdge(value: Object | string | number | undefined | boolean): boolean { if ((value) === (LayoutSafeAreaEdge.TOP)) { return true @@ -6666,6 +7748,22 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof LetterSpacingStyle") } } + static isLevelMode(value: Object | string | number | undefined | boolean, duplicated__LevelModeStub: boolean): boolean { + if ((!duplicated__LevelModeStub) && (value?.hasOwnProperty("_LevelModeStub"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof LevelMode") + } + } + static isLevelOrder(value: Object | string | number | undefined | boolean, duplicated__LevelOrderStub: boolean): boolean { + if ((!duplicated__LevelOrderStub) && (value?.hasOwnProperty("_LevelOrderStub"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof LevelOrder") + } + } static isLightSource(value: Object | string | number | undefined | boolean, duplicated_positionX: boolean, duplicated_positionY: boolean, duplicated_positionZ: boolean, duplicated_intensity: boolean, duplicated_color: boolean): boolean { if ((!duplicated_positionX) && (value?.hasOwnProperty("positionX"))) { return true @@ -6717,6 +7815,23 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof LinearGradientBlurOptions") } } + static isLinearGradientOptions(value: Object | string | number | undefined | boolean, duplicated_angle: boolean, duplicated_direction: boolean, duplicated_colors: boolean, duplicated_repeating: boolean): boolean { + if ((!duplicated_colors) && (value?.hasOwnProperty("colors"))) { + return true + } + else if ((!duplicated_angle) && (value?.hasOwnProperty("angle"))) { + return true + } + else if ((!duplicated_direction) && (value?.hasOwnProperty("direction"))) { + return true + } + else if ((!duplicated_repeating) && (value?.hasOwnProperty("repeating"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof LinearGradientOptions") + } + } static isLinearIndicatorController(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof LinearIndicatorController") } @@ -6861,7 +7976,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof LineOptions") } } - static isListAttribute(value: Object | string | number | undefined | boolean, duplicated_alignListItem: boolean, duplicated_listDirection: boolean, duplicated_scrollBar: boolean, duplicated_contentStartOffset: boolean, duplicated_contentEndOffset: boolean, duplicated_divider: boolean, duplicated_editMode: boolean, duplicated_multiSelectable: boolean, duplicated_cachedCount: boolean, duplicated_chainAnimation: boolean, duplicated_chainAnimationOptions: boolean, duplicated_sticky: boolean, duplicated_scrollSnapAlign: boolean, duplicated_nestedScroll: boolean, duplicated_enableScrollInteraction: boolean, duplicated_friction: boolean, duplicated_childrenMainSize: boolean, duplicated_maintainVisibleContentPosition: boolean, duplicated_onScroll: boolean, duplicated_onScrollIndex: boolean, duplicated_onScrollVisibleContentChange: boolean, duplicated_onReachStart: boolean, duplicated_onReachEnd: boolean, duplicated_onScrollStart: boolean, duplicated_onScrollStop: boolean, duplicated_onItemDelete: boolean, duplicated_onItemMove: boolean, duplicated_onItemDragStart: boolean, duplicated_onItemDragEnter: boolean, duplicated_onItemDragMove: boolean, duplicated_onItemDragLeave: boolean, duplicated_onItemDrop: boolean, duplicated_onScrollFrameBegin: boolean): boolean { + static isListAttribute(value: Object | string | number | undefined | boolean, duplicated_alignListItem: boolean, duplicated_listDirection: boolean, duplicated_scrollBar: boolean, duplicated_contentStartOffset: boolean, duplicated_contentEndOffset: boolean, duplicated_divider: boolean, duplicated_editMode: boolean, duplicated_multiSelectable: boolean, duplicated_cachedCount: boolean, duplicated_chainAnimation: boolean, duplicated_chainAnimationOptions: boolean, duplicated_sticky: boolean, duplicated_scrollSnapAlign: boolean, duplicated_nestedScroll: boolean, duplicated_enableScrollInteraction: boolean, duplicated_friction: boolean, duplicated_childrenMainSize: boolean, duplicated_maintainVisibleContentPosition: boolean, duplicated_stackFromEnd: boolean, duplicated_onScroll: boolean, duplicated_onScrollIndex: boolean, duplicated_onScrollVisibleContentChange: boolean, duplicated_onReachStart: boolean, duplicated_onReachEnd: boolean, duplicated_onScrollStart: boolean, duplicated_onScrollStop: boolean, duplicated_onItemDelete: boolean, duplicated_onItemMove: boolean, duplicated_onItemDragStart: boolean, duplicated_onItemDragEnter: boolean, duplicated_onItemDragMove: boolean, duplicated_onItemDragLeave: boolean, duplicated_onItemDrop: boolean, duplicated_onScrollFrameBegin: boolean): boolean { if ((!duplicated_alignListItem) && (value?.hasOwnProperty("alignListItem"))) { return true } @@ -6916,6 +8031,9 @@ export class TypeChecker { else if ((!duplicated_maintainVisibleContentPosition) && (value?.hasOwnProperty("maintainVisibleContentPosition"))) { return true } + else if ((!duplicated_stackFromEnd) && (value?.hasOwnProperty("stackFromEnd"))) { + return true + } else if ((!duplicated_onScroll) && (value?.hasOwnProperty("onScroll"))) { return true } @@ -7729,9 +8847,26 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof LongPressGestureEvent") } } + static isLongPressGestureHandlerOptions(value: Object | string | number | undefined | boolean, duplicated_fingers: boolean, duplicated_repeat: boolean, duplicated_duration: boolean): boolean { + if ((!duplicated_fingers) && (value?.hasOwnProperty("fingers"))) { + return true + } + else if ((!duplicated_repeat) && (value?.hasOwnProperty("repeat"))) { + return true + } + else if ((!duplicated_duration) && (value?.hasOwnProperty("duration"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof LongPressGestureHandlerOptions") + } + } static isLongPressGestureInterface(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof LongPressGestureInterface") } + static isLongPressRecognizer(value: Object | string | number | undefined | boolean): boolean { + throw new Error("Can not discriminate value typeof LongPressRecognizer") + } static isLunarSwitchStyle(value: Object | string | number | undefined | boolean, duplicated_selectedColor: boolean, duplicated_unselectedColor: boolean, duplicated_strokeColor: boolean): boolean { if ((!duplicated_selectedColor) && (value?.hasOwnProperty("selectedColor"))) { return true @@ -7780,6 +8915,31 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof MarqueeOptions") } } + static isMarqueeStartPolicy(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (MarqueeStartPolicy.DEFAULT)) { + return true + } + else if ((value) === (MarqueeStartPolicy.ON_FOCUS)) { + return true + } + else { + throw new Error("Can not discriminate value typeof MarqueeStartPolicy") + } + } + static isMarqueeState(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (MarqueeState.START)) { + return true + } + else if ((value) === (MarqueeState.BOUNCE)) { + return true + } + else if ((value) === (MarqueeState.FINISH)) { + return true + } + else { + throw new Error("Can not discriminate value typeof MarqueeState") + } + } static isMarqueeUpdateStrategy(value: Object | string | number | undefined | boolean): boolean { if ((value) === (MarqueeUpdateStrategy.DEFAULT)) { return true @@ -7817,8 +8977,13 @@ export class TypeChecker { static isMatrix4Transit(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof Matrix4Transit") } - static isMeasurable(value: Object | string | number | undefined | boolean): boolean { - throw new Error("Can not discriminate value typeof Measurable") + static isMeasurable(value: Object | string | number | undefined | boolean, duplicated_uniqueId: boolean): boolean { + if ((!duplicated_uniqueId) && (value?.hasOwnProperty("uniqueId"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof Measurable") + } } static isMeasureOptions(value: Object | string | number | undefined | boolean, duplicated_textContent: boolean, duplicated_constraintWidth: boolean, duplicated_fontSize: boolean, duplicated_fontStyle: boolean, duplicated_fontWeight: boolean, duplicated_fontFamily: boolean, duplicated_letterSpacing: boolean, duplicated_textAlign: boolean, duplicated_overflow: boolean, duplicated_maxLines: boolean, duplicated_lineHeight: boolean, duplicated_baselineOffset: boolean, duplicated_textCase: boolean, duplicated_textIndent: boolean, duplicated_wordBreak: boolean): boolean { if ((!duplicated_textContent) && (value?.hasOwnProperty("textContent"))) { @@ -7975,6 +9140,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof MenuOptions") } } + static isMenuOutlineOptions(value: Object | string | number | undefined | boolean, duplicated_width: boolean, duplicated_color: boolean): boolean { + if ((!duplicated_width) && (value?.hasOwnProperty("width"))) { + return true + } + else if ((!duplicated_color) && (value?.hasOwnProperty("color"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof MenuOutlineOptions") + } + } static isMenuPolicy(value: Object | string | number | undefined | boolean): boolean { if ((value) === (MenuPolicy.DEFAULT)) { return true @@ -8106,6 +9282,20 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof MonthData") } } + static isMoreButtonOptions(value: Object | string | number | undefined | boolean, duplicated_backgroundBlurStyle: boolean, duplicated_backgroundBlurStyleOptions: boolean, duplicated_backgroundEffect: boolean): boolean { + if ((!duplicated_backgroundBlurStyle) && (value?.hasOwnProperty("backgroundBlurStyle"))) { + return true + } + else if ((!duplicated_backgroundBlurStyleOptions) && (value?.hasOwnProperty("backgroundBlurStyleOptions"))) { + return true + } + else if ((!duplicated_backgroundEffect) && (value?.hasOwnProperty("backgroundEffect"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof MoreButtonOptions") + } + } static isMotionBlurAnchor(value: Object | string | number | undefined | boolean, duplicated_x: boolean, duplicated_y: boolean): boolean { if ((!duplicated_x) && (value?.hasOwnProperty("x"))) { return true @@ -8158,6 +9348,9 @@ export class TypeChecker { else if ((value) === (MouseAction.Hover)) { return true } + else if ((value) === (MouseAction.CANCEL)) { + return true + } else { throw new Error("Can not discriminate value typeof MouseAction") } @@ -8185,7 +9378,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof MouseButton") } } - static isMouseEvent(value: Object | string | number | undefined | boolean, duplicated_button: boolean, duplicated_action: boolean, duplicated_displayX: boolean, duplicated_displayY: boolean, duplicated_windowX: boolean, duplicated_windowY: boolean, duplicated_screenX: boolean, duplicated_screenY: boolean, duplicated_x: boolean, duplicated_y: boolean, duplicated_stopPropagation: boolean): boolean { + static isMouseEvent(value: Object | string | number | undefined | boolean, duplicated_button: boolean, duplicated_action: boolean, duplicated_displayX: boolean, duplicated_displayY: boolean, duplicated_windowX: boolean, duplicated_windowY: boolean, duplicated_screenX: boolean, duplicated_screenY: boolean, duplicated_x: boolean, duplicated_y: boolean, duplicated_stopPropagation: boolean, duplicated_rawDeltaX: boolean, duplicated_rawDeltaY: boolean, duplicated_pressedButtons: boolean): boolean { if ((!duplicated_button) && (value?.hasOwnProperty("button"))) { return true } @@ -8219,6 +9412,15 @@ export class TypeChecker { else if ((!duplicated_stopPropagation) && (value?.hasOwnProperty("stopPropagation"))) { return true } + else if ((!duplicated_rawDeltaX) && (value?.hasOwnProperty("rawDeltaX"))) { + return true + } + else if ((!duplicated_rawDeltaY) && (value?.hasOwnProperty("rawDeltaY"))) { + return true + } + else if ((!duplicated_pressedButtons) && (value?.hasOwnProperty("pressedButtons"))) { + return true + } else { throw new Error("Can not discriminate value typeof MouseEvent") } @@ -8331,6 +9533,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof NativeMediaPlayerConfig") } } + static isNativeXComponentParameters(value: Object | string | number | undefined | boolean, duplicated_type: boolean, duplicated_imageAIOptions: boolean): boolean { + if ((!duplicated_type) && (value?.hasOwnProperty("type"))) { + return true + } + else if ((!duplicated_imageAIOptions) && (value?.hasOwnProperty("imageAIOptions"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof NativeXComponentParameters") + } + } static isNavBarPosition(value: Object | string | number | undefined | boolean): boolean { if ((value) === (NavBarPosition.Start)) { return true @@ -8362,10 +9575,36 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof NavContentInfo") } } - static isNavDestinationAttribute(value: Object | string | number | undefined | boolean, duplicated_hideTitleBar: boolean, duplicated_onShown: boolean, duplicated_onHidden: boolean, duplicated_onBackPressed: boolean, duplicated_mode: boolean, duplicated_backButtonIcon: boolean, duplicated_menus: boolean, duplicated_onReady: boolean, duplicated_onWillAppear: boolean, duplicated_onWillDisappear: boolean, duplicated_onWillShow: boolean, duplicated_onWillHide: boolean, duplicated_systemBarStyle: boolean, duplicated_recoverable: boolean, duplicated_systemTransition: boolean): boolean { + static isNavDestinationActiveReason(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (NavDestinationActiveReason.TRANSITION)) { + return true + } + else if ((value) === (NavDestinationActiveReason.CONTENT_COVER)) { + return true + } + else if ((value) === (NavDestinationActiveReason.SHEET)) { + return true + } + else if ((value) === (NavDestinationActiveReason.DIALOG)) { + return true + } + else if ((value) === (NavDestinationActiveReason.OVERLAY)) { + return true + } + else if ((value) === (NavDestinationActiveReason.APP_STATE)) { + return true + } + else { + throw new Error("Can not discriminate value typeof NavDestinationActiveReason") + } + } + static isNavDestinationAttribute(value: Object | string | number | undefined | boolean, duplicated_hideTitleBar: boolean, duplicated_hideBackButton: boolean, duplicated_onShown: boolean, duplicated_onHidden: boolean, duplicated_onBackPressed: boolean, duplicated_onResult: boolean, duplicated_mode: boolean, duplicated_backButtonIcon: boolean, duplicated_menus: boolean, duplicated_onReady: boolean, duplicated_onWillAppear: boolean, duplicated_onWillDisappear: boolean, duplicated_onWillShow: boolean, duplicated_onWillHide: boolean, duplicated_systemBarStyle: boolean, duplicated_recoverable: boolean, duplicated_systemTransition: boolean, duplicated_bindToScrollable: boolean, duplicated_bindToNestedScrollable: boolean, duplicated_onActive: boolean, duplicated_onInactive: boolean, duplicated_customTransition: boolean, duplicated_onNewParam: boolean, duplicated_preferredOrientation: boolean, duplicated_enableNavigationIndicator: boolean): boolean { if ((!duplicated_hideTitleBar) && (value?.hasOwnProperty("hideTitleBar"))) { return true } + else if ((!duplicated_hideBackButton) && (value?.hasOwnProperty("hideBackButton"))) { + return true + } else if ((!duplicated_onShown) && (value?.hasOwnProperty("onShown"))) { return true } @@ -8375,6 +9614,9 @@ export class TypeChecker { else if ((!duplicated_onBackPressed) && (value?.hasOwnProperty("onBackPressed"))) { return true } + else if ((!duplicated_onResult) && (value?.hasOwnProperty("onResult"))) { + return true + } else if ((!duplicated_mode) && (value?.hasOwnProperty("mode"))) { return true } @@ -8408,6 +9650,30 @@ export class TypeChecker { else if ((!duplicated_systemTransition) && (value?.hasOwnProperty("systemTransition"))) { return true } + else if ((!duplicated_bindToScrollable) && (value?.hasOwnProperty("bindToScrollable"))) { + return true + } + else if ((!duplicated_bindToNestedScrollable) && (value?.hasOwnProperty("bindToNestedScrollable"))) { + return true + } + else if ((!duplicated_onActive) && (value?.hasOwnProperty("onActive"))) { + return true + } + else if ((!duplicated_onInactive) && (value?.hasOwnProperty("onInactive"))) { + return true + } + else if ((!duplicated_customTransition) && (value?.hasOwnProperty("customTransition"))) { + return true + } + else if ((!duplicated_onNewParam) && (value?.hasOwnProperty("onNewParam"))) { + return true + } + else if ((!duplicated_preferredOrientation) && (value?.hasOwnProperty("preferredOrientation"))) { + return true + } + else if ((!duplicated_enableNavigationIndicator) && (value?.hasOwnProperty("enableNavigationIndicator"))) { + return true + } else { throw new Error("Can not discriminate value typeof NavDestinationAttribute") } @@ -8467,6 +9733,26 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof NavDestinationMode") } } + static isNavDestinationTransition(value: Object | string | number | undefined | boolean, duplicated_onTransitionEnd: boolean, duplicated_duration: boolean, duplicated_curve: boolean, duplicated_delay: boolean, duplicated_event: boolean): boolean { + if ((!duplicated_event) && (value?.hasOwnProperty("event"))) { + return true + } + else if ((!duplicated_onTransitionEnd) && (value?.hasOwnProperty("onTransitionEnd"))) { + return true + } + else if ((!duplicated_duration) && (value?.hasOwnProperty("duration"))) { + return true + } + else if ((!duplicated_curve) && (value?.hasOwnProperty("curve"))) { + return true + } + else if ((!duplicated_delay) && (value?.hasOwnProperty("delay"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof NavDestinationTransition") + } + } static isNavigationAnimatedTransition(value: Object | string | number | undefined | boolean, duplicated_onTransitionEnd: boolean, duplicated_timeout: boolean, duplicated_isInteractive: boolean, duplicated_transition: boolean): boolean { if ((!duplicated_transition) && (value?.hasOwnProperty("transition"))) { return true @@ -8484,7 +9770,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof NavigationAnimatedTransition") } } - static isNavigationAttribute(value: Object | string | number | undefined | boolean, duplicated_navBarWidth: boolean, duplicated_navBarPosition: boolean, duplicated_navBarWidthRange: boolean, duplicated_minContentWidth: boolean, duplicated_mode: boolean, duplicated_backButtonIcon: boolean, duplicated_hideNavBar: boolean, duplicated_subTitle: boolean, duplicated_hideTitleBar: boolean, duplicated_hideBackButton: boolean, duplicated_titleMode: boolean, duplicated_menus: boolean, duplicated_toolBar: boolean, duplicated_hideToolBar: boolean, duplicated_onTitleModeChange: boolean, duplicated_onNavBarStateChange: boolean, duplicated_onNavigationModeChange: boolean, duplicated_navDestination: boolean, duplicated_customNavContentTransition: boolean, duplicated_systemBarStyle: boolean, duplicated_recoverable: boolean, duplicated_enableDragBar: boolean): boolean { + static isNavigationAttribute(value: Object | string | number | undefined | boolean, duplicated_navBarWidth: boolean, duplicated_navBarPosition: boolean, duplicated_navBarWidthRange: boolean, duplicated_minContentWidth: boolean, duplicated_mode: boolean, duplicated_backButtonIcon: boolean, duplicated_hideNavBar: boolean, duplicated_subTitle: boolean, duplicated_hideTitleBar: boolean, duplicated_hideBackButton: boolean, duplicated_titleMode: boolean, duplicated_menus: boolean, duplicated_toolBar: boolean, duplicated_hideToolBar: boolean, duplicated_enableToolBarAdaptation: boolean, duplicated_onTitleModeChange: boolean, duplicated_onNavBarStateChange: boolean, duplicated_onNavigationModeChange: boolean, duplicated_navDestination: boolean, duplicated_customNavContentTransition: boolean, duplicated_systemBarStyle: boolean, duplicated_recoverable: boolean, duplicated_enableDragBar: boolean, duplicated_enableModeChangeAnimation: boolean): boolean { if ((!duplicated_navBarWidth) && (value?.hasOwnProperty("navBarWidth"))) { return true } @@ -8527,6 +9813,9 @@ export class TypeChecker { else if ((!duplicated_hideToolBar) && (value?.hasOwnProperty("hideToolBar"))) { return true } + else if ((!duplicated_enableToolBarAdaptation) && (value?.hasOwnProperty("enableToolBarAdaptation"))) { + return true + } else if ((!duplicated_onTitleModeChange) && (value?.hasOwnProperty("onTitleModeChange"))) { return true } @@ -8551,6 +9840,9 @@ export class TypeChecker { else if ((!duplicated_enableDragBar) && (value?.hasOwnProperty("enableDragBar"))) { return true } + else if ((!duplicated_enableModeChangeAnimation) && (value?.hasOwnProperty("enableModeChangeAnimation"))) { + return true + } else { throw new Error("Can not discriminate value typeof NavigationAttribute") } @@ -8619,6 +9911,14 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof NavigationMenuItem") } } + static isNavigationMenuOptions(value: Object | string | number | undefined | boolean, duplicated_moreButtonOptions: boolean): boolean { + if ((!duplicated_moreButtonOptions) && (value?.hasOwnProperty("moreButtonOptions"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof NavigationMenuOptions") + } + } static isNavigationMode(value: Object | string | number | undefined | boolean): boolean { if ((value) === (NavigationMode.Stack)) { return true @@ -8671,6 +9971,18 @@ export class TypeChecker { else if ((value) === (NavigationSystemTransitionType.CONTENT)) { return true } + else if ((value) === (NavigationSystemTransitionType.FADE)) { + return true + } + else if ((value) === (NavigationSystemTransitionType.EXPLODE)) { + return true + } + else if ((value) === (NavigationSystemTransitionType.SLIDE_RIGHT)) { + return true + } + else if ((value) === (NavigationSystemTransitionType.SLIDE_BOTTOM)) { + return true + } else { throw new Error("Can not discriminate value typeof NavigationSystemTransitionType") } @@ -8689,13 +10001,19 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof NavigationTitleMode") } } - static isNavigationTitleOptions(value: Object | string | number | undefined | boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_barStyle: boolean, duplicated_paddingStart: boolean, duplicated_paddingEnd: boolean, duplicated_mainTitleModifier: boolean, duplicated_subTitleModifier: boolean, duplicated_enableHoverMode: boolean): boolean { + static isNavigationTitleOptions(value: Object | string | number | undefined | boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_backgroundBlurStyleOptions: boolean, duplicated_backgroundEffect: boolean, duplicated_barStyle: boolean, duplicated_paddingStart: boolean, duplicated_paddingEnd: boolean, duplicated_mainTitleModifier: boolean, duplicated_subTitleModifier: boolean, duplicated_enableHoverMode: boolean): boolean { if ((!duplicated_backgroundColor) && (value?.hasOwnProperty("backgroundColor"))) { return true } else if ((!duplicated_backgroundBlurStyle) && (value?.hasOwnProperty("backgroundBlurStyle"))) { return true } + else if ((!duplicated_backgroundBlurStyleOptions) && (value?.hasOwnProperty("backgroundBlurStyleOptions"))) { + return true + } + else if ((!duplicated_backgroundEffect) && (value?.hasOwnProperty("backgroundEffect"))) { + return true + } else if ((!duplicated_barStyle) && (value?.hasOwnProperty("barStyle"))) { return true } @@ -8718,16 +10036,28 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof NavigationTitleOptions") } } - static isNavigationToolbarOptions(value: Object | string | number | undefined | boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_barStyle: boolean): boolean { + static isNavigationToolbarOptions(value: Object | string | number | undefined | boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_backgroundBlurStyleOptions: boolean, duplicated_backgroundEffect: boolean, duplicated_moreButtonOptions: boolean, duplicated_barStyle: boolean, duplicated_hideItemValue: boolean): boolean { if ((!duplicated_backgroundColor) && (value?.hasOwnProperty("backgroundColor"))) { return true } else if ((!duplicated_backgroundBlurStyle) && (value?.hasOwnProperty("backgroundBlurStyle"))) { return true } + else if ((!duplicated_backgroundBlurStyleOptions) && (value?.hasOwnProperty("backgroundBlurStyleOptions"))) { + return true + } + else if ((!duplicated_backgroundEffect) && (value?.hasOwnProperty("backgroundEffect"))) { + return true + } + else if ((!duplicated_moreButtonOptions) && (value?.hasOwnProperty("moreButtonOptions"))) { + return true + } else if ((!duplicated_barStyle) && (value?.hasOwnProperty("barStyle"))) { return true } + else if ((!duplicated_hideItemValue) && (value?.hasOwnProperty("hideItemValue"))) { + return true + } else { throw new Error("Can not discriminate value typeof NavigationToolbarOptions") } @@ -8760,7 +10090,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof NavigationType") } } - static isNavPathInfo(value: Object | string | number | undefined | boolean, duplicated_name: boolean, duplicated_param: boolean, duplicated_onPop: boolean, duplicated_isEntry: boolean): boolean { + static isNavPathInfo(value: Object | string | number | undefined | boolean, duplicated_name: boolean, duplicated_param: boolean, duplicated_onPop: boolean, duplicated_isEntry: boolean, duplicated_navDestinationId: boolean): boolean { if ((!duplicated_name) && (value?.hasOwnProperty("name"))) { return true } @@ -8773,6 +10103,9 @@ export class TypeChecker { else if ((!duplicated_isEntry) && (value?.hasOwnProperty("isEntry"))) { return true } + else if ((!duplicated_navDestinationId) && (value?.hasOwnProperty("navDestinationId"))) { + return true + } else { throw new Error("Can not discriminate value typeof NavPathInfo") } @@ -8794,6 +10127,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof NavRouteMode") } } + static isNestedScrollInfo(value: Object | string | number | undefined | boolean, duplicated_parent: boolean, duplicated_child: boolean): boolean { + if ((!duplicated_parent) && (value?.hasOwnProperty("parent"))) { + return true + } + else if ((!duplicated_child) && (value?.hasOwnProperty("child"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof NestedScrollInfo") + } + } static isNestedScrollMode(value: Object | string | number | undefined | boolean): boolean { if ((value) === (NestedScrollMode.SELF_ONLY)) { return true @@ -9351,6 +10695,14 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof OptionWidthMode") } } + static isOrientation(value: Object | string | number | undefined | boolean, duplicated__OrientationStub: boolean): boolean { + if ((!duplicated__OrientationStub) && (value?.hasOwnProperty("_OrientationStub"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof Orientation") + } + } static isOutlineOptions(value: Object | string | number | undefined | boolean, duplicated_width: boolean, duplicated_color: boolean, duplicated_radius: boolean, duplicated_style: boolean): boolean { if ((!duplicated_width) && (value?.hasOwnProperty("width"))) { return true @@ -9449,6 +10801,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof Padding") } } + static isPageFlipMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (PageFlipMode.CONTINUOUS)) { + return true + } + else if ((value) === (PageFlipMode.SINGLE)) { + return true + } + else { + throw new Error("Can not discriminate value typeof PageFlipMode") + } + } static isPanDirection(value: Object | string | number | undefined | boolean): boolean { if ((value) === (PanDirection.None)) { return true @@ -9537,6 +10900,20 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof PanGestureEvent") } } + static isPanGestureHandlerOptions(value: Object | string | number | undefined | boolean, duplicated_fingers: boolean, duplicated_direction: boolean, duplicated_distance: boolean): boolean { + if ((!duplicated_fingers) && (value?.hasOwnProperty("fingers"))) { + return true + } + else if ((!duplicated_direction) && (value?.hasOwnProperty("direction"))) { + return true + } + else if ((!duplicated_distance) && (value?.hasOwnProperty("distance"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof PanGestureHandlerOptions") + } + } static isPanGestureInterface(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof PanGestureInterface") } @@ -9546,7 +10923,7 @@ export class TypeChecker { static isPanRecognizer(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof PanRecognizer") } - static isParagraphStyle(value: Object | string | number | undefined | boolean, duplicated_textAlign: boolean, duplicated_textIndent: boolean, duplicated_maxLines: boolean, duplicated_overflow: boolean, duplicated_wordBreak: boolean, duplicated_leadingMargin: boolean): boolean { + static isParagraphStyle(value: Object | string | number | undefined | boolean, duplicated_textAlign: boolean, duplicated_textIndent: boolean, duplicated_maxLines: boolean, duplicated_overflow: boolean, duplicated_wordBreak: boolean, duplicated_leadingMargin: boolean, duplicated_paragraphSpacing: boolean): boolean { if ((!duplicated_textAlign) && (value?.hasOwnProperty("textAlign"))) { return true } @@ -9565,11 +10942,14 @@ export class TypeChecker { else if ((!duplicated_leadingMargin) && (value?.hasOwnProperty("leadingMargin"))) { return true } + else if ((!duplicated_paragraphSpacing) && (value?.hasOwnProperty("paragraphSpacing"))) { + return true + } else { throw new Error("Can not discriminate value typeof ParagraphStyle") } } - static isParagraphStyleInterface(value: Object | string | number | undefined | boolean, duplicated_textAlign: boolean, duplicated_textIndent: boolean, duplicated_maxLines: boolean, duplicated_overflow: boolean, duplicated_wordBreak: boolean, duplicated_leadingMargin: boolean): boolean { + static isParagraphStyleInterface(value: Object | string | number | undefined | boolean, duplicated_textAlign: boolean, duplicated_textIndent: boolean, duplicated_maxLines: boolean, duplicated_overflow: boolean, duplicated_wordBreak: boolean, duplicated_leadingMargin: boolean, duplicated_paragraphSpacing: boolean): boolean { if ((!duplicated_textAlign) && (value?.hasOwnProperty("textAlign"))) { return true } @@ -9588,6 +10968,9 @@ export class TypeChecker { else if ((!duplicated_leadingMargin) && (value?.hasOwnProperty("leadingMargin"))) { return true } + else if ((!duplicated_paragraphSpacing) && (value?.hasOwnProperty("paragraphSpacing"))) { + return true + } else { throw new Error("Can not discriminate value typeof ParagraphStyleInterface") } @@ -9833,9 +11216,23 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof PinchGestureEvent") } } + static isPinchGestureHandlerOptions(value: Object | string | number | undefined | boolean, duplicated_fingers: boolean, duplicated_distance: boolean): boolean { + if ((!duplicated_fingers) && (value?.hasOwnProperty("fingers"))) { + return true + } + else if ((!duplicated_distance) && (value?.hasOwnProperty("distance"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof PinchGestureHandlerOptions") + } + } static isPinchGestureInterface(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof PinchGestureInterface") } + static isPinchRecognizer(value: Object | string | number | undefined | boolean): boolean { + throw new Error("Can not discriminate value typeof PinchRecognizer") + } static isPixelMap(value: Object | string | number | undefined | boolean, duplicated_isEditable: boolean, duplicated_isStrideAlignment: boolean): boolean { if ((!duplicated_isEditable) && (value?.hasOwnProperty("isEditable"))) { return true @@ -9867,6 +11264,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof PixelRoundCalcPolicy") } } + static isPixelRoundMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (PixelRoundMode.PIXEL_ROUND_ON_LAYOUT_FINISH)) { + return true + } + else if ((value) === (PixelRoundMode.PIXEL_ROUND_AFTER_MEASURE)) { + return true + } + else { + throw new Error("Can not discriminate value typeof PixelRoundMode") + } + } static isPixelRoundPolicy(value: Object | string | number | undefined | boolean, duplicated_start: boolean, duplicated_top: boolean, duplicated_end: boolean, duplicated_bottom: boolean): boolean { if ((!duplicated_start) && (value?.hasOwnProperty("start"))) { return true @@ -10246,7 +11654,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof PopupMessageOptions") } } - static isPopupOptions(value: Object | string | number | undefined | boolean, duplicated_message: boolean, duplicated_placementOnTop: boolean, duplicated_placement: boolean, duplicated_primaryButton: boolean, duplicated_secondaryButton: boolean, duplicated_onStateChange: boolean, duplicated_arrowOffset: boolean, duplicated_showInSubWindow: boolean, duplicated_mask: boolean, duplicated_messageOptions: boolean, duplicated_targetSpace: boolean, duplicated_enableArrow: boolean, duplicated_offset: boolean, duplicated_popupColor: boolean, duplicated_autoCancel: boolean, duplicated_width: boolean, duplicated_arrowPointPosition: boolean, duplicated_arrowWidth: boolean, duplicated_arrowHeight: boolean, duplicated_radius: boolean, duplicated_shadow: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_transition: boolean, duplicated_onWillDismiss: boolean, duplicated_enableHoverMode: boolean, duplicated_followTransformOfTarget: boolean): boolean { + static isPopupOptions(value: Object | string | number | undefined | boolean, duplicated_message: boolean, duplicated_placementOnTop: boolean, duplicated_placement: boolean, duplicated_primaryButton: boolean, duplicated_secondaryButton: boolean, duplicated_onStateChange: boolean, duplicated_arrowOffset: boolean, duplicated_showInSubWindow: boolean, duplicated_mask: boolean, duplicated_messageOptions: boolean, duplicated_targetSpace: boolean, duplicated_enableArrow: boolean, duplicated_offset: boolean, duplicated_popupColor: boolean, duplicated_autoCancel: boolean, duplicated_width: boolean, duplicated_arrowPointPosition: boolean, duplicated_arrowWidth: boolean, duplicated_arrowHeight: boolean, duplicated_radius: boolean, duplicated_shadow: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_transition: boolean, duplicated_onWillDismiss: boolean, duplicated_enableHoverMode: boolean, duplicated_followTransformOfTarget: boolean, duplicated_keyboardAvoidMode: boolean): boolean { if ((!duplicated_message) && (value?.hasOwnProperty("message"))) { return true } @@ -10325,10 +11733,21 @@ export class TypeChecker { else if ((!duplicated_followTransformOfTarget) && (value?.hasOwnProperty("followTransformOfTarget"))) { return true } + else if ((!duplicated_keyboardAvoidMode) && (value?.hasOwnProperty("keyboardAvoidMode"))) { + return true + } else { throw new Error("Can not discriminate value typeof PopupOptions") } } + static isPopupStateChangeParam(value: Object | string | number | undefined | boolean, duplicated_isVisible: boolean): boolean { + if ((!duplicated_isVisible) && (value?.hasOwnProperty("isVisible"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof PopupStateChangeParam") + } + } static isPosition(value: Object | string | number | undefined | boolean, duplicated_x: boolean, duplicated_y: boolean): boolean { if ((!duplicated_x) && (value?.hasOwnProperty("x"))) { return true @@ -10351,6 +11770,14 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof PositionWithAffinity") } } + static isPosterOptions(value: Object | string | number | undefined | boolean, duplicated_showFirstFrame: boolean): boolean { + if ((!duplicated_showFirstFrame) && (value?.hasOwnProperty("showFirstFrame"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof PosterOptions") + } + } static isPostMessageOptions(value: Object | string | number | undefined | boolean, duplicated_transfer: boolean): boolean { if ((!duplicated_transfer) && (value?.hasOwnProperty("transfer"))) { return true @@ -10381,6 +11808,9 @@ export class TypeChecker { else if ((value) === (PreDragStatus.ACTION_CANCELED_BEFORE_DRAG)) { return true } + else if ((value) === (PreDragStatus.PREPARING_FOR_DRAG_DETECTION)) { + return true + } else { throw new Error("Can not discriminate value typeof PreDragStatus") } @@ -10393,6 +11823,25 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof PreparedInfo") } } + static isPreviewConfiguration(value: Object | string | number | undefined | boolean, duplicated_onlyForLifting: boolean, duplicated_delayCreating: boolean): boolean { + if ((!duplicated_onlyForLifting) && (value?.hasOwnProperty("onlyForLifting"))) { + return true + } + else if ((!duplicated_delayCreating) && (value?.hasOwnProperty("delayCreating"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof PreviewConfiguration") + } + } + static isPreviewMenuOptions(value: Object | string | number | undefined | boolean, duplicated_hapticFeedbackMode: boolean): boolean { + if ((!duplicated_hapticFeedbackMode) && (value?.hasOwnProperty("hapticFeedbackMode"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof PreviewMenuOptions") + } + } static isPreviewText(value: Object | string | number | undefined | boolean, duplicated_offset: boolean, duplicated_value: boolean): boolean { if ((!duplicated_offset) && (value?.hasOwnProperty("offset"))) { return true @@ -10489,6 +11938,14 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ProgressType") } } + static isPromptActionDialogController(value: Object | string | number | undefined | boolean, duplicated__PromptActionDialogControllerStub: boolean): boolean { + if ((!duplicated__PromptActionDialogControllerStub) && (value?.hasOwnProperty("_PromptActionDialogControllerStub"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof PromptActionDialogController") + } + } static isProtectedResourceType(value: Object | string | number | undefined | boolean): boolean { if ((value) === (ProtectedResourceType.MidiSysex)) { return true @@ -10509,6 +11966,23 @@ export class TypeChecker { static isPulseSymbolEffect(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof PulseSymbolEffect") } + static isRadialGradientOptions(value: Object | string | number | undefined | boolean, duplicated_center: boolean, duplicated_radius: boolean, duplicated_colors: boolean, duplicated_repeating: boolean): boolean { + if ((!duplicated_center) && (value?.hasOwnProperty("center"))) { + return true + } + else if ((!duplicated_radius) && (value?.hasOwnProperty("radius"))) { + return true + } + else if ((!duplicated_colors) && (value?.hasOwnProperty("colors"))) { + return true + } + else if ((!duplicated_repeating) && (value?.hasOwnProperty("repeating"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof RadialGradientOptions") + } + } static isRadioIndicatorType(value: Object | string | number | undefined | boolean): boolean { if ((value) === (RadioIndicatorType.TICK)) { return true @@ -11030,6 +12504,32 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof Resource") } } + static isResourceImageAttachmentOptions(value: Object | string | number | undefined | boolean, duplicated_resourceValue: boolean, duplicated_size: boolean, duplicated_verticalAlign: boolean, duplicated_objectFit: boolean, duplicated_layoutStyle: boolean, duplicated_colorFilter: boolean, duplicated_syncLoad: boolean): boolean { + if ((!duplicated_resourceValue) && (value?.hasOwnProperty("resourceValue"))) { + return true + } + else if ((!duplicated_size) && (value?.hasOwnProperty("size"))) { + return true + } + else if ((!duplicated_verticalAlign) && (value?.hasOwnProperty("verticalAlign"))) { + return true + } + else if ((!duplicated_objectFit) && (value?.hasOwnProperty("objectFit"))) { + return true + } + else if ((!duplicated_layoutStyle) && (value?.hasOwnProperty("layoutStyle"))) { + return true + } + else if ((!duplicated_colorFilter) && (value?.hasOwnProperty("colorFilter"))) { + return true + } + else if ((!duplicated_syncLoad) && (value?.hasOwnProperty("syncLoad"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof ResourceImageAttachmentOptions") + } + } static isResponseType(value: Object | string | number | undefined | boolean): boolean { if ((value) === (ResponseType.RightClick)) { return true @@ -11058,7 +12558,15 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof RestrictedWorker") } } - static isRichEditorAttribute(value: Object | string | number | undefined | boolean, duplicated_onReady: boolean, duplicated_onSelect: boolean, duplicated_onSelectionChange: boolean, duplicated_aboutToIMEInput: boolean, duplicated_onIMEInputComplete: boolean, duplicated_onDidIMEInput: boolean, duplicated_aboutToDelete: boolean, duplicated_onDeleteComplete: boolean, duplicated_copyOptions: boolean, duplicated_onPaste: boolean, duplicated_enableDataDetector: boolean, duplicated_enablePreviewText: boolean, duplicated_dataDetectorConfig: boolean, duplicated_caretColor: boolean, duplicated_selectedBackgroundColor: boolean, duplicated_onEditingChange: boolean, duplicated_enterKeyType: boolean, duplicated_onSubmit: boolean, duplicated_onWillChange: boolean, duplicated_onDidChange: boolean, duplicated_onCut: boolean, duplicated_onCopy: boolean, duplicated_editMenuOptions: boolean, duplicated_enableKeyboardOnFocus: boolean, duplicated_enableHapticFeedback: boolean, duplicated_barState: boolean): boolean { + static isReuseOptions(value: Object | string | number | undefined | boolean, duplicated_reuseId: boolean): boolean { + if ((!duplicated_reuseId) && (value?.hasOwnProperty("reuseId"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof ReuseOptions") + } + } + static isRichEditorAttribute(value: Object | string | number | undefined | boolean, duplicated_onReady: boolean, duplicated_onSelect: boolean, duplicated_onSelectionChange: boolean, duplicated_aboutToIMEInput: boolean, duplicated_onIMEInputComplete: boolean, duplicated_onDidIMEInput: boolean, duplicated_aboutToDelete: boolean, duplicated_onDeleteComplete: boolean, duplicated_copyOptions: boolean, duplicated_onPaste: boolean, duplicated_enableDataDetector: boolean, duplicated_enablePreviewText: boolean, duplicated_dataDetectorConfig: boolean, duplicated_caretColor: boolean, duplicated_selectedBackgroundColor: boolean, duplicated_onEditingChange: boolean, duplicated_enterKeyType: boolean, duplicated_onSubmit: boolean, duplicated_onWillChange: boolean, duplicated_onDidChange: boolean, duplicated_onCut: boolean, duplicated_onCopy: boolean, duplicated_editMenuOptions: boolean, duplicated_enableKeyboardOnFocus: boolean, duplicated_enableHapticFeedback: boolean, duplicated_barState: boolean, duplicated_maxLength: boolean, duplicated_maxLines: boolean, duplicated_keyboardAppearance: boolean, duplicated_stopBackPress: boolean): boolean { if ((!duplicated_onReady) && (value?.hasOwnProperty("onReady"))) { return true } @@ -11137,6 +12645,18 @@ export class TypeChecker { else if ((!duplicated_barState) && (value?.hasOwnProperty("barState"))) { return true } + else if ((!duplicated_maxLength) && (value?.hasOwnProperty("maxLength"))) { + return true + } + else if ((!duplicated_maxLines) && (value?.hasOwnProperty("maxLines"))) { + return true + } + else if ((!duplicated_keyboardAppearance) && (value?.hasOwnProperty("keyboardAppearance"))) { + return true + } + else if ((!duplicated_stopBackPress) && (value?.hasOwnProperty("stopBackPress"))) { + return true + } else { throw new Error("Can not discriminate value typeof RichEditorAttribute") } @@ -11144,10 +12664,16 @@ export class TypeChecker { static isRichEditorBaseController(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof RichEditorBaseController") } - static isRichEditorBuilderSpanOptions(value: Object | string | number | undefined | boolean, duplicated_offset: boolean): boolean { + static isRichEditorBuilderSpanOptions(value: Object | string | number | undefined | boolean, duplicated_offset: boolean, duplicated_dragBackgroundColor: boolean, duplicated_isDragShadowNeeded: boolean): boolean { if ((!duplicated_offset) && (value?.hasOwnProperty("offset"))) { return true } + else if ((!duplicated_dragBackgroundColor) && (value?.hasOwnProperty("dragBackgroundColor"))) { + return true + } + else if ((!duplicated_isDragShadowNeeded) && (value?.hasOwnProperty("isDragShadowNeeded"))) { + return true + } else { throw new Error("Can not discriminate value typeof RichEditorBuilderSpanOptions") } @@ -11200,18 +12726,21 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof RichEditorDeleteValue") } } - static isRichEditorGesture(value: Object | string | number | undefined | boolean, duplicated_onClick: boolean, duplicated_onLongPress: boolean): boolean { + static isRichEditorGesture(value: Object | string | number | undefined | boolean, duplicated_onClick: boolean, duplicated_onLongPress: boolean, duplicated_onDoubleClick: boolean): boolean { if ((!duplicated_onClick) && (value?.hasOwnProperty("onClick"))) { return true } else if ((!duplicated_onLongPress) && (value?.hasOwnProperty("onLongPress"))) { return true } + else if ((!duplicated_onDoubleClick) && (value?.hasOwnProperty("onDoubleClick"))) { + return true + } else { throw new Error("Can not discriminate value typeof RichEditorGesture") } } - static isRichEditorImageSpanOptions(value: Object | string | number | undefined | boolean, duplicated_offset: boolean, duplicated_imageStyle: boolean, duplicated_gesture: boolean): boolean { + static isRichEditorImageSpanOptions(value: Object | string | number | undefined | boolean, duplicated_offset: boolean, duplicated_imageStyle: boolean, duplicated_gesture: boolean, duplicated_onHover: boolean): boolean { if ((!duplicated_offset) && (value?.hasOwnProperty("offset"))) { return true } @@ -11221,6 +12750,9 @@ export class TypeChecker { else if ((!duplicated_gesture) && (value?.hasOwnProperty("gesture"))) { return true } + else if ((!duplicated_onHover) && (value?.hasOwnProperty("onHover"))) { + return true + } else { throw new Error("Can not discriminate value typeof RichEditorImageSpanOptions") } @@ -11323,7 +12855,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof RichEditorParagraphResult") } } - static isRichEditorParagraphStyle(value: Object | string | number | undefined | boolean, duplicated_textAlign: boolean, duplicated_leadingMargin: boolean, duplicated_wordBreak: boolean, duplicated_lineBreakStrategy: boolean): boolean { + static isRichEditorParagraphStyle(value: Object | string | number | undefined | boolean, duplicated_textAlign: boolean, duplicated_leadingMargin: boolean, duplicated_wordBreak: boolean, duplicated_lineBreakStrategy: boolean, duplicated_paragraphSpacing: boolean): boolean { if ((!duplicated_textAlign) && (value?.hasOwnProperty("textAlign"))) { return true } @@ -11336,6 +12868,9 @@ export class TypeChecker { else if ((!duplicated_lineBreakStrategy) && (value?.hasOwnProperty("lineBreakStrategy"))) { return true } + else if ((!duplicated_paragraphSpacing) && (value?.hasOwnProperty("paragraphSpacing"))) { + return true + } else { throw new Error("Can not discriminate value typeof RichEditorParagraphStyle") } @@ -11369,6 +12904,9 @@ export class TypeChecker { else if ((value) === (RichEditorResponseType.SELECT)) { return true } + else if ((value) === (RichEditorResponseType.DEFAULT)) { + return true + } else { throw new Error("Can not discriminate value typeof RichEditorResponseType") } @@ -11408,6 +12946,9 @@ export class TypeChecker { else if ((value) === (RichEditorSpanType.BUILDER)) { return true } + else if ((value) === (RichEditorSpanType.DEFAULT)) { + return true + } else { throw new Error("Can not discriminate value typeof RichEditorSpanType") } @@ -11454,7 +12995,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof RichEditorSymbolSpanStyle") } } - static isRichEditorTextSpanOptions(value: Object | string | number | undefined | boolean, duplicated_offset: boolean, duplicated_style: boolean, duplicated_paragraphStyle: boolean, duplicated_gesture: boolean): boolean { + static isRichEditorTextSpanOptions(value: Object | string | number | undefined | boolean, duplicated_offset: boolean, duplicated_style: boolean, duplicated_paragraphStyle: boolean, duplicated_gesture: boolean, duplicated_urlStyle: boolean): boolean { if ((!duplicated_offset) && (value?.hasOwnProperty("offset"))) { return true } @@ -11467,11 +13008,14 @@ export class TypeChecker { else if ((!duplicated_gesture) && (value?.hasOwnProperty("gesture"))) { return true } + else if ((!duplicated_urlStyle) && (value?.hasOwnProperty("urlStyle"))) { + return true + } else { throw new Error("Can not discriminate value typeof RichEditorTextSpanOptions") } } - static isRichEditorTextSpanResult(value: Object | string | number | undefined | boolean, duplicated_spanPosition: boolean, duplicated_value: boolean, duplicated_textStyle: boolean, duplicated_offsetInSpan: boolean, duplicated_symbolSpanStyle: boolean, duplicated_valueResource: boolean, duplicated_paragraphStyle: boolean, duplicated_previewText: boolean): boolean { + static isRichEditorTextSpanResult(value: Object | string | number | undefined | boolean, duplicated_spanPosition: boolean, duplicated_value: boolean, duplicated_textStyle: boolean, duplicated_offsetInSpan: boolean, duplicated_symbolSpanStyle: boolean, duplicated_valueResource: boolean, duplicated_paragraphStyle: boolean, duplicated_previewText: boolean, duplicated_urlStyle: boolean): boolean { if ((!duplicated_spanPosition) && (value?.hasOwnProperty("spanPosition"))) { return true } @@ -11496,11 +13040,14 @@ export class TypeChecker { else if ((!duplicated_previewText) && (value?.hasOwnProperty("previewText"))) { return true } + else if ((!duplicated_urlStyle) && (value?.hasOwnProperty("urlStyle"))) { + return true + } else { throw new Error("Can not discriminate value typeof RichEditorTextSpanResult") } } - static isRichEditorTextStyle(value: Object | string | number | undefined | boolean, duplicated_fontColor: boolean, duplicated_fontSize: boolean, duplicated_fontStyle: boolean, duplicated_fontWeight: boolean, duplicated_fontFamily: boolean, duplicated_decoration: boolean, duplicated_textShadow: boolean, duplicated_letterSpacing: boolean, duplicated_lineHeight: boolean, duplicated_fontFeature: boolean): boolean { + static isRichEditorTextStyle(value: Object | string | number | undefined | boolean, duplicated_fontColor: boolean, duplicated_fontSize: boolean, duplicated_fontStyle: boolean, duplicated_fontWeight: boolean, duplicated_fontFamily: boolean, duplicated_decoration: boolean, duplicated_textShadow: boolean, duplicated_letterSpacing: boolean, duplicated_lineHeight: boolean, duplicated_halfLeading: boolean, duplicated_fontFeature: boolean, duplicated_textBackgroundStyle: boolean): boolean { if ((!duplicated_fontColor) && (value?.hasOwnProperty("fontColor"))) { return true } @@ -11528,14 +13075,20 @@ export class TypeChecker { else if ((!duplicated_lineHeight) && (value?.hasOwnProperty("lineHeight"))) { return true } + else if ((!duplicated_halfLeading) && (value?.hasOwnProperty("halfLeading"))) { + return true + } else if ((!duplicated_fontFeature) && (value?.hasOwnProperty("fontFeature"))) { return true } + else if ((!duplicated_textBackgroundStyle) && (value?.hasOwnProperty("textBackgroundStyle"))) { + return true + } else { throw new Error("Can not discriminate value typeof RichEditorTextStyle") } } - static isRichEditorTextStyleResult(value: Object | string | number | undefined | boolean, duplicated_fontColor: boolean, duplicated_fontSize: boolean, duplicated_fontStyle: boolean, duplicated_fontWeight: boolean, duplicated_fontFamily: boolean, duplicated_decoration: boolean, duplicated_textShadow: boolean, duplicated_letterSpacing: boolean, duplicated_lineHeight: boolean, duplicated_fontFeature: boolean): boolean { + static isRichEditorTextStyleResult(value: Object | string | number | undefined | boolean, duplicated_fontColor: boolean, duplicated_fontSize: boolean, duplicated_fontStyle: boolean, duplicated_fontWeight: boolean, duplicated_fontFamily: boolean, duplicated_decoration: boolean, duplicated_textShadow: boolean, duplicated_letterSpacing: boolean, duplicated_lineHeight: boolean, duplicated_halfLeading: boolean, duplicated_fontFeature: boolean, duplicated_textBackgroundStyle: boolean): boolean { if ((!duplicated_fontColor) && (value?.hasOwnProperty("fontColor"))) { return true } @@ -11563,9 +13116,15 @@ export class TypeChecker { else if ((!duplicated_lineHeight) && (value?.hasOwnProperty("lineHeight"))) { return true } + else if ((!duplicated_halfLeading) && (value?.hasOwnProperty("halfLeading"))) { + return true + } else if ((!duplicated_fontFeature) && (value?.hasOwnProperty("fontFeature"))) { return true } + else if ((!duplicated_textBackgroundStyle) && (value?.hasOwnProperty("textBackgroundStyle"))) { + return true + } else { throw new Error("Can not discriminate value typeof RichEditorTextStyleResult") } @@ -11586,14 +13145,25 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof RichEditorUpdateSymbolSpanStyleOptions") } } - static isRichEditorUpdateTextSpanStyleOptions(value: Object | string | number | undefined | boolean, duplicated_textStyle: boolean): boolean { + static isRichEditorUpdateTextSpanStyleOptions(value: Object | string | number | undefined | boolean, duplicated_textStyle: boolean, duplicated_urlStyle: boolean): boolean { if ((!duplicated_textStyle) && (value?.hasOwnProperty("textStyle"))) { return true } + else if ((!duplicated_urlStyle) && (value?.hasOwnProperty("urlStyle"))) { + return true + } else { throw new Error("Can not discriminate value typeof RichEditorUpdateTextSpanStyleOptions") } } + static isRichEditorUrlStyle(value: Object | string | number | undefined | boolean, duplicated_url: boolean): boolean { + if ((!duplicated_url) && (value?.hasOwnProperty("url"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof RichEditorUrlStyle") + } + } static isRingStyleOptions(value: Object | string | number | undefined | boolean, duplicated_strokeWidth: boolean, duplicated_shadow: boolean, duplicated_status: boolean): boolean { if ((!duplicated_strokeWidth) && (value?.hasOwnProperty("strokeWidth"))) { return true @@ -11694,9 +13264,23 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof RotationGestureEvent") } } + static isRotationGestureHandlerOptions(value: Object | string | number | undefined | boolean, duplicated_fingers: boolean, duplicated_angle: boolean): boolean { + if ((!duplicated_fingers) && (value?.hasOwnProperty("fingers"))) { + return true + } + else if ((!duplicated_angle) && (value?.hasOwnProperty("angle"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof RotationGestureHandlerOptions") + } + } static isRotationGestureInterface(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof RotationGestureInterface") } + static isRotationRecognizer(value: Object | string | number | undefined | boolean): boolean { + throw new Error("Can not discriminate value typeof RotationRecognizer") + } static isRoundedRectOptions(value: Object | string | number | undefined | boolean, duplicated_width: boolean, duplicated_height: boolean, duplicated_radiusWidth: boolean, duplicated_radiusHeight: boolean): boolean { if ((!duplicated_width) && (value?.hasOwnProperty("width"))) { return true @@ -11791,6 +13375,14 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof RowOptions") } } + static isRowOptionsV2(value: Object | string | number | undefined | boolean, duplicated_stub: boolean): boolean { + if ((!duplicated_stub) && (value?.hasOwnProperty("stub"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof RowOptionsV2") + } + } static isRRect(value: Object | string | number | undefined | boolean, duplicated_left: boolean, duplicated_top: boolean, duplicated_width: boolean, duplicated_height: boolean, duplicated_radius: boolean): boolean { if ((!duplicated_left) && (value?.hasOwnProperty("left"))) { return true @@ -11915,6 +13507,9 @@ export class TypeChecker { else if ((value) === (SaveDescription.RESAVE_TO_GALLERY)) { return true } + else if ((value) === (SaveDescription.SAVE_ALL)) { + return true + } else { throw new Error("Can not discriminate value typeof SaveDescription") } @@ -12321,7 +13916,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ScrollToIndexOptions") } } - static isSearchAttribute(value: Object | string | number | undefined | boolean, duplicated_fontColor: boolean, duplicated_searchIcon: boolean, duplicated_cancelButton: boolean, duplicated_textIndent: boolean, duplicated_onEditChange: boolean, duplicated_selectedBackgroundColor: boolean, duplicated_caretStyle: boolean, duplicated_placeholderColor: boolean, duplicated_placeholderFont: boolean, duplicated_textFont: boolean, duplicated_enterKeyType: boolean, duplicated_onSubmit: boolean, duplicated_onChange: boolean, duplicated_onTextSelectionChange: boolean, duplicated_onContentScroll: boolean, duplicated_onCopy: boolean, duplicated_onCut: boolean, duplicated_onPaste: boolean, duplicated_copyOption: boolean, duplicated_maxLength: boolean, duplicated_textAlign: boolean, duplicated_enableKeyboardOnFocus: boolean, duplicated_selectionMenuHidden: boolean, duplicated_minFontSize: boolean, duplicated_maxFontSize: boolean, duplicated_decoration: boolean, duplicated_letterSpacing: boolean, duplicated_lineHeight: boolean, duplicated_type: boolean, duplicated_fontFeature: boolean, duplicated_onWillInsert: boolean, duplicated_onDidInsert: boolean, duplicated_onWillDelete: boolean, duplicated_onDidDelete: boolean, duplicated_editMenuOptions: boolean, duplicated_enablePreviewText: boolean, duplicated_enableHapticFeedback: boolean): boolean { + static isSearchAttribute(value: Object | string | number | undefined | boolean, duplicated_fontColor: boolean, duplicated_searchIcon: boolean, duplicated_cancelButton: boolean, duplicated_textIndent: boolean, duplicated_onEditChange: boolean, duplicated_selectedBackgroundColor: boolean, duplicated_caretStyle: boolean, duplicated_placeholderColor: boolean, duplicated_placeholderFont: boolean, duplicated_textFont: boolean, duplicated_enterKeyType: boolean, duplicated_onSubmit: boolean, duplicated_onChange: boolean, duplicated_onTextSelectionChange: boolean, duplicated_onContentScroll: boolean, duplicated_onCopy: boolean, duplicated_onCut: boolean, duplicated_onPaste: boolean, duplicated_copyOption: boolean, duplicated_maxLength: boolean, duplicated_textAlign: boolean, duplicated_enableKeyboardOnFocus: boolean, duplicated_selectionMenuHidden: boolean, duplicated_minFontSize: boolean, duplicated_maxFontSize: boolean, duplicated_minFontScale: boolean, duplicated_maxFontScale: boolean, duplicated_decoration: boolean, duplicated_letterSpacing: boolean, duplicated_lineHeight: boolean, duplicated_type: boolean, duplicated_fontFeature: boolean, duplicated_onWillInsert: boolean, duplicated_onDidInsert: boolean, duplicated_onWillDelete: boolean, duplicated_onDidDelete: boolean, duplicated_editMenuOptions: boolean, duplicated_enablePreviewText: boolean, duplicated_enableHapticFeedback: boolean, duplicated_autoCapitalizationMode: boolean, duplicated_halfLeading: boolean, duplicated_stopBackPress: boolean, duplicated_onWillChange: boolean, duplicated_keyboardAppearance: boolean): boolean { if ((!duplicated_fontColor) && (value?.hasOwnProperty("fontColor"))) { return true } @@ -12391,6 +13986,12 @@ export class TypeChecker { else if ((!duplicated_maxFontSize) && (value?.hasOwnProperty("maxFontSize"))) { return true } + else if ((!duplicated_minFontScale) && (value?.hasOwnProperty("minFontScale"))) { + return true + } + else if ((!duplicated_maxFontScale) && (value?.hasOwnProperty("maxFontScale"))) { + return true + } else if ((!duplicated_decoration) && (value?.hasOwnProperty("decoration"))) { return true } @@ -12427,6 +14028,21 @@ export class TypeChecker { else if ((!duplicated_enableHapticFeedback) && (value?.hasOwnProperty("enableHapticFeedback"))) { return true } + else if ((!duplicated_autoCapitalizationMode) && (value?.hasOwnProperty("autoCapitalizationMode"))) { + return true + } + else if ((!duplicated_halfLeading) && (value?.hasOwnProperty("halfLeading"))) { + return true + } + else if ((!duplicated_stopBackPress) && (value?.hasOwnProperty("stopBackPress"))) { + return true + } + else if ((!duplicated_onWillChange) && (value?.hasOwnProperty("onWillChange"))) { + return true + } + else if ((!duplicated_keyboardAppearance) && (value?.hasOwnProperty("keyboardAppearance"))) { + return true + } else if ((!duplicated_placeholderFont) && (value?.hasOwnProperty("placeholderFont"))) { return true } @@ -12545,7 +14161,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SeekMode") } } - static isSelectAttribute(value: Object | string | number | undefined | boolean, duplicated_selected: boolean, duplicated_value: boolean, duplicated_font: boolean, duplicated_fontColor: boolean, duplicated_selectedOptionBgColor: boolean, duplicated_selectedOptionFont: boolean, duplicated_selectedOptionFontColor: boolean, duplicated_optionBgColor: boolean, duplicated_optionFont: boolean, duplicated_optionFontColor: boolean, duplicated_onSelect: boolean, duplicated_space: boolean, duplicated_arrowPosition: boolean, duplicated_optionWidth: boolean, duplicated_optionHeight: boolean, duplicated_menuBackgroundColor: boolean, duplicated_menuBackgroundBlurStyle: boolean, duplicated_controlSize: boolean, duplicated_menuItemContentModifier: boolean, duplicated_divider: boolean): boolean { + static isSelectAttribute(value: Object | string | number | undefined | boolean, duplicated_selected: boolean, duplicated_value: boolean, duplicated_font: boolean, duplicated_fontColor: boolean, duplicated_selectedOptionBgColor: boolean, duplicated_selectedOptionFont: boolean, duplicated_selectedOptionFontColor: boolean, duplicated_optionBgColor: boolean, duplicated_optionFont: boolean, duplicated_optionFontColor: boolean, duplicated_onSelect: boolean, duplicated_space: boolean, duplicated_arrowPosition: boolean, duplicated_optionWidth: boolean, duplicated_optionHeight: boolean, duplicated_menuBackgroundColor: boolean, duplicated_menuBackgroundBlurStyle: boolean, duplicated_controlSize: boolean, duplicated_menuItemContentModifier: boolean, duplicated_divider: boolean, duplicated_textModifier: boolean, duplicated_arrowModifier: boolean, duplicated_optionTextModifier: boolean, duplicated_selectedOptionTextModifier: boolean, duplicated_dividerStyle: boolean, duplicated_avoidance: boolean, duplicated_menuOutline: boolean): boolean { if ((!duplicated_selected) && (value?.hasOwnProperty("selected"))) { return true } @@ -12606,6 +14222,27 @@ export class TypeChecker { else if ((!duplicated_divider) && (value?.hasOwnProperty("divider"))) { return true } + else if ((!duplicated_textModifier) && (value?.hasOwnProperty("textModifier"))) { + return true + } + else if ((!duplicated_arrowModifier) && (value?.hasOwnProperty("arrowModifier"))) { + return true + } + else if ((!duplicated_optionTextModifier) && (value?.hasOwnProperty("optionTextModifier"))) { + return true + } + else if ((!duplicated_selectedOptionTextModifier) && (value?.hasOwnProperty("selectedOptionTextModifier"))) { + return true + } + else if ((!duplicated_dividerStyle) && (value?.hasOwnProperty("dividerStyle"))) { + return true + } + else if ((!duplicated_avoidance) && (value?.hasOwnProperty("avoidance"))) { + return true + } + else if ((!duplicated_menuOutline) && (value?.hasOwnProperty("menuOutline"))) { + return true + } else { throw new Error("Can not discriminate value typeof SelectAttribute") } @@ -12621,7 +14258,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SelectedMode") } } - static isSelectionMenuOptions(value: Object | string | number | undefined | boolean, duplicated_onAppear: boolean, duplicated_onDisappear: boolean, duplicated_menuType: boolean): boolean { + static isSelectionMenuOptions(value: Object | string | number | undefined | boolean, duplicated_onAppear: boolean, duplicated_onDisappear: boolean, duplicated_menuType: boolean, duplicated_onMenuShow: boolean, duplicated_onMenuHide: boolean, duplicated_previewMenuOptions: boolean): boolean { if ((!duplicated_onAppear) && (value?.hasOwnProperty("onAppear"))) { return true } @@ -12631,6 +14268,15 @@ export class TypeChecker { else if ((!duplicated_menuType) && (value?.hasOwnProperty("menuType"))) { return true } + else if ((!duplicated_onMenuShow) && (value?.hasOwnProperty("onMenuShow"))) { + return true + } + else if ((!duplicated_onMenuHide) && (value?.hasOwnProperty("onMenuHide"))) { + return true + } + else if ((!duplicated_previewMenuOptions) && (value?.hasOwnProperty("previewMenuOptions"))) { + return true + } else { throw new Error("Can not discriminate value typeof SelectionMenuOptions") } @@ -12898,7 +14544,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SheetMode") } } - static isSheetOptions(value: Object | string | number | undefined | boolean, duplicated_height: boolean, duplicated_dragBar: boolean, duplicated_maskColor: boolean, duplicated_detents: boolean, duplicated_blurStyle: boolean, duplicated_showClose: boolean, duplicated_preferType: boolean, duplicated_title: boolean, duplicated_shouldDismiss: boolean, duplicated_onWillDismiss: boolean, duplicated_onWillSpringBackWhenDismiss: boolean, duplicated_enableOutsideInteractive: boolean, duplicated_width: boolean, duplicated_borderWidth: boolean, duplicated_borderColor: boolean, duplicated_borderStyle: boolean, duplicated_shadow: boolean, duplicated_onHeightDidChange: boolean, duplicated_mode: boolean, duplicated_scrollSizeMode: boolean, duplicated_onDetentsDidChange: boolean, duplicated_onWidthDidChange: boolean, duplicated_onTypeDidChange: boolean, duplicated_uiContext: boolean, duplicated_keyboardAvoidMode: boolean): boolean { + static isSheetOptions(value: Object | string | number | undefined | boolean, duplicated_height: boolean, duplicated_dragBar: boolean, duplicated_maskColor: boolean, duplicated_detents: boolean, duplicated_blurStyle: boolean, duplicated_showClose: boolean, duplicated_preferType: boolean, duplicated_title: boolean, duplicated_shouldDismiss: boolean, duplicated_onWillDismiss: boolean, duplicated_onWillSpringBackWhenDismiss: boolean, duplicated_enableOutsideInteractive: boolean, duplicated_width: boolean, duplicated_borderWidth: boolean, duplicated_borderColor: boolean, duplicated_borderStyle: boolean, duplicated_shadow: boolean, duplicated_onHeightDidChange: boolean, duplicated_mode: boolean, duplicated_scrollSizeMode: boolean, duplicated_onDetentsDidChange: boolean, duplicated_onWidthDidChange: boolean, duplicated_onTypeDidChange: boolean, duplicated_uiContext: boolean, duplicated_keyboardAvoidMode: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean, duplicated_offset: boolean, duplicated_effectEdge: boolean, duplicated_radius: boolean, duplicated_detentSelection: boolean, duplicated_showInSubWindow: boolean, duplicated_placement: boolean, duplicated_placementOnTarget: boolean): boolean { if ((!duplicated_height) && (value?.hasOwnProperty("height"))) { return true } @@ -12938,40 +14584,67 @@ export class TypeChecker { else if ((!duplicated_width) && (value?.hasOwnProperty("width"))) { return true } - else if ((!duplicated_borderWidth) && (value?.hasOwnProperty("borderWidth"))) { + else if ((!duplicated_borderWidth) && (value?.hasOwnProperty("borderWidth"))) { + return true + } + else if ((!duplicated_borderColor) && (value?.hasOwnProperty("borderColor"))) { + return true + } + else if ((!duplicated_borderStyle) && (value?.hasOwnProperty("borderStyle"))) { + return true + } + else if ((!duplicated_shadow) && (value?.hasOwnProperty("shadow"))) { + return true + } + else if ((!duplicated_onHeightDidChange) && (value?.hasOwnProperty("onHeightDidChange"))) { + return true + } + else if ((!duplicated_mode) && (value?.hasOwnProperty("mode"))) { + return true + } + else if ((!duplicated_scrollSizeMode) && (value?.hasOwnProperty("scrollSizeMode"))) { + return true + } + else if ((!duplicated_onDetentsDidChange) && (value?.hasOwnProperty("onDetentsDidChange"))) { + return true + } + else if ((!duplicated_onWidthDidChange) && (value?.hasOwnProperty("onWidthDidChange"))) { + return true + } + else if ((!duplicated_onTypeDidChange) && (value?.hasOwnProperty("onTypeDidChange"))) { return true } - else if ((!duplicated_borderColor) && (value?.hasOwnProperty("borderColor"))) { + else if ((!duplicated_uiContext) && (value?.hasOwnProperty("uiContext"))) { return true } - else if ((!duplicated_borderStyle) && (value?.hasOwnProperty("borderStyle"))) { + else if ((!duplicated_keyboardAvoidMode) && (value?.hasOwnProperty("keyboardAvoidMode"))) { return true } - else if ((!duplicated_shadow) && (value?.hasOwnProperty("shadow"))) { + else if ((!duplicated_enableHoverMode) && (value?.hasOwnProperty("enableHoverMode"))) { return true } - else if ((!duplicated_onHeightDidChange) && (value?.hasOwnProperty("onHeightDidChange"))) { + else if ((!duplicated_hoverModeArea) && (value?.hasOwnProperty("hoverModeArea"))) { return true } - else if ((!duplicated_mode) && (value?.hasOwnProperty("mode"))) { + else if ((!duplicated_offset) && (value?.hasOwnProperty("offset"))) { return true } - else if ((!duplicated_scrollSizeMode) && (value?.hasOwnProperty("scrollSizeMode"))) { + else if ((!duplicated_effectEdge) && (value?.hasOwnProperty("effectEdge"))) { return true } - else if ((!duplicated_onDetentsDidChange) && (value?.hasOwnProperty("onDetentsDidChange"))) { + else if ((!duplicated_radius) && (value?.hasOwnProperty("radius"))) { return true } - else if ((!duplicated_onWidthDidChange) && (value?.hasOwnProperty("onWidthDidChange"))) { + else if ((!duplicated_detentSelection) && (value?.hasOwnProperty("detentSelection"))) { return true } - else if ((!duplicated_onTypeDidChange) && (value?.hasOwnProperty("onTypeDidChange"))) { + else if ((!duplicated_showInSubWindow) && (value?.hasOwnProperty("showInSubWindow"))) { return true } - else if ((!duplicated_uiContext) && (value?.hasOwnProperty("uiContext"))) { + else if ((!duplicated_placement) && (value?.hasOwnProperty("placement"))) { return true } - else if ((!duplicated_keyboardAvoidMode) && (value?.hasOwnProperty("keyboardAvoidMode"))) { + else if ((!duplicated_placementOnTarget) && (value?.hasOwnProperty("placementOnTarget"))) { return true } else { @@ -13118,7 +14791,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SlideRange") } } - static isSliderAttribute(value: Object | string | number | undefined | boolean, duplicated_blockColor: boolean, duplicated_trackColor: boolean, duplicated_selectedColor: boolean, duplicated_minLabel: boolean, duplicated_maxLabel: boolean, duplicated_showSteps: boolean, duplicated_trackThickness: boolean, duplicated_onChange: boolean, duplicated_blockBorderColor: boolean, duplicated_blockBorderWidth: boolean, duplicated_stepColor: boolean, duplicated_trackBorderRadius: boolean, duplicated_selectedBorderRadius: boolean, duplicated_blockSize: boolean, duplicated_blockStyle: boolean, duplicated_stepSize: boolean, duplicated_sliderInteractionMode: boolean, duplicated_minResponsiveDistance: boolean, duplicated_contentModifier: boolean, duplicated_slideRange: boolean): boolean { + static isSliderAttribute(value: Object | string | number | undefined | boolean, duplicated_blockColor: boolean, duplicated_trackColor: boolean, duplicated_selectedColor: boolean, duplicated_minLabel: boolean, duplicated_maxLabel: boolean, duplicated_showSteps: boolean, duplicated_trackThickness: boolean, duplicated_onChange: boolean, duplicated_blockBorderColor: boolean, duplicated_blockBorderWidth: boolean, duplicated_stepColor: boolean, duplicated_trackBorderRadius: boolean, duplicated_selectedBorderRadius: boolean, duplicated_blockSize: boolean, duplicated_blockStyle: boolean, duplicated_stepSize: boolean, duplicated_sliderInteractionMode: boolean, duplicated_minResponsiveDistance: boolean, duplicated_contentModifier: boolean, duplicated_slideRange: boolean, duplicated_digitalCrownSensitivity: boolean, duplicated_enableHapticFeedback: boolean): boolean { if ((!duplicated_blockColor) && (value?.hasOwnProperty("blockColor"))) { return true } @@ -13179,6 +14852,12 @@ export class TypeChecker { else if ((!duplicated_slideRange) && (value?.hasOwnProperty("slideRange"))) { return true } + else if ((!duplicated_digitalCrownSensitivity) && (value?.hasOwnProperty("digitalCrownSensitivity"))) { + return true + } + else if ((!duplicated_enableHapticFeedback) && (value?.hasOwnProperty("enableHapticFeedback"))) { + return true + } else { throw new Error("Can not discriminate value typeof SliderAttribute") } @@ -13638,10 +15317,36 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SurfaceRotationOptions") } } - static isSwipeActionItem(value: Object | string | number | undefined | boolean, duplicated_builder: boolean, duplicated_actionAreaDistance: boolean, duplicated_onAction: boolean, duplicated_onEnterActionArea: boolean, duplicated_onExitActionArea: boolean, duplicated_onStateChange: boolean): boolean { + static isSweepGradientOptions(value: Object | string | number | undefined | boolean, duplicated_center: boolean, duplicated_start: boolean, duplicated_end: boolean, duplicated_rotation: boolean, duplicated_colors: boolean, duplicated_repeating: boolean): boolean { + if ((!duplicated_center) && (value?.hasOwnProperty("center"))) { + return true + } + else if ((!duplicated_colors) && (value?.hasOwnProperty("colors"))) { + return true + } + else if ((!duplicated_start) && (value?.hasOwnProperty("start"))) { + return true + } + else if ((!duplicated_end) && (value?.hasOwnProperty("end"))) { + return true + } + else if ((!duplicated_rotation) && (value?.hasOwnProperty("rotation"))) { + return true + } + else if ((!duplicated_repeating) && (value?.hasOwnProperty("repeating"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof SweepGradientOptions") + } + } + static isSwipeActionItem(value: Object | string | number | undefined | boolean, duplicated_builder: boolean, duplicated_builderComponent: boolean, duplicated_actionAreaDistance: boolean, duplicated_onAction: boolean, duplicated_onEnterActionArea: boolean, duplicated_onExitActionArea: boolean, duplicated_onStateChange: boolean): boolean { if ((!duplicated_builder) && (value?.hasOwnProperty("builder"))) { return true } + else if ((!duplicated_builderComponent) && (value?.hasOwnProperty("builderComponent"))) { + return true + } else if ((!duplicated_actionAreaDistance) && (value?.hasOwnProperty("actionAreaDistance"))) { return true } @@ -13731,6 +15436,20 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SwipeGestureEvent") } } + static isSwipeGestureHandlerOptions(value: Object | string | number | undefined | boolean, duplicated_fingers: boolean, duplicated_direction: boolean, duplicated_speed: boolean): boolean { + if ((!duplicated_fingers) && (value?.hasOwnProperty("fingers"))) { + return true + } + else if ((!duplicated_direction) && (value?.hasOwnProperty("direction"))) { + return true + } + else if ((!duplicated_speed) && (value?.hasOwnProperty("speed"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof SwipeGestureHandlerOptions") + } + } static isSwipeGestureInterface(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof SwipeGestureInterface") } @@ -13748,7 +15467,21 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SwiperAnimationEvent") } } - static isSwiperAttribute(value: Object | string | number | undefined | boolean, duplicated_index: boolean, duplicated_autoPlay: boolean, duplicated_interval: boolean, duplicated_indicator: boolean, duplicated_loop: boolean, duplicated_duration: boolean, duplicated_vertical: boolean, duplicated_itemSpace: boolean, duplicated_displayMode: boolean, duplicated_cachedCount: boolean, duplicated_effectMode: boolean, duplicated_disableSwipe: boolean, duplicated_curve: boolean, duplicated_onChange: boolean, duplicated_indicatorStyle: boolean, duplicated_onAnimationStart: boolean, duplicated_onAnimationEnd: boolean, duplicated_onGestureSwipe: boolean, duplicated_nestedScroll: boolean, duplicated_customContentTransition: boolean, duplicated_onContentDidScroll: boolean, duplicated_indicatorInteractive: boolean): boolean { + static isSwiperAnimationMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (SwiperAnimationMode.NO_ANIMATION)) { + return true + } + else if ((value) === (SwiperAnimationMode.DEFAULT_ANIMATION)) { + return true + } + else if ((value) === (SwiperAnimationMode.FAST_ANIMATION)) { + return true + } + else { + throw new Error("Can not discriminate value typeof SwiperAnimationMode") + } + } + static isSwiperAttribute(value: Object | string | number | undefined | boolean, duplicated_index: boolean, duplicated_autoPlay: boolean, duplicated_interval: boolean, duplicated_indicator: boolean, duplicated_loop: boolean, duplicated_duration: boolean, duplicated_vertical: boolean, duplicated_itemSpace: boolean, duplicated_displayMode: boolean, duplicated_cachedCount: boolean, duplicated_effectMode: boolean, duplicated_disableSwipe: boolean, duplicated_curve: boolean, duplicated_onChange: boolean, duplicated_onSelected: boolean, duplicated_indicatorStyle: boolean, duplicated_onUnselected: boolean, duplicated_onAnimationStart: boolean, duplicated_onAnimationEnd: boolean, duplicated_onGestureSwipe: boolean, duplicated_nestedScroll: boolean, duplicated_customContentTransition: boolean, duplicated_onContentDidScroll: boolean, duplicated_indicatorInteractive: boolean, duplicated_pageFlipMode: boolean, duplicated_onContentWillScroll: boolean): boolean { if ((!duplicated_index) && (value?.hasOwnProperty("index"))) { return true } @@ -13791,6 +15524,12 @@ export class TypeChecker { else if ((!duplicated_onChange) && (value?.hasOwnProperty("onChange"))) { return true } + else if ((!duplicated_onSelected) && (value?.hasOwnProperty("onSelected"))) { + return true + } + else if ((!duplicated_onUnselected) && (value?.hasOwnProperty("onUnselected"))) { + return true + } else if ((!duplicated_onAnimationStart) && (value?.hasOwnProperty("onAnimationStart"))) { return true } @@ -13812,6 +15551,12 @@ export class TypeChecker { else if ((!duplicated_indicatorInteractive) && (value?.hasOwnProperty("indicatorInteractive"))) { return true } + else if ((!duplicated_pageFlipMode) && (value?.hasOwnProperty("pageFlipMode"))) { + return true + } + else if ((!duplicated_onContentWillScroll) && (value?.hasOwnProperty("onContentWillScroll"))) { + return true + } else if ((!duplicated_indicatorStyle) && (value?.hasOwnProperty("indicatorStyle"))) { return true } @@ -13855,6 +15600,20 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SwiperContentTransitionProxy") } } + static isSwiperContentWillScrollResult(value: Object | string | number | undefined | boolean, duplicated_currentIndex: boolean, duplicated_comingIndex: boolean, duplicated_offset: boolean): boolean { + if ((!duplicated_currentIndex) && (value?.hasOwnProperty("currentIndex"))) { + return true + } + else if ((!duplicated_comingIndex) && (value?.hasOwnProperty("comingIndex"))) { + return true + } + else if ((!duplicated_offset) && (value?.hasOwnProperty("offset"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof SwiperContentWillScrollResult") + } + } static isSwiperController(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof SwiperController") } @@ -13875,6 +15634,9 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SwiperDisplayMode") } } + static isSwipeRecognizer(value: Object | string | number | undefined | boolean): boolean { + throw new Error("Can not discriminate value typeof SwipeRecognizer") + } static isSwiperNestedScrollMode(value: Object | string | number | undefined | boolean): boolean { if ((value) === (SwiperNestedScrollMode.SELF_ONLY)) { return true @@ -13920,7 +15682,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SymbolEffectStrategy") } } - static isSymbolGlyphAttribute(value: Object | string | number | undefined | boolean, duplicated_fontSize: boolean, duplicated_fontColor: boolean, duplicated_fontWeight: boolean, duplicated_effectStrategy: boolean, duplicated_renderingStrategy: boolean): boolean { + static isSymbolGlyphAttribute(value: Object | string | number | undefined | boolean, duplicated_fontSize: boolean, duplicated_fontColor: boolean, duplicated_fontWeight: boolean, duplicated_effectStrategy: boolean, duplicated_renderingStrategy: boolean, duplicated_minFontScale: boolean, duplicated_maxFontScale: boolean): boolean { if ((!duplicated_fontSize) && (value?.hasOwnProperty("fontSize"))) { return true } @@ -13936,6 +15698,12 @@ export class TypeChecker { else if ((!duplicated_renderingStrategy) && (value?.hasOwnProperty("renderingStrategy"))) { return true } + else if ((!duplicated_minFontScale) && (value?.hasOwnProperty("minFontScale"))) { + return true + } + else if ((!duplicated_maxFontScale) && (value?.hasOwnProperty("maxFontScale"))) { + return true + } else { throw new Error("Can not discriminate value typeof SymbolGlyphAttribute") } @@ -13957,6 +15725,14 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SymbolRenderingStrategy") } } + static isSystemAdaptiveOptions(value: Object | string | number | undefined | boolean, duplicated_disableSystemAdaptation: boolean): boolean { + if ((!duplicated_disableSystemAdaptation) && (value?.hasOwnProperty("disableSystemAdaptation"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof SystemAdaptiveOptions") + } + } static isSystemBarStyle(value: Object | string | number | undefined | boolean, duplicated_statusBarContentColor: boolean): boolean { if ((!duplicated_statusBarContentColor) && (value?.hasOwnProperty("statusBarContentColor"))) { return true @@ -14034,7 +15810,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TabsAnimationEvent") } } - static isTabsAttribute(value: Object | string | number | undefined | boolean, duplicated_vertical: boolean, duplicated_barPosition: boolean, duplicated_scrollable: boolean, duplicated_barMode: boolean, duplicated_barWidth: boolean, duplicated_barHeight: boolean, duplicated_animationDuration: boolean, duplicated_animationMode: boolean, duplicated_edgeEffect: boolean, duplicated_onChange: boolean, duplicated_onTabBarClick: boolean, duplicated_onAnimationStart: boolean, duplicated_onAnimationEnd: boolean, duplicated_onGestureSwipe: boolean, duplicated_fadingEdge: boolean, duplicated_divider: boolean, duplicated_barOverlap: boolean, duplicated_barBackgroundColor: boolean, duplicated_barGridAlign: boolean, duplicated_customContentTransition: boolean, duplicated_barBackgroundBlurStyle: boolean, duplicated_barBackgroundEffect: boolean, duplicated_onContentWillChange: boolean): boolean { + static isTabsAttribute(value: Object | string | number | undefined | boolean, duplicated_vertical: boolean, duplicated_barPosition: boolean, duplicated_scrollable: boolean, duplicated_barMode: boolean, duplicated_barWidth: boolean, duplicated_barHeight: boolean, duplicated_animationDuration: boolean, duplicated_animationMode: boolean, duplicated_edgeEffect: boolean, duplicated_onChange: boolean, duplicated_onSelected: boolean, duplicated_onTabBarClick: boolean, duplicated_onUnselected: boolean, duplicated_onAnimationStart: boolean, duplicated_onAnimationEnd: boolean, duplicated_onGestureSwipe: boolean, duplicated_fadingEdge: boolean, duplicated_divider: boolean, duplicated_barOverlap: boolean, duplicated_barBackgroundColor: boolean, duplicated_barGridAlign: boolean, duplicated_customContentTransition: boolean, duplicated_barBackgroundBlurStyle: boolean, duplicated_barBackgroundEffect: boolean, duplicated_pageFlipMode: boolean, duplicated_onContentWillChange: boolean): boolean { if ((!duplicated_vertical) && (value?.hasOwnProperty("vertical"))) { return true } @@ -14065,9 +15841,15 @@ export class TypeChecker { else if ((!duplicated_onChange) && (value?.hasOwnProperty("onChange"))) { return true } + else if ((!duplicated_onSelected) && (value?.hasOwnProperty("onSelected"))) { + return true + } else if ((!duplicated_onTabBarClick) && (value?.hasOwnProperty("onTabBarClick"))) { return true } + else if ((!duplicated_onUnselected) && (value?.hasOwnProperty("onUnselected"))) { + return true + } else if ((!duplicated_onAnimationStart) && (value?.hasOwnProperty("onAnimationStart"))) { return true } @@ -14101,6 +15883,9 @@ export class TypeChecker { else if ((!duplicated_barBackgroundEffect) && (value?.hasOwnProperty("barBackgroundEffect"))) { return true } + else if ((!duplicated_pageFlipMode) && (value?.hasOwnProperty("pageFlipMode"))) { + return true + } else if ((!duplicated_onContentWillChange) && (value?.hasOwnProperty("onContentWillChange"))) { return true } @@ -14108,10 +15893,21 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TabsAttribute") } } + static isTabsCacheMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (TabsCacheMode.CACHE_BOTH_SIDE)) { + return true + } + else if ((value) === (TabsCacheMode.CACHE_LATEST_SWITCHED)) { + return true + } + else { + throw new Error("Can not discriminate value typeof TabsCacheMode") + } + } static isTabsController(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof TabsController") } - static isTabsOptions(value: Object | string | number | undefined | boolean, duplicated_barPosition: boolean, duplicated_index: boolean, duplicated_controller: boolean): boolean { + static isTabsOptions(value: Object | string | number | undefined | boolean, duplicated_barPosition: boolean, duplicated_index: boolean, duplicated_controller: boolean, duplicated_barModifier: boolean): boolean { if ((!duplicated_barPosition) && (value?.hasOwnProperty("barPosition"))) { return true } @@ -14121,6 +15917,9 @@ export class TypeChecker { else if ((!duplicated_controller) && (value?.hasOwnProperty("controller"))) { return true } + else if ((!duplicated_barModifier) && (value?.hasOwnProperty("barModifier"))) { + return true + } else { throw new Error("Can not discriminate value typeof TabsOptions") } @@ -14145,6 +15944,9 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TapGestureParameters") } } + static isTapRecognizer(value: Object | string | number | undefined | boolean): boolean { + throw new Error("Can not discriminate value typeof TapRecognizer") + } static isTerminationInfo(value: Object | string | number | undefined | boolean, duplicated_code: boolean, duplicated_want: boolean): boolean { if ((!duplicated_code) && (value?.hasOwnProperty("code"))) { return true @@ -14238,7 +16040,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TextAlign") } } - static isTextAreaAttribute(value: Object | string | number | undefined | boolean, duplicated_placeholderColor: boolean, duplicated_placeholderFont: boolean, duplicated_enterKeyType: boolean, duplicated_textAlign: boolean, duplicated_caretColor: boolean, duplicated_fontColor: boolean, duplicated_fontSize: boolean, duplicated_fontStyle: boolean, duplicated_fontWeight: boolean, duplicated_fontFamily: boolean, duplicated_textOverflow: boolean, duplicated_textIndent: boolean, duplicated_caretStyle: boolean, duplicated_selectedBackgroundColor: boolean, duplicated_onSubmit: boolean, duplicated_onChange: boolean, duplicated_onTextSelectionChange: boolean, duplicated_onContentScroll: boolean, duplicated_onEditChange: boolean, duplicated_onCopy: boolean, duplicated_onCut: boolean, duplicated_onPaste: boolean, duplicated_copyOption: boolean, duplicated_enableKeyboardOnFocus: boolean, duplicated_maxLength: boolean, duplicated_style: boolean, duplicated_barState: boolean, duplicated_selectionMenuHidden: boolean, duplicated_minFontSize: boolean, duplicated_maxFontSize: boolean, duplicated_heightAdaptivePolicy: boolean, duplicated_maxLines: boolean, duplicated_wordBreak: boolean, duplicated_lineBreakStrategy: boolean, duplicated_decoration: boolean, duplicated_letterSpacing: boolean, duplicated_lineSpacing: boolean, duplicated_lineHeight: boolean, duplicated_type: boolean, duplicated_enableAutoFill: boolean, duplicated_contentType: boolean, duplicated_fontFeature: boolean, duplicated_onWillInsert: boolean, duplicated_onDidInsert: boolean, duplicated_onWillDelete: boolean, duplicated_onDidDelete: boolean, duplicated_editMenuOptions: boolean, duplicated_enablePreviewText: boolean, duplicated_enableHapticFeedback: boolean): boolean { + static isTextAreaAttribute(value: Object | string | number | undefined | boolean, duplicated_placeholderColor: boolean, duplicated_placeholderFont: boolean, duplicated_enterKeyType: boolean, duplicated_textAlign: boolean, duplicated_caretColor: boolean, duplicated_fontColor: boolean, duplicated_fontSize: boolean, duplicated_fontStyle: boolean, duplicated_fontWeight: boolean, duplicated_fontFamily: boolean, duplicated_textOverflow: boolean, duplicated_textIndent: boolean, duplicated_caretStyle: boolean, duplicated_selectedBackgroundColor: boolean, duplicated_onSubmit: boolean, duplicated_onChange: boolean, duplicated_onTextSelectionChange: boolean, duplicated_onContentScroll: boolean, duplicated_onEditChange: boolean, duplicated_onCopy: boolean, duplicated_onCut: boolean, duplicated_onPaste: boolean, duplicated_copyOption: boolean, duplicated_enableKeyboardOnFocus: boolean, duplicated_maxLength: boolean, duplicated_style: boolean, duplicated_barState: boolean, duplicated_selectionMenuHidden: boolean, duplicated_minFontSize: boolean, duplicated_maxFontSize: boolean, duplicated_minFontScale: boolean, duplicated_maxFontScale: boolean, duplicated_heightAdaptivePolicy: boolean, duplicated_maxLines: boolean, duplicated_wordBreak: boolean, duplicated_lineBreakStrategy: boolean, duplicated_decoration: boolean, duplicated_letterSpacing: boolean, duplicated_lineSpacing: boolean, duplicated_lineHeight: boolean, duplicated_type: boolean, duplicated_enableAutoFill: boolean, duplicated_contentType: boolean, duplicated_fontFeature: boolean, duplicated_onWillInsert: boolean, duplicated_onDidInsert: boolean, duplicated_onWillDelete: boolean, duplicated_onDidDelete: boolean, duplicated_editMenuOptions: boolean, duplicated_enablePreviewText: boolean, duplicated_enableHapticFeedback: boolean, duplicated_autoCapitalizationMode: boolean, duplicated_halfLeading: boolean, duplicated_ellipsisMode: boolean, duplicated_stopBackPress: boolean, duplicated_onWillChange: boolean, duplicated_keyboardAppearance: boolean): boolean { if ((!duplicated_placeholderColor) && (value?.hasOwnProperty("placeholderColor"))) { return true } @@ -14329,6 +16131,12 @@ export class TypeChecker { else if ((!duplicated_maxFontSize) && (value?.hasOwnProperty("maxFontSize"))) { return true } + else if ((!duplicated_minFontScale) && (value?.hasOwnProperty("minFontScale"))) { + return true + } + else if ((!duplicated_maxFontScale) && (value?.hasOwnProperty("maxFontScale"))) { + return true + } else if ((!duplicated_heightAdaptivePolicy) && (value?.hasOwnProperty("heightAdaptivePolicy"))) { return true } @@ -14386,6 +16194,24 @@ export class TypeChecker { else if ((!duplicated_enableHapticFeedback) && (value?.hasOwnProperty("enableHapticFeedback"))) { return true } + else if ((!duplicated_autoCapitalizationMode) && (value?.hasOwnProperty("autoCapitalizationMode"))) { + return true + } + else if ((!duplicated_halfLeading) && (value?.hasOwnProperty("halfLeading"))) { + return true + } + else if ((!duplicated_ellipsisMode) && (value?.hasOwnProperty("ellipsisMode"))) { + return true + } + else if ((!duplicated_stopBackPress) && (value?.hasOwnProperty("stopBackPress"))) { + return true + } + else if ((!duplicated_onWillChange) && (value?.hasOwnProperty("onWillChange"))) { + return true + } + else if ((!duplicated_keyboardAppearance) && (value?.hasOwnProperty("keyboardAppearance"))) { + return true + } else { throw new Error("Can not discriminate value typeof TextAreaAttribute") } @@ -14430,7 +16256,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TextAreaType") } } - static isTextAttribute(value: Object | string | number | undefined | boolean, duplicated_font: boolean, duplicated_fontColor: boolean, duplicated_fontSize: boolean, duplicated_minFontSize: boolean, duplicated_maxFontSize: boolean, duplicated_minFontScale: boolean, duplicated_maxFontScale: boolean, duplicated_fontStyle: boolean, duplicated_fontWeight: boolean, duplicated_lineSpacing: boolean, duplicated_textAlign: boolean, duplicated_lineHeight: boolean, duplicated_textOverflow: boolean, duplicated_fontFamily: boolean, duplicated_maxLines: boolean, duplicated_decoration: boolean, duplicated_letterSpacing: boolean, duplicated_textCase: boolean, duplicated_baselineOffset: boolean, duplicated_copyOption: boolean, duplicated_draggable: boolean, duplicated_textShadow: boolean, duplicated_heightAdaptivePolicy: boolean, duplicated_textIndent: boolean, duplicated_wordBreak: boolean, duplicated_lineBreakStrategy: boolean, duplicated_onCopy: boolean, duplicated_caretColor: boolean, duplicated_selectedBackgroundColor: boolean, duplicated_ellipsisMode: boolean, duplicated_enableDataDetector: boolean, duplicated_dataDetectorConfig: boolean, duplicated_onTextSelectionChange: boolean, duplicated_fontFeature: boolean, duplicated_privacySensitive: boolean, duplicated_textSelectable: boolean, duplicated_editMenuOptions: boolean, duplicated_halfLeading: boolean, duplicated_enableHapticFeedback: boolean): boolean { + static isTextAttribute(value: Object | string | number | undefined | boolean, duplicated_font: boolean, duplicated_fontColor: boolean, duplicated_fontSize: boolean, duplicated_minFontSize: boolean, duplicated_maxFontSize: boolean, duplicated_minFontScale: boolean, duplicated_maxFontScale: boolean, duplicated_fontStyle: boolean, duplicated_fontWeight: boolean, duplicated_lineSpacing: boolean, duplicated_textAlign: boolean, duplicated_lineHeight: boolean, duplicated_textOverflow: boolean, duplicated_fontFamily: boolean, duplicated_maxLines: boolean, duplicated_decoration: boolean, duplicated_letterSpacing: boolean, duplicated_textCase: boolean, duplicated_baselineOffset: boolean, duplicated_copyOption: boolean, duplicated_draggable: boolean, duplicated_textShadow: boolean, duplicated_heightAdaptivePolicy: boolean, duplicated_textIndent: boolean, duplicated_wordBreak: boolean, duplicated_lineBreakStrategy: boolean, duplicated_onCopy: boolean, duplicated_caretColor: boolean, duplicated_selectedBackgroundColor: boolean, duplicated_ellipsisMode: boolean, duplicated_enableDataDetector: boolean, duplicated_dataDetectorConfig: boolean, duplicated_onTextSelectionChange: boolean, duplicated_fontFeature: boolean, duplicated_marqueeOptions: boolean, duplicated_onMarqueeStateChange: boolean, duplicated_privacySensitive: boolean, duplicated_textSelectable: boolean, duplicated_editMenuOptions: boolean, duplicated_halfLeading: boolean, duplicated_enableHapticFeedback: boolean): boolean { if ((!duplicated_font) && (value?.hasOwnProperty("font"))) { return true } @@ -14533,6 +16359,12 @@ export class TypeChecker { else if ((!duplicated_fontFeature) && (value?.hasOwnProperty("fontFeature"))) { return true } + else if ((!duplicated_marqueeOptions) && (value?.hasOwnProperty("marqueeOptions"))) { + return true + } + else if ((!duplicated_onMarqueeStateChange) && (value?.hasOwnProperty("onMarqueeStateChange"))) { + return true + } else if ((!duplicated_privacySensitive) && (value?.hasOwnProperty("privacySensitive"))) { return true } @@ -14613,6 +16445,23 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TextCase") } } + static isTextChangeOptions(value: Object | string | number | undefined | boolean, duplicated_rangeBefore: boolean, duplicated_rangeAfter: boolean, duplicated_oldContent: boolean, duplicated_oldPreviewText: boolean): boolean { + if ((!duplicated_rangeBefore) && (value?.hasOwnProperty("rangeBefore"))) { + return true + } + else if ((!duplicated_rangeAfter) && (value?.hasOwnProperty("rangeAfter"))) { + return true + } + else if ((!duplicated_oldContent) && (value?.hasOwnProperty("oldContent"))) { + return true + } + else if ((!duplicated_oldPreviewText) && (value?.hasOwnProperty("oldPreviewText"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof TextChangeOptions") + } + } static isTextClockController(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof TextClockController") } @@ -14630,6 +16479,14 @@ export class TypeChecker { static isTextContentControllerBase(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof TextContentControllerBase") } + static isTextContentControllerOptions(value: Object | string | number | undefined | boolean, duplicated_offset: boolean): boolean { + if ((!duplicated_offset) && (value?.hasOwnProperty("offset"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof TextContentControllerOptions") + } + } static isTextContentStyle(value: Object | string | number | undefined | boolean): boolean { if ((value) === (TextContentStyle.DEFAULT)) { return true @@ -14771,7 +16628,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TextHeightAdaptivePolicy") } } - static isTextInputAttribute(value: Object | string | number | undefined | boolean, duplicated_type: boolean, duplicated_contentType: boolean, duplicated_placeholderColor: boolean, duplicated_textOverflow: boolean, duplicated_textIndent: boolean, duplicated_placeholderFont: boolean, duplicated_enterKeyType: boolean, duplicated_caretColor: boolean, duplicated_onEditChanged: boolean, duplicated_onEditChange: boolean, duplicated_onSubmit: boolean, duplicated_onChange: boolean, duplicated_onTextSelectionChange: boolean, duplicated_onContentScroll: boolean, duplicated_maxLength: boolean, duplicated_fontColor: boolean, duplicated_fontSize: boolean, duplicated_fontStyle: boolean, duplicated_fontWeight: boolean, duplicated_fontFamily: boolean, duplicated_onCopy: boolean, duplicated_onCut: boolean, duplicated_onPaste: boolean, duplicated_copyOption: boolean, duplicated_showPasswordIcon: boolean, duplicated_textAlign: boolean, duplicated_style: boolean, duplicated_caretStyle: boolean, duplicated_selectedBackgroundColor: boolean, duplicated_caretPosition: boolean, duplicated_enableKeyboardOnFocus: boolean, duplicated_passwordIcon: boolean, duplicated_showError: boolean, duplicated_showUnit: boolean, duplicated_showUnderline: boolean, duplicated_underlineColor: boolean, duplicated_selectionMenuHidden: boolean, duplicated_barState: boolean, duplicated_maxLines: boolean, duplicated_wordBreak: boolean, duplicated_lineBreakStrategy: boolean, duplicated_cancelButton: boolean, duplicated_selectAll: boolean, duplicated_minFontSize: boolean, duplicated_maxFontSize: boolean, duplicated_heightAdaptivePolicy: boolean, duplicated_enableAutoFill: boolean, duplicated_decoration: boolean, duplicated_letterSpacing: boolean, duplicated_lineHeight: boolean, duplicated_passwordRules: boolean, duplicated_fontFeature: boolean, duplicated_showPassword: boolean, duplicated_onSecurityStateChange: boolean, duplicated_onWillInsert: boolean, duplicated_onDidInsert: boolean, duplicated_onWillDelete: boolean, duplicated_onDidDelete: boolean, duplicated_editMenuOptions: boolean, duplicated_enablePreviewText: boolean, duplicated_enableHapticFeedback: boolean): boolean { + static isTextInputAttribute(value: Object | string | number | undefined | boolean, duplicated_type: boolean, duplicated_contentType: boolean, duplicated_placeholderColor: boolean, duplicated_textOverflow: boolean, duplicated_textIndent: boolean, duplicated_placeholderFont: boolean, duplicated_enterKeyType: boolean, duplicated_caretColor: boolean, duplicated_onEditChanged: boolean, duplicated_onEditChange: boolean, duplicated_onSubmit: boolean, duplicated_onChange: boolean, duplicated_onTextSelectionChange: boolean, duplicated_onContentScroll: boolean, duplicated_maxLength: boolean, duplicated_fontColor: boolean, duplicated_fontSize: boolean, duplicated_fontStyle: boolean, duplicated_fontWeight: boolean, duplicated_fontFamily: boolean, duplicated_onCopy: boolean, duplicated_onCut: boolean, duplicated_onPaste: boolean, duplicated_copyOption: boolean, duplicated_showPasswordIcon: boolean, duplicated_textAlign: boolean, duplicated_style: boolean, duplicated_caretStyle: boolean, duplicated_selectedBackgroundColor: boolean, duplicated_caretPosition: boolean, duplicated_enableKeyboardOnFocus: boolean, duplicated_passwordIcon: boolean, duplicated_showError: boolean, duplicated_showUnit: boolean, duplicated_showUnderline: boolean, duplicated_underlineColor: boolean, duplicated_selectionMenuHidden: boolean, duplicated_barState: boolean, duplicated_maxLines: boolean, duplicated_wordBreak: boolean, duplicated_lineBreakStrategy: boolean, duplicated_cancelButton: boolean, duplicated_selectAll: boolean, duplicated_minFontSize: boolean, duplicated_maxFontSize: boolean, duplicated_minFontScale: boolean, duplicated_maxFontScale: boolean, duplicated_heightAdaptivePolicy: boolean, duplicated_enableAutoFill: boolean, duplicated_decoration: boolean, duplicated_letterSpacing: boolean, duplicated_lineHeight: boolean, duplicated_passwordRules: boolean, duplicated_fontFeature: boolean, duplicated_showPassword: boolean, duplicated_onSecurityStateChange: boolean, duplicated_onWillInsert: boolean, duplicated_onDidInsert: boolean, duplicated_onWillDelete: boolean, duplicated_onDidDelete: boolean, duplicated_editMenuOptions: boolean, duplicated_enablePreviewText: boolean, duplicated_enableHapticFeedback: boolean, duplicated_autoCapitalizationMode: boolean, duplicated_halfLeading: boolean, duplicated_ellipsisMode: boolean, duplicated_stopBackPress: boolean, duplicated_onWillChange: boolean, duplicated_keyboardAppearance: boolean): boolean { if ((!duplicated_type) && (value?.hasOwnProperty("type"))) { return true } @@ -14901,6 +16758,12 @@ export class TypeChecker { else if ((!duplicated_maxFontSize) && (value?.hasOwnProperty("maxFontSize"))) { return true } + else if ((!duplicated_minFontScale) && (value?.hasOwnProperty("minFontScale"))) { + return true + } + else if ((!duplicated_maxFontScale) && (value?.hasOwnProperty("maxFontScale"))) { + return true + } else if ((!duplicated_heightAdaptivePolicy) && (value?.hasOwnProperty("heightAdaptivePolicy"))) { return true } @@ -14949,6 +16812,24 @@ export class TypeChecker { else if ((!duplicated_enableHapticFeedback) && (value?.hasOwnProperty("enableHapticFeedback"))) { return true } + else if ((!duplicated_autoCapitalizationMode) && (value?.hasOwnProperty("autoCapitalizationMode"))) { + return true + } + else if ((!duplicated_halfLeading) && (value?.hasOwnProperty("halfLeading"))) { + return true + } + else if ((!duplicated_ellipsisMode) && (value?.hasOwnProperty("ellipsisMode"))) { + return true + } + else if ((!duplicated_stopBackPress) && (value?.hasOwnProperty("stopBackPress"))) { + return true + } + else if ((!duplicated_onWillChange) && (value?.hasOwnProperty("onWillChange"))) { + return true + } + else if ((!duplicated_keyboardAppearance) && (value?.hasOwnProperty("keyboardAppearance"))) { + return true + } else if ((!duplicated_placeholderFont) && (value?.hasOwnProperty("placeholderFont"))) { return true } @@ -14987,7 +16868,33 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TextInputStyle") } } - static isTextMenuItem(value: Object | string | number | undefined | boolean, duplicated_content: boolean, duplicated_icon: boolean, duplicated_id: boolean): boolean { + static isTextMarqueeOptions(value: Object | string | number | undefined | boolean, duplicated_start: boolean, duplicated_step: boolean, duplicated_loop: boolean, duplicated_fromStart: boolean, duplicated_delay: boolean, duplicated_fadeout: boolean, duplicated_marqueeStartPolicy: boolean): boolean { + if ((!duplicated_start) && (value?.hasOwnProperty("start"))) { + return true + } + else if ((!duplicated_step) && (value?.hasOwnProperty("step"))) { + return true + } + else if ((!duplicated_loop) && (value?.hasOwnProperty("loop"))) { + return true + } + else if ((!duplicated_fromStart) && (value?.hasOwnProperty("fromStart"))) { + return true + } + else if ((!duplicated_delay) && (value?.hasOwnProperty("delay"))) { + return true + } + else if ((!duplicated_fadeout) && (value?.hasOwnProperty("fadeout"))) { + return true + } + else if ((!duplicated_marqueeStartPolicy) && (value?.hasOwnProperty("marqueeStartPolicy"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof TextMarqueeOptions") + } + } + static isTextMenuItem(value: Object | string | number | undefined | boolean, duplicated_content: boolean, duplicated_icon: boolean, duplicated_id: boolean, duplicated_labelInfo: boolean): boolean { if ((!duplicated_content) && (value?.hasOwnProperty("content"))) { return true } @@ -14997,6 +16904,9 @@ export class TypeChecker { else if ((!duplicated_icon) && (value?.hasOwnProperty("icon"))) { return true } + else if ((!duplicated_labelInfo) && (value?.hasOwnProperty("labelInfo"))) { + return true + } else { throw new Error("Can not discriminate value typeof TextMenuItem") } @@ -15004,6 +16914,17 @@ export class TypeChecker { static isTextMenuItemId(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof TextMenuItemId") } + static isTextMenuShowMode(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (TextMenuShowMode.DEFAULT)) { + return true + } + else if ((value) === (TextMenuShowMode.PREFER_WINDOW)) { + return true + } + else { + throw new Error("Can not discriminate value typeof TextMenuShowMode") + } + } static isTextMetrics(value: Object | string | number | undefined | boolean, duplicated_actualBoundingBoxAscent: boolean, duplicated_actualBoundingBoxDescent: boolean, duplicated_actualBoundingBoxLeft: boolean, duplicated_actualBoundingBoxRight: boolean, duplicated_alphabeticBaseline: boolean, duplicated_emHeightAscent: boolean, duplicated_emHeightDescent: boolean, duplicated_fontBoundingBoxAscent: boolean, duplicated_fontBoundingBoxDescent: boolean, duplicated_hangingBaseline: boolean, duplicated_ideographicBaseline: boolean, duplicated_width: boolean, duplicated_height: boolean): boolean { if ((!duplicated_actualBoundingBoxAscent) && (value?.hasOwnProperty("actualBoundingBoxAscent"))) { return true @@ -15084,7 +17005,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TextOverflowOptions") } } - static isTextPickerDialogOptions(value: Object | string | number | undefined | boolean, duplicated_defaultPickerItemHeight: boolean, duplicated_canLoop: boolean, duplicated_disappearTextStyle: boolean, duplicated_textStyle: boolean, duplicated_acceptButtonStyle: boolean, duplicated_cancelButtonStyle: boolean, duplicated_selectedTextStyle: boolean, duplicated_onAccept: boolean, duplicated_onCancel: boolean, duplicated_onChange: boolean, duplicated_maskRect: boolean, duplicated_alignment: boolean, duplicated_offset: boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_onDidAppear: boolean, duplicated_onDidDisappear: boolean, duplicated_onWillAppear: boolean, duplicated_onWillDisappear: boolean, duplicated_shadow: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean): boolean { + static isTextPickerDialogOptions(value: Object | string | number | undefined | boolean, duplicated_defaultPickerItemHeight: boolean, duplicated_canLoop: boolean, duplicated_disappearTextStyle: boolean, duplicated_textStyle: boolean, duplicated_acceptButtonStyle: boolean, duplicated_cancelButtonStyle: boolean, duplicated_selectedTextStyle: boolean, duplicated_disableTextStyleAnimation: boolean, duplicated_defaultTextStyle: boolean, duplicated_onAccept: boolean, duplicated_onCancel: boolean, duplicated_onChange: boolean, duplicated_onScrollStop: boolean, duplicated_onEnterSelectedArea: boolean, duplicated_maskRect: boolean, duplicated_alignment: boolean, duplicated_offset: boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_backgroundBlurStyleOptions: boolean, duplicated_backgroundEffect: boolean, duplicated_onDidAppear: boolean, duplicated_onDidDisappear: boolean, duplicated_onWillAppear: boolean, duplicated_onWillDisappear: boolean, duplicated_shadow: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean, duplicated_enableHapticFeedback: boolean): boolean { if ((!duplicated_defaultPickerItemHeight) && (value?.hasOwnProperty("defaultPickerItemHeight"))) { return true } @@ -15106,6 +17027,12 @@ export class TypeChecker { else if ((!duplicated_selectedTextStyle) && (value?.hasOwnProperty("selectedTextStyle"))) { return true } + else if ((!duplicated_disableTextStyleAnimation) && (value?.hasOwnProperty("disableTextStyleAnimation"))) { + return true + } + else if ((!duplicated_defaultTextStyle) && (value?.hasOwnProperty("defaultTextStyle"))) { + return true + } else if ((!duplicated_onAccept) && (value?.hasOwnProperty("onAccept"))) { return true } @@ -15115,6 +17042,12 @@ export class TypeChecker { else if ((!duplicated_onChange) && (value?.hasOwnProperty("onChange"))) { return true } + else if ((!duplicated_onScrollStop) && (value?.hasOwnProperty("onScrollStop"))) { + return true + } + else if ((!duplicated_onEnterSelectedArea) && (value?.hasOwnProperty("onEnterSelectedArea"))) { + return true + } else if ((!duplicated_maskRect) && (value?.hasOwnProperty("maskRect"))) { return true } @@ -15130,6 +17063,12 @@ export class TypeChecker { else if ((!duplicated_backgroundBlurStyle) && (value?.hasOwnProperty("backgroundBlurStyle"))) { return true } + else if ((!duplicated_backgroundBlurStyleOptions) && (value?.hasOwnProperty("backgroundBlurStyleOptions"))) { + return true + } + else if ((!duplicated_backgroundEffect) && (value?.hasOwnProperty("backgroundEffect"))) { + return true + } else if ((!duplicated_onDidAppear) && (value?.hasOwnProperty("onDidAppear"))) { return true } @@ -15151,11 +17090,14 @@ export class TypeChecker { else if ((!duplicated_hoverModeArea) && (value?.hasOwnProperty("hoverModeArea"))) { return true } + else if ((!duplicated_enableHapticFeedback) && (value?.hasOwnProperty("enableHapticFeedback"))) { + return true + } else { throw new Error("Can not discriminate value typeof TextPickerDialogOptions") } } - static isTextPickerOptions(value: Object | string | number | undefined | boolean, duplicated_range: boolean, duplicated_value: boolean, duplicated_selected: boolean): boolean { + static isTextPickerOptions(value: Object | string | number | undefined | boolean, duplicated_range: boolean, duplicated_value: boolean, duplicated_selected: boolean, duplicated_columnWidths: boolean): boolean { if ((!duplicated_range) && (value?.hasOwnProperty("range"))) { return true } @@ -15165,6 +17107,9 @@ export class TypeChecker { else if ((!duplicated_selected) && (value?.hasOwnProperty("selected"))) { return true } + else if ((!duplicated_columnWidths) && (value?.hasOwnProperty("columnWidths"))) { + return true + } else { throw new Error("Can not discriminate value typeof TextPickerOptions") } @@ -15191,6 +17136,20 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TextPickerResult") } } + static isTextPickerTextStyle(value: Object | string | number | undefined | boolean, duplicated_minFontSize: boolean, duplicated_maxFontSize: boolean, duplicated_overflow: boolean): boolean { + if ((!duplicated_minFontSize) && (value?.hasOwnProperty("minFontSize"))) { + return true + } + else if ((!duplicated_maxFontSize) && (value?.hasOwnProperty("maxFontSize"))) { + return true + } + else if ((!duplicated_overflow) && (value?.hasOwnProperty("overflow"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof TextPickerTextStyle") + } + } static isTextRange(value: Object | string | number | undefined | boolean, duplicated_start: boolean, duplicated_end: boolean): boolean { if ((!duplicated_start) && (value?.hasOwnProperty("start"))) { return true @@ -15212,6 +17171,9 @@ export class TypeChecker { else if ((value) === (TextResponseType.SELECT)) { return true } + else if ((value) === (TextResponseType.DEFAULT)) { + return true + } else { throw new Error("Can not discriminate value typeof TextResponseType") } @@ -15262,6 +17224,9 @@ export class TypeChecker { else if ((value) === (TextSpanType.MIXED)) { return true } + else if ((value) === (TextSpanType.DEFAULT)) { + return true + } else { throw new Error("Can not discriminate value typeof TextSpanType") } @@ -15387,7 +17352,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TileMode") } } - static isTimePickerDialogOptions(value: Object | string | number | undefined | boolean, duplicated_useMilitaryTime: boolean, duplicated_disappearTextStyle: boolean, duplicated_textStyle: boolean, duplicated_acceptButtonStyle: boolean, duplicated_cancelButtonStyle: boolean, duplicated_selectedTextStyle: boolean, duplicated_maskRect: boolean, duplicated_alignment: boolean, duplicated_offset: boolean, duplicated_onAccept: boolean, duplicated_onCancel: boolean, duplicated_onChange: boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_onDidAppear: boolean, duplicated_onDidDisappear: boolean, duplicated_onWillAppear: boolean, duplicated_onWillDisappear: boolean, duplicated_shadow: boolean, duplicated_dateTimeOptions: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean): boolean { + static isTimePickerDialogOptions(value: Object | string | number | undefined | boolean, duplicated_useMilitaryTime: boolean, duplicated_disappearTextStyle: boolean, duplicated_textStyle: boolean, duplicated_acceptButtonStyle: boolean, duplicated_cancelButtonStyle: boolean, duplicated_selectedTextStyle: boolean, duplicated_maskRect: boolean, duplicated_alignment: boolean, duplicated_offset: boolean, duplicated_onAccept: boolean, duplicated_onCancel: boolean, duplicated_onChange: boolean, duplicated_onEnterSelectedArea: boolean, duplicated_backgroundColor: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_backgroundBlurStyleOptions: boolean, duplicated_backgroundEffect: boolean, duplicated_enableCascade: boolean, duplicated_onDidAppear: boolean, duplicated_onDidDisappear: boolean, duplicated_onWillAppear: boolean, duplicated_onWillDisappear: boolean, duplicated_shadow: boolean, duplicated_dateTimeOptions: boolean, duplicated_enableHoverMode: boolean, duplicated_hoverModeArea: boolean, duplicated_enableHapticFeedback: boolean): boolean { if ((!duplicated_useMilitaryTime) && (value?.hasOwnProperty("useMilitaryTime"))) { return true } @@ -15424,10 +17389,22 @@ export class TypeChecker { else if ((!duplicated_onChange) && (value?.hasOwnProperty("onChange"))) { return true } - else if ((!duplicated_backgroundColor) && (value?.hasOwnProperty("backgroundColor"))) { + else if ((!duplicated_onEnterSelectedArea) && (value?.hasOwnProperty("onEnterSelectedArea"))) { + return true + } + else if ((!duplicated_backgroundColor) && (value?.hasOwnProperty("backgroundColor"))) { + return true + } + else if ((!duplicated_backgroundBlurStyle) && (value?.hasOwnProperty("backgroundBlurStyle"))) { + return true + } + else if ((!duplicated_backgroundBlurStyleOptions) && (value?.hasOwnProperty("backgroundBlurStyleOptions"))) { + return true + } + else if ((!duplicated_backgroundEffect) && (value?.hasOwnProperty("backgroundEffect"))) { return true } - else if ((!duplicated_backgroundBlurStyle) && (value?.hasOwnProperty("backgroundBlurStyle"))) { + else if ((!duplicated_enableCascade) && (value?.hasOwnProperty("enableCascade"))) { return true } else if ((!duplicated_onDidAppear) && (value?.hasOwnProperty("onDidAppear"))) { @@ -15454,6 +17431,9 @@ export class TypeChecker { else if ((!duplicated_hoverModeArea) && (value?.hasOwnProperty("hoverModeArea"))) { return true } + else if ((!duplicated_enableHapticFeedback) && (value?.hasOwnProperty("enableHapticFeedback"))) { + return true + } else { throw new Error("Can not discriminate value typeof TimePickerDialogOptions") } @@ -15469,13 +17449,19 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TimePickerFormat") } } - static isTimePickerOptions(value: Object | string | number | undefined | boolean, duplicated_selected: boolean, duplicated_format: boolean): boolean { + static isTimePickerOptions(value: Object | string | number | undefined | boolean, duplicated_selected: boolean, duplicated_format: boolean, duplicated_start: boolean, duplicated_end: boolean): boolean { if ((!duplicated_selected) && (value?.hasOwnProperty("selected"))) { return true } else if ((!duplicated_format) && (value?.hasOwnProperty("format"))) { return true } + else if ((!duplicated_start) && (value?.hasOwnProperty("start"))) { + return true + } + else if ((!duplicated_end) && (value?.hasOwnProperty("end"))) { + return true + } else { throw new Error("Can not discriminate value typeof TimePickerOptions") } @@ -15494,6 +17480,35 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TimePickerResult") } } + static isTipsOptions(value: Object | string | number | undefined | boolean, duplicated_appearingTime: boolean, duplicated_disappearingTime: boolean, duplicated_appearingTimeWithContinuousOperation: boolean, duplicated_disappearingTimeWithContinuousOperation: boolean, duplicated_enableArrow: boolean, duplicated_arrowPointPosition: boolean, duplicated_arrowWidth: boolean, duplicated_arrowHeight: boolean): boolean { + if ((!duplicated_appearingTime) && (value?.hasOwnProperty("appearingTime"))) { + return true + } + else if ((!duplicated_disappearingTime) && (value?.hasOwnProperty("disappearingTime"))) { + return true + } + else if ((!duplicated_appearingTimeWithContinuousOperation) && (value?.hasOwnProperty("appearingTimeWithContinuousOperation"))) { + return true + } + else if ((!duplicated_disappearingTimeWithContinuousOperation) && (value?.hasOwnProperty("disappearingTimeWithContinuousOperation"))) { + return true + } + else if ((!duplicated_enableArrow) && (value?.hasOwnProperty("enableArrow"))) { + return true + } + else if ((!duplicated_arrowPointPosition) && (value?.hasOwnProperty("arrowPointPosition"))) { + return true + } + else if ((!duplicated_arrowWidth) && (value?.hasOwnProperty("arrowWidth"))) { + return true + } + else if ((!duplicated_arrowHeight) && (value?.hasOwnProperty("arrowHeight"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof TipsOptions") + } + } static isTitleHeight(value: Object | string | number | undefined | boolean): boolean { if ((value) === (TitleHeight.MainOnly)) { return true @@ -15607,7 +17622,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof TouchEvent") } } - static isTouchObject(value: Object | string | number | undefined | boolean, duplicated_type: boolean, duplicated_id: boolean, duplicated_displayX: boolean, duplicated_displayY: boolean, duplicated_windowX: boolean, duplicated_windowY: boolean, duplicated_screenX: boolean, duplicated_screenY: boolean, duplicated_x: boolean, duplicated_y: boolean): boolean { + static isTouchObject(value: Object | string | number | undefined | boolean, duplicated_type: boolean, duplicated_id: boolean, duplicated_displayX: boolean, duplicated_displayY: boolean, duplicated_windowX: boolean, duplicated_windowY: boolean, duplicated_screenX: boolean, duplicated_screenY: boolean, duplicated_x: boolean, duplicated_y: boolean, duplicated_hand: boolean, duplicated_pressedTime: boolean, duplicated_pressure: boolean, duplicated_width: boolean, duplicated_height: boolean): boolean { if ((!duplicated_type) && (value?.hasOwnProperty("type"))) { return true } @@ -15638,6 +17653,21 @@ export class TypeChecker { else if ((!duplicated_y) && (value?.hasOwnProperty("y"))) { return true } + else if ((!duplicated_hand) && (value?.hasOwnProperty("hand"))) { + return true + } + else if ((!duplicated_pressedTime) && (value?.hasOwnProperty("pressedTime"))) { + return true + } + else if ((!duplicated_pressure) && (value?.hasOwnProperty("pressure"))) { + return true + } + else if ((!duplicated_width) && (value?.hasOwnProperty("width"))) { + return true + } + else if ((!duplicated_height) && (value?.hasOwnProperty("height"))) { + return true + } else { throw new Error("Can not discriminate value typeof TouchObject") } @@ -15877,63 +17907,6 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof Type_CalendarInterface_callable0_value") } } - static isType_CommonMethod_linearGradient_value(value: Object | string | number | undefined | boolean, duplicated_angle: boolean, duplicated_direction: boolean, duplicated_colors: boolean, duplicated_repeating: boolean): boolean { - if ((!duplicated_colors) && (value?.hasOwnProperty("colors"))) { - return true - } - else if ((!duplicated_angle) && (value?.hasOwnProperty("angle"))) { - return true - } - else if ((!duplicated_direction) && (value?.hasOwnProperty("direction"))) { - return true - } - else if ((!duplicated_repeating) && (value?.hasOwnProperty("repeating"))) { - return true - } - else { - throw new Error("Can not discriminate value typeof Type_CommonMethod_linearGradient_value") - } - } - static isType_CommonMethod_radialGradient_value(value: Object | string | number | undefined | boolean, duplicated_center: boolean, duplicated_radius: boolean, duplicated_colors: boolean, duplicated_repeating: boolean): boolean { - if ((!duplicated_center) && (value?.hasOwnProperty("center"))) { - return true - } - else if ((!duplicated_radius) && (value?.hasOwnProperty("radius"))) { - return true - } - else if ((!duplicated_colors) && (value?.hasOwnProperty("colors"))) { - return true - } - else if ((!duplicated_repeating) && (value?.hasOwnProperty("repeating"))) { - return true - } - else { - throw new Error("Can not discriminate value typeof Type_CommonMethod_radialGradient_value") - } - } - static isType_CommonMethod_sweepGradient_value(value: Object | string | number | undefined | boolean, duplicated_center: boolean, duplicated_start: boolean, duplicated_end: boolean, duplicated_rotation: boolean, duplicated_colors: boolean, duplicated_repeating: boolean): boolean { - if ((!duplicated_center) && (value?.hasOwnProperty("center"))) { - return true - } - else if ((!duplicated_colors) && (value?.hasOwnProperty("colors"))) { - return true - } - else if ((!duplicated_start) && (value?.hasOwnProperty("start"))) { - return true - } - else if ((!duplicated_end) && (value?.hasOwnProperty("end"))) { - return true - } - else if ((!duplicated_rotation) && (value?.hasOwnProperty("rotation"))) { - return true - } - else if ((!duplicated_repeating) && (value?.hasOwnProperty("repeating"))) { - return true - } - else { - throw new Error("Can not discriminate value typeof Type_CommonMethod_sweepGradient_value") - } - } static isType_ImageAttribute_onComplete_callback_event(value: Object | string | number | undefined | boolean, duplicated_width: boolean, duplicated_height: boolean, duplicated_componentWidth: boolean, duplicated_componentHeight: boolean, duplicated_loadingStatus: boolean, duplicated_contentWidth: boolean, duplicated_contentHeight: boolean, duplicated_contentOffsetX: boolean, duplicated_contentOffsetY: boolean): boolean { if ((!duplicated_width) && (value?.hasOwnProperty("width"))) { return true @@ -16006,7 +17979,7 @@ export class TypeChecker { static isUIContext(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof UIContext") } - static isUIExtensionOptions(value: Object | string | number | undefined | boolean, duplicated_isTransferringCaller: boolean, duplicated_placeholder: boolean, duplicated_areaChangePlaceholder: boolean, duplicated_dpiFollowStrategy: boolean): boolean { + static isUIExtensionOptions(value: Object | string | number | undefined | boolean, duplicated_isTransferringCaller: boolean, duplicated_placeholder: boolean, duplicated_areaChangePlaceholder: boolean, duplicated_dpiFollowStrategy: boolean, duplicated_windowModeFollowStrategy: boolean): boolean { if ((!duplicated_isTransferringCaller) && (value?.hasOwnProperty("isTransferringCaller"))) { return true } @@ -16019,6 +17992,9 @@ export class TypeChecker { else if ((!duplicated_dpiFollowStrategy) && (value?.hasOwnProperty("dpiFollowStrategy"))) { return true } + else if ((!duplicated_windowModeFollowStrategy) && (value?.hasOwnProperty("windowModeFollowStrategy"))) { + return true + } else { throw new Error("Can not discriminate value typeof UIExtensionOptions") } @@ -16632,7 +18608,7 @@ export class TypeChecker { static isVideoController(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof VideoController") } - static isVideoOptions(value: Object | string | number | undefined | boolean, duplicated_src: boolean, duplicated_currentProgressRate: boolean, duplicated_previewUri: boolean, duplicated_controller: boolean, duplicated_imageAIOptions: boolean): boolean { + static isVideoOptions(value: Object | string | number | undefined | boolean, duplicated_src: boolean, duplicated_currentProgressRate: boolean, duplicated_previewUri: boolean, duplicated_controller: boolean, duplicated_imageAIOptions: boolean, duplicated_posterOptions: boolean): boolean { if ((!duplicated_src) && (value?.hasOwnProperty("src"))) { return true } @@ -16648,6 +18624,9 @@ export class TypeChecker { else if ((!duplicated_imageAIOptions) && (value?.hasOwnProperty("imageAIOptions"))) { return true } + else if ((!duplicated_posterOptions) && (value?.hasOwnProperty("posterOptions"))) { + return true + } else { throw new Error("Can not discriminate value typeof VideoOptions") } @@ -16686,6 +18665,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ViewportRect") } } + static isVirtualScrollOptions(value: Object | string | number | undefined | boolean, duplicated_totalCount: boolean, duplicated_reusable: boolean): boolean { + if ((!duplicated_totalCount) && (value?.hasOwnProperty("totalCount"))) { + return true + } + else if ((!duplicated_reusable) && (value?.hasOwnProperty("reusable"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof VirtualScrollOptions") + } + } static isVisibility(value: Object | string | number | undefined | boolean): boolean { if ((value) === (Visibility.Visible)) { return true @@ -16821,10 +18811,13 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof WaterFlowLayoutMode") } } - static isWaterFlowOptions(value: Object | string | number | undefined | boolean, duplicated_footer: boolean, duplicated_scroller: boolean, duplicated_sections: boolean, duplicated_layoutMode: boolean): boolean { + static isWaterFlowOptions(value: Object | string | number | undefined | boolean, duplicated_footer: boolean, duplicated_footerContent: boolean, duplicated_scroller: boolean, duplicated_sections: boolean, duplicated_layoutMode: boolean): boolean { if ((!duplicated_footer) && (value?.hasOwnProperty("footer"))) { return true } + else if ((!duplicated_footerContent) && (value?.hasOwnProperty("footerContent"))) { + return true + } else if ((!duplicated_scroller) && (value?.hasOwnProperty("scroller"))) { return true } @@ -16855,7 +18848,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof WaterRippleMode") } } - static isWebAttribute(value: Object | string | number | undefined | boolean, duplicated_javaScriptAccess: boolean, duplicated_fileAccess: boolean, duplicated_onlineImageAccess: boolean, duplicated_domStorageAccess: boolean, duplicated_imageAccess: boolean, duplicated_mixedMode: boolean, duplicated_zoomAccess: boolean, duplicated_geolocationAccess: boolean, duplicated_javaScriptProxy: boolean, duplicated_password: boolean, duplicated_cacheMode: boolean, duplicated_darkMode: boolean, duplicated_forceDarkAccess: boolean, duplicated_mediaOptions: boolean, duplicated_tableData: boolean, duplicated_wideViewModeAccess: boolean, duplicated_overviewModeAccess: boolean, duplicated_overScrollMode: boolean, duplicated_textZoomAtio: boolean, duplicated_textZoomRatio: boolean, duplicated_databaseAccess: boolean, duplicated_initialScale: boolean, duplicated_userAgent: boolean, duplicated_metaViewport: boolean, duplicated_onPageEnd: boolean, duplicated_onPageBegin: boolean, duplicated_onProgressChange: boolean, duplicated_onTitleReceive: boolean, duplicated_onGeolocationHide: boolean, duplicated_onGeolocationShow: boolean, duplicated_onRequestSelected: boolean, duplicated_onAlert: boolean, duplicated_onBeforeUnload: boolean, duplicated_onConfirm: boolean, duplicated_onPrompt: boolean, duplicated_onConsole: boolean, duplicated_onErrorReceive: boolean, duplicated_onHttpErrorReceive: boolean, duplicated_onDownloadStart: boolean, duplicated_onRefreshAccessedHistory: boolean, duplicated_onUrlLoadIntercept: boolean, duplicated_onSslErrorReceive: boolean, duplicated_onRenderExited: boolean, duplicated_onShowFileSelector: boolean, duplicated_onFileSelectorShow: boolean, duplicated_onResourceLoad: boolean, duplicated_onFullScreenExit: boolean, duplicated_onFullScreenEnter: boolean, duplicated_onScaleChange: boolean, duplicated_onHttpAuthRequest: boolean, duplicated_onInterceptRequest: boolean, duplicated_onPermissionRequest: boolean, duplicated_onScreenCaptureRequest: boolean, duplicated_onContextMenuShow: boolean, duplicated_onContextMenuHide: boolean, duplicated_mediaPlayGestureAccess: boolean, duplicated_onSearchResultReceive: boolean, duplicated_onScroll: boolean, duplicated_onSslErrorEventReceive: boolean, duplicated_onSslErrorEvent: boolean, duplicated_onClientAuthenticationRequest: boolean, duplicated_onWindowNew: boolean, duplicated_onWindowExit: boolean, duplicated_multiWindowAccess: boolean, duplicated_onInterceptKeyEvent: boolean, duplicated_webStandardFont: boolean, duplicated_webSerifFont: boolean, duplicated_webSansSerifFont: boolean, duplicated_webFixedFont: boolean, duplicated_webFantasyFont: boolean, duplicated_webCursiveFont: boolean, duplicated_defaultFixedFontSize: boolean, duplicated_defaultFontSize: boolean, duplicated_minFontSize: boolean, duplicated_minLogicalFontSize: boolean, duplicated_defaultTextEncodingFormat: boolean, duplicated_forceDisplayScrollBar: boolean, duplicated_blockNetwork: boolean, duplicated_horizontalScrollBarAccess: boolean, duplicated_verticalScrollBarAccess: boolean, duplicated_onTouchIconUrlReceived: boolean, duplicated_onFaviconReceived: boolean, duplicated_onPageVisible: boolean, duplicated_onDataResubmitted: boolean, duplicated_pinchSmooth: boolean, duplicated_allowWindowOpenMethod: boolean, duplicated_onAudioStateChanged: boolean, duplicated_onFirstContentfulPaint: boolean, duplicated_onFirstMeaningfulPaint: boolean, duplicated_onLargestContentfulPaint: boolean, duplicated_onLoadIntercept: boolean, duplicated_onControllerAttached: boolean, duplicated_onOverScroll: boolean, duplicated_onSafeBrowsingCheckResult: boolean, duplicated_onNavigationEntryCommitted: boolean, duplicated_onIntelligentTrackingPreventionResult: boolean, duplicated_javaScriptOnDocumentStart: boolean, duplicated_javaScriptOnDocumentEnd: boolean, duplicated_layoutMode: boolean, duplicated_nestedScroll: boolean, duplicated_enableNativeEmbedMode: boolean, duplicated_onNativeEmbedLifecycleChange: boolean, duplicated_onNativeEmbedVisibilityChange: boolean, duplicated_onNativeEmbedGestureEvent: boolean, duplicated_copyOptions: boolean, duplicated_onOverrideUrlLoading: boolean, duplicated_textAutosizing: boolean, duplicated_enableNativeMediaPlayer: boolean, duplicated_enableSmoothDragResize: boolean, duplicated_onRenderProcessNotResponding: boolean, duplicated_onRenderProcessResponding: boolean, duplicated_selectionMenuOptions: boolean, duplicated_onViewportFitChanged: boolean, duplicated_onInterceptKeyboardAttach: boolean, duplicated_onAdsBlocked: boolean, duplicated_keyboardAvoidMode: boolean, duplicated_editMenuOptions: boolean, duplicated_enableHapticFeedback: boolean): boolean { + static isWebAttribute(value: Object | string | number | undefined | boolean, duplicated_javaScriptAccess: boolean, duplicated_fileAccess: boolean, duplicated_onlineImageAccess: boolean, duplicated_domStorageAccess: boolean, duplicated_imageAccess: boolean, duplicated_mixedMode: boolean, duplicated_zoomAccess: boolean, duplicated_geolocationAccess: boolean, duplicated_javaScriptProxy: boolean, duplicated_password: boolean, duplicated_cacheMode: boolean, duplicated_darkMode: boolean, duplicated_forceDarkAccess: boolean, duplicated_mediaOptions: boolean, duplicated_tableData: boolean, duplicated_wideViewModeAccess: boolean, duplicated_overviewModeAccess: boolean, duplicated_overScrollMode: boolean, duplicated_blurOnKeyboardHideMode: boolean, duplicated_textZoomAtio: boolean, duplicated_textZoomRatio: boolean, duplicated_databaseAccess: boolean, duplicated_initialScale: boolean, duplicated_userAgent: boolean, duplicated_metaViewport: boolean, duplicated_onPageEnd: boolean, duplicated_onPageBegin: boolean, duplicated_onProgressChange: boolean, duplicated_onTitleReceive: boolean, duplicated_onGeolocationHide: boolean, duplicated_onGeolocationShow: boolean, duplicated_onRequestSelected: boolean, duplicated_onAlert: boolean, duplicated_onBeforeUnload: boolean, duplicated_onConfirm: boolean, duplicated_onPrompt: boolean, duplicated_onConsole: boolean, duplicated_onErrorReceive: boolean, duplicated_onHttpErrorReceive: boolean, duplicated_onDownloadStart: boolean, duplicated_onRefreshAccessedHistory: boolean, duplicated_onUrlLoadIntercept: boolean, duplicated_onSslErrorReceive: boolean, duplicated_onRenderExited: boolean, duplicated_onShowFileSelector: boolean, duplicated_onFileSelectorShow: boolean, duplicated_onResourceLoad: boolean, duplicated_onFullScreenExit: boolean, duplicated_onFullScreenEnter: boolean, duplicated_onScaleChange: boolean, duplicated_onHttpAuthRequest: boolean, duplicated_onInterceptRequest: boolean, duplicated_onPermissionRequest: boolean, duplicated_onScreenCaptureRequest: boolean, duplicated_onContextMenuShow: boolean, duplicated_onContextMenuHide: boolean, duplicated_mediaPlayGestureAccess: boolean, duplicated_onSearchResultReceive: boolean, duplicated_onScroll: boolean, duplicated_onSslErrorEventReceive: boolean, duplicated_onSslErrorEvent: boolean, duplicated_onClientAuthenticationRequest: boolean, duplicated_onWindowNew: boolean, duplicated_onWindowExit: boolean, duplicated_multiWindowAccess: boolean, duplicated_onInterceptKeyEvent: boolean, duplicated_webStandardFont: boolean, duplicated_webSerifFont: boolean, duplicated_webSansSerifFont: boolean, duplicated_webFixedFont: boolean, duplicated_webFantasyFont: boolean, duplicated_webCursiveFont: boolean, duplicated_defaultFixedFontSize: boolean, duplicated_defaultFontSize: boolean, duplicated_minFontSize: boolean, duplicated_minLogicalFontSize: boolean, duplicated_defaultTextEncodingFormat: boolean, duplicated_forceDisplayScrollBar: boolean, duplicated_blockNetwork: boolean, duplicated_horizontalScrollBarAccess: boolean, duplicated_verticalScrollBarAccess: boolean, duplicated_onTouchIconUrlReceived: boolean, duplicated_onFaviconReceived: boolean, duplicated_onPageVisible: boolean, duplicated_onDataResubmitted: boolean, duplicated_pinchSmooth: boolean, duplicated_allowWindowOpenMethod: boolean, duplicated_onAudioStateChanged: boolean, duplicated_onFirstContentfulPaint: boolean, duplicated_onFirstMeaningfulPaint: boolean, duplicated_onLargestContentfulPaint: boolean, duplicated_onLoadIntercept: boolean, duplicated_onControllerAttached: boolean, duplicated_onOverScroll: boolean, duplicated_onSafeBrowsingCheckResult: boolean, duplicated_onNavigationEntryCommitted: boolean, duplicated_onIntelligentTrackingPreventionResult: boolean, duplicated_javaScriptOnDocumentStart: boolean, duplicated_javaScriptOnDocumentEnd: boolean, duplicated_layoutMode: boolean, duplicated_nestedScroll: boolean, duplicated_enableNativeEmbedMode: boolean, duplicated_onNativeEmbedLifecycleChange: boolean, duplicated_onNativeEmbedVisibilityChange: boolean, duplicated_onNativeEmbedGestureEvent: boolean, duplicated_copyOptions: boolean, duplicated_onOverrideUrlLoading: boolean, duplicated_textAutosizing: boolean, duplicated_enableNativeMediaPlayer: boolean, duplicated_onRenderProcessNotResponding: boolean, duplicated_onRenderProcessResponding: boolean, duplicated_selectionMenuOptions: boolean, duplicated_onViewportFitChanged: boolean, duplicated_onInterceptKeyboardAttach: boolean, duplicated_onAdsBlocked: boolean, duplicated_keyboardAvoidMode: boolean, duplicated_editMenuOptions: boolean, duplicated_enableHapticFeedback: boolean, duplicated_optimizeParserBudget: boolean, duplicated_enableFollowSystemFontWeight: boolean, duplicated_enableWebAVSession: boolean, duplicated_runJavaScriptOnDocumentStart: boolean, duplicated_runJavaScriptOnDocumentEnd: boolean, duplicated_runJavaScriptOnHeadEnd: boolean, duplicated_nativeEmbedOptions: boolean): boolean { if ((!duplicated_javaScriptAccess) && (value?.hasOwnProperty("javaScriptAccess"))) { return true } @@ -16910,6 +18903,9 @@ export class TypeChecker { else if ((!duplicated_overScrollMode) && (value?.hasOwnProperty("overScrollMode"))) { return true } + else if ((!duplicated_blurOnKeyboardHideMode) && (value?.hasOwnProperty("blurOnKeyboardHideMode"))) { + return true + } else if ((!duplicated_textZoomAtio) && (value?.hasOwnProperty("textZoomAtio"))) { return true } @@ -17180,9 +19176,6 @@ export class TypeChecker { else if ((!duplicated_enableNativeMediaPlayer) && (value?.hasOwnProperty("enableNativeMediaPlayer"))) { return true } - else if ((!duplicated_enableSmoothDragResize) && (value?.hasOwnProperty("enableSmoothDragResize"))) { - return true - } else if ((!duplicated_onRenderProcessNotResponding) && (value?.hasOwnProperty("onRenderProcessNotResponding"))) { return true } @@ -17210,6 +19203,27 @@ export class TypeChecker { else if ((!duplicated_enableHapticFeedback) && (value?.hasOwnProperty("enableHapticFeedback"))) { return true } + else if ((!duplicated_optimizeParserBudget) && (value?.hasOwnProperty("optimizeParserBudget"))) { + return true + } + else if ((!duplicated_enableFollowSystemFontWeight) && (value?.hasOwnProperty("enableFollowSystemFontWeight"))) { + return true + } + else if ((!duplicated_enableWebAVSession) && (value?.hasOwnProperty("enableWebAVSession"))) { + return true + } + else if ((!duplicated_runJavaScriptOnDocumentStart) && (value?.hasOwnProperty("runJavaScriptOnDocumentStart"))) { + return true + } + else if ((!duplicated_runJavaScriptOnDocumentEnd) && (value?.hasOwnProperty("runJavaScriptOnDocumentEnd"))) { + return true + } + else if ((!duplicated_runJavaScriptOnHeadEnd) && (value?.hasOwnProperty("runJavaScriptOnHeadEnd"))) { + return true + } + else if ((!duplicated_nativeEmbedOptions) && (value?.hasOwnProperty("nativeEmbedOptions"))) { + return true + } else { throw new Error("Can not discriminate value typeof WebAttribute") } @@ -17480,6 +19494,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof WindowAnimationTarget") } } + static isWindowModeFollowStrategy(value: Object | string | number | undefined | boolean): boolean { + if ((value) === (WindowModeFollowStrategy.FOLLOW_HOST_WINDOW_MODE)) { + return true + } + else if ((value) === (WindowModeFollowStrategy.FOLLOW_UI_EXTENSION_ABILITY_WINDOW_MODE)) { + return true + } + else { + throw new Error("Can not discriminate value typeof WindowModeFollowStrategy") + } + } static isWindowSceneAttribute(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof WindowSceneAttribute") } @@ -17530,6 +19555,9 @@ export class TypeChecker { else if ((value) === (WordBreak.BREAK_WORD)) { return true } + else if ((value) === (WordBreak.HYPHENATION)) { + return true + } else { throw new Error("Can not discriminate value typeof WordBreak") } @@ -17599,7 +19627,7 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof XComponentController") } } - static isXComponentOptions(value: Object | string | number | undefined | boolean, duplicated_type: boolean, duplicated_controller: boolean, duplicated_imageAIOptions: boolean): boolean { + static isXComponentOptions(value: Object | string | number | undefined | boolean, duplicated_type: boolean, duplicated_controller: boolean, duplicated_imageAIOptions: boolean, duplicated_screenId: boolean): boolean { if ((!duplicated_type) && (value?.hasOwnProperty("type"))) { return true } @@ -17609,6 +19637,9 @@ export class TypeChecker { else if ((!duplicated_imageAIOptions) && (value?.hasOwnProperty("imageAIOptions"))) { return true } + else if ((!duplicated_screenId) && (value?.hasOwnProperty("screenId"))) { + return true + } else { throw new Error("Can not discriminate value typeof XComponentOptions") } @@ -17636,6 +19667,18 @@ export class TypeChecker { static AccessibilityHoverType_FromNumeric(ordinal: int32): AccessibilityHoverType { return ordinal as AccessibilityHoverType } + static AccessibilityRoleType_ToNumeric(value: AccessibilityRoleType): int32 { + return value as int32 + } + static AccessibilityRoleType_FromNumeric(ordinal: int32): AccessibilityRoleType { + return ordinal as AccessibilityRoleType + } + static AccessibilitySamePageMode_ToNumeric(value: AccessibilitySamePageMode): int32 { + return value as int32 + } + static AccessibilitySamePageMode_FromNumeric(ordinal: int32): AccessibilitySamePageMode { + return ordinal as AccessibilitySamePageMode + } static AdaptiveColor_ToNumeric(value: AdaptiveColor): int32 { return value as int32 } @@ -17684,12 +19727,36 @@ export class TypeChecker { static ArrowPosition_FromNumeric(ordinal: int32): ArrowPosition { return ordinal as ArrowPosition } + static AutoCapitalizationMode_ToNumeric(value: AutoCapitalizationMode): int32 { + return value as int32 + } + static AutoCapitalizationMode_FromNumeric(ordinal: int32): AutoCapitalizationMode { + return ordinal as AutoCapitalizationMode + } + static AvoidanceMode_ToNumeric(value: AvoidanceMode): int32 { + return value as int32 + } + static AvoidanceMode_FromNumeric(ordinal: int32): AvoidanceMode { + return ordinal as AvoidanceMode + } static Axis_ToNumeric(value: Axis): int32 { return value as int32 } static Axis_FromNumeric(ordinal: int32): Axis { return ordinal as Axis } + static AxisAction_ToNumeric(value: AxisAction): int32 { + return value as int32 + } + static AxisAction_FromNumeric(ordinal: int32): AxisAction { + return ordinal as AxisAction + } + static AxisModel_ToNumeric(value: AxisModel): int32 { + return value as int32 + } + static AxisModel_FromNumeric(ordinal: int32): AxisModel { + return ordinal as AxisModel + } static BadgePosition_ToNumeric(value: BadgePosition): int32 { return value as int32 } @@ -17738,6 +19805,12 @@ export class TypeChecker { static BlendMode_FromNumeric(ordinal: int32): BlendMode { return ordinal as BlendMode } + static BlurOnKeyboardHideMode_ToNumeric(value: BlurOnKeyboardHideMode): int32 { + return value as int32 + } + static BlurOnKeyboardHideMode_FromNumeric(ordinal: int32): BlurOnKeyboardHideMode { + return ordinal as BlurOnKeyboardHideMode + } static BlurStyle_ToNumeric(value: BlurStyle): int32 { return value as int32 } @@ -17888,6 +19961,18 @@ export class TypeChecker { static CopyOptions_FromNumeric(ordinal: int32): CopyOptions { return ordinal as CopyOptions } + static CrownAction_ToNumeric(value: CrownAction): int32 { + return value as int32 + } + static CrownAction_FromNumeric(ordinal: int32): CrownAction { + return ordinal as CrownAction + } + static CrownSensitivity_ToNumeric(value: CrownSensitivity): int32 { + return value as int32 + } + static CrownSensitivity_FromNumeric(ordinal: int32): CrownSensitivity { + return ordinal as CrownSensitivity + } static Curve_ToNumeric(value: Curve): int32 { return value as int32 } @@ -17906,6 +19991,12 @@ export class TypeChecker { static DataPanelType_FromNumeric(ordinal: int32): DataPanelType { return ordinal as DataPanelType } + static DatePickerMode_ToNumeric(value: DatePickerMode): int32 { + return value as int32 + } + static DatePickerMode_FromNumeric(ordinal: int32): DatePickerMode { + return ordinal as DatePickerMode + } static DialogAlignment_ToNumeric(value: DialogAlignment): int32 { return value as int32 } @@ -17948,6 +20039,12 @@ export class TypeChecker { static DisturbanceFieldShape_FromNumeric(ordinal: int32): DisturbanceFieldShape { return ordinal as DisturbanceFieldShape } + static DividerMode_ToNumeric(value: DividerMode): int32 { + return value as int32 + } + static DividerMode_FromNumeric(ordinal: int32): DividerMode { + return ordinal as DividerMode + } static DpiFollowStrategy_ToNumeric(value: DpiFollowStrategy): int32 { return value as int32 } @@ -17960,6 +20057,12 @@ export class TypeChecker { static DragBehavior_FromNumeric(ordinal: int32): DragBehavior { return ordinal as DragBehavior } + static DraggingSizeChangeEffect_ToNumeric(value: DraggingSizeChangeEffect): int32 { + return value as int32 + } + static DraggingSizeChangeEffect_FromNumeric(ordinal: int32): DraggingSizeChangeEffect { + return ordinal as DraggingSizeChangeEffect + } static DragPreviewMode_ToNumeric(value: DragPreviewMode): int32 { return value as int32 } @@ -18002,6 +20105,12 @@ export class TypeChecker { static EffectDirection_FromNumeric(ordinal: int32): EffectDirection { return ordinal as EffectDirection } + static EffectEdge_ToNumeric(value: EffectEdge): int32 { + return value as int32 + } + static EffectEdge_FromNumeric(ordinal: int32): EffectEdge { + return ordinal as EffectEdge + } static EffectFillStyle_ToNumeric(value: EffectFillStyle): int32 { return value as int32 } @@ -18080,6 +20189,12 @@ export class TypeChecker { static FlyMode_FromNumeric(ordinal: int32): FlyMode { return ordinal as FlyMode } + static FocusDrawLevel_ToNumeric(value: FocusDrawLevel): int32 { + return value as int32 + } + static FocusDrawLevel_FromNumeric(ordinal: int32): FocusDrawLevel { + return ordinal as FocusDrawLevel + } static FocusPriority_ToNumeric(value: FocusPriority): int32 { return value as int32 } @@ -18206,6 +20321,12 @@ export class TypeChecker { static GridRowDirection_FromNumeric(ordinal: int32): GridRowDirection { return ordinal as GridRowDirection } + static HapticFeedbackMode_ToNumeric(value: HapticFeedbackMode): int32 { + return value as int32 + } + static HapticFeedbackMode_FromNumeric(ordinal: int32): HapticFeedbackMode { + return ordinal as HapticFeedbackMode + } static HeightBreakpoint_ToNumeric(value: HeightBreakpoint): int32 { return value as int32 } @@ -18284,6 +20405,12 @@ export class TypeChecker { static ImageRepeat_FromNumeric(ordinal: int32): ImageRepeat { return ordinal as ImageRepeat } + static ImageRotateOrientation_ToNumeric(value: ImageRotateOrientation): int32 { + return value as int32 + } + static ImageRotateOrientation_FromNumeric(ordinal: int32): ImageRotateOrientation { + return ordinal as ImageRotateOrientation + } static ImageSize_ToNumeric(value: ImageSize): int32 { return value as int32 } @@ -18314,6 +20441,12 @@ export class TypeChecker { static IntentionCode_FromNumeric(ordinal: int32): IntentionCode { return ordinal as IntentionCode } + static InteractionHand_ToNumeric(value: InteractionHand): int32 { + return value as int32 + } + static InteractionHand_FromNumeric(ordinal: int32): InteractionHand { + return ordinal as InteractionHand + } static ItemAlign_ToNumeric(value: ItemAlign): int32 { return value as int32 } @@ -18326,12 +20459,24 @@ export class TypeChecker { static ItemState_FromNumeric(ordinal: int32): ItemState { return ordinal as ItemState } + static KeyboardAppearance_ToNumeric(value: KeyboardAppearance): int32 { + return value as int32 + } + static KeyboardAppearance_FromNumeric(ordinal: int32): KeyboardAppearance { + return ordinal as KeyboardAppearance + } static KeyboardAvoidMode_ToNumeric(value: KeyboardAvoidMode): int32 { return value as int32 } static KeyboardAvoidMode_FromNumeric(ordinal: int32): KeyboardAvoidMode { return ordinal as KeyboardAvoidMode } + static KeyProcessingMode_ToNumeric(value: KeyProcessingMode): int32 { + return value as int32 + } + static KeyProcessingMode_FromNumeric(ordinal: int32): KeyProcessingMode { + return ordinal as KeyProcessingMode + } static KeySource_ToNumeric(value: KeySource): int32 { return value as int32 } @@ -18464,6 +20609,18 @@ export class TypeChecker { static LocationIconStyle_FromNumeric(ordinal: int32): LocationIconStyle { return ordinal as LocationIconStyle } + static MarqueeStartPolicy_ToNumeric(value: MarqueeStartPolicy): int32 { + return value as int32 + } + static MarqueeStartPolicy_FromNumeric(ordinal: int32): MarqueeStartPolicy { + return ordinal as MarqueeStartPolicy + } + static MarqueeState_ToNumeric(value: MarqueeState): int32 { + return value as int32 + } + static MarqueeState_FromNumeric(ordinal: int32): MarqueeState { + return ordinal as MarqueeState + } static MarqueeUpdateStrategy_ToNumeric(value: MarqueeUpdateStrategy): int32 { return value as int32 } @@ -18548,6 +20705,12 @@ export class TypeChecker { static NavBarPosition_FromNumeric(ordinal: int32): NavBarPosition { return ordinal as NavBarPosition } + static NavDestinationActiveReason_ToNumeric(value: NavDestinationActiveReason): int32 { + return value as int32 + } + static NavDestinationActiveReason_FromNumeric(ordinal: int32): NavDestinationActiveReason { + return ordinal as NavDestinationActiveReason + } static NavDestinationMode_ToNumeric(value: NavDestinationMode): int32 { return value as int32 } @@ -18620,6 +20783,12 @@ export class TypeChecker { static OverScrollMode_FromNumeric(ordinal: int32): OverScrollMode { return ordinal as OverScrollMode } + static PageFlipMode_ToNumeric(value: PageFlipMode): int32 { + return value as int32 + } + static PageFlipMode_FromNumeric(ordinal: int32): PageFlipMode { + return ordinal as PageFlipMode + } static PanDirection_ToNumeric(value: PanDirection): int32 { return value as int32 } @@ -18704,6 +20873,12 @@ export class TypeChecker { static PixelRoundCalcPolicy_FromNumeric(ordinal: int32): PixelRoundCalcPolicy { return ordinal as PixelRoundCalcPolicy } + static PixelRoundMode_ToNumeric(value: PixelRoundMode): int32 { + return value as int32 + } + static PixelRoundMode_FromNumeric(ordinal: int32): PixelRoundMode { + return ordinal as PixelRoundMode + } static Placement_ToNumeric(value: Placement): int32 { return value as int32 } @@ -19112,6 +21287,12 @@ export class TypeChecker { static SwipeEdgeEffect_FromNumeric(ordinal: int32): SwipeEdgeEffect { return ordinal as SwipeEdgeEffect } + static SwiperAnimationMode_ToNumeric(value: SwiperAnimationMode): int32 { + return value as int32 + } + static SwiperAnimationMode_FromNumeric(ordinal: int32): SwiperAnimationMode { + return ordinal as SwiperAnimationMode + } static SwiperDisplayMode_ToNumeric(value: SwiperDisplayMode): int32 { return value as int32 } @@ -19136,6 +21317,12 @@ export class TypeChecker { static SymbolRenderingStrategy_FromNumeric(ordinal: int32): SymbolRenderingStrategy { return ordinal as SymbolRenderingStrategy } + static TabsCacheMode_ToNumeric(value: TabsCacheMode): int32 { + return value as int32 + } + static TabsCacheMode_FromNumeric(ordinal: int32): TabsCacheMode { + return ordinal as TabsCacheMode + } static TextAlign_ToNumeric(value: TextAlign): int32 { return value as int32 } @@ -19208,6 +21395,12 @@ export class TypeChecker { static TextInputStyle_FromNumeric(ordinal: int32): TextInputStyle { return ordinal as TextInputStyle } + static TextMenuShowMode_ToNumeric(value: TextMenuShowMode): int32 { + return value as int32 + } + static TextMenuShowMode_FromNumeric(ordinal: int32): TextMenuShowMode { + return ordinal as TextMenuShowMode + } static TextOverflow_ToNumeric(value: TextOverflow): int32 { return value as int32 } @@ -19394,6 +21587,12 @@ export class TypeChecker { static WidthBreakpoint_FromNumeric(ordinal: int32): WidthBreakpoint { return ordinal as WidthBreakpoint } + static WindowModeFollowStrategy_ToNumeric(value: WindowModeFollowStrategy): int32 { + return value as int32 + } + static WindowModeFollowStrategy_FromNumeric(ordinal: int32): WindowModeFollowStrategy { + return ordinal as WindowModeFollowStrategy + } static WindowStatusType_ToNumeric(value: WindowStatusType): int32 { return value as int32 } @@ -19442,6 +21641,12 @@ export class TypeChecker { static isArray_NavigationMenuItem(value: Object | string | number | undefined): boolean { return Array.isArray(value) } + static isArray_Scroller(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } + static isArray_NestedScrollInfo(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } static isArray_ToolbarItem(value: Object | string | number | undefined): boolean { return Array.isArray(value) } @@ -19451,7 +21656,10 @@ export class TypeChecker { static isArray_LayoutSafeAreaEdge(value: Object | string | number | undefined): boolean { return Array.isArray(value) } - static isArray_Object(value: Object | string | number | undefined): boolean { + static isArray_Opt_Object(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } + static isArray_NavPathInfo(value: Object | string | number | undefined): boolean { return Array.isArray(value) } static isArray_Union_Number_String(value: Object | string | number | undefined): boolean { @@ -19466,7 +21674,7 @@ export class TypeChecker { static isArray_RichEditorSpan(value: Object | string | number | undefined): boolean { return Array.isArray(value) } - static isArray_Union_String_Number_Resource(value: Object | string | number | undefined): boolean { + static isArray_Length(value: Object | string | number | undefined): boolean { return Array.isArray(value) } static isArray_StyleOptions(value: Object | string | number | undefined): boolean { @@ -19502,6 +21710,9 @@ export class TypeChecker { static isArray_TouchTestInfo(value: Object | string | number | undefined): boolean { return Array.isArray(value) } + static isArray_NavDestinationTransition(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } static isArray_GestureRecognizer(value: Object | string | number | undefined): boolean { return Array.isArray(value) } @@ -19520,9 +21731,15 @@ export class TypeChecker { static isArray_common2D_Point(value: Object | string | number | undefined): boolean { return Array.isArray(value) } + static isArray_Object(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } static isArray_Union_RichEditorTextSpanResult_RichEditorImageSpanResult(value: Object | string | number | undefined): boolean { return Array.isArray(value) } + static isArray_DateRange(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } static isArray_Union_ResourceColor_LinearGradient(value: Object | string | number | undefined): boolean { return Array.isArray(value) } @@ -19544,13 +21761,10 @@ export class TypeChecker { static isArray_TextPickerRangeContent(value: Object | string | number | undefined): boolean { return Array.isArray(value) } - static isArray_SheetInfo(value: Object | string | number | undefined): boolean { - return Array.isArray(value) - } - static isArray_AlertDialogButtonOptions(value: Object | string | number | undefined): boolean { + static isArray_LengthMetrics(value: Object | string | number | undefined): boolean { return Array.isArray(value) } - static isArray_FingerInfo(value: Object | string | number | undefined): boolean { + static isArray_Dimension(value: Object | string | number | undefined): boolean { return Array.isArray(value) } static isArray_FontFeature(value: Object | string | number | undefined): boolean { @@ -19565,6 +21779,18 @@ export class TypeChecker { static isArray_TextDataDetectorType(value: Object | string | number | undefined): boolean { return Array.isArray(value) } + static isArray_SheetInfo(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } + static isArray_AlertDialogButtonOptions(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } + static isArray_FingerInfo(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } + static isArray_MouseButton(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } static isArray_TouchObject(value: Object | string | number | undefined): boolean { return Array.isArray(value) } @@ -19619,4 +21845,7 @@ export class TypeChecker { static isArray_LocalizedBarrierStyle(value: Object | string | number | undefined): boolean { return Array.isArray(value) } + static isArray_CustomObject(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } } diff --git a/arkoala-arkts/arkui/src/generated/ui_extension_component.ts b/arkoala-arkts/arkui/src/generated/ui_extension_component.ts index 072ef29ab3..942fff950f 100644 --- a/arkoala-arkts/arkui/src/generated/ui_extension_component.ts +++ b/arkoala-arkts/arkui/src/generated/ui_extension_component.ts @@ -31,6 +31,7 @@ import { Callback_Number_Void } from "./alphabet_indexer" import { ErrorCallback } from "./ohos.base" import { BusinessError } from "./base" import { Callback_TerminationInfo_Void, TerminationInfo } from "./embedded_component" +import { Callback_Void } from "./ability_component" import { ComponentContent } from "./arkui-custom" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" @@ -144,7 +145,7 @@ export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionPro const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -156,7 +157,7 @@ export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionPro const thisSerializer : Serializer = Serializer.hold() let callback__type : int32 = RuntimeType.UNDEFINED callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type as int32) + thisSerializer.writeInt8(callback__type) if ((RuntimeType.UNDEFINED) != (callback__type)) { const callback__value = callback_! thisSerializer.holdAndWriteCallback(callback__value) @@ -186,7 +187,7 @@ export class ArkUIExtensionComponentPeer extends ArkCommonMethodPeer { thisSerializer.writeWant(want) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeUIExtensionOptions(options_value) @@ -230,16 +231,27 @@ export class ArkUIExtensionComponentPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._UIExtensionComponentAttribute_onTerminated(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onDrawReadyAttribute(value: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._UIExtensionComponentAttribute_onDrawReady(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } } export enum DpiFollowStrategy { FOLLOW_HOST_DPI = 0, FOLLOW_UI_EXTENSION_ABILITY_DPI = 1 } +export enum WindowModeFollowStrategy { + FOLLOW_HOST_WINDOW_MODE = 0, + FOLLOW_UI_EXTENSION_ABILITY_WINDOW_MODE = 1 +} export interface UIExtensionOptions { isTransferringCaller?: boolean; placeholder?: ComponentContent; areaChangePlaceholder?: Map; dpiFollowStrategy?: DpiFollowStrategy; + windowModeFollowStrategy?: WindowModeFollowStrategy; } export type Callback_UIExtensionProxy_Void = (parameter: UIExtensionProxy) => void; @@ -250,6 +262,7 @@ export interface UIExtensionComponentAttribute extends CommonMethod { onRelease(value: ((index: number) => void)): this onError(value: ErrorCallback): this onTerminated(value: ((parameter: TerminationInfo) => void)): this + onDrawReady(value: (() => void)): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIUIExtensionComponentAttribute extends UICommonMethod { @@ -266,6 +279,8 @@ export interface UIUIExtensionComponentAttribute extends UICommonMethod { /** @memo */ onTerminated(value: ((parameter: TerminationInfo) => void)): this /** @memo */ + onDrawReady(value: (() => void)): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkUIExtensionComponentStyle extends ArkCommonMethodStyle implements UIExtensionComponentAttribute { @@ -275,6 +290,7 @@ export class ArkUIExtensionComponentStyle extends ArkCommonMethodStyle implement onRelease_value?: ((index: number) => void) onError_value?: ErrorCallback onTerminated_value?: ((parameter: TerminationInfo) => void) + onDrawReady_value?: (() => void) public onRemoteReady(value: ((parameter: UIExtensionProxy) => void)): this { return this } @@ -293,6 +309,9 @@ export class ArkUIExtensionComponentStyle extends ArkCommonMethodStyle implement public onTerminated(value: ((parameter: TerminationInfo) => void)): this { return this } + public onDrawReady(value: (() => void)): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -373,6 +392,15 @@ export class ArkUIExtensionComponentComponent extends ArkCommonMethodComponent i return this } /** @memo */ + public onDrawReady(value: (() => void)): this { + if (this.checkPriority("onDrawReady")) { + const value_casted = value as ((() => void)) + this.getPeer()?.onDrawReadyAttribute(value_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala-arkts/arkui/src/generated/units.ts b/arkoala-arkts/arkui/src/generated/units.ts index 5aba7da576..f42e61ef8a 100644 --- a/arkoala-arkts/arkui/src/generated/units.ts +++ b/arkoala-arkts/arkui/src/generated/units.ts @@ -26,7 +26,7 @@ import { CallbackTransformer } from "./../CallbackTransformer" import { Resource } from "./resource" import { LengthMetrics, LengthMetricsUnit } from "./arkui-graphics" import { OutlineStyle } from "./common" -import { Color, FontWeight, BorderStyle } from "./enums" +import { Color, FontWeight, BorderStyle, DividerMode } from "./enums" import { ColorMetrics, EdgeStyles } from "./arkui-external" import { FontStyle } from "./arkui-graphics-text" export class ColorFilterInternal { @@ -225,6 +225,7 @@ export interface DividerStyleOptions { color?: ResourceColor; startMargin?: LengthMetrics; endMargin?: LengthMetrics; + mode?: DividerMode; } export interface ChainWeightOptions { horizontal?: number; diff --git a/arkoala-arkts/arkui/src/generated/video.ts b/arkoala-arkts/arkui/src/generated/video.ts index 80c6ea8316..9d21aa17d8 100644 --- a/arkoala-arkts/arkui/src/generated/video.ts +++ b/arkoala-arkts/arkui/src/generated/video.ts @@ -30,6 +30,7 @@ import { ImageFit } from "./enums" import { VoidCallback } from "./units" import { Callback_Void } from "./ability_component" import { ImageAnalyzerConfig, ImageAIOptions } from "./image_common" +import { ColorMetrics } from "./arkui-external" import { Resource } from "./resource" import { PixelMap } from "./arkui-pixelmap" import { UICommonBase, AttributeModifier } from "./../handwritten" @@ -224,6 +225,12 @@ export class ArkVideoPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._VideoAttribute_analyzerConfig(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + surfaceBackgroundColorAttribute(value: ColorMetrics): void { + ArkUIGeneratedNativeModule._VideoAttribute_surfaceBackgroundColor(this.peer.ptr, toPeerPtr(value)) + } + enableShortcutKeyAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._VideoAttribute_enableShortcutKey(this.peer.ptr, value ? 1 : 0) + } } export enum SeekMode { PREVIOUS_KEYFRAME = 0, @@ -256,12 +263,16 @@ export interface PreparedInfo { export interface PlaybackInfo { time: number; } +export interface PosterOptions { + showFirstFrame?: boolean; +} export interface VideoOptions { src?: string | Resource; currentProgressRate?: number | string | PlaybackSpeed; previewUri?: string | PixelMap | Resource; controller?: VideoController; imageAIOptions?: ImageAIOptions; + posterOptions?: PosterOptions; } export type Callback_FullscreenInfo_Void = (parameter: FullscreenInfo) => void; @@ -285,6 +296,8 @@ export interface VideoAttribute extends CommonMethod { onStop(value: (() => void)): this enableAnalyzer(value: boolean): this analyzerConfig(value: ImageAnalyzerConfig): this + surfaceBackgroundColor(value: ColorMetrics): this + enableShortcutKey(value: boolean): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIVideoAttribute extends UICommonMethod { @@ -323,6 +336,10 @@ export interface UIVideoAttribute extends UICommonMethod { /** @memo */ analyzerConfig(value: ImageAnalyzerConfig): this /** @memo */ + surfaceBackgroundColor(value: ColorMetrics): this + /** @memo */ + enableShortcutKey(value: boolean): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkVideoStyle extends ArkCommonMethodStyle implements VideoAttribute { @@ -343,6 +360,8 @@ export class ArkVideoStyle extends ArkCommonMethodStyle implements VideoAttribut onStop_value?: (() => void) enableAnalyzer_value?: boolean analyzerConfig_value?: ImageAnalyzerConfig + surfaceBackgroundColor_value?: ColorMetrics + enableShortcutKey_value?: boolean public muted(value: boolean): this { return this } @@ -394,6 +413,12 @@ export class ArkVideoStyle extends ArkCommonMethodStyle implements VideoAttribut public analyzerConfig(value: ImageAnalyzerConfig): this { return this } + public surfaceBackgroundColor(value: ColorMetrics): this { + return this + } + public enableShortcutKey(value: boolean): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -566,6 +591,24 @@ export class ArkVideoComponent extends ArkCommonMethodComponent implements UIVid return this } /** @memo */ + public surfaceBackgroundColor(value: ColorMetrics): this { + if (this.checkPriority("surfaceBackgroundColor")) { + const value_casted = value as (ColorMetrics) + this.getPeer()?.surfaceBackgroundColorAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableShortcutKey(value: boolean): this { + if (this.checkPriority("enableShortcutKey")) { + const value_casted = value as (boolean) + this.getPeer()?.enableShortcutKeyAttribute(value_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala-arkts/arkui/src/generated/water_flow.ts b/arkoala-arkts/arkui/src/generated/water_flow.ts index bb41f28f1d..63f43e051f 100644 --- a/arkoala-arkts/arkui/src/generated/water_flow.ts +++ b/arkoala-arkts/arkui/src/generated/water_flow.ts @@ -32,6 +32,7 @@ import { Resource } from "./resource" import { Callback_Void } from "./ability_component" import { Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain, Callback_Number_Number_Void } from "./grid" import { ScrollState } from "./list" +import { ComponentContent } from "./arkui-custom" import { Scroller } from "./scroll" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" @@ -83,14 +84,14 @@ export class WaterFlowSections implements MaterializedBase { const thisSerializer : Serializer = Serializer.hold() let deleteCount_type : int32 = RuntimeType.UNDEFINED deleteCount_type = runtimeType(deleteCount) - thisSerializer.writeInt8(deleteCount_type as int32) + thisSerializer.writeInt8(deleteCount_type) if ((RuntimeType.UNDEFINED) != (deleteCount_type)) { const deleteCount_value = deleteCount! thisSerializer.writeNumber(deleteCount_value) } let sections_type : int32 = RuntimeType.UNDEFINED sections_type = runtimeType(sections) - thisSerializer.writeInt8(sections_type as int32) + thisSerializer.writeInt8(sections_type) if ((RuntimeType.UNDEFINED) != (sections_type)) { const sections_value = sections! thisSerializer.writeInt32(sections_value.length as int32) @@ -148,7 +149,7 @@ export class ArkWaterFlowPeer extends ArkScrollableCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeWaterFlowOptions(options_value) @@ -173,17 +174,17 @@ export class ArkWaterFlowPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -195,17 +196,17 @@ export class ArkWaterFlowPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as string thisSerializer.writeString(value_0) } else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as number thisSerializer.writeNumber(value_1) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const value_2 = value as Resource thisSerializer.writeResource(value_2) } @@ -229,12 +230,12 @@ export class ArkWaterFlowPeer extends ArkScrollableCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as number thisSerializer.writeNumber(value_0) } else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as Resource thisSerializer.writeResource(value_1) } @@ -287,6 +288,7 @@ export enum WaterFlowLayoutMode { } export interface WaterFlowOptions { footer?: CustomBuilder; + footerContent?: ComponentContent; scroller?: Scroller; sections?: WaterFlowSections; layoutMode?: WaterFlowLayoutMode; diff --git a/arkoala-arkts/arkui/src/generated/web.ts b/arkoala-arkts/arkui/src/generated/web.ts index 77723f75be..d84a08eb23 100644 --- a/arkoala-arkts/arkui/src/generated/web.ts +++ b/arkoala-arkts/arkui/src/generated/web.ts @@ -165,6 +165,9 @@ export class FileSelectorParam implements MaterializedBase { public isCapture(): boolean { return this.isCapture_serialize() } + public getMimeTypes(): Array { + return this.getMimeTypes_serialize() + } private getTitle_serialize(): string { const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getTitle(this.peer!.ptr) return retval @@ -188,6 +191,17 @@ export class FileSelectorParam implements MaterializedBase { const retval = ArkUIGeneratedNativeModule._FileSelectorParam_isCapture(this.peer!.ptr) return retval } + private getMimeTypes_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getMimeTypes(this.peer!.ptr) + let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) + const buffer_length : int32 = retvalDeserializer.readInt32() + let buffer : Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = (retvalDeserializer.readString() as string) + } + const returnResult : Array = buffer + return returnResult + } } export class JsResultInternal { public static fromPtr(ptr: KPointer): JsResult { @@ -1034,22 +1048,22 @@ export class WebResourceResponse implements MaterializedBase { let data_type : int32 = RuntimeType.UNDEFINED data_type = runtimeType(data) if (RuntimeType.STRING == data_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const data_0 = data as string thisSerializer.writeString(data_0) } else if (RuntimeType.NUMBER == data_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const data_1 = data as number thisSerializer.writeNumber(data_1) } else if (TypeChecker.isResource(data, false, false, false, false, false)) { - thisSerializer.writeInt8(2 as int32) + thisSerializer.writeInt8(2) const data_2 = data as Resource thisSerializer.writeResource(data_2) } else if (TypeChecker.isNativeBuffer(data)) { - thisSerializer.writeInt8(3 as int32) + thisSerializer.writeInt8(3) const data_3 = data as NativeBuffer thisSerializer.writeBuffer(data_3) } @@ -1219,13 +1233,18 @@ export class EventResult implements MaterializedBase { static getFinalizer(): KPointer { return ArkUIGeneratedNativeModule._EventResult_getFinalizer() } - public setGestureEventResult(result: boolean): void { + public setGestureEventResult(result: boolean, stopPropagation?: boolean): void { + const result_type = runtimeType(result) + const stopPropagation_type = runtimeType(stopPropagation) const result_casted = result as (boolean) - this.setGestureEventResult_serialize(result_casted) + this.setGestureEventResult0_serialize(result_casted) return } - private setGestureEventResult_serialize(result: boolean): void { - ArkUIGeneratedNativeModule._EventResult_setGestureEventResult(this.peer!.ptr, result ? 1 : 0) + private setGestureEventResult0_serialize(result: boolean): void { + ArkUIGeneratedNativeModule._EventResult_setGestureEventResult0(this.peer!.ptr, result ? 1 : 0) + } + private setGestureEventResult1_serialize(result: boolean, stopPropagation: boolean): void { + ArkUIGeneratedNativeModule._EventResult_setGestureEventResult1(this.peer!.ptr, result ? 1 : 0, stopPropagation ? 1 : 0) } } export class WebControllerInternal { @@ -1348,7 +1367,7 @@ export class WebController implements MaterializedBase { const options_callback_ = options.callback_ let options_callback__type : int32 = RuntimeType.UNDEFINED options_callback__type = runtimeType(options_callback_) - thisSerializer.writeInt8(options_callback__type as int32) + thisSerializer.writeInt8(options_callback__type) if ((RuntimeType.UNDEFINED) != (options_callback__type)) { const options_callback__value = options_callback_! thisSerializer.holdAndWriteCallback(options_callback__value) @@ -1367,7 +1386,7 @@ export class WebController implements MaterializedBase { const options_baseUrl = options.baseUrl let options_baseUrl_type : int32 = RuntimeType.UNDEFINED options_baseUrl_type = runtimeType(options_baseUrl) - thisSerializer.writeInt8(options_baseUrl_type as int32) + thisSerializer.writeInt8(options_baseUrl_type) if ((RuntimeType.UNDEFINED) != (options_baseUrl_type)) { const options_baseUrl_value = options_baseUrl! thisSerializer.writeString(options_baseUrl_value) @@ -1375,7 +1394,7 @@ export class WebController implements MaterializedBase { const options_historyUrl = options.historyUrl let options_historyUrl_type : int32 = RuntimeType.UNDEFINED options_historyUrl_type = runtimeType(options_historyUrl) - thisSerializer.writeInt8(options_historyUrl_type as int32) + thisSerializer.writeInt8(options_historyUrl_type) if ((RuntimeType.UNDEFINED) != (options_historyUrl_type)) { const options_historyUrl_value = options_historyUrl! thisSerializer.writeString(options_historyUrl_value) @@ -1389,19 +1408,19 @@ export class WebController implements MaterializedBase { let options_url_type : int32 = RuntimeType.UNDEFINED options_url_type = runtimeType(options_url) if (RuntimeType.STRING == options_url_type) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const options_url_0 = options_url as string thisSerializer.writeString(options_url_0) } else if (RuntimeType.OBJECT == options_url_type) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const options_url_1 = options_url as Resource thisSerializer.writeResource(options_url_1) } const options_headers = options.headers let options_headers_type : int32 = RuntimeType.UNDEFINED options_headers_type = runtimeType(options_headers) - thisSerializer.writeInt8(options_headers_type as int32) + thisSerializer.writeInt8(options_headers_type) if ((RuntimeType.UNDEFINED) != (options_headers_type)) { const options_headers_value = options_headers! thisSerializer.writeInt32(options_headers_value.length as int32) @@ -1545,6 +1564,9 @@ export class ArkWebPeer extends ArkCommonMethodPeer { overScrollModeAttribute(value: OverScrollMode): void { ArkUIGeneratedNativeModule._WebAttribute_overScrollMode(this.peer.ptr, TypeChecker.OverScrollMode_ToNumeric(value)) } + blurOnKeyboardHideModeAttribute(value: BlurOnKeyboardHideMode): void { + ArkUIGeneratedNativeModule._WebAttribute_blurOnKeyboardHideMode(this.peer.ptr, TypeChecker.BlurOnKeyboardHideMode_ToNumeric(value)) + } textZoomAtioAttribute(value: number): void { ArkUIGeneratedNativeModule._WebAttribute_textZoomAtio(this.peer.ptr, value) } @@ -1972,12 +1994,12 @@ export class ArkWebPeer extends ArkCommonMethodPeer { let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) if (TypeChecker.isNestedScrollOptions(value, false, false)) { - thisSerializer.writeInt8(0 as int32) + thisSerializer.writeInt8(0) const value_0 = value as NestedScrollOptions thisSerializer.writeNestedScrollOptions(value_0) } else if (TypeChecker.isNestedScrollOptionsExt(value, false, false, false, false)) { - thisSerializer.writeInt8(1 as int32) + thisSerializer.writeInt8(1) const value_1 = value as NestedScrollOptionsExt thisSerializer.writeNestedScrollOptionsExt(value_1) } @@ -2023,9 +2045,6 @@ export class ArkWebPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._WebAttribute_enableNativeMediaPlayer(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - enableSmoothDragResizeAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._WebAttribute_enableSmoothDragResize(this.peer.ptr, value ? 1 : 0) - } onRenderProcessNotRespondingAttribute(value: OnRenderProcessNotRespondingCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -2078,6 +2097,57 @@ export class ArkWebPeer extends ArkCommonMethodPeer { enableHapticFeedbackAttribute(value: boolean): void { ArkUIGeneratedNativeModule._WebAttribute_enableHapticFeedback(this.peer.ptr, value ? 1 : 0) } + optimizeParserBudgetAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._WebAttribute_optimizeParserBudget(this.peer.ptr, value ? 1 : 0) + } + enableFollowSystemFontWeightAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._WebAttribute_enableFollowSystemFontWeight(this.peer.ptr, value ? 1 : 0) + } + enableWebAVSessionAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._WebAttribute_enableWebAVSession(this.peer.ptr, value ? 1 : 0) + } + runJavaScriptOnDocumentStartAttribute(value: Array): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(value.length as int32) + for (let i = 0; i < value.length; i++) { + const value_element : ScriptItem = value[i] + thisSerializer.writeScriptItem(value_element) + } + ArkUIGeneratedNativeModule._WebAttribute_runJavaScriptOnDocumentStart(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + runJavaScriptOnDocumentEndAttribute(value: Array): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(value.length as int32) + for (let i = 0; i < value.length; i++) { + const value_element : ScriptItem = value[i] + thisSerializer.writeScriptItem(value_element) + } + ArkUIGeneratedNativeModule._WebAttribute_runJavaScriptOnDocumentEnd(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + runJavaScriptOnHeadEndAttribute(value: Array): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(value.length as int32) + for (let i = 0; i < value.length; i++) { + const value_element : ScriptItem = value[i] + thisSerializer.writeScriptItem(value_element) + } + ArkUIGeneratedNativeModule._WebAttribute_runJavaScriptOnHeadEnd(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + nativeEmbedOptionsAttribute(value: EmbedOptions | undefined): void { + const thisSerializer : Serializer = Serializer.hold() + let value_type : int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeEmbedOptions(value_value) + } + ArkUIGeneratedNativeModule._WebAttribute_nativeEmbedOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } registerNativeEmbedRuleAttribute(tag: string, type: string): void { ArkUIGeneratedNativeModule._WebAttribute_registerNativeEmbedRule(this.peer.ptr, tag, type) } @@ -2086,7 +2156,7 @@ export class ArkWebPeer extends ArkCommonMethodPeer { thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(content)) let options_type : int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) + thisSerializer.writeInt8(options_type) if ((RuntimeType.UNDEFINED) != (options_type)) { const options_value = options! thisSerializer.writeSelectionMenuOptionsExt(options_value) @@ -2177,6 +2247,10 @@ export enum OverScrollMode { NEVER = 0, ALWAYS = 1 } +export enum BlurOnKeyboardHideMode { + SILENT = 0, + BLUR = 1 +} export enum WebDarkMode { OFF = 0, Off = 0, @@ -2648,6 +2722,7 @@ export interface WebAttribute extends CommonMethod { wideViewModeAccess(value: boolean): this overviewModeAccess(value: boolean): this overScrollMode(value: OverScrollMode): this + blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode): this textZoomAtio(value: number): this textZoomRatio(value: number): this databaseAccess(value: boolean): this @@ -2738,7 +2813,6 @@ export interface WebAttribute extends CommonMethod { onOverrideUrlLoading(value: OnOverrideUrlLoadingCallback): this textAutosizing(value: boolean): this enableNativeMediaPlayer(value: NativeMediaPlayerConfig): this - enableSmoothDragResize(value: boolean): this onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback): this onRenderProcessResponding(value: OnRenderProcessRespondingCallback): this selectionMenuOptions(value: Array): this @@ -2748,6 +2822,13 @@ export interface WebAttribute extends CommonMethod { keyboardAvoidMode(value: WebKeyboardAvoidMode): this editMenuOptions(value: EditMenuOptions): this enableHapticFeedback(value: boolean): this + optimizeParserBudget(value: boolean): this + enableFollowSystemFontWeight(value: boolean): this + enableWebAVSession(value: boolean): this + runJavaScriptOnDocumentStart(value: Array): this + runJavaScriptOnDocumentEnd(value: Array): this + runJavaScriptOnHeadEnd(value: Array): this + nativeEmbedOptions(value: EmbedOptions | undefined): this registerNativeEmbedRule(tag: string, type: string): this bindSelectionMenu(elementType: WebElementType, content: CustomBuilder, responseType: WebResponseType, options?: SelectionMenuOptionsExt): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this @@ -2790,6 +2871,8 @@ export interface UIWebAttribute extends UICommonMethod { /** @memo */ overScrollMode(value: OverScrollMode): this /** @memo */ + blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode): this + /** @memo */ textZoomAtio(value: number): this /** @memo */ textZoomRatio(value: number): this @@ -2970,8 +3053,6 @@ export interface UIWebAttribute extends UICommonMethod { /** @memo */ enableNativeMediaPlayer(value: NativeMediaPlayerConfig): this /** @memo */ - enableSmoothDragResize(value: boolean): this - /** @memo */ onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback): this /** @memo */ onRenderProcessResponding(value: OnRenderProcessRespondingCallback): this @@ -2990,6 +3071,20 @@ export interface UIWebAttribute extends UICommonMethod { /** @memo */ enableHapticFeedback(value: boolean): this /** @memo */ + optimizeParserBudget(value: boolean): this + /** @memo */ + enableFollowSystemFontWeight(value: boolean): this + /** @memo */ + enableWebAVSession(value: boolean): this + /** @memo */ + runJavaScriptOnDocumentStart(value: Array): this + /** @memo */ + runJavaScriptOnDocumentEnd(value: Array): this + /** @memo */ + runJavaScriptOnHeadEnd(value: Array): this + /** @memo */ + nativeEmbedOptions(value: EmbedOptions | undefined): this + /** @memo */ registerNativeEmbedRule(tag: string, type: string): this /** @memo */ bindSelectionMenu(elementType: WebElementType, content: CustomBuilder, responseType: WebResponseType, options?: SelectionMenuOptionsExt): this @@ -3015,6 +3110,7 @@ export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { wideViewModeAccess_value?: boolean overviewModeAccess_value?: boolean overScrollMode_value?: OverScrollMode + blurOnKeyboardHideMode_value?: BlurOnKeyboardHideMode textZoomAtio_value?: number textZoomRatio_value?: number databaseAccess_value?: boolean @@ -3105,7 +3201,6 @@ export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { onOverrideUrlLoading_value?: OnOverrideUrlLoadingCallback textAutosizing_value?: boolean enableNativeMediaPlayer_value?: NativeMediaPlayerConfig - enableSmoothDragResize_value?: boolean onRenderProcessNotResponding_value?: OnRenderProcessNotRespondingCallback onRenderProcessResponding_value?: OnRenderProcessRespondingCallback selectionMenuOptions_value?: Array @@ -3115,6 +3210,13 @@ export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { keyboardAvoidMode_value?: WebKeyboardAvoidMode editMenuOptions_value?: EditMenuOptions enableHapticFeedback_value?: boolean + optimizeParserBudget_value?: boolean + enableFollowSystemFontWeight_value?: boolean + enableWebAVSession_value?: boolean + runJavaScriptOnDocumentStart_value?: Array + runJavaScriptOnDocumentEnd_value?: Array + runJavaScriptOnHeadEnd_value?: Array + nativeEmbedOptions_value?: EmbedOptions public javaScriptAccess(value: boolean): this { return this } @@ -3169,6 +3271,9 @@ export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { public overScrollMode(value: OverScrollMode): this { return this } + public blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode): this { + return this + } public textZoomAtio(value: number): this { return this } @@ -3439,9 +3544,6 @@ export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { public enableNativeMediaPlayer(value: NativeMediaPlayerConfig): this { return this } - public enableSmoothDragResize(value: boolean): this { - return this - } public onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback): this { return this } @@ -3469,6 +3571,27 @@ export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { public enableHapticFeedback(value: boolean): this { return this } + public optimizeParserBudget(value: boolean): this { + return this + } + public enableFollowSystemFontWeight(value: boolean): this { + return this + } + public enableWebAVSession(value: boolean): this { + return this + } + public runJavaScriptOnDocumentStart(value: Array): this { + return this + } + public runJavaScriptOnDocumentEnd(value: Array): this { + return this + } + public runJavaScriptOnHeadEnd(value: Array): this { + return this + } + public nativeEmbedOptions(value: EmbedOptions | undefined): this { + return this + } public registerNativeEmbedRule(tag: string, type: string): this { return this } @@ -3503,6 +3626,9 @@ export interface NestedScrollOptionsExt { scrollRight?: NestedScrollMode; scrollLeft?: NestedScrollMode; } +export interface EmbedOptions { + supportDefaultIntrinsicSize?: boolean; +} /** @memo:stable */ export class ArkWebComponent extends ArkCommonMethodComponent implements UIWebAttribute { getPeer(): ArkWebPeer { @@ -3680,6 +3806,15 @@ export class ArkWebComponent extends ArkCommonMethodComponent implements UIWebAt return this } /** @memo */ + public blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode): this { + if (this.checkPriority("blurOnKeyboardHideMode")) { + const value_casted = value as (BlurOnKeyboardHideMode) + this.getPeer()?.blurOnKeyboardHideModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ public textZoomAtio(value: number): this { if (this.checkPriority("textZoomAtio")) { const value_casted = value as (number) @@ -4499,15 +4634,6 @@ export class ArkWebComponent extends ArkCommonMethodComponent implements UIWebAt return this } /** @memo */ - public enableSmoothDragResize(value: boolean): this { - if (this.checkPriority("enableSmoothDragResize")) { - const value_casted = value as (boolean) - this.getPeer()?.enableSmoothDragResizeAttribute(value_casted) - return this - } - return this - } - /** @memo */ public onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback): this { if (this.checkPriority("onRenderProcessNotResponding")) { const value_casted = value as (OnRenderProcessNotRespondingCallback) @@ -4589,6 +4715,69 @@ export class ArkWebComponent extends ArkCommonMethodComponent implements UIWebAt return this } /** @memo */ + public optimizeParserBudget(value: boolean): this { + if (this.checkPriority("optimizeParserBudget")) { + const value_casted = value as (boolean) + this.getPeer()?.optimizeParserBudgetAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableFollowSystemFontWeight(value: boolean): this { + if (this.checkPriority("enableFollowSystemFontWeight")) { + const value_casted = value as (boolean) + this.getPeer()?.enableFollowSystemFontWeightAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableWebAVSession(value: boolean): this { + if (this.checkPriority("enableWebAVSession")) { + const value_casted = value as (boolean) + this.getPeer()?.enableWebAVSessionAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public runJavaScriptOnDocumentStart(value: Array): this { + if (this.checkPriority("runJavaScriptOnDocumentStart")) { + const value_casted = value as (Array) + this.getPeer()?.runJavaScriptOnDocumentStartAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public runJavaScriptOnDocumentEnd(value: Array): this { + if (this.checkPriority("runJavaScriptOnDocumentEnd")) { + const value_casted = value as (Array) + this.getPeer()?.runJavaScriptOnDocumentEndAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public runJavaScriptOnHeadEnd(value: Array): this { + if (this.checkPriority("runJavaScriptOnHeadEnd")) { + const value_casted = value as (Array) + this.getPeer()?.runJavaScriptOnHeadEndAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public nativeEmbedOptions(value: EmbedOptions | undefined): this { + if (this.checkPriority("nativeEmbedOptions")) { + const value_casted = value as (EmbedOptions | undefined) + this.getPeer()?.nativeEmbedOptionsAttribute(value_casted) + return this + } + return this + } + /** @memo */ public registerNativeEmbedRule(tag: string, type: string): this { if (this.checkPriority("registerNativeEmbedRule")) { const tag_casted = tag as (string) diff --git a/arkoala-arkts/arkui/src/generated/xcomponent.ts b/arkoala-arkts/arkui/src/generated/xcomponent.ts index 5a736f9475..589ffcdb72 100644 --- a/arkoala-arkts/arkui/src/generated/xcomponent.ts +++ b/arkoala-arkts/arkui/src/generated/xcomponent.ts @@ -235,7 +235,7 @@ export class ArkXComponentPeer extends ArkCommonMethodPeer { const value_libraryname = value.libraryname let value_libraryname_type : int32 = RuntimeType.UNDEFINED value_libraryname_type = runtimeType(value_libraryname) - thisSerializer.writeInt8(value_libraryname_type as int32) + thisSerializer.writeInt8(value_libraryname_type) if ((RuntimeType.UNDEFINED) != (value_libraryname_type)) { const value_libraryname_value = value_libraryname! thisSerializer.writeString(value_libraryname_value) @@ -243,7 +243,7 @@ export class ArkXComponentPeer extends ArkCommonMethodPeer { const value_controller = value.controller let value_controller_type : int32 = RuntimeType.UNDEFINED value_controller_type = runtimeType(value_controller) - thisSerializer.writeInt8(value_controller_type as int32) + thisSerializer.writeInt8(value_controller_type) if ((RuntimeType.UNDEFINED) != (value_controller_type)) { const value_controller_value = value_controller! thisSerializer.writeXComponentController(value_controller_value) @@ -260,7 +260,7 @@ export class ArkXComponentPeer extends ArkCommonMethodPeer { const value_libraryname = value.libraryname let value_libraryname_type : int32 = RuntimeType.UNDEFINED value_libraryname_type = runtimeType(value_libraryname) - thisSerializer.writeInt8(value_libraryname_type as int32) + thisSerializer.writeInt8(value_libraryname_type) if ((RuntimeType.UNDEFINED) != (value_libraryname_type)) { const value_libraryname_value = value_libraryname! thisSerializer.writeString(value_libraryname_value) @@ -268,7 +268,7 @@ export class ArkXComponentPeer extends ArkCommonMethodPeer { const value_controller = value.controller let value_controller_type : int32 = RuntimeType.UNDEFINED value_controller_type = runtimeType(value_controller) - thisSerializer.writeInt8(value_controller_type as int32) + thisSerializer.writeInt8(value_controller_type) if ((RuntimeType.UNDEFINED) != (value_controller_type)) { const value_controller_value = value_controller! thisSerializer.writeXComponentController(value_controller_value) @@ -282,6 +282,12 @@ export class ArkXComponentPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._XComponentInterface_setXComponentOptions2(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + setXComponentOptions3Attribute(params: NativeXComponentParameters): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeNativeXComponentParameters(params) + ArkUIGeneratedNativeModule._XComponentInterface_setXComponentOptions3(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onLoadAttribute(value: OnNativeLoadCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -300,6 +306,12 @@ export class ArkXComponentPeer extends ArkCommonMethodPeer { enableSecureAttribute(value: boolean): void { ArkUIGeneratedNativeModule._XComponentAttribute_enableSecure(this.peer.ptr, value ? 1 : 0) } + hdrBrightnessAttribute(value: number): void { + ArkUIGeneratedNativeModule._XComponentAttribute_hdrBrightness(this.peer.ptr, value) + } + enableTransparentLayerAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._XComponentAttribute_enableTransparentLayer(this.peer.ptr, value ? 1 : 0) + } } export interface SurfaceRect { offsetX?: number; @@ -319,6 +331,11 @@ export interface XComponentOptions { type: XComponentType; controller: XComponentController; imageAIOptions?: ImageAIOptions; + screenId?: number; +} +export interface NativeXComponentParameters { + type: XComponentType; + imageAIOptions?: ImageAIOptions; } export interface Type_XComponentInterface_callable0_value { id: string; @@ -339,6 +356,8 @@ export interface XComponentAttribute extends CommonMethod { onDestroy(value: VoidCallback): this enableAnalyzer(value: boolean): this enableSecure(value: boolean): this + hdrBrightness(value: number): this + enableTransparentLayer(value: boolean): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIXComponentAttribute extends UICommonMethod { @@ -351,6 +370,10 @@ export interface UIXComponentAttribute extends UICommonMethod { /** @memo */ enableSecure(value: boolean): this /** @memo */ + hdrBrightness(value: number): this + /** @memo */ + enableTransparentLayer(value: boolean): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkXComponentStyle extends ArkCommonMethodStyle implements XComponentAttribute { @@ -358,6 +381,8 @@ export class ArkXComponentStyle extends ArkCommonMethodStyle implements XCompone onDestroy_value?: VoidCallback enableAnalyzer_value?: boolean enableSecure_value?: boolean + hdrBrightness_value?: number + enableTransparentLayer_value?: boolean public onLoad(value: OnNativeLoadCallback): this { return this } @@ -370,6 +395,12 @@ export class ArkXComponentStyle extends ArkCommonMethodStyle implements XCompone public enableSecure(value: boolean): this { return this } + public hdrBrightness(value: number): this { + return this + } + public enableTransparentLayer(value: boolean): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -380,7 +411,7 @@ export class ArkXComponentComponent extends ArkCommonMethodComponent implements return (this.peer as ArkXComponentPeer) } /** @memo */ - public setXComponentOptions(value: Type_XComponentInterface_callable0_value | Type_XComponentInterface_callable1_value | XComponentOptions): this { + public setXComponentOptions(value: Type_XComponentInterface_callable0_value | Type_XComponentInterface_callable1_value | XComponentOptions | NativeXComponentParameters): this { if (this.checkPriority("setXComponentOptions")) { const value_type = runtimeType(value) if (RuntimeType.OBJECT == value_type) { @@ -393,11 +424,16 @@ export class ArkXComponentComponent extends ArkCommonMethodComponent implements this.getPeer()?.setXComponentOptions1Attribute(value_casted) return this } - if (TypeChecker.isXComponentOptions(value, true, true, false)) { + if (TypeChecker.isXComponentOptions(value, true, true, true, false)) { const options_casted = value as (XComponentOptions) this.getPeer()?.setXComponentOptions2Attribute(options_casted) return this } + if (TypeChecker.isNativeXComponentParameters(value, true, true)) { + const params_casted = value as (NativeXComponentParameters) + this.getPeer()?.setXComponentOptions3Attribute(params_casted) + return this + } throw new Error("Can not select appropriate overload") } return this @@ -439,6 +475,24 @@ export class ArkXComponentComponent extends ArkCommonMethodComponent implements return this } /** @memo */ + public hdrBrightness(value: number): this { + if (this.checkPriority("hdrBrightness")) { + const value_casted = value as (number) + this.getPeer()?.hdrBrightnessAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableTransparentLayer(value: boolean): this { + if (this.checkPriority("enableTransparentLayer")) { + const value_casted = value as (boolean) + this.getPeer()?.enableTransparentLayerAttribute(value_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this @@ -454,7 +508,7 @@ export function ArkXComponent( style: ((attributes: UIXComponentAttribute) => void) | undefined, /** @memo */ content_: (() => void) | undefined, - value: Type_XComponentInterface_callable0_value | Type_XComponentInterface_callable1_value | XComponentOptions, + value: Type_XComponentInterface_callable0_value | Type_XComponentInterface_callable1_value | XComponentOptions | NativeXComponentParameters, ): void { const receiver = remember(() => { return new ArkXComponentComponent() diff --git a/arkoala-arkts/arkui/types/index-full.d.ts b/arkoala-arkts/arkui/types/index-full.d.ts index 34326cc573..2484f6aea0 100644 --- a/arkoala-arkts/arkui/types/index-full.d.ts +++ b/arkoala-arkts/arkui/types/index-full.d.ts @@ -1511,6 +1511,12 @@ declare interface ActionSheetOffset { dx: (number|string|Resource); dy: (number|string|Resource); } +declare interface LevelMode { + _LevelModeStub: string; +} +declare interface ImmersiveMode { + _ImmersiveModeStub: string; +} declare type Callback_DismissDialogAction_Void = ((parameter: DismissDialogAction) => void); declare interface ActionSheetOptions { title: (string|Resource); @@ -1527,6 +1533,8 @@ declare interface ActionSheetOptions { isModal?: boolean; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onWillDismiss?: ((parameter: DismissDialogAction) => void); transition?: TransitionEffect; cornerRadius?: (Dimension|BorderRadiuses|LocalizedBorderRadiuses); @@ -1538,6 +1546,14 @@ declare interface ActionSheetOptions { shadow?: (ShadowOptions|ShadowStyle); enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + onDidAppear?: (() => void); + onDidDisappear?: (() => void); + onWillAppear?: (() => void); + onWillDisappear?: (() => void); + levelMode?: LevelMode; + levelUniqueId?: number; + immersiveMode?: ImmersiveMode; + levelOrder?: LevelOrder; } declare class ActionSheet { static show(value: ActionSheetOptions): void; @@ -1584,6 +1600,9 @@ declare interface AlertDialogButtonOptions extends AlertDialogButtonBaseOptions declare interface TextStyle_alert_dialog { wordBreak?: WordBreak; } +declare interface LevelOrder { + _LevelOrderStub: string; +} declare interface AlertDialogParam { title?: ResourceStr; subtitle?: ResourceStr; @@ -1598,6 +1617,8 @@ declare interface AlertDialogParam { isModal?: boolean; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onWillDismiss?: ((parameter: DismissDialogAction) => void); transition?: TransitionEffect; cornerRadius?: (Dimension|BorderRadiuses|LocalizedBorderRadiuses); @@ -1610,6 +1631,14 @@ declare interface AlertDialogParam { textStyle?: TextStyle_alert_dialog; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + onDidAppear?: (() => void); + onDidDisappear?: (() => void); + onWillAppear?: (() => void); + onWillDisappear?: (() => void); + levelMode?: LevelMode; + levelUniqueId?: number; + immersiveMode?: ImmersiveMode; + levelOrder?: LevelOrder; } declare interface AlertDialogParamWithConfirm extends AlertDialogParam { confirm?: AlertDialogButtonBaseOptions; @@ -1798,6 +1827,8 @@ declare class ButtonAttribute extends CommonMethod { fontFamily(value: (string|Resource)): ButtonAttribute; contentModifier(value: ContentModifier): ButtonAttribute; labelStyle(value: LabelStyle): ButtonAttribute; + minFontScale(value: (number|Resource)): ButtonAttribute; + maxFontScale(value: (number|Resource)): ButtonAttribute; } declare interface CalendarDay { index: number; @@ -1919,6 +1950,9 @@ declare enum CalendarAlign { declare interface CalendarOptions { hintRadius?: (number|Resource); selected?: Date; + start?: Date; + end?: Date; + disabledDateRange?: DateRange[]; } declare interface CalendarPickerInterface { (options?: CalendarOptions): CalendarPickerAttribute; @@ -1926,8 +1960,12 @@ declare interface CalendarPickerInterface { declare type Callback_Date_Void = ((parameter: Date) => void); declare class CalendarPickerAttribute extends CommonMethod { textStyle(value: PickerTextStyle): CalendarPickerAttribute; + textStyle(value: PickerTextStyle | undefined): CalendarPickerAttribute; onChange(value: ((parameter: Date) => void)): CalendarPickerAttribute; + onChange(value: ((parameter: Date) => void) | undefined): CalendarPickerAttribute; + markToday(value: boolean): CalendarPickerAttribute; edgeAlign(alignType: CalendarAlign, offset?: Offset): CalendarPickerAttribute; + edgeAlign(alignType: CalendarAlign | undefined, offset?: Offset): CalendarPickerAttribute; } declare interface CalendarDialogOptions extends CalendarOptions { onAccept?: ((parameter: Date) => void); @@ -1935,6 +1973,8 @@ declare interface CalendarDialogOptions extends CalendarOptions { onChange?: ((parameter: Date) => void); backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; acceptButtonStyle?: PickerDialogButtonStyle; cancelButtonStyle?: PickerDialogButtonStyle; onDidAppear?: VoidCallback; @@ -1944,6 +1984,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { shadow?: (ShadowOptions|ShadowStyle); enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + markToday?: boolean; } declare class CalendarPickerDialog { static show(options?: CalendarDialogOptions): void; @@ -1953,208 +1994,6 @@ declare interface RawFileDescriptor { offset: number; length: number; } -declare interface NavigationCommonTitle { - main: (string|Resource); - sub: (string|Resource); -} -declare interface NavigationCustomTitle { - builder: CustomBuilder; - height: (TitleHeight|Length); -} -declare enum NavigationMode { - STACK = 0, - Stack = 0, - SPLIT = 1, - Split = 1, - AUTO = 2, - Auto = 2, -} -declare enum NavBarPosition { - START = 0, - Start = 0, - END = 1, - End = 1, -} -declare enum NavigationTitleMode { - FREE = 0, - Free = 0, - FULL = 1, - Full = 1, - MINI = 2, - Mini = 2, -} -declare interface NavigationMenuItem { - value: (string|Resource); - icon?: (string|Resource); - symbolIcon?: SymbolGlyphModifier; - isEnabled?: boolean; - action?: (() => void); -} -declare interface PopInfo { - info: NavPathInfo; - result: Object; -} -declare class NavPathInfo { - constructor(name: string, param: unknown, onPop?: ((parameter: PopInfo) => void), isEntry?: boolean); - name: string; - param?: unknown; - onPop?: ((parameter: PopInfo) => void); - isEntry?: boolean; -} -declare enum LaunchMode { - STANDARD = 0, - MOVE_TO_TOP_SINGLETON = 1, - POP_TO_SINGLETON = 2, - NEW_INSTANCE = 3, -} -declare interface NavigationOptions { - launchMode?: LaunchMode; - animated?: boolean; -} -declare class NavPathStack { - constructor(); - pushPath(info: NavPathInfo, animated?: boolean): void; - pushPath(info: NavPathInfo, options?: NavigationOptions): void; - pushDestination(info: NavPathInfo, animated?: boolean): Promise; - pushDestination(info: NavPathInfo, options?: NavigationOptions): Promise; - pushPathByName(name: string, param: unknown, animated?: boolean): void; - pushPathByName(name: string, param: Object, onPop: ((parameter: PopInfo) => void), animated?: boolean): void; - pushDestinationByName(name: string, param: Object, animated?: boolean): Promise; - pushDestinationByName(name: string, param: Object, onPop: ((parameter: PopInfo) => void), animated?: boolean): Promise; - replacePath(info: NavPathInfo, animated?: boolean): void; - replacePath(info: NavPathInfo, options?: NavigationOptions): void; - replaceDestination(info: NavPathInfo, options?: NavigationOptions): Promise; - replacePathByName(name: string, param: Object, animated?: boolean): void; - removeByIndexes(indexes: number[]): number; - removeByName(name: string): number; - removeByNavDestinationId(navDestinationId: string): boolean; - pop(animated?: boolean): NavPathInfo | undefined; - pop(result: Object, animated?: boolean): NavPathInfo | undefined; - popToName(name: string, animated?: boolean): number; - popToName(name: string, result: Object, animated?: boolean): number; - popToIndex(index: number, animated?: boolean): void; - popToIndex(index: number, result: Object, animated?: boolean): void; - moveToTop(name: string, animated?: boolean): number; - moveIndexToTop(index: number, animated?: boolean): void; - clear(animated?: boolean): void; - getAllPathName(): string[]; - getParamByIndex(index: number): unknown | undefined; - getParamByName(name: string): unknown[]; - getIndexByName(name: string): number[]; - getParent(): NavPathStack | undefined; - size(): number; - disableAnimation(value: boolean): void; - setInterception(interception: NavigationInterception): void; -} -declare type NavBar = string; -declare type InterceptionShowCallback = ((from: (NavDestinationContext|NavBar), to: (NavDestinationContext|NavBar), operation: NavigationOperation, isAnimated: boolean) => void); -declare type InterceptionModeCallback = ((mode: NavigationMode) => void); -declare interface NavigationInterception { - willShow?: InterceptionShowCallback; - didShow?: InterceptionShowCallback; - modeChange?: InterceptionModeCallback; -} -declare interface NavigationInterface { - (): NavigationAttribute; - (pathInfos: NavPathStack): NavigationAttribute; -} -declare enum ToolbarItemStatus { - NORMAL = 0, - DISABLED = 1, - ACTIVE = 2, -} -declare enum NavigationOperation { - PUSH = 1, - POP = 2, - REPLACE = 3, -} -declare interface ToolbarItem { - value: ResourceStr; - icon?: ResourceStr; - symbolIcon?: SymbolGlyphModifier; - action?: (() => void); - status?: ToolbarItemStatus; - activeIcon?: ResourceStr; - activeSymbolIcon?: SymbolGlyphModifier; -} -declare interface NavigationTitleOptions { - backgroundColor?: ResourceColor; - backgroundBlurStyle?: BlurStyle; - barStyle?: BarStyle; - paddingStart?: LengthMetrics; - paddingEnd?: LengthMetrics; - mainTitleModifier?: TextModifier; - subTitleModifier?: TextModifier; - enableHoverMode?: boolean; -} -declare enum BarStyle { - STANDARD = 0, - STACK = 1, - SAFE_AREA_PADDING = 2, -} -declare interface NavigationToolbarOptions { - backgroundColor?: ResourceColor; - backgroundBlurStyle?: BlurStyle; - barStyle?: BarStyle; -} -declare type Tuple_Dimension_Dimension = [ Dimension, Dimension ] -declare type Callback_NavigationTitleMode_Void = ((titleMode: NavigationTitleMode) => void); -declare type Callback_Boolean_Void = ((isVisible: boolean) => void); -declare type Callback_NavigationMode_Void = ((mode: NavigationMode) => void); -declare type Callback_String_Unknown_Void = ((name: string, param: unknown) => void); -declare type Type_NavigationAttribute_customNavContentTransition_delegate = ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined); -declare class NavigationAttribute extends CommonMethod { - navBarWidth(value: Length): NavigationAttribute; - navBarPosition(value: NavBarPosition): NavigationAttribute; - navBarWidthRange(value: [ Dimension, Dimension ]): NavigationAttribute; - minContentWidth(value: Dimension): NavigationAttribute; - mode(value: NavigationMode): NavigationAttribute; - backButtonIcon(value: (string|PixelMap|Resource|SymbolGlyphModifier)): NavigationAttribute; - hideNavBar(value: boolean): NavigationAttribute; - subTitle(value: string): NavigationAttribute; - hideTitleBar(value: boolean): NavigationAttribute; - hideBackButton(value: boolean): NavigationAttribute; - titleMode(value: NavigationTitleMode): NavigationAttribute; - menus(value: (NavigationMenuItem[]|CustomBuilder)): NavigationAttribute; - toolBar(value: CustomBuilder): NavigationAttribute; - hideToolBar(value: boolean): NavigationAttribute; - onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void)): NavigationAttribute; - onNavBarStateChange(value: ((isVisible: boolean) => void)): NavigationAttribute; - onNavigationModeChange(value: ((mode: NavigationMode) => void)): NavigationAttribute; - navDestination(value: ((name: string, param: unknown) => void)): NavigationAttribute; - customNavContentTransition(value: ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined)): NavigationAttribute; - systemBarStyle(value: SystemBarStyle | undefined): NavigationAttribute; - recoverable(value: boolean | undefined): NavigationAttribute; - enableDragBar(value: boolean | undefined): NavigationAttribute; - title(value: (ResourceStr|CustomBuilder|NavigationCommonTitle|NavigationCustomTitle), options?: NavigationTitleOptions): NavigationAttribute; - hideTitleBar(hide: boolean, animated: boolean): NavigationAttribute; - toolbarConfiguration(value: (ToolbarItem[]|CustomBuilder), options?: NavigationToolbarOptions): NavigationAttribute; - hideToolBar(hide: boolean, animated: boolean): NavigationAttribute; - ignoreLayoutSafeArea(types?: LayoutSafeAreaType[], edges?: LayoutSafeAreaEdge[]): NavigationAttribute; -} -declare type Callback_NavigationTransitionProxy_Void = ((transitionProxy: NavigationTransitionProxy) => void); -declare interface NavigationAnimatedTransition { - onTransitionEnd?: ((isVisible: boolean) => void); - timeout?: number; - isInteractive?: boolean; - transition: ((transitionProxy: NavigationTransitionProxy) => void); -} -declare interface NavigationTransitionProxy { - from: NavContentInfo; - to: NavContentInfo; - isInteractive?: boolean; - finishTransition(): void; - cancelTransition?(): void; - updateTransition?(progress: number): void; -} -declare interface NavContentInfo { - name?: string; - index: number; - mode?: NavDestinationMode; - param?: Object; - navDestinationId?: string; -} -declare type Callback_PopInfo_Void = ((parameter: PopInfo) => void); declare interface ComponentOptions { freezeWhenInactive: boolean; } @@ -2177,6 +2016,10 @@ declare interface AnimatableArithmetic { equals(rhs: AnimatableArithmetic): boolean; } declare function getContext(component?: Object): Context; +declare type ReuseIdCallback = (() => string); +declare interface ReuseOptions { + reuseId?: ReuseIdCallback; +} declare function postCardAction(component: Object, action: Object): void; declare interface Configuration { readonly colorMode: string; @@ -2195,6 +2038,138 @@ declare interface ExpectedFrameRateRange { } declare function $r(value: string, ...params: any[][]): Resource; declare function $rawfile(value: string): Resource; +declare enum AccessibilitySamePageMode { + SEMI_SILENT = 0, + FULL_SILENT = 1, +} +declare enum AccessibilityRoleType { + ACTION_SHEET = 0, + ALERT_DIALOG = 1, + INDEXER_COMPONENT = 2, + BADGE_COMPONENT = 3, + BLANK = 4, + BUTTON = 5, + BACK_BUTTON = 6, + SHEET_DRAG_BAR = 7, + CALENDAR_PICKER = 8, + CALENDAR = 9, + CANVAS = 10, + CANVAS_GRADIENT = 11, + CANVAS_PATTERN = 12, + CHECKBOX = 13, + CHECKBOX_GROUP = 14, + CIRCLE = 15, + COLUMN_SPLIT = 16, + COLUMN = 17, + CANVAS_RENDERING_CONTEXT_2D = 18, + CHART = 19, + COUNTER = 20, + CONTAINER_MODAL = 21, + DATA_PANEL = 22, + DATE_PICKER = 23, + DIALOG = 24, + DIVIDER = 25, + DRAG_BAR = 26, + EFFECT_COMPONENT = 27, + ELLIPSE = 28, + FLEX = 29, + FLOW_ITEM = 30, + FORM_COMPONENT = 31, + FORM_LINK = 32, + GAUGE = 33, + GRID = 34, + GRID_COL = 35, + GRID_CONTAINER = 36, + GRID_ITEM = 37, + GRID_ROW = 38, + HYPERLINK = 39, + IMAGE = 40, + IMAGE_ANIMATOR = 41, + IMAGE_BITMAP = 42, + IMAGE_DATA = 43, + IMAGE_SPAN = 44, + LABEL = 45, + LINE = 46, + LIST = 47, + LIST_ITEM = 48, + LIST_ITEM_GROUP = 49, + LOADING_PROGRESS = 50, + MARQUEE = 51, + MATRIX2D = 52, + MENU = 53, + MENU_ITEM = 54, + MENU_ITEM_GROUP = 55, + NAV_DESTINATION = 56, + NAV_ROUTER = 57, + NAVIGATION = 58, + NAVIGATION_BAR = 59, + NAVIGATION_MENU = 60, + NAVIGATOR = 61, + OFFSCREEN_CANVAS = 62, + OFFSCREEN_CANVAS_RENDERING_CONTEXT2D = 63, + OPTION = 64, + PANEL = 65, + PAPER_PAGE = 66, + PATH = 67, + PATH2D = 68, + PATTERN_LOCK = 69, + PICKER = 70, + PICKER_VIEW = 71, + PLUGIN_COMPONENT = 72, + POLYGON = 73, + POLYLINE = 74, + POPUP = 75, + PROGRESS = 76, + QRCODE = 77, + RADIO = 78, + RATING = 79, + RECT = 80, + REFRESH = 81, + RELATIVE_CONTAINER = 82, + REMOTE_WINDOW = 83, + RICH_EDITOR = 84, + RICH_TEXT = 85, + ROLE_PAGER = 86, + ROW = 87, + ROW_SPLIT = 88, + SCROLL = 89, + SCROLL_BAR = 90, + SEARCH = 91, + SEARCH_FIELD = 92, + SELECT = 93, + SHAPE = 94, + SIDEBAR_CONTAINER = 95, + SLIDER = 96, + SPAN = 97, + STACK = 98, + STEPPER = 99, + STEPPER_ITEM = 100, + SWIPER = 101, + SWIPER_INDICATOR = 102, + SWITCH = 103, + SYMBOL_GLYPH = 104, + TAB_CONTENT = 105, + TAB_BAR = 106, + TABS = 107, + TEXT = 108, + TEXT_CLOCK = 109, + TEXT_ENTRY = 110, + TEXT_INPUT = 111, + TEXT_PICKER = 112, + TEXT_TIMER = 113, + TEXT_AREA = 114, + TEXT_FIELD = 115, + TIME_PICKER = 116, + TITLE_BAR = 117, + TOGGLER = 118, + UI_EXTENSION_COMPONENT = 119, + VIDEO = 120, + WATER_FLOW = 121, + WEB = 122, + XCOMPONENT = 123, + ROLE_NONE = 124, +} +declare type AccessibilityFocusCallback = ((isFocus: boolean) => void); declare enum FinishCallbackType { REMOVED = 0, LOGICALLY = 1, @@ -2236,6 +2211,28 @@ declare interface GeometryTransitionOptions { follow?: boolean; hierarchyStrategy?: TransitionHierarchyStrategy; } +declare type Tuple_ResourceColor_Number = [ ResourceColor, number ] +declare interface LinearGradientOptions { + angle?: (number|string); + direction?: GradientDirection; + colors: [ ResourceColor, number ][]; + repeating?: boolean; +} +declare type Tuple_Length_Length = [ Length, Length ] +declare interface SweepGradientOptions { + center: [ Length, Length ]; + start?: (number|string); + end?: (number|string); + rotation?: (number|string); + colors: [ ResourceColor, number ][]; + repeating?: boolean; +} +declare interface RadialGradientOptions { + center: [ Length, Length ]; + radius: Length; + colors: [ ResourceColor, number ][]; + repeating?: boolean; +} declare enum TransitionHierarchyStrategy { NONE = 0, ADAPTIVE = 1, @@ -2358,6 +2355,7 @@ declare enum PreDragStatus { PREVIEW_LANDING_STARTED = 4, PREVIEW_LANDING_FINISHED = 5, ACTION_CANCELED_BEFORE_DRAG = 6, + PREPARING_FOR_DRAG_DETECTION = 7, } declare interface DragItemInfo { pixelMap?: PixelMap; @@ -2383,6 +2381,7 @@ declare namespace cursorControl { } declare interface EventTarget { area: Area; + id?: string; } declare enum SourceType { UNKNOWN = 0, @@ -2459,6 +2458,9 @@ declare interface ForegroundBlurStyleOptions extends BlurStyleOptions { declare interface BlurOptions { grayscale: [ number, number ]; } +declare interface SystemAdaptiveOptions { + disableSystemAdaptation?: boolean; +} declare interface BlurStyleOptions { colorMode?: ThemeColorMode; adaptiveColor?: AdaptiveColor; @@ -2552,8 +2554,10 @@ declare interface BaseEvent { pressure: number; tiltX: number; tiltY: number; + rollAngle?: number; sourceTool: SourceTool; deviceId?: number; + targetDisplayId?: number; getModifierKeyState?(keys: string[]): boolean; } declare interface BorderImageOption { @@ -2564,6 +2568,9 @@ declare interface BorderImageOption { outset?: (Length|EdgeWidths|LocalizedEdgeWidths); fill?: boolean; } +declare class LayoutPolicy { + static readonly matchParent: LayoutPolicy; +} declare interface ClickEvent extends BaseEvent { displayX: number; displayY: number; @@ -2573,9 +2580,16 @@ declare interface ClickEvent extends BaseEvent { screenY: number; x: number; y: number; + hand?: InteractionHand; preventDefault: (() => void); } declare interface HoverEvent extends BaseEvent { + x?: number; + y?: number; + windowX?: number; + windowY?: number; + displayX?: number; + displayY?: number; stopPropagation: (() => void); } declare interface MouseEvent extends BaseEvent { @@ -2590,6 +2604,9 @@ declare interface MouseEvent extends BaseEvent { x: number; y: number; stopPropagation: (() => void); + rawDeltaX?: number; + rawDeltaY?: number; + pressedButtons?: MouseButton[]; } declare interface AccessibilityHoverEvent extends BaseEvent { type: AccessibilityHoverType; @@ -2611,6 +2628,11 @@ declare interface TouchObject { screenY: number; x: number; y: number; + hand?: InteractionHand; + pressedTime?: number; + pressure?: number; + width?: number; + height?: number; } declare interface HistoricalPoint { touchObject: TouchObject; @@ -2626,6 +2648,19 @@ declare interface TouchEvent extends BaseEvent { preventDefault: (() => void); getHistoricalPoints(): HistoricalPoint[]; } +declare interface AxisEvent extends BaseEvent { + action: AxisAction; + displayX: number; + displayY: number; + windowX: number; + windowY: number; + x: number; + y: number; + scrollStep?: number; + propagation: (() => void); + getHorizontalAxisValue(): number; + getVerticalAxisValue(): number; +} declare type SizeChangeCallback = ((oldValue: SizeOptions, newValue: SizeOptions) => void); declare type GestureRecognizerJudgeBeginCallback = ((event: BaseGestureEvent, current: GestureRecognizer, recognizers: GestureRecognizer[]) => GestureJudgeResult); declare type ShouldBuiltInRecognizerParallelWithCallback = ((current: GestureRecognizer, others: GestureRecognizer[]) => GestureRecognizer); @@ -2637,6 +2672,9 @@ declare enum DragBehavior { COPY = 0, MOVE = 1, } +declare interface DataSyncOptions { + _DataSyncOptionsStub: string; +} declare enum DragResult { DRAG_SUCCESSFUL = 0, DRAG_FAILED = 1, @@ -2667,6 +2705,12 @@ declare interface DragEvent { getVelocityY(): number; getVelocity(): number; getModifierKeyState?(keys: string[]): boolean; + executeDropAnimation(customDropAnimation: (() => void)): void; + startDataLoading(options: DataSyncOptions): string; +} +declare type OnDragEventCallback = ((event: DragEvent, extraParams?: string) => void); +declare interface DropOptions { + disableDataPrefetch?: boolean; } declare interface KeyEvent { type: KeyType; @@ -2681,6 +2725,17 @@ declare interface KeyEvent { unicode?: number; getModifierKeyState?(keys: string[]): boolean; } +declare interface FocusAxisEvent extends BaseEvent { + axisMap: Map; + stopPropagation: (() => void); +} +declare interface CrownEvent { + timestamp: number; + angularVelocity: number; + degree: number; + action: CrownAction; + stopPropagation: (() => void); +} declare interface BindOptions { backgroundColor?: ResourceColor; onAppear?: (() => void); @@ -2762,6 +2817,15 @@ declare interface SheetOptions extends BindOptions { onTypeDidChange?: ((parameter: SheetType) => void); uiContext?: UIContext; keyboardAvoidMode?: SheetKeyboardAvoidMode; + enableHoverMode?: boolean; + hoverModeArea?: HoverModeAreaType; + offset?: Position; + effectEdge?: number; + radius?: (LengthMetrics|BorderRadiuses|LocalizedBorderRadiuses); + detentSelection?: (SheetSize|Length); + showInSubWindow?: boolean; + placement?: Placement; + placementOnTarget?: boolean; } declare interface StateStyles { normal?: any; @@ -2785,11 +2849,52 @@ declare interface DismissPopupAction { dismiss: (() => void); reason: DismissReason; } +declare interface PopupStateChangeParam { + isVisible: boolean; +} +declare type PopupStateChangeCallback = ((event: PopupStateChangeParam) => void); +declare interface PopupMaskType { + color: ResourceColor; +} +declare type Callback_DismissPopupAction_Void = ((parameter: DismissPopupAction) => void); +declare interface PopupCommonOptions { + placement?: Placement; + popupColor?: ResourceColor; + enableArrow?: boolean; + autoCancel?: boolean; + onStateChange?: PopupStateChangeCallback; + arrowOffset?: Length; + showInSubWindow?: boolean; + mask?: (boolean|PopupMaskType); + targetSpace?: Length; + offset?: Position; + width?: Dimension; + arrowPointPosition?: ArrowPointPosition; + arrowWidth?: Dimension; + arrowHeight?: Dimension; + radius?: Dimension; + shadow?: (ShadowOptions|ShadowStyle); + backgroundBlurStyle?: BlurStyle; + focusable?: boolean; + transition?: TransitionEffect; + onWillDismiss?: (boolean|((parameter: DismissPopupAction) => void)); + enableHoverMode?: boolean; + followTransformOfTarget?: boolean; +} +declare interface TipsOptions { + appearingTime?: number; + disappearingTime?: number; + appearingTimeWithContinuousOperation?: number; + disappearingTimeWithContinuousOperation?: number; + enableArrow?: boolean; + arrowPointPosition?: ArrowPointPosition; + arrowWidth?: Dimension; + arrowHeight?: Dimension; +} declare type Literal_String_value_Callback_Void_action = { value: string, action: (() => void) } declare type Literal_Boolean_isVisible = { isVisible: boolean } declare type Callback_Literal_Boolean_isVisible_Void = ((event: { isVisible: boolean }) => void); declare type Literal_ResourceColor_color = { color: ResourceColor } -declare type Callback_DismissPopupAction_Void = ((parameter: DismissPopupAction) => void); declare interface PopupOptions { message: string; placementOnTop?: boolean; @@ -2817,6 +2922,7 @@ declare interface PopupOptions { onWillDismiss?: (boolean|((parameter: DismissPopupAction) => void)); enableHoverMode?: boolean; followTransformOfTarget?: boolean; + keyboardAvoidMode?: KeyboardAvoidMode; } declare interface CustomPopupOptions { builder: CustomBuilder; @@ -2843,6 +2949,7 @@ declare interface CustomPopupOptions { onWillDismiss?: (boolean|((parameter: DismissPopupAction) => void)); enableHoverMode?: boolean; followTransformOfTarget?: boolean; + keyboardAvoidMode?: KeyboardAvoidMode; } declare enum MenuPreviewMode { NONE = 0, @@ -2855,12 +2962,19 @@ declare interface ContextMenuAnimationOptions { transition?: TransitionEffect; hoverScale?: [ number, number ]; } +declare type BorderRadiusType = (Length|BorderRadiuses|LocalizedBorderRadiuses); +declare enum HapticFeedbackMode { + DISABLED = 0, + ENABLED = 1, + AUTO = 2, +} declare interface ContextMenuOptions { offset?: Position; placement?: Placement; enableArrow?: boolean; arrowOffset?: Length; preview?: (MenuPreviewMode|CustomBuilder); + previewBorderRadius?: BorderRadiusType; borderRadius?: (Length|BorderRadiuses|LocalizedBorderRadiuses); onAppear?: (() => void); onDisappear?: (() => void); @@ -2870,8 +2984,13 @@ declare interface ContextMenuOptions { previewAnimationOptions?: ContextMenuAnimationOptions; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; transition?: TransitionEffect; enableHoverMode?: boolean; + outlineColor?: (ResourceColor|EdgeColors); + outlineWidth?: (Dimension|EdgeOutlineWidths); + hapticFeedbackMode?: HapticFeedbackMode; } declare interface MenuOptions extends ContextMenuOptions { title?: ResourceStr; @@ -2938,6 +3057,14 @@ declare enum DragPreviewMode { DISABLE_SCALE = 2, ENABLE_DEFAULT_SHADOW = 3, ENABLE_DEFAULT_RADIUS = 4, + ENABLE_DRAG_ITEM_GRAY_EFFECT = 5, + ENABLE_MULTI_TILE_EFFECT = 6, + ENABLE_TOUCH_POINT_CALCULATION_BASED_ON_FINAL_PREVIEW = 7, +} +declare enum DraggingSizeChangeEffect { + DEFAULT = 0, + SIZE_TRANSITION = 1, + SIZE_CONTENT_TRANSITION = 2, } declare enum MenuPolicy { DEFAULT = 0, @@ -2948,10 +3075,18 @@ declare interface DragPreviewOptions { mode?: (DragPreviewMode|DragPreviewMode[]); modifier?: ImageModifier; numberBadge?: (boolean|number); + sizeChangeEffect?: DraggingSizeChangeEffect; } declare interface DragInteractionOptions { isMultiSelectionEnabled?: boolean; defaultAnimationBeforeLifting?: boolean; + enableEdgeAutoScroll?: boolean; + enableHapticFeedback?: boolean; + isLiftingDisabled?: boolean; +} +declare interface PreviewConfiguration { + onlyForLifting?: boolean; + delayCreating?: boolean; } declare interface InvertOptions { low: number; @@ -2960,31 +3095,37 @@ declare interface InvertOptions { thresholdRange: number; } declare type Optional = T | undefined; +declare type TipsMessageType = (ResourceStr|StyledString); +declare interface BackgroundImageOptions { + syncLoad?: boolean; + repeat?: ImageRepeat; +} declare type Callback_Array_TouchTestInfo_TouchResult = ((value: TouchTestInfo[]) => TouchResult); declare type Callback_ClickEvent_Void = ((event: ClickEvent) => void); declare type Callback_Boolean_HoverEvent_Void = ((isHover: boolean, event: HoverEvent) => void); +declare type Callback_HoverEvent_Void = ((parameter: HoverEvent) => void); declare type Callback_MouseEvent_Void = ((event: MouseEvent) => void); declare type Callback_TouchEvent_Void = ((event: TouchEvent) => void); declare type Callback_KeyEvent_Void = ((event: KeyEvent) => void); declare type Callback_KeyEvent_Boolean = ((parameter: KeyEvent) => boolean); +declare type Callback_CrownEvent_Void = ((parameter: CrownEvent) => void); +declare type Callback_FocusAxisEvent_Void = ((parameter: FocusAxisEvent) => void); +declare type Callback_AxisEvent_Void = ((parameter: AxisEvent) => void); declare type Callback_Area_Area_Void = ((oldValue: Area, newValue: Area) => void); declare type Literal_Number_offset_span = { span: number, offset: number } declare type Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs = { xs?: (number|{ span: number, offset: number }), sm?: (number|{ span: number, offset: number }), md?: (number|{ span: number, offset: number }), lg?: (number|{ span: number, offset: number }) } declare type Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo = ((event: DragEvent, extraParams?: string) => (CustomBuilder|DragItemInfo)); declare type Callback_DragEvent_String_Void = ((event: DragEvent, extraParams?: string) => void); declare type Callback_PreDragStatus_Void = ((parameter: PreDragStatus) => void); -declare type Tuple_ResourceColor_Number = [ ResourceColor, number ] -declare type Type_CommonMethod_linearGradient_value = { angle?: (number|string), direction?: GradientDirection, colors: [ ResourceColor, number ][], repeating?: boolean } -declare type Tuple_Length_Length = [ Length, Length ] -declare type Type_CommonMethod_sweepGradient_value = { center: [ Length, Length ], start?: (number|string), end?: (number|string), rotation?: (number|string), colors: [ ResourceColor, number ][], repeating?: boolean } -declare type Type_CommonMethod_radialGradient_value = { center: [ Length, Length ], radius: (number|string), colors: [ ResourceColor, number ][], repeating?: boolean } declare type Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult = ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult); declare type Callback_TouchEvent_HitTestMode = ((parameter: TouchEvent) => HitTestMode); declare type Literal_Alignment_align = { align?: Alignment } declare class CommonMethod { constructor(); width(value: Length): T; + width(value: (Length|LayoutPolicy)): T; height(value: Length): T; + height(value: (Length|LayoutPolicy)): T; drawModifier(value: DrawModifier | undefined): T; responseRegion(value: (Rectangle[]|Rectangle)): T; mouseResponseRegion(value: (Rectangle[]|Rectangle)): T; @@ -2999,6 +3140,7 @@ declare class CommonMethod { safeAreaPadding(value: (Padding|LengthMetrics|LocalizedPadding)): T; margin(value: (Padding|Length|LocalizedPadding)): T; backgroundColor(value: ResourceColor): T; + backgroundColor(value: ResourceColor | undefined): T; pixelRound(value: PixelRoundPolicy): T; backgroundImageSize(value: (SizeOptions|ImageSize)): T; backgroundImagePosition(value: (Position|Alignment)): T; @@ -3010,6 +3152,7 @@ declare class CommonMethod { foregroundFilter(value: Filter): T; compositingFilter(value: Filter): T; opacity(value: (number|Resource)): T; + opacity(value: (number|Resource) | undefined): T; border(value: BorderOptions): T; borderStyle(value: (BorderStyle|EdgeStyles)): T; borderWidth(value: (Length|EdgeWidths|LocalizedEdgeWidths)): T; @@ -3017,20 +3160,34 @@ declare class CommonMethod { borderRadius(value: (Length|BorderRadiuses|LocalizedBorderRadiuses)): T; borderImage(value: BorderImageOption): T; outline(value: OutlineOptions): T; + outline(value: OutlineOptions | undefined): T; outlineStyle(value: (OutlineStyle|EdgeOutlineStyles)): T; + outlineStyle(value: (OutlineStyle|EdgeOutlineStyles) | undefined): T; outlineWidth(value: (Dimension|EdgeOutlineWidths)): T; + outlineWidth(value: (Dimension|EdgeOutlineWidths) | undefined): T; outlineColor(value: (ResourceColor|EdgeColors|LocalizedEdgeColors)): T; + outlineColor(value: (ResourceColor|EdgeColors|LocalizedEdgeColors) | undefined): T; outlineRadius(value: (Dimension|OutlineRadiuses)): T; + outlineRadius(value: (Dimension|OutlineRadiuses) | undefined): T; foregroundColor(value: (ResourceColor|ColoringStrategy)): T; + foregroundColor(value: (ResourceColor|ColoringStrategy) | undefined): T; onClick(value: ((event: ClickEvent) => void)): T; onHover(value: ((isHover: boolean, event: HoverEvent) => void)): T; + onHoverMove(value: ((parameter: HoverEvent) => void)): T; onAccessibilityHover(value: AccessibilityCallback): T; hoverEffect(value: HoverEffect): T; onMouse(value: ((event: MouseEvent) => void)): T; onTouch(value: ((event: TouchEvent) => void)): T; onKeyEvent(value: ((event: KeyEvent) => void)): T; + onKeyEvent(value: ((parameter: KeyEvent) => boolean)): T; + onDigitalCrown(value: ((parameter: CrownEvent) => void) | undefined): T; onKeyPreIme(value: ((parameter: KeyEvent) => boolean)): T; + onKeyEventDispatch(value: ((parameter: KeyEvent) => boolean)): T; + onFocusAxisEvent(value: ((parameter: FocusAxisEvent) => void)): T; + onAxisEvent(value: ((parameter: AxisEvent) => void)): T; focusable(value: boolean): T; + nextFocus(value: FocusMovement | undefined): T; + tabStop(value: boolean): T; onFocus(value: (() => void)): T; onBlur(value: (() => void)): T; tabIndex(value: number): T; @@ -3041,24 +3198,40 @@ declare class CommonMethod { animation(value: AnimateParam): T; transition(value: (TransitionOptions|TransitionEffect)): T; motionBlur(value: MotionBlurOptions): T; + motionBlur(value: MotionBlurOptions | undefined): T; brightness(value: number): T; + brightness(value: number | undefined): T; contrast(value: number): T; + contrast(value: number | undefined): T; grayscale(value: number): T; + grayscale(value: number | undefined): T; colorBlend(value: (Color|string|Resource)): T; + colorBlend(value: (Color|string|Resource) | undefined): T; saturate(value: number): T; + saturate(value: number | undefined): T; sepia(value: number): T; + sepia(value: number | undefined): T; invert(value: (number|InvertOptions)): T; + invert(value: (number|InvertOptions) | undefined): T; hueRotate(value: (number|string)): T; + hueRotate(value: (number|string) | undefined): T; useShadowBatching(value: boolean): T; + useShadowBatching(value: boolean | undefined): T; useEffect(value: boolean): T; renderGroup(value: boolean): T; + renderGroup(value: boolean | undefined): T; freeze(value: boolean): T; + freeze(value: boolean | undefined): T; translate(value: TranslateOptions): T; + translate(value: TranslateOptions | undefined): T; scale(value: ScaleOptions): T; + scale(value: ScaleOptions | undefined): T; gridSpan(value: number): T; gridOffset(value: number): T; rotate(value: RotateOptions): T; + rotate(value: RotateOptions | undefined): T; transform(value: TransformationMatrix): T; + transform(value: Object | undefined): T; onAppear(value: (() => void)): T; onDisAppear(value: (() => void)): T; onAttach(value: (() => void)): T; @@ -3082,6 +3255,7 @@ declare class CommonMethod { alignRules(value: LocalizedAlignRuleOptions): T; aspectRatio(value: number): T; clickEffect(value: ClickEffect | undefined): T; + clickEffect(value: ClickEffect | undefined): T; onDragStart(value: ((event: DragEvent, extraParams?: string) => (CustomBuilder|DragItemInfo))): T; onDragEnter(value: ((event: DragEvent, extraParams?: string) => void)): T; onDragMove(value: ((event: DragEvent, extraParams?: string) => void)): T; @@ -3092,28 +3266,45 @@ declare class CommonMethod { draggable(value: boolean): T; dragPreview(value: (CustomBuilder|DragItemInfo|string)): T; onPreDrag(value: ((parameter: PreDragStatus) => void)): T; - linearGradient(value: { angle?: (number|string), direction?: GradientDirection, colors: [ ResourceColor, number ][], repeating?: boolean }): T; - sweepGradient(value: { center: [ Length, Length ], start?: (number|string), end?: (number|string), rotation?: (number|string), colors: [ ResourceColor, number ][], repeating?: boolean }): T; - radialGradient(value: { center: [ Length, Length ], radius: (number|string), colors: [ ResourceColor, number ][], repeating?: boolean }): T; + linearGradient(value: LinearGradientOptions): T; + linearGradient(value: LinearGradientOptions | undefined): T; + sweepGradient(value: SweepGradientOptions): T; + sweepGradient(value: SweepGradientOptions | undefined): T; + radialGradient(value: RadialGradientOptions): T; + radialGradient(value: RadialGradientOptions | undefined): T; motionPath(value: MotionPathOptions): T; shadow(value: (ShadowOptions|ShadowStyle)): T; + shadow(value: (ShadowOptions|ShadowStyle) | undefined): T; + clip(value: boolean | undefined): T; clip(value: boolean | undefined): T; clip(value: boolean | undefined): T; clipShape(value: (CircleShape|EllipseShape|PathShape|RectShape)): T; + clipShape(value: (CircleShape|EllipseShape|PathShape|RectShape) | undefined): T; + mask(value: ProgressMask | undefined): T; mask(value: ProgressMask | undefined): T; mask(value: ProgressMask | undefined): T; maskShape(value: (CircleShape|EllipseShape|PathShape|RectShape)): T; + maskShape(value: (CircleShape|EllipseShape|PathShape|RectShape) | undefined): T; key(value: string): T; id(value: string): T; geometryTransition(value: string): T; stateStyles(value: StateStyles): T; restoreId(value: number): T; sphericalEffect(value: number): T; + sphericalEffect(value: number | undefined): T; lightUpEffect(value: number): T; + lightUpEffect(value: number | undefined): T; pixelStretchEffect(value: PixelStretchEffectOptions): T; + pixelStretchEffect(value: PixelStretchEffectOptions | undefined): T; accessibilityGroup(value: boolean): T; accessibilityText(value: string): T; + accessibilityNextFocusId(value: string): T; + accessibilityDefaultFocus(value: boolean): T; + accessibilityUseSamePage(value: AccessibilitySamePageMode): T; + accessibilityScrollTriggerable(value: boolean): T; accessibilityText(value: Resource): T; + accessibilityRole(value: AccessibilityRoleType): T; + onAccessibilityFocus(value: AccessibilityFocusCallback): T; accessibilityTextHint(value: string): T; accessibilityDescription(value: string): T; accessibilityDescription(value: Resource): T; @@ -3123,21 +3314,29 @@ declare class CommonMethod { accessibilitySelected(value: boolean): T; obscured(value: ObscuredReasons[]): T; reuseId(value: string): T; + reuse(value: ReuseOptions): T; renderFit(value: RenderFit): T; + renderFit(value: RenderFit | undefined): T; gestureModifier(value: GestureModifier): T; backgroundBrightness(value: BackgroundBrightnessOptions): T; + backgroundBrightness(value: BackgroundBrightnessOptions | undefined): T; onGestureJudgeBegin(value: ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult)): T; onGestureRecognizerJudgeBegin(value: GestureRecognizerJudgeBeginCallback): T; shouldBuiltInRecognizerParallelWith(value: ShouldBuiltInRecognizerParallelWithCallback): T; monopolizeEvents(value: boolean): T; onTouchIntercept(value: ((parameter: TouchEvent) => HitTestMode)): T; onSizeChange(value: SizeChangeCallback): T; + accessibilityFocusDrawLevel(value: FocusDrawLevel): T; customProperty(name: string, value: Object | undefined): T; expandSafeArea(types?: SafeAreaType[], edges?: SafeAreaEdge[]): T; background(builder: CustomBuilder, options?: { align?: Alignment }): T; backgroundImage(src: (ResourceStr|PixelMap), repeat?: ImageRepeat): T; + backgroundImage(src: (ResourceStr|PixelMap), options?: BackgroundImageOptions): T; backgroundBlurStyle(value: BlurStyle, options?: BackgroundBlurStyleOptions): T; + backgroundBlurStyle(style: BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): T; + backgroundEffect(options: BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): T; foregroundBlurStyle(value: BlurStyle, options?: ForegroundBlurStyleOptions): T; + foregroundBlurStyle(style: BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): T; onClick(event: ((event: ClickEvent) => void), distanceThreshold: number): T; focusScopeId(id: string, isGroup?: boolean): T; focusScopeId(id: string, isGroup?: boolean, arrowStepOut?: boolean): T; @@ -3147,26 +3346,35 @@ declare class CommonMethod { priorityGesture(gesture: GestureType, mask?: GestureMask): T; parallelGesture(gesture: GestureType, mask?: GestureMask): T; blur(value: number, options?: BlurOptions): T; + blur(blurRadius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): T; linearGradientBlur(value: number, options: LinearGradientBlurOptions): T; + linearGradientBlur(blurRadius: number | undefined, options: LinearGradientBlurOptions | undefined): T; systemBarEffect(): T; useEffect(useEffect: boolean, effectType: EffectType): T; + useEffect(useEffect: boolean | undefined, effectType?: EffectType): T; backdropBlur(value: number, options?: BlurOptions): T; + backdropBlur(radius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): T; sharedTransition(id: string, options?: sharedTransitionOptions): T; chainMode(direction: Axis, style: ChainStyle): T; + onDrop(eventCallback: OnDragEventCallback, dropOptions?: DropOptions): T; + dragPreview(preview: (CustomBuilder|DragItemInfo|string), config?: PreviewConfiguration): T; dragPreviewOptions(value: DragPreviewOptions, options?: DragInteractionOptions): T; overlay(value: (string|CustomBuilder|ComponentContent), options?: OverlayOptions): T; blendMode(value: BlendMode, type?: BlendApplyType): T; + blendMode(mode: BlendMode | undefined, type?: BlendApplyType): T; advancedBlendMode(effect: (BlendMode|BrightnessBlender), type?: BlendApplyType): T; geometryTransition(id: string, options?: GeometryTransitionOptions): T; + bindTips(message: TipsMessageType, options?: TipsOptions): T; bindPopup(show: boolean, popup: (PopupOptions|CustomPopupOptions)): T; bindMenu(content: (MenuElement[]|CustomBuilder), options?: MenuOptions): T; bindMenu(isShow: boolean, content: (MenuElement[]|CustomBuilder), options?: MenuOptions): T; bindContextMenu(content: CustomBuilder, responseType: ResponseType, options?: ContextMenuOptions): T; bindContextMenu(isShown: boolean, content: CustomBuilder, options?: ContextMenuOptions): T; - bindContentCover(isShow: boolean | undefined, builder: CustomBuilder, type?: ModalTransition): T; - bindContentCover(isShow: boolean | undefined, builder: CustomBuilder, options?: ContentCoverOptions): T; - bindSheet(isShow: boolean | undefined, builder: CustomBuilder, options?: SheetOptions): T; + bindContentCover(isShow: boolean, builder: CustomBuilder, type?: ModalTransition): T; + bindContentCover(isShow: boolean, builder: CustomBuilder, options?: ContentCoverOptions): T; + bindSheet(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): T; onVisibleAreaChange(ratios: number[], event: VisibleAreaChangeCallback): T; + onVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void; keyboardShortcut(value: (string|FunctionKey), keys: ModifierKey[], action?: (() => void)): T; accessibilityGroup(isGroup: boolean, accessibilityOptions: AccessibilityOptions): T; onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback, exposeInnerGesture: boolean): T; @@ -3245,6 +3453,7 @@ declare interface Layoutable { stub: string; } declare interface Measurable { + uniqueId?: number; measure(constraint: ConstraintSizeOptions): MeasureResult; getMargin(): DirectionalEdgesT; getPadding(): DirectionalEdgesT; @@ -3268,17 +3477,25 @@ declare interface RouterPageInfo { declare interface Theme { _ThemeStub: string; } +declare interface PromptActionDialogController { + _PromptActionDialogControllerStub: string; +} declare type Literal_Empty = { } -declare class CustomComponent extends CommonAttribute { +declare class CustomComponent extends BaseCustomComponent { + aboutToReuse?(params: { }): void; + onLayout?(children: LayoutChild[], constraint: ConstraintSizeOptions): void; + onMeasure?(children: LayoutChild[], constraint: ConstraintSizeOptions): void; +} +declare class CustomComponentV2 extends BaseCustomComponent { + aboutToReuse?(): void; +} +declare class BaseCustomComponent extends CommonAttribute { build(): void; aboutToAppear?(): void; aboutToDisappear?(): void; - aboutToReuse?(params: { }): void; aboutToRecycle?(): void; onWillApplyTheme?(theme: Theme): void; - onLayout?(children: LayoutChild[], constraint: ConstraintSizeOptions): void; onPlaceChildren?(selfLayoutInfo: GeometryInfo, children: Layoutable[], constraint: ConstraintSizeOptions): void; - onMeasure?(children: LayoutChild[], constraint: ConstraintSizeOptions): void; onMeasureSize?(selfLayoutInfo: GeometryInfo, children: Measurable[], constraint: ConstraintSizeOptions): SizeResult; onPageShow?(): void; onPageHide?(): void; @@ -3289,9 +3506,12 @@ declare class CustomComponent extends CommonAttribute { getUIContext(): UIContext; getUniqueId(): number; queryNavDestinationInfo(): NavDestinationInfo | undefined; + queryNavDestinationInfo(isInner: boolean | undefined): NavDestinationInfo | undefined; queryNavigationInfo(): NavigationInfo | undefined; queryRouterPageInfo(): RouterPageInfo | undefined; onDidBuild?(): void; + getDialogController(): PromptActionDialogController | undefined; + onNewParam?(param: Object): void; } declare class View { create(value: number|bigint): number|bigint; @@ -3307,10 +3527,18 @@ declare interface CaretOffset { x: number; y: number; } +declare interface TextContentControllerOptions { + offset?: number; +} declare class TextContentControllerBase { getCaretOffset(): CaretOffset; getTextContentRect(): RectResult; getTextContentLineCount(): number; + addText(text: string, textOperationOptions?: TextContentControllerOptions): number; + deleteText(range?: TextRange): void; + getSelection(): TextRange; + clearPreviewText(): void; + getText(range?: TextRange): string; } declare enum ContentClipMode { CONTENT_ONLY = 0, @@ -3331,6 +3559,8 @@ declare class ScrollableCommonMethod extends CommonMethod { onScrollStop(value: (() => void)): T; flingSpeedLimit(value: number): T; clipContent(value: (ContentClipMode|RectShape)): T; + digitalCrownSensitivity(value: CrownSensitivity | undefined): T; + backToTop(value: boolean): T; edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): T; fadingEdge(enabled: boolean | undefined, options?: FadingEdgeOptions): T; } @@ -3342,11 +3572,23 @@ declare interface OnWillScrollCallback { } declare type OnScrollCallback = ((scrollOffset: number, scrollState: ScrollState) => void); declare type OnMoveHandler = ((from: number, to: number) => void); +declare interface ItemDragEventHandler { + onLongPress?: ((index: number) => void); + onDragStart?: ((index: number) => void); + onMoveThrough?: OnMoveHandler; + onDrop?: ((index: number) => void); +} declare class DynamicNode { onMove(handler: OnMoveHandler | undefined): T; + onMove(handler: OnMoveHandler | undefined, eventHandler: ItemDragEventHandler): T; } declare interface EdgeEffectOptions { alwaysEnabled: boolean; + effectEdge?: number; +} +declare enum EffectEdge { + START = 1, + END = 2, } declare class ChildrenMainSize { constructor(childDefaultSize: number); @@ -3374,6 +3616,7 @@ declare interface KeyframeAnimateParam { delay?: number; iterations?: number; onFinish?: (() => void); + expectedFrameRateRange?: ExpectedFrameRateRange; } declare interface KeyframeState { duration: number; @@ -3409,20 +3652,255 @@ declare interface UIGestureEvent { removeGestureByTag(tag: string): void; clearGestures(): void; } -declare interface GestureModifier { - applyGesture(event: UIGestureEvent): void; +declare interface GestureModifier { + applyGesture(event: UIGestureEvent): void; +} +declare interface SelectionOptions { + menuPolicy?: MenuPolicy; +} +declare interface FocusMovement { + forward?: string; + backward?: string; + up?: string; + down?: string; + left?: string; + right?: string; +} +declare enum KeyboardAvoidMode { + DEFAULT = 0, + NONE = 1, +} +declare enum HoverModeAreaType { + TOP_SCREEN = 0, + BOTTOM_SCREEN = 1, +} +declare interface DateRange { + start?: Date; + end?: Date; +} +declare interface NavigationCommonTitle { + main: (string|Resource); + sub: (string|Resource); +} +declare interface NavigationCustomTitle { + builder: CustomBuilder; + height: (TitleHeight|Length); +} +declare enum NavigationMode { + STACK = 0, + Stack = 0, + SPLIT = 1, + Split = 1, + AUTO = 2, + Auto = 2, +} +declare enum NavBarPosition { + START = 0, + Start = 0, + END = 1, + End = 1, +} +declare enum NavigationTitleMode { + FREE = 0, + Free = 0, + FULL = 1, + Full = 1, + MINI = 2, + Mini = 2, +} +declare interface NavigationMenuItem { + value: (string|Resource); + icon?: (string|Resource); + symbolIcon?: SymbolGlyphModifier; + isEnabled?: boolean; + action?: (() => void); +} +declare interface PopInfo { + info: NavPathInfo; + result: Object; +} +declare class NavPathInfo { + constructor(name: string, param: unknown, onPop?: ((parameter: PopInfo) => void), isEntry?: boolean); + name: string; + param?: Object | undefined; + onPop?: ((parameter: PopInfo) => void); + isEntry?: boolean; + navDestinationId?: string; +} +declare enum LaunchMode { + STANDARD = 0, + MOVE_TO_TOP_SINGLETON = 1, + POP_TO_SINGLETON = 2, + NEW_INSTANCE = 3, +} +declare interface NavigationOptions { + launchMode?: LaunchMode; + animated?: boolean; +} +declare class NavPathStack { + constructor(); + pushPath(info: NavPathInfo, animated?: boolean): void; + pushPath(info: NavPathInfo, options?: NavigationOptions): void; + pushDestination(info: NavPathInfo, animated?: boolean): Promise; + pushDestination(info: NavPathInfo, options?: NavigationOptions): Promise; + pushPathByName(name: string, param: Object | undefined, animated?: boolean): void; + pushPathByName(name: string, param: Object, onPop: ((parameter: PopInfo) => void), animated?: boolean): void; + pushDestinationByName(name: string, param: Object, animated?: boolean): Promise; + pushDestinationByName(name: string, param: Object, onPop: ((parameter: PopInfo) => void), animated?: boolean): Promise; + replacePath(info: NavPathInfo, animated?: boolean): void; + replacePath(info: NavPathInfo, options?: NavigationOptions): void; + replaceDestination(info: NavPathInfo, options?: NavigationOptions): Promise; + replacePathByName(name: string, param: Object, animated?: boolean): void; + removeByIndexes(indexes: number[]): number; + removeByName(name: string): number; + removeByNavDestinationId(navDestinationId: string): boolean; + pop(animated?: boolean): NavPathInfo | undefined; + pop(result: Object, animated?: boolean): NavPathInfo | undefined; + popToName(name: string, animated?: boolean): number; + popToName(name: string, result: Object, animated?: boolean): number; + popToIndex(index: number, animated?: boolean): void; + popToIndex(index: number, result: Object, animated?: boolean): void; + moveToTop(name: string, animated?: boolean): number; + moveIndexToTop(index: number, animated?: boolean): void; + clear(animated?: boolean): void; + getAllPathName(): string[]; + getParamByIndex(index: number): Object | undefined; + getParamByName(name: string): Object | undefined[]; + getIndexByName(name: string): number[]; + getParent(): NavPathStack | undefined; + size(): number; + disableAnimation(value: boolean): void; + setInterception(interception: NavigationInterception): void; + getPathStack(): NavPathInfo[]; + setPathStack(pathStack: NavPathInfo[], animated?: boolean): void; +} +declare type NavBar = string; +declare type InterceptionShowCallback = ((from: (NavDestinationContext|NavBar), to: (NavDestinationContext|NavBar), operation: NavigationOperation, isAnimated: boolean) => void); +declare type InterceptionModeCallback = ((mode: NavigationMode) => void); +declare interface NavigationInterception { + willShow?: InterceptionShowCallback; + didShow?: InterceptionShowCallback; + modeChange?: InterceptionModeCallback; +} +declare interface NavigationInterface { + (): NavigationAttribute; + (pathInfos: NavPathStack): NavigationAttribute; +} +declare enum ToolbarItemStatus { + NORMAL = 0, + DISABLED = 1, + ACTIVE = 2, +} +declare enum NavigationOperation { + PUSH = 1, + POP = 2, + REPLACE = 3, +} +declare interface ToolbarItem { + value: ResourceStr; + icon?: ResourceStr; + symbolIcon?: SymbolGlyphModifier; + action?: (() => void); + status?: ToolbarItemStatus; + activeIcon?: ResourceStr; + activeSymbolIcon?: SymbolGlyphModifier; +} +declare interface NavigationTitleOptions { + backgroundColor?: ResourceColor; + backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; + barStyle?: BarStyle; + paddingStart?: LengthMetrics; + paddingEnd?: LengthMetrics; + mainTitleModifier?: TextModifier; + subTitleModifier?: TextModifier; + enableHoverMode?: boolean; +} +declare enum BarStyle { + STANDARD = 0, + STACK = 1, + SAFE_AREA_PADDING = 2, +} +declare interface NavigationToolbarOptions { + backgroundColor?: ResourceColor; + backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; + moreButtonOptions?: MoreButtonOptions; + barStyle?: BarStyle; + hideItemValue?: boolean; +} +declare interface NavigationMenuOptions { + moreButtonOptions?: MoreButtonOptions; +} +declare interface MoreButtonOptions { + backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; } -declare interface SelectionOptions { - menuPolicy?: MenuPolicy; +declare type Tuple_Dimension_Dimension = [ Dimension, Dimension ] +declare type Callback_NavigationTitleMode_Void = ((titleMode: NavigationTitleMode) => void); +declare type Callback_Boolean_Void = ((isVisible: boolean) => void); +declare type Callback_NavigationMode_Void = ((mode: NavigationMode) => void); +declare type Callback_String_Opt_Object_Void = ((name: string, param: Object | undefined) => void); +declare type Type_NavigationAttribute_customNavContentTransition_delegate = ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined); +declare class NavigationAttribute extends CommonMethod { + navBarWidth(value: Length): NavigationAttribute; + navBarPosition(value: NavBarPosition): NavigationAttribute; + navBarWidthRange(value: [ Dimension, Dimension ]): NavigationAttribute; + minContentWidth(value: Dimension): NavigationAttribute; + mode(value: NavigationMode): NavigationAttribute; + backButtonIcon(value: (string|PixelMap|Resource|SymbolGlyphModifier)): NavigationAttribute; + hideNavBar(value: boolean): NavigationAttribute; + subTitle(value: string): NavigationAttribute; + hideTitleBar(value: boolean): NavigationAttribute; + hideBackButton(value: boolean): NavigationAttribute; + titleMode(value: NavigationTitleMode): NavigationAttribute; + menus(value: (NavigationMenuItem[]|CustomBuilder)): NavigationAttribute; + toolBar(value: CustomBuilder): NavigationAttribute; + hideToolBar(value: boolean): NavigationAttribute; + enableToolBarAdaptation(value: boolean | undefined): NavigationAttribute; + onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void)): NavigationAttribute; + onNavBarStateChange(value: ((isVisible: boolean) => void)): NavigationAttribute; + onNavigationModeChange(value: ((mode: NavigationMode) => void)): NavigationAttribute; + navDestination(value: ((name: string, param: Object | undefined) => void)): NavigationAttribute; + customNavContentTransition(value: ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined)): NavigationAttribute; + systemBarStyle(value: SystemBarStyle | undefined): NavigationAttribute; + recoverable(value: boolean | undefined): NavigationAttribute; + enableDragBar(value: boolean | undefined): NavigationAttribute; + enableModeChangeAnimation(value: boolean | undefined): NavigationAttribute; + backButtonIcon(icon: (string|PixelMap|Resource|SymbolGlyphModifier), accessibilityText?: ResourceStr): NavigationAttribute; + title(value: (ResourceStr|CustomBuilder|NavigationCommonTitle|NavigationCustomTitle), options?: NavigationTitleOptions): NavigationAttribute; + hideTitleBar(hide: boolean, animated: boolean): NavigationAttribute; + menus(items: (NavigationMenuItem[]|CustomBuilder), options?: NavigationMenuOptions): NavigationAttribute; + toolbarConfiguration(value: (ToolbarItem[]|CustomBuilder), options?: NavigationToolbarOptions): NavigationAttribute; + hideToolBar(hide: boolean, animated: boolean): NavigationAttribute; + ignoreLayoutSafeArea(types?: LayoutSafeAreaType[], edges?: LayoutSafeAreaEdge[]): NavigationAttribute; } -declare enum KeyboardAvoidMode { - DEFAULT = 0, - NONE = 1, +declare type Callback_NavigationTransitionProxy_Void = ((transitionProxy: NavigationTransitionProxy) => void); +declare interface NavigationAnimatedTransition { + onTransitionEnd?: ((isVisible: boolean) => void); + timeout?: number; + isInteractive?: boolean; + transition: ((transitionProxy: NavigationTransitionProxy) => void); } -declare enum HoverModeAreaType { - TOP_SCREEN = 0, - BOTTOM_SCREEN = 1, +declare interface NavigationTransitionProxy { + from: NavContentInfo; + to: NavContentInfo; + isInteractive?: boolean; + finishTransition(): void; + cancelTransition?(): void; + updateTransition?(progress: number): void; } +declare interface NavContentInfo { + name?: string; + index: number; + mode?: NavDestinationMode; + param?: Object; + navDestinationId?: string; +} +declare type Callback_PopInfo_Void = ((parameter: PopInfo) => void); declare type CanvasFillRule = string; declare type CanvasLineCap = string; declare type CanvasLineJoin = string; @@ -3492,6 +3970,7 @@ declare class RenderingContextSettings { antialias?: boolean; } declare class CanvasRenderer extends CanvasPath { + letterSpacing: (LengthMetrics|string); globalAlpha: number; globalCompositeOperation: string; fillStyle: (string|number|CanvasGradient|CanvasPattern); @@ -3614,12 +4093,19 @@ declare interface CheckboxInterface { declare type OnCheckboxChangeCallback = ((value: boolean) => void); declare class CheckboxAttribute extends CommonMethod { select(value: boolean): CheckboxAttribute; + select(value: boolean | undefined): CheckboxAttribute; selectedColor(value: ResourceColor): CheckboxAttribute; + selectedColor(value: ResourceColor | undefined): CheckboxAttribute; shape(value: CheckBoxShape): CheckboxAttribute; + shape(value: CheckBoxShape | undefined): CheckboxAttribute; unselectedColor(value: ResourceColor): CheckboxAttribute; + unselectedColor(value: ResourceColor | undefined): CheckboxAttribute; mark(value: MarkStyle): CheckboxAttribute; + mark(value: MarkStyle | undefined): CheckboxAttribute; onChange(value: OnCheckboxChangeCallback): CheckboxAttribute; + onChange(value: OnCheckboxChangeCallback | undefined): CheckboxAttribute; contentModifier(value: ContentModifier): CheckboxAttribute; + contentModifier(value: ContentModifier | undefined): CheckboxAttribute; _onChangeEvent_select(callback_: ((isVisible: boolean) => void)): void; } declare enum SelectStatus { @@ -3643,11 +4129,17 @@ declare interface CheckboxGroupInterface { declare type OnCheckboxGroupChangeCallback = ((value: CheckboxGroupResult) => void); declare class CheckboxGroupAttribute extends CommonMethod { selectAll(value: boolean): CheckboxGroupAttribute; + selectAll(value: boolean | undefined): CheckboxGroupAttribute; selectedColor(value: ResourceColor): CheckboxGroupAttribute; + selectedColor(value: ResourceColor | undefined): CheckboxGroupAttribute; unselectedColor(value: ResourceColor): CheckboxGroupAttribute; + unselectedColor(value: ResourceColor | undefined): CheckboxGroupAttribute; mark(value: MarkStyle): CheckboxGroupAttribute; + mark(value: MarkStyle | undefined): CheckboxGroupAttribute; onChange(value: OnCheckboxGroupChangeCallback): CheckboxGroupAttribute; + onChange(value: OnCheckboxGroupChangeCallback | undefined): CheckboxGroupAttribute; checkboxShape(value: CheckBoxShape): CheckboxGroupAttribute; + checkboxShape(value: CheckBoxShape | undefined): CheckboxGroupAttribute; _onChangeEvent_selectAll(callback_: ((isVisible: boolean) => void)): void; } declare interface CircleOptions { @@ -3660,11 +4152,16 @@ declare interface CircleInterface { } declare class CircleAttribute extends CommonShapeMethod { } +declare type SpaceType = (string|number|Resource); declare interface ColumnOptions { space?: (string|number); } +declare interface ColumnOptionsV2 { + stub: string; +} declare interface ColumnInterface { (options?: ColumnOptions): ColumnAttribute; + (options?: (ColumnOptions|ColumnOptionsV2)): ColumnAttribute; } declare class ColumnAttribute extends CommonMethod { alignItems(value: HorizontalAlign): ColumnAttribute; @@ -3880,9 +4377,21 @@ declare interface CustomDialogControllerOptions { borderStyle?: (BorderStyle|EdgeStyles); shadow?: (ShadowOptions|ShadowStyle); backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; keyboardAvoidMode?: KeyboardAvoidMode; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + onDidAppear?: (() => void); + onDidDisappear?: (() => void); + onWillAppear?: (() => void); + onWillDisappear?: (() => void); + keyboardAvoidDistance?: LengthMetrics; + levelMode?: LevelMode; + levelUniqueId?: number; + immersiveMode?: ImmersiveMode; + levelOrder?: LevelOrder; + focusable?: boolean; } declare class CustomDialogController { constructor(value: CustomDialogControllerOptions); @@ -3930,10 +4439,16 @@ declare interface DatePickerResult { month?: number; day?: number; } +declare enum DatePickerMode { + DATE = 0, + YEAR_AND_MONTH = 1, + MONTH_AND_DAY = 2, +} declare interface DatePickerOptions { start?: Date; end?: Date; selected?: Date; + mode?: DatePickerMode; } declare interface DatePickerInterface { (options?: DatePickerOptions): DatePickerAttribute; @@ -3941,11 +4456,18 @@ declare interface DatePickerInterface { declare type Callback_DatePickerResult_Void = ((value: DatePickerResult) => void); declare class DatePickerAttribute extends CommonMethod { lunar(value: boolean): DatePickerAttribute; + lunar(value: boolean | undefined): DatePickerAttribute; disappearTextStyle(value: PickerTextStyle): DatePickerAttribute; + disappearTextStyle(value: PickerTextStyle | undefined): DatePickerAttribute; textStyle(value: PickerTextStyle): DatePickerAttribute; + textStyle(value: PickerTextStyle | undefined): DatePickerAttribute; selectedTextStyle(value: PickerTextStyle): DatePickerAttribute; + selectedTextStyle(value: PickerTextStyle | undefined): DatePickerAttribute; onChange(value: ((value: DatePickerResult) => void)): DatePickerAttribute; onDateChange(value: ((parameter: Date) => void)): DatePickerAttribute; + onDateChange(value: ((parameter: Date) => void) | undefined): DatePickerAttribute; + digitalCrownSensitivity(value: CrownSensitivity | undefined): DatePickerAttribute; + enableHapticFeedback(value: boolean | undefined): DatePickerAttribute; _onChangeEvent_selected(callback_: ((parameter: Date) => void)): void; } declare interface LunarSwitchStyle { @@ -3974,6 +4496,8 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { onDateChange?: ((parameter: Date) => void); backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onDidAppear?: VoidCallback; onDidDisappear?: VoidCallback; onWillAppear?: VoidCallback; @@ -3982,6 +4506,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { dateTimeOptions?: DateTimeOptions; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + enableHapticFeedback?: boolean; } declare class DatePickerDialog { static show(options?: DatePickerDialogOptions): void; @@ -4079,6 +4604,7 @@ declare enum ImageFit { BOTTOM_START = 13, BOTTOM = 14, BOTTOM_END = 15, + MATRIX = 16, } declare enum BorderStyle { DOTTED = 0, @@ -4106,6 +4632,11 @@ declare enum TouchType { CANCEL = 3, Cancel = 3, } +declare enum InteractionHand { + NONE = 0, + LEFT = 1, + RIGHT = 2, +} declare enum MouseButton { LEFT = 0, Left = 0, @@ -4129,6 +4660,7 @@ declare enum MouseAction { Move = 2, HOVER = 3, Hover = 3, + CANCEL = 13, } declare enum AnimationStatus { INITIAL = 0, @@ -4199,6 +4731,7 @@ declare enum KeySource { Unknown = 0, KEYBOARD = 1, Keyboard = 1, + JOYSTICK = 2, } declare enum Edge { TOP = 0, @@ -4361,6 +4894,10 @@ declare enum PixelRoundCalcPolicy { FORCE_CEIL = 1, FORCE_FLOOR = 2, } +declare enum PixelRoundMode { + PIXEL_ROUND_ON_LAYOUT_FINISH = 0, + PIXEL_ROUND_AFTER_MEASURE = 1, +} declare enum FlexWrap { NO_WRAP = 0, NoWrap = 0, @@ -4627,17 +5164,13 @@ declare enum WordBreak { NORMAL = 0, BREAK_ALL = 1, BREAK_WORD = 2, + HYPHENATION = 3, } declare enum LineBreakStrategy { GREEDY = 0, HIGH_QUALITY = 1, BALANCED = 2, } -declare type Nullable = T | undefined; -declare enum OptionWidthMode { - FIT_CONTENT = "fit_content", - FIT_TRIGGER = "fit_trigger", -} declare enum IlluminatedType { NONE = 0, BORDER = 1, @@ -4646,6 +5179,11 @@ declare enum IlluminatedType { BLOOM_BORDER = 4, BLOOM_BORDER_CONTENT = 5, } +declare type Nullable = T | undefined; +declare enum OptionWidthMode { + FIT_CONTENT = "fit_content", + FIT_TRIGGER = "fit_trigger", +} declare enum FoldStatus { FOLD_STATUS_UNKNOWN = 0, FOLD_STATUS_EXPANDED = 1, @@ -4688,6 +5226,45 @@ declare enum HeightBreakpoint { HEIGHT_MD = 1, HEIGHT_LG = 2, } +declare enum AxisModel { + ABS_X = 0, + ABS_Y = 1, + ABS_Z = 2, + ABS_RZ = 3, + ABS_GAS = 4, + ABS_BRAKE = 5, + ABS_HAT0X = 6, + ABS_HAT0Y = 7, +} +declare enum PageFlipMode { + CONTINUOUS = 0, + SINGLE = 1, +} +declare enum CrownAction { + BEGIN = 0, + UPDATE = 1, + END = 2, +} +declare enum CrownSensitivity { + LOW = 0, + MEDIUM = 1, + HIGH = 2, +} +declare enum AxisAction { + NONE = 0, + BEGIN = 1, + UPDATE = 2, + END = 3, + CANCEL = 4, +} +declare enum FocusDrawLevel { + SELF = 0, + TOP = 1, +} +declare enum DividerMode { + FLOATING_ABOVE_MENU = 0, + EMBEDDED_IN_MENU = 1, +} declare interface FlexOptions { direction?: FlexDirection; wrap?: FlexWrap; @@ -4721,6 +5298,10 @@ declare enum FocusPriority { PRIOR = 2000, PREVIOUS = 3000, } +declare enum KeyProcessingMode { + FOCUS_NAVIGATION = 0, + ANCESTOR_EVENT = 1, +} declare interface FolderStackOptions { upperItems?: string[]; } @@ -4758,6 +5339,9 @@ declare enum FormDimension { Dimension_2_1 = 4, DIMENSION_1_1 = 6, DIMENSION_6_4 = 7, + DIMENSION_2_3 = 8, + DIMENSION_3_3 = 9, + DIMENSION_3_4 = 10, } declare enum FormRenderingMode { FULL_COLOR = 0, @@ -4918,6 +5502,7 @@ declare interface FingerInfo { localY: number; displayX: number; displayY: number; + hand?: InteractionHand; } declare type GestureType = (TapGestureInterface|LongPressGestureInterface|PanGestureInterface|PinchGestureInterface|SwipeGestureInterface|RotationGestureInterface|GestureGroupInterface); declare interface BaseGestureEvent extends BaseEvent { @@ -4965,7 +5550,10 @@ declare interface GestureInterface { tag(tag: string): T; allowedTypes(types: SourceTool[]): T; } -declare interface TapGestureParameters { +declare interface BaseHandlerOptions { + isFingerCountLimited?: boolean; +} +declare interface TapGestureParameters extends BaseHandlerOptions { count?: number; fingers?: number; distanceThreshold?: number; @@ -4980,7 +5568,9 @@ declare interface LongPressGestureInterface extends GestureInterface void)): LongPressGestureInterface; onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureInterface; onActionCancel(event: (() => void)): LongPressGestureInterface; + onActionCancel(event: ((event: GestureEvent) => void)): LongPressGestureInterface; (value?: { fingers?: number, repeat?: boolean, duration?: number }): LongPressGestureInterface; + (options?: LongPressGestureHandlerOptions): LongPressGestureInterface; } declare type Literal_Number_distance_fingers_PanDirection_direction = { fingers?: number, direction?: PanDirection, distance?: number } declare class PanGestureOptions { @@ -4989,18 +5579,22 @@ declare class PanGestureOptions { setDistance(value: number): void; setFingers(value: number): void; getDirection(): PanDirection; + getDistance(): number; } declare interface PanGestureInterface extends GestureInterface { onActionStart(event: ((event: GestureEvent) => void)): PanGestureInterface; onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureInterface; onActionEnd(event: ((event: GestureEvent) => void)): PanGestureInterface; onActionCancel(event: (() => void)): PanGestureInterface; + onActionCancel(event: ((event: GestureEvent) => void)): PanGestureInterface; (value?: ({ fingers?: number, direction?: PanDirection, distance?: number }|PanGestureOptions)): PanGestureInterface; + (options?: PanGestureHandlerOptions): PanGestureInterface; } declare type Literal_Number_fingers_speed_SwipeDirection_direction = { fingers?: number, direction?: SwipeDirection, speed?: number } declare interface SwipeGestureInterface extends GestureInterface { onAction(event: ((event: GestureEvent) => void)): SwipeGestureInterface; (value?: { fingers?: number, direction?: SwipeDirection, speed?: number }): SwipeGestureInterface; + (options?: SwipeGestureHandlerOptions): SwipeGestureInterface; } declare type Literal_Number_distance_fingers = { fingers?: number, distance?: number } declare interface PinchGestureInterface extends GestureInterface { @@ -5008,7 +5602,9 @@ declare interface PinchGestureInterface extends GestureInterface void)): PinchGestureInterface; onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureInterface; onActionCancel(event: (() => void)): PinchGestureInterface; + onActionCancel(event: ((event: GestureEvent) => void)): PinchGestureInterface; (value?: { fingers?: number, distance?: number }): PinchGestureInterface; + (options?: PinchGestureHandlerOptions): PinchGestureInterface; } declare type Literal_Number_angle_fingers = { fingers?: number, angle?: number } declare interface RotationGestureInterface extends GestureInterface { @@ -5016,7 +5612,9 @@ declare interface RotationGestureInterface extends GestureInterface void)): RotationGestureInterface; onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureInterface; onActionCancel(event: (() => void)): RotationGestureInterface; + onActionCancel(event: ((event: GestureEvent) => void)): RotationGestureInterface; (value?: { fingers?: number, angle?: number }): RotationGestureInterface; + (options?: RotationGestureHandlerOptions): RotationGestureInterface; } declare interface GestureGroupInterface { onCancel(event: (() => void)): GestureGroupInterface; @@ -5026,7 +5624,7 @@ declare class GestureHandler implements GestureInterface { tag(tag: string): T; allowedTypes(types: SourceTool[]): T; } -declare interface TapGestureHandlerOptions { +declare interface TapGestureHandlerOptions extends BaseHandlerOptions { count?: number; fingers?: number; } @@ -5034,7 +5632,7 @@ declare class TapGestureHandler extends GestureHandler { constructor(options?: TapGestureHandlerOptions); onAction(event: ((event: GestureEvent) => void)): TapGestureHandler; } -declare interface LongPressGestureHandlerOptions { +declare interface LongPressGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; repeat?: boolean; duration?: number; @@ -5044,8 +5642,9 @@ declare class LongPressGestureHandler extends GestureHandler void)): LongPressGestureHandler; onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureHandler; onActionCancel(event: (() => void)): LongPressGestureHandler; + onActionCancel(event: ((event: GestureEvent) => void)): LongPressGestureHandler; } -declare interface PanGestureHandlerOptions { +declare interface PanGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; direction?: PanDirection; distance?: number; @@ -5056,8 +5655,9 @@ declare class PanGestureHandler extends GestureHandler { onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureHandler; onActionEnd(event: ((event: GestureEvent) => void)): PanGestureHandler; onActionCancel(event: (() => void)): PanGestureHandler; + onActionCancel(event: ((event: GestureEvent) => void)): PanGestureHandler; } -declare interface SwipeGestureHandlerOptions { +declare interface SwipeGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; direction?: SwipeDirection; speed?: number; @@ -5066,7 +5666,7 @@ declare class SwipeGestureHandler extends GestureHandler { constructor(options?: SwipeGestureHandlerOptions); onAction(event: ((event: GestureEvent) => void)): SwipeGestureHandler; } -declare interface PinchGestureHandlerOptions { +declare interface PinchGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; distance?: number; } @@ -5076,8 +5676,9 @@ declare class PinchGestureHandler extends GestureHandler { onActionUpdate(event: ((event: GestureEvent) => void)): PinchGestureHandler; onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureHandler; onActionCancel(event: (() => void)): PinchGestureHandler; + onActionCancel(event: ((event: GestureEvent) => void)): PinchGestureHandler; } -declare interface RotationGestureHandlerOptions { +declare interface RotationGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; angle?: number; } @@ -5087,6 +5688,7 @@ declare class RotationGestureHandler extends GestureHandler void)): RotationGestureHandler; onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureHandler; onActionCancel(event: (() => void)): RotationGestureHandler; + onActionCancel(event: ((event: GestureEvent) => void)): RotationGestureHandler; } declare interface GestureGroupGestureHandlerOptions { stub: string; @@ -5123,6 +5725,25 @@ declare class GestureRecognizer { getState(): GestureRecognizerState; getEventTargetInfo(): EventTargetInfo; isValid(): boolean; + getFingerCount(): number; + isFingerCountLimit(): boolean; +} +declare class TapRecognizer extends GestureRecognizer { + getTapCount(): number; +} +declare class LongPressRecognizer extends GestureRecognizer { + isRepeat(): boolean; + getDuration(): number; +} +declare class SwipeRecognizer extends GestureRecognizer { + getVelocityThreshold(): number; + getDirection(): SwipeDirection; +} +declare class PinchRecognizer extends GestureRecognizer { + getDistance(): number; +} +declare class RotationRecognizer extends GestureRecognizer { + getAngle(): number; } declare class PanRecognizer extends GestureRecognizer { getPanGestureOptions(): PanGestureOptions; @@ -5343,6 +5964,13 @@ declare enum ImageInterpolation { HIGH = 3, High = 3, } +declare enum ImageRotateOrientation { + AUTO = 0, + UP = 1, + RIGHT = 2, + DOWN = 3, + LEFT = 4, +} declare interface ImageInterface { (src: (PixelMap|ResourceStr|DrawableDescriptor)): ImageAttribute; (src: (PixelMap|ResourceStr|DrawableDescriptor|ImageContent)): ImageAttribute; @@ -5352,6 +5980,9 @@ declare interface ImageSourceSize { width: number; height: number; } +declare class ColorContent { + static readonly ORIGIN: ColorContent; +} declare type Type_ImageAttribute_onComplete_callback_event = { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number } declare type Callback_Type_ImageAttribute_onComplete_callback_event_Void = ((event?: { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number }) => void); declare class ImageAttribute extends CommonMethod { @@ -5359,7 +5990,9 @@ declare class ImageAttribute extends CommonMethod { matchTextDirection(value: boolean): ImageAttribute; fitOriginalSize(value: boolean): ImageAttribute; fillColor(value: ResourceColor): ImageAttribute; + fillColor(value: (ResourceColor|ColorContent)): ImageAttribute; objectFit(value: ImageFit): ImageAttribute; + imageMatrix(value: Matrix4Transit): ImageAttribute; objectRepeat(value: ImageRepeat): ImageAttribute; autoResize(value: boolean): ImageAttribute; renderMode(value: ImageRenderMode): ImageAttribute; @@ -5380,6 +6013,7 @@ declare class ImageAttribute extends CommonMethod { resizable(value: ResizableOptions): ImageAttribute; privacySensitive(value: boolean): ImageAttribute; enhancedImageQuality(value: ResolutionQuality): ImageAttribute; + orientation(value: ImageRotateOrientation): ImageAttribute; } declare type ImageErrorCallback = ((error: ImageError) => void); declare interface ImageError { @@ -5411,6 +6045,7 @@ declare class ImageAnimatorAttribute extends CommonMethod void)): ImageAnimatorAttribute; onPause(value: (() => void)): ImageAnimatorAttribute; onRepeat(value: (() => void)): ImageAnimatorAttribute; @@ -5518,6 +6153,16 @@ declare interface DataChangeListener { onDataChange(index: number): void; onDatasetChange(dataOperations: DataOperation[]): void; } +declare interface LazyVGridLayoutInterface { + (): LazyVGridLayoutAttribute; +} +declare class LazyGridLayoutAttribute extends CommonMethod { + rowsGap(value: LengthMetrics): T; + columnsGap(value: LengthMetrics): T; +} +declare class LazyVGridLayoutAttribute extends LazyGridLayoutAttribute { + columnsTemplate(value: string): LazyVGridLayoutAttribute; +} declare interface LineOptions { width?: (string|number); height?: (string|number); @@ -5631,6 +6276,7 @@ declare class ListAttribute extends ScrollableCommonMethod { friction(value: (number|Resource)): ListAttribute; childrenMainSize(value: ChildrenMainSize): ListAttribute; maintainVisibleContentPosition(value: boolean): ListAttribute; + stackFromEnd(value: boolean): ListAttribute; onScroll(value: ((first: number, last: number) => void)): ListAttribute; onScrollIndex(value: ((start: number, end: number, center: number) => void)): ListAttribute; onScrollVisibleContentChange(value: OnScrollVisibleContentChangeCallback): ListAttribute; @@ -5680,6 +6326,7 @@ declare enum SwipeActionState { declare type Callback_SwipeActionState_Void = ((state: SwipeActionState) => void); declare interface SwipeActionItem { builder?: CustomBuilder; + builderComponent?: ComponentContent; actionAreaDistance?: Length; onAction?: (() => void); onEnterActionArea?: (() => void); @@ -5780,9 +6427,9 @@ declare interface LocationButtonInterface { (): LocationButtonAttribute; (options: LocationButtonOptions): LocationButtonAttribute; } -declare type Callback_ClickEvent_LocationButtonOnClickResult_Void = ((event: ClickEvent, result: LocationButtonOnClickResult) => void); +declare type LocationButtonCallback = ((event: ClickEvent, result: LocationButtonOnClickResult, error?: BusinessError) => void); declare class LocationButtonAttribute extends SecurityComponentMethod { - onClick(value: ((event: ClickEvent, result: LocationButtonOnClickResult) => void)): LocationButtonAttribute; + onClick(value: LocationButtonCallback): LocationButtonAttribute; } declare class Matrix2D { constructor(); @@ -5879,6 +6526,9 @@ declare interface MenuItemGroupInterface { } declare class MenuItemGroupAttribute extends CommonMethod { } +declare interface Orientation { + _OrientationStub: string; +} declare interface NavDestinationCommonTitle { main: (string|Resource); sub: (string|Resource); @@ -5892,11 +6542,23 @@ declare enum NavigationSystemTransitionType { NONE = 1, TITLE = 2, CONTENT = 3, + FADE = 4, + EXPLODE = 5, + SLIDE_RIGHT = 6, + SLIDE_BOTTOM = 7, } declare enum NavDestinationMode { STANDARD = 0, DIALOG = 1, } +declare enum NavDestinationActiveReason { + TRANSITION = 0, + CONTENT_COVER = 1, + SHEET = 2, + DIALOG = 3, + OVERLAY = 4, + APP_STATE = 5, +} declare interface NavDestinationInterface { (): NavDestinationAttribute; } @@ -5911,12 +6573,27 @@ declare interface NavDestinationContext { navDestinationId?: string; getConfigInRouteMap(): RouteMapConfig | undefined; } +declare interface NestedScrollInfo { + parent: Scroller; + child: Scroller; +} +declare interface NavDestinationTransition { + onTransitionEnd?: (() => void); + duration?: number; + curve?: Curve; + delay?: number; + event: (() => void); +} declare type Callback_Boolean = (() => boolean); +declare type Callback_Object_Void = ((parameter: Object) => void); +declare type Callback_NavDestinationActiveReason_Void = ((parameter: NavDestinationActiveReason) => void); declare class NavDestinationAttribute extends CommonMethod { hideTitleBar(value: boolean): NavDestinationAttribute; + hideBackButton(value: boolean | undefined): NavDestinationAttribute; onShown(value: (() => void)): NavDestinationAttribute; onHidden(value: (() => void)): NavDestinationAttribute; onBackPressed(value: (() => boolean)): NavDestinationAttribute; + onResult(value: ((parameter: Object) => void) | undefined): NavDestinationAttribute; mode(value: NavDestinationMode): NavDestinationAttribute; backButtonIcon(value: (ResourceStr|PixelMap|SymbolGlyphModifier)): NavDestinationAttribute; menus(value: (NavigationMenuItem[]|CustomBuilder)): NavDestinationAttribute; @@ -5928,12 +6605,24 @@ declare class NavDestinationAttribute extends CommonMethod void) | undefined): NavDestinationAttribute; + onInactive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): NavDestinationAttribute; + customTransition(value: NavDestinationTransitionDelegate): NavDestinationAttribute; + onNewParam(value: ((parameter: Object) => void) | undefined): NavDestinationAttribute; + preferredOrientation(value: Orientation | undefined): NavDestinationAttribute; + enableNavigationIndicator(value: boolean | undefined): NavDestinationAttribute; title(value: (string|CustomBuilder|NavDestinationCommonTitle|NavDestinationCustomTitle|Resource), options?: NavigationTitleOptions): NavDestinationAttribute; hideTitleBar(hide: boolean, animated: boolean): NavDestinationAttribute; + backButtonIcon(icon: (ResourceStr|PixelMap|SymbolGlyphModifier), accessibilityText?: ResourceStr): NavDestinationAttribute; + menus(items: (NavigationMenuItem[]|CustomBuilder), options?: NavigationMenuOptions): NavDestinationAttribute; toolbarConfiguration(toolbarParam: (ToolbarItem[]|CustomBuilder), options?: NavigationToolbarOptions): NavDestinationAttribute; hideToolBar(hide: boolean, animated?: boolean): NavDestinationAttribute; ignoreLayoutSafeArea(types?: LayoutSafeAreaType[], edges?: LayoutSafeAreaEdge[]): NavDestinationAttribute; + enableStatusBar(enabled: boolean | undefined, animated?: boolean): NavDestinationAttribute; } +declare type NavDestinationTransitionDelegate = ((operation: NavigationOperation, isEnter: boolean) => NavDestinationTransition[] | undefined); declare type Callback_NavDestinationContext_Void = ((parameter: NavDestinationContext) => void); declare interface RouteInfo { name: string; @@ -6153,9 +6842,9 @@ declare interface PasteButtonInterface { (): PasteButtonAttribute; (options: PasteButtonOptions): PasteButtonAttribute; } -declare type Callback_ClickEvent_PasteButtonOnClickResult_Void = ((event: ClickEvent, result: PasteButtonOnClickResult) => void); +declare type PasteButtonCallback = ((event: ClickEvent, result: PasteButtonOnClickResult, error?: BusinessError) => void); declare class PasteButtonAttribute extends SecurityComponentMethod { - onClick(value: ((event: ClickEvent, result: PasteButtonOnClickResult) => void)): PasteButtonAttribute; + onClick(value: PasteButtonCallback): PasteButtonAttribute; } declare interface PathOptions { width?: (number|string); @@ -6177,6 +6866,7 @@ declare interface CircleStyleOptions { color?: ResourceColor; radius?: LengthMetrics; enableWaveEffect?: boolean; + enableForeground?: boolean; } declare class PatternLockController { constructor(); @@ -6200,6 +6890,7 @@ declare class PatternLockAttribute extends CommonMethod { autoReset(value: boolean): PatternLockAttribute; onDotConnect(value: ((index: number) => void)): PatternLockAttribute; activateCircleStyle(value: CircleStyleOptions | undefined): PatternLockAttribute; + skipUnselectedPoint(value: boolean): PatternLockAttribute; } declare interface PluginComponentTemplate { source: string; @@ -6299,6 +6990,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS font?: Font; fontColor?: ResourceColor; showDefaultPercentage?: boolean; + borderRadius?: LengthMetrics; } declare enum ProgressStyle { LINEAR = 0, @@ -6355,11 +7047,15 @@ declare interface RadioStyle { declare interface RadioInterface { (options: RadioOptions): RadioAttribute; } +declare type OnRadioChangeCallback = ((isChecked: boolean) => void); declare class RadioAttribute extends CommonMethod { checked(value: boolean): RadioAttribute; + checked(value: boolean | undefined): RadioAttribute; onChange(value: ((isVisible: boolean) => void)): RadioAttribute; + onChange(value: OnRadioChangeCallback | undefined): RadioAttribute; radioStyle(value: RadioStyle): RadioAttribute; contentModifier(value: ContentModifier): RadioAttribute; + contentModifier(value: ContentModifier | undefined): RadioAttribute; _onChangeEvent_checked(callback_: ((isVisible: boolean) => void)): void; } declare interface RadioConfiguration extends CommonConfiguration { @@ -6386,12 +7082,18 @@ declare interface RatingConfiguration extends CommonConfiguration { stepSize: number; triggerChange: ((index: number) => void); } +declare type OnRatingChangeCallback = ((rating: number) => void); declare class RatingAttribute extends CommonMethod { stars(value: number): RatingAttribute; + stars(value: number | undefined): RatingAttribute; stepSize(value: number): RatingAttribute; + stepSize(value: number | undefined): RatingAttribute; starStyle(value: StarStyleOptions): RatingAttribute; + starStyle(value: StarStyleOptions | undefined): RatingAttribute; onChange(value: ((index: number) => void)): RatingAttribute; + onChange(value: OnRatingChangeCallback | undefined): RatingAttribute; contentModifier(value: ContentModifier): RatingAttribute; + contentModifier(value: ContentModifier | undefined): RatingAttribute; _onChangeEvent_rating(callback_: ((index: number) => void)): void; } declare interface RectOptions { @@ -6488,10 +7190,14 @@ declare class RelativeContainerAttribute extends CommonMethod = (T[]|ReadonlyArray|Readonly); declare enum RichEditorDeleteDirection { BACKWARD = 0, FORWARD = 1, @@ -6501,11 +7207,13 @@ declare enum RichEditorSpanType { IMAGE = 1, MIXED = 2, BUILDER = 3, + DEFAULT = 4, } declare enum RichEditorResponseType { RIGHT_CLICK = 0, LONG_PRESS = 1, SELECT = 2, + DEFAULT = 3, } declare interface RichEditorSpanPosition { spanIndex: number; @@ -6521,7 +7229,9 @@ declare interface RichEditorTextStyle { textShadow?: (ShadowOptions|ShadowOptions[]); letterSpacing?: (number|string); lineHeight?: (number|string|Resource); + halfLeading?: boolean; fontFeature?: string; + textBackgroundStyle?: TextBackgroundStyle; } declare interface LeadingMarginPlaceholder { pixelMap: PixelMap; @@ -6532,6 +7242,7 @@ declare interface RichEditorParagraphStyle { leadingMargin?: (Dimension|LeadingMarginPlaceholder); wordBreak?: WordBreak; lineBreakStrategy?: LineBreakStrategy; + paragraphSpacing?: number; } declare interface PasteEvent { preventDefault?: (() => void); @@ -6568,7 +7279,9 @@ declare interface RichEditorTextStyleResult { textShadow?: ShadowOptions[]; letterSpacing?: number; lineHeight?: number; + halfLeading?: boolean; fontFeature?: string; + textBackgroundStyle?: TextBackgroundStyle; } declare interface RichEditorParagraphResult { style: RichEditorParagraphStyle; @@ -6590,6 +7303,7 @@ declare interface RichEditorTextSpanResult { valueResource?: Resource; paragraphStyle?: RichEditorParagraphStyle; previewText?: string; + urlStyle?: RichEditorUrlStyle; } declare interface RichEditorImageSpanStyleResult { size: [ number, number ]; @@ -6616,12 +7330,14 @@ declare interface RichEditorRange { declare interface RichEditorGesture { onClick?: ((event: ClickEvent) => void); onLongPress?: ((event: GestureEvent) => void); + onDoubleClick?: ((event: GestureEvent) => void); } declare interface RichEditorTextSpanOptions { offset?: number; style?: RichEditorTextStyle; paragraphStyle?: RichEditorParagraphStyle; gesture?: RichEditorGesture; + urlStyle?: RichEditorUrlStyle; } declare interface KeyboardOptions { supportAvoidance?: boolean; @@ -6630,9 +7346,12 @@ declare interface RichEditorImageSpanOptions { offset?: number; imageStyle?: RichEditorImageSpanStyle; gesture?: RichEditorGesture; + onHover?: OnHoverCallback; } declare interface RichEditorBuilderSpanOptions { offset?: number; + dragBackgroundColor?: ColorMetrics; + isDragShadowNeeded?: boolean; } declare interface PlaceholderStyle { font?: Font; @@ -6645,6 +7364,7 @@ declare interface RichEditorParagraphStyleOptions extends RichEditorRange { } declare interface RichEditorUpdateTextSpanStyleOptions extends RichEditorSpanStyleOptions { textStyle: RichEditorTextStyle; + urlStyle?: RichEditorUrlStyle; } declare interface RichEditorUpdateImageSpanStyleOptions extends RichEditorSpanStyleOptions { imageStyle: RichEditorImageSpanStyle; @@ -6687,6 +7407,12 @@ declare interface SelectionMenuOptions { onAppear?: MenuOnAppearCallback; onDisappear?: (() => void); menuType?: MenuType; + onMenuShow?: MenuCallback; + onMenuHide?: MenuCallback; + previewMenuOptions?: PreviewMenuOptions; +} +declare interface PreviewMenuOptions { + hapticFeedbackMode?: HapticFeedbackMode; } declare class RichEditorBaseController implements TextEditControllerEx { getCaretOffset(): number; @@ -6699,6 +7425,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { stopEditing(): void; getLayoutManager(): LayoutManager; getPreviewText(): PreviewText; + getCaretRect(): RectResult | undefined; } declare class RichEditorController extends RichEditorBaseController { addTextSpan(value: string, options?: RichEditorTextSpanOptions): number; @@ -6757,6 +7484,10 @@ declare class RichEditorAttribute extends CommonMethod { enableKeyboardOnFocus(value: boolean): RichEditorAttribute; enableHapticFeedback(value: boolean): RichEditorAttribute; barState(value: BarState): RichEditorAttribute; + maxLength(value: number | undefined): RichEditorAttribute; + maxLines(value: number | undefined): RichEditorAttribute; + keyboardAppearance(value: KeyboardAppearance | undefined): RichEditorAttribute; + stopBackPress(value: boolean | undefined): RichEditorAttribute; bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: (ResponseType|RichEditorResponseType), options?: SelectionMenuOptions): RichEditorAttribute; customKeyboard(value: CustomBuilder, options?: KeyboardOptions): RichEditorAttribute; placeholder(value: ResourceStr, style?: PlaceholderStyle): RichEditorAttribute; @@ -6767,6 +7498,9 @@ declare interface CutEvent { declare interface CopyEvent { preventDefault?: (() => void); } +declare interface RichEditorUrlStyle { + url?: ResourceStr; +} declare type SubmitCallback = ((enterKey: EnterKeyType, event: SubmitEvent) => void); declare type MenuOnAppearCallback = ((start: number, end: number) => void); declare type PasteEventCallback = ((event?: PasteEvent) => void); @@ -6791,8 +7525,12 @@ declare class RootSceneAttribute extends CommonMethod { declare interface RowOptions { space?: (string|number); } +declare interface RowOptionsV2 { + stub: string; +} declare interface RowInterface { (options?: RowOptions): RowAttribute; + (options?: (RowOptions|RowOptionsV2)): RowAttribute; } declare class RowAttribute extends CommonMethod { alignItems(value: VerticalAlign): RowAttribute; @@ -6824,6 +7562,7 @@ declare enum SaveDescription { EXPORT_TO_GALLERY = 9, QUICK_SAVE_TO_GALLERY = 10, RESAVE_TO_GALLERY = 11, + SAVE_ALL = 12, } declare interface SaveButtonOptions { icon?: SaveIconStyle; @@ -6838,9 +7577,9 @@ declare interface SaveButtonInterface { (): SaveButtonAttribute; (options: SaveButtonOptions): SaveButtonAttribute; } -declare type Callback_ClickEvent_SaveButtonOnClickResult_Void = ((event: ClickEvent, result: SaveButtonOnClickResult) => void); +declare type SaveButtonCallback = ((event: ClickEvent, result: SaveButtonOnClickResult, error?: BusinessError) => void); declare class SaveButtonAttribute extends SecurityComponentMethod { - onClick(value: ((event: ClickEvent, result: SaveButtonOnClickResult) => void)): SaveButtonAttribute; + onClick(value: SaveButtonCallback): SaveButtonAttribute; } declare interface ScreenInterface { (screenId: number): ScreenAttribute; @@ -7011,6 +7750,7 @@ declare type Callback_InsertValue_Boolean = ((parameter: InsertValue) => boolean declare type Callback_InsertValue_Void = ((parameter: InsertValue) => void); declare type Callback_DeleteValue_Boolean = ((parameter: DeleteValue) => boolean); declare type Callback_DeleteValue_Void = ((parameter: DeleteValue) => void); +declare type Callback_EditableTextChangeValue_Boolean = ((parameter: EditableTextChangeValue) => boolean); declare class SearchAttribute extends CommonMethod { fontColor(value: ResourceColor): SearchAttribute; searchIcon(value: (IconOptions|SymbolGlyphModifier)): SearchAttribute; @@ -7038,6 +7778,8 @@ declare class SearchAttribute extends CommonMethod { selectionMenuHidden(value: boolean): SearchAttribute; minFontSize(value: (number|string|Resource)): SearchAttribute; maxFontSize(value: (number|string|Resource)): SearchAttribute; + minFontScale(value: (number|Resource) | undefined): SearchAttribute; + maxFontScale(value: (number|Resource) | undefined): SearchAttribute; decoration(value: TextDecorationOptions): SearchAttribute; letterSpacing(value: (number|string|Resource)): SearchAttribute; lineHeight(value: (number|string|Resource)): SearchAttribute; @@ -7050,6 +7792,11 @@ declare class SearchAttribute extends CommonMethod { editMenuOptions(value: EditMenuOptions): SearchAttribute; enablePreviewText(value: boolean): SearchAttribute; enableHapticFeedback(value: boolean): SearchAttribute; + autoCapitalizationMode(value: AutoCapitalizationMode): SearchAttribute; + halfLeading(value: boolean | undefined): SearchAttribute; + stopBackPress(value: boolean | undefined): SearchAttribute; + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): SearchAttribute; + keyboardAppearance(value: KeyboardAppearance | undefined): SearchAttribute; searchButton(value: string, option?: SearchButtonOptions): SearchAttribute; inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): SearchAttribute; customKeyboard(value: CustomBuilder, options?: KeyboardOptions): SearchAttribute; @@ -7076,6 +7823,7 @@ declare class SecurityComponentMethod { borderWidth(value: Dimension): T; borderColor(value: ResourceColor): T; borderRadius(value: Dimension): T; + borderRadius(value: (Dimension|BorderRadiuses)): T; padding(value: (Padding|Dimension)): T; textIconSpace(value: Dimension): T; key(value: string): T; @@ -7083,6 +7831,18 @@ declare class SecurityComponentMethod { height(value: Length): T; size(value: SizeOptions): T; constraintSize(value: ConstraintSizeOptions): T; + align(value: Alignment): T; + alignRules(value: AlignRuleOption): T; + alignRules(value: LocalizedAlignRuleOptions): T; + id(value: string): T; + minFontScale(value: (number|Resource)): T; + maxFontScale(value: (number|Resource)): T; + maxLines(value: number): T; + minFontSize(value: (number|string|Resource)): T; + maxFontSize(value: (number|string|Resource)): T; + heightAdaptivePolicy(value: TextHeightAdaptivePolicy): T; + enabled(value: boolean): T; + chainMode(direction: Axis, style: ChainStyle): T; } declare interface SelectOption { value: ResourceStr; @@ -7101,31 +7861,67 @@ declare enum MenuAlignType { CENTER = 1, END = 2, } +declare enum AvoidanceMode { + COVER_TARGET = 0, + AVOID_AROUND_TARGET = 1, +} +declare type OnSelectCallback = ((index: number, selectStr: string) => void); +declare interface MenuOutlineOptions { + width?: (Dimension|EdgeOutlineWidths); + color?: (ResourceColor|EdgeColors); +} declare type Callback_Number_String_Void = ((index: number, value: string) => void); declare type Callback_Union_Number_Resource_Void = ((selected: (number|Resource)) => void); declare type Callback_ResourceStr_Void = ((value: ResourceStr) => void); declare class SelectAttribute extends CommonMethod { selected(value: (number|Resource)): SelectAttribute; + selected(value: (number|Resource) | undefined): SelectAttribute; value(value: ResourceStr): SelectAttribute; + value(value: ResourceStr | undefined): SelectAttribute; font(value: Font): SelectAttribute; + font(value: Font | undefined): SelectAttribute; fontColor(value: ResourceColor): SelectAttribute; + fontColor(value: ResourceColor | undefined): SelectAttribute; selectedOptionBgColor(value: ResourceColor): SelectAttribute; + selectedOptionBgColor(value: ResourceColor | undefined): SelectAttribute; selectedOptionFont(value: Font): SelectAttribute; + selectedOptionFont(value: Font | undefined): SelectAttribute; selectedOptionFontColor(value: ResourceColor): SelectAttribute; + selectedOptionFontColor(value: ResourceColor | undefined): SelectAttribute; optionBgColor(value: ResourceColor): SelectAttribute; + optionBgColor(value: ResourceColor | undefined): SelectAttribute; optionFont(value: Font): SelectAttribute; + optionFont(value: Font | undefined): SelectAttribute; optionFontColor(value: ResourceColor): SelectAttribute; + optionFontColor(value: ResourceColor | undefined): SelectAttribute; onSelect(value: ((index: number, value: string) => void)): SelectAttribute; + onSelect(value: OnSelectCallback | undefined): SelectAttribute; space(value: Length): SelectAttribute; + space(value: Length | undefined): SelectAttribute; arrowPosition(value: ArrowPosition): SelectAttribute; + arrowPosition(value: ArrowPosition | undefined): SelectAttribute; optionWidth(value: (Dimension|OptionWidthMode)): SelectAttribute; + optionWidth(value: (Dimension|OptionWidthMode) | undefined): SelectAttribute; optionHeight(value: Dimension): SelectAttribute; + optionHeight(value: Dimension | undefined): SelectAttribute; menuBackgroundColor(value: ResourceColor): SelectAttribute; + menuBackgroundColor(value: ResourceColor | undefined): SelectAttribute; menuBackgroundBlurStyle(value: BlurStyle): SelectAttribute; + menuBackgroundBlurStyle(value: BlurStyle | undefined): SelectAttribute; controlSize(value: ControlSize): SelectAttribute; + controlSize(value: ControlSize | undefined): SelectAttribute; menuItemContentModifier(value: ContentModifier): SelectAttribute; + menuItemContentModifier(value: ContentModifier | undefined): SelectAttribute; divider(value: DividerOptions | undefined): SelectAttribute; + textModifier(value: TextModifier | undefined): SelectAttribute; + arrowModifier(value: SymbolGlyphModifier | undefined): SelectAttribute; + optionTextModifier(value: TextModifier | undefined): SelectAttribute; + selectedOptionTextModifier(value: TextModifier | undefined): SelectAttribute; + dividerStyle(value: DividerStyleOptions | undefined): SelectAttribute; + avoidance(value: AvoidanceMode): SelectAttribute; + menuOutline(value: MenuOutlineOptions): SelectAttribute; menuAlign(alignType: MenuAlignType, offset?: Offset): SelectAttribute; + menuAlign(alignType: MenuAlignType | undefined, offset?: Offset): SelectAttribute; _onChangeEvent_selected(callback_: ((selected: (number|Resource)) => void)): void; _onChangeEvent_value(callback_: ((value: ResourceStr) => void)): void; } @@ -7224,6 +8020,7 @@ declare class SliderAttribute extends CommonMethod { blockColor(value: ResourceColor): SliderAttribute; trackColor(value: (ResourceColor|LinearGradient)): SliderAttribute; selectedColor(value: ResourceColor): SliderAttribute; + selectedColor(value: (ResourceColor|LinearGradient)): SliderAttribute; minLabel(value: string): SliderAttribute; maxLabel(value: string): SliderAttribute; showSteps(value: boolean): SliderAttribute; @@ -7241,6 +8038,8 @@ declare class SliderAttribute extends CommonMethod { minResponsiveDistance(value: number): SliderAttribute; contentModifier(value: ContentModifier): SliderAttribute; slideRange(value: SlideRange): SliderAttribute; + digitalCrownSensitivity(value: CrownSensitivity | undefined): SliderAttribute; + enableHapticFeedback(value: boolean): SliderAttribute; showTips(value: boolean, content?: ResourceStr): SliderAttribute; _onChangeEvent_value(callback_: ((index: number) => void)): void; } @@ -7291,7 +8090,7 @@ declare enum LayoutDirection { declare class Storage { constructor(needCrossThread?: boolean, file?: string); get(key: string): string | undefined; - set(key: string, val: any): void; + set(key: string, val: Object | undefined): void; clear(): void; delete(key: string): void; } @@ -7330,7 +8129,9 @@ declare class SwiperController { showNext(): void; showPrevious(): void; changeIndex(index: number, useAnimation?: boolean): void; + changeIndex(index: number, animationMode?: (SwiperAnimationMode|boolean)): void; finishAnimation(callback_?: VoidCallback): void; + preloadItems(indices: number[] | undefined): Promise; } declare class Indicator { left(value: Length): T; @@ -7352,6 +8153,7 @@ declare class DotIndicator extends Indicator { color(value: ResourceColor): DotIndicator; selectedColor(value: ResourceColor): DotIndicator; maxDisplayCount(maxDisplayCount: number): DotIndicator; + space(space: LengthMetrics): DotIndicator; } declare interface SwiperAutoFill { minSize: VP; @@ -7387,10 +8189,18 @@ declare interface SwiperAnimationEvent { targetOffset: number; velocity: number; } +declare interface AutoPlayOptions { + stopWhenTouched: boolean; +} declare enum SwiperNestedScrollMode { SELF_ONLY = 0, SELF_FIRST = 1, } +declare enum SwiperAnimationMode { + NO_ANIMATION = 0, + DEFAULT_ANIMATION = 1, + FAST_ANIMATION = 2, +} declare type OnSwiperAnimationStartCallback = ((index: number, targetIndex: number, extraInfo: SwiperAnimationEvent) => void); declare type OnSwiperAnimationEndCallback = ((index: number, extraInfo: SwiperAnimationEvent) => void); declare type OnSwiperGestureSwipeCallback = ((index: number, extraInfo: SwiperAnimationEvent) => void); @@ -7399,7 +8209,7 @@ declare class SwiperAttribute extends CommonMethod { autoPlay(value: boolean): SwiperAttribute; interval(value: number): SwiperAttribute; indicator(value: (DotIndicator|DigitIndicator|boolean)): SwiperAttribute; - indicator(value: IndicatorComponentController): SwiperAttribute; + indicator(value: (IndicatorComponentController|DotIndicator|DigitIndicator|boolean)): SwiperAttribute; loop(value: boolean): SwiperAttribute; duration(value: number): SwiperAttribute; vertical(value: boolean): SwiperAttribute; @@ -7410,7 +8220,9 @@ declare class SwiperAttribute extends CommonMethod { disableSwipe(value: boolean): SwiperAttribute; curve(value: (Curve|string|ICurve)): SwiperAttribute; onChange(value: ((index: number) => void)): SwiperAttribute; + onSelected(value: ((index: number) => void)): SwiperAttribute; indicatorStyle(value: IndicatorStyle): SwiperAttribute; + onUnselected(value: ((index: number) => void)): SwiperAttribute; onAnimationStart(value: OnSwiperAnimationStartCallback): SwiperAttribute; onAnimationEnd(value: OnSwiperAnimationEndCallback): SwiperAttribute; onGestureSwipe(value: OnSwiperGestureSwipeCallback): SwiperAttribute; @@ -7418,7 +8230,11 @@ declare class SwiperAttribute extends CommonMethod { customContentTransition(value: SwiperContentAnimatedTransition): SwiperAttribute; onContentDidScroll(value: ContentDidScrollCallback): SwiperAttribute; indicatorInteractive(value: boolean): SwiperAttribute; + pageFlipMode(value: PageFlipMode | undefined): SwiperAttribute; + onContentWillScroll(value: ContentWillScrollCallback): SwiperAttribute; + autoPlay(autoPlay: boolean, options: AutoPlayOptions): SwiperAttribute; displayArrow(value: (ArrowStyle|boolean), isHoverShow?: boolean): SwiperAttribute; + cachedCount(count: number, isShown: boolean): SwiperAttribute; displayCount(value: (number|string|SwiperAutoFill), swipeByGroup?: boolean): SwiperAttribute; prevMargin(value: Length, ignoreBlank?: boolean): SwiperAttribute; nextMargin(value: Length, ignoreBlank?: boolean): SwiperAttribute; @@ -7436,7 +8252,13 @@ declare interface SwiperContentTransitionProxy { mainAxisLength: number; finishTransition(): void; } +declare interface SwiperContentWillScrollResult { + currentIndex: number; + comingIndex: number; + offset: number; +} declare type ContentDidScrollCallback = ((selectedIndex: number, index: number, position: number, mainAxisLength: number) => void); +declare type ContentWillScrollCallback = ((result: SwiperContentWillScrollResult) => boolean); declare class IndicatorComponentController { constructor(); showNext(): void; @@ -7496,6 +8318,8 @@ declare class SymbolGlyphAttribute extends CommonMethod { fontWeight(value: (number|FontWeight|string)): SymbolGlyphAttribute; effectStrategy(value: SymbolEffectStrategy): SymbolGlyphAttribute; renderingStrategy(value: SymbolRenderingStrategy): SymbolGlyphAttribute; + minFontScale(value: (number|Resource) | undefined): SymbolGlyphAttribute; + maxFontScale(value: (number|Resource) | undefined): SymbolGlyphAttribute; symbolEffect(symbolEffect: SymbolEffect, isActive?: boolean): SymbolGlyphAttribute; symbolEffect(symbolEffect: SymbolEffect, triggerValue?: number): SymbolGlyphAttribute; } @@ -7510,6 +8334,9 @@ declare class SymbolSpanAttribute extends CommonMethod { renderingStrategy(value: SymbolRenderingStrategy): SymbolSpanAttribute; attributeModifier(value: AttributeModifier): SymbolSpanAttribute; } +declare interface CommonModifier { + _CommonModifierStub: string; +} declare enum BarMode { SCROLLABLE = 0, Scrollable = 0, @@ -7520,6 +8347,8 @@ declare enum AnimationMode { CONTENT_FIRST = 0, ACTION_FIRST = 1, NO_ANIMATION = 2, + CONTENT_FIRST_WITH_JUMP = 3, + ACTION_FIRST_WITH_JUMP = 4, } declare enum BarPosition { START = 0, @@ -7532,6 +8361,10 @@ declare enum LayoutStyle { ALWAYS_AVERAGE_SPLIT = 1, SPACE_BETWEEN_OR_CENTER = 2, } +declare enum TabsCacheMode { + CACHE_BOTH_SIDE = 0, + CACHE_LATEST_SWITCHED = 1, +} declare class TabsController { constructor(); changeIndex(value: number): void; @@ -7543,6 +8376,7 @@ declare interface TabsOptions { barPosition?: BarPosition; index?: number; controller?: TabsController; + barModifier?: CommonModifier; } declare interface TabsInterface { (options?: TabsOptions): TabsAttribute; @@ -7585,7 +8419,9 @@ declare class TabsAttribute extends CommonMethod { animationMode(value: AnimationMode | undefined): TabsAttribute; edgeEffect(value: EdgeEffect | undefined): TabsAttribute; onChange(value: ((index: number) => void)): TabsAttribute; + onSelected(value: ((index: number) => void)): TabsAttribute; onTabBarClick(value: ((index: number) => void)): TabsAttribute; + onUnselected(value: ((index: number) => void)): TabsAttribute; onAnimationStart(value: OnTabsAnimationStartCallback): TabsAttribute; onAnimationEnd(value: OnTabsAnimationEndCallback): TabsAttribute; onGestureSwipe(value: OnTabsGestureSwipeCallback): TabsAttribute; @@ -7597,10 +8433,12 @@ declare class TabsAttribute extends CommonMethod { customContentTransition(value: TabsCustomContentTransitionCallback): TabsAttribute; barBackgroundBlurStyle(value: BlurStyle): TabsAttribute; barBackgroundEffect(value: BackgroundEffectOptions): TabsAttribute; + pageFlipMode(value: PageFlipMode | undefined): TabsAttribute; onContentWillChange(value: OnTabsContentWillChangeCallback): TabsAttribute; barMode(value: BarMode.SCROLLABLE, options: ScrollableBarModeOptions): TabsAttribute; barMode(value: BarMode, options?: ScrollableBarModeOptions): TabsAttribute; barBackgroundBlurStyle(style: BlurStyle, options: BackgroundBlurStyleOptions): TabsAttribute; + cachedMaxCount(count: number, mode: TabsCacheMode): TabsAttribute; _onChangeEvent_index(callback_: ((index: number) => void)): void; } declare type Callback_TabContentTransitionProxy_Void = ((parameter: TabContentTransitionProxy) => void); @@ -7667,6 +8505,7 @@ declare interface TabContentInterface { declare class TabContentAttribute extends CommonMethod { tabBar(value: (string|Resource|CustomBuilder|TabBarOptions)): TabContentAttribute; tabBar(value: (SubTabBarStyle|BottomTabBarStyle)): TabContentAttribute; + tabBar(value: (ComponentContent|SubTabBarStyle|BottomTabBarStyle|string|Resource|CustomBuilder|TabBarOptions)): TabContentAttribute; onWillShow(value: VoidCallback): TabContentAttribute; onWillHide(value: VoidCallback): TabContentAttribute; } @@ -7676,6 +8515,7 @@ declare interface TextOverflowOptions { declare interface TextInterface { (content?: (string|Resource), value?: TextOptions): TextAttribute; } +declare type Callback_MarqueeState_Void = ((parameter: MarqueeState) => void); declare class TextAttribute extends CommonMethod { font(value: Font): TextAttribute; fontColor(value: ResourceColor): TextAttribute; @@ -7711,6 +8551,8 @@ declare class TextAttribute extends CommonMethod { dataDetectorConfig(value: TextDataDetectorConfig): TextAttribute; onTextSelectionChange(value: ((first: number, last: number) => void)): TextAttribute; fontFeature(value: string): TextAttribute; + marqueeOptions(value: TextMarqueeOptions | undefined): TextAttribute; + onMarqueeStateChange(value: ((parameter: MarqueeState) => void)): TextAttribute; privacySensitive(value: boolean): TextAttribute; textSelectable(value: TextSelectableMode): TextAttribute; editMenuOptions(value: EditMenuOptions): TextAttribute; @@ -7725,15 +8567,35 @@ declare enum TextSpanType { TEXT = 0, IMAGE = 1, MIXED = 2, + DEFAULT = 3, } declare enum TextResponseType { RIGHT_CLICK = 0, LONG_PRESS = 1, SELECT = 2, + DEFAULT = 3, +} +declare enum MarqueeState { + START = 0, + BOUNCE = 1, + FINISH = 2, +} +declare enum MarqueeStartPolicy { + DEFAULT = 0, + ON_FOCUS = 1, } declare interface TextOptions { controller: TextController; } +declare interface TextMarqueeOptions { + start: boolean; + step?: number; + loop?: number; + fromStart?: boolean; + delay?: number; + fadeout?: boolean; + marqueeStartPolicy?: MarqueeStartPolicy; +} declare class TextController { closeSelectionMenu(): void; setStyledString(value: StyledString): void; @@ -7761,29 +8623,6 @@ declare enum TextAreaType { NUMBER_DECIMAL = 12, URL = 13, } -declare enum ContentType { - USER_NAME = 0, - PASSWORD = 1, - NEW_PASSWORD = 2, - FULL_STREET_ADDRESS = 3, - HOUSE_NUMBER = 4, - DISTRICT_ADDRESS = 5, - CITY_ADDRESS = 6, - PROVINCE_ADDRESS = 7, - COUNTRY_ADDRESS = 8, - PERSON_FULL_NAME = 9, - PERSON_LAST_NAME = 10, - PERSON_FIRST_NAME = 11, - PHONE_NUMBER = 12, - PHONE_COUNTRY_CODE = 13, - FULL_PHONE_NUMBER = 14, - EMAIL_ADDRESS = 15, - BANK_CARD_NUMBER = 16, - ID_CARD_NUMBER = 17, - NICKNAME = 23, - DETAIL_INFO_WITHOUT_STREET = 24, - FORMAT_ADDRESS = 25, -} declare type TextAreaSubmitCallback = ((enterKeyType: EnterKeyType, event?: SubmitEvent) => void); declare type Callback_EnterKeyType_Void = ((enterKey: EnterKeyType) => void); declare type Callback_String_PasteEvent_Void = ((value: string, event: PasteEvent) => void); @@ -7819,6 +8658,8 @@ declare class TextAreaAttribute extends CommonMethod { selectionMenuHidden(value: boolean): TextAreaAttribute; minFontSize(value: (number|string|Resource)): TextAreaAttribute; maxFontSize(value: (number|string|Resource)): TextAreaAttribute; + minFontScale(value: (number|Resource) | undefined): TextAreaAttribute; + maxFontScale(value: (number|Resource) | undefined): TextAreaAttribute; heightAdaptivePolicy(value: TextHeightAdaptivePolicy): TextAreaAttribute; maxLines(value: number): TextAreaAttribute; wordBreak(value: WordBreak): TextAreaAttribute; @@ -7838,6 +8679,12 @@ declare class TextAreaAttribute extends CommonMethod { editMenuOptions(value: EditMenuOptions): TextAreaAttribute; enablePreviewText(value: boolean): TextAreaAttribute; enableHapticFeedback(value: boolean): TextAreaAttribute; + autoCapitalizationMode(value: AutoCapitalizationMode): TextAreaAttribute; + halfLeading(value: boolean | undefined): TextAreaAttribute; + ellipsisMode(value: EllipsisMode | undefined): TextAreaAttribute; + stopBackPress(value: boolean | undefined): TextAreaAttribute; + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): TextAreaAttribute; + keyboardAppearance(value: KeyboardAppearance | undefined): TextAreaAttribute; inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): TextAreaAttribute; showCounter(value: boolean, options?: InputCounterOptions): TextAreaAttribute; customKeyboard(value: CustomBuilder, options?: KeyboardOptions): TextAreaAttribute; @@ -7902,13 +8749,19 @@ declare enum MenuType { SELECTION_MENU = 0, PREVIEW_MENU = 1, } +declare enum AutoCapitalizationMode { + NONE = 0, + WORDS = 1, + SENTENCES = 2, + ALL_CHARACTERS = 3, +} declare interface DeleteValue { deleteOffset: number; direction: TextDeleteDirection; deleteValue: string; } declare type OnDidChangeCallback = ((rangeBefore: TextRange, rangeAfter: TextRange) => void); -declare type EditableTextOnChangeCallback = ((value: string, previewText?: PreviewText) => void); +declare type EditableTextOnChangeCallback = ((value: string, previewText?: PreviewText, options?: TextChangeOptions) => void); declare interface TextBaseController { setSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void; closeSelectionMenu(): void; @@ -7921,6 +8774,10 @@ declare interface TextEditControllerEx extends TextBaseController { getCaretOffset(): number; getPreviewText?(): PreviewText; } +declare interface PreviewText { + offset: number; + value: string; +} declare interface StyledStringController { setStyledString(styledString: StyledString): void; getStyledString(): MutableStyledString; @@ -7957,17 +8814,17 @@ declare class TextMenuItemId { static readonly COLLABORATION_SERVICE: TextMenuItemId; static readonly CAMERA_INPUT: TextMenuItemId; static readonly AI_WRITER: TextMenuItemId; + static readonly TRANSLATE: TextMenuItemId; + static readonly SEARCH: TextMenuItemId; + static readonly SHARE: TextMenuItemId; static of(id: ResourceStr): TextMenuItemId; equals(id: TextMenuItemId): boolean; } -declare interface PreviewText { - offset: number; - value: string; -} declare interface TextMenuItem { content: ResourceStr; icon?: ResourceStr; id: TextMenuItemId; + labelInfo?: ResourceStr; } declare type AsyncCallback_Array_TextMenuItem_Array_TextMenuItem = ((menuItems: TextMenuItem[]) => TextMenuItem[]); declare type AsyncCallback_TextMenuItem_TextRange_Boolean = ((menuItem: TextMenuItem, range: TextRange) => boolean); @@ -7983,6 +8840,30 @@ declare interface DecorationStyleResult { declare interface FontSettingOptions { enableVariableFontWeight?: boolean; } +declare interface TextChangeOptions { + rangeBefore: TextRange; + rangeAfter: TextRange; + oldContent: string; + oldPreviewText: PreviewText; +} +declare interface EditableTextChangeValue { + content: string; + previewText?: PreviewText; + options?: TextChangeOptions; +} +declare enum TextMenuShowMode { + DEFAULT = 0, + PREFER_WINDOW = 1, +} +declare interface TextMenuOptions { + showMode?: TextMenuShowMode; +} +declare enum KeyboardAppearance { + NONE_IMMERSIVE = 0, + IMMERSIVE = 1, + LIGHT_IMMERSIVE = 2, + DARK_IMMERSIVE = 3, +} declare enum InputType { NORMAL = 0, Normal = 0, @@ -8001,6 +8882,41 @@ declare enum InputType { NUMBER_DECIMAL = 12, URL = 13, } +declare enum ContentType { + USER_NAME = 0, + PASSWORD = 1, + NEW_PASSWORD = 2, + FULL_STREET_ADDRESS = 3, + HOUSE_NUMBER = 4, + DISTRICT_ADDRESS = 5, + CITY_ADDRESS = 6, + PROVINCE_ADDRESS = 7, + COUNTRY_ADDRESS = 8, + PERSON_FULL_NAME = 9, + PERSON_LAST_NAME = 10, + PERSON_FIRST_NAME = 11, + PHONE_NUMBER = 12, + PHONE_COUNTRY_CODE = 13, + FULL_PHONE_NUMBER = 14, + EMAIL_ADDRESS = 15, + BANK_CARD_NUMBER = 16, + ID_CARD_NUMBER = 17, + NICKNAME = 23, + DETAIL_INFO_WITHOUT_STREET = 24, + FORMAT_ADDRESS = 25, + PASSPORT_NUMBER = 26, + VALIDITY = 27, + ISSUE_AT = 28, + ORGANIZATION = 29, + TAX_ID = 30, + ADDRESS_CITY_AND_STATE = 31, + FLIGHT_NUMBER = 32, + LICENSE_NUMBER = 33, + LICENSE_FILE_NUMBER = 34, + LICENSE_PLATE = 35, + ENGINE_NUMBER = 36, + LICENSE_CHASSIS_NUMBER = 37, +} declare enum EnterKeyType { GO = 2, Go = 2, @@ -8100,6 +9016,8 @@ declare class TextInputAttribute extends CommonMethod { selectAll(value: boolean): TextInputAttribute; minFontSize(value: (number|string|Resource)): TextInputAttribute; maxFontSize(value: (number|string|Resource)): TextInputAttribute; + minFontScale(value: (number|Resource) | undefined): TextInputAttribute; + maxFontScale(value: (number|Resource) | undefined): TextInputAttribute; heightAdaptivePolicy(value: TextHeightAdaptivePolicy): TextInputAttribute; enableAutoFill(value: boolean): TextInputAttribute; decoration(value: TextDecorationOptions): TextInputAttribute; @@ -8116,6 +9034,12 @@ declare class TextInputAttribute extends CommonMethod { editMenuOptions(value: EditMenuOptions): TextInputAttribute; enablePreviewText(value: boolean): TextInputAttribute; enableHapticFeedback(value: boolean): TextInputAttribute; + autoCapitalizationMode(value: AutoCapitalizationMode): TextInputAttribute; + halfLeading(value: boolean | undefined): TextInputAttribute; + ellipsisMode(value: EllipsisMode | undefined): TextInputAttribute; + stopBackPress(value: boolean | undefined): TextInputAttribute; + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): TextInputAttribute; + keyboardAppearance(value: KeyboardAppearance | undefined): TextInputAttribute; inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): TextInputAttribute; customKeyboard(value: CustomBuilder, options?: KeyboardOptions): TextInputAttribute; showCounter(value: boolean, options?: InputCounterOptions): TextInputAttribute; @@ -8133,6 +9057,7 @@ declare interface TextPickerOptions { range: (string[]|string[][]|Resource|TextPickerRangeContent[]|TextCascadePickerRangeContent[]); value?: (string|string[]); selected?: (number|number[]); + columnWidths?: LengthMetrics[]; } declare interface TextPickerInterface { (options?: TextPickerOptions): TextPickerAttribute; @@ -8143,22 +9068,46 @@ declare interface DividerOptions { startMargin?: Dimension; endMargin?: Dimension; } +declare interface TextPickerTextStyle extends PickerTextStyle { + minFontSize?: (number|string|Resource); + maxFontSize?: (number|string|Resource); + overflow?: TextOverflow; +} +declare type TextPickerScrollStopCallback = ((value: (string|string[]), index: (number|number[])) => void); +declare type OnTextPickerChangeCallback = ((selectItem: (string|string[]), index: (number|number[])) => void); +declare type TextPickerEnterSelectedAreaCallback = ((value: (string|string[]), index: (number|number[])) => void); declare type Callback_String_Number_Void = ((value: string, index: number) => void); declare type Type_TextPickerAttribute_onChange_callback = ((value: (string|string[]), index: (number|number[])) => void); declare type Callback_Union_Number_Array_Number_Void = ((selected: (number|number[])) => void); declare type Callback_Union_String_Array_String_Void = ((value: (string|string[])) => void); declare class TextPickerAttribute extends CommonMethod { defaultPickerItemHeight(value: (number|string)): TextPickerAttribute; + defaultPickerItemHeight(value: (number|string) | undefined): TextPickerAttribute; canLoop(value: boolean): TextPickerAttribute; + canLoop(value: boolean | undefined): TextPickerAttribute; disappearTextStyle(value: PickerTextStyle): TextPickerAttribute; + disappearTextStyle(value: PickerTextStyle | undefined): TextPickerAttribute; textStyle(value: PickerTextStyle): TextPickerAttribute; + textStyle(value: PickerTextStyle | undefined): TextPickerAttribute; selectedTextStyle(value: PickerTextStyle): TextPickerAttribute; + selectedTextStyle(value: PickerTextStyle | undefined): TextPickerAttribute; + disableTextStyleAnimation(value: boolean): TextPickerAttribute; + defaultTextStyle(value: TextPickerTextStyle): TextPickerAttribute; onAccept(value: ((value: string, index: number) => void)): TextPickerAttribute; onCancel(value: (() => void)): TextPickerAttribute; onChange(value: ((value: (string|string[]), index: (number|number[])) => void)): TextPickerAttribute; + onChange(value: OnTextPickerChangeCallback | undefined): TextPickerAttribute; + onScrollStop(value: TextPickerScrollStopCallback): TextPickerAttribute; + onScrollStop(value: TextPickerScrollStopCallback | undefined): TextPickerAttribute; + onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback): TextPickerAttribute; selectedIndex(value: (number|number[])): TextPickerAttribute; + selectedIndex(value: (number|number[]) | undefined): TextPickerAttribute; + divider(value: DividerOptions | undefined): TextPickerAttribute; divider(value: DividerOptions | undefined): TextPickerAttribute; gradientHeight(value: Dimension): TextPickerAttribute; + enableHapticFeedback(value: boolean | undefined): TextPickerAttribute; + gradientHeight(value: Dimension | undefined): TextPickerAttribute; + digitalCrownSensitivity(value: CrownSensitivity | undefined): TextPickerAttribute; _onChangeEvent_selected(callback_: ((selected: (number|number[])) => void)): void; _onChangeEvent_value(callback_: ((value: (string|string[])) => void)): void; } @@ -8175,14 +9124,20 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { acceptButtonStyle?: PickerDialogButtonStyle; cancelButtonStyle?: PickerDialogButtonStyle; selectedTextStyle?: PickerTextStyle; + disableTextStyleAnimation?: boolean; + defaultTextStyle?: TextPickerTextStyle; onAccept?: ((value: TextPickerResult) => void); onCancel?: (() => void); onChange?: ((value: TextPickerResult) => void); + onScrollStop?: ((value: TextPickerResult) => void); + onEnterSelectedArea?: ((value: TextPickerResult) => void); maskRect?: Rectangle; alignment?: DialogAlignment; offset?: Offset; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onDidAppear?: (() => void); onDidDisappear?: (() => void); onWillAppear?: (() => void); @@ -8190,6 +9145,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { shadow?: (ShadowOptions|ShadowStyle); enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + enableHapticFeedback?: boolean; } declare class TextPickerDialog { static show(options?: TextPickerDialogOptions): void; @@ -8238,20 +9194,34 @@ declare enum TimePickerFormat { declare interface TimePickerOptions { selected?: Date; format?: TimePickerFormat; + start?: Date; + end?: Date; } declare interface TimePickerInterface { (options?: TimePickerOptions): TimePickerAttribute; } +declare type OnTimePickerChangeCallback = ((result: TimePickerResult) => void); declare type Callback_TimePickerResult_Void = ((value: TimePickerResult) => void); declare class TimePickerAttribute extends CommonMethod { useMilitaryTime(value: boolean): TimePickerAttribute; + useMilitaryTime(value: boolean | undefined): TimePickerAttribute; loop(value: boolean): TimePickerAttribute; + loop(value: boolean | undefined): TimePickerAttribute; disappearTextStyle(value: PickerTextStyle): TimePickerAttribute; + disappearTextStyle(value: PickerTextStyle | undefined): TimePickerAttribute; textStyle(value: PickerTextStyle): TimePickerAttribute; + textStyle(value: PickerTextStyle | undefined): TimePickerAttribute; selectedTextStyle(value: PickerTextStyle): TimePickerAttribute; + selectedTextStyle(value: PickerTextStyle | undefined): TimePickerAttribute; dateTimeOptions(value: DateTimeOptions): TimePickerAttribute; + dateTimeOptions(value: DateTimeOptions | undefined): TimePickerAttribute; onChange(value: ((value: TimePickerResult) => void)): TimePickerAttribute; + onChange(value: OnTimePickerChangeCallback | undefined): TimePickerAttribute; + onEnterSelectedArea(value: ((value: TimePickerResult) => void)): TimePickerAttribute; enableHapticFeedback(value: boolean): TimePickerAttribute; + enableHapticFeedback(value: boolean | undefined): TimePickerAttribute; + digitalCrownSensitivity(value: CrownSensitivity | undefined): TimePickerAttribute; + enableCascade(value: boolean): TimePickerAttribute; _onChangeEvent_selected(callback_: ((parameter: Date) => void)): void; } declare interface TimePickerDialogOptions extends TimePickerOptions { @@ -8267,8 +9237,12 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { onAccept?: ((value: TimePickerResult) => void); onCancel?: (() => void); onChange?: ((value: TimePickerResult) => void); + onEnterSelectedArea?: ((value: TimePickerResult) => void); backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; + enableCascade?: boolean; onDidAppear?: (() => void); onDidDisappear?: (() => void); onWillAppear?: (() => void); @@ -8277,6 +9251,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { dateTimeOptions?: DateTimeOptions; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + enableHapticFeedback?: boolean; } declare class TimePickerDialog { static show(options?: TimePickerDialogOptions): void; @@ -8331,7 +9306,12 @@ declare type Percentage = string; declare type Degree = string; declare type Dimension = (string|number|Resource); declare type ResourceStr = (string|Resource); -declare type Padding = { top?: Length, right?: Length, bottom?: Length, left?: Length } +declare interface Padding { + top?: Length; + right?: Length; + bottom?: Length; + left?: Length; +} declare interface LocalizedPadding { top?: LengthMetrics; end?: LengthMetrics; @@ -8340,23 +9320,48 @@ declare interface LocalizedPadding { } declare type Margin = Padding; declare type EdgeWidth = EdgeWidths; -declare type EdgeWidths = { top?: Length, right?: Length, bottom?: Length, left?: Length } +declare interface EdgeWidths { + top?: Length; + right?: Length; + bottom?: Length; + left?: Length; +} declare interface LocalizedEdgeWidths { top?: LengthMetrics; end?: LengthMetrics; bottom?: LengthMetrics; start?: LengthMetrics; } -declare type EdgeOutlineWidths = { top?: Dimension, right?: Dimension, bottom?: Dimension, left?: Dimension } -declare type BorderRadiuses = { topLeft?: Length, topRight?: Length, bottomLeft?: Length, bottomRight?: Length } +declare interface EdgeOutlineWidths { + top?: Dimension; + right?: Dimension; + bottom?: Dimension; + left?: Dimension; +} +declare interface BorderRadiuses { + topLeft?: Length; + topRight?: Length; + bottomLeft?: Length; + bottomRight?: Length; +} declare interface LocalizedBorderRadiuses { topStart?: LengthMetrics; topEnd?: LengthMetrics; bottomStart?: LengthMetrics; bottomEnd?: LengthMetrics; } -declare type OutlineRadiuses = { topLeft?: Dimension, topRight?: Dimension, bottomLeft?: Dimension, bottomRight?: Dimension } -declare type EdgeColors = { top?: ResourceColor, right?: ResourceColor, bottom?: ResourceColor, left?: ResourceColor } +declare interface OutlineRadiuses { + topLeft?: Dimension; + topRight?: Dimension; + bottomLeft?: Dimension; + bottomRight?: Dimension; +} +declare interface EdgeColors { + top?: ResourceColor; + right?: ResourceColor; + bottom?: ResourceColor; + left?: ResourceColor; +} declare interface LocalizedEdgeColors { top?: ResourceColor; end?: ResourceColor; @@ -8364,10 +9369,21 @@ declare interface LocalizedEdgeColors { start?: ResourceColor; } declare type LocalizedMargin = LocalizedPadding; -declare type EdgeOutlineStyles = { top?: OutlineStyle, right?: OutlineStyle, bottom?: OutlineStyle, left?: OutlineStyle } -declare type Offset = { dx: Length, dy: Length } +declare interface EdgeOutlineStyles { + top?: OutlineStyle; + right?: OutlineStyle; + bottom?: OutlineStyle; + left?: OutlineStyle; +} +declare interface Offset { + dx: Length; + dy: Length; +} declare type ResourceColor = (Color|number|string|Resource); -declare type LengthConstrain = { minLength: Length, maxLength: Length } +declare interface LengthConstrain { + minLength: Length; + maxLength: Length; +} declare type VoidCallback = (() => void); declare interface Font { size?: Length; @@ -8446,6 +9462,7 @@ declare interface DividerStyleOptions { color?: ResourceColor; startMargin?: LengthMetrics; endMargin?: LengthMetrics; + mode?: DividerMode; } declare interface ChainWeightOptions { horizontal?: number; @@ -8485,12 +9502,16 @@ declare interface PreparedInfo { declare interface PlaybackInfo { time: number; } +declare interface PosterOptions { + showFirstFrame?: boolean; +} declare interface VideoOptions { src?: (string|Resource); currentProgressRate?: (number|string|PlaybackSpeed); previewUri?: (string|PixelMap|Resource); controller?: VideoController; imageAIOptions?: ImageAIOptions; + posterOptions?: PosterOptions; } declare class VideoController { constructor(); @@ -8527,6 +9548,8 @@ declare class VideoAttribute extends CommonMethod { onStop(value: (() => void)): VideoAttribute; enableAnalyzer(value: boolean): VideoAttribute; analyzerConfig(value: ImageAnalyzerConfig): VideoAttribute; + surfaceBackgroundColor(value: ColorMetrics): VideoAttribute; + enableShortcutKey(value: boolean): VideoAttribute; } declare type OnNavigationEntryCommittedCallback = ((loadCommittedDetails: LoadCommittedDetails) => void); declare type OnSslErrorEventCallback = ((sslErrorEvent: SslErrorEvent) => void); @@ -8618,6 +9641,10 @@ declare enum OverScrollMode { NEVER = 0, ALWAYS = 1, } +declare enum BlurOnKeyboardHideMode { + SILENT = 0, + BLUR = 1, +} declare enum WebDarkMode { OFF = 0, Off = 0, @@ -8699,6 +9726,7 @@ declare class FileSelectorParam { getMode(): FileSelectorMode; getAcceptType(): string[]; isCapture(): boolean; + getMimeTypes(): string[]; } declare class JsResult { constructor(); @@ -8897,6 +9925,7 @@ declare class WebCookie { declare class EventResult { constructor(); setGestureEventResult(result: boolean): void; + setGestureEventResult(result: boolean, stopPropagation: boolean): void; } declare type Literal_String_script_Callback_String_Void_callback_ = { script: string, callback_?: ((breakpoints: string) => void) } declare type Literal_String_baseUrl_data_encoding_historyUrl_mimeType = { data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string } @@ -9227,6 +10256,7 @@ declare class WebAttribute extends CommonMethod { wideViewModeAccess(value: boolean): WebAttribute; overviewModeAccess(value: boolean): WebAttribute; overScrollMode(value: OverScrollMode): WebAttribute; + blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode): WebAttribute; textZoomAtio(value: number): WebAttribute; textZoomRatio(value: number): WebAttribute; databaseAccess(value: boolean): WebAttribute; @@ -9318,7 +10348,6 @@ declare class WebAttribute extends CommonMethod { onOverrideUrlLoading(value: OnOverrideUrlLoadingCallback): WebAttribute; textAutosizing(value: boolean): WebAttribute; enableNativeMediaPlayer(value: NativeMediaPlayerConfig): WebAttribute; - enableSmoothDragResize(value: boolean): WebAttribute; onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback): WebAttribute; onRenderProcessResponding(value: OnRenderProcessRespondingCallback): WebAttribute; selectionMenuOptions(value: ExpandedMenuItemOptions[]): WebAttribute; @@ -9328,6 +10357,13 @@ declare class WebAttribute extends CommonMethod { keyboardAvoidMode(value: WebKeyboardAvoidMode): WebAttribute; editMenuOptions(value: EditMenuOptions): WebAttribute; enableHapticFeedback(value: boolean): WebAttribute; + optimizeParserBudget(value: boolean): WebAttribute; + enableFollowSystemFontWeight(value: boolean): WebAttribute; + enableWebAVSession(value: boolean): WebAttribute; + runJavaScriptOnDocumentStart(value: ScriptItem[]): WebAttribute; + runJavaScriptOnDocumentEnd(value: ScriptItem[]): WebAttribute; + runJavaScriptOnHeadEnd(value: ScriptItem[]): WebAttribute; + nativeEmbedOptions(value: EmbedOptions): WebAttribute; registerNativeEmbedRule(tag: string, type: string): WebAttribute; bindSelectionMenu(elementType: WebElementType, content: CustomBuilder, responseType: WebResponseType, options?: SelectionMenuOptionsExt): WebAttribute; } @@ -9353,6 +10389,9 @@ declare interface NestedScrollOptionsExt { scrollRight?: NestedScrollMode; scrollLeft?: NestedScrollMode; } +declare interface EmbedOptions { + supportDefaultIntrinsicSize?: boolean; +} declare interface WindowSceneInterface { (persistentId: number): WindowSceneAttribute; } @@ -9389,6 +10428,11 @@ declare interface XComponentOptions { type: XComponentType; controller: XComponentController; imageAIOptions?: ImageAIOptions; + screenId?: number; +} +declare interface NativeXComponentParameters { + type: XComponentType; + imageAIOptions?: ImageAIOptions; } declare type Type_XComponentInterface_callable0_value = { id: string, type: string, libraryname?: string, controller?: XComponentController } declare type Type_XComponentInterface_callable1_value = { id: string, type: XComponentType, libraryname?: string, controller?: XComponentController } @@ -9396,6 +10440,7 @@ declare interface XComponentInterface { (value: { id: string, type: string, libraryname?: string, controller?: XComponentController }): XComponentAttribute; (value: { id: string, type: XComponentType, libraryname?: string, controller?: XComponentController }): XComponentAttribute; (options: XComponentOptions): XComponentAttribute; + (params: NativeXComponentParameters): XComponentAttribute; } declare type OnNativeLoadCallback = ((event?: Object) => void); declare class XComponentAttribute extends CommonMethod { @@ -9403,6 +10448,8 @@ declare class XComponentAttribute extends CommonMethod { onDestroy(value: VoidCallback): XComponentAttribute; enableAnalyzer(value: boolean): XComponentAttribute; enableSecure(value: boolean): XComponentAttribute; + hdrBrightness(value: number): XComponentAttribute; + enableTransparentLayer(value: boolean): XComponentAttribute; } declare enum SideBarContainerType { EMBED = 0, @@ -9490,6 +10537,7 @@ declare enum WaterFlowLayoutMode { } declare interface WaterFlowOptions { footer?: CustomBuilder; + footerContent?: ComponentContent; scroller?: Scroller; sections?: WaterFlowSections; layoutMode?: WaterFlowLayoutMode; @@ -9518,11 +10566,16 @@ declare enum DpiFollowStrategy { FOLLOW_HOST_DPI = 0, FOLLOW_UI_EXTENSION_ABILITY_DPI = 1, } +declare enum WindowModeFollowStrategy { + FOLLOW_HOST_WINDOW_MODE = 0, + FOLLOW_UI_EXTENSION_ABILITY_WINDOW_MODE = 1, +} declare interface UIExtensionOptions { isTransferringCaller?: boolean; placeholder?: ComponentContent; areaChangePlaceholder?: Map; dpiFollowStrategy?: DpiFollowStrategy; + windowModeFollowStrategy?: WindowModeFollowStrategy; } declare type Callback_UIExtensionProxy_Void = ((parameter: UIExtensionProxy) => void); declare interface UIExtensionProxy { @@ -9543,6 +10596,7 @@ declare class UIExtensionComponentAttribute extends CommonMethod void)): UIExtensionComponentAttribute; onError(value: ErrorCallback): UIExtensionComponentAttribute; onTerminated(value: ((parameter: TerminationInfo) => void)): UIExtensionComponentAttribute; + onDrawReady(value: (() => void)): UIExtensionComponentAttribute; } declare type Callback_Map_String_Object_Void = ((parameter: Map) => void); declare type Literal_Number_code__want = { code: number, want?: Want } @@ -9551,6 +10605,9 @@ declare interface IsolatedOptions { want: Want; worker: RestrictedWorker; } +declare type StyledStringMarshallingValue = UserDataSpan; +declare type StyledStringMarshallCallback = ((marshallableVal: UserDataSpan) => ArrayBuffer); +declare type StyledStringUnmarshallCallback = ((buf: ArrayBuffer) => UserDataSpan); declare class StyledString { constructor(value: (string|ImageAttachment|CustomSpan), styles?: StyleOptions[]); readonly length: number; @@ -9560,7 +10617,9 @@ declare class StyledString { subStyledString(start: number, length?: number): StyledString; static fromHtml(html: string): Promise; static toHtml(styledString: StyledString): string; + static marshalling(styledString: StyledString, callback_: StyledStringMarshallCallback): ArrayBuffer; static marshalling(styledString: StyledString): ArrayBuffer; + static unmarshalling(buffer: ArrayBuffer, callback_: StyledStringUnmarshallCallback): Promise; static unmarshalling(buffer: ArrayBuffer): Promise; } declare interface StyleOptions { @@ -9632,6 +10691,7 @@ declare class ParagraphStyle { readonly overflow?: TextOverflow; readonly wordBreak?: WordBreak; readonly leadingMargin?: (number|LeadingMarginPlaceholder); + readonly paragraphSpacing?: number; } declare interface ParagraphStyleInterface { textAlign?: TextAlign; @@ -9640,6 +10700,7 @@ declare interface ParagraphStyleInterface { overflow?: TextOverflow; wordBreak?: WordBreak; leadingMargin?: (LengthMetrics|LeadingMarginPlaceholder); + paragraphSpacing?: LengthMetrics; } declare class LineHeightStyle { constructor(lineHeight: LengthMetrics); @@ -9680,11 +10741,22 @@ declare enum StyledStringKey { } declare class ImageAttachment { constructor(value: ImageAttachmentInterface); + constructor(attachment: AttachmentType | undefined); readonly value: PixelMap; readonly size?: SizeOptions; readonly verticalAlign?: ImageSpanAlignment; readonly objectFit?: ImageFit; readonly layoutStyle?: ImageAttachmentLayoutStyle; + readonly colorFilter?: ColorFilterType; +} +declare interface ResourceImageAttachmentOptions { + resourceValue: ResourceStr | undefined; + size?: SizeOptions; + verticalAlign?: ImageSpanAlignment; + objectFit?: ImageFit; + layoutStyle?: ImageAttachmentLayoutStyle; + colorFilter?: ColorFilterType; + syncLoad?: boolean; } declare interface ImageAttachmentInterface { value: PixelMap; @@ -9692,7 +10764,10 @@ declare interface ImageAttachmentInterface { verticalAlign?: ImageSpanAlignment; objectFit?: ImageFit; layoutStyle?: ImageAttachmentLayoutStyle; + colorFilter?: ColorFilterType; } +declare type AttachmentType = (ImageAttachmentInterface|ResourceImageAttachmentOptions); +declare type ColorFilterType = (ColorFilter|DrawingColorFilter); declare interface ImageAttachmentLayoutStyle { margin?: (LengthMetrics|Padding); padding?: (LengthMetrics|Padding); @@ -9839,6 +10914,8 @@ declare const ImageSpan: ImageSpanInterface declare const ImageSpanInstance: ImageSpanAttribute declare const IndicatorComponent: IndicatorComponentInterface declare const IndicatorComponentInstance: IndicatorComponentAttribute +declare const LazyVGridLayout: LazyVGridLayoutInterface +declare const LazyVGridLayoutInstance: LazyVGridLayoutAttribute declare const Line: LineInterface declare const LineInstance: LineAttribute declare const LinearIndicator: LinearIndicatorInterface diff --git a/arkoala-arkts/framework/native/src/generated/Serializers.h b/arkoala-arkts/framework/native/src/generated/Serializers.h index 1f8c253b31..ca937b4a92 100644 --- a/arkoala-arkts/framework/native/src/generated/Serializers.h +++ b/arkoala-arkts/framework/native/src/generated/Serializers.h @@ -61,6 +61,37 @@ inline Ark_RuntimeType runtimeType(const Opt_AccessibilityCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const AccessibilityFocusCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const AccessibilityFocusCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AccessibilityFocusCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AccessibilityFocusCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_AccessibilityHoverType& value) { return INTEROP_RUNTIME_NUMBER; @@ -90,6 +121,64 @@ inline Ark_RuntimeType runtimeType(const Opt_AccessibilityHoverType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_AccessibilityRoleType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_AccessibilityRoleType value) { + result->append("Ark_AccessibilityRoleType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AccessibilityRoleType* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AccessibilityRoleType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_AccessibilitySamePageMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_AccessibilitySamePageMode value) { + result->append("Ark_AccessibilitySamePageMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AccessibilitySamePageMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AccessibilitySamePageMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_AdaptiveColor& value) { return INTEROP_RUNTIME_NUMBER; @@ -377,6 +466,64 @@ inline Ark_RuntimeType runtimeType(const Opt_ArrowPosition& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_AutoCapitalizationMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_AutoCapitalizationMode value) { + result->append("Ark_AutoCapitalizationMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AutoCapitalizationMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AutoCapitalizationMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_AvoidanceMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_AvoidanceMode value) { + result->append("Ark_AvoidanceMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AvoidanceMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AvoidanceMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Axis& value) { return INTEROP_RUNTIME_NUMBER; @@ -406,6 +553,64 @@ inline Ark_RuntimeType runtimeType(const Opt_Axis& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_AxisAction& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_AxisAction value) { + result->append("Ark_AxisAction("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AxisAction* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AxisAction& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_AxisModel& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_AxisModel value) { + result->append("Ark_AxisModel("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AxisModel* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AxisModel& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_BadgePosition& value) { return INTEROP_RUNTIME_NUMBER; @@ -665,6 +870,35 @@ inline Ark_RuntimeType runtimeType(const Opt_BlendMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_BlurOnKeyboardHideMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_BlurOnKeyboardHideMode value) { + result->append("Ark_BlurOnKeyboardHideMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_BlurOnKeyboardHideMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_BlurOnKeyboardHideMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_BlurStyle& value) { return INTEROP_RUNTIME_NUMBER; @@ -1336,6 +1570,34 @@ inline Ark_RuntimeType runtimeType(const Opt_Color& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ColorContent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ColorContent* value) { + result->append("{"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ColorContent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ColorContent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_ColorFilter& value) { return INTEROP_RUNTIME_OBJECT; @@ -1789,6 +2051,64 @@ inline Ark_RuntimeType runtimeType(const Opt_CopyOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_CrownAction& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_CrownAction value) { + result->append("Ark_CrownAction("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CrownAction* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CrownAction& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_CrownSensitivity& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_CrownSensitivity value) { + result->append("Ark_CrownSensitivity("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CrownSensitivity* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CrownSensitivity& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Curve& value) { return INTEROP_RUNTIME_NUMBER; @@ -1966,6 +2286,35 @@ inline Ark_RuntimeType runtimeType(const Opt_Date& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_DatePickerMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_DatePickerMode value) { + result->append("Ark_DatePickerMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DatePickerMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DatePickerMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_DialogAlignment& value) { return INTEROP_RUNTIME_NUMBER; @@ -2169,6 +2518,35 @@ inline Ark_RuntimeType runtimeType(const Opt_DisturbanceFieldShape& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_DividerMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_DividerMode value) { + result->append("Ark_DividerMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DividerMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DividerMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_DpiFollowStrategy& value) { return INTEROP_RUNTIME_NUMBER; @@ -2254,6 +2632,35 @@ inline Ark_RuntimeType runtimeType(const Opt_DragEvent& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_DraggingSizeChangeEffect& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_DraggingSizeChangeEffect value) { + result->append("Ark_DraggingSizeChangeEffect("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DraggingSizeChangeEffect* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DraggingSizeChangeEffect& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_DragPreviewMode& value) { return INTEROP_RUNTIME_NUMBER; @@ -2534,25 +2941,23 @@ inline Ark_RuntimeType runtimeType(const Opt_EdgeEffect& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EdgeEffectOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_EditMode& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_EdgeEffectOptions* value) { - result->append("{"); - // Ark_Boolean alwaysEnabled - result->append(".alwaysEnabled="); - WriteToString(result, value->alwaysEnabled); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_EditMode value) { + result->append("Ark_EditMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_EdgeEffectOptions* value) { +inline void WriteToString(std::string* result, const Opt_EditMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -2560,23 +2965,23 @@ inline void WriteToString(std::string* result, const Opt_EdgeEffectOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EdgeEffectOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_EditMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EditMode& value) +inline Ark_RuntimeType runtimeType(const Ark_EffectDirection& value) { return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_EditMode value) { - result->append("Ark_EditMode("); +inline void WriteToString(std::string* result, const Ark_EffectDirection value) { + result->append("Ark_EffectDirection("); WriteToString(result, (Ark_Int32) value); result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_EditMode* value) { +inline void WriteToString(std::string* result, const Opt_EffectDirection* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -2589,23 +2994,23 @@ inline void WriteToString(std::string* result, const Opt_EditMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EditMode& value) +inline Ark_RuntimeType runtimeType(const Opt_EffectDirection& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EffectDirection& value) +inline Ark_RuntimeType runtimeType(const Ark_EffectEdge& value) { return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_EffectDirection value) { - result->append("Ark_EffectDirection("); +inline void WriteToString(std::string* result, const Ark_EffectEdge value) { + result->append("Ark_EffectEdge("); WriteToString(result, (Ark_Int32) value); result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_EffectDirection* value) { +inline void WriteToString(std::string* result, const Opt_EffectEdge* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -2618,7 +3023,7 @@ inline void WriteToString(std::string* result, const Opt_EffectDirection* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EffectDirection& value) +inline Ark_RuntimeType runtimeType(const Opt_EffectEdge& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -3185,6 +3590,35 @@ inline Ark_RuntimeType runtimeType(const Opt_FlyMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_FocusDrawLevel& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_FocusDrawLevel value) { + result->append("Ark_FocusDrawLevel("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FocusDrawLevel* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FocusDrawLevel& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_FocusPriority& value) { return INTEROP_RUNTIME_NUMBER; @@ -4065,6 +4499,35 @@ inline Ark_RuntimeType runtimeType(const Opt_GridRowDirection& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_HapticFeedbackMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_HapticFeedbackMode value) { + result->append("Ark_HapticFeedbackMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_HapticFeedbackMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_HapticFeedbackMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_HeightBreakpoint& value) { return INTEROP_RUNTIME_NUMBER; @@ -4551,6 +5014,35 @@ inline Ark_RuntimeType runtimeType(const Opt_ImageRepeat& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageRotateOrientation& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageRotateOrientation value) { + result->append("Ark_ImageRotateOrientation("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ImageRotateOrientation* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ImageRotateOrientation& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_ImageSize& value) { return INTEROP_RUNTIME_NUMBER; @@ -4746,6 +5238,35 @@ inline Ark_RuntimeType runtimeType(const Opt_IntentionCode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_InteractionHand& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_InteractionHand value) { + result->append("Ark_InteractionHand("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_InteractionHand* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_InteractionHand& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_ItemAlign& value) { return INTEROP_RUNTIME_NUMBER; @@ -4858,6 +5379,35 @@ inline Ark_RuntimeType runtimeType(const Opt_JsResult& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_KeyboardAppearance& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_KeyboardAppearance value) { + result->append("Ark_KeyboardAppearance("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_KeyboardAppearance* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_KeyboardAppearance& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_KeyboardAvoidMode& value) { return INTEROP_RUNTIME_NUMBER; @@ -4887,6 +5437,35 @@ inline Ark_RuntimeType runtimeType(const Opt_KeyboardAvoidMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_KeyProcessingMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_KeyProcessingMode value) { + result->append("Ark_KeyProcessingMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_KeyProcessingMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_KeyProcessingMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_KeySource& value) { return INTEROP_RUNTIME_NUMBER; @@ -5086,6 +5665,34 @@ inline Ark_RuntimeType runtimeType(const Opt_LayoutMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_LayoutPolicy& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LayoutPolicy* value) { + result->append("{"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LayoutPolicy* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LayoutPolicy& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_LayoutSafeAreaEdge& value) { return INTEROP_RUNTIME_NUMBER; @@ -5847,18 +6454,45 @@ inline Ark_RuntimeType runtimeType(const Opt_LongPressGestureInterface& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MarqueeUpdateStrategy& value) +inline Ark_RuntimeType runtimeType(const Ark_LongPressRecognizer& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LongPressRecognizer value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_LongPressRecognizer* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LongPressRecognizer& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_MarqueeStartPolicy& value) { return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_MarqueeUpdateStrategy value) { - result->append("Ark_MarqueeUpdateStrategy("); +inline void WriteToString(std::string* result, const Ark_MarqueeStartPolicy value) { + result->append("Ark_MarqueeStartPolicy("); WriteToString(result, (Ark_Int32) value); result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_MarqueeUpdateStrategy* value) { +inline void WriteToString(std::string* result, const Opt_MarqueeStartPolicy* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -5871,21 +6505,23 @@ inline void WriteToString(std::string* result, const Opt_MarqueeUpdateStrategy* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MarqueeUpdateStrategy& value) +inline Ark_RuntimeType runtimeType(const Opt_MarqueeStartPolicy& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Matrix4Transit& value) +inline Ark_RuntimeType runtimeType(const Ark_MarqueeState& value) { - return INTEROP_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_Matrix4Transit value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_MarqueeState value) { + result->append("Ark_MarqueeState("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_Matrix4Transit* value) { +inline void WriteToString(std::string* result, const Opt_MarqueeState* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -5898,21 +6534,50 @@ inline void WriteToString(std::string* result, const Opt_Matrix4Transit* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Matrix4Transit& value) +inline Ark_RuntimeType runtimeType(const Opt_MarqueeState& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Measurable& value) +inline Ark_RuntimeType runtimeType(const Ark_MarqueeUpdateStrategy& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_MarqueeUpdateStrategy value) { + result->append("Ark_MarqueeUpdateStrategy("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_MarqueeUpdateStrategy* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_MarqueeUpdateStrategy& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Matrix4Transit& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Measurable value) { +inline void WriteToString(std::string* result, const Ark_Matrix4Transit value) { WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_Measurable* value) { +inline void WriteToString(std::string* result, const Opt_Matrix4Transit* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -5925,7 +6590,7 @@ inline void WriteToString(std::string* result, const Opt_Measurable* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Measurable& value) +inline Ark_RuntimeType runtimeType(const Opt_Matrix4Transit& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -6365,6 +7030,35 @@ inline Ark_RuntimeType runtimeType(const Opt_NavBarPosition& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_NavDestinationActiveReason& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_NavDestinationActiveReason value) { + result->append("Ark_NavDestinationActiveReason("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NavDestinationActiveReason* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_NavDestinationActiveReason& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_NavDestinationAttribute& value) { return INTEROP_RUNTIME_OBJECT; @@ -7397,6 +8091,35 @@ inline Ark_RuntimeType runtimeType(const Opt_OverScrollMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PageFlipMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_PageFlipMode value) { + result->append("Ark_PageFlipMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PageFlipMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PageFlipMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_PanDirection& value) { return INTEROP_RUNTIME_NUMBER; @@ -7990,6 +8713,33 @@ inline Ark_RuntimeType runtimeType(const Opt_PinchGestureInterface& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PinchRecognizer& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PinchRecognizer value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_PinchRecognizer* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PinchRecognizer& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_PixelMap& value) { return INTEROP_RUNTIME_OBJECT; @@ -8100,6 +8850,35 @@ inline Ark_RuntimeType runtimeType(const Opt_PixelRoundCalcPolicy& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PixelRoundMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_PixelRoundMode value) { + result->append("Ark_PixelRoundMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PixelRoundMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PixelRoundMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Placement& value) { return INTEROP_RUNTIME_NUMBER; @@ -8247,6 +9026,37 @@ inline Ark_RuntimeType runtimeType(const Opt_PointerStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PopupStateChangeParam& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PopupStateChangeParam* value) { + result->append("{"); + // Ark_Boolean isVisible + result->append(".isVisible="); + WriteToString(result, value->isVisible); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PopupStateChangeParam* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PopupStateChangeParam& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_PositionWithAffinity& value) { return INTEROP_RUNTIME_OBJECT; @@ -9366,6 +10176,33 @@ inline Ark_RuntimeType runtimeType(const Opt_RotationGestureInterface& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_RotationRecognizer& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RotationRecognizer value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_RotationRecognizer* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RotationRecognizer& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_RouteType& value) { return INTEROP_RUNTIME_NUMBER; @@ -11349,6 +12186,35 @@ inline Ark_RuntimeType runtimeType(const Opt_SwiperAnimationEvent& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_SwiperAnimationMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_SwiperAnimationMode value) { + result->append("Ark_SwiperAnimationMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SwiperAnimationMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SwiperAnimationMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_SwiperAttribute& value) { return INTEROP_RUNTIME_OBJECT; @@ -11404,6 +12270,45 @@ inline Ark_RuntimeType runtimeType(const Opt_SwiperContentTransitionProxy& value return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_SwiperContentWillScrollResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SwiperContentWillScrollResult* value) { + result->append("{"); + // Ark_Number currentIndex + result->append(".currentIndex="); + WriteToString(result, &value->currentIndex); + // Ark_Number comingIndex + result->append(", "); + result->append(".comingIndex="); + WriteToString(result, &value->comingIndex); + // Ark_Number offset + result->append(", "); + result->append(".offset="); + WriteToString(result, &value->offset); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SwiperContentWillScrollResult* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SwiperContentWillScrollResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_SwiperController& value) { return INTEROP_RUNTIME_OBJECT; @@ -11460,6 +12365,33 @@ inline Ark_RuntimeType runtimeType(const Opt_SwiperDisplayMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_SwipeRecognizer& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SwipeRecognizer value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_SwipeRecognizer* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SwipeRecognizer& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_SwiperNestedScrollMode& value) { return INTEROP_RUNTIME_NUMBER; @@ -11724,6 +12656,35 @@ inline Ark_RuntimeType runtimeType(const Opt_TabsAttribute& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_TabsCacheMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_TabsCacheMode value) { + result->append("Ark_TabsCacheMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TabsCacheMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TabsCacheMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_TabsController& value) { return INTEROP_RUNTIME_OBJECT; @@ -11778,6 +12739,33 @@ inline Ark_RuntimeType runtimeType(const Opt_TapGestureInterface& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_TapRecognizer& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TapRecognizer value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_TapRecognizer* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TapRecognizer& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_TextAlign& value) { return INTEROP_RUNTIME_NUMBER; @@ -12426,6 +13414,35 @@ inline Ark_RuntimeType runtimeType(const Opt_TextMenuItemId& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_TextMenuShowMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_TextMenuShowMode value) { + result->append("Ark_TextMenuShowMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextMenuShowMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TextMenuShowMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_TextMetrics& value) { return INTEROP_RUNTIME_OBJECT; @@ -14713,6 +15730,51 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_CanvasGradient_ return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_SwiperAnimationMode_Boolean& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_SwiperAnimationMode_Boolean: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_SwiperAnimationMode_Boolean* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_SwiperAnimationMode + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_Boolean + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_SwiperAnimationMode_Boolean* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_SwiperAnimationMode_Boolean& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_TextInputStyle_TextContentStyle& value) { switch (value.selector) { @@ -15823,6 +16885,35 @@ inline Ark_RuntimeType runtimeType(const Opt_WindowAnimationTarget& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_WindowModeFollowStrategy& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_WindowModeFollowStrategy value) { + result->append("Ark_WindowModeFollowStrategy("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WindowModeFollowStrategy* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WindowModeFollowStrategy& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_WindowSceneAttribute& value) { return INTEROP_RUNTIME_OBJECT; @@ -16273,6 +17364,86 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_common2D_Point& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_DateRange& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_DateRange* value); + +template <> +inline void WriteToString(std::string* result, const Array_DateRange* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, (const Ark_DateRange*)&value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_DateRange* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_DateRange& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Array_Dimension& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_Dimension* value); + +template <> +inline void WriteToString(std::string* result, const Array_Dimension* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, (const Ark_Dimension*)&value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_Dimension* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_Dimension& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Array_DragPreviewMode& value) { return INTEROP_RUNTIME_OBJECT; @@ -16873,6 +18044,86 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_LayoutSafeAreaType& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_Length& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_Length* value); + +template <> +inline void WriteToString(std::string* result, const Array_Length* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, (const Ark_Length*)&value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_Length* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_Length& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Array_LengthMetrics& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_LengthMetrics value); + +template <> +inline void WriteToString(std::string* result, const Array_LengthMetrics* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_LengthMetrics* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_LengthMetrics& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Array_LocalizedBarrierStyle& value) { return INTEROP_RUNTIME_OBJECT; @@ -16993,6 +18244,86 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_ModifierKey& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_MouseButton& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_MouseButton value); + +template <> +inline void WriteToString(std::string* result, const Array_MouseButton* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_MouseButton* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_MouseButton& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Array_NavDestinationTransition& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_NavDestinationTransition* value); + +template <> +inline void WriteToString(std::string* result, const Array_NavDestinationTransition* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, (const Ark_NavDestinationTransition*)&value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_NavDestinationTransition* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_NavDestinationTransition& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Array_NavigationMenuItem& value) { return INTEROP_RUNTIME_OBJECT; @@ -17033,6 +18364,86 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_NavigationMenuItem& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_NavPathInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_NavPathInfo value); + +template <> +inline void WriteToString(std::string* result, const Array_NavPathInfo* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_NavPathInfo* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_NavPathInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Array_NestedScrollInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_NestedScrollInfo* value); + +template <> +inline void WriteToString(std::string* result, const Array_NestedScrollInfo* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, (const Ark_NestedScrollInfo*)&value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_NestedScrollInfo* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_NestedScrollInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Array_Number& value) { return INTEROP_RUNTIME_OBJECT; @@ -17153,6 +18564,46 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_ObscuredReasons& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_Opt_Object& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Opt_Object* value); + +template <> +inline void WriteToString(std::string* result, const Array_Opt_Object* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, (const Opt_Object*)&value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_Opt_Object* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_Opt_Object& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Array_PixelMap& value) { return INTEROP_RUNTIME_OBJECT; @@ -17593,6 +19044,46 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_ScriptItem& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_Scroller& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_Scroller value); + +template <> +inline void WriteToString(std::string* result, const Array_Scroller* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_Scroller* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_Scroller& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Array_SectionOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -18553,46 +20044,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_Union_RichEditorTextSpanResul return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Array_Union_String_Number_Resource& value) -{ - return INTEROP_RUNTIME_OBJECT; -} - -template <> -void WriteToString(std::string* result, const Ark_Union_String_Number_Resource* value); - -template <> -inline void WriteToString(std::string* result, const Array_Union_String_Number_Resource* value) { - int32_t count = value->length; - result->append("{.array=allocArray({{"); - for (int i = 0; i < count; i++) { - if (i > 0) result->append(", "); - WriteToString(result, (const Ark_Union_String_Number_Resource*)&value->array[i]); - } - result->append("}})"); - result->append(", .length="); - result->append(std::to_string(value->length)); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Array_Union_String_Number_Resource* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_Union_String_Number_Resource& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Array_WebHeader& value) { return INTEROP_RUNTIME_OBJECT; @@ -18943,6 +20394,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_Array_TouchTestInfo_TouchR return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_AxisEvent_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_AxisEvent_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_AxisEvent_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_AxisEvent_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_Boolean& value) { return INTEROP_RUNTIME_OBJECT; @@ -19036,43 +20518,12 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_Boolean_Void& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_CalendarRequestedData_Void& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_CalendarRequestedData_Void* value) { - result->append("{"); - result->append(".resource="); - WriteToString(result, &value->resource); - result->append(", .call=0"); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Callback_CalendarRequestedData_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_CalendarRequestedData_Void& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_CalendarSelectedDate_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_Buffer_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_CalendarSelectedDate_Void* value) { +inline void WriteToString(std::string* result, const Callback_Buffer_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -19080,7 +20531,7 @@ inline void WriteToString(std::string* result, const Callback_CalendarSelectedDa result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_CalendarSelectedDate_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Buffer_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19093,17 +20544,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_CalendarSelect result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_CalendarSelectedDate_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Buffer_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_ClickEvent_LocationButtonOnClickResult_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_CalendarRequestedData_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_ClickEvent_LocationButtonOnClickResult_Void* value) { +inline void WriteToString(std::string* result, const Callback_CalendarRequestedData_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -19111,7 +20562,7 @@ inline void WriteToString(std::string* result, const Callback_ClickEvent_Locatio result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_LocationButtonOnClickResult_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_CalendarRequestedData_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19124,17 +20575,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Loc result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_ClickEvent_LocationButtonOnClickResult_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_CalendarRequestedData_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_ClickEvent_PasteButtonOnClickResult_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_CalendarSelectedDate_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_ClickEvent_PasteButtonOnClickResult_Void* value) { +inline void WriteToString(std::string* result, const Callback_CalendarSelectedDate_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -19142,7 +20593,7 @@ inline void WriteToString(std::string* result, const Callback_ClickEvent_PasteBu result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_PasteButtonOnClickResult_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_CalendarSelectedDate_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19155,17 +20606,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Pas result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_ClickEvent_PasteButtonOnClickResult_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_CalendarSelectedDate_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_ClickEvent_SaveButtonOnClickResult_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_ClickEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_ClickEvent_SaveButtonOnClickResult_Void* value) { +inline void WriteToString(std::string* result, const Callback_ClickEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -19173,7 +20624,7 @@ inline void WriteToString(std::string* result, const Callback_ClickEvent_SaveBut result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_SaveButtonOnClickResult_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19186,17 +20637,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Sav result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_ClickEvent_SaveButtonOnClickResult_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_ClickEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_ClickEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_ComputedBarAttribute_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_ClickEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_ComputedBarAttribute_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -19204,7 +20655,7 @@ inline void WriteToString(std::string* result, const Callback_ClickEvent_Void* v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_ComputedBarAttribute_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19217,17 +20668,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Voi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_ClickEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_ComputedBarAttribute_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_ComputedBarAttribute_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_CopyEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_ComputedBarAttribute_Void* value) { +inline void WriteToString(std::string* result, const Callback_CopyEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -19235,7 +20686,7 @@ inline void WriteToString(std::string* result, const Callback_ComputedBarAttribu result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_ComputedBarAttribute_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_CopyEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19248,17 +20699,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_ComputedBarAtt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_ComputedBarAttribute_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_CopyEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_CopyEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_CrownEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_CopyEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_CrownEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -19266,7 +20717,7 @@ inline void WriteToString(std::string* result, const Callback_CopyEvent_Void* va result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_CopyEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_CrownEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -19279,7 +20730,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_CopyEvent_Void result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_CopyEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_CrownEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -19718,6 +21169,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_DrawContext_CustomSpanDraw return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_EditableTextChangeValue_Boolean& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_EditableTextChangeValue_Boolean* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_EditableTextChangeValue_Boolean* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_EditableTextChangeValue_Boolean& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_EnterKeyType_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -19811,6 +21293,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_Extender_OnProgress& value return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_FocusAxisEvent_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_FocusAxisEvent_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_FocusAxisEvent_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_FocusAxisEvent_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_FormCallbackInfo_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -20028,6 +21541,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_HitTestMode_Void& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_HoverEvent_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_HoverEvent_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_HoverEvent_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_HoverEvent_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_InsertValue_Boolean& value) { return INTEROP_RUNTIME_OBJECT; @@ -20524,6 +22068,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_Map_String_Object_Void& va return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_MarqueeState_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_MarqueeState_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_MarqueeState_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_MarqueeState_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_MouseEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -20617,6 +22192,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_NativeEmbedTouchInfo_Void& return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_NavDestinationActiveReason_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_NavDestinationActiveReason_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_NavDestinationActiveReason_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_NavDestinationActiveReason_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_NavDestinationContext_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -21113,6 +22719,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Void& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_Object_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_Object_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_Object_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_Object_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_OffsetResult_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -22291,6 +23928,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_OnWindowNewEvent_Void& val return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_Opt_Array_NavDestinationTransition_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_Opt_Array_NavDestinationTransition_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_NavDestinationTransition_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_Array_NavDestinationTransition_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_Opt_Array_String_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -23004,12 +24672,12 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_String_Number_Void& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_String_PasteEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_String_Opt_Object_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_String_PasteEvent_Void* value) { +inline void WriteToString(std::string* result, const Callback_String_Opt_Object_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23017,7 +24685,7 @@ inline void WriteToString(std::string* result, const Callback_String_PasteEvent_ result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_String_PasteEvent_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_String_Opt_Object_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -23030,17 +24698,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_PasteEv result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_String_PasteEvent_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_String_Opt_Object_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_String_SurfaceRect_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_String_PasteEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_String_SurfaceRect_Void* value) { +inline void WriteToString(std::string* result, const Callback_String_PasteEvent_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23048,7 +24716,7 @@ inline void WriteToString(std::string* result, const Callback_String_SurfaceRect result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_String_SurfaceRect_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_String_PasteEvent_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -23061,17 +24729,17 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_Surface result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_String_SurfaceRect_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_String_PasteEvent_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_String_Unknown_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_String_SurfaceRect_Void& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_String_Unknown_Void* value) { +inline void WriteToString(std::string* result, const Callback_String_SurfaceRect_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -23079,7 +24747,7 @@ inline void WriteToString(std::string* result, const Callback_String_Unknown_Voi result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_String_Unknown_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_String_SurfaceRect_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -23092,7 +24760,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_Unknown result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_String_Unknown_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_String_SurfaceRect_Void& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -23159,6 +24827,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_StyledStringChangeValue_Bo return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_StyledStringMarshallingValue_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_StyledStringMarshallingValue_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_StyledStringMarshallingValue_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_StyledStringMarshallingValue_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_SwipeActionState_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -23903,6 +25602,37 @@ inline Ark_RuntimeType runtimeType(const Opt_ContentDidScrollCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const ContentWillScrollCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const ContentWillScrollCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ContentWillScrollCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ContentWillScrollCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Context_getGroupDir_Callback& value) { return INTEROP_RUNTIME_OBJECT; @@ -24337,6 +26067,76 @@ inline Ark_RuntimeType runtimeType(const Opt_ListAttribute_onItemDragStart_event return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const LocationButtonCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const LocationButtonCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LocationButtonCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LocationButtonCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Map_AxisModel_Number& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +void WriteToString(std::string* result, const Ark_AxisModel value); +template <> +void WriteToString(std::string* result, const Ark_Number* value); +template <> +inline void WriteToString(std::string* result, const Map_AxisModel_Number* value) { + result->append("{"); + int32_t count = value->size; + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, value->keys[i]); + result->append(": "); + WriteToString(result, (const Ark_Number*)&value->values[i]); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Map_AxisModel_Number* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Map_AxisModel_Number& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Map_Number_RunMetrics& value) { return INTEROP_RUNTIME_OBJECT; @@ -24594,6 +26394,37 @@ inline Ark_RuntimeType runtimeType(const Opt_MenuOnAppearCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const NavDestinationTransitionDelegate& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const NavDestinationTransitionDelegate* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NavDestinationTransitionDelegate* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_NavDestinationTransitionDelegate& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const NavExtender_OnUpdateStack& value) { return INTEROP_RUNTIME_OBJECT; @@ -24904,6 +26735,37 @@ inline Ark_RuntimeType runtimeType(const Opt_OnDidChangeCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const OnDragEventCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const OnDragEventCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnDragEventCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_OnDragEventCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const OnFirstMeaningfulPaintCallback& value) { return INTEROP_RUNTIME_OBJECT; @@ -25338,6 +27200,68 @@ inline Ark_RuntimeType runtimeType(const Opt_OnPasteCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const OnRadioChangeCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const OnRadioChangeCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnRadioChangeCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_OnRadioChangeCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const OnRatingChangeCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const OnRatingChangeCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnRatingChangeCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_OnRatingChangeCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const OnRenderProcessNotRespondingCallback& value) { return INTEROP_RUNTIME_OBJECT; @@ -25555,6 +27479,37 @@ inline Ark_RuntimeType runtimeType(const Opt_OnScrollVisibleContentChangeCallbac return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const OnSelectCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const OnSelectCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnSelectCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_OnSelectCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const OnSslErrorEventCallback& value) { return INTEROP_RUNTIME_OBJECT; @@ -25834,6 +27789,37 @@ inline Ark_RuntimeType runtimeType(const Opt_OnTabsGestureSwipeCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const OnTextPickerChangeCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const OnTextPickerChangeCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnTextPickerChangeCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_OnTextPickerChangeCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const OnTextSelectionChangeCallback& value) { return INTEROP_RUNTIME_OBJECT; @@ -25865,6 +27851,37 @@ inline Ark_RuntimeType runtimeType(const Opt_OnTextSelectionChangeCallback& valu return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const OnTimePickerChangeCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const OnTimePickerChangeCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OnTimePickerChangeCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_OnTimePickerChangeCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const OnViewportFitChangedCallback& value) { return INTEROP_RUNTIME_OBJECT; @@ -25927,6 +27944,37 @@ inline Ark_RuntimeType runtimeType(const Opt_PageTransitionCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const PasteButtonCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const PasteButtonCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PasteButtonCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PasteButtonCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const PasteEventCallback& value) { return INTEROP_RUNTIME_OBJECT; @@ -25989,6 +28037,37 @@ inline Ark_RuntimeType runtimeType(const Opt_PluginErrorCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const PopupStateChangeCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const PopupStateChangeCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PopupStateChangeCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PopupStateChangeCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Profiler_Callback_String_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -26144,6 +28223,68 @@ inline Ark_RuntimeType runtimeType(const Opt_RestrictedWorker_onmessage_Callback return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const ReuseIdCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const ReuseIdCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ReuseIdCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ReuseIdCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const SaveButtonCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const SaveButtonCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SaveButtonCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SaveButtonCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const ScrollOnScrollCallback& value) { return INTEROP_RUNTIME_OBJECT; @@ -26330,6 +28471,68 @@ inline Ark_RuntimeType runtimeType(const Opt_SliderTriggerChangeCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const StyledStringMarshallCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const StyledStringMarshallCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_StyledStringMarshallCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_StyledStringMarshallCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const StyledStringUnmarshallCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const StyledStringUnmarshallCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_StyledStringUnmarshallCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_StyledStringUnmarshallCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const SubmitCallback& value) { return INTEROP_RUNTIME_OBJECT; @@ -26423,6 +28626,68 @@ inline Ark_RuntimeType runtimeType(const Opt_TextAreaSubmitCallback& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const TextPickerEnterSelectedAreaCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const TextPickerEnterSelectedAreaCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextPickerEnterSelectedAreaCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TextPickerEnterSelectedAreaCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const TextPickerScrollStopCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const TextPickerScrollStopCallback* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextPickerScrollStopCallback* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TextPickerScrollStopCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const TextTimerAttribute_onTimer_event_type& value) { return INTEROP_RUNTIME_OBJECT; @@ -26966,6 +29231,37 @@ inline Ark_RuntimeType runtimeType(const Opt_ASTCResource& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_AutoPlayOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_AutoPlayOptions* value) { + result->append("{"); + // Ark_Boolean stopWhenTouched + result->append(".stopWhenTouched="); + WriteToString(result, value->stopWhenTouched); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AutoPlayOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AutoPlayOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_BackgroundBrightnessOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -27001,6 +29297,41 @@ inline Ark_RuntimeType runtimeType(const Opt_BackgroundBrightnessOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_BackgroundImageOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_BackgroundImageOptions* value) { + result->append("{"); + // Ark_Boolean syncLoad + result->append(".syncLoad="); + WriteToString(result, &value->syncLoad); + // Ark_ImageRepeat repeat + result->append(", "); + result->append(".repeat="); + WriteToString(result, &value->repeat); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_BackgroundImageOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_BackgroundImageOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_BarrierStyle& value) { return INTEROP_RUNTIME_OBJECT; @@ -27606,60 +29937,6 @@ inline Ark_RuntimeType runtimeType(const Opt_CancelButtonSymbolOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CanvasRenderer& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_CanvasRenderer value) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_CanvasRenderer* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_CanvasRenderer& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_CanvasRenderingContext2D& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_CanvasRenderingContext2D value) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_CanvasRenderingContext2D* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_CanvasRenderingContext2D& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_CaretOffset& value) { return INTEROP_RUNTIME_OBJECT; @@ -28006,6 +30283,51 @@ inline Ark_RuntimeType runtimeType(const Opt_CloseSwipeActionOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ColorFilterType& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_ColorFilterType: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_ColorFilterType* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_ColorFilter + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_DrawingColorFilter + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ColorFilterType* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ColorFilterType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_ColorMetrics& value) { return INTEROP_RUNTIME_OBJECT; @@ -28064,6 +30386,37 @@ inline Ark_RuntimeType runtimeType(const Opt_ColumnOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ColumnOptionsV2& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ColumnOptionsV2* value) { + result->append("{"); + // Ark_String stub + result->append(".stub="); + WriteToString(result, &value->stub); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ColumnOptionsV2* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ColumnOptionsV2& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_CommandPath& value) { return INTEROP_RUNTIME_OBJECT; @@ -28208,6 +30561,37 @@ inline Ark_RuntimeType runtimeType(const Opt_CommonConfiguration& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_CommonModifier& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CommonModifier* value) { + result->append("{"); + // Ark_String _CommonModifierStub + result->append("._CommonModifierStub="); + WriteToString(result, &value->_CommonModifierStub); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CommonModifier* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CommonModifier& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_ComputedBarAttribute& value) { return INTEROP_RUNTIME_OBJECT; @@ -28344,6 +30728,53 @@ inline Ark_RuntimeType runtimeType(const Opt_CornerRadius& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_CrownEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CrownEvent* value) { + result->append("{"); + // Ark_Int64 timestamp + result->append(".timestamp="); + WriteToString(result, value->timestamp); + // Ark_Number angularVelocity + result->append(", "); + result->append(".angularVelocity="); + WriteToString(result, &value->angularVelocity); + // Ark_Number degree + result->append(", "); + result->append(".degree="); + WriteToString(result, &value->degree); + // Ark_CrownAction action + result->append(", "); + result->append(".action="); + WriteToString(result, value->action); + // Callback_Void stopPropagation + result->append(", "); + result->append(".stopPropagation="); + WriteToString(result, &value->stopPropagation); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CrownEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CrownEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_CustomDialogBuildOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -28616,6 +31047,37 @@ inline Ark_RuntimeType runtimeType(const Opt_DataPanelOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_DataSyncOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DataSyncOptions* value) { + result->append("{"); + // Ark_String _DataSyncOptionsStub + result->append("._DataSyncOptionsStub="); + WriteToString(result, &value->_DataSyncOptionsStub); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DataSyncOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DataSyncOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_DatePickerOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -28634,6 +31096,10 @@ inline void WriteToString(std::string* result, const Ark_DatePickerOptions* valu result->append(", "); result->append(".selected="); WriteToString(result, &value->selected); + // Ark_DatePickerMode mode + result->append(", "); + result->append(".mode="); + WriteToString(result, &value->mode); result->append("}"); } template <> @@ -28694,6 +31160,41 @@ inline Ark_RuntimeType runtimeType(const Opt_DatePickerResult& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_DateRange& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DateRange* value) { + result->append("{"); + // Ark_Date start + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Date end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DateRange* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DateRange& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_DateTimeOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -29119,6 +31620,18 @@ inline void WriteToString(std::string* result, const Ark_DragInteractionOptions* result->append(", "); result->append(".defaultAnimationBeforeLifting="); WriteToString(result, &value->defaultAnimationBeforeLifting); + // Ark_Boolean enableEdgeAutoScroll + result->append(", "); + result->append(".enableEdgeAutoScroll="); + WriteToString(result, &value->enableEdgeAutoScroll); + // Ark_Boolean enableHapticFeedback + result->append(", "); + result->append(".enableHapticFeedback="); + WriteToString(result, &value->enableHapticFeedback); + // Ark_Boolean isLiftingDisabled + result->append(", "); + result->append(".isLiftingDisabled="); + WriteToString(result, &value->isLiftingDisabled); result->append("}"); } template <> @@ -29245,6 +31758,72 @@ inline Ark_RuntimeType runtimeType(const Opt_DrawingRenderingContext& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_DropOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DropOptions* value) { + result->append("{"); + // Ark_Boolean disableDataPrefetch + result->append(".disableDataPrefetch="); + WriteToString(result, &value->disableDataPrefetch); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DropOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DropOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_EdgeEffectOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_EdgeEffectOptions* value) { + result->append("{"); + // Ark_Boolean alwaysEnabled + result->append(".alwaysEnabled="); + WriteToString(result, value->alwaysEnabled); + // Ark_Number effectEdge + result->append(", "); + result->append(".effectEdge="); + WriteToString(result, &value->effectEdge); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_EdgeEffectOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_EdgeEffectOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_EdgeOutlineStyles& value) { return INTEROP_RUNTIME_OBJECT; @@ -29401,6 +31980,37 @@ inline Ark_RuntimeType runtimeType(const Opt_EllipseOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_EmbedOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_EmbedOptions* value) { + result->append("{"); + // Ark_Boolean supportDefaultIntrinsicSize + result->append(".supportDefaultIntrinsicSize="); + WriteToString(result, &value->supportDefaultIntrinsicSize); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_EmbedOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_EmbedOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_ErrorEvent& value) { return INTEROP_RUNTIME_OBJECT; @@ -29564,6 +32174,10 @@ inline void WriteToString(std::string* result, const Ark_FingerInfo* value) { result->append(", "); result->append(".displayY="); WriteToString(result, &value->displayY); + // Ark_InteractionHand hand + result->append(", "); + result->append(".hand="); + WriteToString(result, &value->hand); result->append("}"); } template <> @@ -29620,6 +32234,57 @@ inline Ark_RuntimeType runtimeType(const Opt_FirstMeaningfulPaint& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_FocusMovement& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_FocusMovement* value) { + result->append("{"); + // Ark_String forward + result->append(".forward="); + WriteToString(result, &value->forward); + // Ark_String backward + result->append(", "); + result->append(".backward="); + WriteToString(result, &value->backward); + // Ark_String up + result->append(", "); + result->append(".up="); + WriteToString(result, &value->up); + // Ark_String down + result->append(", "); + result->append(".down="); + WriteToString(result, &value->down); + // Ark_String left + result->append(", "); + result->append(".left="); + WriteToString(result, &value->left); + // Ark_String right + result->append(", "); + result->append(".right="); + WriteToString(result, &value->right); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FocusMovement* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FocusMovement& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_FolderStackOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -30948,6 +33613,37 @@ inline Ark_RuntimeType runtimeType(const Opt_ImageSourceSize& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ImmersiveMode& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImmersiveMode* value) { + result->append("{"); + // Ark_String _ImmersiveModeStub + result->append("._ImmersiveModeStub="); + WriteToString(result, &value->_ImmersiveModeStub); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ImmersiveMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ImmersiveMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_InputCounterOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -31294,6 +33990,68 @@ inline Ark_RuntimeType runtimeType(const Opt_LetterSpacingStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_LevelMode& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LevelMode* value) { + result->append("{"); + // Ark_String _LevelModeStub + result->append("._LevelModeStub="); + WriteToString(result, &value->_LevelModeStub); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LevelMode* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LevelMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LevelOrder& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LevelOrder* value) { + result->append("{"); + // Ark_String _LevelOrderStub + result->append("._LevelOrderStub="); + WriteToString(result, &value->_LevelOrderStub); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LevelOrder* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LevelOrder& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_LinearGradient_common& value) { return INTEROP_RUNTIME_OBJECT; @@ -31372,6 +34130,49 @@ inline Ark_RuntimeType runtimeType(const Opt_LinearGradientBlurOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_LinearGradientOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LinearGradientOptions* value) { + result->append("{"); + // Ark_Union_Number_String angle + result->append(".angle="); + WriteToString(result, &value->angle); + // Ark_GradientDirection direction + result->append(", "); + result->append(".direction="); + WriteToString(result, &value->direction); + // Array_Tuple_ResourceColor_Number colors + result->append(", "); + result->append(".colors="); + WriteToString(result, &value->colors); + // Ark_Boolean repeating + result->append(", "); + result->append(".repeating="); + WriteToString(result, &value->repeating); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LinearGradientOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LinearGradientOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_LinearIndicatorStartOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -32642,6 +35443,49 @@ inline Ark_RuntimeType runtimeType(const Opt_LocationButtonOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_LongPressGestureHandlerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LongPressGestureHandlerOptions* value) { + result->append("{"); + // Ark_Boolean isFingerCountLimited + result->append(".isFingerCountLimited="); + WriteToString(result, &value->isFingerCountLimited); + // Ark_Number fingers + result->append(", "); + result->append(".fingers="); + WriteToString(result, &value->fingers); + // Ark_Boolean repeat + result->append(", "); + result->append(".repeat="); + WriteToString(result, &value->repeat); + // Ark_Number duration + result->append(", "); + result->append(".duration="); + WriteToString(result, &value->duration); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LongPressGestureHandlerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LongPressGestureHandlerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_MarqueeOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -32898,6 +35742,33 @@ inline Ark_RuntimeType runtimeType(const Opt_Matrix4Result& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Measurable& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Measurable value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_Measurable* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Measurable& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_MeasureResult& value) { return INTEROP_RUNTIME_OBJECT; @@ -33233,6 +36104,53 @@ inline Ark_RuntimeType runtimeType(const Opt_NavContentInfo& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_NavDestinationTransition& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_NavDestinationTransition* value) { + result->append("{"); + // Callback_Void onTransitionEnd + result->append(".onTransitionEnd="); + WriteToString(result, &value->onTransitionEnd); + // Ark_Number duration + result->append(", "); + result->append(".duration="); + WriteToString(result, &value->duration); + // Ark_Curve curve + result->append(", "); + result->append(".curve="); + WriteToString(result, &value->curve); + // Ark_Number delay + result->append(", "); + result->append(".delay="); + WriteToString(result, &value->delay); + // Callback_Void event + result->append(", "); + result->append(".event="); + WriteToString(result, &value->event); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NavDestinationTransition* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_NavDestinationTransition& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationAnimatedTransition& value) { return INTEROP_RUNTIME_OBJECT; @@ -33404,32 +36322,24 @@ inline Ark_RuntimeType runtimeType(const Opt_NavPathInfo& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NestedScrollOptionsExt& value) +inline Ark_RuntimeType runtimeType(const Ark_NestedScrollInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NestedScrollOptionsExt* value) { +inline void WriteToString(std::string* result, const Ark_NestedScrollInfo* value) { result->append("{"); - // Ark_NestedScrollMode scrollUp - result->append(".scrollUp="); - WriteToString(result, &value->scrollUp); - // Ark_NestedScrollMode scrollDown - result->append(", "); - result->append(".scrollDown="); - WriteToString(result, &value->scrollDown); - // Ark_NestedScrollMode scrollRight - result->append(", "); - result->append(".scrollRight="); - WriteToString(result, &value->scrollRight); - // Ark_NestedScrollMode scrollLeft + // Ark_Scroller parent + result->append(".parent="); + WriteToString(result, value->parent); + // Ark_Scroller child result->append(", "); - result->append(".scrollLeft="); - WriteToString(result, &value->scrollLeft); + result->append(".child="); + WriteToString(result, value->child); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NestedScrollOptionsExt* value) { +inline void WriteToString(std::string* result, const Opt_NestedScrollInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -33442,26 +36352,42 @@ inline void WriteToString(std::string* result, const Opt_NestedScrollOptionsExt* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NestedScrollOptionsExt& value) +inline Ark_RuntimeType runtimeType(const Opt_NestedScrollInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OffscreenCanvasRenderingContext2D& value) +inline Ark_RuntimeType runtimeType(const Ark_NestedScrollOptionsExt& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OffscreenCanvasRenderingContext2D value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_NestedScrollOptionsExt* value) { + result->append("{"); + // Ark_NestedScrollMode scrollUp + result->append(".scrollUp="); + WriteToString(result, &value->scrollUp); + // Ark_NestedScrollMode scrollDown + result->append(", "); + result->append(".scrollDown="); + WriteToString(result, &value->scrollDown); + // Ark_NestedScrollMode scrollRight + result->append(", "); + result->append(".scrollRight="); + WriteToString(result, &value->scrollRight); + // Ark_NestedScrollMode scrollLeft + result->append(", "); + result->append(".scrollLeft="); + WriteToString(result, &value->scrollLeft); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OffscreenCanvasRenderingContext2D* value) { +inline void WriteToString(std::string* result, const Opt_NestedScrollOptionsExt* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -33469,7 +36395,7 @@ inline void WriteToString(std::string* result, const Opt_OffscreenCanvasRenderin result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OffscreenCanvasRenderingContext2D& value) +inline Ark_RuntimeType runtimeType(const Opt_NestedScrollOptionsExt& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -34400,6 +37326,37 @@ inline Ark_RuntimeType runtimeType(const Opt_OnWindowNewEvent& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Orientation& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Orientation* value) { + result->append("{"); + // Ark_String _OrientationStub + result->append("._OrientationStub="); + WriteToString(result, &value->_OrientationStub); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Orientation* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Orientation& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_OverlayOffset& value) { return INTEROP_RUNTIME_OBJECT; @@ -34435,6 +37392,49 @@ inline Ark_RuntimeType runtimeType(const Opt_OverlayOffset& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PanGestureHandlerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PanGestureHandlerOptions* value) { + result->append("{"); + // Ark_Boolean isFingerCountLimited + result->append(".isFingerCountLimited="); + WriteToString(result, &value->isFingerCountLimited); + // Ark_Number fingers + result->append(", "); + result->append(".fingers="); + WriteToString(result, &value->fingers); + // Ark_PanDirection direction + result->append(", "); + result->append(".direction="); + WriteToString(result, &value->direction); + // Ark_Number distance + result->append(", "); + result->append(".distance="); + WriteToString(result, &value->distance); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PanGestureHandlerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PanGestureHandlerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_PasteButtonOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -34575,6 +37575,45 @@ inline Ark_RuntimeType runtimeType(const Opt_PathShapeOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PinchGestureHandlerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PinchGestureHandlerOptions* value) { + result->append("{"); + // Ark_Boolean isFingerCountLimited + result->append(".isFingerCountLimited="); + WriteToString(result, &value->isFingerCountLimited); + // Ark_Number fingers + result->append(", "); + result->append(".fingers="); + WriteToString(result, &value->fingers); + // Ark_Number distance + result->append(", "); + result->append(".distance="); + WriteToString(result, &value->distance); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PinchGestureHandlerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PinchGestureHandlerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_PixelRoundPolicy& value) { return INTEROP_RUNTIME_OBJECT; @@ -34840,6 +37879,37 @@ inline Ark_RuntimeType runtimeType(const Opt_PopInfo& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PosterOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PosterOptions* value) { + result->append("{"); + // Ark_Boolean showFirstFrame + result->append(".showFirstFrame="); + WriteToString(result, &value->showFirstFrame); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PosterOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PosterOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_PostMessageOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -34871,6 +37941,72 @@ inline Ark_RuntimeType runtimeType(const Opt_PostMessageOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PreviewConfiguration& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PreviewConfiguration* value) { + result->append("{"); + // Ark_Boolean onlyForLifting + result->append(".onlyForLifting="); + WriteToString(result, &value->onlyForLifting); + // Ark_Boolean delayCreating + result->append(", "); + result->append(".delayCreating="); + WriteToString(result, &value->delayCreating); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PreviewConfiguration* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PreviewConfiguration& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_PreviewMenuOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PreviewMenuOptions* value) { + result->append("{"); + // Ark_HapticFeedbackMode hapticFeedbackMode + result->append(".hapticFeedbackMode="); + WriteToString(result, &value->hapticFeedbackMode); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PreviewMenuOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PreviewMenuOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_PreviewText& value) { return INTEROP_RUNTIME_OBJECT; @@ -35316,37 +38452,6 @@ inline Ark_RuntimeType runtimeType(const Opt_ResourceStr& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorBuilderSpanOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_RichEditorBuilderSpanOptions* value) { - result->append("{"); - // Ark_Number offset - result->append(".offset="); - WriteToString(result, &value->offset); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_RichEditorBuilderSpanOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorBuilderSpanOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorDeleteValue& value) { return INTEROP_RUNTIME_OBJECT; @@ -35404,6 +38509,10 @@ inline void WriteToString(std::string* result, const Ark_RichEditorGesture* valu result->append(", "); result->append(".onLongPress="); WriteToString(result, &value->onLongPress); + // Callback_GestureEvent_Void onDoubleClick + result->append(", "); + result->append(".onDoubleClick="); + WriteToString(result, &value->onDoubleClick); result->append("}"); } template <> @@ -35679,6 +38788,45 @@ inline Ark_RuntimeType runtimeType(const Opt_RotateOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_RotationGestureHandlerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RotationGestureHandlerOptions* value) { + result->append("{"); + // Ark_Boolean isFingerCountLimited + result->append(".isFingerCountLimited="); + WriteToString(result, &value->isFingerCountLimited); + // Ark_Number fingers + result->append(", "); + result->append(".fingers="); + WriteToString(result, &value->fingers); + // Ark_Number angle + result->append(", "); + result->append(".angle="); + WriteToString(result, &value->angle); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RotationGestureHandlerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RotationGestureHandlerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_RoundedRectOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -35905,6 +39053,37 @@ inline Ark_RuntimeType runtimeType(const Opt_RowOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_RowOptionsV2& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RowOptionsV2* value) { + result->append("{"); + // Ark_String stub + result->append(".stub="); + WriteToString(result, &value->stub); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RowOptionsV2* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RowOptionsV2& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_SaveButtonOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -36275,45 +39454,6 @@ inline Ark_RuntimeType runtimeType(const Opt_ScrollPageOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SelectionMenuOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_SelectionMenuOptions* value) { - result->append("{"); - // MenuOnAppearCallback onAppear - result->append(".onAppear="); - WriteToString(result, &value->onAppear); - // Callback_Void onDisappear - result->append(", "); - result->append(".onDisappear="); - WriteToString(result, &value->onDisappear); - // Ark_MenuType menuType - result->append(", "); - result->append(".menuType="); - WriteToString(result, &value->menuType); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SelectionMenuOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SelectionMenuOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_SelectionMenuOptionsExt& value) { return INTEROP_RUNTIME_OBJECT; @@ -36930,6 +40070,49 @@ inline Ark_RuntimeType runtimeType(const Opt_SurfaceRotationOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_SwipeGestureHandlerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SwipeGestureHandlerOptions* value) { + result->append("{"); + // Ark_Boolean isFingerCountLimited + result->append(".isFingerCountLimited="); + WriteToString(result, &value->isFingerCountLimited); + // Ark_Number fingers + result->append(", "); + result->append(".fingers="); + WriteToString(result, &value->fingers); + // Ark_SwipeDirection direction + result->append(", "); + result->append(".direction="); + WriteToString(result, &value->direction); + // Ark_Number speed + result->append(", "); + result->append(".speed="); + WriteToString(result, &value->speed); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SwipeGestureHandlerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SwipeGestureHandlerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_SwiperAutoFill& value) { return INTEROP_RUNTIME_OBJECT; @@ -36996,6 +40179,37 @@ inline Ark_RuntimeType runtimeType(const Opt_SwiperContentAnimatedTransition& va return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_SystemAdaptiveOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SystemAdaptiveOptions* value) { + result->append("{"); + // Ark_Boolean disableSystemAdaptation + result->append(".disableSystemAdaptation="); + WriteToString(result, &value->disableSystemAdaptation); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SystemAdaptiveOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SystemAdaptiveOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_SystemBarStyle& value) { return INTEROP_RUNTIME_OBJECT; @@ -37097,45 +40311,6 @@ inline Ark_RuntimeType runtimeType(const Opt_TabContentAnimatedTransition& value return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TabsOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_TabsOptions* value) { - result->append("{"); - // Ark_BarPosition barPosition - result->append(".barPosition="); - WriteToString(result, &value->barPosition); - // Ark_Number index - result->append(", "); - result->append(".index="); - WriteToString(result, &value->index); - // Ark_TabsController controller - result->append(", "); - result->append(".controller="); - WriteToString(result, &value->controller); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_TabsOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_TabsOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_TapGestureParameters& value) { return INTEROP_RUNTIME_OBJECT; @@ -37143,7 +40318,11 @@ inline Ark_RuntimeType runtimeType(const Ark_TapGestureParameters& value) template <> inline void WriteToString(std::string* result, const Ark_TapGestureParameters* value) { result->append("{"); + // Ark_Boolean isFingerCountLimited + result->append(".isFingerCountLimited="); + WriteToString(result, &value->isFingerCountLimited); // Ark_Number count + result->append(", "); result->append(".count="); WriteToString(result, &value->count); // Ark_Number fingers @@ -37245,6 +40424,92 @@ inline Ark_RuntimeType runtimeType(const Opt_TextClockOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_TextContentControllerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TextContentControllerOptions* value) { + result->append("{"); + // Ark_Number offset + result->append(".offset="); + WriteToString(result, &value->offset); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextContentControllerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TextContentControllerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TextMarqueeOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TextMarqueeOptions* value) { + result->append("{"); + // Ark_Boolean start + result->append(".start="); + WriteToString(result, value->start); + // Ark_Number step + result->append(", "); + result->append(".step="); + WriteToString(result, &value->step); + // Ark_Number loop + result->append(", "); + result->append(".loop="); + WriteToString(result, &value->loop); + // Ark_Boolean fromStart + result->append(", "); + result->append(".fromStart="); + WriteToString(result, &value->fromStart); + // Ark_Number delay + result->append(", "); + result->append(".delay="); + WriteToString(result, &value->delay); + // Ark_Boolean fadeout + result->append(", "); + result->append(".fadeout="); + WriteToString(result, &value->fadeout); + // Ark_MarqueeStartPolicy marqueeStartPolicy + result->append(", "); + result->append(".marqueeStartPolicy="); + WriteToString(result, &value->marqueeStartPolicy); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextMarqueeOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TextMarqueeOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_TextRange& value) { return INTEROP_RUNTIME_OBJECT; @@ -37391,6 +40656,14 @@ inline void WriteToString(std::string* result, const Ark_TimePickerOptions* valu result->append(", "); result->append(".format="); WriteToString(result, &value->format); + // Ark_Date start + result->append(", "); + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Date end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); result->append("}"); } template <> @@ -37412,6 +40685,51 @@ inline Ark_RuntimeType runtimeType(const Opt_TimePickerOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_TipsMessageType& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_TipsMessageType: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_TipsMessageType* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_ResourceStr + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_StyledString + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TipsMessageType* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TipsMessageType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_ToggleOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -37493,6 +40811,26 @@ inline void WriteToString(std::string* result, const Ark_TouchObject* value) { result->append(", "); result->append(".y="); WriteToString(result, &value->y); + // Ark_InteractionHand hand + result->append(", "); + result->append(".hand="); + WriteToString(result, &value->hand); + // Ark_Number pressedTime + result->append(", "); + result->append(".pressedTime="); + WriteToString(result, &value->pressedTime); + // Ark_Number pressure + result->append(", "); + result->append(".pressure="); + WriteToString(result, &value->pressure); + // Ark_Number width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Number height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); result->append("}"); } template <> @@ -37740,49 +41078,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Type_CalendarInterface_callable0_va return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Type_CommonMethod_linearGradient_value& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Type_CommonMethod_linearGradient_value* value) { - result->append("{"); - // Ark_Union_Number_String angle - result->append(".angle="); - WriteToString(result, &value->angle); - // Ark_GradientDirection direction - result->append(", "); - result->append(".direction="); - WriteToString(result, &value->direction); - // Array_Tuple_ResourceColor_Number colors - result->append(", "); - result->append(".colors="); - WriteToString(result, &value->colors); - // Ark_Boolean repeating - result->append(", "); - result->append(".repeating="); - WriteToString(result, &value->repeating); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_linearGradient_value* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_CommonMethod_linearGradient_value& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Type_GaugeAttribute_colors_colors& value) { switch (value.selector) { @@ -37964,6 +41259,10 @@ inline void WriteToString(std::string* result, const Ark_UIExtensionOptions* val result->append(", "); result->append(".dpiFollowStrategy="); WriteToString(result, &value->dpiFollowStrategy); + // Ark_WindowModeFollowStrategy windowModeFollowStrategy + result->append(", "); + result->append(".windowModeFollowStrategy="); + WriteToString(result, &value->windowModeFollowStrategy); result->append("}"); } template <> @@ -38351,51 +41650,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_BorderStyle_EdgeStyles& value return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext& value) -{ - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext: %d", value.selector); - } -} -template <> -inline void WriteToString(std::string* result, const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext* value) { - result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_CanvasRenderingContext2D - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, value->value0); - } - // Ark_DrawingRenderingContext - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, value->value1); - } - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Color_Number_String_Resource& value) { switch (value.selector) { @@ -38618,6 +41872,51 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_Color_String_Resource_Number& return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_ColumnOptions_ColumnOptionsV2& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_ColumnOptions_ColumnOptionsV2: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_ColumnOptions_ColumnOptionsV2* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_ColumnOptions + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_ColumnOptionsV2 + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_ColumnOptions_ColumnOptionsV2* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_ColumnOptions_ColumnOptionsV2& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_CustomBuilder_DragItemInfo& value) { switch (value.selector) { @@ -38894,6 +42193,51 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_ImageBitmap_PixelMap& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_String& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_LengthMetrics_String: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_LengthMetrics_String* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_LengthMetrics + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_String + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_String* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_String& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_MenuPreviewMode_CustomBuilder& value) { switch (value.selector) { @@ -39809,6 +43153,51 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_Resource_String& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_ColorContent& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_ResourceColor_ColorContent: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_ResourceColor_ColorContent* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_ResourceColor + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_ColorContent + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_ColorContent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_ColorContent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_ColoringStrategy& value) { switch (value.selector) { @@ -40220,6 +43609,51 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceStr_Union_ResourceStr return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_RowOptions_RowOptionsV2& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_RowOptions_RowOptionsV2: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_RowOptions_RowOptionsV2* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_RowOptions + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_RowOptionsV2 + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_RowOptions_RowOptionsV2* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_RowOptions_RowOptionsV2& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ScrollAnimationOptions_Boolean& value) { switch (value.selector) { @@ -40877,51 +44311,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_String_WebResourceRequest& va return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_TitleHeight_Length& value) -{ - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_TitleHeight_Length: %d", value.selector); - } -} -template <> -inline void WriteToString(std::string* result, const Ark_Union_TitleHeight_Length* value) { - result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_TitleHeight - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, value->value0); - } - // Ark_Union_String_Number_Resource - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Union_TitleHeight_Length* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_TitleHeight_Length& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Union_WebController_WebviewController& value) { switch (value.selector) { @@ -41010,6 +44399,33 @@ inline Ark_RuntimeType runtimeType(const Opt_ViewportRect& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_VirtualScrollOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_VirtualScrollOptions value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_VirtualScrollOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_VirtualScrollOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_VisibleAreaEventOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -41161,6 +44577,10 @@ inline void WriteToString(std::string* result, const Ark_WaterFlowOptions* value // CustomNodeBuilder footer result->append(".footer="); WriteToString(result, &value->footer); + // Ark_ComponentContent footerContent + result->append(", "); + result->append(".footerContent="); + WriteToString(result, &value->footerContent); // Ark_Scroller scroller result->append(", "); result->append(".scroller="); @@ -41761,57 +45181,6 @@ inline Ark_RuntimeType runtimeType(const Opt_AnimateParam& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ArrowStyle& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_ArrowStyle* value) { - result->append("{"); - // Ark_Boolean showBackground - result->append(".showBackground="); - WriteToString(result, &value->showBackground); - // Ark_Boolean isSidebarMiddle - result->append(", "); - result->append(".isSidebarMiddle="); - WriteToString(result, &value->isSidebarMiddle); - // Ark_Union_String_Number_Resource backgroundSize - result->append(", "); - result->append(".backgroundSize="); - WriteToString(result, &value->backgroundSize); - // Ark_ResourceColor backgroundColor - result->append(", "); - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Ark_Union_String_Number_Resource arrowSize - result->append(", "); - result->append(".arrowSize="); - WriteToString(result, &value->arrowSize); - // Ark_ResourceColor arrowColor - result->append(", "); - result->append(".arrowColor="); - WriteToString(result, &value->arrowColor); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ArrowStyle* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ArrowStyle& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_BackgroundBlurStyleOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -41922,182 +45291,6 @@ inline Ark_RuntimeType runtimeType(const Opt_BackgroundEffectOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BadgeStyle& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_BadgeStyle* value) { - result->append("{"); - // Ark_ResourceColor color - result->append(".color="); - WriteToString(result, &value->color); - // Ark_Union_Number_String fontSize - result->append(", "); - result->append(".fontSize="); - WriteToString(result, &value->fontSize); - // Ark_Union_Number_String badgeSize - result->append(", "); - result->append(".badgeSize="); - WriteToString(result, &value->badgeSize); - // Ark_ResourceColor badgeColor - result->append(", "); - result->append(".badgeColor="); - WriteToString(result, &value->badgeColor); - // Ark_ResourceColor borderColor - result->append(", "); - result->append(".borderColor="); - WriteToString(result, &value->borderColor); - // Ark_Union_String_Number_Resource borderWidth - result->append(", "); - result->append(".borderWidth="); - WriteToString(result, &value->borderWidth); - // Ark_Union_Number_FontWeight_String fontWeight - result->append(", "); - result->append(".fontWeight="); - WriteToString(result, &value->fontWeight); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_BadgeStyle* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_BadgeStyle& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_BarGridColumnOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_BarGridColumnOptions* value) { - result->append("{"); - // Ark_Number sm - result->append(".sm="); - WriteToString(result, &value->sm); - // Ark_Number md - result->append(", "); - result->append(".md="); - WriteToString(result, &value->md); - // Ark_Number lg - result->append(", "); - result->append(".lg="); - WriteToString(result, &value->lg); - // Ark_Union_String_Number_Resource margin - result->append(", "); - result->append(".margin="); - WriteToString(result, &value->margin); - // Ark_Union_String_Number_Resource gutter - result->append(", "); - result->append(".gutter="); - WriteToString(result, &value->gutter); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_BarGridColumnOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_BarGridColumnOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_BoardStyle& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_BoardStyle* value) { - result->append("{"); - // Ark_Union_String_Number_Resource borderRadius - result->append(".borderRadius="); - WriteToString(result, &value->borderRadius); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_BoardStyle* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_BoardStyle& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_BorderRadiuses& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_BorderRadiuses* value) { - result->append("{"); - // Ark_Union_String_Number_Resource topLeft - result->append(".topLeft="); - WriteToString(result, &value->topLeft); - // Ark_Union_String_Number_Resource topRight - result->append(", "); - result->append(".topRight="); - WriteToString(result, &value->topRight); - // Ark_Union_String_Number_Resource bottomLeft - result->append(", "); - result->append(".bottomLeft="); - WriteToString(result, &value->bottomLeft); - // Ark_Union_String_Number_Resource bottomRight - result->append(", "); - result->append(".bottomRight="); - WriteToString(result, &value->bottomRight); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_BorderRadiuses* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_BorderRadiuses& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_ButtonIconOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -42151,6 +45344,18 @@ inline void WriteToString(std::string* result, const Ark_CalendarOptions* value) result->append(", "); result->append(".selected="); WriteToString(result, &value->selected); + // Ark_Date start + result->append(", "); + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Date end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); + // Array_DateRange disabledDateRange + result->append(", "); + result->append(".disabledDateRange="); + WriteToString(result, &value->disabledDateRange); result->append("}"); } template <> @@ -42172,29 +45377,21 @@ inline Ark_RuntimeType runtimeType(const Opt_CalendarOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CaretStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_CanvasRenderer& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CaretStyle* value) { - result->append("{"); - // Ark_Union_String_Number_Resource width - result->append(".width="); - WriteToString(result, &value->width); - // Ark_ResourceColor color - result->append(", "); - result->append(".color="); - WriteToString(result, &value->color); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_CanvasRenderer value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_CaretStyle* value) { +inline void WriteToString(std::string* result, const Opt_CanvasRenderer* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -42202,54 +45399,26 @@ inline void WriteToString(std::string* result, const Opt_CaretStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CaretStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_CanvasRenderer& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ChainAnimationOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_CanvasRenderingContext2D& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ChainAnimationOptions* value) { - result->append("{"); - // Ark_Union_String_Number_Resource minSpace - result->append(".minSpace="); - WriteToString(result, &value->minSpace); - // Ark_Union_String_Number_Resource maxSpace - result->append(", "); - result->append(".maxSpace="); - WriteToString(result, &value->maxSpace); - // Ark_Number conductivity - result->append(", "); - result->append(".conductivity="); - WriteToString(result, &value->conductivity); - // Ark_Number intensity - result->append(", "); - result->append(".intensity="); - WriteToString(result, &value->intensity); - // Ark_ChainEdgeEffect edgeEffect - result->append(", "); - result->append(".edgeEffect="); - WriteToString(result, &value->edgeEffect); - // Ark_Number stiffness - result->append(", "); - result->append(".stiffness="); - WriteToString(result, &value->stiffness); - // Ark_Number damping - result->append(", "); - result->append(".damping="); - WriteToString(result, &value->damping); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_CanvasRenderingContext2D value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_ChainAnimationOptions* value) { +inline void WriteToString(std::string* result, const Opt_CanvasRenderingContext2D* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -42257,7 +45426,7 @@ inline void WriteToString(std::string* result, const Opt_ChainAnimationOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ChainAnimationOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_CanvasRenderingContext2D& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -42280,6 +45449,10 @@ inline void WriteToString(std::string* result, const Ark_CircleStyleOptions* val result->append(", "); result->append(".enableWaveEffect="); WriteToString(result, &value->enableWaveEffect); + // Ark_Boolean enableForeground + result->append(", "); + result->append(".enableForeground="); + WriteToString(result, &value->enableForeground); result->append("}"); } template <> @@ -42301,76 +45474,6 @@ inline Ark_RuntimeType runtimeType(const Opt_CircleStyleOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ColorStop& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_ColorStop* value) { - result->append("{"); - // Ark_ResourceColor color - result->append(".color="); - WriteToString(result, &value->color); - // Ark_Union_String_Number_Resource offset - result->append(", "); - result->append(".offset="); - WriteToString(result, &value->offset); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ColorStop* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ColorStop& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_ColumnSplitDividerStyle& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_ColumnSplitDividerStyle* value) { - result->append("{"); - // Ark_Union_String_Number_Resource startMargin - result->append(".startMargin="); - WriteToString(result, &value->startMargin); - // Ark_Union_String_Number_Resource endMargin - result->append(", "); - result->append(".endMargin="); - WriteToString(result, &value->endMargin); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ColumnSplitDividerStyle* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ColumnSplitDividerStyle& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_ComponentInfo& value) { return INTEROP_RUNTIME_OBJECT; @@ -42430,49 +45533,6 @@ inline Ark_RuntimeType runtimeType(const Opt_ComponentInfo& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ConstraintSizeOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_ConstraintSizeOptions* value) { - result->append("{"); - // Ark_Union_String_Number_Resource minWidth - result->append(".minWidth="); - WriteToString(result, &value->minWidth); - // Ark_Union_String_Number_Resource maxWidth - result->append(", "); - result->append(".maxWidth="); - WriteToString(result, &value->maxWidth); - // Ark_Union_String_Number_Resource minHeight - result->append(", "); - result->append(".minHeight="); - WriteToString(result, &value->minHeight); - // Ark_Union_String_Number_Resource maxHeight - result->append(", "); - result->append(".maxHeight="); - WriteToString(result, &value->maxHeight); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ConstraintSizeOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ConstraintSizeOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_ContentCoverOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -43112,75 +46172,40 @@ inline Ark_RuntimeType runtimeType(const Opt_DecorationStyleResult& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DividerOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Dimension& value) { - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_DividerOptions* value) { - result->append("{"); - // Ark_Union_String_Number_Resource strokeWidth - result->append(".strokeWidth="); - WriteToString(result, &value->strokeWidth); - // Ark_ResourceColor color - result->append(", "); - result->append(".color="); - WriteToString(result, &value->color); - // Ark_Union_String_Number_Resource startMargin - result->append(", "); - result->append(".startMargin="); - WriteToString(result, &value->startMargin); - // Ark_Union_String_Number_Resource endMargin - result->append(", "); - result->append(".endMargin="); - WriteToString(result, &value->endMargin); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_DividerOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Dimension: %d", value.selector); } - result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DividerOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_DividerStyle& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_DividerStyle* value) { +inline void WriteToString(std::string* result, const Ark_Dimension* value) { result->append("{"); - // Ark_Union_String_Number_Resource strokeWidth - result->append(".strokeWidth="); - WriteToString(result, &value->strokeWidth); - // Ark_ResourceColor color - result->append(", "); - result->append(".color="); - WriteToString(result, &value->color); - // Ark_Union_String_Number_Resource startMargin - result->append(", "); - result->append(".startMargin="); - WriteToString(result, &value->startMargin); - // Ark_Union_String_Number_Resource endMargin + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".endMargin="); - WriteToString(result, &value->endMargin); + // Ark_String + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Number + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_Resource + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DividerStyle* value) { +inline void WriteToString(std::string* result, const Opt_Dimension* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -43193,7 +46218,7 @@ inline void WriteToString(std::string* result, const Opt_DividerStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DividerStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Dimension& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -43220,6 +46245,10 @@ inline void WriteToString(std::string* result, const Ark_DividerStyleOptions* va result->append(", "); result->append(".endMargin="); WriteToString(result, &value->endMargin); + // Ark_DividerMode mode + result->append(", "); + result->append(".mode="); + WriteToString(result, &value->mode); result->append("}"); } template <> @@ -43241,89 +46270,6 @@ inline Ark_RuntimeType runtimeType(const Opt_DividerStyleOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DotIndicator& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_DotIndicator* value) { - result->append("{"); - // Ark_Union_String_Number_Resource _left - result->append("._left="); - WriteToString(result, &value->_left); - // Ark_Union_String_Number_Resource _top - result->append(", "); - result->append("._top="); - WriteToString(result, &value->_top); - // Ark_Union_String_Number_Resource _right - result->append(", "); - result->append("._right="); - WriteToString(result, &value->_right); - // Ark_Union_String_Number_Resource _bottom - result->append(", "); - result->append("._bottom="); - WriteToString(result, &value->_bottom); - // Ark_LengthMetrics _start - result->append(", "); - result->append("._start="); - WriteToString(result, &value->_start); - // Ark_LengthMetrics _end - result->append(", "); - result->append("._end="); - WriteToString(result, &value->_end); - // Ark_Union_String_Number_Resource _itemWidth - result->append(", "); - result->append("._itemWidth="); - WriteToString(result, &value->_itemWidth); - // Ark_Union_String_Number_Resource _itemHeight - result->append(", "); - result->append("._itemHeight="); - WriteToString(result, &value->_itemHeight); - // Ark_Union_String_Number_Resource _selectedItemWidth - result->append(", "); - result->append("._selectedItemWidth="); - WriteToString(result, &value->_selectedItemWidth); - // Ark_Union_String_Number_Resource _selectedItemHeight - result->append(", "); - result->append("._selectedItemHeight="); - WriteToString(result, &value->_selectedItemHeight); - // Ark_Boolean _mask - result->append(", "); - result->append("._mask="); - WriteToString(result, &value->_mask); - // Ark_ResourceColor _color - result->append(", "); - result->append("._color="); - WriteToString(result, &value->_color); - // Ark_ResourceColor _selectedColor - result->append(", "); - result->append("._selectedColor="); - WriteToString(result, &value->_selectedColor); - // Ark_Number _maxDisplayCount - result->append(", "); - result->append("._maxDisplayCount="); - WriteToString(result, &value->_maxDisplayCount); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_DotIndicator* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_DotIndicator& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_DragPreviewOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -43342,6 +46288,10 @@ inline void WriteToString(std::string* result, const Ark_DragPreviewOptions* val result->append(", "); result->append(".numberBadge="); WriteToString(result, &value->numberBadge); + // Ark_DraggingSizeChangeEffect sizeChangeEffect + result->append(", "); + result->append(".sizeChangeEffect="); + WriteToString(result, &value->sizeChangeEffect); result->append("}"); } template <> @@ -43406,135 +46356,6 @@ inline Ark_RuntimeType runtimeType(const Opt_EdgeColors& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EdgeOutlineWidths& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_EdgeOutlineWidths* value) { - result->append("{"); - // Ark_Union_String_Number_Resource top - result->append(".top="); - WriteToString(result, &value->top); - // Ark_Union_String_Number_Resource right - result->append(", "); - result->append(".right="); - WriteToString(result, &value->right); - // Ark_Union_String_Number_Resource bottom - result->append(", "); - result->append(".bottom="); - WriteToString(result, &value->bottom); - // Ark_Union_String_Number_Resource left - result->append(", "); - result->append(".left="); - WriteToString(result, &value->left); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_EdgeOutlineWidths* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_EdgeOutlineWidths& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Edges& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Edges* value) { - result->append("{"); - // Ark_Union_String_Number_Resource top - result->append(".top="); - WriteToString(result, &value->top); - // Ark_Union_String_Number_Resource left - result->append(", "); - result->append(".left="); - WriteToString(result, &value->left); - // Ark_Union_String_Number_Resource bottom - result->append(", "); - result->append(".bottom="); - WriteToString(result, &value->bottom); - // Ark_Union_String_Number_Resource right - result->append(", "); - result->append(".right="); - WriteToString(result, &value->right); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Edges* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Edges& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_EdgeWidths& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_EdgeWidths* value) { - result->append("{"); - // Ark_Union_String_Number_Resource top - result->append(".top="); - WriteToString(result, &value->top); - // Ark_Union_String_Number_Resource right - result->append(", "); - result->append(".right="); - WriteToString(result, &value->right); - // Ark_Union_String_Number_Resource bottom - result->append(", "); - result->append(".bottom="); - WriteToString(result, &value->bottom); - // Ark_Union_String_Number_Resource left - result->append(", "); - result->append(".left="); - WriteToString(result, &value->left); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_EdgeWidths* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_EdgeWidths& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_ExpandedMenuItemOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -43679,49 +46500,6 @@ inline Ark_RuntimeType runtimeType(const Opt_FocusBoxStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Font& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Font* value) { - result->append("{"); - // Ark_Union_String_Number_Resource size - result->append(".size="); - WriteToString(result, &value->size); - // Ark_Union_FontWeight_Number_String weight - result->append(", "); - result->append(".weight="); - WriteToString(result, &value->weight); - // Ark_Union_String_Resource family - result->append(", "); - result->append(".family="); - WriteToString(result, &value->family); - // Ark_FontStyle style - result->append(", "); - result->append(".style="); - WriteToString(result, &value->style); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Font* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Font& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_FontOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -43867,41 +46645,6 @@ inline Ark_RuntimeType runtimeType(const Opt_FormInfo& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GaugeIndicatorOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_GaugeIndicatorOptions* value) { - result->append("{"); - // Ark_ResourceStr icon - result->append(".icon="); - WriteToString(result, &value->icon); - // Ark_Union_String_Number_Resource space - result->append(", "); - result->append(".space="); - WriteToString(result, &value->space); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_GaugeIndicatorOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_GaugeIndicatorOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_GaugeShadowOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -43980,131 +46723,6 @@ inline Ark_RuntimeType runtimeType(const Opt_GridColOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridRowSizeOption& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_GridRowSizeOption* value) { - result->append("{"); - // Ark_Union_String_Number_Resource xs - result->append(".xs="); - WriteToString(result, &value->xs); - // Ark_Union_String_Number_Resource sm - result->append(", "); - result->append(".sm="); - WriteToString(result, &value->sm); - // Ark_Union_String_Number_Resource md - result->append(", "); - result->append(".md="); - WriteToString(result, &value->md); - // Ark_Union_String_Number_Resource lg - result->append(", "); - result->append(".lg="); - WriteToString(result, &value->lg); - // Ark_Union_String_Number_Resource xl - result->append(", "); - result->append(".xl="); - WriteToString(result, &value->xl); - // Ark_Union_String_Number_Resource xxl - result->append(", "); - result->append(".xxl="); - WriteToString(result, &value->xxl); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_GridRowSizeOption* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_GridRowSizeOption& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_GuideLinePosition& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_GuideLinePosition* value) { - result->append("{"); - // Ark_Union_String_Number_Resource start - result->append(".start="); - WriteToString(result, &value->start); - // Ark_Union_String_Number_Resource end - result->append(", "); - result->append(".end="); - WriteToString(result, &value->end); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_GuideLinePosition* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_GuideLinePosition& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_GuideLineStyle& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_GuideLineStyle* value) { - result->append("{"); - // Ark_String id - result->append(".id="); - WriteToString(result, &value->id); - // Ark_Axis direction - result->append(", "); - result->append(".direction="); - WriteToString(result, value->direction); - // Ark_GuideLinePosition position - result->append(", "); - result->append(".position="); - WriteToString(result, &value->position); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_GuideLineStyle* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_GuideLineStyle& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_HistoricalPoint& value) { return INTEROP_RUNTIME_OBJECT; @@ -44148,45 +46766,6 @@ inline Ark_RuntimeType runtimeType(const Opt_HistoricalPoint& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_IconOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_IconOptions* value) { - result->append("{"); - // Ark_Union_String_Number_Resource size - result->append(".size="); - WriteToString(result, &value->size); - // Ark_ResourceColor color - result->append(", "); - result->append(".color="); - WriteToString(result, &value->color); - // Ark_ResourceStr src - result->append(", "); - result->append(".src="); - WriteToString(result, &value->src); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_IconOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_IconOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_ImageFrameInfo& value) { return INTEROP_RUNTIME_OBJECT; @@ -44238,64 +46817,40 @@ inline Ark_RuntimeType runtimeType(const Opt_ImageFrameInfo& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_IndicatorStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_JavaScriptProxy& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_IndicatorStyle* value) { +inline void WriteToString(std::string* result, const Ark_JavaScriptProxy* value) { result->append("{"); - // Ark_Union_String_Number_Resource height - result->append(".height="); - WriteToString(result, &value->height); - // Ark_Union_String_Number_Resource width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Union_String_Number_Resource borderRadius - result->append(", "); - result->append(".borderRadius="); - WriteToString(result, &value->borderRadius); - // Ark_Union_String_Number_Resource marginTop - result->append(", "); - result->append(".marginTop="); - WriteToString(result, &value->marginTop); - // Ark_ResourceColor color - result->append(", "); - result->append(".color="); - WriteToString(result, &value->color); - // Ark_ResourceColor selectedColor - result->append(", "); - result->append(".selectedColor="); - WriteToString(result, &value->selectedColor); - // Ark_Union_String_Number_Resource left - result->append(", "); - result->append(".left="); - WriteToString(result, &value->left); - // Ark_Union_String_Number_Resource top + // Ark_Object object_ + result->append(".object_="); + WriteToString(result, &value->object_); + // Ark_String name result->append(", "); - result->append(".top="); - WriteToString(result, &value->top); - // Ark_Union_String_Number_Resource right + result->append(".name="); + WriteToString(result, &value->name); + // Array_String methodList result->append(", "); - result->append(".right="); - WriteToString(result, &value->right); - // Ark_Union_String_Number_Resource bottom + result->append(".methodList="); + WriteToString(result, &value->methodList); + // Ark_Union_WebController_WebviewController controller result->append(", "); - result->append(".bottom="); - WriteToString(result, &value->bottom); - // Ark_Union_String_Number_Resource size + result->append(".controller="); + WriteToString(result, &value->controller); + // Array_String asyncMethodList result->append(", "); - result->append(".size="); - WriteToString(result, &value->size); - // Ark_Boolean mask + result->append(".asyncMethodList="); + WriteToString(result, &value->asyncMethodList); + // Ark_String permission result->append(", "); - result->append(".mask="); - WriteToString(result, &value->mask); + result->append(".permission="); + WriteToString(result, &value->permission); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_IndicatorStyle* value) { +inline void WriteToString(std::string* result, const Opt_JavaScriptProxy* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -44308,45 +46863,45 @@ inline void WriteToString(std::string* result, const Opt_IndicatorStyle* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_IndicatorStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_JavaScriptProxy& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_JavaScriptProxy& value) +inline Ark_RuntimeType runtimeType(const Ark_Length& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Length: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_JavaScriptProxy* value) { +inline void WriteToString(std::string* result, const Ark_Length* value) { result->append("{"); - // Ark_Object object_ - result->append(".object_="); - WriteToString(result, &value->object_); - // Ark_String name - result->append(", "); - result->append(".name="); - WriteToString(result, &value->name); - // Array_String methodList - result->append(", "); - result->append(".methodList="); - WriteToString(result, &value->methodList); - // Ark_Union_WebController_WebviewController controller - result->append(", "); - result->append(".controller="); - WriteToString(result, &value->controller); - // Array_String asyncMethodList - result->append(", "); - result->append(".asyncMethodList="); - WriteToString(result, &value->asyncMethodList); - // Ark_String permission + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".permission="); - WriteToString(result, &value->permission); + // Ark_String + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Number + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_Resource + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_JavaScriptProxy* value) { +inline void WriteToString(std::string* result, const Opt_Length* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -44359,7 +46914,7 @@ inline void WriteToString(std::string* result, const Opt_JavaScriptProxy* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_JavaScriptProxy& value) +inline Ark_RuntimeType runtimeType(const Opt_Length& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -44371,10 +46926,10 @@ inline Ark_RuntimeType runtimeType(const Ark_LengthConstrain& value) template <> inline void WriteToString(std::string* result, const Ark_LengthConstrain* value) { result->append("{"); - // Ark_Union_String_Number_Resource minLength + // Ark_Length minLength result->append(".minLength="); WriteToString(result, &value->minLength); - // Ark_Union_String_Number_Resource maxLength + // Ark_Length maxLength result->append(", "); result->append(".maxLength="); WriteToString(result, &value->maxLength); @@ -44406,14 +46961,14 @@ inline Ark_RuntimeType runtimeType(const Ark_LightSource& value) template <> inline void WriteToString(std::string* result, const Ark_LightSource* value) { result->append("{"); - // Ark_Union_String_Number_Resource positionX + // Ark_Dimension positionX result->append(".positionX="); WriteToString(result, &value->positionX); - // Ark_Union_String_Number_Resource positionY + // Ark_Dimension positionY result->append(", "); result->append(".positionY="); WriteToString(result, &value->positionY); - // Ark_Union_String_Number_Resource positionZ + // Ark_Dimension positionZ result->append(", "); result->append(".positionZ="); WriteToString(result, &value->positionZ); @@ -44493,28 +47048,20 @@ inline Ark_RuntimeType runtimeType(const Opt_LinearIndicatorStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LinearStyleOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Literal__want& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LinearStyleOptions* value) { +inline void WriteToString(std::string* result, const Ark_Literal__want* value) { result->append("{"); - // Ark_Boolean enableScanEffect - result->append(".enableScanEffect="); - WriteToString(result, &value->enableScanEffect); - // Ark_Union_String_Number_Resource strokeWidth - result->append(", "); - result->append(".strokeWidth="); - WriteToString(result, &value->strokeWidth); - // Ark_Union_PX_VP_LPX_Resource strokeRadius - result->append(", "); - result->append(".strokeRadius="); - WriteToString(result, &value->strokeRadius); + // Ark_Want want + result->append(".want="); + WriteToString(result, &value->want); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LinearStyleOptions* value) { +inline void WriteToString(std::string* result, const Opt_Literal__want* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -44527,37 +47074,29 @@ inline void WriteToString(std::string* result, const Opt_LinearStyleOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LinearStyleOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Literal__want& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ListDividerOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Literal_Number_code__want& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ListDividerOptions* value) { +inline void WriteToString(std::string* result, const Ark_Literal_Number_code__want* value) { result->append("{"); - // Ark_Union_String_Number_Resource strokeWidth - result->append(".strokeWidth="); - WriteToString(result, &value->strokeWidth); - // Ark_ResourceColor color - result->append(", "); - result->append(".color="); - WriteToString(result, &value->color); - // Ark_Union_String_Number_Resource startMargin - result->append(", "); - result->append(".startMargin="); - WriteToString(result, &value->startMargin); - // Ark_Union_String_Number_Resource endMargin + // Ark_Number code + result->append(".code="); + WriteToString(result, &value->code); + // Ark_Want want result->append(", "); - result->append(".endMargin="); - WriteToString(result, &value->endMargin); + result->append(".want="); + WriteToString(result, &value->want); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ListDividerOptions* value) { +inline void WriteToString(std::string* result, const Opt_Literal_Number_code__want* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -44570,87 +47109,21 @@ inline void WriteToString(std::string* result, const Opt_ListDividerOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListDividerOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_code__want& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal__want& value) +inline Ark_RuntimeType runtimeType(const Ark_Literal_ResourceColor_color& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Literal__want* value) { +inline void WriteToString(std::string* result, const Ark_Literal_ResourceColor_color* value) { result->append("{"); - // Ark_Want want - result->append(".want="); - WriteToString(result, &value->want); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Literal__want* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal__want& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal_Number_code__want& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Literal_Number_code__want* value) { - result->append("{"); - // Ark_Number code - result->append(".code="); - WriteToString(result, &value->code); - // Ark_Want want - result->append(", "); - result->append(".want="); - WriteToString(result, &value->want); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Literal_Number_code__want* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_code__want& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal_ResourceColor_color& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Literal_ResourceColor_color* value) { - result->append("{"); - // Ark_ResourceColor color - result->append(".color="); - WriteToString(result, &value->color); + // Ark_ResourceColor color + result->append(".color="); + WriteToString(result, &value->color); result->append("}"); } template <> @@ -45125,45 +47598,6 @@ inline Ark_RuntimeType runtimeType(const Opt_LunarSwitchStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MarkStyle& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_MarkStyle* value) { - result->append("{"); - // Ark_ResourceColor strokeColor - result->append(".strokeColor="); - WriteToString(result, &value->strokeColor); - // Ark_Union_String_Number_Resource size - result->append(", "); - result->append(".size="); - WriteToString(result, &value->size); - // Ark_Union_String_Number_Resource strokeWidth - result->append(", "); - result->append(".strokeWidth="); - WriteToString(result, &value->strokeWidth); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_MarkStyle* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_MarkStyle& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_MeasureOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -45415,24 +47849,24 @@ inline Ark_RuntimeType runtimeType(const Opt_MenuItemOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavDestinationCommonTitle& value) +inline Ark_RuntimeType runtimeType(const Ark_NativeXComponentParameters& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NavDestinationCommonTitle* value) { +inline void WriteToString(std::string* result, const Ark_NativeXComponentParameters* value) { result->append("{"); - // Ark_Union_String_Resource main - result->append(".main="); - WriteToString(result, &value->main); - // Ark_Union_String_Resource sub + // Ark_XComponentType type + result->append(".type="); + WriteToString(result, value->type); + // Ark_ImageAIOptions imageAIOptions result->append(", "); - result->append(".sub="); - WriteToString(result, &value->sub); + result->append(".imageAIOptions="); + WriteToString(result, &value->imageAIOptions); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NavDestinationCommonTitle* value) { +inline void WriteToString(std::string* result, const Opt_NativeXComponentParameters* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -45445,26 +47879,34 @@ inline void WriteToString(std::string* result, const Opt_NavDestinationCommonTit result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavDestinationCommonTitle& value) +inline Ark_RuntimeType runtimeType(const Opt_NativeXComponentParameters& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavDestinationContext& value) +inline Ark_RuntimeType runtimeType(const Ark_NavDestinationCommonTitle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NavDestinationContext value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_NavDestinationCommonTitle* value) { + result->append("{"); + // Ark_Union_String_Resource main + result->append(".main="); + WriteToString(result, &value->main); + // Ark_Union_String_Resource sub + result->append(", "); + result->append(".sub="); + WriteToString(result, &value->sub); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NavDestinationContext* value) { +inline void WriteToString(std::string* result, const Opt_NavDestinationCommonTitle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -45472,34 +47914,26 @@ inline void WriteToString(std::string* result, const Opt_NavDestinationContext* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavDestinationContext& value) +inline Ark_RuntimeType runtimeType(const Opt_NavDestinationCommonTitle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavDestinationCustomTitle& value) +inline Ark_RuntimeType runtimeType(const Ark_NavDestinationContext& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NavDestinationCustomTitle* value) { - result->append("{"); - // CustomNodeBuilder builder - result->append(".builder="); - WriteToString(result, &value->builder); - // Ark_Union_TitleHeight_Length height - result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_NavDestinationContext value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_NavDestinationCustomTitle* value) { +inline void WriteToString(std::string* result, const Opt_NavDestinationContext* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -45507,7 +47941,7 @@ inline void WriteToString(std::string* result, const Opt_NavDestinationCustomTit result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavDestinationCustomTitle& value) +inline Ark_RuntimeType runtimeType(const Opt_NavDestinationContext& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -45547,41 +47981,6 @@ inline Ark_RuntimeType runtimeType(const Opt_NavigationCommonTitle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationCustomTitle& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_NavigationCustomTitle* value) { - result->append("{"); - // CustomNodeBuilder builder - result->append(".builder="); - WriteToString(result, &value->builder); - // Ark_Union_TitleHeight_Length height - result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_NavigationCustomTitle* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationCustomTitle& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationMenuItem& value) { return INTEROP_RUNTIME_OBJECT; @@ -45629,104 +48028,6 @@ inline Ark_RuntimeType runtimeType(const Opt_NavigationMenuItem& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationTitleOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_NavigationTitleOptions* value) { - result->append("{"); - // Ark_ResourceColor backgroundColor - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Ark_BlurStyle backgroundBlurStyle - result->append(", "); - result->append(".backgroundBlurStyle="); - WriteToString(result, &value->backgroundBlurStyle); - // Ark_BarStyle barStyle - result->append(", "); - result->append(".barStyle="); - WriteToString(result, &value->barStyle); - // Ark_LengthMetrics paddingStart - result->append(", "); - result->append(".paddingStart="); - WriteToString(result, &value->paddingStart); - // Ark_LengthMetrics paddingEnd - result->append(", "); - result->append(".paddingEnd="); - WriteToString(result, &value->paddingEnd); - // Ark_TextModifier mainTitleModifier - result->append(", "); - result->append(".mainTitleModifier="); - WriteToString(result, &value->mainTitleModifier); - // Ark_TextModifier subTitleModifier - result->append(", "); - result->append(".subTitleModifier="); - WriteToString(result, &value->subTitleModifier); - // Ark_Boolean enableHoverMode - result->append(", "); - result->append(".enableHoverMode="); - WriteToString(result, &value->enableHoverMode); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_NavigationTitleOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationTitleOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationToolbarOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_NavigationToolbarOptions* value) { - result->append("{"); - // Ark_ResourceColor backgroundColor - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Ark_BlurStyle backgroundBlurStyle - result->append(", "); - result->append(".backgroundBlurStyle="); - WriteToString(result, &value->backgroundBlurStyle); - // Ark_BarStyle barStyle - result->append(", "); - result->append(".barStyle="); - WriteToString(result, &value->barStyle); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_NavigationToolbarOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationToolbarOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_NonCurrentDayStyle& value) { return INTEROP_RUNTIME_OBJECT; @@ -45770,64 +48071,21 @@ inline Ark_RuntimeType runtimeType(const Opt_NonCurrentDayStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Offset& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Offset* value) { - result->append("{"); - // Ark_Union_String_Number_Resource dx - result->append(".dx="); - WriteToString(result, &value->dx); - // Ark_Union_String_Number_Resource dy - result->append(", "); - result->append(".dy="); - WriteToString(result, &value->dy); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Offset* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Offset& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_OffsetOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_OffscreenCanvasRenderingContext2D& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OffsetOptions* value) { - result->append("{"); - // Ark_Union_String_Number_Resource xOffset - result->append(".xOffset="); - WriteToString(result, &value->xOffset); - // Ark_Union_String_Number_Resource yOffset - result->append(", "); - result->append(".yOffset="); - WriteToString(result, &value->yOffset); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_OffscreenCanvasRenderingContext2D value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_OffsetOptions* value) { +inline void WriteToString(std::string* result, const Opt_OffscreenCanvasRenderingContext2D* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -45835,37 +48093,29 @@ inline void WriteToString(std::string* result, const Opt_OffsetOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OffsetOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_OffscreenCanvasRenderingContext2D& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OutlineRadiuses& value) +inline Ark_RuntimeType runtimeType(const Ark_Offset& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OutlineRadiuses* value) { +inline void WriteToString(std::string* result, const Ark_Offset* value) { result->append("{"); - // Ark_Union_String_Number_Resource topLeft - result->append(".topLeft="); - WriteToString(result, &value->topLeft); - // Ark_Union_String_Number_Resource topRight - result->append(", "); - result->append(".topRight="); - WriteToString(result, &value->topRight); - // Ark_Union_String_Number_Resource bottomLeft - result->append(", "); - result->append(".bottomLeft="); - WriteToString(result, &value->bottomLeft); - // Ark_Union_String_Number_Resource bottomRight + // Ark_Length dx + result->append(".dx="); + WriteToString(result, &value->dx); + // Ark_Length dy result->append(", "); - result->append(".bottomRight="); - WriteToString(result, &value->bottomRight); + result->append(".dy="); + WriteToString(result, &value->dy); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OutlineRadiuses* value) { +inline void WriteToString(std::string* result, const Opt_Offset* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -45878,7 +48128,7 @@ inline void WriteToString(std::string* result, const Opt_OutlineRadiuses* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OutlineRadiuses& value) +inline Ark_RuntimeType runtimeType(const Opt_Offset& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -45918,49 +48168,6 @@ inline Ark_RuntimeType runtimeType(const Opt_OverlayOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Padding& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Padding* value) { - result->append("{"); - // Ark_Union_String_Number_Resource top - result->append(".top="); - WriteToString(result, &value->top); - // Ark_Union_String_Number_Resource right - result->append(", "); - result->append(".right="); - WriteToString(result, &value->right); - // Ark_Union_String_Number_Resource bottom - result->append(", "); - result->append(".bottom="); - WriteToString(result, &value->bottom); - // Ark_Union_String_Number_Resource left - result->append(", "); - result->append(".left="); - WriteToString(result, &value->left); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Padding* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Padding& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_PasswordIcon& value) { return INTEROP_RUNTIME_OBJECT; @@ -45996,49 +48203,6 @@ inline Ark_RuntimeType runtimeType(const Opt_PasswordIcon& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PixelStretchEffectOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_PixelStretchEffectOptions* value) { - result->append("{"); - // Ark_Union_String_Number_Resource top - result->append(".top="); - WriteToString(result, &value->top); - // Ark_Union_String_Number_Resource bottom - result->append(", "); - result->append(".bottom="); - WriteToString(result, &value->bottom); - // Ark_Union_String_Number_Resource left - result->append(", "); - result->append(".left="); - WriteToString(result, &value->left); - // Ark_Union_String_Number_Resource right - result->append(", "); - result->append(".right="); - WriteToString(result, &value->right); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_PixelStretchEffectOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_PixelStretchEffectOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_PluginComponentOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -46074,84 +48238,6 @@ inline Ark_RuntimeType runtimeType(const Opt_PluginComponentOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Position& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Position* value) { - result->append("{"); - // Ark_Union_String_Number_Resource x - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Union_String_Number_Resource y - result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Position* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Position& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_ProgressStyleOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_ProgressStyleOptions* value) { - result->append("{"); - // Ark_Boolean enableSmoothEffect - result->append(".enableSmoothEffect="); - WriteToString(result, &value->enableSmoothEffect); - // Ark_Union_String_Number_Resource strokeWidth - result->append(", "); - result->append(".strokeWidth="); - WriteToString(result, &value->strokeWidth); - // Ark_Number scaleCount - result->append(", "); - result->append(".scaleCount="); - WriteToString(result, &value->scaleCount); - // Ark_Union_String_Number_Resource scaleWidth - result->append(", "); - result->append(".scaleWidth="); - WriteToString(result, &value->scaleWidth); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ProgressStyleOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ProgressStyleOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_RadioStyle& value) { return INTEROP_RUNTIME_OBJECT; @@ -46191,49 +48277,6 @@ inline Ark_RuntimeType runtimeType(const Opt_RadioStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Rectangle& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Rectangle* value) { - result->append("{"); - // Ark_Union_String_Number_Resource x - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Union_String_Number_Resource y - result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); - // Ark_Union_String_Number_Resource width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Union_String_Number_Resource height - result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Rectangle* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Rectangle& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_RectOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -46363,16 +48406,16 @@ inline Ark_RuntimeType runtimeType(const Opt_RefreshOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RenderNode& value) +inline Ark_RuntimeType runtimeType(const Ark_RestrictedWorker& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RenderNode value) { +inline void WriteToString(std::string* result, const Ark_RestrictedWorker value) { WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_RenderNode* value) { +inline void WriteToString(std::string* result, const Opt_RestrictedWorker* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -46385,26 +48428,30 @@ inline void WriteToString(std::string* result, const Opt_RenderNode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RenderNode& value) +inline Ark_RuntimeType runtimeType(const Opt_RestrictedWorker& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RestrictedWorker& value) +inline Ark_RuntimeType runtimeType(const Ark_ReuseOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RestrictedWorker value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_ReuseOptions* value) { + result->append("{"); + // ReuseIdCallback reuseId + result->append(".reuseId="); + WriteToString(result, &value->reuseId); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RestrictedWorker* value) { +inline void WriteToString(std::string* result, const Opt_ReuseOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -46412,7 +48459,46 @@ inline void WriteToString(std::string* result, const Opt_RestrictedWorker* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RestrictedWorker& value) +inline Ark_RuntimeType runtimeType(const Opt_ReuseOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorBuilderSpanOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorBuilderSpanOptions* value) { + result->append("{"); + // Ark_Number offset + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_ColorMetrics dragBackgroundColor + result->append(", "); + result->append(".dragBackgroundColor="); + WriteToString(result, &value->dragBackgroundColor); + // Ark_Boolean isDragShadowNeeded + result->append(", "); + result->append(".isDragShadowNeeded="); + WriteToString(result, &value->isDragShadowNeeded); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorBuilderSpanOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorBuilderSpanOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -46507,73 +48593,6 @@ inline Ark_RuntimeType runtimeType(const Opt_RichEditorSymbolSpanStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextStyleResult& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_RichEditorTextStyleResult* value) { - result->append("{"); - // Ark_ResourceColor fontColor - result->append(".fontColor="); - WriteToString(result, &value->fontColor); - // Ark_Number fontSize - result->append(", "); - result->append(".fontSize="); - WriteToString(result, &value->fontSize); - // Ark_FontStyle fontStyle - result->append(", "); - result->append(".fontStyle="); - WriteToString(result, value->fontStyle); - // Ark_Number fontWeight - result->append(", "); - result->append(".fontWeight="); - WriteToString(result, &value->fontWeight); - // Ark_String fontFamily - result->append(", "); - result->append(".fontFamily="); - WriteToString(result, &value->fontFamily); - // Ark_DecorationStyleResult decoration - result->append(", "); - result->append(".decoration="); - WriteToString(result, &value->decoration); - // Array_ShadowOptions textShadow - result->append(", "); - result->append(".textShadow="); - WriteToString(result, &value->textShadow); - // Ark_Number letterSpacing - result->append(", "); - result->append(".letterSpacing="); - WriteToString(result, &value->letterSpacing); - // Ark_Number lineHeight - result->append(", "); - result->append(".lineHeight="); - WriteToString(result, &value->lineHeight); - // Ark_String fontFeature - result->append(", "); - result->append(".fontFeature="); - WriteToString(result, &value->fontFeature); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_RichEditorTextStyleResult* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextStyleResult& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateSymbolSpanStyleOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -46613,32 +48632,20 @@ inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateSymbolSpanStyleOpti return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RingStyleOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_RichEditorUrlStyle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RingStyleOptions* value) { +inline void WriteToString(std::string* result, const Ark_RichEditorUrlStyle* value) { result->append("{"); - // Ark_Boolean enableScanEffect - result->append(".enableScanEffect="); - WriteToString(result, &value->enableScanEffect); - // Ark_Union_String_Number_Resource strokeWidth - result->append(", "); - result->append(".strokeWidth="); - WriteToString(result, &value->strokeWidth); - // Ark_Boolean shadow - result->append(", "); - result->append(".shadow="); - WriteToString(result, &value->shadow); - // Ark_ProgressStatus status - result->append(", "); - result->append(".status="); - WriteToString(result, &value->status); + // Ark_ResourceStr url + result->append(".url="); + WriteToString(result, &value->url); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RingStyleOptions* value) { +inline void WriteToString(std::string* result, const Opt_RichEditorUrlStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -46651,7 +48658,7 @@ inline void WriteToString(std::string* result, const Opt_RingStyleOptions* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RingStyleOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_RichEditorUrlStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -46691,41 +48698,6 @@ inline Ark_RuntimeType runtimeType(const Opt_SceneOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScrollableBarModeOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_ScrollableBarModeOptions* value) { - result->append("{"); - // Ark_Union_String_Number_Resource margin - result->append(".margin="); - WriteToString(result, &value->margin); - // Ark_LayoutStyle nonScrollableLayoutStyle - result->append(", "); - result->append(".nonScrollableLayoutStyle="); - WriteToString(result, &value->nonScrollableLayoutStyle); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ScrollableBarModeOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollableBarModeOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -46796,28 +48768,32 @@ inline Ark_RuntimeType runtimeType(const Opt_ScrollToIndexOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SearchButtonOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_SearchOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SearchButtonOptions* value) { +inline void WriteToString(std::string* result, const Ark_SearchOptions* value) { result->append("{"); - // Ark_Union_String_Number_Resource fontSize - result->append(".fontSize="); - WriteToString(result, &value->fontSize); - // Ark_ResourceColor fontColor + // Ark_String value + result->append(".value="); + WriteToString(result, &value->value); + // Ark_ResourceStr placeholder result->append(", "); - result->append(".fontColor="); - WriteToString(result, &value->fontColor); - // Ark_Boolean autoDisable + result->append(".placeholder="); + WriteToString(result, &value->placeholder); + // Ark_String icon result->append(", "); - result->append(".autoDisable="); - WriteToString(result, &value->autoDisable); + result->append(".icon="); + WriteToString(result, &value->icon); + // Ark_SearchController controller + result->append(", "); + result->append(".controller="); + WriteToString(result, &value->controller); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SearchButtonOptions* value) { +inline void WriteToString(std::string* result, const Opt_SearchOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -46830,37 +48806,45 @@ inline void WriteToString(std::string* result, const Opt_SearchButtonOptions* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SearchButtonOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_SearchOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SearchOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_SelectionMenuOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SearchOptions* value) { +inline void WriteToString(std::string* result, const Ark_SelectionMenuOptions* value) { result->append("{"); - // Ark_String value - result->append(".value="); - WriteToString(result, &value->value); - // Ark_ResourceStr placeholder + // MenuOnAppearCallback onAppear + result->append(".onAppear="); + WriteToString(result, &value->onAppear); + // Callback_Void onDisappear result->append(", "); - result->append(".placeholder="); - WriteToString(result, &value->placeholder); - // Ark_String icon + result->append(".onDisappear="); + WriteToString(result, &value->onDisappear); + // Ark_MenuType menuType result->append(", "); - result->append(".icon="); - WriteToString(result, &value->icon); - // Ark_SearchController controller + result->append(".menuType="); + WriteToString(result, &value->menuType); + // MenuCallback onMenuShow result->append(", "); - result->append(".controller="); - WriteToString(result, &value->controller); + result->append(".onMenuShow="); + WriteToString(result, &value->onMenuShow); + // MenuCallback onMenuHide + result->append(", "); + result->append(".onMenuHide="); + WriteToString(result, &value->onMenuHide); + // Ark_PreviewMenuOptions previewMenuOptions + result->append(", "); + result->append(".previewMenuOptions="); + WriteToString(result, &value->previewMenuOptions); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SearchOptions* value) { +inline void WriteToString(std::string* result, const Opt_SelectionMenuOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -46873,7 +48857,7 @@ inline void WriteToString(std::string* result, const Opt_SearchOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SearchOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_SelectionMenuOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -47093,52 +49077,17 @@ inline Ark_RuntimeType runtimeType(const Opt_SheetTitleOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SizeOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_SliderBlockStyle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SizeOptions* value) { +inline void WriteToString(std::string* result, const Ark_SliderBlockStyle* value) { result->append("{"); - // Ark_Union_String_Number_Resource width - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Union_String_Number_Resource height - result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SizeOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SizeOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SliderBlockStyle& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_SliderBlockStyle* value) { - result->append("{"); - // Ark_SliderBlockType type - result->append(".type="); - WriteToString(result, value->type); - // Ark_ResourceStr image + // Ark_SliderBlockType type + result->append(".type="); + WriteToString(result, value->type); + // Ark_ResourceStr image result->append(", "); result->append(".image="); WriteToString(result, &value->image); @@ -47206,57 +49155,6 @@ inline Ark_RuntimeType runtimeType(const Opt_StyledStringChangeValue& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SwipeActionItem& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_SwipeActionItem* value) { - result->append("{"); - // CustomNodeBuilder builder - result->append(".builder="); - WriteToString(result, &value->builder); - // Ark_Union_String_Number_Resource actionAreaDistance - result->append(", "); - result->append(".actionAreaDistance="); - WriteToString(result, &value->actionAreaDistance); - // Callback_Void onAction - result->append(", "); - result->append(".onAction="); - WriteToString(result, &value->onAction); - // Callback_Void onEnterActionArea - result->append(", "); - result->append(".onEnterActionArea="); - WriteToString(result, &value->onEnterActionArea); - // Callback_Void onExitActionArea - result->append(", "); - result->append(".onExitActionArea="); - WriteToString(result, &value->onExitActionArea); - // Callback_SwipeActionState_Void onStateChange - result->append(", "); - result->append(".onStateChange="); - WriteToString(result, &value->onStateChange); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SwipeActionItem* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SwipeActionItem& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_SwitchStyle& value) { return INTEROP_RUNTIME_OBJECT; @@ -47370,6 +49268,49 @@ inline Ark_RuntimeType runtimeType(const Opt_TabBarOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_TabsOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TabsOptions* value) { + result->append("{"); + // Ark_BarPosition barPosition + result->append(".barPosition="); + WriteToString(result, &value->barPosition); + // Ark_Number index + result->append(", "); + result->append(".index="); + WriteToString(result, &value->index); + // Ark_TabsController controller + result->append(", "); + result->append(".controller="); + WriteToString(result, &value->controller); + // Ark_CommonModifier barModifier + result->append(", "); + result->append(".barModifier="); + WriteToString(result, &value->barModifier); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TabsOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TabsOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_TerminationInfo& value) { return INTEROP_RUNTIME_OBJECT; @@ -47479,6 +49420,49 @@ inline Ark_RuntimeType runtimeType(const Opt_TextCascadePickerRangeContent& valu return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_TextChangeOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TextChangeOptions* value) { + result->append("{"); + // Ark_TextRange rangeBefore + result->append(".rangeBefore="); + WriteToString(result, &value->rangeBefore); + // Ark_TextRange rangeAfter + result->append(", "); + result->append(".rangeAfter="); + WriteToString(result, &value->rangeAfter); + // Ark_String oldContent + result->append(", "); + result->append(".oldContent="); + WriteToString(result, &value->oldContent); + // Ark_PreviewText oldPreviewText + result->append(", "); + result->append(".oldPreviewText="); + WriteToString(result, &value->oldPreviewText); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextChangeOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TextChangeOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_TextDecorationOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -47575,6 +49559,10 @@ inline void WriteToString(std::string* result, const Ark_TextMenuItem* value) { result->append(", "); result->append(".id="); WriteToString(result, value->id); + // Ark_ResourceStr labelInfo + result->append(", "); + result->append(".labelInfo="); + WriteToString(result, &value->labelInfo); result->append("}"); } template <> @@ -47614,6 +49602,10 @@ inline void WriteToString(std::string* result, const Ark_TextPickerOptions* valu result->append(", "); result->append(".selected="); WriteToString(result, &value->selected); + // Array_LengthMetrics columnWidths + result->append(", "); + result->append(".columnWidths="); + WriteToString(result, &value->columnWidths); result->append("}"); } template <> @@ -48029,10 +50021,10 @@ inline Ark_RuntimeType runtimeType(const Ark_Tuple_Dimension_Dimension& value) template <> inline void WriteToString(std::string* result, const Ark_Tuple_Dimension_Dimension* value) { result->append("{"); - // Ark_Union_String_Number_Resource value0 + // Ark_Dimension value0 result->append(".value0="); WriteToString(result, &value->value0); - // Ark_Union_String_Number_Resource value1 + // Ark_Dimension value1 result->append(", "); result->append(".value1="); WriteToString(result, &value->value1); @@ -48064,10 +50056,10 @@ inline Ark_RuntimeType runtimeType(const Ark_Tuple_Length_Length& value) template <> inline void WriteToString(std::string* result, const Ark_Tuple_Length_Length* value) { result->append("{"); - // Ark_Union_String_Number_Resource value0 + // Ark_Length value0 result->append(".value0="); WriteToString(result, &value->value0); - // Ark_Union_String_Number_Resource value1 + // Ark_Length value1 result->append(", "); result->append(".value1="); WriteToString(result, &value->value1); @@ -48127,220 +50119,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Tuple_Union_ResourceColor_LinearGra return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Type_CommonMethod_radialGradient_value& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Type_CommonMethod_radialGradient_value* value) { - result->append("{"); - // Ark_Tuple_Length_Length center - result->append(".center="); - WriteToString(result, &value->center); - // Ark_Union_Number_String radius - result->append(", "); - result->append(".radius="); - WriteToString(result, &value->radius); - // Array_Tuple_ResourceColor_Number colors - result->append(", "); - result->append(".colors="); - WriteToString(result, &value->colors); - // Ark_Boolean repeating - result->append(", "); - result->append(".repeating="); - WriteToString(result, &value->repeating); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_radialGradient_value* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_CommonMethod_radialGradient_value& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Type_CommonMethod_sweepGradient_value& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Type_CommonMethod_sweepGradient_value* value) { - result->append("{"); - // Ark_Tuple_Length_Length center - result->append(".center="); - WriteToString(result, &value->center); - // Ark_Union_Number_String start - result->append(", "); - result->append(".start="); - WriteToString(result, &value->start); - // Ark_Union_Number_String end - result->append(", "); - result->append(".end="); - WriteToString(result, &value->end); - // Ark_Union_Number_String rotation - result->append(", "); - result->append(".rotation="); - WriteToString(result, &value->rotation); - // Array_Tuple_ResourceColor_Number colors - result->append(", "); - result->append(".colors="); - WriteToString(result, &value->colors); - // Ark_Boolean repeating - result->append(", "); - result->append(".repeating="); - WriteToString(result, &value->repeating); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_sweepGradient_value* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_CommonMethod_sweepGradient_value& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Type_NavDestinationAttribute_title_value& value) -{ - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - case 3: return runtimeType(value.value3); - case 4: return runtimeType(value.value4); - default: INTEROP_FATAL("Bad selector in Ark_Type_NavDestinationAttribute_title_value: %d", value.selector); - } -} -template <> -inline void WriteToString(std::string* result, const Ark_Type_NavDestinationAttribute_title_value* value) { - result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_String - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // CustomNodeBuilder - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_NavDestinationCommonTitle - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } - // Ark_NavDestinationCustomTitle - if (value->selector == 3) { - result->append(".value3="); - WriteToString(result, &value->value3); - } - // Ark_Resource - if (value->selector == 4) { - result->append(".value4="); - WriteToString(result, &value->value4); - } - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Type_NavDestinationAttribute_title_value* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_NavDestinationAttribute_title_value& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Type_NavigationAttribute_title_value& value) -{ - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - case 3: return runtimeType(value.value3); - default: INTEROP_FATAL("Bad selector in Ark_Type_NavigationAttribute_title_value: %d", value.selector); - } -} -template <> -inline void WriteToString(std::string* result, const Ark_Type_NavigationAttribute_title_value* value) { - result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_ResourceStr - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // CustomNodeBuilder - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_NavigationCommonTitle - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } - // Ark_NavigationCustomTitle - if (value->selector == 3) { - result->append(".value3="); - WriteToString(result, &value->value3); - } - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Type_NavigationAttribute_title_value* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_NavigationAttribute_title_value& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Type_XComponentInterface_callable0_value& value) { return INTEROP_RUNTIME_OBJECT; @@ -48470,26 +50248,26 @@ inline Ark_RuntimeType runtimeType(const Opt_UnderlineColor& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Array_Rectangle_Rectangle& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Boolean_Literal_ResourceColor_color& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Array_Rectangle_Rectangle: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Boolean_Literal_ResourceColor_color: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Array_Rectangle_Rectangle* value) { +inline void WriteToString(std::string* result, const Ark_Union_Boolean_Literal_ResourceColor_color* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Array_Rectangle + // Ark_Boolean if (value->selector == 0) { result->append(".value0="); - WriteToString(result, &value->value0); + WriteToString(result, value->value0); } - // Ark_Rectangle + // Ark_Literal_ResourceColor_color if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -48497,7 +50275,7 @@ inline void WriteToString(std::string* result, const Ark_Union_Array_Rectangle_R result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Array_Rectangle_Rectangle* value) { +inline void WriteToString(std::string* result, const Opt_Union_Boolean_Literal_ResourceColor_color* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -48510,31 +50288,31 @@ inline void WriteToString(std::string* result, const Opt_Union_Array_Rectangle_R result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Array_Rectangle_Rectangle& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Literal_ResourceColor_color& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_ArrowStyle_Boolean& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_ArrowStyle_Boolean: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_ArrowStyle_Boolean* value) { +inline void WriteToString(std::string* result, const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_ArrowStyle + // Ark_CanvasRenderingContext2D if (value->selector == 0) { result->append(".value0="); - WriteToString(result, &value->value0); + WriteToString(result, value->value0); } - // Ark_Boolean + // Ark_DrawingRenderingContext if (value->selector == 1) { result->append(".value1="); WriteToString(result, value->value1); @@ -48542,7 +50320,7 @@ inline void WriteToString(std::string* result, const Ark_Union_ArrowStyle_Boolea result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_ArrowStyle_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -48555,31 +50333,31 @@ inline void WriteToString(std::string* result, const Opt_Union_ArrowStyle_Boolea result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ArrowStyle_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_BadgePosition_Position& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_Array_Dimension& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_BadgePosition_Position: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_Array_Dimension: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_BadgePosition_Position* value) { +inline void WriteToString(std::string* result, const Ark_Union_Dimension_Array_Dimension* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_BadgePosition + // Ark_Dimension if (value->selector == 0) { result->append(".value0="); - WriteToString(result, value->value0); + WriteToString(result, &value->value0); } - // Ark_Position + // Array_Dimension if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -48587,7 +50365,7 @@ inline void WriteToString(std::string* result, const Ark_Union_BadgePosition_Pos result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_BadgePosition_Position* value) { +inline void WriteToString(std::string* result, const Opt_Union_Dimension_Array_Dimension* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -48600,39 +50378,39 @@ inline void WriteToString(std::string* result, const Opt_Union_BadgePosition_Pos result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_BadgePosition_Position& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_Array_Dimension& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Boolean_Literal_ResourceColor_color& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_OptionWidthMode& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Boolean_Literal_ResourceColor_color: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_OptionWidthMode: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Boolean_Literal_ResourceColor_color* value) { +inline void WriteToString(std::string* result, const Ark_Union_Dimension_OptionWidthMode* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Boolean + // Ark_Dimension if (value->selector == 0) { result->append(".value0="); - WriteToString(result, value->value0); + WriteToString(result, &value->value0); } - // Ark_Literal_ResourceColor_color + // Ark_OptionWidthMode if (value->selector == 1) { result->append(".value1="); - WriteToString(result, &value->value1); + WriteToString(result, value->value1); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Boolean_Literal_ResourceColor_color* value) { +inline void WriteToString(std::string* result, const Opt_Union_Dimension_OptionWidthMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -48645,45 +50423,39 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_Literal_R result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Literal_ResourceColor_color& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_OptionWidthMode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_PanelHeight& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_PanelHeight: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses* value) { +inline void WriteToString(std::string* result, const Ark_Union_Dimension_PanelHeight* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_BorderRadiuses + // Ark_Dimension if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_Union_String_Number_Resource + // Ark_PanelHeight if (value->selector == 1) { result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_LocalizedBorderRadiuses - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); + WriteToString(result, value->value1); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses* value) { +inline void WriteToString(std::string* result, const Opt_Union_Dimension_PanelHeight* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -48696,39 +50468,45 @@ inline void WriteToString(std::string* result, const Opt_Union_BorderRadiuses_Le result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_PanelHeight& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_CustomBuilder_SwipeActionItem& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_CustomBuilder_SwipeActionItem: %d", value.selector); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_CustomBuilder_SwipeActionItem* value) { +inline void WriteToString(std::string* result, const Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // CustomNodeBuilder + // Ark_EdgeColors if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_SwipeActionItem + // Ark_ResourceColor if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } + // Ark_LocalizedEdgeColors + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_CustomBuilder_SwipeActionItem* value) { +inline void WriteToString(std::string* result, const Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -48741,31 +50519,31 @@ inline void WriteToString(std::string* result, const Opt_Union_CustomBuilder_Swi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CustomBuilder_SwipeActionItem& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_Array_Dimension& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Length_LayoutPolicy& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_Array_Dimension: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Length_LayoutPolicy: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Dimension_Array_Dimension* value) { +inline void WriteToString(std::string* result, const Ark_Union_Length_LayoutPolicy* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_Length if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Array_Union_String_Number_Resource + // Ark_LayoutPolicy if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -48773,7 +50551,7 @@ inline void WriteToString(std::string* result, const Ark_Union_Dimension_Array_D result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Dimension_Array_Dimension* value) { +inline void WriteToString(std::string* result, const Opt_Union_Length_LayoutPolicy* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -48786,31 +50564,31 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_Array_D result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_Array_Dimension& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_LayoutPolicy& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_BorderRadiuses& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Length_Number& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_BorderRadiuses: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Length_Number: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Dimension_BorderRadiuses* value) { +inline void WriteToString(std::string* result, const Ark_Union_Length_Number* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_Length if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_BorderRadiuses + // Ark_Number if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -48818,7 +50596,7 @@ inline void WriteToString(std::string* result, const Ark_Union_Dimension_BorderR result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Dimension_BorderRadiuses* value) { +inline void WriteToString(std::string* result, const Opt_Union_Length_Number* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -48831,45 +50609,39 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_BorderR result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_BorderRadiuses& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_Number& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_MenuItemOptions_CustomBuilder& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_MenuItemOptions_CustomBuilder: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses* value) { +inline void WriteToString(std::string* result, const Ark_Union_MenuItemOptions_CustomBuilder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_MenuItemOptions if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_BorderRadiuses + // CustomNodeBuilder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } - // Ark_LocalizedBorderRadiuses - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses* value) { +inline void WriteToString(std::string* result, const Opt_Union_MenuItemOptions_CustomBuilder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -48882,31 +50654,31 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_BorderR result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_MenuItemOptions_CustomBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_EdgeOutlineWidths& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_NavDestinationContext_NavBar& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_EdgeOutlineWidths: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_NavDestinationContext_NavBar: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Dimension_EdgeOutlineWidths* value) { +inline void WriteToString(std::string* result, const Ark_Union_NavDestinationContext_NavBar* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_NavDestinationContext if (value->selector == 0) { result->append(".value0="); - WriteToString(result, &value->value0); + WriteToString(result, value->value0); } - // Ark_EdgeOutlineWidths + // Ark_String if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -48914,7 +50686,7 @@ inline void WriteToString(std::string* result, const Ark_Union_Dimension_EdgeOut result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeOutlineWidths* value) { +inline void WriteToString(std::string* result, const Opt_Union_NavDestinationContext_NavBar* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -48927,31 +50699,31 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeOut result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_EdgeOutlineWidths& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_NavDestinationContext_NavBar& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_EdgeWidths& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Number_LengthConstrain& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_EdgeWidths: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Number_LengthConstrain: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Dimension_EdgeWidths* value) { +inline void WriteToString(std::string* result, const Ark_Union_Number_LengthConstrain* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_Number if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_EdgeWidths + // Ark_LengthConstrain if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -48959,7 +50731,7 @@ inline void WriteToString(std::string* result, const Ark_Union_Dimension_EdgeWid result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeWidths* value) { +inline void WriteToString(std::string* result, const Opt_Union_Number_LengthConstrain* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -48972,45 +50744,39 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeWid result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_EdgeWidths& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_LengthConstrain& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_RectOptions_RoundedRectOptions& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_RectOptions_RoundedRectOptions: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths* value) { +inline void WriteToString(std::string* result, const Ark_Union_RectOptions_RoundedRectOptions* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_RectOptions if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_EdgeWidths + // Ark_RoundedRectOptions if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } - // Ark_LocalizedEdgeWidths - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths* value) { +inline void WriteToString(std::string* result, const Opt_Union_RectOptions_RoundedRectOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49023,31 +50789,31 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeWid result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_RectOptions_RoundedRectOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_Margin& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_RectShapeOptions_RoundRectShapeOptions& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_Margin: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_RectShapeOptions_RoundRectShapeOptions: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Dimension_Margin* value) { +inline void WriteToString(std::string* result, const Ark_Union_RectShapeOptions_RoundRectShapeOptions* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_RectShapeOptions if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_Padding + // Ark_RoundRectShapeOptions if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -49055,7 +50821,7 @@ inline void WriteToString(std::string* result, const Ark_Union_Dimension_Margin* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Dimension_Margin* value) { +inline void WriteToString(std::string* result, const Opt_Union_RectShapeOptions_RoundRectShapeOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49068,39 +50834,39 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_Margin* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_Margin& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_RectShapeOptions_RoundRectShapeOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_OptionWidthMode& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_EdgeColors& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_OptionWidthMode: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_ResourceColor_EdgeColors: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Dimension_OptionWidthMode* value) { +inline void WriteToString(std::string* result, const Ark_Union_ResourceColor_EdgeColors* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_ResourceColor if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_OptionWidthMode + // Ark_EdgeColors if (value->selector == 1) { result->append(".value1="); - WriteToString(result, value->value1); + WriteToString(result, &value->value1); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Dimension_OptionWidthMode* value) { +inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_EdgeColors* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49113,39 +50879,45 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_OptionW result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_OptionWidthMode& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_EdgeColors& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_OutlineRadiuses& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_OutlineRadiuses: %d", value.selector); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Dimension_OutlineRadiuses* value) { +inline void WriteToString(std::string* result, const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_ResourceColor if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_OutlineRadiuses + // Ark_EdgeColors if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } + // Ark_LocalizedEdgeColors + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Dimension_OutlineRadiuses* value) { +inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49158,39 +50930,39 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_Outline result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_OutlineRadiuses& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_PanelHeight& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_UnderlineColor& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_PanelHeight: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_ResourceColor_UnderlineColor: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Dimension_PanelHeight* value) { +inline void WriteToString(std::string* result, const Ark_Union_ResourceColor_UnderlineColor* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_ResourceColor if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_PanelHeight + // Ark_UnderlineColor if (value->selector == 1) { result->append(".value1="); - WriteToString(result, value->value1); + WriteToString(result, &value->value1); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Dimension_PanelHeight* value) { +inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_UnderlineColor* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49203,45 +50975,39 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_PanelHe result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_PanelHeight& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_UnderlineColor& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_ShadowOptions_Array_ShadowOptions& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_ShadowOptions_Array_ShadowOptions: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors* value) { +inline void WriteToString(std::string* result, const Ark_Union_ShadowOptions_Array_ShadowOptions* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_EdgeColors + // Ark_ShadowOptions if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_ResourceColor + // Array_ShadowOptions if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } - // Ark_LocalizedEdgeColors - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors* value) { +inline void WriteToString(std::string* result, const Opt_Union_ShadowOptions_Array_ShadowOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49254,39 +51020,39 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeColors_Resour result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_ShadowOptions_Array_ShadowOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeOutlineWidths_Dimension& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_ShadowOptions_ShadowStyle& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_EdgeOutlineWidths_Dimension: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_ShadowOptions_ShadowStyle: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_EdgeOutlineWidths_Dimension* value) { +inline void WriteToString(std::string* result, const Ark_Union_ShadowOptions_ShadowStyle* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_EdgeOutlineWidths + // Ark_ShadowOptions if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_Union_String_Number_Resource + // Ark_ShadowStyle if (value->selector == 1) { result->append(".value1="); - WriteToString(result, &value->value1); + WriteToString(result, value->value1); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_EdgeOutlineWidths_Dimension* value) { +inline void WriteToString(std::string* result, const Opt_Union_ShadowOptions_ShadowStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49299,45 +51065,39 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeOutlineWidths result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeOutlineWidths_Dimension& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_ShadowOptions_ShadowStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_SheetSize_Length& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_SheetSize_Length: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths* value) { +inline void WriteToString(std::string* result, const Ark_Union_SheetSize_Length* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_EdgeWidths + // Ark_SheetSize if (value->selector == 0) { result->append(".value0="); - WriteToString(result, &value->value0); + WriteToString(result, value->value0); } - // Ark_Union_String_Number_Resource + // Ark_Length if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } - // Ark_LocalizedEdgeWidths - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths* value) { +inline void WriteToString(std::string* result, const Opt_Union_SheetSize_Length* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49350,45 +51110,39 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeWidths_Length result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_SheetSize_Length& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_SheetTitleOptions_CustomBuilder& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_SheetTitleOptions_CustomBuilder: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths* value) { +inline void WriteToString(std::string* result, const Ark_Union_SheetTitleOptions_CustomBuilder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_EdgeWidths + // Ark_SheetTitleOptions if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_LengthMetrics + // CustomNodeBuilder if (value->selector == 1) { result->append(".value1="); - WriteToString(result, value->value1); - } - // Ark_LocalizedEdgeWidths - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); + WriteToString(result, &value->value1); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths* value) { +inline void WriteToString(std::string* result, const Opt_Union_SheetTitleOptions_CustomBuilder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49401,39 +51155,51 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeWidths_Length result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_SheetTitleOptions_CustomBuilder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_IconOptions_SymbolGlyphModifier& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_String_Resource_CustomBuilder_TabBarOptions& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_IconOptions_SymbolGlyphModifier: %d", value.selector); + case 2: return runtimeType(value.value2); + case 3: return runtimeType(value.value3); + default: INTEROP_FATAL("Bad selector in Ark_Union_String_Resource_CustomBuilder_TabBarOptions: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_IconOptions_SymbolGlyphModifier* value) { +inline void WriteToString(std::string* result, const Ark_Union_String_Resource_CustomBuilder_TabBarOptions* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_IconOptions + // Ark_String if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_SymbolGlyphModifier + // Ark_Resource if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } + // CustomNodeBuilder + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + // Ark_TabBarOptions + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, &value->value3); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_IconOptions_SymbolGlyphModifier* value) { +inline void WriteToString(std::string* result, const Opt_Union_String_Resource_CustomBuilder_TabBarOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49446,31 +51212,31 @@ inline void WriteToString(std::string* result, const Opt_Union_IconOptions_Symbo result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_IconOptions_SymbolGlyphModifier& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_CustomBuilder_TabBarOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Length_BorderRadiuses& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_TitleHeight_Length& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Length_BorderRadiuses: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_TitleHeight_Length: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Length_BorderRadiuses* value) { +inline void WriteToString(std::string* result, const Ark_Union_TitleHeight_Length* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_TitleHeight if (value->selector == 0) { result->append(".value0="); - WriteToString(result, &value->value0); + WriteToString(result, value->value0); } - // Ark_BorderRadiuses + // Ark_Length if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -49478,7 +51244,7 @@ inline void WriteToString(std::string* result, const Ark_Union_Length_BorderRadi result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Length_BorderRadiuses* value) { +inline void WriteToString(std::string* result, const Opt_Union_TitleHeight_Length* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49491,45 +51257,39 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_BorderRadi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_BorderRadiuses& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_TitleHeight_Length& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_TransitionOptions_TransitionEffect& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_TransitionOptions_TransitionEffect: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses* value) { +inline void WriteToString(std::string* result, const Ark_Union_TransitionOptions_TransitionEffect* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_TransitionOptions if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_BorderRadiuses + // Ark_TransitionEffect if (value->selector == 1) { result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_LocalizedBorderRadiuses - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); + WriteToString(result, value->value1); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses* value) { +inline void WriteToString(std::string* result, const Opt_Union_TransitionOptions_TransitionEffect* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49542,45 +51302,45 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_BorderRadi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_TransitionOptions_TransitionEffect& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths& value) +inline Ark_RuntimeType runtimeType(const Ark_VideoOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths* value) { +inline void WriteToString(std::string* result, const Ark_VideoOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Union_String_Resource src + result->append(".src="); + WriteToString(result, &value->src); + // Ark_Union_Number_String_PlaybackSpeed currentProgressRate result->append(", "); - // Ark_Union_String_Number_Resource - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_EdgeWidths - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_LocalizedEdgeWidths - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } + result->append(".currentProgressRate="); + WriteToString(result, &value->currentProgressRate); + // Ark_Union_String_PixelMap_Resource previewUri + result->append(", "); + result->append(".previewUri="); + WriteToString(result, &value->previewUri); + // Ark_VideoController controller + result->append(", "); + result->append(".controller="); + WriteToString(result, &value->controller); + // Ark_ImageAIOptions imageAIOptions + result->append(", "); + result->append(".imageAIOptions="); + WriteToString(result, &value->imageAIOptions); + // Ark_PosterOptions posterOptions + result->append(", "); + result->append(".posterOptions="); + WriteToString(result, &value->posterOptions); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths* value) { +inline void WriteToString(std::string* result, const Opt_VideoOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49593,39 +51353,49 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_EdgeWidths result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths& value) +inline Ark_RuntimeType runtimeType(const Opt_VideoOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Length_GridRowSizeOption& value) +inline Ark_RuntimeType runtimeType(const Ark_WeekStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Length_GridRowSizeOption: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Length_GridRowSizeOption* value) { +inline void WriteToString(std::string* result, const Ark_WeekStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_ResourceColor weekColor + result->append(".weekColor="); + WriteToString(result, &value->weekColor); + // Ark_ResourceColor weekendDayColor result->append(", "); - // Ark_Union_String_Number_Resource - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_GridRowSizeOption - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".weekendDayColor="); + WriteToString(result, &value->weekendDayColor); + // Ark_ResourceColor weekendLunarColor + result->append(", "); + result->append(".weekendLunarColor="); + WriteToString(result, &value->weekendLunarColor); + // Ark_Number weekFontSize + result->append(", "); + result->append(".weekFontSize="); + WriteToString(result, &value->weekFontSize); + // Ark_Number weekHeight + result->append(", "); + result->append(".weekHeight="); + WriteToString(result, &value->weekHeight); + // Ark_Number weekWidth + result->append(", "); + result->append(".weekWidth="); + WriteToString(result, &value->weekWidth); + // Ark_Number weekAndDayRowSpace + result->append(", "); + result->append(".weekAndDayRowSpace="); + WriteToString(result, &value->weekAndDayRowSpace); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Length_GridRowSizeOption* value) { +inline void WriteToString(std::string* result, const Opt_WeekStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49638,39 +51408,49 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_GridRowSiz result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_GridRowSizeOption& value) +inline Ark_RuntimeType runtimeType(const Opt_WeekStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Length_Number& value) +inline Ark_RuntimeType runtimeType(const Ark_WorkStateStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Length_Number: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Length_Number* value) { +inline void WriteToString(std::string* result, const Ark_WorkStateStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_ResourceColor workDayMarkColor + result->append(".workDayMarkColor="); + WriteToString(result, &value->workDayMarkColor); + // Ark_ResourceColor offDayMarkColor result->append(", "); - // Ark_Union_String_Number_Resource - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Number - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".offDayMarkColor="); + WriteToString(result, &value->offDayMarkColor); + // Ark_Number workDayMarkSize + result->append(", "); + result->append(".workDayMarkSize="); + WriteToString(result, &value->workDayMarkSize); + // Ark_Number offDayMarkSize + result->append(", "); + result->append(".offDayMarkSize="); + WriteToString(result, &value->offDayMarkSize); + // Ark_Number workStateWidth + result->append(", "); + result->append(".workStateWidth="); + WriteToString(result, &value->workStateWidth); + // Ark_Number workStateHorizontalMovingDistance + result->append(", "); + result->append(".workStateHorizontalMovingDistance="); + WriteToString(result, &value->workStateHorizontalMovingDistance); + // Ark_Number workStateVerticalMovingDistance + result->append(", "); + result->append(".workStateVerticalMovingDistance="); + WriteToString(result, &value->workStateVerticalMovingDistance); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Length_Number* value) { +inline void WriteToString(std::string* result, const Opt_WorkStateStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49683,39 +51463,37 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_Number* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_Number& value) +inline Ark_RuntimeType runtimeType(const Opt_WorkStateStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_BorderRadiuses& value) +inline Ark_RuntimeType runtimeType(const Ark_XComponentOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_LengthMetrics_BorderRadiuses: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_LengthMetrics_BorderRadiuses* value) { +inline void WriteToString(std::string* result, const Ark_XComponentOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_XComponentType type + result->append(".type="); + WriteToString(result, value->type); + // Ark_XComponentController controller result->append(", "); - // Ark_LengthMetrics - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, value->value0); - } - // Ark_BorderRadiuses - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".controller="); + WriteToString(result, value->controller); + // Ark_ImageAIOptions imageAIOptions + result->append(", "); + result->append(".imageAIOptions="); + WriteToString(result, &value->imageAIOptions); + // Ark_Number screenId + result->append(", "); + result->append(".screenId="); + WriteToString(result, &value->screenId); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_BorderRadiuses* value) { +inline void WriteToString(std::string* result, const Opt_XComponentOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49728,39 +51506,45 @@ inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Bor result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_BorderRadiuses& value) +inline Ark_RuntimeType runtimeType(const Opt_XComponentOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_Margin& value) +inline Ark_RuntimeType runtimeType(const Ark_ArrowStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_LengthMetrics_Margin: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_LengthMetrics_Margin* value) { +inline void WriteToString(std::string* result, const Ark_ArrowStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Boolean showBackground + result->append(".showBackground="); + WriteToString(result, &value->showBackground); + // Ark_Boolean isSidebarMiddle result->append(", "); - // Ark_LengthMetrics - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, value->value0); - } - // Ark_Padding - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".isSidebarMiddle="); + WriteToString(result, &value->isSidebarMiddle); + // Ark_Length backgroundSize + result->append(", "); + result->append(".backgroundSize="); + WriteToString(result, &value->backgroundSize); + // Ark_ResourceColor backgroundColor + result->append(", "); + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_Length arrowSize + result->append(", "); + result->append(".arrowSize="); + WriteToString(result, &value->arrowSize); + // Ark_ResourceColor arrowColor + result->append(", "); + result->append(".arrowColor="); + WriteToString(result, &value->arrowColor); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Margin* value) { +inline void WriteToString(std::string* result, const Opt_ArrowStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49773,39 +51557,49 @@ inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Mar result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_Margin& value) +inline Ark_RuntimeType runtimeType(const Opt_ArrowStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_Padding& value) +inline Ark_RuntimeType runtimeType(const Ark_BadgeStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_LengthMetrics_Padding: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_LengthMetrics_Padding* value) { +inline void WriteToString(std::string* result, const Ark_BadgeStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_ResourceColor color + result->append(".color="); + WriteToString(result, &value->color); + // Ark_Union_Number_String fontSize result->append(", "); - // Ark_LengthMetrics - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, value->value0); - } - // Ark_Padding - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".fontSize="); + WriteToString(result, &value->fontSize); + // Ark_Union_Number_String badgeSize + result->append(", "); + result->append(".badgeSize="); + WriteToString(result, &value->badgeSize); + // Ark_ResourceColor badgeColor + result->append(", "); + result->append(".badgeColor="); + WriteToString(result, &value->badgeColor); + // Ark_ResourceColor borderColor + result->append(", "); + result->append(".borderColor="); + WriteToString(result, &value->borderColor); + // Ark_Length borderWidth + result->append(", "); + result->append(".borderWidth="); + WriteToString(result, &value->borderWidth); + // Ark_Union_Number_FontWeight_String fontWeight + result->append(", "); + result->append(".fontWeight="); + WriteToString(result, &value->fontWeight); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Padding* value) { +inline void WriteToString(std::string* result, const Opt_BadgeStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49818,39 +51612,41 @@ inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Pad result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_Padding& value) +inline Ark_RuntimeType runtimeType(const Opt_BadgeStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Margin_Dimension& value) +inline Ark_RuntimeType runtimeType(const Ark_BarGridColumnOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Margin_Dimension: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Margin_Dimension* value) { +inline void WriteToString(std::string* result, const Ark_BarGridColumnOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Number sm + result->append(".sm="); + WriteToString(result, &value->sm); + // Ark_Number md result->append(", "); - // Ark_Padding - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Union_String_Number_Resource - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".md="); + WriteToString(result, &value->md); + // Ark_Number lg + result->append(", "); + result->append(".lg="); + WriteToString(result, &value->lg); + // Ark_Dimension margin + result->append(", "); + result->append(".margin="); + WriteToString(result, &value->margin); + // Ark_Dimension gutter + result->append(", "); + result->append(".gutter="); + WriteToString(result, &value->gutter); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Margin_Dimension* value) { +inline void WriteToString(std::string* result, const Opt_BarGridColumnOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49863,45 +51659,25 @@ inline void WriteToString(std::string* result, const Opt_Union_Margin_Dimension* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Margin_Dimension& value) +inline Ark_RuntimeType runtimeType(const Opt_BarGridColumnOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Margin_Length_LocalizedMargin& value) +inline Ark_RuntimeType runtimeType(const Ark_BoardStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Margin_Length_LocalizedMargin: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Margin_Length_LocalizedMargin* value) { +inline void WriteToString(std::string* result, const Ark_BoardStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_Padding - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Union_String_Number_Resource - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_LocalizedPadding - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } + // Ark_Length borderRadius + result->append(".borderRadius="); + WriteToString(result, &value->borderRadius); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Margin_Length_LocalizedMargin* value) { +inline void WriteToString(std::string* result, const Opt_BoardStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49914,39 +51690,37 @@ inline void WriteToString(std::string* result, const Opt_Union_Margin_Length_Loc result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Margin_Length_LocalizedMargin& value) +inline Ark_RuntimeType runtimeType(const Opt_BoardStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_MenuItemOptions_CustomBuilder& value) +inline Ark_RuntimeType runtimeType(const Ark_BorderRadiuses& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_MenuItemOptions_CustomBuilder: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_MenuItemOptions_CustomBuilder* value) { +inline void WriteToString(std::string* result, const Ark_BorderRadiuses* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Length topLeft + result->append(".topLeft="); + WriteToString(result, &value->topLeft); + // Ark_Length topRight result->append(", "); - // Ark_MenuItemOptions - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // CustomNodeBuilder - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".topRight="); + WriteToString(result, &value->topRight); + // Ark_Length bottomLeft + result->append(", "); + result->append(".bottomLeft="); + WriteToString(result, &value->bottomLeft); + // Ark_Length bottomRight + result->append(", "); + result->append(".bottomRight="); + WriteToString(result, &value->bottomRight); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_MenuItemOptions_CustomBuilder* value) { +inline void WriteToString(std::string* result, const Opt_BorderRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -49959,39 +51733,45 @@ inline void WriteToString(std::string* result, const Opt_Union_MenuItemOptions_C result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_MenuItemOptions_CustomBuilder& value) +inline Ark_RuntimeType runtimeType(const Opt_BorderRadiuses& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_NavDestinationContext_NavBar& value) +inline Ark_RuntimeType runtimeType(const Ark_BorderRadiusType& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_NavDestinationContext_NavBar: %d", value.selector); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_BorderRadiusType: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_NavDestinationContext_NavBar* value) { +inline void WriteToString(std::string* result, const Ark_BorderRadiusType* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_NavDestinationContext + // Ark_Length if (value->selector == 0) { result->append(".value0="); - WriteToString(result, value->value0); + WriteToString(result, &value->value0); } - // Ark_String + // Ark_BorderRadiuses if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } + // Ark_LocalizedBorderRadiuses + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_NavDestinationContext_NavBar* value) { +inline void WriteToString(std::string* result, const Opt_BorderRadiusType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50004,39 +51784,41 @@ inline void WriteToString(std::string* result, const Opt_Union_NavDestinationCon result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_NavDestinationContext_NavBar& value) +inline Ark_RuntimeType runtimeType(const Opt_BorderRadiusType& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Number_LengthConstrain& value) +inline Ark_RuntimeType runtimeType(const Ark_ButtonStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Number_LengthConstrain: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Number_LengthConstrain* value) { +inline void WriteToString(std::string* result, const Ark_ButtonStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Number left + result->append(".left="); + WriteToString(result, &value->left); + // Ark_Number top result->append(", "); - // Ark_Number - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_LengthConstrain - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".top="); + WriteToString(result, &value->top); + // Ark_Number width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Number height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_ButtonIconOptions icons + result->append(", "); + result->append(".icons="); + WriteToString(result, &value->icons); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Number_LengthConstrain* value) { +inline void WriteToString(std::string* result, const Opt_ButtonStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50049,39 +51831,29 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_LengthCons result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_LengthConstrain& value) +inline Ark_RuntimeType runtimeType(const Opt_ButtonStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_OutlineRadiuses_Dimension& value) +inline Ark_RuntimeType runtimeType(const Ark_CaretStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_OutlineRadiuses_Dimension: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_OutlineRadiuses_Dimension* value) { +inline void WriteToString(std::string* result, const Ark_CaretStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Length width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_ResourceColor color result->append(", "); - // Ark_OutlineRadiuses - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Union_String_Number_Resource - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".color="); + WriteToString(result, &value->color); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_OutlineRadiuses_Dimension* value) { +inline void WriteToString(std::string* result, const Opt_CaretStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50094,39 +51866,49 @@ inline void WriteToString(std::string* result, const Opt_Union_OutlineRadiuses_D result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_OutlineRadiuses_Dimension& value) +inline Ark_RuntimeType runtimeType(const Opt_CaretStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_Dimension& value) +inline Ark_RuntimeType runtimeType(const Ark_ChainAnimationOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Padding_Dimension: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Padding_Dimension* value) { +inline void WriteToString(std::string* result, const Ark_ChainAnimationOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Length minSpace + result->append(".minSpace="); + WriteToString(result, &value->minSpace); + // Ark_Length maxSpace result->append(", "); - // Ark_Padding - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Union_String_Number_Resource - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".maxSpace="); + WriteToString(result, &value->maxSpace); + // Ark_Number conductivity + result->append(", "); + result->append(".conductivity="); + WriteToString(result, &value->conductivity); + // Ark_Number intensity + result->append(", "); + result->append(".intensity="); + WriteToString(result, &value->intensity); + // Ark_ChainEdgeEffect edgeEffect + result->append(", "); + result->append(".edgeEffect="); + WriteToString(result, &value->edgeEffect); + // Ark_Number stiffness + result->append(", "); + result->append(".stiffness="); + WriteToString(result, &value->stiffness); + // Ark_Number damping + result->append(", "); + result->append(".damping="); + WriteToString(result, &value->damping); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Padding_Dimension* value) { +inline void WriteToString(std::string* result, const Opt_ChainAnimationOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50139,45 +51921,29 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_Dimension result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Dimension& value) +inline Ark_RuntimeType runtimeType(const Opt_ChainAnimationOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_Dimension_LocalizedPadding& value) +inline Ark_RuntimeType runtimeType(const Ark_ColorStop& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Padding_Dimension_LocalizedPadding: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Padding_Dimension_LocalizedPadding* value) { +inline void WriteToString(std::string* result, const Ark_ColorStop* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_ResourceColor color + result->append(".color="); + WriteToString(result, &value->color); + // Ark_Length offset result->append(", "); - // Ark_Padding - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Union_String_Number_Resource - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_LocalizedPadding - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } + result->append(".offset="); + WriteToString(result, &value->offset); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Padding_Dimension_LocalizedPadding* value) { +inline void WriteToString(std::string* result, const Opt_ColorStop* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50190,45 +51956,29 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_Dimension result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Dimension_LocalizedPadding& value) +inline Ark_RuntimeType runtimeType(const Opt_ColorStop& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_Length_LocalizedPadding& value) +inline Ark_RuntimeType runtimeType(const Ark_ColumnSplitDividerStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Padding_Length_LocalizedPadding: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Padding_Length_LocalizedPadding* value) { +inline void WriteToString(std::string* result, const Ark_ColumnSplitDividerStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Dimension startMargin + result->append(".startMargin="); + WriteToString(result, &value->startMargin); + // Ark_Dimension endMargin result->append(", "); - // Ark_Padding - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Union_String_Number_Resource - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_LocalizedPadding - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } + result->append(".endMargin="); + WriteToString(result, &value->endMargin); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Padding_Length_LocalizedPadding* value) { +inline void WriteToString(std::string* result, const Opt_ColumnSplitDividerStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50241,45 +51991,37 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_Length_Lo result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Length_LocalizedPadding& value) +inline Ark_RuntimeType runtimeType(const Opt_ColumnSplitDividerStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_LengthMetrics_LocalizedPadding& value) +inline Ark_RuntimeType runtimeType(const Ark_ConstraintSizeOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Padding_LengthMetrics_LocalizedPadding: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Padding_LengthMetrics_LocalizedPadding* value) { +inline void WriteToString(std::string* result, const Ark_ConstraintSizeOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Length minWidth + result->append(".minWidth="); + WriteToString(result, &value->minWidth); + // Ark_Length maxWidth result->append(", "); - // Ark_Padding - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_LengthMetrics - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, value->value1); - } - // Ark_LocalizedPadding - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } - result->append("}"); + result->append(".maxWidth="); + WriteToString(result, &value->maxWidth); + // Ark_Length minHeight + result->append(", "); + result->append(".minHeight="); + WriteToString(result, &value->minHeight); + // Ark_Length maxHeight + result->append(", "); + result->append(".maxHeight="); + WriteToString(result, &value->maxHeight); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Padding_LengthMetrics_LocalizedPadding* value) { +inline void WriteToString(std::string* result, const Opt_ConstraintSizeOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50292,39 +52034,25 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_LengthMet result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_LengthMetrics_LocalizedPadding& value) +inline Ark_RuntimeType runtimeType(const Opt_ConstraintSizeOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Position_Alignment& value) +inline Ark_RuntimeType runtimeType(const Ark_CustomTheme& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Position_Alignment: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Position_Alignment* value) { +inline void WriteToString(std::string* result, const Ark_CustomTheme* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_Position - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Alignment - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, value->value1); - } + // Ark_CustomColors colors + result->append(".colors="); + WriteToString(result, &value->colors); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Position_Alignment* value) { +inline void WriteToString(std::string* result, const Opt_CustomTheme* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50337,45 +52065,37 @@ inline void WriteToString(std::string* result, const Opt_Union_Position_Alignmen result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Position_Alignment& value) +inline Ark_RuntimeType runtimeType(const Opt_CustomTheme& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Position_Edges_LocalizedEdges& value) +inline Ark_RuntimeType runtimeType(const Ark_DividerOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_Position_Edges_LocalizedEdges: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Position_Edges_LocalizedEdges* value) { +inline void WriteToString(std::string* result, const Ark_DividerOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Dimension strokeWidth + result->append(".strokeWidth="); + WriteToString(result, &value->strokeWidth); + // Ark_ResourceColor color result->append(", "); - // Ark_Position - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Edges - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_LocalizedEdges - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } + result->append(".color="); + WriteToString(result, &value->color); + // Ark_Dimension startMargin + result->append(", "); + result->append(".startMargin="); + WriteToString(result, &value->startMargin); + // Ark_Dimension endMargin + result->append(", "); + result->append(".endMargin="); + WriteToString(result, &value->endMargin); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Position_Edges_LocalizedEdges* value) { +inline void WriteToString(std::string* result, const Opt_DividerOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50388,39 +52108,37 @@ inline void WriteToString(std::string* result, const Opt_Union_Position_Edges_Lo result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Position_Edges_LocalizedEdges& value) +inline Ark_RuntimeType runtimeType(const Opt_DividerOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Position_LocalizedPosition& value) +inline Ark_RuntimeType runtimeType(const Ark_DividerStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Position_LocalizedPosition: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Position_LocalizedPosition* value) { +inline void WriteToString(std::string* result, const Ark_DividerStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Length strokeWidth + result->append(".strokeWidth="); + WriteToString(result, &value->strokeWidth); + // Ark_ResourceColor color result->append(", "); - // Ark_Position - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_LocalizedPosition - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".color="); + WriteToString(result, &value->color); + // Ark_Length startMargin + result->append(", "); + result->append(".startMargin="); + WriteToString(result, &value->startMargin); + // Ark_Length endMargin + result->append(", "); + result->append(".endMargin="); + WriteToString(result, &value->endMargin); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Position_LocalizedPosition* value) { +inline void WriteToString(std::string* result, const Opt_DividerStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50433,39 +52151,81 @@ inline void WriteToString(std::string* result, const Opt_Union_Position_Localize result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Position_LocalizedPosition& value) +inline Ark_RuntimeType runtimeType(const Opt_DividerStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_RectOptions_RoundedRectOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_DotIndicator& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_RectOptions_RoundedRectOptions: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_RectOptions_RoundedRectOptions* value) { +inline void WriteToString(std::string* result, const Ark_DotIndicator* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Length _left + result->append("._left="); + WriteToString(result, &value->_left); + // Ark_Length _top result->append(", "); - // Ark_RectOptions - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_RoundedRectOptions - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append("._top="); + WriteToString(result, &value->_top); + // Ark_Length _right + result->append(", "); + result->append("._right="); + WriteToString(result, &value->_right); + // Ark_Length _bottom + result->append(", "); + result->append("._bottom="); + WriteToString(result, &value->_bottom); + // Ark_LengthMetrics _start + result->append(", "); + result->append("._start="); + WriteToString(result, &value->_start); + // Ark_LengthMetrics _end + result->append(", "); + result->append("._end="); + WriteToString(result, &value->_end); + // Ark_Length _itemWidth + result->append(", "); + result->append("._itemWidth="); + WriteToString(result, &value->_itemWidth); + // Ark_Length _itemHeight + result->append(", "); + result->append("._itemHeight="); + WriteToString(result, &value->_itemHeight); + // Ark_Length _selectedItemWidth + result->append(", "); + result->append("._selectedItemWidth="); + WriteToString(result, &value->_selectedItemWidth); + // Ark_Length _selectedItemHeight + result->append(", "); + result->append("._selectedItemHeight="); + WriteToString(result, &value->_selectedItemHeight); + // Ark_Boolean _mask + result->append(", "); + result->append("._mask="); + WriteToString(result, &value->_mask); + // Ark_ResourceColor _color + result->append(", "); + result->append("._color="); + WriteToString(result, &value->_color); + // Ark_ResourceColor _selectedColor + result->append(", "); + result->append("._selectedColor="); + WriteToString(result, &value->_selectedColor); + // Ark_Number _maxDisplayCount + result->append(", "); + result->append("._maxDisplayCount="); + WriteToString(result, &value->_maxDisplayCount); + // Ark_LengthMetrics _space + result->append(", "); + result->append("._space="); + WriteToString(result, &value->_space); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_RectOptions_RoundedRectOptions* value) { +inline void WriteToString(std::string* result, const Opt_DotIndicator* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50478,39 +52238,37 @@ inline void WriteToString(std::string* result, const Opt_Union_RectOptions_Round result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_RectOptions_RoundedRectOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_DotIndicator& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_RectShapeOptions_RoundRectShapeOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_EdgeOutlineWidths& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_RectShapeOptions_RoundRectShapeOptions: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_RectShapeOptions_RoundRectShapeOptions* value) { +inline void WriteToString(std::string* result, const Ark_EdgeOutlineWidths* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Dimension top + result->append(".top="); + WriteToString(result, &value->top); + // Ark_Dimension right result->append(", "); - // Ark_RectShapeOptions - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_RoundRectShapeOptions - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".right="); + WriteToString(result, &value->right); + // Ark_Dimension bottom + result->append(", "); + result->append(".bottom="); + WriteToString(result, &value->bottom); + // Ark_Dimension left + result->append(", "); + result->append(".left="); + WriteToString(result, &value->left); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_RectShapeOptions_RoundRectShapeOptions* value) { +inline void WriteToString(std::string* result, const Opt_EdgeOutlineWidths* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50523,39 +52281,37 @@ inline void WriteToString(std::string* result, const Opt_Union_RectShapeOptions_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_RectShapeOptions_RoundRectShapeOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_EdgeOutlineWidths& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_EdgeColors& value) +inline Ark_RuntimeType runtimeType(const Ark_Edges& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_ResourceColor_EdgeColors: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_ResourceColor_EdgeColors* value) { +inline void WriteToString(std::string* result, const Ark_Edges* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Dimension top + result->append(".top="); + WriteToString(result, &value->top); + // Ark_Dimension left result->append(", "); - // Ark_ResourceColor - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_EdgeColors - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".left="); + WriteToString(result, &value->left); + // Ark_Dimension bottom + result->append(", "); + result->append(".bottom="); + WriteToString(result, &value->bottom); + // Ark_Dimension right + result->append(", "); + result->append(".right="); + WriteToString(result, &value->right); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_EdgeColors* value) { +inline void WriteToString(std::string* result, const Opt_Edges* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50568,45 +52324,37 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Edg result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_EdgeColors& value) +inline Ark_RuntimeType runtimeType(const Opt_Edges& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors& value) +inline Ark_RuntimeType runtimeType(const Ark_EdgeWidths& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) { +inline void WriteToString(std::string* result, const Ark_EdgeWidths* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Length top + result->append(".top="); + WriteToString(result, &value->top); + // Ark_Length right result->append(", "); - // Ark_ResourceColor - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_EdgeColors - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_LocalizedEdgeColors - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } + result->append(".right="); + WriteToString(result, &value->right); + // Ark_Length bottom + result->append(", "); + result->append(".bottom="); + WriteToString(result, &value->bottom); + // Ark_Length left + result->append(", "); + result->append(".left="); + WriteToString(result, &value->left); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) { +inline void WriteToString(std::string* result, const Opt_EdgeWidths* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50619,39 +52367,33 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Edg result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors& value) +inline Ark_RuntimeType runtimeType(const Opt_EdgeWidths& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_UnderlineColor& value) +inline Ark_RuntimeType runtimeType(const Ark_EditableTextChangeValue& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_ResourceColor_UnderlineColor: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_ResourceColor_UnderlineColor* value) { +inline void WriteToString(std::string* result, const Ark_EditableTextChangeValue* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_String content + result->append(".content="); + WriteToString(result, &value->content); + // Ark_PreviewText previewText result->append(", "); - // Ark_ResourceColor - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_UnderlineColor - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".previewText="); + WriteToString(result, &value->previewText); + // Ark_TextChangeOptions options + result->append(", "); + result->append(".options="); + WriteToString(result, &value->options); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_UnderlineColor* value) { +inline void WriteToString(std::string* result, const Opt_EditableTextChangeValue* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50664,39 +52406,45 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Und result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_UnderlineColor& value) +inline Ark_RuntimeType runtimeType(const Opt_EditableTextChangeValue& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_ShadowOptions_Array_ShadowOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_FlexOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_ShadowOptions_Array_ShadowOptions: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_ShadowOptions_Array_ShadowOptions* value) { +inline void WriteToString(std::string* result, const Ark_FlexOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_FlexDirection direction + result->append(".direction="); + WriteToString(result, &value->direction); + // Ark_FlexWrap wrap result->append(", "); - // Ark_ShadowOptions - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Array_ShadowOptions - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".wrap="); + WriteToString(result, &value->wrap); + // Ark_FlexAlign justifyContent + result->append(", "); + result->append(".justifyContent="); + WriteToString(result, &value->justifyContent); + // Ark_ItemAlign alignItems + result->append(", "); + result->append(".alignItems="); + WriteToString(result, &value->alignItems); + // Ark_FlexAlign alignContent + result->append(", "); + result->append(".alignContent="); + WriteToString(result, &value->alignContent); + // Ark_FlexSpaceOptions space + result->append(", "); + result->append(".space="); + WriteToString(result, &value->space); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_ShadowOptions_Array_ShadowOptions* value) { +inline void WriteToString(std::string* result, const Opt_FlexOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50709,39 +52457,37 @@ inline void WriteToString(std::string* result, const Opt_Union_ShadowOptions_Arr result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ShadowOptions_Array_ShadowOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_FlexOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_ShadowOptions_ShadowStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_Font& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_ShadowOptions_ShadowStyle: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_ShadowOptions_ShadowStyle* value) { +inline void WriteToString(std::string* result, const Ark_Font* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Length size + result->append(".size="); + WriteToString(result, &value->size); + // Ark_Union_FontWeight_Number_String weight result->append(", "); - // Ark_ShadowOptions - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_ShadowStyle - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, value->value1); - } + result->append(".weight="); + WriteToString(result, &value->weight); + // Ark_Union_String_Resource family + result->append(", "); + result->append(".family="); + WriteToString(result, &value->family); + // Ark_FontStyle style + result->append(", "); + result->append(".style="); + WriteToString(result, &value->style); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_ShadowOptions_ShadowStyle* value) { +inline void WriteToString(std::string* result, const Opt_Font* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50754,39 +52500,29 @@ inline void WriteToString(std::string* result, const Opt_Union_ShadowOptions_Sha result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_ShadowOptions_ShadowStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Font& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_SheetSize_Length& value) +inline Ark_RuntimeType runtimeType(const Ark_GaugeIndicatorOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_SheetSize_Length: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_SheetSize_Length* value) { +inline void WriteToString(std::string* result, const Ark_GaugeIndicatorOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_ResourceStr icon + result->append(".icon="); + WriteToString(result, &value->icon); + // Ark_Dimension space result->append(", "); - // Ark_SheetSize - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, value->value0); - } - // Ark_Union_String_Number_Resource - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".space="); + WriteToString(result, &value->space); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_SheetSize_Length* value) { +inline void WriteToString(std::string* result, const Opt_GaugeIndicatorOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50799,39 +52535,45 @@ inline void WriteToString(std::string* result, const Opt_Union_SheetSize_Length* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_SheetSize_Length& value) +inline Ark_RuntimeType runtimeType(const Opt_GaugeIndicatorOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_SheetTitleOptions_CustomBuilder& value) +inline Ark_RuntimeType runtimeType(const Ark_GridRowSizeOption& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_SheetTitleOptions_CustomBuilder: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_SheetTitleOptions_CustomBuilder* value) { +inline void WriteToString(std::string* result, const Ark_GridRowSizeOption* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Length xs + result->append(".xs="); + WriteToString(result, &value->xs); + // Ark_Length sm result->append(", "); - // Ark_SheetTitleOptions - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // CustomNodeBuilder - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".sm="); + WriteToString(result, &value->sm); + // Ark_Length md + result->append(", "); + result->append(".md="); + WriteToString(result, &value->md); + // Ark_Length lg + result->append(", "); + result->append(".lg="); + WriteToString(result, &value->lg); + // Ark_Length xl + result->append(", "); + result->append(".xl="); + WriteToString(result, &value->xl); + // Ark_Length xxl + result->append(", "); + result->append(".xxl="); + WriteToString(result, &value->xxl); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_SheetTitleOptions_CustomBuilder* value) { +inline void WriteToString(std::string* result, const Opt_GridRowSizeOption* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50844,39 +52586,29 @@ inline void WriteToString(std::string* result, const Opt_Union_SheetTitleOptions result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_SheetTitleOptions_CustomBuilder& value) +inline Ark_RuntimeType runtimeType(const Opt_GridRowSizeOption& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_SizeOptions_ImageSize& value) +inline Ark_RuntimeType runtimeType(const Ark_GuideLinePosition& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_SizeOptions_ImageSize: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_SizeOptions_ImageSize* value) { +inline void WriteToString(std::string* result, const Ark_GuideLinePosition* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Dimension start + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Dimension end result->append(", "); - // Ark_SizeOptions - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_ImageSize - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, value->value1); - } + result->append(".end="); + WriteToString(result, &value->end); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_SizeOptions_ImageSize* value) { +inline void WriteToString(std::string* result, const Opt_GuideLinePosition* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50889,51 +52621,33 @@ inline void WriteToString(std::string* result, const Opt_Union_SizeOptions_Image result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_SizeOptions_ImageSize& value) +inline Ark_RuntimeType runtimeType(const Opt_GuideLinePosition& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_String_Resource_CustomBuilder_TabBarOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_GuideLineStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - case 3: return runtimeType(value.value3); - default: INTEROP_FATAL("Bad selector in Ark_Union_String_Resource_CustomBuilder_TabBarOptions: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_String_Resource_CustomBuilder_TabBarOptions* value) { +inline void WriteToString(std::string* result, const Ark_GuideLineStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_String id + result->append(".id="); + WriteToString(result, &value->id); + // Ark_Axis direction result->append(", "); - // Ark_String - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_Resource - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // CustomNodeBuilder - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } - // Ark_TabBarOptions - if (value->selector == 3) { - result->append(".value3="); - WriteToString(result, &value->value3); - } + result->append(".direction="); + WriteToString(result, value->direction); + // Ark_GuideLinePosition position + result->append(", "); + result->append(".position="); + WriteToString(result, &value->position); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_String_Resource_CustomBuilder_TabBarOptions* value) { +inline void WriteToString(std::string* result, const Opt_GuideLineStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50946,39 +52660,33 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Resource_C result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_CustomBuilder_TabBarOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_GuideLineStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_TransitionOptions_TransitionEffect& value) +inline Ark_RuntimeType runtimeType(const Ark_IconOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_TransitionOptions_TransitionEffect: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_TransitionOptions_TransitionEffect* value) { +inline void WriteToString(std::string* result, const Ark_IconOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Length size + result->append(".size="); + WriteToString(result, &value->size); + // Ark_ResourceColor color result->append(", "); - // Ark_TransitionOptions - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_TransitionEffect - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, value->value1); - } + result->append(".color="); + WriteToString(result, &value->color); + // Ark_ResourceStr src + result->append(", "); + result->append(".src="); + WriteToString(result, &value->src); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_TransitionOptions_TransitionEffect* value) { +inline void WriteToString(std::string* result, const Opt_IconOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -50991,39 +52699,69 @@ inline void WriteToString(std::string* result, const Opt_Union_TransitionOptions result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_TransitionOptions_TransitionEffect& value) +inline Ark_RuntimeType runtimeType(const Opt_IconOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Union_Padding_Dimension_LocalizedPadding& value) +inline Ark_RuntimeType runtimeType(const Ark_IndicatorStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Union_Padding_Dimension_LocalizedPadding: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_Union_Padding_Dimension_LocalizedPadding* value) { +inline void WriteToString(std::string* result, const Ark_IndicatorStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Length height + result->append(".height="); + WriteToString(result, &value->height); + // Ark_Length width result->append(", "); - // Ark_Union_Padding_Dimension - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_LocalizedPadding - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Length borderRadius + result->append(", "); + result->append(".borderRadius="); + WriteToString(result, &value->borderRadius); + // Ark_Length marginTop + result->append(", "); + result->append(".marginTop="); + WriteToString(result, &value->marginTop); + // Ark_ResourceColor color + result->append(", "); + result->append(".color="); + WriteToString(result, &value->color); + // Ark_ResourceColor selectedColor + result->append(", "); + result->append(".selectedColor="); + WriteToString(result, &value->selectedColor); + // Ark_Length left + result->append(", "); + result->append(".left="); + WriteToString(result, &value->left); + // Ark_Length top + result->append(", "); + result->append(".top="); + WriteToString(result, &value->top); + // Ark_Length right + result->append(", "); + result->append(".right="); + WriteToString(result, &value->right); + // Ark_Length bottom + result->append(", "); + result->append(".bottom="); + WriteToString(result, &value->bottom); + // Ark_Length size + result->append(", "); + result->append(".size="); + WriteToString(result, &value->size); + // Ark_Boolean mask + result->append(", "); + result->append(".mask="); + WriteToString(result, &value->mask); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Union_Padding_Dimension_LocalizedPadding* value) { +inline void WriteToString(std::string* result, const Opt_IndicatorStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51036,41 +52774,29 @@ inline void WriteToString(std::string* result, const Opt_Union_Union_Padding_Dim result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Union_Padding_Dimension_LocalizedPadding& value) +inline Ark_RuntimeType runtimeType(const Opt_IndicatorStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_VideoOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_LeadingMarginPlaceholder& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_VideoOptions* value) { +inline void WriteToString(std::string* result, const Ark_LeadingMarginPlaceholder* value) { result->append("{"); - // Ark_Union_String_Resource src - result->append(".src="); - WriteToString(result, &value->src); - // Ark_Union_Number_String_PlaybackSpeed currentProgressRate - result->append(", "); - result->append(".currentProgressRate="); - WriteToString(result, &value->currentProgressRate); - // Ark_Union_String_PixelMap_Resource previewUri - result->append(", "); - result->append(".previewUri="); - WriteToString(result, &value->previewUri); - // Ark_VideoController controller - result->append(", "); - result->append(".controller="); - WriteToString(result, &value->controller); - // Ark_ImageAIOptions imageAIOptions + // Ark_PixelMap pixelMap + result->append(".pixelMap="); + WriteToString(result, value->pixelMap); + // Ark_Tuple_Dimension_Dimension size result->append(", "); - result->append(".imageAIOptions="); - WriteToString(result, &value->imageAIOptions); + result->append(".size="); + WriteToString(result, &value->size); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_VideoOptions* value) { +inline void WriteToString(std::string* result, const Opt_LeadingMarginPlaceholder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51083,49 +52809,33 @@ inline void WriteToString(std::string* result, const Opt_VideoOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_VideoOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_LeadingMarginPlaceholder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WeekStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_LinearStyleOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_WeekStyle* value) { +inline void WriteToString(std::string* result, const Ark_LinearStyleOptions* value) { result->append("{"); - // Ark_ResourceColor weekColor - result->append(".weekColor="); - WriteToString(result, &value->weekColor); - // Ark_ResourceColor weekendDayColor - result->append(", "); - result->append(".weekendDayColor="); - WriteToString(result, &value->weekendDayColor); - // Ark_ResourceColor weekendLunarColor - result->append(", "); - result->append(".weekendLunarColor="); - WriteToString(result, &value->weekendLunarColor); - // Ark_Number weekFontSize - result->append(", "); - result->append(".weekFontSize="); - WriteToString(result, &value->weekFontSize); - // Ark_Number weekHeight - result->append(", "); - result->append(".weekHeight="); - WriteToString(result, &value->weekHeight); - // Ark_Number weekWidth + // Ark_Boolean enableScanEffect + result->append(".enableScanEffect="); + WriteToString(result, &value->enableScanEffect); + // Ark_Length strokeWidth result->append(", "); - result->append(".weekWidth="); - WriteToString(result, &value->weekWidth); - // Ark_Number weekAndDayRowSpace + result->append(".strokeWidth="); + WriteToString(result, &value->strokeWidth); + // Ark_Union_PX_VP_LPX_Resource strokeRadius result->append(", "); - result->append(".weekAndDayRowSpace="); - WriteToString(result, &value->weekAndDayRowSpace); + result->append(".strokeRadius="); + WriteToString(result, &value->strokeRadius); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_WeekStyle* value) { +inline void WriteToString(std::string* result, const Opt_LinearStyleOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51138,49 +52848,37 @@ inline void WriteToString(std::string* result, const Opt_WeekStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WeekStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_LinearStyleOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WorkStateStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_ListDividerOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_WorkStateStyle* value) { +inline void WriteToString(std::string* result, const Ark_ListDividerOptions* value) { result->append("{"); - // Ark_ResourceColor workDayMarkColor - result->append(".workDayMarkColor="); - WriteToString(result, &value->workDayMarkColor); - // Ark_ResourceColor offDayMarkColor - result->append(", "); - result->append(".offDayMarkColor="); - WriteToString(result, &value->offDayMarkColor); - // Ark_Number workDayMarkSize - result->append(", "); - result->append(".workDayMarkSize="); - WriteToString(result, &value->workDayMarkSize); - // Ark_Number offDayMarkSize - result->append(", "); - result->append(".offDayMarkSize="); - WriteToString(result, &value->offDayMarkSize); - // Ark_Number workStateWidth + // Ark_Length strokeWidth + result->append(".strokeWidth="); + WriteToString(result, &value->strokeWidth); + // Ark_ResourceColor color result->append(", "); - result->append(".workStateWidth="); - WriteToString(result, &value->workStateWidth); - // Ark_Number workStateHorizontalMovingDistance + result->append(".color="); + WriteToString(result, &value->color); + // Ark_Length startMargin result->append(", "); - result->append(".workStateHorizontalMovingDistance="); - WriteToString(result, &value->workStateHorizontalMovingDistance); - // Ark_Number workStateVerticalMovingDistance + result->append(".startMargin="); + WriteToString(result, &value->startMargin); + // Ark_Length endMargin result->append(", "); - result->append(".workStateVerticalMovingDistance="); - WriteToString(result, &value->workStateVerticalMovingDistance); + result->append(".endMargin="); + WriteToString(result, &value->endMargin); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_WorkStateStyle* value) { +inline void WriteToString(std::string* result, const Opt_ListDividerOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51193,33 +52891,33 @@ inline void WriteToString(std::string* result, const Opt_WorkStateStyle* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WorkStateStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_ListDividerOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_XComponentOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_MarkStyle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_XComponentOptions* value) { +inline void WriteToString(std::string* result, const Ark_MarkStyle* value) { result->append("{"); - // Ark_XComponentType type - result->append(".type="); - WriteToString(result, value->type); - // Ark_XComponentController controller + // Ark_ResourceColor strokeColor + result->append(".strokeColor="); + WriteToString(result, &value->strokeColor); + // Ark_Length size result->append(", "); - result->append(".controller="); - WriteToString(result, value->controller); - // Ark_ImageAIOptions imageAIOptions + result->append(".size="); + WriteToString(result, &value->size); + // Ark_Length strokeWidth result->append(", "); - result->append(".imageAIOptions="); - WriteToString(result, &value->imageAIOptions); + result->append(".strokeWidth="); + WriteToString(result, &value->strokeWidth); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_XComponentOptions* value) { +inline void WriteToString(std::string* result, const Opt_MarkStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51232,121 +52930,33 @@ inline void WriteToString(std::string* result, const Opt_XComponentOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_XComponentOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_MarkStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ActionSheetOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_MoreButtonOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ActionSheetOptions* value) { +inline void WriteToString(std::string* result, const Ark_MoreButtonOptions* value) { result->append("{"); - // Ark_Union_String_Resource title - result->append(".title="); - WriteToString(result, &value->title); - // Ark_ResourceStr subtitle - result->append(", "); - result->append(".subtitle="); - WriteToString(result, &value->subtitle); - // Ark_Union_String_Resource message - result->append(", "); - result->append(".message="); - WriteToString(result, &value->message); - // Ark_ActionSheetButtonOptions confirm - result->append(", "); - result->append(".confirm="); - WriteToString(result, &value->confirm); - // VoidCallback cancel - result->append(", "); - result->append(".cancel="); - WriteToString(result, &value->cancel); - // Array_SheetInfo sheets - result->append(", "); - result->append(".sheets="); - WriteToString(result, &value->sheets); - // Ark_Boolean autoCancel - result->append(", "); - result->append(".autoCancel="); - WriteToString(result, &value->autoCancel); - // Ark_DialogAlignment alignment - result->append(", "); - result->append(".alignment="); - WriteToString(result, &value->alignment); - // Ark_ActionSheetOffset offset - result->append(", "); - result->append(".offset="); - WriteToString(result, &value->offset); - // Ark_Rectangle maskRect - result->append(", "); - result->append(".maskRect="); - WriteToString(result, &value->maskRect); - // Ark_Boolean showInSubWindow - result->append(", "); - result->append(".showInSubWindow="); - WriteToString(result, &value->showInSubWindow); - // Ark_Boolean isModal - result->append(", "); - result->append(".isModal="); - WriteToString(result, &value->isModal); - // Ark_ResourceColor backgroundColor - result->append(", "); - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); // Ark_BlurStyle backgroundBlurStyle - result->append(", "); result->append(".backgroundBlurStyle="); WriteToString(result, &value->backgroundBlurStyle); - // Callback_DismissDialogAction_Void onWillDismiss - result->append(", "); - result->append(".onWillDismiss="); - WriteToString(result, &value->onWillDismiss); - // Ark_TransitionEffect transition - result->append(", "); - result->append(".transition="); - WriteToString(result, &value->transition); - // Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius - result->append(", "); - result->append(".cornerRadius="); - WriteToString(result, &value->cornerRadius); - // Ark_Union_String_Number_Resource width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Union_String_Number_Resource height - result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - // Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth - result->append(", "); - result->append(".borderWidth="); - WriteToString(result, &value->borderWidth); - // Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor - result->append(", "); - result->append(".borderColor="); - WriteToString(result, &value->borderColor); - // Ark_Union_BorderStyle_EdgeStyles borderStyle - result->append(", "); - result->append(".borderStyle="); - WriteToString(result, &value->borderStyle); - // Ark_Union_ShadowOptions_ShadowStyle shadow + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions result->append(", "); - result->append(".shadow="); - WriteToString(result, &value->shadow); - // Ark_Boolean enableHoverMode - result->append(", "); - result->append(".enableHoverMode="); - WriteToString(result, &value->enableHoverMode); - // Ark_HoverModeAreaType hoverModeArea + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect result->append(", "); - result->append(".hoverModeArea="); - WriteToString(result, &value->hoverModeArea); + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ActionSheetOptions* value) { +inline void WriteToString(std::string* result, const Opt_MoreButtonOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51359,129 +52969,29 @@ inline void WriteToString(std::string* result, const Opt_ActionSheetOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ActionSheetOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_MoreButtonOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AlertDialogParamWithButtons& value) +inline Ark_RuntimeType runtimeType(const Ark_NavDestinationCustomTitle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_AlertDialogParamWithButtons* value) { +inline void WriteToString(std::string* result, const Ark_NavDestinationCustomTitle* value) { result->append("{"); - // Ark_ResourceStr title - result->append(".title="); - WriteToString(result, &value->title); - // Ark_ResourceStr subtitle - result->append(", "); - result->append(".subtitle="); - WriteToString(result, &value->subtitle); - // Ark_ResourceStr message - result->append(", "); - result->append(".message="); - WriteToString(result, &value->message); - // Ark_Boolean autoCancel - result->append(", "); - result->append(".autoCancel="); - WriteToString(result, &value->autoCancel); - // VoidCallback cancel - result->append(", "); - result->append(".cancel="); - WriteToString(result, &value->cancel); - // Ark_DialogAlignment alignment - result->append(", "); - result->append(".alignment="); - WriteToString(result, &value->alignment); - // Ark_Offset offset - result->append(", "); - result->append(".offset="); - WriteToString(result, &value->offset); - // Ark_Number gridCount - result->append(", "); - result->append(".gridCount="); - WriteToString(result, &value->gridCount); - // Ark_Rectangle maskRect - result->append(", "); - result->append(".maskRect="); - WriteToString(result, &value->maskRect); - // Ark_Boolean showInSubWindow - result->append(", "); - result->append(".showInSubWindow="); - WriteToString(result, &value->showInSubWindow); - // Ark_Boolean isModal - result->append(", "); - result->append(".isModal="); - WriteToString(result, &value->isModal); - // Ark_ResourceColor backgroundColor - result->append(", "); - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Ark_BlurStyle backgroundBlurStyle - result->append(", "); - result->append(".backgroundBlurStyle="); - WriteToString(result, &value->backgroundBlurStyle); - // Callback_DismissDialogAction_Void onWillDismiss - result->append(", "); - result->append(".onWillDismiss="); - WriteToString(result, &value->onWillDismiss); - // Ark_TransitionEffect transition - result->append(", "); - result->append(".transition="); - WriteToString(result, &value->transition); - // Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius - result->append(", "); - result->append(".cornerRadius="); - WriteToString(result, &value->cornerRadius); - // Ark_Union_String_Number_Resource width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Union_String_Number_Resource height + // CustomNodeBuilder builder + result->append(".builder="); + WriteToString(result, &value->builder); + // Ark_Union_TitleHeight_Length height result->append(", "); result->append(".height="); WriteToString(result, &value->height); - // Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth - result->append(", "); - result->append(".borderWidth="); - WriteToString(result, &value->borderWidth); - // Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor - result->append(", "); - result->append(".borderColor="); - WriteToString(result, &value->borderColor); - // Ark_Union_BorderStyle_EdgeStyles borderStyle - result->append(", "); - result->append(".borderStyle="); - WriteToString(result, &value->borderStyle); - // Ark_Union_ShadowOptions_ShadowStyle shadow - result->append(", "); - result->append(".shadow="); - WriteToString(result, &value->shadow); - // Ark_TextStyle_alert_dialog textStyle - result->append(", "); - result->append(".textStyle="); - WriteToString(result, &value->textStyle); - // Ark_Boolean enableHoverMode - result->append(", "); - result->append(".enableHoverMode="); - WriteToString(result, &value->enableHoverMode); - // Ark_HoverModeAreaType hoverModeArea - result->append(", "); - result->append(".hoverModeArea="); - WriteToString(result, &value->hoverModeArea); - // Ark_AlertDialogButtonBaseOptions primaryButton - result->append(", "); - result->append(".primaryButton="); - WriteToString(result, &value->primaryButton); - // Ark_AlertDialogButtonBaseOptions secondaryButton - result->append(", "); - result->append(".secondaryButton="); - WriteToString(result, &value->secondaryButton); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithButtons* value) { +inline void WriteToString(std::string* result, const Opt_NavDestinationCustomTitle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51494,125 +53004,29 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithBut result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AlertDialogParamWithButtons& value) +inline Ark_RuntimeType runtimeType(const Opt_NavDestinationCustomTitle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AlertDialogParamWithConfirm& value) +inline Ark_RuntimeType runtimeType(const Ark_NavigationCustomTitle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_AlertDialogParamWithConfirm* value) { +inline void WriteToString(std::string* result, const Ark_NavigationCustomTitle* value) { result->append("{"); - // Ark_ResourceStr title - result->append(".title="); - WriteToString(result, &value->title); - // Ark_ResourceStr subtitle - result->append(", "); - result->append(".subtitle="); - WriteToString(result, &value->subtitle); - // Ark_ResourceStr message - result->append(", "); - result->append(".message="); - WriteToString(result, &value->message); - // Ark_Boolean autoCancel - result->append(", "); - result->append(".autoCancel="); - WriteToString(result, &value->autoCancel); - // VoidCallback cancel - result->append(", "); - result->append(".cancel="); - WriteToString(result, &value->cancel); - // Ark_DialogAlignment alignment - result->append(", "); - result->append(".alignment="); - WriteToString(result, &value->alignment); - // Ark_Offset offset - result->append(", "); - result->append(".offset="); - WriteToString(result, &value->offset); - // Ark_Number gridCount - result->append(", "); - result->append(".gridCount="); - WriteToString(result, &value->gridCount); - // Ark_Rectangle maskRect - result->append(", "); - result->append(".maskRect="); - WriteToString(result, &value->maskRect); - // Ark_Boolean showInSubWindow - result->append(", "); - result->append(".showInSubWindow="); - WriteToString(result, &value->showInSubWindow); - // Ark_Boolean isModal - result->append(", "); - result->append(".isModal="); - WriteToString(result, &value->isModal); - // Ark_ResourceColor backgroundColor - result->append(", "); - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Ark_BlurStyle backgroundBlurStyle - result->append(", "); - result->append(".backgroundBlurStyle="); - WriteToString(result, &value->backgroundBlurStyle); - // Callback_DismissDialogAction_Void onWillDismiss - result->append(", "); - result->append(".onWillDismiss="); - WriteToString(result, &value->onWillDismiss); - // Ark_TransitionEffect transition - result->append(", "); - result->append(".transition="); - WriteToString(result, &value->transition); - // Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius - result->append(", "); - result->append(".cornerRadius="); - WriteToString(result, &value->cornerRadius); - // Ark_Union_String_Number_Resource width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Union_String_Number_Resource height + // CustomNodeBuilder builder + result->append(".builder="); + WriteToString(result, &value->builder); + // Ark_Union_TitleHeight_Length height result->append(", "); result->append(".height="); WriteToString(result, &value->height); - // Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth - result->append(", "); - result->append(".borderWidth="); - WriteToString(result, &value->borderWidth); - // Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor - result->append(", "); - result->append(".borderColor="); - WriteToString(result, &value->borderColor); - // Ark_Union_BorderStyle_EdgeStyles borderStyle - result->append(", "); - result->append(".borderStyle="); - WriteToString(result, &value->borderStyle); - // Ark_Union_ShadowOptions_ShadowStyle shadow - result->append(", "); - result->append(".shadow="); - WriteToString(result, &value->shadow); - // Ark_TextStyle_alert_dialog textStyle - result->append(", "); - result->append(".textStyle="); - WriteToString(result, &value->textStyle); - // Ark_Boolean enableHoverMode - result->append(", "); - result->append(".enableHoverMode="); - WriteToString(result, &value->enableHoverMode); - // Ark_HoverModeAreaType hoverModeArea - result->append(", "); - result->append(".hoverModeArea="); - WriteToString(result, &value->hoverModeArea); - // Ark_AlertDialogButtonBaseOptions confirm - result->append(", "); - result->append(".confirm="); - WriteToString(result, &value->confirm); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithConfirm* value) { +inline void WriteToString(std::string* result, const Opt_NavigationCustomTitle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51625,129 +53039,61 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithCon result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AlertDialogParamWithConfirm& value) +inline Ark_RuntimeType runtimeType(const Opt_NavigationCustomTitle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AlertDialogParamWithOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_NavigationTitleOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_AlertDialogParamWithOptions* value) { +inline void WriteToString(std::string* result, const Ark_NavigationTitleOptions* value) { result->append("{"); - // Ark_ResourceStr title - result->append(".title="); - WriteToString(result, &value->title); - // Ark_ResourceStr subtitle - result->append(", "); - result->append(".subtitle="); - WriteToString(result, &value->subtitle); - // Ark_ResourceStr message - result->append(", "); - result->append(".message="); - WriteToString(result, &value->message); - // Ark_Boolean autoCancel - result->append(", "); - result->append(".autoCancel="); - WriteToString(result, &value->autoCancel); - // VoidCallback cancel - result->append(", "); - result->append(".cancel="); - WriteToString(result, &value->cancel); - // Ark_DialogAlignment alignment - result->append(", "); - result->append(".alignment="); - WriteToString(result, &value->alignment); - // Ark_Offset offset - result->append(", "); - result->append(".offset="); - WriteToString(result, &value->offset); - // Ark_Number gridCount - result->append(", "); - result->append(".gridCount="); - WriteToString(result, &value->gridCount); - // Ark_Rectangle maskRect - result->append(", "); - result->append(".maskRect="); - WriteToString(result, &value->maskRect); - // Ark_Boolean showInSubWindow - result->append(", "); - result->append(".showInSubWindow="); - WriteToString(result, &value->showInSubWindow); - // Ark_Boolean isModal - result->append(", "); - result->append(".isModal="); - WriteToString(result, &value->isModal); // Ark_ResourceColor backgroundColor - result->append(", "); result->append(".backgroundColor="); WriteToString(result, &value->backgroundColor); // Ark_BlurStyle backgroundBlurStyle result->append(", "); result->append(".backgroundBlurStyle="); WriteToString(result, &value->backgroundBlurStyle); - // Callback_DismissDialogAction_Void onWillDismiss - result->append(", "); - result->append(".onWillDismiss="); - WriteToString(result, &value->onWillDismiss); - // Ark_TransitionEffect transition + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions result->append(", "); - result->append(".transition="); - WriteToString(result, &value->transition); - // Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius - result->append(", "); - result->append(".cornerRadius="); - WriteToString(result, &value->cornerRadius); - // Ark_Union_String_Number_Resource width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Union_String_Number_Resource height + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - // Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // Ark_BarStyle barStyle result->append(", "); - result->append(".borderWidth="); - WriteToString(result, &value->borderWidth); - // Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor + result->append(".barStyle="); + WriteToString(result, &value->barStyle); + // Ark_LengthMetrics paddingStart result->append(", "); - result->append(".borderColor="); - WriteToString(result, &value->borderColor); - // Ark_Union_BorderStyle_EdgeStyles borderStyle + result->append(".paddingStart="); + WriteToString(result, &value->paddingStart); + // Ark_LengthMetrics paddingEnd result->append(", "); - result->append(".borderStyle="); - WriteToString(result, &value->borderStyle); - // Ark_Union_ShadowOptions_ShadowStyle shadow + result->append(".paddingEnd="); + WriteToString(result, &value->paddingEnd); + // Ark_TextModifier mainTitleModifier result->append(", "); - result->append(".shadow="); - WriteToString(result, &value->shadow); - // Ark_TextStyle_alert_dialog textStyle + result->append(".mainTitleModifier="); + WriteToString(result, &value->mainTitleModifier); + // Ark_TextModifier subTitleModifier result->append(", "); - result->append(".textStyle="); - WriteToString(result, &value->textStyle); + result->append(".subTitleModifier="); + WriteToString(result, &value->subTitleModifier); // Ark_Boolean enableHoverMode result->append(", "); result->append(".enableHoverMode="); WriteToString(result, &value->enableHoverMode); - // Ark_HoverModeAreaType hoverModeArea - result->append(", "); - result->append(".hoverModeArea="); - WriteToString(result, &value->hoverModeArea); - // Array_AlertDialogButtonOptions buttons - result->append(", "); - result->append(".buttons="); - WriteToString(result, &value->buttons); - // Ark_DialogButtonDirection buttonDirection - result->append(", "); - result->append(".buttonDirection="); - WriteToString(result, &value->buttonDirection); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithOptions* value) { +inline void WriteToString(std::string* result, const Opt_NavigationTitleOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51760,37 +53106,29 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithOpt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AlertDialogParamWithOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_NavigationTitleOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Area& value) +inline Ark_RuntimeType runtimeType(const Ark_OffsetOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Area* value) { +inline void WriteToString(std::string* result, const Ark_OffsetOptions* value) { result->append("{"); - // Ark_Union_String_Number_Resource width - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Union_String_Number_Resource height - result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - // Ark_Position position - result->append(", "); - result->append(".position="); - WriteToString(result, &value->position); - // Ark_Position globalPosition + // Ark_Dimension xOffset + result->append(".xOffset="); + WriteToString(result, &value->xOffset); + // Ark_Dimension yOffset result->append(", "); - result->append(".globalPosition="); - WriteToString(result, &value->globalPosition); + result->append(".yOffset="); + WriteToString(result, &value->yOffset); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Area* value) { +inline void WriteToString(std::string* result, const Opt_OffsetOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51803,37 +53141,37 @@ inline void WriteToString(std::string* result, const Opt_Area* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Area& value) +inline Ark_RuntimeType runtimeType(const Opt_OffsetOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BadgeParamWithNumber& value) +inline Ark_RuntimeType runtimeType(const Ark_OutlineRadiuses& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BadgeParamWithNumber* value) { +inline void WriteToString(std::string* result, const Ark_OutlineRadiuses* value) { result->append("{"); - // Ark_Union_BadgePosition_Position position - result->append(".position="); - WriteToString(result, &value->position); - // Ark_BadgeStyle style + // Ark_Dimension topLeft + result->append(".topLeft="); + WriteToString(result, &value->topLeft); + // Ark_Dimension topRight result->append(", "); - result->append(".style="); - WriteToString(result, &value->style); - // Ark_Number count + result->append(".topRight="); + WriteToString(result, &value->topRight); + // Ark_Dimension bottomLeft result->append(", "); - result->append(".count="); - WriteToString(result, &value->count); - // Ark_Number maxCount + result->append(".bottomLeft="); + WriteToString(result, &value->bottomLeft); + // Ark_Dimension bottomRight result->append(", "); - result->append(".maxCount="); - WriteToString(result, &value->maxCount); + result->append(".bottomRight="); + WriteToString(result, &value->bottomRight); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BadgeParamWithNumber* value) { +inline void WriteToString(std::string* result, const Opt_OutlineRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51846,33 +53184,37 @@ inline void WriteToString(std::string* result, const Opt_BadgeParamWithNumber* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BadgeParamWithNumber& value) +inline Ark_RuntimeType runtimeType(const Opt_OutlineRadiuses& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BadgeParamWithString& value) +inline Ark_RuntimeType runtimeType(const Ark_Padding& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BadgeParamWithString* value) { +inline void WriteToString(std::string* result, const Ark_Padding* value) { result->append("{"); - // Ark_Union_BadgePosition_Position position - result->append(".position="); - WriteToString(result, &value->position); - // Ark_BadgeStyle style + // Ark_Length top + result->append(".top="); + WriteToString(result, &value->top); + // Ark_Length right result->append(", "); - result->append(".style="); - WriteToString(result, &value->style); - // Ark_String value + result->append(".right="); + WriteToString(result, &value->right); + // Ark_Length bottom result->append(", "); - result->append(".value="); - WriteToString(result, &value->value); + result->append(".bottom="); + WriteToString(result, &value->bottom); + // Ark_Length left + result->append(", "); + result->append(".left="); + WriteToString(result, &value->left); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BadgeParamWithString* value) { +inline void WriteToString(std::string* result, const Opt_Padding* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51885,45 +53227,37 @@ inline void WriteToString(std::string* result, const Opt_BadgeParamWithString* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BadgeParamWithString& value) +inline Ark_RuntimeType runtimeType(const Opt_Padding& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BorderImageOption& value) +inline Ark_RuntimeType runtimeType(const Ark_PixelStretchEffectOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BorderImageOption* value) { +inline void WriteToString(std::string* result, const Ark_PixelStretchEffectOptions* value) { result->append("{"); - // Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths slice - result->append(".slice="); - WriteToString(result, &value->slice); - // Ark_RepeatMode repeat - result->append(", "); - result->append(".repeat="); - WriteToString(result, &value->repeat); - // Ark_Union_String_Resource_LinearGradient_common source - result->append(", "); - result->append(".source="); - WriteToString(result, &value->source); - // Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths width + // Ark_Length top + result->append(".top="); + WriteToString(result, &value->top); + // Ark_Length bottom result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths outset + result->append(".bottom="); + WriteToString(result, &value->bottom); + // Ark_Length left result->append(", "); - result->append(".outset="); - WriteToString(result, &value->outset); - // Ark_Boolean fill + result->append(".left="); + WriteToString(result, &value->left); + // Ark_Length right result->append(", "); - result->append(".fill="); - WriteToString(result, &value->fill); + result->append(".right="); + WriteToString(result, &value->right); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BorderImageOption* value) { +inline void WriteToString(std::string* result, const Opt_PixelStretchEffectOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51936,45 +53270,33 @@ inline void WriteToString(std::string* result, const Opt_BorderImageOption* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BorderImageOption& value) +inline Ark_RuntimeType runtimeType(const Opt_PixelStretchEffectOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BorderOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_PointLightStyle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_BorderOptions* value) { +inline void WriteToString(std::string* result, const Ark_PointLightStyle* value) { result->append("{"); - // Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths width - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors color - result->append(", "); - result->append(".color="); - WriteToString(result, &value->color); - // Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses radius - result->append(", "); - result->append(".radius="); - WriteToString(result, &value->radius); - // Ark_Union_EdgeStyles_BorderStyle style - result->append(", "); - result->append(".style="); - WriteToString(result, &value->style); - // Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths dashGap + // Ark_LightSource lightSource + result->append(".lightSource="); + WriteToString(result, &value->lightSource); + // Ark_IlluminatedType illuminated result->append(", "); - result->append(".dashGap="); - WriteToString(result, &value->dashGap); - // Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths dashWidth + result->append(".illuminated="); + WriteToString(result, &value->illuminated); + // Ark_Number bloom result->append(", "); - result->append(".dashWidth="); - WriteToString(result, &value->dashWidth); + result->append(".bloom="); + WriteToString(result, &value->bloom); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BorderOptions* value) { +inline void WriteToString(std::string* result, const Opt_PointLightStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -51987,41 +53309,29 @@ inline void WriteToString(std::string* result, const Opt_BorderOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BorderOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_PointLightStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ButtonStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_Position& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ButtonStyle* value) { +inline void WriteToString(std::string* result, const Ark_Position* value) { result->append("{"); - // Ark_Number left - result->append(".left="); - WriteToString(result, &value->left); - // Ark_Number top - result->append(", "); - result->append(".top="); - WriteToString(result, &value->top); - // Ark_Number width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Number height - result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - // Ark_ButtonIconOptions icons + // Ark_Length x + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Length y result->append(", "); - result->append(".icons="); - WriteToString(result, &value->icons); + result->append(".y="); + WriteToString(result, &value->y); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ButtonStyle* value) { +inline void WriteToString(std::string* result, const Opt_Position* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52034,29 +53344,37 @@ inline void WriteToString(std::string* result, const Opt_ButtonStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ButtonStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Position& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CancelButtonOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_ProgressStyleOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CancelButtonOptions* value) { +inline void WriteToString(std::string* result, const Ark_ProgressStyleOptions* value) { result->append("{"); - // Ark_CancelButtonStyle style - result->append(".style="); - WriteToString(result, &value->style); - // Ark_IconOptions icon + // Ark_Boolean enableSmoothEffect + result->append(".enableSmoothEffect="); + WriteToString(result, &value->enableSmoothEffect); + // Ark_Length strokeWidth result->append(", "); - result->append(".icon="); - WriteToString(result, &value->icon); + result->append(".strokeWidth="); + WriteToString(result, &value->strokeWidth); + // Ark_Number scaleCount + result->append(", "); + result->append(".scaleCount="); + WriteToString(result, &value->scaleCount); + // Ark_Length scaleWidth + result->append(", "); + result->append(".scaleWidth="); + WriteToString(result, &value->scaleWidth); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CancelButtonOptions* value) { +inline void WriteToString(std::string* result, const Opt_ProgressStyleOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52069,49 +53387,37 @@ inline void WriteToString(std::string* result, const Opt_CancelButtonOptions* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CancelButtonOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_ProgressStyleOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CapsuleStyleOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_RadialGradientOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CapsuleStyleOptions* value) { +inline void WriteToString(std::string* result, const Ark_RadialGradientOptions* value) { result->append("{"); - // Ark_Boolean enableScanEffect - result->append(".enableScanEffect="); - WriteToString(result, &value->enableScanEffect); - // Ark_ResourceColor borderColor - result->append(", "); - result->append(".borderColor="); - WriteToString(result, &value->borderColor); - // Ark_Union_String_Number_Resource borderWidth - result->append(", "); - result->append(".borderWidth="); - WriteToString(result, &value->borderWidth); - // Ark_String content - result->append(", "); - result->append(".content="); - WriteToString(result, &value->content); - // Ark_Font font + // Ark_Tuple_Length_Length center + result->append(".center="); + WriteToString(result, &value->center); + // Ark_Length radius result->append(", "); - result->append(".font="); - WriteToString(result, &value->font); - // Ark_ResourceColor fontColor + result->append(".radius="); + WriteToString(result, &value->radius); + // Array_Tuple_ResourceColor_Number colors result->append(", "); - result->append(".fontColor="); - WriteToString(result, &value->fontColor); - // Ark_Boolean showDefaultPercentage + result->append(".colors="); + WriteToString(result, &value->colors); + // Ark_Boolean repeating result->append(", "); - result->append(".showDefaultPercentage="); - WriteToString(result, &value->showDefaultPercentage); + result->append(".repeating="); + WriteToString(result, &value->repeating); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CapsuleStyleOptions* value) { +inline void WriteToString(std::string* result, const Opt_RadialGradientOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52124,85 +53430,37 @@ inline void WriteToString(std::string* result, const Opt_CapsuleStyleOptions* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CapsuleStyleOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_RadialGradientOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ContextMenuOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Rectangle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ContextMenuOptions* value) { +inline void WriteToString(std::string* result, const Ark_Rectangle* value) { result->append("{"); - // Ark_Position offset - result->append(".offset="); - WriteToString(result, &value->offset); - // Ark_Placement placement - result->append(", "); - result->append(".placement="); - WriteToString(result, &value->placement); - // Ark_Boolean enableArrow - result->append(", "); - result->append(".enableArrow="); - WriteToString(result, &value->enableArrow); - // Ark_Union_String_Number_Resource arrowOffset - result->append(", "); - result->append(".arrowOffset="); - WriteToString(result, &value->arrowOffset); - // Ark_Union_MenuPreviewMode_CustomBuilder preview - result->append(", "); - result->append(".preview="); - WriteToString(result, &value->preview); - // Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses borderRadius - result->append(", "); - result->append(".borderRadius="); - WriteToString(result, &value->borderRadius); - // Callback_Void onAppear - result->append(", "); - result->append(".onAppear="); - WriteToString(result, &value->onAppear); - // Callback_Void onDisappear - result->append(", "); - result->append(".onDisappear="); - WriteToString(result, &value->onDisappear); - // Callback_Void aboutToAppear + // Ark_Length x + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Length y result->append(", "); - result->append(".aboutToAppear="); - WriteToString(result, &value->aboutToAppear); - // Callback_Void aboutToDisappear + result->append(".y="); + WriteToString(result, &value->y); + // Ark_Length width result->append(", "); - result->append(".aboutToDisappear="); - WriteToString(result, &value->aboutToDisappear); - // Ark_Padding layoutRegionMargin + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Length height result->append(", "); - result->append(".layoutRegionMargin="); - WriteToString(result, &value->layoutRegionMargin); - // Ark_ContextMenuAnimationOptions previewAnimationOptions - result->append(", "); - result->append(".previewAnimationOptions="); - WriteToString(result, &value->previewAnimationOptions); - // Ark_ResourceColor backgroundColor - result->append(", "); - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Ark_BlurStyle backgroundBlurStyle - result->append(", "); - result->append(".backgroundBlurStyle="); - WriteToString(result, &value->backgroundBlurStyle); - // Ark_TransitionEffect transition - result->append(", "); - result->append(".transition="); - WriteToString(result, &value->transition); - // Ark_Boolean enableHoverMode - result->append(", "); - result->append(".enableHoverMode="); - WriteToString(result, &value->enableHoverMode); + result->append(".height="); + WriteToString(result, &value->height); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ContextMenuOptions* value) { +inline void WriteToString(std::string* result, const Opt_Rectangle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52215,130 +53473,26 @@ inline void WriteToString(std::string* result, const Opt_ContextMenuOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ContextMenuOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Rectangle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CustomDialogControllerOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_RenderNode& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CustomDialogControllerOptions* value) { - result->append("{"); - // Ark_CustomDialogControllerBuilder builder - result->append(".builder="); - WriteToString(result, &value->builder); - // Callback_Void cancel - result->append(", "); - result->append(".cancel="); - WriteToString(result, &value->cancel); - // Ark_Boolean autoCancel - result->append(", "); - result->append(".autoCancel="); - WriteToString(result, &value->autoCancel); - // Ark_DialogAlignment alignment - result->append(", "); - result->append(".alignment="); - WriteToString(result, &value->alignment); - // Ark_Offset offset - result->append(", "); - result->append(".offset="); - WriteToString(result, &value->offset); - // Ark_Boolean customStyle - result->append(", "); - result->append(".customStyle="); - WriteToString(result, &value->customStyle); - // Ark_Number gridCount - result->append(", "); - result->append(".gridCount="); - WriteToString(result, &value->gridCount); - // Ark_ResourceColor maskColor - result->append(", "); - result->append(".maskColor="); - WriteToString(result, &value->maskColor); - // Ark_Rectangle maskRect - result->append(", "); - result->append(".maskRect="); - WriteToString(result, &value->maskRect); - // Ark_AnimateParam openAnimation - result->append(", "); - result->append(".openAnimation="); - WriteToString(result, &value->openAnimation); - // Ark_AnimateParam closeAnimation - result->append(", "); - result->append(".closeAnimation="); - WriteToString(result, &value->closeAnimation); - // Ark_Boolean showInSubWindow - result->append(", "); - result->append(".showInSubWindow="); - WriteToString(result, &value->showInSubWindow); - // Ark_ResourceColor backgroundColor - result->append(", "); - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Ark_Union_Dimension_BorderRadiuses cornerRadius - result->append(", "); - result->append(".cornerRadius="); - WriteToString(result, &value->cornerRadius); - // Ark_Boolean isModal - result->append(", "); - result->append(".isModal="); - WriteToString(result, &value->isModal); - // Callback_DismissDialogAction_Void onWillDismiss - result->append(", "); - result->append(".onWillDismiss="); - WriteToString(result, &value->onWillDismiss); - // Ark_Union_String_Number_Resource width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Union_String_Number_Resource height - result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - // Ark_Union_Dimension_EdgeWidths borderWidth - result->append(", "); - result->append(".borderWidth="); - WriteToString(result, &value->borderWidth); - // Ark_Union_ResourceColor_EdgeColors borderColor - result->append(", "); - result->append(".borderColor="); - WriteToString(result, &value->borderColor); - // Ark_Union_BorderStyle_EdgeStyles borderStyle - result->append(", "); - result->append(".borderStyle="); - WriteToString(result, &value->borderStyle); - // Ark_Union_ShadowOptions_ShadowStyle shadow - result->append(", "); - result->append(".shadow="); - WriteToString(result, &value->shadow); - // Ark_BlurStyle backgroundBlurStyle - result->append(", "); - result->append(".backgroundBlurStyle="); - WriteToString(result, &value->backgroundBlurStyle); - // Ark_KeyboardAvoidMode keyboardAvoidMode - result->append(", "); - result->append(".keyboardAvoidMode="); - WriteToString(result, &value->keyboardAvoidMode); - // Ark_Boolean enableHoverMode - result->append(", "); - result->append(".enableHoverMode="); - WriteToString(result, &value->enableHoverMode); - // Ark_HoverModeAreaType hoverModeArea - result->append(", "); - result->append(".hoverModeArea="); - WriteToString(result, &value->hoverModeArea); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_RenderNode value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_CustomDialogControllerOptions* value) { +inline void WriteToString(std::string* result, const Opt_RenderNode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -52346,148 +53500,29 @@ inline void WriteToString(std::string* result, const Opt_CustomDialogControllerO result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomDialogControllerOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_RenderNode& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CustomPopupOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_RichEditorSymbolSpanOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CustomPopupOptions* value) { +inline void WriteToString(std::string* result, const Ark_RichEditorSymbolSpanOptions* value) { result->append("{"); - // CustomNodeBuilder builder - result->append(".builder="); - WriteToString(result, &value->builder); - // Ark_Placement placement - result->append(", "); - result->append(".placement="); - WriteToString(result, &value->placement); - // Ark_Union_Color_String_Resource_Number maskColor - result->append(", "); - result->append(".maskColor="); - WriteToString(result, &value->maskColor); - // Ark_Union_Color_String_Resource_Number popupColor - result->append(", "); - result->append(".popupColor="); - WriteToString(result, &value->popupColor); - // Ark_Boolean enableArrow - result->append(", "); - result->append(".enableArrow="); - WriteToString(result, &value->enableArrow); - // Ark_Boolean autoCancel - result->append(", "); - result->append(".autoCancel="); - WriteToString(result, &value->autoCancel); - // Callback_Literal_Boolean_isVisible_Void onStateChange - result->append(", "); - result->append(".onStateChange="); - WriteToString(result, &value->onStateChange); - // Ark_Union_String_Number_Resource arrowOffset - result->append(", "); - result->append(".arrowOffset="); - WriteToString(result, &value->arrowOffset); - // Ark_Boolean showInSubWindow - result->append(", "); - result->append(".showInSubWindow="); - WriteToString(result, &value->showInSubWindow); - // Ark_Union_Boolean_Literal_ResourceColor_color mask - result->append(", "); - result->append(".mask="); - WriteToString(result, &value->mask); - // Ark_Union_String_Number_Resource targetSpace - result->append(", "); - result->append(".targetSpace="); - WriteToString(result, &value->targetSpace); - // Ark_Position offset - result->append(", "); + // Ark_Number offset result->append(".offset="); WriteToString(result, &value->offset); - // Ark_Union_String_Number_Resource width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_ArrowPointPosition arrowPointPosition - result->append(", "); - result->append(".arrowPointPosition="); - WriteToString(result, &value->arrowPointPosition); - // Ark_Union_String_Number_Resource arrowWidth - result->append(", "); - result->append(".arrowWidth="); - WriteToString(result, &value->arrowWidth); - // Ark_Union_String_Number_Resource arrowHeight - result->append(", "); - result->append(".arrowHeight="); - WriteToString(result, &value->arrowHeight); - // Ark_Union_String_Number_Resource radius - result->append(", "); - result->append(".radius="); - WriteToString(result, &value->radius); - // Ark_Union_ShadowOptions_ShadowStyle shadow - result->append(", "); - result->append(".shadow="); - WriteToString(result, &value->shadow); - // Ark_BlurStyle backgroundBlurStyle - result->append(", "); - result->append(".backgroundBlurStyle="); - WriteToString(result, &value->backgroundBlurStyle); - // Ark_Boolean focusable - result->append(", "); - result->append(".focusable="); - WriteToString(result, &value->focusable); - // Ark_TransitionEffect transition - result->append(", "); - result->append(".transition="); - WriteToString(result, &value->transition); - // Ark_Union_Boolean_Callback_DismissPopupAction_Void onWillDismiss - result->append(", "); - result->append(".onWillDismiss="); - WriteToString(result, &value->onWillDismiss); - // Ark_Boolean enableHoverMode - result->append(", "); - result->append(".enableHoverMode="); - WriteToString(result, &value->enableHoverMode); - // Ark_Boolean followTransformOfTarget + // Ark_RichEditorSymbolSpanStyle style result->append(", "); - result->append(".followTransformOfTarget="); - WriteToString(result, &value->followTransformOfTarget); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_CustomPopupOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomPopupOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_CustomTheme& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_CustomTheme* value) { - result->append("{"); - // Ark_CustomColors colors - result->append(".colors="); - WriteToString(result, &value->colors); + result->append(".style="); + WriteToString(result, &value->style); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CustomTheme* value) { +inline void WriteToString(std::string* result, const Opt_RichEditorSymbolSpanOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52500,61 +53535,37 @@ inline void WriteToString(std::string* result, const Opt_CustomTheme* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CustomTheme& value) +inline Ark_RuntimeType runtimeType(const Opt_RichEditorSymbolSpanOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DigitIndicator& value) +inline Ark_RuntimeType runtimeType(const Ark_RingStyleOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DigitIndicator* value) { +inline void WriteToString(std::string* result, const Ark_RingStyleOptions* value) { result->append("{"); - // Ark_Union_String_Number_Resource _left - result->append("._left="); - WriteToString(result, &value->_left); - // Ark_Union_String_Number_Resource _top - result->append(", "); - result->append("._top="); - WriteToString(result, &value->_top); - // Ark_Union_String_Number_Resource _right - result->append(", "); - result->append("._right="); - WriteToString(result, &value->_right); - // Ark_Union_String_Number_Resource _bottom - result->append(", "); - result->append("._bottom="); - WriteToString(result, &value->_bottom); - // Ark_LengthMetrics _start - result->append(", "); - result->append("._start="); - WriteToString(result, &value->_start); - // Ark_LengthMetrics _end - result->append(", "); - result->append("._end="); - WriteToString(result, &value->_end); - // Ark_ResourceColor _fontColor - result->append(", "); - result->append("._fontColor="); - WriteToString(result, &value->_fontColor); - // Ark_ResourceColor _selectedFontColor + // Ark_Boolean enableScanEffect + result->append(".enableScanEffect="); + WriteToString(result, &value->enableScanEffect); + // Ark_Length strokeWidth result->append(", "); - result->append("._selectedFontColor="); - WriteToString(result, &value->_selectedFontColor); - // Ark_Font _digitFont + result->append(".strokeWidth="); + WriteToString(result, &value->strokeWidth); + // Ark_Boolean shadow result->append(", "); - result->append("._digitFont="); - WriteToString(result, &value->_digitFont); - // Ark_Font _selectedDigitFont + result->append(".shadow="); + WriteToString(result, &value->shadow); + // Ark_ProgressStatus status result->append(", "); - result->append("._selectedDigitFont="); - WriteToString(result, &value->_selectedDigitFont); + result->append(".status="); + WriteToString(result, &value->status); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DigitIndicator* value) { +inline void WriteToString(std::string* result, const Opt_RingStyleOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52567,25 +53578,29 @@ inline void WriteToString(std::string* result, const Opt_DigitIndicator* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DigitIndicator& value) +inline Ark_RuntimeType runtimeType(const Opt_RingStyleOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EventTarget& value) +inline Ark_RuntimeType runtimeType(const Ark_ScrollableBarModeOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_EventTarget* value) { +inline void WriteToString(std::string* result, const Ark_ScrollableBarModeOptions* value) { result->append("{"); - // Ark_Area area - result->append(".area="); - WriteToString(result, &value->area); + // Ark_Dimension margin + result->append(".margin="); + WriteToString(result, &value->margin); + // Ark_LayoutStyle nonScrollableLayoutStyle + result->append(", "); + result->append(".nonScrollableLayoutStyle="); + WriteToString(result, &value->nonScrollableLayoutStyle); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_EventTarget* value) { +inline void WriteToString(std::string* result, const Opt_ScrollableBarModeOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52598,45 +53613,37 @@ inline void WriteToString(std::string* result, const Opt_EventTarget* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EventTarget& value) +inline Ark_RuntimeType runtimeType(const Opt_ScrollableBarModeOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_FlexOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_ScrollSnapOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_FlexOptions* value) { +inline void WriteToString(std::string* result, const Ark_ScrollSnapOptions* value) { result->append("{"); - // Ark_FlexDirection direction - result->append(".direction="); - WriteToString(result, &value->direction); - // Ark_FlexWrap wrap - result->append(", "); - result->append(".wrap="); - WriteToString(result, &value->wrap); - // Ark_FlexAlign justifyContent - result->append(", "); - result->append(".justifyContent="); - WriteToString(result, &value->justifyContent); - // Ark_ItemAlign alignItems + // Ark_ScrollSnapAlign snapAlign + result->append(".snapAlign="); + WriteToString(result, value->snapAlign); + // Ark_Union_Dimension_Array_Dimension snapPagination result->append(", "); - result->append(".alignItems="); - WriteToString(result, &value->alignItems); - // Ark_FlexAlign alignContent + result->append(".snapPagination="); + WriteToString(result, &value->snapPagination); + // Ark_Boolean enableSnapToStart result->append(", "); - result->append(".alignContent="); - WriteToString(result, &value->alignContent); - // Ark_FlexSpaceOptions space + result->append(".enableSnapToStart="); + WriteToString(result, &value->enableSnapToStart); + // Ark_Boolean enableSnapToEnd result->append(", "); - result->append(".space="); - WriteToString(result, &value->space); + result->append(".enableSnapToEnd="); + WriteToString(result, &value->enableSnapToEnd); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_FlexOptions* value) { +inline void WriteToString(std::string* result, const Opt_ScrollSnapOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52649,26 +53656,38 @@ inline void WriteToString(std::string* result, const Opt_FlexOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_FlexOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_ScrollSnapOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GestureEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_SearchButtonOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_GestureEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_SearchButtonOptions* value) { + result->append("{"); + // Ark_Length fontSize + result->append(".fontSize="); + WriteToString(result, &value->fontSize); + // Ark_ResourceColor fontColor + result->append(", "); + result->append(".fontColor="); + WriteToString(result, &value->fontColor); + // Ark_Boolean autoDisable + result->append(", "); + result->append(".autoDisable="); + WriteToString(result, &value->autoDisable); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GestureEvent* value) { +inline void WriteToString(std::string* result, const Opt_SearchButtonOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -52676,29 +53695,29 @@ inline void WriteToString(std::string* result, const Opt_GestureEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_SearchButtonOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GutterOption& value) +inline Ark_RuntimeType runtimeType(const Ark_SizeOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_GutterOption* value) { +inline void WriteToString(std::string* result, const Ark_SizeOptions* value) { result->append("{"); - // Ark_Union_Length_GridRowSizeOption x - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Union_Length_GridRowSizeOption y + // Ark_Length width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Length height result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); + result->append(".height="); + WriteToString(result, &value->height); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_GutterOption* value) { +inline void WriteToString(std::string* result, const Opt_SizeOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52711,26 +53730,50 @@ inline void WriteToString(std::string* result, const Opt_GutterOption* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_GutterOption& value) +inline Ark_RuntimeType runtimeType(const Opt_SizeOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_HoverEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_SweepGradientOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_HoverEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_SweepGradientOptions* value) { + result->append("{"); + // Ark_Tuple_Length_Length center + result->append(".center="); + WriteToString(result, &value->center); + // Ark_Union_Number_String start + result->append(", "); + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Union_Number_String end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); + // Ark_Union_Number_String rotation + result->append(", "); + result->append(".rotation="); + WriteToString(result, &value->rotation); + // Array_Tuple_ResourceColor_Number colors + result->append(", "); + result->append(".colors="); + WriteToString(result, &value->colors); + // Ark_Boolean repeating + result->append(", "); + result->append(".repeating="); + WriteToString(result, &value->repeating); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_HoverEvent* value) { +inline void WriteToString(std::string* result, const Opt_SweepGradientOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -52738,33 +53781,49 @@ inline void WriteToString(std::string* result, const Opt_HoverEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_HoverEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_SweepGradientOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageAttachmentLayoutStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_SwipeActionItem& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ImageAttachmentLayoutStyle* value) { +inline void WriteToString(std::string* result, const Ark_SwipeActionItem* value) { result->append("{"); - // Ark_Union_LengthMetrics_Margin margin - result->append(".margin="); - WriteToString(result, &value->margin); - // Ark_Union_LengthMetrics_Padding padding + // CustomNodeBuilder builder + result->append(".builder="); + WriteToString(result, &value->builder); + // Ark_ComponentContent builderComponent result->append(", "); - result->append(".padding="); - WriteToString(result, &value->padding); - // Ark_Union_LengthMetrics_BorderRadiuses borderRadius + result->append(".builderComponent="); + WriteToString(result, &value->builderComponent); + // Ark_Length actionAreaDistance result->append(", "); - result->append(".borderRadius="); - WriteToString(result, &value->borderRadius); + result->append(".actionAreaDistance="); + WriteToString(result, &value->actionAreaDistance); + // Callback_Void onAction + result->append(", "); + result->append(".onAction="); + WriteToString(result, &value->onAction); + // Callback_Void onEnterActionArea + result->append(", "); + result->append(".onEnterActionArea="); + WriteToString(result, &value->onEnterActionArea); + // Callback_Void onExitActionArea + result->append(", "); + result->append(".onExitActionArea="); + WriteToString(result, &value->onExitActionArea); + // Callback_SwipeActionState_Void onStateChange + result->append(", "); + result->append(".onStateChange="); + WriteToString(result, &value->onStateChange); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ImageAttachmentLayoutStyle* value) { +inline void WriteToString(std::string* result, const Opt_SwipeActionItem* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52777,53 +53836,101 @@ inline void WriteToString(std::string* result, const Opt_ImageAttachmentLayoutSt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageAttachmentLayoutStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_SwipeActionItem& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LabelStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_text_TextStyle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LabelStyle* value) { +inline void WriteToString(std::string* result, const Ark_text_TextStyle* value) { result->append("{"); - // Ark_TextOverflow overflow - result->append(".overflow="); - WriteToString(result, &value->overflow); - // Ark_Number maxLines + // Ark_Decoration decoration + result->append(".decoration="); + WriteToString(result, &value->decoration); + // Ark_common2D_Color color result->append(", "); - result->append(".maxLines="); - WriteToString(result, &value->maxLines); - // Ark_Union_Number_ResourceStr minFontSize + result->append(".color="); + WriteToString(result, &value->color); + // Ark_FontWeight fontWeight result->append(", "); - result->append(".minFontSize="); - WriteToString(result, &value->minFontSize); - // Ark_Union_Number_ResourceStr maxFontSize + result->append(".fontWeight="); + WriteToString(result, &value->fontWeight); + // Ark_FontStyle fontStyle result->append(", "); - result->append(".maxFontSize="); - WriteToString(result, &value->maxFontSize); - // Ark_TextHeightAdaptivePolicy heightAdaptivePolicy + result->append(".fontStyle="); + WriteToString(result, &value->fontStyle); + // Ark_TextBaseline baseline result->append(", "); - result->append(".heightAdaptivePolicy="); - WriteToString(result, &value->heightAdaptivePolicy); - // Ark_Font font + result->append(".baseline="); + WriteToString(result, &value->baseline); + // Array_String fontFamilies result->append(", "); - result->append(".font="); - WriteToString(result, &value->font); - // Ark_ResourceColor selectedColor + result->append(".fontFamilies="); + WriteToString(result, &value->fontFamilies); + // Ark_Number fontSize result->append(", "); - result->append(".selectedColor="); - WriteToString(result, &value->selectedColor); - // Ark_ResourceColor unselectedColor + result->append(".fontSize="); + WriteToString(result, &value->fontSize); + // Ark_Number letterSpacing result->append(", "); - result->append(".unselectedColor="); - WriteToString(result, &value->unselectedColor); + result->append(".letterSpacing="); + WriteToString(result, &value->letterSpacing); + // Ark_Number wordSpacing + result->append(", "); + result->append(".wordSpacing="); + WriteToString(result, &value->wordSpacing); + // Ark_Number heightScale + result->append(", "); + result->append(".heightScale="); + WriteToString(result, &value->heightScale); + // Ark_Boolean halfLeading + result->append(", "); + result->append(".halfLeading="); + WriteToString(result, &value->halfLeading); + // Ark_Boolean heightOnly + result->append(", "); + result->append(".heightOnly="); + WriteToString(result, &value->heightOnly); + // Ark_String ellipsis + result->append(", "); + result->append(".ellipsis="); + WriteToString(result, &value->ellipsis); + // Ark_EllipsisMode ellipsisMode + result->append(", "); + result->append(".ellipsisMode="); + WriteToString(result, &value->ellipsisMode); + // Ark_String locale + result->append(", "); + result->append(".locale="); + WriteToString(result, &value->locale); + // Ark_Number baselineShift + result->append(", "); + result->append(".baselineShift="); + WriteToString(result, &value->baselineShift); + // Array_FontFeature fontFeatures + result->append(", "); + result->append(".fontFeatures="); + WriteToString(result, &value->fontFeatures); + // Array_TextShadow textShadows + result->append(", "); + result->append(".textShadows="); + WriteToString(result, &value->textShadows); + // Ark_RectStyle backgroundRect + result->append(", "); + result->append(".backgroundRect="); + WriteToString(result, &value->backgroundRect); + // Array_FontVariation fontVariations + result->append(", "); + result->append(".fontVariations="); + WriteToString(result, &value->fontVariations); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LabelStyle* value) { +inline void WriteToString(std::string* result, const Opt_text_TextStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52836,29 +53943,37 @@ inline void WriteToString(std::string* result, const Opt_LabelStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LabelStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_text_TextStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LeadingMarginPlaceholder& value) +inline Ark_RuntimeType runtimeType(const Ark_TextDataDetectorConfig& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_LeadingMarginPlaceholder* value) { +inline void WriteToString(std::string* result, const Ark_TextDataDetectorConfig* value) { result->append("{"); - // Ark_PixelMap pixelMap - result->append(".pixelMap="); - WriteToString(result, value->pixelMap); - // Ark_Tuple_Dimension_Dimension size + // Array_TextDataDetectorType types + result->append(".types="); + WriteToString(result, &value->types); + // Callback_String_Void onDetectResultUpdate result->append(", "); - result->append(".size="); - WriteToString(result, &value->size); + result->append(".onDetectResultUpdate="); + WriteToString(result, &value->onDetectResultUpdate); + // Ark_ResourceColor color + result->append(", "); + result->append(".color="); + WriteToString(result, &value->color); + // Ark_DecorationStyleInterface decoration + result->append(", "); + result->append(".decoration="); + WriteToString(result, &value->decoration); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_LeadingMarginPlaceholder* value) { +inline void WriteToString(std::string* result, const Opt_TextDataDetectorConfig* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52871,120 +53986,53 @@ inline void WriteToString(std::string* result, const Opt_LeadingMarginPlaceholde result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LeadingMarginPlaceholder& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_LongPressGestureEvent& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_LongPressGestureEvent value) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_LongPressGestureEvent* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_LongPressGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_TextDataDetectorConfig& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MenuOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_TipsOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_MenuOptions* value) { +inline void WriteToString(std::string* result, const Ark_TipsOptions* value) { result->append("{"); - // Ark_Position offset - result->append(".offset="); - WriteToString(result, &value->offset); - // Ark_Placement placement + // Ark_Number appearingTime + result->append(".appearingTime="); + WriteToString(result, &value->appearingTime); + // Ark_Number disappearingTime result->append(", "); - result->append(".placement="); - WriteToString(result, &value->placement); + result->append(".disappearingTime="); + WriteToString(result, &value->disappearingTime); + // Ark_Number appearingTimeWithContinuousOperation + result->append(", "); + result->append(".appearingTimeWithContinuousOperation="); + WriteToString(result, &value->appearingTimeWithContinuousOperation); + // Ark_Number disappearingTimeWithContinuousOperation + result->append(", "); + result->append(".disappearingTimeWithContinuousOperation="); + WriteToString(result, &value->disappearingTimeWithContinuousOperation); // Ark_Boolean enableArrow result->append(", "); result->append(".enableArrow="); WriteToString(result, &value->enableArrow); - // Ark_Union_String_Number_Resource arrowOffset - result->append(", "); - result->append(".arrowOffset="); - WriteToString(result, &value->arrowOffset); - // Ark_Union_MenuPreviewMode_CustomBuilder preview - result->append(", "); - result->append(".preview="); - WriteToString(result, &value->preview); - // Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses borderRadius - result->append(", "); - result->append(".borderRadius="); - WriteToString(result, &value->borderRadius); - // Callback_Void onAppear - result->append(", "); - result->append(".onAppear="); - WriteToString(result, &value->onAppear); - // Callback_Void onDisappear - result->append(", "); - result->append(".onDisappear="); - WriteToString(result, &value->onDisappear); - // Callback_Void aboutToAppear - result->append(", "); - result->append(".aboutToAppear="); - WriteToString(result, &value->aboutToAppear); - // Callback_Void aboutToDisappear - result->append(", "); - result->append(".aboutToDisappear="); - WriteToString(result, &value->aboutToDisappear); - // Ark_Padding layoutRegionMargin - result->append(", "); - result->append(".layoutRegionMargin="); - WriteToString(result, &value->layoutRegionMargin); - // Ark_ContextMenuAnimationOptions previewAnimationOptions - result->append(", "); - result->append(".previewAnimationOptions="); - WriteToString(result, &value->previewAnimationOptions); - // Ark_ResourceColor backgroundColor - result->append(", "); - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Ark_BlurStyle backgroundBlurStyle - result->append(", "); - result->append(".backgroundBlurStyle="); - WriteToString(result, &value->backgroundBlurStyle); - // Ark_TransitionEffect transition - result->append(", "); - result->append(".transition="); - WriteToString(result, &value->transition); - // Ark_Boolean enableHoverMode + // Ark_ArrowPointPosition arrowPointPosition result->append(", "); - result->append(".enableHoverMode="); - WriteToString(result, &value->enableHoverMode); - // Ark_ResourceStr title + result->append(".arrowPointPosition="); + WriteToString(result, &value->arrowPointPosition); + // Ark_Dimension arrowWidth result->append(", "); - result->append(".title="); - WriteToString(result, &value->title); - // Ark_Boolean showInSubWindow + result->append(".arrowWidth="); + WriteToString(result, &value->arrowWidth); + // Ark_Dimension arrowHeight result->append(", "); - result->append(".showInSubWindow="); - WriteToString(result, &value->showInSubWindow); + result->append(".arrowHeight="); + WriteToString(result, &value->arrowHeight); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_MenuOptions* value) { +inline void WriteToString(std::string* result, const Opt_TipsOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -52997,26 +54045,62 @@ inline void WriteToString(std::string* result, const Opt_MenuOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MenuOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_TipsOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_MouseEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Type_NavDestinationAttribute_title_value& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + case 3: return runtimeType(value.value3); + case 4: return runtimeType(value.value4); + default: INTEROP_FATAL("Bad selector in Ark_Type_NavDestinationAttribute_title_value: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_MouseEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_Type_NavDestinationAttribute_title_value* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_String + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // CustomNodeBuilder + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_NavDestinationCommonTitle + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + // Ark_NavDestinationCustomTitle + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, &value->value3); + } + // Ark_Resource + if (value->selector == 4) { + result->append(".value4="); + WriteToString(result, &value->value4); + } + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_MouseEvent* value) { +inline void WriteToString(std::string* result, const Opt_Type_NavDestinationAttribute_title_value* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -53024,57 +54108,51 @@ inline void WriteToString(std::string* result, const Opt_MouseEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_MouseEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Type_NavDestinationAttribute_title_value& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_Type_NavigationAttribute_title_value& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + case 3: return runtimeType(value.value3); + default: INTEROP_FATAL("Bad selector in Ark_Type_NavigationAttribute_title_value: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_NativeEmbedInfo* value) { +inline void WriteToString(std::string* result, const Ark_Type_NavigationAttribute_title_value* value) { result->append("{"); - // Ark_String id - result->append(".id="); - WriteToString(result, &value->id); - // Ark_String type - result->append(", "); - result->append(".type="); - WriteToString(result, &value->type); - // Ark_String src - result->append(", "); - result->append(".src="); - WriteToString(result, &value->src); - // Ark_Position position - result->append(", "); - result->append(".position="); - WriteToString(result, &value->position); - // Ark_Number width - result->append(", "); - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Number height - result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - // Ark_String url - result->append(", "); - result->append(".url="); - WriteToString(result, &value->url); - // Ark_String tag - result->append(", "); - result->append(".tag="); - WriteToString(result, &value->tag); - // Map_String_String params + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".params="); - WriteToString(result, &value->params); + // Ark_ResourceStr + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // CustomNodeBuilder + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_NavigationCommonTitle + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + // Ark_NavigationCustomTitle + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, &value->value3); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NativeEmbedInfo* value) { +inline void WriteToString(std::string* result, const Opt_Type_NavigationAttribute_title_value* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53087,37 +54165,33 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedInfo* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_Type_NavigationAttribute_title_value& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OutlineOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Type_SheetOptions_detents& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OutlineOptions* value) { +inline void WriteToString(std::string* result, const Ark_Type_SheetOptions_detents* value) { result->append("{"); - // Ark_Union_EdgeOutlineWidths_Dimension width - result->append(".width="); - WriteToString(result, &value->width); - // Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors color - result->append(", "); - result->append(".color="); - WriteToString(result, &value->color); - // Ark_Union_OutlineRadiuses_Dimension radius + // Ark_Union_SheetSize_Length value0 + result->append(".value0="); + WriteToString(result, &value->value0); + // Ark_Union_SheetSize_Length value1 result->append(", "); - result->append(".radius="); - WriteToString(result, &value->radius); - // Ark_Union_EdgeOutlineStyles_OutlineStyle style + result->append(".value1="); + WriteToString(result, &value->value1); + // Ark_Union_SheetSize_Length value2 result->append(", "); - result->append(".style="); - WriteToString(result, &value->style); + result->append(".value2="); + WriteToString(result, &value->value2); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_OutlineOptions* value) { +inline void WriteToString(std::string* result, const Opt_Type_SheetOptions_detents* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53130,26 +54204,44 @@ inline void WriteToString(std::string* result, const Opt_OutlineOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OutlineOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Type_SheetOptions_detents& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PanGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Array_Rectangle_Rectangle& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Array_Rectangle_Rectangle: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_PanGestureEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_Union_Array_Rectangle_Rectangle* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Array_Rectangle + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Rectangle + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PanGestureEvent* value) { +inline void WriteToString(std::string* result, const Opt_Union_Array_Rectangle_Rectangle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -53157,65 +54249,39 @@ inline void WriteToString(std::string* result, const Opt_PanGestureEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PanGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Array_Rectangle_Rectangle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PickerDialogButtonStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_ArrowStyle_Boolean& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_ArrowStyle_Boolean: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_PickerDialogButtonStyle* value) { +inline void WriteToString(std::string* result, const Ark_Union_ArrowStyle_Boolean* value) { result->append("{"); - // Ark_ButtonType type - result->append(".type="); - WriteToString(result, &value->type); - // Ark_ButtonStyleMode style - result->append(", "); - result->append(".style="); - WriteToString(result, &value->style); - // Ark_ButtonRole role - result->append(", "); - result->append(".role="); - WriteToString(result, &value->role); - // Ark_Union_String_Number_Resource fontSize - result->append(", "); - result->append(".fontSize="); - WriteToString(result, &value->fontSize); - // Ark_ResourceColor fontColor - result->append(", "); - result->append(".fontColor="); - WriteToString(result, &value->fontColor); - // Ark_Union_FontWeight_Number_String fontWeight - result->append(", "); - result->append(".fontWeight="); - WriteToString(result, &value->fontWeight); - // Ark_FontStyle fontStyle - result->append(", "); - result->append(".fontStyle="); - WriteToString(result, &value->fontStyle); - // Ark_Union_Resource_String fontFamily - result->append(", "); - result->append(".fontFamily="); - WriteToString(result, &value->fontFamily); - // Ark_ResourceColor backgroundColor - result->append(", "); - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Ark_Union_Length_BorderRadiuses borderRadius - result->append(", "); - result->append(".borderRadius="); - WriteToString(result, &value->borderRadius); - // Ark_Boolean primary + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".primary="); - WriteToString(result, &value->primary); + // Ark_ArrowStyle + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Boolean + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PickerDialogButtonStyle* value) { +inline void WriteToString(std::string* result, const Opt_Union_ArrowStyle_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53228,29 +54294,39 @@ inline void WriteToString(std::string* result, const Opt_PickerDialogButtonStyle result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PickerDialogButtonStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_ArrowStyle_Boolean& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PickerTextStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_BadgePosition_Position& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_BadgePosition_Position: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_PickerTextStyle* value) { +inline void WriteToString(std::string* result, const Ark_Union_BadgePosition_Position* value) { result->append("{"); - // Ark_ResourceColor color - result->append(".color="); - WriteToString(result, &value->color); - // Ark_Font font + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".font="); - WriteToString(result, &value->font); + // Ark_BadgePosition + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_Position + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PickerTextStyle* value) { +inline void WriteToString(std::string* result, const Opt_Union_BadgePosition_Position* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53263,26 +54339,50 @@ inline void WriteToString(std::string* result, const Opt_PickerTextStyle* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PickerTextStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_BadgePosition_Position& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PinchGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses& value) { - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_PinchGestureEvent value) { - WriteToString(result, static_cast(value)); + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Opt_PinchGestureEvent* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); +inline void WriteToString(std::string* result, const Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_BorderRadiuses + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Length + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_LocalizedBorderRadiuses + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -53290,29 +54390,39 @@ inline void WriteToString(std::string* result, const Opt_PinchGestureEvent* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PinchGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PlaceholderStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_CustomBuilder_SwipeActionItem& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_CustomBuilder_SwipeActionItem: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_PlaceholderStyle* value) { +inline void WriteToString(std::string* result, const Ark_Union_CustomBuilder_SwipeActionItem* value) { result->append("{"); - // Ark_Font font - result->append(".font="); - WriteToString(result, &value->font); - // Ark_ResourceColor fontColor + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".fontColor="); - WriteToString(result, &value->fontColor); + // CustomNodeBuilder + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_SwipeActionItem + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PlaceholderStyle* value) { +inline void WriteToString(std::string* result, const Opt_Union_CustomBuilder_SwipeActionItem* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53325,33 +54435,39 @@ inline void WriteToString(std::string* result, const Opt_PlaceholderStyle* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PlaceholderStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_CustomBuilder_SwipeActionItem& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PointLightStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_BorderRadiuses& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_BorderRadiuses: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_PointLightStyle* value) { +inline void WriteToString(std::string* result, const Ark_Union_Dimension_BorderRadiuses* value) { result->append("{"); - // Ark_LightSource lightSource - result->append(".lightSource="); - WriteToString(result, &value->lightSource); - // Ark_IlluminatedType illuminated - result->append(", "); - result->append(".illuminated="); - WriteToString(result, &value->illuminated); - // Ark_Number bloom + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".bloom="); - WriteToString(result, &value->bloom); + // Ark_Dimension + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_BorderRadiuses + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PointLightStyle* value) { +inline void WriteToString(std::string* result, const Opt_Union_Dimension_BorderRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53364,29 +54480,45 @@ inline void WriteToString(std::string* result, const Opt_PointLightStyle* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PointLightStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_BorderRadiuses& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PopupMessageOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_PopupMessageOptions* value) { +inline void WriteToString(std::string* result, const Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses* value) { result->append("{"); - // Ark_ResourceColor textColor - result->append(".textColor="); - WriteToString(result, &value->textColor); - // Ark_Font font + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".font="); - WriteToString(result, &value->font); + // Ark_Dimension + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_BorderRadiuses + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_LocalizedBorderRadiuses + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PopupMessageOptions* value) { +inline void WriteToString(std::string* result, const Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53399,29 +54531,39 @@ inline void WriteToString(std::string* result, const Opt_PopupMessageOptions* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PopupMessageOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ResizableOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_EdgeOutlineWidths& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_EdgeOutlineWidths: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_ResizableOptions* value) { +inline void WriteToString(std::string* result, const Ark_Union_Dimension_EdgeOutlineWidths* value) { result->append("{"); - // Ark_EdgeWidths slice - result->append(".slice="); - WriteToString(result, &value->slice); - // Ark_DrawingLattice lattice + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".lattice="); - WriteToString(result, &value->lattice); + // Ark_Dimension + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_EdgeOutlineWidths + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ResizableOptions* value) { +inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeOutlineWidths* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53434,29 +54576,39 @@ inline void WriteToString(std::string* result, const Opt_ResizableOptions* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ResizableOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_EdgeOutlineWidths& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorLayoutStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_EdgeWidths& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_EdgeWidths: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorLayoutStyle* value) { +inline void WriteToString(std::string* result, const Ark_Union_Dimension_EdgeWidths* value) { result->append("{"); - // Ark_Union_Dimension_Margin margin - result->append(".margin="); - WriteToString(result, &value->margin); - // Ark_Union_Dimension_BorderRadiuses borderRadius + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".borderRadius="); - WriteToString(result, &value->borderRadius); + // Ark_Dimension + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_EdgeWidths + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorLayoutStyle* value) { +inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeWidths* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53469,29 +54621,45 @@ inline void WriteToString(std::string* result, const Opt_RichEditorLayoutStyle* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorLayoutStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_EdgeWidths& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorSymbolSpanOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorSymbolSpanOptions* value) { +inline void WriteToString(std::string* result, const Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths* value) { result->append("{"); - // Ark_Number offset - result->append(".offset="); - WriteToString(result, &value->offset); - // Ark_RichEditorSymbolSpanStyle style + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".style="); - WriteToString(result, &value->style); + // Ark_Dimension + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_EdgeWidths + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_LocalizedEdgeWidths + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorSymbolSpanOptions* value) { +inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53504,61 +54672,39 @@ inline void WriteToString(std::string* result, const Opt_RichEditorSymbolSpanOpt result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorSymbolSpanOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_LeadingMarginPlaceholder& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_LeadingMarginPlaceholder: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorTextStyle* value) { +inline void WriteToString(std::string* result, const Ark_Union_Dimension_LeadingMarginPlaceholder* value) { result->append("{"); - // Ark_ResourceColor fontColor - result->append(".fontColor="); - WriteToString(result, &value->fontColor); - // Ark_Union_Length_Number fontSize - result->append(", "); - result->append(".fontSize="); - WriteToString(result, &value->fontSize); - // Ark_FontStyle fontStyle - result->append(", "); - result->append(".fontStyle="); - WriteToString(result, &value->fontStyle); - // Ark_Union_Number_FontWeight_String fontWeight - result->append(", "); - result->append(".fontWeight="); - WriteToString(result, &value->fontWeight); - // Ark_ResourceStr fontFamily - result->append(", "); - result->append(".fontFamily="); - WriteToString(result, &value->fontFamily); - // Ark_DecorationStyleInterface decoration - result->append(", "); - result->append(".decoration="); - WriteToString(result, &value->decoration); - // Ark_Union_ShadowOptions_Array_ShadowOptions textShadow - result->append(", "); - result->append(".textShadow="); - WriteToString(result, &value->textShadow); - // Ark_Union_Number_String letterSpacing - result->append(", "); - result->append(".letterSpacing="); - WriteToString(result, &value->letterSpacing); - // Ark_Union_Number_String_Resource lineHeight - result->append(", "); - result->append(".lineHeight="); - WriteToString(result, &value->lineHeight); - // Ark_String fontFeature + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".fontFeature="); - WriteToString(result, &value->fontFeature); + // Ark_Dimension + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_LeadingMarginPlaceholder + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorTextStyle* value) { +inline void WriteToString(std::string* result, const Opt_Union_Dimension_LeadingMarginPlaceholder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53571,33 +54717,39 @@ inline void WriteToString(std::string* result, const Opt_RichEditorTextStyle* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_LeadingMarginPlaceholder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateTextSpanStyleOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_Margin& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_Margin: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorUpdateTextSpanStyleOptions* value) { +inline void WriteToString(std::string* result, const Ark_Union_Dimension_Margin* value) { result->append("{"); - // Ark_Number start - result->append(".start="); - WriteToString(result, &value->start); - // Ark_Number end - result->append(", "); - result->append(".end="); - WriteToString(result, &value->end); - // Ark_RichEditorTextStyle textStyle + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".textStyle="); - WriteToString(result, &value->textStyle); + // Ark_Dimension + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Padding + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorUpdateTextSpanStyleOptions* value) { +inline void WriteToString(std::string* result, const Opt_Union_Dimension_Margin* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53610,26 +54762,44 @@ inline void WriteToString(std::string* result, const Opt_RichEditorUpdateTextSpa result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateTextSpanStyleOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_Margin& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RotationGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_OutlineRadiuses& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_OutlineRadiuses: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_RotationGestureEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_Union_Dimension_OutlineRadiuses* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Dimension + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_OutlineRadiuses + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RotationGestureEvent* value) { +inline void WriteToString(std::string* result, const Opt_Union_Dimension_OutlineRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -53637,37 +54807,39 @@ inline void WriteToString(std::string* result, const Opt_RotationGestureEvent* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RotationGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_OutlineRadiuses& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ScrollSnapOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeOutlineWidths_Dimension& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_EdgeOutlineWidths_Dimension: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_ScrollSnapOptions* value) { +inline void WriteToString(std::string* result, const Ark_Union_EdgeOutlineWidths_Dimension* value) { result->append("{"); - // Ark_ScrollSnapAlign snapAlign - result->append(".snapAlign="); - WriteToString(result, value->snapAlign); - // Ark_Union_Dimension_Array_Dimension snapPagination - result->append(", "); - result->append(".snapPagination="); - WriteToString(result, &value->snapPagination); - // Ark_Boolean enableSnapToStart - result->append(", "); - result->append(".enableSnapToStart="); - WriteToString(result, &value->enableSnapToStart); - // Ark_Boolean enableSnapToEnd + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".enableSnapToEnd="); - WriteToString(result, &value->enableSnapToEnd); + // Ark_EdgeOutlineWidths + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Dimension + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ScrollSnapOptions* value) { +inline void WriteToString(std::string* result, const Opt_Union_EdgeOutlineWidths_Dimension* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53680,45 +54852,45 @@ inline void WriteToString(std::string* result, const Opt_ScrollSnapOptions* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollSnapOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeOutlineWidths_Dimension& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SectionOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_SectionOptions* value) { +inline void WriteToString(std::string* result, const Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths* value) { result->append("{"); - // Ark_Number itemsCount - result->append(".itemsCount="); - WriteToString(result, &value->itemsCount); - // Ark_Number crossCount - result->append(", "); - result->append(".crossCount="); - WriteToString(result, &value->crossCount); - // GetItemMainSizeByIndex onGetItemMainSizeByIndex - result->append(", "); - result->append(".onGetItemMainSizeByIndex="); - WriteToString(result, &value->onGetItemMainSizeByIndex); - // Ark_Union_String_Number_Resource columnsGap - result->append(", "); - result->append(".columnsGap="); - WriteToString(result, &value->columnsGap); - // Ark_Union_String_Number_Resource rowsGap - result->append(", "); - result->append(".rowsGap="); - WriteToString(result, &value->rowsGap); - // Ark_Union_Margin_Dimension margin + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".margin="); - WriteToString(result, &value->margin); + // Ark_EdgeWidths + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Length + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_LocalizedEdgeWidths + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SectionOptions* value) { +inline void WriteToString(std::string* result, const Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53731,37 +54903,45 @@ inline void WriteToString(std::string* result, const Opt_SectionOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SectionOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SwipeActionOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_SwipeActionOptions* value) { +inline void WriteToString(std::string* result, const Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths* value) { result->append("{"); - // Ark_Union_CustomBuilder_SwipeActionItem start - result->append(".start="); - WriteToString(result, &value->start); - // Ark_Union_CustomBuilder_SwipeActionItem end - result->append(", "); - result->append(".end="); - WriteToString(result, &value->end); - // Ark_SwipeEdgeEffect edgeEffect - result->append(", "); - result->append(".edgeEffect="); - WriteToString(result, &value->edgeEffect); - // Callback_Number_Void onOffsetChange + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".onOffsetChange="); - WriteToString(result, &value->onOffsetChange); + // Ark_EdgeWidths + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_LengthMetrics + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + // Ark_LocalizedEdgeWidths + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SwipeActionOptions* value) { +inline void WriteToString(std::string* result, const Opt_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53774,26 +54954,44 @@ inline void WriteToString(std::string* result, const Opt_SwipeActionOptions* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwipeActionOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SwipeGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_IconOptions_SymbolGlyphModifier& value) { - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_SwipeGestureEvent value) { - WriteToString(result, static_cast(value)); + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_IconOptions_SymbolGlyphModifier: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Opt_SwipeGestureEvent* value) { - result->append("{.tag="); +inline void WriteToString(std::string* result, const Ark_Union_IconOptions_SymbolGlyphModifier* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_IconOptions + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_SymbolGlyphModifier + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_IconOptions_SymbolGlyphModifier* value) { + result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -53801,26 +54999,44 @@ inline void WriteToString(std::string* result, const Opt_SwipeGestureEvent* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SwipeGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_IconOptions_SymbolGlyphModifier& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TapGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Length_BorderRadiuses& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Length_BorderRadiuses: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_TapGestureEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_Union_Length_BorderRadiuses* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Length + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_BorderRadiuses + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TapGestureEvent* value) { +inline void WriteToString(std::string* result, const Opt_Union_Length_BorderRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -53828,101 +55044,45 @@ inline void WriteToString(std::string* result, const Opt_TapGestureEvent* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TapGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_BorderRadiuses& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_text_TextStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_text_TextStyle* value) { +inline void WriteToString(std::string* result, const Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses* value) { result->append("{"); - // Ark_Decoration decoration - result->append(".decoration="); - WriteToString(result, &value->decoration); - // Ark_common2D_Color color - result->append(", "); - result->append(".color="); - WriteToString(result, &value->color); - // Ark_FontWeight fontWeight - result->append(", "); - result->append(".fontWeight="); - WriteToString(result, &value->fontWeight); - // Ark_FontStyle fontStyle - result->append(", "); - result->append(".fontStyle="); - WriteToString(result, &value->fontStyle); - // Ark_TextBaseline baseline - result->append(", "); - result->append(".baseline="); - WriteToString(result, &value->baseline); - // Array_String fontFamilies - result->append(", "); - result->append(".fontFamilies="); - WriteToString(result, &value->fontFamilies); - // Ark_Number fontSize - result->append(", "); - result->append(".fontSize="); - WriteToString(result, &value->fontSize); - // Ark_Number letterSpacing - result->append(", "); - result->append(".letterSpacing="); - WriteToString(result, &value->letterSpacing); - // Ark_Number wordSpacing - result->append(", "); - result->append(".wordSpacing="); - WriteToString(result, &value->wordSpacing); - // Ark_Number heightScale - result->append(", "); - result->append(".heightScale="); - WriteToString(result, &value->heightScale); - // Ark_Boolean halfLeading - result->append(", "); - result->append(".halfLeading="); - WriteToString(result, &value->halfLeading); - // Ark_Boolean heightOnly - result->append(", "); - result->append(".heightOnly="); - WriteToString(result, &value->heightOnly); - // Ark_String ellipsis - result->append(", "); - result->append(".ellipsis="); - WriteToString(result, &value->ellipsis); - // Ark_EllipsisMode ellipsisMode - result->append(", "); - result->append(".ellipsisMode="); - WriteToString(result, &value->ellipsisMode); - // Ark_String locale - result->append(", "); - result->append(".locale="); - WriteToString(result, &value->locale); - // Ark_Number baselineShift - result->append(", "); - result->append(".baselineShift="); - WriteToString(result, &value->baselineShift); - // Array_FontFeature fontFeatures - result->append(", "); - result->append(".fontFeatures="); - WriteToString(result, &value->fontFeatures); - // Array_TextShadow textShadows - result->append(", "); - result->append(".textShadows="); - WriteToString(result, &value->textShadows); - // Ark_RectStyle backgroundRect - result->append(", "); - result->append(".backgroundRect="); - WriteToString(result, &value->backgroundRect); - // Array_FontVariation fontVariations + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".fontVariations="); - WriteToString(result, &value->fontVariations); + // Ark_Length + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_BorderRadiuses + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_LocalizedBorderRadiuses + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_text_TextStyle* value) { +inline void WriteToString(std::string* result, const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53935,29 +55095,45 @@ inline void WriteToString(std::string* result, const Opt_text_TextStyle* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_text_TextStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextBackgroundStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_TextBackgroundStyle* value) { +inline void WriteToString(std::string* result, const Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths* value) { result->append("{"); - // Ark_ResourceColor color - result->append(".color="); - WriteToString(result, &value->color); - // Ark_Union_Dimension_BorderRadiuses radius + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".radius="); - WriteToString(result, &value->radius); + // Ark_Length + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_EdgeWidths + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_LocalizedEdgeWidths + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TextBackgroundStyle* value) { +inline void WriteToString(std::string* result, const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -53970,37 +55146,39 @@ inline void WriteToString(std::string* result, const Opt_TextBackgroundStyle* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextBackgroundStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextDataDetectorConfig& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Length_GridRowSizeOption& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Length_GridRowSizeOption: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_TextDataDetectorConfig* value) { +inline void WriteToString(std::string* result, const Ark_Union_Length_GridRowSizeOption* value) { result->append("{"); - // Array_TextDataDetectorType types - result->append(".types="); - WriteToString(result, &value->types); - // Callback_String_Void onDetectResultUpdate - result->append(", "); - result->append(".onDetectResultUpdate="); - WriteToString(result, &value->onDetectResultUpdate); - // Ark_ResourceColor color - result->append(", "); - result->append(".color="); - WriteToString(result, &value->color); - // Ark_DecorationStyleInterface decoration + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".decoration="); - WriteToString(result, &value->decoration); + // Ark_Length + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_GridRowSizeOption + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TextDataDetectorConfig* value) { +inline void WriteToString(std::string* result, const Opt_Union_Length_GridRowSizeOption* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54013,26 +55191,44 @@ inline void WriteToString(std::string* result, const Opt_TextDataDetectorConfig* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextDataDetectorConfig& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_GridRowSizeOption& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TouchEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_BorderRadiuses& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_LengthMetrics_BorderRadiuses: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_TouchEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_Union_LengthMetrics_BorderRadiuses* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_LengthMetrics + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_BorderRadiuses + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TouchEvent* value) { +inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_BorderRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -54040,37 +55236,37 @@ inline void WriteToString(std::string* result, const Opt_TouchEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TouchEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_BorderRadiuses& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Type_AlertDialog_show_value& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Type_AlertDialog_show_value: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Type_AlertDialog_show_value* value) { +inline void WriteToString(std::string* result, const Ark_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_AlertDialogParamWithConfirm + // Ark_LengthMetrics if (value->selector == 0) { result->append(".value0="); - WriteToString(result, &value->value0); + WriteToString(result, value->value0); } - // Ark_AlertDialogParamWithButtons + // Ark_BorderRadiuses if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } - // Ark_AlertDialogParamWithOptions + // Ark_LocalizedBorderRadiuses if (value->selector == 2) { result->append(".value2="); WriteToString(result, &value->value2); @@ -54078,7 +55274,7 @@ inline void WriteToString(std::string* result, const Ark_Type_AlertDialog_show_v result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Type_AlertDialog_show_value* value) { +inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54091,33 +55287,39 @@ inline void WriteToString(std::string* result, const Opt_Type_AlertDialog_show_v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_AlertDialog_show_value& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Type_SheetOptions_detents& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_LeadingMarginPlaceholder& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_LengthMetrics_LeadingMarginPlaceholder: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_Type_SheetOptions_detents* value) { +inline void WriteToString(std::string* result, const Ark_Union_LengthMetrics_LeadingMarginPlaceholder* value) { result->append("{"); - // Ark_Union_SheetSize_Length value0 - result->append(".value0="); - WriteToString(result, &value->value0); - // Ark_Union_SheetSize_Length value1 - result->append(", "); - result->append(".value1="); - WriteToString(result, &value->value1); - // Ark_Union_SheetSize_Length value2 + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".value2="); - WriteToString(result, &value->value2); + // Ark_LengthMetrics + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_LeadingMarginPlaceholder + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Type_SheetOptions_detents* value) { +inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_LeadingMarginPlaceholder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54130,31 +55332,31 @@ inline void WriteToString(std::string* result, const Opt_Type_SheetOptions_deten result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_SheetOptions_detents& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_LeadingMarginPlaceholder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_Margin& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_LengthMetrics_Margin: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions* value) { +inline void WriteToString(std::string* result, const Ark_Union_LengthMetrics_Margin* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_CancelButtonOptions + // Ark_LengthMetrics if (value->selector == 0) { result->append(".value0="); - WriteToString(result, &value->value0); + WriteToString(result, value->value0); } - // Ark_CancelButtonSymbolOptions + // Ark_Padding if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -54162,7 +55364,7 @@ inline void WriteToString(std::string* result, const Ark_Union_CancelButtonOptio result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions* value) { +inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Margin* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54175,31 +55377,31 @@ inline void WriteToString(std::string* result, const Opt_Union_CancelButtonOptio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_Margin& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_LeadingMarginPlaceholder& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_Padding& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Dimension_LeadingMarginPlaceholder: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_LengthMetrics_Padding: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Dimension_LeadingMarginPlaceholder* value) { +inline void WriteToString(std::string* result, const Ark_Union_LengthMetrics_Padding* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_LengthMetrics if (value->selector == 0) { result->append(".value0="); - WriteToString(result, &value->value0); + WriteToString(result, value->value0); } - // Ark_LeadingMarginPlaceholder + // Ark_Padding if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -54207,7 +55409,7 @@ inline void WriteToString(std::string* result, const Ark_Union_Dimension_Leading result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Dimension_LeadingMarginPlaceholder* value) { +inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Padding* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54220,31 +55422,31 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_Leading result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_LeadingMarginPlaceholder& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_Padding& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_DotIndicator_DigitIndicator& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Margin_Dimension& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_DotIndicator_DigitIndicator: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Margin_Dimension: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_DotIndicator_DigitIndicator* value) { +inline void WriteToString(std::string* result, const Ark_Union_Margin_Dimension* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_DotIndicator + // Ark_Padding if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_DigitIndicator + // Ark_Dimension if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -54252,7 +55454,7 @@ inline void WriteToString(std::string* result, const Ark_Union_DotIndicator_Digi result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_DigitIndicator* value) { +inline void WriteToString(std::string* result, const Opt_Union_Margin_Dimension* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54265,45 +55467,45 @@ inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_Digi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_DotIndicator_DigitIndicator& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Margin_Dimension& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_DotIndicator_DigitIndicator_Boolean& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Margin_Length_LocalizedMargin& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_DotIndicator_DigitIndicator_Boolean: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Margin_Length_LocalizedMargin: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_DotIndicator_DigitIndicator_Boolean* value) { +inline void WriteToString(std::string* result, const Ark_Union_Margin_Length_LocalizedMargin* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_DotIndicator + // Ark_Padding if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_DigitIndicator + // Ark_Length if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } - // Ark_Boolean + // Ark_LocalizedPadding if (value->selector == 2) { result->append(".value2="); - WriteToString(result, value->value2); + WriteToString(result, &value->value2); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_DigitIndicator_Boolean* value) { +inline void WriteToString(std::string* result, const Opt_Union_Margin_Length_LocalizedMargin* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54316,31 +55518,31 @@ inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_Digi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_DotIndicator_DigitIndicator_Boolean& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Margin_Length_LocalizedMargin& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Length_GutterOption& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Number_LeadingMarginPlaceholder& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Length_GutterOption: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Number_LeadingMarginPlaceholder: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Length_GutterOption* value) { +inline void WriteToString(std::string* result, const Ark_Union_Number_LeadingMarginPlaceholder* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Union_String_Number_Resource + // Ark_Number if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_GutterOption + // Ark_LeadingMarginPlaceholder if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -54348,7 +55550,7 @@ inline void WriteToString(std::string* result, const Ark_Union_Length_GutterOpti result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Length_GutterOption* value) { +inline void WriteToString(std::string* result, const Opt_Union_Number_LeadingMarginPlaceholder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54361,31 +55563,31 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_GutterOpti result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Length_GutterOption& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_LeadingMarginPlaceholder& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_LeadingMarginPlaceholder& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_OutlineRadiuses_Dimension& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_LengthMetrics_LeadingMarginPlaceholder: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_OutlineRadiuses_Dimension: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_LengthMetrics_LeadingMarginPlaceholder* value) { +inline void WriteToString(std::string* result, const Ark_Union_OutlineRadiuses_Dimension* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_LengthMetrics + // Ark_OutlineRadiuses if (value->selector == 0) { result->append(".value0="); - WriteToString(result, value->value0); + WriteToString(result, &value->value0); } - // Ark_LeadingMarginPlaceholder + // Ark_Dimension if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); @@ -54393,7 +55595,7 @@ inline void WriteToString(std::string* result, const Ark_Union_LengthMetrics_Lea result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_LeadingMarginPlaceholder* value) { +inline void WriteToString(std::string* result, const Opt_Union_OutlineRadiuses_Dimension* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54406,51 +55608,39 @@ inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Lea result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_LeadingMarginPlaceholder& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_OutlineRadiuses_Dimension& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_Dimension& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - case 3: return runtimeType(value.value3); - default: INTEROP_FATAL("Bad selector in Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions: %d", value.selector); + default: INTEROP_FATAL("Bad selector in Ark_Union_Padding_Dimension: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions* value) { +inline void WriteToString(std::string* result, const Ark_Union_Padding_Dimension* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_LinearStyleOptions + // Ark_Padding if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_RingStyleOptions + // Ark_Dimension if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } - // Ark_CapsuleStyleOptions - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } - // Ark_ProgressStyleOptions - if (value->selector == 3) { - result->append(".value3="); - WriteToString(result, &value->value3); - } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions* value) { +inline void WriteToString(std::string* result, const Opt_Union_Padding_Dimension* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54463,39 +55653,45 @@ inline void WriteToString(std::string* result, const Opt_Union_LinearStyleOption result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Dimension& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Number_LeadingMarginPlaceholder& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_Dimension_LocalizedPadding& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_Number_LeadingMarginPlaceholder: %d", value.selector); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_Padding_Dimension_LocalizedPadding: %d", value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Number_LeadingMarginPlaceholder* value) { +inline void WriteToString(std::string* result, const Ark_Union_Padding_Dimension_LocalizedPadding* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); result->append(", "); - // Ark_Number + // Ark_Padding if (value->selector == 0) { result->append(".value0="); WriteToString(result, &value->value0); } - // Ark_LeadingMarginPlaceholder + // Ark_Dimension if (value->selector == 1) { result->append(".value1="); WriteToString(result, &value->value1); } + // Ark_LocalizedPadding + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Number_LeadingMarginPlaceholder* value) { +inline void WriteToString(std::string* result, const Opt_Union_Padding_Dimension_LocalizedPadding* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54508,26 +55704,50 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_LeadingMar result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_LeadingMarginPlaceholder& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Dimension_LocalizedPadding& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_AccessibilityHoverEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_Length_LocalizedPadding& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_Padding_Length_LocalizedPadding: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_AccessibilityHoverEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_Union_Padding_Length_LocalizedPadding* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Padding + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Length + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_LocalizedPadding + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_AccessibilityHoverEvent* value) { +inline void WriteToString(std::string* result, const Opt_Union_Padding_Length_LocalizedPadding* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -54535,53 +55755,95 @@ inline void WriteToString(std::string* result, const Opt_AccessibilityHoverEvent result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_AccessibilityHoverEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Length_LocalizedPadding& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BackgroundColorStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_LengthMetrics_LocalizedPadding& value) { - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_BackgroundColorStyle value) { - WriteToString(result, static_cast(value)); + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_Padding_LengthMetrics_LocalizedPadding: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Opt_BackgroundColorStyle* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; +inline void WriteToString(std::string* result, const Ark_Union_Padding_LengthMetrics_LocalizedPadding* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Padding + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_LengthMetrics + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + // Ark_LocalizedPadding + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_Padding_LengthMetrics_LocalizedPadding* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); } result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BackgroundColorStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_LengthMetrics_LocalizedPadding& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BaseEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Position_Alignment& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Position_Alignment: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_BaseEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_Union_Position_Alignment* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Position + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Alignment + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BaseEvent* value) { +inline void WriteToString(std::string* result, const Opt_Union_Position_Alignment* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -54589,26 +55851,50 @@ inline void WriteToString(std::string* result, const Opt_BaseEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BaseEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Position_Alignment& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BaseGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Position_Edges_LocalizedEdges& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_Position_Edges_LocalizedEdges: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_BaseGestureEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_Union_Position_Edges_LocalizedEdges* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Position + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_Edges + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_LocalizedEdges + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BaseGestureEvent* value) { +inline void WriteToString(std::string* result, const Opt_Union_Position_Edges_LocalizedEdges* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -54616,57 +55902,39 @@ inline void WriteToString(std::string* result, const Opt_BaseGestureEvent* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BaseGestureEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Position_Edges_LocalizedEdges& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_BottomTabBarStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Position_LocalizedPosition& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Position_LocalizedPosition: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_BottomTabBarStyle* value) { +inline void WriteToString(std::string* result, const Ark_Union_Position_LocalizedPosition* value) { result->append("{"); - // Ark_Union_ResourceStr_TabBarSymbol _icon - result->append("._icon="); - WriteToString(result, &value->_icon); - // Ark_ResourceStr _text - result->append(", "); - result->append("._text="); - WriteToString(result, &value->_text); - // Ark_LabelStyle _labelStyle - result->append(", "); - result->append("._labelStyle="); - WriteToString(result, &value->_labelStyle); - // Ark_Union_Padding_Dimension_LocalizedPadding _padding - result->append(", "); - result->append("._padding="); - WriteToString(result, &value->_padding); - // Ark_LayoutMode _layoutMode - result->append(", "); - result->append("._layoutMode="); - WriteToString(result, &value->_layoutMode); - // Ark_VerticalAlign _verticalAlign - result->append(", "); - result->append("._verticalAlign="); - WriteToString(result, &value->_verticalAlign); - // Ark_Boolean _symmetricExtensible - result->append(", "); - result->append("._symmetricExtensible="); - WriteToString(result, &value->_symmetricExtensible); - // Ark_String _id - result->append(", "); - result->append("._id="); - WriteToString(result, &value->_id); - // Ark_TabBarIconStyle _iconStyle + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append("._iconStyle="); - WriteToString(result, &value->_iconStyle); + // Ark_Position + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_LocalizedPosition + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_BottomTabBarStyle* value) { +inline void WriteToString(std::string* result, const Opt_Union_Position_LocalizedPosition* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54679,85 +55947,39 @@ inline void WriteToString(std::string* result, const Opt_BottomTabBarStyle* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_BottomTabBarStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Position_LocalizedPosition& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_CalendarDialogOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_SizeOptions_ImageSize& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_SizeOptions_ImageSize: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_CalendarDialogOptions* value) { +inline void WriteToString(std::string* result, const Ark_Union_SizeOptions_ImageSize* value) { result->append("{"); - // Ark_Union_Number_Resource hintRadius - result->append(".hintRadius="); - WriteToString(result, &value->hintRadius); - // Ark_Date selected - result->append(", "); - result->append(".selected="); - WriteToString(result, &value->selected); - // Callback_Date_Void onAccept - result->append(", "); - result->append(".onAccept="); - WriteToString(result, &value->onAccept); - // VoidCallback onCancel - result->append(", "); - result->append(".onCancel="); - WriteToString(result, &value->onCancel); - // Callback_Date_Void onChange - result->append(", "); - result->append(".onChange="); - WriteToString(result, &value->onChange); - // Ark_ResourceColor backgroundColor - result->append(", "); - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Ark_BlurStyle backgroundBlurStyle - result->append(", "); - result->append(".backgroundBlurStyle="); - WriteToString(result, &value->backgroundBlurStyle); - // Ark_PickerDialogButtonStyle acceptButtonStyle - result->append(", "); - result->append(".acceptButtonStyle="); - WriteToString(result, &value->acceptButtonStyle); - // Ark_PickerDialogButtonStyle cancelButtonStyle - result->append(", "); - result->append(".cancelButtonStyle="); - WriteToString(result, &value->cancelButtonStyle); - // VoidCallback onDidAppear - result->append(", "); - result->append(".onDidAppear="); - WriteToString(result, &value->onDidAppear); - // VoidCallback onDidDisappear - result->append(", "); - result->append(".onDidDisappear="); - WriteToString(result, &value->onDidDisappear); - // VoidCallback onWillAppear - result->append(", "); - result->append(".onWillAppear="); - WriteToString(result, &value->onWillAppear); - // VoidCallback onWillDisappear - result->append(", "); - result->append(".onWillDisappear="); - WriteToString(result, &value->onWillDisappear); - // Ark_Union_ShadowOptions_ShadowStyle shadow - result->append(", "); - result->append(".shadow="); - WriteToString(result, &value->shadow); - // Ark_Boolean enableHoverMode - result->append(", "); - result->append(".enableHoverMode="); - WriteToString(result, &value->enableHoverMode); - // Ark_HoverModeAreaType hoverModeArea + result->append(".selector="); + result->append(std::to_string(value->selector)); result->append(", "); - result->append(".hoverModeArea="); - WriteToString(result, &value->hoverModeArea); + // Ark_SizeOptions + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_ImageSize + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_CalendarDialogOptions* value) { +inline void WriteToString(std::string* result, const Opt_Union_SizeOptions_ImageSize* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54770,26 +55992,44 @@ inline void WriteToString(std::string* result, const Opt_CalendarDialogOptions* result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_CalendarDialogOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_SizeOptions_ImageSize& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ClickEvent& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Union_Padding_Dimension_LocalizedPadding& value) { - return INTEROP_RUNTIME_OBJECT; + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Union_Padding_Dimension_LocalizedPadding: %d", value.selector); + } } template <> -inline void WriteToString(std::string* result, const Ark_ClickEvent value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_Union_Union_Padding_Dimension_LocalizedPadding* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Union_Padding_Dimension + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_LocalizedPadding + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ClickEvent* value) { +inline void WriteToString(std::string* result, const Opt_Union_Union_Padding_Dimension_LocalizedPadding* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -54797,101 +56037,65 @@ inline void WriteToString(std::string* result, const Opt_ClickEvent* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ClickEvent& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Union_Padding_Dimension_LocalizedPadding& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_DatePickerDialogOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_ActionSheetOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_DatePickerDialogOptions* value) { +inline void WriteToString(std::string* result, const Ark_ActionSheetOptions* value) { result->append("{"); - // Ark_Date start - result->append(".start="); - WriteToString(result, &value->start); - // Ark_Date end - result->append(", "); - result->append(".end="); - WriteToString(result, &value->end); - // Ark_Date selected - result->append(", "); - result->append(".selected="); - WriteToString(result, &value->selected); - // Ark_Boolean lunar - result->append(", "); - result->append(".lunar="); - WriteToString(result, &value->lunar); - // Ark_Boolean lunarSwitch - result->append(", "); - result->append(".lunarSwitch="); - WriteToString(result, &value->lunarSwitch); - // Ark_LunarSwitchStyle lunarSwitchStyle - result->append(", "); - result->append(".lunarSwitchStyle="); - WriteToString(result, &value->lunarSwitchStyle); - // Ark_Boolean showTime - result->append(", "); - result->append(".showTime="); - WriteToString(result, &value->showTime); - // Ark_Boolean useMilitaryTime - result->append(", "); - result->append(".useMilitaryTime="); - WriteToString(result, &value->useMilitaryTime); - // Ark_PickerTextStyle disappearTextStyle + // Ark_Union_String_Resource title + result->append(".title="); + WriteToString(result, &value->title); + // Ark_ResourceStr subtitle result->append(", "); - result->append(".disappearTextStyle="); - WriteToString(result, &value->disappearTextStyle); - // Ark_PickerTextStyle textStyle + result->append(".subtitle="); + WriteToString(result, &value->subtitle); + // Ark_Union_String_Resource message result->append(", "); - result->append(".textStyle="); - WriteToString(result, &value->textStyle); - // Ark_PickerDialogButtonStyle acceptButtonStyle + result->append(".message="); + WriteToString(result, &value->message); + // Ark_ActionSheetButtonOptions confirm result->append(", "); - result->append(".acceptButtonStyle="); - WriteToString(result, &value->acceptButtonStyle); - // Ark_PickerDialogButtonStyle cancelButtonStyle + result->append(".confirm="); + WriteToString(result, &value->confirm); + // VoidCallback cancel result->append(", "); - result->append(".cancelButtonStyle="); - WriteToString(result, &value->cancelButtonStyle); - // Ark_PickerTextStyle selectedTextStyle + result->append(".cancel="); + WriteToString(result, &value->cancel); + // Array_SheetInfo sheets result->append(", "); - result->append(".selectedTextStyle="); - WriteToString(result, &value->selectedTextStyle); - // Ark_Rectangle maskRect + result->append(".sheets="); + WriteToString(result, &value->sheets); + // Ark_Boolean autoCancel result->append(", "); - result->append(".maskRect="); - WriteToString(result, &value->maskRect); + result->append(".autoCancel="); + WriteToString(result, &value->autoCancel); // Ark_DialogAlignment alignment result->append(", "); result->append(".alignment="); WriteToString(result, &value->alignment); - // Ark_Offset offset + // Ark_ActionSheetOffset offset result->append(", "); result->append(".offset="); WriteToString(result, &value->offset); - // Callback_DatePickerResult_Void onAccept - result->append(", "); - result->append(".onAccept="); - WriteToString(result, &value->onAccept); - // VoidCallback onCancel - result->append(", "); - result->append(".onCancel="); - WriteToString(result, &value->onCancel); - // Callback_DatePickerResult_Void onChange + // Ark_Rectangle maskRect result->append(", "); - result->append(".onChange="); - WriteToString(result, &value->onChange); - // Callback_Date_Void onDateAccept + result->append(".maskRect="); + WriteToString(result, &value->maskRect); + // Ark_Boolean showInSubWindow result->append(", "); - result->append(".onDateAccept="); - WriteToString(result, &value->onDateAccept); - // Callback_Date_Void onDateChange + result->append(".showInSubWindow="); + WriteToString(result, &value->showInSubWindow); + // Ark_Boolean isModal result->append(", "); - result->append(".onDateChange="); - WriteToString(result, &value->onDateChange); + result->append(".isModal="); + WriteToString(result, &value->isModal); // Ark_ResourceColor backgroundColor result->append(", "); result->append(".backgroundColor="); @@ -54900,30 +56104,50 @@ inline void WriteToString(std::string* result, const Ark_DatePickerDialogOptions result->append(", "); result->append(".backgroundBlurStyle="); WriteToString(result, &value->backgroundBlurStyle); - // VoidCallback onDidAppear + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions result->append(", "); - result->append(".onDidAppear="); - WriteToString(result, &value->onDidAppear); - // VoidCallback onDidDisappear + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect result->append(", "); - result->append(".onDidDisappear="); - WriteToString(result, &value->onDidDisappear); - // VoidCallback onWillAppear + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // Callback_DismissDialogAction_Void onWillDismiss result->append(", "); - result->append(".onWillAppear="); - WriteToString(result, &value->onWillAppear); - // VoidCallback onWillDisappear + result->append(".onWillDismiss="); + WriteToString(result, &value->onWillDismiss); + // Ark_TransitionEffect transition result->append(", "); - result->append(".onWillDisappear="); - WriteToString(result, &value->onWillDisappear); + result->append(".transition="); + WriteToString(result, &value->transition); + // Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius + result->append(", "); + result->append(".cornerRadius="); + WriteToString(result, &value->cornerRadius); + // Ark_Dimension width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Dimension height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth + result->append(", "); + result->append(".borderWidth="); + WriteToString(result, &value->borderWidth); + // Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor + result->append(", "); + result->append(".borderColor="); + WriteToString(result, &value->borderColor); + // Ark_Union_BorderStyle_EdgeStyles borderStyle + result->append(", "); + result->append(".borderStyle="); + WriteToString(result, &value->borderStyle); // Ark_Union_ShadowOptions_ShadowStyle shadow result->append(", "); result->append(".shadow="); WriteToString(result, &value->shadow); - // Ark_DateTimeOptions dateTimeOptions - result->append(", "); - result->append(".dateTimeOptions="); - WriteToString(result, &value->dateTimeOptions); // Ark_Boolean enableHoverMode result->append(", "); result->append(".enableHoverMode="); @@ -54932,10 +56156,42 @@ inline void WriteToString(std::string* result, const Ark_DatePickerDialogOptions result->append(", "); result->append(".hoverModeArea="); WriteToString(result, &value->hoverModeArea); + // Callback_Void onDidAppear + result->append(", "); + result->append(".onDidAppear="); + WriteToString(result, &value->onDidAppear); + // Callback_Void onDidDisappear + result->append(", "); + result->append(".onDidDisappear="); + WriteToString(result, &value->onDidDisappear); + // Callback_Void onWillAppear + result->append(", "); + result->append(".onWillAppear="); + WriteToString(result, &value->onWillAppear); + // Callback_Void onWillDisappear + result->append(", "); + result->append(".onWillDisappear="); + WriteToString(result, &value->onWillDisappear); + // Ark_LevelMode levelMode + result->append(", "); + result->append(".levelMode="); + WriteToString(result, &value->levelMode); + // Ark_Number levelUniqueId + result->append(", "); + result->append(".levelUniqueId="); + WriteToString(result, &value->levelUniqueId); + // Ark_ImmersiveMode immersiveMode + result->append(", "); + result->append(".immersiveMode="); + WriteToString(result, &value->immersiveMode); + // Ark_LevelOrder levelOrder + result->append(", "); + result->append(".levelOrder="); + WriteToString(result, &value->levelOrder); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_DatePickerDialogOptions* value) { +inline void WriteToString(std::string* result, const Opt_ActionSheetOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -54948,69 +56204,174 @@ inline void WriteToString(std::string* result, const Opt_DatePickerDialogOptions result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_DatePickerDialogOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_ActionSheetOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_GridRowOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_AlertDialogParamWithButtons& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_GridRowOptions* value) { +inline void WriteToString(std::string* result, const Ark_AlertDialogParamWithButtons* value) { result->append("{"); - // Ark_Union_Length_GutterOption gutter - result->append(".gutter="); - WriteToString(result, &value->gutter); - // Ark_Union_Number_GridRowColumnOption columns + // Ark_ResourceStr title + result->append(".title="); + WriteToString(result, &value->title); + // Ark_ResourceStr subtitle result->append(", "); - result->append(".columns="); - WriteToString(result, &value->columns); - // Ark_BreakPoints breakpoints + result->append(".subtitle="); + WriteToString(result, &value->subtitle); + // Ark_ResourceStr message result->append(", "); - result->append(".breakpoints="); - WriteToString(result, &value->breakpoints); - // Ark_GridRowDirection direction + result->append(".message="); + WriteToString(result, &value->message); + // Ark_Boolean autoCancel result->append(", "); - result->append(".direction="); - WriteToString(result, &value->direction); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_GridRowOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_GridRowOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageAttachment& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_ImageAttachment value) { - WriteToString(result, static_cast(value)); -} -template <> -inline void WriteToString(std::string* result, const Opt_ImageAttachment* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(".autoCancel="); + WriteToString(result, &value->autoCancel); + // VoidCallback cancel + result->append(", "); + result->append(".cancel="); + WriteToString(result, &value->cancel); + // Ark_DialogAlignment alignment + result->append(", "); + result->append(".alignment="); + WriteToString(result, &value->alignment); + // Ark_Offset offset + result->append(", "); + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_Number gridCount + result->append(", "); + result->append(".gridCount="); + WriteToString(result, &value->gridCount); + // Ark_Rectangle maskRect + result->append(", "); + result->append(".maskRect="); + WriteToString(result, &value->maskRect); + // Ark_Boolean showInSubWindow + result->append(", "); + result->append(".showInSubWindow="); + WriteToString(result, &value->showInSubWindow); + // Ark_Boolean isModal + result->append(", "); + result->append(".isModal="); + WriteToString(result, &value->isModal); + // Ark_ResourceColor backgroundColor + result->append(", "); + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_BlurStyle backgroundBlurStyle + result->append(", "); + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions + result->append(", "); + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect + result->append(", "); + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // Callback_DismissDialogAction_Void onWillDismiss + result->append(", "); + result->append(".onWillDismiss="); + WriteToString(result, &value->onWillDismiss); + // Ark_TransitionEffect transition + result->append(", "); + result->append(".transition="); + WriteToString(result, &value->transition); + // Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius + result->append(", "); + result->append(".cornerRadius="); + WriteToString(result, &value->cornerRadius); + // Ark_Dimension width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Dimension height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth + result->append(", "); + result->append(".borderWidth="); + WriteToString(result, &value->borderWidth); + // Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor + result->append(", "); + result->append(".borderColor="); + WriteToString(result, &value->borderColor); + // Ark_Union_BorderStyle_EdgeStyles borderStyle + result->append(", "); + result->append(".borderStyle="); + WriteToString(result, &value->borderStyle); + // Ark_Union_ShadowOptions_ShadowStyle shadow + result->append(", "); + result->append(".shadow="); + WriteToString(result, &value->shadow); + // Ark_TextStyle_alert_dialog textStyle + result->append(", "); + result->append(".textStyle="); + WriteToString(result, &value->textStyle); + // Ark_Boolean enableHoverMode + result->append(", "); + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_HoverModeAreaType hoverModeArea + result->append(", "); + result->append(".hoverModeArea="); + WriteToString(result, &value->hoverModeArea); + // Callback_Void onDidAppear + result->append(", "); + result->append(".onDidAppear="); + WriteToString(result, &value->onDidAppear); + // Callback_Void onDidDisappear + result->append(", "); + result->append(".onDidDisappear="); + WriteToString(result, &value->onDidDisappear); + // Callback_Void onWillAppear + result->append(", "); + result->append(".onWillAppear="); + WriteToString(result, &value->onWillAppear); + // Callback_Void onWillDisappear + result->append(", "); + result->append(".onWillDisappear="); + WriteToString(result, &value->onWillDisappear); + // Ark_LevelMode levelMode + result->append(", "); + result->append(".levelMode="); + WriteToString(result, &value->levelMode); + // Ark_Number levelUniqueId + result->append(", "); + result->append(".levelUniqueId="); + WriteToString(result, &value->levelUniqueId); + // Ark_ImmersiveMode immersiveMode + result->append(", "); + result->append(".immersiveMode="); + WriteToString(result, &value->immersiveMode); + // Ark_LevelOrder levelOrder + result->append(", "); + result->append(".levelOrder="); + WriteToString(result, &value->levelOrder); + // Ark_AlertDialogButtonBaseOptions primaryButton + result->append(", "); + result->append(".primaryButton="); + WriteToString(result, &value->primaryButton); + // Ark_AlertDialogButtonBaseOptions secondaryButton + result->append(", "); + result->append(".secondaryButton="); + WriteToString(result, &value->secondaryButton); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithButtons* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -55018,41 +56379,165 @@ inline void WriteToString(std::string* result, const Opt_ImageAttachment* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageAttachment& value) +inline Ark_RuntimeType runtimeType(const Opt_AlertDialogParamWithButtons& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageAttachmentInterface& value) +inline Ark_RuntimeType runtimeType(const Ark_AlertDialogParamWithConfirm& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ImageAttachmentInterface* value) { +inline void WriteToString(std::string* result, const Ark_AlertDialogParamWithConfirm* value) { result->append("{"); - // Ark_PixelMap value - result->append(".value="); - WriteToString(result, value->value); - // Ark_SizeOptions size + // Ark_ResourceStr title + result->append(".title="); + WriteToString(result, &value->title); + // Ark_ResourceStr subtitle result->append(", "); - result->append(".size="); - WriteToString(result, &value->size); - // Ark_ImageSpanAlignment verticalAlign + result->append(".subtitle="); + WriteToString(result, &value->subtitle); + // Ark_ResourceStr message result->append(", "); - result->append(".verticalAlign="); - WriteToString(result, &value->verticalAlign); - // Ark_ImageFit objectFit + result->append(".message="); + WriteToString(result, &value->message); + // Ark_Boolean autoCancel result->append(", "); - result->append(".objectFit="); - WriteToString(result, &value->objectFit); - // Ark_ImageAttachmentLayoutStyle layoutStyle + result->append(".autoCancel="); + WriteToString(result, &value->autoCancel); + // VoidCallback cancel result->append(", "); - result->append(".layoutStyle="); - WriteToString(result, &value->layoutStyle); + result->append(".cancel="); + WriteToString(result, &value->cancel); + // Ark_DialogAlignment alignment + result->append(", "); + result->append(".alignment="); + WriteToString(result, &value->alignment); + // Ark_Offset offset + result->append(", "); + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_Number gridCount + result->append(", "); + result->append(".gridCount="); + WriteToString(result, &value->gridCount); + // Ark_Rectangle maskRect + result->append(", "); + result->append(".maskRect="); + WriteToString(result, &value->maskRect); + // Ark_Boolean showInSubWindow + result->append(", "); + result->append(".showInSubWindow="); + WriteToString(result, &value->showInSubWindow); + // Ark_Boolean isModal + result->append(", "); + result->append(".isModal="); + WriteToString(result, &value->isModal); + // Ark_ResourceColor backgroundColor + result->append(", "); + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_BlurStyle backgroundBlurStyle + result->append(", "); + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions + result->append(", "); + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect + result->append(", "); + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // Callback_DismissDialogAction_Void onWillDismiss + result->append(", "); + result->append(".onWillDismiss="); + WriteToString(result, &value->onWillDismiss); + // Ark_TransitionEffect transition + result->append(", "); + result->append(".transition="); + WriteToString(result, &value->transition); + // Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius + result->append(", "); + result->append(".cornerRadius="); + WriteToString(result, &value->cornerRadius); + // Ark_Dimension width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Dimension height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth + result->append(", "); + result->append(".borderWidth="); + WriteToString(result, &value->borderWidth); + // Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor + result->append(", "); + result->append(".borderColor="); + WriteToString(result, &value->borderColor); + // Ark_Union_BorderStyle_EdgeStyles borderStyle + result->append(", "); + result->append(".borderStyle="); + WriteToString(result, &value->borderStyle); + // Ark_Union_ShadowOptions_ShadowStyle shadow + result->append(", "); + result->append(".shadow="); + WriteToString(result, &value->shadow); + // Ark_TextStyle_alert_dialog textStyle + result->append(", "); + result->append(".textStyle="); + WriteToString(result, &value->textStyle); + // Ark_Boolean enableHoverMode + result->append(", "); + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_HoverModeAreaType hoverModeArea + result->append(", "); + result->append(".hoverModeArea="); + WriteToString(result, &value->hoverModeArea); + // Callback_Void onDidAppear + result->append(", "); + result->append(".onDidAppear="); + WriteToString(result, &value->onDidAppear); + // Callback_Void onDidDisappear + result->append(", "); + result->append(".onDidDisappear="); + WriteToString(result, &value->onDidDisappear); + // Callback_Void onWillAppear + result->append(", "); + result->append(".onWillAppear="); + WriteToString(result, &value->onWillAppear); + // Callback_Void onWillDisappear + result->append(", "); + result->append(".onWillDisappear="); + WriteToString(result, &value->onWillDisappear); + // Ark_LevelMode levelMode + result->append(", "); + result->append(".levelMode="); + WriteToString(result, &value->levelMode); + // Ark_Number levelUniqueId + result->append(", "); + result->append(".levelUniqueId="); + WriteToString(result, &value->levelUniqueId); + // Ark_ImmersiveMode immersiveMode + result->append(", "); + result->append(".immersiveMode="); + WriteToString(result, &value->immersiveMode); + // Ark_LevelOrder levelOrder + result->append(", "); + result->append(".levelOrder="); + WriteToString(result, &value->levelOrder); + // Ark_AlertDialogButtonBaseOptions confirm + result->append(", "); + result->append(".confirm="); + WriteToString(result, &value->confirm); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ImageAttachmentInterface* value) { +inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithConfirm* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55065,37 +56550,169 @@ inline void WriteToString(std::string* result, const Opt_ImageAttachmentInterfac result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageAttachmentInterface& value) +inline Ark_RuntimeType runtimeType(const Opt_AlertDialogParamWithConfirm& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedDataInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_AlertDialogParamWithOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NativeEmbedDataInfo* value) { +inline void WriteToString(std::string* result, const Ark_AlertDialogParamWithOptions* value) { result->append("{"); - // Ark_NativeEmbedStatus status - result->append(".status="); - WriteToString(result, &value->status); - // Ark_String surfaceId + // Ark_ResourceStr title + result->append(".title="); + WriteToString(result, &value->title); + // Ark_ResourceStr subtitle result->append(", "); - result->append(".surfaceId="); - WriteToString(result, &value->surfaceId); - // Ark_String embedId + result->append(".subtitle="); + WriteToString(result, &value->subtitle); + // Ark_ResourceStr message result->append(", "); - result->append(".embedId="); - WriteToString(result, &value->embedId); - // Ark_NativeEmbedInfo info + result->append(".message="); + WriteToString(result, &value->message); + // Ark_Boolean autoCancel result->append(", "); - result->append(".info="); - WriteToString(result, &value->info); + result->append(".autoCancel="); + WriteToString(result, &value->autoCancel); + // VoidCallback cancel + result->append(", "); + result->append(".cancel="); + WriteToString(result, &value->cancel); + // Ark_DialogAlignment alignment + result->append(", "); + result->append(".alignment="); + WriteToString(result, &value->alignment); + // Ark_Offset offset + result->append(", "); + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_Number gridCount + result->append(", "); + result->append(".gridCount="); + WriteToString(result, &value->gridCount); + // Ark_Rectangle maskRect + result->append(", "); + result->append(".maskRect="); + WriteToString(result, &value->maskRect); + // Ark_Boolean showInSubWindow + result->append(", "); + result->append(".showInSubWindow="); + WriteToString(result, &value->showInSubWindow); + // Ark_Boolean isModal + result->append(", "); + result->append(".isModal="); + WriteToString(result, &value->isModal); + // Ark_ResourceColor backgroundColor + result->append(", "); + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_BlurStyle backgroundBlurStyle + result->append(", "); + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions + result->append(", "); + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect + result->append(", "); + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // Callback_DismissDialogAction_Void onWillDismiss + result->append(", "); + result->append(".onWillDismiss="); + WriteToString(result, &value->onWillDismiss); + // Ark_TransitionEffect transition + result->append(", "); + result->append(".transition="); + WriteToString(result, &value->transition); + // Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius + result->append(", "); + result->append(".cornerRadius="); + WriteToString(result, &value->cornerRadius); + // Ark_Dimension width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Dimension height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth + result->append(", "); + result->append(".borderWidth="); + WriteToString(result, &value->borderWidth); + // Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor + result->append(", "); + result->append(".borderColor="); + WriteToString(result, &value->borderColor); + // Ark_Union_BorderStyle_EdgeStyles borderStyle + result->append(", "); + result->append(".borderStyle="); + WriteToString(result, &value->borderStyle); + // Ark_Union_ShadowOptions_ShadowStyle shadow + result->append(", "); + result->append(".shadow="); + WriteToString(result, &value->shadow); + // Ark_TextStyle_alert_dialog textStyle + result->append(", "); + result->append(".textStyle="); + WriteToString(result, &value->textStyle); + // Ark_Boolean enableHoverMode + result->append(", "); + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_HoverModeAreaType hoverModeArea + result->append(", "); + result->append(".hoverModeArea="); + WriteToString(result, &value->hoverModeArea); + // Callback_Void onDidAppear + result->append(", "); + result->append(".onDidAppear="); + WriteToString(result, &value->onDidAppear); + // Callback_Void onDidDisappear + result->append(", "); + result->append(".onDidDisappear="); + WriteToString(result, &value->onDidDisappear); + // Callback_Void onWillAppear + result->append(", "); + result->append(".onWillAppear="); + WriteToString(result, &value->onWillAppear); + // Callback_Void onWillDisappear + result->append(", "); + result->append(".onWillDisappear="); + WriteToString(result, &value->onWillDisappear); + // Ark_LevelMode levelMode + result->append(", "); + result->append(".levelMode="); + WriteToString(result, &value->levelMode); + // Ark_Number levelUniqueId + result->append(", "); + result->append(".levelUniqueId="); + WriteToString(result, &value->levelUniqueId); + // Ark_ImmersiveMode immersiveMode + result->append(", "); + result->append(".immersiveMode="); + WriteToString(result, &value->immersiveMode); + // Ark_LevelOrder levelOrder + result->append(", "); + result->append(".levelOrder="); + WriteToString(result, &value->levelOrder); + // Array_AlertDialogButtonOptions buttons + result->append(", "); + result->append(".buttons="); + WriteToString(result, &value->buttons); + // Ark_DialogButtonDirection buttonDirection + result->append(", "); + result->append(".buttonDirection="); + WriteToString(result, &value->buttonDirection); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NativeEmbedDataInfo* value) { +inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55108,33 +56725,37 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedDataInfo* va result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedDataInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_AlertDialogParamWithOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedTouchInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_Area& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NativeEmbedTouchInfo* value) { +inline void WriteToString(std::string* result, const Ark_Area* value) { result->append("{"); - // Ark_String embedId - result->append(".embedId="); - WriteToString(result, &value->embedId); - // Ark_TouchEvent touchEvent + // Ark_Length width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Length height result->append(", "); - result->append(".touchEvent="); - WriteToString(result, &value->touchEvent); - // Ark_EventResult result + result->append(".height="); + WriteToString(result, &value->height); + // Ark_Position position result->append(", "); - result->append(".result="); - WriteToString(result, &value->result); + result->append(".position="); + WriteToString(result, &value->position); + // Ark_Position globalPosition + result->append(", "); + result->append(".globalPosition="); + WriteToString(result, &value->globalPosition); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NativeEmbedTouchInfo* value) { +inline void WriteToString(std::string* result, const Opt_Area* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55147,26 +56768,42 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedTouchInfo* v result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedTouchInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_Area& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ParagraphStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_BadgeParamWithNumber& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ParagraphStyle value) { - WriteToString(result, static_cast(value)); +inline void WriteToString(std::string* result, const Ark_BadgeParamWithNumber* value) { + result->append("{"); + // Ark_Union_BadgePosition_Position position + result->append(".position="); + WriteToString(result, &value->position); + // Ark_BadgeStyle style + result->append(", "); + result->append(".style="); + WriteToString(result, &value->style); + // Ark_Number count + result->append(", "); + result->append(".count="); + WriteToString(result, &value->count); + // Ark_Number maxCount + result->append(", "); + result->append(".maxCount="); + WriteToString(result, &value->maxCount); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ParagraphStyle* value) { +inline void WriteToString(std::string* result, const Opt_BadgeParamWithNumber* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, value->value); + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -55174,45 +56811,33 @@ inline void WriteToString(std::string* result, const Opt_ParagraphStyle* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ParagraphStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_BadgeParamWithNumber& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ParagraphStyleInterface& value) +inline Ark_RuntimeType runtimeType(const Ark_BadgeParamWithString& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ParagraphStyleInterface* value) { +inline void WriteToString(std::string* result, const Ark_BadgeParamWithString* value) { result->append("{"); - // Ark_TextAlign textAlign - result->append(".textAlign="); - WriteToString(result, &value->textAlign); - // Ark_LengthMetrics textIndent - result->append(", "); - result->append(".textIndent="); - WriteToString(result, &value->textIndent); - // Ark_Number maxLines - result->append(", "); - result->append(".maxLines="); - WriteToString(result, &value->maxLines); - // Ark_TextOverflow overflow - result->append(", "); - result->append(".overflow="); - WriteToString(result, &value->overflow); - // Ark_WordBreak wordBreak + // Ark_Union_BadgePosition_Position position + result->append(".position="); + WriteToString(result, &value->position); + // Ark_BadgeStyle style result->append(", "); - result->append(".wordBreak="); - WriteToString(result, &value->wordBreak); - // Ark_Union_LengthMetrics_LeadingMarginPlaceholder leadingMargin + result->append(".style="); + WriteToString(result, &value->style); + // Ark_String value result->append(", "); - result->append(".leadingMargin="); - WriteToString(result, &value->leadingMargin); + result->append(".value="); + WriteToString(result, &value->value); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_ParagraphStyleInterface* value) { +inline void WriteToString(std::string* result, const Opt_BadgeParamWithString* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55225,125 +56850,45 @@ inline void WriteToString(std::string* result, const Opt_ParagraphStyleInterface result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ParagraphStyleInterface& value) +inline Ark_RuntimeType runtimeType(const Opt_BadgeParamWithString& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_PopupOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_BorderImageOption& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_PopupOptions* value) { +inline void WriteToString(std::string* result, const Ark_BorderImageOption* value) { result->append("{"); - // Ark_String message - result->append(".message="); - WriteToString(result, &value->message); - // Ark_Boolean placementOnTop - result->append(", "); - result->append(".placementOnTop="); - WriteToString(result, &value->placementOnTop); - // Ark_Placement placement - result->append(", "); - result->append(".placement="); - WriteToString(result, &value->placement); - // Ark_Literal_String_value_Callback_Void_action primaryButton - result->append(", "); - result->append(".primaryButton="); - WriteToString(result, &value->primaryButton); - // Ark_Literal_String_value_Callback_Void_action secondaryButton - result->append(", "); - result->append(".secondaryButton="); - WriteToString(result, &value->secondaryButton); - // Callback_Literal_Boolean_isVisible_Void onStateChange - result->append(", "); - result->append(".onStateChange="); - WriteToString(result, &value->onStateChange); - // Ark_Union_String_Number_Resource arrowOffset - result->append(", "); - result->append(".arrowOffset="); - WriteToString(result, &value->arrowOffset); - // Ark_Boolean showInSubWindow - result->append(", "); - result->append(".showInSubWindow="); - WriteToString(result, &value->showInSubWindow); - // Ark_Union_Boolean_Literal_ResourceColor_color mask - result->append(", "); - result->append(".mask="); - WriteToString(result, &value->mask); - // Ark_PopupMessageOptions messageOptions - result->append(", "); - result->append(".messageOptions="); - WriteToString(result, &value->messageOptions); - // Ark_Union_String_Number_Resource targetSpace - result->append(", "); - result->append(".targetSpace="); - WriteToString(result, &value->targetSpace); - // Ark_Boolean enableArrow - result->append(", "); - result->append(".enableArrow="); - WriteToString(result, &value->enableArrow); - // Ark_Position offset - result->append(", "); - result->append(".offset="); - WriteToString(result, &value->offset); - // Ark_Union_Color_String_Resource_Number popupColor + // Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths slice + result->append(".slice="); + WriteToString(result, &value->slice); + // Ark_RepeatMode repeat result->append(", "); - result->append(".popupColor="); - WriteToString(result, &value->popupColor); - // Ark_Boolean autoCancel + result->append(".repeat="); + WriteToString(result, &value->repeat); + // Ark_Union_String_Resource_LinearGradient_common source result->append(", "); - result->append(".autoCancel="); - WriteToString(result, &value->autoCancel); - // Ark_Union_String_Number_Resource width + result->append(".source="); + WriteToString(result, &value->source); + // Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths width result->append(", "); result->append(".width="); WriteToString(result, &value->width); - // Ark_ArrowPointPosition arrowPointPosition - result->append(", "); - result->append(".arrowPointPosition="); - WriteToString(result, &value->arrowPointPosition); - // Ark_Union_String_Number_Resource arrowWidth - result->append(", "); - result->append(".arrowWidth="); - WriteToString(result, &value->arrowWidth); - // Ark_Union_String_Number_Resource arrowHeight - result->append(", "); - result->append(".arrowHeight="); - WriteToString(result, &value->arrowHeight); - // Ark_Union_String_Number_Resource radius - result->append(", "); - result->append(".radius="); - WriteToString(result, &value->radius); - // Ark_Union_ShadowOptions_ShadowStyle shadow - result->append(", "); - result->append(".shadow="); - WriteToString(result, &value->shadow); - // Ark_BlurStyle backgroundBlurStyle - result->append(", "); - result->append(".backgroundBlurStyle="); - WriteToString(result, &value->backgroundBlurStyle); - // Ark_TransitionEffect transition - result->append(", "); - result->append(".transition="); - WriteToString(result, &value->transition); - // Ark_Union_Boolean_Callback_DismissPopupAction_Void onWillDismiss - result->append(", "); - result->append(".onWillDismiss="); - WriteToString(result, &value->onWillDismiss); - // Ark_Boolean enableHoverMode + // Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths outset result->append(", "); - result->append(".enableHoverMode="); - WriteToString(result, &value->enableHoverMode); - // Ark_Boolean followTransformOfTarget + result->append(".outset="); + WriteToString(result, &value->outset); + // Ark_Boolean fill result->append(", "); - result->append(".followTransformOfTarget="); - WriteToString(result, &value->followTransformOfTarget); + result->append(".fill="); + WriteToString(result, &value->fill); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_PopupOptions* value) { +inline void WriteToString(std::string* result, const Opt_BorderImageOption* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55356,37 +56901,45 @@ inline void WriteToString(std::string* result, const Opt_PopupOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_PopupOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_BorderImageOption& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_BorderOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanStyle* value) { +inline void WriteToString(std::string* result, const Ark_BorderOptions* value) { result->append("{"); - // Ark_Tuple_Dimension_Dimension size - result->append(".size="); - WriteToString(result, &value->size); - // Ark_ImageSpanAlignment verticalAlign + // Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors color result->append(", "); - result->append(".verticalAlign="); - WriteToString(result, &value->verticalAlign); - // Ark_ImageFit objectFit + result->append(".color="); + WriteToString(result, &value->color); + // Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses radius result->append(", "); - result->append(".objectFit="); - WriteToString(result, &value->objectFit); - // Ark_RichEditorLayoutStyle layoutStyle + result->append(".radius="); + WriteToString(result, &value->radius); + // Ark_Union_EdgeStyles_BorderStyle style result->append(", "); - result->append(".layoutStyle="); - WriteToString(result, &value->layoutStyle); + result->append(".style="); + WriteToString(result, &value->style); + // Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths dashGap + result->append(", "); + result->append(".dashGap="); + WriteToString(result, &value->dashGap); + // Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths dashWidth + result->append(", "); + result->append(".dashWidth="); + WriteToString(result, &value->dashWidth); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanStyle* value) { +inline void WriteToString(std::string* result, const Opt_BorderOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55399,37 +56952,29 @@ inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanStyl result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_BorderOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanStyleResult& value) +inline Ark_RuntimeType runtimeType(const Ark_CancelButtonOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanStyleResult* value) { +inline void WriteToString(std::string* result, const Ark_CancelButtonOptions* value) { result->append("{"); - // Ark_Tuple_Number_Number size - result->append(".size="); - WriteToString(result, &value->size); - // Ark_ImageSpanAlignment verticalAlign - result->append(", "); - result->append(".verticalAlign="); - WriteToString(result, value->verticalAlign); - // Ark_ImageFit objectFit - result->append(", "); - result->append(".objectFit="); - WriteToString(result, value->objectFit); - // Ark_RichEditorLayoutStyle layoutStyle + // Ark_CancelButtonStyle style + result->append(".style="); + WriteToString(result, &value->style); + // Ark_IconOptions icon result->append(", "); - result->append(".layoutStyle="); - WriteToString(result, &value->layoutStyle); + result->append(".icon="); + WriteToString(result, &value->icon); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanStyleResult* value) { +inline void WriteToString(std::string* result, const Opt_CancelButtonOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55442,115 +56987,53 @@ inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanStyl result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanStyleResult& value) +inline Ark_RuntimeType runtimeType(const Opt_CancelButtonOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorParagraphStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_CapsuleStyleOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorParagraphStyle* value) { +inline void WriteToString(std::string* result, const Ark_CapsuleStyleOptions* value) { result->append("{"); - // Ark_TextAlign textAlign - result->append(".textAlign="); - WriteToString(result, &value->textAlign); - // Ark_Union_Dimension_LeadingMarginPlaceholder leadingMargin + // Ark_Boolean enableScanEffect + result->append(".enableScanEffect="); + WriteToString(result, &value->enableScanEffect); + // Ark_ResourceColor borderColor result->append(", "); - result->append(".leadingMargin="); - WriteToString(result, &value->leadingMargin); - // Ark_WordBreak wordBreak + result->append(".borderColor="); + WriteToString(result, &value->borderColor); + // Ark_Length borderWidth result->append(", "); - result->append(".wordBreak="); - WriteToString(result, &value->wordBreak); - // Ark_LineBreakStrategy lineBreakStrategy + result->append(".borderWidth="); + WriteToString(result, &value->borderWidth); + // Ark_String content result->append(", "); - result->append(".lineBreakStrategy="); - WriteToString(result, &value->lineBreakStrategy); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_RichEditorParagraphStyle* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorParagraphStyle& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorParagraphStyleOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_RichEditorParagraphStyleOptions* value) { - result->append("{"); - // Ark_Number start - result->append(".start="); - WriteToString(result, &value->start); - // Ark_Number end + result->append(".content="); + WriteToString(result, &value->content); + // Ark_Font font result->append(", "); - result->append(".end="); - WriteToString(result, &value->end); - // Ark_RichEditorParagraphStyle style + result->append(".font="); + WriteToString(result, &value->font); + // Ark_ResourceColor fontColor result->append(", "); - result->append(".style="); - WriteToString(result, &value->style); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_RichEditorParagraphStyleOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorParagraphStyleOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateImageSpanStyleOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_RichEditorUpdateImageSpanStyleOptions* value) { - result->append("{"); - // Ark_Number start - result->append(".start="); - WriteToString(result, &value->start); - // Ark_Number end + result->append(".fontColor="); + WriteToString(result, &value->fontColor); + // Ark_Boolean showDefaultPercentage result->append(", "); - result->append(".end="); - WriteToString(result, &value->end); - // Ark_RichEditorImageSpanStyle imageStyle + result->append(".showDefaultPercentage="); + WriteToString(result, &value->showDefaultPercentage); + // Ark_LengthMetrics borderRadius result->append(", "); - result->append(".imageStyle="); - WriteToString(result, &value->imageStyle); + result->append(".borderRadius="); + WriteToString(result, &value->borderRadius); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorUpdateImageSpanStyleOptions* value) { +inline void WriteToString(std::string* result, const Opt_CapsuleStyleOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55563,29 +57046,109 @@ inline void WriteToString(std::string* result, const Opt_RichEditorUpdateImageSp result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateImageSpanStyleOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_CapsuleStyleOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RunMetrics& value) +inline Ark_RuntimeType runtimeType(const Ark_ContextMenuOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RunMetrics* value) { +inline void WriteToString(std::string* result, const Ark_ContextMenuOptions* value) { result->append("{"); - // Ark_text_TextStyle textStyle - result->append(".textStyle="); - WriteToString(result, &value->textStyle); - // Ark_FontMetrics fontMetrics + // Ark_Position offset + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_Placement placement result->append(", "); - result->append(".fontMetrics="); - WriteToString(result, &value->fontMetrics); + result->append(".placement="); + WriteToString(result, &value->placement); + // Ark_Boolean enableArrow + result->append(", "); + result->append(".enableArrow="); + WriteToString(result, &value->enableArrow); + // Ark_Length arrowOffset + result->append(", "); + result->append(".arrowOffset="); + WriteToString(result, &value->arrowOffset); + // Ark_Union_MenuPreviewMode_CustomBuilder preview + result->append(", "); + result->append(".preview="); + WriteToString(result, &value->preview); + // Ark_BorderRadiusType previewBorderRadius + result->append(", "); + result->append(".previewBorderRadius="); + WriteToString(result, &value->previewBorderRadius); + // Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses borderRadius + result->append(", "); + result->append(".borderRadius="); + WriteToString(result, &value->borderRadius); + // Callback_Void onAppear + result->append(", "); + result->append(".onAppear="); + WriteToString(result, &value->onAppear); + // Callback_Void onDisappear + result->append(", "); + result->append(".onDisappear="); + WriteToString(result, &value->onDisappear); + // Callback_Void aboutToAppear + result->append(", "); + result->append(".aboutToAppear="); + WriteToString(result, &value->aboutToAppear); + // Callback_Void aboutToDisappear + result->append(", "); + result->append(".aboutToDisappear="); + WriteToString(result, &value->aboutToDisappear); + // Ark_Padding layoutRegionMargin + result->append(", "); + result->append(".layoutRegionMargin="); + WriteToString(result, &value->layoutRegionMargin); + // Ark_ContextMenuAnimationOptions previewAnimationOptions + result->append(", "); + result->append(".previewAnimationOptions="); + WriteToString(result, &value->previewAnimationOptions); + // Ark_ResourceColor backgroundColor + result->append(", "); + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_BlurStyle backgroundBlurStyle + result->append(", "); + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions + result->append(", "); + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect + result->append(", "); + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // Ark_TransitionEffect transition + result->append(", "); + result->append(".transition="); + WriteToString(result, &value->transition); + // Ark_Boolean enableHoverMode + result->append(", "); + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_Union_ResourceColor_EdgeColors outlineColor + result->append(", "); + result->append(".outlineColor="); + WriteToString(result, &value->outlineColor); + // Ark_Union_Dimension_EdgeOutlineWidths outlineWidth + result->append(", "); + result->append(".outlineWidth="); + WriteToString(result, &value->outlineWidth); + // Ark_HapticFeedbackMode hapticFeedbackMode + result->append(", "); + result->append(".hapticFeedbackMode="); + WriteToString(result, &value->hapticFeedbackMode); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RunMetrics* value) { +inline void WriteToString(std::string* result, const Opt_ContextMenuOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55598,94 +57161,94 @@ inline void WriteToString(std::string* result, const Opt_RunMetrics* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RunMetrics& value) +inline Ark_RuntimeType runtimeType(const Opt_ContextMenuOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SheetOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_CustomDialogControllerOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SheetOptions* value) { +inline void WriteToString(std::string* result, const Ark_CustomDialogControllerOptions* value) { result->append("{"); - // Ark_ResourceColor backgroundColor - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Callback_Void onAppear + // Ark_CustomDialogControllerBuilder builder + result->append(".builder="); + WriteToString(result, &value->builder); + // Callback_Void cancel result->append(", "); - result->append(".onAppear="); - WriteToString(result, &value->onAppear); - // Callback_Void onDisappear + result->append(".cancel="); + WriteToString(result, &value->cancel); + // Ark_Boolean autoCancel result->append(", "); - result->append(".onDisappear="); - WriteToString(result, &value->onDisappear); - // Callback_Void onWillAppear + result->append(".autoCancel="); + WriteToString(result, &value->autoCancel); + // Ark_DialogAlignment alignment result->append(", "); - result->append(".onWillAppear="); - WriteToString(result, &value->onWillAppear); - // Callback_Void onWillDisappear + result->append(".alignment="); + WriteToString(result, &value->alignment); + // Ark_Offset offset result->append(", "); - result->append(".onWillDisappear="); - WriteToString(result, &value->onWillDisappear); - // Ark_Union_SheetSize_Length height + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_Boolean customStyle result->append(", "); - result->append(".height="); - WriteToString(result, &value->height); - // Ark_Boolean dragBar + result->append(".customStyle="); + WriteToString(result, &value->customStyle); + // Ark_Number gridCount result->append(", "); - result->append(".dragBar="); - WriteToString(result, &value->dragBar); + result->append(".gridCount="); + WriteToString(result, &value->gridCount); // Ark_ResourceColor maskColor result->append(", "); result->append(".maskColor="); WriteToString(result, &value->maskColor); - // Ark_Type_SheetOptions_detents detents + // Ark_Rectangle maskRect result->append(", "); - result->append(".detents="); - WriteToString(result, &value->detents); - // Ark_BlurStyle blurStyle + result->append(".maskRect="); + WriteToString(result, &value->maskRect); + // Ark_AnimateParam openAnimation result->append(", "); - result->append(".blurStyle="); - WriteToString(result, &value->blurStyle); - // Ark_Union_Boolean_Resource showClose + result->append(".openAnimation="); + WriteToString(result, &value->openAnimation); + // Ark_AnimateParam closeAnimation result->append(", "); - result->append(".showClose="); - WriteToString(result, &value->showClose); - // Ark_SheetType preferType + result->append(".closeAnimation="); + WriteToString(result, &value->closeAnimation); + // Ark_Boolean showInSubWindow result->append(", "); - result->append(".preferType="); - WriteToString(result, &value->preferType); - // Ark_Union_SheetTitleOptions_CustomBuilder title + result->append(".showInSubWindow="); + WriteToString(result, &value->showInSubWindow); + // Ark_ResourceColor backgroundColor result->append(", "); - result->append(".title="); - WriteToString(result, &value->title); - // Callback_SheetDismiss_Void shouldDismiss + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_Union_Dimension_BorderRadiuses cornerRadius result->append(", "); - result->append(".shouldDismiss="); - WriteToString(result, &value->shouldDismiss); - // Callback_DismissSheetAction_Void onWillDismiss + result->append(".cornerRadius="); + WriteToString(result, &value->cornerRadius); + // Ark_Boolean isModal + result->append(", "); + result->append(".isModal="); + WriteToString(result, &value->isModal); + // Callback_DismissDialogAction_Void onWillDismiss result->append(", "); result->append(".onWillDismiss="); WriteToString(result, &value->onWillDismiss); - // Callback_SpringBackAction_Void onWillSpringBackWhenDismiss - result->append(", "); - result->append(".onWillSpringBackWhenDismiss="); - WriteToString(result, &value->onWillSpringBackWhenDismiss); - // Ark_Boolean enableOutsideInteractive - result->append(", "); - result->append(".enableOutsideInteractive="); - WriteToString(result, &value->enableOutsideInteractive); - // Ark_Union_String_Number_Resource width + // Ark_Dimension width result->append(", "); result->append(".width="); WriteToString(result, &value->width); - // Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth + // Ark_Dimension height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_Union_Dimension_EdgeWidths borderWidth result->append(", "); result->append(".borderWidth="); WriteToString(result, &value->borderWidth); - // Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor + // Ark_Union_ResourceColor_EdgeColors borderColor result->append(", "); result->append(".borderColor="); WriteToString(result, &value->borderColor); @@ -55697,42 +57260,74 @@ inline void WriteToString(std::string* result, const Ark_SheetOptions* value) { result->append(", "); result->append(".shadow="); WriteToString(result, &value->shadow); - // Callback_Number_Void onHeightDidChange + // Ark_BlurStyle backgroundBlurStyle result->append(", "); - result->append(".onHeightDidChange="); - WriteToString(result, &value->onHeightDidChange); - // Ark_SheetMode mode + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions result->append(", "); - result->append(".mode="); - WriteToString(result, &value->mode); - // Ark_ScrollSizeMode scrollSizeMode + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect result->append(", "); - result->append(".scrollSizeMode="); - WriteToString(result, &value->scrollSizeMode); - // Callback_Number_Void onDetentsDidChange + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // Ark_KeyboardAvoidMode keyboardAvoidMode result->append(", "); - result->append(".onDetentsDidChange="); - WriteToString(result, &value->onDetentsDidChange); - // Callback_Number_Void onWidthDidChange + result->append(".keyboardAvoidMode="); + WriteToString(result, &value->keyboardAvoidMode); + // Ark_Boolean enableHoverMode result->append(", "); - result->append(".onWidthDidChange="); - WriteToString(result, &value->onWidthDidChange); - // Callback_SheetType_Void onTypeDidChange + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_HoverModeAreaType hoverModeArea result->append(", "); - result->append(".onTypeDidChange="); - WriteToString(result, &value->onTypeDidChange); - // Ark_UIContext uiContext + result->append(".hoverModeArea="); + WriteToString(result, &value->hoverModeArea); + // Callback_Void onDidAppear result->append(", "); - result->append(".uiContext="); - WriteToString(result, &value->uiContext); - // Ark_SheetKeyboardAvoidMode keyboardAvoidMode + result->append(".onDidAppear="); + WriteToString(result, &value->onDidAppear); + // Callback_Void onDidDisappear result->append(", "); - result->append(".keyboardAvoidMode="); - WriteToString(result, &value->keyboardAvoidMode); + result->append(".onDidDisappear="); + WriteToString(result, &value->onDidDisappear); + // Callback_Void onWillAppear + result->append(", "); + result->append(".onWillAppear="); + WriteToString(result, &value->onWillAppear); + // Callback_Void onWillDisappear + result->append(", "); + result->append(".onWillDisappear="); + WriteToString(result, &value->onWillDisappear); + // Ark_LengthMetrics keyboardAvoidDistance + result->append(", "); + result->append(".keyboardAvoidDistance="); + WriteToString(result, &value->keyboardAvoidDistance); + // Ark_LevelMode levelMode + result->append(", "); + result->append(".levelMode="); + WriteToString(result, &value->levelMode); + // Ark_Number levelUniqueId + result->append(", "); + result->append(".levelUniqueId="); + WriteToString(result, &value->levelUniqueId); + // Ark_ImmersiveMode immersiveMode + result->append(", "); + result->append(".immersiveMode="); + WriteToString(result, &value->immersiveMode); + // Ark_LevelOrder levelOrder + result->append(", "); + result->append(".levelOrder="); + WriteToString(result, &value->levelOrder); + // Ark_Boolean focusable + result->append(", "); + result->append(".focusable="); + WriteToString(result, &value->focusable); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SheetOptions* value) { +inline void WriteToString(std::string* result, const Opt_CustomDialogControllerOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55745,105 +57340,121 @@ inline void WriteToString(std::string* result, const Opt_SheetOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SheetOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_CustomDialogControllerOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_StyledStringValue& value) +inline Ark_RuntimeType runtimeType(const Ark_CustomPopupOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - case 3: return runtimeType(value.value3); - case 4: return runtimeType(value.value4); - case 5: return runtimeType(value.value5); - case 6: return runtimeType(value.value6); - case 7: return runtimeType(value.value7); - case 8: return runtimeType(value.value8); - case 9: return runtimeType(value.value9); - case 10: return runtimeType(value.value10); - case 11: return runtimeType(value.value11); - case 12: return runtimeType(value.value12); - default: INTEROP_FATAL("Bad selector in Ark_StyledStringValue: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_StyledStringValue* value) { +inline void WriteToString(std::string* result, const Ark_CustomPopupOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // CustomNodeBuilder builder + result->append(".builder="); + WriteToString(result, &value->builder); + // Ark_Placement placement result->append(", "); - // Ark_TextStyle_styled_string - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, value->value0); - } - // Ark_DecorationStyle - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, value->value1); - } - // Ark_BaselineOffsetStyle - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, value->value2); - } - // Ark_LetterSpacingStyle - if (value->selector == 3) { - result->append(".value3="); - WriteToString(result, value->value3); - } - // Ark_TextShadowStyle - if (value->selector == 4) { - result->append(".value4="); - WriteToString(result, value->value4); - } - // Ark_GestureStyle - if (value->selector == 5) { - result->append(".value5="); - WriteToString(result, value->value5); - } - // Ark_ImageAttachment - if (value->selector == 6) { - result->append(".value6="); - WriteToString(result, value->value6); - } - // Ark_ParagraphStyle - if (value->selector == 7) { - result->append(".value7="); - WriteToString(result, value->value7); - } - // Ark_LineHeightStyle - if (value->selector == 8) { - result->append(".value8="); - WriteToString(result, value->value8); - } - // Ark_UrlStyle - if (value->selector == 9) { - result->append(".value9="); - WriteToString(result, value->value9); - } - // Ark_CustomSpan - if (value->selector == 10) { - result->append(".value10="); - WriteToString(result, value->value10); - } - // Ark_UserDataSpan - if (value->selector == 11) { - result->append(".value11="); - WriteToString(result, &value->value11); - } - // Ark_BackgroundColorStyle - if (value->selector == 12) { - result->append(".value12="); - WriteToString(result, value->value12); - } + result->append(".placement="); + WriteToString(result, &value->placement); + // Ark_Union_Color_String_Resource_Number maskColor + result->append(", "); + result->append(".maskColor="); + WriteToString(result, &value->maskColor); + // Ark_Union_Color_String_Resource_Number popupColor + result->append(", "); + result->append(".popupColor="); + WriteToString(result, &value->popupColor); + // Ark_Boolean enableArrow + result->append(", "); + result->append(".enableArrow="); + WriteToString(result, &value->enableArrow); + // Ark_Boolean autoCancel + result->append(", "); + result->append(".autoCancel="); + WriteToString(result, &value->autoCancel); + // Callback_Literal_Boolean_isVisible_Void onStateChange + result->append(", "); + result->append(".onStateChange="); + WriteToString(result, &value->onStateChange); + // Ark_Length arrowOffset + result->append(", "); + result->append(".arrowOffset="); + WriteToString(result, &value->arrowOffset); + // Ark_Boolean showInSubWindow + result->append(", "); + result->append(".showInSubWindow="); + WriteToString(result, &value->showInSubWindow); + // Ark_Union_Boolean_Literal_ResourceColor_color mask + result->append(", "); + result->append(".mask="); + WriteToString(result, &value->mask); + // Ark_Length targetSpace + result->append(", "); + result->append(".targetSpace="); + WriteToString(result, &value->targetSpace); + // Ark_Position offset + result->append(", "); + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_Dimension width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_ArrowPointPosition arrowPointPosition + result->append(", "); + result->append(".arrowPointPosition="); + WriteToString(result, &value->arrowPointPosition); + // Ark_Dimension arrowWidth + result->append(", "); + result->append(".arrowWidth="); + WriteToString(result, &value->arrowWidth); + // Ark_Dimension arrowHeight + result->append(", "); + result->append(".arrowHeight="); + WriteToString(result, &value->arrowHeight); + // Ark_Dimension radius + result->append(", "); + result->append(".radius="); + WriteToString(result, &value->radius); + // Ark_Union_ShadowOptions_ShadowStyle shadow + result->append(", "); + result->append(".shadow="); + WriteToString(result, &value->shadow); + // Ark_BlurStyle backgroundBlurStyle + result->append(", "); + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_Boolean focusable + result->append(", "); + result->append(".focusable="); + WriteToString(result, &value->focusable); + // Ark_TransitionEffect transition + result->append(", "); + result->append(".transition="); + WriteToString(result, &value->transition); + // Ark_Union_Boolean_Callback_DismissPopupAction_Void onWillDismiss + result->append(", "); + result->append(".onWillDismiss="); + WriteToString(result, &value->onWillDismiss); + // Ark_Boolean enableHoverMode + result->append(", "); + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_Boolean followTransformOfTarget + result->append(", "); + result->append(".followTransformOfTarget="); + WriteToString(result, &value->followTransformOfTarget); + // Ark_KeyboardAvoidMode keyboardAvoidMode + result->append(", "); + result->append(".keyboardAvoidMode="); + WriteToString(result, &value->keyboardAvoidMode); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_StyledStringValue* value) { +inline void WriteToString(std::string* result, const Opt_CustomPopupOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55856,37 +57467,61 @@ inline void WriteToString(std::string* result, const Opt_StyledStringValue* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_StyledStringValue& value) +inline Ark_RuntimeType runtimeType(const Opt_CustomPopupOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_StyleOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_DigitIndicator& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_StyleOptions* value) { +inline void WriteToString(std::string* result, const Ark_DigitIndicator* value) { result->append("{"); - // Ark_Number start - result->append(".start="); - WriteToString(result, &value->start); - // Ark_Number length + // Ark_Length _left + result->append("._left="); + WriteToString(result, &value->_left); + // Ark_Length _top result->append(", "); - result->append(".length="); - WriteToString(result, &value->length); - // Ark_StyledStringKey styledKey + result->append("._top="); + WriteToString(result, &value->_top); + // Ark_Length _right result->append(", "); - result->append(".styledKey="); - WriteToString(result, value->styledKey); - // Ark_StyledStringValue styledValue + result->append("._right="); + WriteToString(result, &value->_right); + // Ark_Length _bottom result->append(", "); - result->append(".styledValue="); - WriteToString(result, &value->styledValue); + result->append("._bottom="); + WriteToString(result, &value->_bottom); + // Ark_LengthMetrics _start + result->append(", "); + result->append("._start="); + WriteToString(result, &value->_start); + // Ark_LengthMetrics _end + result->append(", "); + result->append("._end="); + WriteToString(result, &value->_end); + // Ark_ResourceColor _fontColor + result->append(", "); + result->append("._fontColor="); + WriteToString(result, &value->_fontColor); + // Ark_ResourceColor _selectedFontColor + result->append(", "); + result->append("._selectedFontColor="); + WriteToString(result, &value->_selectedFontColor); + // Ark_Font _digitFont + result->append(", "); + result->append("._digitFont="); + WriteToString(result, &value->_digitFont); + // Ark_Font _selectedDigitFont + result->append(", "); + result->append("._selectedDigitFont="); + WriteToString(result, &value->_selectedDigitFont); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_StyleOptions* value) { +inline void WriteToString(std::string* result, const Opt_DigitIndicator* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55899,49 +57534,29 @@ inline void WriteToString(std::string* result, const Opt_StyleOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_StyleOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_DigitIndicator& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SubTabBarStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_EventTarget& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SubTabBarStyle* value) { +inline void WriteToString(std::string* result, const Ark_EventTarget* value) { result->append("{"); - // Ark_Union_ResourceStr_Union_ResourceStr_ComponentContent _content - result->append("._content="); - WriteToString(result, &value->_content); - // Ark_IndicatorStyle _indicator - result->append(", "); - result->append("._indicator="); - WriteToString(result, &value->_indicator); - // Ark_SelectedMode _selectedMode - result->append(", "); - result->append("._selectedMode="); - WriteToString(result, &value->_selectedMode); - // Ark_BoardStyle _board - result->append(", "); - result->append("._board="); - WriteToString(result, &value->_board); - // Ark_LabelStyle _labelStyle - result->append(", "); - result->append("._labelStyle="); - WriteToString(result, &value->_labelStyle); - // Ark_Union_Union_Padding_Dimension_LocalizedPadding _padding - result->append(", "); - result->append("._padding="); - WriteToString(result, &value->_padding); - // Ark_String _id + // Ark_Area area + result->append(".area="); + WriteToString(result, &value->area); + // Ark_String id result->append(", "); - result->append("._id="); - WriteToString(result, &value->_id); + result->append(".id="); + WriteToString(result, &value->id); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SubTabBarStyle* value) { +inline void WriteToString(std::string* result, const Opt_EventTarget* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -55954,121 +57569,83 @@ inline void WriteToString(std::string* result, const Opt_SubTabBarStyle* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SubTabBarStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_EventTarget& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextPickerDialogOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_FocusAxisEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_TextPickerDialogOptions* value) { +inline void WriteToString(std::string* result, const Ark_FocusAxisEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_FocusAxisEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_FocusAxisEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GestureEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_GestureEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_GestureEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GestureEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GutterOption& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_GutterOption* value) { result->append("{"); - // Ark_Type_TextPickerOptions_range range - result->append(".range="); - WriteToString(result, &value->range); - // Ark_Union_String_Array_String value - result->append(", "); - result->append(".value="); - WriteToString(result, &value->value); - // Ark_Union_Number_Array_Number selected - result->append(", "); - result->append(".selected="); - WriteToString(result, &value->selected); - // Ark_Union_Number_String defaultPickerItemHeight - result->append(", "); - result->append(".defaultPickerItemHeight="); - WriteToString(result, &value->defaultPickerItemHeight); - // Ark_Boolean canLoop - result->append(", "); - result->append(".canLoop="); - WriteToString(result, &value->canLoop); - // Ark_PickerTextStyle disappearTextStyle - result->append(", "); - result->append(".disappearTextStyle="); - WriteToString(result, &value->disappearTextStyle); - // Ark_PickerTextStyle textStyle - result->append(", "); - result->append(".textStyle="); - WriteToString(result, &value->textStyle); - // Ark_PickerDialogButtonStyle acceptButtonStyle - result->append(", "); - result->append(".acceptButtonStyle="); - WriteToString(result, &value->acceptButtonStyle); - // Ark_PickerDialogButtonStyle cancelButtonStyle - result->append(", "); - result->append(".cancelButtonStyle="); - WriteToString(result, &value->cancelButtonStyle); - // Ark_PickerTextStyle selectedTextStyle - result->append(", "); - result->append(".selectedTextStyle="); - WriteToString(result, &value->selectedTextStyle); - // Callback_TextPickerResult_Void onAccept - result->append(", "); - result->append(".onAccept="); - WriteToString(result, &value->onAccept); - // Callback_Void onCancel - result->append(", "); - result->append(".onCancel="); - WriteToString(result, &value->onCancel); - // Callback_TextPickerResult_Void onChange - result->append(", "); - result->append(".onChange="); - WriteToString(result, &value->onChange); - // Ark_Rectangle maskRect - result->append(", "); - result->append(".maskRect="); - WriteToString(result, &value->maskRect); - // Ark_DialogAlignment alignment - result->append(", "); - result->append(".alignment="); - WriteToString(result, &value->alignment); - // Ark_Offset offset - result->append(", "); - result->append(".offset="); - WriteToString(result, &value->offset); - // Ark_ResourceColor backgroundColor - result->append(", "); - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Ark_BlurStyle backgroundBlurStyle - result->append(", "); - result->append(".backgroundBlurStyle="); - WriteToString(result, &value->backgroundBlurStyle); - // Callback_Void onDidAppear - result->append(", "); - result->append(".onDidAppear="); - WriteToString(result, &value->onDidAppear); - // Callback_Void onDidDisappear - result->append(", "); - result->append(".onDidDisappear="); - WriteToString(result, &value->onDidDisappear); - // Callback_Void onWillAppear - result->append(", "); - result->append(".onWillAppear="); - WriteToString(result, &value->onWillAppear); - // Callback_Void onWillDisappear - result->append(", "); - result->append(".onWillDisappear="); - WriteToString(result, &value->onWillDisappear); - // Ark_Union_ShadowOptions_ShadowStyle shadow - result->append(", "); - result->append(".shadow="); - WriteToString(result, &value->shadow); - // Ark_Boolean enableHoverMode - result->append(", "); - result->append(".enableHoverMode="); - WriteToString(result, &value->enableHoverMode); - // Ark_HoverModeAreaType hoverModeArea + // Ark_Union_Length_GridRowSizeOption x + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Union_Length_GridRowSizeOption y result->append(", "); - result->append(".hoverModeArea="); - WriteToString(result, &value->hoverModeArea); + result->append(".y="); + WriteToString(result, &value->y); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TextPickerDialogOptions* value) { +inline void WriteToString(std::string* result, const Opt_GutterOption* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56081,117 +57658,60 @@ inline void WriteToString(std::string* result, const Opt_TextPickerDialogOptions result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextPickerDialogOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_GutterOption& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TimePickerDialogOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_HoverEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_TimePickerDialogOptions* value) { +inline void WriteToString(std::string* result, const Ark_HoverEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_HoverEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_HoverEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageAttachmentLayoutStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageAttachmentLayoutStyle* value) { result->append("{"); - // Ark_Date selected - result->append(".selected="); - WriteToString(result, &value->selected); - // Ark_TimePickerFormat format - result->append(", "); - result->append(".format="); - WriteToString(result, &value->format); - // Ark_Boolean useMilitaryTime + // Ark_Union_LengthMetrics_Margin margin + result->append(".margin="); + WriteToString(result, &value->margin); + // Ark_Union_LengthMetrics_Padding padding result->append(", "); - result->append(".useMilitaryTime="); - WriteToString(result, &value->useMilitaryTime); - // Ark_PickerTextStyle disappearTextStyle + result->append(".padding="); + WriteToString(result, &value->padding); + // Ark_Union_LengthMetrics_BorderRadiuses borderRadius result->append(", "); - result->append(".disappearTextStyle="); - WriteToString(result, &value->disappearTextStyle); - // Ark_PickerTextStyle textStyle - result->append(", "); - result->append(".textStyle="); - WriteToString(result, &value->textStyle); - // Ark_PickerDialogButtonStyle acceptButtonStyle - result->append(", "); - result->append(".acceptButtonStyle="); - WriteToString(result, &value->acceptButtonStyle); - // Ark_PickerDialogButtonStyle cancelButtonStyle - result->append(", "); - result->append(".cancelButtonStyle="); - WriteToString(result, &value->cancelButtonStyle); - // Ark_PickerTextStyle selectedTextStyle - result->append(", "); - result->append(".selectedTextStyle="); - WriteToString(result, &value->selectedTextStyle); - // Ark_Rectangle maskRect - result->append(", "); - result->append(".maskRect="); - WriteToString(result, &value->maskRect); - // Ark_DialogAlignment alignment - result->append(", "); - result->append(".alignment="); - WriteToString(result, &value->alignment); - // Ark_Offset offset - result->append(", "); - result->append(".offset="); - WriteToString(result, &value->offset); - // Callback_TimePickerResult_Void onAccept - result->append(", "); - result->append(".onAccept="); - WriteToString(result, &value->onAccept); - // Callback_Void onCancel - result->append(", "); - result->append(".onCancel="); - WriteToString(result, &value->onCancel); - // Callback_TimePickerResult_Void onChange - result->append(", "); - result->append(".onChange="); - WriteToString(result, &value->onChange); - // Ark_ResourceColor backgroundColor - result->append(", "); - result->append(".backgroundColor="); - WriteToString(result, &value->backgroundColor); - // Ark_BlurStyle backgroundBlurStyle - result->append(", "); - result->append(".backgroundBlurStyle="); - WriteToString(result, &value->backgroundBlurStyle); - // Callback_Void onDidAppear - result->append(", "); - result->append(".onDidAppear="); - WriteToString(result, &value->onDidAppear); - // Callback_Void onDidDisappear - result->append(", "); - result->append(".onDidDisappear="); - WriteToString(result, &value->onDidDisappear); - // Callback_Void onWillAppear - result->append(", "); - result->append(".onWillAppear="); - WriteToString(result, &value->onWillAppear); - // Callback_Void onWillDisappear - result->append(", "); - result->append(".onWillDisappear="); - WriteToString(result, &value->onWillDisappear); - // Ark_Union_ShadowOptions_ShadowStyle shadow - result->append(", "); - result->append(".shadow="); - WriteToString(result, &value->shadow); - // Ark_DateTimeOptions dateTimeOptions - result->append(", "); - result->append(".dateTimeOptions="); - WriteToString(result, &value->dateTimeOptions); - // Ark_Boolean enableHoverMode - result->append(", "); - result->append(".enableHoverMode="); - WriteToString(result, &value->enableHoverMode); - // Ark_HoverModeAreaType hoverModeArea - result->append(", "); - result->append(".hoverModeArea="); - WriteToString(result, &value->hoverModeArea); + result->append(".borderRadius="); + WriteToString(result, &value->borderRadius); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_TimePickerDialogOptions* value) { +inline void WriteToString(std::string* result, const Opt_ImageAttachmentLayoutStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56204,45 +57724,53 @@ inline void WriteToString(std::string* result, const Opt_TimePickerDialogOptions result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TimePickerDialogOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_ImageAttachmentLayoutStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Type_RichEditorController_updateSpanStyle_value& value) +inline Ark_RuntimeType runtimeType(const Ark_LabelStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Type_RichEditorController_updateSpanStyle_value: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Type_RichEditorController_updateSpanStyle_value* value) { +inline void WriteToString(std::string* result, const Ark_LabelStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_TextOverflow overflow + result->append(".overflow="); + WriteToString(result, &value->overflow); + // Ark_Number maxLines result->append(", "); - // Ark_RichEditorUpdateTextSpanStyleOptions - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_RichEditorUpdateImageSpanStyleOptions - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - // Ark_RichEditorUpdateSymbolSpanStyleOptions - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, &value->value2); - } + result->append(".maxLines="); + WriteToString(result, &value->maxLines); + // Ark_Union_Number_ResourceStr minFontSize + result->append(", "); + result->append(".minFontSize="); + WriteToString(result, &value->minFontSize); + // Ark_Union_Number_ResourceStr maxFontSize + result->append(", "); + result->append(".maxFontSize="); + WriteToString(result, &value->maxFontSize); + // Ark_TextHeightAdaptivePolicy heightAdaptivePolicy + result->append(", "); + result->append(".heightAdaptivePolicy="); + WriteToString(result, &value->heightAdaptivePolicy); + // Ark_Font font + result->append(", "); + result->append(".font="); + WriteToString(result, &value->font); + // Ark_ResourceColor selectedColor + result->append(", "); + result->append(".selectedColor="); + WriteToString(result, &value->selectedColor); + // Ark_ResourceColor unselectedColor + result->append(", "); + result->append(".unselectedColor="); + WriteToString(result, &value->unselectedColor); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Type_RichEditorController_updateSpanStyle_value* value) { +inline void WriteToString(std::string* result, const Opt_LabelStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56255,44 +57783,26 @@ inline void WriteToString(std::string* result, const Opt_Type_RichEditorControll result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Type_RichEditorController_updateSpanStyle_value& value) +inline Ark_RuntimeType runtimeType(const Opt_LabelStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_PopupOptions_CustomPopupOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_LongPressGestureEvent& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_PopupOptions_CustomPopupOptions: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_PopupOptions_CustomPopupOptions* value) { - result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); - result->append(", "); - // Ark_PopupOptions - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_CustomPopupOptions - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } - result->append("}"); +inline void WriteToString(std::string* result, const Ark_LongPressGestureEvent value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_Union_PopupOptions_CustomPopupOptions* value) { +inline void WriteToString(std::string* result, const Opt_LongPressGestureEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -56300,45 +57810,117 @@ inline void WriteToString(std::string* result, const Opt_Union_PopupOptions_Cust result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_PopupOptions_CustomPopupOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_LongPressGestureEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_String_ImageAttachment_CustomSpan& value) +inline Ark_RuntimeType runtimeType(const Ark_MenuOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - case 2: return runtimeType(value.value2); - default: INTEROP_FATAL("Bad selector in Ark_Union_String_ImageAttachment_CustomSpan: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_String_ImageAttachment_CustomSpan* value) { +inline void WriteToString(std::string* result, const Ark_MenuOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Position offset + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_Placement placement result->append(", "); - // Ark_String - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_ImageAttachment - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, value->value1); - } - // Ark_CustomSpan - if (value->selector == 2) { - result->append(".value2="); - WriteToString(result, value->value2); - } + result->append(".placement="); + WriteToString(result, &value->placement); + // Ark_Boolean enableArrow + result->append(", "); + result->append(".enableArrow="); + WriteToString(result, &value->enableArrow); + // Ark_Length arrowOffset + result->append(", "); + result->append(".arrowOffset="); + WriteToString(result, &value->arrowOffset); + // Ark_Union_MenuPreviewMode_CustomBuilder preview + result->append(", "); + result->append(".preview="); + WriteToString(result, &value->preview); + // Ark_BorderRadiusType previewBorderRadius + result->append(", "); + result->append(".previewBorderRadius="); + WriteToString(result, &value->previewBorderRadius); + // Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses borderRadius + result->append(", "); + result->append(".borderRadius="); + WriteToString(result, &value->borderRadius); + // Callback_Void onAppear + result->append(", "); + result->append(".onAppear="); + WriteToString(result, &value->onAppear); + // Callback_Void onDisappear + result->append(", "); + result->append(".onDisappear="); + WriteToString(result, &value->onDisappear); + // Callback_Void aboutToAppear + result->append(", "); + result->append(".aboutToAppear="); + WriteToString(result, &value->aboutToAppear); + // Callback_Void aboutToDisappear + result->append(", "); + result->append(".aboutToDisappear="); + WriteToString(result, &value->aboutToDisappear); + // Ark_Padding layoutRegionMargin + result->append(", "); + result->append(".layoutRegionMargin="); + WriteToString(result, &value->layoutRegionMargin); + // Ark_ContextMenuAnimationOptions previewAnimationOptions + result->append(", "); + result->append(".previewAnimationOptions="); + WriteToString(result, &value->previewAnimationOptions); + // Ark_ResourceColor backgroundColor + result->append(", "); + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_BlurStyle backgroundBlurStyle + result->append(", "); + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions + result->append(", "); + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect + result->append(", "); + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // Ark_TransitionEffect transition + result->append(", "); + result->append(".transition="); + WriteToString(result, &value->transition); + // Ark_Boolean enableHoverMode + result->append(", "); + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_Union_ResourceColor_EdgeColors outlineColor + result->append(", "); + result->append(".outlineColor="); + WriteToString(result, &value->outlineColor); + // Ark_Union_Dimension_EdgeOutlineWidths outlineWidth + result->append(", "); + result->append(".outlineWidth="); + WriteToString(result, &value->outlineWidth); + // Ark_HapticFeedbackMode hapticFeedbackMode + result->append(", "); + result->append(".hapticFeedbackMode="); + WriteToString(result, &value->hapticFeedbackMode); + // Ark_ResourceStr title + result->append(", "); + result->append(".title="); + WriteToString(result, &value->title); + // Ark_Boolean showInSubWindow + result->append(", "); + result->append(".showInSubWindow="); + WriteToString(result, &value->showInSubWindow); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_String_ImageAttachment_CustomSpan* value) { +inline void WriteToString(std::string* result, const Opt_MenuOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56351,39 +57933,29 @@ inline void WriteToString(std::string* result, const Opt_Union_String_ImageAttac result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_String_ImageAttachment_CustomSpan& value) +inline Ark_RuntimeType runtimeType(const Opt_MenuOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_SubTabBarStyle_BottomTabBarStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_MenuOutlineOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_SubTabBarStyle_BottomTabBarStyle: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_SubTabBarStyle_BottomTabBarStyle* value) { +inline void WriteToString(std::string* result, const Ark_MenuOutlineOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Union_Dimension_EdgeOutlineWidths width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Union_ResourceColor_EdgeColors color result->append(", "); - // Ark_SubTabBarStyle - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); - } - // Ark_BottomTabBarStyle - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); - } + result->append(".color="); + WriteToString(result, &value->color); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_SubTabBarStyle_BottomTabBarStyle* value) { +inline void WriteToString(std::string* result, const Opt_MenuOutlineOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56396,34 +57968,26 @@ inline void WriteToString(std::string* result, const Opt_Union_SubTabBarStyle_Bo result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_SubTabBarStyle_BottomTabBarStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_MenuOutlineOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WithThemeOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_MouseEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_WithThemeOptions* value) { - result->append("{"); - // Ark_CustomTheme theme - result->append(".theme="); - WriteToString(result, &value->theme); - // Ark_ThemeColorMode colorMode - result->append(", "); - result->append(".colorMode="); - WriteToString(result, &value->colorMode); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_MouseEvent value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_WithThemeOptions* value) { +inline void WriteToString(std::string* result, const Opt_MouseEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -56431,33 +57995,57 @@ inline void WriteToString(std::string* result, const Opt_WithThemeOptions* value result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WithThemeOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_MouseEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedInfo& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanOptions* value) { +inline void WriteToString(std::string* result, const Ark_NativeEmbedInfo* value) { result->append("{"); - // Ark_Number offset - result->append(".offset="); - WriteToString(result, &value->offset); - // Ark_RichEditorImageSpanStyle imageStyle + // Ark_String id + result->append(".id="); + WriteToString(result, &value->id); + // Ark_String type result->append(", "); - result->append(".imageStyle="); - WriteToString(result, &value->imageStyle); - // Ark_RichEditorGesture gesture + result->append(".type="); + WriteToString(result, &value->type); + // Ark_String src result->append(", "); - result->append(".gesture="); - WriteToString(result, &value->gesture); + result->append(".src="); + WriteToString(result, &value->src); + // Ark_Position position + result->append(", "); + result->append(".position="); + WriteToString(result, &value->position); + // Ark_Number width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Number height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_String url + result->append(", "); + result->append(".url="); + WriteToString(result, &value->url); + // Ark_String tag + result->append(", "); + result->append(".tag="); + WriteToString(result, &value->tag); + // Map_String_String params + result->append(", "); + result->append(".params="); + WriteToString(result, &value->params); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanOptions* value) { +inline void WriteToString(std::string* result, const Opt_NativeEmbedInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56470,41 +58058,25 @@ inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanOpti result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedInfo& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanResult& value) +inline Ark_RuntimeType runtimeType(const Ark_NavigationMenuOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanResult* value) { +inline void WriteToString(std::string* result, const Ark_NavigationMenuOptions* value) { result->append("{"); - // Ark_RichEditorSpanPosition spanPosition - result->append(".spanPosition="); - WriteToString(result, &value->spanPosition); - // Ark_PixelMap valuePixelMap - result->append(", "); - result->append(".valuePixelMap="); - WriteToString(result, &value->valuePixelMap); - // Ark_ResourceStr valueResourceStr - result->append(", "); - result->append(".valueResourceStr="); - WriteToString(result, &value->valueResourceStr); - // Ark_RichEditorImageSpanStyleResult imageStyle - result->append(", "); - result->append(".imageStyle="); - WriteToString(result, &value->imageStyle); - // Ark_Tuple_Number_Number offsetInSpan - result->append(", "); - result->append(".offsetInSpan="); - WriteToString(result, &value->offsetInSpan); + // Ark_MoreButtonOptions moreButtonOptions + result->append(".moreButtonOptions="); + WriteToString(result, &value->moreButtonOptions); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanResult* value) { +inline void WriteToString(std::string* result, const Opt_NavigationMenuOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56517,29 +58089,49 @@ inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanResu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanResult& value) +inline Ark_RuntimeType runtimeType(const Opt_NavigationMenuOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorParagraphResult& value) +inline Ark_RuntimeType runtimeType(const Ark_NavigationToolbarOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorParagraphResult* value) { +inline void WriteToString(std::string* result, const Ark_NavigationToolbarOptions* value) { result->append("{"); - // Ark_RichEditorParagraphStyle style - result->append(".style="); - WriteToString(result, &value->style); - // Ark_Tuple_Number_Number range + // Ark_ResourceColor backgroundColor + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_BlurStyle backgroundBlurStyle result->append(", "); - result->append(".range="); - WriteToString(result, &value->range); + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions + result->append(", "); + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect + result->append(", "); + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // Ark_MoreButtonOptions moreButtonOptions + result->append(", "); + result->append(".moreButtonOptions="); + WriteToString(result, &value->moreButtonOptions); + // Ark_BarStyle barStyle + result->append(", "); + result->append(".barStyle="); + WriteToString(result, &value->barStyle); + // Ark_Boolean hideItemValue + result->append(", "); + result->append(".hideItemValue="); + WriteToString(result, &value->hideItemValue); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorParagraphResult* value) { +inline void WriteToString(std::string* result, const Opt_NavigationToolbarOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56552,37 +58144,37 @@ inline void WriteToString(std::string* result, const Opt_RichEditorParagraphResu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorParagraphResult& value) +inline Ark_RuntimeType runtimeType(const Opt_NavigationToolbarOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextSpanOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_OutlineOptions& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorTextSpanOptions* value) { +inline void WriteToString(std::string* result, const Ark_OutlineOptions* value) { result->append("{"); - // Ark_Number offset - result->append(".offset="); - WriteToString(result, &value->offset); - // Ark_RichEditorTextStyle style + // Ark_Union_EdgeOutlineWidths_Dimension width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors color result->append(", "); - result->append(".style="); - WriteToString(result, &value->style); - // Ark_RichEditorParagraphStyle paragraphStyle + result->append(".color="); + WriteToString(result, &value->color); + // Ark_Union_OutlineRadiuses_Dimension radius result->append(", "); - result->append(".paragraphStyle="); - WriteToString(result, &value->paragraphStyle); - // Ark_RichEditorGesture gesture + result->append(".radius="); + WriteToString(result, &value->radius); + // Ark_Union_EdgeOutlineStyles_OutlineStyle style result->append(", "); - result->append(".gesture="); - WriteToString(result, &value->gesture); + result->append(".style="); + WriteToString(result, &value->style); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorTextSpanOptions* value) { +inline void WriteToString(std::string* result, const Opt_OutlineOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56595,58 +58187,26 @@ inline void WriteToString(std::string* result, const Opt_RichEditorTextSpanOptio result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextSpanOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_OutlineOptions& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextSpanResult& value) +inline Ark_RuntimeType runtimeType(const Ark_PanGestureEvent& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorTextSpanResult* value) { - result->append("{"); - // Ark_RichEditorSpanPosition spanPosition - result->append(".spanPosition="); - WriteToString(result, &value->spanPosition); - // Ark_String value - result->append(", "); - result->append(".value="); - WriteToString(result, &value->value); - // Ark_RichEditorTextStyleResult textStyle - result->append(", "); - result->append(".textStyle="); - WriteToString(result, &value->textStyle); - // Ark_Tuple_Number_Number offsetInSpan - result->append(", "); - result->append(".offsetInSpan="); - WriteToString(result, &value->offsetInSpan); - // Ark_RichEditorSymbolSpanStyle symbolSpanStyle - result->append(", "); - result->append(".symbolSpanStyle="); - WriteToString(result, &value->symbolSpanStyle); - // Ark_Resource valueResource - result->append(", "); - result->append(".valueResource="); - WriteToString(result, &value->valueResource); - // Ark_RichEditorParagraphStyle paragraphStyle - result->append(", "); - result->append(".paragraphStyle="); - WriteToString(result, &value->paragraphStyle); - // Ark_String previewText - result->append(", "); - result->append(".previewText="); - WriteToString(result, &value->previewText); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_PanGestureEvent value) { + WriteToString(result, static_cast(value)); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorTextSpanResult* value) { +inline void WriteToString(std::string* result, const Opt_PanGestureEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -56654,37 +58214,76 @@ inline void WriteToString(std::string* result, const Opt_RichEditorTextSpanResul result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextSpanResult& value) +inline Ark_RuntimeType runtimeType(const Opt_PanGestureEvent& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SpanStyle& value) +inline Ark_RuntimeType runtimeType(const Ark_ParagraphStyle& value) { return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SpanStyle* value) { +inline void WriteToString(std::string* result, const Ark_ParagraphStyle value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_ParagraphStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ParagraphStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ParagraphStyleInterface& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ParagraphStyleInterface* value) { result->append("{"); - // Ark_Number start - result->append(".start="); - WriteToString(result, &value->start); - // Ark_Number length + // Ark_TextAlign textAlign + result->append(".textAlign="); + WriteToString(result, &value->textAlign); + // Ark_LengthMetrics textIndent result->append(", "); - result->append(".length="); - WriteToString(result, &value->length); - // Ark_StyledStringKey styledKey + result->append(".textIndent="); + WriteToString(result, &value->textIndent); + // Ark_Number maxLines result->append(", "); - result->append(".styledKey="); - WriteToString(result, value->styledKey); - // Ark_StyledStringValue styledValue + result->append(".maxLines="); + WriteToString(result, &value->maxLines); + // Ark_TextOverflow overflow result->append(", "); - result->append(".styledValue="); - WriteToString(result, &value->styledValue); + result->append(".overflow="); + WriteToString(result, &value->overflow); + // Ark_WordBreak wordBreak + result->append(", "); + result->append(".wordBreak="); + WriteToString(result, &value->wordBreak); + // Ark_Union_LengthMetrics_LeadingMarginPlaceholder leadingMargin + result->append(", "); + result->append(".leadingMargin="); + WriteToString(result, &value->leadingMargin); + // Ark_LengthMetrics paragraphSpacing + result->append(", "); + result->append(".paragraphSpacing="); + WriteToString(result, &value->paragraphSpacing); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SpanStyle* value) { +inline void WriteToString(std::string* result, const Opt_ParagraphStyleInterface* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56697,39 +58296,162 @@ inline void WriteToString(std::string* result, const Opt_SpanStyle* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SpanStyle& value) +inline Ark_RuntimeType runtimeType(const Opt_ParagraphStyleInterface& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_RichEditorImageSpanResult_RichEditorTextSpanResult& value) +inline Ark_RuntimeType runtimeType(const Ark_PickerDialogButtonStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_RichEditorImageSpanResult_RichEditorTextSpanResult: %d", value.selector); + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PickerDialogButtonStyle* value) { + result->append("{"); + // Ark_ButtonType type + result->append(".type="); + WriteToString(result, &value->type); + // Ark_ButtonStyleMode style + result->append(", "); + result->append(".style="); + WriteToString(result, &value->style); + // Ark_ButtonRole role + result->append(", "); + result->append(".role="); + WriteToString(result, &value->role); + // Ark_Length fontSize + result->append(", "); + result->append(".fontSize="); + WriteToString(result, &value->fontSize); + // Ark_ResourceColor fontColor + result->append(", "); + result->append(".fontColor="); + WriteToString(result, &value->fontColor); + // Ark_Union_FontWeight_Number_String fontWeight + result->append(", "); + result->append(".fontWeight="); + WriteToString(result, &value->fontWeight); + // Ark_FontStyle fontStyle + result->append(", "); + result->append(".fontStyle="); + WriteToString(result, &value->fontStyle); + // Ark_Union_Resource_String fontFamily + result->append(", "); + result->append(".fontFamily="); + WriteToString(result, &value->fontFamily); + // Ark_ResourceColor backgroundColor + result->append(", "); + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_Union_Length_BorderRadiuses borderRadius + result->append(", "); + result->append(".borderRadius="); + WriteToString(result, &value->borderRadius); + // Ark_Boolean primary + result->append(", "); + result->append(".primary="); + WriteToString(result, &value->primary); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PickerDialogButtonStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); } + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Ark_Union_RichEditorImageSpanResult_RichEditorTextSpanResult* value) { +inline Ark_RuntimeType runtimeType(const Opt_PickerDialogButtonStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_PickerTextStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PickerTextStyle* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_ResourceColor color + result->append(".color="); + WriteToString(result, &value->color); + // Ark_Font font result->append(", "); - // Ark_RichEditorImageSpanResult - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); + result->append(".font="); + WriteToString(result, &value->font); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PickerTextStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); } - // Ark_RichEditorTextSpanResult - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PickerTextStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_PinchGestureEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PinchGestureEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_PinchGestureEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_RichEditorImageSpanResult_RichEditorTextSpanResult* value) { +inline Ark_RuntimeType runtimeType(const Opt_PinchGestureEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_PlaceholderStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PlaceholderStyle* value) { + result->append("{"); + // Ark_Font font + result->append(".font="); + WriteToString(result, &value->font); + // Ark_ResourceColor fontColor + result->append(", "); + result->append(".fontColor="); + WriteToString(result, &value->fontColor); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PlaceholderStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56742,39 +58464,99 @@ inline void WriteToString(std::string* result, const Opt_Union_RichEditorImageSp result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_RichEditorImageSpanResult_RichEditorTextSpanResult& value) +inline Ark_RuntimeType runtimeType(const Opt_PlaceholderStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) +inline Ark_RuntimeType runtimeType(const Ark_PopupMessageOptions& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult: %d", value.selector); - } + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult* value) { +inline void WriteToString(std::string* result, const Ark_PopupMessageOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_ResourceColor textColor + result->append(".textColor="); + WriteToString(result, &value->textColor); + // Ark_Font font result->append(", "); - // Ark_RichEditorTextSpanResult - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); + result->append(".font="); + WriteToString(result, &value->font); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PopupMessageOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); } - // Ark_RichEditorImageSpanResult - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PopupMessageOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ResizableOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ResizableOptions* value) { + result->append("{"); + // Ark_EdgeWidths slice + result->append(".slice="); + WriteToString(result, &value->slice); + // Ark_DrawingLattice lattice + result->append(", "); + result->append(".lattice="); + WriteToString(result, &value->lattice); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ResizableOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_RichEditorTextSpanResult_RichEditorImageSpanResult* value) { +inline Ark_RuntimeType runtimeType(const Opt_ResizableOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorLayoutStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorLayoutStyle* value) { + result->append("{"); + // Ark_Union_Dimension_Margin margin + result->append(".margin="); + WriteToString(result, &value->margin); + // Ark_Union_Dimension_BorderRadiuses borderRadius + result->append(", "); + result->append(".borderRadius="); + WriteToString(result, &value->borderRadius); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorLayoutStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56787,39 +58569,142 @@ inline void WriteToString(std::string* result, const Opt_Union_RichEditorTextSpa result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) +inline Ark_RuntimeType runtimeType(const Opt_RichEditorLayoutStyle& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RichEditorSpan& value) +inline Ark_RuntimeType runtimeType(const Ark_RichEditorParagraphStyle& value) { - switch (value.selector) { - case 0: return runtimeType(value.value0); - case 1: return runtimeType(value.value1); - default: INTEROP_FATAL("Bad selector in Ark_RichEditorSpan: %d", value.selector); + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorParagraphStyle* value) { + result->append("{"); + // Ark_TextAlign textAlign + result->append(".textAlign="); + WriteToString(result, &value->textAlign); + // Ark_Union_Dimension_LeadingMarginPlaceholder leadingMargin + result->append(", "); + result->append(".leadingMargin="); + WriteToString(result, &value->leadingMargin); + // Ark_WordBreak wordBreak + result->append(", "); + result->append(".wordBreak="); + WriteToString(result, &value->wordBreak); + // Ark_LineBreakStrategy lineBreakStrategy + result->append(", "); + result->append(".lineBreakStrategy="); + WriteToString(result, &value->lineBreakStrategy); + // Ark_Number paragraphSpacing + result->append(", "); + result->append(".paragraphSpacing="); + WriteToString(result, &value->paragraphSpacing); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorParagraphStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); } + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Ark_RichEditorSpan* value) { +inline Ark_RuntimeType runtimeType(const Opt_RichEditorParagraphStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorParagraphStyleOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorParagraphStyleOptions* value) { result->append("{"); - result->append(".selector="); - result->append(std::to_string(value->selector)); + // Ark_Number start + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Number end result->append(", "); - // Ark_RichEditorImageSpanResult - if (value->selector == 0) { - result->append(".value0="); - WriteToString(result, &value->value0); + result->append(".end="); + WriteToString(result, &value->end); + // Ark_RichEditorParagraphStyle style + result->append(", "); + result->append(".style="); + WriteToString(result, &value->style); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorParagraphStyleOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); } - // Ark_RichEditorTextSpanResult - if (value->selector == 1) { - result->append(".value1="); - WriteToString(result, &value->value1); + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorParagraphStyleOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RotationGestureEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RotationGestureEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_RotationGestureEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); } result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_RichEditorSpan* value) { +inline Ark_RuntimeType runtimeType(const Opt_RotationGestureEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RunMetrics& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RunMetrics* value) { + result->append("{"); + // Ark_text_TextStyle textStyle + result->append(".textStyle="); + WriteToString(result, &value->textStyle); + // Ark_FontMetrics fontMetrics + result->append(", "); + result->append(".fontMetrics="); + WriteToString(result, &value->fontMetrics); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RunMetrics* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); @@ -56832,22 +58717,3310 @@ inline void WriteToString(std::string* result, const Opt_RichEditorSpan* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RichEditorSpan& value) +inline Ark_RuntimeType runtimeType(const Opt_RunMetrics& value) { return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } - - -// Serializers - -class Serializer : public SerializerBase { - public: - Serializer(CallbackResourceHolder* resourceHolder = nullptr) : SerializerBase(resourceHolder) { - } - public: - Serializer(KSerializerBuffer data, Ark_UInt32 dataLength = 0, CallbackResourceHolder* resourceHolder = nullptr) : SerializerBase(data, dataLength, resourceHolder) { +template <> +inline Ark_RuntimeType runtimeType(const Ark_SectionOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SectionOptions* value) { + result->append("{"); + // Ark_Number itemsCount + result->append(".itemsCount="); + WriteToString(result, &value->itemsCount); + // Ark_Number crossCount + result->append(", "); + result->append(".crossCount="); + WriteToString(result, &value->crossCount); + // GetItemMainSizeByIndex onGetItemMainSizeByIndex + result->append(", "); + result->append(".onGetItemMainSizeByIndex="); + WriteToString(result, &value->onGetItemMainSizeByIndex); + // Ark_Dimension columnsGap + result->append(", "); + result->append(".columnsGap="); + WriteToString(result, &value->columnsGap); + // Ark_Dimension rowsGap + result->append(", "); + result->append(".rowsGap="); + WriteToString(result, &value->rowsGap); + // Ark_Union_Margin_Dimension margin + result->append(", "); + result->append(".margin="); + WriteToString(result, &value->margin); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SectionOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); } - void writeAlphabetIndexerAttribute(Ark_AlphabetIndexerAttribute value) + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SectionOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SheetOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SheetOptions* value) { + result->append("{"); + // Ark_ResourceColor backgroundColor + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Callback_Void onAppear + result->append(", "); + result->append(".onAppear="); + WriteToString(result, &value->onAppear); + // Callback_Void onDisappear + result->append(", "); + result->append(".onDisappear="); + WriteToString(result, &value->onDisappear); + // Callback_Void onWillAppear + result->append(", "); + result->append(".onWillAppear="); + WriteToString(result, &value->onWillAppear); + // Callback_Void onWillDisappear + result->append(", "); + result->append(".onWillDisappear="); + WriteToString(result, &value->onWillDisappear); + // Ark_Union_SheetSize_Length height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_Boolean dragBar + result->append(", "); + result->append(".dragBar="); + WriteToString(result, &value->dragBar); + // Ark_ResourceColor maskColor + result->append(", "); + result->append(".maskColor="); + WriteToString(result, &value->maskColor); + // Ark_Type_SheetOptions_detents detents + result->append(", "); + result->append(".detents="); + WriteToString(result, &value->detents); + // Ark_BlurStyle blurStyle + result->append(", "); + result->append(".blurStyle="); + WriteToString(result, &value->blurStyle); + // Ark_Union_Boolean_Resource showClose + result->append(", "); + result->append(".showClose="); + WriteToString(result, &value->showClose); + // Ark_SheetType preferType + result->append(", "); + result->append(".preferType="); + WriteToString(result, &value->preferType); + // Ark_Union_SheetTitleOptions_CustomBuilder title + result->append(", "); + result->append(".title="); + WriteToString(result, &value->title); + // Callback_SheetDismiss_Void shouldDismiss + result->append(", "); + result->append(".shouldDismiss="); + WriteToString(result, &value->shouldDismiss); + // Callback_DismissSheetAction_Void onWillDismiss + result->append(", "); + result->append(".onWillDismiss="); + WriteToString(result, &value->onWillDismiss); + // Callback_SpringBackAction_Void onWillSpringBackWhenDismiss + result->append(", "); + result->append(".onWillSpringBackWhenDismiss="); + WriteToString(result, &value->onWillSpringBackWhenDismiss); + // Ark_Boolean enableOutsideInteractive + result->append(", "); + result->append(".enableOutsideInteractive="); + WriteToString(result, &value->enableOutsideInteractive); + // Ark_Dimension width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth + result->append(", "); + result->append(".borderWidth="); + WriteToString(result, &value->borderWidth); + // Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor + result->append(", "); + result->append(".borderColor="); + WriteToString(result, &value->borderColor); + // Ark_Union_BorderStyle_EdgeStyles borderStyle + result->append(", "); + result->append(".borderStyle="); + WriteToString(result, &value->borderStyle); + // Ark_Union_ShadowOptions_ShadowStyle shadow + result->append(", "); + result->append(".shadow="); + WriteToString(result, &value->shadow); + // Callback_Number_Void onHeightDidChange + result->append(", "); + result->append(".onHeightDidChange="); + WriteToString(result, &value->onHeightDidChange); + // Ark_SheetMode mode + result->append(", "); + result->append(".mode="); + WriteToString(result, &value->mode); + // Ark_ScrollSizeMode scrollSizeMode + result->append(", "); + result->append(".scrollSizeMode="); + WriteToString(result, &value->scrollSizeMode); + // Callback_Number_Void onDetentsDidChange + result->append(", "); + result->append(".onDetentsDidChange="); + WriteToString(result, &value->onDetentsDidChange); + // Callback_Number_Void onWidthDidChange + result->append(", "); + result->append(".onWidthDidChange="); + WriteToString(result, &value->onWidthDidChange); + // Callback_SheetType_Void onTypeDidChange + result->append(", "); + result->append(".onTypeDidChange="); + WriteToString(result, &value->onTypeDidChange); + // Ark_UIContext uiContext + result->append(", "); + result->append(".uiContext="); + WriteToString(result, &value->uiContext); + // Ark_SheetKeyboardAvoidMode keyboardAvoidMode + result->append(", "); + result->append(".keyboardAvoidMode="); + WriteToString(result, &value->keyboardAvoidMode); + // Ark_Boolean enableHoverMode + result->append(", "); + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_HoverModeAreaType hoverModeArea + result->append(", "); + result->append(".hoverModeArea="); + WriteToString(result, &value->hoverModeArea); + // Ark_Position offset + result->append(", "); + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_Number effectEdge + result->append(", "); + result->append(".effectEdge="); + WriteToString(result, &value->effectEdge); + // Ark_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses radius + result->append(", "); + result->append(".radius="); + WriteToString(result, &value->radius); + // Ark_Union_SheetSize_Length detentSelection + result->append(", "); + result->append(".detentSelection="); + WriteToString(result, &value->detentSelection); + // Ark_Boolean showInSubWindow + result->append(", "); + result->append(".showInSubWindow="); + WriteToString(result, &value->showInSubWindow); + // Ark_Placement placement + result->append(", "); + result->append(".placement="); + WriteToString(result, &value->placement); + // Ark_Boolean placementOnTarget + result->append(", "); + result->append(".placementOnTarget="); + WriteToString(result, &value->placementOnTarget); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SheetOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SheetOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SwipeActionOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SwipeActionOptions* value) { + result->append("{"); + // Ark_Union_CustomBuilder_SwipeActionItem start + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Union_CustomBuilder_SwipeActionItem end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); + // Ark_SwipeEdgeEffect edgeEffect + result->append(", "); + result->append(".edgeEffect="); + WriteToString(result, &value->edgeEffect); + // Callback_Number_Void onOffsetChange + result->append(", "); + result->append(".onOffsetChange="); + WriteToString(result, &value->onOffsetChange); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SwipeActionOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SwipeActionOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SwipeGestureEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SwipeGestureEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_SwipeGestureEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SwipeGestureEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TapGestureEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TapGestureEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_TapGestureEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TapGestureEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TextBackgroundStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TextBackgroundStyle* value) { + result->append("{"); + // Ark_ResourceColor color + result->append(".color="); + WriteToString(result, &value->color); + // Ark_Union_Dimension_BorderRadiuses radius + result->append(", "); + result->append(".radius="); + WriteToString(result, &value->radius); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextBackgroundStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TextBackgroundStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TextPickerTextStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TextPickerTextStyle* value) { + result->append("{"); + // Ark_ResourceColor color + result->append(".color="); + WriteToString(result, &value->color); + // Ark_Font font + result->append(", "); + result->append(".font="); + WriteToString(result, &value->font); + // Ark_Union_Number_String_Resource minFontSize + result->append(", "); + result->append(".minFontSize="); + WriteToString(result, &value->minFontSize); + // Ark_Union_Number_String_Resource maxFontSize + result->append(", "); + result->append(".maxFontSize="); + WriteToString(result, &value->maxFontSize); + // Ark_TextOverflow overflow + result->append(", "); + result->append(".overflow="); + WriteToString(result, &value->overflow); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextPickerTextStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TextPickerTextStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TouchEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TouchEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_TouchEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TouchEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Type_AlertDialog_show_value& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Type_AlertDialog_show_value: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Type_AlertDialog_show_value* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_AlertDialogParamWithConfirm + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_AlertDialogParamWithButtons + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_AlertDialogParamWithOptions + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Type_AlertDialog_show_value* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Type_AlertDialog_show_value& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Type_SwiperAttribute_indicator_indicator& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + case 3: return runtimeType(value.value3); + default: INTEROP_FATAL("Bad selector in Ark_Type_SwiperAttribute_indicator_indicator: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Type_SwiperAttribute_indicator_indicator* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_IndicatorComponentController + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_DotIndicator + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_DigitIndicator + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + // Ark_Boolean + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, value->value3); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Type_SwiperAttribute_indicator_indicator* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Type_SwiperAttribute_indicator_indicator& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_CancelButtonOptions + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_CancelButtonSymbolOptions + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_DotIndicator_DigitIndicator& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_DotIndicator_DigitIndicator: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_DotIndicator_DigitIndicator* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_DotIndicator + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_DigitIndicator + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_DigitIndicator* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_DotIndicator_DigitIndicator& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_DotIndicator_DigitIndicator_Boolean& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_DotIndicator_DigitIndicator_Boolean: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_DotIndicator_DigitIndicator_Boolean* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_DotIndicator + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_DigitIndicator + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_Boolean + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, value->value2); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_DigitIndicator_Boolean* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_DotIndicator_DigitIndicator_Boolean& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_Length_GutterOption& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_Length_GutterOption: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_Length_GutterOption* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_Length + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_GutterOption + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_Length_GutterOption* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_Length_GutterOption& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + case 3: return runtimeType(value.value3); + default: INTEROP_FATAL("Bad selector in Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_LinearStyleOptions + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_RingStyleOptions + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_CapsuleStyleOptions + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + // Ark_ProgressStyleOptions + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, &value->value3); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WithThemeOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_WithThemeOptions* value) { + result->append("{"); + // Ark_CustomTheme theme + result->append(".theme="); + WriteToString(result, &value->theme); + // Ark_ThemeColorMode colorMode + result->append(", "); + result->append(".colorMode="); + WriteToString(result, &value->colorMode); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WithThemeOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WithThemeOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_AccessibilityHoverEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_AccessibilityHoverEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_AccessibilityHoverEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AccessibilityHoverEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_AxisEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_AxisEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_AxisEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AxisEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_BackgroundColorStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_BackgroundColorStyle value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_BackgroundColorStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_BackgroundColorStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_BaseEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_BaseEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_BaseEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_BaseEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_BaseGestureEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_BaseGestureEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_BaseGestureEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_BaseGestureEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_BottomTabBarStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_BottomTabBarStyle* value) { + result->append("{"); + // Ark_Union_ResourceStr_TabBarSymbol _icon + result->append("._icon="); + WriteToString(result, &value->_icon); + // Ark_ResourceStr _text + result->append(", "); + result->append("._text="); + WriteToString(result, &value->_text); + // Ark_LabelStyle _labelStyle + result->append(", "); + result->append("._labelStyle="); + WriteToString(result, &value->_labelStyle); + // Ark_Union_Padding_Dimension_LocalizedPadding _padding + result->append(", "); + result->append("._padding="); + WriteToString(result, &value->_padding); + // Ark_LayoutMode _layoutMode + result->append(", "); + result->append("._layoutMode="); + WriteToString(result, &value->_layoutMode); + // Ark_VerticalAlign _verticalAlign + result->append(", "); + result->append("._verticalAlign="); + WriteToString(result, &value->_verticalAlign); + // Ark_Boolean _symmetricExtensible + result->append(", "); + result->append("._symmetricExtensible="); + WriteToString(result, &value->_symmetricExtensible); + // Ark_String _id + result->append(", "); + result->append("._id="); + WriteToString(result, &value->_id); + // Ark_TabBarIconStyle _iconStyle + result->append(", "); + result->append("._iconStyle="); + WriteToString(result, &value->_iconStyle); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_BottomTabBarStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_BottomTabBarStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_CalendarDialogOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CalendarDialogOptions* value) { + result->append("{"); + // Ark_Union_Number_Resource hintRadius + result->append(".hintRadius="); + WriteToString(result, &value->hintRadius); + // Ark_Date selected + result->append(", "); + result->append(".selected="); + WriteToString(result, &value->selected); + // Ark_Date start + result->append(", "); + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Date end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); + // Array_DateRange disabledDateRange + result->append(", "); + result->append(".disabledDateRange="); + WriteToString(result, &value->disabledDateRange); + // Callback_Date_Void onAccept + result->append(", "); + result->append(".onAccept="); + WriteToString(result, &value->onAccept); + // VoidCallback onCancel + result->append(", "); + result->append(".onCancel="); + WriteToString(result, &value->onCancel); + // Callback_Date_Void onChange + result->append(", "); + result->append(".onChange="); + WriteToString(result, &value->onChange); + // Ark_ResourceColor backgroundColor + result->append(", "); + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_BlurStyle backgroundBlurStyle + result->append(", "); + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions + result->append(", "); + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect + result->append(", "); + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // Ark_PickerDialogButtonStyle acceptButtonStyle + result->append(", "); + result->append(".acceptButtonStyle="); + WriteToString(result, &value->acceptButtonStyle); + // Ark_PickerDialogButtonStyle cancelButtonStyle + result->append(", "); + result->append(".cancelButtonStyle="); + WriteToString(result, &value->cancelButtonStyle); + // VoidCallback onDidAppear + result->append(", "); + result->append(".onDidAppear="); + WriteToString(result, &value->onDidAppear); + // VoidCallback onDidDisappear + result->append(", "); + result->append(".onDidDisappear="); + WriteToString(result, &value->onDidDisappear); + // VoidCallback onWillAppear + result->append(", "); + result->append(".onWillAppear="); + WriteToString(result, &value->onWillAppear); + // VoidCallback onWillDisappear + result->append(", "); + result->append(".onWillDisappear="); + WriteToString(result, &value->onWillDisappear); + // Ark_Union_ShadowOptions_ShadowStyle shadow + result->append(", "); + result->append(".shadow="); + WriteToString(result, &value->shadow); + // Ark_Boolean enableHoverMode + result->append(", "); + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_HoverModeAreaType hoverModeArea + result->append(", "); + result->append(".hoverModeArea="); + WriteToString(result, &value->hoverModeArea); + // Ark_Boolean markToday + result->append(", "); + result->append(".markToday="); + WriteToString(result, &value->markToday); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CalendarDialogOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CalendarDialogOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ClickEvent& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ClickEvent value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_ClickEvent* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ClickEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DatePickerDialogOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_DatePickerDialogOptions* value) { + result->append("{"); + // Ark_Date start + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Date end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); + // Ark_Date selected + result->append(", "); + result->append(".selected="); + WriteToString(result, &value->selected); + // Ark_DatePickerMode mode + result->append(", "); + result->append(".mode="); + WriteToString(result, &value->mode); + // Ark_Boolean lunar + result->append(", "); + result->append(".lunar="); + WriteToString(result, &value->lunar); + // Ark_Boolean lunarSwitch + result->append(", "); + result->append(".lunarSwitch="); + WriteToString(result, &value->lunarSwitch); + // Ark_LunarSwitchStyle lunarSwitchStyle + result->append(", "); + result->append(".lunarSwitchStyle="); + WriteToString(result, &value->lunarSwitchStyle); + // Ark_Boolean showTime + result->append(", "); + result->append(".showTime="); + WriteToString(result, &value->showTime); + // Ark_Boolean useMilitaryTime + result->append(", "); + result->append(".useMilitaryTime="); + WriteToString(result, &value->useMilitaryTime); + // Ark_PickerTextStyle disappearTextStyle + result->append(", "); + result->append(".disappearTextStyle="); + WriteToString(result, &value->disappearTextStyle); + // Ark_PickerTextStyle textStyle + result->append(", "); + result->append(".textStyle="); + WriteToString(result, &value->textStyle); + // Ark_PickerDialogButtonStyle acceptButtonStyle + result->append(", "); + result->append(".acceptButtonStyle="); + WriteToString(result, &value->acceptButtonStyle); + // Ark_PickerDialogButtonStyle cancelButtonStyle + result->append(", "); + result->append(".cancelButtonStyle="); + WriteToString(result, &value->cancelButtonStyle); + // Ark_PickerTextStyle selectedTextStyle + result->append(", "); + result->append(".selectedTextStyle="); + WriteToString(result, &value->selectedTextStyle); + // Ark_Rectangle maskRect + result->append(", "); + result->append(".maskRect="); + WriteToString(result, &value->maskRect); + // Ark_DialogAlignment alignment + result->append(", "); + result->append(".alignment="); + WriteToString(result, &value->alignment); + // Ark_Offset offset + result->append(", "); + result->append(".offset="); + WriteToString(result, &value->offset); + // Callback_DatePickerResult_Void onAccept + result->append(", "); + result->append(".onAccept="); + WriteToString(result, &value->onAccept); + // VoidCallback onCancel + result->append(", "); + result->append(".onCancel="); + WriteToString(result, &value->onCancel); + // Callback_DatePickerResult_Void onChange + result->append(", "); + result->append(".onChange="); + WriteToString(result, &value->onChange); + // Callback_Date_Void onDateAccept + result->append(", "); + result->append(".onDateAccept="); + WriteToString(result, &value->onDateAccept); + // Callback_Date_Void onDateChange + result->append(", "); + result->append(".onDateChange="); + WriteToString(result, &value->onDateChange); + // Ark_ResourceColor backgroundColor + result->append(", "); + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_BlurStyle backgroundBlurStyle + result->append(", "); + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions + result->append(", "); + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect + result->append(", "); + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // VoidCallback onDidAppear + result->append(", "); + result->append(".onDidAppear="); + WriteToString(result, &value->onDidAppear); + // VoidCallback onDidDisappear + result->append(", "); + result->append(".onDidDisappear="); + WriteToString(result, &value->onDidDisappear); + // VoidCallback onWillAppear + result->append(", "); + result->append(".onWillAppear="); + WriteToString(result, &value->onWillAppear); + // VoidCallback onWillDisappear + result->append(", "); + result->append(".onWillDisappear="); + WriteToString(result, &value->onWillDisappear); + // Ark_Union_ShadowOptions_ShadowStyle shadow + result->append(", "); + result->append(".shadow="); + WriteToString(result, &value->shadow); + // Ark_DateTimeOptions dateTimeOptions + result->append(", "); + result->append(".dateTimeOptions="); + WriteToString(result, &value->dateTimeOptions); + // Ark_Boolean enableHoverMode + result->append(", "); + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_HoverModeAreaType hoverModeArea + result->append(", "); + result->append(".hoverModeArea="); + WriteToString(result, &value->hoverModeArea); + // Ark_Boolean enableHapticFeedback + result->append(", "); + result->append(".enableHapticFeedback="); + WriteToString(result, &value->enableHapticFeedback); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DatePickerDialogOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_DatePickerDialogOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GridRowOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_GridRowOptions* value) { + result->append("{"); + // Ark_Union_Length_GutterOption gutter + result->append(".gutter="); + WriteToString(result, &value->gutter); + // Ark_Union_Number_GridRowColumnOption columns + result->append(", "); + result->append(".columns="); + WriteToString(result, &value->columns); + // Ark_BreakPoints breakpoints + result->append(", "); + result->append(".breakpoints="); + WriteToString(result, &value->breakpoints); + // Ark_GridRowDirection direction + result->append(", "); + result->append(".direction="); + WriteToString(result, &value->direction); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GridRowOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GridRowOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageAttachment& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageAttachment value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_ImageAttachment* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ImageAttachment& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageAttachmentInterface& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageAttachmentInterface* value) { + result->append("{"); + // Ark_PixelMap value + result->append(".value="); + WriteToString(result, value->value); + // Ark_SizeOptions size + result->append(", "); + result->append(".size="); + WriteToString(result, &value->size); + // Ark_ImageSpanAlignment verticalAlign + result->append(", "); + result->append(".verticalAlign="); + WriteToString(result, &value->verticalAlign); + // Ark_ImageFit objectFit + result->append(", "); + result->append(".objectFit="); + WriteToString(result, &value->objectFit); + // Ark_ImageAttachmentLayoutStyle layoutStyle + result->append(", "); + result->append(".layoutStyle="); + WriteToString(result, &value->layoutStyle); + // Ark_ColorFilterType colorFilter + result->append(", "); + result->append(".colorFilter="); + WriteToString(result, &value->colorFilter); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ImageAttachmentInterface* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ImageAttachmentInterface& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedDataInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_NativeEmbedDataInfo* value) { + result->append("{"); + // Ark_NativeEmbedStatus status + result->append(".status="); + WriteToString(result, &value->status); + // Ark_String surfaceId + result->append(", "); + result->append(".surfaceId="); + WriteToString(result, &value->surfaceId); + // Ark_String embedId + result->append(", "); + result->append(".embedId="); + WriteToString(result, &value->embedId); + // Ark_NativeEmbedInfo info + result->append(", "); + result->append(".info="); + WriteToString(result, &value->info); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NativeEmbedDataInfo* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedDataInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedTouchInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_NativeEmbedTouchInfo* value) { + result->append("{"); + // Ark_String embedId + result->append(".embedId="); + WriteToString(result, &value->embedId); + // Ark_TouchEvent touchEvent + result->append(", "); + result->append(".touchEvent="); + WriteToString(result, &value->touchEvent); + // Ark_EventResult result + result->append(", "); + result->append(".result="); + WriteToString(result, &value->result); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NativeEmbedTouchInfo* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedTouchInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_PopupOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PopupOptions* value) { + result->append("{"); + // Ark_String message + result->append(".message="); + WriteToString(result, &value->message); + // Ark_Boolean placementOnTop + result->append(", "); + result->append(".placementOnTop="); + WriteToString(result, &value->placementOnTop); + // Ark_Placement placement + result->append(", "); + result->append(".placement="); + WriteToString(result, &value->placement); + // Ark_Literal_String_value_Callback_Void_action primaryButton + result->append(", "); + result->append(".primaryButton="); + WriteToString(result, &value->primaryButton); + // Ark_Literal_String_value_Callback_Void_action secondaryButton + result->append(", "); + result->append(".secondaryButton="); + WriteToString(result, &value->secondaryButton); + // Callback_Literal_Boolean_isVisible_Void onStateChange + result->append(", "); + result->append(".onStateChange="); + WriteToString(result, &value->onStateChange); + // Ark_Length arrowOffset + result->append(", "); + result->append(".arrowOffset="); + WriteToString(result, &value->arrowOffset); + // Ark_Boolean showInSubWindow + result->append(", "); + result->append(".showInSubWindow="); + WriteToString(result, &value->showInSubWindow); + // Ark_Union_Boolean_Literal_ResourceColor_color mask + result->append(", "); + result->append(".mask="); + WriteToString(result, &value->mask); + // Ark_PopupMessageOptions messageOptions + result->append(", "); + result->append(".messageOptions="); + WriteToString(result, &value->messageOptions); + // Ark_Length targetSpace + result->append(", "); + result->append(".targetSpace="); + WriteToString(result, &value->targetSpace); + // Ark_Boolean enableArrow + result->append(", "); + result->append(".enableArrow="); + WriteToString(result, &value->enableArrow); + // Ark_Position offset + result->append(", "); + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_Union_Color_String_Resource_Number popupColor + result->append(", "); + result->append(".popupColor="); + WriteToString(result, &value->popupColor); + // Ark_Boolean autoCancel + result->append(", "); + result->append(".autoCancel="); + WriteToString(result, &value->autoCancel); + // Ark_Dimension width + result->append(", "); + result->append(".width="); + WriteToString(result, &value->width); + // Ark_ArrowPointPosition arrowPointPosition + result->append(", "); + result->append(".arrowPointPosition="); + WriteToString(result, &value->arrowPointPosition); + // Ark_Dimension arrowWidth + result->append(", "); + result->append(".arrowWidth="); + WriteToString(result, &value->arrowWidth); + // Ark_Dimension arrowHeight + result->append(", "); + result->append(".arrowHeight="); + WriteToString(result, &value->arrowHeight); + // Ark_Dimension radius + result->append(", "); + result->append(".radius="); + WriteToString(result, &value->radius); + // Ark_Union_ShadowOptions_ShadowStyle shadow + result->append(", "); + result->append(".shadow="); + WriteToString(result, &value->shadow); + // Ark_BlurStyle backgroundBlurStyle + result->append(", "); + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_TransitionEffect transition + result->append(", "); + result->append(".transition="); + WriteToString(result, &value->transition); + // Ark_Union_Boolean_Callback_DismissPopupAction_Void onWillDismiss + result->append(", "); + result->append(".onWillDismiss="); + WriteToString(result, &value->onWillDismiss); + // Ark_Boolean enableHoverMode + result->append(", "); + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_Boolean followTransformOfTarget + result->append(", "); + result->append(".followTransformOfTarget="); + WriteToString(result, &value->followTransformOfTarget); + // Ark_KeyboardAvoidMode keyboardAvoidMode + result->append(", "); + result->append(".keyboardAvoidMode="); + WriteToString(result, &value->keyboardAvoidMode); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PopupOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PopupOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ResourceImageAttachmentOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ResourceImageAttachmentOptions* value) { + result->append("{"); + // Opt_ResourceStr resourceValue + result->append(".resourceValue="); + WriteToString(result, &value->resourceValue); + // Ark_SizeOptions size + result->append(", "); + result->append(".size="); + WriteToString(result, &value->size); + // Ark_ImageSpanAlignment verticalAlign + result->append(", "); + result->append(".verticalAlign="); + WriteToString(result, &value->verticalAlign); + // Ark_ImageFit objectFit + result->append(", "); + result->append(".objectFit="); + WriteToString(result, &value->objectFit); + // Ark_ImageAttachmentLayoutStyle layoutStyle + result->append(", "); + result->append(".layoutStyle="); + WriteToString(result, &value->layoutStyle); + // Ark_ColorFilterType colorFilter + result->append(", "); + result->append(".colorFilter="); + WriteToString(result, &value->colorFilter); + // Ark_Boolean syncLoad + result->append(", "); + result->append(".syncLoad="); + WriteToString(result, &value->syncLoad); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ResourceImageAttachmentOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ResourceImageAttachmentOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanStyle* value) { + result->append("{"); + // Ark_Tuple_Dimension_Dimension size + result->append(".size="); + WriteToString(result, &value->size); + // Ark_ImageSpanAlignment verticalAlign + result->append(", "); + result->append(".verticalAlign="); + WriteToString(result, &value->verticalAlign); + // Ark_ImageFit objectFit + result->append(", "); + result->append(".objectFit="); + WriteToString(result, &value->objectFit); + // Ark_RichEditorLayoutStyle layoutStyle + result->append(", "); + result->append(".layoutStyle="); + WriteToString(result, &value->layoutStyle); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanStyleResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanStyleResult* value) { + result->append("{"); + // Ark_Tuple_Number_Number size + result->append(".size="); + WriteToString(result, &value->size); + // Ark_ImageSpanAlignment verticalAlign + result->append(", "); + result->append(".verticalAlign="); + WriteToString(result, value->verticalAlign); + // Ark_ImageFit objectFit + result->append(", "); + result->append(".objectFit="); + WriteToString(result, value->objectFit); + // Ark_RichEditorLayoutStyle layoutStyle + result->append(", "); + result->append(".layoutStyle="); + WriteToString(result, &value->layoutStyle); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanStyleResult* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanStyleResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorParagraphResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorParagraphResult* value) { + result->append("{"); + // Ark_RichEditorParagraphStyle style + result->append(".style="); + WriteToString(result, &value->style); + // Ark_Tuple_Number_Number range + result->append(", "); + result->append(".range="); + WriteToString(result, &value->range); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorParagraphResult* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorParagraphResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorTextStyle* value) { + result->append("{"); + // Ark_ResourceColor fontColor + result->append(".fontColor="); + WriteToString(result, &value->fontColor); + // Ark_Union_Length_Number fontSize + result->append(", "); + result->append(".fontSize="); + WriteToString(result, &value->fontSize); + // Ark_FontStyle fontStyle + result->append(", "); + result->append(".fontStyle="); + WriteToString(result, &value->fontStyle); + // Ark_Union_Number_FontWeight_String fontWeight + result->append(", "); + result->append(".fontWeight="); + WriteToString(result, &value->fontWeight); + // Ark_ResourceStr fontFamily + result->append(", "); + result->append(".fontFamily="); + WriteToString(result, &value->fontFamily); + // Ark_DecorationStyleInterface decoration + result->append(", "); + result->append(".decoration="); + WriteToString(result, &value->decoration); + // Ark_Union_ShadowOptions_Array_ShadowOptions textShadow + result->append(", "); + result->append(".textShadow="); + WriteToString(result, &value->textShadow); + // Ark_Union_Number_String letterSpacing + result->append(", "); + result->append(".letterSpacing="); + WriteToString(result, &value->letterSpacing); + // Ark_Union_Number_String_Resource lineHeight + result->append(", "); + result->append(".lineHeight="); + WriteToString(result, &value->lineHeight); + // Ark_Boolean halfLeading + result->append(", "); + result->append(".halfLeading="); + WriteToString(result, &value->halfLeading); + // Ark_String fontFeature + result->append(", "); + result->append(".fontFeature="); + WriteToString(result, &value->fontFeature); + // Ark_TextBackgroundStyle textBackgroundStyle + result->append(", "); + result->append(".textBackgroundStyle="); + WriteToString(result, &value->textBackgroundStyle); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorTextStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextStyleResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorTextStyleResult* value) { + result->append("{"); + // Ark_ResourceColor fontColor + result->append(".fontColor="); + WriteToString(result, &value->fontColor); + // Ark_Number fontSize + result->append(", "); + result->append(".fontSize="); + WriteToString(result, &value->fontSize); + // Ark_FontStyle fontStyle + result->append(", "); + result->append(".fontStyle="); + WriteToString(result, value->fontStyle); + // Ark_Number fontWeight + result->append(", "); + result->append(".fontWeight="); + WriteToString(result, &value->fontWeight); + // Ark_String fontFamily + result->append(", "); + result->append(".fontFamily="); + WriteToString(result, &value->fontFamily); + // Ark_DecorationStyleResult decoration + result->append(", "); + result->append(".decoration="); + WriteToString(result, &value->decoration); + // Array_ShadowOptions textShadow + result->append(", "); + result->append(".textShadow="); + WriteToString(result, &value->textShadow); + // Ark_Number letterSpacing + result->append(", "); + result->append(".letterSpacing="); + WriteToString(result, &value->letterSpacing); + // Ark_Number lineHeight + result->append(", "); + result->append(".lineHeight="); + WriteToString(result, &value->lineHeight); + // Ark_Boolean halfLeading + result->append(", "); + result->append(".halfLeading="); + WriteToString(result, &value->halfLeading); + // Ark_String fontFeature + result->append(", "); + result->append(".fontFeature="); + WriteToString(result, &value->fontFeature); + // Ark_TextBackgroundStyle textBackgroundStyle + result->append(", "); + result->append(".textBackgroundStyle="); + WriteToString(result, &value->textBackgroundStyle); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorTextStyleResult* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextStyleResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateImageSpanStyleOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorUpdateImageSpanStyleOptions* value) { + result->append("{"); + // Ark_Number start + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Number end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); + // Ark_RichEditorImageSpanStyle imageStyle + result->append(", "); + result->append(".imageStyle="); + WriteToString(result, &value->imageStyle); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorUpdateImageSpanStyleOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateImageSpanStyleOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateTextSpanStyleOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorUpdateTextSpanStyleOptions* value) { + result->append("{"); + // Ark_Number start + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Number end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); + // Ark_RichEditorTextStyle textStyle + result->append(", "); + result->append(".textStyle="); + WriteToString(result, &value->textStyle); + // Ark_RichEditorUrlStyle urlStyle + result->append(", "); + result->append(".urlStyle="); + WriteToString(result, &value->urlStyle); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorUpdateTextSpanStyleOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateTextSpanStyleOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_StyledStringValue& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + case 3: return runtimeType(value.value3); + case 4: return runtimeType(value.value4); + case 5: return runtimeType(value.value5); + case 6: return runtimeType(value.value6); + case 7: return runtimeType(value.value7); + case 8: return runtimeType(value.value8); + case 9: return runtimeType(value.value9); + case 10: return runtimeType(value.value10); + case 11: return runtimeType(value.value11); + case 12: return runtimeType(value.value12); + default: INTEROP_FATAL("Bad selector in Ark_StyledStringValue: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_StyledStringValue* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_TextStyle_styled_string + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_DecorationStyle + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + // Ark_BaselineOffsetStyle + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, value->value2); + } + // Ark_LetterSpacingStyle + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, value->value3); + } + // Ark_TextShadowStyle + if (value->selector == 4) { + result->append(".value4="); + WriteToString(result, value->value4); + } + // Ark_GestureStyle + if (value->selector == 5) { + result->append(".value5="); + WriteToString(result, value->value5); + } + // Ark_ImageAttachment + if (value->selector == 6) { + result->append(".value6="); + WriteToString(result, value->value6); + } + // Ark_ParagraphStyle + if (value->selector == 7) { + result->append(".value7="); + WriteToString(result, value->value7); + } + // Ark_LineHeightStyle + if (value->selector == 8) { + result->append(".value8="); + WriteToString(result, value->value8); + } + // Ark_UrlStyle + if (value->selector == 9) { + result->append(".value9="); + WriteToString(result, value->value9); + } + // Ark_CustomSpan + if (value->selector == 10) { + result->append(".value10="); + WriteToString(result, value->value10); + } + // Ark_UserDataSpan + if (value->selector == 11) { + result->append(".value11="); + WriteToString(result, &value->value11); + } + // Ark_BackgroundColorStyle + if (value->selector == 12) { + result->append(".value12="); + WriteToString(result, value->value12); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_StyledStringValue* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_StyledStringValue& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_StyleOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_StyleOptions* value) { + result->append("{"); + // Ark_Number start + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Number length + result->append(", "); + result->append(".length="); + WriteToString(result, &value->length); + // Ark_StyledStringKey styledKey + result->append(", "); + result->append(".styledKey="); + WriteToString(result, value->styledKey); + // Ark_StyledStringValue styledValue + result->append(", "); + result->append(".styledValue="); + WriteToString(result, &value->styledValue); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_StyleOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_StyleOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SubTabBarStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SubTabBarStyle* value) { + result->append("{"); + // Ark_Union_ResourceStr_Union_ResourceStr_ComponentContent _content + result->append("._content="); + WriteToString(result, &value->_content); + // Ark_IndicatorStyle _indicator + result->append(", "); + result->append("._indicator="); + WriteToString(result, &value->_indicator); + // Ark_SelectedMode _selectedMode + result->append(", "); + result->append("._selectedMode="); + WriteToString(result, &value->_selectedMode); + // Ark_BoardStyle _board + result->append(", "); + result->append("._board="); + WriteToString(result, &value->_board); + // Ark_LabelStyle _labelStyle + result->append(", "); + result->append("._labelStyle="); + WriteToString(result, &value->_labelStyle); + // Ark_Union_Union_Padding_Dimension_LocalizedPadding _padding + result->append(", "); + result->append("._padding="); + WriteToString(result, &value->_padding); + // Ark_String _id + result->append(", "); + result->append("._id="); + WriteToString(result, &value->_id); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SubTabBarStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SubTabBarStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TextPickerDialogOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TextPickerDialogOptions* value) { + result->append("{"); + // Ark_Type_TextPickerOptions_range range + result->append(".range="); + WriteToString(result, &value->range); + // Ark_Union_String_Array_String value + result->append(", "); + result->append(".value="); + WriteToString(result, &value->value); + // Ark_Union_Number_Array_Number selected + result->append(", "); + result->append(".selected="); + WriteToString(result, &value->selected); + // Array_LengthMetrics columnWidths + result->append(", "); + result->append(".columnWidths="); + WriteToString(result, &value->columnWidths); + // Ark_Union_Number_String defaultPickerItemHeight + result->append(", "); + result->append(".defaultPickerItemHeight="); + WriteToString(result, &value->defaultPickerItemHeight); + // Ark_Boolean canLoop + result->append(", "); + result->append(".canLoop="); + WriteToString(result, &value->canLoop); + // Ark_PickerTextStyle disappearTextStyle + result->append(", "); + result->append(".disappearTextStyle="); + WriteToString(result, &value->disappearTextStyle); + // Ark_PickerTextStyle textStyle + result->append(", "); + result->append(".textStyle="); + WriteToString(result, &value->textStyle); + // Ark_PickerDialogButtonStyle acceptButtonStyle + result->append(", "); + result->append(".acceptButtonStyle="); + WriteToString(result, &value->acceptButtonStyle); + // Ark_PickerDialogButtonStyle cancelButtonStyle + result->append(", "); + result->append(".cancelButtonStyle="); + WriteToString(result, &value->cancelButtonStyle); + // Ark_PickerTextStyle selectedTextStyle + result->append(", "); + result->append(".selectedTextStyle="); + WriteToString(result, &value->selectedTextStyle); + // Ark_Boolean disableTextStyleAnimation + result->append(", "); + result->append(".disableTextStyleAnimation="); + WriteToString(result, &value->disableTextStyleAnimation); + // Ark_TextPickerTextStyle defaultTextStyle + result->append(", "); + result->append(".defaultTextStyle="); + WriteToString(result, &value->defaultTextStyle); + // Callback_TextPickerResult_Void onAccept + result->append(", "); + result->append(".onAccept="); + WriteToString(result, &value->onAccept); + // Callback_Void onCancel + result->append(", "); + result->append(".onCancel="); + WriteToString(result, &value->onCancel); + // Callback_TextPickerResult_Void onChange + result->append(", "); + result->append(".onChange="); + WriteToString(result, &value->onChange); + // Callback_TextPickerResult_Void onScrollStop + result->append(", "); + result->append(".onScrollStop="); + WriteToString(result, &value->onScrollStop); + // Callback_TextPickerResult_Void onEnterSelectedArea + result->append(", "); + result->append(".onEnterSelectedArea="); + WriteToString(result, &value->onEnterSelectedArea); + // Ark_Rectangle maskRect + result->append(", "); + result->append(".maskRect="); + WriteToString(result, &value->maskRect); + // Ark_DialogAlignment alignment + result->append(", "); + result->append(".alignment="); + WriteToString(result, &value->alignment); + // Ark_Offset offset + result->append(", "); + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_ResourceColor backgroundColor + result->append(", "); + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_BlurStyle backgroundBlurStyle + result->append(", "); + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions + result->append(", "); + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect + result->append(", "); + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // Callback_Void onDidAppear + result->append(", "); + result->append(".onDidAppear="); + WriteToString(result, &value->onDidAppear); + // Callback_Void onDidDisappear + result->append(", "); + result->append(".onDidDisappear="); + WriteToString(result, &value->onDidDisappear); + // Callback_Void onWillAppear + result->append(", "); + result->append(".onWillAppear="); + WriteToString(result, &value->onWillAppear); + // Callback_Void onWillDisappear + result->append(", "); + result->append(".onWillDisappear="); + WriteToString(result, &value->onWillDisappear); + // Ark_Union_ShadowOptions_ShadowStyle shadow + result->append(", "); + result->append(".shadow="); + WriteToString(result, &value->shadow); + // Ark_Boolean enableHoverMode + result->append(", "); + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_HoverModeAreaType hoverModeArea + result->append(", "); + result->append(".hoverModeArea="); + WriteToString(result, &value->hoverModeArea); + // Ark_Boolean enableHapticFeedback + result->append(", "); + result->append(".enableHapticFeedback="); + WriteToString(result, &value->enableHapticFeedback); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextPickerDialogOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TextPickerDialogOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TimePickerDialogOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TimePickerDialogOptions* value) { + result->append("{"); + // Ark_Date selected + result->append(".selected="); + WriteToString(result, &value->selected); + // Ark_TimePickerFormat format + result->append(", "); + result->append(".format="); + WriteToString(result, &value->format); + // Ark_Date start + result->append(", "); + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Date end + result->append(", "); + result->append(".end="); + WriteToString(result, &value->end); + // Ark_Boolean useMilitaryTime + result->append(", "); + result->append(".useMilitaryTime="); + WriteToString(result, &value->useMilitaryTime); + // Ark_PickerTextStyle disappearTextStyle + result->append(", "); + result->append(".disappearTextStyle="); + WriteToString(result, &value->disappearTextStyle); + // Ark_PickerTextStyle textStyle + result->append(", "); + result->append(".textStyle="); + WriteToString(result, &value->textStyle); + // Ark_PickerDialogButtonStyle acceptButtonStyle + result->append(", "); + result->append(".acceptButtonStyle="); + WriteToString(result, &value->acceptButtonStyle); + // Ark_PickerDialogButtonStyle cancelButtonStyle + result->append(", "); + result->append(".cancelButtonStyle="); + WriteToString(result, &value->cancelButtonStyle); + // Ark_PickerTextStyle selectedTextStyle + result->append(", "); + result->append(".selectedTextStyle="); + WriteToString(result, &value->selectedTextStyle); + // Ark_Rectangle maskRect + result->append(", "); + result->append(".maskRect="); + WriteToString(result, &value->maskRect); + // Ark_DialogAlignment alignment + result->append(", "); + result->append(".alignment="); + WriteToString(result, &value->alignment); + // Ark_Offset offset + result->append(", "); + result->append(".offset="); + WriteToString(result, &value->offset); + // Callback_TimePickerResult_Void onAccept + result->append(", "); + result->append(".onAccept="); + WriteToString(result, &value->onAccept); + // Callback_Void onCancel + result->append(", "); + result->append(".onCancel="); + WriteToString(result, &value->onCancel); + // Callback_TimePickerResult_Void onChange + result->append(", "); + result->append(".onChange="); + WriteToString(result, &value->onChange); + // Callback_TimePickerResult_Void onEnterSelectedArea + result->append(", "); + result->append(".onEnterSelectedArea="); + WriteToString(result, &value->onEnterSelectedArea); + // Ark_ResourceColor backgroundColor + result->append(", "); + result->append(".backgroundColor="); + WriteToString(result, &value->backgroundColor); + // Ark_BlurStyle backgroundBlurStyle + result->append(", "); + result->append(".backgroundBlurStyle="); + WriteToString(result, &value->backgroundBlurStyle); + // Ark_BackgroundBlurStyleOptions backgroundBlurStyleOptions + result->append(", "); + result->append(".backgroundBlurStyleOptions="); + WriteToString(result, &value->backgroundBlurStyleOptions); + // Ark_BackgroundEffectOptions backgroundEffect + result->append(", "); + result->append(".backgroundEffect="); + WriteToString(result, &value->backgroundEffect); + // Ark_Boolean enableCascade + result->append(", "); + result->append(".enableCascade="); + WriteToString(result, &value->enableCascade); + // Callback_Void onDidAppear + result->append(", "); + result->append(".onDidAppear="); + WriteToString(result, &value->onDidAppear); + // Callback_Void onDidDisappear + result->append(", "); + result->append(".onDidDisappear="); + WriteToString(result, &value->onDidDisappear); + // Callback_Void onWillAppear + result->append(", "); + result->append(".onWillAppear="); + WriteToString(result, &value->onWillAppear); + // Callback_Void onWillDisappear + result->append(", "); + result->append(".onWillDisappear="); + WriteToString(result, &value->onWillDisappear); + // Ark_Union_ShadowOptions_ShadowStyle shadow + result->append(", "); + result->append(".shadow="); + WriteToString(result, &value->shadow); + // Ark_DateTimeOptions dateTimeOptions + result->append(", "); + result->append(".dateTimeOptions="); + WriteToString(result, &value->dateTimeOptions); + // Ark_Boolean enableHoverMode + result->append(", "); + result->append(".enableHoverMode="); + WriteToString(result, &value->enableHoverMode); + // Ark_HoverModeAreaType hoverModeArea + result->append(", "); + result->append(".hoverModeArea="); + WriteToString(result, &value->hoverModeArea); + // Ark_Boolean enableHapticFeedback + result->append(", "); + result->append(".enableHapticFeedback="); + WriteToString(result, &value->enableHapticFeedback); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TimePickerDialogOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TimePickerDialogOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Type_RichEditorController_updateSpanStyle_value& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Type_RichEditorController_updateSpanStyle_value: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Type_RichEditorController_updateSpanStyle_value* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_RichEditorUpdateTextSpanStyleOptions + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_RichEditorUpdateImageSpanStyleOptions + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_RichEditorUpdateSymbolSpanStyleOptions + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Type_RichEditorController_updateSpanStyle_value* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Type_RichEditorController_updateSpanStyle_value& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Type_TabContentAttribute_tabBar_content& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + case 3: return runtimeType(value.value3); + case 4: return runtimeType(value.value4); + case 5: return runtimeType(value.value5); + case 6: return runtimeType(value.value6); + default: INTEROP_FATAL("Bad selector in Ark_Type_TabContentAttribute_tabBar_content: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Type_TabContentAttribute_tabBar_content* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_ComponentContent + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, value->value0); + } + // Ark_SubTabBarStyle + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + // Ark_BottomTabBarStyle + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, &value->value2); + } + // Ark_String + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, &value->value3); + } + // Ark_Resource + if (value->selector == 4) { + result->append(".value4="); + WriteToString(result, &value->value4); + } + // CustomNodeBuilder + if (value->selector == 5) { + result->append(".value5="); + WriteToString(result, &value->value5); + } + // Ark_TabBarOptions + if (value->selector == 6) { + result->append(".value6="); + WriteToString(result, &value->value6); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Type_TabContentAttribute_tabBar_content* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Type_TabContentAttribute_tabBar_content& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_PopupOptions_CustomPopupOptions& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_PopupOptions_CustomPopupOptions: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_PopupOptions_CustomPopupOptions* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_PopupOptions + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_CustomPopupOptions + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_PopupOptions_CustomPopupOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_PopupOptions_CustomPopupOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_String_ImageAttachment_CustomSpan& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + case 2: return runtimeType(value.value2); + default: INTEROP_FATAL("Bad selector in Ark_Union_String_ImageAttachment_CustomSpan: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_String_ImageAttachment_CustomSpan* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_String + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_ImageAttachment + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, value->value1); + } + // Ark_CustomSpan + if (value->selector == 2) { + result->append(".value2="); + WriteToString(result, value->value2); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_String_ImageAttachment_CustomSpan* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_String_ImageAttachment_CustomSpan& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_SubTabBarStyle_BottomTabBarStyle& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_SubTabBarStyle_BottomTabBarStyle: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_SubTabBarStyle_BottomTabBarStyle* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_SubTabBarStyle + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_BottomTabBarStyle + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_SubTabBarStyle_BottomTabBarStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_SubTabBarStyle_BottomTabBarStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_AttachmentType& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_AttachmentType: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_AttachmentType* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_ImageAttachmentInterface + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_ResourceImageAttachmentOptions + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_AttachmentType* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_AttachmentType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanOptions* value) { + result->append("{"); + // Ark_Number offset + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_RichEditorImageSpanStyle imageStyle + result->append(", "); + result->append(".imageStyle="); + WriteToString(result, &value->imageStyle); + // Ark_RichEditorGesture gesture + result->append(", "); + result->append(".gesture="); + WriteToString(result, &value->gesture); + // OnHoverCallback onHover + result->append(", "); + result->append(".onHover="); + WriteToString(result, &value->onHover); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanResult* value) { + result->append("{"); + // Ark_RichEditorSpanPosition spanPosition + result->append(".spanPosition="); + WriteToString(result, &value->spanPosition); + // Ark_PixelMap valuePixelMap + result->append(", "); + result->append(".valuePixelMap="); + WriteToString(result, &value->valuePixelMap); + // Ark_ResourceStr valueResourceStr + result->append(", "); + result->append(".valueResourceStr="); + WriteToString(result, &value->valueResourceStr); + // Ark_RichEditorImageSpanStyleResult imageStyle + result->append(", "); + result->append(".imageStyle="); + WriteToString(result, &value->imageStyle); + // Ark_Tuple_Number_Number offsetInSpan + result->append(", "); + result->append(".offsetInSpan="); + WriteToString(result, &value->offsetInSpan); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanResult* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextSpanOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorTextSpanOptions* value) { + result->append("{"); + // Ark_Number offset + result->append(".offset="); + WriteToString(result, &value->offset); + // Ark_RichEditorTextStyle style + result->append(", "); + result->append(".style="); + WriteToString(result, &value->style); + // Ark_RichEditorParagraphStyle paragraphStyle + result->append(", "); + result->append(".paragraphStyle="); + WriteToString(result, &value->paragraphStyle); + // Ark_RichEditorGesture gesture + result->append(", "); + result->append(".gesture="); + WriteToString(result, &value->gesture); + // Ark_RichEditorUrlStyle urlStyle + result->append(", "); + result->append(".urlStyle="); + WriteToString(result, &value->urlStyle); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorTextSpanOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextSpanOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextSpanResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorTextSpanResult* value) { + result->append("{"); + // Ark_RichEditorSpanPosition spanPosition + result->append(".spanPosition="); + WriteToString(result, &value->spanPosition); + // Ark_String value + result->append(", "); + result->append(".value="); + WriteToString(result, &value->value); + // Ark_RichEditorTextStyleResult textStyle + result->append(", "); + result->append(".textStyle="); + WriteToString(result, &value->textStyle); + // Ark_Tuple_Number_Number offsetInSpan + result->append(", "); + result->append(".offsetInSpan="); + WriteToString(result, &value->offsetInSpan); + // Ark_RichEditorSymbolSpanStyle symbolSpanStyle + result->append(", "); + result->append(".symbolSpanStyle="); + WriteToString(result, &value->symbolSpanStyle); + // Ark_Resource valueResource + result->append(", "); + result->append(".valueResource="); + WriteToString(result, &value->valueResource); + // Ark_RichEditorParagraphStyle paragraphStyle + result->append(", "); + result->append(".paragraphStyle="); + WriteToString(result, &value->paragraphStyle); + // Ark_String previewText + result->append(", "); + result->append(".previewText="); + WriteToString(result, &value->previewText); + // Ark_RichEditorUrlStyle urlStyle + result->append(", "); + result->append(".urlStyle="); + WriteToString(result, &value->urlStyle); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorTextSpanResult* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextSpanResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SpanStyle& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SpanStyle* value) { + result->append("{"); + // Ark_Number start + result->append(".start="); + WriteToString(result, &value->start); + // Ark_Number length + result->append(", "); + result->append(".length="); + WriteToString(result, &value->length); + // Ark_StyledStringKey styledKey + result->append(", "); + result->append(".styledKey="); + WriteToString(result, value->styledKey); + // Ark_StyledStringValue styledValue + result->append(", "); + result->append(".styledValue="); + WriteToString(result, &value->styledValue); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SpanStyle* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SpanStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_RichEditorImageSpanResult_RichEditorTextSpanResult& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_RichEditorImageSpanResult_RichEditorTextSpanResult: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_RichEditorImageSpanResult_RichEditorTextSpanResult* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_RichEditorImageSpanResult + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_RichEditorTextSpanResult + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_RichEditorImageSpanResult_RichEditorTextSpanResult* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_RichEditorImageSpanResult_RichEditorTextSpanResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_RichEditorTextSpanResult + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_RichEditorImageSpanResult + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_RichEditorTextSpanResult_RichEditorImageSpanResult* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RichEditorSpan& value) +{ + switch (value.selector) { + case 0: return runtimeType(value.value0); + case 1: return runtimeType(value.value1); + default: INTEROP_FATAL("Bad selector in Ark_RichEditorSpan: %d", value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_RichEditorSpan* value) { + result->append("{"); + result->append(".selector="); + result->append(std::to_string(value->selector)); + result->append(", "); + // Ark_RichEditorImageSpanResult + if (value->selector == 0) { + result->append(".value0="); + WriteToString(result, &value->value0); + } + // Ark_RichEditorTextSpanResult + if (value->selector == 1) { + result->append(".value1="); + WriteToString(result, &value->value1); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RichEditorSpan* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RichEditorSpan& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} + + +// Serializers + +class Serializer : public SerializerBase { + public: + Serializer(CallbackResourceHolder* resourceHolder = nullptr) : SerializerBase(resourceHolder) { + } + public: + Serializer(KSerializerBuffer data, Ark_UInt32 dataLength = 0, CallbackResourceHolder* resourceHolder = nullptr) : SerializerBase(data, dataLength, resourceHolder) { + } + void writeAlphabetIndexerAttribute(Ark_AlphabetIndexerAttribute value) { } void writeAnimatedDrawableDescriptor(Ark_AnimatedDrawableDescriptor value) @@ -56893,6 +62066,9 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeColorContent(Ark_ColorContent value) + { + } void writeColorFilter(Ark_ColorFilter value) { Serializer& valueSerializer = *this; @@ -56961,12 +62137,6 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } - void writeEdgeEffectOptions(Ark_EdgeEffectOptions value) - { - Serializer& valueSerializer = *this; - const auto value_alwaysEnabled = value.alwaysEnabled; - valueSerializer.writeBoolean(value_alwaysEnabled); - } void writeEllipseShape(Ark_EllipseShape value) { Serializer& valueSerializer = *this; @@ -57084,6 +62254,9 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeLayoutPolicy(Ark_LayoutPolicy value) + { + } void writeLinearGradient(Ark_LinearGradient value) { Serializer& valueSerializer = *this; @@ -57107,12 +62280,12 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } - void writeMatrix4Transit(Ark_Matrix4Transit value) + void writeLongPressRecognizer(Ark_LongPressRecognizer value) { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } - void writeMeasurable(Ark_Measurable value) + void writeMatrix4Transit(Ark_Matrix4Transit value) { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); @@ -57294,6 +62467,11 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writePinchRecognizer(Ark_PinchRecognizer value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writePixelMap(Ark_PixelMap value) { Serializer& valueSerializer = *this; @@ -57315,6 +62493,12 @@ class Serializer : public SerializerBase { const auto value_time = value.time; valueSerializer.writeNumber(value_time); } + void writePopupStateChangeParam(Ark_PopupStateChangeParam value) + { + Serializer& valueSerializer = *this; + const auto value_isVisible = value.isVisible; + valueSerializer.writeBoolean(value_isVisible); + } void writePositionWithAffinity(Ark_PositionWithAffinity value) { Serializer& valueSerializer = *this; @@ -57422,6 +62606,11 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeRotationRecognizer(Ark_RotationRecognizer value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeRRect(Ark_RRect value) { Serializer& valueSerializer = *this; @@ -57566,11 +62755,26 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeSwiperContentWillScrollResult(Ark_SwiperContentWillScrollResult value) + { + Serializer& valueSerializer = *this; + const auto value_currentIndex = value.currentIndex; + valueSerializer.writeNumber(value_currentIndex); + const auto value_comingIndex = value.comingIndex; + valueSerializer.writeNumber(value_comingIndex); + const auto value_offset = value.offset; + valueSerializer.writeNumber(value_offset); + } void writeSwiperController(Ark_SwiperController value) { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeSwipeRecognizer(Ark_SwipeRecognizer value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeSymbolEffect(Ark_SymbolEffect value) { Serializer& valueSerializer = *this; @@ -57610,6 +62814,11 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeTapRecognizer(Ark_TapRecognizer value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeTextAreaAttribute(Ark_TextAreaAttribute value) { } @@ -57978,6 +63187,12 @@ class Serializer : public SerializerBase { const auto value_column = value.column; valueSerializer.writeNumber(value_column); } + void writeAutoPlayOptions(Ark_AutoPlayOptions value) + { + Serializer& valueSerializer = *this; + const auto value_stopWhenTouched = value.stopWhenTouched; + valueSerializer.writeBoolean(value_stopWhenTouched); + } void writeBackgroundBrightnessOptions(Ark_BackgroundBrightnessOptions value) { Serializer& valueSerializer = *this; @@ -57986,6 +63201,26 @@ class Serializer : public SerializerBase { const auto value_lightUpDegree = value.lightUpDegree; valueSerializer.writeNumber(value_lightUpDegree); } + void writeBackgroundImageOptions(Ark_BackgroundImageOptions value) + { + Serializer& valueSerializer = *this; + const auto value_syncLoad = value.syncLoad; + Ark_Int32 value_syncLoad_type = INTEROP_RUNTIME_UNDEFINED; + value_syncLoad_type = runtimeType(value_syncLoad); + valueSerializer.writeInt8(value_syncLoad_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_syncLoad_type)) { + const auto value_syncLoad_value = value_syncLoad.value; + valueSerializer.writeBoolean(value_syncLoad_value); + } + const auto value_repeat = value.repeat; + Ark_Int32 value_repeat_type = INTEROP_RUNTIME_UNDEFINED; + value_repeat_type = runtimeType(value_repeat); + valueSerializer.writeInt8(value_repeat_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_repeat_type)) { + const auto value_repeat_value = value_repeat.value; + valueSerializer.writeInt32(static_cast(value_repeat_value)); + } + } void writeBarrierStyle(Ark_BarrierStyle value) { Serializer& valueSerializer = *this; @@ -58242,16 +63477,6 @@ class Serializer : public SerializerBase { valueSerializer.writeSymbolGlyphModifier(value_icon_value); } } - void writeCanvasRenderer(Ark_CanvasRenderer value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); - } - void writeCanvasRenderingContext2D(Ark_CanvasRenderingContext2D value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); - } void writeCaretOffset(Ark_CaretOffset value) { Serializer& valueSerializer = *this; @@ -58449,6 +63674,12 @@ class Serializer : public SerializerBase { } } } + void writeColumnOptionsV2(Ark_ColumnOptionsV2 value) + { + Serializer& valueSerializer = *this; + const auto value_stub = value.stub; + valueSerializer.writeString(value_stub); + } void writeCommandPath(Ark_CommandPath value) { Serializer& valueSerializer = *this; @@ -58483,6 +63714,12 @@ class Serializer : public SerializerBase { const auto value_contentModifier = value.contentModifier; valueSerializer.writeObject(value_contentModifier); } + void writeCommonModifier(Ark_CommonModifier value) + { + Serializer& valueSerializer = *this; + const auto value__CommonModifierStub = value._CommonModifierStub; + valueSerializer.writeString(value__CommonModifierStub); + } void writeComputedBarAttribute(Ark_ComputedBarAttribute value) { Serializer& valueSerializer = *this; @@ -58522,6 +63759,22 @@ class Serializer : public SerializerBase { const auto value_bottomRight = value.bottomRight; valueSerializer.writeVector2(value_bottomRight); } + void writeCrownEvent(Ark_CrownEvent value) + { + Serializer& valueSerializer = *this; + const auto value_timestamp = value.timestamp; + valueSerializer.writeInt64(value_timestamp); + const auto value_angularVelocity = value.angularVelocity; + valueSerializer.writeNumber(value_angularVelocity); + const auto value_degree = value.degree; + valueSerializer.writeNumber(value_degree); + const auto value_action = value.action; + valueSerializer.writeInt32(static_cast(value_action)); + const auto value_stopPropagation = value.stopPropagation; + valueSerializer.writeCallbackResource(value_stopPropagation.resource); + valueSerializer.writePointer(reinterpret_cast(value_stopPropagation.call)); + valueSerializer.writePointer(reinterpret_cast(value_stopPropagation.callSync)); + } void writeCustomDialogBuildOptions(Ark_CustomDialogBuildOptions value) { Serializer& valueSerializer = *this; @@ -58621,6 +63874,12 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(static_cast(value_type_value)); } } + void writeDataSyncOptions(Ark_DataSyncOptions value) + { + Serializer& valueSerializer = *this; + const auto value__DataSyncOptionsStub = value._DataSyncOptionsStub; + valueSerializer.writeString(value__DataSyncOptionsStub); + } void writeDatePickerOptions(Ark_DatePickerOptions value) { Serializer& valueSerializer = *this; @@ -58648,6 +63907,14 @@ class Serializer : public SerializerBase { const auto value_selected_value = value_selected.value; valueSerializer.writeInt64(value_selected_value); } + const auto value_mode = value.mode; + Ark_Int32 value_mode_type = INTEROP_RUNTIME_UNDEFINED; + value_mode_type = runtimeType(value_mode); + valueSerializer.writeInt8(value_mode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_mode_type)) { + const auto value_mode_value = value_mode.value; + valueSerializer.writeInt32(static_cast(value_mode_value)); + } } void writeDatePickerResult(Ark_DatePickerResult value) { @@ -58677,6 +63944,26 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_day_value); } } + void writeDateRange(Ark_DateRange value) + { + Serializer& valueSerializer = *this; + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeInt64(value_start_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeInt64(value_end_value); + } + } void writeDateTimeOptions(Ark_DateTimeOptions value) { Serializer& valueSerializer = *this; @@ -58971,6 +64258,30 @@ class Serializer : public SerializerBase { const auto value_defaultAnimationBeforeLifting_value = value_defaultAnimationBeforeLifting.value; valueSerializer.writeBoolean(value_defaultAnimationBeforeLifting_value); } + const auto value_enableEdgeAutoScroll = value.enableEdgeAutoScroll; + Ark_Int32 value_enableEdgeAutoScroll_type = INTEROP_RUNTIME_UNDEFINED; + value_enableEdgeAutoScroll_type = runtimeType(value_enableEdgeAutoScroll); + valueSerializer.writeInt8(value_enableEdgeAutoScroll_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableEdgeAutoScroll_type)) { + const auto value_enableEdgeAutoScroll_value = value_enableEdgeAutoScroll.value; + valueSerializer.writeBoolean(value_enableEdgeAutoScroll_value); + } + const auto value_enableHapticFeedback = value.enableHapticFeedback; + Ark_Int32 value_enableHapticFeedback_type = INTEROP_RUNTIME_UNDEFINED; + value_enableHapticFeedback_type = runtimeType(value_enableHapticFeedback); + valueSerializer.writeInt8(value_enableHapticFeedback_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableHapticFeedback_type)) { + const auto value_enableHapticFeedback_value = value_enableHapticFeedback.value; + valueSerializer.writeBoolean(value_enableHapticFeedback_value); + } + const auto value_isLiftingDisabled = value.isLiftingDisabled; + Ark_Int32 value_isLiftingDisabled_type = INTEROP_RUNTIME_UNDEFINED; + value_isLiftingDisabled_type = runtimeType(value_isLiftingDisabled); + valueSerializer.writeInt8(value_isLiftingDisabled_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isLiftingDisabled_type)) { + const auto value_isLiftingDisabled_value = value_isLiftingDisabled.value; + valueSerializer.writeBoolean(value_isLiftingDisabled_value); + } } void writeDragItemInfo(Ark_DragItemInfo value) { @@ -59017,6 +64328,68 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeDropOptions(Ark_DropOptions value) + { + Serializer& valueSerializer = *this; + const auto value_disableDataPrefetch = value.disableDataPrefetch; + Ark_Int32 value_disableDataPrefetch_type = INTEROP_RUNTIME_UNDEFINED; + value_disableDataPrefetch_type = runtimeType(value_disableDataPrefetch); + valueSerializer.writeInt8(value_disableDataPrefetch_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disableDataPrefetch_type)) { + const auto value_disableDataPrefetch_value = value_disableDataPrefetch.value; + valueSerializer.writeBoolean(value_disableDataPrefetch_value); + } + } + void writeEdgeEffectOptions(Ark_EdgeEffectOptions value) + { + Serializer& valueSerializer = *this; + const auto value_alwaysEnabled = value.alwaysEnabled; + valueSerializer.writeBoolean(value_alwaysEnabled); + const auto value_effectEdge = value.effectEdge; + Ark_Int32 value_effectEdge_type = INTEROP_RUNTIME_UNDEFINED; + value_effectEdge_type = runtimeType(value_effectEdge); + valueSerializer.writeInt8(value_effectEdge_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_effectEdge_type)) { + const auto value_effectEdge_value = value_effectEdge.value; + valueSerializer.writeNumber(value_effectEdge_value); + } + } + void writeEdgeOutlineStyles(Ark_EdgeOutlineStyles value) + { + Serializer& valueSerializer = *this; + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + valueSerializer.writeInt32(static_cast(value_top_value)); + } + const auto value_right = value.right; + Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; + value_right_type = runtimeType(value_right); + valueSerializer.writeInt8(value_right_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { + const auto value_right_value = value_right.value; + valueSerializer.writeInt32(static_cast(value_right_value)); + } + const auto value_bottom = value.bottom; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_type = runtimeType(value_bottom); + valueSerializer.writeInt8(value_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { + const auto value_bottom_value = value_bottom.value; + valueSerializer.writeInt32(static_cast(value_bottom_value)); + } + const auto value_left = value.left; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; + value_left_type = runtimeType(value_left); + valueSerializer.writeInt8(value_left_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { + const auto value_left_value = value_left.value; + valueSerializer.writeInt32(static_cast(value_left_value)); + } + } void writeEdgeStyles(Ark_EdgeStyles value) { Serializer& valueSerializer = *this; @@ -59107,6 +64480,18 @@ class Serializer : public SerializerBase { } } } + void writeEmbedOptions(Ark_EmbedOptions value) + { + Serializer& valueSerializer = *this; + const auto value_supportDefaultIntrinsicSize = value.supportDefaultIntrinsicSize; + Ark_Int32 value_supportDefaultIntrinsicSize_type = INTEROP_RUNTIME_UNDEFINED; + value_supportDefaultIntrinsicSize_type = runtimeType(value_supportDefaultIntrinsicSize); + valueSerializer.writeInt8(value_supportDefaultIntrinsicSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_supportDefaultIntrinsicSize_type)) { + const auto value_supportDefaultIntrinsicSize_value = value_supportDefaultIntrinsicSize.value; + valueSerializer.writeBoolean(value_supportDefaultIntrinsicSize_value); + } + } void writeErrorEvent(Ark_ErrorEvent value) { Serializer& valueSerializer = *this; @@ -59160,6 +64545,14 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_displayX); const auto value_displayY = value.displayY; valueSerializer.writeNumber(value_displayY); + const auto value_hand = value.hand; + Ark_Int32 value_hand_type = INTEROP_RUNTIME_UNDEFINED; + value_hand_type = runtimeType(value_hand); + valueSerializer.writeInt8(value_hand_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hand_type)) { + const auto value_hand_value = value_hand.value; + valueSerializer.writeInt32(static_cast(value_hand_value)); + } } void writeFirstMeaningfulPaint(Ark_FirstMeaningfulPaint value) { @@ -59181,6 +64574,58 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_firstMeaningfulPaintTime_value); } } + void writeFocusMovement(Ark_FocusMovement value) + { + Serializer& valueSerializer = *this; + const auto value_forward = value.forward; + Ark_Int32 value_forward_type = INTEROP_RUNTIME_UNDEFINED; + value_forward_type = runtimeType(value_forward); + valueSerializer.writeInt8(value_forward_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_forward_type)) { + const auto value_forward_value = value_forward.value; + valueSerializer.writeString(value_forward_value); + } + const auto value_backward = value.backward; + Ark_Int32 value_backward_type = INTEROP_RUNTIME_UNDEFINED; + value_backward_type = runtimeType(value_backward); + valueSerializer.writeInt8(value_backward_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backward_type)) { + const auto value_backward_value = value_backward.value; + valueSerializer.writeString(value_backward_value); + } + const auto value_up = value.up; + Ark_Int32 value_up_type = INTEROP_RUNTIME_UNDEFINED; + value_up_type = runtimeType(value_up); + valueSerializer.writeInt8(value_up_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_up_type)) { + const auto value_up_value = value_up.value; + valueSerializer.writeString(value_up_value); + } + const auto value_down = value.down; + Ark_Int32 value_down_type = INTEROP_RUNTIME_UNDEFINED; + value_down_type = runtimeType(value_down); + valueSerializer.writeInt8(value_down_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_down_type)) { + const auto value_down_value = value_down.value; + valueSerializer.writeString(value_down_value); + } + const auto value_left = value.left; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; + value_left_type = runtimeType(value_left); + valueSerializer.writeInt8(value_left_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { + const auto value_left_value = value_left.value; + valueSerializer.writeString(value_left_value); + } + const auto value_right = value.right; + Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; + value_right_type = runtimeType(value_right); + valueSerializer.writeInt8(value_right_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { + const auto value_right_value = value_right.value; + valueSerializer.writeString(value_right_value); + } + } void writeFolderStackOptions(Ark_FolderStackOptions value) { Serializer& valueSerializer = *this; @@ -59862,6 +65307,12 @@ class Serializer : public SerializerBase { const auto value_height = value.height; valueSerializer.writeNumber(value_height); } + void writeImmersiveMode(Ark_ImmersiveMode value) + { + Serializer& valueSerializer = *this; + const auto value__ImmersiveModeStub = value._ImmersiveModeStub; + valueSerializer.writeString(value__ImmersiveModeStub); + } void writeInputCounterOptions(Ark_InputCounterOptions value) { Serializer& valueSerializer = *this; @@ -59997,6 +65448,18 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeLevelMode(Ark_LevelMode value) + { + Serializer& valueSerializer = *this; + const auto value__LevelModeStub = value._LevelModeStub; + valueSerializer.writeString(value__LevelModeStub); + } + void writeLevelOrder(Ark_LevelOrder value) + { + Serializer& valueSerializer = *this; + const auto value__LevelOrderStub = value._LevelOrderStub; + valueSerializer.writeString(value__LevelOrderStub); + } void writeLinearGradient_common(Ark_LinearGradient_common value) { Serializer& valueSerializer = *this; @@ -60081,6 +65544,75 @@ class Serializer : public SerializerBase { const auto value_direction = value.direction; valueSerializer.writeInt32(static_cast(value_direction)); } + void writeLinearGradientOptions(Ark_LinearGradientOptions value) + { + Serializer& valueSerializer = *this; + const auto value_angle = value.angle; + Ark_Int32 value_angle_type = INTEROP_RUNTIME_UNDEFINED; + value_angle_type = runtimeType(value_angle); + valueSerializer.writeInt8(value_angle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_angle_type)) { + const auto value_angle_value = value_angle.value; + Ark_Int32 value_angle_value_type = INTEROP_RUNTIME_UNDEFINED; + value_angle_value_type = value_angle_value.selector; + if (value_angle_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_angle_value_0 = value_angle_value.value0; + valueSerializer.writeNumber(value_angle_value_0); + } + else if (value_angle_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_angle_value_1 = value_angle_value.value1; + valueSerializer.writeString(value_angle_value_1); + } + } + const auto value_direction = value.direction; + Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; + value_direction_type = runtimeType(value_direction); + valueSerializer.writeInt8(value_direction_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_direction_type)) { + const auto value_direction_value = value_direction.value; + valueSerializer.writeInt32(static_cast(value_direction_value)); + } + const auto value_colors = value.colors; + valueSerializer.writeInt32(value_colors.length); + for (int i = 0; i < value_colors.length; i++) { + const Ark_Tuple_ResourceColor_Number value_colors_element = value_colors.array[i]; + const auto value_colors_element_0 = value_colors_element.value0; + Ark_Int32 value_colors_element_0_type = INTEROP_RUNTIME_UNDEFINED; + value_colors_element_0_type = value_colors_element_0.selector; + if (value_colors_element_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_colors_element_0_0 = value_colors_element_0.value0; + valueSerializer.writeInt32(static_cast(value_colors_element_0_0)); + } + else if (value_colors_element_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_colors_element_0_1 = value_colors_element_0.value1; + valueSerializer.writeNumber(value_colors_element_0_1); + } + else if (value_colors_element_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_colors_element_0_2 = value_colors_element_0.value2; + valueSerializer.writeString(value_colors_element_0_2); + } + else if (value_colors_element_0_type == 3) { + valueSerializer.writeInt8(3); + const auto value_colors_element_0_3 = value_colors_element_0.value3; + valueSerializer.writeResource(value_colors_element_0_3); + } + const auto value_colors_element_1 = value_colors_element.value1; + valueSerializer.writeNumber(value_colors_element_1); + } + const auto value_repeating = value.repeating; + Ark_Int32 value_repeating_type = INTEROP_RUNTIME_UNDEFINED; + value_repeating_type = runtimeType(value_repeating); + valueSerializer.writeInt8(value_repeating_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_repeating_type)) { + const auto value_repeating_value = value_repeating.value; + valueSerializer.writeBoolean(value_repeating_value); + } + } void writeLinearIndicatorStartOptions(Ark_LinearIndicatorStartOptions value) { Serializer& valueSerializer = *this; @@ -60370,6 +65902,42 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(static_cast(value_buttonType_value)); } } + void writeLongPressGestureHandlerOptions(Ark_LongPressGestureHandlerOptions value) + { + Serializer& valueSerializer = *this; + const auto value_isFingerCountLimited = value.isFingerCountLimited; + Ark_Int32 value_isFingerCountLimited_type = INTEROP_RUNTIME_UNDEFINED; + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited); + valueSerializer.writeInt8(value_isFingerCountLimited_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isFingerCountLimited_type)) { + const auto value_isFingerCountLimited_value = value_isFingerCountLimited.value; + valueSerializer.writeBoolean(value_isFingerCountLimited_value); + } + const auto value_fingers = value.fingers; + Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; + value_fingers_type = runtimeType(value_fingers); + valueSerializer.writeInt8(value_fingers_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { + const auto value_fingers_value = value_fingers.value; + valueSerializer.writeNumber(value_fingers_value); + } + const auto value_repeat = value.repeat; + Ark_Int32 value_repeat_type = INTEROP_RUNTIME_UNDEFINED; + value_repeat_type = runtimeType(value_repeat); + valueSerializer.writeInt8(value_repeat_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_repeat_type)) { + const auto value_repeat_value = value_repeat.value; + valueSerializer.writeBoolean(value_repeat_value); + } + const auto value_duration = value.duration; + Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; + value_duration_type = runtimeType(value_duration); + valueSerializer.writeInt8(value_duration_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_duration_type)) { + const auto value_duration_value = value_duration.value; + valueSerializer.writeNumber(value_duration_value); + } + } void writeMarqueeOptions(Ark_MarqueeOptions value) { Serializer& valueSerializer = *this; @@ -60407,6 +65975,11 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeMeasurable(Ark_Measurable value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeMeasureResult(Ark_MeasureResult value) { Serializer& valueSerializer = *this; @@ -60536,6 +66109,48 @@ class Serializer : public SerializerBase { valueSerializer.writeString(value_navDestinationId_value); } } + void writeNavDestinationTransition(Ark_NavDestinationTransition value) + { + Serializer& valueSerializer = *this; + const auto value_onTransitionEnd = value.onTransitionEnd; + Ark_Int32 value_onTransitionEnd_type = INTEROP_RUNTIME_UNDEFINED; + value_onTransitionEnd_type = runtimeType(value_onTransitionEnd); + valueSerializer.writeInt8(value_onTransitionEnd_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onTransitionEnd_type)) { + const auto value_onTransitionEnd_value = value_onTransitionEnd.value; + valueSerializer.writeCallbackResource(value_onTransitionEnd_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onTransitionEnd_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onTransitionEnd_value.callSync)); + } + const auto value_duration = value.duration; + Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; + value_duration_type = runtimeType(value_duration); + valueSerializer.writeInt8(value_duration_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_duration_type)) { + const auto value_duration_value = value_duration.value; + valueSerializer.writeNumber(value_duration_value); + } + const auto value_curve = value.curve; + Ark_Int32 value_curve_type = INTEROP_RUNTIME_UNDEFINED; + value_curve_type = runtimeType(value_curve); + valueSerializer.writeInt8(value_curve_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_curve_type)) { + const auto value_curve_value = value_curve.value; + valueSerializer.writeInt32(static_cast(value_curve_value)); + } + const auto value_delay = value.delay; + Ark_Int32 value_delay_type = INTEROP_RUNTIME_UNDEFINED; + value_delay_type = runtimeType(value_delay); + valueSerializer.writeInt8(value_delay_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_delay_type)) { + const auto value_delay_value = value_delay.value; + valueSerializer.writeNumber(value_delay_value); + } + const auto value_event = value.event; + valueSerializer.writeCallbackResource(value_event.resource); + valueSerializer.writePointer(reinterpret_cast(value_event.call)); + valueSerializer.writePointer(reinterpret_cast(value_event.callSync)); + } void writeNavigationAnimatedTransition(Ark_NavigationAnimatedTransition value) { Serializer& valueSerializer = *this; @@ -60634,6 +66249,14 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeNestedScrollInfo(Ark_NestedScrollInfo value) + { + Serializer& valueSerializer = *this; + const auto value_parent = value.parent; + valueSerializer.writeScroller(value_parent); + const auto value_child = value.child; + valueSerializer.writeScroller(value_child); + } void writeNestedScrollOptionsExt(Ark_NestedScrollOptionsExt value) { Serializer& valueSerializer = *this; @@ -60670,11 +66293,6 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(static_cast(value_scrollLeft_value)); } } - void writeOffscreenCanvasRenderingContext2D(Ark_OffscreenCanvasRenderingContext2D value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); - } void writeOnAlertEvent(Ark_OnAlertEvent value) { Serializer& valueSerializer = *this; @@ -60909,6 +66527,12 @@ class Serializer : public SerializerBase { const auto value_handler = value.handler; valueSerializer.writeControllerHandler(value_handler); } + void writeOrientation(Ark_Orientation value) + { + Serializer& valueSerializer = *this; + const auto value__OrientationStub = value._OrientationStub; + valueSerializer.writeString(value__OrientationStub); + } void writeOverlayOffset(Ark_OverlayOffset value) { Serializer& valueSerializer = *this; @@ -60929,6 +66553,42 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_y_value); } } + void writePanGestureHandlerOptions(Ark_PanGestureHandlerOptions value) + { + Serializer& valueSerializer = *this; + const auto value_isFingerCountLimited = value.isFingerCountLimited; + Ark_Int32 value_isFingerCountLimited_type = INTEROP_RUNTIME_UNDEFINED; + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited); + valueSerializer.writeInt8(value_isFingerCountLimited_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isFingerCountLimited_type)) { + const auto value_isFingerCountLimited_value = value_isFingerCountLimited.value; + valueSerializer.writeBoolean(value_isFingerCountLimited_value); + } + const auto value_fingers = value.fingers; + Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; + value_fingers_type = runtimeType(value_fingers); + valueSerializer.writeInt8(value_fingers_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { + const auto value_fingers_value = value_fingers.value; + valueSerializer.writeNumber(value_fingers_value); + } + const auto value_direction = value.direction; + Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; + value_direction_type = runtimeType(value_direction); + valueSerializer.writeInt8(value_direction_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_direction_type)) { + const auto value_direction_value = value_direction.value; + valueSerializer.writeInt32(static_cast(value_direction_value)); + } + const auto value_distance = value.distance; + Ark_Int32 value_distance_type = INTEROP_RUNTIME_UNDEFINED; + value_distance_type = runtimeType(value_distance); + valueSerializer.writeInt8(value_distance_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_distance_type)) { + const auto value_distance_value = value_distance.value; + valueSerializer.writeNumber(value_distance_value); + } + } void writePasteButtonOptions(Ark_PasteButtonOptions value) { Serializer& valueSerializer = *this; @@ -61033,6 +66693,34 @@ class Serializer : public SerializerBase { valueSerializer.writeString(value_commands_value); } } + void writePinchGestureHandlerOptions(Ark_PinchGestureHandlerOptions value) + { + Serializer& valueSerializer = *this; + const auto value_isFingerCountLimited = value.isFingerCountLimited; + Ark_Int32 value_isFingerCountLimited_type = INTEROP_RUNTIME_UNDEFINED; + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited); + valueSerializer.writeInt8(value_isFingerCountLimited_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isFingerCountLimited_type)) { + const auto value_isFingerCountLimited_value = value_isFingerCountLimited.value; + valueSerializer.writeBoolean(value_isFingerCountLimited_value); + } + const auto value_fingers = value.fingers; + Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; + value_fingers_type = runtimeType(value_fingers); + valueSerializer.writeInt8(value_fingers_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { + const auto value_fingers_value = value_fingers.value; + valueSerializer.writeNumber(value_fingers_value); + } + const auto value_distance = value.distance; + Ark_Int32 value_distance_type = INTEROP_RUNTIME_UNDEFINED; + value_distance_type = runtimeType(value_distance); + valueSerializer.writeInt8(value_distance_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_distance_type)) { + const auto value_distance_value = value_distance.value; + valueSerializer.writeNumber(value_distance_value); + } + } void writePixelRoundPolicy(Ark_PixelRoundPolicy value) { Serializer& valueSerializer = *this; @@ -61217,6 +66905,18 @@ class Serializer : public SerializerBase { const auto value_result = value.result; valueSerializer.writeObject(value_result); } + void writePosterOptions(Ark_PosterOptions value) + { + Serializer& valueSerializer = *this; + const auto value_showFirstFrame = value.showFirstFrame; + Ark_Int32 value_showFirstFrame_type = INTEROP_RUNTIME_UNDEFINED; + value_showFirstFrame_type = runtimeType(value_showFirstFrame); + valueSerializer.writeInt8(value_showFirstFrame_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_showFirstFrame_type)) { + const auto value_showFirstFrame_value = value_showFirstFrame.value; + valueSerializer.writeBoolean(value_showFirstFrame_value); + } + } void writePostMessageOptions(Ark_PostMessageOptions value) { Serializer& valueSerializer = *this; @@ -61233,6 +66933,38 @@ class Serializer : public SerializerBase { } } } + void writePreviewConfiguration(Ark_PreviewConfiguration value) + { + Serializer& valueSerializer = *this; + const auto value_onlyForLifting = value.onlyForLifting; + Ark_Int32 value_onlyForLifting_type = INTEROP_RUNTIME_UNDEFINED; + value_onlyForLifting_type = runtimeType(value_onlyForLifting); + valueSerializer.writeInt8(value_onlyForLifting_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onlyForLifting_type)) { + const auto value_onlyForLifting_value = value_onlyForLifting.value; + valueSerializer.writeBoolean(value_onlyForLifting_value); + } + const auto value_delayCreating = value.delayCreating; + Ark_Int32 value_delayCreating_type = INTEROP_RUNTIME_UNDEFINED; + value_delayCreating_type = runtimeType(value_delayCreating); + valueSerializer.writeInt8(value_delayCreating_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_delayCreating_type)) { + const auto value_delayCreating_value = value_delayCreating.value; + valueSerializer.writeBoolean(value_delayCreating_value); + } + } + void writePreviewMenuOptions(Ark_PreviewMenuOptions value) + { + Serializer& valueSerializer = *this; + const auto value_hapticFeedbackMode = value.hapticFeedbackMode; + Ark_Int32 value_hapticFeedbackMode_type = INTEROP_RUNTIME_UNDEFINED; + value_hapticFeedbackMode_type = runtimeType(value_hapticFeedbackMode); + valueSerializer.writeInt8(value_hapticFeedbackMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hapticFeedbackMode_type)) { + const auto value_hapticFeedbackMode_value = value_hapticFeedbackMode.value; + valueSerializer.writeInt32(static_cast(value_hapticFeedbackMode_value)); + } + } void writePreviewText(Ark_PreviewText value) { Serializer& valueSerializer = *this; @@ -61375,18 +67107,6 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_type_value); } } - void writeRichEditorBuilderSpanOptions(Ark_RichEditorBuilderSpanOptions value) - { - Serializer& valueSerializer = *this; - const auto value_offset = value.offset; - Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_type = runtimeType(value_offset); - valueSerializer.writeInt8(value_offset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { - const auto value_offset_value = value_offset.value; - valueSerializer.writeNumber(value_offset_value); - } - } void writeRichEditorDeleteValue(Ark_RichEditorDeleteValue value) { Serializer& valueSerializer = *this; @@ -61437,6 +67157,16 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_onLongPress_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onLongPress_value.callSync)); } + const auto value_onDoubleClick = value.onDoubleClick; + Ark_Int32 value_onDoubleClick_type = INTEROP_RUNTIME_UNDEFINED; + value_onDoubleClick_type = runtimeType(value_onDoubleClick); + valueSerializer.writeInt8(value_onDoubleClick_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDoubleClick_type)) { + const auto value_onDoubleClick_value = value_onDoubleClick.value; + valueSerializer.writeCallbackResource(value_onDoubleClick_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDoubleClick_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDoubleClick_value.callSync)); + } } void writeRichEditorInsertValue(Ark_RichEditorInsertValue value) { @@ -61658,6 +67388,34 @@ class Serializer : public SerializerBase { valueSerializer.writeString(value_angle_1); } } + void writeRotationGestureHandlerOptions(Ark_RotationGestureHandlerOptions value) + { + Serializer& valueSerializer = *this; + const auto value_isFingerCountLimited = value.isFingerCountLimited; + Ark_Int32 value_isFingerCountLimited_type = INTEROP_RUNTIME_UNDEFINED; + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited); + valueSerializer.writeInt8(value_isFingerCountLimited_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isFingerCountLimited_type)) { + const auto value_isFingerCountLimited_value = value_isFingerCountLimited.value; + valueSerializer.writeBoolean(value_isFingerCountLimited_value); + } + const auto value_fingers = value.fingers; + Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; + value_fingers_type = runtimeType(value_fingers); + valueSerializer.writeInt8(value_fingers_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { + const auto value_fingers_value = value_fingers.value; + valueSerializer.writeNumber(value_fingers_value); + } + const auto value_angle = value.angle; + Ark_Int32 value_angle_type = INTEROP_RUNTIME_UNDEFINED; + value_angle_type = runtimeType(value_angle); + valueSerializer.writeInt8(value_angle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_angle_type)) { + const auto value_angle_value = value_angle.value; + valueSerializer.writeNumber(value_angle_value); + } + } void writeRoundedRectOptions(Ark_RoundedRectOptions value) { Serializer& valueSerializer = *this; @@ -61873,6 +67631,12 @@ class Serializer : public SerializerBase { } } } + void writeRowOptionsV2(Ark_RowOptionsV2 value) + { + Serializer& valueSerializer = *this; + const auto value_stub = value.stub; + valueSerializer.writeString(value_stub); + } void writeSaveButtonOptions(Ark_SaveButtonOptions value) { Serializer& valueSerializer = *this; @@ -62121,38 +67885,6 @@ class Serializer : public SerializerBase { valueSerializer.writeBoolean(value_animation_value); } } - void writeSelectionMenuOptions(Ark_SelectionMenuOptions value) - { - Serializer& valueSerializer = *this; - const auto value_onAppear = value.onAppear; - Ark_Int32 value_onAppear_type = INTEROP_RUNTIME_UNDEFINED; - value_onAppear_type = runtimeType(value_onAppear); - valueSerializer.writeInt8(value_onAppear_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onAppear_type)) { - const auto value_onAppear_value = value_onAppear.value; - valueSerializer.writeCallbackResource(value_onAppear_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onAppear_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onAppear_value.callSync)); - } - const auto value_onDisappear = value.onDisappear; - Ark_Int32 value_onDisappear_type = INTEROP_RUNTIME_UNDEFINED; - value_onDisappear_type = runtimeType(value_onDisappear); - valueSerializer.writeInt8(value_onDisappear_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDisappear_type)) { - const auto value_onDisappear_value = value_onDisappear.value; - valueSerializer.writeCallbackResource(value_onDisappear_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onDisappear_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onDisappear_value.callSync)); - } - const auto value_menuType = value.menuType; - Ark_Int32 value_menuType_type = INTEROP_RUNTIME_UNDEFINED; - value_menuType_type = runtimeType(value_menuType); - valueSerializer.writeInt8(value_menuType_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_menuType_type)) { - const auto value_menuType_value = value_menuType.value; - valueSerializer.writeInt32(static_cast(value_menuType_value)); - } - } void writeSelectionMenuOptionsExt(Ark_SelectionMenuOptionsExt value) { Serializer& valueSerializer = *this; @@ -62537,6 +68269,42 @@ class Serializer : public SerializerBase { valueSerializer.writeBoolean(value_lock_value); } } + void writeSwipeGestureHandlerOptions(Ark_SwipeGestureHandlerOptions value) + { + Serializer& valueSerializer = *this; + const auto value_isFingerCountLimited = value.isFingerCountLimited; + Ark_Int32 value_isFingerCountLimited_type = INTEROP_RUNTIME_UNDEFINED; + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited); + valueSerializer.writeInt8(value_isFingerCountLimited_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isFingerCountLimited_type)) { + const auto value_isFingerCountLimited_value = value_isFingerCountLimited.value; + valueSerializer.writeBoolean(value_isFingerCountLimited_value); + } + const auto value_fingers = value.fingers; + Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; + value_fingers_type = runtimeType(value_fingers); + valueSerializer.writeInt8(value_fingers_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { + const auto value_fingers_value = value_fingers.value; + valueSerializer.writeNumber(value_fingers_value); + } + const auto value_direction = value.direction; + Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; + value_direction_type = runtimeType(value_direction); + valueSerializer.writeInt8(value_direction_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_direction_type)) { + const auto value_direction_value = value_direction.value; + valueSerializer.writeInt32(static_cast(value_direction_value)); + } + const auto value_speed = value.speed; + Ark_Int32 value_speed_type = INTEROP_RUNTIME_UNDEFINED; + value_speed_type = runtimeType(value_speed); + valueSerializer.writeInt8(value_speed_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_speed_type)) { + const auto value_speed_value = value_speed.value; + valueSerializer.writeNumber(value_speed_value); + } + } void writeSwiperAutoFill(Ark_SwiperAutoFill value) { Serializer& valueSerializer = *this; @@ -62570,6 +68338,18 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_transition.call)); valueSerializer.writePointer(reinterpret_cast(value_transition.callSync)); } + void writeSystemAdaptiveOptions(Ark_SystemAdaptiveOptions value) + { + Serializer& valueSerializer = *this; + const auto value_disableSystemAdaptation = value.disableSystemAdaptation; + Ark_Int32 value_disableSystemAdaptation_type = INTEROP_RUNTIME_UNDEFINED; + value_disableSystemAdaptation_type = runtimeType(value_disableSystemAdaptation); + valueSerializer.writeInt8(value_disableSystemAdaptation_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disableSystemAdaptation_type)) { + const auto value_disableSystemAdaptation_value = value_disableSystemAdaptation.value; + valueSerializer.writeBoolean(value_disableSystemAdaptation_value); + } + } void writeSystemBarStyle(Ark_SystemBarStyle value) { Serializer& valueSerializer = *this; @@ -62612,37 +68392,17 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_transition.call)); valueSerializer.writePointer(reinterpret_cast(value_transition.callSync)); } - void writeTabsOptions(Ark_TabsOptions value) - { - Serializer& valueSerializer = *this; - const auto value_barPosition = value.barPosition; - Ark_Int32 value_barPosition_type = INTEROP_RUNTIME_UNDEFINED; - value_barPosition_type = runtimeType(value_barPosition); - valueSerializer.writeInt8(value_barPosition_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_barPosition_type)) { - const auto value_barPosition_value = value_barPosition.value; - valueSerializer.writeInt32(static_cast(value_barPosition_value)); - } - const auto value_index = value.index; - Ark_Int32 value_index_type = INTEROP_RUNTIME_UNDEFINED; - value_index_type = runtimeType(value_index); - valueSerializer.writeInt8(value_index_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_index_type)) { - const auto value_index_value = value_index.value; - valueSerializer.writeNumber(value_index_value); - } - const auto value_controller = value.controller; - Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; - value_controller_type = runtimeType(value_controller); - valueSerializer.writeInt8(value_controller_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { - const auto value_controller_value = value_controller.value; - valueSerializer.writeTabsController(value_controller_value); - } - } void writeTapGestureParameters(Ark_TapGestureParameters value) { Serializer& valueSerializer = *this; + const auto value_isFingerCountLimited = value.isFingerCountLimited; + Ark_Int32 value_isFingerCountLimited_type = INTEROP_RUNTIME_UNDEFINED; + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited); + valueSerializer.writeInt8(value_isFingerCountLimited_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isFingerCountLimited_type)) { + const auto value_isFingerCountLimited_value = value_isFingerCountLimited.value; + valueSerializer.writeBoolean(value_isFingerCountLimited_value); + } const auto value_count = value.count; Ark_Int32 value_count_type = INTEROP_RUNTIME_UNDEFINED; value_count_type = runtimeType(value_count); @@ -62696,6 +68456,72 @@ class Serializer : public SerializerBase { valueSerializer.writeTextClockController(value_controller_value); } } + void writeTextContentControllerOptions(Ark_TextContentControllerOptions value) + { + Serializer& valueSerializer = *this; + const auto value_offset = value.offset; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; + value_offset_type = runtimeType(value_offset); + valueSerializer.writeInt8(value_offset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { + const auto value_offset_value = value_offset.value; + valueSerializer.writeNumber(value_offset_value); + } + } + void writeTextMarqueeOptions(Ark_TextMarqueeOptions value) + { + Serializer& valueSerializer = *this; + const auto value_start = value.start; + valueSerializer.writeBoolean(value_start); + const auto value_step = value.step; + Ark_Int32 value_step_type = INTEROP_RUNTIME_UNDEFINED; + value_step_type = runtimeType(value_step); + valueSerializer.writeInt8(value_step_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_step_type)) { + const auto value_step_value = value_step.value; + valueSerializer.writeNumber(value_step_value); + } + const auto value_loop = value.loop; + Ark_Int32 value_loop_type = INTEROP_RUNTIME_UNDEFINED; + value_loop_type = runtimeType(value_loop); + valueSerializer.writeInt8(value_loop_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_loop_type)) { + const auto value_loop_value = value_loop.value; + valueSerializer.writeNumber(value_loop_value); + } + const auto value_fromStart = value.fromStart; + Ark_Int32 value_fromStart_type = INTEROP_RUNTIME_UNDEFINED; + value_fromStart_type = runtimeType(value_fromStart); + valueSerializer.writeInt8(value_fromStart_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fromStart_type)) { + const auto value_fromStart_value = value_fromStart.value; + valueSerializer.writeBoolean(value_fromStart_value); + } + const auto value_delay = value.delay; + Ark_Int32 value_delay_type = INTEROP_RUNTIME_UNDEFINED; + value_delay_type = runtimeType(value_delay); + valueSerializer.writeInt8(value_delay_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_delay_type)) { + const auto value_delay_value = value_delay.value; + valueSerializer.writeNumber(value_delay_value); + } + const auto value_fadeout = value.fadeout; + Ark_Int32 value_fadeout_type = INTEROP_RUNTIME_UNDEFINED; + value_fadeout_type = runtimeType(value_fadeout); + valueSerializer.writeInt8(value_fadeout_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fadeout_type)) { + const auto value_fadeout_value = value_fadeout.value; + valueSerializer.writeBoolean(value_fadeout_value); + } + const auto value_marqueeStartPolicy = value.marqueeStartPolicy; + Ark_Int32 value_marqueeStartPolicy_type = INTEROP_RUNTIME_UNDEFINED; + value_marqueeStartPolicy_type = runtimeType(value_marqueeStartPolicy); + valueSerializer.writeInt8(value_marqueeStartPolicy_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_marqueeStartPolicy_type)) { + const auto value_marqueeStartPolicy_value = value_marqueeStartPolicy.value; + valueSerializer.writeInt32(static_cast(value_marqueeStartPolicy_value)); + } + } void writeTextRange(Ark_TextRange value) { Serializer& valueSerializer = *this; @@ -62780,6 +68606,22 @@ class Serializer : public SerializerBase { const auto value_format_value = value_format.value; valueSerializer.writeInt32(static_cast(value_format_value)); } + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeInt64(value_start_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeInt64(value_end_value); + } } void writeToggleOptions(Ark_ToggleOptions value) { @@ -62818,6 +68660,46 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_x); const auto value_y = value.y; valueSerializer.writeNumber(value_y); + const auto value_hand = value.hand; + Ark_Int32 value_hand_type = INTEROP_RUNTIME_UNDEFINED; + value_hand_type = runtimeType(value_hand); + valueSerializer.writeInt8(value_hand_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hand_type)) { + const auto value_hand_value = value_hand.value; + valueSerializer.writeInt32(static_cast(value_hand_value)); + } + const auto value_pressedTime = value.pressedTime; + Ark_Int32 value_pressedTime_type = INTEROP_RUNTIME_UNDEFINED; + value_pressedTime_type = runtimeType(value_pressedTime); + valueSerializer.writeInt8(value_pressedTime_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_pressedTime_type)) { + const auto value_pressedTime_value = value_pressedTime.value; + valueSerializer.writeNumber(value_pressedTime_value); + } + const auto value_pressure = value.pressure; + Ark_Int32 value_pressure_type = INTEROP_RUNTIME_UNDEFINED; + value_pressure_type = runtimeType(value_pressure); + valueSerializer.writeInt8(value_pressure_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_pressure_type)) { + const auto value_pressure_value = value_pressure.value; + valueSerializer.writeNumber(value_pressure_value); + } + const auto value_width = value.width; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; + value_width_type = runtimeType(value_width); + valueSerializer.writeInt8(value_width_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { + const auto value_width_value = value_width.value; + valueSerializer.writeNumber(value_width_value); + } + const auto value_height = value.height; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; + value_height_type = runtimeType(value_height); + valueSerializer.writeInt8(value_height_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { + const auto value_height_value = value_height.value; + valueSerializer.writeNumber(value_height_value); + } } void writeTouchResult(Ark_TouchResult value) { @@ -62973,6 +68855,14 @@ class Serializer : public SerializerBase { const auto value_dpiFollowStrategy_value = value_dpiFollowStrategy.value; valueSerializer.writeInt32(static_cast(value_dpiFollowStrategy_value)); } + const auto value_windowModeFollowStrategy = value.windowModeFollowStrategy; + Ark_Int32 value_windowModeFollowStrategy_type = INTEROP_RUNTIME_UNDEFINED; + value_windowModeFollowStrategy_type = runtimeType(value_windowModeFollowStrategy); + valueSerializer.writeInt8(value_windowModeFollowStrategy_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_windowModeFollowStrategy_type)) { + const auto value_windowModeFollowStrategy_value = value_windowModeFollowStrategy.value; + valueSerializer.writeInt32(static_cast(value_windowModeFollowStrategy_value)); + } } void writeViewportRect(Ark_ViewportRect value) { @@ -63054,6 +68944,11 @@ class Serializer : public SerializerBase { } } } + void writeVirtualScrollOptions(Ark_VirtualScrollOptions value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeVisibleAreaEventOptions(Ark_VisibleAreaEventOptions value) { Serializer& valueSerializer = *this; @@ -63201,6 +69096,14 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_footer_value.call)); valueSerializer.writePointer(reinterpret_cast(value_footer_value.callSync)); } + const auto value_footerContent = value.footerContent; + Ark_Int32 value_footerContent_type = INTEROP_RUNTIME_UNDEFINED; + value_footerContent_type = runtimeType(value_footerContent); + valueSerializer.writeInt8(value_footerContent_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_footerContent_type)) { + const auto value_footerContent_value = value_footerContent.value; + valueSerializer.writeComponentContent(value_footerContent_value); + } const auto value_scroller = value.scroller; Ark_Int32 value_scroller_type = INTEROP_RUNTIME_UNDEFINED; value_scroller_type = runtimeType(value_scroller); @@ -63833,66 +69736,444 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_onFinish_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onFinish_value.callSync)); } - const auto value_finishCallbackType = value.finishCallbackType; - Ark_Int32 value_finishCallbackType_type = INTEROP_RUNTIME_UNDEFINED; - value_finishCallbackType_type = runtimeType(value_finishCallbackType); - valueSerializer.writeInt8(value_finishCallbackType_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_finishCallbackType_type)) { - const auto value_finishCallbackType_value = value_finishCallbackType.value; - valueSerializer.writeInt32(static_cast(value_finishCallbackType_value)); + const auto value_finishCallbackType = value.finishCallbackType; + Ark_Int32 value_finishCallbackType_type = INTEROP_RUNTIME_UNDEFINED; + value_finishCallbackType_type = runtimeType(value_finishCallbackType); + valueSerializer.writeInt8(value_finishCallbackType_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_finishCallbackType_type)) { + const auto value_finishCallbackType_value = value_finishCallbackType.value; + valueSerializer.writeInt32(static_cast(value_finishCallbackType_value)); + } + const auto value_expectedFrameRateRange = value.expectedFrameRateRange; + Ark_Int32 value_expectedFrameRateRange_type = INTEROP_RUNTIME_UNDEFINED; + value_expectedFrameRateRange_type = runtimeType(value_expectedFrameRateRange); + valueSerializer.writeInt8(value_expectedFrameRateRange_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_expectedFrameRateRange_type)) { + const auto value_expectedFrameRateRange_value = value_expectedFrameRateRange.value; + valueSerializer.writeExpectedFrameRateRange(value_expectedFrameRateRange_value); + } + } + void writeBackgroundBlurStyleOptions(Ark_BackgroundBlurStyleOptions value) + { + Serializer& valueSerializer = *this; + const auto value_colorMode = value.colorMode; + Ark_Int32 value_colorMode_type = INTEROP_RUNTIME_UNDEFINED; + value_colorMode_type = runtimeType(value_colorMode); + valueSerializer.writeInt8(value_colorMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_colorMode_type)) { + const auto value_colorMode_value = value_colorMode.value; + valueSerializer.writeInt32(static_cast(value_colorMode_value)); + } + const auto value_adaptiveColor = value.adaptiveColor; + Ark_Int32 value_adaptiveColor_type = INTEROP_RUNTIME_UNDEFINED; + value_adaptiveColor_type = runtimeType(value_adaptiveColor); + valueSerializer.writeInt8(value_adaptiveColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_adaptiveColor_type)) { + const auto value_adaptiveColor_value = value_adaptiveColor.value; + valueSerializer.writeInt32(static_cast(value_adaptiveColor_value)); + } + const auto value_scale = value.scale; + Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; + value_scale_type = runtimeType(value_scale); + valueSerializer.writeInt8(value_scale_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scale_type)) { + const auto value_scale_value = value_scale.value; + valueSerializer.writeNumber(value_scale_value); + } + const auto value_blurOptions = value.blurOptions; + Ark_Int32 value_blurOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_blurOptions_type = runtimeType(value_blurOptions); + valueSerializer.writeInt8(value_blurOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_blurOptions_type)) { + const auto value_blurOptions_value = value_blurOptions.value; + valueSerializer.writeBlurOptions(value_blurOptions_value); + } + const auto value_policy = value.policy; + Ark_Int32 value_policy_type = INTEROP_RUNTIME_UNDEFINED; + value_policy_type = runtimeType(value_policy); + valueSerializer.writeInt8(value_policy_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_policy_type)) { + const auto value_policy_value = value_policy.value; + valueSerializer.writeInt32(static_cast(value_policy_value)); + } + const auto value_inactiveColor = value.inactiveColor; + Ark_Int32 value_inactiveColor_type = INTEROP_RUNTIME_UNDEFINED; + value_inactiveColor_type = runtimeType(value_inactiveColor); + valueSerializer.writeInt8(value_inactiveColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_inactiveColor_type)) { + const auto value_inactiveColor_value = value_inactiveColor.value; + Ark_Int32 value_inactiveColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_inactiveColor_value_type = value_inactiveColor_value.selector; + if (value_inactiveColor_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_inactiveColor_value_0 = value_inactiveColor_value.value0; + valueSerializer.writeInt32(static_cast(value_inactiveColor_value_0)); + } + else if (value_inactiveColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_inactiveColor_value_1 = value_inactiveColor_value.value1; + valueSerializer.writeNumber(value_inactiveColor_value_1); + } + else if (value_inactiveColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_inactiveColor_value_2 = value_inactiveColor_value.value2; + valueSerializer.writeString(value_inactiveColor_value_2); + } + else if (value_inactiveColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_inactiveColor_value_3 = value_inactiveColor_value.value3; + valueSerializer.writeResource(value_inactiveColor_value_3); + } + } + } + void writeBackgroundEffectOptions(Ark_BackgroundEffectOptions value) + { + Serializer& valueSerializer = *this; + const auto value_radius = value.radius; + valueSerializer.writeNumber(value_radius); + const auto value_saturation = value.saturation; + Ark_Int32 value_saturation_type = INTEROP_RUNTIME_UNDEFINED; + value_saturation_type = runtimeType(value_saturation); + valueSerializer.writeInt8(value_saturation_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_saturation_type)) { + const auto value_saturation_value = value_saturation.value; + valueSerializer.writeNumber(value_saturation_value); + } + const auto value_brightness = value.brightness; + Ark_Int32 value_brightness_type = INTEROP_RUNTIME_UNDEFINED; + value_brightness_type = runtimeType(value_brightness); + valueSerializer.writeInt8(value_brightness_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_brightness_type)) { + const auto value_brightness_value = value_brightness.value; + valueSerializer.writeNumber(value_brightness_value); + } + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); + } + else if (value_color_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeNumber(value_color_value_1); + } + else if (value_color_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeString(value_color_value_2); + } + else if (value_color_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeResource(value_color_value_3); + } + } + const auto value_adaptiveColor = value.adaptiveColor; + Ark_Int32 value_adaptiveColor_type = INTEROP_RUNTIME_UNDEFINED; + value_adaptiveColor_type = runtimeType(value_adaptiveColor); + valueSerializer.writeInt8(value_adaptiveColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_adaptiveColor_type)) { + const auto value_adaptiveColor_value = value_adaptiveColor.value; + valueSerializer.writeInt32(static_cast(value_adaptiveColor_value)); + } + const auto value_blurOptions = value.blurOptions; + Ark_Int32 value_blurOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_blurOptions_type = runtimeType(value_blurOptions); + valueSerializer.writeInt8(value_blurOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_blurOptions_type)) { + const auto value_blurOptions_value = value_blurOptions.value; + valueSerializer.writeBlurOptions(value_blurOptions_value); + } + const auto value_policy = value.policy; + Ark_Int32 value_policy_type = INTEROP_RUNTIME_UNDEFINED; + value_policy_type = runtimeType(value_policy); + valueSerializer.writeInt8(value_policy_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_policy_type)) { + const auto value_policy_value = value_policy.value; + valueSerializer.writeInt32(static_cast(value_policy_value)); + } + const auto value_inactiveColor = value.inactiveColor; + Ark_Int32 value_inactiveColor_type = INTEROP_RUNTIME_UNDEFINED; + value_inactiveColor_type = runtimeType(value_inactiveColor); + valueSerializer.writeInt8(value_inactiveColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_inactiveColor_type)) { + const auto value_inactiveColor_value = value_inactiveColor.value; + Ark_Int32 value_inactiveColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_inactiveColor_value_type = value_inactiveColor_value.selector; + if (value_inactiveColor_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_inactiveColor_value_0 = value_inactiveColor_value.value0; + valueSerializer.writeInt32(static_cast(value_inactiveColor_value_0)); + } + else if (value_inactiveColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_inactiveColor_value_1 = value_inactiveColor_value.value1; + valueSerializer.writeNumber(value_inactiveColor_value_1); + } + else if (value_inactiveColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_inactiveColor_value_2 = value_inactiveColor_value.value2; + valueSerializer.writeString(value_inactiveColor_value_2); + } + else if (value_inactiveColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_inactiveColor_value_3 = value_inactiveColor_value.value3; + valueSerializer.writeResource(value_inactiveColor_value_3); + } + } + } + void writeButtonIconOptions(Ark_ButtonIconOptions value) + { + Serializer& valueSerializer = *this; + const auto value_shown = value.shown; + Ark_Int32 value_shown_type = INTEROP_RUNTIME_UNDEFINED; + value_shown_type = value_shown.selector; + if (value_shown_type == 0) { + valueSerializer.writeInt8(0); + const auto value_shown_0 = value_shown.value0; + valueSerializer.writeString(value_shown_0); + } + else if (value_shown_type == 1) { + valueSerializer.writeInt8(1); + const auto value_shown_1 = value_shown.value1; + valueSerializer.writePixelMap(value_shown_1); + } + else if (value_shown_type == 2) { + valueSerializer.writeInt8(2); + const auto value_shown_2 = value_shown.value2; + valueSerializer.writeResource(value_shown_2); + } + const auto value_hidden = value.hidden; + Ark_Int32 value_hidden_type = INTEROP_RUNTIME_UNDEFINED; + value_hidden_type = value_hidden.selector; + if (value_hidden_type == 0) { + valueSerializer.writeInt8(0); + const auto value_hidden_0 = value_hidden.value0; + valueSerializer.writeString(value_hidden_0); + } + else if (value_hidden_type == 1) { + valueSerializer.writeInt8(1); + const auto value_hidden_1 = value_hidden.value1; + valueSerializer.writePixelMap(value_hidden_1); + } + else if (value_hidden_type == 2) { + valueSerializer.writeInt8(2); + const auto value_hidden_2 = value_hidden.value2; + valueSerializer.writeResource(value_hidden_2); + } + const auto value_switching = value.switching; + Ark_Int32 value_switching_type = INTEROP_RUNTIME_UNDEFINED; + value_switching_type = runtimeType(value_switching); + valueSerializer.writeInt8(value_switching_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_switching_type)) { + const auto value_switching_value = value_switching.value; + Ark_Int32 value_switching_value_type = INTEROP_RUNTIME_UNDEFINED; + value_switching_value_type = value_switching_value.selector; + if (value_switching_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_switching_value_0 = value_switching_value.value0; + valueSerializer.writeString(value_switching_value_0); + } + else if (value_switching_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_switching_value_1 = value_switching_value.value1; + valueSerializer.writePixelMap(value_switching_value_1); + } + else if (value_switching_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_switching_value_2 = value_switching_value.value2; + valueSerializer.writeResource(value_switching_value_2); + } + } + } + void writeCalendarOptions(Ark_CalendarOptions value) + { + Serializer& valueSerializer = *this; + const auto value_hintRadius = value.hintRadius; + Ark_Int32 value_hintRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_hintRadius_type = runtimeType(value_hintRadius); + valueSerializer.writeInt8(value_hintRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hintRadius_type)) { + const auto value_hintRadius_value = value_hintRadius.value; + Ark_Int32 value_hintRadius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_hintRadius_value_type = value_hintRadius_value.selector; + if (value_hintRadius_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_hintRadius_value_0 = value_hintRadius_value.value0; + valueSerializer.writeNumber(value_hintRadius_value_0); + } + else if (value_hintRadius_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_hintRadius_value_1 = value_hintRadius_value.value1; + valueSerializer.writeResource(value_hintRadius_value_1); + } + } + const auto value_selected = value.selected; + Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; + value_selected_type = runtimeType(value_selected); + valueSerializer.writeInt8(value_selected_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selected_type)) { + const auto value_selected_value = value_selected.value; + valueSerializer.writeInt64(value_selected_value); + } + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeInt64(value_start_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeInt64(value_end_value); } - const auto value_expectedFrameRateRange = value.expectedFrameRateRange; - Ark_Int32 value_expectedFrameRateRange_type = INTEROP_RUNTIME_UNDEFINED; - value_expectedFrameRateRange_type = runtimeType(value_expectedFrameRateRange); - valueSerializer.writeInt8(value_expectedFrameRateRange_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_expectedFrameRateRange_type)) { - const auto value_expectedFrameRateRange_value = value_expectedFrameRateRange.value; - valueSerializer.writeExpectedFrameRateRange(value_expectedFrameRateRange_value); + const auto value_disabledDateRange = value.disabledDateRange; + Ark_Int32 value_disabledDateRange_type = INTEROP_RUNTIME_UNDEFINED; + value_disabledDateRange_type = runtimeType(value_disabledDateRange); + valueSerializer.writeInt8(value_disabledDateRange_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disabledDateRange_type)) { + const auto value_disabledDateRange_value = value_disabledDateRange.value; + valueSerializer.writeInt32(value_disabledDateRange_value.length); + for (int i = 0; i < value_disabledDateRange_value.length; i++) { + const Ark_DateRange value_disabledDateRange_value_element = value_disabledDateRange_value.array[i]; + valueSerializer.writeDateRange(value_disabledDateRange_value_element); + } } } - void writeArrowStyle(Ark_ArrowStyle value) + void writeCanvasRenderer(Ark_CanvasRenderer value) { Serializer& valueSerializer = *this; - const auto value_showBackground = value.showBackground; - Ark_Int32 value_showBackground_type = INTEROP_RUNTIME_UNDEFINED; - value_showBackground_type = runtimeType(value_showBackground); - valueSerializer.writeInt8(value_showBackground_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_showBackground_type)) { - const auto value_showBackground_value = value_showBackground.value; - valueSerializer.writeBoolean(value_showBackground_value); - } - const auto value_isSidebarMiddle = value.isSidebarMiddle; - Ark_Int32 value_isSidebarMiddle_type = INTEROP_RUNTIME_UNDEFINED; - value_isSidebarMiddle_type = runtimeType(value_isSidebarMiddle); - valueSerializer.writeInt8(value_isSidebarMiddle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_isSidebarMiddle_type)) { - const auto value_isSidebarMiddle_value = value_isSidebarMiddle.value; - valueSerializer.writeBoolean(value_isSidebarMiddle_value); - } - const auto value_backgroundSize = value.backgroundSize; - Ark_Int32 value_backgroundSize_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundSize_type = runtimeType(value_backgroundSize); - valueSerializer.writeInt8(value_backgroundSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundSize_type)) { - const auto value_backgroundSize_value = value_backgroundSize.value; - Ark_Int32 value_backgroundSize_value_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundSize_value_type = value_backgroundSize_value.selector; - if (value_backgroundSize_value_type == 0) { + valueSerializer.writePointer(value); + } + void writeCanvasRenderingContext2D(Ark_CanvasRenderingContext2D value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } + void writeCircleStyleOptions(Ark_CircleStyleOptions value) + { + Serializer& valueSerializer = *this; + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_backgroundSize_value_0 = value_backgroundSize_value.value0; - valueSerializer.writeString(value_backgroundSize_value_0); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); } - else if (value_backgroundSize_value_type == 1) { + else if (value_color_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_backgroundSize_value_1 = value_backgroundSize_value.value1; - valueSerializer.writeNumber(value_backgroundSize_value_1); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeNumber(value_color_value_1); } - else if (value_backgroundSize_value_type == 2) { + else if (value_color_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_backgroundSize_value_2 = value_backgroundSize_value.value2; - valueSerializer.writeResource(value_backgroundSize_value_2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeString(value_color_value_2); + } + else if (value_color_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeResource(value_color_value_3); } } + const auto value_radius = value.radius; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_type = runtimeType(value_radius); + valueSerializer.writeInt8(value_radius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { + const auto value_radius_value = value_radius.value; + valueSerializer.writeLengthMetrics(value_radius_value); + } + const auto value_enableWaveEffect = value.enableWaveEffect; + Ark_Int32 value_enableWaveEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_enableWaveEffect_type = runtimeType(value_enableWaveEffect); + valueSerializer.writeInt8(value_enableWaveEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableWaveEffect_type)) { + const auto value_enableWaveEffect_value = value_enableWaveEffect.value; + valueSerializer.writeBoolean(value_enableWaveEffect_value); + } + const auto value_enableForeground = value.enableForeground; + Ark_Int32 value_enableForeground_type = INTEROP_RUNTIME_UNDEFINED; + value_enableForeground_type = runtimeType(value_enableForeground); + valueSerializer.writeInt8(value_enableForeground_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableForeground_type)) { + const auto value_enableForeground_value = value_enableForeground.value; + valueSerializer.writeBoolean(value_enableForeground_value); + } + } + void writeComponentInfo(Ark_ComponentInfo value) + { + Serializer& valueSerializer = *this; + const auto value_size = value.size; + valueSerializer.writeSize(value_size); + const auto value_localOffset = value.localOffset; + valueSerializer.writeOffset_componentutils(value_localOffset); + const auto value_windowOffset = value.windowOffset; + valueSerializer.writeOffset_componentutils(value_windowOffset); + const auto value_screenOffset = value.screenOffset; + valueSerializer.writeOffset_componentutils(value_screenOffset); + const auto value_translate = value.translate; + valueSerializer.writeTranslateResult(value_translate); + const auto value_scale = value.scale; + valueSerializer.writeScaleResult(value_scale); + const auto value_rotate = value.rotate; + valueSerializer.writeRotateResult(value_rotate); + const auto value_transform = value.transform; + const auto value_transform_0 = value_transform.value0; + valueSerializer.writeNumber(value_transform_0); + const auto value_transform_1 = value_transform.value1; + valueSerializer.writeNumber(value_transform_1); + const auto value_transform_2 = value_transform.value2; + valueSerializer.writeNumber(value_transform_2); + const auto value_transform_3 = value_transform.value3; + valueSerializer.writeNumber(value_transform_3); + const auto value_transform_4 = value_transform.value4; + valueSerializer.writeNumber(value_transform_4); + const auto value_transform_5 = value_transform.value5; + valueSerializer.writeNumber(value_transform_5); + const auto value_transform_6 = value_transform.value6; + valueSerializer.writeNumber(value_transform_6); + const auto value_transform_7 = value_transform.value7; + valueSerializer.writeNumber(value_transform_7); + const auto value_transform_8 = value_transform.value8; + valueSerializer.writeNumber(value_transform_8); + const auto value_transform_9 = value_transform.value9; + valueSerializer.writeNumber(value_transform_9); + const auto value_transform_10 = value_transform.value10; + valueSerializer.writeNumber(value_transform_10); + const auto value_transform_11 = value_transform.value11; + valueSerializer.writeNumber(value_transform_11); + const auto value_transform_12 = value_transform.value12; + valueSerializer.writeNumber(value_transform_12); + const auto value_transform_13 = value_transform.value13; + valueSerializer.writeNumber(value_transform_13); + const auto value_transform_14 = value_transform.value14; + valueSerializer.writeNumber(value_transform_14); + const auto value_transform_15 = value_transform.value15; + valueSerializer.writeNumber(value_transform_15); + } + void writeContentCoverOptions(Ark_ContentCoverOptions value) + { + Serializer& valueSerializer = *this; const auto value_backgroundColor = value.backgroundColor; Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); @@ -63922,4154 +70203,5321 @@ class Serializer : public SerializerBase { valueSerializer.writeResource(value_backgroundColor_value_3); } } - const auto value_arrowSize = value.arrowSize; - Ark_Int32 value_arrowSize_type = INTEROP_RUNTIME_UNDEFINED; - value_arrowSize_type = runtimeType(value_arrowSize); - valueSerializer.writeInt8(value_arrowSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowSize_type)) { - const auto value_arrowSize_value = value_arrowSize.value; - Ark_Int32 value_arrowSize_value_type = INTEROP_RUNTIME_UNDEFINED; - value_arrowSize_value_type = value_arrowSize_value.selector; - if (value_arrowSize_value_type == 0) { + const auto value_onAppear = value.onAppear; + Ark_Int32 value_onAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onAppear_type = runtimeType(value_onAppear); + valueSerializer.writeInt8(value_onAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onAppear_type)) { + const auto value_onAppear_value = value_onAppear.value; + valueSerializer.writeCallbackResource(value_onAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onAppear_value.callSync)); + } + const auto value_onDisappear = value.onDisappear; + Ark_Int32 value_onDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDisappear_type = runtimeType(value_onDisappear); + valueSerializer.writeInt8(value_onDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDisappear_type)) { + const auto value_onDisappear_value = value_onDisappear.value; + valueSerializer.writeCallbackResource(value_onDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDisappear_value.callSync)); + } + const auto value_onWillAppear = value.onWillAppear; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillAppear_type = runtimeType(value_onWillAppear); + valueSerializer.writeInt8(value_onWillAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillAppear_type)) { + const auto value_onWillAppear_value = value_onWillAppear.value; + valueSerializer.writeCallbackResource(value_onWillAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.callSync)); + } + const auto value_onWillDisappear = value.onWillDisappear; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillDisappear_type = runtimeType(value_onWillDisappear); + valueSerializer.writeInt8(value_onWillDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDisappear_type)) { + const auto value_onWillDisappear_value = value_onWillDisappear.value; + valueSerializer.writeCallbackResource(value_onWillDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.callSync)); + } + const auto value_modalTransition = value.modalTransition; + Ark_Int32 value_modalTransition_type = INTEROP_RUNTIME_UNDEFINED; + value_modalTransition_type = runtimeType(value_modalTransition); + valueSerializer.writeInt8(value_modalTransition_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_modalTransition_type)) { + const auto value_modalTransition_value = value_modalTransition.value; + valueSerializer.writeInt32(static_cast(value_modalTransition_value)); + } + const auto value_onWillDismiss = value.onWillDismiss; + Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillDismiss_type = runtimeType(value_onWillDismiss); + valueSerializer.writeInt8(value_onWillDismiss_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDismiss_type)) { + const auto value_onWillDismiss_value = value_onWillDismiss.value; + valueSerializer.writeCallbackResource(value_onWillDismiss_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillDismiss_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillDismiss_value.callSync)); + } + const auto value_transition = value.transition; + Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; + value_transition_type = runtimeType(value_transition); + valueSerializer.writeInt8(value_transition_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_transition_type)) { + const auto value_transition_value = value_transition.value; + valueSerializer.writeTransitionEffect(value_transition_value); + } + } + void writeContextMenuAnimationOptions(Ark_ContextMenuAnimationOptions value) + { + Serializer& valueSerializer = *this; + const auto value_scale = value.scale; + Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; + value_scale_type = runtimeType(value_scale); + valueSerializer.writeInt8(value_scale_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scale_type)) { + const auto value_scale_value = value_scale.value; + const auto value_scale_value_0 = value_scale_value.value0; + valueSerializer.writeNumber(value_scale_value_0); + const auto value_scale_value_1 = value_scale_value.value1; + valueSerializer.writeNumber(value_scale_value_1); + } + const auto value_transition = value.transition; + Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; + value_transition_type = runtimeType(value_transition); + valueSerializer.writeInt8(value_transition_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_transition_type)) { + const auto value_transition_value = value_transition.value; + valueSerializer.writeTransitionEffect(value_transition_value); + } + const auto value_hoverScale = value.hoverScale; + Ark_Int32 value_hoverScale_type = INTEROP_RUNTIME_UNDEFINED; + value_hoverScale_type = runtimeType(value_hoverScale); + valueSerializer.writeInt8(value_hoverScale_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hoverScale_type)) { + const auto value_hoverScale_value = value_hoverScale.value; + const auto value_hoverScale_value_0 = value_hoverScale_value.value0; + valueSerializer.writeNumber(value_hoverScale_value_0); + const auto value_hoverScale_value_1 = value_hoverScale_value.value1; + valueSerializer.writeNumber(value_hoverScale_value_1); + } + } + void writeCurrentDayStyle(Ark_CurrentDayStyle value) + { + Serializer& valueSerializer = *this; + const auto value_dayColor = value.dayColor; + Ark_Int32 value_dayColor_type = INTEROP_RUNTIME_UNDEFINED; + value_dayColor_type = runtimeType(value_dayColor); + valueSerializer.writeInt8(value_dayColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dayColor_type)) { + const auto value_dayColor_value = value_dayColor.value; + Ark_Int32 value_dayColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_dayColor_value_type = value_dayColor_value.selector; + if (value_dayColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_arrowSize_value_0 = value_arrowSize_value.value0; - valueSerializer.writeString(value_arrowSize_value_0); + const auto value_dayColor_value_0 = value_dayColor_value.value0; + valueSerializer.writeInt32(static_cast(value_dayColor_value_0)); } - else if (value_arrowSize_value_type == 1) { + else if (value_dayColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_arrowSize_value_1 = value_arrowSize_value.value1; - valueSerializer.writeNumber(value_arrowSize_value_1); + const auto value_dayColor_value_1 = value_dayColor_value.value1; + valueSerializer.writeNumber(value_dayColor_value_1); } - else if (value_arrowSize_value_type == 2) { + else if (value_dayColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_arrowSize_value_2 = value_arrowSize_value.value2; - valueSerializer.writeResource(value_arrowSize_value_2); + const auto value_dayColor_value_2 = value_dayColor_value.value2; + valueSerializer.writeString(value_dayColor_value_2); + } + else if (value_dayColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_dayColor_value_3 = value_dayColor_value.value3; + valueSerializer.writeResource(value_dayColor_value_3); } } - const auto value_arrowColor = value.arrowColor; - Ark_Int32 value_arrowColor_type = INTEROP_RUNTIME_UNDEFINED; - value_arrowColor_type = runtimeType(value_arrowColor); - valueSerializer.writeInt8(value_arrowColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowColor_type)) { - const auto value_arrowColor_value = value_arrowColor.value; - Ark_Int32 value_arrowColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_arrowColor_value_type = value_arrowColor_value.selector; - if (value_arrowColor_value_type == 0) { + const auto value_lunarColor = value.lunarColor; + Ark_Int32 value_lunarColor_type = INTEROP_RUNTIME_UNDEFINED; + value_lunarColor_type = runtimeType(value_lunarColor); + valueSerializer.writeInt8(value_lunarColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lunarColor_type)) { + const auto value_lunarColor_value = value_lunarColor.value; + Ark_Int32 value_lunarColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_lunarColor_value_type = value_lunarColor_value.selector; + if (value_lunarColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_arrowColor_value_0 = value_arrowColor_value.value0; - valueSerializer.writeInt32(static_cast(value_arrowColor_value_0)); + const auto value_lunarColor_value_0 = value_lunarColor_value.value0; + valueSerializer.writeInt32(static_cast(value_lunarColor_value_0)); } - else if (value_arrowColor_value_type == 1) { + else if (value_lunarColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_arrowColor_value_1 = value_arrowColor_value.value1; - valueSerializer.writeNumber(value_arrowColor_value_1); + const auto value_lunarColor_value_1 = value_lunarColor_value.value1; + valueSerializer.writeNumber(value_lunarColor_value_1); } - else if (value_arrowColor_value_type == 2) { + else if (value_lunarColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_arrowColor_value_2 = value_arrowColor_value.value2; - valueSerializer.writeString(value_arrowColor_value_2); + const auto value_lunarColor_value_2 = value_lunarColor_value.value2; + valueSerializer.writeString(value_lunarColor_value_2); } - else if (value_arrowColor_value_type == 3) { + else if (value_lunarColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_arrowColor_value_3 = value_arrowColor_value.value3; - valueSerializer.writeResource(value_arrowColor_value_3); + const auto value_lunarColor_value_3 = value_lunarColor_value.value3; + valueSerializer.writeResource(value_lunarColor_value_3); } } - } - void writeBackgroundBlurStyleOptions(Ark_BackgroundBlurStyleOptions value) - { - Serializer& valueSerializer = *this; - const auto value_colorMode = value.colorMode; - Ark_Int32 value_colorMode_type = INTEROP_RUNTIME_UNDEFINED; - value_colorMode_type = runtimeType(value_colorMode); - valueSerializer.writeInt8(value_colorMode_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_colorMode_type)) { - const auto value_colorMode_value = value_colorMode.value; - valueSerializer.writeInt32(static_cast(value_colorMode_value)); + const auto value_markLunarColor = value.markLunarColor; + Ark_Int32 value_markLunarColor_type = INTEROP_RUNTIME_UNDEFINED; + value_markLunarColor_type = runtimeType(value_markLunarColor); + valueSerializer.writeInt8(value_markLunarColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_markLunarColor_type)) { + const auto value_markLunarColor_value = value_markLunarColor.value; + Ark_Int32 value_markLunarColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_markLunarColor_value_type = value_markLunarColor_value.selector; + if (value_markLunarColor_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_markLunarColor_value_0 = value_markLunarColor_value.value0; + valueSerializer.writeInt32(static_cast(value_markLunarColor_value_0)); + } + else if (value_markLunarColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_markLunarColor_value_1 = value_markLunarColor_value.value1; + valueSerializer.writeNumber(value_markLunarColor_value_1); + } + else if (value_markLunarColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_markLunarColor_value_2 = value_markLunarColor_value.value2; + valueSerializer.writeString(value_markLunarColor_value_2); + } + else if (value_markLunarColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_markLunarColor_value_3 = value_markLunarColor_value.value3; + valueSerializer.writeResource(value_markLunarColor_value_3); + } } - const auto value_adaptiveColor = value.adaptiveColor; - Ark_Int32 value_adaptiveColor_type = INTEROP_RUNTIME_UNDEFINED; - value_adaptiveColor_type = runtimeType(value_adaptiveColor); - valueSerializer.writeInt8(value_adaptiveColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_adaptiveColor_type)) { - const auto value_adaptiveColor_value = value_adaptiveColor.value; - valueSerializer.writeInt32(static_cast(value_adaptiveColor_value)); + const auto value_dayFontSize = value.dayFontSize; + Ark_Int32 value_dayFontSize_type = INTEROP_RUNTIME_UNDEFINED; + value_dayFontSize_type = runtimeType(value_dayFontSize); + valueSerializer.writeInt8(value_dayFontSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dayFontSize_type)) { + const auto value_dayFontSize_value = value_dayFontSize.value; + valueSerializer.writeNumber(value_dayFontSize_value); + } + const auto value_lunarDayFontSize = value.lunarDayFontSize; + Ark_Int32 value_lunarDayFontSize_type = INTEROP_RUNTIME_UNDEFINED; + value_lunarDayFontSize_type = runtimeType(value_lunarDayFontSize); + valueSerializer.writeInt8(value_lunarDayFontSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lunarDayFontSize_type)) { + const auto value_lunarDayFontSize_value = value_lunarDayFontSize.value; + valueSerializer.writeNumber(value_lunarDayFontSize_value); + } + const auto value_dayHeight = value.dayHeight; + Ark_Int32 value_dayHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_dayHeight_type = runtimeType(value_dayHeight); + valueSerializer.writeInt8(value_dayHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dayHeight_type)) { + const auto value_dayHeight_value = value_dayHeight.value; + valueSerializer.writeNumber(value_dayHeight_value); + } + const auto value_dayWidth = value.dayWidth; + Ark_Int32 value_dayWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_dayWidth_type = runtimeType(value_dayWidth); + valueSerializer.writeInt8(value_dayWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dayWidth_type)) { + const auto value_dayWidth_value = value_dayWidth.value; + valueSerializer.writeNumber(value_dayWidth_value); + } + const auto value_gregorianCalendarHeight = value.gregorianCalendarHeight; + Ark_Int32 value_gregorianCalendarHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_gregorianCalendarHeight_type = runtimeType(value_gregorianCalendarHeight); + valueSerializer.writeInt8(value_gregorianCalendarHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_gregorianCalendarHeight_type)) { + const auto value_gregorianCalendarHeight_value = value_gregorianCalendarHeight.value; + valueSerializer.writeNumber(value_gregorianCalendarHeight_value); + } + const auto value_dayYAxisOffset = value.dayYAxisOffset; + Ark_Int32 value_dayYAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_dayYAxisOffset_type = runtimeType(value_dayYAxisOffset); + valueSerializer.writeInt8(value_dayYAxisOffset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dayYAxisOffset_type)) { + const auto value_dayYAxisOffset_value = value_dayYAxisOffset.value; + valueSerializer.writeNumber(value_dayYAxisOffset_value); + } + const auto value_lunarDayYAxisOffset = value.lunarDayYAxisOffset; + Ark_Int32 value_lunarDayYAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_lunarDayYAxisOffset_type = runtimeType(value_lunarDayYAxisOffset); + valueSerializer.writeInt8(value_lunarDayYAxisOffset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lunarDayYAxisOffset_type)) { + const auto value_lunarDayYAxisOffset_value = value_lunarDayYAxisOffset.value; + valueSerializer.writeNumber(value_lunarDayYAxisOffset_value); + } + const auto value_underscoreXAxisOffset = value.underscoreXAxisOffset; + Ark_Int32 value_underscoreXAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_underscoreXAxisOffset_type = runtimeType(value_underscoreXAxisOffset); + valueSerializer.writeInt8(value_underscoreXAxisOffset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_underscoreXAxisOffset_type)) { + const auto value_underscoreXAxisOffset_value = value_underscoreXAxisOffset.value; + valueSerializer.writeNumber(value_underscoreXAxisOffset_value); + } + const auto value_underscoreYAxisOffset = value.underscoreYAxisOffset; + Ark_Int32 value_underscoreYAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_underscoreYAxisOffset_type = runtimeType(value_underscoreYAxisOffset); + valueSerializer.writeInt8(value_underscoreYAxisOffset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_underscoreYAxisOffset_type)) { + const auto value_underscoreYAxisOffset_value = value_underscoreYAxisOffset.value; + valueSerializer.writeNumber(value_underscoreYAxisOffset_value); + } + const auto value_scheduleMarkerXAxisOffset = value.scheduleMarkerXAxisOffset; + Ark_Int32 value_scheduleMarkerXAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_scheduleMarkerXAxisOffset_type = runtimeType(value_scheduleMarkerXAxisOffset); + valueSerializer.writeInt8(value_scheduleMarkerXAxisOffset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scheduleMarkerXAxisOffset_type)) { + const auto value_scheduleMarkerXAxisOffset_value = value_scheduleMarkerXAxisOffset.value; + valueSerializer.writeNumber(value_scheduleMarkerXAxisOffset_value); + } + const auto value_scheduleMarkerYAxisOffset = value.scheduleMarkerYAxisOffset; + Ark_Int32 value_scheduleMarkerYAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_scheduleMarkerYAxisOffset_type = runtimeType(value_scheduleMarkerYAxisOffset); + valueSerializer.writeInt8(value_scheduleMarkerYAxisOffset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scheduleMarkerYAxisOffset_type)) { + const auto value_scheduleMarkerYAxisOffset_value = value_scheduleMarkerYAxisOffset.value; + valueSerializer.writeNumber(value_scheduleMarkerYAxisOffset_value); + } + const auto value_colSpace = value.colSpace; + Ark_Int32 value_colSpace_type = INTEROP_RUNTIME_UNDEFINED; + value_colSpace_type = runtimeType(value_colSpace); + valueSerializer.writeInt8(value_colSpace_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_colSpace_type)) { + const auto value_colSpace_value = value_colSpace.value; + valueSerializer.writeNumber(value_colSpace_value); + } + const auto value_dailyFiveRowSpace = value.dailyFiveRowSpace; + Ark_Int32 value_dailyFiveRowSpace_type = INTEROP_RUNTIME_UNDEFINED; + value_dailyFiveRowSpace_type = runtimeType(value_dailyFiveRowSpace); + valueSerializer.writeInt8(value_dailyFiveRowSpace_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dailyFiveRowSpace_type)) { + const auto value_dailyFiveRowSpace_value = value_dailyFiveRowSpace.value; + valueSerializer.writeNumber(value_dailyFiveRowSpace_value); + } + const auto value_dailySixRowSpace = value.dailySixRowSpace; + Ark_Int32 value_dailySixRowSpace_type = INTEROP_RUNTIME_UNDEFINED; + value_dailySixRowSpace_type = runtimeType(value_dailySixRowSpace); + valueSerializer.writeInt8(value_dailySixRowSpace_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dailySixRowSpace_type)) { + const auto value_dailySixRowSpace_value = value_dailySixRowSpace.value; + valueSerializer.writeNumber(value_dailySixRowSpace_value); + } + const auto value_lunarHeight = value.lunarHeight; + Ark_Int32 value_lunarHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_lunarHeight_type = runtimeType(value_lunarHeight); + valueSerializer.writeInt8(value_lunarHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lunarHeight_type)) { + const auto value_lunarHeight_value = value_lunarHeight.value; + valueSerializer.writeNumber(value_lunarHeight_value); + } + const auto value_underscoreWidth = value.underscoreWidth; + Ark_Int32 value_underscoreWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_underscoreWidth_type = runtimeType(value_underscoreWidth); + valueSerializer.writeInt8(value_underscoreWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_underscoreWidth_type)) { + const auto value_underscoreWidth_value = value_underscoreWidth.value; + valueSerializer.writeNumber(value_underscoreWidth_value); } - const auto value_scale = value.scale; - Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; - value_scale_type = runtimeType(value_scale); - valueSerializer.writeInt8(value_scale_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scale_type)) { - const auto value_scale_value = value_scale.value; - valueSerializer.writeNumber(value_scale_value); + const auto value_underscoreLength = value.underscoreLength; + Ark_Int32 value_underscoreLength_type = INTEROP_RUNTIME_UNDEFINED; + value_underscoreLength_type = runtimeType(value_underscoreLength); + valueSerializer.writeInt8(value_underscoreLength_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_underscoreLength_type)) { + const auto value_underscoreLength_value = value_underscoreLength.value; + valueSerializer.writeNumber(value_underscoreLength_value); } - const auto value_blurOptions = value.blurOptions; - Ark_Int32 value_blurOptions_type = INTEROP_RUNTIME_UNDEFINED; - value_blurOptions_type = runtimeType(value_blurOptions); - valueSerializer.writeInt8(value_blurOptions_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_blurOptions_type)) { - const auto value_blurOptions_value = value_blurOptions.value; - valueSerializer.writeBlurOptions(value_blurOptions_value); + const auto value_scheduleMarkerRadius = value.scheduleMarkerRadius; + Ark_Int32 value_scheduleMarkerRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_scheduleMarkerRadius_type = runtimeType(value_scheduleMarkerRadius); + valueSerializer.writeInt8(value_scheduleMarkerRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scheduleMarkerRadius_type)) { + const auto value_scheduleMarkerRadius_value = value_scheduleMarkerRadius.value; + valueSerializer.writeNumber(value_scheduleMarkerRadius_value); } - const auto value_policy = value.policy; - Ark_Int32 value_policy_type = INTEROP_RUNTIME_UNDEFINED; - value_policy_type = runtimeType(value_policy); - valueSerializer.writeInt8(value_policy_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_policy_type)) { - const auto value_policy_value = value_policy.value; - valueSerializer.writeInt32(static_cast(value_policy_value)); + const auto value_boundaryRowOffset = value.boundaryRowOffset; + Ark_Int32 value_boundaryRowOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_boundaryRowOffset_type = runtimeType(value_boundaryRowOffset); + valueSerializer.writeInt8(value_boundaryRowOffset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_boundaryRowOffset_type)) { + const auto value_boundaryRowOffset_value = value_boundaryRowOffset.value; + valueSerializer.writeNumber(value_boundaryRowOffset_value); } - const auto value_inactiveColor = value.inactiveColor; - Ark_Int32 value_inactiveColor_type = INTEROP_RUNTIME_UNDEFINED; - value_inactiveColor_type = runtimeType(value_inactiveColor); - valueSerializer.writeInt8(value_inactiveColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_inactiveColor_type)) { - const auto value_inactiveColor_value = value_inactiveColor.value; - Ark_Int32 value_inactiveColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_inactiveColor_value_type = value_inactiveColor_value.selector; - if (value_inactiveColor_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_inactiveColor_value_0 = value_inactiveColor_value.value0; - valueSerializer.writeInt32(static_cast(value_inactiveColor_value_0)); - } - else if (value_inactiveColor_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_inactiveColor_value_1 = value_inactiveColor_value.value1; - valueSerializer.writeNumber(value_inactiveColor_value_1); - } - else if (value_inactiveColor_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_inactiveColor_value_2 = value_inactiveColor_value.value2; - valueSerializer.writeString(value_inactiveColor_value_2); - } - else if (value_inactiveColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_inactiveColor_value_3 = value_inactiveColor_value.value3; - valueSerializer.writeResource(value_inactiveColor_value_3); - } + const auto value_boundaryColOffset = value.boundaryColOffset; + Ark_Int32 value_boundaryColOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_boundaryColOffset_type = runtimeType(value_boundaryColOffset); + valueSerializer.writeInt8(value_boundaryColOffset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_boundaryColOffset_type)) { + const auto value_boundaryColOffset_value = value_boundaryColOffset.value; + valueSerializer.writeNumber(value_boundaryColOffset_value); } } - void writeBackgroundEffectOptions(Ark_BackgroundEffectOptions value) + void writeCustomColors(Ark_CustomColors value) { Serializer& valueSerializer = *this; - const auto value_radius = value.radius; - valueSerializer.writeNumber(value_radius); - const auto value_saturation = value.saturation; - Ark_Int32 value_saturation_type = INTEROP_RUNTIME_UNDEFINED; - value_saturation_type = runtimeType(value_saturation); - valueSerializer.writeInt8(value_saturation_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_saturation_type)) { - const auto value_saturation_value = value_saturation.value; - valueSerializer.writeNumber(value_saturation_value); - } - const auto value_brightness = value.brightness; - Ark_Int32 value_brightness_type = INTEROP_RUNTIME_UNDEFINED; - value_brightness_type = runtimeType(value_brightness); - valueSerializer.writeInt8(value_brightness_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_brightness_type)) { - const auto value_brightness_value = value_brightness.value; - valueSerializer.writeNumber(value_brightness_value); - } - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_type = value_color_value.selector; - if (value_color_value_type == 0) { + const auto value_brand = value.brand; + Ark_Int32 value_brand_type = INTEROP_RUNTIME_UNDEFINED; + value_brand_type = runtimeType(value_brand); + valueSerializer.writeInt8(value_brand_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_brand_type)) { + const auto value_brand_value = value_brand.value; + Ark_Int32 value_brand_value_type = INTEROP_RUNTIME_UNDEFINED; + value_brand_value_type = value_brand_value.selector; + if (value_brand_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_color_value_0 = value_color_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0)); + const auto value_brand_value_0 = value_brand_value.value0; + valueSerializer.writeInt32(static_cast(value_brand_value_0)); } - else if (value_color_value_type == 1) { + else if (value_brand_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeNumber(value_color_value_1); + const auto value_brand_value_1 = value_brand_value.value1; + valueSerializer.writeNumber(value_brand_value_1); } - else if (value_color_value_type == 2) { + else if (value_brand_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeString(value_color_value_2); + const auto value_brand_value_2 = value_brand_value.value2; + valueSerializer.writeString(value_brand_value_2); } - else if (value_color_value_type == 3) { + else if (value_brand_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeResource(value_color_value_3); + const auto value_brand_value_3 = value_brand_value.value3; + valueSerializer.writeResource(value_brand_value_3); } } - const auto value_adaptiveColor = value.adaptiveColor; - Ark_Int32 value_adaptiveColor_type = INTEROP_RUNTIME_UNDEFINED; - value_adaptiveColor_type = runtimeType(value_adaptiveColor); - valueSerializer.writeInt8(value_adaptiveColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_adaptiveColor_type)) { - const auto value_adaptiveColor_value = value_adaptiveColor.value; - valueSerializer.writeInt32(static_cast(value_adaptiveColor_value)); - } - const auto value_blurOptions = value.blurOptions; - Ark_Int32 value_blurOptions_type = INTEROP_RUNTIME_UNDEFINED; - value_blurOptions_type = runtimeType(value_blurOptions); - valueSerializer.writeInt8(value_blurOptions_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_blurOptions_type)) { - const auto value_blurOptions_value = value_blurOptions.value; - valueSerializer.writeBlurOptions(value_blurOptions_value); - } - const auto value_policy = value.policy; - Ark_Int32 value_policy_type = INTEROP_RUNTIME_UNDEFINED; - value_policy_type = runtimeType(value_policy); - valueSerializer.writeInt8(value_policy_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_policy_type)) { - const auto value_policy_value = value_policy.value; - valueSerializer.writeInt32(static_cast(value_policy_value)); - } - const auto value_inactiveColor = value.inactiveColor; - Ark_Int32 value_inactiveColor_type = INTEROP_RUNTIME_UNDEFINED; - value_inactiveColor_type = runtimeType(value_inactiveColor); - valueSerializer.writeInt8(value_inactiveColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_inactiveColor_type)) { - const auto value_inactiveColor_value = value_inactiveColor.value; - Ark_Int32 value_inactiveColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_inactiveColor_value_type = value_inactiveColor_value.selector; - if (value_inactiveColor_value_type == 0) { + const auto value_warning = value.warning; + Ark_Int32 value_warning_type = INTEROP_RUNTIME_UNDEFINED; + value_warning_type = runtimeType(value_warning); + valueSerializer.writeInt8(value_warning_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_warning_type)) { + const auto value_warning_value = value_warning.value; + Ark_Int32 value_warning_value_type = INTEROP_RUNTIME_UNDEFINED; + value_warning_value_type = value_warning_value.selector; + if (value_warning_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_inactiveColor_value_0 = value_inactiveColor_value.value0; - valueSerializer.writeInt32(static_cast(value_inactiveColor_value_0)); + const auto value_warning_value_0 = value_warning_value.value0; + valueSerializer.writeInt32(static_cast(value_warning_value_0)); } - else if (value_inactiveColor_value_type == 1) { + else if (value_warning_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_inactiveColor_value_1 = value_inactiveColor_value.value1; - valueSerializer.writeNumber(value_inactiveColor_value_1); + const auto value_warning_value_1 = value_warning_value.value1; + valueSerializer.writeNumber(value_warning_value_1); } - else if (value_inactiveColor_value_type == 2) { + else if (value_warning_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_inactiveColor_value_2 = value_inactiveColor_value.value2; - valueSerializer.writeString(value_inactiveColor_value_2); + const auto value_warning_value_2 = value_warning_value.value2; + valueSerializer.writeString(value_warning_value_2); } - else if (value_inactiveColor_value_type == 3) { + else if (value_warning_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_inactiveColor_value_3 = value_inactiveColor_value.value3; - valueSerializer.writeResource(value_inactiveColor_value_3); + const auto value_warning_value_3 = value_warning_value.value3; + valueSerializer.writeResource(value_warning_value_3); } } - } - void writeBadgeStyle(Ark_BadgeStyle value) - { - Serializer& valueSerializer = *this; - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_type = value_color_value.selector; - if (value_color_value_type == 0) { + const auto value_alert = value.alert; + Ark_Int32 value_alert_type = INTEROP_RUNTIME_UNDEFINED; + value_alert_type = runtimeType(value_alert); + valueSerializer.writeInt8(value_alert_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_alert_type)) { + const auto value_alert_value = value_alert.value; + Ark_Int32 value_alert_value_type = INTEROP_RUNTIME_UNDEFINED; + value_alert_value_type = value_alert_value.selector; + if (value_alert_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_color_value_0 = value_color_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0)); + const auto value_alert_value_0 = value_alert_value.value0; + valueSerializer.writeInt32(static_cast(value_alert_value_0)); } - else if (value_color_value_type == 1) { + else if (value_alert_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeNumber(value_color_value_1); + const auto value_alert_value_1 = value_alert_value.value1; + valueSerializer.writeNumber(value_alert_value_1); } - else if (value_color_value_type == 2) { + else if (value_alert_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeString(value_color_value_2); + const auto value_alert_value_2 = value_alert_value.value2; + valueSerializer.writeString(value_alert_value_2); } - else if (value_color_value_type == 3) { + else if (value_alert_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeResource(value_color_value_3); + const auto value_alert_value_3 = value_alert_value.value3; + valueSerializer.writeResource(value_alert_value_3); } } - const auto value_fontSize = value.fontSize; - Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; - value_fontSize_type = runtimeType(value_fontSize); - valueSerializer.writeInt8(value_fontSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { - const auto value_fontSize_value = value_fontSize.value; - Ark_Int32 value_fontSize_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontSize_value_type = value_fontSize_value.selector; - if (value_fontSize_value_type == 0) { + const auto value_confirm = value.confirm; + Ark_Int32 value_confirm_type = INTEROP_RUNTIME_UNDEFINED; + value_confirm_type = runtimeType(value_confirm); + valueSerializer.writeInt8(value_confirm_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_confirm_type)) { + const auto value_confirm_value = value_confirm.value; + Ark_Int32 value_confirm_value_type = INTEROP_RUNTIME_UNDEFINED; + value_confirm_value_type = value_confirm_value.selector; + if (value_confirm_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontSize_value_0 = value_fontSize_value.value0; - valueSerializer.writeNumber(value_fontSize_value_0); + const auto value_confirm_value_0 = value_confirm_value.value0; + valueSerializer.writeInt32(static_cast(value_confirm_value_0)); } - else if (value_fontSize_value_type == 1) { + else if (value_confirm_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontSize_value_1 = value_fontSize_value.value1; - valueSerializer.writeString(value_fontSize_value_1); + const auto value_confirm_value_1 = value_confirm_value.value1; + valueSerializer.writeNumber(value_confirm_value_1); } - } - const auto value_badgeSize = value.badgeSize; - Ark_Int32 value_badgeSize_type = INTEROP_RUNTIME_UNDEFINED; - value_badgeSize_type = runtimeType(value_badgeSize); - valueSerializer.writeInt8(value_badgeSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_badgeSize_type)) { - const auto value_badgeSize_value = value_badgeSize.value; - Ark_Int32 value_badgeSize_value_type = INTEROP_RUNTIME_UNDEFINED; - value_badgeSize_value_type = value_badgeSize_value.selector; - if (value_badgeSize_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_badgeSize_value_0 = value_badgeSize_value.value0; - valueSerializer.writeNumber(value_badgeSize_value_0); + else if (value_confirm_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_confirm_value_2 = value_confirm_value.value2; + valueSerializer.writeString(value_confirm_value_2); } - else if (value_badgeSize_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_badgeSize_value_1 = value_badgeSize_value.value1; - valueSerializer.writeString(value_badgeSize_value_1); + else if (value_confirm_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_confirm_value_3 = value_confirm_value.value3; + valueSerializer.writeResource(value_confirm_value_3); } } - const auto value_badgeColor = value.badgeColor; - Ark_Int32 value_badgeColor_type = INTEROP_RUNTIME_UNDEFINED; - value_badgeColor_type = runtimeType(value_badgeColor); - valueSerializer.writeInt8(value_badgeColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_badgeColor_type)) { - const auto value_badgeColor_value = value_badgeColor.value; - Ark_Int32 value_badgeColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_badgeColor_value_type = value_badgeColor_value.selector; - if (value_badgeColor_value_type == 0) { + const auto value_fontPrimary = value.fontPrimary; + Ark_Int32 value_fontPrimary_type = INTEROP_RUNTIME_UNDEFINED; + value_fontPrimary_type = runtimeType(value_fontPrimary); + valueSerializer.writeInt8(value_fontPrimary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontPrimary_type)) { + const auto value_fontPrimary_value = value_fontPrimary.value; + Ark_Int32 value_fontPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontPrimary_value_type = value_fontPrimary_value.selector; + if (value_fontPrimary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_badgeColor_value_0 = value_badgeColor_value.value0; - valueSerializer.writeInt32(static_cast(value_badgeColor_value_0)); + const auto value_fontPrimary_value_0 = value_fontPrimary_value.value0; + valueSerializer.writeInt32(static_cast(value_fontPrimary_value_0)); } - else if (value_badgeColor_value_type == 1) { + else if (value_fontPrimary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_badgeColor_value_1 = value_badgeColor_value.value1; - valueSerializer.writeNumber(value_badgeColor_value_1); + const auto value_fontPrimary_value_1 = value_fontPrimary_value.value1; + valueSerializer.writeNumber(value_fontPrimary_value_1); } - else if (value_badgeColor_value_type == 2) { + else if (value_fontPrimary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_badgeColor_value_2 = value_badgeColor_value.value2; - valueSerializer.writeString(value_badgeColor_value_2); + const auto value_fontPrimary_value_2 = value_fontPrimary_value.value2; + valueSerializer.writeString(value_fontPrimary_value_2); } - else if (value_badgeColor_value_type == 3) { + else if (value_fontPrimary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_badgeColor_value_3 = value_badgeColor_value.value3; - valueSerializer.writeResource(value_badgeColor_value_3); + const auto value_fontPrimary_value_3 = value_fontPrimary_value.value3; + valueSerializer.writeResource(value_fontPrimary_value_3); } } - const auto value_borderColor = value.borderColor; - Ark_Int32 value_borderColor_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_type = runtimeType(value_borderColor); - valueSerializer.writeInt8(value_borderColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_type)) { - const auto value_borderColor_value = value_borderColor.value; - Ark_Int32 value_borderColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_type = value_borderColor_value.selector; - if (value_borderColor_value_type == 0) { + const auto value_fontSecondary = value.fontSecondary; + Ark_Int32 value_fontSecondary_type = INTEROP_RUNTIME_UNDEFINED; + value_fontSecondary_type = runtimeType(value_fontSecondary); + valueSerializer.writeInt8(value_fontSecondary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSecondary_type)) { + const auto value_fontSecondary_value = value_fontSecondary.value; + Ark_Int32 value_fontSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontSecondary_value_type = value_fontSecondary_value.selector; + if (value_fontSecondary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_borderColor_value_0 = value_borderColor_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_0)); + const auto value_fontSecondary_value_0 = value_fontSecondary_value.value0; + valueSerializer.writeInt32(static_cast(value_fontSecondary_value_0)); } - else if (value_borderColor_value_type == 1) { + else if (value_fontSecondary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_borderColor_value_1 = value_borderColor_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1); + const auto value_fontSecondary_value_1 = value_fontSecondary_value.value1; + valueSerializer.writeNumber(value_fontSecondary_value_1); } - else if (value_borderColor_value_type == 2) { + else if (value_fontSecondary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_borderColor_value_2 = value_borderColor_value.value2; - valueSerializer.writeString(value_borderColor_value_2); + const auto value_fontSecondary_value_2 = value_fontSecondary_value.value2; + valueSerializer.writeString(value_fontSecondary_value_2); } - else if (value_borderColor_value_type == 3) { + else if (value_fontSecondary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_borderColor_value_3 = value_borderColor_value.value3; - valueSerializer.writeResource(value_borderColor_value_3); + const auto value_fontSecondary_value_3 = value_fontSecondary_value.value3; + valueSerializer.writeResource(value_fontSecondary_value_3); } } - const auto value_borderWidth = value.borderWidth; - Ark_Int32 value_borderWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_type = runtimeType(value_borderWidth); - valueSerializer.writeInt8(value_borderWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { - const auto value_borderWidth_value = value_borderWidth.value; - Ark_Int32 value_borderWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_type = value_borderWidth_value.selector; - if (value_borderWidth_value_type == 0) { + const auto value_fontTertiary = value.fontTertiary; + Ark_Int32 value_fontTertiary_type = INTEROP_RUNTIME_UNDEFINED; + value_fontTertiary_type = runtimeType(value_fontTertiary); + valueSerializer.writeInt8(value_fontTertiary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontTertiary_type)) { + const auto value_fontTertiary_value = value_fontTertiary.value; + Ark_Int32 value_fontTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontTertiary_value_type = value_fontTertiary_value.selector; + if (value_fontTertiary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_borderWidth_value_0 = value_borderWidth_value.value0; - valueSerializer.writeString(value_borderWidth_value_0); + const auto value_fontTertiary_value_0 = value_fontTertiary_value.value0; + valueSerializer.writeInt32(static_cast(value_fontTertiary_value_0)); } - else if (value_borderWidth_value_type == 1) { + else if (value_fontTertiary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1 = value_borderWidth_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1); + const auto value_fontTertiary_value_1 = value_fontTertiary_value.value1; + valueSerializer.writeNumber(value_fontTertiary_value_1); } - else if (value_borderWidth_value_type == 2) { + else if (value_fontTertiary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_borderWidth_value_2 = value_borderWidth_value.value2; - valueSerializer.writeResource(value_borderWidth_value_2); + const auto value_fontTertiary_value_2 = value_fontTertiary_value.value2; + valueSerializer.writeString(value_fontTertiary_value_2); + } + else if (value_fontTertiary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_fontTertiary_value_3 = value_fontTertiary_value.value3; + valueSerializer.writeResource(value_fontTertiary_value_3); } } - const auto value_fontWeight = value.fontWeight; - Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; - value_fontWeight_type = runtimeType(value_fontWeight); - valueSerializer.writeInt8(value_fontWeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { - const auto value_fontWeight_value = value_fontWeight.value; - Ark_Int32 value_fontWeight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontWeight_value_type = value_fontWeight_value.selector; - if (value_fontWeight_value_type == 0) { + const auto value_fontFourth = value.fontFourth; + Ark_Int32 value_fontFourth_type = INTEROP_RUNTIME_UNDEFINED; + value_fontFourth_type = runtimeType(value_fontFourth); + valueSerializer.writeInt8(value_fontFourth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFourth_type)) { + const auto value_fontFourth_value = value_fontFourth.value; + Ark_Int32 value_fontFourth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontFourth_value_type = value_fontFourth_value.selector; + if (value_fontFourth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontWeight_value_0 = value_fontWeight_value.value0; - valueSerializer.writeNumber(value_fontWeight_value_0); + const auto value_fontFourth_value_0 = value_fontFourth_value.value0; + valueSerializer.writeInt32(static_cast(value_fontFourth_value_0)); } - else if (value_fontWeight_value_type == 1) { + else if (value_fontFourth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontWeight_value_1 = value_fontWeight_value.value1; - valueSerializer.writeInt32(static_cast(value_fontWeight_value_1)); + const auto value_fontFourth_value_1 = value_fontFourth_value.value1; + valueSerializer.writeNumber(value_fontFourth_value_1); } - else if (value_fontWeight_value_type == 2) { + else if (value_fontFourth_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontWeight_value_2 = value_fontWeight_value.value2; - valueSerializer.writeString(value_fontWeight_value_2); + const auto value_fontFourth_value_2 = value_fontFourth_value.value2; + valueSerializer.writeString(value_fontFourth_value_2); + } + else if (value_fontFourth_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_fontFourth_value_3 = value_fontFourth_value.value3; + valueSerializer.writeResource(value_fontFourth_value_3); } } - } - void writeBarGridColumnOptions(Ark_BarGridColumnOptions value) - { - Serializer& valueSerializer = *this; - const auto value_sm = value.sm; - Ark_Int32 value_sm_type = INTEROP_RUNTIME_UNDEFINED; - value_sm_type = runtimeType(value_sm); - valueSerializer.writeInt8(value_sm_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_sm_type)) { - const auto value_sm_value = value_sm.value; - valueSerializer.writeNumber(value_sm_value); - } - const auto value_md = value.md; - Ark_Int32 value_md_type = INTEROP_RUNTIME_UNDEFINED; - value_md_type = runtimeType(value_md); - valueSerializer.writeInt8(value_md_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_md_type)) { - const auto value_md_value = value_md.value; - valueSerializer.writeNumber(value_md_value); - } - const auto value_lg = value.lg; - Ark_Int32 value_lg_type = INTEROP_RUNTIME_UNDEFINED; - value_lg_type = runtimeType(value_lg); - valueSerializer.writeInt8(value_lg_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_lg_type)) { - const auto value_lg_value = value_lg.value; - valueSerializer.writeNumber(value_lg_value); - } - const auto value_margin = value.margin; - Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_type = runtimeType(value_margin); - valueSerializer.writeInt8(value_margin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { - const auto value_margin_value = value_margin.value; - Ark_Int32 value_margin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_type = value_margin_value.selector; - if (value_margin_value_type == 0) { + const auto value_fontEmphasize = value.fontEmphasize; + Ark_Int32 value_fontEmphasize_type = INTEROP_RUNTIME_UNDEFINED; + value_fontEmphasize_type = runtimeType(value_fontEmphasize); + valueSerializer.writeInt8(value_fontEmphasize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontEmphasize_type)) { + const auto value_fontEmphasize_value = value_fontEmphasize.value; + Ark_Int32 value_fontEmphasize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontEmphasize_value_type = value_fontEmphasize_value.selector; + if (value_fontEmphasize_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_margin_value_0 = value_margin_value.value0; - valueSerializer.writeString(value_margin_value_0); + const auto value_fontEmphasize_value_0 = value_fontEmphasize_value.value0; + valueSerializer.writeInt32(static_cast(value_fontEmphasize_value_0)); } - else if (value_margin_value_type == 1) { + else if (value_fontEmphasize_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_margin_value_1 = value_margin_value.value1; - valueSerializer.writeNumber(value_margin_value_1); + const auto value_fontEmphasize_value_1 = value_fontEmphasize_value.value1; + valueSerializer.writeNumber(value_fontEmphasize_value_1); } - else if (value_margin_value_type == 2) { + else if (value_fontEmphasize_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_margin_value_2 = value_margin_value.value2; - valueSerializer.writeResource(value_margin_value_2); + const auto value_fontEmphasize_value_2 = value_fontEmphasize_value.value2; + valueSerializer.writeString(value_fontEmphasize_value_2); + } + else if (value_fontEmphasize_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_fontEmphasize_value_3 = value_fontEmphasize_value.value3; + valueSerializer.writeResource(value_fontEmphasize_value_3); } } - const auto value_gutter = value.gutter; - Ark_Int32 value_gutter_type = INTEROP_RUNTIME_UNDEFINED; - value_gutter_type = runtimeType(value_gutter); - valueSerializer.writeInt8(value_gutter_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_gutter_type)) { - const auto value_gutter_value = value_gutter.value; - Ark_Int32 value_gutter_value_type = INTEROP_RUNTIME_UNDEFINED; - value_gutter_value_type = value_gutter_value.selector; - if (value_gutter_value_type == 0) { + const auto value_fontOnPrimary = value.fontOnPrimary; + Ark_Int32 value_fontOnPrimary_type = INTEROP_RUNTIME_UNDEFINED; + value_fontOnPrimary_type = runtimeType(value_fontOnPrimary); + valueSerializer.writeInt8(value_fontOnPrimary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontOnPrimary_type)) { + const auto value_fontOnPrimary_value = value_fontOnPrimary.value; + Ark_Int32 value_fontOnPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontOnPrimary_value_type = value_fontOnPrimary_value.selector; + if (value_fontOnPrimary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_gutter_value_0 = value_gutter_value.value0; - valueSerializer.writeString(value_gutter_value_0); + const auto value_fontOnPrimary_value_0 = value_fontOnPrimary_value.value0; + valueSerializer.writeInt32(static_cast(value_fontOnPrimary_value_0)); } - else if (value_gutter_value_type == 1) { + else if (value_fontOnPrimary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_gutter_value_1 = value_gutter_value.value1; - valueSerializer.writeNumber(value_gutter_value_1); + const auto value_fontOnPrimary_value_1 = value_fontOnPrimary_value.value1; + valueSerializer.writeNumber(value_fontOnPrimary_value_1); } - else if (value_gutter_value_type == 2) { + else if (value_fontOnPrimary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_gutter_value_2 = value_gutter_value.value2; - valueSerializer.writeResource(value_gutter_value_2); + const auto value_fontOnPrimary_value_2 = value_fontOnPrimary_value.value2; + valueSerializer.writeString(value_fontOnPrimary_value_2); + } + else if (value_fontOnPrimary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_fontOnPrimary_value_3 = value_fontOnPrimary_value.value3; + valueSerializer.writeResource(value_fontOnPrimary_value_3); } } - } - void writeBoardStyle(Ark_BoardStyle value) - { - Serializer& valueSerializer = *this; - const auto value_borderRadius = value.borderRadius; - Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_type = runtimeType(value_borderRadius); - valueSerializer.writeInt8(value_borderRadius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { - const auto value_borderRadius_value = value_borderRadius.value; - Ark_Int32 value_borderRadius_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_type = value_borderRadius_value.selector; - if (value_borderRadius_value_type == 0) { + const auto value_fontOnSecondary = value.fontOnSecondary; + Ark_Int32 value_fontOnSecondary_type = INTEROP_RUNTIME_UNDEFINED; + value_fontOnSecondary_type = runtimeType(value_fontOnSecondary); + valueSerializer.writeInt8(value_fontOnSecondary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontOnSecondary_type)) { + const auto value_fontOnSecondary_value = value_fontOnSecondary.value; + Ark_Int32 value_fontOnSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontOnSecondary_value_type = value_fontOnSecondary_value.selector; + if (value_fontOnSecondary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_borderRadius_value_0 = value_borderRadius_value.value0; - valueSerializer.writeString(value_borderRadius_value_0); + const auto value_fontOnSecondary_value_0 = value_fontOnSecondary_value.value0; + valueSerializer.writeInt32(static_cast(value_fontOnSecondary_value_0)); } - else if (value_borderRadius_value_type == 1) { + else if (value_fontOnSecondary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1 = value_borderRadius_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1); + const auto value_fontOnSecondary_value_1 = value_fontOnSecondary_value.value1; + valueSerializer.writeNumber(value_fontOnSecondary_value_1); } - else if (value_borderRadius_value_type == 2) { + else if (value_fontOnSecondary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_borderRadius_value_2 = value_borderRadius_value.value2; - valueSerializer.writeResource(value_borderRadius_value_2); + const auto value_fontOnSecondary_value_2 = value_fontOnSecondary_value.value2; + valueSerializer.writeString(value_fontOnSecondary_value_2); + } + else if (value_fontOnSecondary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_fontOnSecondary_value_3 = value_fontOnSecondary_value.value3; + valueSerializer.writeResource(value_fontOnSecondary_value_3); } } - } - void writeButtonIconOptions(Ark_ButtonIconOptions value) - { - Serializer& valueSerializer = *this; - const auto value_shown = value.shown; - Ark_Int32 value_shown_type = INTEROP_RUNTIME_UNDEFINED; - value_shown_type = value_shown.selector; - if (value_shown_type == 0) { - valueSerializer.writeInt8(0); - const auto value_shown_0 = value_shown.value0; - valueSerializer.writeString(value_shown_0); - } - else if (value_shown_type == 1) { - valueSerializer.writeInt8(1); - const auto value_shown_1 = value_shown.value1; - valueSerializer.writePixelMap(value_shown_1); - } - else if (value_shown_type == 2) { - valueSerializer.writeInt8(2); - const auto value_shown_2 = value_shown.value2; - valueSerializer.writeResource(value_shown_2); - } - const auto value_hidden = value.hidden; - Ark_Int32 value_hidden_type = INTEROP_RUNTIME_UNDEFINED; - value_hidden_type = value_hidden.selector; - if (value_hidden_type == 0) { - valueSerializer.writeInt8(0); - const auto value_hidden_0 = value_hidden.value0; - valueSerializer.writeString(value_hidden_0); - } - else if (value_hidden_type == 1) { - valueSerializer.writeInt8(1); - const auto value_hidden_1 = value_hidden.value1; - valueSerializer.writePixelMap(value_hidden_1); - } - else if (value_hidden_type == 2) { - valueSerializer.writeInt8(2); - const auto value_hidden_2 = value_hidden.value2; - valueSerializer.writeResource(value_hidden_2); - } - const auto value_switching = value.switching; - Ark_Int32 value_switching_type = INTEROP_RUNTIME_UNDEFINED; - value_switching_type = runtimeType(value_switching); - valueSerializer.writeInt8(value_switching_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_switching_type)) { - const auto value_switching_value = value_switching.value; - Ark_Int32 value_switching_value_type = INTEROP_RUNTIME_UNDEFINED; - value_switching_value_type = value_switching_value.selector; - if (value_switching_value_type == 0) { + const auto value_fontOnTertiary = value.fontOnTertiary; + Ark_Int32 value_fontOnTertiary_type = INTEROP_RUNTIME_UNDEFINED; + value_fontOnTertiary_type = runtimeType(value_fontOnTertiary); + valueSerializer.writeInt8(value_fontOnTertiary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontOnTertiary_type)) { + const auto value_fontOnTertiary_value = value_fontOnTertiary.value; + Ark_Int32 value_fontOnTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontOnTertiary_value_type = value_fontOnTertiary_value.selector; + if (value_fontOnTertiary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_switching_value_0 = value_switching_value.value0; - valueSerializer.writeString(value_switching_value_0); + const auto value_fontOnTertiary_value_0 = value_fontOnTertiary_value.value0; + valueSerializer.writeInt32(static_cast(value_fontOnTertiary_value_0)); } - else if (value_switching_value_type == 1) { + else if (value_fontOnTertiary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_switching_value_1 = value_switching_value.value1; - valueSerializer.writePixelMap(value_switching_value_1); + const auto value_fontOnTertiary_value_1 = value_fontOnTertiary_value.value1; + valueSerializer.writeNumber(value_fontOnTertiary_value_1); } - else if (value_switching_value_type == 2) { + else if (value_fontOnTertiary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_switching_value_2 = value_switching_value.value2; - valueSerializer.writeResource(value_switching_value_2); + const auto value_fontOnTertiary_value_2 = value_fontOnTertiary_value.value2; + valueSerializer.writeString(value_fontOnTertiary_value_2); + } + else if (value_fontOnTertiary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_fontOnTertiary_value_3 = value_fontOnTertiary_value.value3; + valueSerializer.writeResource(value_fontOnTertiary_value_3); } } - } - void writeCalendarOptions(Ark_CalendarOptions value) - { - Serializer& valueSerializer = *this; - const auto value_hintRadius = value.hintRadius; - Ark_Int32 value_hintRadius_type = INTEROP_RUNTIME_UNDEFINED; - value_hintRadius_type = runtimeType(value_hintRadius); - valueSerializer.writeInt8(value_hintRadius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_hintRadius_type)) { - const auto value_hintRadius_value = value_hintRadius.value; - Ark_Int32 value_hintRadius_value_type = INTEROP_RUNTIME_UNDEFINED; - value_hintRadius_value_type = value_hintRadius_value.selector; - if (value_hintRadius_value_type == 0) { + const auto value_fontOnFourth = value.fontOnFourth; + Ark_Int32 value_fontOnFourth_type = INTEROP_RUNTIME_UNDEFINED; + value_fontOnFourth_type = runtimeType(value_fontOnFourth); + valueSerializer.writeInt8(value_fontOnFourth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontOnFourth_type)) { + const auto value_fontOnFourth_value = value_fontOnFourth.value; + Ark_Int32 value_fontOnFourth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontOnFourth_value_type = value_fontOnFourth_value.selector; + if (value_fontOnFourth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_hintRadius_value_0 = value_hintRadius_value.value0; - valueSerializer.writeNumber(value_hintRadius_value_0); + const auto value_fontOnFourth_value_0 = value_fontOnFourth_value.value0; + valueSerializer.writeInt32(static_cast(value_fontOnFourth_value_0)); } - else if (value_hintRadius_value_type == 1) { + else if (value_fontOnFourth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_hintRadius_value_1 = value_hintRadius_value.value1; - valueSerializer.writeResource(value_hintRadius_value_1); + const auto value_fontOnFourth_value_1 = value_fontOnFourth_value.value1; + valueSerializer.writeNumber(value_fontOnFourth_value_1); + } + else if (value_fontOnFourth_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_fontOnFourth_value_2 = value_fontOnFourth_value.value2; + valueSerializer.writeString(value_fontOnFourth_value_2); + } + else if (value_fontOnFourth_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_fontOnFourth_value_3 = value_fontOnFourth_value.value3; + valueSerializer.writeResource(value_fontOnFourth_value_3); } } - const auto value_selected = value.selected; - Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; - value_selected_type = runtimeType(value_selected); - valueSerializer.writeInt8(value_selected_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_selected_type)) { - const auto value_selected_value = value_selected.value; - valueSerializer.writeInt64(value_selected_value); - } - } - void writeCaretStyle(Ark_CaretStyle value) - { - Serializer& valueSerializer = *this; - const auto value_width = value.width; - Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; - value_width_type = runtimeType(value_width); - valueSerializer.writeInt8(value_width_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { - const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_type = value_width_value.selector; - if (value_width_value_type == 0) { + const auto value_iconPrimary = value.iconPrimary; + Ark_Int32 value_iconPrimary_type = INTEROP_RUNTIME_UNDEFINED; + value_iconPrimary_type = runtimeType(value_iconPrimary); + valueSerializer.writeInt8(value_iconPrimary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconPrimary_type)) { + const auto value_iconPrimary_value = value_iconPrimary.value; + Ark_Int32 value_iconPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_iconPrimary_value_type = value_iconPrimary_value.selector; + if (value_iconPrimary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_width_value_0 = value_width_value.value0; - valueSerializer.writeString(value_width_value_0); + const auto value_iconPrimary_value_0 = value_iconPrimary_value.value0; + valueSerializer.writeInt32(static_cast(value_iconPrimary_value_0)); } - else if (value_width_value_type == 1) { + else if (value_iconPrimary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_width_value_1 = value_width_value.value1; - valueSerializer.writeNumber(value_width_value_1); + const auto value_iconPrimary_value_1 = value_iconPrimary_value.value1; + valueSerializer.writeNumber(value_iconPrimary_value_1); } - else if (value_width_value_type == 2) { + else if (value_iconPrimary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_width_value_2 = value_width_value.value2; - valueSerializer.writeResource(value_width_value_2); + const auto value_iconPrimary_value_2 = value_iconPrimary_value.value2; + valueSerializer.writeString(value_iconPrimary_value_2); + } + else if (value_iconPrimary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_iconPrimary_value_3 = value_iconPrimary_value.value3; + valueSerializer.writeResource(value_iconPrimary_value_3); } } - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_type = value_color_value.selector; - if (value_color_value_type == 0) { + const auto value_iconSecondary = value.iconSecondary; + Ark_Int32 value_iconSecondary_type = INTEROP_RUNTIME_UNDEFINED; + value_iconSecondary_type = runtimeType(value_iconSecondary); + valueSerializer.writeInt8(value_iconSecondary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconSecondary_type)) { + const auto value_iconSecondary_value = value_iconSecondary.value; + Ark_Int32 value_iconSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_iconSecondary_value_type = value_iconSecondary_value.selector; + if (value_iconSecondary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_color_value_0 = value_color_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0)); + const auto value_iconSecondary_value_0 = value_iconSecondary_value.value0; + valueSerializer.writeInt32(static_cast(value_iconSecondary_value_0)); } - else if (value_color_value_type == 1) { + else if (value_iconSecondary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeNumber(value_color_value_1); + const auto value_iconSecondary_value_1 = value_iconSecondary_value.value1; + valueSerializer.writeNumber(value_iconSecondary_value_1); } - else if (value_color_value_type == 2) { + else if (value_iconSecondary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeString(value_color_value_2); + const auto value_iconSecondary_value_2 = value_iconSecondary_value.value2; + valueSerializer.writeString(value_iconSecondary_value_2); } - else if (value_color_value_type == 3) { + else if (value_iconSecondary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeResource(value_color_value_3); + const auto value_iconSecondary_value_3 = value_iconSecondary_value.value3; + valueSerializer.writeResource(value_iconSecondary_value_3); } } - } - void writeChainAnimationOptions(Ark_ChainAnimationOptions value) - { - Serializer& valueSerializer = *this; - const auto value_minSpace = value.minSpace; - Ark_Int32 value_minSpace_type = INTEROP_RUNTIME_UNDEFINED; - value_minSpace_type = value_minSpace.selector; - if (value_minSpace_type == 0) { - valueSerializer.writeInt8(0); - const auto value_minSpace_0 = value_minSpace.value0; - valueSerializer.writeString(value_minSpace_0); - } - else if (value_minSpace_type == 1) { - valueSerializer.writeInt8(1); - const auto value_minSpace_1 = value_minSpace.value1; - valueSerializer.writeNumber(value_minSpace_1); - } - else if (value_minSpace_type == 2) { - valueSerializer.writeInt8(2); - const auto value_minSpace_2 = value_minSpace.value2; - valueSerializer.writeResource(value_minSpace_2); - } - const auto value_maxSpace = value.maxSpace; - Ark_Int32 value_maxSpace_type = INTEROP_RUNTIME_UNDEFINED; - value_maxSpace_type = value_maxSpace.selector; - if (value_maxSpace_type == 0) { - valueSerializer.writeInt8(0); - const auto value_maxSpace_0 = value_maxSpace.value0; - valueSerializer.writeString(value_maxSpace_0); - } - else if (value_maxSpace_type == 1) { - valueSerializer.writeInt8(1); - const auto value_maxSpace_1 = value_maxSpace.value1; - valueSerializer.writeNumber(value_maxSpace_1); - } - else if (value_maxSpace_type == 2) { - valueSerializer.writeInt8(2); - const auto value_maxSpace_2 = value_maxSpace.value2; - valueSerializer.writeResource(value_maxSpace_2); - } - const auto value_conductivity = value.conductivity; - Ark_Int32 value_conductivity_type = INTEROP_RUNTIME_UNDEFINED; - value_conductivity_type = runtimeType(value_conductivity); - valueSerializer.writeInt8(value_conductivity_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_conductivity_type)) { - const auto value_conductivity_value = value_conductivity.value; - valueSerializer.writeNumber(value_conductivity_value); - } - const auto value_intensity = value.intensity; - Ark_Int32 value_intensity_type = INTEROP_RUNTIME_UNDEFINED; - value_intensity_type = runtimeType(value_intensity); - valueSerializer.writeInt8(value_intensity_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_intensity_type)) { - const auto value_intensity_value = value_intensity.value; - valueSerializer.writeNumber(value_intensity_value); - } - const auto value_edgeEffect = value.edgeEffect; - Ark_Int32 value_edgeEffect_type = INTEROP_RUNTIME_UNDEFINED; - value_edgeEffect_type = runtimeType(value_edgeEffect); - valueSerializer.writeInt8(value_edgeEffect_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_edgeEffect_type)) { - const auto value_edgeEffect_value = value_edgeEffect.value; - valueSerializer.writeInt32(static_cast(value_edgeEffect_value)); - } - const auto value_stiffness = value.stiffness; - Ark_Int32 value_stiffness_type = INTEROP_RUNTIME_UNDEFINED; - value_stiffness_type = runtimeType(value_stiffness); - valueSerializer.writeInt8(value_stiffness_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_stiffness_type)) { - const auto value_stiffness_value = value_stiffness.value; - valueSerializer.writeNumber(value_stiffness_value); - } - const auto value_damping = value.damping; - Ark_Int32 value_damping_type = INTEROP_RUNTIME_UNDEFINED; - value_damping_type = runtimeType(value_damping); - valueSerializer.writeInt8(value_damping_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_damping_type)) { - const auto value_damping_value = value_damping.value; - valueSerializer.writeNumber(value_damping_value); - } - } - void writeCircleStyleOptions(Ark_CircleStyleOptions value) - { - Serializer& valueSerializer = *this; - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_type = value_color_value.selector; - if (value_color_value_type == 0) { + const auto value_iconTertiary = value.iconTertiary; + Ark_Int32 value_iconTertiary_type = INTEROP_RUNTIME_UNDEFINED; + value_iconTertiary_type = runtimeType(value_iconTertiary); + valueSerializer.writeInt8(value_iconTertiary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconTertiary_type)) { + const auto value_iconTertiary_value = value_iconTertiary.value; + Ark_Int32 value_iconTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_iconTertiary_value_type = value_iconTertiary_value.selector; + if (value_iconTertiary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_color_value_0 = value_color_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0)); + const auto value_iconTertiary_value_0 = value_iconTertiary_value.value0; + valueSerializer.writeInt32(static_cast(value_iconTertiary_value_0)); } - else if (value_color_value_type == 1) { + else if (value_iconTertiary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeNumber(value_color_value_1); + const auto value_iconTertiary_value_1 = value_iconTertiary_value.value1; + valueSerializer.writeNumber(value_iconTertiary_value_1); } - else if (value_color_value_type == 2) { + else if (value_iconTertiary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeString(value_color_value_2); + const auto value_iconTertiary_value_2 = value_iconTertiary_value.value2; + valueSerializer.writeString(value_iconTertiary_value_2); } - else if (value_color_value_type == 3) { + else if (value_iconTertiary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeResource(value_color_value_3); + const auto value_iconTertiary_value_3 = value_iconTertiary_value.value3; + valueSerializer.writeResource(value_iconTertiary_value_3); } } - const auto value_radius = value.radius; - Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_type = runtimeType(value_radius); - valueSerializer.writeInt8(value_radius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { - const auto value_radius_value = value_radius.value; - valueSerializer.writeLengthMetrics(value_radius_value); - } - const auto value_enableWaveEffect = value.enableWaveEffect; - Ark_Int32 value_enableWaveEffect_type = INTEROP_RUNTIME_UNDEFINED; - value_enableWaveEffect_type = runtimeType(value_enableWaveEffect); - valueSerializer.writeInt8(value_enableWaveEffect_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableWaveEffect_type)) { - const auto value_enableWaveEffect_value = value_enableWaveEffect.value; - valueSerializer.writeBoolean(value_enableWaveEffect_value); - } - } - void writeColorStop(Ark_ColorStop value) - { - Serializer& valueSerializer = *this; - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = value_color.selector; - if (value_color_type == 0) { - valueSerializer.writeInt8(0); - const auto value_color_0 = value_color.value0; - valueSerializer.writeInt32(static_cast(value_color_0)); - } - else if (value_color_type == 1) { - valueSerializer.writeInt8(1); - const auto value_color_1 = value_color.value1; - valueSerializer.writeNumber(value_color_1); - } - else if (value_color_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_2 = value_color.value2; - valueSerializer.writeString(value_color_2); - } - else if (value_color_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_3 = value_color.value3; - valueSerializer.writeResource(value_color_3); - } - const auto value_offset = value.offset; - Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_type = value_offset.selector; - if (value_offset_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_0 = value_offset.value0; - valueSerializer.writeString(value_offset_0); - } - else if (value_offset_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_1 = value_offset.value1; - valueSerializer.writeNumber(value_offset_1); - } - else if (value_offset_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_2 = value_offset.value2; - valueSerializer.writeResource(value_offset_2); - } - } - void writeColumnSplitDividerStyle(Ark_ColumnSplitDividerStyle value) - { - Serializer& valueSerializer = *this; - const auto value_startMargin = value.startMargin; - Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; - value_startMargin_type = runtimeType(value_startMargin); - valueSerializer.writeInt8(value_startMargin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { - const auto value_startMargin_value = value_startMargin.value; - Ark_Int32 value_startMargin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_startMargin_value_type = value_startMargin_value.selector; - if (value_startMargin_value_type == 0) { + const auto value_iconFourth = value.iconFourth; + Ark_Int32 value_iconFourth_type = INTEROP_RUNTIME_UNDEFINED; + value_iconFourth_type = runtimeType(value_iconFourth); + valueSerializer.writeInt8(value_iconFourth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconFourth_type)) { + const auto value_iconFourth_value = value_iconFourth.value; + Ark_Int32 value_iconFourth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_iconFourth_value_type = value_iconFourth_value.selector; + if (value_iconFourth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_startMargin_value_0 = value_startMargin_value.value0; - valueSerializer.writeString(value_startMargin_value_0); + const auto value_iconFourth_value_0 = value_iconFourth_value.value0; + valueSerializer.writeInt32(static_cast(value_iconFourth_value_0)); } - else if (value_startMargin_value_type == 1) { + else if (value_iconFourth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_startMargin_value_1 = value_startMargin_value.value1; - valueSerializer.writeNumber(value_startMargin_value_1); + const auto value_iconFourth_value_1 = value_iconFourth_value.value1; + valueSerializer.writeNumber(value_iconFourth_value_1); } - else if (value_startMargin_value_type == 2) { + else if (value_iconFourth_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_startMargin_value_2 = value_startMargin_value.value2; - valueSerializer.writeResource(value_startMargin_value_2); + const auto value_iconFourth_value_2 = value_iconFourth_value.value2; + valueSerializer.writeString(value_iconFourth_value_2); + } + else if (value_iconFourth_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_iconFourth_value_3 = value_iconFourth_value.value3; + valueSerializer.writeResource(value_iconFourth_value_3); } } - const auto value_endMargin = value.endMargin; - Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; - value_endMargin_type = runtimeType(value_endMargin); - valueSerializer.writeInt8(value_endMargin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { - const auto value_endMargin_value = value_endMargin.value; - Ark_Int32 value_endMargin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_endMargin_value_type = value_endMargin_value.selector; - if (value_endMargin_value_type == 0) { + const auto value_iconEmphasize = value.iconEmphasize; + Ark_Int32 value_iconEmphasize_type = INTEROP_RUNTIME_UNDEFINED; + value_iconEmphasize_type = runtimeType(value_iconEmphasize); + valueSerializer.writeInt8(value_iconEmphasize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconEmphasize_type)) { + const auto value_iconEmphasize_value = value_iconEmphasize.value; + Ark_Int32 value_iconEmphasize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_iconEmphasize_value_type = value_iconEmphasize_value.selector; + if (value_iconEmphasize_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_endMargin_value_0 = value_endMargin_value.value0; - valueSerializer.writeString(value_endMargin_value_0); + const auto value_iconEmphasize_value_0 = value_iconEmphasize_value.value0; + valueSerializer.writeInt32(static_cast(value_iconEmphasize_value_0)); } - else if (value_endMargin_value_type == 1) { + else if (value_iconEmphasize_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_endMargin_value_1 = value_endMargin_value.value1; - valueSerializer.writeNumber(value_endMargin_value_1); + const auto value_iconEmphasize_value_1 = value_iconEmphasize_value.value1; + valueSerializer.writeNumber(value_iconEmphasize_value_1); } - else if (value_endMargin_value_type == 2) { + else if (value_iconEmphasize_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_endMargin_value_2 = value_endMargin_value.value2; - valueSerializer.writeResource(value_endMargin_value_2); + const auto value_iconEmphasize_value_2 = value_iconEmphasize_value.value2; + valueSerializer.writeString(value_iconEmphasize_value_2); + } + else if (value_iconEmphasize_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_iconEmphasize_value_3 = value_iconEmphasize_value.value3; + valueSerializer.writeResource(value_iconEmphasize_value_3); } } - } - void writeComponentInfo(Ark_ComponentInfo value) - { - Serializer& valueSerializer = *this; - const auto value_size = value.size; - valueSerializer.writeSize(value_size); - const auto value_localOffset = value.localOffset; - valueSerializer.writeOffset_componentutils(value_localOffset); - const auto value_windowOffset = value.windowOffset; - valueSerializer.writeOffset_componentutils(value_windowOffset); - const auto value_screenOffset = value.screenOffset; - valueSerializer.writeOffset_componentutils(value_screenOffset); - const auto value_translate = value.translate; - valueSerializer.writeTranslateResult(value_translate); - const auto value_scale = value.scale; - valueSerializer.writeScaleResult(value_scale); - const auto value_rotate = value.rotate; - valueSerializer.writeRotateResult(value_rotate); - const auto value_transform = value.transform; - const auto value_transform_0 = value_transform.value0; - valueSerializer.writeNumber(value_transform_0); - const auto value_transform_1 = value_transform.value1; - valueSerializer.writeNumber(value_transform_1); - const auto value_transform_2 = value_transform.value2; - valueSerializer.writeNumber(value_transform_2); - const auto value_transform_3 = value_transform.value3; - valueSerializer.writeNumber(value_transform_3); - const auto value_transform_4 = value_transform.value4; - valueSerializer.writeNumber(value_transform_4); - const auto value_transform_5 = value_transform.value5; - valueSerializer.writeNumber(value_transform_5); - const auto value_transform_6 = value_transform.value6; - valueSerializer.writeNumber(value_transform_6); - const auto value_transform_7 = value_transform.value7; - valueSerializer.writeNumber(value_transform_7); - const auto value_transform_8 = value_transform.value8; - valueSerializer.writeNumber(value_transform_8); - const auto value_transform_9 = value_transform.value9; - valueSerializer.writeNumber(value_transform_9); - const auto value_transform_10 = value_transform.value10; - valueSerializer.writeNumber(value_transform_10); - const auto value_transform_11 = value_transform.value11; - valueSerializer.writeNumber(value_transform_11); - const auto value_transform_12 = value_transform.value12; - valueSerializer.writeNumber(value_transform_12); - const auto value_transform_13 = value_transform.value13; - valueSerializer.writeNumber(value_transform_13); - const auto value_transform_14 = value_transform.value14; - valueSerializer.writeNumber(value_transform_14); - const auto value_transform_15 = value_transform.value15; - valueSerializer.writeNumber(value_transform_15); - } - void writeConstraintSizeOptions(Ark_ConstraintSizeOptions value) - { - Serializer& valueSerializer = *this; - const auto value_minWidth = value.minWidth; - Ark_Int32 value_minWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_minWidth_type = runtimeType(value_minWidth); - valueSerializer.writeInt8(value_minWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_minWidth_type)) { - const auto value_minWidth_value = value_minWidth.value; - Ark_Int32 value_minWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_minWidth_value_type = value_minWidth_value.selector; - if (value_minWidth_value_type == 0) { + const auto value_iconSubEmphasize = value.iconSubEmphasize; + Ark_Int32 value_iconSubEmphasize_type = INTEROP_RUNTIME_UNDEFINED; + value_iconSubEmphasize_type = runtimeType(value_iconSubEmphasize); + valueSerializer.writeInt8(value_iconSubEmphasize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconSubEmphasize_type)) { + const auto value_iconSubEmphasize_value = value_iconSubEmphasize.value; + Ark_Int32 value_iconSubEmphasize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_iconSubEmphasize_value_type = value_iconSubEmphasize_value.selector; + if (value_iconSubEmphasize_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_minWidth_value_0 = value_minWidth_value.value0; - valueSerializer.writeString(value_minWidth_value_0); + const auto value_iconSubEmphasize_value_0 = value_iconSubEmphasize_value.value0; + valueSerializer.writeInt32(static_cast(value_iconSubEmphasize_value_0)); } - else if (value_minWidth_value_type == 1) { + else if (value_iconSubEmphasize_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_minWidth_value_1 = value_minWidth_value.value1; - valueSerializer.writeNumber(value_minWidth_value_1); + const auto value_iconSubEmphasize_value_1 = value_iconSubEmphasize_value.value1; + valueSerializer.writeNumber(value_iconSubEmphasize_value_1); } - else if (value_minWidth_value_type == 2) { + else if (value_iconSubEmphasize_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_minWidth_value_2 = value_minWidth_value.value2; - valueSerializer.writeResource(value_minWidth_value_2); + const auto value_iconSubEmphasize_value_2 = value_iconSubEmphasize_value.value2; + valueSerializer.writeString(value_iconSubEmphasize_value_2); + } + else if (value_iconSubEmphasize_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_iconSubEmphasize_value_3 = value_iconSubEmphasize_value.value3; + valueSerializer.writeResource(value_iconSubEmphasize_value_3); } } - const auto value_maxWidth = value.maxWidth; - Ark_Int32 value_maxWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_maxWidth_type = runtimeType(value_maxWidth); - valueSerializer.writeInt8(value_maxWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxWidth_type)) { - const auto value_maxWidth_value = value_maxWidth.value; - Ark_Int32 value_maxWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_maxWidth_value_type = value_maxWidth_value.selector; - if (value_maxWidth_value_type == 0) { + const auto value_iconOnPrimary = value.iconOnPrimary; + Ark_Int32 value_iconOnPrimary_type = INTEROP_RUNTIME_UNDEFINED; + value_iconOnPrimary_type = runtimeType(value_iconOnPrimary); + valueSerializer.writeInt8(value_iconOnPrimary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconOnPrimary_type)) { + const auto value_iconOnPrimary_value = value_iconOnPrimary.value; + Ark_Int32 value_iconOnPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_iconOnPrimary_value_type = value_iconOnPrimary_value.selector; + if (value_iconOnPrimary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_maxWidth_value_0 = value_maxWidth_value.value0; - valueSerializer.writeString(value_maxWidth_value_0); + const auto value_iconOnPrimary_value_0 = value_iconOnPrimary_value.value0; + valueSerializer.writeInt32(static_cast(value_iconOnPrimary_value_0)); } - else if (value_maxWidth_value_type == 1) { + else if (value_iconOnPrimary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_maxWidth_value_1 = value_maxWidth_value.value1; - valueSerializer.writeNumber(value_maxWidth_value_1); + const auto value_iconOnPrimary_value_1 = value_iconOnPrimary_value.value1; + valueSerializer.writeNumber(value_iconOnPrimary_value_1); } - else if (value_maxWidth_value_type == 2) { + else if (value_iconOnPrimary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_maxWidth_value_2 = value_maxWidth_value.value2; - valueSerializer.writeResource(value_maxWidth_value_2); + const auto value_iconOnPrimary_value_2 = value_iconOnPrimary_value.value2; + valueSerializer.writeString(value_iconOnPrimary_value_2); + } + else if (value_iconOnPrimary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_iconOnPrimary_value_3 = value_iconOnPrimary_value.value3; + valueSerializer.writeResource(value_iconOnPrimary_value_3); } } - const auto value_minHeight = value.minHeight; - Ark_Int32 value_minHeight_type = INTEROP_RUNTIME_UNDEFINED; - value_minHeight_type = runtimeType(value_minHeight); - valueSerializer.writeInt8(value_minHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_minHeight_type)) { - const auto value_minHeight_value = value_minHeight.value; - Ark_Int32 value_minHeight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_minHeight_value_type = value_minHeight_value.selector; - if (value_minHeight_value_type == 0) { + const auto value_iconOnSecondary = value.iconOnSecondary; + Ark_Int32 value_iconOnSecondary_type = INTEROP_RUNTIME_UNDEFINED; + value_iconOnSecondary_type = runtimeType(value_iconOnSecondary); + valueSerializer.writeInt8(value_iconOnSecondary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconOnSecondary_type)) { + const auto value_iconOnSecondary_value = value_iconOnSecondary.value; + Ark_Int32 value_iconOnSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_iconOnSecondary_value_type = value_iconOnSecondary_value.selector; + if (value_iconOnSecondary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_minHeight_value_0 = value_minHeight_value.value0; - valueSerializer.writeString(value_minHeight_value_0); + const auto value_iconOnSecondary_value_0 = value_iconOnSecondary_value.value0; + valueSerializer.writeInt32(static_cast(value_iconOnSecondary_value_0)); } - else if (value_minHeight_value_type == 1) { + else if (value_iconOnSecondary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_minHeight_value_1 = value_minHeight_value.value1; - valueSerializer.writeNumber(value_minHeight_value_1); + const auto value_iconOnSecondary_value_1 = value_iconOnSecondary_value.value1; + valueSerializer.writeNumber(value_iconOnSecondary_value_1); } - else if (value_minHeight_value_type == 2) { + else if (value_iconOnSecondary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_minHeight_value_2 = value_minHeight_value.value2; - valueSerializer.writeResource(value_minHeight_value_2); + const auto value_iconOnSecondary_value_2 = value_iconOnSecondary_value.value2; + valueSerializer.writeString(value_iconOnSecondary_value_2); + } + else if (value_iconOnSecondary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_iconOnSecondary_value_3 = value_iconOnSecondary_value.value3; + valueSerializer.writeResource(value_iconOnSecondary_value_3); } } - const auto value_maxHeight = value.maxHeight; - Ark_Int32 value_maxHeight_type = INTEROP_RUNTIME_UNDEFINED; - value_maxHeight_type = runtimeType(value_maxHeight); - valueSerializer.writeInt8(value_maxHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxHeight_type)) { - const auto value_maxHeight_value = value_maxHeight.value; - Ark_Int32 value_maxHeight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_maxHeight_value_type = value_maxHeight_value.selector; - if (value_maxHeight_value_type == 0) { + const auto value_iconOnTertiary = value.iconOnTertiary; + Ark_Int32 value_iconOnTertiary_type = INTEROP_RUNTIME_UNDEFINED; + value_iconOnTertiary_type = runtimeType(value_iconOnTertiary); + valueSerializer.writeInt8(value_iconOnTertiary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconOnTertiary_type)) { + const auto value_iconOnTertiary_value = value_iconOnTertiary.value; + Ark_Int32 value_iconOnTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_iconOnTertiary_value_type = value_iconOnTertiary_value.selector; + if (value_iconOnTertiary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_maxHeight_value_0 = value_maxHeight_value.value0; - valueSerializer.writeString(value_maxHeight_value_0); + const auto value_iconOnTertiary_value_0 = value_iconOnTertiary_value.value0; + valueSerializer.writeInt32(static_cast(value_iconOnTertiary_value_0)); } - else if (value_maxHeight_value_type == 1) { + else if (value_iconOnTertiary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_maxHeight_value_1 = value_maxHeight_value.value1; - valueSerializer.writeNumber(value_maxHeight_value_1); + const auto value_iconOnTertiary_value_1 = value_iconOnTertiary_value.value1; + valueSerializer.writeNumber(value_iconOnTertiary_value_1); } - else if (value_maxHeight_value_type == 2) { + else if (value_iconOnTertiary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_maxHeight_value_2 = value_maxHeight_value.value2; - valueSerializer.writeResource(value_maxHeight_value_2); + const auto value_iconOnTertiary_value_2 = value_iconOnTertiary_value.value2; + valueSerializer.writeString(value_iconOnTertiary_value_2); + } + else if (value_iconOnTertiary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_iconOnTertiary_value_3 = value_iconOnTertiary_value.value3; + valueSerializer.writeResource(value_iconOnTertiary_value_3); } } - } - void writeContentCoverOptions(Ark_ContentCoverOptions value) - { - Serializer& valueSerializer = *this; - const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundColor_type = runtimeType(value_backgroundColor); - valueSerializer.writeInt8(value_backgroundColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { - const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundColor_value_type = value_backgroundColor_value.selector; - if (value_backgroundColor_value_type == 0) { + const auto value_iconOnFourth = value.iconOnFourth; + Ark_Int32 value_iconOnFourth_type = INTEROP_RUNTIME_UNDEFINED; + value_iconOnFourth_type = runtimeType(value_iconOnFourth); + valueSerializer.writeInt8(value_iconOnFourth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconOnFourth_type)) { + const auto value_iconOnFourth_value = value_iconOnFourth.value; + Ark_Int32 value_iconOnFourth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_iconOnFourth_value_type = value_iconOnFourth_value.selector; + if (value_iconOnFourth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_backgroundColor_value_0 = value_backgroundColor_value.value0; - valueSerializer.writeInt32(static_cast(value_backgroundColor_value_0)); + const auto value_iconOnFourth_value_0 = value_iconOnFourth_value.value0; + valueSerializer.writeInt32(static_cast(value_iconOnFourth_value_0)); } - else if (value_backgroundColor_value_type == 1) { + else if (value_iconOnFourth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_backgroundColor_value_1 = value_backgroundColor_value.value1; - valueSerializer.writeNumber(value_backgroundColor_value_1); + const auto value_iconOnFourth_value_1 = value_iconOnFourth_value.value1; + valueSerializer.writeNumber(value_iconOnFourth_value_1); } - else if (value_backgroundColor_value_type == 2) { + else if (value_iconOnFourth_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_backgroundColor_value_2 = value_backgroundColor_value.value2; - valueSerializer.writeString(value_backgroundColor_value_2); + const auto value_iconOnFourth_value_2 = value_iconOnFourth_value.value2; + valueSerializer.writeString(value_iconOnFourth_value_2); } - else if (value_backgroundColor_value_type == 3) { + else if (value_iconOnFourth_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_backgroundColor_value_3 = value_backgroundColor_value.value3; - valueSerializer.writeResource(value_backgroundColor_value_3); + const auto value_iconOnFourth_value_3 = value_iconOnFourth_value.value3; + valueSerializer.writeResource(value_iconOnFourth_value_3); } } - const auto value_onAppear = value.onAppear; - Ark_Int32 value_onAppear_type = INTEROP_RUNTIME_UNDEFINED; - value_onAppear_type = runtimeType(value_onAppear); - valueSerializer.writeInt8(value_onAppear_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onAppear_type)) { - const auto value_onAppear_value = value_onAppear.value; - valueSerializer.writeCallbackResource(value_onAppear_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onAppear_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onAppear_value.callSync)); - } - const auto value_onDisappear = value.onDisappear; - Ark_Int32 value_onDisappear_type = INTEROP_RUNTIME_UNDEFINED; - value_onDisappear_type = runtimeType(value_onDisappear); - valueSerializer.writeInt8(value_onDisappear_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDisappear_type)) { - const auto value_onDisappear_value = value_onDisappear.value; - valueSerializer.writeCallbackResource(value_onDisappear_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onDisappear_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onDisappear_value.callSync)); - } - const auto value_onWillAppear = value.onWillAppear; - Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; - value_onWillAppear_type = runtimeType(value_onWillAppear); - valueSerializer.writeInt8(value_onWillAppear_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillAppear_type)) { - const auto value_onWillAppear_value = value_onWillAppear.value; - valueSerializer.writeCallbackResource(value_onWillAppear_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.callSync)); - } - const auto value_onWillDisappear = value.onWillDisappear; - Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; - value_onWillDisappear_type = runtimeType(value_onWillDisappear); - valueSerializer.writeInt8(value_onWillDisappear_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDisappear_type)) { - const auto value_onWillDisappear_value = value_onWillDisappear.value; - valueSerializer.writeCallbackResource(value_onWillDisappear_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.callSync)); - } - const auto value_modalTransition = value.modalTransition; - Ark_Int32 value_modalTransition_type = INTEROP_RUNTIME_UNDEFINED; - value_modalTransition_type = runtimeType(value_modalTransition); - valueSerializer.writeInt8(value_modalTransition_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_modalTransition_type)) { - const auto value_modalTransition_value = value_modalTransition.value; - valueSerializer.writeInt32(static_cast(value_modalTransition_value)); - } - const auto value_onWillDismiss = value.onWillDismiss; - Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; - value_onWillDismiss_type = runtimeType(value_onWillDismiss); - valueSerializer.writeInt8(value_onWillDismiss_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDismiss_type)) { - const auto value_onWillDismiss_value = value_onWillDismiss.value; - valueSerializer.writeCallbackResource(value_onWillDismiss_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onWillDismiss_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onWillDismiss_value.callSync)); - } - const auto value_transition = value.transition; - Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; - value_transition_type = runtimeType(value_transition); - valueSerializer.writeInt8(value_transition_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_transition_type)) { - const auto value_transition_value = value_transition.value; - valueSerializer.writeTransitionEffect(value_transition_value); - } - } - void writeContextMenuAnimationOptions(Ark_ContextMenuAnimationOptions value) - { - Serializer& valueSerializer = *this; - const auto value_scale = value.scale; - Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; - value_scale_type = runtimeType(value_scale); - valueSerializer.writeInt8(value_scale_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scale_type)) { - const auto value_scale_value = value_scale.value; - const auto value_scale_value_0 = value_scale_value.value0; - valueSerializer.writeNumber(value_scale_value_0); - const auto value_scale_value_1 = value_scale_value.value1; - valueSerializer.writeNumber(value_scale_value_1); - } - const auto value_transition = value.transition; - Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; - value_transition_type = runtimeType(value_transition); - valueSerializer.writeInt8(value_transition_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_transition_type)) { - const auto value_transition_value = value_transition.value; - valueSerializer.writeTransitionEffect(value_transition_value); + const auto value_backgroundPrimary = value.backgroundPrimary; + Ark_Int32 value_backgroundPrimary_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundPrimary_type = runtimeType(value_backgroundPrimary); + valueSerializer.writeInt8(value_backgroundPrimary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundPrimary_type)) { + const auto value_backgroundPrimary_value = value_backgroundPrimary.value; + Ark_Int32 value_backgroundPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundPrimary_value_type = value_backgroundPrimary_value.selector; + if (value_backgroundPrimary_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_backgroundPrimary_value_0 = value_backgroundPrimary_value.value0; + valueSerializer.writeInt32(static_cast(value_backgroundPrimary_value_0)); + } + else if (value_backgroundPrimary_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_backgroundPrimary_value_1 = value_backgroundPrimary_value.value1; + valueSerializer.writeNumber(value_backgroundPrimary_value_1); + } + else if (value_backgroundPrimary_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_backgroundPrimary_value_2 = value_backgroundPrimary_value.value2; + valueSerializer.writeString(value_backgroundPrimary_value_2); + } + else if (value_backgroundPrimary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_backgroundPrimary_value_3 = value_backgroundPrimary_value.value3; + valueSerializer.writeResource(value_backgroundPrimary_value_3); + } } - const auto value_hoverScale = value.hoverScale; - Ark_Int32 value_hoverScale_type = INTEROP_RUNTIME_UNDEFINED; - value_hoverScale_type = runtimeType(value_hoverScale); - valueSerializer.writeInt8(value_hoverScale_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_hoverScale_type)) { - const auto value_hoverScale_value = value_hoverScale.value; - const auto value_hoverScale_value_0 = value_hoverScale_value.value0; - valueSerializer.writeNumber(value_hoverScale_value_0); - const auto value_hoverScale_value_1 = value_hoverScale_value.value1; - valueSerializer.writeNumber(value_hoverScale_value_1); + const auto value_backgroundSecondary = value.backgroundSecondary; + Ark_Int32 value_backgroundSecondary_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundSecondary_type = runtimeType(value_backgroundSecondary); + valueSerializer.writeInt8(value_backgroundSecondary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundSecondary_type)) { + const auto value_backgroundSecondary_value = value_backgroundSecondary.value; + Ark_Int32 value_backgroundSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundSecondary_value_type = value_backgroundSecondary_value.selector; + if (value_backgroundSecondary_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_backgroundSecondary_value_0 = value_backgroundSecondary_value.value0; + valueSerializer.writeInt32(static_cast(value_backgroundSecondary_value_0)); + } + else if (value_backgroundSecondary_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_backgroundSecondary_value_1 = value_backgroundSecondary_value.value1; + valueSerializer.writeNumber(value_backgroundSecondary_value_1); + } + else if (value_backgroundSecondary_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_backgroundSecondary_value_2 = value_backgroundSecondary_value.value2; + valueSerializer.writeString(value_backgroundSecondary_value_2); + } + else if (value_backgroundSecondary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_backgroundSecondary_value_3 = value_backgroundSecondary_value.value3; + valueSerializer.writeResource(value_backgroundSecondary_value_3); + } } - } - void writeCurrentDayStyle(Ark_CurrentDayStyle value) - { - Serializer& valueSerializer = *this; - const auto value_dayColor = value.dayColor; - Ark_Int32 value_dayColor_type = INTEROP_RUNTIME_UNDEFINED; - value_dayColor_type = runtimeType(value_dayColor); - valueSerializer.writeInt8(value_dayColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dayColor_type)) { - const auto value_dayColor_value = value_dayColor.value; - Ark_Int32 value_dayColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_dayColor_value_type = value_dayColor_value.selector; - if (value_dayColor_value_type == 0) { + const auto value_backgroundTertiary = value.backgroundTertiary; + Ark_Int32 value_backgroundTertiary_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundTertiary_type = runtimeType(value_backgroundTertiary); + valueSerializer.writeInt8(value_backgroundTertiary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundTertiary_type)) { + const auto value_backgroundTertiary_value = value_backgroundTertiary.value; + Ark_Int32 value_backgroundTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundTertiary_value_type = value_backgroundTertiary_value.selector; + if (value_backgroundTertiary_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_backgroundTertiary_value_0 = value_backgroundTertiary_value.value0; + valueSerializer.writeInt32(static_cast(value_backgroundTertiary_value_0)); + } + else if (value_backgroundTertiary_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_backgroundTertiary_value_1 = value_backgroundTertiary_value.value1; + valueSerializer.writeNumber(value_backgroundTertiary_value_1); + } + else if (value_backgroundTertiary_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_backgroundTertiary_value_2 = value_backgroundTertiary_value.value2; + valueSerializer.writeString(value_backgroundTertiary_value_2); + } + else if (value_backgroundTertiary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_backgroundTertiary_value_3 = value_backgroundTertiary_value.value3; + valueSerializer.writeResource(value_backgroundTertiary_value_3); + } + } + const auto value_backgroundFourth = value.backgroundFourth; + Ark_Int32 value_backgroundFourth_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundFourth_type = runtimeType(value_backgroundFourth); + valueSerializer.writeInt8(value_backgroundFourth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundFourth_type)) { + const auto value_backgroundFourth_value = value_backgroundFourth.value; + Ark_Int32 value_backgroundFourth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundFourth_value_type = value_backgroundFourth_value.selector; + if (value_backgroundFourth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_dayColor_value_0 = value_dayColor_value.value0; - valueSerializer.writeInt32(static_cast(value_dayColor_value_0)); + const auto value_backgroundFourth_value_0 = value_backgroundFourth_value.value0; + valueSerializer.writeInt32(static_cast(value_backgroundFourth_value_0)); } - else if (value_dayColor_value_type == 1) { + else if (value_backgroundFourth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_dayColor_value_1 = value_dayColor_value.value1; - valueSerializer.writeNumber(value_dayColor_value_1); + const auto value_backgroundFourth_value_1 = value_backgroundFourth_value.value1; + valueSerializer.writeNumber(value_backgroundFourth_value_1); } - else if (value_dayColor_value_type == 2) { + else if (value_backgroundFourth_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_dayColor_value_2 = value_dayColor_value.value2; - valueSerializer.writeString(value_dayColor_value_2); + const auto value_backgroundFourth_value_2 = value_backgroundFourth_value.value2; + valueSerializer.writeString(value_backgroundFourth_value_2); } - else if (value_dayColor_value_type == 3) { + else if (value_backgroundFourth_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_dayColor_value_3 = value_dayColor_value.value3; - valueSerializer.writeResource(value_dayColor_value_3); + const auto value_backgroundFourth_value_3 = value_backgroundFourth_value.value3; + valueSerializer.writeResource(value_backgroundFourth_value_3); } } - const auto value_lunarColor = value.lunarColor; - Ark_Int32 value_lunarColor_type = INTEROP_RUNTIME_UNDEFINED; - value_lunarColor_type = runtimeType(value_lunarColor); - valueSerializer.writeInt8(value_lunarColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_lunarColor_type)) { - const auto value_lunarColor_value = value_lunarColor.value; - Ark_Int32 value_lunarColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_lunarColor_value_type = value_lunarColor_value.selector; - if (value_lunarColor_value_type == 0) { + const auto value_backgroundEmphasize = value.backgroundEmphasize; + Ark_Int32 value_backgroundEmphasize_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEmphasize_type = runtimeType(value_backgroundEmphasize); + valueSerializer.writeInt8(value_backgroundEmphasize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEmphasize_type)) { + const auto value_backgroundEmphasize_value = value_backgroundEmphasize.value; + Ark_Int32 value_backgroundEmphasize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEmphasize_value_type = value_backgroundEmphasize_value.selector; + if (value_backgroundEmphasize_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_lunarColor_value_0 = value_lunarColor_value.value0; - valueSerializer.writeInt32(static_cast(value_lunarColor_value_0)); + const auto value_backgroundEmphasize_value_0 = value_backgroundEmphasize_value.value0; + valueSerializer.writeInt32(static_cast(value_backgroundEmphasize_value_0)); } - else if (value_lunarColor_value_type == 1) { + else if (value_backgroundEmphasize_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_lunarColor_value_1 = value_lunarColor_value.value1; - valueSerializer.writeNumber(value_lunarColor_value_1); + const auto value_backgroundEmphasize_value_1 = value_backgroundEmphasize_value.value1; + valueSerializer.writeNumber(value_backgroundEmphasize_value_1); } - else if (value_lunarColor_value_type == 2) { + else if (value_backgroundEmphasize_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_lunarColor_value_2 = value_lunarColor_value.value2; - valueSerializer.writeString(value_lunarColor_value_2); + const auto value_backgroundEmphasize_value_2 = value_backgroundEmphasize_value.value2; + valueSerializer.writeString(value_backgroundEmphasize_value_2); } - else if (value_lunarColor_value_type == 3) { + else if (value_backgroundEmphasize_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_lunarColor_value_3 = value_lunarColor_value.value3; - valueSerializer.writeResource(value_lunarColor_value_3); + const auto value_backgroundEmphasize_value_3 = value_backgroundEmphasize_value.value3; + valueSerializer.writeResource(value_backgroundEmphasize_value_3); } } - const auto value_markLunarColor = value.markLunarColor; - Ark_Int32 value_markLunarColor_type = INTEROP_RUNTIME_UNDEFINED; - value_markLunarColor_type = runtimeType(value_markLunarColor); - valueSerializer.writeInt8(value_markLunarColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_markLunarColor_type)) { - const auto value_markLunarColor_value = value_markLunarColor.value; - Ark_Int32 value_markLunarColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_markLunarColor_value_type = value_markLunarColor_value.selector; - if (value_markLunarColor_value_type == 0) { + const auto value_compForegroundPrimary = value.compForegroundPrimary; + Ark_Int32 value_compForegroundPrimary_type = INTEROP_RUNTIME_UNDEFINED; + value_compForegroundPrimary_type = runtimeType(value_compForegroundPrimary); + valueSerializer.writeInt8(value_compForegroundPrimary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compForegroundPrimary_type)) { + const auto value_compForegroundPrimary_value = value_compForegroundPrimary.value; + Ark_Int32 value_compForegroundPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compForegroundPrimary_value_type = value_compForegroundPrimary_value.selector; + if (value_compForegroundPrimary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_markLunarColor_value_0 = value_markLunarColor_value.value0; - valueSerializer.writeInt32(static_cast(value_markLunarColor_value_0)); + const auto value_compForegroundPrimary_value_0 = value_compForegroundPrimary_value.value0; + valueSerializer.writeInt32(static_cast(value_compForegroundPrimary_value_0)); } - else if (value_markLunarColor_value_type == 1) { + else if (value_compForegroundPrimary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_markLunarColor_value_1 = value_markLunarColor_value.value1; - valueSerializer.writeNumber(value_markLunarColor_value_1); + const auto value_compForegroundPrimary_value_1 = value_compForegroundPrimary_value.value1; + valueSerializer.writeNumber(value_compForegroundPrimary_value_1); } - else if (value_markLunarColor_value_type == 2) { + else if (value_compForegroundPrimary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_markLunarColor_value_2 = value_markLunarColor_value.value2; - valueSerializer.writeString(value_markLunarColor_value_2); + const auto value_compForegroundPrimary_value_2 = value_compForegroundPrimary_value.value2; + valueSerializer.writeString(value_compForegroundPrimary_value_2); } - else if (value_markLunarColor_value_type == 3) { + else if (value_compForegroundPrimary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_markLunarColor_value_3 = value_markLunarColor_value.value3; - valueSerializer.writeResource(value_markLunarColor_value_3); + const auto value_compForegroundPrimary_value_3 = value_compForegroundPrimary_value.value3; + valueSerializer.writeResource(value_compForegroundPrimary_value_3); } } - const auto value_dayFontSize = value.dayFontSize; - Ark_Int32 value_dayFontSize_type = INTEROP_RUNTIME_UNDEFINED; - value_dayFontSize_type = runtimeType(value_dayFontSize); - valueSerializer.writeInt8(value_dayFontSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dayFontSize_type)) { - const auto value_dayFontSize_value = value_dayFontSize.value; - valueSerializer.writeNumber(value_dayFontSize_value); - } - const auto value_lunarDayFontSize = value.lunarDayFontSize; - Ark_Int32 value_lunarDayFontSize_type = INTEROP_RUNTIME_UNDEFINED; - value_lunarDayFontSize_type = runtimeType(value_lunarDayFontSize); - valueSerializer.writeInt8(value_lunarDayFontSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_lunarDayFontSize_type)) { - const auto value_lunarDayFontSize_value = value_lunarDayFontSize.value; - valueSerializer.writeNumber(value_lunarDayFontSize_value); - } - const auto value_dayHeight = value.dayHeight; - Ark_Int32 value_dayHeight_type = INTEROP_RUNTIME_UNDEFINED; - value_dayHeight_type = runtimeType(value_dayHeight); - valueSerializer.writeInt8(value_dayHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dayHeight_type)) { - const auto value_dayHeight_value = value_dayHeight.value; - valueSerializer.writeNumber(value_dayHeight_value); - } - const auto value_dayWidth = value.dayWidth; - Ark_Int32 value_dayWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_dayWidth_type = runtimeType(value_dayWidth); - valueSerializer.writeInt8(value_dayWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dayWidth_type)) { - const auto value_dayWidth_value = value_dayWidth.value; - valueSerializer.writeNumber(value_dayWidth_value); - } - const auto value_gregorianCalendarHeight = value.gregorianCalendarHeight; - Ark_Int32 value_gregorianCalendarHeight_type = INTEROP_RUNTIME_UNDEFINED; - value_gregorianCalendarHeight_type = runtimeType(value_gregorianCalendarHeight); - valueSerializer.writeInt8(value_gregorianCalendarHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_gregorianCalendarHeight_type)) { - const auto value_gregorianCalendarHeight_value = value_gregorianCalendarHeight.value; - valueSerializer.writeNumber(value_gregorianCalendarHeight_value); - } - const auto value_dayYAxisOffset = value.dayYAxisOffset; - Ark_Int32 value_dayYAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_dayYAxisOffset_type = runtimeType(value_dayYAxisOffset); - valueSerializer.writeInt8(value_dayYAxisOffset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dayYAxisOffset_type)) { - const auto value_dayYAxisOffset_value = value_dayYAxisOffset.value; - valueSerializer.writeNumber(value_dayYAxisOffset_value); - } - const auto value_lunarDayYAxisOffset = value.lunarDayYAxisOffset; - Ark_Int32 value_lunarDayYAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_lunarDayYAxisOffset_type = runtimeType(value_lunarDayYAxisOffset); - valueSerializer.writeInt8(value_lunarDayYAxisOffset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_lunarDayYAxisOffset_type)) { - const auto value_lunarDayYAxisOffset_value = value_lunarDayYAxisOffset.value; - valueSerializer.writeNumber(value_lunarDayYAxisOffset_value); - } - const auto value_underscoreXAxisOffset = value.underscoreXAxisOffset; - Ark_Int32 value_underscoreXAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_underscoreXAxisOffset_type = runtimeType(value_underscoreXAxisOffset); - valueSerializer.writeInt8(value_underscoreXAxisOffset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_underscoreXAxisOffset_type)) { - const auto value_underscoreXAxisOffset_value = value_underscoreXAxisOffset.value; - valueSerializer.writeNumber(value_underscoreXAxisOffset_value); - } - const auto value_underscoreYAxisOffset = value.underscoreYAxisOffset; - Ark_Int32 value_underscoreYAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_underscoreYAxisOffset_type = runtimeType(value_underscoreYAxisOffset); - valueSerializer.writeInt8(value_underscoreYAxisOffset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_underscoreYAxisOffset_type)) { - const auto value_underscoreYAxisOffset_value = value_underscoreYAxisOffset.value; - valueSerializer.writeNumber(value_underscoreYAxisOffset_value); - } - const auto value_scheduleMarkerXAxisOffset = value.scheduleMarkerXAxisOffset; - Ark_Int32 value_scheduleMarkerXAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_scheduleMarkerXAxisOffset_type = runtimeType(value_scheduleMarkerXAxisOffset); - valueSerializer.writeInt8(value_scheduleMarkerXAxisOffset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scheduleMarkerXAxisOffset_type)) { - const auto value_scheduleMarkerXAxisOffset_value = value_scheduleMarkerXAxisOffset.value; - valueSerializer.writeNumber(value_scheduleMarkerXAxisOffset_value); - } - const auto value_scheduleMarkerYAxisOffset = value.scheduleMarkerYAxisOffset; - Ark_Int32 value_scheduleMarkerYAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_scheduleMarkerYAxisOffset_type = runtimeType(value_scheduleMarkerYAxisOffset); - valueSerializer.writeInt8(value_scheduleMarkerYAxisOffset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scheduleMarkerYAxisOffset_type)) { - const auto value_scheduleMarkerYAxisOffset_value = value_scheduleMarkerYAxisOffset.value; - valueSerializer.writeNumber(value_scheduleMarkerYAxisOffset_value); - } - const auto value_colSpace = value.colSpace; - Ark_Int32 value_colSpace_type = INTEROP_RUNTIME_UNDEFINED; - value_colSpace_type = runtimeType(value_colSpace); - valueSerializer.writeInt8(value_colSpace_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_colSpace_type)) { - const auto value_colSpace_value = value_colSpace.value; - valueSerializer.writeNumber(value_colSpace_value); - } - const auto value_dailyFiveRowSpace = value.dailyFiveRowSpace; - Ark_Int32 value_dailyFiveRowSpace_type = INTEROP_RUNTIME_UNDEFINED; - value_dailyFiveRowSpace_type = runtimeType(value_dailyFiveRowSpace); - valueSerializer.writeInt8(value_dailyFiveRowSpace_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dailyFiveRowSpace_type)) { - const auto value_dailyFiveRowSpace_value = value_dailyFiveRowSpace.value; - valueSerializer.writeNumber(value_dailyFiveRowSpace_value); - } - const auto value_dailySixRowSpace = value.dailySixRowSpace; - Ark_Int32 value_dailySixRowSpace_type = INTEROP_RUNTIME_UNDEFINED; - value_dailySixRowSpace_type = runtimeType(value_dailySixRowSpace); - valueSerializer.writeInt8(value_dailySixRowSpace_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dailySixRowSpace_type)) { - const auto value_dailySixRowSpace_value = value_dailySixRowSpace.value; - valueSerializer.writeNumber(value_dailySixRowSpace_value); - } - const auto value_lunarHeight = value.lunarHeight; - Ark_Int32 value_lunarHeight_type = INTEROP_RUNTIME_UNDEFINED; - value_lunarHeight_type = runtimeType(value_lunarHeight); - valueSerializer.writeInt8(value_lunarHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_lunarHeight_type)) { - const auto value_lunarHeight_value = value_lunarHeight.value; - valueSerializer.writeNumber(value_lunarHeight_value); - } - const auto value_underscoreWidth = value.underscoreWidth; - Ark_Int32 value_underscoreWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_underscoreWidth_type = runtimeType(value_underscoreWidth); - valueSerializer.writeInt8(value_underscoreWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_underscoreWidth_type)) { - const auto value_underscoreWidth_value = value_underscoreWidth.value; - valueSerializer.writeNumber(value_underscoreWidth_value); - } - const auto value_underscoreLength = value.underscoreLength; - Ark_Int32 value_underscoreLength_type = INTEROP_RUNTIME_UNDEFINED; - value_underscoreLength_type = runtimeType(value_underscoreLength); - valueSerializer.writeInt8(value_underscoreLength_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_underscoreLength_type)) { - const auto value_underscoreLength_value = value_underscoreLength.value; - valueSerializer.writeNumber(value_underscoreLength_value); - } - const auto value_scheduleMarkerRadius = value.scheduleMarkerRadius; - Ark_Int32 value_scheduleMarkerRadius_type = INTEROP_RUNTIME_UNDEFINED; - value_scheduleMarkerRadius_type = runtimeType(value_scheduleMarkerRadius); - valueSerializer.writeInt8(value_scheduleMarkerRadius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scheduleMarkerRadius_type)) { - const auto value_scheduleMarkerRadius_value = value_scheduleMarkerRadius.value; - valueSerializer.writeNumber(value_scheduleMarkerRadius_value); + const auto value_compBackgroundPrimary = value.compBackgroundPrimary; + Ark_Int32 value_compBackgroundPrimary_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundPrimary_type = runtimeType(value_compBackgroundPrimary); + valueSerializer.writeInt8(value_compBackgroundPrimary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundPrimary_type)) { + const auto value_compBackgroundPrimary_value = value_compBackgroundPrimary.value; + Ark_Int32 value_compBackgroundPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundPrimary_value_type = value_compBackgroundPrimary_value.selector; + if (value_compBackgroundPrimary_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_compBackgroundPrimary_value_0 = value_compBackgroundPrimary_value.value0; + valueSerializer.writeInt32(static_cast(value_compBackgroundPrimary_value_0)); + } + else if (value_compBackgroundPrimary_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_compBackgroundPrimary_value_1 = value_compBackgroundPrimary_value.value1; + valueSerializer.writeNumber(value_compBackgroundPrimary_value_1); + } + else if (value_compBackgroundPrimary_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_compBackgroundPrimary_value_2 = value_compBackgroundPrimary_value.value2; + valueSerializer.writeString(value_compBackgroundPrimary_value_2); + } + else if (value_compBackgroundPrimary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_compBackgroundPrimary_value_3 = value_compBackgroundPrimary_value.value3; + valueSerializer.writeResource(value_compBackgroundPrimary_value_3); + } } - const auto value_boundaryRowOffset = value.boundaryRowOffset; - Ark_Int32 value_boundaryRowOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_boundaryRowOffset_type = runtimeType(value_boundaryRowOffset); - valueSerializer.writeInt8(value_boundaryRowOffset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_boundaryRowOffset_type)) { - const auto value_boundaryRowOffset_value = value_boundaryRowOffset.value; - valueSerializer.writeNumber(value_boundaryRowOffset_value); + const auto value_compBackgroundPrimaryTran = value.compBackgroundPrimaryTran; + Ark_Int32 value_compBackgroundPrimaryTran_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundPrimaryTran_type = runtimeType(value_compBackgroundPrimaryTran); + valueSerializer.writeInt8(value_compBackgroundPrimaryTran_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundPrimaryTran_type)) { + const auto value_compBackgroundPrimaryTran_value = value_compBackgroundPrimaryTran.value; + Ark_Int32 value_compBackgroundPrimaryTran_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundPrimaryTran_value_type = value_compBackgroundPrimaryTran_value.selector; + if (value_compBackgroundPrimaryTran_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_compBackgroundPrimaryTran_value_0 = value_compBackgroundPrimaryTran_value.value0; + valueSerializer.writeInt32(static_cast(value_compBackgroundPrimaryTran_value_0)); + } + else if (value_compBackgroundPrimaryTran_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_compBackgroundPrimaryTran_value_1 = value_compBackgroundPrimaryTran_value.value1; + valueSerializer.writeNumber(value_compBackgroundPrimaryTran_value_1); + } + else if (value_compBackgroundPrimaryTran_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_compBackgroundPrimaryTran_value_2 = value_compBackgroundPrimaryTran_value.value2; + valueSerializer.writeString(value_compBackgroundPrimaryTran_value_2); + } + else if (value_compBackgroundPrimaryTran_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_compBackgroundPrimaryTran_value_3 = value_compBackgroundPrimaryTran_value.value3; + valueSerializer.writeResource(value_compBackgroundPrimaryTran_value_3); + } } - const auto value_boundaryColOffset = value.boundaryColOffset; - Ark_Int32 value_boundaryColOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_boundaryColOffset_type = runtimeType(value_boundaryColOffset); - valueSerializer.writeInt8(value_boundaryColOffset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_boundaryColOffset_type)) { - const auto value_boundaryColOffset_value = value_boundaryColOffset.value; - valueSerializer.writeNumber(value_boundaryColOffset_value); + const auto value_compBackgroundPrimaryContrary = value.compBackgroundPrimaryContrary; + Ark_Int32 value_compBackgroundPrimaryContrary_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundPrimaryContrary_type = runtimeType(value_compBackgroundPrimaryContrary); + valueSerializer.writeInt8(value_compBackgroundPrimaryContrary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundPrimaryContrary_type)) { + const auto value_compBackgroundPrimaryContrary_value = value_compBackgroundPrimaryContrary.value; + Ark_Int32 value_compBackgroundPrimaryContrary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundPrimaryContrary_value_type = value_compBackgroundPrimaryContrary_value.selector; + if (value_compBackgroundPrimaryContrary_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_compBackgroundPrimaryContrary_value_0 = value_compBackgroundPrimaryContrary_value.value0; + valueSerializer.writeInt32(static_cast(value_compBackgroundPrimaryContrary_value_0)); + } + else if (value_compBackgroundPrimaryContrary_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_compBackgroundPrimaryContrary_value_1 = value_compBackgroundPrimaryContrary_value.value1; + valueSerializer.writeNumber(value_compBackgroundPrimaryContrary_value_1); + } + else if (value_compBackgroundPrimaryContrary_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_compBackgroundPrimaryContrary_value_2 = value_compBackgroundPrimaryContrary_value.value2; + valueSerializer.writeString(value_compBackgroundPrimaryContrary_value_2); + } + else if (value_compBackgroundPrimaryContrary_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_compBackgroundPrimaryContrary_value_3 = value_compBackgroundPrimaryContrary_value.value3; + valueSerializer.writeResource(value_compBackgroundPrimaryContrary_value_3); + } } - } - void writeCustomColors(Ark_CustomColors value) - { - Serializer& valueSerializer = *this; - const auto value_brand = value.brand; - Ark_Int32 value_brand_type = INTEROP_RUNTIME_UNDEFINED; - value_brand_type = runtimeType(value_brand); - valueSerializer.writeInt8(value_brand_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_brand_type)) { - const auto value_brand_value = value_brand.value; - Ark_Int32 value_brand_value_type = INTEROP_RUNTIME_UNDEFINED; - value_brand_value_type = value_brand_value.selector; - if (value_brand_value_type == 0) { + const auto value_compBackgroundGray = value.compBackgroundGray; + Ark_Int32 value_compBackgroundGray_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundGray_type = runtimeType(value_compBackgroundGray); + valueSerializer.writeInt8(value_compBackgroundGray_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundGray_type)) { + const auto value_compBackgroundGray_value = value_compBackgroundGray.value; + Ark_Int32 value_compBackgroundGray_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundGray_value_type = value_compBackgroundGray_value.selector; + if (value_compBackgroundGray_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_brand_value_0 = value_brand_value.value0; - valueSerializer.writeInt32(static_cast(value_brand_value_0)); + const auto value_compBackgroundGray_value_0 = value_compBackgroundGray_value.value0; + valueSerializer.writeInt32(static_cast(value_compBackgroundGray_value_0)); } - else if (value_brand_value_type == 1) { + else if (value_compBackgroundGray_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_brand_value_1 = value_brand_value.value1; - valueSerializer.writeNumber(value_brand_value_1); + const auto value_compBackgroundGray_value_1 = value_compBackgroundGray_value.value1; + valueSerializer.writeNumber(value_compBackgroundGray_value_1); } - else if (value_brand_value_type == 2) { + else if (value_compBackgroundGray_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_brand_value_2 = value_brand_value.value2; - valueSerializer.writeString(value_brand_value_2); + const auto value_compBackgroundGray_value_2 = value_compBackgroundGray_value.value2; + valueSerializer.writeString(value_compBackgroundGray_value_2); } - else if (value_brand_value_type == 3) { + else if (value_compBackgroundGray_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_brand_value_3 = value_brand_value.value3; - valueSerializer.writeResource(value_brand_value_3); + const auto value_compBackgroundGray_value_3 = value_compBackgroundGray_value.value3; + valueSerializer.writeResource(value_compBackgroundGray_value_3); } } - const auto value_warning = value.warning; - Ark_Int32 value_warning_type = INTEROP_RUNTIME_UNDEFINED; - value_warning_type = runtimeType(value_warning); - valueSerializer.writeInt8(value_warning_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_warning_type)) { - const auto value_warning_value = value_warning.value; - Ark_Int32 value_warning_value_type = INTEROP_RUNTIME_UNDEFINED; - value_warning_value_type = value_warning_value.selector; - if (value_warning_value_type == 0) { + const auto value_compBackgroundSecondary = value.compBackgroundSecondary; + Ark_Int32 value_compBackgroundSecondary_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundSecondary_type = runtimeType(value_compBackgroundSecondary); + valueSerializer.writeInt8(value_compBackgroundSecondary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundSecondary_type)) { + const auto value_compBackgroundSecondary_value = value_compBackgroundSecondary.value; + Ark_Int32 value_compBackgroundSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundSecondary_value_type = value_compBackgroundSecondary_value.selector; + if (value_compBackgroundSecondary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_warning_value_0 = value_warning_value.value0; - valueSerializer.writeInt32(static_cast(value_warning_value_0)); + const auto value_compBackgroundSecondary_value_0 = value_compBackgroundSecondary_value.value0; + valueSerializer.writeInt32(static_cast(value_compBackgroundSecondary_value_0)); } - else if (value_warning_value_type == 1) { + else if (value_compBackgroundSecondary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_warning_value_1 = value_warning_value.value1; - valueSerializer.writeNumber(value_warning_value_1); + const auto value_compBackgroundSecondary_value_1 = value_compBackgroundSecondary_value.value1; + valueSerializer.writeNumber(value_compBackgroundSecondary_value_1); } - else if (value_warning_value_type == 2) { + else if (value_compBackgroundSecondary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_warning_value_2 = value_warning_value.value2; - valueSerializer.writeString(value_warning_value_2); + const auto value_compBackgroundSecondary_value_2 = value_compBackgroundSecondary_value.value2; + valueSerializer.writeString(value_compBackgroundSecondary_value_2); } - else if (value_warning_value_type == 3) { + else if (value_compBackgroundSecondary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_warning_value_3 = value_warning_value.value3; - valueSerializer.writeResource(value_warning_value_3); + const auto value_compBackgroundSecondary_value_3 = value_compBackgroundSecondary_value.value3; + valueSerializer.writeResource(value_compBackgroundSecondary_value_3); } } - const auto value_alert = value.alert; - Ark_Int32 value_alert_type = INTEROP_RUNTIME_UNDEFINED; - value_alert_type = runtimeType(value_alert); - valueSerializer.writeInt8(value_alert_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_alert_type)) { - const auto value_alert_value = value_alert.value; - Ark_Int32 value_alert_value_type = INTEROP_RUNTIME_UNDEFINED; - value_alert_value_type = value_alert_value.selector; - if (value_alert_value_type == 0) { + const auto value_compBackgroundTertiary = value.compBackgroundTertiary; + Ark_Int32 value_compBackgroundTertiary_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundTertiary_type = runtimeType(value_compBackgroundTertiary); + valueSerializer.writeInt8(value_compBackgroundTertiary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundTertiary_type)) { + const auto value_compBackgroundTertiary_value = value_compBackgroundTertiary.value; + Ark_Int32 value_compBackgroundTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundTertiary_value_type = value_compBackgroundTertiary_value.selector; + if (value_compBackgroundTertiary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_alert_value_0 = value_alert_value.value0; - valueSerializer.writeInt32(static_cast(value_alert_value_0)); + const auto value_compBackgroundTertiary_value_0 = value_compBackgroundTertiary_value.value0; + valueSerializer.writeInt32(static_cast(value_compBackgroundTertiary_value_0)); } - else if (value_alert_value_type == 1) { + else if (value_compBackgroundTertiary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_alert_value_1 = value_alert_value.value1; - valueSerializer.writeNumber(value_alert_value_1); + const auto value_compBackgroundTertiary_value_1 = value_compBackgroundTertiary_value.value1; + valueSerializer.writeNumber(value_compBackgroundTertiary_value_1); } - else if (value_alert_value_type == 2) { + else if (value_compBackgroundTertiary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_alert_value_2 = value_alert_value.value2; - valueSerializer.writeString(value_alert_value_2); + const auto value_compBackgroundTertiary_value_2 = value_compBackgroundTertiary_value.value2; + valueSerializer.writeString(value_compBackgroundTertiary_value_2); } - else if (value_alert_value_type == 3) { + else if (value_compBackgroundTertiary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_alert_value_3 = value_alert_value.value3; - valueSerializer.writeResource(value_alert_value_3); + const auto value_compBackgroundTertiary_value_3 = value_compBackgroundTertiary_value.value3; + valueSerializer.writeResource(value_compBackgroundTertiary_value_3); } } - const auto value_confirm = value.confirm; - Ark_Int32 value_confirm_type = INTEROP_RUNTIME_UNDEFINED; - value_confirm_type = runtimeType(value_confirm); - valueSerializer.writeInt8(value_confirm_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_confirm_type)) { - const auto value_confirm_value = value_confirm.value; - Ark_Int32 value_confirm_value_type = INTEROP_RUNTIME_UNDEFINED; - value_confirm_value_type = value_confirm_value.selector; - if (value_confirm_value_type == 0) { + const auto value_compBackgroundEmphasize = value.compBackgroundEmphasize; + Ark_Int32 value_compBackgroundEmphasize_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundEmphasize_type = runtimeType(value_compBackgroundEmphasize); + valueSerializer.writeInt8(value_compBackgroundEmphasize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundEmphasize_type)) { + const auto value_compBackgroundEmphasize_value = value_compBackgroundEmphasize.value; + Ark_Int32 value_compBackgroundEmphasize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundEmphasize_value_type = value_compBackgroundEmphasize_value.selector; + if (value_compBackgroundEmphasize_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_confirm_value_0 = value_confirm_value.value0; - valueSerializer.writeInt32(static_cast(value_confirm_value_0)); + const auto value_compBackgroundEmphasize_value_0 = value_compBackgroundEmphasize_value.value0; + valueSerializer.writeInt32(static_cast(value_compBackgroundEmphasize_value_0)); } - else if (value_confirm_value_type == 1) { + else if (value_compBackgroundEmphasize_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_confirm_value_1 = value_confirm_value.value1; - valueSerializer.writeNumber(value_confirm_value_1); + const auto value_compBackgroundEmphasize_value_1 = value_compBackgroundEmphasize_value.value1; + valueSerializer.writeNumber(value_compBackgroundEmphasize_value_1); } - else if (value_confirm_value_type == 2) { + else if (value_compBackgroundEmphasize_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_confirm_value_2 = value_confirm_value.value2; - valueSerializer.writeString(value_confirm_value_2); + const auto value_compBackgroundEmphasize_value_2 = value_compBackgroundEmphasize_value.value2; + valueSerializer.writeString(value_compBackgroundEmphasize_value_2); } - else if (value_confirm_value_type == 3) { + else if (value_compBackgroundEmphasize_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_confirm_value_3 = value_confirm_value.value3; - valueSerializer.writeResource(value_confirm_value_3); + const auto value_compBackgroundEmphasize_value_3 = value_compBackgroundEmphasize_value.value3; + valueSerializer.writeResource(value_compBackgroundEmphasize_value_3); } } - const auto value_fontPrimary = value.fontPrimary; - Ark_Int32 value_fontPrimary_type = INTEROP_RUNTIME_UNDEFINED; - value_fontPrimary_type = runtimeType(value_fontPrimary); - valueSerializer.writeInt8(value_fontPrimary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontPrimary_type)) { - const auto value_fontPrimary_value = value_fontPrimary.value; - Ark_Int32 value_fontPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontPrimary_value_type = value_fontPrimary_value.selector; - if (value_fontPrimary_value_type == 0) { + const auto value_compBackgroundNeutral = value.compBackgroundNeutral; + Ark_Int32 value_compBackgroundNeutral_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundNeutral_type = runtimeType(value_compBackgroundNeutral); + valueSerializer.writeInt8(value_compBackgroundNeutral_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundNeutral_type)) { + const auto value_compBackgroundNeutral_value = value_compBackgroundNeutral.value; + Ark_Int32 value_compBackgroundNeutral_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundNeutral_value_type = value_compBackgroundNeutral_value.selector; + if (value_compBackgroundNeutral_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontPrimary_value_0 = value_fontPrimary_value.value0; - valueSerializer.writeInt32(static_cast(value_fontPrimary_value_0)); + const auto value_compBackgroundNeutral_value_0 = value_compBackgroundNeutral_value.value0; + valueSerializer.writeInt32(static_cast(value_compBackgroundNeutral_value_0)); } - else if (value_fontPrimary_value_type == 1) { + else if (value_compBackgroundNeutral_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontPrimary_value_1 = value_fontPrimary_value.value1; - valueSerializer.writeNumber(value_fontPrimary_value_1); + const auto value_compBackgroundNeutral_value_1 = value_compBackgroundNeutral_value.value1; + valueSerializer.writeNumber(value_compBackgroundNeutral_value_1); } - else if (value_fontPrimary_value_type == 2) { + else if (value_compBackgroundNeutral_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontPrimary_value_2 = value_fontPrimary_value.value2; - valueSerializer.writeString(value_fontPrimary_value_2); + const auto value_compBackgroundNeutral_value_2 = value_compBackgroundNeutral_value.value2; + valueSerializer.writeString(value_compBackgroundNeutral_value_2); } - else if (value_fontPrimary_value_type == 3) { + else if (value_compBackgroundNeutral_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_fontPrimary_value_3 = value_fontPrimary_value.value3; - valueSerializer.writeResource(value_fontPrimary_value_3); + const auto value_compBackgroundNeutral_value_3 = value_compBackgroundNeutral_value.value3; + valueSerializer.writeResource(value_compBackgroundNeutral_value_3); } } - const auto value_fontSecondary = value.fontSecondary; - Ark_Int32 value_fontSecondary_type = INTEROP_RUNTIME_UNDEFINED; - value_fontSecondary_type = runtimeType(value_fontSecondary); - valueSerializer.writeInt8(value_fontSecondary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSecondary_type)) { - const auto value_fontSecondary_value = value_fontSecondary.value; - Ark_Int32 value_fontSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontSecondary_value_type = value_fontSecondary_value.selector; - if (value_fontSecondary_value_type == 0) { + const auto value_compEmphasizeSecondary = value.compEmphasizeSecondary; + Ark_Int32 value_compEmphasizeSecondary_type = INTEROP_RUNTIME_UNDEFINED; + value_compEmphasizeSecondary_type = runtimeType(value_compEmphasizeSecondary); + valueSerializer.writeInt8(value_compEmphasizeSecondary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compEmphasizeSecondary_type)) { + const auto value_compEmphasizeSecondary_value = value_compEmphasizeSecondary.value; + Ark_Int32 value_compEmphasizeSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compEmphasizeSecondary_value_type = value_compEmphasizeSecondary_value.selector; + if (value_compEmphasizeSecondary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontSecondary_value_0 = value_fontSecondary_value.value0; - valueSerializer.writeInt32(static_cast(value_fontSecondary_value_0)); + const auto value_compEmphasizeSecondary_value_0 = value_compEmphasizeSecondary_value.value0; + valueSerializer.writeInt32(static_cast(value_compEmphasizeSecondary_value_0)); } - else if (value_fontSecondary_value_type == 1) { + else if (value_compEmphasizeSecondary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontSecondary_value_1 = value_fontSecondary_value.value1; - valueSerializer.writeNumber(value_fontSecondary_value_1); + const auto value_compEmphasizeSecondary_value_1 = value_compEmphasizeSecondary_value.value1; + valueSerializer.writeNumber(value_compEmphasizeSecondary_value_1); } - else if (value_fontSecondary_value_type == 2) { + else if (value_compEmphasizeSecondary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontSecondary_value_2 = value_fontSecondary_value.value2; - valueSerializer.writeString(value_fontSecondary_value_2); + const auto value_compEmphasizeSecondary_value_2 = value_compEmphasizeSecondary_value.value2; + valueSerializer.writeString(value_compEmphasizeSecondary_value_2); } - else if (value_fontSecondary_value_type == 3) { + else if (value_compEmphasizeSecondary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_fontSecondary_value_3 = value_fontSecondary_value.value3; - valueSerializer.writeResource(value_fontSecondary_value_3); + const auto value_compEmphasizeSecondary_value_3 = value_compEmphasizeSecondary_value.value3; + valueSerializer.writeResource(value_compEmphasizeSecondary_value_3); } } - const auto value_fontTertiary = value.fontTertiary; - Ark_Int32 value_fontTertiary_type = INTEROP_RUNTIME_UNDEFINED; - value_fontTertiary_type = runtimeType(value_fontTertiary); - valueSerializer.writeInt8(value_fontTertiary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontTertiary_type)) { - const auto value_fontTertiary_value = value_fontTertiary.value; - Ark_Int32 value_fontTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontTertiary_value_type = value_fontTertiary_value.selector; - if (value_fontTertiary_value_type == 0) { + const auto value_compEmphasizeTertiary = value.compEmphasizeTertiary; + Ark_Int32 value_compEmphasizeTertiary_type = INTEROP_RUNTIME_UNDEFINED; + value_compEmphasizeTertiary_type = runtimeType(value_compEmphasizeTertiary); + valueSerializer.writeInt8(value_compEmphasizeTertiary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compEmphasizeTertiary_type)) { + const auto value_compEmphasizeTertiary_value = value_compEmphasizeTertiary.value; + Ark_Int32 value_compEmphasizeTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compEmphasizeTertiary_value_type = value_compEmphasizeTertiary_value.selector; + if (value_compEmphasizeTertiary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontTertiary_value_0 = value_fontTertiary_value.value0; - valueSerializer.writeInt32(static_cast(value_fontTertiary_value_0)); + const auto value_compEmphasizeTertiary_value_0 = value_compEmphasizeTertiary_value.value0; + valueSerializer.writeInt32(static_cast(value_compEmphasizeTertiary_value_0)); } - else if (value_fontTertiary_value_type == 1) { + else if (value_compEmphasizeTertiary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontTertiary_value_1 = value_fontTertiary_value.value1; - valueSerializer.writeNumber(value_fontTertiary_value_1); + const auto value_compEmphasizeTertiary_value_1 = value_compEmphasizeTertiary_value.value1; + valueSerializer.writeNumber(value_compEmphasizeTertiary_value_1); } - else if (value_fontTertiary_value_type == 2) { + else if (value_compEmphasizeTertiary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontTertiary_value_2 = value_fontTertiary_value.value2; - valueSerializer.writeString(value_fontTertiary_value_2); + const auto value_compEmphasizeTertiary_value_2 = value_compEmphasizeTertiary_value.value2; + valueSerializer.writeString(value_compEmphasizeTertiary_value_2); } - else if (value_fontTertiary_value_type == 3) { + else if (value_compEmphasizeTertiary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_fontTertiary_value_3 = value_fontTertiary_value.value3; - valueSerializer.writeResource(value_fontTertiary_value_3); + const auto value_compEmphasizeTertiary_value_3 = value_compEmphasizeTertiary_value.value3; + valueSerializer.writeResource(value_compEmphasizeTertiary_value_3); } } - const auto value_fontFourth = value.fontFourth; - Ark_Int32 value_fontFourth_type = INTEROP_RUNTIME_UNDEFINED; - value_fontFourth_type = runtimeType(value_fontFourth); - valueSerializer.writeInt8(value_fontFourth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFourth_type)) { - const auto value_fontFourth_value = value_fontFourth.value; - Ark_Int32 value_fontFourth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontFourth_value_type = value_fontFourth_value.selector; - if (value_fontFourth_value_type == 0) { + const auto value_compDivider = value.compDivider; + Ark_Int32 value_compDivider_type = INTEROP_RUNTIME_UNDEFINED; + value_compDivider_type = runtimeType(value_compDivider); + valueSerializer.writeInt8(value_compDivider_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compDivider_type)) { + const auto value_compDivider_value = value_compDivider.value; + Ark_Int32 value_compDivider_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compDivider_value_type = value_compDivider_value.selector; + if (value_compDivider_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontFourth_value_0 = value_fontFourth_value.value0; - valueSerializer.writeInt32(static_cast(value_fontFourth_value_0)); + const auto value_compDivider_value_0 = value_compDivider_value.value0; + valueSerializer.writeInt32(static_cast(value_compDivider_value_0)); } - else if (value_fontFourth_value_type == 1) { + else if (value_compDivider_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontFourth_value_1 = value_fontFourth_value.value1; - valueSerializer.writeNumber(value_fontFourth_value_1); + const auto value_compDivider_value_1 = value_compDivider_value.value1; + valueSerializer.writeNumber(value_compDivider_value_1); } - else if (value_fontFourth_value_type == 2) { + else if (value_compDivider_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontFourth_value_2 = value_fontFourth_value.value2; - valueSerializer.writeString(value_fontFourth_value_2); + const auto value_compDivider_value_2 = value_compDivider_value.value2; + valueSerializer.writeString(value_compDivider_value_2); } - else if (value_fontFourth_value_type == 3) { + else if (value_compDivider_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_fontFourth_value_3 = value_fontFourth_value.value3; - valueSerializer.writeResource(value_fontFourth_value_3); + const auto value_compDivider_value_3 = value_compDivider_value.value3; + valueSerializer.writeResource(value_compDivider_value_3); } } - const auto value_fontEmphasize = value.fontEmphasize; - Ark_Int32 value_fontEmphasize_type = INTEROP_RUNTIME_UNDEFINED; - value_fontEmphasize_type = runtimeType(value_fontEmphasize); - valueSerializer.writeInt8(value_fontEmphasize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontEmphasize_type)) { - const auto value_fontEmphasize_value = value_fontEmphasize.value; - Ark_Int32 value_fontEmphasize_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontEmphasize_value_type = value_fontEmphasize_value.selector; - if (value_fontEmphasize_value_type == 0) { + const auto value_compCommonContrary = value.compCommonContrary; + Ark_Int32 value_compCommonContrary_type = INTEROP_RUNTIME_UNDEFINED; + value_compCommonContrary_type = runtimeType(value_compCommonContrary); + valueSerializer.writeInt8(value_compCommonContrary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compCommonContrary_type)) { + const auto value_compCommonContrary_value = value_compCommonContrary.value; + Ark_Int32 value_compCommonContrary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compCommonContrary_value_type = value_compCommonContrary_value.selector; + if (value_compCommonContrary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontEmphasize_value_0 = value_fontEmphasize_value.value0; - valueSerializer.writeInt32(static_cast(value_fontEmphasize_value_0)); + const auto value_compCommonContrary_value_0 = value_compCommonContrary_value.value0; + valueSerializer.writeInt32(static_cast(value_compCommonContrary_value_0)); } - else if (value_fontEmphasize_value_type == 1) { + else if (value_compCommonContrary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontEmphasize_value_1 = value_fontEmphasize_value.value1; - valueSerializer.writeNumber(value_fontEmphasize_value_1); + const auto value_compCommonContrary_value_1 = value_compCommonContrary_value.value1; + valueSerializer.writeNumber(value_compCommonContrary_value_1); } - else if (value_fontEmphasize_value_type == 2) { + else if (value_compCommonContrary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontEmphasize_value_2 = value_fontEmphasize_value.value2; - valueSerializer.writeString(value_fontEmphasize_value_2); + const auto value_compCommonContrary_value_2 = value_compCommonContrary_value.value2; + valueSerializer.writeString(value_compCommonContrary_value_2); } - else if (value_fontEmphasize_value_type == 3) { + else if (value_compCommonContrary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_fontEmphasize_value_3 = value_fontEmphasize_value.value3; - valueSerializer.writeResource(value_fontEmphasize_value_3); + const auto value_compCommonContrary_value_3 = value_compCommonContrary_value.value3; + valueSerializer.writeResource(value_compCommonContrary_value_3); } } - const auto value_fontOnPrimary = value.fontOnPrimary; - Ark_Int32 value_fontOnPrimary_type = INTEROP_RUNTIME_UNDEFINED; - value_fontOnPrimary_type = runtimeType(value_fontOnPrimary); - valueSerializer.writeInt8(value_fontOnPrimary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontOnPrimary_type)) { - const auto value_fontOnPrimary_value = value_fontOnPrimary.value; - Ark_Int32 value_fontOnPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontOnPrimary_value_type = value_fontOnPrimary_value.selector; - if (value_fontOnPrimary_value_type == 0) { + const auto value_compBackgroundFocus = value.compBackgroundFocus; + Ark_Int32 value_compBackgroundFocus_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundFocus_type = runtimeType(value_compBackgroundFocus); + valueSerializer.writeInt8(value_compBackgroundFocus_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundFocus_type)) { + const auto value_compBackgroundFocus_value = value_compBackgroundFocus.value; + Ark_Int32 value_compBackgroundFocus_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compBackgroundFocus_value_type = value_compBackgroundFocus_value.selector; + if (value_compBackgroundFocus_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontOnPrimary_value_0 = value_fontOnPrimary_value.value0; - valueSerializer.writeInt32(static_cast(value_fontOnPrimary_value_0)); + const auto value_compBackgroundFocus_value_0 = value_compBackgroundFocus_value.value0; + valueSerializer.writeInt32(static_cast(value_compBackgroundFocus_value_0)); } - else if (value_fontOnPrimary_value_type == 1) { + else if (value_compBackgroundFocus_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontOnPrimary_value_1 = value_fontOnPrimary_value.value1; - valueSerializer.writeNumber(value_fontOnPrimary_value_1); + const auto value_compBackgroundFocus_value_1 = value_compBackgroundFocus_value.value1; + valueSerializer.writeNumber(value_compBackgroundFocus_value_1); } - else if (value_fontOnPrimary_value_type == 2) { + else if (value_compBackgroundFocus_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontOnPrimary_value_2 = value_fontOnPrimary_value.value2; - valueSerializer.writeString(value_fontOnPrimary_value_2); + const auto value_compBackgroundFocus_value_2 = value_compBackgroundFocus_value.value2; + valueSerializer.writeString(value_compBackgroundFocus_value_2); } - else if (value_fontOnPrimary_value_type == 3) { + else if (value_compBackgroundFocus_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_fontOnPrimary_value_3 = value_fontOnPrimary_value.value3; - valueSerializer.writeResource(value_fontOnPrimary_value_3); + const auto value_compBackgroundFocus_value_3 = value_compBackgroundFocus_value.value3; + valueSerializer.writeResource(value_compBackgroundFocus_value_3); } } - const auto value_fontOnSecondary = value.fontOnSecondary; - Ark_Int32 value_fontOnSecondary_type = INTEROP_RUNTIME_UNDEFINED; - value_fontOnSecondary_type = runtimeType(value_fontOnSecondary); - valueSerializer.writeInt8(value_fontOnSecondary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontOnSecondary_type)) { - const auto value_fontOnSecondary_value = value_fontOnSecondary.value; - Ark_Int32 value_fontOnSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontOnSecondary_value_type = value_fontOnSecondary_value.selector; - if (value_fontOnSecondary_value_type == 0) { + const auto value_compFocusedPrimary = value.compFocusedPrimary; + Ark_Int32 value_compFocusedPrimary_type = INTEROP_RUNTIME_UNDEFINED; + value_compFocusedPrimary_type = runtimeType(value_compFocusedPrimary); + valueSerializer.writeInt8(value_compFocusedPrimary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compFocusedPrimary_type)) { + const auto value_compFocusedPrimary_value = value_compFocusedPrimary.value; + Ark_Int32 value_compFocusedPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compFocusedPrimary_value_type = value_compFocusedPrimary_value.selector; + if (value_compFocusedPrimary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontOnSecondary_value_0 = value_fontOnSecondary_value.value0; - valueSerializer.writeInt32(static_cast(value_fontOnSecondary_value_0)); + const auto value_compFocusedPrimary_value_0 = value_compFocusedPrimary_value.value0; + valueSerializer.writeInt32(static_cast(value_compFocusedPrimary_value_0)); } - else if (value_fontOnSecondary_value_type == 1) { + else if (value_compFocusedPrimary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontOnSecondary_value_1 = value_fontOnSecondary_value.value1; - valueSerializer.writeNumber(value_fontOnSecondary_value_1); + const auto value_compFocusedPrimary_value_1 = value_compFocusedPrimary_value.value1; + valueSerializer.writeNumber(value_compFocusedPrimary_value_1); } - else if (value_fontOnSecondary_value_type == 2) { + else if (value_compFocusedPrimary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontOnSecondary_value_2 = value_fontOnSecondary_value.value2; - valueSerializer.writeString(value_fontOnSecondary_value_2); + const auto value_compFocusedPrimary_value_2 = value_compFocusedPrimary_value.value2; + valueSerializer.writeString(value_compFocusedPrimary_value_2); } - else if (value_fontOnSecondary_value_type == 3) { + else if (value_compFocusedPrimary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_fontOnSecondary_value_3 = value_fontOnSecondary_value.value3; - valueSerializer.writeResource(value_fontOnSecondary_value_3); + const auto value_compFocusedPrimary_value_3 = value_compFocusedPrimary_value.value3; + valueSerializer.writeResource(value_compFocusedPrimary_value_3); } } - const auto value_fontOnTertiary = value.fontOnTertiary; - Ark_Int32 value_fontOnTertiary_type = INTEROP_RUNTIME_UNDEFINED; - value_fontOnTertiary_type = runtimeType(value_fontOnTertiary); - valueSerializer.writeInt8(value_fontOnTertiary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontOnTertiary_type)) { - const auto value_fontOnTertiary_value = value_fontOnTertiary.value; - Ark_Int32 value_fontOnTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontOnTertiary_value_type = value_fontOnTertiary_value.selector; - if (value_fontOnTertiary_value_type == 0) { + const auto value_compFocusedSecondary = value.compFocusedSecondary; + Ark_Int32 value_compFocusedSecondary_type = INTEROP_RUNTIME_UNDEFINED; + value_compFocusedSecondary_type = runtimeType(value_compFocusedSecondary); + valueSerializer.writeInt8(value_compFocusedSecondary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compFocusedSecondary_type)) { + const auto value_compFocusedSecondary_value = value_compFocusedSecondary.value; + Ark_Int32 value_compFocusedSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compFocusedSecondary_value_type = value_compFocusedSecondary_value.selector; + if (value_compFocusedSecondary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontOnTertiary_value_0 = value_fontOnTertiary_value.value0; - valueSerializer.writeInt32(static_cast(value_fontOnTertiary_value_0)); + const auto value_compFocusedSecondary_value_0 = value_compFocusedSecondary_value.value0; + valueSerializer.writeInt32(static_cast(value_compFocusedSecondary_value_0)); } - else if (value_fontOnTertiary_value_type == 1) { + else if (value_compFocusedSecondary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontOnTertiary_value_1 = value_fontOnTertiary_value.value1; - valueSerializer.writeNumber(value_fontOnTertiary_value_1); + const auto value_compFocusedSecondary_value_1 = value_compFocusedSecondary_value.value1; + valueSerializer.writeNumber(value_compFocusedSecondary_value_1); } - else if (value_fontOnTertiary_value_type == 2) { + else if (value_compFocusedSecondary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontOnTertiary_value_2 = value_fontOnTertiary_value.value2; - valueSerializer.writeString(value_fontOnTertiary_value_2); + const auto value_compFocusedSecondary_value_2 = value_compFocusedSecondary_value.value2; + valueSerializer.writeString(value_compFocusedSecondary_value_2); } - else if (value_fontOnTertiary_value_type == 3) { + else if (value_compFocusedSecondary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_fontOnTertiary_value_3 = value_fontOnTertiary_value.value3; - valueSerializer.writeResource(value_fontOnTertiary_value_3); + const auto value_compFocusedSecondary_value_3 = value_compFocusedSecondary_value.value3; + valueSerializer.writeResource(value_compFocusedSecondary_value_3); } } - const auto value_fontOnFourth = value.fontOnFourth; - Ark_Int32 value_fontOnFourth_type = INTEROP_RUNTIME_UNDEFINED; - value_fontOnFourth_type = runtimeType(value_fontOnFourth); - valueSerializer.writeInt8(value_fontOnFourth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontOnFourth_type)) { - const auto value_fontOnFourth_value = value_fontOnFourth.value; - Ark_Int32 value_fontOnFourth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontOnFourth_value_type = value_fontOnFourth_value.selector; - if (value_fontOnFourth_value_type == 0) { + const auto value_compFocusedTertiary = value.compFocusedTertiary; + Ark_Int32 value_compFocusedTertiary_type = INTEROP_RUNTIME_UNDEFINED; + value_compFocusedTertiary_type = runtimeType(value_compFocusedTertiary); + valueSerializer.writeInt8(value_compFocusedTertiary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_compFocusedTertiary_type)) { + const auto value_compFocusedTertiary_value = value_compFocusedTertiary.value; + Ark_Int32 value_compFocusedTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; + value_compFocusedTertiary_value_type = value_compFocusedTertiary_value.selector; + if (value_compFocusedTertiary_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontOnFourth_value_0 = value_fontOnFourth_value.value0; - valueSerializer.writeInt32(static_cast(value_fontOnFourth_value_0)); + const auto value_compFocusedTertiary_value_0 = value_compFocusedTertiary_value.value0; + valueSerializer.writeInt32(static_cast(value_compFocusedTertiary_value_0)); } - else if (value_fontOnFourth_value_type == 1) { + else if (value_compFocusedTertiary_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontOnFourth_value_1 = value_fontOnFourth_value.value1; - valueSerializer.writeNumber(value_fontOnFourth_value_1); + const auto value_compFocusedTertiary_value_1 = value_compFocusedTertiary_value.value1; + valueSerializer.writeNumber(value_compFocusedTertiary_value_1); } - else if (value_fontOnFourth_value_type == 2) { + else if (value_compFocusedTertiary_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontOnFourth_value_2 = value_fontOnFourth_value.value2; - valueSerializer.writeString(value_fontOnFourth_value_2); + const auto value_compFocusedTertiary_value_2 = value_compFocusedTertiary_value.value2; + valueSerializer.writeString(value_compFocusedTertiary_value_2); } - else if (value_fontOnFourth_value_type == 3) { + else if (value_compFocusedTertiary_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_fontOnFourth_value_3 = value_fontOnFourth_value.value3; - valueSerializer.writeResource(value_fontOnFourth_value_3); + const auto value_compFocusedTertiary_value_3 = value_compFocusedTertiary_value.value3; + valueSerializer.writeResource(value_compFocusedTertiary_value_3); } } - const auto value_iconPrimary = value.iconPrimary; - Ark_Int32 value_iconPrimary_type = INTEROP_RUNTIME_UNDEFINED; - value_iconPrimary_type = runtimeType(value_iconPrimary); - valueSerializer.writeInt8(value_iconPrimary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconPrimary_type)) { - const auto value_iconPrimary_value = value_iconPrimary.value; - Ark_Int32 value_iconPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_iconPrimary_value_type = value_iconPrimary_value.selector; - if (value_iconPrimary_value_type == 0) { + const auto value_interactiveHover = value.interactiveHover; + Ark_Int32 value_interactiveHover_type = INTEROP_RUNTIME_UNDEFINED; + value_interactiveHover_type = runtimeType(value_interactiveHover); + valueSerializer.writeInt8(value_interactiveHover_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_interactiveHover_type)) { + const auto value_interactiveHover_value = value_interactiveHover.value; + Ark_Int32 value_interactiveHover_value_type = INTEROP_RUNTIME_UNDEFINED; + value_interactiveHover_value_type = value_interactiveHover_value.selector; + if (value_interactiveHover_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_iconPrimary_value_0 = value_iconPrimary_value.value0; - valueSerializer.writeInt32(static_cast(value_iconPrimary_value_0)); + const auto value_interactiveHover_value_0 = value_interactiveHover_value.value0; + valueSerializer.writeInt32(static_cast(value_interactiveHover_value_0)); } - else if (value_iconPrimary_value_type == 1) { + else if (value_interactiveHover_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_iconPrimary_value_1 = value_iconPrimary_value.value1; - valueSerializer.writeNumber(value_iconPrimary_value_1); + const auto value_interactiveHover_value_1 = value_interactiveHover_value.value1; + valueSerializer.writeNumber(value_interactiveHover_value_1); } - else if (value_iconPrimary_value_type == 2) { + else if (value_interactiveHover_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_iconPrimary_value_2 = value_iconPrimary_value.value2; - valueSerializer.writeString(value_iconPrimary_value_2); + const auto value_interactiveHover_value_2 = value_interactiveHover_value.value2; + valueSerializer.writeString(value_interactiveHover_value_2); } - else if (value_iconPrimary_value_type == 3) { + else if (value_interactiveHover_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_iconPrimary_value_3 = value_iconPrimary_value.value3; - valueSerializer.writeResource(value_iconPrimary_value_3); + const auto value_interactiveHover_value_3 = value_interactiveHover_value.value3; + valueSerializer.writeResource(value_interactiveHover_value_3); } } - const auto value_iconSecondary = value.iconSecondary; - Ark_Int32 value_iconSecondary_type = INTEROP_RUNTIME_UNDEFINED; - value_iconSecondary_type = runtimeType(value_iconSecondary); - valueSerializer.writeInt8(value_iconSecondary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconSecondary_type)) { - const auto value_iconSecondary_value = value_iconSecondary.value; - Ark_Int32 value_iconSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_iconSecondary_value_type = value_iconSecondary_value.selector; - if (value_iconSecondary_value_type == 0) { + const auto value_interactivePressed = value.interactivePressed; + Ark_Int32 value_interactivePressed_type = INTEROP_RUNTIME_UNDEFINED; + value_interactivePressed_type = runtimeType(value_interactivePressed); + valueSerializer.writeInt8(value_interactivePressed_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_interactivePressed_type)) { + const auto value_interactivePressed_value = value_interactivePressed.value; + Ark_Int32 value_interactivePressed_value_type = INTEROP_RUNTIME_UNDEFINED; + value_interactivePressed_value_type = value_interactivePressed_value.selector; + if (value_interactivePressed_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_iconSecondary_value_0 = value_iconSecondary_value.value0; - valueSerializer.writeInt32(static_cast(value_iconSecondary_value_0)); + const auto value_interactivePressed_value_0 = value_interactivePressed_value.value0; + valueSerializer.writeInt32(static_cast(value_interactivePressed_value_0)); } - else if (value_iconSecondary_value_type == 1) { + else if (value_interactivePressed_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_iconSecondary_value_1 = value_iconSecondary_value.value1; - valueSerializer.writeNumber(value_iconSecondary_value_1); + const auto value_interactivePressed_value_1 = value_interactivePressed_value.value1; + valueSerializer.writeNumber(value_interactivePressed_value_1); } - else if (value_iconSecondary_value_type == 2) { + else if (value_interactivePressed_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_iconSecondary_value_2 = value_iconSecondary_value.value2; - valueSerializer.writeString(value_iconSecondary_value_2); + const auto value_interactivePressed_value_2 = value_interactivePressed_value.value2; + valueSerializer.writeString(value_interactivePressed_value_2); } - else if (value_iconSecondary_value_type == 3) { + else if (value_interactivePressed_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_iconSecondary_value_3 = value_iconSecondary_value.value3; - valueSerializer.writeResource(value_iconSecondary_value_3); + const auto value_interactivePressed_value_3 = value_interactivePressed_value.value3; + valueSerializer.writeResource(value_interactivePressed_value_3); } } - const auto value_iconTertiary = value.iconTertiary; - Ark_Int32 value_iconTertiary_type = INTEROP_RUNTIME_UNDEFINED; - value_iconTertiary_type = runtimeType(value_iconTertiary); - valueSerializer.writeInt8(value_iconTertiary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconTertiary_type)) { - const auto value_iconTertiary_value = value_iconTertiary.value; - Ark_Int32 value_iconTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_iconTertiary_value_type = value_iconTertiary_value.selector; - if (value_iconTertiary_value_type == 0) { + const auto value_interactiveFocus = value.interactiveFocus; + Ark_Int32 value_interactiveFocus_type = INTEROP_RUNTIME_UNDEFINED; + value_interactiveFocus_type = runtimeType(value_interactiveFocus); + valueSerializer.writeInt8(value_interactiveFocus_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_interactiveFocus_type)) { + const auto value_interactiveFocus_value = value_interactiveFocus.value; + Ark_Int32 value_interactiveFocus_value_type = INTEROP_RUNTIME_UNDEFINED; + value_interactiveFocus_value_type = value_interactiveFocus_value.selector; + if (value_interactiveFocus_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_iconTertiary_value_0 = value_iconTertiary_value.value0; - valueSerializer.writeInt32(static_cast(value_iconTertiary_value_0)); + const auto value_interactiveFocus_value_0 = value_interactiveFocus_value.value0; + valueSerializer.writeInt32(static_cast(value_interactiveFocus_value_0)); } - else if (value_iconTertiary_value_type == 1) { + else if (value_interactiveFocus_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_iconTertiary_value_1 = value_iconTertiary_value.value1; - valueSerializer.writeNumber(value_iconTertiary_value_1); + const auto value_interactiveFocus_value_1 = value_interactiveFocus_value.value1; + valueSerializer.writeNumber(value_interactiveFocus_value_1); } - else if (value_iconTertiary_value_type == 2) { + else if (value_interactiveFocus_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_iconTertiary_value_2 = value_iconTertiary_value.value2; - valueSerializer.writeString(value_iconTertiary_value_2); + const auto value_interactiveFocus_value_2 = value_interactiveFocus_value.value2; + valueSerializer.writeString(value_interactiveFocus_value_2); } - else if (value_iconTertiary_value_type == 3) { + else if (value_interactiveFocus_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_iconTertiary_value_3 = value_iconTertiary_value.value3; - valueSerializer.writeResource(value_iconTertiary_value_3); + const auto value_interactiveFocus_value_3 = value_interactiveFocus_value.value3; + valueSerializer.writeResource(value_interactiveFocus_value_3); } } - const auto value_iconFourth = value.iconFourth; - Ark_Int32 value_iconFourth_type = INTEROP_RUNTIME_UNDEFINED; - value_iconFourth_type = runtimeType(value_iconFourth); - valueSerializer.writeInt8(value_iconFourth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconFourth_type)) { - const auto value_iconFourth_value = value_iconFourth.value; - Ark_Int32 value_iconFourth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_iconFourth_value_type = value_iconFourth_value.selector; - if (value_iconFourth_value_type == 0) { + const auto value_interactiveActive = value.interactiveActive; + Ark_Int32 value_interactiveActive_type = INTEROP_RUNTIME_UNDEFINED; + value_interactiveActive_type = runtimeType(value_interactiveActive); + valueSerializer.writeInt8(value_interactiveActive_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_interactiveActive_type)) { + const auto value_interactiveActive_value = value_interactiveActive.value; + Ark_Int32 value_interactiveActive_value_type = INTEROP_RUNTIME_UNDEFINED; + value_interactiveActive_value_type = value_interactiveActive_value.selector; + if (value_interactiveActive_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_iconFourth_value_0 = value_iconFourth_value.value0; - valueSerializer.writeInt32(static_cast(value_iconFourth_value_0)); + const auto value_interactiveActive_value_0 = value_interactiveActive_value.value0; + valueSerializer.writeInt32(static_cast(value_interactiveActive_value_0)); } - else if (value_iconFourth_value_type == 1) { + else if (value_interactiveActive_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_iconFourth_value_1 = value_iconFourth_value.value1; - valueSerializer.writeNumber(value_iconFourth_value_1); + const auto value_interactiveActive_value_1 = value_interactiveActive_value.value1; + valueSerializer.writeNumber(value_interactiveActive_value_1); } - else if (value_iconFourth_value_type == 2) { + else if (value_interactiveActive_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_iconFourth_value_2 = value_iconFourth_value.value2; - valueSerializer.writeString(value_iconFourth_value_2); + const auto value_interactiveActive_value_2 = value_interactiveActive_value.value2; + valueSerializer.writeString(value_interactiveActive_value_2); } - else if (value_iconFourth_value_type == 3) { + else if (value_interactiveActive_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_iconFourth_value_3 = value_iconFourth_value.value3; - valueSerializer.writeResource(value_iconFourth_value_3); + const auto value_interactiveActive_value_3 = value_interactiveActive_value.value3; + valueSerializer.writeResource(value_interactiveActive_value_3); } } - const auto value_iconEmphasize = value.iconEmphasize; - Ark_Int32 value_iconEmphasize_type = INTEROP_RUNTIME_UNDEFINED; - value_iconEmphasize_type = runtimeType(value_iconEmphasize); - valueSerializer.writeInt8(value_iconEmphasize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconEmphasize_type)) { - const auto value_iconEmphasize_value = value_iconEmphasize.value; - Ark_Int32 value_iconEmphasize_value_type = INTEROP_RUNTIME_UNDEFINED; - value_iconEmphasize_value_type = value_iconEmphasize_value.selector; - if (value_iconEmphasize_value_type == 0) { + const auto value_interactiveSelect = value.interactiveSelect; + Ark_Int32 value_interactiveSelect_type = INTEROP_RUNTIME_UNDEFINED; + value_interactiveSelect_type = runtimeType(value_interactiveSelect); + valueSerializer.writeInt8(value_interactiveSelect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_interactiveSelect_type)) { + const auto value_interactiveSelect_value = value_interactiveSelect.value; + Ark_Int32 value_interactiveSelect_value_type = INTEROP_RUNTIME_UNDEFINED; + value_interactiveSelect_value_type = value_interactiveSelect_value.selector; + if (value_interactiveSelect_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_iconEmphasize_value_0 = value_iconEmphasize_value.value0; - valueSerializer.writeInt32(static_cast(value_iconEmphasize_value_0)); + const auto value_interactiveSelect_value_0 = value_interactiveSelect_value.value0; + valueSerializer.writeInt32(static_cast(value_interactiveSelect_value_0)); } - else if (value_iconEmphasize_value_type == 1) { + else if (value_interactiveSelect_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_iconEmphasize_value_1 = value_iconEmphasize_value.value1; - valueSerializer.writeNumber(value_iconEmphasize_value_1); + const auto value_interactiveSelect_value_1 = value_interactiveSelect_value.value1; + valueSerializer.writeNumber(value_interactiveSelect_value_1); } - else if (value_iconEmphasize_value_type == 2) { + else if (value_interactiveSelect_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_iconEmphasize_value_2 = value_iconEmphasize_value.value2; - valueSerializer.writeString(value_iconEmphasize_value_2); + const auto value_interactiveSelect_value_2 = value_interactiveSelect_value.value2; + valueSerializer.writeString(value_interactiveSelect_value_2); } - else if (value_iconEmphasize_value_type == 3) { + else if (value_interactiveSelect_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_iconEmphasize_value_3 = value_iconEmphasize_value.value3; - valueSerializer.writeResource(value_iconEmphasize_value_3); + const auto value_interactiveSelect_value_3 = value_interactiveSelect_value.value3; + valueSerializer.writeResource(value_interactiveSelect_value_3); } } - const auto value_iconSubEmphasize = value.iconSubEmphasize; - Ark_Int32 value_iconSubEmphasize_type = INTEROP_RUNTIME_UNDEFINED; - value_iconSubEmphasize_type = runtimeType(value_iconSubEmphasize); - valueSerializer.writeInt8(value_iconSubEmphasize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconSubEmphasize_type)) { - const auto value_iconSubEmphasize_value = value_iconSubEmphasize.value; - Ark_Int32 value_iconSubEmphasize_value_type = INTEROP_RUNTIME_UNDEFINED; - value_iconSubEmphasize_value_type = value_iconSubEmphasize_value.selector; - if (value_iconSubEmphasize_value_type == 0) { + const auto value_interactiveClick = value.interactiveClick; + Ark_Int32 value_interactiveClick_type = INTEROP_RUNTIME_UNDEFINED; + value_interactiveClick_type = runtimeType(value_interactiveClick); + valueSerializer.writeInt8(value_interactiveClick_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_interactiveClick_type)) { + const auto value_interactiveClick_value = value_interactiveClick.value; + Ark_Int32 value_interactiveClick_value_type = INTEROP_RUNTIME_UNDEFINED; + value_interactiveClick_value_type = value_interactiveClick_value.selector; + if (value_interactiveClick_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_iconSubEmphasize_value_0 = value_iconSubEmphasize_value.value0; - valueSerializer.writeInt32(static_cast(value_iconSubEmphasize_value_0)); + const auto value_interactiveClick_value_0 = value_interactiveClick_value.value0; + valueSerializer.writeInt32(static_cast(value_interactiveClick_value_0)); } - else if (value_iconSubEmphasize_value_type == 1) { + else if (value_interactiveClick_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_iconSubEmphasize_value_1 = value_iconSubEmphasize_value.value1; - valueSerializer.writeNumber(value_iconSubEmphasize_value_1); + const auto value_interactiveClick_value_1 = value_interactiveClick_value.value1; + valueSerializer.writeNumber(value_interactiveClick_value_1); } - else if (value_iconSubEmphasize_value_type == 2) { + else if (value_interactiveClick_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_iconSubEmphasize_value_2 = value_iconSubEmphasize_value.value2; - valueSerializer.writeString(value_iconSubEmphasize_value_2); + const auto value_interactiveClick_value_2 = value_interactiveClick_value.value2; + valueSerializer.writeString(value_interactiveClick_value_2); } - else if (value_iconSubEmphasize_value_type == 3) { + else if (value_interactiveClick_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_iconSubEmphasize_value_3 = value_iconSubEmphasize_value.value3; - valueSerializer.writeResource(value_iconSubEmphasize_value_3); + const auto value_interactiveClick_value_3 = value_interactiveClick_value.value3; + valueSerializer.writeResource(value_interactiveClick_value_3); } } - const auto value_iconOnPrimary = value.iconOnPrimary; - Ark_Int32 value_iconOnPrimary_type = INTEROP_RUNTIME_UNDEFINED; - value_iconOnPrimary_type = runtimeType(value_iconOnPrimary); - valueSerializer.writeInt8(value_iconOnPrimary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconOnPrimary_type)) { - const auto value_iconOnPrimary_value = value_iconOnPrimary.value; - Ark_Int32 value_iconOnPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_iconOnPrimary_value_type = value_iconOnPrimary_value.selector; - if (value_iconOnPrimary_value_type == 0) { + } + void writeDataPanelShadowOptions(Ark_DataPanelShadowOptions value) + { + Serializer& valueSerializer = *this; + const auto value_radius = value.radius; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_type = runtimeType(value_radius); + valueSerializer.writeInt8(value_radius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { + const auto value_radius_value = value_radius.value; + Ark_Int32 value_radius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_value_type = value_radius_value.selector; + if (value_radius_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_iconOnPrimary_value_0 = value_iconOnPrimary_value.value0; - valueSerializer.writeInt32(static_cast(value_iconOnPrimary_value_0)); + const auto value_radius_value_0 = value_radius_value.value0; + valueSerializer.writeNumber(value_radius_value_0); } - else if (value_iconOnPrimary_value_type == 1) { + else if (value_radius_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_iconOnPrimary_value_1 = value_iconOnPrimary_value.value1; - valueSerializer.writeNumber(value_iconOnPrimary_value_1); + const auto value_radius_value_1 = value_radius_value.value1; + valueSerializer.writeResource(value_radius_value_1); } - else if (value_iconOnPrimary_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_iconOnPrimary_value_2 = value_iconOnPrimary_value.value2; - valueSerializer.writeString(value_iconOnPrimary_value_2); + } + const auto value_offsetX = value.offsetX; + Ark_Int32 value_offsetX_type = INTEROP_RUNTIME_UNDEFINED; + value_offsetX_type = runtimeType(value_offsetX); + valueSerializer.writeInt8(value_offsetX_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetX_type)) { + const auto value_offsetX_value = value_offsetX.value; + Ark_Int32 value_offsetX_value_type = INTEROP_RUNTIME_UNDEFINED; + value_offsetX_value_type = value_offsetX_value.selector; + if (value_offsetX_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_offsetX_value_0 = value_offsetX_value.value0; + valueSerializer.writeNumber(value_offsetX_value_0); } - else if (value_iconOnPrimary_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_iconOnPrimary_value_3 = value_iconOnPrimary_value.value3; - valueSerializer.writeResource(value_iconOnPrimary_value_3); + else if (value_offsetX_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_offsetX_value_1 = value_offsetX_value.value1; + valueSerializer.writeResource(value_offsetX_value_1); } } - const auto value_iconOnSecondary = value.iconOnSecondary; - Ark_Int32 value_iconOnSecondary_type = INTEROP_RUNTIME_UNDEFINED; - value_iconOnSecondary_type = runtimeType(value_iconOnSecondary); - valueSerializer.writeInt8(value_iconOnSecondary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconOnSecondary_type)) { - const auto value_iconOnSecondary_value = value_iconOnSecondary.value; - Ark_Int32 value_iconOnSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_iconOnSecondary_value_type = value_iconOnSecondary_value.selector; - if (value_iconOnSecondary_value_type == 0) { + const auto value_offsetY = value.offsetY; + Ark_Int32 value_offsetY_type = INTEROP_RUNTIME_UNDEFINED; + value_offsetY_type = runtimeType(value_offsetY); + valueSerializer.writeInt8(value_offsetY_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetY_type)) { + const auto value_offsetY_value = value_offsetY.value; + Ark_Int32 value_offsetY_value_type = INTEROP_RUNTIME_UNDEFINED; + value_offsetY_value_type = value_offsetY_value.selector; + if (value_offsetY_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_iconOnSecondary_value_0 = value_iconOnSecondary_value.value0; - valueSerializer.writeInt32(static_cast(value_iconOnSecondary_value_0)); + const auto value_offsetY_value_0 = value_offsetY_value.value0; + valueSerializer.writeNumber(value_offsetY_value_0); } - else if (value_iconOnSecondary_value_type == 1) { + else if (value_offsetY_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_iconOnSecondary_value_1 = value_iconOnSecondary_value.value1; - valueSerializer.writeNumber(value_iconOnSecondary_value_1); + const auto value_offsetY_value_1 = value_offsetY_value.value1; + valueSerializer.writeResource(value_offsetY_value_1); } - else if (value_iconOnSecondary_value_type == 2) { + } + const auto value_colors = value.colors; + Ark_Int32 value_colors_type = INTEROP_RUNTIME_UNDEFINED; + value_colors_type = runtimeType(value_colors); + valueSerializer.writeInt8(value_colors_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_colors_type)) { + const auto value_colors_value = value_colors.value; + valueSerializer.writeInt32(value_colors_value.length); + for (int i = 0; i < value_colors_value.length; i++) { + const Ark_Union_ResourceColor_LinearGradient value_colors_value_element = value_colors_value.array[i]; + Ark_Int32 value_colors_value_element_type = INTEROP_RUNTIME_UNDEFINED; + value_colors_value_element_type = value_colors_value_element.selector; + if ((value_colors_value_element_type == 0) || (value_colors_value_element_type == 0) || (value_colors_value_element_type == 0) || (value_colors_value_element_type == 0)) { + valueSerializer.writeInt8(0); + const auto value_colors_value_element_0 = value_colors_value_element.value0; + Ark_Int32 value_colors_value_element_0_type = INTEROP_RUNTIME_UNDEFINED; + value_colors_value_element_0_type = value_colors_value_element_0.selector; + if (value_colors_value_element_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_colors_value_element_0_0 = value_colors_value_element_0.value0; + valueSerializer.writeInt32(static_cast(value_colors_value_element_0_0)); + } + else if (value_colors_value_element_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_colors_value_element_0_1 = value_colors_value_element_0.value1; + valueSerializer.writeNumber(value_colors_value_element_0_1); + } + else if (value_colors_value_element_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_colors_value_element_0_2 = value_colors_value_element_0.value2; + valueSerializer.writeString(value_colors_value_element_0_2); + } + else if (value_colors_value_element_0_type == 3) { + valueSerializer.writeInt8(3); + const auto value_colors_value_element_0_3 = value_colors_value_element_0.value3; + valueSerializer.writeResource(value_colors_value_element_0_3); + } + } + else if (value_colors_value_element_type == 1) { + valueSerializer.writeInt8(1); + const auto value_colors_value_element_1 = value_colors_value_element.value1; + valueSerializer.writeLinearGradient(value_colors_value_element_1); + } + } + } + } + void writeDecoration(Ark_Decoration value) + { + Serializer& valueSerializer = *this; + const auto value_textDecoration = value.textDecoration; + Ark_Int32 value_textDecoration_type = INTEROP_RUNTIME_UNDEFINED; + value_textDecoration_type = runtimeType(value_textDecoration); + valueSerializer.writeInt8(value_textDecoration_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textDecoration_type)) { + const auto value_textDecoration_value = value_textDecoration.value; + valueSerializer.writeInt32(static_cast(value_textDecoration_value)); + } + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + valueSerializer.writecommon2D_Color(value_color_value); + } + const auto value_decorationStyle = value.decorationStyle; + Ark_Int32 value_decorationStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_decorationStyle_type = runtimeType(value_decorationStyle); + valueSerializer.writeInt8(value_decorationStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_decorationStyle_type)) { + const auto value_decorationStyle_value = value_decorationStyle.value; + valueSerializer.writeInt32(static_cast(value_decorationStyle_value)); + } + const auto value_decorationThicknessScale = value.decorationThicknessScale; + Ark_Int32 value_decorationThicknessScale_type = INTEROP_RUNTIME_UNDEFINED; + value_decorationThicknessScale_type = runtimeType(value_decorationThicknessScale); + valueSerializer.writeInt8(value_decorationThicknessScale_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_decorationThicknessScale_type)) { + const auto value_decorationThicknessScale_value = value_decorationThicknessScale.value; + valueSerializer.writeNumber(value_decorationThicknessScale_value); + } + } + void writeDecorationStyle(Ark_DecorationStyle value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } + void writeDecorationStyleInterface(Ark_DecorationStyleInterface value) + { + Serializer& valueSerializer = *this; + const auto value_type = value.type; + valueSerializer.writeInt32(static_cast(value_type)); + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); + } + else if (value_color_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeNumber(value_color_value_1); + } + else if (value_color_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_iconOnSecondary_value_2 = value_iconOnSecondary_value.value2; - valueSerializer.writeString(value_iconOnSecondary_value_2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeString(value_color_value_2); } - else if (value_iconOnSecondary_value_type == 3) { + else if (value_color_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_iconOnSecondary_value_3 = value_iconOnSecondary_value.value3; - valueSerializer.writeResource(value_iconOnSecondary_value_3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeResource(value_color_value_3); } } - const auto value_iconOnTertiary = value.iconOnTertiary; - Ark_Int32 value_iconOnTertiary_type = INTEROP_RUNTIME_UNDEFINED; - value_iconOnTertiary_type = runtimeType(value_iconOnTertiary); - valueSerializer.writeInt8(value_iconOnTertiary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconOnTertiary_type)) { - const auto value_iconOnTertiary_value = value_iconOnTertiary.value; - Ark_Int32 value_iconOnTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_iconOnTertiary_value_type = value_iconOnTertiary_value.selector; - if (value_iconOnTertiary_value_type == 0) { + const auto value_style = value.style; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; + value_style_type = runtimeType(value_style); + valueSerializer.writeInt8(value_style_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { + const auto value_style_value = value_style.value; + valueSerializer.writeInt32(static_cast(value_style_value)); + } + } + void writeDecorationStyleResult(Ark_DecorationStyleResult value) + { + Serializer& valueSerializer = *this; + const auto value_type = value.type; + valueSerializer.writeInt32(static_cast(value_type)); + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = value_color.selector; + if (value_color_type == 0) { + valueSerializer.writeInt8(0); + const auto value_color_0 = value_color.value0; + valueSerializer.writeInt32(static_cast(value_color_0)); + } + else if (value_color_type == 1) { + valueSerializer.writeInt8(1); + const auto value_color_1 = value_color.value1; + valueSerializer.writeNumber(value_color_1); + } + else if (value_color_type == 2) { + valueSerializer.writeInt8(2); + const auto value_color_2 = value_color.value2; + valueSerializer.writeString(value_color_2); + } + else if (value_color_type == 3) { + valueSerializer.writeInt8(3); + const auto value_color_3 = value_color.value3; + valueSerializer.writeResource(value_color_3); + } + const auto value_style = value.style; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; + value_style_type = runtimeType(value_style); + valueSerializer.writeInt8(value_style_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { + const auto value_style_value = value_style.value; + valueSerializer.writeInt32(static_cast(value_style_value)); + } + } + void writeDividerStyleOptions(Ark_DividerStyleOptions value) + { + Serializer& valueSerializer = *this; + const auto value_strokeWidth = value.strokeWidth; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_type = runtimeType(value_strokeWidth); + valueSerializer.writeInt8(value_strokeWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + const auto value_strokeWidth_value = value_strokeWidth.value; + valueSerializer.writeLengthMetrics(value_strokeWidth_value); + } + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_iconOnTertiary_value_0 = value_iconOnTertiary_value.value0; - valueSerializer.writeInt32(static_cast(value_iconOnTertiary_value_0)); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); } - else if (value_iconOnTertiary_value_type == 1) { + else if (value_color_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_iconOnTertiary_value_1 = value_iconOnTertiary_value.value1; - valueSerializer.writeNumber(value_iconOnTertiary_value_1); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeNumber(value_color_value_1); } - else if (value_iconOnTertiary_value_type == 2) { + else if (value_color_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_iconOnTertiary_value_2 = value_iconOnTertiary_value.value2; - valueSerializer.writeString(value_iconOnTertiary_value_2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeString(value_color_value_2); } - else if (value_iconOnTertiary_value_type == 3) { + else if (value_color_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_iconOnTertiary_value_3 = value_iconOnTertiary_value.value3; - valueSerializer.writeResource(value_iconOnTertiary_value_3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeResource(value_color_value_3); } } - const auto value_iconOnFourth = value.iconOnFourth; - Ark_Int32 value_iconOnFourth_type = INTEROP_RUNTIME_UNDEFINED; - value_iconOnFourth_type = runtimeType(value_iconOnFourth); - valueSerializer.writeInt8(value_iconOnFourth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_iconOnFourth_type)) { - const auto value_iconOnFourth_value = value_iconOnFourth.value; - Ark_Int32 value_iconOnFourth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_iconOnFourth_value_type = value_iconOnFourth_value.selector; - if (value_iconOnFourth_value_type == 0) { + const auto value_startMargin = value.startMargin; + Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; + value_startMargin_type = runtimeType(value_startMargin); + valueSerializer.writeInt8(value_startMargin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { + const auto value_startMargin_value = value_startMargin.value; + valueSerializer.writeLengthMetrics(value_startMargin_value); + } + const auto value_endMargin = value.endMargin; + Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; + value_endMargin_type = runtimeType(value_endMargin); + valueSerializer.writeInt8(value_endMargin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { + const auto value_endMargin_value = value_endMargin.value; + valueSerializer.writeLengthMetrics(value_endMargin_value); + } + const auto value_mode = value.mode; + Ark_Int32 value_mode_type = INTEROP_RUNTIME_UNDEFINED; + value_mode_type = runtimeType(value_mode); + valueSerializer.writeInt8(value_mode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_mode_type)) { + const auto value_mode_value = value_mode.value; + valueSerializer.writeInt32(static_cast(value_mode_value)); + } + } + void writeDragPreviewOptions(Ark_DragPreviewOptions value) + { + Serializer& valueSerializer = *this; + const auto value_mode = value.mode; + Ark_Int32 value_mode_type = INTEROP_RUNTIME_UNDEFINED; + value_mode_type = runtimeType(value_mode); + valueSerializer.writeInt8(value_mode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_mode_type)) { + const auto value_mode_value = value_mode.value; + Ark_Int32 value_mode_value_type = INTEROP_RUNTIME_UNDEFINED; + value_mode_value_type = value_mode_value.selector; + if (value_mode_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_iconOnFourth_value_0 = value_iconOnFourth_value.value0; - valueSerializer.writeInt32(static_cast(value_iconOnFourth_value_0)); + const auto value_mode_value_0 = value_mode_value.value0; + valueSerializer.writeInt32(static_cast(value_mode_value_0)); } - else if (value_iconOnFourth_value_type == 1) { + else if (value_mode_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_iconOnFourth_value_1 = value_iconOnFourth_value.value1; - valueSerializer.writeNumber(value_iconOnFourth_value_1); + const auto value_mode_value_1 = value_mode_value.value1; + valueSerializer.writeInt32(value_mode_value_1.length); + for (int i = 0; i < value_mode_value_1.length; i++) { + const Ark_DragPreviewMode value_mode_value_1_element = value_mode_value_1.array[i]; + valueSerializer.writeInt32(static_cast(value_mode_value_1_element)); + } } - else if (value_iconOnFourth_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_iconOnFourth_value_2 = value_iconOnFourth_value.value2; - valueSerializer.writeString(value_iconOnFourth_value_2); + } + const auto value_modifier = value.modifier; + Ark_Int32 value_modifier_type = INTEROP_RUNTIME_UNDEFINED; + value_modifier_type = runtimeType(value_modifier); + valueSerializer.writeInt8(value_modifier_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_modifier_type)) { + const auto value_modifier_value = value_modifier.value; + valueSerializer.writeImageModifier(value_modifier_value); + } + const auto value_numberBadge = value.numberBadge; + Ark_Int32 value_numberBadge_type = INTEROP_RUNTIME_UNDEFINED; + value_numberBadge_type = runtimeType(value_numberBadge); + valueSerializer.writeInt8(value_numberBadge_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_numberBadge_type)) { + const auto value_numberBadge_value = value_numberBadge.value; + Ark_Int32 value_numberBadge_value_type = INTEROP_RUNTIME_UNDEFINED; + value_numberBadge_value_type = value_numberBadge_value.selector; + if (value_numberBadge_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_numberBadge_value_0 = value_numberBadge_value.value0; + valueSerializer.writeBoolean(value_numberBadge_value_0); } - else if (value_iconOnFourth_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_iconOnFourth_value_3 = value_iconOnFourth_value.value3; - valueSerializer.writeResource(value_iconOnFourth_value_3); + else if (value_numberBadge_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_numberBadge_value_1 = value_numberBadge_value.value1; + valueSerializer.writeNumber(value_numberBadge_value_1); } } - const auto value_backgroundPrimary = value.backgroundPrimary; - Ark_Int32 value_backgroundPrimary_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundPrimary_type = runtimeType(value_backgroundPrimary); - valueSerializer.writeInt8(value_backgroundPrimary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundPrimary_type)) { - const auto value_backgroundPrimary_value = value_backgroundPrimary.value; - Ark_Int32 value_backgroundPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundPrimary_value_type = value_backgroundPrimary_value.selector; - if (value_backgroundPrimary_value_type == 0) { + const auto value_sizeChangeEffect = value.sizeChangeEffect; + Ark_Int32 value_sizeChangeEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_sizeChangeEffect_type = runtimeType(value_sizeChangeEffect); + valueSerializer.writeInt8(value_sizeChangeEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_sizeChangeEffect_type)) { + const auto value_sizeChangeEffect_value = value_sizeChangeEffect.value; + valueSerializer.writeInt32(static_cast(value_sizeChangeEffect_value)); + } + } + void writeEdgeColors(Ark_EdgeColors value) + { + Serializer& valueSerializer = *this; + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + Ark_Int32 value_top_value_type = INTEROP_RUNTIME_UNDEFINED; + value_top_value_type = value_top_value.selector; + if (value_top_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_backgroundPrimary_value_0 = value_backgroundPrimary_value.value0; - valueSerializer.writeInt32(static_cast(value_backgroundPrimary_value_0)); + const auto value_top_value_0 = value_top_value.value0; + valueSerializer.writeInt32(static_cast(value_top_value_0)); } - else if (value_backgroundPrimary_value_type == 1) { + else if (value_top_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_backgroundPrimary_value_1 = value_backgroundPrimary_value.value1; - valueSerializer.writeNumber(value_backgroundPrimary_value_1); + const auto value_top_value_1 = value_top_value.value1; + valueSerializer.writeNumber(value_top_value_1); } - else if (value_backgroundPrimary_value_type == 2) { + else if (value_top_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_backgroundPrimary_value_2 = value_backgroundPrimary_value.value2; - valueSerializer.writeString(value_backgroundPrimary_value_2); + const auto value_top_value_2 = value_top_value.value2; + valueSerializer.writeString(value_top_value_2); } - else if (value_backgroundPrimary_value_type == 3) { + else if (value_top_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_backgroundPrimary_value_3 = value_backgroundPrimary_value.value3; - valueSerializer.writeResource(value_backgroundPrimary_value_3); + const auto value_top_value_3 = value_top_value.value3; + valueSerializer.writeResource(value_top_value_3); } } - const auto value_backgroundSecondary = value.backgroundSecondary; - Ark_Int32 value_backgroundSecondary_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundSecondary_type = runtimeType(value_backgroundSecondary); - valueSerializer.writeInt8(value_backgroundSecondary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundSecondary_type)) { - const auto value_backgroundSecondary_value = value_backgroundSecondary.value; - Ark_Int32 value_backgroundSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundSecondary_value_type = value_backgroundSecondary_value.selector; - if (value_backgroundSecondary_value_type == 0) { + const auto value_right = value.right; + Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; + value_right_type = runtimeType(value_right); + valueSerializer.writeInt8(value_right_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { + const auto value_right_value = value_right.value; + Ark_Int32 value_right_value_type = INTEROP_RUNTIME_UNDEFINED; + value_right_value_type = value_right_value.selector; + if (value_right_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_backgroundSecondary_value_0 = value_backgroundSecondary_value.value0; - valueSerializer.writeInt32(static_cast(value_backgroundSecondary_value_0)); + const auto value_right_value_0 = value_right_value.value0; + valueSerializer.writeInt32(static_cast(value_right_value_0)); } - else if (value_backgroundSecondary_value_type == 1) { + else if (value_right_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_backgroundSecondary_value_1 = value_backgroundSecondary_value.value1; - valueSerializer.writeNumber(value_backgroundSecondary_value_1); + const auto value_right_value_1 = value_right_value.value1; + valueSerializer.writeNumber(value_right_value_1); } - else if (value_backgroundSecondary_value_type == 2) { + else if (value_right_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_backgroundSecondary_value_2 = value_backgroundSecondary_value.value2; - valueSerializer.writeString(value_backgroundSecondary_value_2); + const auto value_right_value_2 = value_right_value.value2; + valueSerializer.writeString(value_right_value_2); } - else if (value_backgroundSecondary_value_type == 3) { + else if (value_right_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_backgroundSecondary_value_3 = value_backgroundSecondary_value.value3; - valueSerializer.writeResource(value_backgroundSecondary_value_3); + const auto value_right_value_3 = value_right_value.value3; + valueSerializer.writeResource(value_right_value_3); } } - const auto value_backgroundTertiary = value.backgroundTertiary; - Ark_Int32 value_backgroundTertiary_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundTertiary_type = runtimeType(value_backgroundTertiary); - valueSerializer.writeInt8(value_backgroundTertiary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundTertiary_type)) { - const auto value_backgroundTertiary_value = value_backgroundTertiary.value; - Ark_Int32 value_backgroundTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundTertiary_value_type = value_backgroundTertiary_value.selector; - if (value_backgroundTertiary_value_type == 0) { + const auto value_bottom = value.bottom; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_type = runtimeType(value_bottom); + valueSerializer.writeInt8(value_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { + const auto value_bottom_value = value_bottom.value; + Ark_Int32 value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_value_type = value_bottom_value.selector; + if (value_bottom_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_backgroundTertiary_value_0 = value_backgroundTertiary_value.value0; - valueSerializer.writeInt32(static_cast(value_backgroundTertiary_value_0)); + const auto value_bottom_value_0 = value_bottom_value.value0; + valueSerializer.writeInt32(static_cast(value_bottom_value_0)); } - else if (value_backgroundTertiary_value_type == 1) { + else if (value_bottom_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_backgroundTertiary_value_1 = value_backgroundTertiary_value.value1; - valueSerializer.writeNumber(value_backgroundTertiary_value_1); + const auto value_bottom_value_1 = value_bottom_value.value1; + valueSerializer.writeNumber(value_bottom_value_1); } - else if (value_backgroundTertiary_value_type == 2) { + else if (value_bottom_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_backgroundTertiary_value_2 = value_backgroundTertiary_value.value2; - valueSerializer.writeString(value_backgroundTertiary_value_2); + const auto value_bottom_value_2 = value_bottom_value.value2; + valueSerializer.writeString(value_bottom_value_2); } - else if (value_backgroundTertiary_value_type == 3) { + else if (value_bottom_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_backgroundTertiary_value_3 = value_backgroundTertiary_value.value3; - valueSerializer.writeResource(value_backgroundTertiary_value_3); + const auto value_bottom_value_3 = value_bottom_value.value3; + valueSerializer.writeResource(value_bottom_value_3); } } - const auto value_backgroundFourth = value.backgroundFourth; - Ark_Int32 value_backgroundFourth_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundFourth_type = runtimeType(value_backgroundFourth); - valueSerializer.writeInt8(value_backgroundFourth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundFourth_type)) { - const auto value_backgroundFourth_value = value_backgroundFourth.value; - Ark_Int32 value_backgroundFourth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundFourth_value_type = value_backgroundFourth_value.selector; - if (value_backgroundFourth_value_type == 0) { + const auto value_left = value.left; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; + value_left_type = runtimeType(value_left); + valueSerializer.writeInt8(value_left_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { + const auto value_left_value = value_left.value; + Ark_Int32 value_left_value_type = INTEROP_RUNTIME_UNDEFINED; + value_left_value_type = value_left_value.selector; + if (value_left_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_backgroundFourth_value_0 = value_backgroundFourth_value.value0; - valueSerializer.writeInt32(static_cast(value_backgroundFourth_value_0)); + const auto value_left_value_0 = value_left_value.value0; + valueSerializer.writeInt32(static_cast(value_left_value_0)); } - else if (value_backgroundFourth_value_type == 1) { + else if (value_left_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_backgroundFourth_value_1 = value_backgroundFourth_value.value1; - valueSerializer.writeNumber(value_backgroundFourth_value_1); + const auto value_left_value_1 = value_left_value.value1; + valueSerializer.writeNumber(value_left_value_1); } - else if (value_backgroundFourth_value_type == 2) { + else if (value_left_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_backgroundFourth_value_2 = value_backgroundFourth_value.value2; - valueSerializer.writeString(value_backgroundFourth_value_2); + const auto value_left_value_2 = value_left_value.value2; + valueSerializer.writeString(value_left_value_2); } - else if (value_backgroundFourth_value_type == 3) { + else if (value_left_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_backgroundFourth_value_3 = value_backgroundFourth_value.value3; - valueSerializer.writeResource(value_backgroundFourth_value_3); + const auto value_left_value_3 = value_left_value.value3; + valueSerializer.writeResource(value_left_value_3); } } - const auto value_backgroundEmphasize = value.backgroundEmphasize; - Ark_Int32 value_backgroundEmphasize_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundEmphasize_type = runtimeType(value_backgroundEmphasize); - valueSerializer.writeInt8(value_backgroundEmphasize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEmphasize_type)) { - const auto value_backgroundEmphasize_value = value_backgroundEmphasize.value; - Ark_Int32 value_backgroundEmphasize_value_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundEmphasize_value_type = value_backgroundEmphasize_value.selector; - if (value_backgroundEmphasize_value_type == 0) { + } + void writeExpandedMenuItemOptions(Ark_ExpandedMenuItemOptions value) + { + Serializer& valueSerializer = *this; + const auto value_content = value.content; + Ark_Int32 value_content_type = INTEROP_RUNTIME_UNDEFINED; + value_content_type = value_content.selector; + if (value_content_type == 0) { + valueSerializer.writeInt8(0); + const auto value_content_0 = value_content.value0; + valueSerializer.writeString(value_content_0); + } + else if (value_content_type == 1) { + valueSerializer.writeInt8(1); + const auto value_content_1 = value_content.value1; + valueSerializer.writeResource(value_content_1); + } + const auto value_startIcon = value.startIcon; + Ark_Int32 value_startIcon_type = INTEROP_RUNTIME_UNDEFINED; + value_startIcon_type = runtimeType(value_startIcon); + valueSerializer.writeInt8(value_startIcon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startIcon_type)) { + const auto value_startIcon_value = value_startIcon.value; + Ark_Int32 value_startIcon_value_type = INTEROP_RUNTIME_UNDEFINED; + value_startIcon_value_type = value_startIcon_value.selector; + if (value_startIcon_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_backgroundEmphasize_value_0 = value_backgroundEmphasize_value.value0; - valueSerializer.writeInt32(static_cast(value_backgroundEmphasize_value_0)); + const auto value_startIcon_value_0 = value_startIcon_value.value0; + valueSerializer.writeString(value_startIcon_value_0); } - else if (value_backgroundEmphasize_value_type == 1) { + else if (value_startIcon_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_backgroundEmphasize_value_1 = value_backgroundEmphasize_value.value1; - valueSerializer.writeNumber(value_backgroundEmphasize_value_1); - } - else if (value_backgroundEmphasize_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_backgroundEmphasize_value_2 = value_backgroundEmphasize_value.value2; - valueSerializer.writeString(value_backgroundEmphasize_value_2); - } - else if (value_backgroundEmphasize_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_backgroundEmphasize_value_3 = value_backgroundEmphasize_value.value3; - valueSerializer.writeResource(value_backgroundEmphasize_value_3); + const auto value_startIcon_value_1 = value_startIcon_value.value1; + valueSerializer.writeResource(value_startIcon_value_1); } } - const auto value_compForegroundPrimary = value.compForegroundPrimary; - Ark_Int32 value_compForegroundPrimary_type = INTEROP_RUNTIME_UNDEFINED; - value_compForegroundPrimary_type = runtimeType(value_compForegroundPrimary); - valueSerializer.writeInt8(value_compForegroundPrimary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compForegroundPrimary_type)) { - const auto value_compForegroundPrimary_value = value_compForegroundPrimary.value; - Ark_Int32 value_compForegroundPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compForegroundPrimary_value_type = value_compForegroundPrimary_value.selector; - if (value_compForegroundPrimary_value_type == 0) { + const auto value_action = value.action; + valueSerializer.writeCallbackResource(value_action.resource); + valueSerializer.writePointer(reinterpret_cast(value_action.call)); + valueSerializer.writePointer(reinterpret_cast(value_action.callSync)); + } + void writeFadingEdgeOptions(Ark_FadingEdgeOptions value) + { + Serializer& valueSerializer = *this; + const auto value_fadingEdgeLength = value.fadingEdgeLength; + Ark_Int32 value_fadingEdgeLength_type = INTEROP_RUNTIME_UNDEFINED; + value_fadingEdgeLength_type = runtimeType(value_fadingEdgeLength); + valueSerializer.writeInt8(value_fadingEdgeLength_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fadingEdgeLength_type)) { + const auto value_fadingEdgeLength_value = value_fadingEdgeLength.value; + valueSerializer.writeLengthMetrics(value_fadingEdgeLength_value); + } + } + void writeFlexSpaceOptions(Ark_FlexSpaceOptions value) + { + Serializer& valueSerializer = *this; + const auto value_main = value.main; + Ark_Int32 value_main_type = INTEROP_RUNTIME_UNDEFINED; + value_main_type = runtimeType(value_main); + valueSerializer.writeInt8(value_main_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_main_type)) { + const auto value_main_value = value_main.value; + valueSerializer.writeLengthMetrics(value_main_value); + } + const auto value_cross = value.cross; + Ark_Int32 value_cross_type = INTEROP_RUNTIME_UNDEFINED; + value_cross_type = runtimeType(value_cross); + valueSerializer.writeInt8(value_cross_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cross_type)) { + const auto value_cross_value = value_cross.value; + valueSerializer.writeLengthMetrics(value_cross_value); + } + } + void writeFocusBoxStyle(Ark_FocusBoxStyle value) + { + Serializer& valueSerializer = *this; + const auto value_margin = value.margin; + Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; + value_margin_type = runtimeType(value_margin); + valueSerializer.writeInt8(value_margin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { + const auto value_margin_value = value_margin.value; + valueSerializer.writeLengthMetrics(value_margin_value); + } + const auto value_strokeColor = value.strokeColor; + Ark_Int32 value_strokeColor_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeColor_type = runtimeType(value_strokeColor); + valueSerializer.writeInt8(value_strokeColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeColor_type)) { + const auto value_strokeColor_value = value_strokeColor.value; + valueSerializer.writeColorMetrics(value_strokeColor_value); + } + const auto value_strokeWidth = value.strokeWidth; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_type = runtimeType(value_strokeWidth); + valueSerializer.writeInt8(value_strokeWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + const auto value_strokeWidth_value = value_strokeWidth.value; + valueSerializer.writeLengthMetrics(value_strokeWidth_value); + } + } + void writeFontOptions(Ark_FontOptions value) + { + Serializer& valueSerializer = *this; + const auto value_familyName = value.familyName; + Ark_Int32 value_familyName_type = INTEROP_RUNTIME_UNDEFINED; + value_familyName_type = value_familyName.selector; + if (value_familyName_type == 0) { + valueSerializer.writeInt8(0); + const auto value_familyName_0 = value_familyName.value0; + valueSerializer.writeString(value_familyName_0); + } + else if (value_familyName_type == 1) { + valueSerializer.writeInt8(1); + const auto value_familyName_1 = value_familyName.value1; + valueSerializer.writeResource(value_familyName_1); + } + const auto value_familySrc = value.familySrc; + Ark_Int32 value_familySrc_type = INTEROP_RUNTIME_UNDEFINED; + value_familySrc_type = value_familySrc.selector; + if (value_familySrc_type == 0) { + valueSerializer.writeInt8(0); + const auto value_familySrc_0 = value_familySrc.value0; + valueSerializer.writeString(value_familySrc_0); + } + else if (value_familySrc_type == 1) { + valueSerializer.writeInt8(1); + const auto value_familySrc_1 = value_familySrc.value1; + valueSerializer.writeResource(value_familySrc_1); + } + } + void writeForegroundBlurStyleOptions(Ark_ForegroundBlurStyleOptions value) + { + Serializer& valueSerializer = *this; + const auto value_colorMode = value.colorMode; + Ark_Int32 value_colorMode_type = INTEROP_RUNTIME_UNDEFINED; + value_colorMode_type = runtimeType(value_colorMode); + valueSerializer.writeInt8(value_colorMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_colorMode_type)) { + const auto value_colorMode_value = value_colorMode.value; + valueSerializer.writeInt32(static_cast(value_colorMode_value)); + } + const auto value_adaptiveColor = value.adaptiveColor; + Ark_Int32 value_adaptiveColor_type = INTEROP_RUNTIME_UNDEFINED; + value_adaptiveColor_type = runtimeType(value_adaptiveColor); + valueSerializer.writeInt8(value_adaptiveColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_adaptiveColor_type)) { + const auto value_adaptiveColor_value = value_adaptiveColor.value; + valueSerializer.writeInt32(static_cast(value_adaptiveColor_value)); + } + const auto value_scale = value.scale; + Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; + value_scale_type = runtimeType(value_scale); + valueSerializer.writeInt8(value_scale_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scale_type)) { + const auto value_scale_value = value_scale.value; + valueSerializer.writeNumber(value_scale_value); + } + const auto value_blurOptions = value.blurOptions; + Ark_Int32 value_blurOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_blurOptions_type = runtimeType(value_blurOptions); + valueSerializer.writeInt8(value_blurOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_blurOptions_type)) { + const auto value_blurOptions_value = value_blurOptions.value; + valueSerializer.writeBlurOptions(value_blurOptions_value); + } + } + void writeFormInfo(Ark_FormInfo value) + { + Serializer& valueSerializer = *this; + const auto value_id = value.id; + Ark_Int32 value_id_type = INTEROP_RUNTIME_UNDEFINED; + value_id_type = value_id.selector; + if (value_id_type == 0) { + valueSerializer.writeInt8(0); + const auto value_id_0 = value_id.value0; + valueSerializer.writeInt64(value_id_0); + } + else if (value_id_type == 1) { + valueSerializer.writeInt8(1); + const auto value_id_1 = value_id.value1; + valueSerializer.writeString(value_id_1); + } + const auto value_name = value.name; + valueSerializer.writeString(value_name); + const auto value_bundle = value.bundle; + valueSerializer.writeString(value_bundle); + const auto value_ability = value.ability; + valueSerializer.writeString(value_ability); + const auto value_module = value.module; + valueSerializer.writeString(value_module); + const auto value_dimension = value.dimension; + Ark_Int32 value_dimension_type = INTEROP_RUNTIME_UNDEFINED; + value_dimension_type = runtimeType(value_dimension); + valueSerializer.writeInt8(value_dimension_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dimension_type)) { + const auto value_dimension_value = value_dimension.value; + valueSerializer.writeInt32(static_cast(value_dimension_value)); + } + const auto value_temporary = value.temporary; + Ark_Int32 value_temporary_type = INTEROP_RUNTIME_UNDEFINED; + value_temporary_type = runtimeType(value_temporary); + valueSerializer.writeInt8(value_temporary_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_temporary_type)) { + const auto value_temporary_value = value_temporary.value; + valueSerializer.writeBoolean(value_temporary_value); + } + const auto value_want = value.want; + Ark_Int32 value_want_type = INTEROP_RUNTIME_UNDEFINED; + value_want_type = runtimeType(value_want); + valueSerializer.writeInt8(value_want_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_want_type)) { + const auto value_want_value = value_want.value; + valueSerializer.writeWant(value_want_value); + } + const auto value_renderingMode = value.renderingMode; + Ark_Int32 value_renderingMode_type = INTEROP_RUNTIME_UNDEFINED; + value_renderingMode_type = runtimeType(value_renderingMode); + valueSerializer.writeInt8(value_renderingMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_renderingMode_type)) { + const auto value_renderingMode_value = value_renderingMode.value; + valueSerializer.writeInt32(static_cast(value_renderingMode_value)); + } + const auto value_shape = value.shape; + Ark_Int32 value_shape_type = INTEROP_RUNTIME_UNDEFINED; + value_shape_type = runtimeType(value_shape); + valueSerializer.writeInt8(value_shape_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shape_type)) { + const auto value_shape_value = value_shape.value; + valueSerializer.writeInt32(static_cast(value_shape_value)); + } + } + void writeGaugeShadowOptions(Ark_GaugeShadowOptions value) + { + Serializer& valueSerializer = *this; + const auto value_radius = value.radius; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_type = runtimeType(value_radius); + valueSerializer.writeInt8(value_radius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { + const auto value_radius_value = value_radius.value; + Ark_Int32 value_radius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_value_type = value_radius_value.selector; + if (value_radius_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compForegroundPrimary_value_0 = value_compForegroundPrimary_value.value0; - valueSerializer.writeInt32(static_cast(value_compForegroundPrimary_value_0)); + const auto value_radius_value_0 = value_radius_value.value0; + valueSerializer.writeNumber(value_radius_value_0); } - else if (value_compForegroundPrimary_value_type == 1) { + else if (value_radius_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compForegroundPrimary_value_1 = value_compForegroundPrimary_value.value1; - valueSerializer.writeNumber(value_compForegroundPrimary_value_1); + const auto value_radius_value_1 = value_radius_value.value1; + valueSerializer.writeResource(value_radius_value_1); } - else if (value_compForegroundPrimary_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_compForegroundPrimary_value_2 = value_compForegroundPrimary_value.value2; - valueSerializer.writeString(value_compForegroundPrimary_value_2); + } + const auto value_offsetX = value.offsetX; + Ark_Int32 value_offsetX_type = INTEROP_RUNTIME_UNDEFINED; + value_offsetX_type = runtimeType(value_offsetX); + valueSerializer.writeInt8(value_offsetX_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetX_type)) { + const auto value_offsetX_value = value_offsetX.value; + Ark_Int32 value_offsetX_value_type = INTEROP_RUNTIME_UNDEFINED; + value_offsetX_value_type = value_offsetX_value.selector; + if (value_offsetX_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_offsetX_value_0 = value_offsetX_value.value0; + valueSerializer.writeNumber(value_offsetX_value_0); } - else if (value_compForegroundPrimary_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_compForegroundPrimary_value_3 = value_compForegroundPrimary_value.value3; - valueSerializer.writeResource(value_compForegroundPrimary_value_3); + else if (value_offsetX_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_offsetX_value_1 = value_offsetX_value.value1; + valueSerializer.writeResource(value_offsetX_value_1); } } - const auto value_compBackgroundPrimary = value.compBackgroundPrimary; - Ark_Int32 value_compBackgroundPrimary_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundPrimary_type = runtimeType(value_compBackgroundPrimary); - valueSerializer.writeInt8(value_compBackgroundPrimary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundPrimary_type)) { - const auto value_compBackgroundPrimary_value = value_compBackgroundPrimary.value; - Ark_Int32 value_compBackgroundPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundPrimary_value_type = value_compBackgroundPrimary_value.selector; - if (value_compBackgroundPrimary_value_type == 0) { + const auto value_offsetY = value.offsetY; + Ark_Int32 value_offsetY_type = INTEROP_RUNTIME_UNDEFINED; + value_offsetY_type = runtimeType(value_offsetY); + valueSerializer.writeInt8(value_offsetY_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetY_type)) { + const auto value_offsetY_value = value_offsetY.value; + Ark_Int32 value_offsetY_value_type = INTEROP_RUNTIME_UNDEFINED; + value_offsetY_value_type = value_offsetY_value.selector; + if (value_offsetY_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compBackgroundPrimary_value_0 = value_compBackgroundPrimary_value.value0; - valueSerializer.writeInt32(static_cast(value_compBackgroundPrimary_value_0)); + const auto value_offsetY_value_0 = value_offsetY_value.value0; + valueSerializer.writeNumber(value_offsetY_value_0); } - else if (value_compBackgroundPrimary_value_type == 1) { + else if (value_offsetY_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compBackgroundPrimary_value_1 = value_compBackgroundPrimary_value.value1; - valueSerializer.writeNumber(value_compBackgroundPrimary_value_1); + const auto value_offsetY_value_1 = value_offsetY_value.value1; + valueSerializer.writeResource(value_offsetY_value_1); } - else if (value_compBackgroundPrimary_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_compBackgroundPrimary_value_2 = value_compBackgroundPrimary_value.value2; - valueSerializer.writeString(value_compBackgroundPrimary_value_2); + } + } + void writeGridColOptions(Ark_GridColOptions value) + { + Serializer& valueSerializer = *this; + const auto value_span = value.span; + Ark_Int32 value_span_type = INTEROP_RUNTIME_UNDEFINED; + value_span_type = runtimeType(value_span); + valueSerializer.writeInt8(value_span_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_span_type)) { + const auto value_span_value = value_span.value; + Ark_Int32 value_span_value_type = INTEROP_RUNTIME_UNDEFINED; + value_span_value_type = value_span_value.selector; + if (value_span_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_span_value_0 = value_span_value.value0; + valueSerializer.writeNumber(value_span_value_0); } - else if (value_compBackgroundPrimary_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_compBackgroundPrimary_value_3 = value_compBackgroundPrimary_value.value3; - valueSerializer.writeResource(value_compBackgroundPrimary_value_3); + else if (value_span_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_span_value_1 = value_span_value.value1; + valueSerializer.writeGridColColumnOption(value_span_value_1); } } - const auto value_compBackgroundPrimaryTran = value.compBackgroundPrimaryTran; - Ark_Int32 value_compBackgroundPrimaryTran_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundPrimaryTran_type = runtimeType(value_compBackgroundPrimaryTran); - valueSerializer.writeInt8(value_compBackgroundPrimaryTran_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundPrimaryTran_type)) { - const auto value_compBackgroundPrimaryTran_value = value_compBackgroundPrimaryTran.value; - Ark_Int32 value_compBackgroundPrimaryTran_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundPrimaryTran_value_type = value_compBackgroundPrimaryTran_value.selector; - if (value_compBackgroundPrimaryTran_value_type == 0) { + const auto value_offset = value.offset; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; + value_offset_type = runtimeType(value_offset); + valueSerializer.writeInt8(value_offset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { + const auto value_offset_value = value_offset.value; + Ark_Int32 value_offset_value_type = INTEROP_RUNTIME_UNDEFINED; + value_offset_value_type = value_offset_value.selector; + if (value_offset_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compBackgroundPrimaryTran_value_0 = value_compBackgroundPrimaryTran_value.value0; - valueSerializer.writeInt32(static_cast(value_compBackgroundPrimaryTran_value_0)); + const auto value_offset_value_0 = value_offset_value.value0; + valueSerializer.writeNumber(value_offset_value_0); } - else if (value_compBackgroundPrimaryTran_value_type == 1) { + else if (value_offset_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compBackgroundPrimaryTran_value_1 = value_compBackgroundPrimaryTran_value.value1; - valueSerializer.writeNumber(value_compBackgroundPrimaryTran_value_1); - } - else if (value_compBackgroundPrimaryTran_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_compBackgroundPrimaryTran_value_2 = value_compBackgroundPrimaryTran_value.value2; - valueSerializer.writeString(value_compBackgroundPrimaryTran_value_2); - } - else if (value_compBackgroundPrimaryTran_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_compBackgroundPrimaryTran_value_3 = value_compBackgroundPrimaryTran_value.value3; - valueSerializer.writeResource(value_compBackgroundPrimaryTran_value_3); + const auto value_offset_value_1 = value_offset_value.value1; + valueSerializer.writeGridColColumnOption(value_offset_value_1); } } - const auto value_compBackgroundPrimaryContrary = value.compBackgroundPrimaryContrary; - Ark_Int32 value_compBackgroundPrimaryContrary_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundPrimaryContrary_type = runtimeType(value_compBackgroundPrimaryContrary); - valueSerializer.writeInt8(value_compBackgroundPrimaryContrary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundPrimaryContrary_type)) { - const auto value_compBackgroundPrimaryContrary_value = value_compBackgroundPrimaryContrary.value; - Ark_Int32 value_compBackgroundPrimaryContrary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundPrimaryContrary_value_type = value_compBackgroundPrimaryContrary_value.selector; - if (value_compBackgroundPrimaryContrary_value_type == 0) { + const auto value_order = value.order; + Ark_Int32 value_order_type = INTEROP_RUNTIME_UNDEFINED; + value_order_type = runtimeType(value_order); + valueSerializer.writeInt8(value_order_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_order_type)) { + const auto value_order_value = value_order.value; + Ark_Int32 value_order_value_type = INTEROP_RUNTIME_UNDEFINED; + value_order_value_type = value_order_value.selector; + if (value_order_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compBackgroundPrimaryContrary_value_0 = value_compBackgroundPrimaryContrary_value.value0; - valueSerializer.writeInt32(static_cast(value_compBackgroundPrimaryContrary_value_0)); + const auto value_order_value_0 = value_order_value.value0; + valueSerializer.writeNumber(value_order_value_0); } - else if (value_compBackgroundPrimaryContrary_value_type == 1) { + else if (value_order_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compBackgroundPrimaryContrary_value_1 = value_compBackgroundPrimaryContrary_value.value1; - valueSerializer.writeNumber(value_compBackgroundPrimaryContrary_value_1); + const auto value_order_value_1 = value_order_value.value1; + valueSerializer.writeGridColColumnOption(value_order_value_1); } - else if (value_compBackgroundPrimaryContrary_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_compBackgroundPrimaryContrary_value_2 = value_compBackgroundPrimaryContrary_value.value2; - valueSerializer.writeString(value_compBackgroundPrimaryContrary_value_2); + } + } + void writeHistoricalPoint(Ark_HistoricalPoint value) + { + Serializer& valueSerializer = *this; + const auto value_touchObject = value.touchObject; + valueSerializer.writeTouchObject(value_touchObject); + const auto value_size = value.size; + valueSerializer.writeNumber(value_size); + const auto value_force = value.force; + valueSerializer.writeNumber(value_force); + const auto value_timestamp = value.timestamp; + valueSerializer.writeInt64(value_timestamp); + } + void writeImageFrameInfo(Ark_ImageFrameInfo value) + { + Serializer& valueSerializer = *this; + const auto value_src = value.src; + Ark_Int32 value_src_type = INTEROP_RUNTIME_UNDEFINED; + value_src_type = value_src.selector; + if (value_src_type == 0) { + valueSerializer.writeInt8(0); + const auto value_src_0 = value_src.value0; + valueSerializer.writeString(value_src_0); + } + else if (value_src_type == 1) { + valueSerializer.writeInt8(1); + const auto value_src_1 = value_src.value1; + valueSerializer.writeResource(value_src_1); + } + else if (value_src_type == 2) { + valueSerializer.writeInt8(2); + const auto value_src_2 = value_src.value2; + valueSerializer.writePixelMap(value_src_2); + } + const auto value_width = value.width; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; + value_width_type = runtimeType(value_width); + valueSerializer.writeInt8(value_width_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { + const auto value_width_value = value_width.value; + Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; + value_width_value_type = value_width_value.selector; + if (value_width_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_width_value_0 = value_width_value.value0; + valueSerializer.writeNumber(value_width_value_0); } - else if (value_compBackgroundPrimaryContrary_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_compBackgroundPrimaryContrary_value_3 = value_compBackgroundPrimaryContrary_value.value3; - valueSerializer.writeResource(value_compBackgroundPrimaryContrary_value_3); + else if (value_width_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_width_value_1 = value_width_value.value1; + valueSerializer.writeString(value_width_value_1); } } - const auto value_compBackgroundGray = value.compBackgroundGray; - Ark_Int32 value_compBackgroundGray_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundGray_type = runtimeType(value_compBackgroundGray); - valueSerializer.writeInt8(value_compBackgroundGray_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundGray_type)) { - const auto value_compBackgroundGray_value = value_compBackgroundGray.value; - Ark_Int32 value_compBackgroundGray_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundGray_value_type = value_compBackgroundGray_value.selector; - if (value_compBackgroundGray_value_type == 0) { + const auto value_height = value.height; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; + value_height_type = runtimeType(value_height); + valueSerializer.writeInt8(value_height_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { + const auto value_height_value = value_height.value; + Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; + value_height_value_type = value_height_value.selector; + if (value_height_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compBackgroundGray_value_0 = value_compBackgroundGray_value.value0; - valueSerializer.writeInt32(static_cast(value_compBackgroundGray_value_0)); + const auto value_height_value_0 = value_height_value.value0; + valueSerializer.writeNumber(value_height_value_0); } - else if (value_compBackgroundGray_value_type == 1) { + else if (value_height_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compBackgroundGray_value_1 = value_compBackgroundGray_value.value1; - valueSerializer.writeNumber(value_compBackgroundGray_value_1); + const auto value_height_value_1 = value_height_value.value1; + valueSerializer.writeString(value_height_value_1); } - else if (value_compBackgroundGray_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_compBackgroundGray_value_2 = value_compBackgroundGray_value.value2; - valueSerializer.writeString(value_compBackgroundGray_value_2); + } + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + Ark_Int32 value_top_value_type = INTEROP_RUNTIME_UNDEFINED; + value_top_value_type = value_top_value.selector; + if (value_top_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_top_value_0 = value_top_value.value0; + valueSerializer.writeNumber(value_top_value_0); } - else if (value_compBackgroundGray_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_compBackgroundGray_value_3 = value_compBackgroundGray_value.value3; - valueSerializer.writeResource(value_compBackgroundGray_value_3); + else if (value_top_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_top_value_1 = value_top_value.value1; + valueSerializer.writeString(value_top_value_1); } } - const auto value_compBackgroundSecondary = value.compBackgroundSecondary; - Ark_Int32 value_compBackgroundSecondary_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundSecondary_type = runtimeType(value_compBackgroundSecondary); - valueSerializer.writeInt8(value_compBackgroundSecondary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundSecondary_type)) { - const auto value_compBackgroundSecondary_value = value_compBackgroundSecondary.value; - Ark_Int32 value_compBackgroundSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundSecondary_value_type = value_compBackgroundSecondary_value.selector; - if (value_compBackgroundSecondary_value_type == 0) { + const auto value_left = value.left; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; + value_left_type = runtimeType(value_left); + valueSerializer.writeInt8(value_left_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { + const auto value_left_value = value_left.value; + Ark_Int32 value_left_value_type = INTEROP_RUNTIME_UNDEFINED; + value_left_value_type = value_left_value.selector; + if (value_left_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compBackgroundSecondary_value_0 = value_compBackgroundSecondary_value.value0; - valueSerializer.writeInt32(static_cast(value_compBackgroundSecondary_value_0)); + const auto value_left_value_0 = value_left_value.value0; + valueSerializer.writeNumber(value_left_value_0); } - else if (value_compBackgroundSecondary_value_type == 1) { + else if (value_left_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compBackgroundSecondary_value_1 = value_compBackgroundSecondary_value.value1; - valueSerializer.writeNumber(value_compBackgroundSecondary_value_1); - } - else if (value_compBackgroundSecondary_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_compBackgroundSecondary_value_2 = value_compBackgroundSecondary_value.value2; - valueSerializer.writeString(value_compBackgroundSecondary_value_2); + const auto value_left_value_1 = value_left_value.value1; + valueSerializer.writeString(value_left_value_1); } - else if (value_compBackgroundSecondary_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_compBackgroundSecondary_value_3 = value_compBackgroundSecondary_value.value3; - valueSerializer.writeResource(value_compBackgroundSecondary_value_3); + } + const auto value_duration = value.duration; + Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; + value_duration_type = runtimeType(value_duration); + valueSerializer.writeInt8(value_duration_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_duration_type)) { + const auto value_duration_value = value_duration.value; + valueSerializer.writeNumber(value_duration_value); + } + } + void writeJavaScriptProxy(Ark_JavaScriptProxy value) + { + Serializer& valueSerializer = *this; + const auto value_object_ = value.object_; + valueSerializer.writeObject(value_object_); + const auto value_name = value.name; + valueSerializer.writeString(value_name); + const auto value_methodList = value.methodList; + valueSerializer.writeInt32(value_methodList.length); + for (int i = 0; i < value_methodList.length; i++) { + const Ark_String value_methodList_element = value_methodList.array[i]; + valueSerializer.writeString(value_methodList_element); + } + const auto value_controller = value.controller; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; + value_controller_type = value_controller.selector; + if (value_controller_type == 0) { + valueSerializer.writeInt8(0); + const auto value_controller_0 = value_controller.value0; + valueSerializer.writeWebController(value_controller_0); + } + else if (value_controller_type == 1) { + valueSerializer.writeInt8(1); + const auto value_controller_1 = value_controller.value1; + valueSerializer.writeWebviewController(value_controller_1); + } + const auto value_asyncMethodList = value.asyncMethodList; + Ark_Int32 value_asyncMethodList_type = INTEROP_RUNTIME_UNDEFINED; + value_asyncMethodList_type = runtimeType(value_asyncMethodList); + valueSerializer.writeInt8(value_asyncMethodList_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_asyncMethodList_type)) { + const auto value_asyncMethodList_value = value_asyncMethodList.value; + valueSerializer.writeInt32(value_asyncMethodList_value.length); + for (int i = 0; i < value_asyncMethodList_value.length; i++) { + const Ark_String value_asyncMethodList_value_element = value_asyncMethodList_value.array[i]; + valueSerializer.writeString(value_asyncMethodList_value_element); } } - const auto value_compBackgroundTertiary = value.compBackgroundTertiary; - Ark_Int32 value_compBackgroundTertiary_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundTertiary_type = runtimeType(value_compBackgroundTertiary); - valueSerializer.writeInt8(value_compBackgroundTertiary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundTertiary_type)) { - const auto value_compBackgroundTertiary_value = value_compBackgroundTertiary.value; - Ark_Int32 value_compBackgroundTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundTertiary_value_type = value_compBackgroundTertiary_value.selector; - if (value_compBackgroundTertiary_value_type == 0) { + const auto value_permission = value.permission; + Ark_Int32 value_permission_type = INTEROP_RUNTIME_UNDEFINED; + value_permission_type = runtimeType(value_permission); + valueSerializer.writeInt8(value_permission_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_permission_type)) { + const auto value_permission_value = value_permission.value; + valueSerializer.writeString(value_permission_value); + } + } + void writeLengthConstrain(Ark_LengthConstrain value) + { + Serializer& valueSerializer = *this; + const auto value_minLength = value.minLength; + Ark_Int32 value_minLength_type = INTEROP_RUNTIME_UNDEFINED; + value_minLength_type = value_minLength.selector; + if (value_minLength_type == 0) { + valueSerializer.writeInt8(0); + const auto value_minLength_0 = value_minLength.value0; + valueSerializer.writeString(value_minLength_0); + } + else if (value_minLength_type == 1) { + valueSerializer.writeInt8(1); + const auto value_minLength_1 = value_minLength.value1; + valueSerializer.writeNumber(value_minLength_1); + } + else if (value_minLength_type == 2) { + valueSerializer.writeInt8(2); + const auto value_minLength_2 = value_minLength.value2; + valueSerializer.writeResource(value_minLength_2); + } + const auto value_maxLength = value.maxLength; + Ark_Int32 value_maxLength_type = INTEROP_RUNTIME_UNDEFINED; + value_maxLength_type = value_maxLength.selector; + if (value_maxLength_type == 0) { + valueSerializer.writeInt8(0); + const auto value_maxLength_0 = value_maxLength.value0; + valueSerializer.writeString(value_maxLength_0); + } + else if (value_maxLength_type == 1) { + valueSerializer.writeInt8(1); + const auto value_maxLength_1 = value_maxLength.value1; + valueSerializer.writeNumber(value_maxLength_1); + } + else if (value_maxLength_type == 2) { + valueSerializer.writeInt8(2); + const auto value_maxLength_2 = value_maxLength.value2; + valueSerializer.writeResource(value_maxLength_2); + } + } + void writeLightSource(Ark_LightSource value) + { + Serializer& valueSerializer = *this; + const auto value_positionX = value.positionX; + Ark_Int32 value_positionX_type = INTEROP_RUNTIME_UNDEFINED; + value_positionX_type = value_positionX.selector; + if (value_positionX_type == 0) { + valueSerializer.writeInt8(0); + const auto value_positionX_0 = value_positionX.value0; + valueSerializer.writeString(value_positionX_0); + } + else if (value_positionX_type == 1) { + valueSerializer.writeInt8(1); + const auto value_positionX_1 = value_positionX.value1; + valueSerializer.writeNumber(value_positionX_1); + } + else if (value_positionX_type == 2) { + valueSerializer.writeInt8(2); + const auto value_positionX_2 = value_positionX.value2; + valueSerializer.writeResource(value_positionX_2); + } + const auto value_positionY = value.positionY; + Ark_Int32 value_positionY_type = INTEROP_RUNTIME_UNDEFINED; + value_positionY_type = value_positionY.selector; + if (value_positionY_type == 0) { + valueSerializer.writeInt8(0); + const auto value_positionY_0 = value_positionY.value0; + valueSerializer.writeString(value_positionY_0); + } + else if (value_positionY_type == 1) { + valueSerializer.writeInt8(1); + const auto value_positionY_1 = value_positionY.value1; + valueSerializer.writeNumber(value_positionY_1); + } + else if (value_positionY_type == 2) { + valueSerializer.writeInt8(2); + const auto value_positionY_2 = value_positionY.value2; + valueSerializer.writeResource(value_positionY_2); + } + const auto value_positionZ = value.positionZ; + Ark_Int32 value_positionZ_type = INTEROP_RUNTIME_UNDEFINED; + value_positionZ_type = value_positionZ.selector; + if (value_positionZ_type == 0) { + valueSerializer.writeInt8(0); + const auto value_positionZ_0 = value_positionZ.value0; + valueSerializer.writeString(value_positionZ_0); + } + else if (value_positionZ_type == 1) { + valueSerializer.writeInt8(1); + const auto value_positionZ_1 = value_positionZ.value1; + valueSerializer.writeNumber(value_positionZ_1); + } + else if (value_positionZ_type == 2) { + valueSerializer.writeInt8(2); + const auto value_positionZ_2 = value_positionZ.value2; + valueSerializer.writeResource(value_positionZ_2); + } + const auto value_intensity = value.intensity; + valueSerializer.writeNumber(value_intensity); + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compBackgroundTertiary_value_0 = value_compBackgroundTertiary_value.value0; - valueSerializer.writeInt32(static_cast(value_compBackgroundTertiary_value_0)); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); } - else if (value_compBackgroundTertiary_value_type == 1) { + else if (value_color_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compBackgroundTertiary_value_1 = value_compBackgroundTertiary_value.value1; - valueSerializer.writeNumber(value_compBackgroundTertiary_value_1); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeNumber(value_color_value_1); } - else if (value_compBackgroundTertiary_value_type == 2) { + else if (value_color_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_compBackgroundTertiary_value_2 = value_compBackgroundTertiary_value.value2; - valueSerializer.writeString(value_compBackgroundTertiary_value_2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeString(value_color_value_2); } - else if (value_compBackgroundTertiary_value_type == 3) { + else if (value_color_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_compBackgroundTertiary_value_3 = value_compBackgroundTertiary_value.value3; - valueSerializer.writeResource(value_compBackgroundTertiary_value_3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeResource(value_color_value_3); } } - const auto value_compBackgroundEmphasize = value.compBackgroundEmphasize; - Ark_Int32 value_compBackgroundEmphasize_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundEmphasize_type = runtimeType(value_compBackgroundEmphasize); - valueSerializer.writeInt8(value_compBackgroundEmphasize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundEmphasize_type)) { - const auto value_compBackgroundEmphasize_value = value_compBackgroundEmphasize.value; - Ark_Int32 value_compBackgroundEmphasize_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundEmphasize_value_type = value_compBackgroundEmphasize_value.selector; - if (value_compBackgroundEmphasize_value_type == 0) { + } + void writeLinearIndicatorStyle(Ark_LinearIndicatorStyle value) + { + Serializer& valueSerializer = *this; + const auto value_space = value.space; + Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; + value_space_type = runtimeType(value_space); + valueSerializer.writeInt8(value_space_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_space_type)) { + const auto value_space_value = value_space.value; + valueSerializer.writeLengthMetrics(value_space_value); + } + const auto value_strokeWidth = value.strokeWidth; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_type = runtimeType(value_strokeWidth); + valueSerializer.writeInt8(value_strokeWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + const auto value_strokeWidth_value = value_strokeWidth.value; + valueSerializer.writeLengthMetrics(value_strokeWidth_value); + } + const auto value_strokeRadius = value.strokeRadius; + Ark_Int32 value_strokeRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeRadius_type = runtimeType(value_strokeRadius); + valueSerializer.writeInt8(value_strokeRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeRadius_type)) { + const auto value_strokeRadius_value = value_strokeRadius.value; + valueSerializer.writeLengthMetrics(value_strokeRadius_value); + } + const auto value_trackBackgroundColor = value.trackBackgroundColor; + Ark_Int32 value_trackBackgroundColor_type = INTEROP_RUNTIME_UNDEFINED; + value_trackBackgroundColor_type = runtimeType(value_trackBackgroundColor); + valueSerializer.writeInt8(value_trackBackgroundColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_trackBackgroundColor_type)) { + const auto value_trackBackgroundColor_value = value_trackBackgroundColor.value; + valueSerializer.writeColorMetrics(value_trackBackgroundColor_value); + } + const auto value_trackColor = value.trackColor; + Ark_Int32 value_trackColor_type = INTEROP_RUNTIME_UNDEFINED; + value_trackColor_type = runtimeType(value_trackColor); + valueSerializer.writeInt8(value_trackColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_trackColor_type)) { + const auto value_trackColor_value = value_trackColor.value; + valueSerializer.writeColorMetrics(value_trackColor_value); + } + } + void writeLocalizedAlignRuleOptions(Ark_LocalizedAlignRuleOptions value) + { + Serializer& valueSerializer = *this; + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeLocalizedHorizontalAlignParam(value_start_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeLocalizedHorizontalAlignParam(value_end_value); + } + const auto value_middle = value.middle; + Ark_Int32 value_middle_type = INTEROP_RUNTIME_UNDEFINED; + value_middle_type = runtimeType(value_middle); + valueSerializer.writeInt8(value_middle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_middle_type)) { + const auto value_middle_value = value_middle.value; + valueSerializer.writeLocalizedHorizontalAlignParam(value_middle_value); + } + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + valueSerializer.writeLocalizedVerticalAlignParam(value_top_value); + } + const auto value_bottom = value.bottom; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_type = runtimeType(value_bottom); + valueSerializer.writeInt8(value_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { + const auto value_bottom_value = value_bottom.value; + valueSerializer.writeLocalizedVerticalAlignParam(value_bottom_value); + } + const auto value_center = value.center; + Ark_Int32 value_center_type = INTEROP_RUNTIME_UNDEFINED; + value_center_type = runtimeType(value_center); + valueSerializer.writeInt8(value_center_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_center_type)) { + const auto value_center_value = value_center.value; + valueSerializer.writeLocalizedVerticalAlignParam(value_center_value); + } + const auto value_bias = value.bias; + Ark_Int32 value_bias_type = INTEROP_RUNTIME_UNDEFINED; + value_bias_type = runtimeType(value_bias); + valueSerializer.writeInt8(value_bias_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bias_type)) { + const auto value_bias_value = value_bias.value; + valueSerializer.writeBias(value_bias_value); + } + } + void writeLocalizedBorderRadiuses(Ark_LocalizedBorderRadiuses value) + { + Serializer& valueSerializer = *this; + const auto value_topStart = value.topStart; + Ark_Int32 value_topStart_type = INTEROP_RUNTIME_UNDEFINED; + value_topStart_type = runtimeType(value_topStart); + valueSerializer.writeInt8(value_topStart_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_topStart_type)) { + const auto value_topStart_value = value_topStart.value; + valueSerializer.writeLengthMetrics(value_topStart_value); + } + const auto value_topEnd = value.topEnd; + Ark_Int32 value_topEnd_type = INTEROP_RUNTIME_UNDEFINED; + value_topEnd_type = runtimeType(value_topEnd); + valueSerializer.writeInt8(value_topEnd_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_topEnd_type)) { + const auto value_topEnd_value = value_topEnd.value; + valueSerializer.writeLengthMetrics(value_topEnd_value); + } + const auto value_bottomStart = value.bottomStart; + Ark_Int32 value_bottomStart_type = INTEROP_RUNTIME_UNDEFINED; + value_bottomStart_type = runtimeType(value_bottomStart); + valueSerializer.writeInt8(value_bottomStart_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottomStart_type)) { + const auto value_bottomStart_value = value_bottomStart.value; + valueSerializer.writeLengthMetrics(value_bottomStart_value); + } + const auto value_bottomEnd = value.bottomEnd; + Ark_Int32 value_bottomEnd_type = INTEROP_RUNTIME_UNDEFINED; + value_bottomEnd_type = runtimeType(value_bottomEnd); + valueSerializer.writeInt8(value_bottomEnd_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottomEnd_type)) { + const auto value_bottomEnd_value = value_bottomEnd.value; + valueSerializer.writeLengthMetrics(value_bottomEnd_value); + } + } + void writeLocalizedEdgeColors(Ark_LocalizedEdgeColors value) + { + Serializer& valueSerializer = *this; + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + Ark_Int32 value_top_value_type = INTEROP_RUNTIME_UNDEFINED; + value_top_value_type = value_top_value.selector; + if (value_top_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compBackgroundEmphasize_value_0 = value_compBackgroundEmphasize_value.value0; - valueSerializer.writeInt32(static_cast(value_compBackgroundEmphasize_value_0)); + const auto value_top_value_0 = value_top_value.value0; + valueSerializer.writeInt32(static_cast(value_top_value_0)); } - else if (value_compBackgroundEmphasize_value_type == 1) { + else if (value_top_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compBackgroundEmphasize_value_1 = value_compBackgroundEmphasize_value.value1; - valueSerializer.writeNumber(value_compBackgroundEmphasize_value_1); + const auto value_top_value_1 = value_top_value.value1; + valueSerializer.writeNumber(value_top_value_1); } - else if (value_compBackgroundEmphasize_value_type == 2) { + else if (value_top_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_compBackgroundEmphasize_value_2 = value_compBackgroundEmphasize_value.value2; - valueSerializer.writeString(value_compBackgroundEmphasize_value_2); + const auto value_top_value_2 = value_top_value.value2; + valueSerializer.writeString(value_top_value_2); } - else if (value_compBackgroundEmphasize_value_type == 3) { + else if (value_top_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_compBackgroundEmphasize_value_3 = value_compBackgroundEmphasize_value.value3; - valueSerializer.writeResource(value_compBackgroundEmphasize_value_3); + const auto value_top_value_3 = value_top_value.value3; + valueSerializer.writeResource(value_top_value_3); } } - const auto value_compBackgroundNeutral = value.compBackgroundNeutral; - Ark_Int32 value_compBackgroundNeutral_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundNeutral_type = runtimeType(value_compBackgroundNeutral); - valueSerializer.writeInt8(value_compBackgroundNeutral_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundNeutral_type)) { - const auto value_compBackgroundNeutral_value = value_compBackgroundNeutral.value; - Ark_Int32 value_compBackgroundNeutral_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundNeutral_value_type = value_compBackgroundNeutral_value.selector; - if (value_compBackgroundNeutral_value_type == 0) { + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + Ark_Int32 value_end_value_type = INTEROP_RUNTIME_UNDEFINED; + value_end_value_type = value_end_value.selector; + if (value_end_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compBackgroundNeutral_value_0 = value_compBackgroundNeutral_value.value0; - valueSerializer.writeInt32(static_cast(value_compBackgroundNeutral_value_0)); + const auto value_end_value_0 = value_end_value.value0; + valueSerializer.writeInt32(static_cast(value_end_value_0)); } - else if (value_compBackgroundNeutral_value_type == 1) { + else if (value_end_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compBackgroundNeutral_value_1 = value_compBackgroundNeutral_value.value1; - valueSerializer.writeNumber(value_compBackgroundNeutral_value_1); + const auto value_end_value_1 = value_end_value.value1; + valueSerializer.writeNumber(value_end_value_1); } - else if (value_compBackgroundNeutral_value_type == 2) { + else if (value_end_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_compBackgroundNeutral_value_2 = value_compBackgroundNeutral_value.value2; - valueSerializer.writeString(value_compBackgroundNeutral_value_2); + const auto value_end_value_2 = value_end_value.value2; + valueSerializer.writeString(value_end_value_2); } - else if (value_compBackgroundNeutral_value_type == 3) { + else if (value_end_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_compBackgroundNeutral_value_3 = value_compBackgroundNeutral_value.value3; - valueSerializer.writeResource(value_compBackgroundNeutral_value_3); + const auto value_end_value_3 = value_end_value.value3; + valueSerializer.writeResource(value_end_value_3); } } - const auto value_compEmphasizeSecondary = value.compEmphasizeSecondary; - Ark_Int32 value_compEmphasizeSecondary_type = INTEROP_RUNTIME_UNDEFINED; - value_compEmphasizeSecondary_type = runtimeType(value_compEmphasizeSecondary); - valueSerializer.writeInt8(value_compEmphasizeSecondary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compEmphasizeSecondary_type)) { - const auto value_compEmphasizeSecondary_value = value_compEmphasizeSecondary.value; - Ark_Int32 value_compEmphasizeSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compEmphasizeSecondary_value_type = value_compEmphasizeSecondary_value.selector; - if (value_compEmphasizeSecondary_value_type == 0) { + const auto value_bottom = value.bottom; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_type = runtimeType(value_bottom); + valueSerializer.writeInt8(value_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { + const auto value_bottom_value = value_bottom.value; + Ark_Int32 value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_value_type = value_bottom_value.selector; + if (value_bottom_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compEmphasizeSecondary_value_0 = value_compEmphasizeSecondary_value.value0; - valueSerializer.writeInt32(static_cast(value_compEmphasizeSecondary_value_0)); + const auto value_bottom_value_0 = value_bottom_value.value0; + valueSerializer.writeInt32(static_cast(value_bottom_value_0)); } - else if (value_compEmphasizeSecondary_value_type == 1) { + else if (value_bottom_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compEmphasizeSecondary_value_1 = value_compEmphasizeSecondary_value.value1; - valueSerializer.writeNumber(value_compEmphasizeSecondary_value_1); + const auto value_bottom_value_1 = value_bottom_value.value1; + valueSerializer.writeNumber(value_bottom_value_1); } - else if (value_compEmphasizeSecondary_value_type == 2) { + else if (value_bottom_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_compEmphasizeSecondary_value_2 = value_compEmphasizeSecondary_value.value2; - valueSerializer.writeString(value_compEmphasizeSecondary_value_2); + const auto value_bottom_value_2 = value_bottom_value.value2; + valueSerializer.writeString(value_bottom_value_2); } - else if (value_compEmphasizeSecondary_value_type == 3) { + else if (value_bottom_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_compEmphasizeSecondary_value_3 = value_compEmphasizeSecondary_value.value3; - valueSerializer.writeResource(value_compEmphasizeSecondary_value_3); + const auto value_bottom_value_3 = value_bottom_value.value3; + valueSerializer.writeResource(value_bottom_value_3); } } - const auto value_compEmphasizeTertiary = value.compEmphasizeTertiary; - Ark_Int32 value_compEmphasizeTertiary_type = INTEROP_RUNTIME_UNDEFINED; - value_compEmphasizeTertiary_type = runtimeType(value_compEmphasizeTertiary); - valueSerializer.writeInt8(value_compEmphasizeTertiary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compEmphasizeTertiary_type)) { - const auto value_compEmphasizeTertiary_value = value_compEmphasizeTertiary.value; - Ark_Int32 value_compEmphasizeTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compEmphasizeTertiary_value_type = value_compEmphasizeTertiary_value.selector; - if (value_compEmphasizeTertiary_value_type == 0) { + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + Ark_Int32 value_start_value_type = INTEROP_RUNTIME_UNDEFINED; + value_start_value_type = value_start_value.selector; + if (value_start_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compEmphasizeTertiary_value_0 = value_compEmphasizeTertiary_value.value0; - valueSerializer.writeInt32(static_cast(value_compEmphasizeTertiary_value_0)); + const auto value_start_value_0 = value_start_value.value0; + valueSerializer.writeInt32(static_cast(value_start_value_0)); } - else if (value_compEmphasizeTertiary_value_type == 1) { + else if (value_start_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compEmphasizeTertiary_value_1 = value_compEmphasizeTertiary_value.value1; - valueSerializer.writeNumber(value_compEmphasizeTertiary_value_1); + const auto value_start_value_1 = value_start_value.value1; + valueSerializer.writeNumber(value_start_value_1); } - else if (value_compEmphasizeTertiary_value_type == 2) { + else if (value_start_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_compEmphasizeTertiary_value_2 = value_compEmphasizeTertiary_value.value2; - valueSerializer.writeString(value_compEmphasizeTertiary_value_2); + const auto value_start_value_2 = value_start_value.value2; + valueSerializer.writeString(value_start_value_2); } - else if (value_compEmphasizeTertiary_value_type == 3) { + else if (value_start_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_compEmphasizeTertiary_value_3 = value_compEmphasizeTertiary_value.value3; - valueSerializer.writeResource(value_compEmphasizeTertiary_value_3); + const auto value_start_value_3 = value_start_value.value3; + valueSerializer.writeResource(value_start_value_3); } } - const auto value_compDivider = value.compDivider; - Ark_Int32 value_compDivider_type = INTEROP_RUNTIME_UNDEFINED; - value_compDivider_type = runtimeType(value_compDivider); - valueSerializer.writeInt8(value_compDivider_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compDivider_type)) { - const auto value_compDivider_value = value_compDivider.value; - Ark_Int32 value_compDivider_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compDivider_value_type = value_compDivider_value.selector; - if (value_compDivider_value_type == 0) { + } + void writeLocalizedEdges(Ark_LocalizedEdges value) + { + Serializer& valueSerializer = *this; + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + valueSerializer.writeLengthMetrics(value_top_value); + } + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeLengthMetrics(value_start_value); + } + const auto value_bottom = value.bottom; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_type = runtimeType(value_bottom); + valueSerializer.writeInt8(value_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { + const auto value_bottom_value = value_bottom.value; + valueSerializer.writeLengthMetrics(value_bottom_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeLengthMetrics(value_end_value); + } + } + void writeLocalizedEdgeWidths(Ark_LocalizedEdgeWidths value) + { + Serializer& valueSerializer = *this; + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + valueSerializer.writeLengthMetrics(value_top_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeLengthMetrics(value_end_value); + } + const auto value_bottom = value.bottom; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_type = runtimeType(value_bottom); + valueSerializer.writeInt8(value_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { + const auto value_bottom_value = value_bottom.value; + valueSerializer.writeLengthMetrics(value_bottom_value); + } + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeLengthMetrics(value_start_value); + } + } + void writeLocalizedPadding(Ark_LocalizedPadding value) + { + Serializer& valueSerializer = *this; + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + valueSerializer.writeLengthMetrics(value_top_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeLengthMetrics(value_end_value); + } + const auto value_bottom = value.bottom; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_type = runtimeType(value_bottom); + valueSerializer.writeInt8(value_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { + const auto value_bottom_value = value_bottom.value; + valueSerializer.writeLengthMetrics(value_bottom_value); + } + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeLengthMetrics(value_start_value); + } + } + void writeLocalizedPosition(Ark_LocalizedPosition value) + { + Serializer& valueSerializer = *this; + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeLengthMetrics(value_start_value); + } + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + valueSerializer.writeLengthMetrics(value_top_value); + } + } + void writeLunarSwitchStyle(Ark_LunarSwitchStyle value) + { + Serializer& valueSerializer = *this; + const auto value_selectedColor = value.selectedColor; + Ark_Int32 value_selectedColor_type = INTEROP_RUNTIME_UNDEFINED; + value_selectedColor_type = runtimeType(value_selectedColor); + valueSerializer.writeInt8(value_selectedColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selectedColor_type)) { + const auto value_selectedColor_value = value_selectedColor.value; + Ark_Int32 value_selectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_selectedColor_value_type = value_selectedColor_value.selector; + if (value_selectedColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compDivider_value_0 = value_compDivider_value.value0; - valueSerializer.writeInt32(static_cast(value_compDivider_value_0)); + const auto value_selectedColor_value_0 = value_selectedColor_value.value0; + valueSerializer.writeInt32(static_cast(value_selectedColor_value_0)); } - else if (value_compDivider_value_type == 1) { + else if (value_selectedColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compDivider_value_1 = value_compDivider_value.value1; - valueSerializer.writeNumber(value_compDivider_value_1); + const auto value_selectedColor_value_1 = value_selectedColor_value.value1; + valueSerializer.writeNumber(value_selectedColor_value_1); } - else if (value_compDivider_value_type == 2) { + else if (value_selectedColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_compDivider_value_2 = value_compDivider_value.value2; - valueSerializer.writeString(value_compDivider_value_2); + const auto value_selectedColor_value_2 = value_selectedColor_value.value2; + valueSerializer.writeString(value_selectedColor_value_2); } - else if (value_compDivider_value_type == 3) { + else if (value_selectedColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_compDivider_value_3 = value_compDivider_value.value3; - valueSerializer.writeResource(value_compDivider_value_3); + const auto value_selectedColor_value_3 = value_selectedColor_value.value3; + valueSerializer.writeResource(value_selectedColor_value_3); } } - const auto value_compCommonContrary = value.compCommonContrary; - Ark_Int32 value_compCommonContrary_type = INTEROP_RUNTIME_UNDEFINED; - value_compCommonContrary_type = runtimeType(value_compCommonContrary); - valueSerializer.writeInt8(value_compCommonContrary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compCommonContrary_type)) { - const auto value_compCommonContrary_value = value_compCommonContrary.value; - Ark_Int32 value_compCommonContrary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compCommonContrary_value_type = value_compCommonContrary_value.selector; - if (value_compCommonContrary_value_type == 0) { + const auto value_unselectedColor = value.unselectedColor; + Ark_Int32 value_unselectedColor_type = INTEROP_RUNTIME_UNDEFINED; + value_unselectedColor_type = runtimeType(value_unselectedColor); + valueSerializer.writeInt8(value_unselectedColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_unselectedColor_type)) { + const auto value_unselectedColor_value = value_unselectedColor.value; + Ark_Int32 value_unselectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_unselectedColor_value_type = value_unselectedColor_value.selector; + if (value_unselectedColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compCommonContrary_value_0 = value_compCommonContrary_value.value0; - valueSerializer.writeInt32(static_cast(value_compCommonContrary_value_0)); + const auto value_unselectedColor_value_0 = value_unselectedColor_value.value0; + valueSerializer.writeInt32(static_cast(value_unselectedColor_value_0)); } - else if (value_compCommonContrary_value_type == 1) { + else if (value_unselectedColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compCommonContrary_value_1 = value_compCommonContrary_value.value1; - valueSerializer.writeNumber(value_compCommonContrary_value_1); + const auto value_unselectedColor_value_1 = value_unselectedColor_value.value1; + valueSerializer.writeNumber(value_unselectedColor_value_1); } - else if (value_compCommonContrary_value_type == 2) { + else if (value_unselectedColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_compCommonContrary_value_2 = value_compCommonContrary_value.value2; - valueSerializer.writeString(value_compCommonContrary_value_2); + const auto value_unselectedColor_value_2 = value_unselectedColor_value.value2; + valueSerializer.writeString(value_unselectedColor_value_2); } - else if (value_compCommonContrary_value_type == 3) { + else if (value_unselectedColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_compCommonContrary_value_3 = value_compCommonContrary_value.value3; - valueSerializer.writeResource(value_compCommonContrary_value_3); + const auto value_unselectedColor_value_3 = value_unselectedColor_value.value3; + valueSerializer.writeResource(value_unselectedColor_value_3); } } - const auto value_compBackgroundFocus = value.compBackgroundFocus; - Ark_Int32 value_compBackgroundFocus_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundFocus_type = runtimeType(value_compBackgroundFocus); - valueSerializer.writeInt8(value_compBackgroundFocus_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compBackgroundFocus_type)) { - const auto value_compBackgroundFocus_value = value_compBackgroundFocus.value; - Ark_Int32 value_compBackgroundFocus_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compBackgroundFocus_value_type = value_compBackgroundFocus_value.selector; - if (value_compBackgroundFocus_value_type == 0) { + const auto value_strokeColor = value.strokeColor; + Ark_Int32 value_strokeColor_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeColor_type = runtimeType(value_strokeColor); + valueSerializer.writeInt8(value_strokeColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeColor_type)) { + const auto value_strokeColor_value = value_strokeColor.value; + Ark_Int32 value_strokeColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeColor_value_type = value_strokeColor_value.selector; + if (value_strokeColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compBackgroundFocus_value_0 = value_compBackgroundFocus_value.value0; - valueSerializer.writeInt32(static_cast(value_compBackgroundFocus_value_0)); + const auto value_strokeColor_value_0 = value_strokeColor_value.value0; + valueSerializer.writeInt32(static_cast(value_strokeColor_value_0)); } - else if (value_compBackgroundFocus_value_type == 1) { + else if (value_strokeColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compBackgroundFocus_value_1 = value_compBackgroundFocus_value.value1; - valueSerializer.writeNumber(value_compBackgroundFocus_value_1); + const auto value_strokeColor_value_1 = value_strokeColor_value.value1; + valueSerializer.writeNumber(value_strokeColor_value_1); } - else if (value_compBackgroundFocus_value_type == 2) { + else if (value_strokeColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_compBackgroundFocus_value_2 = value_compBackgroundFocus_value.value2; - valueSerializer.writeString(value_compBackgroundFocus_value_2); + const auto value_strokeColor_value_2 = value_strokeColor_value.value2; + valueSerializer.writeString(value_strokeColor_value_2); } - else if (value_compBackgroundFocus_value_type == 3) { + else if (value_strokeColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_compBackgroundFocus_value_3 = value_compBackgroundFocus_value.value3; - valueSerializer.writeResource(value_compBackgroundFocus_value_3); + const auto value_strokeColor_value_3 = value_strokeColor_value.value3; + valueSerializer.writeResource(value_strokeColor_value_3); } } - const auto value_compFocusedPrimary = value.compFocusedPrimary; - Ark_Int32 value_compFocusedPrimary_type = INTEROP_RUNTIME_UNDEFINED; - value_compFocusedPrimary_type = runtimeType(value_compFocusedPrimary); - valueSerializer.writeInt8(value_compFocusedPrimary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compFocusedPrimary_type)) { - const auto value_compFocusedPrimary_value = value_compFocusedPrimary.value; - Ark_Int32 value_compFocusedPrimary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compFocusedPrimary_value_type = value_compFocusedPrimary_value.selector; - if (value_compFocusedPrimary_value_type == 0) { + } + void writeMeasureOptions(Ark_MeasureOptions value) + { + Serializer& valueSerializer = *this; + const auto value_textContent = value.textContent; + Ark_Int32 value_textContent_type = INTEROP_RUNTIME_UNDEFINED; + value_textContent_type = value_textContent.selector; + if (value_textContent_type == 0) { + valueSerializer.writeInt8(0); + const auto value_textContent_0 = value_textContent.value0; + valueSerializer.writeString(value_textContent_0); + } + else if (value_textContent_type == 1) { + valueSerializer.writeInt8(1); + const auto value_textContent_1 = value_textContent.value1; + valueSerializer.writeResource(value_textContent_1); + } + const auto value_constraintWidth = value.constraintWidth; + Ark_Int32 value_constraintWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_constraintWidth_type = runtimeType(value_constraintWidth); + valueSerializer.writeInt8(value_constraintWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_constraintWidth_type)) { + const auto value_constraintWidth_value = value_constraintWidth.value; + Ark_Int32 value_constraintWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_constraintWidth_value_type = value_constraintWidth_value.selector; + if (value_constraintWidth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compFocusedPrimary_value_0 = value_compFocusedPrimary_value.value0; - valueSerializer.writeInt32(static_cast(value_compFocusedPrimary_value_0)); + const auto value_constraintWidth_value_0 = value_constraintWidth_value.value0; + valueSerializer.writeNumber(value_constraintWidth_value_0); } - else if (value_compFocusedPrimary_value_type == 1) { + else if (value_constraintWidth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compFocusedPrimary_value_1 = value_compFocusedPrimary_value.value1; - valueSerializer.writeNumber(value_compFocusedPrimary_value_1); + const auto value_constraintWidth_value_1 = value_constraintWidth_value.value1; + valueSerializer.writeString(value_constraintWidth_value_1); } - else if (value_compFocusedPrimary_value_type == 2) { + else if (value_constraintWidth_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_compFocusedPrimary_value_2 = value_compFocusedPrimary_value.value2; - valueSerializer.writeString(value_compFocusedPrimary_value_2); - } - else if (value_compFocusedPrimary_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_compFocusedPrimary_value_3 = value_compFocusedPrimary_value.value3; - valueSerializer.writeResource(value_compFocusedPrimary_value_3); + const auto value_constraintWidth_value_2 = value_constraintWidth_value.value2; + valueSerializer.writeResource(value_constraintWidth_value_2); } } - const auto value_compFocusedSecondary = value.compFocusedSecondary; - Ark_Int32 value_compFocusedSecondary_type = INTEROP_RUNTIME_UNDEFINED; - value_compFocusedSecondary_type = runtimeType(value_compFocusedSecondary); - valueSerializer.writeInt8(value_compFocusedSecondary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compFocusedSecondary_type)) { - const auto value_compFocusedSecondary_value = value_compFocusedSecondary.value; - Ark_Int32 value_compFocusedSecondary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compFocusedSecondary_value_type = value_compFocusedSecondary_value.selector; - if (value_compFocusedSecondary_value_type == 0) { + const auto value_fontSize = value.fontSize; + Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; + value_fontSize_type = runtimeType(value_fontSize); + valueSerializer.writeInt8(value_fontSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { + const auto value_fontSize_value = value_fontSize.value; + Ark_Int32 value_fontSize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontSize_value_type = value_fontSize_value.selector; + if (value_fontSize_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compFocusedSecondary_value_0 = value_compFocusedSecondary_value.value0; - valueSerializer.writeInt32(static_cast(value_compFocusedSecondary_value_0)); + const auto value_fontSize_value_0 = value_fontSize_value.value0; + valueSerializer.writeNumber(value_fontSize_value_0); } - else if (value_compFocusedSecondary_value_type == 1) { + else if (value_fontSize_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compFocusedSecondary_value_1 = value_compFocusedSecondary_value.value1; - valueSerializer.writeNumber(value_compFocusedSecondary_value_1); + const auto value_fontSize_value_1 = value_fontSize_value.value1; + valueSerializer.writeString(value_fontSize_value_1); } - else if (value_compFocusedSecondary_value_type == 2) { + else if (value_fontSize_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_compFocusedSecondary_value_2 = value_compFocusedSecondary_value.value2; - valueSerializer.writeString(value_compFocusedSecondary_value_2); + const auto value_fontSize_value_2 = value_fontSize_value.value2; + valueSerializer.writeResource(value_fontSize_value_2); + } + } + const auto value_fontStyle = value.fontStyle; + Ark_Int32 value_fontStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_fontStyle_type = runtimeType(value_fontStyle); + valueSerializer.writeInt8(value_fontStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontStyle_type)) { + const auto value_fontStyle_value = value_fontStyle.value; + Ark_Int32 value_fontStyle_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontStyle_value_type = value_fontStyle_value.selector; + if (value_fontStyle_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_fontStyle_value_0 = value_fontStyle_value.value0; + valueSerializer.writeNumber(value_fontStyle_value_0); } - else if (value_compFocusedSecondary_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_compFocusedSecondary_value_3 = value_compFocusedSecondary_value.value3; - valueSerializer.writeResource(value_compFocusedSecondary_value_3); + else if (value_fontStyle_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_fontStyle_value_1 = value_fontStyle_value.value1; + valueSerializer.writeInt32(static_cast(value_fontStyle_value_1)); } } - const auto value_compFocusedTertiary = value.compFocusedTertiary; - Ark_Int32 value_compFocusedTertiary_type = INTEROP_RUNTIME_UNDEFINED; - value_compFocusedTertiary_type = runtimeType(value_compFocusedTertiary); - valueSerializer.writeInt8(value_compFocusedTertiary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_compFocusedTertiary_type)) { - const auto value_compFocusedTertiary_value = value_compFocusedTertiary.value; - Ark_Int32 value_compFocusedTertiary_value_type = INTEROP_RUNTIME_UNDEFINED; - value_compFocusedTertiary_value_type = value_compFocusedTertiary_value.selector; - if (value_compFocusedTertiary_value_type == 0) { + const auto value_fontWeight = value.fontWeight; + Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; + value_fontWeight_type = runtimeType(value_fontWeight); + valueSerializer.writeInt8(value_fontWeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { + const auto value_fontWeight_value = value_fontWeight.value; + Ark_Int32 value_fontWeight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontWeight_value_type = value_fontWeight_value.selector; + if (value_fontWeight_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_compFocusedTertiary_value_0 = value_compFocusedTertiary_value.value0; - valueSerializer.writeInt32(static_cast(value_compFocusedTertiary_value_0)); + const auto value_fontWeight_value_0 = value_fontWeight_value.value0; + valueSerializer.writeNumber(value_fontWeight_value_0); } - else if (value_compFocusedTertiary_value_type == 1) { + else if (value_fontWeight_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_compFocusedTertiary_value_1 = value_compFocusedTertiary_value.value1; - valueSerializer.writeNumber(value_compFocusedTertiary_value_1); + const auto value_fontWeight_value_1 = value_fontWeight_value.value1; + valueSerializer.writeString(value_fontWeight_value_1); } - else if (value_compFocusedTertiary_value_type == 2) { + else if (value_fontWeight_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_compFocusedTertiary_value_2 = value_compFocusedTertiary_value.value2; - valueSerializer.writeString(value_compFocusedTertiary_value_2); - } - else if (value_compFocusedTertiary_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_compFocusedTertiary_value_3 = value_compFocusedTertiary_value.value3; - valueSerializer.writeResource(value_compFocusedTertiary_value_3); + const auto value_fontWeight_value_2 = value_fontWeight_value.value2; + valueSerializer.writeInt32(static_cast(value_fontWeight_value_2)); } } - const auto value_interactiveHover = value.interactiveHover; - Ark_Int32 value_interactiveHover_type = INTEROP_RUNTIME_UNDEFINED; - value_interactiveHover_type = runtimeType(value_interactiveHover); - valueSerializer.writeInt8(value_interactiveHover_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_interactiveHover_type)) { - const auto value_interactiveHover_value = value_interactiveHover.value; - Ark_Int32 value_interactiveHover_value_type = INTEROP_RUNTIME_UNDEFINED; - value_interactiveHover_value_type = value_interactiveHover_value.selector; - if (value_interactiveHover_value_type == 0) { + const auto value_fontFamily = value.fontFamily; + Ark_Int32 value_fontFamily_type = INTEROP_RUNTIME_UNDEFINED; + value_fontFamily_type = runtimeType(value_fontFamily); + valueSerializer.writeInt8(value_fontFamily_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFamily_type)) { + const auto value_fontFamily_value = value_fontFamily.value; + Ark_Int32 value_fontFamily_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontFamily_value_type = value_fontFamily_value.selector; + if (value_fontFamily_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_interactiveHover_value_0 = value_interactiveHover_value.value0; - valueSerializer.writeInt32(static_cast(value_interactiveHover_value_0)); + const auto value_fontFamily_value_0 = value_fontFamily_value.value0; + valueSerializer.writeString(value_fontFamily_value_0); } - else if (value_interactiveHover_value_type == 1) { + else if (value_fontFamily_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_interactiveHover_value_1 = value_interactiveHover_value.value1; - valueSerializer.writeNumber(value_interactiveHover_value_1); + const auto value_fontFamily_value_1 = value_fontFamily_value.value1; + valueSerializer.writeResource(value_fontFamily_value_1); } - else if (value_interactiveHover_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_interactiveHover_value_2 = value_interactiveHover_value.value2; - valueSerializer.writeString(value_interactiveHover_value_2); + } + const auto value_letterSpacing = value.letterSpacing; + Ark_Int32 value_letterSpacing_type = INTEROP_RUNTIME_UNDEFINED; + value_letterSpacing_type = runtimeType(value_letterSpacing); + valueSerializer.writeInt8(value_letterSpacing_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_letterSpacing_type)) { + const auto value_letterSpacing_value = value_letterSpacing.value; + Ark_Int32 value_letterSpacing_value_type = INTEROP_RUNTIME_UNDEFINED; + value_letterSpacing_value_type = value_letterSpacing_value.selector; + if (value_letterSpacing_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_letterSpacing_value_0 = value_letterSpacing_value.value0; + valueSerializer.writeNumber(value_letterSpacing_value_0); } - else if (value_interactiveHover_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_interactiveHover_value_3 = value_interactiveHover_value.value3; - valueSerializer.writeResource(value_interactiveHover_value_3); + else if (value_letterSpacing_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_letterSpacing_value_1 = value_letterSpacing_value.value1; + valueSerializer.writeString(value_letterSpacing_value_1); } } - const auto value_interactivePressed = value.interactivePressed; - Ark_Int32 value_interactivePressed_type = INTEROP_RUNTIME_UNDEFINED; - value_interactivePressed_type = runtimeType(value_interactivePressed); - valueSerializer.writeInt8(value_interactivePressed_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_interactivePressed_type)) { - const auto value_interactivePressed_value = value_interactivePressed.value; - Ark_Int32 value_interactivePressed_value_type = INTEROP_RUNTIME_UNDEFINED; - value_interactivePressed_value_type = value_interactivePressed_value.selector; - if (value_interactivePressed_value_type == 0) { + const auto value_textAlign = value.textAlign; + Ark_Int32 value_textAlign_type = INTEROP_RUNTIME_UNDEFINED; + value_textAlign_type = runtimeType(value_textAlign); + valueSerializer.writeInt8(value_textAlign_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textAlign_type)) { + const auto value_textAlign_value = value_textAlign.value; + Ark_Int32 value_textAlign_value_type = INTEROP_RUNTIME_UNDEFINED; + value_textAlign_value_type = value_textAlign_value.selector; + if (value_textAlign_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_interactivePressed_value_0 = value_interactivePressed_value.value0; - valueSerializer.writeInt32(static_cast(value_interactivePressed_value_0)); + const auto value_textAlign_value_0 = value_textAlign_value.value0; + valueSerializer.writeNumber(value_textAlign_value_0); } - else if (value_interactivePressed_value_type == 1) { + else if (value_textAlign_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_interactivePressed_value_1 = value_interactivePressed_value.value1; - valueSerializer.writeNumber(value_interactivePressed_value_1); + const auto value_textAlign_value_1 = value_textAlign_value.value1; + valueSerializer.writeInt32(static_cast(value_textAlign_value_1)); } - else if (value_interactivePressed_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_interactivePressed_value_2 = value_interactivePressed_value.value2; - valueSerializer.writeString(value_interactivePressed_value_2); + } + const auto value_overflow = value.overflow; + Ark_Int32 value_overflow_type = INTEROP_RUNTIME_UNDEFINED; + value_overflow_type = runtimeType(value_overflow); + valueSerializer.writeInt8(value_overflow_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_overflow_type)) { + const auto value_overflow_value = value_overflow.value; + Ark_Int32 value_overflow_value_type = INTEROP_RUNTIME_UNDEFINED; + value_overflow_value_type = value_overflow_value.selector; + if (value_overflow_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_overflow_value_0 = value_overflow_value.value0; + valueSerializer.writeNumber(value_overflow_value_0); } - else if (value_interactivePressed_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_interactivePressed_value_3 = value_interactivePressed_value.value3; - valueSerializer.writeResource(value_interactivePressed_value_3); + else if (value_overflow_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_overflow_value_1 = value_overflow_value.value1; + valueSerializer.writeInt32(static_cast(value_overflow_value_1)); } } - const auto value_interactiveFocus = value.interactiveFocus; - Ark_Int32 value_interactiveFocus_type = INTEROP_RUNTIME_UNDEFINED; - value_interactiveFocus_type = runtimeType(value_interactiveFocus); - valueSerializer.writeInt8(value_interactiveFocus_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_interactiveFocus_type)) { - const auto value_interactiveFocus_value = value_interactiveFocus.value; - Ark_Int32 value_interactiveFocus_value_type = INTEROP_RUNTIME_UNDEFINED; - value_interactiveFocus_value_type = value_interactiveFocus_value.selector; - if (value_interactiveFocus_value_type == 0) { + const auto value_maxLines = value.maxLines; + Ark_Int32 value_maxLines_type = INTEROP_RUNTIME_UNDEFINED; + value_maxLines_type = runtimeType(value_maxLines); + valueSerializer.writeInt8(value_maxLines_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxLines_type)) { + const auto value_maxLines_value = value_maxLines.value; + valueSerializer.writeNumber(value_maxLines_value); + } + const auto value_lineHeight = value.lineHeight; + Ark_Int32 value_lineHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_lineHeight_type = runtimeType(value_lineHeight); + valueSerializer.writeInt8(value_lineHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lineHeight_type)) { + const auto value_lineHeight_value = value_lineHeight.value; + Ark_Int32 value_lineHeight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_lineHeight_value_type = value_lineHeight_value.selector; + if (value_lineHeight_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_interactiveFocus_value_0 = value_interactiveFocus_value.value0; - valueSerializer.writeInt32(static_cast(value_interactiveFocus_value_0)); + const auto value_lineHeight_value_0 = value_lineHeight_value.value0; + valueSerializer.writeNumber(value_lineHeight_value_0); } - else if (value_interactiveFocus_value_type == 1) { + else if (value_lineHeight_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_interactiveFocus_value_1 = value_interactiveFocus_value.value1; - valueSerializer.writeNumber(value_interactiveFocus_value_1); + const auto value_lineHeight_value_1 = value_lineHeight_value.value1; + valueSerializer.writeString(value_lineHeight_value_1); } - else if (value_interactiveFocus_value_type == 2) { + else if (value_lineHeight_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_interactiveFocus_value_2 = value_interactiveFocus_value.value2; - valueSerializer.writeString(value_interactiveFocus_value_2); - } - else if (value_interactiveFocus_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_interactiveFocus_value_3 = value_interactiveFocus_value.value3; - valueSerializer.writeResource(value_interactiveFocus_value_3); + const auto value_lineHeight_value_2 = value_lineHeight_value.value2; + valueSerializer.writeResource(value_lineHeight_value_2); } } - const auto value_interactiveActive = value.interactiveActive; - Ark_Int32 value_interactiveActive_type = INTEROP_RUNTIME_UNDEFINED; - value_interactiveActive_type = runtimeType(value_interactiveActive); - valueSerializer.writeInt8(value_interactiveActive_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_interactiveActive_type)) { - const auto value_interactiveActive_value = value_interactiveActive.value; - Ark_Int32 value_interactiveActive_value_type = INTEROP_RUNTIME_UNDEFINED; - value_interactiveActive_value_type = value_interactiveActive_value.selector; - if (value_interactiveActive_value_type == 0) { + const auto value_baselineOffset = value.baselineOffset; + Ark_Int32 value_baselineOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_baselineOffset_type = runtimeType(value_baselineOffset); + valueSerializer.writeInt8(value_baselineOffset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_baselineOffset_type)) { + const auto value_baselineOffset_value = value_baselineOffset.value; + Ark_Int32 value_baselineOffset_value_type = INTEROP_RUNTIME_UNDEFINED; + value_baselineOffset_value_type = value_baselineOffset_value.selector; + if (value_baselineOffset_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_interactiveActive_value_0 = value_interactiveActive_value.value0; - valueSerializer.writeInt32(static_cast(value_interactiveActive_value_0)); + const auto value_baselineOffset_value_0 = value_baselineOffset_value.value0; + valueSerializer.writeNumber(value_baselineOffset_value_0); } - else if (value_interactiveActive_value_type == 1) { + else if (value_baselineOffset_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_interactiveActive_value_1 = value_interactiveActive_value.value1; - valueSerializer.writeNumber(value_interactiveActive_value_1); + const auto value_baselineOffset_value_1 = value_baselineOffset_value.value1; + valueSerializer.writeString(value_baselineOffset_value_1); } - else if (value_interactiveActive_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_interactiveActive_value_2 = value_interactiveActive_value.value2; - valueSerializer.writeString(value_interactiveActive_value_2); + } + const auto value_textCase = value.textCase; + Ark_Int32 value_textCase_type = INTEROP_RUNTIME_UNDEFINED; + value_textCase_type = runtimeType(value_textCase); + valueSerializer.writeInt8(value_textCase_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textCase_type)) { + const auto value_textCase_value = value_textCase.value; + Ark_Int32 value_textCase_value_type = INTEROP_RUNTIME_UNDEFINED; + value_textCase_value_type = value_textCase_value.selector; + if (value_textCase_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_textCase_value_0 = value_textCase_value.value0; + valueSerializer.writeNumber(value_textCase_value_0); } - else if (value_interactiveActive_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_interactiveActive_value_3 = value_interactiveActive_value.value3; - valueSerializer.writeResource(value_interactiveActive_value_3); + else if (value_textCase_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_textCase_value_1 = value_textCase_value.value1; + valueSerializer.writeInt32(static_cast(value_textCase_value_1)); } } - const auto value_interactiveSelect = value.interactiveSelect; - Ark_Int32 value_interactiveSelect_type = INTEROP_RUNTIME_UNDEFINED; - value_interactiveSelect_type = runtimeType(value_interactiveSelect); - valueSerializer.writeInt8(value_interactiveSelect_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_interactiveSelect_type)) { - const auto value_interactiveSelect_value = value_interactiveSelect.value; - Ark_Int32 value_interactiveSelect_value_type = INTEROP_RUNTIME_UNDEFINED; - value_interactiveSelect_value_type = value_interactiveSelect_value.selector; - if (value_interactiveSelect_value_type == 0) { + const auto value_textIndent = value.textIndent; + Ark_Int32 value_textIndent_type = INTEROP_RUNTIME_UNDEFINED; + value_textIndent_type = runtimeType(value_textIndent); + valueSerializer.writeInt8(value_textIndent_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textIndent_type)) { + const auto value_textIndent_value = value_textIndent.value; + Ark_Int32 value_textIndent_value_type = INTEROP_RUNTIME_UNDEFINED; + value_textIndent_value_type = value_textIndent_value.selector; + if (value_textIndent_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_interactiveSelect_value_0 = value_interactiveSelect_value.value0; - valueSerializer.writeInt32(static_cast(value_interactiveSelect_value_0)); + const auto value_textIndent_value_0 = value_textIndent_value.value0; + valueSerializer.writeNumber(value_textIndent_value_0); } - else if (value_interactiveSelect_value_type == 1) { + else if (value_textIndent_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_interactiveSelect_value_1 = value_interactiveSelect_value.value1; - valueSerializer.writeNumber(value_interactiveSelect_value_1); + const auto value_textIndent_value_1 = value_textIndent_value.value1; + valueSerializer.writeString(value_textIndent_value_1); } - else if (value_interactiveSelect_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_interactiveSelect_value_2 = value_interactiveSelect_value.value2; - valueSerializer.writeString(value_interactiveSelect_value_2); + } + const auto value_wordBreak = value.wordBreak; + Ark_Int32 value_wordBreak_type = INTEROP_RUNTIME_UNDEFINED; + value_wordBreak_type = runtimeType(value_wordBreak); + valueSerializer.writeInt8(value_wordBreak_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_wordBreak_type)) { + const auto value_wordBreak_value = value_wordBreak.value; + valueSerializer.writeInt32(static_cast(value_wordBreak_value)); + } + } + void writeMenuElement(Ark_MenuElement value) + { + Serializer& valueSerializer = *this; + const auto value_value = value.value; + Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; + value_value_type = value_value.selector; + if (value_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_value_0 = value_value.value0; + valueSerializer.writeString(value_value_0); + } + else if (value_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_value_1 = value_value.value1; + valueSerializer.writeResource(value_value_1); + } + const auto value_icon = value.icon; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_type = runtimeType(value_icon); + valueSerializer.writeInt8(value_icon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { + const auto value_icon_value = value_icon.value; + Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_value_type = value_icon_value.selector; + if (value_icon_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_icon_value_0 = value_icon_value.value0; + valueSerializer.writeString(value_icon_value_0); } - else if (value_interactiveSelect_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_interactiveSelect_value_3 = value_interactiveSelect_value.value3; - valueSerializer.writeResource(value_interactiveSelect_value_3); + else if (value_icon_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_icon_value_1 = value_icon_value.value1; + valueSerializer.writeResource(value_icon_value_1); } } - const auto value_interactiveClick = value.interactiveClick; - Ark_Int32 value_interactiveClick_type = INTEROP_RUNTIME_UNDEFINED; - value_interactiveClick_type = runtimeType(value_interactiveClick); - valueSerializer.writeInt8(value_interactiveClick_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_interactiveClick_type)) { - const auto value_interactiveClick_value = value_interactiveClick.value; - Ark_Int32 value_interactiveClick_value_type = INTEROP_RUNTIME_UNDEFINED; - value_interactiveClick_value_type = value_interactiveClick_value.selector; - if (value_interactiveClick_value_type == 0) { + const auto value_symbolIcon = value.symbolIcon; + Ark_Int32 value_symbolIcon_type = INTEROP_RUNTIME_UNDEFINED; + value_symbolIcon_type = runtimeType(value_symbolIcon); + valueSerializer.writeInt8(value_symbolIcon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolIcon_type)) { + const auto value_symbolIcon_value = value_symbolIcon.value; + valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value); + } + const auto value_enabled = value.enabled; + Ark_Int32 value_enabled_type = INTEROP_RUNTIME_UNDEFINED; + value_enabled_type = runtimeType(value_enabled); + valueSerializer.writeInt8(value_enabled_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enabled_type)) { + const auto value_enabled_value = value_enabled.value; + valueSerializer.writeBoolean(value_enabled_value); + } + const auto value_action = value.action; + valueSerializer.writeCallbackResource(value_action.resource); + valueSerializer.writePointer(reinterpret_cast(value_action.call)); + valueSerializer.writePointer(reinterpret_cast(value_action.callSync)); + } + void writeMenuItemConfiguration(Ark_MenuItemConfiguration value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } + void writeMenuItemGroupOptions(Ark_MenuItemGroupOptions value) + { + Serializer& valueSerializer = *this; + const auto value_header = value.header; + Ark_Int32 value_header_type = INTEROP_RUNTIME_UNDEFINED; + value_header_type = runtimeType(value_header); + valueSerializer.writeInt8(value_header_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_header_type)) { + const auto value_header_value = value_header.value; + Ark_Int32 value_header_value_type = INTEROP_RUNTIME_UNDEFINED; + value_header_value_type = value_header_value.selector; + if ((value_header_value_type == 0) || (value_header_value_type == 0)) { valueSerializer.writeInt8(0); - const auto value_interactiveClick_value_0 = value_interactiveClick_value.value0; - valueSerializer.writeInt32(static_cast(value_interactiveClick_value_0)); + const auto value_header_value_0 = value_header_value.value0; + Ark_Int32 value_header_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_header_value_0_type = value_header_value_0.selector; + if (value_header_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_header_value_0_0 = value_header_value_0.value0; + valueSerializer.writeString(value_header_value_0_0); + } + else if (value_header_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_header_value_0_1 = value_header_value_0.value1; + valueSerializer.writeResource(value_header_value_0_1); + } } - else if (value_interactiveClick_value_type == 1) { + else if (value_header_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_interactiveClick_value_1 = value_interactiveClick_value.value1; - valueSerializer.writeNumber(value_interactiveClick_value_1); + const auto value_header_value_1 = value_header_value.value1; + valueSerializer.writeCallbackResource(value_header_value_1.resource); + valueSerializer.writePointer(reinterpret_cast(value_header_value_1.call)); + valueSerializer.writePointer(reinterpret_cast(value_header_value_1.callSync)); } - else if (value_interactiveClick_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_interactiveClick_value_2 = value_interactiveClick_value.value2; - valueSerializer.writeString(value_interactiveClick_value_2); + } + const auto value_footer = value.footer; + Ark_Int32 value_footer_type = INTEROP_RUNTIME_UNDEFINED; + value_footer_type = runtimeType(value_footer); + valueSerializer.writeInt8(value_footer_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_footer_type)) { + const auto value_footer_value = value_footer.value; + Ark_Int32 value_footer_value_type = INTEROP_RUNTIME_UNDEFINED; + value_footer_value_type = value_footer_value.selector; + if ((value_footer_value_type == 0) || (value_footer_value_type == 0)) { + valueSerializer.writeInt8(0); + const auto value_footer_value_0 = value_footer_value.value0; + Ark_Int32 value_footer_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_footer_value_0_type = value_footer_value_0.selector; + if (value_footer_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_footer_value_0_0 = value_footer_value_0.value0; + valueSerializer.writeString(value_footer_value_0_0); + } + else if (value_footer_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_footer_value_0_1 = value_footer_value_0.value1; + valueSerializer.writeResource(value_footer_value_0_1); + } } - else if (value_interactiveClick_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_interactiveClick_value_3 = value_interactiveClick_value.value3; - valueSerializer.writeResource(value_interactiveClick_value_3); + else if (value_footer_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_footer_value_1 = value_footer_value.value1; + valueSerializer.writeCallbackResource(value_footer_value_1.resource); + valueSerializer.writePointer(reinterpret_cast(value_footer_value_1.call)); + valueSerializer.writePointer(reinterpret_cast(value_footer_value_1.callSync)); } } } - void writeDataPanelShadowOptions(Ark_DataPanelShadowOptions value) + void writeMenuItemOptions(Ark_MenuItemOptions value) { Serializer& valueSerializer = *this; - const auto value_radius = value.radius; - Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_type = runtimeType(value_radius); - valueSerializer.writeInt8(value_radius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { - const auto value_radius_value = value_radius.value; - Ark_Int32 value_radius_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_type = value_radius_value.selector; - if (value_radius_value_type == 0) { + const auto value_startIcon = value.startIcon; + Ark_Int32 value_startIcon_type = INTEROP_RUNTIME_UNDEFINED; + value_startIcon_type = runtimeType(value_startIcon); + valueSerializer.writeInt8(value_startIcon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startIcon_type)) { + const auto value_startIcon_value = value_startIcon.value; + Ark_Int32 value_startIcon_value_type = INTEROP_RUNTIME_UNDEFINED; + value_startIcon_value_type = value_startIcon_value.selector; + if (value_startIcon_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_radius_value_0 = value_radius_value.value0; - valueSerializer.writeNumber(value_radius_value_0); + const auto value_startIcon_value_0 = value_startIcon_value.value0; + valueSerializer.writeString(value_startIcon_value_0); } - else if (value_radius_value_type == 1) { + else if (value_startIcon_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_radius_value_1 = value_radius_value.value1; - valueSerializer.writeResource(value_radius_value_1); + const auto value_startIcon_value_1 = value_startIcon_value.value1; + valueSerializer.writeResource(value_startIcon_value_1); } } - const auto value_offsetX = value.offsetX; - Ark_Int32 value_offsetX_type = INTEROP_RUNTIME_UNDEFINED; - value_offsetX_type = runtimeType(value_offsetX); - valueSerializer.writeInt8(value_offsetX_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetX_type)) { - const auto value_offsetX_value = value_offsetX.value; - Ark_Int32 value_offsetX_value_type = INTEROP_RUNTIME_UNDEFINED; - value_offsetX_value_type = value_offsetX_value.selector; - if (value_offsetX_value_type == 0) { + const auto value_symbolStartIcon = value.symbolStartIcon; + Ark_Int32 value_symbolStartIcon_type = INTEROP_RUNTIME_UNDEFINED; + value_symbolStartIcon_type = runtimeType(value_symbolStartIcon); + valueSerializer.writeInt8(value_symbolStartIcon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolStartIcon_type)) { + const auto value_symbolStartIcon_value = value_symbolStartIcon.value; + valueSerializer.writeSymbolGlyphModifier(value_symbolStartIcon_value); + } + const auto value_content = value.content; + Ark_Int32 value_content_type = INTEROP_RUNTIME_UNDEFINED; + value_content_type = runtimeType(value_content); + valueSerializer.writeInt8(value_content_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_content_type)) { + const auto value_content_value = value_content.value; + Ark_Int32 value_content_value_type = INTEROP_RUNTIME_UNDEFINED; + value_content_value_type = value_content_value.selector; + if (value_content_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_content_value_0 = value_content_value.value0; + valueSerializer.writeString(value_content_value_0); + } + else if (value_content_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_content_value_1 = value_content_value.value1; + valueSerializer.writeResource(value_content_value_1); + } + } + const auto value_endIcon = value.endIcon; + Ark_Int32 value_endIcon_type = INTEROP_RUNTIME_UNDEFINED; + value_endIcon_type = runtimeType(value_endIcon); + valueSerializer.writeInt8(value_endIcon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_endIcon_type)) { + const auto value_endIcon_value = value_endIcon.value; + Ark_Int32 value_endIcon_value_type = INTEROP_RUNTIME_UNDEFINED; + value_endIcon_value_type = value_endIcon_value.selector; + if (value_endIcon_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_offsetX_value_0 = value_offsetX_value.value0; - valueSerializer.writeNumber(value_offsetX_value_0); + const auto value_endIcon_value_0 = value_endIcon_value.value0; + valueSerializer.writeString(value_endIcon_value_0); } - else if (value_offsetX_value_type == 1) { + else if (value_endIcon_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_offsetX_value_1 = value_offsetX_value.value1; - valueSerializer.writeResource(value_offsetX_value_1); + const auto value_endIcon_value_1 = value_endIcon_value.value1; + valueSerializer.writeResource(value_endIcon_value_1); } } - const auto value_offsetY = value.offsetY; - Ark_Int32 value_offsetY_type = INTEROP_RUNTIME_UNDEFINED; - value_offsetY_type = runtimeType(value_offsetY); - valueSerializer.writeInt8(value_offsetY_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetY_type)) { - const auto value_offsetY_value = value_offsetY.value; - Ark_Int32 value_offsetY_value_type = INTEROP_RUNTIME_UNDEFINED; - value_offsetY_value_type = value_offsetY_value.selector; - if (value_offsetY_value_type == 0) { + const auto value_symbolEndIcon = value.symbolEndIcon; + Ark_Int32 value_symbolEndIcon_type = INTEROP_RUNTIME_UNDEFINED; + value_symbolEndIcon_type = runtimeType(value_symbolEndIcon); + valueSerializer.writeInt8(value_symbolEndIcon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolEndIcon_type)) { + const auto value_symbolEndIcon_value = value_symbolEndIcon.value; + valueSerializer.writeSymbolGlyphModifier(value_symbolEndIcon_value); + } + const auto value_labelInfo = value.labelInfo; + Ark_Int32 value_labelInfo_type = INTEROP_RUNTIME_UNDEFINED; + value_labelInfo_type = runtimeType(value_labelInfo); + valueSerializer.writeInt8(value_labelInfo_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_labelInfo_type)) { + const auto value_labelInfo_value = value_labelInfo.value; + Ark_Int32 value_labelInfo_value_type = INTEROP_RUNTIME_UNDEFINED; + value_labelInfo_value_type = value_labelInfo_value.selector; + if (value_labelInfo_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_offsetY_value_0 = value_offsetY_value.value0; - valueSerializer.writeNumber(value_offsetY_value_0); + const auto value_labelInfo_value_0 = value_labelInfo_value.value0; + valueSerializer.writeString(value_labelInfo_value_0); } - else if (value_offsetY_value_type == 1) { + else if (value_labelInfo_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_offsetY_value_1 = value_offsetY_value.value1; - valueSerializer.writeResource(value_offsetY_value_1); + const auto value_labelInfo_value_1 = value_labelInfo_value.value1; + valueSerializer.writeResource(value_labelInfo_value_1); } } - const auto value_colors = value.colors; - Ark_Int32 value_colors_type = INTEROP_RUNTIME_UNDEFINED; - value_colors_type = runtimeType(value_colors); - valueSerializer.writeInt8(value_colors_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_colors_type)) { - const auto value_colors_value = value_colors.value; - valueSerializer.writeInt32(value_colors_value.length); - for (int i = 0; i < value_colors_value.length; i++) { - const Ark_Union_ResourceColor_LinearGradient value_colors_value_element = value_colors_value.array[i]; - Ark_Int32 value_colors_value_element_type = INTEROP_RUNTIME_UNDEFINED; - value_colors_value_element_type = value_colors_value_element.selector; - if ((value_colors_value_element_type == 0) || (value_colors_value_element_type == 0) || (value_colors_value_element_type == 0) || (value_colors_value_element_type == 0)) { - valueSerializer.writeInt8(0); - const auto value_colors_value_element_0 = value_colors_value_element.value0; - Ark_Int32 value_colors_value_element_0_type = INTEROP_RUNTIME_UNDEFINED; - value_colors_value_element_0_type = value_colors_value_element_0.selector; - if (value_colors_value_element_0_type == 0) { - valueSerializer.writeInt8(0); - const auto value_colors_value_element_0_0 = value_colors_value_element_0.value0; - valueSerializer.writeInt32(static_cast(value_colors_value_element_0_0)); - } - else if (value_colors_value_element_0_type == 1) { - valueSerializer.writeInt8(1); - const auto value_colors_value_element_0_1 = value_colors_value_element_0.value1; - valueSerializer.writeNumber(value_colors_value_element_0_1); - } - else if (value_colors_value_element_0_type == 2) { - valueSerializer.writeInt8(2); - const auto value_colors_value_element_0_2 = value_colors_value_element_0.value2; - valueSerializer.writeString(value_colors_value_element_0_2); - } - else if (value_colors_value_element_0_type == 3) { - valueSerializer.writeInt8(3); - const auto value_colors_value_element_0_3 = value_colors_value_element_0.value3; - valueSerializer.writeResource(value_colors_value_element_0_3); - } - } - else if (value_colors_value_element_type == 1) { - valueSerializer.writeInt8(1); - const auto value_colors_value_element_1 = value_colors_value_element.value1; - valueSerializer.writeLinearGradient(value_colors_value_element_1); - } - } + const auto value_builder = value.builder; + Ark_Int32 value_builder_type = INTEROP_RUNTIME_UNDEFINED; + value_builder_type = runtimeType(value_builder); + valueSerializer.writeInt8(value_builder_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_builder_type)) { + const auto value_builder_value = value_builder.value; + valueSerializer.writeCallbackResource(value_builder_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_builder_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_builder_value.callSync)); } } - void writeDecoration(Ark_Decoration value) + void writeNativeXComponentParameters(Ark_NativeXComponentParameters value) { Serializer& valueSerializer = *this; - const auto value_textDecoration = value.textDecoration; - Ark_Int32 value_textDecoration_type = INTEROP_RUNTIME_UNDEFINED; - value_textDecoration_type = runtimeType(value_textDecoration); - valueSerializer.writeInt8(value_textDecoration_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_textDecoration_type)) { - const auto value_textDecoration_value = value_textDecoration.value; - valueSerializer.writeInt32(static_cast(value_textDecoration_value)); + const auto value_type = value.type; + valueSerializer.writeInt32(static_cast(value_type)); + const auto value_imageAIOptions = value.imageAIOptions; + Ark_Int32 value_imageAIOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_imageAIOptions_type = runtimeType(value_imageAIOptions); + valueSerializer.writeInt8(value_imageAIOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_imageAIOptions_type)) { + const auto value_imageAIOptions_value = value_imageAIOptions.value; + valueSerializer.writeImageAIOptions(value_imageAIOptions_value); } - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - valueSerializer.writecommon2D_Color(value_color_value); + } + void writeNavDestinationCommonTitle(Ark_NavDestinationCommonTitle value) + { + Serializer& valueSerializer = *this; + const auto value_main = value.main; + Ark_Int32 value_main_type = INTEROP_RUNTIME_UNDEFINED; + value_main_type = value_main.selector; + if (value_main_type == 0) { + valueSerializer.writeInt8(0); + const auto value_main_0 = value_main.value0; + valueSerializer.writeString(value_main_0); } - const auto value_decorationStyle = value.decorationStyle; - Ark_Int32 value_decorationStyle_type = INTEROP_RUNTIME_UNDEFINED; - value_decorationStyle_type = runtimeType(value_decorationStyle); - valueSerializer.writeInt8(value_decorationStyle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_decorationStyle_type)) { - const auto value_decorationStyle_value = value_decorationStyle.value; - valueSerializer.writeInt32(static_cast(value_decorationStyle_value)); + else if (value_main_type == 1) { + valueSerializer.writeInt8(1); + const auto value_main_1 = value_main.value1; + valueSerializer.writeResource(value_main_1); } - const auto value_decorationThicknessScale = value.decorationThicknessScale; - Ark_Int32 value_decorationThicknessScale_type = INTEROP_RUNTIME_UNDEFINED; - value_decorationThicknessScale_type = runtimeType(value_decorationThicknessScale); - valueSerializer.writeInt8(value_decorationThicknessScale_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_decorationThicknessScale_type)) { - const auto value_decorationThicknessScale_value = value_decorationThicknessScale.value; - valueSerializer.writeNumber(value_decorationThicknessScale_value); + const auto value_sub = value.sub; + Ark_Int32 value_sub_type = INTEROP_RUNTIME_UNDEFINED; + value_sub_type = value_sub.selector; + if (value_sub_type == 0) { + valueSerializer.writeInt8(0); + const auto value_sub_0 = value_sub.value0; + valueSerializer.writeString(value_sub_0); + } + else if (value_sub_type == 1) { + valueSerializer.writeInt8(1); + const auto value_sub_1 = value_sub.value1; + valueSerializer.writeResource(value_sub_1); } } - void writeDecorationStyle(Ark_DecorationStyle value) + void writeNavDestinationContext(Ark_NavDestinationContext value) { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } - void writeDecorationStyleInterface(Ark_DecorationStyleInterface value) + void writeNavigationCommonTitle(Ark_NavigationCommonTitle value) { Serializer& valueSerializer = *this; - const auto value_type = value.type; - valueSerializer.writeInt32(static_cast(value_type)); - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_type = value_color_value.selector; - if (value_color_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_color_value_0 = value_color_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0)); - } - else if (value_color_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeNumber(value_color_value_1); - } - else if (value_color_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeString(value_color_value_2); - } - else if (value_color_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeResource(value_color_value_3); - } + const auto value_main = value.main; + Ark_Int32 value_main_type = INTEROP_RUNTIME_UNDEFINED; + value_main_type = value_main.selector; + if (value_main_type == 0) { + valueSerializer.writeInt8(0); + const auto value_main_0 = value_main.value0; + valueSerializer.writeString(value_main_0); } - const auto value_style = value.style; - Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; - value_style_type = runtimeType(value_style); - valueSerializer.writeInt8(value_style_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { - const auto value_style_value = value_style.value; - valueSerializer.writeInt32(static_cast(value_style_value)); + else if (value_main_type == 1) { + valueSerializer.writeInt8(1); + const auto value_main_1 = value_main.value1; + valueSerializer.writeResource(value_main_1); + } + const auto value_sub = value.sub; + Ark_Int32 value_sub_type = INTEROP_RUNTIME_UNDEFINED; + value_sub_type = value_sub.selector; + if (value_sub_type == 0) { + valueSerializer.writeInt8(0); + const auto value_sub_0 = value_sub.value0; + valueSerializer.writeString(value_sub_0); + } + else if (value_sub_type == 1) { + valueSerializer.writeInt8(1); + const auto value_sub_1 = value_sub.value1; + valueSerializer.writeResource(value_sub_1); } } - void writeDecorationStyleResult(Ark_DecorationStyleResult value) + void writeNavigationMenuItem(Ark_NavigationMenuItem value) { Serializer& valueSerializer = *this; - const auto value_type = value.type; - valueSerializer.writeInt32(static_cast(value_type)); - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = value_color.selector; - if (value_color_type == 0) { + const auto value_value = value.value; + Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; + value_value_type = value_value.selector; + if (value_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_color_0 = value_color.value0; - valueSerializer.writeInt32(static_cast(value_color_0)); + const auto value_value_0 = value_value.value0; + valueSerializer.writeString(value_value_0); } - else if (value_color_type == 1) { + else if (value_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_color_1 = value_color.value1; - valueSerializer.writeNumber(value_color_1); + const auto value_value_1 = value_value.value1; + valueSerializer.writeResource(value_value_1); } - else if (value_color_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_2 = value_color.value2; - valueSerializer.writeString(value_color_2); + const auto value_icon = value.icon; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_type = runtimeType(value_icon); + valueSerializer.writeInt8(value_icon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { + const auto value_icon_value = value_icon.value; + Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_value_type = value_icon_value.selector; + if (value_icon_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_icon_value_0 = value_icon_value.value0; + valueSerializer.writeString(value_icon_value_0); + } + else if (value_icon_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_icon_value_1 = value_icon_value.value1; + valueSerializer.writeResource(value_icon_value_1); + } } - else if (value_color_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_3 = value_color.value3; - valueSerializer.writeResource(value_color_3); + const auto value_symbolIcon = value.symbolIcon; + Ark_Int32 value_symbolIcon_type = INTEROP_RUNTIME_UNDEFINED; + value_symbolIcon_type = runtimeType(value_symbolIcon); + valueSerializer.writeInt8(value_symbolIcon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolIcon_type)) { + const auto value_symbolIcon_value = value_symbolIcon.value; + valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value); } - const auto value_style = value.style; - Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; - value_style_type = runtimeType(value_style); - valueSerializer.writeInt8(value_style_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { - const auto value_style_value = value_style.value; - valueSerializer.writeInt32(static_cast(value_style_value)); + const auto value_isEnabled = value.isEnabled; + Ark_Int32 value_isEnabled_type = INTEROP_RUNTIME_UNDEFINED; + value_isEnabled_type = runtimeType(value_isEnabled); + valueSerializer.writeInt8(value_isEnabled_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isEnabled_type)) { + const auto value_isEnabled_value = value_isEnabled.value; + valueSerializer.writeBoolean(value_isEnabled_value); + } + const auto value_action = value.action; + Ark_Int32 value_action_type = INTEROP_RUNTIME_UNDEFINED; + value_action_type = runtimeType(value_action); + valueSerializer.writeInt8(value_action_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_action_type)) { + const auto value_action_value = value_action.value; + valueSerializer.writeCallbackResource(value_action_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_action_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_action_value.callSync)); } } - void writeDividerOptions(Ark_DividerOptions value) + void writeNonCurrentDayStyle(Ark_NonCurrentDayStyle value) { Serializer& valueSerializer = *this; - const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_type = runtimeType(value_strokeWidth); - valueSerializer.writeInt8(value_strokeWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { - const auto value_strokeWidth_value = value_strokeWidth.value; - Ark_Int32 value_strokeWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_value_type = value_strokeWidth_value.selector; - if (value_strokeWidth_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_strokeWidth_value_0 = value_strokeWidth_value.value0; - valueSerializer.writeString(value_strokeWidth_value_0); - } - else if (value_strokeWidth_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_strokeWidth_value_1 = value_strokeWidth_value.value1; - valueSerializer.writeNumber(value_strokeWidth_value_1); - } - else if (value_strokeWidth_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_strokeWidth_value_2 = value_strokeWidth_value.value2; - valueSerializer.writeResource(value_strokeWidth_value_2); - } - } - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_type = value_color_value.selector; - if (value_color_value_type == 0) { + const auto value_nonCurrentMonthDayColor = value.nonCurrentMonthDayColor; + Ark_Int32 value_nonCurrentMonthDayColor_type = INTEROP_RUNTIME_UNDEFINED; + value_nonCurrentMonthDayColor_type = runtimeType(value_nonCurrentMonthDayColor); + valueSerializer.writeInt8(value_nonCurrentMonthDayColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonCurrentMonthDayColor_type)) { + const auto value_nonCurrentMonthDayColor_value = value_nonCurrentMonthDayColor.value; + Ark_Int32 value_nonCurrentMonthDayColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_nonCurrentMonthDayColor_value_type = value_nonCurrentMonthDayColor_value.selector; + if (value_nonCurrentMonthDayColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_color_value_0 = value_color_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0)); + const auto value_nonCurrentMonthDayColor_value_0 = value_nonCurrentMonthDayColor_value.value0; + valueSerializer.writeInt32(static_cast(value_nonCurrentMonthDayColor_value_0)); } - else if (value_color_value_type == 1) { + else if (value_nonCurrentMonthDayColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeNumber(value_color_value_1); + const auto value_nonCurrentMonthDayColor_value_1 = value_nonCurrentMonthDayColor_value.value1; + valueSerializer.writeNumber(value_nonCurrentMonthDayColor_value_1); } - else if (value_color_value_type == 2) { + else if (value_nonCurrentMonthDayColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeString(value_color_value_2); + const auto value_nonCurrentMonthDayColor_value_2 = value_nonCurrentMonthDayColor_value.value2; + valueSerializer.writeString(value_nonCurrentMonthDayColor_value_2); } - else if (value_color_value_type == 3) { + else if (value_nonCurrentMonthDayColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeResource(value_color_value_3); - } - } - const auto value_startMargin = value.startMargin; - Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; - value_startMargin_type = runtimeType(value_startMargin); - valueSerializer.writeInt8(value_startMargin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { - const auto value_startMargin_value = value_startMargin.value; - Ark_Int32 value_startMargin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_startMargin_value_type = value_startMargin_value.selector; - if (value_startMargin_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_startMargin_value_0 = value_startMargin_value.value0; - valueSerializer.writeString(value_startMargin_value_0); - } - else if (value_startMargin_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_startMargin_value_1 = value_startMargin_value.value1; - valueSerializer.writeNumber(value_startMargin_value_1); - } - else if (value_startMargin_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_startMargin_value_2 = value_startMargin_value.value2; - valueSerializer.writeResource(value_startMargin_value_2); - } - } - const auto value_endMargin = value.endMargin; - Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; - value_endMargin_type = runtimeType(value_endMargin); - valueSerializer.writeInt8(value_endMargin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { - const auto value_endMargin_value = value_endMargin.value; - Ark_Int32 value_endMargin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_endMargin_value_type = value_endMargin_value.selector; - if (value_endMargin_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_endMargin_value_0 = value_endMargin_value.value0; - valueSerializer.writeString(value_endMargin_value_0); - } - else if (value_endMargin_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_endMargin_value_1 = value_endMargin_value.value1; - valueSerializer.writeNumber(value_endMargin_value_1); - } - else if (value_endMargin_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_endMargin_value_2 = value_endMargin_value.value2; - valueSerializer.writeResource(value_endMargin_value_2); + const auto value_nonCurrentMonthDayColor_value_3 = value_nonCurrentMonthDayColor_value.value3; + valueSerializer.writeResource(value_nonCurrentMonthDayColor_value_3); } } - } - void writeDividerStyle(Ark_DividerStyle value) - { - Serializer& valueSerializer = *this; - const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_type = value_strokeWidth.selector; - if (value_strokeWidth_type == 0) { - valueSerializer.writeInt8(0); - const auto value_strokeWidth_0 = value_strokeWidth.value0; - valueSerializer.writeString(value_strokeWidth_0); - } - else if (value_strokeWidth_type == 1) { - valueSerializer.writeInt8(1); - const auto value_strokeWidth_1 = value_strokeWidth.value1; - valueSerializer.writeNumber(value_strokeWidth_1); - } - else if (value_strokeWidth_type == 2) { - valueSerializer.writeInt8(2); - const auto value_strokeWidth_2 = value_strokeWidth.value2; - valueSerializer.writeResource(value_strokeWidth_2); - } - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_type = value_color_value.selector; - if (value_color_value_type == 0) { + const auto value_nonCurrentMonthLunarColor = value.nonCurrentMonthLunarColor; + Ark_Int32 value_nonCurrentMonthLunarColor_type = INTEROP_RUNTIME_UNDEFINED; + value_nonCurrentMonthLunarColor_type = runtimeType(value_nonCurrentMonthLunarColor); + valueSerializer.writeInt8(value_nonCurrentMonthLunarColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonCurrentMonthLunarColor_type)) { + const auto value_nonCurrentMonthLunarColor_value = value_nonCurrentMonthLunarColor.value; + Ark_Int32 value_nonCurrentMonthLunarColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_nonCurrentMonthLunarColor_value_type = value_nonCurrentMonthLunarColor_value.selector; + if (value_nonCurrentMonthLunarColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_color_value_0 = value_color_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0)); + const auto value_nonCurrentMonthLunarColor_value_0 = value_nonCurrentMonthLunarColor_value.value0; + valueSerializer.writeInt32(static_cast(value_nonCurrentMonthLunarColor_value_0)); } - else if (value_color_value_type == 1) { + else if (value_nonCurrentMonthLunarColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeNumber(value_color_value_1); + const auto value_nonCurrentMonthLunarColor_value_1 = value_nonCurrentMonthLunarColor_value.value1; + valueSerializer.writeNumber(value_nonCurrentMonthLunarColor_value_1); } - else if (value_color_value_type == 2) { + else if (value_nonCurrentMonthLunarColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeString(value_color_value_2); + const auto value_nonCurrentMonthLunarColor_value_2 = value_nonCurrentMonthLunarColor_value.value2; + valueSerializer.writeString(value_nonCurrentMonthLunarColor_value_2); } - else if (value_color_value_type == 3) { + else if (value_nonCurrentMonthLunarColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeResource(value_color_value_3); + const auto value_nonCurrentMonthLunarColor_value_3 = value_nonCurrentMonthLunarColor_value.value3; + valueSerializer.writeResource(value_nonCurrentMonthLunarColor_value_3); } } - const auto value_startMargin = value.startMargin; - Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; - value_startMargin_type = runtimeType(value_startMargin); - valueSerializer.writeInt8(value_startMargin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { - const auto value_startMargin_value = value_startMargin.value; - Ark_Int32 value_startMargin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_startMargin_value_type = value_startMargin_value.selector; - if (value_startMargin_value_type == 0) { + const auto value_nonCurrentMonthWorkDayMarkColor = value.nonCurrentMonthWorkDayMarkColor; + Ark_Int32 value_nonCurrentMonthWorkDayMarkColor_type = INTEROP_RUNTIME_UNDEFINED; + value_nonCurrentMonthWorkDayMarkColor_type = runtimeType(value_nonCurrentMonthWorkDayMarkColor); + valueSerializer.writeInt8(value_nonCurrentMonthWorkDayMarkColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonCurrentMonthWorkDayMarkColor_type)) { + const auto value_nonCurrentMonthWorkDayMarkColor_value = value_nonCurrentMonthWorkDayMarkColor.value; + Ark_Int32 value_nonCurrentMonthWorkDayMarkColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_nonCurrentMonthWorkDayMarkColor_value_type = value_nonCurrentMonthWorkDayMarkColor_value.selector; + if (value_nonCurrentMonthWorkDayMarkColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_startMargin_value_0 = value_startMargin_value.value0; - valueSerializer.writeString(value_startMargin_value_0); + const auto value_nonCurrentMonthWorkDayMarkColor_value_0 = value_nonCurrentMonthWorkDayMarkColor_value.value0; + valueSerializer.writeInt32(static_cast(value_nonCurrentMonthWorkDayMarkColor_value_0)); } - else if (value_startMargin_value_type == 1) { + else if (value_nonCurrentMonthWorkDayMarkColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_startMargin_value_1 = value_startMargin_value.value1; - valueSerializer.writeNumber(value_startMargin_value_1); + const auto value_nonCurrentMonthWorkDayMarkColor_value_1 = value_nonCurrentMonthWorkDayMarkColor_value.value1; + valueSerializer.writeNumber(value_nonCurrentMonthWorkDayMarkColor_value_1); } - else if (value_startMargin_value_type == 2) { + else if (value_nonCurrentMonthWorkDayMarkColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_startMargin_value_2 = value_startMargin_value.value2; - valueSerializer.writeResource(value_startMargin_value_2); + const auto value_nonCurrentMonthWorkDayMarkColor_value_2 = value_nonCurrentMonthWorkDayMarkColor_value.value2; + valueSerializer.writeString(value_nonCurrentMonthWorkDayMarkColor_value_2); + } + else if (value_nonCurrentMonthWorkDayMarkColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_nonCurrentMonthWorkDayMarkColor_value_3 = value_nonCurrentMonthWorkDayMarkColor_value.value3; + valueSerializer.writeResource(value_nonCurrentMonthWorkDayMarkColor_value_3); } } - const auto value_endMargin = value.endMargin; - Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; - value_endMargin_type = runtimeType(value_endMargin); - valueSerializer.writeInt8(value_endMargin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { - const auto value_endMargin_value = value_endMargin.value; - Ark_Int32 value_endMargin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_endMargin_value_type = value_endMargin_value.selector; - if (value_endMargin_value_type == 0) { + const auto value_nonCurrentMonthOffDayMarkColor = value.nonCurrentMonthOffDayMarkColor; + Ark_Int32 value_nonCurrentMonthOffDayMarkColor_type = INTEROP_RUNTIME_UNDEFINED; + value_nonCurrentMonthOffDayMarkColor_type = runtimeType(value_nonCurrentMonthOffDayMarkColor); + valueSerializer.writeInt8(value_nonCurrentMonthOffDayMarkColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonCurrentMonthOffDayMarkColor_type)) { + const auto value_nonCurrentMonthOffDayMarkColor_value = value_nonCurrentMonthOffDayMarkColor.value; + Ark_Int32 value_nonCurrentMonthOffDayMarkColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_nonCurrentMonthOffDayMarkColor_value_type = value_nonCurrentMonthOffDayMarkColor_value.selector; + if (value_nonCurrentMonthOffDayMarkColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_endMargin_value_0 = value_endMargin_value.value0; - valueSerializer.writeString(value_endMargin_value_0); + const auto value_nonCurrentMonthOffDayMarkColor_value_0 = value_nonCurrentMonthOffDayMarkColor_value.value0; + valueSerializer.writeInt32(static_cast(value_nonCurrentMonthOffDayMarkColor_value_0)); } - else if (value_endMargin_value_type == 1) { + else if (value_nonCurrentMonthOffDayMarkColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_endMargin_value_1 = value_endMargin_value.value1; - valueSerializer.writeNumber(value_endMargin_value_1); + const auto value_nonCurrentMonthOffDayMarkColor_value_1 = value_nonCurrentMonthOffDayMarkColor_value.value1; + valueSerializer.writeNumber(value_nonCurrentMonthOffDayMarkColor_value_1); } - else if (value_endMargin_value_type == 2) { + else if (value_nonCurrentMonthOffDayMarkColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_endMargin_value_2 = value_endMargin_value.value2; - valueSerializer.writeResource(value_endMargin_value_2); + const auto value_nonCurrentMonthOffDayMarkColor_value_2 = value_nonCurrentMonthOffDayMarkColor_value.value2; + valueSerializer.writeString(value_nonCurrentMonthOffDayMarkColor_value_2); + } + else if (value_nonCurrentMonthOffDayMarkColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_nonCurrentMonthOffDayMarkColor_value_3 = value_nonCurrentMonthOffDayMarkColor_value.value3; + valueSerializer.writeResource(value_nonCurrentMonthOffDayMarkColor_value_3); } } } - void writeDividerStyleOptions(Ark_DividerStyleOptions value) + void writeOffscreenCanvasRenderingContext2D(Ark_OffscreenCanvasRenderingContext2D value) { Serializer& valueSerializer = *this; - const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_type = runtimeType(value_strokeWidth); - valueSerializer.writeInt8(value_strokeWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { - const auto value_strokeWidth_value = value_strokeWidth.value; - valueSerializer.writeLengthMetrics(value_strokeWidth_value); + valueSerializer.writePointer(value); + } + void writeOffset(Ark_Offset value) + { + Serializer& valueSerializer = *this; + const auto value_dx = value.dx; + Ark_Int32 value_dx_type = INTEROP_RUNTIME_UNDEFINED; + value_dx_type = value_dx.selector; + if (value_dx_type == 0) { + valueSerializer.writeInt8(0); + const auto value_dx_0 = value_dx.value0; + valueSerializer.writeString(value_dx_0); } - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_type = value_color_value.selector; - if (value_color_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_color_value_0 = value_color_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0)); - } - else if (value_color_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeNumber(value_color_value_1); - } - else if (value_color_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeString(value_color_value_2); - } - else if (value_color_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeResource(value_color_value_3); - } + else if (value_dx_type == 1) { + valueSerializer.writeInt8(1); + const auto value_dx_1 = value_dx.value1; + valueSerializer.writeNumber(value_dx_1); } - const auto value_startMargin = value.startMargin; - Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; - value_startMargin_type = runtimeType(value_startMargin); - valueSerializer.writeInt8(value_startMargin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { - const auto value_startMargin_value = value_startMargin.value; - valueSerializer.writeLengthMetrics(value_startMargin_value); + else if (value_dx_type == 2) { + valueSerializer.writeInt8(2); + const auto value_dx_2 = value_dx.value2; + valueSerializer.writeResource(value_dx_2); } - const auto value_endMargin = value.endMargin; - Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; - value_endMargin_type = runtimeType(value_endMargin); - valueSerializer.writeInt8(value_endMargin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { - const auto value_endMargin_value = value_endMargin.value; - valueSerializer.writeLengthMetrics(value_endMargin_value); + const auto value_dy = value.dy; + Ark_Int32 value_dy_type = INTEROP_RUNTIME_UNDEFINED; + value_dy_type = value_dy.selector; + if (value_dy_type == 0) { + valueSerializer.writeInt8(0); + const auto value_dy_0 = value_dy.value0; + valueSerializer.writeString(value_dy_0); + } + else if (value_dy_type == 1) { + valueSerializer.writeInt8(1); + const auto value_dy_1 = value_dy.value1; + valueSerializer.writeNumber(value_dy_1); + } + else if (value_dy_type == 2) { + valueSerializer.writeInt8(2); + const auto value_dy_2 = value_dy.value2; + valueSerializer.writeResource(value_dy_2); } } - void writeDotIndicator(Ark_DotIndicator value) + void writeOverlayOptions(Ark_OverlayOptions value) { Serializer& valueSerializer = *this; - const auto value__left = value._left; - Ark_Int32 value__left_type = INTEROP_RUNTIME_UNDEFINED; - value__left_type = runtimeType(value__left); - valueSerializer.writeInt8(value__left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__left_type)) { - const auto value__left_value = value__left.value; - Ark_Int32 value__left_value_type = INTEROP_RUNTIME_UNDEFINED; - value__left_value_type = value__left_value.selector; - if (value__left_value_type == 0) { + const auto value_align = value.align; + Ark_Int32 value_align_type = INTEROP_RUNTIME_UNDEFINED; + value_align_type = runtimeType(value_align); + valueSerializer.writeInt8(value_align_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_align_type)) { + const auto value_align_value = value_align.value; + valueSerializer.writeInt32(static_cast(value_align_value)); + } + const auto value_offset = value.offset; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; + value_offset_type = runtimeType(value_offset); + valueSerializer.writeInt8(value_offset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { + const auto value_offset_value = value_offset.value; + valueSerializer.writeOverlayOffset(value_offset_value); + } + } + void writePasswordIcon(Ark_PasswordIcon value) + { + Serializer& valueSerializer = *this; + const auto value_onIconSrc = value.onIconSrc; + Ark_Int32 value_onIconSrc_type = INTEROP_RUNTIME_UNDEFINED; + value_onIconSrc_type = runtimeType(value_onIconSrc); + valueSerializer.writeInt8(value_onIconSrc_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onIconSrc_type)) { + const auto value_onIconSrc_value = value_onIconSrc.value; + Ark_Int32 value_onIconSrc_value_type = INTEROP_RUNTIME_UNDEFINED; + value_onIconSrc_value_type = value_onIconSrc_value.selector; + if (value_onIconSrc_value_type == 0) { valueSerializer.writeInt8(0); - const auto value__left_value_0 = value__left_value.value0; - valueSerializer.writeString(value__left_value_0); + const auto value_onIconSrc_value_0 = value_onIconSrc_value.value0; + valueSerializer.writeString(value_onIconSrc_value_0); } - else if (value__left_value_type == 1) { + else if (value_onIconSrc_value_type == 1) { valueSerializer.writeInt8(1); - const auto value__left_value_1 = value__left_value.value1; - valueSerializer.writeNumber(value__left_value_1); - } - else if (value__left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value__left_value_2 = value__left_value.value2; - valueSerializer.writeResource(value__left_value_2); + const auto value_onIconSrc_value_1 = value_onIconSrc_value.value1; + valueSerializer.writeResource(value_onIconSrc_value_1); } } - const auto value__top = value._top; - Ark_Int32 value__top_type = INTEROP_RUNTIME_UNDEFINED; - value__top_type = runtimeType(value__top); - valueSerializer.writeInt8(value__top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__top_type)) { - const auto value__top_value = value__top.value; - Ark_Int32 value__top_value_type = INTEROP_RUNTIME_UNDEFINED; - value__top_value_type = value__top_value.selector; - if (value__top_value_type == 0) { + const auto value_offIconSrc = value.offIconSrc; + Ark_Int32 value_offIconSrc_type = INTEROP_RUNTIME_UNDEFINED; + value_offIconSrc_type = runtimeType(value_offIconSrc); + valueSerializer.writeInt8(value_offIconSrc_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offIconSrc_type)) { + const auto value_offIconSrc_value = value_offIconSrc.value; + Ark_Int32 value_offIconSrc_value_type = INTEROP_RUNTIME_UNDEFINED; + value_offIconSrc_value_type = value_offIconSrc_value.selector; + if (value_offIconSrc_value_type == 0) { valueSerializer.writeInt8(0); - const auto value__top_value_0 = value__top_value.value0; - valueSerializer.writeString(value__top_value_0); + const auto value_offIconSrc_value_0 = value_offIconSrc_value.value0; + valueSerializer.writeString(value_offIconSrc_value_0); } - else if (value__top_value_type == 1) { + else if (value_offIconSrc_value_type == 1) { valueSerializer.writeInt8(1); - const auto value__top_value_1 = value__top_value.value1; - valueSerializer.writeNumber(value__top_value_1); - } - else if (value__top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value__top_value_2 = value__top_value.value2; - valueSerializer.writeResource(value__top_value_2); + const auto value_offIconSrc_value_1 = value_offIconSrc_value.value1; + valueSerializer.writeResource(value_offIconSrc_value_1); } } - const auto value__right = value._right; - Ark_Int32 value__right_type = INTEROP_RUNTIME_UNDEFINED; - value__right_type = runtimeType(value__right); - valueSerializer.writeInt8(value__right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__right_type)) { - const auto value__right_value = value__right.value; - Ark_Int32 value__right_value_type = INTEROP_RUNTIME_UNDEFINED; - value__right_value_type = value__right_value.selector; - if (value__right_value_type == 0) { + } + void writePluginComponentOptions(Ark_PluginComponentOptions value) + { + Serializer& valueSerializer = *this; + const auto value_template = value.template_; + valueSerializer.writePluginComponentTemplate(value_template); + const auto value_data = value.data; + valueSerializer.writeString(value_data); + } + void writeRadioStyle(Ark_RadioStyle value) + { + Serializer& valueSerializer = *this; + const auto value_checkedBackgroundColor = value.checkedBackgroundColor; + Ark_Int32 value_checkedBackgroundColor_type = INTEROP_RUNTIME_UNDEFINED; + value_checkedBackgroundColor_type = runtimeType(value_checkedBackgroundColor); + valueSerializer.writeInt8(value_checkedBackgroundColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_checkedBackgroundColor_type)) { + const auto value_checkedBackgroundColor_value = value_checkedBackgroundColor.value; + Ark_Int32 value_checkedBackgroundColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_checkedBackgroundColor_value_type = value_checkedBackgroundColor_value.selector; + if (value_checkedBackgroundColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value__right_value_0 = value__right_value.value0; - valueSerializer.writeString(value__right_value_0); + const auto value_checkedBackgroundColor_value_0 = value_checkedBackgroundColor_value.value0; + valueSerializer.writeInt32(static_cast(value_checkedBackgroundColor_value_0)); } - else if (value__right_value_type == 1) { + else if (value_checkedBackgroundColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value__right_value_1 = value__right_value.value1; - valueSerializer.writeNumber(value__right_value_1); + const auto value_checkedBackgroundColor_value_1 = value_checkedBackgroundColor_value.value1; + valueSerializer.writeNumber(value_checkedBackgroundColor_value_1); } - else if (value__right_value_type == 2) { + else if (value_checkedBackgroundColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value__right_value_2 = value__right_value.value2; - valueSerializer.writeResource(value__right_value_2); + const auto value_checkedBackgroundColor_value_2 = value_checkedBackgroundColor_value.value2; + valueSerializer.writeString(value_checkedBackgroundColor_value_2); + } + else if (value_checkedBackgroundColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_checkedBackgroundColor_value_3 = value_checkedBackgroundColor_value.value3; + valueSerializer.writeResource(value_checkedBackgroundColor_value_3); } } - const auto value__bottom = value._bottom; - Ark_Int32 value__bottom_type = INTEROP_RUNTIME_UNDEFINED; - value__bottom_type = runtimeType(value__bottom); - valueSerializer.writeInt8(value__bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__bottom_type)) { - const auto value__bottom_value = value__bottom.value; - Ark_Int32 value__bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value__bottom_value_type = value__bottom_value.selector; - if (value__bottom_value_type == 0) { + const auto value_uncheckedBorderColor = value.uncheckedBorderColor; + Ark_Int32 value_uncheckedBorderColor_type = INTEROP_RUNTIME_UNDEFINED; + value_uncheckedBorderColor_type = runtimeType(value_uncheckedBorderColor); + valueSerializer.writeInt8(value_uncheckedBorderColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_uncheckedBorderColor_type)) { + const auto value_uncheckedBorderColor_value = value_uncheckedBorderColor.value; + Ark_Int32 value_uncheckedBorderColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_uncheckedBorderColor_value_type = value_uncheckedBorderColor_value.selector; + if (value_uncheckedBorderColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value__bottom_value_0 = value__bottom_value.value0; - valueSerializer.writeString(value__bottom_value_0); + const auto value_uncheckedBorderColor_value_0 = value_uncheckedBorderColor_value.value0; + valueSerializer.writeInt32(static_cast(value_uncheckedBorderColor_value_0)); } - else if (value__bottom_value_type == 1) { + else if (value_uncheckedBorderColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value__bottom_value_1 = value__bottom_value.value1; - valueSerializer.writeNumber(value__bottom_value_1); + const auto value_uncheckedBorderColor_value_1 = value_uncheckedBorderColor_value.value1; + valueSerializer.writeNumber(value_uncheckedBorderColor_value_1); } - else if (value__bottom_value_type == 2) { + else if (value_uncheckedBorderColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value__bottom_value_2 = value__bottom_value.value2; - valueSerializer.writeResource(value__bottom_value_2); + const auto value_uncheckedBorderColor_value_2 = value_uncheckedBorderColor_value.value2; + valueSerializer.writeString(value_uncheckedBorderColor_value_2); + } + else if (value_uncheckedBorderColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_uncheckedBorderColor_value_3 = value_uncheckedBorderColor_value.value3; + valueSerializer.writeResource(value_uncheckedBorderColor_value_3); } } - const auto value__start = value._start; - Ark_Int32 value__start_type = INTEROP_RUNTIME_UNDEFINED; - value__start_type = runtimeType(value__start); - valueSerializer.writeInt8(value__start_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__start_type)) { - const auto value__start_value = value__start.value; - valueSerializer.writeLengthMetrics(value__start_value); - } - const auto value__end = value._end; - Ark_Int32 value__end_type = INTEROP_RUNTIME_UNDEFINED; - value__end_type = runtimeType(value__end); - valueSerializer.writeInt8(value__end_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__end_type)) { - const auto value__end_value = value__end.value; - valueSerializer.writeLengthMetrics(value__end_value); - } - const auto value__itemWidth = value._itemWidth; - Ark_Int32 value__itemWidth_type = INTEROP_RUNTIME_UNDEFINED; - value__itemWidth_type = runtimeType(value__itemWidth); - valueSerializer.writeInt8(value__itemWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__itemWidth_type)) { - const auto value__itemWidth_value = value__itemWidth.value; - Ark_Int32 value__itemWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value__itemWidth_value_type = value__itemWidth_value.selector; - if (value__itemWidth_value_type == 0) { + const auto value_indicatorColor = value.indicatorColor; + Ark_Int32 value_indicatorColor_type = INTEROP_RUNTIME_UNDEFINED; + value_indicatorColor_type = runtimeType(value_indicatorColor); + valueSerializer.writeInt8(value_indicatorColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_indicatorColor_type)) { + const auto value_indicatorColor_value = value_indicatorColor.value; + Ark_Int32 value_indicatorColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_indicatorColor_value_type = value_indicatorColor_value.selector; + if (value_indicatorColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value__itemWidth_value_0 = value__itemWidth_value.value0; - valueSerializer.writeString(value__itemWidth_value_0); + const auto value_indicatorColor_value_0 = value_indicatorColor_value.value0; + valueSerializer.writeInt32(static_cast(value_indicatorColor_value_0)); } - else if (value__itemWidth_value_type == 1) { + else if (value_indicatorColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value__itemWidth_value_1 = value__itemWidth_value.value1; - valueSerializer.writeNumber(value__itemWidth_value_1); + const auto value_indicatorColor_value_1 = value_indicatorColor_value.value1; + valueSerializer.writeNumber(value_indicatorColor_value_1); } - else if (value__itemWidth_value_type == 2) { + else if (value_indicatorColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value__itemWidth_value_2 = value__itemWidth_value.value2; - valueSerializer.writeResource(value__itemWidth_value_2); + const auto value_indicatorColor_value_2 = value_indicatorColor_value.value2; + valueSerializer.writeString(value_indicatorColor_value_2); + } + else if (value_indicatorColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_indicatorColor_value_3 = value_indicatorColor_value.value3; + valueSerializer.writeResource(value_indicatorColor_value_3); } } - const auto value__itemHeight = value._itemHeight; - Ark_Int32 value__itemHeight_type = INTEROP_RUNTIME_UNDEFINED; - value__itemHeight_type = runtimeType(value__itemHeight); - valueSerializer.writeInt8(value__itemHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__itemHeight_type)) { - const auto value__itemHeight_value = value__itemHeight.value; - Ark_Int32 value__itemHeight_value_type = INTEROP_RUNTIME_UNDEFINED; - value__itemHeight_value_type = value__itemHeight_value.selector; - if (value__itemHeight_value_type == 0) { + } + void writeRectOptions(Ark_RectOptions value) + { + Serializer& valueSerializer = *this; + const auto value_width = value.width; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; + value_width_type = runtimeType(value_width); + valueSerializer.writeInt8(value_width_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { + const auto value_width_value = value_width.value; + Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; + value_width_value_type = value_width_value.selector; + if (value_width_value_type == 0) { valueSerializer.writeInt8(0); - const auto value__itemHeight_value_0 = value__itemHeight_value.value0; - valueSerializer.writeString(value__itemHeight_value_0); + const auto value_width_value_0 = value_width_value.value0; + valueSerializer.writeNumber(value_width_value_0); } - else if (value__itemHeight_value_type == 1) { + else if (value_width_value_type == 1) { valueSerializer.writeInt8(1); - const auto value__itemHeight_value_1 = value__itemHeight_value.value1; - valueSerializer.writeNumber(value__itemHeight_value_1); - } - else if (value__itemHeight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value__itemHeight_value_2 = value__itemHeight_value.value2; - valueSerializer.writeResource(value__itemHeight_value_2); + const auto value_width_value_1 = value_width_value.value1; + valueSerializer.writeString(value_width_value_1); } } - const auto value__selectedItemWidth = value._selectedItemWidth; - Ark_Int32 value__selectedItemWidth_type = INTEROP_RUNTIME_UNDEFINED; - value__selectedItemWidth_type = runtimeType(value__selectedItemWidth); - valueSerializer.writeInt8(value__selectedItemWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__selectedItemWidth_type)) { - const auto value__selectedItemWidth_value = value__selectedItemWidth.value; - Ark_Int32 value__selectedItemWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value__selectedItemWidth_value_type = value__selectedItemWidth_value.selector; - if (value__selectedItemWidth_value_type == 0) { + const auto value_height = value.height; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; + value_height_type = runtimeType(value_height); + valueSerializer.writeInt8(value_height_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { + const auto value_height_value = value_height.value; + Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; + value_height_value_type = value_height_value.selector; + if (value_height_value_type == 0) { valueSerializer.writeInt8(0); - const auto value__selectedItemWidth_value_0 = value__selectedItemWidth_value.value0; - valueSerializer.writeString(value__selectedItemWidth_value_0); + const auto value_height_value_0 = value_height_value.value0; + valueSerializer.writeNumber(value_height_value_0); } - else if (value__selectedItemWidth_value_type == 1) { + else if (value_height_value_type == 1) { valueSerializer.writeInt8(1); - const auto value__selectedItemWidth_value_1 = value__selectedItemWidth_value.value1; - valueSerializer.writeNumber(value__selectedItemWidth_value_1); - } - else if (value__selectedItemWidth_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value__selectedItemWidth_value_2 = value__selectedItemWidth_value.value2; - valueSerializer.writeResource(value__selectedItemWidth_value_2); + const auto value_height_value_1 = value_height_value.value1; + valueSerializer.writeString(value_height_value_1); } } - const auto value__selectedItemHeight = value._selectedItemHeight; - Ark_Int32 value__selectedItemHeight_type = INTEROP_RUNTIME_UNDEFINED; - value__selectedItemHeight_type = runtimeType(value__selectedItemHeight); - valueSerializer.writeInt8(value__selectedItemHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__selectedItemHeight_type)) { - const auto value__selectedItemHeight_value = value__selectedItemHeight.value; - Ark_Int32 value__selectedItemHeight_value_type = INTEROP_RUNTIME_UNDEFINED; - value__selectedItemHeight_value_type = value__selectedItemHeight_value.selector; - if (value__selectedItemHeight_value_type == 0) { + const auto value_radius = value.radius; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_type = runtimeType(value_radius); + valueSerializer.writeInt8(value_radius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { + const auto value_radius_value = value_radius.value; + Ark_Int32 value_radius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_value_type = value_radius_value.selector; + if (value_radius_value_type == 0) { valueSerializer.writeInt8(0); - const auto value__selectedItemHeight_value_0 = value__selectedItemHeight_value.value0; - valueSerializer.writeString(value__selectedItemHeight_value_0); + const auto value_radius_value_0 = value_radius_value.value0; + valueSerializer.writeNumber(value_radius_value_0); } - else if (value__selectedItemHeight_value_type == 1) { + else if (value_radius_value_type == 1) { valueSerializer.writeInt8(1); - const auto value__selectedItemHeight_value_1 = value__selectedItemHeight_value.value1; - valueSerializer.writeNumber(value__selectedItemHeight_value_1); + const auto value_radius_value_1 = value_radius_value.value1; + valueSerializer.writeString(value_radius_value_1); } - else if (value__selectedItemHeight_value_type == 2) { + else if (value_radius_value_type == 2) { valueSerializer.writeInt8(2); - const auto value__selectedItemHeight_value_2 = value__selectedItemHeight_value.value2; - valueSerializer.writeResource(value__selectedItemHeight_value_2); + const auto value_radius_value_2 = value_radius_value.value2; + valueSerializer.writeInt32(value_radius_value_2.length); + for (int i = 0; i < value_radius_value_2.length; i++) { + const Ark_Union_Number_String value_radius_value_2_element = value_radius_value_2.array[i]; + Ark_Int32 value_radius_value_2_element_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_value_2_element_type = value_radius_value_2_element.selector; + if (value_radius_value_2_element_type == 0) { + valueSerializer.writeInt8(0); + const auto value_radius_value_2_element_0 = value_radius_value_2_element.value0; + valueSerializer.writeNumber(value_radius_value_2_element_0); + } + else if (value_radius_value_2_element_type == 1) { + valueSerializer.writeInt8(1); + const auto value_radius_value_2_element_1 = value_radius_value_2_element.value1; + valueSerializer.writeString(value_radius_value_2_element_1); + } + } } } - const auto value__mask = value._mask; - Ark_Int32 value__mask_type = INTEROP_RUNTIME_UNDEFINED; - value__mask_type = runtimeType(value__mask); - valueSerializer.writeInt8(value__mask_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__mask_type)) { - const auto value__mask_value = value__mask.value; - valueSerializer.writeBoolean(value__mask_value); - } - const auto value__color = value._color; - Ark_Int32 value__color_type = INTEROP_RUNTIME_UNDEFINED; - value__color_type = runtimeType(value__color); - valueSerializer.writeInt8(value__color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__color_type)) { - const auto value__color_value = value__color.value; - Ark_Int32 value__color_value_type = INTEROP_RUNTIME_UNDEFINED; - value__color_value_type = value__color_value.selector; - if (value__color_value_type == 0) { + } + void writeRectShapeOptions(Ark_RectShapeOptions value) + { + Serializer& valueSerializer = *this; + const auto value_width = value.width; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; + value_width_type = runtimeType(value_width); + valueSerializer.writeInt8(value_width_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { + const auto value_width_value = value_width.value; + Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; + value_width_value_type = value_width_value.selector; + if (value_width_value_type == 0) { valueSerializer.writeInt8(0); - const auto value__color_value_0 = value__color_value.value0; - valueSerializer.writeInt32(static_cast(value__color_value_0)); + const auto value_width_value_0 = value_width_value.value0; + valueSerializer.writeNumber(value_width_value_0); } - else if (value__color_value_type == 1) { + else if (value_width_value_type == 1) { valueSerializer.writeInt8(1); - const auto value__color_value_1 = value__color_value.value1; - valueSerializer.writeNumber(value__color_value_1); + const auto value_width_value_1 = value_width_value.value1; + valueSerializer.writeString(value_width_value_1); } - else if (value__color_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value__color_value_2 = value__color_value.value2; - valueSerializer.writeString(value__color_value_2); + } + const auto value_height = value.height; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; + value_height_type = runtimeType(value_height); + valueSerializer.writeInt8(value_height_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { + const auto value_height_value = value_height.value; + Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; + value_height_value_type = value_height_value.selector; + if (value_height_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_height_value_0 = value_height_value.value0; + valueSerializer.writeNumber(value_height_value_0); } - else if (value__color_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value__color_value_3 = value__color_value.value3; - valueSerializer.writeResource(value__color_value_3); + else if (value_height_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_height_value_1 = value_height_value.value1; + valueSerializer.writeString(value_height_value_1); } } - const auto value__selectedColor = value._selectedColor; - Ark_Int32 value__selectedColor_type = INTEROP_RUNTIME_UNDEFINED; - value__selectedColor_type = runtimeType(value__selectedColor); - valueSerializer.writeInt8(value__selectedColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__selectedColor_type)) { - const auto value__selectedColor_value = value__selectedColor.value; - Ark_Int32 value__selectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value__selectedColor_value_type = value__selectedColor_value.selector; - if (value__selectedColor_value_type == 0) { + const auto value_radius = value.radius; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_type = runtimeType(value_radius); + valueSerializer.writeInt8(value_radius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { + const auto value_radius_value = value_radius.value; + Ark_Int32 value_radius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_value_type = value_radius_value.selector; + if (value_radius_value_type == 0) { valueSerializer.writeInt8(0); - const auto value__selectedColor_value_0 = value__selectedColor_value.value0; - valueSerializer.writeInt32(static_cast(value__selectedColor_value_0)); + const auto value_radius_value_0 = value_radius_value.value0; + valueSerializer.writeNumber(value_radius_value_0); } - else if (value__selectedColor_value_type == 1) { + else if (value_radius_value_type == 1) { valueSerializer.writeInt8(1); - const auto value__selectedColor_value_1 = value__selectedColor_value.value1; - valueSerializer.writeNumber(value__selectedColor_value_1); + const auto value_radius_value_1 = value_radius_value.value1; + valueSerializer.writeString(value_radius_value_1); } - else if (value__selectedColor_value_type == 2) { + else if (value_radius_value_type == 2) { valueSerializer.writeInt8(2); - const auto value__selectedColor_value_2 = value__selectedColor_value.value2; - valueSerializer.writeString(value__selectedColor_value_2); - } - else if (value__selectedColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value__selectedColor_value_3 = value__selectedColor_value.value3; - valueSerializer.writeResource(value__selectedColor_value_3); + const auto value_radius_value_2 = value_radius_value.value2; + valueSerializer.writeInt32(value_radius_value_2.length); + for (int i = 0; i < value_radius_value_2.length; i++) { + const Ark_Union_Number_String value_radius_value_2_element = value_radius_value_2.array[i]; + Ark_Int32 value_radius_value_2_element_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_value_2_element_type = value_radius_value_2_element.selector; + if (value_radius_value_2_element_type == 0) { + valueSerializer.writeInt8(0); + const auto value_radius_value_2_element_0 = value_radius_value_2_element.value0; + valueSerializer.writeNumber(value_radius_value_2_element_0); + } + else if (value_radius_value_2_element_type == 1) { + valueSerializer.writeInt8(1); + const auto value_radius_value_2_element_1 = value_radius_value_2_element.value1; + valueSerializer.writeString(value_radius_value_2_element_1); + } + } } } - const auto value__maxDisplayCount = value._maxDisplayCount; - Ark_Int32 value__maxDisplayCount_type = INTEROP_RUNTIME_UNDEFINED; - value__maxDisplayCount_type = runtimeType(value__maxDisplayCount); - valueSerializer.writeInt8(value__maxDisplayCount_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value__maxDisplayCount_type)) { - const auto value__maxDisplayCount_value = value__maxDisplayCount.value; - valueSerializer.writeNumber(value__maxDisplayCount_value); - } } - void writeDragPreviewOptions(Ark_DragPreviewOptions value) + void writeRefreshOptions(Ark_RefreshOptions value) { Serializer& valueSerializer = *this; - const auto value_mode = value.mode; - Ark_Int32 value_mode_type = INTEROP_RUNTIME_UNDEFINED; - value_mode_type = runtimeType(value_mode); - valueSerializer.writeInt8(value_mode_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_mode_type)) { - const auto value_mode_value = value_mode.value; - Ark_Int32 value_mode_value_type = INTEROP_RUNTIME_UNDEFINED; - value_mode_value_type = value_mode_value.selector; - if (value_mode_value_type == 0) { + const auto value_refreshing = value.refreshing; + valueSerializer.writeBoolean(value_refreshing); + const auto value_offset = value.offset; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; + value_offset_type = runtimeType(value_offset); + valueSerializer.writeInt8(value_offset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { + const auto value_offset_value = value_offset.value; + Ark_Int32 value_offset_value_type = INTEROP_RUNTIME_UNDEFINED; + value_offset_value_type = value_offset_value.selector; + if (value_offset_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_mode_value_0 = value_mode_value.value0; - valueSerializer.writeInt32(static_cast(value_mode_value_0)); + const auto value_offset_value_0 = value_offset_value.value0; + valueSerializer.writeNumber(value_offset_value_0); } - else if (value_mode_value_type == 1) { + else if (value_offset_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_mode_value_1 = value_mode_value.value1; - valueSerializer.writeInt32(value_mode_value_1.length); - for (int i = 0; i < value_mode_value_1.length; i++) { - const Ark_DragPreviewMode value_mode_value_1_element = value_mode_value_1.array[i]; - valueSerializer.writeInt32(static_cast(value_mode_value_1_element)); - } + const auto value_offset_value_1 = value_offset_value.value1; + valueSerializer.writeString(value_offset_value_1); } } - const auto value_modifier = value.modifier; - Ark_Int32 value_modifier_type = INTEROP_RUNTIME_UNDEFINED; - value_modifier_type = runtimeType(value_modifier); - valueSerializer.writeInt8(value_modifier_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_modifier_type)) { - const auto value_modifier_value = value_modifier.value; - valueSerializer.writeImageModifier(value_modifier_value); + const auto value_friction = value.friction; + Ark_Int32 value_friction_type = INTEROP_RUNTIME_UNDEFINED; + value_friction_type = runtimeType(value_friction); + valueSerializer.writeInt8(value_friction_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_friction_type)) { + const auto value_friction_value = value_friction.value; + Ark_Int32 value_friction_value_type = INTEROP_RUNTIME_UNDEFINED; + value_friction_value_type = value_friction_value.selector; + if (value_friction_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_friction_value_0 = value_friction_value.value0; + valueSerializer.writeNumber(value_friction_value_0); + } + else if (value_friction_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_friction_value_1 = value_friction_value.value1; + valueSerializer.writeString(value_friction_value_1); + } } - const auto value_numberBadge = value.numberBadge; - Ark_Int32 value_numberBadge_type = INTEROP_RUNTIME_UNDEFINED; - value_numberBadge_type = runtimeType(value_numberBadge); - valueSerializer.writeInt8(value_numberBadge_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_numberBadge_type)) { - const auto value_numberBadge_value = value_numberBadge.value; - Ark_Int32 value_numberBadge_value_type = INTEROP_RUNTIME_UNDEFINED; - value_numberBadge_value_type = value_numberBadge_value.selector; - if (value_numberBadge_value_type == 0) { + const auto value_promptText = value.promptText; + Ark_Int32 value_promptText_type = INTEROP_RUNTIME_UNDEFINED; + value_promptText_type = runtimeType(value_promptText); + valueSerializer.writeInt8(value_promptText_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_promptText_type)) { + const auto value_promptText_value = value_promptText.value; + Ark_Int32 value_promptText_value_type = INTEROP_RUNTIME_UNDEFINED; + value_promptText_value_type = value_promptText_value.selector; + if (value_promptText_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_numberBadge_value_0 = value_numberBadge_value.value0; - valueSerializer.writeBoolean(value_numberBadge_value_0); + const auto value_promptText_value_0 = value_promptText_value.value0; + valueSerializer.writeString(value_promptText_value_0); } - else if (value_numberBadge_value_type == 1) { + else if (value_promptText_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_numberBadge_value_1 = value_numberBadge_value.value1; - valueSerializer.writeNumber(value_numberBadge_value_1); + const auto value_promptText_value_1 = value_promptText_value.value1; + valueSerializer.writeResource(value_promptText_value_1); } } + const auto value_builder = value.builder; + Ark_Int32 value_builder_type = INTEROP_RUNTIME_UNDEFINED; + value_builder_type = runtimeType(value_builder); + valueSerializer.writeInt8(value_builder_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_builder_type)) { + const auto value_builder_value = value_builder.value; + valueSerializer.writeCallbackResource(value_builder_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_builder_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_builder_value.callSync)); + } + const auto value_refreshingContent = value.refreshingContent; + Ark_Int32 value_refreshingContent_type = INTEROP_RUNTIME_UNDEFINED; + value_refreshingContent_type = runtimeType(value_refreshingContent); + valueSerializer.writeInt8(value_refreshingContent_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_refreshingContent_type)) { + const auto value_refreshingContent_value = value_refreshingContent.value; + valueSerializer.writeComponentContent(value_refreshingContent_value); + } } - void writeEdges(Ark_Edges value) + void writeRestrictedWorker(Ark_RestrictedWorker value) { Serializer& valueSerializer = *this; - const auto value_top = value.top; - Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_top_type = runtimeType(value_top); - valueSerializer.writeInt8(value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { - const auto value_top_value = value_top.value; - Ark_Int32 value_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_top_value_type = value_top_value.selector; - if (value_top_value_type == 0) { + valueSerializer.writePointer(value); + } + void writeReuseOptions(Ark_ReuseOptions value) + { + Serializer& valueSerializer = *this; + const auto value_reuseId = value.reuseId; + Ark_Int32 value_reuseId_type = INTEROP_RUNTIME_UNDEFINED; + value_reuseId_type = runtimeType(value_reuseId); + valueSerializer.writeInt8(value_reuseId_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_reuseId_type)) { + const auto value_reuseId_value = value_reuseId.value; + valueSerializer.writeCallbackResource(value_reuseId_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_reuseId_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_reuseId_value.callSync)); + } + } + void writeRichEditorBuilderSpanOptions(Ark_RichEditorBuilderSpanOptions value) + { + Serializer& valueSerializer = *this; + const auto value_offset = value.offset; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; + value_offset_type = runtimeType(value_offset); + valueSerializer.writeInt8(value_offset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { + const auto value_offset_value = value_offset.value; + valueSerializer.writeNumber(value_offset_value); + } + const auto value_dragBackgroundColor = value.dragBackgroundColor; + Ark_Int32 value_dragBackgroundColor_type = INTEROP_RUNTIME_UNDEFINED; + value_dragBackgroundColor_type = runtimeType(value_dragBackgroundColor); + valueSerializer.writeInt8(value_dragBackgroundColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dragBackgroundColor_type)) { + const auto value_dragBackgroundColor_value = value_dragBackgroundColor.value; + valueSerializer.writeColorMetrics(value_dragBackgroundColor_value); + } + const auto value_isDragShadowNeeded = value.isDragShadowNeeded; + Ark_Int32 value_isDragShadowNeeded_type = INTEROP_RUNTIME_UNDEFINED; + value_isDragShadowNeeded_type = runtimeType(value_isDragShadowNeeded); + valueSerializer.writeInt8(value_isDragShadowNeeded_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isDragShadowNeeded_type)) { + const auto value_isDragShadowNeeded_value = value_isDragShadowNeeded.value; + valueSerializer.writeBoolean(value_isDragShadowNeeded_value); + } + } + void writeRichEditorChangeValue(Ark_RichEditorChangeValue value) + { + Serializer& valueSerializer = *this; + const auto value_rangeBefore = value.rangeBefore; + valueSerializer.writeTextRange(value_rangeBefore); + const auto value_replacedSpans = value.replacedSpans; + valueSerializer.writeInt32(value_replacedSpans.length); + for (int i = 0; i < value_replacedSpans.length; i++) { + const Ark_RichEditorTextSpanResult value_replacedSpans_element = value_replacedSpans.array[i]; + valueSerializer.writeRichEditorTextSpanResult(value_replacedSpans_element); + } + const auto value_replacedImageSpans = value.replacedImageSpans; + valueSerializer.writeInt32(value_replacedImageSpans.length); + for (int i = 0; i < value_replacedImageSpans.length; i++) { + const Ark_RichEditorImageSpanResult value_replacedImageSpans_element = value_replacedImageSpans.array[i]; + valueSerializer.writeRichEditorImageSpanResult(value_replacedImageSpans_element); + } + const auto value_replacedSymbolSpans = value.replacedSymbolSpans; + valueSerializer.writeInt32(value_replacedSymbolSpans.length); + for (int i = 0; i < value_replacedSymbolSpans.length; i++) { + const Ark_RichEditorTextSpanResult value_replacedSymbolSpans_element = value_replacedSymbolSpans.array[i]; + valueSerializer.writeRichEditorTextSpanResult(value_replacedSymbolSpans_element); + } + } + void writeRichEditorSymbolSpanStyle(Ark_RichEditorSymbolSpanStyle value) + { + Serializer& valueSerializer = *this; + const auto value_fontSize = value.fontSize; + Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; + value_fontSize_type = runtimeType(value_fontSize); + valueSerializer.writeInt8(value_fontSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { + const auto value_fontSize_value = value_fontSize.value; + Ark_Int32 value_fontSize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontSize_value_type = value_fontSize_value.selector; + if (value_fontSize_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_top_value_0 = value_top_value.value0; - valueSerializer.writeString(value_top_value_0); + const auto value_fontSize_value_0 = value_fontSize_value.value0; + valueSerializer.writeNumber(value_fontSize_value_0); } - else if (value_top_value_type == 1) { + else if (value_fontSize_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_top_value_1 = value_top_value.value1; - valueSerializer.writeNumber(value_top_value_1); + const auto value_fontSize_value_1 = value_fontSize_value.value1; + valueSerializer.writeString(value_fontSize_value_1); } - else if (value_top_value_type == 2) { + else if (value_fontSize_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_top_value_2 = value_top_value.value2; - valueSerializer.writeResource(value_top_value_2); + const auto value_fontSize_value_2 = value_fontSize_value.value2; + valueSerializer.writeResource(value_fontSize_value_2); } } - const auto value_left = value.left; - Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; - value_left_type = runtimeType(value_left); - valueSerializer.writeInt8(value_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { - const auto value_left_value = value_left.value; - Ark_Int32 value_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_left_value_type = value_left_value.selector; - if (value_left_value_type == 0) { + const auto value_fontColor = value.fontColor; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; + value_fontColor_type = runtimeType(value_fontColor); + valueSerializer.writeInt8(value_fontColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { + const auto value_fontColor_value = value_fontColor.value; + valueSerializer.writeInt32(value_fontColor_value.length); + for (int i = 0; i < value_fontColor_value.length; i++) { + const Ark_ResourceColor value_fontColor_value_element = value_fontColor_value.array[i]; + Ark_Int32 value_fontColor_value_element_type = INTEROP_RUNTIME_UNDEFINED; + value_fontColor_value_element_type = value_fontColor_value_element.selector; + if (value_fontColor_value_element_type == 0) { + valueSerializer.writeInt8(0); + const auto value_fontColor_value_element_0 = value_fontColor_value_element.value0; + valueSerializer.writeInt32(static_cast(value_fontColor_value_element_0)); + } + else if (value_fontColor_value_element_type == 1) { + valueSerializer.writeInt8(1); + const auto value_fontColor_value_element_1 = value_fontColor_value_element.value1; + valueSerializer.writeNumber(value_fontColor_value_element_1); + } + else if (value_fontColor_value_element_type == 2) { + valueSerializer.writeInt8(2); + const auto value_fontColor_value_element_2 = value_fontColor_value_element.value2; + valueSerializer.writeString(value_fontColor_value_element_2); + } + else if (value_fontColor_value_element_type == 3) { + valueSerializer.writeInt8(3); + const auto value_fontColor_value_element_3 = value_fontColor_value_element.value3; + valueSerializer.writeResource(value_fontColor_value_element_3); + } + } + } + const auto value_fontWeight = value.fontWeight; + Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; + value_fontWeight_type = runtimeType(value_fontWeight); + valueSerializer.writeInt8(value_fontWeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { + const auto value_fontWeight_value = value_fontWeight.value; + Ark_Int32 value_fontWeight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontWeight_value_type = value_fontWeight_value.selector; + if (value_fontWeight_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_left_value_0 = value_left_value.value0; - valueSerializer.writeString(value_left_value_0); + const auto value_fontWeight_value_0 = value_fontWeight_value.value0; + valueSerializer.writeNumber(value_fontWeight_value_0); } - else if (value_left_value_type == 1) { + else if (value_fontWeight_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_left_value_1 = value_left_value.value1; - valueSerializer.writeNumber(value_left_value_1); + const auto value_fontWeight_value_1 = value_fontWeight_value.value1; + valueSerializer.writeInt32(static_cast(value_fontWeight_value_1)); } - else if (value_left_value_type == 2) { + else if (value_fontWeight_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_left_value_2 = value_left_value.value2; - valueSerializer.writeResource(value_left_value_2); + const auto value_fontWeight_value_2 = value_fontWeight_value.value2; + valueSerializer.writeString(value_fontWeight_value_2); } } - const auto value_bottom = value.bottom; - Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_bottom_type = runtimeType(value_bottom); - valueSerializer.writeInt8(value_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { - const auto value_bottom_value = value_bottom.value; - Ark_Int32 value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_bottom_value_type = value_bottom_value.selector; - if (value_bottom_value_type == 0) { + const auto value_effectStrategy = value.effectStrategy; + Ark_Int32 value_effectStrategy_type = INTEROP_RUNTIME_UNDEFINED; + value_effectStrategy_type = runtimeType(value_effectStrategy); + valueSerializer.writeInt8(value_effectStrategy_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_effectStrategy_type)) { + const auto value_effectStrategy_value = value_effectStrategy.value; + valueSerializer.writeInt32(static_cast(value_effectStrategy_value)); + } + const auto value_renderingStrategy = value.renderingStrategy; + Ark_Int32 value_renderingStrategy_type = INTEROP_RUNTIME_UNDEFINED; + value_renderingStrategy_type = runtimeType(value_renderingStrategy); + valueSerializer.writeInt8(value_renderingStrategy_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_renderingStrategy_type)) { + const auto value_renderingStrategy_value = value_renderingStrategy.value; + valueSerializer.writeInt32(static_cast(value_renderingStrategy_value)); + } + } + void writeRichEditorUpdateSymbolSpanStyleOptions(Ark_RichEditorUpdateSymbolSpanStyleOptions value) + { + Serializer& valueSerializer = *this; + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeNumber(value_start_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeNumber(value_end_value); + } + const auto value_symbolStyle = value.symbolStyle; + valueSerializer.writeRichEditorSymbolSpanStyle(value_symbolStyle); + } + void writeRichEditorUrlStyle(Ark_RichEditorUrlStyle value) + { + Serializer& valueSerializer = *this; + const auto value_url = value.url; + Ark_Int32 value_url_type = INTEROP_RUNTIME_UNDEFINED; + value_url_type = runtimeType(value_url); + valueSerializer.writeInt8(value_url_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_url_type)) { + const auto value_url_value = value_url.value; + Ark_Int32 value_url_value_type = INTEROP_RUNTIME_UNDEFINED; + value_url_value_type = value_url_value.selector; + if (value_url_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_bottom_value_0 = value_bottom_value.value0; - valueSerializer.writeString(value_bottom_value_0); + const auto value_url_value_0 = value_url_value.value0; + valueSerializer.writeString(value_url_value_0); } - else if (value_bottom_value_type == 1) { + else if (value_url_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_bottom_value_1 = value_bottom_value.value1; - valueSerializer.writeNumber(value_bottom_value_1); - } - else if (value_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_bottom_value_2 = value_bottom_value.value2; - valueSerializer.writeResource(value_bottom_value_2); + const auto value_url_value_1 = value_url_value.value1; + valueSerializer.writeResource(value_url_value_1); } } - const auto value_right = value.right; - Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; - value_right_type = runtimeType(value_right); - valueSerializer.writeInt8(value_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { - const auto value_right_value = value_right.value; - Ark_Int32 value_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_right_value_type = value_right_value.selector; - if (value_right_value_type == 0) { + } + void writeSceneOptions(Ark_SceneOptions value) + { + Serializer& valueSerializer = *this; + const auto value_scene = value.scene; + Ark_Int32 value_scene_type = INTEROP_RUNTIME_UNDEFINED; + value_scene_type = runtimeType(value_scene); + valueSerializer.writeInt8(value_scene_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scene_type)) { + const auto value_scene_value = value_scene.value; + Ark_Int32 value_scene_value_type = INTEROP_RUNTIME_UNDEFINED; + value_scene_value_type = value_scene_value.selector; + if ((value_scene_value_type == 0) || (value_scene_value_type == 0)) { valueSerializer.writeInt8(0); - const auto value_right_value_0 = value_right_value.value0; - valueSerializer.writeString(value_right_value_0); + const auto value_scene_value_0 = value_scene_value.value0; + Ark_Int32 value_scene_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_scene_value_0_type = value_scene_value_0.selector; + if (value_scene_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_scene_value_0_0 = value_scene_value_0.value0; + valueSerializer.writeString(value_scene_value_0_0); + } + else if (value_scene_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_scene_value_0_1 = value_scene_value_0.value1; + valueSerializer.writeResource(value_scene_value_0_1); + } } - else if (value_right_value_type == 1) { + else if (value_scene_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_right_value_1 = value_right_value.value1; - valueSerializer.writeNumber(value_right_value_1); - } - else if (value_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_right_value_2 = value_right_value.value2; - valueSerializer.writeResource(value_right_value_2); + const auto value_scene_value_1 = value_scene_value.value1; + valueSerializer.writeScene(value_scene_value_1); } } + const auto value_modelType = value.modelType; + Ark_Int32 value_modelType_type = INTEROP_RUNTIME_UNDEFINED; + value_modelType_type = runtimeType(value_modelType); + valueSerializer.writeInt8(value_modelType_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_modelType_type)) { + const auto value_modelType_value = value_modelType.value; + valueSerializer.writeInt32(static_cast(value_modelType_value)); + } } - void writeExpandedMenuItemOptions(Ark_ExpandedMenuItemOptions value) + void writeScrollOptions(Ark_ScrollOptions value) { Serializer& valueSerializer = *this; - const auto value_content = value.content; - Ark_Int32 value_content_type = INTEROP_RUNTIME_UNDEFINED; - value_content_type = value_content.selector; - if (value_content_type == 0) { + const auto value_xOffset = value.xOffset; + Ark_Int32 value_xOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_xOffset_type = value_xOffset.selector; + if (value_xOffset_type == 0) { valueSerializer.writeInt8(0); - const auto value_content_0 = value_content.value0; - valueSerializer.writeString(value_content_0); + const auto value_xOffset_0 = value_xOffset.value0; + valueSerializer.writeNumber(value_xOffset_0); + } + else if (value_xOffset_type == 1) { + valueSerializer.writeInt8(1); + const auto value_xOffset_1 = value_xOffset.value1; + valueSerializer.writeString(value_xOffset_1); + } + const auto value_yOffset = value.yOffset; + Ark_Int32 value_yOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_yOffset_type = value_yOffset.selector; + if (value_yOffset_type == 0) { + valueSerializer.writeInt8(0); + const auto value_yOffset_0 = value_yOffset.value0; + valueSerializer.writeNumber(value_yOffset_0); } - else if (value_content_type == 1) { + else if (value_yOffset_type == 1) { valueSerializer.writeInt8(1); - const auto value_content_1 = value_content.value1; - valueSerializer.writeResource(value_content_1); + const auto value_yOffset_1 = value_yOffset.value1; + valueSerializer.writeString(value_yOffset_1); } - const auto value_startIcon = value.startIcon; - Ark_Int32 value_startIcon_type = INTEROP_RUNTIME_UNDEFINED; - value_startIcon_type = runtimeType(value_startIcon); - valueSerializer.writeInt8(value_startIcon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_startIcon_type)) { - const auto value_startIcon_value = value_startIcon.value; - Ark_Int32 value_startIcon_value_type = INTEROP_RUNTIME_UNDEFINED; - value_startIcon_value_type = value_startIcon_value.selector; - if (value_startIcon_value_type == 0) { + const auto value_animation = value.animation; + Ark_Int32 value_animation_type = INTEROP_RUNTIME_UNDEFINED; + value_animation_type = runtimeType(value_animation); + valueSerializer.writeInt8(value_animation_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_animation_type)) { + const auto value_animation_value = value_animation.value; + Ark_Int32 value_animation_value_type = INTEROP_RUNTIME_UNDEFINED; + value_animation_value_type = value_animation_value.selector; + if (value_animation_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_startIcon_value_0 = value_startIcon_value.value0; - valueSerializer.writeString(value_startIcon_value_0); + const auto value_animation_value_0 = value_animation_value.value0; + valueSerializer.writeScrollAnimationOptions(value_animation_value_0); } - else if (value_startIcon_value_type == 1) { + else if (value_animation_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_startIcon_value_1 = value_startIcon_value.value1; - valueSerializer.writeResource(value_startIcon_value_1); + const auto value_animation_value_1 = value_animation_value.value1; + valueSerializer.writeBoolean(value_animation_value_1); } } - const auto value_action = value.action; - valueSerializer.writeCallbackResource(value_action.resource); - valueSerializer.writePointer(reinterpret_cast(value_action.call)); - valueSerializer.writePointer(reinterpret_cast(value_action.callSync)); } - void writeFadingEdgeOptions(Ark_FadingEdgeOptions value) + void writeScrollToIndexOptions(Ark_ScrollToIndexOptions value) { Serializer& valueSerializer = *this; - const auto value_fadingEdgeLength = value.fadingEdgeLength; - Ark_Int32 value_fadingEdgeLength_type = INTEROP_RUNTIME_UNDEFINED; - value_fadingEdgeLength_type = runtimeType(value_fadingEdgeLength); - valueSerializer.writeInt8(value_fadingEdgeLength_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fadingEdgeLength_type)) { - const auto value_fadingEdgeLength_value = value_fadingEdgeLength.value; - valueSerializer.writeLengthMetrics(value_fadingEdgeLength_value); + const auto value_extraOffset = value.extraOffset; + Ark_Int32 value_extraOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_extraOffset_type = runtimeType(value_extraOffset); + valueSerializer.writeInt8(value_extraOffset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_extraOffset_type)) { + const auto value_extraOffset_value = value_extraOffset.value; + valueSerializer.writeLengthMetrics(value_extraOffset_value); } } - void writeFlexSpaceOptions(Ark_FlexSpaceOptions value) + void writeSearchOptions(Ark_SearchOptions value) { Serializer& valueSerializer = *this; - const auto value_main = value.main; - Ark_Int32 value_main_type = INTEROP_RUNTIME_UNDEFINED; - value_main_type = runtimeType(value_main); - valueSerializer.writeInt8(value_main_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_main_type)) { - const auto value_main_value = value_main.value; - valueSerializer.writeLengthMetrics(value_main_value); + const auto value_value = value.value; + Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; + value_value_type = runtimeType(value_value); + valueSerializer.writeInt8(value_value_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_type)) { + const auto value_value_value = value_value.value; + valueSerializer.writeString(value_value_value); } - const auto value_cross = value.cross; - Ark_Int32 value_cross_type = INTEROP_RUNTIME_UNDEFINED; - value_cross_type = runtimeType(value_cross); - valueSerializer.writeInt8(value_cross_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cross_type)) { - const auto value_cross_value = value_cross.value; - valueSerializer.writeLengthMetrics(value_cross_value); + const auto value_placeholder = value.placeholder; + Ark_Int32 value_placeholder_type = INTEROP_RUNTIME_UNDEFINED; + value_placeholder_type = runtimeType(value_placeholder); + valueSerializer.writeInt8(value_placeholder_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_placeholder_type)) { + const auto value_placeholder_value = value_placeholder.value; + Ark_Int32 value_placeholder_value_type = INTEROP_RUNTIME_UNDEFINED; + value_placeholder_value_type = value_placeholder_value.selector; + if (value_placeholder_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_placeholder_value_0 = value_placeholder_value.value0; + valueSerializer.writeString(value_placeholder_value_0); + } + else if (value_placeholder_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_placeholder_value_1 = value_placeholder_value.value1; + valueSerializer.writeResource(value_placeholder_value_1); + } + } + const auto value_icon = value.icon; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_type = runtimeType(value_icon); + valueSerializer.writeInt8(value_icon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { + const auto value_icon_value = value_icon.value; + valueSerializer.writeString(value_icon_value); + } + const auto value_controller = value.controller; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; + value_controller_type = runtimeType(value_controller); + valueSerializer.writeInt8(value_controller_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { + const auto value_controller_value = value_controller.value; + valueSerializer.writeSearchController(value_controller_value); } } - void writeFocusBoxStyle(Ark_FocusBoxStyle value) + void writeSelectionMenuOptions(Ark_SelectionMenuOptions value) { Serializer& valueSerializer = *this; - const auto value_margin = value.margin; - Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_type = runtimeType(value_margin); - valueSerializer.writeInt8(value_margin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { - const auto value_margin_value = value_margin.value; - valueSerializer.writeLengthMetrics(value_margin_value); + const auto value_onAppear = value.onAppear; + Ark_Int32 value_onAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onAppear_type = runtimeType(value_onAppear); + valueSerializer.writeInt8(value_onAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onAppear_type)) { + const auto value_onAppear_value = value_onAppear.value; + valueSerializer.writeCallbackResource(value_onAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onAppear_value.callSync)); } - const auto value_strokeColor = value.strokeColor; - Ark_Int32 value_strokeColor_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeColor_type = runtimeType(value_strokeColor); - valueSerializer.writeInt8(value_strokeColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeColor_type)) { - const auto value_strokeColor_value = value_strokeColor.value; - valueSerializer.writeColorMetrics(value_strokeColor_value); + const auto value_onDisappear = value.onDisappear; + Ark_Int32 value_onDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDisappear_type = runtimeType(value_onDisappear); + valueSerializer.writeInt8(value_onDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDisappear_type)) { + const auto value_onDisappear_value = value_onDisappear.value; + valueSerializer.writeCallbackResource(value_onDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDisappear_value.callSync)); } - const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_type = runtimeType(value_strokeWidth); - valueSerializer.writeInt8(value_strokeWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { - const auto value_strokeWidth_value = value_strokeWidth.value; - valueSerializer.writeLengthMetrics(value_strokeWidth_value); + const auto value_menuType = value.menuType; + Ark_Int32 value_menuType_type = INTEROP_RUNTIME_UNDEFINED; + value_menuType_type = runtimeType(value_menuType); + valueSerializer.writeInt8(value_menuType_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_menuType_type)) { + const auto value_menuType_value = value_menuType.value; + valueSerializer.writeInt32(static_cast(value_menuType_value)); + } + const auto value_onMenuShow = value.onMenuShow; + Ark_Int32 value_onMenuShow_type = INTEROP_RUNTIME_UNDEFINED; + value_onMenuShow_type = runtimeType(value_onMenuShow); + valueSerializer.writeInt8(value_onMenuShow_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onMenuShow_type)) { + const auto value_onMenuShow_value = value_onMenuShow.value; + valueSerializer.writeCallbackResource(value_onMenuShow_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onMenuShow_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onMenuShow_value.callSync)); + } + const auto value_onMenuHide = value.onMenuHide; + Ark_Int32 value_onMenuHide_type = INTEROP_RUNTIME_UNDEFINED; + value_onMenuHide_type = runtimeType(value_onMenuHide); + valueSerializer.writeInt8(value_onMenuHide_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onMenuHide_type)) { + const auto value_onMenuHide_value = value_onMenuHide.value; + valueSerializer.writeCallbackResource(value_onMenuHide_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onMenuHide_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onMenuHide_value.callSync)); + } + const auto value_previewMenuOptions = value.previewMenuOptions; + Ark_Int32 value_previewMenuOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_previewMenuOptions_type = runtimeType(value_previewMenuOptions); + valueSerializer.writeInt8(value_previewMenuOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewMenuOptions_type)) { + const auto value_previewMenuOptions_value = value_previewMenuOptions.value; + valueSerializer.writePreviewMenuOptions(value_previewMenuOptions_value); } } - void writeFont(Ark_Font value) + void writeSelectOption(Ark_SelectOption value) { Serializer& valueSerializer = *this; - const auto value_size = value.size; - Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; - value_size_type = runtimeType(value_size); - valueSerializer.writeInt8(value_size_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { - const auto value_size_value = value_size.value; - Ark_Int32 value_size_value_type = INTEROP_RUNTIME_UNDEFINED; - value_size_value_type = value_size_value.selector; - if (value_size_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_size_value_0 = value_size_value.value0; - valueSerializer.writeString(value_size_value_0); - } - else if (value_size_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_size_value_1 = value_size_value.value1; - valueSerializer.writeNumber(value_size_value_1); - } - else if (value_size_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_size_value_2 = value_size_value.value2; - valueSerializer.writeResource(value_size_value_2); - } + const auto value_value = value.value; + Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; + value_value_type = value_value.selector; + if (value_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_value_0 = value_value.value0; + valueSerializer.writeString(value_value_0); } - const auto value_weight = value.weight; - Ark_Int32 value_weight_type = INTEROP_RUNTIME_UNDEFINED; - value_weight_type = runtimeType(value_weight); - valueSerializer.writeInt8(value_weight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_weight_type)) { - const auto value_weight_value = value_weight.value; - Ark_Int32 value_weight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_weight_value_type = value_weight_value.selector; - if (value_weight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_weight_value_0 = value_weight_value.value0; - valueSerializer.writeInt32(static_cast(value_weight_value_0)); - } - else if (value_weight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_weight_value_1 = value_weight_value.value1; - valueSerializer.writeNumber(value_weight_value_1); - } - else if (value_weight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_weight_value_2 = value_weight_value.value2; - valueSerializer.writeString(value_weight_value_2); - } + else if (value_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_value_1 = value_value.value1; + valueSerializer.writeResource(value_value_1); } - const auto value_family = value.family; - Ark_Int32 value_family_type = INTEROP_RUNTIME_UNDEFINED; - value_family_type = runtimeType(value_family); - valueSerializer.writeInt8(value_family_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_family_type)) { - const auto value_family_value = value_family.value; - Ark_Int32 value_family_value_type = INTEROP_RUNTIME_UNDEFINED; - value_family_value_type = value_family_value.selector; - if (value_family_value_type == 0) { + const auto value_icon = value.icon; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_type = runtimeType(value_icon); + valueSerializer.writeInt8(value_icon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { + const auto value_icon_value = value_icon.value; + Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_value_type = value_icon_value.selector; + if (value_icon_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_family_value_0 = value_family_value.value0; - valueSerializer.writeString(value_family_value_0); + const auto value_icon_value_0 = value_icon_value.value0; + valueSerializer.writeString(value_icon_value_0); } - else if (value_family_value_type == 1) { + else if (value_icon_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_family_value_1 = value_family_value.value1; - valueSerializer.writeResource(value_family_value_1); + const auto value_icon_value_1 = value_icon_value.value1; + valueSerializer.writeResource(value_icon_value_1); } } - const auto value_style = value.style; - Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; - value_style_type = runtimeType(value_style); - valueSerializer.writeInt8(value_style_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { - const auto value_style_value = value_style.value; - valueSerializer.writeInt32(static_cast(value_style_value)); + const auto value_symbolIcon = value.symbolIcon; + Ark_Int32 value_symbolIcon_type = INTEROP_RUNTIME_UNDEFINED; + value_symbolIcon_type = runtimeType(value_symbolIcon); + valueSerializer.writeInt8(value_symbolIcon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolIcon_type)) { + const auto value_symbolIcon_value = value_symbolIcon.value; + valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value); } } - void writeFontOptions(Ark_FontOptions value) + void writeShadowOptions(Ark_ShadowOptions value) { Serializer& valueSerializer = *this; - const auto value_familyName = value.familyName; - Ark_Int32 value_familyName_type = INTEROP_RUNTIME_UNDEFINED; - value_familyName_type = value_familyName.selector; - if (value_familyName_type == 0) { + const auto value_radius = value.radius; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_type = value_radius.selector; + if (value_radius_type == 0) { valueSerializer.writeInt8(0); - const auto value_familyName_0 = value_familyName.value0; - valueSerializer.writeString(value_familyName_0); + const auto value_radius_0 = value_radius.value0; + valueSerializer.writeNumber(value_radius_0); } - else if (value_familyName_type == 1) { + else if (value_radius_type == 1) { valueSerializer.writeInt8(1); - const auto value_familyName_1 = value_familyName.value1; - valueSerializer.writeResource(value_familyName_1); - } - const auto value_familySrc = value.familySrc; - Ark_Int32 value_familySrc_type = INTEROP_RUNTIME_UNDEFINED; - value_familySrc_type = value_familySrc.selector; - if (value_familySrc_type == 0) { - valueSerializer.writeInt8(0); - const auto value_familySrc_0 = value_familySrc.value0; - valueSerializer.writeString(value_familySrc_0); + const auto value_radius_1 = value_radius.value1; + valueSerializer.writeResource(value_radius_1); } - else if (value_familySrc_type == 1) { - valueSerializer.writeInt8(1); - const auto value_familySrc_1 = value_familySrc.value1; - valueSerializer.writeResource(value_familySrc_1); + const auto value_type = value.type; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; + value_type_type = runtimeType(value_type); + valueSerializer.writeInt8(value_type_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type_type)) { + const auto value_type_value = value_type.value; + valueSerializer.writeInt32(static_cast(value_type_value)); } - } - void writeForegroundBlurStyleOptions(Ark_ForegroundBlurStyleOptions value) - { - Serializer& valueSerializer = *this; - const auto value_colorMode = value.colorMode; - Ark_Int32 value_colorMode_type = INTEROP_RUNTIME_UNDEFINED; - value_colorMode_type = runtimeType(value_colorMode); - valueSerializer.writeInt8(value_colorMode_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_colorMode_type)) { - const auto value_colorMode_value = value_colorMode.value; - valueSerializer.writeInt32(static_cast(value_colorMode_value)); + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); + } + else if (value_color_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeString(value_color_value_1); + } + else if (value_color_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeResource(value_color_value_2); + } + else if (value_color_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeInt32(static_cast(value_color_value_3)); + } } - const auto value_adaptiveColor = value.adaptiveColor; - Ark_Int32 value_adaptiveColor_type = INTEROP_RUNTIME_UNDEFINED; - value_adaptiveColor_type = runtimeType(value_adaptiveColor); - valueSerializer.writeInt8(value_adaptiveColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_adaptiveColor_type)) { - const auto value_adaptiveColor_value = value_adaptiveColor.value; - valueSerializer.writeInt32(static_cast(value_adaptiveColor_value)); + const auto value_offsetX = value.offsetX; + Ark_Int32 value_offsetX_type = INTEROP_RUNTIME_UNDEFINED; + value_offsetX_type = runtimeType(value_offsetX); + valueSerializer.writeInt8(value_offsetX_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetX_type)) { + const auto value_offsetX_value = value_offsetX.value; + Ark_Int32 value_offsetX_value_type = INTEROP_RUNTIME_UNDEFINED; + value_offsetX_value_type = value_offsetX_value.selector; + if (value_offsetX_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_offsetX_value_0 = value_offsetX_value.value0; + valueSerializer.writeNumber(value_offsetX_value_0); + } + else if (value_offsetX_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_offsetX_value_1 = value_offsetX_value.value1; + valueSerializer.writeResource(value_offsetX_value_1); + } } - const auto value_scale = value.scale; - Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; - value_scale_type = runtimeType(value_scale); - valueSerializer.writeInt8(value_scale_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scale_type)) { - const auto value_scale_value = value_scale.value; - valueSerializer.writeNumber(value_scale_value); + const auto value_offsetY = value.offsetY; + Ark_Int32 value_offsetY_type = INTEROP_RUNTIME_UNDEFINED; + value_offsetY_type = runtimeType(value_offsetY); + valueSerializer.writeInt8(value_offsetY_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetY_type)) { + const auto value_offsetY_value = value_offsetY.value; + Ark_Int32 value_offsetY_value_type = INTEROP_RUNTIME_UNDEFINED; + value_offsetY_value_type = value_offsetY_value.selector; + if (value_offsetY_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_offsetY_value_0 = value_offsetY_value.value0; + valueSerializer.writeNumber(value_offsetY_value_0); + } + else if (value_offsetY_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_offsetY_value_1 = value_offsetY_value.value1; + valueSerializer.writeResource(value_offsetY_value_1); + } } - const auto value_blurOptions = value.blurOptions; - Ark_Int32 value_blurOptions_type = INTEROP_RUNTIME_UNDEFINED; - value_blurOptions_type = runtimeType(value_blurOptions); - valueSerializer.writeInt8(value_blurOptions_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_blurOptions_type)) { - const auto value_blurOptions_value = value_blurOptions.value; - valueSerializer.writeBlurOptions(value_blurOptions_value); + const auto value_fill = value.fill; + Ark_Int32 value_fill_type = INTEROP_RUNTIME_UNDEFINED; + value_fill_type = runtimeType(value_fill); + valueSerializer.writeInt8(value_fill_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fill_type)) { + const auto value_fill_value = value_fill.value; + valueSerializer.writeBoolean(value_fill_value); } } - void writeFormInfo(Ark_FormInfo value) + void writesharedTransitionOptions(Ark_sharedTransitionOptions value) { Serializer& valueSerializer = *this; - const auto value_id = value.id; - Ark_Int32 value_id_type = INTEROP_RUNTIME_UNDEFINED; - value_id_type = value_id.selector; - if (value_id_type == 0) { - valueSerializer.writeInt8(0); - const auto value_id_0 = value_id.value0; - valueSerializer.writeInt64(value_id_0); - } - else if (value_id_type == 1) { - valueSerializer.writeInt8(1); - const auto value_id_1 = value_id.value1; - valueSerializer.writeString(value_id_1); + const auto value_duration = value.duration; + Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; + value_duration_type = runtimeType(value_duration); + valueSerializer.writeInt8(value_duration_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_duration_type)) { + const auto value_duration_value = value_duration.value; + valueSerializer.writeNumber(value_duration_value); } - const auto value_name = value.name; - valueSerializer.writeString(value_name); - const auto value_bundle = value.bundle; - valueSerializer.writeString(value_bundle); - const auto value_ability = value.ability; - valueSerializer.writeString(value_ability); - const auto value_module = value.module; - valueSerializer.writeString(value_module); - const auto value_dimension = value.dimension; - Ark_Int32 value_dimension_type = INTEROP_RUNTIME_UNDEFINED; - value_dimension_type = runtimeType(value_dimension); - valueSerializer.writeInt8(value_dimension_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dimension_type)) { - const auto value_dimension_value = value_dimension.value; - valueSerializer.writeInt32(static_cast(value_dimension_value)); + const auto value_curve = value.curve; + Ark_Int32 value_curve_type = INTEROP_RUNTIME_UNDEFINED; + value_curve_type = runtimeType(value_curve); + valueSerializer.writeInt8(value_curve_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_curve_type)) { + const auto value_curve_value = value_curve.value; + Ark_Int32 value_curve_value_type = INTEROP_RUNTIME_UNDEFINED; + value_curve_value_type = value_curve_value.selector; + if (value_curve_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_curve_value_0 = value_curve_value.value0; + valueSerializer.writeInt32(static_cast(value_curve_value_0)); + } + else if (value_curve_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_curve_value_1 = value_curve_value.value1; + valueSerializer.writeString(value_curve_value_1); + } + else if (value_curve_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_curve_value_2 = value_curve_value.value2; + valueSerializer.writeICurve(value_curve_value_2); + } } - const auto value_temporary = value.temporary; - Ark_Int32 value_temporary_type = INTEROP_RUNTIME_UNDEFINED; - value_temporary_type = runtimeType(value_temporary); - valueSerializer.writeInt8(value_temporary_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_temporary_type)) { - const auto value_temporary_value = value_temporary.value; - valueSerializer.writeBoolean(value_temporary_value); + const auto value_delay = value.delay; + Ark_Int32 value_delay_type = INTEROP_RUNTIME_UNDEFINED; + value_delay_type = runtimeType(value_delay); + valueSerializer.writeInt8(value_delay_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_delay_type)) { + const auto value_delay_value = value_delay.value; + valueSerializer.writeNumber(value_delay_value); } - const auto value_want = value.want; - Ark_Int32 value_want_type = INTEROP_RUNTIME_UNDEFINED; - value_want_type = runtimeType(value_want); - valueSerializer.writeInt8(value_want_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_want_type)) { - const auto value_want_value = value_want.value; - valueSerializer.writeWant(value_want_value); + const auto value_motionPath = value.motionPath; + Ark_Int32 value_motionPath_type = INTEROP_RUNTIME_UNDEFINED; + value_motionPath_type = runtimeType(value_motionPath); + valueSerializer.writeInt8(value_motionPath_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_motionPath_type)) { + const auto value_motionPath_value = value_motionPath.value; + valueSerializer.writeMotionPathOptions(value_motionPath_value); } - const auto value_renderingMode = value.renderingMode; - Ark_Int32 value_renderingMode_type = INTEROP_RUNTIME_UNDEFINED; - value_renderingMode_type = runtimeType(value_renderingMode); - valueSerializer.writeInt8(value_renderingMode_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_renderingMode_type)) { - const auto value_renderingMode_value = value_renderingMode.value; - valueSerializer.writeInt32(static_cast(value_renderingMode_value)); + const auto value_zIndex = value.zIndex; + Ark_Int32 value_zIndex_type = INTEROP_RUNTIME_UNDEFINED; + value_zIndex_type = runtimeType(value_zIndex); + valueSerializer.writeInt8(value_zIndex_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_zIndex_type)) { + const auto value_zIndex_value = value_zIndex.value; + valueSerializer.writeNumber(value_zIndex_value); } - const auto value_shape = value.shape; - Ark_Int32 value_shape_type = INTEROP_RUNTIME_UNDEFINED; - value_shape_type = runtimeType(value_shape); - valueSerializer.writeInt8(value_shape_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_shape_type)) { - const auto value_shape_value = value_shape.value; - valueSerializer.writeInt32(static_cast(value_shape_value)); + const auto value_type = value.type; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; + value_type_type = runtimeType(value_type); + valueSerializer.writeInt8(value_type_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type_type)) { + const auto value_type_value = value_type.value; + valueSerializer.writeInt32(static_cast(value_type_value)); } } - void writeGaugeIndicatorOptions(Ark_GaugeIndicatorOptions value) + void writeSheetInfo(Ark_SheetInfo value) { Serializer& valueSerializer = *this; + const auto value_title = value.title; + Ark_Int32 value_title_type = INTEROP_RUNTIME_UNDEFINED; + value_title_type = value_title.selector; + if (value_title_type == 0) { + valueSerializer.writeInt8(0); + const auto value_title_0 = value_title.value0; + valueSerializer.writeString(value_title_0); + } + else if (value_title_type == 1) { + valueSerializer.writeInt8(1); + const auto value_title_1 = value_title.value1; + valueSerializer.writeResource(value_title_1); + } const auto value_icon = value.icon; Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); @@ -68089,402 +75537,446 @@ class Serializer : public SerializerBase { valueSerializer.writeResource(value_icon_value_1); } } - const auto value_space = value.space; - Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; - value_space_type = runtimeType(value_space); - valueSerializer.writeInt8(value_space_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_space_type)) { - const auto value_space_value = value_space.value; - Ark_Int32 value_space_value_type = INTEROP_RUNTIME_UNDEFINED; - value_space_value_type = value_space_value.selector; - if (value_space_value_type == 0) { + const auto value_action = value.action; + valueSerializer.writeCallbackResource(value_action.resource); + valueSerializer.writePointer(reinterpret_cast(value_action.call)); + valueSerializer.writePointer(reinterpret_cast(value_action.callSync)); + } + void writeSheetTitleOptions(Ark_SheetTitleOptions value) + { + Serializer& valueSerializer = *this; + const auto value_title = value.title; + Ark_Int32 value_title_type = INTEROP_RUNTIME_UNDEFINED; + value_title_type = value_title.selector; + if (value_title_type == 0) { + valueSerializer.writeInt8(0); + const auto value_title_0 = value_title.value0; + valueSerializer.writeString(value_title_0); + } + else if (value_title_type == 1) { + valueSerializer.writeInt8(1); + const auto value_title_1 = value_title.value1; + valueSerializer.writeResource(value_title_1); + } + const auto value_subtitle = value.subtitle; + Ark_Int32 value_subtitle_type = INTEROP_RUNTIME_UNDEFINED; + value_subtitle_type = runtimeType(value_subtitle); + valueSerializer.writeInt8(value_subtitle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_subtitle_type)) { + const auto value_subtitle_value = value_subtitle.value; + Ark_Int32 value_subtitle_value_type = INTEROP_RUNTIME_UNDEFINED; + value_subtitle_value_type = value_subtitle_value.selector; + if (value_subtitle_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_space_value_0 = value_space_value.value0; - valueSerializer.writeString(value_space_value_0); + const auto value_subtitle_value_0 = value_subtitle_value.value0; + valueSerializer.writeString(value_subtitle_value_0); } - else if (value_space_value_type == 1) { + else if (value_subtitle_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_space_value_1 = value_space_value.value1; - valueSerializer.writeNumber(value_space_value_1); - } - else if (value_space_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_space_value_2 = value_space_value.value2; - valueSerializer.writeResource(value_space_value_2); + const auto value_subtitle_value_1 = value_subtitle_value.value1; + valueSerializer.writeResource(value_subtitle_value_1); } } } - void writeGaugeShadowOptions(Ark_GaugeShadowOptions value) + void writeSliderBlockStyle(Ark_SliderBlockStyle value) { Serializer& valueSerializer = *this; - const auto value_radius = value.radius; - Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_type = runtimeType(value_radius); - valueSerializer.writeInt8(value_radius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { - const auto value_radius_value = value_radius.value; - Ark_Int32 value_radius_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_type = value_radius_value.selector; - if (value_radius_value_type == 0) { + const auto value_type = value.type; + valueSerializer.writeInt32(static_cast(value_type)); + const auto value_image = value.image; + Ark_Int32 value_image_type = INTEROP_RUNTIME_UNDEFINED; + value_image_type = runtimeType(value_image); + valueSerializer.writeInt8(value_image_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_image_type)) { + const auto value_image_value = value_image.value; + Ark_Int32 value_image_value_type = INTEROP_RUNTIME_UNDEFINED; + value_image_value_type = value_image_value.selector; + if (value_image_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_radius_value_0 = value_radius_value.value0; - valueSerializer.writeNumber(value_radius_value_0); + const auto value_image_value_0 = value_image_value.value0; + valueSerializer.writeString(value_image_value_0); } - else if (value_radius_value_type == 1) { + else if (value_image_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_radius_value_1 = value_radius_value.value1; - valueSerializer.writeResource(value_radius_value_1); + const auto value_image_value_1 = value_image_value.value1; + valueSerializer.writeResource(value_image_value_1); } } - const auto value_offsetX = value.offsetX; - Ark_Int32 value_offsetX_type = INTEROP_RUNTIME_UNDEFINED; - value_offsetX_type = runtimeType(value_offsetX); - valueSerializer.writeInt8(value_offsetX_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetX_type)) { - const auto value_offsetX_value = value_offsetX.value; - Ark_Int32 value_offsetX_value_type = INTEROP_RUNTIME_UNDEFINED; - value_offsetX_value_type = value_offsetX_value.selector; - if (value_offsetX_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offsetX_value_0 = value_offsetX_value.value0; - valueSerializer.writeNumber(value_offsetX_value_0); - } - else if (value_offsetX_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offsetX_value_1 = value_offsetX_value.value1; - valueSerializer.writeResource(value_offsetX_value_1); - } + const auto value_shape = value.shape; + Ark_Int32 value_shape_type = INTEROP_RUNTIME_UNDEFINED; + value_shape_type = runtimeType(value_shape); + valueSerializer.writeInt8(value_shape_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shape_type)) { + const auto value_shape_value = value_shape.value; + valueSerializer.writeString(value_shape_value); } - const auto value_offsetY = value.offsetY; - Ark_Int32 value_offsetY_type = INTEROP_RUNTIME_UNDEFINED; - value_offsetY_type = runtimeType(value_offsetY); - valueSerializer.writeInt8(value_offsetY_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetY_type)) { - const auto value_offsetY_value = value_offsetY.value; - Ark_Int32 value_offsetY_value_type = INTEROP_RUNTIME_UNDEFINED; - value_offsetY_value_type = value_offsetY_value.selector; - if (value_offsetY_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offsetY_value_0 = value_offsetY_value.value0; - valueSerializer.writeNumber(value_offsetY_value_0); - } - else if (value_offsetY_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offsetY_value_1 = value_offsetY_value.value1; - valueSerializer.writeResource(value_offsetY_value_1); - } + } + void writeStyledStringChangeValue(Ark_StyledStringChangeValue value) + { + Serializer& valueSerializer = *this; + const auto value_range = value.range; + valueSerializer.writeTextRange(value_range); + const auto value_replacementString = value.replacementString; + valueSerializer.writeStyledString(value_replacementString); + const auto value_previewText = value.previewText; + Ark_Int32 value_previewText_type = INTEROP_RUNTIME_UNDEFINED; + value_previewText_type = runtimeType(value_previewText); + valueSerializer.writeInt8(value_previewText_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewText_type)) { + const auto value_previewText_value = value_previewText.value; + valueSerializer.writeStyledString(value_previewText_value); } } - void writeGridColOptions(Ark_GridColOptions value) + void writeSwitchStyle(Ark_SwitchStyle value) { Serializer& valueSerializer = *this; - const auto value_span = value.span; - Ark_Int32 value_span_type = INTEROP_RUNTIME_UNDEFINED; - value_span_type = runtimeType(value_span); - valueSerializer.writeInt8(value_span_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_span_type)) { - const auto value_span_value = value_span.value; - Ark_Int32 value_span_value_type = INTEROP_RUNTIME_UNDEFINED; - value_span_value_type = value_span_value.selector; - if (value_span_value_type == 0) { + const auto value_pointRadius = value.pointRadius; + Ark_Int32 value_pointRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_pointRadius_type = runtimeType(value_pointRadius); + valueSerializer.writeInt8(value_pointRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_pointRadius_type)) { + const auto value_pointRadius_value = value_pointRadius.value; + Ark_Int32 value_pointRadius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_pointRadius_value_type = value_pointRadius_value.selector; + if (value_pointRadius_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_span_value_0 = value_span_value.value0; - valueSerializer.writeNumber(value_span_value_0); + const auto value_pointRadius_value_0 = value_pointRadius_value.value0; + valueSerializer.writeNumber(value_pointRadius_value_0); } - else if (value_span_value_type == 1) { + else if (value_pointRadius_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_span_value_1 = value_span_value.value1; - valueSerializer.writeGridColColumnOption(value_span_value_1); + const auto value_pointRadius_value_1 = value_pointRadius_value.value1; + valueSerializer.writeResource(value_pointRadius_value_1); } } - const auto value_offset = value.offset; - Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_type = runtimeType(value_offset); - valueSerializer.writeInt8(value_offset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { - const auto value_offset_value = value_offset.value; - Ark_Int32 value_offset_value_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_type = value_offset_value.selector; - if (value_offset_value_type == 0) { + const auto value_unselectedColor = value.unselectedColor; + Ark_Int32 value_unselectedColor_type = INTEROP_RUNTIME_UNDEFINED; + value_unselectedColor_type = runtimeType(value_unselectedColor); + valueSerializer.writeInt8(value_unselectedColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_unselectedColor_type)) { + const auto value_unselectedColor_value = value_unselectedColor.value; + Ark_Int32 value_unselectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_unselectedColor_value_type = value_unselectedColor_value.selector; + if (value_unselectedColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_offset_value_0 = value_offset_value.value0; - valueSerializer.writeNumber(value_offset_value_0); + const auto value_unselectedColor_value_0 = value_unselectedColor_value.value0; + valueSerializer.writeInt32(static_cast(value_unselectedColor_value_0)); } - else if (value_offset_value_type == 1) { + else if (value_unselectedColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_offset_value_1 = value_offset_value.value1; - valueSerializer.writeGridColColumnOption(value_offset_value_1); + const auto value_unselectedColor_value_1 = value_unselectedColor_value.value1; + valueSerializer.writeNumber(value_unselectedColor_value_1); } - } - const auto value_order = value.order; - Ark_Int32 value_order_type = INTEROP_RUNTIME_UNDEFINED; - value_order_type = runtimeType(value_order); - valueSerializer.writeInt8(value_order_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_order_type)) { - const auto value_order_value = value_order.value; - Ark_Int32 value_order_value_type = INTEROP_RUNTIME_UNDEFINED; - value_order_value_type = value_order_value.selector; - if (value_order_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_order_value_0 = value_order_value.value0; - valueSerializer.writeNumber(value_order_value_0); + else if (value_unselectedColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_unselectedColor_value_2 = value_unselectedColor_value.value2; + valueSerializer.writeString(value_unselectedColor_value_2); } - else if (value_order_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_order_value_1 = value_order_value.value1; - valueSerializer.writeGridColColumnOption(value_order_value_1); + else if (value_unselectedColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_unselectedColor_value_3 = value_unselectedColor_value.value3; + valueSerializer.writeResource(value_unselectedColor_value_3); } } - } - void writeGridRowSizeOption(Ark_GridRowSizeOption value) - { - Serializer& valueSerializer = *this; - const auto value_xs = value.xs; - Ark_Int32 value_xs_type = INTEROP_RUNTIME_UNDEFINED; - value_xs_type = runtimeType(value_xs); - valueSerializer.writeInt8(value_xs_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_xs_type)) { - const auto value_xs_value = value_xs.value; - Ark_Int32 value_xs_value_type = INTEROP_RUNTIME_UNDEFINED; - value_xs_value_type = value_xs_value.selector; - if (value_xs_value_type == 0) { + const auto value_pointColor = value.pointColor; + Ark_Int32 value_pointColor_type = INTEROP_RUNTIME_UNDEFINED; + value_pointColor_type = runtimeType(value_pointColor); + valueSerializer.writeInt8(value_pointColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_pointColor_type)) { + const auto value_pointColor_value = value_pointColor.value; + Ark_Int32 value_pointColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_pointColor_value_type = value_pointColor_value.selector; + if (value_pointColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_xs_value_0 = value_xs_value.value0; - valueSerializer.writeString(value_xs_value_0); + const auto value_pointColor_value_0 = value_pointColor_value.value0; + valueSerializer.writeInt32(static_cast(value_pointColor_value_0)); } - else if (value_xs_value_type == 1) { + else if (value_pointColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_xs_value_1 = value_xs_value.value1; - valueSerializer.writeNumber(value_xs_value_1); + const auto value_pointColor_value_1 = value_pointColor_value.value1; + valueSerializer.writeNumber(value_pointColor_value_1); } - else if (value_xs_value_type == 2) { + else if (value_pointColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_xs_value_2 = value_xs_value.value2; - valueSerializer.writeResource(value_xs_value_2); + const auto value_pointColor_value_2 = value_pointColor_value.value2; + valueSerializer.writeString(value_pointColor_value_2); + } + else if (value_pointColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_pointColor_value_3 = value_pointColor_value.value3; + valueSerializer.writeResource(value_pointColor_value_3); } } - const auto value_sm = value.sm; - Ark_Int32 value_sm_type = INTEROP_RUNTIME_UNDEFINED; - value_sm_type = runtimeType(value_sm); - valueSerializer.writeInt8(value_sm_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_sm_type)) { - const auto value_sm_value = value_sm.value; - Ark_Int32 value_sm_value_type = INTEROP_RUNTIME_UNDEFINED; - value_sm_value_type = value_sm_value.selector; - if (value_sm_value_type == 0) { + const auto value_trackBorderRadius = value.trackBorderRadius; + Ark_Int32 value_trackBorderRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_trackBorderRadius_type = runtimeType(value_trackBorderRadius); + valueSerializer.writeInt8(value_trackBorderRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_trackBorderRadius_type)) { + const auto value_trackBorderRadius_value = value_trackBorderRadius.value; + Ark_Int32 value_trackBorderRadius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_trackBorderRadius_value_type = value_trackBorderRadius_value.selector; + if (value_trackBorderRadius_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_sm_value_0 = value_sm_value.value0; - valueSerializer.writeString(value_sm_value_0); + const auto value_trackBorderRadius_value_0 = value_trackBorderRadius_value.value0; + valueSerializer.writeNumber(value_trackBorderRadius_value_0); } - else if (value_sm_value_type == 1) { + else if (value_trackBorderRadius_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_sm_value_1 = value_sm_value.value1; - valueSerializer.writeNumber(value_sm_value_1); - } - else if (value_sm_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_sm_value_2 = value_sm_value.value2; - valueSerializer.writeResource(value_sm_value_2); + const auto value_trackBorderRadius_value_1 = value_trackBorderRadius_value.value1; + valueSerializer.writeResource(value_trackBorderRadius_value_1); } } - const auto value_md = value.md; - Ark_Int32 value_md_type = INTEROP_RUNTIME_UNDEFINED; - value_md_type = runtimeType(value_md); - valueSerializer.writeInt8(value_md_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_md_type)) { - const auto value_md_value = value_md.value; - Ark_Int32 value_md_value_type = INTEROP_RUNTIME_UNDEFINED; - value_md_value_type = value_md_value.selector; - if (value_md_value_type == 0) { + } + void writeTabBarIconStyle(Ark_TabBarIconStyle value) + { + Serializer& valueSerializer = *this; + const auto value_selectedColor = value.selectedColor; + Ark_Int32 value_selectedColor_type = INTEROP_RUNTIME_UNDEFINED; + value_selectedColor_type = runtimeType(value_selectedColor); + valueSerializer.writeInt8(value_selectedColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selectedColor_type)) { + const auto value_selectedColor_value = value_selectedColor.value; + Ark_Int32 value_selectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_selectedColor_value_type = value_selectedColor_value.selector; + if (value_selectedColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_md_value_0 = value_md_value.value0; - valueSerializer.writeString(value_md_value_0); + const auto value_selectedColor_value_0 = value_selectedColor_value.value0; + valueSerializer.writeInt32(static_cast(value_selectedColor_value_0)); } - else if (value_md_value_type == 1) { + else if (value_selectedColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_md_value_1 = value_md_value.value1; - valueSerializer.writeNumber(value_md_value_1); + const auto value_selectedColor_value_1 = value_selectedColor_value.value1; + valueSerializer.writeNumber(value_selectedColor_value_1); } - else if (value_md_value_type == 2) { + else if (value_selectedColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_md_value_2 = value_md_value.value2; - valueSerializer.writeResource(value_md_value_2); + const auto value_selectedColor_value_2 = value_selectedColor_value.value2; + valueSerializer.writeString(value_selectedColor_value_2); + } + else if (value_selectedColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_selectedColor_value_3 = value_selectedColor_value.value3; + valueSerializer.writeResource(value_selectedColor_value_3); } } - const auto value_lg = value.lg; - Ark_Int32 value_lg_type = INTEROP_RUNTIME_UNDEFINED; - value_lg_type = runtimeType(value_lg); - valueSerializer.writeInt8(value_lg_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_lg_type)) { - const auto value_lg_value = value_lg.value; - Ark_Int32 value_lg_value_type = INTEROP_RUNTIME_UNDEFINED; - value_lg_value_type = value_lg_value.selector; - if (value_lg_value_type == 0) { + const auto value_unselectedColor = value.unselectedColor; + Ark_Int32 value_unselectedColor_type = INTEROP_RUNTIME_UNDEFINED; + value_unselectedColor_type = runtimeType(value_unselectedColor); + valueSerializer.writeInt8(value_unselectedColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_unselectedColor_type)) { + const auto value_unselectedColor_value = value_unselectedColor.value; + Ark_Int32 value_unselectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_unselectedColor_value_type = value_unselectedColor_value.selector; + if (value_unselectedColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_lg_value_0 = value_lg_value.value0; - valueSerializer.writeString(value_lg_value_0); + const auto value_unselectedColor_value_0 = value_unselectedColor_value.value0; + valueSerializer.writeInt32(static_cast(value_unselectedColor_value_0)); } - else if (value_lg_value_type == 1) { + else if (value_unselectedColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_lg_value_1 = value_lg_value.value1; - valueSerializer.writeNumber(value_lg_value_1); + const auto value_unselectedColor_value_1 = value_unselectedColor_value.value1; + valueSerializer.writeNumber(value_unselectedColor_value_1); } - else if (value_lg_value_type == 2) { + else if (value_unselectedColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_lg_value_2 = value_lg_value.value2; - valueSerializer.writeResource(value_lg_value_2); + const auto value_unselectedColor_value_2 = value_unselectedColor_value.value2; + valueSerializer.writeString(value_unselectedColor_value_2); + } + else if (value_unselectedColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_unselectedColor_value_3 = value_unselectedColor_value.value3; + valueSerializer.writeResource(value_unselectedColor_value_3); } } - const auto value_xl = value.xl; - Ark_Int32 value_xl_type = INTEROP_RUNTIME_UNDEFINED; - value_xl_type = runtimeType(value_xl); - valueSerializer.writeInt8(value_xl_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_xl_type)) { - const auto value_xl_value = value_xl.value; - Ark_Int32 value_xl_value_type = INTEROP_RUNTIME_UNDEFINED; - value_xl_value_type = value_xl_value.selector; - if (value_xl_value_type == 0) { + } + void writeTabBarOptions(Ark_TabBarOptions value) + { + Serializer& valueSerializer = *this; + const auto value_icon = value.icon; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_type = runtimeType(value_icon); + valueSerializer.writeInt8(value_icon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { + const auto value_icon_value = value_icon.value; + Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_value_type = value_icon_value.selector; + if (value_icon_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_xl_value_0 = value_xl_value.value0; - valueSerializer.writeString(value_xl_value_0); + const auto value_icon_value_0 = value_icon_value.value0; + valueSerializer.writeString(value_icon_value_0); } - else if (value_xl_value_type == 1) { + else if (value_icon_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_xl_value_1 = value_xl_value.value1; - valueSerializer.writeNumber(value_xl_value_1); - } - else if (value_xl_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_xl_value_2 = value_xl_value.value2; - valueSerializer.writeResource(value_xl_value_2); + const auto value_icon_value_1 = value_icon_value.value1; + valueSerializer.writeResource(value_icon_value_1); } } - const auto value_xxl = value.xxl; - Ark_Int32 value_xxl_type = INTEROP_RUNTIME_UNDEFINED; - value_xxl_type = runtimeType(value_xxl); - valueSerializer.writeInt8(value_xxl_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_xxl_type)) { - const auto value_xxl_value = value_xxl.value; - Ark_Int32 value_xxl_value_type = INTEROP_RUNTIME_UNDEFINED; - value_xxl_value_type = value_xxl_value.selector; - if (value_xxl_value_type == 0) { + const auto value_text = value.text; + Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; + value_text_type = runtimeType(value_text); + valueSerializer.writeInt8(value_text_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { + const auto value_text_value = value_text.value; + Ark_Int32 value_text_value_type = INTEROP_RUNTIME_UNDEFINED; + value_text_value_type = value_text_value.selector; + if (value_text_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_xxl_value_0 = value_xxl_value.value0; - valueSerializer.writeString(value_xxl_value_0); + const auto value_text_value_0 = value_text_value.value0; + valueSerializer.writeString(value_text_value_0); } - else if (value_xxl_value_type == 1) { + else if (value_text_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_xxl_value_1 = value_xxl_value.value1; - valueSerializer.writeNumber(value_xxl_value_1); - } - else if (value_xxl_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_xxl_value_2 = value_xxl_value.value2; - valueSerializer.writeResource(value_xxl_value_2); + const auto value_text_value_1 = value_text_value.value1; + valueSerializer.writeResource(value_text_value_1); } } } - void writeGuideLinePosition(Ark_GuideLinePosition value) + void writeTabsOptions(Ark_TabsOptions value) + { + Serializer& valueSerializer = *this; + const auto value_barPosition = value.barPosition; + Ark_Int32 value_barPosition_type = INTEROP_RUNTIME_UNDEFINED; + value_barPosition_type = runtimeType(value_barPosition); + valueSerializer.writeInt8(value_barPosition_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_barPosition_type)) { + const auto value_barPosition_value = value_barPosition.value; + valueSerializer.writeInt32(static_cast(value_barPosition_value)); + } + const auto value_index = value.index; + Ark_Int32 value_index_type = INTEROP_RUNTIME_UNDEFINED; + value_index_type = runtimeType(value_index); + valueSerializer.writeInt8(value_index_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_index_type)) { + const auto value_index_value = value_index.value; + valueSerializer.writeNumber(value_index_value); + } + const auto value_controller = value.controller; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; + value_controller_type = runtimeType(value_controller); + valueSerializer.writeInt8(value_controller_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { + const auto value_controller_value = value_controller.value; + valueSerializer.writeTabsController(value_controller_value); + } + const auto value_barModifier = value.barModifier; + Ark_Int32 value_barModifier_type = INTEROP_RUNTIME_UNDEFINED; + value_barModifier_type = runtimeType(value_barModifier); + valueSerializer.writeInt8(value_barModifier_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_barModifier_type)) { + const auto value_barModifier_value = value_barModifier.value; + valueSerializer.writeCommonModifier(value_barModifier_value); + } + } + void writeTerminationInfo(Ark_TerminationInfo value) + { + Serializer& valueSerializer = *this; + const auto value_code = value.code; + valueSerializer.writeNumber(value_code); + const auto value_want = value.want; + Ark_Int32 value_want_type = INTEROP_RUNTIME_UNDEFINED; + value_want_type = runtimeType(value_want); + valueSerializer.writeInt8(value_want_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_want_type)) { + const auto value_want_value = value_want.value; + valueSerializer.writeWant(value_want_value); + } + } + void writeTextAreaOptions(Ark_TextAreaOptions value) { Serializer& valueSerializer = *this; - const auto value_start = value.start; - Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; - value_start_type = runtimeType(value_start); - valueSerializer.writeInt8(value_start_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { - const auto value_start_value = value_start.value; - Ark_Int32 value_start_value_type = INTEROP_RUNTIME_UNDEFINED; - value_start_value_type = value_start_value.selector; - if (value_start_value_type == 0) { + const auto value_placeholder = value.placeholder; + Ark_Int32 value_placeholder_type = INTEROP_RUNTIME_UNDEFINED; + value_placeholder_type = runtimeType(value_placeholder); + valueSerializer.writeInt8(value_placeholder_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_placeholder_type)) { + const auto value_placeholder_value = value_placeholder.value; + Ark_Int32 value_placeholder_value_type = INTEROP_RUNTIME_UNDEFINED; + value_placeholder_value_type = value_placeholder_value.selector; + if (value_placeholder_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_start_value_0 = value_start_value.value0; - valueSerializer.writeString(value_start_value_0); + const auto value_placeholder_value_0 = value_placeholder_value.value0; + valueSerializer.writeString(value_placeholder_value_0); } - else if (value_start_value_type == 1) { + else if (value_placeholder_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_start_value_1 = value_start_value.value1; - valueSerializer.writeNumber(value_start_value_1); - } - else if (value_start_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_start_value_2 = value_start_value.value2; - valueSerializer.writeResource(value_start_value_2); + const auto value_placeholder_value_1 = value_placeholder_value.value1; + valueSerializer.writeResource(value_placeholder_value_1); } } - const auto value_end = value.end; - Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; - value_end_type = runtimeType(value_end); - valueSerializer.writeInt8(value_end_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { - const auto value_end_value = value_end.value; - Ark_Int32 value_end_value_type = INTEROP_RUNTIME_UNDEFINED; - value_end_value_type = value_end_value.selector; - if (value_end_value_type == 0) { + const auto value_text = value.text; + Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; + value_text_type = runtimeType(value_text); + valueSerializer.writeInt8(value_text_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { + const auto value_text_value = value_text.value; + Ark_Int32 value_text_value_type = INTEROP_RUNTIME_UNDEFINED; + value_text_value_type = value_text_value.selector; + if (value_text_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_end_value_0 = value_end_value.value0; - valueSerializer.writeString(value_end_value_0); + const auto value_text_value_0 = value_text_value.value0; + valueSerializer.writeString(value_text_value_0); } - else if (value_end_value_type == 1) { + else if (value_text_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_end_value_1 = value_end_value.value1; - valueSerializer.writeNumber(value_end_value_1); - } - else if (value_end_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_end_value_2 = value_end_value.value2; - valueSerializer.writeResource(value_end_value_2); + const auto value_text_value_1 = value_text_value.value1; + valueSerializer.writeResource(value_text_value_1); } } + const auto value_controller = value.controller; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; + value_controller_type = runtimeType(value_controller); + valueSerializer.writeInt8(value_controller_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { + const auto value_controller_value = value_controller.value; + valueSerializer.writeTextAreaController(value_controller_value); + } } - void writeGuideLineStyle(Ark_GuideLineStyle value) + void writeTextCascadePickerRangeContent(Ark_TextCascadePickerRangeContent value) { Serializer& valueSerializer = *this; - const auto value_id = value.id; - valueSerializer.writeString(value_id); - const auto value_direction = value.direction; - valueSerializer.writeInt32(static_cast(value_direction)); - const auto value_position = value.position; - valueSerializer.writeGuideLinePosition(value_position); + const auto value_text = value.text; + Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; + value_text_type = value_text.selector; + if (value_text_type == 0) { + valueSerializer.writeInt8(0); + const auto value_text_0 = value_text.value0; + valueSerializer.writeString(value_text_0); + } + else if (value_text_type == 1) { + valueSerializer.writeInt8(1); + const auto value_text_1 = value_text.value1; + valueSerializer.writeResource(value_text_1); + } + const auto value_children = value.children; + Ark_Int32 value_children_type = INTEROP_RUNTIME_UNDEFINED; + value_children_type = runtimeType(value_children); + valueSerializer.writeInt8(value_children_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_children_type)) { + const auto value_children_value = value_children.value; + valueSerializer.writeInt32(value_children_value.length); + for (int i = 0; i < value_children_value.length; i++) { + const Ark_TextCascadePickerRangeContent value_children_value_element = value_children_value.array[i]; + valueSerializer.writeTextCascadePickerRangeContent(value_children_value_element); + } + } } - void writeHistoricalPoint(Ark_HistoricalPoint value) + void writeTextChangeOptions(Ark_TextChangeOptions value) { Serializer& valueSerializer = *this; - const auto value_touchObject = value.touchObject; - valueSerializer.writeTouchObject(value_touchObject); - const auto value_size = value.size; - valueSerializer.writeNumber(value_size); - const auto value_force = value.force; - valueSerializer.writeNumber(value_force); - const auto value_timestamp = value.timestamp; - valueSerializer.writeInt64(value_timestamp); + const auto value_rangeBefore = value.rangeBefore; + valueSerializer.writeTextRange(value_rangeBefore); + const auto value_rangeAfter = value.rangeAfter; + valueSerializer.writeTextRange(value_rangeAfter); + const auto value_oldContent = value.oldContent; + valueSerializer.writeString(value_oldContent); + const auto value_oldPreviewText = value.oldPreviewText; + valueSerializer.writePreviewText(value_oldPreviewText); } - void writeIconOptions(Ark_IconOptions value) + void writeTextDecorationOptions(Ark_TextDecorationOptions value) { Serializer& valueSerializer = *this; - const auto value_size = value.size; - Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; - value_size_type = runtimeType(value_size); - valueSerializer.writeInt8(value_size_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { - const auto value_size_value = value_size.value; - Ark_Int32 value_size_value_type = INTEROP_RUNTIME_UNDEFINED; - value_size_value_type = value_size_value.selector; - if (value_size_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_size_value_0 = value_size_value.value0; - valueSerializer.writeString(value_size_value_0); - } - else if (value_size_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_size_value_1 = value_size_value.value1; - valueSerializer.writeNumber(value_size_value_1); - } - else if (value_size_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_size_value_2 = value_size_value.value2; - valueSerializer.writeResource(value_size_value_2); - } - } + const auto value_type = value.type; + valueSerializer.writeInt32(static_cast(value_type)); const auto value_color = value.color; Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); @@ -68514,1311 +76006,1283 @@ class Serializer : public SerializerBase { valueSerializer.writeResource(value_color_value_3); } } - const auto value_src = value.src; - Ark_Int32 value_src_type = INTEROP_RUNTIME_UNDEFINED; - value_src_type = runtimeType(value_src); - valueSerializer.writeInt8(value_src_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_src_type)) { - const auto value_src_value = value_src.value; - Ark_Int32 value_src_value_type = INTEROP_RUNTIME_UNDEFINED; - value_src_value_type = value_src_value.selector; - if (value_src_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_src_value_0 = value_src_value.value0; - valueSerializer.writeString(value_src_value_0); - } - else if (value_src_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_src_value_1 = value_src_value.value1; - valueSerializer.writeResource(value_src_value_1); - } + const auto value_style = value.style; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; + value_style_type = runtimeType(value_style); + valueSerializer.writeInt8(value_style_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { + const auto value_style_value = value_style.value; + valueSerializer.writeInt32(static_cast(value_style_value)); } } - void writeImageFrameInfo(Ark_ImageFrameInfo value) + void writeTextInputOptions(Ark_TextInputOptions value) { Serializer& valueSerializer = *this; - const auto value_src = value.src; - Ark_Int32 value_src_type = INTEROP_RUNTIME_UNDEFINED; - value_src_type = value_src.selector; - if (value_src_type == 0) { - valueSerializer.writeInt8(0); - const auto value_src_0 = value_src.value0; - valueSerializer.writeString(value_src_0); - } - else if (value_src_type == 1) { - valueSerializer.writeInt8(1); - const auto value_src_1 = value_src.value1; - valueSerializer.writeResource(value_src_1); - } - else if (value_src_type == 2) { - valueSerializer.writeInt8(2); - const auto value_src_2 = value_src.value2; - valueSerializer.writePixelMap(value_src_2); - } - const auto value_width = value.width; - Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; - value_width_type = runtimeType(value_width); - valueSerializer.writeInt8(value_width_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { - const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_type = value_width_value.selector; - if (value_width_value_type == 0) { + const auto value_placeholder = value.placeholder; + Ark_Int32 value_placeholder_type = INTEROP_RUNTIME_UNDEFINED; + value_placeholder_type = runtimeType(value_placeholder); + valueSerializer.writeInt8(value_placeholder_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_placeholder_type)) { + const auto value_placeholder_value = value_placeholder.value; + Ark_Int32 value_placeholder_value_type = INTEROP_RUNTIME_UNDEFINED; + value_placeholder_value_type = value_placeholder_value.selector; + if (value_placeholder_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_width_value_0 = value_width_value.value0; - valueSerializer.writeNumber(value_width_value_0); + const auto value_placeholder_value_0 = value_placeholder_value.value0; + valueSerializer.writeString(value_placeholder_value_0); } - else if (value_width_value_type == 1) { + else if (value_placeholder_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_width_value_1 = value_width_value.value1; - valueSerializer.writeString(value_width_value_1); + const auto value_placeholder_value_1 = value_placeholder_value.value1; + valueSerializer.writeResource(value_placeholder_value_1); } } - const auto value_height = value.height; - Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; - value_height_type = runtimeType(value_height); - valueSerializer.writeInt8(value_height_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { - const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; - value_height_value_type = value_height_value.selector; - if (value_height_value_type == 0) { + const auto value_text = value.text; + Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; + value_text_type = runtimeType(value_text); + valueSerializer.writeInt8(value_text_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { + const auto value_text_value = value_text.value; + Ark_Int32 value_text_value_type = INTEROP_RUNTIME_UNDEFINED; + value_text_value_type = value_text_value.selector; + if (value_text_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_height_value_0 = value_height_value.value0; - valueSerializer.writeNumber(value_height_value_0); + const auto value_text_value_0 = value_text_value.value0; + valueSerializer.writeString(value_text_value_0); } - else if (value_height_value_type == 1) { + else if (value_text_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_height_value_1 = value_height_value.value1; - valueSerializer.writeString(value_height_value_1); + const auto value_text_value_1 = value_text_value.value1; + valueSerializer.writeResource(value_text_value_1); } } - const auto value_top = value.top; - Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_top_type = runtimeType(value_top); - valueSerializer.writeInt8(value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { - const auto value_top_value = value_top.value; - Ark_Int32 value_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_top_value_type = value_top_value.selector; - if (value_top_value_type == 0) { + const auto value_controller = value.controller; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; + value_controller_type = runtimeType(value_controller); + valueSerializer.writeInt8(value_controller_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { + const auto value_controller_value = value_controller.value; + valueSerializer.writeTextInputController(value_controller_value); + } + } + void writeTextMenuItem(Ark_TextMenuItem value) + { + Serializer& valueSerializer = *this; + const auto value_content = value.content; + Ark_Int32 value_content_type = INTEROP_RUNTIME_UNDEFINED; + value_content_type = value_content.selector; + if (value_content_type == 0) { + valueSerializer.writeInt8(0); + const auto value_content_0 = value_content.value0; + valueSerializer.writeString(value_content_0); + } + else if (value_content_type == 1) { + valueSerializer.writeInt8(1); + const auto value_content_1 = value_content.value1; + valueSerializer.writeResource(value_content_1); + } + const auto value_icon = value.icon; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_type = runtimeType(value_icon); + valueSerializer.writeInt8(value_icon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { + const auto value_icon_value = value_icon.value; + Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_value_type = value_icon_value.selector; + if (value_icon_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_top_value_0 = value_top_value.value0; - valueSerializer.writeNumber(value_top_value_0); + const auto value_icon_value_0 = value_icon_value.value0; + valueSerializer.writeString(value_icon_value_0); } - else if (value_top_value_type == 1) { + else if (value_icon_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_top_value_1 = value_top_value.value1; - valueSerializer.writeString(value_top_value_1); + const auto value_icon_value_1 = value_icon_value.value1; + valueSerializer.writeResource(value_icon_value_1); } } - const auto value_left = value.left; - Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; - value_left_type = runtimeType(value_left); - valueSerializer.writeInt8(value_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { - const auto value_left_value = value_left.value; - Ark_Int32 value_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_left_value_type = value_left_value.selector; - if (value_left_value_type == 0) { + const auto value_id = value.id; + valueSerializer.writeTextMenuItemId(value_id); + const auto value_labelInfo = value.labelInfo; + Ark_Int32 value_labelInfo_type = INTEROP_RUNTIME_UNDEFINED; + value_labelInfo_type = runtimeType(value_labelInfo); + valueSerializer.writeInt8(value_labelInfo_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_labelInfo_type)) { + const auto value_labelInfo_value = value_labelInfo.value; + Ark_Int32 value_labelInfo_value_type = INTEROP_RUNTIME_UNDEFINED; + value_labelInfo_value_type = value_labelInfo_value.selector; + if (value_labelInfo_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_left_value_0 = value_left_value.value0; - valueSerializer.writeNumber(value_left_value_0); + const auto value_labelInfo_value_0 = value_labelInfo_value.value0; + valueSerializer.writeString(value_labelInfo_value_0); } - else if (value_left_value_type == 1) { + else if (value_labelInfo_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_left_value_1 = value_left_value.value1; - valueSerializer.writeString(value_left_value_1); + const auto value_labelInfo_value_1 = value_labelInfo_value.value1; + valueSerializer.writeResource(value_labelInfo_value_1); } } - const auto value_duration = value.duration; - Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; - value_duration_type = runtimeType(value_duration); - valueSerializer.writeInt8(value_duration_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_duration_type)) { - const auto value_duration_value = value_duration.value; - valueSerializer.writeNumber(value_duration_value); - } } - void writeIndicatorStyle(Ark_IndicatorStyle value) + void writeTextPickerOptions(Ark_TextPickerOptions value) { Serializer& valueSerializer = *this; - const auto value_height = value.height; - Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; - value_height_type = runtimeType(value_height); - valueSerializer.writeInt8(value_height_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { - const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; - value_height_value_type = value_height_value.selector; - if (value_height_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_height_value_0 = value_height_value.value0; - valueSerializer.writeString(value_height_value_0); + const auto value_range = value.range; + Ark_Int32 value_range_type = INTEROP_RUNTIME_UNDEFINED; + value_range_type = value_range.selector; + if (value_range_type == 0) { + valueSerializer.writeInt8(0); + const auto value_range_0 = value_range.value0; + valueSerializer.writeInt32(value_range_0.length); + for (int i = 0; i < value_range_0.length; i++) { + const Ark_String value_range_0_element = value_range_0.array[i]; + valueSerializer.writeString(value_range_0_element); } - else if (value_height_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_height_value_1 = value_height_value.value1; - valueSerializer.writeNumber(value_height_value_1); + } + else if (value_range_type == 1) { + valueSerializer.writeInt8(1); + const auto value_range_1 = value_range.value1; + valueSerializer.writeInt32(value_range_1.length); + for (int i = 0; i < value_range_1.length; i++) { + const Array_String value_range_1_element = value_range_1.array[i]; + valueSerializer.writeInt32(value_range_1_element.length); + for (int i = 0; i < value_range_1_element.length; i++) { + const Ark_String value_range_1_element_element = value_range_1_element.array[i]; + valueSerializer.writeString(value_range_1_element_element); + } } - else if (value_height_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_height_value_2 = value_height_value.value2; - valueSerializer.writeResource(value_height_value_2); + } + else if (value_range_type == 2) { + valueSerializer.writeInt8(2); + const auto value_range_2 = value_range.value2; + valueSerializer.writeResource(value_range_2); + } + else if (value_range_type == 3) { + valueSerializer.writeInt8(3); + const auto value_range_3 = value_range.value3; + valueSerializer.writeInt32(value_range_3.length); + for (int i = 0; i < value_range_3.length; i++) { + const Ark_TextPickerRangeContent value_range_3_element = value_range_3.array[i]; + valueSerializer.writeTextPickerRangeContent(value_range_3_element); } } - const auto value_width = value.width; - Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; - value_width_type = runtimeType(value_width); - valueSerializer.writeInt8(value_width_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { - const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_type = value_width_value.selector; - if (value_width_value_type == 0) { + else if (value_range_type == 4) { + valueSerializer.writeInt8(4); + const auto value_range_4 = value_range.value4; + valueSerializer.writeInt32(value_range_4.length); + for (int i = 0; i < value_range_4.length; i++) { + const Ark_TextCascadePickerRangeContent value_range_4_element = value_range_4.array[i]; + valueSerializer.writeTextCascadePickerRangeContent(value_range_4_element); + } + } + const auto value_value = value.value; + Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; + value_value_type = runtimeType(value_value); + valueSerializer.writeInt8(value_value_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_type)) { + const auto value_value_value = value_value.value; + Ark_Int32 value_value_value_type = INTEROP_RUNTIME_UNDEFINED; + value_value_value_type = value_value_value.selector; + if (value_value_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_width_value_0 = value_width_value.value0; - valueSerializer.writeString(value_width_value_0); + const auto value_value_value_0 = value_value_value.value0; + valueSerializer.writeString(value_value_value_0); } - else if (value_width_value_type == 1) { + else if (value_value_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_width_value_1 = value_width_value.value1; - valueSerializer.writeNumber(value_width_value_1); - } - else if (value_width_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_2 = value_width_value.value2; - valueSerializer.writeResource(value_width_value_2); + const auto value_value_value_1 = value_value_value.value1; + valueSerializer.writeInt32(value_value_value_1.length); + for (int i = 0; i < value_value_value_1.length; i++) { + const Ark_String value_value_value_1_element = value_value_value_1.array[i]; + valueSerializer.writeString(value_value_value_1_element); + } } } - const auto value_borderRadius = value.borderRadius; - Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_type = runtimeType(value_borderRadius); - valueSerializer.writeInt8(value_borderRadius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { - const auto value_borderRadius_value = value_borderRadius.value; - Ark_Int32 value_borderRadius_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_type = value_borderRadius_value.selector; - if (value_borderRadius_value_type == 0) { + const auto value_selected = value.selected; + Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; + value_selected_type = runtimeType(value_selected); + valueSerializer.writeInt8(value_selected_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selected_type)) { + const auto value_selected_value = value_selected.value; + Ark_Int32 value_selected_value_type = INTEROP_RUNTIME_UNDEFINED; + value_selected_value_type = value_selected_value.selector; + if (value_selected_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_borderRadius_value_0 = value_borderRadius_value.value0; - valueSerializer.writeString(value_borderRadius_value_0); + const auto value_selected_value_0 = value_selected_value.value0; + valueSerializer.writeNumber(value_selected_value_0); } - else if (value_borderRadius_value_type == 1) { + else if (value_selected_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1 = value_borderRadius_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1); + const auto value_selected_value_1 = value_selected_value.value1; + valueSerializer.writeInt32(value_selected_value_1.length); + for (int i = 0; i < value_selected_value_1.length; i++) { + const Ark_Number value_selected_value_1_element = value_selected_value_1.array[i]; + valueSerializer.writeNumber(value_selected_value_1_element); + } } - else if (value_borderRadius_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_2 = value_borderRadius_value.value2; - valueSerializer.writeResource(value_borderRadius_value_2); + } + const auto value_columnWidths = value.columnWidths; + Ark_Int32 value_columnWidths_type = INTEROP_RUNTIME_UNDEFINED; + value_columnWidths_type = runtimeType(value_columnWidths); + valueSerializer.writeInt8(value_columnWidths_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_columnWidths_type)) { + const auto value_columnWidths_value = value_columnWidths.value; + valueSerializer.writeInt32(value_columnWidths_value.length); + for (int i = 0; i < value_columnWidths_value.length; i++) { + const Ark_LengthMetrics value_columnWidths_value_element = value_columnWidths_value.array[i]; + valueSerializer.writeLengthMetrics(value_columnWidths_value_element); } } - const auto value_marginTop = value.marginTop; - Ark_Int32 value_marginTop_type = INTEROP_RUNTIME_UNDEFINED; - value_marginTop_type = runtimeType(value_marginTop); - valueSerializer.writeInt8(value_marginTop_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_marginTop_type)) { - const auto value_marginTop_value = value_marginTop.value; - Ark_Int32 value_marginTop_value_type = INTEROP_RUNTIME_UNDEFINED; - value_marginTop_value_type = value_marginTop_value.selector; - if (value_marginTop_value_type == 0) { + } + void writeTextPickerRangeContent(Ark_TextPickerRangeContent value) + { + Serializer& valueSerializer = *this; + const auto value_icon = value.icon; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_type = value_icon.selector; + if (value_icon_type == 0) { + valueSerializer.writeInt8(0); + const auto value_icon_0 = value_icon.value0; + valueSerializer.writeString(value_icon_0); + } + else if (value_icon_type == 1) { + valueSerializer.writeInt8(1); + const auto value_icon_1 = value_icon.value1; + valueSerializer.writeResource(value_icon_1); + } + const auto value_text = value.text; + Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; + value_text_type = runtimeType(value_text); + valueSerializer.writeInt8(value_text_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { + const auto value_text_value = value_text.value; + Ark_Int32 value_text_value_type = INTEROP_RUNTIME_UNDEFINED; + value_text_value_type = value_text_value.selector; + if (value_text_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_marginTop_value_0 = value_marginTop_value.value0; - valueSerializer.writeString(value_marginTop_value_0); + const auto value_text_value_0 = value_text_value.value0; + valueSerializer.writeString(value_text_value_0); } - else if (value_marginTop_value_type == 1) { + else if (value_text_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_marginTop_value_1 = value_marginTop_value.value1; - valueSerializer.writeNumber(value_marginTop_value_1); + const auto value_text_value_1 = value_text_value.value1; + valueSerializer.writeResource(value_text_value_1); } - else if (value_marginTop_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_marginTop_value_2 = value_marginTop_value.value2; - valueSerializer.writeResource(value_marginTop_value_2); + } + } + void writeTextPickerResult(Ark_TextPickerResult value) + { + Serializer& valueSerializer = *this; + const auto value_value = value.value; + Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; + value_value_type = value_value.selector; + if (value_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_value_0 = value_value.value0; + valueSerializer.writeString(value_value_0); + } + else if (value_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_value_1 = value_value.value1; + valueSerializer.writeInt32(value_value_1.length); + for (int i = 0; i < value_value_1.length; i++) { + const Ark_String value_value_1_element = value_value_1.array[i]; + valueSerializer.writeString(value_value_1_element); + } + } + const auto value_index = value.index; + Ark_Int32 value_index_type = INTEROP_RUNTIME_UNDEFINED; + value_index_type = value_index.selector; + if (value_index_type == 0) { + valueSerializer.writeInt8(0); + const auto value_index_0 = value_index.value0; + valueSerializer.writeNumber(value_index_0); + } + else if (value_index_type == 1) { + valueSerializer.writeInt8(1); + const auto value_index_1 = value_index.value1; + valueSerializer.writeInt32(value_index_1.length); + for (int i = 0; i < value_index_1.length; i++) { + const Ark_Number value_index_1_element = value_index_1.array[i]; + valueSerializer.writeNumber(value_index_1_element); } } + } + void writeTextShadow(Ark_TextShadow value) + { + Serializer& valueSerializer = *this; const auto value_color = value.color; Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_type = value_color_value.selector; - if (value_color_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_color_value_0 = value_color_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0)); - } - else if (value_color_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeNumber(value_color_value_1); - } - else if (value_color_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeString(value_color_value_2); - } - else if (value_color_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeResource(value_color_value_3); - } + valueSerializer.writecommon2D_Color(value_color_value); } - const auto value_selectedColor = value.selectedColor; - Ark_Int32 value_selectedColor_type = INTEROP_RUNTIME_UNDEFINED; - value_selectedColor_type = runtimeType(value_selectedColor); - valueSerializer.writeInt8(value_selectedColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_selectedColor_type)) { - const auto value_selectedColor_value = value_selectedColor.value; - Ark_Int32 value_selectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_selectedColor_value_type = value_selectedColor_value.selector; - if (value_selectedColor_value_type == 0) { + const auto value_point = value.point; + Ark_Int32 value_point_type = INTEROP_RUNTIME_UNDEFINED; + value_point_type = runtimeType(value_point); + valueSerializer.writeInt8(value_point_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_point_type)) { + const auto value_point_value = value_point.value; + valueSerializer.writecommon2D_Point(value_point_value); + } + const auto value_blurRadius = value.blurRadius; + Ark_Int32 value_blurRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_blurRadius_type = runtimeType(value_blurRadius); + valueSerializer.writeInt8(value_blurRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_blurRadius_type)) { + const auto value_blurRadius_value = value_blurRadius.value; + valueSerializer.writeNumber(value_blurRadius_value); + } + } + void writeTextStyle_styled_string(Ark_TextStyle_styled_string value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } + void writeTextStyleInterface(Ark_TextStyleInterface value) + { + Serializer& valueSerializer = *this; + const auto value_fontColor = value.fontColor; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; + value_fontColor_type = runtimeType(value_fontColor); + valueSerializer.writeInt8(value_fontColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { + const auto value_fontColor_value = value_fontColor.value; + Ark_Int32 value_fontColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontColor_value_type = value_fontColor_value.selector; + if (value_fontColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_selectedColor_value_0 = value_selectedColor_value.value0; - valueSerializer.writeInt32(static_cast(value_selectedColor_value_0)); + const auto value_fontColor_value_0 = value_fontColor_value.value0; + valueSerializer.writeInt32(static_cast(value_fontColor_value_0)); } - else if (value_selectedColor_value_type == 1) { + else if (value_fontColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_selectedColor_value_1 = value_selectedColor_value.value1; - valueSerializer.writeNumber(value_selectedColor_value_1); + const auto value_fontColor_value_1 = value_fontColor_value.value1; + valueSerializer.writeNumber(value_fontColor_value_1); } - else if (value_selectedColor_value_type == 2) { + else if (value_fontColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_selectedColor_value_2 = value_selectedColor_value.value2; - valueSerializer.writeString(value_selectedColor_value_2); + const auto value_fontColor_value_2 = value_fontColor_value.value2; + valueSerializer.writeString(value_fontColor_value_2); } - else if (value_selectedColor_value_type == 3) { + else if (value_fontColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_selectedColor_value_3 = value_selectedColor_value.value3; - valueSerializer.writeResource(value_selectedColor_value_3); + const auto value_fontColor_value_3 = value_fontColor_value.value3; + valueSerializer.writeResource(value_fontColor_value_3); } } - const auto value_left = value.left; - Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; - value_left_type = runtimeType(value_left); - valueSerializer.writeInt8(value_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { - const auto value_left_value = value_left.value; - Ark_Int32 value_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_left_value_type = value_left_value.selector; - if (value_left_value_type == 0) { + const auto value_fontFamily = value.fontFamily; + Ark_Int32 value_fontFamily_type = INTEROP_RUNTIME_UNDEFINED; + value_fontFamily_type = runtimeType(value_fontFamily); + valueSerializer.writeInt8(value_fontFamily_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFamily_type)) { + const auto value_fontFamily_value = value_fontFamily.value; + Ark_Int32 value_fontFamily_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontFamily_value_type = value_fontFamily_value.selector; + if (value_fontFamily_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_left_value_0 = value_left_value.value0; - valueSerializer.writeString(value_left_value_0); + const auto value_fontFamily_value_0 = value_fontFamily_value.value0; + valueSerializer.writeString(value_fontFamily_value_0); } - else if (value_left_value_type == 1) { + else if (value_fontFamily_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_left_value_1 = value_left_value.value1; - valueSerializer.writeNumber(value_left_value_1); - } - else if (value_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_left_value_2 = value_left_value.value2; - valueSerializer.writeResource(value_left_value_2); + const auto value_fontFamily_value_1 = value_fontFamily_value.value1; + valueSerializer.writeResource(value_fontFamily_value_1); } } - const auto value_top = value.top; - Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_top_type = runtimeType(value_top); - valueSerializer.writeInt8(value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { - const auto value_top_value = value_top.value; - Ark_Int32 value_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_top_value_type = value_top_value.selector; - if (value_top_value_type == 0) { + const auto value_fontSize = value.fontSize; + Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; + value_fontSize_type = runtimeType(value_fontSize); + valueSerializer.writeInt8(value_fontSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { + const auto value_fontSize_value = value_fontSize.value; + valueSerializer.writeLengthMetrics(value_fontSize_value); + } + const auto value_fontWeight = value.fontWeight; + Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; + value_fontWeight_type = runtimeType(value_fontWeight); + valueSerializer.writeInt8(value_fontWeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { + const auto value_fontWeight_value = value_fontWeight.value; + Ark_Int32 value_fontWeight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontWeight_value_type = value_fontWeight_value.selector; + if (value_fontWeight_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_top_value_0 = value_top_value.value0; - valueSerializer.writeString(value_top_value_0); + const auto value_fontWeight_value_0 = value_fontWeight_value.value0; + valueSerializer.writeNumber(value_fontWeight_value_0); } - else if (value_top_value_type == 1) { + else if (value_fontWeight_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_top_value_1 = value_top_value.value1; - valueSerializer.writeNumber(value_top_value_1); + const auto value_fontWeight_value_1 = value_fontWeight_value.value1; + valueSerializer.writeInt32(static_cast(value_fontWeight_value_1)); } - else if (value_top_value_type == 2) { + else if (value_fontWeight_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_top_value_2 = value_top_value.value2; - valueSerializer.writeResource(value_top_value_2); + const auto value_fontWeight_value_2 = value_fontWeight_value.value2; + valueSerializer.writeString(value_fontWeight_value_2); } } - const auto value_right = value.right; - Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; - value_right_type = runtimeType(value_right); - valueSerializer.writeInt8(value_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { - const auto value_right_value = value_right.value; - Ark_Int32 value_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_right_value_type = value_right_value.selector; - if (value_right_value_type == 0) { + const auto value_fontStyle = value.fontStyle; + Ark_Int32 value_fontStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_fontStyle_type = runtimeType(value_fontStyle); + valueSerializer.writeInt8(value_fontStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontStyle_type)) { + const auto value_fontStyle_value = value_fontStyle.value; + valueSerializer.writeInt32(static_cast(value_fontStyle_value)); + } + } + void writeTodayStyle(Ark_TodayStyle value) + { + Serializer& valueSerializer = *this; + const auto value_focusedDayColor = value.focusedDayColor; + Ark_Int32 value_focusedDayColor_type = INTEROP_RUNTIME_UNDEFINED; + value_focusedDayColor_type = runtimeType(value_focusedDayColor); + valueSerializer.writeInt8(value_focusedDayColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusedDayColor_type)) { + const auto value_focusedDayColor_value = value_focusedDayColor.value; + Ark_Int32 value_focusedDayColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_focusedDayColor_value_type = value_focusedDayColor_value.selector; + if (value_focusedDayColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_right_value_0 = value_right_value.value0; - valueSerializer.writeString(value_right_value_0); + const auto value_focusedDayColor_value_0 = value_focusedDayColor_value.value0; + valueSerializer.writeInt32(static_cast(value_focusedDayColor_value_0)); } - else if (value_right_value_type == 1) { + else if (value_focusedDayColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_right_value_1 = value_right_value.value1; - valueSerializer.writeNumber(value_right_value_1); + const auto value_focusedDayColor_value_1 = value_focusedDayColor_value.value1; + valueSerializer.writeNumber(value_focusedDayColor_value_1); } - else if (value_right_value_type == 2) { + else if (value_focusedDayColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_right_value_2 = value_right_value.value2; - valueSerializer.writeResource(value_right_value_2); + const auto value_focusedDayColor_value_2 = value_focusedDayColor_value.value2; + valueSerializer.writeString(value_focusedDayColor_value_2); + } + else if (value_focusedDayColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_focusedDayColor_value_3 = value_focusedDayColor_value.value3; + valueSerializer.writeResource(value_focusedDayColor_value_3); } } - const auto value_bottom = value.bottom; - Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_bottom_type = runtimeType(value_bottom); - valueSerializer.writeInt8(value_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { - const auto value_bottom_value = value_bottom.value; - Ark_Int32 value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_bottom_value_type = value_bottom_value.selector; - if (value_bottom_value_type == 0) { + const auto value_focusedLunarColor = value.focusedLunarColor; + Ark_Int32 value_focusedLunarColor_type = INTEROP_RUNTIME_UNDEFINED; + value_focusedLunarColor_type = runtimeType(value_focusedLunarColor); + valueSerializer.writeInt8(value_focusedLunarColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusedLunarColor_type)) { + const auto value_focusedLunarColor_value = value_focusedLunarColor.value; + Ark_Int32 value_focusedLunarColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_focusedLunarColor_value_type = value_focusedLunarColor_value.selector; + if (value_focusedLunarColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_bottom_value_0 = value_bottom_value.value0; - valueSerializer.writeString(value_bottom_value_0); + const auto value_focusedLunarColor_value_0 = value_focusedLunarColor_value.value0; + valueSerializer.writeInt32(static_cast(value_focusedLunarColor_value_0)); } - else if (value_bottom_value_type == 1) { + else if (value_focusedLunarColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_bottom_value_1 = value_bottom_value.value1; - valueSerializer.writeNumber(value_bottom_value_1); + const auto value_focusedLunarColor_value_1 = value_focusedLunarColor_value.value1; + valueSerializer.writeNumber(value_focusedLunarColor_value_1); } - else if (value_bottom_value_type == 2) { + else if (value_focusedLunarColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_bottom_value_2 = value_bottom_value.value2; - valueSerializer.writeResource(value_bottom_value_2); + const auto value_focusedLunarColor_value_2 = value_focusedLunarColor_value.value2; + valueSerializer.writeString(value_focusedLunarColor_value_2); + } + else if (value_focusedLunarColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_focusedLunarColor_value_3 = value_focusedLunarColor_value.value3; + valueSerializer.writeResource(value_focusedLunarColor_value_3); } } - const auto value_size = value.size; - Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; - value_size_type = runtimeType(value_size); - valueSerializer.writeInt8(value_size_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { - const auto value_size_value = value_size.value; - Ark_Int32 value_size_value_type = INTEROP_RUNTIME_UNDEFINED; - value_size_value_type = value_size_value.selector; - if (value_size_value_type == 0) { + const auto value_focusedAreaBackgroundColor = value.focusedAreaBackgroundColor; + Ark_Int32 value_focusedAreaBackgroundColor_type = INTEROP_RUNTIME_UNDEFINED; + value_focusedAreaBackgroundColor_type = runtimeType(value_focusedAreaBackgroundColor); + valueSerializer.writeInt8(value_focusedAreaBackgroundColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusedAreaBackgroundColor_type)) { + const auto value_focusedAreaBackgroundColor_value = value_focusedAreaBackgroundColor.value; + Ark_Int32 value_focusedAreaBackgroundColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_focusedAreaBackgroundColor_value_type = value_focusedAreaBackgroundColor_value.selector; + if (value_focusedAreaBackgroundColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_size_value_0 = value_size_value.value0; - valueSerializer.writeString(value_size_value_0); + const auto value_focusedAreaBackgroundColor_value_0 = value_focusedAreaBackgroundColor_value.value0; + valueSerializer.writeInt32(static_cast(value_focusedAreaBackgroundColor_value_0)); } - else if (value_size_value_type == 1) { + else if (value_focusedAreaBackgroundColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_size_value_1 = value_size_value.value1; - valueSerializer.writeNumber(value_size_value_1); + const auto value_focusedAreaBackgroundColor_value_1 = value_focusedAreaBackgroundColor_value.value1; + valueSerializer.writeNumber(value_focusedAreaBackgroundColor_value_1); } - else if (value_size_value_type == 2) { + else if (value_focusedAreaBackgroundColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_size_value_2 = value_size_value.value2; - valueSerializer.writeResource(value_size_value_2); + const auto value_focusedAreaBackgroundColor_value_2 = value_focusedAreaBackgroundColor_value.value2; + valueSerializer.writeString(value_focusedAreaBackgroundColor_value_2); } - } - const auto value_mask = value.mask; - Ark_Int32 value_mask_type = INTEROP_RUNTIME_UNDEFINED; - value_mask_type = runtimeType(value_mask); - valueSerializer.writeInt8(value_mask_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_mask_type)) { - const auto value_mask_value = value_mask.value; - valueSerializer.writeBoolean(value_mask_value); - } - } - void writeJavaScriptProxy(Ark_JavaScriptProxy value) - { - Serializer& valueSerializer = *this; - const auto value_object_ = value.object_; - valueSerializer.writeObject(value_object_); - const auto value_name = value.name; - valueSerializer.writeString(value_name); - const auto value_methodList = value.methodList; - valueSerializer.writeInt32(value_methodList.length); - for (int i = 0; i < value_methodList.length; i++) { - const Ark_String value_methodList_element = value_methodList.array[i]; - valueSerializer.writeString(value_methodList_element); - } - const auto value_controller = value.controller; - Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; - value_controller_type = value_controller.selector; - if (value_controller_type == 0) { - valueSerializer.writeInt8(0); - const auto value_controller_0 = value_controller.value0; - valueSerializer.writeWebController(value_controller_0); - } - else if (value_controller_type == 1) { - valueSerializer.writeInt8(1); - const auto value_controller_1 = value_controller.value1; - valueSerializer.writeWebviewController(value_controller_1); - } - const auto value_asyncMethodList = value.asyncMethodList; - Ark_Int32 value_asyncMethodList_type = INTEROP_RUNTIME_UNDEFINED; - value_asyncMethodList_type = runtimeType(value_asyncMethodList); - valueSerializer.writeInt8(value_asyncMethodList_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_asyncMethodList_type)) { - const auto value_asyncMethodList_value = value_asyncMethodList.value; - valueSerializer.writeInt32(value_asyncMethodList_value.length); - for (int i = 0; i < value_asyncMethodList_value.length; i++) { - const Ark_String value_asyncMethodList_value_element = value_asyncMethodList_value.array[i]; - valueSerializer.writeString(value_asyncMethodList_value_element); + else if (value_focusedAreaBackgroundColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_focusedAreaBackgroundColor_value_3 = value_focusedAreaBackgroundColor_value.value3; + valueSerializer.writeResource(value_focusedAreaBackgroundColor_value_3); } } - const auto value_permission = value.permission; - Ark_Int32 value_permission_type = INTEROP_RUNTIME_UNDEFINED; - value_permission_type = runtimeType(value_permission); - valueSerializer.writeInt8(value_permission_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_permission_type)) { - const auto value_permission_value = value_permission.value; - valueSerializer.writeString(value_permission_value); + const auto value_focusedAreaRadius = value.focusedAreaRadius; + Ark_Int32 value_focusedAreaRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_focusedAreaRadius_type = runtimeType(value_focusedAreaRadius); + valueSerializer.writeInt8(value_focusedAreaRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusedAreaRadius_type)) { + const auto value_focusedAreaRadius_value = value_focusedAreaRadius.value; + valueSerializer.writeNumber(value_focusedAreaRadius_value); } } - void writeLightSource(Ark_LightSource value) + void writeToolbarItem(Ark_ToolbarItem value) { Serializer& valueSerializer = *this; - const auto value_positionX = value.positionX; - Ark_Int32 value_positionX_type = INTEROP_RUNTIME_UNDEFINED; - value_positionX_type = value_positionX.selector; - if (value_positionX_type == 0) { - valueSerializer.writeInt8(0); - const auto value_positionX_0 = value_positionX.value0; - valueSerializer.writeString(value_positionX_0); - } - else if (value_positionX_type == 1) { - valueSerializer.writeInt8(1); - const auto value_positionX_1 = value_positionX.value1; - valueSerializer.writeNumber(value_positionX_1); - } - else if (value_positionX_type == 2) { - valueSerializer.writeInt8(2); - const auto value_positionX_2 = value_positionX.value2; - valueSerializer.writeResource(value_positionX_2); - } - const auto value_positionY = value.positionY; - Ark_Int32 value_positionY_type = INTEROP_RUNTIME_UNDEFINED; - value_positionY_type = value_positionY.selector; - if (value_positionY_type == 0) { + const auto value_value = value.value; + Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; + value_value_type = value_value.selector; + if (value_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_positionY_0 = value_positionY.value0; - valueSerializer.writeString(value_positionY_0); + const auto value_value_0 = value_value.value0; + valueSerializer.writeString(value_value_0); } - else if (value_positionY_type == 1) { + else if (value_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_positionY_1 = value_positionY.value1; - valueSerializer.writeNumber(value_positionY_1); + const auto value_value_1 = value_value.value1; + valueSerializer.writeResource(value_value_1); } - else if (value_positionY_type == 2) { - valueSerializer.writeInt8(2); - const auto value_positionY_2 = value_positionY.value2; - valueSerializer.writeResource(value_positionY_2); + const auto value_icon = value.icon; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_type = runtimeType(value_icon); + valueSerializer.writeInt8(value_icon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { + const auto value_icon_value = value_icon.value; + Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_value_type = value_icon_value.selector; + if (value_icon_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_icon_value_0 = value_icon_value.value0; + valueSerializer.writeString(value_icon_value_0); + } + else if (value_icon_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_icon_value_1 = value_icon_value.value1; + valueSerializer.writeResource(value_icon_value_1); + } } - const auto value_positionZ = value.positionZ; - Ark_Int32 value_positionZ_type = INTEROP_RUNTIME_UNDEFINED; - value_positionZ_type = value_positionZ.selector; - if (value_positionZ_type == 0) { - valueSerializer.writeInt8(0); - const auto value_positionZ_0 = value_positionZ.value0; - valueSerializer.writeString(value_positionZ_0); + const auto value_symbolIcon = value.symbolIcon; + Ark_Int32 value_symbolIcon_type = INTEROP_RUNTIME_UNDEFINED; + value_symbolIcon_type = runtimeType(value_symbolIcon); + valueSerializer.writeInt8(value_symbolIcon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolIcon_type)) { + const auto value_symbolIcon_value = value_symbolIcon.value; + valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value); } - else if (value_positionZ_type == 1) { - valueSerializer.writeInt8(1); - const auto value_positionZ_1 = value_positionZ.value1; - valueSerializer.writeNumber(value_positionZ_1); + const auto value_action = value.action; + Ark_Int32 value_action_type = INTEROP_RUNTIME_UNDEFINED; + value_action_type = runtimeType(value_action); + valueSerializer.writeInt8(value_action_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_action_type)) { + const auto value_action_value = value_action.value; + valueSerializer.writeCallbackResource(value_action_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_action_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_action_value.callSync)); } - else if (value_positionZ_type == 2) { - valueSerializer.writeInt8(2); - const auto value_positionZ_2 = value_positionZ.value2; - valueSerializer.writeResource(value_positionZ_2); + const auto value_status = value.status; + Ark_Int32 value_status_type = INTEROP_RUNTIME_UNDEFINED; + value_status_type = runtimeType(value_status); + valueSerializer.writeInt8(value_status_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_status_type)) { + const auto value_status_value = value_status.value; + valueSerializer.writeInt32(static_cast(value_status_value)); } - const auto value_intensity = value.intensity; - valueSerializer.writeNumber(value_intensity); - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_type = value_color_value.selector; - if (value_color_value_type == 0) { + const auto value_activeIcon = value.activeIcon; + Ark_Int32 value_activeIcon_type = INTEROP_RUNTIME_UNDEFINED; + value_activeIcon_type = runtimeType(value_activeIcon); + valueSerializer.writeInt8(value_activeIcon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_activeIcon_type)) { + const auto value_activeIcon_value = value_activeIcon.value; + Ark_Int32 value_activeIcon_value_type = INTEROP_RUNTIME_UNDEFINED; + value_activeIcon_value_type = value_activeIcon_value.selector; + if (value_activeIcon_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_color_value_0 = value_color_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0)); + const auto value_activeIcon_value_0 = value_activeIcon_value.value0; + valueSerializer.writeString(value_activeIcon_value_0); } - else if (value_color_value_type == 1) { + else if (value_activeIcon_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeNumber(value_color_value_1); - } - else if (value_color_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeString(value_color_value_2); - } - else if (value_color_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeResource(value_color_value_3); + const auto value_activeIcon_value_1 = value_activeIcon_value.value1; + valueSerializer.writeResource(value_activeIcon_value_1); } } + const auto value_activeSymbolIcon = value.activeSymbolIcon; + Ark_Int32 value_activeSymbolIcon_type = INTEROP_RUNTIME_UNDEFINED; + value_activeSymbolIcon_type = runtimeType(value_activeSymbolIcon); + valueSerializer.writeInt8(value_activeSymbolIcon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_activeSymbolIcon_type)) { + const auto value_activeSymbolIcon_value = value_activeSymbolIcon.value; + valueSerializer.writeSymbolGlyphModifier(value_activeSymbolIcon_value); + } } - void writeLinearIndicatorStyle(Ark_LinearIndicatorStyle value) + void writeTransitionOptions(Ark_TransitionOptions value) { Serializer& valueSerializer = *this; - const auto value_space = value.space; - Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; - value_space_type = runtimeType(value_space); - valueSerializer.writeInt8(value_space_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_space_type)) { - const auto value_space_value = value_space.value; - valueSerializer.writeLengthMetrics(value_space_value); + const auto value_type = value.type; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; + value_type_type = runtimeType(value_type); + valueSerializer.writeInt8(value_type_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type_type)) { + const auto value_type_value = value_type.value; + valueSerializer.writeInt32(static_cast(value_type_value)); } - const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_type = runtimeType(value_strokeWidth); - valueSerializer.writeInt8(value_strokeWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { - const auto value_strokeWidth_value = value_strokeWidth.value; - valueSerializer.writeLengthMetrics(value_strokeWidth_value); + const auto value_opacity = value.opacity; + Ark_Int32 value_opacity_type = INTEROP_RUNTIME_UNDEFINED; + value_opacity_type = runtimeType(value_opacity); + valueSerializer.writeInt8(value_opacity_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_opacity_type)) { + const auto value_opacity_value = value_opacity.value; + valueSerializer.writeNumber(value_opacity_value); } - const auto value_strokeRadius = value.strokeRadius; - Ark_Int32 value_strokeRadius_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeRadius_type = runtimeType(value_strokeRadius); - valueSerializer.writeInt8(value_strokeRadius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeRadius_type)) { - const auto value_strokeRadius_value = value_strokeRadius.value; - valueSerializer.writeLengthMetrics(value_strokeRadius_value); + const auto value_translate = value.translate; + Ark_Int32 value_translate_type = INTEROP_RUNTIME_UNDEFINED; + value_translate_type = runtimeType(value_translate); + valueSerializer.writeInt8(value_translate_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_translate_type)) { + const auto value_translate_value = value_translate.value; + valueSerializer.writeTranslateOptions(value_translate_value); } - const auto value_trackBackgroundColor = value.trackBackgroundColor; - Ark_Int32 value_trackBackgroundColor_type = INTEROP_RUNTIME_UNDEFINED; - value_trackBackgroundColor_type = runtimeType(value_trackBackgroundColor); - valueSerializer.writeInt8(value_trackBackgroundColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_trackBackgroundColor_type)) { - const auto value_trackBackgroundColor_value = value_trackBackgroundColor.value; - valueSerializer.writeColorMetrics(value_trackBackgroundColor_value); + const auto value_scale = value.scale; + Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; + value_scale_type = runtimeType(value_scale); + valueSerializer.writeInt8(value_scale_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scale_type)) { + const auto value_scale_value = value_scale.value; + valueSerializer.writeScaleOptions(value_scale_value); } - const auto value_trackColor = value.trackColor; - Ark_Int32 value_trackColor_type = INTEROP_RUNTIME_UNDEFINED; - value_trackColor_type = runtimeType(value_trackColor); - valueSerializer.writeInt8(value_trackColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_trackColor_type)) { - const auto value_trackColor_value = value_trackColor.value; - valueSerializer.writeColorMetrics(value_trackColor_value); + const auto value_rotate = value.rotate; + Ark_Int32 value_rotate_type = INTEROP_RUNTIME_UNDEFINED; + value_rotate_type = runtimeType(value_rotate); + valueSerializer.writeInt8(value_rotate_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_rotate_type)) { + const auto value_rotate_value = value_rotate.value; + valueSerializer.writeRotateOptions(value_rotate_value); } } - void writeLinearStyleOptions(Ark_LinearStyleOptions value) + void writeUnderlineColor(Ark_UnderlineColor value) { Serializer& valueSerializer = *this; - const auto value_enableScanEffect = value.enableScanEffect; - Ark_Int32 value_enableScanEffect_type = INTEROP_RUNTIME_UNDEFINED; - value_enableScanEffect_type = runtimeType(value_enableScanEffect); - valueSerializer.writeInt8(value_enableScanEffect_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableScanEffect_type)) { - const auto value_enableScanEffect_value = value_enableScanEffect.value; - valueSerializer.writeBoolean(value_enableScanEffect_value); - } - const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_type = runtimeType(value_strokeWidth); - valueSerializer.writeInt8(value_strokeWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { - const auto value_strokeWidth_value = value_strokeWidth.value; - Ark_Int32 value_strokeWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_value_type = value_strokeWidth_value.selector; - if (value_strokeWidth_value_type == 0) { + const auto value_typing = value.typing; + Ark_Int32 value_typing_type = INTEROP_RUNTIME_UNDEFINED; + value_typing_type = runtimeType(value_typing); + valueSerializer.writeInt8(value_typing_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_typing_type)) { + const auto value_typing_value = value_typing.value; + Ark_Int32 value_typing_value_type = INTEROP_RUNTIME_UNDEFINED; + value_typing_value_type = value_typing_value.selector; + if (value_typing_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_strokeWidth_value_0 = value_strokeWidth_value.value0; - valueSerializer.writeString(value_strokeWidth_value_0); + const auto value_typing_value_0 = value_typing_value.value0; + valueSerializer.writeInt32(static_cast(value_typing_value_0)); } - else if (value_strokeWidth_value_type == 1) { + else if (value_typing_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_strokeWidth_value_1 = value_strokeWidth_value.value1; - valueSerializer.writeNumber(value_strokeWidth_value_1); + const auto value_typing_value_1 = value_typing_value.value1; + valueSerializer.writeNumber(value_typing_value_1); } - else if (value_strokeWidth_value_type == 2) { + else if (value_typing_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_strokeWidth_value_2 = value_strokeWidth_value.value2; - valueSerializer.writeResource(value_strokeWidth_value_2); + const auto value_typing_value_2 = value_typing_value.value2; + valueSerializer.writeString(value_typing_value_2); + } + else if (value_typing_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_typing_value_3 = value_typing_value.value3; + valueSerializer.writeResource(value_typing_value_3); } } - const auto value_strokeRadius = value.strokeRadius; - Ark_Int32 value_strokeRadius_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeRadius_type = runtimeType(value_strokeRadius); - valueSerializer.writeInt8(value_strokeRadius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeRadius_type)) { - const auto value_strokeRadius_value = value_strokeRadius.value; - Ark_Int32 value_strokeRadius_value_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeRadius_value_type = value_strokeRadius_value.selector; - if (value_strokeRadius_value_type == 0) { + const auto value_normal = value.normal; + Ark_Int32 value_normal_type = INTEROP_RUNTIME_UNDEFINED; + value_normal_type = runtimeType(value_normal); + valueSerializer.writeInt8(value_normal_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_normal_type)) { + const auto value_normal_value = value_normal.value; + Ark_Int32 value_normal_value_type = INTEROP_RUNTIME_UNDEFINED; + value_normal_value_type = value_normal_value.selector; + if (value_normal_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_strokeRadius_value_0 = value_strokeRadius_value.value0; - valueSerializer.writeString(value_strokeRadius_value_0); + const auto value_normal_value_0 = value_normal_value.value0; + valueSerializer.writeInt32(static_cast(value_normal_value_0)); } - else if (value_strokeRadius_value_type == 1) { + else if (value_normal_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_strokeRadius_value_1 = value_strokeRadius_value.value1; - valueSerializer.writeNumber(value_strokeRadius_value_1); + const auto value_normal_value_1 = value_normal_value.value1; + valueSerializer.writeNumber(value_normal_value_1); } - else if (value_strokeRadius_value_type == 2) { + else if (value_normal_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_strokeRadius_value_2 = value_strokeRadius_value.value2; - valueSerializer.writeResource(value_strokeRadius_value_2); + const auto value_normal_value_2 = value_normal_value.value2; + valueSerializer.writeString(value_normal_value_2); + } + else if (value_normal_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_normal_value_3 = value_normal_value.value3; + valueSerializer.writeResource(value_normal_value_3); } } - } - void writeListDividerOptions(Ark_ListDividerOptions value) - { - Serializer& valueSerializer = *this; - const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_type = value_strokeWidth.selector; - if (value_strokeWidth_type == 0) { - valueSerializer.writeInt8(0); - const auto value_strokeWidth_0 = value_strokeWidth.value0; - valueSerializer.writeString(value_strokeWidth_0); - } - else if (value_strokeWidth_type == 1) { - valueSerializer.writeInt8(1); - const auto value_strokeWidth_1 = value_strokeWidth.value1; - valueSerializer.writeNumber(value_strokeWidth_1); - } - else if (value_strokeWidth_type == 2) { - valueSerializer.writeInt8(2); - const auto value_strokeWidth_2 = value_strokeWidth.value2; - valueSerializer.writeResource(value_strokeWidth_2); - } - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_type = value_color_value.selector; - if (value_color_value_type == 0) { + const auto value_error = value.error; + Ark_Int32 value_error_type = INTEROP_RUNTIME_UNDEFINED; + value_error_type = runtimeType(value_error); + valueSerializer.writeInt8(value_error_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_error_type)) { + const auto value_error_value = value_error.value; + Ark_Int32 value_error_value_type = INTEROP_RUNTIME_UNDEFINED; + value_error_value_type = value_error_value.selector; + if (value_error_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_color_value_0 = value_color_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0)); + const auto value_error_value_0 = value_error_value.value0; + valueSerializer.writeInt32(static_cast(value_error_value_0)); } - else if (value_color_value_type == 1) { + else if (value_error_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeNumber(value_color_value_1); + const auto value_error_value_1 = value_error_value.value1; + valueSerializer.writeNumber(value_error_value_1); } - else if (value_color_value_type == 2) { + else if (value_error_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeString(value_color_value_2); + const auto value_error_value_2 = value_error_value.value2; + valueSerializer.writeString(value_error_value_2); } - else if (value_color_value_type == 3) { + else if (value_error_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeResource(value_color_value_3); + const auto value_error_value_3 = value_error_value.value3; + valueSerializer.writeResource(value_error_value_3); } } - const auto value_startMargin = value.startMargin; - Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; - value_startMargin_type = runtimeType(value_startMargin); - valueSerializer.writeInt8(value_startMargin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { - const auto value_startMargin_value = value_startMargin.value; - Ark_Int32 value_startMargin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_startMargin_value_type = value_startMargin_value.selector; - if (value_startMargin_value_type == 0) { + const auto value_disable = value.disable; + Ark_Int32 value_disable_type = INTEROP_RUNTIME_UNDEFINED; + value_disable_type = runtimeType(value_disable); + valueSerializer.writeInt8(value_disable_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disable_type)) { + const auto value_disable_value = value_disable.value; + Ark_Int32 value_disable_value_type = INTEROP_RUNTIME_UNDEFINED; + value_disable_value_type = value_disable_value.selector; + if (value_disable_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_startMargin_value_0 = value_startMargin_value.value0; - valueSerializer.writeString(value_startMargin_value_0); + const auto value_disable_value_0 = value_disable_value.value0; + valueSerializer.writeInt32(static_cast(value_disable_value_0)); } - else if (value_startMargin_value_type == 1) { + else if (value_disable_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_startMargin_value_1 = value_startMargin_value.value1; - valueSerializer.writeNumber(value_startMargin_value_1); + const auto value_disable_value_1 = value_disable_value.value1; + valueSerializer.writeNumber(value_disable_value_1); } - else if (value_startMargin_value_type == 2) { + else if (value_disable_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_startMargin_value_2 = value_startMargin_value.value2; - valueSerializer.writeResource(value_startMargin_value_2); + const auto value_disable_value_2 = value_disable_value.value2; + valueSerializer.writeString(value_disable_value_2); + } + else if (value_disable_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_disable_value_3 = value_disable_value.value3; + valueSerializer.writeResource(value_disable_value_3); } } - const auto value_endMargin = value.endMargin; - Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; - value_endMargin_type = runtimeType(value_endMargin); - valueSerializer.writeInt8(value_endMargin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { - const auto value_endMargin_value = value_endMargin.value; - Ark_Int32 value_endMargin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_endMargin_value_type = value_endMargin_value.selector; - if (value_endMargin_value_type == 0) { + } + void writeVideoOptions(Ark_VideoOptions value) + { + Serializer& valueSerializer = *this; + const auto value_src = value.src; + Ark_Int32 value_src_type = INTEROP_RUNTIME_UNDEFINED; + value_src_type = runtimeType(value_src); + valueSerializer.writeInt8(value_src_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_src_type)) { + const auto value_src_value = value_src.value; + Ark_Int32 value_src_value_type = INTEROP_RUNTIME_UNDEFINED; + value_src_value_type = value_src_value.selector; + if (value_src_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_endMargin_value_0 = value_endMargin_value.value0; - valueSerializer.writeString(value_endMargin_value_0); + const auto value_src_value_0 = value_src_value.value0; + valueSerializer.writeString(value_src_value_0); } - else if (value_endMargin_value_type == 1) { + else if (value_src_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_endMargin_value_1 = value_endMargin_value.value1; - valueSerializer.writeNumber(value_endMargin_value_1); + const auto value_src_value_1 = value_src_value.value1; + valueSerializer.writeResource(value_src_value_1); } - else if (value_endMargin_value_type == 2) { + } + const auto value_currentProgressRate = value.currentProgressRate; + Ark_Int32 value_currentProgressRate_type = INTEROP_RUNTIME_UNDEFINED; + value_currentProgressRate_type = runtimeType(value_currentProgressRate); + valueSerializer.writeInt8(value_currentProgressRate_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_currentProgressRate_type)) { + const auto value_currentProgressRate_value = value_currentProgressRate.value; + Ark_Int32 value_currentProgressRate_value_type = INTEROP_RUNTIME_UNDEFINED; + value_currentProgressRate_value_type = value_currentProgressRate_value.selector; + if (value_currentProgressRate_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_currentProgressRate_value_0 = value_currentProgressRate_value.value0; + valueSerializer.writeNumber(value_currentProgressRate_value_0); + } + else if (value_currentProgressRate_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_currentProgressRate_value_1 = value_currentProgressRate_value.value1; + valueSerializer.writeString(value_currentProgressRate_value_1); + } + else if (value_currentProgressRate_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_endMargin_value_2 = value_endMargin_value.value2; - valueSerializer.writeResource(value_endMargin_value_2); + const auto value_currentProgressRate_value_2 = value_currentProgressRate_value.value2; + valueSerializer.writeInt32(static_cast(value_currentProgressRate_value_2)); } } - } - void writeLocalizedAlignRuleOptions(Ark_LocalizedAlignRuleOptions value) - { - Serializer& valueSerializer = *this; - const auto value_start = value.start; - Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; - value_start_type = runtimeType(value_start); - valueSerializer.writeInt8(value_start_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { - const auto value_start_value = value_start.value; - valueSerializer.writeLocalizedHorizontalAlignParam(value_start_value); - } - const auto value_end = value.end; - Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; - value_end_type = runtimeType(value_end); - valueSerializer.writeInt8(value_end_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { - const auto value_end_value = value_end.value; - valueSerializer.writeLocalizedHorizontalAlignParam(value_end_value); - } - const auto value_middle = value.middle; - Ark_Int32 value_middle_type = INTEROP_RUNTIME_UNDEFINED; - value_middle_type = runtimeType(value_middle); - valueSerializer.writeInt8(value_middle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_middle_type)) { - const auto value_middle_value = value_middle.value; - valueSerializer.writeLocalizedHorizontalAlignParam(value_middle_value); - } - const auto value_top = value.top; - Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_top_type = runtimeType(value_top); - valueSerializer.writeInt8(value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { - const auto value_top_value = value_top.value; - valueSerializer.writeLocalizedVerticalAlignParam(value_top_value); - } - const auto value_bottom = value.bottom; - Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_bottom_type = runtimeType(value_bottom); - valueSerializer.writeInt8(value_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { - const auto value_bottom_value = value_bottom.value; - valueSerializer.writeLocalizedVerticalAlignParam(value_bottom_value); - } - const auto value_center = value.center; - Ark_Int32 value_center_type = INTEROP_RUNTIME_UNDEFINED; - value_center_type = runtimeType(value_center); - valueSerializer.writeInt8(value_center_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_center_type)) { - const auto value_center_value = value_center.value; - valueSerializer.writeLocalizedVerticalAlignParam(value_center_value); - } - const auto value_bias = value.bias; - Ark_Int32 value_bias_type = INTEROP_RUNTIME_UNDEFINED; - value_bias_type = runtimeType(value_bias); - valueSerializer.writeInt8(value_bias_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_bias_type)) { - const auto value_bias_value = value_bias.value; - valueSerializer.writeBias(value_bias_value); - } - } - void writeLocalizedBorderRadiuses(Ark_LocalizedBorderRadiuses value) - { - Serializer& valueSerializer = *this; - const auto value_topStart = value.topStart; - Ark_Int32 value_topStart_type = INTEROP_RUNTIME_UNDEFINED; - value_topStart_type = runtimeType(value_topStart); - valueSerializer.writeInt8(value_topStart_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_topStart_type)) { - const auto value_topStart_value = value_topStart.value; - valueSerializer.writeLengthMetrics(value_topStart_value); - } - const auto value_topEnd = value.topEnd; - Ark_Int32 value_topEnd_type = INTEROP_RUNTIME_UNDEFINED; - value_topEnd_type = runtimeType(value_topEnd); - valueSerializer.writeInt8(value_topEnd_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_topEnd_type)) { - const auto value_topEnd_value = value_topEnd.value; - valueSerializer.writeLengthMetrics(value_topEnd_value); - } - const auto value_bottomStart = value.bottomStart; - Ark_Int32 value_bottomStart_type = INTEROP_RUNTIME_UNDEFINED; - value_bottomStart_type = runtimeType(value_bottomStart); - valueSerializer.writeInt8(value_bottomStart_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottomStart_type)) { - const auto value_bottomStart_value = value_bottomStart.value; - valueSerializer.writeLengthMetrics(value_bottomStart_value); - } - const auto value_bottomEnd = value.bottomEnd; - Ark_Int32 value_bottomEnd_type = INTEROP_RUNTIME_UNDEFINED; - value_bottomEnd_type = runtimeType(value_bottomEnd); - valueSerializer.writeInt8(value_bottomEnd_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottomEnd_type)) { - const auto value_bottomEnd_value = value_bottomEnd.value; - valueSerializer.writeLengthMetrics(value_bottomEnd_value); - } - } - void writeLocalizedEdgeColors(Ark_LocalizedEdgeColors value) - { - Serializer& valueSerializer = *this; - const auto value_top = value.top; - Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_top_type = runtimeType(value_top); - valueSerializer.writeInt8(value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { - const auto value_top_value = value_top.value; - Ark_Int32 value_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_top_value_type = value_top_value.selector; - if (value_top_value_type == 0) { + const auto value_previewUri = value.previewUri; + Ark_Int32 value_previewUri_type = INTEROP_RUNTIME_UNDEFINED; + value_previewUri_type = runtimeType(value_previewUri); + valueSerializer.writeInt8(value_previewUri_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewUri_type)) { + const auto value_previewUri_value = value_previewUri.value; + Ark_Int32 value_previewUri_value_type = INTEROP_RUNTIME_UNDEFINED; + value_previewUri_value_type = value_previewUri_value.selector; + if (value_previewUri_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_top_value_0 = value_top_value.value0; - valueSerializer.writeInt32(static_cast(value_top_value_0)); + const auto value_previewUri_value_0 = value_previewUri_value.value0; + valueSerializer.writeString(value_previewUri_value_0); } - else if (value_top_value_type == 1) { + else if (value_previewUri_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_top_value_1 = value_top_value.value1; - valueSerializer.writeNumber(value_top_value_1); + const auto value_previewUri_value_1 = value_previewUri_value.value1; + valueSerializer.writePixelMap(value_previewUri_value_1); } - else if (value_top_value_type == 2) { + else if (value_previewUri_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_top_value_2 = value_top_value.value2; - valueSerializer.writeString(value_top_value_2); - } - else if (value_top_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_top_value_3 = value_top_value.value3; - valueSerializer.writeResource(value_top_value_3); + const auto value_previewUri_value_2 = value_previewUri_value.value2; + valueSerializer.writeResource(value_previewUri_value_2); } } - const auto value_end = value.end; - Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; - value_end_type = runtimeType(value_end); - valueSerializer.writeInt8(value_end_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { - const auto value_end_value = value_end.value; - Ark_Int32 value_end_value_type = INTEROP_RUNTIME_UNDEFINED; - value_end_value_type = value_end_value.selector; - if (value_end_value_type == 0) { + const auto value_controller = value.controller; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; + value_controller_type = runtimeType(value_controller); + valueSerializer.writeInt8(value_controller_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { + const auto value_controller_value = value_controller.value; + valueSerializer.writeVideoController(value_controller_value); + } + const auto value_imageAIOptions = value.imageAIOptions; + Ark_Int32 value_imageAIOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_imageAIOptions_type = runtimeType(value_imageAIOptions); + valueSerializer.writeInt8(value_imageAIOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_imageAIOptions_type)) { + const auto value_imageAIOptions_value = value_imageAIOptions.value; + valueSerializer.writeImageAIOptions(value_imageAIOptions_value); + } + const auto value_posterOptions = value.posterOptions; + Ark_Int32 value_posterOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_posterOptions_type = runtimeType(value_posterOptions); + valueSerializer.writeInt8(value_posterOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_posterOptions_type)) { + const auto value_posterOptions_value = value_posterOptions.value; + valueSerializer.writePosterOptions(value_posterOptions_value); + } + } + void writeWeekStyle(Ark_WeekStyle value) + { + Serializer& valueSerializer = *this; + const auto value_weekColor = value.weekColor; + Ark_Int32 value_weekColor_type = INTEROP_RUNTIME_UNDEFINED; + value_weekColor_type = runtimeType(value_weekColor); + valueSerializer.writeInt8(value_weekColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekColor_type)) { + const auto value_weekColor_value = value_weekColor.value; + Ark_Int32 value_weekColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_weekColor_value_type = value_weekColor_value.selector; + if (value_weekColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_end_value_0 = value_end_value.value0; - valueSerializer.writeInt32(static_cast(value_end_value_0)); + const auto value_weekColor_value_0 = value_weekColor_value.value0; + valueSerializer.writeInt32(static_cast(value_weekColor_value_0)); } - else if (value_end_value_type == 1) { + else if (value_weekColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_end_value_1 = value_end_value.value1; - valueSerializer.writeNumber(value_end_value_1); + const auto value_weekColor_value_1 = value_weekColor_value.value1; + valueSerializer.writeNumber(value_weekColor_value_1); } - else if (value_end_value_type == 2) { + else if (value_weekColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_end_value_2 = value_end_value.value2; - valueSerializer.writeString(value_end_value_2); + const auto value_weekColor_value_2 = value_weekColor_value.value2; + valueSerializer.writeString(value_weekColor_value_2); } - else if (value_end_value_type == 3) { + else if (value_weekColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_end_value_3 = value_end_value.value3; - valueSerializer.writeResource(value_end_value_3); + const auto value_weekColor_value_3 = value_weekColor_value.value3; + valueSerializer.writeResource(value_weekColor_value_3); } } - const auto value_bottom = value.bottom; - Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_bottom_type = runtimeType(value_bottom); - valueSerializer.writeInt8(value_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { - const auto value_bottom_value = value_bottom.value; - Ark_Int32 value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_bottom_value_type = value_bottom_value.selector; - if (value_bottom_value_type == 0) { + const auto value_weekendDayColor = value.weekendDayColor; + Ark_Int32 value_weekendDayColor_type = INTEROP_RUNTIME_UNDEFINED; + value_weekendDayColor_type = runtimeType(value_weekendDayColor); + valueSerializer.writeInt8(value_weekendDayColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekendDayColor_type)) { + const auto value_weekendDayColor_value = value_weekendDayColor.value; + Ark_Int32 value_weekendDayColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_weekendDayColor_value_type = value_weekendDayColor_value.selector; + if (value_weekendDayColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_bottom_value_0 = value_bottom_value.value0; - valueSerializer.writeInt32(static_cast(value_bottom_value_0)); + const auto value_weekendDayColor_value_0 = value_weekendDayColor_value.value0; + valueSerializer.writeInt32(static_cast(value_weekendDayColor_value_0)); } - else if (value_bottom_value_type == 1) { + else if (value_weekendDayColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_bottom_value_1 = value_bottom_value.value1; - valueSerializer.writeNumber(value_bottom_value_1); + const auto value_weekendDayColor_value_1 = value_weekendDayColor_value.value1; + valueSerializer.writeNumber(value_weekendDayColor_value_1); } - else if (value_bottom_value_type == 2) { + else if (value_weekendDayColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_bottom_value_2 = value_bottom_value.value2; - valueSerializer.writeString(value_bottom_value_2); + const auto value_weekendDayColor_value_2 = value_weekendDayColor_value.value2; + valueSerializer.writeString(value_weekendDayColor_value_2); } - else if (value_bottom_value_type == 3) { + else if (value_weekendDayColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_bottom_value_3 = value_bottom_value.value3; - valueSerializer.writeResource(value_bottom_value_3); + const auto value_weekendDayColor_value_3 = value_weekendDayColor_value.value3; + valueSerializer.writeResource(value_weekendDayColor_value_3); } } - const auto value_start = value.start; - Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; - value_start_type = runtimeType(value_start); - valueSerializer.writeInt8(value_start_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { - const auto value_start_value = value_start.value; - Ark_Int32 value_start_value_type = INTEROP_RUNTIME_UNDEFINED; - value_start_value_type = value_start_value.selector; - if (value_start_value_type == 0) { + const auto value_weekendLunarColor = value.weekendLunarColor; + Ark_Int32 value_weekendLunarColor_type = INTEROP_RUNTIME_UNDEFINED; + value_weekendLunarColor_type = runtimeType(value_weekendLunarColor); + valueSerializer.writeInt8(value_weekendLunarColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekendLunarColor_type)) { + const auto value_weekendLunarColor_value = value_weekendLunarColor.value; + Ark_Int32 value_weekendLunarColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_weekendLunarColor_value_type = value_weekendLunarColor_value.selector; + if (value_weekendLunarColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_start_value_0 = value_start_value.value0; - valueSerializer.writeInt32(static_cast(value_start_value_0)); + const auto value_weekendLunarColor_value_0 = value_weekendLunarColor_value.value0; + valueSerializer.writeInt32(static_cast(value_weekendLunarColor_value_0)); } - else if (value_start_value_type == 1) { + else if (value_weekendLunarColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_start_value_1 = value_start_value.value1; - valueSerializer.writeNumber(value_start_value_1); + const auto value_weekendLunarColor_value_1 = value_weekendLunarColor_value.value1; + valueSerializer.writeNumber(value_weekendLunarColor_value_1); } - else if (value_start_value_type == 2) { + else if (value_weekendLunarColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_start_value_2 = value_start_value.value2; - valueSerializer.writeString(value_start_value_2); + const auto value_weekendLunarColor_value_2 = value_weekendLunarColor_value.value2; + valueSerializer.writeString(value_weekendLunarColor_value_2); } - else if (value_start_value_type == 3) { + else if (value_weekendLunarColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_start_value_3 = value_start_value.value3; - valueSerializer.writeResource(value_start_value_3); + const auto value_weekendLunarColor_value_3 = value_weekendLunarColor_value.value3; + valueSerializer.writeResource(value_weekendLunarColor_value_3); } } - } - void writeLocalizedEdges(Ark_LocalizedEdges value) - { - Serializer& valueSerializer = *this; - const auto value_top = value.top; - Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_top_type = runtimeType(value_top); - valueSerializer.writeInt8(value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { - const auto value_top_value = value_top.value; - valueSerializer.writeLengthMetrics(value_top_value); - } - const auto value_start = value.start; - Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; - value_start_type = runtimeType(value_start); - valueSerializer.writeInt8(value_start_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { - const auto value_start_value = value_start.value; - valueSerializer.writeLengthMetrics(value_start_value); - } - const auto value_bottom = value.bottom; - Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_bottom_type = runtimeType(value_bottom); - valueSerializer.writeInt8(value_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { - const auto value_bottom_value = value_bottom.value; - valueSerializer.writeLengthMetrics(value_bottom_value); - } - const auto value_end = value.end; - Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; - value_end_type = runtimeType(value_end); - valueSerializer.writeInt8(value_end_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { - const auto value_end_value = value_end.value; - valueSerializer.writeLengthMetrics(value_end_value); - } - } - void writeLocalizedEdgeWidths(Ark_LocalizedEdgeWidths value) - { - Serializer& valueSerializer = *this; - const auto value_top = value.top; - Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_top_type = runtimeType(value_top); - valueSerializer.writeInt8(value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { - const auto value_top_value = value_top.value; - valueSerializer.writeLengthMetrics(value_top_value); - } - const auto value_end = value.end; - Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; - value_end_type = runtimeType(value_end); - valueSerializer.writeInt8(value_end_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { - const auto value_end_value = value_end.value; - valueSerializer.writeLengthMetrics(value_end_value); - } - const auto value_bottom = value.bottom; - Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_bottom_type = runtimeType(value_bottom); - valueSerializer.writeInt8(value_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { - const auto value_bottom_value = value_bottom.value; - valueSerializer.writeLengthMetrics(value_bottom_value); - } - const auto value_start = value.start; - Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; - value_start_type = runtimeType(value_start); - valueSerializer.writeInt8(value_start_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { - const auto value_start_value = value_start.value; - valueSerializer.writeLengthMetrics(value_start_value); - } - } - void writeLocalizedPadding(Ark_LocalizedPadding value) - { - Serializer& valueSerializer = *this; - const auto value_top = value.top; - Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_top_type = runtimeType(value_top); - valueSerializer.writeInt8(value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { - const auto value_top_value = value_top.value; - valueSerializer.writeLengthMetrics(value_top_value); - } - const auto value_end = value.end; - Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; - value_end_type = runtimeType(value_end); - valueSerializer.writeInt8(value_end_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { - const auto value_end_value = value_end.value; - valueSerializer.writeLengthMetrics(value_end_value); - } - const auto value_bottom = value.bottom; - Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_bottom_type = runtimeType(value_bottom); - valueSerializer.writeInt8(value_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { - const auto value_bottom_value = value_bottom.value; - valueSerializer.writeLengthMetrics(value_bottom_value); + const auto value_weekFontSize = value.weekFontSize; + Ark_Int32 value_weekFontSize_type = INTEROP_RUNTIME_UNDEFINED; + value_weekFontSize_type = runtimeType(value_weekFontSize); + valueSerializer.writeInt8(value_weekFontSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekFontSize_type)) { + const auto value_weekFontSize_value = value_weekFontSize.value; + valueSerializer.writeNumber(value_weekFontSize_value); } - const auto value_start = value.start; - Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; - value_start_type = runtimeType(value_start); - valueSerializer.writeInt8(value_start_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { - const auto value_start_value = value_start.value; - valueSerializer.writeLengthMetrics(value_start_value); + const auto value_weekHeight = value.weekHeight; + Ark_Int32 value_weekHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_weekHeight_type = runtimeType(value_weekHeight); + valueSerializer.writeInt8(value_weekHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekHeight_type)) { + const auto value_weekHeight_value = value_weekHeight.value; + valueSerializer.writeNumber(value_weekHeight_value); } - } - void writeLocalizedPosition(Ark_LocalizedPosition value) - { - Serializer& valueSerializer = *this; - const auto value_start = value.start; - Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; - value_start_type = runtimeType(value_start); - valueSerializer.writeInt8(value_start_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { - const auto value_start_value = value_start.value; - valueSerializer.writeLengthMetrics(value_start_value); + const auto value_weekWidth = value.weekWidth; + Ark_Int32 value_weekWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_weekWidth_type = runtimeType(value_weekWidth); + valueSerializer.writeInt8(value_weekWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekWidth_type)) { + const auto value_weekWidth_value = value_weekWidth.value; + valueSerializer.writeNumber(value_weekWidth_value); } - const auto value_top = value.top; - Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_top_type = runtimeType(value_top); - valueSerializer.writeInt8(value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { - const auto value_top_value = value_top.value; - valueSerializer.writeLengthMetrics(value_top_value); + const auto value_weekAndDayRowSpace = value.weekAndDayRowSpace; + Ark_Int32 value_weekAndDayRowSpace_type = INTEROP_RUNTIME_UNDEFINED; + value_weekAndDayRowSpace_type = runtimeType(value_weekAndDayRowSpace); + valueSerializer.writeInt8(value_weekAndDayRowSpace_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekAndDayRowSpace_type)) { + const auto value_weekAndDayRowSpace_value = value_weekAndDayRowSpace.value; + valueSerializer.writeNumber(value_weekAndDayRowSpace_value); } } - void writeLunarSwitchStyle(Ark_LunarSwitchStyle value) + void writeWorkStateStyle(Ark_WorkStateStyle value) { Serializer& valueSerializer = *this; - const auto value_selectedColor = value.selectedColor; - Ark_Int32 value_selectedColor_type = INTEROP_RUNTIME_UNDEFINED; - value_selectedColor_type = runtimeType(value_selectedColor); - valueSerializer.writeInt8(value_selectedColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_selectedColor_type)) { - const auto value_selectedColor_value = value_selectedColor.value; - Ark_Int32 value_selectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_selectedColor_value_type = value_selectedColor_value.selector; - if (value_selectedColor_value_type == 0) { + const auto value_workDayMarkColor = value.workDayMarkColor; + Ark_Int32 value_workDayMarkColor_type = INTEROP_RUNTIME_UNDEFINED; + value_workDayMarkColor_type = runtimeType(value_workDayMarkColor); + valueSerializer.writeInt8(value_workDayMarkColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_workDayMarkColor_type)) { + const auto value_workDayMarkColor_value = value_workDayMarkColor.value; + Ark_Int32 value_workDayMarkColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_workDayMarkColor_value_type = value_workDayMarkColor_value.selector; + if (value_workDayMarkColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_selectedColor_value_0 = value_selectedColor_value.value0; - valueSerializer.writeInt32(static_cast(value_selectedColor_value_0)); + const auto value_workDayMarkColor_value_0 = value_workDayMarkColor_value.value0; + valueSerializer.writeInt32(static_cast(value_workDayMarkColor_value_0)); } - else if (value_selectedColor_value_type == 1) { + else if (value_workDayMarkColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_selectedColor_value_1 = value_selectedColor_value.value1; - valueSerializer.writeNumber(value_selectedColor_value_1); + const auto value_workDayMarkColor_value_1 = value_workDayMarkColor_value.value1; + valueSerializer.writeNumber(value_workDayMarkColor_value_1); } - else if (value_selectedColor_value_type == 2) { + else if (value_workDayMarkColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_selectedColor_value_2 = value_selectedColor_value.value2; - valueSerializer.writeString(value_selectedColor_value_2); + const auto value_workDayMarkColor_value_2 = value_workDayMarkColor_value.value2; + valueSerializer.writeString(value_workDayMarkColor_value_2); } - else if (value_selectedColor_value_type == 3) { + else if (value_workDayMarkColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_selectedColor_value_3 = value_selectedColor_value.value3; - valueSerializer.writeResource(value_selectedColor_value_3); + const auto value_workDayMarkColor_value_3 = value_workDayMarkColor_value.value3; + valueSerializer.writeResource(value_workDayMarkColor_value_3); } } - const auto value_unselectedColor = value.unselectedColor; - Ark_Int32 value_unselectedColor_type = INTEROP_RUNTIME_UNDEFINED; - value_unselectedColor_type = runtimeType(value_unselectedColor); - valueSerializer.writeInt8(value_unselectedColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_unselectedColor_type)) { - const auto value_unselectedColor_value = value_unselectedColor.value; - Ark_Int32 value_unselectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_unselectedColor_value_type = value_unselectedColor_value.selector; - if (value_unselectedColor_value_type == 0) { + const auto value_offDayMarkColor = value.offDayMarkColor; + Ark_Int32 value_offDayMarkColor_type = INTEROP_RUNTIME_UNDEFINED; + value_offDayMarkColor_type = runtimeType(value_offDayMarkColor); + valueSerializer.writeInt8(value_offDayMarkColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offDayMarkColor_type)) { + const auto value_offDayMarkColor_value = value_offDayMarkColor.value; + Ark_Int32 value_offDayMarkColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_offDayMarkColor_value_type = value_offDayMarkColor_value.selector; + if (value_offDayMarkColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_unselectedColor_value_0 = value_unselectedColor_value.value0; - valueSerializer.writeInt32(static_cast(value_unselectedColor_value_0)); + const auto value_offDayMarkColor_value_0 = value_offDayMarkColor_value.value0; + valueSerializer.writeInt32(static_cast(value_offDayMarkColor_value_0)); } - else if (value_unselectedColor_value_type == 1) { + else if (value_offDayMarkColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_unselectedColor_value_1 = value_unselectedColor_value.value1; - valueSerializer.writeNumber(value_unselectedColor_value_1); + const auto value_offDayMarkColor_value_1 = value_offDayMarkColor_value.value1; + valueSerializer.writeNumber(value_offDayMarkColor_value_1); } - else if (value_unselectedColor_value_type == 2) { + else if (value_offDayMarkColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_unselectedColor_value_2 = value_unselectedColor_value.value2; - valueSerializer.writeString(value_unselectedColor_value_2); + const auto value_offDayMarkColor_value_2 = value_offDayMarkColor_value.value2; + valueSerializer.writeString(value_offDayMarkColor_value_2); } - else if (value_unselectedColor_value_type == 3) { + else if (value_offDayMarkColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_unselectedColor_value_3 = value_unselectedColor_value.value3; - valueSerializer.writeResource(value_unselectedColor_value_3); + const auto value_offDayMarkColor_value_3 = value_offDayMarkColor_value.value3; + valueSerializer.writeResource(value_offDayMarkColor_value_3); } } - const auto value_strokeColor = value.strokeColor; - Ark_Int32 value_strokeColor_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeColor_type = runtimeType(value_strokeColor); - valueSerializer.writeInt8(value_strokeColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeColor_type)) { - const auto value_strokeColor_value = value_strokeColor.value; - Ark_Int32 value_strokeColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeColor_value_type = value_strokeColor_value.selector; - if (value_strokeColor_value_type == 0) { + const auto value_workDayMarkSize = value.workDayMarkSize; + Ark_Int32 value_workDayMarkSize_type = INTEROP_RUNTIME_UNDEFINED; + value_workDayMarkSize_type = runtimeType(value_workDayMarkSize); + valueSerializer.writeInt8(value_workDayMarkSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_workDayMarkSize_type)) { + const auto value_workDayMarkSize_value = value_workDayMarkSize.value; + valueSerializer.writeNumber(value_workDayMarkSize_value); + } + const auto value_offDayMarkSize = value.offDayMarkSize; + Ark_Int32 value_offDayMarkSize_type = INTEROP_RUNTIME_UNDEFINED; + value_offDayMarkSize_type = runtimeType(value_offDayMarkSize); + valueSerializer.writeInt8(value_offDayMarkSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offDayMarkSize_type)) { + const auto value_offDayMarkSize_value = value_offDayMarkSize.value; + valueSerializer.writeNumber(value_offDayMarkSize_value); + } + const auto value_workStateWidth = value.workStateWidth; + Ark_Int32 value_workStateWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_workStateWidth_type = runtimeType(value_workStateWidth); + valueSerializer.writeInt8(value_workStateWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_workStateWidth_type)) { + const auto value_workStateWidth_value = value_workStateWidth.value; + valueSerializer.writeNumber(value_workStateWidth_value); + } + const auto value_workStateHorizontalMovingDistance = value.workStateHorizontalMovingDistance; + Ark_Int32 value_workStateHorizontalMovingDistance_type = INTEROP_RUNTIME_UNDEFINED; + value_workStateHorizontalMovingDistance_type = runtimeType(value_workStateHorizontalMovingDistance); + valueSerializer.writeInt8(value_workStateHorizontalMovingDistance_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_workStateHorizontalMovingDistance_type)) { + const auto value_workStateHorizontalMovingDistance_value = value_workStateHorizontalMovingDistance.value; + valueSerializer.writeNumber(value_workStateHorizontalMovingDistance_value); + } + const auto value_workStateVerticalMovingDistance = value.workStateVerticalMovingDistance; + Ark_Int32 value_workStateVerticalMovingDistance_type = INTEROP_RUNTIME_UNDEFINED; + value_workStateVerticalMovingDistance_type = runtimeType(value_workStateVerticalMovingDistance); + valueSerializer.writeInt8(value_workStateVerticalMovingDistance_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_workStateVerticalMovingDistance_type)) { + const auto value_workStateVerticalMovingDistance_value = value_workStateVerticalMovingDistance.value; + valueSerializer.writeNumber(value_workStateVerticalMovingDistance_value); + } + } + void writeXComponentOptions(Ark_XComponentOptions value) + { + Serializer& valueSerializer = *this; + const auto value_type = value.type; + valueSerializer.writeInt32(static_cast(value_type)); + const auto value_controller = value.controller; + valueSerializer.writeXComponentController(value_controller); + const auto value_imageAIOptions = value.imageAIOptions; + Ark_Int32 value_imageAIOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_imageAIOptions_type = runtimeType(value_imageAIOptions); + valueSerializer.writeInt8(value_imageAIOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_imageAIOptions_type)) { + const auto value_imageAIOptions_value = value_imageAIOptions.value; + valueSerializer.writeImageAIOptions(value_imageAIOptions_value); + } + const auto value_screenId = value.screenId; + Ark_Int32 value_screenId_type = INTEROP_RUNTIME_UNDEFINED; + value_screenId_type = runtimeType(value_screenId); + valueSerializer.writeInt8(value_screenId_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_screenId_type)) { + const auto value_screenId_value = value_screenId.value; + valueSerializer.writeNumber(value_screenId_value); + } + } + void writeArrowStyle(Ark_ArrowStyle value) + { + Serializer& valueSerializer = *this; + const auto value_showBackground = value.showBackground; + Ark_Int32 value_showBackground_type = INTEROP_RUNTIME_UNDEFINED; + value_showBackground_type = runtimeType(value_showBackground); + valueSerializer.writeInt8(value_showBackground_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_showBackground_type)) { + const auto value_showBackground_value = value_showBackground.value; + valueSerializer.writeBoolean(value_showBackground_value); + } + const auto value_isSidebarMiddle = value.isSidebarMiddle; + Ark_Int32 value_isSidebarMiddle_type = INTEROP_RUNTIME_UNDEFINED; + value_isSidebarMiddle_type = runtimeType(value_isSidebarMiddle); + valueSerializer.writeInt8(value_isSidebarMiddle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isSidebarMiddle_type)) { + const auto value_isSidebarMiddle_value = value_isSidebarMiddle.value; + valueSerializer.writeBoolean(value_isSidebarMiddle_value); + } + const auto value_backgroundSize = value.backgroundSize; + Ark_Int32 value_backgroundSize_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundSize_type = runtimeType(value_backgroundSize); + valueSerializer.writeInt8(value_backgroundSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundSize_type)) { + const auto value_backgroundSize_value = value_backgroundSize.value; + Ark_Int32 value_backgroundSize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundSize_value_type = value_backgroundSize_value.selector; + if (value_backgroundSize_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_strokeColor_value_0 = value_strokeColor_value.value0; - valueSerializer.writeInt32(static_cast(value_strokeColor_value_0)); + const auto value_backgroundSize_value_0 = value_backgroundSize_value.value0; + valueSerializer.writeString(value_backgroundSize_value_0); } - else if (value_strokeColor_value_type == 1) { + else if (value_backgroundSize_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_strokeColor_value_1 = value_strokeColor_value.value1; - valueSerializer.writeNumber(value_strokeColor_value_1); + const auto value_backgroundSize_value_1 = value_backgroundSize_value.value1; + valueSerializer.writeNumber(value_backgroundSize_value_1); } - else if (value_strokeColor_value_type == 2) { + else if (value_backgroundSize_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_strokeColor_value_2 = value_strokeColor_value.value2; - valueSerializer.writeString(value_strokeColor_value_2); - } - else if (value_strokeColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_strokeColor_value_3 = value_strokeColor_value.value3; - valueSerializer.writeResource(value_strokeColor_value_3); + const auto value_backgroundSize_value_2 = value_backgroundSize_value.value2; + valueSerializer.writeResource(value_backgroundSize_value_2); } } - } - void writeMarkStyle(Ark_MarkStyle value) - { - Serializer& valueSerializer = *this; - const auto value_strokeColor = value.strokeColor; - Ark_Int32 value_strokeColor_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeColor_type = runtimeType(value_strokeColor); - valueSerializer.writeInt8(value_strokeColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeColor_type)) { - const auto value_strokeColor_value = value_strokeColor.value; - Ark_Int32 value_strokeColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeColor_value_type = value_strokeColor_value.selector; - if (value_strokeColor_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_strokeColor_value_0 = value_strokeColor_value.value0; - valueSerializer.writeInt32(static_cast(value_strokeColor_value_0)); + const auto value_backgroundColor = value.backgroundColor; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundColor_type = runtimeType(value_backgroundColor); + valueSerializer.writeInt8(value_backgroundColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + const auto value_backgroundColor_value = value_backgroundColor.value; + Ark_Int32 value_backgroundColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundColor_value_type = value_backgroundColor_value.selector; + if (value_backgroundColor_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_backgroundColor_value_0 = value_backgroundColor_value.value0; + valueSerializer.writeInt32(static_cast(value_backgroundColor_value_0)); } - else if (value_strokeColor_value_type == 1) { + else if (value_backgroundColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_strokeColor_value_1 = value_strokeColor_value.value1; - valueSerializer.writeNumber(value_strokeColor_value_1); + const auto value_backgroundColor_value_1 = value_backgroundColor_value.value1; + valueSerializer.writeNumber(value_backgroundColor_value_1); } - else if (value_strokeColor_value_type == 2) { + else if (value_backgroundColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_strokeColor_value_2 = value_strokeColor_value.value2; - valueSerializer.writeString(value_strokeColor_value_2); + const auto value_backgroundColor_value_2 = value_backgroundColor_value.value2; + valueSerializer.writeString(value_backgroundColor_value_2); } - else if (value_strokeColor_value_type == 3) { + else if (value_backgroundColor_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_strokeColor_value_3 = value_strokeColor_value.value3; - valueSerializer.writeResource(value_strokeColor_value_3); + const auto value_backgroundColor_value_3 = value_backgroundColor_value.value3; + valueSerializer.writeResource(value_backgroundColor_value_3); } } - const auto value_size = value.size; - Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; - value_size_type = runtimeType(value_size); - valueSerializer.writeInt8(value_size_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { - const auto value_size_value = value_size.value; - Ark_Int32 value_size_value_type = INTEROP_RUNTIME_UNDEFINED; - value_size_value_type = value_size_value.selector; - if (value_size_value_type == 0) { + const auto value_arrowSize = value.arrowSize; + Ark_Int32 value_arrowSize_type = INTEROP_RUNTIME_UNDEFINED; + value_arrowSize_type = runtimeType(value_arrowSize); + valueSerializer.writeInt8(value_arrowSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowSize_type)) { + const auto value_arrowSize_value = value_arrowSize.value; + Ark_Int32 value_arrowSize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_arrowSize_value_type = value_arrowSize_value.selector; + if (value_arrowSize_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_size_value_0 = value_size_value.value0; - valueSerializer.writeString(value_size_value_0); + const auto value_arrowSize_value_0 = value_arrowSize_value.value0; + valueSerializer.writeString(value_arrowSize_value_0); } - else if (value_size_value_type == 1) { + else if (value_arrowSize_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_size_value_1 = value_size_value.value1; - valueSerializer.writeNumber(value_size_value_1); + const auto value_arrowSize_value_1 = value_arrowSize_value.value1; + valueSerializer.writeNumber(value_arrowSize_value_1); } - else if (value_size_value_type == 2) { + else if (value_arrowSize_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_size_value_2 = value_size_value.value2; - valueSerializer.writeResource(value_size_value_2); + const auto value_arrowSize_value_2 = value_arrowSize_value.value2; + valueSerializer.writeResource(value_arrowSize_value_2); } } - const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_type = runtimeType(value_strokeWidth); - valueSerializer.writeInt8(value_strokeWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { - const auto value_strokeWidth_value = value_strokeWidth.value; - Ark_Int32 value_strokeWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_value_type = value_strokeWidth_value.selector; - if (value_strokeWidth_value_type == 0) { + const auto value_arrowColor = value.arrowColor; + Ark_Int32 value_arrowColor_type = INTEROP_RUNTIME_UNDEFINED; + value_arrowColor_type = runtimeType(value_arrowColor); + valueSerializer.writeInt8(value_arrowColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowColor_type)) { + const auto value_arrowColor_value = value_arrowColor.value; + Ark_Int32 value_arrowColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_arrowColor_value_type = value_arrowColor_value.selector; + if (value_arrowColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_strokeWidth_value_0 = value_strokeWidth_value.value0; - valueSerializer.writeString(value_strokeWidth_value_0); + const auto value_arrowColor_value_0 = value_arrowColor_value.value0; + valueSerializer.writeInt32(static_cast(value_arrowColor_value_0)); } - else if (value_strokeWidth_value_type == 1) { + else if (value_arrowColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_strokeWidth_value_1 = value_strokeWidth_value.value1; - valueSerializer.writeNumber(value_strokeWidth_value_1); + const auto value_arrowColor_value_1 = value_arrowColor_value.value1; + valueSerializer.writeNumber(value_arrowColor_value_1); } - else if (value_strokeWidth_value_type == 2) { + else if (value_arrowColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_strokeWidth_value_2 = value_strokeWidth_value.value2; - valueSerializer.writeResource(value_strokeWidth_value_2); + const auto value_arrowColor_value_2 = value_arrowColor_value.value2; + valueSerializer.writeString(value_arrowColor_value_2); + } + else if (value_arrowColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_arrowColor_value_3 = value_arrowColor_value.value3; + valueSerializer.writeResource(value_arrowColor_value_3); } } } - void writeMeasureOptions(Ark_MeasureOptions value) + void writeBadgeStyle(Ark_BadgeStyle value) { Serializer& valueSerializer = *this; - const auto value_textContent = value.textContent; - Ark_Int32 value_textContent_type = INTEROP_RUNTIME_UNDEFINED; - value_textContent_type = value_textContent.selector; - if (value_textContent_type == 0) { - valueSerializer.writeInt8(0); - const auto value_textContent_0 = value_textContent.value0; - valueSerializer.writeString(value_textContent_0); - } - else if (value_textContent_type == 1) { - valueSerializer.writeInt8(1); - const auto value_textContent_1 = value_textContent.value1; - valueSerializer.writeResource(value_textContent_1); - } - const auto value_constraintWidth = value.constraintWidth; - Ark_Int32 value_constraintWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_constraintWidth_type = runtimeType(value_constraintWidth); - valueSerializer.writeInt8(value_constraintWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_constraintWidth_type)) { - const auto value_constraintWidth_value = value_constraintWidth.value; - Ark_Int32 value_constraintWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_constraintWidth_value_type = value_constraintWidth_value.selector; - if (value_constraintWidth_value_type == 0) { + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_constraintWidth_value_0 = value_constraintWidth_value.value0; - valueSerializer.writeNumber(value_constraintWidth_value_0); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); } - else if (value_constraintWidth_value_type == 1) { + else if (value_color_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_constraintWidth_value_1 = value_constraintWidth_value.value1; - valueSerializer.writeString(value_constraintWidth_value_1); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeNumber(value_color_value_1); } - else if (value_constraintWidth_value_type == 2) { + else if (value_color_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_constraintWidth_value_2 = value_constraintWidth_value.value2; - valueSerializer.writeResource(value_constraintWidth_value_2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeString(value_color_value_2); + } + else if (value_color_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeResource(value_color_value_3); } } const auto value_fontSize = value.fontSize; @@ -69839,29 +77303,106 @@ class Serializer : public SerializerBase { const auto value_fontSize_value_1 = value_fontSize_value.value1; valueSerializer.writeString(value_fontSize_value_1); } - else if (value_fontSize_value_type == 2) { + } + const auto value_badgeSize = value.badgeSize; + Ark_Int32 value_badgeSize_type = INTEROP_RUNTIME_UNDEFINED; + value_badgeSize_type = runtimeType(value_badgeSize); + valueSerializer.writeInt8(value_badgeSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_badgeSize_type)) { + const auto value_badgeSize_value = value_badgeSize.value; + Ark_Int32 value_badgeSize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_badgeSize_value_type = value_badgeSize_value.selector; + if (value_badgeSize_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_badgeSize_value_0 = value_badgeSize_value.value0; + valueSerializer.writeNumber(value_badgeSize_value_0); + } + else if (value_badgeSize_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_badgeSize_value_1 = value_badgeSize_value.value1; + valueSerializer.writeString(value_badgeSize_value_1); + } + } + const auto value_badgeColor = value.badgeColor; + Ark_Int32 value_badgeColor_type = INTEROP_RUNTIME_UNDEFINED; + value_badgeColor_type = runtimeType(value_badgeColor); + valueSerializer.writeInt8(value_badgeColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_badgeColor_type)) { + const auto value_badgeColor_value = value_badgeColor.value; + Ark_Int32 value_badgeColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_badgeColor_value_type = value_badgeColor_value.selector; + if (value_badgeColor_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_badgeColor_value_0 = value_badgeColor_value.value0; + valueSerializer.writeInt32(static_cast(value_badgeColor_value_0)); + } + else if (value_badgeColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_badgeColor_value_1 = value_badgeColor_value.value1; + valueSerializer.writeNumber(value_badgeColor_value_1); + } + else if (value_badgeColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontSize_value_2 = value_fontSize_value.value2; - valueSerializer.writeResource(value_fontSize_value_2); + const auto value_badgeColor_value_2 = value_badgeColor_value.value2; + valueSerializer.writeString(value_badgeColor_value_2); + } + else if (value_badgeColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_badgeColor_value_3 = value_badgeColor_value.value3; + valueSerializer.writeResource(value_badgeColor_value_3); } } - const auto value_fontStyle = value.fontStyle; - Ark_Int32 value_fontStyle_type = INTEROP_RUNTIME_UNDEFINED; - value_fontStyle_type = runtimeType(value_fontStyle); - valueSerializer.writeInt8(value_fontStyle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontStyle_type)) { - const auto value_fontStyle_value = value_fontStyle.value; - Ark_Int32 value_fontStyle_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontStyle_value_type = value_fontStyle_value.selector; - if (value_fontStyle_value_type == 0) { + const auto value_borderColor = value.borderColor; + Ark_Int32 value_borderColor_type = INTEROP_RUNTIME_UNDEFINED; + value_borderColor_type = runtimeType(value_borderColor); + valueSerializer.writeInt8(value_borderColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_type)) { + const auto value_borderColor_value = value_borderColor.value; + Ark_Int32 value_borderColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_borderColor_value_type = value_borderColor_value.selector; + if (value_borderColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontStyle_value_0 = value_fontStyle_value.value0; - valueSerializer.writeNumber(value_fontStyle_value_0); + const auto value_borderColor_value_0 = value_borderColor_value.value0; + valueSerializer.writeInt32(static_cast(value_borderColor_value_0)); } - else if (value_fontStyle_value_type == 1) { + else if (value_borderColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontStyle_value_1 = value_fontStyle_value.value1; - valueSerializer.writeInt32(static_cast(value_fontStyle_value_1)); + const auto value_borderColor_value_1 = value_borderColor_value.value1; + valueSerializer.writeNumber(value_borderColor_value_1); + } + else if (value_borderColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_borderColor_value_2 = value_borderColor_value.value2; + valueSerializer.writeString(value_borderColor_value_2); + } + else if (value_borderColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_borderColor_value_3 = value_borderColor_value.value3; + valueSerializer.writeResource(value_borderColor_value_3); + } + } + const auto value_borderWidth = value.borderWidth; + Ark_Int32 value_borderWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_borderWidth_type = runtimeType(value_borderWidth); + valueSerializer.writeInt8(value_borderWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { + const auto value_borderWidth_value = value_borderWidth.value; + Ark_Int32 value_borderWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_borderWidth_value_type = value_borderWidth_value.selector; + if (value_borderWidth_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_borderWidth_value_0 = value_borderWidth_value.value0; + valueSerializer.writeString(value_borderWidth_value_0); + } + else if (value_borderWidth_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_borderWidth_value_1 = value_borderWidth_value.value1; + valueSerializer.writeNumber(value_borderWidth_value_1); + } + else if (value_borderWidth_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_borderWidth_value_2 = value_borderWidth_value.value2; + valueSerializer.writeResource(value_borderWidth_value_2); } } const auto value_fontWeight = value.fontWeight; @@ -69880,997 +77421,1108 @@ class Serializer : public SerializerBase { else if (value_fontWeight_value_type == 1) { valueSerializer.writeInt8(1); const auto value_fontWeight_value_1 = value_fontWeight_value.value1; - valueSerializer.writeString(value_fontWeight_value_1); + valueSerializer.writeInt32(static_cast(value_fontWeight_value_1)); } else if (value_fontWeight_value_type == 2) { valueSerializer.writeInt8(2); const auto value_fontWeight_value_2 = value_fontWeight_value.value2; - valueSerializer.writeInt32(static_cast(value_fontWeight_value_2)); + valueSerializer.writeString(value_fontWeight_value_2); } } - const auto value_fontFamily = value.fontFamily; - Ark_Int32 value_fontFamily_type = INTEROP_RUNTIME_UNDEFINED; - value_fontFamily_type = runtimeType(value_fontFamily); - valueSerializer.writeInt8(value_fontFamily_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFamily_type)) { - const auto value_fontFamily_value = value_fontFamily.value; - Ark_Int32 value_fontFamily_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontFamily_value_type = value_fontFamily_value.selector; - if (value_fontFamily_value_type == 0) { + } + void writeBarGridColumnOptions(Ark_BarGridColumnOptions value) + { + Serializer& valueSerializer = *this; + const auto value_sm = value.sm; + Ark_Int32 value_sm_type = INTEROP_RUNTIME_UNDEFINED; + value_sm_type = runtimeType(value_sm); + valueSerializer.writeInt8(value_sm_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_sm_type)) { + const auto value_sm_value = value_sm.value; + valueSerializer.writeNumber(value_sm_value); + } + const auto value_md = value.md; + Ark_Int32 value_md_type = INTEROP_RUNTIME_UNDEFINED; + value_md_type = runtimeType(value_md); + valueSerializer.writeInt8(value_md_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_md_type)) { + const auto value_md_value = value_md.value; + valueSerializer.writeNumber(value_md_value); + } + const auto value_lg = value.lg; + Ark_Int32 value_lg_type = INTEROP_RUNTIME_UNDEFINED; + value_lg_type = runtimeType(value_lg); + valueSerializer.writeInt8(value_lg_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lg_type)) { + const auto value_lg_value = value_lg.value; + valueSerializer.writeNumber(value_lg_value); + } + const auto value_margin = value.margin; + Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; + value_margin_type = runtimeType(value_margin); + valueSerializer.writeInt8(value_margin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { + const auto value_margin_value = value_margin.value; + Ark_Int32 value_margin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_margin_value_type = value_margin_value.selector; + if (value_margin_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontFamily_value_0 = value_fontFamily_value.value0; - valueSerializer.writeString(value_fontFamily_value_0); + const auto value_margin_value_0 = value_margin_value.value0; + valueSerializer.writeString(value_margin_value_0); } - else if (value_fontFamily_value_type == 1) { + else if (value_margin_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontFamily_value_1 = value_fontFamily_value.value1; - valueSerializer.writeResource(value_fontFamily_value_1); + const auto value_margin_value_1 = value_margin_value.value1; + valueSerializer.writeNumber(value_margin_value_1); + } + else if (value_margin_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_margin_value_2 = value_margin_value.value2; + valueSerializer.writeResource(value_margin_value_2); } } - const auto value_letterSpacing = value.letterSpacing; - Ark_Int32 value_letterSpacing_type = INTEROP_RUNTIME_UNDEFINED; - value_letterSpacing_type = runtimeType(value_letterSpacing); - valueSerializer.writeInt8(value_letterSpacing_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_letterSpacing_type)) { - const auto value_letterSpacing_value = value_letterSpacing.value; - Ark_Int32 value_letterSpacing_value_type = INTEROP_RUNTIME_UNDEFINED; - value_letterSpacing_value_type = value_letterSpacing_value.selector; - if (value_letterSpacing_value_type == 0) { + const auto value_gutter = value.gutter; + Ark_Int32 value_gutter_type = INTEROP_RUNTIME_UNDEFINED; + value_gutter_type = runtimeType(value_gutter); + valueSerializer.writeInt8(value_gutter_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_gutter_type)) { + const auto value_gutter_value = value_gutter.value; + Ark_Int32 value_gutter_value_type = INTEROP_RUNTIME_UNDEFINED; + value_gutter_value_type = value_gutter_value.selector; + if (value_gutter_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_letterSpacing_value_0 = value_letterSpacing_value.value0; - valueSerializer.writeNumber(value_letterSpacing_value_0); + const auto value_gutter_value_0 = value_gutter_value.value0; + valueSerializer.writeString(value_gutter_value_0); } - else if (value_letterSpacing_value_type == 1) { + else if (value_gutter_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_letterSpacing_value_1 = value_letterSpacing_value.value1; - valueSerializer.writeString(value_letterSpacing_value_1); + const auto value_gutter_value_1 = value_gutter_value.value1; + valueSerializer.writeNumber(value_gutter_value_1); + } + else if (value_gutter_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_gutter_value_2 = value_gutter_value.value2; + valueSerializer.writeResource(value_gutter_value_2); } } - const auto value_textAlign = value.textAlign; - Ark_Int32 value_textAlign_type = INTEROP_RUNTIME_UNDEFINED; - value_textAlign_type = runtimeType(value_textAlign); - valueSerializer.writeInt8(value_textAlign_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_textAlign_type)) { - const auto value_textAlign_value = value_textAlign.value; - Ark_Int32 value_textAlign_value_type = INTEROP_RUNTIME_UNDEFINED; - value_textAlign_value_type = value_textAlign_value.selector; - if (value_textAlign_value_type == 0) { + } + void writeBoardStyle(Ark_BoardStyle value) + { + Serializer& valueSerializer = *this; + const auto value_borderRadius = value.borderRadius; + Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_borderRadius_type = runtimeType(value_borderRadius); + valueSerializer.writeInt8(value_borderRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { + const auto value_borderRadius_value = value_borderRadius.value; + Ark_Int32 value_borderRadius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_borderRadius_value_type = value_borderRadius_value.selector; + if (value_borderRadius_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_textAlign_value_0 = value_textAlign_value.value0; - valueSerializer.writeNumber(value_textAlign_value_0); + const auto value_borderRadius_value_0 = value_borderRadius_value.value0; + valueSerializer.writeString(value_borderRadius_value_0); } - else if (value_textAlign_value_type == 1) { + else if (value_borderRadius_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_textAlign_value_1 = value_textAlign_value.value1; - valueSerializer.writeInt32(static_cast(value_textAlign_value_1)); + const auto value_borderRadius_value_1 = value_borderRadius_value.value1; + valueSerializer.writeNumber(value_borderRadius_value_1); + } + else if (value_borderRadius_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_borderRadius_value_2 = value_borderRadius_value.value2; + valueSerializer.writeResource(value_borderRadius_value_2); } } - const auto value_overflow = value.overflow; - Ark_Int32 value_overflow_type = INTEROP_RUNTIME_UNDEFINED; - value_overflow_type = runtimeType(value_overflow); - valueSerializer.writeInt8(value_overflow_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_overflow_type)) { - const auto value_overflow_value = value_overflow.value; - Ark_Int32 value_overflow_value_type = INTEROP_RUNTIME_UNDEFINED; - value_overflow_value_type = value_overflow_value.selector; - if (value_overflow_value_type == 0) { + } + void writeBorderRadiuses(Ark_BorderRadiuses value) + { + Serializer& valueSerializer = *this; + const auto value_topLeft = value.topLeft; + Ark_Int32 value_topLeft_type = INTEROP_RUNTIME_UNDEFINED; + value_topLeft_type = runtimeType(value_topLeft); + valueSerializer.writeInt8(value_topLeft_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_topLeft_type)) { + const auto value_topLeft_value = value_topLeft.value; + Ark_Int32 value_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; + value_topLeft_value_type = value_topLeft_value.selector; + if (value_topLeft_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_overflow_value_0 = value_overflow_value.value0; - valueSerializer.writeNumber(value_overflow_value_0); + const auto value_topLeft_value_0 = value_topLeft_value.value0; + valueSerializer.writeString(value_topLeft_value_0); } - else if (value_overflow_value_type == 1) { + else if (value_topLeft_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_overflow_value_1 = value_overflow_value.value1; - valueSerializer.writeInt32(static_cast(value_overflow_value_1)); + const auto value_topLeft_value_1 = value_topLeft_value.value1; + valueSerializer.writeNumber(value_topLeft_value_1); + } + else if (value_topLeft_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_topLeft_value_2 = value_topLeft_value.value2; + valueSerializer.writeResource(value_topLeft_value_2); } } - const auto value_maxLines = value.maxLines; - Ark_Int32 value_maxLines_type = INTEROP_RUNTIME_UNDEFINED; - value_maxLines_type = runtimeType(value_maxLines); - valueSerializer.writeInt8(value_maxLines_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxLines_type)) { - const auto value_maxLines_value = value_maxLines.value; - valueSerializer.writeNumber(value_maxLines_value); + const auto value_topRight = value.topRight; + Ark_Int32 value_topRight_type = INTEROP_RUNTIME_UNDEFINED; + value_topRight_type = runtimeType(value_topRight); + valueSerializer.writeInt8(value_topRight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_topRight_type)) { + const auto value_topRight_value = value_topRight.value; + Ark_Int32 value_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_topRight_value_type = value_topRight_value.selector; + if (value_topRight_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_topRight_value_0 = value_topRight_value.value0; + valueSerializer.writeString(value_topRight_value_0); + } + else if (value_topRight_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_topRight_value_1 = value_topRight_value.value1; + valueSerializer.writeNumber(value_topRight_value_1); + } + else if (value_topRight_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_topRight_value_2 = value_topRight_value.value2; + valueSerializer.writeResource(value_topRight_value_2); + } } - const auto value_lineHeight = value.lineHeight; - Ark_Int32 value_lineHeight_type = INTEROP_RUNTIME_UNDEFINED; - value_lineHeight_type = runtimeType(value_lineHeight); - valueSerializer.writeInt8(value_lineHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_lineHeight_type)) { - const auto value_lineHeight_value = value_lineHeight.value; - Ark_Int32 value_lineHeight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_lineHeight_value_type = value_lineHeight_value.selector; - if (value_lineHeight_value_type == 0) { + const auto value_bottomLeft = value.bottomLeft; + Ark_Int32 value_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; + value_bottomLeft_type = runtimeType(value_bottomLeft); + valueSerializer.writeInt8(value_bottomLeft_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottomLeft_type)) { + const auto value_bottomLeft_value = value_bottomLeft.value; + Ark_Int32 value_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; + value_bottomLeft_value_type = value_bottomLeft_value.selector; + if (value_bottomLeft_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_lineHeight_value_0 = value_lineHeight_value.value0; - valueSerializer.writeNumber(value_lineHeight_value_0); + const auto value_bottomLeft_value_0 = value_bottomLeft_value.value0; + valueSerializer.writeString(value_bottomLeft_value_0); + } + else if (value_bottomLeft_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_bottomLeft_value_1 = value_bottomLeft_value.value1; + valueSerializer.writeNumber(value_bottomLeft_value_1); + } + else if (value_bottomLeft_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_bottomLeft_value_2 = value_bottomLeft_value.value2; + valueSerializer.writeResource(value_bottomLeft_value_2); + } + } + const auto value_bottomRight = value.bottomRight; + Ark_Int32 value_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; + value_bottomRight_type = runtimeType(value_bottomRight); + valueSerializer.writeInt8(value_bottomRight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottomRight_type)) { + const auto value_bottomRight_value = value_bottomRight.value; + Ark_Int32 value_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_bottomRight_value_type = value_bottomRight_value.selector; + if (value_bottomRight_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_bottomRight_value_0 = value_bottomRight_value.value0; + valueSerializer.writeString(value_bottomRight_value_0); + } + else if (value_bottomRight_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_bottomRight_value_1 = value_bottomRight_value.value1; + valueSerializer.writeNumber(value_bottomRight_value_1); + } + else if (value_bottomRight_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_bottomRight_value_2 = value_bottomRight_value.value2; + valueSerializer.writeResource(value_bottomRight_value_2); + } + } + } + void writeButtonStyle(Ark_ButtonStyle value) + { + Serializer& valueSerializer = *this; + const auto value_left = value.left; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; + value_left_type = runtimeType(value_left); + valueSerializer.writeInt8(value_left_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { + const auto value_left_value = value_left.value; + valueSerializer.writeNumber(value_left_value); + } + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + valueSerializer.writeNumber(value_top_value); + } + const auto value_width = value.width; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; + value_width_type = runtimeType(value_width); + valueSerializer.writeInt8(value_width_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { + const auto value_width_value = value_width.value; + valueSerializer.writeNumber(value_width_value); + } + const auto value_height = value.height; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; + value_height_type = runtimeType(value_height); + valueSerializer.writeInt8(value_height_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { + const auto value_height_value = value_height.value; + valueSerializer.writeNumber(value_height_value); + } + const auto value_icons = value.icons; + Ark_Int32 value_icons_type = INTEROP_RUNTIME_UNDEFINED; + value_icons_type = runtimeType(value_icons); + valueSerializer.writeInt8(value_icons_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icons_type)) { + const auto value_icons_value = value_icons.value; + valueSerializer.writeButtonIconOptions(value_icons_value); + } + } + void writeCaretStyle(Ark_CaretStyle value) + { + Serializer& valueSerializer = *this; + const auto value_width = value.width; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; + value_width_type = runtimeType(value_width); + valueSerializer.writeInt8(value_width_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { + const auto value_width_value = value_width.value; + Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; + value_width_value_type = value_width_value.selector; + if (value_width_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_width_value_0 = value_width_value.value0; + valueSerializer.writeString(value_width_value_0); } - else if (value_lineHeight_value_type == 1) { + else if (value_width_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_lineHeight_value_1 = value_lineHeight_value.value1; - valueSerializer.writeString(value_lineHeight_value_1); + const auto value_width_value_1 = value_width_value.value1; + valueSerializer.writeNumber(value_width_value_1); } - else if (value_lineHeight_value_type == 2) { + else if (value_width_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_lineHeight_value_2 = value_lineHeight_value.value2; - valueSerializer.writeResource(value_lineHeight_value_2); - } - } - const auto value_baselineOffset = value.baselineOffset; - Ark_Int32 value_baselineOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_baselineOffset_type = runtimeType(value_baselineOffset); - valueSerializer.writeInt8(value_baselineOffset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_baselineOffset_type)) { - const auto value_baselineOffset_value = value_baselineOffset.value; - Ark_Int32 value_baselineOffset_value_type = INTEROP_RUNTIME_UNDEFINED; - value_baselineOffset_value_type = value_baselineOffset_value.selector; - if (value_baselineOffset_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_baselineOffset_value_0 = value_baselineOffset_value.value0; - valueSerializer.writeNumber(value_baselineOffset_value_0); - } - else if (value_baselineOffset_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_baselineOffset_value_1 = value_baselineOffset_value.value1; - valueSerializer.writeString(value_baselineOffset_value_1); + const auto value_width_value_2 = value_width_value.value2; + valueSerializer.writeResource(value_width_value_2); } } - const auto value_textCase = value.textCase; - Ark_Int32 value_textCase_type = INTEROP_RUNTIME_UNDEFINED; - value_textCase_type = runtimeType(value_textCase); - valueSerializer.writeInt8(value_textCase_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_textCase_type)) { - const auto value_textCase_value = value_textCase.value; - Ark_Int32 value_textCase_value_type = INTEROP_RUNTIME_UNDEFINED; - value_textCase_value_type = value_textCase_value.selector; - if (value_textCase_value_type == 0) { + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_textCase_value_0 = value_textCase_value.value0; - valueSerializer.writeNumber(value_textCase_value_0); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); } - else if (value_textCase_value_type == 1) { + else if (value_color_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_textCase_value_1 = value_textCase_value.value1; - valueSerializer.writeInt32(static_cast(value_textCase_value_1)); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeNumber(value_color_value_1); } - } - const auto value_textIndent = value.textIndent; - Ark_Int32 value_textIndent_type = INTEROP_RUNTIME_UNDEFINED; - value_textIndent_type = runtimeType(value_textIndent); - valueSerializer.writeInt8(value_textIndent_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_textIndent_type)) { - const auto value_textIndent_value = value_textIndent.value; - Ark_Int32 value_textIndent_value_type = INTEROP_RUNTIME_UNDEFINED; - value_textIndent_value_type = value_textIndent_value.selector; - if (value_textIndent_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_textIndent_value_0 = value_textIndent_value.value0; - valueSerializer.writeNumber(value_textIndent_value_0); + else if (value_color_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeString(value_color_value_2); } - else if (value_textIndent_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_textIndent_value_1 = value_textIndent_value.value1; - valueSerializer.writeString(value_textIndent_value_1); + else if (value_color_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeResource(value_color_value_3); } } - const auto value_wordBreak = value.wordBreak; - Ark_Int32 value_wordBreak_type = INTEROP_RUNTIME_UNDEFINED; - value_wordBreak_type = runtimeType(value_wordBreak); - valueSerializer.writeInt8(value_wordBreak_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_wordBreak_type)) { - const auto value_wordBreak_value = value_wordBreak.value; - valueSerializer.writeInt32(static_cast(value_wordBreak_value)); - } } - void writeMenuElement(Ark_MenuElement value) + void writeChainAnimationOptions(Ark_ChainAnimationOptions value) { Serializer& valueSerializer = *this; - const auto value_value = value.value; - Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; - value_value_type = value_value.selector; - if (value_value_type == 0) { + const auto value_minSpace = value.minSpace; + Ark_Int32 value_minSpace_type = INTEROP_RUNTIME_UNDEFINED; + value_minSpace_type = value_minSpace.selector; + if (value_minSpace_type == 0) { valueSerializer.writeInt8(0); - const auto value_value_0 = value_value.value0; - valueSerializer.writeString(value_value_0); + const auto value_minSpace_0 = value_minSpace.value0; + valueSerializer.writeString(value_minSpace_0); } - else if (value_value_type == 1) { + else if (value_minSpace_type == 1) { valueSerializer.writeInt8(1); - const auto value_value_1 = value_value.value1; - valueSerializer.writeResource(value_value_1); + const auto value_minSpace_1 = value_minSpace.value1; + valueSerializer.writeNumber(value_minSpace_1); } - const auto value_icon = value.icon; - Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_type = runtimeType(value_icon); - valueSerializer.writeInt8(value_icon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { - const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_value_type = value_icon_value.selector; - if (value_icon_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_icon_value_0 = value_icon_value.value0; - valueSerializer.writeString(value_icon_value_0); - } - else if (value_icon_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_icon_value_1 = value_icon_value.value1; - valueSerializer.writeResource(value_icon_value_1); - } + else if (value_minSpace_type == 2) { + valueSerializer.writeInt8(2); + const auto value_minSpace_2 = value_minSpace.value2; + valueSerializer.writeResource(value_minSpace_2); } - const auto value_symbolIcon = value.symbolIcon; - Ark_Int32 value_symbolIcon_type = INTEROP_RUNTIME_UNDEFINED; - value_symbolIcon_type = runtimeType(value_symbolIcon); - valueSerializer.writeInt8(value_symbolIcon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolIcon_type)) { - const auto value_symbolIcon_value = value_symbolIcon.value; - valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value); + const auto value_maxSpace = value.maxSpace; + Ark_Int32 value_maxSpace_type = INTEROP_RUNTIME_UNDEFINED; + value_maxSpace_type = value_maxSpace.selector; + if (value_maxSpace_type == 0) { + valueSerializer.writeInt8(0); + const auto value_maxSpace_0 = value_maxSpace.value0; + valueSerializer.writeString(value_maxSpace_0); } - const auto value_enabled = value.enabled; - Ark_Int32 value_enabled_type = INTEROP_RUNTIME_UNDEFINED; - value_enabled_type = runtimeType(value_enabled); - valueSerializer.writeInt8(value_enabled_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_enabled_type)) { - const auto value_enabled_value = value_enabled.value; - valueSerializer.writeBoolean(value_enabled_value); + else if (value_maxSpace_type == 1) { + valueSerializer.writeInt8(1); + const auto value_maxSpace_1 = value_maxSpace.value1; + valueSerializer.writeNumber(value_maxSpace_1); + } + else if (value_maxSpace_type == 2) { + valueSerializer.writeInt8(2); + const auto value_maxSpace_2 = value_maxSpace.value2; + valueSerializer.writeResource(value_maxSpace_2); + } + const auto value_conductivity = value.conductivity; + Ark_Int32 value_conductivity_type = INTEROP_RUNTIME_UNDEFINED; + value_conductivity_type = runtimeType(value_conductivity); + valueSerializer.writeInt8(value_conductivity_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_conductivity_type)) { + const auto value_conductivity_value = value_conductivity.value; + valueSerializer.writeNumber(value_conductivity_value); + } + const auto value_intensity = value.intensity; + Ark_Int32 value_intensity_type = INTEROP_RUNTIME_UNDEFINED; + value_intensity_type = runtimeType(value_intensity); + valueSerializer.writeInt8(value_intensity_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_intensity_type)) { + const auto value_intensity_value = value_intensity.value; + valueSerializer.writeNumber(value_intensity_value); + } + const auto value_edgeEffect = value.edgeEffect; + Ark_Int32 value_edgeEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_edgeEffect_type = runtimeType(value_edgeEffect); + valueSerializer.writeInt8(value_edgeEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_edgeEffect_type)) { + const auto value_edgeEffect_value = value_edgeEffect.value; + valueSerializer.writeInt32(static_cast(value_edgeEffect_value)); + } + const auto value_stiffness = value.stiffness; + Ark_Int32 value_stiffness_type = INTEROP_RUNTIME_UNDEFINED; + value_stiffness_type = runtimeType(value_stiffness); + valueSerializer.writeInt8(value_stiffness_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_stiffness_type)) { + const auto value_stiffness_value = value_stiffness.value; + valueSerializer.writeNumber(value_stiffness_value); + } + const auto value_damping = value.damping; + Ark_Int32 value_damping_type = INTEROP_RUNTIME_UNDEFINED; + value_damping_type = runtimeType(value_damping); + valueSerializer.writeInt8(value_damping_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_damping_type)) { + const auto value_damping_value = value_damping.value; + valueSerializer.writeNumber(value_damping_value); } - const auto value_action = value.action; - valueSerializer.writeCallbackResource(value_action.resource); - valueSerializer.writePointer(reinterpret_cast(value_action.call)); - valueSerializer.writePointer(reinterpret_cast(value_action.callSync)); } - void writeMenuItemConfiguration(Ark_MenuItemConfiguration value) + void writeColorStop(Ark_ColorStop value) { Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = value_color.selector; + if (value_color_type == 0) { + valueSerializer.writeInt8(0); + const auto value_color_0 = value_color.value0; + valueSerializer.writeInt32(static_cast(value_color_0)); + } + else if (value_color_type == 1) { + valueSerializer.writeInt8(1); + const auto value_color_1 = value_color.value1; + valueSerializer.writeNumber(value_color_1); + } + else if (value_color_type == 2) { + valueSerializer.writeInt8(2); + const auto value_color_2 = value_color.value2; + valueSerializer.writeString(value_color_2); + } + else if (value_color_type == 3) { + valueSerializer.writeInt8(3); + const auto value_color_3 = value_color.value3; + valueSerializer.writeResource(value_color_3); + } + const auto value_offset = value.offset; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; + value_offset_type = value_offset.selector; + if (value_offset_type == 0) { + valueSerializer.writeInt8(0); + const auto value_offset_0 = value_offset.value0; + valueSerializer.writeString(value_offset_0); + } + else if (value_offset_type == 1) { + valueSerializer.writeInt8(1); + const auto value_offset_1 = value_offset.value1; + valueSerializer.writeNumber(value_offset_1); + } + else if (value_offset_type == 2) { + valueSerializer.writeInt8(2); + const auto value_offset_2 = value_offset.value2; + valueSerializer.writeResource(value_offset_2); + } } - void writeMenuItemGroupOptions(Ark_MenuItemGroupOptions value) + void writeColumnSplitDividerStyle(Ark_ColumnSplitDividerStyle value) { Serializer& valueSerializer = *this; - const auto value_header = value.header; - Ark_Int32 value_header_type = INTEROP_RUNTIME_UNDEFINED; - value_header_type = runtimeType(value_header); - valueSerializer.writeInt8(value_header_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_header_type)) { - const auto value_header_value = value_header.value; - Ark_Int32 value_header_value_type = INTEROP_RUNTIME_UNDEFINED; - value_header_value_type = value_header_value.selector; - if ((value_header_value_type == 0) || (value_header_value_type == 0)) { + const auto value_startMargin = value.startMargin; + Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; + value_startMargin_type = runtimeType(value_startMargin); + valueSerializer.writeInt8(value_startMargin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { + const auto value_startMargin_value = value_startMargin.value; + Ark_Int32 value_startMargin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_startMargin_value_type = value_startMargin_value.selector; + if (value_startMargin_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_header_value_0 = value_header_value.value0; - Ark_Int32 value_header_value_0_type = INTEROP_RUNTIME_UNDEFINED; - value_header_value_0_type = value_header_value_0.selector; - if (value_header_value_0_type == 0) { - valueSerializer.writeInt8(0); - const auto value_header_value_0_0 = value_header_value_0.value0; - valueSerializer.writeString(value_header_value_0_0); - } - else if (value_header_value_0_type == 1) { - valueSerializer.writeInt8(1); - const auto value_header_value_0_1 = value_header_value_0.value1; - valueSerializer.writeResource(value_header_value_0_1); - } + const auto value_startMargin_value_0 = value_startMargin_value.value0; + valueSerializer.writeString(value_startMargin_value_0); } - else if (value_header_value_type == 1) { + else if (value_startMargin_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_header_value_1 = value_header_value.value1; - valueSerializer.writeCallbackResource(value_header_value_1.resource); - valueSerializer.writePointer(reinterpret_cast(value_header_value_1.call)); - valueSerializer.writePointer(reinterpret_cast(value_header_value_1.callSync)); + const auto value_startMargin_value_1 = value_startMargin_value.value1; + valueSerializer.writeNumber(value_startMargin_value_1); + } + else if (value_startMargin_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_startMargin_value_2 = value_startMargin_value.value2; + valueSerializer.writeResource(value_startMargin_value_2); } } - const auto value_footer = value.footer; - Ark_Int32 value_footer_type = INTEROP_RUNTIME_UNDEFINED; - value_footer_type = runtimeType(value_footer); - valueSerializer.writeInt8(value_footer_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_footer_type)) { - const auto value_footer_value = value_footer.value; - Ark_Int32 value_footer_value_type = INTEROP_RUNTIME_UNDEFINED; - value_footer_value_type = value_footer_value.selector; - if ((value_footer_value_type == 0) || (value_footer_value_type == 0)) { + const auto value_endMargin = value.endMargin; + Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; + value_endMargin_type = runtimeType(value_endMargin); + valueSerializer.writeInt8(value_endMargin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { + const auto value_endMargin_value = value_endMargin.value; + Ark_Int32 value_endMargin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_endMargin_value_type = value_endMargin_value.selector; + if (value_endMargin_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_footer_value_0 = value_footer_value.value0; - Ark_Int32 value_footer_value_0_type = INTEROP_RUNTIME_UNDEFINED; - value_footer_value_0_type = value_footer_value_0.selector; - if (value_footer_value_0_type == 0) { - valueSerializer.writeInt8(0); - const auto value_footer_value_0_0 = value_footer_value_0.value0; - valueSerializer.writeString(value_footer_value_0_0); - } - else if (value_footer_value_0_type == 1) { - valueSerializer.writeInt8(1); - const auto value_footer_value_0_1 = value_footer_value_0.value1; - valueSerializer.writeResource(value_footer_value_0_1); - } + const auto value_endMargin_value_0 = value_endMargin_value.value0; + valueSerializer.writeString(value_endMargin_value_0); } - else if (value_footer_value_type == 1) { + else if (value_endMargin_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_footer_value_1 = value_footer_value.value1; - valueSerializer.writeCallbackResource(value_footer_value_1.resource); - valueSerializer.writePointer(reinterpret_cast(value_footer_value_1.call)); - valueSerializer.writePointer(reinterpret_cast(value_footer_value_1.callSync)); + const auto value_endMargin_value_1 = value_endMargin_value.value1; + valueSerializer.writeNumber(value_endMargin_value_1); + } + else if (value_endMargin_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_endMargin_value_2 = value_endMargin_value.value2; + valueSerializer.writeResource(value_endMargin_value_2); } } } - void writeMenuItemOptions(Ark_MenuItemOptions value) + void writeConstraintSizeOptions(Ark_ConstraintSizeOptions value) { Serializer& valueSerializer = *this; - const auto value_startIcon = value.startIcon; - Ark_Int32 value_startIcon_type = INTEROP_RUNTIME_UNDEFINED; - value_startIcon_type = runtimeType(value_startIcon); - valueSerializer.writeInt8(value_startIcon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_startIcon_type)) { - const auto value_startIcon_value = value_startIcon.value; - Ark_Int32 value_startIcon_value_type = INTEROP_RUNTIME_UNDEFINED; - value_startIcon_value_type = value_startIcon_value.selector; - if (value_startIcon_value_type == 0) { + const auto value_minWidth = value.minWidth; + Ark_Int32 value_minWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_minWidth_type = runtimeType(value_minWidth); + valueSerializer.writeInt8(value_minWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_minWidth_type)) { + const auto value_minWidth_value = value_minWidth.value; + Ark_Int32 value_minWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_minWidth_value_type = value_minWidth_value.selector; + if (value_minWidth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_startIcon_value_0 = value_startIcon_value.value0; - valueSerializer.writeString(value_startIcon_value_0); + const auto value_minWidth_value_0 = value_minWidth_value.value0; + valueSerializer.writeString(value_minWidth_value_0); } - else if (value_startIcon_value_type == 1) { + else if (value_minWidth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_startIcon_value_1 = value_startIcon_value.value1; - valueSerializer.writeResource(value_startIcon_value_1); - } - } - const auto value_symbolStartIcon = value.symbolStartIcon; - Ark_Int32 value_symbolStartIcon_type = INTEROP_RUNTIME_UNDEFINED; - value_symbolStartIcon_type = runtimeType(value_symbolStartIcon); - valueSerializer.writeInt8(value_symbolStartIcon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolStartIcon_type)) { - const auto value_symbolStartIcon_value = value_symbolStartIcon.value; - valueSerializer.writeSymbolGlyphModifier(value_symbolStartIcon_value); - } - const auto value_content = value.content; - Ark_Int32 value_content_type = INTEROP_RUNTIME_UNDEFINED; - value_content_type = runtimeType(value_content); - valueSerializer.writeInt8(value_content_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_content_type)) { - const auto value_content_value = value_content.value; - Ark_Int32 value_content_value_type = INTEROP_RUNTIME_UNDEFINED; - value_content_value_type = value_content_value.selector; - if (value_content_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_content_value_0 = value_content_value.value0; - valueSerializer.writeString(value_content_value_0); + const auto value_minWidth_value_1 = value_minWidth_value.value1; + valueSerializer.writeNumber(value_minWidth_value_1); } - else if (value_content_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_content_value_1 = value_content_value.value1; - valueSerializer.writeResource(value_content_value_1); + else if (value_minWidth_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_minWidth_value_2 = value_minWidth_value.value2; + valueSerializer.writeResource(value_minWidth_value_2); } } - const auto value_endIcon = value.endIcon; - Ark_Int32 value_endIcon_type = INTEROP_RUNTIME_UNDEFINED; - value_endIcon_type = runtimeType(value_endIcon); - valueSerializer.writeInt8(value_endIcon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_endIcon_type)) { - const auto value_endIcon_value = value_endIcon.value; - Ark_Int32 value_endIcon_value_type = INTEROP_RUNTIME_UNDEFINED; - value_endIcon_value_type = value_endIcon_value.selector; - if (value_endIcon_value_type == 0) { + const auto value_maxWidth = value.maxWidth; + Ark_Int32 value_maxWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_maxWidth_type = runtimeType(value_maxWidth); + valueSerializer.writeInt8(value_maxWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxWidth_type)) { + const auto value_maxWidth_value = value_maxWidth.value; + Ark_Int32 value_maxWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_maxWidth_value_type = value_maxWidth_value.selector; + if (value_maxWidth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_endIcon_value_0 = value_endIcon_value.value0; - valueSerializer.writeString(value_endIcon_value_0); + const auto value_maxWidth_value_0 = value_maxWidth_value.value0; + valueSerializer.writeString(value_maxWidth_value_0); } - else if (value_endIcon_value_type == 1) { + else if (value_maxWidth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_endIcon_value_1 = value_endIcon_value.value1; - valueSerializer.writeResource(value_endIcon_value_1); + const auto value_maxWidth_value_1 = value_maxWidth_value.value1; + valueSerializer.writeNumber(value_maxWidth_value_1); + } + else if (value_maxWidth_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_maxWidth_value_2 = value_maxWidth_value.value2; + valueSerializer.writeResource(value_maxWidth_value_2); } } - const auto value_symbolEndIcon = value.symbolEndIcon; - Ark_Int32 value_symbolEndIcon_type = INTEROP_RUNTIME_UNDEFINED; - value_symbolEndIcon_type = runtimeType(value_symbolEndIcon); - valueSerializer.writeInt8(value_symbolEndIcon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolEndIcon_type)) { - const auto value_symbolEndIcon_value = value_symbolEndIcon.value; - valueSerializer.writeSymbolGlyphModifier(value_symbolEndIcon_value); - } - const auto value_labelInfo = value.labelInfo; - Ark_Int32 value_labelInfo_type = INTEROP_RUNTIME_UNDEFINED; - value_labelInfo_type = runtimeType(value_labelInfo); - valueSerializer.writeInt8(value_labelInfo_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_labelInfo_type)) { - const auto value_labelInfo_value = value_labelInfo.value; - Ark_Int32 value_labelInfo_value_type = INTEROP_RUNTIME_UNDEFINED; - value_labelInfo_value_type = value_labelInfo_value.selector; - if (value_labelInfo_value_type == 0) { + const auto value_minHeight = value.minHeight; + Ark_Int32 value_minHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_minHeight_type = runtimeType(value_minHeight); + valueSerializer.writeInt8(value_minHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_minHeight_type)) { + const auto value_minHeight_value = value_minHeight.value; + Ark_Int32 value_minHeight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_minHeight_value_type = value_minHeight_value.selector; + if (value_minHeight_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_labelInfo_value_0 = value_labelInfo_value.value0; - valueSerializer.writeString(value_labelInfo_value_0); + const auto value_minHeight_value_0 = value_minHeight_value.value0; + valueSerializer.writeString(value_minHeight_value_0); } - else if (value_labelInfo_value_type == 1) { + else if (value_minHeight_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_labelInfo_value_1 = value_labelInfo_value.value1; - valueSerializer.writeResource(value_labelInfo_value_1); - } - } - const auto value_builder = value.builder; - Ark_Int32 value_builder_type = INTEROP_RUNTIME_UNDEFINED; - value_builder_type = runtimeType(value_builder); - valueSerializer.writeInt8(value_builder_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_builder_type)) { - const auto value_builder_value = value_builder.value; - valueSerializer.writeCallbackResource(value_builder_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_builder_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_builder_value.callSync)); - } - } - void writeNavDestinationCommonTitle(Ark_NavDestinationCommonTitle value) - { - Serializer& valueSerializer = *this; - const auto value_main = value.main; - Ark_Int32 value_main_type = INTEROP_RUNTIME_UNDEFINED; - value_main_type = value_main.selector; - if (value_main_type == 0) { - valueSerializer.writeInt8(0); - const auto value_main_0 = value_main.value0; - valueSerializer.writeString(value_main_0); - } - else if (value_main_type == 1) { - valueSerializer.writeInt8(1); - const auto value_main_1 = value_main.value1; - valueSerializer.writeResource(value_main_1); - } - const auto value_sub = value.sub; - Ark_Int32 value_sub_type = INTEROP_RUNTIME_UNDEFINED; - value_sub_type = value_sub.selector; - if (value_sub_type == 0) { - valueSerializer.writeInt8(0); - const auto value_sub_0 = value_sub.value0; - valueSerializer.writeString(value_sub_0); + const auto value_minHeight_value_1 = value_minHeight_value.value1; + valueSerializer.writeNumber(value_minHeight_value_1); + } + else if (value_minHeight_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_minHeight_value_2 = value_minHeight_value.value2; + valueSerializer.writeResource(value_minHeight_value_2); + } } - else if (value_sub_type == 1) { - valueSerializer.writeInt8(1); - const auto value_sub_1 = value_sub.value1; - valueSerializer.writeResource(value_sub_1); + const auto value_maxHeight = value.maxHeight; + Ark_Int32 value_maxHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_maxHeight_type = runtimeType(value_maxHeight); + valueSerializer.writeInt8(value_maxHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxHeight_type)) { + const auto value_maxHeight_value = value_maxHeight.value; + Ark_Int32 value_maxHeight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_maxHeight_value_type = value_maxHeight_value.selector; + if (value_maxHeight_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_maxHeight_value_0 = value_maxHeight_value.value0; + valueSerializer.writeString(value_maxHeight_value_0); + } + else if (value_maxHeight_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_maxHeight_value_1 = value_maxHeight_value.value1; + valueSerializer.writeNumber(value_maxHeight_value_1); + } + else if (value_maxHeight_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_maxHeight_value_2 = value_maxHeight_value.value2; + valueSerializer.writeResource(value_maxHeight_value_2); + } } } - void writeNavDestinationContext(Ark_NavDestinationContext value) + void writeCustomTheme(Ark_CustomTheme value) { Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); + const auto value_colors = value.colors; + Ark_Int32 value_colors_type = INTEROP_RUNTIME_UNDEFINED; + value_colors_type = runtimeType(value_colors); + valueSerializer.writeInt8(value_colors_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_colors_type)) { + const auto value_colors_value = value_colors.value; + valueSerializer.writeCustomColors(value_colors_value); + } } - void writeNavDestinationCustomTitle(Ark_NavDestinationCustomTitle value) + void writeDividerOptions(Ark_DividerOptions value) { Serializer& valueSerializer = *this; - const auto value_builder = value.builder; - valueSerializer.writeCallbackResource(value_builder.resource); - valueSerializer.writePointer(reinterpret_cast(value_builder.call)); - valueSerializer.writePointer(reinterpret_cast(value_builder.callSync)); - const auto value_height = value.height; - Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; - value_height_type = value_height.selector; - if (value_height_type == 0) { - valueSerializer.writeInt8(0); - const auto value_height_0 = value_height.value0; - valueSerializer.writeInt32(static_cast(value_height_0)); - } - else if ((value_height_type == 1) || (value_height_type == 1) || (value_height_type == 1)) { - valueSerializer.writeInt8(1); - const auto value_height_1 = value_height.value1; - Ark_Int32 value_height_1_type = INTEROP_RUNTIME_UNDEFINED; - value_height_1_type = value_height_1.selector; - if (value_height_1_type == 0) { + const auto value_strokeWidth = value.strokeWidth; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_type = runtimeType(value_strokeWidth); + valueSerializer.writeInt8(value_strokeWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + const auto value_strokeWidth_value = value_strokeWidth.value; + Ark_Int32 value_strokeWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_value_type = value_strokeWidth_value.selector; + if (value_strokeWidth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_height_1_0 = value_height_1.value0; - valueSerializer.writeString(value_height_1_0); + const auto value_strokeWidth_value_0 = value_strokeWidth_value.value0; + valueSerializer.writeString(value_strokeWidth_value_0); } - else if (value_height_1_type == 1) { + else if (value_strokeWidth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_height_1_1 = value_height_1.value1; - valueSerializer.writeNumber(value_height_1_1); + const auto value_strokeWidth_value_1 = value_strokeWidth_value.value1; + valueSerializer.writeNumber(value_strokeWidth_value_1); } - else if (value_height_1_type == 2) { + else if (value_strokeWidth_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_height_1_2 = value_height_1.value2; - valueSerializer.writeResource(value_height_1_2); + const auto value_strokeWidth_value_2 = value_strokeWidth_value.value2; + valueSerializer.writeResource(value_strokeWidth_value_2); } } - } - void writeNavigationCommonTitle(Ark_NavigationCommonTitle value) - { - Serializer& valueSerializer = *this; - const auto value_main = value.main; - Ark_Int32 value_main_type = INTEROP_RUNTIME_UNDEFINED; - value_main_type = value_main.selector; - if (value_main_type == 0) { - valueSerializer.writeInt8(0); - const auto value_main_0 = value_main.value0; - valueSerializer.writeString(value_main_0); - } - else if (value_main_type == 1) { - valueSerializer.writeInt8(1); - const auto value_main_1 = value_main.value1; - valueSerializer.writeResource(value_main_1); - } - const auto value_sub = value.sub; - Ark_Int32 value_sub_type = INTEROP_RUNTIME_UNDEFINED; - value_sub_type = value_sub.selector; - if (value_sub_type == 0) { - valueSerializer.writeInt8(0); - const auto value_sub_0 = value_sub.value0; - valueSerializer.writeString(value_sub_0); - } - else if (value_sub_type == 1) { - valueSerializer.writeInt8(1); - const auto value_sub_1 = value_sub.value1; - valueSerializer.writeResource(value_sub_1); + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); + } + else if (value_color_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeNumber(value_color_value_1); + } + else if (value_color_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeString(value_color_value_2); + } + else if (value_color_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeResource(value_color_value_3); + } } - } - void writeNavigationCustomTitle(Ark_NavigationCustomTitle value) - { - Serializer& valueSerializer = *this; - const auto value_builder = value.builder; - valueSerializer.writeCallbackResource(value_builder.resource); - valueSerializer.writePointer(reinterpret_cast(value_builder.call)); - valueSerializer.writePointer(reinterpret_cast(value_builder.callSync)); - const auto value_height = value.height; - Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; - value_height_type = value_height.selector; - if (value_height_type == 0) { - valueSerializer.writeInt8(0); - const auto value_height_0 = value_height.value0; - valueSerializer.writeInt32(static_cast(value_height_0)); + const auto value_startMargin = value.startMargin; + Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; + value_startMargin_type = runtimeType(value_startMargin); + valueSerializer.writeInt8(value_startMargin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { + const auto value_startMargin_value = value_startMargin.value; + Ark_Int32 value_startMargin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_startMargin_value_type = value_startMargin_value.selector; + if (value_startMargin_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_startMargin_value_0 = value_startMargin_value.value0; + valueSerializer.writeString(value_startMargin_value_0); + } + else if (value_startMargin_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_startMargin_value_1 = value_startMargin_value.value1; + valueSerializer.writeNumber(value_startMargin_value_1); + } + else if (value_startMargin_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_startMargin_value_2 = value_startMargin_value.value2; + valueSerializer.writeResource(value_startMargin_value_2); + } } - else if ((value_height_type == 1) || (value_height_type == 1) || (value_height_type == 1)) { - valueSerializer.writeInt8(1); - const auto value_height_1 = value_height.value1; - Ark_Int32 value_height_1_type = INTEROP_RUNTIME_UNDEFINED; - value_height_1_type = value_height_1.selector; - if (value_height_1_type == 0) { + const auto value_endMargin = value.endMargin; + Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; + value_endMargin_type = runtimeType(value_endMargin); + valueSerializer.writeInt8(value_endMargin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { + const auto value_endMargin_value = value_endMargin.value; + Ark_Int32 value_endMargin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_endMargin_value_type = value_endMargin_value.selector; + if (value_endMargin_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_height_1_0 = value_height_1.value0; - valueSerializer.writeString(value_height_1_0); + const auto value_endMargin_value_0 = value_endMargin_value.value0; + valueSerializer.writeString(value_endMargin_value_0); } - else if (value_height_1_type == 1) { + else if (value_endMargin_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_height_1_1 = value_height_1.value1; - valueSerializer.writeNumber(value_height_1_1); + const auto value_endMargin_value_1 = value_endMargin_value.value1; + valueSerializer.writeNumber(value_endMargin_value_1); } - else if (value_height_1_type == 2) { + else if (value_endMargin_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_height_1_2 = value_height_1.value2; - valueSerializer.writeResource(value_height_1_2); + const auto value_endMargin_value_2 = value_endMargin_value.value2; + valueSerializer.writeResource(value_endMargin_value_2); } } } - void writeNavigationMenuItem(Ark_NavigationMenuItem value) + void writeDividerStyle(Ark_DividerStyle value) { Serializer& valueSerializer = *this; - const auto value_value = value.value; - Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; - value_value_type = value_value.selector; - if (value_value_type == 0) { + const auto value_strokeWidth = value.strokeWidth; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_type = value_strokeWidth.selector; + if (value_strokeWidth_type == 0) { valueSerializer.writeInt8(0); - const auto value_value_0 = value_value.value0; - valueSerializer.writeString(value_value_0); + const auto value_strokeWidth_0 = value_strokeWidth.value0; + valueSerializer.writeString(value_strokeWidth_0); } - else if (value_value_type == 1) { + else if (value_strokeWidth_type == 1) { valueSerializer.writeInt8(1); - const auto value_value_1 = value_value.value1; - valueSerializer.writeResource(value_value_1); + const auto value_strokeWidth_1 = value_strokeWidth.value1; + valueSerializer.writeNumber(value_strokeWidth_1); } - const auto value_icon = value.icon; - Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_type = runtimeType(value_icon); - valueSerializer.writeInt8(value_icon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { - const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_value_type = value_icon_value.selector; - if (value_icon_value_type == 0) { + else if (value_strokeWidth_type == 2) { + valueSerializer.writeInt8(2); + const auto value_strokeWidth_2 = value_strokeWidth.value2; + valueSerializer.writeResource(value_strokeWidth_2); + } + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_icon_value_0 = value_icon_value.value0; - valueSerializer.writeString(value_icon_value_0); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); } - else if (value_icon_value_type == 1) { + else if (value_color_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_icon_value_1 = value_icon_value.value1; - valueSerializer.writeResource(value_icon_value_1); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeNumber(value_color_value_1); + } + else if (value_color_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeString(value_color_value_2); + } + else if (value_color_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeResource(value_color_value_3); } } - const auto value_symbolIcon = value.symbolIcon; - Ark_Int32 value_symbolIcon_type = INTEROP_RUNTIME_UNDEFINED; - value_symbolIcon_type = runtimeType(value_symbolIcon); - valueSerializer.writeInt8(value_symbolIcon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolIcon_type)) { - const auto value_symbolIcon_value = value_symbolIcon.value; - valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value); - } - const auto value_isEnabled = value.isEnabled; - Ark_Int32 value_isEnabled_type = INTEROP_RUNTIME_UNDEFINED; - value_isEnabled_type = runtimeType(value_isEnabled); - valueSerializer.writeInt8(value_isEnabled_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_isEnabled_type)) { - const auto value_isEnabled_value = value_isEnabled.value; - valueSerializer.writeBoolean(value_isEnabled_value); - } - const auto value_action = value.action; - Ark_Int32 value_action_type = INTEROP_RUNTIME_UNDEFINED; - value_action_type = runtimeType(value_action); - valueSerializer.writeInt8(value_action_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_action_type)) { - const auto value_action_value = value_action.value; - valueSerializer.writeCallbackResource(value_action_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_action_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_action_value.callSync)); - } - } - void writeNavigationTitleOptions(Ark_NavigationTitleOptions value) - { - Serializer& valueSerializer = *this; - const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundColor_type = runtimeType(value_backgroundColor); - valueSerializer.writeInt8(value_backgroundColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { - const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundColor_value_type = value_backgroundColor_value.selector; - if (value_backgroundColor_value_type == 0) { + const auto value_startMargin = value.startMargin; + Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; + value_startMargin_type = runtimeType(value_startMargin); + valueSerializer.writeInt8(value_startMargin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { + const auto value_startMargin_value = value_startMargin.value; + Ark_Int32 value_startMargin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_startMargin_value_type = value_startMargin_value.selector; + if (value_startMargin_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_backgroundColor_value_0 = value_backgroundColor_value.value0; - valueSerializer.writeInt32(static_cast(value_backgroundColor_value_0)); + const auto value_startMargin_value_0 = value_startMargin_value.value0; + valueSerializer.writeString(value_startMargin_value_0); } - else if (value_backgroundColor_value_type == 1) { + else if (value_startMargin_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_backgroundColor_value_1 = value_backgroundColor_value.value1; - valueSerializer.writeNumber(value_backgroundColor_value_1); + const auto value_startMargin_value_1 = value_startMargin_value.value1; + valueSerializer.writeNumber(value_startMargin_value_1); } - else if (value_backgroundColor_value_type == 2) { + else if (value_startMargin_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_backgroundColor_value_2 = value_backgroundColor_value.value2; - valueSerializer.writeString(value_backgroundColor_value_2); - } - else if (value_backgroundColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_backgroundColor_value_3 = value_backgroundColor_value.value3; - valueSerializer.writeResource(value_backgroundColor_value_3); + const auto value_startMargin_value_2 = value_startMargin_value.value2; + valueSerializer.writeResource(value_startMargin_value_2); } } - const auto value_backgroundBlurStyle = value.backgroundBlurStyle; - Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); - valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyle_type)) { - const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; - valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); - } - const auto value_barStyle = value.barStyle; - Ark_Int32 value_barStyle_type = INTEROP_RUNTIME_UNDEFINED; - value_barStyle_type = runtimeType(value_barStyle); - valueSerializer.writeInt8(value_barStyle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_barStyle_type)) { - const auto value_barStyle_value = value_barStyle.value; - valueSerializer.writeInt32(static_cast(value_barStyle_value)); - } - const auto value_paddingStart = value.paddingStart; - Ark_Int32 value_paddingStart_type = INTEROP_RUNTIME_UNDEFINED; - value_paddingStart_type = runtimeType(value_paddingStart); - valueSerializer.writeInt8(value_paddingStart_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_paddingStart_type)) { - const auto value_paddingStart_value = value_paddingStart.value; - valueSerializer.writeLengthMetrics(value_paddingStart_value); - } - const auto value_paddingEnd = value.paddingEnd; - Ark_Int32 value_paddingEnd_type = INTEROP_RUNTIME_UNDEFINED; - value_paddingEnd_type = runtimeType(value_paddingEnd); - valueSerializer.writeInt8(value_paddingEnd_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_paddingEnd_type)) { - const auto value_paddingEnd_value = value_paddingEnd.value; - valueSerializer.writeLengthMetrics(value_paddingEnd_value); - } - const auto value_mainTitleModifier = value.mainTitleModifier; - Ark_Int32 value_mainTitleModifier_type = INTEROP_RUNTIME_UNDEFINED; - value_mainTitleModifier_type = runtimeType(value_mainTitleModifier); - valueSerializer.writeInt8(value_mainTitleModifier_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_mainTitleModifier_type)) { - const auto value_mainTitleModifier_value = value_mainTitleModifier.value; - valueSerializer.writeTextModifier(value_mainTitleModifier_value); - } - const auto value_subTitleModifier = value.subTitleModifier; - Ark_Int32 value_subTitleModifier_type = INTEROP_RUNTIME_UNDEFINED; - value_subTitleModifier_type = runtimeType(value_subTitleModifier); - valueSerializer.writeInt8(value_subTitleModifier_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_subTitleModifier_type)) { - const auto value_subTitleModifier_value = value_subTitleModifier.value; - valueSerializer.writeTextModifier(value_subTitleModifier_value); - } - const auto value_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; - value_enableHoverMode_type = runtimeType(value_enableHoverMode); - valueSerializer.writeInt8(value_enableHoverMode_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableHoverMode_type)) { - const auto value_enableHoverMode_value = value_enableHoverMode.value; - valueSerializer.writeBoolean(value_enableHoverMode_value); + const auto value_endMargin = value.endMargin; + Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; + value_endMargin_type = runtimeType(value_endMargin); + valueSerializer.writeInt8(value_endMargin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { + const auto value_endMargin_value = value_endMargin.value; + Ark_Int32 value_endMargin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_endMargin_value_type = value_endMargin_value.selector; + if (value_endMargin_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_endMargin_value_0 = value_endMargin_value.value0; + valueSerializer.writeString(value_endMargin_value_0); + } + else if (value_endMargin_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_endMargin_value_1 = value_endMargin_value.value1; + valueSerializer.writeNumber(value_endMargin_value_1); + } + else if (value_endMargin_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_endMargin_value_2 = value_endMargin_value.value2; + valueSerializer.writeResource(value_endMargin_value_2); + } } } - void writeNavigationToolbarOptions(Ark_NavigationToolbarOptions value) + void writeDotIndicator(Ark_DotIndicator value) { Serializer& valueSerializer = *this; - const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundColor_type = runtimeType(value_backgroundColor); - valueSerializer.writeInt8(value_backgroundColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { - const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundColor_value_type = value_backgroundColor_value.selector; - if (value_backgroundColor_value_type == 0) { + const auto value__left = value._left; + Ark_Int32 value__left_type = INTEROP_RUNTIME_UNDEFINED; + value__left_type = runtimeType(value__left); + valueSerializer.writeInt8(value__left_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__left_type)) { + const auto value__left_value = value__left.value; + Ark_Int32 value__left_value_type = INTEROP_RUNTIME_UNDEFINED; + value__left_value_type = value__left_value.selector; + if (value__left_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_backgroundColor_value_0 = value_backgroundColor_value.value0; - valueSerializer.writeInt32(static_cast(value_backgroundColor_value_0)); + const auto value__left_value_0 = value__left_value.value0; + valueSerializer.writeString(value__left_value_0); } - else if (value_backgroundColor_value_type == 1) { + else if (value__left_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_backgroundColor_value_1 = value_backgroundColor_value.value1; - valueSerializer.writeNumber(value_backgroundColor_value_1); + const auto value__left_value_1 = value__left_value.value1; + valueSerializer.writeNumber(value__left_value_1); } - else if (value_backgroundColor_value_type == 2) { + else if (value__left_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_backgroundColor_value_2 = value_backgroundColor_value.value2; - valueSerializer.writeString(value_backgroundColor_value_2); - } - else if (value_backgroundColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_backgroundColor_value_3 = value_backgroundColor_value.value3; - valueSerializer.writeResource(value_backgroundColor_value_3); + const auto value__left_value_2 = value__left_value.value2; + valueSerializer.writeResource(value__left_value_2); } } - const auto value_backgroundBlurStyle = value.backgroundBlurStyle; - Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); - valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyle_type)) { - const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; - valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); - } - const auto value_barStyle = value.barStyle; - Ark_Int32 value_barStyle_type = INTEROP_RUNTIME_UNDEFINED; - value_barStyle_type = runtimeType(value_barStyle); - valueSerializer.writeInt8(value_barStyle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_barStyle_type)) { - const auto value_barStyle_value = value_barStyle.value; - valueSerializer.writeInt32(static_cast(value_barStyle_value)); - } - } - void writeNonCurrentDayStyle(Ark_NonCurrentDayStyle value) - { - Serializer& valueSerializer = *this; - const auto value_nonCurrentMonthDayColor = value.nonCurrentMonthDayColor; - Ark_Int32 value_nonCurrentMonthDayColor_type = INTEROP_RUNTIME_UNDEFINED; - value_nonCurrentMonthDayColor_type = runtimeType(value_nonCurrentMonthDayColor); - valueSerializer.writeInt8(value_nonCurrentMonthDayColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonCurrentMonthDayColor_type)) { - const auto value_nonCurrentMonthDayColor_value = value_nonCurrentMonthDayColor.value; - Ark_Int32 value_nonCurrentMonthDayColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_nonCurrentMonthDayColor_value_type = value_nonCurrentMonthDayColor_value.selector; - if (value_nonCurrentMonthDayColor_value_type == 0) { + const auto value__top = value._top; + Ark_Int32 value__top_type = INTEROP_RUNTIME_UNDEFINED; + value__top_type = runtimeType(value__top); + valueSerializer.writeInt8(value__top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__top_type)) { + const auto value__top_value = value__top.value; + Ark_Int32 value__top_value_type = INTEROP_RUNTIME_UNDEFINED; + value__top_value_type = value__top_value.selector; + if (value__top_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value__top_value_0 = value__top_value.value0; + valueSerializer.writeString(value__top_value_0); + } + else if (value__top_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value__top_value_1 = value__top_value.value1; + valueSerializer.writeNumber(value__top_value_1); + } + else if (value__top_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value__top_value_2 = value__top_value.value2; + valueSerializer.writeResource(value__top_value_2); + } + } + const auto value__right = value._right; + Ark_Int32 value__right_type = INTEROP_RUNTIME_UNDEFINED; + value__right_type = runtimeType(value__right); + valueSerializer.writeInt8(value__right_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__right_type)) { + const auto value__right_value = value__right.value; + Ark_Int32 value__right_value_type = INTEROP_RUNTIME_UNDEFINED; + value__right_value_type = value__right_value.selector; + if (value__right_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_nonCurrentMonthDayColor_value_0 = value_nonCurrentMonthDayColor_value.value0; - valueSerializer.writeInt32(static_cast(value_nonCurrentMonthDayColor_value_0)); + const auto value__right_value_0 = value__right_value.value0; + valueSerializer.writeString(value__right_value_0); } - else if (value_nonCurrentMonthDayColor_value_type == 1) { + else if (value__right_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_nonCurrentMonthDayColor_value_1 = value_nonCurrentMonthDayColor_value.value1; - valueSerializer.writeNumber(value_nonCurrentMonthDayColor_value_1); + const auto value__right_value_1 = value__right_value.value1; + valueSerializer.writeNumber(value__right_value_1); } - else if (value_nonCurrentMonthDayColor_value_type == 2) { + else if (value__right_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_nonCurrentMonthDayColor_value_2 = value_nonCurrentMonthDayColor_value.value2; - valueSerializer.writeString(value_nonCurrentMonthDayColor_value_2); - } - else if (value_nonCurrentMonthDayColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_nonCurrentMonthDayColor_value_3 = value_nonCurrentMonthDayColor_value.value3; - valueSerializer.writeResource(value_nonCurrentMonthDayColor_value_3); + const auto value__right_value_2 = value__right_value.value2; + valueSerializer.writeResource(value__right_value_2); } } - const auto value_nonCurrentMonthLunarColor = value.nonCurrentMonthLunarColor; - Ark_Int32 value_nonCurrentMonthLunarColor_type = INTEROP_RUNTIME_UNDEFINED; - value_nonCurrentMonthLunarColor_type = runtimeType(value_nonCurrentMonthLunarColor); - valueSerializer.writeInt8(value_nonCurrentMonthLunarColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonCurrentMonthLunarColor_type)) { - const auto value_nonCurrentMonthLunarColor_value = value_nonCurrentMonthLunarColor.value; - Ark_Int32 value_nonCurrentMonthLunarColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_nonCurrentMonthLunarColor_value_type = value_nonCurrentMonthLunarColor_value.selector; - if (value_nonCurrentMonthLunarColor_value_type == 0) { + const auto value__bottom = value._bottom; + Ark_Int32 value__bottom_type = INTEROP_RUNTIME_UNDEFINED; + value__bottom_type = runtimeType(value__bottom); + valueSerializer.writeInt8(value__bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__bottom_type)) { + const auto value__bottom_value = value__bottom.value; + Ark_Int32 value__bottom_value_type = INTEROP_RUNTIME_UNDEFINED; + value__bottom_value_type = value__bottom_value.selector; + if (value__bottom_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_nonCurrentMonthLunarColor_value_0 = value_nonCurrentMonthLunarColor_value.value0; - valueSerializer.writeInt32(static_cast(value_nonCurrentMonthLunarColor_value_0)); + const auto value__bottom_value_0 = value__bottom_value.value0; + valueSerializer.writeString(value__bottom_value_0); } - else if (value_nonCurrentMonthLunarColor_value_type == 1) { + else if (value__bottom_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_nonCurrentMonthLunarColor_value_1 = value_nonCurrentMonthLunarColor_value.value1; - valueSerializer.writeNumber(value_nonCurrentMonthLunarColor_value_1); + const auto value__bottom_value_1 = value__bottom_value.value1; + valueSerializer.writeNumber(value__bottom_value_1); } - else if (value_nonCurrentMonthLunarColor_value_type == 2) { + else if (value__bottom_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_nonCurrentMonthLunarColor_value_2 = value_nonCurrentMonthLunarColor_value.value2; - valueSerializer.writeString(value_nonCurrentMonthLunarColor_value_2); - } - else if (value_nonCurrentMonthLunarColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_nonCurrentMonthLunarColor_value_3 = value_nonCurrentMonthLunarColor_value.value3; - valueSerializer.writeResource(value_nonCurrentMonthLunarColor_value_3); + const auto value__bottom_value_2 = value__bottom_value.value2; + valueSerializer.writeResource(value__bottom_value_2); } } - const auto value_nonCurrentMonthWorkDayMarkColor = value.nonCurrentMonthWorkDayMarkColor; - Ark_Int32 value_nonCurrentMonthWorkDayMarkColor_type = INTEROP_RUNTIME_UNDEFINED; - value_nonCurrentMonthWorkDayMarkColor_type = runtimeType(value_nonCurrentMonthWorkDayMarkColor); - valueSerializer.writeInt8(value_nonCurrentMonthWorkDayMarkColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonCurrentMonthWorkDayMarkColor_type)) { - const auto value_nonCurrentMonthWorkDayMarkColor_value = value_nonCurrentMonthWorkDayMarkColor.value; - Ark_Int32 value_nonCurrentMonthWorkDayMarkColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_nonCurrentMonthWorkDayMarkColor_value_type = value_nonCurrentMonthWorkDayMarkColor_value.selector; - if (value_nonCurrentMonthWorkDayMarkColor_value_type == 0) { + const auto value__start = value._start; + Ark_Int32 value__start_type = INTEROP_RUNTIME_UNDEFINED; + value__start_type = runtimeType(value__start); + valueSerializer.writeInt8(value__start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__start_type)) { + const auto value__start_value = value__start.value; + valueSerializer.writeLengthMetrics(value__start_value); + } + const auto value__end = value._end; + Ark_Int32 value__end_type = INTEROP_RUNTIME_UNDEFINED; + value__end_type = runtimeType(value__end); + valueSerializer.writeInt8(value__end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__end_type)) { + const auto value__end_value = value__end.value; + valueSerializer.writeLengthMetrics(value__end_value); + } + const auto value__itemWidth = value._itemWidth; + Ark_Int32 value__itemWidth_type = INTEROP_RUNTIME_UNDEFINED; + value__itemWidth_type = runtimeType(value__itemWidth); + valueSerializer.writeInt8(value__itemWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__itemWidth_type)) { + const auto value__itemWidth_value = value__itemWidth.value; + Ark_Int32 value__itemWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value__itemWidth_value_type = value__itemWidth_value.selector; + if (value__itemWidth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_nonCurrentMonthWorkDayMarkColor_value_0 = value_nonCurrentMonthWorkDayMarkColor_value.value0; - valueSerializer.writeInt32(static_cast(value_nonCurrentMonthWorkDayMarkColor_value_0)); + const auto value__itemWidth_value_0 = value__itemWidth_value.value0; + valueSerializer.writeString(value__itemWidth_value_0); } - else if (value_nonCurrentMonthWorkDayMarkColor_value_type == 1) { + else if (value__itemWidth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_nonCurrentMonthWorkDayMarkColor_value_1 = value_nonCurrentMonthWorkDayMarkColor_value.value1; - valueSerializer.writeNumber(value_nonCurrentMonthWorkDayMarkColor_value_1); + const auto value__itemWidth_value_1 = value__itemWidth_value.value1; + valueSerializer.writeNumber(value__itemWidth_value_1); } - else if (value_nonCurrentMonthWorkDayMarkColor_value_type == 2) { + else if (value__itemWidth_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_nonCurrentMonthWorkDayMarkColor_value_2 = value_nonCurrentMonthWorkDayMarkColor_value.value2; - valueSerializer.writeString(value_nonCurrentMonthWorkDayMarkColor_value_2); - } - else if (value_nonCurrentMonthWorkDayMarkColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_nonCurrentMonthWorkDayMarkColor_value_3 = value_nonCurrentMonthWorkDayMarkColor_value.value3; - valueSerializer.writeResource(value_nonCurrentMonthWorkDayMarkColor_value_3); + const auto value__itemWidth_value_2 = value__itemWidth_value.value2; + valueSerializer.writeResource(value__itemWidth_value_2); } } - const auto value_nonCurrentMonthOffDayMarkColor = value.nonCurrentMonthOffDayMarkColor; - Ark_Int32 value_nonCurrentMonthOffDayMarkColor_type = INTEROP_RUNTIME_UNDEFINED; - value_nonCurrentMonthOffDayMarkColor_type = runtimeType(value_nonCurrentMonthOffDayMarkColor); - valueSerializer.writeInt8(value_nonCurrentMonthOffDayMarkColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonCurrentMonthOffDayMarkColor_type)) { - const auto value_nonCurrentMonthOffDayMarkColor_value = value_nonCurrentMonthOffDayMarkColor.value; - Ark_Int32 value_nonCurrentMonthOffDayMarkColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_nonCurrentMonthOffDayMarkColor_value_type = value_nonCurrentMonthOffDayMarkColor_value.selector; - if (value_nonCurrentMonthOffDayMarkColor_value_type == 0) { + const auto value__itemHeight = value._itemHeight; + Ark_Int32 value__itemHeight_type = INTEROP_RUNTIME_UNDEFINED; + value__itemHeight_type = runtimeType(value__itemHeight); + valueSerializer.writeInt8(value__itemHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__itemHeight_type)) { + const auto value__itemHeight_value = value__itemHeight.value; + Ark_Int32 value__itemHeight_value_type = INTEROP_RUNTIME_UNDEFINED; + value__itemHeight_value_type = value__itemHeight_value.selector; + if (value__itemHeight_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_nonCurrentMonthOffDayMarkColor_value_0 = value_nonCurrentMonthOffDayMarkColor_value.value0; - valueSerializer.writeInt32(static_cast(value_nonCurrentMonthOffDayMarkColor_value_0)); + const auto value__itemHeight_value_0 = value__itemHeight_value.value0; + valueSerializer.writeString(value__itemHeight_value_0); } - else if (value_nonCurrentMonthOffDayMarkColor_value_type == 1) { + else if (value__itemHeight_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_nonCurrentMonthOffDayMarkColor_value_1 = value_nonCurrentMonthOffDayMarkColor_value.value1; - valueSerializer.writeNumber(value_nonCurrentMonthOffDayMarkColor_value_1); + const auto value__itemHeight_value_1 = value__itemHeight_value.value1; + valueSerializer.writeNumber(value__itemHeight_value_1); } - else if (value_nonCurrentMonthOffDayMarkColor_value_type == 2) { + else if (value__itemHeight_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_nonCurrentMonthOffDayMarkColor_value_2 = value_nonCurrentMonthOffDayMarkColor_value.value2; - valueSerializer.writeString(value_nonCurrentMonthOffDayMarkColor_value_2); - } - else if (value_nonCurrentMonthOffDayMarkColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_nonCurrentMonthOffDayMarkColor_value_3 = value_nonCurrentMonthOffDayMarkColor_value.value3; - valueSerializer.writeResource(value_nonCurrentMonthOffDayMarkColor_value_3); + const auto value__itemHeight_value_2 = value__itemHeight_value.value2; + valueSerializer.writeResource(value__itemHeight_value_2); } } - } - void writeOffsetOptions(Ark_OffsetOptions value) - { - Serializer& valueSerializer = *this; - const auto value_xOffset = value.xOffset; - Ark_Int32 value_xOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_xOffset_type = runtimeType(value_xOffset); - valueSerializer.writeInt8(value_xOffset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_xOffset_type)) { - const auto value_xOffset_value = value_xOffset.value; - Ark_Int32 value_xOffset_value_type = INTEROP_RUNTIME_UNDEFINED; - value_xOffset_value_type = value_xOffset_value.selector; - if (value_xOffset_value_type == 0) { + const auto value__selectedItemWidth = value._selectedItemWidth; + Ark_Int32 value__selectedItemWidth_type = INTEROP_RUNTIME_UNDEFINED; + value__selectedItemWidth_type = runtimeType(value__selectedItemWidth); + valueSerializer.writeInt8(value__selectedItemWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__selectedItemWidth_type)) { + const auto value__selectedItemWidth_value = value__selectedItemWidth.value; + Ark_Int32 value__selectedItemWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value__selectedItemWidth_value_type = value__selectedItemWidth_value.selector; + if (value__selectedItemWidth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_xOffset_value_0 = value_xOffset_value.value0; - valueSerializer.writeString(value_xOffset_value_0); + const auto value__selectedItemWidth_value_0 = value__selectedItemWidth_value.value0; + valueSerializer.writeString(value__selectedItemWidth_value_0); } - else if (value_xOffset_value_type == 1) { + else if (value__selectedItemWidth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_xOffset_value_1 = value_xOffset_value.value1; - valueSerializer.writeNumber(value_xOffset_value_1); + const auto value__selectedItemWidth_value_1 = value__selectedItemWidth_value.value1; + valueSerializer.writeNumber(value__selectedItemWidth_value_1); } - else if (value_xOffset_value_type == 2) { + else if (value__selectedItemWidth_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_xOffset_value_2 = value_xOffset_value.value2; - valueSerializer.writeResource(value_xOffset_value_2); + const auto value__selectedItemWidth_value_2 = value__selectedItemWidth_value.value2; + valueSerializer.writeResource(value__selectedItemWidth_value_2); } } - const auto value_yOffset = value.yOffset; - Ark_Int32 value_yOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_yOffset_type = runtimeType(value_yOffset); - valueSerializer.writeInt8(value_yOffset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_yOffset_type)) { - const auto value_yOffset_value = value_yOffset.value; - Ark_Int32 value_yOffset_value_type = INTEROP_RUNTIME_UNDEFINED; - value_yOffset_value_type = value_yOffset_value.selector; - if (value_yOffset_value_type == 0) { + const auto value__selectedItemHeight = value._selectedItemHeight; + Ark_Int32 value__selectedItemHeight_type = INTEROP_RUNTIME_UNDEFINED; + value__selectedItemHeight_type = runtimeType(value__selectedItemHeight); + valueSerializer.writeInt8(value__selectedItemHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__selectedItemHeight_type)) { + const auto value__selectedItemHeight_value = value__selectedItemHeight.value; + Ark_Int32 value__selectedItemHeight_value_type = INTEROP_RUNTIME_UNDEFINED; + value__selectedItemHeight_value_type = value__selectedItemHeight_value.selector; + if (value__selectedItemHeight_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_yOffset_value_0 = value_yOffset_value.value0; - valueSerializer.writeString(value_yOffset_value_0); + const auto value__selectedItemHeight_value_0 = value__selectedItemHeight_value.value0; + valueSerializer.writeString(value__selectedItemHeight_value_0); } - else if (value_yOffset_value_type == 1) { + else if (value__selectedItemHeight_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_yOffset_value_1 = value_yOffset_value.value1; - valueSerializer.writeNumber(value_yOffset_value_1); + const auto value__selectedItemHeight_value_1 = value__selectedItemHeight_value.value1; + valueSerializer.writeNumber(value__selectedItemHeight_value_1); } - else if (value_yOffset_value_type == 2) { + else if (value__selectedItemHeight_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_yOffset_value_2 = value_yOffset_value.value2; - valueSerializer.writeResource(value_yOffset_value_2); + const auto value__selectedItemHeight_value_2 = value__selectedItemHeight_value.value2; + valueSerializer.writeResource(value__selectedItemHeight_value_2); } } - } - void writeOverlayOptions(Ark_OverlayOptions value) - { - Serializer& valueSerializer = *this; - const auto value_align = value.align; - Ark_Int32 value_align_type = INTEROP_RUNTIME_UNDEFINED; - value_align_type = runtimeType(value_align); - valueSerializer.writeInt8(value_align_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_align_type)) { - const auto value_align_value = value_align.value; - valueSerializer.writeInt32(static_cast(value_align_value)); - } - const auto value_offset = value.offset; - Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_type = runtimeType(value_offset); - valueSerializer.writeInt8(value_offset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { - const auto value_offset_value = value_offset.value; - valueSerializer.writeOverlayOffset(value_offset_value); + const auto value__mask = value._mask; + Ark_Int32 value__mask_type = INTEROP_RUNTIME_UNDEFINED; + value__mask_type = runtimeType(value__mask); + valueSerializer.writeInt8(value__mask_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__mask_type)) { + const auto value__mask_value = value__mask.value; + valueSerializer.writeBoolean(value__mask_value); } - } - void writePasswordIcon(Ark_PasswordIcon value) - { - Serializer& valueSerializer = *this; - const auto value_onIconSrc = value.onIconSrc; - Ark_Int32 value_onIconSrc_type = INTEROP_RUNTIME_UNDEFINED; - value_onIconSrc_type = runtimeType(value_onIconSrc); - valueSerializer.writeInt8(value_onIconSrc_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onIconSrc_type)) { - const auto value_onIconSrc_value = value_onIconSrc.value; - Ark_Int32 value_onIconSrc_value_type = INTEROP_RUNTIME_UNDEFINED; - value_onIconSrc_value_type = value_onIconSrc_value.selector; - if (value_onIconSrc_value_type == 0) { + const auto value__color = value._color; + Ark_Int32 value__color_type = INTEROP_RUNTIME_UNDEFINED; + value__color_type = runtimeType(value__color); + valueSerializer.writeInt8(value__color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__color_type)) { + const auto value__color_value = value__color.value; + Ark_Int32 value__color_value_type = INTEROP_RUNTIME_UNDEFINED; + value__color_value_type = value__color_value.selector; + if (value__color_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_onIconSrc_value_0 = value_onIconSrc_value.value0; - valueSerializer.writeString(value_onIconSrc_value_0); + const auto value__color_value_0 = value__color_value.value0; + valueSerializer.writeInt32(static_cast(value__color_value_0)); } - else if (value_onIconSrc_value_type == 1) { + else if (value__color_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_onIconSrc_value_1 = value_onIconSrc_value.value1; - valueSerializer.writeResource(value_onIconSrc_value_1); + const auto value__color_value_1 = value__color_value.value1; + valueSerializer.writeNumber(value__color_value_1); + } + else if (value__color_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value__color_value_2 = value__color_value.value2; + valueSerializer.writeString(value__color_value_2); + } + else if (value__color_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value__color_value_3 = value__color_value.value3; + valueSerializer.writeResource(value__color_value_3); } } - const auto value_offIconSrc = value.offIconSrc; - Ark_Int32 value_offIconSrc_type = INTEROP_RUNTIME_UNDEFINED; - value_offIconSrc_type = runtimeType(value_offIconSrc); - valueSerializer.writeInt8(value_offIconSrc_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offIconSrc_type)) { - const auto value_offIconSrc_value = value_offIconSrc.value; - Ark_Int32 value_offIconSrc_value_type = INTEROP_RUNTIME_UNDEFINED; - value_offIconSrc_value_type = value_offIconSrc_value.selector; - if (value_offIconSrc_value_type == 0) { + const auto value__selectedColor = value._selectedColor; + Ark_Int32 value__selectedColor_type = INTEROP_RUNTIME_UNDEFINED; + value__selectedColor_type = runtimeType(value__selectedColor); + valueSerializer.writeInt8(value__selectedColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__selectedColor_type)) { + const auto value__selectedColor_value = value__selectedColor.value; + Ark_Int32 value__selectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value__selectedColor_value_type = value__selectedColor_value.selector; + if (value__selectedColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_offIconSrc_value_0 = value_offIconSrc_value.value0; - valueSerializer.writeString(value_offIconSrc_value_0); + const auto value__selectedColor_value_0 = value__selectedColor_value.value0; + valueSerializer.writeInt32(static_cast(value__selectedColor_value_0)); } - else if (value_offIconSrc_value_type == 1) { + else if (value__selectedColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_offIconSrc_value_1 = value_offIconSrc_value.value1; - valueSerializer.writeResource(value_offIconSrc_value_1); + const auto value__selectedColor_value_1 = value__selectedColor_value.value1; + valueSerializer.writeNumber(value__selectedColor_value_1); + } + else if (value__selectedColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value__selectedColor_value_2 = value__selectedColor_value.value2; + valueSerializer.writeString(value__selectedColor_value_2); } + else if (value__selectedColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value__selectedColor_value_3 = value__selectedColor_value.value3; + valueSerializer.writeResource(value__selectedColor_value_3); + } + } + const auto value__maxDisplayCount = value._maxDisplayCount; + Ark_Int32 value__maxDisplayCount_type = INTEROP_RUNTIME_UNDEFINED; + value__maxDisplayCount_type = runtimeType(value__maxDisplayCount); + valueSerializer.writeInt8(value__maxDisplayCount_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__maxDisplayCount_type)) { + const auto value__maxDisplayCount_value = value__maxDisplayCount.value; + valueSerializer.writeNumber(value__maxDisplayCount_value); + } + const auto value__space = value._space; + Ark_Int32 value__space_type = INTEROP_RUNTIME_UNDEFINED; + value__space_type = runtimeType(value__space); + valueSerializer.writeInt8(value__space_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value__space_type)) { + const auto value__space_value = value__space.value; + valueSerializer.writeLengthMetrics(value__space_value); } } - void writePixelStretchEffectOptions(Ark_PixelStretchEffectOptions value) + void writeEdgeOutlineWidths(Ark_EdgeOutlineWidths value) { Serializer& valueSerializer = *this; const auto value_top = value.top; @@ -70897,6 +78549,30 @@ class Serializer : public SerializerBase { valueSerializer.writeResource(value_top_value_2); } } + const auto value_right = value.right; + Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; + value_right_type = runtimeType(value_right); + valueSerializer.writeInt8(value_right_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { + const auto value_right_value = value_right.value; + Ark_Int32 value_right_value_type = INTEROP_RUNTIME_UNDEFINED; + value_right_value_type = value_right_value.selector; + if (value_right_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_right_value_0 = value_right_value.value0; + valueSerializer.writeString(value_right_value_0); + } + else if (value_right_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_right_value_1 = value_right_value.value1; + valueSerializer.writeNumber(value_right_value_1); + } + else if (value_right_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_right_value_2 = value_right_value.value2; + valueSerializer.writeResource(value_right_value_2); + } + } const auto value_bottom = value.bottom; Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_bottom_type = runtimeType(value_bottom); @@ -70945,6 +78621,82 @@ class Serializer : public SerializerBase { valueSerializer.writeResource(value_left_value_2); } } + } + void writeEdges(Ark_Edges value) + { + Serializer& valueSerializer = *this; + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + Ark_Int32 value_top_value_type = INTEROP_RUNTIME_UNDEFINED; + value_top_value_type = value_top_value.selector; + if (value_top_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_top_value_0 = value_top_value.value0; + valueSerializer.writeString(value_top_value_0); + } + else if (value_top_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_top_value_1 = value_top_value.value1; + valueSerializer.writeNumber(value_top_value_1); + } + else if (value_top_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_top_value_2 = value_top_value.value2; + valueSerializer.writeResource(value_top_value_2); + } + } + const auto value_left = value.left; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; + value_left_type = runtimeType(value_left); + valueSerializer.writeInt8(value_left_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { + const auto value_left_value = value_left.value; + Ark_Int32 value_left_value_type = INTEROP_RUNTIME_UNDEFINED; + value_left_value_type = value_left_value.selector; + if (value_left_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_left_value_0 = value_left_value.value0; + valueSerializer.writeString(value_left_value_0); + } + else if (value_left_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_left_value_1 = value_left_value.value1; + valueSerializer.writeNumber(value_left_value_1); + } + else if (value_left_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_left_value_2 = value_left_value.value2; + valueSerializer.writeResource(value_left_value_2); + } + } + const auto value_bottom = value.bottom; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_type = runtimeType(value_bottom); + valueSerializer.writeInt8(value_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { + const auto value_bottom_value = value_bottom.value; + Ark_Int32 value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_value_type = value_bottom_value.selector; + if (value_bottom_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_bottom_value_0 = value_bottom_value.value0; + valueSerializer.writeString(value_bottom_value_0); + } + else if (value_bottom_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_bottom_value_1 = value_bottom_value.value1; + valueSerializer.writeNumber(value_bottom_value_1); + } + else if (value_bottom_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_bottom_value_2 = value_bottom_value.value2; + valueSerializer.writeResource(value_bottom_value_2); + } + } const auto value_right = value.right; Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; value_right_type = runtimeType(value_right); @@ -70970,1168 +78722,1001 @@ class Serializer : public SerializerBase { } } } - void writePluginComponentOptions(Ark_PluginComponentOptions value) - { - Serializer& valueSerializer = *this; - const auto value_template = value.template_; - valueSerializer.writePluginComponentTemplate(value_template); - const auto value_data = value.data; - valueSerializer.writeString(value_data); - } - void writePosition(Ark_Position value) + void writeEdgeWidths(Ark_EdgeWidths value) { Serializer& valueSerializer = *this; - const auto value_x = value.x; - Ark_Int32 value_x_type = INTEROP_RUNTIME_UNDEFINED; - value_x_type = runtimeType(value_x); - valueSerializer.writeInt8(value_x_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_x_type)) { - const auto value_x_value = value_x.value; - Ark_Int32 value_x_value_type = INTEROP_RUNTIME_UNDEFINED; - value_x_value_type = value_x_value.selector; - if (value_x_value_type == 0) { + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + Ark_Int32 value_top_value_type = INTEROP_RUNTIME_UNDEFINED; + value_top_value_type = value_top_value.selector; + if (value_top_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_x_value_0 = value_x_value.value0; - valueSerializer.writeString(value_x_value_0); + const auto value_top_value_0 = value_top_value.value0; + valueSerializer.writeString(value_top_value_0); } - else if (value_x_value_type == 1) { + else if (value_top_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_x_value_1 = value_x_value.value1; - valueSerializer.writeNumber(value_x_value_1); + const auto value_top_value_1 = value_top_value.value1; + valueSerializer.writeNumber(value_top_value_1); } - else if (value_x_value_type == 2) { + else if (value_top_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_x_value_2 = value_x_value.value2; - valueSerializer.writeResource(value_x_value_2); + const auto value_top_value_2 = value_top_value.value2; + valueSerializer.writeResource(value_top_value_2); } } - const auto value_y = value.y; - Ark_Int32 value_y_type = INTEROP_RUNTIME_UNDEFINED; - value_y_type = runtimeType(value_y); - valueSerializer.writeInt8(value_y_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_y_type)) { - const auto value_y_value = value_y.value; - Ark_Int32 value_y_value_type = INTEROP_RUNTIME_UNDEFINED; - value_y_value_type = value_y_value.selector; - if (value_y_value_type == 0) { + const auto value_right = value.right; + Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; + value_right_type = runtimeType(value_right); + valueSerializer.writeInt8(value_right_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { + const auto value_right_value = value_right.value; + Ark_Int32 value_right_value_type = INTEROP_RUNTIME_UNDEFINED; + value_right_value_type = value_right_value.selector; + if (value_right_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_y_value_0 = value_y_value.value0; - valueSerializer.writeString(value_y_value_0); + const auto value_right_value_0 = value_right_value.value0; + valueSerializer.writeString(value_right_value_0); } - else if (value_y_value_type == 1) { + else if (value_right_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_y_value_1 = value_y_value.value1; - valueSerializer.writeNumber(value_y_value_1); + const auto value_right_value_1 = value_right_value.value1; + valueSerializer.writeNumber(value_right_value_1); } - else if (value_y_value_type == 2) { + else if (value_right_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_y_value_2 = value_y_value.value2; - valueSerializer.writeResource(value_y_value_2); + const auto value_right_value_2 = value_right_value.value2; + valueSerializer.writeResource(value_right_value_2); } } - } - void writeProgressStyleOptions(Ark_ProgressStyleOptions value) - { - Serializer& valueSerializer = *this; - const auto value_enableSmoothEffect = value.enableSmoothEffect; - Ark_Int32 value_enableSmoothEffect_type = INTEROP_RUNTIME_UNDEFINED; - value_enableSmoothEffect_type = runtimeType(value_enableSmoothEffect); - valueSerializer.writeInt8(value_enableSmoothEffect_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableSmoothEffect_type)) { - const auto value_enableSmoothEffect_value = value_enableSmoothEffect.value; - valueSerializer.writeBoolean(value_enableSmoothEffect_value); - } - const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_type = runtimeType(value_strokeWidth); - valueSerializer.writeInt8(value_strokeWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { - const auto value_strokeWidth_value = value_strokeWidth.value; - Ark_Int32 value_strokeWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_value_type = value_strokeWidth_value.selector; - if (value_strokeWidth_value_type == 0) { + const auto value_bottom = value.bottom; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_type = runtimeType(value_bottom); + valueSerializer.writeInt8(value_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { + const auto value_bottom_value = value_bottom.value; + Ark_Int32 value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_value_type = value_bottom_value.selector; + if (value_bottom_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_strokeWidth_value_0 = value_strokeWidth_value.value0; - valueSerializer.writeString(value_strokeWidth_value_0); + const auto value_bottom_value_0 = value_bottom_value.value0; + valueSerializer.writeString(value_bottom_value_0); } - else if (value_strokeWidth_value_type == 1) { + else if (value_bottom_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_strokeWidth_value_1 = value_strokeWidth_value.value1; - valueSerializer.writeNumber(value_strokeWidth_value_1); + const auto value_bottom_value_1 = value_bottom_value.value1; + valueSerializer.writeNumber(value_bottom_value_1); } - else if (value_strokeWidth_value_type == 2) { + else if (value_bottom_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_strokeWidth_value_2 = value_strokeWidth_value.value2; - valueSerializer.writeResource(value_strokeWidth_value_2); + const auto value_bottom_value_2 = value_bottom_value.value2; + valueSerializer.writeResource(value_bottom_value_2); } } - const auto value_scaleCount = value.scaleCount; - Ark_Int32 value_scaleCount_type = INTEROP_RUNTIME_UNDEFINED; - value_scaleCount_type = runtimeType(value_scaleCount); - valueSerializer.writeInt8(value_scaleCount_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scaleCount_type)) { - const auto value_scaleCount_value = value_scaleCount.value; - valueSerializer.writeNumber(value_scaleCount_value); - } - const auto value_scaleWidth = value.scaleWidth; - Ark_Int32 value_scaleWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_scaleWidth_type = runtimeType(value_scaleWidth); - valueSerializer.writeInt8(value_scaleWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scaleWidth_type)) { - const auto value_scaleWidth_value = value_scaleWidth.value; - Ark_Int32 value_scaleWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_scaleWidth_value_type = value_scaleWidth_value.selector; - if (value_scaleWidth_value_type == 0) { + const auto value_left = value.left; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; + value_left_type = runtimeType(value_left); + valueSerializer.writeInt8(value_left_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { + const auto value_left_value = value_left.value; + Ark_Int32 value_left_value_type = INTEROP_RUNTIME_UNDEFINED; + value_left_value_type = value_left_value.selector; + if (value_left_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_scaleWidth_value_0 = value_scaleWidth_value.value0; - valueSerializer.writeString(value_scaleWidth_value_0); + const auto value_left_value_0 = value_left_value.value0; + valueSerializer.writeString(value_left_value_0); } - else if (value_scaleWidth_value_type == 1) { + else if (value_left_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_scaleWidth_value_1 = value_scaleWidth_value.value1; - valueSerializer.writeNumber(value_scaleWidth_value_1); + const auto value_left_value_1 = value_left_value.value1; + valueSerializer.writeNumber(value_left_value_1); } - else if (value_scaleWidth_value_type == 2) { + else if (value_left_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_scaleWidth_value_2 = value_scaleWidth_value.value2; - valueSerializer.writeResource(value_scaleWidth_value_2); + const auto value_left_value_2 = value_left_value.value2; + valueSerializer.writeResource(value_left_value_2); } } } - void writeRadioStyle(Ark_RadioStyle value) + void writeEditableTextChangeValue(Ark_EditableTextChangeValue value) { Serializer& valueSerializer = *this; - const auto value_checkedBackgroundColor = value.checkedBackgroundColor; - Ark_Int32 value_checkedBackgroundColor_type = INTEROP_RUNTIME_UNDEFINED; - value_checkedBackgroundColor_type = runtimeType(value_checkedBackgroundColor); - valueSerializer.writeInt8(value_checkedBackgroundColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_checkedBackgroundColor_type)) { - const auto value_checkedBackgroundColor_value = value_checkedBackgroundColor.value; - Ark_Int32 value_checkedBackgroundColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_checkedBackgroundColor_value_type = value_checkedBackgroundColor_value.selector; - if (value_checkedBackgroundColor_value_type == 0) { + const auto value_content = value.content; + valueSerializer.writeString(value_content); + const auto value_previewText = value.previewText; + Ark_Int32 value_previewText_type = INTEROP_RUNTIME_UNDEFINED; + value_previewText_type = runtimeType(value_previewText); + valueSerializer.writeInt8(value_previewText_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewText_type)) { + const auto value_previewText_value = value_previewText.value; + valueSerializer.writePreviewText(value_previewText_value); + } + const auto value_options = value.options; + Ark_Int32 value_options_type = INTEROP_RUNTIME_UNDEFINED; + value_options_type = runtimeType(value_options); + valueSerializer.writeInt8(value_options_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_options_type)) { + const auto value_options_value = value_options.value; + valueSerializer.writeTextChangeOptions(value_options_value); + } + } + void writeFlexOptions(Ark_FlexOptions value) + { + Serializer& valueSerializer = *this; + const auto value_direction = value.direction; + Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; + value_direction_type = runtimeType(value_direction); + valueSerializer.writeInt8(value_direction_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_direction_type)) { + const auto value_direction_value = value_direction.value; + valueSerializer.writeInt32(static_cast(value_direction_value)); + } + const auto value_wrap = value.wrap; + Ark_Int32 value_wrap_type = INTEROP_RUNTIME_UNDEFINED; + value_wrap_type = runtimeType(value_wrap); + valueSerializer.writeInt8(value_wrap_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_wrap_type)) { + const auto value_wrap_value = value_wrap.value; + valueSerializer.writeInt32(static_cast(value_wrap_value)); + } + const auto value_justifyContent = value.justifyContent; + Ark_Int32 value_justifyContent_type = INTEROP_RUNTIME_UNDEFINED; + value_justifyContent_type = runtimeType(value_justifyContent); + valueSerializer.writeInt8(value_justifyContent_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_justifyContent_type)) { + const auto value_justifyContent_value = value_justifyContent.value; + valueSerializer.writeInt32(static_cast(value_justifyContent_value)); + } + const auto value_alignItems = value.alignItems; + Ark_Int32 value_alignItems_type = INTEROP_RUNTIME_UNDEFINED; + value_alignItems_type = runtimeType(value_alignItems); + valueSerializer.writeInt8(value_alignItems_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_alignItems_type)) { + const auto value_alignItems_value = value_alignItems.value; + valueSerializer.writeInt32(static_cast(value_alignItems_value)); + } + const auto value_alignContent = value.alignContent; + Ark_Int32 value_alignContent_type = INTEROP_RUNTIME_UNDEFINED; + value_alignContent_type = runtimeType(value_alignContent); + valueSerializer.writeInt8(value_alignContent_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_alignContent_type)) { + const auto value_alignContent_value = value_alignContent.value; + valueSerializer.writeInt32(static_cast(value_alignContent_value)); + } + const auto value_space = value.space; + Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; + value_space_type = runtimeType(value_space); + valueSerializer.writeInt8(value_space_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_space_type)) { + const auto value_space_value = value_space.value; + valueSerializer.writeFlexSpaceOptions(value_space_value); + } + } + void writeFont(Ark_Font value) + { + Serializer& valueSerializer = *this; + const auto value_size = value.size; + Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; + value_size_type = runtimeType(value_size); + valueSerializer.writeInt8(value_size_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { + const auto value_size_value = value_size.value; + Ark_Int32 value_size_value_type = INTEROP_RUNTIME_UNDEFINED; + value_size_value_type = value_size_value.selector; + if (value_size_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_checkedBackgroundColor_value_0 = value_checkedBackgroundColor_value.value0; - valueSerializer.writeInt32(static_cast(value_checkedBackgroundColor_value_0)); + const auto value_size_value_0 = value_size_value.value0; + valueSerializer.writeString(value_size_value_0); } - else if (value_checkedBackgroundColor_value_type == 1) { + else if (value_size_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_checkedBackgroundColor_value_1 = value_checkedBackgroundColor_value.value1; - valueSerializer.writeNumber(value_checkedBackgroundColor_value_1); + const auto value_size_value_1 = value_size_value.value1; + valueSerializer.writeNumber(value_size_value_1); } - else if (value_checkedBackgroundColor_value_type == 2) { + else if (value_size_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_checkedBackgroundColor_value_2 = value_checkedBackgroundColor_value.value2; - valueSerializer.writeString(value_checkedBackgroundColor_value_2); - } - else if (value_checkedBackgroundColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_checkedBackgroundColor_value_3 = value_checkedBackgroundColor_value.value3; - valueSerializer.writeResource(value_checkedBackgroundColor_value_3); + const auto value_size_value_2 = value_size_value.value2; + valueSerializer.writeResource(value_size_value_2); } } - const auto value_uncheckedBorderColor = value.uncheckedBorderColor; - Ark_Int32 value_uncheckedBorderColor_type = INTEROP_RUNTIME_UNDEFINED; - value_uncheckedBorderColor_type = runtimeType(value_uncheckedBorderColor); - valueSerializer.writeInt8(value_uncheckedBorderColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_uncheckedBorderColor_type)) { - const auto value_uncheckedBorderColor_value = value_uncheckedBorderColor.value; - Ark_Int32 value_uncheckedBorderColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_uncheckedBorderColor_value_type = value_uncheckedBorderColor_value.selector; - if (value_uncheckedBorderColor_value_type == 0) { + const auto value_weight = value.weight; + Ark_Int32 value_weight_type = INTEROP_RUNTIME_UNDEFINED; + value_weight_type = runtimeType(value_weight); + valueSerializer.writeInt8(value_weight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weight_type)) { + const auto value_weight_value = value_weight.value; + Ark_Int32 value_weight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_weight_value_type = value_weight_value.selector; + if (value_weight_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_uncheckedBorderColor_value_0 = value_uncheckedBorderColor_value.value0; - valueSerializer.writeInt32(static_cast(value_uncheckedBorderColor_value_0)); + const auto value_weight_value_0 = value_weight_value.value0; + valueSerializer.writeInt32(static_cast(value_weight_value_0)); } - else if (value_uncheckedBorderColor_value_type == 1) { + else if (value_weight_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_uncheckedBorderColor_value_1 = value_uncheckedBorderColor_value.value1; - valueSerializer.writeNumber(value_uncheckedBorderColor_value_1); + const auto value_weight_value_1 = value_weight_value.value1; + valueSerializer.writeNumber(value_weight_value_1); } - else if (value_uncheckedBorderColor_value_type == 2) { + else if (value_weight_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_uncheckedBorderColor_value_2 = value_uncheckedBorderColor_value.value2; - valueSerializer.writeString(value_uncheckedBorderColor_value_2); - } - else if (value_uncheckedBorderColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_uncheckedBorderColor_value_3 = value_uncheckedBorderColor_value.value3; - valueSerializer.writeResource(value_uncheckedBorderColor_value_3); + const auto value_weight_value_2 = value_weight_value.value2; + valueSerializer.writeString(value_weight_value_2); } } - const auto value_indicatorColor = value.indicatorColor; - Ark_Int32 value_indicatorColor_type = INTEROP_RUNTIME_UNDEFINED; - value_indicatorColor_type = runtimeType(value_indicatorColor); - valueSerializer.writeInt8(value_indicatorColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_indicatorColor_type)) { - const auto value_indicatorColor_value = value_indicatorColor.value; - Ark_Int32 value_indicatorColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_indicatorColor_value_type = value_indicatorColor_value.selector; - if (value_indicatorColor_value_type == 0) { + const auto value_family = value.family; + Ark_Int32 value_family_type = INTEROP_RUNTIME_UNDEFINED; + value_family_type = runtimeType(value_family); + valueSerializer.writeInt8(value_family_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_family_type)) { + const auto value_family_value = value_family.value; + Ark_Int32 value_family_value_type = INTEROP_RUNTIME_UNDEFINED; + value_family_value_type = value_family_value.selector; + if (value_family_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_indicatorColor_value_0 = value_indicatorColor_value.value0; - valueSerializer.writeInt32(static_cast(value_indicatorColor_value_0)); + const auto value_family_value_0 = value_family_value.value0; + valueSerializer.writeString(value_family_value_0); } - else if (value_indicatorColor_value_type == 1) { + else if (value_family_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_indicatorColor_value_1 = value_indicatorColor_value.value1; - valueSerializer.writeNumber(value_indicatorColor_value_1); - } - else if (value_indicatorColor_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_indicatorColor_value_2 = value_indicatorColor_value.value2; - valueSerializer.writeString(value_indicatorColor_value_2); - } - else if (value_indicatorColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_indicatorColor_value_3 = value_indicatorColor_value.value3; - valueSerializer.writeResource(value_indicatorColor_value_3); + const auto value_family_value_1 = value_family_value.value1; + valueSerializer.writeResource(value_family_value_1); } } + const auto value_style = value.style; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; + value_style_type = runtimeType(value_style); + valueSerializer.writeInt8(value_style_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { + const auto value_style_value = value_style.value; + valueSerializer.writeInt32(static_cast(value_style_value)); + } } - void writeRectangle(Ark_Rectangle value) + void writeGaugeIndicatorOptions(Ark_GaugeIndicatorOptions value) { Serializer& valueSerializer = *this; - const auto value_x = value.x; - Ark_Int32 value_x_type = INTEROP_RUNTIME_UNDEFINED; - value_x_type = runtimeType(value_x); - valueSerializer.writeInt8(value_x_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_x_type)) { - const auto value_x_value = value_x.value; - Ark_Int32 value_x_value_type = INTEROP_RUNTIME_UNDEFINED; - value_x_value_type = value_x_value.selector; - if (value_x_value_type == 0) { + const auto value_icon = value.icon; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_type = runtimeType(value_icon); + valueSerializer.writeInt8(value_icon_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { + const auto value_icon_value = value_icon.value; + Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; + value_icon_value_type = value_icon_value.selector; + if (value_icon_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_x_value_0 = value_x_value.value0; - valueSerializer.writeString(value_x_value_0); + const auto value_icon_value_0 = value_icon_value.value0; + valueSerializer.writeString(value_icon_value_0); } - else if (value_x_value_type == 1) { + else if (value_icon_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_x_value_1 = value_x_value.value1; - valueSerializer.writeNumber(value_x_value_1); - } - else if (value_x_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_x_value_2 = value_x_value.value2; - valueSerializer.writeResource(value_x_value_2); + const auto value_icon_value_1 = value_icon_value.value1; + valueSerializer.writeResource(value_icon_value_1); } } - const auto value_y = value.y; - Ark_Int32 value_y_type = INTEROP_RUNTIME_UNDEFINED; - value_y_type = runtimeType(value_y); - valueSerializer.writeInt8(value_y_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_y_type)) { - const auto value_y_value = value_y.value; - Ark_Int32 value_y_value_type = INTEROP_RUNTIME_UNDEFINED; - value_y_value_type = value_y_value.selector; - if (value_y_value_type == 0) { + const auto value_space = value.space; + Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; + value_space_type = runtimeType(value_space); + valueSerializer.writeInt8(value_space_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_space_type)) { + const auto value_space_value = value_space.value; + Ark_Int32 value_space_value_type = INTEROP_RUNTIME_UNDEFINED; + value_space_value_type = value_space_value.selector; + if (value_space_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_y_value_0 = value_y_value.value0; - valueSerializer.writeString(value_y_value_0); + const auto value_space_value_0 = value_space_value.value0; + valueSerializer.writeString(value_space_value_0); } - else if (value_y_value_type == 1) { + else if (value_space_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_y_value_1 = value_y_value.value1; - valueSerializer.writeNumber(value_y_value_1); + const auto value_space_value_1 = value_space_value.value1; + valueSerializer.writeNumber(value_space_value_1); } - else if (value_y_value_type == 2) { + else if (value_space_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_y_value_2 = value_y_value.value2; - valueSerializer.writeResource(value_y_value_2); + const auto value_space_value_2 = value_space_value.value2; + valueSerializer.writeResource(value_space_value_2); } } - const auto value_width = value.width; - Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; - value_width_type = runtimeType(value_width); - valueSerializer.writeInt8(value_width_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { - const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_type = value_width_value.selector; - if (value_width_value_type == 0) { + } + void writeGridRowSizeOption(Ark_GridRowSizeOption value) + { + Serializer& valueSerializer = *this; + const auto value_xs = value.xs; + Ark_Int32 value_xs_type = INTEROP_RUNTIME_UNDEFINED; + value_xs_type = runtimeType(value_xs); + valueSerializer.writeInt8(value_xs_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xs_type)) { + const auto value_xs_value = value_xs.value; + Ark_Int32 value_xs_value_type = INTEROP_RUNTIME_UNDEFINED; + value_xs_value_type = value_xs_value.selector; + if (value_xs_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_width_value_0 = value_width_value.value0; - valueSerializer.writeString(value_width_value_0); + const auto value_xs_value_0 = value_xs_value.value0; + valueSerializer.writeString(value_xs_value_0); } - else if (value_width_value_type == 1) { + else if (value_xs_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_width_value_1 = value_width_value.value1; - valueSerializer.writeNumber(value_width_value_1); + const auto value_xs_value_1 = value_xs_value.value1; + valueSerializer.writeNumber(value_xs_value_1); } - else if (value_width_value_type == 2) { + else if (value_xs_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_width_value_2 = value_width_value.value2; - valueSerializer.writeResource(value_width_value_2); + const auto value_xs_value_2 = value_xs_value.value2; + valueSerializer.writeResource(value_xs_value_2); } } - const auto value_height = value.height; - Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; - value_height_type = runtimeType(value_height); - valueSerializer.writeInt8(value_height_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { - const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; - value_height_value_type = value_height_value.selector; - if (value_height_value_type == 0) { + const auto value_sm = value.sm; + Ark_Int32 value_sm_type = INTEROP_RUNTIME_UNDEFINED; + value_sm_type = runtimeType(value_sm); + valueSerializer.writeInt8(value_sm_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_sm_type)) { + const auto value_sm_value = value_sm.value; + Ark_Int32 value_sm_value_type = INTEROP_RUNTIME_UNDEFINED; + value_sm_value_type = value_sm_value.selector; + if (value_sm_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_height_value_0 = value_height_value.value0; - valueSerializer.writeString(value_height_value_0); + const auto value_sm_value_0 = value_sm_value.value0; + valueSerializer.writeString(value_sm_value_0); } - else if (value_height_value_type == 1) { + else if (value_sm_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_height_value_1 = value_height_value.value1; - valueSerializer.writeNumber(value_height_value_1); + const auto value_sm_value_1 = value_sm_value.value1; + valueSerializer.writeNumber(value_sm_value_1); } - else if (value_height_value_type == 2) { + else if (value_sm_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_height_value_2 = value_height_value.value2; - valueSerializer.writeResource(value_height_value_2); + const auto value_sm_value_2 = value_sm_value.value2; + valueSerializer.writeResource(value_sm_value_2); } } - } - void writeRectOptions(Ark_RectOptions value) - { - Serializer& valueSerializer = *this; - const auto value_width = value.width; - Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; - value_width_type = runtimeType(value_width); - valueSerializer.writeInt8(value_width_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { - const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_type = value_width_value.selector; - if (value_width_value_type == 0) { + const auto value_md = value.md; + Ark_Int32 value_md_type = INTEROP_RUNTIME_UNDEFINED; + value_md_type = runtimeType(value_md); + valueSerializer.writeInt8(value_md_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_md_type)) { + const auto value_md_value = value_md.value; + Ark_Int32 value_md_value_type = INTEROP_RUNTIME_UNDEFINED; + value_md_value_type = value_md_value.selector; + if (value_md_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_width_value_0 = value_width_value.value0; - valueSerializer.writeNumber(value_width_value_0); + const auto value_md_value_0 = value_md_value.value0; + valueSerializer.writeString(value_md_value_0); } - else if (value_width_value_type == 1) { + else if (value_md_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_width_value_1 = value_width_value.value1; - valueSerializer.writeString(value_width_value_1); - } - } - const auto value_height = value.height; - Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; - value_height_type = runtimeType(value_height); - valueSerializer.writeInt8(value_height_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { - const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; - value_height_value_type = value_height_value.selector; - if (value_height_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_height_value_0 = value_height_value.value0; - valueSerializer.writeNumber(value_height_value_0); + const auto value_md_value_1 = value_md_value.value1; + valueSerializer.writeNumber(value_md_value_1); } - else if (value_height_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_height_value_1 = value_height_value.value1; - valueSerializer.writeString(value_height_value_1); + else if (value_md_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_md_value_2 = value_md_value.value2; + valueSerializer.writeResource(value_md_value_2); } } - const auto value_radius = value.radius; - Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_type = runtimeType(value_radius); - valueSerializer.writeInt8(value_radius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { - const auto value_radius_value = value_radius.value; - Ark_Int32 value_radius_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_type = value_radius_value.selector; - if (value_radius_value_type == 0) { + const auto value_lg = value.lg; + Ark_Int32 value_lg_type = INTEROP_RUNTIME_UNDEFINED; + value_lg_type = runtimeType(value_lg); + valueSerializer.writeInt8(value_lg_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lg_type)) { + const auto value_lg_value = value_lg.value; + Ark_Int32 value_lg_value_type = INTEROP_RUNTIME_UNDEFINED; + value_lg_value_type = value_lg_value.selector; + if (value_lg_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_radius_value_0 = value_radius_value.value0; - valueSerializer.writeNumber(value_radius_value_0); + const auto value_lg_value_0 = value_lg_value.value0; + valueSerializer.writeString(value_lg_value_0); } - else if (value_radius_value_type == 1) { + else if (value_lg_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_radius_value_1 = value_radius_value.value1; - valueSerializer.writeString(value_radius_value_1); + const auto value_lg_value_1 = value_lg_value.value1; + valueSerializer.writeNumber(value_lg_value_1); } - else if (value_radius_value_type == 2) { + else if (value_lg_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_radius_value_2 = value_radius_value.value2; - valueSerializer.writeInt32(value_radius_value_2.length); - for (int i = 0; i < value_radius_value_2.length; i++) { - const Ark_Union_Number_String value_radius_value_2_element = value_radius_value_2.array[i]; - Ark_Int32 value_radius_value_2_element_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_2_element_type = value_radius_value_2_element.selector; - if (value_radius_value_2_element_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_2_element_0 = value_radius_value_2_element.value0; - valueSerializer.writeNumber(value_radius_value_2_element_0); - } - else if (value_radius_value_2_element_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_2_element_1 = value_radius_value_2_element.value1; - valueSerializer.writeString(value_radius_value_2_element_1); - } - } + const auto value_lg_value_2 = value_lg_value.value2; + valueSerializer.writeResource(value_lg_value_2); } } - } - void writeRectShapeOptions(Ark_RectShapeOptions value) - { - Serializer& valueSerializer = *this; - const auto value_width = value.width; - Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; - value_width_type = runtimeType(value_width); - valueSerializer.writeInt8(value_width_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { - const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_type = value_width_value.selector; - if (value_width_value_type == 0) { + const auto value_xl = value.xl; + Ark_Int32 value_xl_type = INTEROP_RUNTIME_UNDEFINED; + value_xl_type = runtimeType(value_xl); + valueSerializer.writeInt8(value_xl_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xl_type)) { + const auto value_xl_value = value_xl.value; + Ark_Int32 value_xl_value_type = INTEROP_RUNTIME_UNDEFINED; + value_xl_value_type = value_xl_value.selector; + if (value_xl_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_width_value_0 = value_width_value.value0; - valueSerializer.writeNumber(value_width_value_0); + const auto value_xl_value_0 = value_xl_value.value0; + valueSerializer.writeString(value_xl_value_0); } - else if (value_width_value_type == 1) { + else if (value_xl_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_width_value_1 = value_width_value.value1; - valueSerializer.writeString(value_width_value_1); - } - } - const auto value_height = value.height; - Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; - value_height_type = runtimeType(value_height); - valueSerializer.writeInt8(value_height_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { - const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; - value_height_value_type = value_height_value.selector; - if (value_height_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_height_value_0 = value_height_value.value0; - valueSerializer.writeNumber(value_height_value_0); + const auto value_xl_value_1 = value_xl_value.value1; + valueSerializer.writeNumber(value_xl_value_1); } - else if (value_height_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_height_value_1 = value_height_value.value1; - valueSerializer.writeString(value_height_value_1); + else if (value_xl_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_xl_value_2 = value_xl_value.value2; + valueSerializer.writeResource(value_xl_value_2); } } - const auto value_radius = value.radius; - Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_type = runtimeType(value_radius); - valueSerializer.writeInt8(value_radius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { - const auto value_radius_value = value_radius.value; - Ark_Int32 value_radius_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_type = value_radius_value.selector; - if (value_radius_value_type == 0) { + const auto value_xxl = value.xxl; + Ark_Int32 value_xxl_type = INTEROP_RUNTIME_UNDEFINED; + value_xxl_type = runtimeType(value_xxl); + valueSerializer.writeInt8(value_xxl_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xxl_type)) { + const auto value_xxl_value = value_xxl.value; + Ark_Int32 value_xxl_value_type = INTEROP_RUNTIME_UNDEFINED; + value_xxl_value_type = value_xxl_value.selector; + if (value_xxl_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_radius_value_0 = value_radius_value.value0; - valueSerializer.writeNumber(value_radius_value_0); + const auto value_xxl_value_0 = value_xxl_value.value0; + valueSerializer.writeString(value_xxl_value_0); } - else if (value_radius_value_type == 1) { + else if (value_xxl_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_radius_value_1 = value_radius_value.value1; - valueSerializer.writeString(value_radius_value_1); + const auto value_xxl_value_1 = value_xxl_value.value1; + valueSerializer.writeNumber(value_xxl_value_1); } - else if (value_radius_value_type == 2) { + else if (value_xxl_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_radius_value_2 = value_radius_value.value2; - valueSerializer.writeInt32(value_radius_value_2.length); - for (int i = 0; i < value_radius_value_2.length; i++) { - const Ark_Union_Number_String value_radius_value_2_element = value_radius_value_2.array[i]; - Ark_Int32 value_radius_value_2_element_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_2_element_type = value_radius_value_2_element.selector; - if (value_radius_value_2_element_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_2_element_0 = value_radius_value_2_element.value0; - valueSerializer.writeNumber(value_radius_value_2_element_0); - } - else if (value_radius_value_2_element_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_2_element_1 = value_radius_value_2_element.value1; - valueSerializer.writeString(value_radius_value_2_element_1); - } - } + const auto value_xxl_value_2 = value_xxl_value.value2; + valueSerializer.writeResource(value_xxl_value_2); } } } - void writeRefreshOptions(Ark_RefreshOptions value) + void writeGuideLinePosition(Ark_GuideLinePosition value) { Serializer& valueSerializer = *this; - const auto value_refreshing = value.refreshing; - valueSerializer.writeBoolean(value_refreshing); - const auto value_offset = value.offset; - Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_type = runtimeType(value_offset); - valueSerializer.writeInt8(value_offset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { - const auto value_offset_value = value_offset.value; - Ark_Int32 value_offset_value_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_type = value_offset_value.selector; - if (value_offset_value_type == 0) { + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + Ark_Int32 value_start_value_type = INTEROP_RUNTIME_UNDEFINED; + value_start_value_type = value_start_value.selector; + if (value_start_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_offset_value_0 = value_offset_value.value0; - valueSerializer.writeNumber(value_offset_value_0); + const auto value_start_value_0 = value_start_value.value0; + valueSerializer.writeString(value_start_value_0); } - else if (value_offset_value_type == 1) { + else if (value_start_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_offset_value_1 = value_offset_value.value1; - valueSerializer.writeString(value_offset_value_1); - } - } - const auto value_friction = value.friction; - Ark_Int32 value_friction_type = INTEROP_RUNTIME_UNDEFINED; - value_friction_type = runtimeType(value_friction); - valueSerializer.writeInt8(value_friction_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_friction_type)) { - const auto value_friction_value = value_friction.value; - Ark_Int32 value_friction_value_type = INTEROP_RUNTIME_UNDEFINED; - value_friction_value_type = value_friction_value.selector; - if (value_friction_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_friction_value_0 = value_friction_value.value0; - valueSerializer.writeNumber(value_friction_value_0); + const auto value_start_value_1 = value_start_value.value1; + valueSerializer.writeNumber(value_start_value_1); } - else if (value_friction_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_friction_value_1 = value_friction_value.value1; - valueSerializer.writeString(value_friction_value_1); + else if (value_start_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_start_value_2 = value_start_value.value2; + valueSerializer.writeResource(value_start_value_2); } } - const auto value_promptText = value.promptText; - Ark_Int32 value_promptText_type = INTEROP_RUNTIME_UNDEFINED; - value_promptText_type = runtimeType(value_promptText); - valueSerializer.writeInt8(value_promptText_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_promptText_type)) { - const auto value_promptText_value = value_promptText.value; - Ark_Int32 value_promptText_value_type = INTEROP_RUNTIME_UNDEFINED; - value_promptText_value_type = value_promptText_value.selector; - if (value_promptText_value_type == 0) { + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + Ark_Int32 value_end_value_type = INTEROP_RUNTIME_UNDEFINED; + value_end_value_type = value_end_value.selector; + if (value_end_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_promptText_value_0 = value_promptText_value.value0; - valueSerializer.writeString(value_promptText_value_0); + const auto value_end_value_0 = value_end_value.value0; + valueSerializer.writeString(value_end_value_0); } - else if (value_promptText_value_type == 1) { + else if (value_end_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_promptText_value_1 = value_promptText_value.value1; - valueSerializer.writeResource(value_promptText_value_1); + const auto value_end_value_1 = value_end_value.value1; + valueSerializer.writeNumber(value_end_value_1); + } + else if (value_end_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_end_value_2 = value_end_value.value2; + valueSerializer.writeResource(value_end_value_2); } } - const auto value_builder = value.builder; - Ark_Int32 value_builder_type = INTEROP_RUNTIME_UNDEFINED; - value_builder_type = runtimeType(value_builder); - valueSerializer.writeInt8(value_builder_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_builder_type)) { - const auto value_builder_value = value_builder.value; - valueSerializer.writeCallbackResource(value_builder_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_builder_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_builder_value.callSync)); - } - const auto value_refreshingContent = value.refreshingContent; - Ark_Int32 value_refreshingContent_type = INTEROP_RUNTIME_UNDEFINED; - value_refreshingContent_type = runtimeType(value_refreshingContent); - valueSerializer.writeInt8(value_refreshingContent_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_refreshingContent_type)) { - const auto value_refreshingContent_value = value_refreshingContent.value; - valueSerializer.writeComponentContent(value_refreshingContent_value); - } - } - void writeRenderNode(Ark_RenderNode value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); - } - void writeRestrictedWorker(Ark_RestrictedWorker value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); } - void writeRichEditorChangeValue(Ark_RichEditorChangeValue value) + void writeGuideLineStyle(Ark_GuideLineStyle value) { Serializer& valueSerializer = *this; - const auto value_rangeBefore = value.rangeBefore; - valueSerializer.writeTextRange(value_rangeBefore); - const auto value_replacedSpans = value.replacedSpans; - valueSerializer.writeInt32(value_replacedSpans.length); - for (int i = 0; i < value_replacedSpans.length; i++) { - const Ark_RichEditorTextSpanResult value_replacedSpans_element = value_replacedSpans.array[i]; - valueSerializer.writeRichEditorTextSpanResult(value_replacedSpans_element); - } - const auto value_replacedImageSpans = value.replacedImageSpans; - valueSerializer.writeInt32(value_replacedImageSpans.length); - for (int i = 0; i < value_replacedImageSpans.length; i++) { - const Ark_RichEditorImageSpanResult value_replacedImageSpans_element = value_replacedImageSpans.array[i]; - valueSerializer.writeRichEditorImageSpanResult(value_replacedImageSpans_element); - } - const auto value_replacedSymbolSpans = value.replacedSymbolSpans; - valueSerializer.writeInt32(value_replacedSymbolSpans.length); - for (int i = 0; i < value_replacedSymbolSpans.length; i++) { - const Ark_RichEditorTextSpanResult value_replacedSymbolSpans_element = value_replacedSymbolSpans.array[i]; - valueSerializer.writeRichEditorTextSpanResult(value_replacedSymbolSpans_element); - } + const auto value_id = value.id; + valueSerializer.writeString(value_id); + const auto value_direction = value.direction; + valueSerializer.writeInt32(static_cast(value_direction)); + const auto value_position = value.position; + valueSerializer.writeGuideLinePosition(value_position); } - void writeRichEditorSymbolSpanStyle(Ark_RichEditorSymbolSpanStyle value) + void writeIconOptions(Ark_IconOptions value) { Serializer& valueSerializer = *this; - const auto value_fontSize = value.fontSize; - Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; - value_fontSize_type = runtimeType(value_fontSize); - valueSerializer.writeInt8(value_fontSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { - const auto value_fontSize_value = value_fontSize.value; - Ark_Int32 value_fontSize_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontSize_value_type = value_fontSize_value.selector; - if (value_fontSize_value_type == 0) { + const auto value_size = value.size; + Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; + value_size_type = runtimeType(value_size); + valueSerializer.writeInt8(value_size_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { + const auto value_size_value = value_size.value; + Ark_Int32 value_size_value_type = INTEROP_RUNTIME_UNDEFINED; + value_size_value_type = value_size_value.selector; + if (value_size_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontSize_value_0 = value_fontSize_value.value0; - valueSerializer.writeNumber(value_fontSize_value_0); + const auto value_size_value_0 = value_size_value.value0; + valueSerializer.writeString(value_size_value_0); } - else if (value_fontSize_value_type == 1) { + else if (value_size_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontSize_value_1 = value_fontSize_value.value1; - valueSerializer.writeString(value_fontSize_value_1); + const auto value_size_value_1 = value_size_value.value1; + valueSerializer.writeNumber(value_size_value_1); } - else if (value_fontSize_value_type == 2) { + else if (value_size_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontSize_value_2 = value_fontSize_value.value2; - valueSerializer.writeResource(value_fontSize_value_2); - } - } - const auto value_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; - value_fontColor_type = runtimeType(value_fontColor); - valueSerializer.writeInt8(value_fontColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { - const auto value_fontColor_value = value_fontColor.value; - valueSerializer.writeInt32(value_fontColor_value.length); - for (int i = 0; i < value_fontColor_value.length; i++) { - const Ark_ResourceColor value_fontColor_value_element = value_fontColor_value.array[i]; - Ark_Int32 value_fontColor_value_element_type = INTEROP_RUNTIME_UNDEFINED; - value_fontColor_value_element_type = value_fontColor_value_element.selector; - if (value_fontColor_value_element_type == 0) { - valueSerializer.writeInt8(0); - const auto value_fontColor_value_element_0 = value_fontColor_value_element.value0; - valueSerializer.writeInt32(static_cast(value_fontColor_value_element_0)); - } - else if (value_fontColor_value_element_type == 1) { - valueSerializer.writeInt8(1); - const auto value_fontColor_value_element_1 = value_fontColor_value_element.value1; - valueSerializer.writeNumber(value_fontColor_value_element_1); - } - else if (value_fontColor_value_element_type == 2) { - valueSerializer.writeInt8(2); - const auto value_fontColor_value_element_2 = value_fontColor_value_element.value2; - valueSerializer.writeString(value_fontColor_value_element_2); - } - else if (value_fontColor_value_element_type == 3) { - valueSerializer.writeInt8(3); - const auto value_fontColor_value_element_3 = value_fontColor_value_element.value3; - valueSerializer.writeResource(value_fontColor_value_element_3); - } + const auto value_size_value_2 = value_size_value.value2; + valueSerializer.writeResource(value_size_value_2); } } - const auto value_fontWeight = value.fontWeight; - Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; - value_fontWeight_type = runtimeType(value_fontWeight); - valueSerializer.writeInt8(value_fontWeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { - const auto value_fontWeight_value = value_fontWeight.value; - Ark_Int32 value_fontWeight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontWeight_value_type = value_fontWeight_value.selector; - if (value_fontWeight_value_type == 0) { + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontWeight_value_0 = value_fontWeight_value.value0; - valueSerializer.writeNumber(value_fontWeight_value_0); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); } - else if (value_fontWeight_value_type == 1) { + else if (value_color_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontWeight_value_1 = value_fontWeight_value.value1; - valueSerializer.writeInt32(static_cast(value_fontWeight_value_1)); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeNumber(value_color_value_1); } - else if (value_fontWeight_value_type == 2) { + else if (value_color_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontWeight_value_2 = value_fontWeight_value.value2; - valueSerializer.writeString(value_fontWeight_value_2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeString(value_color_value_2); } - } - const auto value_effectStrategy = value.effectStrategy; - Ark_Int32 value_effectStrategy_type = INTEROP_RUNTIME_UNDEFINED; - value_effectStrategy_type = runtimeType(value_effectStrategy); - valueSerializer.writeInt8(value_effectStrategy_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_effectStrategy_type)) { - const auto value_effectStrategy_value = value_effectStrategy.value; - valueSerializer.writeInt32(static_cast(value_effectStrategy_value)); - } - const auto value_renderingStrategy = value.renderingStrategy; - Ark_Int32 value_renderingStrategy_type = INTEROP_RUNTIME_UNDEFINED; - value_renderingStrategy_type = runtimeType(value_renderingStrategy); - valueSerializer.writeInt8(value_renderingStrategy_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_renderingStrategy_type)) { - const auto value_renderingStrategy_value = value_renderingStrategy.value; - valueSerializer.writeInt32(static_cast(value_renderingStrategy_value)); - } - } - void writeRichEditorTextStyleResult(Ark_RichEditorTextStyleResult value) - { - Serializer& valueSerializer = *this; - const auto value_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; - value_fontColor_type = value_fontColor.selector; - if (value_fontColor_type == 0) { - valueSerializer.writeInt8(0); - const auto value_fontColor_0 = value_fontColor.value0; - valueSerializer.writeInt32(static_cast(value_fontColor_0)); - } - else if (value_fontColor_type == 1) { - valueSerializer.writeInt8(1); - const auto value_fontColor_1 = value_fontColor.value1; - valueSerializer.writeNumber(value_fontColor_1); - } - else if (value_fontColor_type == 2) { - valueSerializer.writeInt8(2); - const auto value_fontColor_2 = value_fontColor.value2; - valueSerializer.writeString(value_fontColor_2); - } - else if (value_fontColor_type == 3) { - valueSerializer.writeInt8(3); - const auto value_fontColor_3 = value_fontColor.value3; - valueSerializer.writeResource(value_fontColor_3); - } - const auto value_fontSize = value.fontSize; - valueSerializer.writeNumber(value_fontSize); - const auto value_fontStyle = value.fontStyle; - valueSerializer.writeInt32(static_cast(value_fontStyle)); - const auto value_fontWeight = value.fontWeight; - valueSerializer.writeNumber(value_fontWeight); - const auto value_fontFamily = value.fontFamily; - valueSerializer.writeString(value_fontFamily); - const auto value_decoration = value.decoration; - valueSerializer.writeDecorationStyleResult(value_decoration); - const auto value_textShadow = value.textShadow; - Ark_Int32 value_textShadow_type = INTEROP_RUNTIME_UNDEFINED; - value_textShadow_type = runtimeType(value_textShadow); - valueSerializer.writeInt8(value_textShadow_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_textShadow_type)) { - const auto value_textShadow_value = value_textShadow.value; - valueSerializer.writeInt32(value_textShadow_value.length); - for (int i = 0; i < value_textShadow_value.length; i++) { - const Ark_ShadowOptions value_textShadow_value_element = value_textShadow_value.array[i]; - valueSerializer.writeShadowOptions(value_textShadow_value_element); + else if (value_color_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeResource(value_color_value_3); } } - const auto value_letterSpacing = value.letterSpacing; - Ark_Int32 value_letterSpacing_type = INTEROP_RUNTIME_UNDEFINED; - value_letterSpacing_type = runtimeType(value_letterSpacing); - valueSerializer.writeInt8(value_letterSpacing_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_letterSpacing_type)) { - const auto value_letterSpacing_value = value_letterSpacing.value; - valueSerializer.writeNumber(value_letterSpacing_value); - } - const auto value_lineHeight = value.lineHeight; - Ark_Int32 value_lineHeight_type = INTEROP_RUNTIME_UNDEFINED; - value_lineHeight_type = runtimeType(value_lineHeight); - valueSerializer.writeInt8(value_lineHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_lineHeight_type)) { - const auto value_lineHeight_value = value_lineHeight.value; - valueSerializer.writeNumber(value_lineHeight_value); - } - const auto value_fontFeature = value.fontFeature; - Ark_Int32 value_fontFeature_type = INTEROP_RUNTIME_UNDEFINED; - value_fontFeature_type = runtimeType(value_fontFeature); - valueSerializer.writeInt8(value_fontFeature_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFeature_type)) { - const auto value_fontFeature_value = value_fontFeature.value; - valueSerializer.writeString(value_fontFeature_value); - } - } - void writeRichEditorUpdateSymbolSpanStyleOptions(Ark_RichEditorUpdateSymbolSpanStyleOptions value) - { - Serializer& valueSerializer = *this; - const auto value_start = value.start; - Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; - value_start_type = runtimeType(value_start); - valueSerializer.writeInt8(value_start_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { - const auto value_start_value = value_start.value; - valueSerializer.writeNumber(value_start_value); - } - const auto value_end = value.end; - Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; - value_end_type = runtimeType(value_end); - valueSerializer.writeInt8(value_end_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { - const auto value_end_value = value_end.value; - valueSerializer.writeNumber(value_end_value); + const auto value_src = value.src; + Ark_Int32 value_src_type = INTEROP_RUNTIME_UNDEFINED; + value_src_type = runtimeType(value_src); + valueSerializer.writeInt8(value_src_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_src_type)) { + const auto value_src_value = value_src.value; + Ark_Int32 value_src_value_type = INTEROP_RUNTIME_UNDEFINED; + value_src_value_type = value_src_value.selector; + if (value_src_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_src_value_0 = value_src_value.value0; + valueSerializer.writeString(value_src_value_0); + } + else if (value_src_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_src_value_1 = value_src_value.value1; + valueSerializer.writeResource(value_src_value_1); + } } - const auto value_symbolStyle = value.symbolStyle; - valueSerializer.writeRichEditorSymbolSpanStyle(value_symbolStyle); } - void writeRingStyleOptions(Ark_RingStyleOptions value) + void writeIndicatorStyle(Ark_IndicatorStyle value) { Serializer& valueSerializer = *this; - const auto value_enableScanEffect = value.enableScanEffect; - Ark_Int32 value_enableScanEffect_type = INTEROP_RUNTIME_UNDEFINED; - value_enableScanEffect_type = runtimeType(value_enableScanEffect); - valueSerializer.writeInt8(value_enableScanEffect_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableScanEffect_type)) { - const auto value_enableScanEffect_value = value_enableScanEffect.value; - valueSerializer.writeBoolean(value_enableScanEffect_value); - } - const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_type = runtimeType(value_strokeWidth); - valueSerializer.writeInt8(value_strokeWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { - const auto value_strokeWidth_value = value_strokeWidth.value; - Ark_Int32 value_strokeWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_strokeWidth_value_type = value_strokeWidth_value.selector; - if (value_strokeWidth_value_type == 0) { + const auto value_height = value.height; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; + value_height_type = runtimeType(value_height); + valueSerializer.writeInt8(value_height_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { + const auto value_height_value = value_height.value; + Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; + value_height_value_type = value_height_value.selector; + if (value_height_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_strokeWidth_value_0 = value_strokeWidth_value.value0; - valueSerializer.writeString(value_strokeWidth_value_0); + const auto value_height_value_0 = value_height_value.value0; + valueSerializer.writeString(value_height_value_0); } - else if (value_strokeWidth_value_type == 1) { + else if (value_height_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_strokeWidth_value_1 = value_strokeWidth_value.value1; - valueSerializer.writeNumber(value_strokeWidth_value_1); + const auto value_height_value_1 = value_height_value.value1; + valueSerializer.writeNumber(value_height_value_1); } - else if (value_strokeWidth_value_type == 2) { + else if (value_height_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_strokeWidth_value_2 = value_strokeWidth_value.value2; - valueSerializer.writeResource(value_strokeWidth_value_2); + const auto value_height_value_2 = value_height_value.value2; + valueSerializer.writeResource(value_height_value_2); } } - const auto value_shadow = value.shadow; - Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; - value_shadow_type = runtimeType(value_shadow); - valueSerializer.writeInt8(value_shadow_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { - const auto value_shadow_value = value_shadow.value; - valueSerializer.writeBoolean(value_shadow_value); - } - const auto value_status = value.status; - Ark_Int32 value_status_type = INTEROP_RUNTIME_UNDEFINED; - value_status_type = runtimeType(value_status); - valueSerializer.writeInt8(value_status_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_status_type)) { - const auto value_status_value = value_status.value; - valueSerializer.writeInt32(static_cast(value_status_value)); - } - } - void writeSceneOptions(Ark_SceneOptions value) - { - Serializer& valueSerializer = *this; - const auto value_scene = value.scene; - Ark_Int32 value_scene_type = INTEROP_RUNTIME_UNDEFINED; - value_scene_type = runtimeType(value_scene); - valueSerializer.writeInt8(value_scene_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scene_type)) { - const auto value_scene_value = value_scene.value; - Ark_Int32 value_scene_value_type = INTEROP_RUNTIME_UNDEFINED; - value_scene_value_type = value_scene_value.selector; - if ((value_scene_value_type == 0) || (value_scene_value_type == 0)) { + const auto value_width = value.width; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; + value_width_type = runtimeType(value_width); + valueSerializer.writeInt8(value_width_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { + const auto value_width_value = value_width.value; + Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; + value_width_value_type = value_width_value.selector; + if (value_width_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_scene_value_0 = value_scene_value.value0; - Ark_Int32 value_scene_value_0_type = INTEROP_RUNTIME_UNDEFINED; - value_scene_value_0_type = value_scene_value_0.selector; - if (value_scene_value_0_type == 0) { - valueSerializer.writeInt8(0); - const auto value_scene_value_0_0 = value_scene_value_0.value0; - valueSerializer.writeString(value_scene_value_0_0); - } - else if (value_scene_value_0_type == 1) { - valueSerializer.writeInt8(1); - const auto value_scene_value_0_1 = value_scene_value_0.value1; - valueSerializer.writeResource(value_scene_value_0_1); - } + const auto value_width_value_0 = value_width_value.value0; + valueSerializer.writeString(value_width_value_0); } - else if (value_scene_value_type == 1) { + else if (value_width_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_scene_value_1 = value_scene_value.value1; - valueSerializer.writeScene(value_scene_value_1); + const auto value_width_value_1 = value_width_value.value1; + valueSerializer.writeNumber(value_width_value_1); + } + else if (value_width_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_width_value_2 = value_width_value.value2; + valueSerializer.writeResource(value_width_value_2); } } - const auto value_modelType = value.modelType; - Ark_Int32 value_modelType_type = INTEROP_RUNTIME_UNDEFINED; - value_modelType_type = runtimeType(value_modelType); - valueSerializer.writeInt8(value_modelType_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_modelType_type)) { - const auto value_modelType_value = value_modelType.value; - valueSerializer.writeInt32(static_cast(value_modelType_value)); - } - } - void writeScrollableBarModeOptions(Ark_ScrollableBarModeOptions value) - { - Serializer& valueSerializer = *this; - const auto value_margin = value.margin; - Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_type = runtimeType(value_margin); - valueSerializer.writeInt8(value_margin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { - const auto value_margin_value = value_margin.value; - Ark_Int32 value_margin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_type = value_margin_value.selector; - if (value_margin_value_type == 0) { + const auto value_borderRadius = value.borderRadius; + Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_borderRadius_type = runtimeType(value_borderRadius); + valueSerializer.writeInt8(value_borderRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { + const auto value_borderRadius_value = value_borderRadius.value; + Ark_Int32 value_borderRadius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_borderRadius_value_type = value_borderRadius_value.selector; + if (value_borderRadius_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_margin_value_0 = value_margin_value.value0; - valueSerializer.writeString(value_margin_value_0); + const auto value_borderRadius_value_0 = value_borderRadius_value.value0; + valueSerializer.writeString(value_borderRadius_value_0); } - else if (value_margin_value_type == 1) { + else if (value_borderRadius_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_margin_value_1 = value_margin_value.value1; - valueSerializer.writeNumber(value_margin_value_1); + const auto value_borderRadius_value_1 = value_borderRadius_value.value1; + valueSerializer.writeNumber(value_borderRadius_value_1); } - else if (value_margin_value_type == 2) { + else if (value_borderRadius_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_margin_value_2 = value_margin_value.value2; - valueSerializer.writeResource(value_margin_value_2); + const auto value_borderRadius_value_2 = value_borderRadius_value.value2; + valueSerializer.writeResource(value_borderRadius_value_2); } } - const auto value_nonScrollableLayoutStyle = value.nonScrollableLayoutStyle; - Ark_Int32 value_nonScrollableLayoutStyle_type = INTEROP_RUNTIME_UNDEFINED; - value_nonScrollableLayoutStyle_type = runtimeType(value_nonScrollableLayoutStyle); - valueSerializer.writeInt8(value_nonScrollableLayoutStyle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonScrollableLayoutStyle_type)) { - const auto value_nonScrollableLayoutStyle_value = value_nonScrollableLayoutStyle.value; - valueSerializer.writeInt32(static_cast(value_nonScrollableLayoutStyle_value)); - } - } - void writeScrollOptions(Ark_ScrollOptions value) - { - Serializer& valueSerializer = *this; - const auto value_xOffset = value.xOffset; - Ark_Int32 value_xOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_xOffset_type = value_xOffset.selector; - if (value_xOffset_type == 0) { - valueSerializer.writeInt8(0); - const auto value_xOffset_0 = value_xOffset.value0; - valueSerializer.writeNumber(value_xOffset_0); - } - else if (value_xOffset_type == 1) { - valueSerializer.writeInt8(1); - const auto value_xOffset_1 = value_xOffset.value1; - valueSerializer.writeString(value_xOffset_1); + const auto value_marginTop = value.marginTop; + Ark_Int32 value_marginTop_type = INTEROP_RUNTIME_UNDEFINED; + value_marginTop_type = runtimeType(value_marginTop); + valueSerializer.writeInt8(value_marginTop_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_marginTop_type)) { + const auto value_marginTop_value = value_marginTop.value; + Ark_Int32 value_marginTop_value_type = INTEROP_RUNTIME_UNDEFINED; + value_marginTop_value_type = value_marginTop_value.selector; + if (value_marginTop_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_marginTop_value_0 = value_marginTop_value.value0; + valueSerializer.writeString(value_marginTop_value_0); + } + else if (value_marginTop_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_marginTop_value_1 = value_marginTop_value.value1; + valueSerializer.writeNumber(value_marginTop_value_1); + } + else if (value_marginTop_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_marginTop_value_2 = value_marginTop_value.value2; + valueSerializer.writeResource(value_marginTop_value_2); + } } - const auto value_yOffset = value.yOffset; - Ark_Int32 value_yOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_yOffset_type = value_yOffset.selector; - if (value_yOffset_type == 0) { - valueSerializer.writeInt8(0); - const auto value_yOffset_0 = value_yOffset.value0; - valueSerializer.writeNumber(value_yOffset_0); + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); + } + else if (value_color_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeNumber(value_color_value_1); + } + else if (value_color_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeString(value_color_value_2); + } + else if (value_color_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeResource(value_color_value_3); + } } - else if (value_yOffset_type == 1) { - valueSerializer.writeInt8(1); - const auto value_yOffset_1 = value_yOffset.value1; - valueSerializer.writeString(value_yOffset_1); + const auto value_selectedColor = value.selectedColor; + Ark_Int32 value_selectedColor_type = INTEROP_RUNTIME_UNDEFINED; + value_selectedColor_type = runtimeType(value_selectedColor); + valueSerializer.writeInt8(value_selectedColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selectedColor_type)) { + const auto value_selectedColor_value = value_selectedColor.value; + Ark_Int32 value_selectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_selectedColor_value_type = value_selectedColor_value.selector; + if (value_selectedColor_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_selectedColor_value_0 = value_selectedColor_value.value0; + valueSerializer.writeInt32(static_cast(value_selectedColor_value_0)); + } + else if (value_selectedColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_selectedColor_value_1 = value_selectedColor_value.value1; + valueSerializer.writeNumber(value_selectedColor_value_1); + } + else if (value_selectedColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_selectedColor_value_2 = value_selectedColor_value.value2; + valueSerializer.writeString(value_selectedColor_value_2); + } + else if (value_selectedColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_selectedColor_value_3 = value_selectedColor_value.value3; + valueSerializer.writeResource(value_selectedColor_value_3); + } } - const auto value_animation = value.animation; - Ark_Int32 value_animation_type = INTEROP_RUNTIME_UNDEFINED; - value_animation_type = runtimeType(value_animation); - valueSerializer.writeInt8(value_animation_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_animation_type)) { - const auto value_animation_value = value_animation.value; - Ark_Int32 value_animation_value_type = INTEROP_RUNTIME_UNDEFINED; - value_animation_value_type = value_animation_value.selector; - if (value_animation_value_type == 0) { + const auto value_left = value.left; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; + value_left_type = runtimeType(value_left); + valueSerializer.writeInt8(value_left_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { + const auto value_left_value = value_left.value; + Ark_Int32 value_left_value_type = INTEROP_RUNTIME_UNDEFINED; + value_left_value_type = value_left_value.selector; + if (value_left_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_animation_value_0 = value_animation_value.value0; - valueSerializer.writeScrollAnimationOptions(value_animation_value_0); + const auto value_left_value_0 = value_left_value.value0; + valueSerializer.writeString(value_left_value_0); } - else if (value_animation_value_type == 1) { + else if (value_left_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_animation_value_1 = value_animation_value.value1; - valueSerializer.writeBoolean(value_animation_value_1); + const auto value_left_value_1 = value_left_value.value1; + valueSerializer.writeNumber(value_left_value_1); + } + else if (value_left_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_left_value_2 = value_left_value.value2; + valueSerializer.writeResource(value_left_value_2); } } - } - void writeScrollToIndexOptions(Ark_ScrollToIndexOptions value) - { - Serializer& valueSerializer = *this; - const auto value_extraOffset = value.extraOffset; - Ark_Int32 value_extraOffset_type = INTEROP_RUNTIME_UNDEFINED; - value_extraOffset_type = runtimeType(value_extraOffset); - valueSerializer.writeInt8(value_extraOffset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_extraOffset_type)) { - const auto value_extraOffset_value = value_extraOffset.value; - valueSerializer.writeLengthMetrics(value_extraOffset_value); + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + Ark_Int32 value_top_value_type = INTEROP_RUNTIME_UNDEFINED; + value_top_value_type = value_top_value.selector; + if (value_top_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_top_value_0 = value_top_value.value0; + valueSerializer.writeString(value_top_value_0); + } + else if (value_top_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_top_value_1 = value_top_value.value1; + valueSerializer.writeNumber(value_top_value_1); + } + else if (value_top_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_top_value_2 = value_top_value.value2; + valueSerializer.writeResource(value_top_value_2); + } } - } - void writeSearchButtonOptions(Ark_SearchButtonOptions value) - { - Serializer& valueSerializer = *this; - const auto value_fontSize = value.fontSize; - Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; - value_fontSize_type = runtimeType(value_fontSize); - valueSerializer.writeInt8(value_fontSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { - const auto value_fontSize_value = value_fontSize.value; - Ark_Int32 value_fontSize_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontSize_value_type = value_fontSize_value.selector; - if (value_fontSize_value_type == 0) { + const auto value_right = value.right; + Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; + value_right_type = runtimeType(value_right); + valueSerializer.writeInt8(value_right_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { + const auto value_right_value = value_right.value; + Ark_Int32 value_right_value_type = INTEROP_RUNTIME_UNDEFINED; + value_right_value_type = value_right_value.selector; + if (value_right_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontSize_value_0 = value_fontSize_value.value0; - valueSerializer.writeString(value_fontSize_value_0); + const auto value_right_value_0 = value_right_value.value0; + valueSerializer.writeString(value_right_value_0); } - else if (value_fontSize_value_type == 1) { + else if (value_right_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontSize_value_1 = value_fontSize_value.value1; - valueSerializer.writeNumber(value_fontSize_value_1); + const auto value_right_value_1 = value_right_value.value1; + valueSerializer.writeNumber(value_right_value_1); } - else if (value_fontSize_value_type == 2) { + else if (value_right_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontSize_value_2 = value_fontSize_value.value2; - valueSerializer.writeResource(value_fontSize_value_2); + const auto value_right_value_2 = value_right_value.value2; + valueSerializer.writeResource(value_right_value_2); } } - const auto value_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; - value_fontColor_type = runtimeType(value_fontColor); - valueSerializer.writeInt8(value_fontColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { - const auto value_fontColor_value = value_fontColor.value; - Ark_Int32 value_fontColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontColor_value_type = value_fontColor_value.selector; - if (value_fontColor_value_type == 0) { + const auto value_bottom = value.bottom; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_type = runtimeType(value_bottom); + valueSerializer.writeInt8(value_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { + const auto value_bottom_value = value_bottom.value; + Ark_Int32 value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_value_type = value_bottom_value.selector; + if (value_bottom_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontColor_value_0 = value_fontColor_value.value0; - valueSerializer.writeInt32(static_cast(value_fontColor_value_0)); + const auto value_bottom_value_0 = value_bottom_value.value0; + valueSerializer.writeString(value_bottom_value_0); } - else if (value_fontColor_value_type == 1) { + else if (value_bottom_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontColor_value_1 = value_fontColor_value.value1; - valueSerializer.writeNumber(value_fontColor_value_1); + const auto value_bottom_value_1 = value_bottom_value.value1; + valueSerializer.writeNumber(value_bottom_value_1); } - else if (value_fontColor_value_type == 2) { + else if (value_bottom_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontColor_value_2 = value_fontColor_value.value2; - valueSerializer.writeString(value_fontColor_value_2); + const auto value_bottom_value_2 = value_bottom_value.value2; + valueSerializer.writeResource(value_bottom_value_2); } - else if (value_fontColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_fontColor_value_3 = value_fontColor_value.value3; - valueSerializer.writeResource(value_fontColor_value_3); + } + const auto value_size = value.size; + Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; + value_size_type = runtimeType(value_size); + valueSerializer.writeInt8(value_size_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { + const auto value_size_value = value_size.value; + Ark_Int32 value_size_value_type = INTEROP_RUNTIME_UNDEFINED; + value_size_value_type = value_size_value.selector; + if (value_size_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_size_value_0 = value_size_value.value0; + valueSerializer.writeString(value_size_value_0); + } + else if (value_size_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_size_value_1 = value_size_value.value1; + valueSerializer.writeNumber(value_size_value_1); + } + else if (value_size_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_size_value_2 = value_size_value.value2; + valueSerializer.writeResource(value_size_value_2); } } - const auto value_autoDisable = value.autoDisable; - Ark_Int32 value_autoDisable_type = INTEROP_RUNTIME_UNDEFINED; - value_autoDisable_type = runtimeType(value_autoDisable); - valueSerializer.writeInt8(value_autoDisable_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_autoDisable_type)) { - const auto value_autoDisable_value = value_autoDisable.value; - valueSerializer.writeBoolean(value_autoDisable_value); + const auto value_mask = value.mask; + Ark_Int32 value_mask_type = INTEROP_RUNTIME_UNDEFINED; + value_mask_type = runtimeType(value_mask); + valueSerializer.writeInt8(value_mask_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_mask_type)) { + const auto value_mask_value = value_mask.value; + valueSerializer.writeBoolean(value_mask_value); } } - void writeSearchOptions(Ark_SearchOptions value) + void writeLeadingMarginPlaceholder(Ark_LeadingMarginPlaceholder value) { Serializer& valueSerializer = *this; - const auto value_value = value.value; - Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; - value_value_type = runtimeType(value_value); - valueSerializer.writeInt8(value_value_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_type)) { - const auto value_value_value = value_value.value; - valueSerializer.writeString(value_value_value); + const auto value_pixelMap = value.pixelMap; + valueSerializer.writePixelMap(value_pixelMap); + const auto value_size = value.size; + const auto value_size_0 = value_size.value0; + Ark_Int32 value_size_0_type = INTEROP_RUNTIME_UNDEFINED; + value_size_0_type = value_size_0.selector; + if (value_size_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_size_0_0 = value_size_0.value0; + valueSerializer.writeString(value_size_0_0); } - const auto value_placeholder = value.placeholder; - Ark_Int32 value_placeholder_type = INTEROP_RUNTIME_UNDEFINED; - value_placeholder_type = runtimeType(value_placeholder); - valueSerializer.writeInt8(value_placeholder_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_placeholder_type)) { - const auto value_placeholder_value = value_placeholder.value; - Ark_Int32 value_placeholder_value_type = INTEROP_RUNTIME_UNDEFINED; - value_placeholder_value_type = value_placeholder_value.selector; - if (value_placeholder_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_placeholder_value_0 = value_placeholder_value.value0; - valueSerializer.writeString(value_placeholder_value_0); - } - else if (value_placeholder_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_placeholder_value_1 = value_placeholder_value.value1; - valueSerializer.writeResource(value_placeholder_value_1); - } + else if (value_size_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_size_0_1 = value_size_0.value1; + valueSerializer.writeNumber(value_size_0_1); } - const auto value_icon = value.icon; - Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_type = runtimeType(value_icon); - valueSerializer.writeInt8(value_icon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { - const auto value_icon_value = value_icon.value; - valueSerializer.writeString(value_icon_value); + else if (value_size_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_size_0_2 = value_size_0.value2; + valueSerializer.writeResource(value_size_0_2); + } + const auto value_size_1 = value_size.value1; + Ark_Int32 value_size_1_type = INTEROP_RUNTIME_UNDEFINED; + value_size_1_type = value_size_1.selector; + if (value_size_1_type == 0) { + valueSerializer.writeInt8(0); + const auto value_size_1_0 = value_size_1.value0; + valueSerializer.writeString(value_size_1_0); + } + else if (value_size_1_type == 1) { + valueSerializer.writeInt8(1); + const auto value_size_1_1 = value_size_1.value1; + valueSerializer.writeNumber(value_size_1_1); } - const auto value_controller = value.controller; - Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; - value_controller_type = runtimeType(value_controller); - valueSerializer.writeInt8(value_controller_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { - const auto value_controller_value = value_controller.value; - valueSerializer.writeSearchController(value_controller_value); + else if (value_size_1_type == 2) { + valueSerializer.writeInt8(2); + const auto value_size_1_2 = value_size_1.value2; + valueSerializer.writeResource(value_size_1_2); } } - void writeSelectOption(Ark_SelectOption value) + void writeLinearStyleOptions(Ark_LinearStyleOptions value) { Serializer& valueSerializer = *this; - const auto value_value = value.value; - Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; - value_value_type = value_value.selector; - if (value_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_value_0 = value_value.value0; - valueSerializer.writeString(value_value_0); - } - else if (value_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_value_1 = value_value.value1; - valueSerializer.writeResource(value_value_1); + const auto value_enableScanEffect = value.enableScanEffect; + Ark_Int32 value_enableScanEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_enableScanEffect_type = runtimeType(value_enableScanEffect); + valueSerializer.writeInt8(value_enableScanEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableScanEffect_type)) { + const auto value_enableScanEffect_value = value_enableScanEffect.value; + valueSerializer.writeBoolean(value_enableScanEffect_value); } - const auto value_icon = value.icon; - Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_type = runtimeType(value_icon); - valueSerializer.writeInt8(value_icon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { - const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_value_type = value_icon_value.selector; - if (value_icon_value_type == 0) { + const auto value_strokeWidth = value.strokeWidth; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_type = runtimeType(value_strokeWidth); + valueSerializer.writeInt8(value_strokeWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + const auto value_strokeWidth_value = value_strokeWidth.value; + Ark_Int32 value_strokeWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_value_type = value_strokeWidth_value.selector; + if (value_strokeWidth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_icon_value_0 = value_icon_value.value0; - valueSerializer.writeString(value_icon_value_0); + const auto value_strokeWidth_value_0 = value_strokeWidth_value.value0; + valueSerializer.writeString(value_strokeWidth_value_0); } - else if (value_icon_value_type == 1) { + else if (value_strokeWidth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_icon_value_1 = value_icon_value.value1; - valueSerializer.writeResource(value_icon_value_1); + const auto value_strokeWidth_value_1 = value_strokeWidth_value.value1; + valueSerializer.writeNumber(value_strokeWidth_value_1); + } + else if (value_strokeWidth_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_strokeWidth_value_2 = value_strokeWidth_value.value2; + valueSerializer.writeResource(value_strokeWidth_value_2); } } - const auto value_symbolIcon = value.symbolIcon; - Ark_Int32 value_symbolIcon_type = INTEROP_RUNTIME_UNDEFINED; - value_symbolIcon_type = runtimeType(value_symbolIcon); - valueSerializer.writeInt8(value_symbolIcon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolIcon_type)) { - const auto value_symbolIcon_value = value_symbolIcon.value; - valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value); + const auto value_strokeRadius = value.strokeRadius; + Ark_Int32 value_strokeRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeRadius_type = runtimeType(value_strokeRadius); + valueSerializer.writeInt8(value_strokeRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeRadius_type)) { + const auto value_strokeRadius_value = value_strokeRadius.value; + Ark_Int32 value_strokeRadius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeRadius_value_type = value_strokeRadius_value.selector; + if (value_strokeRadius_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_strokeRadius_value_0 = value_strokeRadius_value.value0; + valueSerializer.writeString(value_strokeRadius_value_0); + } + else if (value_strokeRadius_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_strokeRadius_value_1 = value_strokeRadius_value.value1; + valueSerializer.writeNumber(value_strokeRadius_value_1); + } + else if (value_strokeRadius_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_strokeRadius_value_2 = value_strokeRadius_value.value2; + valueSerializer.writeResource(value_strokeRadius_value_2); + } } } - void writeShadowOptions(Ark_ShadowOptions value) + void writeListDividerOptions(Ark_ListDividerOptions value) { Serializer& valueSerializer = *this; - const auto value_radius = value.radius; - Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_type = value_radius.selector; - if (value_radius_type == 0) { + const auto value_strokeWidth = value.strokeWidth; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_type = value_strokeWidth.selector; + if (value_strokeWidth_type == 0) { valueSerializer.writeInt8(0); - const auto value_radius_0 = value_radius.value0; - valueSerializer.writeNumber(value_radius_0); + const auto value_strokeWidth_0 = value_strokeWidth.value0; + valueSerializer.writeString(value_strokeWidth_0); } - else if (value_radius_type == 1) { + else if (value_strokeWidth_type == 1) { valueSerializer.writeInt8(1); - const auto value_radius_1 = value_radius.value1; - valueSerializer.writeResource(value_radius_1); + const auto value_strokeWidth_1 = value_strokeWidth.value1; + valueSerializer.writeNumber(value_strokeWidth_1); } - const auto value_type = value.type; - Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; - value_type_type = runtimeType(value_type); - valueSerializer.writeInt8(value_type_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_type_type)) { - const auto value_type_value = value_type.value; - valueSerializer.writeInt32(static_cast(value_type_value)); + else if (value_strokeWidth_type == 2) { + valueSerializer.writeInt8(2); + const auto value_strokeWidth_2 = value_strokeWidth.value2; + valueSerializer.writeResource(value_strokeWidth_2); } const auto value_color = value.color; Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; @@ -72149,1793 +79734,1918 @@ class Serializer : public SerializerBase { else if (value_color_value_type == 1) { valueSerializer.writeInt8(1); const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeString(value_color_value_1); + valueSerializer.writeNumber(value_color_value_1); } else if (value_color_value_type == 2) { valueSerializer.writeInt8(2); const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeResource(value_color_value_2); + valueSerializer.writeString(value_color_value_2); } else if (value_color_value_type == 3) { valueSerializer.writeInt8(3); const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeInt32(static_cast(value_color_value_3)); + valueSerializer.writeResource(value_color_value_3); } } - const auto value_offsetX = value.offsetX; - Ark_Int32 value_offsetX_type = INTEROP_RUNTIME_UNDEFINED; - value_offsetX_type = runtimeType(value_offsetX); - valueSerializer.writeInt8(value_offsetX_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetX_type)) { - const auto value_offsetX_value = value_offsetX.value; - Ark_Int32 value_offsetX_value_type = INTEROP_RUNTIME_UNDEFINED; - value_offsetX_value_type = value_offsetX_value.selector; - if (value_offsetX_value_type == 0) { + const auto value_startMargin = value.startMargin; + Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; + value_startMargin_type = runtimeType(value_startMargin); + valueSerializer.writeInt8(value_startMargin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { + const auto value_startMargin_value = value_startMargin.value; + Ark_Int32 value_startMargin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_startMargin_value_type = value_startMargin_value.selector; + if (value_startMargin_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_offsetX_value_0 = value_offsetX_value.value0; - valueSerializer.writeNumber(value_offsetX_value_0); + const auto value_startMargin_value_0 = value_startMargin_value.value0; + valueSerializer.writeString(value_startMargin_value_0); } - else if (value_offsetX_value_type == 1) { + else if (value_startMargin_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_offsetX_value_1 = value_offsetX_value.value1; - valueSerializer.writeResource(value_offsetX_value_1); + const auto value_startMargin_value_1 = value_startMargin_value.value1; + valueSerializer.writeNumber(value_startMargin_value_1); + } + else if (value_startMargin_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_startMargin_value_2 = value_startMargin_value.value2; + valueSerializer.writeResource(value_startMargin_value_2); } } - const auto value_offsetY = value.offsetY; - Ark_Int32 value_offsetY_type = INTEROP_RUNTIME_UNDEFINED; - value_offsetY_type = runtimeType(value_offsetY); - valueSerializer.writeInt8(value_offsetY_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetY_type)) { - const auto value_offsetY_value = value_offsetY.value; - Ark_Int32 value_offsetY_value_type = INTEROP_RUNTIME_UNDEFINED; - value_offsetY_value_type = value_offsetY_value.selector; - if (value_offsetY_value_type == 0) { + const auto value_endMargin = value.endMargin; + Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; + value_endMargin_type = runtimeType(value_endMargin); + valueSerializer.writeInt8(value_endMargin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { + const auto value_endMargin_value = value_endMargin.value; + Ark_Int32 value_endMargin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_endMargin_value_type = value_endMargin_value.selector; + if (value_endMargin_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_offsetY_value_0 = value_offsetY_value.value0; - valueSerializer.writeNumber(value_offsetY_value_0); + const auto value_endMargin_value_0 = value_endMargin_value.value0; + valueSerializer.writeString(value_endMargin_value_0); } - else if (value_offsetY_value_type == 1) { + else if (value_endMargin_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_offsetY_value_1 = value_offsetY_value.value1; - valueSerializer.writeResource(value_offsetY_value_1); + const auto value_endMargin_value_1 = value_endMargin_value.value1; + valueSerializer.writeNumber(value_endMargin_value_1); + } + else if (value_endMargin_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_endMargin_value_2 = value_endMargin_value.value2; + valueSerializer.writeResource(value_endMargin_value_2); } - } - const auto value_fill = value.fill; - Ark_Int32 value_fill_type = INTEROP_RUNTIME_UNDEFINED; - value_fill_type = runtimeType(value_fill); - valueSerializer.writeInt8(value_fill_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fill_type)) { - const auto value_fill_value = value_fill.value; - valueSerializer.writeBoolean(value_fill_value); } } - void writesharedTransitionOptions(Ark_sharedTransitionOptions value) + void writeMarkStyle(Ark_MarkStyle value) { Serializer& valueSerializer = *this; - const auto value_duration = value.duration; - Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; - value_duration_type = runtimeType(value_duration); - valueSerializer.writeInt8(value_duration_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_duration_type)) { - const auto value_duration_value = value_duration.value; - valueSerializer.writeNumber(value_duration_value); + const auto value_strokeColor = value.strokeColor; + Ark_Int32 value_strokeColor_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeColor_type = runtimeType(value_strokeColor); + valueSerializer.writeInt8(value_strokeColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeColor_type)) { + const auto value_strokeColor_value = value_strokeColor.value; + Ark_Int32 value_strokeColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeColor_value_type = value_strokeColor_value.selector; + if (value_strokeColor_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_strokeColor_value_0 = value_strokeColor_value.value0; + valueSerializer.writeInt32(static_cast(value_strokeColor_value_0)); + } + else if (value_strokeColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_strokeColor_value_1 = value_strokeColor_value.value1; + valueSerializer.writeNumber(value_strokeColor_value_1); + } + else if (value_strokeColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_strokeColor_value_2 = value_strokeColor_value.value2; + valueSerializer.writeString(value_strokeColor_value_2); + } + else if (value_strokeColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_strokeColor_value_3 = value_strokeColor_value.value3; + valueSerializer.writeResource(value_strokeColor_value_3); + } } - const auto value_curve = value.curve; - Ark_Int32 value_curve_type = INTEROP_RUNTIME_UNDEFINED; - value_curve_type = runtimeType(value_curve); - valueSerializer.writeInt8(value_curve_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_curve_type)) { - const auto value_curve_value = value_curve.value; - Ark_Int32 value_curve_value_type = INTEROP_RUNTIME_UNDEFINED; - value_curve_value_type = value_curve_value.selector; - if (value_curve_value_type == 0) { + const auto value_size = value.size; + Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; + value_size_type = runtimeType(value_size); + valueSerializer.writeInt8(value_size_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { + const auto value_size_value = value_size.value; + Ark_Int32 value_size_value_type = INTEROP_RUNTIME_UNDEFINED; + value_size_value_type = value_size_value.selector; + if (value_size_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_curve_value_0 = value_curve_value.value0; - valueSerializer.writeInt32(static_cast(value_curve_value_0)); + const auto value_size_value_0 = value_size_value.value0; + valueSerializer.writeString(value_size_value_0); } - else if (value_curve_value_type == 1) { + else if (value_size_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_curve_value_1 = value_curve_value.value1; - valueSerializer.writeString(value_curve_value_1); + const auto value_size_value_1 = value_size_value.value1; + valueSerializer.writeNumber(value_size_value_1); } - else if (value_curve_value_type == 2) { + else if (value_size_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_curve_value_2 = value_curve_value.value2; - valueSerializer.writeICurve(value_curve_value_2); + const auto value_size_value_2 = value_size_value.value2; + valueSerializer.writeResource(value_size_value_2); } } - const auto value_delay = value.delay; - Ark_Int32 value_delay_type = INTEROP_RUNTIME_UNDEFINED; - value_delay_type = runtimeType(value_delay); - valueSerializer.writeInt8(value_delay_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_delay_type)) { - const auto value_delay_value = value_delay.value; - valueSerializer.writeNumber(value_delay_value); + const auto value_strokeWidth = value.strokeWidth; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_type = runtimeType(value_strokeWidth); + valueSerializer.writeInt8(value_strokeWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + const auto value_strokeWidth_value = value_strokeWidth.value; + Ark_Int32 value_strokeWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_value_type = value_strokeWidth_value.selector; + if (value_strokeWidth_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_strokeWidth_value_0 = value_strokeWidth_value.value0; + valueSerializer.writeString(value_strokeWidth_value_0); + } + else if (value_strokeWidth_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_strokeWidth_value_1 = value_strokeWidth_value.value1; + valueSerializer.writeNumber(value_strokeWidth_value_1); + } + else if (value_strokeWidth_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_strokeWidth_value_2 = value_strokeWidth_value.value2; + valueSerializer.writeResource(value_strokeWidth_value_2); + } } - const auto value_motionPath = value.motionPath; - Ark_Int32 value_motionPath_type = INTEROP_RUNTIME_UNDEFINED; - value_motionPath_type = runtimeType(value_motionPath); - valueSerializer.writeInt8(value_motionPath_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_motionPath_type)) { - const auto value_motionPath_value = value_motionPath.value; - valueSerializer.writeMotionPathOptions(value_motionPath_value); + } + void writeMoreButtonOptions(Ark_MoreButtonOptions value) + { + Serializer& valueSerializer = *this; + const auto value_backgroundBlurStyle = value.backgroundBlurStyle; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); + valueSerializer.writeInt8(value_backgroundBlurStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyle_type)) { + const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; + valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); } - const auto value_zIndex = value.zIndex; - Ark_Int32 value_zIndex_type = INTEROP_RUNTIME_UNDEFINED; - value_zIndex_type = runtimeType(value_zIndex); - valueSerializer.writeInt8(value_zIndex_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_zIndex_type)) { - const auto value_zIndex_value = value_zIndex.value; - valueSerializer.writeNumber(value_zIndex_value); + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); } - const auto value_type = value.type; - Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; - value_type_type = runtimeType(value_type); - valueSerializer.writeInt8(value_type_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_type_type)) { - const auto value_type_value = value_type.value; - valueSerializer.writeInt32(static_cast(value_type_value)); + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); } } - void writeSheetInfo(Ark_SheetInfo value) + void writeNavDestinationCustomTitle(Ark_NavDestinationCustomTitle value) { Serializer& valueSerializer = *this; - const auto value_title = value.title; - Ark_Int32 value_title_type = INTEROP_RUNTIME_UNDEFINED; - value_title_type = value_title.selector; - if (value_title_type == 0) { + const auto value_builder = value.builder; + valueSerializer.writeCallbackResource(value_builder.resource); + valueSerializer.writePointer(reinterpret_cast(value_builder.call)); + valueSerializer.writePointer(reinterpret_cast(value_builder.callSync)); + const auto value_height = value.height; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; + value_height_type = value_height.selector; + if (value_height_type == 0) { valueSerializer.writeInt8(0); - const auto value_title_0 = value_title.value0; - valueSerializer.writeString(value_title_0); + const auto value_height_0 = value_height.value0; + valueSerializer.writeInt32(static_cast(value_height_0)); } - else if (value_title_type == 1) { + else if ((value_height_type == 1) || (value_height_type == 1) || (value_height_type == 1)) { valueSerializer.writeInt8(1); - const auto value_title_1 = value_title.value1; - valueSerializer.writeResource(value_title_1); - } - const auto value_icon = value.icon; - Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_type = runtimeType(value_icon); - valueSerializer.writeInt8(value_icon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { - const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_value_type = value_icon_value.selector; - if (value_icon_value_type == 0) { + const auto value_height_1 = value_height.value1; + Ark_Int32 value_height_1_type = INTEROP_RUNTIME_UNDEFINED; + value_height_1_type = value_height_1.selector; + if (value_height_1_type == 0) { valueSerializer.writeInt8(0); - const auto value_icon_value_0 = value_icon_value.value0; - valueSerializer.writeString(value_icon_value_0); + const auto value_height_1_0 = value_height_1.value0; + valueSerializer.writeString(value_height_1_0); } - else if (value_icon_value_type == 1) { + else if (value_height_1_type == 1) { valueSerializer.writeInt8(1); - const auto value_icon_value_1 = value_icon_value.value1; - valueSerializer.writeResource(value_icon_value_1); + const auto value_height_1_1 = value_height_1.value1; + valueSerializer.writeNumber(value_height_1_1); + } + else if (value_height_1_type == 2) { + valueSerializer.writeInt8(2); + const auto value_height_1_2 = value_height_1.value2; + valueSerializer.writeResource(value_height_1_2); } } - const auto value_action = value.action; - valueSerializer.writeCallbackResource(value_action.resource); - valueSerializer.writePointer(reinterpret_cast(value_action.call)); - valueSerializer.writePointer(reinterpret_cast(value_action.callSync)); } - void writeSheetTitleOptions(Ark_SheetTitleOptions value) + void writeNavigationCustomTitle(Ark_NavigationCustomTitle value) { Serializer& valueSerializer = *this; - const auto value_title = value.title; - Ark_Int32 value_title_type = INTEROP_RUNTIME_UNDEFINED; - value_title_type = value_title.selector; - if (value_title_type == 0) { + const auto value_builder = value.builder; + valueSerializer.writeCallbackResource(value_builder.resource); + valueSerializer.writePointer(reinterpret_cast(value_builder.call)); + valueSerializer.writePointer(reinterpret_cast(value_builder.callSync)); + const auto value_height = value.height; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; + value_height_type = value_height.selector; + if (value_height_type == 0) { valueSerializer.writeInt8(0); - const auto value_title_0 = value_title.value0; - valueSerializer.writeString(value_title_0); + const auto value_height_0 = value_height.value0; + valueSerializer.writeInt32(static_cast(value_height_0)); } - else if (value_title_type == 1) { + else if ((value_height_type == 1) || (value_height_type == 1) || (value_height_type == 1)) { valueSerializer.writeInt8(1); - const auto value_title_1 = value_title.value1; - valueSerializer.writeResource(value_title_1); + const auto value_height_1 = value_height.value1; + Ark_Int32 value_height_1_type = INTEROP_RUNTIME_UNDEFINED; + value_height_1_type = value_height_1.selector; + if (value_height_1_type == 0) { + valueSerializer.writeInt8(0); + const auto value_height_1_0 = value_height_1.value0; + valueSerializer.writeString(value_height_1_0); + } + else if (value_height_1_type == 1) { + valueSerializer.writeInt8(1); + const auto value_height_1_1 = value_height_1.value1; + valueSerializer.writeNumber(value_height_1_1); + } + else if (value_height_1_type == 2) { + valueSerializer.writeInt8(2); + const auto value_height_1_2 = value_height_1.value2; + valueSerializer.writeResource(value_height_1_2); + } + } + } + void writeNavigationTitleOptions(Ark_NavigationTitleOptions value) + { + Serializer& valueSerializer = *this; + const auto value_backgroundColor = value.backgroundColor; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundColor_type = runtimeType(value_backgroundColor); + valueSerializer.writeInt8(value_backgroundColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + const auto value_backgroundColor_value = value_backgroundColor.value; + Ark_Int32 value_backgroundColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundColor_value_type = value_backgroundColor_value.selector; + if (value_backgroundColor_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_backgroundColor_value_0 = value_backgroundColor_value.value0; + valueSerializer.writeInt32(static_cast(value_backgroundColor_value_0)); + } + else if (value_backgroundColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_backgroundColor_value_1 = value_backgroundColor_value.value1; + valueSerializer.writeNumber(value_backgroundColor_value_1); + } + else if (value_backgroundColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_backgroundColor_value_2 = value_backgroundColor_value.value2; + valueSerializer.writeString(value_backgroundColor_value_2); + } + else if (value_backgroundColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_backgroundColor_value_3 = value_backgroundColor_value.value3; + valueSerializer.writeResource(value_backgroundColor_value_3); + } + } + const auto value_backgroundBlurStyle = value.backgroundBlurStyle; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); + valueSerializer.writeInt8(value_backgroundBlurStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyle_type)) { + const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; + valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); + } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } + const auto value_barStyle = value.barStyle; + Ark_Int32 value_barStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_barStyle_type = runtimeType(value_barStyle); + valueSerializer.writeInt8(value_barStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_barStyle_type)) { + const auto value_barStyle_value = value_barStyle.value; + valueSerializer.writeInt32(static_cast(value_barStyle_value)); + } + const auto value_paddingStart = value.paddingStart; + Ark_Int32 value_paddingStart_type = INTEROP_RUNTIME_UNDEFINED; + value_paddingStart_type = runtimeType(value_paddingStart); + valueSerializer.writeInt8(value_paddingStart_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_paddingStart_type)) { + const auto value_paddingStart_value = value_paddingStart.value; + valueSerializer.writeLengthMetrics(value_paddingStart_value); + } + const auto value_paddingEnd = value.paddingEnd; + Ark_Int32 value_paddingEnd_type = INTEROP_RUNTIME_UNDEFINED; + value_paddingEnd_type = runtimeType(value_paddingEnd); + valueSerializer.writeInt8(value_paddingEnd_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_paddingEnd_type)) { + const auto value_paddingEnd_value = value_paddingEnd.value; + valueSerializer.writeLengthMetrics(value_paddingEnd_value); + } + const auto value_mainTitleModifier = value.mainTitleModifier; + Ark_Int32 value_mainTitleModifier_type = INTEROP_RUNTIME_UNDEFINED; + value_mainTitleModifier_type = runtimeType(value_mainTitleModifier); + valueSerializer.writeInt8(value_mainTitleModifier_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_mainTitleModifier_type)) { + const auto value_mainTitleModifier_value = value_mainTitleModifier.value; + valueSerializer.writeTextModifier(value_mainTitleModifier_value); + } + const auto value_subTitleModifier = value.subTitleModifier; + Ark_Int32 value_subTitleModifier_type = INTEROP_RUNTIME_UNDEFINED; + value_subTitleModifier_type = runtimeType(value_subTitleModifier); + valueSerializer.writeInt8(value_subTitleModifier_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_subTitleModifier_type)) { + const auto value_subTitleModifier_value = value_subTitleModifier.value; + valueSerializer.writeTextModifier(value_subTitleModifier_value); } - const auto value_subtitle = value.subtitle; - Ark_Int32 value_subtitle_type = INTEROP_RUNTIME_UNDEFINED; - value_subtitle_type = runtimeType(value_subtitle); - valueSerializer.writeInt8(value_subtitle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_subtitle_type)) { - const auto value_subtitle_value = value_subtitle.value; - Ark_Int32 value_subtitle_value_type = INTEROP_RUNTIME_UNDEFINED; - value_subtitle_value_type = value_subtitle_value.selector; - if (value_subtitle_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_subtitle_value_0 = value_subtitle_value.value0; - valueSerializer.writeString(value_subtitle_value_0); - } - else if (value_subtitle_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_subtitle_value_1 = value_subtitle_value.value1; - valueSerializer.writeResource(value_subtitle_value_1); - } + const auto value_enableHoverMode = value.enableHoverMode; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; + value_enableHoverMode_type = runtimeType(value_enableHoverMode); + valueSerializer.writeInt8(value_enableHoverMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableHoverMode_type)) { + const auto value_enableHoverMode_value = value_enableHoverMode.value; + valueSerializer.writeBoolean(value_enableHoverMode_value); } } - void writeSizeOptions(Ark_SizeOptions value) + void writeOffsetOptions(Ark_OffsetOptions value) { Serializer& valueSerializer = *this; - const auto value_width = value.width; - Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; - value_width_type = runtimeType(value_width); - valueSerializer.writeInt8(value_width_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { - const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_type = value_width_value.selector; - if (value_width_value_type == 0) { + const auto value_xOffset = value.xOffset; + Ark_Int32 value_xOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_xOffset_type = runtimeType(value_xOffset); + valueSerializer.writeInt8(value_xOffset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xOffset_type)) { + const auto value_xOffset_value = value_xOffset.value; + Ark_Int32 value_xOffset_value_type = INTEROP_RUNTIME_UNDEFINED; + value_xOffset_value_type = value_xOffset_value.selector; + if (value_xOffset_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_width_value_0 = value_width_value.value0; - valueSerializer.writeString(value_width_value_0); + const auto value_xOffset_value_0 = value_xOffset_value.value0; + valueSerializer.writeString(value_xOffset_value_0); } - else if (value_width_value_type == 1) { + else if (value_xOffset_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_width_value_1 = value_width_value.value1; - valueSerializer.writeNumber(value_width_value_1); + const auto value_xOffset_value_1 = value_xOffset_value.value1; + valueSerializer.writeNumber(value_xOffset_value_1); } - else if (value_width_value_type == 2) { + else if (value_xOffset_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_width_value_2 = value_width_value.value2; - valueSerializer.writeResource(value_width_value_2); + const auto value_xOffset_value_2 = value_xOffset_value.value2; + valueSerializer.writeResource(value_xOffset_value_2); } } - const auto value_height = value.height; - Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; - value_height_type = runtimeType(value_height); - valueSerializer.writeInt8(value_height_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { - const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; - value_height_value_type = value_height_value.selector; - if (value_height_value_type == 0) { + const auto value_yOffset = value.yOffset; + Ark_Int32 value_yOffset_type = INTEROP_RUNTIME_UNDEFINED; + value_yOffset_type = runtimeType(value_yOffset); + valueSerializer.writeInt8(value_yOffset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_yOffset_type)) { + const auto value_yOffset_value = value_yOffset.value; + Ark_Int32 value_yOffset_value_type = INTEROP_RUNTIME_UNDEFINED; + value_yOffset_value_type = value_yOffset_value.selector; + if (value_yOffset_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_height_value_0 = value_height_value.value0; - valueSerializer.writeString(value_height_value_0); + const auto value_yOffset_value_0 = value_yOffset_value.value0; + valueSerializer.writeString(value_yOffset_value_0); } - else if (value_height_value_type == 1) { + else if (value_yOffset_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_height_value_1 = value_height_value.value1; - valueSerializer.writeNumber(value_height_value_1); + const auto value_yOffset_value_1 = value_yOffset_value.value1; + valueSerializer.writeNumber(value_yOffset_value_1); } - else if (value_height_value_type == 2) { + else if (value_yOffset_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_height_value_2 = value_height_value.value2; - valueSerializer.writeResource(value_height_value_2); + const auto value_yOffset_value_2 = value_yOffset_value.value2; + valueSerializer.writeResource(value_yOffset_value_2); } } } - void writeSliderBlockStyle(Ark_SliderBlockStyle value) + void writeOutlineRadiuses(Ark_OutlineRadiuses value) { Serializer& valueSerializer = *this; - const auto value_type = value.type; - valueSerializer.writeInt32(static_cast(value_type)); - const auto value_image = value.image; - Ark_Int32 value_image_type = INTEROP_RUNTIME_UNDEFINED; - value_image_type = runtimeType(value_image); - valueSerializer.writeInt8(value_image_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_image_type)) { - const auto value_image_value = value_image.value; - Ark_Int32 value_image_value_type = INTEROP_RUNTIME_UNDEFINED; - value_image_value_type = value_image_value.selector; - if (value_image_value_type == 0) { + const auto value_topLeft = value.topLeft; + Ark_Int32 value_topLeft_type = INTEROP_RUNTIME_UNDEFINED; + value_topLeft_type = runtimeType(value_topLeft); + valueSerializer.writeInt8(value_topLeft_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_topLeft_type)) { + const auto value_topLeft_value = value_topLeft.value; + Ark_Int32 value_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; + value_topLeft_value_type = value_topLeft_value.selector; + if (value_topLeft_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_image_value_0 = value_image_value.value0; - valueSerializer.writeString(value_image_value_0); + const auto value_topLeft_value_0 = value_topLeft_value.value0; + valueSerializer.writeString(value_topLeft_value_0); } - else if (value_image_value_type == 1) { + else if (value_topLeft_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_image_value_1 = value_image_value.value1; - valueSerializer.writeResource(value_image_value_1); + const auto value_topLeft_value_1 = value_topLeft_value.value1; + valueSerializer.writeNumber(value_topLeft_value_1); + } + else if (value_topLeft_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_topLeft_value_2 = value_topLeft_value.value2; + valueSerializer.writeResource(value_topLeft_value_2); } } - const auto value_shape = value.shape; - Ark_Int32 value_shape_type = INTEROP_RUNTIME_UNDEFINED; - value_shape_type = runtimeType(value_shape); - valueSerializer.writeInt8(value_shape_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_shape_type)) { - const auto value_shape_value = value_shape.value; - valueSerializer.writeString(value_shape_value); - } - } - void writeStyledStringChangeValue(Ark_StyledStringChangeValue value) - { - Serializer& valueSerializer = *this; - const auto value_range = value.range; - valueSerializer.writeTextRange(value_range); - const auto value_replacementString = value.replacementString; - valueSerializer.writeStyledString(value_replacementString); - const auto value_previewText = value.previewText; - Ark_Int32 value_previewText_type = INTEROP_RUNTIME_UNDEFINED; - value_previewText_type = runtimeType(value_previewText); - valueSerializer.writeInt8(value_previewText_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewText_type)) { - const auto value_previewText_value = value_previewText.value; - valueSerializer.writeStyledString(value_previewText_value); - } - } - void writeSwipeActionItem(Ark_SwipeActionItem value) - { - Serializer& valueSerializer = *this; - const auto value_builder = value.builder; - Ark_Int32 value_builder_type = INTEROP_RUNTIME_UNDEFINED; - value_builder_type = runtimeType(value_builder); - valueSerializer.writeInt8(value_builder_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_builder_type)) { - const auto value_builder_value = value_builder.value; - valueSerializer.writeCallbackResource(value_builder_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_builder_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_builder_value.callSync)); - } - const auto value_actionAreaDistance = value.actionAreaDistance; - Ark_Int32 value_actionAreaDistance_type = INTEROP_RUNTIME_UNDEFINED; - value_actionAreaDistance_type = runtimeType(value_actionAreaDistance); - valueSerializer.writeInt8(value_actionAreaDistance_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_actionAreaDistance_type)) { - const auto value_actionAreaDistance_value = value_actionAreaDistance.value; - Ark_Int32 value_actionAreaDistance_value_type = INTEROP_RUNTIME_UNDEFINED; - value_actionAreaDistance_value_type = value_actionAreaDistance_value.selector; - if (value_actionAreaDistance_value_type == 0) { + const auto value_topRight = value.topRight; + Ark_Int32 value_topRight_type = INTEROP_RUNTIME_UNDEFINED; + value_topRight_type = runtimeType(value_topRight); + valueSerializer.writeInt8(value_topRight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_topRight_type)) { + const auto value_topRight_value = value_topRight.value; + Ark_Int32 value_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_topRight_value_type = value_topRight_value.selector; + if (value_topRight_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_actionAreaDistance_value_0 = value_actionAreaDistance_value.value0; - valueSerializer.writeString(value_actionAreaDistance_value_0); + const auto value_topRight_value_0 = value_topRight_value.value0; + valueSerializer.writeString(value_topRight_value_0); } - else if (value_actionAreaDistance_value_type == 1) { + else if (value_topRight_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_actionAreaDistance_value_1 = value_actionAreaDistance_value.value1; - valueSerializer.writeNumber(value_actionAreaDistance_value_1); + const auto value_topRight_value_1 = value_topRight_value.value1; + valueSerializer.writeNumber(value_topRight_value_1); } - else if (value_actionAreaDistance_value_type == 2) { + else if (value_topRight_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_actionAreaDistance_value_2 = value_actionAreaDistance_value.value2; - valueSerializer.writeResource(value_actionAreaDistance_value_2); + const auto value_topRight_value_2 = value_topRight_value.value2; + valueSerializer.writeResource(value_topRight_value_2); } } - const auto value_onAction = value.onAction; - Ark_Int32 value_onAction_type = INTEROP_RUNTIME_UNDEFINED; - value_onAction_type = runtimeType(value_onAction); - valueSerializer.writeInt8(value_onAction_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onAction_type)) { - const auto value_onAction_value = value_onAction.value; - valueSerializer.writeCallbackResource(value_onAction_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onAction_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onAction_value.callSync)); - } - const auto value_onEnterActionArea = value.onEnterActionArea; - Ark_Int32 value_onEnterActionArea_type = INTEROP_RUNTIME_UNDEFINED; - value_onEnterActionArea_type = runtimeType(value_onEnterActionArea); - valueSerializer.writeInt8(value_onEnterActionArea_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onEnterActionArea_type)) { - const auto value_onEnterActionArea_value = value_onEnterActionArea.value; - valueSerializer.writeCallbackResource(value_onEnterActionArea_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onEnterActionArea_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onEnterActionArea_value.callSync)); - } - const auto value_onExitActionArea = value.onExitActionArea; - Ark_Int32 value_onExitActionArea_type = INTEROP_RUNTIME_UNDEFINED; - value_onExitActionArea_type = runtimeType(value_onExitActionArea); - valueSerializer.writeInt8(value_onExitActionArea_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onExitActionArea_type)) { - const auto value_onExitActionArea_value = value_onExitActionArea.value; - valueSerializer.writeCallbackResource(value_onExitActionArea_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onExitActionArea_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onExitActionArea_value.callSync)); - } - const auto value_onStateChange = value.onStateChange; - Ark_Int32 value_onStateChange_type = INTEROP_RUNTIME_UNDEFINED; - value_onStateChange_type = runtimeType(value_onStateChange); - valueSerializer.writeInt8(value_onStateChange_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onStateChange_type)) { - const auto value_onStateChange_value = value_onStateChange.value; - valueSerializer.writeCallbackResource(value_onStateChange_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onStateChange_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onStateChange_value.callSync)); - } - } - void writeSwitchStyle(Ark_SwitchStyle value) - { - Serializer& valueSerializer = *this; - const auto value_pointRadius = value.pointRadius; - Ark_Int32 value_pointRadius_type = INTEROP_RUNTIME_UNDEFINED; - value_pointRadius_type = runtimeType(value_pointRadius); - valueSerializer.writeInt8(value_pointRadius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_pointRadius_type)) { - const auto value_pointRadius_value = value_pointRadius.value; - Ark_Int32 value_pointRadius_value_type = INTEROP_RUNTIME_UNDEFINED; - value_pointRadius_value_type = value_pointRadius_value.selector; - if (value_pointRadius_value_type == 0) { + const auto value_bottomLeft = value.bottomLeft; + Ark_Int32 value_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; + value_bottomLeft_type = runtimeType(value_bottomLeft); + valueSerializer.writeInt8(value_bottomLeft_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottomLeft_type)) { + const auto value_bottomLeft_value = value_bottomLeft.value; + Ark_Int32 value_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; + value_bottomLeft_value_type = value_bottomLeft_value.selector; + if (value_bottomLeft_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_pointRadius_value_0 = value_pointRadius_value.value0; - valueSerializer.writeNumber(value_pointRadius_value_0); + const auto value_bottomLeft_value_0 = value_bottomLeft_value.value0; + valueSerializer.writeString(value_bottomLeft_value_0); } - else if (value_pointRadius_value_type == 1) { + else if (value_bottomLeft_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_pointRadius_value_1 = value_pointRadius_value.value1; - valueSerializer.writeResource(value_pointRadius_value_1); + const auto value_bottomLeft_value_1 = value_bottomLeft_value.value1; + valueSerializer.writeNumber(value_bottomLeft_value_1); + } + else if (value_bottomLeft_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_bottomLeft_value_2 = value_bottomLeft_value.value2; + valueSerializer.writeResource(value_bottomLeft_value_2); } } - const auto value_unselectedColor = value.unselectedColor; - Ark_Int32 value_unselectedColor_type = INTEROP_RUNTIME_UNDEFINED; - value_unselectedColor_type = runtimeType(value_unselectedColor); - valueSerializer.writeInt8(value_unselectedColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_unselectedColor_type)) { - const auto value_unselectedColor_value = value_unselectedColor.value; - Ark_Int32 value_unselectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_unselectedColor_value_type = value_unselectedColor_value.selector; - if (value_unselectedColor_value_type == 0) { + const auto value_bottomRight = value.bottomRight; + Ark_Int32 value_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; + value_bottomRight_type = runtimeType(value_bottomRight); + valueSerializer.writeInt8(value_bottomRight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottomRight_type)) { + const auto value_bottomRight_value = value_bottomRight.value; + Ark_Int32 value_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_bottomRight_value_type = value_bottomRight_value.selector; + if (value_bottomRight_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_unselectedColor_value_0 = value_unselectedColor_value.value0; - valueSerializer.writeInt32(static_cast(value_unselectedColor_value_0)); + const auto value_bottomRight_value_0 = value_bottomRight_value.value0; + valueSerializer.writeString(value_bottomRight_value_0); } - else if (value_unselectedColor_value_type == 1) { + else if (value_bottomRight_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_unselectedColor_value_1 = value_unselectedColor_value.value1; - valueSerializer.writeNumber(value_unselectedColor_value_1); + const auto value_bottomRight_value_1 = value_bottomRight_value.value1; + valueSerializer.writeNumber(value_bottomRight_value_1); } - else if (value_unselectedColor_value_type == 2) { + else if (value_bottomRight_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_unselectedColor_value_2 = value_unselectedColor_value.value2; - valueSerializer.writeString(value_unselectedColor_value_2); - } - else if (value_unselectedColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_unselectedColor_value_3 = value_unselectedColor_value.value3; - valueSerializer.writeResource(value_unselectedColor_value_3); + const auto value_bottomRight_value_2 = value_bottomRight_value.value2; + valueSerializer.writeResource(value_bottomRight_value_2); } } - const auto value_pointColor = value.pointColor; - Ark_Int32 value_pointColor_type = INTEROP_RUNTIME_UNDEFINED; - value_pointColor_type = runtimeType(value_pointColor); - valueSerializer.writeInt8(value_pointColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_pointColor_type)) { - const auto value_pointColor_value = value_pointColor.value; - Ark_Int32 value_pointColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_pointColor_value_type = value_pointColor_value.selector; - if (value_pointColor_value_type == 0) { + } + void writePadding(Ark_Padding value) + { + Serializer& valueSerializer = *this; + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + Ark_Int32 value_top_value_type = INTEROP_RUNTIME_UNDEFINED; + value_top_value_type = value_top_value.selector; + if (value_top_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_pointColor_value_0 = value_pointColor_value.value0; - valueSerializer.writeInt32(static_cast(value_pointColor_value_0)); + const auto value_top_value_0 = value_top_value.value0; + valueSerializer.writeString(value_top_value_0); } - else if (value_pointColor_value_type == 1) { + else if (value_top_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_pointColor_value_1 = value_pointColor_value.value1; - valueSerializer.writeNumber(value_pointColor_value_1); + const auto value_top_value_1 = value_top_value.value1; + valueSerializer.writeNumber(value_top_value_1); } - else if (value_pointColor_value_type == 2) { + else if (value_top_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_pointColor_value_2 = value_pointColor_value.value2; - valueSerializer.writeString(value_pointColor_value_2); - } - else if (value_pointColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_pointColor_value_3 = value_pointColor_value.value3; - valueSerializer.writeResource(value_pointColor_value_3); + const auto value_top_value_2 = value_top_value.value2; + valueSerializer.writeResource(value_top_value_2); } } - const auto value_trackBorderRadius = value.trackBorderRadius; - Ark_Int32 value_trackBorderRadius_type = INTEROP_RUNTIME_UNDEFINED; - value_trackBorderRadius_type = runtimeType(value_trackBorderRadius); - valueSerializer.writeInt8(value_trackBorderRadius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_trackBorderRadius_type)) { - const auto value_trackBorderRadius_value = value_trackBorderRadius.value; - Ark_Int32 value_trackBorderRadius_value_type = INTEROP_RUNTIME_UNDEFINED; - value_trackBorderRadius_value_type = value_trackBorderRadius_value.selector; - if (value_trackBorderRadius_value_type == 0) { + const auto value_right = value.right; + Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; + value_right_type = runtimeType(value_right); + valueSerializer.writeInt8(value_right_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { + const auto value_right_value = value_right.value; + Ark_Int32 value_right_value_type = INTEROP_RUNTIME_UNDEFINED; + value_right_value_type = value_right_value.selector; + if (value_right_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_trackBorderRadius_value_0 = value_trackBorderRadius_value.value0; - valueSerializer.writeNumber(value_trackBorderRadius_value_0); + const auto value_right_value_0 = value_right_value.value0; + valueSerializer.writeString(value_right_value_0); } - else if (value_trackBorderRadius_value_type == 1) { + else if (value_right_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_trackBorderRadius_value_1 = value_trackBorderRadius_value.value1; - valueSerializer.writeResource(value_trackBorderRadius_value_1); + const auto value_right_value_1 = value_right_value.value1; + valueSerializer.writeNumber(value_right_value_1); + } + else if (value_right_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_right_value_2 = value_right_value.value2; + valueSerializer.writeResource(value_right_value_2); } } - } - void writeTabBarIconStyle(Ark_TabBarIconStyle value) - { - Serializer& valueSerializer = *this; - const auto value_selectedColor = value.selectedColor; - Ark_Int32 value_selectedColor_type = INTEROP_RUNTIME_UNDEFINED; - value_selectedColor_type = runtimeType(value_selectedColor); - valueSerializer.writeInt8(value_selectedColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_selectedColor_type)) { - const auto value_selectedColor_value = value_selectedColor.value; - Ark_Int32 value_selectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_selectedColor_value_type = value_selectedColor_value.selector; - if (value_selectedColor_value_type == 0) { + const auto value_bottom = value.bottom; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_type = runtimeType(value_bottom); + valueSerializer.writeInt8(value_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { + const auto value_bottom_value = value_bottom.value; + Ark_Int32 value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_value_type = value_bottom_value.selector; + if (value_bottom_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_selectedColor_value_0 = value_selectedColor_value.value0; - valueSerializer.writeInt32(static_cast(value_selectedColor_value_0)); + const auto value_bottom_value_0 = value_bottom_value.value0; + valueSerializer.writeString(value_bottom_value_0); } - else if (value_selectedColor_value_type == 1) { + else if (value_bottom_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_selectedColor_value_1 = value_selectedColor_value.value1; - valueSerializer.writeNumber(value_selectedColor_value_1); + const auto value_bottom_value_1 = value_bottom_value.value1; + valueSerializer.writeNumber(value_bottom_value_1); } - else if (value_selectedColor_value_type == 2) { + else if (value_bottom_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_selectedColor_value_2 = value_selectedColor_value.value2; - valueSerializer.writeString(value_selectedColor_value_2); - } - else if (value_selectedColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_selectedColor_value_3 = value_selectedColor_value.value3; - valueSerializer.writeResource(value_selectedColor_value_3); + const auto value_bottom_value_2 = value_bottom_value.value2; + valueSerializer.writeResource(value_bottom_value_2); } } - const auto value_unselectedColor = value.unselectedColor; - Ark_Int32 value_unselectedColor_type = INTEROP_RUNTIME_UNDEFINED; - value_unselectedColor_type = runtimeType(value_unselectedColor); - valueSerializer.writeInt8(value_unselectedColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_unselectedColor_type)) { - const auto value_unselectedColor_value = value_unselectedColor.value; - Ark_Int32 value_unselectedColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_unselectedColor_value_type = value_unselectedColor_value.selector; - if (value_unselectedColor_value_type == 0) { + const auto value_left = value.left; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; + value_left_type = runtimeType(value_left); + valueSerializer.writeInt8(value_left_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { + const auto value_left_value = value_left.value; + Ark_Int32 value_left_value_type = INTEROP_RUNTIME_UNDEFINED; + value_left_value_type = value_left_value.selector; + if (value_left_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_unselectedColor_value_0 = value_unselectedColor_value.value0; - valueSerializer.writeInt32(static_cast(value_unselectedColor_value_0)); + const auto value_left_value_0 = value_left_value.value0; + valueSerializer.writeString(value_left_value_0); } - else if (value_unselectedColor_value_type == 1) { + else if (value_left_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_unselectedColor_value_1 = value_unselectedColor_value.value1; - valueSerializer.writeNumber(value_unselectedColor_value_1); + const auto value_left_value_1 = value_left_value.value1; + valueSerializer.writeNumber(value_left_value_1); } - else if (value_unselectedColor_value_type == 2) { + else if (value_left_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_unselectedColor_value_2 = value_unselectedColor_value.value2; - valueSerializer.writeString(value_unselectedColor_value_2); - } - else if (value_unselectedColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_unselectedColor_value_3 = value_unselectedColor_value.value3; - valueSerializer.writeResource(value_unselectedColor_value_3); + const auto value_left_value_2 = value_left_value.value2; + valueSerializer.writeResource(value_left_value_2); } } } - void writeTabBarOptions(Ark_TabBarOptions value) + void writePixelStretchEffectOptions(Ark_PixelStretchEffectOptions value) { Serializer& valueSerializer = *this; - const auto value_icon = value.icon; - Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_type = runtimeType(value_icon); - valueSerializer.writeInt8(value_icon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { - const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_value_type = value_icon_value.selector; - if (value_icon_value_type == 0) { + const auto value_top = value.top; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; + value_top_type = runtimeType(value_top); + valueSerializer.writeInt8(value_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { + const auto value_top_value = value_top.value; + Ark_Int32 value_top_value_type = INTEROP_RUNTIME_UNDEFINED; + value_top_value_type = value_top_value.selector; + if (value_top_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_icon_value_0 = value_icon_value.value0; - valueSerializer.writeString(value_icon_value_0); + const auto value_top_value_0 = value_top_value.value0; + valueSerializer.writeString(value_top_value_0); } - else if (value_icon_value_type == 1) { + else if (value_top_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_icon_value_1 = value_icon_value.value1; - valueSerializer.writeResource(value_icon_value_1); + const auto value_top_value_1 = value_top_value.value1; + valueSerializer.writeNumber(value_top_value_1); + } + else if (value_top_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_top_value_2 = value_top_value.value2; + valueSerializer.writeResource(value_top_value_2); } } - const auto value_text = value.text; - Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; - value_text_type = runtimeType(value_text); - valueSerializer.writeInt8(value_text_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { - const auto value_text_value = value_text.value; - Ark_Int32 value_text_value_type = INTEROP_RUNTIME_UNDEFINED; - value_text_value_type = value_text_value.selector; - if (value_text_value_type == 0) { + const auto value_bottom = value.bottom; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_type = runtimeType(value_bottom); + valueSerializer.writeInt8(value_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { + const auto value_bottom_value = value_bottom.value; + Ark_Int32 value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; + value_bottom_value_type = value_bottom_value.selector; + if (value_bottom_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_text_value_0 = value_text_value.value0; - valueSerializer.writeString(value_text_value_0); + const auto value_bottom_value_0 = value_bottom_value.value0; + valueSerializer.writeString(value_bottom_value_0); } - else if (value_text_value_type == 1) { + else if (value_bottom_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_text_value_1 = value_text_value.value1; - valueSerializer.writeResource(value_text_value_1); + const auto value_bottom_value_1 = value_bottom_value.value1; + valueSerializer.writeNumber(value_bottom_value_1); } - } - } - void writeTerminationInfo(Ark_TerminationInfo value) - { - Serializer& valueSerializer = *this; - const auto value_code = value.code; - valueSerializer.writeNumber(value_code); - const auto value_want = value.want; - Ark_Int32 value_want_type = INTEROP_RUNTIME_UNDEFINED; - value_want_type = runtimeType(value_want); - valueSerializer.writeInt8(value_want_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_want_type)) { - const auto value_want_value = value_want.value; - valueSerializer.writeWant(value_want_value); - } - } - void writeTextAreaOptions(Ark_TextAreaOptions value) - { - Serializer& valueSerializer = *this; - const auto value_placeholder = value.placeholder; - Ark_Int32 value_placeholder_type = INTEROP_RUNTIME_UNDEFINED; - value_placeholder_type = runtimeType(value_placeholder); - valueSerializer.writeInt8(value_placeholder_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_placeholder_type)) { - const auto value_placeholder_value = value_placeholder.value; - Ark_Int32 value_placeholder_value_type = INTEROP_RUNTIME_UNDEFINED; - value_placeholder_value_type = value_placeholder_value.selector; - if (value_placeholder_value_type == 0) { + else if (value_bottom_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_bottom_value_2 = value_bottom_value.value2; + valueSerializer.writeResource(value_bottom_value_2); + } + } + const auto value_left = value.left; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; + value_left_type = runtimeType(value_left); + valueSerializer.writeInt8(value_left_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { + const auto value_left_value = value_left.value; + Ark_Int32 value_left_value_type = INTEROP_RUNTIME_UNDEFINED; + value_left_value_type = value_left_value.selector; + if (value_left_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_placeholder_value_0 = value_placeholder_value.value0; - valueSerializer.writeString(value_placeholder_value_0); + const auto value_left_value_0 = value_left_value.value0; + valueSerializer.writeString(value_left_value_0); } - else if (value_placeholder_value_type == 1) { + else if (value_left_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_placeholder_value_1 = value_placeholder_value.value1; - valueSerializer.writeResource(value_placeholder_value_1); + const auto value_left_value_1 = value_left_value.value1; + valueSerializer.writeNumber(value_left_value_1); + } + else if (value_left_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_left_value_2 = value_left_value.value2; + valueSerializer.writeResource(value_left_value_2); } } - const auto value_text = value.text; - Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; - value_text_type = runtimeType(value_text); - valueSerializer.writeInt8(value_text_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { - const auto value_text_value = value_text.value; - Ark_Int32 value_text_value_type = INTEROP_RUNTIME_UNDEFINED; - value_text_value_type = value_text_value.selector; - if (value_text_value_type == 0) { + const auto value_right = value.right; + Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; + value_right_type = runtimeType(value_right); + valueSerializer.writeInt8(value_right_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { + const auto value_right_value = value_right.value; + Ark_Int32 value_right_value_type = INTEROP_RUNTIME_UNDEFINED; + value_right_value_type = value_right_value.selector; + if (value_right_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_text_value_0 = value_text_value.value0; - valueSerializer.writeString(value_text_value_0); + const auto value_right_value_0 = value_right_value.value0; + valueSerializer.writeString(value_right_value_0); } - else if (value_text_value_type == 1) { + else if (value_right_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_text_value_1 = value_text_value.value1; - valueSerializer.writeResource(value_text_value_1); + const auto value_right_value_1 = value_right_value.value1; + valueSerializer.writeNumber(value_right_value_1); + } + else if (value_right_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_right_value_2 = value_right_value.value2; + valueSerializer.writeResource(value_right_value_2); } - } - const auto value_controller = value.controller; - Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; - value_controller_type = runtimeType(value_controller); - valueSerializer.writeInt8(value_controller_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { - const auto value_controller_value = value_controller.value; - valueSerializer.writeTextAreaController(value_controller_value); } } - void writeTextCascadePickerRangeContent(Ark_TextCascadePickerRangeContent value) + void writePointLightStyle(Ark_PointLightStyle value) { Serializer& valueSerializer = *this; - const auto value_text = value.text; - Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; - value_text_type = value_text.selector; - if (value_text_type == 0) { - valueSerializer.writeInt8(0); - const auto value_text_0 = value_text.value0; - valueSerializer.writeString(value_text_0); + const auto value_lightSource = value.lightSource; + Ark_Int32 value_lightSource_type = INTEROP_RUNTIME_UNDEFINED; + value_lightSource_type = runtimeType(value_lightSource); + valueSerializer.writeInt8(value_lightSource_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lightSource_type)) { + const auto value_lightSource_value = value_lightSource.value; + valueSerializer.writeLightSource(value_lightSource_value); } - else if (value_text_type == 1) { - valueSerializer.writeInt8(1); - const auto value_text_1 = value_text.value1; - valueSerializer.writeResource(value_text_1); + const auto value_illuminated = value.illuminated; + Ark_Int32 value_illuminated_type = INTEROP_RUNTIME_UNDEFINED; + value_illuminated_type = runtimeType(value_illuminated); + valueSerializer.writeInt8(value_illuminated_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_illuminated_type)) { + const auto value_illuminated_value = value_illuminated.value; + valueSerializer.writeInt32(static_cast(value_illuminated_value)); } - const auto value_children = value.children; - Ark_Int32 value_children_type = INTEROP_RUNTIME_UNDEFINED; - value_children_type = runtimeType(value_children); - valueSerializer.writeInt8(value_children_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_children_type)) { - const auto value_children_value = value_children.value; - valueSerializer.writeInt32(value_children_value.length); - for (int i = 0; i < value_children_value.length; i++) { - const Ark_TextCascadePickerRangeContent value_children_value_element = value_children_value.array[i]; - valueSerializer.writeTextCascadePickerRangeContent(value_children_value_element); - } + const auto value_bloom = value.bloom; + Ark_Int32 value_bloom_type = INTEROP_RUNTIME_UNDEFINED; + value_bloom_type = runtimeType(value_bloom); + valueSerializer.writeInt8(value_bloom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bloom_type)) { + const auto value_bloom_value = value_bloom.value; + valueSerializer.writeNumber(value_bloom_value); } } - void writeTextDecorationOptions(Ark_TextDecorationOptions value) + void writePosition(Ark_Position value) { Serializer& valueSerializer = *this; - const auto value_type = value.type; - valueSerializer.writeInt32(static_cast(value_type)); - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_type = value_color_value.selector; - if (value_color_value_type == 0) { + const auto value_x = value.x; + Ark_Int32 value_x_type = INTEROP_RUNTIME_UNDEFINED; + value_x_type = runtimeType(value_x); + valueSerializer.writeInt8(value_x_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_x_type)) { + const auto value_x_value = value_x.value; + Ark_Int32 value_x_value_type = INTEROP_RUNTIME_UNDEFINED; + value_x_value_type = value_x_value.selector; + if (value_x_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_color_value_0 = value_color_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0)); + const auto value_x_value_0 = value_x_value.value0; + valueSerializer.writeString(value_x_value_0); } - else if (value_color_value_type == 1) { + else if (value_x_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_color_value_1 = value_color_value.value1; - valueSerializer.writeNumber(value_color_value_1); + const auto value_x_value_1 = value_x_value.value1; + valueSerializer.writeNumber(value_x_value_1); } - else if (value_color_value_type == 2) { + else if (value_x_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_color_value_2 = value_color_value.value2; - valueSerializer.writeString(value_color_value_2); - } - else if (value_color_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_3 = value_color_value.value3; - valueSerializer.writeResource(value_color_value_3); + const auto value_x_value_2 = value_x_value.value2; + valueSerializer.writeResource(value_x_value_2); } } - const auto value_style = value.style; - Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; - value_style_type = runtimeType(value_style); - valueSerializer.writeInt8(value_style_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { - const auto value_style_value = value_style.value; - valueSerializer.writeInt32(static_cast(value_style_value)); - } - } - void writeTextInputOptions(Ark_TextInputOptions value) - { - Serializer& valueSerializer = *this; - const auto value_placeholder = value.placeholder; - Ark_Int32 value_placeholder_type = INTEROP_RUNTIME_UNDEFINED; - value_placeholder_type = runtimeType(value_placeholder); - valueSerializer.writeInt8(value_placeholder_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_placeholder_type)) { - const auto value_placeholder_value = value_placeholder.value; - Ark_Int32 value_placeholder_value_type = INTEROP_RUNTIME_UNDEFINED; - value_placeholder_value_type = value_placeholder_value.selector; - if (value_placeholder_value_type == 0) { + const auto value_y = value.y; + Ark_Int32 value_y_type = INTEROP_RUNTIME_UNDEFINED; + value_y_type = runtimeType(value_y); + valueSerializer.writeInt8(value_y_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_y_type)) { + const auto value_y_value = value_y.value; + Ark_Int32 value_y_value_type = INTEROP_RUNTIME_UNDEFINED; + value_y_value_type = value_y_value.selector; + if (value_y_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_placeholder_value_0 = value_placeholder_value.value0; - valueSerializer.writeString(value_placeholder_value_0); + const auto value_y_value_0 = value_y_value.value0; + valueSerializer.writeString(value_y_value_0); } - else if (value_placeholder_value_type == 1) { + else if (value_y_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_placeholder_value_1 = value_placeholder_value.value1; - valueSerializer.writeResource(value_placeholder_value_1); - } - } - const auto value_text = value.text; - Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; - value_text_type = runtimeType(value_text); - valueSerializer.writeInt8(value_text_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { - const auto value_text_value = value_text.value; - Ark_Int32 value_text_value_type = INTEROP_RUNTIME_UNDEFINED; - value_text_value_type = value_text_value.selector; - if (value_text_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_text_value_0 = value_text_value.value0; - valueSerializer.writeString(value_text_value_0); + const auto value_y_value_1 = value_y_value.value1; + valueSerializer.writeNumber(value_y_value_1); } - else if (value_text_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_text_value_1 = value_text_value.value1; - valueSerializer.writeResource(value_text_value_1); + else if (value_y_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_y_value_2 = value_y_value.value2; + valueSerializer.writeResource(value_y_value_2); } } - const auto value_controller = value.controller; - Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; - value_controller_type = runtimeType(value_controller); - valueSerializer.writeInt8(value_controller_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { - const auto value_controller_value = value_controller.value; - valueSerializer.writeTextInputController(value_controller_value); - } } - void writeTextMenuItem(Ark_TextMenuItem value) + void writeProgressStyleOptions(Ark_ProgressStyleOptions value) { Serializer& valueSerializer = *this; - const auto value_content = value.content; - Ark_Int32 value_content_type = INTEROP_RUNTIME_UNDEFINED; - value_content_type = value_content.selector; - if (value_content_type == 0) { - valueSerializer.writeInt8(0); - const auto value_content_0 = value_content.value0; - valueSerializer.writeString(value_content_0); - } - else if (value_content_type == 1) { - valueSerializer.writeInt8(1); - const auto value_content_1 = value_content.value1; - valueSerializer.writeResource(value_content_1); + const auto value_enableSmoothEffect = value.enableSmoothEffect; + Ark_Int32 value_enableSmoothEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_enableSmoothEffect_type = runtimeType(value_enableSmoothEffect); + valueSerializer.writeInt8(value_enableSmoothEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableSmoothEffect_type)) { + const auto value_enableSmoothEffect_value = value_enableSmoothEffect.value; + valueSerializer.writeBoolean(value_enableSmoothEffect_value); } - const auto value_icon = value.icon; - Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_type = runtimeType(value_icon); - valueSerializer.writeInt8(value_icon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { - const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_value_type = value_icon_value.selector; - if (value_icon_value_type == 0) { + const auto value_strokeWidth = value.strokeWidth; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_type = runtimeType(value_strokeWidth); + valueSerializer.writeInt8(value_strokeWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + const auto value_strokeWidth_value = value_strokeWidth.value; + Ark_Int32 value_strokeWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_value_type = value_strokeWidth_value.selector; + if (value_strokeWidth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_icon_value_0 = value_icon_value.value0; - valueSerializer.writeString(value_icon_value_0); + const auto value_strokeWidth_value_0 = value_strokeWidth_value.value0; + valueSerializer.writeString(value_strokeWidth_value_0); } - else if (value_icon_value_type == 1) { + else if (value_strokeWidth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_icon_value_1 = value_icon_value.value1; - valueSerializer.writeResource(value_icon_value_1); - } - } - const auto value_id = value.id; - valueSerializer.writeTextMenuItemId(value_id); - } - void writeTextPickerOptions(Ark_TextPickerOptions value) - { - Serializer& valueSerializer = *this; - const auto value_range = value.range; - Ark_Int32 value_range_type = INTEROP_RUNTIME_UNDEFINED; - value_range_type = value_range.selector; - if (value_range_type == 0) { - valueSerializer.writeInt8(0); - const auto value_range_0 = value_range.value0; - valueSerializer.writeInt32(value_range_0.length); - for (int i = 0; i < value_range_0.length; i++) { - const Ark_String value_range_0_element = value_range_0.array[i]; - valueSerializer.writeString(value_range_0_element); - } - } - else if (value_range_type == 1) { - valueSerializer.writeInt8(1); - const auto value_range_1 = value_range.value1; - valueSerializer.writeInt32(value_range_1.length); - for (int i = 0; i < value_range_1.length; i++) { - const Array_String value_range_1_element = value_range_1.array[i]; - valueSerializer.writeInt32(value_range_1_element.length); - for (int i = 0; i < value_range_1_element.length; i++) { - const Ark_String value_range_1_element_element = value_range_1_element.array[i]; - valueSerializer.writeString(value_range_1_element_element); - } + const auto value_strokeWidth_value_1 = value_strokeWidth_value.value1; + valueSerializer.writeNumber(value_strokeWidth_value_1); } - } - else if (value_range_type == 2) { - valueSerializer.writeInt8(2); - const auto value_range_2 = value_range.value2; - valueSerializer.writeResource(value_range_2); - } - else if (value_range_type == 3) { - valueSerializer.writeInt8(3); - const auto value_range_3 = value_range.value3; - valueSerializer.writeInt32(value_range_3.length); - for (int i = 0; i < value_range_3.length; i++) { - const Ark_TextPickerRangeContent value_range_3_element = value_range_3.array[i]; - valueSerializer.writeTextPickerRangeContent(value_range_3_element); + else if (value_strokeWidth_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_strokeWidth_value_2 = value_strokeWidth_value.value2; + valueSerializer.writeResource(value_strokeWidth_value_2); } } - else if (value_range_type == 4) { - valueSerializer.writeInt8(4); - const auto value_range_4 = value_range.value4; - valueSerializer.writeInt32(value_range_4.length); - for (int i = 0; i < value_range_4.length; i++) { - const Ark_TextCascadePickerRangeContent value_range_4_element = value_range_4.array[i]; - valueSerializer.writeTextCascadePickerRangeContent(value_range_4_element); - } + const auto value_scaleCount = value.scaleCount; + Ark_Int32 value_scaleCount_type = INTEROP_RUNTIME_UNDEFINED; + value_scaleCount_type = runtimeType(value_scaleCount); + valueSerializer.writeInt8(value_scaleCount_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scaleCount_type)) { + const auto value_scaleCount_value = value_scaleCount.value; + valueSerializer.writeNumber(value_scaleCount_value); } - const auto value_value = value.value; - Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; - value_value_type = runtimeType(value_value); - valueSerializer.writeInt8(value_value_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_type)) { - const auto value_value_value = value_value.value; - Ark_Int32 value_value_value_type = INTEROP_RUNTIME_UNDEFINED; - value_value_value_type = value_value_value.selector; - if (value_value_value_type == 0) { + const auto value_scaleWidth = value.scaleWidth; + Ark_Int32 value_scaleWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_scaleWidth_type = runtimeType(value_scaleWidth); + valueSerializer.writeInt8(value_scaleWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scaleWidth_type)) { + const auto value_scaleWidth_value = value_scaleWidth.value; + Ark_Int32 value_scaleWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_scaleWidth_value_type = value_scaleWidth_value.selector; + if (value_scaleWidth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_value_value_0 = value_value_value.value0; - valueSerializer.writeString(value_value_value_0); + const auto value_scaleWidth_value_0 = value_scaleWidth_value.value0; + valueSerializer.writeString(value_scaleWidth_value_0); } - else if (value_value_value_type == 1) { + else if (value_scaleWidth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_value_value_1 = value_value_value.value1; - valueSerializer.writeInt32(value_value_value_1.length); - for (int i = 0; i < value_value_value_1.length; i++) { - const Ark_String value_value_value_1_element = value_value_value_1.array[i]; - valueSerializer.writeString(value_value_value_1_element); - } - } - } - const auto value_selected = value.selected; - Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; - value_selected_type = runtimeType(value_selected); - valueSerializer.writeInt8(value_selected_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_selected_type)) { - const auto value_selected_value = value_selected.value; - Ark_Int32 value_selected_value_type = INTEROP_RUNTIME_UNDEFINED; - value_selected_value_type = value_selected_value.selector; - if (value_selected_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_selected_value_0 = value_selected_value.value0; - valueSerializer.writeNumber(value_selected_value_0); + const auto value_scaleWidth_value_1 = value_scaleWidth_value.value1; + valueSerializer.writeNumber(value_scaleWidth_value_1); } - else if (value_selected_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_selected_value_1 = value_selected_value.value1; - valueSerializer.writeInt32(value_selected_value_1.length); - for (int i = 0; i < value_selected_value_1.length; i++) { - const Ark_Number value_selected_value_1_element = value_selected_value_1.array[i]; - valueSerializer.writeNumber(value_selected_value_1_element); - } + else if (value_scaleWidth_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_scaleWidth_value_2 = value_scaleWidth_value.value2; + valueSerializer.writeResource(value_scaleWidth_value_2); } } } - void writeTextPickerRangeContent(Ark_TextPickerRangeContent value) + void writeRadialGradientOptions(Ark_RadialGradientOptions value) { Serializer& valueSerializer = *this; - const auto value_icon = value.icon; - Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_type = value_icon.selector; - if (value_icon_type == 0) { + const auto value_center = value.center; + const auto value_center_0 = value_center.value0; + Ark_Int32 value_center_0_type = INTEROP_RUNTIME_UNDEFINED; + value_center_0_type = value_center_0.selector; + if (value_center_0_type == 0) { valueSerializer.writeInt8(0); - const auto value_icon_0 = value_icon.value0; - valueSerializer.writeString(value_icon_0); + const auto value_center_0_0 = value_center_0.value0; + valueSerializer.writeString(value_center_0_0); } - else if (value_icon_type == 1) { + else if (value_center_0_type == 1) { valueSerializer.writeInt8(1); - const auto value_icon_1 = value_icon.value1; - valueSerializer.writeResource(value_icon_1); + const auto value_center_0_1 = value_center_0.value1; + valueSerializer.writeNumber(value_center_0_1); } - const auto value_text = value.text; - Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; - value_text_type = runtimeType(value_text); - valueSerializer.writeInt8(value_text_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { - const auto value_text_value = value_text.value; - Ark_Int32 value_text_value_type = INTEROP_RUNTIME_UNDEFINED; - value_text_value_type = value_text_value.selector; - if (value_text_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_text_value_0 = value_text_value.value0; - valueSerializer.writeString(value_text_value_0); - } - else if (value_text_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_text_value_1 = value_text_value.value1; - valueSerializer.writeResource(value_text_value_1); - } + else if (value_center_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_center_0_2 = value_center_0.value2; + valueSerializer.writeResource(value_center_0_2); } - } - void writeTextPickerResult(Ark_TextPickerResult value) - { - Serializer& valueSerializer = *this; - const auto value_value = value.value; - Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; - value_value_type = value_value.selector; - if (value_value_type == 0) { + const auto value_center_1 = value_center.value1; + Ark_Int32 value_center_1_type = INTEROP_RUNTIME_UNDEFINED; + value_center_1_type = value_center_1.selector; + if (value_center_1_type == 0) { valueSerializer.writeInt8(0); - const auto value_value_0 = value_value.value0; - valueSerializer.writeString(value_value_0); + const auto value_center_1_0 = value_center_1.value0; + valueSerializer.writeString(value_center_1_0); } - else if (value_value_type == 1) { + else if (value_center_1_type == 1) { valueSerializer.writeInt8(1); - const auto value_value_1 = value_value.value1; - valueSerializer.writeInt32(value_value_1.length); - for (int i = 0; i < value_value_1.length; i++) { - const Ark_String value_value_1_element = value_value_1.array[i]; - valueSerializer.writeString(value_value_1_element); - } + const auto value_center_1_1 = value_center_1.value1; + valueSerializer.writeNumber(value_center_1_1); } - const auto value_index = value.index; - Ark_Int32 value_index_type = INTEROP_RUNTIME_UNDEFINED; - value_index_type = value_index.selector; - if (value_index_type == 0) { + else if (value_center_1_type == 2) { + valueSerializer.writeInt8(2); + const auto value_center_1_2 = value_center_1.value2; + valueSerializer.writeResource(value_center_1_2); + } + const auto value_radius = value.radius; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_type = value_radius.selector; + if (value_radius_type == 0) { valueSerializer.writeInt8(0); - const auto value_index_0 = value_index.value0; - valueSerializer.writeNumber(value_index_0); + const auto value_radius_0 = value_radius.value0; + valueSerializer.writeString(value_radius_0); } - else if (value_index_type == 1) { + else if (value_radius_type == 1) { valueSerializer.writeInt8(1); - const auto value_index_1 = value_index.value1; - valueSerializer.writeInt32(value_index_1.length); - for (int i = 0; i < value_index_1.length; i++) { - const Ark_Number value_index_1_element = value_index_1.array[i]; - valueSerializer.writeNumber(value_index_1_element); - } + const auto value_radius_1 = value_radius.value1; + valueSerializer.writeNumber(value_radius_1); } - } - void writeTextShadow(Ark_TextShadow value) - { - Serializer& valueSerializer = *this; - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - valueSerializer.writecommon2D_Color(value_color_value); + else if (value_radius_type == 2) { + valueSerializer.writeInt8(2); + const auto value_radius_2 = value_radius.value2; + valueSerializer.writeResource(value_radius_2); } - const auto value_point = value.point; - Ark_Int32 value_point_type = INTEROP_RUNTIME_UNDEFINED; - value_point_type = runtimeType(value_point); - valueSerializer.writeInt8(value_point_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_point_type)) { - const auto value_point_value = value_point.value; - valueSerializer.writecommon2D_Point(value_point_value); + const auto value_colors = value.colors; + valueSerializer.writeInt32(value_colors.length); + for (int i = 0; i < value_colors.length; i++) { + const Ark_Tuple_ResourceColor_Number value_colors_element = value_colors.array[i]; + const auto value_colors_element_0 = value_colors_element.value0; + Ark_Int32 value_colors_element_0_type = INTEROP_RUNTIME_UNDEFINED; + value_colors_element_0_type = value_colors_element_0.selector; + if (value_colors_element_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_colors_element_0_0 = value_colors_element_0.value0; + valueSerializer.writeInt32(static_cast(value_colors_element_0_0)); + } + else if (value_colors_element_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_colors_element_0_1 = value_colors_element_0.value1; + valueSerializer.writeNumber(value_colors_element_0_1); + } + else if (value_colors_element_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_colors_element_0_2 = value_colors_element_0.value2; + valueSerializer.writeString(value_colors_element_0_2); + } + else if (value_colors_element_0_type == 3) { + valueSerializer.writeInt8(3); + const auto value_colors_element_0_3 = value_colors_element_0.value3; + valueSerializer.writeResource(value_colors_element_0_3); + } + const auto value_colors_element_1 = value_colors_element.value1; + valueSerializer.writeNumber(value_colors_element_1); } - const auto value_blurRadius = value.blurRadius; - Ark_Int32 value_blurRadius_type = INTEROP_RUNTIME_UNDEFINED; - value_blurRadius_type = runtimeType(value_blurRadius); - valueSerializer.writeInt8(value_blurRadius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_blurRadius_type)) { - const auto value_blurRadius_value = value_blurRadius.value; - valueSerializer.writeNumber(value_blurRadius_value); + const auto value_repeating = value.repeating; + Ark_Int32 value_repeating_type = INTEROP_RUNTIME_UNDEFINED; + value_repeating_type = runtimeType(value_repeating); + valueSerializer.writeInt8(value_repeating_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_repeating_type)) { + const auto value_repeating_value = value_repeating.value; + valueSerializer.writeBoolean(value_repeating_value); } } - void writeTextStyle_styled_string(Ark_TextStyle_styled_string value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); - } - void writeTextStyleInterface(Ark_TextStyleInterface value) + void writeRectangle(Ark_Rectangle value) { Serializer& valueSerializer = *this; - const auto value_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; - value_fontColor_type = runtimeType(value_fontColor); - valueSerializer.writeInt8(value_fontColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { - const auto value_fontColor_value = value_fontColor.value; - Ark_Int32 value_fontColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontColor_value_type = value_fontColor_value.selector; - if (value_fontColor_value_type == 0) { + const auto value_x = value.x; + Ark_Int32 value_x_type = INTEROP_RUNTIME_UNDEFINED; + value_x_type = runtimeType(value_x); + valueSerializer.writeInt8(value_x_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_x_type)) { + const auto value_x_value = value_x.value; + Ark_Int32 value_x_value_type = INTEROP_RUNTIME_UNDEFINED; + value_x_value_type = value_x_value.selector; + if (value_x_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontColor_value_0 = value_fontColor_value.value0; - valueSerializer.writeInt32(static_cast(value_fontColor_value_0)); + const auto value_x_value_0 = value_x_value.value0; + valueSerializer.writeString(value_x_value_0); } - else if (value_fontColor_value_type == 1) { + else if (value_x_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontColor_value_1 = value_fontColor_value.value1; - valueSerializer.writeNumber(value_fontColor_value_1); + const auto value_x_value_1 = value_x_value.value1; + valueSerializer.writeNumber(value_x_value_1); } - else if (value_fontColor_value_type == 2) { + else if (value_x_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontColor_value_2 = value_fontColor_value.value2; - valueSerializer.writeString(value_fontColor_value_2); - } - else if (value_fontColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_fontColor_value_3 = value_fontColor_value.value3; - valueSerializer.writeResource(value_fontColor_value_3); + const auto value_x_value_2 = value_x_value.value2; + valueSerializer.writeResource(value_x_value_2); } } - const auto value_fontFamily = value.fontFamily; - Ark_Int32 value_fontFamily_type = INTEROP_RUNTIME_UNDEFINED; - value_fontFamily_type = runtimeType(value_fontFamily); - valueSerializer.writeInt8(value_fontFamily_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFamily_type)) { - const auto value_fontFamily_value = value_fontFamily.value; - Ark_Int32 value_fontFamily_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontFamily_value_type = value_fontFamily_value.selector; - if (value_fontFamily_value_type == 0) { + const auto value_y = value.y; + Ark_Int32 value_y_type = INTEROP_RUNTIME_UNDEFINED; + value_y_type = runtimeType(value_y); + valueSerializer.writeInt8(value_y_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_y_type)) { + const auto value_y_value = value_y.value; + Ark_Int32 value_y_value_type = INTEROP_RUNTIME_UNDEFINED; + value_y_value_type = value_y_value.selector; + if (value_y_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontFamily_value_0 = value_fontFamily_value.value0; - valueSerializer.writeString(value_fontFamily_value_0); + const auto value_y_value_0 = value_y_value.value0; + valueSerializer.writeString(value_y_value_0); } - else if (value_fontFamily_value_type == 1) { + else if (value_y_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontFamily_value_1 = value_fontFamily_value.value1; - valueSerializer.writeResource(value_fontFamily_value_1); + const auto value_y_value_1 = value_y_value.value1; + valueSerializer.writeNumber(value_y_value_1); + } + else if (value_y_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_y_value_2 = value_y_value.value2; + valueSerializer.writeResource(value_y_value_2); } } - const auto value_fontSize = value.fontSize; - Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; - value_fontSize_type = runtimeType(value_fontSize); - valueSerializer.writeInt8(value_fontSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { - const auto value_fontSize_value = value_fontSize.value; - valueSerializer.writeLengthMetrics(value_fontSize_value); + const auto value_width = value.width; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; + value_width_type = runtimeType(value_width); + valueSerializer.writeInt8(value_width_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { + const auto value_width_value = value_width.value; + Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; + value_width_value_type = value_width_value.selector; + if (value_width_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_width_value_0 = value_width_value.value0; + valueSerializer.writeString(value_width_value_0); + } + else if (value_width_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_width_value_1 = value_width_value.value1; + valueSerializer.writeNumber(value_width_value_1); + } + else if (value_width_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_width_value_2 = value_width_value.value2; + valueSerializer.writeResource(value_width_value_2); + } } - const auto value_fontWeight = value.fontWeight; - Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; - value_fontWeight_type = runtimeType(value_fontWeight); - valueSerializer.writeInt8(value_fontWeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { - const auto value_fontWeight_value = value_fontWeight.value; - Ark_Int32 value_fontWeight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontWeight_value_type = value_fontWeight_value.selector; - if (value_fontWeight_value_type == 0) { + const auto value_height = value.height; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; + value_height_type = runtimeType(value_height); + valueSerializer.writeInt8(value_height_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { + const auto value_height_value = value_height.value; + Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; + value_height_value_type = value_height_value.selector; + if (value_height_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontWeight_value_0 = value_fontWeight_value.value0; - valueSerializer.writeNumber(value_fontWeight_value_0); + const auto value_height_value_0 = value_height_value.value0; + valueSerializer.writeString(value_height_value_0); } - else if (value_fontWeight_value_type == 1) { + else if (value_height_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontWeight_value_1 = value_fontWeight_value.value1; - valueSerializer.writeInt32(static_cast(value_fontWeight_value_1)); + const auto value_height_value_1 = value_height_value.value1; + valueSerializer.writeNumber(value_height_value_1); } - else if (value_fontWeight_value_type == 2) { + else if (value_height_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_fontWeight_value_2 = value_fontWeight_value.value2; - valueSerializer.writeString(value_fontWeight_value_2); + const auto value_height_value_2 = value_height_value.value2; + valueSerializer.writeResource(value_height_value_2); } } - const auto value_fontStyle = value.fontStyle; - Ark_Int32 value_fontStyle_type = INTEROP_RUNTIME_UNDEFINED; - value_fontStyle_type = runtimeType(value_fontStyle); - valueSerializer.writeInt8(value_fontStyle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontStyle_type)) { - const auto value_fontStyle_value = value_fontStyle.value; - valueSerializer.writeInt32(static_cast(value_fontStyle_value)); + } + void writeRenderNode(Ark_RenderNode value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } + void writeRichEditorSymbolSpanOptions(Ark_RichEditorSymbolSpanOptions value) + { + Serializer& valueSerializer = *this; + const auto value_offset = value.offset; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; + value_offset_type = runtimeType(value_offset); + valueSerializer.writeInt8(value_offset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { + const auto value_offset_value = value_offset.value; + valueSerializer.writeNumber(value_offset_value); + } + const auto value_style = value.style; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; + value_style_type = runtimeType(value_style); + valueSerializer.writeInt8(value_style_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { + const auto value_style_value = value_style.value; + valueSerializer.writeRichEditorSymbolSpanStyle(value_style_value); } } - void writeTodayStyle(Ark_TodayStyle value) + void writeRingStyleOptions(Ark_RingStyleOptions value) { Serializer& valueSerializer = *this; - const auto value_focusedDayColor = value.focusedDayColor; - Ark_Int32 value_focusedDayColor_type = INTEROP_RUNTIME_UNDEFINED; - value_focusedDayColor_type = runtimeType(value_focusedDayColor); - valueSerializer.writeInt8(value_focusedDayColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusedDayColor_type)) { - const auto value_focusedDayColor_value = value_focusedDayColor.value; - Ark_Int32 value_focusedDayColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_focusedDayColor_value_type = value_focusedDayColor_value.selector; - if (value_focusedDayColor_value_type == 0) { + const auto value_enableScanEffect = value.enableScanEffect; + Ark_Int32 value_enableScanEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_enableScanEffect_type = runtimeType(value_enableScanEffect); + valueSerializer.writeInt8(value_enableScanEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableScanEffect_type)) { + const auto value_enableScanEffect_value = value_enableScanEffect.value; + valueSerializer.writeBoolean(value_enableScanEffect_value); + } + const auto value_strokeWidth = value.strokeWidth; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_type = runtimeType(value_strokeWidth); + valueSerializer.writeInt8(value_strokeWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + const auto value_strokeWidth_value = value_strokeWidth.value; + Ark_Int32 value_strokeWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_strokeWidth_value_type = value_strokeWidth_value.selector; + if (value_strokeWidth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_focusedDayColor_value_0 = value_focusedDayColor_value.value0; - valueSerializer.writeInt32(static_cast(value_focusedDayColor_value_0)); + const auto value_strokeWidth_value_0 = value_strokeWidth_value.value0; + valueSerializer.writeString(value_strokeWidth_value_0); } - else if (value_focusedDayColor_value_type == 1) { + else if (value_strokeWidth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_focusedDayColor_value_1 = value_focusedDayColor_value.value1; - valueSerializer.writeNumber(value_focusedDayColor_value_1); + const auto value_strokeWidth_value_1 = value_strokeWidth_value.value1; + valueSerializer.writeNumber(value_strokeWidth_value_1); } - else if (value_focusedDayColor_value_type == 2) { + else if (value_strokeWidth_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_focusedDayColor_value_2 = value_focusedDayColor_value.value2; - valueSerializer.writeString(value_focusedDayColor_value_2); - } - else if (value_focusedDayColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_focusedDayColor_value_3 = value_focusedDayColor_value.value3; - valueSerializer.writeResource(value_focusedDayColor_value_3); + const auto value_strokeWidth_value_2 = value_strokeWidth_value.value2; + valueSerializer.writeResource(value_strokeWidth_value_2); } } - const auto value_focusedLunarColor = value.focusedLunarColor; - Ark_Int32 value_focusedLunarColor_type = INTEROP_RUNTIME_UNDEFINED; - value_focusedLunarColor_type = runtimeType(value_focusedLunarColor); - valueSerializer.writeInt8(value_focusedLunarColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusedLunarColor_type)) { - const auto value_focusedLunarColor_value = value_focusedLunarColor.value; - Ark_Int32 value_focusedLunarColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_focusedLunarColor_value_type = value_focusedLunarColor_value.selector; - if (value_focusedLunarColor_value_type == 0) { + const auto value_shadow = value.shadow; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; + value_shadow_type = runtimeType(value_shadow); + valueSerializer.writeInt8(value_shadow_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { + const auto value_shadow_value = value_shadow.value; + valueSerializer.writeBoolean(value_shadow_value); + } + const auto value_status = value.status; + Ark_Int32 value_status_type = INTEROP_RUNTIME_UNDEFINED; + value_status_type = runtimeType(value_status); + valueSerializer.writeInt8(value_status_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_status_type)) { + const auto value_status_value = value_status.value; + valueSerializer.writeInt32(static_cast(value_status_value)); + } + } + void writeScrollableBarModeOptions(Ark_ScrollableBarModeOptions value) + { + Serializer& valueSerializer = *this; + const auto value_margin = value.margin; + Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; + value_margin_type = runtimeType(value_margin); + valueSerializer.writeInt8(value_margin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { + const auto value_margin_value = value_margin.value; + Ark_Int32 value_margin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_margin_value_type = value_margin_value.selector; + if (value_margin_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_focusedLunarColor_value_0 = value_focusedLunarColor_value.value0; - valueSerializer.writeInt32(static_cast(value_focusedLunarColor_value_0)); + const auto value_margin_value_0 = value_margin_value.value0; + valueSerializer.writeString(value_margin_value_0); } - else if (value_focusedLunarColor_value_type == 1) { + else if (value_margin_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_focusedLunarColor_value_1 = value_focusedLunarColor_value.value1; - valueSerializer.writeNumber(value_focusedLunarColor_value_1); + const auto value_margin_value_1 = value_margin_value.value1; + valueSerializer.writeNumber(value_margin_value_1); } - else if (value_focusedLunarColor_value_type == 2) { + else if (value_margin_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_focusedLunarColor_value_2 = value_focusedLunarColor_value.value2; - valueSerializer.writeString(value_focusedLunarColor_value_2); - } - else if (value_focusedLunarColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_focusedLunarColor_value_3 = value_focusedLunarColor_value.value3; - valueSerializer.writeResource(value_focusedLunarColor_value_3); + const auto value_margin_value_2 = value_margin_value.value2; + valueSerializer.writeResource(value_margin_value_2); } } - const auto value_focusedAreaBackgroundColor = value.focusedAreaBackgroundColor; - Ark_Int32 value_focusedAreaBackgroundColor_type = INTEROP_RUNTIME_UNDEFINED; - value_focusedAreaBackgroundColor_type = runtimeType(value_focusedAreaBackgroundColor); - valueSerializer.writeInt8(value_focusedAreaBackgroundColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusedAreaBackgroundColor_type)) { - const auto value_focusedAreaBackgroundColor_value = value_focusedAreaBackgroundColor.value; - Ark_Int32 value_focusedAreaBackgroundColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_focusedAreaBackgroundColor_value_type = value_focusedAreaBackgroundColor_value.selector; - if (value_focusedAreaBackgroundColor_value_type == 0) { + const auto value_nonScrollableLayoutStyle = value.nonScrollableLayoutStyle; + Ark_Int32 value_nonScrollableLayoutStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_nonScrollableLayoutStyle_type = runtimeType(value_nonScrollableLayoutStyle); + valueSerializer.writeInt8(value_nonScrollableLayoutStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonScrollableLayoutStyle_type)) { + const auto value_nonScrollableLayoutStyle_value = value_nonScrollableLayoutStyle.value; + valueSerializer.writeInt32(static_cast(value_nonScrollableLayoutStyle_value)); + } + } + void writeScrollSnapOptions(Ark_ScrollSnapOptions value) + { + Serializer& valueSerializer = *this; + const auto value_snapAlign = value.snapAlign; + valueSerializer.writeInt32(static_cast(value_snapAlign)); + const auto value_snapPagination = value.snapPagination; + Ark_Int32 value_snapPagination_type = INTEROP_RUNTIME_UNDEFINED; + value_snapPagination_type = runtimeType(value_snapPagination); + valueSerializer.writeInt8(value_snapPagination_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_snapPagination_type)) { + const auto value_snapPagination_value = value_snapPagination.value; + Ark_Int32 value_snapPagination_value_type = INTEROP_RUNTIME_UNDEFINED; + value_snapPagination_value_type = value_snapPagination_value.selector; + if ((value_snapPagination_value_type == 0) || (value_snapPagination_value_type == 0) || (value_snapPagination_value_type == 0)) { valueSerializer.writeInt8(0); - const auto value_focusedAreaBackgroundColor_value_0 = value_focusedAreaBackgroundColor_value.value0; - valueSerializer.writeInt32(static_cast(value_focusedAreaBackgroundColor_value_0)); + const auto value_snapPagination_value_0 = value_snapPagination_value.value0; + Ark_Int32 value_snapPagination_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_snapPagination_value_0_type = value_snapPagination_value_0.selector; + if (value_snapPagination_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_snapPagination_value_0_0 = value_snapPagination_value_0.value0; + valueSerializer.writeString(value_snapPagination_value_0_0); + } + else if (value_snapPagination_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_snapPagination_value_0_1 = value_snapPagination_value_0.value1; + valueSerializer.writeNumber(value_snapPagination_value_0_1); + } + else if (value_snapPagination_value_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_snapPagination_value_0_2 = value_snapPagination_value_0.value2; + valueSerializer.writeResource(value_snapPagination_value_0_2); + } } - else if (value_focusedAreaBackgroundColor_value_type == 1) { + else if (value_snapPagination_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_focusedAreaBackgroundColor_value_1 = value_focusedAreaBackgroundColor_value.value1; - valueSerializer.writeNumber(value_focusedAreaBackgroundColor_value_1); - } - else if (value_focusedAreaBackgroundColor_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_focusedAreaBackgroundColor_value_2 = value_focusedAreaBackgroundColor_value.value2; - valueSerializer.writeString(value_focusedAreaBackgroundColor_value_2); - } - else if (value_focusedAreaBackgroundColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_focusedAreaBackgroundColor_value_3 = value_focusedAreaBackgroundColor_value.value3; - valueSerializer.writeResource(value_focusedAreaBackgroundColor_value_3); + const auto value_snapPagination_value_1 = value_snapPagination_value.value1; + valueSerializer.writeInt32(value_snapPagination_value_1.length); + for (int i = 0; i < value_snapPagination_value_1.length; i++) { + const Ark_Dimension value_snapPagination_value_1_element = value_snapPagination_value_1.array[i]; + Ark_Int32 value_snapPagination_value_1_element_type = INTEROP_RUNTIME_UNDEFINED; + value_snapPagination_value_1_element_type = value_snapPagination_value_1_element.selector; + if (value_snapPagination_value_1_element_type == 0) { + valueSerializer.writeInt8(0); + const auto value_snapPagination_value_1_element_0 = value_snapPagination_value_1_element.value0; + valueSerializer.writeString(value_snapPagination_value_1_element_0); + } + else if (value_snapPagination_value_1_element_type == 1) { + valueSerializer.writeInt8(1); + const auto value_snapPagination_value_1_element_1 = value_snapPagination_value_1_element.value1; + valueSerializer.writeNumber(value_snapPagination_value_1_element_1); + } + else if (value_snapPagination_value_1_element_type == 2) { + valueSerializer.writeInt8(2); + const auto value_snapPagination_value_1_element_2 = value_snapPagination_value_1_element.value2; + valueSerializer.writeResource(value_snapPagination_value_1_element_2); + } + } } } - const auto value_focusedAreaRadius = value.focusedAreaRadius; - Ark_Int32 value_focusedAreaRadius_type = INTEROP_RUNTIME_UNDEFINED; - value_focusedAreaRadius_type = runtimeType(value_focusedAreaRadius); - valueSerializer.writeInt8(value_focusedAreaRadius_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusedAreaRadius_type)) { - const auto value_focusedAreaRadius_value = value_focusedAreaRadius.value; - valueSerializer.writeNumber(value_focusedAreaRadius_value); + const auto value_enableSnapToStart = value.enableSnapToStart; + Ark_Int32 value_enableSnapToStart_type = INTEROP_RUNTIME_UNDEFINED; + value_enableSnapToStart_type = runtimeType(value_enableSnapToStart); + valueSerializer.writeInt8(value_enableSnapToStart_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableSnapToStart_type)) { + const auto value_enableSnapToStart_value = value_enableSnapToStart.value; + valueSerializer.writeBoolean(value_enableSnapToStart_value); + } + const auto value_enableSnapToEnd = value.enableSnapToEnd; + Ark_Int32 value_enableSnapToEnd_type = INTEROP_RUNTIME_UNDEFINED; + value_enableSnapToEnd_type = runtimeType(value_enableSnapToEnd); + valueSerializer.writeInt8(value_enableSnapToEnd_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableSnapToEnd_type)) { + const auto value_enableSnapToEnd_value = value_enableSnapToEnd.value; + valueSerializer.writeBoolean(value_enableSnapToEnd_value); } } - void writeToolbarItem(Ark_ToolbarItem value) + void writeSearchButtonOptions(Ark_SearchButtonOptions value) { Serializer& valueSerializer = *this; - const auto value_value = value.value; - Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; - value_value_type = value_value.selector; - if (value_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_value_0 = value_value.value0; - valueSerializer.writeString(value_value_0); - } - else if (value_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_value_1 = value_value.value1; - valueSerializer.writeResource(value_value_1); - } - const auto value_icon = value.icon; - Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_type = runtimeType(value_icon); - valueSerializer.writeInt8(value_icon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { - const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = INTEROP_RUNTIME_UNDEFINED; - value_icon_value_type = value_icon_value.selector; - if (value_icon_value_type == 0) { + const auto value_fontSize = value.fontSize; + Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; + value_fontSize_type = runtimeType(value_fontSize); + valueSerializer.writeInt8(value_fontSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { + const auto value_fontSize_value = value_fontSize.value; + Ark_Int32 value_fontSize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontSize_value_type = value_fontSize_value.selector; + if (value_fontSize_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_icon_value_0 = value_icon_value.value0; - valueSerializer.writeString(value_icon_value_0); + const auto value_fontSize_value_0 = value_fontSize_value.value0; + valueSerializer.writeString(value_fontSize_value_0); } - else if (value_icon_value_type == 1) { + else if (value_fontSize_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_icon_value_1 = value_icon_value.value1; - valueSerializer.writeResource(value_icon_value_1); + const auto value_fontSize_value_1 = value_fontSize_value.value1; + valueSerializer.writeNumber(value_fontSize_value_1); + } + else if (value_fontSize_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_fontSize_value_2 = value_fontSize_value.value2; + valueSerializer.writeResource(value_fontSize_value_2); } } - const auto value_symbolIcon = value.symbolIcon; - Ark_Int32 value_symbolIcon_type = INTEROP_RUNTIME_UNDEFINED; - value_symbolIcon_type = runtimeType(value_symbolIcon); - valueSerializer.writeInt8(value_symbolIcon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolIcon_type)) { - const auto value_symbolIcon_value = value_symbolIcon.value; - valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value); - } - const auto value_action = value.action; - Ark_Int32 value_action_type = INTEROP_RUNTIME_UNDEFINED; - value_action_type = runtimeType(value_action); - valueSerializer.writeInt8(value_action_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_action_type)) { - const auto value_action_value = value_action.value; - valueSerializer.writeCallbackResource(value_action_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_action_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_action_value.callSync)); + const auto value_fontColor = value.fontColor; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; + value_fontColor_type = runtimeType(value_fontColor); + valueSerializer.writeInt8(value_fontColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { + const auto value_fontColor_value = value_fontColor.value; + Ark_Int32 value_fontColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontColor_value_type = value_fontColor_value.selector; + if (value_fontColor_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_fontColor_value_0 = value_fontColor_value.value0; + valueSerializer.writeInt32(static_cast(value_fontColor_value_0)); + } + else if (value_fontColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_fontColor_value_1 = value_fontColor_value.value1; + valueSerializer.writeNumber(value_fontColor_value_1); + } + else if (value_fontColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_fontColor_value_2 = value_fontColor_value.value2; + valueSerializer.writeString(value_fontColor_value_2); + } + else if (value_fontColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_fontColor_value_3 = value_fontColor_value.value3; + valueSerializer.writeResource(value_fontColor_value_3); + } } - const auto value_status = value.status; - Ark_Int32 value_status_type = INTEROP_RUNTIME_UNDEFINED; - value_status_type = runtimeType(value_status); - valueSerializer.writeInt8(value_status_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_status_type)) { - const auto value_status_value = value_status.value; - valueSerializer.writeInt32(static_cast(value_status_value)); + const auto value_autoDisable = value.autoDisable; + Ark_Int32 value_autoDisable_type = INTEROP_RUNTIME_UNDEFINED; + value_autoDisable_type = runtimeType(value_autoDisable); + valueSerializer.writeInt8(value_autoDisable_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_autoDisable_type)) { + const auto value_autoDisable_value = value_autoDisable.value; + valueSerializer.writeBoolean(value_autoDisable_value); } - const auto value_activeIcon = value.activeIcon; - Ark_Int32 value_activeIcon_type = INTEROP_RUNTIME_UNDEFINED; - value_activeIcon_type = runtimeType(value_activeIcon); - valueSerializer.writeInt8(value_activeIcon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_activeIcon_type)) { - const auto value_activeIcon_value = value_activeIcon.value; - Ark_Int32 value_activeIcon_value_type = INTEROP_RUNTIME_UNDEFINED; - value_activeIcon_value_type = value_activeIcon_value.selector; - if (value_activeIcon_value_type == 0) { + } + void writeSizeOptions(Ark_SizeOptions value) + { + Serializer& valueSerializer = *this; + const auto value_width = value.width; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; + value_width_type = runtimeType(value_width); + valueSerializer.writeInt8(value_width_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { + const auto value_width_value = value_width.value; + Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; + value_width_value_type = value_width_value.selector; + if (value_width_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_activeIcon_value_0 = value_activeIcon_value.value0; - valueSerializer.writeString(value_activeIcon_value_0); + const auto value_width_value_0 = value_width_value.value0; + valueSerializer.writeString(value_width_value_0); } - else if (value_activeIcon_value_type == 1) { + else if (value_width_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_activeIcon_value_1 = value_activeIcon_value.value1; - valueSerializer.writeResource(value_activeIcon_value_1); + const auto value_width_value_1 = value_width_value.value1; + valueSerializer.writeNumber(value_width_value_1); + } + else if (value_width_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_width_value_2 = value_width_value.value2; + valueSerializer.writeResource(value_width_value_2); } } - const auto value_activeSymbolIcon = value.activeSymbolIcon; - Ark_Int32 value_activeSymbolIcon_type = INTEROP_RUNTIME_UNDEFINED; - value_activeSymbolIcon_type = runtimeType(value_activeSymbolIcon); - valueSerializer.writeInt8(value_activeSymbolIcon_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_activeSymbolIcon_type)) { - const auto value_activeSymbolIcon_value = value_activeSymbolIcon.value; - valueSerializer.writeSymbolGlyphModifier(value_activeSymbolIcon_value); + const auto value_height = value.height; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; + value_height_type = runtimeType(value_height); + valueSerializer.writeInt8(value_height_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { + const auto value_height_value = value_height.value; + Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; + value_height_value_type = value_height_value.selector; + if (value_height_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_height_value_0 = value_height_value.value0; + valueSerializer.writeString(value_height_value_0); + } + else if (value_height_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_height_value_1 = value_height_value.value1; + valueSerializer.writeNumber(value_height_value_1); + } + else if (value_height_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_height_value_2 = value_height_value.value2; + valueSerializer.writeResource(value_height_value_2); + } } } - void writeTransitionOptions(Ark_TransitionOptions value) + void writeSweepGradientOptions(Ark_SweepGradientOptions value) { Serializer& valueSerializer = *this; - const auto value_type = value.type; - Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; - value_type_type = runtimeType(value_type); - valueSerializer.writeInt8(value_type_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_type_type)) { - const auto value_type_value = value_type.value; - valueSerializer.writeInt32(static_cast(value_type_value)); + const auto value_center = value.center; + const auto value_center_0 = value_center.value0; + Ark_Int32 value_center_0_type = INTEROP_RUNTIME_UNDEFINED; + value_center_0_type = value_center_0.selector; + if (value_center_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_center_0_0 = value_center_0.value0; + valueSerializer.writeString(value_center_0_0); } - const auto value_opacity = value.opacity; - Ark_Int32 value_opacity_type = INTEROP_RUNTIME_UNDEFINED; - value_opacity_type = runtimeType(value_opacity); - valueSerializer.writeInt8(value_opacity_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_opacity_type)) { - const auto value_opacity_value = value_opacity.value; - valueSerializer.writeNumber(value_opacity_value); + else if (value_center_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_center_0_1 = value_center_0.value1; + valueSerializer.writeNumber(value_center_0_1); } - const auto value_translate = value.translate; - Ark_Int32 value_translate_type = INTEROP_RUNTIME_UNDEFINED; - value_translate_type = runtimeType(value_translate); - valueSerializer.writeInt8(value_translate_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_translate_type)) { - const auto value_translate_value = value_translate.value; - valueSerializer.writeTranslateOptions(value_translate_value); + else if (value_center_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_center_0_2 = value_center_0.value2; + valueSerializer.writeResource(value_center_0_2); } - const auto value_scale = value.scale; - Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; - value_scale_type = runtimeType(value_scale); - valueSerializer.writeInt8(value_scale_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scale_type)) { - const auto value_scale_value = value_scale.value; - valueSerializer.writeScaleOptions(value_scale_value); + const auto value_center_1 = value_center.value1; + Ark_Int32 value_center_1_type = INTEROP_RUNTIME_UNDEFINED; + value_center_1_type = value_center_1.selector; + if (value_center_1_type == 0) { + valueSerializer.writeInt8(0); + const auto value_center_1_0 = value_center_1.value0; + valueSerializer.writeString(value_center_1_0); } - const auto value_rotate = value.rotate; - Ark_Int32 value_rotate_type = INTEROP_RUNTIME_UNDEFINED; - value_rotate_type = runtimeType(value_rotate); - valueSerializer.writeInt8(value_rotate_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_rotate_type)) { - const auto value_rotate_value = value_rotate.value; - valueSerializer.writeRotateOptions(value_rotate_value); + else if (value_center_1_type == 1) { + valueSerializer.writeInt8(1); + const auto value_center_1_1 = value_center_1.value1; + valueSerializer.writeNumber(value_center_1_1); } - } - void writeUnderlineColor(Ark_UnderlineColor value) - { - Serializer& valueSerializer = *this; - const auto value_typing = value.typing; - Ark_Int32 value_typing_type = INTEROP_RUNTIME_UNDEFINED; - value_typing_type = runtimeType(value_typing); - valueSerializer.writeInt8(value_typing_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_typing_type)) { - const auto value_typing_value = value_typing.value; - Ark_Int32 value_typing_value_type = INTEROP_RUNTIME_UNDEFINED; - value_typing_value_type = value_typing_value.selector; - if (value_typing_value_type == 0) { + else if (value_center_1_type == 2) { + valueSerializer.writeInt8(2); + const auto value_center_1_2 = value_center_1.value2; + valueSerializer.writeResource(value_center_1_2); + } + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + Ark_Int32 value_start_value_type = INTEROP_RUNTIME_UNDEFINED; + value_start_value_type = value_start_value.selector; + if (value_start_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_typing_value_0 = value_typing_value.value0; - valueSerializer.writeInt32(static_cast(value_typing_value_0)); + const auto value_start_value_0 = value_start_value.value0; + valueSerializer.writeNumber(value_start_value_0); } - else if (value_typing_value_type == 1) { + else if (value_start_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_typing_value_1 = value_typing_value.value1; - valueSerializer.writeNumber(value_typing_value_1); - } - else if (value_typing_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_typing_value_2 = value_typing_value.value2; - valueSerializer.writeString(value_typing_value_2); - } - else if (value_typing_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_typing_value_3 = value_typing_value.value3; - valueSerializer.writeResource(value_typing_value_3); + const auto value_start_value_1 = value_start_value.value1; + valueSerializer.writeString(value_start_value_1); } } - const auto value_normal = value.normal; - Ark_Int32 value_normal_type = INTEROP_RUNTIME_UNDEFINED; - value_normal_type = runtimeType(value_normal); - valueSerializer.writeInt8(value_normal_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_normal_type)) { - const auto value_normal_value = value_normal.value; - Ark_Int32 value_normal_value_type = INTEROP_RUNTIME_UNDEFINED; - value_normal_value_type = value_normal_value.selector; - if (value_normal_value_type == 0) { + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + Ark_Int32 value_end_value_type = INTEROP_RUNTIME_UNDEFINED; + value_end_value_type = value_end_value.selector; + if (value_end_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_normal_value_0 = value_normal_value.value0; - valueSerializer.writeInt32(static_cast(value_normal_value_0)); + const auto value_end_value_0 = value_end_value.value0; + valueSerializer.writeNumber(value_end_value_0); } - else if (value_normal_value_type == 1) { + else if (value_end_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_normal_value_1 = value_normal_value.value1; - valueSerializer.writeNumber(value_normal_value_1); - } - else if (value_normal_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_normal_value_2 = value_normal_value.value2; - valueSerializer.writeString(value_normal_value_2); - } - else if (value_normal_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_normal_value_3 = value_normal_value.value3; - valueSerializer.writeResource(value_normal_value_3); + const auto value_end_value_1 = value_end_value.value1; + valueSerializer.writeString(value_end_value_1); } } - const auto value_error = value.error; - Ark_Int32 value_error_type = INTEROP_RUNTIME_UNDEFINED; - value_error_type = runtimeType(value_error); - valueSerializer.writeInt8(value_error_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_error_type)) { - const auto value_error_value = value_error.value; - Ark_Int32 value_error_value_type = INTEROP_RUNTIME_UNDEFINED; - value_error_value_type = value_error_value.selector; - if (value_error_value_type == 0) { + const auto value_rotation = value.rotation; + Ark_Int32 value_rotation_type = INTEROP_RUNTIME_UNDEFINED; + value_rotation_type = runtimeType(value_rotation); + valueSerializer.writeInt8(value_rotation_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_rotation_type)) { + const auto value_rotation_value = value_rotation.value; + Ark_Int32 value_rotation_value_type = INTEROP_RUNTIME_UNDEFINED; + value_rotation_value_type = value_rotation_value.selector; + if (value_rotation_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_error_value_0 = value_error_value.value0; - valueSerializer.writeInt32(static_cast(value_error_value_0)); + const auto value_rotation_value_0 = value_rotation_value.value0; + valueSerializer.writeNumber(value_rotation_value_0); } - else if (value_error_value_type == 1) { + else if (value_rotation_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_error_value_1 = value_error_value.value1; - valueSerializer.writeNumber(value_error_value_1); - } - else if (value_error_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_error_value_2 = value_error_value.value2; - valueSerializer.writeString(value_error_value_2); - } - else if (value_error_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_error_value_3 = value_error_value.value3; - valueSerializer.writeResource(value_error_value_3); + const auto value_rotation_value_1 = value_rotation_value.value1; + valueSerializer.writeString(value_rotation_value_1); } } - const auto value_disable = value.disable; - Ark_Int32 value_disable_type = INTEROP_RUNTIME_UNDEFINED; - value_disable_type = runtimeType(value_disable); - valueSerializer.writeInt8(value_disable_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_disable_type)) { - const auto value_disable_value = value_disable.value; - Ark_Int32 value_disable_value_type = INTEROP_RUNTIME_UNDEFINED; - value_disable_value_type = value_disable_value.selector; - if (value_disable_value_type == 0) { + const auto value_colors = value.colors; + valueSerializer.writeInt32(value_colors.length); + for (int i = 0; i < value_colors.length; i++) { + const Ark_Tuple_ResourceColor_Number value_colors_element = value_colors.array[i]; + const auto value_colors_element_0 = value_colors_element.value0; + Ark_Int32 value_colors_element_0_type = INTEROP_RUNTIME_UNDEFINED; + value_colors_element_0_type = value_colors_element_0.selector; + if (value_colors_element_0_type == 0) { valueSerializer.writeInt8(0); - const auto value_disable_value_0 = value_disable_value.value0; - valueSerializer.writeInt32(static_cast(value_disable_value_0)); + const auto value_colors_element_0_0 = value_colors_element_0.value0; + valueSerializer.writeInt32(static_cast(value_colors_element_0_0)); } - else if (value_disable_value_type == 1) { + else if (value_colors_element_0_type == 1) { valueSerializer.writeInt8(1); - const auto value_disable_value_1 = value_disable_value.value1; - valueSerializer.writeNumber(value_disable_value_1); + const auto value_colors_element_0_1 = value_colors_element_0.value1; + valueSerializer.writeNumber(value_colors_element_0_1); } - else if (value_disable_value_type == 2) { + else if (value_colors_element_0_type == 2) { valueSerializer.writeInt8(2); - const auto value_disable_value_2 = value_disable_value.value2; - valueSerializer.writeString(value_disable_value_2); + const auto value_colors_element_0_2 = value_colors_element_0.value2; + valueSerializer.writeString(value_colors_element_0_2); } - else if (value_disable_value_type == 3) { + else if (value_colors_element_0_type == 3) { valueSerializer.writeInt8(3); - const auto value_disable_value_3 = value_disable_value.value3; - valueSerializer.writeResource(value_disable_value_3); + const auto value_colors_element_0_3 = value_colors_element_0.value3; + valueSerializer.writeResource(value_colors_element_0_3); } + const auto value_colors_element_1 = value_colors_element.value1; + valueSerializer.writeNumber(value_colors_element_1); + } + const auto value_repeating = value.repeating; + Ark_Int32 value_repeating_type = INTEROP_RUNTIME_UNDEFINED; + value_repeating_type = runtimeType(value_repeating); + valueSerializer.writeInt8(value_repeating_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_repeating_type)) { + const auto value_repeating_value = value_repeating.value; + valueSerializer.writeBoolean(value_repeating_value); } } - void writeVideoOptions(Ark_VideoOptions value) + void writeSwipeActionItem(Ark_SwipeActionItem value) { Serializer& valueSerializer = *this; - const auto value_src = value.src; - Ark_Int32 value_src_type = INTEROP_RUNTIME_UNDEFINED; - value_src_type = runtimeType(value_src); - valueSerializer.writeInt8(value_src_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_src_type)) { - const auto value_src_value = value_src.value; - Ark_Int32 value_src_value_type = INTEROP_RUNTIME_UNDEFINED; - value_src_value_type = value_src_value.selector; - if (value_src_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_src_value_0 = value_src_value.value0; - valueSerializer.writeString(value_src_value_0); - } - else if (value_src_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_src_value_1 = value_src_value.value1; - valueSerializer.writeResource(value_src_value_1); - } + const auto value_builder = value.builder; + Ark_Int32 value_builder_type = INTEROP_RUNTIME_UNDEFINED; + value_builder_type = runtimeType(value_builder); + valueSerializer.writeInt8(value_builder_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_builder_type)) { + const auto value_builder_value = value_builder.value; + valueSerializer.writeCallbackResource(value_builder_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_builder_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_builder_value.callSync)); } - const auto value_currentProgressRate = value.currentProgressRate; - Ark_Int32 value_currentProgressRate_type = INTEROP_RUNTIME_UNDEFINED; - value_currentProgressRate_type = runtimeType(value_currentProgressRate); - valueSerializer.writeInt8(value_currentProgressRate_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_currentProgressRate_type)) { - const auto value_currentProgressRate_value = value_currentProgressRate.value; - Ark_Int32 value_currentProgressRate_value_type = INTEROP_RUNTIME_UNDEFINED; - value_currentProgressRate_value_type = value_currentProgressRate_value.selector; - if (value_currentProgressRate_value_type == 0) { + const auto value_builderComponent = value.builderComponent; + Ark_Int32 value_builderComponent_type = INTEROP_RUNTIME_UNDEFINED; + value_builderComponent_type = runtimeType(value_builderComponent); + valueSerializer.writeInt8(value_builderComponent_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_builderComponent_type)) { + const auto value_builderComponent_value = value_builderComponent.value; + valueSerializer.writeComponentContent(value_builderComponent_value); + } + const auto value_actionAreaDistance = value.actionAreaDistance; + Ark_Int32 value_actionAreaDistance_type = INTEROP_RUNTIME_UNDEFINED; + value_actionAreaDistance_type = runtimeType(value_actionAreaDistance); + valueSerializer.writeInt8(value_actionAreaDistance_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_actionAreaDistance_type)) { + const auto value_actionAreaDistance_value = value_actionAreaDistance.value; + Ark_Int32 value_actionAreaDistance_value_type = INTEROP_RUNTIME_UNDEFINED; + value_actionAreaDistance_value_type = value_actionAreaDistance_value.selector; + if (value_actionAreaDistance_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_currentProgressRate_value_0 = value_currentProgressRate_value.value0; - valueSerializer.writeNumber(value_currentProgressRate_value_0); + const auto value_actionAreaDistance_value_0 = value_actionAreaDistance_value.value0; + valueSerializer.writeString(value_actionAreaDistance_value_0); } - else if (value_currentProgressRate_value_type == 1) { + else if (value_actionAreaDistance_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_currentProgressRate_value_1 = value_currentProgressRate_value.value1; - valueSerializer.writeString(value_currentProgressRate_value_1); + const auto value_actionAreaDistance_value_1 = value_actionAreaDistance_value.value1; + valueSerializer.writeNumber(value_actionAreaDistance_value_1); } - else if (value_currentProgressRate_value_type == 2) { + else if (value_actionAreaDistance_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_currentProgressRate_value_2 = value_currentProgressRate_value.value2; - valueSerializer.writeInt32(static_cast(value_currentProgressRate_value_2)); + const auto value_actionAreaDistance_value_2 = value_actionAreaDistance_value.value2; + valueSerializer.writeResource(value_actionAreaDistance_value_2); + } + } + const auto value_onAction = value.onAction; + Ark_Int32 value_onAction_type = INTEROP_RUNTIME_UNDEFINED; + value_onAction_type = runtimeType(value_onAction); + valueSerializer.writeInt8(value_onAction_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onAction_type)) { + const auto value_onAction_value = value_onAction.value; + valueSerializer.writeCallbackResource(value_onAction_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onAction_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onAction_value.callSync)); + } + const auto value_onEnterActionArea = value.onEnterActionArea; + Ark_Int32 value_onEnterActionArea_type = INTEROP_RUNTIME_UNDEFINED; + value_onEnterActionArea_type = runtimeType(value_onEnterActionArea); + valueSerializer.writeInt8(value_onEnterActionArea_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onEnterActionArea_type)) { + const auto value_onEnterActionArea_value = value_onEnterActionArea.value; + valueSerializer.writeCallbackResource(value_onEnterActionArea_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onEnterActionArea_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onEnterActionArea_value.callSync)); + } + const auto value_onExitActionArea = value.onExitActionArea; + Ark_Int32 value_onExitActionArea_type = INTEROP_RUNTIME_UNDEFINED; + value_onExitActionArea_type = runtimeType(value_onExitActionArea); + valueSerializer.writeInt8(value_onExitActionArea_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onExitActionArea_type)) { + const auto value_onExitActionArea_value = value_onExitActionArea.value; + valueSerializer.writeCallbackResource(value_onExitActionArea_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onExitActionArea_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onExitActionArea_value.callSync)); + } + const auto value_onStateChange = value.onStateChange; + Ark_Int32 value_onStateChange_type = INTEROP_RUNTIME_UNDEFINED; + value_onStateChange_type = runtimeType(value_onStateChange); + valueSerializer.writeInt8(value_onStateChange_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onStateChange_type)) { + const auto value_onStateChange_value = value_onStateChange.value; + valueSerializer.writeCallbackResource(value_onStateChange_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onStateChange_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onStateChange_value.callSync)); + } + } + void writetext_TextStyle(Ark_text_TextStyle value) + { + Serializer& valueSerializer = *this; + const auto value_decoration = value.decoration; + Ark_Int32 value_decoration_type = INTEROP_RUNTIME_UNDEFINED; + value_decoration_type = runtimeType(value_decoration); + valueSerializer.writeInt8(value_decoration_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_decoration_type)) { + const auto value_decoration_value = value_decoration.value; + valueSerializer.writeDecoration(value_decoration_value); + } + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + valueSerializer.writecommon2D_Color(value_color_value); + } + const auto value_fontWeight = value.fontWeight; + Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; + value_fontWeight_type = runtimeType(value_fontWeight); + valueSerializer.writeInt8(value_fontWeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { + const auto value_fontWeight_value = value_fontWeight.value; + valueSerializer.writeInt32(static_cast(value_fontWeight_value)); + } + const auto value_fontStyle = value.fontStyle; + Ark_Int32 value_fontStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_fontStyle_type = runtimeType(value_fontStyle); + valueSerializer.writeInt8(value_fontStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontStyle_type)) { + const auto value_fontStyle_value = value_fontStyle.value; + valueSerializer.writeInt32(static_cast(value_fontStyle_value)); + } + const auto value_baseline = value.baseline; + Ark_Int32 value_baseline_type = INTEROP_RUNTIME_UNDEFINED; + value_baseline_type = runtimeType(value_baseline); + valueSerializer.writeInt8(value_baseline_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_baseline_type)) { + const auto value_baseline_value = value_baseline.value; + valueSerializer.writeInt32(static_cast(value_baseline_value)); + } + const auto value_fontFamilies = value.fontFamilies; + Ark_Int32 value_fontFamilies_type = INTEROP_RUNTIME_UNDEFINED; + value_fontFamilies_type = runtimeType(value_fontFamilies); + valueSerializer.writeInt8(value_fontFamilies_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFamilies_type)) { + const auto value_fontFamilies_value = value_fontFamilies.value; + valueSerializer.writeInt32(value_fontFamilies_value.length); + for (int i = 0; i < value_fontFamilies_value.length; i++) { + const Ark_String value_fontFamilies_value_element = value_fontFamilies_value.array[i]; + valueSerializer.writeString(value_fontFamilies_value_element); + } + } + const auto value_fontSize = value.fontSize; + Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; + value_fontSize_type = runtimeType(value_fontSize); + valueSerializer.writeInt8(value_fontSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { + const auto value_fontSize_value = value_fontSize.value; + valueSerializer.writeNumber(value_fontSize_value); + } + const auto value_letterSpacing = value.letterSpacing; + Ark_Int32 value_letterSpacing_type = INTEROP_RUNTIME_UNDEFINED; + value_letterSpacing_type = runtimeType(value_letterSpacing); + valueSerializer.writeInt8(value_letterSpacing_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_letterSpacing_type)) { + const auto value_letterSpacing_value = value_letterSpacing.value; + valueSerializer.writeNumber(value_letterSpacing_value); + } + const auto value_wordSpacing = value.wordSpacing; + Ark_Int32 value_wordSpacing_type = INTEROP_RUNTIME_UNDEFINED; + value_wordSpacing_type = runtimeType(value_wordSpacing); + valueSerializer.writeInt8(value_wordSpacing_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_wordSpacing_type)) { + const auto value_wordSpacing_value = value_wordSpacing.value; + valueSerializer.writeNumber(value_wordSpacing_value); + } + const auto value_heightScale = value.heightScale; + Ark_Int32 value_heightScale_type = INTEROP_RUNTIME_UNDEFINED; + value_heightScale_type = runtimeType(value_heightScale); + valueSerializer.writeInt8(value_heightScale_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_heightScale_type)) { + const auto value_heightScale_value = value_heightScale.value; + valueSerializer.writeNumber(value_heightScale_value); + } + const auto value_halfLeading = value.halfLeading; + Ark_Int32 value_halfLeading_type = INTEROP_RUNTIME_UNDEFINED; + value_halfLeading_type = runtimeType(value_halfLeading); + valueSerializer.writeInt8(value_halfLeading_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_halfLeading_type)) { + const auto value_halfLeading_value = value_halfLeading.value; + valueSerializer.writeBoolean(value_halfLeading_value); + } + const auto value_heightOnly = value.heightOnly; + Ark_Int32 value_heightOnly_type = INTEROP_RUNTIME_UNDEFINED; + value_heightOnly_type = runtimeType(value_heightOnly); + valueSerializer.writeInt8(value_heightOnly_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_heightOnly_type)) { + const auto value_heightOnly_value = value_heightOnly.value; + valueSerializer.writeBoolean(value_heightOnly_value); + } + const auto value_ellipsis = value.ellipsis; + Ark_Int32 value_ellipsis_type = INTEROP_RUNTIME_UNDEFINED; + value_ellipsis_type = runtimeType(value_ellipsis); + valueSerializer.writeInt8(value_ellipsis_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_ellipsis_type)) { + const auto value_ellipsis_value = value_ellipsis.value; + valueSerializer.writeString(value_ellipsis_value); + } + const auto value_ellipsisMode = value.ellipsisMode; + Ark_Int32 value_ellipsisMode_type = INTEROP_RUNTIME_UNDEFINED; + value_ellipsisMode_type = runtimeType(value_ellipsisMode); + valueSerializer.writeInt8(value_ellipsisMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_ellipsisMode_type)) { + const auto value_ellipsisMode_value = value_ellipsisMode.value; + valueSerializer.writeInt32(static_cast(value_ellipsisMode_value)); + } + const auto value_locale = value.locale; + Ark_Int32 value_locale_type = INTEROP_RUNTIME_UNDEFINED; + value_locale_type = runtimeType(value_locale); + valueSerializer.writeInt8(value_locale_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_locale_type)) { + const auto value_locale_value = value_locale.value; + valueSerializer.writeString(value_locale_value); + } + const auto value_baselineShift = value.baselineShift; + Ark_Int32 value_baselineShift_type = INTEROP_RUNTIME_UNDEFINED; + value_baselineShift_type = runtimeType(value_baselineShift); + valueSerializer.writeInt8(value_baselineShift_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_baselineShift_type)) { + const auto value_baselineShift_value = value_baselineShift.value; + valueSerializer.writeNumber(value_baselineShift_value); + } + const auto value_fontFeatures = value.fontFeatures; + Ark_Int32 value_fontFeatures_type = INTEROP_RUNTIME_UNDEFINED; + value_fontFeatures_type = runtimeType(value_fontFeatures); + valueSerializer.writeInt8(value_fontFeatures_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFeatures_type)) { + const auto value_fontFeatures_value = value_fontFeatures.value; + valueSerializer.writeInt32(value_fontFeatures_value.length); + for (int i = 0; i < value_fontFeatures_value.length; i++) { + const Ark_FontFeature value_fontFeatures_value_element = value_fontFeatures_value.array[i]; + valueSerializer.writeFontFeature(value_fontFeatures_value_element); } } - const auto value_previewUri = value.previewUri; - Ark_Int32 value_previewUri_type = INTEROP_RUNTIME_UNDEFINED; - value_previewUri_type = runtimeType(value_previewUri); - valueSerializer.writeInt8(value_previewUri_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewUri_type)) { - const auto value_previewUri_value = value_previewUri.value; - Ark_Int32 value_previewUri_value_type = INTEROP_RUNTIME_UNDEFINED; - value_previewUri_value_type = value_previewUri_value.selector; - if (value_previewUri_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_previewUri_value_0 = value_previewUri_value.value0; - valueSerializer.writeString(value_previewUri_value_0); - } - else if (value_previewUri_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_previewUri_value_1 = value_previewUri_value.value1; - valueSerializer.writePixelMap(value_previewUri_value_1); - } - else if (value_previewUri_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_previewUri_value_2 = value_previewUri_value.value2; - valueSerializer.writeResource(value_previewUri_value_2); + const auto value_textShadows = value.textShadows; + Ark_Int32 value_textShadows_type = INTEROP_RUNTIME_UNDEFINED; + value_textShadows_type = runtimeType(value_textShadows); + valueSerializer.writeInt8(value_textShadows_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textShadows_type)) { + const auto value_textShadows_value = value_textShadows.value; + valueSerializer.writeInt32(value_textShadows_value.length); + for (int i = 0; i < value_textShadows_value.length; i++) { + const Ark_TextShadow value_textShadows_value_element = value_textShadows_value.array[i]; + valueSerializer.writeTextShadow(value_textShadows_value_element); } } - const auto value_controller = value.controller; - Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; - value_controller_type = runtimeType(value_controller); - valueSerializer.writeInt8(value_controller_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { - const auto value_controller_value = value_controller.value; - valueSerializer.writeVideoController(value_controller_value); + const auto value_backgroundRect = value.backgroundRect; + Ark_Int32 value_backgroundRect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundRect_type = runtimeType(value_backgroundRect); + valueSerializer.writeInt8(value_backgroundRect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundRect_type)) { + const auto value_backgroundRect_value = value_backgroundRect.value; + valueSerializer.writeRectStyle(value_backgroundRect_value); } - const auto value_imageAIOptions = value.imageAIOptions; - Ark_Int32 value_imageAIOptions_type = INTEROP_RUNTIME_UNDEFINED; - value_imageAIOptions_type = runtimeType(value_imageAIOptions); - valueSerializer.writeInt8(value_imageAIOptions_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_imageAIOptions_type)) { - const auto value_imageAIOptions_value = value_imageAIOptions.value; - valueSerializer.writeImageAIOptions(value_imageAIOptions_value); + const auto value_fontVariations = value.fontVariations; + Ark_Int32 value_fontVariations_type = INTEROP_RUNTIME_UNDEFINED; + value_fontVariations_type = runtimeType(value_fontVariations); + valueSerializer.writeInt8(value_fontVariations_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontVariations_type)) { + const auto value_fontVariations_value = value_fontVariations.value; + valueSerializer.writeInt32(value_fontVariations_value.length); + for (int i = 0; i < value_fontVariations_value.length; i++) { + const Ark_FontVariation value_fontVariations_value_element = value_fontVariations_value.array[i]; + valueSerializer.writeFontVariation(value_fontVariations_value_element); + } } } - void writeWeekStyle(Ark_WeekStyle value) + void writeTextDataDetectorConfig(Ark_TextDataDetectorConfig value) { Serializer& valueSerializer = *this; - const auto value_weekColor = value.weekColor; - Ark_Int32 value_weekColor_type = INTEROP_RUNTIME_UNDEFINED; - value_weekColor_type = runtimeType(value_weekColor); - valueSerializer.writeInt8(value_weekColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekColor_type)) { - const auto value_weekColor_value = value_weekColor.value; - Ark_Int32 value_weekColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_weekColor_value_type = value_weekColor_value.selector; - if (value_weekColor_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_weekColor_value_0 = value_weekColor_value.value0; - valueSerializer.writeInt32(static_cast(value_weekColor_value_0)); - } - else if (value_weekColor_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_weekColor_value_1 = value_weekColor_value.value1; - valueSerializer.writeNumber(value_weekColor_value_1); - } - else if (value_weekColor_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_weekColor_value_2 = value_weekColor_value.value2; - valueSerializer.writeString(value_weekColor_value_2); - } - else if (value_weekColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_weekColor_value_3 = value_weekColor_value.value3; - valueSerializer.writeResource(value_weekColor_value_3); - } + const auto value_types = value.types; + valueSerializer.writeInt32(value_types.length); + for (int i = 0; i < value_types.length; i++) { + const Ark_TextDataDetectorType value_types_element = value_types.array[i]; + valueSerializer.writeInt32(static_cast(value_types_element)); } - const auto value_weekendDayColor = value.weekendDayColor; - Ark_Int32 value_weekendDayColor_type = INTEROP_RUNTIME_UNDEFINED; - value_weekendDayColor_type = runtimeType(value_weekendDayColor); - valueSerializer.writeInt8(value_weekendDayColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekendDayColor_type)) { - const auto value_weekendDayColor_value = value_weekendDayColor.value; - Ark_Int32 value_weekendDayColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_weekendDayColor_value_type = value_weekendDayColor_value.selector; - if (value_weekendDayColor_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_weekendDayColor_value_0 = value_weekendDayColor_value.value0; - valueSerializer.writeInt32(static_cast(value_weekendDayColor_value_0)); - } - else if (value_weekendDayColor_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_weekendDayColor_value_1 = value_weekendDayColor_value.value1; - valueSerializer.writeNumber(value_weekendDayColor_value_1); - } - else if (value_weekendDayColor_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_weekendDayColor_value_2 = value_weekendDayColor_value.value2; - valueSerializer.writeString(value_weekendDayColor_value_2); - } - else if (value_weekendDayColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_weekendDayColor_value_3 = value_weekendDayColor_value.value3; - valueSerializer.writeResource(value_weekendDayColor_value_3); - } + const auto value_onDetectResultUpdate = value.onDetectResultUpdate; + Ark_Int32 value_onDetectResultUpdate_type = INTEROP_RUNTIME_UNDEFINED; + value_onDetectResultUpdate_type = runtimeType(value_onDetectResultUpdate); + valueSerializer.writeInt8(value_onDetectResultUpdate_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDetectResultUpdate_type)) { + const auto value_onDetectResultUpdate_value = value_onDetectResultUpdate.value; + valueSerializer.writeCallbackResource(value_onDetectResultUpdate_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDetectResultUpdate_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDetectResultUpdate_value.callSync)); } - const auto value_weekendLunarColor = value.weekendLunarColor; - Ark_Int32 value_weekendLunarColor_type = INTEROP_RUNTIME_UNDEFINED; - value_weekendLunarColor_type = runtimeType(value_weekendLunarColor); - valueSerializer.writeInt8(value_weekendLunarColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekendLunarColor_type)) { - const auto value_weekendLunarColor_value = value_weekendLunarColor.value; - Ark_Int32 value_weekendLunarColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_weekendLunarColor_value_type = value_weekendLunarColor_value.selector; - if (value_weekendLunarColor_value_type == 0) { + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if (value_color_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_weekendLunarColor_value_0 = value_weekendLunarColor_value.value0; - valueSerializer.writeInt32(static_cast(value_weekendLunarColor_value_0)); + const auto value_color_value_0 = value_color_value.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0)); } - else if (value_weekendLunarColor_value_type == 1) { + else if (value_color_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_weekendLunarColor_value_1 = value_weekendLunarColor_value.value1; - valueSerializer.writeNumber(value_weekendLunarColor_value_1); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeNumber(value_color_value_1); } - else if (value_weekendLunarColor_value_type == 2) { + else if (value_color_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_weekendLunarColor_value_2 = value_weekendLunarColor_value.value2; - valueSerializer.writeString(value_weekendLunarColor_value_2); + const auto value_color_value_2 = value_color_value.value2; + valueSerializer.writeString(value_color_value_2); } - else if (value_weekendLunarColor_value_type == 3) { + else if (value_color_value_type == 3) { valueSerializer.writeInt8(3); - const auto value_weekendLunarColor_value_3 = value_weekendLunarColor_value.value3; - valueSerializer.writeResource(value_weekendLunarColor_value_3); + const auto value_color_value_3 = value_color_value.value3; + valueSerializer.writeResource(value_color_value_3); } } - const auto value_weekFontSize = value.weekFontSize; - Ark_Int32 value_weekFontSize_type = INTEROP_RUNTIME_UNDEFINED; - value_weekFontSize_type = runtimeType(value_weekFontSize); - valueSerializer.writeInt8(value_weekFontSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekFontSize_type)) { - const auto value_weekFontSize_value = value_weekFontSize.value; - valueSerializer.writeNumber(value_weekFontSize_value); + const auto value_decoration = value.decoration; + Ark_Int32 value_decoration_type = INTEROP_RUNTIME_UNDEFINED; + value_decoration_type = runtimeType(value_decoration); + valueSerializer.writeInt8(value_decoration_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_decoration_type)) { + const auto value_decoration_value = value_decoration.value; + valueSerializer.writeDecorationStyleInterface(value_decoration_value); } - const auto value_weekHeight = value.weekHeight; - Ark_Int32 value_weekHeight_type = INTEROP_RUNTIME_UNDEFINED; - value_weekHeight_type = runtimeType(value_weekHeight); - valueSerializer.writeInt8(value_weekHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekHeight_type)) { - const auto value_weekHeight_value = value_weekHeight.value; - valueSerializer.writeNumber(value_weekHeight_value); + } + void writeTipsOptions(Ark_TipsOptions value) + { + Serializer& valueSerializer = *this; + const auto value_appearingTime = value.appearingTime; + Ark_Int32 value_appearingTime_type = INTEROP_RUNTIME_UNDEFINED; + value_appearingTime_type = runtimeType(value_appearingTime); + valueSerializer.writeInt8(value_appearingTime_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_appearingTime_type)) { + const auto value_appearingTime_value = value_appearingTime.value; + valueSerializer.writeNumber(value_appearingTime_value); + } + const auto value_disappearingTime = value.disappearingTime; + Ark_Int32 value_disappearingTime_type = INTEROP_RUNTIME_UNDEFINED; + value_disappearingTime_type = runtimeType(value_disappearingTime); + valueSerializer.writeInt8(value_disappearingTime_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disappearingTime_type)) { + const auto value_disappearingTime_value = value_disappearingTime.value; + valueSerializer.writeNumber(value_disappearingTime_value); + } + const auto value_appearingTimeWithContinuousOperation = value.appearingTimeWithContinuousOperation; + Ark_Int32 value_appearingTimeWithContinuousOperation_type = INTEROP_RUNTIME_UNDEFINED; + value_appearingTimeWithContinuousOperation_type = runtimeType(value_appearingTimeWithContinuousOperation); + valueSerializer.writeInt8(value_appearingTimeWithContinuousOperation_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_appearingTimeWithContinuousOperation_type)) { + const auto value_appearingTimeWithContinuousOperation_value = value_appearingTimeWithContinuousOperation.value; + valueSerializer.writeNumber(value_appearingTimeWithContinuousOperation_value); + } + const auto value_disappearingTimeWithContinuousOperation = value.disappearingTimeWithContinuousOperation; + Ark_Int32 value_disappearingTimeWithContinuousOperation_type = INTEROP_RUNTIME_UNDEFINED; + value_disappearingTimeWithContinuousOperation_type = runtimeType(value_disappearingTimeWithContinuousOperation); + valueSerializer.writeInt8(value_disappearingTimeWithContinuousOperation_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disappearingTimeWithContinuousOperation_type)) { + const auto value_disappearingTimeWithContinuousOperation_value = value_disappearingTimeWithContinuousOperation.value; + valueSerializer.writeNumber(value_disappearingTimeWithContinuousOperation_value); } - const auto value_weekWidth = value.weekWidth; - Ark_Int32 value_weekWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_weekWidth_type = runtimeType(value_weekWidth); - valueSerializer.writeInt8(value_weekWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekWidth_type)) { - const auto value_weekWidth_value = value_weekWidth.value; - valueSerializer.writeNumber(value_weekWidth_value); + const auto value_enableArrow = value.enableArrow; + Ark_Int32 value_enableArrow_type = INTEROP_RUNTIME_UNDEFINED; + value_enableArrow_type = runtimeType(value_enableArrow); + valueSerializer.writeInt8(value_enableArrow_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableArrow_type)) { + const auto value_enableArrow_value = value_enableArrow.value; + valueSerializer.writeBoolean(value_enableArrow_value); } - const auto value_weekAndDayRowSpace = value.weekAndDayRowSpace; - Ark_Int32 value_weekAndDayRowSpace_type = INTEROP_RUNTIME_UNDEFINED; - value_weekAndDayRowSpace_type = runtimeType(value_weekAndDayRowSpace); - valueSerializer.writeInt8(value_weekAndDayRowSpace_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekAndDayRowSpace_type)) { - const auto value_weekAndDayRowSpace_value = value_weekAndDayRowSpace.value; - valueSerializer.writeNumber(value_weekAndDayRowSpace_value); + const auto value_arrowPointPosition = value.arrowPointPosition; + Ark_Int32 value_arrowPointPosition_type = INTEROP_RUNTIME_UNDEFINED; + value_arrowPointPosition_type = runtimeType(value_arrowPointPosition); + valueSerializer.writeInt8(value_arrowPointPosition_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowPointPosition_type)) { + const auto value_arrowPointPosition_value = value_arrowPointPosition.value; + valueSerializer.writeInt32(static_cast(value_arrowPointPosition_value)); } - } - void writeWorkStateStyle(Ark_WorkStateStyle value) - { - Serializer& valueSerializer = *this; - const auto value_workDayMarkColor = value.workDayMarkColor; - Ark_Int32 value_workDayMarkColor_type = INTEROP_RUNTIME_UNDEFINED; - value_workDayMarkColor_type = runtimeType(value_workDayMarkColor); - valueSerializer.writeInt8(value_workDayMarkColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_workDayMarkColor_type)) { - const auto value_workDayMarkColor_value = value_workDayMarkColor.value; - Ark_Int32 value_workDayMarkColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_workDayMarkColor_value_type = value_workDayMarkColor_value.selector; - if (value_workDayMarkColor_value_type == 0) { + const auto value_arrowWidth = value.arrowWidth; + Ark_Int32 value_arrowWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_arrowWidth_type = runtimeType(value_arrowWidth); + valueSerializer.writeInt8(value_arrowWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowWidth_type)) { + const auto value_arrowWidth_value = value_arrowWidth.value; + Ark_Int32 value_arrowWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_arrowWidth_value_type = value_arrowWidth_value.selector; + if (value_arrowWidth_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_workDayMarkColor_value_0 = value_workDayMarkColor_value.value0; - valueSerializer.writeInt32(static_cast(value_workDayMarkColor_value_0)); + const auto value_arrowWidth_value_0 = value_arrowWidth_value.value0; + valueSerializer.writeString(value_arrowWidth_value_0); } - else if (value_workDayMarkColor_value_type == 1) { + else if (value_arrowWidth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_workDayMarkColor_value_1 = value_workDayMarkColor_value.value1; - valueSerializer.writeNumber(value_workDayMarkColor_value_1); + const auto value_arrowWidth_value_1 = value_arrowWidth_value.value1; + valueSerializer.writeNumber(value_arrowWidth_value_1); } - else if (value_workDayMarkColor_value_type == 2) { + else if (value_arrowWidth_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_workDayMarkColor_value_2 = value_workDayMarkColor_value.value2; - valueSerializer.writeString(value_workDayMarkColor_value_2); - } - else if (value_workDayMarkColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_workDayMarkColor_value_3 = value_workDayMarkColor_value.value3; - valueSerializer.writeResource(value_workDayMarkColor_value_3); + const auto value_arrowWidth_value_2 = value_arrowWidth_value.value2; + valueSerializer.writeResource(value_arrowWidth_value_2); } } - const auto value_offDayMarkColor = value.offDayMarkColor; - Ark_Int32 value_offDayMarkColor_type = INTEROP_RUNTIME_UNDEFINED; - value_offDayMarkColor_type = runtimeType(value_offDayMarkColor); - valueSerializer.writeInt8(value_offDayMarkColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offDayMarkColor_type)) { - const auto value_offDayMarkColor_value = value_offDayMarkColor.value; - Ark_Int32 value_offDayMarkColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_offDayMarkColor_value_type = value_offDayMarkColor_value.selector; - if (value_offDayMarkColor_value_type == 0) { + const auto value_arrowHeight = value.arrowHeight; + Ark_Int32 value_arrowHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_arrowHeight_type = runtimeType(value_arrowHeight); + valueSerializer.writeInt8(value_arrowHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowHeight_type)) { + const auto value_arrowHeight_value = value_arrowHeight.value; + Ark_Int32 value_arrowHeight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_arrowHeight_value_type = value_arrowHeight_value.selector; + if (value_arrowHeight_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_offDayMarkColor_value_0 = value_offDayMarkColor_value.value0; - valueSerializer.writeInt32(static_cast(value_offDayMarkColor_value_0)); + const auto value_arrowHeight_value_0 = value_arrowHeight_value.value0; + valueSerializer.writeString(value_arrowHeight_value_0); } - else if (value_offDayMarkColor_value_type == 1) { + else if (value_arrowHeight_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_offDayMarkColor_value_1 = value_offDayMarkColor_value.value1; - valueSerializer.writeNumber(value_offDayMarkColor_value_1); + const auto value_arrowHeight_value_1 = value_arrowHeight_value.value1; + valueSerializer.writeNumber(value_arrowHeight_value_1); } - else if (value_offDayMarkColor_value_type == 2) { + else if (value_arrowHeight_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_offDayMarkColor_value_2 = value_offDayMarkColor_value.value2; - valueSerializer.writeString(value_offDayMarkColor_value_2); - } - else if (value_offDayMarkColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_offDayMarkColor_value_3 = value_offDayMarkColor_value.value3; - valueSerializer.writeResource(value_offDayMarkColor_value_3); + const auto value_arrowHeight_value_2 = value_arrowHeight_value.value2; + valueSerializer.writeResource(value_arrowHeight_value_2); } } - const auto value_workDayMarkSize = value.workDayMarkSize; - Ark_Int32 value_workDayMarkSize_type = INTEROP_RUNTIME_UNDEFINED; - value_workDayMarkSize_type = runtimeType(value_workDayMarkSize); - valueSerializer.writeInt8(value_workDayMarkSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_workDayMarkSize_type)) { - const auto value_workDayMarkSize_value = value_workDayMarkSize.value; - valueSerializer.writeNumber(value_workDayMarkSize_value); - } - const auto value_offDayMarkSize = value.offDayMarkSize; - Ark_Int32 value_offDayMarkSize_type = INTEROP_RUNTIME_UNDEFINED; - value_offDayMarkSize_type = runtimeType(value_offDayMarkSize); - valueSerializer.writeInt8(value_offDayMarkSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offDayMarkSize_type)) { - const auto value_offDayMarkSize_value = value_offDayMarkSize.value; - valueSerializer.writeNumber(value_offDayMarkSize_value); - } - const auto value_workStateWidth = value.workStateWidth; - Ark_Int32 value_workStateWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_workStateWidth_type = runtimeType(value_workStateWidth); - valueSerializer.writeInt8(value_workStateWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_workStateWidth_type)) { - const auto value_workStateWidth_value = value_workStateWidth.value; - valueSerializer.writeNumber(value_workStateWidth_value); - } - const auto value_workStateHorizontalMovingDistance = value.workStateHorizontalMovingDistance; - Ark_Int32 value_workStateHorizontalMovingDistance_type = INTEROP_RUNTIME_UNDEFINED; - value_workStateHorizontalMovingDistance_type = runtimeType(value_workStateHorizontalMovingDistance); - valueSerializer.writeInt8(value_workStateHorizontalMovingDistance_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_workStateHorizontalMovingDistance_type)) { - const auto value_workStateHorizontalMovingDistance_value = value_workStateHorizontalMovingDistance.value; - valueSerializer.writeNumber(value_workStateHorizontalMovingDistance_value); - } - const auto value_workStateVerticalMovingDistance = value.workStateVerticalMovingDistance; - Ark_Int32 value_workStateVerticalMovingDistance_type = INTEROP_RUNTIME_UNDEFINED; - value_workStateVerticalMovingDistance_type = runtimeType(value_workStateVerticalMovingDistance); - valueSerializer.writeInt8(value_workStateVerticalMovingDistance_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_workStateVerticalMovingDistance_type)) { - const auto value_workStateVerticalMovingDistance_value = value_workStateVerticalMovingDistance.value; - valueSerializer.writeNumber(value_workStateVerticalMovingDistance_value); - } - } - void writeXComponentOptions(Ark_XComponentOptions value) - { - Serializer& valueSerializer = *this; - const auto value_type = value.type; - valueSerializer.writeInt32(static_cast(value_type)); - const auto value_controller = value.controller; - valueSerializer.writeXComponentController(value_controller); - const auto value_imageAIOptions = value.imageAIOptions; - Ark_Int32 value_imageAIOptions_type = INTEROP_RUNTIME_UNDEFINED; - value_imageAIOptions_type = runtimeType(value_imageAIOptions); - valueSerializer.writeInt8(value_imageAIOptions_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_imageAIOptions_type)) { - const auto value_imageAIOptions_value = value_imageAIOptions.value; - valueSerializer.writeImageAIOptions(value_imageAIOptions_value); - } } void writeActionSheetOptions(Ark_ActionSheetOptions value) { @@ -74094,6 +81804,22 @@ class Serializer : public SerializerBase { const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } const auto value_onWillDismiss = value.onWillDismiss; Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); @@ -74144,102 +81870,7 @@ class Serializer : public SerializerBase { else if (value_cornerRadius_value_type == 1) { valueSerializer.writeInt8(1); const auto value_cornerRadius_value_1 = value_cornerRadius_value.value1; - const auto value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft; - Ark_Int32 value_cornerRadius_value_1_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft); - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const auto value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft.value; - Ark_Int32 value_cornerRadius_value_1_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topLeft_value_type = value_cornerRadius_value_1_topLeft_value.selector; - if (value_cornerRadius_value_1_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_topLeft_value_0 = value_cornerRadius_value_1_topLeft_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0); - } - else if (value_cornerRadius_value_1_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_topLeft_value_1 = value_cornerRadius_value_1_topLeft_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1); - } - else if (value_cornerRadius_value_1_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_topLeft_value_2 = value_cornerRadius_value_1_topLeft_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2); - } - } - const auto value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight; - Ark_Int32 value_cornerRadius_value_1_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight); - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const auto value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight.value; - Ark_Int32 value_cornerRadius_value_1_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topRight_value_type = value_cornerRadius_value_1_topRight_value.selector; - if (value_cornerRadius_value_1_topRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_topRight_value_0 = value_cornerRadius_value_1_topRight_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0); - } - else if (value_cornerRadius_value_1_topRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_topRight_value_1 = value_cornerRadius_value_1_topRight_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1); - } - else if (value_cornerRadius_value_1_topRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_topRight_value_2 = value_cornerRadius_value_1_topRight_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2); - } - } - const auto value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft); - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const auto value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft.value; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomLeft_value_type = value_cornerRadius_value_1_bottomLeft_value.selector; - if (value_cornerRadius_value_1_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_bottomLeft_value_0 = value_cornerRadius_value_1_bottomLeft_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0); - } - else if (value_cornerRadius_value_1_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_bottomLeft_value_1 = value_cornerRadius_value_1_bottomLeft_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1); - } - else if (value_cornerRadius_value_1_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_bottomLeft_value_2 = value_cornerRadius_value_1_bottomLeft_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2); - } - } - const auto value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight; - Ark_Int32 value_cornerRadius_value_1_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight); - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const auto value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight.value; - Ark_Int32 value_cornerRadius_value_1_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomRight_value_type = value_cornerRadius_value_1_bottomRight_value.selector; - if (value_cornerRadius_value_1_bottomRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_bottomRight_value_0 = value_cornerRadius_value_1_bottomRight_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0); - } - else if (value_cornerRadius_value_1_bottomRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_bottomRight_value_1 = value_cornerRadius_value_1_bottomRight_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1); - } - else if (value_cornerRadius_value_1_bottomRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_bottomRight_value_2 = value_cornerRadius_value_1_bottomRight_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2); - } - } + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1); } else if (value_cornerRadius_value_type == 2) { valueSerializer.writeInt8(2); @@ -74327,102 +81958,7 @@ class Serializer : public SerializerBase { else if (value_borderWidth_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderWidth_value_1 = value_borderWidth_value.value1; - const auto value_borderWidth_value_1_top = value_borderWidth_value_1.top; - Ark_Int32 value_borderWidth_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top); - valueSerializer.writeInt8(value_borderWidth_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const auto value_borderWidth_value_1_top_value = value_borderWidth_value_1_top.value; - Ark_Int32 value_borderWidth_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_top_value_type = value_borderWidth_value_1_top_value.selector; - if (value_borderWidth_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_top_value_0 = value_borderWidth_value_1_top_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_top_value_0); - } - else if (value_borderWidth_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_top_value_1 = value_borderWidth_value_1_top_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1); - } - else if (value_borderWidth_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_top_value_2 = value_borderWidth_value_1_top_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2); - } - } - const auto value_borderWidth_value_1_right = value_borderWidth_value_1.right; - Ark_Int32 value_borderWidth_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right); - valueSerializer.writeInt8(value_borderWidth_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const auto value_borderWidth_value_1_right_value = value_borderWidth_value_1_right.value; - Ark_Int32 value_borderWidth_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_right_value_type = value_borderWidth_value_1_right_value.selector; - if (value_borderWidth_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_right_value_0 = value_borderWidth_value_1_right_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_right_value_0); - } - else if (value_borderWidth_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_right_value_1 = value_borderWidth_value_1_right_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1); - } - else if (value_borderWidth_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_right_value_2 = value_borderWidth_value_1_right_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2); - } - } - const auto value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom; - Ark_Int32 value_borderWidth_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom); - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const auto value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom.value; - Ark_Int32 value_borderWidth_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_bottom_value_type = value_borderWidth_value_1_bottom_value.selector; - if (value_borderWidth_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_bottom_value_0 = value_borderWidth_value_1_bottom_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0); - } - else if (value_borderWidth_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_bottom_value_1 = value_borderWidth_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1); - } - else if (value_borderWidth_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_bottom_value_2 = value_borderWidth_value_1_bottom_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2); - } - } - const auto value_borderWidth_value_1_left = value_borderWidth_value_1.left; - Ark_Int32 value_borderWidth_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left); - valueSerializer.writeInt8(value_borderWidth_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const auto value_borderWidth_value_1_left_value = value_borderWidth_value_1_left.value; - Ark_Int32 value_borderWidth_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_left_value_type = value_borderWidth_value_1_left_value.selector; - if (value_borderWidth_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_left_value_0 = value_borderWidth_value_1_left_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_left_value_0); - } - else if (value_borderWidth_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_left_value_1 = value_borderWidth_value_1_left_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1); - } - else if (value_borderWidth_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_left_value_2 = value_borderWidth_value_1_left_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2); - } - } + valueSerializer.writeEdgeWidths(value_borderWidth_value_1); } else if (value_borderWidth_value_type == 2) { valueSerializer.writeInt8(2); @@ -74467,122 +82003,7 @@ class Serializer : public SerializerBase { else if (value_borderColor_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderColor_value_1 = value_borderColor_value.value1; - const auto value_borderColor_value_1_top = value_borderColor_value_1.top; - Ark_Int32 value_borderColor_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top); - valueSerializer.writeInt8(value_borderColor_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_top_type)) { - const auto value_borderColor_value_1_top_value = value_borderColor_value_1_top.value; - Ark_Int32 value_borderColor_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_top_value_type = value_borderColor_value_1_top_value.selector; - if (value_borderColor_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_top_value_0 = value_borderColor_value_1_top_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_top_value_0)); - } - else if (value_borderColor_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_top_value_1 = value_borderColor_value_1_top_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1); - } - else if (value_borderColor_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_top_value_2 = value_borderColor_value_1_top_value.value2; - valueSerializer.writeString(value_borderColor_value_1_top_value_2); - } - else if (value_borderColor_value_1_top_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_top_value_3 = value_borderColor_value_1_top_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_top_value_3); - } - } - const auto value_borderColor_value_1_right = value_borderColor_value_1.right; - Ark_Int32 value_borderColor_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right); - valueSerializer.writeInt8(value_borderColor_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_right_type)) { - const auto value_borderColor_value_1_right_value = value_borderColor_value_1_right.value; - Ark_Int32 value_borderColor_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_right_value_type = value_borderColor_value_1_right_value.selector; - if (value_borderColor_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_right_value_0 = value_borderColor_value_1_right_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_right_value_0)); - } - else if (value_borderColor_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_right_value_1 = value_borderColor_value_1_right_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1); - } - else if (value_borderColor_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_right_value_2 = value_borderColor_value_1_right_value.value2; - valueSerializer.writeString(value_borderColor_value_1_right_value_2); - } - else if (value_borderColor_value_1_right_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_right_value_3 = value_borderColor_value_1_right_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_right_value_3); - } - } - const auto value_borderColor_value_1_bottom = value_borderColor_value_1.bottom; - Ark_Int32 value_borderColor_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom); - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const auto value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom.value; - Ark_Int32 value_borderColor_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_bottom_value_type = value_borderColor_value_1_bottom_value.selector; - if (value_borderColor_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_bottom_value_0 = value_borderColor_value_1_bottom_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_bottom_value_0)); - } - else if (value_borderColor_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_bottom_value_1 = value_borderColor_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1); - } - else if (value_borderColor_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_bottom_value_2 = value_borderColor_value_1_bottom_value.value2; - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2); - } - else if (value_borderColor_value_1_bottom_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_bottom_value_3 = value_borderColor_value_1_bottom_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3); - } - } - const auto value_borderColor_value_1_left = value_borderColor_value_1.left; - Ark_Int32 value_borderColor_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left); - valueSerializer.writeInt8(value_borderColor_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_left_type)) { - const auto value_borderColor_value_1_left_value = value_borderColor_value_1_left.value; - Ark_Int32 value_borderColor_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_left_value_type = value_borderColor_value_1_left_value.selector; - if (value_borderColor_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_left_value_0 = value_borderColor_value_1_left_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_left_value_0)); - } - else if (value_borderColor_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_left_value_1 = value_borderColor_value_1_left_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1); - } - else if (value_borderColor_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_left_value_2 = value_borderColor_value_1_left_value.value2; - valueSerializer.writeString(value_borderColor_value_1_left_value_2); - } - else if (value_borderColor_value_1_left_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_left_value_3 = value_borderColor_value_1_left_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_left_value_3); - } - } + valueSerializer.writeEdgeColors(value_borderColor_value_1); } else if (value_borderColor_value_type == 2) { valueSerializer.writeInt8(2); @@ -74644,6 +82065,78 @@ class Serializer : public SerializerBase { const auto value_hoverModeArea_value = value_hoverModeArea.value; valueSerializer.writeInt32(static_cast(value_hoverModeArea_value)); } + const auto value_onDidAppear = value.onDidAppear; + Ark_Int32 value_onDidAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDidAppear_type = runtimeType(value_onDidAppear); + valueSerializer.writeInt8(value_onDidAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDidAppear_type)) { + const auto value_onDidAppear_value = value_onDidAppear.value; + valueSerializer.writeCallbackResource(value_onDidAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDidAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDidAppear_value.callSync)); + } + const auto value_onDidDisappear = value.onDidDisappear; + Ark_Int32 value_onDidDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDidDisappear_type = runtimeType(value_onDidDisappear); + valueSerializer.writeInt8(value_onDidDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDidDisappear_type)) { + const auto value_onDidDisappear_value = value_onDidDisappear.value; + valueSerializer.writeCallbackResource(value_onDidDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDidDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDidDisappear_value.callSync)); + } + const auto value_onWillAppear = value.onWillAppear; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillAppear_type = runtimeType(value_onWillAppear); + valueSerializer.writeInt8(value_onWillAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillAppear_type)) { + const auto value_onWillAppear_value = value_onWillAppear.value; + valueSerializer.writeCallbackResource(value_onWillAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.callSync)); + } + const auto value_onWillDisappear = value.onWillDisappear; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillDisappear_type = runtimeType(value_onWillDisappear); + valueSerializer.writeInt8(value_onWillDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDisappear_type)) { + const auto value_onWillDisappear_value = value_onWillDisappear.value; + valueSerializer.writeCallbackResource(value_onWillDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.callSync)); + } + const auto value_levelMode = value.levelMode; + Ark_Int32 value_levelMode_type = INTEROP_RUNTIME_UNDEFINED; + value_levelMode_type = runtimeType(value_levelMode); + valueSerializer.writeInt8(value_levelMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelMode_type)) { + const auto value_levelMode_value = value_levelMode.value; + valueSerializer.writeLevelMode(value_levelMode_value); + } + const auto value_levelUniqueId = value.levelUniqueId; + Ark_Int32 value_levelUniqueId_type = INTEROP_RUNTIME_UNDEFINED; + value_levelUniqueId_type = runtimeType(value_levelUniqueId); + valueSerializer.writeInt8(value_levelUniqueId_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelUniqueId_type)) { + const auto value_levelUniqueId_value = value_levelUniqueId.value; + valueSerializer.writeNumber(value_levelUniqueId_value); + } + const auto value_immersiveMode = value.immersiveMode; + Ark_Int32 value_immersiveMode_type = INTEROP_RUNTIME_UNDEFINED; + value_immersiveMode_type = runtimeType(value_immersiveMode); + valueSerializer.writeInt8(value_immersiveMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_immersiveMode_type)) { + const auto value_immersiveMode_value = value_immersiveMode.value; + valueSerializer.writeImmersiveMode(value_immersiveMode_value); + } + const auto value_levelOrder = value.levelOrder; + Ark_Int32 value_levelOrder_type = INTEROP_RUNTIME_UNDEFINED; + value_levelOrder_type = runtimeType(value_levelOrder); + valueSerializer.writeInt8(value_levelOrder_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelOrder_type)) { + const auto value_levelOrder_value = value_levelOrder.value; + valueSerializer.writeLevelOrder(value_levelOrder_value); + } } void writeAlertDialogParamWithButtons(Ark_AlertDialogParamWithButtons value) { @@ -74731,42 +82224,7 @@ class Serializer : public SerializerBase { valueSerializer.writeInt8(value_offset_type); if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { const auto value_offset_value = value_offset.value; - const auto value_offset_value_dx = value_offset_value.dx; - Ark_Int32 value_offset_value_dx_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dx_type = value_offset_value_dx.selector; - if (value_offset_value_dx_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dx_0 = value_offset_value_dx.value0; - valueSerializer.writeString(value_offset_value_dx_0); - } - else if (value_offset_value_dx_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dx_1 = value_offset_value_dx.value1; - valueSerializer.writeNumber(value_offset_value_dx_1); - } - else if (value_offset_value_dx_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dx_2 = value_offset_value_dx.value2; - valueSerializer.writeResource(value_offset_value_dx_2); - } - const auto value_offset_value_dy = value_offset_value.dy; - Ark_Int32 value_offset_value_dy_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dy_type = value_offset_value_dy.selector; - if (value_offset_value_dy_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dy_0 = value_offset_value_dy.value0; - valueSerializer.writeString(value_offset_value_dy_0); - } - else if (value_offset_value_dy_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dy_1 = value_offset_value_dy.value1; - valueSerializer.writeNumber(value_offset_value_dy_1); - } - else if (value_offset_value_dy_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dy_2 = value_offset_value_dy.value2; - valueSerializer.writeResource(value_offset_value_dy_2); - } + valueSerializer.writeOffset(value_offset_value); } const auto value_gridCount = value.gridCount; Ark_Int32 value_gridCount_type = INTEROP_RUNTIME_UNDEFINED; @@ -74837,6 +82295,22 @@ class Serializer : public SerializerBase { const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } const auto value_onWillDismiss = value.onWillDismiss; Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); @@ -74887,102 +82361,7 @@ class Serializer : public SerializerBase { else if (value_cornerRadius_value_type == 1) { valueSerializer.writeInt8(1); const auto value_cornerRadius_value_1 = value_cornerRadius_value.value1; - const auto value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft; - Ark_Int32 value_cornerRadius_value_1_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft); - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const auto value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft.value; - Ark_Int32 value_cornerRadius_value_1_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topLeft_value_type = value_cornerRadius_value_1_topLeft_value.selector; - if (value_cornerRadius_value_1_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_topLeft_value_0 = value_cornerRadius_value_1_topLeft_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0); - } - else if (value_cornerRadius_value_1_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_topLeft_value_1 = value_cornerRadius_value_1_topLeft_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1); - } - else if (value_cornerRadius_value_1_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_topLeft_value_2 = value_cornerRadius_value_1_topLeft_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2); - } - } - const auto value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight; - Ark_Int32 value_cornerRadius_value_1_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight); - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const auto value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight.value; - Ark_Int32 value_cornerRadius_value_1_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topRight_value_type = value_cornerRadius_value_1_topRight_value.selector; - if (value_cornerRadius_value_1_topRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_topRight_value_0 = value_cornerRadius_value_1_topRight_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0); - } - else if (value_cornerRadius_value_1_topRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_topRight_value_1 = value_cornerRadius_value_1_topRight_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1); - } - else if (value_cornerRadius_value_1_topRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_topRight_value_2 = value_cornerRadius_value_1_topRight_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2); - } - } - const auto value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft); - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const auto value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft.value; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomLeft_value_type = value_cornerRadius_value_1_bottomLeft_value.selector; - if (value_cornerRadius_value_1_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_bottomLeft_value_0 = value_cornerRadius_value_1_bottomLeft_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0); - } - else if (value_cornerRadius_value_1_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_bottomLeft_value_1 = value_cornerRadius_value_1_bottomLeft_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1); - } - else if (value_cornerRadius_value_1_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_bottomLeft_value_2 = value_cornerRadius_value_1_bottomLeft_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2); - } - } - const auto value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight; - Ark_Int32 value_cornerRadius_value_1_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight); - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const auto value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight.value; - Ark_Int32 value_cornerRadius_value_1_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomRight_value_type = value_cornerRadius_value_1_bottomRight_value.selector; - if (value_cornerRadius_value_1_bottomRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_bottomRight_value_0 = value_cornerRadius_value_1_bottomRight_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0); - } - else if (value_cornerRadius_value_1_bottomRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_bottomRight_value_1 = value_cornerRadius_value_1_bottomRight_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1); - } - else if (value_cornerRadius_value_1_bottomRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_bottomRight_value_2 = value_cornerRadius_value_1_bottomRight_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2); - } - } + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1); } else if (value_cornerRadius_value_type == 2) { valueSerializer.writeInt8(2); @@ -75070,102 +82449,7 @@ class Serializer : public SerializerBase { else if (value_borderWidth_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderWidth_value_1 = value_borderWidth_value.value1; - const auto value_borderWidth_value_1_top = value_borderWidth_value_1.top; - Ark_Int32 value_borderWidth_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top); - valueSerializer.writeInt8(value_borderWidth_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const auto value_borderWidth_value_1_top_value = value_borderWidth_value_1_top.value; - Ark_Int32 value_borderWidth_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_top_value_type = value_borderWidth_value_1_top_value.selector; - if (value_borderWidth_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_top_value_0 = value_borderWidth_value_1_top_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_top_value_0); - } - else if (value_borderWidth_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_top_value_1 = value_borderWidth_value_1_top_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1); - } - else if (value_borderWidth_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_top_value_2 = value_borderWidth_value_1_top_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2); - } - } - const auto value_borderWidth_value_1_right = value_borderWidth_value_1.right; - Ark_Int32 value_borderWidth_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right); - valueSerializer.writeInt8(value_borderWidth_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const auto value_borderWidth_value_1_right_value = value_borderWidth_value_1_right.value; - Ark_Int32 value_borderWidth_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_right_value_type = value_borderWidth_value_1_right_value.selector; - if (value_borderWidth_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_right_value_0 = value_borderWidth_value_1_right_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_right_value_0); - } - else if (value_borderWidth_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_right_value_1 = value_borderWidth_value_1_right_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1); - } - else if (value_borderWidth_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_right_value_2 = value_borderWidth_value_1_right_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2); - } - } - const auto value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom; - Ark_Int32 value_borderWidth_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom); - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const auto value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom.value; - Ark_Int32 value_borderWidth_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_bottom_value_type = value_borderWidth_value_1_bottom_value.selector; - if (value_borderWidth_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_bottom_value_0 = value_borderWidth_value_1_bottom_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0); - } - else if (value_borderWidth_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_bottom_value_1 = value_borderWidth_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1); - } - else if (value_borderWidth_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_bottom_value_2 = value_borderWidth_value_1_bottom_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2); - } - } - const auto value_borderWidth_value_1_left = value_borderWidth_value_1.left; - Ark_Int32 value_borderWidth_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left); - valueSerializer.writeInt8(value_borderWidth_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const auto value_borderWidth_value_1_left_value = value_borderWidth_value_1_left.value; - Ark_Int32 value_borderWidth_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_left_value_type = value_borderWidth_value_1_left_value.selector; - if (value_borderWidth_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_left_value_0 = value_borderWidth_value_1_left_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_left_value_0); - } - else if (value_borderWidth_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_left_value_1 = value_borderWidth_value_1_left_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1); - } - else if (value_borderWidth_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_left_value_2 = value_borderWidth_value_1_left_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2); - } - } + valueSerializer.writeEdgeWidths(value_borderWidth_value_1); } else if (value_borderWidth_value_type == 2) { valueSerializer.writeInt8(2); @@ -75210,122 +82494,7 @@ class Serializer : public SerializerBase { else if (value_borderColor_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderColor_value_1 = value_borderColor_value.value1; - const auto value_borderColor_value_1_top = value_borderColor_value_1.top; - Ark_Int32 value_borderColor_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top); - valueSerializer.writeInt8(value_borderColor_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_top_type)) { - const auto value_borderColor_value_1_top_value = value_borderColor_value_1_top.value; - Ark_Int32 value_borderColor_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_top_value_type = value_borderColor_value_1_top_value.selector; - if (value_borderColor_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_top_value_0 = value_borderColor_value_1_top_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_top_value_0)); - } - else if (value_borderColor_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_top_value_1 = value_borderColor_value_1_top_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1); - } - else if (value_borderColor_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_top_value_2 = value_borderColor_value_1_top_value.value2; - valueSerializer.writeString(value_borderColor_value_1_top_value_2); - } - else if (value_borderColor_value_1_top_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_top_value_3 = value_borderColor_value_1_top_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_top_value_3); - } - } - const auto value_borderColor_value_1_right = value_borderColor_value_1.right; - Ark_Int32 value_borderColor_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right); - valueSerializer.writeInt8(value_borderColor_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_right_type)) { - const auto value_borderColor_value_1_right_value = value_borderColor_value_1_right.value; - Ark_Int32 value_borderColor_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_right_value_type = value_borderColor_value_1_right_value.selector; - if (value_borderColor_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_right_value_0 = value_borderColor_value_1_right_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_right_value_0)); - } - else if (value_borderColor_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_right_value_1 = value_borderColor_value_1_right_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1); - } - else if (value_borderColor_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_right_value_2 = value_borderColor_value_1_right_value.value2; - valueSerializer.writeString(value_borderColor_value_1_right_value_2); - } - else if (value_borderColor_value_1_right_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_right_value_3 = value_borderColor_value_1_right_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_right_value_3); - } - } - const auto value_borderColor_value_1_bottom = value_borderColor_value_1.bottom; - Ark_Int32 value_borderColor_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom); - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const auto value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom.value; - Ark_Int32 value_borderColor_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_bottom_value_type = value_borderColor_value_1_bottom_value.selector; - if (value_borderColor_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_bottom_value_0 = value_borderColor_value_1_bottom_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_bottom_value_0)); - } - else if (value_borderColor_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_bottom_value_1 = value_borderColor_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1); - } - else if (value_borderColor_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_bottom_value_2 = value_borderColor_value_1_bottom_value.value2; - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2); - } - else if (value_borderColor_value_1_bottom_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_bottom_value_3 = value_borderColor_value_1_bottom_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3); - } - } - const auto value_borderColor_value_1_left = value_borderColor_value_1.left; - Ark_Int32 value_borderColor_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left); - valueSerializer.writeInt8(value_borderColor_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_left_type)) { - const auto value_borderColor_value_1_left_value = value_borderColor_value_1_left.value; - Ark_Int32 value_borderColor_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_left_value_type = value_borderColor_value_1_left_value.selector; - if (value_borderColor_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_left_value_0 = value_borderColor_value_1_left_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_left_value_0)); - } - else if (value_borderColor_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_left_value_1 = value_borderColor_value_1_left_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1); - } - else if (value_borderColor_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_left_value_2 = value_borderColor_value_1_left_value.value2; - valueSerializer.writeString(value_borderColor_value_1_left_value_2); - } - else if (value_borderColor_value_1_left_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_left_value_3 = value_borderColor_value_1_left_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_left_value_3); - } - } + valueSerializer.writeEdgeColors(value_borderColor_value_1); } else if (value_borderColor_value_type == 2) { valueSerializer.writeInt8(2); @@ -75395,6 +82564,78 @@ class Serializer : public SerializerBase { const auto value_hoverModeArea_value = value_hoverModeArea.value; valueSerializer.writeInt32(static_cast(value_hoverModeArea_value)); } + const auto value_onDidAppear = value.onDidAppear; + Ark_Int32 value_onDidAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDidAppear_type = runtimeType(value_onDidAppear); + valueSerializer.writeInt8(value_onDidAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDidAppear_type)) { + const auto value_onDidAppear_value = value_onDidAppear.value; + valueSerializer.writeCallbackResource(value_onDidAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDidAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDidAppear_value.callSync)); + } + const auto value_onDidDisappear = value.onDidDisappear; + Ark_Int32 value_onDidDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDidDisappear_type = runtimeType(value_onDidDisappear); + valueSerializer.writeInt8(value_onDidDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDidDisappear_type)) { + const auto value_onDidDisappear_value = value_onDidDisappear.value; + valueSerializer.writeCallbackResource(value_onDidDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDidDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDidDisappear_value.callSync)); + } + const auto value_onWillAppear = value.onWillAppear; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillAppear_type = runtimeType(value_onWillAppear); + valueSerializer.writeInt8(value_onWillAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillAppear_type)) { + const auto value_onWillAppear_value = value_onWillAppear.value; + valueSerializer.writeCallbackResource(value_onWillAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.callSync)); + } + const auto value_onWillDisappear = value.onWillDisappear; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillDisappear_type = runtimeType(value_onWillDisappear); + valueSerializer.writeInt8(value_onWillDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDisappear_type)) { + const auto value_onWillDisappear_value = value_onWillDisappear.value; + valueSerializer.writeCallbackResource(value_onWillDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.callSync)); + } + const auto value_levelMode = value.levelMode; + Ark_Int32 value_levelMode_type = INTEROP_RUNTIME_UNDEFINED; + value_levelMode_type = runtimeType(value_levelMode); + valueSerializer.writeInt8(value_levelMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelMode_type)) { + const auto value_levelMode_value = value_levelMode.value; + valueSerializer.writeLevelMode(value_levelMode_value); + } + const auto value_levelUniqueId = value.levelUniqueId; + Ark_Int32 value_levelUniqueId_type = INTEROP_RUNTIME_UNDEFINED; + value_levelUniqueId_type = runtimeType(value_levelUniqueId); + valueSerializer.writeInt8(value_levelUniqueId_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelUniqueId_type)) { + const auto value_levelUniqueId_value = value_levelUniqueId.value; + valueSerializer.writeNumber(value_levelUniqueId_value); + } + const auto value_immersiveMode = value.immersiveMode; + Ark_Int32 value_immersiveMode_type = INTEROP_RUNTIME_UNDEFINED; + value_immersiveMode_type = runtimeType(value_immersiveMode); + valueSerializer.writeInt8(value_immersiveMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_immersiveMode_type)) { + const auto value_immersiveMode_value = value_immersiveMode.value; + valueSerializer.writeImmersiveMode(value_immersiveMode_value); + } + const auto value_levelOrder = value.levelOrder; + Ark_Int32 value_levelOrder_type = INTEROP_RUNTIME_UNDEFINED; + value_levelOrder_type = runtimeType(value_levelOrder); + valueSerializer.writeInt8(value_levelOrder_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelOrder_type)) { + const auto value_levelOrder_value = value_levelOrder.value; + valueSerializer.writeLevelOrder(value_levelOrder_value); + } const auto value_primaryButton = value.primaryButton; valueSerializer.writeAlertDialogButtonBaseOptions(value_primaryButton); const auto value_secondaryButton = value.secondaryButton; @@ -75486,42 +82727,7 @@ class Serializer : public SerializerBase { valueSerializer.writeInt8(value_offset_type); if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { const auto value_offset_value = value_offset.value; - const auto value_offset_value_dx = value_offset_value.dx; - Ark_Int32 value_offset_value_dx_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dx_type = value_offset_value_dx.selector; - if (value_offset_value_dx_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dx_0 = value_offset_value_dx.value0; - valueSerializer.writeString(value_offset_value_dx_0); - } - else if (value_offset_value_dx_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dx_1 = value_offset_value_dx.value1; - valueSerializer.writeNumber(value_offset_value_dx_1); - } - else if (value_offset_value_dx_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dx_2 = value_offset_value_dx.value2; - valueSerializer.writeResource(value_offset_value_dx_2); - } - const auto value_offset_value_dy = value_offset_value.dy; - Ark_Int32 value_offset_value_dy_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dy_type = value_offset_value_dy.selector; - if (value_offset_value_dy_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dy_0 = value_offset_value_dy.value0; - valueSerializer.writeString(value_offset_value_dy_0); - } - else if (value_offset_value_dy_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dy_1 = value_offset_value_dy.value1; - valueSerializer.writeNumber(value_offset_value_dy_1); - } - else if (value_offset_value_dy_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dy_2 = value_offset_value_dy.value2; - valueSerializer.writeResource(value_offset_value_dy_2); - } + valueSerializer.writeOffset(value_offset_value); } const auto value_gridCount = value.gridCount; Ark_Int32 value_gridCount_type = INTEROP_RUNTIME_UNDEFINED; @@ -75592,6 +82798,22 @@ class Serializer : public SerializerBase { const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } const auto value_onWillDismiss = value.onWillDismiss; Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); @@ -75642,102 +82864,7 @@ class Serializer : public SerializerBase { else if (value_cornerRadius_value_type == 1) { valueSerializer.writeInt8(1); const auto value_cornerRadius_value_1 = value_cornerRadius_value.value1; - const auto value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft; - Ark_Int32 value_cornerRadius_value_1_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft); - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const auto value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft.value; - Ark_Int32 value_cornerRadius_value_1_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topLeft_value_type = value_cornerRadius_value_1_topLeft_value.selector; - if (value_cornerRadius_value_1_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_topLeft_value_0 = value_cornerRadius_value_1_topLeft_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0); - } - else if (value_cornerRadius_value_1_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_topLeft_value_1 = value_cornerRadius_value_1_topLeft_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1); - } - else if (value_cornerRadius_value_1_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_topLeft_value_2 = value_cornerRadius_value_1_topLeft_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2); - } - } - const auto value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight; - Ark_Int32 value_cornerRadius_value_1_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight); - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const auto value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight.value; - Ark_Int32 value_cornerRadius_value_1_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topRight_value_type = value_cornerRadius_value_1_topRight_value.selector; - if (value_cornerRadius_value_1_topRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_topRight_value_0 = value_cornerRadius_value_1_topRight_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0); - } - else if (value_cornerRadius_value_1_topRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_topRight_value_1 = value_cornerRadius_value_1_topRight_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1); - } - else if (value_cornerRadius_value_1_topRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_topRight_value_2 = value_cornerRadius_value_1_topRight_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2); - } - } - const auto value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft); - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const auto value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft.value; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomLeft_value_type = value_cornerRadius_value_1_bottomLeft_value.selector; - if (value_cornerRadius_value_1_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_bottomLeft_value_0 = value_cornerRadius_value_1_bottomLeft_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0); - } - else if (value_cornerRadius_value_1_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_bottomLeft_value_1 = value_cornerRadius_value_1_bottomLeft_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1); - } - else if (value_cornerRadius_value_1_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_bottomLeft_value_2 = value_cornerRadius_value_1_bottomLeft_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2); - } - } - const auto value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight; - Ark_Int32 value_cornerRadius_value_1_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight); - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const auto value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight.value; - Ark_Int32 value_cornerRadius_value_1_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomRight_value_type = value_cornerRadius_value_1_bottomRight_value.selector; - if (value_cornerRadius_value_1_bottomRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_bottomRight_value_0 = value_cornerRadius_value_1_bottomRight_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0); - } - else if (value_cornerRadius_value_1_bottomRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_bottomRight_value_1 = value_cornerRadius_value_1_bottomRight_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1); - } - else if (value_cornerRadius_value_1_bottomRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_bottomRight_value_2 = value_cornerRadius_value_1_bottomRight_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2); - } - } + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1); } else if (value_cornerRadius_value_type == 2) { valueSerializer.writeInt8(2); @@ -75825,102 +82952,7 @@ class Serializer : public SerializerBase { else if (value_borderWidth_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderWidth_value_1 = value_borderWidth_value.value1; - const auto value_borderWidth_value_1_top = value_borderWidth_value_1.top; - Ark_Int32 value_borderWidth_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top); - valueSerializer.writeInt8(value_borderWidth_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const auto value_borderWidth_value_1_top_value = value_borderWidth_value_1_top.value; - Ark_Int32 value_borderWidth_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_top_value_type = value_borderWidth_value_1_top_value.selector; - if (value_borderWidth_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_top_value_0 = value_borderWidth_value_1_top_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_top_value_0); - } - else if (value_borderWidth_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_top_value_1 = value_borderWidth_value_1_top_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1); - } - else if (value_borderWidth_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_top_value_2 = value_borderWidth_value_1_top_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2); - } - } - const auto value_borderWidth_value_1_right = value_borderWidth_value_1.right; - Ark_Int32 value_borderWidth_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right); - valueSerializer.writeInt8(value_borderWidth_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const auto value_borderWidth_value_1_right_value = value_borderWidth_value_1_right.value; - Ark_Int32 value_borderWidth_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_right_value_type = value_borderWidth_value_1_right_value.selector; - if (value_borderWidth_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_right_value_0 = value_borderWidth_value_1_right_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_right_value_0); - } - else if (value_borderWidth_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_right_value_1 = value_borderWidth_value_1_right_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1); - } - else if (value_borderWidth_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_right_value_2 = value_borderWidth_value_1_right_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2); - } - } - const auto value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom; - Ark_Int32 value_borderWidth_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom); - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const auto value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom.value; - Ark_Int32 value_borderWidth_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_bottom_value_type = value_borderWidth_value_1_bottom_value.selector; - if (value_borderWidth_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_bottom_value_0 = value_borderWidth_value_1_bottom_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0); - } - else if (value_borderWidth_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_bottom_value_1 = value_borderWidth_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1); - } - else if (value_borderWidth_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_bottom_value_2 = value_borderWidth_value_1_bottom_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2); - } - } - const auto value_borderWidth_value_1_left = value_borderWidth_value_1.left; - Ark_Int32 value_borderWidth_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left); - valueSerializer.writeInt8(value_borderWidth_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const auto value_borderWidth_value_1_left_value = value_borderWidth_value_1_left.value; - Ark_Int32 value_borderWidth_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_left_value_type = value_borderWidth_value_1_left_value.selector; - if (value_borderWidth_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_left_value_0 = value_borderWidth_value_1_left_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_left_value_0); - } - else if (value_borderWidth_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_left_value_1 = value_borderWidth_value_1_left_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1); - } - else if (value_borderWidth_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_left_value_2 = value_borderWidth_value_1_left_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2); - } - } + valueSerializer.writeEdgeWidths(value_borderWidth_value_1); } else if (value_borderWidth_value_type == 2) { valueSerializer.writeInt8(2); @@ -75965,122 +82997,7 @@ class Serializer : public SerializerBase { else if (value_borderColor_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderColor_value_1 = value_borderColor_value.value1; - const auto value_borderColor_value_1_top = value_borderColor_value_1.top; - Ark_Int32 value_borderColor_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top); - valueSerializer.writeInt8(value_borderColor_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_top_type)) { - const auto value_borderColor_value_1_top_value = value_borderColor_value_1_top.value; - Ark_Int32 value_borderColor_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_top_value_type = value_borderColor_value_1_top_value.selector; - if (value_borderColor_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_top_value_0 = value_borderColor_value_1_top_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_top_value_0)); - } - else if (value_borderColor_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_top_value_1 = value_borderColor_value_1_top_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1); - } - else if (value_borderColor_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_top_value_2 = value_borderColor_value_1_top_value.value2; - valueSerializer.writeString(value_borderColor_value_1_top_value_2); - } - else if (value_borderColor_value_1_top_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_top_value_3 = value_borderColor_value_1_top_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_top_value_3); - } - } - const auto value_borderColor_value_1_right = value_borderColor_value_1.right; - Ark_Int32 value_borderColor_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right); - valueSerializer.writeInt8(value_borderColor_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_right_type)) { - const auto value_borderColor_value_1_right_value = value_borderColor_value_1_right.value; - Ark_Int32 value_borderColor_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_right_value_type = value_borderColor_value_1_right_value.selector; - if (value_borderColor_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_right_value_0 = value_borderColor_value_1_right_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_right_value_0)); - } - else if (value_borderColor_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_right_value_1 = value_borderColor_value_1_right_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1); - } - else if (value_borderColor_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_right_value_2 = value_borderColor_value_1_right_value.value2; - valueSerializer.writeString(value_borderColor_value_1_right_value_2); - } - else if (value_borderColor_value_1_right_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_right_value_3 = value_borderColor_value_1_right_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_right_value_3); - } - } - const auto value_borderColor_value_1_bottom = value_borderColor_value_1.bottom; - Ark_Int32 value_borderColor_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom); - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const auto value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom.value; - Ark_Int32 value_borderColor_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_bottom_value_type = value_borderColor_value_1_bottom_value.selector; - if (value_borderColor_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_bottom_value_0 = value_borderColor_value_1_bottom_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_bottom_value_0)); - } - else if (value_borderColor_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_bottom_value_1 = value_borderColor_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1); - } - else if (value_borderColor_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_bottom_value_2 = value_borderColor_value_1_bottom_value.value2; - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2); - } - else if (value_borderColor_value_1_bottom_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_bottom_value_3 = value_borderColor_value_1_bottom_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3); - } - } - const auto value_borderColor_value_1_left = value_borderColor_value_1.left; - Ark_Int32 value_borderColor_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left); - valueSerializer.writeInt8(value_borderColor_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_left_type)) { - const auto value_borderColor_value_1_left_value = value_borderColor_value_1_left.value; - Ark_Int32 value_borderColor_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_left_value_type = value_borderColor_value_1_left_value.selector; - if (value_borderColor_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_left_value_0 = value_borderColor_value_1_left_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_left_value_0)); - } - else if (value_borderColor_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_left_value_1 = value_borderColor_value_1_left_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1); - } - else if (value_borderColor_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_left_value_2 = value_borderColor_value_1_left_value.value2; - valueSerializer.writeString(value_borderColor_value_1_left_value_2); - } - else if (value_borderColor_value_1_left_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_left_value_3 = value_borderColor_value_1_left_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_left_value_3); - } - } + valueSerializer.writeEdgeColors(value_borderColor_value_1); } else if (value_borderColor_value_type == 2) { valueSerializer.writeInt8(2); @@ -76150,6 +83067,78 @@ class Serializer : public SerializerBase { const auto value_hoverModeArea_value = value_hoverModeArea.value; valueSerializer.writeInt32(static_cast(value_hoverModeArea_value)); } + const auto value_onDidAppear = value.onDidAppear; + Ark_Int32 value_onDidAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDidAppear_type = runtimeType(value_onDidAppear); + valueSerializer.writeInt8(value_onDidAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDidAppear_type)) { + const auto value_onDidAppear_value = value_onDidAppear.value; + valueSerializer.writeCallbackResource(value_onDidAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDidAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDidAppear_value.callSync)); + } + const auto value_onDidDisappear = value.onDidDisappear; + Ark_Int32 value_onDidDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDidDisappear_type = runtimeType(value_onDidDisappear); + valueSerializer.writeInt8(value_onDidDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDidDisappear_type)) { + const auto value_onDidDisappear_value = value_onDidDisappear.value; + valueSerializer.writeCallbackResource(value_onDidDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDidDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDidDisappear_value.callSync)); + } + const auto value_onWillAppear = value.onWillAppear; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillAppear_type = runtimeType(value_onWillAppear); + valueSerializer.writeInt8(value_onWillAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillAppear_type)) { + const auto value_onWillAppear_value = value_onWillAppear.value; + valueSerializer.writeCallbackResource(value_onWillAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.callSync)); + } + const auto value_onWillDisappear = value.onWillDisappear; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillDisappear_type = runtimeType(value_onWillDisappear); + valueSerializer.writeInt8(value_onWillDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDisappear_type)) { + const auto value_onWillDisappear_value = value_onWillDisappear.value; + valueSerializer.writeCallbackResource(value_onWillDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.callSync)); + } + const auto value_levelMode = value.levelMode; + Ark_Int32 value_levelMode_type = INTEROP_RUNTIME_UNDEFINED; + value_levelMode_type = runtimeType(value_levelMode); + valueSerializer.writeInt8(value_levelMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelMode_type)) { + const auto value_levelMode_value = value_levelMode.value; + valueSerializer.writeLevelMode(value_levelMode_value); + } + const auto value_levelUniqueId = value.levelUniqueId; + Ark_Int32 value_levelUniqueId_type = INTEROP_RUNTIME_UNDEFINED; + value_levelUniqueId_type = runtimeType(value_levelUniqueId); + valueSerializer.writeInt8(value_levelUniqueId_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelUniqueId_type)) { + const auto value_levelUniqueId_value = value_levelUniqueId.value; + valueSerializer.writeNumber(value_levelUniqueId_value); + } + const auto value_immersiveMode = value.immersiveMode; + Ark_Int32 value_immersiveMode_type = INTEROP_RUNTIME_UNDEFINED; + value_immersiveMode_type = runtimeType(value_immersiveMode); + valueSerializer.writeInt8(value_immersiveMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_immersiveMode_type)) { + const auto value_immersiveMode_value = value_immersiveMode.value; + valueSerializer.writeImmersiveMode(value_immersiveMode_value); + } + const auto value_levelOrder = value.levelOrder; + Ark_Int32 value_levelOrder_type = INTEROP_RUNTIME_UNDEFINED; + value_levelOrder_type = runtimeType(value_levelOrder); + valueSerializer.writeInt8(value_levelOrder_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelOrder_type)) { + const auto value_levelOrder_value = value_levelOrder.value; + valueSerializer.writeLevelOrder(value_levelOrder_value); + } const auto value_confirm = value.confirm; Ark_Int32 value_confirm_type = INTEROP_RUNTIME_UNDEFINED; value_confirm_type = runtimeType(value_confirm); @@ -76245,42 +83234,7 @@ class Serializer : public SerializerBase { valueSerializer.writeInt8(value_offset_type); if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { const auto value_offset_value = value_offset.value; - const auto value_offset_value_dx = value_offset_value.dx; - Ark_Int32 value_offset_value_dx_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dx_type = value_offset_value_dx.selector; - if (value_offset_value_dx_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dx_0 = value_offset_value_dx.value0; - valueSerializer.writeString(value_offset_value_dx_0); - } - else if (value_offset_value_dx_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dx_1 = value_offset_value_dx.value1; - valueSerializer.writeNumber(value_offset_value_dx_1); - } - else if (value_offset_value_dx_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dx_2 = value_offset_value_dx.value2; - valueSerializer.writeResource(value_offset_value_dx_2); - } - const auto value_offset_value_dy = value_offset_value.dy; - Ark_Int32 value_offset_value_dy_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dy_type = value_offset_value_dy.selector; - if (value_offset_value_dy_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dy_0 = value_offset_value_dy.value0; - valueSerializer.writeString(value_offset_value_dy_0); - } - else if (value_offset_value_dy_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dy_1 = value_offset_value_dy.value1; - valueSerializer.writeNumber(value_offset_value_dy_1); - } - else if (value_offset_value_dy_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dy_2 = value_offset_value_dy.value2; - valueSerializer.writeResource(value_offset_value_dy_2); - } + valueSerializer.writeOffset(value_offset_value); } const auto value_gridCount = value.gridCount; Ark_Int32 value_gridCount_type = INTEROP_RUNTIME_UNDEFINED; @@ -76351,6 +83305,22 @@ class Serializer : public SerializerBase { const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } const auto value_onWillDismiss = value.onWillDismiss; Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); @@ -76401,102 +83371,7 @@ class Serializer : public SerializerBase { else if (value_cornerRadius_value_type == 1) { valueSerializer.writeInt8(1); const auto value_cornerRadius_value_1 = value_cornerRadius_value.value1; - const auto value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft; - Ark_Int32 value_cornerRadius_value_1_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft); - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const auto value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft.value; - Ark_Int32 value_cornerRadius_value_1_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topLeft_value_type = value_cornerRadius_value_1_topLeft_value.selector; - if (value_cornerRadius_value_1_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_topLeft_value_0 = value_cornerRadius_value_1_topLeft_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0); - } - else if (value_cornerRadius_value_1_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_topLeft_value_1 = value_cornerRadius_value_1_topLeft_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1); - } - else if (value_cornerRadius_value_1_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_topLeft_value_2 = value_cornerRadius_value_1_topLeft_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2); - } - } - const auto value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight; - Ark_Int32 value_cornerRadius_value_1_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight); - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const auto value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight.value; - Ark_Int32 value_cornerRadius_value_1_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topRight_value_type = value_cornerRadius_value_1_topRight_value.selector; - if (value_cornerRadius_value_1_topRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_topRight_value_0 = value_cornerRadius_value_1_topRight_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0); - } - else if (value_cornerRadius_value_1_topRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_topRight_value_1 = value_cornerRadius_value_1_topRight_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1); - } - else if (value_cornerRadius_value_1_topRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_topRight_value_2 = value_cornerRadius_value_1_topRight_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2); - } - } - const auto value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft); - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const auto value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft.value; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomLeft_value_type = value_cornerRadius_value_1_bottomLeft_value.selector; - if (value_cornerRadius_value_1_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_bottomLeft_value_0 = value_cornerRadius_value_1_bottomLeft_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0); - } - else if (value_cornerRadius_value_1_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_bottomLeft_value_1 = value_cornerRadius_value_1_bottomLeft_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1); - } - else if (value_cornerRadius_value_1_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_bottomLeft_value_2 = value_cornerRadius_value_1_bottomLeft_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2); - } - } - const auto value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight; - Ark_Int32 value_cornerRadius_value_1_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight); - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const auto value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight.value; - Ark_Int32 value_cornerRadius_value_1_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomRight_value_type = value_cornerRadius_value_1_bottomRight_value.selector; - if (value_cornerRadius_value_1_bottomRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_bottomRight_value_0 = value_cornerRadius_value_1_bottomRight_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0); - } - else if (value_cornerRadius_value_1_bottomRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_bottomRight_value_1 = value_cornerRadius_value_1_bottomRight_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1); - } - else if (value_cornerRadius_value_1_bottomRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_bottomRight_value_2 = value_cornerRadius_value_1_bottomRight_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2); - } - } + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1); } else if (value_cornerRadius_value_type == 2) { valueSerializer.writeInt8(2); @@ -76584,102 +83459,7 @@ class Serializer : public SerializerBase { else if (value_borderWidth_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderWidth_value_1 = value_borderWidth_value.value1; - const auto value_borderWidth_value_1_top = value_borderWidth_value_1.top; - Ark_Int32 value_borderWidth_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top); - valueSerializer.writeInt8(value_borderWidth_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const auto value_borderWidth_value_1_top_value = value_borderWidth_value_1_top.value; - Ark_Int32 value_borderWidth_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_top_value_type = value_borderWidth_value_1_top_value.selector; - if (value_borderWidth_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_top_value_0 = value_borderWidth_value_1_top_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_top_value_0); - } - else if (value_borderWidth_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_top_value_1 = value_borderWidth_value_1_top_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1); - } - else if (value_borderWidth_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_top_value_2 = value_borderWidth_value_1_top_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2); - } - } - const auto value_borderWidth_value_1_right = value_borderWidth_value_1.right; - Ark_Int32 value_borderWidth_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right); - valueSerializer.writeInt8(value_borderWidth_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const auto value_borderWidth_value_1_right_value = value_borderWidth_value_1_right.value; - Ark_Int32 value_borderWidth_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_right_value_type = value_borderWidth_value_1_right_value.selector; - if (value_borderWidth_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_right_value_0 = value_borderWidth_value_1_right_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_right_value_0); - } - else if (value_borderWidth_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_right_value_1 = value_borderWidth_value_1_right_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1); - } - else if (value_borderWidth_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_right_value_2 = value_borderWidth_value_1_right_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2); - } - } - const auto value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom; - Ark_Int32 value_borderWidth_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom); - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const auto value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom.value; - Ark_Int32 value_borderWidth_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_bottom_value_type = value_borderWidth_value_1_bottom_value.selector; - if (value_borderWidth_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_bottom_value_0 = value_borderWidth_value_1_bottom_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0); - } - else if (value_borderWidth_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_bottom_value_1 = value_borderWidth_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1); - } - else if (value_borderWidth_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_bottom_value_2 = value_borderWidth_value_1_bottom_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2); - } - } - const auto value_borderWidth_value_1_left = value_borderWidth_value_1.left; - Ark_Int32 value_borderWidth_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left); - valueSerializer.writeInt8(value_borderWidth_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const auto value_borderWidth_value_1_left_value = value_borderWidth_value_1_left.value; - Ark_Int32 value_borderWidth_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_left_value_type = value_borderWidth_value_1_left_value.selector; - if (value_borderWidth_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_left_value_0 = value_borderWidth_value_1_left_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_left_value_0); - } - else if (value_borderWidth_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_left_value_1 = value_borderWidth_value_1_left_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1); - } - else if (value_borderWidth_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_left_value_2 = value_borderWidth_value_1_left_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2); - } - } + valueSerializer.writeEdgeWidths(value_borderWidth_value_1); } else if (value_borderWidth_value_type == 2) { valueSerializer.writeInt8(2); @@ -76724,122 +83504,7 @@ class Serializer : public SerializerBase { else if (value_borderColor_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderColor_value_1 = value_borderColor_value.value1; - const auto value_borderColor_value_1_top = value_borderColor_value_1.top; - Ark_Int32 value_borderColor_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top); - valueSerializer.writeInt8(value_borderColor_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_top_type)) { - const auto value_borderColor_value_1_top_value = value_borderColor_value_1_top.value; - Ark_Int32 value_borderColor_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_top_value_type = value_borderColor_value_1_top_value.selector; - if (value_borderColor_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_top_value_0 = value_borderColor_value_1_top_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_top_value_0)); - } - else if (value_borderColor_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_top_value_1 = value_borderColor_value_1_top_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1); - } - else if (value_borderColor_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_top_value_2 = value_borderColor_value_1_top_value.value2; - valueSerializer.writeString(value_borderColor_value_1_top_value_2); - } - else if (value_borderColor_value_1_top_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_top_value_3 = value_borderColor_value_1_top_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_top_value_3); - } - } - const auto value_borderColor_value_1_right = value_borderColor_value_1.right; - Ark_Int32 value_borderColor_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right); - valueSerializer.writeInt8(value_borderColor_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_right_type)) { - const auto value_borderColor_value_1_right_value = value_borderColor_value_1_right.value; - Ark_Int32 value_borderColor_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_right_value_type = value_borderColor_value_1_right_value.selector; - if (value_borderColor_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_right_value_0 = value_borderColor_value_1_right_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_right_value_0)); - } - else if (value_borderColor_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_right_value_1 = value_borderColor_value_1_right_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1); - } - else if (value_borderColor_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_right_value_2 = value_borderColor_value_1_right_value.value2; - valueSerializer.writeString(value_borderColor_value_1_right_value_2); - } - else if (value_borderColor_value_1_right_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_right_value_3 = value_borderColor_value_1_right_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_right_value_3); - } - } - const auto value_borderColor_value_1_bottom = value_borderColor_value_1.bottom; - Ark_Int32 value_borderColor_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom); - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const auto value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom.value; - Ark_Int32 value_borderColor_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_bottom_value_type = value_borderColor_value_1_bottom_value.selector; - if (value_borderColor_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_bottom_value_0 = value_borderColor_value_1_bottom_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_bottom_value_0)); - } - else if (value_borderColor_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_bottom_value_1 = value_borderColor_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1); - } - else if (value_borderColor_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_bottom_value_2 = value_borderColor_value_1_bottom_value.value2; - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2); - } - else if (value_borderColor_value_1_bottom_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_bottom_value_3 = value_borderColor_value_1_bottom_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3); - } - } - const auto value_borderColor_value_1_left = value_borderColor_value_1.left; - Ark_Int32 value_borderColor_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left); - valueSerializer.writeInt8(value_borderColor_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_left_type)) { - const auto value_borderColor_value_1_left_value = value_borderColor_value_1_left.value; - Ark_Int32 value_borderColor_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_left_value_type = value_borderColor_value_1_left_value.selector; - if (value_borderColor_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_left_value_0 = value_borderColor_value_1_left_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_left_value_0)); - } - else if (value_borderColor_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_left_value_1 = value_borderColor_value_1_left_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1); - } - else if (value_borderColor_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_left_value_2 = value_borderColor_value_1_left_value.value2; - valueSerializer.writeString(value_borderColor_value_1_left_value_2); - } - else if (value_borderColor_value_1_left_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_left_value_3 = value_borderColor_value_1_left_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_left_value_3); - } - } + valueSerializer.writeEdgeColors(value_borderColor_value_1); } else if (value_borderColor_value_type == 2) { valueSerializer.writeInt8(2); @@ -76909,6 +83574,78 @@ class Serializer : public SerializerBase { const auto value_hoverModeArea_value = value_hoverModeArea.value; valueSerializer.writeInt32(static_cast(value_hoverModeArea_value)); } + const auto value_onDidAppear = value.onDidAppear; + Ark_Int32 value_onDidAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDidAppear_type = runtimeType(value_onDidAppear); + valueSerializer.writeInt8(value_onDidAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDidAppear_type)) { + const auto value_onDidAppear_value = value_onDidAppear.value; + valueSerializer.writeCallbackResource(value_onDidAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDidAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDidAppear_value.callSync)); + } + const auto value_onDidDisappear = value.onDidDisappear; + Ark_Int32 value_onDidDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDidDisappear_type = runtimeType(value_onDidDisappear); + valueSerializer.writeInt8(value_onDidDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDidDisappear_type)) { + const auto value_onDidDisappear_value = value_onDidDisappear.value; + valueSerializer.writeCallbackResource(value_onDidDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDidDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDidDisappear_value.callSync)); + } + const auto value_onWillAppear = value.onWillAppear; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillAppear_type = runtimeType(value_onWillAppear); + valueSerializer.writeInt8(value_onWillAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillAppear_type)) { + const auto value_onWillAppear_value = value_onWillAppear.value; + valueSerializer.writeCallbackResource(value_onWillAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.callSync)); + } + const auto value_onWillDisappear = value.onWillDisappear; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillDisappear_type = runtimeType(value_onWillDisappear); + valueSerializer.writeInt8(value_onWillDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDisappear_type)) { + const auto value_onWillDisappear_value = value_onWillDisappear.value; + valueSerializer.writeCallbackResource(value_onWillDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.callSync)); + } + const auto value_levelMode = value.levelMode; + Ark_Int32 value_levelMode_type = INTEROP_RUNTIME_UNDEFINED; + value_levelMode_type = runtimeType(value_levelMode); + valueSerializer.writeInt8(value_levelMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelMode_type)) { + const auto value_levelMode_value = value_levelMode.value; + valueSerializer.writeLevelMode(value_levelMode_value); + } + const auto value_levelUniqueId = value.levelUniqueId; + Ark_Int32 value_levelUniqueId_type = INTEROP_RUNTIME_UNDEFINED; + value_levelUniqueId_type = runtimeType(value_levelUniqueId); + valueSerializer.writeInt8(value_levelUniqueId_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelUniqueId_type)) { + const auto value_levelUniqueId_value = value_levelUniqueId.value; + valueSerializer.writeNumber(value_levelUniqueId_value); + } + const auto value_immersiveMode = value.immersiveMode; + Ark_Int32 value_immersiveMode_type = INTEROP_RUNTIME_UNDEFINED; + value_immersiveMode_type = runtimeType(value_immersiveMode); + valueSerializer.writeInt8(value_immersiveMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_immersiveMode_type)) { + const auto value_immersiveMode_value = value_immersiveMode.value; + valueSerializer.writeImmersiveMode(value_immersiveMode_value); + } + const auto value_levelOrder = value.levelOrder; + Ark_Int32 value_levelOrder_type = INTEROP_RUNTIME_UNDEFINED; + value_levelOrder_type = runtimeType(value_levelOrder); + valueSerializer.writeInt8(value_levelOrder_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelOrder_type)) { + const auto value_levelOrder_value = value_levelOrder.value; + valueSerializer.writeLevelOrder(value_levelOrder_value); + } const auto value_buttons = value.buttons; valueSerializer.writeInt32(value_buttons.length); for (int i = 0; i < value_buttons.length; i++) { @@ -77065,102 +83802,7 @@ class Serializer : public SerializerBase { else if (value_slice_value_type == 1) { valueSerializer.writeInt8(1); const auto value_slice_value_1 = value_slice_value.value1; - const auto value_slice_value_1_top = value_slice_value_1.top; - Ark_Int32 value_slice_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_1_top_type = runtimeType(value_slice_value_1_top); - valueSerializer.writeInt8(value_slice_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_slice_value_1_top_type)) { - const auto value_slice_value_1_top_value = value_slice_value_1_top.value; - Ark_Int32 value_slice_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_1_top_value_type = value_slice_value_1_top_value.selector; - if (value_slice_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_slice_value_1_top_value_0 = value_slice_value_1_top_value.value0; - valueSerializer.writeString(value_slice_value_1_top_value_0); - } - else if (value_slice_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_slice_value_1_top_value_1 = value_slice_value_1_top_value.value1; - valueSerializer.writeNumber(value_slice_value_1_top_value_1); - } - else if (value_slice_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_slice_value_1_top_value_2 = value_slice_value_1_top_value.value2; - valueSerializer.writeResource(value_slice_value_1_top_value_2); - } - } - const auto value_slice_value_1_right = value_slice_value_1.right; - Ark_Int32 value_slice_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_1_right_type = runtimeType(value_slice_value_1_right); - valueSerializer.writeInt8(value_slice_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_slice_value_1_right_type)) { - const auto value_slice_value_1_right_value = value_slice_value_1_right.value; - Ark_Int32 value_slice_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_1_right_value_type = value_slice_value_1_right_value.selector; - if (value_slice_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_slice_value_1_right_value_0 = value_slice_value_1_right_value.value0; - valueSerializer.writeString(value_slice_value_1_right_value_0); - } - else if (value_slice_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_slice_value_1_right_value_1 = value_slice_value_1_right_value.value1; - valueSerializer.writeNumber(value_slice_value_1_right_value_1); - } - else if (value_slice_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_slice_value_1_right_value_2 = value_slice_value_1_right_value.value2; - valueSerializer.writeResource(value_slice_value_1_right_value_2); - } - } - const auto value_slice_value_1_bottom = value_slice_value_1.bottom; - Ark_Int32 value_slice_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_1_bottom_type = runtimeType(value_slice_value_1_bottom); - valueSerializer.writeInt8(value_slice_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_slice_value_1_bottom_type)) { - const auto value_slice_value_1_bottom_value = value_slice_value_1_bottom.value; - Ark_Int32 value_slice_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_1_bottom_value_type = value_slice_value_1_bottom_value.selector; - if (value_slice_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_slice_value_1_bottom_value_0 = value_slice_value_1_bottom_value.value0; - valueSerializer.writeString(value_slice_value_1_bottom_value_0); - } - else if (value_slice_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_slice_value_1_bottom_value_1 = value_slice_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_slice_value_1_bottom_value_1); - } - else if (value_slice_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_slice_value_1_bottom_value_2 = value_slice_value_1_bottom_value.value2; - valueSerializer.writeResource(value_slice_value_1_bottom_value_2); - } - } - const auto value_slice_value_1_left = value_slice_value_1.left; - Ark_Int32 value_slice_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_1_left_type = runtimeType(value_slice_value_1_left); - valueSerializer.writeInt8(value_slice_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_slice_value_1_left_type)) { - const auto value_slice_value_1_left_value = value_slice_value_1_left.value; - Ark_Int32 value_slice_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_1_left_value_type = value_slice_value_1_left_value.selector; - if (value_slice_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_slice_value_1_left_value_0 = value_slice_value_1_left_value.value0; - valueSerializer.writeString(value_slice_value_1_left_value_0); - } - else if (value_slice_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_slice_value_1_left_value_1 = value_slice_value_1_left_value.value1; - valueSerializer.writeNumber(value_slice_value_1_left_value_1); - } - else if (value_slice_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_slice_value_1_left_value_2 = value_slice_value_1_left_value.value2; - valueSerializer.writeResource(value_slice_value_1_left_value_2); - } - } + valueSerializer.writeEdgeWidths(value_slice_value_1); } else if (value_slice_value_type == 2) { valueSerializer.writeInt8(2); @@ -77232,102 +83874,7 @@ class Serializer : public SerializerBase { else if (value_width_value_type == 1) { valueSerializer.writeInt8(1); const auto value_width_value_1 = value_width_value.value1; - const auto value_width_value_1_top = value_width_value_1.top; - Ark_Int32 value_width_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_1_top_type = runtimeType(value_width_value_1_top); - valueSerializer.writeInt8(value_width_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_value_1_top_type)) { - const auto value_width_value_1_top_value = value_width_value_1_top.value; - Ark_Int32 value_width_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_1_top_value_type = value_width_value_1_top_value.selector; - if (value_width_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_width_value_1_top_value_0 = value_width_value_1_top_value.value0; - valueSerializer.writeString(value_width_value_1_top_value_0); - } - else if (value_width_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_width_value_1_top_value_1 = value_width_value_1_top_value.value1; - valueSerializer.writeNumber(value_width_value_1_top_value_1); - } - else if (value_width_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_1_top_value_2 = value_width_value_1_top_value.value2; - valueSerializer.writeResource(value_width_value_1_top_value_2); - } - } - const auto value_width_value_1_right = value_width_value_1.right; - Ark_Int32 value_width_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_1_right_type = runtimeType(value_width_value_1_right); - valueSerializer.writeInt8(value_width_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_value_1_right_type)) { - const auto value_width_value_1_right_value = value_width_value_1_right.value; - Ark_Int32 value_width_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_1_right_value_type = value_width_value_1_right_value.selector; - if (value_width_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_width_value_1_right_value_0 = value_width_value_1_right_value.value0; - valueSerializer.writeString(value_width_value_1_right_value_0); - } - else if (value_width_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_width_value_1_right_value_1 = value_width_value_1_right_value.value1; - valueSerializer.writeNumber(value_width_value_1_right_value_1); - } - else if (value_width_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_1_right_value_2 = value_width_value_1_right_value.value2; - valueSerializer.writeResource(value_width_value_1_right_value_2); - } - } - const auto value_width_value_1_bottom = value_width_value_1.bottom; - Ark_Int32 value_width_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_1_bottom_type = runtimeType(value_width_value_1_bottom); - valueSerializer.writeInt8(value_width_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_value_1_bottom_type)) { - const auto value_width_value_1_bottom_value = value_width_value_1_bottom.value; - Ark_Int32 value_width_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_1_bottom_value_type = value_width_value_1_bottom_value.selector; - if (value_width_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_width_value_1_bottom_value_0 = value_width_value_1_bottom_value.value0; - valueSerializer.writeString(value_width_value_1_bottom_value_0); - } - else if (value_width_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_width_value_1_bottom_value_1 = value_width_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_width_value_1_bottom_value_1); - } - else if (value_width_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_1_bottom_value_2 = value_width_value_1_bottom_value.value2; - valueSerializer.writeResource(value_width_value_1_bottom_value_2); - } - } - const auto value_width_value_1_left = value_width_value_1.left; - Ark_Int32 value_width_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_1_left_type = runtimeType(value_width_value_1_left); - valueSerializer.writeInt8(value_width_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_value_1_left_type)) { - const auto value_width_value_1_left_value = value_width_value_1_left.value; - Ark_Int32 value_width_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_1_left_value_type = value_width_value_1_left_value.selector; - if (value_width_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_width_value_1_left_value_0 = value_width_value_1_left_value.value0; - valueSerializer.writeString(value_width_value_1_left_value_0); - } - else if (value_width_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_width_value_1_left_value_1 = value_width_value_1_left_value.value1; - valueSerializer.writeNumber(value_width_value_1_left_value_1); - } - else if (value_width_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_1_left_value_2 = value_width_value_1_left_value.value2; - valueSerializer.writeResource(value_width_value_1_left_value_2); - } - } + valueSerializer.writeEdgeWidths(value_width_value_1); } else if (value_width_value_type == 2) { valueSerializer.writeInt8(2); @@ -77367,102 +83914,7 @@ class Serializer : public SerializerBase { else if (value_outset_value_type == 1) { valueSerializer.writeInt8(1); const auto value_outset_value_1 = value_outset_value.value1; - const auto value_outset_value_1_top = value_outset_value_1.top; - Ark_Int32 value_outset_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_outset_value_1_top_type = runtimeType(value_outset_value_1_top); - valueSerializer.writeInt8(value_outset_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_outset_value_1_top_type)) { - const auto value_outset_value_1_top_value = value_outset_value_1_top.value; - Ark_Int32 value_outset_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_outset_value_1_top_value_type = value_outset_value_1_top_value.selector; - if (value_outset_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_outset_value_1_top_value_0 = value_outset_value_1_top_value.value0; - valueSerializer.writeString(value_outset_value_1_top_value_0); - } - else if (value_outset_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_outset_value_1_top_value_1 = value_outset_value_1_top_value.value1; - valueSerializer.writeNumber(value_outset_value_1_top_value_1); - } - else if (value_outset_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_outset_value_1_top_value_2 = value_outset_value_1_top_value.value2; - valueSerializer.writeResource(value_outset_value_1_top_value_2); - } - } - const auto value_outset_value_1_right = value_outset_value_1.right; - Ark_Int32 value_outset_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_outset_value_1_right_type = runtimeType(value_outset_value_1_right); - valueSerializer.writeInt8(value_outset_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_outset_value_1_right_type)) { - const auto value_outset_value_1_right_value = value_outset_value_1_right.value; - Ark_Int32 value_outset_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_outset_value_1_right_value_type = value_outset_value_1_right_value.selector; - if (value_outset_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_outset_value_1_right_value_0 = value_outset_value_1_right_value.value0; - valueSerializer.writeString(value_outset_value_1_right_value_0); - } - else if (value_outset_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_outset_value_1_right_value_1 = value_outset_value_1_right_value.value1; - valueSerializer.writeNumber(value_outset_value_1_right_value_1); - } - else if (value_outset_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_outset_value_1_right_value_2 = value_outset_value_1_right_value.value2; - valueSerializer.writeResource(value_outset_value_1_right_value_2); - } - } - const auto value_outset_value_1_bottom = value_outset_value_1.bottom; - Ark_Int32 value_outset_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_outset_value_1_bottom_type = runtimeType(value_outset_value_1_bottom); - valueSerializer.writeInt8(value_outset_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_outset_value_1_bottom_type)) { - const auto value_outset_value_1_bottom_value = value_outset_value_1_bottom.value; - Ark_Int32 value_outset_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_outset_value_1_bottom_value_type = value_outset_value_1_bottom_value.selector; - if (value_outset_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_outset_value_1_bottom_value_0 = value_outset_value_1_bottom_value.value0; - valueSerializer.writeString(value_outset_value_1_bottom_value_0); - } - else if (value_outset_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_outset_value_1_bottom_value_1 = value_outset_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_outset_value_1_bottom_value_1); - } - else if (value_outset_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_outset_value_1_bottom_value_2 = value_outset_value_1_bottom_value.value2; - valueSerializer.writeResource(value_outset_value_1_bottom_value_2); - } - } - const auto value_outset_value_1_left = value_outset_value_1.left; - Ark_Int32 value_outset_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_outset_value_1_left_type = runtimeType(value_outset_value_1_left); - valueSerializer.writeInt8(value_outset_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_outset_value_1_left_type)) { - const auto value_outset_value_1_left_value = value_outset_value_1_left.value; - Ark_Int32 value_outset_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_outset_value_1_left_value_type = value_outset_value_1_left_value.selector; - if (value_outset_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_outset_value_1_left_value_0 = value_outset_value_1_left_value.value0; - valueSerializer.writeString(value_outset_value_1_left_value_0); - } - else if (value_outset_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_outset_value_1_left_value_1 = value_outset_value_1_left_value.value1; - valueSerializer.writeNumber(value_outset_value_1_left_value_1); - } - else if (value_outset_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_outset_value_1_left_value_2 = value_outset_value_1_left_value.value2; - valueSerializer.writeResource(value_outset_value_1_left_value_2); - } - } + valueSerializer.writeEdgeWidths(value_outset_value_1); } else if (value_outset_value_type == 2) { valueSerializer.writeInt8(2); @@ -77493,102 +83945,7 @@ class Serializer : public SerializerBase { if (value_width_value_type == 0) { valueSerializer.writeInt8(0); const auto value_width_value_0 = value_width_value.value0; - const auto value_width_value_0_top = value_width_value_0.top; - Ark_Int32 value_width_value_0_top_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_top_type = runtimeType(value_width_value_0_top); - valueSerializer.writeInt8(value_width_value_0_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_value_0_top_type)) { - const auto value_width_value_0_top_value = value_width_value_0_top.value; - Ark_Int32 value_width_value_0_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_top_value_type = value_width_value_0_top_value.selector; - if (value_width_value_0_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_width_value_0_top_value_0 = value_width_value_0_top_value.value0; - valueSerializer.writeString(value_width_value_0_top_value_0); - } - else if (value_width_value_0_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_width_value_0_top_value_1 = value_width_value_0_top_value.value1; - valueSerializer.writeNumber(value_width_value_0_top_value_1); - } - else if (value_width_value_0_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_0_top_value_2 = value_width_value_0_top_value.value2; - valueSerializer.writeResource(value_width_value_0_top_value_2); - } - } - const auto value_width_value_0_right = value_width_value_0.right; - Ark_Int32 value_width_value_0_right_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_right_type = runtimeType(value_width_value_0_right); - valueSerializer.writeInt8(value_width_value_0_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_value_0_right_type)) { - const auto value_width_value_0_right_value = value_width_value_0_right.value; - Ark_Int32 value_width_value_0_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_right_value_type = value_width_value_0_right_value.selector; - if (value_width_value_0_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_width_value_0_right_value_0 = value_width_value_0_right_value.value0; - valueSerializer.writeString(value_width_value_0_right_value_0); - } - else if (value_width_value_0_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_width_value_0_right_value_1 = value_width_value_0_right_value.value1; - valueSerializer.writeNumber(value_width_value_0_right_value_1); - } - else if (value_width_value_0_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_0_right_value_2 = value_width_value_0_right_value.value2; - valueSerializer.writeResource(value_width_value_0_right_value_2); - } - } - const auto value_width_value_0_bottom = value_width_value_0.bottom; - Ark_Int32 value_width_value_0_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_bottom_type = runtimeType(value_width_value_0_bottom); - valueSerializer.writeInt8(value_width_value_0_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_value_0_bottom_type)) { - const auto value_width_value_0_bottom_value = value_width_value_0_bottom.value; - Ark_Int32 value_width_value_0_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_bottom_value_type = value_width_value_0_bottom_value.selector; - if (value_width_value_0_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_width_value_0_bottom_value_0 = value_width_value_0_bottom_value.value0; - valueSerializer.writeString(value_width_value_0_bottom_value_0); - } - else if (value_width_value_0_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_width_value_0_bottom_value_1 = value_width_value_0_bottom_value.value1; - valueSerializer.writeNumber(value_width_value_0_bottom_value_1); - } - else if (value_width_value_0_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_0_bottom_value_2 = value_width_value_0_bottom_value.value2; - valueSerializer.writeResource(value_width_value_0_bottom_value_2); - } - } - const auto value_width_value_0_left = value_width_value_0.left; - Ark_Int32 value_width_value_0_left_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_left_type = runtimeType(value_width_value_0_left); - valueSerializer.writeInt8(value_width_value_0_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_value_0_left_type)) { - const auto value_width_value_0_left_value = value_width_value_0_left.value; - Ark_Int32 value_width_value_0_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_left_value_type = value_width_value_0_left_value.selector; - if (value_width_value_0_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_width_value_0_left_value_0 = value_width_value_0_left_value.value0; - valueSerializer.writeString(value_width_value_0_left_value_0); - } - else if (value_width_value_0_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_width_value_0_left_value_1 = value_width_value_0_left_value.value1; - valueSerializer.writeNumber(value_width_value_0_left_value_1); - } - else if (value_width_value_0_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_0_left_value_2 = value_width_value_0_left_value.value2; - valueSerializer.writeResource(value_width_value_0_left_value_2); - } - } + valueSerializer.writeEdgeWidths(value_width_value_0); } else if ((value_width_value_type == 1) || (value_width_value_type == 1) || (value_width_value_type == 1)) { valueSerializer.writeInt8(1); @@ -77628,122 +83985,7 @@ class Serializer : public SerializerBase { if (value_color_value_type == 0) { valueSerializer.writeInt8(0); const auto value_color_value_0 = value_color_value.value0; - const auto value_color_value_0_top = value_color_value_0.top; - Ark_Int32 value_color_value_0_top_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_top_type = runtimeType(value_color_value_0_top); - valueSerializer.writeInt8(value_color_value_0_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_value_0_top_type)) { - const auto value_color_value_0_top_value = value_color_value_0_top.value; - Ark_Int32 value_color_value_0_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_top_value_type = value_color_value_0_top_value.selector; - if (value_color_value_0_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_color_value_0_top_value_0 = value_color_value_0_top_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0_top_value_0)); - } - else if (value_color_value_0_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_color_value_0_top_value_1 = value_color_value_0_top_value.value1; - valueSerializer.writeNumber(value_color_value_0_top_value_1); - } - else if (value_color_value_0_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_value_0_top_value_2 = value_color_value_0_top_value.value2; - valueSerializer.writeString(value_color_value_0_top_value_2); - } - else if (value_color_value_0_top_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_0_top_value_3 = value_color_value_0_top_value.value3; - valueSerializer.writeResource(value_color_value_0_top_value_3); - } - } - const auto value_color_value_0_right = value_color_value_0.right; - Ark_Int32 value_color_value_0_right_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_right_type = runtimeType(value_color_value_0_right); - valueSerializer.writeInt8(value_color_value_0_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_value_0_right_type)) { - const auto value_color_value_0_right_value = value_color_value_0_right.value; - Ark_Int32 value_color_value_0_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_right_value_type = value_color_value_0_right_value.selector; - if (value_color_value_0_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_color_value_0_right_value_0 = value_color_value_0_right_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0_right_value_0)); - } - else if (value_color_value_0_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_color_value_0_right_value_1 = value_color_value_0_right_value.value1; - valueSerializer.writeNumber(value_color_value_0_right_value_1); - } - else if (value_color_value_0_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_value_0_right_value_2 = value_color_value_0_right_value.value2; - valueSerializer.writeString(value_color_value_0_right_value_2); - } - else if (value_color_value_0_right_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_0_right_value_3 = value_color_value_0_right_value.value3; - valueSerializer.writeResource(value_color_value_0_right_value_3); - } - } - const auto value_color_value_0_bottom = value_color_value_0.bottom; - Ark_Int32 value_color_value_0_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_bottom_type = runtimeType(value_color_value_0_bottom); - valueSerializer.writeInt8(value_color_value_0_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_value_0_bottom_type)) { - const auto value_color_value_0_bottom_value = value_color_value_0_bottom.value; - Ark_Int32 value_color_value_0_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_bottom_value_type = value_color_value_0_bottom_value.selector; - if (value_color_value_0_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_color_value_0_bottom_value_0 = value_color_value_0_bottom_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0_bottom_value_0)); - } - else if (value_color_value_0_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_color_value_0_bottom_value_1 = value_color_value_0_bottom_value.value1; - valueSerializer.writeNumber(value_color_value_0_bottom_value_1); - } - else if (value_color_value_0_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_value_0_bottom_value_2 = value_color_value_0_bottom_value.value2; - valueSerializer.writeString(value_color_value_0_bottom_value_2); - } - else if (value_color_value_0_bottom_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_0_bottom_value_3 = value_color_value_0_bottom_value.value3; - valueSerializer.writeResource(value_color_value_0_bottom_value_3); - } - } - const auto value_color_value_0_left = value_color_value_0.left; - Ark_Int32 value_color_value_0_left_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_left_type = runtimeType(value_color_value_0_left); - valueSerializer.writeInt8(value_color_value_0_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_value_0_left_type)) { - const auto value_color_value_0_left_value = value_color_value_0_left.value; - Ark_Int32 value_color_value_0_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_left_value_type = value_color_value_0_left_value.selector; - if (value_color_value_0_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_color_value_0_left_value_0 = value_color_value_0_left_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0_left_value_0)); - } - else if (value_color_value_0_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_color_value_0_left_value_1 = value_color_value_0_left_value.value1; - valueSerializer.writeNumber(value_color_value_0_left_value_1); - } - else if (value_color_value_0_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_value_0_left_value_2 = value_color_value_0_left_value.value2; - valueSerializer.writeString(value_color_value_0_left_value_2); - } - else if (value_color_value_0_left_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_0_left_value_3 = value_color_value_0_left_value.value3; - valueSerializer.writeResource(value_color_value_0_left_value_3); - } - } + valueSerializer.writeEdgeColors(value_color_value_0); } else if ((value_color_value_type == 1) || (value_color_value_type == 1) || (value_color_value_type == 1) || (value_color_value_type == 1)) { valueSerializer.writeInt8(1); @@ -77788,102 +84030,7 @@ class Serializer : public SerializerBase { if (value_radius_value_type == 0) { valueSerializer.writeInt8(0); const auto value_radius_value_0 = value_radius_value.value0; - const auto value_radius_value_0_topLeft = value_radius_value_0.topLeft; - Ark_Int32 value_radius_value_0_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_topLeft_type = runtimeType(value_radius_value_0_topLeft); - valueSerializer.writeInt8(value_radius_value_0_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_value_0_topLeft_type)) { - const auto value_radius_value_0_topLeft_value = value_radius_value_0_topLeft.value; - Ark_Int32 value_radius_value_0_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_topLeft_value_type = value_radius_value_0_topLeft_value.selector; - if (value_radius_value_0_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_0_topLeft_value_0 = value_radius_value_0_topLeft_value.value0; - valueSerializer.writeString(value_radius_value_0_topLeft_value_0); - } - else if (value_radius_value_0_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_0_topLeft_value_1 = value_radius_value_0_topLeft_value.value1; - valueSerializer.writeNumber(value_radius_value_0_topLeft_value_1); - } - else if (value_radius_value_0_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_radius_value_0_topLeft_value_2 = value_radius_value_0_topLeft_value.value2; - valueSerializer.writeResource(value_radius_value_0_topLeft_value_2); - } - } - const auto value_radius_value_0_topRight = value_radius_value_0.topRight; - Ark_Int32 value_radius_value_0_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_topRight_type = runtimeType(value_radius_value_0_topRight); - valueSerializer.writeInt8(value_radius_value_0_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_value_0_topRight_type)) { - const auto value_radius_value_0_topRight_value = value_radius_value_0_topRight.value; - Ark_Int32 value_radius_value_0_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_topRight_value_type = value_radius_value_0_topRight_value.selector; - if (value_radius_value_0_topRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_0_topRight_value_0 = value_radius_value_0_topRight_value.value0; - valueSerializer.writeString(value_radius_value_0_topRight_value_0); - } - else if (value_radius_value_0_topRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_0_topRight_value_1 = value_radius_value_0_topRight_value.value1; - valueSerializer.writeNumber(value_radius_value_0_topRight_value_1); - } - else if (value_radius_value_0_topRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_radius_value_0_topRight_value_2 = value_radius_value_0_topRight_value.value2; - valueSerializer.writeResource(value_radius_value_0_topRight_value_2); - } - } - const auto value_radius_value_0_bottomLeft = value_radius_value_0.bottomLeft; - Ark_Int32 value_radius_value_0_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_bottomLeft_type = runtimeType(value_radius_value_0_bottomLeft); - valueSerializer.writeInt8(value_radius_value_0_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_value_0_bottomLeft_type)) { - const auto value_radius_value_0_bottomLeft_value = value_radius_value_0_bottomLeft.value; - Ark_Int32 value_radius_value_0_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_bottomLeft_value_type = value_radius_value_0_bottomLeft_value.selector; - if (value_radius_value_0_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_0_bottomLeft_value_0 = value_radius_value_0_bottomLeft_value.value0; - valueSerializer.writeString(value_radius_value_0_bottomLeft_value_0); - } - else if (value_radius_value_0_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_0_bottomLeft_value_1 = value_radius_value_0_bottomLeft_value.value1; - valueSerializer.writeNumber(value_radius_value_0_bottomLeft_value_1); - } - else if (value_radius_value_0_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_radius_value_0_bottomLeft_value_2 = value_radius_value_0_bottomLeft_value.value2; - valueSerializer.writeResource(value_radius_value_0_bottomLeft_value_2); - } - } - const auto value_radius_value_0_bottomRight = value_radius_value_0.bottomRight; - Ark_Int32 value_radius_value_0_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_bottomRight_type = runtimeType(value_radius_value_0_bottomRight); - valueSerializer.writeInt8(value_radius_value_0_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_value_0_bottomRight_type)) { - const auto value_radius_value_0_bottomRight_value = value_radius_value_0_bottomRight.value; - Ark_Int32 value_radius_value_0_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_bottomRight_value_type = value_radius_value_0_bottomRight_value.selector; - if (value_radius_value_0_bottomRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_0_bottomRight_value_0 = value_radius_value_0_bottomRight_value.value0; - valueSerializer.writeString(value_radius_value_0_bottomRight_value_0); - } - else if (value_radius_value_0_bottomRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_0_bottomRight_value_1 = value_radius_value_0_bottomRight_value.value1; - valueSerializer.writeNumber(value_radius_value_0_bottomRight_value_1); - } - else if (value_radius_value_0_bottomRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_radius_value_0_bottomRight_value_2 = value_radius_value_0_bottomRight_value.value2; - valueSerializer.writeResource(value_radius_value_0_bottomRight_value_2); - } - } + valueSerializer.writeBorderRadiuses(value_radius_value_0); } else if ((value_radius_value_type == 1) || (value_radius_value_type == 1) || (value_radius_value_type == 1)) { valueSerializer.writeInt8(1); @@ -77942,102 +84089,7 @@ class Serializer : public SerializerBase { if (value_dashGap_value_type == 0) { valueSerializer.writeInt8(0); const auto value_dashGap_value_0 = value_dashGap_value.value0; - const auto value_dashGap_value_0_top = value_dashGap_value_0.top; - Ark_Int32 value_dashGap_value_0_top_type = INTEROP_RUNTIME_UNDEFINED; - value_dashGap_value_0_top_type = runtimeType(value_dashGap_value_0_top); - valueSerializer.writeInt8(value_dashGap_value_0_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dashGap_value_0_top_type)) { - const auto value_dashGap_value_0_top_value = value_dashGap_value_0_top.value; - Ark_Int32 value_dashGap_value_0_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_dashGap_value_0_top_value_type = value_dashGap_value_0_top_value.selector; - if (value_dashGap_value_0_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_dashGap_value_0_top_value_0 = value_dashGap_value_0_top_value.value0; - valueSerializer.writeString(value_dashGap_value_0_top_value_0); - } - else if (value_dashGap_value_0_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_dashGap_value_0_top_value_1 = value_dashGap_value_0_top_value.value1; - valueSerializer.writeNumber(value_dashGap_value_0_top_value_1); - } - else if (value_dashGap_value_0_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_dashGap_value_0_top_value_2 = value_dashGap_value_0_top_value.value2; - valueSerializer.writeResource(value_dashGap_value_0_top_value_2); - } - } - const auto value_dashGap_value_0_right = value_dashGap_value_0.right; - Ark_Int32 value_dashGap_value_0_right_type = INTEROP_RUNTIME_UNDEFINED; - value_dashGap_value_0_right_type = runtimeType(value_dashGap_value_0_right); - valueSerializer.writeInt8(value_dashGap_value_0_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dashGap_value_0_right_type)) { - const auto value_dashGap_value_0_right_value = value_dashGap_value_0_right.value; - Ark_Int32 value_dashGap_value_0_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_dashGap_value_0_right_value_type = value_dashGap_value_0_right_value.selector; - if (value_dashGap_value_0_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_dashGap_value_0_right_value_0 = value_dashGap_value_0_right_value.value0; - valueSerializer.writeString(value_dashGap_value_0_right_value_0); - } - else if (value_dashGap_value_0_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_dashGap_value_0_right_value_1 = value_dashGap_value_0_right_value.value1; - valueSerializer.writeNumber(value_dashGap_value_0_right_value_1); - } - else if (value_dashGap_value_0_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_dashGap_value_0_right_value_2 = value_dashGap_value_0_right_value.value2; - valueSerializer.writeResource(value_dashGap_value_0_right_value_2); - } - } - const auto value_dashGap_value_0_bottom = value_dashGap_value_0.bottom; - Ark_Int32 value_dashGap_value_0_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_dashGap_value_0_bottom_type = runtimeType(value_dashGap_value_0_bottom); - valueSerializer.writeInt8(value_dashGap_value_0_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dashGap_value_0_bottom_type)) { - const auto value_dashGap_value_0_bottom_value = value_dashGap_value_0_bottom.value; - Ark_Int32 value_dashGap_value_0_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_dashGap_value_0_bottom_value_type = value_dashGap_value_0_bottom_value.selector; - if (value_dashGap_value_0_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_dashGap_value_0_bottom_value_0 = value_dashGap_value_0_bottom_value.value0; - valueSerializer.writeString(value_dashGap_value_0_bottom_value_0); - } - else if (value_dashGap_value_0_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_dashGap_value_0_bottom_value_1 = value_dashGap_value_0_bottom_value.value1; - valueSerializer.writeNumber(value_dashGap_value_0_bottom_value_1); - } - else if (value_dashGap_value_0_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_dashGap_value_0_bottom_value_2 = value_dashGap_value_0_bottom_value.value2; - valueSerializer.writeResource(value_dashGap_value_0_bottom_value_2); - } - } - const auto value_dashGap_value_0_left = value_dashGap_value_0.left; - Ark_Int32 value_dashGap_value_0_left_type = INTEROP_RUNTIME_UNDEFINED; - value_dashGap_value_0_left_type = runtimeType(value_dashGap_value_0_left); - valueSerializer.writeInt8(value_dashGap_value_0_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dashGap_value_0_left_type)) { - const auto value_dashGap_value_0_left_value = value_dashGap_value_0_left.value; - Ark_Int32 value_dashGap_value_0_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_dashGap_value_0_left_value_type = value_dashGap_value_0_left_value.selector; - if (value_dashGap_value_0_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_dashGap_value_0_left_value_0 = value_dashGap_value_0_left_value.value0; - valueSerializer.writeString(value_dashGap_value_0_left_value_0); - } - else if (value_dashGap_value_0_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_dashGap_value_0_left_value_1 = value_dashGap_value_0_left_value.value1; - valueSerializer.writeNumber(value_dashGap_value_0_left_value_1); - } - else if (value_dashGap_value_0_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_dashGap_value_0_left_value_2 = value_dashGap_value_0_left_value.value2; - valueSerializer.writeResource(value_dashGap_value_0_left_value_2); - } - } + valueSerializer.writeEdgeWidths(value_dashGap_value_0); } else if (value_dashGap_value_type == 1) { valueSerializer.writeInt8(1); @@ -78061,102 +84113,7 @@ class Serializer : public SerializerBase { if (value_dashWidth_value_type == 0) { valueSerializer.writeInt8(0); const auto value_dashWidth_value_0 = value_dashWidth_value.value0; - const auto value_dashWidth_value_0_top = value_dashWidth_value_0.top; - Ark_Int32 value_dashWidth_value_0_top_type = INTEROP_RUNTIME_UNDEFINED; - value_dashWidth_value_0_top_type = runtimeType(value_dashWidth_value_0_top); - valueSerializer.writeInt8(value_dashWidth_value_0_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dashWidth_value_0_top_type)) { - const auto value_dashWidth_value_0_top_value = value_dashWidth_value_0_top.value; - Ark_Int32 value_dashWidth_value_0_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_dashWidth_value_0_top_value_type = value_dashWidth_value_0_top_value.selector; - if (value_dashWidth_value_0_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_dashWidth_value_0_top_value_0 = value_dashWidth_value_0_top_value.value0; - valueSerializer.writeString(value_dashWidth_value_0_top_value_0); - } - else if (value_dashWidth_value_0_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_dashWidth_value_0_top_value_1 = value_dashWidth_value_0_top_value.value1; - valueSerializer.writeNumber(value_dashWidth_value_0_top_value_1); - } - else if (value_dashWidth_value_0_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_dashWidth_value_0_top_value_2 = value_dashWidth_value_0_top_value.value2; - valueSerializer.writeResource(value_dashWidth_value_0_top_value_2); - } - } - const auto value_dashWidth_value_0_right = value_dashWidth_value_0.right; - Ark_Int32 value_dashWidth_value_0_right_type = INTEROP_RUNTIME_UNDEFINED; - value_dashWidth_value_0_right_type = runtimeType(value_dashWidth_value_0_right); - valueSerializer.writeInt8(value_dashWidth_value_0_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dashWidth_value_0_right_type)) { - const auto value_dashWidth_value_0_right_value = value_dashWidth_value_0_right.value; - Ark_Int32 value_dashWidth_value_0_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_dashWidth_value_0_right_value_type = value_dashWidth_value_0_right_value.selector; - if (value_dashWidth_value_0_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_dashWidth_value_0_right_value_0 = value_dashWidth_value_0_right_value.value0; - valueSerializer.writeString(value_dashWidth_value_0_right_value_0); - } - else if (value_dashWidth_value_0_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_dashWidth_value_0_right_value_1 = value_dashWidth_value_0_right_value.value1; - valueSerializer.writeNumber(value_dashWidth_value_0_right_value_1); - } - else if (value_dashWidth_value_0_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_dashWidth_value_0_right_value_2 = value_dashWidth_value_0_right_value.value2; - valueSerializer.writeResource(value_dashWidth_value_0_right_value_2); - } - } - const auto value_dashWidth_value_0_bottom = value_dashWidth_value_0.bottom; - Ark_Int32 value_dashWidth_value_0_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_dashWidth_value_0_bottom_type = runtimeType(value_dashWidth_value_0_bottom); - valueSerializer.writeInt8(value_dashWidth_value_0_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dashWidth_value_0_bottom_type)) { - const auto value_dashWidth_value_0_bottom_value = value_dashWidth_value_0_bottom.value; - Ark_Int32 value_dashWidth_value_0_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_dashWidth_value_0_bottom_value_type = value_dashWidth_value_0_bottom_value.selector; - if (value_dashWidth_value_0_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_dashWidth_value_0_bottom_value_0 = value_dashWidth_value_0_bottom_value.value0; - valueSerializer.writeString(value_dashWidth_value_0_bottom_value_0); - } - else if (value_dashWidth_value_0_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_dashWidth_value_0_bottom_value_1 = value_dashWidth_value_0_bottom_value.value1; - valueSerializer.writeNumber(value_dashWidth_value_0_bottom_value_1); - } - else if (value_dashWidth_value_0_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_dashWidth_value_0_bottom_value_2 = value_dashWidth_value_0_bottom_value.value2; - valueSerializer.writeResource(value_dashWidth_value_0_bottom_value_2); - } - } - const auto value_dashWidth_value_0_left = value_dashWidth_value_0.left; - Ark_Int32 value_dashWidth_value_0_left_type = INTEROP_RUNTIME_UNDEFINED; - value_dashWidth_value_0_left_type = runtimeType(value_dashWidth_value_0_left); - valueSerializer.writeInt8(value_dashWidth_value_0_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dashWidth_value_0_left_type)) { - const auto value_dashWidth_value_0_left_value = value_dashWidth_value_0_left.value; - Ark_Int32 value_dashWidth_value_0_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_dashWidth_value_0_left_value_type = value_dashWidth_value_0_left_value.selector; - if (value_dashWidth_value_0_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_dashWidth_value_0_left_value_0 = value_dashWidth_value_0_left_value.value0; - valueSerializer.writeString(value_dashWidth_value_0_left_value_0); - } - else if (value_dashWidth_value_0_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_dashWidth_value_0_left_value_1 = value_dashWidth_value_0_left_value.value1; - valueSerializer.writeNumber(value_dashWidth_value_0_left_value_1); - } - else if (value_dashWidth_value_0_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_dashWidth_value_0_left_value_2 = value_dashWidth_value_0_left_value.value2; - valueSerializer.writeResource(value_dashWidth_value_0_left_value_2); - } - } + valueSerializer.writeEdgeWidths(value_dashWidth_value_0); } else if (value_dashWidth_value_type == 1) { valueSerializer.writeInt8(1); @@ -78170,50 +84127,6 @@ class Serializer : public SerializerBase { } } } - void writeButtonStyle(Ark_ButtonStyle value) - { - Serializer& valueSerializer = *this; - const auto value_left = value.left; - Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; - value_left_type = runtimeType(value_left); - valueSerializer.writeInt8(value_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { - const auto value_left_value = value_left.value; - valueSerializer.writeNumber(value_left_value); - } - const auto value_top = value.top; - Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_top_type = runtimeType(value_top); - valueSerializer.writeInt8(value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { - const auto value_top_value = value_top.value; - valueSerializer.writeNumber(value_top_value); - } - const auto value_width = value.width; - Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; - value_width_type = runtimeType(value_width); - valueSerializer.writeInt8(value_width_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { - const auto value_width_value = value_width.value; - valueSerializer.writeNumber(value_width_value); - } - const auto value_height = value.height; - Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; - value_height_type = runtimeType(value_height); - valueSerializer.writeInt8(value_height_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { - const auto value_height_value = value_height.value; - valueSerializer.writeNumber(value_height_value); - } - const auto value_icons = value.icons; - Ark_Int32 value_icons_type = INTEROP_RUNTIME_UNDEFINED; - value_icons_type = runtimeType(value_icons); - valueSerializer.writeInt8(value_icons_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_icons_type)) { - const auto value_icons_value = value_icons.value; - valueSerializer.writeButtonIconOptions(value_icons_value); - } - } void writeCancelButtonOptions(Ark_CancelButtonOptions value) { Serializer& valueSerializer = *this; @@ -78351,6 +84264,14 @@ class Serializer : public SerializerBase { const auto value_showDefaultPercentage_value = value_showDefaultPercentage.value; valueSerializer.writeBoolean(value_showDefaultPercentage_value); } + const auto value_borderRadius = value.borderRadius; + Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_borderRadius_type = runtimeType(value_borderRadius); + valueSerializer.writeInt8(value_borderRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { + const auto value_borderRadius_value = value_borderRadius.value; + valueSerializer.writeLengthMetrics(value_borderRadius_value); + } } void writeContextMenuOptions(Ark_ContextMenuOptions value) { @@ -78424,6 +84345,46 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_preview_value_1.callSync)); } } + const auto value_previewBorderRadius = value.previewBorderRadius; + Ark_Int32 value_previewBorderRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_previewBorderRadius_type = runtimeType(value_previewBorderRadius); + valueSerializer.writeInt8(value_previewBorderRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewBorderRadius_type)) { + const auto value_previewBorderRadius_value = value_previewBorderRadius.value; + Ark_Int32 value_previewBorderRadius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_previewBorderRadius_value_type = value_previewBorderRadius_value.selector; + if ((value_previewBorderRadius_value_type == 0) || (value_previewBorderRadius_value_type == 0) || (value_previewBorderRadius_value_type == 0)) { + valueSerializer.writeInt8(0); + const auto value_previewBorderRadius_value_0 = value_previewBorderRadius_value.value0; + Ark_Int32 value_previewBorderRadius_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_previewBorderRadius_value_0_type = value_previewBorderRadius_value_0.selector; + if (value_previewBorderRadius_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_previewBorderRadius_value_0_0 = value_previewBorderRadius_value_0.value0; + valueSerializer.writeString(value_previewBorderRadius_value_0_0); + } + else if (value_previewBorderRadius_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_previewBorderRadius_value_0_1 = value_previewBorderRadius_value_0.value1; + valueSerializer.writeNumber(value_previewBorderRadius_value_0_1); + } + else if (value_previewBorderRadius_value_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_previewBorderRadius_value_0_2 = value_previewBorderRadius_value_0.value2; + valueSerializer.writeResource(value_previewBorderRadius_value_0_2); + } + } + else if (value_previewBorderRadius_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_previewBorderRadius_value_1 = value_previewBorderRadius_value.value1; + valueSerializer.writeBorderRadiuses(value_previewBorderRadius_value_1); + } + else if (value_previewBorderRadius_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_previewBorderRadius_value_2 = value_previewBorderRadius_value.value2; + valueSerializer.writeLocalizedBorderRadiuses(value_previewBorderRadius_value_2); + } + } const auto value_borderRadius = value.borderRadius; Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; value_borderRadius_type = runtimeType(value_borderRadius); @@ -78456,102 +84417,7 @@ class Serializer : public SerializerBase { else if (value_borderRadius_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderRadius_value_1 = value_borderRadius_value.value1; - const auto value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft; - Ark_Int32 value_borderRadius_value_1_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft); - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const auto value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft.value; - Ark_Int32 value_borderRadius_value_1_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topLeft_value_type = value_borderRadius_value_1_topLeft_value.selector; - if (value_borderRadius_value_1_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_topLeft_value_0 = value_borderRadius_value_1_topLeft_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0); - } - else if (value_borderRadius_value_1_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_topLeft_value_1 = value_borderRadius_value_1_topLeft_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1); - } - else if (value_borderRadius_value_1_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_topLeft_value_2 = value_borderRadius_value_1_topLeft_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2); - } - } - const auto value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight; - Ark_Int32 value_borderRadius_value_1_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight); - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const auto value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight.value; - Ark_Int32 value_borderRadius_value_1_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topRight_value_type = value_borderRadius_value_1_topRight_value.selector; - if (value_borderRadius_value_1_topRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_topRight_value_0 = value_borderRadius_value_1_topRight_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0); - } - else if (value_borderRadius_value_1_topRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_topRight_value_1 = value_borderRadius_value_1_topRight_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1); - } - else if (value_borderRadius_value_1_topRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_topRight_value_2 = value_borderRadius_value_1_topRight_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2); - } - } - const auto value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft; - Ark_Int32 value_borderRadius_value_1_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft); - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const auto value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft.value; - Ark_Int32 value_borderRadius_value_1_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomLeft_value_type = value_borderRadius_value_1_bottomLeft_value.selector; - if (value_borderRadius_value_1_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_bottomLeft_value_0 = value_borderRadius_value_1_bottomLeft_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0); - } - else if (value_borderRadius_value_1_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_bottomLeft_value_1 = value_borderRadius_value_1_bottomLeft_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1); - } - else if (value_borderRadius_value_1_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_bottomLeft_value_2 = value_borderRadius_value_1_bottomLeft_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2); - } - } - const auto value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight; - Ark_Int32 value_borderRadius_value_1_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight); - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const auto value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight.value; - Ark_Int32 value_borderRadius_value_1_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomRight_value_type = value_borderRadius_value_1_bottomRight_value.selector; - if (value_borderRadius_value_1_bottomRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_bottomRight_value_0 = value_borderRadius_value_1_bottomRight_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0); - } - else if (value_borderRadius_value_1_bottomRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_bottomRight_value_1 = value_borderRadius_value_1_bottomRight_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1); - } - else if (value_borderRadius_value_1_bottomRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_bottomRight_value_2 = value_borderRadius_value_1_bottomRight_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2); - } - } + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1); } else if (value_borderRadius_value_type == 2) { valueSerializer.writeInt8(2); @@ -78605,102 +84471,7 @@ class Serializer : public SerializerBase { valueSerializer.writeInt8(value_layoutRegionMargin_type); if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutRegionMargin_type)) { const auto value_layoutRegionMargin_value = value_layoutRegionMargin.value; - const auto value_layoutRegionMargin_value_top = value_layoutRegionMargin_value.top; - Ark_Int32 value_layoutRegionMargin_value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_top_type = runtimeType(value_layoutRegionMargin_value_top); - valueSerializer.writeInt8(value_layoutRegionMargin_value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutRegionMargin_value_top_type)) { - const auto value_layoutRegionMargin_value_top_value = value_layoutRegionMargin_value_top.value; - Ark_Int32 value_layoutRegionMargin_value_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_top_value_type = value_layoutRegionMargin_value_top_value.selector; - if (value_layoutRegionMargin_value_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_layoutRegionMargin_value_top_value_0 = value_layoutRegionMargin_value_top_value.value0; - valueSerializer.writeString(value_layoutRegionMargin_value_top_value_0); - } - else if (value_layoutRegionMargin_value_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_layoutRegionMargin_value_top_value_1 = value_layoutRegionMargin_value_top_value.value1; - valueSerializer.writeNumber(value_layoutRegionMargin_value_top_value_1); - } - else if (value_layoutRegionMargin_value_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_layoutRegionMargin_value_top_value_2 = value_layoutRegionMargin_value_top_value.value2; - valueSerializer.writeResource(value_layoutRegionMargin_value_top_value_2); - } - } - const auto value_layoutRegionMargin_value_right = value_layoutRegionMargin_value.right; - Ark_Int32 value_layoutRegionMargin_value_right_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_right_type = runtimeType(value_layoutRegionMargin_value_right); - valueSerializer.writeInt8(value_layoutRegionMargin_value_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutRegionMargin_value_right_type)) { - const auto value_layoutRegionMargin_value_right_value = value_layoutRegionMargin_value_right.value; - Ark_Int32 value_layoutRegionMargin_value_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_right_value_type = value_layoutRegionMargin_value_right_value.selector; - if (value_layoutRegionMargin_value_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_layoutRegionMargin_value_right_value_0 = value_layoutRegionMargin_value_right_value.value0; - valueSerializer.writeString(value_layoutRegionMargin_value_right_value_0); - } - else if (value_layoutRegionMargin_value_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_layoutRegionMargin_value_right_value_1 = value_layoutRegionMargin_value_right_value.value1; - valueSerializer.writeNumber(value_layoutRegionMargin_value_right_value_1); - } - else if (value_layoutRegionMargin_value_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_layoutRegionMargin_value_right_value_2 = value_layoutRegionMargin_value_right_value.value2; - valueSerializer.writeResource(value_layoutRegionMargin_value_right_value_2); - } - } - const auto value_layoutRegionMargin_value_bottom = value_layoutRegionMargin_value.bottom; - Ark_Int32 value_layoutRegionMargin_value_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_bottom_type = runtimeType(value_layoutRegionMargin_value_bottom); - valueSerializer.writeInt8(value_layoutRegionMargin_value_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutRegionMargin_value_bottom_type)) { - const auto value_layoutRegionMargin_value_bottom_value = value_layoutRegionMargin_value_bottom.value; - Ark_Int32 value_layoutRegionMargin_value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_bottom_value_type = value_layoutRegionMargin_value_bottom_value.selector; - if (value_layoutRegionMargin_value_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_layoutRegionMargin_value_bottom_value_0 = value_layoutRegionMargin_value_bottom_value.value0; - valueSerializer.writeString(value_layoutRegionMargin_value_bottom_value_0); - } - else if (value_layoutRegionMargin_value_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_layoutRegionMargin_value_bottom_value_1 = value_layoutRegionMargin_value_bottom_value.value1; - valueSerializer.writeNumber(value_layoutRegionMargin_value_bottom_value_1); - } - else if (value_layoutRegionMargin_value_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_layoutRegionMargin_value_bottom_value_2 = value_layoutRegionMargin_value_bottom_value.value2; - valueSerializer.writeResource(value_layoutRegionMargin_value_bottom_value_2); - } - } - const auto value_layoutRegionMargin_value_left = value_layoutRegionMargin_value.left; - Ark_Int32 value_layoutRegionMargin_value_left_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_left_type = runtimeType(value_layoutRegionMargin_value_left); - valueSerializer.writeInt8(value_layoutRegionMargin_value_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutRegionMargin_value_left_type)) { - const auto value_layoutRegionMargin_value_left_value = value_layoutRegionMargin_value_left.value; - Ark_Int32 value_layoutRegionMargin_value_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_left_value_type = value_layoutRegionMargin_value_left_value.selector; - if (value_layoutRegionMargin_value_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_layoutRegionMargin_value_left_value_0 = value_layoutRegionMargin_value_left_value.value0; - valueSerializer.writeString(value_layoutRegionMargin_value_left_value_0); - } - else if (value_layoutRegionMargin_value_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_layoutRegionMargin_value_left_value_1 = value_layoutRegionMargin_value_left_value.value1; - valueSerializer.writeNumber(value_layoutRegionMargin_value_left_value_1); - } - else if (value_layoutRegionMargin_value_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_layoutRegionMargin_value_left_value_2 = value_layoutRegionMargin_value_left_value.value2; - valueSerializer.writeResource(value_layoutRegionMargin_value_left_value_2); - } - } + valueSerializer.writePadding(value_layoutRegionMargin_value); } const auto value_previewAnimationOptions = value.previewAnimationOptions; Ark_Int32 value_previewAnimationOptions_type = INTEROP_RUNTIME_UNDEFINED; @@ -78747,6 +84518,22 @@ class Serializer : public SerializerBase { const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } const auto value_transition = value.transition; Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; value_transition_type = runtimeType(value_transition); @@ -78763,6 +84550,89 @@ class Serializer : public SerializerBase { const auto value_enableHoverMode_value = value_enableHoverMode.value; valueSerializer.writeBoolean(value_enableHoverMode_value); } + const auto value_outlineColor = value.outlineColor; + Ark_Int32 value_outlineColor_type = INTEROP_RUNTIME_UNDEFINED; + value_outlineColor_type = runtimeType(value_outlineColor); + valueSerializer.writeInt8(value_outlineColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_outlineColor_type)) { + const auto value_outlineColor_value = value_outlineColor.value; + Ark_Int32 value_outlineColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_outlineColor_value_type = value_outlineColor_value.selector; + if ((value_outlineColor_value_type == 0) || (value_outlineColor_value_type == 0) || (value_outlineColor_value_type == 0) || (value_outlineColor_value_type == 0)) { + valueSerializer.writeInt8(0); + const auto value_outlineColor_value_0 = value_outlineColor_value.value0; + Ark_Int32 value_outlineColor_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_outlineColor_value_0_type = value_outlineColor_value_0.selector; + if (value_outlineColor_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_outlineColor_value_0_0 = value_outlineColor_value_0.value0; + valueSerializer.writeInt32(static_cast(value_outlineColor_value_0_0)); + } + else if (value_outlineColor_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_outlineColor_value_0_1 = value_outlineColor_value_0.value1; + valueSerializer.writeNumber(value_outlineColor_value_0_1); + } + else if (value_outlineColor_value_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_outlineColor_value_0_2 = value_outlineColor_value_0.value2; + valueSerializer.writeString(value_outlineColor_value_0_2); + } + else if (value_outlineColor_value_0_type == 3) { + valueSerializer.writeInt8(3); + const auto value_outlineColor_value_0_3 = value_outlineColor_value_0.value3; + valueSerializer.writeResource(value_outlineColor_value_0_3); + } + } + else if (value_outlineColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_outlineColor_value_1 = value_outlineColor_value.value1; + valueSerializer.writeEdgeColors(value_outlineColor_value_1); + } + } + const auto value_outlineWidth = value.outlineWidth; + Ark_Int32 value_outlineWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_outlineWidth_type = runtimeType(value_outlineWidth); + valueSerializer.writeInt8(value_outlineWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_outlineWidth_type)) { + const auto value_outlineWidth_value = value_outlineWidth.value; + Ark_Int32 value_outlineWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_outlineWidth_value_type = value_outlineWidth_value.selector; + if ((value_outlineWidth_value_type == 0) || (value_outlineWidth_value_type == 0) || (value_outlineWidth_value_type == 0)) { + valueSerializer.writeInt8(0); + const auto value_outlineWidth_value_0 = value_outlineWidth_value.value0; + Ark_Int32 value_outlineWidth_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_outlineWidth_value_0_type = value_outlineWidth_value_0.selector; + if (value_outlineWidth_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_outlineWidth_value_0_0 = value_outlineWidth_value_0.value0; + valueSerializer.writeString(value_outlineWidth_value_0_0); + } + else if (value_outlineWidth_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_outlineWidth_value_0_1 = value_outlineWidth_value_0.value1; + valueSerializer.writeNumber(value_outlineWidth_value_0_1); + } + else if (value_outlineWidth_value_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_outlineWidth_value_0_2 = value_outlineWidth_value_0.value2; + valueSerializer.writeResource(value_outlineWidth_value_0_2); + } + } + else if (value_outlineWidth_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_outlineWidth_value_1 = value_outlineWidth_value.value1; + valueSerializer.writeEdgeOutlineWidths(value_outlineWidth_value_1); + } + } + const auto value_hapticFeedbackMode = value.hapticFeedbackMode; + Ark_Int32 value_hapticFeedbackMode_type = INTEROP_RUNTIME_UNDEFINED; + value_hapticFeedbackMode_type = runtimeType(value_hapticFeedbackMode); + valueSerializer.writeInt8(value_hapticFeedbackMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hapticFeedbackMode_type)) { + const auto value_hapticFeedbackMode_value = value_hapticFeedbackMode.value; + valueSerializer.writeInt32(static_cast(value_hapticFeedbackMode_value)); + } } void writeCustomDialogControllerOptions(Ark_CustomDialogControllerOptions value) { @@ -78801,42 +84671,7 @@ class Serializer : public SerializerBase { valueSerializer.writeInt8(value_offset_type); if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { const auto value_offset_value = value_offset.value; - const auto value_offset_value_dx = value_offset_value.dx; - Ark_Int32 value_offset_value_dx_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dx_type = value_offset_value_dx.selector; - if (value_offset_value_dx_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dx_0 = value_offset_value_dx.value0; - valueSerializer.writeString(value_offset_value_dx_0); - } - else if (value_offset_value_dx_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dx_1 = value_offset_value_dx.value1; - valueSerializer.writeNumber(value_offset_value_dx_1); - } - else if (value_offset_value_dx_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dx_2 = value_offset_value_dx.value2; - valueSerializer.writeResource(value_offset_value_dx_2); - } - const auto value_offset_value_dy = value_offset_value.dy; - Ark_Int32 value_offset_value_dy_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dy_type = value_offset_value_dy.selector; - if (value_offset_value_dy_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dy_0 = value_offset_value_dy.value0; - valueSerializer.writeString(value_offset_value_dy_0); - } - else if (value_offset_value_dy_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dy_1 = value_offset_value_dy.value1; - valueSerializer.writeNumber(value_offset_value_dy_1); - } - else if (value_offset_value_dy_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dy_2 = value_offset_value_dy.value2; - valueSerializer.writeResource(value_offset_value_dy_2); - } + valueSerializer.writeOffset(value_offset_value); } const auto value_customStyle = value.customStyle; Ark_Int32 value_customStyle_type = INTEROP_RUNTIME_UNDEFINED; @@ -78976,102 +84811,7 @@ class Serializer : public SerializerBase { else if (value_cornerRadius_value_type == 1) { valueSerializer.writeInt8(1); const auto value_cornerRadius_value_1 = value_cornerRadius_value.value1; - const auto value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft; - Ark_Int32 value_cornerRadius_value_1_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft); - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const auto value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft.value; - Ark_Int32 value_cornerRadius_value_1_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topLeft_value_type = value_cornerRadius_value_1_topLeft_value.selector; - if (value_cornerRadius_value_1_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_topLeft_value_0 = value_cornerRadius_value_1_topLeft_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0); - } - else if (value_cornerRadius_value_1_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_topLeft_value_1 = value_cornerRadius_value_1_topLeft_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1); - } - else if (value_cornerRadius_value_1_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_topLeft_value_2 = value_cornerRadius_value_1_topLeft_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2); - } - } - const auto value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight; - Ark_Int32 value_cornerRadius_value_1_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight); - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const auto value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight.value; - Ark_Int32 value_cornerRadius_value_1_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_topRight_value_type = value_cornerRadius_value_1_topRight_value.selector; - if (value_cornerRadius_value_1_topRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_topRight_value_0 = value_cornerRadius_value_1_topRight_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0); - } - else if (value_cornerRadius_value_1_topRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_topRight_value_1 = value_cornerRadius_value_1_topRight_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1); - } - else if (value_cornerRadius_value_1_topRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_topRight_value_2 = value_cornerRadius_value_1_topRight_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2); - } - } - const auto value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft); - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const auto value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft.value; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomLeft_value_type = value_cornerRadius_value_1_bottomLeft_value.selector; - if (value_cornerRadius_value_1_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_bottomLeft_value_0 = value_cornerRadius_value_1_bottomLeft_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0); - } - else if (value_cornerRadius_value_1_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_bottomLeft_value_1 = value_cornerRadius_value_1_bottomLeft_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1); - } - else if (value_cornerRadius_value_1_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_bottomLeft_value_2 = value_cornerRadius_value_1_bottomLeft_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2); - } - } - const auto value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight; - Ark_Int32 value_cornerRadius_value_1_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight); - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const auto value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight.value; - Ark_Int32 value_cornerRadius_value_1_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_cornerRadius_value_1_bottomRight_value_type = value_cornerRadius_value_1_bottomRight_value.selector; - if (value_cornerRadius_value_1_bottomRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_cornerRadius_value_1_bottomRight_value_0 = value_cornerRadius_value_1_bottomRight_value.value0; - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0); - } - else if (value_cornerRadius_value_1_bottomRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_cornerRadius_value_1_bottomRight_value_1 = value_cornerRadius_value_1_bottomRight_value.value1; - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1); - } - else if (value_cornerRadius_value_1_bottomRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_cornerRadius_value_1_bottomRight_value_2 = value_cornerRadius_value_1_bottomRight_value.value2; - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2); - } - } + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1); } } const auto value_isModal = value.isModal; @@ -79172,102 +84912,7 @@ class Serializer : public SerializerBase { else if (value_borderWidth_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderWidth_value_1 = value_borderWidth_value.value1; - const auto value_borderWidth_value_1_top = value_borderWidth_value_1.top; - Ark_Int32 value_borderWidth_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top); - valueSerializer.writeInt8(value_borderWidth_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const auto value_borderWidth_value_1_top_value = value_borderWidth_value_1_top.value; - Ark_Int32 value_borderWidth_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_top_value_type = value_borderWidth_value_1_top_value.selector; - if (value_borderWidth_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_top_value_0 = value_borderWidth_value_1_top_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_top_value_0); - } - else if (value_borderWidth_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_top_value_1 = value_borderWidth_value_1_top_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1); - } - else if (value_borderWidth_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_top_value_2 = value_borderWidth_value_1_top_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2); - } - } - const auto value_borderWidth_value_1_right = value_borderWidth_value_1.right; - Ark_Int32 value_borderWidth_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right); - valueSerializer.writeInt8(value_borderWidth_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const auto value_borderWidth_value_1_right_value = value_borderWidth_value_1_right.value; - Ark_Int32 value_borderWidth_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_right_value_type = value_borderWidth_value_1_right_value.selector; - if (value_borderWidth_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_right_value_0 = value_borderWidth_value_1_right_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_right_value_0); - } - else if (value_borderWidth_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_right_value_1 = value_borderWidth_value_1_right_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1); - } - else if (value_borderWidth_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_right_value_2 = value_borderWidth_value_1_right_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2); - } - } - const auto value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom; - Ark_Int32 value_borderWidth_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom); - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const auto value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom.value; - Ark_Int32 value_borderWidth_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_bottom_value_type = value_borderWidth_value_1_bottom_value.selector; - if (value_borderWidth_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_bottom_value_0 = value_borderWidth_value_1_bottom_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0); - } - else if (value_borderWidth_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_bottom_value_1 = value_borderWidth_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1); - } - else if (value_borderWidth_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_bottom_value_2 = value_borderWidth_value_1_bottom_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2); - } - } - const auto value_borderWidth_value_1_left = value_borderWidth_value_1.left; - Ark_Int32 value_borderWidth_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left); - valueSerializer.writeInt8(value_borderWidth_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const auto value_borderWidth_value_1_left_value = value_borderWidth_value_1_left.value; - Ark_Int32 value_borderWidth_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_left_value_type = value_borderWidth_value_1_left_value.selector; - if (value_borderWidth_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_left_value_0 = value_borderWidth_value_1_left_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_left_value_0); - } - else if (value_borderWidth_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_left_value_1 = value_borderWidth_value_1_left_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1); - } - else if (value_borderWidth_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_left_value_2 = value_borderWidth_value_1_left_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2); - } - } + valueSerializer.writeEdgeWidths(value_borderWidth_value_1); } } const auto value_borderColor = value.borderColor; @@ -79307,122 +84952,7 @@ class Serializer : public SerializerBase { else if (value_borderColor_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderColor_value_1 = value_borderColor_value.value1; - const auto value_borderColor_value_1_top = value_borderColor_value_1.top; - Ark_Int32 value_borderColor_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top); - valueSerializer.writeInt8(value_borderColor_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_top_type)) { - const auto value_borderColor_value_1_top_value = value_borderColor_value_1_top.value; - Ark_Int32 value_borderColor_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_top_value_type = value_borderColor_value_1_top_value.selector; - if (value_borderColor_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_top_value_0 = value_borderColor_value_1_top_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_top_value_0)); - } - else if (value_borderColor_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_top_value_1 = value_borderColor_value_1_top_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1); - } - else if (value_borderColor_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_top_value_2 = value_borderColor_value_1_top_value.value2; - valueSerializer.writeString(value_borderColor_value_1_top_value_2); - } - else if (value_borderColor_value_1_top_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_top_value_3 = value_borderColor_value_1_top_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_top_value_3); - } - } - const auto value_borderColor_value_1_right = value_borderColor_value_1.right; - Ark_Int32 value_borderColor_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right); - valueSerializer.writeInt8(value_borderColor_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_right_type)) { - const auto value_borderColor_value_1_right_value = value_borderColor_value_1_right.value; - Ark_Int32 value_borderColor_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_right_value_type = value_borderColor_value_1_right_value.selector; - if (value_borderColor_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_right_value_0 = value_borderColor_value_1_right_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_right_value_0)); - } - else if (value_borderColor_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_right_value_1 = value_borderColor_value_1_right_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1); - } - else if (value_borderColor_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_right_value_2 = value_borderColor_value_1_right_value.value2; - valueSerializer.writeString(value_borderColor_value_1_right_value_2); - } - else if (value_borderColor_value_1_right_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_right_value_3 = value_borderColor_value_1_right_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_right_value_3); - } - } - const auto value_borderColor_value_1_bottom = value_borderColor_value_1.bottom; - Ark_Int32 value_borderColor_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom); - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const auto value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom.value; - Ark_Int32 value_borderColor_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_bottom_value_type = value_borderColor_value_1_bottom_value.selector; - if (value_borderColor_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_bottom_value_0 = value_borderColor_value_1_bottom_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_bottom_value_0)); - } - else if (value_borderColor_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_bottom_value_1 = value_borderColor_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1); - } - else if (value_borderColor_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_bottom_value_2 = value_borderColor_value_1_bottom_value.value2; - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2); - } - else if (value_borderColor_value_1_bottom_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_bottom_value_3 = value_borderColor_value_1_bottom_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3); - } - } - const auto value_borderColor_value_1_left = value_borderColor_value_1.left; - Ark_Int32 value_borderColor_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left); - valueSerializer.writeInt8(value_borderColor_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_left_type)) { - const auto value_borderColor_value_1_left_value = value_borderColor_value_1_left.value; - Ark_Int32 value_borderColor_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_left_value_type = value_borderColor_value_1_left_value.selector; - if (value_borderColor_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_left_value_0 = value_borderColor_value_1_left_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_left_value_0)); - } - else if (value_borderColor_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_left_value_1 = value_borderColor_value_1_left_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1); - } - else if (value_borderColor_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_left_value_2 = value_borderColor_value_1_left_value.value2; - valueSerializer.writeString(value_borderColor_value_1_left_value_2); - } - else if (value_borderColor_value_1_left_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_left_value_3 = value_borderColor_value_1_left_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_left_value_3); - } - } + valueSerializer.writeEdgeColors(value_borderColor_value_1); } } const auto value_borderStyle = value.borderStyle; @@ -79471,6 +85001,22 @@ class Serializer : public SerializerBase { const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } const auto value_keyboardAvoidMode = value.keyboardAvoidMode; Ark_Int32 value_keyboardAvoidMode_type = INTEROP_RUNTIME_UNDEFINED; value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode); @@ -79495,6 +85041,94 @@ class Serializer : public SerializerBase { const auto value_hoverModeArea_value = value_hoverModeArea.value; valueSerializer.writeInt32(static_cast(value_hoverModeArea_value)); } + const auto value_onDidAppear = value.onDidAppear; + Ark_Int32 value_onDidAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDidAppear_type = runtimeType(value_onDidAppear); + valueSerializer.writeInt8(value_onDidAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDidAppear_type)) { + const auto value_onDidAppear_value = value_onDidAppear.value; + valueSerializer.writeCallbackResource(value_onDidAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDidAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDidAppear_value.callSync)); + } + const auto value_onDidDisappear = value.onDidDisappear; + Ark_Int32 value_onDidDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDidDisappear_type = runtimeType(value_onDidDisappear); + valueSerializer.writeInt8(value_onDidDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDidDisappear_type)) { + const auto value_onDidDisappear_value = value_onDidDisappear.value; + valueSerializer.writeCallbackResource(value_onDidDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDidDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDidDisappear_value.callSync)); + } + const auto value_onWillAppear = value.onWillAppear; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillAppear_type = runtimeType(value_onWillAppear); + valueSerializer.writeInt8(value_onWillAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillAppear_type)) { + const auto value_onWillAppear_value = value_onWillAppear.value; + valueSerializer.writeCallbackResource(value_onWillAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.callSync)); + } + const auto value_onWillDisappear = value.onWillDisappear; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillDisappear_type = runtimeType(value_onWillDisappear); + valueSerializer.writeInt8(value_onWillDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDisappear_type)) { + const auto value_onWillDisappear_value = value_onWillDisappear.value; + valueSerializer.writeCallbackResource(value_onWillDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.callSync)); + } + const auto value_keyboardAvoidDistance = value.keyboardAvoidDistance; + Ark_Int32 value_keyboardAvoidDistance_type = INTEROP_RUNTIME_UNDEFINED; + value_keyboardAvoidDistance_type = runtimeType(value_keyboardAvoidDistance); + valueSerializer.writeInt8(value_keyboardAvoidDistance_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_keyboardAvoidDistance_type)) { + const auto value_keyboardAvoidDistance_value = value_keyboardAvoidDistance.value; + valueSerializer.writeLengthMetrics(value_keyboardAvoidDistance_value); + } + const auto value_levelMode = value.levelMode; + Ark_Int32 value_levelMode_type = INTEROP_RUNTIME_UNDEFINED; + value_levelMode_type = runtimeType(value_levelMode); + valueSerializer.writeInt8(value_levelMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelMode_type)) { + const auto value_levelMode_value = value_levelMode.value; + valueSerializer.writeLevelMode(value_levelMode_value); + } + const auto value_levelUniqueId = value.levelUniqueId; + Ark_Int32 value_levelUniqueId_type = INTEROP_RUNTIME_UNDEFINED; + value_levelUniqueId_type = runtimeType(value_levelUniqueId); + valueSerializer.writeInt8(value_levelUniqueId_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelUniqueId_type)) { + const auto value_levelUniqueId_value = value_levelUniqueId.value; + valueSerializer.writeNumber(value_levelUniqueId_value); + } + const auto value_immersiveMode = value.immersiveMode; + Ark_Int32 value_immersiveMode_type = INTEROP_RUNTIME_UNDEFINED; + value_immersiveMode_type = runtimeType(value_immersiveMode); + valueSerializer.writeInt8(value_immersiveMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_immersiveMode_type)) { + const auto value_immersiveMode_value = value_immersiveMode.value; + valueSerializer.writeImmersiveMode(value_immersiveMode_value); + } + const auto value_levelOrder = value.levelOrder; + Ark_Int32 value_levelOrder_type = INTEROP_RUNTIME_UNDEFINED; + value_levelOrder_type = runtimeType(value_levelOrder); + valueSerializer.writeInt8(value_levelOrder_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_levelOrder_type)) { + const auto value_levelOrder_value = value_levelOrder.value; + valueSerializer.writeLevelOrder(value_levelOrder_value); + } + const auto value_focusable = value.focusable; + Ark_Int32 value_focusable_type = INTEROP_RUNTIME_UNDEFINED; + value_focusable_type = runtimeType(value_focusable); + valueSerializer.writeInt8(value_focusable_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusable_type)) { + const auto value_focusable_value = value_focusable.value; + valueSerializer.writeBoolean(value_focusable_value); + } } void writeCustomPopupOptions(Ark_CustomPopupOptions value) { @@ -79884,17 +85518,13 @@ class Serializer : public SerializerBase { const auto value_followTransformOfTarget_value = value_followTransformOfTarget.value; valueSerializer.writeBoolean(value_followTransformOfTarget_value); } - } - void writeCustomTheme(Ark_CustomTheme value) - { - Serializer& valueSerializer = *this; - const auto value_colors = value.colors; - Ark_Int32 value_colors_type = INTEROP_RUNTIME_UNDEFINED; - value_colors_type = runtimeType(value_colors); - valueSerializer.writeInt8(value_colors_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_colors_type)) { - const auto value_colors_value = value_colors.value; - valueSerializer.writeCustomColors(value_colors_value); + const auto value_keyboardAvoidMode = value.keyboardAvoidMode; + Ark_Int32 value_keyboardAvoidMode_type = INTEROP_RUNTIME_UNDEFINED; + value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode); + valueSerializer.writeInt8(value_keyboardAvoidMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_keyboardAvoidMode_type)) { + const auto value_keyboardAvoidMode_value = value_keyboardAvoidMode.value; + valueSerializer.writeInt32(static_cast(value_keyboardAvoidMode_value)); } } void writeDigitIndicator(Ark_DigitIndicator value) @@ -80092,58 +85722,19 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; const auto value_area = value.area; valueSerializer.writeArea(value_area); + const auto value_id = value.id; + Ark_Int32 value_id_type = INTEROP_RUNTIME_UNDEFINED; + value_id_type = runtimeType(value_id); + valueSerializer.writeInt8(value_id_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_id_type)) { + const auto value_id_value = value_id.value; + valueSerializer.writeString(value_id_value); + } } - void writeFlexOptions(Ark_FlexOptions value) + void writeFocusAxisEvent(Ark_FocusAxisEvent value) { Serializer& valueSerializer = *this; - const auto value_direction = value.direction; - Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; - value_direction_type = runtimeType(value_direction); - valueSerializer.writeInt8(value_direction_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_direction_type)) { - const auto value_direction_value = value_direction.value; - valueSerializer.writeInt32(static_cast(value_direction_value)); - } - const auto value_wrap = value.wrap; - Ark_Int32 value_wrap_type = INTEROP_RUNTIME_UNDEFINED; - value_wrap_type = runtimeType(value_wrap); - valueSerializer.writeInt8(value_wrap_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_wrap_type)) { - const auto value_wrap_value = value_wrap.value; - valueSerializer.writeInt32(static_cast(value_wrap_value)); - } - const auto value_justifyContent = value.justifyContent; - Ark_Int32 value_justifyContent_type = INTEROP_RUNTIME_UNDEFINED; - value_justifyContent_type = runtimeType(value_justifyContent); - valueSerializer.writeInt8(value_justifyContent_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_justifyContent_type)) { - const auto value_justifyContent_value = value_justifyContent.value; - valueSerializer.writeInt32(static_cast(value_justifyContent_value)); - } - const auto value_alignItems = value.alignItems; - Ark_Int32 value_alignItems_type = INTEROP_RUNTIME_UNDEFINED; - value_alignItems_type = runtimeType(value_alignItems); - valueSerializer.writeInt8(value_alignItems_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_alignItems_type)) { - const auto value_alignItems_value = value_alignItems.value; - valueSerializer.writeInt32(static_cast(value_alignItems_value)); - } - const auto value_alignContent = value.alignContent; - Ark_Int32 value_alignContent_type = INTEROP_RUNTIME_UNDEFINED; - value_alignContent_type = runtimeType(value_alignContent); - valueSerializer.writeInt8(value_alignContent_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_alignContent_type)) { - const auto value_alignContent_value = value_alignContent.value; - valueSerializer.writeInt32(static_cast(value_alignContent_value)); - } - const auto value_space = value.space; - Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; - value_space_type = runtimeType(value_space); - valueSerializer.writeInt8(value_space_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_space_type)) { - const auto value_space_value = value_space.value; - valueSerializer.writeFlexSpaceOptions(value_space_value); - } + valueSerializer.writePointer(value); } void writeGestureEvent(Ark_GestureEvent value) { @@ -80248,102 +85839,7 @@ class Serializer : public SerializerBase { else if (value_margin_value_type == 1) { valueSerializer.writeInt8(1); const auto value_margin_value_1 = value_margin_value.value1; - const auto value_margin_value_1_top = value_margin_value_1.top; - Ark_Int32 value_margin_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_top_type = runtimeType(value_margin_value_1_top); - valueSerializer.writeInt8(value_margin_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_value_1_top_type)) { - const auto value_margin_value_1_top_value = value_margin_value_1_top.value; - Ark_Int32 value_margin_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_top_value_type = value_margin_value_1_top_value.selector; - if (value_margin_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_margin_value_1_top_value_0 = value_margin_value_1_top_value.value0; - valueSerializer.writeString(value_margin_value_1_top_value_0); - } - else if (value_margin_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_margin_value_1_top_value_1 = value_margin_value_1_top_value.value1; - valueSerializer.writeNumber(value_margin_value_1_top_value_1); - } - else if (value_margin_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_margin_value_1_top_value_2 = value_margin_value_1_top_value.value2; - valueSerializer.writeResource(value_margin_value_1_top_value_2); - } - } - const auto value_margin_value_1_right = value_margin_value_1.right; - Ark_Int32 value_margin_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_right_type = runtimeType(value_margin_value_1_right); - valueSerializer.writeInt8(value_margin_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_value_1_right_type)) { - const auto value_margin_value_1_right_value = value_margin_value_1_right.value; - Ark_Int32 value_margin_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_right_value_type = value_margin_value_1_right_value.selector; - if (value_margin_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_margin_value_1_right_value_0 = value_margin_value_1_right_value.value0; - valueSerializer.writeString(value_margin_value_1_right_value_0); - } - else if (value_margin_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_margin_value_1_right_value_1 = value_margin_value_1_right_value.value1; - valueSerializer.writeNumber(value_margin_value_1_right_value_1); - } - else if (value_margin_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_margin_value_1_right_value_2 = value_margin_value_1_right_value.value2; - valueSerializer.writeResource(value_margin_value_1_right_value_2); - } - } - const auto value_margin_value_1_bottom = value_margin_value_1.bottom; - Ark_Int32 value_margin_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_bottom_type = runtimeType(value_margin_value_1_bottom); - valueSerializer.writeInt8(value_margin_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_value_1_bottom_type)) { - const auto value_margin_value_1_bottom_value = value_margin_value_1_bottom.value; - Ark_Int32 value_margin_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_bottom_value_type = value_margin_value_1_bottom_value.selector; - if (value_margin_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_margin_value_1_bottom_value_0 = value_margin_value_1_bottom_value.value0; - valueSerializer.writeString(value_margin_value_1_bottom_value_0); - } - else if (value_margin_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_margin_value_1_bottom_value_1 = value_margin_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_margin_value_1_bottom_value_1); - } - else if (value_margin_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_margin_value_1_bottom_value_2 = value_margin_value_1_bottom_value.value2; - valueSerializer.writeResource(value_margin_value_1_bottom_value_2); - } - } - const auto value_margin_value_1_left = value_margin_value_1.left; - Ark_Int32 value_margin_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_left_type = runtimeType(value_margin_value_1_left); - valueSerializer.writeInt8(value_margin_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_value_1_left_type)) { - const auto value_margin_value_1_left_value = value_margin_value_1_left.value; - Ark_Int32 value_margin_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_left_value_type = value_margin_value_1_left_value.selector; - if (value_margin_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_margin_value_1_left_value_0 = value_margin_value_1_left_value.value0; - valueSerializer.writeString(value_margin_value_1_left_value_0); - } - else if (value_margin_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_margin_value_1_left_value_1 = value_margin_value_1_left_value.value1; - valueSerializer.writeNumber(value_margin_value_1_left_value_1); - } - else if (value_margin_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_margin_value_1_left_value_2 = value_margin_value_1_left_value.value2; - valueSerializer.writeResource(value_margin_value_1_left_value_2); - } - } + valueSerializer.writePadding(value_margin_value_1); } } const auto value_padding = value.padding; @@ -80476,102 +85972,7 @@ class Serializer : public SerializerBase { else if (value_borderRadius_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderRadius_value_1 = value_borderRadius_value.value1; - const auto value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft; - Ark_Int32 value_borderRadius_value_1_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft); - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const auto value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft.value; - Ark_Int32 value_borderRadius_value_1_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topLeft_value_type = value_borderRadius_value_1_topLeft_value.selector; - if (value_borderRadius_value_1_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_topLeft_value_0 = value_borderRadius_value_1_topLeft_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0); - } - else if (value_borderRadius_value_1_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_topLeft_value_1 = value_borderRadius_value_1_topLeft_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1); - } - else if (value_borderRadius_value_1_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_topLeft_value_2 = value_borderRadius_value_1_topLeft_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2); - } - } - const auto value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight; - Ark_Int32 value_borderRadius_value_1_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight); - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const auto value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight.value; - Ark_Int32 value_borderRadius_value_1_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topRight_value_type = value_borderRadius_value_1_topRight_value.selector; - if (value_borderRadius_value_1_topRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_topRight_value_0 = value_borderRadius_value_1_topRight_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0); - } - else if (value_borderRadius_value_1_topRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_topRight_value_1 = value_borderRadius_value_1_topRight_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1); - } - else if (value_borderRadius_value_1_topRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_topRight_value_2 = value_borderRadius_value_1_topRight_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2); - } - } - const auto value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft; - Ark_Int32 value_borderRadius_value_1_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft); - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const auto value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft.value; - Ark_Int32 value_borderRadius_value_1_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomLeft_value_type = value_borderRadius_value_1_bottomLeft_value.selector; - if (value_borderRadius_value_1_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_bottomLeft_value_0 = value_borderRadius_value_1_bottomLeft_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0); - } - else if (value_borderRadius_value_1_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_bottomLeft_value_1 = value_borderRadius_value_1_bottomLeft_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1); - } - else if (value_borderRadius_value_1_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_bottomLeft_value_2 = value_borderRadius_value_1_bottomLeft_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2); - } - } - const auto value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight; - Ark_Int32 value_borderRadius_value_1_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight); - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const auto value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight.value; - Ark_Int32 value_borderRadius_value_1_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomRight_value_type = value_borderRadius_value_1_bottomRight_value.selector; - if (value_borderRadius_value_1_bottomRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_bottomRight_value_0 = value_borderRadius_value_1_bottomRight_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0); - } - else if (value_borderRadius_value_1_bottomRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_bottomRight_value_1 = value_borderRadius_value_1_bottomRight_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1); - } - else if (value_borderRadius_value_1_bottomRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_bottomRight_value_2 = value_borderRadius_value_1_bottomRight_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2); - } - } + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1); } } } @@ -80729,49 +86130,6 @@ class Serializer : public SerializerBase { } } } - void writeLeadingMarginPlaceholder(Ark_LeadingMarginPlaceholder value) - { - Serializer& valueSerializer = *this; - const auto value_pixelMap = value.pixelMap; - valueSerializer.writePixelMap(value_pixelMap); - const auto value_size = value.size; - const auto value_size_0 = value_size.value0; - Ark_Int32 value_size_0_type = INTEROP_RUNTIME_UNDEFINED; - value_size_0_type = value_size_0.selector; - if (value_size_0_type == 0) { - valueSerializer.writeInt8(0); - const auto value_size_0_0 = value_size_0.value0; - valueSerializer.writeString(value_size_0_0); - } - else if (value_size_0_type == 1) { - valueSerializer.writeInt8(1); - const auto value_size_0_1 = value_size_0.value1; - valueSerializer.writeNumber(value_size_0_1); - } - else if (value_size_0_type == 2) { - valueSerializer.writeInt8(2); - const auto value_size_0_2 = value_size_0.value2; - valueSerializer.writeResource(value_size_0_2); - } - const auto value_size_1 = value_size.value1; - Ark_Int32 value_size_1_type = INTEROP_RUNTIME_UNDEFINED; - value_size_1_type = value_size_1.selector; - if (value_size_1_type == 0) { - valueSerializer.writeInt8(0); - const auto value_size_1_0 = value_size_1.value0; - valueSerializer.writeString(value_size_1_0); - } - else if (value_size_1_type == 1) { - valueSerializer.writeInt8(1); - const auto value_size_1_1 = value_size_1.value1; - valueSerializer.writeNumber(value_size_1_1); - } - else if (value_size_1_type == 2) { - valueSerializer.writeInt8(2); - const auto value_size_1_2 = value_size_1.value2; - valueSerializer.writeResource(value_size_1_2); - } - } void writeLongPressGestureEvent(Ark_LongPressGestureEvent value) { Serializer& valueSerializer = *this; @@ -80849,6 +86207,46 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_preview_value_1.callSync)); } } + const auto value_previewBorderRadius = value.previewBorderRadius; + Ark_Int32 value_previewBorderRadius_type = INTEROP_RUNTIME_UNDEFINED; + value_previewBorderRadius_type = runtimeType(value_previewBorderRadius); + valueSerializer.writeInt8(value_previewBorderRadius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewBorderRadius_type)) { + const auto value_previewBorderRadius_value = value_previewBorderRadius.value; + Ark_Int32 value_previewBorderRadius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_previewBorderRadius_value_type = value_previewBorderRadius_value.selector; + if ((value_previewBorderRadius_value_type == 0) || (value_previewBorderRadius_value_type == 0) || (value_previewBorderRadius_value_type == 0)) { + valueSerializer.writeInt8(0); + const auto value_previewBorderRadius_value_0 = value_previewBorderRadius_value.value0; + Ark_Int32 value_previewBorderRadius_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_previewBorderRadius_value_0_type = value_previewBorderRadius_value_0.selector; + if (value_previewBorderRadius_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_previewBorderRadius_value_0_0 = value_previewBorderRadius_value_0.value0; + valueSerializer.writeString(value_previewBorderRadius_value_0_0); + } + else if (value_previewBorderRadius_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_previewBorderRadius_value_0_1 = value_previewBorderRadius_value_0.value1; + valueSerializer.writeNumber(value_previewBorderRadius_value_0_1); + } + else if (value_previewBorderRadius_value_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_previewBorderRadius_value_0_2 = value_previewBorderRadius_value_0.value2; + valueSerializer.writeResource(value_previewBorderRadius_value_0_2); + } + } + else if (value_previewBorderRadius_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_previewBorderRadius_value_1 = value_previewBorderRadius_value.value1; + valueSerializer.writeBorderRadiuses(value_previewBorderRadius_value_1); + } + else if (value_previewBorderRadius_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_previewBorderRadius_value_2 = value_previewBorderRadius_value.value2; + valueSerializer.writeLocalizedBorderRadiuses(value_previewBorderRadius_value_2); + } + } const auto value_borderRadius = value.borderRadius; Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; value_borderRadius_type = runtimeType(value_borderRadius); @@ -80881,102 +86279,7 @@ class Serializer : public SerializerBase { else if (value_borderRadius_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderRadius_value_1 = value_borderRadius_value.value1; - const auto value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft; - Ark_Int32 value_borderRadius_value_1_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft); - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const auto value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft.value; - Ark_Int32 value_borderRadius_value_1_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topLeft_value_type = value_borderRadius_value_1_topLeft_value.selector; - if (value_borderRadius_value_1_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_topLeft_value_0 = value_borderRadius_value_1_topLeft_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0); - } - else if (value_borderRadius_value_1_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_topLeft_value_1 = value_borderRadius_value_1_topLeft_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1); - } - else if (value_borderRadius_value_1_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_topLeft_value_2 = value_borderRadius_value_1_topLeft_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2); - } - } - const auto value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight; - Ark_Int32 value_borderRadius_value_1_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight); - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const auto value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight.value; - Ark_Int32 value_borderRadius_value_1_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topRight_value_type = value_borderRadius_value_1_topRight_value.selector; - if (value_borderRadius_value_1_topRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_topRight_value_0 = value_borderRadius_value_1_topRight_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0); - } - else if (value_borderRadius_value_1_topRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_topRight_value_1 = value_borderRadius_value_1_topRight_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1); - } - else if (value_borderRadius_value_1_topRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_topRight_value_2 = value_borderRadius_value_1_topRight_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2); - } - } - const auto value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft; - Ark_Int32 value_borderRadius_value_1_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft); - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const auto value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft.value; - Ark_Int32 value_borderRadius_value_1_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomLeft_value_type = value_borderRadius_value_1_bottomLeft_value.selector; - if (value_borderRadius_value_1_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_bottomLeft_value_0 = value_borderRadius_value_1_bottomLeft_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0); - } - else if (value_borderRadius_value_1_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_bottomLeft_value_1 = value_borderRadius_value_1_bottomLeft_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1); - } - else if (value_borderRadius_value_1_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_bottomLeft_value_2 = value_borderRadius_value_1_bottomLeft_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2); - } - } - const auto value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight; - Ark_Int32 value_borderRadius_value_1_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight); - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const auto value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight.value; - Ark_Int32 value_borderRadius_value_1_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomRight_value_type = value_borderRadius_value_1_bottomRight_value.selector; - if (value_borderRadius_value_1_bottomRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_bottomRight_value_0 = value_borderRadius_value_1_bottomRight_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0); - } - else if (value_borderRadius_value_1_bottomRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_bottomRight_value_1 = value_borderRadius_value_1_bottomRight_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1); - } - else if (value_borderRadius_value_1_bottomRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_bottomRight_value_2 = value_borderRadius_value_1_bottomRight_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2); - } - } + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1); } else if (value_borderRadius_value_type == 2) { valueSerializer.writeInt8(2); @@ -81030,102 +86333,7 @@ class Serializer : public SerializerBase { valueSerializer.writeInt8(value_layoutRegionMargin_type); if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutRegionMargin_type)) { const auto value_layoutRegionMargin_value = value_layoutRegionMargin.value; - const auto value_layoutRegionMargin_value_top = value_layoutRegionMargin_value.top; - Ark_Int32 value_layoutRegionMargin_value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_top_type = runtimeType(value_layoutRegionMargin_value_top); - valueSerializer.writeInt8(value_layoutRegionMargin_value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutRegionMargin_value_top_type)) { - const auto value_layoutRegionMargin_value_top_value = value_layoutRegionMargin_value_top.value; - Ark_Int32 value_layoutRegionMargin_value_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_top_value_type = value_layoutRegionMargin_value_top_value.selector; - if (value_layoutRegionMargin_value_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_layoutRegionMargin_value_top_value_0 = value_layoutRegionMargin_value_top_value.value0; - valueSerializer.writeString(value_layoutRegionMargin_value_top_value_0); - } - else if (value_layoutRegionMargin_value_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_layoutRegionMargin_value_top_value_1 = value_layoutRegionMargin_value_top_value.value1; - valueSerializer.writeNumber(value_layoutRegionMargin_value_top_value_1); - } - else if (value_layoutRegionMargin_value_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_layoutRegionMargin_value_top_value_2 = value_layoutRegionMargin_value_top_value.value2; - valueSerializer.writeResource(value_layoutRegionMargin_value_top_value_2); - } - } - const auto value_layoutRegionMargin_value_right = value_layoutRegionMargin_value.right; - Ark_Int32 value_layoutRegionMargin_value_right_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_right_type = runtimeType(value_layoutRegionMargin_value_right); - valueSerializer.writeInt8(value_layoutRegionMargin_value_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutRegionMargin_value_right_type)) { - const auto value_layoutRegionMargin_value_right_value = value_layoutRegionMargin_value_right.value; - Ark_Int32 value_layoutRegionMargin_value_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_right_value_type = value_layoutRegionMargin_value_right_value.selector; - if (value_layoutRegionMargin_value_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_layoutRegionMargin_value_right_value_0 = value_layoutRegionMargin_value_right_value.value0; - valueSerializer.writeString(value_layoutRegionMargin_value_right_value_0); - } - else if (value_layoutRegionMargin_value_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_layoutRegionMargin_value_right_value_1 = value_layoutRegionMargin_value_right_value.value1; - valueSerializer.writeNumber(value_layoutRegionMargin_value_right_value_1); - } - else if (value_layoutRegionMargin_value_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_layoutRegionMargin_value_right_value_2 = value_layoutRegionMargin_value_right_value.value2; - valueSerializer.writeResource(value_layoutRegionMargin_value_right_value_2); - } - } - const auto value_layoutRegionMargin_value_bottom = value_layoutRegionMargin_value.bottom; - Ark_Int32 value_layoutRegionMargin_value_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_bottom_type = runtimeType(value_layoutRegionMargin_value_bottom); - valueSerializer.writeInt8(value_layoutRegionMargin_value_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutRegionMargin_value_bottom_type)) { - const auto value_layoutRegionMargin_value_bottom_value = value_layoutRegionMargin_value_bottom.value; - Ark_Int32 value_layoutRegionMargin_value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_bottom_value_type = value_layoutRegionMargin_value_bottom_value.selector; - if (value_layoutRegionMargin_value_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_layoutRegionMargin_value_bottom_value_0 = value_layoutRegionMargin_value_bottom_value.value0; - valueSerializer.writeString(value_layoutRegionMargin_value_bottom_value_0); - } - else if (value_layoutRegionMargin_value_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_layoutRegionMargin_value_bottom_value_1 = value_layoutRegionMargin_value_bottom_value.value1; - valueSerializer.writeNumber(value_layoutRegionMargin_value_bottom_value_1); - } - else if (value_layoutRegionMargin_value_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_layoutRegionMargin_value_bottom_value_2 = value_layoutRegionMargin_value_bottom_value.value2; - valueSerializer.writeResource(value_layoutRegionMargin_value_bottom_value_2); - } - } - const auto value_layoutRegionMargin_value_left = value_layoutRegionMargin_value.left; - Ark_Int32 value_layoutRegionMargin_value_left_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_left_type = runtimeType(value_layoutRegionMargin_value_left); - valueSerializer.writeInt8(value_layoutRegionMargin_value_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutRegionMargin_value_left_type)) { - const auto value_layoutRegionMargin_value_left_value = value_layoutRegionMargin_value_left.value; - Ark_Int32 value_layoutRegionMargin_value_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_layoutRegionMargin_value_left_value_type = value_layoutRegionMargin_value_left_value.selector; - if (value_layoutRegionMargin_value_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_layoutRegionMargin_value_left_value_0 = value_layoutRegionMargin_value_left_value.value0; - valueSerializer.writeString(value_layoutRegionMargin_value_left_value_0); - } - else if (value_layoutRegionMargin_value_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_layoutRegionMargin_value_left_value_1 = value_layoutRegionMargin_value_left_value.value1; - valueSerializer.writeNumber(value_layoutRegionMargin_value_left_value_1); - } - else if (value_layoutRegionMargin_value_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_layoutRegionMargin_value_left_value_2 = value_layoutRegionMargin_value_left_value.value2; - valueSerializer.writeResource(value_layoutRegionMargin_value_left_value_2); - } - } + valueSerializer.writePadding(value_layoutRegionMargin_value); } const auto value_previewAnimationOptions = value.previewAnimationOptions; Ark_Int32 value_previewAnimationOptions_type = INTEROP_RUNTIME_UNDEFINED; @@ -81172,6 +86380,22 @@ class Serializer : public SerializerBase { const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } const auto value_transition = value.transition; Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; value_transition_type = runtimeType(value_transition); @@ -81188,6 +86412,89 @@ class Serializer : public SerializerBase { const auto value_enableHoverMode_value = value_enableHoverMode.value; valueSerializer.writeBoolean(value_enableHoverMode_value); } + const auto value_outlineColor = value.outlineColor; + Ark_Int32 value_outlineColor_type = INTEROP_RUNTIME_UNDEFINED; + value_outlineColor_type = runtimeType(value_outlineColor); + valueSerializer.writeInt8(value_outlineColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_outlineColor_type)) { + const auto value_outlineColor_value = value_outlineColor.value; + Ark_Int32 value_outlineColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_outlineColor_value_type = value_outlineColor_value.selector; + if ((value_outlineColor_value_type == 0) || (value_outlineColor_value_type == 0) || (value_outlineColor_value_type == 0) || (value_outlineColor_value_type == 0)) { + valueSerializer.writeInt8(0); + const auto value_outlineColor_value_0 = value_outlineColor_value.value0; + Ark_Int32 value_outlineColor_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_outlineColor_value_0_type = value_outlineColor_value_0.selector; + if (value_outlineColor_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_outlineColor_value_0_0 = value_outlineColor_value_0.value0; + valueSerializer.writeInt32(static_cast(value_outlineColor_value_0_0)); + } + else if (value_outlineColor_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_outlineColor_value_0_1 = value_outlineColor_value_0.value1; + valueSerializer.writeNumber(value_outlineColor_value_0_1); + } + else if (value_outlineColor_value_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_outlineColor_value_0_2 = value_outlineColor_value_0.value2; + valueSerializer.writeString(value_outlineColor_value_0_2); + } + else if (value_outlineColor_value_0_type == 3) { + valueSerializer.writeInt8(3); + const auto value_outlineColor_value_0_3 = value_outlineColor_value_0.value3; + valueSerializer.writeResource(value_outlineColor_value_0_3); + } + } + else if (value_outlineColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_outlineColor_value_1 = value_outlineColor_value.value1; + valueSerializer.writeEdgeColors(value_outlineColor_value_1); + } + } + const auto value_outlineWidth = value.outlineWidth; + Ark_Int32 value_outlineWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_outlineWidth_type = runtimeType(value_outlineWidth); + valueSerializer.writeInt8(value_outlineWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_outlineWidth_type)) { + const auto value_outlineWidth_value = value_outlineWidth.value; + Ark_Int32 value_outlineWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_outlineWidth_value_type = value_outlineWidth_value.selector; + if ((value_outlineWidth_value_type == 0) || (value_outlineWidth_value_type == 0) || (value_outlineWidth_value_type == 0)) { + valueSerializer.writeInt8(0); + const auto value_outlineWidth_value_0 = value_outlineWidth_value.value0; + Ark_Int32 value_outlineWidth_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_outlineWidth_value_0_type = value_outlineWidth_value_0.selector; + if (value_outlineWidth_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_outlineWidth_value_0_0 = value_outlineWidth_value_0.value0; + valueSerializer.writeString(value_outlineWidth_value_0_0); + } + else if (value_outlineWidth_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_outlineWidth_value_0_1 = value_outlineWidth_value_0.value1; + valueSerializer.writeNumber(value_outlineWidth_value_0_1); + } + else if (value_outlineWidth_value_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_outlineWidth_value_0_2 = value_outlineWidth_value_0.value2; + valueSerializer.writeResource(value_outlineWidth_value_0_2); + } + } + else if (value_outlineWidth_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_outlineWidth_value_1 = value_outlineWidth_value.value1; + valueSerializer.writeEdgeOutlineWidths(value_outlineWidth_value_1); + } + } + const auto value_hapticFeedbackMode = value.hapticFeedbackMode; + Ark_Int32 value_hapticFeedbackMode_type = INTEROP_RUNTIME_UNDEFINED; + value_hapticFeedbackMode_type = runtimeType(value_hapticFeedbackMode); + valueSerializer.writeInt8(value_hapticFeedbackMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hapticFeedbackMode_type)) { + const auto value_hapticFeedbackMode_value = value_hapticFeedbackMode.value; + valueSerializer.writeInt32(static_cast(value_hapticFeedbackMode_value)); + } const auto value_title = value.title; Ark_Int32 value_title_type = INTEROP_RUNTIME_UNDEFINED; value_title_type = runtimeType(value_title); @@ -81216,6 +86523,85 @@ class Serializer : public SerializerBase { valueSerializer.writeBoolean(value_showInSubWindow_value); } } + void writeMenuOutlineOptions(Ark_MenuOutlineOptions value) + { + Serializer& valueSerializer = *this; + const auto value_width = value.width; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; + value_width_type = runtimeType(value_width); + valueSerializer.writeInt8(value_width_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { + const auto value_width_value = value_width.value; + Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; + value_width_value_type = value_width_value.selector; + if ((value_width_value_type == 0) || (value_width_value_type == 0) || (value_width_value_type == 0)) { + valueSerializer.writeInt8(0); + const auto value_width_value_0 = value_width_value.value0; + Ark_Int32 value_width_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_width_value_0_type = value_width_value_0.selector; + if (value_width_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_width_value_0_0 = value_width_value_0.value0; + valueSerializer.writeString(value_width_value_0_0); + } + else if (value_width_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_width_value_0_1 = value_width_value_0.value1; + valueSerializer.writeNumber(value_width_value_0_1); + } + else if (value_width_value_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_width_value_0_2 = value_width_value_0.value2; + valueSerializer.writeResource(value_width_value_0_2); + } + } + else if (value_width_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_width_value_1 = value_width_value.value1; + valueSerializer.writeEdgeOutlineWidths(value_width_value_1); + } + } + const auto value_color = value.color; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; + value_color_type = runtimeType(value_color); + valueSerializer.writeInt8(value_color_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { + const auto value_color_value = value_color.value; + Ark_Int32 value_color_value_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_type = value_color_value.selector; + if ((value_color_value_type == 0) || (value_color_value_type == 0) || (value_color_value_type == 0) || (value_color_value_type == 0)) { + valueSerializer.writeInt8(0); + const auto value_color_value_0 = value_color_value.value0; + Ark_Int32 value_color_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_color_value_0_type = value_color_value_0.selector; + if (value_color_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_color_value_0_0 = value_color_value_0.value0; + valueSerializer.writeInt32(static_cast(value_color_value_0_0)); + } + else if (value_color_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_color_value_0_1 = value_color_value_0.value1; + valueSerializer.writeNumber(value_color_value_0_1); + } + else if (value_color_value_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_color_value_0_2 = value_color_value_0.value2; + valueSerializer.writeString(value_color_value_0_2); + } + else if (value_color_value_0_type == 3) { + valueSerializer.writeInt8(3); + const auto value_color_value_0_3 = value_color_value_0.value3; + valueSerializer.writeResource(value_color_value_0_3); + } + } + else if (value_color_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_color_value_1 = value_color_value.value1; + valueSerializer.writeEdgeColors(value_color_value_1); + } + } + } void writeMouseEvent(Ark_MouseEvent value) { Serializer& valueSerializer = *this; @@ -81303,6 +86689,99 @@ class Serializer : public SerializerBase { } } } + void writeNavigationMenuOptions(Ark_NavigationMenuOptions value) + { + Serializer& valueSerializer = *this; + const auto value_moreButtonOptions = value.moreButtonOptions; + Ark_Int32 value_moreButtonOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_moreButtonOptions_type = runtimeType(value_moreButtonOptions); + valueSerializer.writeInt8(value_moreButtonOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_moreButtonOptions_type)) { + const auto value_moreButtonOptions_value = value_moreButtonOptions.value; + valueSerializer.writeMoreButtonOptions(value_moreButtonOptions_value); + } + } + void writeNavigationToolbarOptions(Ark_NavigationToolbarOptions value) + { + Serializer& valueSerializer = *this; + const auto value_backgroundColor = value.backgroundColor; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundColor_type = runtimeType(value_backgroundColor); + valueSerializer.writeInt8(value_backgroundColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + const auto value_backgroundColor_value = value_backgroundColor.value; + Ark_Int32 value_backgroundColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundColor_value_type = value_backgroundColor_value.selector; + if (value_backgroundColor_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_backgroundColor_value_0 = value_backgroundColor_value.value0; + valueSerializer.writeInt32(static_cast(value_backgroundColor_value_0)); + } + else if (value_backgroundColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_backgroundColor_value_1 = value_backgroundColor_value.value1; + valueSerializer.writeNumber(value_backgroundColor_value_1); + } + else if (value_backgroundColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_backgroundColor_value_2 = value_backgroundColor_value.value2; + valueSerializer.writeString(value_backgroundColor_value_2); + } + else if (value_backgroundColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_backgroundColor_value_3 = value_backgroundColor_value.value3; + valueSerializer.writeResource(value_backgroundColor_value_3); + } + } + const auto value_backgroundBlurStyle = value.backgroundBlurStyle; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); + valueSerializer.writeInt8(value_backgroundBlurStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyle_type)) { + const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; + valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); + } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } + const auto value_moreButtonOptions = value.moreButtonOptions; + Ark_Int32 value_moreButtonOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_moreButtonOptions_type = runtimeType(value_moreButtonOptions); + valueSerializer.writeInt8(value_moreButtonOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_moreButtonOptions_type)) { + const auto value_moreButtonOptions_value = value_moreButtonOptions.value; + valueSerializer.writeMoreButtonOptions(value_moreButtonOptions_value); + } + const auto value_barStyle = value.barStyle; + Ark_Int32 value_barStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_barStyle_type = runtimeType(value_barStyle); + valueSerializer.writeInt8(value_barStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_barStyle_type)) { + const auto value_barStyle_value = value_barStyle.value; + valueSerializer.writeInt32(static_cast(value_barStyle_value)); + } + const auto value_hideItemValue = value.hideItemValue; + Ark_Int32 value_hideItemValue_type = INTEROP_RUNTIME_UNDEFINED; + value_hideItemValue_type = runtimeType(value_hideItemValue); + valueSerializer.writeInt8(value_hideItemValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hideItemValue_type)) { + const auto value_hideItemValue_value = value_hideItemValue.value; + valueSerializer.writeBoolean(value_hideItemValue_value); + } + } void writeOutlineOptions(Ark_OutlineOptions value) { Serializer& valueSerializer = *this; @@ -81317,102 +86796,7 @@ class Serializer : public SerializerBase { if (value_width_value_type == 0) { valueSerializer.writeInt8(0); const auto value_width_value_0 = value_width_value.value0; - const auto value_width_value_0_top = value_width_value_0.top; - Ark_Int32 value_width_value_0_top_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_top_type = runtimeType(value_width_value_0_top); - valueSerializer.writeInt8(value_width_value_0_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_value_0_top_type)) { - const auto value_width_value_0_top_value = value_width_value_0_top.value; - Ark_Int32 value_width_value_0_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_top_value_type = value_width_value_0_top_value.selector; - if (value_width_value_0_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_width_value_0_top_value_0 = value_width_value_0_top_value.value0; - valueSerializer.writeString(value_width_value_0_top_value_0); - } - else if (value_width_value_0_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_width_value_0_top_value_1 = value_width_value_0_top_value.value1; - valueSerializer.writeNumber(value_width_value_0_top_value_1); - } - else if (value_width_value_0_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_0_top_value_2 = value_width_value_0_top_value.value2; - valueSerializer.writeResource(value_width_value_0_top_value_2); - } - } - const auto value_width_value_0_right = value_width_value_0.right; - Ark_Int32 value_width_value_0_right_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_right_type = runtimeType(value_width_value_0_right); - valueSerializer.writeInt8(value_width_value_0_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_value_0_right_type)) { - const auto value_width_value_0_right_value = value_width_value_0_right.value; - Ark_Int32 value_width_value_0_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_right_value_type = value_width_value_0_right_value.selector; - if (value_width_value_0_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_width_value_0_right_value_0 = value_width_value_0_right_value.value0; - valueSerializer.writeString(value_width_value_0_right_value_0); - } - else if (value_width_value_0_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_width_value_0_right_value_1 = value_width_value_0_right_value.value1; - valueSerializer.writeNumber(value_width_value_0_right_value_1); - } - else if (value_width_value_0_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_0_right_value_2 = value_width_value_0_right_value.value2; - valueSerializer.writeResource(value_width_value_0_right_value_2); - } - } - const auto value_width_value_0_bottom = value_width_value_0.bottom; - Ark_Int32 value_width_value_0_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_bottom_type = runtimeType(value_width_value_0_bottom); - valueSerializer.writeInt8(value_width_value_0_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_value_0_bottom_type)) { - const auto value_width_value_0_bottom_value = value_width_value_0_bottom.value; - Ark_Int32 value_width_value_0_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_bottom_value_type = value_width_value_0_bottom_value.selector; - if (value_width_value_0_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_width_value_0_bottom_value_0 = value_width_value_0_bottom_value.value0; - valueSerializer.writeString(value_width_value_0_bottom_value_0); - } - else if (value_width_value_0_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_width_value_0_bottom_value_1 = value_width_value_0_bottom_value.value1; - valueSerializer.writeNumber(value_width_value_0_bottom_value_1); - } - else if (value_width_value_0_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_0_bottom_value_2 = value_width_value_0_bottom_value.value2; - valueSerializer.writeResource(value_width_value_0_bottom_value_2); - } - } - const auto value_width_value_0_left = value_width_value_0.left; - Ark_Int32 value_width_value_0_left_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_left_type = runtimeType(value_width_value_0_left); - valueSerializer.writeInt8(value_width_value_0_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_value_0_left_type)) { - const auto value_width_value_0_left_value = value_width_value_0_left.value; - Ark_Int32 value_width_value_0_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_0_left_value_type = value_width_value_0_left_value.selector; - if (value_width_value_0_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_width_value_0_left_value_0 = value_width_value_0_left_value.value0; - valueSerializer.writeString(value_width_value_0_left_value_0); - } - else if (value_width_value_0_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_width_value_0_left_value_1 = value_width_value_0_left_value.value1; - valueSerializer.writeNumber(value_width_value_0_left_value_1); - } - else if (value_width_value_0_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_width_value_0_left_value_2 = value_width_value_0_left_value.value2; - valueSerializer.writeResource(value_width_value_0_left_value_2); - } - } + valueSerializer.writeEdgeOutlineWidths(value_width_value_0); } else if ((value_width_value_type == 1) || (value_width_value_type == 1) || (value_width_value_type == 1)) { valueSerializer.writeInt8(1); @@ -81447,122 +86831,7 @@ class Serializer : public SerializerBase { if (value_color_value_type == 0) { valueSerializer.writeInt8(0); const auto value_color_value_0 = value_color_value.value0; - const auto value_color_value_0_top = value_color_value_0.top; - Ark_Int32 value_color_value_0_top_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_top_type = runtimeType(value_color_value_0_top); - valueSerializer.writeInt8(value_color_value_0_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_value_0_top_type)) { - const auto value_color_value_0_top_value = value_color_value_0_top.value; - Ark_Int32 value_color_value_0_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_top_value_type = value_color_value_0_top_value.selector; - if (value_color_value_0_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_color_value_0_top_value_0 = value_color_value_0_top_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0_top_value_0)); - } - else if (value_color_value_0_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_color_value_0_top_value_1 = value_color_value_0_top_value.value1; - valueSerializer.writeNumber(value_color_value_0_top_value_1); - } - else if (value_color_value_0_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_value_0_top_value_2 = value_color_value_0_top_value.value2; - valueSerializer.writeString(value_color_value_0_top_value_2); - } - else if (value_color_value_0_top_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_0_top_value_3 = value_color_value_0_top_value.value3; - valueSerializer.writeResource(value_color_value_0_top_value_3); - } - } - const auto value_color_value_0_right = value_color_value_0.right; - Ark_Int32 value_color_value_0_right_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_right_type = runtimeType(value_color_value_0_right); - valueSerializer.writeInt8(value_color_value_0_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_value_0_right_type)) { - const auto value_color_value_0_right_value = value_color_value_0_right.value; - Ark_Int32 value_color_value_0_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_right_value_type = value_color_value_0_right_value.selector; - if (value_color_value_0_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_color_value_0_right_value_0 = value_color_value_0_right_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0_right_value_0)); - } - else if (value_color_value_0_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_color_value_0_right_value_1 = value_color_value_0_right_value.value1; - valueSerializer.writeNumber(value_color_value_0_right_value_1); - } - else if (value_color_value_0_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_value_0_right_value_2 = value_color_value_0_right_value.value2; - valueSerializer.writeString(value_color_value_0_right_value_2); - } - else if (value_color_value_0_right_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_0_right_value_3 = value_color_value_0_right_value.value3; - valueSerializer.writeResource(value_color_value_0_right_value_3); - } - } - const auto value_color_value_0_bottom = value_color_value_0.bottom; - Ark_Int32 value_color_value_0_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_bottom_type = runtimeType(value_color_value_0_bottom); - valueSerializer.writeInt8(value_color_value_0_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_value_0_bottom_type)) { - const auto value_color_value_0_bottom_value = value_color_value_0_bottom.value; - Ark_Int32 value_color_value_0_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_bottom_value_type = value_color_value_0_bottom_value.selector; - if (value_color_value_0_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_color_value_0_bottom_value_0 = value_color_value_0_bottom_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0_bottom_value_0)); - } - else if (value_color_value_0_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_color_value_0_bottom_value_1 = value_color_value_0_bottom_value.value1; - valueSerializer.writeNumber(value_color_value_0_bottom_value_1); - } - else if (value_color_value_0_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_value_0_bottom_value_2 = value_color_value_0_bottom_value.value2; - valueSerializer.writeString(value_color_value_0_bottom_value_2); - } - else if (value_color_value_0_bottom_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_0_bottom_value_3 = value_color_value_0_bottom_value.value3; - valueSerializer.writeResource(value_color_value_0_bottom_value_3); - } - } - const auto value_color_value_0_left = value_color_value_0.left; - Ark_Int32 value_color_value_0_left_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_left_type = runtimeType(value_color_value_0_left); - valueSerializer.writeInt8(value_color_value_0_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_value_0_left_type)) { - const auto value_color_value_0_left_value = value_color_value_0_left.value; - Ark_Int32 value_color_value_0_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_color_value_0_left_value_type = value_color_value_0_left_value.selector; - if (value_color_value_0_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_color_value_0_left_value_0 = value_color_value_0_left_value.value0; - valueSerializer.writeInt32(static_cast(value_color_value_0_left_value_0)); - } - else if (value_color_value_0_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_color_value_0_left_value_1 = value_color_value_0_left_value.value1; - valueSerializer.writeNumber(value_color_value_0_left_value_1); - } - else if (value_color_value_0_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_color_value_0_left_value_2 = value_color_value_0_left_value.value2; - valueSerializer.writeString(value_color_value_0_left_value_2); - } - else if (value_color_value_0_left_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_color_value_0_left_value_3 = value_color_value_0_left_value.value3; - valueSerializer.writeResource(value_color_value_0_left_value_3); - } - } + valueSerializer.writeEdgeColors(value_color_value_0); } else if ((value_color_value_type == 1) || (value_color_value_type == 1) || (value_color_value_type == 1) || (value_color_value_type == 1)) { valueSerializer.writeInt8(1); @@ -81607,102 +86876,7 @@ class Serializer : public SerializerBase { if (value_radius_value_type == 0) { valueSerializer.writeInt8(0); const auto value_radius_value_0 = value_radius_value.value0; - const auto value_radius_value_0_topLeft = value_radius_value_0.topLeft; - Ark_Int32 value_radius_value_0_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_topLeft_type = runtimeType(value_radius_value_0_topLeft); - valueSerializer.writeInt8(value_radius_value_0_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_value_0_topLeft_type)) { - const auto value_radius_value_0_topLeft_value = value_radius_value_0_topLeft.value; - Ark_Int32 value_radius_value_0_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_topLeft_value_type = value_radius_value_0_topLeft_value.selector; - if (value_radius_value_0_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_0_topLeft_value_0 = value_radius_value_0_topLeft_value.value0; - valueSerializer.writeString(value_radius_value_0_topLeft_value_0); - } - else if (value_radius_value_0_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_0_topLeft_value_1 = value_radius_value_0_topLeft_value.value1; - valueSerializer.writeNumber(value_radius_value_0_topLeft_value_1); - } - else if (value_radius_value_0_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_radius_value_0_topLeft_value_2 = value_radius_value_0_topLeft_value.value2; - valueSerializer.writeResource(value_radius_value_0_topLeft_value_2); - } - } - const auto value_radius_value_0_topRight = value_radius_value_0.topRight; - Ark_Int32 value_radius_value_0_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_topRight_type = runtimeType(value_radius_value_0_topRight); - valueSerializer.writeInt8(value_radius_value_0_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_value_0_topRight_type)) { - const auto value_radius_value_0_topRight_value = value_radius_value_0_topRight.value; - Ark_Int32 value_radius_value_0_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_topRight_value_type = value_radius_value_0_topRight_value.selector; - if (value_radius_value_0_topRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_0_topRight_value_0 = value_radius_value_0_topRight_value.value0; - valueSerializer.writeString(value_radius_value_0_topRight_value_0); - } - else if (value_radius_value_0_topRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_0_topRight_value_1 = value_radius_value_0_topRight_value.value1; - valueSerializer.writeNumber(value_radius_value_0_topRight_value_1); - } - else if (value_radius_value_0_topRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_radius_value_0_topRight_value_2 = value_radius_value_0_topRight_value.value2; - valueSerializer.writeResource(value_radius_value_0_topRight_value_2); - } - } - const auto value_radius_value_0_bottomLeft = value_radius_value_0.bottomLeft; - Ark_Int32 value_radius_value_0_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_bottomLeft_type = runtimeType(value_radius_value_0_bottomLeft); - valueSerializer.writeInt8(value_radius_value_0_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_value_0_bottomLeft_type)) { - const auto value_radius_value_0_bottomLeft_value = value_radius_value_0_bottomLeft.value; - Ark_Int32 value_radius_value_0_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_bottomLeft_value_type = value_radius_value_0_bottomLeft_value.selector; - if (value_radius_value_0_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_0_bottomLeft_value_0 = value_radius_value_0_bottomLeft_value.value0; - valueSerializer.writeString(value_radius_value_0_bottomLeft_value_0); - } - else if (value_radius_value_0_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_0_bottomLeft_value_1 = value_radius_value_0_bottomLeft_value.value1; - valueSerializer.writeNumber(value_radius_value_0_bottomLeft_value_1); - } - else if (value_radius_value_0_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_radius_value_0_bottomLeft_value_2 = value_radius_value_0_bottomLeft_value.value2; - valueSerializer.writeResource(value_radius_value_0_bottomLeft_value_2); - } - } - const auto value_radius_value_0_bottomRight = value_radius_value_0.bottomRight; - Ark_Int32 value_radius_value_0_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_bottomRight_type = runtimeType(value_radius_value_0_bottomRight); - valueSerializer.writeInt8(value_radius_value_0_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_value_0_bottomRight_type)) { - const auto value_radius_value_0_bottomRight_value = value_radius_value_0_bottomRight.value; - Ark_Int32 value_radius_value_0_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_0_bottomRight_value_type = value_radius_value_0_bottomRight_value.selector; - if (value_radius_value_0_bottomRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_0_bottomRight_value_0 = value_radius_value_0_bottomRight_value.value0; - valueSerializer.writeString(value_radius_value_0_bottomRight_value_0); - } - else if (value_radius_value_0_bottomRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_0_bottomRight_value_1 = value_radius_value_0_bottomRight_value.value1; - valueSerializer.writeNumber(value_radius_value_0_bottomRight_value_1); - } - else if (value_radius_value_0_bottomRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_radius_value_0_bottomRight_value_2 = value_radius_value_0_bottomRight_value.value2; - valueSerializer.writeResource(value_radius_value_0_bottomRight_value_2); - } - } + valueSerializer.writeOutlineRadiuses(value_radius_value_0); } else if ((value_radius_value_type == 1) || (value_radius_value_type == 1) || (value_radius_value_type == 1)) { valueSerializer.writeInt8(1); @@ -81737,50 +86911,95 @@ class Serializer : public SerializerBase { if (value_style_value_type == 0) { valueSerializer.writeInt8(0); const auto value_style_value_0 = value_style_value.value0; - const auto value_style_value_0_top = value_style_value_0.top; - Ark_Int32 value_style_value_0_top_type = INTEROP_RUNTIME_UNDEFINED; - value_style_value_0_top_type = runtimeType(value_style_value_0_top); - valueSerializer.writeInt8(value_style_value_0_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_value_0_top_type)) { - const auto value_style_value_0_top_value = value_style_value_0_top.value; - valueSerializer.writeInt32(static_cast(value_style_value_0_top_value)); - } - const auto value_style_value_0_right = value_style_value_0.right; - Ark_Int32 value_style_value_0_right_type = INTEROP_RUNTIME_UNDEFINED; - value_style_value_0_right_type = runtimeType(value_style_value_0_right); - valueSerializer.writeInt8(value_style_value_0_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_value_0_right_type)) { - const auto value_style_value_0_right_value = value_style_value_0_right.value; - valueSerializer.writeInt32(static_cast(value_style_value_0_right_value)); - } - const auto value_style_value_0_bottom = value_style_value_0.bottom; - Ark_Int32 value_style_value_0_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_style_value_0_bottom_type = runtimeType(value_style_value_0_bottom); - valueSerializer.writeInt8(value_style_value_0_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_value_0_bottom_type)) { - const auto value_style_value_0_bottom_value = value_style_value_0_bottom.value; - valueSerializer.writeInt32(static_cast(value_style_value_0_bottom_value)); - } - const auto value_style_value_0_left = value_style_value_0.left; - Ark_Int32 value_style_value_0_left_type = INTEROP_RUNTIME_UNDEFINED; - value_style_value_0_left_type = runtimeType(value_style_value_0_left); - valueSerializer.writeInt8(value_style_value_0_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_value_0_left_type)) { - const auto value_style_value_0_left_value = value_style_value_0_left.value; - valueSerializer.writeInt32(static_cast(value_style_value_0_left_value)); - } + valueSerializer.writeEdgeOutlineStyles(value_style_value_0); + } + else if (value_style_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_style_value_1 = value_style_value.value1; + valueSerializer.writeInt32(static_cast(value_style_value_1)); + } + } + } + void writePanGestureEvent(Ark_PanGestureEvent value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } + void writeParagraphStyle(Ark_ParagraphStyle value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } + void writeParagraphStyleInterface(Ark_ParagraphStyleInterface value) + { + Serializer& valueSerializer = *this; + const auto value_textAlign = value.textAlign; + Ark_Int32 value_textAlign_type = INTEROP_RUNTIME_UNDEFINED; + value_textAlign_type = runtimeType(value_textAlign); + valueSerializer.writeInt8(value_textAlign_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textAlign_type)) { + const auto value_textAlign_value = value_textAlign.value; + valueSerializer.writeInt32(static_cast(value_textAlign_value)); + } + const auto value_textIndent = value.textIndent; + Ark_Int32 value_textIndent_type = INTEROP_RUNTIME_UNDEFINED; + value_textIndent_type = runtimeType(value_textIndent); + valueSerializer.writeInt8(value_textIndent_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textIndent_type)) { + const auto value_textIndent_value = value_textIndent.value; + valueSerializer.writeLengthMetrics(value_textIndent_value); + } + const auto value_maxLines = value.maxLines; + Ark_Int32 value_maxLines_type = INTEROP_RUNTIME_UNDEFINED; + value_maxLines_type = runtimeType(value_maxLines); + valueSerializer.writeInt8(value_maxLines_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxLines_type)) { + const auto value_maxLines_value = value_maxLines.value; + valueSerializer.writeNumber(value_maxLines_value); + } + const auto value_overflow = value.overflow; + Ark_Int32 value_overflow_type = INTEROP_RUNTIME_UNDEFINED; + value_overflow_type = runtimeType(value_overflow); + valueSerializer.writeInt8(value_overflow_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_overflow_type)) { + const auto value_overflow_value = value_overflow.value; + valueSerializer.writeInt32(static_cast(value_overflow_value)); + } + const auto value_wordBreak = value.wordBreak; + Ark_Int32 value_wordBreak_type = INTEROP_RUNTIME_UNDEFINED; + value_wordBreak_type = runtimeType(value_wordBreak); + valueSerializer.writeInt8(value_wordBreak_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_wordBreak_type)) { + const auto value_wordBreak_value = value_wordBreak.value; + valueSerializer.writeInt32(static_cast(value_wordBreak_value)); + } + const auto value_leadingMargin = value.leadingMargin; + Ark_Int32 value_leadingMargin_type = INTEROP_RUNTIME_UNDEFINED; + value_leadingMargin_type = runtimeType(value_leadingMargin); + valueSerializer.writeInt8(value_leadingMargin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_leadingMargin_type)) { + const auto value_leadingMargin_value = value_leadingMargin.value; + Ark_Int32 value_leadingMargin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_leadingMargin_value_type = value_leadingMargin_value.selector; + if (value_leadingMargin_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_leadingMargin_value_0 = value_leadingMargin_value.value0; + valueSerializer.writeLengthMetrics(value_leadingMargin_value_0); } - else if (value_style_value_type == 1) { + else if (value_leadingMargin_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_style_value_1 = value_style_value.value1; - valueSerializer.writeInt32(static_cast(value_style_value_1)); + const auto value_leadingMargin_value_1 = value_leadingMargin_value.value1; + valueSerializer.writeLeadingMarginPlaceholder(value_leadingMargin_value_1); } } - } - void writePanGestureEvent(Ark_PanGestureEvent value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); + const auto value_paragraphSpacing = value.paragraphSpacing; + Ark_Int32 value_paragraphSpacing_type = INTEROP_RUNTIME_UNDEFINED; + value_paragraphSpacing_type = runtimeType(value_paragraphSpacing); + valueSerializer.writeInt8(value_paragraphSpacing_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_paragraphSpacing_type)) { + const auto value_paragraphSpacing_value = value_paragraphSpacing.value; + valueSerializer.writeLengthMetrics(value_paragraphSpacing_value); + } } void writePickerDialogButtonStyle(Ark_PickerDialogButtonStyle value) { @@ -81974,102 +87193,7 @@ class Serializer : public SerializerBase { else if (value_borderRadius_value_type == 1) { valueSerializer.writeInt8(1); const auto value_borderRadius_value_1 = value_borderRadius_value.value1; - const auto value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft; - Ark_Int32 value_borderRadius_value_1_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft); - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const auto value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft.value; - Ark_Int32 value_borderRadius_value_1_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topLeft_value_type = value_borderRadius_value_1_topLeft_value.selector; - if (value_borderRadius_value_1_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_topLeft_value_0 = value_borderRadius_value_1_topLeft_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0); - } - else if (value_borderRadius_value_1_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_topLeft_value_1 = value_borderRadius_value_1_topLeft_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1); - } - else if (value_borderRadius_value_1_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_topLeft_value_2 = value_borderRadius_value_1_topLeft_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2); - } - } - const auto value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight; - Ark_Int32 value_borderRadius_value_1_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight); - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const auto value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight.value; - Ark_Int32 value_borderRadius_value_1_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topRight_value_type = value_borderRadius_value_1_topRight_value.selector; - if (value_borderRadius_value_1_topRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_topRight_value_0 = value_borderRadius_value_1_topRight_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0); - } - else if (value_borderRadius_value_1_topRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_topRight_value_1 = value_borderRadius_value_1_topRight_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1); - } - else if (value_borderRadius_value_1_topRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_topRight_value_2 = value_borderRadius_value_1_topRight_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2); - } - } - const auto value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft; - Ark_Int32 value_borderRadius_value_1_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft); - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const auto value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft.value; - Ark_Int32 value_borderRadius_value_1_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomLeft_value_type = value_borderRadius_value_1_bottomLeft_value.selector; - if (value_borderRadius_value_1_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_bottomLeft_value_0 = value_borderRadius_value_1_bottomLeft_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0); - } - else if (value_borderRadius_value_1_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_bottomLeft_value_1 = value_borderRadius_value_1_bottomLeft_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1); - } - else if (value_borderRadius_value_1_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_bottomLeft_value_2 = value_borderRadius_value_1_bottomLeft_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2); - } - } - const auto value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight; - Ark_Int32 value_borderRadius_value_1_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight); - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const auto value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight.value; - Ark_Int32 value_borderRadius_value_1_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomRight_value_type = value_borderRadius_value_1_bottomRight_value.selector; - if (value_borderRadius_value_1_bottomRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_bottomRight_value_0 = value_borderRadius_value_1_bottomRight_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0); - } - else if (value_borderRadius_value_1_bottomRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_bottomRight_value_1 = value_borderRadius_value_1_bottomRight_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1); - } - else if (value_borderRadius_value_1_bottomRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_bottomRight_value_2 = value_borderRadius_value_1_bottomRight_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2); - } - } + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1); } } const auto value_primary = value.primary; @@ -82168,34 +87292,6 @@ class Serializer : public SerializerBase { } } } - void writePointLightStyle(Ark_PointLightStyle value) - { - Serializer& valueSerializer = *this; - const auto value_lightSource = value.lightSource; - Ark_Int32 value_lightSource_type = INTEROP_RUNTIME_UNDEFINED; - value_lightSource_type = runtimeType(value_lightSource); - valueSerializer.writeInt8(value_lightSource_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_lightSource_type)) { - const auto value_lightSource_value = value_lightSource.value; - valueSerializer.writeLightSource(value_lightSource_value); - } - const auto value_illuminated = value.illuminated; - Ark_Int32 value_illuminated_type = INTEROP_RUNTIME_UNDEFINED; - value_illuminated_type = runtimeType(value_illuminated); - valueSerializer.writeInt8(value_illuminated_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_illuminated_type)) { - const auto value_illuminated_value = value_illuminated.value; - valueSerializer.writeInt32(static_cast(value_illuminated_value)); - } - const auto value_bloom = value.bloom; - Ark_Int32 value_bloom_type = INTEROP_RUNTIME_UNDEFINED; - value_bloom_type = runtimeType(value_bloom); - valueSerializer.writeInt8(value_bloom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_bloom_type)) { - const auto value_bloom_value = value_bloom.value; - valueSerializer.writeNumber(value_bloom_value); - } - } void writePopupMessageOptions(Ark_PopupMessageOptions value) { Serializer& valueSerializer = *this; @@ -82246,102 +87342,7 @@ class Serializer : public SerializerBase { valueSerializer.writeInt8(value_slice_type); if ((INTEROP_RUNTIME_UNDEFINED) != (value_slice_type)) { const auto value_slice_value = value_slice.value; - const auto value_slice_value_top = value_slice_value.top; - Ark_Int32 value_slice_value_top_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_top_type = runtimeType(value_slice_value_top); - valueSerializer.writeInt8(value_slice_value_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_slice_value_top_type)) { - const auto value_slice_value_top_value = value_slice_value_top.value; - Ark_Int32 value_slice_value_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_top_value_type = value_slice_value_top_value.selector; - if (value_slice_value_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_slice_value_top_value_0 = value_slice_value_top_value.value0; - valueSerializer.writeString(value_slice_value_top_value_0); - } - else if (value_slice_value_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_slice_value_top_value_1 = value_slice_value_top_value.value1; - valueSerializer.writeNumber(value_slice_value_top_value_1); - } - else if (value_slice_value_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_slice_value_top_value_2 = value_slice_value_top_value.value2; - valueSerializer.writeResource(value_slice_value_top_value_2); - } - } - const auto value_slice_value_right = value_slice_value.right; - Ark_Int32 value_slice_value_right_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_right_type = runtimeType(value_slice_value_right); - valueSerializer.writeInt8(value_slice_value_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_slice_value_right_type)) { - const auto value_slice_value_right_value = value_slice_value_right.value; - Ark_Int32 value_slice_value_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_right_value_type = value_slice_value_right_value.selector; - if (value_slice_value_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_slice_value_right_value_0 = value_slice_value_right_value.value0; - valueSerializer.writeString(value_slice_value_right_value_0); - } - else if (value_slice_value_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_slice_value_right_value_1 = value_slice_value_right_value.value1; - valueSerializer.writeNumber(value_slice_value_right_value_1); - } - else if (value_slice_value_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_slice_value_right_value_2 = value_slice_value_right_value.value2; - valueSerializer.writeResource(value_slice_value_right_value_2); - } - } - const auto value_slice_value_bottom = value_slice_value.bottom; - Ark_Int32 value_slice_value_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_bottom_type = runtimeType(value_slice_value_bottom); - valueSerializer.writeInt8(value_slice_value_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_slice_value_bottom_type)) { - const auto value_slice_value_bottom_value = value_slice_value_bottom.value; - Ark_Int32 value_slice_value_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_bottom_value_type = value_slice_value_bottom_value.selector; - if (value_slice_value_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_slice_value_bottom_value_0 = value_slice_value_bottom_value.value0; - valueSerializer.writeString(value_slice_value_bottom_value_0); - } - else if (value_slice_value_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_slice_value_bottom_value_1 = value_slice_value_bottom_value.value1; - valueSerializer.writeNumber(value_slice_value_bottom_value_1); - } - else if (value_slice_value_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_slice_value_bottom_value_2 = value_slice_value_bottom_value.value2; - valueSerializer.writeResource(value_slice_value_bottom_value_2); - } - } - const auto value_slice_value_left = value_slice_value.left; - Ark_Int32 value_slice_value_left_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_left_type = runtimeType(value_slice_value_left); - valueSerializer.writeInt8(value_slice_value_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_slice_value_left_type)) { - const auto value_slice_value_left_value = value_slice_value_left.value; - Ark_Int32 value_slice_value_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_slice_value_left_value_type = value_slice_value_left_value.selector; - if (value_slice_value_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_slice_value_left_value_0 = value_slice_value_left_value.value0; - valueSerializer.writeString(value_slice_value_left_value_0); - } - else if (value_slice_value_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_slice_value_left_value_1 = value_slice_value_left_value.value1; - valueSerializer.writeNumber(value_slice_value_left_value_1); - } - else if (value_slice_value_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_slice_value_left_value_2 = value_slice_value_left_value.value2; - valueSerializer.writeResource(value_slice_value_left_value_2); - } - } + valueSerializer.writeEdgeWidths(value_slice_value); } const auto value_lattice = value.lattice; Ark_Int32 value_lattice_type = INTEROP_RUNTIME_UNDEFINED; @@ -82387,102 +87388,7 @@ class Serializer : public SerializerBase { else if (value_margin_value_type == 1) { valueSerializer.writeInt8(1); const auto value_margin_value_1 = value_margin_value.value1; - const auto value_margin_value_1_top = value_margin_value_1.top; - Ark_Int32 value_margin_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_top_type = runtimeType(value_margin_value_1_top); - valueSerializer.writeInt8(value_margin_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_value_1_top_type)) { - const auto value_margin_value_1_top_value = value_margin_value_1_top.value; - Ark_Int32 value_margin_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_top_value_type = value_margin_value_1_top_value.selector; - if (value_margin_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_margin_value_1_top_value_0 = value_margin_value_1_top_value.value0; - valueSerializer.writeString(value_margin_value_1_top_value_0); - } - else if (value_margin_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_margin_value_1_top_value_1 = value_margin_value_1_top_value.value1; - valueSerializer.writeNumber(value_margin_value_1_top_value_1); - } - else if (value_margin_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_margin_value_1_top_value_2 = value_margin_value_1_top_value.value2; - valueSerializer.writeResource(value_margin_value_1_top_value_2); - } - } - const auto value_margin_value_1_right = value_margin_value_1.right; - Ark_Int32 value_margin_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_right_type = runtimeType(value_margin_value_1_right); - valueSerializer.writeInt8(value_margin_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_value_1_right_type)) { - const auto value_margin_value_1_right_value = value_margin_value_1_right.value; - Ark_Int32 value_margin_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_right_value_type = value_margin_value_1_right_value.selector; - if (value_margin_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_margin_value_1_right_value_0 = value_margin_value_1_right_value.value0; - valueSerializer.writeString(value_margin_value_1_right_value_0); - } - else if (value_margin_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_margin_value_1_right_value_1 = value_margin_value_1_right_value.value1; - valueSerializer.writeNumber(value_margin_value_1_right_value_1); - } - else if (value_margin_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_margin_value_1_right_value_2 = value_margin_value_1_right_value.value2; - valueSerializer.writeResource(value_margin_value_1_right_value_2); - } - } - const auto value_margin_value_1_bottom = value_margin_value_1.bottom; - Ark_Int32 value_margin_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_bottom_type = runtimeType(value_margin_value_1_bottom); - valueSerializer.writeInt8(value_margin_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_value_1_bottom_type)) { - const auto value_margin_value_1_bottom_value = value_margin_value_1_bottom.value; - Ark_Int32 value_margin_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_bottom_value_type = value_margin_value_1_bottom_value.selector; - if (value_margin_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_margin_value_1_bottom_value_0 = value_margin_value_1_bottom_value.value0; - valueSerializer.writeString(value_margin_value_1_bottom_value_0); - } - else if (value_margin_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_margin_value_1_bottom_value_1 = value_margin_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_margin_value_1_bottom_value_1); - } - else if (value_margin_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_margin_value_1_bottom_value_2 = value_margin_value_1_bottom_value.value2; - valueSerializer.writeResource(value_margin_value_1_bottom_value_2); - } - } - const auto value_margin_value_1_left = value_margin_value_1.left; - Ark_Int32 value_margin_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_left_type = runtimeType(value_margin_value_1_left); - valueSerializer.writeInt8(value_margin_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_value_1_left_type)) { - const auto value_margin_value_1_left_value = value_margin_value_1_left.value; - Ark_Int32 value_margin_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_left_value_type = value_margin_value_1_left_value.selector; - if (value_margin_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_margin_value_1_left_value_0 = value_margin_value_1_left_value.value0; - valueSerializer.writeString(value_margin_value_1_left_value_0); - } - else if (value_margin_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_margin_value_1_left_value_1 = value_margin_value_1_left_value.value1; - valueSerializer.writeNumber(value_margin_value_1_left_value_1); - } - else if (value_margin_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_margin_value_1_left_value_2 = value_margin_value_1_left_value.value2; - valueSerializer.writeResource(value_margin_value_1_left_value_2); - } - } + valueSerializer.writePadding(value_margin_value_1); } } const auto value_borderRadius = value.borderRadius; @@ -82500,637 +87406,918 @@ class Serializer : public SerializerBase { value_borderRadius_value_0_type = value_borderRadius_value_0.selector; if (value_borderRadius_value_0_type == 0) { valueSerializer.writeInt8(0); - const auto value_borderRadius_value_0_0 = value_borderRadius_value_0.value0; - valueSerializer.writeString(value_borderRadius_value_0_0); + const auto value_borderRadius_value_0_0 = value_borderRadius_value_0.value0; + valueSerializer.writeString(value_borderRadius_value_0_0); + } + else if (value_borderRadius_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_borderRadius_value_0_1 = value_borderRadius_value_0.value1; + valueSerializer.writeNumber(value_borderRadius_value_0_1); + } + else if (value_borderRadius_value_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_borderRadius_value_0_2 = value_borderRadius_value_0.value2; + valueSerializer.writeResource(value_borderRadius_value_0_2); + } + } + else if (value_borderRadius_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_borderRadius_value_1 = value_borderRadius_value.value1; + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1); + } + } + } + void writeRichEditorParagraphStyle(Ark_RichEditorParagraphStyle value) + { + Serializer& valueSerializer = *this; + const auto value_textAlign = value.textAlign; + Ark_Int32 value_textAlign_type = INTEROP_RUNTIME_UNDEFINED; + value_textAlign_type = runtimeType(value_textAlign); + valueSerializer.writeInt8(value_textAlign_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textAlign_type)) { + const auto value_textAlign_value = value_textAlign.value; + valueSerializer.writeInt32(static_cast(value_textAlign_value)); + } + const auto value_leadingMargin = value.leadingMargin; + Ark_Int32 value_leadingMargin_type = INTEROP_RUNTIME_UNDEFINED; + value_leadingMargin_type = runtimeType(value_leadingMargin); + valueSerializer.writeInt8(value_leadingMargin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_leadingMargin_type)) { + const auto value_leadingMargin_value = value_leadingMargin.value; + Ark_Int32 value_leadingMargin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_leadingMargin_value_type = value_leadingMargin_value.selector; + if ((value_leadingMargin_value_type == 0) || (value_leadingMargin_value_type == 0) || (value_leadingMargin_value_type == 0)) { + valueSerializer.writeInt8(0); + const auto value_leadingMargin_value_0 = value_leadingMargin_value.value0; + Ark_Int32 value_leadingMargin_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_leadingMargin_value_0_type = value_leadingMargin_value_0.selector; + if (value_leadingMargin_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_leadingMargin_value_0_0 = value_leadingMargin_value_0.value0; + valueSerializer.writeString(value_leadingMargin_value_0_0); + } + else if (value_leadingMargin_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_leadingMargin_value_0_1 = value_leadingMargin_value_0.value1; + valueSerializer.writeNumber(value_leadingMargin_value_0_1); + } + else if (value_leadingMargin_value_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_leadingMargin_value_0_2 = value_leadingMargin_value_0.value2; + valueSerializer.writeResource(value_leadingMargin_value_0_2); + } + } + else if (value_leadingMargin_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_leadingMargin_value_1 = value_leadingMargin_value.value1; + valueSerializer.writeLeadingMarginPlaceholder(value_leadingMargin_value_1); + } + } + const auto value_wordBreak = value.wordBreak; + Ark_Int32 value_wordBreak_type = INTEROP_RUNTIME_UNDEFINED; + value_wordBreak_type = runtimeType(value_wordBreak); + valueSerializer.writeInt8(value_wordBreak_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_wordBreak_type)) { + const auto value_wordBreak_value = value_wordBreak.value; + valueSerializer.writeInt32(static_cast(value_wordBreak_value)); + } + const auto value_lineBreakStrategy = value.lineBreakStrategy; + Ark_Int32 value_lineBreakStrategy_type = INTEROP_RUNTIME_UNDEFINED; + value_lineBreakStrategy_type = runtimeType(value_lineBreakStrategy); + valueSerializer.writeInt8(value_lineBreakStrategy_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lineBreakStrategy_type)) { + const auto value_lineBreakStrategy_value = value_lineBreakStrategy.value; + valueSerializer.writeInt32(static_cast(value_lineBreakStrategy_value)); + } + const auto value_paragraphSpacing = value.paragraphSpacing; + Ark_Int32 value_paragraphSpacing_type = INTEROP_RUNTIME_UNDEFINED; + value_paragraphSpacing_type = runtimeType(value_paragraphSpacing); + valueSerializer.writeInt8(value_paragraphSpacing_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_paragraphSpacing_type)) { + const auto value_paragraphSpacing_value = value_paragraphSpacing.value; + valueSerializer.writeNumber(value_paragraphSpacing_value); + } + } + void writeRichEditorParagraphStyleOptions(Ark_RichEditorParagraphStyleOptions value) + { + Serializer& valueSerializer = *this; + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeNumber(value_start_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeNumber(value_end_value); + } + const auto value_style = value.style; + valueSerializer.writeRichEditorParagraphStyle(value_style); + } + void writeRotationGestureEvent(Ark_RotationGestureEvent value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } + void writeRunMetrics(Ark_RunMetrics value) + { + Serializer& valueSerializer = *this; + const auto value_textStyle = value.textStyle; + valueSerializer.writetext_TextStyle(value_textStyle); + const auto value_fontMetrics = value.fontMetrics; + valueSerializer.writeFontMetrics(value_fontMetrics); + } + void writeSectionOptions(Ark_SectionOptions value) + { + Serializer& valueSerializer = *this; + const auto value_itemsCount = value.itemsCount; + valueSerializer.writeNumber(value_itemsCount); + const auto value_crossCount = value.crossCount; + Ark_Int32 value_crossCount_type = INTEROP_RUNTIME_UNDEFINED; + value_crossCount_type = runtimeType(value_crossCount); + valueSerializer.writeInt8(value_crossCount_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_crossCount_type)) { + const auto value_crossCount_value = value_crossCount.value; + valueSerializer.writeNumber(value_crossCount_value); + } + const auto value_onGetItemMainSizeByIndex = value.onGetItemMainSizeByIndex; + Ark_Int32 value_onGetItemMainSizeByIndex_type = INTEROP_RUNTIME_UNDEFINED; + value_onGetItemMainSizeByIndex_type = runtimeType(value_onGetItemMainSizeByIndex); + valueSerializer.writeInt8(value_onGetItemMainSizeByIndex_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onGetItemMainSizeByIndex_type)) { + const auto value_onGetItemMainSizeByIndex_value = value_onGetItemMainSizeByIndex.value; + valueSerializer.writeCallbackResource(value_onGetItemMainSizeByIndex_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onGetItemMainSizeByIndex_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onGetItemMainSizeByIndex_value.callSync)); + } + const auto value_columnsGap = value.columnsGap; + Ark_Int32 value_columnsGap_type = INTEROP_RUNTIME_UNDEFINED; + value_columnsGap_type = runtimeType(value_columnsGap); + valueSerializer.writeInt8(value_columnsGap_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_columnsGap_type)) { + const auto value_columnsGap_value = value_columnsGap.value; + Ark_Int32 value_columnsGap_value_type = INTEROP_RUNTIME_UNDEFINED; + value_columnsGap_value_type = value_columnsGap_value.selector; + if (value_columnsGap_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_columnsGap_value_0 = value_columnsGap_value.value0; + valueSerializer.writeString(value_columnsGap_value_0); + } + else if (value_columnsGap_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_columnsGap_value_1 = value_columnsGap_value.value1; + valueSerializer.writeNumber(value_columnsGap_value_1); + } + else if (value_columnsGap_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_columnsGap_value_2 = value_columnsGap_value.value2; + valueSerializer.writeResource(value_columnsGap_value_2); + } + } + const auto value_rowsGap = value.rowsGap; + Ark_Int32 value_rowsGap_type = INTEROP_RUNTIME_UNDEFINED; + value_rowsGap_type = runtimeType(value_rowsGap); + valueSerializer.writeInt8(value_rowsGap_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_rowsGap_type)) { + const auto value_rowsGap_value = value_rowsGap.value; + Ark_Int32 value_rowsGap_value_type = INTEROP_RUNTIME_UNDEFINED; + value_rowsGap_value_type = value_rowsGap_value.selector; + if (value_rowsGap_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_rowsGap_value_0 = value_rowsGap_value.value0; + valueSerializer.writeString(value_rowsGap_value_0); + } + else if (value_rowsGap_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_rowsGap_value_1 = value_rowsGap_value.value1; + valueSerializer.writeNumber(value_rowsGap_value_1); + } + else if (value_rowsGap_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_rowsGap_value_2 = value_rowsGap_value.value2; + valueSerializer.writeResource(value_rowsGap_value_2); + } + } + const auto value_margin = value.margin; + Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; + value_margin_type = runtimeType(value_margin); + valueSerializer.writeInt8(value_margin_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { + const auto value_margin_value = value_margin.value; + Ark_Int32 value_margin_value_type = INTEROP_RUNTIME_UNDEFINED; + value_margin_value_type = value_margin_value.selector; + if (value_margin_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_margin_value_0 = value_margin_value.value0; + valueSerializer.writePadding(value_margin_value_0); + } + else if ((value_margin_value_type == 1) || (value_margin_value_type == 1) || (value_margin_value_type == 1)) { + valueSerializer.writeInt8(1); + const auto value_margin_value_1 = value_margin_value.value1; + Ark_Int32 value_margin_value_1_type = INTEROP_RUNTIME_UNDEFINED; + value_margin_value_1_type = value_margin_value_1.selector; + if (value_margin_value_1_type == 0) { + valueSerializer.writeInt8(0); + const auto value_margin_value_1_0 = value_margin_value_1.value0; + valueSerializer.writeString(value_margin_value_1_0); + } + else if (value_margin_value_1_type == 1) { + valueSerializer.writeInt8(1); + const auto value_margin_value_1_1 = value_margin_value_1.value1; + valueSerializer.writeNumber(value_margin_value_1_1); + } + else if (value_margin_value_1_type == 2) { + valueSerializer.writeInt8(2); + const auto value_margin_value_1_2 = value_margin_value_1.value2; + valueSerializer.writeResource(value_margin_value_1_2); + } + } + } + } + void writeSheetOptions(Ark_SheetOptions value) + { + Serializer& valueSerializer = *this; + const auto value_backgroundColor = value.backgroundColor; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundColor_type = runtimeType(value_backgroundColor); + valueSerializer.writeInt8(value_backgroundColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + const auto value_backgroundColor_value = value_backgroundColor.value; + Ark_Int32 value_backgroundColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundColor_value_type = value_backgroundColor_value.selector; + if (value_backgroundColor_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_backgroundColor_value_0 = value_backgroundColor_value.value0; + valueSerializer.writeInt32(static_cast(value_backgroundColor_value_0)); + } + else if (value_backgroundColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_backgroundColor_value_1 = value_backgroundColor_value.value1; + valueSerializer.writeNumber(value_backgroundColor_value_1); + } + else if (value_backgroundColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_backgroundColor_value_2 = value_backgroundColor_value.value2; + valueSerializer.writeString(value_backgroundColor_value_2); + } + else if (value_backgroundColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_backgroundColor_value_3 = value_backgroundColor_value.value3; + valueSerializer.writeResource(value_backgroundColor_value_3); + } + } + const auto value_onAppear = value.onAppear; + Ark_Int32 value_onAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onAppear_type = runtimeType(value_onAppear); + valueSerializer.writeInt8(value_onAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onAppear_type)) { + const auto value_onAppear_value = value_onAppear.value; + valueSerializer.writeCallbackResource(value_onAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onAppear_value.callSync)); + } + const auto value_onDisappear = value.onDisappear; + Ark_Int32 value_onDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onDisappear_type = runtimeType(value_onDisappear); + valueSerializer.writeInt8(value_onDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDisappear_type)) { + const auto value_onDisappear_value = value_onDisappear.value; + valueSerializer.writeCallbackResource(value_onDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDisappear_value.callSync)); + } + const auto value_onWillAppear = value.onWillAppear; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillAppear_type = runtimeType(value_onWillAppear); + valueSerializer.writeInt8(value_onWillAppear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillAppear_type)) { + const auto value_onWillAppear_value = value_onWillAppear.value; + valueSerializer.writeCallbackResource(value_onWillAppear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.callSync)); + } + const auto value_onWillDisappear = value.onWillDisappear; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillDisappear_type = runtimeType(value_onWillDisappear); + valueSerializer.writeInt8(value_onWillDisappear_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDisappear_type)) { + const auto value_onWillDisappear_value = value_onWillDisappear.value; + valueSerializer.writeCallbackResource(value_onWillDisappear_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.callSync)); + } + const auto value_height = value.height; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; + value_height_type = runtimeType(value_height); + valueSerializer.writeInt8(value_height_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { + const auto value_height_value = value_height.value; + Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; + value_height_value_type = value_height_value.selector; + if (value_height_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_height_value_0 = value_height_value.value0; + valueSerializer.writeInt32(static_cast(value_height_value_0)); + } + else if ((value_height_value_type == 1) || (value_height_value_type == 1) || (value_height_value_type == 1)) { + valueSerializer.writeInt8(1); + const auto value_height_value_1 = value_height_value.value1; + Ark_Int32 value_height_value_1_type = INTEROP_RUNTIME_UNDEFINED; + value_height_value_1_type = value_height_value_1.selector; + if (value_height_value_1_type == 0) { + valueSerializer.writeInt8(0); + const auto value_height_value_1_0 = value_height_value_1.value0; + valueSerializer.writeString(value_height_value_1_0); + } + else if (value_height_value_1_type == 1) { + valueSerializer.writeInt8(1); + const auto value_height_value_1_1 = value_height_value_1.value1; + valueSerializer.writeNumber(value_height_value_1_1); + } + else if (value_height_value_1_type == 2) { + valueSerializer.writeInt8(2); + const auto value_height_value_1_2 = value_height_value_1.value2; + valueSerializer.writeResource(value_height_value_1_2); + } + } + } + const auto value_dragBar = value.dragBar; + Ark_Int32 value_dragBar_type = INTEROP_RUNTIME_UNDEFINED; + value_dragBar_type = runtimeType(value_dragBar); + valueSerializer.writeInt8(value_dragBar_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dragBar_type)) { + const auto value_dragBar_value = value_dragBar.value; + valueSerializer.writeBoolean(value_dragBar_value); + } + const auto value_maskColor = value.maskColor; + Ark_Int32 value_maskColor_type = INTEROP_RUNTIME_UNDEFINED; + value_maskColor_type = runtimeType(value_maskColor); + valueSerializer.writeInt8(value_maskColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskColor_type)) { + const auto value_maskColor_value = value_maskColor.value; + Ark_Int32 value_maskColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_maskColor_value_type = value_maskColor_value.selector; + if (value_maskColor_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_maskColor_value_0 = value_maskColor_value.value0; + valueSerializer.writeInt32(static_cast(value_maskColor_value_0)); + } + else if (value_maskColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_maskColor_value_1 = value_maskColor_value.value1; + valueSerializer.writeNumber(value_maskColor_value_1); + } + else if (value_maskColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_maskColor_value_2 = value_maskColor_value.value2; + valueSerializer.writeString(value_maskColor_value_2); + } + else if (value_maskColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_maskColor_value_3 = value_maskColor_value.value3; + valueSerializer.writeResource(value_maskColor_value_3); + } + } + const auto value_detents = value.detents; + Ark_Int32 value_detents_type = INTEROP_RUNTIME_UNDEFINED; + value_detents_type = runtimeType(value_detents); + valueSerializer.writeInt8(value_detents_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_detents_type)) { + const auto value_detents_value = value_detents.value; + const auto value_detents_value_0 = value_detents_value.value0; + Ark_Int32 value_detents_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_detents_value_0_type = value_detents_value_0.selector; + if (value_detents_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_detents_value_0_0 = value_detents_value_0.value0; + valueSerializer.writeInt32(static_cast(value_detents_value_0_0)); + } + else if ((value_detents_value_0_type == 1) || (value_detents_value_0_type == 1) || (value_detents_value_0_type == 1)) { + valueSerializer.writeInt8(1); + const auto value_detents_value_0_1 = value_detents_value_0.value1; + Ark_Int32 value_detents_value_0_1_type = INTEROP_RUNTIME_UNDEFINED; + value_detents_value_0_1_type = value_detents_value_0_1.selector; + if (value_detents_value_0_1_type == 0) { + valueSerializer.writeInt8(0); + const auto value_detents_value_0_1_0 = value_detents_value_0_1.value0; + valueSerializer.writeString(value_detents_value_0_1_0); } - else if (value_borderRadius_value_0_type == 1) { + else if (value_detents_value_0_1_type == 1) { valueSerializer.writeInt8(1); - const auto value_borderRadius_value_0_1 = value_borderRadius_value_0.value1; - valueSerializer.writeNumber(value_borderRadius_value_0_1); + const auto value_detents_value_0_1_1 = value_detents_value_0_1.value1; + valueSerializer.writeNumber(value_detents_value_0_1_1); } - else if (value_borderRadius_value_0_type == 2) { + else if (value_detents_value_0_1_type == 2) { valueSerializer.writeInt8(2); - const auto value_borderRadius_value_0_2 = value_borderRadius_value_0.value2; - valueSerializer.writeResource(value_borderRadius_value_0_2); + const auto value_detents_value_0_1_2 = value_detents_value_0_1.value2; + valueSerializer.writeResource(value_detents_value_0_1_2); } } - else if (value_borderRadius_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1 = value_borderRadius_value.value1; - const auto value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft; - Ark_Int32 value_borderRadius_value_1_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft); - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const auto value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft.value; - Ark_Int32 value_borderRadius_value_1_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topLeft_value_type = value_borderRadius_value_1_topLeft_value.selector; - if (value_borderRadius_value_1_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_topLeft_value_0 = value_borderRadius_value_1_topLeft_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0); - } - else if (value_borderRadius_value_1_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_topLeft_value_1 = value_borderRadius_value_1_topLeft_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1); - } - else if (value_borderRadius_value_1_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_topLeft_value_2 = value_borderRadius_value_1_topLeft_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2); - } + const auto value_detents_value_1 = value_detents_value.value1; + Ark_Int32 value_detents_value_1_type = INTEROP_RUNTIME_UNDEFINED; + value_detents_value_1_type = runtimeType(value_detents_value_1); + valueSerializer.writeInt8(value_detents_value_1_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_detents_value_1_type)) { + const auto value_detents_value_1_value = value_detents_value_1.value; + Ark_Int32 value_detents_value_1_value_type = INTEROP_RUNTIME_UNDEFINED; + value_detents_value_1_value_type = value_detents_value_1_value.selector; + if (value_detents_value_1_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_detents_value_1_value_0 = value_detents_value_1_value.value0; + valueSerializer.writeInt32(static_cast(value_detents_value_1_value_0)); } - const auto value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight; - Ark_Int32 value_borderRadius_value_1_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight); - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const auto value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight.value; - Ark_Int32 value_borderRadius_value_1_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_topRight_value_type = value_borderRadius_value_1_topRight_value.selector; - if (value_borderRadius_value_1_topRight_value_type == 0) { + else if ((value_detents_value_1_value_type == 1) || (value_detents_value_1_value_type == 1) || (value_detents_value_1_value_type == 1)) { + valueSerializer.writeInt8(1); + const auto value_detents_value_1_value_1 = value_detents_value_1_value.value1; + Ark_Int32 value_detents_value_1_value_1_type = INTEROP_RUNTIME_UNDEFINED; + value_detents_value_1_value_1_type = value_detents_value_1_value_1.selector; + if (value_detents_value_1_value_1_type == 0) { valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_topRight_value_0 = value_borderRadius_value_1_topRight_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0); + const auto value_detents_value_1_value_1_0 = value_detents_value_1_value_1.value0; + valueSerializer.writeString(value_detents_value_1_value_1_0); } - else if (value_borderRadius_value_1_topRight_value_type == 1) { + else if (value_detents_value_1_value_1_type == 1) { valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_topRight_value_1 = value_borderRadius_value_1_topRight_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1); + const auto value_detents_value_1_value_1_1 = value_detents_value_1_value_1.value1; + valueSerializer.writeNumber(value_detents_value_1_value_1_1); } - else if (value_borderRadius_value_1_topRight_value_type == 2) { + else if (value_detents_value_1_value_1_type == 2) { valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_topRight_value_2 = value_borderRadius_value_1_topRight_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2); + const auto value_detents_value_1_value_1_2 = value_detents_value_1_value_1.value2; + valueSerializer.writeResource(value_detents_value_1_value_1_2); } } - const auto value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft; - Ark_Int32 value_borderRadius_value_1_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft); - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const auto value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft.value; - Ark_Int32 value_borderRadius_value_1_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomLeft_value_type = value_borderRadius_value_1_bottomLeft_value.selector; - if (value_borderRadius_value_1_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_bottomLeft_value_0 = value_borderRadius_value_1_bottomLeft_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0); - } - else if (value_borderRadius_value_1_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_bottomLeft_value_1 = value_borderRadius_value_1_bottomLeft_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1); - } - else if (value_borderRadius_value_1_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_bottomLeft_value_2 = value_borderRadius_value_1_bottomLeft_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2); - } + } + const auto value_detents_value_2 = value_detents_value.value2; + Ark_Int32 value_detents_value_2_type = INTEROP_RUNTIME_UNDEFINED; + value_detents_value_2_type = runtimeType(value_detents_value_2); + valueSerializer.writeInt8(value_detents_value_2_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_detents_value_2_type)) { + const auto value_detents_value_2_value = value_detents_value_2.value; + Ark_Int32 value_detents_value_2_value_type = INTEROP_RUNTIME_UNDEFINED; + value_detents_value_2_value_type = value_detents_value_2_value.selector; + if (value_detents_value_2_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_detents_value_2_value_0 = value_detents_value_2_value.value0; + valueSerializer.writeInt32(static_cast(value_detents_value_2_value_0)); } - const auto value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight; - Ark_Int32 value_borderRadius_value_1_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight); - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const auto value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight.value; - Ark_Int32 value_borderRadius_value_1_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderRadius_value_1_bottomRight_value_type = value_borderRadius_value_1_bottomRight_value.selector; - if (value_borderRadius_value_1_bottomRight_value_type == 0) { + else if ((value_detents_value_2_value_type == 1) || (value_detents_value_2_value_type == 1) || (value_detents_value_2_value_type == 1)) { + valueSerializer.writeInt8(1); + const auto value_detents_value_2_value_1 = value_detents_value_2_value.value1; + Ark_Int32 value_detents_value_2_value_1_type = INTEROP_RUNTIME_UNDEFINED; + value_detents_value_2_value_1_type = value_detents_value_2_value_1.selector; + if (value_detents_value_2_value_1_type == 0) { valueSerializer.writeInt8(0); - const auto value_borderRadius_value_1_bottomRight_value_0 = value_borderRadius_value_1_bottomRight_value.value0; - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0); + const auto value_detents_value_2_value_1_0 = value_detents_value_2_value_1.value0; + valueSerializer.writeString(value_detents_value_2_value_1_0); } - else if (value_borderRadius_value_1_bottomRight_value_type == 1) { + else if (value_detents_value_2_value_1_type == 1) { valueSerializer.writeInt8(1); - const auto value_borderRadius_value_1_bottomRight_value_1 = value_borderRadius_value_1_bottomRight_value.value1; - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1); + const auto value_detents_value_2_value_1_1 = value_detents_value_2_value_1.value1; + valueSerializer.writeNumber(value_detents_value_2_value_1_1); } - else if (value_borderRadius_value_1_bottomRight_value_type == 2) { + else if (value_detents_value_2_value_1_type == 2) { valueSerializer.writeInt8(2); - const auto value_borderRadius_value_1_bottomRight_value_2 = value_borderRadius_value_1_bottomRight_value.value2; - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2); + const auto value_detents_value_2_value_1_2 = value_detents_value_2_value_1.value2; + valueSerializer.writeResource(value_detents_value_2_value_1_2); } } } } - } - void writeRichEditorSymbolSpanOptions(Ark_RichEditorSymbolSpanOptions value) - { - Serializer& valueSerializer = *this; - const auto value_offset = value.offset; - Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_type = runtimeType(value_offset); - valueSerializer.writeInt8(value_offset_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { - const auto value_offset_value = value_offset.value; - valueSerializer.writeNumber(value_offset_value); - } - const auto value_style = value.style; - Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; - value_style_type = runtimeType(value_style); - valueSerializer.writeInt8(value_style_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { - const auto value_style_value = value_style.value; - valueSerializer.writeRichEditorSymbolSpanStyle(value_style_value); + const auto value_blurStyle = value.blurStyle; + Ark_Int32 value_blurStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_blurStyle_type = runtimeType(value_blurStyle); + valueSerializer.writeInt8(value_blurStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_blurStyle_type)) { + const auto value_blurStyle_value = value_blurStyle.value; + valueSerializer.writeInt32(static_cast(value_blurStyle_value)); } - } - void writeRichEditorTextStyle(Ark_RichEditorTextStyle value) - { - Serializer& valueSerializer = *this; - const auto value_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; - value_fontColor_type = runtimeType(value_fontColor); - valueSerializer.writeInt8(value_fontColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { - const auto value_fontColor_value = value_fontColor.value; - Ark_Int32 value_fontColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontColor_value_type = value_fontColor_value.selector; - if (value_fontColor_value_type == 0) { + const auto value_showClose = value.showClose; + Ark_Int32 value_showClose_type = INTEROP_RUNTIME_UNDEFINED; + value_showClose_type = runtimeType(value_showClose); + valueSerializer.writeInt8(value_showClose_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_showClose_type)) { + const auto value_showClose_value = value_showClose.value; + Ark_Int32 value_showClose_value_type = INTEROP_RUNTIME_UNDEFINED; + value_showClose_value_type = value_showClose_value.selector; + if (value_showClose_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontColor_value_0 = value_fontColor_value.value0; - valueSerializer.writeInt32(static_cast(value_fontColor_value_0)); + const auto value_showClose_value_0 = value_showClose_value.value0; + valueSerializer.writeBoolean(value_showClose_value_0); } - else if (value_fontColor_value_type == 1) { + else if (value_showClose_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontColor_value_1 = value_fontColor_value.value1; - valueSerializer.writeNumber(value_fontColor_value_1); - } - else if (value_fontColor_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_fontColor_value_2 = value_fontColor_value.value2; - valueSerializer.writeString(value_fontColor_value_2); - } - else if (value_fontColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_fontColor_value_3 = value_fontColor_value.value3; - valueSerializer.writeResource(value_fontColor_value_3); + const auto value_showClose_value_1 = value_showClose_value.value1; + valueSerializer.writeResource(value_showClose_value_1); } } - const auto value_fontSize = value.fontSize; - Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; - value_fontSize_type = runtimeType(value_fontSize); - valueSerializer.writeInt8(value_fontSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { - const auto value_fontSize_value = value_fontSize.value; - Ark_Int32 value_fontSize_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontSize_value_type = value_fontSize_value.selector; - if (value_fontSize_value_type == 0) { + const auto value_preferType = value.preferType; + Ark_Int32 value_preferType_type = INTEROP_RUNTIME_UNDEFINED; + value_preferType_type = runtimeType(value_preferType); + valueSerializer.writeInt8(value_preferType_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_preferType_type)) { + const auto value_preferType_value = value_preferType.value; + valueSerializer.writeInt32(static_cast(value_preferType_value)); + } + const auto value_title = value.title; + Ark_Int32 value_title_type = INTEROP_RUNTIME_UNDEFINED; + value_title_type = runtimeType(value_title); + valueSerializer.writeInt8(value_title_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_title_type)) { + const auto value_title_value = value_title.value; + Ark_Int32 value_title_value_type = INTEROP_RUNTIME_UNDEFINED; + value_title_value_type = value_title_value.selector; + if (value_title_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_fontSize_value_0 = value_fontSize_value.value0; - valueSerializer.writeString(value_fontSize_value_0); + const auto value_title_value_0 = value_title_value.value0; + valueSerializer.writeSheetTitleOptions(value_title_value_0); } - else if (value_fontSize_value_type == 1) { + else if (value_title_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_fontSize_value_1 = value_fontSize_value.value1; - valueSerializer.writeNumber(value_fontSize_value_1); - } - else if (value_fontSize_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_fontSize_value_2 = value_fontSize_value.value2; - valueSerializer.writeResource(value_fontSize_value_2); + const auto value_title_value_1 = value_title_value.value1; + valueSerializer.writeCallbackResource(value_title_value_1.resource); + valueSerializer.writePointer(reinterpret_cast(value_title_value_1.call)); + valueSerializer.writePointer(reinterpret_cast(value_title_value_1.callSync)); } } - const auto value_fontStyle = value.fontStyle; - Ark_Int32 value_fontStyle_type = INTEROP_RUNTIME_UNDEFINED; - value_fontStyle_type = runtimeType(value_fontStyle); - valueSerializer.writeInt8(value_fontStyle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontStyle_type)) { - const auto value_fontStyle_value = value_fontStyle.value; - valueSerializer.writeInt32(static_cast(value_fontStyle_value)); + const auto value_shouldDismiss = value.shouldDismiss; + Ark_Int32 value_shouldDismiss_type = INTEROP_RUNTIME_UNDEFINED; + value_shouldDismiss_type = runtimeType(value_shouldDismiss); + valueSerializer.writeInt8(value_shouldDismiss_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shouldDismiss_type)) { + const auto value_shouldDismiss_value = value_shouldDismiss.value; + valueSerializer.writeCallbackResource(value_shouldDismiss_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_shouldDismiss_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_shouldDismiss_value.callSync)); } - const auto value_fontWeight = value.fontWeight; - Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; - value_fontWeight_type = runtimeType(value_fontWeight); - valueSerializer.writeInt8(value_fontWeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { - const auto value_fontWeight_value = value_fontWeight.value; - Ark_Int32 value_fontWeight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontWeight_value_type = value_fontWeight_value.selector; - if (value_fontWeight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_fontWeight_value_0 = value_fontWeight_value.value0; - valueSerializer.writeNumber(value_fontWeight_value_0); - } - else if (value_fontWeight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_fontWeight_value_1 = value_fontWeight_value.value1; - valueSerializer.writeInt32(static_cast(value_fontWeight_value_1)); - } - else if (value_fontWeight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_fontWeight_value_2 = value_fontWeight_value.value2; - valueSerializer.writeString(value_fontWeight_value_2); - } + const auto value_onWillDismiss = value.onWillDismiss; + Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillDismiss_type = runtimeType(value_onWillDismiss); + valueSerializer.writeInt8(value_onWillDismiss_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDismiss_type)) { + const auto value_onWillDismiss_value = value_onWillDismiss.value; + valueSerializer.writeCallbackResource(value_onWillDismiss_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillDismiss_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillDismiss_value.callSync)); } - const auto value_fontFamily = value.fontFamily; - Ark_Int32 value_fontFamily_type = INTEROP_RUNTIME_UNDEFINED; - value_fontFamily_type = runtimeType(value_fontFamily); - valueSerializer.writeInt8(value_fontFamily_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFamily_type)) { - const auto value_fontFamily_value = value_fontFamily.value; - Ark_Int32 value_fontFamily_value_type = INTEROP_RUNTIME_UNDEFINED; - value_fontFamily_value_type = value_fontFamily_value.selector; - if (value_fontFamily_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_fontFamily_value_0 = value_fontFamily_value.value0; - valueSerializer.writeString(value_fontFamily_value_0); - } - else if (value_fontFamily_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_fontFamily_value_1 = value_fontFamily_value.value1; - valueSerializer.writeResource(value_fontFamily_value_1); - } + const auto value_onWillSpringBackWhenDismiss = value.onWillSpringBackWhenDismiss; + Ark_Int32 value_onWillSpringBackWhenDismiss_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillSpringBackWhenDismiss_type = runtimeType(value_onWillSpringBackWhenDismiss); + valueSerializer.writeInt8(value_onWillSpringBackWhenDismiss_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillSpringBackWhenDismiss_type)) { + const auto value_onWillSpringBackWhenDismiss_value = value_onWillSpringBackWhenDismiss.value; + valueSerializer.writeCallbackResource(value_onWillSpringBackWhenDismiss_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillSpringBackWhenDismiss_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillSpringBackWhenDismiss_value.callSync)); } - const auto value_decoration = value.decoration; - Ark_Int32 value_decoration_type = INTEROP_RUNTIME_UNDEFINED; - value_decoration_type = runtimeType(value_decoration); - valueSerializer.writeInt8(value_decoration_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_decoration_type)) { - const auto value_decoration_value = value_decoration.value; - valueSerializer.writeDecorationStyleInterface(value_decoration_value); + const auto value_enableOutsideInteractive = value.enableOutsideInteractive; + Ark_Int32 value_enableOutsideInteractive_type = INTEROP_RUNTIME_UNDEFINED; + value_enableOutsideInteractive_type = runtimeType(value_enableOutsideInteractive); + valueSerializer.writeInt8(value_enableOutsideInteractive_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableOutsideInteractive_type)) { + const auto value_enableOutsideInteractive_value = value_enableOutsideInteractive.value; + valueSerializer.writeBoolean(value_enableOutsideInteractive_value); } - const auto value_textShadow = value.textShadow; - Ark_Int32 value_textShadow_type = INTEROP_RUNTIME_UNDEFINED; - value_textShadow_type = runtimeType(value_textShadow); - valueSerializer.writeInt8(value_textShadow_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_textShadow_type)) { - const auto value_textShadow_value = value_textShadow.value; - Ark_Int32 value_textShadow_value_type = INTEROP_RUNTIME_UNDEFINED; - value_textShadow_value_type = value_textShadow_value.selector; - if (value_textShadow_value_type == 0) { + const auto value_width = value.width; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; + value_width_type = runtimeType(value_width); + valueSerializer.writeInt8(value_width_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { + const auto value_width_value = value_width.value; + Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; + value_width_value_type = value_width_value.selector; + if (value_width_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_textShadow_value_0 = value_textShadow_value.value0; - valueSerializer.writeShadowOptions(value_textShadow_value_0); + const auto value_width_value_0 = value_width_value.value0; + valueSerializer.writeString(value_width_value_0); } - else if (value_textShadow_value_type == 1) { + else if (value_width_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_textShadow_value_1 = value_textShadow_value.value1; - valueSerializer.writeInt32(value_textShadow_value_1.length); - for (int i = 0; i < value_textShadow_value_1.length; i++) { - const Ark_ShadowOptions value_textShadow_value_1_element = value_textShadow_value_1.array[i]; - valueSerializer.writeShadowOptions(value_textShadow_value_1_element); - } - } - } - const auto value_letterSpacing = value.letterSpacing; - Ark_Int32 value_letterSpacing_type = INTEROP_RUNTIME_UNDEFINED; - value_letterSpacing_type = runtimeType(value_letterSpacing); - valueSerializer.writeInt8(value_letterSpacing_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_letterSpacing_type)) { - const auto value_letterSpacing_value = value_letterSpacing.value; - Ark_Int32 value_letterSpacing_value_type = INTEROP_RUNTIME_UNDEFINED; - value_letterSpacing_value_type = value_letterSpacing_value.selector; - if (value_letterSpacing_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_letterSpacing_value_0 = value_letterSpacing_value.value0; - valueSerializer.writeNumber(value_letterSpacing_value_0); + const auto value_width_value_1 = value_width_value.value1; + valueSerializer.writeNumber(value_width_value_1); } - else if (value_letterSpacing_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_letterSpacing_value_1 = value_letterSpacing_value.value1; - valueSerializer.writeString(value_letterSpacing_value_1); + else if (value_width_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_width_value_2 = value_width_value.value2; + valueSerializer.writeResource(value_width_value_2); } } - const auto value_lineHeight = value.lineHeight; - Ark_Int32 value_lineHeight_type = INTEROP_RUNTIME_UNDEFINED; - value_lineHeight_type = runtimeType(value_lineHeight); - valueSerializer.writeInt8(value_lineHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_lineHeight_type)) { - const auto value_lineHeight_value = value_lineHeight.value; - Ark_Int32 value_lineHeight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_lineHeight_value_type = value_lineHeight_value.selector; - if (value_lineHeight_value_type == 0) { + const auto value_borderWidth = value.borderWidth; + Ark_Int32 value_borderWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_borderWidth_type = runtimeType(value_borderWidth); + valueSerializer.writeInt8(value_borderWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { + const auto value_borderWidth_value = value_borderWidth.value; + Ark_Int32 value_borderWidth_value_type = INTEROP_RUNTIME_UNDEFINED; + value_borderWidth_value_type = value_borderWidth_value.selector; + if ((value_borderWidth_value_type == 0) || (value_borderWidth_value_type == 0) || (value_borderWidth_value_type == 0)) { valueSerializer.writeInt8(0); - const auto value_lineHeight_value_0 = value_lineHeight_value.value0; - valueSerializer.writeNumber(value_lineHeight_value_0); + const auto value_borderWidth_value_0 = value_borderWidth_value.value0; + Ark_Int32 value_borderWidth_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_borderWidth_value_0_type = value_borderWidth_value_0.selector; + if (value_borderWidth_value_0_type == 0) { + valueSerializer.writeInt8(0); + const auto value_borderWidth_value_0_0 = value_borderWidth_value_0.value0; + valueSerializer.writeString(value_borderWidth_value_0_0); + } + else if (value_borderWidth_value_0_type == 1) { + valueSerializer.writeInt8(1); + const auto value_borderWidth_value_0_1 = value_borderWidth_value_0.value1; + valueSerializer.writeNumber(value_borderWidth_value_0_1); + } + else if (value_borderWidth_value_0_type == 2) { + valueSerializer.writeInt8(2); + const auto value_borderWidth_value_0_2 = value_borderWidth_value_0.value2; + valueSerializer.writeResource(value_borderWidth_value_0_2); + } } - else if (value_lineHeight_value_type == 1) { + else if (value_borderWidth_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_lineHeight_value_1 = value_lineHeight_value.value1; - valueSerializer.writeString(value_lineHeight_value_1); + const auto value_borderWidth_value_1 = value_borderWidth_value.value1; + valueSerializer.writeEdgeWidths(value_borderWidth_value_1); } - else if (value_lineHeight_value_type == 2) { + else if (value_borderWidth_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_lineHeight_value_2 = value_lineHeight_value.value2; - valueSerializer.writeResource(value_lineHeight_value_2); + const auto value_borderWidth_value_2 = value_borderWidth_value.value2; + valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2); } } - const auto value_fontFeature = value.fontFeature; - Ark_Int32 value_fontFeature_type = INTEROP_RUNTIME_UNDEFINED; - value_fontFeature_type = runtimeType(value_fontFeature); - valueSerializer.writeInt8(value_fontFeature_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFeature_type)) { - const auto value_fontFeature_value = value_fontFeature.value; - valueSerializer.writeString(value_fontFeature_value); - } - } - void writeRichEditorUpdateTextSpanStyleOptions(Ark_RichEditorUpdateTextSpanStyleOptions value) - { - Serializer& valueSerializer = *this; - const auto value_start = value.start; - Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; - value_start_type = runtimeType(value_start); - valueSerializer.writeInt8(value_start_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { - const auto value_start_value = value_start.value; - valueSerializer.writeNumber(value_start_value); - } - const auto value_end = value.end; - Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; - value_end_type = runtimeType(value_end); - valueSerializer.writeInt8(value_end_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { - const auto value_end_value = value_end.value; - valueSerializer.writeNumber(value_end_value); - } - const auto value_textStyle = value.textStyle; - valueSerializer.writeRichEditorTextStyle(value_textStyle); - } - void writeRotationGestureEvent(Ark_RotationGestureEvent value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); - } - void writeScrollSnapOptions(Ark_ScrollSnapOptions value) - { - Serializer& valueSerializer = *this; - const auto value_snapAlign = value.snapAlign; - valueSerializer.writeInt32(static_cast(value_snapAlign)); - const auto value_snapPagination = value.snapPagination; - Ark_Int32 value_snapPagination_type = INTEROP_RUNTIME_UNDEFINED; - value_snapPagination_type = runtimeType(value_snapPagination); - valueSerializer.writeInt8(value_snapPagination_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_snapPagination_type)) { - const auto value_snapPagination_value = value_snapPagination.value; - Ark_Int32 value_snapPagination_value_type = INTEROP_RUNTIME_UNDEFINED; - value_snapPagination_value_type = value_snapPagination_value.selector; - if ((value_snapPagination_value_type == 0) || (value_snapPagination_value_type == 0) || (value_snapPagination_value_type == 0)) { + const auto value_borderColor = value.borderColor; + Ark_Int32 value_borderColor_type = INTEROP_RUNTIME_UNDEFINED; + value_borderColor_type = runtimeType(value_borderColor); + valueSerializer.writeInt8(value_borderColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_type)) { + const auto value_borderColor_value = value_borderColor.value; + Ark_Int32 value_borderColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_borderColor_value_type = value_borderColor_value.selector; + if ((value_borderColor_value_type == 0) || (value_borderColor_value_type == 0) || (value_borderColor_value_type == 0) || (value_borderColor_value_type == 0)) { valueSerializer.writeInt8(0); - const auto value_snapPagination_value_0 = value_snapPagination_value.value0; - Ark_Int32 value_snapPagination_value_0_type = INTEROP_RUNTIME_UNDEFINED; - value_snapPagination_value_0_type = value_snapPagination_value_0.selector; - if (value_snapPagination_value_0_type == 0) { + const auto value_borderColor_value_0 = value_borderColor_value.value0; + Ark_Int32 value_borderColor_value_0_type = INTEROP_RUNTIME_UNDEFINED; + value_borderColor_value_0_type = value_borderColor_value_0.selector; + if (value_borderColor_value_0_type == 0) { valueSerializer.writeInt8(0); - const auto value_snapPagination_value_0_0 = value_snapPagination_value_0.value0; - valueSerializer.writeString(value_snapPagination_value_0_0); + const auto value_borderColor_value_0_0 = value_borderColor_value_0.value0; + valueSerializer.writeInt32(static_cast(value_borderColor_value_0_0)); } - else if (value_snapPagination_value_0_type == 1) { + else if (value_borderColor_value_0_type == 1) { valueSerializer.writeInt8(1); - const auto value_snapPagination_value_0_1 = value_snapPagination_value_0.value1; - valueSerializer.writeNumber(value_snapPagination_value_0_1); + const auto value_borderColor_value_0_1 = value_borderColor_value_0.value1; + valueSerializer.writeNumber(value_borderColor_value_0_1); } - else if (value_snapPagination_value_0_type == 2) { + else if (value_borderColor_value_0_type == 2) { valueSerializer.writeInt8(2); - const auto value_snapPagination_value_0_2 = value_snapPagination_value_0.value2; - valueSerializer.writeResource(value_snapPagination_value_0_2); + const auto value_borderColor_value_0_2 = value_borderColor_value_0.value2; + valueSerializer.writeString(value_borderColor_value_0_2); + } + else if (value_borderColor_value_0_type == 3) { + valueSerializer.writeInt8(3); + const auto value_borderColor_value_0_3 = value_borderColor_value_0.value3; + valueSerializer.writeResource(value_borderColor_value_0_3); } } - else if (value_snapPagination_value_type == 1) { + else if (value_borderColor_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_borderColor_value_1 = value_borderColor_value.value1; + valueSerializer.writeEdgeColors(value_borderColor_value_1); + } + else if (value_borderColor_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_borderColor_value_2 = value_borderColor_value.value2; + valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2); + } + } + const auto value_borderStyle = value.borderStyle; + Ark_Int32 value_borderStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_borderStyle_type = runtimeType(value_borderStyle); + valueSerializer.writeInt8(value_borderStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { + const auto value_borderStyle_value = value_borderStyle.value; + Ark_Int32 value_borderStyle_value_type = INTEROP_RUNTIME_UNDEFINED; + value_borderStyle_value_type = value_borderStyle_value.selector; + if (value_borderStyle_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_borderStyle_value_0 = value_borderStyle_value.value0; + valueSerializer.writeInt32(static_cast(value_borderStyle_value_0)); + } + else if (value_borderStyle_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_borderStyle_value_1 = value_borderStyle_value.value1; + valueSerializer.writeEdgeStyles(value_borderStyle_value_1); + } + } + const auto value_shadow = value.shadow; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; + value_shadow_type = runtimeType(value_shadow); + valueSerializer.writeInt8(value_shadow_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { + const auto value_shadow_value = value_shadow.value; + Ark_Int32 value_shadow_value_type = INTEROP_RUNTIME_UNDEFINED; + value_shadow_value_type = value_shadow_value.selector; + if (value_shadow_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_shadow_value_0 = value_shadow_value.value0; + valueSerializer.writeShadowOptions(value_shadow_value_0); + } + else if (value_shadow_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_snapPagination_value_1 = value_snapPagination_value.value1; - valueSerializer.writeInt32(value_snapPagination_value_1.length); - for (int i = 0; i < value_snapPagination_value_1.length; i++) { - const Ark_Union_String_Number_Resource value_snapPagination_value_1_element = value_snapPagination_value_1.array[i]; - Ark_Int32 value_snapPagination_value_1_element_type = INTEROP_RUNTIME_UNDEFINED; - value_snapPagination_value_1_element_type = value_snapPagination_value_1_element.selector; - if (value_snapPagination_value_1_element_type == 0) { - valueSerializer.writeInt8(0); - const auto value_snapPagination_value_1_element_0 = value_snapPagination_value_1_element.value0; - valueSerializer.writeString(value_snapPagination_value_1_element_0); - } - else if (value_snapPagination_value_1_element_type == 1) { - valueSerializer.writeInt8(1); - const auto value_snapPagination_value_1_element_1 = value_snapPagination_value_1_element.value1; - valueSerializer.writeNumber(value_snapPagination_value_1_element_1); - } - else if (value_snapPagination_value_1_element_type == 2) { - valueSerializer.writeInt8(2); - const auto value_snapPagination_value_1_element_2 = value_snapPagination_value_1_element.value2; - valueSerializer.writeResource(value_snapPagination_value_1_element_2); - } - } + const auto value_shadow_value_1 = value_shadow_value.value1; + valueSerializer.writeInt32(static_cast(value_shadow_value_1)); } } - const auto value_enableSnapToStart = value.enableSnapToStart; - Ark_Int32 value_enableSnapToStart_type = INTEROP_RUNTIME_UNDEFINED; - value_enableSnapToStart_type = runtimeType(value_enableSnapToStart); - valueSerializer.writeInt8(value_enableSnapToStart_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableSnapToStart_type)) { - const auto value_enableSnapToStart_value = value_enableSnapToStart.value; - valueSerializer.writeBoolean(value_enableSnapToStart_value); + const auto value_onHeightDidChange = value.onHeightDidChange; + Ark_Int32 value_onHeightDidChange_type = INTEROP_RUNTIME_UNDEFINED; + value_onHeightDidChange_type = runtimeType(value_onHeightDidChange); + valueSerializer.writeInt8(value_onHeightDidChange_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onHeightDidChange_type)) { + const auto value_onHeightDidChange_value = value_onHeightDidChange.value; + valueSerializer.writeCallbackResource(value_onHeightDidChange_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onHeightDidChange_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onHeightDidChange_value.callSync)); } - const auto value_enableSnapToEnd = value.enableSnapToEnd; - Ark_Int32 value_enableSnapToEnd_type = INTEROP_RUNTIME_UNDEFINED; - value_enableSnapToEnd_type = runtimeType(value_enableSnapToEnd); - valueSerializer.writeInt8(value_enableSnapToEnd_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableSnapToEnd_type)) { - const auto value_enableSnapToEnd_value = value_enableSnapToEnd.value; - valueSerializer.writeBoolean(value_enableSnapToEnd_value); + const auto value_mode = value.mode; + Ark_Int32 value_mode_type = INTEROP_RUNTIME_UNDEFINED; + value_mode_type = runtimeType(value_mode); + valueSerializer.writeInt8(value_mode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_mode_type)) { + const auto value_mode_value = value_mode.value; + valueSerializer.writeInt32(static_cast(value_mode_value)); } - } - void writeSectionOptions(Ark_SectionOptions value) - { - Serializer& valueSerializer = *this; - const auto value_itemsCount = value.itemsCount; - valueSerializer.writeNumber(value_itemsCount); - const auto value_crossCount = value.crossCount; - Ark_Int32 value_crossCount_type = INTEROP_RUNTIME_UNDEFINED; - value_crossCount_type = runtimeType(value_crossCount); - valueSerializer.writeInt8(value_crossCount_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_crossCount_type)) { - const auto value_crossCount_value = value_crossCount.value; - valueSerializer.writeNumber(value_crossCount_value); + const auto value_scrollSizeMode = value.scrollSizeMode; + Ark_Int32 value_scrollSizeMode_type = INTEROP_RUNTIME_UNDEFINED; + value_scrollSizeMode_type = runtimeType(value_scrollSizeMode); + valueSerializer.writeInt8(value_scrollSizeMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollSizeMode_type)) { + const auto value_scrollSizeMode_value = value_scrollSizeMode.value; + valueSerializer.writeInt32(static_cast(value_scrollSizeMode_value)); } - const auto value_onGetItemMainSizeByIndex = value.onGetItemMainSizeByIndex; - Ark_Int32 value_onGetItemMainSizeByIndex_type = INTEROP_RUNTIME_UNDEFINED; - value_onGetItemMainSizeByIndex_type = runtimeType(value_onGetItemMainSizeByIndex); - valueSerializer.writeInt8(value_onGetItemMainSizeByIndex_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onGetItemMainSizeByIndex_type)) { - const auto value_onGetItemMainSizeByIndex_value = value_onGetItemMainSizeByIndex.value; - valueSerializer.writeCallbackResource(value_onGetItemMainSizeByIndex_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onGetItemMainSizeByIndex_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onGetItemMainSizeByIndex_value.callSync)); + const auto value_onDetentsDidChange = value.onDetentsDidChange; + Ark_Int32 value_onDetentsDidChange_type = INTEROP_RUNTIME_UNDEFINED; + value_onDetentsDidChange_type = runtimeType(value_onDetentsDidChange); + valueSerializer.writeInt8(value_onDetentsDidChange_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDetentsDidChange_type)) { + const auto value_onDetentsDidChange_value = value_onDetentsDidChange.value; + valueSerializer.writeCallbackResource(value_onDetentsDidChange_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onDetentsDidChange_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onDetentsDidChange_value.callSync)); } - const auto value_columnsGap = value.columnsGap; - Ark_Int32 value_columnsGap_type = INTEROP_RUNTIME_UNDEFINED; - value_columnsGap_type = runtimeType(value_columnsGap); - valueSerializer.writeInt8(value_columnsGap_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_columnsGap_type)) { - const auto value_columnsGap_value = value_columnsGap.value; - Ark_Int32 value_columnsGap_value_type = INTEROP_RUNTIME_UNDEFINED; - value_columnsGap_value_type = value_columnsGap_value.selector; - if (value_columnsGap_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_columnsGap_value_0 = value_columnsGap_value.value0; - valueSerializer.writeString(value_columnsGap_value_0); - } - else if (value_columnsGap_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_columnsGap_value_1 = value_columnsGap_value.value1; - valueSerializer.writeNumber(value_columnsGap_value_1); - } - else if (value_columnsGap_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_columnsGap_value_2 = value_columnsGap_value.value2; - valueSerializer.writeResource(value_columnsGap_value_2); - } + const auto value_onWidthDidChange = value.onWidthDidChange; + Ark_Int32 value_onWidthDidChange_type = INTEROP_RUNTIME_UNDEFINED; + value_onWidthDidChange_type = runtimeType(value_onWidthDidChange); + valueSerializer.writeInt8(value_onWidthDidChange_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWidthDidChange_type)) { + const auto value_onWidthDidChange_value = value_onWidthDidChange.value; + valueSerializer.writeCallbackResource(value_onWidthDidChange_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWidthDidChange_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWidthDidChange_value.callSync)); } - const auto value_rowsGap = value.rowsGap; - Ark_Int32 value_rowsGap_type = INTEROP_RUNTIME_UNDEFINED; - value_rowsGap_type = runtimeType(value_rowsGap); - valueSerializer.writeInt8(value_rowsGap_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_rowsGap_type)) { - const auto value_rowsGap_value = value_rowsGap.value; - Ark_Int32 value_rowsGap_value_type = INTEROP_RUNTIME_UNDEFINED; - value_rowsGap_value_type = value_rowsGap_value.selector; - if (value_rowsGap_value_type == 0) { + const auto value_onTypeDidChange = value.onTypeDidChange; + Ark_Int32 value_onTypeDidChange_type = INTEROP_RUNTIME_UNDEFINED; + value_onTypeDidChange_type = runtimeType(value_onTypeDidChange); + valueSerializer.writeInt8(value_onTypeDidChange_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onTypeDidChange_type)) { + const auto value_onTypeDidChange_value = value_onTypeDidChange.value; + valueSerializer.writeCallbackResource(value_onTypeDidChange_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onTypeDidChange_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onTypeDidChange_value.callSync)); + } + const auto value_uiContext = value.uiContext; + Ark_Int32 value_uiContext_type = INTEROP_RUNTIME_UNDEFINED; + value_uiContext_type = runtimeType(value_uiContext); + valueSerializer.writeInt8(value_uiContext_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_uiContext_type)) { + const auto value_uiContext_value = value_uiContext.value; + valueSerializer.writeUIContext(value_uiContext_value); + } + const auto value_keyboardAvoidMode = value.keyboardAvoidMode; + Ark_Int32 value_keyboardAvoidMode_type = INTEROP_RUNTIME_UNDEFINED; + value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode); + valueSerializer.writeInt8(value_keyboardAvoidMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_keyboardAvoidMode_type)) { + const auto value_keyboardAvoidMode_value = value_keyboardAvoidMode.value; + valueSerializer.writeInt32(static_cast(value_keyboardAvoidMode_value)); + } + const auto value_enableHoverMode = value.enableHoverMode; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; + value_enableHoverMode_type = runtimeType(value_enableHoverMode); + valueSerializer.writeInt8(value_enableHoverMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableHoverMode_type)) { + const auto value_enableHoverMode_value = value_enableHoverMode.value; + valueSerializer.writeBoolean(value_enableHoverMode_value); + } + const auto value_hoverModeArea = value.hoverModeArea; + Ark_Int32 value_hoverModeArea_type = INTEROP_RUNTIME_UNDEFINED; + value_hoverModeArea_type = runtimeType(value_hoverModeArea); + valueSerializer.writeInt8(value_hoverModeArea_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hoverModeArea_type)) { + const auto value_hoverModeArea_value = value_hoverModeArea.value; + valueSerializer.writeInt32(static_cast(value_hoverModeArea_value)); + } + const auto value_offset = value.offset; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; + value_offset_type = runtimeType(value_offset); + valueSerializer.writeInt8(value_offset_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { + const auto value_offset_value = value_offset.value; + valueSerializer.writePosition(value_offset_value); + } + const auto value_effectEdge = value.effectEdge; + Ark_Int32 value_effectEdge_type = INTEROP_RUNTIME_UNDEFINED; + value_effectEdge_type = runtimeType(value_effectEdge); + valueSerializer.writeInt8(value_effectEdge_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_effectEdge_type)) { + const auto value_effectEdge_value = value_effectEdge.value; + valueSerializer.writeNumber(value_effectEdge_value); + } + const auto value_radius = value.radius; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_type = runtimeType(value_radius); + valueSerializer.writeInt8(value_radius_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { + const auto value_radius_value = value_radius.value; + Ark_Int32 value_radius_value_type = INTEROP_RUNTIME_UNDEFINED; + value_radius_value_type = value_radius_value.selector; + if (value_radius_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_rowsGap_value_0 = value_rowsGap_value.value0; - valueSerializer.writeString(value_rowsGap_value_0); + const auto value_radius_value_0 = value_radius_value.value0; + valueSerializer.writeLengthMetrics(value_radius_value_0); } - else if (value_rowsGap_value_type == 1) { + else if (value_radius_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_rowsGap_value_1 = value_rowsGap_value.value1; - valueSerializer.writeNumber(value_rowsGap_value_1); + const auto value_radius_value_1 = value_radius_value.value1; + valueSerializer.writeBorderRadiuses(value_radius_value_1); } - else if (value_rowsGap_value_type == 2) { + else if (value_radius_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_rowsGap_value_2 = value_rowsGap_value.value2; - valueSerializer.writeResource(value_rowsGap_value_2); + const auto value_radius_value_2 = value_radius_value.value2; + valueSerializer.writeLocalizedBorderRadiuses(value_radius_value_2); } } - const auto value_margin = value.margin; - Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_type = runtimeType(value_margin); - valueSerializer.writeInt8(value_margin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { - const auto value_margin_value = value_margin.value; - Ark_Int32 value_margin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_type = value_margin_value.selector; - if (value_margin_value_type == 0) { + const auto value_detentSelection = value.detentSelection; + Ark_Int32 value_detentSelection_type = INTEROP_RUNTIME_UNDEFINED; + value_detentSelection_type = runtimeType(value_detentSelection); + valueSerializer.writeInt8(value_detentSelection_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_detentSelection_type)) { + const auto value_detentSelection_value = value_detentSelection.value; + Ark_Int32 value_detentSelection_value_type = INTEROP_RUNTIME_UNDEFINED; + value_detentSelection_value_type = value_detentSelection_value.selector; + if (value_detentSelection_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_margin_value_0 = value_margin_value.value0; - const auto value_margin_value_0_top = value_margin_value_0.top; - Ark_Int32 value_margin_value_0_top_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_0_top_type = runtimeType(value_margin_value_0_top); - valueSerializer.writeInt8(value_margin_value_0_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_value_0_top_type)) { - const auto value_margin_value_0_top_value = value_margin_value_0_top.value; - Ark_Int32 value_margin_value_0_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_0_top_value_type = value_margin_value_0_top_value.selector; - if (value_margin_value_0_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_margin_value_0_top_value_0 = value_margin_value_0_top_value.value0; - valueSerializer.writeString(value_margin_value_0_top_value_0); - } - else if (value_margin_value_0_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_margin_value_0_top_value_1 = value_margin_value_0_top_value.value1; - valueSerializer.writeNumber(value_margin_value_0_top_value_1); - } - else if (value_margin_value_0_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_margin_value_0_top_value_2 = value_margin_value_0_top_value.value2; - valueSerializer.writeResource(value_margin_value_0_top_value_2); - } - } - const auto value_margin_value_0_right = value_margin_value_0.right; - Ark_Int32 value_margin_value_0_right_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_0_right_type = runtimeType(value_margin_value_0_right); - valueSerializer.writeInt8(value_margin_value_0_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_value_0_right_type)) { - const auto value_margin_value_0_right_value = value_margin_value_0_right.value; - Ark_Int32 value_margin_value_0_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_0_right_value_type = value_margin_value_0_right_value.selector; - if (value_margin_value_0_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_margin_value_0_right_value_0 = value_margin_value_0_right_value.value0; - valueSerializer.writeString(value_margin_value_0_right_value_0); - } - else if (value_margin_value_0_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_margin_value_0_right_value_1 = value_margin_value_0_right_value.value1; - valueSerializer.writeNumber(value_margin_value_0_right_value_1); - } - else if (value_margin_value_0_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_margin_value_0_right_value_2 = value_margin_value_0_right_value.value2; - valueSerializer.writeResource(value_margin_value_0_right_value_2); - } - } - const auto value_margin_value_0_bottom = value_margin_value_0.bottom; - Ark_Int32 value_margin_value_0_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_0_bottom_type = runtimeType(value_margin_value_0_bottom); - valueSerializer.writeInt8(value_margin_value_0_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_value_0_bottom_type)) { - const auto value_margin_value_0_bottom_value = value_margin_value_0_bottom.value; - Ark_Int32 value_margin_value_0_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_0_bottom_value_type = value_margin_value_0_bottom_value.selector; - if (value_margin_value_0_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_margin_value_0_bottom_value_0 = value_margin_value_0_bottom_value.value0; - valueSerializer.writeString(value_margin_value_0_bottom_value_0); - } - else if (value_margin_value_0_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_margin_value_0_bottom_value_1 = value_margin_value_0_bottom_value.value1; - valueSerializer.writeNumber(value_margin_value_0_bottom_value_1); - } - else if (value_margin_value_0_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_margin_value_0_bottom_value_2 = value_margin_value_0_bottom_value.value2; - valueSerializer.writeResource(value_margin_value_0_bottom_value_2); - } - } - const auto value_margin_value_0_left = value_margin_value_0.left; - Ark_Int32 value_margin_value_0_left_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_0_left_type = runtimeType(value_margin_value_0_left); - valueSerializer.writeInt8(value_margin_value_0_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_value_0_left_type)) { - const auto value_margin_value_0_left_value = value_margin_value_0_left.value; - Ark_Int32 value_margin_value_0_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_0_left_value_type = value_margin_value_0_left_value.selector; - if (value_margin_value_0_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_margin_value_0_left_value_0 = value_margin_value_0_left_value.value0; - valueSerializer.writeString(value_margin_value_0_left_value_0); - } - else if (value_margin_value_0_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_margin_value_0_left_value_1 = value_margin_value_0_left_value.value1; - valueSerializer.writeNumber(value_margin_value_0_left_value_1); - } - else if (value_margin_value_0_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_margin_value_0_left_value_2 = value_margin_value_0_left_value.value2; - valueSerializer.writeResource(value_margin_value_0_left_value_2); - } - } + const auto value_detentSelection_value_0 = value_detentSelection_value.value0; + valueSerializer.writeInt32(static_cast(value_detentSelection_value_0)); } - else if ((value_margin_value_type == 1) || (value_margin_value_type == 1) || (value_margin_value_type == 1)) { + else if ((value_detentSelection_value_type == 1) || (value_detentSelection_value_type == 1) || (value_detentSelection_value_type == 1)) { valueSerializer.writeInt8(1); - const auto value_margin_value_1 = value_margin_value.value1; - Ark_Int32 value_margin_value_1_type = INTEROP_RUNTIME_UNDEFINED; - value_margin_value_1_type = value_margin_value_1.selector; - if (value_margin_value_1_type == 0) { + const auto value_detentSelection_value_1 = value_detentSelection_value.value1; + Ark_Int32 value_detentSelection_value_1_type = INTEROP_RUNTIME_UNDEFINED; + value_detentSelection_value_1_type = value_detentSelection_value_1.selector; + if (value_detentSelection_value_1_type == 0) { valueSerializer.writeInt8(0); - const auto value_margin_value_1_0 = value_margin_value_1.value0; - valueSerializer.writeString(value_margin_value_1_0); + const auto value_detentSelection_value_1_0 = value_detentSelection_value_1.value0; + valueSerializer.writeString(value_detentSelection_value_1_0); } - else if (value_margin_value_1_type == 1) { + else if (value_detentSelection_value_1_type == 1) { valueSerializer.writeInt8(1); - const auto value_margin_value_1_1 = value_margin_value_1.value1; - valueSerializer.writeNumber(value_margin_value_1_1); + const auto value_detentSelection_value_1_1 = value_detentSelection_value_1.value1; + valueSerializer.writeNumber(value_detentSelection_value_1_1); } - else if (value_margin_value_1_type == 2) { + else if (value_detentSelection_value_1_type == 2) { valueSerializer.writeInt8(2); - const auto value_margin_value_1_2 = value_margin_value_1.value2; - valueSerializer.writeResource(value_margin_value_1_2); + const auto value_detentSelection_value_1_2 = value_detentSelection_value_1.value2; + valueSerializer.writeResource(value_detentSelection_value_1_2); } } } + const auto value_showInSubWindow = value.showInSubWindow; + Ark_Int32 value_showInSubWindow_type = INTEROP_RUNTIME_UNDEFINED; + value_showInSubWindow_type = runtimeType(value_showInSubWindow); + valueSerializer.writeInt8(value_showInSubWindow_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_showInSubWindow_type)) { + const auto value_showInSubWindow_value = value_showInSubWindow.value; + valueSerializer.writeBoolean(value_showInSubWindow_value); + } + const auto value_placement = value.placement; + Ark_Int32 value_placement_type = INTEROP_RUNTIME_UNDEFINED; + value_placement_type = runtimeType(value_placement); + valueSerializer.writeInt8(value_placement_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_placement_type)) { + const auto value_placement_value = value_placement.value; + valueSerializer.writeInt32(static_cast(value_placement_value)); + } + const auto value_placementOnTarget = value.placementOnTarget; + Ark_Int32 value_placementOnTarget_type = INTEROP_RUNTIME_UNDEFINED; + value_placementOnTarget_type = runtimeType(value_placementOnTarget); + valueSerializer.writeInt8(value_placementOnTarget_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_placementOnTarget_type)) { + const auto value_placementOnTarget_value = value_placementOnTarget.value; + valueSerializer.writeBoolean(value_placementOnTarget_value); + } } void writeSwipeActionOptions(Ark_SwipeActionOptions value) { @@ -83206,186 +88393,6 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } - void writetext_TextStyle(Ark_text_TextStyle value) - { - Serializer& valueSerializer = *this; - const auto value_decoration = value.decoration; - Ark_Int32 value_decoration_type = INTEROP_RUNTIME_UNDEFINED; - value_decoration_type = runtimeType(value_decoration); - valueSerializer.writeInt8(value_decoration_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_decoration_type)) { - const auto value_decoration_value = value_decoration.value; - valueSerializer.writeDecoration(value_decoration_value); - } - const auto value_color = value.color; - Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; - value_color_type = runtimeType(value_color); - valueSerializer.writeInt8(value_color_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { - const auto value_color_value = value_color.value; - valueSerializer.writecommon2D_Color(value_color_value); - } - const auto value_fontWeight = value.fontWeight; - Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; - value_fontWeight_type = runtimeType(value_fontWeight); - valueSerializer.writeInt8(value_fontWeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { - const auto value_fontWeight_value = value_fontWeight.value; - valueSerializer.writeInt32(static_cast(value_fontWeight_value)); - } - const auto value_fontStyle = value.fontStyle; - Ark_Int32 value_fontStyle_type = INTEROP_RUNTIME_UNDEFINED; - value_fontStyle_type = runtimeType(value_fontStyle); - valueSerializer.writeInt8(value_fontStyle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontStyle_type)) { - const auto value_fontStyle_value = value_fontStyle.value; - valueSerializer.writeInt32(static_cast(value_fontStyle_value)); - } - const auto value_baseline = value.baseline; - Ark_Int32 value_baseline_type = INTEROP_RUNTIME_UNDEFINED; - value_baseline_type = runtimeType(value_baseline); - valueSerializer.writeInt8(value_baseline_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_baseline_type)) { - const auto value_baseline_value = value_baseline.value; - valueSerializer.writeInt32(static_cast(value_baseline_value)); - } - const auto value_fontFamilies = value.fontFamilies; - Ark_Int32 value_fontFamilies_type = INTEROP_RUNTIME_UNDEFINED; - value_fontFamilies_type = runtimeType(value_fontFamilies); - valueSerializer.writeInt8(value_fontFamilies_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFamilies_type)) { - const auto value_fontFamilies_value = value_fontFamilies.value; - valueSerializer.writeInt32(value_fontFamilies_value.length); - for (int i = 0; i < value_fontFamilies_value.length; i++) { - const Ark_String value_fontFamilies_value_element = value_fontFamilies_value.array[i]; - valueSerializer.writeString(value_fontFamilies_value_element); - } - } - const auto value_fontSize = value.fontSize; - Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; - value_fontSize_type = runtimeType(value_fontSize); - valueSerializer.writeInt8(value_fontSize_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { - const auto value_fontSize_value = value_fontSize.value; - valueSerializer.writeNumber(value_fontSize_value); - } - const auto value_letterSpacing = value.letterSpacing; - Ark_Int32 value_letterSpacing_type = INTEROP_RUNTIME_UNDEFINED; - value_letterSpacing_type = runtimeType(value_letterSpacing); - valueSerializer.writeInt8(value_letterSpacing_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_letterSpacing_type)) { - const auto value_letterSpacing_value = value_letterSpacing.value; - valueSerializer.writeNumber(value_letterSpacing_value); - } - const auto value_wordSpacing = value.wordSpacing; - Ark_Int32 value_wordSpacing_type = INTEROP_RUNTIME_UNDEFINED; - value_wordSpacing_type = runtimeType(value_wordSpacing); - valueSerializer.writeInt8(value_wordSpacing_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_wordSpacing_type)) { - const auto value_wordSpacing_value = value_wordSpacing.value; - valueSerializer.writeNumber(value_wordSpacing_value); - } - const auto value_heightScale = value.heightScale; - Ark_Int32 value_heightScale_type = INTEROP_RUNTIME_UNDEFINED; - value_heightScale_type = runtimeType(value_heightScale); - valueSerializer.writeInt8(value_heightScale_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_heightScale_type)) { - const auto value_heightScale_value = value_heightScale.value; - valueSerializer.writeNumber(value_heightScale_value); - } - const auto value_halfLeading = value.halfLeading; - Ark_Int32 value_halfLeading_type = INTEROP_RUNTIME_UNDEFINED; - value_halfLeading_type = runtimeType(value_halfLeading); - valueSerializer.writeInt8(value_halfLeading_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_halfLeading_type)) { - const auto value_halfLeading_value = value_halfLeading.value; - valueSerializer.writeBoolean(value_halfLeading_value); - } - const auto value_heightOnly = value.heightOnly; - Ark_Int32 value_heightOnly_type = INTEROP_RUNTIME_UNDEFINED; - value_heightOnly_type = runtimeType(value_heightOnly); - valueSerializer.writeInt8(value_heightOnly_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_heightOnly_type)) { - const auto value_heightOnly_value = value_heightOnly.value; - valueSerializer.writeBoolean(value_heightOnly_value); - } - const auto value_ellipsis = value.ellipsis; - Ark_Int32 value_ellipsis_type = INTEROP_RUNTIME_UNDEFINED; - value_ellipsis_type = runtimeType(value_ellipsis); - valueSerializer.writeInt8(value_ellipsis_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_ellipsis_type)) { - const auto value_ellipsis_value = value_ellipsis.value; - valueSerializer.writeString(value_ellipsis_value); - } - const auto value_ellipsisMode = value.ellipsisMode; - Ark_Int32 value_ellipsisMode_type = INTEROP_RUNTIME_UNDEFINED; - value_ellipsisMode_type = runtimeType(value_ellipsisMode); - valueSerializer.writeInt8(value_ellipsisMode_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_ellipsisMode_type)) { - const auto value_ellipsisMode_value = value_ellipsisMode.value; - valueSerializer.writeInt32(static_cast(value_ellipsisMode_value)); - } - const auto value_locale = value.locale; - Ark_Int32 value_locale_type = INTEROP_RUNTIME_UNDEFINED; - value_locale_type = runtimeType(value_locale); - valueSerializer.writeInt8(value_locale_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_locale_type)) { - const auto value_locale_value = value_locale.value; - valueSerializer.writeString(value_locale_value); - } - const auto value_baselineShift = value.baselineShift; - Ark_Int32 value_baselineShift_type = INTEROP_RUNTIME_UNDEFINED; - value_baselineShift_type = runtimeType(value_baselineShift); - valueSerializer.writeInt8(value_baselineShift_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_baselineShift_type)) { - const auto value_baselineShift_value = value_baselineShift.value; - valueSerializer.writeNumber(value_baselineShift_value); - } - const auto value_fontFeatures = value.fontFeatures; - Ark_Int32 value_fontFeatures_type = INTEROP_RUNTIME_UNDEFINED; - value_fontFeatures_type = runtimeType(value_fontFeatures); - valueSerializer.writeInt8(value_fontFeatures_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFeatures_type)) { - const auto value_fontFeatures_value = value_fontFeatures.value; - valueSerializer.writeInt32(value_fontFeatures_value.length); - for (int i = 0; i < value_fontFeatures_value.length; i++) { - const Ark_FontFeature value_fontFeatures_value_element = value_fontFeatures_value.array[i]; - valueSerializer.writeFontFeature(value_fontFeatures_value_element); - } - } - const auto value_textShadows = value.textShadows; - Ark_Int32 value_textShadows_type = INTEROP_RUNTIME_UNDEFINED; - value_textShadows_type = runtimeType(value_textShadows); - valueSerializer.writeInt8(value_textShadows_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_textShadows_type)) { - const auto value_textShadows_value = value_textShadows.value; - valueSerializer.writeInt32(value_textShadows_value.length); - for (int i = 0; i < value_textShadows_value.length; i++) { - const Ark_TextShadow value_textShadows_value_element = value_textShadows_value.array[i]; - valueSerializer.writeTextShadow(value_textShadows_value_element); - } - } - const auto value_backgroundRect = value.backgroundRect; - Ark_Int32 value_backgroundRect_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundRect_type = runtimeType(value_backgroundRect); - valueSerializer.writeInt8(value_backgroundRect_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundRect_type)) { - const auto value_backgroundRect_value = value_backgroundRect.value; - valueSerializer.writeRectStyle(value_backgroundRect_value); - } - const auto value_fontVariations = value.fontVariations; - Ark_Int32 value_fontVariations_type = INTEROP_RUNTIME_UNDEFINED; - value_fontVariations_type = runtimeType(value_fontVariations); - valueSerializer.writeInt8(value_fontVariations_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontVariations_type)) { - const auto value_fontVariations_value = value_fontVariations.value; - valueSerializer.writeInt32(value_fontVariations_value.length); - for (int i = 0; i < value_fontVariations_value.length; i++) { - const Ark_FontVariation value_fontVariations_value_element = value_fontVariations_value.array[i]; - valueSerializer.writeFontVariation(value_fontVariations_value_element); - } - } - } void writeTextBackgroundStyle(Ark_TextBackgroundStyle value) { Serializer& valueSerializer = *this; @@ -83450,124 +88457,13 @@ class Serializer : public SerializerBase { else if (value_radius_value_type == 1) { valueSerializer.writeInt8(1); const auto value_radius_value_1 = value_radius_value.value1; - const auto value_radius_value_1_topLeft = value_radius_value_1.topLeft; - Ark_Int32 value_radius_value_1_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_1_topLeft_type = runtimeType(value_radius_value_1_topLeft); - valueSerializer.writeInt8(value_radius_value_1_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_value_1_topLeft_type)) { - const auto value_radius_value_1_topLeft_value = value_radius_value_1_topLeft.value; - Ark_Int32 value_radius_value_1_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_1_topLeft_value_type = value_radius_value_1_topLeft_value.selector; - if (value_radius_value_1_topLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_1_topLeft_value_0 = value_radius_value_1_topLeft_value.value0; - valueSerializer.writeString(value_radius_value_1_topLeft_value_0); - } - else if (value_radius_value_1_topLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_1_topLeft_value_1 = value_radius_value_1_topLeft_value.value1; - valueSerializer.writeNumber(value_radius_value_1_topLeft_value_1); - } - else if (value_radius_value_1_topLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_radius_value_1_topLeft_value_2 = value_radius_value_1_topLeft_value.value2; - valueSerializer.writeResource(value_radius_value_1_topLeft_value_2); - } - } - const auto value_radius_value_1_topRight = value_radius_value_1.topRight; - Ark_Int32 value_radius_value_1_topRight_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_1_topRight_type = runtimeType(value_radius_value_1_topRight); - valueSerializer.writeInt8(value_radius_value_1_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_value_1_topRight_type)) { - const auto value_radius_value_1_topRight_value = value_radius_value_1_topRight.value; - Ark_Int32 value_radius_value_1_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_1_topRight_value_type = value_radius_value_1_topRight_value.selector; - if (value_radius_value_1_topRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_1_topRight_value_0 = value_radius_value_1_topRight_value.value0; - valueSerializer.writeString(value_radius_value_1_topRight_value_0); - } - else if (value_radius_value_1_topRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_1_topRight_value_1 = value_radius_value_1_topRight_value.value1; - valueSerializer.writeNumber(value_radius_value_1_topRight_value_1); - } - else if (value_radius_value_1_topRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_radius_value_1_topRight_value_2 = value_radius_value_1_topRight_value.value2; - valueSerializer.writeResource(value_radius_value_1_topRight_value_2); - } - } - const auto value_radius_value_1_bottomLeft = value_radius_value_1.bottomLeft; - Ark_Int32 value_radius_value_1_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_1_bottomLeft_type = runtimeType(value_radius_value_1_bottomLeft); - valueSerializer.writeInt8(value_radius_value_1_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_value_1_bottomLeft_type)) { - const auto value_radius_value_1_bottomLeft_value = value_radius_value_1_bottomLeft.value; - Ark_Int32 value_radius_value_1_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_1_bottomLeft_value_type = value_radius_value_1_bottomLeft_value.selector; - if (value_radius_value_1_bottomLeft_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_1_bottomLeft_value_0 = value_radius_value_1_bottomLeft_value.value0; - valueSerializer.writeString(value_radius_value_1_bottomLeft_value_0); - } - else if (value_radius_value_1_bottomLeft_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_1_bottomLeft_value_1 = value_radius_value_1_bottomLeft_value.value1; - valueSerializer.writeNumber(value_radius_value_1_bottomLeft_value_1); - } - else if (value_radius_value_1_bottomLeft_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_radius_value_1_bottomLeft_value_2 = value_radius_value_1_bottomLeft_value.value2; - valueSerializer.writeResource(value_radius_value_1_bottomLeft_value_2); - } - } - const auto value_radius_value_1_bottomRight = value_radius_value_1.bottomRight; - Ark_Int32 value_radius_value_1_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_1_bottomRight_type = runtimeType(value_radius_value_1_bottomRight); - valueSerializer.writeInt8(value_radius_value_1_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_value_1_bottomRight_type)) { - const auto value_radius_value_1_bottomRight_value = value_radius_value_1_bottomRight.value; - Ark_Int32 value_radius_value_1_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - value_radius_value_1_bottomRight_value_type = value_radius_value_1_bottomRight_value.selector; - if (value_radius_value_1_bottomRight_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_radius_value_1_bottomRight_value_0 = value_radius_value_1_bottomRight_value.value0; - valueSerializer.writeString(value_radius_value_1_bottomRight_value_0); - } - else if (value_radius_value_1_bottomRight_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_radius_value_1_bottomRight_value_1 = value_radius_value_1_bottomRight_value.value1; - valueSerializer.writeNumber(value_radius_value_1_bottomRight_value_1); - } - else if (value_radius_value_1_bottomRight_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_radius_value_1_bottomRight_value_2 = value_radius_value_1_bottomRight_value.value2; - valueSerializer.writeResource(value_radius_value_1_bottomRight_value_2); - } - } + valueSerializer.writeBorderRadiuses(value_radius_value_1); } } } - void writeTextDataDetectorConfig(Ark_TextDataDetectorConfig value) + void writeTextPickerTextStyle(Ark_TextPickerTextStyle value) { Serializer& valueSerializer = *this; - const auto value_types = value.types; - valueSerializer.writeInt32(value_types.length); - for (int i = 0; i < value_types.length; i++) { - const Ark_TextDataDetectorType value_types_element = value_types.array[i]; - valueSerializer.writeInt32(static_cast(value_types_element)); - } - const auto value_onDetectResultUpdate = value.onDetectResultUpdate; - Ark_Int32 value_onDetectResultUpdate_type = INTEROP_RUNTIME_UNDEFINED; - value_onDetectResultUpdate_type = runtimeType(value_onDetectResultUpdate); - valueSerializer.writeInt8(value_onDetectResultUpdate_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDetectResultUpdate_type)) { - const auto value_onDetectResultUpdate_value = value_onDetectResultUpdate.value; - valueSerializer.writeCallbackResource(value_onDetectResultUpdate_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onDetectResultUpdate_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onDetectResultUpdate_value.callSync)); - } const auto value_color = value.color; Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); @@ -83597,13 +88493,69 @@ class Serializer : public SerializerBase { valueSerializer.writeResource(value_color_value_3); } } - const auto value_decoration = value.decoration; - Ark_Int32 value_decoration_type = INTEROP_RUNTIME_UNDEFINED; - value_decoration_type = runtimeType(value_decoration); - valueSerializer.writeInt8(value_decoration_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_decoration_type)) { - const auto value_decoration_value = value_decoration.value; - valueSerializer.writeDecorationStyleInterface(value_decoration_value); + const auto value_font = value.font; + Ark_Int32 value_font_type = INTEROP_RUNTIME_UNDEFINED; + value_font_type = runtimeType(value_font); + valueSerializer.writeInt8(value_font_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_font_type)) { + const auto value_font_value = value_font.value; + valueSerializer.writeFont(value_font_value); + } + const auto value_minFontSize = value.minFontSize; + Ark_Int32 value_minFontSize_type = INTEROP_RUNTIME_UNDEFINED; + value_minFontSize_type = runtimeType(value_minFontSize); + valueSerializer.writeInt8(value_minFontSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_minFontSize_type)) { + const auto value_minFontSize_value = value_minFontSize.value; + Ark_Int32 value_minFontSize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_minFontSize_value_type = value_minFontSize_value.selector; + if (value_minFontSize_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_minFontSize_value_0 = value_minFontSize_value.value0; + valueSerializer.writeNumber(value_minFontSize_value_0); + } + else if (value_minFontSize_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_minFontSize_value_1 = value_minFontSize_value.value1; + valueSerializer.writeString(value_minFontSize_value_1); + } + else if (value_minFontSize_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_minFontSize_value_2 = value_minFontSize_value.value2; + valueSerializer.writeResource(value_minFontSize_value_2); + } + } + const auto value_maxFontSize = value.maxFontSize; + Ark_Int32 value_maxFontSize_type = INTEROP_RUNTIME_UNDEFINED; + value_maxFontSize_type = runtimeType(value_maxFontSize); + valueSerializer.writeInt8(value_maxFontSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxFontSize_type)) { + const auto value_maxFontSize_value = value_maxFontSize.value; + Ark_Int32 value_maxFontSize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_maxFontSize_value_type = value_maxFontSize_value.selector; + if (value_maxFontSize_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_maxFontSize_value_0 = value_maxFontSize_value.value0; + valueSerializer.writeNumber(value_maxFontSize_value_0); + } + else if (value_maxFontSize_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_maxFontSize_value_1 = value_maxFontSize_value.value1; + valueSerializer.writeString(value_maxFontSize_value_1); + } + else if (value_maxFontSize_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_maxFontSize_value_2 = value_maxFontSize_value.value2; + valueSerializer.writeResource(value_maxFontSize_value_2); + } + } + const auto value_overflow = value.overflow; + Ark_Int32 value_overflow_type = INTEROP_RUNTIME_UNDEFINED; + value_overflow_type = runtimeType(value_overflow); + valueSerializer.writeInt8(value_overflow_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_overflow_type)) { + const auto value_overflow_value = value_overflow.value; + valueSerializer.writeInt32(static_cast(value_overflow_value)); } } void writeTouchEvent(Ark_TouchEvent value) @@ -83611,11 +88563,36 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeWithThemeOptions(Ark_WithThemeOptions value) + { + Serializer& valueSerializer = *this; + const auto value_theme = value.theme; + Ark_Int32 value_theme_type = INTEROP_RUNTIME_UNDEFINED; + value_theme_type = runtimeType(value_theme); + valueSerializer.writeInt8(value_theme_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_theme_type)) { + const auto value_theme_value = value_theme.value; + valueSerializer.writeCustomTheme(value_theme_value); + } + const auto value_colorMode = value.colorMode; + Ark_Int32 value_colorMode_type = INTEROP_RUNTIME_UNDEFINED; + value_colorMode_type = runtimeType(value_colorMode); + valueSerializer.writeInt8(value_colorMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_colorMode_type)) { + const auto value_colorMode_value = value_colorMode.value; + valueSerializer.writeInt32(static_cast(value_colorMode_value)); + } + } void writeAccessibilityHoverEvent(Ark_AccessibilityHoverEvent value) { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeAxisEvent(Ark_AxisEvent value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeBackgroundColorStyle(Ark_BackgroundColorStyle value) { Serializer& valueSerializer = *this; @@ -83897,6 +88874,34 @@ class Serializer : public SerializerBase { const auto value_selected_value = value_selected.value; valueSerializer.writeInt64(value_selected_value); } + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeInt64(value_start_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeInt64(value_end_value); + } + const auto value_disabledDateRange = value.disabledDateRange; + Ark_Int32 value_disabledDateRange_type = INTEROP_RUNTIME_UNDEFINED; + value_disabledDateRange_type = runtimeType(value_disabledDateRange); + valueSerializer.writeInt8(value_disabledDateRange_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disabledDateRange_type)) { + const auto value_disabledDateRange_value = value_disabledDateRange.value; + valueSerializer.writeInt32(value_disabledDateRange_value.length); + for (int i = 0; i < value_disabledDateRange_value.length; i++) { + const Ark_DateRange value_disabledDateRange_value_element = value_disabledDateRange_value.array[i]; + valueSerializer.writeDateRange(value_disabledDateRange_value_element); + } + } const auto value_onAccept = value.onAccept; Ark_Int32 value_onAccept_type = INTEROP_RUNTIME_UNDEFINED; value_onAccept_type = runtimeType(value_onAccept); @@ -83964,6 +88969,22 @@ class Serializer : public SerializerBase { const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } const auto value_acceptButtonStyle = value.acceptButtonStyle; Ark_Int32 value_acceptButtonStyle_type = INTEROP_RUNTIME_UNDEFINED; value_acceptButtonStyle_type = runtimeType(value_acceptButtonStyle); @@ -84055,6 +89076,14 @@ class Serializer : public SerializerBase { const auto value_hoverModeArea_value = value_hoverModeArea.value; valueSerializer.writeInt32(static_cast(value_hoverModeArea_value)); } + const auto value_markToday = value.markToday; + Ark_Int32 value_markToday_type = INTEROP_RUNTIME_UNDEFINED; + value_markToday_type = runtimeType(value_markToday); + valueSerializer.writeInt8(value_markToday_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_markToday_type)) { + const auto value_markToday_value = value_markToday.value; + valueSerializer.writeBoolean(value_markToday_value); + } } void writeClickEvent(Ark_ClickEvent value) { @@ -84088,6 +89117,14 @@ class Serializer : public SerializerBase { const auto value_selected_value = value_selected.value; valueSerializer.writeInt64(value_selected_value); } + const auto value_mode = value.mode; + Ark_Int32 value_mode_type = INTEROP_RUNTIME_UNDEFINED; + value_mode_type = runtimeType(value_mode); + valueSerializer.writeInt8(value_mode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_mode_type)) { + const auto value_mode_value = value_mode.value; + valueSerializer.writeInt32(static_cast(value_mode_value)); + } const auto value_lunar = value.lunar; Ark_Int32 value_lunar_type = INTEROP_RUNTIME_UNDEFINED; value_lunar_type = runtimeType(value_lunar); @@ -84190,42 +89227,7 @@ class Serializer : public SerializerBase { valueSerializer.writeInt8(value_offset_type); if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { const auto value_offset_value = value_offset.value; - const auto value_offset_value_dx = value_offset_value.dx; - Ark_Int32 value_offset_value_dx_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dx_type = value_offset_value_dx.selector; - if (value_offset_value_dx_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dx_0 = value_offset_value_dx.value0; - valueSerializer.writeString(value_offset_value_dx_0); - } - else if (value_offset_value_dx_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dx_1 = value_offset_value_dx.value1; - valueSerializer.writeNumber(value_offset_value_dx_1); - } - else if (value_offset_value_dx_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dx_2 = value_offset_value_dx.value2; - valueSerializer.writeResource(value_offset_value_dx_2); - } - const auto value_offset_value_dy = value_offset_value.dy; - Ark_Int32 value_offset_value_dy_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dy_type = value_offset_value_dy.selector; - if (value_offset_value_dy_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dy_0 = value_offset_value_dy.value0; - valueSerializer.writeString(value_offset_value_dy_0); - } - else if (value_offset_value_dy_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dy_1 = value_offset_value_dy.value1; - valueSerializer.writeNumber(value_offset_value_dy_1); - } - else if (value_offset_value_dy_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dy_2 = value_offset_value_dy.value2; - valueSerializer.writeResource(value_offset_value_dy_2); - } + valueSerializer.writeOffset(value_offset_value); } const auto value_onAccept = value.onAccept; Ark_Int32 value_onAccept_type = INTEROP_RUNTIME_UNDEFINED; @@ -84314,6 +89316,22 @@ class Serializer : public SerializerBase { const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } const auto value_onDidAppear = value.onDidAppear; Ark_Int32 value_onDidAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onDidAppear_type = runtimeType(value_onDidAppear); @@ -84397,6 +89415,14 @@ class Serializer : public SerializerBase { const auto value_hoverModeArea_value = value_hoverModeArea.value; valueSerializer.writeInt32(static_cast(value_hoverModeArea_value)); } + const auto value_enableHapticFeedback = value.enableHapticFeedback; + Ark_Int32 value_enableHapticFeedback_type = INTEROP_RUNTIME_UNDEFINED; + value_enableHapticFeedback_type = runtimeType(value_enableHapticFeedback); + valueSerializer.writeInt8(value_enableHapticFeedback_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableHapticFeedback_type)) { + const auto value_enableHapticFeedback_value = value_enableHapticFeedback.value; + valueSerializer.writeBoolean(value_enableHapticFeedback_value); + } } void writeGridRowOptions(Ark_GridRowOptions value) { @@ -84514,6 +89540,25 @@ class Serializer : public SerializerBase { const auto value_layoutStyle_value = value_layoutStyle.value; valueSerializer.writeImageAttachmentLayoutStyle(value_layoutStyle_value); } + const auto value_colorFilter = value.colorFilter; + Ark_Int32 value_colorFilter_type = INTEROP_RUNTIME_UNDEFINED; + value_colorFilter_type = runtimeType(value_colorFilter); + valueSerializer.writeInt8(value_colorFilter_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_colorFilter_type)) { + const auto value_colorFilter_value = value_colorFilter.value; + Ark_Int32 value_colorFilter_value_type = INTEROP_RUNTIME_UNDEFINED; + value_colorFilter_value_type = value_colorFilter_value.selector; + if (value_colorFilter_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_colorFilter_value_0 = value_colorFilter_value.value0; + valueSerializer.writeColorFilter(value_colorFilter_value_0); + } + else if (value_colorFilter_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_colorFilter_value_1 = value_colorFilter_value.value1; + valueSerializer.writeDrawingColorFilter(value_colorFilter_value_1); + } + } } void writeNativeEmbedDataInfo(Ark_NativeEmbedDataInfo value) { @@ -84579,74 +89624,6 @@ class Serializer : public SerializerBase { valueSerializer.writeEventResult(value_result_value); } } - void writeParagraphStyle(Ark_ParagraphStyle value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value); - } - void writeParagraphStyleInterface(Ark_ParagraphStyleInterface value) - { - Serializer& valueSerializer = *this; - const auto value_textAlign = value.textAlign; - Ark_Int32 value_textAlign_type = INTEROP_RUNTIME_UNDEFINED; - value_textAlign_type = runtimeType(value_textAlign); - valueSerializer.writeInt8(value_textAlign_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_textAlign_type)) { - const auto value_textAlign_value = value_textAlign.value; - valueSerializer.writeInt32(static_cast(value_textAlign_value)); - } - const auto value_textIndent = value.textIndent; - Ark_Int32 value_textIndent_type = INTEROP_RUNTIME_UNDEFINED; - value_textIndent_type = runtimeType(value_textIndent); - valueSerializer.writeInt8(value_textIndent_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_textIndent_type)) { - const auto value_textIndent_value = value_textIndent.value; - valueSerializer.writeLengthMetrics(value_textIndent_value); - } - const auto value_maxLines = value.maxLines; - Ark_Int32 value_maxLines_type = INTEROP_RUNTIME_UNDEFINED; - value_maxLines_type = runtimeType(value_maxLines); - valueSerializer.writeInt8(value_maxLines_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxLines_type)) { - const auto value_maxLines_value = value_maxLines.value; - valueSerializer.writeNumber(value_maxLines_value); - } - const auto value_overflow = value.overflow; - Ark_Int32 value_overflow_type = INTEROP_RUNTIME_UNDEFINED; - value_overflow_type = runtimeType(value_overflow); - valueSerializer.writeInt8(value_overflow_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_overflow_type)) { - const auto value_overflow_value = value_overflow.value; - valueSerializer.writeInt32(static_cast(value_overflow_value)); - } - const auto value_wordBreak = value.wordBreak; - Ark_Int32 value_wordBreak_type = INTEROP_RUNTIME_UNDEFINED; - value_wordBreak_type = runtimeType(value_wordBreak); - valueSerializer.writeInt8(value_wordBreak_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_wordBreak_type)) { - const auto value_wordBreak_value = value_wordBreak.value; - valueSerializer.writeInt32(static_cast(value_wordBreak_value)); - } - const auto value_leadingMargin = value.leadingMargin; - Ark_Int32 value_leadingMargin_type = INTEROP_RUNTIME_UNDEFINED; - value_leadingMargin_type = runtimeType(value_leadingMargin); - valueSerializer.writeInt8(value_leadingMargin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_leadingMargin_type)) { - const auto value_leadingMargin_value = value_leadingMargin.value; - Ark_Int32 value_leadingMargin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_leadingMargin_value_type = value_leadingMargin_value.selector; - if (value_leadingMargin_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_leadingMargin_value_0 = value_leadingMargin_value.value0; - valueSerializer.writeLengthMetrics(value_leadingMargin_value_0); - } - else if (value_leadingMargin_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_leadingMargin_value_1 = value_leadingMargin_value.value1; - valueSerializer.writeLeadingMarginPlaceholder(value_leadingMargin_value_1); - } - } - } void writePopupOptions(Ark_PopupOptions value) { Serializer& valueSerializer = *this; @@ -85001,42 +89978,132 @@ class Serializer : public SerializerBase { const auto value_transition_value = value_transition.value; valueSerializer.writeTransitionEffect(value_transition_value); } - const auto value_onWillDismiss = value.onWillDismiss; - Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; - value_onWillDismiss_type = runtimeType(value_onWillDismiss); - valueSerializer.writeInt8(value_onWillDismiss_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDismiss_type)) { - const auto value_onWillDismiss_value = value_onWillDismiss.value; - Ark_Int32 value_onWillDismiss_value_type = INTEROP_RUNTIME_UNDEFINED; - value_onWillDismiss_value_type = value_onWillDismiss_value.selector; - if (value_onWillDismiss_value_type == 0) { + const auto value_onWillDismiss = value.onWillDismiss; + Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillDismiss_type = runtimeType(value_onWillDismiss); + valueSerializer.writeInt8(value_onWillDismiss_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDismiss_type)) { + const auto value_onWillDismiss_value = value_onWillDismiss.value; + Ark_Int32 value_onWillDismiss_value_type = INTEROP_RUNTIME_UNDEFINED; + value_onWillDismiss_value_type = value_onWillDismiss_value.selector; + if (value_onWillDismiss_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_onWillDismiss_value_0 = value_onWillDismiss_value.value0; + valueSerializer.writeBoolean(value_onWillDismiss_value_0); + } + else if (value_onWillDismiss_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_onWillDismiss_value_1 = value_onWillDismiss_value.value1; + valueSerializer.writeCallbackResource(value_onWillDismiss_value_1.resource); + valueSerializer.writePointer(reinterpret_cast(value_onWillDismiss_value_1.call)); + valueSerializer.writePointer(reinterpret_cast(value_onWillDismiss_value_1.callSync)); + } + } + const auto value_enableHoverMode = value.enableHoverMode; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; + value_enableHoverMode_type = runtimeType(value_enableHoverMode); + valueSerializer.writeInt8(value_enableHoverMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableHoverMode_type)) { + const auto value_enableHoverMode_value = value_enableHoverMode.value; + valueSerializer.writeBoolean(value_enableHoverMode_value); + } + const auto value_followTransformOfTarget = value.followTransformOfTarget; + Ark_Int32 value_followTransformOfTarget_type = INTEROP_RUNTIME_UNDEFINED; + value_followTransformOfTarget_type = runtimeType(value_followTransformOfTarget); + valueSerializer.writeInt8(value_followTransformOfTarget_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_followTransformOfTarget_type)) { + const auto value_followTransformOfTarget_value = value_followTransformOfTarget.value; + valueSerializer.writeBoolean(value_followTransformOfTarget_value); + } + const auto value_keyboardAvoidMode = value.keyboardAvoidMode; + Ark_Int32 value_keyboardAvoidMode_type = INTEROP_RUNTIME_UNDEFINED; + value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode); + valueSerializer.writeInt8(value_keyboardAvoidMode_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_keyboardAvoidMode_type)) { + const auto value_keyboardAvoidMode_value = value_keyboardAvoidMode.value; + valueSerializer.writeInt32(static_cast(value_keyboardAvoidMode_value)); + } + } + void writeResourceImageAttachmentOptions(Ark_ResourceImageAttachmentOptions value) + { + Serializer& valueSerializer = *this; + const auto value_resourceValue = value.resourceValue; + Ark_Int32 value_resourceValue_type = INTEROP_RUNTIME_UNDEFINED; + value_resourceValue_type = runtimeType(value_resourceValue); + valueSerializer.writeInt8(value_resourceValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_resourceValue_type)) { + const auto value_resourceValue_value = value_resourceValue.value; + Ark_Int32 value_resourceValue_value_type = INTEROP_RUNTIME_UNDEFINED; + value_resourceValue_value_type = value_resourceValue_value.selector; + if (value_resourceValue_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_resourceValue_value_0 = value_resourceValue_value.value0; + valueSerializer.writeString(value_resourceValue_value_0); + } + else if (value_resourceValue_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_resourceValue_value_1 = value_resourceValue_value.value1; + valueSerializer.writeResource(value_resourceValue_value_1); + } + } + const auto value_size = value.size; + Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; + value_size_type = runtimeType(value_size); + valueSerializer.writeInt8(value_size_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { + const auto value_size_value = value_size.value; + valueSerializer.writeSizeOptions(value_size_value); + } + const auto value_verticalAlign = value.verticalAlign; + Ark_Int32 value_verticalAlign_type = INTEROP_RUNTIME_UNDEFINED; + value_verticalAlign_type = runtimeType(value_verticalAlign); + valueSerializer.writeInt8(value_verticalAlign_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_verticalAlign_type)) { + const auto value_verticalAlign_value = value_verticalAlign.value; + valueSerializer.writeInt32(static_cast(value_verticalAlign_value)); + } + const auto value_objectFit = value.objectFit; + Ark_Int32 value_objectFit_type = INTEROP_RUNTIME_UNDEFINED; + value_objectFit_type = runtimeType(value_objectFit); + valueSerializer.writeInt8(value_objectFit_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_objectFit_type)) { + const auto value_objectFit_value = value_objectFit.value; + valueSerializer.writeInt32(static_cast(value_objectFit_value)); + } + const auto value_layoutStyle = value.layoutStyle; + Ark_Int32 value_layoutStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_layoutStyle_type = runtimeType(value_layoutStyle); + valueSerializer.writeInt8(value_layoutStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutStyle_type)) { + const auto value_layoutStyle_value = value_layoutStyle.value; + valueSerializer.writeImageAttachmentLayoutStyle(value_layoutStyle_value); + } + const auto value_colorFilter = value.colorFilter; + Ark_Int32 value_colorFilter_type = INTEROP_RUNTIME_UNDEFINED; + value_colorFilter_type = runtimeType(value_colorFilter); + valueSerializer.writeInt8(value_colorFilter_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_colorFilter_type)) { + const auto value_colorFilter_value = value_colorFilter.value; + Ark_Int32 value_colorFilter_value_type = INTEROP_RUNTIME_UNDEFINED; + value_colorFilter_value_type = value_colorFilter_value.selector; + if (value_colorFilter_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_onWillDismiss_value_0 = value_onWillDismiss_value.value0; - valueSerializer.writeBoolean(value_onWillDismiss_value_0); + const auto value_colorFilter_value_0 = value_colorFilter_value.value0; + valueSerializer.writeColorFilter(value_colorFilter_value_0); } - else if (value_onWillDismiss_value_type == 1) { + else if (value_colorFilter_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_onWillDismiss_value_1 = value_onWillDismiss_value.value1; - valueSerializer.writeCallbackResource(value_onWillDismiss_value_1.resource); - valueSerializer.writePointer(reinterpret_cast(value_onWillDismiss_value_1.call)); - valueSerializer.writePointer(reinterpret_cast(value_onWillDismiss_value_1.callSync)); + const auto value_colorFilter_value_1 = value_colorFilter_value.value1; + valueSerializer.writeDrawingColorFilter(value_colorFilter_value_1); } } - const auto value_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; - value_enableHoverMode_type = runtimeType(value_enableHoverMode); - valueSerializer.writeInt8(value_enableHoverMode_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableHoverMode_type)) { - const auto value_enableHoverMode_value = value_enableHoverMode.value; - valueSerializer.writeBoolean(value_enableHoverMode_value); - } - const auto value_followTransformOfTarget = value.followTransformOfTarget; - Ark_Int32 value_followTransformOfTarget_type = INTEROP_RUNTIME_UNDEFINED; - value_followTransformOfTarget_type = runtimeType(value_followTransformOfTarget); - valueSerializer.writeInt8(value_followTransformOfTarget_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_followTransformOfTarget_type)) { - const auto value_followTransformOfTarget_value = value_followTransformOfTarget.value; - valueSerializer.writeBoolean(value_followTransformOfTarget_value); + const auto value_syncLoad = value.syncLoad; + Ark_Int32 value_syncLoad_type = INTEROP_RUNTIME_UNDEFINED; + value_syncLoad_type = runtimeType(value_syncLoad); + valueSerializer.writeInt8(value_syncLoad_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_syncLoad_type)) { + const auto value_syncLoad_value = value_syncLoad.value; + valueSerializer.writeBoolean(value_syncLoad_value); } } void writeRichEditorImageSpanStyle(Ark_RichEditorImageSpanStyle value) @@ -85131,893 +90198,362 @@ class Serializer : public SerializerBase { valueSerializer.writeRichEditorLayoutStyle(value_layoutStyle_value); } } - void writeRichEditorParagraphStyle(Ark_RichEditorParagraphStyle value) - { - Serializer& valueSerializer = *this; - const auto value_textAlign = value.textAlign; - Ark_Int32 value_textAlign_type = INTEROP_RUNTIME_UNDEFINED; - value_textAlign_type = runtimeType(value_textAlign); - valueSerializer.writeInt8(value_textAlign_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_textAlign_type)) { - const auto value_textAlign_value = value_textAlign.value; - valueSerializer.writeInt32(static_cast(value_textAlign_value)); - } - const auto value_leadingMargin = value.leadingMargin; - Ark_Int32 value_leadingMargin_type = INTEROP_RUNTIME_UNDEFINED; - value_leadingMargin_type = runtimeType(value_leadingMargin); - valueSerializer.writeInt8(value_leadingMargin_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_leadingMargin_type)) { - const auto value_leadingMargin_value = value_leadingMargin.value; - Ark_Int32 value_leadingMargin_value_type = INTEROP_RUNTIME_UNDEFINED; - value_leadingMargin_value_type = value_leadingMargin_value.selector; - if ((value_leadingMargin_value_type == 0) || (value_leadingMargin_value_type == 0) || (value_leadingMargin_value_type == 0)) { - valueSerializer.writeInt8(0); - const auto value_leadingMargin_value_0 = value_leadingMargin_value.value0; - Ark_Int32 value_leadingMargin_value_0_type = INTEROP_RUNTIME_UNDEFINED; - value_leadingMargin_value_0_type = value_leadingMargin_value_0.selector; - if (value_leadingMargin_value_0_type == 0) { - valueSerializer.writeInt8(0); - const auto value_leadingMargin_value_0_0 = value_leadingMargin_value_0.value0; - valueSerializer.writeString(value_leadingMargin_value_0_0); - } - else if (value_leadingMargin_value_0_type == 1) { - valueSerializer.writeInt8(1); - const auto value_leadingMargin_value_0_1 = value_leadingMargin_value_0.value1; - valueSerializer.writeNumber(value_leadingMargin_value_0_1); - } - else if (value_leadingMargin_value_0_type == 2) { - valueSerializer.writeInt8(2); - const auto value_leadingMargin_value_0_2 = value_leadingMargin_value_0.value2; - valueSerializer.writeResource(value_leadingMargin_value_0_2); - } - } - else if (value_leadingMargin_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_leadingMargin_value_1 = value_leadingMargin_value.value1; - valueSerializer.writeLeadingMarginPlaceholder(value_leadingMargin_value_1); - } - } - const auto value_wordBreak = value.wordBreak; - Ark_Int32 value_wordBreak_type = INTEROP_RUNTIME_UNDEFINED; - value_wordBreak_type = runtimeType(value_wordBreak); - valueSerializer.writeInt8(value_wordBreak_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_wordBreak_type)) { - const auto value_wordBreak_value = value_wordBreak.value; - valueSerializer.writeInt32(static_cast(value_wordBreak_value)); - } - const auto value_lineBreakStrategy = value.lineBreakStrategy; - Ark_Int32 value_lineBreakStrategy_type = INTEROP_RUNTIME_UNDEFINED; - value_lineBreakStrategy_type = runtimeType(value_lineBreakStrategy); - valueSerializer.writeInt8(value_lineBreakStrategy_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_lineBreakStrategy_type)) { - const auto value_lineBreakStrategy_value = value_lineBreakStrategy.value; - valueSerializer.writeInt32(static_cast(value_lineBreakStrategy_value)); - } - } - void writeRichEditorParagraphStyleOptions(Ark_RichEditorParagraphStyleOptions value) + void writeRichEditorParagraphResult(Ark_RichEditorParagraphResult value) { Serializer& valueSerializer = *this; - const auto value_start = value.start; - Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; - value_start_type = runtimeType(value_start); - valueSerializer.writeInt8(value_start_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { - const auto value_start_value = value_start.value; - valueSerializer.writeNumber(value_start_value); - } - const auto value_end = value.end; - Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; - value_end_type = runtimeType(value_end); - valueSerializer.writeInt8(value_end_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { - const auto value_end_value = value_end.value; - valueSerializer.writeNumber(value_end_value); - } const auto value_style = value.style; valueSerializer.writeRichEditorParagraphStyle(value_style); + const auto value_range = value.range; + const auto value_range_0 = value_range.value0; + valueSerializer.writeNumber(value_range_0); + const auto value_range_1 = value_range.value1; + valueSerializer.writeNumber(value_range_1); } - void writeRichEditorUpdateImageSpanStyleOptions(Ark_RichEditorUpdateImageSpanStyleOptions value) - { - Serializer& valueSerializer = *this; - const auto value_start = value.start; - Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; - value_start_type = runtimeType(value_start); - valueSerializer.writeInt8(value_start_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { - const auto value_start_value = value_start.value; - valueSerializer.writeNumber(value_start_value); - } - const auto value_end = value.end; - Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; - value_end_type = runtimeType(value_end); - valueSerializer.writeInt8(value_end_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { - const auto value_end_value = value_end.value; - valueSerializer.writeNumber(value_end_value); - } - const auto value_imageStyle = value.imageStyle; - valueSerializer.writeRichEditorImageSpanStyle(value_imageStyle); - } - void writeRunMetrics(Ark_RunMetrics value) - { - Serializer& valueSerializer = *this; - const auto value_textStyle = value.textStyle; - valueSerializer.writetext_TextStyle(value_textStyle); - const auto value_fontMetrics = value.fontMetrics; - valueSerializer.writeFontMetrics(value_fontMetrics); - } - void writeSheetOptions(Ark_SheetOptions value) + void writeRichEditorTextStyle(Ark_RichEditorTextStyle value) { Serializer& valueSerializer = *this; - const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundColor_type = runtimeType(value_backgroundColor); - valueSerializer.writeInt8(value_backgroundColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { - const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_backgroundColor_value_type = value_backgroundColor_value.selector; - if (value_backgroundColor_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_backgroundColor_value_0 = value_backgroundColor_value.value0; - valueSerializer.writeInt32(static_cast(value_backgroundColor_value_0)); - } - else if (value_backgroundColor_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_backgroundColor_value_1 = value_backgroundColor_value.value1; - valueSerializer.writeNumber(value_backgroundColor_value_1); - } - else if (value_backgroundColor_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_backgroundColor_value_2 = value_backgroundColor_value.value2; - valueSerializer.writeString(value_backgroundColor_value_2); - } - else if (value_backgroundColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_backgroundColor_value_3 = value_backgroundColor_value.value3; - valueSerializer.writeResource(value_backgroundColor_value_3); - } - } - const auto value_onAppear = value.onAppear; - Ark_Int32 value_onAppear_type = INTEROP_RUNTIME_UNDEFINED; - value_onAppear_type = runtimeType(value_onAppear); - valueSerializer.writeInt8(value_onAppear_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onAppear_type)) { - const auto value_onAppear_value = value_onAppear.value; - valueSerializer.writeCallbackResource(value_onAppear_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onAppear_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onAppear_value.callSync)); - } - const auto value_onDisappear = value.onDisappear; - Ark_Int32 value_onDisappear_type = INTEROP_RUNTIME_UNDEFINED; - value_onDisappear_type = runtimeType(value_onDisappear); - valueSerializer.writeInt8(value_onDisappear_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDisappear_type)) { - const auto value_onDisappear_value = value_onDisappear.value; - valueSerializer.writeCallbackResource(value_onDisappear_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onDisappear_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onDisappear_value.callSync)); - } - const auto value_onWillAppear = value.onWillAppear; - Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; - value_onWillAppear_type = runtimeType(value_onWillAppear); - valueSerializer.writeInt8(value_onWillAppear_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillAppear_type)) { - const auto value_onWillAppear_value = value_onWillAppear.value; - valueSerializer.writeCallbackResource(value_onWillAppear_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onWillAppear_value.callSync)); - } - const auto value_onWillDisappear = value.onWillDisappear; - Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; - value_onWillDisappear_type = runtimeType(value_onWillDisappear); - valueSerializer.writeInt8(value_onWillDisappear_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDisappear_type)) { - const auto value_onWillDisappear_value = value_onWillDisappear.value; - valueSerializer.writeCallbackResource(value_onWillDisappear_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onWillDisappear_value.callSync)); - } - const auto value_height = value.height; - Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; - value_height_type = runtimeType(value_height); - valueSerializer.writeInt8(value_height_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { - const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = INTEROP_RUNTIME_UNDEFINED; - value_height_value_type = value_height_value.selector; - if (value_height_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_height_value_0 = value_height_value.value0; - valueSerializer.writeInt32(static_cast(value_height_value_0)); - } - else if ((value_height_value_type == 1) || (value_height_value_type == 1) || (value_height_value_type == 1)) { - valueSerializer.writeInt8(1); - const auto value_height_value_1 = value_height_value.value1; - Ark_Int32 value_height_value_1_type = INTEROP_RUNTIME_UNDEFINED; - value_height_value_1_type = value_height_value_1.selector; - if (value_height_value_1_type == 0) { - valueSerializer.writeInt8(0); - const auto value_height_value_1_0 = value_height_value_1.value0; - valueSerializer.writeString(value_height_value_1_0); - } - else if (value_height_value_1_type == 1) { - valueSerializer.writeInt8(1); - const auto value_height_value_1_1 = value_height_value_1.value1; - valueSerializer.writeNumber(value_height_value_1_1); - } - else if (value_height_value_1_type == 2) { - valueSerializer.writeInt8(2); - const auto value_height_value_1_2 = value_height_value_1.value2; - valueSerializer.writeResource(value_height_value_1_2); - } - } - } - const auto value_dragBar = value.dragBar; - Ark_Int32 value_dragBar_type = INTEROP_RUNTIME_UNDEFINED; - value_dragBar_type = runtimeType(value_dragBar); - valueSerializer.writeInt8(value_dragBar_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_dragBar_type)) { - const auto value_dragBar_value = value_dragBar.value; - valueSerializer.writeBoolean(value_dragBar_value); - } - const auto value_maskColor = value.maskColor; - Ark_Int32 value_maskColor_type = INTEROP_RUNTIME_UNDEFINED; - value_maskColor_type = runtimeType(value_maskColor); - valueSerializer.writeInt8(value_maskColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskColor_type)) { - const auto value_maskColor_value = value_maskColor.value; - Ark_Int32 value_maskColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_maskColor_value_type = value_maskColor_value.selector; - if (value_maskColor_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_maskColor_value_0 = value_maskColor_value.value0; - valueSerializer.writeInt32(static_cast(value_maskColor_value_0)); - } - else if (value_maskColor_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_maskColor_value_1 = value_maskColor_value.value1; - valueSerializer.writeNumber(value_maskColor_value_1); - } - else if (value_maskColor_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_maskColor_value_2 = value_maskColor_value.value2; - valueSerializer.writeString(value_maskColor_value_2); - } - else if (value_maskColor_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_maskColor_value_3 = value_maskColor_value.value3; - valueSerializer.writeResource(value_maskColor_value_3); - } - } - const auto value_detents = value.detents; - Ark_Int32 value_detents_type = INTEROP_RUNTIME_UNDEFINED; - value_detents_type = runtimeType(value_detents); - valueSerializer.writeInt8(value_detents_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_detents_type)) { - const auto value_detents_value = value_detents.value; - const auto value_detents_value_0 = value_detents_value.value0; - Ark_Int32 value_detents_value_0_type = INTEROP_RUNTIME_UNDEFINED; - value_detents_value_0_type = value_detents_value_0.selector; - if (value_detents_value_0_type == 0) { - valueSerializer.writeInt8(0); - const auto value_detents_value_0_0 = value_detents_value_0.value0; - valueSerializer.writeInt32(static_cast(value_detents_value_0_0)); - } - else if ((value_detents_value_0_type == 1) || (value_detents_value_0_type == 1) || (value_detents_value_0_type == 1)) { - valueSerializer.writeInt8(1); - const auto value_detents_value_0_1 = value_detents_value_0.value1; - Ark_Int32 value_detents_value_0_1_type = INTEROP_RUNTIME_UNDEFINED; - value_detents_value_0_1_type = value_detents_value_0_1.selector; - if (value_detents_value_0_1_type == 0) { - valueSerializer.writeInt8(0); - const auto value_detents_value_0_1_0 = value_detents_value_0_1.value0; - valueSerializer.writeString(value_detents_value_0_1_0); - } - else if (value_detents_value_0_1_type == 1) { - valueSerializer.writeInt8(1); - const auto value_detents_value_0_1_1 = value_detents_value_0_1.value1; - valueSerializer.writeNumber(value_detents_value_0_1_1); - } - else if (value_detents_value_0_1_type == 2) { - valueSerializer.writeInt8(2); - const auto value_detents_value_0_1_2 = value_detents_value_0_1.value2; - valueSerializer.writeResource(value_detents_value_0_1_2); - } - } - const auto value_detents_value_1 = value_detents_value.value1; - Ark_Int32 value_detents_value_1_type = INTEROP_RUNTIME_UNDEFINED; - value_detents_value_1_type = runtimeType(value_detents_value_1); - valueSerializer.writeInt8(value_detents_value_1_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_detents_value_1_type)) { - const auto value_detents_value_1_value = value_detents_value_1.value; - Ark_Int32 value_detents_value_1_value_type = INTEROP_RUNTIME_UNDEFINED; - value_detents_value_1_value_type = value_detents_value_1_value.selector; - if (value_detents_value_1_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_detents_value_1_value_0 = value_detents_value_1_value.value0; - valueSerializer.writeInt32(static_cast(value_detents_value_1_value_0)); - } - else if ((value_detents_value_1_value_type == 1) || (value_detents_value_1_value_type == 1) || (value_detents_value_1_value_type == 1)) { - valueSerializer.writeInt8(1); - const auto value_detents_value_1_value_1 = value_detents_value_1_value.value1; - Ark_Int32 value_detents_value_1_value_1_type = INTEROP_RUNTIME_UNDEFINED; - value_detents_value_1_value_1_type = value_detents_value_1_value_1.selector; - if (value_detents_value_1_value_1_type == 0) { - valueSerializer.writeInt8(0); - const auto value_detents_value_1_value_1_0 = value_detents_value_1_value_1.value0; - valueSerializer.writeString(value_detents_value_1_value_1_0); - } - else if (value_detents_value_1_value_1_type == 1) { - valueSerializer.writeInt8(1); - const auto value_detents_value_1_value_1_1 = value_detents_value_1_value_1.value1; - valueSerializer.writeNumber(value_detents_value_1_value_1_1); - } - else if (value_detents_value_1_value_1_type == 2) { - valueSerializer.writeInt8(2); - const auto value_detents_value_1_value_1_2 = value_detents_value_1_value_1.value2; - valueSerializer.writeResource(value_detents_value_1_value_1_2); - } - } - } - const auto value_detents_value_2 = value_detents_value.value2; - Ark_Int32 value_detents_value_2_type = INTEROP_RUNTIME_UNDEFINED; - value_detents_value_2_type = runtimeType(value_detents_value_2); - valueSerializer.writeInt8(value_detents_value_2_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_detents_value_2_type)) { - const auto value_detents_value_2_value = value_detents_value_2.value; - Ark_Int32 value_detents_value_2_value_type = INTEROP_RUNTIME_UNDEFINED; - value_detents_value_2_value_type = value_detents_value_2_value.selector; - if (value_detents_value_2_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_detents_value_2_value_0 = value_detents_value_2_value.value0; - valueSerializer.writeInt32(static_cast(value_detents_value_2_value_0)); - } - else if ((value_detents_value_2_value_type == 1) || (value_detents_value_2_value_type == 1) || (value_detents_value_2_value_type == 1)) { - valueSerializer.writeInt8(1); - const auto value_detents_value_2_value_1 = value_detents_value_2_value.value1; - Ark_Int32 value_detents_value_2_value_1_type = INTEROP_RUNTIME_UNDEFINED; - value_detents_value_2_value_1_type = value_detents_value_2_value_1.selector; - if (value_detents_value_2_value_1_type == 0) { - valueSerializer.writeInt8(0); - const auto value_detents_value_2_value_1_0 = value_detents_value_2_value_1.value0; - valueSerializer.writeString(value_detents_value_2_value_1_0); - } - else if (value_detents_value_2_value_1_type == 1) { - valueSerializer.writeInt8(1); - const auto value_detents_value_2_value_1_1 = value_detents_value_2_value_1.value1; - valueSerializer.writeNumber(value_detents_value_2_value_1_1); - } - else if (value_detents_value_2_value_1_type == 2) { - valueSerializer.writeInt8(2); - const auto value_detents_value_2_value_1_2 = value_detents_value_2_value_1.value2; - valueSerializer.writeResource(value_detents_value_2_value_1_2); - } - } - } - } - const auto value_blurStyle = value.blurStyle; - Ark_Int32 value_blurStyle_type = INTEROP_RUNTIME_UNDEFINED; - value_blurStyle_type = runtimeType(value_blurStyle); - valueSerializer.writeInt8(value_blurStyle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_blurStyle_type)) { - const auto value_blurStyle_value = value_blurStyle.value; - valueSerializer.writeInt32(static_cast(value_blurStyle_value)); - } - const auto value_showClose = value.showClose; - Ark_Int32 value_showClose_type = INTEROP_RUNTIME_UNDEFINED; - value_showClose_type = runtimeType(value_showClose); - valueSerializer.writeInt8(value_showClose_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_showClose_type)) { - const auto value_showClose_value = value_showClose.value; - Ark_Int32 value_showClose_value_type = INTEROP_RUNTIME_UNDEFINED; - value_showClose_value_type = value_showClose_value.selector; - if (value_showClose_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_showClose_value_0 = value_showClose_value.value0; - valueSerializer.writeBoolean(value_showClose_value_0); - } - else if (value_showClose_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_showClose_value_1 = value_showClose_value.value1; - valueSerializer.writeResource(value_showClose_value_1); - } - } - const auto value_preferType = value.preferType; - Ark_Int32 value_preferType_type = INTEROP_RUNTIME_UNDEFINED; - value_preferType_type = runtimeType(value_preferType); - valueSerializer.writeInt8(value_preferType_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_preferType_type)) { - const auto value_preferType_value = value_preferType.value; - valueSerializer.writeInt32(static_cast(value_preferType_value)); - } - const auto value_title = value.title; - Ark_Int32 value_title_type = INTEROP_RUNTIME_UNDEFINED; - value_title_type = runtimeType(value_title); - valueSerializer.writeInt8(value_title_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_title_type)) { - const auto value_title_value = value_title.value; - Ark_Int32 value_title_value_type = INTEROP_RUNTIME_UNDEFINED; - value_title_value_type = value_title_value.selector; - if (value_title_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_title_value_0 = value_title_value.value0; - valueSerializer.writeSheetTitleOptions(value_title_value_0); - } - else if (value_title_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_title_value_1 = value_title_value.value1; - valueSerializer.writeCallbackResource(value_title_value_1.resource); - valueSerializer.writePointer(reinterpret_cast(value_title_value_1.call)); - valueSerializer.writePointer(reinterpret_cast(value_title_value_1.callSync)); - } - } - const auto value_shouldDismiss = value.shouldDismiss; - Ark_Int32 value_shouldDismiss_type = INTEROP_RUNTIME_UNDEFINED; - value_shouldDismiss_type = runtimeType(value_shouldDismiss); - valueSerializer.writeInt8(value_shouldDismiss_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_shouldDismiss_type)) { - const auto value_shouldDismiss_value = value_shouldDismiss.value; - valueSerializer.writeCallbackResource(value_shouldDismiss_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_shouldDismiss_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_shouldDismiss_value.callSync)); - } - const auto value_onWillDismiss = value.onWillDismiss; - Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; - value_onWillDismiss_type = runtimeType(value_onWillDismiss); - valueSerializer.writeInt8(value_onWillDismiss_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDismiss_type)) { - const auto value_onWillDismiss_value = value_onWillDismiss.value; - valueSerializer.writeCallbackResource(value_onWillDismiss_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onWillDismiss_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onWillDismiss_value.callSync)); - } - const auto value_onWillSpringBackWhenDismiss = value.onWillSpringBackWhenDismiss; - Ark_Int32 value_onWillSpringBackWhenDismiss_type = INTEROP_RUNTIME_UNDEFINED; - value_onWillSpringBackWhenDismiss_type = runtimeType(value_onWillSpringBackWhenDismiss); - valueSerializer.writeInt8(value_onWillSpringBackWhenDismiss_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillSpringBackWhenDismiss_type)) { - const auto value_onWillSpringBackWhenDismiss_value = value_onWillSpringBackWhenDismiss.value; - valueSerializer.writeCallbackResource(value_onWillSpringBackWhenDismiss_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onWillSpringBackWhenDismiss_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onWillSpringBackWhenDismiss_value.callSync)); - } - const auto value_enableOutsideInteractive = value.enableOutsideInteractive; - Ark_Int32 value_enableOutsideInteractive_type = INTEROP_RUNTIME_UNDEFINED; - value_enableOutsideInteractive_type = runtimeType(value_enableOutsideInteractive); - valueSerializer.writeInt8(value_enableOutsideInteractive_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableOutsideInteractive_type)) { - const auto value_enableOutsideInteractive_value = value_enableOutsideInteractive.value; - valueSerializer.writeBoolean(value_enableOutsideInteractive_value); - } - const auto value_width = value.width; - Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; - value_width_type = runtimeType(value_width); - valueSerializer.writeInt8(value_width_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { - const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = INTEROP_RUNTIME_UNDEFINED; - value_width_value_type = value_width_value.selector; - if (value_width_value_type == 0) { + const auto value_fontColor = value.fontColor; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; + value_fontColor_type = runtimeType(value_fontColor); + valueSerializer.writeInt8(value_fontColor_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { + const auto value_fontColor_value = value_fontColor.value; + Ark_Int32 value_fontColor_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontColor_value_type = value_fontColor_value.selector; + if (value_fontColor_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_width_value_0 = value_width_value.value0; - valueSerializer.writeString(value_width_value_0); + const auto value_fontColor_value_0 = value_fontColor_value.value0; + valueSerializer.writeInt32(static_cast(value_fontColor_value_0)); } - else if (value_width_value_type == 1) { + else if (value_fontColor_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_width_value_1 = value_width_value.value1; - valueSerializer.writeNumber(value_width_value_1); + const auto value_fontColor_value_1 = value_fontColor_value.value1; + valueSerializer.writeNumber(value_fontColor_value_1); } - else if (value_width_value_type == 2) { + else if (value_fontColor_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_width_value_2 = value_width_value.value2; - valueSerializer.writeResource(value_width_value_2); + const auto value_fontColor_value_2 = value_fontColor_value.value2; + valueSerializer.writeString(value_fontColor_value_2); + } + else if (value_fontColor_value_type == 3) { + valueSerializer.writeInt8(3); + const auto value_fontColor_value_3 = value_fontColor_value.value3; + valueSerializer.writeResource(value_fontColor_value_3); } } - const auto value_borderWidth = value.borderWidth; - Ark_Int32 value_borderWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_type = runtimeType(value_borderWidth); - valueSerializer.writeInt8(value_borderWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { - const auto value_borderWidth_value = value_borderWidth.value; - Ark_Int32 value_borderWidth_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_type = value_borderWidth_value.selector; - if ((value_borderWidth_value_type == 0) || (value_borderWidth_value_type == 0) || (value_borderWidth_value_type == 0)) { + const auto value_fontSize = value.fontSize; + Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; + value_fontSize_type = runtimeType(value_fontSize); + valueSerializer.writeInt8(value_fontSize_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { + const auto value_fontSize_value = value_fontSize.value; + Ark_Int32 value_fontSize_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontSize_value_type = value_fontSize_value.selector; + if (value_fontSize_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_borderWidth_value_0 = value_borderWidth_value.value0; - Ark_Int32 value_borderWidth_value_0_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_0_type = value_borderWidth_value_0.selector; - if (value_borderWidth_value_0_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_0_0 = value_borderWidth_value_0.value0; - valueSerializer.writeString(value_borderWidth_value_0_0); - } - else if (value_borderWidth_value_0_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_0_1 = value_borderWidth_value_0.value1; - valueSerializer.writeNumber(value_borderWidth_value_0_1); - } - else if (value_borderWidth_value_0_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_0_2 = value_borderWidth_value_0.value2; - valueSerializer.writeResource(value_borderWidth_value_0_2); - } + const auto value_fontSize_value_0 = value_fontSize_value.value0; + valueSerializer.writeString(value_fontSize_value_0); } - else if (value_borderWidth_value_type == 1) { + else if (value_fontSize_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1 = value_borderWidth_value.value1; - const auto value_borderWidth_value_1_top = value_borderWidth_value_1.top; - Ark_Int32 value_borderWidth_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top); - valueSerializer.writeInt8(value_borderWidth_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const auto value_borderWidth_value_1_top_value = value_borderWidth_value_1_top.value; - Ark_Int32 value_borderWidth_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_top_value_type = value_borderWidth_value_1_top_value.selector; - if (value_borderWidth_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_top_value_0 = value_borderWidth_value_1_top_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_top_value_0); - } - else if (value_borderWidth_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_top_value_1 = value_borderWidth_value_1_top_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1); - } - else if (value_borderWidth_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_top_value_2 = value_borderWidth_value_1_top_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2); - } - } - const auto value_borderWidth_value_1_right = value_borderWidth_value_1.right; - Ark_Int32 value_borderWidth_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right); - valueSerializer.writeInt8(value_borderWidth_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const auto value_borderWidth_value_1_right_value = value_borderWidth_value_1_right.value; - Ark_Int32 value_borderWidth_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_right_value_type = value_borderWidth_value_1_right_value.selector; - if (value_borderWidth_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_right_value_0 = value_borderWidth_value_1_right_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_right_value_0); - } - else if (value_borderWidth_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_right_value_1 = value_borderWidth_value_1_right_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1); - } - else if (value_borderWidth_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_right_value_2 = value_borderWidth_value_1_right_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2); - } - } - const auto value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom; - Ark_Int32 value_borderWidth_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom); - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const auto value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom.value; - Ark_Int32 value_borderWidth_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_bottom_value_type = value_borderWidth_value_1_bottom_value.selector; - if (value_borderWidth_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_bottom_value_0 = value_borderWidth_value_1_bottom_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0); - } - else if (value_borderWidth_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_bottom_value_1 = value_borderWidth_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1); - } - else if (value_borderWidth_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_bottom_value_2 = value_borderWidth_value_1_bottom_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2); - } - } - const auto value_borderWidth_value_1_left = value_borderWidth_value_1.left; - Ark_Int32 value_borderWidth_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left); - valueSerializer.writeInt8(value_borderWidth_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const auto value_borderWidth_value_1_left_value = value_borderWidth_value_1_left.value; - Ark_Int32 value_borderWidth_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderWidth_value_1_left_value_type = value_borderWidth_value_1_left_value.selector; - if (value_borderWidth_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderWidth_value_1_left_value_0 = value_borderWidth_value_1_left_value.value0; - valueSerializer.writeString(value_borderWidth_value_1_left_value_0); - } - else if (value_borderWidth_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderWidth_value_1_left_value_1 = value_borderWidth_value_1_left_value.value1; - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1); - } - else if (value_borderWidth_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderWidth_value_1_left_value_2 = value_borderWidth_value_1_left_value.value2; - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2); - } - } + const auto value_fontSize_value_1 = value_fontSize_value.value1; + valueSerializer.writeNumber(value_fontSize_value_1); } - else if (value_borderWidth_value_type == 2) { + else if (value_fontSize_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_borderWidth_value_2 = value_borderWidth_value.value2; - valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2); + const auto value_fontSize_value_2 = value_fontSize_value.value2; + valueSerializer.writeResource(value_fontSize_value_2); } } - const auto value_borderColor = value.borderColor; - Ark_Int32 value_borderColor_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_type = runtimeType(value_borderColor); - valueSerializer.writeInt8(value_borderColor_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_type)) { - const auto value_borderColor_value = value_borderColor.value; - Ark_Int32 value_borderColor_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_type = value_borderColor_value.selector; - if ((value_borderColor_value_type == 0) || (value_borderColor_value_type == 0) || (value_borderColor_value_type == 0) || (value_borderColor_value_type == 0)) { + const auto value_fontStyle = value.fontStyle; + Ark_Int32 value_fontStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_fontStyle_type = runtimeType(value_fontStyle); + valueSerializer.writeInt8(value_fontStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontStyle_type)) { + const auto value_fontStyle_value = value_fontStyle.value; + valueSerializer.writeInt32(static_cast(value_fontStyle_value)); + } + const auto value_fontWeight = value.fontWeight; + Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; + value_fontWeight_type = runtimeType(value_fontWeight); + valueSerializer.writeInt8(value_fontWeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { + const auto value_fontWeight_value = value_fontWeight.value; + Ark_Int32 value_fontWeight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontWeight_value_type = value_fontWeight_value.selector; + if (value_fontWeight_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_borderColor_value_0 = value_borderColor_value.value0; - Ark_Int32 value_borderColor_value_0_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_0_type = value_borderColor_value_0.selector; - if (value_borderColor_value_0_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_0_0 = value_borderColor_value_0.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_0_0)); - } - else if (value_borderColor_value_0_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_0_1 = value_borderColor_value_0.value1; - valueSerializer.writeNumber(value_borderColor_value_0_1); - } - else if (value_borderColor_value_0_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_0_2 = value_borderColor_value_0.value2; - valueSerializer.writeString(value_borderColor_value_0_2); - } - else if (value_borderColor_value_0_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_0_3 = value_borderColor_value_0.value3; - valueSerializer.writeResource(value_borderColor_value_0_3); - } + const auto value_fontWeight_value_0 = value_fontWeight_value.value0; + valueSerializer.writeNumber(value_fontWeight_value_0); } - else if (value_borderColor_value_type == 1) { + else if (value_fontWeight_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_borderColor_value_1 = value_borderColor_value.value1; - const auto value_borderColor_value_1_top = value_borderColor_value_1.top; - Ark_Int32 value_borderColor_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top); - valueSerializer.writeInt8(value_borderColor_value_1_top_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_top_type)) { - const auto value_borderColor_value_1_top_value = value_borderColor_value_1_top.value; - Ark_Int32 value_borderColor_value_1_top_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_top_value_type = value_borderColor_value_1_top_value.selector; - if (value_borderColor_value_1_top_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_top_value_0 = value_borderColor_value_1_top_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_top_value_0)); - } - else if (value_borderColor_value_1_top_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_top_value_1 = value_borderColor_value_1_top_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1); - } - else if (value_borderColor_value_1_top_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_top_value_2 = value_borderColor_value_1_top_value.value2; - valueSerializer.writeString(value_borderColor_value_1_top_value_2); - } - else if (value_borderColor_value_1_top_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_top_value_3 = value_borderColor_value_1_top_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_top_value_3); - } - } - const auto value_borderColor_value_1_right = value_borderColor_value_1.right; - Ark_Int32 value_borderColor_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right); - valueSerializer.writeInt8(value_borderColor_value_1_right_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_right_type)) { - const auto value_borderColor_value_1_right_value = value_borderColor_value_1_right.value; - Ark_Int32 value_borderColor_value_1_right_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_right_value_type = value_borderColor_value_1_right_value.selector; - if (value_borderColor_value_1_right_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_right_value_0 = value_borderColor_value_1_right_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_right_value_0)); - } - else if (value_borderColor_value_1_right_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_right_value_1 = value_borderColor_value_1_right_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1); - } - else if (value_borderColor_value_1_right_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_right_value_2 = value_borderColor_value_1_right_value.value2; - valueSerializer.writeString(value_borderColor_value_1_right_value_2); - } - else if (value_borderColor_value_1_right_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_right_value_3 = value_borderColor_value_1_right_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_right_value_3); - } - } - const auto value_borderColor_value_1_bottom = value_borderColor_value_1.bottom; - Ark_Int32 value_borderColor_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom); - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const auto value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom.value; - Ark_Int32 value_borderColor_value_1_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_bottom_value_type = value_borderColor_value_1_bottom_value.selector; - if (value_borderColor_value_1_bottom_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_bottom_value_0 = value_borderColor_value_1_bottom_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_bottom_value_0)); - } - else if (value_borderColor_value_1_bottom_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_bottom_value_1 = value_borderColor_value_1_bottom_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1); - } - else if (value_borderColor_value_1_bottom_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_bottom_value_2 = value_borderColor_value_1_bottom_value.value2; - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2); - } - else if (value_borderColor_value_1_bottom_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_bottom_value_3 = value_borderColor_value_1_bottom_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3); - } - } - const auto value_borderColor_value_1_left = value_borderColor_value_1.left; - Ark_Int32 value_borderColor_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left); - valueSerializer.writeInt8(value_borderColor_value_1_left_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_value_1_left_type)) { - const auto value_borderColor_value_1_left_value = value_borderColor_value_1_left.value; - Ark_Int32 value_borderColor_value_1_left_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderColor_value_1_left_value_type = value_borderColor_value_1_left_value.selector; - if (value_borderColor_value_1_left_value_type == 0) { - valueSerializer.writeInt8(0); - const auto value_borderColor_value_1_left_value_0 = value_borderColor_value_1_left_value.value0; - valueSerializer.writeInt32(static_cast(value_borderColor_value_1_left_value_0)); - } - else if (value_borderColor_value_1_left_value_type == 1) { - valueSerializer.writeInt8(1); - const auto value_borderColor_value_1_left_value_1 = value_borderColor_value_1_left_value.value1; - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1); - } - else if (value_borderColor_value_1_left_value_type == 2) { - valueSerializer.writeInt8(2); - const auto value_borderColor_value_1_left_value_2 = value_borderColor_value_1_left_value.value2; - valueSerializer.writeString(value_borderColor_value_1_left_value_2); - } - else if (value_borderColor_value_1_left_value_type == 3) { - valueSerializer.writeInt8(3); - const auto value_borderColor_value_1_left_value_3 = value_borderColor_value_1_left_value.value3; - valueSerializer.writeResource(value_borderColor_value_1_left_value_3); - } - } + const auto value_fontWeight_value_1 = value_fontWeight_value.value1; + valueSerializer.writeInt32(static_cast(value_fontWeight_value_1)); } - else if (value_borderColor_value_type == 2) { + else if (value_fontWeight_value_type == 2) { valueSerializer.writeInt8(2); - const auto value_borderColor_value_2 = value_borderColor_value.value2; - valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2); + const auto value_fontWeight_value_2 = value_fontWeight_value.value2; + valueSerializer.writeString(value_fontWeight_value_2); } } - const auto value_borderStyle = value.borderStyle; - Ark_Int32 value_borderStyle_type = INTEROP_RUNTIME_UNDEFINED; - value_borderStyle_type = runtimeType(value_borderStyle); - valueSerializer.writeInt8(value_borderStyle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { - const auto value_borderStyle_value = value_borderStyle.value; - Ark_Int32 value_borderStyle_value_type = INTEROP_RUNTIME_UNDEFINED; - value_borderStyle_value_type = value_borderStyle_value.selector; - if (value_borderStyle_value_type == 0) { + const auto value_fontFamily = value.fontFamily; + Ark_Int32 value_fontFamily_type = INTEROP_RUNTIME_UNDEFINED; + value_fontFamily_type = runtimeType(value_fontFamily); + valueSerializer.writeInt8(value_fontFamily_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFamily_type)) { + const auto value_fontFamily_value = value_fontFamily.value; + Ark_Int32 value_fontFamily_value_type = INTEROP_RUNTIME_UNDEFINED; + value_fontFamily_value_type = value_fontFamily_value.selector; + if (value_fontFamily_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_borderStyle_value_0 = value_borderStyle_value.value0; - valueSerializer.writeInt32(static_cast(value_borderStyle_value_0)); + const auto value_fontFamily_value_0 = value_fontFamily_value.value0; + valueSerializer.writeString(value_fontFamily_value_0); } - else if (value_borderStyle_value_type == 1) { + else if (value_fontFamily_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_borderStyle_value_1 = value_borderStyle_value.value1; - valueSerializer.writeEdgeStyles(value_borderStyle_value_1); + const auto value_fontFamily_value_1 = value_fontFamily_value.value1; + valueSerializer.writeResource(value_fontFamily_value_1); } } - const auto value_shadow = value.shadow; - Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; - value_shadow_type = runtimeType(value_shadow); - valueSerializer.writeInt8(value_shadow_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { - const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = INTEROP_RUNTIME_UNDEFINED; - value_shadow_value_type = value_shadow_value.selector; - if (value_shadow_value_type == 0) { + const auto value_decoration = value.decoration; + Ark_Int32 value_decoration_type = INTEROP_RUNTIME_UNDEFINED; + value_decoration_type = runtimeType(value_decoration); + valueSerializer.writeInt8(value_decoration_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_decoration_type)) { + const auto value_decoration_value = value_decoration.value; + valueSerializer.writeDecorationStyleInterface(value_decoration_value); + } + const auto value_textShadow = value.textShadow; + Ark_Int32 value_textShadow_type = INTEROP_RUNTIME_UNDEFINED; + value_textShadow_type = runtimeType(value_textShadow); + valueSerializer.writeInt8(value_textShadow_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textShadow_type)) { + const auto value_textShadow_value = value_textShadow.value; + Ark_Int32 value_textShadow_value_type = INTEROP_RUNTIME_UNDEFINED; + value_textShadow_value_type = value_textShadow_value.selector; + if (value_textShadow_value_type == 0) { valueSerializer.writeInt8(0); - const auto value_shadow_value_0 = value_shadow_value.value0; - valueSerializer.writeShadowOptions(value_shadow_value_0); + const auto value_textShadow_value_0 = value_textShadow_value.value0; + valueSerializer.writeShadowOptions(value_textShadow_value_0); } - else if (value_shadow_value_type == 1) { + else if (value_textShadow_value_type == 1) { valueSerializer.writeInt8(1); - const auto value_shadow_value_1 = value_shadow_value.value1; - valueSerializer.writeInt32(static_cast(value_shadow_value_1)); + const auto value_textShadow_value_1 = value_textShadow_value.value1; + valueSerializer.writeInt32(value_textShadow_value_1.length); + for (int i = 0; i < value_textShadow_value_1.length; i++) { + const Ark_ShadowOptions value_textShadow_value_1_element = value_textShadow_value_1.array[i]; + valueSerializer.writeShadowOptions(value_textShadow_value_1_element); + } } } - const auto value_onHeightDidChange = value.onHeightDidChange; - Ark_Int32 value_onHeightDidChange_type = INTEROP_RUNTIME_UNDEFINED; - value_onHeightDidChange_type = runtimeType(value_onHeightDidChange); - valueSerializer.writeInt8(value_onHeightDidChange_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onHeightDidChange_type)) { - const auto value_onHeightDidChange_value = value_onHeightDidChange.value; - valueSerializer.writeCallbackResource(value_onHeightDidChange_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onHeightDidChange_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onHeightDidChange_value.callSync)); + const auto value_letterSpacing = value.letterSpacing; + Ark_Int32 value_letterSpacing_type = INTEROP_RUNTIME_UNDEFINED; + value_letterSpacing_type = runtimeType(value_letterSpacing); + valueSerializer.writeInt8(value_letterSpacing_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_letterSpacing_type)) { + const auto value_letterSpacing_value = value_letterSpacing.value; + Ark_Int32 value_letterSpacing_value_type = INTEROP_RUNTIME_UNDEFINED; + value_letterSpacing_value_type = value_letterSpacing_value.selector; + if (value_letterSpacing_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_letterSpacing_value_0 = value_letterSpacing_value.value0; + valueSerializer.writeNumber(value_letterSpacing_value_0); + } + else if (value_letterSpacing_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_letterSpacing_value_1 = value_letterSpacing_value.value1; + valueSerializer.writeString(value_letterSpacing_value_1); + } } - const auto value_mode = value.mode; - Ark_Int32 value_mode_type = INTEROP_RUNTIME_UNDEFINED; - value_mode_type = runtimeType(value_mode); - valueSerializer.writeInt8(value_mode_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_mode_type)) { - const auto value_mode_value = value_mode.value; - valueSerializer.writeInt32(static_cast(value_mode_value)); + const auto value_lineHeight = value.lineHeight; + Ark_Int32 value_lineHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_lineHeight_type = runtimeType(value_lineHeight); + valueSerializer.writeInt8(value_lineHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lineHeight_type)) { + const auto value_lineHeight_value = value_lineHeight.value; + Ark_Int32 value_lineHeight_value_type = INTEROP_RUNTIME_UNDEFINED; + value_lineHeight_value_type = value_lineHeight_value.selector; + if (value_lineHeight_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_lineHeight_value_0 = value_lineHeight_value.value0; + valueSerializer.writeNumber(value_lineHeight_value_0); + } + else if (value_lineHeight_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_lineHeight_value_1 = value_lineHeight_value.value1; + valueSerializer.writeString(value_lineHeight_value_1); + } + else if (value_lineHeight_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_lineHeight_value_2 = value_lineHeight_value.value2; + valueSerializer.writeResource(value_lineHeight_value_2); + } } - const auto value_scrollSizeMode = value.scrollSizeMode; - Ark_Int32 value_scrollSizeMode_type = INTEROP_RUNTIME_UNDEFINED; - value_scrollSizeMode_type = runtimeType(value_scrollSizeMode); - valueSerializer.writeInt8(value_scrollSizeMode_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollSizeMode_type)) { - const auto value_scrollSizeMode_value = value_scrollSizeMode.value; - valueSerializer.writeInt32(static_cast(value_scrollSizeMode_value)); + const auto value_halfLeading = value.halfLeading; + Ark_Int32 value_halfLeading_type = INTEROP_RUNTIME_UNDEFINED; + value_halfLeading_type = runtimeType(value_halfLeading); + valueSerializer.writeInt8(value_halfLeading_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_halfLeading_type)) { + const auto value_halfLeading_value = value_halfLeading.value; + valueSerializer.writeBoolean(value_halfLeading_value); } - const auto value_onDetentsDidChange = value.onDetentsDidChange; - Ark_Int32 value_onDetentsDidChange_type = INTEROP_RUNTIME_UNDEFINED; - value_onDetentsDidChange_type = runtimeType(value_onDetentsDidChange); - valueSerializer.writeInt8(value_onDetentsDidChange_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDetentsDidChange_type)) { - const auto value_onDetentsDidChange_value = value_onDetentsDidChange.value; - valueSerializer.writeCallbackResource(value_onDetentsDidChange_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onDetentsDidChange_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onDetentsDidChange_value.callSync)); + const auto value_fontFeature = value.fontFeature; + Ark_Int32 value_fontFeature_type = INTEROP_RUNTIME_UNDEFINED; + value_fontFeature_type = runtimeType(value_fontFeature); + valueSerializer.writeInt8(value_fontFeature_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFeature_type)) { + const auto value_fontFeature_value = value_fontFeature.value; + valueSerializer.writeString(value_fontFeature_value); } - const auto value_onWidthDidChange = value.onWidthDidChange; - Ark_Int32 value_onWidthDidChange_type = INTEROP_RUNTIME_UNDEFINED; - value_onWidthDidChange_type = runtimeType(value_onWidthDidChange); - valueSerializer.writeInt8(value_onWidthDidChange_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWidthDidChange_type)) { - const auto value_onWidthDidChange_value = value_onWidthDidChange.value; - valueSerializer.writeCallbackResource(value_onWidthDidChange_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onWidthDidChange_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onWidthDidChange_value.callSync)); + const auto value_textBackgroundStyle = value.textBackgroundStyle; + Ark_Int32 value_textBackgroundStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_textBackgroundStyle_type = runtimeType(value_textBackgroundStyle); + valueSerializer.writeInt8(value_textBackgroundStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textBackgroundStyle_type)) { + const auto value_textBackgroundStyle_value = value_textBackgroundStyle.value; + valueSerializer.writeTextBackgroundStyle(value_textBackgroundStyle_value); } - const auto value_onTypeDidChange = value.onTypeDidChange; - Ark_Int32 value_onTypeDidChange_type = INTEROP_RUNTIME_UNDEFINED; - value_onTypeDidChange_type = runtimeType(value_onTypeDidChange); - valueSerializer.writeInt8(value_onTypeDidChange_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_onTypeDidChange_type)) { - const auto value_onTypeDidChange_value = value_onTypeDidChange.value; - valueSerializer.writeCallbackResource(value_onTypeDidChange_value.resource); - valueSerializer.writePointer(reinterpret_cast(value_onTypeDidChange_value.call)); - valueSerializer.writePointer(reinterpret_cast(value_onTypeDidChange_value.callSync)); + } + void writeRichEditorTextStyleResult(Ark_RichEditorTextStyleResult value) + { + Serializer& valueSerializer = *this; + const auto value_fontColor = value.fontColor; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; + value_fontColor_type = value_fontColor.selector; + if (value_fontColor_type == 0) { + valueSerializer.writeInt8(0); + const auto value_fontColor_0 = value_fontColor.value0; + valueSerializer.writeInt32(static_cast(value_fontColor_0)); } - const auto value_uiContext = value.uiContext; - Ark_Int32 value_uiContext_type = INTEROP_RUNTIME_UNDEFINED; - value_uiContext_type = runtimeType(value_uiContext); - valueSerializer.writeInt8(value_uiContext_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_uiContext_type)) { - const auto value_uiContext_value = value_uiContext.value; - valueSerializer.writeUIContext(value_uiContext_value); + else if (value_fontColor_type == 1) { + valueSerializer.writeInt8(1); + const auto value_fontColor_1 = value_fontColor.value1; + valueSerializer.writeNumber(value_fontColor_1); } - const auto value_keyboardAvoidMode = value.keyboardAvoidMode; - Ark_Int32 value_keyboardAvoidMode_type = INTEROP_RUNTIME_UNDEFINED; - value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode); - valueSerializer.writeInt8(value_keyboardAvoidMode_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_keyboardAvoidMode_type)) { - const auto value_keyboardAvoidMode_value = value_keyboardAvoidMode.value; - valueSerializer.writeInt32(static_cast(value_keyboardAvoidMode_value)); + else if (value_fontColor_type == 2) { + valueSerializer.writeInt8(2); + const auto value_fontColor_2 = value_fontColor.value2; + valueSerializer.writeString(value_fontColor_2); + } + else if (value_fontColor_type == 3) { + valueSerializer.writeInt8(3); + const auto value_fontColor_3 = value_fontColor.value3; + valueSerializer.writeResource(value_fontColor_3); + } + const auto value_fontSize = value.fontSize; + valueSerializer.writeNumber(value_fontSize); + const auto value_fontStyle = value.fontStyle; + valueSerializer.writeInt32(static_cast(value_fontStyle)); + const auto value_fontWeight = value.fontWeight; + valueSerializer.writeNumber(value_fontWeight); + const auto value_fontFamily = value.fontFamily; + valueSerializer.writeString(value_fontFamily); + const auto value_decoration = value.decoration; + valueSerializer.writeDecorationStyleResult(value_decoration); + const auto value_textShadow = value.textShadow; + Ark_Int32 value_textShadow_type = INTEROP_RUNTIME_UNDEFINED; + value_textShadow_type = runtimeType(value_textShadow); + valueSerializer.writeInt8(value_textShadow_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textShadow_type)) { + const auto value_textShadow_value = value_textShadow.value; + valueSerializer.writeInt32(value_textShadow_value.length); + for (int i = 0; i < value_textShadow_value.length; i++) { + const Ark_ShadowOptions value_textShadow_value_element = value_textShadow_value.array[i]; + valueSerializer.writeShadowOptions(value_textShadow_value_element); + } + } + const auto value_letterSpacing = value.letterSpacing; + Ark_Int32 value_letterSpacing_type = INTEROP_RUNTIME_UNDEFINED; + value_letterSpacing_type = runtimeType(value_letterSpacing); + valueSerializer.writeInt8(value_letterSpacing_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_letterSpacing_type)) { + const auto value_letterSpacing_value = value_letterSpacing.value; + valueSerializer.writeNumber(value_letterSpacing_value); + } + const auto value_lineHeight = value.lineHeight; + Ark_Int32 value_lineHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_lineHeight_type = runtimeType(value_lineHeight); + valueSerializer.writeInt8(value_lineHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lineHeight_type)) { + const auto value_lineHeight_value = value_lineHeight.value; + valueSerializer.writeNumber(value_lineHeight_value); + } + const auto value_halfLeading = value.halfLeading; + Ark_Int32 value_halfLeading_type = INTEROP_RUNTIME_UNDEFINED; + value_halfLeading_type = runtimeType(value_halfLeading); + valueSerializer.writeInt8(value_halfLeading_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_halfLeading_type)) { + const auto value_halfLeading_value = value_halfLeading.value; + valueSerializer.writeBoolean(value_halfLeading_value); + } + const auto value_fontFeature = value.fontFeature; + Ark_Int32 value_fontFeature_type = INTEROP_RUNTIME_UNDEFINED; + value_fontFeature_type = runtimeType(value_fontFeature); + valueSerializer.writeInt8(value_fontFeature_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFeature_type)) { + const auto value_fontFeature_value = value_fontFeature.value; + valueSerializer.writeString(value_fontFeature_value); + } + const auto value_textBackgroundStyle = value.textBackgroundStyle; + Ark_Int32 value_textBackgroundStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_textBackgroundStyle_type = runtimeType(value_textBackgroundStyle); + valueSerializer.writeInt8(value_textBackgroundStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textBackgroundStyle_type)) { + const auto value_textBackgroundStyle_value = value_textBackgroundStyle.value; + valueSerializer.writeTextBackgroundStyle(value_textBackgroundStyle_value); + } + } + void writeRichEditorUpdateImageSpanStyleOptions(Ark_RichEditorUpdateImageSpanStyleOptions value) + { + Serializer& valueSerializer = *this; + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeNumber(value_start_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeNumber(value_end_value); + } + const auto value_imageStyle = value.imageStyle; + valueSerializer.writeRichEditorImageSpanStyle(value_imageStyle); + } + void writeRichEditorUpdateTextSpanStyleOptions(Ark_RichEditorUpdateTextSpanStyleOptions value) + { + Serializer& valueSerializer = *this; + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeNumber(value_start_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeNumber(value_end_value); + } + const auto value_textStyle = value.textStyle; + valueSerializer.writeRichEditorTextStyle(value_textStyle); + const auto value_urlStyle = value.urlStyle; + Ark_Int32 value_urlStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_urlStyle_type = runtimeType(value_urlStyle); + valueSerializer.writeInt8(value_urlStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_urlStyle_type)) { + const auto value_urlStyle_value = value_urlStyle.value; + valueSerializer.writeRichEditorUrlStyle(value_urlStyle_value); } } void writeStyleOptions(Ark_StyleOptions value) @@ -86416,6 +90952,18 @@ class Serializer : public SerializerBase { } } } + const auto value_columnWidths = value.columnWidths; + Ark_Int32 value_columnWidths_type = INTEROP_RUNTIME_UNDEFINED; + value_columnWidths_type = runtimeType(value_columnWidths); + valueSerializer.writeInt8(value_columnWidths_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_columnWidths_type)) { + const auto value_columnWidths_value = value_columnWidths.value; + valueSerializer.writeInt32(value_columnWidths_value.length); + for (int i = 0; i < value_columnWidths_value.length; i++) { + const Ark_LengthMetrics value_columnWidths_value_element = value_columnWidths_value.array[i]; + valueSerializer.writeLengthMetrics(value_columnWidths_value_element); + } + } const auto value_defaultPickerItemHeight = value.defaultPickerItemHeight; Ark_Int32 value_defaultPickerItemHeight_type = INTEROP_RUNTIME_UNDEFINED; value_defaultPickerItemHeight_type = runtimeType(value_defaultPickerItemHeight); @@ -86483,6 +91031,22 @@ class Serializer : public SerializerBase { const auto value_selectedTextStyle_value = value_selectedTextStyle.value; valueSerializer.writePickerTextStyle(value_selectedTextStyle_value); } + const auto value_disableTextStyleAnimation = value.disableTextStyleAnimation; + Ark_Int32 value_disableTextStyleAnimation_type = INTEROP_RUNTIME_UNDEFINED; + value_disableTextStyleAnimation_type = runtimeType(value_disableTextStyleAnimation); + valueSerializer.writeInt8(value_disableTextStyleAnimation_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disableTextStyleAnimation_type)) { + const auto value_disableTextStyleAnimation_value = value_disableTextStyleAnimation.value; + valueSerializer.writeBoolean(value_disableTextStyleAnimation_value); + } + const auto value_defaultTextStyle = value.defaultTextStyle; + Ark_Int32 value_defaultTextStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_defaultTextStyle_type = runtimeType(value_defaultTextStyle); + valueSerializer.writeInt8(value_defaultTextStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_defaultTextStyle_type)) { + const auto value_defaultTextStyle_value = value_defaultTextStyle.value; + valueSerializer.writeTextPickerTextStyle(value_defaultTextStyle_value); + } const auto value_onAccept = value.onAccept; Ark_Int32 value_onAccept_type = INTEROP_RUNTIME_UNDEFINED; value_onAccept_type = runtimeType(value_onAccept); @@ -86513,6 +91077,26 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_onChange_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onChange_value.callSync)); } + const auto value_onScrollStop = value.onScrollStop; + Ark_Int32 value_onScrollStop_type = INTEROP_RUNTIME_UNDEFINED; + value_onScrollStop_type = runtimeType(value_onScrollStop); + valueSerializer.writeInt8(value_onScrollStop_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onScrollStop_type)) { + const auto value_onScrollStop_value = value_onScrollStop.value; + valueSerializer.writeCallbackResource(value_onScrollStop_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onScrollStop_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onScrollStop_value.callSync)); + } + const auto value_onEnterSelectedArea = value.onEnterSelectedArea; + Ark_Int32 value_onEnterSelectedArea_type = INTEROP_RUNTIME_UNDEFINED; + value_onEnterSelectedArea_type = runtimeType(value_onEnterSelectedArea); + valueSerializer.writeInt8(value_onEnterSelectedArea_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onEnterSelectedArea_type)) { + const auto value_onEnterSelectedArea_value = value_onEnterSelectedArea.value; + valueSerializer.writeCallbackResource(value_onEnterSelectedArea_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onEnterSelectedArea_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onEnterSelectedArea_value.callSync)); + } const auto value_maskRect = value.maskRect; Ark_Int32 value_maskRect_type = INTEROP_RUNTIME_UNDEFINED; value_maskRect_type = runtimeType(value_maskRect); @@ -86535,42 +91119,7 @@ class Serializer : public SerializerBase { valueSerializer.writeInt8(value_offset_type); if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { const auto value_offset_value = value_offset.value; - const auto value_offset_value_dx = value_offset_value.dx; - Ark_Int32 value_offset_value_dx_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dx_type = value_offset_value_dx.selector; - if (value_offset_value_dx_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dx_0 = value_offset_value_dx.value0; - valueSerializer.writeString(value_offset_value_dx_0); - } - else if (value_offset_value_dx_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dx_1 = value_offset_value_dx.value1; - valueSerializer.writeNumber(value_offset_value_dx_1); - } - else if (value_offset_value_dx_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dx_2 = value_offset_value_dx.value2; - valueSerializer.writeResource(value_offset_value_dx_2); - } - const auto value_offset_value_dy = value_offset_value.dy; - Ark_Int32 value_offset_value_dy_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dy_type = value_offset_value_dy.selector; - if (value_offset_value_dy_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dy_0 = value_offset_value_dy.value0; - valueSerializer.writeString(value_offset_value_dy_0); - } - else if (value_offset_value_dy_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dy_1 = value_offset_value_dy.value1; - valueSerializer.writeNumber(value_offset_value_dy_1); - } - else if (value_offset_value_dy_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dy_2 = value_offset_value_dy.value2; - valueSerializer.writeResource(value_offset_value_dy_2); - } + valueSerializer.writeOffset(value_offset_value); } const auto value_backgroundColor = value.backgroundColor; Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; @@ -86609,6 +91158,22 @@ class Serializer : public SerializerBase { const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } const auto value_onDidAppear = value.onDidAppear; Ark_Int32 value_onDidAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onDidAppear_type = runtimeType(value_onDidAppear); @@ -86684,6 +91249,14 @@ class Serializer : public SerializerBase { const auto value_hoverModeArea_value = value_hoverModeArea.value; valueSerializer.writeInt32(static_cast(value_hoverModeArea_value)); } + const auto value_enableHapticFeedback = value.enableHapticFeedback; + Ark_Int32 value_enableHapticFeedback_type = INTEROP_RUNTIME_UNDEFINED; + value_enableHapticFeedback_type = runtimeType(value_enableHapticFeedback); + valueSerializer.writeInt8(value_enableHapticFeedback_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableHapticFeedback_type)) { + const auto value_enableHapticFeedback_value = value_enableHapticFeedback.value; + valueSerializer.writeBoolean(value_enableHapticFeedback_value); + } } void writeTimePickerDialogOptions(Ark_TimePickerDialogOptions value) { @@ -86704,6 +91277,22 @@ class Serializer : public SerializerBase { const auto value_format_value = value_format.value; valueSerializer.writeInt32(static_cast(value_format_value)); } + const auto value_start = value.start; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; + value_start_type = runtimeType(value_start); + valueSerializer.writeInt8(value_start_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { + const auto value_start_value = value_start.value; + valueSerializer.writeInt64(value_start_value); + } + const auto value_end = value.end; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; + value_end_type = runtimeType(value_end); + valueSerializer.writeInt8(value_end_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { + const auto value_end_value = value_end.value; + valueSerializer.writeInt64(value_end_value); + } const auto value_useMilitaryTime = value.useMilitaryTime; Ark_Int32 value_useMilitaryTime_type = INTEROP_RUNTIME_UNDEFINED; value_useMilitaryTime_type = runtimeType(value_useMilitaryTime); @@ -86774,42 +91363,7 @@ class Serializer : public SerializerBase { valueSerializer.writeInt8(value_offset_type); if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { const auto value_offset_value = value_offset.value; - const auto value_offset_value_dx = value_offset_value.dx; - Ark_Int32 value_offset_value_dx_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dx_type = value_offset_value_dx.selector; - if (value_offset_value_dx_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dx_0 = value_offset_value_dx.value0; - valueSerializer.writeString(value_offset_value_dx_0); - } - else if (value_offset_value_dx_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dx_1 = value_offset_value_dx.value1; - valueSerializer.writeNumber(value_offset_value_dx_1); - } - else if (value_offset_value_dx_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dx_2 = value_offset_value_dx.value2; - valueSerializer.writeResource(value_offset_value_dx_2); - } - const auto value_offset_value_dy = value_offset_value.dy; - Ark_Int32 value_offset_value_dy_type = INTEROP_RUNTIME_UNDEFINED; - value_offset_value_dy_type = value_offset_value_dy.selector; - if (value_offset_value_dy_type == 0) { - valueSerializer.writeInt8(0); - const auto value_offset_value_dy_0 = value_offset_value_dy.value0; - valueSerializer.writeString(value_offset_value_dy_0); - } - else if (value_offset_value_dy_type == 1) { - valueSerializer.writeInt8(1); - const auto value_offset_value_dy_1 = value_offset_value_dy.value1; - valueSerializer.writeNumber(value_offset_value_dy_1); - } - else if (value_offset_value_dy_type == 2) { - valueSerializer.writeInt8(2); - const auto value_offset_value_dy_2 = value_offset_value_dy.value2; - valueSerializer.writeResource(value_offset_value_dy_2); - } + valueSerializer.writeOffset(value_offset_value); } const auto value_onAccept = value.onAccept; Ark_Int32 value_onAccept_type = INTEROP_RUNTIME_UNDEFINED; @@ -86841,6 +91395,16 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_onChange_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onChange_value.callSync)); } + const auto value_onEnterSelectedArea = value.onEnterSelectedArea; + Ark_Int32 value_onEnterSelectedArea_type = INTEROP_RUNTIME_UNDEFINED; + value_onEnterSelectedArea_type = runtimeType(value_onEnterSelectedArea); + valueSerializer.writeInt8(value_onEnterSelectedArea_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onEnterSelectedArea_type)) { + const auto value_onEnterSelectedArea_value = value_onEnterSelectedArea.value; + valueSerializer.writeCallbackResource(value_onEnterSelectedArea_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onEnterSelectedArea_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onEnterSelectedArea_value.callSync)); + } const auto value_backgroundColor = value.backgroundColor; Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); @@ -86878,6 +91442,30 @@ class Serializer : public SerializerBase { const auto value_backgroundBlurStyle_value = value_backgroundBlurStyle.value; valueSerializer.writeInt32(static_cast(value_backgroundBlurStyle_value)); } + const auto value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions; + Ark_Int32 value_backgroundBlurStyleOptions_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions); + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const auto value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions.value; + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value); + } + const auto value_backgroundEffect = value.backgroundEffect; + Ark_Int32 value_backgroundEffect_type = INTEROP_RUNTIME_UNDEFINED; + value_backgroundEffect_type = runtimeType(value_backgroundEffect); + valueSerializer.writeInt8(value_backgroundEffect_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundEffect_type)) { + const auto value_backgroundEffect_value = value_backgroundEffect.value; + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value); + } + const auto value_enableCascade = value.enableCascade; + Ark_Int32 value_enableCascade_type = INTEROP_RUNTIME_UNDEFINED; + value_enableCascade_type = runtimeType(value_enableCascade); + valueSerializer.writeInt8(value_enableCascade_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableCascade_type)) { + const auto value_enableCascade_value = value_enableCascade.value; + valueSerializer.writeBoolean(value_enableCascade_value); + } const auto value_onDidAppear = value.onDidAppear; Ark_Int32 value_onDidAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onDidAppear_type = runtimeType(value_onDidAppear); @@ -86961,25 +91549,13 @@ class Serializer : public SerializerBase { const auto value_hoverModeArea_value = value_hoverModeArea.value; valueSerializer.writeInt32(static_cast(value_hoverModeArea_value)); } - } - void writeWithThemeOptions(Ark_WithThemeOptions value) - { - Serializer& valueSerializer = *this; - const auto value_theme = value.theme; - Ark_Int32 value_theme_type = INTEROP_RUNTIME_UNDEFINED; - value_theme_type = runtimeType(value_theme); - valueSerializer.writeInt8(value_theme_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_theme_type)) { - const auto value_theme_value = value_theme.value; - valueSerializer.writeCustomTheme(value_theme_value); - } - const auto value_colorMode = value.colorMode; - Ark_Int32 value_colorMode_type = INTEROP_RUNTIME_UNDEFINED; - value_colorMode_type = runtimeType(value_colorMode); - valueSerializer.writeInt8(value_colorMode_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_colorMode_type)) { - const auto value_colorMode_value = value_colorMode.value; - valueSerializer.writeInt32(static_cast(value_colorMode_value)); + const auto value_enableHapticFeedback = value.enableHapticFeedback; + Ark_Int32 value_enableHapticFeedback_type = INTEROP_RUNTIME_UNDEFINED; + value_enableHapticFeedback_type = runtimeType(value_enableHapticFeedback); + valueSerializer.writeInt8(value_enableHapticFeedback_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableHapticFeedback_type)) { + const auto value_enableHapticFeedback_value = value_enableHapticFeedback.value; + valueSerializer.writeBoolean(value_enableHapticFeedback_value); } } void writeRichEditorImageSpanOptions(Ark_RichEditorImageSpanOptions value) @@ -87009,6 +91585,16 @@ class Serializer : public SerializerBase { const auto value_gesture_value = value_gesture.value; valueSerializer.writeRichEditorGesture(value_gesture_value); } + const auto value_onHover = value.onHover; + Ark_Int32 value_onHover_type = INTEROP_RUNTIME_UNDEFINED; + value_onHover_type = runtimeType(value_onHover); + valueSerializer.writeInt8(value_onHover_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onHover_type)) { + const auto value_onHover_value = value_onHover.value; + valueSerializer.writeCallbackResource(value_onHover_value.resource); + valueSerializer.writePointer(reinterpret_cast(value_onHover_value.call)); + valueSerializer.writePointer(reinterpret_cast(value_onHover_value.callSync)); + } } void writeRichEditorImageSpanResult(Ark_RichEditorImageSpanResult value) { @@ -87050,17 +91636,6 @@ class Serializer : public SerializerBase { const auto value_offsetInSpan_1 = value_offsetInSpan.value1; valueSerializer.writeNumber(value_offsetInSpan_1); } - void writeRichEditorParagraphResult(Ark_RichEditorParagraphResult value) - { - Serializer& valueSerializer = *this; - const auto value_style = value.style; - valueSerializer.writeRichEditorParagraphStyle(value_style); - const auto value_range = value.range; - const auto value_range_0 = value_range.value0; - valueSerializer.writeNumber(value_range_0); - const auto value_range_1 = value_range.value1; - valueSerializer.writeNumber(value_range_1); - } void writeRichEditorTextSpanOptions(Ark_RichEditorTextSpanOptions value) { Serializer& valueSerializer = *this; @@ -87096,6 +91671,14 @@ class Serializer : public SerializerBase { const auto value_gesture_value = value_gesture.value; valueSerializer.writeRichEditorGesture(value_gesture_value); } + const auto value_urlStyle = value.urlStyle; + Ark_Int32 value_urlStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_urlStyle_type = runtimeType(value_urlStyle); + valueSerializer.writeInt8(value_urlStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_urlStyle_type)) { + const auto value_urlStyle_value = value_urlStyle.value; + valueSerializer.writeRichEditorUrlStyle(value_urlStyle_value); + } } void writeRichEditorTextSpanResult(Ark_RichEditorTextSpanResult value) { @@ -87143,6 +91726,14 @@ class Serializer : public SerializerBase { const auto value_previewText_value = value_previewText.value; valueSerializer.writeString(value_previewText_value); } + const auto value_urlStyle = value.urlStyle; + Ark_Int32 value_urlStyle_type = INTEROP_RUNTIME_UNDEFINED; + value_urlStyle_type = runtimeType(value_urlStyle); + valueSerializer.writeInt8(value_urlStyle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_urlStyle_type)) { + const auto value_urlStyle_value = value_urlStyle.value; + valueSerializer.writeRichEditorUrlStyle(value_urlStyle_value); + } } void writeSpanStyle(Ark_SpanStyle value) { @@ -87231,2403 +91822,3894 @@ class Deserializer : public DeserializerBase { public: Deserializer(KSerializerBuffer data, Ark_Int32 length) : DeserializerBase(data, length) { } - Ark_AlphabetIndexerAttribute readAlphabetIndexerAttribute() + Ark_AlphabetIndexerAttribute readAlphabetIndexerAttribute() + { + Ark_AlphabetIndexerAttribute value = {}; + return value; + } + Ark_AnimatedDrawableDescriptor readAnimatedDrawableDescriptor() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_BaseShape readBaseShape() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_CalendarController readCalendarController() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_CalendarPickerAttribute readCalendarPickerAttribute() + { + Ark_CalendarPickerAttribute value = {}; + return value; + } + Ark_CanvasGradient readCanvasGradient() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_CanvasPath readCanvasPath() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_CanvasPattern readCanvasPattern() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_CircleShape readCircleShape() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_ClientAuthenticationHandler readClientAuthenticationHandler() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_ColorContent readColorContent() + { + Ark_ColorContent value = {}; + return value; + } + Ark_ColorFilter readColorFilter() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_CommonShape readCommonShape() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_Component3DAttribute readComponent3DAttribute() + { + Ark_Component3DAttribute value = {}; + return value; + } + Ark_ComponentContent readComponentContent() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_ConsoleMessage readConsoleMessage() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_ControllerHandler readControllerHandler() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_CustomDialogController readCustomDialogController() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_DataResubmissionHandler readDataResubmissionHandler() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_DragEvent readDragEvent() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_DrawableDescriptor readDrawableDescriptor() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_DrawingCanvas readDrawingCanvas() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_DrawingColorFilter readDrawingColorFilter() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_DrawingLattice readDrawingLattice() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_DrawModifier readDrawModifier() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_EllipseShape readEllipseShape() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_EventResult readEventResult() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_EventTargetInfo readEventTargetInfo() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_FileSelectorParam readFileSelectorParam() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_FileSelectorResult readFileSelectorResult() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_Filter readFilter() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_FrameNode readFrameNode() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_FrictionMotion readFrictionMotion() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_FullScreenExitHandler readFullScreenExitHandler() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_FullscreenInfo readFullscreenInfo() + { + Ark_FullscreenInfo value = {}; + Deserializer& valueDeserializer = *this; + value.fullscreen = valueDeserializer.readBoolean(); + return value; + } + Ark_GestureGroupInterface readGestureGroupInterface() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_GestureModifier readGestureModifier() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_GestureRecognizer readGestureRecognizer() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_GestureStyle readGestureStyle() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_GridAttribute readGridAttribute() + { + Ark_GridAttribute value = {}; + return value; + } + Ark_HttpAuthHandler readHttpAuthHandler() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_ICurve readICurve() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_ImageAnalyzerController readImageAnalyzerController() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_ImageModifier readImageModifier() + { + Ark_ImageModifier value = {}; + return value; + } + Ark_IndicatorComponentController readIndicatorComponentController() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_JsGeolocation readJsGeolocation() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_JsResult readJsResult() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_LayeredDrawableDescriptor readLayeredDrawableDescriptor() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_LayoutManager readLayoutManager() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_LayoutPolicy readLayoutPolicy() + { + Ark_LayoutPolicy value = {}; + return value; + } + Ark_LinearGradient readLinearGradient() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_LinearIndicatorController readLinearIndicatorController() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_ListAttribute readListAttribute() { - Ark_AlphabetIndexerAttribute value = {}; + Ark_ListAttribute value = {}; return value; } - Ark_AnimatedDrawableDescriptor readAnimatedDrawableDescriptor() + Ark_ListScroller readListScroller() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_BaseShape readBaseShape() + Ark_LongPressGestureInterface readLongPressGestureInterface() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_CalendarController readCalendarController() + Ark_LongPressRecognizer readLongPressRecognizer() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_CalendarPickerAttribute readCalendarPickerAttribute() + Ark_Matrix4Transit readMatrix4Transit() { - Ark_CalendarPickerAttribute value = {}; + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_NativeMediaPlayerConfig readNativeMediaPlayerConfig() + { + Ark_NativeMediaPlayerConfig value = {}; + Deserializer& valueDeserializer = *this; + value.enable = valueDeserializer.readBoolean(); + value.shouldOverlay = valueDeserializer.readBoolean(); return value; } - Ark_CanvasGradient readCanvasGradient() + Ark_NavDestinationAttribute readNavDestinationAttribute() + { + Ark_NavDestinationAttribute value = {}; + return value; + } + Ark_NavigationAttribute readNavigationAttribute() + { + Ark_NavigationAttribute value = {}; + return value; + } + Ark_NavPathStack readNavPathStack() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_CanvasPath readCanvasPath() + Ark_NestedScrollOptions readNestedScrollOptions() + { + Ark_NestedScrollOptions value = {}; + Deserializer& valueDeserializer = *this; + value.scrollForward = static_cast(valueDeserializer.readInt32()); + value.scrollBackward = static_cast(valueDeserializer.readInt32()); + return value; + } + Ark_NodeController readNodeController() + { + Ark_NodeController value = {}; + return value; + } + Ark_OffscreenCanvas readOffscreenCanvas() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_CanvasPattern readCanvasPattern() + Ark_Offset_componentutils readOffset_componentutils() + { + Ark_Offset_componentutils value = {}; + Deserializer& valueDeserializer = *this; + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_OffsetResult readOffsetResult() + { + Ark_OffsetResult value = {}; + Deserializer& valueDeserializer = *this; + value.xOffset = static_cast(valueDeserializer.readNumber()); + value.yOffset = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_OnAudioStateChangedEvent readOnAudioStateChangedEvent() + { + Ark_OnAudioStateChangedEvent value = {}; + Deserializer& valueDeserializer = *this; + value.playing = valueDeserializer.readBoolean(); + return value; + } + Ark_OnConsoleEvent readOnConsoleEvent() + { + Ark_OnConsoleEvent value = {}; + Deserializer& valueDeserializer = *this; + value.message = static_cast(valueDeserializer.readConsoleMessage()); + return value; + } + Ark_OnDataResubmittedEvent readOnDataResubmittedEvent() + { + Ark_OnDataResubmittedEvent value = {}; + Deserializer& valueDeserializer = *this; + value.handler = static_cast(valueDeserializer.readDataResubmissionHandler()); + return value; + } + Ark_OnFirstContentfulPaintEvent readOnFirstContentfulPaintEvent() + { + Ark_OnFirstContentfulPaintEvent value = {}; + Deserializer& valueDeserializer = *this; + value.navigationStartTick = static_cast(valueDeserializer.readNumber()); + value.firstContentfulPaintMs = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_OnFoldStatusChangeInfo readOnFoldStatusChangeInfo() + { + Ark_OnFoldStatusChangeInfo value = {}; + Deserializer& valueDeserializer = *this; + value.foldStatus = static_cast(valueDeserializer.readInt32()); + return value; + } + Ark_OnOverScrollEvent readOnOverScrollEvent() + { + Ark_OnOverScrollEvent value = {}; + Deserializer& valueDeserializer = *this; + value.xOffset = static_cast(valueDeserializer.readNumber()); + value.yOffset = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_OnProgressChangeEvent readOnProgressChangeEvent() + { + Ark_OnProgressChangeEvent value = {}; + Deserializer& valueDeserializer = *this; + value.newProgress = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_OnScaleChangeEvent readOnScaleChangeEvent() + { + Ark_OnScaleChangeEvent value = {}; + Deserializer& valueDeserializer = *this; + value.oldScale = static_cast(valueDeserializer.readNumber()); + value.newScale = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_OnScrollEvent readOnScrollEvent() + { + Ark_OnScrollEvent value = {}; + Deserializer& valueDeserializer = *this; + value.xOffset = static_cast(valueDeserializer.readNumber()); + value.yOffset = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_OnScrollFrameBeginHandlerResult readOnScrollFrameBeginHandlerResult() + { + Ark_OnScrollFrameBeginHandlerResult value = {}; + Deserializer& valueDeserializer = *this; + value.offsetRemain = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_OnSearchResultReceiveEvent readOnSearchResultReceiveEvent() + { + Ark_OnSearchResultReceiveEvent value = {}; + Deserializer& valueDeserializer = *this; + value.activeMatchOrdinal = static_cast(valueDeserializer.readNumber()); + value.numberOfMatches = static_cast(valueDeserializer.readNumber()); + value.isDoneCounting = valueDeserializer.readBoolean(); + return value; + } + Ark_OnShowFileSelectorEvent readOnShowFileSelectorEvent() + { + Ark_OnShowFileSelectorEvent value = {}; + Deserializer& valueDeserializer = *this; + value.result = static_cast(valueDeserializer.readFileSelectorResult()); + value.fileSelector = static_cast(valueDeserializer.readFileSelectorParam()); + return value; + } + Ark_PanGestureInterface readPanGestureInterface() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_CircleShape readCircleShape() + Ark_PanGestureOptions readPanGestureOptions() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_ClientAuthenticationHandler readClientAuthenticationHandler() + Ark_PanRecognizer readPanRecognizer() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_ColorFilter readColorFilter() + Ark_Path2D readPath2D() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_CommonShape readCommonShape() + Ark_PathShape readPathShape() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_Component3DAttribute readComponent3DAttribute() + Ark_PatternLockController readPatternLockController() { - Ark_Component3DAttribute value = {}; - return value; + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_ComponentContent readComponentContent() + Ark_PermissionRequest readPermissionRequest() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_ConsoleMessage readConsoleMessage() + Ark_PinchGestureInterface readPinchGestureInterface() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_ControllerHandler readControllerHandler() + Ark_PinchRecognizer readPinchRecognizer() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_CustomDialogController readCustomDialogController() + Ark_PixelMap readPixelMap() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_DataResubmissionHandler readDataResubmissionHandler() + Ark_PixelMapDrawableDescriptor readPixelMapDrawableDescriptor() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_DragEvent readDragEvent() + Ark_PixelMapMock readPixelMapMock() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_DrawableDescriptor readDrawableDescriptor() + Ark_PlaybackInfo readPlaybackInfo() + { + Ark_PlaybackInfo value = {}; + Deserializer& valueDeserializer = *this; + value.time = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_PopupStateChangeParam readPopupStateChangeParam() + { + Ark_PopupStateChangeParam value = {}; + Deserializer& valueDeserializer = *this; + value.isVisible = valueDeserializer.readBoolean(); + return value; + } + Ark_PositionWithAffinity readPositionWithAffinity() + { + Ark_PositionWithAffinity value = {}; + Deserializer& valueDeserializer = *this; + value.position = static_cast(valueDeserializer.readNumber()); + value.affinity = static_cast(valueDeserializer.readInt32()); + return value; + } + Ark_PreparedInfo readPreparedInfo() + { + Ark_PreparedInfo value = {}; + Deserializer& valueDeserializer = *this; + value.duration = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_ProgressMask readProgressMask() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_DrawingCanvas readDrawingCanvas() + Ark_PulseSymbolEffect readPulseSymbolEffect() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_DrawingColorFilter readDrawingColorFilter() + Ark_Rect readRect() + { + Ark_Rect value = {}; + Deserializer& valueDeserializer = *this; + value.left = static_cast(valueDeserializer.readNumber()); + value.top = static_cast(valueDeserializer.readNumber()); + value.right = static_cast(valueDeserializer.readNumber()); + value.bottom = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_RectResult readRectResult() + { + Ark_RectResult value = {}; + Deserializer& valueDeserializer = *this; + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); + value.width = static_cast(valueDeserializer.readNumber()); + value.height = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_RectShape readRectShape() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_DrawingLattice readDrawingLattice() + Ark_RichEditorAttribute readRichEditorAttribute() + { + Ark_RichEditorAttribute value = {}; + return value; + } + Ark_RichEditorBaseController readRichEditorBaseController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_DrawModifier readDrawModifier() + Ark_RichEditorController readRichEditorController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_EdgeEffectOptions readEdgeEffectOptions() + Ark_RichEditorOptions readRichEditorOptions() { - Ark_EdgeEffectOptions value = {}; + Ark_RichEditorOptions value = {}; Deserializer& valueDeserializer = *this; - value.alwaysEnabled = valueDeserializer.readBoolean(); + value.controller = static_cast(valueDeserializer.readRichEditorController()); return value; } - Ark_EllipseShape readEllipseShape() + Ark_RichEditorStyledStringController readRichEditorStyledStringController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_EventResult readEventResult() + Ark_RichEditorStyledStringOptions readRichEditorStyledStringOptions() { + Ark_RichEditorStyledStringOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.controller = static_cast(valueDeserializer.readRichEditorStyledStringController()); + return value; } - Ark_EventTargetInfo readEventTargetInfo() + Ark_RootSceneSession readRootSceneSession() + { + Ark_RootSceneSession value = {}; + return value; + } + Ark_RotateResult readRotateResult() { + Ark_RotateResult value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); + value.z = static_cast(valueDeserializer.readNumber()); + value.centerX = static_cast(valueDeserializer.readNumber()); + value.centerY = static_cast(valueDeserializer.readNumber()); + value.angle = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_FileSelectorParam readFileSelectorParam() + Ark_RotationGestureInterface readRotationGestureInterface() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_FileSelectorResult readFileSelectorResult() + Ark_RotationRecognizer readRotationRecognizer() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_Filter readFilter() + Ark_RRect readRRect() + { + Ark_RRect value = {}; + Deserializer& valueDeserializer = *this; + value.left = static_cast(valueDeserializer.readNumber()); + value.top = static_cast(valueDeserializer.readNumber()); + value.width = static_cast(valueDeserializer.readNumber()); + value.height = static_cast(valueDeserializer.readNumber()); + value.radius = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_ScaleResult readScaleResult() + { + Ark_ScaleResult value = {}; + Deserializer& valueDeserializer = *this; + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); + value.z = static_cast(valueDeserializer.readNumber()); + value.centerX = static_cast(valueDeserializer.readNumber()); + value.centerY = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_Scene readScene() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_FrameNode readFrameNode() + Ark_ScreenCaptureHandler readScreenCaptureHandler() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_FrictionMotion readFrictionMotion() + Ark_ScrollableTargetInfo readScrollableTargetInfo() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_FullScreenExitHandler readFullScreenExitHandler() + Ark_ScrollAttribute readScrollAttribute() + { + Ark_ScrollAttribute value = {}; + return value; + } + Ark_Scroller readScroller() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_FullscreenInfo readFullscreenInfo() + Ark_ScrollMotion readScrollMotion() { - Ark_FullscreenInfo value = {}; Deserializer& valueDeserializer = *this; - value.fullscreen = valueDeserializer.readBoolean(); + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_SearchAttribute readSearchAttribute() + { + Ark_SearchAttribute value = {}; return value; } - Ark_GestureGroupInterface readGestureGroupInterface() + Ark_SearchController readSearchController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_GestureModifier readGestureModifier() + Ark_SelectAttribute readSelectAttribute() + { + Ark_SelectAttribute value = {}; + return value; + } + Ark_ShapeAttribute readShapeAttribute() + { + Ark_ShapeAttribute value = {}; + return value; + } + Ark_ShapeClip readShapeClip() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_GestureRecognizer readGestureRecognizer() + Ark_ShapeMask readShapeMask() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_GestureStyle readGestureStyle() + Ark_Size readSize() { + Ark_Size value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.width = static_cast(valueDeserializer.readNumber()); + value.height = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_GridAttribute readGridAttribute() + Ark_SliderAttribute readSliderAttribute() { - Ark_GridAttribute value = {}; + Ark_SliderAttribute value = {}; return value; } - Ark_HttpAuthHandler readHttpAuthHandler() + Ark_SpringMotion readSpringMotion() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_ICurve readICurve() + Ark_SpringProp readSpringProp() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_ImageAnalyzerController readImageAnalyzerController() + Ark_SslErrorHandler readSslErrorHandler() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_ImageModifier readImageModifier() + Ark_StyledString readStyledString() { - Ark_ImageModifier value = {}; - return value; + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_IndicatorComponentController readIndicatorComponentController() + Ark_StyledStringController readStyledStringController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_JsGeolocation readJsGeolocation() + Ark_SubmitEvent readSubmitEvent() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_JsResult readJsResult() + Ark_SwipeGestureInterface readSwipeGestureInterface() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_LayeredDrawableDescriptor readLayeredDrawableDescriptor() + Ark_SwiperAnimationEvent readSwiperAnimationEvent() + { + Ark_SwiperAnimationEvent value = {}; + Deserializer& valueDeserializer = *this; + value.currentOffset = static_cast(valueDeserializer.readNumber()); + value.targetOffset = static_cast(valueDeserializer.readNumber()); + value.velocity = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_SwiperAttribute readSwiperAttribute() + { + Ark_SwiperAttribute value = {}; + return value; + } + Ark_SwiperContentTransitionProxy readSwiperContentTransitionProxy() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_LayoutManager readLayoutManager() + Ark_SwiperContentWillScrollResult readSwiperContentWillScrollResult() + { + Ark_SwiperContentWillScrollResult value = {}; + Deserializer& valueDeserializer = *this; + value.currentIndex = static_cast(valueDeserializer.readNumber()); + value.comingIndex = static_cast(valueDeserializer.readNumber()); + value.offset = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_SwiperController readSwiperController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_LinearGradient readLinearGradient() + Ark_SwipeRecognizer readSwipeRecognizer() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_LinearIndicatorController readLinearIndicatorController() + Ark_SymbolEffect readSymbolEffect() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_ListAttribute readListAttribute() + Ark_SymbolGlyphAttribute readSymbolGlyphAttribute() { - Ark_ListAttribute value = {}; + Ark_SymbolGlyphAttribute value = {}; return value; } - Ark_ListScroller readListScroller() + Ark_SymbolGlyphModifier readSymbolGlyphModifier() + { + Ark_SymbolGlyphModifier value = {}; + return value; + } + Ark_TabContentTransitionProxy readTabContentTransitionProxy() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_LongPressGestureInterface readLongPressGestureInterface() + Ark_TabsAnimationEvent readTabsAnimationEvent() + { + Ark_TabsAnimationEvent value = {}; + Deserializer& valueDeserializer = *this; + value.currentOffset = static_cast(valueDeserializer.readNumber()); + value.targetOffset = static_cast(valueDeserializer.readNumber()); + value.velocity = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_TabsAttribute readTabsAttribute() + { + Ark_TabsAttribute value = {}; + return value; + } + Ark_TabsController readTabsController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_Matrix4Transit readMatrix4Transit() + Ark_TapGestureInterface readTapGestureInterface() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_Measurable readMeasurable() + Ark_TapRecognizer readTapRecognizer() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_NativeMediaPlayerConfig readNativeMediaPlayerConfig() + Ark_TextAreaAttribute readTextAreaAttribute() { - Ark_NativeMediaPlayerConfig value = {}; - Deserializer& valueDeserializer = *this; - value.enable = valueDeserializer.readBoolean(); - value.shouldOverlay = valueDeserializer.readBoolean(); + Ark_TextAreaAttribute value = {}; return value; } - Ark_NavDestinationAttribute readNavDestinationAttribute() + Ark_TextAreaController readTextAreaController() { - Ark_NavDestinationAttribute value = {}; - return value; + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_NavigationAttribute readNavigationAttribute() + Ark_TextAttribute readTextAttribute() { - Ark_NavigationAttribute value = {}; + Ark_TextAttribute value = {}; return value; } - Ark_NavPathStack readNavPathStack() + Ark_TextBaseController readTextBaseController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_NestedScrollOptions readNestedScrollOptions() + Ark_TextClockController readTextClockController() { - Ark_NestedScrollOptions value = {}; Deserializer& valueDeserializer = *this; - value.scrollForward = static_cast(valueDeserializer.readInt32()); - value.scrollBackward = static_cast(valueDeserializer.readInt32()); - return value; - } - Ark_NodeController readNodeController() - { - Ark_NodeController value = {}; - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_OffscreenCanvas readOffscreenCanvas() + Ark_TextContentControllerBase readTextContentControllerBase() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_Offset_componentutils readOffset_componentutils() + Ark_TextController readTextController() { - Ark_Offset_componentutils value = {}; Deserializer& valueDeserializer = *this; - value.x = static_cast(valueDeserializer.readNumber()); - value.y = static_cast(valueDeserializer.readNumber()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_OffsetResult readOffsetResult() + Ark_TextEditControllerEx readTextEditControllerEx() { - Ark_OffsetResult value = {}; Deserializer& valueDeserializer = *this; - value.xOffset = static_cast(valueDeserializer.readNumber()); - value.yOffset = static_cast(valueDeserializer.readNumber()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_OnAudioStateChangedEvent readOnAudioStateChangedEvent() + Ark_TextInputAttribute readTextInputAttribute() { - Ark_OnAudioStateChangedEvent value = {}; - Deserializer& valueDeserializer = *this; - value.playing = valueDeserializer.readBoolean(); + Ark_TextInputAttribute value = {}; return value; } - Ark_OnConsoleEvent readOnConsoleEvent() + Ark_TextInputController readTextInputController() { - Ark_OnConsoleEvent value = {}; Deserializer& valueDeserializer = *this; - value.message = static_cast(valueDeserializer.readConsoleMessage()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_OnDataResubmittedEvent readOnDataResubmittedEvent() + Ark_TextMenuItemId readTextMenuItemId() { - Ark_OnDataResubmittedEvent value = {}; Deserializer& valueDeserializer = *this; - value.handler = static_cast(valueDeserializer.readDataResubmissionHandler()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_OnFirstContentfulPaintEvent readOnFirstContentfulPaintEvent() + Ark_TextMetrics readTextMetrics() { - Ark_OnFirstContentfulPaintEvent value = {}; + Ark_TextMetrics value = {}; Deserializer& valueDeserializer = *this; - value.navigationStartTick = static_cast(valueDeserializer.readNumber()); - value.firstContentfulPaintMs = static_cast(valueDeserializer.readNumber()); + value.actualBoundingBoxAscent = static_cast(valueDeserializer.readNumber()); + value.actualBoundingBoxDescent = static_cast(valueDeserializer.readNumber()); + value.actualBoundingBoxLeft = static_cast(valueDeserializer.readNumber()); + value.actualBoundingBoxRight = static_cast(valueDeserializer.readNumber()); + value.alphabeticBaseline = static_cast(valueDeserializer.readNumber()); + value.emHeightAscent = static_cast(valueDeserializer.readNumber()); + value.emHeightDescent = static_cast(valueDeserializer.readNumber()); + value.fontBoundingBoxAscent = static_cast(valueDeserializer.readNumber()); + value.fontBoundingBoxDescent = static_cast(valueDeserializer.readNumber()); + value.hangingBaseline = static_cast(valueDeserializer.readNumber()); + value.ideographicBaseline = static_cast(valueDeserializer.readNumber()); + value.width = static_cast(valueDeserializer.readNumber()); + value.height = static_cast(valueDeserializer.readNumber()); return value; } - Ark_OnFoldStatusChangeInfo readOnFoldStatusChangeInfo() + Ark_TextModifier readTextModifier() { - Ark_OnFoldStatusChangeInfo value = {}; - Deserializer& valueDeserializer = *this; - value.foldStatus = static_cast(valueDeserializer.readInt32()); + Ark_TextModifier value = {}; return value; } - Ark_OnOverScrollEvent readOnOverScrollEvent() + Ark_TextOptions readTextOptions() { - Ark_OnOverScrollEvent value = {}; + Ark_TextOptions value = {}; Deserializer& valueDeserializer = *this; - value.xOffset = static_cast(valueDeserializer.readNumber()); - value.yOffset = static_cast(valueDeserializer.readNumber()); + value.controller = static_cast(valueDeserializer.readTextController()); return value; } - Ark_OnProgressChangeEvent readOnProgressChangeEvent() + Ark_TextOverflowOptions readTextOverflowOptions() { - Ark_OnProgressChangeEvent value = {}; + Ark_TextOverflowOptions value = {}; Deserializer& valueDeserializer = *this; - value.newProgress = static_cast(valueDeserializer.readNumber()); + value.overflow = static_cast(valueDeserializer.readInt32()); return value; } - Ark_OnScaleChangeEvent readOnScaleChangeEvent() + Ark_TextTimerController readTextTimerController() { - Ark_OnScaleChangeEvent value = {}; Deserializer& valueDeserializer = *this; - value.oldScale = static_cast(valueDeserializer.readNumber()); - value.newScale = static_cast(valueDeserializer.readNumber()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_OnScrollEvent readOnScrollEvent() + Ark_TimePickerResult readTimePickerResult() { - Ark_OnScrollEvent value = {}; + Ark_TimePickerResult value = {}; Deserializer& valueDeserializer = *this; - value.xOffset = static_cast(valueDeserializer.readNumber()); - value.yOffset = static_cast(valueDeserializer.readNumber()); + value.hour = static_cast(valueDeserializer.readNumber()); + value.minute = static_cast(valueDeserializer.readNumber()); + value.second = static_cast(valueDeserializer.readNumber()); return value; } - Ark_OnScrollFrameBeginHandlerResult readOnScrollFrameBeginHandlerResult() + Ark_TouchTestInfo readTouchTestInfo() { - Ark_OnScrollFrameBeginHandlerResult value = {}; + Ark_TouchTestInfo value = {}; Deserializer& valueDeserializer = *this; - value.offsetRemain = static_cast(valueDeserializer.readNumber()); + value.windowX = static_cast(valueDeserializer.readNumber()); + value.windowY = static_cast(valueDeserializer.readNumber()); + value.parentX = static_cast(valueDeserializer.readNumber()); + value.parentY = static_cast(valueDeserializer.readNumber()); + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); + value.rect = valueDeserializer.readRectResult(); + value.id = static_cast(valueDeserializer.readString()); return value; } - Ark_OnSearchResultReceiveEvent readOnSearchResultReceiveEvent() + Ark_TransitionEffect readTransitionEffect() { - Ark_OnSearchResultReceiveEvent value = {}; Deserializer& valueDeserializer = *this; - value.activeMatchOrdinal = static_cast(valueDeserializer.readNumber()); - value.numberOfMatches = static_cast(valueDeserializer.readNumber()); - value.isDoneCounting = valueDeserializer.readBoolean(); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_OnShowFileSelectorEvent readOnShowFileSelectorEvent() + Ark_TranslateResult readTranslateResult() { - Ark_OnShowFileSelectorEvent value = {}; + Ark_TranslateResult value = {}; Deserializer& valueDeserializer = *this; - value.result = static_cast(valueDeserializer.readFileSelectorResult()); - value.fileSelector = static_cast(valueDeserializer.readFileSelectorParam()); + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); + value.z = static_cast(valueDeserializer.readNumber()); return value; } - Ark_PanGestureInterface readPanGestureInterface() + Ark_UICommonEvent readUICommonEvent() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_PanGestureOptions readPanGestureOptions() + Ark_UIContext readUIContext() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_PanRecognizer readPanRecognizer() + Ark_UIExtensionProxy readUIExtensionProxy() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_Path2D readPath2D() + Ark_UIGestureEvent readUIGestureEvent() { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + Ark_UIGestureEvent value = {}; + return value; } - Ark_PathShape readPathShape() + Ark_UnifiedData readUnifiedData() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_PatternLockController readPatternLockController() + Ark_UrlStyle readUrlStyle() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_PermissionRequest readPermissionRequest() + Ark_UserDataSpan readUserDataSpan() + { + Ark_UserDataSpan value = {}; + return value; + } + Ark_Vector2 readVector2() { + Ark_Vector2 value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_PinchGestureInterface readPinchGestureInterface() + Ark_Vector3 readVector3() { + Ark_Vector3 value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); + value.z = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_PixelMap readPixelMap() + Ark_VideoController readVideoController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_PixelMapDrawableDescriptor readPixelMapDrawableDescriptor() + Ark_View readView() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_PixelMapMock readPixelMapMock() + Ark_VisualEffect readVisualEffect() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_PlaybackInfo readPlaybackInfo() + Ark_WaterFlowAttribute readWaterFlowAttribute() { - Ark_PlaybackInfo value = {}; - Deserializer& valueDeserializer = *this; - value.time = static_cast(valueDeserializer.readNumber()); + Ark_WaterFlowAttribute value = {}; return value; } - Ark_PositionWithAffinity readPositionWithAffinity() + Ark_WaterFlowSections readWaterFlowSections() { - Ark_PositionWithAffinity value = {}; Deserializer& valueDeserializer = *this; - value.position = static_cast(valueDeserializer.readNumber()); - value.affinity = static_cast(valueDeserializer.readInt32()); + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_WebAttribute readWebAttribute() + { + Ark_WebAttribute value = {}; return value; } - Ark_PreparedInfo readPreparedInfo() + Ark_WebContextMenuParam readWebContextMenuParam() { - Ark_PreparedInfo value = {}; Deserializer& valueDeserializer = *this; - value.duration = static_cast(valueDeserializer.readNumber()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_ProgressMask readProgressMask() + Ark_WebContextMenuResult readWebContextMenuResult() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_PulseSymbolEffect readPulseSymbolEffect() + Ark_WebController readWebController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_Rect readRect() + Ark_WebCookie readWebCookie() { - Ark_Rect value = {}; Deserializer& valueDeserializer = *this; - value.left = static_cast(valueDeserializer.readNumber()); - value.top = static_cast(valueDeserializer.readNumber()); - value.right = static_cast(valueDeserializer.readNumber()); - value.bottom = static_cast(valueDeserializer.readNumber()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_RectResult readRectResult() + Ark_WebHeader readWebHeader() { - Ark_RectResult value = {}; + Ark_WebHeader value = {}; Deserializer& valueDeserializer = *this; - value.x = static_cast(valueDeserializer.readNumber()); - value.y = static_cast(valueDeserializer.readNumber()); - value.width = static_cast(valueDeserializer.readNumber()); - value.height = static_cast(valueDeserializer.readNumber()); + value.headerKey = static_cast(valueDeserializer.readString()); + value.headerValue = static_cast(valueDeserializer.readString()); return value; } - Ark_RectShape readRectShape() + Ark_WebKeyboardController readWebKeyboardController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_RichEditorAttribute readRichEditorAttribute() - { - Ark_RichEditorAttribute value = {}; - return value; + return static_cast(ptr); } - Ark_RichEditorBaseController readRichEditorBaseController() + Ark_WebResourceError readWebResourceError() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_RichEditorController readRichEditorController() + Ark_WebResourceRequest readWebResourceRequest() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_RichEditorOptions readRichEditorOptions() + Ark_WebResourceResponse readWebResourceResponse() { - Ark_RichEditorOptions value = {}; Deserializer& valueDeserializer = *this; - value.controller = static_cast(valueDeserializer.readRichEditorController()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_RichEditorStyledStringController readRichEditorStyledStringController() + Ark_WebviewController readWebviewController() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_RichEditorStyledStringOptions readRichEditorStyledStringOptions() + Ark_WindowAnimationTarget readWindowAnimationTarget() { - Ark_RichEditorStyledStringOptions value = {}; + Ark_WindowAnimationTarget value = {}; Deserializer& valueDeserializer = *this; - value.controller = static_cast(valueDeserializer.readRichEditorStyledStringController()); + value.bundleName = static_cast(valueDeserializer.readString()); + value.abilityName = static_cast(valueDeserializer.readString()); + value.windowBounds = valueDeserializer.readRRect(); + value.missionId = static_cast(valueDeserializer.readNumber()); return value; } - Ark_RootSceneSession readRootSceneSession() + Ark_WindowSceneAttribute readWindowSceneAttribute() { - Ark_RootSceneSession value = {}; + Ark_WindowSceneAttribute value = {}; return value; } - Ark_RotateResult readRotateResult() + Ark_WithThemeAttribute readWithThemeAttribute() { - Ark_RotateResult value = {}; - Deserializer& valueDeserializer = *this; - value.x = static_cast(valueDeserializer.readNumber()); - value.y = static_cast(valueDeserializer.readNumber()); - value.z = static_cast(valueDeserializer.readNumber()); - value.centerX = static_cast(valueDeserializer.readNumber()); - value.centerY = static_cast(valueDeserializer.readNumber()); - value.angle = static_cast(valueDeserializer.readNumber()); + Ark_WithThemeAttribute value = {}; return value; } - Ark_RotationGestureInterface readRotationGestureInterface() + Ark_WorkerEventListener readWorkerEventListener() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_RRect readRRect() + Ark_AccessibilityOptions readAccessibilityOptions() { - Ark_RRect value = {}; + Ark_AccessibilityOptions value = {}; Deserializer& valueDeserializer = *this; - value.left = static_cast(valueDeserializer.readNumber()); - value.top = static_cast(valueDeserializer.readNumber()); - value.width = static_cast(valueDeserializer.readNumber()); - value.height = static_cast(valueDeserializer.readNumber()); - value.radius = static_cast(valueDeserializer.readNumber()); + const auto accessibilityPreferred_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean accessibilityPreferred_buf = {}; + accessibilityPreferred_buf.tag = accessibilityPreferred_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (accessibilityPreferred_buf_runtimeType)) + { + accessibilityPreferred_buf.value = valueDeserializer.readBoolean(); + } + value.accessibilityPreferred = accessibilityPreferred_buf; return value; } - Ark_ScaleResult readScaleResult() + Ark_AdsBlockedDetails readAdsBlockedDetails() { - Ark_ScaleResult value = {}; + Ark_AdsBlockedDetails value = {}; Deserializer& valueDeserializer = *this; - value.x = static_cast(valueDeserializer.readNumber()); - value.y = static_cast(valueDeserializer.readNumber()); - value.z = static_cast(valueDeserializer.readNumber()); - value.centerX = static_cast(valueDeserializer.readNumber()); - value.centerY = static_cast(valueDeserializer.readNumber()); + value.url = static_cast(valueDeserializer.readString()); + const Ark_Int32 adsBlocked_buf_length = valueDeserializer.readInt32(); + Array_String adsBlocked_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&adsBlocked_buf, adsBlocked_buf_length); + for (int adsBlocked_buf_i = 0; adsBlocked_buf_i < adsBlocked_buf_length; adsBlocked_buf_i++) { + adsBlocked_buf.array[adsBlocked_buf_i] = static_cast(valueDeserializer.readString()); + } + value.adsBlocked = adsBlocked_buf; return value; } - Ark_Scene readScene() + Ark_AlphabetIndexerOptions readAlphabetIndexerOptions() { + Ark_AlphabetIndexerOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const Ark_Int32 arrayValue_buf_length = valueDeserializer.readInt32(); + Array_String arrayValue_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&arrayValue_buf, arrayValue_buf_length); + for (int arrayValue_buf_i = 0; arrayValue_buf_i < arrayValue_buf_length; arrayValue_buf_i++) { + arrayValue_buf.array[arrayValue_buf_i] = static_cast(valueDeserializer.readString()); + } + value.arrayValue = arrayValue_buf; + value.selected = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_ScreenCaptureHandler readScreenCaptureHandler() + Ark_AnimationOptions readAnimationOptions() { + Ark_AnimationOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number duration_buf = {}; + duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.duration = duration_buf; + const auto iterations_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number iterations_buf = {}; + iterations_buf.tag = iterations_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iterations_buf_runtimeType)) + { + iterations_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.iterations = iterations_buf; + return value; } - Ark_ScrollableTargetInfo readScrollableTargetInfo() + Ark_AppearSymbolEffect readAppearSymbolEffect() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_ScrollAttribute readScrollAttribute() + Ark_ASTCResource readASTCResource() { - Ark_ScrollAttribute value = {}; + Ark_ASTCResource value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int32 sources_buf_length = valueDeserializer.readInt32(); + Array_String sources_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&sources_buf, sources_buf_length); + for (int sources_buf_i = 0; sources_buf_i < sources_buf_length; sources_buf_i++) { + sources_buf.array[sources_buf_i] = static_cast(valueDeserializer.readString()); + } + value.sources = sources_buf; + value.column = static_cast(valueDeserializer.readNumber()); return value; } - Ark_Scroller readScroller() + Ark_AutoPlayOptions readAutoPlayOptions() { + Ark_AutoPlayOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.stopWhenTouched = valueDeserializer.readBoolean(); + return value; } - Ark_ScrollMotion readScrollMotion() + Ark_BackgroundBrightnessOptions readBackgroundBrightnessOptions() { + Ark_BackgroundBrightnessOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_SearchAttribute readSearchAttribute() - { - Ark_SearchAttribute value = {}; + value.rate = static_cast(valueDeserializer.readNumber()); + value.lightUpDegree = static_cast(valueDeserializer.readNumber()); return value; } - Ark_SearchController readSearchController() + Ark_BackgroundImageOptions readBackgroundImageOptions() { + Ark_BackgroundImageOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_SelectAttribute readSelectAttribute() - { - Ark_SelectAttribute value = {}; + const auto syncLoad_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean syncLoad_buf = {}; + syncLoad_buf.tag = syncLoad_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (syncLoad_buf_runtimeType)) + { + syncLoad_buf.value = valueDeserializer.readBoolean(); + } + value.syncLoad = syncLoad_buf; + const auto repeat_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImageRepeat repeat_buf = {}; + repeat_buf.tag = repeat_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (repeat_buf_runtimeType)) + { + repeat_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.repeat = repeat_buf; return value; } - Ark_ShapeAttribute readShapeAttribute() + Ark_BarrierStyle readBarrierStyle() { - Ark_ShapeAttribute value = {}; + Ark_BarrierStyle value = {}; + Deserializer& valueDeserializer = *this; + value.id = static_cast(valueDeserializer.readString()); + value.direction = static_cast(valueDeserializer.readInt32()); + const Ark_Int32 referencedId_buf_length = valueDeserializer.readInt32(); + Array_String referencedId_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&referencedId_buf, referencedId_buf_length); + for (int referencedId_buf_i = 0; referencedId_buf_i < referencedId_buf_length; referencedId_buf_i++) { + referencedId_buf.array[referencedId_buf_i] = static_cast(valueDeserializer.readString()); + } + value.referencedId = referencedId_buf; return value; } - Ark_ShapeClip readShapeClip() + Ark_BaseContext readBaseContext() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_ShapeMask readShapeMask() + Ark_BaselineOffsetStyle readBaselineOffsetStyle() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_Size readSize() - { - Ark_Size value = {}; - Deserializer& valueDeserializer = *this; - value.width = static_cast(valueDeserializer.readNumber()); - value.height = static_cast(valueDeserializer.readNumber()); - return value; - } - Ark_SliderAttribute readSliderAttribute() - { - Ark_SliderAttribute value = {}; - return value; + return static_cast(ptr); } - Ark_SpringMotion readSpringMotion() + Ark_Bias readBias() { + Ark_Bias value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const auto horizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number horizontal_buf = {}; + horizontal_buf.tag = horizontal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (horizontal_buf_runtimeType)) + { + horizontal_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.horizontal = horizontal_buf; + const auto vertical_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number vertical_buf = {}; + vertical_buf.tag = vertical_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (vertical_buf_runtimeType)) + { + vertical_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.vertical = vertical_buf; + return value; } - Ark_SpringProp readSpringProp() + Ark_BlurOptions readBlurOptions() { + Ark_BlurOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + Ark_Tuple_Number_Number grayscale_buf = {}; + grayscale_buf.value0 = static_cast(valueDeserializer.readNumber()); + grayscale_buf.value1 = static_cast(valueDeserializer.readNumber()); + value.grayscale = grayscale_buf; + return value; } - Ark_SslErrorHandler readSslErrorHandler() + Ark_BorderRadiuses_graphics readBorderRadiuses_graphics() { + Ark_BorderRadiuses_graphics value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.topLeft = static_cast(valueDeserializer.readNumber()); + value.topRight = static_cast(valueDeserializer.readNumber()); + value.bottomLeft = static_cast(valueDeserializer.readNumber()); + value.bottomRight = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_StyledString readStyledString() + Ark_BounceSymbolEffect readBounceSymbolEffect() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_StyledStringController readStyledStringController() + Ark_BreakPoints readBreakPoints() { + Ark_BreakPoints value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_String value_buf = {}; + value_buf.tag = value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + { + const Ark_Int32 value_buf__length = valueDeserializer.readInt32(); + Array_String value_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&value_buf_, value_buf__length); + for (int value_buf__i = 0; value_buf__i < value_buf__length; value_buf__i++) { + value_buf_.array[value_buf__i] = static_cast(valueDeserializer.readString()); + } + value_buf.value = value_buf_; + } + value.value = value_buf; + const auto reference_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BreakpointsReference reference_buf = {}; + reference_buf.tag = reference_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (reference_buf_runtimeType)) + { + reference_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.reference = reference_buf; + return value; } - Ark_SubmitEvent readSubmitEvent() + Ark_BrightnessBlender readBrightnessBlender() { + Ark_BrightnessBlender value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.cubicRate = static_cast(valueDeserializer.readNumber()); + value.quadraticRate = static_cast(valueDeserializer.readNumber()); + value.linearRate = static_cast(valueDeserializer.readNumber()); + value.degree = static_cast(valueDeserializer.readNumber()); + value.saturation = static_cast(valueDeserializer.readNumber()); + Ark_Tuple_Number_Number_Number positiveCoefficient_buf = {}; + positiveCoefficient_buf.value0 = static_cast(valueDeserializer.readNumber()); + positiveCoefficient_buf.value1 = static_cast(valueDeserializer.readNumber()); + positiveCoefficient_buf.value2 = static_cast(valueDeserializer.readNumber()); + value.positiveCoefficient = positiveCoefficient_buf; + Ark_Tuple_Number_Number_Number negativeCoefficient_buf = {}; + negativeCoefficient_buf.value0 = static_cast(valueDeserializer.readNumber()); + negativeCoefficient_buf.value1 = static_cast(valueDeserializer.readNumber()); + negativeCoefficient_buf.value2 = static_cast(valueDeserializer.readNumber()); + value.negativeCoefficient = negativeCoefficient_buf; + value.fraction = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_SwipeGestureInterface readSwipeGestureInterface() + Ark_BusinessError readBusinessError() { + Ark_BusinessError value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.name = static_cast(valueDeserializer.readString()); + value.message = static_cast(valueDeserializer.readString()); + const auto stack_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String stack_buf = {}; + stack_buf.tag = stack_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (stack_buf_runtimeType)) + { + stack_buf.value = static_cast(valueDeserializer.readString()); + } + value.stack = stack_buf; + value.code = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_SwiperAnimationEvent readSwiperAnimationEvent() + Ark_ButtonOptions readButtonOptions() { - Ark_SwiperAnimationEvent value = {}; + Ark_ButtonOptions value = {}; Deserializer& valueDeserializer = *this; - value.currentOffset = static_cast(valueDeserializer.readNumber()); - value.targetOffset = static_cast(valueDeserializer.readNumber()); - value.velocity = static_cast(valueDeserializer.readNumber()); + const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ButtonType type_buf = {}; + type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + { + type_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.type = type_buf; + const auto stateEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean stateEffect_buf = {}; + stateEffect_buf.tag = stateEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (stateEffect_buf_runtimeType)) + { + stateEffect_buf.value = valueDeserializer.readBoolean(); + } + value.stateEffect = stateEffect_buf; + const auto buttonStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ButtonStyleMode buttonStyle_buf = {}; + buttonStyle_buf.tag = buttonStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (buttonStyle_buf_runtimeType)) + { + buttonStyle_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.buttonStyle = buttonStyle_buf; + const auto controlSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ControlSize controlSize_buf = {}; + controlSize_buf.tag = controlSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controlSize_buf_runtimeType)) + { + controlSize_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.controlSize = controlSize_buf; + const auto role_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ButtonRole role_buf = {}; + role_buf.tag = role_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (role_buf_runtimeType)) + { + role_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.role = role_buf; return value; } - Ark_SwiperAttribute readSwiperAttribute() + Ark_CalendarDay readCalendarDay() { - Ark_SwiperAttribute value = {}; + Ark_CalendarDay value = {}; + Deserializer& valueDeserializer = *this; + value.index = static_cast(valueDeserializer.readNumber()); + value.lunarMonth = static_cast(valueDeserializer.readString()); + value.lunarDay = static_cast(valueDeserializer.readString()); + value.dayMark = static_cast(valueDeserializer.readString()); + value.dayMarkValue = static_cast(valueDeserializer.readString()); + value.year = static_cast(valueDeserializer.readNumber()); + value.month = static_cast(valueDeserializer.readNumber()); + value.day = static_cast(valueDeserializer.readNumber()); + value.isFirstOfLunar = valueDeserializer.readBoolean(); + value.hasSchedule = valueDeserializer.readBoolean(); + value.markLunarDay = valueDeserializer.readBoolean(); return value; } - Ark_SwiperContentTransitionProxy readSwiperContentTransitionProxy() + Ark_CalendarRequestedData readCalendarRequestedData() { + Ark_CalendarRequestedData value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.year = static_cast(valueDeserializer.readNumber()); + value.month = static_cast(valueDeserializer.readNumber()); + value.currentYear = static_cast(valueDeserializer.readNumber()); + value.currentMonth = static_cast(valueDeserializer.readNumber()); + value.monthState = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_SwiperController readSwiperController() + Ark_CalendarSelectedDate readCalendarSelectedDate() { + Ark_CalendarSelectedDate value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.year = static_cast(valueDeserializer.readNumber()); + value.month = static_cast(valueDeserializer.readNumber()); + value.day = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_SymbolEffect readSymbolEffect() + Ark_CancelButtonSymbolOptions readCancelButtonSymbolOptions() { + Ark_CancelButtonSymbolOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_SymbolGlyphAttribute readSymbolGlyphAttribute() - { - Ark_SymbolGlyphAttribute value = {}; + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CancelButtonStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + { + style_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.style = style_buf; + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SymbolGlyphModifier icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + { + icon_buf.value = valueDeserializer.readSymbolGlyphModifier(); + } + value.icon = icon_buf; return value; } - Ark_SymbolGlyphModifier readSymbolGlyphModifier() + Ark_CaretOffset readCaretOffset() { - Ark_SymbolGlyphModifier value = {}; + Ark_CaretOffset value = {}; + Deserializer& valueDeserializer = *this; + value.index = static_cast(valueDeserializer.readNumber()); + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); return value; } - Ark_TabContentTransitionProxy readTabContentTransitionProxy() + Ark_ChainWeightOptions readChainWeightOptions() { + Ark_ChainWeightOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const auto horizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number horizontal_buf = {}; + horizontal_buf.tag = horizontal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (horizontal_buf_runtimeType)) + { + horizontal_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.horizontal = horizontal_buf; + const auto vertical_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number vertical_buf = {}; + vertical_buf.tag = vertical_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (vertical_buf_runtimeType)) + { + vertical_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.vertical = vertical_buf; + return value; } - Ark_TabsAnimationEvent readTabsAnimationEvent() + Ark_CheckboxGroupOptions readCheckboxGroupOptions() { - Ark_TabsAnimationEvent value = {}; + Ark_CheckboxGroupOptions value = {}; Deserializer& valueDeserializer = *this; - value.currentOffset = static_cast(valueDeserializer.readNumber()); - value.targetOffset = static_cast(valueDeserializer.readNumber()); - value.velocity = static_cast(valueDeserializer.readNumber()); + const auto group_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String group_buf = {}; + group_buf.tag = group_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (group_buf_runtimeType)) + { + group_buf.value = static_cast(valueDeserializer.readString()); + } + value.group = group_buf; return value; } - Ark_TabsAttribute readTabsAttribute() + Ark_CheckboxGroupResult readCheckboxGroupResult() { - Ark_TabsAttribute value = {}; + Ark_CheckboxGroupResult value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int32 name_buf_length = valueDeserializer.readInt32(); + Array_String name_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&name_buf, name_buf_length); + for (int name_buf_i = 0; name_buf_i < name_buf_length; name_buf_i++) { + name_buf.array[name_buf_i] = static_cast(valueDeserializer.readString()); + } + value.name = name_buf; + value.status = static_cast(valueDeserializer.readInt32()); return value; } - Ark_TabsController readTabsController() + Ark_CheckboxOptions readCheckboxOptions() { + Ark_CheckboxOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const auto name_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String name_buf = {}; + name_buf.tag = name_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (name_buf_runtimeType)) + { + name_buf.value = static_cast(valueDeserializer.readString()); + } + value.name = name_buf; + const auto group_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String group_buf = {}; + group_buf.tag = group_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (group_buf_runtimeType)) + { + group_buf.value = static_cast(valueDeserializer.readString()); + } + value.group = group_buf; + const auto indicatorBuilder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder indicatorBuilder_buf = {}; + indicatorBuilder_buf.tag = indicatorBuilder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (indicatorBuilder_buf_runtimeType)) + { + indicatorBuilder_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + value.indicatorBuilder = indicatorBuilder_buf; + return value; } - Ark_TapGestureInterface readTapGestureInterface() + Ark_ChildrenMainSize readChildrenMainSize() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_TextAreaAttribute readTextAreaAttribute() + Ark_Circle readCircle() { - Ark_TextAreaAttribute value = {}; + Ark_Circle value = {}; + Deserializer& valueDeserializer = *this; + value.centerX = static_cast(valueDeserializer.readNumber()); + value.centerY = static_cast(valueDeserializer.readNumber()); + value.radius = static_cast(valueDeserializer.readNumber()); return value; } - Ark_TextAreaController readTextAreaController() + Ark_CircleOptions readCircleOptions() { + Ark_CircleOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_TextAttribute readTextAttribute() - { - Ark_TextAttribute value = {}; + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + { + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else { + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + } + width_buf.value = static_cast(width_buf_); + } + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + { + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else { + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + } + height_buf.value = static_cast(height_buf_); + } + value.height = height_buf; return value; } - Ark_TextBaseController readTextBaseController() + Ark_ClickEffect readClickEffect() { + Ark_ClickEffect value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.level = static_cast(valueDeserializer.readInt32()); + const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number scale_buf = {}; + scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) + { + scale_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.scale = scale_buf; + return value; } - Ark_TextClockController readTextClockController() + Ark_CloseSwipeActionOptions readCloseSwipeActionOptions() { + Ark_CloseSwipeActionOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const auto onFinish_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onFinish_buf = {}; + onFinish_buf.tag = onFinish_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onFinish_buf_runtimeType)) + { + onFinish_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onFinish = onFinish_buf; + return value; } - Ark_TextContentControllerBase readTextContentControllerBase() + Ark_ColorMetrics readColorMetrics() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_TextController readTextController() + Ark_ColumnOptions readColumnOptions() { + Ark_ColumnOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number space_buf = {}; + space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + { + const Ark_Int8 space_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number space_buf_ = {}; + space_buf_.selector = space_buf__selector; + if (space_buf__selector == 0) { + space_buf_.selector = 0; + space_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (space_buf__selector == 1) { + space_buf_.selector = 1; + space_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else { + INTEROP_FATAL("One of the branches for space_buf_ has to be chosen through deserialisation."); + } + space_buf.value = static_cast(space_buf_); + } + value.space = space_buf; + return value; } - Ark_TextEditControllerEx readTextEditControllerEx() + Ark_ColumnOptionsV2 readColumnOptionsV2() { + Ark_ColumnOptionsV2 value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_TextInputAttribute readTextInputAttribute() - { - Ark_TextInputAttribute value = {}; + value.stub = static_cast(valueDeserializer.readString()); return value; } - Ark_TextInputController readTextInputController() + Ark_CommandPath readCommandPath() { + Ark_CommandPath value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.commands = static_cast(valueDeserializer.readString()); + return value; } - Ark_TextMenuItemId readTextMenuItemId() + Ark_common2D_Color readcommon2D_Color() { + Ark_common2D_Color value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.alpha = static_cast(valueDeserializer.readNumber()); + value.red = static_cast(valueDeserializer.readNumber()); + value.green = static_cast(valueDeserializer.readNumber()); + value.blue = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_TextMetrics readTextMetrics() + Ark_common2D_Point readcommon2D_Point() { - Ark_TextMetrics value = {}; + Ark_common2D_Point value = {}; Deserializer& valueDeserializer = *this; - value.actualBoundingBoxAscent = static_cast(valueDeserializer.readNumber()); - value.actualBoundingBoxDescent = static_cast(valueDeserializer.readNumber()); - value.actualBoundingBoxLeft = static_cast(valueDeserializer.readNumber()); - value.actualBoundingBoxRight = static_cast(valueDeserializer.readNumber()); - value.alphabeticBaseline = static_cast(valueDeserializer.readNumber()); - value.emHeightAscent = static_cast(valueDeserializer.readNumber()); - value.emHeightDescent = static_cast(valueDeserializer.readNumber()); - value.fontBoundingBoxAscent = static_cast(valueDeserializer.readNumber()); - value.fontBoundingBoxDescent = static_cast(valueDeserializer.readNumber()); - value.hangingBaseline = static_cast(valueDeserializer.readNumber()); - value.ideographicBaseline = static_cast(valueDeserializer.readNumber()); - value.width = static_cast(valueDeserializer.readNumber()); - value.height = static_cast(valueDeserializer.readNumber()); + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); return value; } - Ark_TextModifier readTextModifier() + Ark_CommonConfiguration readCommonConfiguration() { - Ark_TextModifier value = {}; + Ark_CommonConfiguration value = {}; + Deserializer& valueDeserializer = *this; + value.enabled = valueDeserializer.readBoolean(); + value.contentModifier = static_cast(valueDeserializer.readObject()); return value; } - Ark_TextOptions readTextOptions() + Ark_CommonModifier readCommonModifier() { - Ark_TextOptions value = {}; + Ark_CommonModifier value = {}; Deserializer& valueDeserializer = *this; - value.controller = static_cast(valueDeserializer.readTextController()); + value._CommonModifierStub = static_cast(valueDeserializer.readString()); return value; } - Ark_TextOverflowOptions readTextOverflowOptions() + Ark_ComputedBarAttribute readComputedBarAttribute() { - Ark_TextOverflowOptions value = {}; + Ark_ComputedBarAttribute value = {}; Deserializer& valueDeserializer = *this; - value.overflow = static_cast(valueDeserializer.readInt32()); + value.totalOffset = static_cast(valueDeserializer.readNumber()); + value.totalLength = static_cast(valueDeserializer.readNumber()); return value; } - Ark_TextTimerController readTextTimerController() + Ark_Context readContext() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_TimePickerResult readTimePickerResult() + Ark_CopyEvent readCopyEvent() { - Ark_TimePickerResult value = {}; + Ark_CopyEvent value = {}; Deserializer& valueDeserializer = *this; - value.hour = static_cast(valueDeserializer.readNumber()); - value.minute = static_cast(valueDeserializer.readNumber()); - value.second = static_cast(valueDeserializer.readNumber()); + const auto preventDefault_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void preventDefault_buf = {}; + preventDefault_buf.tag = preventDefault_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (preventDefault_buf_runtimeType)) + { + preventDefault_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.preventDefault = preventDefault_buf; return value; } - Ark_TouchTestInfo readTouchTestInfo() + Ark_CornerRadius readCornerRadius() { - Ark_TouchTestInfo value = {}; + Ark_CornerRadius value = {}; Deserializer& valueDeserializer = *this; - value.windowX = static_cast(valueDeserializer.readNumber()); - value.windowY = static_cast(valueDeserializer.readNumber()); - value.parentX = static_cast(valueDeserializer.readNumber()); - value.parentY = static_cast(valueDeserializer.readNumber()); - value.x = static_cast(valueDeserializer.readNumber()); - value.y = static_cast(valueDeserializer.readNumber()); - value.rect = valueDeserializer.readRectResult(); - value.id = static_cast(valueDeserializer.readString()); + value.topLeft = valueDeserializer.readVector2(); + value.topRight = valueDeserializer.readVector2(); + value.bottomLeft = valueDeserializer.readVector2(); + value.bottomRight = valueDeserializer.readVector2(); return value; } - Ark_TransitionEffect readTransitionEffect() + Ark_CrownEvent readCrownEvent() { + Ark_CrownEvent value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.timestamp = valueDeserializer.readInt64(); + value.angularVelocity = static_cast(valueDeserializer.readNumber()); + value.degree = static_cast(valueDeserializer.readNumber()); + value.action = static_cast(valueDeserializer.readInt32()); + value.stopPropagation = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + return value; } - Ark_TranslateResult readTranslateResult() + Ark_CustomDialogBuildOptions readCustomDialogBuildOptions() { - Ark_TranslateResult value = {}; + Ark_CustomDialogBuildOptions value = {}; Deserializer& valueDeserializer = *this; - value.x = static_cast(valueDeserializer.readNumber()); - value.y = static_cast(valueDeserializer.readNumber()); - value.z = static_cast(valueDeserializer.readNumber()); + const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomDialogController controller_buf = {}; + controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + { + controller_buf.value = static_cast(valueDeserializer.readCustomDialogController()); + } + value.controller = controller_buf; return value; } - Ark_UICommonEvent readUICommonEvent() + Ark_CustomDialogControllerBuilder readCustomDialogControllerBuilder() { + Ark_CustomDialogControllerBuilder value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.buildOptions = valueDeserializer.readCustomDialogBuildOptions(); + value.build = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + return value; } - Ark_UIContext readUIContext() + Ark_CustomSpan readCustomSpan() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_UIExtensionProxy readUIExtensionProxy() + Ark_CustomSpanDrawInfo readCustomSpanDrawInfo() { + Ark_CustomSpanDrawInfo value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_UIGestureEvent readUIGestureEvent() - { - Ark_UIGestureEvent value = {}; + value.x = static_cast(valueDeserializer.readNumber()); + value.lineTop = static_cast(valueDeserializer.readNumber()); + value.lineBottom = static_cast(valueDeserializer.readNumber()); + value.baseline = static_cast(valueDeserializer.readNumber()); return value; } - Ark_UnifiedData readUnifiedData() + Ark_CustomSpanMeasureInfo readCustomSpanMeasureInfo() { + Ark_CustomSpanMeasureInfo value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.fontSize = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_UrlStyle readUrlStyle() + Ark_CustomSpanMetrics readCustomSpanMetrics() { + Ark_CustomSpanMetrics value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_UserDataSpan readUserDataSpan() - { - Ark_UserDataSpan value = {}; + value.width = static_cast(valueDeserializer.readNumber()); + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + { + height_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.height = height_buf; return value; } - Ark_Vector2 readVector2() + Ark_CutEvent readCutEvent() { - Ark_Vector2 value = {}; + Ark_CutEvent value = {}; Deserializer& valueDeserializer = *this; - value.x = static_cast(valueDeserializer.readNumber()); - value.y = static_cast(valueDeserializer.readNumber()); + const auto preventDefault_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void preventDefault_buf = {}; + preventDefault_buf.tag = preventDefault_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (preventDefault_buf_runtimeType)) + { + preventDefault_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.preventDefault = preventDefault_buf; return value; } - Ark_Vector3 readVector3() + Ark_DataPanelOptions readDataPanelOptions() { - Ark_Vector3 value = {}; + Ark_DataPanelOptions value = {}; Deserializer& valueDeserializer = *this; - value.x = static_cast(valueDeserializer.readNumber()); - value.y = static_cast(valueDeserializer.readNumber()); - value.z = static_cast(valueDeserializer.readNumber()); + const Ark_Int32 values_buf_length = valueDeserializer.readInt32(); + Array_Number values_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&values_buf, values_buf_length); + for (int values_buf_i = 0; values_buf_i < values_buf_length; values_buf_i++) { + values_buf.array[values_buf_i] = static_cast(valueDeserializer.readNumber()); + } + value.values = values_buf; + const auto max_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number max_buf = {}; + max_buf.tag = max_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (max_buf_runtimeType)) + { + max_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.max = max_buf; + const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DataPanelType type_buf = {}; + type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + { + type_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.type = type_buf; return value; } - Ark_VideoController readVideoController() + Ark_DataSyncOptions readDataSyncOptions() { + Ark_DataSyncOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value._DataSyncOptionsStub = static_cast(valueDeserializer.readString()); + return value; } - Ark_View readView() + Ark_DatePickerOptions readDatePickerOptions() { + Ark_DatePickerOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = valueDeserializer.readInt64(); + } + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = valueDeserializer.readInt64(); + } + value.end = end_buf; + const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date selected_buf = {}; + selected_buf.tag = selected_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + { + selected_buf.value = valueDeserializer.readInt64(); + } + value.selected = selected_buf; + const auto mode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DatePickerMode mode_buf = {}; + mode_buf.tag = mode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mode_buf_runtimeType)) + { + mode_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.mode = mode_buf; + return value; } - Ark_VisualEffect readVisualEffect() + Ark_DatePickerResult readDatePickerResult() { + Ark_DatePickerResult value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_WaterFlowAttribute readWaterFlowAttribute() - { - Ark_WaterFlowAttribute value = {}; + const auto year_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number year_buf = {}; + year_buf.tag = year_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (year_buf_runtimeType)) + { + year_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.year = year_buf; + const auto month_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number month_buf = {}; + month_buf.tag = month_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (month_buf_runtimeType)) + { + month_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.month = month_buf; + const auto day_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number day_buf = {}; + day_buf.tag = day_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (day_buf_runtimeType)) + { + day_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.day = day_buf; return value; } - Ark_WaterFlowSections readWaterFlowSections() + Ark_DateRange readDateRange() { + Ark_DateRange value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_WebAttribute readWebAttribute() - { - Ark_WebAttribute value = {}; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = valueDeserializer.readInt64(); + } + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = valueDeserializer.readInt64(); + } + value.end = end_buf; return value; } - Ark_WebContextMenuParam readWebContextMenuParam() + Ark_DateTimeOptions readDateTimeOptions() { + Ark_DateTimeOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const auto locale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String locale_buf = {}; + locale_buf.tag = locale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (locale_buf_runtimeType)) + { + locale_buf.value = static_cast(valueDeserializer.readString()); + } + value.locale = locale_buf; + const auto dateStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String dateStyle_buf = {}; + dateStyle_buf.tag = dateStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dateStyle_buf_runtimeType)) + { + dateStyle_buf.value = static_cast(valueDeserializer.readString()); + } + value.dateStyle = dateStyle_buf; + const auto timeStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String timeStyle_buf = {}; + timeStyle_buf.tag = timeStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (timeStyle_buf_runtimeType)) + { + timeStyle_buf.value = static_cast(valueDeserializer.readString()); + } + value.timeStyle = timeStyle_buf; + const auto hourCycle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String hourCycle_buf = {}; + hourCycle_buf.tag = hourCycle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hourCycle_buf_runtimeType)) + { + hourCycle_buf.value = static_cast(valueDeserializer.readString()); + } + value.hourCycle = hourCycle_buf; + const auto timeZone_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String timeZone_buf = {}; + timeZone_buf.tag = timeZone_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (timeZone_buf_runtimeType)) + { + timeZone_buf.value = static_cast(valueDeserializer.readString()); + } + value.timeZone = timeZone_buf; + const auto numberingSystem_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String numberingSystem_buf = {}; + numberingSystem_buf.tag = numberingSystem_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (numberingSystem_buf_runtimeType)) + { + numberingSystem_buf.value = static_cast(valueDeserializer.readString()); + } + value.numberingSystem = numberingSystem_buf; + const auto hour12_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean hour12_buf = {}; + hour12_buf.tag = hour12_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hour12_buf_runtimeType)) + { + hour12_buf.value = valueDeserializer.readBoolean(); + } + value.hour12 = hour12_buf; + const auto weekday_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String weekday_buf = {}; + weekday_buf.tag = weekday_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weekday_buf_runtimeType)) + { + weekday_buf.value = static_cast(valueDeserializer.readString()); + } + value.weekday = weekday_buf; + const auto era_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String era_buf = {}; + era_buf.tag = era_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (era_buf_runtimeType)) + { + era_buf.value = static_cast(valueDeserializer.readString()); + } + value.era = era_buf; + const auto year_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String year_buf = {}; + year_buf.tag = year_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (year_buf_runtimeType)) + { + year_buf.value = static_cast(valueDeserializer.readString()); + } + value.year = year_buf; + const auto month_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String month_buf = {}; + month_buf.tag = month_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (month_buf_runtimeType)) + { + month_buf.value = static_cast(valueDeserializer.readString()); + } + value.month = month_buf; + const auto day_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String day_buf = {}; + day_buf.tag = day_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (day_buf_runtimeType)) + { + day_buf.value = static_cast(valueDeserializer.readString()); + } + value.day = day_buf; + const auto hour_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String hour_buf = {}; + hour_buf.tag = hour_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hour_buf_runtimeType)) + { + hour_buf.value = static_cast(valueDeserializer.readString()); + } + value.hour = hour_buf; + const auto minute_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String minute_buf = {}; + minute_buf.tag = minute_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (minute_buf_runtimeType)) + { + minute_buf.value = static_cast(valueDeserializer.readString()); + } + value.minute = minute_buf; + const auto second_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String second_buf = {}; + second_buf.tag = second_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (second_buf_runtimeType)) + { + second_buf.value = static_cast(valueDeserializer.readString()); + } + value.second = second_buf; + const auto timeZoneName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String timeZoneName_buf = {}; + timeZoneName_buf.tag = timeZoneName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (timeZoneName_buf_runtimeType)) + { + timeZoneName_buf.value = static_cast(valueDeserializer.readString()); + } + value.timeZoneName = timeZoneName_buf; + const auto dayPeriod_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String dayPeriod_buf = {}; + dayPeriod_buf.tag = dayPeriod_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dayPeriod_buf_runtimeType)) + { + dayPeriod_buf.value = static_cast(valueDeserializer.readString()); + } + value.dayPeriod = dayPeriod_buf; + const auto localeMatcher_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String localeMatcher_buf = {}; + localeMatcher_buf.tag = localeMatcher_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (localeMatcher_buf_runtimeType)) + { + localeMatcher_buf.value = static_cast(valueDeserializer.readString()); + } + value.localeMatcher = localeMatcher_buf; + const auto formatMatcher_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String formatMatcher_buf = {}; + formatMatcher_buf.tag = formatMatcher_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (formatMatcher_buf_runtimeType)) + { + formatMatcher_buf.value = static_cast(valueDeserializer.readString()); + } + value.formatMatcher = formatMatcher_buf; + return value; } - Ark_WebContextMenuResult readWebContextMenuResult() + Ark_DeleteValue readDeleteValue() { + Ark_DeleteValue value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.deleteOffset = static_cast(valueDeserializer.readNumber()); + value.direction = static_cast(valueDeserializer.readInt32()); + value.deleteValue = static_cast(valueDeserializer.readString()); + return value; } - Ark_WebController readWebController() + Ark_DirectionalEdgesT readDirectionalEdgesT() { + Ark_DirectionalEdgesT value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.start = static_cast(valueDeserializer.readNumber()); + value.end = static_cast(valueDeserializer.readNumber()); + value.top = static_cast(valueDeserializer.readNumber()); + value.bottom = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_WebCookie readWebCookie() + Ark_DisappearSymbolEffect readDisappearSymbolEffect() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_WebHeader readWebHeader() + Ark_DismissContentCoverAction readDismissContentCoverAction() { - Ark_WebHeader value = {}; + Ark_DismissContentCoverAction value = {}; Deserializer& valueDeserializer = *this; - value.headerKey = static_cast(valueDeserializer.readString()); - value.headerValue = static_cast(valueDeserializer.readString()); + value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + value.reason = static_cast(valueDeserializer.readInt32()); return value; } - Ark_WebKeyboardController readWebKeyboardController() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_WebResourceError readWebResourceError() + Ark_DismissDialogAction readDismissDialogAction() { + Ark_DismissDialogAction value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + value.reason = static_cast(valueDeserializer.readInt32()); + return value; } - Ark_WebResourceRequest readWebResourceRequest() + Ark_DismissPopupAction readDismissPopupAction() { + Ark_DismissPopupAction value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + value.reason = static_cast(valueDeserializer.readInt32()); + return value; } - Ark_WebResourceResponse readWebResourceResponse() + Ark_DismissSheetAction readDismissSheetAction() { + Ark_DismissSheetAction value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + value.reason = static_cast(valueDeserializer.readInt32()); + return value; } - Ark_WebviewController readWebviewController() + Ark_DoubleAnimationParam readDoubleAnimationParam() { + Ark_DoubleAnimationParam value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.propertyName = static_cast(valueDeserializer.readString()); + value.startValue = valueDeserializer.readFloat32(); + value.endValue = valueDeserializer.readFloat32(); + value.duration = valueDeserializer.readInt32(); + value.delay = valueDeserializer.readInt32(); + const Ark_Int8 curve_buf_selector = valueDeserializer.readInt8(); + Ark_Union_Curve_String_ICurve curve_buf = {}; + curve_buf.selector = curve_buf_selector; + if (curve_buf_selector == 0) { + curve_buf.selector = 0; + curve_buf.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (curve_buf_selector == 1) { + curve_buf.selector = 1; + curve_buf.value1 = static_cast(valueDeserializer.readString()); + } + else if (curve_buf_selector == 2) { + curve_buf.selector = 2; + curve_buf.value2 = static_cast(valueDeserializer.readICurve()); + } + else { + INTEROP_FATAL("One of the branches for curve_buf has to be chosen through deserialisation."); + } + value.curve = static_cast(curve_buf); + const auto onProgress_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Extender_OnProgress onProgress_buf = {}; + onProgress_buf.tag = onProgress_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onProgress_buf_runtimeType)) + { + onProgress_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Extender_OnProgress)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Extender_OnProgress))))}; + } + value.onProgress = onProgress_buf; + const auto onFinish_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Extender_OnFinish onFinish_buf = {}; + onFinish_buf.tag = onFinish_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onFinish_buf_runtimeType)) + { + onFinish_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Extender_OnFinish)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Extender_OnFinish))))}; + } + value.onFinish = onFinish_buf; + return value; } - Ark_WindowAnimationTarget readWindowAnimationTarget() + Ark_DragInteractionOptions readDragInteractionOptions() { - Ark_WindowAnimationTarget value = {}; + Ark_DragInteractionOptions value = {}; Deserializer& valueDeserializer = *this; - value.bundleName = static_cast(valueDeserializer.readString()); - value.abilityName = static_cast(valueDeserializer.readString()); - value.windowBounds = valueDeserializer.readRRect(); - value.missionId = static_cast(valueDeserializer.readNumber()); + const auto isMultiSelectionEnabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isMultiSelectionEnabled_buf = {}; + isMultiSelectionEnabled_buf.tag = isMultiSelectionEnabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isMultiSelectionEnabled_buf_runtimeType)) + { + isMultiSelectionEnabled_buf.value = valueDeserializer.readBoolean(); + } + value.isMultiSelectionEnabled = isMultiSelectionEnabled_buf; + const auto defaultAnimationBeforeLifting_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean defaultAnimationBeforeLifting_buf = {}; + defaultAnimationBeforeLifting_buf.tag = defaultAnimationBeforeLifting_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (defaultAnimationBeforeLifting_buf_runtimeType)) + { + defaultAnimationBeforeLifting_buf.value = valueDeserializer.readBoolean(); + } + value.defaultAnimationBeforeLifting = defaultAnimationBeforeLifting_buf; + const auto enableEdgeAutoScroll_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableEdgeAutoScroll_buf = {}; + enableEdgeAutoScroll_buf.tag = enableEdgeAutoScroll_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableEdgeAutoScroll_buf_runtimeType)) + { + enableEdgeAutoScroll_buf.value = valueDeserializer.readBoolean(); + } + value.enableEdgeAutoScroll = enableEdgeAutoScroll_buf; + const auto enableHapticFeedback_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableHapticFeedback_buf = {}; + enableHapticFeedback_buf.tag = enableHapticFeedback_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHapticFeedback_buf_runtimeType)) + { + enableHapticFeedback_buf.value = valueDeserializer.readBoolean(); + } + value.enableHapticFeedback = enableHapticFeedback_buf; + const auto isLiftingDisabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isLiftingDisabled_buf = {}; + isLiftingDisabled_buf.tag = isLiftingDisabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isLiftingDisabled_buf_runtimeType)) + { + isLiftingDisabled_buf.value = valueDeserializer.readBoolean(); + } + value.isLiftingDisabled = isLiftingDisabled_buf; return value; } - Ark_WindowSceneAttribute readWindowSceneAttribute() + Ark_DragItemInfo readDragItemInfo() { - Ark_WindowSceneAttribute value = {}; + Ark_DragItemInfo value = {}; + Deserializer& valueDeserializer = *this; + const auto pixelMap_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PixelMap pixelMap_buf = {}; + pixelMap_buf.tag = pixelMap_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (pixelMap_buf_runtimeType)) + { + pixelMap_buf.value = static_cast(valueDeserializer.readPixelMap()); + } + value.pixelMap = pixelMap_buf; + const auto builder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder builder_buf = {}; + builder_buf.tag = builder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (builder_buf_runtimeType)) + { + builder_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + value.builder = builder_buf; + const auto extraInfo_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String extraInfo_buf = {}; + extraInfo_buf.tag = extraInfo_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (extraInfo_buf_runtimeType)) + { + extraInfo_buf.value = static_cast(valueDeserializer.readString()); + } + value.extraInfo = extraInfo_buf; return value; } - Ark_WithThemeAttribute readWithThemeAttribute() + Ark_DrawContext readDrawContext() { - Ark_WithThemeAttribute value = {}; + Ark_DrawContext value = {}; + Deserializer& valueDeserializer = *this; + value.size = valueDeserializer.readSize(); + value.sizeInPixel = valueDeserializer.readSize(); + value.canvas = static_cast(valueDeserializer.readDrawingCanvas()); return value; } - Ark_WorkerEventListener readWorkerEventListener() + Ark_DrawingRenderingContext readDrawingRenderingContext() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_AccessibilityOptions readAccessibilityOptions() + Ark_DropOptions readDropOptions() { - Ark_AccessibilityOptions value = {}; + Ark_DropOptions value = {}; Deserializer& valueDeserializer = *this; - const auto accessibilityPreferred_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean accessibilityPreferred_buf = {}; - accessibilityPreferred_buf.tag = accessibilityPreferred_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (accessibilityPreferred_buf_runtimeType)) + const auto disableDataPrefetch_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean disableDataPrefetch_buf = {}; + disableDataPrefetch_buf.tag = disableDataPrefetch_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (disableDataPrefetch_buf_runtimeType)) { - accessibilityPreferred_buf.value = valueDeserializer.readBoolean(); + disableDataPrefetch_buf.value = valueDeserializer.readBoolean(); } - value.accessibilityPreferred = accessibilityPreferred_buf; + value.disableDataPrefetch = disableDataPrefetch_buf; return value; } - Ark_AdsBlockedDetails readAdsBlockedDetails() + Ark_EdgeEffectOptions readEdgeEffectOptions() { - Ark_AdsBlockedDetails value = {}; + Ark_EdgeEffectOptions value = {}; Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); - const Ark_Int32 adsBlocked_buf_length = valueDeserializer.readInt32(); - Array_String adsBlocked_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&adsBlocked_buf, adsBlocked_buf_length); - for (int adsBlocked_buf_i = 0; adsBlocked_buf_i < adsBlocked_buf_length; adsBlocked_buf_i++) { - adsBlocked_buf.array[adsBlocked_buf_i] = static_cast(valueDeserializer.readString()); + value.alwaysEnabled = valueDeserializer.readBoolean(); + const auto effectEdge_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number effectEdge_buf = {}; + effectEdge_buf.tag = effectEdge_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (effectEdge_buf_runtimeType)) + { + effectEdge_buf.value = static_cast(valueDeserializer.readNumber()); } - value.adsBlocked = adsBlocked_buf; + value.effectEdge = effectEdge_buf; return value; } - Ark_AlphabetIndexerOptions readAlphabetIndexerOptions() + Ark_EdgeOutlineStyles readEdgeOutlineStyles() { - Ark_AlphabetIndexerOptions value = {}; + Ark_EdgeOutlineStyles value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int32 arrayValue_buf_length = valueDeserializer.readInt32(); - Array_String arrayValue_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&arrayValue_buf, arrayValue_buf_length); - for (int arrayValue_buf_i = 0; arrayValue_buf_i < arrayValue_buf_length; arrayValue_buf_i++) { - arrayValue_buf.array[arrayValue_buf_i] = static_cast(valueDeserializer.readString()); + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_OutlineStyle top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + { + top_buf.value = static_cast(valueDeserializer.readInt32()); } - value.arrayValue = arrayValue_buf; - value.selected = static_cast(valueDeserializer.readNumber()); + value.top = top_buf; + const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_OutlineStyle right_buf = {}; + right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) + { + right_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.right = right_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_OutlineStyle bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.bottom = bottom_buf; + const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_OutlineStyle left_buf = {}; + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + { + left_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.left = left_buf; return value; } - Ark_AnimationOptions readAnimationOptions() + Ark_EdgeStyles readEdgeStyles() { - Ark_AnimationOptions value = {}; + Ark_EdgeStyles value = {}; Deserializer& valueDeserializer = *this; - const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number duration_buf = {}; - duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BorderStyle top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { - duration_buf.value = static_cast(valueDeserializer.readNumber()); + top_buf.value = static_cast(valueDeserializer.readInt32()); } - value.duration = duration_buf; - const auto iterations_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number iterations_buf = {}; - iterations_buf.tag = iterations_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (iterations_buf_runtimeType)) + value.top = top_buf; + const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BorderStyle right_buf = {}; + right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) { - iterations_buf.value = static_cast(valueDeserializer.readNumber()); + right_buf.value = static_cast(valueDeserializer.readInt32()); } - value.iterations = iterations_buf; + value.right = right_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BorderStyle bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.bottom = bottom_buf; + const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BorderStyle left_buf = {}; + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + { + left_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.left = left_buf; return value; } - Ark_AppearSymbolEffect readAppearSymbolEffect() + Ark_EditMenuOptions readEditMenuOptions() { + Ark_EditMenuOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.onCreateMenu = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem))))}; + value.onMenuItemClick = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_AsyncCallback_TextMenuItem_TextRange_Boolean)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_AsyncCallback_TextMenuItem_TextRange_Boolean))))}; + return value; } - Ark_ASTCResource readASTCResource() + Ark_EllipseOptions readEllipseOptions() { - Ark_ASTCResource value = {}; + Ark_EllipseOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int32 sources_buf_length = valueDeserializer.readInt32(); - Array_String sources_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&sources_buf, sources_buf_length); - for (int sources_buf_i = 0; sources_buf_i < sources_buf_length; sources_buf_i++) { - sources_buf.array[sources_buf_i] = static_cast(valueDeserializer.readString()); + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + { + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else { + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + } + width_buf.value = static_cast(width_buf_); } - value.sources = sources_buf; - value.column = static_cast(valueDeserializer.readNumber()); + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + { + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else { + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + } + height_buf.value = static_cast(height_buf_); + } + value.height = height_buf; return value; } - Ark_BackgroundBrightnessOptions readBackgroundBrightnessOptions() + Ark_EmbedOptions readEmbedOptions() { - Ark_BackgroundBrightnessOptions value = {}; + Ark_EmbedOptions value = {}; Deserializer& valueDeserializer = *this; - value.rate = static_cast(valueDeserializer.readNumber()); - value.lightUpDegree = static_cast(valueDeserializer.readNumber()); + const auto supportDefaultIntrinsicSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean supportDefaultIntrinsicSize_buf = {}; + supportDefaultIntrinsicSize_buf.tag = supportDefaultIntrinsicSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (supportDefaultIntrinsicSize_buf_runtimeType)) + { + supportDefaultIntrinsicSize_buf.value = valueDeserializer.readBoolean(); + } + value.supportDefaultIntrinsicSize = supportDefaultIntrinsicSize_buf; return value; } - Ark_BarrierStyle readBarrierStyle() + Ark_ErrorEvent readErrorEvent() { - Ark_BarrierStyle value = {}; + Ark_ErrorEvent value = {}; Deserializer& valueDeserializer = *this; - value.id = static_cast(valueDeserializer.readString()); - value.direction = static_cast(valueDeserializer.readInt32()); - const Ark_Int32 referencedId_buf_length = valueDeserializer.readInt32(); - Array_String referencedId_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&referencedId_buf, referencedId_buf_length); - for (int referencedId_buf_i = 0; referencedId_buf_i < referencedId_buf_length; referencedId_buf_i++) { - referencedId_buf.array[referencedId_buf_i] = static_cast(valueDeserializer.readString()); - } - value.referencedId = referencedId_buf; + value.type = static_cast(valueDeserializer.readString()); + value.timeStamp = valueDeserializer.readInt64(); + value.message = static_cast(valueDeserializer.readString()); + value.filename = static_cast(valueDeserializer.readString()); + value.lineno = static_cast(valueDeserializer.readNumber()); + value.colno = static_cast(valueDeserializer.readNumber()); + value.error = static_cast(valueDeserializer.readObject()); return value; } - Ark_BaseContext readBaseContext() + Ark_Event readEvent() { + Ark_Event value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.type = static_cast(valueDeserializer.readString()); + value.timeStamp = valueDeserializer.readInt64(); + return value; } - Ark_BaselineOffsetStyle readBaselineOffsetStyle() + Ark_ExpectedFrameRateRange readExpectedFrameRateRange() { + Ark_ExpectedFrameRateRange value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.min = static_cast(valueDeserializer.readNumber()); + value.max = static_cast(valueDeserializer.readNumber()); + value.expected = static_cast(valueDeserializer.readNumber()); + return value; } - Ark_Bias readBias() + Ark_FingerInfo readFingerInfo() { - Ark_Bias value = {}; + Ark_FingerInfo value = {}; Deserializer& valueDeserializer = *this; - const auto horizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number horizontal_buf = {}; - horizontal_buf.tag = horizontal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (horizontal_buf_runtimeType)) - { - horizontal_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.horizontal = horizontal_buf; - const auto vertical_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number vertical_buf = {}; - vertical_buf.tag = vertical_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (vertical_buf_runtimeType)) + value.id = static_cast(valueDeserializer.readNumber()); + value.globalX = static_cast(valueDeserializer.readNumber()); + value.globalY = static_cast(valueDeserializer.readNumber()); + value.localX = static_cast(valueDeserializer.readNumber()); + value.localY = static_cast(valueDeserializer.readNumber()); + value.displayX = static_cast(valueDeserializer.readNumber()); + value.displayY = static_cast(valueDeserializer.readNumber()); + const auto hand_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_InteractionHand hand_buf = {}; + hand_buf.tag = hand_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hand_buf_runtimeType)) { - vertical_buf.value = static_cast(valueDeserializer.readNumber()); + hand_buf.value = static_cast(valueDeserializer.readInt32()); } - value.vertical = vertical_buf; + value.hand = hand_buf; return value; } - Ark_BlurOptions readBlurOptions() + Ark_FirstMeaningfulPaint readFirstMeaningfulPaint() { - Ark_BlurOptions value = {}; + Ark_FirstMeaningfulPaint value = {}; Deserializer& valueDeserializer = *this; - Ark_Tuple_Number_Number grayscale_buf = {}; - grayscale_buf.value0 = static_cast(valueDeserializer.readNumber()); - grayscale_buf.value1 = static_cast(valueDeserializer.readNumber()); - value.grayscale = grayscale_buf; + const auto navigationStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number navigationStartTime_buf = {}; + navigationStartTime_buf.tag = navigationStartTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (navigationStartTime_buf_runtimeType)) + { + navigationStartTime_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.navigationStartTime = navigationStartTime_buf; + const auto firstMeaningfulPaintTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number firstMeaningfulPaintTime_buf = {}; + firstMeaningfulPaintTime_buf.tag = firstMeaningfulPaintTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (firstMeaningfulPaintTime_buf_runtimeType)) + { + firstMeaningfulPaintTime_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.firstMeaningfulPaintTime = firstMeaningfulPaintTime_buf; return value; } - Ark_BorderRadiuses_graphics readBorderRadiuses_graphics() + Ark_FocusMovement readFocusMovement() { - Ark_BorderRadiuses_graphics value = {}; + Ark_FocusMovement value = {}; Deserializer& valueDeserializer = *this; - value.topLeft = static_cast(valueDeserializer.readNumber()); - value.topRight = static_cast(valueDeserializer.readNumber()); - value.bottomLeft = static_cast(valueDeserializer.readNumber()); - value.bottomRight = static_cast(valueDeserializer.readNumber()); + const auto forward_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String forward_buf = {}; + forward_buf.tag = forward_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (forward_buf_runtimeType)) + { + forward_buf.value = static_cast(valueDeserializer.readString()); + } + value.forward = forward_buf; + const auto backward_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String backward_buf = {}; + backward_buf.tag = backward_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backward_buf_runtimeType)) + { + backward_buf.value = static_cast(valueDeserializer.readString()); + } + value.backward = backward_buf; + const auto up_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String up_buf = {}; + up_buf.tag = up_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (up_buf_runtimeType)) + { + up_buf.value = static_cast(valueDeserializer.readString()); + } + value.up = up_buf; + const auto down_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String down_buf = {}; + down_buf.tag = down_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (down_buf_runtimeType)) + { + down_buf.value = static_cast(valueDeserializer.readString()); + } + value.down = down_buf; + const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String left_buf = {}; + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + { + left_buf.value = static_cast(valueDeserializer.readString()); + } + value.left = left_buf; + const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String right_buf = {}; + right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) + { + right_buf.value = static_cast(valueDeserializer.readString()); + } + value.right = right_buf; return value; } - Ark_BounceSymbolEffect readBounceSymbolEffect() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_BreakPoints readBreakPoints() + Ark_FolderStackOptions readFolderStackOptions() { - Ark_BreakPoints value = {}; + Ark_FolderStackOptions value = {}; Deserializer& valueDeserializer = *this; - const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_String value_buf = {}; - value_buf.tag = value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + const auto upperItems_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_String upperItems_buf = {}; + upperItems_buf.tag = upperItems_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (upperItems_buf_runtimeType)) { - const Ark_Int32 value_buf__length = valueDeserializer.readInt32(); - Array_String value_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&value_buf_, value_buf__length); - for (int value_buf__i = 0; value_buf__i < value_buf__length; value_buf__i++) { - value_buf_.array[value_buf__i] = static_cast(valueDeserializer.readString()); + const Ark_Int32 upperItems_buf__length = valueDeserializer.readInt32(); + Array_String upperItems_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&upperItems_buf_, upperItems_buf__length); + for (int upperItems_buf__i = 0; upperItems_buf__i < upperItems_buf__length; upperItems_buf__i++) { + upperItems_buf_.array[upperItems_buf__i] = static_cast(valueDeserializer.readString()); } - value_buf.value = value_buf_; - } - value.value = value_buf; - const auto reference_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BreakpointsReference reference_buf = {}; - reference_buf.tag = reference_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (reference_buf_runtimeType)) - { - reference_buf.value = static_cast(valueDeserializer.readInt32()); + upperItems_buf.value = upperItems_buf_; } - value.reference = reference_buf; + value.upperItems = upperItems_buf; return value; } - Ark_BrightnessBlender readBrightnessBlender() + Ark_FontFeature readFontFeature() { - Ark_BrightnessBlender value = {}; + Ark_FontFeature value = {}; Deserializer& valueDeserializer = *this; - value.cubicRate = static_cast(valueDeserializer.readNumber()); - value.quadraticRate = static_cast(valueDeserializer.readNumber()); - value.linearRate = static_cast(valueDeserializer.readNumber()); - value.degree = static_cast(valueDeserializer.readNumber()); - value.saturation = static_cast(valueDeserializer.readNumber()); - Ark_Tuple_Number_Number_Number positiveCoefficient_buf = {}; - positiveCoefficient_buf.value0 = static_cast(valueDeserializer.readNumber()); - positiveCoefficient_buf.value1 = static_cast(valueDeserializer.readNumber()); - positiveCoefficient_buf.value2 = static_cast(valueDeserializer.readNumber()); - value.positiveCoefficient = positiveCoefficient_buf; - Ark_Tuple_Number_Number_Number negativeCoefficient_buf = {}; - negativeCoefficient_buf.value0 = static_cast(valueDeserializer.readNumber()); - negativeCoefficient_buf.value1 = static_cast(valueDeserializer.readNumber()); - negativeCoefficient_buf.value2 = static_cast(valueDeserializer.readNumber()); - value.negativeCoefficient = negativeCoefficient_buf; - value.fraction = static_cast(valueDeserializer.readNumber()); + value.name = static_cast(valueDeserializer.readString()); + value.value = static_cast(valueDeserializer.readNumber()); return value; } - Ark_BusinessError readBusinessError() + Ark_FontInfo readFontInfo() { - Ark_BusinessError value = {}; + Ark_FontInfo value = {}; Deserializer& valueDeserializer = *this; - value.name = static_cast(valueDeserializer.readString()); - value.message = static_cast(valueDeserializer.readString()); - const auto stack_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String stack_buf = {}; - stack_buf.tag = stack_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (stack_buf_runtimeType)) - { - stack_buf.value = static_cast(valueDeserializer.readString()); - } - value.stack = stack_buf; - value.code = static_cast(valueDeserializer.readNumber()); + value.path = static_cast(valueDeserializer.readString()); + value.postScriptName = static_cast(valueDeserializer.readString()); + value.fullName = static_cast(valueDeserializer.readString()); + value.family = static_cast(valueDeserializer.readString()); + value.subfamily = static_cast(valueDeserializer.readString()); + value.weight = static_cast(valueDeserializer.readNumber()); + value.width = static_cast(valueDeserializer.readNumber()); + value.italic = valueDeserializer.readBoolean(); + value.monoSpace = valueDeserializer.readBoolean(); + value.symbolic = valueDeserializer.readBoolean(); return value; } - Ark_ButtonOptions readButtonOptions() + Ark_FontMetrics readFontMetrics() { - Ark_ButtonOptions value = {}; + Ark_FontMetrics value = {}; Deserializer& valueDeserializer = *this; - const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ButtonType type_buf = {}; - type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + const auto flags_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FontMetricsFlags flags_buf = {}; + flags_buf.tag = flags_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (flags_buf_runtimeType)) { - type_buf.value = static_cast(valueDeserializer.readInt32()); + flags_buf.value = static_cast(valueDeserializer.readInt32()); } - value.type = type_buf; - const auto stateEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean stateEffect_buf = {}; - stateEffect_buf.tag = stateEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (stateEffect_buf_runtimeType)) + value.flags = flags_buf; + value.top = static_cast(valueDeserializer.readNumber()); + value.ascent = static_cast(valueDeserializer.readNumber()); + value.descent = static_cast(valueDeserializer.readNumber()); + value.bottom = static_cast(valueDeserializer.readNumber()); + value.leading = static_cast(valueDeserializer.readNumber()); + const auto avgCharWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number avgCharWidth_buf = {}; + avgCharWidth_buf.tag = avgCharWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (avgCharWidth_buf_runtimeType)) { - stateEffect_buf.value = valueDeserializer.readBoolean(); + avgCharWidth_buf.value = static_cast(valueDeserializer.readNumber()); } - value.stateEffect = stateEffect_buf; - const auto buttonStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ButtonStyleMode buttonStyle_buf = {}; - buttonStyle_buf.tag = buttonStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (buttonStyle_buf_runtimeType)) + value.avgCharWidth = avgCharWidth_buf; + const auto maxCharWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number maxCharWidth_buf = {}; + maxCharWidth_buf.tag = maxCharWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maxCharWidth_buf_runtimeType)) { - buttonStyle_buf.value = static_cast(valueDeserializer.readInt32()); + maxCharWidth_buf.value = static_cast(valueDeserializer.readNumber()); } - value.buttonStyle = buttonStyle_buf; - const auto controlSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ControlSize controlSize_buf = {}; - controlSize_buf.tag = controlSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controlSize_buf_runtimeType)) + value.maxCharWidth = maxCharWidth_buf; + const auto xMin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number xMin_buf = {}; + xMin_buf.tag = xMin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xMin_buf_runtimeType)) + { + xMin_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.xMin = xMin_buf; + const auto xMax_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number xMax_buf = {}; + xMax_buf.tag = xMax_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xMax_buf_runtimeType)) + { + xMax_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.xMax = xMax_buf; + const auto xHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number xHeight_buf = {}; + xHeight_buf.tag = xHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xHeight_buf_runtimeType)) + { + xHeight_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.xHeight = xHeight_buf; + const auto capHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number capHeight_buf = {}; + capHeight_buf.tag = capHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (capHeight_buf_runtimeType)) + { + capHeight_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.capHeight = capHeight_buf; + const auto underlineThickness_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number underlineThickness_buf = {}; + underlineThickness_buf.tag = underlineThickness_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (underlineThickness_buf_runtimeType)) + { + underlineThickness_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.underlineThickness = underlineThickness_buf; + const auto underlinePosition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number underlinePosition_buf = {}; + underlinePosition_buf.tag = underlinePosition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (underlinePosition_buf_runtimeType)) + { + underlinePosition_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.underlinePosition = underlinePosition_buf; + const auto strikethroughThickness_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number strikethroughThickness_buf = {}; + strikethroughThickness_buf.tag = strikethroughThickness_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strikethroughThickness_buf_runtimeType)) + { + strikethroughThickness_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.strikethroughThickness = strikethroughThickness_buf; + const auto strikethroughPosition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number strikethroughPosition_buf = {}; + strikethroughPosition_buf.tag = strikethroughPosition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strikethroughPosition_buf_runtimeType)) { - controlSize_buf.value = static_cast(valueDeserializer.readInt32()); + strikethroughPosition_buf.value = static_cast(valueDeserializer.readNumber()); } - value.controlSize = controlSize_buf; - const auto role_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ButtonRole role_buf = {}; - role_buf.tag = role_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (role_buf_runtimeType)) + value.strikethroughPosition = strikethroughPosition_buf; + return value; + } + Ark_FontSettingOptions readFontSettingOptions() + { + Ark_FontSettingOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto enableVariableFontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableVariableFontWeight_buf = {}; + enableVariableFontWeight_buf.tag = enableVariableFontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableVariableFontWeight_buf_runtimeType)) { - role_buf.value = static_cast(valueDeserializer.readInt32()); + enableVariableFontWeight_buf.value = valueDeserializer.readBoolean(); } - value.role = role_buf; + value.enableVariableFontWeight = enableVariableFontWeight_buf; return value; } - Ark_CalendarDay readCalendarDay() + Ark_FontVariation readFontVariation() { - Ark_CalendarDay value = {}; + Ark_FontVariation value = {}; Deserializer& valueDeserializer = *this; - value.index = static_cast(valueDeserializer.readNumber()); - value.lunarMonth = static_cast(valueDeserializer.readString()); - value.lunarDay = static_cast(valueDeserializer.readString()); - value.dayMark = static_cast(valueDeserializer.readString()); - value.dayMarkValue = static_cast(valueDeserializer.readString()); - value.year = static_cast(valueDeserializer.readNumber()); - value.month = static_cast(valueDeserializer.readNumber()); - value.day = static_cast(valueDeserializer.readNumber()); - value.isFirstOfLunar = valueDeserializer.readBoolean(); - value.hasSchedule = valueDeserializer.readBoolean(); - value.markLunarDay = valueDeserializer.readBoolean(); + value.axis = static_cast(valueDeserializer.readString()); + value.value = static_cast(valueDeserializer.readNumber()); return value; } - Ark_CalendarRequestedData readCalendarRequestedData() + Ark_ForegroundEffectOptions readForegroundEffectOptions() { - Ark_CalendarRequestedData value = {}; + Ark_ForegroundEffectOptions value = {}; Deserializer& valueDeserializer = *this; - value.year = static_cast(valueDeserializer.readNumber()); - value.month = static_cast(valueDeserializer.readNumber()); - value.currentYear = static_cast(valueDeserializer.readNumber()); - value.currentMonth = static_cast(valueDeserializer.readNumber()); - value.monthState = static_cast(valueDeserializer.readNumber()); + value.radius = static_cast(valueDeserializer.readNumber()); return value; } - Ark_CalendarSelectedDate readCalendarSelectedDate() + Ark_FormCallbackInfo readFormCallbackInfo() { - Ark_CalendarSelectedDate value = {}; + Ark_FormCallbackInfo value = {}; Deserializer& valueDeserializer = *this; - value.year = static_cast(valueDeserializer.readNumber()); - value.month = static_cast(valueDeserializer.readNumber()); - value.day = static_cast(valueDeserializer.readNumber()); + value.id = valueDeserializer.readInt64(); + value.idString = static_cast(valueDeserializer.readString()); return value; } - Ark_CancelButtonSymbolOptions readCancelButtonSymbolOptions() + Ark_FormLinkOptions readFormLinkOptions() { - Ark_CancelButtonSymbolOptions value = {}; + Ark_FormLinkOptions value = {}; Deserializer& valueDeserializer = *this; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CancelButtonStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + value.action = static_cast(valueDeserializer.readString()); + const auto moduleName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String moduleName_buf = {}; + moduleName_buf.tag = moduleName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (moduleName_buf_runtimeType)) { - style_buf.value = static_cast(valueDeserializer.readInt32()); + moduleName_buf.value = static_cast(valueDeserializer.readString()); } - value.style = style_buf; - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SymbolGlyphModifier icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + value.moduleName = moduleName_buf; + const auto bundleName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String bundleName_buf = {}; + bundleName_buf.tag = bundleName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bundleName_buf_runtimeType)) { - icon_buf.value = valueDeserializer.readSymbolGlyphModifier(); + bundleName_buf.value = static_cast(valueDeserializer.readString()); } - value.icon = icon_buf; + value.bundleName = bundleName_buf; + const auto abilityName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String abilityName_buf = {}; + abilityName_buf.tag = abilityName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (abilityName_buf_runtimeType)) + { + abilityName_buf.value = static_cast(valueDeserializer.readString()); + } + value.abilityName = abilityName_buf; + const auto uri_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String uri_buf = {}; + uri_buf.tag = uri_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (uri_buf_runtimeType)) + { + uri_buf.value = static_cast(valueDeserializer.readString()); + } + value.uri = uri_buf; + const auto params_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Object params_buf = {}; + params_buf.tag = params_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (params_buf_runtimeType)) + { + params_buf.value = static_cast(valueDeserializer.readObject()); + } + value.params = params_buf; return value; } - Ark_CanvasRenderer readCanvasRenderer() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_CanvasRenderingContext2D readCanvasRenderingContext2D() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_CaretOffset readCaretOffset() + Ark_Frame readFrame() { - Ark_CaretOffset value = {}; + Ark_Frame value = {}; Deserializer& valueDeserializer = *this; - value.index = static_cast(valueDeserializer.readNumber()); value.x = static_cast(valueDeserializer.readNumber()); value.y = static_cast(valueDeserializer.readNumber()); + value.width = static_cast(valueDeserializer.readNumber()); + value.height = static_cast(valueDeserializer.readNumber()); return value; } - Ark_ChainWeightOptions readChainWeightOptions() + Ark_FullScreenEnterEvent readFullScreenEnterEvent() { - Ark_ChainWeightOptions value = {}; + Ark_FullScreenEnterEvent value = {}; Deserializer& valueDeserializer = *this; - const auto horizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number horizontal_buf = {}; - horizontal_buf.tag = horizontal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (horizontal_buf_runtimeType)) + value.handler = static_cast(valueDeserializer.readFullScreenExitHandler()); + const auto videoWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number videoWidth_buf = {}; + videoWidth_buf.tag = videoWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (videoWidth_buf_runtimeType)) { - horizontal_buf.value = static_cast(valueDeserializer.readNumber()); + videoWidth_buf.value = static_cast(valueDeserializer.readNumber()); } - value.horizontal = horizontal_buf; - const auto vertical_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number vertical_buf = {}; - vertical_buf.tag = vertical_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (vertical_buf_runtimeType)) + value.videoWidth = videoWidth_buf; + const auto videoHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number videoHeight_buf = {}; + videoHeight_buf.tag = videoHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (videoHeight_buf_runtimeType)) { - vertical_buf.value = static_cast(valueDeserializer.readNumber()); + videoHeight_buf.value = static_cast(valueDeserializer.readNumber()); } - value.vertical = vertical_buf; + value.videoHeight = videoHeight_buf; return value; } - Ark_CheckboxGroupOptions readCheckboxGroupOptions() + Ark_GaugeOptions readGaugeOptions() { - Ark_CheckboxGroupOptions value = {}; + Ark_GaugeOptions value = {}; Deserializer& valueDeserializer = *this; - const auto group_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String group_buf = {}; - group_buf.tag = group_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (group_buf_runtimeType)) + value.value = static_cast(valueDeserializer.readNumber()); + const auto min_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number min_buf = {}; + min_buf.tag = min_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (min_buf_runtimeType)) { - group_buf.value = static_cast(valueDeserializer.readString()); + min_buf.value = static_cast(valueDeserializer.readNumber()); } - value.group = group_buf; + value.min = min_buf; + const auto max_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number max_buf = {}; + max_buf.tag = max_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (max_buf_runtimeType)) + { + max_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.max = max_buf; return value; } - Ark_CheckboxGroupResult readCheckboxGroupResult() + Ark_GeometryTransitionOptions readGeometryTransitionOptions() { - Ark_CheckboxGroupResult value = {}; + Ark_GeometryTransitionOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int32 name_buf_length = valueDeserializer.readInt32(); - Array_String name_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&name_buf, name_buf_length); - for (int name_buf_i = 0; name_buf_i < name_buf_length; name_buf_i++) { - name_buf.array[name_buf_i] = static_cast(valueDeserializer.readString()); + const auto follow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean follow_buf = {}; + follow_buf.tag = follow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (follow_buf_runtimeType)) + { + follow_buf.value = valueDeserializer.readBoolean(); } - value.name = name_buf; - value.status = static_cast(valueDeserializer.readInt32()); + value.follow = follow_buf; + const auto hierarchyStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TransitionHierarchyStrategy hierarchyStrategy_buf = {}; + hierarchyStrategy_buf.tag = hierarchyStrategy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hierarchyStrategy_buf_runtimeType)) + { + hierarchyStrategy_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.hierarchyStrategy = hierarchyStrategy_buf; return value; } - Ark_CheckboxOptions readCheckboxOptions() + Ark_GestureInfo readGestureInfo() { - Ark_CheckboxOptions value = {}; + Ark_GestureInfo value = {}; Deserializer& valueDeserializer = *this; - const auto name_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String name_buf = {}; - name_buf.tag = name_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (name_buf_runtimeType)) + const auto tag_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String tag_buf = {}; + tag_buf.tag = tag_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (tag_buf_runtimeType)) { - name_buf.value = static_cast(valueDeserializer.readString()); + tag_buf.value = static_cast(valueDeserializer.readString()); } - value.name = name_buf; - const auto group_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String group_buf = {}; - group_buf.tag = group_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (group_buf_runtimeType)) + value.tag = tag_buf; + value.type = static_cast(valueDeserializer.readInt32()); + value.isSystemGesture = valueDeserializer.readBoolean(); + return value; + } + Ark_GestureStyleInterface readGestureStyleInterface() + { + Ark_GestureStyleInterface value = {}; + Deserializer& valueDeserializer = *this; + const auto onClick_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_ClickEvent_Void onClick_buf = {}; + onClick_buf.tag = onClick_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onClick_buf_runtimeType)) { - group_buf.value = static_cast(valueDeserializer.readString()); + onClick_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))}; } - value.group = group_buf; - const auto indicatorBuilder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomNodeBuilder indicatorBuilder_buf = {}; - indicatorBuilder_buf.tag = indicatorBuilder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (indicatorBuilder_buf_runtimeType)) + value.onClick = onClick_buf; + const auto onLongPress_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_GestureEvent_Void onLongPress_buf = {}; + onLongPress_buf.tag = onLongPress_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onLongPress_buf_runtimeType)) { - indicatorBuilder_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + onLongPress_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))}; } - value.indicatorBuilder = indicatorBuilder_buf; + value.onLongPress = onLongPress_buf; return value; } - Ark_ChildrenMainSize readChildrenMainSize() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_Circle readCircle() + Ark_GridColColumnOption readGridColColumnOption() { - Ark_Circle value = {}; + Ark_GridColColumnOption value = {}; Deserializer& valueDeserializer = *this; - value.centerX = static_cast(valueDeserializer.readNumber()); - value.centerY = static_cast(valueDeserializer.readNumber()); - value.radius = static_cast(valueDeserializer.readNumber()); + const auto xs_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number xs_buf = {}; + xs_buf.tag = xs_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xs_buf_runtimeType)) + { + xs_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.xs = xs_buf; + const auto sm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number sm_buf = {}; + sm_buf.tag = sm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sm_buf_runtimeType)) + { + sm_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.sm = sm_buf; + const auto md_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number md_buf = {}; + md_buf.tag = md_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (md_buf_runtimeType)) + { + md_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.md = md_buf; + const auto lg_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number lg_buf = {}; + lg_buf.tag = lg_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lg_buf_runtimeType)) + { + lg_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.lg = lg_buf; + const auto xl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number xl_buf = {}; + xl_buf.tag = xl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xl_buf_runtimeType)) + { + xl_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.xl = xl_buf; + const auto xxl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number xxl_buf = {}; + xxl_buf.tag = xxl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xxl_buf_runtimeType)) + { + xxl_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.xxl = xxl_buf; return value; } - Ark_CircleOptions readCircleOptions() + Ark_GridContainerOptions readGridContainerOptions() { - Ark_CircleOptions value = {}; + Ark_GridContainerOptions value = {}; Deserializer& valueDeserializer = *this; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + const auto columns_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String columns_buf = {}; + columns_buf.tag = columns_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (columns_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 columns_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String columns_buf_ = {}; + columns_buf_.selector = columns_buf__selector; + if (columns_buf__selector == 0) { + columns_buf_.selector = 0; + columns_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (columns_buf__selector == 1) { + columns_buf_.selector = 1; + columns_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for columns_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + columns_buf.value = static_cast(columns_buf_); } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + value.columns = columns_buf; + const auto sizeType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SizeType sizeType_buf = {}; + sizeType_buf.tag = sizeType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sizeType_buf_runtimeType)) { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readString()); + sizeType_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.sizeType = sizeType_buf; + const auto gutter_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String gutter_buf = {}; + gutter_buf.tag = gutter_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (gutter_buf_runtimeType)) + { + const Ark_Int8 gutter_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String gutter_buf_ = {}; + gutter_buf_.selector = gutter_buf__selector; + if (gutter_buf__selector == 0) { + gutter_buf_.selector = 0; + gutter_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (gutter_buf__selector == 1) { + gutter_buf_.selector = 1; + gutter_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for gutter_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + gutter_buf.value = static_cast(gutter_buf_); } - value.height = height_buf; + value.gutter = gutter_buf; + const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String margin_buf = {}; + margin_buf.tag = margin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + { + const Ark_Int8 margin_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String margin_buf_ = {}; + margin_buf_.selector = margin_buf__selector; + if (margin_buf__selector == 0) { + margin_buf_.selector = 0; + margin_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (margin_buf__selector == 1) { + margin_buf_.selector = 1; + margin_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for margin_buf_ has to be chosen through deserialisation."); + } + margin_buf.value = static_cast(margin_buf_); + } + value.margin = margin_buf; return value; } - Ark_ClickEffect readClickEffect() + Ark_GridItemOptions readGridItemOptions() { - Ark_ClickEffect value = {}; + Ark_GridItemOptions value = {}; Deserializer& valueDeserializer = *this; - value.level = static_cast(valueDeserializer.readInt32()); - const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number scale_buf = {}; - scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_GridItemStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) { - scale_buf.value = static_cast(valueDeserializer.readNumber()); + style_buf.value = static_cast(valueDeserializer.readInt32()); } - value.scale = scale_buf; + value.style = style_buf; return value; } - Ark_CloseSwipeActionOptions readCloseSwipeActionOptions() + Ark_GridLayoutOptions readGridLayoutOptions() { - Ark_CloseSwipeActionOptions value = {}; + Ark_GridLayoutOptions value = {}; Deserializer& valueDeserializer = *this; - const auto onFinish_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onFinish_buf = {}; - onFinish_buf.tag = onFinish_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onFinish_buf_runtimeType)) + Ark_Tuple_Number_Number regularSize_buf = {}; + regularSize_buf.value0 = static_cast(valueDeserializer.readNumber()); + regularSize_buf.value1 = static_cast(valueDeserializer.readNumber()); + value.regularSize = regularSize_buf; + const auto irregularIndexes_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_Number irregularIndexes_buf = {}; + irregularIndexes_buf.tag = irregularIndexes_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (irregularIndexes_buf_runtimeType)) + { + const Ark_Int32 irregularIndexes_buf__length = valueDeserializer.readInt32(); + Array_Number irregularIndexes_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&irregularIndexes_buf_, irregularIndexes_buf__length); + for (int irregularIndexes_buf__i = 0; irregularIndexes_buf__i < irregularIndexes_buf__length; irregularIndexes_buf__i++) { + irregularIndexes_buf_.array[irregularIndexes_buf__i] = static_cast(valueDeserializer.readNumber()); + } + irregularIndexes_buf.value = irregularIndexes_buf_; + } + value.irregularIndexes = irregularIndexes_buf; + const auto onGetIrregularSizeByIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Number_Tuple_Number_Number onGetIrregularSizeByIndex_buf = {}; + onGetIrregularSizeByIndex_buf.tag = onGetIrregularSizeByIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onGetIrregularSizeByIndex_buf_runtimeType)) + { + onGetIrregularSizeByIndex_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Tuple_Number_Number)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Tuple_Number_Number))))}; + } + value.onGetIrregularSizeByIndex = onGetIrregularSizeByIndex_buf; + const auto onGetRectByIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Number_Tuple_Number_Number_Number_Number onGetRectByIndex_buf = {}; + onGetRectByIndex_buf.tag = onGetRectByIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onGetRectByIndex_buf_runtimeType)) + { + onGetRectByIndex_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Tuple_Number_Number_Number_Number)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Tuple_Number_Number_Number_Number))))}; + } + value.onGetRectByIndex = onGetRectByIndex_buf; + return value; + } + Ark_GridRowColumnOption readGridRowColumnOption() + { + Ark_GridRowColumnOption value = {}; + Deserializer& valueDeserializer = *this; + const auto xs_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number xs_buf = {}; + xs_buf.tag = xs_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xs_buf_runtimeType)) + { + xs_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.xs = xs_buf; + const auto sm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number sm_buf = {}; + sm_buf.tag = sm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sm_buf_runtimeType)) + { + sm_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.sm = sm_buf; + const auto md_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number md_buf = {}; + md_buf.tag = md_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (md_buf_runtimeType)) + { + md_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.md = md_buf; + const auto lg_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number lg_buf = {}; + lg_buf.tag = lg_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lg_buf_runtimeType)) { - onFinish_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + lg_buf.value = static_cast(valueDeserializer.readNumber()); } - value.onFinish = onFinish_buf; - return value; - } - Ark_ColorMetrics readColorMetrics() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_ColumnOptions readColumnOptions() - { - Ark_ColumnOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number space_buf = {}; - space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + value.lg = lg_buf; + const auto xl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number xl_buf = {}; + xl_buf.tag = xl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xl_buf_runtimeType)) { - const Ark_Int8 space_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number space_buf_ = {}; - space_buf_.selector = space_buf__selector; - if (space_buf__selector == 0) { - space_buf_.selector = 0; - space_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (space_buf__selector == 1) { - space_buf_.selector = 1; - space_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else { - INTEROP_FATAL("One of the branches for space_buf_ has to be chosen through deserialisation."); - } - space_buf.value = static_cast(space_buf_); + xl_buf.value = static_cast(valueDeserializer.readNumber()); } - value.space = space_buf; + value.xl = xl_buf; + const auto xxl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number xxl_buf = {}; + xxl_buf.tag = xxl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xxl_buf_runtimeType)) + { + xxl_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.xxl = xxl_buf; return value; } - Ark_CommandPath readCommandPath() + Ark_Header readHeader() { - Ark_CommandPath value = {}; + Ark_Header value = {}; Deserializer& valueDeserializer = *this; - value.commands = static_cast(valueDeserializer.readString()); + value.headerKey = static_cast(valueDeserializer.readString()); + value.headerValue = static_cast(valueDeserializer.readString()); return value; } - Ark_common2D_Color readcommon2D_Color() + Ark_HierarchicalSymbolEffect readHierarchicalSymbolEffect() { - Ark_common2D_Color value = {}; Deserializer& valueDeserializer = *this; - value.alpha = static_cast(valueDeserializer.readNumber()); - value.red = static_cast(valueDeserializer.readNumber()); - value.green = static_cast(valueDeserializer.readNumber()); - value.blue = static_cast(valueDeserializer.readNumber()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_common2D_Point readcommon2D_Point() + Ark_HoverEventParam readHoverEventParam() { - Ark_common2D_Point value = {}; + Ark_HoverEventParam value = {}; Deserializer& valueDeserializer = *this; - value.x = static_cast(valueDeserializer.readNumber()); - value.y = static_cast(valueDeserializer.readNumber()); + value.foldStatus = static_cast(valueDeserializer.readInt32()); + value.isHoverMode = valueDeserializer.readBoolean(); + value.appRotation = static_cast(valueDeserializer.readInt32()); + value.windowStatusType = static_cast(valueDeserializer.readInt32()); return value; } - Ark_CommonConfiguration readCommonConfiguration() + Ark_ImageAIOptions readImageAIOptions() { - Ark_CommonConfiguration value = {}; + Ark_ImageAIOptions value = {}; Deserializer& valueDeserializer = *this; - value.enabled = valueDeserializer.readBoolean(); - value.contentModifier = static_cast(valueDeserializer.readObject()); + const auto types_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_ImageAnalyzerType types_buf = {}; + types_buf.tag = types_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (types_buf_runtimeType)) + { + const Ark_Int32 types_buf__length = valueDeserializer.readInt32(); + Array_ImageAnalyzerType types_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&types_buf_, types_buf__length); + for (int types_buf__i = 0; types_buf__i < types_buf__length; types_buf__i++) { + types_buf_.array[types_buf__i] = static_cast(valueDeserializer.readInt32()); + } + types_buf.value = types_buf_; + } + value.types = types_buf; + const auto aiController_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImageAnalyzerController aiController_buf = {}; + aiController_buf.tag = aiController_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (aiController_buf_runtimeType)) + { + aiController_buf.value = static_cast(valueDeserializer.readImageAnalyzerController()); + } + value.aiController = aiController_buf; return value; } - Ark_ComputedBarAttribute readComputedBarAttribute() + Ark_ImageAnalyzerConfig readImageAnalyzerConfig() { - Ark_ComputedBarAttribute value = {}; + Ark_ImageAnalyzerConfig value = {}; Deserializer& valueDeserializer = *this; - value.totalOffset = static_cast(valueDeserializer.readNumber()); - value.totalLength = static_cast(valueDeserializer.readNumber()); + const Ark_Int32 types_buf_length = valueDeserializer.readInt32(); + Array_ImageAnalyzerType types_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&types_buf, types_buf_length); + for (int types_buf_i = 0; types_buf_i < types_buf_length; types_buf_i++) { + types_buf.array[types_buf_i] = static_cast(valueDeserializer.readInt32()); + } + value.types = types_buf; return value; } - Ark_Context readContext() + Ark_ImageBitmap readImageBitmap() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_CopyEvent readCopyEvent() + Ark_ImageData readImageData() { - Ark_CopyEvent value = {}; Deserializer& valueDeserializer = *this; - const auto preventDefault_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void preventDefault_buf = {}; - preventDefault_buf.tag = preventDefault_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (preventDefault_buf_runtimeType)) - { - preventDefault_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - } - value.preventDefault = preventDefault_buf; - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_CornerRadius readCornerRadius() + Ark_ImageError readImageError() { - Ark_CornerRadius value = {}; + Ark_ImageError value = {}; Deserializer& valueDeserializer = *this; - value.topLeft = valueDeserializer.readVector2(); - value.topRight = valueDeserializer.readVector2(); - value.bottomLeft = valueDeserializer.readVector2(); - value.bottomRight = valueDeserializer.readVector2(); + value.componentWidth = static_cast(valueDeserializer.readNumber()); + value.componentHeight = static_cast(valueDeserializer.readNumber()); + value.message = static_cast(valueDeserializer.readString()); return value; } - Ark_CustomDialogBuildOptions readCustomDialogBuildOptions() + Ark_ImageLoadResult readImageLoadResult() { - Ark_CustomDialogBuildOptions value = {}; + Ark_ImageLoadResult value = {}; Deserializer& valueDeserializer = *this; - const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomDialogController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) - { - controller_buf.value = static_cast(valueDeserializer.readCustomDialogController()); - } - value.controller = controller_buf; + value.width = static_cast(valueDeserializer.readNumber()); + value.height = static_cast(valueDeserializer.readNumber()); + value.componentWidth = static_cast(valueDeserializer.readNumber()); + value.componentHeight = static_cast(valueDeserializer.readNumber()); + value.loadingStatus = static_cast(valueDeserializer.readNumber()); + value.contentWidth = static_cast(valueDeserializer.readNumber()); + value.contentHeight = static_cast(valueDeserializer.readNumber()); + value.contentOffsetX = static_cast(valueDeserializer.readNumber()); + value.contentOffsetY = static_cast(valueDeserializer.readNumber()); return value; } - Ark_CustomDialogControllerBuilder readCustomDialogControllerBuilder() + Ark_ImageSourceSize readImageSourceSize() { - Ark_CustomDialogControllerBuilder value = {}; + Ark_ImageSourceSize value = {}; Deserializer& valueDeserializer = *this; - value.buildOptions = valueDeserializer.readCustomDialogBuildOptions(); - value.build = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + value.width = static_cast(valueDeserializer.readNumber()); + value.height = static_cast(valueDeserializer.readNumber()); return value; } - Ark_CustomSpan readCustomSpan() + Ark_ImmersiveMode readImmersiveMode() { + Ark_ImmersiveMode value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value._ImmersiveModeStub = static_cast(valueDeserializer.readString()); + return value; } - Ark_CustomSpanDrawInfo readCustomSpanDrawInfo() + Ark_InputCounterOptions readInputCounterOptions() { - Ark_CustomSpanDrawInfo value = {}; + Ark_InputCounterOptions value = {}; Deserializer& valueDeserializer = *this; - value.x = static_cast(valueDeserializer.readNumber()); - value.lineTop = static_cast(valueDeserializer.readNumber()); - value.lineBottom = static_cast(valueDeserializer.readNumber()); - value.baseline = static_cast(valueDeserializer.readNumber()); + const auto thresholdPercentage_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number thresholdPercentage_buf = {}; + thresholdPercentage_buf.tag = thresholdPercentage_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (thresholdPercentage_buf_runtimeType)) + { + thresholdPercentage_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.thresholdPercentage = thresholdPercentage_buf; + const auto highlightBorder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean highlightBorder_buf = {}; + highlightBorder_buf.tag = highlightBorder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (highlightBorder_buf_runtimeType)) + { + highlightBorder_buf.value = valueDeserializer.readBoolean(); + } + value.highlightBorder = highlightBorder_buf; return value; } - Ark_CustomSpanMeasureInfo readCustomSpanMeasureInfo() + Ark_InsertValue readInsertValue() { - Ark_CustomSpanMeasureInfo value = {}; + Ark_InsertValue value = {}; Deserializer& valueDeserializer = *this; - value.fontSize = static_cast(valueDeserializer.readNumber()); + value.insertOffset = static_cast(valueDeserializer.readNumber()); + value.insertValue = static_cast(valueDeserializer.readString()); return value; } - Ark_CustomSpanMetrics readCustomSpanMetrics() + Ark_IntelligentTrackingPreventionDetails readIntelligentTrackingPreventionDetails() { - Ark_CustomSpanMetrics value = {}; + Ark_IntelligentTrackingPreventionDetails value = {}; Deserializer& valueDeserializer = *this; - value.width = static_cast(valueDeserializer.readNumber()); - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) - { - height_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.height = height_buf; + value.host = static_cast(valueDeserializer.readString()); + value.trackerHost = static_cast(valueDeserializer.readString()); return value; } - Ark_CutEvent readCutEvent() + Ark_InvertOptions readInvertOptions() { - Ark_CutEvent value = {}; + Ark_InvertOptions value = {}; Deserializer& valueDeserializer = *this; - const auto preventDefault_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void preventDefault_buf = {}; - preventDefault_buf.tag = preventDefault_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (preventDefault_buf_runtimeType)) - { - preventDefault_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - } - value.preventDefault = preventDefault_buf; + value.low = static_cast(valueDeserializer.readNumber()); + value.high = static_cast(valueDeserializer.readNumber()); + value.threshold = static_cast(valueDeserializer.readNumber()); + value.thresholdRange = static_cast(valueDeserializer.readNumber()); return value; } - Ark_DataPanelOptions readDataPanelOptions() + Ark_ItemDragInfo readItemDragInfo() { - Ark_DataPanelOptions value = {}; + Ark_ItemDragInfo value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int32 values_buf_length = valueDeserializer.readInt32(); - Array_Number values_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&values_buf, values_buf_length); - for (int values_buf_i = 0; values_buf_i < values_buf_length; values_buf_i++) { - values_buf.array[values_buf_i] = static_cast(valueDeserializer.readNumber()); - } - value.values = values_buf; - const auto max_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number max_buf = {}; - max_buf.tag = max_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (max_buf_runtimeType)) - { - max_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.max = max_buf; - const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_DataPanelType type_buf = {}; - type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) - { - type_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.type = type_buf; + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); return value; } - Ark_DatePickerOptions readDatePickerOptions() + Ark_KeyboardOptions readKeyboardOptions() { - Ark_DatePickerOptions value = {}; + Ark_KeyboardOptions value = {}; Deserializer& valueDeserializer = *this; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Date start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) - { - start_buf.value = valueDeserializer.readInt64(); - } - value.start = start_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Date end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) - { - end_buf.value = valueDeserializer.readInt64(); - } - value.end = end_buf; - const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Date selected_buf = {}; - selected_buf.tag = selected_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + const auto supportAvoidance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean supportAvoidance_buf = {}; + supportAvoidance_buf.tag = supportAvoidance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (supportAvoidance_buf_runtimeType)) { - selected_buf.value = valueDeserializer.readInt64(); + supportAvoidance_buf.value = valueDeserializer.readBoolean(); } - value.selected = selected_buf; + value.supportAvoidance = supportAvoidance_buf; return value; } - Ark_DatePickerResult readDatePickerResult() + Ark_KeyEvent readKeyEvent() { - Ark_DatePickerResult value = {}; Deserializer& valueDeserializer = *this; - const auto year_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number year_buf = {}; - year_buf.tag = year_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (year_buf_runtimeType)) - { - year_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.year = year_buf; - const auto month_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number month_buf = {}; - month_buf.tag = month_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (month_buf_runtimeType)) - { - month_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.month = month_buf; - const auto day_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number day_buf = {}; - day_buf.tag = day_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (day_buf_runtimeType)) - { - day_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.day = day_buf; - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_DateTimeOptions readDateTimeOptions() + Ark_LargestContentfulPaint readLargestContentfulPaint() { - Ark_DateTimeOptions value = {}; + Ark_LargestContentfulPaint value = {}; Deserializer& valueDeserializer = *this; - const auto locale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String locale_buf = {}; - locale_buf.tag = locale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (locale_buf_runtimeType)) - { - locale_buf.value = static_cast(valueDeserializer.readString()); - } - value.locale = locale_buf; - const auto dateStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String dateStyle_buf = {}; - dateStyle_buf.tag = dateStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dateStyle_buf_runtimeType)) - { - dateStyle_buf.value = static_cast(valueDeserializer.readString()); - } - value.dateStyle = dateStyle_buf; - const auto timeStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String timeStyle_buf = {}; - timeStyle_buf.tag = timeStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (timeStyle_buf_runtimeType)) - { - timeStyle_buf.value = static_cast(valueDeserializer.readString()); - } - value.timeStyle = timeStyle_buf; - const auto hourCycle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String hourCycle_buf = {}; - hourCycle_buf.tag = hourCycle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (hourCycle_buf_runtimeType)) - { - hourCycle_buf.value = static_cast(valueDeserializer.readString()); - } - value.hourCycle = hourCycle_buf; - const auto timeZone_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String timeZone_buf = {}; - timeZone_buf.tag = timeZone_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (timeZone_buf_runtimeType)) - { - timeZone_buf.value = static_cast(valueDeserializer.readString()); - } - value.timeZone = timeZone_buf; - const auto numberingSystem_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String numberingSystem_buf = {}; - numberingSystem_buf.tag = numberingSystem_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (numberingSystem_buf_runtimeType)) - { - numberingSystem_buf.value = static_cast(valueDeserializer.readString()); - } - value.numberingSystem = numberingSystem_buf; - const auto hour12_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean hour12_buf = {}; - hour12_buf.tag = hour12_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (hour12_buf_runtimeType)) - { - hour12_buf.value = valueDeserializer.readBoolean(); - } - value.hour12 = hour12_buf; - const auto weekday_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String weekday_buf = {}; - weekday_buf.tag = weekday_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (weekday_buf_runtimeType)) - { - weekday_buf.value = static_cast(valueDeserializer.readString()); - } - value.weekday = weekday_buf; - const auto era_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String era_buf = {}; - era_buf.tag = era_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (era_buf_runtimeType)) - { - era_buf.value = static_cast(valueDeserializer.readString()); - } - value.era = era_buf; - const auto year_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String year_buf = {}; - year_buf.tag = year_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (year_buf_runtimeType)) - { - year_buf.value = static_cast(valueDeserializer.readString()); - } - value.year = year_buf; - const auto month_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String month_buf = {}; - month_buf.tag = month_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (month_buf_runtimeType)) - { - month_buf.value = static_cast(valueDeserializer.readString()); - } - value.month = month_buf; - const auto day_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String day_buf = {}; - day_buf.tag = day_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (day_buf_runtimeType)) - { - day_buf.value = static_cast(valueDeserializer.readString()); - } - value.day = day_buf; - const auto hour_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String hour_buf = {}; - hour_buf.tag = hour_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (hour_buf_runtimeType)) - { - hour_buf.value = static_cast(valueDeserializer.readString()); - } - value.hour = hour_buf; - const auto minute_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String minute_buf = {}; - minute_buf.tag = minute_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (minute_buf_runtimeType)) + const auto navigationStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number navigationStartTime_buf = {}; + navigationStartTime_buf.tag = navigationStartTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (navigationStartTime_buf_runtimeType)) { - minute_buf.value = static_cast(valueDeserializer.readString()); + navigationStartTime_buf.value = static_cast(valueDeserializer.readNumber()); } - value.minute = minute_buf; - const auto second_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String second_buf = {}; - second_buf.tag = second_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (second_buf_runtimeType)) + value.navigationStartTime = navigationStartTime_buf; + const auto largestImagePaintTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number largestImagePaintTime_buf = {}; + largestImagePaintTime_buf.tag = largestImagePaintTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (largestImagePaintTime_buf_runtimeType)) { - second_buf.value = static_cast(valueDeserializer.readString()); + largestImagePaintTime_buf.value = static_cast(valueDeserializer.readNumber()); } - value.second = second_buf; - const auto timeZoneName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String timeZoneName_buf = {}; - timeZoneName_buf.tag = timeZoneName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (timeZoneName_buf_runtimeType)) + value.largestImagePaintTime = largestImagePaintTime_buf; + const auto largestTextPaintTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number largestTextPaintTime_buf = {}; + largestTextPaintTime_buf.tag = largestTextPaintTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (largestTextPaintTime_buf_runtimeType)) { - timeZoneName_buf.value = static_cast(valueDeserializer.readString()); + largestTextPaintTime_buf.value = static_cast(valueDeserializer.readNumber()); } - value.timeZoneName = timeZoneName_buf; - const auto dayPeriod_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String dayPeriod_buf = {}; - dayPeriod_buf.tag = dayPeriod_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dayPeriod_buf_runtimeType)) + value.largestTextPaintTime = largestTextPaintTime_buf; + const auto imageBPP_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number imageBPP_buf = {}; + imageBPP_buf.tag = imageBPP_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (imageBPP_buf_runtimeType)) { - dayPeriod_buf.value = static_cast(valueDeserializer.readString()); + imageBPP_buf.value = static_cast(valueDeserializer.readNumber()); } - value.dayPeriod = dayPeriod_buf; - const auto localeMatcher_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String localeMatcher_buf = {}; - localeMatcher_buf.tag = localeMatcher_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (localeMatcher_buf_runtimeType)) + value.imageBPP = imageBPP_buf; + const auto largestImageLoadStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number largestImageLoadStartTime_buf = {}; + largestImageLoadStartTime_buf.tag = largestImageLoadStartTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (largestImageLoadStartTime_buf_runtimeType)) { - localeMatcher_buf.value = static_cast(valueDeserializer.readString()); + largestImageLoadStartTime_buf.value = static_cast(valueDeserializer.readNumber()); } - value.localeMatcher = localeMatcher_buf; - const auto formatMatcher_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String formatMatcher_buf = {}; - formatMatcher_buf.tag = formatMatcher_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (formatMatcher_buf_runtimeType)) + value.largestImageLoadStartTime = largestImageLoadStartTime_buf; + const auto largestImageLoadEndTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number largestImageLoadEndTime_buf = {}; + largestImageLoadEndTime_buf.tag = largestImageLoadEndTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (largestImageLoadEndTime_buf_runtimeType)) { - formatMatcher_buf.value = static_cast(valueDeserializer.readString()); + largestImageLoadEndTime_buf.value = static_cast(valueDeserializer.readNumber()); } - value.formatMatcher = formatMatcher_buf; - return value; - } - Ark_DeleteValue readDeleteValue() - { - Ark_DeleteValue value = {}; - Deserializer& valueDeserializer = *this; - value.deleteOffset = static_cast(valueDeserializer.readNumber()); - value.direction = static_cast(valueDeserializer.readInt32()); - value.deleteValue = static_cast(valueDeserializer.readString()); - return value; - } - Ark_DirectionalEdgesT readDirectionalEdgesT() - { - Ark_DirectionalEdgesT value = {}; - Deserializer& valueDeserializer = *this; - value.start = static_cast(valueDeserializer.readNumber()); - value.end = static_cast(valueDeserializer.readNumber()); - value.top = static_cast(valueDeserializer.readNumber()); - value.bottom = static_cast(valueDeserializer.readNumber()); + value.largestImageLoadEndTime = largestImageLoadEndTime_buf; return value; } - Ark_DisappearSymbolEffect readDisappearSymbolEffect() + Ark_LengthMetrics readLengthMetrics() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_DismissContentCoverAction readDismissContentCoverAction() - { - Ark_DismissContentCoverAction value = {}; - Deserializer& valueDeserializer = *this; - value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - value.reason = static_cast(valueDeserializer.readInt32()); - return value; + return static_cast(ptr); } - Ark_DismissDialogAction readDismissDialogAction() + Ark_LetterSpacingStyle readLetterSpacingStyle() { - Ark_DismissDialogAction value = {}; Deserializer& valueDeserializer = *this; - value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - value.reason = static_cast(valueDeserializer.readInt32()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_DismissPopupAction readDismissPopupAction() + Ark_LevelMode readLevelMode() { - Ark_DismissPopupAction value = {}; + Ark_LevelMode value = {}; Deserializer& valueDeserializer = *this; - value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - value.reason = static_cast(valueDeserializer.readInt32()); + value._LevelModeStub = static_cast(valueDeserializer.readString()); return value; } - Ark_DismissSheetAction readDismissSheetAction() + Ark_LevelOrder readLevelOrder() { - Ark_DismissSheetAction value = {}; + Ark_LevelOrder value = {}; Deserializer& valueDeserializer = *this; - value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - value.reason = static_cast(valueDeserializer.readInt32()); + value._LevelOrderStub = static_cast(valueDeserializer.readString()); return value; } - Ark_DoubleAnimationParam readDoubleAnimationParam() + Ark_LinearGradient_common readLinearGradient_common() { - Ark_DoubleAnimationParam value = {}; + Ark_LinearGradient_common value = {}; Deserializer& valueDeserializer = *this; - value.propertyName = static_cast(valueDeserializer.readString()); - value.startValue = valueDeserializer.readFloat32(); - value.endValue = valueDeserializer.readFloat32(); - value.duration = valueDeserializer.readInt32(); - value.delay = valueDeserializer.readInt32(); - const Ark_Int8 curve_buf_selector = valueDeserializer.readInt8(); - Ark_Union_Curve_String_ICurve curve_buf = {}; - curve_buf.selector = curve_buf_selector; - if (curve_buf_selector == 0) { - curve_buf.selector = 0; - curve_buf.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (curve_buf_selector == 1) { - curve_buf.selector = 1; - curve_buf.value1 = static_cast(valueDeserializer.readString()); - } - else if (curve_buf_selector == 2) { - curve_buf.selector = 2; - curve_buf.value2 = static_cast(valueDeserializer.readICurve()); - } - else { - INTEROP_FATAL("One of the branches for curve_buf has to be chosen through deserialisation."); + const auto angle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String angle_buf = {}; + angle_buf.tag = angle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (angle_buf_runtimeType)) + { + const Ark_Int8 angle_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String angle_buf_ = {}; + angle_buf_.selector = angle_buf__selector; + if (angle_buf__selector == 0) { + angle_buf_.selector = 0; + angle_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (angle_buf__selector == 1) { + angle_buf_.selector = 1; + angle_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for angle_buf_ has to be chosen through deserialisation."); + } + angle_buf.value = static_cast(angle_buf_); } - value.curve = static_cast(curve_buf); - const auto onProgress_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Extender_OnProgress onProgress_buf = {}; - onProgress_buf.tag = onProgress_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onProgress_buf_runtimeType)) + value.angle = angle_buf; + const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_GradientDirection direction_buf = {}; + direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) { - onProgress_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Extender_OnProgress)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Extender_OnProgress))))}; + direction_buf.value = static_cast(valueDeserializer.readInt32()); } - value.onProgress = onProgress_buf; - const auto onFinish_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Extender_OnFinish onFinish_buf = {}; - onFinish_buf.tag = onFinish_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onFinish_buf_runtimeType)) + value.direction = direction_buf; + const Ark_Int32 colors_buf_length = valueDeserializer.readInt32(); + Array_Tuple_ResourceColor_Number colors_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&colors_buf, colors_buf_length); + for (int colors_buf_i = 0; colors_buf_i < colors_buf_length; colors_buf_i++) { + Ark_Tuple_ResourceColor_Number colors_buf_buf = {}; + const Ark_Int8 colors_buf_buf_value0_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceColor colors_buf_buf_value0_buf = {}; + colors_buf_buf_value0_buf.selector = colors_buf_buf_value0_buf_selector; + if (colors_buf_buf_value0_buf_selector == 0) { + colors_buf_buf_value0_buf.selector = 0; + colors_buf_buf_value0_buf.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (colors_buf_buf_value0_buf_selector == 1) { + colors_buf_buf_value0_buf.selector = 1; + colors_buf_buf_value0_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (colors_buf_buf_value0_buf_selector == 2) { + colors_buf_buf_value0_buf.selector = 2; + colors_buf_buf_value0_buf.value2 = static_cast(valueDeserializer.readString()); + } + else if (colors_buf_buf_value0_buf_selector == 3) { + colors_buf_buf_value0_buf.selector = 3; + colors_buf_buf_value0_buf.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for colors_buf_buf_value0_buf has to be chosen through deserialisation."); + } + colors_buf_buf.value0 = static_cast(colors_buf_buf_value0_buf); + colors_buf_buf.value1 = static_cast(valueDeserializer.readNumber()); + colors_buf.array[colors_buf_i] = colors_buf_buf; + } + value.colors = colors_buf; + const auto repeating_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean repeating_buf = {}; + repeating_buf.tag = repeating_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (repeating_buf_runtimeType)) { - onFinish_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Extender_OnFinish)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Extender_OnFinish))))}; + repeating_buf.value = valueDeserializer.readBoolean(); } - value.onFinish = onFinish_buf; + value.repeating = repeating_buf; return value; } - Ark_DragInteractionOptions readDragInteractionOptions() + Ark_LinearGradientBlurOptions readLinearGradientBlurOptions() { - Ark_DragInteractionOptions value = {}; + Ark_LinearGradientBlurOptions value = {}; Deserializer& valueDeserializer = *this; - const auto isMultiSelectionEnabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean isMultiSelectionEnabled_buf = {}; - isMultiSelectionEnabled_buf.tag = isMultiSelectionEnabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isMultiSelectionEnabled_buf_runtimeType)) - { - isMultiSelectionEnabled_buf.value = valueDeserializer.readBoolean(); - } - value.isMultiSelectionEnabled = isMultiSelectionEnabled_buf; - const auto defaultAnimationBeforeLifting_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean defaultAnimationBeforeLifting_buf = {}; - defaultAnimationBeforeLifting_buf.tag = defaultAnimationBeforeLifting_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (defaultAnimationBeforeLifting_buf_runtimeType)) - { - defaultAnimationBeforeLifting_buf.value = valueDeserializer.readBoolean(); + const Ark_Int32 fractionStops_buf_length = valueDeserializer.readInt32(); + Array_FractionStop fractionStops_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&fractionStops_buf, fractionStops_buf_length); + for (int fractionStops_buf_i = 0; fractionStops_buf_i < fractionStops_buf_length; fractionStops_buf_i++) { + Ark_FractionStop fractionStops_buf_buf = {}; + fractionStops_buf_buf.value0 = static_cast(valueDeserializer.readNumber()); + fractionStops_buf_buf.value1 = static_cast(valueDeserializer.readNumber()); + fractionStops_buf.array[fractionStops_buf_i] = fractionStops_buf_buf; } - value.defaultAnimationBeforeLifting = defaultAnimationBeforeLifting_buf; + value.fractionStops = fractionStops_buf; + value.direction = static_cast(valueDeserializer.readInt32()); return value; } - Ark_DragItemInfo readDragItemInfo() + Ark_LinearGradientOptions readLinearGradientOptions() { - Ark_DragItemInfo value = {}; + Ark_LinearGradientOptions value = {}; Deserializer& valueDeserializer = *this; - const auto pixelMap_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_PixelMap pixelMap_buf = {}; - pixelMap_buf.tag = pixelMap_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (pixelMap_buf_runtimeType)) + const auto angle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String angle_buf = {}; + angle_buf.tag = angle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (angle_buf_runtimeType)) { - pixelMap_buf.value = static_cast(valueDeserializer.readPixelMap()); + const Ark_Int8 angle_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String angle_buf_ = {}; + angle_buf_.selector = angle_buf__selector; + if (angle_buf__selector == 0) { + angle_buf_.selector = 0; + angle_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (angle_buf__selector == 1) { + angle_buf_.selector = 1; + angle_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for angle_buf_ has to be chosen through deserialisation."); + } + angle_buf.value = static_cast(angle_buf_); } - value.pixelMap = pixelMap_buf; - const auto builder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomNodeBuilder builder_buf = {}; - builder_buf.tag = builder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (builder_buf_runtimeType)) + value.angle = angle_buf; + const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_GradientDirection direction_buf = {}; + direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) { - builder_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + direction_buf.value = static_cast(valueDeserializer.readInt32()); } - value.builder = builder_buf; - const auto extraInfo_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String extraInfo_buf = {}; - extraInfo_buf.tag = extraInfo_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (extraInfo_buf_runtimeType)) + value.direction = direction_buf; + const Ark_Int32 colors_buf_length = valueDeserializer.readInt32(); + Array_Tuple_ResourceColor_Number colors_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&colors_buf, colors_buf_length); + for (int colors_buf_i = 0; colors_buf_i < colors_buf_length; colors_buf_i++) { + Ark_Tuple_ResourceColor_Number colors_buf_buf = {}; + const Ark_Int8 colors_buf_buf_value0_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceColor colors_buf_buf_value0_buf = {}; + colors_buf_buf_value0_buf.selector = colors_buf_buf_value0_buf_selector; + if (colors_buf_buf_value0_buf_selector == 0) { + colors_buf_buf_value0_buf.selector = 0; + colors_buf_buf_value0_buf.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (colors_buf_buf_value0_buf_selector == 1) { + colors_buf_buf_value0_buf.selector = 1; + colors_buf_buf_value0_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (colors_buf_buf_value0_buf_selector == 2) { + colors_buf_buf_value0_buf.selector = 2; + colors_buf_buf_value0_buf.value2 = static_cast(valueDeserializer.readString()); + } + else if (colors_buf_buf_value0_buf_selector == 3) { + colors_buf_buf_value0_buf.selector = 3; + colors_buf_buf_value0_buf.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for colors_buf_buf_value0_buf has to be chosen through deserialisation."); + } + colors_buf_buf.value0 = static_cast(colors_buf_buf_value0_buf); + colors_buf_buf.value1 = static_cast(valueDeserializer.readNumber()); + colors_buf.array[colors_buf_i] = colors_buf_buf; + } + value.colors = colors_buf; + const auto repeating_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean repeating_buf = {}; + repeating_buf.tag = repeating_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (repeating_buf_runtimeType)) { - extraInfo_buf.value = static_cast(valueDeserializer.readString()); + repeating_buf.value = valueDeserializer.readBoolean(); } - value.extraInfo = extraInfo_buf; + value.repeating = repeating_buf; return value; } - Ark_DrawContext readDrawContext() + Ark_LinearIndicatorStartOptions readLinearIndicatorStartOptions() { - Ark_DrawContext value = {}; + Ark_LinearIndicatorStartOptions value = {}; Deserializer& valueDeserializer = *this; - value.size = valueDeserializer.readSize(); - value.sizeInPixel = valueDeserializer.readSize(); - value.canvas = static_cast(valueDeserializer.readDrawingCanvas()); + const auto interval_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number interval_buf = {}; + interval_buf.tag = interval_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (interval_buf_runtimeType)) + { + interval_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.interval = interval_buf; + const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number duration_buf = {}; + duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.duration = duration_buf; return value; } - Ark_DrawingRenderingContext readDrawingRenderingContext() + Ark_LineHeightStyle readLineHeightStyle() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_EdgeStyles readEdgeStyles() + Ark_LineMetrics readLineMetrics() { - Ark_EdgeStyles value = {}; + Ark_LineMetrics value = {}; Deserializer& valueDeserializer = *this; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BorderStyle top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) - { - top_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.top = top_buf; - const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BorderStyle right_buf = {}; - right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) - { - right_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.right = right_buf; - const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BorderStyle bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) - { - bottom_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.bottom = bottom_buf; - const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BorderStyle left_buf = {}; - left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) - { - left_buf.value = static_cast(valueDeserializer.readInt32()); + value.startIndex = static_cast(valueDeserializer.readNumber()); + value.endIndex = static_cast(valueDeserializer.readNumber()); + value.ascent = static_cast(valueDeserializer.readNumber()); + value.descent = static_cast(valueDeserializer.readNumber()); + value.height = static_cast(valueDeserializer.readNumber()); + value.width = static_cast(valueDeserializer.readNumber()); + value.left = static_cast(valueDeserializer.readNumber()); + value.baseline = static_cast(valueDeserializer.readNumber()); + value.lineNumber = static_cast(valueDeserializer.readNumber()); + value.topHeight = static_cast(valueDeserializer.readNumber()); + const Ark_Int32 runMetrics_buf_size = valueDeserializer.readInt32(); + Map_Number_RunMetrics runMetrics_buf = {}; + valueDeserializer.resizeMap(&runMetrics_buf, runMetrics_buf_size); + for (int runMetrics_buf_i = 0; runMetrics_buf_i < runMetrics_buf_size; runMetrics_buf_i++) { + const Ark_Number runMetrics_buf_key = static_cast(valueDeserializer.readNumber()); + const Ark_RunMetrics runMetrics_buf_value = valueDeserializer.readRunMetrics(); + runMetrics_buf.keys[runMetrics_buf_i] = runMetrics_buf_key; + runMetrics_buf.values[runMetrics_buf_i] = runMetrics_buf_value; } - value.left = left_buf; - return value; - } - Ark_EditMenuOptions readEditMenuOptions() - { - Ark_EditMenuOptions value = {}; - Deserializer& valueDeserializer = *this; - value.onCreateMenu = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem))))}; - value.onMenuItemClick = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_AsyncCallback_TextMenuItem_TextRange_Boolean)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_AsyncCallback_TextMenuItem_TextRange_Boolean))))}; + value.runMetrics = runMetrics_buf; return value; } - Ark_EllipseOptions readEllipseOptions() + Ark_LineOptions readLineOptions() { - Ark_EllipseOptions value = {}; + Ark_LineOptions value = {}; Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_String_Number width_buf = {}; @@ -89675,1899 +95757,2078 @@ class Deserializer : public DeserializerBase { value.height = height_buf; return value; } - Ark_ErrorEvent readErrorEvent() - { - Ark_ErrorEvent value = {}; - Deserializer& valueDeserializer = *this; - value.type = static_cast(valueDeserializer.readString()); - value.timeStamp = valueDeserializer.readInt64(); - value.message = static_cast(valueDeserializer.readString()); - value.filename = static_cast(valueDeserializer.readString()); - value.lineno = static_cast(valueDeserializer.readNumber()); - value.colno = static_cast(valueDeserializer.readNumber()); - value.error = static_cast(valueDeserializer.readObject()); - return value; - } - Ark_Event readEvent() + Ark_ListItemGroupOptions readListItemGroupOptions() { - Ark_Event value = {}; + Ark_ListItemGroupOptions value = {}; Deserializer& valueDeserializer = *this; - value.type = static_cast(valueDeserializer.readString()); - value.timeStamp = valueDeserializer.readInt64(); + const auto header_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder header_buf = {}; + header_buf.tag = header_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (header_buf_runtimeType)) + { + header_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + value.header = header_buf; + const auto headerComponent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ComponentContent headerComponent_buf = {}; + headerComponent_buf.tag = headerComponent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (headerComponent_buf_runtimeType)) + { + headerComponent_buf.value = static_cast(valueDeserializer.readComponentContent()); + } + value.headerComponent = headerComponent_buf; + const auto footer_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder footer_buf = {}; + footer_buf.tag = footer_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (footer_buf_runtimeType)) + { + footer_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + value.footer = footer_buf; + const auto footerComponent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ComponentContent footerComponent_buf = {}; + footerComponent_buf.tag = footerComponent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (footerComponent_buf_runtimeType)) + { + footerComponent_buf.value = static_cast(valueDeserializer.readComponentContent()); + } + value.footerComponent = footerComponent_buf; + const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String space_buf = {}; + space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + { + const Ark_Int8 space_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String space_buf_ = {}; + space_buf_.selector = space_buf__selector; + if (space_buf__selector == 0) { + space_buf_.selector = 0; + space_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (space_buf__selector == 1) { + space_buf_.selector = 1; + space_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for space_buf_ has to be chosen through deserialisation."); + } + space_buf.value = static_cast(space_buf_); + } + value.space = space_buf; + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ListItemGroupStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + { + style_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.style = style_buf; return value; } - Ark_ExpectedFrameRateRange readExpectedFrameRateRange() + Ark_ListItemOptions readListItemOptions() { - Ark_ExpectedFrameRateRange value = {}; + Ark_ListItemOptions value = {}; Deserializer& valueDeserializer = *this; - value.min = static_cast(valueDeserializer.readNumber()); - value.max = static_cast(valueDeserializer.readNumber()); - value.expected = static_cast(valueDeserializer.readNumber()); + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ListItemStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + { + style_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.style = style_buf; return value; } - Ark_FingerInfo readFingerInfo() + Ark_ListOptions readListOptions() { - Ark_FingerInfo value = {}; + Ark_ListOptions value = {}; Deserializer& valueDeserializer = *this; - value.id = static_cast(valueDeserializer.readNumber()); - value.globalX = static_cast(valueDeserializer.readNumber()); - value.globalY = static_cast(valueDeserializer.readNumber()); - value.localX = static_cast(valueDeserializer.readNumber()); - value.localY = static_cast(valueDeserializer.readNumber()); - value.displayX = static_cast(valueDeserializer.readNumber()); - value.displayY = static_cast(valueDeserializer.readNumber()); + const auto initialIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number initialIndex_buf = {}; + initialIndex_buf.tag = initialIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (initialIndex_buf_runtimeType)) + { + initialIndex_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.initialIndex = initialIndex_buf; + const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String space_buf = {}; + space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + { + const Ark_Int8 space_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String space_buf_ = {}; + space_buf_.selector = space_buf__selector; + if (space_buf__selector == 0) { + space_buf_.selector = 0; + space_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (space_buf__selector == 1) { + space_buf_.selector = 1; + space_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for space_buf_ has to be chosen through deserialisation."); + } + space_buf.value = static_cast(space_buf_); + } + value.space = space_buf; + const auto scroller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Scroller scroller_buf = {}; + scroller_buf.tag = scroller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scroller_buf_runtimeType)) + { + scroller_buf.value = static_cast(valueDeserializer.readScroller()); + } + value.scroller = scroller_buf; return value; } - Ark_FirstMeaningfulPaint readFirstMeaningfulPaint() + Ark_LoadCommittedDetails readLoadCommittedDetails() { - Ark_FirstMeaningfulPaint value = {}; + Ark_LoadCommittedDetails value = {}; Deserializer& valueDeserializer = *this; - const auto navigationStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number navigationStartTime_buf = {}; - navigationStartTime_buf.tag = navigationStartTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (navigationStartTime_buf_runtimeType)) - { - navigationStartTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.navigationStartTime = navigationStartTime_buf; - const auto firstMeaningfulPaintTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number firstMeaningfulPaintTime_buf = {}; - firstMeaningfulPaintTime_buf.tag = firstMeaningfulPaintTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (firstMeaningfulPaintTime_buf_runtimeType)) - { - firstMeaningfulPaintTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.firstMeaningfulPaintTime = firstMeaningfulPaintTime_buf; + value.isMainFrame = valueDeserializer.readBoolean(); + value.isSameDocument = valueDeserializer.readBoolean(); + value.didReplaceEntry = valueDeserializer.readBoolean(); + value.navigationType = static_cast(valueDeserializer.readInt32()); + value.url = static_cast(valueDeserializer.readString()); return value; } - Ark_FolderStackOptions readFolderStackOptions() + Ark_LocalizedBarrierStyle readLocalizedBarrierStyle() { - Ark_FolderStackOptions value = {}; + Ark_LocalizedBarrierStyle value = {}; Deserializer& valueDeserializer = *this; - const auto upperItems_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_String upperItems_buf = {}; - upperItems_buf.tag = upperItems_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (upperItems_buf_runtimeType)) - { - const Ark_Int32 upperItems_buf__length = valueDeserializer.readInt32(); - Array_String upperItems_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&upperItems_buf_, upperItems_buf__length); - for (int upperItems_buf__i = 0; upperItems_buf__i < upperItems_buf__length; upperItems_buf__i++) { - upperItems_buf_.array[upperItems_buf__i] = static_cast(valueDeserializer.readString()); - } - upperItems_buf.value = upperItems_buf_; + value.id = static_cast(valueDeserializer.readString()); + value.localizedDirection = static_cast(valueDeserializer.readInt32()); + const Ark_Int32 referencedId_buf_length = valueDeserializer.readInt32(); + Array_String referencedId_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&referencedId_buf, referencedId_buf_length); + for (int referencedId_buf_i = 0; referencedId_buf_i < referencedId_buf_length; referencedId_buf_i++) { + referencedId_buf.array[referencedId_buf_i] = static_cast(valueDeserializer.readString()); } - value.upperItems = upperItems_buf; + value.referencedId = referencedId_buf; return value; } - Ark_FontFeature readFontFeature() + Ark_LocalizedHorizontalAlignParam readLocalizedHorizontalAlignParam() { - Ark_FontFeature value = {}; + Ark_LocalizedHorizontalAlignParam value = {}; Deserializer& valueDeserializer = *this; - value.name = static_cast(valueDeserializer.readString()); - value.value = static_cast(valueDeserializer.readNumber()); + value.anchor = static_cast(valueDeserializer.readString()); + value.align = static_cast(valueDeserializer.readInt32()); return value; } - Ark_FontInfo readFontInfo() + Ark_LocalizedVerticalAlignParam readLocalizedVerticalAlignParam() { - Ark_FontInfo value = {}; + Ark_LocalizedVerticalAlignParam value = {}; Deserializer& valueDeserializer = *this; - value.path = static_cast(valueDeserializer.readString()); - value.postScriptName = static_cast(valueDeserializer.readString()); - value.fullName = static_cast(valueDeserializer.readString()); - value.family = static_cast(valueDeserializer.readString()); - value.subfamily = static_cast(valueDeserializer.readString()); - value.weight = static_cast(valueDeserializer.readNumber()); - value.width = static_cast(valueDeserializer.readNumber()); - value.italic = valueDeserializer.readBoolean(); - value.monoSpace = valueDeserializer.readBoolean(); - value.symbolic = valueDeserializer.readBoolean(); + value.anchor = static_cast(valueDeserializer.readString()); + value.align = static_cast(valueDeserializer.readInt32()); return value; } - Ark_FontMetrics readFontMetrics() + Ark_LocationButtonOptions readLocationButtonOptions() { - Ark_FontMetrics value = {}; + Ark_LocationButtonOptions value = {}; Deserializer& valueDeserializer = *this; - const auto flags_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FontMetricsFlags flags_buf = {}; - flags_buf.tag = flags_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (flags_buf_runtimeType)) - { - flags_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.flags = flags_buf; - value.top = static_cast(valueDeserializer.readNumber()); - value.ascent = static_cast(valueDeserializer.readNumber()); - value.descent = static_cast(valueDeserializer.readNumber()); - value.bottom = static_cast(valueDeserializer.readNumber()); - value.leading = static_cast(valueDeserializer.readNumber()); - const auto avgCharWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number avgCharWidth_buf = {}; - avgCharWidth_buf.tag = avgCharWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (avgCharWidth_buf_runtimeType)) + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LocationIconStyle icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) { - avgCharWidth_buf.value = static_cast(valueDeserializer.readNumber()); + icon_buf.value = static_cast(valueDeserializer.readInt32()); } - value.avgCharWidth = avgCharWidth_buf; - const auto maxCharWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number maxCharWidth_buf = {}; - maxCharWidth_buf.tag = maxCharWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (maxCharWidth_buf_runtimeType)) + value.icon = icon_buf; + const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LocationDescription text_buf = {}; + text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) { - maxCharWidth_buf.value = static_cast(valueDeserializer.readNumber()); + text_buf.value = static_cast(valueDeserializer.readInt32()); } - value.maxCharWidth = maxCharWidth_buf; - const auto xMin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number xMin_buf = {}; - xMin_buf.tag = xMin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xMin_buf_runtimeType)) + value.text = text_buf; + const auto buttonType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ButtonType buttonType_buf = {}; + buttonType_buf.tag = buttonType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (buttonType_buf_runtimeType)) { - xMin_buf.value = static_cast(valueDeserializer.readNumber()); + buttonType_buf.value = static_cast(valueDeserializer.readInt32()); } - value.xMin = xMin_buf; - const auto xMax_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number xMax_buf = {}; - xMax_buf.tag = xMax_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xMax_buf_runtimeType)) + value.buttonType = buttonType_buf; + return value; + } + Ark_LongPressGestureHandlerOptions readLongPressGestureHandlerOptions() + { + Ark_LongPressGestureHandlerOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto isFingerCountLimited_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isFingerCountLimited_buf = {}; + isFingerCountLimited_buf.tag = isFingerCountLimited_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) { - xMax_buf.value = static_cast(valueDeserializer.readNumber()); + isFingerCountLimited_buf.value = valueDeserializer.readBoolean(); } - value.xMax = xMax_buf; - const auto xHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number xHeight_buf = {}; - xHeight_buf.tag = xHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xHeight_buf_runtimeType)) + value.isFingerCountLimited = isFingerCountLimited_buf; + const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fingers_buf = {}; + fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) { - xHeight_buf.value = static_cast(valueDeserializer.readNumber()); + fingers_buf.value = static_cast(valueDeserializer.readNumber()); } - value.xHeight = xHeight_buf; - const auto capHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number capHeight_buf = {}; - capHeight_buf.tag = capHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (capHeight_buf_runtimeType)) + value.fingers = fingers_buf; + const auto repeat_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean repeat_buf = {}; + repeat_buf.tag = repeat_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (repeat_buf_runtimeType)) { - capHeight_buf.value = static_cast(valueDeserializer.readNumber()); + repeat_buf.value = valueDeserializer.readBoolean(); } - value.capHeight = capHeight_buf; - const auto underlineThickness_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number underlineThickness_buf = {}; - underlineThickness_buf.tag = underlineThickness_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (underlineThickness_buf_runtimeType)) + value.repeat = repeat_buf; + const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number duration_buf = {}; + duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) { - underlineThickness_buf.value = static_cast(valueDeserializer.readNumber()); + duration_buf.value = static_cast(valueDeserializer.readNumber()); } - value.underlineThickness = underlineThickness_buf; - const auto underlinePosition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number underlinePosition_buf = {}; - underlinePosition_buf.tag = underlinePosition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (underlinePosition_buf_runtimeType)) + value.duration = duration_buf; + return value; + } + Ark_MarqueeOptions readMarqueeOptions() + { + Ark_MarqueeOptions value = {}; + Deserializer& valueDeserializer = *this; + value.start = valueDeserializer.readBoolean(); + const auto step_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number step_buf = {}; + step_buf.tag = step_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (step_buf_runtimeType)) { - underlinePosition_buf.value = static_cast(valueDeserializer.readNumber()); + step_buf.value = static_cast(valueDeserializer.readNumber()); } - value.underlinePosition = underlinePosition_buf; - const auto strikethroughThickness_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number strikethroughThickness_buf = {}; - strikethroughThickness_buf.tag = strikethroughThickness_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strikethroughThickness_buf_runtimeType)) + value.step = step_buf; + const auto loop_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number loop_buf = {}; + loop_buf.tag = loop_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (loop_buf_runtimeType)) { - strikethroughThickness_buf.value = static_cast(valueDeserializer.readNumber()); + loop_buf.value = static_cast(valueDeserializer.readNumber()); } - value.strikethroughThickness = strikethroughThickness_buf; - const auto strikethroughPosition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number strikethroughPosition_buf = {}; - strikethroughPosition_buf.tag = strikethroughPosition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strikethroughPosition_buf_runtimeType)) + value.loop = loop_buf; + const auto fromStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean fromStart_buf = {}; + fromStart_buf.tag = fromStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fromStart_buf_runtimeType)) { - strikethroughPosition_buf.value = static_cast(valueDeserializer.readNumber()); + fromStart_buf.value = valueDeserializer.readBoolean(); } - value.strikethroughPosition = strikethroughPosition_buf; + value.fromStart = fromStart_buf; + value.src = static_cast(valueDeserializer.readString()); return value; } - Ark_FontSettingOptions readFontSettingOptions() + Ark_Matrix2D readMatrix2D() { - Ark_FontSettingOptions value = {}; Deserializer& valueDeserializer = *this; - const auto enableVariableFontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enableVariableFontWeight_buf = {}; - enableVariableFontWeight_buf.tag = enableVariableFontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enableVariableFontWeight_buf_runtimeType)) - { - enableVariableFontWeight_buf.value = valueDeserializer.readBoolean(); - } - value.enableVariableFontWeight = enableVariableFontWeight_buf; - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_FontVariation readFontVariation() + Ark_Measurable readMeasurable() { - Ark_FontVariation value = {}; Deserializer& valueDeserializer = *this; - value.axis = static_cast(valueDeserializer.readString()); - value.value = static_cast(valueDeserializer.readNumber()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_ForegroundEffectOptions readForegroundEffectOptions() + Ark_MeasureResult readMeasureResult() { - Ark_ForegroundEffectOptions value = {}; + Ark_MeasureResult value = {}; Deserializer& valueDeserializer = *this; - value.radius = static_cast(valueDeserializer.readNumber()); + value.width = static_cast(valueDeserializer.readNumber()); + value.height = static_cast(valueDeserializer.readNumber()); return value; } - Ark_FormCallbackInfo readFormCallbackInfo() + Ark_MessageEvents readMessageEvents() { - Ark_FormCallbackInfo value = {}; + Ark_MessageEvents value = {}; Deserializer& valueDeserializer = *this; - value.id = valueDeserializer.readInt64(); - value.idString = static_cast(valueDeserializer.readString()); + value.type = static_cast(valueDeserializer.readString()); + value.timeStamp = valueDeserializer.readInt64(); + value.data = static_cast(valueDeserializer.readObject()); return value; } - Ark_FormLinkOptions readFormLinkOptions() + Ark_MonthData readMonthData() { - Ark_FormLinkOptions value = {}; + Ark_MonthData value = {}; Deserializer& valueDeserializer = *this; - value.action = static_cast(valueDeserializer.readString()); - const auto moduleName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String moduleName_buf = {}; - moduleName_buf.tag = moduleName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (moduleName_buf_runtimeType)) - { - moduleName_buf.value = static_cast(valueDeserializer.readString()); - } - value.moduleName = moduleName_buf; - const auto bundleName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String bundleName_buf = {}; - bundleName_buf.tag = bundleName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bundleName_buf_runtimeType)) - { - bundleName_buf.value = static_cast(valueDeserializer.readString()); - } - value.bundleName = bundleName_buf; - const auto abilityName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String abilityName_buf = {}; - abilityName_buf.tag = abilityName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (abilityName_buf_runtimeType)) - { - abilityName_buf.value = static_cast(valueDeserializer.readString()); - } - value.abilityName = abilityName_buf; - const auto uri_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String uri_buf = {}; - uri_buf.tag = uri_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (uri_buf_runtimeType)) - { - uri_buf.value = static_cast(valueDeserializer.readString()); - } - value.uri = uri_buf; - const auto params_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Object params_buf = {}; - params_buf.tag = params_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (params_buf_runtimeType)) - { - params_buf.value = static_cast(valueDeserializer.readObject()); + value.year = static_cast(valueDeserializer.readNumber()); + value.month = static_cast(valueDeserializer.readNumber()); + const Ark_Int32 data_buf_length = valueDeserializer.readInt32(); + Array_CalendarDay data_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&data_buf, data_buf_length); + for (int data_buf_i = 0; data_buf_i < data_buf_length; data_buf_i++) { + data_buf.array[data_buf_i] = valueDeserializer.readCalendarDay(); } - value.params = params_buf; + value.data = data_buf; return value; } - Ark_Frame readFrame() + Ark_MotionBlurAnchor readMotionBlurAnchor() { - Ark_Frame value = {}; + Ark_MotionBlurAnchor value = {}; Deserializer& valueDeserializer = *this; value.x = static_cast(valueDeserializer.readNumber()); value.y = static_cast(valueDeserializer.readNumber()); - value.width = static_cast(valueDeserializer.readNumber()); - value.height = static_cast(valueDeserializer.readNumber()); - return value; - } - Ark_FullScreenEnterEvent readFullScreenEnterEvent() - { - Ark_FullScreenEnterEvent value = {}; - Deserializer& valueDeserializer = *this; - value.handler = static_cast(valueDeserializer.readFullScreenExitHandler()); - const auto videoWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number videoWidth_buf = {}; - videoWidth_buf.tag = videoWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (videoWidth_buf_runtimeType)) - { - videoWidth_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.videoWidth = videoWidth_buf; - const auto videoHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number videoHeight_buf = {}; - videoHeight_buf.tag = videoHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (videoHeight_buf_runtimeType)) - { - videoHeight_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.videoHeight = videoHeight_buf; return value; } - Ark_GaugeOptions readGaugeOptions() + Ark_MotionBlurOptions readMotionBlurOptions() { - Ark_GaugeOptions value = {}; + Ark_MotionBlurOptions value = {}; Deserializer& valueDeserializer = *this; - value.value = static_cast(valueDeserializer.readNumber()); - const auto min_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number min_buf = {}; - min_buf.tag = min_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (min_buf_runtimeType)) - { - min_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.min = min_buf; - const auto max_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number max_buf = {}; - max_buf.tag = max_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (max_buf_runtimeType)) - { - max_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.max = max_buf; + value.radius = static_cast(valueDeserializer.readNumber()); + value.anchor = valueDeserializer.readMotionBlurAnchor(); return value; } - Ark_GeometryTransitionOptions readGeometryTransitionOptions() + Ark_MotionPathOptions readMotionPathOptions() { - Ark_GeometryTransitionOptions value = {}; + Ark_MotionPathOptions value = {}; Deserializer& valueDeserializer = *this; - const auto follow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean follow_buf = {}; - follow_buf.tag = follow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (follow_buf_runtimeType)) + value.path = static_cast(valueDeserializer.readString()); + const auto from_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number from_buf = {}; + from_buf.tag = from_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (from_buf_runtimeType)) { - follow_buf.value = valueDeserializer.readBoolean(); + from_buf.value = static_cast(valueDeserializer.readNumber()); } - value.follow = follow_buf; - const auto hierarchyStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TransitionHierarchyStrategy hierarchyStrategy_buf = {}; - hierarchyStrategy_buf.tag = hierarchyStrategy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (hierarchyStrategy_buf_runtimeType)) + value.from = from_buf; + const auto to_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number to_buf = {}; + to_buf.tag = to_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (to_buf_runtimeType)) { - hierarchyStrategy_buf.value = static_cast(valueDeserializer.readInt32()); + to_buf.value = static_cast(valueDeserializer.readNumber()); } - value.hierarchyStrategy = hierarchyStrategy_buf; - return value; - } - Ark_GestureInfo readGestureInfo() - { - Ark_GestureInfo value = {}; - Deserializer& valueDeserializer = *this; - const auto tag_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String tag_buf = {}; - tag_buf.tag = tag_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (tag_buf_runtimeType)) + value.to = to_buf; + const auto rotatable_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean rotatable_buf = {}; + rotatable_buf.tag = rotatable_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (rotatable_buf_runtimeType)) { - tag_buf.value = static_cast(valueDeserializer.readString()); + rotatable_buf.value = valueDeserializer.readBoolean(); } - value.tag = tag_buf; - value.type = static_cast(valueDeserializer.readInt32()); - value.isSystemGesture = valueDeserializer.readBoolean(); + value.rotatable = rotatable_buf; return value; } - Ark_GestureStyleInterface readGestureStyleInterface() + Ark_MutableStyledString readMutableStyledString() { - Ark_GestureStyleInterface value = {}; Deserializer& valueDeserializer = *this; - const auto onClick_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_ClickEvent_Void onClick_buf = {}; - onClick_buf.tag = onClick_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onClick_buf_runtimeType)) - { - onClick_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))}; - } - value.onClick = onClick_buf; - const auto onLongPress_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_GestureEvent_Void onLongPress_buf = {}; - onLongPress_buf.tag = onLongPress_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onLongPress_buf_runtimeType)) - { - onLongPress_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))}; - } - value.onLongPress = onLongPress_buf; - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_GridColColumnOption readGridColColumnOption() + Ark_NativeEmbedVisibilityInfo readNativeEmbedVisibilityInfo() { - Ark_GridColColumnOption value = {}; + Ark_NativeEmbedVisibilityInfo value = {}; Deserializer& valueDeserializer = *this; - const auto xs_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number xs_buf = {}; - xs_buf.tag = xs_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xs_buf_runtimeType)) - { - xs_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.xs = xs_buf; - const auto sm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number sm_buf = {}; - sm_buf.tag = sm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (sm_buf_runtimeType)) - { - sm_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.sm = sm_buf; - const auto md_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number md_buf = {}; - md_buf.tag = md_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (md_buf_runtimeType)) - { - md_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.md = md_buf; - const auto lg_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number lg_buf = {}; - lg_buf.tag = lg_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lg_buf_runtimeType)) - { - lg_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.lg = lg_buf; - const auto xl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number xl_buf = {}; - xl_buf.tag = xl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xl_buf_runtimeType)) - { - xl_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.xl = xl_buf; - const auto xxl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number xxl_buf = {}; - xxl_buf.tag = xxl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xxl_buf_runtimeType)) - { - xxl_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.xxl = xxl_buf; + value.visibility = valueDeserializer.readBoolean(); + value.embedId = static_cast(valueDeserializer.readString()); return value; } - Ark_GridContainerOptions readGridContainerOptions() + Ark_NavContentInfo readNavContentInfo() { - Ark_GridContainerOptions value = {}; + Ark_NavContentInfo value = {}; Deserializer& valueDeserializer = *this; - const auto columns_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String columns_buf = {}; - columns_buf.tag = columns_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (columns_buf_runtimeType)) - { - const Ark_Int8 columns_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String columns_buf_ = {}; - columns_buf_.selector = columns_buf__selector; - if (columns_buf__selector == 0) { - columns_buf_.selector = 0; - columns_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (columns_buf__selector == 1) { - columns_buf_.selector = 1; - columns_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for columns_buf_ has to be chosen through deserialisation."); - } - columns_buf.value = static_cast(columns_buf_); + const auto name_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String name_buf = {}; + name_buf.tag = name_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (name_buf_runtimeType)) + { + name_buf.value = static_cast(valueDeserializer.readString()); } - value.columns = columns_buf; - const auto sizeType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SizeType sizeType_buf = {}; - sizeType_buf.tag = sizeType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (sizeType_buf_runtimeType)) + value.name = name_buf; + value.index = static_cast(valueDeserializer.readNumber()); + const auto mode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NavDestinationMode mode_buf = {}; + mode_buf.tag = mode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mode_buf_runtimeType)) { - sizeType_buf.value = static_cast(valueDeserializer.readInt32()); + mode_buf.value = static_cast(valueDeserializer.readInt32()); } - value.sizeType = sizeType_buf; - const auto gutter_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String gutter_buf = {}; - gutter_buf.tag = gutter_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (gutter_buf_runtimeType)) + value.mode = mode_buf; + const auto param_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Object param_buf = {}; + param_buf.tag = param_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (param_buf_runtimeType)) { - const Ark_Int8 gutter_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String gutter_buf_ = {}; - gutter_buf_.selector = gutter_buf__selector; - if (gutter_buf__selector == 0) { - gutter_buf_.selector = 0; - gutter_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (gutter_buf__selector == 1) { - gutter_buf_.selector = 1; - gutter_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for gutter_buf_ has to be chosen through deserialisation."); - } - gutter_buf.value = static_cast(gutter_buf_); + param_buf.value = static_cast(valueDeserializer.readObject()); } - value.gutter = gutter_buf; - const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String margin_buf = {}; - margin_buf.tag = margin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + value.param = param_buf; + const auto navDestinationId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String navDestinationId_buf = {}; + navDestinationId_buf.tag = navDestinationId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (navDestinationId_buf_runtimeType)) { - const Ark_Int8 margin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String margin_buf_ = {}; - margin_buf_.selector = margin_buf__selector; - if (margin_buf__selector == 0) { - margin_buf_.selector = 0; - margin_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__selector == 1) { - margin_buf_.selector = 1; - margin_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for margin_buf_ has to be chosen through deserialisation."); - } - margin_buf.value = static_cast(margin_buf_); + navDestinationId_buf.value = static_cast(valueDeserializer.readString()); } - value.margin = margin_buf; + value.navDestinationId = navDestinationId_buf; return value; } - Ark_GridItemOptions readGridItemOptions() + Ark_NavDestinationTransition readNavDestinationTransition() { - Ark_GridItemOptions value = {}; + Ark_NavDestinationTransition value = {}; Deserializer& valueDeserializer = *this; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_GridItemStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + const auto onTransitionEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onTransitionEnd_buf = {}; + onTransitionEnd_buf.tag = onTransitionEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onTransitionEnd_buf_runtimeType)) { - style_buf.value = static_cast(valueDeserializer.readInt32()); + onTransitionEnd_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; } - value.style = style_buf; + value.onTransitionEnd = onTransitionEnd_buf; + const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number duration_buf = {}; + duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.duration = duration_buf; + const auto curve_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Curve curve_buf = {}; + curve_buf.tag = curve_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (curve_buf_runtimeType)) + { + curve_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.curve = curve_buf; + const auto delay_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number delay_buf = {}; + delay_buf.tag = delay_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (delay_buf_runtimeType)) + { + delay_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.delay = delay_buf; + value.event = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; return value; } - Ark_GridLayoutOptions readGridLayoutOptions() + Ark_NavigationAnimatedTransition readNavigationAnimatedTransition() { - Ark_GridLayoutOptions value = {}; + Ark_NavigationAnimatedTransition value = {}; Deserializer& valueDeserializer = *this; - Ark_Tuple_Number_Number regularSize_buf = {}; - regularSize_buf.value0 = static_cast(valueDeserializer.readNumber()); - regularSize_buf.value1 = static_cast(valueDeserializer.readNumber()); - value.regularSize = regularSize_buf; - const auto irregularIndexes_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_Number irregularIndexes_buf = {}; - irregularIndexes_buf.tag = irregularIndexes_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (irregularIndexes_buf_runtimeType)) + const auto onTransitionEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Boolean_Void onTransitionEnd_buf = {}; + onTransitionEnd_buf.tag = onTransitionEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onTransitionEnd_buf_runtimeType)) { - const Ark_Int32 irregularIndexes_buf__length = valueDeserializer.readInt32(); - Array_Number irregularIndexes_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&irregularIndexes_buf_, irregularIndexes_buf__length); - for (int irregularIndexes_buf__i = 0; irregularIndexes_buf__i < irregularIndexes_buf__length; irregularIndexes_buf__i++) { - irregularIndexes_buf_.array[irregularIndexes_buf__i] = static_cast(valueDeserializer.readNumber()); - } - irregularIndexes_buf.value = irregularIndexes_buf_; + onTransitionEnd_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; } - value.irregularIndexes = irregularIndexes_buf; - const auto onGetIrregularSizeByIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Number_Tuple_Number_Number onGetIrregularSizeByIndex_buf = {}; - onGetIrregularSizeByIndex_buf.tag = onGetIrregularSizeByIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onGetIrregularSizeByIndex_buf_runtimeType)) + value.onTransitionEnd = onTransitionEnd_buf; + const auto timeout_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number timeout_buf = {}; + timeout_buf.tag = timeout_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) { - onGetIrregularSizeByIndex_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Tuple_Number_Number)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Tuple_Number_Number))))}; + timeout_buf.value = static_cast(valueDeserializer.readNumber()); } - value.onGetIrregularSizeByIndex = onGetIrregularSizeByIndex_buf; - const auto onGetRectByIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Number_Tuple_Number_Number_Number_Number onGetRectByIndex_buf = {}; - onGetRectByIndex_buf.tag = onGetRectByIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onGetRectByIndex_buf_runtimeType)) + value.timeout = timeout_buf; + const auto isInteractive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isInteractive_buf = {}; + isInteractive_buf.tag = isInteractive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isInteractive_buf_runtimeType)) { - onGetRectByIndex_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Tuple_Number_Number_Number_Number)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Tuple_Number_Number_Number_Number))))}; + isInteractive_buf.value = valueDeserializer.readBoolean(); } - value.onGetRectByIndex = onGetRectByIndex_buf; + value.isInteractive = isInteractive_buf; + value.transition = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavigationTransitionProxy_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavigationTransitionProxy_Void))))}; return value; } - Ark_GridRowColumnOption readGridRowColumnOption() + Ark_NavigationInterception readNavigationInterception() { - Ark_GridRowColumnOption value = {}; + Ark_NavigationInterception value = {}; Deserializer& valueDeserializer = *this; - const auto xs_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number xs_buf = {}; - xs_buf.tag = xs_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xs_buf_runtimeType)) - { - xs_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.xs = xs_buf; - const auto sm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number sm_buf = {}; - sm_buf.tag = sm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (sm_buf_runtimeType)) + const auto willShow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_InterceptionShowCallback willShow_buf = {}; + willShow_buf.tag = willShow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (willShow_buf_runtimeType)) { - sm_buf.value = static_cast(valueDeserializer.readNumber()); + willShow_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_InterceptionShowCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_InterceptionShowCallback))))}; } - value.sm = sm_buf; - const auto md_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number md_buf = {}; - md_buf.tag = md_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (md_buf_runtimeType)) + value.willShow = willShow_buf; + const auto didShow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_InterceptionShowCallback didShow_buf = {}; + didShow_buf.tag = didShow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (didShow_buf_runtimeType)) { - md_buf.value = static_cast(valueDeserializer.readNumber()); + didShow_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_InterceptionShowCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_InterceptionShowCallback))))}; } - value.md = md_buf; - const auto lg_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number lg_buf = {}; - lg_buf.tag = lg_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lg_buf_runtimeType)) + value.didShow = didShow_buf; + const auto modeChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_InterceptionModeCallback modeChange_buf = {}; + modeChange_buf.tag = modeChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (modeChange_buf_runtimeType)) { - lg_buf.value = static_cast(valueDeserializer.readNumber()); + modeChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_InterceptionModeCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_InterceptionModeCallback))))}; } - value.lg = lg_buf; - const auto xl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number xl_buf = {}; - xl_buf.tag = xl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xl_buf_runtimeType)) + value.modeChange = modeChange_buf; + return value; + } + Ark_NavigationOptions readNavigationOptions() + { + Ark_NavigationOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto launchMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LaunchMode launchMode_buf = {}; + launchMode_buf.tag = launchMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (launchMode_buf_runtimeType)) { - xl_buf.value = static_cast(valueDeserializer.readNumber()); + launchMode_buf.value = static_cast(valueDeserializer.readInt32()); } - value.xl = xl_buf; - const auto xxl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number xxl_buf = {}; - xxl_buf.tag = xxl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xxl_buf_runtimeType)) + value.launchMode = launchMode_buf; + const auto animated_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean animated_buf = {}; + animated_buf.tag = animated_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_buf_runtimeType)) { - xxl_buf.value = static_cast(valueDeserializer.readNumber()); + animated_buf.value = valueDeserializer.readBoolean(); } - value.xxl = xxl_buf; + value.animated = animated_buf; return value; } - Ark_Header readHeader() + Ark_NavigationTransitionProxy readNavigationTransitionProxy() { - Ark_Header value = {}; Deserializer& valueDeserializer = *this; - value.headerKey = static_cast(valueDeserializer.readString()); - value.headerValue = static_cast(valueDeserializer.readString()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_HierarchicalSymbolEffect readHierarchicalSymbolEffect() + Ark_NavPathInfo readNavPathInfo() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_HoverEventParam readHoverEventParam() + Ark_NestedScrollInfo readNestedScrollInfo() { - Ark_HoverEventParam value = {}; + Ark_NestedScrollInfo value = {}; Deserializer& valueDeserializer = *this; - value.foldStatus = static_cast(valueDeserializer.readInt32()); - value.isHoverMode = valueDeserializer.readBoolean(); - value.appRotation = static_cast(valueDeserializer.readInt32()); - value.windowStatusType = static_cast(valueDeserializer.readInt32()); + value.parent = static_cast(valueDeserializer.readScroller()); + value.child = static_cast(valueDeserializer.readScroller()); return value; } - Ark_ImageAIOptions readImageAIOptions() + Ark_NestedScrollOptionsExt readNestedScrollOptionsExt() { - Ark_ImageAIOptions value = {}; + Ark_NestedScrollOptionsExt value = {}; Deserializer& valueDeserializer = *this; - const auto types_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_ImageAnalyzerType types_buf = {}; - types_buf.tag = types_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (types_buf_runtimeType)) + const auto scrollUp_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NestedScrollMode scrollUp_buf = {}; + scrollUp_buf.tag = scrollUp_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scrollUp_buf_runtimeType)) { - const Ark_Int32 types_buf__length = valueDeserializer.readInt32(); - Array_ImageAnalyzerType types_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&types_buf_, types_buf__length); - for (int types_buf__i = 0; types_buf__i < types_buf__length; types_buf__i++) { - types_buf_.array[types_buf__i] = static_cast(valueDeserializer.readInt32()); - } - types_buf.value = types_buf_; + scrollUp_buf.value = static_cast(valueDeserializer.readInt32()); } - value.types = types_buf; - const auto aiController_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ImageAnalyzerController aiController_buf = {}; - aiController_buf.tag = aiController_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (aiController_buf_runtimeType)) + value.scrollUp = scrollUp_buf; + const auto scrollDown_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NestedScrollMode scrollDown_buf = {}; + scrollDown_buf.tag = scrollDown_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scrollDown_buf_runtimeType)) { - aiController_buf.value = static_cast(valueDeserializer.readImageAnalyzerController()); + scrollDown_buf.value = static_cast(valueDeserializer.readInt32()); } - value.aiController = aiController_buf; - return value; - } - Ark_ImageAnalyzerConfig readImageAnalyzerConfig() - { - Ark_ImageAnalyzerConfig value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int32 types_buf_length = valueDeserializer.readInt32(); - Array_ImageAnalyzerType types_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&types_buf, types_buf_length); - for (int types_buf_i = 0; types_buf_i < types_buf_length; types_buf_i++) { - types_buf.array[types_buf_i] = static_cast(valueDeserializer.readInt32()); + value.scrollDown = scrollDown_buf; + const auto scrollRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NestedScrollMode scrollRight_buf = {}; + scrollRight_buf.tag = scrollRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scrollRight_buf_runtimeType)) + { + scrollRight_buf.value = static_cast(valueDeserializer.readInt32()); } - value.types = types_buf; + value.scrollRight = scrollRight_buf; + const auto scrollLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_NestedScrollMode scrollLeft_buf = {}; + scrollLeft_buf.tag = scrollLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scrollLeft_buf_runtimeType)) + { + scrollLeft_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.scrollLeft = scrollLeft_buf; return value; } - Ark_ImageBitmap readImageBitmap() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_ImageData readImageData() + Ark_OnAlertEvent readOnAlertEvent() { + Ark_OnAlertEvent value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.url = static_cast(valueDeserializer.readString()); + value.message = static_cast(valueDeserializer.readString()); + value.result = static_cast(valueDeserializer.readJsResult()); + return value; } - Ark_ImageError readImageError() + Ark_OnBeforeUnloadEvent readOnBeforeUnloadEvent() { - Ark_ImageError value = {}; + Ark_OnBeforeUnloadEvent value = {}; Deserializer& valueDeserializer = *this; - value.componentWidth = static_cast(valueDeserializer.readNumber()); - value.componentHeight = static_cast(valueDeserializer.readNumber()); + value.url = static_cast(valueDeserializer.readString()); value.message = static_cast(valueDeserializer.readString()); + value.result = static_cast(valueDeserializer.readJsResult()); return value; } - Ark_ImageLoadResult readImageLoadResult() + Ark_OnClientAuthenticationEvent readOnClientAuthenticationEvent() { - Ark_ImageLoadResult value = {}; + Ark_OnClientAuthenticationEvent value = {}; Deserializer& valueDeserializer = *this; - value.width = static_cast(valueDeserializer.readNumber()); - value.height = static_cast(valueDeserializer.readNumber()); - value.componentWidth = static_cast(valueDeserializer.readNumber()); - value.componentHeight = static_cast(valueDeserializer.readNumber()); - value.loadingStatus = static_cast(valueDeserializer.readNumber()); - value.contentWidth = static_cast(valueDeserializer.readNumber()); - value.contentHeight = static_cast(valueDeserializer.readNumber()); - value.contentOffsetX = static_cast(valueDeserializer.readNumber()); - value.contentOffsetY = static_cast(valueDeserializer.readNumber()); + value.handler = static_cast(valueDeserializer.readClientAuthenticationHandler()); + value.host = static_cast(valueDeserializer.readString()); + value.port = static_cast(valueDeserializer.readNumber()); + const Ark_Int32 keyTypes_buf_length = valueDeserializer.readInt32(); + Array_String keyTypes_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&keyTypes_buf, keyTypes_buf_length); + for (int keyTypes_buf_i = 0; keyTypes_buf_i < keyTypes_buf_length; keyTypes_buf_i++) { + keyTypes_buf.array[keyTypes_buf_i] = static_cast(valueDeserializer.readString()); + } + value.keyTypes = keyTypes_buf; + const Ark_Int32 issuers_buf_length = valueDeserializer.readInt32(); + Array_String issuers_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&issuers_buf, issuers_buf_length); + for (int issuers_buf_i = 0; issuers_buf_i < issuers_buf_length; issuers_buf_i++) { + issuers_buf.array[issuers_buf_i] = static_cast(valueDeserializer.readString()); + } + value.issuers = issuers_buf; return value; } - Ark_ImageSourceSize readImageSourceSize() + Ark_OnConfirmEvent readOnConfirmEvent() { - Ark_ImageSourceSize value = {}; + Ark_OnConfirmEvent value = {}; Deserializer& valueDeserializer = *this; - value.width = static_cast(valueDeserializer.readNumber()); - value.height = static_cast(valueDeserializer.readNumber()); + value.url = static_cast(valueDeserializer.readString()); + value.message = static_cast(valueDeserializer.readString()); + value.result = static_cast(valueDeserializer.readJsResult()); return value; } - Ark_InputCounterOptions readInputCounterOptions() + Ark_OnContextMenuShowEvent readOnContextMenuShowEvent() { - Ark_InputCounterOptions value = {}; + Ark_OnContextMenuShowEvent value = {}; Deserializer& valueDeserializer = *this; - const auto thresholdPercentage_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number thresholdPercentage_buf = {}; - thresholdPercentage_buf.tag = thresholdPercentage_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (thresholdPercentage_buf_runtimeType)) - { - thresholdPercentage_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.thresholdPercentage = thresholdPercentage_buf; - const auto highlightBorder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean highlightBorder_buf = {}; - highlightBorder_buf.tag = highlightBorder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (highlightBorder_buf_runtimeType)) - { - highlightBorder_buf.value = valueDeserializer.readBoolean(); - } - value.highlightBorder = highlightBorder_buf; + value.param = static_cast(valueDeserializer.readWebContextMenuParam()); + value.result = static_cast(valueDeserializer.readWebContextMenuResult()); return value; } - Ark_InsertValue readInsertValue() + Ark_OnDownloadStartEvent readOnDownloadStartEvent() { - Ark_InsertValue value = {}; + Ark_OnDownloadStartEvent value = {}; Deserializer& valueDeserializer = *this; - value.insertOffset = static_cast(valueDeserializer.readNumber()); - value.insertValue = static_cast(valueDeserializer.readString()); + value.url = static_cast(valueDeserializer.readString()); + value.userAgent = static_cast(valueDeserializer.readString()); + value.contentDisposition = static_cast(valueDeserializer.readString()); + value.mimetype = static_cast(valueDeserializer.readString()); + value.contentLength = static_cast(valueDeserializer.readNumber()); return value; } - Ark_IntelligentTrackingPreventionDetails readIntelligentTrackingPreventionDetails() + Ark_OnErrorReceiveEvent readOnErrorReceiveEvent() { - Ark_IntelligentTrackingPreventionDetails value = {}; + Ark_OnErrorReceiveEvent value = {}; Deserializer& valueDeserializer = *this; - value.host = static_cast(valueDeserializer.readString()); - value.trackerHost = static_cast(valueDeserializer.readString()); + value.request = static_cast(valueDeserializer.readWebResourceRequest()); + value.error = static_cast(valueDeserializer.readWebResourceError()); return value; } - Ark_InvertOptions readInvertOptions() + Ark_OnFaviconReceivedEvent readOnFaviconReceivedEvent() { - Ark_InvertOptions value = {}; + Ark_OnFaviconReceivedEvent value = {}; Deserializer& valueDeserializer = *this; - value.low = static_cast(valueDeserializer.readNumber()); - value.high = static_cast(valueDeserializer.readNumber()); - value.threshold = static_cast(valueDeserializer.readNumber()); - value.thresholdRange = static_cast(valueDeserializer.readNumber()); + value.favicon = static_cast(valueDeserializer.readPixelMap()); return value; } - Ark_ItemDragInfo readItemDragInfo() + Ark_OnGeolocationShowEvent readOnGeolocationShowEvent() { - Ark_ItemDragInfo value = {}; + Ark_OnGeolocationShowEvent value = {}; Deserializer& valueDeserializer = *this; - value.x = static_cast(valueDeserializer.readNumber()); - value.y = static_cast(valueDeserializer.readNumber()); + value.origin = static_cast(valueDeserializer.readString()); + value.geolocation = static_cast(valueDeserializer.readJsGeolocation()); return value; } - Ark_KeyboardOptions readKeyboardOptions() + Ark_OnHttpAuthRequestEvent readOnHttpAuthRequestEvent() { - Ark_KeyboardOptions value = {}; + Ark_OnHttpAuthRequestEvent value = {}; Deserializer& valueDeserializer = *this; - const auto supportAvoidance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean supportAvoidance_buf = {}; - supportAvoidance_buf.tag = supportAvoidance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (supportAvoidance_buf_runtimeType)) - { - supportAvoidance_buf.value = valueDeserializer.readBoolean(); - } - value.supportAvoidance = supportAvoidance_buf; + value.handler = static_cast(valueDeserializer.readHttpAuthHandler()); + value.host = static_cast(valueDeserializer.readString()); + value.realm = static_cast(valueDeserializer.readString()); return value; } - Ark_KeyEvent readKeyEvent() + Ark_OnHttpErrorReceiveEvent readOnHttpErrorReceiveEvent() { + Ark_OnHttpErrorReceiveEvent value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.request = static_cast(valueDeserializer.readWebResourceRequest()); + value.response = static_cast(valueDeserializer.readWebResourceResponse()); + return value; } - Ark_LargestContentfulPaint readLargestContentfulPaint() + Ark_OnInterceptRequestEvent readOnInterceptRequestEvent() { - Ark_LargestContentfulPaint value = {}; + Ark_OnInterceptRequestEvent value = {}; Deserializer& valueDeserializer = *this; - const auto navigationStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number navigationStartTime_buf = {}; - navigationStartTime_buf.tag = navigationStartTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (navigationStartTime_buf_runtimeType)) - { - navigationStartTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.navigationStartTime = navigationStartTime_buf; - const auto largestImagePaintTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number largestImagePaintTime_buf = {}; - largestImagePaintTime_buf.tag = largestImagePaintTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (largestImagePaintTime_buf_runtimeType)) - { - largestImagePaintTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.largestImagePaintTime = largestImagePaintTime_buf; - const auto largestTextPaintTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number largestTextPaintTime_buf = {}; - largestTextPaintTime_buf.tag = largestTextPaintTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (largestTextPaintTime_buf_runtimeType)) - { - largestTextPaintTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.largestTextPaintTime = largestTextPaintTime_buf; - const auto imageBPP_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number imageBPP_buf = {}; - imageBPP_buf.tag = imageBPP_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (imageBPP_buf_runtimeType)) - { - imageBPP_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.imageBPP = imageBPP_buf; - const auto largestImageLoadStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number largestImageLoadStartTime_buf = {}; - largestImageLoadStartTime_buf.tag = largestImageLoadStartTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (largestImageLoadStartTime_buf_runtimeType)) - { - largestImageLoadStartTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.largestImageLoadStartTime = largestImageLoadStartTime_buf; - const auto largestImageLoadEndTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number largestImageLoadEndTime_buf = {}; - largestImageLoadEndTime_buf.tag = largestImageLoadEndTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (largestImageLoadEndTime_buf_runtimeType)) - { - largestImageLoadEndTime_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.largestImageLoadEndTime = largestImageLoadEndTime_buf; + value.request = static_cast(valueDeserializer.readWebResourceRequest()); return value; } - Ark_LengthMetrics readLengthMetrics() + Ark_OnLoadInterceptEvent readOnLoadInterceptEvent() { + Ark_OnLoadInterceptEvent value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.data = static_cast(valueDeserializer.readWebResourceRequest()); + return value; } - Ark_LetterSpacingStyle readLetterSpacingStyle() + Ark_OnPageBeginEvent readOnPageBeginEvent() { + Ark_OnPageBeginEvent value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.url = static_cast(valueDeserializer.readString()); + return value; } - Ark_LinearGradient_common readLinearGradient_common() + Ark_OnPageEndEvent readOnPageEndEvent() { - Ark_LinearGradient_common value = {}; + Ark_OnPageEndEvent value = {}; Deserializer& valueDeserializer = *this; - const auto angle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String angle_buf = {}; - angle_buf.tag = angle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (angle_buf_runtimeType)) - { - const Ark_Int8 angle_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String angle_buf_ = {}; - angle_buf_.selector = angle_buf__selector; - if (angle_buf__selector == 0) { - angle_buf_.selector = 0; - angle_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (angle_buf__selector == 1) { - angle_buf_.selector = 1; - angle_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for angle_buf_ has to be chosen through deserialisation."); - } - angle_buf.value = static_cast(angle_buf_); - } - value.angle = angle_buf; - const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_GradientDirection direction_buf = {}; - direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) - { - direction_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.direction = direction_buf; - const Ark_Int32 colors_buf_length = valueDeserializer.readInt32(); - Array_Tuple_ResourceColor_Number colors_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&colors_buf, colors_buf_length); - for (int colors_buf_i = 0; colors_buf_i < colors_buf_length; colors_buf_i++) { - Ark_Tuple_ResourceColor_Number colors_buf_buf = {}; - const Ark_Int8 colors_buf_buf_value0_buf_selector = valueDeserializer.readInt8(); - Ark_ResourceColor colors_buf_buf_value0_buf = {}; - colors_buf_buf_value0_buf.selector = colors_buf_buf_value0_buf_selector; - if (colors_buf_buf_value0_buf_selector == 0) { - colors_buf_buf_value0_buf.selector = 0; - colors_buf_buf_value0_buf.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (colors_buf_buf_value0_buf_selector == 1) { - colors_buf_buf_value0_buf.selector = 1; - colors_buf_buf_value0_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (colors_buf_buf_value0_buf_selector == 2) { - colors_buf_buf_value0_buf.selector = 2; - colors_buf_buf_value0_buf.value2 = static_cast(valueDeserializer.readString()); - } - else if (colors_buf_buf_value0_buf_selector == 3) { - colors_buf_buf_value0_buf.selector = 3; - colors_buf_buf_value0_buf.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for colors_buf_buf_value0_buf has to be chosen through deserialisation."); - } - colors_buf_buf.value0 = static_cast(colors_buf_buf_value0_buf); - colors_buf_buf.value1 = static_cast(valueDeserializer.readNumber()); - colors_buf.array[colors_buf_i] = colors_buf_buf; - } - value.colors = colors_buf; - const auto repeating_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean repeating_buf = {}; - repeating_buf.tag = repeating_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (repeating_buf_runtimeType)) - { - repeating_buf.value = valueDeserializer.readBoolean(); - } - value.repeating = repeating_buf; + value.url = static_cast(valueDeserializer.readString()); return value; } - Ark_LinearGradientBlurOptions readLinearGradientBlurOptions() + Ark_OnPageVisibleEvent readOnPageVisibleEvent() { - Ark_LinearGradientBlurOptions value = {}; + Ark_OnPageVisibleEvent value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int32 fractionStops_buf_length = valueDeserializer.readInt32(); - Array_FractionStop fractionStops_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&fractionStops_buf, fractionStops_buf_length); - for (int fractionStops_buf_i = 0; fractionStops_buf_i < fractionStops_buf_length; fractionStops_buf_i++) { - Ark_FractionStop fractionStops_buf_buf = {}; - fractionStops_buf_buf.value0 = static_cast(valueDeserializer.readNumber()); - fractionStops_buf_buf.value1 = static_cast(valueDeserializer.readNumber()); - fractionStops_buf.array[fractionStops_buf_i] = fractionStops_buf_buf; - } - value.fractionStops = fractionStops_buf; - value.direction = static_cast(valueDeserializer.readInt32()); + value.url = static_cast(valueDeserializer.readString()); return value; } - Ark_LinearIndicatorStartOptions readLinearIndicatorStartOptions() + Ark_OnPermissionRequestEvent readOnPermissionRequestEvent() { - Ark_LinearIndicatorStartOptions value = {}; + Ark_OnPermissionRequestEvent value = {}; Deserializer& valueDeserializer = *this; - const auto interval_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number interval_buf = {}; - interval_buf.tag = interval_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (interval_buf_runtimeType)) - { - interval_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.interval = interval_buf; - const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number duration_buf = {}; - duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) - { - duration_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.duration = duration_buf; + value.request = static_cast(valueDeserializer.readPermissionRequest()); return value; } - Ark_LineHeightStyle readLineHeightStyle() + Ark_OnPromptEvent readOnPromptEvent() { + Ark_OnPromptEvent value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.url = static_cast(valueDeserializer.readString()); + value.message = static_cast(valueDeserializer.readString()); + value.value = static_cast(valueDeserializer.readString()); + value.result = static_cast(valueDeserializer.readJsResult()); + return value; } - Ark_LineMetrics readLineMetrics() + Ark_OnRefreshAccessedHistoryEvent readOnRefreshAccessedHistoryEvent() { - Ark_LineMetrics value = {}; + Ark_OnRefreshAccessedHistoryEvent value = {}; Deserializer& valueDeserializer = *this; - value.startIndex = static_cast(valueDeserializer.readNumber()); - value.endIndex = static_cast(valueDeserializer.readNumber()); - value.ascent = static_cast(valueDeserializer.readNumber()); - value.descent = static_cast(valueDeserializer.readNumber()); - value.height = static_cast(valueDeserializer.readNumber()); - value.width = static_cast(valueDeserializer.readNumber()); - value.left = static_cast(valueDeserializer.readNumber()); - value.baseline = static_cast(valueDeserializer.readNumber()); - value.lineNumber = static_cast(valueDeserializer.readNumber()); - value.topHeight = static_cast(valueDeserializer.readNumber()); - const Ark_Int32 runMetrics_buf_size = valueDeserializer.readInt32(); - Map_Number_RunMetrics runMetrics_buf = {}; - valueDeserializer.resizeMap(&runMetrics_buf, runMetrics_buf_size); - for (int runMetrics_buf_i = 0; runMetrics_buf_i < runMetrics_buf_size; runMetrics_buf_i++) { - const Ark_Number runMetrics_buf_key = static_cast(valueDeserializer.readNumber()); - const Ark_RunMetrics runMetrics_buf_value = valueDeserializer.readRunMetrics(); - runMetrics_buf.keys[runMetrics_buf_i] = runMetrics_buf_key; - runMetrics_buf.values[runMetrics_buf_i] = runMetrics_buf_value; - } - value.runMetrics = runMetrics_buf; + value.url = static_cast(valueDeserializer.readString()); + value.isRefreshed = valueDeserializer.readBoolean(); return value; } - Ark_LineOptions readLineOptions() + Ark_OnRenderExitedEvent readOnRenderExitedEvent() { - Ark_LineOptions value = {}; + Ark_OnRenderExitedEvent value = {}; Deserializer& valueDeserializer = *this; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) - { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); - } - width_buf.value = static_cast(width_buf_); - } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) - { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); - } - height_buf.value = static_cast(height_buf_); - } - value.height = height_buf; + value.renderExitReason = static_cast(valueDeserializer.readInt32()); return value; } - Ark_ListItemGroupOptions readListItemGroupOptions() + Ark_OnResourceLoadEvent readOnResourceLoadEvent() { - Ark_ListItemGroupOptions value = {}; + Ark_OnResourceLoadEvent value = {}; Deserializer& valueDeserializer = *this; - const auto header_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomNodeBuilder header_buf = {}; - header_buf.tag = header_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (header_buf_runtimeType)) - { - header_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; - } - value.header = header_buf; - const auto headerComponent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ComponentContent headerComponent_buf = {}; - headerComponent_buf.tag = headerComponent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (headerComponent_buf_runtimeType)) - { - headerComponent_buf.value = static_cast(valueDeserializer.readComponentContent()); - } - value.headerComponent = headerComponent_buf; - const auto footer_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomNodeBuilder footer_buf = {}; - footer_buf.tag = footer_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (footer_buf_runtimeType)) - { - footer_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; - } - value.footer = footer_buf; - const auto footerComponent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ComponentContent footerComponent_buf = {}; - footerComponent_buf.tag = footerComponent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (footerComponent_buf_runtimeType)) - { - footerComponent_buf.value = static_cast(valueDeserializer.readComponentContent()); - } - value.footerComponent = footerComponent_buf; - const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String space_buf = {}; - space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) - { - const Ark_Int8 space_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String space_buf_ = {}; - space_buf_.selector = space_buf__selector; - if (space_buf__selector == 0) { - space_buf_.selector = 0; - space_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (space_buf__selector == 1) { - space_buf_.selector = 1; - space_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for space_buf_ has to be chosen through deserialisation."); - } - space_buf.value = static_cast(space_buf_); - } - value.space = space_buf; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ListItemGroupStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) - { - style_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.style = style_buf; + value.url = static_cast(valueDeserializer.readString()); return value; } - Ark_ListItemOptions readListItemOptions() + Ark_OnScreenCaptureRequestEvent readOnScreenCaptureRequestEvent() { - Ark_ListItemOptions value = {}; + Ark_OnScreenCaptureRequestEvent value = {}; Deserializer& valueDeserializer = *this; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ListItemStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) - { - style_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.style = style_buf; + value.handler = static_cast(valueDeserializer.readScreenCaptureHandler()); return value; } - Ark_ListOptions readListOptions() + Ark_OnSslErrorEventReceiveEvent readOnSslErrorEventReceiveEvent() { - Ark_ListOptions value = {}; + Ark_OnSslErrorEventReceiveEvent value = {}; Deserializer& valueDeserializer = *this; - const auto initialIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number initialIndex_buf = {}; - initialIndex_buf.tag = initialIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (initialIndex_buf_runtimeType)) - { - initialIndex_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.initialIndex = initialIndex_buf; - const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String space_buf = {}; - space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + value.handler = static_cast(valueDeserializer.readSslErrorHandler()); + value.error = static_cast(valueDeserializer.readInt32()); + const auto certChainData_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_Buffer certChainData_buf = {}; + certChainData_buf.tag = certChainData_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (certChainData_buf_runtimeType)) { - const Ark_Int8 space_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String space_buf_ = {}; - space_buf_.selector = space_buf__selector; - if (space_buf__selector == 0) { - space_buf_.selector = 0; - space_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (space_buf__selector == 1) { - space_buf_.selector = 1; - space_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for space_buf_ has to be chosen through deserialisation."); + const Ark_Int32 certChainData_buf__length = valueDeserializer.readInt32(); + Array_Buffer certChainData_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&certChainData_buf_, certChainData_buf__length); + for (int certChainData_buf__i = 0; certChainData_buf__i < certChainData_buf__length; certChainData_buf__i++) { + certChainData_buf_.array[certChainData_buf__i] = static_cast(valueDeserializer.readBuffer()); } - space_buf.value = static_cast(space_buf_); - } - value.space = space_buf; - const auto scroller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Scroller scroller_buf = {}; - scroller_buf.tag = scroller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scroller_buf_runtimeType)) - { - scroller_buf.value = static_cast(valueDeserializer.readScroller()); + certChainData_buf.value = certChainData_buf_; } - value.scroller = scroller_buf; + value.certChainData = certChainData_buf; return value; } - Ark_LoadCommittedDetails readLoadCommittedDetails() + Ark_OnTitleReceiveEvent readOnTitleReceiveEvent() { - Ark_LoadCommittedDetails value = {}; + Ark_OnTitleReceiveEvent value = {}; Deserializer& valueDeserializer = *this; - value.isMainFrame = valueDeserializer.readBoolean(); - value.isSameDocument = valueDeserializer.readBoolean(); - value.didReplaceEntry = valueDeserializer.readBoolean(); - value.navigationType = static_cast(valueDeserializer.readInt32()); - value.url = static_cast(valueDeserializer.readString()); + value.title = static_cast(valueDeserializer.readString()); return value; } - Ark_LocalizedBarrierStyle readLocalizedBarrierStyle() + Ark_OnTouchIconUrlReceivedEvent readOnTouchIconUrlReceivedEvent() { - Ark_LocalizedBarrierStyle value = {}; + Ark_OnTouchIconUrlReceivedEvent value = {}; Deserializer& valueDeserializer = *this; - value.id = static_cast(valueDeserializer.readString()); - value.localizedDirection = static_cast(valueDeserializer.readInt32()); - const Ark_Int32 referencedId_buf_length = valueDeserializer.readInt32(); - Array_String referencedId_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&referencedId_buf, referencedId_buf_length); - for (int referencedId_buf_i = 0; referencedId_buf_i < referencedId_buf_length; referencedId_buf_i++) { - referencedId_buf.array[referencedId_buf_i] = static_cast(valueDeserializer.readString()); - } - value.referencedId = referencedId_buf; + value.url = static_cast(valueDeserializer.readString()); + value.precomposed = valueDeserializer.readBoolean(); return value; } - Ark_LocalizedHorizontalAlignParam readLocalizedHorizontalAlignParam() + Ark_OnWindowNewEvent readOnWindowNewEvent() { - Ark_LocalizedHorizontalAlignParam value = {}; + Ark_OnWindowNewEvent value = {}; Deserializer& valueDeserializer = *this; - value.anchor = static_cast(valueDeserializer.readString()); - value.align = static_cast(valueDeserializer.readInt32()); + value.isAlert = valueDeserializer.readBoolean(); + value.isUserTrigger = valueDeserializer.readBoolean(); + value.targetUrl = static_cast(valueDeserializer.readString()); + value.handler = static_cast(valueDeserializer.readControllerHandler()); return value; } - Ark_LocalizedVerticalAlignParam readLocalizedVerticalAlignParam() + Ark_Orientation readOrientation() { - Ark_LocalizedVerticalAlignParam value = {}; + Ark_Orientation value = {}; Deserializer& valueDeserializer = *this; - value.anchor = static_cast(valueDeserializer.readString()); - value.align = static_cast(valueDeserializer.readInt32()); + value._OrientationStub = static_cast(valueDeserializer.readString()); return value; } - Ark_LocationButtonOptions readLocationButtonOptions() + Ark_OverlayOffset readOverlayOffset() { - Ark_LocationButtonOptions value = {}; + Ark_OverlayOffset value = {}; Deserializer& valueDeserializer = *this; - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LocationIconStyle icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) - { - icon_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.icon = icon_buf; - const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LocationDescription text_buf = {}; - text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number x_buf = {}; + x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) { - text_buf.value = static_cast(valueDeserializer.readInt32()); + x_buf.value = static_cast(valueDeserializer.readNumber()); } - value.text = text_buf; - const auto buttonType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ButtonType buttonType_buf = {}; - buttonType_buf.tag = buttonType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (buttonType_buf_runtimeType)) + value.x = x_buf; + const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number y_buf = {}; + y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) { - buttonType_buf.value = static_cast(valueDeserializer.readInt32()); + y_buf.value = static_cast(valueDeserializer.readNumber()); } - value.buttonType = buttonType_buf; + value.y = y_buf; return value; } - Ark_MarqueeOptions readMarqueeOptions() + Ark_PanGestureHandlerOptions readPanGestureHandlerOptions() { - Ark_MarqueeOptions value = {}; + Ark_PanGestureHandlerOptions value = {}; Deserializer& valueDeserializer = *this; - value.start = valueDeserializer.readBoolean(); - const auto step_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number step_buf = {}; - step_buf.tag = step_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (step_buf_runtimeType)) + const auto isFingerCountLimited_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isFingerCountLimited_buf = {}; + isFingerCountLimited_buf.tag = isFingerCountLimited_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) { - step_buf.value = static_cast(valueDeserializer.readNumber()); + isFingerCountLimited_buf.value = valueDeserializer.readBoolean(); } - value.step = step_buf; - const auto loop_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number loop_buf = {}; - loop_buf.tag = loop_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (loop_buf_runtimeType)) + value.isFingerCountLimited = isFingerCountLimited_buf; + const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fingers_buf = {}; + fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) { - loop_buf.value = static_cast(valueDeserializer.readNumber()); + fingers_buf.value = static_cast(valueDeserializer.readNumber()); } - value.loop = loop_buf; - const auto fromStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean fromStart_buf = {}; - fromStart_buf.tag = fromStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fromStart_buf_runtimeType)) + value.fingers = fingers_buf; + const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PanDirection direction_buf = {}; + direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) { - fromStart_buf.value = valueDeserializer.readBoolean(); + direction_buf.value = static_cast(valueDeserializer.readInt32()); } - value.fromStart = fromStart_buf; - value.src = static_cast(valueDeserializer.readString()); - return value; - } - Ark_Matrix2D readMatrix2D() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_MeasureResult readMeasureResult() - { - Ark_MeasureResult value = {}; - Deserializer& valueDeserializer = *this; - value.width = static_cast(valueDeserializer.readNumber()); - value.height = static_cast(valueDeserializer.readNumber()); - return value; - } - Ark_MessageEvents readMessageEvents() - { - Ark_MessageEvents value = {}; - Deserializer& valueDeserializer = *this; - value.type = static_cast(valueDeserializer.readString()); - value.timeStamp = valueDeserializer.readInt64(); - value.data = static_cast(valueDeserializer.readObject()); + value.direction = direction_buf; + const auto distance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number distance_buf = {}; + distance_buf.tag = distance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (distance_buf_runtimeType)) + { + distance_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.distance = distance_buf; return value; } - Ark_MonthData readMonthData() + Ark_PasteButtonOptions readPasteButtonOptions() { - Ark_MonthData value = {}; + Ark_PasteButtonOptions value = {}; Deserializer& valueDeserializer = *this; - value.year = static_cast(valueDeserializer.readNumber()); - value.month = static_cast(valueDeserializer.readNumber()); - const Ark_Int32 data_buf_length = valueDeserializer.readInt32(); - Array_CalendarDay data_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&data_buf, data_buf_length); - for (int data_buf_i = 0; data_buf_i < data_buf_length; data_buf_i++) { - data_buf.array[data_buf_i] = valueDeserializer.readCalendarDay(); + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PasteIconStyle icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + { + icon_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.icon = icon_buf; + const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PasteDescription text_buf = {}; + text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + { + text_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.text = text_buf; + const auto buttonType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ButtonType buttonType_buf = {}; + buttonType_buf.tag = buttonType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (buttonType_buf_runtimeType)) + { + buttonType_buf.value = static_cast(valueDeserializer.readInt32()); } - value.data = data_buf; - return value; - } - Ark_MotionBlurAnchor readMotionBlurAnchor() - { - Ark_MotionBlurAnchor value = {}; - Deserializer& valueDeserializer = *this; - value.x = static_cast(valueDeserializer.readNumber()); - value.y = static_cast(valueDeserializer.readNumber()); + value.buttonType = buttonType_buf; return value; } - Ark_MotionBlurOptions readMotionBlurOptions() + Ark_PasteEvent readPasteEvent() { - Ark_MotionBlurOptions value = {}; + Ark_PasteEvent value = {}; Deserializer& valueDeserializer = *this; - value.radius = static_cast(valueDeserializer.readNumber()); - value.anchor = valueDeserializer.readMotionBlurAnchor(); + const auto preventDefault_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void preventDefault_buf = {}; + preventDefault_buf.tag = preventDefault_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (preventDefault_buf_runtimeType)) + { + preventDefault_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.preventDefault = preventDefault_buf; return value; } - Ark_MotionPathOptions readMotionPathOptions() + Ark_PathOptions readPathOptions() { - Ark_MotionPathOptions value = {}; + Ark_PathOptions value = {}; Deserializer& valueDeserializer = *this; - value.path = static_cast(valueDeserializer.readString()); - const auto from_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number from_buf = {}; - from_buf.tag = from_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (from_buf_runtimeType)) + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { - from_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + } + width_buf.value = static_cast(width_buf_); } - value.from = from_buf; - const auto to_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number to_buf = {}; - to_buf.tag = to_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (to_buf_runtimeType)) + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { - to_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + } + height_buf.value = static_cast(height_buf_); } - value.to = to_buf; - const auto rotatable_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean rotatable_buf = {}; - rotatable_buf.tag = rotatable_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (rotatable_buf_runtimeType)) + value.height = height_buf; + const auto commands_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String commands_buf = {}; + commands_buf.tag = commands_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (commands_buf_runtimeType)) { - rotatable_buf.value = valueDeserializer.readBoolean(); + commands_buf.value = static_cast(valueDeserializer.readString()); } - value.rotatable = rotatable_buf; + value.commands = commands_buf; return value; } - Ark_MutableStyledString readMutableStyledString() + Ark_PathShapeOptions readPathShapeOptions() { + Ark_PathShapeOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const auto commands_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String commands_buf = {}; + commands_buf.tag = commands_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (commands_buf_runtimeType)) + { + commands_buf.value = static_cast(valueDeserializer.readString()); + } + value.commands = commands_buf; + return value; } - Ark_NativeEmbedVisibilityInfo readNativeEmbedVisibilityInfo() + Ark_PinchGestureHandlerOptions readPinchGestureHandlerOptions() { - Ark_NativeEmbedVisibilityInfo value = {}; + Ark_PinchGestureHandlerOptions value = {}; Deserializer& valueDeserializer = *this; - value.visibility = valueDeserializer.readBoolean(); - value.embedId = static_cast(valueDeserializer.readString()); + const auto isFingerCountLimited_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isFingerCountLimited_buf = {}; + isFingerCountLimited_buf.tag = isFingerCountLimited_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) + { + isFingerCountLimited_buf.value = valueDeserializer.readBoolean(); + } + value.isFingerCountLimited = isFingerCountLimited_buf; + const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fingers_buf = {}; + fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.fingers = fingers_buf; + const auto distance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number distance_buf = {}; + distance_buf.tag = distance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (distance_buf_runtimeType)) + { + distance_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.distance = distance_buf; return value; } - Ark_NavContentInfo readNavContentInfo() + Ark_PixelRoundPolicy readPixelRoundPolicy() { - Ark_NavContentInfo value = {}; + Ark_PixelRoundPolicy value = {}; Deserializer& valueDeserializer = *this; - const auto name_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String name_buf = {}; - name_buf.tag = name_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (name_buf_runtimeType)) + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PixelRoundCalcPolicy start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) { - name_buf.value = static_cast(valueDeserializer.readString()); + start_buf.value = static_cast(valueDeserializer.readInt32()); } - value.name = name_buf; - value.index = static_cast(valueDeserializer.readNumber()); - const auto mode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_NavDestinationMode mode_buf = {}; - mode_buf.tag = mode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (mode_buf_runtimeType)) + value.start = start_buf; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PixelRoundCalcPolicy top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { - mode_buf.value = static_cast(valueDeserializer.readInt32()); + top_buf.value = static_cast(valueDeserializer.readInt32()); } - value.mode = mode_buf; - const auto param_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Object param_buf = {}; - param_buf.tag = param_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (param_buf_runtimeType)) + value.top = top_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PixelRoundCalcPolicy end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) { - param_buf.value = static_cast(valueDeserializer.readObject()); + end_buf.value = static_cast(valueDeserializer.readInt32()); } - value.param = param_buf; - const auto navDestinationId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String navDestinationId_buf = {}; - navDestinationId_buf.tag = navDestinationId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (navDestinationId_buf_runtimeType)) + value.end = end_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PixelRoundCalcPolicy bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { - navDestinationId_buf.value = static_cast(valueDeserializer.readString()); + bottom_buf.value = static_cast(valueDeserializer.readInt32()); } - value.navDestinationId = navDestinationId_buf; + value.bottom = bottom_buf; return value; } - Ark_NavigationAnimatedTransition readNavigationAnimatedTransition() + Ark_PluginComponentTemplate readPluginComponentTemplate() { - Ark_NavigationAnimatedTransition value = {}; + Ark_PluginComponentTemplate value = {}; Deserializer& valueDeserializer = *this; - const auto onTransitionEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Boolean_Void onTransitionEnd_buf = {}; - onTransitionEnd_buf.tag = onTransitionEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onTransitionEnd_buf_runtimeType)) - { - onTransitionEnd_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; - } - value.onTransitionEnd = onTransitionEnd_buf; - const auto timeout_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number timeout_buf = {}; - timeout_buf.tag = timeout_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) + value.source = static_cast(valueDeserializer.readString()); + value.bundleName = static_cast(valueDeserializer.readString()); + return value; + } + Ark_PluginErrorData readPluginErrorData() + { + Ark_PluginErrorData value = {}; + Deserializer& valueDeserializer = *this; + value.errcode = static_cast(valueDeserializer.readNumber()); + value.msg = static_cast(valueDeserializer.readString()); + return value; + } + Ark_PolygonOptions readPolygonOptions() + { + Ark_PolygonOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { - timeout_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else { + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + } + width_buf.value = static_cast(width_buf_); } - value.timeout = timeout_buf; - const auto isInteractive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean isInteractive_buf = {}; - isInteractive_buf.tag = isInteractive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isInteractive_buf_runtimeType)) + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { - isInteractive_buf.value = valueDeserializer.readBoolean(); + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else { + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + } + height_buf.value = static_cast(height_buf_); } - value.isInteractive = isInteractive_buf; - value.transition = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavigationTransitionProxy_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavigationTransitionProxy_Void))))}; + value.height = height_buf; return value; } - Ark_NavigationInterception readNavigationInterception() + Ark_PolylineOptions readPolylineOptions() { - Ark_NavigationInterception value = {}; + Ark_PolylineOptions value = {}; Deserializer& valueDeserializer = *this; - const auto willShow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_InterceptionShowCallback willShow_buf = {}; - willShow_buf.tag = willShow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (willShow_buf_runtimeType)) - { - willShow_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_InterceptionShowCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_InterceptionShowCallback))))}; - } - value.willShow = willShow_buf; - const auto didShow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_InterceptionShowCallback didShow_buf = {}; - didShow_buf.tag = didShow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (didShow_buf_runtimeType)) + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { - didShow_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_InterceptionShowCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_InterceptionShowCallback))))}; + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else { + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + } + width_buf.value = static_cast(width_buf_); } - value.didShow = didShow_buf; - const auto modeChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_InterceptionModeCallback modeChange_buf = {}; - modeChange_buf.tag = modeChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (modeChange_buf_runtimeType)) + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { - modeChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_InterceptionModeCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_InterceptionModeCallback))))}; + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else { + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + } + height_buf.value = static_cast(height_buf_); } - value.modeChange = modeChange_buf; + value.height = height_buf; return value; } - Ark_NavigationOptions readNavigationOptions() + Ark_PolyToPolyOptions readPolyToPolyOptions() { - Ark_NavigationOptions value = {}; + Ark_PolyToPolyOptions value = {}; Deserializer& valueDeserializer = *this; - const auto launchMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LaunchMode launchMode_buf = {}; - launchMode_buf.tag = launchMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (launchMode_buf_runtimeType)) + const Ark_Int32 src_buf_length = valueDeserializer.readInt32(); + Array_common2D_Point src_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&src_buf, src_buf_length); + for (int src_buf_i = 0; src_buf_i < src_buf_length; src_buf_i++) { + src_buf.array[src_buf_i] = valueDeserializer.readcommon2D_Point(); + } + value.src = src_buf; + const auto srcIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number srcIndex_buf = {}; + srcIndex_buf.tag = srcIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (srcIndex_buf_runtimeType)) { - launchMode_buf.value = static_cast(valueDeserializer.readInt32()); + srcIndex_buf.value = static_cast(valueDeserializer.readNumber()); } - value.launchMode = launchMode_buf; - const auto animated_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean animated_buf = {}; - animated_buf.tag = animated_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_buf_runtimeType)) + value.srcIndex = srcIndex_buf; + const Ark_Int32 dst_buf_length = valueDeserializer.readInt32(); + Array_common2D_Point dst_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&dst_buf, dst_buf_length); + for (int dst_buf_i = 0; dst_buf_i < dst_buf_length; dst_buf_i++) { + dst_buf.array[dst_buf_i] = valueDeserializer.readcommon2D_Point(); + } + value.dst = dst_buf; + const auto dstIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number dstIndex_buf = {}; + dstIndex_buf.tag = dstIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dstIndex_buf_runtimeType)) { - animated_buf.value = valueDeserializer.readBoolean(); + dstIndex_buf.value = static_cast(valueDeserializer.readNumber()); } - value.animated = animated_buf; + value.dstIndex = dstIndex_buf; + const auto pointCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number pointCount_buf = {}; + pointCount_buf.tag = pointCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (pointCount_buf_runtimeType)) + { + pointCount_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.pointCount = pointCount_buf; return value; } - Ark_NavigationTransitionProxy readNavigationTransitionProxy() + Ark_PopInfo readPopInfo() { + Ark_PopInfo value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + value.info = static_cast(valueDeserializer.readNavPathInfo()); + value.result = static_cast(valueDeserializer.readObject()); + return value; } - Ark_NavPathInfo readNavPathInfo() + Ark_PosterOptions readPosterOptions() { + Ark_PosterOptions value = {}; Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + const auto showFirstFrame_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean showFirstFrame_buf = {}; + showFirstFrame_buf.tag = showFirstFrame_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (showFirstFrame_buf_runtimeType)) + { + showFirstFrame_buf.value = valueDeserializer.readBoolean(); + } + value.showFirstFrame = showFirstFrame_buf; + return value; } - Ark_NestedScrollOptionsExt readNestedScrollOptionsExt() + Ark_PostMessageOptions readPostMessageOptions() { - Ark_NestedScrollOptionsExt value = {}; + Ark_PostMessageOptions value = {}; Deserializer& valueDeserializer = *this; - const auto scrollUp_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_NestedScrollMode scrollUp_buf = {}; - scrollUp_buf.tag = scrollUp_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scrollUp_buf_runtimeType)) - { - scrollUp_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.scrollUp = scrollUp_buf; - const auto scrollDown_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_NestedScrollMode scrollDown_buf = {}; - scrollDown_buf.tag = scrollDown_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scrollDown_buf_runtimeType)) + const auto transfer_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_Object transfer_buf = {}; + transfer_buf.tag = transfer_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (transfer_buf_runtimeType)) { - scrollDown_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int32 transfer_buf__length = valueDeserializer.readInt32(); + Array_Object transfer_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&transfer_buf_, transfer_buf__length); + for (int transfer_buf__i = 0; transfer_buf__i < transfer_buf__length; transfer_buf__i++) { + transfer_buf_.array[transfer_buf__i] = static_cast(valueDeserializer.readObject()); + } + transfer_buf.value = transfer_buf_; } - value.scrollDown = scrollDown_buf; - const auto scrollRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_NestedScrollMode scrollRight_buf = {}; - scrollRight_buf.tag = scrollRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scrollRight_buf_runtimeType)) + value.transfer = transfer_buf; + return value; + } + Ark_PreviewConfiguration readPreviewConfiguration() + { + Ark_PreviewConfiguration value = {}; + Deserializer& valueDeserializer = *this; + const auto onlyForLifting_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean onlyForLifting_buf = {}; + onlyForLifting_buf.tag = onlyForLifting_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onlyForLifting_buf_runtimeType)) { - scrollRight_buf.value = static_cast(valueDeserializer.readInt32()); + onlyForLifting_buf.value = valueDeserializer.readBoolean(); } - value.scrollRight = scrollRight_buf; - const auto scrollLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_NestedScrollMode scrollLeft_buf = {}; - scrollLeft_buf.tag = scrollLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scrollLeft_buf_runtimeType)) + value.onlyForLifting = onlyForLifting_buf; + const auto delayCreating_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean delayCreating_buf = {}; + delayCreating_buf.tag = delayCreating_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (delayCreating_buf_runtimeType)) { - scrollLeft_buf.value = static_cast(valueDeserializer.readInt32()); + delayCreating_buf.value = valueDeserializer.readBoolean(); } - value.scrollLeft = scrollLeft_buf; + value.delayCreating = delayCreating_buf; return value; } - Ark_OffscreenCanvasRenderingContext2D readOffscreenCanvasRenderingContext2D() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_OnAlertEvent readOnAlertEvent() + Ark_PreviewMenuOptions readPreviewMenuOptions() { - Ark_OnAlertEvent value = {}; + Ark_PreviewMenuOptions value = {}; Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); - value.message = static_cast(valueDeserializer.readString()); - value.result = static_cast(valueDeserializer.readJsResult()); + const auto hapticFeedbackMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_HapticFeedbackMode hapticFeedbackMode_buf = {}; + hapticFeedbackMode_buf.tag = hapticFeedbackMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hapticFeedbackMode_buf_runtimeType)) + { + hapticFeedbackMode_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.hapticFeedbackMode = hapticFeedbackMode_buf; return value; } - Ark_OnBeforeUnloadEvent readOnBeforeUnloadEvent() + Ark_PreviewText readPreviewText() { - Ark_OnBeforeUnloadEvent value = {}; + Ark_PreviewText value = {}; Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); - value.message = static_cast(valueDeserializer.readString()); - value.result = static_cast(valueDeserializer.readJsResult()); + value.offset = static_cast(valueDeserializer.readNumber()); + value.value = static_cast(valueDeserializer.readString()); return value; } - Ark_OnClientAuthenticationEvent readOnClientAuthenticationEvent() + Ark_ProgressOptions readProgressOptions() { - Ark_OnClientAuthenticationEvent value = {}; + Ark_ProgressOptions value = {}; Deserializer& valueDeserializer = *this; - value.handler = static_cast(valueDeserializer.readClientAuthenticationHandler()); - value.host = static_cast(valueDeserializer.readString()); - value.port = static_cast(valueDeserializer.readNumber()); - const Ark_Int32 keyTypes_buf_length = valueDeserializer.readInt32(); - Array_String keyTypes_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&keyTypes_buf, keyTypes_buf_length); - for (int keyTypes_buf_i = 0; keyTypes_buf_i < keyTypes_buf_length; keyTypes_buf_i++) { - keyTypes_buf.array[keyTypes_buf_i] = static_cast(valueDeserializer.readString()); + value.value = static_cast(valueDeserializer.readNumber()); + const auto total_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number total_buf = {}; + total_buf.tag = total_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (total_buf_runtimeType)) + { + total_buf.value = static_cast(valueDeserializer.readNumber()); } - value.keyTypes = keyTypes_buf; - const Ark_Int32 issuers_buf_length = valueDeserializer.readInt32(); - Array_String issuers_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&issuers_buf, issuers_buf_length); - for (int issuers_buf_i = 0; issuers_buf_i < issuers_buf_length; issuers_buf_i++) { - issuers_buf.array[issuers_buf_i] = static_cast(valueDeserializer.readString()); + value.total = total_buf; + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ProgressStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + { + style_buf.value = static_cast(valueDeserializer.readInt32()); } - value.issuers = issuers_buf; - return value; - } - Ark_OnConfirmEvent readOnConfirmEvent() - { - Ark_OnConfirmEvent value = {}; - Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); - value.message = static_cast(valueDeserializer.readString()); - value.result = static_cast(valueDeserializer.readJsResult()); + value.style = style_buf; + const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ProgressType type_buf = {}; + type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + { + type_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.type = type_buf; return value; } - Ark_OnContextMenuShowEvent readOnContextMenuShowEvent() + Ark_RadioOptions readRadioOptions() { - Ark_OnContextMenuShowEvent value = {}; + Ark_RadioOptions value = {}; Deserializer& valueDeserializer = *this; - value.param = static_cast(valueDeserializer.readWebContextMenuParam()); - value.result = static_cast(valueDeserializer.readWebContextMenuResult()); + value.group = static_cast(valueDeserializer.readString()); + value.value = static_cast(valueDeserializer.readString()); + const auto indicatorType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_RadioIndicatorType indicatorType_buf = {}; + indicatorType_buf.tag = indicatorType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (indicatorType_buf_runtimeType)) + { + indicatorType_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.indicatorType = indicatorType_buf; + const auto indicatorBuilder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder indicatorBuilder_buf = {}; + indicatorBuilder_buf.tag = indicatorBuilder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (indicatorBuilder_buf_runtimeType)) + { + indicatorBuilder_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + value.indicatorBuilder = indicatorBuilder_buf; return value; } - Ark_OnDownloadStartEvent readOnDownloadStartEvent() + Ark_RatingOptions readRatingOptions() { - Ark_OnDownloadStartEvent value = {}; + Ark_RatingOptions value = {}; Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); - value.userAgent = static_cast(valueDeserializer.readString()); - value.contentDisposition = static_cast(valueDeserializer.readString()); - value.mimetype = static_cast(valueDeserializer.readString()); - value.contentLength = static_cast(valueDeserializer.readNumber()); + value.rating = static_cast(valueDeserializer.readNumber()); + const auto indicator_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean indicator_buf = {}; + indicator_buf.tag = indicator_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (indicator_buf_runtimeType)) + { + indicator_buf.value = valueDeserializer.readBoolean(); + } + value.indicator = indicator_buf; return value; } - Ark_OnErrorReceiveEvent readOnErrorReceiveEvent() + Ark_RectStyle readRectStyle() { - Ark_OnErrorReceiveEvent value = {}; + Ark_RectStyle value = {}; Deserializer& valueDeserializer = *this; - value.request = static_cast(valueDeserializer.readWebResourceRequest()); - value.error = static_cast(valueDeserializer.readWebResourceError()); + value.color = valueDeserializer.readcommon2D_Color(); + value.leftTopRadius = static_cast(valueDeserializer.readNumber()); + value.rightTopRadius = static_cast(valueDeserializer.readNumber()); + value.rightBottomRadius = static_cast(valueDeserializer.readNumber()); + value.leftBottomRadius = static_cast(valueDeserializer.readNumber()); return value; } - Ark_OnFaviconReceivedEvent readOnFaviconReceivedEvent() + Ark_RenderingContextSettings readRenderingContextSettings() { - Ark_OnFaviconReceivedEvent value = {}; Deserializer& valueDeserializer = *this; - value.favicon = static_cast(valueDeserializer.readPixelMap()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_OnGeolocationShowEvent readOnGeolocationShowEvent() + Ark_RenderProcessNotRespondingData readRenderProcessNotRespondingData() { - Ark_OnGeolocationShowEvent value = {}; + Ark_RenderProcessNotRespondingData value = {}; Deserializer& valueDeserializer = *this; - value.origin = static_cast(valueDeserializer.readString()); - value.geolocation = static_cast(valueDeserializer.readJsGeolocation()); + value.jsStack = static_cast(valueDeserializer.readString()); + value.pid = static_cast(valueDeserializer.readNumber()); + value.reason = static_cast(valueDeserializer.readInt32()); return value; } - Ark_OnHttpAuthRequestEvent readOnHttpAuthRequestEvent() + Ark_ReplaceSymbolEffect readReplaceSymbolEffect() { - Ark_OnHttpAuthRequestEvent value = {}; Deserializer& valueDeserializer = *this; - value.handler = static_cast(valueDeserializer.readHttpAuthHandler()); - value.host = static_cast(valueDeserializer.readString()); - value.realm = static_cast(valueDeserializer.readString()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_OnHttpErrorReceiveEvent readOnHttpErrorReceiveEvent() + Ark_Resource readResource() { - Ark_OnHttpErrorReceiveEvent value = {}; + Ark_Resource value = {}; Deserializer& valueDeserializer = *this; - value.request = static_cast(valueDeserializer.readWebResourceRequest()); - value.response = static_cast(valueDeserializer.readWebResourceResponse()); + value.bundleName = static_cast(valueDeserializer.readString()); + value.moduleName = static_cast(valueDeserializer.readString()); + value.id = static_cast(valueDeserializer.readNumber()); + const auto params_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_String params_buf = {}; + params_buf.tag = params_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (params_buf_runtimeType)) + { + const Ark_Int32 params_buf__length = valueDeserializer.readInt32(); + Array_String params_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(¶ms_buf_, params_buf__length); + for (int params_buf__i = 0; params_buf__i < params_buf__length; params_buf__i++) { + params_buf_.array[params_buf__i] = static_cast(valueDeserializer.readString()); + } + params_buf.value = params_buf_; + } + value.params = params_buf; + const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number type_buf = {}; + type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + { + type_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.type = type_buf; return value; } - Ark_OnInterceptRequestEvent readOnInterceptRequestEvent() + Ark_RichEditorDeleteValue readRichEditorDeleteValue() { - Ark_OnInterceptRequestEvent value = {}; + Ark_RichEditorDeleteValue value = {}; Deserializer& valueDeserializer = *this; - value.request = static_cast(valueDeserializer.readWebResourceRequest()); + value.offset = static_cast(valueDeserializer.readNumber()); + value.direction = static_cast(valueDeserializer.readInt32()); + value.length = static_cast(valueDeserializer.readNumber()); + const Ark_Int32 richEditorDeleteSpans_buf_length = valueDeserializer.readInt32(); + Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult richEditorDeleteSpans_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&richEditorDeleteSpans_buf, richEditorDeleteSpans_buf_length); + for (int richEditorDeleteSpans_buf_i = 0; richEditorDeleteSpans_buf_i < richEditorDeleteSpans_buf_length; richEditorDeleteSpans_buf_i++) { + const Ark_Int8 richEditorDeleteSpans_buf_buf_selector = valueDeserializer.readInt8(); + Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult richEditorDeleteSpans_buf_buf = {}; + richEditorDeleteSpans_buf_buf.selector = richEditorDeleteSpans_buf_buf_selector; + if (richEditorDeleteSpans_buf_buf_selector == 0) { + richEditorDeleteSpans_buf_buf.selector = 0; + richEditorDeleteSpans_buf_buf.value0 = valueDeserializer.readRichEditorTextSpanResult(); + } + else if (richEditorDeleteSpans_buf_buf_selector == 1) { + richEditorDeleteSpans_buf_buf.selector = 1; + richEditorDeleteSpans_buf_buf.value1 = valueDeserializer.readRichEditorImageSpanResult(); + } + else { + INTEROP_FATAL("One of the branches for richEditorDeleteSpans_buf_buf has to be chosen through deserialisation."); + } + richEditorDeleteSpans_buf.array[richEditorDeleteSpans_buf_i] = static_cast(richEditorDeleteSpans_buf_buf); + } + value.richEditorDeleteSpans = richEditorDeleteSpans_buf; return value; } - Ark_OnLoadInterceptEvent readOnLoadInterceptEvent() + Ark_RichEditorGesture readRichEditorGesture() { - Ark_OnLoadInterceptEvent value = {}; + Ark_RichEditorGesture value = {}; Deserializer& valueDeserializer = *this; - value.data = static_cast(valueDeserializer.readWebResourceRequest()); + const auto onClick_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_ClickEvent_Void onClick_buf = {}; + onClick_buf.tag = onClick_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onClick_buf_runtimeType)) + { + onClick_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))}; + } + value.onClick = onClick_buf; + const auto onLongPress_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_GestureEvent_Void onLongPress_buf = {}; + onLongPress_buf.tag = onLongPress_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onLongPress_buf_runtimeType)) + { + onLongPress_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))}; + } + value.onLongPress = onLongPress_buf; + const auto onDoubleClick_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_GestureEvent_Void onDoubleClick_buf = {}; + onDoubleClick_buf.tag = onDoubleClick_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDoubleClick_buf_runtimeType)) + { + onDoubleClick_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))}; + } + value.onDoubleClick = onDoubleClick_buf; return value; } - Ark_OnPageBeginEvent readOnPageBeginEvent() + Ark_RichEditorInsertValue readRichEditorInsertValue() { - Ark_OnPageBeginEvent value = {}; + Ark_RichEditorInsertValue value = {}; Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); + value.insertOffset = static_cast(valueDeserializer.readNumber()); + value.insertValue = static_cast(valueDeserializer.readString()); + const auto previewText_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String previewText_buf = {}; + previewText_buf.tag = previewText_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (previewText_buf_runtimeType)) + { + previewText_buf.value = static_cast(valueDeserializer.readString()); + } + value.previewText = previewText_buf; return value; } - Ark_OnPageEndEvent readOnPageEndEvent() + Ark_RichEditorRange readRichEditorRange() { - Ark_OnPageEndEvent value = {}; + Ark_RichEditorRange value = {}; Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.end = end_buf; return value; } - Ark_OnPageVisibleEvent readOnPageVisibleEvent() + Ark_RichEditorSelection readRichEditorSelection() { - Ark_OnPageVisibleEvent value = {}; + Ark_RichEditorSelection value = {}; Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); + Ark_Tuple_Number_Number selection_buf = {}; + selection_buf.value0 = static_cast(valueDeserializer.readNumber()); + selection_buf.value1 = static_cast(valueDeserializer.readNumber()); + value.selection = selection_buf; + const Ark_Int32 spans_buf_length = valueDeserializer.readInt32(); + Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult spans_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&spans_buf, spans_buf_length); + for (int spans_buf_i = 0; spans_buf_i < spans_buf_length; spans_buf_i++) { + const Ark_Int8 spans_buf_buf_selector = valueDeserializer.readInt8(); + Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult spans_buf_buf = {}; + spans_buf_buf.selector = spans_buf_buf_selector; + if (spans_buf_buf_selector == 0) { + spans_buf_buf.selector = 0; + spans_buf_buf.value0 = valueDeserializer.readRichEditorTextSpanResult(); + } + else if (spans_buf_buf_selector == 1) { + spans_buf_buf.selector = 1; + spans_buf_buf.value1 = valueDeserializer.readRichEditorImageSpanResult(); + } + else { + INTEROP_FATAL("One of the branches for spans_buf_buf has to be chosen through deserialisation."); + } + spans_buf.array[spans_buf_i] = static_cast(spans_buf_buf); + } + value.spans = spans_buf; return value; } - Ark_OnPermissionRequestEvent readOnPermissionRequestEvent() + Ark_RichEditorSpanPosition readRichEditorSpanPosition() { - Ark_OnPermissionRequestEvent value = {}; + Ark_RichEditorSpanPosition value = {}; Deserializer& valueDeserializer = *this; - value.request = static_cast(valueDeserializer.readPermissionRequest()); + value.spanIndex = static_cast(valueDeserializer.readNumber()); + Ark_Tuple_Number_Number spanRange_buf = {}; + spanRange_buf.value0 = static_cast(valueDeserializer.readNumber()); + spanRange_buf.value1 = static_cast(valueDeserializer.readNumber()); + value.spanRange = spanRange_buf; return value; } - Ark_OnPromptEvent readOnPromptEvent() + Ark_RotateOption readRotateOption() { - Ark_OnPromptEvent value = {}; + Ark_RotateOption value = {}; Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); - value.message = static_cast(valueDeserializer.readString()); - value.value = static_cast(valueDeserializer.readString()); - value.result = static_cast(valueDeserializer.readJsResult()); + const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number x_buf = {}; + x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + { + x_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.x = x_buf; + const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number y_buf = {}; + y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + { + y_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.y = y_buf; + const auto z_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number z_buf = {}; + z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) + { + z_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.z = z_buf; + const auto centerX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number centerX_buf = {}; + centerX_buf.tag = centerX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (centerX_buf_runtimeType)) + { + centerX_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.centerX = centerX_buf; + const auto centerY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number centerY_buf = {}; + centerY_buf.tag = centerY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (centerY_buf_runtimeType)) + { + centerY_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.centerY = centerY_buf; + const auto angle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number angle_buf = {}; + angle_buf.tag = angle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (angle_buf_runtimeType)) + { + angle_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.angle = angle_buf; return value; } - Ark_OnRefreshAccessedHistoryEvent readOnRefreshAccessedHistoryEvent() + Ark_RotateOptions readRotateOptions() { - Ark_OnRefreshAccessedHistoryEvent value = {}; + Ark_RotateOptions value = {}; Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); - value.isRefreshed = valueDeserializer.readBoolean(); + const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number x_buf = {}; + x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + { + x_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.x = x_buf; + const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number y_buf = {}; + y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + { + y_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.y = y_buf; + const auto z_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number z_buf = {}; + z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) + { + z_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.z = z_buf; + const auto centerX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String centerX_buf = {}; + centerX_buf.tag = centerX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (centerX_buf_runtimeType)) + { + const Ark_Int8 centerX_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String centerX_buf_ = {}; + centerX_buf_.selector = centerX_buf__selector; + if (centerX_buf__selector == 0) { + centerX_buf_.selector = 0; + centerX_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (centerX_buf__selector == 1) { + centerX_buf_.selector = 1; + centerX_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for centerX_buf_ has to be chosen through deserialisation."); + } + centerX_buf.value = static_cast(centerX_buf_); + } + value.centerX = centerX_buf; + const auto centerY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String centerY_buf = {}; + centerY_buf.tag = centerY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (centerY_buf_runtimeType)) + { + const Ark_Int8 centerY_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String centerY_buf_ = {}; + centerY_buf_.selector = centerY_buf__selector; + if (centerY_buf__selector == 0) { + centerY_buf_.selector = 0; + centerY_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (centerY_buf__selector == 1) { + centerY_buf_.selector = 1; + centerY_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for centerY_buf_ has to be chosen through deserialisation."); + } + centerY_buf.value = static_cast(centerY_buf_); + } + value.centerY = centerY_buf; + const auto centerZ_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number centerZ_buf = {}; + centerZ_buf.tag = centerZ_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (centerZ_buf_runtimeType)) + { + centerZ_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.centerZ = centerZ_buf; + const auto perspective_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number perspective_buf = {}; + perspective_buf.tag = perspective_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (perspective_buf_runtimeType)) + { + perspective_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.perspective = perspective_buf; + const Ark_Int8 angle_buf_selector = valueDeserializer.readInt8(); + Ark_Union_Number_String angle_buf = {}; + angle_buf.selector = angle_buf_selector; + if (angle_buf_selector == 0) { + angle_buf.selector = 0; + angle_buf.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (angle_buf_selector == 1) { + angle_buf.selector = 1; + angle_buf.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for angle_buf has to be chosen through deserialisation."); + } + value.angle = static_cast(angle_buf); return value; } - Ark_OnRenderExitedEvent readOnRenderExitedEvent() + Ark_RotationGestureHandlerOptions readRotationGestureHandlerOptions() { - Ark_OnRenderExitedEvent value = {}; + Ark_RotationGestureHandlerOptions value = {}; Deserializer& valueDeserializer = *this; - value.renderExitReason = static_cast(valueDeserializer.readInt32()); + const auto isFingerCountLimited_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isFingerCountLimited_buf = {}; + isFingerCountLimited_buf.tag = isFingerCountLimited_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) + { + isFingerCountLimited_buf.value = valueDeserializer.readBoolean(); + } + value.isFingerCountLimited = isFingerCountLimited_buf; + const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fingers_buf = {}; + fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.fingers = fingers_buf; + const auto angle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number angle_buf = {}; + angle_buf.tag = angle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (angle_buf_runtimeType)) + { + angle_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.angle = angle_buf; return value; } - Ark_OnResourceLoadEvent readOnResourceLoadEvent() + Ark_RoundedRectOptions readRoundedRectOptions() { - Ark_OnResourceLoadEvent value = {}; + Ark_RoundedRectOptions value = {}; Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + { + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + } + width_buf.value = static_cast(width_buf_); + } + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + { + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + } + height_buf.value = static_cast(height_buf_); + } + value.height = height_buf; + const auto radiusWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String radiusWidth_buf = {}; + radiusWidth_buf.tag = radiusWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (radiusWidth_buf_runtimeType)) + { + const Ark_Int8 radiusWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String radiusWidth_buf_ = {}; + radiusWidth_buf_.selector = radiusWidth_buf__selector; + if (radiusWidth_buf__selector == 0) { + radiusWidth_buf_.selector = 0; + radiusWidth_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (radiusWidth_buf__selector == 1) { + radiusWidth_buf_.selector = 1; + radiusWidth_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for radiusWidth_buf_ has to be chosen through deserialisation."); + } + radiusWidth_buf.value = static_cast(radiusWidth_buf_); + } + value.radiusWidth = radiusWidth_buf; + const auto radiusHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String radiusHeight_buf = {}; + radiusHeight_buf.tag = radiusHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (radiusHeight_buf_runtimeType)) + { + const Ark_Int8 radiusHeight_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String radiusHeight_buf_ = {}; + radiusHeight_buf_.selector = radiusHeight_buf__selector; + if (radiusHeight_buf__selector == 0) { + radiusHeight_buf_.selector = 0; + radiusHeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (radiusHeight_buf__selector == 1) { + radiusHeight_buf_.selector = 1; + radiusHeight_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for radiusHeight_buf_ has to be chosen through deserialisation."); + } + radiusHeight_buf.value = static_cast(radiusHeight_buf_); + } + value.radiusHeight = radiusHeight_buf; return value; } - Ark_OnScreenCaptureRequestEvent readOnScreenCaptureRequestEvent() + Ark_RoundRect readRoundRect() { - Ark_OnScreenCaptureRequestEvent value = {}; + Ark_RoundRect value = {}; Deserializer& valueDeserializer = *this; - value.handler = static_cast(valueDeserializer.readScreenCaptureHandler()); + value.rect = valueDeserializer.readRect(); + value.corners = valueDeserializer.readCornerRadius(); return value; } - Ark_OnSslErrorEventReceiveEvent readOnSslErrorEventReceiveEvent() + Ark_RoundRectShapeOptions readRoundRectShapeOptions() { - Ark_OnSslErrorEventReceiveEvent value = {}; + Ark_RoundRectShapeOptions value = {}; Deserializer& valueDeserializer = *this; - value.handler = static_cast(valueDeserializer.readSslErrorHandler()); - value.error = static_cast(valueDeserializer.readInt32()); - const auto certChainData_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_Buffer certChainData_buf = {}; - certChainData_buf.tag = certChainData_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (certChainData_buf_runtimeType)) + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { - const Ark_Int32 certChainData_buf__length = valueDeserializer.readInt32(); - Array_Buffer certChainData_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&certChainData_buf_, certChainData_buf__length); - for (int certChainData_buf__i = 0; certChainData_buf__i < certChainData_buf__length; certChainData_buf__i++) { - certChainData_buf_.array[certChainData_buf__i] = static_cast(valueDeserializer.readBuffer()); + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - certChainData_buf.value = certChainData_buf_; + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + } + width_buf.value = static_cast(width_buf_); } - value.certChainData = certChainData_buf; + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + { + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + } + height_buf.value = static_cast(height_buf_); + } + value.height = height_buf; + const auto radiusWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String radiusWidth_buf = {}; + radiusWidth_buf.tag = radiusWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (radiusWidth_buf_runtimeType)) + { + const Ark_Int8 radiusWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String radiusWidth_buf_ = {}; + radiusWidth_buf_.selector = radiusWidth_buf__selector; + if (radiusWidth_buf__selector == 0) { + radiusWidth_buf_.selector = 0; + radiusWidth_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (radiusWidth_buf__selector == 1) { + radiusWidth_buf_.selector = 1; + radiusWidth_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for radiusWidth_buf_ has to be chosen through deserialisation."); + } + radiusWidth_buf.value = static_cast(radiusWidth_buf_); + } + value.radiusWidth = radiusWidth_buf; + const auto radiusHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String radiusHeight_buf = {}; + radiusHeight_buf.tag = radiusHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (radiusHeight_buf_runtimeType)) + { + const Ark_Int8 radiusHeight_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String radiusHeight_buf_ = {}; + radiusHeight_buf_.selector = radiusHeight_buf__selector; + if (radiusHeight_buf__selector == 0) { + radiusHeight_buf_.selector = 0; + radiusHeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (radiusHeight_buf__selector == 1) { + radiusHeight_buf_.selector = 1; + radiusHeight_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for radiusHeight_buf_ has to be chosen through deserialisation."); + } + radiusHeight_buf.value = static_cast(radiusHeight_buf_); + } + value.radiusHeight = radiusHeight_buf; return value; } - Ark_OnTitleReceiveEvent readOnTitleReceiveEvent() + Ark_RouteInfo readRouteInfo() { - Ark_OnTitleReceiveEvent value = {}; + Ark_RouteInfo value = {}; Deserializer& valueDeserializer = *this; - value.title = static_cast(valueDeserializer.readString()); + value.name = static_cast(valueDeserializer.readString()); + const auto param_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Object param_buf = {}; + param_buf.tag = param_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (param_buf_runtimeType)) + { + param_buf.value = static_cast(valueDeserializer.readObject()); + } + value.param = param_buf; return value; } - Ark_OnTouchIconUrlReceivedEvent readOnTouchIconUrlReceivedEvent() + Ark_RouteMapConfig readRouteMapConfig() { - Ark_OnTouchIconUrlReceivedEvent value = {}; + Ark_RouteMapConfig value = {}; Deserializer& valueDeserializer = *this; - value.url = static_cast(valueDeserializer.readString()); - value.precomposed = valueDeserializer.readBoolean(); + value.name = static_cast(valueDeserializer.readString()); + value.pageSourceFile = static_cast(valueDeserializer.readString()); + value.data = static_cast(valueDeserializer.readObject()); return value; } - Ark_OnWindowNewEvent readOnWindowNewEvent() + Ark_RowOptions readRowOptions() { - Ark_OnWindowNewEvent value = {}; + Ark_RowOptions value = {}; Deserializer& valueDeserializer = *this; - value.isAlert = valueDeserializer.readBoolean(); - value.isUserTrigger = valueDeserializer.readBoolean(); - value.targetUrl = static_cast(valueDeserializer.readString()); - value.handler = static_cast(valueDeserializer.readControllerHandler()); + const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number space_buf = {}; + space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + { + const Ark_Int8 space_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number space_buf_ = {}; + space_buf_.selector = space_buf__selector; + if (space_buf__selector == 0) { + space_buf_.selector = 0; + space_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (space_buf__selector == 1) { + space_buf_.selector = 1; + space_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else { + INTEROP_FATAL("One of the branches for space_buf_ has to be chosen through deserialisation."); + } + space_buf.value = static_cast(space_buf_); + } + value.space = space_buf; return value; } - Ark_OverlayOffset readOverlayOffset() + Ark_RowOptionsV2 readRowOptionsV2() { - Ark_OverlayOffset value = {}; + Ark_RowOptionsV2 value = {}; Deserializer& valueDeserializer = *this; - const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number x_buf = {}; - x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) - { - x_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.x = x_buf; - const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number y_buf = {}; - y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) - { - y_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.y = y_buf; + value.stub = static_cast(valueDeserializer.readString()); return value; } - Ark_PasteButtonOptions readPasteButtonOptions() + Ark_SaveButtonOptions readSaveButtonOptions() { - Ark_PasteButtonOptions value = {}; + Ark_SaveButtonOptions value = {}; Deserializer& valueDeserializer = *this; const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_PasteIconStyle icon_buf = {}; + Opt_SaveIconStyle icon_buf = {}; icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) { - icon_buf.value = static_cast(valueDeserializer.readInt32()); + icon_buf.value = static_cast(valueDeserializer.readInt32()); } value.icon = icon_buf; const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_PasteDescription text_buf = {}; + Opt_SaveDescription text_buf = {}; text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) { - text_buf.value = static_cast(valueDeserializer.readInt32()); + text_buf.value = static_cast(valueDeserializer.readInt32()); } value.text = text_buf; const auto buttonType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -91580,1378 +97841,1330 @@ class Deserializer : public DeserializerBase { value.buttonType = buttonType_buf; return value; } - Ark_PasteEvent readPasteEvent() + Ark_ScaleOption readScaleOption() { - Ark_PasteEvent value = {}; + Ark_ScaleOption value = {}; Deserializer& valueDeserializer = *this; - const auto preventDefault_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void preventDefault_buf = {}; - preventDefault_buf.tag = preventDefault_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (preventDefault_buf_runtimeType)) + const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number x_buf = {}; + x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) { - preventDefault_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + x_buf.value = static_cast(valueDeserializer.readNumber()); } - value.preventDefault = preventDefault_buf; + value.x = x_buf; + const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number y_buf = {}; + y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + { + y_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.y = y_buf; + const auto z_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number z_buf = {}; + z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) + { + z_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.z = z_buf; + const auto centerX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number centerX_buf = {}; + centerX_buf.tag = centerX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (centerX_buf_runtimeType)) + { + centerX_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.centerX = centerX_buf; + const auto centerY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number centerY_buf = {}; + centerY_buf.tag = centerY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (centerY_buf_runtimeType)) + { + centerY_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.centerY = centerY_buf; return value; } - Ark_PathOptions readPathOptions() + Ark_ScaleOptions readScaleOptions() { - Ark_PathOptions value = {}; + Ark_ScaleOptions value = {}; Deserializer& valueDeserializer = *this; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number x_buf = {}; + x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readNumber()); + x_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.x = x_buf; + const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number y_buf = {}; + y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + { + y_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.y = y_buf; + const auto z_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number z_buf = {}; + z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) + { + z_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.z = z_buf; + const auto centerX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String centerX_buf = {}; + centerX_buf.tag = centerX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (centerX_buf_runtimeType)) + { + const Ark_Int8 centerX_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String centerX_buf_ = {}; + centerX_buf_.selector = centerX_buf__selector; + if (centerX_buf__selector == 0) { + centerX_buf_.selector = 0; + centerX_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (centerX_buf__selector == 1) { + centerX_buf_.selector = 1; + centerX_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for centerX_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + centerX_buf.value = static_cast(centerX_buf_); } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + value.centerX = centerX_buf; + const auto centerY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String centerY_buf = {}; + centerY_buf.tag = centerY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (centerY_buf_runtimeType)) { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 centerY_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String centerY_buf_ = {}; + centerY_buf_.selector = centerY_buf__selector; + if (centerY_buf__selector == 0) { + centerY_buf_.selector = 0; + centerY_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (centerY_buf__selector == 1) { + centerY_buf_.selector = 1; + centerY_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for centerY_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + centerY_buf.value = static_cast(centerY_buf_); } - value.height = height_buf; - const auto commands_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String commands_buf = {}; - commands_buf.tag = commands_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (commands_buf_runtimeType)) + value.centerY = centerY_buf; + return value; + } + Ark_ScaleSymbolEffect readScaleSymbolEffect() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_ScreenCaptureConfig readScreenCaptureConfig() + { + Ark_ScreenCaptureConfig value = {}; + Deserializer& valueDeserializer = *this; + value.captureMode = static_cast(valueDeserializer.readInt32()); + return value; + } + Ark_ScriptItem readScriptItem() + { + Ark_ScriptItem value = {}; + Deserializer& valueDeserializer = *this; + value.script = static_cast(valueDeserializer.readString()); + const Ark_Int32 scriptRules_buf_length = valueDeserializer.readInt32(); + Array_String scriptRules_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&scriptRules_buf, scriptRules_buf_length); + for (int scriptRules_buf_i = 0; scriptRules_buf_i < scriptRules_buf_length; scriptRules_buf_i++) { + scriptRules_buf.array[scriptRules_buf_i] = static_cast(valueDeserializer.readString()); + } + value.scriptRules = scriptRules_buf; + return value; + } + Ark_ScrollAnimationOptions readScrollAnimationOptions() + { + Ark_ScrollAnimationOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number duration_buf = {}; + duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) { - commands_buf.value = static_cast(valueDeserializer.readString()); + duration_buf.value = static_cast(valueDeserializer.readNumber()); } - value.commands = commands_buf; + value.duration = duration_buf; + const auto curve_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Curve_ICurve curve_buf = {}; + curve_buf.tag = curve_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (curve_buf_runtimeType)) + { + const Ark_Int8 curve_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Curve_ICurve curve_buf_ = {}; + curve_buf_.selector = curve_buf__selector; + if (curve_buf__selector == 0) { + curve_buf_.selector = 0; + curve_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (curve_buf__selector == 1) { + curve_buf_.selector = 1; + curve_buf_.value1 = static_cast(valueDeserializer.readICurve()); + } + else { + INTEROP_FATAL("One of the branches for curve_buf_ has to be chosen through deserialisation."); + } + curve_buf.value = static_cast(curve_buf_); + } + value.curve = curve_buf; + const auto canOverScroll_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean canOverScroll_buf = {}; + canOverScroll_buf.tag = canOverScroll_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (canOverScroll_buf_runtimeType)) + { + canOverScroll_buf.value = valueDeserializer.readBoolean(); + } + value.canOverScroll = canOverScroll_buf; return value; } - Ark_PathShapeOptions readPathShapeOptions() + Ark_ScrollBarOptions readScrollBarOptions() { - Ark_PathShapeOptions value = {}; + Ark_ScrollBarOptions value = {}; Deserializer& valueDeserializer = *this; - const auto commands_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String commands_buf = {}; - commands_buf.tag = commands_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (commands_buf_runtimeType)) + value.scroller = static_cast(valueDeserializer.readScroller()); + const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ScrollBarDirection direction_buf = {}; + direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) { - commands_buf.value = static_cast(valueDeserializer.readString()); + direction_buf.value = static_cast(valueDeserializer.readInt32()); } - value.commands = commands_buf; + value.direction = direction_buf; + const auto state_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BarState state_buf = {}; + state_buf.tag = state_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (state_buf_runtimeType)) + { + state_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.state = state_buf; return value; } - Ark_PixelRoundPolicy readPixelRoundPolicy() + Ark_ScrollEdgeOptions readScrollEdgeOptions() { - Ark_PixelRoundPolicy value = {}; + Ark_ScrollEdgeOptions value = {}; Deserializer& valueDeserializer = *this; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_PixelRoundCalcPolicy start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + const auto velocity_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number velocity_buf = {}; + velocity_buf.tag = velocity_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (velocity_buf_runtimeType)) { - start_buf.value = static_cast(valueDeserializer.readInt32()); + velocity_buf.value = static_cast(valueDeserializer.readNumber()); } - value.start = start_buf; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_PixelRoundCalcPolicy top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + value.velocity = velocity_buf; + return value; + } + Ark_ScrollPageOptions readScrollPageOptions() + { + Ark_ScrollPageOptions value = {}; + Deserializer& valueDeserializer = *this; + value.next = valueDeserializer.readBoolean(); + const auto animation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean animation_buf = {}; + animation_buf.tag = animation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animation_buf_runtimeType)) { - top_buf.value = static_cast(valueDeserializer.readInt32()); + animation_buf.value = valueDeserializer.readBoolean(); } - value.top = top_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_PixelRoundCalcPolicy end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + value.animation = animation_buf; + return value; + } + Ark_SelectionMenuOptionsExt readSelectionMenuOptionsExt() + { + Ark_SelectionMenuOptionsExt value = {}; + Deserializer& valueDeserializer = *this; + const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onAppear_buf = {}; + onAppear_buf.tag = onAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) { - end_buf.value = static_cast(valueDeserializer.readInt32()); + onAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; } - value.end = end_buf; - const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_PixelRoundCalcPolicy bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + value.onAppear = onAppear_buf; + const auto onDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDisappear_buf = {}; + onDisappear_buf.tag = onDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) + { + onDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDisappear = onDisappear_buf; + const auto preview_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder preview_buf = {}; + preview_buf.tag = preview_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (preview_buf_runtimeType)) + { + preview_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + value.preview = preview_buf; + const auto menuType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_MenuType menuType_buf = {}; + menuType_buf.tag = menuType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (menuType_buf_runtimeType)) { - bottom_buf.value = static_cast(valueDeserializer.readInt32()); + menuType_buf.value = static_cast(valueDeserializer.readInt32()); } - value.bottom = bottom_buf; - return value; - } - Ark_PluginComponentTemplate readPluginComponentTemplate() - { - Ark_PluginComponentTemplate value = {}; - Deserializer& valueDeserializer = *this; - value.source = static_cast(valueDeserializer.readString()); - value.bundleName = static_cast(valueDeserializer.readString()); + value.menuType = menuType_buf; return value; } - Ark_PluginErrorData readPluginErrorData() + Ark_SelectionOptions readSelectionOptions() { - Ark_PluginErrorData value = {}; + Ark_SelectionOptions value = {}; Deserializer& valueDeserializer = *this; - value.errcode = static_cast(valueDeserializer.readNumber()); - value.msg = static_cast(valueDeserializer.readString()); + const auto menuPolicy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_MenuPolicy menuPolicy_buf = {}; + menuPolicy_buf.tag = menuPolicy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (menuPolicy_buf_runtimeType)) + { + menuPolicy_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.menuPolicy = menuPolicy_buf; return value; } - Ark_PolygonOptions readPolygonOptions() + Ark_ShapeSize readShapeSize() { - Ark_PolygonOptions value = {}; + Ark_ShapeSize value = {}; Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number width_buf = {}; + Opt_Union_Number_String width_buf = {}; width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number width_buf_ = {}; + Ark_Union_Number_String width_buf_ = {}; width_buf_.selector = width_buf__selector; if (width_buf__selector == 0) { width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readString()); + width_buf_.value0 = static_cast(valueDeserializer.readNumber()); } else if (width_buf__selector == 1) { width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + width_buf_.value1 = static_cast(valueDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + width_buf.value = static_cast(width_buf_); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number height_buf = {}; + Opt_Union_Number_String height_buf = {}; height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number height_buf_ = {}; + Ark_Union_Number_String height_buf_ = {}; height_buf_.selector = height_buf__selector; if (height_buf__selector == 0) { height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readString()); + height_buf_.value0 = static_cast(valueDeserializer.readNumber()); } else if (height_buf__selector == 1) { height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readNumber()); + height_buf_.value1 = static_cast(valueDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + height_buf.value = static_cast(height_buf_); } value.height = height_buf; return value; } - Ark_PolylineOptions readPolylineOptions() + Ark_SheetDismiss readSheetDismiss() { - Ark_PolylineOptions value = {}; + Ark_SheetDismiss value = {}; Deserializer& valueDeserializer = *this; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) - { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); - } - width_buf.value = static_cast(width_buf_); - } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) - { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); - } - height_buf.value = static_cast(height_buf_); - } - value.height = height_buf; + value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; return value; } - Ark_PolyToPolyOptions readPolyToPolyOptions() + Ark_SlideRange readSlideRange() { - Ark_PolyToPolyOptions value = {}; + Ark_SlideRange value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int32 src_buf_length = valueDeserializer.readInt32(); - Array_common2D_Point src_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&src_buf, src_buf_length); - for (int src_buf_i = 0; src_buf_i < src_buf_length; src_buf_i++) { - src_buf.array[src_buf_i] = valueDeserializer.readcommon2D_Point(); - } - value.src = src_buf; - const auto srcIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number srcIndex_buf = {}; - srcIndex_buf.tag = srcIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (srcIndex_buf_runtimeType)) - { - srcIndex_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.srcIndex = srcIndex_buf; - const Ark_Int32 dst_buf_length = valueDeserializer.readInt32(); - Array_common2D_Point dst_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&dst_buf, dst_buf_length); - for (int dst_buf_i = 0; dst_buf_i < dst_buf_length; dst_buf_i++) { - dst_buf.array[dst_buf_i] = valueDeserializer.readcommon2D_Point(); - } - value.dst = dst_buf; - const auto dstIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number dstIndex_buf = {}; - dstIndex_buf.tag = dstIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dstIndex_buf_runtimeType)) + const auto from_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number from_buf = {}; + from_buf.tag = from_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (from_buf_runtimeType)) { - dstIndex_buf.value = static_cast(valueDeserializer.readNumber()); + from_buf.value = static_cast(valueDeserializer.readNumber()); } - value.dstIndex = dstIndex_buf; - const auto pointCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number pointCount_buf = {}; - pointCount_buf.tag = pointCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (pointCount_buf_runtimeType)) + value.from = from_buf; + const auto to_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number to_buf = {}; + to_buf.tag = to_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (to_buf_runtimeType)) { - pointCount_buf.value = static_cast(valueDeserializer.readNumber()); + to_buf.value = static_cast(valueDeserializer.readNumber()); } - value.pointCount = pointCount_buf; - return value; - } - Ark_PopInfo readPopInfo() - { - Ark_PopInfo value = {}; - Deserializer& valueDeserializer = *this; - value.info = static_cast(valueDeserializer.readNavPathInfo()); - value.result = static_cast(valueDeserializer.readObject()); + value.to = to_buf; return value; } - Ark_PostMessageOptions readPostMessageOptions() + Ark_SliderOptions readSliderOptions() { - Ark_PostMessageOptions value = {}; + Ark_SliderOptions value = {}; Deserializer& valueDeserializer = *this; - const auto transfer_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_Object transfer_buf = {}; - transfer_buf.tag = transfer_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (transfer_buf_runtimeType)) + const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number value_buf = {}; + value_buf.tag = value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) { - const Ark_Int32 transfer_buf__length = valueDeserializer.readInt32(); - Array_Object transfer_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&transfer_buf_, transfer_buf__length); - for (int transfer_buf__i = 0; transfer_buf__i < transfer_buf__length; transfer_buf__i++) { - transfer_buf_.array[transfer_buf__i] = static_cast(valueDeserializer.readObject()); - } - transfer_buf.value = transfer_buf_; + value_buf.value = static_cast(valueDeserializer.readNumber()); } - value.transfer = transfer_buf; - return value; - } - Ark_PreviewText readPreviewText() - { - Ark_PreviewText value = {}; - Deserializer& valueDeserializer = *this; - value.offset = static_cast(valueDeserializer.readNumber()); - value.value = static_cast(valueDeserializer.readString()); - return value; - } - Ark_ProgressOptions readProgressOptions() - { - Ark_ProgressOptions value = {}; - Deserializer& valueDeserializer = *this; - value.value = static_cast(valueDeserializer.readNumber()); - const auto total_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number total_buf = {}; - total_buf.tag = total_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (total_buf_runtimeType)) + value.value = value_buf; + const auto min_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number min_buf = {}; + min_buf.tag = min_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (min_buf_runtimeType)) { - total_buf.value = static_cast(valueDeserializer.readNumber()); + min_buf.value = static_cast(valueDeserializer.readNumber()); } - value.total = total_buf; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ProgressStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + value.min = min_buf; + const auto max_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number max_buf = {}; + max_buf.tag = max_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (max_buf_runtimeType)) { - style_buf.value = static_cast(valueDeserializer.readInt32()); + max_buf.value = static_cast(valueDeserializer.readNumber()); } - value.style = style_buf; - const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ProgressType type_buf = {}; - type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + value.max = max_buf; + const auto step_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number step_buf = {}; + step_buf.tag = step_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (step_buf_runtimeType)) { - type_buf.value = static_cast(valueDeserializer.readInt32()); + step_buf.value = static_cast(valueDeserializer.readNumber()); } - value.type = type_buf; - return value; - } - Ark_RadioOptions readRadioOptions() - { - Ark_RadioOptions value = {}; - Deserializer& valueDeserializer = *this; - value.group = static_cast(valueDeserializer.readString()); - value.value = static_cast(valueDeserializer.readString()); - const auto indicatorType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_RadioIndicatorType indicatorType_buf = {}; - indicatorType_buf.tag = indicatorType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (indicatorType_buf_runtimeType)) + value.step = step_buf; + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SliderStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) { - indicatorType_buf.value = static_cast(valueDeserializer.readInt32()); + style_buf.value = static_cast(valueDeserializer.readInt32()); } - value.indicatorType = indicatorType_buf; - const auto indicatorBuilder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomNodeBuilder indicatorBuilder_buf = {}; - indicatorBuilder_buf.tag = indicatorBuilder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (indicatorBuilder_buf_runtimeType)) + value.style = style_buf; + const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Axis direction_buf = {}; + direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) { - indicatorBuilder_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + direction_buf.value = static_cast(valueDeserializer.readInt32()); } - value.indicatorBuilder = indicatorBuilder_buf; - return value; - } - Ark_RatingOptions readRatingOptions() - { - Ark_RatingOptions value = {}; - Deserializer& valueDeserializer = *this; - value.rating = static_cast(valueDeserializer.readNumber()); - const auto indicator_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean indicator_buf = {}; - indicator_buf.tag = indicator_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (indicator_buf_runtimeType)) + value.direction = direction_buf; + const auto reverse_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean reverse_buf = {}; + reverse_buf.tag = reverse_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (reverse_buf_runtimeType)) { - indicator_buf.value = valueDeserializer.readBoolean(); + reverse_buf.value = valueDeserializer.readBoolean(); } - value.indicator = indicator_buf; - return value; - } - Ark_RectStyle readRectStyle() - { - Ark_RectStyle value = {}; - Deserializer& valueDeserializer = *this; - value.color = valueDeserializer.readcommon2D_Color(); - value.leftTopRadius = static_cast(valueDeserializer.readNumber()); - value.rightTopRadius = static_cast(valueDeserializer.readNumber()); - value.rightBottomRadius = static_cast(valueDeserializer.readNumber()); - value.leftBottomRadius = static_cast(valueDeserializer.readNumber()); - return value; - } - Ark_RenderingContextSettings readRenderingContextSettings() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_RenderProcessNotRespondingData readRenderProcessNotRespondingData() - { - Ark_RenderProcessNotRespondingData value = {}; - Deserializer& valueDeserializer = *this; - value.jsStack = static_cast(valueDeserializer.readString()); - value.pid = static_cast(valueDeserializer.readNumber()); - value.reason = static_cast(valueDeserializer.readInt32()); + value.reverse = reverse_buf; return value; } - Ark_ReplaceSymbolEffect readReplaceSymbolEffect() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_Resource readResource() + Ark_SnapshotOptions readSnapshotOptions() { - Ark_Resource value = {}; + Ark_SnapshotOptions value = {}; Deserializer& valueDeserializer = *this; - value.bundleName = static_cast(valueDeserializer.readString()); - value.moduleName = static_cast(valueDeserializer.readString()); - value.id = static_cast(valueDeserializer.readNumber()); - const auto params_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_String params_buf = {}; - params_buf.tag = params_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (params_buf_runtimeType)) - { - const Ark_Int32 params_buf__length = valueDeserializer.readInt32(); - Array_String params_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(¶ms_buf_, params_buf__length); - for (int params_buf__i = 0; params_buf__i < params_buf__length; params_buf__i++) { - params_buf_.array[params_buf__i] = static_cast(valueDeserializer.readString()); - } - params_buf.value = params_buf_; - } - value.params = params_buf; - const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number type_buf = {}; - type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number scale_buf = {}; + scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) { - type_buf.value = static_cast(valueDeserializer.readNumber()); + scale_buf.value = static_cast(valueDeserializer.readNumber()); } - value.type = type_buf; - return value; - } - Ark_RichEditorBuilderSpanOptions readRichEditorBuilderSpanOptions() - { - Ark_RichEditorBuilderSpanOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + value.scale = scale_buf; + const auto waitUntilRenderFinished_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean waitUntilRenderFinished_buf = {}; + waitUntilRenderFinished_buf.tag = waitUntilRenderFinished_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (waitUntilRenderFinished_buf_runtimeType)) { - offset_buf.value = static_cast(valueDeserializer.readNumber()); + waitUntilRenderFinished_buf.value = valueDeserializer.readBoolean(); } - value.offset = offset_buf; + value.waitUntilRenderFinished = waitUntilRenderFinished_buf; return value; } - Ark_RichEditorDeleteValue readRichEditorDeleteValue() + Ark_SpringBackAction readSpringBackAction() { - Ark_RichEditorDeleteValue value = {}; + Ark_SpringBackAction value = {}; Deserializer& valueDeserializer = *this; - value.offset = static_cast(valueDeserializer.readNumber()); - value.direction = static_cast(valueDeserializer.readInt32()); - value.length = static_cast(valueDeserializer.readNumber()); - const Ark_Int32 richEditorDeleteSpans_buf_length = valueDeserializer.readInt32(); - Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult richEditorDeleteSpans_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&richEditorDeleteSpans_buf, richEditorDeleteSpans_buf_length); - for (int richEditorDeleteSpans_buf_i = 0; richEditorDeleteSpans_buf_i < richEditorDeleteSpans_buf_length; richEditorDeleteSpans_buf_i++) { - const Ark_Int8 richEditorDeleteSpans_buf_buf_selector = valueDeserializer.readInt8(); - Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult richEditorDeleteSpans_buf_buf = {}; - richEditorDeleteSpans_buf_buf.selector = richEditorDeleteSpans_buf_buf_selector; - if (richEditorDeleteSpans_buf_buf_selector == 0) { - richEditorDeleteSpans_buf_buf.selector = 0; - richEditorDeleteSpans_buf_buf.value0 = valueDeserializer.readRichEditorTextSpanResult(); - } - else if (richEditorDeleteSpans_buf_buf_selector == 1) { - richEditorDeleteSpans_buf_buf.selector = 1; - richEditorDeleteSpans_buf_buf.value1 = valueDeserializer.readRichEditorImageSpanResult(); - } - else { - INTEROP_FATAL("One of the branches for richEditorDeleteSpans_buf_buf has to be chosen through deserialisation."); - } - richEditorDeleteSpans_buf.array[richEditorDeleteSpans_buf_i] = static_cast(richEditorDeleteSpans_buf_buf); - } - value.richEditorDeleteSpans = richEditorDeleteSpans_buf; + value.springBack = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; return value; } - Ark_RichEditorGesture readRichEditorGesture() + Ark_SslErrorEvent readSslErrorEvent() { - Ark_RichEditorGesture value = {}; + Ark_SslErrorEvent value = {}; Deserializer& valueDeserializer = *this; - const auto onClick_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_ClickEvent_Void onClick_buf = {}; - onClick_buf.tag = onClick_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onClick_buf_runtimeType)) - { - onClick_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))}; - } - value.onClick = onClick_buf; - const auto onLongPress_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_GestureEvent_Void onLongPress_buf = {}; - onLongPress_buf.tag = onLongPress_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onLongPress_buf_runtimeType)) - { - onLongPress_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))}; - } - value.onLongPress = onLongPress_buf; + value.handler = static_cast(valueDeserializer.readSslErrorHandler()); + value.error = static_cast(valueDeserializer.readInt32()); + value.url = static_cast(valueDeserializer.readString()); + value.originalUrl = static_cast(valueDeserializer.readString()); + value.referrer = static_cast(valueDeserializer.readString()); + value.isFatalError = valueDeserializer.readBoolean(); + value.isMainFrame = valueDeserializer.readBoolean(); return value; } - Ark_RichEditorInsertValue readRichEditorInsertValue() + Ark_StackOptions readStackOptions() { - Ark_RichEditorInsertValue value = {}; + Ark_StackOptions value = {}; Deserializer& valueDeserializer = *this; - value.insertOffset = static_cast(valueDeserializer.readNumber()); - value.insertValue = static_cast(valueDeserializer.readString()); - const auto previewText_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String previewText_buf = {}; - previewText_buf.tag = previewText_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (previewText_buf_runtimeType)) + const auto alignContent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Alignment alignContent_buf = {}; + alignContent_buf.tag = alignContent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignContent_buf_runtimeType)) { - previewText_buf.value = static_cast(valueDeserializer.readString()); + alignContent_buf.value = static_cast(valueDeserializer.readInt32()); } - value.previewText = previewText_buf; + value.alignContent = alignContent_buf; return value; } - Ark_RichEditorRange readRichEditorRange() + Ark_StarStyleOptions readStarStyleOptions() { - Ark_RichEditorRange value = {}; + Ark_StarStyleOptions value = {}; Deserializer& valueDeserializer = *this; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) - { - start_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.start = start_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + value.backgroundUri = static_cast(valueDeserializer.readString()); + value.foregroundUri = static_cast(valueDeserializer.readString()); + const auto secondaryUri_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String secondaryUri_buf = {}; + secondaryUri_buf.tag = secondaryUri_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (secondaryUri_buf_runtimeType)) { - end_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.end = end_buf; - return value; - } - Ark_RichEditorSelection readRichEditorSelection() - { - Ark_RichEditorSelection value = {}; - Deserializer& valueDeserializer = *this; - Ark_Tuple_Number_Number selection_buf = {}; - selection_buf.value0 = static_cast(valueDeserializer.readNumber()); - selection_buf.value1 = static_cast(valueDeserializer.readNumber()); - value.selection = selection_buf; - const Ark_Int32 spans_buf_length = valueDeserializer.readInt32(); - Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult spans_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&spans_buf, spans_buf_length); - for (int spans_buf_i = 0; spans_buf_i < spans_buf_length; spans_buf_i++) { - const Ark_Int8 spans_buf_buf_selector = valueDeserializer.readInt8(); - Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult spans_buf_buf = {}; - spans_buf_buf.selector = spans_buf_buf_selector; - if (spans_buf_buf_selector == 0) { - spans_buf_buf.selector = 0; - spans_buf_buf.value0 = valueDeserializer.readRichEditorTextSpanResult(); - } - else if (spans_buf_buf_selector == 1) { - spans_buf_buf.selector = 1; - spans_buf_buf.value1 = valueDeserializer.readRichEditorImageSpanResult(); - } - else { - INTEROP_FATAL("One of the branches for spans_buf_buf has to be chosen through deserialisation."); - } - spans_buf.array[spans_buf_i] = static_cast(spans_buf_buf); - } - value.spans = spans_buf; - return value; - } - Ark_RichEditorSpanPosition readRichEditorSpanPosition() - { - Ark_RichEditorSpanPosition value = {}; - Deserializer& valueDeserializer = *this; - value.spanIndex = static_cast(valueDeserializer.readNumber()); - Ark_Tuple_Number_Number spanRange_buf = {}; - spanRange_buf.value0 = static_cast(valueDeserializer.readNumber()); - spanRange_buf.value1 = static_cast(valueDeserializer.readNumber()); - value.spanRange = spanRange_buf; + secondaryUri_buf.value = static_cast(valueDeserializer.readString()); + } + value.secondaryUri = secondaryUri_buf; return value; } - Ark_RotateOption readRotateOption() + Ark_StateStyles readStateStyles() { - Ark_RotateOption value = {}; + Ark_StateStyles value = {}; Deserializer& valueDeserializer = *this; - const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number x_buf = {}; - x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + const auto normal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Object normal_buf = {}; + normal_buf.tag = normal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (normal_buf_runtimeType)) { - x_buf.value = static_cast(valueDeserializer.readNumber()); + normal_buf.value = static_cast(valueDeserializer.readObject()); } - value.x = x_buf; - const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number y_buf = {}; - y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + value.normal = normal_buf; + const auto pressed_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Object pressed_buf = {}; + pressed_buf.tag = pressed_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (pressed_buf_runtimeType)) { - y_buf.value = static_cast(valueDeserializer.readNumber()); + pressed_buf.value = static_cast(valueDeserializer.readObject()); } - value.y = y_buf; - const auto z_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number z_buf = {}; - z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) + value.pressed = pressed_buf; + const auto disabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Object disabled_buf = {}; + disabled_buf.tag = disabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (disabled_buf_runtimeType)) { - z_buf.value = static_cast(valueDeserializer.readNumber()); + disabled_buf.value = static_cast(valueDeserializer.readObject()); } - value.z = z_buf; - const auto centerX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number centerX_buf = {}; - centerX_buf.tag = centerX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (centerX_buf_runtimeType)) + value.disabled = disabled_buf; + const auto focused_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Object focused_buf = {}; + focused_buf.tag = focused_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (focused_buf_runtimeType)) { - centerX_buf.value = static_cast(valueDeserializer.readNumber()); + focused_buf.value = static_cast(valueDeserializer.readObject()); } - value.centerX = centerX_buf; - const auto centerY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number centerY_buf = {}; - centerY_buf.tag = centerY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (centerY_buf_runtimeType)) + value.focused = focused_buf; + const auto clicked_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Object clicked_buf = {}; + clicked_buf.tag = clicked_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (clicked_buf_runtimeType)) { - centerY_buf.value = static_cast(valueDeserializer.readNumber()); + clicked_buf.value = static_cast(valueDeserializer.readObject()); } - value.centerY = centerY_buf; - const auto angle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number angle_buf = {}; - angle_buf.tag = angle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (angle_buf_runtimeType)) + value.clicked = clicked_buf; + const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Object selected_buf = {}; + selected_buf.tag = selected_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) { - angle_buf.value = static_cast(valueDeserializer.readNumber()); + selected_buf.value = static_cast(valueDeserializer.readObject()); } - value.angle = angle_buf; + value.selected = selected_buf; return value; } - Ark_RotateOptions readRotateOptions() + Ark_StyledStringChangedListener readStyledStringChangedListener() { - Ark_RotateOptions value = {}; + Ark_StyledStringChangedListener value = {}; Deserializer& valueDeserializer = *this; - const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number x_buf = {}; - x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) - { - x_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.x = x_buf; - const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number y_buf = {}; - y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + const auto onWillChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_StyledStringChangeValue_Boolean onWillChange_buf = {}; + onWillChange_buf.tag = onWillChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillChange_buf_runtimeType)) { - y_buf.value = static_cast(valueDeserializer.readNumber()); + onWillChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_StyledStringChangeValue_Boolean)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_StyledStringChangeValue_Boolean))))}; } - value.y = y_buf; - const auto z_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number z_buf = {}; - z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) + value.onWillChange = onWillChange_buf; + const auto onDidChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_OnDidChangeCallback onDidChange_buf = {}; + onDidChange_buf.tag = onDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDidChange_buf_runtimeType)) { - z_buf.value = static_cast(valueDeserializer.readNumber()); + onDidChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnDidChangeCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnDidChangeCallback))))}; } - value.z = z_buf; - const auto centerX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String centerX_buf = {}; - centerX_buf.tag = centerX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (centerX_buf_runtimeType)) - { - const Ark_Int8 centerX_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String centerX_buf_ = {}; - centerX_buf_.selector = centerX_buf__selector; - if (centerX_buf__selector == 0) { - centerX_buf_.selector = 0; - centerX_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (centerX_buf__selector == 1) { - centerX_buf_.selector = 1; - centerX_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for centerX_buf_ has to be chosen through deserialisation."); - } - centerX_buf.value = static_cast(centerX_buf_); + value.onDidChange = onDidChange_buf; + return value; + } + Ark_Summary readSummary() + { + Ark_Summary value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int32 summary_buf_size = valueDeserializer.readInt32(); + Map_String_Int64 summary_buf = {}; + valueDeserializer.resizeMap(&summary_buf, summary_buf_size); + for (int summary_buf_i = 0; summary_buf_i < summary_buf_size; summary_buf_i++) { + const Ark_String summary_buf_key = static_cast(valueDeserializer.readString()); + const Ark_Int64 summary_buf_value = valueDeserializer.readInt64(); + summary_buf.keys[summary_buf_i] = summary_buf_key; + summary_buf.values[summary_buf_i] = summary_buf_value; } - value.centerX = centerX_buf; - const auto centerY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String centerY_buf = {}; - centerY_buf.tag = centerY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (centerY_buf_runtimeType)) + value.summary = summary_buf; + value.totalSize = valueDeserializer.readInt64(); + return value; + } + Ark_SurfaceRect readSurfaceRect() + { + Ark_SurfaceRect value = {}; + Deserializer& valueDeserializer = *this; + const auto offsetX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number offsetX_buf = {}; + offsetX_buf.tag = offsetX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offsetX_buf_runtimeType)) { - const Ark_Int8 centerY_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String centerY_buf_ = {}; - centerY_buf_.selector = centerY_buf__selector; - if (centerY_buf__selector == 0) { - centerY_buf_.selector = 0; - centerY_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (centerY_buf__selector == 1) { - centerY_buf_.selector = 1; - centerY_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for centerY_buf_ has to be chosen through deserialisation."); - } - centerY_buf.value = static_cast(centerY_buf_); + offsetX_buf.value = static_cast(valueDeserializer.readNumber()); } - value.centerY = centerY_buf; - const auto centerZ_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number centerZ_buf = {}; - centerZ_buf.tag = centerZ_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (centerZ_buf_runtimeType)) + value.offsetX = offsetX_buf; + const auto offsetY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number offsetY_buf = {}; + offsetY_buf.tag = offsetY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offsetY_buf_runtimeType)) { - centerZ_buf.value = static_cast(valueDeserializer.readNumber()); + offsetY_buf.value = static_cast(valueDeserializer.readNumber()); } - value.centerZ = centerZ_buf; - const auto perspective_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number perspective_buf = {}; - perspective_buf.tag = perspective_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (perspective_buf_runtimeType)) + value.offsetY = offsetY_buf; + value.surfaceWidth = static_cast(valueDeserializer.readNumber()); + value.surfaceHeight = static_cast(valueDeserializer.readNumber()); + return value; + } + Ark_SurfaceRotationOptions readSurfaceRotationOptions() + { + Ark_SurfaceRotationOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto lock_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean lock_buf = {}; + lock_buf.tag = lock_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lock_buf_runtimeType)) { - perspective_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.perspective = perspective_buf; - const Ark_Int8 angle_buf_selector = valueDeserializer.readInt8(); - Ark_Union_Number_String angle_buf = {}; - angle_buf.selector = angle_buf_selector; - if (angle_buf_selector == 0) { - angle_buf.selector = 0; - angle_buf.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (angle_buf_selector == 1) { - angle_buf.selector = 1; - angle_buf.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for angle_buf has to be chosen through deserialisation."); + lock_buf.value = valueDeserializer.readBoolean(); } - value.angle = static_cast(angle_buf); + value.lock = lock_buf; return value; } - Ark_RoundedRectOptions readRoundedRectOptions() + Ark_SwipeGestureHandlerOptions readSwipeGestureHandlerOptions() { - Ark_RoundedRectOptions value = {}; + Ark_SwipeGestureHandlerOptions value = {}; Deserializer& valueDeserializer = *this; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + const auto isFingerCountLimited_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isFingerCountLimited_buf = {}; + isFingerCountLimited_buf.tag = isFingerCountLimited_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); - } - width_buf.value = static_cast(width_buf_); + isFingerCountLimited_buf.value = valueDeserializer.readBoolean(); } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + value.isFingerCountLimited = isFingerCountLimited_buf; + const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fingers_buf = {}; + fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); - } - height_buf.value = static_cast(height_buf_); + fingers_buf.value = static_cast(valueDeserializer.readNumber()); } - value.height = height_buf; - const auto radiusWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String radiusWidth_buf = {}; - radiusWidth_buf.tag = radiusWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radiusWidth_buf_runtimeType)) + value.fingers = fingers_buf; + const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SwipeDirection direction_buf = {}; + direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) { - const Ark_Int8 radiusWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String radiusWidth_buf_ = {}; - radiusWidth_buf_.selector = radiusWidth_buf__selector; - if (radiusWidth_buf__selector == 0) { - radiusWidth_buf_.selector = 0; - radiusWidth_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (radiusWidth_buf__selector == 1) { - radiusWidth_buf_.selector = 1; - radiusWidth_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for radiusWidth_buf_ has to be chosen through deserialisation."); - } - radiusWidth_buf.value = static_cast(radiusWidth_buf_); + direction_buf.value = static_cast(valueDeserializer.readInt32()); } - value.radiusWidth = radiusWidth_buf; - const auto radiusHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String radiusHeight_buf = {}; - radiusHeight_buf.tag = radiusHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radiusHeight_buf_runtimeType)) + value.direction = direction_buf; + const auto speed_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number speed_buf = {}; + speed_buf.tag = speed_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (speed_buf_runtimeType)) { - const Ark_Int8 radiusHeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String radiusHeight_buf_ = {}; - radiusHeight_buf_.selector = radiusHeight_buf__selector; - if (radiusHeight_buf__selector == 0) { - radiusHeight_buf_.selector = 0; - radiusHeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (radiusHeight_buf__selector == 1) { - radiusHeight_buf_.selector = 1; - radiusHeight_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for radiusHeight_buf_ has to be chosen through deserialisation."); - } - radiusHeight_buf.value = static_cast(radiusHeight_buf_); + speed_buf.value = static_cast(valueDeserializer.readNumber()); } - value.radiusHeight = radiusHeight_buf; + value.speed = speed_buf; return value; } - Ark_RoundRect readRoundRect() + Ark_SwiperAutoFill readSwiperAutoFill() { - Ark_RoundRect value = {}; + Ark_SwiperAutoFill value = {}; Deserializer& valueDeserializer = *this; - value.rect = valueDeserializer.readRect(); - value.corners = valueDeserializer.readCornerRadius(); + const Ark_Int8 minSize_buf_selector = valueDeserializer.readInt8(); + Ark_VP minSize_buf = {}; + minSize_buf.selector = minSize_buf_selector; + if (minSize_buf_selector == 0) { + minSize_buf.selector = 0; + minSize_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (minSize_buf_selector == 1) { + minSize_buf.selector = 1; + minSize_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else { + INTEROP_FATAL("One of the branches for minSize_buf has to be chosen through deserialisation."); + } + value.minSize = static_cast(minSize_buf); return value; } - Ark_RoundRectShapeOptions readRoundRectShapeOptions() + Ark_SwiperContentAnimatedTransition readSwiperContentAnimatedTransition() { - Ark_RoundRectShapeOptions value = {}; + Ark_SwiperContentAnimatedTransition value = {}; Deserializer& valueDeserializer = *this; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + const auto timeout_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number timeout_buf = {}; + timeout_buf.tag = timeout_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); - } - width_buf.value = static_cast(width_buf_); + timeout_buf.value = static_cast(valueDeserializer.readNumber()); } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + value.timeout = timeout_buf; + value.transition = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SwiperContentTransitionProxy_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SwiperContentTransitionProxy_Void))))}; + return value; + } + Ark_SystemAdaptiveOptions readSystemAdaptiveOptions() + { + Ark_SystemAdaptiveOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto disableSystemAdaptation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean disableSystemAdaptation_buf = {}; + disableSystemAdaptation_buf.tag = disableSystemAdaptation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (disableSystemAdaptation_buf_runtimeType)) { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); - } - height_buf.value = static_cast(height_buf_); + disableSystemAdaptation_buf.value = valueDeserializer.readBoolean(); } - value.height = height_buf; - const auto radiusWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String radiusWidth_buf = {}; - radiusWidth_buf.tag = radiusWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radiusWidth_buf_runtimeType)) + value.disableSystemAdaptation = disableSystemAdaptation_buf; + return value; + } + Ark_SystemBarStyle readSystemBarStyle() + { + Ark_SystemBarStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto statusBarContentColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String statusBarContentColor_buf = {}; + statusBarContentColor_buf.tag = statusBarContentColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (statusBarContentColor_buf_runtimeType)) { - const Ark_Int8 radiusWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String radiusWidth_buf_ = {}; - radiusWidth_buf_.selector = radiusWidth_buf__selector; - if (radiusWidth_buf__selector == 0) { - radiusWidth_buf_.selector = 0; - radiusWidth_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (radiusWidth_buf__selector == 1) { - radiusWidth_buf_.selector = 1; - radiusWidth_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for radiusWidth_buf_ has to be chosen through deserialisation."); - } - radiusWidth_buf.value = static_cast(radiusWidth_buf_); + statusBarContentColor_buf.value = static_cast(valueDeserializer.readString()); } - value.radiusWidth = radiusWidth_buf; - const auto radiusHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String radiusHeight_buf = {}; - radiusHeight_buf.tag = radiusHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radiusHeight_buf_runtimeType)) + value.statusBarContentColor = statusBarContentColor_buf; + return value; + } + Ark_TabBarSymbol readTabBarSymbol() + { + Ark_TabBarSymbol value = {}; + Deserializer& valueDeserializer = *this; + value.normal = valueDeserializer.readSymbolGlyphModifier(); + const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SymbolGlyphModifier selected_buf = {}; + selected_buf.tag = selected_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) { - const Ark_Int8 radiusHeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String radiusHeight_buf_ = {}; - radiusHeight_buf_.selector = radiusHeight_buf__selector; - if (radiusHeight_buf__selector == 0) { - radiusHeight_buf_.selector = 0; - radiusHeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (radiusHeight_buf__selector == 1) { - radiusHeight_buf_.selector = 1; - radiusHeight_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for radiusHeight_buf_ has to be chosen through deserialisation."); - } - radiusHeight_buf.value = static_cast(radiusHeight_buf_); + selected_buf.value = valueDeserializer.readSymbolGlyphModifier(); } - value.radiusHeight = radiusHeight_buf; + value.selected = selected_buf; return value; } - Ark_RouteInfo readRouteInfo() + Ark_TabContentAnimatedTransition readTabContentAnimatedTransition() { - Ark_RouteInfo value = {}; + Ark_TabContentAnimatedTransition value = {}; Deserializer& valueDeserializer = *this; - value.name = static_cast(valueDeserializer.readString()); - const auto param_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Object param_buf = {}; - param_buf.tag = param_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (param_buf_runtimeType)) + const auto timeout_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number timeout_buf = {}; + timeout_buf.tag = timeout_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) { - param_buf.value = static_cast(valueDeserializer.readObject()); + timeout_buf.value = static_cast(valueDeserializer.readNumber()); } - value.param = param_buf; + value.timeout = timeout_buf; + value.transition = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TabContentTransitionProxy_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TabContentTransitionProxy_Void))))}; return value; } - Ark_RouteMapConfig readRouteMapConfig() + Ark_TapGestureParameters readTapGestureParameters() { - Ark_RouteMapConfig value = {}; + Ark_TapGestureParameters value = {}; Deserializer& valueDeserializer = *this; - value.name = static_cast(valueDeserializer.readString()); - value.pageSourceFile = static_cast(valueDeserializer.readString()); - value.data = static_cast(valueDeserializer.readObject()); + const auto isFingerCountLimited_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isFingerCountLimited_buf = {}; + isFingerCountLimited_buf.tag = isFingerCountLimited_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) + { + isFingerCountLimited_buf.value = valueDeserializer.readBoolean(); + } + value.isFingerCountLimited = isFingerCountLimited_buf; + const auto count_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number count_buf = {}; + count_buf.tag = count_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (count_buf_runtimeType)) + { + count_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.count = count_buf; + const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fingers_buf = {}; + fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.fingers = fingers_buf; + const auto distanceThreshold_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number distanceThreshold_buf = {}; + distanceThreshold_buf.tag = distanceThreshold_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (distanceThreshold_buf_runtimeType)) + { + distanceThreshold_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.distanceThreshold = distanceThreshold_buf; return value; } - Ark_RowOptions readRowOptions() + Ark_TextBox readTextBox() { - Ark_RowOptions value = {}; + Ark_TextBox value = {}; Deserializer& valueDeserializer = *this; - const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number space_buf = {}; - space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) - { - const Ark_Int8 space_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number space_buf_ = {}; - space_buf_.selector = space_buf__selector; - if (space_buf__selector == 0) { - space_buf_.selector = 0; - space_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (space_buf__selector == 1) { - space_buf_.selector = 1; - space_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else { - INTEROP_FATAL("One of the branches for space_buf_ has to be chosen through deserialisation."); - } - space_buf.value = static_cast(space_buf_); - } - value.space = space_buf; + value.rect = valueDeserializer.readRect(); + value.direction = static_cast(valueDeserializer.readInt32()); return value; } - Ark_SaveButtonOptions readSaveButtonOptions() + Ark_TextClockOptions readTextClockOptions() { - Ark_SaveButtonOptions value = {}; + Ark_TextClockOptions value = {}; Deserializer& valueDeserializer = *this; - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SaveIconStyle icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + const auto timeZoneOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number timeZoneOffset_buf = {}; + timeZoneOffset_buf.tag = timeZoneOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (timeZoneOffset_buf_runtimeType)) { - icon_buf.value = static_cast(valueDeserializer.readInt32()); + timeZoneOffset_buf.value = static_cast(valueDeserializer.readNumber()); } - value.icon = icon_buf; - const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SaveDescription text_buf = {}; - text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + value.timeZoneOffset = timeZoneOffset_buf; + const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextClockController controller_buf = {}; + controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) { - text_buf.value = static_cast(valueDeserializer.readInt32()); + controller_buf.value = static_cast(valueDeserializer.readTextClockController()); } - value.text = text_buf; - const auto buttonType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ButtonType buttonType_buf = {}; - buttonType_buf.tag = buttonType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (buttonType_buf_runtimeType)) + value.controller = controller_buf; + return value; + } + Ark_TextContentControllerOptions readTextContentControllerOptions() + { + Ark_TextContentControllerOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number offset_buf = {}; + offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - buttonType_buf.value = static_cast(valueDeserializer.readInt32()); + offset_buf.value = static_cast(valueDeserializer.readNumber()); } - value.buttonType = buttonType_buf; + value.offset = offset_buf; return value; } - Ark_ScaleOption readScaleOption() + Ark_TextMarqueeOptions readTextMarqueeOptions() { - Ark_ScaleOption value = {}; + Ark_TextMarqueeOptions value = {}; Deserializer& valueDeserializer = *this; - const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number x_buf = {}; - x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + value.start = valueDeserializer.readBoolean(); + const auto step_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number step_buf = {}; + step_buf.tag = step_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (step_buf_runtimeType)) { - x_buf.value = static_cast(valueDeserializer.readNumber()); + step_buf.value = static_cast(valueDeserializer.readNumber()); } - value.x = x_buf; - const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number y_buf = {}; - y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + value.step = step_buf; + const auto loop_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number loop_buf = {}; + loop_buf.tag = loop_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (loop_buf_runtimeType)) { - y_buf.value = static_cast(valueDeserializer.readNumber()); + loop_buf.value = static_cast(valueDeserializer.readNumber()); } - value.y = y_buf; - const auto z_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number z_buf = {}; - z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) + value.loop = loop_buf; + const auto fromStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean fromStart_buf = {}; + fromStart_buf.tag = fromStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fromStart_buf_runtimeType)) { - z_buf.value = static_cast(valueDeserializer.readNumber()); + fromStart_buf.value = valueDeserializer.readBoolean(); } - value.z = z_buf; - const auto centerX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number centerX_buf = {}; - centerX_buf.tag = centerX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (centerX_buf_runtimeType)) + value.fromStart = fromStart_buf; + const auto delay_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number delay_buf = {}; + delay_buf.tag = delay_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (delay_buf_runtimeType)) { - centerX_buf.value = static_cast(valueDeserializer.readNumber()); + delay_buf.value = static_cast(valueDeserializer.readNumber()); } - value.centerX = centerX_buf; - const auto centerY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number centerY_buf = {}; - centerY_buf.tag = centerY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (centerY_buf_runtimeType)) + value.delay = delay_buf; + const auto fadeout_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean fadeout_buf = {}; + fadeout_buf.tag = fadeout_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fadeout_buf_runtimeType)) { - centerY_buf.value = static_cast(valueDeserializer.readNumber()); + fadeout_buf.value = valueDeserializer.readBoolean(); } - value.centerY = centerY_buf; + value.fadeout = fadeout_buf; + const auto marqueeStartPolicy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_MarqueeStartPolicy marqueeStartPolicy_buf = {}; + marqueeStartPolicy_buf.tag = marqueeStartPolicy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (marqueeStartPolicy_buf_runtimeType)) + { + marqueeStartPolicy_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.marqueeStartPolicy = marqueeStartPolicy_buf; return value; } - Ark_ScaleOptions readScaleOptions() + Ark_TextRange readTextRange() { - Ark_ScaleOptions value = {}; + Ark_TextRange value = {}; Deserializer& valueDeserializer = *this; - const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number x_buf = {}; - x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) - { - x_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.x = x_buf; - const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number y_buf = {}; - y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) - { - y_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.y = y_buf; - const auto z_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number z_buf = {}; - z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) - { - z_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.z = z_buf; - const auto centerX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String centerX_buf = {}; - centerX_buf.tag = centerX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (centerX_buf_runtimeType)) + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) { - const Ark_Int8 centerX_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String centerX_buf_ = {}; - centerX_buf_.selector = centerX_buf__selector; - if (centerX_buf__selector == 0) { - centerX_buf_.selector = 0; - centerX_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (centerX_buf__selector == 1) { - centerX_buf_.selector = 1; - centerX_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for centerX_buf_ has to be chosen through deserialisation."); - } - centerX_buf.value = static_cast(centerX_buf_); + start_buf.value = static_cast(valueDeserializer.readNumber()); } - value.centerX = centerX_buf; - const auto centerY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String centerY_buf = {}; - centerY_buf.tag = centerY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (centerY_buf_runtimeType)) + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) { - const Ark_Int8 centerY_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String centerY_buf_ = {}; - centerY_buf_.selector = centerY_buf__selector; - if (centerY_buf__selector == 0) { - centerY_buf_.selector = 0; - centerY_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (centerY_buf__selector == 1) { - centerY_buf_.selector = 1; - centerY_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for centerY_buf_ has to be chosen through deserialisation."); - } - centerY_buf.value = static_cast(centerY_buf_); + end_buf.value = static_cast(valueDeserializer.readNumber()); } - value.centerY = centerY_buf; + value.end = end_buf; return value; } - Ark_ScaleSymbolEffect readScaleSymbolEffect() + Ark_TextShadowStyle readTextShadowStyle() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_ScreenCaptureConfig readScreenCaptureConfig() + Ark_TextStyle_alert_dialog readTextStyle_alert_dialog() { - Ark_ScreenCaptureConfig value = {}; + Ark_TextStyle_alert_dialog value = {}; Deserializer& valueDeserializer = *this; - value.captureMode = static_cast(valueDeserializer.readInt32()); + const auto wordBreak_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_WordBreak wordBreak_buf = {}; + wordBreak_buf.tag = wordBreak_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (wordBreak_buf_runtimeType)) + { + wordBreak_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.wordBreak = wordBreak_buf; return value; } - Ark_ScriptItem readScriptItem() + Ark_TextTimerOptions readTextTimerOptions() { - Ark_ScriptItem value = {}; + Ark_TextTimerOptions value = {}; Deserializer& valueDeserializer = *this; - value.script = static_cast(valueDeserializer.readString()); - const Ark_Int32 scriptRules_buf_length = valueDeserializer.readInt32(); - Array_String scriptRules_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&scriptRules_buf, scriptRules_buf_length); - for (int scriptRules_buf_i = 0; scriptRules_buf_i < scriptRules_buf_length; scriptRules_buf_i++) { - scriptRules_buf.array[scriptRules_buf_i] = static_cast(valueDeserializer.readString()); + const auto isCountDown_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isCountDown_buf = {}; + isCountDown_buf.tag = isCountDown_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isCountDown_buf_runtimeType)) + { + isCountDown_buf.value = valueDeserializer.readBoolean(); } - value.scriptRules = scriptRules_buf; + value.isCountDown = isCountDown_buf; + const auto count_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number count_buf = {}; + count_buf.tag = count_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (count_buf_runtimeType)) + { + count_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.count = count_buf; + const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextTimerController controller_buf = {}; + controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + { + controller_buf.value = static_cast(valueDeserializer.readTextTimerController()); + } + value.controller = controller_buf; return value; } - Ark_ScrollAnimationOptions readScrollAnimationOptions() + Ark_TimePickerOptions readTimePickerOptions() { - Ark_ScrollAnimationOptions value = {}; + Ark_TimePickerOptions value = {}; Deserializer& valueDeserializer = *this; - const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number duration_buf = {}; - duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date selected_buf = {}; + selected_buf.tag = selected_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) { - duration_buf.value = static_cast(valueDeserializer.readNumber()); + selected_buf.value = valueDeserializer.readInt64(); } - value.duration = duration_buf; - const auto curve_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Curve_ICurve curve_buf = {}; - curve_buf.tag = curve_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (curve_buf_runtimeType)) + value.selected = selected_buf; + const auto format_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TimePickerFormat format_buf = {}; + format_buf.tag = format_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (format_buf_runtimeType)) { - const Ark_Int8 curve_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Curve_ICurve curve_buf_ = {}; - curve_buf_.selector = curve_buf__selector; - if (curve_buf__selector == 0) { - curve_buf_.selector = 0; - curve_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (curve_buf__selector == 1) { - curve_buf_.selector = 1; - curve_buf_.value1 = static_cast(valueDeserializer.readICurve()); - } - else { - INTEROP_FATAL("One of the branches for curve_buf_ has to be chosen through deserialisation."); - } - curve_buf.value = static_cast(curve_buf_); + format_buf.value = static_cast(valueDeserializer.readInt32()); } - value.curve = curve_buf; - const auto canOverScroll_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean canOverScroll_buf = {}; - canOverScroll_buf.tag = canOverScroll_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (canOverScroll_buf_runtimeType)) + value.format = format_buf; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) { - canOverScroll_buf.value = valueDeserializer.readBoolean(); + start_buf.value = valueDeserializer.readInt64(); } - value.canOverScroll = canOverScroll_buf; + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = valueDeserializer.readInt64(); + } + value.end = end_buf; return value; } - Ark_ScrollBarOptions readScrollBarOptions() + Ark_ToggleOptions readToggleOptions() { - Ark_ScrollBarOptions value = {}; + Ark_ToggleOptions value = {}; Deserializer& valueDeserializer = *this; - value.scroller = static_cast(valueDeserializer.readScroller()); - const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ScrollBarDirection direction_buf = {}; - direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) + value.type = static_cast(valueDeserializer.readInt32()); + const auto isOn_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isOn_buf = {}; + isOn_buf.tag = isOn_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isOn_buf_runtimeType)) { - direction_buf.value = static_cast(valueDeserializer.readInt32()); + isOn_buf.value = valueDeserializer.readBoolean(); } - value.direction = direction_buf; - const auto state_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BarState state_buf = {}; - state_buf.tag = state_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (state_buf_runtimeType)) + value.isOn = isOn_buf; + return value; + } + Ark_TouchObject readTouchObject() + { + Ark_TouchObject value = {}; + Deserializer& valueDeserializer = *this; + value.type = static_cast(valueDeserializer.readInt32()); + value.id = static_cast(valueDeserializer.readNumber()); + value.displayX = static_cast(valueDeserializer.readNumber()); + value.displayY = static_cast(valueDeserializer.readNumber()); + value.windowX = static_cast(valueDeserializer.readNumber()); + value.windowY = static_cast(valueDeserializer.readNumber()); + value.screenX = static_cast(valueDeserializer.readNumber()); + value.screenY = static_cast(valueDeserializer.readNumber()); + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); + const auto hand_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_InteractionHand hand_buf = {}; + hand_buf.tag = hand_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hand_buf_runtimeType)) { - state_buf.value = static_cast(valueDeserializer.readInt32()); + hand_buf.value = static_cast(valueDeserializer.readInt32()); } - value.state = state_buf; + value.hand = hand_buf; + const auto pressedTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number pressedTime_buf = {}; + pressedTime_buf.tag = pressedTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (pressedTime_buf_runtimeType)) + { + pressedTime_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.pressedTime = pressedTime_buf; + const auto pressure_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number pressure_buf = {}; + pressure_buf.tag = pressure_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (pressure_buf_runtimeType)) + { + pressure_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.pressure = pressure_buf; + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + { + width_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + { + height_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.height = height_buf; return value; } - Ark_ScrollEdgeOptions readScrollEdgeOptions() + Ark_TouchResult readTouchResult() { - Ark_ScrollEdgeOptions value = {}; + Ark_TouchResult value = {}; Deserializer& valueDeserializer = *this; - const auto velocity_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number velocity_buf = {}; - velocity_buf.tag = velocity_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (velocity_buf_runtimeType)) + value.strategy = static_cast(valueDeserializer.readInt32()); + const auto id_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String id_buf = {}; + id_buf.tag = id_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (id_buf_runtimeType)) { - velocity_buf.value = static_cast(valueDeserializer.readNumber()); + id_buf.value = static_cast(valueDeserializer.readString()); } - value.velocity = velocity_buf; + value.id = id_buf; return value; } - Ark_ScrollPageOptions readScrollPageOptions() + Ark_TransformationMatrix readTransformationMatrix() { - Ark_ScrollPageOptions value = {}; + Ark_TransformationMatrix value = {}; Deserializer& valueDeserializer = *this; - value.next = valueDeserializer.readBoolean(); - const auto animation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean animation_buf = {}; - animation_buf.tag = animation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animation_buf_runtimeType)) - { - animation_buf.value = valueDeserializer.readBoolean(); + const Ark_Int32 matrix4x4_buf_length = valueDeserializer.readInt32(); + Array_Number matrix4x4_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&matrix4x4_buf, matrix4x4_buf_length); + for (int matrix4x4_buf_i = 0; matrix4x4_buf_i < matrix4x4_buf_length; matrix4x4_buf_i++) { + matrix4x4_buf.array[matrix4x4_buf_i] = static_cast(valueDeserializer.readNumber()); } - value.animation = animation_buf; + value.matrix4x4 = matrix4x4_buf; return value; } - Ark_SelectionMenuOptions readSelectionMenuOptions() + Ark_TranslateOption readTranslateOption() { - Ark_SelectionMenuOptions value = {}; + Ark_TranslateOption value = {}; Deserializer& valueDeserializer = *this; - const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_MenuOnAppearCallback onAppear_buf = {}; - onAppear_buf.tag = onAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) + const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number x_buf = {}; + x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) { - onAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_MenuOnAppearCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_MenuOnAppearCallback))))}; + x_buf.value = static_cast(valueDeserializer.readNumber()); } - value.onAppear = onAppear_buf; - const auto onDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onDisappear_buf = {}; - onDisappear_buf.tag = onDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) + value.x = x_buf; + const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number y_buf = {}; + y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) { - onDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + y_buf.value = static_cast(valueDeserializer.readNumber()); } - value.onDisappear = onDisappear_buf; - const auto menuType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_MenuType menuType_buf = {}; - menuType_buf.tag = menuType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (menuType_buf_runtimeType)) + value.y = y_buf; + const auto z_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number z_buf = {}; + z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) + { + z_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.z = z_buf; + return value; + } + Ark_TranslateOptions readTranslateOptions() + { + Ark_TranslateOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String x_buf = {}; + x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + { + const Ark_Int8 x_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String x_buf_ = {}; + x_buf_.selector = x_buf__selector; + if (x_buf__selector == 0) { + x_buf_.selector = 0; + x_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (x_buf__selector == 1) { + x_buf_.selector = 1; + x_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for x_buf_ has to be chosen through deserialisation."); + } + x_buf.value = static_cast(x_buf_); + } + value.x = x_buf; + const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String y_buf = {}; + y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + { + const Ark_Int8 y_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String y_buf_ = {}; + y_buf_.selector = y_buf__selector; + if (y_buf__selector == 0) { + y_buf_.selector = 0; + y_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (y_buf__selector == 1) { + y_buf_.selector = 1; + y_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for y_buf_ has to be chosen through deserialisation."); + } + y_buf.value = static_cast(y_buf_); + } + value.y = y_buf; + const auto z_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String z_buf = {}; + z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) { - menuType_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 z_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String z_buf_ = {}; + z_buf_.selector = z_buf__selector; + if (z_buf__selector == 0) { + z_buf_.selector = 0; + z_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (z_buf__selector == 1) { + z_buf_.selector = 1; + z_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for z_buf_ has to be chosen through deserialisation."); + } + z_buf.value = static_cast(z_buf_); } - value.menuType = menuType_buf; + value.z = z_buf; return value; } - Ark_SelectionMenuOptionsExt readSelectionMenuOptionsExt() + Ark_UIExtensionOptions readUIExtensionOptions() { - Ark_SelectionMenuOptionsExt value = {}; + Ark_UIExtensionOptions value = {}; Deserializer& valueDeserializer = *this; - const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onAppear_buf = {}; - onAppear_buf.tag = onAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) + const auto isTransferringCaller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isTransferringCaller_buf = {}; + isTransferringCaller_buf.tag = isTransferringCaller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isTransferringCaller_buf_runtimeType)) { - onAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + isTransferringCaller_buf.value = valueDeserializer.readBoolean(); } - value.onAppear = onAppear_buf; - const auto onDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onDisappear_buf = {}; - onDisappear_buf.tag = onDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) + value.isTransferringCaller = isTransferringCaller_buf; + const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ComponentContent placeholder_buf = {}; + placeholder_buf.tag = placeholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) { - onDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + placeholder_buf.value = static_cast(valueDeserializer.readComponentContent()); } - value.onDisappear = onDisappear_buf; - const auto preview_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomNodeBuilder preview_buf = {}; - preview_buf.tag = preview_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (preview_buf_runtimeType)) + value.placeholder = placeholder_buf; + const auto areaChangePlaceholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Map_String_ComponentContent areaChangePlaceholder_buf = {}; + areaChangePlaceholder_buf.tag = areaChangePlaceholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (areaChangePlaceholder_buf_runtimeType)) { - preview_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + const Ark_Int32 areaChangePlaceholder_buf__size = valueDeserializer.readInt32(); + Map_String_ComponentContent areaChangePlaceholder_buf_ = {}; + valueDeserializer.resizeMap(&areaChangePlaceholder_buf_, areaChangePlaceholder_buf__size); + for (int areaChangePlaceholder_buf__i = 0; areaChangePlaceholder_buf__i < areaChangePlaceholder_buf__size; areaChangePlaceholder_buf__i++) { + const Ark_String areaChangePlaceholder_buf__key = static_cast(valueDeserializer.readString()); + const Ark_ComponentContent areaChangePlaceholder_buf__value = static_cast(valueDeserializer.readComponentContent()); + areaChangePlaceholder_buf_.keys[areaChangePlaceholder_buf__i] = areaChangePlaceholder_buf__key; + areaChangePlaceholder_buf_.values[areaChangePlaceholder_buf__i] = areaChangePlaceholder_buf__value; + } + areaChangePlaceholder_buf.value = areaChangePlaceholder_buf_; } - value.preview = preview_buf; - const auto menuType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_MenuType menuType_buf = {}; - menuType_buf.tag = menuType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (menuType_buf_runtimeType)) + value.areaChangePlaceholder = areaChangePlaceholder_buf; + const auto dpiFollowStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DpiFollowStrategy dpiFollowStrategy_buf = {}; + dpiFollowStrategy_buf.tag = dpiFollowStrategy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dpiFollowStrategy_buf_runtimeType)) { - menuType_buf.value = static_cast(valueDeserializer.readInt32()); + dpiFollowStrategy_buf.value = static_cast(valueDeserializer.readInt32()); } - value.menuType = menuType_buf; - return value; - } - Ark_SelectionOptions readSelectionOptions() - { - Ark_SelectionOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto menuPolicy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_MenuPolicy menuPolicy_buf = {}; - menuPolicy_buf.tag = menuPolicy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (menuPolicy_buf_runtimeType)) + value.dpiFollowStrategy = dpiFollowStrategy_buf; + const auto windowModeFollowStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_WindowModeFollowStrategy windowModeFollowStrategy_buf = {}; + windowModeFollowStrategy_buf.tag = windowModeFollowStrategy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (windowModeFollowStrategy_buf_runtimeType)) { - menuPolicy_buf.value = static_cast(valueDeserializer.readInt32()); + windowModeFollowStrategy_buf.value = static_cast(valueDeserializer.readInt32()); } - value.menuPolicy = menuPolicy_buf; + value.windowModeFollowStrategy = windowModeFollowStrategy_buf; return value; } - Ark_ShapeSize readShapeSize() + Ark_ViewportRect readViewportRect() { - Ark_ShapeSize value = {}; + Ark_ViewportRect value = {}; Deserializer& valueDeserializer = *this; + const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String x_buf = {}; + x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + { + const Ark_Int8 x_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String x_buf_ = {}; + x_buf_.selector = x_buf__selector; + if (x_buf__selector == 0) { + x_buf_.selector = 0; + x_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (x_buf__selector == 1) { + x_buf_.selector = 1; + x_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for x_buf_ has to be chosen through deserialisation."); + } + x_buf.value = static_cast(x_buf_); + } + value.x = x_buf; + const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String y_buf = {}; + y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + { + const Ark_Int8 y_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String y_buf_ = {}; + y_buf_.selector = y_buf__selector; + if (y_buf__selector == 0) { + y_buf_.selector = 0; + y_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (y_buf__selector == 1) { + y_buf_.selector = 1; + y_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for y_buf_ has to be chosen through deserialisation."); + } + y_buf.value = static_cast(y_buf_); + } + value.y = y_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_String width_buf = {}; width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -92998,1380 +99211,1283 @@ class Deserializer : public DeserializerBase { value.height = height_buf; return value; } - Ark_SheetDismiss readSheetDismiss() - { - Ark_SheetDismiss value = {}; - Deserializer& valueDeserializer = *this; - value.dismiss = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - return value; - } - Ark_SlideRange readSlideRange() - { - Ark_SlideRange value = {}; - Deserializer& valueDeserializer = *this; - const auto from_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number from_buf = {}; - from_buf.tag = from_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (from_buf_runtimeType)) - { - from_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.from = from_buf; - const auto to_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number to_buf = {}; - to_buf.tag = to_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (to_buf_runtimeType)) - { - to_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.to = to_buf; - return value; - } - Ark_SliderOptions readSliderOptions() - { - Ark_SliderOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number value_buf = {}; - value_buf.tag = value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) - { - value_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.value = value_buf; - const auto min_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number min_buf = {}; - min_buf.tag = min_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (min_buf_runtimeType)) - { - min_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.min = min_buf; - const auto max_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number max_buf = {}; - max_buf.tag = max_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (max_buf_runtimeType)) - { - max_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.max = max_buf; - const auto step_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number step_buf = {}; - step_buf.tag = step_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (step_buf_runtimeType)) - { - step_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.step = step_buf; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SliderStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) - { - style_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.style = style_buf; - const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Axis direction_buf = {}; - direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) - { - direction_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.direction = direction_buf; - const auto reverse_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean reverse_buf = {}; - reverse_buf.tag = reverse_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (reverse_buf_runtimeType)) - { - reverse_buf.value = valueDeserializer.readBoolean(); - } - value.reverse = reverse_buf; - return value; - } - Ark_SnapshotOptions readSnapshotOptions() - { - Ark_SnapshotOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number scale_buf = {}; - scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) - { - scale_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.scale = scale_buf; - const auto waitUntilRenderFinished_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean waitUntilRenderFinished_buf = {}; - waitUntilRenderFinished_buf.tag = waitUntilRenderFinished_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (waitUntilRenderFinished_buf_runtimeType)) - { - waitUntilRenderFinished_buf.value = valueDeserializer.readBoolean(); - } - value.waitUntilRenderFinished = waitUntilRenderFinished_buf; - return value; - } - Ark_SpringBackAction readSpringBackAction() - { - Ark_SpringBackAction value = {}; - Deserializer& valueDeserializer = *this; - value.springBack = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - return value; - } - Ark_SslErrorEvent readSslErrorEvent() - { - Ark_SslErrorEvent value = {}; - Deserializer& valueDeserializer = *this; - value.handler = static_cast(valueDeserializer.readSslErrorHandler()); - value.error = static_cast(valueDeserializer.readInt32()); - value.url = static_cast(valueDeserializer.readString()); - value.originalUrl = static_cast(valueDeserializer.readString()); - value.referrer = static_cast(valueDeserializer.readString()); - value.isFatalError = valueDeserializer.readBoolean(); - value.isMainFrame = valueDeserializer.readBoolean(); - return value; - } - Ark_StackOptions readStackOptions() - { - Ark_StackOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto alignContent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Alignment alignContent_buf = {}; - alignContent_buf.tag = alignContent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (alignContent_buf_runtimeType)) - { - alignContent_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.alignContent = alignContent_buf; - return value; - } - Ark_StarStyleOptions readStarStyleOptions() + Ark_VirtualScrollOptions readVirtualScrollOptions() { - Ark_StarStyleOptions value = {}; Deserializer& valueDeserializer = *this; - value.backgroundUri = static_cast(valueDeserializer.readString()); - value.foregroundUri = static_cast(valueDeserializer.readString()); - const auto secondaryUri_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String secondaryUri_buf = {}; - secondaryUri_buf.tag = secondaryUri_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (secondaryUri_buf_runtimeType)) - { - secondaryUri_buf.value = static_cast(valueDeserializer.readString()); - } - value.secondaryUri = secondaryUri_buf; - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_StateStyles readStateStyles() + Ark_VisibleAreaEventOptions readVisibleAreaEventOptions() { - Ark_StateStyles value = {}; + Ark_VisibleAreaEventOptions value = {}; Deserializer& valueDeserializer = *this; - const auto normal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Object normal_buf = {}; - normal_buf.tag = normal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (normal_buf_runtimeType)) - { - normal_buf.value = static_cast(valueDeserializer.readObject()); - } - value.normal = normal_buf; - const auto pressed_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Object pressed_buf = {}; - pressed_buf.tag = pressed_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (pressed_buf_runtimeType)) - { - pressed_buf.value = static_cast(valueDeserializer.readObject()); - } - value.pressed = pressed_buf; - const auto disabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Object disabled_buf = {}; - disabled_buf.tag = disabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (disabled_buf_runtimeType)) - { - disabled_buf.value = static_cast(valueDeserializer.readObject()); - } - value.disabled = disabled_buf; - const auto focused_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Object focused_buf = {}; - focused_buf.tag = focused_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (focused_buf_runtimeType)) - { - focused_buf.value = static_cast(valueDeserializer.readObject()); - } - value.focused = focused_buf; - const auto clicked_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Object clicked_buf = {}; - clicked_buf.tag = clicked_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (clicked_buf_runtimeType)) - { - clicked_buf.value = static_cast(valueDeserializer.readObject()); + const Ark_Int32 ratios_buf_length = valueDeserializer.readInt32(); + Array_Number ratios_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&ratios_buf, ratios_buf_length); + for (int ratios_buf_i = 0; ratios_buf_i < ratios_buf_length; ratios_buf_i++) { + ratios_buf.array[ratios_buf_i] = static_cast(valueDeserializer.readNumber()); } - value.clicked = clicked_buf; - const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Object selected_buf = {}; - selected_buf.tag = selected_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + value.ratios = ratios_buf; + const auto expectedUpdateInterval_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number expectedUpdateInterval_buf = {}; + expectedUpdateInterval_buf.tag = expectedUpdateInterval_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (expectedUpdateInterval_buf_runtimeType)) { - selected_buf.value = static_cast(valueDeserializer.readObject()); + expectedUpdateInterval_buf.value = static_cast(valueDeserializer.readNumber()); } - value.selected = selected_buf; + value.expectedUpdateInterval = expectedUpdateInterval_buf; return value; } - Ark_StyledStringChangedListener readStyledStringChangedListener() + Ark_VisibleListContentInfo readVisibleListContentInfo() { - Ark_StyledStringChangedListener value = {}; + Ark_VisibleListContentInfo value = {}; Deserializer& valueDeserializer = *this; - const auto onWillChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_StyledStringChangeValue_Boolean onWillChange_buf = {}; - onWillChange_buf.tag = onWillChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onWillChange_buf_runtimeType)) + value.index = static_cast(valueDeserializer.readNumber()); + const auto itemGroupArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ListItemGroupArea itemGroupArea_buf = {}; + itemGroupArea_buf.tag = itemGroupArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (itemGroupArea_buf_runtimeType)) { - onWillChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_StyledStringChangeValue_Boolean)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_StyledStringChangeValue_Boolean))))}; + itemGroupArea_buf.value = static_cast(valueDeserializer.readInt32()); } - value.onWillChange = onWillChange_buf; - const auto onDidChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_OnDidChangeCallback onDidChange_buf = {}; - onDidChange_buf.tag = onDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onDidChange_buf_runtimeType)) + value.itemGroupArea = itemGroupArea_buf; + const auto itemIndexInGroup_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number itemIndexInGroup_buf = {}; + itemIndexInGroup_buf.tag = itemIndexInGroup_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (itemIndexInGroup_buf_runtimeType)) { - onDidChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnDidChangeCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnDidChangeCallback))))}; - } - value.onDidChange = onDidChange_buf; - return value; - } - Ark_Summary readSummary() - { - Ark_Summary value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int32 summary_buf_size = valueDeserializer.readInt32(); - Map_String_Int64 summary_buf = {}; - valueDeserializer.resizeMap(&summary_buf, summary_buf_size); - for (int summary_buf_i = 0; summary_buf_i < summary_buf_size; summary_buf_i++) { - const Ark_String summary_buf_key = static_cast(valueDeserializer.readString()); - const Ark_Int64 summary_buf_value = valueDeserializer.readInt64(); - summary_buf.keys[summary_buf_i] = summary_buf_key; - summary_buf.values[summary_buf_i] = summary_buf_value; + itemIndexInGroup_buf.value = static_cast(valueDeserializer.readNumber()); } - value.summary = summary_buf; - value.totalSize = valueDeserializer.readInt64(); + value.itemIndexInGroup = itemIndexInGroup_buf; return value; } - Ark_SurfaceRect readSurfaceRect() + Ark_Want readWant() { - Ark_SurfaceRect value = {}; + Ark_Want value = {}; Deserializer& valueDeserializer = *this; - const auto offsetX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number offsetX_buf = {}; - offsetX_buf.tag = offsetX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offsetX_buf_runtimeType)) + const auto bundleName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String bundleName_buf = {}; + bundleName_buf.tag = bundleName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bundleName_buf_runtimeType)) { - offsetX_buf.value = static_cast(valueDeserializer.readNumber()); + bundleName_buf.value = static_cast(valueDeserializer.readString()); } - value.offsetX = offsetX_buf; - const auto offsetY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number offsetY_buf = {}; - offsetY_buf.tag = offsetY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offsetY_buf_runtimeType)) + value.bundleName = bundleName_buf; + const auto abilityName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String abilityName_buf = {}; + abilityName_buf.tag = abilityName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (abilityName_buf_runtimeType)) { - offsetY_buf.value = static_cast(valueDeserializer.readNumber()); + abilityName_buf.value = static_cast(valueDeserializer.readString()); } - value.offsetY = offsetY_buf; - value.surfaceWidth = static_cast(valueDeserializer.readNumber()); - value.surfaceHeight = static_cast(valueDeserializer.readNumber()); - return value; - } - Ark_SurfaceRotationOptions readSurfaceRotationOptions() - { - Ark_SurfaceRotationOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto lock_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean lock_buf = {}; - lock_buf.tag = lock_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lock_buf_runtimeType)) + value.abilityName = abilityName_buf; + const auto deviceId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String deviceId_buf = {}; + deviceId_buf.tag = deviceId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (deviceId_buf_runtimeType)) { - lock_buf.value = valueDeserializer.readBoolean(); - } - value.lock = lock_buf; - return value; - } - Ark_SwiperAutoFill readSwiperAutoFill() - { - Ark_SwiperAutoFill value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int8 minSize_buf_selector = valueDeserializer.readInt8(); - Ark_VP minSize_buf = {}; - minSize_buf.selector = minSize_buf_selector; - if (minSize_buf_selector == 0) { - minSize_buf.selector = 0; - minSize_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (minSize_buf_selector == 1) { - minSize_buf.selector = 1; - minSize_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else { - INTEROP_FATAL("One of the branches for minSize_buf has to be chosen through deserialisation."); + deviceId_buf.value = static_cast(valueDeserializer.readString()); } - value.minSize = static_cast(minSize_buf); - return value; - } - Ark_SwiperContentAnimatedTransition readSwiperContentAnimatedTransition() - { - Ark_SwiperContentAnimatedTransition value = {}; - Deserializer& valueDeserializer = *this; - const auto timeout_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number timeout_buf = {}; - timeout_buf.tag = timeout_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) + value.deviceId = deviceId_buf; + const auto uri_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String uri_buf = {}; + uri_buf.tag = uri_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (uri_buf_runtimeType)) { - timeout_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.timeout = timeout_buf; - value.transition = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SwiperContentTransitionProxy_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SwiperContentTransitionProxy_Void))))}; - return value; - } - Ark_SystemBarStyle readSystemBarStyle() - { - Ark_SystemBarStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto statusBarContentColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String statusBarContentColor_buf = {}; - statusBarContentColor_buf.tag = statusBarContentColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (statusBarContentColor_buf_runtimeType)) + uri_buf.value = static_cast(valueDeserializer.readString()); + } + value.uri = uri_buf; + const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String type_buf = {}; + type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) { - statusBarContentColor_buf.value = static_cast(valueDeserializer.readString()); + type_buf.value = static_cast(valueDeserializer.readString()); } - value.statusBarContentColor = statusBarContentColor_buf; - return value; - } - Ark_TabBarSymbol readTabBarSymbol() - { - Ark_TabBarSymbol value = {}; - Deserializer& valueDeserializer = *this; - value.normal = valueDeserializer.readSymbolGlyphModifier(); - const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SymbolGlyphModifier selected_buf = {}; - selected_buf.tag = selected_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + value.type = type_buf; + const auto flags_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number flags_buf = {}; + flags_buf.tag = flags_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (flags_buf_runtimeType)) { - selected_buf.value = valueDeserializer.readSymbolGlyphModifier(); + flags_buf.value = static_cast(valueDeserializer.readNumber()); } - value.selected = selected_buf; - return value; - } - Ark_TabContentAnimatedTransition readTabContentAnimatedTransition() - { - Ark_TabContentAnimatedTransition value = {}; - Deserializer& valueDeserializer = *this; - const auto timeout_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number timeout_buf = {}; - timeout_buf.tag = timeout_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) + value.flags = flags_buf; + const auto action_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String action_buf = {}; + action_buf.tag = action_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (action_buf_runtimeType)) { - timeout_buf.value = static_cast(valueDeserializer.readNumber()); + action_buf.value = static_cast(valueDeserializer.readString()); } - value.timeout = timeout_buf; - value.transition = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TabContentTransitionProxy_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TabContentTransitionProxy_Void))))}; - return value; - } - Ark_TabsOptions readTabsOptions() - { - Ark_TabsOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto barPosition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BarPosition barPosition_buf = {}; - barPosition_buf.tag = barPosition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (barPosition_buf_runtimeType)) + value.action = action_buf; + const auto parameters_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Map_String_Object parameters_buf = {}; + parameters_buf.tag = parameters_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (parameters_buf_runtimeType)) { - barPosition_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int32 parameters_buf__size = valueDeserializer.readInt32(); + Map_String_Object parameters_buf_ = {}; + valueDeserializer.resizeMap(¶meters_buf_, parameters_buf__size); + for (int parameters_buf__i = 0; parameters_buf__i < parameters_buf__size; parameters_buf__i++) { + const Ark_String parameters_buf__key = static_cast(valueDeserializer.readString()); + const Ark_Object parameters_buf__value = static_cast(valueDeserializer.readObject()); + parameters_buf_.keys[parameters_buf__i] = parameters_buf__key; + parameters_buf_.values[parameters_buf__i] = parameters_buf__value; + } + parameters_buf.value = parameters_buf_; } - value.barPosition = barPosition_buf; - const auto index_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number index_buf = {}; - index_buf.tag = index_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (index_buf_runtimeType)) + value.parameters = parameters_buf; + const auto entities_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_String entities_buf = {}; + entities_buf.tag = entities_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (entities_buf_runtimeType)) { - index_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int32 entities_buf__length = valueDeserializer.readInt32(); + Array_String entities_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&entities_buf_, entities_buf__length); + for (int entities_buf__i = 0; entities_buf__i < entities_buf__length; entities_buf__i++) { + entities_buf_.array[entities_buf__i] = static_cast(valueDeserializer.readString()); + } + entities_buf.value = entities_buf_; } - value.index = index_buf; - const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TabsController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + value.entities = entities_buf; + const auto moduleName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String moduleName_buf = {}; + moduleName_buf.tag = moduleName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (moduleName_buf_runtimeType)) { - controller_buf.value = static_cast(valueDeserializer.readTabsController()); + moduleName_buf.value = static_cast(valueDeserializer.readString()); } - value.controller = controller_buf; + value.moduleName = moduleName_buf; return value; } - Ark_TapGestureParameters readTapGestureParameters() + Ark_WaterFlowOptions readWaterFlowOptions() { - Ark_TapGestureParameters value = {}; + Ark_WaterFlowOptions value = {}; Deserializer& valueDeserializer = *this; - const auto count_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number count_buf = {}; - count_buf.tag = count_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (count_buf_runtimeType)) + const auto footer_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder footer_buf = {}; + footer_buf.tag = footer_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (footer_buf_runtimeType)) { - count_buf.value = static_cast(valueDeserializer.readNumber()); + footer_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; } - value.count = count_buf; - const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number fingers_buf = {}; - fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) + value.footer = footer_buf; + const auto footerContent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ComponentContent footerContent_buf = {}; + footerContent_buf.tag = footerContent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (footerContent_buf_runtimeType)) { - fingers_buf.value = static_cast(valueDeserializer.readNumber()); + footerContent_buf.value = static_cast(valueDeserializer.readComponentContent()); } - value.fingers = fingers_buf; - const auto distanceThreshold_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number distanceThreshold_buf = {}; - distanceThreshold_buf.tag = distanceThreshold_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (distanceThreshold_buf_runtimeType)) + value.footerContent = footerContent_buf; + const auto scroller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Scroller scroller_buf = {}; + scroller_buf.tag = scroller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scroller_buf_runtimeType)) { - distanceThreshold_buf.value = static_cast(valueDeserializer.readNumber()); + scroller_buf.value = static_cast(valueDeserializer.readScroller()); } - value.distanceThreshold = distanceThreshold_buf; + value.scroller = scroller_buf; + const auto sections_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_WaterFlowSections sections_buf = {}; + sections_buf.tag = sections_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sections_buf_runtimeType)) + { + sections_buf.value = static_cast(valueDeserializer.readWaterFlowSections()); + } + value.sections = sections_buf; + const auto layoutMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_WaterFlowLayoutMode layoutMode_buf = {}; + layoutMode_buf.tag = layoutMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (layoutMode_buf_runtimeType)) + { + layoutMode_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.layoutMode = layoutMode_buf; return value; } - Ark_TextBox readTextBox() + Ark_WebKeyboardCallbackInfo readWebKeyboardCallbackInfo() { - Ark_TextBox value = {}; + Ark_WebKeyboardCallbackInfo value = {}; Deserializer& valueDeserializer = *this; - value.rect = valueDeserializer.readRect(); - value.direction = static_cast(valueDeserializer.readInt32()); + value.controller = static_cast(valueDeserializer.readWebKeyboardController()); + const Ark_Int32 attributes_buf_size = valueDeserializer.readInt32(); + Map_String_String attributes_buf = {}; + valueDeserializer.resizeMap(&attributes_buf, attributes_buf_size); + for (int attributes_buf_i = 0; attributes_buf_i < attributes_buf_size; attributes_buf_i++) { + const Ark_String attributes_buf_key = static_cast(valueDeserializer.readString()); + const Ark_String attributes_buf_value = static_cast(valueDeserializer.readString()); + attributes_buf.keys[attributes_buf_i] = attributes_buf_key; + attributes_buf.values[attributes_buf_i] = attributes_buf_value; + } + value.attributes = attributes_buf; return value; } - Ark_TextClockOptions readTextClockOptions() + Ark_WebKeyboardOptions readWebKeyboardOptions() { - Ark_TextClockOptions value = {}; + Ark_WebKeyboardOptions value = {}; Deserializer& valueDeserializer = *this; - const auto timeZoneOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number timeZoneOffset_buf = {}; - timeZoneOffset_buf.tag = timeZoneOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (timeZoneOffset_buf_runtimeType)) + value.useSystemKeyboard = valueDeserializer.readBoolean(); + const auto enterKeyType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number enterKeyType_buf = {}; + enterKeyType_buf.tag = enterKeyType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enterKeyType_buf_runtimeType)) { - timeZoneOffset_buf.value = static_cast(valueDeserializer.readNumber()); + enterKeyType_buf.value = static_cast(valueDeserializer.readNumber()); } - value.timeZoneOffset = timeZoneOffset_buf; - const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextClockController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + value.enterKeyType = enterKeyType_buf; + const auto customKeyboard_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder customKeyboard_buf = {}; + customKeyboard_buf.tag = customKeyboard_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (customKeyboard_buf_runtimeType)) { - controller_buf.value = static_cast(valueDeserializer.readTextClockController()); + customKeyboard_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; } - value.controller = controller_buf; + value.customKeyboard = customKeyboard_buf; return value; } - Ark_TextRange readTextRange() + Ark_WebMediaOptions readWebMediaOptions() { - Ark_TextRange value = {}; + Ark_WebMediaOptions value = {}; Deserializer& valueDeserializer = *this; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + const auto resumeInterval_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number resumeInterval_buf = {}; + resumeInterval_buf.tag = resumeInterval_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (resumeInterval_buf_runtimeType)) { - start_buf.value = static_cast(valueDeserializer.readNumber()); + resumeInterval_buf.value = static_cast(valueDeserializer.readNumber()); } - value.start = start_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + value.resumeInterval = resumeInterval_buf; + const auto audioExclusive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean audioExclusive_buf = {}; + audioExclusive_buf.tag = audioExclusive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (audioExclusive_buf_runtimeType)) { - end_buf.value = static_cast(valueDeserializer.readNumber()); + audioExclusive_buf.value = valueDeserializer.readBoolean(); } - value.end = end_buf; + value.audioExclusive = audioExclusive_buf; return value; } - Ark_TextShadowStyle readTextShadowStyle() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_TextStyle_alert_dialog readTextStyle_alert_dialog() + Ark_WebOptions readWebOptions() { - Ark_TextStyle_alert_dialog value = {}; + Ark_WebOptions value = {}; Deserializer& valueDeserializer = *this; - const auto wordBreak_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_WordBreak wordBreak_buf = {}; - wordBreak_buf.tag = wordBreak_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (wordBreak_buf_runtimeType)) - { - wordBreak_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 src_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource src_buf = {}; + src_buf.selector = src_buf_selector; + if (src_buf_selector == 0) { + src_buf.selector = 0; + src_buf.value0 = static_cast(valueDeserializer.readString()); } - value.wordBreak = wordBreak_buf; - return value; - } - Ark_TextTimerOptions readTextTimerOptions() - { - Ark_TextTimerOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto isCountDown_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean isCountDown_buf = {}; - isCountDown_buf.tag = isCountDown_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isCountDown_buf_runtimeType)) + else if (src_buf_selector == 1) { + src_buf.selector = 1; + src_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for src_buf has to be chosen through deserialisation."); + } + value.src = static_cast(src_buf); + const Ark_Int8 controller_buf_selector = valueDeserializer.readInt8(); + Ark_Union_WebController_WebviewController controller_buf = {}; + controller_buf.selector = controller_buf_selector; + if (controller_buf_selector == 0) { + controller_buf.selector = 0; + controller_buf.value0 = static_cast(valueDeserializer.readWebController()); + } + else if (controller_buf_selector == 1) { + controller_buf.selector = 1; + controller_buf.value1 = static_cast(valueDeserializer.readWebviewController()); + } + else { + INTEROP_FATAL("One of the branches for controller_buf has to be chosen through deserialisation."); + } + value.controller = static_cast(controller_buf); + const auto renderMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_RenderMode renderMode_buf = {}; + renderMode_buf.tag = renderMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (renderMode_buf_runtimeType)) { - isCountDown_buf.value = valueDeserializer.readBoolean(); + renderMode_buf.value = static_cast(valueDeserializer.readInt32()); } - value.isCountDown = isCountDown_buf; - const auto count_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number count_buf = {}; - count_buf.tag = count_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (count_buf_runtimeType)) + value.renderMode = renderMode_buf; + const auto incognitoMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean incognitoMode_buf = {}; + incognitoMode_buf.tag = incognitoMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (incognitoMode_buf_runtimeType)) { - count_buf.value = static_cast(valueDeserializer.readNumber()); + incognitoMode_buf.value = valueDeserializer.readBoolean(); } - value.count = count_buf; - const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextTimerController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + value.incognitoMode = incognitoMode_buf; + const auto sharedRenderProcessToken_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String sharedRenderProcessToken_buf = {}; + sharedRenderProcessToken_buf.tag = sharedRenderProcessToken_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sharedRenderProcessToken_buf_runtimeType)) { - controller_buf.value = static_cast(valueDeserializer.readTextTimerController()); + sharedRenderProcessToken_buf.value = static_cast(valueDeserializer.readString()); } - value.controller = controller_buf; + value.sharedRenderProcessToken = sharedRenderProcessToken_buf; return value; } - Ark_TimePickerOptions readTimePickerOptions() + Ark_WorkerOptions readWorkerOptions() { - Ark_TimePickerOptions value = {}; + Ark_WorkerOptions value = {}; Deserializer& valueDeserializer = *this; - const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Date selected_buf = {}; - selected_buf.tag = selected_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String type_buf = {}; + type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) { - selected_buf.value = valueDeserializer.readInt64(); + type_buf.value = static_cast(valueDeserializer.readString()); } - value.selected = selected_buf; - const auto format_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TimePickerFormat format_buf = {}; - format_buf.tag = format_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (format_buf_runtimeType)) + value.type = type_buf; + const auto name_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String name_buf = {}; + name_buf.tag = name_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (name_buf_runtimeType)) { - format_buf.value = static_cast(valueDeserializer.readInt32()); + name_buf.value = static_cast(valueDeserializer.readString()); } - value.format = format_buf; + value.name = name_buf; + const auto shared_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean shared_buf = {}; + shared_buf.tag = shared_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (shared_buf_runtimeType)) + { + shared_buf.value = valueDeserializer.readBoolean(); + } + value.shared = shared_buf; return value; } - Ark_ToggleOptions readToggleOptions() + Ark_WrappedBuilder readWrappedBuilder() { - Ark_ToggleOptions value = {}; + Ark_WrappedBuilder value = {}; Deserializer& valueDeserializer = *this; - value.type = static_cast(valueDeserializer.readInt32()); - const auto isOn_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean isOn_buf = {}; - isOn_buf.tag = isOn_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isOn_buf_runtimeType)) - { - isOn_buf.value = valueDeserializer.readBoolean(); - } - value.isOn = isOn_buf; + value.builder = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_WrappedBuilder_Args_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_WrappedBuilder_Args_Void))))}; return value; } - Ark_TouchObject readTouchObject() + Ark_XComponentController readXComponentController() { - Ark_TouchObject value = {}; Deserializer& valueDeserializer = *this; - value.type = static_cast(valueDeserializer.readInt32()); - value.id = static_cast(valueDeserializer.readNumber()); - value.displayX = static_cast(valueDeserializer.readNumber()); - value.displayY = static_cast(valueDeserializer.readNumber()); - value.windowX = static_cast(valueDeserializer.readNumber()); - value.windowY = static_cast(valueDeserializer.readNumber()); - value.screenX = static_cast(valueDeserializer.readNumber()); - value.screenY = static_cast(valueDeserializer.readNumber()); - value.x = static_cast(valueDeserializer.readNumber()); - value.y = static_cast(valueDeserializer.readNumber()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } - Ark_TouchResult readTouchResult() + Ark_ActionSheetButtonOptions readActionSheetButtonOptions() { - Ark_TouchResult value = {}; + Ark_ActionSheetButtonOptions value = {}; Deserializer& valueDeserializer = *this; - value.strategy = static_cast(valueDeserializer.readInt32()); - const auto id_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String id_buf = {}; - id_buf.tag = id_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (id_buf_runtimeType)) + const auto enabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enabled_buf = {}; + enabled_buf.tag = enabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enabled_buf_runtimeType)) { - id_buf.value = static_cast(valueDeserializer.readString()); + enabled_buf.value = valueDeserializer.readBoolean(); } - value.id = id_buf; + value.enabled = enabled_buf; + const auto defaultFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean defaultFocus_buf = {}; + defaultFocus_buf.tag = defaultFocus_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (defaultFocus_buf_runtimeType)) + { + defaultFocus_buf.value = valueDeserializer.readBoolean(); + } + value.defaultFocus = defaultFocus_buf; + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DialogButtonStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + { + style_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.style = style_buf; + const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource value_buf = {}; + value_buf.selector = value_buf_selector; + if (value_buf_selector == 0) { + value_buf.selector = 0; + value_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (value_buf_selector == 1) { + value_buf.selector = 1; + value_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + } + value.value = static_cast(value_buf); + value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; return value; } - Ark_TransformationMatrix readTransformationMatrix() + Ark_ActionSheetOffset readActionSheetOffset() { - Ark_TransformationMatrix value = {}; + Ark_ActionSheetOffset value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int32 matrix4x4_buf_length = valueDeserializer.readInt32(); - Array_Number matrix4x4_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&matrix4x4_buf, matrix4x4_buf_length); - for (int matrix4x4_buf_i = 0; matrix4x4_buf_i < matrix4x4_buf_length; matrix4x4_buf_i++) { - matrix4x4_buf.array[matrix4x4_buf_i] = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 dx_buf_selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_Resource dx_buf = {}; + dx_buf.selector = dx_buf_selector; + if (dx_buf_selector == 0) { + dx_buf.selector = 0; + dx_buf.value0 = static_cast(valueDeserializer.readNumber()); } - value.matrix4x4 = matrix4x4_buf; + else if (dx_buf_selector == 1) { + dx_buf.selector = 1; + dx_buf.value1 = static_cast(valueDeserializer.readString()); + } + else if (dx_buf_selector == 2) { + dx_buf.selector = 2; + dx_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for dx_buf has to be chosen through deserialisation."); + } + value.dx = static_cast(dx_buf); + const Ark_Int8 dy_buf_selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_Resource dy_buf = {}; + dy_buf.selector = dy_buf_selector; + if (dy_buf_selector == 0) { + dy_buf.selector = 0; + dy_buf.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (dy_buf_selector == 1) { + dy_buf.selector = 1; + dy_buf.value1 = static_cast(valueDeserializer.readString()); + } + else if (dy_buf_selector == 2) { + dy_buf.selector = 2; + dy_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for dy_buf has to be chosen through deserialisation."); + } + value.dy = static_cast(dy_buf); return value; } - Ark_TranslateOption readTranslateOption() + Ark_AlertDialogButtonBaseOptions readAlertDialogButtonBaseOptions() { - Ark_TranslateOption value = {}; + Ark_AlertDialogButtonBaseOptions value = {}; Deserializer& valueDeserializer = *this; - const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number x_buf = {}; - x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + const auto enabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enabled_buf = {}; + enabled_buf.tag = enabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enabled_buf_runtimeType)) { - x_buf.value = static_cast(valueDeserializer.readNumber()); + enabled_buf.value = valueDeserializer.readBoolean(); } - value.x = x_buf; - const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number y_buf = {}; - y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + value.enabled = enabled_buf; + const auto defaultFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean defaultFocus_buf = {}; + defaultFocus_buf.tag = defaultFocus_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (defaultFocus_buf_runtimeType)) + { + defaultFocus_buf.value = valueDeserializer.readBoolean(); + } + value.defaultFocus = defaultFocus_buf; + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DialogButtonStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) { - y_buf.value = static_cast(valueDeserializer.readNumber()); + style_buf.value = static_cast(valueDeserializer.readInt32()); } - value.y = y_buf; - const auto z_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number z_buf = {}; - z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) - { - z_buf.value = static_cast(valueDeserializer.readNumber()); + value.style = style_buf; + const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceStr value_buf = {}; + value_buf.selector = value_buf_selector; + if (value_buf_selector == 0) { + value_buf.selector = 0; + value_buf.value0 = static_cast(valueDeserializer.readString()); } - value.z = z_buf; - return value; - } - Ark_TranslateOptions readTranslateOptions() - { - Ark_TranslateOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String x_buf = {}; - x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + else if (value_buf_selector == 1) { + value_buf.selector = 1; + value_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + } + value.value = static_cast(value_buf); + const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontColor_buf = {}; + fontColor_buf.tag = fontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) { - const Ark_Int8 x_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String x_buf_ = {}; - x_buf_.selector = x_buf__selector; - if (x_buf__selector == 0) { - x_buf_.selector = 0; - x_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (x_buf__selector == 1) { - x_buf_.selector = 1; - x_buf_.value1 = static_cast(valueDeserializer.readString()); + const Ark_Int8 fontColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontColor_buf_ = {}; + fontColor_buf_.selector = fontColor_buf__selector; + if (fontColor_buf__selector == 0) { + fontColor_buf_.selector = 0; + fontColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else { - INTEROP_FATAL("One of the branches for x_buf_ has to be chosen through deserialisation."); + else if (fontColor_buf__selector == 1) { + fontColor_buf_.selector = 1; + fontColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - x_buf.value = static_cast(x_buf_); - } - value.x = x_buf; - const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String y_buf = {}; - y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) - { - const Ark_Int8 y_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String y_buf_ = {}; - y_buf_.selector = y_buf__selector; - if (y_buf__selector == 0) { - y_buf_.selector = 0; - y_buf_.value0 = static_cast(valueDeserializer.readNumber()); + else if (fontColor_buf__selector == 2) { + fontColor_buf_.selector = 2; + fontColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (y_buf__selector == 1) { - y_buf_.selector = 1; - y_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (fontColor_buf__selector == 3) { + fontColor_buf_.selector = 3; + fontColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for y_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontColor_buf_ has to be chosen through deserialisation."); } - y_buf.value = static_cast(y_buf_); + fontColor_buf.value = static_cast(fontColor_buf_); } - value.y = y_buf; - const auto z_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String z_buf = {}; - z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) + value.fontColor = fontColor_buf; + const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor backgroundColor_buf = {}; + backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) { - const Ark_Int8 z_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String z_buf_ = {}; - z_buf_.selector = z_buf__selector; - if (z_buf__selector == 0) { - z_buf_.selector = 0; - z_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 backgroundColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor backgroundColor_buf_ = {}; + backgroundColor_buf_.selector = backgroundColor_buf__selector; + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_.selector = 0; + backgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (z_buf__selector == 1) { - z_buf_.selector = 1; - z_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_.selector = 1; + backgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_.selector = 2; + backgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_.selector = 3; + backgroundColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for z_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation."); } - z_buf.value = static_cast(z_buf_); + backgroundColor_buf.value = static_cast(backgroundColor_buf_); } - value.z = z_buf; + value.backgroundColor = backgroundColor_buf; + value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; return value; } - Ark_UIExtensionOptions readUIExtensionOptions() + Ark_AlertDialogButtonOptions readAlertDialogButtonOptions() { - Ark_UIExtensionOptions value = {}; + Ark_AlertDialogButtonOptions value = {}; Deserializer& valueDeserializer = *this; - const auto isTransferringCaller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean isTransferringCaller_buf = {}; - isTransferringCaller_buf.tag = isTransferringCaller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isTransferringCaller_buf_runtimeType)) + const auto enabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enabled_buf = {}; + enabled_buf.tag = enabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enabled_buf_runtimeType)) { - isTransferringCaller_buf.value = valueDeserializer.readBoolean(); + enabled_buf.value = valueDeserializer.readBoolean(); } - value.isTransferringCaller = isTransferringCaller_buf; - const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ComponentContent placeholder_buf = {}; - placeholder_buf.tag = placeholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) + value.enabled = enabled_buf; + const auto defaultFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean defaultFocus_buf = {}; + defaultFocus_buf.tag = defaultFocus_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (defaultFocus_buf_runtimeType)) { - placeholder_buf.value = static_cast(valueDeserializer.readComponentContent()); + defaultFocus_buf.value = valueDeserializer.readBoolean(); } - value.placeholder = placeholder_buf; - const auto areaChangePlaceholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Map_String_ComponentContent areaChangePlaceholder_buf = {}; - areaChangePlaceholder_buf.tag = areaChangePlaceholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (areaChangePlaceholder_buf_runtimeType)) + value.defaultFocus = defaultFocus_buf; + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DialogButtonStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) { - const Ark_Int32 areaChangePlaceholder_buf__size = valueDeserializer.readInt32(); - Map_String_ComponentContent areaChangePlaceholder_buf_ = {}; - valueDeserializer.resizeMap(&areaChangePlaceholder_buf_, areaChangePlaceholder_buf__size); - for (int areaChangePlaceholder_buf__i = 0; areaChangePlaceholder_buf__i < areaChangePlaceholder_buf__size; areaChangePlaceholder_buf__i++) { - const Ark_String areaChangePlaceholder_buf__key = static_cast(valueDeserializer.readString()); - const Ark_ComponentContent areaChangePlaceholder_buf__value = static_cast(valueDeserializer.readComponentContent()); - areaChangePlaceholder_buf_.keys[areaChangePlaceholder_buf__i] = areaChangePlaceholder_buf__key; - areaChangePlaceholder_buf_.values[areaChangePlaceholder_buf__i] = areaChangePlaceholder_buf__value; - } - areaChangePlaceholder_buf.value = areaChangePlaceholder_buf_; + style_buf.value = static_cast(valueDeserializer.readInt32()); } - value.areaChangePlaceholder = areaChangePlaceholder_buf; - const auto dpiFollowStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_DpiFollowStrategy dpiFollowStrategy_buf = {}; - dpiFollowStrategy_buf.tag = dpiFollowStrategy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dpiFollowStrategy_buf_runtimeType)) - { - dpiFollowStrategy_buf.value = static_cast(valueDeserializer.readInt32()); + value.style = style_buf; + const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceStr value_buf = {}; + value_buf.selector = value_buf_selector; + if (value_buf_selector == 0) { + value_buf.selector = 0; + value_buf.value0 = static_cast(valueDeserializer.readString()); } - value.dpiFollowStrategy = dpiFollowStrategy_buf; - return value; - } - Ark_ViewportRect readViewportRect() - { - Ark_ViewportRect value = {}; - Deserializer& valueDeserializer = *this; - const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String x_buf = {}; - x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + else if (value_buf_selector == 1) { + value_buf.selector = 1; + value_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + } + value.value = static_cast(value_buf); + const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontColor_buf = {}; + fontColor_buf.tag = fontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) { - const Ark_Int8 x_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String x_buf_ = {}; - x_buf_.selector = x_buf__selector; - if (x_buf__selector == 0) { - x_buf_.selector = 0; - x_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (x_buf__selector == 1) { - x_buf_.selector = 1; - x_buf_.value1 = static_cast(valueDeserializer.readString()); + const Ark_Int8 fontColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontColor_buf_ = {}; + fontColor_buf_.selector = fontColor_buf__selector; + if (fontColor_buf__selector == 0) { + fontColor_buf_.selector = 0; + fontColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else { - INTEROP_FATAL("One of the branches for x_buf_ has to be chosen through deserialisation."); + else if (fontColor_buf__selector == 1) { + fontColor_buf_.selector = 1; + fontColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - x_buf.value = static_cast(x_buf_); - } - value.x = x_buf; - const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String y_buf = {}; - y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) - { - const Ark_Int8 y_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String y_buf_ = {}; - y_buf_.selector = y_buf__selector; - if (y_buf__selector == 0) { - y_buf_.selector = 0; - y_buf_.value0 = static_cast(valueDeserializer.readNumber()); + else if (fontColor_buf__selector == 2) { + fontColor_buf_.selector = 2; + fontColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (y_buf__selector == 1) { - y_buf_.selector = 1; - y_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (fontColor_buf__selector == 3) { + fontColor_buf_.selector = 3; + fontColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for y_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontColor_buf_ has to be chosen through deserialisation."); } - y_buf.value = static_cast(y_buf_); + fontColor_buf.value = static_cast(fontColor_buf_); } - value.y = y_buf; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + value.fontColor = fontColor_buf; + const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor backgroundColor_buf = {}; + backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readString()); + const Ark_Int8 backgroundColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor backgroundColor_buf_ = {}; + backgroundColor_buf_.selector = backgroundColor_buf__selector; + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_.selector = 0; + backgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_.selector = 1; + backgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - width_buf.value = static_cast(width_buf_); - } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) - { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readNumber()); + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_.selector = 2; + backgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_.selector = 3; + backgroundColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); - } - value.height = height_buf; - return value; - } - Ark_VisibleAreaEventOptions readVisibleAreaEventOptions() - { - Ark_VisibleAreaEventOptions value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int32 ratios_buf_length = valueDeserializer.readInt32(); - Array_Number ratios_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&ratios_buf, ratios_buf_length); - for (int ratios_buf_i = 0; ratios_buf_i < ratios_buf_length; ratios_buf_i++) { - ratios_buf.array[ratios_buf_i] = static_cast(valueDeserializer.readNumber()); - } - value.ratios = ratios_buf; - const auto expectedUpdateInterval_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number expectedUpdateInterval_buf = {}; - expectedUpdateInterval_buf.tag = expectedUpdateInterval_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (expectedUpdateInterval_buf_runtimeType)) - { - expectedUpdateInterval_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.expectedUpdateInterval = expectedUpdateInterval_buf; - return value; - } - Ark_VisibleListContentInfo readVisibleListContentInfo() - { - Ark_VisibleListContentInfo value = {}; - Deserializer& valueDeserializer = *this; - value.index = static_cast(valueDeserializer.readNumber()); - const auto itemGroupArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ListItemGroupArea itemGroupArea_buf = {}; - itemGroupArea_buf.tag = itemGroupArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (itemGroupArea_buf_runtimeType)) - { - itemGroupArea_buf.value = static_cast(valueDeserializer.readInt32()); + backgroundColor_buf.value = static_cast(backgroundColor_buf_); } - value.itemGroupArea = itemGroupArea_buf; - const auto itemIndexInGroup_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number itemIndexInGroup_buf = {}; - itemIndexInGroup_buf.tag = itemIndexInGroup_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (itemIndexInGroup_buf_runtimeType)) + value.backgroundColor = backgroundColor_buf; + value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; + const auto primary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean primary_buf = {}; + primary_buf.tag = primary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (primary_buf_runtimeType)) { - itemIndexInGroup_buf.value = static_cast(valueDeserializer.readNumber()); + primary_buf.value = valueDeserializer.readBoolean(); } - value.itemIndexInGroup = itemIndexInGroup_buf; + value.primary = primary_buf; return value; } - Ark_Want readWant() + Ark_AlignRuleOption readAlignRuleOption() { - Ark_Want value = {}; + Ark_AlignRuleOption value = {}; Deserializer& valueDeserializer = *this; - const auto bundleName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String bundleName_buf = {}; - bundleName_buf.tag = bundleName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bundleName_buf_runtimeType)) - { - bundleName_buf.value = static_cast(valueDeserializer.readString()); - } - value.bundleName = bundleName_buf; - const auto abilityName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String abilityName_buf = {}; - abilityName_buf.tag = abilityName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (abilityName_buf_runtimeType)) - { - abilityName_buf.value = static_cast(valueDeserializer.readString()); - } - value.abilityName = abilityName_buf; - const auto deviceId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String deviceId_buf = {}; - deviceId_buf.tag = deviceId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf.value = static_cast(valueDeserializer.readString()); - } - value.deviceId = deviceId_buf; - const auto uri_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String uri_buf = {}; - uri_buf.tag = uri_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (uri_buf_runtimeType)) + const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Literal_String_anchor_HorizontalAlign_align left_buf = {}; + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) { - uri_buf.value = static_cast(valueDeserializer.readString()); + Ark_Literal_String_anchor_HorizontalAlign_align left_buf_ = {}; + left_buf_.anchor = static_cast(valueDeserializer.readString()); + left_buf_.align = static_cast(valueDeserializer.readInt32()); + left_buf.value = left_buf_; } - value.uri = uri_buf; - const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String type_buf = {}; - type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + value.left = left_buf; + const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Literal_String_anchor_HorizontalAlign_align right_buf = {}; + right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) { - type_buf.value = static_cast(valueDeserializer.readString()); + Ark_Literal_String_anchor_HorizontalAlign_align right_buf_ = {}; + right_buf_.anchor = static_cast(valueDeserializer.readString()); + right_buf_.align = static_cast(valueDeserializer.readInt32()); + right_buf.value = right_buf_; } - value.type = type_buf; - const auto flags_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number flags_buf = {}; - flags_buf.tag = flags_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (flags_buf_runtimeType)) + value.right = right_buf; + const auto middle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Literal_String_anchor_HorizontalAlign_align middle_buf = {}; + middle_buf.tag = middle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (middle_buf_runtimeType)) { - flags_buf.value = static_cast(valueDeserializer.readNumber()); + Ark_Literal_String_anchor_HorizontalAlign_align middle_buf_ = {}; + middle_buf_.anchor = static_cast(valueDeserializer.readString()); + middle_buf_.align = static_cast(valueDeserializer.readInt32()); + middle_buf.value = middle_buf_; } - value.flags = flags_buf; - const auto action_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String action_buf = {}; - action_buf.tag = action_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (action_buf_runtimeType)) + value.middle = middle_buf; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Literal_String_anchor_VerticalAlign_align top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { - action_buf.value = static_cast(valueDeserializer.readString()); + Ark_Literal_String_anchor_VerticalAlign_align top_buf_ = {}; + top_buf_.anchor = static_cast(valueDeserializer.readString()); + top_buf_.align = static_cast(valueDeserializer.readInt32()); + top_buf.value = top_buf_; } - value.action = action_buf; - const auto parameters_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Map_String_Object parameters_buf = {}; - parameters_buf.tag = parameters_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (parameters_buf_runtimeType)) + value.top = top_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Literal_String_anchor_VerticalAlign_align bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { - const Ark_Int32 parameters_buf__size = valueDeserializer.readInt32(); - Map_String_Object parameters_buf_ = {}; - valueDeserializer.resizeMap(¶meters_buf_, parameters_buf__size); - for (int parameters_buf__i = 0; parameters_buf__i < parameters_buf__size; parameters_buf__i++) { - const Ark_String parameters_buf__key = static_cast(valueDeserializer.readString()); - const Ark_Object parameters_buf__value = static_cast(valueDeserializer.readObject()); - parameters_buf_.keys[parameters_buf__i] = parameters_buf__key; - parameters_buf_.values[parameters_buf__i] = parameters_buf__value; - } - parameters_buf.value = parameters_buf_; + Ark_Literal_String_anchor_VerticalAlign_align bottom_buf_ = {}; + bottom_buf_.anchor = static_cast(valueDeserializer.readString()); + bottom_buf_.align = static_cast(valueDeserializer.readInt32()); + bottom_buf.value = bottom_buf_; } - value.parameters = parameters_buf; - const auto entities_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_String entities_buf = {}; - entities_buf.tag = entities_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (entities_buf_runtimeType)) + value.bottom = bottom_buf; + const auto center_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Literal_String_anchor_VerticalAlign_align center_buf = {}; + center_buf.tag = center_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (center_buf_runtimeType)) { - const Ark_Int32 entities_buf__length = valueDeserializer.readInt32(); - Array_String entities_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&entities_buf_, entities_buf__length); - for (int entities_buf__i = 0; entities_buf__i < entities_buf__length; entities_buf__i++) { - entities_buf_.array[entities_buf__i] = static_cast(valueDeserializer.readString()); - } - entities_buf.value = entities_buf_; + Ark_Literal_String_anchor_VerticalAlign_align center_buf_ = {}; + center_buf_.anchor = static_cast(valueDeserializer.readString()); + center_buf_.align = static_cast(valueDeserializer.readInt32()); + center_buf.value = center_buf_; } - value.entities = entities_buf; - const auto moduleName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String moduleName_buf = {}; - moduleName_buf.tag = moduleName_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (moduleName_buf_runtimeType)) + value.center = center_buf; + const auto bias_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Bias bias_buf = {}; + bias_buf.tag = bias_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bias_buf_runtimeType)) { - moduleName_buf.value = static_cast(valueDeserializer.readString()); + bias_buf.value = valueDeserializer.readBias(); } - value.moduleName = moduleName_buf; + value.bias = bias_buf; return value; } - Ark_WaterFlowOptions readWaterFlowOptions() + Ark_AnimateParam readAnimateParam() { - Ark_WaterFlowOptions value = {}; + Ark_AnimateParam value = {}; Deserializer& valueDeserializer = *this; - const auto footer_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomNodeBuilder footer_buf = {}; - footer_buf.tag = footer_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (footer_buf_runtimeType)) + const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number duration_buf = {}; + duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) { - footer_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + duration_buf.value = static_cast(valueDeserializer.readNumber()); } - value.footer = footer_buf; - const auto scroller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Scroller scroller_buf = {}; - scroller_buf.tag = scroller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scroller_buf_runtimeType)) + value.duration = duration_buf; + const auto tempo_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number tempo_buf = {}; + tempo_buf.tag = tempo_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (tempo_buf_runtimeType)) { - scroller_buf.value = static_cast(valueDeserializer.readScroller()); + tempo_buf.value = static_cast(valueDeserializer.readNumber()); } - value.scroller = scroller_buf; - const auto sections_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_WaterFlowSections sections_buf = {}; - sections_buf.tag = sections_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (sections_buf_runtimeType)) + value.tempo = tempo_buf; + const auto curve_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Curve_String_ICurve curve_buf = {}; + curve_buf.tag = curve_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (curve_buf_runtimeType)) { - sections_buf.value = static_cast(valueDeserializer.readWaterFlowSections()); + const Ark_Int8 curve_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Curve_String_ICurve curve_buf_ = {}; + curve_buf_.selector = curve_buf__selector; + if (curve_buf__selector == 0) { + curve_buf_.selector = 0; + curve_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (curve_buf__selector == 1) { + curve_buf_.selector = 1; + curve_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else if (curve_buf__selector == 2) { + curve_buf_.selector = 2; + curve_buf_.value2 = static_cast(valueDeserializer.readICurve()); + } + else { + INTEROP_FATAL("One of the branches for curve_buf_ has to be chosen through deserialisation."); + } + curve_buf.value = static_cast(curve_buf_); } - value.sections = sections_buf; - const auto layoutMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_WaterFlowLayoutMode layoutMode_buf = {}; - layoutMode_buf.tag = layoutMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (layoutMode_buf_runtimeType)) + value.curve = curve_buf; + const auto delay_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number delay_buf = {}; + delay_buf.tag = delay_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (delay_buf_runtimeType)) { - layoutMode_buf.value = static_cast(valueDeserializer.readInt32()); + delay_buf.value = static_cast(valueDeserializer.readNumber()); } - value.layoutMode = layoutMode_buf; - return value; - } - Ark_WebKeyboardCallbackInfo readWebKeyboardCallbackInfo() - { - Ark_WebKeyboardCallbackInfo value = {}; - Deserializer& valueDeserializer = *this; - value.controller = static_cast(valueDeserializer.readWebKeyboardController()); - const Ark_Int32 attributes_buf_size = valueDeserializer.readInt32(); - Map_String_String attributes_buf = {}; - valueDeserializer.resizeMap(&attributes_buf, attributes_buf_size); - for (int attributes_buf_i = 0; attributes_buf_i < attributes_buf_size; attributes_buf_i++) { - const Ark_String attributes_buf_key = static_cast(valueDeserializer.readString()); - const Ark_String attributes_buf_value = static_cast(valueDeserializer.readString()); - attributes_buf.keys[attributes_buf_i] = attributes_buf_key; - attributes_buf.values[attributes_buf_i] = attributes_buf_value; + value.delay = delay_buf; + const auto iterations_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number iterations_buf = {}; + iterations_buf.tag = iterations_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iterations_buf_runtimeType)) + { + iterations_buf.value = static_cast(valueDeserializer.readNumber()); } - value.attributes = attributes_buf; - return value; - } - Ark_WebKeyboardOptions readWebKeyboardOptions() - { - Ark_WebKeyboardOptions value = {}; - Deserializer& valueDeserializer = *this; - value.useSystemKeyboard = valueDeserializer.readBoolean(); - const auto enterKeyType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number enterKeyType_buf = {}; - enterKeyType_buf.tag = enterKeyType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enterKeyType_buf_runtimeType)) + value.iterations = iterations_buf; + const auto playMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PlayMode playMode_buf = {}; + playMode_buf.tag = playMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (playMode_buf_runtimeType)) { - enterKeyType_buf.value = static_cast(valueDeserializer.readNumber()); + playMode_buf.value = static_cast(valueDeserializer.readInt32()); } - value.enterKeyType = enterKeyType_buf; - const auto customKeyboard_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomNodeBuilder customKeyboard_buf = {}; - customKeyboard_buf.tag = customKeyboard_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (customKeyboard_buf_runtimeType)) + value.playMode = playMode_buf; + const auto onFinish_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onFinish_buf = {}; + onFinish_buf.tag = onFinish_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onFinish_buf_runtimeType)) { - customKeyboard_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + onFinish_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; } - value.customKeyboard = customKeyboard_buf; - return value; - } - Ark_WebMediaOptions readWebMediaOptions() - { - Ark_WebMediaOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto resumeInterval_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number resumeInterval_buf = {}; - resumeInterval_buf.tag = resumeInterval_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (resumeInterval_buf_runtimeType)) + value.onFinish = onFinish_buf; + const auto finishCallbackType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FinishCallbackType finishCallbackType_buf = {}; + finishCallbackType_buf.tag = finishCallbackType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (finishCallbackType_buf_runtimeType)) { - resumeInterval_buf.value = static_cast(valueDeserializer.readNumber()); + finishCallbackType_buf.value = static_cast(valueDeserializer.readInt32()); } - value.resumeInterval = resumeInterval_buf; - const auto audioExclusive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean audioExclusive_buf = {}; - audioExclusive_buf.tag = audioExclusive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (audioExclusive_buf_runtimeType)) + value.finishCallbackType = finishCallbackType_buf; + const auto expectedFrameRateRange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ExpectedFrameRateRange expectedFrameRateRange_buf = {}; + expectedFrameRateRange_buf.tag = expectedFrameRateRange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (expectedFrameRateRange_buf_runtimeType)) { - audioExclusive_buf.value = valueDeserializer.readBoolean(); + expectedFrameRateRange_buf.value = valueDeserializer.readExpectedFrameRateRange(); } - value.audioExclusive = audioExclusive_buf; + value.expectedFrameRateRange = expectedFrameRateRange_buf; return value; } - Ark_WebOptions readWebOptions() + Ark_BackgroundBlurStyleOptions readBackgroundBlurStyleOptions() { - Ark_WebOptions value = {}; + Ark_BackgroundBlurStyleOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 src_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource src_buf = {}; - src_buf.selector = src_buf_selector; - if (src_buf_selector == 0) { - src_buf.selector = 0; - src_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (src_buf_selector == 1) { - src_buf.selector = 1; - src_buf.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for src_buf has to be chosen through deserialisation."); - } - value.src = static_cast(src_buf); - const Ark_Int8 controller_buf_selector = valueDeserializer.readInt8(); - Ark_Union_WebController_WebviewController controller_buf = {}; - controller_buf.selector = controller_buf_selector; - if (controller_buf_selector == 0) { - controller_buf.selector = 0; - controller_buf.value0 = static_cast(valueDeserializer.readWebController()); + const auto colorMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ThemeColorMode colorMode_buf = {}; + colorMode_buf.tag = colorMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (colorMode_buf_runtimeType)) + { + colorMode_buf.value = static_cast(valueDeserializer.readInt32()); } - else if (controller_buf_selector == 1) { - controller_buf.selector = 1; - controller_buf.value1 = static_cast(valueDeserializer.readWebviewController()); + value.colorMode = colorMode_buf; + const auto adaptiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_AdaptiveColor adaptiveColor_buf = {}; + adaptiveColor_buf.tag = adaptiveColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (adaptiveColor_buf_runtimeType)) + { + adaptiveColor_buf.value = static_cast(valueDeserializer.readInt32()); } - else { - INTEROP_FATAL("One of the branches for controller_buf has to be chosen through deserialisation."); + value.adaptiveColor = adaptiveColor_buf; + const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number scale_buf = {}; + scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) + { + scale_buf.value = static_cast(valueDeserializer.readNumber()); } - value.controller = static_cast(controller_buf); - const auto renderMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_RenderMode renderMode_buf = {}; - renderMode_buf.tag = renderMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (renderMode_buf_runtimeType)) + value.scale = scale_buf; + const auto blurOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BlurOptions blurOptions_buf = {}; + blurOptions_buf.tag = blurOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (blurOptions_buf_runtimeType)) { - renderMode_buf.value = static_cast(valueDeserializer.readInt32()); + blurOptions_buf.value = valueDeserializer.readBlurOptions(); } - value.renderMode = renderMode_buf; - const auto incognitoMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean incognitoMode_buf = {}; - incognitoMode_buf.tag = incognitoMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (incognitoMode_buf_runtimeType)) + value.blurOptions = blurOptions_buf; + const auto policy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BlurStyleActivePolicy policy_buf = {}; + policy_buf.tag = policy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (policy_buf_runtimeType)) { - incognitoMode_buf.value = valueDeserializer.readBoolean(); + policy_buf.value = static_cast(valueDeserializer.readInt32()); } - value.incognitoMode = incognitoMode_buf; - const auto sharedRenderProcessToken_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String sharedRenderProcessToken_buf = {}; - sharedRenderProcessToken_buf.tag = sharedRenderProcessToken_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (sharedRenderProcessToken_buf_runtimeType)) + value.policy = policy_buf; + const auto inactiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor inactiveColor_buf = {}; + inactiveColor_buf.tag = inactiveColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (inactiveColor_buf_runtimeType)) { - sharedRenderProcessToken_buf.value = static_cast(valueDeserializer.readString()); + const Ark_Int8 inactiveColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor inactiveColor_buf_ = {}; + inactiveColor_buf_.selector = inactiveColor_buf__selector; + if (inactiveColor_buf__selector == 0) { + inactiveColor_buf_.selector = 0; + inactiveColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (inactiveColor_buf__selector == 1) { + inactiveColor_buf_.selector = 1; + inactiveColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (inactiveColor_buf__selector == 2) { + inactiveColor_buf_.selector = 2; + inactiveColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (inactiveColor_buf__selector == 3) { + inactiveColor_buf_.selector = 3; + inactiveColor_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for inactiveColor_buf_ has to be chosen through deserialisation."); + } + inactiveColor_buf.value = static_cast(inactiveColor_buf_); } - value.sharedRenderProcessToken = sharedRenderProcessToken_buf; + value.inactiveColor = inactiveColor_buf; return value; } - Ark_WorkerOptions readWorkerOptions() + Ark_BackgroundEffectOptions readBackgroundEffectOptions() { - Ark_WorkerOptions value = {}; + Ark_BackgroundEffectOptions value = {}; Deserializer& valueDeserializer = *this; - const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String type_buf = {}; - type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + value.radius = static_cast(valueDeserializer.readNumber()); + const auto saturation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number saturation_buf = {}; + saturation_buf.tag = saturation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (saturation_buf_runtimeType)) { - type_buf.value = static_cast(valueDeserializer.readString()); + saturation_buf.value = static_cast(valueDeserializer.readNumber()); } - value.type = type_buf; - const auto name_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String name_buf = {}; - name_buf.tag = name_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (name_buf_runtimeType)) + value.saturation = saturation_buf; + const auto brightness_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number brightness_buf = {}; + brightness_buf.tag = brightness_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (brightness_buf_runtimeType)) { - name_buf.value = static_cast(valueDeserializer.readString()); + brightness_buf.value = static_cast(valueDeserializer.readNumber()); } - value.name = name_buf; - const auto shared_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean shared_buf = {}; - shared_buf.tag = shared_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (shared_buf_runtimeType)) + value.brightness = brightness_buf; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) { - shared_buf.value = valueDeserializer.readBoolean(); + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + } + color_buf.value = static_cast(color_buf_); } - value.shared = shared_buf; - return value; - } - Ark_WrappedBuilder readWrappedBuilder() - { - Ark_WrappedBuilder value = {}; - Deserializer& valueDeserializer = *this; - value.builder = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_WrappedBuilder_Args_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_WrappedBuilder_Args_Void))))}; - return value; - } - Ark_XComponentController readXComponentController() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_ActionSheetButtonOptions readActionSheetButtonOptions() - { - Ark_ActionSheetButtonOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto enabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enabled_buf = {}; - enabled_buf.tag = enabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enabled_buf_runtimeType)) + value.color = color_buf; + const auto adaptiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_AdaptiveColor adaptiveColor_buf = {}; + adaptiveColor_buf.tag = adaptiveColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (adaptiveColor_buf_runtimeType)) { - enabled_buf.value = valueDeserializer.readBoolean(); + adaptiveColor_buf.value = static_cast(valueDeserializer.readInt32()); } - value.enabled = enabled_buf; - const auto defaultFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean defaultFocus_buf = {}; - defaultFocus_buf.tag = defaultFocus_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (defaultFocus_buf_runtimeType)) + value.adaptiveColor = adaptiveColor_buf; + const auto blurOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BlurOptions blurOptions_buf = {}; + blurOptions_buf.tag = blurOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (blurOptions_buf_runtimeType)) { - defaultFocus_buf.value = valueDeserializer.readBoolean(); + blurOptions_buf.value = valueDeserializer.readBlurOptions(); } - value.defaultFocus = defaultFocus_buf; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_DialogButtonStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + value.blurOptions = blurOptions_buf; + const auto policy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BlurStyleActivePolicy policy_buf = {}; + policy_buf.tag = policy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (policy_buf_runtimeType)) { - style_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.style = style_buf; - const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource value_buf = {}; - value_buf.selector = value_buf_selector; - if (value_buf_selector == 0) { - value_buf.selector = 0; - value_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (value_buf_selector == 1) { - value_buf.selector = 1; - value_buf.value1 = valueDeserializer.readResource(); + policy_buf.value = static_cast(valueDeserializer.readInt32()); } - else { - INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + value.policy = policy_buf; + const auto inactiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor inactiveColor_buf = {}; + inactiveColor_buf.tag = inactiveColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (inactiveColor_buf_runtimeType)) + { + const Ark_Int8 inactiveColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor inactiveColor_buf_ = {}; + inactiveColor_buf_.selector = inactiveColor_buf__selector; + if (inactiveColor_buf__selector == 0) { + inactiveColor_buf_.selector = 0; + inactiveColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (inactiveColor_buf__selector == 1) { + inactiveColor_buf_.selector = 1; + inactiveColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (inactiveColor_buf__selector == 2) { + inactiveColor_buf_.selector = 2; + inactiveColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (inactiveColor_buf__selector == 3) { + inactiveColor_buf_.selector = 3; + inactiveColor_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for inactiveColor_buf_ has to be chosen through deserialisation."); + } + inactiveColor_buf.value = static_cast(inactiveColor_buf_); } - value.value = static_cast(value_buf); - value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; + value.inactiveColor = inactiveColor_buf; return value; } - Ark_ActionSheetOffset readActionSheetOffset() + Ark_ButtonIconOptions readButtonIconOptions() { - Ark_ActionSheetOffset value = {}; + Ark_ButtonIconOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 dx_buf_selector = valueDeserializer.readInt8(); - Ark_Union_Number_String_Resource dx_buf = {}; - dx_buf.selector = dx_buf_selector; - if (dx_buf_selector == 0) { - dx_buf.selector = 0; - dx_buf.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 shown_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_PixelMap_Resource shown_buf = {}; + shown_buf.selector = shown_buf_selector; + if (shown_buf_selector == 0) { + shown_buf.selector = 0; + shown_buf.value0 = static_cast(valueDeserializer.readString()); } - else if (dx_buf_selector == 1) { - dx_buf.selector = 1; - dx_buf.value1 = static_cast(valueDeserializer.readString()); + else if (shown_buf_selector == 1) { + shown_buf.selector = 1; + shown_buf.value1 = static_cast(valueDeserializer.readPixelMap()); } - else if (dx_buf_selector == 2) { - dx_buf.selector = 2; - dx_buf.value2 = valueDeserializer.readResource(); + else if (shown_buf_selector == 2) { + shown_buf.selector = 2; + shown_buf.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for dx_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for shown_buf has to be chosen through deserialisation."); } - value.dx = static_cast(dx_buf); - const Ark_Int8 dy_buf_selector = valueDeserializer.readInt8(); - Ark_Union_Number_String_Resource dy_buf = {}; - dy_buf.selector = dy_buf_selector; - if (dy_buf_selector == 0) { - dy_buf.selector = 0; - dy_buf.value0 = static_cast(valueDeserializer.readNumber()); + value.shown = static_cast(shown_buf); + const Ark_Int8 hidden_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_PixelMap_Resource hidden_buf = {}; + hidden_buf.selector = hidden_buf_selector; + if (hidden_buf_selector == 0) { + hidden_buf.selector = 0; + hidden_buf.value0 = static_cast(valueDeserializer.readString()); } - else if (dy_buf_selector == 1) { - dy_buf.selector = 1; - dy_buf.value1 = static_cast(valueDeserializer.readString()); + else if (hidden_buf_selector == 1) { + hidden_buf.selector = 1; + hidden_buf.value1 = static_cast(valueDeserializer.readPixelMap()); } - else if (dy_buf_selector == 2) { - dy_buf.selector = 2; - dy_buf.value2 = valueDeserializer.readResource(); + else if (hidden_buf_selector == 2) { + hidden_buf.selector = 2; + hidden_buf.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for dy_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for hidden_buf has to be chosen through deserialisation."); + } + value.hidden = static_cast(hidden_buf); + const auto switching_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_PixelMap_Resource switching_buf = {}; + switching_buf.tag = switching_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (switching_buf_runtimeType)) + { + const Ark_Int8 switching_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_PixelMap_Resource switching_buf_ = {}; + switching_buf_.selector = switching_buf__selector; + if (switching_buf__selector == 0) { + switching_buf_.selector = 0; + switching_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (switching_buf__selector == 1) { + switching_buf_.selector = 1; + switching_buf_.value1 = static_cast(valueDeserializer.readPixelMap()); + } + else if (switching_buf__selector == 2) { + switching_buf_.selector = 2; + switching_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for switching_buf_ has to be chosen through deserialisation."); + } + switching_buf.value = static_cast(switching_buf_); } - value.dy = static_cast(dy_buf); + value.switching = switching_buf; return value; } - Ark_AlertDialogButtonBaseOptions readAlertDialogButtonBaseOptions() + Ark_CalendarOptions readCalendarOptions() { - Ark_AlertDialogButtonBaseOptions value = {}; + Ark_CalendarOptions value = {}; Deserializer& valueDeserializer = *this; - const auto enabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enabled_buf = {}; - enabled_buf.tag = enabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enabled_buf_runtimeType)) + const auto hintRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_Resource hintRadius_buf = {}; + hintRadius_buf.tag = hintRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hintRadius_buf_runtimeType)) { - enabled_buf.value = valueDeserializer.readBoolean(); + const Ark_Int8 hintRadius_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_Resource hintRadius_buf_ = {}; + hintRadius_buf_.selector = hintRadius_buf__selector; + if (hintRadius_buf__selector == 0) { + hintRadius_buf_.selector = 0; + hintRadius_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (hintRadius_buf__selector == 1) { + hintRadius_buf_.selector = 1; + hintRadius_buf_.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for hintRadius_buf_ has to be chosen through deserialisation."); + } + hintRadius_buf.value = static_cast(hintRadius_buf_); } - value.enabled = enabled_buf; - const auto defaultFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean defaultFocus_buf = {}; - defaultFocus_buf.tag = defaultFocus_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (defaultFocus_buf_runtimeType)) + value.hintRadius = hintRadius_buf; + const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date selected_buf = {}; + selected_buf.tag = selected_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) { - defaultFocus_buf.value = valueDeserializer.readBoolean(); + selected_buf.value = valueDeserializer.readInt64(); } - value.defaultFocus = defaultFocus_buf; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_DialogButtonStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + value.selected = selected_buf; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) { - style_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.style = style_buf; - const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); - Ark_ResourceStr value_buf = {}; - value_buf.selector = value_buf_selector; - if (value_buf_selector == 0) { - value_buf.selector = 0; - value_buf.value0 = static_cast(valueDeserializer.readString()); + start_buf.value = valueDeserializer.readInt64(); } - else if (value_buf_selector == 1) { - value_buf.selector = 1; - value_buf.value1 = valueDeserializer.readResource(); + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = valueDeserializer.readInt64(); } - else { - INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + value.end = end_buf; + const auto disabledDateRange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_DateRange disabledDateRange_buf = {}; + disabledDateRange_buf.tag = disabledDateRange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (disabledDateRange_buf_runtimeType)) + { + const Ark_Int32 disabledDateRange_buf__length = valueDeserializer.readInt32(); + Array_DateRange disabledDateRange_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&disabledDateRange_buf_, disabledDateRange_buf__length); + for (int disabledDateRange_buf__i = 0; disabledDateRange_buf__i < disabledDateRange_buf__length; disabledDateRange_buf__i++) { + disabledDateRange_buf_.array[disabledDateRange_buf__i] = valueDeserializer.readDateRange(); + } + disabledDateRange_buf.value = disabledDateRange_buf_; } - value.value = static_cast(value_buf); - const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontColor_buf = {}; - fontColor_buf.tag = fontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + value.disabledDateRange = disabledDateRange_buf; + return value; + } + Ark_CanvasRenderer readCanvasRenderer() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_CanvasRenderingContext2D readCanvasRenderingContext2D() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_CircleStyleOptions readCircleStyleOptions() + { + Ark_CircleStyleOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) { - const Ark_Int8 fontColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontColor_buf_ = {}; - fontColor_buf_.selector = fontColor_buf__selector; - if (fontColor_buf__selector == 0) { - fontColor_buf_.selector = 0; - fontColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (fontColor_buf__selector == 1) { - fontColor_buf_.selector = 1; - fontColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontColor_buf__selector == 2) { - fontColor_buf_.selector = 2; - fontColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (fontColor_buf__selector == 3) { - fontColor_buf_.selector = 3; - fontColor_buf_.value3 = valueDeserializer.readResource(); + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); } - fontColor_buf.value = static_cast(fontColor_buf_); + color_buf.value = static_cast(color_buf_); } - value.fontColor = fontColor_buf; + value.color = color_buf; + const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics radius_buf = {}; + radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + { + radius_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.radius = radius_buf; + const auto enableWaveEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableWaveEffect_buf = {}; + enableWaveEffect_buf.tag = enableWaveEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableWaveEffect_buf_runtimeType)) + { + enableWaveEffect_buf.value = valueDeserializer.readBoolean(); + } + value.enableWaveEffect = enableWaveEffect_buf; + const auto enableForeground_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableForeground_buf = {}; + enableForeground_buf.tag = enableForeground_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableForeground_buf_runtimeType)) + { + enableForeground_buf.value = valueDeserializer.readBoolean(); + } + value.enableForeground = enableForeground_buf; + return value; + } + Ark_ComponentInfo readComponentInfo() + { + Ark_ComponentInfo value = {}; + Deserializer& valueDeserializer = *this; + value.size = valueDeserializer.readSize(); + value.localOffset = valueDeserializer.readOffset_componentutils(); + value.windowOffset = valueDeserializer.readOffset_componentutils(); + value.screenOffset = valueDeserializer.readOffset_componentutils(); + value.translate = valueDeserializer.readTranslateResult(); + value.scale = valueDeserializer.readScaleResult(); + value.rotate = valueDeserializer.readRotateResult(); + Ark_Matrix4Result transform_buf = {}; + transform_buf.value0 = static_cast(valueDeserializer.readNumber()); + transform_buf.value1 = static_cast(valueDeserializer.readNumber()); + transform_buf.value2 = static_cast(valueDeserializer.readNumber()); + transform_buf.value3 = static_cast(valueDeserializer.readNumber()); + transform_buf.value4 = static_cast(valueDeserializer.readNumber()); + transform_buf.value5 = static_cast(valueDeserializer.readNumber()); + transform_buf.value6 = static_cast(valueDeserializer.readNumber()); + transform_buf.value7 = static_cast(valueDeserializer.readNumber()); + transform_buf.value8 = static_cast(valueDeserializer.readNumber()); + transform_buf.value9 = static_cast(valueDeserializer.readNumber()); + transform_buf.value10 = static_cast(valueDeserializer.readNumber()); + transform_buf.value11 = static_cast(valueDeserializer.readNumber()); + transform_buf.value12 = static_cast(valueDeserializer.readNumber()); + transform_buf.value13 = static_cast(valueDeserializer.readNumber()); + transform_buf.value14 = static_cast(valueDeserializer.readNumber()); + transform_buf.value15 = static_cast(valueDeserializer.readNumber()); + value.transform = transform_buf; + return value; + } + Ark_ContentCoverOptions readContentCoverOptions() + { + Ark_ContentCoverOptions value = {}; + Deserializer& valueDeserializer = *this; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -94402,4746 +100518,5493 @@ class Deserializer : public DeserializerBase { backgroundColor_buf.value = static_cast(backgroundColor_buf_); } value.backgroundColor = backgroundColor_buf; - value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; + const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onAppear_buf = {}; + onAppear_buf.tag = onAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) + { + onAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onAppear = onAppear_buf; + const auto onDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDisappear_buf = {}; + onDisappear_buf.tag = onDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) + { + onDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDisappear = onDisappear_buf; + const auto onWillAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillAppear_buf = {}; + onWillAppear_buf.tag = onWillAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillAppear = onWillAppear_buf; + const auto onWillDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillDisappear_buf = {}; + onWillDisappear_buf.tag = onWillDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillDisappear = onWillDisappear_buf; + const auto modalTransition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ModalTransition modalTransition_buf = {}; + modalTransition_buf.tag = modalTransition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (modalTransition_buf_runtimeType)) + { + modalTransition_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.modalTransition = modalTransition_buf; + const auto onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_DismissContentCoverAction_Void onWillDismiss_buf = {}; + onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) + { + onWillDismiss_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DismissContentCoverAction_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DismissContentCoverAction_Void))))}; + } + value.onWillDismiss = onWillDismiss_buf; + const auto transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TransitionEffect transition_buf = {}; + transition_buf.tag = transition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) + { + transition_buf.value = static_cast(valueDeserializer.readTransitionEffect()); + } + value.transition = transition_buf; return value; } - Ark_AlertDialogButtonOptions readAlertDialogButtonOptions() + Ark_ContextMenuAnimationOptions readContextMenuAnimationOptions() { - Ark_AlertDialogButtonOptions value = {}; + Ark_ContextMenuAnimationOptions value = {}; Deserializer& valueDeserializer = *this; - const auto enabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enabled_buf = {}; - enabled_buf.tag = enabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enabled_buf_runtimeType)) + const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_AnimationRange_Number scale_buf = {}; + scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) { - enabled_buf.value = valueDeserializer.readBoolean(); + Ark_AnimationRange_Number scale_buf_ = {}; + scale_buf_.value0 = static_cast(valueDeserializer.readNumber()); + scale_buf_.value1 = static_cast(valueDeserializer.readNumber()); + scale_buf.value = scale_buf_; } - value.enabled = enabled_buf; - const auto defaultFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean defaultFocus_buf = {}; - defaultFocus_buf.tag = defaultFocus_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (defaultFocus_buf_runtimeType)) + value.scale = scale_buf; + const auto transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TransitionEffect transition_buf = {}; + transition_buf.tag = transition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) { - defaultFocus_buf.value = valueDeserializer.readBoolean(); + transition_buf.value = static_cast(valueDeserializer.readTransitionEffect()); } - value.defaultFocus = defaultFocus_buf; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_DialogButtonStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + value.transition = transition_buf; + const auto hoverScale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_AnimationRange_Number hoverScale_buf = {}; + hoverScale_buf.tag = hoverScale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hoverScale_buf_runtimeType)) { - style_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.style = style_buf; - const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); - Ark_ResourceStr value_buf = {}; - value_buf.selector = value_buf_selector; - if (value_buf_selector == 0) { - value_buf.selector = 0; - value_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (value_buf_selector == 1) { - value_buf.selector = 1; - value_buf.value1 = valueDeserializer.readResource(); + Ark_AnimationRange_Number hoverScale_buf_ = {}; + hoverScale_buf_.value0 = static_cast(valueDeserializer.readNumber()); + hoverScale_buf_.value1 = static_cast(valueDeserializer.readNumber()); + hoverScale_buf.value = hoverScale_buf_; } - else { - INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + value.hoverScale = hoverScale_buf; + return value; + } + Ark_CurrentDayStyle readCurrentDayStyle() + { + Ark_CurrentDayStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto dayColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor dayColor_buf = {}; + dayColor_buf.tag = dayColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dayColor_buf_runtimeType)) + { + const Ark_Int8 dayColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor dayColor_buf_ = {}; + dayColor_buf_.selector = dayColor_buf__selector; + if (dayColor_buf__selector == 0) { + dayColor_buf_.selector = 0; + dayColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (dayColor_buf__selector == 1) { + dayColor_buf_.selector = 1; + dayColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (dayColor_buf__selector == 2) { + dayColor_buf_.selector = 2; + dayColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (dayColor_buf__selector == 3) { + dayColor_buf_.selector = 3; + dayColor_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for dayColor_buf_ has to be chosen through deserialisation."); + } + dayColor_buf.value = static_cast(dayColor_buf_); } - value.value = static_cast(value_buf); - const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontColor_buf = {}; - fontColor_buf.tag = fontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + value.dayColor = dayColor_buf; + const auto lunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor lunarColor_buf = {}; + lunarColor_buf.tag = lunarColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lunarColor_buf_runtimeType)) { - const Ark_Int8 fontColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontColor_buf_ = {}; - fontColor_buf_.selector = fontColor_buf__selector; - if (fontColor_buf__selector == 0) { - fontColor_buf_.selector = 0; - fontColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 lunarColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor lunarColor_buf_ = {}; + lunarColor_buf_.selector = lunarColor_buf__selector; + if (lunarColor_buf__selector == 0) { + lunarColor_buf_.selector = 0; + lunarColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (fontColor_buf__selector == 1) { - fontColor_buf_.selector = 1; - fontColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (lunarColor_buf__selector == 1) { + lunarColor_buf_.selector = 1; + lunarColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontColor_buf__selector == 2) { - fontColor_buf_.selector = 2; - fontColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (lunarColor_buf__selector == 2) { + lunarColor_buf_.selector = 2; + lunarColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (fontColor_buf__selector == 3) { - fontColor_buf_.selector = 3; - fontColor_buf_.value3 = valueDeserializer.readResource(); + else if (lunarColor_buf__selector == 3) { + lunarColor_buf_.selector = 3; + lunarColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for lunarColor_buf_ has to be chosen through deserialisation."); } - fontColor_buf.value = static_cast(fontColor_buf_); + lunarColor_buf.value = static_cast(lunarColor_buf_); } - value.fontColor = fontColor_buf; - const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + value.lunarColor = lunarColor_buf; + const auto markLunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor markLunarColor_buf = {}; + markLunarColor_buf.tag = markLunarColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (markLunarColor_buf_runtimeType)) { - const Ark_Int8 backgroundColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor backgroundColor_buf_ = {}; - backgroundColor_buf_.selector = backgroundColor_buf__selector; - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_.selector = 0; - backgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 markLunarColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor markLunarColor_buf_ = {}; + markLunarColor_buf_.selector = markLunarColor_buf__selector; + if (markLunarColor_buf__selector == 0) { + markLunarColor_buf_.selector = 0; + markLunarColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_.selector = 1; - backgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (markLunarColor_buf__selector == 1) { + markLunarColor_buf_.selector = 1; + markLunarColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_.selector = 2; - backgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (markLunarColor_buf__selector == 2) { + markLunarColor_buf_.selector = 2; + markLunarColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_.selector = 3; - backgroundColor_buf_.value3 = valueDeserializer.readResource(); + else if (markLunarColor_buf__selector == 3) { + markLunarColor_buf_.selector = 3; + markLunarColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for markLunarColor_buf_ has to be chosen through deserialisation."); } - backgroundColor_buf.value = static_cast(backgroundColor_buf_); + markLunarColor_buf.value = static_cast(markLunarColor_buf_); + } + value.markLunarColor = markLunarColor_buf; + const auto dayFontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number dayFontSize_buf = {}; + dayFontSize_buf.tag = dayFontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dayFontSize_buf_runtimeType)) + { + dayFontSize_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.dayFontSize = dayFontSize_buf; + const auto lunarDayFontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number lunarDayFontSize_buf = {}; + lunarDayFontSize_buf.tag = lunarDayFontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lunarDayFontSize_buf_runtimeType)) + { + lunarDayFontSize_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.lunarDayFontSize = lunarDayFontSize_buf; + const auto dayHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number dayHeight_buf = {}; + dayHeight_buf.tag = dayHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dayHeight_buf_runtimeType)) + { + dayHeight_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.dayHeight = dayHeight_buf; + const auto dayWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number dayWidth_buf = {}; + dayWidth_buf.tag = dayWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dayWidth_buf_runtimeType)) + { + dayWidth_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.dayWidth = dayWidth_buf; + const auto gregorianCalendarHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number gregorianCalendarHeight_buf = {}; + gregorianCalendarHeight_buf.tag = gregorianCalendarHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (gregorianCalendarHeight_buf_runtimeType)) + { + gregorianCalendarHeight_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.gregorianCalendarHeight = gregorianCalendarHeight_buf; + const auto dayYAxisOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number dayYAxisOffset_buf = {}; + dayYAxisOffset_buf.tag = dayYAxisOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dayYAxisOffset_buf_runtimeType)) + { + dayYAxisOffset_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.dayYAxisOffset = dayYAxisOffset_buf; + const auto lunarDayYAxisOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number lunarDayYAxisOffset_buf = {}; + lunarDayYAxisOffset_buf.tag = lunarDayYAxisOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lunarDayYAxisOffset_buf_runtimeType)) + { + lunarDayYAxisOffset_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.lunarDayYAxisOffset = lunarDayYAxisOffset_buf; + const auto underscoreXAxisOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number underscoreXAxisOffset_buf = {}; + underscoreXAxisOffset_buf.tag = underscoreXAxisOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (underscoreXAxisOffset_buf_runtimeType)) + { + underscoreXAxisOffset_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.underscoreXAxisOffset = underscoreXAxisOffset_buf; + const auto underscoreYAxisOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number underscoreYAxisOffset_buf = {}; + underscoreYAxisOffset_buf.tag = underscoreYAxisOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (underscoreYAxisOffset_buf_runtimeType)) + { + underscoreYAxisOffset_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.underscoreYAxisOffset = underscoreYAxisOffset_buf; + const auto scheduleMarkerXAxisOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number scheduleMarkerXAxisOffset_buf = {}; + scheduleMarkerXAxisOffset_buf.tag = scheduleMarkerXAxisOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scheduleMarkerXAxisOffset_buf_runtimeType)) + { + scheduleMarkerXAxisOffset_buf.value = static_cast(valueDeserializer.readNumber()); } - value.backgroundColor = backgroundColor_buf; - value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; - const auto primary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean primary_buf = {}; - primary_buf.tag = primary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (primary_buf_runtimeType)) + value.scheduleMarkerXAxisOffset = scheduleMarkerXAxisOffset_buf; + const auto scheduleMarkerYAxisOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number scheduleMarkerYAxisOffset_buf = {}; + scheduleMarkerYAxisOffset_buf.tag = scheduleMarkerYAxisOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scheduleMarkerYAxisOffset_buf_runtimeType)) { - primary_buf.value = valueDeserializer.readBoolean(); + scheduleMarkerYAxisOffset_buf.value = static_cast(valueDeserializer.readNumber()); } - value.primary = primary_buf; - return value; - } - Ark_AlignRuleOption readAlignRuleOption() - { - Ark_AlignRuleOption value = {}; - Deserializer& valueDeserializer = *this; - const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Literal_String_anchor_HorizontalAlign_align left_buf = {}; - left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + value.scheduleMarkerYAxisOffset = scheduleMarkerYAxisOffset_buf; + const auto colSpace_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number colSpace_buf = {}; + colSpace_buf.tag = colSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (colSpace_buf_runtimeType)) { - Ark_Literal_String_anchor_HorizontalAlign_align left_buf_ = {}; - left_buf_.anchor = static_cast(valueDeserializer.readString()); - left_buf_.align = static_cast(valueDeserializer.readInt32()); - left_buf.value = left_buf_; + colSpace_buf.value = static_cast(valueDeserializer.readNumber()); } - value.left = left_buf; - const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Literal_String_anchor_HorizontalAlign_align right_buf = {}; - right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) + value.colSpace = colSpace_buf; + const auto dailyFiveRowSpace_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number dailyFiveRowSpace_buf = {}; + dailyFiveRowSpace_buf.tag = dailyFiveRowSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dailyFiveRowSpace_buf_runtimeType)) { - Ark_Literal_String_anchor_HorizontalAlign_align right_buf_ = {}; - right_buf_.anchor = static_cast(valueDeserializer.readString()); - right_buf_.align = static_cast(valueDeserializer.readInt32()); - right_buf.value = right_buf_; + dailyFiveRowSpace_buf.value = static_cast(valueDeserializer.readNumber()); } - value.right = right_buf; - const auto middle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Literal_String_anchor_HorizontalAlign_align middle_buf = {}; - middle_buf.tag = middle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (middle_buf_runtimeType)) + value.dailyFiveRowSpace = dailyFiveRowSpace_buf; + const auto dailySixRowSpace_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number dailySixRowSpace_buf = {}; + dailySixRowSpace_buf.tag = dailySixRowSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dailySixRowSpace_buf_runtimeType)) { - Ark_Literal_String_anchor_HorizontalAlign_align middle_buf_ = {}; - middle_buf_.anchor = static_cast(valueDeserializer.readString()); - middle_buf_.align = static_cast(valueDeserializer.readInt32()); - middle_buf.value = middle_buf_; + dailySixRowSpace_buf.value = static_cast(valueDeserializer.readNumber()); } - value.middle = middle_buf; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Literal_String_anchor_VerticalAlign_align top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + value.dailySixRowSpace = dailySixRowSpace_buf; + const auto lunarHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number lunarHeight_buf = {}; + lunarHeight_buf.tag = lunarHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lunarHeight_buf_runtimeType)) { - Ark_Literal_String_anchor_VerticalAlign_align top_buf_ = {}; - top_buf_.anchor = static_cast(valueDeserializer.readString()); - top_buf_.align = static_cast(valueDeserializer.readInt32()); - top_buf.value = top_buf_; + lunarHeight_buf.value = static_cast(valueDeserializer.readNumber()); } - value.top = top_buf; - const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Literal_String_anchor_VerticalAlign_align bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + value.lunarHeight = lunarHeight_buf; + const auto underscoreWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number underscoreWidth_buf = {}; + underscoreWidth_buf.tag = underscoreWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (underscoreWidth_buf_runtimeType)) { - Ark_Literal_String_anchor_VerticalAlign_align bottom_buf_ = {}; - bottom_buf_.anchor = static_cast(valueDeserializer.readString()); - bottom_buf_.align = static_cast(valueDeserializer.readInt32()); - bottom_buf.value = bottom_buf_; + underscoreWidth_buf.value = static_cast(valueDeserializer.readNumber()); } - value.bottom = bottom_buf; - const auto center_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Literal_String_anchor_VerticalAlign_align center_buf = {}; - center_buf.tag = center_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (center_buf_runtimeType)) + value.underscoreWidth = underscoreWidth_buf; + const auto underscoreLength_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number underscoreLength_buf = {}; + underscoreLength_buf.tag = underscoreLength_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (underscoreLength_buf_runtimeType)) { - Ark_Literal_String_anchor_VerticalAlign_align center_buf_ = {}; - center_buf_.anchor = static_cast(valueDeserializer.readString()); - center_buf_.align = static_cast(valueDeserializer.readInt32()); - center_buf.value = center_buf_; + underscoreLength_buf.value = static_cast(valueDeserializer.readNumber()); } - value.center = center_buf; - const auto bias_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Bias bias_buf = {}; - bias_buf.tag = bias_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bias_buf_runtimeType)) + value.underscoreLength = underscoreLength_buf; + const auto scheduleMarkerRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number scheduleMarkerRadius_buf = {}; + scheduleMarkerRadius_buf.tag = scheduleMarkerRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scheduleMarkerRadius_buf_runtimeType)) { - bias_buf.value = valueDeserializer.readBias(); + scheduleMarkerRadius_buf.value = static_cast(valueDeserializer.readNumber()); } - value.bias = bias_buf; - return value; - } - Ark_AnimateParam readAnimateParam() - { - Ark_AnimateParam value = {}; - Deserializer& valueDeserializer = *this; - const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number duration_buf = {}; - duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + value.scheduleMarkerRadius = scheduleMarkerRadius_buf; + const auto boundaryRowOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number boundaryRowOffset_buf = {}; + boundaryRowOffset_buf.tag = boundaryRowOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (boundaryRowOffset_buf_runtimeType)) { - duration_buf.value = static_cast(valueDeserializer.readNumber()); + boundaryRowOffset_buf.value = static_cast(valueDeserializer.readNumber()); } - value.duration = duration_buf; - const auto tempo_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number tempo_buf = {}; - tempo_buf.tag = tempo_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (tempo_buf_runtimeType)) + value.boundaryRowOffset = boundaryRowOffset_buf; + const auto boundaryColOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number boundaryColOffset_buf = {}; + boundaryColOffset_buf.tag = boundaryColOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (boundaryColOffset_buf_runtimeType)) { - tempo_buf.value = static_cast(valueDeserializer.readNumber()); + boundaryColOffset_buf.value = static_cast(valueDeserializer.readNumber()); } - value.tempo = tempo_buf; - const auto curve_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Curve_String_ICurve curve_buf = {}; - curve_buf.tag = curve_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (curve_buf_runtimeType)) + value.boundaryColOffset = boundaryColOffset_buf; + return value; + } + Ark_CustomColors readCustomColors() + { + Ark_CustomColors value = {}; + Deserializer& valueDeserializer = *this; + const auto brand_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor brand_buf = {}; + brand_buf.tag = brand_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (brand_buf_runtimeType)) { - const Ark_Int8 curve_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Curve_String_ICurve curve_buf_ = {}; - curve_buf_.selector = curve_buf__selector; - if (curve_buf__selector == 0) { - curve_buf_.selector = 0; - curve_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 brand_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor brand_buf_ = {}; + brand_buf_.selector = brand_buf__selector; + if (brand_buf__selector == 0) { + brand_buf_.selector = 0; + brand_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (curve_buf__selector == 1) { - curve_buf_.selector = 1; - curve_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (brand_buf__selector == 1) { + brand_buf_.selector = 1; + brand_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (curve_buf__selector == 2) { - curve_buf_.selector = 2; - curve_buf_.value2 = static_cast(valueDeserializer.readICurve()); + else if (brand_buf__selector == 2) { + brand_buf_.selector = 2; + brand_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (brand_buf__selector == 3) { + brand_buf_.selector = 3; + brand_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for curve_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for brand_buf_ has to be chosen through deserialisation."); } - curve_buf.value = static_cast(curve_buf_); + brand_buf.value = static_cast(brand_buf_); } - value.curve = curve_buf; - const auto delay_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number delay_buf = {}; - delay_buf.tag = delay_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (delay_buf_runtimeType)) + value.brand = brand_buf; + const auto warning_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor warning_buf = {}; + warning_buf.tag = warning_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (warning_buf_runtimeType)) { - delay_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 warning_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor warning_buf_ = {}; + warning_buf_.selector = warning_buf__selector; + if (warning_buf__selector == 0) { + warning_buf_.selector = 0; + warning_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (warning_buf__selector == 1) { + warning_buf_.selector = 1; + warning_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (warning_buf__selector == 2) { + warning_buf_.selector = 2; + warning_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (warning_buf__selector == 3) { + warning_buf_.selector = 3; + warning_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for warning_buf_ has to be chosen through deserialisation."); + } + warning_buf.value = static_cast(warning_buf_); } - value.delay = delay_buf; - const auto iterations_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number iterations_buf = {}; - iterations_buf.tag = iterations_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (iterations_buf_runtimeType)) + value.warning = warning_buf; + const auto alert_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor alert_buf = {}; + alert_buf.tag = alert_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alert_buf_runtimeType)) { - iterations_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 alert_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor alert_buf_ = {}; + alert_buf_.selector = alert_buf__selector; + if (alert_buf__selector == 0) { + alert_buf_.selector = 0; + alert_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (alert_buf__selector == 1) { + alert_buf_.selector = 1; + alert_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (alert_buf__selector == 2) { + alert_buf_.selector = 2; + alert_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (alert_buf__selector == 3) { + alert_buf_.selector = 3; + alert_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for alert_buf_ has to be chosen through deserialisation."); + } + alert_buf.value = static_cast(alert_buf_); } - value.iterations = iterations_buf; - const auto playMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_PlayMode playMode_buf = {}; - playMode_buf.tag = playMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (playMode_buf_runtimeType)) + value.alert = alert_buf; + const auto confirm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor confirm_buf = {}; + confirm_buf.tag = confirm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (confirm_buf_runtimeType)) { - playMode_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 confirm_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor confirm_buf_ = {}; + confirm_buf_.selector = confirm_buf__selector; + if (confirm_buf__selector == 0) { + confirm_buf_.selector = 0; + confirm_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (confirm_buf__selector == 1) { + confirm_buf_.selector = 1; + confirm_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (confirm_buf__selector == 2) { + confirm_buf_.selector = 2; + confirm_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (confirm_buf__selector == 3) { + confirm_buf_.selector = 3; + confirm_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for confirm_buf_ has to be chosen through deserialisation."); + } + confirm_buf.value = static_cast(confirm_buf_); } - value.playMode = playMode_buf; - const auto onFinish_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onFinish_buf = {}; - onFinish_buf.tag = onFinish_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onFinish_buf_runtimeType)) + value.confirm = confirm_buf; + const auto fontPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontPrimary_buf = {}; + fontPrimary_buf.tag = fontPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontPrimary_buf_runtimeType)) { - onFinish_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + const Ark_Int8 fontPrimary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontPrimary_buf_ = {}; + fontPrimary_buf_.selector = fontPrimary_buf__selector; + if (fontPrimary_buf__selector == 0) { + fontPrimary_buf_.selector = 0; + fontPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (fontPrimary_buf__selector == 1) { + fontPrimary_buf_.selector = 1; + fontPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (fontPrimary_buf__selector == 2) { + fontPrimary_buf_.selector = 2; + fontPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (fontPrimary_buf__selector == 3) { + fontPrimary_buf_.selector = 3; + fontPrimary_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for fontPrimary_buf_ has to be chosen through deserialisation."); + } + fontPrimary_buf.value = static_cast(fontPrimary_buf_); } - value.onFinish = onFinish_buf; - const auto finishCallbackType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FinishCallbackType finishCallbackType_buf = {}; - finishCallbackType_buf.tag = finishCallbackType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (finishCallbackType_buf_runtimeType)) + value.fontPrimary = fontPrimary_buf; + const auto fontSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontSecondary_buf = {}; + fontSecondary_buf.tag = fontSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontSecondary_buf_runtimeType)) { - finishCallbackType_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 fontSecondary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontSecondary_buf_ = {}; + fontSecondary_buf_.selector = fontSecondary_buf__selector; + if (fontSecondary_buf__selector == 0) { + fontSecondary_buf_.selector = 0; + fontSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (fontSecondary_buf__selector == 1) { + fontSecondary_buf_.selector = 1; + fontSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (fontSecondary_buf__selector == 2) { + fontSecondary_buf_.selector = 2; + fontSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (fontSecondary_buf__selector == 3) { + fontSecondary_buf_.selector = 3; + fontSecondary_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for fontSecondary_buf_ has to be chosen through deserialisation."); + } + fontSecondary_buf.value = static_cast(fontSecondary_buf_); } - value.finishCallbackType = finishCallbackType_buf; - const auto expectedFrameRateRange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ExpectedFrameRateRange expectedFrameRateRange_buf = {}; - expectedFrameRateRange_buf.tag = expectedFrameRateRange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (expectedFrameRateRange_buf_runtimeType)) + value.fontSecondary = fontSecondary_buf; + const auto fontTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontTertiary_buf = {}; + fontTertiary_buf.tag = fontTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontTertiary_buf_runtimeType)) { - expectedFrameRateRange_buf.value = valueDeserializer.readExpectedFrameRateRange(); + const Ark_Int8 fontTertiary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontTertiary_buf_ = {}; + fontTertiary_buf_.selector = fontTertiary_buf__selector; + if (fontTertiary_buf__selector == 0) { + fontTertiary_buf_.selector = 0; + fontTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (fontTertiary_buf__selector == 1) { + fontTertiary_buf_.selector = 1; + fontTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (fontTertiary_buf__selector == 2) { + fontTertiary_buf_.selector = 2; + fontTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (fontTertiary_buf__selector == 3) { + fontTertiary_buf_.selector = 3; + fontTertiary_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for fontTertiary_buf_ has to be chosen through deserialisation."); + } + fontTertiary_buf.value = static_cast(fontTertiary_buf_); } - value.expectedFrameRateRange = expectedFrameRateRange_buf; - return value; - } - Ark_ArrowStyle readArrowStyle() - { - Ark_ArrowStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto showBackground_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean showBackground_buf = {}; - showBackground_buf.tag = showBackground_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (showBackground_buf_runtimeType)) + value.fontTertiary = fontTertiary_buf; + const auto fontFourth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontFourth_buf = {}; + fontFourth_buf.tag = fontFourth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontFourth_buf_runtimeType)) { - showBackground_buf.value = valueDeserializer.readBoolean(); + const Ark_Int8 fontFourth_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontFourth_buf_ = {}; + fontFourth_buf_.selector = fontFourth_buf__selector; + if (fontFourth_buf__selector == 0) { + fontFourth_buf_.selector = 0; + fontFourth_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (fontFourth_buf__selector == 1) { + fontFourth_buf_.selector = 1; + fontFourth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (fontFourth_buf__selector == 2) { + fontFourth_buf_.selector = 2; + fontFourth_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (fontFourth_buf__selector == 3) { + fontFourth_buf_.selector = 3; + fontFourth_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for fontFourth_buf_ has to be chosen through deserialisation."); + } + fontFourth_buf.value = static_cast(fontFourth_buf_); } - value.showBackground = showBackground_buf; - const auto isSidebarMiddle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean isSidebarMiddle_buf = {}; - isSidebarMiddle_buf.tag = isSidebarMiddle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isSidebarMiddle_buf_runtimeType)) + value.fontFourth = fontFourth_buf; + const auto fontEmphasize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontEmphasize_buf = {}; + fontEmphasize_buf.tag = fontEmphasize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontEmphasize_buf_runtimeType)) { - isSidebarMiddle_buf.value = valueDeserializer.readBoolean(); + const Ark_Int8 fontEmphasize_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontEmphasize_buf_ = {}; + fontEmphasize_buf_.selector = fontEmphasize_buf__selector; + if (fontEmphasize_buf__selector == 0) { + fontEmphasize_buf_.selector = 0; + fontEmphasize_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (fontEmphasize_buf__selector == 1) { + fontEmphasize_buf_.selector = 1; + fontEmphasize_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (fontEmphasize_buf__selector == 2) { + fontEmphasize_buf_.selector = 2; + fontEmphasize_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (fontEmphasize_buf__selector == 3) { + fontEmphasize_buf_.selector = 3; + fontEmphasize_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for fontEmphasize_buf_ has to be chosen through deserialisation."); + } + fontEmphasize_buf.value = static_cast(fontEmphasize_buf_); } - value.isSidebarMiddle = isSidebarMiddle_buf; - const auto backgroundSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource backgroundSize_buf = {}; - backgroundSize_buf.tag = backgroundSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundSize_buf_runtimeType)) + value.fontEmphasize = fontEmphasize_buf; + const auto fontOnPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontOnPrimary_buf = {}; + fontOnPrimary_buf.tag = fontOnPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontOnPrimary_buf_runtimeType)) { - const Ark_Int8 backgroundSize_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource backgroundSize_buf_ = {}; - backgroundSize_buf_.selector = backgroundSize_buf__selector; - if (backgroundSize_buf__selector == 0) { - backgroundSize_buf_.selector = 0; - backgroundSize_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 fontOnPrimary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontOnPrimary_buf_ = {}; + fontOnPrimary_buf_.selector = fontOnPrimary_buf__selector; + if (fontOnPrimary_buf__selector == 0) { + fontOnPrimary_buf_.selector = 0; + fontOnPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (backgroundSize_buf__selector == 1) { - backgroundSize_buf_.selector = 1; - backgroundSize_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (fontOnPrimary_buf__selector == 1) { + fontOnPrimary_buf_.selector = 1; + fontOnPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (fontOnPrimary_buf__selector == 2) { + fontOnPrimary_buf_.selector = 2; + fontOnPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (backgroundSize_buf__selector == 2) { - backgroundSize_buf_.selector = 2; - backgroundSize_buf_.value2 = valueDeserializer.readResource(); + else if (fontOnPrimary_buf__selector == 3) { + fontOnPrimary_buf_.selector = 3; + fontOnPrimary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for backgroundSize_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontOnPrimary_buf_ has to be chosen through deserialisation."); } - backgroundSize_buf.value = static_cast(backgroundSize_buf_); + fontOnPrimary_buf.value = static_cast(fontOnPrimary_buf_); } - value.backgroundSize = backgroundSize_buf; - const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + value.fontOnPrimary = fontOnPrimary_buf; + const auto fontOnSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontOnSecondary_buf = {}; + fontOnSecondary_buf.tag = fontOnSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontOnSecondary_buf_runtimeType)) { - const Ark_Int8 backgroundColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor backgroundColor_buf_ = {}; - backgroundColor_buf_.selector = backgroundColor_buf__selector; - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_.selector = 0; - backgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 fontOnSecondary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontOnSecondary_buf_ = {}; + fontOnSecondary_buf_.selector = fontOnSecondary_buf__selector; + if (fontOnSecondary_buf__selector == 0) { + fontOnSecondary_buf_.selector = 0; + fontOnSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_.selector = 1; - backgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (fontOnSecondary_buf__selector == 1) { + fontOnSecondary_buf_.selector = 1; + fontOnSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_.selector = 2; - backgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (fontOnSecondary_buf__selector == 2) { + fontOnSecondary_buf_.selector = 2; + fontOnSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_.selector = 3; - backgroundColor_buf_.value3 = valueDeserializer.readResource(); + else if (fontOnSecondary_buf__selector == 3) { + fontOnSecondary_buf_.selector = 3; + fontOnSecondary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontOnSecondary_buf_ has to be chosen through deserialisation."); } - backgroundColor_buf.value = static_cast(backgroundColor_buf_); + fontOnSecondary_buf.value = static_cast(fontOnSecondary_buf_); } - value.backgroundColor = backgroundColor_buf; - const auto arrowSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource arrowSize_buf = {}; - arrowSize_buf.tag = arrowSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (arrowSize_buf_runtimeType)) + value.fontOnSecondary = fontOnSecondary_buf; + const auto fontOnTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontOnTertiary_buf = {}; + fontOnTertiary_buf.tag = fontOnTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontOnTertiary_buf_runtimeType)) { - const Ark_Int8 arrowSize_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource arrowSize_buf_ = {}; - arrowSize_buf_.selector = arrowSize_buf__selector; - if (arrowSize_buf__selector == 0) { - arrowSize_buf_.selector = 0; - arrowSize_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 fontOnTertiary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontOnTertiary_buf_ = {}; + fontOnTertiary_buf_.selector = fontOnTertiary_buf__selector; + if (fontOnTertiary_buf__selector == 0) { + fontOnTertiary_buf_.selector = 0; + fontOnTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (arrowSize_buf__selector == 1) { - arrowSize_buf_.selector = 1; - arrowSize_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (fontOnTertiary_buf__selector == 1) { + fontOnTertiary_buf_.selector = 1; + fontOnTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (arrowSize_buf__selector == 2) { - arrowSize_buf_.selector = 2; - arrowSize_buf_.value2 = valueDeserializer.readResource(); + else if (fontOnTertiary_buf__selector == 2) { + fontOnTertiary_buf_.selector = 2; + fontOnTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (fontOnTertiary_buf__selector == 3) { + fontOnTertiary_buf_.selector = 3; + fontOnTertiary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for arrowSize_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontOnTertiary_buf_ has to be chosen through deserialisation."); } - arrowSize_buf.value = static_cast(arrowSize_buf_); + fontOnTertiary_buf.value = static_cast(fontOnTertiary_buf_); } - value.arrowSize = arrowSize_buf; - const auto arrowColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor arrowColor_buf = {}; - arrowColor_buf.tag = arrowColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (arrowColor_buf_runtimeType)) + value.fontOnTertiary = fontOnTertiary_buf; + const auto fontOnFourth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontOnFourth_buf = {}; + fontOnFourth_buf.tag = fontOnFourth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontOnFourth_buf_runtimeType)) { - const Ark_Int8 arrowColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor arrowColor_buf_ = {}; - arrowColor_buf_.selector = arrowColor_buf__selector; - if (arrowColor_buf__selector == 0) { - arrowColor_buf_.selector = 0; - arrowColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 fontOnFourth_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontOnFourth_buf_ = {}; + fontOnFourth_buf_.selector = fontOnFourth_buf__selector; + if (fontOnFourth_buf__selector == 0) { + fontOnFourth_buf_.selector = 0; + fontOnFourth_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (arrowColor_buf__selector == 1) { - arrowColor_buf_.selector = 1; - arrowColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (fontOnFourth_buf__selector == 1) { + fontOnFourth_buf_.selector = 1; + fontOnFourth_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (arrowColor_buf__selector == 2) { - arrowColor_buf_.selector = 2; - arrowColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (fontOnFourth_buf__selector == 2) { + fontOnFourth_buf_.selector = 2; + fontOnFourth_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (arrowColor_buf__selector == 3) { - arrowColor_buf_.selector = 3; - arrowColor_buf_.value3 = valueDeserializer.readResource(); + else if (fontOnFourth_buf__selector == 3) { + fontOnFourth_buf_.selector = 3; + fontOnFourth_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for arrowColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontOnFourth_buf_ has to be chosen through deserialisation."); } - arrowColor_buf.value = static_cast(arrowColor_buf_); - } - value.arrowColor = arrowColor_buf; - return value; - } - Ark_BackgroundBlurStyleOptions readBackgroundBlurStyleOptions() - { - Ark_BackgroundBlurStyleOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto colorMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ThemeColorMode colorMode_buf = {}; - colorMode_buf.tag = colorMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (colorMode_buf_runtimeType)) - { - colorMode_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.colorMode = colorMode_buf; - const auto adaptiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_AdaptiveColor adaptiveColor_buf = {}; - adaptiveColor_buf.tag = adaptiveColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (adaptiveColor_buf_runtimeType)) - { - adaptiveColor_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.adaptiveColor = adaptiveColor_buf; - const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number scale_buf = {}; - scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) - { - scale_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.scale = scale_buf; - const auto blurOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BlurOptions blurOptions_buf = {}; - blurOptions_buf.tag = blurOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (blurOptions_buf_runtimeType)) - { - blurOptions_buf.value = valueDeserializer.readBlurOptions(); - } - value.blurOptions = blurOptions_buf; - const auto policy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BlurStyleActivePolicy policy_buf = {}; - policy_buf.tag = policy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (policy_buf_runtimeType)) - { - policy_buf.value = static_cast(valueDeserializer.readInt32()); + fontOnFourth_buf.value = static_cast(fontOnFourth_buf_); } - value.policy = policy_buf; - const auto inactiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor inactiveColor_buf = {}; - inactiveColor_buf.tag = inactiveColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (inactiveColor_buf_runtimeType)) + value.fontOnFourth = fontOnFourth_buf; + const auto iconPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor iconPrimary_buf = {}; + iconPrimary_buf.tag = iconPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iconPrimary_buf_runtimeType)) { - const Ark_Int8 inactiveColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor inactiveColor_buf_ = {}; - inactiveColor_buf_.selector = inactiveColor_buf__selector; - if (inactiveColor_buf__selector == 0) { - inactiveColor_buf_.selector = 0; - inactiveColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 iconPrimary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor iconPrimary_buf_ = {}; + iconPrimary_buf_.selector = iconPrimary_buf__selector; + if (iconPrimary_buf__selector == 0) { + iconPrimary_buf_.selector = 0; + iconPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (inactiveColor_buf__selector == 1) { - inactiveColor_buf_.selector = 1; - inactiveColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (iconPrimary_buf__selector == 1) { + iconPrimary_buf_.selector = 1; + iconPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (inactiveColor_buf__selector == 2) { - inactiveColor_buf_.selector = 2; - inactiveColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (iconPrimary_buf__selector == 2) { + iconPrimary_buf_.selector = 2; + iconPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (inactiveColor_buf__selector == 3) { - inactiveColor_buf_.selector = 3; - inactiveColor_buf_.value3 = valueDeserializer.readResource(); + else if (iconPrimary_buf__selector == 3) { + iconPrimary_buf_.selector = 3; + iconPrimary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for inactiveColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for iconPrimary_buf_ has to be chosen through deserialisation."); } - inactiveColor_buf.value = static_cast(inactiveColor_buf_); - } - value.inactiveColor = inactiveColor_buf; - return value; - } - Ark_BackgroundEffectOptions readBackgroundEffectOptions() - { - Ark_BackgroundEffectOptions value = {}; - Deserializer& valueDeserializer = *this; - value.radius = static_cast(valueDeserializer.readNumber()); - const auto saturation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number saturation_buf = {}; - saturation_buf.tag = saturation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (saturation_buf_runtimeType)) - { - saturation_buf.value = static_cast(valueDeserializer.readNumber()); + iconPrimary_buf.value = static_cast(iconPrimary_buf_); } - value.saturation = saturation_buf; - const auto brightness_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number brightness_buf = {}; - brightness_buf.tag = brightness_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (brightness_buf_runtimeType)) + value.iconPrimary = iconPrimary_buf; + const auto iconSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor iconSecondary_buf = {}; + iconSecondary_buf.tag = iconSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iconSecondary_buf_runtimeType)) { - brightness_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 iconSecondary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor iconSecondary_buf_ = {}; + iconSecondary_buf_.selector = iconSecondary_buf__selector; + if (iconSecondary_buf__selector == 0) { + iconSecondary_buf_.selector = 0; + iconSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (iconSecondary_buf__selector == 1) { + iconSecondary_buf_.selector = 1; + iconSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (iconSecondary_buf__selector == 2) { + iconSecondary_buf_.selector = 2; + iconSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (iconSecondary_buf__selector == 3) { + iconSecondary_buf_.selector = 3; + iconSecondary_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for iconSecondary_buf_ has to be chosen through deserialisation."); + } + iconSecondary_buf.value = static_cast(iconSecondary_buf_); } - value.brightness = brightness_buf; - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + value.iconSecondary = iconSecondary_buf; + const auto iconTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor iconTertiary_buf = {}; + iconTertiary_buf.tag = iconTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iconTertiary_buf_runtimeType)) { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 iconTertiary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor iconTertiary_buf_ = {}; + iconTertiary_buf_.selector = iconTertiary_buf__selector; + if (iconTertiary_buf__selector == 0) { + iconTertiary_buf_.selector = 0; + iconTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (iconTertiary_buf__selector == 1) { + iconTertiary_buf_.selector = 1; + iconTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (iconTertiary_buf__selector == 2) { + iconTertiary_buf_.selector = 2; + iconTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); + else if (iconTertiary_buf__selector == 3) { + iconTertiary_buf_.selector = 3; + iconTertiary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for iconTertiary_buf_ has to be chosen through deserialisation."); } - color_buf.value = static_cast(color_buf_); + iconTertiary_buf.value = static_cast(iconTertiary_buf_); } - value.color = color_buf; - const auto adaptiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_AdaptiveColor adaptiveColor_buf = {}; - adaptiveColor_buf.tag = adaptiveColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (adaptiveColor_buf_runtimeType)) + value.iconTertiary = iconTertiary_buf; + const auto iconFourth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor iconFourth_buf = {}; + iconFourth_buf.tag = iconFourth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iconFourth_buf_runtimeType)) { - adaptiveColor_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 iconFourth_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor iconFourth_buf_ = {}; + iconFourth_buf_.selector = iconFourth_buf__selector; + if (iconFourth_buf__selector == 0) { + iconFourth_buf_.selector = 0; + iconFourth_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (iconFourth_buf__selector == 1) { + iconFourth_buf_.selector = 1; + iconFourth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (iconFourth_buf__selector == 2) { + iconFourth_buf_.selector = 2; + iconFourth_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (iconFourth_buf__selector == 3) { + iconFourth_buf_.selector = 3; + iconFourth_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for iconFourth_buf_ has to be chosen through deserialisation."); + } + iconFourth_buf.value = static_cast(iconFourth_buf_); } - value.adaptiveColor = adaptiveColor_buf; - const auto blurOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BlurOptions blurOptions_buf = {}; - blurOptions_buf.tag = blurOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (blurOptions_buf_runtimeType)) + value.iconFourth = iconFourth_buf; + const auto iconEmphasize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor iconEmphasize_buf = {}; + iconEmphasize_buf.tag = iconEmphasize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iconEmphasize_buf_runtimeType)) { - blurOptions_buf.value = valueDeserializer.readBlurOptions(); + const Ark_Int8 iconEmphasize_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor iconEmphasize_buf_ = {}; + iconEmphasize_buf_.selector = iconEmphasize_buf__selector; + if (iconEmphasize_buf__selector == 0) { + iconEmphasize_buf_.selector = 0; + iconEmphasize_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (iconEmphasize_buf__selector == 1) { + iconEmphasize_buf_.selector = 1; + iconEmphasize_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (iconEmphasize_buf__selector == 2) { + iconEmphasize_buf_.selector = 2; + iconEmphasize_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (iconEmphasize_buf__selector == 3) { + iconEmphasize_buf_.selector = 3; + iconEmphasize_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for iconEmphasize_buf_ has to be chosen through deserialisation."); + } + iconEmphasize_buf.value = static_cast(iconEmphasize_buf_); } - value.blurOptions = blurOptions_buf; - const auto policy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BlurStyleActivePolicy policy_buf = {}; - policy_buf.tag = policy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (policy_buf_runtimeType)) + value.iconEmphasize = iconEmphasize_buf; + const auto iconSubEmphasize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor iconSubEmphasize_buf = {}; + iconSubEmphasize_buf.tag = iconSubEmphasize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iconSubEmphasize_buf_runtimeType)) { - policy_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 iconSubEmphasize_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor iconSubEmphasize_buf_ = {}; + iconSubEmphasize_buf_.selector = iconSubEmphasize_buf__selector; + if (iconSubEmphasize_buf__selector == 0) { + iconSubEmphasize_buf_.selector = 0; + iconSubEmphasize_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (iconSubEmphasize_buf__selector == 1) { + iconSubEmphasize_buf_.selector = 1; + iconSubEmphasize_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (iconSubEmphasize_buf__selector == 2) { + iconSubEmphasize_buf_.selector = 2; + iconSubEmphasize_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (iconSubEmphasize_buf__selector == 3) { + iconSubEmphasize_buf_.selector = 3; + iconSubEmphasize_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for iconSubEmphasize_buf_ has to be chosen through deserialisation."); + } + iconSubEmphasize_buf.value = static_cast(iconSubEmphasize_buf_); } - value.policy = policy_buf; - const auto inactiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor inactiveColor_buf = {}; - inactiveColor_buf.tag = inactiveColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (inactiveColor_buf_runtimeType)) + value.iconSubEmphasize = iconSubEmphasize_buf; + const auto iconOnPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor iconOnPrimary_buf = {}; + iconOnPrimary_buf.tag = iconOnPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iconOnPrimary_buf_runtimeType)) { - const Ark_Int8 inactiveColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor inactiveColor_buf_ = {}; - inactiveColor_buf_.selector = inactiveColor_buf__selector; - if (inactiveColor_buf__selector == 0) { - inactiveColor_buf_.selector = 0; - inactiveColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 iconOnPrimary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor iconOnPrimary_buf_ = {}; + iconOnPrimary_buf_.selector = iconOnPrimary_buf__selector; + if (iconOnPrimary_buf__selector == 0) { + iconOnPrimary_buf_.selector = 0; + iconOnPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (inactiveColor_buf__selector == 1) { - inactiveColor_buf_.selector = 1; - inactiveColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (iconOnPrimary_buf__selector == 1) { + iconOnPrimary_buf_.selector = 1; + iconOnPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (inactiveColor_buf__selector == 2) { - inactiveColor_buf_.selector = 2; - inactiveColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (iconOnPrimary_buf__selector == 2) { + iconOnPrimary_buf_.selector = 2; + iconOnPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (inactiveColor_buf__selector == 3) { - inactiveColor_buf_.selector = 3; - inactiveColor_buf_.value3 = valueDeserializer.readResource(); + else if (iconOnPrimary_buf__selector == 3) { + iconOnPrimary_buf_.selector = 3; + iconOnPrimary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for inactiveColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for iconOnPrimary_buf_ has to be chosen through deserialisation."); } - inactiveColor_buf.value = static_cast(inactiveColor_buf_); + iconOnPrimary_buf.value = static_cast(iconOnPrimary_buf_); } - value.inactiveColor = inactiveColor_buf; - return value; - } - Ark_BadgeStyle readBadgeStyle() - { - Ark_BadgeStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + value.iconOnPrimary = iconOnPrimary_buf; + const auto iconOnSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor iconOnSecondary_buf = {}; + iconOnSecondary_buf.tag = iconOnSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iconOnSecondary_buf_runtimeType)) { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 iconOnSecondary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor iconOnSecondary_buf_ = {}; + iconOnSecondary_buf_.selector = iconOnSecondary_buf__selector; + if (iconOnSecondary_buf__selector == 0) { + iconOnSecondary_buf_.selector = 0; + iconOnSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (iconOnSecondary_buf__selector == 1) { + iconOnSecondary_buf_.selector = 1; + iconOnSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (iconOnSecondary_buf__selector == 2) { + iconOnSecondary_buf_.selector = 2; + iconOnSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); + else if (iconOnSecondary_buf__selector == 3) { + iconOnSecondary_buf_.selector = 3; + iconOnSecondary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for iconOnSecondary_buf_ has to be chosen through deserialisation."); } - color_buf.value = static_cast(color_buf_); + iconOnSecondary_buf.value = static_cast(iconOnSecondary_buf_); } - value.color = color_buf; - const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String fontSize_buf = {}; - fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) + value.iconOnSecondary = iconOnSecondary_buf; + const auto iconOnTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor iconOnTertiary_buf = {}; + iconOnTertiary_buf.tag = iconOnTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iconOnTertiary_buf_runtimeType)) { - const Ark_Int8 fontSize_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String fontSize_buf_ = {}; - fontSize_buf_.selector = fontSize_buf__selector; - if (fontSize_buf__selector == 0) { - fontSize_buf_.selector = 0; - fontSize_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 iconOnTertiary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor iconOnTertiary_buf_ = {}; + iconOnTertiary_buf_.selector = iconOnTertiary_buf__selector; + if (iconOnTertiary_buf__selector == 0) { + iconOnTertiary_buf_.selector = 0; + iconOnTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (fontSize_buf__selector == 1) { - fontSize_buf_.selector = 1; - fontSize_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (iconOnTertiary_buf__selector == 1) { + iconOnTertiary_buf_.selector = 1; + iconOnTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (iconOnTertiary_buf__selector == 2) { + iconOnTertiary_buf_.selector = 2; + iconOnTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (iconOnTertiary_buf__selector == 3) { + iconOnTertiary_buf_.selector = 3; + iconOnTertiary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontSize_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for iconOnTertiary_buf_ has to be chosen through deserialisation."); } - fontSize_buf.value = static_cast(fontSize_buf_); + iconOnTertiary_buf.value = static_cast(iconOnTertiary_buf_); } - value.fontSize = fontSize_buf; - const auto badgeSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String badgeSize_buf = {}; - badgeSize_buf.tag = badgeSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (badgeSize_buf_runtimeType)) + value.iconOnTertiary = iconOnTertiary_buf; + const auto iconOnFourth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor iconOnFourth_buf = {}; + iconOnFourth_buf.tag = iconOnFourth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (iconOnFourth_buf_runtimeType)) { - const Ark_Int8 badgeSize_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String badgeSize_buf_ = {}; - badgeSize_buf_.selector = badgeSize_buf__selector; - if (badgeSize_buf__selector == 0) { - badgeSize_buf_.selector = 0; - badgeSize_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 iconOnFourth_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor iconOnFourth_buf_ = {}; + iconOnFourth_buf_.selector = iconOnFourth_buf__selector; + if (iconOnFourth_buf__selector == 0) { + iconOnFourth_buf_.selector = 0; + iconOnFourth_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (badgeSize_buf__selector == 1) { - badgeSize_buf_.selector = 1; - badgeSize_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (iconOnFourth_buf__selector == 1) { + iconOnFourth_buf_.selector = 1; + iconOnFourth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (iconOnFourth_buf__selector == 2) { + iconOnFourth_buf_.selector = 2; + iconOnFourth_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (iconOnFourth_buf__selector == 3) { + iconOnFourth_buf_.selector = 3; + iconOnFourth_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for badgeSize_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for iconOnFourth_buf_ has to be chosen through deserialisation."); } - badgeSize_buf.value = static_cast(badgeSize_buf_); + iconOnFourth_buf.value = static_cast(iconOnFourth_buf_); } - value.badgeSize = badgeSize_buf; - const auto badgeColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor badgeColor_buf = {}; - badgeColor_buf.tag = badgeColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (badgeColor_buf_runtimeType)) + value.iconOnFourth = iconOnFourth_buf; + const auto backgroundPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor backgroundPrimary_buf = {}; + backgroundPrimary_buf.tag = backgroundPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundPrimary_buf_runtimeType)) { - const Ark_Int8 badgeColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor badgeColor_buf_ = {}; - badgeColor_buf_.selector = badgeColor_buf__selector; - if (badgeColor_buf__selector == 0) { - badgeColor_buf_.selector = 0; - badgeColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 backgroundPrimary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor backgroundPrimary_buf_ = {}; + backgroundPrimary_buf_.selector = backgroundPrimary_buf__selector; + if (backgroundPrimary_buf__selector == 0) { + backgroundPrimary_buf_.selector = 0; + backgroundPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (badgeColor_buf__selector == 1) { - badgeColor_buf_.selector = 1; - badgeColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (backgroundPrimary_buf__selector == 1) { + backgroundPrimary_buf_.selector = 1; + backgroundPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (badgeColor_buf__selector == 2) { - badgeColor_buf_.selector = 2; - badgeColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (backgroundPrimary_buf__selector == 2) { + backgroundPrimary_buf_.selector = 2; + backgroundPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (badgeColor_buf__selector == 3) { - badgeColor_buf_.selector = 3; - badgeColor_buf_.value3 = valueDeserializer.readResource(); + else if (backgroundPrimary_buf__selector == 3) { + backgroundPrimary_buf_.selector = 3; + backgroundPrimary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for badgeColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for backgroundPrimary_buf_ has to be chosen through deserialisation."); } - badgeColor_buf.value = static_cast(badgeColor_buf_); + backgroundPrimary_buf.value = static_cast(backgroundPrimary_buf_); } - value.badgeColor = badgeColor_buf; - const auto borderColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf = {}; - borderColor_buf.tag = borderColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf_runtimeType)) + value.backgroundPrimary = backgroundPrimary_buf; + const auto backgroundSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor backgroundSecondary_buf = {}; + backgroundSecondary_buf.tag = backgroundSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundSecondary_buf_runtimeType)) { - const Ark_Int8 borderColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf_ = {}; - borderColor_buf_.selector = borderColor_buf__selector; - if (borderColor_buf__selector == 0) { - borderColor_buf_.selector = 0; - borderColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 backgroundSecondary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor backgroundSecondary_buf_ = {}; + backgroundSecondary_buf_.selector = backgroundSecondary_buf__selector; + if (backgroundSecondary_buf__selector == 0) { + backgroundSecondary_buf_.selector = 0; + backgroundSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (borderColor_buf__selector == 1) { - borderColor_buf_.selector = 1; - borderColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (backgroundSecondary_buf__selector == 1) { + backgroundSecondary_buf_.selector = 1; + backgroundSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (borderColor_buf__selector == 2) { - borderColor_buf_.selector = 2; - borderColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (backgroundSecondary_buf__selector == 2) { + backgroundSecondary_buf_.selector = 2; + backgroundSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (borderColor_buf__selector == 3) { - borderColor_buf_.selector = 3; - borderColor_buf_.value3 = valueDeserializer.readResource(); + else if (backgroundSecondary_buf__selector == 3) { + backgroundSecondary_buf_.selector = 3; + backgroundSecondary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for borderColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for backgroundSecondary_buf_ has to be chosen through deserialisation."); } - borderColor_buf.value = static_cast(borderColor_buf_); + backgroundSecondary_buf.value = static_cast(backgroundSecondary_buf_); } - value.borderColor = borderColor_buf; - const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf = {}; - borderWidth_buf.tag = borderWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) + value.backgroundSecondary = backgroundSecondary_buf; + const auto backgroundTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor backgroundTertiary_buf = {}; + backgroundTertiary_buf.tag = backgroundTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundTertiary_buf_runtimeType)) { - const Ark_Int8 borderWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf_ = {}; - borderWidth_buf_.selector = borderWidth_buf__selector; - if (borderWidth_buf__selector == 0) { - borderWidth_buf_.selector = 0; - borderWidth_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 backgroundTertiary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor backgroundTertiary_buf_ = {}; + backgroundTertiary_buf_.selector = backgroundTertiary_buf__selector; + if (backgroundTertiary_buf__selector == 0) { + backgroundTertiary_buf_.selector = 0; + backgroundTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (borderWidth_buf__selector == 1) { - borderWidth_buf_.selector = 1; - borderWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (backgroundTertiary_buf__selector == 1) { + backgroundTertiary_buf_.selector = 1; + backgroundTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (borderWidth_buf__selector == 2) { - borderWidth_buf_.selector = 2; - borderWidth_buf_.value2 = valueDeserializer.readResource(); + else if (backgroundTertiary_buf__selector == 2) { + backgroundTertiary_buf_.selector = 2; + backgroundTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (backgroundTertiary_buf__selector == 3) { + backgroundTertiary_buf_.selector = 3; + backgroundTertiary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for borderWidth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for backgroundTertiary_buf_ has to be chosen through deserialisation."); } - borderWidth_buf.value = static_cast(borderWidth_buf_); + backgroundTertiary_buf.value = static_cast(backgroundTertiary_buf_); } - value.borderWidth = borderWidth_buf; - const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_FontWeight_String fontWeight_buf = {}; - fontWeight_buf.tag = fontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) + value.backgroundTertiary = backgroundTertiary_buf; + const auto backgroundFourth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor backgroundFourth_buf = {}; + backgroundFourth_buf.tag = backgroundFourth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundFourth_buf_runtimeType)) { - const Ark_Int8 fontWeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String fontWeight_buf_ = {}; - fontWeight_buf_.selector = fontWeight_buf__selector; - if (fontWeight_buf__selector == 0) { - fontWeight_buf_.selector = 0; - fontWeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 backgroundFourth_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor backgroundFourth_buf_ = {}; + backgroundFourth_buf_.selector = backgroundFourth_buf__selector; + if (backgroundFourth_buf__selector == 0) { + backgroundFourth_buf_.selector = 0; + backgroundFourth_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_.selector = 1; - fontWeight_buf_.value1 = static_cast(valueDeserializer.readInt32()); + else if (backgroundFourth_buf__selector == 1) { + backgroundFourth_buf_.selector = 1; + backgroundFourth_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_.selector = 2; - fontWeight_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (backgroundFourth_buf__selector == 2) { + backgroundFourth_buf_.selector = 2; + backgroundFourth_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (backgroundFourth_buf__selector == 3) { + backgroundFourth_buf_.selector = 3; + backgroundFourth_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontWeight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for backgroundFourth_buf_ has to be chosen through deserialisation."); } - fontWeight_buf.value = static_cast(fontWeight_buf_); - } - value.fontWeight = fontWeight_buf; - return value; - } - Ark_BarGridColumnOptions readBarGridColumnOptions() - { - Ark_BarGridColumnOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto sm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number sm_buf = {}; - sm_buf.tag = sm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (sm_buf_runtimeType)) - { - sm_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.sm = sm_buf; - const auto md_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number md_buf = {}; - md_buf.tag = md_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (md_buf_runtimeType)) - { - md_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.md = md_buf; - const auto lg_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number lg_buf = {}; - lg_buf.tag = lg_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lg_buf_runtimeType)) - { - lg_buf.value = static_cast(valueDeserializer.readNumber()); + backgroundFourth_buf.value = static_cast(backgroundFourth_buf_); } - value.lg = lg_buf; - const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf = {}; - margin_buf.tag = margin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + value.backgroundFourth = backgroundFourth_buf; + const auto backgroundEmphasize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor backgroundEmphasize_buf = {}; + backgroundEmphasize_buf.tag = backgroundEmphasize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEmphasize_buf_runtimeType)) { - const Ark_Int8 margin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf_ = {}; - margin_buf_.selector = margin_buf__selector; - if (margin_buf__selector == 0) { - margin_buf_.selector = 0; - margin_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 backgroundEmphasize_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor backgroundEmphasize_buf_ = {}; + backgroundEmphasize_buf_.selector = backgroundEmphasize_buf__selector; + if (backgroundEmphasize_buf__selector == 0) { + backgroundEmphasize_buf_.selector = 0; + backgroundEmphasize_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (margin_buf__selector == 1) { - margin_buf_.selector = 1; - margin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (backgroundEmphasize_buf__selector == 1) { + backgroundEmphasize_buf_.selector = 1; + backgroundEmphasize_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (margin_buf__selector == 2) { - margin_buf_.selector = 2; - margin_buf_.value2 = valueDeserializer.readResource(); + else if (backgroundEmphasize_buf__selector == 2) { + backgroundEmphasize_buf_.selector = 2; + backgroundEmphasize_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (backgroundEmphasize_buf__selector == 3) { + backgroundEmphasize_buf_.selector = 3; + backgroundEmphasize_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for margin_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for backgroundEmphasize_buf_ has to be chosen through deserialisation."); } - margin_buf.value = static_cast(margin_buf_); + backgroundEmphasize_buf.value = static_cast(backgroundEmphasize_buf_); } - value.margin = margin_buf; - const auto gutter_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource gutter_buf = {}; - gutter_buf.tag = gutter_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (gutter_buf_runtimeType)) + value.backgroundEmphasize = backgroundEmphasize_buf; + const auto compForegroundPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compForegroundPrimary_buf = {}; + compForegroundPrimary_buf.tag = compForegroundPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compForegroundPrimary_buf_runtimeType)) { - const Ark_Int8 gutter_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource gutter_buf_ = {}; - gutter_buf_.selector = gutter_buf__selector; - if (gutter_buf__selector == 0) { - gutter_buf_.selector = 0; - gutter_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 compForegroundPrimary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compForegroundPrimary_buf_ = {}; + compForegroundPrimary_buf_.selector = compForegroundPrimary_buf__selector; + if (compForegroundPrimary_buf__selector == 0) { + compForegroundPrimary_buf_.selector = 0; + compForegroundPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (gutter_buf__selector == 1) { - gutter_buf_.selector = 1; - gutter_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compForegroundPrimary_buf__selector == 1) { + compForegroundPrimary_buf_.selector = 1; + compForegroundPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (gutter_buf__selector == 2) { - gutter_buf_.selector = 2; - gutter_buf_.value2 = valueDeserializer.readResource(); + else if (compForegroundPrimary_buf__selector == 2) { + compForegroundPrimary_buf_.selector = 2; + compForegroundPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (compForegroundPrimary_buf__selector == 3) { + compForegroundPrimary_buf_.selector = 3; + compForegroundPrimary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for gutter_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compForegroundPrimary_buf_ has to be chosen through deserialisation."); } - gutter_buf.value = static_cast(gutter_buf_); + compForegroundPrimary_buf.value = static_cast(compForegroundPrimary_buf_); } - value.gutter = gutter_buf; - return value; - } - Ark_BoardStyle readBoardStyle() - { - Ark_BoardStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf = {}; - borderRadius_buf.tag = borderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) + value.compForegroundPrimary = compForegroundPrimary_buf; + const auto compBackgroundPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compBackgroundPrimary_buf = {}; + compBackgroundPrimary_buf.tag = compBackgroundPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundPrimary_buf_runtimeType)) { - const Ark_Int8 borderRadius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf_ = {}; - borderRadius_buf_.selector = borderRadius_buf__selector; - if (borderRadius_buf__selector == 0) { - borderRadius_buf_.selector = 0; - borderRadius_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 compBackgroundPrimary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compBackgroundPrimary_buf_ = {}; + compBackgroundPrimary_buf_.selector = compBackgroundPrimary_buf__selector; + if (compBackgroundPrimary_buf__selector == 0) { + compBackgroundPrimary_buf_.selector = 0; + compBackgroundPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (borderRadius_buf__selector == 1) { - borderRadius_buf_.selector = 1; - borderRadius_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compBackgroundPrimary_buf__selector == 1) { + compBackgroundPrimary_buf_.selector = 1; + compBackgroundPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (borderRadius_buf__selector == 2) { - borderRadius_buf_.selector = 2; - borderRadius_buf_.value2 = valueDeserializer.readResource(); + else if (compBackgroundPrimary_buf__selector == 2) { + compBackgroundPrimary_buf_.selector = 2; + compBackgroundPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (compBackgroundPrimary_buf__selector == 3) { + compBackgroundPrimary_buf_.selector = 3; + compBackgroundPrimary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for borderRadius_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compBackgroundPrimary_buf_ has to be chosen through deserialisation."); } - borderRadius_buf.value = static_cast(borderRadius_buf_); - } - value.borderRadius = borderRadius_buf; - return value; - } - Ark_ButtonIconOptions readButtonIconOptions() - { - Ark_ButtonIconOptions value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int8 shown_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_PixelMap_Resource shown_buf = {}; - shown_buf.selector = shown_buf_selector; - if (shown_buf_selector == 0) { - shown_buf.selector = 0; - shown_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (shown_buf_selector == 1) { - shown_buf.selector = 1; - shown_buf.value1 = static_cast(valueDeserializer.readPixelMap()); - } - else if (shown_buf_selector == 2) { - shown_buf.selector = 2; - shown_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for shown_buf has to be chosen through deserialisation."); - } - value.shown = static_cast(shown_buf); - const Ark_Int8 hidden_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_PixelMap_Resource hidden_buf = {}; - hidden_buf.selector = hidden_buf_selector; - if (hidden_buf_selector == 0) { - hidden_buf.selector = 0; - hidden_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (hidden_buf_selector == 1) { - hidden_buf.selector = 1; - hidden_buf.value1 = static_cast(valueDeserializer.readPixelMap()); - } - else if (hidden_buf_selector == 2) { - hidden_buf.selector = 2; - hidden_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for hidden_buf has to be chosen through deserialisation."); + compBackgroundPrimary_buf.value = static_cast(compBackgroundPrimary_buf_); } - value.hidden = static_cast(hidden_buf); - const auto switching_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_PixelMap_Resource switching_buf = {}; - switching_buf.tag = switching_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (switching_buf_runtimeType)) + value.compBackgroundPrimary = compBackgroundPrimary_buf; + const auto compBackgroundPrimaryTran_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compBackgroundPrimaryTran_buf = {}; + compBackgroundPrimaryTran_buf.tag = compBackgroundPrimaryTran_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundPrimaryTran_buf_runtimeType)) { - const Ark_Int8 switching_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_PixelMap_Resource switching_buf_ = {}; - switching_buf_.selector = switching_buf__selector; - if (switching_buf__selector == 0) { - switching_buf_.selector = 0; - switching_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 compBackgroundPrimaryTran_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compBackgroundPrimaryTran_buf_ = {}; + compBackgroundPrimaryTran_buf_.selector = compBackgroundPrimaryTran_buf__selector; + if (compBackgroundPrimaryTran_buf__selector == 0) { + compBackgroundPrimaryTran_buf_.selector = 0; + compBackgroundPrimaryTran_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (switching_buf__selector == 1) { - switching_buf_.selector = 1; - switching_buf_.value1 = static_cast(valueDeserializer.readPixelMap()); + else if (compBackgroundPrimaryTran_buf__selector == 1) { + compBackgroundPrimaryTran_buf_.selector = 1; + compBackgroundPrimaryTran_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (switching_buf__selector == 2) { - switching_buf_.selector = 2; - switching_buf_.value2 = valueDeserializer.readResource(); + else if (compBackgroundPrimaryTran_buf__selector == 2) { + compBackgroundPrimaryTran_buf_.selector = 2; + compBackgroundPrimaryTran_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (compBackgroundPrimaryTran_buf__selector == 3) { + compBackgroundPrimaryTran_buf_.selector = 3; + compBackgroundPrimaryTran_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for switching_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compBackgroundPrimaryTran_buf_ has to be chosen through deserialisation."); } - switching_buf.value = static_cast(switching_buf_); + compBackgroundPrimaryTran_buf.value = static_cast(compBackgroundPrimaryTran_buf_); } - value.switching = switching_buf; - return value; - } - Ark_CalendarOptions readCalendarOptions() - { - Ark_CalendarOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto hintRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_Resource hintRadius_buf = {}; - hintRadius_buf.tag = hintRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (hintRadius_buf_runtimeType)) - { - const Ark_Int8 hintRadius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_Resource hintRadius_buf_ = {}; - hintRadius_buf_.selector = hintRadius_buf__selector; - if (hintRadius_buf__selector == 0) { - hintRadius_buf_.selector = 0; - hintRadius_buf_.value0 = static_cast(valueDeserializer.readNumber()); + value.compBackgroundPrimaryTran = compBackgroundPrimaryTran_buf; + const auto compBackgroundPrimaryContrary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compBackgroundPrimaryContrary_buf = {}; + compBackgroundPrimaryContrary_buf.tag = compBackgroundPrimaryContrary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundPrimaryContrary_buf_runtimeType)) + { + const Ark_Int8 compBackgroundPrimaryContrary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compBackgroundPrimaryContrary_buf_ = {}; + compBackgroundPrimaryContrary_buf_.selector = compBackgroundPrimaryContrary_buf__selector; + if (compBackgroundPrimaryContrary_buf__selector == 0) { + compBackgroundPrimaryContrary_buf_.selector = 0; + compBackgroundPrimaryContrary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (hintRadius_buf__selector == 1) { - hintRadius_buf_.selector = 1; - hintRadius_buf_.value1 = valueDeserializer.readResource(); + else if (compBackgroundPrimaryContrary_buf__selector == 1) { + compBackgroundPrimaryContrary_buf_.selector = 1; + compBackgroundPrimaryContrary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (compBackgroundPrimaryContrary_buf__selector == 2) { + compBackgroundPrimaryContrary_buf_.selector = 2; + compBackgroundPrimaryContrary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (compBackgroundPrimaryContrary_buf__selector == 3) { + compBackgroundPrimaryContrary_buf_.selector = 3; + compBackgroundPrimaryContrary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for hintRadius_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compBackgroundPrimaryContrary_buf_ has to be chosen through deserialisation."); } - hintRadius_buf.value = static_cast(hintRadius_buf_); - } - value.hintRadius = hintRadius_buf; - const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Date selected_buf = {}; - selected_buf.tag = selected_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) - { - selected_buf.value = valueDeserializer.readInt64(); + compBackgroundPrimaryContrary_buf.value = static_cast(compBackgroundPrimaryContrary_buf_); } - value.selected = selected_buf; - return value; - } - Ark_CaretStyle readCaretStyle() - { - Ark_CaretStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + value.compBackgroundPrimaryContrary = compBackgroundPrimaryContrary_buf; + const auto compBackgroundGray_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compBackgroundGray_buf = {}; + compBackgroundGray_buf.tag = compBackgroundGray_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundGray_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 compBackgroundGray_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compBackgroundGray_buf_ = {}; + compBackgroundGray_buf_.selector = compBackgroundGray_buf__selector; + if (compBackgroundGray_buf__selector == 0) { + compBackgroundGray_buf_.selector = 0; + compBackgroundGray_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compBackgroundGray_buf__selector == 1) { + compBackgroundGray_buf_.selector = 1; + compBackgroundGray_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (width_buf__selector == 2) { - width_buf_.selector = 2; - width_buf_.value2 = valueDeserializer.readResource(); + else if (compBackgroundGray_buf__selector == 2) { + compBackgroundGray_buf_.selector = 2; + compBackgroundGray_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (compBackgroundGray_buf__selector == 3) { + compBackgroundGray_buf_.selector = 3; + compBackgroundGray_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compBackgroundGray_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + compBackgroundGray_buf.value = static_cast(compBackgroundGray_buf_); } - value.width = width_buf; - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + value.compBackgroundGray = compBackgroundGray_buf; + const auto compBackgroundSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compBackgroundSecondary_buf = {}; + compBackgroundSecondary_buf.tag = compBackgroundSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundSecondary_buf_runtimeType)) { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 compBackgroundSecondary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compBackgroundSecondary_buf_ = {}; + compBackgroundSecondary_buf_.selector = compBackgroundSecondary_buf__selector; + if (compBackgroundSecondary_buf__selector == 0) { + compBackgroundSecondary_buf_.selector = 0; + compBackgroundSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compBackgroundSecondary_buf__selector == 1) { + compBackgroundSecondary_buf_.selector = 1; + compBackgroundSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (compBackgroundSecondary_buf__selector == 2) { + compBackgroundSecondary_buf_.selector = 2; + compBackgroundSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); + else if (compBackgroundSecondary_buf__selector == 3) { + compBackgroundSecondary_buf_.selector = 3; + compBackgroundSecondary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compBackgroundSecondary_buf_ has to be chosen through deserialisation."); } - color_buf.value = static_cast(color_buf_); - } - value.color = color_buf; - return value; - } - Ark_ChainAnimationOptions readChainAnimationOptions() - { - Ark_ChainAnimationOptions value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int8 minSpace_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource minSpace_buf = {}; - minSpace_buf.selector = minSpace_buf_selector; - if (minSpace_buf_selector == 0) { - minSpace_buf.selector = 0; - minSpace_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (minSpace_buf_selector == 1) { - minSpace_buf.selector = 1; - minSpace_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (minSpace_buf_selector == 2) { - minSpace_buf.selector = 2; - minSpace_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for minSpace_buf has to be chosen through deserialisation."); - } - value.minSpace = static_cast(minSpace_buf); - const Ark_Int8 maxSpace_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource maxSpace_buf = {}; - maxSpace_buf.selector = maxSpace_buf_selector; - if (maxSpace_buf_selector == 0) { - maxSpace_buf.selector = 0; - maxSpace_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (maxSpace_buf_selector == 1) { - maxSpace_buf.selector = 1; - maxSpace_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (maxSpace_buf_selector == 2) { - maxSpace_buf.selector = 2; - maxSpace_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for maxSpace_buf has to be chosen through deserialisation."); - } - value.maxSpace = static_cast(maxSpace_buf); - const auto conductivity_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number conductivity_buf = {}; - conductivity_buf.tag = conductivity_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (conductivity_buf_runtimeType)) - { - conductivity_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.conductivity = conductivity_buf; - const auto intensity_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number intensity_buf = {}; - intensity_buf.tag = intensity_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (intensity_buf_runtimeType)) - { - intensity_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.intensity = intensity_buf; - const auto edgeEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ChainEdgeEffect edgeEffect_buf = {}; - edgeEffect_buf.tag = edgeEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (edgeEffect_buf_runtimeType)) - { - edgeEffect_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.edgeEffect = edgeEffect_buf; - const auto stiffness_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number stiffness_buf = {}; - stiffness_buf.tag = stiffness_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (stiffness_buf_runtimeType)) - { - stiffness_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.stiffness = stiffness_buf; - const auto damping_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number damping_buf = {}; - damping_buf.tag = damping_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (damping_buf_runtimeType)) - { - damping_buf.value = static_cast(valueDeserializer.readNumber()); + compBackgroundSecondary_buf.value = static_cast(compBackgroundSecondary_buf_); } - value.damping = damping_buf; - return value; - } - Ark_CircleStyleOptions readCircleStyleOptions() - { - Ark_CircleStyleOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + value.compBackgroundSecondary = compBackgroundSecondary_buf; + const auto compBackgroundTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compBackgroundTertiary_buf = {}; + compBackgroundTertiary_buf.tag = compBackgroundTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundTertiary_buf_runtimeType)) { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 compBackgroundTertiary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compBackgroundTertiary_buf_ = {}; + compBackgroundTertiary_buf_.selector = compBackgroundTertiary_buf__selector; + if (compBackgroundTertiary_buf__selector == 0) { + compBackgroundTertiary_buf_.selector = 0; + compBackgroundTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compBackgroundTertiary_buf__selector == 1) { + compBackgroundTertiary_buf_.selector = 1; + compBackgroundTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (compBackgroundTertiary_buf__selector == 2) { + compBackgroundTertiary_buf_.selector = 2; + compBackgroundTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); + else if (compBackgroundTertiary_buf__selector == 3) { + compBackgroundTertiary_buf_.selector = 3; + compBackgroundTertiary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compBackgroundTertiary_buf_ has to be chosen through deserialisation."); } - color_buf.value = static_cast(color_buf_); - } - value.color = color_buf; - const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) - { - radius_buf.value = static_cast(valueDeserializer.readLengthMetrics()); - } - value.radius = radius_buf; - const auto enableWaveEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enableWaveEffect_buf = {}; - enableWaveEffect_buf.tag = enableWaveEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enableWaveEffect_buf_runtimeType)) - { - enableWaveEffect_buf.value = valueDeserializer.readBoolean(); - } - value.enableWaveEffect = enableWaveEffect_buf; - return value; - } - Ark_ColorStop readColorStop() - { - Ark_ColorStop value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int8 color_buf_selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf = {}; - color_buf.selector = color_buf_selector; - if (color_buf_selector == 0) { - color_buf.selector = 0; - color_buf.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf_selector == 1) { - color_buf.selector = 1; - color_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf_selector == 2) { - color_buf.selector = 2; - color_buf.value2 = static_cast(valueDeserializer.readString()); - } - else if (color_buf_selector == 3) { - color_buf.selector = 3; - color_buf.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for color_buf has to be chosen through deserialisation."); - } - value.color = static_cast(color_buf); - const Ark_Int8 offset_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf = {}; - offset_buf.selector = offset_buf_selector; - if (offset_buf_selector == 0) { - offset_buf.selector = 0; - offset_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf_selector == 1) { - offset_buf.selector = 1; - offset_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf_selector == 2) { - offset_buf.selector = 2; - offset_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf has to be chosen through deserialisation."); + compBackgroundTertiary_buf.value = static_cast(compBackgroundTertiary_buf_); } - value.offset = static_cast(offset_buf); - return value; - } - Ark_ColumnSplitDividerStyle readColumnSplitDividerStyle() - { - Ark_ColumnSplitDividerStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource startMargin_buf = {}; - startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) + value.compBackgroundTertiary = compBackgroundTertiary_buf; + const auto compBackgroundEmphasize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compBackgroundEmphasize_buf = {}; + compBackgroundEmphasize_buf.tag = compBackgroundEmphasize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundEmphasize_buf_runtimeType)) { - const Ark_Int8 startMargin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource startMargin_buf_ = {}; - startMargin_buf_.selector = startMargin_buf__selector; - if (startMargin_buf__selector == 0) { - startMargin_buf_.selector = 0; - startMargin_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 compBackgroundEmphasize_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compBackgroundEmphasize_buf_ = {}; + compBackgroundEmphasize_buf_.selector = compBackgroundEmphasize_buf__selector; + if (compBackgroundEmphasize_buf__selector == 0) { + compBackgroundEmphasize_buf_.selector = 0; + compBackgroundEmphasize_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (startMargin_buf__selector == 1) { - startMargin_buf_.selector = 1; - startMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compBackgroundEmphasize_buf__selector == 1) { + compBackgroundEmphasize_buf_.selector = 1; + compBackgroundEmphasize_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (startMargin_buf__selector == 2) { - startMargin_buf_.selector = 2; - startMargin_buf_.value2 = valueDeserializer.readResource(); + else if (compBackgroundEmphasize_buf__selector == 2) { + compBackgroundEmphasize_buf_.selector = 2; + compBackgroundEmphasize_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (compBackgroundEmphasize_buf__selector == 3) { + compBackgroundEmphasize_buf_.selector = 3; + compBackgroundEmphasize_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for startMargin_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compBackgroundEmphasize_buf_ has to be chosen through deserialisation."); } - startMargin_buf.value = static_cast(startMargin_buf_); + compBackgroundEmphasize_buf.value = static_cast(compBackgroundEmphasize_buf_); } - value.startMargin = startMargin_buf; - const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource endMargin_buf = {}; - endMargin_buf.tag = endMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) + value.compBackgroundEmphasize = compBackgroundEmphasize_buf; + const auto compBackgroundNeutral_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compBackgroundNeutral_buf = {}; + compBackgroundNeutral_buf.tag = compBackgroundNeutral_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundNeutral_buf_runtimeType)) { - const Ark_Int8 endMargin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource endMargin_buf_ = {}; - endMargin_buf_.selector = endMargin_buf__selector; - if (endMargin_buf__selector == 0) { - endMargin_buf_.selector = 0; - endMargin_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 compBackgroundNeutral_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compBackgroundNeutral_buf_ = {}; + compBackgroundNeutral_buf_.selector = compBackgroundNeutral_buf__selector; + if (compBackgroundNeutral_buf__selector == 0) { + compBackgroundNeutral_buf_.selector = 0; + compBackgroundNeutral_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (endMargin_buf__selector == 1) { - endMargin_buf_.selector = 1; - endMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compBackgroundNeutral_buf__selector == 1) { + compBackgroundNeutral_buf_.selector = 1; + compBackgroundNeutral_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (endMargin_buf__selector == 2) { - endMargin_buf_.selector = 2; - endMargin_buf_.value2 = valueDeserializer.readResource(); + else if (compBackgroundNeutral_buf__selector == 2) { + compBackgroundNeutral_buf_.selector = 2; + compBackgroundNeutral_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (compBackgroundNeutral_buf__selector == 3) { + compBackgroundNeutral_buf_.selector = 3; + compBackgroundNeutral_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for endMargin_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compBackgroundNeutral_buf_ has to be chosen through deserialisation."); } - endMargin_buf.value = static_cast(endMargin_buf_); + compBackgroundNeutral_buf.value = static_cast(compBackgroundNeutral_buf_); } - value.endMargin = endMargin_buf; - return value; - } - Ark_ComponentInfo readComponentInfo() - { - Ark_ComponentInfo value = {}; - Deserializer& valueDeserializer = *this; - value.size = valueDeserializer.readSize(); - value.localOffset = valueDeserializer.readOffset_componentutils(); - value.windowOffset = valueDeserializer.readOffset_componentutils(); - value.screenOffset = valueDeserializer.readOffset_componentutils(); - value.translate = valueDeserializer.readTranslateResult(); - value.scale = valueDeserializer.readScaleResult(); - value.rotate = valueDeserializer.readRotateResult(); - Ark_Matrix4Result transform_buf = {}; - transform_buf.value0 = static_cast(valueDeserializer.readNumber()); - transform_buf.value1 = static_cast(valueDeserializer.readNumber()); - transform_buf.value2 = static_cast(valueDeserializer.readNumber()); - transform_buf.value3 = static_cast(valueDeserializer.readNumber()); - transform_buf.value4 = static_cast(valueDeserializer.readNumber()); - transform_buf.value5 = static_cast(valueDeserializer.readNumber()); - transform_buf.value6 = static_cast(valueDeserializer.readNumber()); - transform_buf.value7 = static_cast(valueDeserializer.readNumber()); - transform_buf.value8 = static_cast(valueDeserializer.readNumber()); - transform_buf.value9 = static_cast(valueDeserializer.readNumber()); - transform_buf.value10 = static_cast(valueDeserializer.readNumber()); - transform_buf.value11 = static_cast(valueDeserializer.readNumber()); - transform_buf.value12 = static_cast(valueDeserializer.readNumber()); - transform_buf.value13 = static_cast(valueDeserializer.readNumber()); - transform_buf.value14 = static_cast(valueDeserializer.readNumber()); - transform_buf.value15 = static_cast(valueDeserializer.readNumber()); - value.transform = transform_buf; - return value; - } - Ark_ConstraintSizeOptions readConstraintSizeOptions() - { - Ark_ConstraintSizeOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto minWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource minWidth_buf = {}; - minWidth_buf.tag = minWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (minWidth_buf_runtimeType)) + value.compBackgroundNeutral = compBackgroundNeutral_buf; + const auto compEmphasizeSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compEmphasizeSecondary_buf = {}; + compEmphasizeSecondary_buf.tag = compEmphasizeSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compEmphasizeSecondary_buf_runtimeType)) { - const Ark_Int8 minWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource minWidth_buf_ = {}; - minWidth_buf_.selector = minWidth_buf__selector; - if (minWidth_buf__selector == 0) { - minWidth_buf_.selector = 0; - minWidth_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 compEmphasizeSecondary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compEmphasizeSecondary_buf_ = {}; + compEmphasizeSecondary_buf_.selector = compEmphasizeSecondary_buf__selector; + if (compEmphasizeSecondary_buf__selector == 0) { + compEmphasizeSecondary_buf_.selector = 0; + compEmphasizeSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (minWidth_buf__selector == 1) { - minWidth_buf_.selector = 1; - minWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compEmphasizeSecondary_buf__selector == 1) { + compEmphasizeSecondary_buf_.selector = 1; + compEmphasizeSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (minWidth_buf__selector == 2) { - minWidth_buf_.selector = 2; - minWidth_buf_.value2 = valueDeserializer.readResource(); + else if (compEmphasizeSecondary_buf__selector == 2) { + compEmphasizeSecondary_buf_.selector = 2; + compEmphasizeSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (compEmphasizeSecondary_buf__selector == 3) { + compEmphasizeSecondary_buf_.selector = 3; + compEmphasizeSecondary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for minWidth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compEmphasizeSecondary_buf_ has to be chosen through deserialisation."); } - minWidth_buf.value = static_cast(minWidth_buf_); + compEmphasizeSecondary_buf.value = static_cast(compEmphasizeSecondary_buf_); } - value.minWidth = minWidth_buf; - const auto maxWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource maxWidth_buf = {}; - maxWidth_buf.tag = maxWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (maxWidth_buf_runtimeType)) + value.compEmphasizeSecondary = compEmphasizeSecondary_buf; + const auto compEmphasizeTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compEmphasizeTertiary_buf = {}; + compEmphasizeTertiary_buf.tag = compEmphasizeTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compEmphasizeTertiary_buf_runtimeType)) { - const Ark_Int8 maxWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource maxWidth_buf_ = {}; - maxWidth_buf_.selector = maxWidth_buf__selector; - if (maxWidth_buf__selector == 0) { - maxWidth_buf_.selector = 0; - maxWidth_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 compEmphasizeTertiary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compEmphasizeTertiary_buf_ = {}; + compEmphasizeTertiary_buf_.selector = compEmphasizeTertiary_buf__selector; + if (compEmphasizeTertiary_buf__selector == 0) { + compEmphasizeTertiary_buf_.selector = 0; + compEmphasizeTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (maxWidth_buf__selector == 1) { - maxWidth_buf_.selector = 1; - maxWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compEmphasizeTertiary_buf__selector == 1) { + compEmphasizeTertiary_buf_.selector = 1; + compEmphasizeTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (maxWidth_buf__selector == 2) { - maxWidth_buf_.selector = 2; - maxWidth_buf_.value2 = valueDeserializer.readResource(); + else if (compEmphasizeTertiary_buf__selector == 2) { + compEmphasizeTertiary_buf_.selector = 2; + compEmphasizeTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (compEmphasizeTertiary_buf__selector == 3) { + compEmphasizeTertiary_buf_.selector = 3; + compEmphasizeTertiary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for maxWidth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compEmphasizeTertiary_buf_ has to be chosen through deserialisation."); } - maxWidth_buf.value = static_cast(maxWidth_buf_); + compEmphasizeTertiary_buf.value = static_cast(compEmphasizeTertiary_buf_); } - value.maxWidth = maxWidth_buf; - const auto minHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource minHeight_buf = {}; - minHeight_buf.tag = minHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (minHeight_buf_runtimeType)) + value.compEmphasizeTertiary = compEmphasizeTertiary_buf; + const auto compDivider_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compDivider_buf = {}; + compDivider_buf.tag = compDivider_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compDivider_buf_runtimeType)) { - const Ark_Int8 minHeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource minHeight_buf_ = {}; - minHeight_buf_.selector = minHeight_buf__selector; - if (minHeight_buf__selector == 0) { - minHeight_buf_.selector = 0; - minHeight_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 compDivider_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compDivider_buf_ = {}; + compDivider_buf_.selector = compDivider_buf__selector; + if (compDivider_buf__selector == 0) { + compDivider_buf_.selector = 0; + compDivider_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (minHeight_buf__selector == 1) { - minHeight_buf_.selector = 1; - minHeight_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compDivider_buf__selector == 1) { + compDivider_buf_.selector = 1; + compDivider_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (minHeight_buf__selector == 2) { - minHeight_buf_.selector = 2; - minHeight_buf_.value2 = valueDeserializer.readResource(); + else if (compDivider_buf__selector == 2) { + compDivider_buf_.selector = 2; + compDivider_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (compDivider_buf__selector == 3) { + compDivider_buf_.selector = 3; + compDivider_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for minHeight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compDivider_buf_ has to be chosen through deserialisation."); } - minHeight_buf.value = static_cast(minHeight_buf_); + compDivider_buf.value = static_cast(compDivider_buf_); } - value.minHeight = minHeight_buf; - const auto maxHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource maxHeight_buf = {}; - maxHeight_buf.tag = maxHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (maxHeight_buf_runtimeType)) + value.compDivider = compDivider_buf; + const auto compCommonContrary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compCommonContrary_buf = {}; + compCommonContrary_buf.tag = compCommonContrary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compCommonContrary_buf_runtimeType)) { - const Ark_Int8 maxHeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource maxHeight_buf_ = {}; - maxHeight_buf_.selector = maxHeight_buf__selector; - if (maxHeight_buf__selector == 0) { - maxHeight_buf_.selector = 0; - maxHeight_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 compCommonContrary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compCommonContrary_buf_ = {}; + compCommonContrary_buf_.selector = compCommonContrary_buf__selector; + if (compCommonContrary_buf__selector == 0) { + compCommonContrary_buf_.selector = 0; + compCommonContrary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (maxHeight_buf__selector == 1) { - maxHeight_buf_.selector = 1; - maxHeight_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compCommonContrary_buf__selector == 1) { + compCommonContrary_buf_.selector = 1; + compCommonContrary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (maxHeight_buf__selector == 2) { - maxHeight_buf_.selector = 2; - maxHeight_buf_.value2 = valueDeserializer.readResource(); + else if (compCommonContrary_buf__selector == 2) { + compCommonContrary_buf_.selector = 2; + compCommonContrary_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (compCommonContrary_buf__selector == 3) { + compCommonContrary_buf_.selector = 3; + compCommonContrary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for maxHeight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compCommonContrary_buf_ has to be chosen through deserialisation."); } - maxHeight_buf.value = static_cast(maxHeight_buf_); + compCommonContrary_buf.value = static_cast(compCommonContrary_buf_); } - value.maxHeight = maxHeight_buf; - return value; - } - Ark_ContentCoverOptions readContentCoverOptions() - { - Ark_ContentCoverOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + value.compCommonContrary = compCommonContrary_buf; + const auto compBackgroundFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compBackgroundFocus_buf = {}; + compBackgroundFocus_buf.tag = compBackgroundFocus_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundFocus_buf_runtimeType)) { - const Ark_Int8 backgroundColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor backgroundColor_buf_ = {}; - backgroundColor_buf_.selector = backgroundColor_buf__selector; - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_.selector = 0; - backgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 compBackgroundFocus_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compBackgroundFocus_buf_ = {}; + compBackgroundFocus_buf_.selector = compBackgroundFocus_buf__selector; + if (compBackgroundFocus_buf__selector == 0) { + compBackgroundFocus_buf_.selector = 0; + compBackgroundFocus_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_.selector = 1; - backgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compBackgroundFocus_buf__selector == 1) { + compBackgroundFocus_buf_.selector = 1; + compBackgroundFocus_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_.selector = 2; - backgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (compBackgroundFocus_buf__selector == 2) { + compBackgroundFocus_buf_.selector = 2; + compBackgroundFocus_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_.selector = 3; - backgroundColor_buf_.value3 = valueDeserializer.readResource(); + else if (compBackgroundFocus_buf__selector == 3) { + compBackgroundFocus_buf_.selector = 3; + compBackgroundFocus_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compBackgroundFocus_buf_ has to be chosen through deserialisation."); } - backgroundColor_buf.value = static_cast(backgroundColor_buf_); - } - value.backgroundColor = backgroundColor_buf; - const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onAppear_buf = {}; - onAppear_buf.tag = onAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) - { - onAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - } - value.onAppear = onAppear_buf; - const auto onDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onDisappear_buf = {}; - onDisappear_buf.tag = onDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) - { - onDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - } - value.onDisappear = onDisappear_buf; - const auto onWillAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onWillAppear_buf = {}; - onWillAppear_buf.tag = onWillAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) - { - onWillAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - } - value.onWillAppear = onWillAppear_buf; - const auto onWillDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onWillDisappear_buf = {}; - onWillDisappear_buf.tag = onWillDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) - { - onWillDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - } - value.onWillDisappear = onWillDisappear_buf; - const auto modalTransition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ModalTransition modalTransition_buf = {}; - modalTransition_buf.tag = modalTransition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (modalTransition_buf_runtimeType)) - { - modalTransition_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.modalTransition = modalTransition_buf; - const auto onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_DismissContentCoverAction_Void onWillDismiss_buf = {}; - onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) - { - onWillDismiss_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DismissContentCoverAction_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DismissContentCoverAction_Void))))}; - } - value.onWillDismiss = onWillDismiss_buf; - const auto transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TransitionEffect transition_buf = {}; - transition_buf.tag = transition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) - { - transition_buf.value = static_cast(valueDeserializer.readTransitionEffect()); - } - value.transition = transition_buf; - return value; - } - Ark_ContextMenuAnimationOptions readContextMenuAnimationOptions() - { - Ark_ContextMenuAnimationOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_AnimationRange_Number scale_buf = {}; - scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) - { - Ark_AnimationRange_Number scale_buf_ = {}; - scale_buf_.value0 = static_cast(valueDeserializer.readNumber()); - scale_buf_.value1 = static_cast(valueDeserializer.readNumber()); - scale_buf.value = scale_buf_; - } - value.scale = scale_buf; - const auto transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TransitionEffect transition_buf = {}; - transition_buf.tag = transition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) - { - transition_buf.value = static_cast(valueDeserializer.readTransitionEffect()); - } - value.transition = transition_buf; - const auto hoverScale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_AnimationRange_Number hoverScale_buf = {}; - hoverScale_buf.tag = hoverScale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (hoverScale_buf_runtimeType)) - { - Ark_AnimationRange_Number hoverScale_buf_ = {}; - hoverScale_buf_.value0 = static_cast(valueDeserializer.readNumber()); - hoverScale_buf_.value1 = static_cast(valueDeserializer.readNumber()); - hoverScale_buf.value = hoverScale_buf_; + compBackgroundFocus_buf.value = static_cast(compBackgroundFocus_buf_); } - value.hoverScale = hoverScale_buf; - return value; - } - Ark_CurrentDayStyle readCurrentDayStyle() - { - Ark_CurrentDayStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto dayColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor dayColor_buf = {}; - dayColor_buf.tag = dayColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dayColor_buf_runtimeType)) + value.compBackgroundFocus = compBackgroundFocus_buf; + const auto compFocusedPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compFocusedPrimary_buf = {}; + compFocusedPrimary_buf.tag = compFocusedPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compFocusedPrimary_buf_runtimeType)) { - const Ark_Int8 dayColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor dayColor_buf_ = {}; - dayColor_buf_.selector = dayColor_buf__selector; - if (dayColor_buf__selector == 0) { - dayColor_buf_.selector = 0; - dayColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 compFocusedPrimary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compFocusedPrimary_buf_ = {}; + compFocusedPrimary_buf_.selector = compFocusedPrimary_buf__selector; + if (compFocusedPrimary_buf__selector == 0) { + compFocusedPrimary_buf_.selector = 0; + compFocusedPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (dayColor_buf__selector == 1) { - dayColor_buf_.selector = 1; - dayColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compFocusedPrimary_buf__selector == 1) { + compFocusedPrimary_buf_.selector = 1; + compFocusedPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (dayColor_buf__selector == 2) { - dayColor_buf_.selector = 2; - dayColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (compFocusedPrimary_buf__selector == 2) { + compFocusedPrimary_buf_.selector = 2; + compFocusedPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (dayColor_buf__selector == 3) { - dayColor_buf_.selector = 3; - dayColor_buf_.value3 = valueDeserializer.readResource(); + else if (compFocusedPrimary_buf__selector == 3) { + compFocusedPrimary_buf_.selector = 3; + compFocusedPrimary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for dayColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compFocusedPrimary_buf_ has to be chosen through deserialisation."); } - dayColor_buf.value = static_cast(dayColor_buf_); + compFocusedPrimary_buf.value = static_cast(compFocusedPrimary_buf_); } - value.dayColor = dayColor_buf; - const auto lunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor lunarColor_buf = {}; - lunarColor_buf.tag = lunarColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lunarColor_buf_runtimeType)) + value.compFocusedPrimary = compFocusedPrimary_buf; + const auto compFocusedSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compFocusedSecondary_buf = {}; + compFocusedSecondary_buf.tag = compFocusedSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compFocusedSecondary_buf_runtimeType)) { - const Ark_Int8 lunarColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor lunarColor_buf_ = {}; - lunarColor_buf_.selector = lunarColor_buf__selector; - if (lunarColor_buf__selector == 0) { - lunarColor_buf_.selector = 0; - lunarColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 compFocusedSecondary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compFocusedSecondary_buf_ = {}; + compFocusedSecondary_buf_.selector = compFocusedSecondary_buf__selector; + if (compFocusedSecondary_buf__selector == 0) { + compFocusedSecondary_buf_.selector = 0; + compFocusedSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (lunarColor_buf__selector == 1) { - lunarColor_buf_.selector = 1; - lunarColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compFocusedSecondary_buf__selector == 1) { + compFocusedSecondary_buf_.selector = 1; + compFocusedSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (lunarColor_buf__selector == 2) { - lunarColor_buf_.selector = 2; - lunarColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (compFocusedSecondary_buf__selector == 2) { + compFocusedSecondary_buf_.selector = 2; + compFocusedSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (lunarColor_buf__selector == 3) { - lunarColor_buf_.selector = 3; - lunarColor_buf_.value3 = valueDeserializer.readResource(); + else if (compFocusedSecondary_buf__selector == 3) { + compFocusedSecondary_buf_.selector = 3; + compFocusedSecondary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for lunarColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compFocusedSecondary_buf_ has to be chosen through deserialisation."); } - lunarColor_buf.value = static_cast(lunarColor_buf_); + compFocusedSecondary_buf.value = static_cast(compFocusedSecondary_buf_); } - value.lunarColor = lunarColor_buf; - const auto markLunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor markLunarColor_buf = {}; - markLunarColor_buf.tag = markLunarColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (markLunarColor_buf_runtimeType)) + value.compFocusedSecondary = compFocusedSecondary_buf; + const auto compFocusedTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor compFocusedTertiary_buf = {}; + compFocusedTertiary_buf.tag = compFocusedTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (compFocusedTertiary_buf_runtimeType)) { - const Ark_Int8 markLunarColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor markLunarColor_buf_ = {}; - markLunarColor_buf_.selector = markLunarColor_buf__selector; - if (markLunarColor_buf__selector == 0) { - markLunarColor_buf_.selector = 0; - markLunarColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 compFocusedTertiary_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor compFocusedTertiary_buf_ = {}; + compFocusedTertiary_buf_.selector = compFocusedTertiary_buf__selector; + if (compFocusedTertiary_buf__selector == 0) { + compFocusedTertiary_buf_.selector = 0; + compFocusedTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (markLunarColor_buf__selector == 1) { - markLunarColor_buf_.selector = 1; - markLunarColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (compFocusedTertiary_buf__selector == 1) { + compFocusedTertiary_buf_.selector = 1; + compFocusedTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (markLunarColor_buf__selector == 2) { - markLunarColor_buf_.selector = 2; - markLunarColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (compFocusedTertiary_buf__selector == 2) { + compFocusedTertiary_buf_.selector = 2; + compFocusedTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (markLunarColor_buf__selector == 3) { - markLunarColor_buf_.selector = 3; - markLunarColor_buf_.value3 = valueDeserializer.readResource(); + else if (compFocusedTertiary_buf__selector == 3) { + compFocusedTertiary_buf_.selector = 3; + compFocusedTertiary_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for markLunarColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for compFocusedTertiary_buf_ has to be chosen through deserialisation."); } - markLunarColor_buf.value = static_cast(markLunarColor_buf_); - } - value.markLunarColor = markLunarColor_buf; - const auto dayFontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number dayFontSize_buf = {}; - dayFontSize_buf.tag = dayFontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dayFontSize_buf_runtimeType)) - { - dayFontSize_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.dayFontSize = dayFontSize_buf; - const auto lunarDayFontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number lunarDayFontSize_buf = {}; - lunarDayFontSize_buf.tag = lunarDayFontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lunarDayFontSize_buf_runtimeType)) - { - lunarDayFontSize_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.lunarDayFontSize = lunarDayFontSize_buf; - const auto dayHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number dayHeight_buf = {}; - dayHeight_buf.tag = dayHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dayHeight_buf_runtimeType)) - { - dayHeight_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.dayHeight = dayHeight_buf; - const auto dayWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number dayWidth_buf = {}; - dayWidth_buf.tag = dayWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dayWidth_buf_runtimeType)) - { - dayWidth_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.dayWidth = dayWidth_buf; - const auto gregorianCalendarHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number gregorianCalendarHeight_buf = {}; - gregorianCalendarHeight_buf.tag = gregorianCalendarHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (gregorianCalendarHeight_buf_runtimeType)) - { - gregorianCalendarHeight_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.gregorianCalendarHeight = gregorianCalendarHeight_buf; - const auto dayYAxisOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number dayYAxisOffset_buf = {}; - dayYAxisOffset_buf.tag = dayYAxisOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dayYAxisOffset_buf_runtimeType)) - { - dayYAxisOffset_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.dayYAxisOffset = dayYAxisOffset_buf; - const auto lunarDayYAxisOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number lunarDayYAxisOffset_buf = {}; - lunarDayYAxisOffset_buf.tag = lunarDayYAxisOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lunarDayYAxisOffset_buf_runtimeType)) - { - lunarDayYAxisOffset_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.lunarDayYAxisOffset = lunarDayYAxisOffset_buf; - const auto underscoreXAxisOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number underscoreXAxisOffset_buf = {}; - underscoreXAxisOffset_buf.tag = underscoreXAxisOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (underscoreXAxisOffset_buf_runtimeType)) - { - underscoreXAxisOffset_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.underscoreXAxisOffset = underscoreXAxisOffset_buf; - const auto underscoreYAxisOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number underscoreYAxisOffset_buf = {}; - underscoreYAxisOffset_buf.tag = underscoreYAxisOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (underscoreYAxisOffset_buf_runtimeType)) - { - underscoreYAxisOffset_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.underscoreYAxisOffset = underscoreYAxisOffset_buf; - const auto scheduleMarkerXAxisOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number scheduleMarkerXAxisOffset_buf = {}; - scheduleMarkerXAxisOffset_buf.tag = scheduleMarkerXAxisOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scheduleMarkerXAxisOffset_buf_runtimeType)) - { - scheduleMarkerXAxisOffset_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.scheduleMarkerXAxisOffset = scheduleMarkerXAxisOffset_buf; - const auto scheduleMarkerYAxisOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number scheduleMarkerYAxisOffset_buf = {}; - scheduleMarkerYAxisOffset_buf.tag = scheduleMarkerYAxisOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scheduleMarkerYAxisOffset_buf_runtimeType)) - { - scheduleMarkerYAxisOffset_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.scheduleMarkerYAxisOffset = scheduleMarkerYAxisOffset_buf; - const auto colSpace_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number colSpace_buf = {}; - colSpace_buf.tag = colSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (colSpace_buf_runtimeType)) - { - colSpace_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.colSpace = colSpace_buf; - const auto dailyFiveRowSpace_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number dailyFiveRowSpace_buf = {}; - dailyFiveRowSpace_buf.tag = dailyFiveRowSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dailyFiveRowSpace_buf_runtimeType)) - { - dailyFiveRowSpace_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.dailyFiveRowSpace = dailyFiveRowSpace_buf; - const auto dailySixRowSpace_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number dailySixRowSpace_buf = {}; - dailySixRowSpace_buf.tag = dailySixRowSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dailySixRowSpace_buf_runtimeType)) - { - dailySixRowSpace_buf.value = static_cast(valueDeserializer.readNumber()); + compFocusedTertiary_buf.value = static_cast(compFocusedTertiary_buf_); } - value.dailySixRowSpace = dailySixRowSpace_buf; - const auto lunarHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number lunarHeight_buf = {}; - lunarHeight_buf.tag = lunarHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lunarHeight_buf_runtimeType)) + value.compFocusedTertiary = compFocusedTertiary_buf; + const auto interactiveHover_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor interactiveHover_buf = {}; + interactiveHover_buf.tag = interactiveHover_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (interactiveHover_buf_runtimeType)) { - lunarHeight_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.lunarHeight = lunarHeight_buf; - const auto underscoreWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number underscoreWidth_buf = {}; - underscoreWidth_buf.tag = underscoreWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (underscoreWidth_buf_runtimeType)) + const Ark_Int8 interactiveHover_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor interactiveHover_buf_ = {}; + interactiveHover_buf_.selector = interactiveHover_buf__selector; + if (interactiveHover_buf__selector == 0) { + interactiveHover_buf_.selector = 0; + interactiveHover_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (interactiveHover_buf__selector == 1) { + interactiveHover_buf_.selector = 1; + interactiveHover_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (interactiveHover_buf__selector == 2) { + interactiveHover_buf_.selector = 2; + interactiveHover_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (interactiveHover_buf__selector == 3) { + interactiveHover_buf_.selector = 3; + interactiveHover_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for interactiveHover_buf_ has to be chosen through deserialisation."); + } + interactiveHover_buf.value = static_cast(interactiveHover_buf_); + } + value.interactiveHover = interactiveHover_buf; + const auto interactivePressed_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor interactivePressed_buf = {}; + interactivePressed_buf.tag = interactivePressed_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (interactivePressed_buf_runtimeType)) { - underscoreWidth_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 interactivePressed_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor interactivePressed_buf_ = {}; + interactivePressed_buf_.selector = interactivePressed_buf__selector; + if (interactivePressed_buf__selector == 0) { + interactivePressed_buf_.selector = 0; + interactivePressed_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (interactivePressed_buf__selector == 1) { + interactivePressed_buf_.selector = 1; + interactivePressed_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (interactivePressed_buf__selector == 2) { + interactivePressed_buf_.selector = 2; + interactivePressed_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (interactivePressed_buf__selector == 3) { + interactivePressed_buf_.selector = 3; + interactivePressed_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for interactivePressed_buf_ has to be chosen through deserialisation."); + } + interactivePressed_buf.value = static_cast(interactivePressed_buf_); } - value.underscoreWidth = underscoreWidth_buf; - const auto underscoreLength_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number underscoreLength_buf = {}; - underscoreLength_buf.tag = underscoreLength_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (underscoreLength_buf_runtimeType)) + value.interactivePressed = interactivePressed_buf; + const auto interactiveFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor interactiveFocus_buf = {}; + interactiveFocus_buf.tag = interactiveFocus_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (interactiveFocus_buf_runtimeType)) { - underscoreLength_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 interactiveFocus_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor interactiveFocus_buf_ = {}; + interactiveFocus_buf_.selector = interactiveFocus_buf__selector; + if (interactiveFocus_buf__selector == 0) { + interactiveFocus_buf_.selector = 0; + interactiveFocus_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (interactiveFocus_buf__selector == 1) { + interactiveFocus_buf_.selector = 1; + interactiveFocus_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (interactiveFocus_buf__selector == 2) { + interactiveFocus_buf_.selector = 2; + interactiveFocus_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (interactiveFocus_buf__selector == 3) { + interactiveFocus_buf_.selector = 3; + interactiveFocus_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for interactiveFocus_buf_ has to be chosen through deserialisation."); + } + interactiveFocus_buf.value = static_cast(interactiveFocus_buf_); } - value.underscoreLength = underscoreLength_buf; - const auto scheduleMarkerRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number scheduleMarkerRadius_buf = {}; - scheduleMarkerRadius_buf.tag = scheduleMarkerRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scheduleMarkerRadius_buf_runtimeType)) + value.interactiveFocus = interactiveFocus_buf; + const auto interactiveActive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor interactiveActive_buf = {}; + interactiveActive_buf.tag = interactiveActive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (interactiveActive_buf_runtimeType)) { - scheduleMarkerRadius_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 interactiveActive_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor interactiveActive_buf_ = {}; + interactiveActive_buf_.selector = interactiveActive_buf__selector; + if (interactiveActive_buf__selector == 0) { + interactiveActive_buf_.selector = 0; + interactiveActive_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (interactiveActive_buf__selector == 1) { + interactiveActive_buf_.selector = 1; + interactiveActive_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (interactiveActive_buf__selector == 2) { + interactiveActive_buf_.selector = 2; + interactiveActive_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (interactiveActive_buf__selector == 3) { + interactiveActive_buf_.selector = 3; + interactiveActive_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for interactiveActive_buf_ has to be chosen through deserialisation."); + } + interactiveActive_buf.value = static_cast(interactiveActive_buf_); } - value.scheduleMarkerRadius = scheduleMarkerRadius_buf; - const auto boundaryRowOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number boundaryRowOffset_buf = {}; - boundaryRowOffset_buf.tag = boundaryRowOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (boundaryRowOffset_buf_runtimeType)) + value.interactiveActive = interactiveActive_buf; + const auto interactiveSelect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor interactiveSelect_buf = {}; + interactiveSelect_buf.tag = interactiveSelect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (interactiveSelect_buf_runtimeType)) { - boundaryRowOffset_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 interactiveSelect_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor interactiveSelect_buf_ = {}; + interactiveSelect_buf_.selector = interactiveSelect_buf__selector; + if (interactiveSelect_buf__selector == 0) { + interactiveSelect_buf_.selector = 0; + interactiveSelect_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (interactiveSelect_buf__selector == 1) { + interactiveSelect_buf_.selector = 1; + interactiveSelect_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (interactiveSelect_buf__selector == 2) { + interactiveSelect_buf_.selector = 2; + interactiveSelect_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (interactiveSelect_buf__selector == 3) { + interactiveSelect_buf_.selector = 3; + interactiveSelect_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for interactiveSelect_buf_ has to be chosen through deserialisation."); + } + interactiveSelect_buf.value = static_cast(interactiveSelect_buf_); } - value.boundaryRowOffset = boundaryRowOffset_buf; - const auto boundaryColOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number boundaryColOffset_buf = {}; - boundaryColOffset_buf.tag = boundaryColOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (boundaryColOffset_buf_runtimeType)) + value.interactiveSelect = interactiveSelect_buf; + const auto interactiveClick_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor interactiveClick_buf = {}; + interactiveClick_buf.tag = interactiveClick_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (interactiveClick_buf_runtimeType)) { - boundaryColOffset_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 interactiveClick_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor interactiveClick_buf_ = {}; + interactiveClick_buf_.selector = interactiveClick_buf__selector; + if (interactiveClick_buf__selector == 0) { + interactiveClick_buf_.selector = 0; + interactiveClick_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (interactiveClick_buf__selector == 1) { + interactiveClick_buf_.selector = 1; + interactiveClick_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (interactiveClick_buf__selector == 2) { + interactiveClick_buf_.selector = 2; + interactiveClick_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (interactiveClick_buf__selector == 3) { + interactiveClick_buf_.selector = 3; + interactiveClick_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for interactiveClick_buf_ has to be chosen through deserialisation."); + } + interactiveClick_buf.value = static_cast(interactiveClick_buf_); } - value.boundaryColOffset = boundaryColOffset_buf; + value.interactiveClick = interactiveClick_buf; return value; } - Ark_CustomColors readCustomColors() + Ark_DataPanelShadowOptions readDataPanelShadowOptions() { - Ark_CustomColors value = {}; + Ark_DataPanelShadowOptions value = {}; Deserializer& valueDeserializer = *this; - const auto brand_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor brand_buf = {}; - brand_buf.tag = brand_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (brand_buf_runtimeType)) + const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_Resource radius_buf = {}; + radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) { - const Ark_Int8 brand_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor brand_buf_ = {}; - brand_buf_.selector = brand_buf__selector; - if (brand_buf__selector == 0) { - brand_buf_.selector = 0; - brand_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (brand_buf__selector == 1) { - brand_buf_.selector = 1; - brand_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (brand_buf__selector == 2) { - brand_buf_.selector = 2; - brand_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 radius_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_Resource radius_buf_ = {}; + radius_buf_.selector = radius_buf__selector; + if (radius_buf__selector == 0) { + radius_buf_.selector = 0; + radius_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (brand_buf__selector == 3) { - brand_buf_.selector = 3; - brand_buf_.value3 = valueDeserializer.readResource(); + else if (radius_buf__selector == 1) { + radius_buf_.selector = 1; + radius_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for brand_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); } - brand_buf.value = static_cast(brand_buf_); + radius_buf.value = static_cast(radius_buf_); } - value.brand = brand_buf; - const auto warning_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor warning_buf = {}; - warning_buf.tag = warning_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (warning_buf_runtimeType)) + value.radius = radius_buf; + const auto offsetX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_Resource offsetX_buf = {}; + offsetX_buf.tag = offsetX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offsetX_buf_runtimeType)) { - const Ark_Int8 warning_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor warning_buf_ = {}; - warning_buf_.selector = warning_buf__selector; - if (warning_buf__selector == 0) { - warning_buf_.selector = 0; - warning_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (warning_buf__selector == 1) { - warning_buf_.selector = 1; - warning_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (warning_buf__selector == 2) { - warning_buf_.selector = 2; - warning_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 offsetX_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_Resource offsetX_buf_ = {}; + offsetX_buf_.selector = offsetX_buf__selector; + if (offsetX_buf__selector == 0) { + offsetX_buf_.selector = 0; + offsetX_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (warning_buf__selector == 3) { - warning_buf_.selector = 3; - warning_buf_.value3 = valueDeserializer.readResource(); + else if (offsetX_buf__selector == 1) { + offsetX_buf_.selector = 1; + offsetX_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for warning_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for offsetX_buf_ has to be chosen through deserialisation."); } - warning_buf.value = static_cast(warning_buf_); + offsetX_buf.value = static_cast(offsetX_buf_); } - value.warning = warning_buf; - const auto alert_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor alert_buf = {}; - alert_buf.tag = alert_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (alert_buf_runtimeType)) + value.offsetX = offsetX_buf; + const auto offsetY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_Resource offsetY_buf = {}; + offsetY_buf.tag = offsetY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offsetY_buf_runtimeType)) { - const Ark_Int8 alert_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor alert_buf_ = {}; - alert_buf_.selector = alert_buf__selector; - if (alert_buf__selector == 0) { - alert_buf_.selector = 0; - alert_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (alert_buf__selector == 1) { - alert_buf_.selector = 1; - alert_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (alert_buf__selector == 2) { - alert_buf_.selector = 2; - alert_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 offsetY_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_Resource offsetY_buf_ = {}; + offsetY_buf_.selector = offsetY_buf__selector; + if (offsetY_buf__selector == 0) { + offsetY_buf_.selector = 0; + offsetY_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (alert_buf__selector == 3) { - alert_buf_.selector = 3; - alert_buf_.value3 = valueDeserializer.readResource(); + else if (offsetY_buf__selector == 1) { + offsetY_buf_.selector = 1; + offsetY_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for alert_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for offsetY_buf_ has to be chosen through deserialisation."); } - alert_buf.value = static_cast(alert_buf_); + offsetY_buf.value = static_cast(offsetY_buf_); } - value.alert = alert_buf; - const auto confirm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor confirm_buf = {}; - confirm_buf.tag = confirm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (confirm_buf_runtimeType)) + value.offsetY = offsetY_buf; + const auto colors_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_Union_ResourceColor_LinearGradient colors_buf = {}; + colors_buf.tag = colors_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (colors_buf_runtimeType)) { - const Ark_Int8 confirm_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor confirm_buf_ = {}; - confirm_buf_.selector = confirm_buf__selector; - if (confirm_buf__selector == 0) { - confirm_buf_.selector = 0; - confirm_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int32 colors_buf__length = valueDeserializer.readInt32(); + Array_Union_ResourceColor_LinearGradient colors_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&colors_buf_, colors_buf__length); + for (int colors_buf__i = 0; colors_buf__i < colors_buf__length; colors_buf__i++) { + const Ark_Int8 colors_buf__buf_selector = valueDeserializer.readInt8(); + Ark_Union_ResourceColor_LinearGradient colors_buf__buf = {}; + colors_buf__buf.selector = colors_buf__buf_selector; + if (colors_buf__buf_selector == 0) { + colors_buf__buf.selector = 0; + const Ark_Int8 colors_buf__buf_u_selector = valueDeserializer.readInt8(); + Ark_ResourceColor colors_buf__buf_u = {}; + colors_buf__buf_u.selector = colors_buf__buf_u_selector; + if (colors_buf__buf_u_selector == 0) { + colors_buf__buf_u.selector = 0; + colors_buf__buf_u.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (colors_buf__buf_u_selector == 1) { + colors_buf__buf_u.selector = 1; + colors_buf__buf_u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (colors_buf__buf_u_selector == 2) { + colors_buf__buf_u.selector = 2; + colors_buf__buf_u.value2 = static_cast(valueDeserializer.readString()); + } + else if (colors_buf__buf_u_selector == 3) { + colors_buf__buf_u.selector = 3; + colors_buf__buf_u.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for colors_buf__buf_u has to be chosen through deserialisation."); + } + colors_buf__buf.value0 = static_cast(colors_buf__buf_u); + } + else if (colors_buf__buf_selector == 1) { + colors_buf__buf.selector = 1; + colors_buf__buf.value1 = static_cast(valueDeserializer.readLinearGradient()); + } + else { + INTEROP_FATAL("One of the branches for colors_buf__buf has to be chosen through deserialisation."); + } + colors_buf_.array[colors_buf__i] = static_cast(colors_buf__buf); } - else if (confirm_buf__selector == 1) { - confirm_buf_.selector = 1; - confirm_buf_.value1 = static_cast(valueDeserializer.readNumber()); + colors_buf.value = colors_buf_; + } + value.colors = colors_buf; + return value; + } + Ark_Decoration readDecoration() + { + Ark_Decoration value = {}; + Deserializer& valueDeserializer = *this; + const auto textDecoration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextDecorationType textDecoration_buf = {}; + textDecoration_buf.tag = textDecoration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textDecoration_buf_runtimeType)) + { + textDecoration_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.textDecoration = textDecoration_buf; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_common2D_Color color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + { + color_buf.value = valueDeserializer.readcommon2D_Color(); + } + value.color = color_buf; + const auto decorationStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextDecorationStyle decorationStyle_buf = {}; + decorationStyle_buf.tag = decorationStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (decorationStyle_buf_runtimeType)) + { + decorationStyle_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.decorationStyle = decorationStyle_buf; + const auto decorationThicknessScale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number decorationThicknessScale_buf = {}; + decorationThicknessScale_buf.tag = decorationThicknessScale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (decorationThicknessScale_buf_runtimeType)) + { + decorationThicknessScale_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.decorationThicknessScale = decorationThicknessScale_buf; + return value; + } + Ark_DecorationStyle readDecorationStyle() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_DecorationStyleInterface readDecorationStyleInterface() + { + Ark_DecorationStyleInterface value = {}; + Deserializer& valueDeserializer = *this; + value.type = static_cast(valueDeserializer.readInt32()); + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + { + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (confirm_buf__selector == 2) { - confirm_buf_.selector = 2; - confirm_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (confirm_buf__selector == 3) { - confirm_buf_.selector = 3; - confirm_buf_.value3 = valueDeserializer.readResource(); + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for confirm_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); } - confirm_buf.value = static_cast(confirm_buf_); + color_buf.value = static_cast(color_buf_); } - value.confirm = confirm_buf; - const auto fontPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontPrimary_buf = {}; - fontPrimary_buf.tag = fontPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontPrimary_buf_runtimeType)) + value.color = color_buf; + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextDecorationStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) { - const Ark_Int8 fontPrimary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontPrimary_buf_ = {}; - fontPrimary_buf_.selector = fontPrimary_buf__selector; - if (fontPrimary_buf__selector == 0) { - fontPrimary_buf_.selector = 0; - fontPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); + style_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.style = style_buf; + return value; + } + Ark_DecorationStyleResult readDecorationStyleResult() + { + Ark_DecorationStyleResult value = {}; + Deserializer& valueDeserializer = *this; + value.type = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 color_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf = {}; + color_buf.selector = color_buf_selector; + if (color_buf_selector == 0) { + color_buf.selector = 0; + color_buf.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (color_buf_selector == 1) { + color_buf.selector = 1; + color_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (color_buf_selector == 2) { + color_buf.selector = 2; + color_buf.value2 = static_cast(valueDeserializer.readString()); + } + else if (color_buf_selector == 3) { + color_buf.selector = 3; + color_buf.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for color_buf has to be chosen through deserialisation."); + } + value.color = static_cast(color_buf); + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextDecorationStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + { + style_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.style = style_buf; + return value; + } + Ark_DividerStyleOptions readDividerStyleOptions() + { + Ark_DividerStyleOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics strokeWidth_buf = {}; + strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + strokeWidth_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.strokeWidth = strokeWidth_buf; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + { + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (fontPrimary_buf__selector == 1) { - fontPrimary_buf_.selector = 1; - fontPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontPrimary_buf__selector == 2) { - fontPrimary_buf_.selector = 2; - fontPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (fontPrimary_buf__selector == 3) { - fontPrimary_buf_.selector = 3; - fontPrimary_buf_.value3 = valueDeserializer.readResource(); + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontPrimary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); } - fontPrimary_buf.value = static_cast(fontPrimary_buf_); + color_buf.value = static_cast(color_buf_); } - value.fontPrimary = fontPrimary_buf; - const auto fontSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontSecondary_buf = {}; - fontSecondary_buf.tag = fontSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontSecondary_buf_runtimeType)) + value.color = color_buf; + const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics startMargin_buf = {}; + startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) { - const Ark_Int8 fontSecondary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontSecondary_buf_ = {}; - fontSecondary_buf_.selector = fontSecondary_buf__selector; - if (fontSecondary_buf__selector == 0) { - fontSecondary_buf_.selector = 0; - fontSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (fontSecondary_buf__selector == 1) { - fontSecondary_buf_.selector = 1; - fontSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (fontSecondary_buf__selector == 2) { - fontSecondary_buf_.selector = 2; - fontSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); + startMargin_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.startMargin = startMargin_buf; + const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics endMargin_buf = {}; + endMargin_buf.tag = endMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) + { + endMargin_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.endMargin = endMargin_buf; + const auto mode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DividerMode mode_buf = {}; + mode_buf.tag = mode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mode_buf_runtimeType)) + { + mode_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.mode = mode_buf; + return value; + } + Ark_DragPreviewOptions readDragPreviewOptions() + { + Ark_DragPreviewOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto mode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_DragPreviewMode_Array_DragPreviewMode mode_buf = {}; + mode_buf.tag = mode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mode_buf_runtimeType)) + { + const Ark_Int8 mode_buf__selector = valueDeserializer.readInt8(); + Ark_Union_DragPreviewMode_Array_DragPreviewMode mode_buf_ = {}; + mode_buf_.selector = mode_buf__selector; + if (mode_buf__selector == 0) { + mode_buf_.selector = 0; + mode_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (fontSecondary_buf__selector == 3) { - fontSecondary_buf_.selector = 3; - fontSecondary_buf_.value3 = valueDeserializer.readResource(); + else if (mode_buf__selector == 1) { + mode_buf_.selector = 1; + const Ark_Int32 mode_buf__u_length = valueDeserializer.readInt32(); + Array_DragPreviewMode mode_buf__u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&mode_buf__u, mode_buf__u_length); + for (int mode_buf__u_i = 0; mode_buf__u_i < mode_buf__u_length; mode_buf__u_i++) { + mode_buf__u.array[mode_buf__u_i] = static_cast(valueDeserializer.readInt32()); + } + mode_buf_.value1 = mode_buf__u; } else { - INTEROP_FATAL("One of the branches for fontSecondary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for mode_buf_ has to be chosen through deserialisation."); } - fontSecondary_buf.value = static_cast(fontSecondary_buf_); + mode_buf.value = static_cast(mode_buf_); } - value.fontSecondary = fontSecondary_buf; - const auto fontTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontTertiary_buf = {}; - fontTertiary_buf.tag = fontTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontTertiary_buf_runtimeType)) + value.mode = mode_buf; + const auto modifier_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImageModifier modifier_buf = {}; + modifier_buf.tag = modifier_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (modifier_buf_runtimeType)) { - const Ark_Int8 fontTertiary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontTertiary_buf_ = {}; - fontTertiary_buf_.selector = fontTertiary_buf__selector; - if (fontTertiary_buf__selector == 0) { - fontTertiary_buf_.selector = 0; - fontTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (fontTertiary_buf__selector == 1) { - fontTertiary_buf_.selector = 1; - fontTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (fontTertiary_buf__selector == 2) { - fontTertiary_buf_.selector = 2; - fontTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); + modifier_buf.value = valueDeserializer.readImageModifier(); + } + value.modifier = modifier_buf; + const auto numberBadge_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Boolean_Number numberBadge_buf = {}; + numberBadge_buf.tag = numberBadge_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (numberBadge_buf_runtimeType)) + { + const Ark_Int8 numberBadge_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Boolean_Number numberBadge_buf_ = {}; + numberBadge_buf_.selector = numberBadge_buf__selector; + if (numberBadge_buf__selector == 0) { + numberBadge_buf_.selector = 0; + numberBadge_buf_.value0 = valueDeserializer.readBoolean(); } - else if (fontTertiary_buf__selector == 3) { - fontTertiary_buf_.selector = 3; - fontTertiary_buf_.value3 = valueDeserializer.readResource(); + else if (numberBadge_buf__selector == 1) { + numberBadge_buf_.selector = 1; + numberBadge_buf_.value1 = static_cast(valueDeserializer.readNumber()); } else { - INTEROP_FATAL("One of the branches for fontTertiary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for numberBadge_buf_ has to be chosen through deserialisation."); } - fontTertiary_buf.value = static_cast(fontTertiary_buf_); + numberBadge_buf.value = static_cast(numberBadge_buf_); } - value.fontTertiary = fontTertiary_buf; - const auto fontFourth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontFourth_buf = {}; - fontFourth_buf.tag = fontFourth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontFourth_buf_runtimeType)) + value.numberBadge = numberBadge_buf; + const auto sizeChangeEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DraggingSizeChangeEffect sizeChangeEffect_buf = {}; + sizeChangeEffect_buf.tag = sizeChangeEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sizeChangeEffect_buf_runtimeType)) { - const Ark_Int8 fontFourth_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontFourth_buf_ = {}; - fontFourth_buf_.selector = fontFourth_buf__selector; - if (fontFourth_buf__selector == 0) { - fontFourth_buf_.selector = 0; - fontFourth_buf_.value0 = static_cast(valueDeserializer.readInt32()); + sizeChangeEffect_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.sizeChangeEffect = sizeChangeEffect_buf; + return value; + } + Ark_EdgeColors readEdgeColors() + { + Ark_EdgeColors value = {}; + Deserializer& valueDeserializer = *this; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + { + const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor top_buf_ = {}; + top_buf_.selector = top_buf__selector; + if (top_buf__selector == 0) { + top_buf_.selector = 0; + top_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (fontFourth_buf__selector == 1) { - fontFourth_buf_.selector = 1; - fontFourth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (top_buf__selector == 1) { + top_buf_.selector = 1; + top_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontFourth_buf__selector == 2) { - fontFourth_buf_.selector = 2; - fontFourth_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (top_buf__selector == 2) { + top_buf_.selector = 2; + top_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (fontFourth_buf__selector == 3) { - fontFourth_buf_.selector = 3; - fontFourth_buf_.value3 = valueDeserializer.readResource(); + else if (top_buf__selector == 3) { + top_buf_.selector = 3; + top_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontFourth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); } - fontFourth_buf.value = static_cast(fontFourth_buf_); + top_buf.value = static_cast(top_buf_); } - value.fontFourth = fontFourth_buf; - const auto fontEmphasize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontEmphasize_buf = {}; - fontEmphasize_buf.tag = fontEmphasize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontEmphasize_buf_runtimeType)) + value.top = top_buf; + const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor right_buf = {}; + right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) { - const Ark_Int8 fontEmphasize_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontEmphasize_buf_ = {}; - fontEmphasize_buf_.selector = fontEmphasize_buf__selector; - if (fontEmphasize_buf__selector == 0) { - fontEmphasize_buf_.selector = 0; - fontEmphasize_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 right_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor right_buf_ = {}; + right_buf_.selector = right_buf__selector; + if (right_buf__selector == 0) { + right_buf_.selector = 0; + right_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (fontEmphasize_buf__selector == 1) { - fontEmphasize_buf_.selector = 1; - fontEmphasize_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (right_buf__selector == 1) { + right_buf_.selector = 1; + right_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontEmphasize_buf__selector == 2) { - fontEmphasize_buf_.selector = 2; - fontEmphasize_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (right_buf__selector == 2) { + right_buf_.selector = 2; + right_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (fontEmphasize_buf__selector == 3) { - fontEmphasize_buf_.selector = 3; - fontEmphasize_buf_.value3 = valueDeserializer.readResource(); + else if (right_buf__selector == 3) { + right_buf_.selector = 3; + right_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontEmphasize_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for right_buf_ has to be chosen through deserialisation."); } - fontEmphasize_buf.value = static_cast(fontEmphasize_buf_); + right_buf.value = static_cast(right_buf_); } - value.fontEmphasize = fontEmphasize_buf; - const auto fontOnPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontOnPrimary_buf = {}; - fontOnPrimary_buf.tag = fontOnPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontOnPrimary_buf_runtimeType)) + value.right = right_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { - const Ark_Int8 fontOnPrimary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontOnPrimary_buf_ = {}; - fontOnPrimary_buf_.selector = fontOnPrimary_buf__selector; - if (fontOnPrimary_buf__selector == 0) { - fontOnPrimary_buf_.selector = 0; - fontOnPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 bottom_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor bottom_buf_ = {}; + bottom_buf_.selector = bottom_buf__selector; + if (bottom_buf__selector == 0) { + bottom_buf_.selector = 0; + bottom_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (fontOnPrimary_buf__selector == 1) { - fontOnPrimary_buf_.selector = 1; - fontOnPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (bottom_buf__selector == 1) { + bottom_buf_.selector = 1; + bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontOnPrimary_buf__selector == 2) { - fontOnPrimary_buf_.selector = 2; - fontOnPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (bottom_buf__selector == 2) { + bottom_buf_.selector = 2; + bottom_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (fontOnPrimary_buf__selector == 3) { - fontOnPrimary_buf_.selector = 3; - fontOnPrimary_buf_.value3 = valueDeserializer.readResource(); + else if (bottom_buf__selector == 3) { + bottom_buf_.selector = 3; + bottom_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontOnPrimary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for bottom_buf_ has to be chosen through deserialisation."); } - fontOnPrimary_buf.value = static_cast(fontOnPrimary_buf_); + bottom_buf.value = static_cast(bottom_buf_); } - value.fontOnPrimary = fontOnPrimary_buf; - const auto fontOnSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontOnSecondary_buf = {}; - fontOnSecondary_buf.tag = fontOnSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontOnSecondary_buf_runtimeType)) + value.bottom = bottom_buf; + const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor left_buf = {}; + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) { - const Ark_Int8 fontOnSecondary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontOnSecondary_buf_ = {}; - fontOnSecondary_buf_.selector = fontOnSecondary_buf__selector; - if (fontOnSecondary_buf__selector == 0) { - fontOnSecondary_buf_.selector = 0; - fontOnSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 left_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor left_buf_ = {}; + left_buf_.selector = left_buf__selector; + if (left_buf__selector == 0) { + left_buf_.selector = 0; + left_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (fontOnSecondary_buf__selector == 1) { - fontOnSecondary_buf_.selector = 1; - fontOnSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (left_buf__selector == 1) { + left_buf_.selector = 1; + left_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontOnSecondary_buf__selector == 2) { - fontOnSecondary_buf_.selector = 2; - fontOnSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (left_buf__selector == 2) { + left_buf_.selector = 2; + left_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (fontOnSecondary_buf__selector == 3) { - fontOnSecondary_buf_.selector = 3; - fontOnSecondary_buf_.value3 = valueDeserializer.readResource(); + else if (left_buf__selector == 3) { + left_buf_.selector = 3; + left_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontOnSecondary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for left_buf_ has to be chosen through deserialisation."); } - fontOnSecondary_buf.value = static_cast(fontOnSecondary_buf_); + left_buf.value = static_cast(left_buf_); } - value.fontOnSecondary = fontOnSecondary_buf; - const auto fontOnTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontOnTertiary_buf = {}; - fontOnTertiary_buf.tag = fontOnTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontOnTertiary_buf_runtimeType)) + value.left = left_buf; + return value; + } + Ark_ExpandedMenuItemOptions readExpandedMenuItemOptions() + { + Ark_ExpandedMenuItemOptions value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 content_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceStr content_buf = {}; + content_buf.selector = content_buf_selector; + if (content_buf_selector == 0) { + content_buf.selector = 0; + content_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (content_buf_selector == 1) { + content_buf.selector = 1; + content_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for content_buf has to be chosen through deserialisation."); + } + value.content = static_cast(content_buf); + const auto startIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr startIcon_buf = {}; + startIcon_buf.tag = startIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (startIcon_buf_runtimeType)) { - const Ark_Int8 fontOnTertiary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontOnTertiary_buf_ = {}; - fontOnTertiary_buf_.selector = fontOnTertiary_buf__selector; - if (fontOnTertiary_buf__selector == 0) { - fontOnTertiary_buf_.selector = 0; - fontOnTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (fontOnTertiary_buf__selector == 1) { - fontOnTertiary_buf_.selector = 1; - fontOnTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (fontOnTertiary_buf__selector == 2) { - fontOnTertiary_buf_.selector = 2; - fontOnTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 startIcon_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr startIcon_buf_ = {}; + startIcon_buf_.selector = startIcon_buf__selector; + if (startIcon_buf__selector == 0) { + startIcon_buf_.selector = 0; + startIcon_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (fontOnTertiary_buf__selector == 3) { - fontOnTertiary_buf_.selector = 3; - fontOnTertiary_buf_.value3 = valueDeserializer.readResource(); + else if (startIcon_buf__selector == 1) { + startIcon_buf_.selector = 1; + startIcon_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontOnTertiary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for startIcon_buf_ has to be chosen through deserialisation."); } - fontOnTertiary_buf.value = static_cast(fontOnTertiary_buf_); + startIcon_buf.value = static_cast(startIcon_buf_); + } + value.startIcon = startIcon_buf; + value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_String_plainText_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_String_plainText_Void))))}; + return value; + } + Ark_FadingEdgeOptions readFadingEdgeOptions() + { + Ark_FadingEdgeOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto fadingEdgeLength_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics fadingEdgeLength_buf = {}; + fadingEdgeLength_buf.tag = fadingEdgeLength_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fadingEdgeLength_buf_runtimeType)) + { + fadingEdgeLength_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.fadingEdgeLength = fadingEdgeLength_buf; + return value; + } + Ark_FlexSpaceOptions readFlexSpaceOptions() + { + Ark_FlexSpaceOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto main_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics main_buf = {}; + main_buf.tag = main_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (main_buf_runtimeType)) + { + main_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.main = main_buf; + const auto cross_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics cross_buf = {}; + cross_buf.tag = cross_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cross_buf_runtimeType)) + { + cross_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.cross = cross_buf; + return value; + } + Ark_FocusBoxStyle readFocusBoxStyle() + { + Ark_FocusBoxStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics margin_buf = {}; + margin_buf.tag = margin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + { + margin_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.margin = margin_buf; + const auto strokeColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ColorMetrics strokeColor_buf = {}; + strokeColor_buf.tag = strokeColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeColor_buf_runtimeType)) + { + strokeColor_buf.value = static_cast(valueDeserializer.readColorMetrics()); + } + value.strokeColor = strokeColor_buf; + const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics strokeWidth_buf = {}; + strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + strokeWidth_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.strokeWidth = strokeWidth_buf; + return value; + } + Ark_FontOptions readFontOptions() + { + Ark_FontOptions value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 familyName_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource familyName_buf = {}; + familyName_buf.selector = familyName_buf_selector; + if (familyName_buf_selector == 0) { + familyName_buf.selector = 0; + familyName_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (familyName_buf_selector == 1) { + familyName_buf.selector = 1; + familyName_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for familyName_buf has to be chosen through deserialisation."); + } + value.familyName = static_cast(familyName_buf); + const Ark_Int8 familySrc_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource familySrc_buf = {}; + familySrc_buf.selector = familySrc_buf_selector; + if (familySrc_buf_selector == 0) { + familySrc_buf.selector = 0; + familySrc_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (familySrc_buf_selector == 1) { + familySrc_buf.selector = 1; + familySrc_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for familySrc_buf has to be chosen through deserialisation."); + } + value.familySrc = static_cast(familySrc_buf); + return value; + } + Ark_ForegroundBlurStyleOptions readForegroundBlurStyleOptions() + { + Ark_ForegroundBlurStyleOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto colorMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ThemeColorMode colorMode_buf = {}; + colorMode_buf.tag = colorMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (colorMode_buf_runtimeType)) + { + colorMode_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.colorMode = colorMode_buf; + const auto adaptiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_AdaptiveColor adaptiveColor_buf = {}; + adaptiveColor_buf.tag = adaptiveColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (adaptiveColor_buf_runtimeType)) + { + adaptiveColor_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.adaptiveColor = adaptiveColor_buf; + const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number scale_buf = {}; + scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) + { + scale_buf.value = static_cast(valueDeserializer.readNumber()); } - value.fontOnTertiary = fontOnTertiary_buf; - const auto fontOnFourth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontOnFourth_buf = {}; - fontOnFourth_buf.tag = fontOnFourth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontOnFourth_buf_runtimeType)) + value.scale = scale_buf; + const auto blurOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BlurOptions blurOptions_buf = {}; + blurOptions_buf.tag = blurOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (blurOptions_buf_runtimeType)) { - const Ark_Int8 fontOnFourth_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontOnFourth_buf_ = {}; - fontOnFourth_buf_.selector = fontOnFourth_buf__selector; - if (fontOnFourth_buf__selector == 0) { - fontOnFourth_buf_.selector = 0; - fontOnFourth_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (fontOnFourth_buf__selector == 1) { - fontOnFourth_buf_.selector = 1; - fontOnFourth_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (fontOnFourth_buf__selector == 2) { - fontOnFourth_buf_.selector = 2; - fontOnFourth_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (fontOnFourth_buf__selector == 3) { - fontOnFourth_buf_.selector = 3; - fontOnFourth_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for fontOnFourth_buf_ has to be chosen through deserialisation."); - } - fontOnFourth_buf.value = static_cast(fontOnFourth_buf_); + blurOptions_buf.value = valueDeserializer.readBlurOptions(); } - value.fontOnFourth = fontOnFourth_buf; - const auto iconPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor iconPrimary_buf = {}; - iconPrimary_buf.tag = iconPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (iconPrimary_buf_runtimeType)) + value.blurOptions = blurOptions_buf; + return value; + } + Ark_FormInfo readFormInfo() + { + Ark_FormInfo value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 id_buf_selector = valueDeserializer.readInt8(); + Ark_Union_I64_String id_buf = {}; + id_buf.selector = id_buf_selector; + if (id_buf_selector == 0) { + id_buf.selector = 0; + id_buf.value0 = valueDeserializer.readInt64(); + } + else if (id_buf_selector == 1) { + id_buf.selector = 1; + id_buf.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for id_buf has to be chosen through deserialisation."); + } + value.id = static_cast(id_buf); + value.name = static_cast(valueDeserializer.readString()); + value.bundle = static_cast(valueDeserializer.readString()); + value.ability = static_cast(valueDeserializer.readString()); + value.module = static_cast(valueDeserializer.readString()); + const auto dimension_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FormDimension dimension_buf = {}; + dimension_buf.tag = dimension_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dimension_buf_runtimeType)) { - const Ark_Int8 iconPrimary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor iconPrimary_buf_ = {}; - iconPrimary_buf_.selector = iconPrimary_buf__selector; - if (iconPrimary_buf__selector == 0) { - iconPrimary_buf_.selector = 0; - iconPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (iconPrimary_buf__selector == 1) { - iconPrimary_buf_.selector = 1; - iconPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (iconPrimary_buf__selector == 2) { - iconPrimary_buf_.selector = 2; - iconPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (iconPrimary_buf__selector == 3) { - iconPrimary_buf_.selector = 3; - iconPrimary_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for iconPrimary_buf_ has to be chosen through deserialisation."); - } - iconPrimary_buf.value = static_cast(iconPrimary_buf_); + dimension_buf.value = static_cast(valueDeserializer.readInt32()); } - value.iconPrimary = iconPrimary_buf; - const auto iconSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor iconSecondary_buf = {}; - iconSecondary_buf.tag = iconSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (iconSecondary_buf_runtimeType)) + value.dimension = dimension_buf; + const auto temporary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean temporary_buf = {}; + temporary_buf.tag = temporary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (temporary_buf_runtimeType)) { - const Ark_Int8 iconSecondary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor iconSecondary_buf_ = {}; - iconSecondary_buf_.selector = iconSecondary_buf__selector; - if (iconSecondary_buf__selector == 0) { - iconSecondary_buf_.selector = 0; - iconSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (iconSecondary_buf__selector == 1) { - iconSecondary_buf_.selector = 1; - iconSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (iconSecondary_buf__selector == 2) { - iconSecondary_buf_.selector = 2; - iconSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (iconSecondary_buf__selector == 3) { - iconSecondary_buf_.selector = 3; - iconSecondary_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for iconSecondary_buf_ has to be chosen through deserialisation."); - } - iconSecondary_buf.value = static_cast(iconSecondary_buf_); + temporary_buf.value = valueDeserializer.readBoolean(); } - value.iconSecondary = iconSecondary_buf; - const auto iconTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor iconTertiary_buf = {}; - iconTertiary_buf.tag = iconTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (iconTertiary_buf_runtimeType)) + value.temporary = temporary_buf; + const auto want_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Want want_buf = {}; + want_buf.tag = want_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (want_buf_runtimeType)) { - const Ark_Int8 iconTertiary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor iconTertiary_buf_ = {}; - iconTertiary_buf_.selector = iconTertiary_buf__selector; - if (iconTertiary_buf__selector == 0) { - iconTertiary_buf_.selector = 0; - iconTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (iconTertiary_buf__selector == 1) { - iconTertiary_buf_.selector = 1; - iconTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (iconTertiary_buf__selector == 2) { - iconTertiary_buf_.selector = 2; - iconTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (iconTertiary_buf__selector == 3) { - iconTertiary_buf_.selector = 3; - iconTertiary_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for iconTertiary_buf_ has to be chosen through deserialisation."); - } - iconTertiary_buf.value = static_cast(iconTertiary_buf_); + want_buf.value = valueDeserializer.readWant(); } - value.iconTertiary = iconTertiary_buf; - const auto iconFourth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor iconFourth_buf = {}; - iconFourth_buf.tag = iconFourth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (iconFourth_buf_runtimeType)) + value.want = want_buf; + const auto renderingMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FormRenderingMode renderingMode_buf = {}; + renderingMode_buf.tag = renderingMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (renderingMode_buf_runtimeType)) { - const Ark_Int8 iconFourth_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor iconFourth_buf_ = {}; - iconFourth_buf_.selector = iconFourth_buf__selector; - if (iconFourth_buf__selector == 0) { - iconFourth_buf_.selector = 0; - iconFourth_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (iconFourth_buf__selector == 1) { - iconFourth_buf_.selector = 1; - iconFourth_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (iconFourth_buf__selector == 2) { - iconFourth_buf_.selector = 2; - iconFourth_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (iconFourth_buf__selector == 3) { - iconFourth_buf_.selector = 3; - iconFourth_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for iconFourth_buf_ has to be chosen through deserialisation."); - } - iconFourth_buf.value = static_cast(iconFourth_buf_); + renderingMode_buf.value = static_cast(valueDeserializer.readInt32()); } - value.iconFourth = iconFourth_buf; - const auto iconEmphasize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor iconEmphasize_buf = {}; - iconEmphasize_buf.tag = iconEmphasize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (iconEmphasize_buf_runtimeType)) + value.renderingMode = renderingMode_buf; + const auto shape_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FormShape shape_buf = {}; + shape_buf.tag = shape_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (shape_buf_runtimeType)) { - const Ark_Int8 iconEmphasize_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor iconEmphasize_buf_ = {}; - iconEmphasize_buf_.selector = iconEmphasize_buf__selector; - if (iconEmphasize_buf__selector == 0) { - iconEmphasize_buf_.selector = 0; - iconEmphasize_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (iconEmphasize_buf__selector == 1) { - iconEmphasize_buf_.selector = 1; - iconEmphasize_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (iconEmphasize_buf__selector == 2) { - iconEmphasize_buf_.selector = 2; - iconEmphasize_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (iconEmphasize_buf__selector == 3) { - iconEmphasize_buf_.selector = 3; - iconEmphasize_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for iconEmphasize_buf_ has to be chosen through deserialisation."); - } - iconEmphasize_buf.value = static_cast(iconEmphasize_buf_); + shape_buf.value = static_cast(valueDeserializer.readInt32()); } - value.iconEmphasize = iconEmphasize_buf; - const auto iconSubEmphasize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor iconSubEmphasize_buf = {}; - iconSubEmphasize_buf.tag = iconSubEmphasize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (iconSubEmphasize_buf_runtimeType)) + value.shape = shape_buf; + return value; + } + Ark_GaugeShadowOptions readGaugeShadowOptions() + { + Ark_GaugeShadowOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_Resource radius_buf = {}; + radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) { - const Ark_Int8 iconSubEmphasize_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor iconSubEmphasize_buf_ = {}; - iconSubEmphasize_buf_.selector = iconSubEmphasize_buf__selector; - if (iconSubEmphasize_buf__selector == 0) { - iconSubEmphasize_buf_.selector = 0; - iconSubEmphasize_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (iconSubEmphasize_buf__selector == 1) { - iconSubEmphasize_buf_.selector = 1; - iconSubEmphasize_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (iconSubEmphasize_buf__selector == 2) { - iconSubEmphasize_buf_.selector = 2; - iconSubEmphasize_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 radius_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_Resource radius_buf_ = {}; + radius_buf_.selector = radius_buf__selector; + if (radius_buf__selector == 0) { + radius_buf_.selector = 0; + radius_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (iconSubEmphasize_buf__selector == 3) { - iconSubEmphasize_buf_.selector = 3; - iconSubEmphasize_buf_.value3 = valueDeserializer.readResource(); + else if (radius_buf__selector == 1) { + radius_buf_.selector = 1; + radius_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for iconSubEmphasize_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); } - iconSubEmphasize_buf.value = static_cast(iconSubEmphasize_buf_); + radius_buf.value = static_cast(radius_buf_); } - value.iconSubEmphasize = iconSubEmphasize_buf; - const auto iconOnPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor iconOnPrimary_buf = {}; - iconOnPrimary_buf.tag = iconOnPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (iconOnPrimary_buf_runtimeType)) + value.radius = radius_buf; + const auto offsetX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_Resource offsetX_buf = {}; + offsetX_buf.tag = offsetX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offsetX_buf_runtimeType)) { - const Ark_Int8 iconOnPrimary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor iconOnPrimary_buf_ = {}; - iconOnPrimary_buf_.selector = iconOnPrimary_buf__selector; - if (iconOnPrimary_buf__selector == 0) { - iconOnPrimary_buf_.selector = 0; - iconOnPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (iconOnPrimary_buf__selector == 1) { - iconOnPrimary_buf_.selector = 1; - iconOnPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (iconOnPrimary_buf__selector == 2) { - iconOnPrimary_buf_.selector = 2; - iconOnPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 offsetX_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_Resource offsetX_buf_ = {}; + offsetX_buf_.selector = offsetX_buf__selector; + if (offsetX_buf__selector == 0) { + offsetX_buf_.selector = 0; + offsetX_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (iconOnPrimary_buf__selector == 3) { - iconOnPrimary_buf_.selector = 3; - iconOnPrimary_buf_.value3 = valueDeserializer.readResource(); + else if (offsetX_buf__selector == 1) { + offsetX_buf_.selector = 1; + offsetX_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for iconOnPrimary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for offsetX_buf_ has to be chosen through deserialisation."); } - iconOnPrimary_buf.value = static_cast(iconOnPrimary_buf_); + offsetX_buf.value = static_cast(offsetX_buf_); } - value.iconOnPrimary = iconOnPrimary_buf; - const auto iconOnSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor iconOnSecondary_buf = {}; - iconOnSecondary_buf.tag = iconOnSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (iconOnSecondary_buf_runtimeType)) + value.offsetX = offsetX_buf; + const auto offsetY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_Resource offsetY_buf = {}; + offsetY_buf.tag = offsetY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offsetY_buf_runtimeType)) { - const Ark_Int8 iconOnSecondary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor iconOnSecondary_buf_ = {}; - iconOnSecondary_buf_.selector = iconOnSecondary_buf__selector; - if (iconOnSecondary_buf__selector == 0) { - iconOnSecondary_buf_.selector = 0; - iconOnSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (iconOnSecondary_buf__selector == 1) { - iconOnSecondary_buf_.selector = 1; - iconOnSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (iconOnSecondary_buf__selector == 2) { - iconOnSecondary_buf_.selector = 2; - iconOnSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 offsetY_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_Resource offsetY_buf_ = {}; + offsetY_buf_.selector = offsetY_buf__selector; + if (offsetY_buf__selector == 0) { + offsetY_buf_.selector = 0; + offsetY_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (iconOnSecondary_buf__selector == 3) { - iconOnSecondary_buf_.selector = 3; - iconOnSecondary_buf_.value3 = valueDeserializer.readResource(); + else if (offsetY_buf__selector == 1) { + offsetY_buf_.selector = 1; + offsetY_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for iconOnSecondary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for offsetY_buf_ has to be chosen through deserialisation."); } - iconOnSecondary_buf.value = static_cast(iconOnSecondary_buf_); + offsetY_buf.value = static_cast(offsetY_buf_); } - value.iconOnSecondary = iconOnSecondary_buf; - const auto iconOnTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor iconOnTertiary_buf = {}; - iconOnTertiary_buf.tag = iconOnTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (iconOnTertiary_buf_runtimeType)) + value.offsetY = offsetY_buf; + return value; + } + Ark_GridColOptions readGridColOptions() + { + Ark_GridColOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto span_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_GridColColumnOption span_buf = {}; + span_buf.tag = span_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (span_buf_runtimeType)) { - const Ark_Int8 iconOnTertiary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor iconOnTertiary_buf_ = {}; - iconOnTertiary_buf_.selector = iconOnTertiary_buf__selector; - if (iconOnTertiary_buf__selector == 0) { - iconOnTertiary_buf_.selector = 0; - iconOnTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (iconOnTertiary_buf__selector == 1) { - iconOnTertiary_buf_.selector = 1; - iconOnTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (iconOnTertiary_buf__selector == 2) { - iconOnTertiary_buf_.selector = 2; - iconOnTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 span_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_GridColColumnOption span_buf_ = {}; + span_buf_.selector = span_buf__selector; + if (span_buf__selector == 0) { + span_buf_.selector = 0; + span_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (iconOnTertiary_buf__selector == 3) { - iconOnTertiary_buf_.selector = 3; - iconOnTertiary_buf_.value3 = valueDeserializer.readResource(); + else if (span_buf__selector == 1) { + span_buf_.selector = 1; + span_buf_.value1 = valueDeserializer.readGridColColumnOption(); } else { - INTEROP_FATAL("One of the branches for iconOnTertiary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for span_buf_ has to be chosen through deserialisation."); } - iconOnTertiary_buf.value = static_cast(iconOnTertiary_buf_); + span_buf.value = static_cast(span_buf_); } - value.iconOnTertiary = iconOnTertiary_buf; - const auto iconOnFourth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor iconOnFourth_buf = {}; - iconOnFourth_buf.tag = iconOnFourth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (iconOnFourth_buf_runtimeType)) + value.span = span_buf; + const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_GridColColumnOption offset_buf = {}; + offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - const Ark_Int8 iconOnFourth_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor iconOnFourth_buf_ = {}; - iconOnFourth_buf_.selector = iconOnFourth_buf__selector; - if (iconOnFourth_buf__selector == 0) { - iconOnFourth_buf_.selector = 0; - iconOnFourth_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (iconOnFourth_buf__selector == 1) { - iconOnFourth_buf_.selector = 1; - iconOnFourth_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (iconOnFourth_buf__selector == 2) { - iconOnFourth_buf_.selector = 2; - iconOnFourth_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 offset_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_GridColColumnOption offset_buf_ = {}; + offset_buf_.selector = offset_buf__selector; + if (offset_buf__selector == 0) { + offset_buf_.selector = 0; + offset_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (iconOnFourth_buf__selector == 3) { - iconOnFourth_buf_.selector = 3; - iconOnFourth_buf_.value3 = valueDeserializer.readResource(); + else if (offset_buf__selector == 1) { + offset_buf_.selector = 1; + offset_buf_.value1 = valueDeserializer.readGridColColumnOption(); } else { - INTEROP_FATAL("One of the branches for iconOnFourth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for offset_buf_ has to be chosen through deserialisation."); } - iconOnFourth_buf.value = static_cast(iconOnFourth_buf_); + offset_buf.value = static_cast(offset_buf_); } - value.iconOnFourth = iconOnFourth_buf; - const auto backgroundPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor backgroundPrimary_buf = {}; - backgroundPrimary_buf.tag = backgroundPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundPrimary_buf_runtimeType)) + value.offset = offset_buf; + const auto order_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_GridColColumnOption order_buf = {}; + order_buf.tag = order_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (order_buf_runtimeType)) { - const Ark_Int8 backgroundPrimary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor backgroundPrimary_buf_ = {}; - backgroundPrimary_buf_.selector = backgroundPrimary_buf__selector; - if (backgroundPrimary_buf__selector == 0) { - backgroundPrimary_buf_.selector = 0; - backgroundPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (backgroundPrimary_buf__selector == 1) { - backgroundPrimary_buf_.selector = 1; - backgroundPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (backgroundPrimary_buf__selector == 2) { - backgroundPrimary_buf_.selector = 2; - backgroundPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 order_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_GridColColumnOption order_buf_ = {}; + order_buf_.selector = order_buf__selector; + if (order_buf__selector == 0) { + order_buf_.selector = 0; + order_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (backgroundPrimary_buf__selector == 3) { - backgroundPrimary_buf_.selector = 3; - backgroundPrimary_buf_.value3 = valueDeserializer.readResource(); + else if (order_buf__selector == 1) { + order_buf_.selector = 1; + order_buf_.value1 = valueDeserializer.readGridColColumnOption(); } else { - INTEROP_FATAL("One of the branches for backgroundPrimary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for order_buf_ has to be chosen through deserialisation."); } - backgroundPrimary_buf.value = static_cast(backgroundPrimary_buf_); + order_buf.value = static_cast(order_buf_); + } + value.order = order_buf; + return value; + } + Ark_HistoricalPoint readHistoricalPoint() + { + Ark_HistoricalPoint value = {}; + Deserializer& valueDeserializer = *this; + value.touchObject = valueDeserializer.readTouchObject(); + value.size = static_cast(valueDeserializer.readNumber()); + value.force = static_cast(valueDeserializer.readNumber()); + value.timestamp = valueDeserializer.readInt64(); + return value; + } + Ark_ImageFrameInfo readImageFrameInfo() + { + Ark_ImageFrameInfo value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 src_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource_PixelMap src_buf = {}; + src_buf.selector = src_buf_selector; + if (src_buf_selector == 0) { + src_buf.selector = 0; + src_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (src_buf_selector == 1) { + src_buf.selector = 1; + src_buf.value1 = valueDeserializer.readResource(); + } + else if (src_buf_selector == 2) { + src_buf.selector = 2; + src_buf.value2 = static_cast(valueDeserializer.readPixelMap()); } - value.backgroundPrimary = backgroundPrimary_buf; - const auto backgroundSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor backgroundSecondary_buf = {}; - backgroundSecondary_buf.tag = backgroundSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundSecondary_buf_runtimeType)) + else { + INTEROP_FATAL("One of the branches for src_buf has to be chosen through deserialisation."); + } + value.src = static_cast(src_buf); + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { - const Ark_Int8 backgroundSecondary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor backgroundSecondary_buf_ = {}; - backgroundSecondary_buf_.selector = backgroundSecondary_buf__selector; - if (backgroundSecondary_buf__selector == 0) { - backgroundSecondary_buf_.selector = 0; - backgroundSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (backgroundSecondary_buf__selector == 1) { - backgroundSecondary_buf_.selector = 1; - backgroundSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (backgroundSecondary_buf__selector == 2) { - backgroundSecondary_buf_.selector = 2; - backgroundSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (backgroundSecondary_buf__selector == 3) { - backgroundSecondary_buf_.selector = 3; - backgroundSecondary_buf_.value3 = valueDeserializer.readResource(); + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for backgroundSecondary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - backgroundSecondary_buf.value = static_cast(backgroundSecondary_buf_); + width_buf.value = static_cast(width_buf_); } - value.backgroundSecondary = backgroundSecondary_buf; - const auto backgroundTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor backgroundTertiary_buf = {}; - backgroundTertiary_buf.tag = backgroundTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundTertiary_buf_runtimeType)) + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { - const Ark_Int8 backgroundTertiary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor backgroundTertiary_buf_ = {}; - backgroundTertiary_buf_.selector = backgroundTertiary_buf__selector; - if (backgroundTertiary_buf__selector == 0) { - backgroundTertiary_buf_.selector = 0; - backgroundTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (backgroundTertiary_buf__selector == 1) { - backgroundTertiary_buf_.selector = 1; - backgroundTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (backgroundTertiary_buf__selector == 2) { - backgroundTertiary_buf_.selector = 2; - backgroundTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (backgroundTertiary_buf__selector == 3) { - backgroundTertiary_buf_.selector = 3; - backgroundTertiary_buf_.value3 = valueDeserializer.readResource(); + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for backgroundTertiary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); } - backgroundTertiary_buf.value = static_cast(backgroundTertiary_buf_); + height_buf.value = static_cast(height_buf_); } - value.backgroundTertiary = backgroundTertiary_buf; - const auto backgroundFourth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor backgroundFourth_buf = {}; - backgroundFourth_buf.tag = backgroundFourth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundFourth_buf_runtimeType)) + value.height = height_buf; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { - const Ark_Int8 backgroundFourth_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor backgroundFourth_buf_ = {}; - backgroundFourth_buf_.selector = backgroundFourth_buf__selector; - if (backgroundFourth_buf__selector == 0) { - backgroundFourth_buf_.selector = 0; - backgroundFourth_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (backgroundFourth_buf__selector == 1) { - backgroundFourth_buf_.selector = 1; - backgroundFourth_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (backgroundFourth_buf__selector == 2) { - backgroundFourth_buf_.selector = 2; - backgroundFourth_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String top_buf_ = {}; + top_buf_.selector = top_buf__selector; + if (top_buf__selector == 0) { + top_buf_.selector = 0; + top_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (backgroundFourth_buf__selector == 3) { - backgroundFourth_buf_.selector = 3; - backgroundFourth_buf_.value3 = valueDeserializer.readResource(); + else if (top_buf__selector == 1) { + top_buf_.selector = 1; + top_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for backgroundFourth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); } - backgroundFourth_buf.value = static_cast(backgroundFourth_buf_); + top_buf.value = static_cast(top_buf_); } - value.backgroundFourth = backgroundFourth_buf; - const auto backgroundEmphasize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor backgroundEmphasize_buf = {}; - backgroundEmphasize_buf.tag = backgroundEmphasize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEmphasize_buf_runtimeType)) + value.top = top_buf; + const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String left_buf = {}; + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) { - const Ark_Int8 backgroundEmphasize_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor backgroundEmphasize_buf_ = {}; - backgroundEmphasize_buf_.selector = backgroundEmphasize_buf__selector; - if (backgroundEmphasize_buf__selector == 0) { - backgroundEmphasize_buf_.selector = 0; - backgroundEmphasize_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (backgroundEmphasize_buf__selector == 1) { - backgroundEmphasize_buf_.selector = 1; - backgroundEmphasize_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (backgroundEmphasize_buf__selector == 2) { - backgroundEmphasize_buf_.selector = 2; - backgroundEmphasize_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 left_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String left_buf_ = {}; + left_buf_.selector = left_buf__selector; + if (left_buf__selector == 0) { + left_buf_.selector = 0; + left_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (backgroundEmphasize_buf__selector == 3) { - backgroundEmphasize_buf_.selector = 3; - backgroundEmphasize_buf_.value3 = valueDeserializer.readResource(); + else if (left_buf__selector == 1) { + left_buf_.selector = 1; + left_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for backgroundEmphasize_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for left_buf_ has to be chosen through deserialisation."); } - backgroundEmphasize_buf.value = static_cast(backgroundEmphasize_buf_); + left_buf.value = static_cast(left_buf_); } - value.backgroundEmphasize = backgroundEmphasize_buf; - const auto compForegroundPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compForegroundPrimary_buf = {}; - compForegroundPrimary_buf.tag = compForegroundPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compForegroundPrimary_buf_runtimeType)) + value.left = left_buf; + const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number duration_buf = {}; + duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) { - const Ark_Int8 compForegroundPrimary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compForegroundPrimary_buf_ = {}; - compForegroundPrimary_buf_.selector = compForegroundPrimary_buf__selector; - if (compForegroundPrimary_buf__selector == 0) { - compForegroundPrimary_buf_.selector = 0; - compForegroundPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (compForegroundPrimary_buf__selector == 1) { - compForegroundPrimary_buf_.selector = 1; - compForegroundPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (compForegroundPrimary_buf__selector == 2) { - compForegroundPrimary_buf_.selector = 2; - compForegroundPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (compForegroundPrimary_buf__selector == 3) { - compForegroundPrimary_buf_.selector = 3; - compForegroundPrimary_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for compForegroundPrimary_buf_ has to be chosen through deserialisation."); + duration_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.duration = duration_buf; + return value; + } + Ark_JavaScriptProxy readJavaScriptProxy() + { + Ark_JavaScriptProxy value = {}; + Deserializer& valueDeserializer = *this; + value.object_ = static_cast(valueDeserializer.readObject()); + value.name = static_cast(valueDeserializer.readString()); + const Ark_Int32 methodList_buf_length = valueDeserializer.readInt32(); + Array_String methodList_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&methodList_buf, methodList_buf_length); + for (int methodList_buf_i = 0; methodList_buf_i < methodList_buf_length; methodList_buf_i++) { + methodList_buf.array[methodList_buf_i] = static_cast(valueDeserializer.readString()); + } + value.methodList = methodList_buf; + const Ark_Int8 controller_buf_selector = valueDeserializer.readInt8(); + Ark_Union_WebController_WebviewController controller_buf = {}; + controller_buf.selector = controller_buf_selector; + if (controller_buf_selector == 0) { + controller_buf.selector = 0; + controller_buf.value0 = static_cast(valueDeserializer.readWebController()); + } + else if (controller_buf_selector == 1) { + controller_buf.selector = 1; + controller_buf.value1 = static_cast(valueDeserializer.readWebviewController()); + } + else { + INTEROP_FATAL("One of the branches for controller_buf has to be chosen through deserialisation."); + } + value.controller = static_cast(controller_buf); + const auto asyncMethodList_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_String asyncMethodList_buf = {}; + asyncMethodList_buf.tag = asyncMethodList_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (asyncMethodList_buf_runtimeType)) + { + const Ark_Int32 asyncMethodList_buf__length = valueDeserializer.readInt32(); + Array_String asyncMethodList_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&asyncMethodList_buf_, asyncMethodList_buf__length); + for (int asyncMethodList_buf__i = 0; asyncMethodList_buf__i < asyncMethodList_buf__length; asyncMethodList_buf__i++) { + asyncMethodList_buf_.array[asyncMethodList_buf__i] = static_cast(valueDeserializer.readString()); } - compForegroundPrimary_buf.value = static_cast(compForegroundPrimary_buf_); + asyncMethodList_buf.value = asyncMethodList_buf_; } - value.compForegroundPrimary = compForegroundPrimary_buf; - const auto compBackgroundPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compBackgroundPrimary_buf = {}; - compBackgroundPrimary_buf.tag = compBackgroundPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundPrimary_buf_runtimeType)) + value.asyncMethodList = asyncMethodList_buf; + const auto permission_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String permission_buf = {}; + permission_buf.tag = permission_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (permission_buf_runtimeType)) { - const Ark_Int8 compBackgroundPrimary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compBackgroundPrimary_buf_ = {}; - compBackgroundPrimary_buf_.selector = compBackgroundPrimary_buf__selector; - if (compBackgroundPrimary_buf__selector == 0) { - compBackgroundPrimary_buf_.selector = 0; - compBackgroundPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); + permission_buf.value = static_cast(valueDeserializer.readString()); + } + value.permission = permission_buf; + return value; + } + Ark_LengthConstrain readLengthConstrain() + { + Ark_LengthConstrain value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 minLength_buf_selector = valueDeserializer.readInt8(); + Ark_Length minLength_buf = {}; + minLength_buf.selector = minLength_buf_selector; + if (minLength_buf_selector == 0) { + minLength_buf.selector = 0; + minLength_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (minLength_buf_selector == 1) { + minLength_buf.selector = 1; + minLength_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (minLength_buf_selector == 2) { + minLength_buf.selector = 2; + minLength_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for minLength_buf has to be chosen through deserialisation."); + } + value.minLength = static_cast(minLength_buf); + const Ark_Int8 maxLength_buf_selector = valueDeserializer.readInt8(); + Ark_Length maxLength_buf = {}; + maxLength_buf.selector = maxLength_buf_selector; + if (maxLength_buf_selector == 0) { + maxLength_buf.selector = 0; + maxLength_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (maxLength_buf_selector == 1) { + maxLength_buf.selector = 1; + maxLength_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (maxLength_buf_selector == 2) { + maxLength_buf.selector = 2; + maxLength_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for maxLength_buf has to be chosen through deserialisation."); + } + value.maxLength = static_cast(maxLength_buf); + return value; + } + Ark_LightSource readLightSource() + { + Ark_LightSource value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 positionX_buf_selector = valueDeserializer.readInt8(); + Ark_Dimension positionX_buf = {}; + positionX_buf.selector = positionX_buf_selector; + if (positionX_buf_selector == 0) { + positionX_buf.selector = 0; + positionX_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (positionX_buf_selector == 1) { + positionX_buf.selector = 1; + positionX_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (positionX_buf_selector == 2) { + positionX_buf.selector = 2; + positionX_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for positionX_buf has to be chosen through deserialisation."); + } + value.positionX = static_cast(positionX_buf); + const Ark_Int8 positionY_buf_selector = valueDeserializer.readInt8(); + Ark_Dimension positionY_buf = {}; + positionY_buf.selector = positionY_buf_selector; + if (positionY_buf_selector == 0) { + positionY_buf.selector = 0; + positionY_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (positionY_buf_selector == 1) { + positionY_buf.selector = 1; + positionY_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (positionY_buf_selector == 2) { + positionY_buf.selector = 2; + positionY_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for positionY_buf has to be chosen through deserialisation."); + } + value.positionY = static_cast(positionY_buf); + const Ark_Int8 positionZ_buf_selector = valueDeserializer.readInt8(); + Ark_Dimension positionZ_buf = {}; + positionZ_buf.selector = positionZ_buf_selector; + if (positionZ_buf_selector == 0) { + positionZ_buf.selector = 0; + positionZ_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (positionZ_buf_selector == 1) { + positionZ_buf.selector = 1; + positionZ_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (positionZ_buf_selector == 2) { + positionZ_buf.selector = 2; + positionZ_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for positionZ_buf has to be chosen through deserialisation."); + } + value.positionZ = static_cast(positionZ_buf); + value.intensity = static_cast(valueDeserializer.readNumber()); + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + { + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (compBackgroundPrimary_buf__selector == 1) { - compBackgroundPrimary_buf_.selector = 1; - compBackgroundPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (compBackgroundPrimary_buf__selector == 2) { - compBackgroundPrimary_buf_.selector = 2; - compBackgroundPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (compBackgroundPrimary_buf__selector == 3) { - compBackgroundPrimary_buf_.selector = 3; - compBackgroundPrimary_buf_.value3 = valueDeserializer.readResource(); + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for compBackgroundPrimary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); } - compBackgroundPrimary_buf.value = static_cast(compBackgroundPrimary_buf_); + color_buf.value = static_cast(color_buf_); + } + value.color = color_buf; + return value; + } + Ark_LinearIndicatorStyle readLinearIndicatorStyle() + { + Ark_LinearIndicatorStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics space_buf = {}; + space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + { + space_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.space = space_buf; + const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics strokeWidth_buf = {}; + strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + strokeWidth_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.strokeWidth = strokeWidth_buf; + const auto strokeRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics strokeRadius_buf = {}; + strokeRadius_buf.tag = strokeRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeRadius_buf_runtimeType)) + { + strokeRadius_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.strokeRadius = strokeRadius_buf; + const auto trackBackgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ColorMetrics trackBackgroundColor_buf = {}; + trackBackgroundColor_buf.tag = trackBackgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (trackBackgroundColor_buf_runtimeType)) + { + trackBackgroundColor_buf.value = static_cast(valueDeserializer.readColorMetrics()); + } + value.trackBackgroundColor = trackBackgroundColor_buf; + const auto trackColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ColorMetrics trackColor_buf = {}; + trackColor_buf.tag = trackColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (trackColor_buf_runtimeType)) + { + trackColor_buf.value = static_cast(valueDeserializer.readColorMetrics()); + } + value.trackColor = trackColor_buf; + return value; + } + Ark_LocalizedAlignRuleOptions readLocalizedAlignRuleOptions() + { + Ark_LocalizedAlignRuleOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LocalizedHorizontalAlignParam start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = valueDeserializer.readLocalizedHorizontalAlignParam(); + } + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LocalizedHorizontalAlignParam end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = valueDeserializer.readLocalizedHorizontalAlignParam(); + } + value.end = end_buf; + const auto middle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LocalizedHorizontalAlignParam middle_buf = {}; + middle_buf.tag = middle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (middle_buf_runtimeType)) + { + middle_buf.value = valueDeserializer.readLocalizedHorizontalAlignParam(); + } + value.middle = middle_buf; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LocalizedVerticalAlignParam top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + { + top_buf.value = valueDeserializer.readLocalizedVerticalAlignParam(); + } + value.top = top_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LocalizedVerticalAlignParam bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf.value = valueDeserializer.readLocalizedVerticalAlignParam(); + } + value.bottom = bottom_buf; + const auto center_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LocalizedVerticalAlignParam center_buf = {}; + center_buf.tag = center_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (center_buf_runtimeType)) + { + center_buf.value = valueDeserializer.readLocalizedVerticalAlignParam(); + } + value.center = center_buf; + const auto bias_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Bias bias_buf = {}; + bias_buf.tag = bias_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bias_buf_runtimeType)) + { + bias_buf.value = valueDeserializer.readBias(); + } + value.bias = bias_buf; + return value; + } + Ark_LocalizedBorderRadiuses readLocalizedBorderRadiuses() + { + Ark_LocalizedBorderRadiuses value = {}; + Deserializer& valueDeserializer = *this; + const auto topStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics topStart_buf = {}; + topStart_buf.tag = topStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (topStart_buf_runtimeType)) + { + topStart_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.topStart = topStart_buf; + const auto topEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics topEnd_buf = {}; + topEnd_buf.tag = topEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (topEnd_buf_runtimeType)) + { + topEnd_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.topEnd = topEnd_buf; + const auto bottomStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics bottomStart_buf = {}; + bottomStart_buf.tag = bottomStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottomStart_buf_runtimeType)) + { + bottomStart_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.bottomStart = bottomStart_buf; + const auto bottomEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics bottomEnd_buf = {}; + bottomEnd_buf.tag = bottomEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottomEnd_buf_runtimeType)) + { + bottomEnd_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } - value.compBackgroundPrimary = compBackgroundPrimary_buf; - const auto compBackgroundPrimaryTran_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compBackgroundPrimaryTran_buf = {}; - compBackgroundPrimaryTran_buf.tag = compBackgroundPrimaryTran_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundPrimaryTran_buf_runtimeType)) + value.bottomEnd = bottomEnd_buf; + return value; + } + Ark_LocalizedEdgeColors readLocalizedEdgeColors() + { + Ark_LocalizedEdgeColors value = {}; + Deserializer& valueDeserializer = *this; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { - const Ark_Int8 compBackgroundPrimaryTran_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compBackgroundPrimaryTran_buf_ = {}; - compBackgroundPrimaryTran_buf_.selector = compBackgroundPrimaryTran_buf__selector; - if (compBackgroundPrimaryTran_buf__selector == 0) { - compBackgroundPrimaryTran_buf_.selector = 0; - compBackgroundPrimaryTran_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor top_buf_ = {}; + top_buf_.selector = top_buf__selector; + if (top_buf__selector == 0) { + top_buf_.selector = 0; + top_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (compBackgroundPrimaryTran_buf__selector == 1) { - compBackgroundPrimaryTran_buf_.selector = 1; - compBackgroundPrimaryTran_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (top_buf__selector == 1) { + top_buf_.selector = 1; + top_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (compBackgroundPrimaryTran_buf__selector == 2) { - compBackgroundPrimaryTran_buf_.selector = 2; - compBackgroundPrimaryTran_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (top_buf__selector == 2) { + top_buf_.selector = 2; + top_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (compBackgroundPrimaryTran_buf__selector == 3) { - compBackgroundPrimaryTran_buf_.selector = 3; - compBackgroundPrimaryTran_buf_.value3 = valueDeserializer.readResource(); + else if (top_buf__selector == 3) { + top_buf_.selector = 3; + top_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for compBackgroundPrimaryTran_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); } - compBackgroundPrimaryTran_buf.value = static_cast(compBackgroundPrimaryTran_buf_); + top_buf.value = static_cast(top_buf_); } - value.compBackgroundPrimaryTran = compBackgroundPrimaryTran_buf; - const auto compBackgroundPrimaryContrary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compBackgroundPrimaryContrary_buf = {}; - compBackgroundPrimaryContrary_buf.tag = compBackgroundPrimaryContrary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundPrimaryContrary_buf_runtimeType)) + value.top = top_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) { - const Ark_Int8 compBackgroundPrimaryContrary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compBackgroundPrimaryContrary_buf_ = {}; - compBackgroundPrimaryContrary_buf_.selector = compBackgroundPrimaryContrary_buf__selector; - if (compBackgroundPrimaryContrary_buf__selector == 0) { - compBackgroundPrimaryContrary_buf_.selector = 0; - compBackgroundPrimaryContrary_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 end_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor end_buf_ = {}; + end_buf_.selector = end_buf__selector; + if (end_buf__selector == 0) { + end_buf_.selector = 0; + end_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (compBackgroundPrimaryContrary_buf__selector == 1) { - compBackgroundPrimaryContrary_buf_.selector = 1; - compBackgroundPrimaryContrary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (end_buf__selector == 1) { + end_buf_.selector = 1; + end_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (compBackgroundPrimaryContrary_buf__selector == 2) { - compBackgroundPrimaryContrary_buf_.selector = 2; - compBackgroundPrimaryContrary_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (end_buf__selector == 2) { + end_buf_.selector = 2; + end_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (compBackgroundPrimaryContrary_buf__selector == 3) { - compBackgroundPrimaryContrary_buf_.selector = 3; - compBackgroundPrimaryContrary_buf_.value3 = valueDeserializer.readResource(); + else if (end_buf__selector == 3) { + end_buf_.selector = 3; + end_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for compBackgroundPrimaryContrary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for end_buf_ has to be chosen through deserialisation."); } - compBackgroundPrimaryContrary_buf.value = static_cast(compBackgroundPrimaryContrary_buf_); + end_buf.value = static_cast(end_buf_); } - value.compBackgroundPrimaryContrary = compBackgroundPrimaryContrary_buf; - const auto compBackgroundGray_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compBackgroundGray_buf = {}; - compBackgroundGray_buf.tag = compBackgroundGray_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundGray_buf_runtimeType)) + value.end = end_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { - const Ark_Int8 compBackgroundGray_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compBackgroundGray_buf_ = {}; - compBackgroundGray_buf_.selector = compBackgroundGray_buf__selector; - if (compBackgroundGray_buf__selector == 0) { - compBackgroundGray_buf_.selector = 0; - compBackgroundGray_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 bottom_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor bottom_buf_ = {}; + bottom_buf_.selector = bottom_buf__selector; + if (bottom_buf__selector == 0) { + bottom_buf_.selector = 0; + bottom_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (compBackgroundGray_buf__selector == 1) { - compBackgroundGray_buf_.selector = 1; - compBackgroundGray_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (bottom_buf__selector == 1) { + bottom_buf_.selector = 1; + bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (compBackgroundGray_buf__selector == 2) { - compBackgroundGray_buf_.selector = 2; - compBackgroundGray_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (bottom_buf__selector == 2) { + bottom_buf_.selector = 2; + bottom_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (compBackgroundGray_buf__selector == 3) { - compBackgroundGray_buf_.selector = 3; - compBackgroundGray_buf_.value3 = valueDeserializer.readResource(); + else if (bottom_buf__selector == 3) { + bottom_buf_.selector = 3; + bottom_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for compBackgroundGray_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for bottom_buf_ has to be chosen through deserialisation."); } - compBackgroundGray_buf.value = static_cast(compBackgroundGray_buf_); + bottom_buf.value = static_cast(bottom_buf_); } - value.compBackgroundGray = compBackgroundGray_buf; - const auto compBackgroundSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compBackgroundSecondary_buf = {}; - compBackgroundSecondary_buf.tag = compBackgroundSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundSecondary_buf_runtimeType)) + value.bottom = bottom_buf; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) { - const Ark_Int8 compBackgroundSecondary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compBackgroundSecondary_buf_ = {}; - compBackgroundSecondary_buf_.selector = compBackgroundSecondary_buf__selector; - if (compBackgroundSecondary_buf__selector == 0) { - compBackgroundSecondary_buf_.selector = 0; - compBackgroundSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 start_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor start_buf_ = {}; + start_buf_.selector = start_buf__selector; + if (start_buf__selector == 0) { + start_buf_.selector = 0; + start_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (compBackgroundSecondary_buf__selector == 1) { - compBackgroundSecondary_buf_.selector = 1; - compBackgroundSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (start_buf__selector == 1) { + start_buf_.selector = 1; + start_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (compBackgroundSecondary_buf__selector == 2) { - compBackgroundSecondary_buf_.selector = 2; - compBackgroundSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (start_buf__selector == 2) { + start_buf_.selector = 2; + start_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (compBackgroundSecondary_buf__selector == 3) { - compBackgroundSecondary_buf_.selector = 3; - compBackgroundSecondary_buf_.value3 = valueDeserializer.readResource(); + else if (start_buf__selector == 3) { + start_buf_.selector = 3; + start_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for compBackgroundSecondary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for start_buf_ has to be chosen through deserialisation."); } - compBackgroundSecondary_buf.value = static_cast(compBackgroundSecondary_buf_); + start_buf.value = static_cast(start_buf_); } - value.compBackgroundSecondary = compBackgroundSecondary_buf; - const auto compBackgroundTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compBackgroundTertiary_buf = {}; - compBackgroundTertiary_buf.tag = compBackgroundTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundTertiary_buf_runtimeType)) + value.start = start_buf; + return value; + } + Ark_LocalizedEdges readLocalizedEdges() + { + Ark_LocalizedEdges value = {}; + Deserializer& valueDeserializer = *this; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { - const Ark_Int8 compBackgroundTertiary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compBackgroundTertiary_buf_ = {}; - compBackgroundTertiary_buf_.selector = compBackgroundTertiary_buf__selector; - if (compBackgroundTertiary_buf__selector == 0) { - compBackgroundTertiary_buf_.selector = 0; - compBackgroundTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (compBackgroundTertiary_buf__selector == 1) { - compBackgroundTertiary_buf_.selector = 1; - compBackgroundTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (compBackgroundTertiary_buf__selector == 2) { - compBackgroundTertiary_buf_.selector = 2; - compBackgroundTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (compBackgroundTertiary_buf__selector == 3) { - compBackgroundTertiary_buf_.selector = 3; - compBackgroundTertiary_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for compBackgroundTertiary_buf_ has to be chosen through deserialisation."); - } - compBackgroundTertiary_buf.value = static_cast(compBackgroundTertiary_buf_); + top_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } - value.compBackgroundTertiary = compBackgroundTertiary_buf; - const auto compBackgroundEmphasize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compBackgroundEmphasize_buf = {}; - compBackgroundEmphasize_buf.tag = compBackgroundEmphasize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundEmphasize_buf_runtimeType)) + value.top = top_buf; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) { - const Ark_Int8 compBackgroundEmphasize_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compBackgroundEmphasize_buf_ = {}; - compBackgroundEmphasize_buf_.selector = compBackgroundEmphasize_buf__selector; - if (compBackgroundEmphasize_buf__selector == 0) { - compBackgroundEmphasize_buf_.selector = 0; - compBackgroundEmphasize_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (compBackgroundEmphasize_buf__selector == 1) { - compBackgroundEmphasize_buf_.selector = 1; - compBackgroundEmphasize_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (compBackgroundEmphasize_buf__selector == 2) { - compBackgroundEmphasize_buf_.selector = 2; - compBackgroundEmphasize_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (compBackgroundEmphasize_buf__selector == 3) { - compBackgroundEmphasize_buf_.selector = 3; - compBackgroundEmphasize_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for compBackgroundEmphasize_buf_ has to be chosen through deserialisation."); - } - compBackgroundEmphasize_buf.value = static_cast(compBackgroundEmphasize_buf_); + start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } - value.compBackgroundEmphasize = compBackgroundEmphasize_buf; - const auto compBackgroundNeutral_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compBackgroundNeutral_buf = {}; - compBackgroundNeutral_buf.tag = compBackgroundNeutral_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundNeutral_buf_runtimeType)) + value.start = start_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { - const Ark_Int8 compBackgroundNeutral_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compBackgroundNeutral_buf_ = {}; - compBackgroundNeutral_buf_.selector = compBackgroundNeutral_buf__selector; - if (compBackgroundNeutral_buf__selector == 0) { - compBackgroundNeutral_buf_.selector = 0; - compBackgroundNeutral_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (compBackgroundNeutral_buf__selector == 1) { - compBackgroundNeutral_buf_.selector = 1; - compBackgroundNeutral_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (compBackgroundNeutral_buf__selector == 2) { - compBackgroundNeutral_buf_.selector = 2; - compBackgroundNeutral_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (compBackgroundNeutral_buf__selector == 3) { - compBackgroundNeutral_buf_.selector = 3; - compBackgroundNeutral_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for compBackgroundNeutral_buf_ has to be chosen through deserialisation."); - } - compBackgroundNeutral_buf.value = static_cast(compBackgroundNeutral_buf_); + bottom_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } - value.compBackgroundNeutral = compBackgroundNeutral_buf; - const auto compEmphasizeSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compEmphasizeSecondary_buf = {}; - compEmphasizeSecondary_buf.tag = compEmphasizeSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compEmphasizeSecondary_buf_runtimeType)) + value.bottom = bottom_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) { - const Ark_Int8 compEmphasizeSecondary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compEmphasizeSecondary_buf_ = {}; - compEmphasizeSecondary_buf_.selector = compEmphasizeSecondary_buf__selector; - if (compEmphasizeSecondary_buf__selector == 0) { - compEmphasizeSecondary_buf_.selector = 0; - compEmphasizeSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (compEmphasizeSecondary_buf__selector == 1) { - compEmphasizeSecondary_buf_.selector = 1; - compEmphasizeSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (compEmphasizeSecondary_buf__selector == 2) { - compEmphasizeSecondary_buf_.selector = 2; - compEmphasizeSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (compEmphasizeSecondary_buf__selector == 3) { - compEmphasizeSecondary_buf_.selector = 3; - compEmphasizeSecondary_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for compEmphasizeSecondary_buf_ has to be chosen through deserialisation."); - } - compEmphasizeSecondary_buf.value = static_cast(compEmphasizeSecondary_buf_); + end_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } - value.compEmphasizeSecondary = compEmphasizeSecondary_buf; - const auto compEmphasizeTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compEmphasizeTertiary_buf = {}; - compEmphasizeTertiary_buf.tag = compEmphasizeTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compEmphasizeTertiary_buf_runtimeType)) + value.end = end_buf; + return value; + } + Ark_LocalizedEdgeWidths readLocalizedEdgeWidths() + { + Ark_LocalizedEdgeWidths value = {}; + Deserializer& valueDeserializer = *this; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { - const Ark_Int8 compEmphasizeTertiary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compEmphasizeTertiary_buf_ = {}; - compEmphasizeTertiary_buf_.selector = compEmphasizeTertiary_buf__selector; - if (compEmphasizeTertiary_buf__selector == 0) { - compEmphasizeTertiary_buf_.selector = 0; - compEmphasizeTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (compEmphasizeTertiary_buf__selector == 1) { - compEmphasizeTertiary_buf_.selector = 1; - compEmphasizeTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (compEmphasizeTertiary_buf__selector == 2) { - compEmphasizeTertiary_buf_.selector = 2; - compEmphasizeTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (compEmphasizeTertiary_buf__selector == 3) { - compEmphasizeTertiary_buf_.selector = 3; - compEmphasizeTertiary_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for compEmphasizeTertiary_buf_ has to be chosen through deserialisation."); - } - compEmphasizeTertiary_buf.value = static_cast(compEmphasizeTertiary_buf_); + top_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } - value.compEmphasizeTertiary = compEmphasizeTertiary_buf; - const auto compDivider_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compDivider_buf = {}; - compDivider_buf.tag = compDivider_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compDivider_buf_runtimeType)) + value.top = top_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) { - const Ark_Int8 compDivider_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compDivider_buf_ = {}; - compDivider_buf_.selector = compDivider_buf__selector; - if (compDivider_buf__selector == 0) { - compDivider_buf_.selector = 0; - compDivider_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (compDivider_buf__selector == 1) { - compDivider_buf_.selector = 1; - compDivider_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (compDivider_buf__selector == 2) { - compDivider_buf_.selector = 2; - compDivider_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (compDivider_buf__selector == 3) { - compDivider_buf_.selector = 3; - compDivider_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for compDivider_buf_ has to be chosen through deserialisation."); - } - compDivider_buf.value = static_cast(compDivider_buf_); + end_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } - value.compDivider = compDivider_buf; - const auto compCommonContrary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compCommonContrary_buf = {}; - compCommonContrary_buf.tag = compCommonContrary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compCommonContrary_buf_runtimeType)) + value.end = end_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { - const Ark_Int8 compCommonContrary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compCommonContrary_buf_ = {}; - compCommonContrary_buf_.selector = compCommonContrary_buf__selector; - if (compCommonContrary_buf__selector == 0) { - compCommonContrary_buf_.selector = 0; - compCommonContrary_buf_.value0 = static_cast(valueDeserializer.readInt32()); + bottom_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.bottom = bottom_buf; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.start = start_buf; + return value; + } + Ark_LocalizedPadding readLocalizedPadding() + { + Ark_LocalizedPadding value = {}; + Deserializer& valueDeserializer = *this; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + { + top_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.top = top_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.end = end_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.bottom = bottom_buf; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.start = start_buf; + return value; + } + Ark_LocalizedPosition readLocalizedPosition() + { + Ark_LocalizedPosition value = {}; + Deserializer& valueDeserializer = *this; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.start = start_buf; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + { + top_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.top = top_buf; + return value; + } + Ark_LunarSwitchStyle readLunarSwitchStyle() + { + Ark_LunarSwitchStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto selectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor selectedColor_buf = {}; + selectedColor_buf.tag = selectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (selectedColor_buf_runtimeType)) + { + const Ark_Int8 selectedColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor selectedColor_buf_ = {}; + selectedColor_buf_.selector = selectedColor_buf__selector; + if (selectedColor_buf__selector == 0) { + selectedColor_buf_.selector = 0; + selectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (compCommonContrary_buf__selector == 1) { - compCommonContrary_buf_.selector = 1; - compCommonContrary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (selectedColor_buf__selector == 1) { + selectedColor_buf_.selector = 1; + selectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (compCommonContrary_buf__selector == 2) { - compCommonContrary_buf_.selector = 2; - compCommonContrary_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (selectedColor_buf__selector == 2) { + selectedColor_buf_.selector = 2; + selectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (compCommonContrary_buf__selector == 3) { - compCommonContrary_buf_.selector = 3; - compCommonContrary_buf_.value3 = valueDeserializer.readResource(); + else if (selectedColor_buf__selector == 3) { + selectedColor_buf_.selector = 3; + selectedColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for compCommonContrary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for selectedColor_buf_ has to be chosen through deserialisation."); } - compCommonContrary_buf.value = static_cast(compCommonContrary_buf_); + selectedColor_buf.value = static_cast(selectedColor_buf_); } - value.compCommonContrary = compCommonContrary_buf; - const auto compBackgroundFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compBackgroundFocus_buf = {}; - compBackgroundFocus_buf.tag = compBackgroundFocus_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compBackgroundFocus_buf_runtimeType)) + value.selectedColor = selectedColor_buf; + const auto unselectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor unselectedColor_buf = {}; + unselectedColor_buf.tag = unselectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (unselectedColor_buf_runtimeType)) { - const Ark_Int8 compBackgroundFocus_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compBackgroundFocus_buf_ = {}; - compBackgroundFocus_buf_.selector = compBackgroundFocus_buf__selector; - if (compBackgroundFocus_buf__selector == 0) { - compBackgroundFocus_buf_.selector = 0; - compBackgroundFocus_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 unselectedColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor unselectedColor_buf_ = {}; + unselectedColor_buf_.selector = unselectedColor_buf__selector; + if (unselectedColor_buf__selector == 0) { + unselectedColor_buf_.selector = 0; + unselectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (compBackgroundFocus_buf__selector == 1) { - compBackgroundFocus_buf_.selector = 1; - compBackgroundFocus_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (unselectedColor_buf__selector == 1) { + unselectedColor_buf_.selector = 1; + unselectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (compBackgroundFocus_buf__selector == 2) { - compBackgroundFocus_buf_.selector = 2; - compBackgroundFocus_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (unselectedColor_buf__selector == 2) { + unselectedColor_buf_.selector = 2; + unselectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (compBackgroundFocus_buf__selector == 3) { - compBackgroundFocus_buf_.selector = 3; - compBackgroundFocus_buf_.value3 = valueDeserializer.readResource(); + else if (unselectedColor_buf__selector == 3) { + unselectedColor_buf_.selector = 3; + unselectedColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for compBackgroundFocus_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation."); } - compBackgroundFocus_buf.value = static_cast(compBackgroundFocus_buf_); + unselectedColor_buf.value = static_cast(unselectedColor_buf_); } - value.compBackgroundFocus = compBackgroundFocus_buf; - const auto compFocusedPrimary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compFocusedPrimary_buf = {}; - compFocusedPrimary_buf.tag = compFocusedPrimary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compFocusedPrimary_buf_runtimeType)) + value.unselectedColor = unselectedColor_buf; + const auto strokeColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor strokeColor_buf = {}; + strokeColor_buf.tag = strokeColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeColor_buf_runtimeType)) { - const Ark_Int8 compFocusedPrimary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compFocusedPrimary_buf_ = {}; - compFocusedPrimary_buf_.selector = compFocusedPrimary_buf__selector; - if (compFocusedPrimary_buf__selector == 0) { - compFocusedPrimary_buf_.selector = 0; - compFocusedPrimary_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 strokeColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor strokeColor_buf_ = {}; + strokeColor_buf_.selector = strokeColor_buf__selector; + if (strokeColor_buf__selector == 0) { + strokeColor_buf_.selector = 0; + strokeColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (compFocusedPrimary_buf__selector == 1) { - compFocusedPrimary_buf_.selector = 1; - compFocusedPrimary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (strokeColor_buf__selector == 1) { + strokeColor_buf_.selector = 1; + strokeColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (compFocusedPrimary_buf__selector == 2) { - compFocusedPrimary_buf_.selector = 2; - compFocusedPrimary_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (strokeColor_buf__selector == 2) { + strokeColor_buf_.selector = 2; + strokeColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (compFocusedPrimary_buf__selector == 3) { - compFocusedPrimary_buf_.selector = 3; - compFocusedPrimary_buf_.value3 = valueDeserializer.readResource(); + else if (strokeColor_buf__selector == 3) { + strokeColor_buf_.selector = 3; + strokeColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for compFocusedPrimary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for strokeColor_buf_ has to be chosen through deserialisation."); } - compFocusedPrimary_buf.value = static_cast(compFocusedPrimary_buf_); + strokeColor_buf.value = static_cast(strokeColor_buf_); } - value.compFocusedPrimary = compFocusedPrimary_buf; - const auto compFocusedSecondary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compFocusedSecondary_buf = {}; - compFocusedSecondary_buf.tag = compFocusedSecondary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compFocusedSecondary_buf_runtimeType)) + value.strokeColor = strokeColor_buf; + return value; + } + Ark_MeasureOptions readMeasureOptions() + { + Ark_MeasureOptions value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 textContent_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource textContent_buf = {}; + textContent_buf.selector = textContent_buf_selector; + if (textContent_buf_selector == 0) { + textContent_buf.selector = 0; + textContent_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (textContent_buf_selector == 1) { + textContent_buf.selector = 1; + textContent_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for textContent_buf has to be chosen through deserialisation."); + } + value.textContent = static_cast(textContent_buf); + const auto constraintWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String_Resource constraintWidth_buf = {}; + constraintWidth_buf.tag = constraintWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (constraintWidth_buf_runtimeType)) { - const Ark_Int8 compFocusedSecondary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compFocusedSecondary_buf_ = {}; - compFocusedSecondary_buf_.selector = compFocusedSecondary_buf__selector; - if (compFocusedSecondary_buf__selector == 0) { - compFocusedSecondary_buf_.selector = 0; - compFocusedSecondary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (compFocusedSecondary_buf__selector == 1) { - compFocusedSecondary_buf_.selector = 1; - compFocusedSecondary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 constraintWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_Resource constraintWidth_buf_ = {}; + constraintWidth_buf_.selector = constraintWidth_buf__selector; + if (constraintWidth_buf__selector == 0) { + constraintWidth_buf_.selector = 0; + constraintWidth_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (compFocusedSecondary_buf__selector == 2) { - compFocusedSecondary_buf_.selector = 2; - compFocusedSecondary_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (constraintWidth_buf__selector == 1) { + constraintWidth_buf_.selector = 1; + constraintWidth_buf_.value1 = static_cast(valueDeserializer.readString()); } - else if (compFocusedSecondary_buf__selector == 3) { - compFocusedSecondary_buf_.selector = 3; - compFocusedSecondary_buf_.value3 = valueDeserializer.readResource(); + else if (constraintWidth_buf__selector == 2) { + constraintWidth_buf_.selector = 2; + constraintWidth_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for compFocusedSecondary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for constraintWidth_buf_ has to be chosen through deserialisation."); } - compFocusedSecondary_buf.value = static_cast(compFocusedSecondary_buf_); + constraintWidth_buf.value = static_cast(constraintWidth_buf_); } - value.compFocusedSecondary = compFocusedSecondary_buf; - const auto compFocusedTertiary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor compFocusedTertiary_buf = {}; - compFocusedTertiary_buf.tag = compFocusedTertiary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (compFocusedTertiary_buf_runtimeType)) + value.constraintWidth = constraintWidth_buf; + const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String_Resource fontSize_buf = {}; + fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) { - const Ark_Int8 compFocusedTertiary_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor compFocusedTertiary_buf_ = {}; - compFocusedTertiary_buf_.selector = compFocusedTertiary_buf__selector; - if (compFocusedTertiary_buf__selector == 0) { - compFocusedTertiary_buf_.selector = 0; - compFocusedTertiary_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (compFocusedTertiary_buf__selector == 1) { - compFocusedTertiary_buf_.selector = 1; - compFocusedTertiary_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 fontSize_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_Resource fontSize_buf_ = {}; + fontSize_buf_.selector = fontSize_buf__selector; + if (fontSize_buf__selector == 0) { + fontSize_buf_.selector = 0; + fontSize_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (compFocusedTertiary_buf__selector == 2) { - compFocusedTertiary_buf_.selector = 2; - compFocusedTertiary_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (fontSize_buf__selector == 1) { + fontSize_buf_.selector = 1; + fontSize_buf_.value1 = static_cast(valueDeserializer.readString()); } - else if (compFocusedTertiary_buf__selector == 3) { - compFocusedTertiary_buf_.selector = 3; - compFocusedTertiary_buf_.value3 = valueDeserializer.readResource(); + else if (fontSize_buf__selector == 2) { + fontSize_buf_.selector = 2; + fontSize_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for compFocusedTertiary_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontSize_buf_ has to be chosen through deserialisation."); } - compFocusedTertiary_buf.value = static_cast(compFocusedTertiary_buf_); + fontSize_buf.value = static_cast(fontSize_buf_); } - value.compFocusedTertiary = compFocusedTertiary_buf; - const auto interactiveHover_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor interactiveHover_buf = {}; - interactiveHover_buf.tag = interactiveHover_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (interactiveHover_buf_runtimeType)) + value.fontSize = fontSize_buf; + const auto fontStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_FontStyle fontStyle_buf = {}; + fontStyle_buf.tag = fontStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontStyle_buf_runtimeType)) { - const Ark_Int8 interactiveHover_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor interactiveHover_buf_ = {}; - interactiveHover_buf_.selector = interactiveHover_buf__selector; - if (interactiveHover_buf__selector == 0) { - interactiveHover_buf_.selector = 0; - interactiveHover_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (interactiveHover_buf__selector == 1) { - interactiveHover_buf_.selector = 1; - interactiveHover_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (interactiveHover_buf__selector == 2) { - interactiveHover_buf_.selector = 2; - interactiveHover_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 fontStyle_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_FontStyle fontStyle_buf_ = {}; + fontStyle_buf_.selector = fontStyle_buf__selector; + if (fontStyle_buf__selector == 0) { + fontStyle_buf_.selector = 0; + fontStyle_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (interactiveHover_buf__selector == 3) { - interactiveHover_buf_.selector = 3; - interactiveHover_buf_.value3 = valueDeserializer.readResource(); + else if (fontStyle_buf__selector == 1) { + fontStyle_buf_.selector = 1; + fontStyle_buf_.value1 = static_cast(valueDeserializer.readInt32()); } else { - INTEROP_FATAL("One of the branches for interactiveHover_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontStyle_buf_ has to be chosen through deserialisation."); } - interactiveHover_buf.value = static_cast(interactiveHover_buf_); + fontStyle_buf.value = static_cast(fontStyle_buf_); } - value.interactiveHover = interactiveHover_buf; - const auto interactivePressed_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor interactivePressed_buf = {}; - interactivePressed_buf.tag = interactivePressed_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (interactivePressed_buf_runtimeType)) + value.fontStyle = fontStyle_buf; + const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String_FontWeight fontWeight_buf = {}; + fontWeight_buf.tag = fontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) { - const Ark_Int8 interactivePressed_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor interactivePressed_buf_ = {}; - interactivePressed_buf_.selector = interactivePressed_buf__selector; - if (interactivePressed_buf__selector == 0) { - interactivePressed_buf_.selector = 0; - interactivePressed_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (interactivePressed_buf__selector == 1) { - interactivePressed_buf_.selector = 1; - interactivePressed_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 fontWeight_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_FontWeight fontWeight_buf_ = {}; + fontWeight_buf_.selector = fontWeight_buf__selector; + if (fontWeight_buf__selector == 0) { + fontWeight_buf_.selector = 0; + fontWeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (interactivePressed_buf__selector == 2) { - interactivePressed_buf_.selector = 2; - interactivePressed_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_.selector = 1; + fontWeight_buf_.value1 = static_cast(valueDeserializer.readString()); } - else if (interactivePressed_buf__selector == 3) { - interactivePressed_buf_.selector = 3; - interactivePressed_buf_.value3 = valueDeserializer.readResource(); + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_.selector = 2; + fontWeight_buf_.value2 = static_cast(valueDeserializer.readInt32()); } else { - INTEROP_FATAL("One of the branches for interactivePressed_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontWeight_buf_ has to be chosen through deserialisation."); } - interactivePressed_buf.value = static_cast(interactivePressed_buf_); + fontWeight_buf.value = static_cast(fontWeight_buf_); } - value.interactivePressed = interactivePressed_buf; - const auto interactiveFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor interactiveFocus_buf = {}; - interactiveFocus_buf.tag = interactiveFocus_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (interactiveFocus_buf_runtimeType)) + value.fontWeight = fontWeight_buf; + const auto fontFamily_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Resource fontFamily_buf = {}; + fontFamily_buf.tag = fontFamily_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontFamily_buf_runtimeType)) { - const Ark_Int8 interactiveFocus_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor interactiveFocus_buf_ = {}; - interactiveFocus_buf_.selector = interactiveFocus_buf__selector; - if (interactiveFocus_buf__selector == 0) { - interactiveFocus_buf_.selector = 0; - interactiveFocus_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (interactiveFocus_buf__selector == 1) { - interactiveFocus_buf_.selector = 1; - interactiveFocus_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (interactiveFocus_buf__selector == 2) { - interactiveFocus_buf_.selector = 2; - interactiveFocus_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 fontFamily_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource fontFamily_buf_ = {}; + fontFamily_buf_.selector = fontFamily_buf__selector; + if (fontFamily_buf__selector == 0) { + fontFamily_buf_.selector = 0; + fontFamily_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (interactiveFocus_buf__selector == 3) { - interactiveFocus_buf_.selector = 3; - interactiveFocus_buf_.value3 = valueDeserializer.readResource(); + else if (fontFamily_buf__selector == 1) { + fontFamily_buf_.selector = 1; + fontFamily_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for interactiveFocus_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontFamily_buf_ has to be chosen through deserialisation."); } - interactiveFocus_buf.value = static_cast(interactiveFocus_buf_); + fontFamily_buf.value = static_cast(fontFamily_buf_); } - value.interactiveFocus = interactiveFocus_buf; - const auto interactiveActive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor interactiveActive_buf = {}; - interactiveActive_buf.tag = interactiveActive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (interactiveActive_buf_runtimeType)) + value.fontFamily = fontFamily_buf; + const auto letterSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String letterSpacing_buf = {}; + letterSpacing_buf.tag = letterSpacing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (letterSpacing_buf_runtimeType)) { - const Ark_Int8 interactiveActive_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor interactiveActive_buf_ = {}; - interactiveActive_buf_.selector = interactiveActive_buf__selector; - if (interactiveActive_buf__selector == 0) { - interactiveActive_buf_.selector = 0; - interactiveActive_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (interactiveActive_buf__selector == 1) { - interactiveActive_buf_.selector = 1; - interactiveActive_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (interactiveActive_buf__selector == 2) { - interactiveActive_buf_.selector = 2; - interactiveActive_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 letterSpacing_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String letterSpacing_buf_ = {}; + letterSpacing_buf_.selector = letterSpacing_buf__selector; + if (letterSpacing_buf__selector == 0) { + letterSpacing_buf_.selector = 0; + letterSpacing_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (interactiveActive_buf__selector == 3) { - interactiveActive_buf_.selector = 3; - interactiveActive_buf_.value3 = valueDeserializer.readResource(); + else if (letterSpacing_buf__selector == 1) { + letterSpacing_buf_.selector = 1; + letterSpacing_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for interactiveActive_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for letterSpacing_buf_ has to be chosen through deserialisation."); } - interactiveActive_buf.value = static_cast(interactiveActive_buf_); + letterSpacing_buf.value = static_cast(letterSpacing_buf_); } - value.interactiveActive = interactiveActive_buf; - const auto interactiveSelect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor interactiveSelect_buf = {}; - interactiveSelect_buf.tag = interactiveSelect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (interactiveSelect_buf_runtimeType)) + value.letterSpacing = letterSpacing_buf; + const auto textAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_TextAlign textAlign_buf = {}; + textAlign_buf.tag = textAlign_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textAlign_buf_runtimeType)) { - const Ark_Int8 interactiveSelect_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor interactiveSelect_buf_ = {}; - interactiveSelect_buf_.selector = interactiveSelect_buf__selector; - if (interactiveSelect_buf__selector == 0) { - interactiveSelect_buf_.selector = 0; - interactiveSelect_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 textAlign_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_TextAlign textAlign_buf_ = {}; + textAlign_buf_.selector = textAlign_buf__selector; + if (textAlign_buf__selector == 0) { + textAlign_buf_.selector = 0; + textAlign_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (interactiveSelect_buf__selector == 1) { - interactiveSelect_buf_.selector = 1; - interactiveSelect_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (textAlign_buf__selector == 1) { + textAlign_buf_.selector = 1; + textAlign_buf_.value1 = static_cast(valueDeserializer.readInt32()); } - else if (interactiveSelect_buf__selector == 2) { - interactiveSelect_buf_.selector = 2; - interactiveSelect_buf_.value2 = static_cast(valueDeserializer.readString()); + else { + INTEROP_FATAL("One of the branches for textAlign_buf_ has to be chosen through deserialisation."); } - else if (interactiveSelect_buf__selector == 3) { - interactiveSelect_buf_.selector = 3; - interactiveSelect_buf_.value3 = valueDeserializer.readResource(); + textAlign_buf.value = static_cast(textAlign_buf_); + } + value.textAlign = textAlign_buf; + const auto overflow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_TextOverflow overflow_buf = {}; + overflow_buf.tag = overflow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (overflow_buf_runtimeType)) + { + const Ark_Int8 overflow_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_TextOverflow overflow_buf_ = {}; + overflow_buf_.selector = overflow_buf__selector; + if (overflow_buf__selector == 0) { + overflow_buf_.selector = 0; + overflow_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (overflow_buf__selector == 1) { + overflow_buf_.selector = 1; + overflow_buf_.value1 = static_cast(valueDeserializer.readInt32()); } else { - INTEROP_FATAL("One of the branches for interactiveSelect_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for overflow_buf_ has to be chosen through deserialisation."); } - interactiveSelect_buf.value = static_cast(interactiveSelect_buf_); + overflow_buf.value = static_cast(overflow_buf_); } - value.interactiveSelect = interactiveSelect_buf; - const auto interactiveClick_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor interactiveClick_buf = {}; - interactiveClick_buf.tag = interactiveClick_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (interactiveClick_buf_runtimeType)) + value.overflow = overflow_buf; + const auto maxLines_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number maxLines_buf = {}; + maxLines_buf.tag = maxLines_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maxLines_buf_runtimeType)) { - const Ark_Int8 interactiveClick_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor interactiveClick_buf_ = {}; - interactiveClick_buf_.selector = interactiveClick_buf__selector; - if (interactiveClick_buf__selector == 0) { - interactiveClick_buf_.selector = 0; - interactiveClick_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (interactiveClick_buf__selector == 1) { - interactiveClick_buf_.selector = 1; - interactiveClick_buf_.value1 = static_cast(valueDeserializer.readNumber()); + maxLines_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.maxLines = maxLines_buf; + const auto lineHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String_Resource lineHeight_buf = {}; + lineHeight_buf.tag = lineHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lineHeight_buf_runtimeType)) + { + const Ark_Int8 lineHeight_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_Resource lineHeight_buf_ = {}; + lineHeight_buf_.selector = lineHeight_buf__selector; + if (lineHeight_buf__selector == 0) { + lineHeight_buf_.selector = 0; + lineHeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (interactiveClick_buf__selector == 2) { - interactiveClick_buf_.selector = 2; - interactiveClick_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (lineHeight_buf__selector == 1) { + lineHeight_buf_.selector = 1; + lineHeight_buf_.value1 = static_cast(valueDeserializer.readString()); } - else if (interactiveClick_buf__selector == 3) { - interactiveClick_buf_.selector = 3; - interactiveClick_buf_.value3 = valueDeserializer.readResource(); + else if (lineHeight_buf__selector == 2) { + lineHeight_buf_.selector = 2; + lineHeight_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for interactiveClick_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for lineHeight_buf_ has to be chosen through deserialisation."); } - interactiveClick_buf.value = static_cast(interactiveClick_buf_); + lineHeight_buf.value = static_cast(lineHeight_buf_); } - value.interactiveClick = interactiveClick_buf; - return value; - } - Ark_DataPanelShadowOptions readDataPanelShadowOptions() - { - Ark_DataPanelShadowOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_Resource radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + value.lineHeight = lineHeight_buf; + const auto baselineOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String baselineOffset_buf = {}; + baselineOffset_buf.tag = baselineOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (baselineOffset_buf_runtimeType)) { - const Ark_Int8 radius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_Resource radius_buf_ = {}; - radius_buf_.selector = radius_buf__selector; - if (radius_buf__selector == 0) { - radius_buf_.selector = 0; - radius_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 baselineOffset_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String baselineOffset_buf_ = {}; + baselineOffset_buf_.selector = baselineOffset_buf__selector; + if (baselineOffset_buf__selector == 0) { + baselineOffset_buf_.selector = 0; + baselineOffset_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (radius_buf__selector == 1) { - radius_buf_.selector = 1; - radius_buf_.value1 = valueDeserializer.readResource(); + else if (baselineOffset_buf__selector == 1) { + baselineOffset_buf_.selector = 1; + baselineOffset_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for baselineOffset_buf_ has to be chosen through deserialisation."); } - radius_buf.value = static_cast(radius_buf_); + baselineOffset_buf.value = static_cast(baselineOffset_buf_); } - value.radius = radius_buf; - const auto offsetX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_Resource offsetX_buf = {}; - offsetX_buf.tag = offsetX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offsetX_buf_runtimeType)) + value.baselineOffset = baselineOffset_buf; + const auto textCase_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_TextCase textCase_buf = {}; + textCase_buf.tag = textCase_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textCase_buf_runtimeType)) { - const Ark_Int8 offsetX_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_Resource offsetX_buf_ = {}; - offsetX_buf_.selector = offsetX_buf__selector; - if (offsetX_buf__selector == 0) { - offsetX_buf_.selector = 0; - offsetX_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 textCase_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_TextCase textCase_buf_ = {}; + textCase_buf_.selector = textCase_buf__selector; + if (textCase_buf__selector == 0) { + textCase_buf_.selector = 0; + textCase_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (offsetX_buf__selector == 1) { - offsetX_buf_.selector = 1; - offsetX_buf_.value1 = valueDeserializer.readResource(); + else if (textCase_buf__selector == 1) { + textCase_buf_.selector = 1; + textCase_buf_.value1 = static_cast(valueDeserializer.readInt32()); } else { - INTEROP_FATAL("One of the branches for offsetX_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for textCase_buf_ has to be chosen through deserialisation."); } - offsetX_buf.value = static_cast(offsetX_buf_); + textCase_buf.value = static_cast(textCase_buf_); } - value.offsetX = offsetX_buf; - const auto offsetY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_Resource offsetY_buf = {}; - offsetY_buf.tag = offsetY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offsetY_buf_runtimeType)) + value.textCase = textCase_buf; + const auto textIndent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String textIndent_buf = {}; + textIndent_buf.tag = textIndent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textIndent_buf_runtimeType)) { - const Ark_Int8 offsetY_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_Resource offsetY_buf_ = {}; - offsetY_buf_.selector = offsetY_buf__selector; - if (offsetY_buf__selector == 0) { - offsetY_buf_.selector = 0; - offsetY_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 textIndent_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String textIndent_buf_ = {}; + textIndent_buf_.selector = textIndent_buf__selector; + if (textIndent_buf__selector == 0) { + textIndent_buf_.selector = 0; + textIndent_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (offsetY_buf__selector == 1) { - offsetY_buf_.selector = 1; - offsetY_buf_.value1 = valueDeserializer.readResource(); + else if (textIndent_buf__selector == 1) { + textIndent_buf_.selector = 1; + textIndent_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for offsetY_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for textIndent_buf_ has to be chosen through deserialisation."); } - offsetY_buf.value = static_cast(offsetY_buf_); + textIndent_buf.value = static_cast(textIndent_buf_); } - value.offsetY = offsetY_buf; - const auto colors_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_Union_ResourceColor_LinearGradient colors_buf = {}; - colors_buf.tag = colors_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (colors_buf_runtimeType)) + value.textIndent = textIndent_buf; + const auto wordBreak_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_WordBreak wordBreak_buf = {}; + wordBreak_buf.tag = wordBreak_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (wordBreak_buf_runtimeType)) { - const Ark_Int32 colors_buf__length = valueDeserializer.readInt32(); - Array_Union_ResourceColor_LinearGradient colors_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&colors_buf_, colors_buf__length); - for (int colors_buf__i = 0; colors_buf__i < colors_buf__length; colors_buf__i++) { - const Ark_Int8 colors_buf__buf_selector = valueDeserializer.readInt8(); - Ark_Union_ResourceColor_LinearGradient colors_buf__buf = {}; - colors_buf__buf.selector = colors_buf__buf_selector; - if (colors_buf__buf_selector == 0) { - colors_buf__buf.selector = 0; - const Ark_Int8 colors_buf__buf_u_selector = valueDeserializer.readInt8(); - Ark_ResourceColor colors_buf__buf_u = {}; - colors_buf__buf_u.selector = colors_buf__buf_u_selector; - if (colors_buf__buf_u_selector == 0) { - colors_buf__buf_u.selector = 0; - colors_buf__buf_u.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (colors_buf__buf_u_selector == 1) { - colors_buf__buf_u.selector = 1; - colors_buf__buf_u.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (colors_buf__buf_u_selector == 2) { - colors_buf__buf_u.selector = 2; - colors_buf__buf_u.value2 = static_cast(valueDeserializer.readString()); - } - else if (colors_buf__buf_u_selector == 3) { - colors_buf__buf_u.selector = 3; - colors_buf__buf_u.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for colors_buf__buf_u has to be chosen through deserialisation."); - } - colors_buf__buf.value0 = static_cast(colors_buf__buf_u); - } - else if (colors_buf__buf_selector == 1) { - colors_buf__buf.selector = 1; - colors_buf__buf.value1 = static_cast(valueDeserializer.readLinearGradient()); - } - else { - INTEROP_FATAL("One of the branches for colors_buf__buf has to be chosen through deserialisation."); - } - colors_buf_.array[colors_buf__i] = static_cast(colors_buf__buf); - } - colors_buf.value = colors_buf_; + wordBreak_buf.value = static_cast(valueDeserializer.readInt32()); } - value.colors = colors_buf; + value.wordBreak = wordBreak_buf; return value; } - Ark_Decoration readDecoration() + Ark_MenuElement readMenuElement() { - Ark_Decoration value = {}; + Ark_MenuElement value = {}; Deserializer& valueDeserializer = *this; - const auto textDecoration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextDecorationType textDecoration_buf = {}; - textDecoration_buf.tag = textDecoration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (textDecoration_buf_runtimeType)) - { - textDecoration_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceStr value_buf = {}; + value_buf.selector = value_buf_selector; + if (value_buf_selector == 0) { + value_buf.selector = 0; + value_buf.value0 = static_cast(valueDeserializer.readString()); } - value.textDecoration = textDecoration_buf; - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_common2D_Color color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + else if (value_buf_selector == 1) { + value_buf.selector = 1; + value_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + } + value.value = static_cast(value_buf); + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) { - color_buf.value = valueDeserializer.readcommon2D_Color(); + const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr icon_buf_ = {}; + icon_buf_.selector = icon_buf__selector; + if (icon_buf__selector == 0) { + icon_buf_.selector = 0; + icon_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (icon_buf__selector == 1) { + icon_buf_.selector = 1; + icon_buf_.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); + } + icon_buf.value = static_cast(icon_buf_); } - value.color = color_buf; - const auto decorationStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextDecorationStyle decorationStyle_buf = {}; - decorationStyle_buf.tag = decorationStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (decorationStyle_buf_runtimeType)) + value.icon = icon_buf; + const auto symbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SymbolGlyphModifier symbolIcon_buf = {}; + symbolIcon_buf.tag = symbolIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (symbolIcon_buf_runtimeType)) { - decorationStyle_buf.value = static_cast(valueDeserializer.readInt32()); + symbolIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); } - value.decorationStyle = decorationStyle_buf; - const auto decorationThicknessScale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number decorationThicknessScale_buf = {}; - decorationThicknessScale_buf.tag = decorationThicknessScale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (decorationThicknessScale_buf_runtimeType)) + value.symbolIcon = symbolIcon_buf; + const auto enabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enabled_buf = {}; + enabled_buf.tag = enabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enabled_buf_runtimeType)) { - decorationThicknessScale_buf.value = static_cast(valueDeserializer.readNumber()); + enabled_buf.value = valueDeserializer.readBoolean(); } - value.decorationThicknessScale = decorationThicknessScale_buf; + value.enabled = enabled_buf; + value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; return value; } - Ark_DecorationStyle readDecorationStyle() + Ark_MenuItemConfiguration readMenuItemConfiguration() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); + return static_cast(ptr); } - Ark_DecorationStyleInterface readDecorationStyleInterface() + Ark_MenuItemGroupOptions readMenuItemGroupOptions() { - Ark_DecorationStyleInterface value = {}; + Ark_MenuItemGroupOptions value = {}; Deserializer& valueDeserializer = *this; - value.type = static_cast(valueDeserializer.readInt32()); - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + const auto header_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_ResourceStr_CustomBuilder header_buf = {}; + header_buf.tag = header_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (header_buf_runtimeType)) { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 header_buf__selector = valueDeserializer.readInt8(); + Ark_Union_ResourceStr_CustomBuilder header_buf_ = {}; + header_buf_.selector = header_buf__selector; + if (header_buf__selector == 0) { + header_buf_.selector = 0; + const Ark_Int8 header_buf__u_selector = valueDeserializer.readInt8(); + Ark_ResourceStr header_buf__u = {}; + header_buf__u.selector = header_buf__u_selector; + if (header_buf__u_selector == 0) { + header_buf__u.selector = 0; + header_buf__u.value0 = static_cast(valueDeserializer.readString()); + } + else if (header_buf__u_selector == 1) { + header_buf__u.selector = 1; + header_buf__u.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for header_buf__u has to be chosen through deserialisation."); + } + header_buf_.value0 = static_cast(header_buf__u); } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); + else if (header_buf__selector == 1) { + header_buf_.selector = 1; + header_buf_.value1 = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; } else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for header_buf_ has to be chosen through deserialisation."); } - color_buf.value = static_cast(color_buf_); - } - value.color = color_buf; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextDecorationStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) - { - style_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.style = style_buf; - return value; - } - Ark_DecorationStyleResult readDecorationStyleResult() - { - Ark_DecorationStyleResult value = {}; - Deserializer& valueDeserializer = *this; - value.type = static_cast(valueDeserializer.readInt32()); - const Ark_Int8 color_buf_selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf = {}; - color_buf.selector = color_buf_selector; - if (color_buf_selector == 0) { - color_buf.selector = 0; - color_buf.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf_selector == 1) { - color_buf.selector = 1; - color_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf_selector == 2) { - color_buf.selector = 2; - color_buf.value2 = static_cast(valueDeserializer.readString()); - } - else if (color_buf_selector == 3) { - color_buf.selector = 3; - color_buf.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for color_buf has to be chosen through deserialisation."); + header_buf.value = static_cast(header_buf_); } - value.color = static_cast(color_buf); - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextDecorationStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + value.header = header_buf; + const auto footer_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_ResourceStr_CustomBuilder footer_buf = {}; + footer_buf.tag = footer_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (footer_buf_runtimeType)) { - style_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 footer_buf__selector = valueDeserializer.readInt8(); + Ark_Union_ResourceStr_CustomBuilder footer_buf_ = {}; + footer_buf_.selector = footer_buf__selector; + if (footer_buf__selector == 0) { + footer_buf_.selector = 0; + const Ark_Int8 footer_buf__u_selector = valueDeserializer.readInt8(); + Ark_ResourceStr footer_buf__u = {}; + footer_buf__u.selector = footer_buf__u_selector; + if (footer_buf__u_selector == 0) { + footer_buf__u.selector = 0; + footer_buf__u.value0 = static_cast(valueDeserializer.readString()); + } + else if (footer_buf__u_selector == 1) { + footer_buf__u.selector = 1; + footer_buf__u.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for footer_buf__u has to be chosen through deserialisation."); + } + footer_buf_.value0 = static_cast(footer_buf__u); + } + else if (footer_buf__selector == 1) { + footer_buf_.selector = 1; + footer_buf_.value1 = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + else { + INTEROP_FATAL("One of the branches for footer_buf_ has to be chosen through deserialisation."); + } + footer_buf.value = static_cast(footer_buf_); } - value.style = style_buf; + value.footer = footer_buf; return value; } - Ark_DividerOptions readDividerOptions() + Ark_MenuItemOptions readMenuItemOptions() { - Ark_DividerOptions value = {}; + Ark_MenuItemOptions value = {}; Deserializer& valueDeserializer = *this; - const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + const auto startIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr startIcon_buf = {}; + startIcon_buf.tag = startIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (startIcon_buf_runtimeType)) { - const Ark_Int8 strokeWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource strokeWidth_buf_ = {}; - strokeWidth_buf_.selector = strokeWidth_buf__selector; - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_.selector = 0; - strokeWidth_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_.selector = 1; - strokeWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 startIcon_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr startIcon_buf_ = {}; + startIcon_buf_.selector = startIcon_buf__selector; + if (startIcon_buf__selector == 0) { + startIcon_buf_.selector = 0; + startIcon_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_.selector = 2; - strokeWidth_buf_.value2 = valueDeserializer.readResource(); + else if (startIcon_buf__selector == 1) { + startIcon_buf_.selector = 1; + startIcon_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for startIcon_buf_ has to be chosen through deserialisation."); } - strokeWidth_buf.value = static_cast(strokeWidth_buf_); + startIcon_buf.value = static_cast(startIcon_buf_); } - value.strokeWidth = strokeWidth_buf; - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + value.startIcon = startIcon_buf; + const auto symbolStartIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SymbolGlyphModifier symbolStartIcon_buf = {}; + symbolStartIcon_buf.tag = symbolStartIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (symbolStartIcon_buf_runtimeType)) { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); + symbolStartIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); + } + value.symbolStartIcon = symbolStartIcon_buf; + const auto content_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr content_buf = {}; + content_buf.tag = content_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (content_buf_runtimeType)) + { + const Ark_Int8 content_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr content_buf_ = {}; + content_buf_.selector = content_buf__selector; + if (content_buf__selector == 0) { + content_buf_.selector = 0; + content_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); + else if (content_buf__selector == 1) { + content_buf_.selector = 1; + content_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for content_buf_ has to be chosen through deserialisation."); } - color_buf.value = static_cast(color_buf_); + content_buf.value = static_cast(content_buf_); } - value.color = color_buf; - const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource startMargin_buf = {}; - startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) + value.content = content_buf; + const auto endIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr endIcon_buf = {}; + endIcon_buf.tag = endIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (endIcon_buf_runtimeType)) { - const Ark_Int8 startMargin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource startMargin_buf_ = {}; - startMargin_buf_.selector = startMargin_buf__selector; - if (startMargin_buf__selector == 0) { - startMargin_buf_.selector = 0; - startMargin_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (startMargin_buf__selector == 1) { - startMargin_buf_.selector = 1; - startMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 endIcon_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr endIcon_buf_ = {}; + endIcon_buf_.selector = endIcon_buf__selector; + if (endIcon_buf__selector == 0) { + endIcon_buf_.selector = 0; + endIcon_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (startMargin_buf__selector == 2) { - startMargin_buf_.selector = 2; - startMargin_buf_.value2 = valueDeserializer.readResource(); + else if (endIcon_buf__selector == 1) { + endIcon_buf_.selector = 1; + endIcon_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for startMargin_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for endIcon_buf_ has to be chosen through deserialisation."); } - startMargin_buf.value = static_cast(startMargin_buf_); + endIcon_buf.value = static_cast(endIcon_buf_); } - value.startMargin = startMargin_buf; - const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource endMargin_buf = {}; - endMargin_buf.tag = endMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) + value.endIcon = endIcon_buf; + const auto symbolEndIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SymbolGlyphModifier symbolEndIcon_buf = {}; + symbolEndIcon_buf.tag = symbolEndIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (symbolEndIcon_buf_runtimeType)) { - const Ark_Int8 endMargin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource endMargin_buf_ = {}; - endMargin_buf_.selector = endMargin_buf__selector; - if (endMargin_buf__selector == 0) { - endMargin_buf_.selector = 0; - endMargin_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (endMargin_buf__selector == 1) { - endMargin_buf_.selector = 1; - endMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + symbolEndIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); + } + value.symbolEndIcon = symbolEndIcon_buf; + const auto labelInfo_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr labelInfo_buf = {}; + labelInfo_buf.tag = labelInfo_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (labelInfo_buf_runtimeType)) + { + const Ark_Int8 labelInfo_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr labelInfo_buf_ = {}; + labelInfo_buf_.selector = labelInfo_buf__selector; + if (labelInfo_buf__selector == 0) { + labelInfo_buf_.selector = 0; + labelInfo_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (endMargin_buf__selector == 2) { - endMargin_buf_.selector = 2; - endMargin_buf_.value2 = valueDeserializer.readResource(); + else if (labelInfo_buf__selector == 1) { + labelInfo_buf_.selector = 1; + labelInfo_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for endMargin_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for labelInfo_buf_ has to be chosen through deserialisation."); } - endMargin_buf.value = static_cast(endMargin_buf_); + labelInfo_buf.value = static_cast(labelInfo_buf_); + } + value.labelInfo = labelInfo_buf; + const auto builder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder builder_buf = {}; + builder_buf.tag = builder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (builder_buf_runtimeType)) + { + builder_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + value.builder = builder_buf; + return value; + } + Ark_NativeXComponentParameters readNativeXComponentParameters() + { + Ark_NativeXComponentParameters value = {}; + Deserializer& valueDeserializer = *this; + value.type = static_cast(valueDeserializer.readInt32()); + const auto imageAIOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImageAIOptions imageAIOptions_buf = {}; + imageAIOptions_buf.tag = imageAIOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (imageAIOptions_buf_runtimeType)) + { + imageAIOptions_buf.value = valueDeserializer.readImageAIOptions(); } - value.endMargin = endMargin_buf; + value.imageAIOptions = imageAIOptions_buf; return value; } - Ark_DividerStyle readDividerStyle() + Ark_NavDestinationCommonTitle readNavDestinationCommonTitle() { - Ark_DividerStyle value = {}; + Ark_NavDestinationCommonTitle value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 strokeWidth_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource strokeWidth_buf = {}; - strokeWidth_buf.selector = strokeWidth_buf_selector; - if (strokeWidth_buf_selector == 0) { - strokeWidth_buf.selector = 0; - strokeWidth_buf.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 main_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource main_buf = {}; + main_buf.selector = main_buf_selector; + if (main_buf_selector == 0) { + main_buf.selector = 0; + main_buf.value0 = static_cast(valueDeserializer.readString()); } - else if (strokeWidth_buf_selector == 1) { - strokeWidth_buf.selector = 1; - strokeWidth_buf.value1 = static_cast(valueDeserializer.readNumber()); + else if (main_buf_selector == 1) { + main_buf.selector = 1; + main_buf.value1 = valueDeserializer.readResource(); } - else if (strokeWidth_buf_selector == 2) { - strokeWidth_buf.selector = 2; - strokeWidth_buf.value2 = valueDeserializer.readResource(); + else { + INTEROP_FATAL("One of the branches for main_buf has to be chosen through deserialisation."); + } + value.main = static_cast(main_buf); + const Ark_Int8 sub_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource sub_buf = {}; + sub_buf.selector = sub_buf_selector; + if (sub_buf_selector == 0) { + sub_buf.selector = 0; + sub_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (sub_buf_selector == 1) { + sub_buf.selector = 1; + sub_buf.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for strokeWidth_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for sub_buf has to be chosen through deserialisation."); } - value.strokeWidth = static_cast(strokeWidth_buf); - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) - { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); - } - color_buf.value = static_cast(color_buf_); + value.sub = static_cast(sub_buf); + return value; + } + Ark_NavDestinationContext readNavDestinationContext() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_NavigationCommonTitle readNavigationCommonTitle() + { + Ark_NavigationCommonTitle value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 main_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource main_buf = {}; + main_buf.selector = main_buf_selector; + if (main_buf_selector == 0) { + main_buf.selector = 0; + main_buf.value0 = static_cast(valueDeserializer.readString()); } - value.color = color_buf; - const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource startMargin_buf = {}; - startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) - { - const Ark_Int8 startMargin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource startMargin_buf_ = {}; - startMargin_buf_.selector = startMargin_buf__selector; - if (startMargin_buf__selector == 0) { - startMargin_buf_.selector = 0; - startMargin_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (startMargin_buf__selector == 1) { - startMargin_buf_.selector = 1; - startMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (startMargin_buf__selector == 2) { - startMargin_buf_.selector = 2; - startMargin_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for startMargin_buf_ has to be chosen through deserialisation."); - } - startMargin_buf.value = static_cast(startMargin_buf_); + else if (main_buf_selector == 1) { + main_buf.selector = 1; + main_buf.value1 = valueDeserializer.readResource(); } - value.startMargin = startMargin_buf; - const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource endMargin_buf = {}; - endMargin_buf.tag = endMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) - { - const Ark_Int8 endMargin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource endMargin_buf_ = {}; - endMargin_buf_.selector = endMargin_buf__selector; - if (endMargin_buf__selector == 0) { - endMargin_buf_.selector = 0; - endMargin_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (endMargin_buf__selector == 1) { - endMargin_buf_.selector = 1; - endMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (endMargin_buf__selector == 2) { - endMargin_buf_.selector = 2; - endMargin_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for endMargin_buf_ has to be chosen through deserialisation."); - } - endMargin_buf.value = static_cast(endMargin_buf_); + else { + INTEROP_FATAL("One of the branches for main_buf has to be chosen through deserialisation."); } - value.endMargin = endMargin_buf; + value.main = static_cast(main_buf); + const Ark_Int8 sub_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource sub_buf = {}; + sub_buf.selector = sub_buf_selector; + if (sub_buf_selector == 0) { + sub_buf.selector = 0; + sub_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (sub_buf_selector == 1) { + sub_buf.selector = 1; + sub_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for sub_buf has to be chosen through deserialisation."); + } + value.sub = static_cast(sub_buf); return value; } - Ark_DividerStyleOptions readDividerStyleOptions() + Ark_NavigationMenuItem readNavigationMenuItem() { - Ark_DividerStyleOptions value = {}; + Ark_NavigationMenuItem value = {}; Deserializer& valueDeserializer = *this; - const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) - { - strokeWidth_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource value_buf = {}; + value_buf.selector = value_buf_selector; + if (value_buf_selector == 0) { + value_buf.selector = 0; + value_buf.value0 = static_cast(valueDeserializer.readString()); } - value.strokeWidth = strokeWidth_buf; - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + else if (value_buf_selector == 1) { + value_buf.selector = 1; + value_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + } + value.value = static_cast(value_buf); + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Resource icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource icon_buf_ = {}; + icon_buf_.selector = icon_buf__selector; + if (icon_buf__selector == 0) { + icon_buf_.selector = 0; + icon_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); + else if (icon_buf__selector == 1) { + icon_buf_.selector = 1; + icon_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); } - color_buf.value = static_cast(color_buf_); + icon_buf.value = static_cast(icon_buf_); } - value.color = color_buf; - const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics startMargin_buf = {}; - startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) + value.icon = icon_buf; + const auto symbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SymbolGlyphModifier symbolIcon_buf = {}; + symbolIcon_buf.tag = symbolIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (symbolIcon_buf_runtimeType)) { - startMargin_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + symbolIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); } - value.startMargin = startMargin_buf; - const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics endMargin_buf = {}; - endMargin_buf.tag = endMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) + value.symbolIcon = symbolIcon_buf; + const auto isEnabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isEnabled_buf = {}; + isEnabled_buf.tag = isEnabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isEnabled_buf_runtimeType)) { - endMargin_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + isEnabled_buf.value = valueDeserializer.readBoolean(); } - value.endMargin = endMargin_buf; + value.isEnabled = isEnabled_buf; + const auto action_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void action_buf = {}; + action_buf.tag = action_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (action_buf_runtimeType)) + { + action_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.action = action_buf; return value; } - Ark_DotIndicator readDotIndicator() + Ark_NonCurrentDayStyle readNonCurrentDayStyle() { - Ark_DotIndicator value = {}; + Ark_NonCurrentDayStyle value = {}; Deserializer& valueDeserializer = *this; - const auto _left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _left_buf = {}; - _left_buf.tag = _left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_left_buf_runtimeType)) + const auto nonCurrentMonthDayColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor nonCurrentMonthDayColor_buf = {}; + nonCurrentMonthDayColor_buf.tag = nonCurrentMonthDayColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (nonCurrentMonthDayColor_buf_runtimeType)) { - const Ark_Int8 _left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _left_buf_ = {}; - _left_buf_.selector = _left_buf__selector; - if (_left_buf__selector == 0) { - _left_buf_.selector = 0; - _left_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 nonCurrentMonthDayColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor nonCurrentMonthDayColor_buf_ = {}; + nonCurrentMonthDayColor_buf_.selector = nonCurrentMonthDayColor_buf__selector; + if (nonCurrentMonthDayColor_buf__selector == 0) { + nonCurrentMonthDayColor_buf_.selector = 0; + nonCurrentMonthDayColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (_left_buf__selector == 1) { - _left_buf_.selector = 1; - _left_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (nonCurrentMonthDayColor_buf__selector == 1) { + nonCurrentMonthDayColor_buf_.selector = 1; + nonCurrentMonthDayColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (_left_buf__selector == 2) { - _left_buf_.selector = 2; - _left_buf_.value2 = valueDeserializer.readResource(); + else if (nonCurrentMonthDayColor_buf__selector == 2) { + nonCurrentMonthDayColor_buf_.selector = 2; + nonCurrentMonthDayColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (nonCurrentMonthDayColor_buf__selector == 3) { + nonCurrentMonthDayColor_buf_.selector = 3; + nonCurrentMonthDayColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for _left_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for nonCurrentMonthDayColor_buf_ has to be chosen through deserialisation."); } - _left_buf.value = static_cast(_left_buf_); + nonCurrentMonthDayColor_buf.value = static_cast(nonCurrentMonthDayColor_buf_); } - value._left = _left_buf; - const auto _top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _top_buf = {}; - _top_buf.tag = _top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_top_buf_runtimeType)) + value.nonCurrentMonthDayColor = nonCurrentMonthDayColor_buf; + const auto nonCurrentMonthLunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor nonCurrentMonthLunarColor_buf = {}; + nonCurrentMonthLunarColor_buf.tag = nonCurrentMonthLunarColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (nonCurrentMonthLunarColor_buf_runtimeType)) { - const Ark_Int8 _top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _top_buf_ = {}; - _top_buf_.selector = _top_buf__selector; - if (_top_buf__selector == 0) { - _top_buf_.selector = 0; - _top_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 nonCurrentMonthLunarColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor nonCurrentMonthLunarColor_buf_ = {}; + nonCurrentMonthLunarColor_buf_.selector = nonCurrentMonthLunarColor_buf__selector; + if (nonCurrentMonthLunarColor_buf__selector == 0) { + nonCurrentMonthLunarColor_buf_.selector = 0; + nonCurrentMonthLunarColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (_top_buf__selector == 1) { - _top_buf_.selector = 1; - _top_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (nonCurrentMonthLunarColor_buf__selector == 1) { + nonCurrentMonthLunarColor_buf_.selector = 1; + nonCurrentMonthLunarColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (_top_buf__selector == 2) { - _top_buf_.selector = 2; - _top_buf_.value2 = valueDeserializer.readResource(); + else if (nonCurrentMonthLunarColor_buf__selector == 2) { + nonCurrentMonthLunarColor_buf_.selector = 2; + nonCurrentMonthLunarColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (nonCurrentMonthLunarColor_buf__selector == 3) { + nonCurrentMonthLunarColor_buf_.selector = 3; + nonCurrentMonthLunarColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for _top_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for nonCurrentMonthLunarColor_buf_ has to be chosen through deserialisation."); } - _top_buf.value = static_cast(_top_buf_); + nonCurrentMonthLunarColor_buf.value = static_cast(nonCurrentMonthLunarColor_buf_); } - value._top = _top_buf; - const auto _right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _right_buf = {}; - _right_buf.tag = _right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_right_buf_runtimeType)) + value.nonCurrentMonthLunarColor = nonCurrentMonthLunarColor_buf; + const auto nonCurrentMonthWorkDayMarkColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor nonCurrentMonthWorkDayMarkColor_buf = {}; + nonCurrentMonthWorkDayMarkColor_buf.tag = nonCurrentMonthWorkDayMarkColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (nonCurrentMonthWorkDayMarkColor_buf_runtimeType)) { - const Ark_Int8 _right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _right_buf_ = {}; - _right_buf_.selector = _right_buf__selector; - if (_right_buf__selector == 0) { - _right_buf_.selector = 0; - _right_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 nonCurrentMonthWorkDayMarkColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor nonCurrentMonthWorkDayMarkColor_buf_ = {}; + nonCurrentMonthWorkDayMarkColor_buf_.selector = nonCurrentMonthWorkDayMarkColor_buf__selector; + if (nonCurrentMonthWorkDayMarkColor_buf__selector == 0) { + nonCurrentMonthWorkDayMarkColor_buf_.selector = 0; + nonCurrentMonthWorkDayMarkColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (_right_buf__selector == 1) { - _right_buf_.selector = 1; - _right_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 1) { + nonCurrentMonthWorkDayMarkColor_buf_.selector = 1; + nonCurrentMonthWorkDayMarkColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (_right_buf__selector == 2) { - _right_buf_.selector = 2; - _right_buf_.value2 = valueDeserializer.readResource(); + else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 2) { + nonCurrentMonthWorkDayMarkColor_buf_.selector = 2; + nonCurrentMonthWorkDayMarkColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 3) { + nonCurrentMonthWorkDayMarkColor_buf_.selector = 3; + nonCurrentMonthWorkDayMarkColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for _right_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for nonCurrentMonthWorkDayMarkColor_buf_ has to be chosen through deserialisation."); } - _right_buf.value = static_cast(_right_buf_); + nonCurrentMonthWorkDayMarkColor_buf.value = static_cast(nonCurrentMonthWorkDayMarkColor_buf_); } - value._right = _right_buf; - const auto _bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _bottom_buf = {}; - _bottom_buf.tag = _bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_bottom_buf_runtimeType)) + value.nonCurrentMonthWorkDayMarkColor = nonCurrentMonthWorkDayMarkColor_buf; + const auto nonCurrentMonthOffDayMarkColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor nonCurrentMonthOffDayMarkColor_buf = {}; + nonCurrentMonthOffDayMarkColor_buf.tag = nonCurrentMonthOffDayMarkColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (nonCurrentMonthOffDayMarkColor_buf_runtimeType)) { - const Ark_Int8 _bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _bottom_buf_ = {}; - _bottom_buf_.selector = _bottom_buf__selector; - if (_bottom_buf__selector == 0) { - _bottom_buf_.selector = 0; - _bottom_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 nonCurrentMonthOffDayMarkColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor nonCurrentMonthOffDayMarkColor_buf_ = {}; + nonCurrentMonthOffDayMarkColor_buf_.selector = nonCurrentMonthOffDayMarkColor_buf__selector; + if (nonCurrentMonthOffDayMarkColor_buf__selector == 0) { + nonCurrentMonthOffDayMarkColor_buf_.selector = 0; + nonCurrentMonthOffDayMarkColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (_bottom_buf__selector == 1) { - _bottom_buf_.selector = 1; - _bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (nonCurrentMonthOffDayMarkColor_buf__selector == 1) { + nonCurrentMonthOffDayMarkColor_buf_.selector = 1; + nonCurrentMonthOffDayMarkColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (_bottom_buf__selector == 2) { - _bottom_buf_.selector = 2; - _bottom_buf_.value2 = valueDeserializer.readResource(); + else if (nonCurrentMonthOffDayMarkColor_buf__selector == 2) { + nonCurrentMonthOffDayMarkColor_buf_.selector = 2; + nonCurrentMonthOffDayMarkColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (nonCurrentMonthOffDayMarkColor_buf__selector == 3) { + nonCurrentMonthOffDayMarkColor_buf_.selector = 3; + nonCurrentMonthOffDayMarkColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for _bottom_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for nonCurrentMonthOffDayMarkColor_buf_ has to be chosen through deserialisation."); } - _bottom_buf.value = static_cast(_bottom_buf_); + nonCurrentMonthOffDayMarkColor_buf.value = static_cast(nonCurrentMonthOffDayMarkColor_buf_); } - value._bottom = _bottom_buf; - const auto _start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics _start_buf = {}; - _start_buf.tag = _start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_start_buf_runtimeType)) - { - _start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + value.nonCurrentMonthOffDayMarkColor = nonCurrentMonthOffDayMarkColor_buf; + return value; + } + Ark_OffscreenCanvasRenderingContext2D readOffscreenCanvasRenderingContext2D() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_Offset readOffset() + { + Ark_Offset value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 dx_buf_selector = valueDeserializer.readInt8(); + Ark_Length dx_buf = {}; + dx_buf.selector = dx_buf_selector; + if (dx_buf_selector == 0) { + dx_buf.selector = 0; + dx_buf.value0 = static_cast(valueDeserializer.readString()); } - value._start = _start_buf; - const auto _end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics _end_buf = {}; - _end_buf.tag = _end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_end_buf_runtimeType)) + else if (dx_buf_selector == 1) { + dx_buf.selector = 1; + dx_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (dx_buf_selector == 2) { + dx_buf.selector = 2; + dx_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for dx_buf has to be chosen through deserialisation."); + } + value.dx = static_cast(dx_buf); + const Ark_Int8 dy_buf_selector = valueDeserializer.readInt8(); + Ark_Length dy_buf = {}; + dy_buf.selector = dy_buf_selector; + if (dy_buf_selector == 0) { + dy_buf.selector = 0; + dy_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (dy_buf_selector == 1) { + dy_buf.selector = 1; + dy_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (dy_buf_selector == 2) { + dy_buf.selector = 2; + dy_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for dy_buf has to be chosen through deserialisation."); + } + value.dy = static_cast(dy_buf); + return value; + } + Ark_OverlayOptions readOverlayOptions() + { + Ark_OverlayOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto align_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Alignment align_buf = {}; + align_buf.tag = align_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (align_buf_runtimeType)) { - _end_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + align_buf.value = static_cast(valueDeserializer.readInt32()); } - value._end = _end_buf; - const auto _itemWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _itemWidth_buf = {}; - _itemWidth_buf.tag = _itemWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_itemWidth_buf_runtimeType)) + value.align = align_buf; + const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_OverlayOffset offset_buf = {}; + offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - const Ark_Int8 _itemWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _itemWidth_buf_ = {}; - _itemWidth_buf_.selector = _itemWidth_buf__selector; - if (_itemWidth_buf__selector == 0) { - _itemWidth_buf_.selector = 0; - _itemWidth_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (_itemWidth_buf__selector == 1) { - _itemWidth_buf_.selector = 1; - _itemWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (_itemWidth_buf__selector == 2) { - _itemWidth_buf_.selector = 2; - _itemWidth_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for _itemWidth_buf_ has to be chosen through deserialisation."); - } - _itemWidth_buf.value = static_cast(_itemWidth_buf_); + offset_buf.value = valueDeserializer.readOverlayOffset(); } - value._itemWidth = _itemWidth_buf; - const auto _itemHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _itemHeight_buf = {}; - _itemHeight_buf.tag = _itemHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_itemHeight_buf_runtimeType)) + value.offset = offset_buf; + return value; + } + Ark_PasswordIcon readPasswordIcon() + { + Ark_PasswordIcon value = {}; + Deserializer& valueDeserializer = *this; + const auto onIconSrc_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Resource onIconSrc_buf = {}; + onIconSrc_buf.tag = onIconSrc_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onIconSrc_buf_runtimeType)) { - const Ark_Int8 _itemHeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _itemHeight_buf_ = {}; - _itemHeight_buf_.selector = _itemHeight_buf__selector; - if (_itemHeight_buf__selector == 0) { - _itemHeight_buf_.selector = 0; - _itemHeight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (_itemHeight_buf__selector == 1) { - _itemHeight_buf_.selector = 1; - _itemHeight_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 onIconSrc_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource onIconSrc_buf_ = {}; + onIconSrc_buf_.selector = onIconSrc_buf__selector; + if (onIconSrc_buf__selector == 0) { + onIconSrc_buf_.selector = 0; + onIconSrc_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (_itemHeight_buf__selector == 2) { - _itemHeight_buf_.selector = 2; - _itemHeight_buf_.value2 = valueDeserializer.readResource(); + else if (onIconSrc_buf__selector == 1) { + onIconSrc_buf_.selector = 1; + onIconSrc_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for _itemHeight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for onIconSrc_buf_ has to be chosen through deserialisation."); } - _itemHeight_buf.value = static_cast(_itemHeight_buf_); + onIconSrc_buf.value = static_cast(onIconSrc_buf_); } - value._itemHeight = _itemHeight_buf; - const auto _selectedItemWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _selectedItemWidth_buf = {}; - _selectedItemWidth_buf.tag = _selectedItemWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_selectedItemWidth_buf_runtimeType)) + value.onIconSrc = onIconSrc_buf; + const auto offIconSrc_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Resource offIconSrc_buf = {}; + offIconSrc_buf.tag = offIconSrc_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offIconSrc_buf_runtimeType)) { - const Ark_Int8 _selectedItemWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _selectedItemWidth_buf_ = {}; - _selectedItemWidth_buf_.selector = _selectedItemWidth_buf__selector; - if (_selectedItemWidth_buf__selector == 0) { - _selectedItemWidth_buf_.selector = 0; - _selectedItemWidth_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (_selectedItemWidth_buf__selector == 1) { - _selectedItemWidth_buf_.selector = 1; - _selectedItemWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 offIconSrc_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource offIconSrc_buf_ = {}; + offIconSrc_buf_.selector = offIconSrc_buf__selector; + if (offIconSrc_buf__selector == 0) { + offIconSrc_buf_.selector = 0; + offIconSrc_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (_selectedItemWidth_buf__selector == 2) { - _selectedItemWidth_buf_.selector = 2; - _selectedItemWidth_buf_.value2 = valueDeserializer.readResource(); + else if (offIconSrc_buf__selector == 1) { + offIconSrc_buf_.selector = 1; + offIconSrc_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for _selectedItemWidth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for offIconSrc_buf_ has to be chosen through deserialisation."); } - _selectedItemWidth_buf.value = static_cast(_selectedItemWidth_buf_); + offIconSrc_buf.value = static_cast(offIconSrc_buf_); } - value._selectedItemWidth = _selectedItemWidth_buf; - const auto _selectedItemHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _selectedItemHeight_buf = {}; - _selectedItemHeight_buf.tag = _selectedItemHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_selectedItemHeight_buf_runtimeType)) + value.offIconSrc = offIconSrc_buf; + return value; + } + Ark_PluginComponentOptions readPluginComponentOptions() + { + Ark_PluginComponentOptions value = {}; + Deserializer& valueDeserializer = *this; + value.template_ = valueDeserializer.readPluginComponentTemplate(); + value.data = static_cast(valueDeserializer.readString()); + return value; + } + Ark_RadioStyle readRadioStyle() + { + Ark_RadioStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto checkedBackgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor checkedBackgroundColor_buf = {}; + checkedBackgroundColor_buf.tag = checkedBackgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (checkedBackgroundColor_buf_runtimeType)) { - const Ark_Int8 _selectedItemHeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _selectedItemHeight_buf_ = {}; - _selectedItemHeight_buf_.selector = _selectedItemHeight_buf__selector; - if (_selectedItemHeight_buf__selector == 0) { - _selectedItemHeight_buf_.selector = 0; - _selectedItemHeight_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 checkedBackgroundColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor checkedBackgroundColor_buf_ = {}; + checkedBackgroundColor_buf_.selector = checkedBackgroundColor_buf__selector; + if (checkedBackgroundColor_buf__selector == 0) { + checkedBackgroundColor_buf_.selector = 0; + checkedBackgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (_selectedItemHeight_buf__selector == 1) { - _selectedItemHeight_buf_.selector = 1; - _selectedItemHeight_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (checkedBackgroundColor_buf__selector == 1) { + checkedBackgroundColor_buf_.selector = 1; + checkedBackgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (_selectedItemHeight_buf__selector == 2) { - _selectedItemHeight_buf_.selector = 2; - _selectedItemHeight_buf_.value2 = valueDeserializer.readResource(); + else if (checkedBackgroundColor_buf__selector == 2) { + checkedBackgroundColor_buf_.selector = 2; + checkedBackgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (checkedBackgroundColor_buf__selector == 3) { + checkedBackgroundColor_buf_.selector = 3; + checkedBackgroundColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for _selectedItemHeight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for checkedBackgroundColor_buf_ has to be chosen through deserialisation."); } - _selectedItemHeight_buf.value = static_cast(_selectedItemHeight_buf_); - } - value._selectedItemHeight = _selectedItemHeight_buf; - const auto _mask_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean _mask_buf = {}; - _mask_buf.tag = _mask_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_mask_buf_runtimeType)) - { - _mask_buf.value = valueDeserializer.readBoolean(); + checkedBackgroundColor_buf.value = static_cast(checkedBackgroundColor_buf_); } - value._mask = _mask_buf; - const auto _color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor _color_buf = {}; - _color_buf.tag = _color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_color_buf_runtimeType)) + value.checkedBackgroundColor = checkedBackgroundColor_buf; + const auto uncheckedBorderColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor uncheckedBorderColor_buf = {}; + uncheckedBorderColor_buf.tag = uncheckedBorderColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (uncheckedBorderColor_buf_runtimeType)) { - const Ark_Int8 _color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor _color_buf_ = {}; - _color_buf_.selector = _color_buf__selector; - if (_color_buf__selector == 0) { - _color_buf_.selector = 0; - _color_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 uncheckedBorderColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor uncheckedBorderColor_buf_ = {}; + uncheckedBorderColor_buf_.selector = uncheckedBorderColor_buf__selector; + if (uncheckedBorderColor_buf__selector == 0) { + uncheckedBorderColor_buf_.selector = 0; + uncheckedBorderColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (_color_buf__selector == 1) { - _color_buf_.selector = 1; - _color_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (uncheckedBorderColor_buf__selector == 1) { + uncheckedBorderColor_buf_.selector = 1; + uncheckedBorderColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (_color_buf__selector == 2) { - _color_buf_.selector = 2; - _color_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (uncheckedBorderColor_buf__selector == 2) { + uncheckedBorderColor_buf_.selector = 2; + uncheckedBorderColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (_color_buf__selector == 3) { - _color_buf_.selector = 3; - _color_buf_.value3 = valueDeserializer.readResource(); + else if (uncheckedBorderColor_buf__selector == 3) { + uncheckedBorderColor_buf_.selector = 3; + uncheckedBorderColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for _color_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for uncheckedBorderColor_buf_ has to be chosen through deserialisation."); } - _color_buf.value = static_cast(_color_buf_); + uncheckedBorderColor_buf.value = static_cast(uncheckedBorderColor_buf_); } - value._color = _color_buf; - const auto _selectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor _selectedColor_buf = {}; - _selectedColor_buf.tag = _selectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_selectedColor_buf_runtimeType)) + value.uncheckedBorderColor = uncheckedBorderColor_buf; + const auto indicatorColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor indicatorColor_buf = {}; + indicatorColor_buf.tag = indicatorColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (indicatorColor_buf_runtimeType)) { - const Ark_Int8 _selectedColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor _selectedColor_buf_ = {}; - _selectedColor_buf_.selector = _selectedColor_buf__selector; - if (_selectedColor_buf__selector == 0) { - _selectedColor_buf_.selector = 0; - _selectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 indicatorColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor indicatorColor_buf_ = {}; + indicatorColor_buf_.selector = indicatorColor_buf__selector; + if (indicatorColor_buf__selector == 0) { + indicatorColor_buf_.selector = 0; + indicatorColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (_selectedColor_buf__selector == 1) { - _selectedColor_buf_.selector = 1; - _selectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (indicatorColor_buf__selector == 1) { + indicatorColor_buf_.selector = 1; + indicatorColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (_selectedColor_buf__selector == 2) { - _selectedColor_buf_.selector = 2; - _selectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (indicatorColor_buf__selector == 2) { + indicatorColor_buf_.selector = 2; + indicatorColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (_selectedColor_buf__selector == 3) { - _selectedColor_buf_.selector = 3; - _selectedColor_buf_.value3 = valueDeserializer.readResource(); + else if (indicatorColor_buf__selector == 3) { + indicatorColor_buf_.selector = 3; + indicatorColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for _selectedColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for indicatorColor_buf_ has to be chosen through deserialisation."); } - _selectedColor_buf.value = static_cast(_selectedColor_buf_); - } - value._selectedColor = _selectedColor_buf; - const auto _maxDisplayCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number _maxDisplayCount_buf = {}; - _maxDisplayCount_buf.tag = _maxDisplayCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (_maxDisplayCount_buf_runtimeType)) - { - _maxDisplayCount_buf.value = static_cast(valueDeserializer.readNumber()); + indicatorColor_buf.value = static_cast(indicatorColor_buf_); } - value._maxDisplayCount = _maxDisplayCount_buf; + value.indicatorColor = indicatorColor_buf; return value; } - Ark_DragPreviewOptions readDragPreviewOptions() + Ark_RectOptions readRectOptions() { - Ark_DragPreviewOptions value = {}; + Ark_RectOptions value = {}; Deserializer& valueDeserializer = *this; - const auto mode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_DragPreviewMode_Array_DragPreviewMode mode_buf = {}; - mode_buf.tag = mode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (mode_buf_runtimeType)) + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { - const Ark_Int8 mode_buf__selector = valueDeserializer.readInt8(); - Ark_Union_DragPreviewMode_Array_DragPreviewMode mode_buf_ = {}; - mode_buf_.selector = mode_buf__selector; - if (mode_buf__selector == 0) { - mode_buf_.selector = 0; - mode_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (mode_buf__selector == 1) { - mode_buf_.selector = 1; - const Ark_Int32 mode_buf__u_length = valueDeserializer.readInt32(); - Array_DragPreviewMode mode_buf__u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&mode_buf__u, mode_buf__u_length); - for (int mode_buf__u_i = 0; mode_buf__u_i < mode_buf__u_length; mode_buf__u_i++) { - mode_buf__u.array[mode_buf__u_i] = static_cast(valueDeserializer.readInt32()); - } - mode_buf_.value1 = mode_buf__u; + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for mode_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - mode_buf.value = static_cast(mode_buf_); + width_buf.value = static_cast(width_buf_); } - value.mode = mode_buf; - const auto modifier_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ImageModifier modifier_buf = {}; - modifier_buf.tag = modifier_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (modifier_buf_runtimeType)) + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { - modifier_buf.value = valueDeserializer.readImageModifier(); + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + } + height_buf.value = static_cast(height_buf_); } - value.modifier = modifier_buf; - const auto numberBadge_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Boolean_Number numberBadge_buf = {}; - numberBadge_buf.tag = numberBadge_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (numberBadge_buf_runtimeType)) + value.height = height_buf; + const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String_Array_Union_Number_String radius_buf = {}; + radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) { - const Ark_Int8 numberBadge_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Boolean_Number numberBadge_buf_ = {}; - numberBadge_buf_.selector = numberBadge_buf__selector; - if (numberBadge_buf__selector == 0) { - numberBadge_buf_.selector = 0; - numberBadge_buf_.value0 = valueDeserializer.readBoolean(); + const Ark_Int8 radius_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_Array_Union_Number_String radius_buf_ = {}; + radius_buf_.selector = radius_buf__selector; + if (radius_buf__selector == 0) { + radius_buf_.selector = 0; + radius_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (numberBadge_buf__selector == 1) { - numberBadge_buf_.selector = 1; - numberBadge_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (radius_buf__selector == 1) { + radius_buf_.selector = 1; + radius_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else if (radius_buf__selector == 2) { + radius_buf_.selector = 2; + const Ark_Int32 radius_buf__u_length = valueDeserializer.readInt32(); + Array_Union_Number_String radius_buf__u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&radius_buf__u, radius_buf__u_length); + for (int radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { + const Ark_Int8 radius_buf__u_buf_selector = valueDeserializer.readInt8(); + Ark_Union_Number_String radius_buf__u_buf = {}; + radius_buf__u_buf.selector = radius_buf__u_buf_selector; + if (radius_buf__u_buf_selector == 0) { + radius_buf__u_buf.selector = 0; + radius_buf__u_buf.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (radius_buf__u_buf_selector == 1) { + radius_buf__u_buf.selector = 1; + radius_buf__u_buf.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for radius_buf__u_buf has to be chosen through deserialisation."); + } + radius_buf__u.array[radius_buf__u_i] = static_cast(radius_buf__u_buf); + } + radius_buf_.value2 = radius_buf__u; } else { - INTEROP_FATAL("One of the branches for numberBadge_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); } - numberBadge_buf.value = static_cast(numberBadge_buf_); + radius_buf.value = static_cast(radius_buf_); } - value.numberBadge = numberBadge_buf; + value.radius = radius_buf; return value; } - Ark_Edges readEdges() + Ark_RectShapeOptions readRectShapeOptions() { - Ark_Edges value = {}; + Ark_RectShapeOptions value = {}; Deserializer& valueDeserializer = *this; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { - const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource top_buf_ = {}; - top_buf_.selector = top_buf__selector; - if (top_buf__selector == 0) { - top_buf_.selector = 0; - top_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (top_buf__selector == 1) { - top_buf_.selector = 1; - top_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readString()); } - else if (top_buf__selector == 2) { - top_buf_.selector = 2; - top_buf_.value2 = valueDeserializer.readResource(); + else { + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + } + width_buf.value = static_cast(width_buf_); + } + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + { + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); } - top_buf.value = static_cast(top_buf_); + height_buf.value = static_cast(height_buf_); } - value.top = top_buf; - const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource left_buf = {}; - left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + value.height = height_buf; + const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String_Array_Union_Number_String radius_buf = {}; + radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) { - const Ark_Int8 left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource left_buf_ = {}; - left_buf_.selector = left_buf__selector; - if (left_buf__selector == 0) { - left_buf_.selector = 0; - left_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 radius_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_Array_Union_Number_String radius_buf_ = {}; + radius_buf_.selector = radius_buf__selector; + if (radius_buf__selector == 0) { + radius_buf_.selector = 0; + radius_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (left_buf__selector == 1) { - left_buf_.selector = 1; - left_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (radius_buf__selector == 1) { + radius_buf_.selector = 1; + radius_buf_.value1 = static_cast(valueDeserializer.readString()); } - else if (left_buf__selector == 2) { - left_buf_.selector = 2; - left_buf_.value2 = valueDeserializer.readResource(); + else if (radius_buf__selector == 2) { + radius_buf_.selector = 2; + const Ark_Int32 radius_buf__u_length = valueDeserializer.readInt32(); + Array_Union_Number_String radius_buf__u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&radius_buf__u, radius_buf__u_length); + for (int radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { + const Ark_Int8 radius_buf__u_buf_selector = valueDeserializer.readInt8(); + Ark_Union_Number_String radius_buf__u_buf = {}; + radius_buf__u_buf.selector = radius_buf__u_buf_selector; + if (radius_buf__u_buf_selector == 0) { + radius_buf__u_buf.selector = 0; + radius_buf__u_buf.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (radius_buf__u_buf_selector == 1) { + radius_buf__u_buf.selector = 1; + radius_buf__u_buf.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for radius_buf__u_buf has to be chosen through deserialisation."); + } + radius_buf__u.array[radius_buf__u_i] = static_cast(radius_buf__u_buf); + } + radius_buf_.value2 = radius_buf__u; } else { - INTEROP_FATAL("One of the branches for left_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); } - left_buf.value = static_cast(left_buf_); + radius_buf.value = static_cast(radius_buf_); } - value.left = left_buf; - const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + value.radius = radius_buf; + return value; + } + Ark_RefreshOptions readRefreshOptions() + { + Ark_RefreshOptions value = {}; + Deserializer& valueDeserializer = *this; + value.refreshing = valueDeserializer.readBoolean(); + const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String offset_buf = {}; + offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - const Ark_Int8 bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource bottom_buf_ = {}; - bottom_buf_.selector = bottom_buf__selector; - if (bottom_buf__selector == 0) { - bottom_buf_.selector = 0; - bottom_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 offset_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String offset_buf_ = {}; + offset_buf_.selector = offset_buf__selector; + if (offset_buf__selector == 0) { + offset_buf_.selector = 0; + offset_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (bottom_buf__selector == 1) { - bottom_buf_.selector = 1; - bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (offset_buf__selector == 1) { + offset_buf_.selector = 1; + offset_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for offset_buf_ has to be chosen through deserialisation."); + } + offset_buf.value = static_cast(offset_buf_); + } + value.offset = offset_buf; + const auto friction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String friction_buf = {}; + friction_buf.tag = friction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (friction_buf_runtimeType)) + { + const Ark_Int8 friction_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String friction_buf_ = {}; + friction_buf_.selector = friction_buf__selector; + if (friction_buf__selector == 0) { + friction_buf_.selector = 0; + friction_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (bottom_buf__selector == 2) { - bottom_buf_.selector = 2; - bottom_buf_.value2 = valueDeserializer.readResource(); + else if (friction_buf__selector == 1) { + friction_buf_.selector = 1; + friction_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for bottom_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for friction_buf_ has to be chosen through deserialisation."); } - bottom_buf.value = static_cast(bottom_buf_); + friction_buf.value = static_cast(friction_buf_); } - value.bottom = bottom_buf; - const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource right_buf = {}; - right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) + value.friction = friction_buf; + const auto promptText_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr promptText_buf = {}; + promptText_buf.tag = promptText_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (promptText_buf_runtimeType)) { - const Ark_Int8 right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource right_buf_ = {}; - right_buf_.selector = right_buf__selector; - if (right_buf__selector == 0) { - right_buf_.selector = 0; - right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (right_buf__selector == 1) { - right_buf_.selector = 1; - right_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 promptText_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr promptText_buf_ = {}; + promptText_buf_.selector = promptText_buf__selector; + if (promptText_buf__selector == 0) { + promptText_buf_.selector = 0; + promptText_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (right_buf__selector == 2) { - right_buf_.selector = 2; - right_buf_.value2 = valueDeserializer.readResource(); + else if (promptText_buf__selector == 1) { + promptText_buf_.selector = 1; + promptText_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for right_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for promptText_buf_ has to be chosen through deserialisation."); } - right_buf.value = static_cast(right_buf_); - } - value.right = right_buf; - return value; - } - Ark_ExpandedMenuItemOptions readExpandedMenuItemOptions() - { - Ark_ExpandedMenuItemOptions value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int8 content_buf_selector = valueDeserializer.readInt8(); - Ark_ResourceStr content_buf = {}; - content_buf.selector = content_buf_selector; - if (content_buf_selector == 0) { - content_buf.selector = 0; - content_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (content_buf_selector == 1) { - content_buf.selector = 1; - content_buf.value1 = valueDeserializer.readResource(); + promptText_buf.value = static_cast(promptText_buf_); } - else { - INTEROP_FATAL("One of the branches for content_buf has to be chosen through deserialisation."); + value.promptText = promptText_buf; + const auto builder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder builder_buf = {}; + builder_buf.tag = builder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (builder_buf_runtimeType)) + { + builder_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; } - value.content = static_cast(content_buf); - const auto startIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr startIcon_buf = {}; - startIcon_buf.tag = startIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (startIcon_buf_runtimeType)) + value.builder = builder_buf; + const auto refreshingContent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ComponentContent refreshingContent_buf = {}; + refreshingContent_buf.tag = refreshingContent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (refreshingContent_buf_runtimeType)) { - const Ark_Int8 startIcon_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr startIcon_buf_ = {}; - startIcon_buf_.selector = startIcon_buf__selector; - if (startIcon_buf__selector == 0) { - startIcon_buf_.selector = 0; - startIcon_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (startIcon_buf__selector == 1) { - startIcon_buf_.selector = 1; - startIcon_buf_.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for startIcon_buf_ has to be chosen through deserialisation."); - } - startIcon_buf.value = static_cast(startIcon_buf_); + refreshingContent_buf.value = static_cast(valueDeserializer.readComponentContent()); } - value.startIcon = startIcon_buf; - value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_String_plainText_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_String_plainText_Void))))}; + value.refreshingContent = refreshingContent_buf; return value; } - Ark_FadingEdgeOptions readFadingEdgeOptions() + Ark_RestrictedWorker readRestrictedWorker() { - Ark_FadingEdgeOptions value = {}; Deserializer& valueDeserializer = *this; - const auto fadingEdgeLength_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics fadingEdgeLength_buf = {}; - fadingEdgeLength_buf.tag = fadingEdgeLength_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fadingEdgeLength_buf_runtimeType)) + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_ReuseOptions readReuseOptions() + { + Ark_ReuseOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto reuseId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ReuseIdCallback reuseId_buf = {}; + reuseId_buf.tag = reuseId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (reuseId_buf_runtimeType)) { - fadingEdgeLength_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + reuseId_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ReuseIdCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ReuseIdCallback))))}; } - value.fadingEdgeLength = fadingEdgeLength_buf; + value.reuseId = reuseId_buf; return value; } - Ark_FlexSpaceOptions readFlexSpaceOptions() + Ark_RichEditorBuilderSpanOptions readRichEditorBuilderSpanOptions() { - Ark_FlexSpaceOptions value = {}; + Ark_RichEditorBuilderSpanOptions value = {}; Deserializer& valueDeserializer = *this; - const auto main_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics main_buf = {}; - main_buf.tag = main_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (main_buf_runtimeType)) + const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number offset_buf = {}; + offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - main_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + offset_buf.value = static_cast(valueDeserializer.readNumber()); } - value.main = main_buf; - const auto cross_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics cross_buf = {}; - cross_buf.tag = cross_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cross_buf_runtimeType)) + value.offset = offset_buf; + const auto dragBackgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ColorMetrics dragBackgroundColor_buf = {}; + dragBackgroundColor_buf.tag = dragBackgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dragBackgroundColor_buf_runtimeType)) { - cross_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + dragBackgroundColor_buf.value = static_cast(valueDeserializer.readColorMetrics()); } - value.cross = cross_buf; + value.dragBackgroundColor = dragBackgroundColor_buf; + const auto isDragShadowNeeded_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isDragShadowNeeded_buf = {}; + isDragShadowNeeded_buf.tag = isDragShadowNeeded_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isDragShadowNeeded_buf_runtimeType)) + { + isDragShadowNeeded_buf.value = valueDeserializer.readBoolean(); + } + value.isDragShadowNeeded = isDragShadowNeeded_buf; return value; } - Ark_FocusBoxStyle readFocusBoxStyle() + Ark_RichEditorChangeValue readRichEditorChangeValue() { - Ark_FocusBoxStyle value = {}; + Ark_RichEditorChangeValue value = {}; Deserializer& valueDeserializer = *this; - const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics margin_buf = {}; - margin_buf.tag = margin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) - { - margin_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + value.rangeBefore = valueDeserializer.readTextRange(); + const Ark_Int32 replacedSpans_buf_length = valueDeserializer.readInt32(); + Array_RichEditorTextSpanResult replacedSpans_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&replacedSpans_buf, replacedSpans_buf_length); + for (int replacedSpans_buf_i = 0; replacedSpans_buf_i < replacedSpans_buf_length; replacedSpans_buf_i++) { + replacedSpans_buf.array[replacedSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult(); } - value.margin = margin_buf; - const auto strokeColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ColorMetrics strokeColor_buf = {}; - strokeColor_buf.tag = strokeColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeColor_buf_runtimeType)) - { - strokeColor_buf.value = static_cast(valueDeserializer.readColorMetrics()); + value.replacedSpans = replacedSpans_buf; + const Ark_Int32 replacedImageSpans_buf_length = valueDeserializer.readInt32(); + Array_RichEditorImageSpanResult replacedImageSpans_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&replacedImageSpans_buf, replacedImageSpans_buf_length); + for (int replacedImageSpans_buf_i = 0; replacedImageSpans_buf_i < replacedImageSpans_buf_length; replacedImageSpans_buf_i++) { + replacedImageSpans_buf.array[replacedImageSpans_buf_i] = valueDeserializer.readRichEditorImageSpanResult(); } - value.strokeColor = strokeColor_buf; - const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) - { - strokeWidth_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + value.replacedImageSpans = replacedImageSpans_buf; + const Ark_Int32 replacedSymbolSpans_buf_length = valueDeserializer.readInt32(); + Array_RichEditorTextSpanResult replacedSymbolSpans_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&replacedSymbolSpans_buf, replacedSymbolSpans_buf_length); + for (int replacedSymbolSpans_buf_i = 0; replacedSymbolSpans_buf_i < replacedSymbolSpans_buf_length; replacedSymbolSpans_buf_i++) { + replacedSymbolSpans_buf.array[replacedSymbolSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult(); } - value.strokeWidth = strokeWidth_buf; + value.replacedSymbolSpans = replacedSymbolSpans_buf; return value; } - Ark_Font readFont() + Ark_RichEditorSymbolSpanStyle readRichEditorSymbolSpanStyle() { - Ark_Font value = {}; + Ark_RichEditorSymbolSpanStyle value = {}; Deserializer& valueDeserializer = *this; - const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource size_buf = {}; - size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) + const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String_Resource fontSize_buf = {}; + fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) { - const Ark_Int8 size_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource size_buf_ = {}; - size_buf_.selector = size_buf__selector; - if (size_buf__selector == 0) { - size_buf_.selector = 0; - size_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 fontSize_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_Resource fontSize_buf_ = {}; + fontSize_buf_.selector = fontSize_buf__selector; + if (fontSize_buf__selector == 0) { + fontSize_buf_.selector = 0; + fontSize_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (size_buf__selector == 1) { - size_buf_.selector = 1; - size_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (fontSize_buf__selector == 1) { + fontSize_buf_.selector = 1; + fontSize_buf_.value1 = static_cast(valueDeserializer.readString()); } - else if (size_buf__selector == 2) { - size_buf_.selector = 2; - size_buf_.value2 = valueDeserializer.readResource(); + else if (fontSize_buf__selector == 2) { + fontSize_buf_.selector = 2; + fontSize_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for size_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontSize_buf_ has to be chosen through deserialisation."); } - size_buf.value = static_cast(size_buf_); + fontSize_buf.value = static_cast(fontSize_buf_); } - value.size = size_buf; - const auto weight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_FontWeight_Number_String weight_buf = {}; - weight_buf.tag = weight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (weight_buf_runtimeType)) + value.fontSize = fontSize_buf; + const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_ResourceColor fontColor_buf = {}; + fontColor_buf.tag = fontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) { - const Ark_Int8 weight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_FontWeight_Number_String weight_buf_ = {}; - weight_buf_.selector = weight_buf__selector; - if (weight_buf__selector == 0) { - weight_buf_.selector = 0; - weight_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int32 fontColor_buf__length = valueDeserializer.readInt32(); + Array_ResourceColor fontColor_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&fontColor_buf_, fontColor_buf__length); + for (int fontColor_buf__i = 0; fontColor_buf__i < fontColor_buf__length; fontColor_buf__i++) { + const Ark_Int8 fontColor_buf__buf_selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontColor_buf__buf = {}; + fontColor_buf__buf.selector = fontColor_buf__buf_selector; + if (fontColor_buf__buf_selector == 0) { + fontColor_buf__buf.selector = 0; + fontColor_buf__buf.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (fontColor_buf__buf_selector == 1) { + fontColor_buf__buf.selector = 1; + fontColor_buf__buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (fontColor_buf__buf_selector == 2) { + fontColor_buf__buf.selector = 2; + fontColor_buf__buf.value2 = static_cast(valueDeserializer.readString()); + } + else if (fontColor_buf__buf_selector == 3) { + fontColor_buf__buf.selector = 3; + fontColor_buf__buf.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for fontColor_buf__buf has to be chosen through deserialisation."); + } + fontColor_buf_.array[fontColor_buf__i] = static_cast(fontColor_buf__buf); } - else if (weight_buf__selector == 1) { - weight_buf_.selector = 1; - weight_buf_.value1 = static_cast(valueDeserializer.readNumber()); + fontColor_buf.value = fontColor_buf_; + } + value.fontColor = fontColor_buf; + const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_FontWeight_String fontWeight_buf = {}; + fontWeight_buf.tag = fontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) + { + const Ark_Int8 fontWeight_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_FontWeight_String fontWeight_buf_ = {}; + fontWeight_buf_.selector = fontWeight_buf__selector; + if (fontWeight_buf__selector == 0) { + fontWeight_buf_.selector = 0; + fontWeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (weight_buf__selector == 2) { - weight_buf_.selector = 2; - weight_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_.selector = 1; + fontWeight_buf_.value1 = static_cast(valueDeserializer.readInt32()); + } + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_.selector = 2; + fontWeight_buf_.value2 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for weight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontWeight_buf_ has to be chosen through deserialisation."); } - weight_buf.value = static_cast(weight_buf_); + fontWeight_buf.value = static_cast(fontWeight_buf_); } - value.weight = weight_buf; - const auto family_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Resource family_buf = {}; - family_buf.tag = family_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (family_buf_runtimeType)) + value.fontWeight = fontWeight_buf; + const auto effectStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SymbolEffectStrategy effectStrategy_buf = {}; + effectStrategy_buf.tag = effectStrategy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (effectStrategy_buf_runtimeType)) { - const Ark_Int8 family_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource family_buf_ = {}; - family_buf_.selector = family_buf__selector; - if (family_buf__selector == 0) { - family_buf_.selector = 0; - family_buf_.value0 = static_cast(valueDeserializer.readString()); + effectStrategy_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.effectStrategy = effectStrategy_buf; + const auto renderingStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SymbolRenderingStrategy renderingStrategy_buf = {}; + renderingStrategy_buf.tag = renderingStrategy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (renderingStrategy_buf_runtimeType)) + { + renderingStrategy_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.renderingStrategy = renderingStrategy_buf; + return value; + } + Ark_RichEditorUpdateSymbolSpanStyleOptions readRichEditorUpdateSymbolSpanStyleOptions() + { + Ark_RichEditorUpdateSymbolSpanStyleOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.end = end_buf; + value.symbolStyle = valueDeserializer.readRichEditorSymbolSpanStyle(); + return value; + } + Ark_RichEditorUrlStyle readRichEditorUrlStyle() + { + Ark_RichEditorUrlStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto url_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr url_buf = {}; + url_buf.tag = url_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (url_buf_runtimeType)) + { + const Ark_Int8 url_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr url_buf_ = {}; + url_buf_.selector = url_buf__selector; + if (url_buf__selector == 0) { + url_buf_.selector = 0; + url_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (family_buf__selector == 1) { - family_buf_.selector = 1; - family_buf_.value1 = valueDeserializer.readResource(); + else if (url_buf__selector == 1) { + url_buf_.selector = 1; + url_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for family_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for url_buf_ has to be chosen through deserialisation."); } - family_buf.value = static_cast(family_buf_); + url_buf.value = static_cast(url_buf_); } - value.family = family_buf; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FontStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + value.url = url_buf; + return value; + } + Ark_SceneOptions readSceneOptions() + { + Ark_SceneOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto scene_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_ResourceStr_Scene scene_buf = {}; + scene_buf.tag = scene_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scene_buf_runtimeType)) { - style_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 scene_buf__selector = valueDeserializer.readInt8(); + Ark_Union_ResourceStr_Scene scene_buf_ = {}; + scene_buf_.selector = scene_buf__selector; + if (scene_buf__selector == 0) { + scene_buf_.selector = 0; + const Ark_Int8 scene_buf__u_selector = valueDeserializer.readInt8(); + Ark_ResourceStr scene_buf__u = {}; + scene_buf__u.selector = scene_buf__u_selector; + if (scene_buf__u_selector == 0) { + scene_buf__u.selector = 0; + scene_buf__u.value0 = static_cast(valueDeserializer.readString()); + } + else if (scene_buf__u_selector == 1) { + scene_buf__u.selector = 1; + scene_buf__u.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for scene_buf__u has to be chosen through deserialisation."); + } + scene_buf_.value0 = static_cast(scene_buf__u); + } + else if (scene_buf__selector == 1) { + scene_buf_.selector = 1; + scene_buf_.value1 = static_cast(valueDeserializer.readScene()); + } + else { + INTEROP_FATAL("One of the branches for scene_buf_ has to be chosen through deserialisation."); + } + scene_buf.value = static_cast(scene_buf_); } - value.style = style_buf; + value.scene = scene_buf; + const auto modelType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ModelType modelType_buf = {}; + modelType_buf.tag = modelType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (modelType_buf_runtimeType)) + { + modelType_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.modelType = modelType_buf; return value; } - Ark_FontOptions readFontOptions() + Ark_ScrollOptions readScrollOptions() { - Ark_FontOptions value = {}; + Ark_ScrollOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 familyName_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource familyName_buf = {}; - familyName_buf.selector = familyName_buf_selector; - if (familyName_buf_selector == 0) { - familyName_buf.selector = 0; - familyName_buf.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 xOffset_buf_selector = valueDeserializer.readInt8(); + Ark_Union_Number_String xOffset_buf = {}; + xOffset_buf.selector = xOffset_buf_selector; + if (xOffset_buf_selector == 0) { + xOffset_buf.selector = 0; + xOffset_buf.value0 = static_cast(valueDeserializer.readNumber()); } - else if (familyName_buf_selector == 1) { - familyName_buf.selector = 1; - familyName_buf.value1 = valueDeserializer.readResource(); + else if (xOffset_buf_selector == 1) { + xOffset_buf.selector = 1; + xOffset_buf.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for familyName_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for xOffset_buf has to be chosen through deserialisation."); } - value.familyName = static_cast(familyName_buf); - const Ark_Int8 familySrc_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource familySrc_buf = {}; - familySrc_buf.selector = familySrc_buf_selector; - if (familySrc_buf_selector == 0) { - familySrc_buf.selector = 0; - familySrc_buf.value0 = static_cast(valueDeserializer.readString()); + value.xOffset = static_cast(xOffset_buf); + const Ark_Int8 yOffset_buf_selector = valueDeserializer.readInt8(); + Ark_Union_Number_String yOffset_buf = {}; + yOffset_buf.selector = yOffset_buf_selector; + if (yOffset_buf_selector == 0) { + yOffset_buf.selector = 0; + yOffset_buf.value0 = static_cast(valueDeserializer.readNumber()); } - else if (familySrc_buf_selector == 1) { - familySrc_buf.selector = 1; - familySrc_buf.value1 = valueDeserializer.readResource(); + else if (yOffset_buf_selector == 1) { + yOffset_buf.selector = 1; + yOffset_buf.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for familySrc_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for yOffset_buf has to be chosen through deserialisation."); } - value.familySrc = static_cast(familySrc_buf); + value.yOffset = static_cast(yOffset_buf); + const auto animation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_ScrollAnimationOptions_Boolean animation_buf = {}; + animation_buf.tag = animation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animation_buf_runtimeType)) + { + const Ark_Int8 animation_buf__selector = valueDeserializer.readInt8(); + Ark_Union_ScrollAnimationOptions_Boolean animation_buf_ = {}; + animation_buf_.selector = animation_buf__selector; + if (animation_buf__selector == 0) { + animation_buf_.selector = 0; + animation_buf_.value0 = valueDeserializer.readScrollAnimationOptions(); + } + else if (animation_buf__selector == 1) { + animation_buf_.selector = 1; + animation_buf_.value1 = valueDeserializer.readBoolean(); + } + else { + INTEROP_FATAL("One of the branches for animation_buf_ has to be chosen through deserialisation."); + } + animation_buf.value = static_cast(animation_buf_); + } + value.animation = animation_buf; return value; } - Ark_ForegroundBlurStyleOptions readForegroundBlurStyleOptions() + Ark_ScrollToIndexOptions readScrollToIndexOptions() { - Ark_ForegroundBlurStyleOptions value = {}; + Ark_ScrollToIndexOptions value = {}; Deserializer& valueDeserializer = *this; - const auto colorMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ThemeColorMode colorMode_buf = {}; - colorMode_buf.tag = colorMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (colorMode_buf_runtimeType)) + const auto extraOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics extraOffset_buf = {}; + extraOffset_buf.tag = extraOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (extraOffset_buf_runtimeType)) + { + extraOffset_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.extraOffset = extraOffset_buf; + return value; + } + Ark_SearchOptions readSearchOptions() + { + Ark_SearchOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String value_buf = {}; + value_buf.tag = value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) { - colorMode_buf.value = static_cast(valueDeserializer.readInt32()); + value_buf.value = static_cast(valueDeserializer.readString()); } - value.colorMode = colorMode_buf; - const auto adaptiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_AdaptiveColor adaptiveColor_buf = {}; - adaptiveColor_buf.tag = adaptiveColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (adaptiveColor_buf_runtimeType)) + value.value = value_buf; + const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr placeholder_buf = {}; + placeholder_buf.tag = placeholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) { - adaptiveColor_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 placeholder_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr placeholder_buf_ = {}; + placeholder_buf_.selector = placeholder_buf__selector; + if (placeholder_buf__selector == 0) { + placeholder_buf_.selector = 0; + placeholder_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (placeholder_buf__selector == 1) { + placeholder_buf_.selector = 1; + placeholder_buf_.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for placeholder_buf_ has to be chosen through deserialisation."); + } + placeholder_buf.value = static_cast(placeholder_buf_); } - value.adaptiveColor = adaptiveColor_buf; - const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number scale_buf = {}; - scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) + value.placeholder = placeholder_buf; + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) { - scale_buf.value = static_cast(valueDeserializer.readNumber()); + icon_buf.value = static_cast(valueDeserializer.readString()); } - value.scale = scale_buf; - const auto blurOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BlurOptions blurOptions_buf = {}; - blurOptions_buf.tag = blurOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (blurOptions_buf_runtimeType)) + value.icon = icon_buf; + const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SearchController controller_buf = {}; + controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) { - blurOptions_buf.value = valueDeserializer.readBlurOptions(); + controller_buf.value = static_cast(valueDeserializer.readSearchController()); } - value.blurOptions = blurOptions_buf; + value.controller = controller_buf; return value; } - Ark_FormInfo readFormInfo() + Ark_SelectionMenuOptions readSelectionMenuOptions() { - Ark_FormInfo value = {}; + Ark_SelectionMenuOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 id_buf_selector = valueDeserializer.readInt8(); - Ark_Union_I64_String id_buf = {}; - id_buf.selector = id_buf_selector; - if (id_buf_selector == 0) { - id_buf.selector = 0; - id_buf.value0 = valueDeserializer.readInt64(); - } - else if (id_buf_selector == 1) { - id_buf.selector = 1; - id_buf.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for id_buf has to be chosen through deserialisation."); + const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_MenuOnAppearCallback onAppear_buf = {}; + onAppear_buf.tag = onAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) + { + onAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_MenuOnAppearCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_MenuOnAppearCallback))))}; } - value.id = static_cast(id_buf); - value.name = static_cast(valueDeserializer.readString()); - value.bundle = static_cast(valueDeserializer.readString()); - value.ability = static_cast(valueDeserializer.readString()); - value.module = static_cast(valueDeserializer.readString()); - const auto dimension_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FormDimension dimension_buf = {}; - dimension_buf.tag = dimension_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dimension_buf_runtimeType)) + value.onAppear = onAppear_buf; + const auto onDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDisappear_buf = {}; + onDisappear_buf.tag = onDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) { - dimension_buf.value = static_cast(valueDeserializer.readInt32()); + onDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; } - value.dimension = dimension_buf; - const auto temporary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean temporary_buf = {}; - temporary_buf.tag = temporary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (temporary_buf_runtimeType)) + value.onDisappear = onDisappear_buf; + const auto menuType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_MenuType menuType_buf = {}; + menuType_buf.tag = menuType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (menuType_buf_runtimeType)) { - temporary_buf.value = valueDeserializer.readBoolean(); + menuType_buf.value = static_cast(valueDeserializer.readInt32()); } - value.temporary = temporary_buf; - const auto want_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Want want_buf = {}; - want_buf.tag = want_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (want_buf_runtimeType)) + value.menuType = menuType_buf; + const auto onMenuShow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_MenuCallback onMenuShow_buf = {}; + onMenuShow_buf.tag = onMenuShow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onMenuShow_buf_runtimeType)) { - want_buf.value = valueDeserializer.readWant(); + onMenuShow_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_MenuCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_MenuCallback))))}; } - value.want = want_buf; - const auto renderingMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FormRenderingMode renderingMode_buf = {}; - renderingMode_buf.tag = renderingMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (renderingMode_buf_runtimeType)) + value.onMenuShow = onMenuShow_buf; + const auto onMenuHide_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_MenuCallback onMenuHide_buf = {}; + onMenuHide_buf.tag = onMenuHide_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onMenuHide_buf_runtimeType)) { - renderingMode_buf.value = static_cast(valueDeserializer.readInt32()); + onMenuHide_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_MenuCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_MenuCallback))))}; } - value.renderingMode = renderingMode_buf; - const auto shape_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FormShape shape_buf = {}; - shape_buf.tag = shape_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (shape_buf_runtimeType)) + value.onMenuHide = onMenuHide_buf; + const auto previewMenuOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PreviewMenuOptions previewMenuOptions_buf = {}; + previewMenuOptions_buf.tag = previewMenuOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (previewMenuOptions_buf_runtimeType)) { - shape_buf.value = static_cast(valueDeserializer.readInt32()); + previewMenuOptions_buf.value = valueDeserializer.readPreviewMenuOptions(); } - value.shape = shape_buf; + value.previewMenuOptions = previewMenuOptions_buf; return value; } - Ark_GaugeIndicatorOptions readGaugeIndicatorOptions() + Ark_SelectOption readSelectOption() { - Ark_GaugeIndicatorOptions value = {}; + Ark_SelectOption value = {}; Deserializer& valueDeserializer = *this; + const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceStr value_buf = {}; + value_buf.selector = value_buf_selector; + if (value_buf_selector == 0) { + value_buf.selector = 0; + value_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (value_buf_selector == 1) { + value_buf.selector = 1; + value_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + } + value.value = static_cast(value_buf); const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr icon_buf = {}; icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -99164,60 +106027,73 @@ class Deserializer : public DeserializerBase { icon_buf.value = static_cast(icon_buf_); } value.icon = icon_buf; - const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource space_buf = {}; - space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + const auto symbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SymbolGlyphModifier symbolIcon_buf = {}; + symbolIcon_buf.tag = symbolIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (symbolIcon_buf_runtimeType)) { - const Ark_Int8 space_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource space_buf_ = {}; - space_buf_.selector = space_buf__selector; - if (space_buf__selector == 0) { - space_buf_.selector = 0; - space_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (space_buf__selector == 1) { - space_buf_.selector = 1; - space_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (space_buf__selector == 2) { - space_buf_.selector = 2; - space_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for space_buf_ has to be chosen through deserialisation."); - } - space_buf.value = static_cast(space_buf_); + symbolIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); } - value.space = space_buf; + value.symbolIcon = symbolIcon_buf; return value; } - Ark_GaugeShadowOptions readGaugeShadowOptions() + Ark_ShadowOptions readShadowOptions() { - Ark_GaugeShadowOptions value = {}; + Ark_ShadowOptions value = {}; Deserializer& valueDeserializer = *this; - const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_Resource radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + const Ark_Int8 radius_buf_selector = valueDeserializer.readInt8(); + Ark_Union_Number_Resource radius_buf = {}; + radius_buf.selector = radius_buf_selector; + if (radius_buf_selector == 0) { + radius_buf.selector = 0; + radius_buf.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (radius_buf_selector == 1) { + radius_buf.selector = 1; + radius_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for radius_buf has to be chosen through deserialisation."); + } + value.radius = static_cast(radius_buf); + const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ShadowType type_buf = {}; + type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) { - const Ark_Int8 radius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_Resource radius_buf_ = {}; - radius_buf_.selector = radius_buf__selector; - if (radius_buf__selector == 0) { - radius_buf_.selector = 0; - radius_buf_.value0 = static_cast(valueDeserializer.readNumber()); + type_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.type = type_buf; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Color_String_Resource_ColoringStrategy color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + { + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Color_String_Resource_ColoringStrategy color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (radius_buf__selector == 1) { - radius_buf_.selector = 1; - radius_buf_.value1 = valueDeserializer.readResource(); + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = valueDeserializer.readResource(); + } + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = static_cast(valueDeserializer.readInt32()); } else { - INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); } - radius_buf.value = static_cast(radius_buf_); + color_buf.value = static_cast(color_buf_); } - value.radius = radius_buf; + value.color = color_buf; const auto offsetX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_Resource offsetX_buf = {}; offsetX_buf.tag = offsetX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -99262,349 +106138,616 @@ class Deserializer : public DeserializerBase { offsetY_buf.value = static_cast(offsetY_buf_); } value.offsetY = offsetY_buf; + const auto fill_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean fill_buf = {}; + fill_buf.tag = fill_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fill_buf_runtimeType)) + { + fill_buf.value = valueDeserializer.readBoolean(); + } + value.fill = fill_buf; return value; } - Ark_GridColOptions readGridColOptions() + Ark_sharedTransitionOptions readsharedTransitionOptions() { - Ark_GridColOptions value = {}; + Ark_sharedTransitionOptions value = {}; Deserializer& valueDeserializer = *this; - const auto span_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_GridColColumnOption span_buf = {}; - span_buf.tag = span_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (span_buf_runtimeType)) + const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number duration_buf = {}; + duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) { - const Ark_Int8 span_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_GridColColumnOption span_buf_ = {}; - span_buf_.selector = span_buf__selector; - if (span_buf__selector == 0) { - span_buf_.selector = 0; - span_buf_.value0 = static_cast(valueDeserializer.readNumber()); + duration_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.duration = duration_buf; + const auto curve_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Curve_String_ICurve curve_buf = {}; + curve_buf.tag = curve_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (curve_buf_runtimeType)) + { + const Ark_Int8 curve_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Curve_String_ICurve curve_buf_ = {}; + curve_buf_.selector = curve_buf__selector; + if (curve_buf__selector == 0) { + curve_buf_.selector = 0; + curve_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (span_buf__selector == 1) { - span_buf_.selector = 1; - span_buf_.value1 = valueDeserializer.readGridColColumnOption(); + else if (curve_buf__selector == 1) { + curve_buf_.selector = 1; + curve_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else if (curve_buf__selector == 2) { + curve_buf_.selector = 2; + curve_buf_.value2 = static_cast(valueDeserializer.readICurve()); } else { - INTEROP_FATAL("One of the branches for span_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for curve_buf_ has to be chosen through deserialisation."); } - span_buf.value = static_cast(span_buf_); + curve_buf.value = static_cast(curve_buf_); } - value.span = span_buf; - const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_GridColColumnOption offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + value.curve = curve_buf; + const auto delay_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number delay_buf = {}; + delay_buf.tag = delay_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (delay_buf_runtimeType)) { - const Ark_Int8 offset_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_GridColColumnOption offset_buf_ = {}; - offset_buf_.selector = offset_buf__selector; - if (offset_buf__selector == 0) { - offset_buf_.selector = 0; - offset_buf_.value0 = static_cast(valueDeserializer.readNumber()); + delay_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.delay = delay_buf; + const auto motionPath_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_MotionPathOptions motionPath_buf = {}; + motionPath_buf.tag = motionPath_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (motionPath_buf_runtimeType)) + { + motionPath_buf.value = valueDeserializer.readMotionPathOptions(); + } + value.motionPath = motionPath_buf; + const auto zIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number zIndex_buf = {}; + zIndex_buf.tag = zIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (zIndex_buf_runtimeType)) + { + zIndex_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.zIndex = zIndex_buf; + const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SharedTransitionEffectType type_buf = {}; + type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + { + type_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.type = type_buf; + return value; + } + Ark_SheetInfo readSheetInfo() + { + Ark_SheetInfo value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 title_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource title_buf = {}; + title_buf.selector = title_buf_selector; + if (title_buf_selector == 0) { + title_buf.selector = 0; + title_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (title_buf_selector == 1) { + title_buf.selector = 1; + title_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for title_buf has to be chosen through deserialisation."); + } + value.title = static_cast(title_buf); + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Resource icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + { + const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource icon_buf_ = {}; + icon_buf_.selector = icon_buf__selector; + if (icon_buf__selector == 0) { + icon_buf_.selector = 0; + icon_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (offset_buf__selector == 1) { - offset_buf_.selector = 1; - offset_buf_.value1 = valueDeserializer.readGridColColumnOption(); + else if (icon_buf__selector == 1) { + icon_buf_.selector = 1; + icon_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for offset_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); } - offset_buf.value = static_cast(offset_buf_); + icon_buf.value = static_cast(icon_buf_); } - value.offset = offset_buf; - const auto order_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_GridColColumnOption order_buf = {}; - order_buf.tag = order_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (order_buf_runtimeType)) + value.icon = icon_buf; + value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; + return value; + } + Ark_SheetTitleOptions readSheetTitleOptions() + { + Ark_SheetTitleOptions value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 title_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceStr title_buf = {}; + title_buf.selector = title_buf_selector; + if (title_buf_selector == 0) { + title_buf.selector = 0; + title_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (title_buf_selector == 1) { + title_buf.selector = 1; + title_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for title_buf has to be chosen through deserialisation."); + } + value.title = static_cast(title_buf); + const auto subtitle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr subtitle_buf = {}; + subtitle_buf.tag = subtitle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (subtitle_buf_runtimeType)) { - const Ark_Int8 order_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_GridColColumnOption order_buf_ = {}; - order_buf_.selector = order_buf__selector; - if (order_buf__selector == 0) { - order_buf_.selector = 0; - order_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 subtitle_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr subtitle_buf_ = {}; + subtitle_buf_.selector = subtitle_buf__selector; + if (subtitle_buf__selector == 0) { + subtitle_buf_.selector = 0; + subtitle_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (order_buf__selector == 1) { - order_buf_.selector = 1; - order_buf_.value1 = valueDeserializer.readGridColColumnOption(); + else if (subtitle_buf__selector == 1) { + subtitle_buf_.selector = 1; + subtitle_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for order_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for subtitle_buf_ has to be chosen through deserialisation."); } - order_buf.value = static_cast(order_buf_); + subtitle_buf.value = static_cast(subtitle_buf_); } - value.order = order_buf; + value.subtitle = subtitle_buf; return value; } - Ark_GridRowSizeOption readGridRowSizeOption() + Ark_SliderBlockStyle readSliderBlockStyle() { - Ark_GridRowSizeOption value = {}; + Ark_SliderBlockStyle value = {}; Deserializer& valueDeserializer = *this; - const auto xs_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource xs_buf = {}; - xs_buf.tag = xs_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xs_buf_runtimeType)) + value.type = static_cast(valueDeserializer.readInt32()); + const auto image_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr image_buf = {}; + image_buf.tag = image_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (image_buf_runtimeType)) { - const Ark_Int8 xs_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource xs_buf_ = {}; - xs_buf_.selector = xs_buf__selector; - if (xs_buf__selector == 0) { - xs_buf_.selector = 0; - xs_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 image_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr image_buf_ = {}; + image_buf_.selector = image_buf__selector; + if (image_buf__selector == 0) { + image_buf_.selector = 0; + image_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (xs_buf__selector == 1) { - xs_buf_.selector = 1; - xs_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (image_buf__selector == 1) { + image_buf_.selector = 1; + image_buf_.value1 = valueDeserializer.readResource(); } - else if (xs_buf__selector == 2) { - xs_buf_.selector = 2; - xs_buf_.value2 = valueDeserializer.readResource(); + else { + INTEROP_FATAL("One of the branches for image_buf_ has to be chosen through deserialisation."); + } + image_buf.value = static_cast(image_buf_); + } + value.image = image_buf; + const auto shape_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String shape_buf = {}; + shape_buf.tag = shape_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (shape_buf_runtimeType)) + { + shape_buf.value = static_cast(valueDeserializer.readString()); + } + value.shape = shape_buf; + return value; + } + Ark_StyledStringChangeValue readStyledStringChangeValue() + { + Ark_StyledStringChangeValue value = {}; + Deserializer& valueDeserializer = *this; + value.range = valueDeserializer.readTextRange(); + value.replacementString = static_cast(valueDeserializer.readStyledString()); + const auto previewText_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_StyledString previewText_buf = {}; + previewText_buf.tag = previewText_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (previewText_buf_runtimeType)) + { + previewText_buf.value = static_cast(valueDeserializer.readStyledString()); + } + value.previewText = previewText_buf; + return value; + } + Ark_SwitchStyle readSwitchStyle() + { + Ark_SwitchStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto pointRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_Resource pointRadius_buf = {}; + pointRadius_buf.tag = pointRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (pointRadius_buf_runtimeType)) + { + const Ark_Int8 pointRadius_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_Resource pointRadius_buf_ = {}; + pointRadius_buf_.selector = pointRadius_buf__selector; + if (pointRadius_buf__selector == 0) { + pointRadius_buf_.selector = 0; + pointRadius_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (pointRadius_buf__selector == 1) { + pointRadius_buf_.selector = 1; + pointRadius_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for xs_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for pointRadius_buf_ has to be chosen through deserialisation."); } - xs_buf.value = static_cast(xs_buf_); + pointRadius_buf.value = static_cast(pointRadius_buf_); } - value.xs = xs_buf; - const auto sm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource sm_buf = {}; - sm_buf.tag = sm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (sm_buf_runtimeType)) + value.pointRadius = pointRadius_buf; + const auto unselectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor unselectedColor_buf = {}; + unselectedColor_buf.tag = unselectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (unselectedColor_buf_runtimeType)) { - const Ark_Int8 sm_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource sm_buf_ = {}; - sm_buf_.selector = sm_buf__selector; - if (sm_buf__selector == 0) { - sm_buf_.selector = 0; - sm_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 unselectedColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor unselectedColor_buf_ = {}; + unselectedColor_buf_.selector = unselectedColor_buf__selector; + if (unselectedColor_buf__selector == 0) { + unselectedColor_buf_.selector = 0; + unselectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (sm_buf__selector == 1) { - sm_buf_.selector = 1; - sm_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (unselectedColor_buf__selector == 1) { + unselectedColor_buf_.selector = 1; + unselectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (sm_buf__selector == 2) { - sm_buf_.selector = 2; - sm_buf_.value2 = valueDeserializer.readResource(); + else if (unselectedColor_buf__selector == 2) { + unselectedColor_buf_.selector = 2; + unselectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (unselectedColor_buf__selector == 3) { + unselectedColor_buf_.selector = 3; + unselectedColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for sm_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation."); } - sm_buf.value = static_cast(sm_buf_); + unselectedColor_buf.value = static_cast(unselectedColor_buf_); } - value.sm = sm_buf; - const auto md_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource md_buf = {}; - md_buf.tag = md_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (md_buf_runtimeType)) + value.unselectedColor = unselectedColor_buf; + const auto pointColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor pointColor_buf = {}; + pointColor_buf.tag = pointColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (pointColor_buf_runtimeType)) { - const Ark_Int8 md_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource md_buf_ = {}; - md_buf_.selector = md_buf__selector; - if (md_buf__selector == 0) { - md_buf_.selector = 0; - md_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 pointColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor pointColor_buf_ = {}; + pointColor_buf_.selector = pointColor_buf__selector; + if (pointColor_buf__selector == 0) { + pointColor_buf_.selector = 0; + pointColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (md_buf__selector == 1) { - md_buf_.selector = 1; - md_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (pointColor_buf__selector == 1) { + pointColor_buf_.selector = 1; + pointColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (md_buf__selector == 2) { - md_buf_.selector = 2; - md_buf_.value2 = valueDeserializer.readResource(); + else if (pointColor_buf__selector == 2) { + pointColor_buf_.selector = 2; + pointColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (pointColor_buf__selector == 3) { + pointColor_buf_.selector = 3; + pointColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for md_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for pointColor_buf_ has to be chosen through deserialisation."); } - md_buf.value = static_cast(md_buf_); + pointColor_buf.value = static_cast(pointColor_buf_); } - value.md = md_buf; - const auto lg_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource lg_buf = {}; - lg_buf.tag = lg_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lg_buf_runtimeType)) + value.pointColor = pointColor_buf; + const auto trackBorderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_Resource trackBorderRadius_buf = {}; + trackBorderRadius_buf.tag = trackBorderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (trackBorderRadius_buf_runtimeType)) { - const Ark_Int8 lg_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource lg_buf_ = {}; - lg_buf_.selector = lg_buf__selector; - if (lg_buf__selector == 0) { - lg_buf_.selector = 0; - lg_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (lg_buf__selector == 1) { - lg_buf_.selector = 1; - lg_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 trackBorderRadius_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_Resource trackBorderRadius_buf_ = {}; + trackBorderRadius_buf_.selector = trackBorderRadius_buf__selector; + if (trackBorderRadius_buf__selector == 0) { + trackBorderRadius_buf_.selector = 0; + trackBorderRadius_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (lg_buf__selector == 2) { - lg_buf_.selector = 2; - lg_buf_.value2 = valueDeserializer.readResource(); + else if (trackBorderRadius_buf__selector == 1) { + trackBorderRadius_buf_.selector = 1; + trackBorderRadius_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for lg_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for trackBorderRadius_buf_ has to be chosen through deserialisation."); } - lg_buf.value = static_cast(lg_buf_); + trackBorderRadius_buf.value = static_cast(trackBorderRadius_buf_); } - value.lg = lg_buf; - const auto xl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource xl_buf = {}; - xl_buf.tag = xl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xl_buf_runtimeType)) + value.trackBorderRadius = trackBorderRadius_buf; + return value; + } + Ark_TabBarIconStyle readTabBarIconStyle() + { + Ark_TabBarIconStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto selectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor selectedColor_buf = {}; + selectedColor_buf.tag = selectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (selectedColor_buf_runtimeType)) { - const Ark_Int8 xl_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource xl_buf_ = {}; - xl_buf_.selector = xl_buf__selector; - if (xl_buf__selector == 0) { - xl_buf_.selector = 0; - xl_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 selectedColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor selectedColor_buf_ = {}; + selectedColor_buf_.selector = selectedColor_buf__selector; + if (selectedColor_buf__selector == 0) { + selectedColor_buf_.selector = 0; + selectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (xl_buf__selector == 1) { - xl_buf_.selector = 1; - xl_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (selectedColor_buf__selector == 1) { + selectedColor_buf_.selector = 1; + selectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (xl_buf__selector == 2) { - xl_buf_.selector = 2; - xl_buf_.value2 = valueDeserializer.readResource(); + else if (selectedColor_buf__selector == 2) { + selectedColor_buf_.selector = 2; + selectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (selectedColor_buf__selector == 3) { + selectedColor_buf_.selector = 3; + selectedColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for xl_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for selectedColor_buf_ has to be chosen through deserialisation."); } - xl_buf.value = static_cast(xl_buf_); + selectedColor_buf.value = static_cast(selectedColor_buf_); } - value.xl = xl_buf; - const auto xxl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource xxl_buf = {}; - xxl_buf.tag = xxl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xxl_buf_runtimeType)) + value.selectedColor = selectedColor_buf; + const auto unselectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor unselectedColor_buf = {}; + unselectedColor_buf.tag = unselectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (unselectedColor_buf_runtimeType)) { - const Ark_Int8 xxl_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource xxl_buf_ = {}; - xxl_buf_.selector = xxl_buf__selector; - if (xxl_buf__selector == 0) { - xxl_buf_.selector = 0; - xxl_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 unselectedColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor unselectedColor_buf_ = {}; + unselectedColor_buf_.selector = unselectedColor_buf__selector; + if (unselectedColor_buf__selector == 0) { + unselectedColor_buf_.selector = 0; + unselectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (xxl_buf__selector == 1) { - xxl_buf_.selector = 1; - xxl_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (unselectedColor_buf__selector == 1) { + unselectedColor_buf_.selector = 1; + unselectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (xxl_buf__selector == 2) { - xxl_buf_.selector = 2; - xxl_buf_.value2 = valueDeserializer.readResource(); + else if (unselectedColor_buf__selector == 2) { + unselectedColor_buf_.selector = 2; + unselectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (unselectedColor_buf__selector == 3) { + unselectedColor_buf_.selector = 3; + unselectedColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for xxl_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation."); } - xxl_buf.value = static_cast(xxl_buf_); + unselectedColor_buf.value = static_cast(unselectedColor_buf_); } - value.xxl = xxl_buf; + value.unselectedColor = unselectedColor_buf; return value; } - Ark_GuideLinePosition readGuideLinePosition() + Ark_TabBarOptions readTabBarOptions() { - Ark_GuideLinePosition value = {}; + Ark_TabBarOptions value = {}; Deserializer& valueDeserializer = *this; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Resource icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) { - const Ark_Int8 start_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource start_buf_ = {}; - start_buf_.selector = start_buf__selector; - if (start_buf__selector == 0) { - start_buf_.selector = 0; - start_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (start_buf__selector == 1) { - start_buf_.selector = 1; - start_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource icon_buf_ = {}; + icon_buf_.selector = icon_buf__selector; + if (icon_buf__selector == 0) { + icon_buf_.selector = 0; + icon_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (start_buf__selector == 2) { - start_buf_.selector = 2; - start_buf_.value2 = valueDeserializer.readResource(); + else if (icon_buf__selector == 1) { + icon_buf_.selector = 1; + icon_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for start_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); } - start_buf.value = static_cast(start_buf_); + icon_buf.value = static_cast(icon_buf_); } - value.start = start_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + value.icon = icon_buf; + const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Resource text_buf = {}; + text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) { - const Ark_Int8 end_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource end_buf_ = {}; - end_buf_.selector = end_buf__selector; - if (end_buf__selector == 0) { - end_buf_.selector = 0; - end_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (end_buf__selector == 1) { - end_buf_.selector = 1; - end_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 text_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource text_buf_ = {}; + text_buf_.selector = text_buf__selector; + if (text_buf__selector == 0) { + text_buf_.selector = 0; + text_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (end_buf__selector == 2) { - end_buf_.selector = 2; - end_buf_.value2 = valueDeserializer.readResource(); + else if (text_buf__selector == 1) { + text_buf_.selector = 1; + text_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for end_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for text_buf_ has to be chosen through deserialisation."); } - end_buf.value = static_cast(end_buf_); + text_buf.value = static_cast(text_buf_); } - value.end = end_buf; + value.text = text_buf; return value; } - Ark_GuideLineStyle readGuideLineStyle() + Ark_TabsOptions readTabsOptions() { - Ark_GuideLineStyle value = {}; + Ark_TabsOptions value = {}; Deserializer& valueDeserializer = *this; - value.id = static_cast(valueDeserializer.readString()); - value.direction = static_cast(valueDeserializer.readInt32()); - value.position = valueDeserializer.readGuideLinePosition(); + const auto barPosition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BarPosition barPosition_buf = {}; + barPosition_buf.tag = barPosition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (barPosition_buf_runtimeType)) + { + barPosition_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.barPosition = barPosition_buf; + const auto index_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number index_buf = {}; + index_buf.tag = index_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (index_buf_runtimeType)) + { + index_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.index = index_buf; + const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TabsController controller_buf = {}; + controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + { + controller_buf.value = static_cast(valueDeserializer.readTabsController()); + } + value.controller = controller_buf; + const auto barModifier_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CommonModifier barModifier_buf = {}; + barModifier_buf.tag = barModifier_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (barModifier_buf_runtimeType)) + { + barModifier_buf.value = valueDeserializer.readCommonModifier(); + } + value.barModifier = barModifier_buf; return value; } - Ark_HistoricalPoint readHistoricalPoint() + Ark_TerminationInfo readTerminationInfo() { - Ark_HistoricalPoint value = {}; + Ark_TerminationInfo value = {}; Deserializer& valueDeserializer = *this; - value.touchObject = valueDeserializer.readTouchObject(); - value.size = static_cast(valueDeserializer.readNumber()); - value.force = static_cast(valueDeserializer.readNumber()); - value.timestamp = valueDeserializer.readInt64(); + value.code = static_cast(valueDeserializer.readNumber()); + const auto want_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Want want_buf = {}; + want_buf.tag = want_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (want_buf_runtimeType)) + { + want_buf.value = valueDeserializer.readWant(); + } + value.want = want_buf; return value; } - Ark_IconOptions readIconOptions() + Ark_TextAreaOptions readTextAreaOptions() { - Ark_IconOptions value = {}; + Ark_TextAreaOptions value = {}; Deserializer& valueDeserializer = *this; - const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource size_buf = {}; - size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) + const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr placeholder_buf = {}; + placeholder_buf.tag = placeholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) { - const Ark_Int8 size_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource size_buf_ = {}; - size_buf_.selector = size_buf__selector; - if (size_buf__selector == 0) { - size_buf_.selector = 0; - size_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 placeholder_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr placeholder_buf_ = {}; + placeholder_buf_.selector = placeholder_buf__selector; + if (placeholder_buf__selector == 0) { + placeholder_buf_.selector = 0; + placeholder_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (size_buf__selector == 1) { - size_buf_.selector = 1; - size_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (placeholder_buf__selector == 1) { + placeholder_buf_.selector = 1; + placeholder_buf_.value1 = valueDeserializer.readResource(); } - else if (size_buf__selector == 2) { - size_buf_.selector = 2; - size_buf_.value2 = valueDeserializer.readResource(); + else { + INTEROP_FATAL("One of the branches for placeholder_buf_ has to be chosen through deserialisation."); + } + placeholder_buf.value = static_cast(placeholder_buf_); + } + value.placeholder = placeholder_buf; + const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr text_buf = {}; + text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + { + const Ark_Int8 text_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr text_buf_ = {}; + text_buf_.selector = text_buf__selector; + if (text_buf__selector == 0) { + text_buf_.selector = 0; + text_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (text_buf__selector == 1) { + text_buf_.selector = 1; + text_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for size_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for text_buf_ has to be chosen through deserialisation."); } - size_buf.value = static_cast(size_buf_); + text_buf.value = static_cast(text_buf_); } - value.size = size_buf; + value.text = text_buf; + const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextAreaController controller_buf = {}; + controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + { + controller_buf.value = static_cast(valueDeserializer.readTextAreaController()); + } + value.controller = controller_buf; + return value; + } + Ark_TextCascadePickerRangeContent readTextCascadePickerRangeContent() + { + Ark_TextCascadePickerRangeContent value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 text_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource text_buf = {}; + text_buf.selector = text_buf_selector; + if (text_buf_selector == 0) { + text_buf.selector = 0; + text_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (text_buf_selector == 1) { + text_buf.selector = 1; + text_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for text_buf has to be chosen through deserialisation."); + } + value.text = static_cast(text_buf); + const auto children_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_TextCascadePickerRangeContent children_buf = {}; + children_buf.tag = children_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (children_buf_runtimeType)) + { + const Ark_Int32 children_buf__length = valueDeserializer.readInt32(); + Array_TextCascadePickerRangeContent children_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&children_buf_, children_buf__length); + for (int children_buf__i = 0; children_buf__i < children_buf__length; children_buf__i++) { + children_buf_.array[children_buf__i] = valueDeserializer.readTextCascadePickerRangeContent(); + } + children_buf.value = children_buf_; + } + value.children = children_buf; + return value; + } + Ark_TextChangeOptions readTextChangeOptions() + { + Ark_TextChangeOptions value = {}; + Deserializer& valueDeserializer = *this; + value.rangeBefore = valueDeserializer.readTextRange(); + value.rangeAfter = valueDeserializer.readTextRange(); + value.oldContent = static_cast(valueDeserializer.readString()); + value.oldPreviewText = valueDeserializer.readPreviewText(); + return value; + } + Ark_TextDecorationOptions readTextDecorationOptions() + { + Ark_TextDecorationOptions value = {}; + Deserializer& valueDeserializer = *this; + value.type = static_cast(valueDeserializer.readInt32()); const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -99635,1424 +106778,1420 @@ class Deserializer : public DeserializerBase { color_buf.value = static_cast(color_buf_); } value.color = color_buf; - const auto src_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr src_buf = {}; - src_buf.tag = src_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (src_buf_runtimeType)) + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextDecorationStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) { - const Ark_Int8 src_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr src_buf_ = {}; - src_buf_.selector = src_buf__selector; - if (src_buf__selector == 0) { - src_buf_.selector = 0; - src_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (src_buf__selector == 1) { - src_buf_.selector = 1; - src_buf_.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for src_buf_ has to be chosen through deserialisation."); - } - src_buf.value = static_cast(src_buf_); + style_buf.value = static_cast(valueDeserializer.readInt32()); } - value.src = src_buf; + value.style = style_buf; return value; } - Ark_ImageFrameInfo readImageFrameInfo() + Ark_TextInputOptions readTextInputOptions() { - Ark_ImageFrameInfo value = {}; + Ark_TextInputOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 src_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource_PixelMap src_buf = {}; - src_buf.selector = src_buf_selector; - if (src_buf_selector == 0) { - src_buf.selector = 0; - src_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (src_buf_selector == 1) { - src_buf.selector = 1; - src_buf.value1 = valueDeserializer.readResource(); - } - else if (src_buf_selector == 2) { - src_buf.selector = 2; - src_buf.value2 = static_cast(valueDeserializer.readPixelMap()); - } - else { - INTEROP_FATAL("One of the branches for src_buf has to be chosen through deserialisation."); - } - value.src = static_cast(src_buf); - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr placeholder_buf = {}; + placeholder_buf.tag = placeholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 placeholder_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr placeholder_buf_ = {}; + placeholder_buf_.selector = placeholder_buf__selector; + if (placeholder_buf__selector == 0) { + placeholder_buf_.selector = 0; + placeholder_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (placeholder_buf__selector == 1) { + placeholder_buf_.selector = 1; + placeholder_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for placeholder_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + placeholder_buf.value = static_cast(placeholder_buf_); } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + value.placeholder = placeholder_buf; + const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr text_buf = {}; + text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 text_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr text_buf_ = {}; + text_buf_.selector = text_buf__selector; + if (text_buf__selector == 0) { + text_buf_.selector = 0; + text_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (text_buf__selector == 1) { + text_buf_.selector = 1; + text_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for text_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + text_buf.value = static_cast(text_buf_); } - value.height = height_buf; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + value.text = text_buf; + const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextInputController controller_buf = {}; + controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) { - const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String top_buf_ = {}; - top_buf_.selector = top_buf__selector; - if (top_buf__selector == 0) { - top_buf_.selector = 0; - top_buf_.value0 = static_cast(valueDeserializer.readNumber()); + controller_buf.value = static_cast(valueDeserializer.readTextInputController()); + } + value.controller = controller_buf; + return value; + } + Ark_TextMenuItem readTextMenuItem() + { + Ark_TextMenuItem value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 content_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceStr content_buf = {}; + content_buf.selector = content_buf_selector; + if (content_buf_selector == 0) { + content_buf.selector = 0; + content_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (content_buf_selector == 1) { + content_buf.selector = 1; + content_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for content_buf has to be chosen through deserialisation."); + } + value.content = static_cast(content_buf); + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + { + const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr icon_buf_ = {}; + icon_buf_.selector = icon_buf__selector; + if (icon_buf__selector == 0) { + icon_buf_.selector = 0; + icon_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (top_buf__selector == 1) { - top_buf_.selector = 1; - top_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (icon_buf__selector == 1) { + icon_buf_.selector = 1; + icon_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); } - top_buf.value = static_cast(top_buf_); + icon_buf.value = static_cast(icon_buf_); } - value.top = top_buf; - const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String left_buf = {}; - left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + value.icon = icon_buf; + value.id = static_cast(valueDeserializer.readTextMenuItemId()); + const auto labelInfo_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr labelInfo_buf = {}; + labelInfo_buf.tag = labelInfo_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (labelInfo_buf_runtimeType)) { - const Ark_Int8 left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String left_buf_ = {}; - left_buf_.selector = left_buf__selector; - if (left_buf__selector == 0) { - left_buf_.selector = 0; - left_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 labelInfo_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr labelInfo_buf_ = {}; + labelInfo_buf_.selector = labelInfo_buf__selector; + if (labelInfo_buf__selector == 0) { + labelInfo_buf_.selector = 0; + labelInfo_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (left_buf__selector == 1) { - left_buf_.selector = 1; - left_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (labelInfo_buf__selector == 1) { + labelInfo_buf_.selector = 1; + labelInfo_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for left_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for labelInfo_buf_ has to be chosen through deserialisation."); } - left_buf.value = static_cast(left_buf_); - } - value.left = left_buf; - const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number duration_buf = {}; - duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) - { - duration_buf.value = static_cast(valueDeserializer.readNumber()); + labelInfo_buf.value = static_cast(labelInfo_buf_); } - value.duration = duration_buf; + value.labelInfo = labelInfo_buf; return value; } - Ark_IndicatorStyle readIndicatorStyle() + Ark_TextPickerOptions readTextPickerOptions() { - Ark_IndicatorStyle value = {}; + Ark_TextPickerOptions value = {}; Deserializer& valueDeserializer = *this; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) - { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 range_buf_selector = valueDeserializer.readInt8(); + Ark_Type_TextPickerOptions_range range_buf = {}; + range_buf.selector = range_buf_selector; + if (range_buf_selector == 0) { + range_buf.selector = 0; + const Ark_Int32 range_buf_u_length = valueDeserializer.readInt32(); + Array_String range_buf_u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&range_buf_u, range_buf_u_length); + for (int range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { + range_buf_u.array[range_buf_u_i] = static_cast(valueDeserializer.readString()); } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readNumber()); + range_buf.value0 = range_buf_u; + } + else if (range_buf_selector == 1) { + range_buf.selector = 1; + const Ark_Int32 range_buf_u_length = valueDeserializer.readInt32(); + Array_Array_String range_buf_u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&range_buf_u, range_buf_u_length); + for (int range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { + const Ark_Int32 range_buf_u_buf_length = valueDeserializer.readInt32(); + Array_String range_buf_u_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&range_buf_u_buf, range_buf_u_buf_length); + for (int range_buf_u_buf_i = 0; range_buf_u_buf_i < range_buf_u_buf_length; range_buf_u_buf_i++) { + range_buf_u_buf.array[range_buf_u_buf_i] = static_cast(valueDeserializer.readString()); + } + range_buf_u.array[range_buf_u_i] = range_buf_u_buf; } - else if (height_buf__selector == 2) { - height_buf_.selector = 2; - height_buf_.value2 = valueDeserializer.readResource(); + range_buf.value1 = range_buf_u; + } + else if (range_buf_selector == 2) { + range_buf.selector = 2; + range_buf.value2 = valueDeserializer.readResource(); + } + else if (range_buf_selector == 3) { + range_buf.selector = 3; + const Ark_Int32 range_buf_u_length = valueDeserializer.readInt32(); + Array_TextPickerRangeContent range_buf_u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&range_buf_u, range_buf_u_length); + for (int range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { + range_buf_u.array[range_buf_u_i] = valueDeserializer.readTextPickerRangeContent(); } - else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + range_buf.value3 = range_buf_u; + } + else if (range_buf_selector == 4) { + range_buf.selector = 4; + const Ark_Int32 range_buf_u_length = valueDeserializer.readInt32(); + Array_TextCascadePickerRangeContent range_buf_u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&range_buf_u, range_buf_u_length); + for (int range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { + range_buf_u.array[range_buf_u_i] = valueDeserializer.readTextCascadePickerRangeContent(); } - height_buf.value = static_cast(height_buf_); + range_buf.value4 = range_buf_u; } - value.height = height_buf; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + else { + INTEROP_FATAL("One of the branches for range_buf has to be chosen through deserialisation."); + } + value.range = static_cast(range_buf); + const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Array_String value_buf = {}; + value_buf.tag = value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 value_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Array_String value_buf_ = {}; + value_buf_.selector = value_buf__selector; + if (value_buf__selector == 0) { + value_buf_.selector = 0; + value_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (width_buf__selector == 2) { - width_buf_.selector = 2; - width_buf_.value2 = valueDeserializer.readResource(); + else if (value_buf__selector == 1) { + value_buf_.selector = 1; + const Ark_Int32 value_buf__u_length = valueDeserializer.readInt32(); + Array_String value_buf__u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&value_buf__u, value_buf__u_length); + for (int value_buf__u_i = 0; value_buf__u_i < value_buf__u_length; value_buf__u_i++) { + value_buf__u.array[value_buf__u_i] = static_cast(valueDeserializer.readString()); + } + value_buf_.value1 = value_buf__u; } else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + value_buf.value = static_cast(value_buf_); } - value.width = width_buf; - const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf = {}; - borderRadius_buf.tag = borderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) + value.value = value_buf; + const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_Array_Number selected_buf = {}; + selected_buf.tag = selected_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) { - const Ark_Int8 borderRadius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf_ = {}; - borderRadius_buf_.selector = borderRadius_buf__selector; - if (borderRadius_buf__selector == 0) { - borderRadius_buf_.selector = 0; - borderRadius_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__selector == 1) { - borderRadius_buf_.selector = 1; - borderRadius_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 selected_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_Array_Number selected_buf_ = {}; + selected_buf_.selector = selected_buf__selector; + if (selected_buf__selector == 0) { + selected_buf_.selector = 0; + selected_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (borderRadius_buf__selector == 2) { - borderRadius_buf_.selector = 2; - borderRadius_buf_.value2 = valueDeserializer.readResource(); + else if (selected_buf__selector == 1) { + selected_buf_.selector = 1; + const Ark_Int32 selected_buf__u_length = valueDeserializer.readInt32(); + Array_Number selected_buf__u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&selected_buf__u, selected_buf__u_length); + for (int selected_buf__u_i = 0; selected_buf__u_i < selected_buf__u_length; selected_buf__u_i++) { + selected_buf__u.array[selected_buf__u_i] = static_cast(valueDeserializer.readNumber()); + } + selected_buf_.value1 = selected_buf__u; } else { - INTEROP_FATAL("One of the branches for borderRadius_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for selected_buf_ has to be chosen through deserialisation."); } - borderRadius_buf.value = static_cast(borderRadius_buf_); + selected_buf.value = static_cast(selected_buf_); } - value.borderRadius = borderRadius_buf; - const auto marginTop_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource marginTop_buf = {}; - marginTop_buf.tag = marginTop_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (marginTop_buf_runtimeType)) + value.selected = selected_buf; + const auto columnWidths_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_LengthMetrics columnWidths_buf = {}; + columnWidths_buf.tag = columnWidths_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (columnWidths_buf_runtimeType)) { - const Ark_Int8 marginTop_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource marginTop_buf_ = {}; - marginTop_buf_.selector = marginTop_buf__selector; - if (marginTop_buf__selector == 0) { - marginTop_buf_.selector = 0; - marginTop_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int32 columnWidths_buf__length = valueDeserializer.readInt32(); + Array_LengthMetrics columnWidths_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&columnWidths_buf_, columnWidths_buf__length); + for (int columnWidths_buf__i = 0; columnWidths_buf__i < columnWidths_buf__length; columnWidths_buf__i++) { + columnWidths_buf_.array[columnWidths_buf__i] = static_cast(valueDeserializer.readLengthMetrics()); } - else if (marginTop_buf__selector == 1) { - marginTop_buf_.selector = 1; - marginTop_buf_.value1 = static_cast(valueDeserializer.readNumber()); + columnWidths_buf.value = columnWidths_buf_; + } + value.columnWidths = columnWidths_buf; + return value; + } + Ark_TextPickerRangeContent readTextPickerRangeContent() + { + Ark_TextPickerRangeContent value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 icon_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource icon_buf = {}; + icon_buf.selector = icon_buf_selector; + if (icon_buf_selector == 0) { + icon_buf.selector = 0; + icon_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (icon_buf_selector == 1) { + icon_buf.selector = 1; + icon_buf.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for icon_buf has to be chosen through deserialisation."); + } + value.icon = static_cast(icon_buf); + const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Resource text_buf = {}; + text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + { + const Ark_Int8 text_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource text_buf_ = {}; + text_buf_.selector = text_buf__selector; + if (text_buf__selector == 0) { + text_buf_.selector = 0; + text_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (marginTop_buf__selector == 2) { - marginTop_buf_.selector = 2; - marginTop_buf_.value2 = valueDeserializer.readResource(); + else if (text_buf__selector == 1) { + text_buf_.selector = 1; + text_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for marginTop_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for text_buf_ has to be chosen through deserialisation."); + } + text_buf.value = static_cast(text_buf_); + } + value.text = text_buf; + return value; + } + Ark_TextPickerResult readTextPickerResult() + { + Ark_TextPickerResult value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); + Ark_Union_String_Array_String value_buf = {}; + value_buf.selector = value_buf_selector; + if (value_buf_selector == 0) { + value_buf.selector = 0; + value_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (value_buf_selector == 1) { + value_buf.selector = 1; + const Ark_Int32 value_buf_u_length = valueDeserializer.readInt32(); + Array_String value_buf_u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&value_buf_u, value_buf_u_length); + for (int value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { + value_buf_u.array[value_buf_u_i] = static_cast(valueDeserializer.readString()); } - marginTop_buf.value = static_cast(marginTop_buf_); + value_buf.value1 = value_buf_u; } - value.marginTop = marginTop_buf; + else { + INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + } + value.value = static_cast(value_buf); + const Ark_Int8 index_buf_selector = valueDeserializer.readInt8(); + Ark_Union_Number_Array_Number index_buf = {}; + index_buf.selector = index_buf_selector; + if (index_buf_selector == 0) { + index_buf.selector = 0; + index_buf.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (index_buf_selector == 1) { + index_buf.selector = 1; + const Ark_Int32 index_buf_u_length = valueDeserializer.readInt32(); + Array_Number index_buf_u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&index_buf_u, index_buf_u_length); + for (int index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u.array[index_buf_u_i] = static_cast(valueDeserializer.readNumber()); + } + index_buf.value1 = index_buf_u; + } + else { + INTEROP_FATAL("One of the branches for index_buf has to be chosen through deserialisation."); + } + value.index = static_cast(index_buf); + return value; + } + Ark_TextShadow readTextShadow() + { + Ark_TextShadow value = {}; + Deserializer& valueDeserializer = *this; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; + Opt_common2D_Color color_buf = {}; color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); + color_buf.value = valueDeserializer.readcommon2D_Color(); + } + value.color = color_buf; + const auto point_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_common2D_Point point_buf = {}; + point_buf.tag = point_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (point_buf_runtimeType)) + { + point_buf.value = valueDeserializer.readcommon2D_Point(); + } + value.point = point_buf; + const auto blurRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number blurRadius_buf = {}; + blurRadius_buf.tag = blurRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (blurRadius_buf_runtimeType)) + { + blurRadius_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.blurRadius = blurRadius_buf; + return value; + } + Ark_TextStyle_styled_string readTextStyle_styled_string() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_TextStyleInterface readTextStyleInterface() + { + Ark_TextStyleInterface value = {}; + Deserializer& valueDeserializer = *this; + const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontColor_buf = {}; + fontColor_buf.tag = fontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + { + const Ark_Int8 fontColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontColor_buf_ = {}; + fontColor_buf_.selector = fontColor_buf__selector; + if (fontColor_buf__selector == 0) { + fontColor_buf_.selector = 0; + fontColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (fontColor_buf__selector == 1) { + fontColor_buf_.selector = 1; + fontColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (fontColor_buf__selector == 2) { + fontColor_buf_.selector = 2; + fontColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); + else if (fontColor_buf__selector == 3) { + fontColor_buf_.selector = 3; + fontColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontColor_buf_ has to be chosen through deserialisation."); } - color_buf.value = static_cast(color_buf_); + fontColor_buf.value = static_cast(fontColor_buf_); } - value.color = color_buf; - const auto selectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor selectedColor_buf = {}; - selectedColor_buf.tag = selectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (selectedColor_buf_runtimeType)) + value.fontColor = fontColor_buf; + const auto fontFamily_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr fontFamily_buf = {}; + fontFamily_buf.tag = fontFamily_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontFamily_buf_runtimeType)) { - const Ark_Int8 selectedColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor selectedColor_buf_ = {}; - selectedColor_buf_.selector = selectedColor_buf__selector; - if (selectedColor_buf__selector == 0) { - selectedColor_buf_.selector = 0; - selectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (selectedColor_buf__selector == 1) { - selectedColor_buf_.selector = 1; - selectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (selectedColor_buf__selector == 2) { - selectedColor_buf_.selector = 2; - selectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 fontFamily_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr fontFamily_buf_ = {}; + fontFamily_buf_.selector = fontFamily_buf__selector; + if (fontFamily_buf__selector == 0) { + fontFamily_buf_.selector = 0; + fontFamily_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (selectedColor_buf__selector == 3) { - selectedColor_buf_.selector = 3; - selectedColor_buf_.value3 = valueDeserializer.readResource(); + else if (fontFamily_buf__selector == 1) { + fontFamily_buf_.selector = 1; + fontFamily_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for selectedColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontFamily_buf_ has to be chosen through deserialisation."); } - selectedColor_buf.value = static_cast(selectedColor_buf_); + fontFamily_buf.value = static_cast(fontFamily_buf_); } - value.selectedColor = selectedColor_buf; - const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource left_buf = {}; - left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + value.fontFamily = fontFamily_buf; + const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics fontSize_buf = {}; + fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) { - const Ark_Int8 left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource left_buf_ = {}; - left_buf_.selector = left_buf__selector; - if (left_buf__selector == 0) { - left_buf_.selector = 0; - left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (left_buf__selector == 1) { - left_buf_.selector = 1; - left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (left_buf__selector == 2) { - left_buf_.selector = 2; - left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for left_buf_ has to be chosen through deserialisation."); - } - left_buf.value = static_cast(left_buf_); + fontSize_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } - value.left = left_buf; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + value.fontSize = fontSize_buf; + const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_FontWeight_String fontWeight_buf = {}; + fontWeight_buf.tag = fontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) { - const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource top_buf_ = {}; - top_buf_.selector = top_buf__selector; - if (top_buf__selector == 0) { - top_buf_.selector = 0; - top_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 fontWeight_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_FontWeight_String fontWeight_buf_ = {}; + fontWeight_buf_.selector = fontWeight_buf__selector; + if (fontWeight_buf__selector == 0) { + fontWeight_buf_.selector = 0; + fontWeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (top_buf__selector == 1) { - top_buf_.selector = 1; - top_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_.selector = 1; + fontWeight_buf_.value1 = static_cast(valueDeserializer.readInt32()); } - else if (top_buf__selector == 2) { - top_buf_.selector = 2; - top_buf_.value2 = valueDeserializer.readResource(); + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_.selector = 2; + fontWeight_buf_.value2 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontWeight_buf_ has to be chosen through deserialisation."); } - top_buf.value = static_cast(top_buf_); + fontWeight_buf.value = static_cast(fontWeight_buf_); } - value.top = top_buf; - const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource right_buf = {}; - right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) + value.fontWeight = fontWeight_buf; + const auto fontStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FontStyle fontStyle_buf = {}; + fontStyle_buf.tag = fontStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontStyle_buf_runtimeType)) { - const Ark_Int8 right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource right_buf_ = {}; - right_buf_.selector = right_buf__selector; - if (right_buf__selector == 0) { - right_buf_.selector = 0; - right_buf_.value0 = static_cast(valueDeserializer.readString()); + fontStyle_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.fontStyle = fontStyle_buf; + return value; + } + Ark_TodayStyle readTodayStyle() + { + Ark_TodayStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto focusedDayColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor focusedDayColor_buf = {}; + focusedDayColor_buf.tag = focusedDayColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (focusedDayColor_buf_runtimeType)) + { + const Ark_Int8 focusedDayColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor focusedDayColor_buf_ = {}; + focusedDayColor_buf_.selector = focusedDayColor_buf__selector; + if (focusedDayColor_buf__selector == 0) { + focusedDayColor_buf_.selector = 0; + focusedDayColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (right_buf__selector == 1) { - right_buf_.selector = 1; - right_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (focusedDayColor_buf__selector == 1) { + focusedDayColor_buf_.selector = 1; + focusedDayColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (right_buf__selector == 2) { - right_buf_.selector = 2; - right_buf_.value2 = valueDeserializer.readResource(); + else if (focusedDayColor_buf__selector == 2) { + focusedDayColor_buf_.selector = 2; + focusedDayColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (focusedDayColor_buf__selector == 3) { + focusedDayColor_buf_.selector = 3; + focusedDayColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for right_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for focusedDayColor_buf_ has to be chosen through deserialisation."); } - right_buf.value = static_cast(right_buf_); + focusedDayColor_buf.value = static_cast(focusedDayColor_buf_); } - value.right = right_buf; - const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + value.focusedDayColor = focusedDayColor_buf; + const auto focusedLunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor focusedLunarColor_buf = {}; + focusedLunarColor_buf.tag = focusedLunarColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (focusedLunarColor_buf_runtimeType)) { - const Ark_Int8 bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource bottom_buf_ = {}; - bottom_buf_.selector = bottom_buf__selector; - if (bottom_buf__selector == 0) { - bottom_buf_.selector = 0; - bottom_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 focusedLunarColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor focusedLunarColor_buf_ = {}; + focusedLunarColor_buf_.selector = focusedLunarColor_buf__selector; + if (focusedLunarColor_buf__selector == 0) { + focusedLunarColor_buf_.selector = 0; + focusedLunarColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (bottom_buf__selector == 1) { - bottom_buf_.selector = 1; - bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (focusedLunarColor_buf__selector == 1) { + focusedLunarColor_buf_.selector = 1; + focusedLunarColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (bottom_buf__selector == 2) { - bottom_buf_.selector = 2; - bottom_buf_.value2 = valueDeserializer.readResource(); + else if (focusedLunarColor_buf__selector == 2) { + focusedLunarColor_buf_.selector = 2; + focusedLunarColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (focusedLunarColor_buf__selector == 3) { + focusedLunarColor_buf_.selector = 3; + focusedLunarColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for bottom_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for focusedLunarColor_buf_ has to be chosen through deserialisation."); } - bottom_buf.value = static_cast(bottom_buf_); + focusedLunarColor_buf.value = static_cast(focusedLunarColor_buf_); } - value.bottom = bottom_buf; - const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource size_buf = {}; - size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) + value.focusedLunarColor = focusedLunarColor_buf; + const auto focusedAreaBackgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor focusedAreaBackgroundColor_buf = {}; + focusedAreaBackgroundColor_buf.tag = focusedAreaBackgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (focusedAreaBackgroundColor_buf_runtimeType)) { - const Ark_Int8 size_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource size_buf_ = {}; - size_buf_.selector = size_buf__selector; - if (size_buf__selector == 0) { - size_buf_.selector = 0; - size_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 focusedAreaBackgroundColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor focusedAreaBackgroundColor_buf_ = {}; + focusedAreaBackgroundColor_buf_.selector = focusedAreaBackgroundColor_buf__selector; + if (focusedAreaBackgroundColor_buf__selector == 0) { + focusedAreaBackgroundColor_buf_.selector = 0; + focusedAreaBackgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (size_buf__selector == 1) { - size_buf_.selector = 1; - size_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (focusedAreaBackgroundColor_buf__selector == 1) { + focusedAreaBackgroundColor_buf_.selector = 1; + focusedAreaBackgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (size_buf__selector == 2) { - size_buf_.selector = 2; - size_buf_.value2 = valueDeserializer.readResource(); + else if (focusedAreaBackgroundColor_buf__selector == 2) { + focusedAreaBackgroundColor_buf_.selector = 2; + focusedAreaBackgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (focusedAreaBackgroundColor_buf__selector == 3) { + focusedAreaBackgroundColor_buf_.selector = 3; + focusedAreaBackgroundColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for size_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for focusedAreaBackgroundColor_buf_ has to be chosen through deserialisation."); } - size_buf.value = static_cast(size_buf_); + focusedAreaBackgroundColor_buf.value = static_cast(focusedAreaBackgroundColor_buf_); } - value.size = size_buf; - const auto mask_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean mask_buf = {}; - mask_buf.tag = mask_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (mask_buf_runtimeType)) + value.focusedAreaBackgroundColor = focusedAreaBackgroundColor_buf; + const auto focusedAreaRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number focusedAreaRadius_buf = {}; + focusedAreaRadius_buf.tag = focusedAreaRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (focusedAreaRadius_buf_runtimeType)) { - mask_buf.value = valueDeserializer.readBoolean(); + focusedAreaRadius_buf.value = static_cast(valueDeserializer.readNumber()); } - value.mask = mask_buf; + value.focusedAreaRadius = focusedAreaRadius_buf; return value; } - Ark_JavaScriptProxy readJavaScriptProxy() + Ark_ToolbarItem readToolbarItem() { - Ark_JavaScriptProxy value = {}; + Ark_ToolbarItem value = {}; Deserializer& valueDeserializer = *this; - value.object_ = static_cast(valueDeserializer.readObject()); - value.name = static_cast(valueDeserializer.readString()); - const Ark_Int32 methodList_buf_length = valueDeserializer.readInt32(); - Array_String methodList_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&methodList_buf, methodList_buf_length); - for (int methodList_buf_i = 0; methodList_buf_i < methodList_buf_length; methodList_buf_i++) { - methodList_buf.array[methodList_buf_i] = static_cast(valueDeserializer.readString()); - } - value.methodList = methodList_buf; - const Ark_Int8 controller_buf_selector = valueDeserializer.readInt8(); - Ark_Union_WebController_WebviewController controller_buf = {}; - controller_buf.selector = controller_buf_selector; - if (controller_buf_selector == 0) { - controller_buf.selector = 0; - controller_buf.value0 = static_cast(valueDeserializer.readWebController()); + const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceStr value_buf = {}; + value_buf.selector = value_buf_selector; + if (value_buf_selector == 0) { + value_buf.selector = 0; + value_buf.value0 = static_cast(valueDeserializer.readString()); } - else if (controller_buf_selector == 1) { - controller_buf.selector = 1; - controller_buf.value1 = static_cast(valueDeserializer.readWebviewController()); + else if (value_buf_selector == 1) { + value_buf.selector = 1; + value_buf.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for controller_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); } - value.controller = static_cast(controller_buf); - const auto asyncMethodList_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_String asyncMethodList_buf = {}; - asyncMethodList_buf.tag = asyncMethodList_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (asyncMethodList_buf_runtimeType)) + value.value = static_cast(value_buf); + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) { - const Ark_Int32 asyncMethodList_buf__length = valueDeserializer.readInt32(); - Array_String asyncMethodList_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&asyncMethodList_buf_, asyncMethodList_buf__length); - for (int asyncMethodList_buf__i = 0; asyncMethodList_buf__i < asyncMethodList_buf__length; asyncMethodList_buf__i++) { - asyncMethodList_buf_.array[asyncMethodList_buf__i] = static_cast(valueDeserializer.readString()); + const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr icon_buf_ = {}; + icon_buf_.selector = icon_buf__selector; + if (icon_buf__selector == 0) { + icon_buf_.selector = 0; + icon_buf_.value0 = static_cast(valueDeserializer.readString()); } - asyncMethodList_buf.value = asyncMethodList_buf_; + else if (icon_buf__selector == 1) { + icon_buf_.selector = 1; + icon_buf_.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); + } + icon_buf.value = static_cast(icon_buf_); } - value.asyncMethodList = asyncMethodList_buf; - const auto permission_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String permission_buf = {}; - permission_buf.tag = permission_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (permission_buf_runtimeType)) + value.icon = icon_buf; + const auto symbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SymbolGlyphModifier symbolIcon_buf = {}; + symbolIcon_buf.tag = symbolIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (symbolIcon_buf_runtimeType)) { - permission_buf.value = static_cast(valueDeserializer.readString()); - } - value.permission = permission_buf; - return value; - } - Ark_LightSource readLightSource() - { - Ark_LightSource value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int8 positionX_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource positionX_buf = {}; - positionX_buf.selector = positionX_buf_selector; - if (positionX_buf_selector == 0) { - positionX_buf.selector = 0; - positionX_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (positionX_buf_selector == 1) { - positionX_buf.selector = 1; - positionX_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (positionX_buf_selector == 2) { - positionX_buf.selector = 2; - positionX_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for positionX_buf has to be chosen through deserialisation."); - } - value.positionX = static_cast(positionX_buf); - const Ark_Int8 positionY_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource positionY_buf = {}; - positionY_buf.selector = positionY_buf_selector; - if (positionY_buf_selector == 0) { - positionY_buf.selector = 0; - positionY_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (positionY_buf_selector == 1) { - positionY_buf.selector = 1; - positionY_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (positionY_buf_selector == 2) { - positionY_buf.selector = 2; - positionY_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for positionY_buf has to be chosen through deserialisation."); - } - value.positionY = static_cast(positionY_buf); - const Ark_Int8 positionZ_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource positionZ_buf = {}; - positionZ_buf.selector = positionZ_buf_selector; - if (positionZ_buf_selector == 0) { - positionZ_buf.selector = 0; - positionZ_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (positionZ_buf_selector == 1) { - positionZ_buf.selector = 1; - positionZ_buf.value1 = static_cast(valueDeserializer.readNumber()); + symbolIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); } - else if (positionZ_buf_selector == 2) { - positionZ_buf.selector = 2; - positionZ_buf.value2 = valueDeserializer.readResource(); + value.symbolIcon = symbolIcon_buf; + const auto action_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void action_buf = {}; + action_buf.tag = action_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (action_buf_runtimeType)) + { + action_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; } - else { - INTEROP_FATAL("One of the branches for positionZ_buf has to be chosen through deserialisation."); + value.action = action_buf; + const auto status_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ToolbarItemStatus status_buf = {}; + status_buf.tag = status_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (status_buf_runtimeType)) + { + status_buf.value = static_cast(valueDeserializer.readInt32()); } - value.positionZ = static_cast(positionZ_buf); - value.intensity = static_cast(valueDeserializer.readNumber()); - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + value.status = status_buf; + const auto activeIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr activeIcon_buf = {}; + activeIcon_buf.tag = activeIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (activeIcon_buf_runtimeType)) { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 activeIcon_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr activeIcon_buf_ = {}; + activeIcon_buf_.selector = activeIcon_buf__selector; + if (activeIcon_buf__selector == 0) { + activeIcon_buf_.selector = 0; + activeIcon_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); + else if (activeIcon_buf__selector == 1) { + activeIcon_buf_.selector = 1; + activeIcon_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for activeIcon_buf_ has to be chosen through deserialisation."); } - color_buf.value = static_cast(color_buf_); + activeIcon_buf.value = static_cast(activeIcon_buf_); } - value.color = color_buf; + value.activeIcon = activeIcon_buf; + const auto activeSymbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SymbolGlyphModifier activeSymbolIcon_buf = {}; + activeSymbolIcon_buf.tag = activeSymbolIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (activeSymbolIcon_buf_runtimeType)) + { + activeSymbolIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); + } + value.activeSymbolIcon = activeSymbolIcon_buf; return value; } - Ark_LinearIndicatorStyle readLinearIndicatorStyle() + Ark_TransitionOptions readTransitionOptions() { - Ark_LinearIndicatorStyle value = {}; + Ark_TransitionOptions value = {}; Deserializer& valueDeserializer = *this; - const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics space_buf = {}; - space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TransitionType type_buf = {}; + type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) { - space_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + type_buf.value = static_cast(valueDeserializer.readInt32()); } - value.space = space_buf; - const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + value.type = type_buf; + const auto opacity_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number opacity_buf = {}; + opacity_buf.tag = opacity_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (opacity_buf_runtimeType)) { - strokeWidth_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + opacity_buf.value = static_cast(valueDeserializer.readNumber()); } - value.strokeWidth = strokeWidth_buf; - const auto strokeRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics strokeRadius_buf = {}; - strokeRadius_buf.tag = strokeRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeRadius_buf_runtimeType)) + value.opacity = opacity_buf; + const auto translate_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TranslateOptions translate_buf = {}; + translate_buf.tag = translate_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (translate_buf_runtimeType)) { - strokeRadius_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + translate_buf.value = valueDeserializer.readTranslateOptions(); } - value.strokeRadius = strokeRadius_buf; - const auto trackBackgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ColorMetrics trackBackgroundColor_buf = {}; - trackBackgroundColor_buf.tag = trackBackgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (trackBackgroundColor_buf_runtimeType)) + value.translate = translate_buf; + const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ScaleOptions scale_buf = {}; + scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) { - trackBackgroundColor_buf.value = static_cast(valueDeserializer.readColorMetrics()); + scale_buf.value = valueDeserializer.readScaleOptions(); } - value.trackBackgroundColor = trackBackgroundColor_buf; - const auto trackColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ColorMetrics trackColor_buf = {}; - trackColor_buf.tag = trackColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (trackColor_buf_runtimeType)) + value.scale = scale_buf; + const auto rotate_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_RotateOptions rotate_buf = {}; + rotate_buf.tag = rotate_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (rotate_buf_runtimeType)) { - trackColor_buf.value = static_cast(valueDeserializer.readColorMetrics()); + rotate_buf.value = valueDeserializer.readRotateOptions(); + } + value.rotate = rotate_buf; + return value; + } + Ark_UnderlineColor readUnderlineColor() + { + Ark_UnderlineColor value = {}; + Deserializer& valueDeserializer = *this; + const auto typing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor typing_buf = {}; + typing_buf.tag = typing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (typing_buf_runtimeType)) + { + const Ark_Int8 typing_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor typing_buf_ = {}; + typing_buf_.selector = typing_buf__selector; + if (typing_buf__selector == 0) { + typing_buf_.selector = 0; + typing_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (typing_buf__selector == 1) { + typing_buf_.selector = 1; + typing_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (typing_buf__selector == 2) { + typing_buf_.selector = 2; + typing_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (typing_buf__selector == 3) { + typing_buf_.selector = 3; + typing_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for typing_buf_ has to be chosen through deserialisation."); + } + typing_buf.value = static_cast(typing_buf_); } - value.trackColor = trackColor_buf; - return value; - } - Ark_LinearStyleOptions readLinearStyleOptions() - { - Ark_LinearStyleOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto enableScanEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enableScanEffect_buf = {}; - enableScanEffect_buf.tag = enableScanEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enableScanEffect_buf_runtimeType)) + value.typing = typing_buf; + const auto normal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor normal_buf = {}; + normal_buf.tag = normal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (normal_buf_runtimeType)) { - enableScanEffect_buf.value = valueDeserializer.readBoolean(); + const Ark_Int8 normal_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor normal_buf_ = {}; + normal_buf_.selector = normal_buf__selector; + if (normal_buf__selector == 0) { + normal_buf_.selector = 0; + normal_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (normal_buf__selector == 1) { + normal_buf_.selector = 1; + normal_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (normal_buf__selector == 2) { + normal_buf_.selector = 2; + normal_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (normal_buf__selector == 3) { + normal_buf_.selector = 3; + normal_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for normal_buf_ has to be chosen through deserialisation."); + } + normal_buf.value = static_cast(normal_buf_); } - value.enableScanEffect = enableScanEffect_buf; - const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + value.normal = normal_buf; + const auto error_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor error_buf = {}; + error_buf.tag = error_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) { - const Ark_Int8 strokeWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource strokeWidth_buf_ = {}; - strokeWidth_buf_.selector = strokeWidth_buf__selector; - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_.selector = 0; - strokeWidth_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 error_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor error_buf_ = {}; + error_buf_.selector = error_buf__selector; + if (error_buf__selector == 0) { + error_buf_.selector = 0; + error_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_.selector = 1; - strokeWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (error_buf__selector == 1) { + error_buf_.selector = 1; + error_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_.selector = 2; - strokeWidth_buf_.value2 = valueDeserializer.readResource(); + else if (error_buf__selector == 2) { + error_buf_.selector = 2; + error_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (error_buf__selector == 3) { + error_buf_.selector = 3; + error_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for error_buf_ has to be chosen through deserialisation."); } - strokeWidth_buf.value = static_cast(strokeWidth_buf_); + error_buf.value = static_cast(error_buf_); } - value.strokeWidth = strokeWidth_buf; - const auto strokeRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource strokeRadius_buf = {}; - strokeRadius_buf.tag = strokeRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeRadius_buf_runtimeType)) + value.error = error_buf; + const auto disable_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor disable_buf = {}; + disable_buf.tag = disable_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (disable_buf_runtimeType)) { - const Ark_Int8 strokeRadius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource strokeRadius_buf_ = {}; - strokeRadius_buf_.selector = strokeRadius_buf__selector; - if (strokeRadius_buf__selector == 0) { - strokeRadius_buf_.selector = 0; - strokeRadius_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 disable_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor disable_buf_ = {}; + disable_buf_.selector = disable_buf__selector; + if (disable_buf__selector == 0) { + disable_buf_.selector = 0; + disable_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (strokeRadius_buf__selector == 1) { - strokeRadius_buf_.selector = 1; - strokeRadius_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (disable_buf__selector == 1) { + disable_buf_.selector = 1; + disable_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (strokeRadius_buf__selector == 2) { - strokeRadius_buf_.selector = 2; - strokeRadius_buf_.value2 = valueDeserializer.readResource(); + else if (disable_buf__selector == 2) { + disable_buf_.selector = 2; + disable_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (disable_buf__selector == 3) { + disable_buf_.selector = 3; + disable_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for strokeRadius_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for disable_buf_ has to be chosen through deserialisation."); } - strokeRadius_buf.value = static_cast(strokeRadius_buf_); + disable_buf.value = static_cast(disable_buf_); } - value.strokeRadius = strokeRadius_buf; + value.disable = disable_buf; return value; } - Ark_ListDividerOptions readListDividerOptions() + Ark_VideoOptions readVideoOptions() { - Ark_ListDividerOptions value = {}; + Ark_VideoOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 strokeWidth_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource strokeWidth_buf = {}; - strokeWidth_buf.selector = strokeWidth_buf_selector; - if (strokeWidth_buf_selector == 0) { - strokeWidth_buf.selector = 0; - strokeWidth_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (strokeWidth_buf_selector == 1) { - strokeWidth_buf.selector = 1; - strokeWidth_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (strokeWidth_buf_selector == 2) { - strokeWidth_buf.selector = 2; - strokeWidth_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for strokeWidth_buf has to be chosen through deserialisation."); - } - value.strokeWidth = static_cast(strokeWidth_buf); - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + const auto src_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Resource src_buf = {}; + src_buf.tag = src_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (src_buf_runtimeType)) { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 src_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource src_buf_ = {}; + src_buf_.selector = src_buf__selector; + if (src_buf__selector == 0) { + src_buf_.selector = 0; + src_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); + else if (src_buf__selector == 1) { + src_buf_.selector = 1; + src_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for src_buf_ has to be chosen through deserialisation."); } - color_buf.value = static_cast(color_buf_); + src_buf.value = static_cast(src_buf_); } - value.color = color_buf; - const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource startMargin_buf = {}; - startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) + value.src = src_buf; + const auto currentProgressRate_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String_PlaybackSpeed currentProgressRate_buf = {}; + currentProgressRate_buf.tag = currentProgressRate_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (currentProgressRate_buf_runtimeType)) { - const Ark_Int8 startMargin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource startMargin_buf_ = {}; - startMargin_buf_.selector = startMargin_buf__selector; - if (startMargin_buf__selector == 0) { - startMargin_buf_.selector = 0; - startMargin_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 currentProgressRate_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_PlaybackSpeed currentProgressRate_buf_ = {}; + currentProgressRate_buf_.selector = currentProgressRate_buf__selector; + if (currentProgressRate_buf__selector == 0) { + currentProgressRate_buf_.selector = 0; + currentProgressRate_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (startMargin_buf__selector == 1) { - startMargin_buf_.selector = 1; - startMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (currentProgressRate_buf__selector == 1) { + currentProgressRate_buf_.selector = 1; + currentProgressRate_buf_.value1 = static_cast(valueDeserializer.readString()); } - else if (startMargin_buf__selector == 2) { - startMargin_buf_.selector = 2; - startMargin_buf_.value2 = valueDeserializer.readResource(); + else if (currentProgressRate_buf__selector == 2) { + currentProgressRate_buf_.selector = 2; + currentProgressRate_buf_.value2 = static_cast(valueDeserializer.readInt32()); } else { - INTEROP_FATAL("One of the branches for startMargin_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for currentProgressRate_buf_ has to be chosen through deserialisation."); } - startMargin_buf.value = static_cast(startMargin_buf_); + currentProgressRate_buf.value = static_cast(currentProgressRate_buf_); } - value.startMargin = startMargin_buf; - const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource endMargin_buf = {}; - endMargin_buf.tag = endMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) + value.currentProgressRate = currentProgressRate_buf; + const auto previewUri_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_PixelMap_Resource previewUri_buf = {}; + previewUri_buf.tag = previewUri_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (previewUri_buf_runtimeType)) { - const Ark_Int8 endMargin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource endMargin_buf_ = {}; - endMargin_buf_.selector = endMargin_buf__selector; - if (endMargin_buf__selector == 0) { - endMargin_buf_.selector = 0; - endMargin_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 previewUri_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_PixelMap_Resource previewUri_buf_ = {}; + previewUri_buf_.selector = previewUri_buf__selector; + if (previewUri_buf__selector == 0) { + previewUri_buf_.selector = 0; + previewUri_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (endMargin_buf__selector == 1) { - endMargin_buf_.selector = 1; - endMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (previewUri_buf__selector == 1) { + previewUri_buf_.selector = 1; + previewUri_buf_.value1 = static_cast(valueDeserializer.readPixelMap()); } - else if (endMargin_buf__selector == 2) { - endMargin_buf_.selector = 2; - endMargin_buf_.value2 = valueDeserializer.readResource(); + else if (previewUri_buf__selector == 2) { + previewUri_buf_.selector = 2; + previewUri_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for endMargin_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for previewUri_buf_ has to be chosen through deserialisation."); } - endMargin_buf.value = static_cast(endMargin_buf_); - } - value.endMargin = endMargin_buf; - return value; - } - Ark_LocalizedAlignRuleOptions readLocalizedAlignRuleOptions() - { - Ark_LocalizedAlignRuleOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LocalizedHorizontalAlignParam start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) - { - start_buf.value = valueDeserializer.readLocalizedHorizontalAlignParam(); - } - value.start = start_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LocalizedHorizontalAlignParam end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) - { - end_buf.value = valueDeserializer.readLocalizedHorizontalAlignParam(); - } - value.end = end_buf; - const auto middle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LocalizedHorizontalAlignParam middle_buf = {}; - middle_buf.tag = middle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (middle_buf_runtimeType)) - { - middle_buf.value = valueDeserializer.readLocalizedHorizontalAlignParam(); - } - value.middle = middle_buf; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LocalizedVerticalAlignParam top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) - { - top_buf.value = valueDeserializer.readLocalizedVerticalAlignParam(); - } - value.top = top_buf; - const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LocalizedVerticalAlignParam bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) - { - bottom_buf.value = valueDeserializer.readLocalizedVerticalAlignParam(); - } - value.bottom = bottom_buf; - const auto center_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LocalizedVerticalAlignParam center_buf = {}; - center_buf.tag = center_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (center_buf_runtimeType)) - { - center_buf.value = valueDeserializer.readLocalizedVerticalAlignParam(); - } - value.center = center_buf; - const auto bias_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Bias bias_buf = {}; - bias_buf.tag = bias_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bias_buf_runtimeType)) - { - bias_buf.value = valueDeserializer.readBias(); - } - value.bias = bias_buf; - return value; - } - Ark_LocalizedBorderRadiuses readLocalizedBorderRadiuses() - { - Ark_LocalizedBorderRadiuses value = {}; - Deserializer& valueDeserializer = *this; - const auto topStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics topStart_buf = {}; - topStart_buf.tag = topStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (topStart_buf_runtimeType)) - { - topStart_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + previewUri_buf.value = static_cast(previewUri_buf_); } - value.topStart = topStart_buf; - const auto topEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics topEnd_buf = {}; - topEnd_buf.tag = topEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (topEnd_buf_runtimeType)) + value.previewUri = previewUri_buf; + const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_VideoController controller_buf = {}; + controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) { - topEnd_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + controller_buf.value = static_cast(valueDeserializer.readVideoController()); } - value.topEnd = topEnd_buf; - const auto bottomStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics bottomStart_buf = {}; - bottomStart_buf.tag = bottomStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bottomStart_buf_runtimeType)) + value.controller = controller_buf; + const auto imageAIOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImageAIOptions imageAIOptions_buf = {}; + imageAIOptions_buf.tag = imageAIOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (imageAIOptions_buf_runtimeType)) { - bottomStart_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + imageAIOptions_buf.value = valueDeserializer.readImageAIOptions(); } - value.bottomStart = bottomStart_buf; - const auto bottomEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics bottomEnd_buf = {}; - bottomEnd_buf.tag = bottomEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bottomEnd_buf_runtimeType)) + value.imageAIOptions = imageAIOptions_buf; + const auto posterOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PosterOptions posterOptions_buf = {}; + posterOptions_buf.tag = posterOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (posterOptions_buf_runtimeType)) { - bottomEnd_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + posterOptions_buf.value = valueDeserializer.readPosterOptions(); } - value.bottomEnd = bottomEnd_buf; + value.posterOptions = posterOptions_buf; return value; } - Ark_LocalizedEdgeColors readLocalizedEdgeColors() + Ark_WeekStyle readWeekStyle() { - Ark_LocalizedEdgeColors value = {}; + Ark_WeekStyle value = {}; Deserializer& valueDeserializer = *this; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) - { - const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor top_buf_ = {}; - top_buf_.selector = top_buf__selector; - if (top_buf__selector == 0) { - top_buf_.selector = 0; - top_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (top_buf__selector == 1) { - top_buf_.selector = 1; - top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (top_buf__selector == 2) { - top_buf_.selector = 2; - top_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (top_buf__selector == 3) { - top_buf_.selector = 3; - top_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); - } - top_buf.value = static_cast(top_buf_); - } - value.top = top_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + const auto weekColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor weekColor_buf = {}; + weekColor_buf.tag = weekColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weekColor_buf_runtimeType)) { - const Ark_Int8 end_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor end_buf_ = {}; - end_buf_.selector = end_buf__selector; - if (end_buf__selector == 0) { - end_buf_.selector = 0; - end_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 weekColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor weekColor_buf_ = {}; + weekColor_buf_.selector = weekColor_buf__selector; + if (weekColor_buf__selector == 0) { + weekColor_buf_.selector = 0; + weekColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (end_buf__selector == 1) { - end_buf_.selector = 1; - end_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (weekColor_buf__selector == 1) { + weekColor_buf_.selector = 1; + weekColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (end_buf__selector == 2) { - end_buf_.selector = 2; - end_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (weekColor_buf__selector == 2) { + weekColor_buf_.selector = 2; + weekColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (end_buf__selector == 3) { - end_buf_.selector = 3; - end_buf_.value3 = valueDeserializer.readResource(); + else if (weekColor_buf__selector == 3) { + weekColor_buf_.selector = 3; + weekColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for end_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for weekColor_buf_ has to be chosen through deserialisation."); } - end_buf.value = static_cast(end_buf_); + weekColor_buf.value = static_cast(weekColor_buf_); } - value.end = end_buf; - const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + value.weekColor = weekColor_buf; + const auto weekendDayColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor weekendDayColor_buf = {}; + weekendDayColor_buf.tag = weekendDayColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weekendDayColor_buf_runtimeType)) { - const Ark_Int8 bottom_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor bottom_buf_ = {}; - bottom_buf_.selector = bottom_buf__selector; - if (bottom_buf__selector == 0) { - bottom_buf_.selector = 0; - bottom_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 weekendDayColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor weekendDayColor_buf_ = {}; + weekendDayColor_buf_.selector = weekendDayColor_buf__selector; + if (weekendDayColor_buf__selector == 0) { + weekendDayColor_buf_.selector = 0; + weekendDayColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (bottom_buf__selector == 1) { - bottom_buf_.selector = 1; - bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (weekendDayColor_buf__selector == 1) { + weekendDayColor_buf_.selector = 1; + weekendDayColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (bottom_buf__selector == 2) { - bottom_buf_.selector = 2; - bottom_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (weekendDayColor_buf__selector == 2) { + weekendDayColor_buf_.selector = 2; + weekendDayColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (bottom_buf__selector == 3) { - bottom_buf_.selector = 3; - bottom_buf_.value3 = valueDeserializer.readResource(); + else if (weekendDayColor_buf__selector == 3) { + weekendDayColor_buf_.selector = 3; + weekendDayColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for bottom_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for weekendDayColor_buf_ has to be chosen through deserialisation."); } - bottom_buf.value = static_cast(bottom_buf_); + weekendDayColor_buf.value = static_cast(weekendDayColor_buf_); } - value.bottom = bottom_buf; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + value.weekendDayColor = weekendDayColor_buf; + const auto weekendLunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor weekendLunarColor_buf = {}; + weekendLunarColor_buf.tag = weekendLunarColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weekendLunarColor_buf_runtimeType)) { - const Ark_Int8 start_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor start_buf_ = {}; - start_buf_.selector = start_buf__selector; - if (start_buf__selector == 0) { - start_buf_.selector = 0; - start_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (start_buf__selector == 1) { - start_buf_.selector = 1; - start_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 weekendLunarColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor weekendLunarColor_buf_ = {}; + weekendLunarColor_buf_.selector = weekendLunarColor_buf__selector; + if (weekendLunarColor_buf__selector == 0) { + weekendLunarColor_buf_.selector = 0; + weekendLunarColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (start_buf__selector == 2) { - start_buf_.selector = 2; - start_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (weekendLunarColor_buf__selector == 1) { + weekendLunarColor_buf_.selector = 1; + weekendLunarColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (start_buf__selector == 3) { - start_buf_.selector = 3; - start_buf_.value3 = valueDeserializer.readResource(); + else if (weekendLunarColor_buf__selector == 2) { + weekendLunarColor_buf_.selector = 2; + weekendLunarColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (weekendLunarColor_buf__selector == 3) { + weekendLunarColor_buf_.selector = 3; + weekendLunarColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for start_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for weekendLunarColor_buf_ has to be chosen through deserialisation."); } - start_buf.value = static_cast(start_buf_); + weekendLunarColor_buf.value = static_cast(weekendLunarColor_buf_); } - value.start = start_buf; - return value; - } - Ark_LocalizedEdges readLocalizedEdges() - { - Ark_LocalizedEdges value = {}; - Deserializer& valueDeserializer = *this; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + value.weekendLunarColor = weekendLunarColor_buf; + const auto weekFontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number weekFontSize_buf = {}; + weekFontSize_buf.tag = weekFontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weekFontSize_buf_runtimeType)) { - top_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + weekFontSize_buf.value = static_cast(valueDeserializer.readNumber()); } - value.top = top_buf; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + value.weekFontSize = weekFontSize_buf; + const auto weekHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number weekHeight_buf = {}; + weekHeight_buf.tag = weekHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weekHeight_buf_runtimeType)) { - start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + weekHeight_buf.value = static_cast(valueDeserializer.readNumber()); } - value.start = start_buf; - const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + value.weekHeight = weekHeight_buf; + const auto weekWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number weekWidth_buf = {}; + weekWidth_buf.tag = weekWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weekWidth_buf_runtimeType)) { - bottom_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + weekWidth_buf.value = static_cast(valueDeserializer.readNumber()); } - value.bottom = bottom_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + value.weekWidth = weekWidth_buf; + const auto weekAndDayRowSpace_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number weekAndDayRowSpace_buf = {}; + weekAndDayRowSpace_buf.tag = weekAndDayRowSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weekAndDayRowSpace_buf_runtimeType)) { - end_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + weekAndDayRowSpace_buf.value = static_cast(valueDeserializer.readNumber()); } - value.end = end_buf; + value.weekAndDayRowSpace = weekAndDayRowSpace_buf; return value; } - Ark_LocalizedEdgeWidths readLocalizedEdgeWidths() + Ark_WorkStateStyle readWorkStateStyle() { - Ark_LocalizedEdgeWidths value = {}; + Ark_WorkStateStyle value = {}; Deserializer& valueDeserializer = *this; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) - { - top_buf.value = static_cast(valueDeserializer.readLengthMetrics()); - } - value.top = top_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + const auto workDayMarkColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor workDayMarkColor_buf = {}; + workDayMarkColor_buf.tag = workDayMarkColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (workDayMarkColor_buf_runtimeType)) { - end_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + const Ark_Int8 workDayMarkColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor workDayMarkColor_buf_ = {}; + workDayMarkColor_buf_.selector = workDayMarkColor_buf__selector; + if (workDayMarkColor_buf__selector == 0) { + workDayMarkColor_buf_.selector = 0; + workDayMarkColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (workDayMarkColor_buf__selector == 1) { + workDayMarkColor_buf_.selector = 1; + workDayMarkColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (workDayMarkColor_buf__selector == 2) { + workDayMarkColor_buf_.selector = 2; + workDayMarkColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (workDayMarkColor_buf__selector == 3) { + workDayMarkColor_buf_.selector = 3; + workDayMarkColor_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for workDayMarkColor_buf_ has to be chosen through deserialisation."); + } + workDayMarkColor_buf.value = static_cast(workDayMarkColor_buf_); } - value.end = end_buf; - const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + value.workDayMarkColor = workDayMarkColor_buf; + const auto offDayMarkColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor offDayMarkColor_buf = {}; + offDayMarkColor_buf.tag = offDayMarkColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offDayMarkColor_buf_runtimeType)) { - bottom_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + const Ark_Int8 offDayMarkColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor offDayMarkColor_buf_ = {}; + offDayMarkColor_buf_.selector = offDayMarkColor_buf__selector; + if (offDayMarkColor_buf__selector == 0) { + offDayMarkColor_buf_.selector = 0; + offDayMarkColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (offDayMarkColor_buf__selector == 1) { + offDayMarkColor_buf_.selector = 1; + offDayMarkColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (offDayMarkColor_buf__selector == 2) { + offDayMarkColor_buf_.selector = 2; + offDayMarkColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (offDayMarkColor_buf__selector == 3) { + offDayMarkColor_buf_.selector = 3; + offDayMarkColor_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for offDayMarkColor_buf_ has to be chosen through deserialisation."); + } + offDayMarkColor_buf.value = static_cast(offDayMarkColor_buf_); } - value.bottom = bottom_buf; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + value.offDayMarkColor = offDayMarkColor_buf; + const auto workDayMarkSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number workDayMarkSize_buf = {}; + workDayMarkSize_buf.tag = workDayMarkSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (workDayMarkSize_buf_runtimeType)) { - start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + workDayMarkSize_buf.value = static_cast(valueDeserializer.readNumber()); } - value.start = start_buf; - return value; - } - Ark_LocalizedPadding readLocalizedPadding() - { - Ark_LocalizedPadding value = {}; - Deserializer& valueDeserializer = *this; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + value.workDayMarkSize = workDayMarkSize_buf; + const auto offDayMarkSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number offDayMarkSize_buf = {}; + offDayMarkSize_buf.tag = offDayMarkSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offDayMarkSize_buf_runtimeType)) { - top_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + offDayMarkSize_buf.value = static_cast(valueDeserializer.readNumber()); } - value.top = top_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + value.offDayMarkSize = offDayMarkSize_buf; + const auto workStateWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number workStateWidth_buf = {}; + workStateWidth_buf.tag = workStateWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (workStateWidth_buf_runtimeType)) { - end_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + workStateWidth_buf.value = static_cast(valueDeserializer.readNumber()); } - value.end = end_buf; - const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + value.workStateWidth = workStateWidth_buf; + const auto workStateHorizontalMovingDistance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number workStateHorizontalMovingDistance_buf = {}; + workStateHorizontalMovingDistance_buf.tag = workStateHorizontalMovingDistance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (workStateHorizontalMovingDistance_buf_runtimeType)) { - bottom_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + workStateHorizontalMovingDistance_buf.value = static_cast(valueDeserializer.readNumber()); } - value.bottom = bottom_buf; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + value.workStateHorizontalMovingDistance = workStateHorizontalMovingDistance_buf; + const auto workStateVerticalMovingDistance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number workStateVerticalMovingDistance_buf = {}; + workStateVerticalMovingDistance_buf.tag = workStateVerticalMovingDistance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (workStateVerticalMovingDistance_buf_runtimeType)) { - start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + workStateVerticalMovingDistance_buf.value = static_cast(valueDeserializer.readNumber()); } - value.start = start_buf; + value.workStateVerticalMovingDistance = workStateVerticalMovingDistance_buf; return value; } - Ark_LocalizedPosition readLocalizedPosition() + Ark_XComponentOptions readXComponentOptions() { - Ark_LocalizedPosition value = {}; + Ark_XComponentOptions value = {}; Deserializer& valueDeserializer = *this; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + value.type = static_cast(valueDeserializer.readInt32()); + value.controller = static_cast(valueDeserializer.readXComponentController()); + const auto imageAIOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImageAIOptions imageAIOptions_buf = {}; + imageAIOptions_buf.tag = imageAIOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (imageAIOptions_buf_runtimeType)) { - start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + imageAIOptions_buf.value = valueDeserializer.readImageAIOptions(); } - value.start = start_buf; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + value.imageAIOptions = imageAIOptions_buf; + const auto screenId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number screenId_buf = {}; + screenId_buf.tag = screenId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (screenId_buf_runtimeType)) { - top_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + screenId_buf.value = static_cast(valueDeserializer.readNumber()); } - value.top = top_buf; + value.screenId = screenId_buf; return value; } - Ark_LunarSwitchStyle readLunarSwitchStyle() + Ark_ArrowStyle readArrowStyle() { - Ark_LunarSwitchStyle value = {}; + Ark_ArrowStyle value = {}; Deserializer& valueDeserializer = *this; - const auto selectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor selectedColor_buf = {}; - selectedColor_buf.tag = selectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (selectedColor_buf_runtimeType)) + const auto showBackground_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean showBackground_buf = {}; + showBackground_buf.tag = showBackground_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (showBackground_buf_runtimeType)) { - const Ark_Int8 selectedColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor selectedColor_buf_ = {}; - selectedColor_buf_.selector = selectedColor_buf__selector; - if (selectedColor_buf__selector == 0) { - selectedColor_buf_.selector = 0; - selectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (selectedColor_buf__selector == 1) { - selectedColor_buf_.selector = 1; - selectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (selectedColor_buf__selector == 2) { - selectedColor_buf_.selector = 2; - selectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (selectedColor_buf__selector == 3) { - selectedColor_buf_.selector = 3; - selectedColor_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for selectedColor_buf_ has to be chosen through deserialisation."); - } - selectedColor_buf.value = static_cast(selectedColor_buf_); + showBackground_buf.value = valueDeserializer.readBoolean(); } - value.selectedColor = selectedColor_buf; - const auto unselectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor unselectedColor_buf = {}; - unselectedColor_buf.tag = unselectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (unselectedColor_buf_runtimeType)) + value.showBackground = showBackground_buf; + const auto isSidebarMiddle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean isSidebarMiddle_buf = {}; + isSidebarMiddle_buf.tag = isSidebarMiddle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isSidebarMiddle_buf_runtimeType)) { - const Ark_Int8 unselectedColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor unselectedColor_buf_ = {}; - unselectedColor_buf_.selector = unselectedColor_buf__selector; - if (unselectedColor_buf__selector == 0) { - unselectedColor_buf_.selector = 0; - unselectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (unselectedColor_buf__selector == 1) { - unselectedColor_buf_.selector = 1; - unselectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (unselectedColor_buf__selector == 2) { - unselectedColor_buf_.selector = 2; - unselectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (unselectedColor_buf__selector == 3) { - unselectedColor_buf_.selector = 3; - unselectedColor_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation."); - } - unselectedColor_buf.value = static_cast(unselectedColor_buf_); + isSidebarMiddle_buf.value = valueDeserializer.readBoolean(); } - value.unselectedColor = unselectedColor_buf; - const auto strokeColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor strokeColor_buf = {}; - strokeColor_buf.tag = strokeColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeColor_buf_runtimeType)) + value.isSidebarMiddle = isSidebarMiddle_buf; + const auto backgroundSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length backgroundSize_buf = {}; + backgroundSize_buf.tag = backgroundSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundSize_buf_runtimeType)) { - const Ark_Int8 strokeColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor strokeColor_buf_ = {}; - strokeColor_buf_.selector = strokeColor_buf__selector; - if (strokeColor_buf__selector == 0) { - strokeColor_buf_.selector = 0; - strokeColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (strokeColor_buf__selector == 1) { - strokeColor_buf_.selector = 1; - strokeColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 backgroundSize_buf__selector = valueDeserializer.readInt8(); + Ark_Length backgroundSize_buf_ = {}; + backgroundSize_buf_.selector = backgroundSize_buf__selector; + if (backgroundSize_buf__selector == 0) { + backgroundSize_buf_.selector = 0; + backgroundSize_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (strokeColor_buf__selector == 2) { - strokeColor_buf_.selector = 2; - strokeColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (backgroundSize_buf__selector == 1) { + backgroundSize_buf_.selector = 1; + backgroundSize_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (strokeColor_buf__selector == 3) { - strokeColor_buf_.selector = 3; - strokeColor_buf_.value3 = valueDeserializer.readResource(); + else if (backgroundSize_buf__selector == 2) { + backgroundSize_buf_.selector = 2; + backgroundSize_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for strokeColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for backgroundSize_buf_ has to be chosen through deserialisation."); } - strokeColor_buf.value = static_cast(strokeColor_buf_); + backgroundSize_buf.value = static_cast(backgroundSize_buf_); } - value.strokeColor = strokeColor_buf; - return value; - } - Ark_MarkStyle readMarkStyle() - { - Ark_MarkStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto strokeColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor strokeColor_buf = {}; - strokeColor_buf.tag = strokeColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeColor_buf_runtimeType)) + value.backgroundSize = backgroundSize_buf; + const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor backgroundColor_buf = {}; + backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) { - const Ark_Int8 strokeColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor strokeColor_buf_ = {}; - strokeColor_buf_.selector = strokeColor_buf__selector; - if (strokeColor_buf__selector == 0) { - strokeColor_buf_.selector = 0; - strokeColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 backgroundColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor backgroundColor_buf_ = {}; + backgroundColor_buf_.selector = backgroundColor_buf__selector; + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_.selector = 0; + backgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (strokeColor_buf__selector == 1) { - strokeColor_buf_.selector = 1; - strokeColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_.selector = 1; + backgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (strokeColor_buf__selector == 2) { - strokeColor_buf_.selector = 2; - strokeColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_.selector = 2; + backgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (strokeColor_buf__selector == 3) { - strokeColor_buf_.selector = 3; - strokeColor_buf_.value3 = valueDeserializer.readResource(); + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_.selector = 3; + backgroundColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for strokeColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation."); } - strokeColor_buf.value = static_cast(strokeColor_buf_); + backgroundColor_buf.value = static_cast(backgroundColor_buf_); } - value.strokeColor = strokeColor_buf; - const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource size_buf = {}; - size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) + value.backgroundColor = backgroundColor_buf; + const auto arrowSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length arrowSize_buf = {}; + arrowSize_buf.tag = arrowSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowSize_buf_runtimeType)) { - const Ark_Int8 size_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource size_buf_ = {}; - size_buf_.selector = size_buf__selector; - if (size_buf__selector == 0) { - size_buf_.selector = 0; - size_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 arrowSize_buf__selector = valueDeserializer.readInt8(); + Ark_Length arrowSize_buf_ = {}; + arrowSize_buf_.selector = arrowSize_buf__selector; + if (arrowSize_buf__selector == 0) { + arrowSize_buf_.selector = 0; + arrowSize_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (size_buf__selector == 1) { - size_buf_.selector = 1; - size_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (arrowSize_buf__selector == 1) { + arrowSize_buf_.selector = 1; + arrowSize_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (size_buf__selector == 2) { - size_buf_.selector = 2; - size_buf_.value2 = valueDeserializer.readResource(); + else if (arrowSize_buf__selector == 2) { + arrowSize_buf_.selector = 2; + arrowSize_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for size_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for arrowSize_buf_ has to be chosen through deserialisation."); } - size_buf.value = static_cast(size_buf_); + arrowSize_buf.value = static_cast(arrowSize_buf_); } - value.size = size_buf; - const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + value.arrowSize = arrowSize_buf; + const auto arrowColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor arrowColor_buf = {}; + arrowColor_buf.tag = arrowColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowColor_buf_runtimeType)) { - const Ark_Int8 strokeWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource strokeWidth_buf_ = {}; - strokeWidth_buf_.selector = strokeWidth_buf__selector; - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_.selector = 0; - strokeWidth_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 arrowColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor arrowColor_buf_ = {}; + arrowColor_buf_.selector = arrowColor_buf__selector; + if (arrowColor_buf__selector == 0) { + arrowColor_buf_.selector = 0; + arrowColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_.selector = 1; - strokeWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (arrowColor_buf__selector == 1) { + arrowColor_buf_.selector = 1; + arrowColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_.selector = 2; - strokeWidth_buf_.value2 = valueDeserializer.readResource(); + else if (arrowColor_buf__selector == 2) { + arrowColor_buf_.selector = 2; + arrowColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (arrowColor_buf__selector == 3) { + arrowColor_buf_.selector = 3; + arrowColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for arrowColor_buf_ has to be chosen through deserialisation."); } - strokeWidth_buf.value = static_cast(strokeWidth_buf_); + arrowColor_buf.value = static_cast(arrowColor_buf_); } - value.strokeWidth = strokeWidth_buf; + value.arrowColor = arrowColor_buf; return value; } - Ark_MeasureOptions readMeasureOptions() + Ark_BadgeStyle readBadgeStyle() { - Ark_MeasureOptions value = {}; + Ark_BadgeStyle value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 textContent_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource textContent_buf = {}; - textContent_buf.selector = textContent_buf_selector; - if (textContent_buf_selector == 0) { - textContent_buf.selector = 0; - textContent_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (textContent_buf_selector == 1) { - textContent_buf.selector = 1; - textContent_buf.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for textContent_buf has to be chosen through deserialisation."); - } - value.textContent = static_cast(textContent_buf); - const auto constraintWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String_Resource constraintWidth_buf = {}; - constraintWidth_buf.tag = constraintWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (constraintWidth_buf_runtimeType)) + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) { - const Ark_Int8 constraintWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String_Resource constraintWidth_buf_ = {}; - constraintWidth_buf_.selector = constraintWidth_buf__selector; - if (constraintWidth_buf__selector == 0) { - constraintWidth_buf_.selector = 0; - constraintWidth_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (constraintWidth_buf__selector == 1) { - constraintWidth_buf_.selector = 1; - constraintWidth_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (constraintWidth_buf__selector == 2) { - constraintWidth_buf_.selector = 2; - constraintWidth_buf_.value2 = valueDeserializer.readResource(); + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for constraintWidth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); } - constraintWidth_buf.value = static_cast(constraintWidth_buf_); + color_buf.value = static_cast(color_buf_); } - value.constraintWidth = constraintWidth_buf; + value.color = color_buf; const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String_Resource fontSize_buf = {}; + Opt_Union_Number_String fontSize_buf = {}; fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) { const Ark_Int8 fontSize_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String_Resource fontSize_buf_ = {}; + Ark_Union_Number_String fontSize_buf_ = {}; fontSize_buf_.selector = fontSize_buf__selector; if (fontSize_buf__selector == 0) { fontSize_buf_.selector = 0; @@ -101062,1160 +108201,1340 @@ class Deserializer : public DeserializerBase { fontSize_buf_.selector = 1; fontSize_buf_.value1 = static_cast(valueDeserializer.readString()); } - else if (fontSize_buf__selector == 2) { - fontSize_buf_.selector = 2; - fontSize_buf_.value2 = valueDeserializer.readResource(); - } else { INTEROP_FATAL("One of the branches for fontSize_buf_ has to be chosen through deserialisation."); } - fontSize_buf.value = static_cast(fontSize_buf_); + fontSize_buf.value = static_cast(fontSize_buf_); } value.fontSize = fontSize_buf; - const auto fontStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_FontStyle fontStyle_buf = {}; - fontStyle_buf.tag = fontStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontStyle_buf_runtimeType)) + const auto badgeSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String badgeSize_buf = {}; + badgeSize_buf.tag = badgeSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (badgeSize_buf_runtimeType)) { - const Ark_Int8 fontStyle_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_FontStyle fontStyle_buf_ = {}; - fontStyle_buf_.selector = fontStyle_buf__selector; - if (fontStyle_buf__selector == 0) { - fontStyle_buf_.selector = 0; - fontStyle_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 badgeSize_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String badgeSize_buf_ = {}; + badgeSize_buf_.selector = badgeSize_buf__selector; + if (badgeSize_buf__selector == 0) { + badgeSize_buf_.selector = 0; + badgeSize_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (fontStyle_buf__selector == 1) { - fontStyle_buf_.selector = 1; - fontStyle_buf_.value1 = static_cast(valueDeserializer.readInt32()); + else if (badgeSize_buf__selector == 1) { + badgeSize_buf_.selector = 1; + badgeSize_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for fontStyle_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for badgeSize_buf_ has to be chosen through deserialisation."); } - fontStyle_buf.value = static_cast(fontStyle_buf_); + badgeSize_buf.value = static_cast(badgeSize_buf_); } - value.fontStyle = fontStyle_buf; - const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String_FontWeight fontWeight_buf = {}; - fontWeight_buf.tag = fontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) + value.badgeSize = badgeSize_buf; + const auto badgeColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor badgeColor_buf = {}; + badgeColor_buf.tag = badgeColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (badgeColor_buf_runtimeType)) { - const Ark_Int8 fontWeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String_FontWeight fontWeight_buf_ = {}; - fontWeight_buf_.selector = fontWeight_buf__selector; - if (fontWeight_buf__selector == 0) { - fontWeight_buf_.selector = 0; - fontWeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 badgeColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor badgeColor_buf_ = {}; + badgeColor_buf_.selector = badgeColor_buf__selector; + if (badgeColor_buf__selector == 0) { + badgeColor_buf_.selector = 0; + badgeColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_.selector = 1; - fontWeight_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (badgeColor_buf__selector == 1) { + badgeColor_buf_.selector = 1; + badgeColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_.selector = 2; - fontWeight_buf_.value2 = static_cast(valueDeserializer.readInt32()); + else if (badgeColor_buf__selector == 2) { + badgeColor_buf_.selector = 2; + badgeColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (badgeColor_buf__selector == 3) { + badgeColor_buf_.selector = 3; + badgeColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontWeight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for badgeColor_buf_ has to be chosen through deserialisation."); } - fontWeight_buf.value = static_cast(fontWeight_buf_); + badgeColor_buf.value = static_cast(badgeColor_buf_); } - value.fontWeight = fontWeight_buf; - const auto fontFamily_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Resource fontFamily_buf = {}; - fontFamily_buf.tag = fontFamily_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontFamily_buf_runtimeType)) + value.badgeColor = badgeColor_buf; + const auto borderColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor borderColor_buf = {}; + borderColor_buf.tag = borderColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf_runtimeType)) { - const Ark_Int8 fontFamily_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource fontFamily_buf_ = {}; - fontFamily_buf_.selector = fontFamily_buf__selector; - if (fontFamily_buf__selector == 0) { - fontFamily_buf_.selector = 0; - fontFamily_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (fontFamily_buf__selector == 1) { - fontFamily_buf_.selector = 1; - fontFamily_buf_.value1 = valueDeserializer.readResource(); + const Ark_Int8 borderColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor borderColor_buf_ = {}; + borderColor_buf_.selector = borderColor_buf__selector; + if (borderColor_buf__selector == 0) { + borderColor_buf_.selector = 0; + borderColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else { - INTEROP_FATAL("One of the branches for fontFamily_buf_ has to be chosen through deserialisation."); + else if (borderColor_buf__selector == 1) { + borderColor_buf_.selector = 1; + borderColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - fontFamily_buf.value = static_cast(fontFamily_buf_); - } - value.fontFamily = fontFamily_buf; - const auto letterSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String letterSpacing_buf = {}; - letterSpacing_buf.tag = letterSpacing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (letterSpacing_buf_runtimeType)) - { - const Ark_Int8 letterSpacing_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String letterSpacing_buf_ = {}; - letterSpacing_buf_.selector = letterSpacing_buf__selector; - if (letterSpacing_buf__selector == 0) { - letterSpacing_buf_.selector = 0; - letterSpacing_buf_.value0 = static_cast(valueDeserializer.readNumber()); + else if (borderColor_buf__selector == 2) { + borderColor_buf_.selector = 2; + borderColor_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (letterSpacing_buf__selector == 1) { - letterSpacing_buf_.selector = 1; - letterSpacing_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (borderColor_buf__selector == 3) { + borderColor_buf_.selector = 3; + borderColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for letterSpacing_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for borderColor_buf_ has to be chosen through deserialisation."); } - letterSpacing_buf.value = static_cast(letterSpacing_buf_); + borderColor_buf.value = static_cast(borderColor_buf_); } - value.letterSpacing = letterSpacing_buf; - const auto textAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_TextAlign textAlign_buf = {}; - textAlign_buf.tag = textAlign_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (textAlign_buf_runtimeType)) + value.borderColor = borderColor_buf; + const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length borderWidth_buf = {}; + borderWidth_buf.tag = borderWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) { - const Ark_Int8 textAlign_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_TextAlign textAlign_buf_ = {}; - textAlign_buf_.selector = textAlign_buf__selector; - if (textAlign_buf__selector == 0) { - textAlign_buf_.selector = 0; - textAlign_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 borderWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Length borderWidth_buf_ = {}; + borderWidth_buf_.selector = borderWidth_buf__selector; + if (borderWidth_buf__selector == 0) { + borderWidth_buf_.selector = 0; + borderWidth_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (textAlign_buf__selector == 1) { - textAlign_buf_.selector = 1; - textAlign_buf_.value1 = static_cast(valueDeserializer.readInt32()); + else if (borderWidth_buf__selector == 1) { + borderWidth_buf_.selector = 1; + borderWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (borderWidth_buf__selector == 2) { + borderWidth_buf_.selector = 2; + borderWidth_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for textAlign_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for borderWidth_buf_ has to be chosen through deserialisation."); } - textAlign_buf.value = static_cast(textAlign_buf_); + borderWidth_buf.value = static_cast(borderWidth_buf_); } - value.textAlign = textAlign_buf; - const auto overflow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_TextOverflow overflow_buf = {}; - overflow_buf.tag = overflow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (overflow_buf_runtimeType)) + value.borderWidth = borderWidth_buf; + const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_FontWeight_String fontWeight_buf = {}; + fontWeight_buf.tag = fontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) { - const Ark_Int8 overflow_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_TextOverflow overflow_buf_ = {}; - overflow_buf_.selector = overflow_buf__selector; - if (overflow_buf__selector == 0) { - overflow_buf_.selector = 0; - overflow_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 fontWeight_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_FontWeight_String fontWeight_buf_ = {}; + fontWeight_buf_.selector = fontWeight_buf__selector; + if (fontWeight_buf__selector == 0) { + fontWeight_buf_.selector = 0; + fontWeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (overflow_buf__selector == 1) { - overflow_buf_.selector = 1; - overflow_buf_.value1 = static_cast(valueDeserializer.readInt32()); + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_.selector = 1; + fontWeight_buf_.value1 = static_cast(valueDeserializer.readInt32()); + } + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_.selector = 2; + fontWeight_buf_.value2 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for overflow_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontWeight_buf_ has to be chosen through deserialisation."); } - overflow_buf.value = static_cast(overflow_buf_); + fontWeight_buf.value = static_cast(fontWeight_buf_); } - value.overflow = overflow_buf; - const auto maxLines_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number maxLines_buf = {}; - maxLines_buf.tag = maxLines_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (maxLines_buf_runtimeType)) + value.fontWeight = fontWeight_buf; + return value; + } + Ark_BarGridColumnOptions readBarGridColumnOptions() + { + Ark_BarGridColumnOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto sm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number sm_buf = {}; + sm_buf.tag = sm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sm_buf_runtimeType)) { - maxLines_buf.value = static_cast(valueDeserializer.readNumber()); + sm_buf.value = static_cast(valueDeserializer.readNumber()); } - value.maxLines = maxLines_buf; - const auto lineHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String_Resource lineHeight_buf = {}; - lineHeight_buf.tag = lineHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lineHeight_buf_runtimeType)) + value.sm = sm_buf; + const auto md_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number md_buf = {}; + md_buf.tag = md_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (md_buf_runtimeType)) { - const Ark_Int8 lineHeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String_Resource lineHeight_buf_ = {}; - lineHeight_buf_.selector = lineHeight_buf__selector; - if (lineHeight_buf__selector == 0) { - lineHeight_buf_.selector = 0; - lineHeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (lineHeight_buf__selector == 1) { - lineHeight_buf_.selector = 1; - lineHeight_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else if (lineHeight_buf__selector == 2) { - lineHeight_buf_.selector = 2; - lineHeight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for lineHeight_buf_ has to be chosen through deserialisation."); - } - lineHeight_buf.value = static_cast(lineHeight_buf_); + md_buf.value = static_cast(valueDeserializer.readNumber()); } - value.lineHeight = lineHeight_buf; - const auto baselineOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String baselineOffset_buf = {}; - baselineOffset_buf.tag = baselineOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (baselineOffset_buf_runtimeType)) + value.md = md_buf; + const auto lg_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number lg_buf = {}; + lg_buf.tag = lg_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lg_buf_runtimeType)) { - const Ark_Int8 baselineOffset_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String baselineOffset_buf_ = {}; - baselineOffset_buf_.selector = baselineOffset_buf__selector; - if (baselineOffset_buf__selector == 0) { - baselineOffset_buf_.selector = 0; - baselineOffset_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (baselineOffset_buf__selector == 1) { - baselineOffset_buf_.selector = 1; - baselineOffset_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for baselineOffset_buf_ has to be chosen through deserialisation."); - } - baselineOffset_buf.value = static_cast(baselineOffset_buf_); + lg_buf.value = static_cast(valueDeserializer.readNumber()); } - value.baselineOffset = baselineOffset_buf; - const auto textCase_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_TextCase textCase_buf = {}; - textCase_buf.tag = textCase_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (textCase_buf_runtimeType)) + value.lg = lg_buf; + const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension margin_buf = {}; + margin_buf.tag = margin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) { - const Ark_Int8 textCase_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_TextCase textCase_buf_ = {}; - textCase_buf_.selector = textCase_buf__selector; - if (textCase_buf__selector == 0) { - textCase_buf_.selector = 0; - textCase_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (textCase_buf__selector == 1) { - textCase_buf_.selector = 1; - textCase_buf_.value1 = static_cast(valueDeserializer.readInt32()); - } - else { - INTEROP_FATAL("One of the branches for textCase_buf_ has to be chosen through deserialisation."); + const Ark_Int8 margin_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension margin_buf_ = {}; + margin_buf_.selector = margin_buf__selector; + if (margin_buf__selector == 0) { + margin_buf_.selector = 0; + margin_buf_.value0 = static_cast(valueDeserializer.readString()); } - textCase_buf.value = static_cast(textCase_buf_); - } - value.textCase = textCase_buf; - const auto textIndent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String textIndent_buf = {}; - textIndent_buf.tag = textIndent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (textIndent_buf_runtimeType)) - { - const Ark_Int8 textIndent_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String textIndent_buf_ = {}; - textIndent_buf_.selector = textIndent_buf__selector; - if (textIndent_buf__selector == 0) { - textIndent_buf_.selector = 0; - textIndent_buf_.value0 = static_cast(valueDeserializer.readNumber()); + else if (margin_buf__selector == 1) { + margin_buf_.selector = 1; + margin_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (textIndent_buf__selector == 1) { - textIndent_buf_.selector = 1; - textIndent_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (margin_buf__selector == 2) { + margin_buf_.selector = 2; + margin_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for textIndent_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for margin_buf_ has to be chosen through deserialisation."); } - textIndent_buf.value = static_cast(textIndent_buf_); - } - value.textIndent = textIndent_buf; - const auto wordBreak_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_WordBreak wordBreak_buf = {}; - wordBreak_buf.tag = wordBreak_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (wordBreak_buf_runtimeType)) - { - wordBreak_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.wordBreak = wordBreak_buf; - return value; - } - Ark_MenuElement readMenuElement() - { - Ark_MenuElement value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); - Ark_ResourceStr value_buf = {}; - value_buf.selector = value_buf_selector; - if (value_buf_selector == 0) { - value_buf.selector = 0; - value_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (value_buf_selector == 1) { - value_buf.selector = 1; - value_buf.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + margin_buf.value = static_cast(margin_buf_); } - value.value = static_cast(value_buf); - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + value.margin = margin_buf; + const auto gutter_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension gutter_buf = {}; + gutter_buf.tag = gutter_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (gutter_buf_runtimeType)) { - const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr icon_buf_ = {}; - icon_buf_.selector = icon_buf__selector; - if (icon_buf__selector == 0) { - icon_buf_.selector = 0; - icon_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 gutter_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension gutter_buf_ = {}; + gutter_buf_.selector = gutter_buf__selector; + if (gutter_buf__selector == 0) { + gutter_buf_.selector = 0; + gutter_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (icon_buf__selector == 1) { - icon_buf_.selector = 1; - icon_buf_.value1 = valueDeserializer.readResource(); + else if (gutter_buf__selector == 1) { + gutter_buf_.selector = 1; + gutter_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (gutter_buf__selector == 2) { + gutter_buf_.selector = 2; + gutter_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for gutter_buf_ has to be chosen through deserialisation."); } - icon_buf.value = static_cast(icon_buf_); - } - value.icon = icon_buf; - const auto symbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SymbolGlyphModifier symbolIcon_buf = {}; - symbolIcon_buf.tag = symbolIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (symbolIcon_buf_runtimeType)) - { - symbolIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); - } - value.symbolIcon = symbolIcon_buf; - const auto enabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enabled_buf = {}; - enabled_buf.tag = enabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enabled_buf_runtimeType)) - { - enabled_buf.value = valueDeserializer.readBoolean(); + gutter_buf.value = static_cast(gutter_buf_); } - value.enabled = enabled_buf; - value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + value.gutter = gutter_buf; return value; } - Ark_MenuItemConfiguration readMenuItemConfiguration() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_MenuItemGroupOptions readMenuItemGroupOptions() + Ark_BoardStyle readBoardStyle() { - Ark_MenuItemGroupOptions value = {}; + Ark_BoardStyle value = {}; Deserializer& valueDeserializer = *this; - const auto header_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_ResourceStr_CustomBuilder header_buf = {}; - header_buf.tag = header_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (header_buf_runtimeType)) - { - const Ark_Int8 header_buf__selector = valueDeserializer.readInt8(); - Ark_Union_ResourceStr_CustomBuilder header_buf_ = {}; - header_buf_.selector = header_buf__selector; - if (header_buf__selector == 0) { - header_buf_.selector = 0; - const Ark_Int8 header_buf__u_selector = valueDeserializer.readInt8(); - Ark_ResourceStr header_buf__u = {}; - header_buf__u.selector = header_buf__u_selector; - if (header_buf__u_selector == 0) { - header_buf__u.selector = 0; - header_buf__u.value0 = static_cast(valueDeserializer.readString()); - } - else if (header_buf__u_selector == 1) { - header_buf__u.selector = 1; - header_buf__u.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for header_buf__u has to be chosen through deserialisation."); - } - header_buf_.value0 = static_cast(header_buf__u); - } - else if (header_buf__selector == 1) { - header_buf_.selector = 1; - header_buf_.value1 = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; - } - else { - INTEROP_FATAL("One of the branches for header_buf_ has to be chosen through deserialisation."); - } - header_buf.value = static_cast(header_buf_); - } - value.header = header_buf; - const auto footer_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_ResourceStr_CustomBuilder footer_buf = {}; - footer_buf.tag = footer_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (footer_buf_runtimeType)) - { - const Ark_Int8 footer_buf__selector = valueDeserializer.readInt8(); - Ark_Union_ResourceStr_CustomBuilder footer_buf_ = {}; - footer_buf_.selector = footer_buf__selector; - if (footer_buf__selector == 0) { - footer_buf_.selector = 0; - const Ark_Int8 footer_buf__u_selector = valueDeserializer.readInt8(); - Ark_ResourceStr footer_buf__u = {}; - footer_buf__u.selector = footer_buf__u_selector; - if (footer_buf__u_selector == 0) { - footer_buf__u.selector = 0; - footer_buf__u.value0 = static_cast(valueDeserializer.readString()); - } - else if (footer_buf__u_selector == 1) { - footer_buf__u.selector = 1; - footer_buf__u.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for footer_buf__u has to be chosen through deserialisation."); - } - footer_buf_.value0 = static_cast(footer_buf__u); + const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length borderRadius_buf = {}; + borderRadius_buf.tag = borderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) + { + const Ark_Int8 borderRadius_buf__selector = valueDeserializer.readInt8(); + Ark_Length borderRadius_buf_ = {}; + borderRadius_buf_.selector = borderRadius_buf__selector; + if (borderRadius_buf__selector == 0) { + borderRadius_buf_.selector = 0; + borderRadius_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (footer_buf__selector == 1) { - footer_buf_.selector = 1; - footer_buf_.value1 = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + else if (borderRadius_buf__selector == 1) { + borderRadius_buf_.selector = 1; + borderRadius_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (borderRadius_buf__selector == 2) { + borderRadius_buf_.selector = 2; + borderRadius_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for footer_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for borderRadius_buf_ has to be chosen through deserialisation."); } - footer_buf.value = static_cast(footer_buf_); + borderRadius_buf.value = static_cast(borderRadius_buf_); } - value.footer = footer_buf; + value.borderRadius = borderRadius_buf; return value; } - Ark_MenuItemOptions readMenuItemOptions() + Ark_BorderRadiuses readBorderRadiuses() { - Ark_MenuItemOptions value = {}; + Ark_BorderRadiuses value = {}; Deserializer& valueDeserializer = *this; - const auto startIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr startIcon_buf = {}; - startIcon_buf.tag = startIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (startIcon_buf_runtimeType)) + const auto topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length topLeft_buf = {}; + topLeft_buf.tag = topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (topLeft_buf_runtimeType)) { - const Ark_Int8 startIcon_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr startIcon_buf_ = {}; - startIcon_buf_.selector = startIcon_buf__selector; - if (startIcon_buf__selector == 0) { - startIcon_buf_.selector = 0; - startIcon_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 topLeft_buf__selector = valueDeserializer.readInt8(); + Ark_Length topLeft_buf_ = {}; + topLeft_buf_.selector = topLeft_buf__selector; + if (topLeft_buf__selector == 0) { + topLeft_buf_.selector = 0; + topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (startIcon_buf__selector == 1) { - startIcon_buf_.selector = 1; - startIcon_buf_.value1 = valueDeserializer.readResource(); + else if (topLeft_buf__selector == 1) { + topLeft_buf_.selector = 1; + topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (topLeft_buf__selector == 2) { + topLeft_buf_.selector = 2; + topLeft_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for startIcon_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for topLeft_buf_ has to be chosen through deserialisation."); } - startIcon_buf.value = static_cast(startIcon_buf_); - } - value.startIcon = startIcon_buf; - const auto symbolStartIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SymbolGlyphModifier symbolStartIcon_buf = {}; - symbolStartIcon_buf.tag = symbolStartIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (symbolStartIcon_buf_runtimeType)) - { - symbolStartIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); + topLeft_buf.value = static_cast(topLeft_buf_); } - value.symbolStartIcon = symbolStartIcon_buf; - const auto content_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr content_buf = {}; - content_buf.tag = content_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (content_buf_runtimeType)) + value.topLeft = topLeft_buf; + const auto topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length topRight_buf = {}; + topRight_buf.tag = topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (topRight_buf_runtimeType)) { - const Ark_Int8 content_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr content_buf_ = {}; - content_buf_.selector = content_buf__selector; - if (content_buf__selector == 0) { - content_buf_.selector = 0; - content_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 topRight_buf__selector = valueDeserializer.readInt8(); + Ark_Length topRight_buf_ = {}; + topRight_buf_.selector = topRight_buf__selector; + if (topRight_buf__selector == 0) { + topRight_buf_.selector = 0; + topRight_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (content_buf__selector == 1) { - content_buf_.selector = 1; - content_buf_.value1 = valueDeserializer.readResource(); + else if (topRight_buf__selector == 1) { + topRight_buf_.selector = 1; + topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (topRight_buf__selector == 2) { + topRight_buf_.selector = 2; + topRight_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for content_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for topRight_buf_ has to be chosen through deserialisation."); } - content_buf.value = static_cast(content_buf_); + topRight_buf.value = static_cast(topRight_buf_); } - value.content = content_buf; - const auto endIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr endIcon_buf = {}; - endIcon_buf.tag = endIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (endIcon_buf_runtimeType)) + value.topRight = topRight_buf; + const auto bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length bottomLeft_buf = {}; + bottomLeft_buf.tag = bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottomLeft_buf_runtimeType)) { - const Ark_Int8 endIcon_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr endIcon_buf_ = {}; - endIcon_buf_.selector = endIcon_buf__selector; - if (endIcon_buf__selector == 0) { - endIcon_buf_.selector = 0; - endIcon_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 bottomLeft_buf__selector = valueDeserializer.readInt8(); + Ark_Length bottomLeft_buf_ = {}; + bottomLeft_buf_.selector = bottomLeft_buf__selector; + if (bottomLeft_buf__selector == 0) { + bottomLeft_buf_.selector = 0; + bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (endIcon_buf__selector == 1) { - endIcon_buf_.selector = 1; - endIcon_buf_.value1 = valueDeserializer.readResource(); + else if (bottomLeft_buf__selector == 1) { + bottomLeft_buf_.selector = 1; + bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (bottomLeft_buf__selector == 2) { + bottomLeft_buf_.selector = 2; + bottomLeft_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for endIcon_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for bottomLeft_buf_ has to be chosen through deserialisation."); } - endIcon_buf.value = static_cast(endIcon_buf_); - } - value.endIcon = endIcon_buf; - const auto symbolEndIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SymbolGlyphModifier symbolEndIcon_buf = {}; - symbolEndIcon_buf.tag = symbolEndIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (symbolEndIcon_buf_runtimeType)) - { - symbolEndIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); + bottomLeft_buf.value = static_cast(bottomLeft_buf_); } - value.symbolEndIcon = symbolEndIcon_buf; - const auto labelInfo_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr labelInfo_buf = {}; - labelInfo_buf.tag = labelInfo_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (labelInfo_buf_runtimeType)) + value.bottomLeft = bottomLeft_buf; + const auto bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length bottomRight_buf = {}; + bottomRight_buf.tag = bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottomRight_buf_runtimeType)) { - const Ark_Int8 labelInfo_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr labelInfo_buf_ = {}; - labelInfo_buf_.selector = labelInfo_buf__selector; - if (labelInfo_buf__selector == 0) { - labelInfo_buf_.selector = 0; - labelInfo_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 bottomRight_buf__selector = valueDeserializer.readInt8(); + Ark_Length bottomRight_buf_ = {}; + bottomRight_buf_.selector = bottomRight_buf__selector; + if (bottomRight_buf__selector == 0) { + bottomRight_buf_.selector = 0; + bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (labelInfo_buf__selector == 1) { - labelInfo_buf_.selector = 1; - labelInfo_buf_.value1 = valueDeserializer.readResource(); + else if (bottomRight_buf__selector == 1) { + bottomRight_buf_.selector = 1; + bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (bottomRight_buf__selector == 2) { + bottomRight_buf_.selector = 2; + bottomRight_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for labelInfo_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for bottomRight_buf_ has to be chosen through deserialisation."); } - labelInfo_buf.value = static_cast(labelInfo_buf_); - } - value.labelInfo = labelInfo_buf; - const auto builder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomNodeBuilder builder_buf = {}; - builder_buf.tag = builder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (builder_buf_runtimeType)) - { - builder_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + bottomRight_buf.value = static_cast(bottomRight_buf_); } - value.builder = builder_buf; + value.bottomRight = bottomRight_buf; return value; } - Ark_NavDestinationCommonTitle readNavDestinationCommonTitle() + Ark_ButtonStyle readButtonStyle() { - Ark_NavDestinationCommonTitle value = {}; + Ark_ButtonStyle value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 main_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource main_buf = {}; - main_buf.selector = main_buf_selector; - if (main_buf_selector == 0) { - main_buf.selector = 0; - main_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (main_buf_selector == 1) { - main_buf.selector = 1; - main_buf.value1 = valueDeserializer.readResource(); + const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number left_buf = {}; + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + { + left_buf.value = static_cast(valueDeserializer.readNumber()); } - else { - INTEROP_FATAL("One of the branches for main_buf has to be chosen through deserialisation."); + value.left = left_buf; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + { + top_buf.value = static_cast(valueDeserializer.readNumber()); } - value.main = static_cast(main_buf); - const Ark_Int8 sub_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource sub_buf = {}; - sub_buf.selector = sub_buf_selector; - if (sub_buf_selector == 0) { - sub_buf.selector = 0; - sub_buf.value0 = static_cast(valueDeserializer.readString()); + value.top = top_buf; + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + { + width_buf.value = static_cast(valueDeserializer.readNumber()); } - else if (sub_buf_selector == 1) { - sub_buf.selector = 1; - sub_buf.value1 = valueDeserializer.readResource(); + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + { + height_buf.value = static_cast(valueDeserializer.readNumber()); } - else { - INTEROP_FATAL("One of the branches for sub_buf has to be chosen through deserialisation."); + value.height = height_buf; + const auto icons_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ButtonIconOptions icons_buf = {}; + icons_buf.tag = icons_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icons_buf_runtimeType)) + { + icons_buf.value = valueDeserializer.readButtonIconOptions(); } - value.sub = static_cast(sub_buf); + value.icons = icons_buf; return value; } - Ark_NavDestinationContext readNavDestinationContext() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_NavDestinationCustomTitle readNavDestinationCustomTitle() + Ark_CaretStyle readCaretStyle() { - Ark_NavDestinationCustomTitle value = {}; + Ark_CaretStyle value = {}; Deserializer& valueDeserializer = *this; - value.builder = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; - const Ark_Int8 height_buf_selector = valueDeserializer.readInt8(); - Ark_Union_TitleHeight_Length height_buf = {}; - height_buf.selector = height_buf_selector; - if (height_buf_selector == 0) { - height_buf.selector = 0; - height_buf.value0 = static_cast(valueDeserializer.readInt32()); + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + { + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Length width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (width_buf__selector == 2) { + width_buf_.selector = 2; + width_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + } + width_buf.value = static_cast(width_buf_); } - else if (height_buf_selector == 1) { - height_buf.selector = 1; - const Ark_Int8 height_buf_u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_buf_u = {}; - height_buf_u.selector = height_buf_u_selector; - if (height_buf_u_selector == 0) { - height_buf_u.selector = 0; - height_buf_u.value0 = static_cast(valueDeserializer.readString()); + value.width = width_buf; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + { + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (height_buf_u_selector == 1) { - height_buf_u.selector = 1; - height_buf_u.value1 = static_cast(valueDeserializer.readNumber()); + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (height_buf_u_selector == 2) { - height_buf_u.selector = 2; - height_buf_u.value2 = valueDeserializer.readResource(); + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for height_buf_u has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); } - height_buf.value1 = static_cast(height_buf_u); + color_buf.value = static_cast(color_buf_); + } + value.color = color_buf; + return value; + } + Ark_ChainAnimationOptions readChainAnimationOptions() + { + Ark_ChainAnimationOptions value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 minSpace_buf_selector = valueDeserializer.readInt8(); + Ark_Length minSpace_buf = {}; + minSpace_buf.selector = minSpace_buf_selector; + if (minSpace_buf_selector == 0) { + minSpace_buf.selector = 0; + minSpace_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (minSpace_buf_selector == 1) { + minSpace_buf.selector = 1; + minSpace_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (minSpace_buf_selector == 2) { + minSpace_buf.selector = 2; + minSpace_buf.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for height_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for minSpace_buf has to be chosen through deserialisation."); } - value.height = static_cast(height_buf); + value.minSpace = static_cast(minSpace_buf); + const Ark_Int8 maxSpace_buf_selector = valueDeserializer.readInt8(); + Ark_Length maxSpace_buf = {}; + maxSpace_buf.selector = maxSpace_buf_selector; + if (maxSpace_buf_selector == 0) { + maxSpace_buf.selector = 0; + maxSpace_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (maxSpace_buf_selector == 1) { + maxSpace_buf.selector = 1; + maxSpace_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (maxSpace_buf_selector == 2) { + maxSpace_buf.selector = 2; + maxSpace_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for maxSpace_buf has to be chosen through deserialisation."); + } + value.maxSpace = static_cast(maxSpace_buf); + const auto conductivity_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number conductivity_buf = {}; + conductivity_buf.tag = conductivity_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (conductivity_buf_runtimeType)) + { + conductivity_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.conductivity = conductivity_buf; + const auto intensity_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number intensity_buf = {}; + intensity_buf.tag = intensity_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (intensity_buf_runtimeType)) + { + intensity_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.intensity = intensity_buf; + const auto edgeEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ChainEdgeEffect edgeEffect_buf = {}; + edgeEffect_buf.tag = edgeEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (edgeEffect_buf_runtimeType)) + { + edgeEffect_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.edgeEffect = edgeEffect_buf; + const auto stiffness_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number stiffness_buf = {}; + stiffness_buf.tag = stiffness_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (stiffness_buf_runtimeType)) + { + stiffness_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.stiffness = stiffness_buf; + const auto damping_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number damping_buf = {}; + damping_buf.tag = damping_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (damping_buf_runtimeType)) + { + damping_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.damping = damping_buf; return value; } - Ark_NavigationCommonTitle readNavigationCommonTitle() + Ark_ColorStop readColorStop() { - Ark_NavigationCommonTitle value = {}; + Ark_ColorStop value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 main_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource main_buf = {}; - main_buf.selector = main_buf_selector; - if (main_buf_selector == 0) { - main_buf.selector = 0; - main_buf.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 color_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf = {}; + color_buf.selector = color_buf_selector; + if (color_buf_selector == 0) { + color_buf.selector = 0; + color_buf.value0 = static_cast(valueDeserializer.readInt32()); } - else if (main_buf_selector == 1) { - main_buf.selector = 1; - main_buf.value1 = valueDeserializer.readResource(); + else if (color_buf_selector == 1) { + color_buf.selector = 1; + color_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (color_buf_selector == 2) { + color_buf.selector = 2; + color_buf.value2 = static_cast(valueDeserializer.readString()); + } + else if (color_buf_selector == 3) { + color_buf.selector = 3; + color_buf.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for main_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for color_buf has to be chosen through deserialisation."); } - value.main = static_cast(main_buf); - const Ark_Int8 sub_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource sub_buf = {}; - sub_buf.selector = sub_buf_selector; - if (sub_buf_selector == 0) { - sub_buf.selector = 0; - sub_buf.value0 = static_cast(valueDeserializer.readString()); + value.color = static_cast(color_buf); + const Ark_Int8 offset_buf_selector = valueDeserializer.readInt8(); + Ark_Length offset_buf = {}; + offset_buf.selector = offset_buf_selector; + if (offset_buf_selector == 0) { + offset_buf.selector = 0; + offset_buf.value0 = static_cast(valueDeserializer.readString()); } - else if (sub_buf_selector == 1) { - sub_buf.selector = 1; - sub_buf.value1 = valueDeserializer.readResource(); + else if (offset_buf_selector == 1) { + offset_buf.selector = 1; + offset_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (offset_buf_selector == 2) { + offset_buf.selector = 2; + offset_buf.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for sub_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for offset_buf has to be chosen through deserialisation."); } - value.sub = static_cast(sub_buf); + value.offset = static_cast(offset_buf); return value; } - Ark_NavigationCustomTitle readNavigationCustomTitle() + Ark_ColumnSplitDividerStyle readColumnSplitDividerStyle() { - Ark_NavigationCustomTitle value = {}; + Ark_ColumnSplitDividerStyle value = {}; Deserializer& valueDeserializer = *this; - value.builder = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; - const Ark_Int8 height_buf_selector = valueDeserializer.readInt8(); - Ark_Union_TitleHeight_Length height_buf = {}; - height_buf.selector = height_buf_selector; - if (height_buf_selector == 0) { - height_buf.selector = 0; - height_buf.value0 = static_cast(valueDeserializer.readInt32()); + const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension startMargin_buf = {}; + startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) + { + const Ark_Int8 startMargin_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension startMargin_buf_ = {}; + startMargin_buf_.selector = startMargin_buf__selector; + if (startMargin_buf__selector == 0) { + startMargin_buf_.selector = 0; + startMargin_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (startMargin_buf__selector == 1) { + startMargin_buf_.selector = 1; + startMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (startMargin_buf__selector == 2) { + startMargin_buf_.selector = 2; + startMargin_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for startMargin_buf_ has to be chosen through deserialisation."); + } + startMargin_buf.value = static_cast(startMargin_buf_); } - else if (height_buf_selector == 1) { - height_buf.selector = 1; - const Ark_Int8 height_buf_u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_buf_u = {}; - height_buf_u.selector = height_buf_u_selector; - if (height_buf_u_selector == 0) { - height_buf_u.selector = 0; - height_buf_u.value0 = static_cast(valueDeserializer.readString()); + value.startMargin = startMargin_buf; + const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension endMargin_buf = {}; + endMargin_buf.tag = endMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) + { + const Ark_Int8 endMargin_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension endMargin_buf_ = {}; + endMargin_buf_.selector = endMargin_buf__selector; + if (endMargin_buf__selector == 0) { + endMargin_buf_.selector = 0; + endMargin_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (endMargin_buf__selector == 1) { + endMargin_buf_.selector = 1; + endMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (endMargin_buf__selector == 2) { + endMargin_buf_.selector = 2; + endMargin_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for endMargin_buf_ has to be chosen through deserialisation."); + } + endMargin_buf.value = static_cast(endMargin_buf_); + } + value.endMargin = endMargin_buf; + return value; + } + Ark_ConstraintSizeOptions readConstraintSizeOptions() + { + Ark_ConstraintSizeOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto minWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length minWidth_buf = {}; + minWidth_buf.tag = minWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (minWidth_buf_runtimeType)) + { + const Ark_Int8 minWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Length minWidth_buf_ = {}; + minWidth_buf_.selector = minWidth_buf__selector; + if (minWidth_buf__selector == 0) { + minWidth_buf_.selector = 0; + minWidth_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (minWidth_buf__selector == 1) { + minWidth_buf_.selector = 1; + minWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (minWidth_buf__selector == 2) { + minWidth_buf_.selector = 2; + minWidth_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for minWidth_buf_ has to be chosen through deserialisation."); + } + minWidth_buf.value = static_cast(minWidth_buf_); + } + value.minWidth = minWidth_buf; + const auto maxWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length maxWidth_buf = {}; + maxWidth_buf.tag = maxWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maxWidth_buf_runtimeType)) + { + const Ark_Int8 maxWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Length maxWidth_buf_ = {}; + maxWidth_buf_.selector = maxWidth_buf__selector; + if (maxWidth_buf__selector == 0) { + maxWidth_buf_.selector = 0; + maxWidth_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (maxWidth_buf__selector == 1) { + maxWidth_buf_.selector = 1; + maxWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (maxWidth_buf__selector == 2) { + maxWidth_buf_.selector = 2; + maxWidth_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for maxWidth_buf_ has to be chosen through deserialisation."); + } + maxWidth_buf.value = static_cast(maxWidth_buf_); + } + value.maxWidth = maxWidth_buf; + const auto minHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length minHeight_buf = {}; + minHeight_buf.tag = minHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (minHeight_buf_runtimeType)) + { + const Ark_Int8 minHeight_buf__selector = valueDeserializer.readInt8(); + Ark_Length minHeight_buf_ = {}; + minHeight_buf_.selector = minHeight_buf__selector; + if (minHeight_buf__selector == 0) { + minHeight_buf_.selector = 0; + minHeight_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (height_buf_u_selector == 1) { - height_buf_u.selector = 1; - height_buf_u.value1 = static_cast(valueDeserializer.readNumber()); + else if (minHeight_buf__selector == 1) { + minHeight_buf_.selector = 1; + minHeight_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (height_buf_u_selector == 2) { - height_buf_u.selector = 2; - height_buf_u.value2 = valueDeserializer.readResource(); + else if (minHeight_buf__selector == 2) { + minHeight_buf_.selector = 2; + minHeight_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for height_buf_u has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for minHeight_buf_ has to be chosen through deserialisation."); } - height_buf.value1 = static_cast(height_buf_u); - } - else { - INTEROP_FATAL("One of the branches for height_buf has to be chosen through deserialisation."); - } - value.height = static_cast(height_buf); - return value; - } - Ark_NavigationMenuItem readNavigationMenuItem() - { - Ark_NavigationMenuItem value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource value_buf = {}; - value_buf.selector = value_buf_selector; - if (value_buf_selector == 0) { - value_buf.selector = 0; - value_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (value_buf_selector == 1) { - value_buf.selector = 1; - value_buf.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + minHeight_buf.value = static_cast(minHeight_buf_); } - value.value = static_cast(value_buf); - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Resource icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + value.minHeight = minHeight_buf; + const auto maxHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length maxHeight_buf = {}; + maxHeight_buf.tag = maxHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maxHeight_buf_runtimeType)) { - const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource icon_buf_ = {}; - icon_buf_.selector = icon_buf__selector; - if (icon_buf__selector == 0) { - icon_buf_.selector = 0; - icon_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 maxHeight_buf__selector = valueDeserializer.readInt8(); + Ark_Length maxHeight_buf_ = {}; + maxHeight_buf_.selector = maxHeight_buf__selector; + if (maxHeight_buf__selector == 0) { + maxHeight_buf_.selector = 0; + maxHeight_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (icon_buf__selector == 1) { - icon_buf_.selector = 1; - icon_buf_.value1 = valueDeserializer.readResource(); + else if (maxHeight_buf__selector == 1) { + maxHeight_buf_.selector = 1; + maxHeight_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (maxHeight_buf__selector == 2) { + maxHeight_buf_.selector = 2; + maxHeight_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for maxHeight_buf_ has to be chosen through deserialisation."); } - icon_buf.value = static_cast(icon_buf_); - } - value.icon = icon_buf; - const auto symbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SymbolGlyphModifier symbolIcon_buf = {}; - symbolIcon_buf.tag = symbolIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (symbolIcon_buf_runtimeType)) - { - symbolIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); - } - value.symbolIcon = symbolIcon_buf; - const auto isEnabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean isEnabled_buf = {}; - isEnabled_buf.tag = isEnabled_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isEnabled_buf_runtimeType)) - { - isEnabled_buf.value = valueDeserializer.readBoolean(); + maxHeight_buf.value = static_cast(maxHeight_buf_); } - value.isEnabled = isEnabled_buf; - const auto action_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void action_buf = {}; - action_buf.tag = action_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (action_buf_runtimeType)) + value.maxHeight = maxHeight_buf; + return value; + } + Ark_CustomTheme readCustomTheme() + { + Ark_CustomTheme value = {}; + Deserializer& valueDeserializer = *this; + const auto colors_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomColors colors_buf = {}; + colors_buf.tag = colors_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (colors_buf_runtimeType)) { - action_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + colors_buf.value = valueDeserializer.readCustomColors(); } - value.action = action_buf; + value.colors = colors_buf; return value; } - Ark_NavigationTitleOptions readNavigationTitleOptions() + Ark_DividerOptions readDividerOptions() { - Ark_NavigationTitleOptions value = {}; + Ark_DividerOptions value = {}; Deserializer& valueDeserializer = *this; - const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension strokeWidth_buf = {}; + strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) { - const Ark_Int8 backgroundColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor backgroundColor_buf_ = {}; - backgroundColor_buf_.selector = backgroundColor_buf__selector; - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_.selector = 0; - backgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_.selector = 1; - backgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 strokeWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension strokeWidth_buf_ = {}; + strokeWidth_buf_.selector = strokeWidth_buf__selector; + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_.selector = 0; + strokeWidth_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_.selector = 2; - backgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_.selector = 1; + strokeWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_.selector = 3; - backgroundColor_buf_.value3 = valueDeserializer.readResource(); + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_.selector = 2; + strokeWidth_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation."); } - backgroundColor_buf.value = static_cast(backgroundColor_buf_); - } - value.backgroundColor = backgroundColor_buf; - const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) - { - backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.backgroundBlurStyle = backgroundBlurStyle_buf; - const auto barStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BarStyle barStyle_buf = {}; - barStyle_buf.tag = barStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (barStyle_buf_runtimeType)) - { - barStyle_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.barStyle = barStyle_buf; - const auto paddingStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics paddingStart_buf = {}; - paddingStart_buf.tag = paddingStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (paddingStart_buf_runtimeType)) - { - paddingStart_buf.value = static_cast(valueDeserializer.readLengthMetrics()); - } - value.paddingStart = paddingStart_buf; - const auto paddingEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics paddingEnd_buf = {}; - paddingEnd_buf.tag = paddingEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (paddingEnd_buf_runtimeType)) - { - paddingEnd_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + strokeWidth_buf.value = static_cast(strokeWidth_buf_); } - value.paddingEnd = paddingEnd_buf; - const auto mainTitleModifier_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextModifier mainTitleModifier_buf = {}; - mainTitleModifier_buf.tag = mainTitleModifier_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (mainTitleModifier_buf_runtimeType)) + value.strokeWidth = strokeWidth_buf; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) { - mainTitleModifier_buf.value = valueDeserializer.readTextModifier(); + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + } + color_buf.value = static_cast(color_buf_); } - value.mainTitleModifier = mainTitleModifier_buf; - const auto subTitleModifier_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextModifier subTitleModifier_buf = {}; - subTitleModifier_buf.tag = subTitleModifier_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (subTitleModifier_buf_runtimeType)) + value.color = color_buf; + const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension startMargin_buf = {}; + startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) { - subTitleModifier_buf.value = valueDeserializer.readTextModifier(); + const Ark_Int8 startMargin_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension startMargin_buf_ = {}; + startMargin_buf_.selector = startMargin_buf__selector; + if (startMargin_buf__selector == 0) { + startMargin_buf_.selector = 0; + startMargin_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (startMargin_buf__selector == 1) { + startMargin_buf_.selector = 1; + startMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (startMargin_buf__selector == 2) { + startMargin_buf_.selector = 2; + startMargin_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for startMargin_buf_ has to be chosen through deserialisation."); + } + startMargin_buf.value = static_cast(startMargin_buf_); } - value.subTitleModifier = subTitleModifier_buf; - const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + value.startMargin = startMargin_buf; + const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension endMargin_buf = {}; + endMargin_buf.tag = endMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) { - enableHoverMode_buf.value = valueDeserializer.readBoolean(); + const Ark_Int8 endMargin_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension endMargin_buf_ = {}; + endMargin_buf_.selector = endMargin_buf__selector; + if (endMargin_buf__selector == 0) { + endMargin_buf_.selector = 0; + endMargin_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (endMargin_buf__selector == 1) { + endMargin_buf_.selector = 1; + endMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (endMargin_buf__selector == 2) { + endMargin_buf_.selector = 2; + endMargin_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for endMargin_buf_ has to be chosen through deserialisation."); + } + endMargin_buf.value = static_cast(endMargin_buf_); } - value.enableHoverMode = enableHoverMode_buf; + value.endMargin = endMargin_buf; return value; } - Ark_NavigationToolbarOptions readNavigationToolbarOptions() + Ark_DividerStyle readDividerStyle() { - Ark_NavigationToolbarOptions value = {}; + Ark_DividerStyle value = {}; Deserializer& valueDeserializer = *this; - const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + const Ark_Int8 strokeWidth_buf_selector = valueDeserializer.readInt8(); + Ark_Length strokeWidth_buf = {}; + strokeWidth_buf.selector = strokeWidth_buf_selector; + if (strokeWidth_buf_selector == 0) { + strokeWidth_buf.selector = 0; + strokeWidth_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (strokeWidth_buf_selector == 1) { + strokeWidth_buf.selector = 1; + strokeWidth_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (strokeWidth_buf_selector == 2) { + strokeWidth_buf.selector = 2; + strokeWidth_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for strokeWidth_buf has to be chosen through deserialisation."); + } + value.strokeWidth = static_cast(strokeWidth_buf); + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) { - const Ark_Int8 backgroundColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor backgroundColor_buf_ = {}; - backgroundColor_buf_.selector = backgroundColor_buf__selector; - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_.selector = 0; - backgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_.selector = 1; - backgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_.selector = 2; - backgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_.selector = 3; - backgroundColor_buf_.value3 = valueDeserializer.readResource(); + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); } - backgroundColor_buf.value = static_cast(backgroundColor_buf_); + color_buf.value = static_cast(color_buf_); } - value.backgroundColor = backgroundColor_buf; - const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + value.color = color_buf; + const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length startMargin_buf = {}; + startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) { - backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 startMargin_buf__selector = valueDeserializer.readInt8(); + Ark_Length startMargin_buf_ = {}; + startMargin_buf_.selector = startMargin_buf__selector; + if (startMargin_buf__selector == 0) { + startMargin_buf_.selector = 0; + startMargin_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (startMargin_buf__selector == 1) { + startMargin_buf_.selector = 1; + startMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (startMargin_buf__selector == 2) { + startMargin_buf_.selector = 2; + startMargin_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for startMargin_buf_ has to be chosen through deserialisation."); + } + startMargin_buf.value = static_cast(startMargin_buf_); } - value.backgroundBlurStyle = backgroundBlurStyle_buf; - const auto barStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BarStyle barStyle_buf = {}; - barStyle_buf.tag = barStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (barStyle_buf_runtimeType)) + value.startMargin = startMargin_buf; + const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length endMargin_buf = {}; + endMargin_buf.tag = endMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) { - barStyle_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 endMargin_buf__selector = valueDeserializer.readInt8(); + Ark_Length endMargin_buf_ = {}; + endMargin_buf_.selector = endMargin_buf__selector; + if (endMargin_buf__selector == 0) { + endMargin_buf_.selector = 0; + endMargin_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (endMargin_buf__selector == 1) { + endMargin_buf_.selector = 1; + endMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (endMargin_buf__selector == 2) { + endMargin_buf_.selector = 2; + endMargin_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for endMargin_buf_ has to be chosen through deserialisation."); + } + endMargin_buf.value = static_cast(endMargin_buf_); } - value.barStyle = barStyle_buf; + value.endMargin = endMargin_buf; return value; } - Ark_NonCurrentDayStyle readNonCurrentDayStyle() + Ark_DotIndicator readDotIndicator() { - Ark_NonCurrentDayStyle value = {}; + Ark_DotIndicator value = {}; Deserializer& valueDeserializer = *this; - const auto nonCurrentMonthDayColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor nonCurrentMonthDayColor_buf = {}; - nonCurrentMonthDayColor_buf.tag = nonCurrentMonthDayColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (nonCurrentMonthDayColor_buf_runtimeType)) + const auto _left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length _left_buf = {}; + _left_buf.tag = _left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_left_buf_runtimeType)) { - const Ark_Int8 nonCurrentMonthDayColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor nonCurrentMonthDayColor_buf_ = {}; - nonCurrentMonthDayColor_buf_.selector = nonCurrentMonthDayColor_buf__selector; - if (nonCurrentMonthDayColor_buf__selector == 0) { - nonCurrentMonthDayColor_buf_.selector = 0; - nonCurrentMonthDayColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 _left_buf__selector = valueDeserializer.readInt8(); + Ark_Length _left_buf_ = {}; + _left_buf_.selector = _left_buf__selector; + if (_left_buf__selector == 0) { + _left_buf_.selector = 0; + _left_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (nonCurrentMonthDayColor_buf__selector == 1) { - nonCurrentMonthDayColor_buf_.selector = 1; - nonCurrentMonthDayColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (_left_buf__selector == 1) { + _left_buf_.selector = 1; + _left_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (nonCurrentMonthDayColor_buf__selector == 2) { - nonCurrentMonthDayColor_buf_.selector = 2; - nonCurrentMonthDayColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (_left_buf__selector == 2) { + _left_buf_.selector = 2; + _left_buf_.value2 = valueDeserializer.readResource(); } - else if (nonCurrentMonthDayColor_buf__selector == 3) { - nonCurrentMonthDayColor_buf_.selector = 3; - nonCurrentMonthDayColor_buf_.value3 = valueDeserializer.readResource(); + else { + INTEROP_FATAL("One of the branches for _left_buf_ has to be chosen through deserialisation."); + } + _left_buf.value = static_cast(_left_buf_); + } + value._left = _left_buf; + const auto _top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length _top_buf = {}; + _top_buf.tag = _top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_top_buf_runtimeType)) + { + const Ark_Int8 _top_buf__selector = valueDeserializer.readInt8(); + Ark_Length _top_buf_ = {}; + _top_buf_.selector = _top_buf__selector; + if (_top_buf__selector == 0) { + _top_buf_.selector = 0; + _top_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (_top_buf__selector == 1) { + _top_buf_.selector = 1; + _top_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (_top_buf__selector == 2) { + _top_buf_.selector = 2; + _top_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for nonCurrentMonthDayColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for _top_buf_ has to be chosen through deserialisation."); } - nonCurrentMonthDayColor_buf.value = static_cast(nonCurrentMonthDayColor_buf_); + _top_buf.value = static_cast(_top_buf_); } - value.nonCurrentMonthDayColor = nonCurrentMonthDayColor_buf; - const auto nonCurrentMonthLunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor nonCurrentMonthLunarColor_buf = {}; - nonCurrentMonthLunarColor_buf.tag = nonCurrentMonthLunarColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (nonCurrentMonthLunarColor_buf_runtimeType)) + value._top = _top_buf; + const auto _right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length _right_buf = {}; + _right_buf.tag = _right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_right_buf_runtimeType)) { - const Ark_Int8 nonCurrentMonthLunarColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor nonCurrentMonthLunarColor_buf_ = {}; - nonCurrentMonthLunarColor_buf_.selector = nonCurrentMonthLunarColor_buf__selector; - if (nonCurrentMonthLunarColor_buf__selector == 0) { - nonCurrentMonthLunarColor_buf_.selector = 0; - nonCurrentMonthLunarColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 _right_buf__selector = valueDeserializer.readInt8(); + Ark_Length _right_buf_ = {}; + _right_buf_.selector = _right_buf__selector; + if (_right_buf__selector == 0) { + _right_buf_.selector = 0; + _right_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (nonCurrentMonthLunarColor_buf__selector == 1) { - nonCurrentMonthLunarColor_buf_.selector = 1; - nonCurrentMonthLunarColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (_right_buf__selector == 1) { + _right_buf_.selector = 1; + _right_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (nonCurrentMonthLunarColor_buf__selector == 2) { - nonCurrentMonthLunarColor_buf_.selector = 2; - nonCurrentMonthLunarColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (_right_buf__selector == 2) { + _right_buf_.selector = 2; + _right_buf_.value2 = valueDeserializer.readResource(); } - else if (nonCurrentMonthLunarColor_buf__selector == 3) { - nonCurrentMonthLunarColor_buf_.selector = 3; - nonCurrentMonthLunarColor_buf_.value3 = valueDeserializer.readResource(); + else { + INTEROP_FATAL("One of the branches for _right_buf_ has to be chosen through deserialisation."); + } + _right_buf.value = static_cast(_right_buf_); + } + value._right = _right_buf; + const auto _bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length _bottom_buf = {}; + _bottom_buf.tag = _bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_bottom_buf_runtimeType)) + { + const Ark_Int8 _bottom_buf__selector = valueDeserializer.readInt8(); + Ark_Length _bottom_buf_ = {}; + _bottom_buf_.selector = _bottom_buf__selector; + if (_bottom_buf__selector == 0) { + _bottom_buf_.selector = 0; + _bottom_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (_bottom_buf__selector == 1) { + _bottom_buf_.selector = 1; + _bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (_bottom_buf__selector == 2) { + _bottom_buf_.selector = 2; + _bottom_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for nonCurrentMonthLunarColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for _bottom_buf_ has to be chosen through deserialisation."); } - nonCurrentMonthLunarColor_buf.value = static_cast(nonCurrentMonthLunarColor_buf_); + _bottom_buf.value = static_cast(_bottom_buf_); } - value.nonCurrentMonthLunarColor = nonCurrentMonthLunarColor_buf; - const auto nonCurrentMonthWorkDayMarkColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor nonCurrentMonthWorkDayMarkColor_buf = {}; - nonCurrentMonthWorkDayMarkColor_buf.tag = nonCurrentMonthWorkDayMarkColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (nonCurrentMonthWorkDayMarkColor_buf_runtimeType)) + value._bottom = _bottom_buf; + const auto _start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics _start_buf = {}; + _start_buf.tag = _start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_start_buf_runtimeType)) { - const Ark_Int8 nonCurrentMonthWorkDayMarkColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor nonCurrentMonthWorkDayMarkColor_buf_ = {}; - nonCurrentMonthWorkDayMarkColor_buf_.selector = nonCurrentMonthWorkDayMarkColor_buf__selector; - if (nonCurrentMonthWorkDayMarkColor_buf__selector == 0) { - nonCurrentMonthWorkDayMarkColor_buf_.selector = 0; - nonCurrentMonthWorkDayMarkColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 1) { - nonCurrentMonthWorkDayMarkColor_buf_.selector = 1; - nonCurrentMonthWorkDayMarkColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + _start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value._start = _start_buf; + const auto _end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics _end_buf = {}; + _end_buf.tag = _end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_end_buf_runtimeType)) + { + _end_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value._end = _end_buf; + const auto _itemWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length _itemWidth_buf = {}; + _itemWidth_buf.tag = _itemWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_itemWidth_buf_runtimeType)) + { + const Ark_Int8 _itemWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Length _itemWidth_buf_ = {}; + _itemWidth_buf_.selector = _itemWidth_buf__selector; + if (_itemWidth_buf__selector == 0) { + _itemWidth_buf_.selector = 0; + _itemWidth_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 2) { - nonCurrentMonthWorkDayMarkColor_buf_.selector = 2; - nonCurrentMonthWorkDayMarkColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (_itemWidth_buf__selector == 1) { + _itemWidth_buf_.selector = 1; + _itemWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 3) { - nonCurrentMonthWorkDayMarkColor_buf_.selector = 3; - nonCurrentMonthWorkDayMarkColor_buf_.value3 = valueDeserializer.readResource(); + else if (_itemWidth_buf__selector == 2) { + _itemWidth_buf_.selector = 2; + _itemWidth_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for nonCurrentMonthWorkDayMarkColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for _itemWidth_buf_ has to be chosen through deserialisation."); } - nonCurrentMonthWorkDayMarkColor_buf.value = static_cast(nonCurrentMonthWorkDayMarkColor_buf_); + _itemWidth_buf.value = static_cast(_itemWidth_buf_); } - value.nonCurrentMonthWorkDayMarkColor = nonCurrentMonthWorkDayMarkColor_buf; - const auto nonCurrentMonthOffDayMarkColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor nonCurrentMonthOffDayMarkColor_buf = {}; - nonCurrentMonthOffDayMarkColor_buf.tag = nonCurrentMonthOffDayMarkColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (nonCurrentMonthOffDayMarkColor_buf_runtimeType)) + value._itemWidth = _itemWidth_buf; + const auto _itemHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length _itemHeight_buf = {}; + _itemHeight_buf.tag = _itemHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_itemHeight_buf_runtimeType)) { - const Ark_Int8 nonCurrentMonthOffDayMarkColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor nonCurrentMonthOffDayMarkColor_buf_ = {}; - nonCurrentMonthOffDayMarkColor_buf_.selector = nonCurrentMonthOffDayMarkColor_buf__selector; - if (nonCurrentMonthOffDayMarkColor_buf__selector == 0) { - nonCurrentMonthOffDayMarkColor_buf_.selector = 0; - nonCurrentMonthOffDayMarkColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (nonCurrentMonthOffDayMarkColor_buf__selector == 1) { - nonCurrentMonthOffDayMarkColor_buf_.selector = 1; - nonCurrentMonthOffDayMarkColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 _itemHeight_buf__selector = valueDeserializer.readInt8(); + Ark_Length _itemHeight_buf_ = {}; + _itemHeight_buf_.selector = _itemHeight_buf__selector; + if (_itemHeight_buf__selector == 0) { + _itemHeight_buf_.selector = 0; + _itemHeight_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (nonCurrentMonthOffDayMarkColor_buf__selector == 2) { - nonCurrentMonthOffDayMarkColor_buf_.selector = 2; - nonCurrentMonthOffDayMarkColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (_itemHeight_buf__selector == 1) { + _itemHeight_buf_.selector = 1; + _itemHeight_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (nonCurrentMonthOffDayMarkColor_buf__selector == 3) { - nonCurrentMonthOffDayMarkColor_buf_.selector = 3; - nonCurrentMonthOffDayMarkColor_buf_.value3 = valueDeserializer.readResource(); + else if (_itemHeight_buf__selector == 2) { + _itemHeight_buf_.selector = 2; + _itemHeight_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for nonCurrentMonthOffDayMarkColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for _itemHeight_buf_ has to be chosen through deserialisation."); } - nonCurrentMonthOffDayMarkColor_buf.value = static_cast(nonCurrentMonthOffDayMarkColor_buf_); + _itemHeight_buf.value = static_cast(_itemHeight_buf_); } - value.nonCurrentMonthOffDayMarkColor = nonCurrentMonthOffDayMarkColor_buf; - return value; - } - Ark_OffsetOptions readOffsetOptions() - { - Ark_OffsetOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto xOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource xOffset_buf = {}; - xOffset_buf.tag = xOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (xOffset_buf_runtimeType)) + value._itemHeight = _itemHeight_buf; + const auto _selectedItemWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length _selectedItemWidth_buf = {}; + _selectedItemWidth_buf.tag = _selectedItemWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_selectedItemWidth_buf_runtimeType)) { - const Ark_Int8 xOffset_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource xOffset_buf_ = {}; - xOffset_buf_.selector = xOffset_buf__selector; - if (xOffset_buf__selector == 0) { - xOffset_buf_.selector = 0; - xOffset_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 _selectedItemWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Length _selectedItemWidth_buf_ = {}; + _selectedItemWidth_buf_.selector = _selectedItemWidth_buf__selector; + if (_selectedItemWidth_buf__selector == 0) { + _selectedItemWidth_buf_.selector = 0; + _selectedItemWidth_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (xOffset_buf__selector == 1) { - xOffset_buf_.selector = 1; - xOffset_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (_selectedItemWidth_buf__selector == 1) { + _selectedItemWidth_buf_.selector = 1; + _selectedItemWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (xOffset_buf__selector == 2) { - xOffset_buf_.selector = 2; - xOffset_buf_.value2 = valueDeserializer.readResource(); + else if (_selectedItemWidth_buf__selector == 2) { + _selectedItemWidth_buf_.selector = 2; + _selectedItemWidth_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for xOffset_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for _selectedItemWidth_buf_ has to be chosen through deserialisation."); } - xOffset_buf.value = static_cast(xOffset_buf_); + _selectedItemWidth_buf.value = static_cast(_selectedItemWidth_buf_); } - value.xOffset = xOffset_buf; - const auto yOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource yOffset_buf = {}; - yOffset_buf.tag = yOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (yOffset_buf_runtimeType)) + value._selectedItemWidth = _selectedItemWidth_buf; + const auto _selectedItemHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length _selectedItemHeight_buf = {}; + _selectedItemHeight_buf.tag = _selectedItemHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_selectedItemHeight_buf_runtimeType)) { - const Ark_Int8 yOffset_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource yOffset_buf_ = {}; - yOffset_buf_.selector = yOffset_buf__selector; - if (yOffset_buf__selector == 0) { - yOffset_buf_.selector = 0; - yOffset_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 _selectedItemHeight_buf__selector = valueDeserializer.readInt8(); + Ark_Length _selectedItemHeight_buf_ = {}; + _selectedItemHeight_buf_.selector = _selectedItemHeight_buf__selector; + if (_selectedItemHeight_buf__selector == 0) { + _selectedItemHeight_buf_.selector = 0; + _selectedItemHeight_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (yOffset_buf__selector == 1) { - yOffset_buf_.selector = 1; - yOffset_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (_selectedItemHeight_buf__selector == 1) { + _selectedItemHeight_buf_.selector = 1; + _selectedItemHeight_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (yOffset_buf__selector == 2) { - yOffset_buf_.selector = 2; - yOffset_buf_.value2 = valueDeserializer.readResource(); + else if (_selectedItemHeight_buf__selector == 2) { + _selectedItemHeight_buf_.selector = 2; + _selectedItemHeight_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for yOffset_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for _selectedItemHeight_buf_ has to be chosen through deserialisation."); } - yOffset_buf.value = static_cast(yOffset_buf_); - } - value.yOffset = yOffset_buf; - return value; - } - Ark_OverlayOptions readOverlayOptions() - { - Ark_OverlayOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto align_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Alignment align_buf = {}; - align_buf.tag = align_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (align_buf_runtimeType)) - { - align_buf.value = static_cast(valueDeserializer.readInt32()); + _selectedItemHeight_buf.value = static_cast(_selectedItemHeight_buf_); } - value.align = align_buf; - const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_OverlayOffset offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + value._selectedItemHeight = _selectedItemHeight_buf; + const auto _mask_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean _mask_buf = {}; + _mask_buf.tag = _mask_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_mask_buf_runtimeType)) { - offset_buf.value = valueDeserializer.readOverlayOffset(); + _mask_buf.value = valueDeserializer.readBoolean(); } - value.offset = offset_buf; - return value; - } - Ark_PasswordIcon readPasswordIcon() - { - Ark_PasswordIcon value = {}; - Deserializer& valueDeserializer = *this; - const auto onIconSrc_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Resource onIconSrc_buf = {}; - onIconSrc_buf.tag = onIconSrc_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onIconSrc_buf_runtimeType)) + value._mask = _mask_buf; + const auto _color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor _color_buf = {}; + _color_buf.tag = _color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_color_buf_runtimeType)) { - const Ark_Int8 onIconSrc_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource onIconSrc_buf_ = {}; - onIconSrc_buf_.selector = onIconSrc_buf__selector; - if (onIconSrc_buf__selector == 0) { - onIconSrc_buf_.selector = 0; - onIconSrc_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 _color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor _color_buf_ = {}; + _color_buf_.selector = _color_buf__selector; + if (_color_buf__selector == 0) { + _color_buf_.selector = 0; + _color_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (onIconSrc_buf__selector == 1) { - onIconSrc_buf_.selector = 1; - onIconSrc_buf_.value1 = valueDeserializer.readResource(); + else if (_color_buf__selector == 1) { + _color_buf_.selector = 1; + _color_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (_color_buf__selector == 2) { + _color_buf_.selector = 2; + _color_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (_color_buf__selector == 3) { + _color_buf_.selector = 3; + _color_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for onIconSrc_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for _color_buf_ has to be chosen through deserialisation."); } - onIconSrc_buf.value = static_cast(onIconSrc_buf_); + _color_buf.value = static_cast(_color_buf_); } - value.onIconSrc = onIconSrc_buf; - const auto offIconSrc_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Resource offIconSrc_buf = {}; - offIconSrc_buf.tag = offIconSrc_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offIconSrc_buf_runtimeType)) + value._color = _color_buf; + const auto _selectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor _selectedColor_buf = {}; + _selectedColor_buf.tag = _selectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_selectedColor_buf_runtimeType)) { - const Ark_Int8 offIconSrc_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource offIconSrc_buf_ = {}; - offIconSrc_buf_.selector = offIconSrc_buf__selector; - if (offIconSrc_buf__selector == 0) { - offIconSrc_buf_.selector = 0; - offIconSrc_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 _selectedColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor _selectedColor_buf_ = {}; + _selectedColor_buf_.selector = _selectedColor_buf__selector; + if (_selectedColor_buf__selector == 0) { + _selectedColor_buf_.selector = 0; + _selectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (offIconSrc_buf__selector == 1) { - offIconSrc_buf_.selector = 1; - offIconSrc_buf_.value1 = valueDeserializer.readResource(); + else if (_selectedColor_buf__selector == 1) { + _selectedColor_buf_.selector = 1; + _selectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (_selectedColor_buf__selector == 2) { + _selectedColor_buf_.selector = 2; + _selectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (_selectedColor_buf__selector == 3) { + _selectedColor_buf_.selector = 3; + _selectedColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for offIconSrc_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for _selectedColor_buf_ has to be chosen through deserialisation."); } - offIconSrc_buf.value = static_cast(offIconSrc_buf_); + _selectedColor_buf.value = static_cast(_selectedColor_buf_); } - value.offIconSrc = offIconSrc_buf; + value._selectedColor = _selectedColor_buf; + const auto _maxDisplayCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number _maxDisplayCount_buf = {}; + _maxDisplayCount_buf.tag = _maxDisplayCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_maxDisplayCount_buf_runtimeType)) + { + _maxDisplayCount_buf.value = static_cast(valueDeserializer.readNumber()); + } + value._maxDisplayCount = _maxDisplayCount_buf; + const auto _space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics _space_buf = {}; + _space_buf.tag = _space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_space_buf_runtimeType)) + { + _space_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value._space = _space_buf; return value; } - Ark_PixelStretchEffectOptions readPixelStretchEffectOptions() + Ark_EdgeOutlineWidths readEdgeOutlineWidths() { - Ark_PixelStretchEffectOptions value = {}; + Ark_EdgeOutlineWidths value = {}; Deserializer& valueDeserializer = *this; const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource top_buf = {}; + Opt_Dimension top_buf = {}; top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource top_buf_ = {}; + Ark_Dimension top_buf_ = {}; top_buf_.selector = top_buf__selector; if (top_buf__selector == 0) { top_buf_.selector = 0; @@ -102232,16 +109551,42 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); } - top_buf.value = static_cast(top_buf_); + top_buf.value = static_cast(top_buf_); } value.top = top_buf; + const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension right_buf = {}; + right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) + { + const Ark_Int8 right_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension right_buf_ = {}; + right_buf_.selector = right_buf__selector; + if (right_buf__selector == 0) { + right_buf_.selector = 0; + right_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (right_buf__selector == 1) { + right_buf_.selector = 1; + right_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (right_buf__selector == 2) { + right_buf_.selector = 2; + right_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for right_buf_ has to be chosen through deserialisation."); + } + right_buf.value = static_cast(right_buf_); + } + value.right = right_buf; const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource bottom_buf = {}; + Opt_Dimension bottom_buf = {}; bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { const Ark_Int8 bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource bottom_buf_ = {}; + Ark_Dimension bottom_buf_ = {}; bottom_buf_.selector = bottom_buf__selector; if (bottom_buf__selector == 0) { bottom_buf_.selector = 0; @@ -102258,16 +109603,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for bottom_buf_ has to be chosen through deserialisation."); } - bottom_buf.value = static_cast(bottom_buf_); + bottom_buf.value = static_cast(bottom_buf_); } value.bottom = bottom_buf; const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource left_buf = {}; + Opt_Dimension left_buf = {}; left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) { const Ark_Int8 left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource left_buf_ = {}; + Ark_Dimension left_buf_ = {}; left_buf_.selector = left_buf__selector; if (left_buf__selector == 0) { left_buf_.selector = 0; @@ -102284,1341 +109629,1214 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for left_buf_ has to be chosen through deserialisation."); } - left_buf.value = static_cast(left_buf_); + left_buf.value = static_cast(left_buf_); } value.left = left_buf; - const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource right_buf = {}; - right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) + return value; + } + Ark_Edges readEdges() + { + Ark_Edges value = {}; + Deserializer& valueDeserializer = *this; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { - const Ark_Int8 right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource right_buf_ = {}; - right_buf_.selector = right_buf__selector; - if (right_buf__selector == 0) { - right_buf_.selector = 0; - right_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension top_buf_ = {}; + top_buf_.selector = top_buf__selector; + if (top_buf__selector == 0) { + top_buf_.selector = 0; + top_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (right_buf__selector == 1) { - right_buf_.selector = 1; - right_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (top_buf__selector == 1) { + top_buf_.selector = 1; + top_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (right_buf__selector == 2) { - right_buf_.selector = 2; - right_buf_.value2 = valueDeserializer.readResource(); + else if (top_buf__selector == 2) { + top_buf_.selector = 2; + top_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for right_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); } - right_buf.value = static_cast(right_buf_); + top_buf.value = static_cast(top_buf_); } - value.right = right_buf; - return value; - } - Ark_PluginComponentOptions readPluginComponentOptions() - { - Ark_PluginComponentOptions value = {}; - Deserializer& valueDeserializer = *this; - value.template_ = valueDeserializer.readPluginComponentTemplate(); - value.data = static_cast(valueDeserializer.readString()); - return value; - } - Ark_Position readPosition() - { - Ark_Position value = {}; - Deserializer& valueDeserializer = *this; - const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource x_buf = {}; - x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + value.top = top_buf; + const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension left_buf = {}; + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) { - const Ark_Int8 x_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource x_buf_ = {}; - x_buf_.selector = x_buf__selector; - if (x_buf__selector == 0) { - x_buf_.selector = 0; - x_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 left_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension left_buf_ = {}; + left_buf_.selector = left_buf__selector; + if (left_buf__selector == 0) { + left_buf_.selector = 0; + left_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (x_buf__selector == 1) { - x_buf_.selector = 1; - x_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (left_buf__selector == 1) { + left_buf_.selector = 1; + left_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (x_buf__selector == 2) { - x_buf_.selector = 2; - x_buf_.value2 = valueDeserializer.readResource(); + else if (left_buf__selector == 2) { + left_buf_.selector = 2; + left_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for x_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for left_buf_ has to be chosen through deserialisation."); } - x_buf.value = static_cast(x_buf_); + left_buf.value = static_cast(left_buf_); } - value.x = x_buf; - const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource y_buf = {}; - y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + value.left = left_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { - const Ark_Int8 y_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource y_buf_ = {}; - y_buf_.selector = y_buf__selector; - if (y_buf__selector == 0) { - y_buf_.selector = 0; - y_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 bottom_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension bottom_buf_ = {}; + bottom_buf_.selector = bottom_buf__selector; + if (bottom_buf__selector == 0) { + bottom_buf_.selector = 0; + bottom_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (y_buf__selector == 1) { - y_buf_.selector = 1; - y_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (bottom_buf__selector == 1) { + bottom_buf_.selector = 1; + bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (y_buf__selector == 2) { - y_buf_.selector = 2; - y_buf_.value2 = valueDeserializer.readResource(); + else if (bottom_buf__selector == 2) { + bottom_buf_.selector = 2; + bottom_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for y_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for bottom_buf_ has to be chosen through deserialisation."); } - y_buf.value = static_cast(y_buf_); + bottom_buf.value = static_cast(bottom_buf_); } - value.y = y_buf; - return value; - } - Ark_ProgressStyleOptions readProgressStyleOptions() - { - Ark_ProgressStyleOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto enableSmoothEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enableSmoothEffect_buf = {}; - enableSmoothEffect_buf.tag = enableSmoothEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enableSmoothEffect_buf_runtimeType)) - { - enableSmoothEffect_buf.value = valueDeserializer.readBoolean(); - } - value.enableSmoothEffect = enableSmoothEffect_buf; - const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + value.bottom = bottom_buf; + const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension right_buf = {}; + right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) { - const Ark_Int8 strokeWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource strokeWidth_buf_ = {}; - strokeWidth_buf_.selector = strokeWidth_buf__selector; - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_.selector = 0; - strokeWidth_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 right_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension right_buf_ = {}; + right_buf_.selector = right_buf__selector; + if (right_buf__selector == 0) { + right_buf_.selector = 0; + right_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_.selector = 1; - strokeWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (right_buf__selector == 1) { + right_buf_.selector = 1; + right_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_.selector = 2; - strokeWidth_buf_.value2 = valueDeserializer.readResource(); + else if (right_buf__selector == 2) { + right_buf_.selector = 2; + right_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for right_buf_ has to be chosen through deserialisation."); } - strokeWidth_buf.value = static_cast(strokeWidth_buf_); - } - value.strokeWidth = strokeWidth_buf; - const auto scaleCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number scaleCount_buf = {}; - scaleCount_buf.tag = scaleCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scaleCount_buf_runtimeType)) - { - scaleCount_buf.value = static_cast(valueDeserializer.readNumber()); + right_buf.value = static_cast(right_buf_); } - value.scaleCount = scaleCount_buf; - const auto scaleWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource scaleWidth_buf = {}; - scaleWidth_buf.tag = scaleWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scaleWidth_buf_runtimeType)) + value.right = right_buf; + return value; + } + Ark_EdgeWidths readEdgeWidths() + { + Ark_EdgeWidths value = {}; + Deserializer& valueDeserializer = *this; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { - const Ark_Int8 scaleWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource scaleWidth_buf_ = {}; - scaleWidth_buf_.selector = scaleWidth_buf__selector; - if (scaleWidth_buf__selector == 0) { - scaleWidth_buf_.selector = 0; - scaleWidth_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (scaleWidth_buf__selector == 1) { - scaleWidth_buf_.selector = 1; - scaleWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); + Ark_Length top_buf_ = {}; + top_buf_.selector = top_buf__selector; + if (top_buf__selector == 0) { + top_buf_.selector = 0; + top_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (scaleWidth_buf__selector == 2) { - scaleWidth_buf_.selector = 2; - scaleWidth_buf_.value2 = valueDeserializer.readResource(); + else if (top_buf__selector == 1) { + top_buf_.selector = 1; + top_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (top_buf__selector == 2) { + top_buf_.selector = 2; + top_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for scaleWidth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); } - scaleWidth_buf.value = static_cast(scaleWidth_buf_); + top_buf.value = static_cast(top_buf_); } - value.scaleWidth = scaleWidth_buf; - return value; - } - Ark_RadioStyle readRadioStyle() - { - Ark_RadioStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto checkedBackgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor checkedBackgroundColor_buf = {}; - checkedBackgroundColor_buf.tag = checkedBackgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (checkedBackgroundColor_buf_runtimeType)) + value.top = top_buf; + const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length right_buf = {}; + right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) { - const Ark_Int8 checkedBackgroundColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor checkedBackgroundColor_buf_ = {}; - checkedBackgroundColor_buf_.selector = checkedBackgroundColor_buf__selector; - if (checkedBackgroundColor_buf__selector == 0) { - checkedBackgroundColor_buf_.selector = 0; - checkedBackgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (checkedBackgroundColor_buf__selector == 1) { - checkedBackgroundColor_buf_.selector = 1; - checkedBackgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 right_buf__selector = valueDeserializer.readInt8(); + Ark_Length right_buf_ = {}; + right_buf_.selector = right_buf__selector; + if (right_buf__selector == 0) { + right_buf_.selector = 0; + right_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (checkedBackgroundColor_buf__selector == 2) { - checkedBackgroundColor_buf_.selector = 2; - checkedBackgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (right_buf__selector == 1) { + right_buf_.selector = 1; + right_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (checkedBackgroundColor_buf__selector == 3) { - checkedBackgroundColor_buf_.selector = 3; - checkedBackgroundColor_buf_.value3 = valueDeserializer.readResource(); + else if (right_buf__selector == 2) { + right_buf_.selector = 2; + right_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for checkedBackgroundColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for right_buf_ has to be chosen through deserialisation."); } - checkedBackgroundColor_buf.value = static_cast(checkedBackgroundColor_buf_); + right_buf.value = static_cast(right_buf_); } - value.checkedBackgroundColor = checkedBackgroundColor_buf; - const auto uncheckedBorderColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor uncheckedBorderColor_buf = {}; - uncheckedBorderColor_buf.tag = uncheckedBorderColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (uncheckedBorderColor_buf_runtimeType)) + value.right = right_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { - const Ark_Int8 uncheckedBorderColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor uncheckedBorderColor_buf_ = {}; - uncheckedBorderColor_buf_.selector = uncheckedBorderColor_buf__selector; - if (uncheckedBorderColor_buf__selector == 0) { - uncheckedBorderColor_buf_.selector = 0; - uncheckedBorderColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (uncheckedBorderColor_buf__selector == 1) { - uncheckedBorderColor_buf_.selector = 1; - uncheckedBorderColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 bottom_buf__selector = valueDeserializer.readInt8(); + Ark_Length bottom_buf_ = {}; + bottom_buf_.selector = bottom_buf__selector; + if (bottom_buf__selector == 0) { + bottom_buf_.selector = 0; + bottom_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (uncheckedBorderColor_buf__selector == 2) { - uncheckedBorderColor_buf_.selector = 2; - uncheckedBorderColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (bottom_buf__selector == 1) { + bottom_buf_.selector = 1; + bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (uncheckedBorderColor_buf__selector == 3) { - uncheckedBorderColor_buf_.selector = 3; - uncheckedBorderColor_buf_.value3 = valueDeserializer.readResource(); + else if (bottom_buf__selector == 2) { + bottom_buf_.selector = 2; + bottom_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for uncheckedBorderColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for bottom_buf_ has to be chosen through deserialisation."); } - uncheckedBorderColor_buf.value = static_cast(uncheckedBorderColor_buf_); + bottom_buf.value = static_cast(bottom_buf_); } - value.uncheckedBorderColor = uncheckedBorderColor_buf; - const auto indicatorColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor indicatorColor_buf = {}; - indicatorColor_buf.tag = indicatorColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (indicatorColor_buf_runtimeType)) + value.bottom = bottom_buf; + const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length left_buf = {}; + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) { - const Ark_Int8 indicatorColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor indicatorColor_buf_ = {}; - indicatorColor_buf_.selector = indicatorColor_buf__selector; - if (indicatorColor_buf__selector == 0) { - indicatorColor_buf_.selector = 0; - indicatorColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (indicatorColor_buf__selector == 1) { - indicatorColor_buf_.selector = 1; - indicatorColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 left_buf__selector = valueDeserializer.readInt8(); + Ark_Length left_buf_ = {}; + left_buf_.selector = left_buf__selector; + if (left_buf__selector == 0) { + left_buf_.selector = 0; + left_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (indicatorColor_buf__selector == 2) { - indicatorColor_buf_.selector = 2; - indicatorColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (left_buf__selector == 1) { + left_buf_.selector = 1; + left_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (indicatorColor_buf__selector == 3) { - indicatorColor_buf_.selector = 3; - indicatorColor_buf_.value3 = valueDeserializer.readResource(); + else if (left_buf__selector == 2) { + left_buf_.selector = 2; + left_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for indicatorColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for left_buf_ has to be chosen through deserialisation."); } - indicatorColor_buf.value = static_cast(indicatorColor_buf_); + left_buf.value = static_cast(left_buf_); } - value.indicatorColor = indicatorColor_buf; + value.left = left_buf; return value; } - Ark_Rectangle readRectangle() + Ark_EditableTextChangeValue readEditableTextChangeValue() { - Ark_Rectangle value = {}; + Ark_EditableTextChangeValue value = {}; Deserializer& valueDeserializer = *this; - const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource x_buf = {}; - x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + value.content = static_cast(valueDeserializer.readString()); + const auto previewText_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PreviewText previewText_buf = {}; + previewText_buf.tag = previewText_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (previewText_buf_runtimeType)) { - const Ark_Int8 x_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource x_buf_ = {}; - x_buf_.selector = x_buf__selector; - if (x_buf__selector == 0) { - x_buf_.selector = 0; - x_buf_.value0 = static_cast(valueDeserializer.readString()); + previewText_buf.value = valueDeserializer.readPreviewText(); + } + value.previewText = previewText_buf; + const auto options_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextChangeOptions options_buf = {}; + options_buf.tag = options_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_buf_runtimeType)) + { + options_buf.value = valueDeserializer.readTextChangeOptions(); + } + value.options = options_buf; + return value; + } + Ark_FlexOptions readFlexOptions() + { + Ark_FlexOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FlexDirection direction_buf = {}; + direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.direction = direction_buf; + const auto wrap_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FlexWrap wrap_buf = {}; + wrap_buf.tag = wrap_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (wrap_buf_runtimeType)) + { + wrap_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.wrap = wrap_buf; + const auto justifyContent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FlexAlign justifyContent_buf = {}; + justifyContent_buf.tag = justifyContent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (justifyContent_buf_runtimeType)) + { + justifyContent_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.justifyContent = justifyContent_buf; + const auto alignItems_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ItemAlign alignItems_buf = {}; + alignItems_buf.tag = alignItems_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignItems_buf_runtimeType)) + { + alignItems_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.alignItems = alignItems_buf; + const auto alignContent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FlexAlign alignContent_buf = {}; + alignContent_buf.tag = alignContent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignContent_buf_runtimeType)) + { + alignContent_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.alignContent = alignContent_buf; + const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FlexSpaceOptions space_buf = {}; + space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + { + space_buf.value = valueDeserializer.readFlexSpaceOptions(); + } + value.space = space_buf; + return value; + } + Ark_Font readFont() + { + Ark_Font value = {}; + Deserializer& valueDeserializer = *this; + const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length size_buf = {}; + size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) + { + const Ark_Int8 size_buf__selector = valueDeserializer.readInt8(); + Ark_Length size_buf_ = {}; + size_buf_.selector = size_buf__selector; + if (size_buf__selector == 0) { + size_buf_.selector = 0; + size_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (x_buf__selector == 1) { - x_buf_.selector = 1; - x_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (size_buf__selector == 1) { + size_buf_.selector = 1; + size_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (x_buf__selector == 2) { - x_buf_.selector = 2; - x_buf_.value2 = valueDeserializer.readResource(); + else if (size_buf__selector == 2) { + size_buf_.selector = 2; + size_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for x_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for size_buf_ has to be chosen through deserialisation."); } - x_buf.value = static_cast(x_buf_); + size_buf.value = static_cast(size_buf_); } - value.x = x_buf; - const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource y_buf = {}; - y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + value.size = size_buf; + const auto weight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_FontWeight_Number_String weight_buf = {}; + weight_buf.tag = weight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weight_buf_runtimeType)) { - const Ark_Int8 y_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource y_buf_ = {}; - y_buf_.selector = y_buf__selector; - if (y_buf__selector == 0) { - y_buf_.selector = 0; - y_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 weight_buf__selector = valueDeserializer.readInt8(); + Ark_Union_FontWeight_Number_String weight_buf_ = {}; + weight_buf_.selector = weight_buf__selector; + if (weight_buf__selector == 0) { + weight_buf_.selector = 0; + weight_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (y_buf__selector == 1) { - y_buf_.selector = 1; - y_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (weight_buf__selector == 1) { + weight_buf_.selector = 1; + weight_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (y_buf__selector == 2) { - y_buf_.selector = 2; - y_buf_.value2 = valueDeserializer.readResource(); + else if (weight_buf__selector == 2) { + weight_buf_.selector = 2; + weight_buf_.value2 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for y_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for weight_buf_ has to be chosen through deserialisation."); } - y_buf.value = static_cast(y_buf_); + weight_buf.value = static_cast(weight_buf_); } - value.y = y_buf; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + value.weight = weight_buf; + const auto family_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Resource family_buf = {}; + family_buf.tag = family_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (family_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 family_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Resource family_buf_ = {}; + family_buf_.selector = family_buf__selector; + if (family_buf__selector == 0) { + family_buf_.selector = 0; + family_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (family_buf__selector == 1) { + family_buf_.selector = 1; + family_buf_.value1 = valueDeserializer.readResource(); } - else if (width_buf__selector == 2) { - width_buf_.selector = 2; - width_buf_.value2 = valueDeserializer.readResource(); + else { + INTEROP_FATAL("One of the branches for family_buf_ has to be chosen through deserialisation."); + } + family_buf.value = static_cast(family_buf_); + } + value.family = family_buf; + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FontStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + { + style_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.style = style_buf; + return value; + } + Ark_GaugeIndicatorOptions readGaugeIndicatorOptions() + { + Ark_GaugeIndicatorOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr icon_buf = {}; + icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + { + const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr icon_buf_ = {}; + icon_buf_.selector = icon_buf__selector; + if (icon_buf__selector == 0) { + icon_buf_.selector = 0; + icon_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (icon_buf__selector == 1) { + icon_buf_.selector = 1; + icon_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + icon_buf.value = static_cast(icon_buf_); } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + value.icon = icon_buf; + const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension space_buf = {}; + space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 space_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension space_buf_ = {}; + space_buf_.selector = space_buf__selector; + if (space_buf__selector == 0) { + space_buf_.selector = 0; + space_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (space_buf__selector == 1) { + space_buf_.selector = 1; + space_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (height_buf__selector == 2) { - height_buf_.selector = 2; - height_buf_.value2 = valueDeserializer.readResource(); + else if (space_buf__selector == 2) { + space_buf_.selector = 2; + space_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for space_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + space_buf.value = static_cast(space_buf_); } - value.height = height_buf; + value.space = space_buf; return value; } - Ark_RectOptions readRectOptions() + Ark_GridRowSizeOption readGridRowSizeOption() { - Ark_RectOptions value = {}; + Ark_GridRowSizeOption value = {}; Deserializer& valueDeserializer = *this; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + const auto xs_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length xs_buf = {}; + xs_buf.tag = xs_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xs_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 xs_buf__selector = valueDeserializer.readInt8(); + Ark_Length xs_buf_ = {}; + xs_buf_.selector = xs_buf__selector; + if (xs_buf__selector == 0) { + xs_buf_.selector = 0; + xs_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (xs_buf__selector == 1) { + xs_buf_.selector = 1; + xs_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (xs_buf__selector == 2) { + xs_buf_.selector = 2; + xs_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for xs_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + xs_buf.value = static_cast(xs_buf_); } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + value.xs = xs_buf; + const auto sm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length sm_buf = {}; + sm_buf.tag = sm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sm_buf_runtimeType)) { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 sm_buf__selector = valueDeserializer.readInt8(); + Ark_Length sm_buf_ = {}; + sm_buf_.selector = sm_buf__selector; + if (sm_buf__selector == 0) { + sm_buf_.selector = 0; + sm_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (sm_buf__selector == 1) { + sm_buf_.selector = 1; + sm_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (sm_buf__selector == 2) { + sm_buf_.selector = 2; + sm_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for sm_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + sm_buf.value = static_cast(sm_buf_); } - value.height = height_buf; - const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String_Array_Union_Number_String radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + value.sm = sm_buf; + const auto md_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length md_buf = {}; + md_buf.tag = md_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (md_buf_runtimeType)) { - const Ark_Int8 radius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String_Array_Union_Number_String radius_buf_ = {}; - radius_buf_.selector = radius_buf__selector; - if (radius_buf__selector == 0) { - radius_buf_.selector = 0; - radius_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 md_buf__selector = valueDeserializer.readInt8(); + Ark_Length md_buf_ = {}; + md_buf_.selector = md_buf__selector; + if (md_buf__selector == 0) { + md_buf_.selector = 0; + md_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (radius_buf__selector == 1) { - radius_buf_.selector = 1; - radius_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (md_buf__selector == 1) { + md_buf_.selector = 1; + md_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (radius_buf__selector == 2) { - radius_buf_.selector = 2; - const Ark_Int32 radius_buf__u_length = valueDeserializer.readInt32(); - Array_Union_Number_String radius_buf__u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&radius_buf__u, radius_buf__u_length); - for (int radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { - const Ark_Int8 radius_buf__u_buf_selector = valueDeserializer.readInt8(); - Ark_Union_Number_String radius_buf__u_buf = {}; - radius_buf__u_buf.selector = radius_buf__u_buf_selector; - if (radius_buf__u_buf_selector == 0) { - radius_buf__u_buf.selector = 0; - radius_buf__u_buf.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_buf_selector == 1) { - radius_buf__u_buf.selector = 1; - radius_buf__u_buf.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_buf has to be chosen through deserialisation."); - } - radius_buf__u.array[radius_buf__u_i] = static_cast(radius_buf__u_buf); - } - radius_buf_.value2 = radius_buf__u; + else if (md_buf__selector == 2) { + md_buf_.selector = 2; + md_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for md_buf_ has to be chosen through deserialisation."); } - radius_buf.value = static_cast(radius_buf_); + md_buf.value = static_cast(md_buf_); } - value.radius = radius_buf; - return value; - } - Ark_RectShapeOptions readRectShapeOptions() - { - Ark_RectShapeOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + value.md = md_buf; + const auto lg_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length lg_buf = {}; + lg_buf.tag = lg_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lg_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 lg_buf__selector = valueDeserializer.readInt8(); + Ark_Length lg_buf_ = {}; + lg_buf_.selector = lg_buf__selector; + if (lg_buf__selector == 0) { + lg_buf_.selector = 0; + lg_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (lg_buf__selector == 1) { + lg_buf_.selector = 1; + lg_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (lg_buf__selector == 2) { + lg_buf_.selector = 2; + lg_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for lg_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + lg_buf.value = static_cast(lg_buf_); } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + value.lg = lg_buf; + const auto xl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length xl_buf = {}; + xl_buf.tag = xl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xl_buf_runtimeType)) { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 xl_buf__selector = valueDeserializer.readInt8(); + Ark_Length xl_buf_ = {}; + xl_buf_.selector = xl_buf__selector; + if (xl_buf__selector == 0) { + xl_buf_.selector = 0; + xl_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (xl_buf__selector == 1) { + xl_buf_.selector = 1; + xl_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (xl_buf__selector == 2) { + xl_buf_.selector = 2; + xl_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for xl_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + xl_buf.value = static_cast(xl_buf_); } - value.height = height_buf; - const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String_Array_Union_Number_String radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + value.xl = xl_buf; + const auto xxl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length xxl_buf = {}; + xxl_buf.tag = xxl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xxl_buf_runtimeType)) { - const Ark_Int8 radius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String_Array_Union_Number_String radius_buf_ = {}; - radius_buf_.selector = radius_buf__selector; - if (radius_buf__selector == 0) { - radius_buf_.selector = 0; - radius_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 xxl_buf__selector = valueDeserializer.readInt8(); + Ark_Length xxl_buf_ = {}; + xxl_buf_.selector = xxl_buf__selector; + if (xxl_buf__selector == 0) { + xxl_buf_.selector = 0; + xxl_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (radius_buf__selector == 1) { - radius_buf_.selector = 1; - radius_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (xxl_buf__selector == 1) { + xxl_buf_.selector = 1; + xxl_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (radius_buf__selector == 2) { - radius_buf_.selector = 2; - const Ark_Int32 radius_buf__u_length = valueDeserializer.readInt32(); - Array_Union_Number_String radius_buf__u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&radius_buf__u, radius_buf__u_length); - for (int radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { - const Ark_Int8 radius_buf__u_buf_selector = valueDeserializer.readInt8(); - Ark_Union_Number_String radius_buf__u_buf = {}; - radius_buf__u_buf.selector = radius_buf__u_buf_selector; - if (radius_buf__u_buf_selector == 0) { - radius_buf__u_buf.selector = 0; - radius_buf__u_buf.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_buf_selector == 1) { - radius_buf__u_buf.selector = 1; - radius_buf__u_buf.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_buf has to be chosen through deserialisation."); - } - radius_buf__u.array[radius_buf__u_i] = static_cast(radius_buf__u_buf); - } - radius_buf_.value2 = radius_buf__u; + else if (xxl_buf__selector == 2) { + xxl_buf_.selector = 2; + xxl_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for xxl_buf_ has to be chosen through deserialisation."); } - radius_buf.value = static_cast(radius_buf_); + xxl_buf.value = static_cast(xxl_buf_); } - value.radius = radius_buf; + value.xxl = xxl_buf; return value; } - Ark_RefreshOptions readRefreshOptions() + Ark_GuideLinePosition readGuideLinePosition() { - Ark_RefreshOptions value = {}; + Ark_GuideLinePosition value = {}; Deserializer& valueDeserializer = *this; - value.refreshing = valueDeserializer.readBoolean(); - const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) { - const Ark_Int8 offset_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String offset_buf_ = {}; - offset_buf_.selector = offset_buf__selector; - if (offset_buf__selector == 0) { - offset_buf_.selector = 0; - offset_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__selector == 1) { - offset_buf_.selector = 1; - offset_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for offset_buf_ has to be chosen through deserialisation."); + const Ark_Int8 start_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension start_buf_ = {}; + start_buf_.selector = start_buf__selector; + if (start_buf__selector == 0) { + start_buf_.selector = 0; + start_buf_.value0 = static_cast(valueDeserializer.readString()); } - offset_buf.value = static_cast(offset_buf_); - } - value.offset = offset_buf; - const auto friction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String friction_buf = {}; - friction_buf.tag = friction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (friction_buf_runtimeType)) - { - const Ark_Int8 friction_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String friction_buf_ = {}; - friction_buf_.selector = friction_buf__selector; - if (friction_buf__selector == 0) { - friction_buf_.selector = 0; - friction_buf_.value0 = static_cast(valueDeserializer.readNumber()); + else if (start_buf__selector == 1) { + start_buf_.selector = 1; + start_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (friction_buf__selector == 1) { - friction_buf_.selector = 1; - friction_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (start_buf__selector == 2) { + start_buf_.selector = 2; + start_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for friction_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for start_buf_ has to be chosen through deserialisation."); } - friction_buf.value = static_cast(friction_buf_); + start_buf.value = static_cast(start_buf_); } - value.friction = friction_buf; - const auto promptText_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr promptText_buf = {}; - promptText_buf.tag = promptText_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (promptText_buf_runtimeType)) + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) { - const Ark_Int8 promptText_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr promptText_buf_ = {}; - promptText_buf_.selector = promptText_buf__selector; - if (promptText_buf__selector == 0) { - promptText_buf_.selector = 0; - promptText_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 end_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension end_buf_ = {}; + end_buf_.selector = end_buf__selector; + if (end_buf__selector == 0) { + end_buf_.selector = 0; + end_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (promptText_buf__selector == 1) { - promptText_buf_.selector = 1; - promptText_buf_.value1 = valueDeserializer.readResource(); + else if (end_buf__selector == 1) { + end_buf_.selector = 1; + end_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (end_buf__selector == 2) { + end_buf_.selector = 2; + end_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for promptText_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for end_buf_ has to be chosen through deserialisation."); } - promptText_buf.value = static_cast(promptText_buf_); - } - value.promptText = promptText_buf; - const auto builder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomNodeBuilder builder_buf = {}; - builder_buf.tag = builder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (builder_buf_runtimeType)) - { - builder_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; - } - value.builder = builder_buf; - const auto refreshingContent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ComponentContent refreshingContent_buf = {}; - refreshingContent_buf.tag = refreshingContent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (refreshingContent_buf_runtimeType)) - { - refreshingContent_buf.value = static_cast(valueDeserializer.readComponentContent()); + end_buf.value = static_cast(end_buf_); } - value.refreshingContent = refreshingContent_buf; + value.end = end_buf; return value; } - Ark_RenderNode readRenderNode() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_RestrictedWorker readRestrictedWorker() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_RichEditorChangeValue readRichEditorChangeValue() + Ark_GuideLineStyle readGuideLineStyle() { - Ark_RichEditorChangeValue value = {}; + Ark_GuideLineStyle value = {}; Deserializer& valueDeserializer = *this; - value.rangeBefore = valueDeserializer.readTextRange(); - const Ark_Int32 replacedSpans_buf_length = valueDeserializer.readInt32(); - Array_RichEditorTextSpanResult replacedSpans_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&replacedSpans_buf, replacedSpans_buf_length); - for (int replacedSpans_buf_i = 0; replacedSpans_buf_i < replacedSpans_buf_length; replacedSpans_buf_i++) { - replacedSpans_buf.array[replacedSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult(); - } - value.replacedSpans = replacedSpans_buf; - const Ark_Int32 replacedImageSpans_buf_length = valueDeserializer.readInt32(); - Array_RichEditorImageSpanResult replacedImageSpans_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&replacedImageSpans_buf, replacedImageSpans_buf_length); - for (int replacedImageSpans_buf_i = 0; replacedImageSpans_buf_i < replacedImageSpans_buf_length; replacedImageSpans_buf_i++) { - replacedImageSpans_buf.array[replacedImageSpans_buf_i] = valueDeserializer.readRichEditorImageSpanResult(); - } - value.replacedImageSpans = replacedImageSpans_buf; - const Ark_Int32 replacedSymbolSpans_buf_length = valueDeserializer.readInt32(); - Array_RichEditorTextSpanResult replacedSymbolSpans_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&replacedSymbolSpans_buf, replacedSymbolSpans_buf_length); - for (int replacedSymbolSpans_buf_i = 0; replacedSymbolSpans_buf_i < replacedSymbolSpans_buf_length; replacedSymbolSpans_buf_i++) { - replacedSymbolSpans_buf.array[replacedSymbolSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult(); - } - value.replacedSymbolSpans = replacedSymbolSpans_buf; + value.id = static_cast(valueDeserializer.readString()); + value.direction = static_cast(valueDeserializer.readInt32()); + value.position = valueDeserializer.readGuideLinePosition(); return value; } - Ark_RichEditorSymbolSpanStyle readRichEditorSymbolSpanStyle() + Ark_IconOptions readIconOptions() { - Ark_RichEditorSymbolSpanStyle value = {}; + Ark_IconOptions value = {}; Deserializer& valueDeserializer = *this; - const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String_Resource fontSize_buf = {}; - fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) + const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length size_buf = {}; + size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) { - const Ark_Int8 fontSize_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String_Resource fontSize_buf_ = {}; - fontSize_buf_.selector = fontSize_buf__selector; - if (fontSize_buf__selector == 0) { - fontSize_buf_.selector = 0; - fontSize_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 size_buf__selector = valueDeserializer.readInt8(); + Ark_Length size_buf_ = {}; + size_buf_.selector = size_buf__selector; + if (size_buf__selector == 0) { + size_buf_.selector = 0; + size_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (fontSize_buf__selector == 1) { - fontSize_buf_.selector = 1; - fontSize_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (size_buf__selector == 1) { + size_buf_.selector = 1; + size_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontSize_buf__selector == 2) { - fontSize_buf_.selector = 2; - fontSize_buf_.value2 = valueDeserializer.readResource(); + else if (size_buf__selector == 2) { + size_buf_.selector = 2; + size_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontSize_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for size_buf_ has to be chosen through deserialisation."); } - fontSize_buf.value = static_cast(fontSize_buf_); + size_buf.value = static_cast(size_buf_); } - value.fontSize = fontSize_buf; - const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_ResourceColor fontColor_buf = {}; - fontColor_buf.tag = fontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + value.size = size_buf; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) { - const Ark_Int32 fontColor_buf__length = valueDeserializer.readInt32(); - Array_ResourceColor fontColor_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&fontColor_buf_, fontColor_buf__length); - for (int fontColor_buf__i = 0; fontColor_buf__i < fontColor_buf__length; fontColor_buf__i++) { - const Ark_Int8 fontColor_buf__buf_selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontColor_buf__buf = {}; - fontColor_buf__buf.selector = fontColor_buf__buf_selector; - if (fontColor_buf__buf_selector == 0) { - fontColor_buf__buf.selector = 0; - fontColor_buf__buf.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (fontColor_buf__buf_selector == 1) { - fontColor_buf__buf.selector = 1; - fontColor_buf__buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (fontColor_buf__buf_selector == 2) { - fontColor_buf__buf.selector = 2; - fontColor_buf__buf.value2 = static_cast(valueDeserializer.readString()); - } - else if (fontColor_buf__buf_selector == 3) { - fontColor_buf__buf.selector = 3; - fontColor_buf__buf.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for fontColor_buf__buf has to be chosen through deserialisation."); - } - fontColor_buf_.array[fontColor_buf__i] = static_cast(fontColor_buf__buf); + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - fontColor_buf.value = fontColor_buf_; - } - value.fontColor = fontColor_buf; - const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_FontWeight_String fontWeight_buf = {}; - fontWeight_buf.tag = fontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) - { - const Ark_Int8 fontWeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String fontWeight_buf_ = {}; - fontWeight_buf_.selector = fontWeight_buf__selector; - if (fontWeight_buf__selector == 0) { - fontWeight_buf_.selector = 0; - fontWeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_.selector = 1; - fontWeight_buf_.value1 = static_cast(valueDeserializer.readInt32()); + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_.selector = 2; - fontWeight_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontWeight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); } - fontWeight_buf.value = static_cast(fontWeight_buf_); - } - value.fontWeight = fontWeight_buf; - const auto effectStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SymbolEffectStrategy effectStrategy_buf = {}; - effectStrategy_buf.tag = effectStrategy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (effectStrategy_buf_runtimeType)) - { - effectStrategy_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.effectStrategy = effectStrategy_buf; - const auto renderingStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SymbolRenderingStrategy renderingStrategy_buf = {}; - renderingStrategy_buf.tag = renderingStrategy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (renderingStrategy_buf_runtimeType)) - { - renderingStrategy_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.renderingStrategy = renderingStrategy_buf; - return value; - } - Ark_RichEditorTextStyleResult readRichEditorTextStyleResult() - { - Ark_RichEditorTextStyleResult value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int8 fontColor_buf_selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontColor_buf = {}; - fontColor_buf.selector = fontColor_buf_selector; - if (fontColor_buf_selector == 0) { - fontColor_buf.selector = 0; - fontColor_buf.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (fontColor_buf_selector == 1) { - fontColor_buf.selector = 1; - fontColor_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (fontColor_buf_selector == 2) { - fontColor_buf.selector = 2; - fontColor_buf.value2 = static_cast(valueDeserializer.readString()); - } - else if (fontColor_buf_selector == 3) { - fontColor_buf.selector = 3; - fontColor_buf.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for fontColor_buf has to be chosen through deserialisation."); + color_buf.value = static_cast(color_buf_); } - value.fontColor = static_cast(fontColor_buf); - value.fontSize = static_cast(valueDeserializer.readNumber()); - value.fontStyle = static_cast(valueDeserializer.readInt32()); - value.fontWeight = static_cast(valueDeserializer.readNumber()); - value.fontFamily = static_cast(valueDeserializer.readString()); - value.decoration = valueDeserializer.readDecorationStyleResult(); - const auto textShadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_ShadowOptions textShadow_buf = {}; - textShadow_buf.tag = textShadow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (textShadow_buf_runtimeType)) + value.color = color_buf; + const auto src_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr src_buf = {}; + src_buf.tag = src_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (src_buf_runtimeType)) { - const Ark_Int32 textShadow_buf__length = valueDeserializer.readInt32(); - Array_ShadowOptions textShadow_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&textShadow_buf_, textShadow_buf__length); - for (int textShadow_buf__i = 0; textShadow_buf__i < textShadow_buf__length; textShadow_buf__i++) { - textShadow_buf_.array[textShadow_buf__i] = valueDeserializer.readShadowOptions(); + const Ark_Int8 src_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr src_buf_ = {}; + src_buf_.selector = src_buf__selector; + if (src_buf__selector == 0) { + src_buf_.selector = 0; + src_buf_.value0 = static_cast(valueDeserializer.readString()); } - textShadow_buf.value = textShadow_buf_; - } - value.textShadow = textShadow_buf; - const auto letterSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number letterSpacing_buf = {}; - letterSpacing_buf.tag = letterSpacing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (letterSpacing_buf_runtimeType)) - { - letterSpacing_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.letterSpacing = letterSpacing_buf; - const auto lineHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number lineHeight_buf = {}; - lineHeight_buf.tag = lineHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lineHeight_buf_runtimeType)) - { - lineHeight_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.lineHeight = lineHeight_buf; - const auto fontFeature_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String fontFeature_buf = {}; - fontFeature_buf.tag = fontFeature_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontFeature_buf_runtimeType)) - { - fontFeature_buf.value = static_cast(valueDeserializer.readString()); - } - value.fontFeature = fontFeature_buf; - return value; - } - Ark_RichEditorUpdateSymbolSpanStyleOptions readRichEditorUpdateSymbolSpanStyleOptions() - { - Ark_RichEditorUpdateSymbolSpanStyleOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) - { - start_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.start = start_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) - { - end_buf.value = static_cast(valueDeserializer.readNumber()); + else if (src_buf__selector == 1) { + src_buf_.selector = 1; + src_buf_.value1 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for src_buf_ has to be chosen through deserialisation."); + } + src_buf.value = static_cast(src_buf_); } - value.end = end_buf; - value.symbolStyle = valueDeserializer.readRichEditorSymbolSpanStyle(); + value.src = src_buf; return value; } - Ark_RingStyleOptions readRingStyleOptions() + Ark_IndicatorStyle readIndicatorStyle() { - Ark_RingStyleOptions value = {}; + Ark_IndicatorStyle value = {}; Deserializer& valueDeserializer = *this; - const auto enableScanEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enableScanEffect_buf = {}; - enableScanEffect_buf.tag = enableScanEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enableScanEffect_buf_runtimeType)) - { - enableScanEffect_buf.value = valueDeserializer.readBoolean(); - } - value.enableScanEffect = enableScanEffect_buf; - const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { - const Ark_Int8 strokeWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource strokeWidth_buf_ = {}; - strokeWidth_buf_.selector = strokeWidth_buf__selector; - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_.selector = 0; - strokeWidth_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Length height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_.selector = 1; - strokeWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_.selector = 2; - strokeWidth_buf_.value2 = valueDeserializer.readResource(); + else if (height_buf__selector == 2) { + height_buf_.selector = 2; + height_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); } - strokeWidth_buf.value = static_cast(strokeWidth_buf_); + height_buf.value = static_cast(height_buf_); } - value.strokeWidth = strokeWidth_buf; - const auto shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean shadow_buf = {}; - shadow_buf.tag = shadow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + value.height = height_buf; + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { - shadow_buf.value = valueDeserializer.readBoolean(); + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Length width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (width_buf__selector == 2) { + width_buf_.selector = 2; + width_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + } + width_buf.value = static_cast(width_buf_); } - value.shadow = shadow_buf; - const auto status_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ProgressStatus status_buf = {}; - status_buf.tag = status_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (status_buf_runtimeType)) + value.width = width_buf; + const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length borderRadius_buf = {}; + borderRadius_buf.tag = borderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) { - status_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 borderRadius_buf__selector = valueDeserializer.readInt8(); + Ark_Length borderRadius_buf_ = {}; + borderRadius_buf_.selector = borderRadius_buf__selector; + if (borderRadius_buf__selector == 0) { + borderRadius_buf_.selector = 0; + borderRadius_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (borderRadius_buf__selector == 1) { + borderRadius_buf_.selector = 1; + borderRadius_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (borderRadius_buf__selector == 2) { + borderRadius_buf_.selector = 2; + borderRadius_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for borderRadius_buf_ has to be chosen through deserialisation."); + } + borderRadius_buf.value = static_cast(borderRadius_buf_); } - value.status = status_buf; - return value; - } - Ark_SceneOptions readSceneOptions() - { - Ark_SceneOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto scene_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_ResourceStr_Scene scene_buf = {}; - scene_buf.tag = scene_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scene_buf_runtimeType)) + value.borderRadius = borderRadius_buf; + const auto marginTop_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length marginTop_buf = {}; + marginTop_buf.tag = marginTop_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (marginTop_buf_runtimeType)) { - const Ark_Int8 scene_buf__selector = valueDeserializer.readInt8(); - Ark_Union_ResourceStr_Scene scene_buf_ = {}; - scene_buf_.selector = scene_buf__selector; - if (scene_buf__selector == 0) { - scene_buf_.selector = 0; - const Ark_Int8 scene_buf__u_selector = valueDeserializer.readInt8(); - Ark_ResourceStr scene_buf__u = {}; - scene_buf__u.selector = scene_buf__u_selector; - if (scene_buf__u_selector == 0) { - scene_buf__u.selector = 0; - scene_buf__u.value0 = static_cast(valueDeserializer.readString()); - } - else if (scene_buf__u_selector == 1) { - scene_buf__u.selector = 1; - scene_buf__u.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for scene_buf__u has to be chosen through deserialisation."); - } - scene_buf_.value0 = static_cast(scene_buf__u); + const Ark_Int8 marginTop_buf__selector = valueDeserializer.readInt8(); + Ark_Length marginTop_buf_ = {}; + marginTop_buf_.selector = marginTop_buf__selector; + if (marginTop_buf__selector == 0) { + marginTop_buf_.selector = 0; + marginTop_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (scene_buf__selector == 1) { - scene_buf_.selector = 1; - scene_buf_.value1 = static_cast(valueDeserializer.readScene()); + else if (marginTop_buf__selector == 1) { + marginTop_buf_.selector = 1; + marginTop_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (marginTop_buf__selector == 2) { + marginTop_buf_.selector = 2; + marginTop_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for scene_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for marginTop_buf_ has to be chosen through deserialisation."); } - scene_buf.value = static_cast(scene_buf_); + marginTop_buf.value = static_cast(marginTop_buf_); } - value.scene = scene_buf; - const auto modelType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ModelType modelType_buf = {}; - modelType_buf.tag = modelType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (modelType_buf_runtimeType)) + value.marginTop = marginTop_buf; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) { - modelType_buf.value = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + } + color_buf.value = static_cast(color_buf_); } - value.modelType = modelType_buf; - return value; - } - Ark_ScrollableBarModeOptions readScrollableBarModeOptions() - { - Ark_ScrollableBarModeOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf = {}; - margin_buf.tag = margin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + value.color = color_buf; + const auto selectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor selectedColor_buf = {}; + selectedColor_buf.tag = selectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (selectedColor_buf_runtimeType)) { - const Ark_Int8 margin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf_ = {}; - margin_buf_.selector = margin_buf__selector; - if (margin_buf__selector == 0) { - margin_buf_.selector = 0; - margin_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 selectedColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor selectedColor_buf_ = {}; + selectedColor_buf_.selector = selectedColor_buf__selector; + if (selectedColor_buf__selector == 0) { + selectedColor_buf_.selector = 0; + selectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (margin_buf__selector == 1) { - margin_buf_.selector = 1; - margin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (selectedColor_buf__selector == 1) { + selectedColor_buf_.selector = 1; + selectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (margin_buf__selector == 2) { - margin_buf_.selector = 2; - margin_buf_.value2 = valueDeserializer.readResource(); + else if (selectedColor_buf__selector == 2) { + selectedColor_buf_.selector = 2; + selectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (selectedColor_buf__selector == 3) { + selectedColor_buf_.selector = 3; + selectedColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for margin_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for selectedColor_buf_ has to be chosen through deserialisation."); } - margin_buf.value = static_cast(margin_buf_); + selectedColor_buf.value = static_cast(selectedColor_buf_); } - value.margin = margin_buf; - const auto nonScrollableLayoutStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LayoutStyle nonScrollableLayoutStyle_buf = {}; - nonScrollableLayoutStyle_buf.tag = nonScrollableLayoutStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (nonScrollableLayoutStyle_buf_runtimeType)) + value.selectedColor = selectedColor_buf; + const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length left_buf = {}; + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) { - nonScrollableLayoutStyle_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.nonScrollableLayoutStyle = nonScrollableLayoutStyle_buf; - return value; - } - Ark_ScrollOptions readScrollOptions() - { - Ark_ScrollOptions value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int8 xOffset_buf_selector = valueDeserializer.readInt8(); - Ark_Union_Number_String xOffset_buf = {}; - xOffset_buf.selector = xOffset_buf_selector; - if (xOffset_buf_selector == 0) { - xOffset_buf.selector = 0; - xOffset_buf.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (xOffset_buf_selector == 1) { - xOffset_buf.selector = 1; - xOffset_buf.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for xOffset_buf has to be chosen through deserialisation."); - } - value.xOffset = static_cast(xOffset_buf); - const Ark_Int8 yOffset_buf_selector = valueDeserializer.readInt8(); - Ark_Union_Number_String yOffset_buf = {}; - yOffset_buf.selector = yOffset_buf_selector; - if (yOffset_buf_selector == 0) { - yOffset_buf.selector = 0; - yOffset_buf.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (yOffset_buf_selector == 1) { - yOffset_buf.selector = 1; - yOffset_buf.value1 = static_cast(valueDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for yOffset_buf has to be chosen through deserialisation."); + const Ark_Int8 left_buf__selector = valueDeserializer.readInt8(); + Ark_Length left_buf_ = {}; + left_buf_.selector = left_buf__selector; + if (left_buf__selector == 0) { + left_buf_.selector = 0; + left_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (left_buf__selector == 1) { + left_buf_.selector = 1; + left_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (left_buf__selector == 2) { + left_buf_.selector = 2; + left_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for left_buf_ has to be chosen through deserialisation."); + } + left_buf.value = static_cast(left_buf_); } - value.yOffset = static_cast(yOffset_buf); - const auto animation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_ScrollAnimationOptions_Boolean animation_buf = {}; - animation_buf.tag = animation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animation_buf_runtimeType)) + value.left = left_buf; + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { - const Ark_Int8 animation_buf__selector = valueDeserializer.readInt8(); - Ark_Union_ScrollAnimationOptions_Boolean animation_buf_ = {}; - animation_buf_.selector = animation_buf__selector; - if (animation_buf__selector == 0) { - animation_buf_.selector = 0; - animation_buf_.value0 = valueDeserializer.readScrollAnimationOptions(); + const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); + Ark_Length top_buf_ = {}; + top_buf_.selector = top_buf__selector; + if (top_buf__selector == 0) { + top_buf_.selector = 0; + top_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (animation_buf__selector == 1) { - animation_buf_.selector = 1; - animation_buf_.value1 = valueDeserializer.readBoolean(); + else if (top_buf__selector == 1) { + top_buf_.selector = 1; + top_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (top_buf__selector == 2) { + top_buf_.selector = 2; + top_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for animation_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); } - animation_buf.value = static_cast(animation_buf_); + top_buf.value = static_cast(top_buf_); } - value.animation = animation_buf; - return value; - } - Ark_ScrollToIndexOptions readScrollToIndexOptions() - { - Ark_ScrollToIndexOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto extraOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics extraOffset_buf = {}; - extraOffset_buf.tag = extraOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (extraOffset_buf_runtimeType)) + value.top = top_buf; + const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length right_buf = {}; + right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) { - extraOffset_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + const Ark_Int8 right_buf__selector = valueDeserializer.readInt8(); + Ark_Length right_buf_ = {}; + right_buf_.selector = right_buf__selector; + if (right_buf__selector == 0) { + right_buf_.selector = 0; + right_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (right_buf__selector == 1) { + right_buf_.selector = 1; + right_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (right_buf__selector == 2) { + right_buf_.selector = 2; + right_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for right_buf_ has to be chosen through deserialisation."); + } + right_buf.value = static_cast(right_buf_); } - value.extraOffset = extraOffset_buf; - return value; - } - Ark_SearchButtonOptions readSearchButtonOptions() - { - Ark_SearchButtonOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource fontSize_buf = {}; - fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) + value.right = right_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { - const Ark_Int8 fontSize_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource fontSize_buf_ = {}; - fontSize_buf_.selector = fontSize_buf__selector; - if (fontSize_buf__selector == 0) { - fontSize_buf_.selector = 0; - fontSize_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 bottom_buf__selector = valueDeserializer.readInt8(); + Ark_Length bottom_buf_ = {}; + bottom_buf_.selector = bottom_buf__selector; + if (bottom_buf__selector == 0) { + bottom_buf_.selector = 0; + bottom_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (fontSize_buf__selector == 1) { - fontSize_buf_.selector = 1; - fontSize_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (bottom_buf__selector == 1) { + bottom_buf_.selector = 1; + bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontSize_buf__selector == 2) { - fontSize_buf_.selector = 2; - fontSize_buf_.value2 = valueDeserializer.readResource(); + else if (bottom_buf__selector == 2) { + bottom_buf_.selector = 2; + bottom_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontSize_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for bottom_buf_ has to be chosen through deserialisation."); } - fontSize_buf.value = static_cast(fontSize_buf_); + bottom_buf.value = static_cast(bottom_buf_); } - value.fontSize = fontSize_buf; - const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontColor_buf = {}; - fontColor_buf.tag = fontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + value.bottom = bottom_buf; + const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length size_buf = {}; + size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) { - const Ark_Int8 fontColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontColor_buf_ = {}; - fontColor_buf_.selector = fontColor_buf__selector; - if (fontColor_buf__selector == 0) { - fontColor_buf_.selector = 0; - fontColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (fontColor_buf__selector == 1) { - fontColor_buf_.selector = 1; - fontColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 size_buf__selector = valueDeserializer.readInt8(); + Ark_Length size_buf_ = {}; + size_buf_.selector = size_buf__selector; + if (size_buf__selector == 0) { + size_buf_.selector = 0; + size_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (fontColor_buf__selector == 2) { - fontColor_buf_.selector = 2; - fontColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (size_buf__selector == 1) { + size_buf_.selector = 1; + size_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontColor_buf__selector == 3) { - fontColor_buf_.selector = 3; - fontColor_buf_.value3 = valueDeserializer.readResource(); + else if (size_buf__selector == 2) { + size_buf_.selector = 2; + size_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for size_buf_ has to be chosen through deserialisation."); } - fontColor_buf.value = static_cast(fontColor_buf_); + size_buf.value = static_cast(size_buf_); } - value.fontColor = fontColor_buf; - const auto autoDisable_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean autoDisable_buf = {}; - autoDisable_buf.tag = autoDisable_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (autoDisable_buf_runtimeType)) + value.size = size_buf; + const auto mask_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean mask_buf = {}; + mask_buf.tag = mask_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mask_buf_runtimeType)) { - autoDisable_buf.value = valueDeserializer.readBoolean(); + mask_buf.value = valueDeserializer.readBoolean(); } - value.autoDisable = autoDisable_buf; + value.mask = mask_buf; return value; } - Ark_SearchOptions readSearchOptions() + Ark_LeadingMarginPlaceholder readLeadingMarginPlaceholder() { - Ark_SearchOptions value = {}; + Ark_LeadingMarginPlaceholder value = {}; Deserializer& valueDeserializer = *this; - const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String value_buf = {}; - value_buf.tag = value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) - { - value_buf.value = static_cast(valueDeserializer.readString()); + value.pixelMap = static_cast(valueDeserializer.readPixelMap()); + Ark_Tuple_Dimension_Dimension size_buf = {}; + const Ark_Int8 size_buf_value0_buf_selector = valueDeserializer.readInt8(); + Ark_Dimension size_buf_value0_buf = {}; + size_buf_value0_buf.selector = size_buf_value0_buf_selector; + if (size_buf_value0_buf_selector == 0) { + size_buf_value0_buf.selector = 0; + size_buf_value0_buf.value0 = static_cast(valueDeserializer.readString()); } - value.value = value_buf; - const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr placeholder_buf = {}; - placeholder_buf.tag = placeholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) - { - const Ark_Int8 placeholder_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr placeholder_buf_ = {}; - placeholder_buf_.selector = placeholder_buf__selector; - if (placeholder_buf__selector == 0) { - placeholder_buf_.selector = 0; - placeholder_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (placeholder_buf__selector == 1) { - placeholder_buf_.selector = 1; - placeholder_buf_.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for placeholder_buf_ has to be chosen through deserialisation."); - } - placeholder_buf.value = static_cast(placeholder_buf_); + else if (size_buf_value0_buf_selector == 1) { + size_buf_value0_buf.selector = 1; + size_buf_value0_buf.value1 = static_cast(valueDeserializer.readNumber()); } - value.placeholder = placeholder_buf; - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) - { - icon_buf.value = static_cast(valueDeserializer.readString()); + else if (size_buf_value0_buf_selector == 2) { + size_buf_value0_buf.selector = 2; + size_buf_value0_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for size_buf_value0_buf has to be chosen through deserialisation."); + } + size_buf.value0 = static_cast(size_buf_value0_buf); + const Ark_Int8 size_buf_value1_buf_selector = valueDeserializer.readInt8(); + Ark_Dimension size_buf_value1_buf = {}; + size_buf_value1_buf.selector = size_buf_value1_buf_selector; + if (size_buf_value1_buf_selector == 0) { + size_buf_value1_buf.selector = 0; + size_buf_value1_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (size_buf_value1_buf_selector == 1) { + size_buf_value1_buf.selector = 1; + size_buf_value1_buf.value1 = static_cast(valueDeserializer.readNumber()); } - value.icon = icon_buf; - const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SearchController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) - { - controller_buf.value = static_cast(valueDeserializer.readSearchController()); + else if (size_buf_value1_buf_selector == 2) { + size_buf_value1_buf.selector = 2; + size_buf_value1_buf.value2 = valueDeserializer.readResource(); } - value.controller = controller_buf; + else { + INTEROP_FATAL("One of the branches for size_buf_value1_buf has to be chosen through deserialisation."); + } + size_buf.value1 = static_cast(size_buf_value1_buf); + value.size = size_buf; return value; } - Ark_SelectOption readSelectOption() + Ark_LinearStyleOptions readLinearStyleOptions() { - Ark_SelectOption value = {}; + Ark_LinearStyleOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); - Ark_ResourceStr value_buf = {}; - value_buf.selector = value_buf_selector; - if (value_buf_selector == 0) { - value_buf.selector = 0; - value_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (value_buf_selector == 1) { - value_buf.selector = 1; - value_buf.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + const auto enableScanEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableScanEffect_buf = {}; + enableScanEffect_buf.tag = enableScanEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableScanEffect_buf_runtimeType)) + { + enableScanEffect_buf.value = valueDeserializer.readBoolean(); } - value.value = static_cast(value_buf); - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + value.enableScanEffect = enableScanEffect_buf; + const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length strokeWidth_buf = {}; + strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) { - const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr icon_buf_ = {}; - icon_buf_.selector = icon_buf__selector; - if (icon_buf__selector == 0) { - icon_buf_.selector = 0; - icon_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 strokeWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Length strokeWidth_buf_ = {}; + strokeWidth_buf_.selector = strokeWidth_buf__selector; + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_.selector = 0; + strokeWidth_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (icon_buf__selector == 1) { - icon_buf_.selector = 1; - icon_buf_.value1 = valueDeserializer.readResource(); + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_.selector = 1; + strokeWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_.selector = 2; + strokeWidth_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation."); } - icon_buf.value = static_cast(icon_buf_); + strokeWidth_buf.value = static_cast(strokeWidth_buf_); } - value.icon = icon_buf; - const auto symbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SymbolGlyphModifier symbolIcon_buf = {}; - symbolIcon_buf.tag = symbolIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (symbolIcon_buf_runtimeType)) + value.strokeWidth = strokeWidth_buf; + const auto strokeRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number_Resource strokeRadius_buf = {}; + strokeRadius_buf.tag = strokeRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeRadius_buf_runtimeType)) { - symbolIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); + const Ark_Int8 strokeRadius_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number_Resource strokeRadius_buf_ = {}; + strokeRadius_buf_.selector = strokeRadius_buf__selector; + if (strokeRadius_buf__selector == 0) { + strokeRadius_buf_.selector = 0; + strokeRadius_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (strokeRadius_buf__selector == 1) { + strokeRadius_buf_.selector = 1; + strokeRadius_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (strokeRadius_buf__selector == 2) { + strokeRadius_buf_.selector = 2; + strokeRadius_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for strokeRadius_buf_ has to be chosen through deserialisation."); + } + strokeRadius_buf.value = static_cast(strokeRadius_buf_); } - value.symbolIcon = symbolIcon_buf; + value.strokeRadius = strokeRadius_buf; return value; } - Ark_ShadowOptions readShadowOptions() + Ark_ListDividerOptions readListDividerOptions() { - Ark_ShadowOptions value = {}; + Ark_ListDividerOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 radius_buf_selector = valueDeserializer.readInt8(); - Ark_Union_Number_Resource radius_buf = {}; - radius_buf.selector = radius_buf_selector; - if (radius_buf_selector == 0) { - radius_buf.selector = 0; - radius_buf.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 strokeWidth_buf_selector = valueDeserializer.readInt8(); + Ark_Length strokeWidth_buf = {}; + strokeWidth_buf.selector = strokeWidth_buf_selector; + if (strokeWidth_buf_selector == 0) { + strokeWidth_buf.selector = 0; + strokeWidth_buf.value0 = static_cast(valueDeserializer.readString()); } - else if (radius_buf_selector == 1) { - radius_buf.selector = 1; - radius_buf.value1 = valueDeserializer.readResource(); + else if (strokeWidth_buf_selector == 1) { + strokeWidth_buf.selector = 1; + strokeWidth_buf.value1 = static_cast(valueDeserializer.readNumber()); } - else { - INTEROP_FATAL("One of the branches for radius_buf has to be chosen through deserialisation."); + else if (strokeWidth_buf_selector == 2) { + strokeWidth_buf.selector = 2; + strokeWidth_buf.value2 = valueDeserializer.readResource(); } - value.radius = static_cast(radius_buf); - const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ShadowType type_buf = {}; - type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) - { - type_buf.value = static_cast(valueDeserializer.readInt32()); + else { + INTEROP_FATAL("One of the branches for strokeWidth_buf has to be chosen through deserialisation."); } - value.type = type_buf; + value.strokeWidth = static_cast(strokeWidth_buf); const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Color_String_Resource_ColoringStrategy color_buf = {}; + Opt_ResourceColor color_buf = {}; color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) { const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Color_String_Resource_ColoringStrategy color_buf_ = {}; + Ark_ResourceColor color_buf_ = {}; color_buf_.selector = color_buf__selector; if (color_buf__selector == 0) { color_buf_.selector = 0; @@ -103626,1159 +110844,1390 @@ class Deserializer : public DeserializerBase { } else if (color_buf__selector == 1) { color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readString()); + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); } else if (color_buf__selector == 2) { color_buf_.selector = 2; - color_buf_.value2 = valueDeserializer.readResource(); + color_buf_.value2 = static_cast(valueDeserializer.readString()); } else if (color_buf__selector == 3) { color_buf_.selector = 3; - color_buf_.value3 = static_cast(valueDeserializer.readInt32()); + color_buf_.value3 = valueDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); } - color_buf.value = static_cast(color_buf_); + color_buf.value = static_cast(color_buf_); } value.color = color_buf; - const auto offsetX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_Resource offsetX_buf = {}; - offsetX_buf.tag = offsetX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offsetX_buf_runtimeType)) + const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length startMargin_buf = {}; + startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) { - const Ark_Int8 offsetX_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_Resource offsetX_buf_ = {}; - offsetX_buf_.selector = offsetX_buf__selector; - if (offsetX_buf__selector == 0) { - offsetX_buf_.selector = 0; - offsetX_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 startMargin_buf__selector = valueDeserializer.readInt8(); + Ark_Length startMargin_buf_ = {}; + startMargin_buf_.selector = startMargin_buf__selector; + if (startMargin_buf__selector == 0) { + startMargin_buf_.selector = 0; + startMargin_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (offsetX_buf__selector == 1) { - offsetX_buf_.selector = 1; - offsetX_buf_.value1 = valueDeserializer.readResource(); + else if (startMargin_buf__selector == 1) { + startMargin_buf_.selector = 1; + startMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (startMargin_buf__selector == 2) { + startMargin_buf_.selector = 2; + startMargin_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for offsetX_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for startMargin_buf_ has to be chosen through deserialisation."); } - offsetX_buf.value = static_cast(offsetX_buf_); + startMargin_buf.value = static_cast(startMargin_buf_); } - value.offsetX = offsetX_buf; - const auto offsetY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_Resource offsetY_buf = {}; - offsetY_buf.tag = offsetY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offsetY_buf_runtimeType)) + value.startMargin = startMargin_buf; + const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length endMargin_buf = {}; + endMargin_buf.tag = endMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) { - const Ark_Int8 offsetY_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_Resource offsetY_buf_ = {}; - offsetY_buf_.selector = offsetY_buf__selector; - if (offsetY_buf__selector == 0) { - offsetY_buf_.selector = 0; - offsetY_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 endMargin_buf__selector = valueDeserializer.readInt8(); + Ark_Length endMargin_buf_ = {}; + endMargin_buf_.selector = endMargin_buf__selector; + if (endMargin_buf__selector == 0) { + endMargin_buf_.selector = 0; + endMargin_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (offsetY_buf__selector == 1) { - offsetY_buf_.selector = 1; - offsetY_buf_.value1 = valueDeserializer.readResource(); + else if (endMargin_buf__selector == 1) { + endMargin_buf_.selector = 1; + endMargin_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (endMargin_buf__selector == 2) { + endMargin_buf_.selector = 2; + endMargin_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for offsetY_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for endMargin_buf_ has to be chosen through deserialisation."); } - offsetY_buf.value = static_cast(offsetY_buf_); + endMargin_buf.value = static_cast(endMargin_buf_); } - value.offsetY = offsetY_buf; - const auto fill_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean fill_buf = {}; - fill_buf.tag = fill_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fill_buf_runtimeType)) + value.endMargin = endMargin_buf; + return value; + } + Ark_MarkStyle readMarkStyle() + { + Ark_MarkStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto strokeColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor strokeColor_buf = {}; + strokeColor_buf.tag = strokeColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeColor_buf_runtimeType)) { - fill_buf.value = valueDeserializer.readBoolean(); + const Ark_Int8 strokeColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor strokeColor_buf_ = {}; + strokeColor_buf_.selector = strokeColor_buf__selector; + if (strokeColor_buf__selector == 0) { + strokeColor_buf_.selector = 0; + strokeColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (strokeColor_buf__selector == 1) { + strokeColor_buf_.selector = 1; + strokeColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (strokeColor_buf__selector == 2) { + strokeColor_buf_.selector = 2; + strokeColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (strokeColor_buf__selector == 3) { + strokeColor_buf_.selector = 3; + strokeColor_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for strokeColor_buf_ has to be chosen through deserialisation."); + } + strokeColor_buf.value = static_cast(strokeColor_buf_); } - value.fill = fill_buf; + value.strokeColor = strokeColor_buf; + const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length size_buf = {}; + size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) + { + const Ark_Int8 size_buf__selector = valueDeserializer.readInt8(); + Ark_Length size_buf_ = {}; + size_buf_.selector = size_buf__selector; + if (size_buf__selector == 0) { + size_buf_.selector = 0; + size_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (size_buf__selector == 1) { + size_buf_.selector = 1; + size_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (size_buf__selector == 2) { + size_buf_.selector = 2; + size_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for size_buf_ has to be chosen through deserialisation."); + } + size_buf.value = static_cast(size_buf_); + } + value.size = size_buf; + const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length strokeWidth_buf = {}; + strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + const Ark_Int8 strokeWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Length strokeWidth_buf_ = {}; + strokeWidth_buf_.selector = strokeWidth_buf__selector; + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_.selector = 0; + strokeWidth_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_.selector = 1; + strokeWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_.selector = 2; + strokeWidth_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation."); + } + strokeWidth_buf.value = static_cast(strokeWidth_buf_); + } + value.strokeWidth = strokeWidth_buf; return value; } - Ark_sharedTransitionOptions readsharedTransitionOptions() + Ark_MoreButtonOptions readMoreButtonOptions() { - Ark_sharedTransitionOptions value = {}; + Ark_MoreButtonOptions value = {}; Deserializer& valueDeserializer = *this; - const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number duration_buf = {}; - duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BlurStyle backgroundBlurStyle_buf = {}; + backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) { - duration_buf.value = static_cast(valueDeserializer.readNumber()); + backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } - value.duration = duration_buf; - const auto curve_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Curve_String_ICurve curve_buf = {}; - curve_buf.tag = curve_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (curve_buf_runtimeType)) + value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) { - const Ark_Int8 curve_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Curve_String_ICurve curve_buf_ = {}; - curve_buf_.selector = curve_buf__selector; - if (curve_buf__selector == 0) { - curve_buf_.selector = 0; - curve_buf_.value0 = static_cast(valueDeserializer.readInt32()); + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; + return value; + } + Ark_NavDestinationCustomTitle readNavDestinationCustomTitle() + { + Ark_NavDestinationCustomTitle value = {}; + Deserializer& valueDeserializer = *this; + value.builder = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + const Ark_Int8 height_buf_selector = valueDeserializer.readInt8(); + Ark_Union_TitleHeight_Length height_buf = {}; + height_buf.selector = height_buf_selector; + if (height_buf_selector == 0) { + height_buf.selector = 0; + height_buf.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (height_buf_selector == 1) { + height_buf.selector = 1; + const Ark_Int8 height_buf_u_selector = valueDeserializer.readInt8(); + Ark_Length height_buf_u = {}; + height_buf_u.selector = height_buf_u_selector; + if (height_buf_u_selector == 0) { + height_buf_u.selector = 0; + height_buf_u.value0 = static_cast(valueDeserializer.readString()); } - else if (curve_buf__selector == 1) { - curve_buf_.selector = 1; - curve_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (height_buf_u_selector == 1) { + height_buf_u.selector = 1; + height_buf_u.value1 = static_cast(valueDeserializer.readNumber()); } - else if (curve_buf__selector == 2) { - curve_buf_.selector = 2; - curve_buf_.value2 = static_cast(valueDeserializer.readICurve()); + else if (height_buf_u_selector == 2) { + height_buf_u.selector = 2; + height_buf_u.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for curve_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for height_buf_u has to be chosen through deserialisation."); } - curve_buf.value = static_cast(curve_buf_); + height_buf.value1 = static_cast(height_buf_u); } - value.curve = curve_buf; - const auto delay_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number delay_buf = {}; - delay_buf.tag = delay_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (delay_buf_runtimeType)) + else { + INTEROP_FATAL("One of the branches for height_buf has to be chosen through deserialisation."); + } + value.height = static_cast(height_buf); + return value; + } + Ark_NavigationCustomTitle readNavigationCustomTitle() + { + Ark_NavigationCustomTitle value = {}; + Deserializer& valueDeserializer = *this; + value.builder = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + const Ark_Int8 height_buf_selector = valueDeserializer.readInt8(); + Ark_Union_TitleHeight_Length height_buf = {}; + height_buf.selector = height_buf_selector; + if (height_buf_selector == 0) { + height_buf.selector = 0; + height_buf.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (height_buf_selector == 1) { + height_buf.selector = 1; + const Ark_Int8 height_buf_u_selector = valueDeserializer.readInt8(); + Ark_Length height_buf_u = {}; + height_buf_u.selector = height_buf_u_selector; + if (height_buf_u_selector == 0) { + height_buf_u.selector = 0; + height_buf_u.value0 = static_cast(valueDeserializer.readString()); + } + else if (height_buf_u_selector == 1) { + height_buf_u.selector = 1; + height_buf_u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (height_buf_u_selector == 2) { + height_buf_u.selector = 2; + height_buf_u.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for height_buf_u has to be chosen through deserialisation."); + } + height_buf.value1 = static_cast(height_buf_u); + } + else { + INTEROP_FATAL("One of the branches for height_buf has to be chosen through deserialisation."); + } + value.height = static_cast(height_buf); + return value; + } + Ark_NavigationTitleOptions readNavigationTitleOptions() + { + Ark_NavigationTitleOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor backgroundColor_buf = {}; + backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) { - delay_buf.value = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 backgroundColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor backgroundColor_buf_ = {}; + backgroundColor_buf_.selector = backgroundColor_buf__selector; + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_.selector = 0; + backgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_.selector = 1; + backgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_.selector = 2; + backgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_.selector = 3; + backgroundColor_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation."); + } + backgroundColor_buf.value = static_cast(backgroundColor_buf_); } - value.delay = delay_buf; - const auto motionPath_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_MotionPathOptions motionPath_buf = {}; - motionPath_buf.tag = motionPath_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (motionPath_buf_runtimeType)) + value.backgroundColor = backgroundColor_buf; + const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BlurStyle backgroundBlurStyle_buf = {}; + backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) { - motionPath_buf.value = valueDeserializer.readMotionPathOptions(); + backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } - value.motionPath = motionPath_buf; - const auto zIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number zIndex_buf = {}; - zIndex_buf.tag = zIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (zIndex_buf_runtimeType)) + value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) { - zIndex_buf.value = static_cast(valueDeserializer.readNumber()); + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); } - value.zIndex = zIndex_buf; - const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SharedTransitionEffectType type_buf = {}; - type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; + const auto barStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BarStyle barStyle_buf = {}; + barStyle_buf.tag = barStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (barStyle_buf_runtimeType)) + { + barStyle_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.barStyle = barStyle_buf; + const auto paddingStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics paddingStart_buf = {}; + paddingStart_buf.tag = paddingStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (paddingStart_buf_runtimeType)) + { + paddingStart_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.paddingStart = paddingStart_buf; + const auto paddingEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics paddingEnd_buf = {}; + paddingEnd_buf.tag = paddingEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (paddingEnd_buf_runtimeType)) + { + paddingEnd_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.paddingEnd = paddingEnd_buf; + const auto mainTitleModifier_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextModifier mainTitleModifier_buf = {}; + mainTitleModifier_buf.tag = mainTitleModifier_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mainTitleModifier_buf_runtimeType)) + { + mainTitleModifier_buf.value = valueDeserializer.readTextModifier(); + } + value.mainTitleModifier = mainTitleModifier_buf; + const auto subTitleModifier_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextModifier subTitleModifier_buf = {}; + subTitleModifier_buf.tag = subTitleModifier_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (subTitleModifier_buf_runtimeType)) + { + subTitleModifier_buf.value = valueDeserializer.readTextModifier(); + } + value.subTitleModifier = subTitleModifier_buf; + const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableHoverMode_buf = {}; + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { - type_buf.value = static_cast(valueDeserializer.readInt32()); + enableHoverMode_buf.value = valueDeserializer.readBoolean(); } - value.type = type_buf; + value.enableHoverMode = enableHoverMode_buf; return value; } - Ark_SheetInfo readSheetInfo() + Ark_OffsetOptions readOffsetOptions() { - Ark_SheetInfo value = {}; + Ark_OffsetOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 title_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource title_buf = {}; - title_buf.selector = title_buf_selector; - if (title_buf_selector == 0) { - title_buf.selector = 0; - title_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (title_buf_selector == 1) { - title_buf.selector = 1; - title_buf.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for title_buf has to be chosen through deserialisation."); - } - value.title = static_cast(title_buf); - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Resource icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + const auto xOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension xOffset_buf = {}; + xOffset_buf.tag = xOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xOffset_buf_runtimeType)) { - const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource icon_buf_ = {}; - icon_buf_.selector = icon_buf__selector; - if (icon_buf__selector == 0) { - icon_buf_.selector = 0; - icon_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 xOffset_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension xOffset_buf_ = {}; + xOffset_buf_.selector = xOffset_buf__selector; + if (xOffset_buf__selector == 0) { + xOffset_buf_.selector = 0; + xOffset_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (icon_buf__selector == 1) { - icon_buf_.selector = 1; - icon_buf_.value1 = valueDeserializer.readResource(); + else if (xOffset_buf__selector == 1) { + xOffset_buf_.selector = 1; + xOffset_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (xOffset_buf__selector == 2) { + xOffset_buf_.selector = 2; + xOffset_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for xOffset_buf_ has to be chosen through deserialisation."); } - icon_buf.value = static_cast(icon_buf_); - } - value.icon = icon_buf; - value.action = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; - return value; - } - Ark_SheetTitleOptions readSheetTitleOptions() - { - Ark_SheetTitleOptions value = {}; - Deserializer& valueDeserializer = *this; - const Ark_Int8 title_buf_selector = valueDeserializer.readInt8(); - Ark_ResourceStr title_buf = {}; - title_buf.selector = title_buf_selector; - if (title_buf_selector == 0) { - title_buf.selector = 0; - title_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (title_buf_selector == 1) { - title_buf.selector = 1; - title_buf.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for title_buf has to be chosen through deserialisation."); + xOffset_buf.value = static_cast(xOffset_buf_); } - value.title = static_cast(title_buf); - const auto subtitle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr subtitle_buf = {}; - subtitle_buf.tag = subtitle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (subtitle_buf_runtimeType)) + value.xOffset = xOffset_buf; + const auto yOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension yOffset_buf = {}; + yOffset_buf.tag = yOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (yOffset_buf_runtimeType)) { - const Ark_Int8 subtitle_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr subtitle_buf_ = {}; - subtitle_buf_.selector = subtitle_buf__selector; - if (subtitle_buf__selector == 0) { - subtitle_buf_.selector = 0; - subtitle_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 yOffset_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension yOffset_buf_ = {}; + yOffset_buf_.selector = yOffset_buf__selector; + if (yOffset_buf__selector == 0) { + yOffset_buf_.selector = 0; + yOffset_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (subtitle_buf__selector == 1) { - subtitle_buf_.selector = 1; - subtitle_buf_.value1 = valueDeserializer.readResource(); + else if (yOffset_buf__selector == 1) { + yOffset_buf_.selector = 1; + yOffset_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (yOffset_buf__selector == 2) { + yOffset_buf_.selector = 2; + yOffset_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for subtitle_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for yOffset_buf_ has to be chosen through deserialisation."); } - subtitle_buf.value = static_cast(subtitle_buf_); + yOffset_buf.value = static_cast(yOffset_buf_); } - value.subtitle = subtitle_buf; + value.yOffset = yOffset_buf; return value; } - Ark_SizeOptions readSizeOptions() + Ark_OutlineRadiuses readOutlineRadiuses() { - Ark_SizeOptions value = {}; + Ark_OutlineRadiuses value = {}; Deserializer& valueDeserializer = *this; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + const auto topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension topLeft_buf = {}; + topLeft_buf.tag = topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (topLeft_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 topLeft_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension topLeft_buf_ = {}; + topLeft_buf_.selector = topLeft_buf__selector; + if (topLeft_buf__selector == 0) { + topLeft_buf_.selector = 0; + topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (topLeft_buf__selector == 1) { + topLeft_buf_.selector = 1; + topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (width_buf__selector == 2) { - width_buf_.selector = 2; - width_buf_.value2 = valueDeserializer.readResource(); + else if (topLeft_buf__selector == 2) { + topLeft_buf_.selector = 2; + topLeft_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for topLeft_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + topLeft_buf.value = static_cast(topLeft_buf_); } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + value.topLeft = topLeft_buf; + const auto topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension topRight_buf = {}; + topRight_buf.tag = topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (topRight_buf_runtimeType)) { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 topRight_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension topRight_buf_ = {}; + topRight_buf_.selector = topRight_buf__selector; + if (topRight_buf__selector == 0) { + topRight_buf_.selector = 0; + topRight_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - height_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (topRight_buf__selector == 1) { + topRight_buf_.selector = 1; + topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (height_buf__selector == 2) { - height_buf_.selector = 2; - height_buf_.value2 = valueDeserializer.readResource(); + else if (topRight_buf__selector == 2) { + topRight_buf_.selector = 2; + topRight_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for topRight_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + topRight_buf.value = static_cast(topRight_buf_); } - value.height = height_buf; - return value; - } - Ark_SliderBlockStyle readSliderBlockStyle() - { - Ark_SliderBlockStyle value = {}; - Deserializer& valueDeserializer = *this; - value.type = static_cast(valueDeserializer.readInt32()); - const auto image_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr image_buf = {}; - image_buf.tag = image_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (image_buf_runtimeType)) + value.topRight = topRight_buf; + const auto bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension bottomLeft_buf = {}; + bottomLeft_buf.tag = bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottomLeft_buf_runtimeType)) { - const Ark_Int8 image_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr image_buf_ = {}; - image_buf_.selector = image_buf__selector; - if (image_buf__selector == 0) { - image_buf_.selector = 0; - image_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 bottomLeft_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension bottomLeft_buf_ = {}; + bottomLeft_buf_.selector = bottomLeft_buf__selector; + if (bottomLeft_buf__selector == 0) { + bottomLeft_buf_.selector = 0; + bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (image_buf__selector == 1) { - image_buf_.selector = 1; - image_buf_.value1 = valueDeserializer.readResource(); + else if (bottomLeft_buf__selector == 1) { + bottomLeft_buf_.selector = 1; + bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (bottomLeft_buf__selector == 2) { + bottomLeft_buf_.selector = 2; + bottomLeft_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for image_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for bottomLeft_buf_ has to be chosen through deserialisation."); } - image_buf.value = static_cast(image_buf_); - } - value.image = image_buf; - const auto shape_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String shape_buf = {}; - shape_buf.tag = shape_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (shape_buf_runtimeType)) - { - shape_buf.value = static_cast(valueDeserializer.readString()); - } - value.shape = shape_buf; - return value; - } - Ark_StyledStringChangeValue readStyledStringChangeValue() - { - Ark_StyledStringChangeValue value = {}; - Deserializer& valueDeserializer = *this; - value.range = valueDeserializer.readTextRange(); - value.replacementString = static_cast(valueDeserializer.readStyledString()); - const auto previewText_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_StyledString previewText_buf = {}; - previewText_buf.tag = previewText_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (previewText_buf_runtimeType)) - { - previewText_buf.value = static_cast(valueDeserializer.readStyledString()); - } - value.previewText = previewText_buf; - return value; - } - Ark_SwipeActionItem readSwipeActionItem() - { - Ark_SwipeActionItem value = {}; - Deserializer& valueDeserializer = *this; - const auto builder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomNodeBuilder builder_buf = {}; - builder_buf.tag = builder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (builder_buf_runtimeType)) - { - builder_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + bottomLeft_buf.value = static_cast(bottomLeft_buf_); } - value.builder = builder_buf; - const auto actionAreaDistance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource actionAreaDistance_buf = {}; - actionAreaDistance_buf.tag = actionAreaDistance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (actionAreaDistance_buf_runtimeType)) + value.bottomLeft = bottomLeft_buf; + const auto bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension bottomRight_buf = {}; + bottomRight_buf.tag = bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottomRight_buf_runtimeType)) { - const Ark_Int8 actionAreaDistance_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource actionAreaDistance_buf_ = {}; - actionAreaDistance_buf_.selector = actionAreaDistance_buf__selector; - if (actionAreaDistance_buf__selector == 0) { - actionAreaDistance_buf_.selector = 0; - actionAreaDistance_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 bottomRight_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension bottomRight_buf_ = {}; + bottomRight_buf_.selector = bottomRight_buf__selector; + if (bottomRight_buf__selector == 0) { + bottomRight_buf_.selector = 0; + bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (actionAreaDistance_buf__selector == 1) { - actionAreaDistance_buf_.selector = 1; - actionAreaDistance_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (bottomRight_buf__selector == 1) { + bottomRight_buf_.selector = 1; + bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (actionAreaDistance_buf__selector == 2) { - actionAreaDistance_buf_.selector = 2; - actionAreaDistance_buf_.value2 = valueDeserializer.readResource(); + else if (bottomRight_buf__selector == 2) { + bottomRight_buf_.selector = 2; + bottomRight_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for actionAreaDistance_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for bottomRight_buf_ has to be chosen through deserialisation."); } - actionAreaDistance_buf.value = static_cast(actionAreaDistance_buf_); - } - value.actionAreaDistance = actionAreaDistance_buf; - const auto onAction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onAction_buf = {}; - onAction_buf.tag = onAction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onAction_buf_runtimeType)) - { - onAction_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - } - value.onAction = onAction_buf; - const auto onEnterActionArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onEnterActionArea_buf = {}; - onEnterActionArea_buf.tag = onEnterActionArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onEnterActionArea_buf_runtimeType)) - { - onEnterActionArea_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - } - value.onEnterActionArea = onEnterActionArea_buf; - const auto onExitActionArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onExitActionArea_buf = {}; - onExitActionArea_buf.tag = onExitActionArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onExitActionArea_buf_runtimeType)) - { - onExitActionArea_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - } - value.onExitActionArea = onExitActionArea_buf; - const auto onStateChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_SwipeActionState_Void onStateChange_buf = {}; - onStateChange_buf.tag = onStateChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onStateChange_buf_runtimeType)) - { - onStateChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SwipeActionState_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SwipeActionState_Void))))}; + bottomRight_buf.value = static_cast(bottomRight_buf_); } - value.onStateChange = onStateChange_buf; + value.bottomRight = bottomRight_buf; return value; } - Ark_SwitchStyle readSwitchStyle() + Ark_Padding readPadding() { - Ark_SwitchStyle value = {}; + Ark_Padding value = {}; Deserializer& valueDeserializer = *this; - const auto pointRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_Resource pointRadius_buf = {}; - pointRadius_buf.tag = pointRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (pointRadius_buf_runtimeType)) + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { - const Ark_Int8 pointRadius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_Resource pointRadius_buf_ = {}; - pointRadius_buf_.selector = pointRadius_buf__selector; - if (pointRadius_buf__selector == 0) { - pointRadius_buf_.selector = 0; - pointRadius_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); + Ark_Length top_buf_ = {}; + top_buf_.selector = top_buf__selector; + if (top_buf__selector == 0) { + top_buf_.selector = 0; + top_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (pointRadius_buf__selector == 1) { - pointRadius_buf_.selector = 1; - pointRadius_buf_.value1 = valueDeserializer.readResource(); + else if (top_buf__selector == 1) { + top_buf_.selector = 1; + top_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (top_buf__selector == 2) { + top_buf_.selector = 2; + top_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for pointRadius_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); } - pointRadius_buf.value = static_cast(pointRadius_buf_); + top_buf.value = static_cast(top_buf_); } - value.pointRadius = pointRadius_buf; - const auto unselectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor unselectedColor_buf = {}; - unselectedColor_buf.tag = unselectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (unselectedColor_buf_runtimeType)) + value.top = top_buf; + const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length right_buf = {}; + right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) { - const Ark_Int8 unselectedColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor unselectedColor_buf_ = {}; - unselectedColor_buf_.selector = unselectedColor_buf__selector; - if (unselectedColor_buf__selector == 0) { - unselectedColor_buf_.selector = 0; - unselectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (unselectedColor_buf__selector == 1) { - unselectedColor_buf_.selector = 1; - unselectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 right_buf__selector = valueDeserializer.readInt8(); + Ark_Length right_buf_ = {}; + right_buf_.selector = right_buf__selector; + if (right_buf__selector == 0) { + right_buf_.selector = 0; + right_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (unselectedColor_buf__selector == 2) { - unselectedColor_buf_.selector = 2; - unselectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (right_buf__selector == 1) { + right_buf_.selector = 1; + right_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (unselectedColor_buf__selector == 3) { - unselectedColor_buf_.selector = 3; - unselectedColor_buf_.value3 = valueDeserializer.readResource(); + else if (right_buf__selector == 2) { + right_buf_.selector = 2; + right_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for right_buf_ has to be chosen through deserialisation."); } - unselectedColor_buf.value = static_cast(unselectedColor_buf_); + right_buf.value = static_cast(right_buf_); } - value.unselectedColor = unselectedColor_buf; - const auto pointColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor pointColor_buf = {}; - pointColor_buf.tag = pointColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (pointColor_buf_runtimeType)) + value.right = right_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { - const Ark_Int8 pointColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor pointColor_buf_ = {}; - pointColor_buf_.selector = pointColor_buf__selector; - if (pointColor_buf__selector == 0) { - pointColor_buf_.selector = 0; - pointColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (pointColor_buf__selector == 1) { - pointColor_buf_.selector = 1; - pointColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 bottom_buf__selector = valueDeserializer.readInt8(); + Ark_Length bottom_buf_ = {}; + bottom_buf_.selector = bottom_buf__selector; + if (bottom_buf__selector == 0) { + bottom_buf_.selector = 0; + bottom_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (pointColor_buf__selector == 2) { - pointColor_buf_.selector = 2; - pointColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (bottom_buf__selector == 1) { + bottom_buf_.selector = 1; + bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (pointColor_buf__selector == 3) { - pointColor_buf_.selector = 3; - pointColor_buf_.value3 = valueDeserializer.readResource(); + else if (bottom_buf__selector == 2) { + bottom_buf_.selector = 2; + bottom_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for pointColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for bottom_buf_ has to be chosen through deserialisation."); } - pointColor_buf.value = static_cast(pointColor_buf_); + bottom_buf.value = static_cast(bottom_buf_); } - value.pointColor = pointColor_buf; - const auto trackBorderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_Resource trackBorderRadius_buf = {}; - trackBorderRadius_buf.tag = trackBorderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (trackBorderRadius_buf_runtimeType)) + value.bottom = bottom_buf; + const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length left_buf = {}; + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) { - const Ark_Int8 trackBorderRadius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_Resource trackBorderRadius_buf_ = {}; - trackBorderRadius_buf_.selector = trackBorderRadius_buf__selector; - if (trackBorderRadius_buf__selector == 0) { - trackBorderRadius_buf_.selector = 0; - trackBorderRadius_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 left_buf__selector = valueDeserializer.readInt8(); + Ark_Length left_buf_ = {}; + left_buf_.selector = left_buf__selector; + if (left_buf__selector == 0) { + left_buf_.selector = 0; + left_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (trackBorderRadius_buf__selector == 1) { - trackBorderRadius_buf_.selector = 1; - trackBorderRadius_buf_.value1 = valueDeserializer.readResource(); + else if (left_buf__selector == 1) { + left_buf_.selector = 1; + left_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (left_buf__selector == 2) { + left_buf_.selector = 2; + left_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for trackBorderRadius_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for left_buf_ has to be chosen through deserialisation."); } - trackBorderRadius_buf.value = static_cast(trackBorderRadius_buf_); + left_buf.value = static_cast(left_buf_); } - value.trackBorderRadius = trackBorderRadius_buf; + value.left = left_buf; return value; } - Ark_TabBarIconStyle readTabBarIconStyle() + Ark_PixelStretchEffectOptions readPixelStretchEffectOptions() { - Ark_TabBarIconStyle value = {}; + Ark_PixelStretchEffectOptions value = {}; Deserializer& valueDeserializer = *this; - const auto selectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor selectedColor_buf = {}; - selectedColor_buf.tag = selectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (selectedColor_buf_runtimeType)) + const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length top_buf = {}; + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { - const Ark_Int8 selectedColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor selectedColor_buf_ = {}; - selectedColor_buf_.selector = selectedColor_buf__selector; - if (selectedColor_buf__selector == 0) { - selectedColor_buf_.selector = 0; - selectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (selectedColor_buf__selector == 1) { - selectedColor_buf_.selector = 1; - selectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 top_buf__selector = valueDeserializer.readInt8(); + Ark_Length top_buf_ = {}; + top_buf_.selector = top_buf__selector; + if (top_buf__selector == 0) { + top_buf_.selector = 0; + top_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (selectedColor_buf__selector == 2) { - selectedColor_buf_.selector = 2; - selectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (top_buf__selector == 1) { + top_buf_.selector = 1; + top_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (selectedColor_buf__selector == 3) { - selectedColor_buf_.selector = 3; - selectedColor_buf_.value3 = valueDeserializer.readResource(); + else if (top_buf__selector == 2) { + top_buf_.selector = 2; + top_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for selectedColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for top_buf_ has to be chosen through deserialisation."); } - selectedColor_buf.value = static_cast(selectedColor_buf_); + top_buf.value = static_cast(top_buf_); } - value.selectedColor = selectedColor_buf; - const auto unselectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor unselectedColor_buf = {}; - unselectedColor_buf.tag = unselectedColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (unselectedColor_buf_runtimeType)) + value.top = top_buf; + const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length bottom_buf = {}; + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { - const Ark_Int8 unselectedColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor unselectedColor_buf_ = {}; - unselectedColor_buf_.selector = unselectedColor_buf__selector; - if (unselectedColor_buf__selector == 0) { - unselectedColor_buf_.selector = 0; - unselectedColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (unselectedColor_buf__selector == 1) { - unselectedColor_buf_.selector = 1; - unselectedColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 bottom_buf__selector = valueDeserializer.readInt8(); + Ark_Length bottom_buf_ = {}; + bottom_buf_.selector = bottom_buf__selector; + if (bottom_buf__selector == 0) { + bottom_buf_.selector = 0; + bottom_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (unselectedColor_buf__selector == 2) { - unselectedColor_buf_.selector = 2; - unselectedColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (bottom_buf__selector == 1) { + bottom_buf_.selector = 1; + bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (unselectedColor_buf__selector == 3) { - unselectedColor_buf_.selector = 3; - unselectedColor_buf_.value3 = valueDeserializer.readResource(); + else if (bottom_buf__selector == 2) { + bottom_buf_.selector = 2; + bottom_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for bottom_buf_ has to be chosen through deserialisation."); } - unselectedColor_buf.value = static_cast(unselectedColor_buf_); + bottom_buf.value = static_cast(bottom_buf_); } - value.unselectedColor = unselectedColor_buf; - return value; - } - Ark_TabBarOptions readTabBarOptions() - { - Ark_TabBarOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Resource icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + value.bottom = bottom_buf; + const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length left_buf = {}; + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) { - const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource icon_buf_ = {}; - icon_buf_.selector = icon_buf__selector; - if (icon_buf__selector == 0) { - icon_buf_.selector = 0; - icon_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 left_buf__selector = valueDeserializer.readInt8(); + Ark_Length left_buf_ = {}; + left_buf_.selector = left_buf__selector; + if (left_buf__selector == 0) { + left_buf_.selector = 0; + left_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (icon_buf__selector == 1) { - icon_buf_.selector = 1; - icon_buf_.value1 = valueDeserializer.readResource(); + else if (left_buf__selector == 1) { + left_buf_.selector = 1; + left_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (left_buf__selector == 2) { + left_buf_.selector = 2; + left_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for left_buf_ has to be chosen through deserialisation."); } - icon_buf.value = static_cast(icon_buf_); + left_buf.value = static_cast(left_buf_); } - value.icon = icon_buf; - const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Resource text_buf = {}; - text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + value.left = left_buf; + const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length right_buf = {}; + right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) { - const Ark_Int8 text_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource text_buf_ = {}; - text_buf_.selector = text_buf__selector; - if (text_buf__selector == 0) { - text_buf_.selector = 0; - text_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 right_buf__selector = valueDeserializer.readInt8(); + Ark_Length right_buf_ = {}; + right_buf_.selector = right_buf__selector; + if (right_buf__selector == 0) { + right_buf_.selector = 0; + right_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (text_buf__selector == 1) { - text_buf_.selector = 1; - text_buf_.value1 = valueDeserializer.readResource(); + else if (right_buf__selector == 1) { + right_buf_.selector = 1; + right_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (right_buf__selector == 2) { + right_buf_.selector = 2; + right_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for text_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for right_buf_ has to be chosen through deserialisation."); } - text_buf.value = static_cast(text_buf_); + right_buf.value = static_cast(right_buf_); } - value.text = text_buf; + value.right = right_buf; return value; } - Ark_TerminationInfo readTerminationInfo() + Ark_PointLightStyle readPointLightStyle() { - Ark_TerminationInfo value = {}; + Ark_PointLightStyle value = {}; Deserializer& valueDeserializer = *this; - value.code = static_cast(valueDeserializer.readNumber()); - const auto want_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Want want_buf = {}; - want_buf.tag = want_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (want_buf_runtimeType)) + const auto lightSource_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LightSource lightSource_buf = {}; + lightSource_buf.tag = lightSource_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lightSource_buf_runtimeType)) { - want_buf.value = valueDeserializer.readWant(); + lightSource_buf.value = valueDeserializer.readLightSource(); } - value.want = want_buf; + value.lightSource = lightSource_buf; + const auto illuminated_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_IlluminatedType illuminated_buf = {}; + illuminated_buf.tag = illuminated_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (illuminated_buf_runtimeType)) + { + illuminated_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.illuminated = illuminated_buf; + const auto bloom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number bloom_buf = {}; + bloom_buf.tag = bloom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bloom_buf_runtimeType)) + { + bloom_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.bloom = bloom_buf; return value; } - Ark_TextAreaOptions readTextAreaOptions() + Ark_Position readPosition() { - Ark_TextAreaOptions value = {}; + Ark_Position value = {}; Deserializer& valueDeserializer = *this; - const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr placeholder_buf = {}; - placeholder_buf.tag = placeholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) + const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length x_buf = {}; + x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) { - const Ark_Int8 placeholder_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr placeholder_buf_ = {}; - placeholder_buf_.selector = placeholder_buf__selector; - if (placeholder_buf__selector == 0) { - placeholder_buf_.selector = 0; - placeholder_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 x_buf__selector = valueDeserializer.readInt8(); + Ark_Length x_buf_ = {}; + x_buf_.selector = x_buf__selector; + if (x_buf__selector == 0) { + x_buf_.selector = 0; + x_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (placeholder_buf__selector == 1) { - placeholder_buf_.selector = 1; - placeholder_buf_.value1 = valueDeserializer.readResource(); + else if (x_buf__selector == 1) { + x_buf_.selector = 1; + x_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (x_buf__selector == 2) { + x_buf_.selector = 2; + x_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for placeholder_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for x_buf_ has to be chosen through deserialisation."); } - placeholder_buf.value = static_cast(placeholder_buf_); + x_buf.value = static_cast(x_buf_); } - value.placeholder = placeholder_buf; - const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr text_buf = {}; - text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + value.x = x_buf; + const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length y_buf = {}; + y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) { - const Ark_Int8 text_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr text_buf_ = {}; - text_buf_.selector = text_buf__selector; - if (text_buf__selector == 0) { - text_buf_.selector = 0; - text_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 y_buf__selector = valueDeserializer.readInt8(); + Ark_Length y_buf_ = {}; + y_buf_.selector = y_buf__selector; + if (y_buf__selector == 0) { + y_buf_.selector = 0; + y_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (text_buf__selector == 1) { - text_buf_.selector = 1; - text_buf_.value1 = valueDeserializer.readResource(); + else if (y_buf__selector == 1) { + y_buf_.selector = 1; + y_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (y_buf__selector == 2) { + y_buf_.selector = 2; + y_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for text_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for y_buf_ has to be chosen through deserialisation."); } - text_buf.value = static_cast(text_buf_); - } - value.text = text_buf; - const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextAreaController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) - { - controller_buf.value = static_cast(valueDeserializer.readTextAreaController()); + y_buf.value = static_cast(y_buf_); } - value.controller = controller_buf; + value.y = y_buf; return value; } - Ark_TextCascadePickerRangeContent readTextCascadePickerRangeContent() + Ark_ProgressStyleOptions readProgressStyleOptions() { - Ark_TextCascadePickerRangeContent value = {}; + Ark_ProgressStyleOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 text_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource text_buf = {}; - text_buf.selector = text_buf_selector; - if (text_buf_selector == 0) { - text_buf.selector = 0; - text_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (text_buf_selector == 1) { - text_buf.selector = 1; - text_buf.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for text_buf has to be chosen through deserialisation."); - } - value.text = static_cast(text_buf); - const auto children_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_TextCascadePickerRangeContent children_buf = {}; - children_buf.tag = children_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (children_buf_runtimeType)) + const auto enableSmoothEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableSmoothEffect_buf = {}; + enableSmoothEffect_buf.tag = enableSmoothEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableSmoothEffect_buf_runtimeType)) { - const Ark_Int32 children_buf__length = valueDeserializer.readInt32(); - Array_TextCascadePickerRangeContent children_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&children_buf_, children_buf__length); - for (int children_buf__i = 0; children_buf__i < children_buf__length; children_buf__i++) { - children_buf_.array[children_buf__i] = valueDeserializer.readTextCascadePickerRangeContent(); - } - children_buf.value = children_buf_; + enableSmoothEffect_buf.value = valueDeserializer.readBoolean(); } - value.children = children_buf; - return value; - } - Ark_TextDecorationOptions readTextDecorationOptions() - { - Ark_TextDecorationOptions value = {}; - Deserializer& valueDeserializer = *this; - value.type = static_cast(valueDeserializer.readInt32()); - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + value.enableSmoothEffect = enableSmoothEffect_buf; + const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length strokeWidth_buf = {}; + strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) { - const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf_ = {}; - color_buf_.selector = color_buf__selector; - if (color_buf__selector == 0) { - color_buf_.selector = 0; - color_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__selector == 1) { - color_buf_.selector = 1; - color_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 strokeWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Length strokeWidth_buf_ = {}; + strokeWidth_buf_.selector = strokeWidth_buf__selector; + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_.selector = 0; + strokeWidth_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (color_buf__selector == 2) { - color_buf_.selector = 2; - color_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_.selector = 1; + strokeWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (color_buf__selector == 3) { - color_buf_.selector = 3; - color_buf_.value3 = valueDeserializer.readResource(); + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_.selector = 2; + strokeWidth_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation."); } - color_buf.value = static_cast(color_buf_); + strokeWidth_buf.value = static_cast(strokeWidth_buf_); } - value.color = color_buf; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextDecorationStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + value.strokeWidth = strokeWidth_buf; + const auto scaleCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number scaleCount_buf = {}; + scaleCount_buf.tag = scaleCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scaleCount_buf_runtimeType)) { - style_buf.value = static_cast(valueDeserializer.readInt32()); + scaleCount_buf.value = static_cast(valueDeserializer.readNumber()); } - value.style = style_buf; - return value; - } - Ark_TextInputOptions readTextInputOptions() - { - Ark_TextInputOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr placeholder_buf = {}; - placeholder_buf.tag = placeholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) + value.scaleCount = scaleCount_buf; + const auto scaleWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length scaleWidth_buf = {}; + scaleWidth_buf.tag = scaleWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scaleWidth_buf_runtimeType)) { - const Ark_Int8 placeholder_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr placeholder_buf_ = {}; - placeholder_buf_.selector = placeholder_buf__selector; - if (placeholder_buf__selector == 0) { - placeholder_buf_.selector = 0; - placeholder_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (placeholder_buf__selector == 1) { - placeholder_buf_.selector = 1; - placeholder_buf_.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for placeholder_buf_ has to be chosen through deserialisation."); + const Ark_Int8 scaleWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Length scaleWidth_buf_ = {}; + scaleWidth_buf_.selector = scaleWidth_buf__selector; + if (scaleWidth_buf__selector == 0) { + scaleWidth_buf_.selector = 0; + scaleWidth_buf_.value0 = static_cast(valueDeserializer.readString()); } - placeholder_buf.value = static_cast(placeholder_buf_); - } - value.placeholder = placeholder_buf; - const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr text_buf = {}; - text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) - { - const Ark_Int8 text_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr text_buf_ = {}; - text_buf_.selector = text_buf__selector; - if (text_buf__selector == 0) { - text_buf_.selector = 0; - text_buf_.value0 = static_cast(valueDeserializer.readString()); + else if (scaleWidth_buf__selector == 1) { + scaleWidth_buf_.selector = 1; + scaleWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (text_buf__selector == 1) { - text_buf_.selector = 1; - text_buf_.value1 = valueDeserializer.readResource(); + else if (scaleWidth_buf__selector == 2) { + scaleWidth_buf_.selector = 2; + scaleWidth_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for text_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for scaleWidth_buf_ has to be chosen through deserialisation."); } - text_buf.value = static_cast(text_buf_); - } - value.text = text_buf; - const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextInputController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) - { - controller_buf.value = static_cast(valueDeserializer.readTextInputController()); + scaleWidth_buf.value = static_cast(scaleWidth_buf_); } - value.controller = controller_buf; + value.scaleWidth = scaleWidth_buf; return value; } - Ark_TextMenuItem readTextMenuItem() + Ark_RadialGradientOptions readRadialGradientOptions() { - Ark_TextMenuItem value = {}; + Ark_RadialGradientOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 content_buf_selector = valueDeserializer.readInt8(); - Ark_ResourceStr content_buf = {}; - content_buf.selector = content_buf_selector; - if (content_buf_selector == 0) { - content_buf.selector = 0; - content_buf.value0 = static_cast(valueDeserializer.readString()); + Ark_Tuple_Length_Length center_buf = {}; + const Ark_Int8 center_buf_value0_buf_selector = valueDeserializer.readInt8(); + Ark_Length center_buf_value0_buf = {}; + center_buf_value0_buf.selector = center_buf_value0_buf_selector; + if (center_buf_value0_buf_selector == 0) { + center_buf_value0_buf.selector = 0; + center_buf_value0_buf.value0 = static_cast(valueDeserializer.readString()); } - else if (content_buf_selector == 1) { - content_buf.selector = 1; - content_buf.value1 = valueDeserializer.readResource(); + else if (center_buf_value0_buf_selector == 1) { + center_buf_value0_buf.selector = 1; + center_buf_value0_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (center_buf_value0_buf_selector == 2) { + center_buf_value0_buf.selector = 2; + center_buf_value0_buf.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for content_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for center_buf_value0_buf has to be chosen through deserialisation."); } - value.content = static_cast(content_buf); - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) - { - const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr icon_buf_ = {}; - icon_buf_.selector = icon_buf__selector; - if (icon_buf__selector == 0) { - icon_buf_.selector = 0; - icon_buf_.value0 = static_cast(valueDeserializer.readString()); + center_buf.value0 = static_cast(center_buf_value0_buf); + const Ark_Int8 center_buf_value1_buf_selector = valueDeserializer.readInt8(); + Ark_Length center_buf_value1_buf = {}; + center_buf_value1_buf.selector = center_buf_value1_buf_selector; + if (center_buf_value1_buf_selector == 0) { + center_buf_value1_buf.selector = 0; + center_buf_value1_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (center_buf_value1_buf_selector == 1) { + center_buf_value1_buf.selector = 1; + center_buf_value1_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (center_buf_value1_buf_selector == 2) { + center_buf_value1_buf.selector = 2; + center_buf_value1_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for center_buf_value1_buf has to be chosen through deserialisation."); + } + center_buf.value1 = static_cast(center_buf_value1_buf); + value.center = center_buf; + const Ark_Int8 radius_buf_selector = valueDeserializer.readInt8(); + Ark_Length radius_buf = {}; + radius_buf.selector = radius_buf_selector; + if (radius_buf_selector == 0) { + radius_buf.selector = 0; + radius_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (radius_buf_selector == 1) { + radius_buf.selector = 1; + radius_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (radius_buf_selector == 2) { + radius_buf.selector = 2; + radius_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for radius_buf has to be chosen through deserialisation."); + } + value.radius = static_cast(radius_buf); + const Ark_Int32 colors_buf_length = valueDeserializer.readInt32(); + Array_Tuple_ResourceColor_Number colors_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&colors_buf, colors_buf_length); + for (int colors_buf_i = 0; colors_buf_i < colors_buf_length; colors_buf_i++) { + Ark_Tuple_ResourceColor_Number colors_buf_buf = {}; + const Ark_Int8 colors_buf_buf_value0_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceColor colors_buf_buf_value0_buf = {}; + colors_buf_buf_value0_buf.selector = colors_buf_buf_value0_buf_selector; + if (colors_buf_buf_value0_buf_selector == 0) { + colors_buf_buf_value0_buf.selector = 0; + colors_buf_buf_value0_buf.value0 = static_cast(valueDeserializer.readInt32()); } - else if (icon_buf__selector == 1) { - icon_buf_.selector = 1; - icon_buf_.value1 = valueDeserializer.readResource(); + else if (colors_buf_buf_value0_buf_selector == 1) { + colors_buf_buf_value0_buf.selector = 1; + colors_buf_buf_value0_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (colors_buf_buf_value0_buf_selector == 2) { + colors_buf_buf_value0_buf.selector = 2; + colors_buf_buf_value0_buf.value2 = static_cast(valueDeserializer.readString()); + } + else if (colors_buf_buf_value0_buf_selector == 3) { + colors_buf_buf_value0_buf.selector = 3; + colors_buf_buf_value0_buf.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for colors_buf_buf_value0_buf has to be chosen through deserialisation."); } - icon_buf.value = static_cast(icon_buf_); + colors_buf_buf.value0 = static_cast(colors_buf_buf_value0_buf); + colors_buf_buf.value1 = static_cast(valueDeserializer.readNumber()); + colors_buf.array[colors_buf_i] = colors_buf_buf; } - value.icon = icon_buf; - value.id = static_cast(valueDeserializer.readTextMenuItemId()); + value.colors = colors_buf; + const auto repeating_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean repeating_buf = {}; + repeating_buf.tag = repeating_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (repeating_buf_runtimeType)) + { + repeating_buf.value = valueDeserializer.readBoolean(); + } + value.repeating = repeating_buf; return value; } - Ark_TextPickerOptions readTextPickerOptions() + Ark_Rectangle readRectangle() { - Ark_TextPickerOptions value = {}; + Ark_Rectangle value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 range_buf_selector = valueDeserializer.readInt8(); - Ark_Type_TextPickerOptions_range range_buf = {}; - range_buf.selector = range_buf_selector; - if (range_buf_selector == 0) { - range_buf.selector = 0; - const Ark_Int32 range_buf_u_length = valueDeserializer.readInt32(); - Array_String range_buf_u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&range_buf_u, range_buf_u_length); - for (int range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { - range_buf_u.array[range_buf_u_i] = static_cast(valueDeserializer.readString()); + const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length x_buf = {}; + x_buf.tag = x_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + { + const Ark_Int8 x_buf__selector = valueDeserializer.readInt8(); + Ark_Length x_buf_ = {}; + x_buf_.selector = x_buf__selector; + if (x_buf__selector == 0) { + x_buf_.selector = 0; + x_buf_.value0 = static_cast(valueDeserializer.readString()); } - range_buf.value0 = range_buf_u; - } - else if (range_buf_selector == 1) { - range_buf.selector = 1; - const Ark_Int32 range_buf_u_length = valueDeserializer.readInt32(); - Array_Array_String range_buf_u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&range_buf_u, range_buf_u_length); - for (int range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { - const Ark_Int32 range_buf_u_buf_length = valueDeserializer.readInt32(); - Array_String range_buf_u_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&range_buf_u_buf, range_buf_u_buf_length); - for (int range_buf_u_buf_i = 0; range_buf_u_buf_i < range_buf_u_buf_length; range_buf_u_buf_i++) { - range_buf_u_buf.array[range_buf_u_buf_i] = static_cast(valueDeserializer.readString()); - } - range_buf_u.array[range_buf_u_i] = range_buf_u_buf; + else if (x_buf__selector == 1) { + x_buf_.selector = 1; + x_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - range_buf.value1 = range_buf_u; - } - else if (range_buf_selector == 2) { - range_buf.selector = 2; - range_buf.value2 = valueDeserializer.readResource(); - } - else if (range_buf_selector == 3) { - range_buf.selector = 3; - const Ark_Int32 range_buf_u_length = valueDeserializer.readInt32(); - Array_TextPickerRangeContent range_buf_u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&range_buf_u, range_buf_u_length); - for (int range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { - range_buf_u.array[range_buf_u_i] = valueDeserializer.readTextPickerRangeContent(); + else if (x_buf__selector == 2) { + x_buf_.selector = 2; + x_buf_.value2 = valueDeserializer.readResource(); } - range_buf.value3 = range_buf_u; - } - else if (range_buf_selector == 4) { - range_buf.selector = 4; - const Ark_Int32 range_buf_u_length = valueDeserializer.readInt32(); - Array_TextCascadePickerRangeContent range_buf_u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&range_buf_u, range_buf_u_length); - for (int range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { - range_buf_u.array[range_buf_u_i] = valueDeserializer.readTextCascadePickerRangeContent(); + else { + INTEROP_FATAL("One of the branches for x_buf_ has to be chosen through deserialisation."); } - range_buf.value4 = range_buf_u; + x_buf.value = static_cast(x_buf_); } - else { - INTEROP_FATAL("One of the branches for range_buf has to be chosen through deserialisation."); + value.x = x_buf; + const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length y_buf = {}; + y_buf.tag = y_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + { + const Ark_Int8 y_buf__selector = valueDeserializer.readInt8(); + Ark_Length y_buf_ = {}; + y_buf_.selector = y_buf__selector; + if (y_buf__selector == 0) { + y_buf_.selector = 0; + y_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (y_buf__selector == 1) { + y_buf_.selector = 1; + y_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (y_buf__selector == 2) { + y_buf_.selector = 2; + y_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for y_buf_ has to be chosen through deserialisation."); + } + y_buf.value = static_cast(y_buf_); } - value.range = static_cast(range_buf); - const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Array_String value_buf = {}; - value_buf.tag = value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + value.y = y_buf; + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { - const Ark_Int8 value_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Array_String value_buf_ = {}; - value_buf_.selector = value_buf__selector; - if (value_buf__selector == 0) { - value_buf_.selector = 0; - value_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Length width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (value_buf__selector == 1) { - value_buf_.selector = 1; - const Ark_Int32 value_buf__u_length = valueDeserializer.readInt32(); - Array_String value_buf__u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&value_buf__u, value_buf__u_length); - for (int value_buf__u_i = 0; value_buf__u_i < value_buf__u_length; value_buf__u_i++) { - value_buf__u.array[value_buf__u_i] = static_cast(valueDeserializer.readString()); - } - value_buf_.value1 = value_buf__u; + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (width_buf__selector == 2) { + width_buf_.selector = 2; + width_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for value_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - value_buf.value = static_cast(value_buf_); + width_buf.value = static_cast(width_buf_); } - value.value = value_buf; - const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_Array_Number selected_buf = {}; - selected_buf.tag = selected_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { - const Ark_Int8 selected_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_Array_Number selected_buf_ = {}; - selected_buf_.selector = selected_buf__selector; - if (selected_buf__selector == 0) { - selected_buf_.selector = 0; - selected_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Length height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (selected_buf__selector == 1) { - selected_buf_.selector = 1; - const Ark_Int32 selected_buf__u_length = valueDeserializer.readInt32(); - Array_Number selected_buf__u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&selected_buf__u, selected_buf__u_length); - for (int selected_buf__u_i = 0; selected_buf__u_i < selected_buf__u_length; selected_buf__u_i++) { - selected_buf__u.array[selected_buf__u_i] = static_cast(valueDeserializer.readNumber()); - } - selected_buf_.value1 = selected_buf__u; + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (height_buf__selector == 2) { + height_buf_.selector = 2; + height_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for selected_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); } - selected_buf.value = static_cast(selected_buf_); + height_buf.value = static_cast(height_buf_); } - value.selected = selected_buf; + value.height = height_buf; return value; } - Ark_TextPickerRangeContent readTextPickerRangeContent() + Ark_RenderNode readRenderNode() { - Ark_TextPickerRangeContent value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 icon_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource icon_buf = {}; - icon_buf.selector = icon_buf_selector; - if (icon_buf_selector == 0) { - icon_buf.selector = 0; - icon_buf.value0 = static_cast(valueDeserializer.readString()); + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_RichEditorSymbolSpanOptions readRichEditorSymbolSpanOptions() + { + Ark_RichEditorSymbolSpanOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number offset_buf = {}; + offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + { + offset_buf.value = static_cast(valueDeserializer.readNumber()); } - else if (icon_buf_selector == 1) { - icon_buf.selector = 1; - icon_buf.value1 = valueDeserializer.readResource(); + value.offset = offset_buf; + const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_RichEditorSymbolSpanStyle style_buf = {}; + style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + { + style_buf.value = valueDeserializer.readRichEditorSymbolSpanStyle(); } - else { - INTEROP_FATAL("One of the branches for icon_buf has to be chosen through deserialisation."); + value.style = style_buf; + return value; + } + Ark_RingStyleOptions readRingStyleOptions() + { + Ark_RingStyleOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto enableScanEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableScanEffect_buf = {}; + enableScanEffect_buf.tag = enableScanEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableScanEffect_buf_runtimeType)) + { + enableScanEffect_buf.value = valueDeserializer.readBoolean(); } - value.icon = static_cast(icon_buf); - const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Resource text_buf = {}; - text_buf.tag = text_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + value.enableScanEffect = enableScanEffect_buf; + const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length strokeWidth_buf = {}; + strokeWidth_buf.tag = strokeWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) { - const Ark_Int8 text_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource text_buf_ = {}; - text_buf_.selector = text_buf__selector; - if (text_buf__selector == 0) { - text_buf_.selector = 0; - text_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 strokeWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Length strokeWidth_buf_ = {}; + strokeWidth_buf_.selector = strokeWidth_buf__selector; + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_.selector = 0; + strokeWidth_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (text_buf__selector == 1) { - text_buf_.selector = 1; - text_buf_.value1 = valueDeserializer.readResource(); + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_.selector = 1; + strokeWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_.selector = 2; + strokeWidth_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for text_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation."); } - text_buf.value = static_cast(text_buf_); + strokeWidth_buf.value = static_cast(strokeWidth_buf_); } - value.text = text_buf; + value.strokeWidth = strokeWidth_buf; + const auto shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean shadow_buf = {}; + shadow_buf.tag = shadow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + { + shadow_buf.value = valueDeserializer.readBoolean(); + } + value.shadow = shadow_buf; + const auto status_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ProgressStatus status_buf = {}; + status_buf.tag = status_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (status_buf_runtimeType)) + { + status_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.status = status_buf; return value; } - Ark_TextPickerResult readTextPickerResult() + Ark_ScrollableBarModeOptions readScrollableBarModeOptions() { - Ark_TextPickerResult value = {}; + Ark_ScrollableBarModeOptions value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Array_String value_buf = {}; - value_buf.selector = value_buf_selector; - if (value_buf_selector == 0) { - value_buf.selector = 0; - value_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (value_buf_selector == 1) { - value_buf.selector = 1; - const Ark_Int32 value_buf_u_length = valueDeserializer.readInt32(); - Array_String value_buf_u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&value_buf_u, value_buf_u_length); - for (int value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { - value_buf_u.array[value_buf_u_i] = static_cast(valueDeserializer.readString()); + const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension margin_buf = {}; + margin_buf.tag = margin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + { + const Ark_Int8 margin_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension margin_buf_ = {}; + margin_buf_.selector = margin_buf__selector; + if (margin_buf__selector == 0) { + margin_buf_.selector = 0; + margin_buf_.value0 = static_cast(valueDeserializer.readString()); } - value_buf.value1 = value_buf_u; - } - else { - INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); - } - value.value = static_cast(value_buf); - const Ark_Int8 index_buf_selector = valueDeserializer.readInt8(); - Ark_Union_Number_Array_Number index_buf = {}; - index_buf.selector = index_buf_selector; - if (index_buf_selector == 0) { - index_buf.selector = 0; - index_buf.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (index_buf_selector == 1) { - index_buf.selector = 1; - const Ark_Int32 index_buf_u_length = valueDeserializer.readInt32(); - Array_Number index_buf_u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&index_buf_u, index_buf_u_length); - for (int index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { - index_buf_u.array[index_buf_u_i] = static_cast(valueDeserializer.readNumber()); + else if (margin_buf__selector == 1) { + margin_buf_.selector = 1; + margin_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - index_buf.value1 = index_buf_u; + else if (margin_buf__selector == 2) { + margin_buf_.selector = 2; + margin_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for margin_buf_ has to be chosen through deserialisation."); + } + margin_buf.value = static_cast(margin_buf_); } - else { - INTEROP_FATAL("One of the branches for index_buf has to be chosen through deserialisation."); + value.margin = margin_buf; + const auto nonScrollableLayoutStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LayoutStyle nonScrollableLayoutStyle_buf = {}; + nonScrollableLayoutStyle_buf.tag = nonScrollableLayoutStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (nonScrollableLayoutStyle_buf_runtimeType)) + { + nonScrollableLayoutStyle_buf.value = static_cast(valueDeserializer.readInt32()); } - value.index = static_cast(index_buf); + value.nonScrollableLayoutStyle = nonScrollableLayoutStyle_buf; return value; } - Ark_TextShadow readTextShadow() + Ark_ScrollSnapOptions readScrollSnapOptions() { - Ark_TextShadow value = {}; + Ark_ScrollSnapOptions value = {}; Deserializer& valueDeserializer = *this; - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_common2D_Color color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + value.snapAlign = static_cast(valueDeserializer.readInt32()); + const auto snapPagination_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Dimension_Array_Dimension snapPagination_buf = {}; + snapPagination_buf.tag = snapPagination_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (snapPagination_buf_runtimeType)) { - color_buf.value = valueDeserializer.readcommon2D_Color(); + const Ark_Int8 snapPagination_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Dimension_Array_Dimension snapPagination_buf_ = {}; + snapPagination_buf_.selector = snapPagination_buf__selector; + if (snapPagination_buf__selector == 0) { + snapPagination_buf_.selector = 0; + const Ark_Int8 snapPagination_buf__u_selector = valueDeserializer.readInt8(); + Ark_Dimension snapPagination_buf__u = {}; + snapPagination_buf__u.selector = snapPagination_buf__u_selector; + if (snapPagination_buf__u_selector == 0) { + snapPagination_buf__u.selector = 0; + snapPagination_buf__u.value0 = static_cast(valueDeserializer.readString()); + } + else if (snapPagination_buf__u_selector == 1) { + snapPagination_buf__u.selector = 1; + snapPagination_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (snapPagination_buf__u_selector == 2) { + snapPagination_buf__u.selector = 2; + snapPagination_buf__u.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for snapPagination_buf__u has to be chosen through deserialisation."); + } + snapPagination_buf_.value0 = static_cast(snapPagination_buf__u); + } + else if (snapPagination_buf__selector == 1) { + snapPagination_buf_.selector = 1; + const Ark_Int32 snapPagination_buf__u_length = valueDeserializer.readInt32(); + Array_Dimension snapPagination_buf__u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&snapPagination_buf__u, snapPagination_buf__u_length); + for (int snapPagination_buf__u_i = 0; snapPagination_buf__u_i < snapPagination_buf__u_length; snapPagination_buf__u_i++) { + const Ark_Int8 snapPagination_buf__u_buf_selector = valueDeserializer.readInt8(); + Ark_Dimension snapPagination_buf__u_buf = {}; + snapPagination_buf__u_buf.selector = snapPagination_buf__u_buf_selector; + if (snapPagination_buf__u_buf_selector == 0) { + snapPagination_buf__u_buf.selector = 0; + snapPagination_buf__u_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (snapPagination_buf__u_buf_selector == 1) { + snapPagination_buf__u_buf.selector = 1; + snapPagination_buf__u_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (snapPagination_buf__u_buf_selector == 2) { + snapPagination_buf__u_buf.selector = 2; + snapPagination_buf__u_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for snapPagination_buf__u_buf has to be chosen through deserialisation."); + } + snapPagination_buf__u.array[snapPagination_buf__u_i] = static_cast(snapPagination_buf__u_buf); + } + snapPagination_buf_.value1 = snapPagination_buf__u; + } + else { + INTEROP_FATAL("One of the branches for snapPagination_buf_ has to be chosen through deserialisation."); + } + snapPagination_buf.value = static_cast(snapPagination_buf_); } - value.color = color_buf; - const auto point_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_common2D_Point point_buf = {}; - point_buf.tag = point_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (point_buf_runtimeType)) + value.snapPagination = snapPagination_buf; + const auto enableSnapToStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableSnapToStart_buf = {}; + enableSnapToStart_buf.tag = enableSnapToStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableSnapToStart_buf_runtimeType)) { - point_buf.value = valueDeserializer.readcommon2D_Point(); + enableSnapToStart_buf.value = valueDeserializer.readBoolean(); } - value.point = point_buf; - const auto blurRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number blurRadius_buf = {}; - blurRadius_buf.tag = blurRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (blurRadius_buf_runtimeType)) + value.enableSnapToStart = enableSnapToStart_buf; + const auto enableSnapToEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableSnapToEnd_buf = {}; + enableSnapToEnd_buf.tag = enableSnapToEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableSnapToEnd_buf_runtimeType)) { - blurRadius_buf.value = static_cast(valueDeserializer.readNumber()); + enableSnapToEnd_buf.value = valueDeserializer.readBoolean(); } - value.blurRadius = blurRadius_buf; + value.enableSnapToEnd = enableSnapToEnd_buf; return value; } - Ark_TextStyle_styled_string readTextStyle_styled_string() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_TextStyleInterface readTextStyleInterface() + Ark_SearchButtonOptions readSearchButtonOptions() { - Ark_TextStyleInterface value = {}; + Ark_SearchButtonOptions value = {}; Deserializer& valueDeserializer = *this; + const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length fontSize_buf = {}; + fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) + { + const Ark_Int8 fontSize_buf__selector = valueDeserializer.readInt8(); + Ark_Length fontSize_buf_ = {}; + fontSize_buf_.selector = fontSize_buf__selector; + if (fontSize_buf__selector == 0) { + fontSize_buf_.selector = 0; + fontSize_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (fontSize_buf__selector == 1) { + fontSize_buf_.selector = 1; + fontSize_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (fontSize_buf__selector == 2) { + fontSize_buf_.selector = 2; + fontSize_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for fontSize_buf_ has to be chosen through deserialisation."); + } + fontSize_buf.value = static_cast(fontSize_buf_); + } + value.fontSize = fontSize_buf; const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor fontColor_buf = {}; fontColor_buf.tag = fontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -104809,789 +112258,665 @@ class Deserializer : public DeserializerBase { fontColor_buf.value = static_cast(fontColor_buf_); } value.fontColor = fontColor_buf; - const auto fontFamily_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr fontFamily_buf = {}; - fontFamily_buf.tag = fontFamily_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontFamily_buf_runtimeType)) + const auto autoDisable_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean autoDisable_buf = {}; + autoDisable_buf.tag = autoDisable_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (autoDisable_buf_runtimeType)) { - const Ark_Int8 fontFamily_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr fontFamily_buf_ = {}; - fontFamily_buf_.selector = fontFamily_buf__selector; - if (fontFamily_buf__selector == 0) { - fontFamily_buf_.selector = 0; - fontFamily_buf_.value0 = static_cast(valueDeserializer.readString()); + autoDisable_buf.value = valueDeserializer.readBoolean(); + } + value.autoDisable = autoDisable_buf; + return value; + } + Ark_SizeOptions readSizeOptions() + { + Ark_SizeOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + { + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Length width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (fontFamily_buf__selector == 1) { - fontFamily_buf_.selector = 1; - fontFamily_buf_.value1 = valueDeserializer.readResource(); + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (width_buf__selector == 2) { + width_buf_.selector = 2; + width_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontFamily_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - fontFamily_buf.value = static_cast(fontFamily_buf_); - } - value.fontFamily = fontFamily_buf; - const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics fontSize_buf = {}; - fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) - { - fontSize_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + width_buf.value = static_cast(width_buf_); } - value.fontSize = fontSize_buf; - const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_FontWeight_String fontWeight_buf = {}; - fontWeight_buf.tag = fontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) + value.width = width_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { - const Ark_Int8 fontWeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String fontWeight_buf_ = {}; - fontWeight_buf_.selector = fontWeight_buf__selector; - if (fontWeight_buf__selector == 0) { - fontWeight_buf_.selector = 0; - fontWeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Length height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_.selector = 1; - fontWeight_buf_.value1 = static_cast(valueDeserializer.readInt32()); + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + height_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_.selector = 2; - fontWeight_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (height_buf__selector == 2) { + height_buf_.selector = 2; + height_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontWeight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); } - fontWeight_buf.value = static_cast(fontWeight_buf_); - } - value.fontWeight = fontWeight_buf; - const auto fontStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FontStyle fontStyle_buf = {}; - fontStyle_buf.tag = fontStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontStyle_buf_runtimeType)) - { - fontStyle_buf.value = static_cast(valueDeserializer.readInt32()); + height_buf.value = static_cast(height_buf_); } - value.fontStyle = fontStyle_buf; + value.height = height_buf; return value; } - Ark_TodayStyle readTodayStyle() + Ark_SweepGradientOptions readSweepGradientOptions() { - Ark_TodayStyle value = {}; + Ark_SweepGradientOptions value = {}; Deserializer& valueDeserializer = *this; - const auto focusedDayColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor focusedDayColor_buf = {}; - focusedDayColor_buf.tag = focusedDayColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (focusedDayColor_buf_runtimeType)) + Ark_Tuple_Length_Length center_buf = {}; + const Ark_Int8 center_buf_value0_buf_selector = valueDeserializer.readInt8(); + Ark_Length center_buf_value0_buf = {}; + center_buf_value0_buf.selector = center_buf_value0_buf_selector; + if (center_buf_value0_buf_selector == 0) { + center_buf_value0_buf.selector = 0; + center_buf_value0_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (center_buf_value0_buf_selector == 1) { + center_buf_value0_buf.selector = 1; + center_buf_value0_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (center_buf_value0_buf_selector == 2) { + center_buf_value0_buf.selector = 2; + center_buf_value0_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for center_buf_value0_buf has to be chosen through deserialisation."); + } + center_buf.value0 = static_cast(center_buf_value0_buf); + const Ark_Int8 center_buf_value1_buf_selector = valueDeserializer.readInt8(); + Ark_Length center_buf_value1_buf = {}; + center_buf_value1_buf.selector = center_buf_value1_buf_selector; + if (center_buf_value1_buf_selector == 0) { + center_buf_value1_buf.selector = 0; + center_buf_value1_buf.value0 = static_cast(valueDeserializer.readString()); + } + else if (center_buf_value1_buf_selector == 1) { + center_buf_value1_buf.selector = 1; + center_buf_value1_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (center_buf_value1_buf_selector == 2) { + center_buf_value1_buf.selector = 2; + center_buf_value1_buf.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for center_buf_value1_buf has to be chosen through deserialisation."); + } + center_buf.value1 = static_cast(center_buf_value1_buf); + value.center = center_buf; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) { - const Ark_Int8 focusedDayColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor focusedDayColor_buf_ = {}; - focusedDayColor_buf_.selector = focusedDayColor_buf__selector; - if (focusedDayColor_buf__selector == 0) { - focusedDayColor_buf_.selector = 0; - focusedDayColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (focusedDayColor_buf__selector == 1) { - focusedDayColor_buf_.selector = 1; - focusedDayColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (focusedDayColor_buf__selector == 2) { - focusedDayColor_buf_.selector = 2; - focusedDayColor_buf_.value2 = static_cast(valueDeserializer.readString()); + const Ark_Int8 start_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String start_buf_ = {}; + start_buf_.selector = start_buf__selector; + if (start_buf__selector == 0) { + start_buf_.selector = 0; + start_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (focusedDayColor_buf__selector == 3) { - focusedDayColor_buf_.selector = 3; - focusedDayColor_buf_.value3 = valueDeserializer.readResource(); + else if (start_buf__selector == 1) { + start_buf_.selector = 1; + start_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for focusedDayColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for start_buf_ has to be chosen through deserialisation."); } - focusedDayColor_buf.value = static_cast(focusedDayColor_buf_); + start_buf.value = static_cast(start_buf_); } - value.focusedDayColor = focusedDayColor_buf; - const auto focusedLunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor focusedLunarColor_buf = {}; - focusedLunarColor_buf.tag = focusedLunarColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (focusedLunarColor_buf_runtimeType)) + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) { - const Ark_Int8 focusedLunarColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor focusedLunarColor_buf_ = {}; - focusedLunarColor_buf_.selector = focusedLunarColor_buf__selector; - if (focusedLunarColor_buf__selector == 0) { - focusedLunarColor_buf_.selector = 0; - focusedLunarColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 end_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String end_buf_ = {}; + end_buf_.selector = end_buf__selector; + if (end_buf__selector == 0) { + end_buf_.selector = 0; + end_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (focusedLunarColor_buf__selector == 1) { - focusedLunarColor_buf_.selector = 1; - focusedLunarColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (end_buf__selector == 1) { + end_buf_.selector = 1; + end_buf_.value1 = static_cast(valueDeserializer.readString()); } - else if (focusedLunarColor_buf__selector == 2) { - focusedLunarColor_buf_.selector = 2; - focusedLunarColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else { + INTEROP_FATAL("One of the branches for end_buf_ has to be chosen through deserialisation."); } - else if (focusedLunarColor_buf__selector == 3) { - focusedLunarColor_buf_.selector = 3; - focusedLunarColor_buf_.value3 = valueDeserializer.readResource(); + end_buf.value = static_cast(end_buf_); + } + value.end = end_buf; + const auto rotation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String rotation_buf = {}; + rotation_buf.tag = rotation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (rotation_buf_runtimeType)) + { + const Ark_Int8 rotation_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String rotation_buf_ = {}; + rotation_buf_.selector = rotation_buf__selector; + if (rotation_buf__selector == 0) { + rotation_buf_.selector = 0; + rotation_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (rotation_buf__selector == 1) { + rotation_buf_.selector = 1; + rotation_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for focusedLunarColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for rotation_buf_ has to be chosen through deserialisation."); } - focusedLunarColor_buf.value = static_cast(focusedLunarColor_buf_); + rotation_buf.value = static_cast(rotation_buf_); } - value.focusedLunarColor = focusedLunarColor_buf; - const auto focusedAreaBackgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor focusedAreaBackgroundColor_buf = {}; - focusedAreaBackgroundColor_buf.tag = focusedAreaBackgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (focusedAreaBackgroundColor_buf_runtimeType)) - { - const Ark_Int8 focusedAreaBackgroundColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor focusedAreaBackgroundColor_buf_ = {}; - focusedAreaBackgroundColor_buf_.selector = focusedAreaBackgroundColor_buf__selector; - if (focusedAreaBackgroundColor_buf__selector == 0) { - focusedAreaBackgroundColor_buf_.selector = 0; - focusedAreaBackgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + value.rotation = rotation_buf; + const Ark_Int32 colors_buf_length = valueDeserializer.readInt32(); + Array_Tuple_ResourceColor_Number colors_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&colors_buf, colors_buf_length); + for (int colors_buf_i = 0; colors_buf_i < colors_buf_length; colors_buf_i++) { + Ark_Tuple_ResourceColor_Number colors_buf_buf = {}; + const Ark_Int8 colors_buf_buf_value0_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceColor colors_buf_buf_value0_buf = {}; + colors_buf_buf_value0_buf.selector = colors_buf_buf_value0_buf_selector; + if (colors_buf_buf_value0_buf_selector == 0) { + colors_buf_buf_value0_buf.selector = 0; + colors_buf_buf_value0_buf.value0 = static_cast(valueDeserializer.readInt32()); } - else if (focusedAreaBackgroundColor_buf__selector == 1) { - focusedAreaBackgroundColor_buf_.selector = 1; - focusedAreaBackgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (colors_buf_buf_value0_buf_selector == 1) { + colors_buf_buf_value0_buf.selector = 1; + colors_buf_buf_value0_buf.value1 = static_cast(valueDeserializer.readNumber()); } - else if (focusedAreaBackgroundColor_buf__selector == 2) { - focusedAreaBackgroundColor_buf_.selector = 2; - focusedAreaBackgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (colors_buf_buf_value0_buf_selector == 2) { + colors_buf_buf_value0_buf.selector = 2; + colors_buf_buf_value0_buf.value2 = static_cast(valueDeserializer.readString()); } - else if (focusedAreaBackgroundColor_buf__selector == 3) { - focusedAreaBackgroundColor_buf_.selector = 3; - focusedAreaBackgroundColor_buf_.value3 = valueDeserializer.readResource(); + else if (colors_buf_buf_value0_buf_selector == 3) { + colors_buf_buf_value0_buf.selector = 3; + colors_buf_buf_value0_buf.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for focusedAreaBackgroundColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for colors_buf_buf_value0_buf has to be chosen through deserialisation."); } - focusedAreaBackgroundColor_buf.value = static_cast(focusedAreaBackgroundColor_buf_); + colors_buf_buf.value0 = static_cast(colors_buf_buf_value0_buf); + colors_buf_buf.value1 = static_cast(valueDeserializer.readNumber()); + colors_buf.array[colors_buf_i] = colors_buf_buf; } - value.focusedAreaBackgroundColor = focusedAreaBackgroundColor_buf; - const auto focusedAreaRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number focusedAreaRadius_buf = {}; - focusedAreaRadius_buf.tag = focusedAreaRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (focusedAreaRadius_buf_runtimeType)) + value.colors = colors_buf; + const auto repeating_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean repeating_buf = {}; + repeating_buf.tag = repeating_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (repeating_buf_runtimeType)) { - focusedAreaRadius_buf.value = static_cast(valueDeserializer.readNumber()); + repeating_buf.value = valueDeserializer.readBoolean(); } - value.focusedAreaRadius = focusedAreaRadius_buf; + value.repeating = repeating_buf; return value; } - Ark_ToolbarItem readToolbarItem() + Ark_SwipeActionItem readSwipeActionItem() { - Ark_ToolbarItem value = {}; + Ark_SwipeActionItem value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int8 value_buf_selector = valueDeserializer.readInt8(); - Ark_ResourceStr value_buf = {}; - value_buf.selector = value_buf_selector; - if (value_buf_selector == 0) { - value_buf.selector = 0; - value_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (value_buf_selector == 1) { - value_buf.selector = 1; - value_buf.value1 = valueDeserializer.readResource(); + const auto builder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomNodeBuilder builder_buf = {}; + builder_buf.tag = builder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (builder_buf_runtimeType)) + { + builder_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; } - else { - INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + value.builder = builder_buf; + const auto builderComponent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ComponentContent builderComponent_buf = {}; + builderComponent_buf.tag = builderComponent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (builderComponent_buf_runtimeType)) + { + builderComponent_buf.value = static_cast(valueDeserializer.readComponentContent()); } - value.value = static_cast(value_buf); - const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + value.builderComponent = builderComponent_buf; + const auto actionAreaDistance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length actionAreaDistance_buf = {}; + actionAreaDistance_buf.tag = actionAreaDistance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (actionAreaDistance_buf_runtimeType)) { - const Ark_Int8 icon_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr icon_buf_ = {}; - icon_buf_.selector = icon_buf__selector; - if (icon_buf__selector == 0) { - icon_buf_.selector = 0; - icon_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 actionAreaDistance_buf__selector = valueDeserializer.readInt8(); + Ark_Length actionAreaDistance_buf_ = {}; + actionAreaDistance_buf_.selector = actionAreaDistance_buf__selector; + if (actionAreaDistance_buf__selector == 0) { + actionAreaDistance_buf_.selector = 0; + actionAreaDistance_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (icon_buf__selector == 1) { - icon_buf_.selector = 1; - icon_buf_.value1 = valueDeserializer.readResource(); + else if (actionAreaDistance_buf__selector == 1) { + actionAreaDistance_buf_.selector = 1; + actionAreaDistance_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (actionAreaDistance_buf__selector == 2) { + actionAreaDistance_buf_.selector = 2; + actionAreaDistance_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for icon_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for actionAreaDistance_buf_ has to be chosen through deserialisation."); } - icon_buf.value = static_cast(icon_buf_); + actionAreaDistance_buf.value = static_cast(actionAreaDistance_buf_); } - value.icon = icon_buf; - const auto symbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SymbolGlyphModifier symbolIcon_buf = {}; - symbolIcon_buf.tag = symbolIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (symbolIcon_buf_runtimeType)) - { - symbolIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); - } - value.symbolIcon = symbolIcon_buf; - const auto action_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void action_buf = {}; - action_buf.tag = action_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (action_buf_runtimeType)) + value.actionAreaDistance = actionAreaDistance_buf; + const auto onAction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onAction_buf = {}; + onAction_buf.tag = onAction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onAction_buf_runtimeType)) { - action_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + onAction_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; } - value.action = action_buf; - const auto status_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ToolbarItemStatus status_buf = {}; - status_buf.tag = status_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (status_buf_runtimeType)) + value.onAction = onAction_buf; + const auto onEnterActionArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onEnterActionArea_buf = {}; + onEnterActionArea_buf.tag = onEnterActionArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onEnterActionArea_buf_runtimeType)) { - status_buf.value = static_cast(valueDeserializer.readInt32()); + onEnterActionArea_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; } - value.status = status_buf; - const auto activeIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr activeIcon_buf = {}; - activeIcon_buf.tag = activeIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (activeIcon_buf_runtimeType)) + value.onEnterActionArea = onEnterActionArea_buf; + const auto onExitActionArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onExitActionArea_buf = {}; + onExitActionArea_buf.tag = onExitActionArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onExitActionArea_buf_runtimeType)) { - const Ark_Int8 activeIcon_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr activeIcon_buf_ = {}; - activeIcon_buf_.selector = activeIcon_buf__selector; - if (activeIcon_buf__selector == 0) { - activeIcon_buf_.selector = 0; - activeIcon_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (activeIcon_buf__selector == 1) { - activeIcon_buf_.selector = 1; - activeIcon_buf_.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for activeIcon_buf_ has to be chosen through deserialisation."); - } - activeIcon_buf.value = static_cast(activeIcon_buf_); + onExitActionArea_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; } - value.activeIcon = activeIcon_buf; - const auto activeSymbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SymbolGlyphModifier activeSymbolIcon_buf = {}; - activeSymbolIcon_buf.tag = activeSymbolIcon_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (activeSymbolIcon_buf_runtimeType)) + value.onExitActionArea = onExitActionArea_buf; + const auto onStateChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_SwipeActionState_Void onStateChange_buf = {}; + onStateChange_buf.tag = onStateChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onStateChange_buf_runtimeType)) { - activeSymbolIcon_buf.value = valueDeserializer.readSymbolGlyphModifier(); + onStateChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SwipeActionState_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SwipeActionState_Void))))}; } - value.activeSymbolIcon = activeSymbolIcon_buf; + value.onStateChange = onStateChange_buf; return value; } - Ark_TransitionOptions readTransitionOptions() + Ark_text_TextStyle readtext_TextStyle() { - Ark_TransitionOptions value = {}; + Ark_text_TextStyle value = {}; Deserializer& valueDeserializer = *this; - const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TransitionType type_buf = {}; - type_buf.tag = type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + const auto decoration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Decoration decoration_buf = {}; + decoration_buf.tag = decoration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (decoration_buf_runtimeType)) { - type_buf.value = static_cast(valueDeserializer.readInt32()); + decoration_buf.value = valueDeserializer.readDecoration(); } - value.type = type_buf; - const auto opacity_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number opacity_buf = {}; - opacity_buf.tag = opacity_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (opacity_buf_runtimeType)) + value.decoration = decoration_buf; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_common2D_Color color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) { - opacity_buf.value = static_cast(valueDeserializer.readNumber()); + color_buf.value = valueDeserializer.readcommon2D_Color(); } - value.opacity = opacity_buf; - const auto translate_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TranslateOptions translate_buf = {}; - translate_buf.tag = translate_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (translate_buf_runtimeType)) + value.color = color_buf; + const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FontWeight fontWeight_buf = {}; + fontWeight_buf.tag = fontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) { - translate_buf.value = valueDeserializer.readTranslateOptions(); + fontWeight_buf.value = static_cast(valueDeserializer.readInt32()); } - value.translate = translate_buf; - const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ScaleOptions scale_buf = {}; - scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) + value.fontWeight = fontWeight_buf; + const auto fontStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FontStyle fontStyle_buf = {}; + fontStyle_buf.tag = fontStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontStyle_buf_runtimeType)) { - scale_buf.value = valueDeserializer.readScaleOptions(); + fontStyle_buf.value = static_cast(valueDeserializer.readInt32()); } - value.scale = scale_buf; - const auto rotate_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_RotateOptions rotate_buf = {}; - rotate_buf.tag = rotate_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (rotate_buf_runtimeType)) + value.fontStyle = fontStyle_buf; + const auto baseline_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextBaseline baseline_buf = {}; + baseline_buf.tag = baseline_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (baseline_buf_runtimeType)) { - rotate_buf.value = valueDeserializer.readRotateOptions(); + baseline_buf.value = static_cast(valueDeserializer.readInt32()); } - value.rotate = rotate_buf; - return value; - } - Ark_UnderlineColor readUnderlineColor() - { - Ark_UnderlineColor value = {}; - Deserializer& valueDeserializer = *this; - const auto typing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor typing_buf = {}; - typing_buf.tag = typing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (typing_buf_runtimeType)) + value.baseline = baseline_buf; + const auto fontFamilies_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_String fontFamilies_buf = {}; + fontFamilies_buf.tag = fontFamilies_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontFamilies_buf_runtimeType)) { - const Ark_Int8 typing_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor typing_buf_ = {}; - typing_buf_.selector = typing_buf__selector; - if (typing_buf__selector == 0) { - typing_buf_.selector = 0; - typing_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (typing_buf__selector == 1) { - typing_buf_.selector = 1; - typing_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (typing_buf__selector == 2) { - typing_buf_.selector = 2; - typing_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (typing_buf__selector == 3) { - typing_buf_.selector = 3; - typing_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for typing_buf_ has to be chosen through deserialisation."); + const Ark_Int32 fontFamilies_buf__length = valueDeserializer.readInt32(); + Array_String fontFamilies_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&fontFamilies_buf_, fontFamilies_buf__length); + for (int fontFamilies_buf__i = 0; fontFamilies_buf__i < fontFamilies_buf__length; fontFamilies_buf__i++) { + fontFamilies_buf_.array[fontFamilies_buf__i] = static_cast(valueDeserializer.readString()); } - typing_buf.value = static_cast(typing_buf_); + fontFamilies_buf.value = fontFamilies_buf_; } - value.typing = typing_buf; - const auto normal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor normal_buf = {}; - normal_buf.tag = normal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (normal_buf_runtimeType)) + value.fontFamilies = fontFamilies_buf; + const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fontSize_buf = {}; + fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) { - const Ark_Int8 normal_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor normal_buf_ = {}; - normal_buf_.selector = normal_buf__selector; - if (normal_buf__selector == 0) { - normal_buf_.selector = 0; - normal_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (normal_buf__selector == 1) { - normal_buf_.selector = 1; - normal_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (normal_buf__selector == 2) { - normal_buf_.selector = 2; - normal_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (normal_buf__selector == 3) { - normal_buf_.selector = 3; - normal_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for normal_buf_ has to be chosen through deserialisation."); - } - normal_buf.value = static_cast(normal_buf_); + fontSize_buf.value = static_cast(valueDeserializer.readNumber()); } - value.normal = normal_buf; - const auto error_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor error_buf = {}; - error_buf.tag = error_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) + value.fontSize = fontSize_buf; + const auto letterSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number letterSpacing_buf = {}; + letterSpacing_buf.tag = letterSpacing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (letterSpacing_buf_runtimeType)) { - const Ark_Int8 error_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor error_buf_ = {}; - error_buf_.selector = error_buf__selector; - if (error_buf__selector == 0) { - error_buf_.selector = 0; - error_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (error_buf__selector == 1) { - error_buf_.selector = 1; - error_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (error_buf__selector == 2) { - error_buf_.selector = 2; - error_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (error_buf__selector == 3) { - error_buf_.selector = 3; - error_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for error_buf_ has to be chosen through deserialisation."); - } - error_buf.value = static_cast(error_buf_); + letterSpacing_buf.value = static_cast(valueDeserializer.readNumber()); } - value.error = error_buf; - const auto disable_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor disable_buf = {}; - disable_buf.tag = disable_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (disable_buf_runtimeType)) + value.letterSpacing = letterSpacing_buf; + const auto wordSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number wordSpacing_buf = {}; + wordSpacing_buf.tag = wordSpacing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (wordSpacing_buf_runtimeType)) { - const Ark_Int8 disable_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor disable_buf_ = {}; - disable_buf_.selector = disable_buf__selector; - if (disable_buf__selector == 0) { - disable_buf_.selector = 0; - disable_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (disable_buf__selector == 1) { - disable_buf_.selector = 1; - disable_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (disable_buf__selector == 2) { - disable_buf_.selector = 2; - disable_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (disable_buf__selector == 3) { - disable_buf_.selector = 3; - disable_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for disable_buf_ has to be chosen through deserialisation."); - } - disable_buf.value = static_cast(disable_buf_); + wordSpacing_buf.value = static_cast(valueDeserializer.readNumber()); } - value.disable = disable_buf; - return value; - } - Ark_VideoOptions readVideoOptions() - { - Ark_VideoOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto src_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Resource src_buf = {}; - src_buf.tag = src_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (src_buf_runtimeType)) + value.wordSpacing = wordSpacing_buf; + const auto heightScale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number heightScale_buf = {}; + heightScale_buf.tag = heightScale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (heightScale_buf_runtimeType)) { - const Ark_Int8 src_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Resource src_buf_ = {}; - src_buf_.selector = src_buf__selector; - if (src_buf__selector == 0) { - src_buf_.selector = 0; - src_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (src_buf__selector == 1) { - src_buf_.selector = 1; - src_buf_.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for src_buf_ has to be chosen through deserialisation."); - } - src_buf.value = static_cast(src_buf_); + heightScale_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.heightScale = heightScale_buf; + const auto halfLeading_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean halfLeading_buf = {}; + halfLeading_buf.tag = halfLeading_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (halfLeading_buf_runtimeType)) + { + halfLeading_buf.value = valueDeserializer.readBoolean(); + } + value.halfLeading = halfLeading_buf; + const auto heightOnly_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean heightOnly_buf = {}; + heightOnly_buf.tag = heightOnly_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (heightOnly_buf_runtimeType)) + { + heightOnly_buf.value = valueDeserializer.readBoolean(); + } + value.heightOnly = heightOnly_buf; + const auto ellipsis_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String ellipsis_buf = {}; + ellipsis_buf.tag = ellipsis_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (ellipsis_buf_runtimeType)) + { + ellipsis_buf.value = static_cast(valueDeserializer.readString()); + } + value.ellipsis = ellipsis_buf; + const auto ellipsisMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_EllipsisMode ellipsisMode_buf = {}; + ellipsisMode_buf.tag = ellipsisMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (ellipsisMode_buf_runtimeType)) + { + ellipsisMode_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.ellipsisMode = ellipsisMode_buf; + const auto locale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String locale_buf = {}; + locale_buf.tag = locale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (locale_buf_runtimeType)) + { + locale_buf.value = static_cast(valueDeserializer.readString()); } - value.src = src_buf; - const auto currentProgressRate_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String_PlaybackSpeed currentProgressRate_buf = {}; - currentProgressRate_buf.tag = currentProgressRate_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (currentProgressRate_buf_runtimeType)) + value.locale = locale_buf; + const auto baselineShift_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number baselineShift_buf = {}; + baselineShift_buf.tag = baselineShift_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (baselineShift_buf_runtimeType)) { - const Ark_Int8 currentProgressRate_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String_PlaybackSpeed currentProgressRate_buf_ = {}; - currentProgressRate_buf_.selector = currentProgressRate_buf__selector; - if (currentProgressRate_buf__selector == 0) { - currentProgressRate_buf_.selector = 0; - currentProgressRate_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (currentProgressRate_buf__selector == 1) { - currentProgressRate_buf_.selector = 1; - currentProgressRate_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else if (currentProgressRate_buf__selector == 2) { - currentProgressRate_buf_.selector = 2; - currentProgressRate_buf_.value2 = static_cast(valueDeserializer.readInt32()); - } - else { - INTEROP_FATAL("One of the branches for currentProgressRate_buf_ has to be chosen through deserialisation."); - } - currentProgressRate_buf.value = static_cast(currentProgressRate_buf_); + baselineShift_buf.value = static_cast(valueDeserializer.readNumber()); } - value.currentProgressRate = currentProgressRate_buf; - const auto previewUri_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_PixelMap_Resource previewUri_buf = {}; - previewUri_buf.tag = previewUri_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (previewUri_buf_runtimeType)) + value.baselineShift = baselineShift_buf; + const auto fontFeatures_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_FontFeature fontFeatures_buf = {}; + fontFeatures_buf.tag = fontFeatures_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontFeatures_buf_runtimeType)) { - const Ark_Int8 previewUri_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_PixelMap_Resource previewUri_buf_ = {}; - previewUri_buf_.selector = previewUri_buf__selector; - if (previewUri_buf__selector == 0) { - previewUri_buf_.selector = 0; - previewUri_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (previewUri_buf__selector == 1) { - previewUri_buf_.selector = 1; - previewUri_buf_.value1 = static_cast(valueDeserializer.readPixelMap()); - } - else if (previewUri_buf__selector == 2) { - previewUri_buf_.selector = 2; - previewUri_buf_.value2 = valueDeserializer.readResource(); + const Ark_Int32 fontFeatures_buf__length = valueDeserializer.readInt32(); + Array_FontFeature fontFeatures_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&fontFeatures_buf_, fontFeatures_buf__length); + for (int fontFeatures_buf__i = 0; fontFeatures_buf__i < fontFeatures_buf__length; fontFeatures_buf__i++) { + fontFeatures_buf_.array[fontFeatures_buf__i] = valueDeserializer.readFontFeature(); } - else { - INTEROP_FATAL("One of the branches for previewUri_buf_ has to be chosen through deserialisation."); + fontFeatures_buf.value = fontFeatures_buf_; + } + value.fontFeatures = fontFeatures_buf; + const auto textShadows_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_TextShadow textShadows_buf = {}; + textShadows_buf.tag = textShadows_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textShadows_buf_runtimeType)) + { + const Ark_Int32 textShadows_buf__length = valueDeserializer.readInt32(); + Array_TextShadow textShadows_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&textShadows_buf_, textShadows_buf__length); + for (int textShadows_buf__i = 0; textShadows_buf__i < textShadows_buf__length; textShadows_buf__i++) { + textShadows_buf_.array[textShadows_buf__i] = valueDeserializer.readTextShadow(); } - previewUri_buf.value = static_cast(previewUri_buf_); + textShadows_buf.value = textShadows_buf_; } - value.previewUri = previewUri_buf; - const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_VideoController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + value.textShadows = textShadows_buf; + const auto backgroundRect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_RectStyle backgroundRect_buf = {}; + backgroundRect_buf.tag = backgroundRect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundRect_buf_runtimeType)) { - controller_buf.value = static_cast(valueDeserializer.readVideoController()); + backgroundRect_buf.value = valueDeserializer.readRectStyle(); } - value.controller = controller_buf; - const auto imageAIOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ImageAIOptions imageAIOptions_buf = {}; - imageAIOptions_buf.tag = imageAIOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (imageAIOptions_buf_runtimeType)) + value.backgroundRect = backgroundRect_buf; + const auto fontVariations_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_FontVariation fontVariations_buf = {}; + fontVariations_buf.tag = fontVariations_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontVariations_buf_runtimeType)) { - imageAIOptions_buf.value = valueDeserializer.readImageAIOptions(); + const Ark_Int32 fontVariations_buf__length = valueDeserializer.readInt32(); + Array_FontVariation fontVariations_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&fontVariations_buf_, fontVariations_buf__length); + for (int fontVariations_buf__i = 0; fontVariations_buf__i < fontVariations_buf__length; fontVariations_buf__i++) { + fontVariations_buf_.array[fontVariations_buf__i] = valueDeserializer.readFontVariation(); + } + fontVariations_buf.value = fontVariations_buf_; } - value.imageAIOptions = imageAIOptions_buf; + value.fontVariations = fontVariations_buf; return value; } - Ark_WeekStyle readWeekStyle() + Ark_TextDataDetectorConfig readTextDataDetectorConfig() { - Ark_WeekStyle value = {}; + Ark_TextDataDetectorConfig value = {}; Deserializer& valueDeserializer = *this; - const auto weekColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor weekColor_buf = {}; - weekColor_buf.tag = weekColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (weekColor_buf_runtimeType)) + const Ark_Int32 types_buf_length = valueDeserializer.readInt32(); + Array_TextDataDetectorType types_buf = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&types_buf, types_buf_length); + for (int types_buf_i = 0; types_buf_i < types_buf_length; types_buf_i++) { + types_buf.array[types_buf_i] = static_cast(valueDeserializer.readInt32()); + } + value.types = types_buf; + const auto onDetectResultUpdate_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_String_Void onDetectResultUpdate_buf = {}; + onDetectResultUpdate_buf.tag = onDetectResultUpdate_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDetectResultUpdate_buf_runtimeType)) { - const Ark_Int8 weekColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor weekColor_buf_ = {}; - weekColor_buf_.selector = weekColor_buf__selector; - if (weekColor_buf__selector == 0) { - weekColor_buf_.selector = 0; - weekColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (weekColor_buf__selector == 1) { - weekColor_buf_.selector = 1; - weekColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (weekColor_buf__selector == 2) { - weekColor_buf_.selector = 2; - weekColor_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (weekColor_buf__selector == 3) { - weekColor_buf_.selector = 3; - weekColor_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for weekColor_buf_ has to be chosen through deserialisation."); - } - weekColor_buf.value = static_cast(weekColor_buf_); + onDetectResultUpdate_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))}; } - value.weekColor = weekColor_buf; - const auto weekendDayColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor weekendDayColor_buf = {}; - weekendDayColor_buf.tag = weekendDayColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (weekendDayColor_buf_runtimeType)) + value.onDetectResultUpdate = onDetectResultUpdate_buf; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) { - const Ark_Int8 weekendDayColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor weekendDayColor_buf_ = {}; - weekendDayColor_buf_.selector = weekendDayColor_buf__selector; - if (weekendDayColor_buf__selector == 0) { - weekendDayColor_buf_.selector = 0; - weekendDayColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + color_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (weekendDayColor_buf__selector == 1) { - weekendDayColor_buf_.selector = 1; - weekendDayColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (weekendDayColor_buf__selector == 2) { - weekendDayColor_buf_.selector = 2; - weekendDayColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (color_buf__selector == 2) { + color_buf_.selector = 2; + color_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (weekendDayColor_buf__selector == 3) { - weekendDayColor_buf_.selector = 3; - weekendDayColor_buf_.value3 = valueDeserializer.readResource(); + else if (color_buf__selector == 3) { + color_buf_.selector = 3; + color_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for weekendDayColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); } - weekendDayColor_buf.value = static_cast(weekendDayColor_buf_); + color_buf.value = static_cast(color_buf_); } - value.weekendDayColor = weekendDayColor_buf; - const auto weekendLunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor weekendLunarColor_buf = {}; - weekendLunarColor_buf.tag = weekendLunarColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (weekendLunarColor_buf_runtimeType)) + value.color = color_buf; + const auto decoration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DecorationStyleInterface decoration_buf = {}; + decoration_buf.tag = decoration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (decoration_buf_runtimeType)) { - const Ark_Int8 weekendLunarColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor weekendLunarColor_buf_ = {}; - weekendLunarColor_buf_.selector = weekendLunarColor_buf__selector; - if (weekendLunarColor_buf__selector == 0) { - weekendLunarColor_buf_.selector = 0; - weekendLunarColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (weekendLunarColor_buf__selector == 1) { - weekendLunarColor_buf_.selector = 1; - weekendLunarColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (weekendLunarColor_buf__selector == 2) { - weekendLunarColor_buf_.selector = 2; - weekendLunarColor_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (weekendLunarColor_buf__selector == 3) { - weekendLunarColor_buf_.selector = 3; - weekendLunarColor_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for weekendLunarColor_buf_ has to be chosen through deserialisation."); - } - weekendLunarColor_buf.value = static_cast(weekendLunarColor_buf_); + decoration_buf.value = valueDeserializer.readDecorationStyleInterface(); } - value.weekendLunarColor = weekendLunarColor_buf; - const auto weekFontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number weekFontSize_buf = {}; - weekFontSize_buf.tag = weekFontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (weekFontSize_buf_runtimeType)) + value.decoration = decoration_buf; + return value; + } + Ark_TipsOptions readTipsOptions() + { + Ark_TipsOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto appearingTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number appearingTime_buf = {}; + appearingTime_buf.tag = appearingTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (appearingTime_buf_runtimeType)) { - weekFontSize_buf.value = static_cast(valueDeserializer.readNumber()); + appearingTime_buf.value = static_cast(valueDeserializer.readNumber()); } - value.weekFontSize = weekFontSize_buf; - const auto weekHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number weekHeight_buf = {}; - weekHeight_buf.tag = weekHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (weekHeight_buf_runtimeType)) + value.appearingTime = appearingTime_buf; + const auto disappearingTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number disappearingTime_buf = {}; + disappearingTime_buf.tag = disappearingTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (disappearingTime_buf_runtimeType)) { - weekHeight_buf.value = static_cast(valueDeserializer.readNumber()); + disappearingTime_buf.value = static_cast(valueDeserializer.readNumber()); } - value.weekHeight = weekHeight_buf; - const auto weekWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number weekWidth_buf = {}; - weekWidth_buf.tag = weekWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (weekWidth_buf_runtimeType)) + value.disappearingTime = disappearingTime_buf; + const auto appearingTimeWithContinuousOperation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number appearingTimeWithContinuousOperation_buf = {}; + appearingTimeWithContinuousOperation_buf.tag = appearingTimeWithContinuousOperation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (appearingTimeWithContinuousOperation_buf_runtimeType)) { - weekWidth_buf.value = static_cast(valueDeserializer.readNumber()); + appearingTimeWithContinuousOperation_buf.value = static_cast(valueDeserializer.readNumber()); } - value.weekWidth = weekWidth_buf; - const auto weekAndDayRowSpace_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number weekAndDayRowSpace_buf = {}; - weekAndDayRowSpace_buf.tag = weekAndDayRowSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (weekAndDayRowSpace_buf_runtimeType)) + value.appearingTimeWithContinuousOperation = appearingTimeWithContinuousOperation_buf; + const auto disappearingTimeWithContinuousOperation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number disappearingTimeWithContinuousOperation_buf = {}; + disappearingTimeWithContinuousOperation_buf.tag = disappearingTimeWithContinuousOperation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (disappearingTimeWithContinuousOperation_buf_runtimeType)) { - weekAndDayRowSpace_buf.value = static_cast(valueDeserializer.readNumber()); + disappearingTimeWithContinuousOperation_buf.value = static_cast(valueDeserializer.readNumber()); } - value.weekAndDayRowSpace = weekAndDayRowSpace_buf; - return value; - } - Ark_WorkStateStyle readWorkStateStyle() - { - Ark_WorkStateStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto workDayMarkColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor workDayMarkColor_buf = {}; - workDayMarkColor_buf.tag = workDayMarkColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (workDayMarkColor_buf_runtimeType)) + value.disappearingTimeWithContinuousOperation = disappearingTimeWithContinuousOperation_buf; + const auto enableArrow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableArrow_buf = {}; + enableArrow_buf.tag = enableArrow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableArrow_buf_runtimeType)) { - const Ark_Int8 workDayMarkColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor workDayMarkColor_buf_ = {}; - workDayMarkColor_buf_.selector = workDayMarkColor_buf__selector; - if (workDayMarkColor_buf__selector == 0) { - workDayMarkColor_buf_.selector = 0; - workDayMarkColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (workDayMarkColor_buf__selector == 1) { - workDayMarkColor_buf_.selector = 1; - workDayMarkColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + enableArrow_buf.value = valueDeserializer.readBoolean(); + } + value.enableArrow = enableArrow_buf; + const auto arrowPointPosition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ArrowPointPosition arrowPointPosition_buf = {}; + arrowPointPosition_buf.tag = arrowPointPosition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowPointPosition_buf_runtimeType)) + { + arrowPointPosition_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.arrowPointPosition = arrowPointPosition_buf; + const auto arrowWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension arrowWidth_buf = {}; + arrowWidth_buf.tag = arrowWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowWidth_buf_runtimeType)) + { + const Ark_Int8 arrowWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension arrowWidth_buf_ = {}; + arrowWidth_buf_.selector = arrowWidth_buf__selector; + if (arrowWidth_buf__selector == 0) { + arrowWidth_buf_.selector = 0; + arrowWidth_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (workDayMarkColor_buf__selector == 2) { - workDayMarkColor_buf_.selector = 2; - workDayMarkColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (arrowWidth_buf__selector == 1) { + arrowWidth_buf_.selector = 1; + arrowWidth_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (workDayMarkColor_buf__selector == 3) { - workDayMarkColor_buf_.selector = 3; - workDayMarkColor_buf_.value3 = valueDeserializer.readResource(); + else if (arrowWidth_buf__selector == 2) { + arrowWidth_buf_.selector = 2; + arrowWidth_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for workDayMarkColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for arrowWidth_buf_ has to be chosen through deserialisation."); } - workDayMarkColor_buf.value = static_cast(workDayMarkColor_buf_); + arrowWidth_buf.value = static_cast(arrowWidth_buf_); } - value.workDayMarkColor = workDayMarkColor_buf; - const auto offDayMarkColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor offDayMarkColor_buf = {}; - offDayMarkColor_buf.tag = offDayMarkColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offDayMarkColor_buf_runtimeType)) + value.arrowWidth = arrowWidth_buf; + const auto arrowHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension arrowHeight_buf = {}; + arrowHeight_buf.tag = arrowHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowHeight_buf_runtimeType)) { - const Ark_Int8 offDayMarkColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor offDayMarkColor_buf_ = {}; - offDayMarkColor_buf_.selector = offDayMarkColor_buf__selector; - if (offDayMarkColor_buf__selector == 0) { - offDayMarkColor_buf_.selector = 0; - offDayMarkColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (offDayMarkColor_buf__selector == 1) { - offDayMarkColor_buf_.selector = 1; - offDayMarkColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 arrowHeight_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension arrowHeight_buf_ = {}; + arrowHeight_buf_.selector = arrowHeight_buf__selector; + if (arrowHeight_buf__selector == 0) { + arrowHeight_buf_.selector = 0; + arrowHeight_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (offDayMarkColor_buf__selector == 2) { - offDayMarkColor_buf_.selector = 2; - offDayMarkColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (arrowHeight_buf__selector == 1) { + arrowHeight_buf_.selector = 1; + arrowHeight_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (offDayMarkColor_buf__selector == 3) { - offDayMarkColor_buf_.selector = 3; - offDayMarkColor_buf_.value3 = valueDeserializer.readResource(); + else if (arrowHeight_buf__selector == 2) { + arrowHeight_buf_.selector = 2; + arrowHeight_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for offDayMarkColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for arrowHeight_buf_ has to be chosen through deserialisation."); } - offDayMarkColor_buf.value = static_cast(offDayMarkColor_buf_); - } - value.offDayMarkColor = offDayMarkColor_buf; - const auto workDayMarkSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number workDayMarkSize_buf = {}; - workDayMarkSize_buf.tag = workDayMarkSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (workDayMarkSize_buf_runtimeType)) - { - workDayMarkSize_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.workDayMarkSize = workDayMarkSize_buf; - const auto offDayMarkSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number offDayMarkSize_buf = {}; - offDayMarkSize_buf.tag = offDayMarkSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offDayMarkSize_buf_runtimeType)) - { - offDayMarkSize_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.offDayMarkSize = offDayMarkSize_buf; - const auto workStateWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number workStateWidth_buf = {}; - workStateWidth_buf.tag = workStateWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (workStateWidth_buf_runtimeType)) - { - workStateWidth_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.workStateWidth = workStateWidth_buf; - const auto workStateHorizontalMovingDistance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number workStateHorizontalMovingDistance_buf = {}; - workStateHorizontalMovingDistance_buf.tag = workStateHorizontalMovingDistance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (workStateHorizontalMovingDistance_buf_runtimeType)) - { - workStateHorizontalMovingDistance_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.workStateHorizontalMovingDistance = workStateHorizontalMovingDistance_buf; - const auto workStateVerticalMovingDistance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number workStateVerticalMovingDistance_buf = {}; - workStateVerticalMovingDistance_buf.tag = workStateVerticalMovingDistance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (workStateVerticalMovingDistance_buf_runtimeType)) - { - workStateVerticalMovingDistance_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.workStateVerticalMovingDistance = workStateVerticalMovingDistance_buf; - return value; - } - Ark_XComponentOptions readXComponentOptions() - { - Ark_XComponentOptions value = {}; - Deserializer& valueDeserializer = *this; - value.type = static_cast(valueDeserializer.readInt32()); - value.controller = static_cast(valueDeserializer.readXComponentController()); - const auto imageAIOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ImageAIOptions imageAIOptions_buf = {}; - imageAIOptions_buf.tag = imageAIOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (imageAIOptions_buf_runtimeType)) - { - imageAIOptions_buf.value = valueDeserializer.readImageAIOptions(); + arrowHeight_buf.value = static_cast(arrowHeight_buf_); } - value.imageAIOptions = imageAIOptions_buf; + value.arrowHeight = arrowHeight_buf; return value; } Ark_ActionSheetOptions readActionSheetOptions() @@ -105760,6 +113085,22 @@ class Deserializer : public DeserializerBase { backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; const auto onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_DismissDialogAction_Void onWillDismiss_buf = {}; onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -105787,7 +113128,7 @@ class Deserializer : public DeserializerBase { if (cornerRadius_buf__selector == 0) { cornerRadius_buf_.selector = 0; const Ark_Int8 cornerRadius_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u = {}; + Ark_Dimension cornerRadius_buf__u = {}; cornerRadius_buf__u.selector = cornerRadius_buf__u_selector; if (cornerRadius_buf__u_selector == 0) { cornerRadius_buf__u.selector = 0; @@ -105804,116 +113145,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for cornerRadius_buf__u has to be chosen through deserialisation."); } - cornerRadius_buf_.value0 = static_cast(cornerRadius_buf__u); + cornerRadius_buf_.value0 = static_cast(cornerRadius_buf__u); } else if (cornerRadius_buf__selector == 1) { cornerRadius_buf_.selector = 1; - Ark_BorderRadiuses cornerRadius_buf__u = {}; - const auto cornerRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_topLeft_buf = {}; - cornerRadius_buf__u_topLeft_buf.tag = cornerRadius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_topLeft_buf_ = {}; - cornerRadius_buf__u_topLeft_buf_.selector = cornerRadius_buf__u_topLeft_buf__selector; - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_.selector = 0; - cornerRadius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_.selector = 1; - cornerRadius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_.selector = 2; - cornerRadius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_topLeft_buf.value = static_cast(cornerRadius_buf__u_topLeft_buf_); - } - cornerRadius_buf__u.topLeft = cornerRadius_buf__u_topLeft_buf; - const auto cornerRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_topRight_buf = {}; - cornerRadius_buf__u_topRight_buf.tag = cornerRadius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_topRight_buf_ = {}; - cornerRadius_buf__u_topRight_buf_.selector = cornerRadius_buf__u_topRight_buf__selector; - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_.selector = 0; - cornerRadius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_.selector = 1; - cornerRadius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_.selector = 2; - cornerRadius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_topRight_buf.value = static_cast(cornerRadius_buf__u_topRight_buf_); - } - cornerRadius_buf__u.topRight = cornerRadius_buf__u_topRight_buf; - const auto cornerRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_bottomLeft_buf = {}; - cornerRadius_buf__u_bottomLeft_buf.tag = cornerRadius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_bottomLeft_buf_ = {}; - cornerRadius_buf__u_bottomLeft_buf_.selector = cornerRadius_buf__u_bottomLeft_buf__selector; - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 0; - cornerRadius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 1; - cornerRadius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 2; - cornerRadius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_bottomLeft_buf.value = static_cast(cornerRadius_buf__u_bottomLeft_buf_); - } - cornerRadius_buf__u.bottomLeft = cornerRadius_buf__u_bottomLeft_buf; - const auto cornerRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_bottomRight_buf = {}; - cornerRadius_buf__u_bottomRight_buf.tag = cornerRadius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_bottomRight_buf_ = {}; - cornerRadius_buf__u_bottomRight_buf_.selector = cornerRadius_buf__u_bottomRight_buf__selector; - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_.selector = 0; - cornerRadius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_.selector = 1; - cornerRadius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_.selector = 2; - cornerRadius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_bottomRight_buf.value = static_cast(cornerRadius_buf__u_bottomRight_buf_); - } - cornerRadius_buf__u.bottomRight = cornerRadius_buf__u_bottomRight_buf; - cornerRadius_buf_.value1 = cornerRadius_buf__u; + cornerRadius_buf_.value1 = valueDeserializer.readBorderRadiuses(); } else if (cornerRadius_buf__selector == 2) { cornerRadius_buf_.selector = 2; @@ -105926,12 +113162,12 @@ class Deserializer : public DeserializerBase { } value.cornerRadius = cornerRadius_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf = {}; + Opt_Dimension width_buf = {}; width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf_ = {}; + Ark_Dimension width_buf_ = {}; width_buf_.selector = width_buf__selector; if (width_buf__selector == 0) { width_buf_.selector = 0; @@ -105948,16 +113184,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + width_buf.value = static_cast(width_buf_); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource height_buf = {}; + Opt_Dimension height_buf = {}; height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_buf_ = {}; + Ark_Dimension height_buf_ = {}; height_buf_.selector = height_buf__selector; if (height_buf__selector == 0) { height_buf_.selector = 0; @@ -105974,7 +113210,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + height_buf.value = static_cast(height_buf_); } value.height = height_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -105988,7 +113224,7 @@ class Deserializer : public DeserializerBase { if (borderWidth_buf__selector == 0) { borderWidth_buf_.selector = 0; const Ark_Int8 borderWidth_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u = {}; + Ark_Dimension borderWidth_buf__u = {}; borderWidth_buf__u.selector = borderWidth_buf__u_selector; if (borderWidth_buf__u_selector == 0) { borderWidth_buf__u.selector = 0; @@ -106005,116 +113241,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for borderWidth_buf__u has to be chosen through deserialisation."); } - borderWidth_buf_.value0 = static_cast(borderWidth_buf__u); + borderWidth_buf_.value0 = static_cast(borderWidth_buf__u); } else if (borderWidth_buf__selector == 1) { borderWidth_buf_.selector = 1; - Ark_EdgeWidths borderWidth_buf__u = {}; - const auto borderWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_top_buf = {}; - borderWidth_buf__u_top_buf.tag = borderWidth_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_top_buf_ = {}; - borderWidth_buf__u_top_buf_.selector = borderWidth_buf__u_top_buf__selector; - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_.selector = 0; - borderWidth_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_.selector = 1; - borderWidth_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_.selector = 2; - borderWidth_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_top_buf.value = static_cast(borderWidth_buf__u_top_buf_); - } - borderWidth_buf__u.top = borderWidth_buf__u_top_buf; - const auto borderWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_right_buf = {}; - borderWidth_buf__u_right_buf.tag = borderWidth_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_right_buf_ = {}; - borderWidth_buf__u_right_buf_.selector = borderWidth_buf__u_right_buf__selector; - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_.selector = 0; - borderWidth_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_.selector = 1; - borderWidth_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_.selector = 2; - borderWidth_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_right_buf.value = static_cast(borderWidth_buf__u_right_buf_); - } - borderWidth_buf__u.right = borderWidth_buf__u_right_buf; - const auto borderWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_bottom_buf = {}; - borderWidth_buf__u_bottom_buf.tag = borderWidth_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_bottom_buf_ = {}; - borderWidth_buf__u_bottom_buf_.selector = borderWidth_buf__u_bottom_buf__selector; - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_.selector = 0; - borderWidth_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_.selector = 1; - borderWidth_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_.selector = 2; - borderWidth_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_bottom_buf.value = static_cast(borderWidth_buf__u_bottom_buf_); - } - borderWidth_buf__u.bottom = borderWidth_buf__u_bottom_buf; - const auto borderWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_left_buf = {}; - borderWidth_buf__u_left_buf.tag = borderWidth_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_left_buf_ = {}; - borderWidth_buf__u_left_buf_.selector = borderWidth_buf__u_left_buf__selector; - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_.selector = 0; - borderWidth_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_.selector = 1; - borderWidth_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_.selector = 2; - borderWidth_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_left_buf.value = static_cast(borderWidth_buf__u_left_buf_); - } - borderWidth_buf__u.left = borderWidth_buf__u_left_buf; - borderWidth_buf_.value1 = borderWidth_buf__u; + borderWidth_buf_.value1 = valueDeserializer.readEdgeWidths(); } else if (borderWidth_buf__selector == 2) { borderWidth_buf_.selector = 2; @@ -106162,128 +113293,7 @@ class Deserializer : public DeserializerBase { } else if (borderColor_buf__selector == 1) { borderColor_buf_.selector = 1; - Ark_EdgeColors borderColor_buf__u = {}; - const auto borderColor_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_top_buf = {}; - borderColor_buf__u_top_buf.tag = borderColor_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_top_buf_ = {}; - borderColor_buf__u_top_buf_.selector = borderColor_buf__u_top_buf__selector; - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_.selector = 0; - borderColor_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_.selector = 1; - borderColor_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_.selector = 2; - borderColor_buf__u_top_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_.selector = 3; - borderColor_buf__u_top_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_top_buf.value = static_cast(borderColor_buf__u_top_buf_); - } - borderColor_buf__u.top = borderColor_buf__u_top_buf; - const auto borderColor_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_right_buf = {}; - borderColor_buf__u_right_buf.tag = borderColor_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_right_buf_ = {}; - borderColor_buf__u_right_buf_.selector = borderColor_buf__u_right_buf__selector; - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_.selector = 0; - borderColor_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_.selector = 1; - borderColor_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_.selector = 2; - borderColor_buf__u_right_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_.selector = 3; - borderColor_buf__u_right_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_right_buf.value = static_cast(borderColor_buf__u_right_buf_); - } - borderColor_buf__u.right = borderColor_buf__u_right_buf; - const auto borderColor_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_bottom_buf = {}; - borderColor_buf__u_bottom_buf.tag = borderColor_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_bottom_buf_ = {}; - borderColor_buf__u_bottom_buf_.selector = borderColor_buf__u_bottom_buf__selector; - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_.selector = 0; - borderColor_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_.selector = 1; - borderColor_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_.selector = 2; - borderColor_buf__u_bottom_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_.selector = 3; - borderColor_buf__u_bottom_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_bottom_buf.value = static_cast(borderColor_buf__u_bottom_buf_); - } - borderColor_buf__u.bottom = borderColor_buf__u_bottom_buf; - const auto borderColor_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_left_buf = {}; - borderColor_buf__u_left_buf.tag = borderColor_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_left_buf_ = {}; - borderColor_buf__u_left_buf_.selector = borderColor_buf__u_left_buf__selector; - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_.selector = 0; - borderColor_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_.selector = 1; - borderColor_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_.selector = 2; - borderColor_buf__u_left_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_.selector = 3; - borderColor_buf__u_left_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_left_buf.value = static_cast(borderColor_buf__u_left_buf_); - } - borderColor_buf__u.left = borderColor_buf__u_left_buf; - borderColor_buf_.value1 = borderColor_buf__u; + borderColor_buf_.value1 = valueDeserializer.readEdgeColors(); } else if (borderColor_buf__selector == 2) { borderColor_buf_.selector = 2; @@ -106355,6 +113365,70 @@ class Deserializer : public DeserializerBase { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } value.hoverModeArea = hoverModeArea_buf; + const auto onDidAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDidAppear_buf = {}; + onDidAppear_buf.tag = onDidAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDidAppear = onDidAppear_buf; + const auto onDidDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDidDisappear_buf = {}; + onDidDisappear_buf.tag = onDidDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDidDisappear = onDidDisappear_buf; + const auto onWillAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillAppear_buf = {}; + onWillAppear_buf.tag = onWillAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillAppear = onWillAppear_buf; + const auto onWillDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillDisappear_buf = {}; + onWillDisappear_buf.tag = onWillDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillDisappear = onWillDisappear_buf; + const auto levelMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LevelMode levelMode_buf = {}; + levelMode_buf.tag = levelMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf.value = valueDeserializer.readLevelMode(); + } + value.levelMode = levelMode_buf; + const auto levelUniqueId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number levelUniqueId_buf = {}; + levelUniqueId_buf.tag = levelUniqueId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.levelUniqueId = levelUniqueId_buf; + const auto immersiveMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImmersiveMode immersiveMode_buf = {}; + immersiveMode_buf.tag = immersiveMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf.value = valueDeserializer.readImmersiveMode(); + } + value.immersiveMode = immersiveMode_buf; + const auto levelOrder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LevelOrder levelOrder_buf = {}; + levelOrder_buf.tag = levelOrder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf.value = valueDeserializer.readLevelOrder(); + } + value.levelOrder = levelOrder_buf; return value; } Ark_AlertDialogParamWithButtons readAlertDialogParamWithButtons() @@ -106449,46 +113523,7 @@ class Deserializer : public DeserializerBase { offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - Ark_Offset offset_buf_ = {}; - const Ark_Int8 offset_buf__dx_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dx_buf = {}; - offset_buf__dx_buf.selector = offset_buf__dx_buf_selector; - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf.selector = 0; - offset_buf__dx_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf.selector = 1; - offset_buf__dx_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf.selector = 2; - offset_buf__dx_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation."); - } - offset_buf_.dx = static_cast(offset_buf__dx_buf); - const Ark_Int8 offset_buf__dy_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dy_buf = {}; - offset_buf__dy_buf.selector = offset_buf__dy_buf_selector; - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf.selector = 0; - offset_buf__dy_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf.selector = 1; - offset_buf__dy_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf.selector = 2; - offset_buf__dy_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation."); - } - offset_buf_.dy = static_cast(offset_buf__dy_buf); - offset_buf.value = offset_buf_; + offset_buf.value = valueDeserializer.readOffset(); } value.offset = offset_buf; const auto gridCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -106561,6 +113596,22 @@ class Deserializer : public DeserializerBase { backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; const auto onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_DismissDialogAction_Void onWillDismiss_buf = {}; onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -106588,7 +113639,7 @@ class Deserializer : public DeserializerBase { if (cornerRadius_buf__selector == 0) { cornerRadius_buf_.selector = 0; const Ark_Int8 cornerRadius_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u = {}; + Ark_Dimension cornerRadius_buf__u = {}; cornerRadius_buf__u.selector = cornerRadius_buf__u_selector; if (cornerRadius_buf__u_selector == 0) { cornerRadius_buf__u.selector = 0; @@ -106605,116 +113656,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for cornerRadius_buf__u has to be chosen through deserialisation."); } - cornerRadius_buf_.value0 = static_cast(cornerRadius_buf__u); + cornerRadius_buf_.value0 = static_cast(cornerRadius_buf__u); } else if (cornerRadius_buf__selector == 1) { cornerRadius_buf_.selector = 1; - Ark_BorderRadiuses cornerRadius_buf__u = {}; - const auto cornerRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_topLeft_buf = {}; - cornerRadius_buf__u_topLeft_buf.tag = cornerRadius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_topLeft_buf_ = {}; - cornerRadius_buf__u_topLeft_buf_.selector = cornerRadius_buf__u_topLeft_buf__selector; - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_.selector = 0; - cornerRadius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_.selector = 1; - cornerRadius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_.selector = 2; - cornerRadius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_topLeft_buf.value = static_cast(cornerRadius_buf__u_topLeft_buf_); - } - cornerRadius_buf__u.topLeft = cornerRadius_buf__u_topLeft_buf; - const auto cornerRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_topRight_buf = {}; - cornerRadius_buf__u_topRight_buf.tag = cornerRadius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_topRight_buf_ = {}; - cornerRadius_buf__u_topRight_buf_.selector = cornerRadius_buf__u_topRight_buf__selector; - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_.selector = 0; - cornerRadius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_.selector = 1; - cornerRadius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_.selector = 2; - cornerRadius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_topRight_buf.value = static_cast(cornerRadius_buf__u_topRight_buf_); - } - cornerRadius_buf__u.topRight = cornerRadius_buf__u_topRight_buf; - const auto cornerRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_bottomLeft_buf = {}; - cornerRadius_buf__u_bottomLeft_buf.tag = cornerRadius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_bottomLeft_buf_ = {}; - cornerRadius_buf__u_bottomLeft_buf_.selector = cornerRadius_buf__u_bottomLeft_buf__selector; - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 0; - cornerRadius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 1; - cornerRadius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 2; - cornerRadius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_bottomLeft_buf.value = static_cast(cornerRadius_buf__u_bottomLeft_buf_); - } - cornerRadius_buf__u.bottomLeft = cornerRadius_buf__u_bottomLeft_buf; - const auto cornerRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_bottomRight_buf = {}; - cornerRadius_buf__u_bottomRight_buf.tag = cornerRadius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_bottomRight_buf_ = {}; - cornerRadius_buf__u_bottomRight_buf_.selector = cornerRadius_buf__u_bottomRight_buf__selector; - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_.selector = 0; - cornerRadius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_.selector = 1; - cornerRadius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_.selector = 2; - cornerRadius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_bottomRight_buf.value = static_cast(cornerRadius_buf__u_bottomRight_buf_); - } - cornerRadius_buf__u.bottomRight = cornerRadius_buf__u_bottomRight_buf; - cornerRadius_buf_.value1 = cornerRadius_buf__u; + cornerRadius_buf_.value1 = valueDeserializer.readBorderRadiuses(); } else if (cornerRadius_buf__selector == 2) { cornerRadius_buf_.selector = 2; @@ -106727,12 +113673,12 @@ class Deserializer : public DeserializerBase { } value.cornerRadius = cornerRadius_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf = {}; + Opt_Dimension width_buf = {}; width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf_ = {}; + Ark_Dimension width_buf_ = {}; width_buf_.selector = width_buf__selector; if (width_buf__selector == 0) { width_buf_.selector = 0; @@ -106749,16 +113695,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + width_buf.value = static_cast(width_buf_); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource height_buf = {}; + Opt_Dimension height_buf = {}; height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_buf_ = {}; + Ark_Dimension height_buf_ = {}; height_buf_.selector = height_buf__selector; if (height_buf__selector == 0) { height_buf_.selector = 0; @@ -106775,7 +113721,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + height_buf.value = static_cast(height_buf_); } value.height = height_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -106789,7 +113735,7 @@ class Deserializer : public DeserializerBase { if (borderWidth_buf__selector == 0) { borderWidth_buf_.selector = 0; const Ark_Int8 borderWidth_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u = {}; + Ark_Dimension borderWidth_buf__u = {}; borderWidth_buf__u.selector = borderWidth_buf__u_selector; if (borderWidth_buf__u_selector == 0) { borderWidth_buf__u.selector = 0; @@ -106806,116 +113752,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for borderWidth_buf__u has to be chosen through deserialisation."); } - borderWidth_buf_.value0 = static_cast(borderWidth_buf__u); + borderWidth_buf_.value0 = static_cast(borderWidth_buf__u); } else if (borderWidth_buf__selector == 1) { borderWidth_buf_.selector = 1; - Ark_EdgeWidths borderWidth_buf__u = {}; - const auto borderWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_top_buf = {}; - borderWidth_buf__u_top_buf.tag = borderWidth_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_top_buf_ = {}; - borderWidth_buf__u_top_buf_.selector = borderWidth_buf__u_top_buf__selector; - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_.selector = 0; - borderWidth_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_.selector = 1; - borderWidth_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_.selector = 2; - borderWidth_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_top_buf.value = static_cast(borderWidth_buf__u_top_buf_); - } - borderWidth_buf__u.top = borderWidth_buf__u_top_buf; - const auto borderWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_right_buf = {}; - borderWidth_buf__u_right_buf.tag = borderWidth_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_right_buf_ = {}; - borderWidth_buf__u_right_buf_.selector = borderWidth_buf__u_right_buf__selector; - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_.selector = 0; - borderWidth_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_.selector = 1; - borderWidth_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_.selector = 2; - borderWidth_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_right_buf.value = static_cast(borderWidth_buf__u_right_buf_); - } - borderWidth_buf__u.right = borderWidth_buf__u_right_buf; - const auto borderWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_bottom_buf = {}; - borderWidth_buf__u_bottom_buf.tag = borderWidth_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_bottom_buf_ = {}; - borderWidth_buf__u_bottom_buf_.selector = borderWidth_buf__u_bottom_buf__selector; - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_.selector = 0; - borderWidth_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_.selector = 1; - borderWidth_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_.selector = 2; - borderWidth_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_bottom_buf.value = static_cast(borderWidth_buf__u_bottom_buf_); - } - borderWidth_buf__u.bottom = borderWidth_buf__u_bottom_buf; - const auto borderWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_left_buf = {}; - borderWidth_buf__u_left_buf.tag = borderWidth_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_left_buf_ = {}; - borderWidth_buf__u_left_buf_.selector = borderWidth_buf__u_left_buf__selector; - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_.selector = 0; - borderWidth_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_.selector = 1; - borderWidth_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_.selector = 2; - borderWidth_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_left_buf.value = static_cast(borderWidth_buf__u_left_buf_); - } - borderWidth_buf__u.left = borderWidth_buf__u_left_buf; - borderWidth_buf_.value1 = borderWidth_buf__u; + borderWidth_buf_.value1 = valueDeserializer.readEdgeWidths(); } else if (borderWidth_buf__selector == 2) { borderWidth_buf_.selector = 2; @@ -106963,128 +113804,7 @@ class Deserializer : public DeserializerBase { } else if (borderColor_buf__selector == 1) { borderColor_buf_.selector = 1; - Ark_EdgeColors borderColor_buf__u = {}; - const auto borderColor_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_top_buf = {}; - borderColor_buf__u_top_buf.tag = borderColor_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_top_buf_ = {}; - borderColor_buf__u_top_buf_.selector = borderColor_buf__u_top_buf__selector; - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_.selector = 0; - borderColor_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_.selector = 1; - borderColor_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_.selector = 2; - borderColor_buf__u_top_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_.selector = 3; - borderColor_buf__u_top_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_top_buf.value = static_cast(borderColor_buf__u_top_buf_); - } - borderColor_buf__u.top = borderColor_buf__u_top_buf; - const auto borderColor_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_right_buf = {}; - borderColor_buf__u_right_buf.tag = borderColor_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_right_buf_ = {}; - borderColor_buf__u_right_buf_.selector = borderColor_buf__u_right_buf__selector; - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_.selector = 0; - borderColor_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_.selector = 1; - borderColor_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_.selector = 2; - borderColor_buf__u_right_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_.selector = 3; - borderColor_buf__u_right_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_right_buf.value = static_cast(borderColor_buf__u_right_buf_); - } - borderColor_buf__u.right = borderColor_buf__u_right_buf; - const auto borderColor_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_bottom_buf = {}; - borderColor_buf__u_bottom_buf.tag = borderColor_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_bottom_buf_ = {}; - borderColor_buf__u_bottom_buf_.selector = borderColor_buf__u_bottom_buf__selector; - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_.selector = 0; - borderColor_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_.selector = 1; - borderColor_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_.selector = 2; - borderColor_buf__u_bottom_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_.selector = 3; - borderColor_buf__u_bottom_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_bottom_buf.value = static_cast(borderColor_buf__u_bottom_buf_); - } - borderColor_buf__u.bottom = borderColor_buf__u_bottom_buf; - const auto borderColor_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_left_buf = {}; - borderColor_buf__u_left_buf.tag = borderColor_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_left_buf_ = {}; - borderColor_buf__u_left_buf_.selector = borderColor_buf__u_left_buf__selector; - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_.selector = 0; - borderColor_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_.selector = 1; - borderColor_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_.selector = 2; - borderColor_buf__u_left_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_.selector = 3; - borderColor_buf__u_left_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_left_buf.value = static_cast(borderColor_buf__u_left_buf_); - } - borderColor_buf__u.left = borderColor_buf__u_left_buf; - borderColor_buf_.value1 = borderColor_buf__u; + borderColor_buf_.value1 = valueDeserializer.readEdgeColors(); } else if (borderColor_buf__selector == 2) { borderColor_buf_.selector = 2; @@ -107164,6 +113884,70 @@ class Deserializer : public DeserializerBase { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } value.hoverModeArea = hoverModeArea_buf; + const auto onDidAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDidAppear_buf = {}; + onDidAppear_buf.tag = onDidAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDidAppear = onDidAppear_buf; + const auto onDidDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDidDisappear_buf = {}; + onDidDisappear_buf.tag = onDidDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDidDisappear = onDidDisappear_buf; + const auto onWillAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillAppear_buf = {}; + onWillAppear_buf.tag = onWillAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillAppear = onWillAppear_buf; + const auto onWillDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillDisappear_buf = {}; + onWillDisappear_buf.tag = onWillDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillDisappear = onWillDisappear_buf; + const auto levelMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LevelMode levelMode_buf = {}; + levelMode_buf.tag = levelMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf.value = valueDeserializer.readLevelMode(); + } + value.levelMode = levelMode_buf; + const auto levelUniqueId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number levelUniqueId_buf = {}; + levelUniqueId_buf.tag = levelUniqueId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.levelUniqueId = levelUniqueId_buf; + const auto immersiveMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImmersiveMode immersiveMode_buf = {}; + immersiveMode_buf.tag = immersiveMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf.value = valueDeserializer.readImmersiveMode(); + } + value.immersiveMode = immersiveMode_buf; + const auto levelOrder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LevelOrder levelOrder_buf = {}; + levelOrder_buf.tag = levelOrder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf.value = valueDeserializer.readLevelOrder(); + } + value.levelOrder = levelOrder_buf; value.primaryButton = valueDeserializer.readAlertDialogButtonBaseOptions(); value.secondaryButton = valueDeserializer.readAlertDialogButtonBaseOptions(); return value; @@ -107260,46 +114044,7 @@ class Deserializer : public DeserializerBase { offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - Ark_Offset offset_buf_ = {}; - const Ark_Int8 offset_buf__dx_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dx_buf = {}; - offset_buf__dx_buf.selector = offset_buf__dx_buf_selector; - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf.selector = 0; - offset_buf__dx_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf.selector = 1; - offset_buf__dx_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf.selector = 2; - offset_buf__dx_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation."); - } - offset_buf_.dx = static_cast(offset_buf__dx_buf); - const Ark_Int8 offset_buf__dy_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dy_buf = {}; - offset_buf__dy_buf.selector = offset_buf__dy_buf_selector; - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf.selector = 0; - offset_buf__dy_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf.selector = 1; - offset_buf__dy_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf.selector = 2; - offset_buf__dy_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation."); - } - offset_buf_.dy = static_cast(offset_buf__dy_buf); - offset_buf.value = offset_buf_; + offset_buf.value = valueDeserializer.readOffset(); } value.offset = offset_buf; const auto gridCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -107372,6 +114117,22 @@ class Deserializer : public DeserializerBase { backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; const auto onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_DismissDialogAction_Void onWillDismiss_buf = {}; onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -107399,7 +114160,7 @@ class Deserializer : public DeserializerBase { if (cornerRadius_buf__selector == 0) { cornerRadius_buf_.selector = 0; const Ark_Int8 cornerRadius_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u = {}; + Ark_Dimension cornerRadius_buf__u = {}; cornerRadius_buf__u.selector = cornerRadius_buf__u_selector; if (cornerRadius_buf__u_selector == 0) { cornerRadius_buf__u.selector = 0; @@ -107416,116 +114177,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for cornerRadius_buf__u has to be chosen through deserialisation."); } - cornerRadius_buf_.value0 = static_cast(cornerRadius_buf__u); + cornerRadius_buf_.value0 = static_cast(cornerRadius_buf__u); } else if (cornerRadius_buf__selector == 1) { cornerRadius_buf_.selector = 1; - Ark_BorderRadiuses cornerRadius_buf__u = {}; - const auto cornerRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_topLeft_buf = {}; - cornerRadius_buf__u_topLeft_buf.tag = cornerRadius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_topLeft_buf_ = {}; - cornerRadius_buf__u_topLeft_buf_.selector = cornerRadius_buf__u_topLeft_buf__selector; - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_.selector = 0; - cornerRadius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_.selector = 1; - cornerRadius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_.selector = 2; - cornerRadius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_topLeft_buf.value = static_cast(cornerRadius_buf__u_topLeft_buf_); - } - cornerRadius_buf__u.topLeft = cornerRadius_buf__u_topLeft_buf; - const auto cornerRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_topRight_buf = {}; - cornerRadius_buf__u_topRight_buf.tag = cornerRadius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_topRight_buf_ = {}; - cornerRadius_buf__u_topRight_buf_.selector = cornerRadius_buf__u_topRight_buf__selector; - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_.selector = 0; - cornerRadius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_.selector = 1; - cornerRadius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_.selector = 2; - cornerRadius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_topRight_buf.value = static_cast(cornerRadius_buf__u_topRight_buf_); - } - cornerRadius_buf__u.topRight = cornerRadius_buf__u_topRight_buf; - const auto cornerRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_bottomLeft_buf = {}; - cornerRadius_buf__u_bottomLeft_buf.tag = cornerRadius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_bottomLeft_buf_ = {}; - cornerRadius_buf__u_bottomLeft_buf_.selector = cornerRadius_buf__u_bottomLeft_buf__selector; - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 0; - cornerRadius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 1; - cornerRadius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 2; - cornerRadius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_bottomLeft_buf.value = static_cast(cornerRadius_buf__u_bottomLeft_buf_); - } - cornerRadius_buf__u.bottomLeft = cornerRadius_buf__u_bottomLeft_buf; - const auto cornerRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_bottomRight_buf = {}; - cornerRadius_buf__u_bottomRight_buf.tag = cornerRadius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_bottomRight_buf_ = {}; - cornerRadius_buf__u_bottomRight_buf_.selector = cornerRadius_buf__u_bottomRight_buf__selector; - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_.selector = 0; - cornerRadius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_.selector = 1; - cornerRadius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_.selector = 2; - cornerRadius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_bottomRight_buf.value = static_cast(cornerRadius_buf__u_bottomRight_buf_); - } - cornerRadius_buf__u.bottomRight = cornerRadius_buf__u_bottomRight_buf; - cornerRadius_buf_.value1 = cornerRadius_buf__u; + cornerRadius_buf_.value1 = valueDeserializer.readBorderRadiuses(); } else if (cornerRadius_buf__selector == 2) { cornerRadius_buf_.selector = 2; @@ -107538,12 +114194,12 @@ class Deserializer : public DeserializerBase { } value.cornerRadius = cornerRadius_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf = {}; + Opt_Dimension width_buf = {}; width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf_ = {}; + Ark_Dimension width_buf_ = {}; width_buf_.selector = width_buf__selector; if (width_buf__selector == 0) { width_buf_.selector = 0; @@ -107560,16 +114216,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + width_buf.value = static_cast(width_buf_); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource height_buf = {}; + Opt_Dimension height_buf = {}; height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_buf_ = {}; + Ark_Dimension height_buf_ = {}; height_buf_.selector = height_buf__selector; if (height_buf__selector == 0) { height_buf_.selector = 0; @@ -107586,7 +114242,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + height_buf.value = static_cast(height_buf_); } value.height = height_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -107600,7 +114256,7 @@ class Deserializer : public DeserializerBase { if (borderWidth_buf__selector == 0) { borderWidth_buf_.selector = 0; const Ark_Int8 borderWidth_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u = {}; + Ark_Dimension borderWidth_buf__u = {}; borderWidth_buf__u.selector = borderWidth_buf__u_selector; if (borderWidth_buf__u_selector == 0) { borderWidth_buf__u.selector = 0; @@ -107617,116 +114273,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for borderWidth_buf__u has to be chosen through deserialisation."); } - borderWidth_buf_.value0 = static_cast(borderWidth_buf__u); + borderWidth_buf_.value0 = static_cast(borderWidth_buf__u); } else if (borderWidth_buf__selector == 1) { borderWidth_buf_.selector = 1; - Ark_EdgeWidths borderWidth_buf__u = {}; - const auto borderWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_top_buf = {}; - borderWidth_buf__u_top_buf.tag = borderWidth_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_top_buf_ = {}; - borderWidth_buf__u_top_buf_.selector = borderWidth_buf__u_top_buf__selector; - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_.selector = 0; - borderWidth_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_.selector = 1; - borderWidth_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_.selector = 2; - borderWidth_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_top_buf.value = static_cast(borderWidth_buf__u_top_buf_); - } - borderWidth_buf__u.top = borderWidth_buf__u_top_buf; - const auto borderWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_right_buf = {}; - borderWidth_buf__u_right_buf.tag = borderWidth_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_right_buf_ = {}; - borderWidth_buf__u_right_buf_.selector = borderWidth_buf__u_right_buf__selector; - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_.selector = 0; - borderWidth_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_.selector = 1; - borderWidth_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_.selector = 2; - borderWidth_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_right_buf.value = static_cast(borderWidth_buf__u_right_buf_); - } - borderWidth_buf__u.right = borderWidth_buf__u_right_buf; - const auto borderWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_bottom_buf = {}; - borderWidth_buf__u_bottom_buf.tag = borderWidth_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_bottom_buf_ = {}; - borderWidth_buf__u_bottom_buf_.selector = borderWidth_buf__u_bottom_buf__selector; - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_.selector = 0; - borderWidth_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_.selector = 1; - borderWidth_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_.selector = 2; - borderWidth_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_bottom_buf.value = static_cast(borderWidth_buf__u_bottom_buf_); - } - borderWidth_buf__u.bottom = borderWidth_buf__u_bottom_buf; - const auto borderWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_left_buf = {}; - borderWidth_buf__u_left_buf.tag = borderWidth_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_left_buf_ = {}; - borderWidth_buf__u_left_buf_.selector = borderWidth_buf__u_left_buf__selector; - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_.selector = 0; - borderWidth_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_.selector = 1; - borderWidth_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_.selector = 2; - borderWidth_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_left_buf.value = static_cast(borderWidth_buf__u_left_buf_); - } - borderWidth_buf__u.left = borderWidth_buf__u_left_buf; - borderWidth_buf_.value1 = borderWidth_buf__u; + borderWidth_buf_.value1 = valueDeserializer.readEdgeWidths(); } else if (borderWidth_buf__selector == 2) { borderWidth_buf_.selector = 2; @@ -107774,128 +114325,7 @@ class Deserializer : public DeserializerBase { } else if (borderColor_buf__selector == 1) { borderColor_buf_.selector = 1; - Ark_EdgeColors borderColor_buf__u = {}; - const auto borderColor_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_top_buf = {}; - borderColor_buf__u_top_buf.tag = borderColor_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_top_buf_ = {}; - borderColor_buf__u_top_buf_.selector = borderColor_buf__u_top_buf__selector; - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_.selector = 0; - borderColor_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_.selector = 1; - borderColor_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_.selector = 2; - borderColor_buf__u_top_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_.selector = 3; - borderColor_buf__u_top_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_top_buf.value = static_cast(borderColor_buf__u_top_buf_); - } - borderColor_buf__u.top = borderColor_buf__u_top_buf; - const auto borderColor_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_right_buf = {}; - borderColor_buf__u_right_buf.tag = borderColor_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_right_buf_ = {}; - borderColor_buf__u_right_buf_.selector = borderColor_buf__u_right_buf__selector; - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_.selector = 0; - borderColor_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_.selector = 1; - borderColor_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_.selector = 2; - borderColor_buf__u_right_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_.selector = 3; - borderColor_buf__u_right_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_right_buf.value = static_cast(borderColor_buf__u_right_buf_); - } - borderColor_buf__u.right = borderColor_buf__u_right_buf; - const auto borderColor_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_bottom_buf = {}; - borderColor_buf__u_bottom_buf.tag = borderColor_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_bottom_buf_ = {}; - borderColor_buf__u_bottom_buf_.selector = borderColor_buf__u_bottom_buf__selector; - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_.selector = 0; - borderColor_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_.selector = 1; - borderColor_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_.selector = 2; - borderColor_buf__u_bottom_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_.selector = 3; - borderColor_buf__u_bottom_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_bottom_buf.value = static_cast(borderColor_buf__u_bottom_buf_); - } - borderColor_buf__u.bottom = borderColor_buf__u_bottom_buf; - const auto borderColor_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_left_buf = {}; - borderColor_buf__u_left_buf.tag = borderColor_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_left_buf_ = {}; - borderColor_buf__u_left_buf_.selector = borderColor_buf__u_left_buf__selector; - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_.selector = 0; - borderColor_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_.selector = 1; - borderColor_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_.selector = 2; - borderColor_buf__u_left_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_.selector = 3; - borderColor_buf__u_left_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_left_buf.value = static_cast(borderColor_buf__u_left_buf_); - } - borderColor_buf__u.left = borderColor_buf__u_left_buf; - borderColor_buf_.value1 = borderColor_buf__u; + borderColor_buf_.value1 = valueDeserializer.readEdgeColors(); } else if (borderColor_buf__selector == 2) { borderColor_buf_.selector = 2; @@ -107975,6 +114405,70 @@ class Deserializer : public DeserializerBase { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } value.hoverModeArea = hoverModeArea_buf; + const auto onDidAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDidAppear_buf = {}; + onDidAppear_buf.tag = onDidAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDidAppear = onDidAppear_buf; + const auto onDidDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDidDisappear_buf = {}; + onDidDisappear_buf.tag = onDidDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDidDisappear = onDidDisappear_buf; + const auto onWillAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillAppear_buf = {}; + onWillAppear_buf.tag = onWillAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillAppear = onWillAppear_buf; + const auto onWillDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillDisappear_buf = {}; + onWillDisappear_buf.tag = onWillDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillDisappear = onWillDisappear_buf; + const auto levelMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LevelMode levelMode_buf = {}; + levelMode_buf.tag = levelMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf.value = valueDeserializer.readLevelMode(); + } + value.levelMode = levelMode_buf; + const auto levelUniqueId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number levelUniqueId_buf = {}; + levelUniqueId_buf.tag = levelUniqueId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.levelUniqueId = levelUniqueId_buf; + const auto immersiveMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImmersiveMode immersiveMode_buf = {}; + immersiveMode_buf.tag = immersiveMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf.value = valueDeserializer.readImmersiveMode(); + } + value.immersiveMode = immersiveMode_buf; + const auto levelOrder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LevelOrder levelOrder_buf = {}; + levelOrder_buf.tag = levelOrder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf.value = valueDeserializer.readLevelOrder(); + } + value.levelOrder = levelOrder_buf; const auto confirm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_AlertDialogButtonBaseOptions confirm_buf = {}; confirm_buf.tag = confirm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -108077,46 +114571,7 @@ class Deserializer : public DeserializerBase { offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - Ark_Offset offset_buf_ = {}; - const Ark_Int8 offset_buf__dx_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dx_buf = {}; - offset_buf__dx_buf.selector = offset_buf__dx_buf_selector; - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf.selector = 0; - offset_buf__dx_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf.selector = 1; - offset_buf__dx_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf.selector = 2; - offset_buf__dx_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation."); - } - offset_buf_.dx = static_cast(offset_buf__dx_buf); - const Ark_Int8 offset_buf__dy_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dy_buf = {}; - offset_buf__dy_buf.selector = offset_buf__dy_buf_selector; - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf.selector = 0; - offset_buf__dy_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf.selector = 1; - offset_buf__dy_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf.selector = 2; - offset_buf__dy_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation."); - } - offset_buf_.dy = static_cast(offset_buf__dy_buf); - offset_buf.value = offset_buf_; + offset_buf.value = valueDeserializer.readOffset(); } value.offset = offset_buf; const auto gridCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -108189,6 +114644,22 @@ class Deserializer : public DeserializerBase { backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; const auto onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_DismissDialogAction_Void onWillDismiss_buf = {}; onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -108216,7 +114687,7 @@ class Deserializer : public DeserializerBase { if (cornerRadius_buf__selector == 0) { cornerRadius_buf_.selector = 0; const Ark_Int8 cornerRadius_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u = {}; + Ark_Dimension cornerRadius_buf__u = {}; cornerRadius_buf__u.selector = cornerRadius_buf__u_selector; if (cornerRadius_buf__u_selector == 0) { cornerRadius_buf__u.selector = 0; @@ -108233,116 +114704,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for cornerRadius_buf__u has to be chosen through deserialisation."); } - cornerRadius_buf_.value0 = static_cast(cornerRadius_buf__u); + cornerRadius_buf_.value0 = static_cast(cornerRadius_buf__u); } else if (cornerRadius_buf__selector == 1) { cornerRadius_buf_.selector = 1; - Ark_BorderRadiuses cornerRadius_buf__u = {}; - const auto cornerRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_topLeft_buf = {}; - cornerRadius_buf__u_topLeft_buf.tag = cornerRadius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_topLeft_buf_ = {}; - cornerRadius_buf__u_topLeft_buf_.selector = cornerRadius_buf__u_topLeft_buf__selector; - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_.selector = 0; - cornerRadius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_.selector = 1; - cornerRadius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_.selector = 2; - cornerRadius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_topLeft_buf.value = static_cast(cornerRadius_buf__u_topLeft_buf_); - } - cornerRadius_buf__u.topLeft = cornerRadius_buf__u_topLeft_buf; - const auto cornerRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_topRight_buf = {}; - cornerRadius_buf__u_topRight_buf.tag = cornerRadius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_topRight_buf_ = {}; - cornerRadius_buf__u_topRight_buf_.selector = cornerRadius_buf__u_topRight_buf__selector; - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_.selector = 0; - cornerRadius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_.selector = 1; - cornerRadius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_.selector = 2; - cornerRadius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_topRight_buf.value = static_cast(cornerRadius_buf__u_topRight_buf_); - } - cornerRadius_buf__u.topRight = cornerRadius_buf__u_topRight_buf; - const auto cornerRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_bottomLeft_buf = {}; - cornerRadius_buf__u_bottomLeft_buf.tag = cornerRadius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_bottomLeft_buf_ = {}; - cornerRadius_buf__u_bottomLeft_buf_.selector = cornerRadius_buf__u_bottomLeft_buf__selector; - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 0; - cornerRadius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 1; - cornerRadius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 2; - cornerRadius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_bottomLeft_buf.value = static_cast(cornerRadius_buf__u_bottomLeft_buf_); - } - cornerRadius_buf__u.bottomLeft = cornerRadius_buf__u_bottomLeft_buf; - const auto cornerRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_bottomRight_buf = {}; - cornerRadius_buf__u_bottomRight_buf.tag = cornerRadius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_bottomRight_buf_ = {}; - cornerRadius_buf__u_bottomRight_buf_.selector = cornerRadius_buf__u_bottomRight_buf__selector; - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_.selector = 0; - cornerRadius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_.selector = 1; - cornerRadius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_.selector = 2; - cornerRadius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_bottomRight_buf.value = static_cast(cornerRadius_buf__u_bottomRight_buf_); - } - cornerRadius_buf__u.bottomRight = cornerRadius_buf__u_bottomRight_buf; - cornerRadius_buf_.value1 = cornerRadius_buf__u; + cornerRadius_buf_.value1 = valueDeserializer.readBorderRadiuses(); } else if (cornerRadius_buf__selector == 2) { cornerRadius_buf_.selector = 2; @@ -108355,12 +114721,12 @@ class Deserializer : public DeserializerBase { } value.cornerRadius = cornerRadius_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf = {}; + Opt_Dimension width_buf = {}; width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf_ = {}; + Ark_Dimension width_buf_ = {}; width_buf_.selector = width_buf__selector; if (width_buf__selector == 0) { width_buf_.selector = 0; @@ -108377,16 +114743,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + width_buf.value = static_cast(width_buf_); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource height_buf = {}; + Opt_Dimension height_buf = {}; height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_buf_ = {}; + Ark_Dimension height_buf_ = {}; height_buf_.selector = height_buf__selector; if (height_buf__selector == 0) { height_buf_.selector = 0; @@ -108403,7 +114769,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + height_buf.value = static_cast(height_buf_); } value.height = height_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -108417,7 +114783,7 @@ class Deserializer : public DeserializerBase { if (borderWidth_buf__selector == 0) { borderWidth_buf_.selector = 0; const Ark_Int8 borderWidth_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u = {}; + Ark_Dimension borderWidth_buf__u = {}; borderWidth_buf__u.selector = borderWidth_buf__u_selector; if (borderWidth_buf__u_selector == 0) { borderWidth_buf__u.selector = 0; @@ -108434,116 +114800,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for borderWidth_buf__u has to be chosen through deserialisation."); } - borderWidth_buf_.value0 = static_cast(borderWidth_buf__u); + borderWidth_buf_.value0 = static_cast(borderWidth_buf__u); } else if (borderWidth_buf__selector == 1) { borderWidth_buf_.selector = 1; - Ark_EdgeWidths borderWidth_buf__u = {}; - const auto borderWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_top_buf = {}; - borderWidth_buf__u_top_buf.tag = borderWidth_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_top_buf_ = {}; - borderWidth_buf__u_top_buf_.selector = borderWidth_buf__u_top_buf__selector; - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_.selector = 0; - borderWidth_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_.selector = 1; - borderWidth_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_.selector = 2; - borderWidth_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_top_buf.value = static_cast(borderWidth_buf__u_top_buf_); - } - borderWidth_buf__u.top = borderWidth_buf__u_top_buf; - const auto borderWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_right_buf = {}; - borderWidth_buf__u_right_buf.tag = borderWidth_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_right_buf_ = {}; - borderWidth_buf__u_right_buf_.selector = borderWidth_buf__u_right_buf__selector; - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_.selector = 0; - borderWidth_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_.selector = 1; - borderWidth_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_.selector = 2; - borderWidth_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_right_buf.value = static_cast(borderWidth_buf__u_right_buf_); - } - borderWidth_buf__u.right = borderWidth_buf__u_right_buf; - const auto borderWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_bottom_buf = {}; - borderWidth_buf__u_bottom_buf.tag = borderWidth_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_bottom_buf_ = {}; - borderWidth_buf__u_bottom_buf_.selector = borderWidth_buf__u_bottom_buf__selector; - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_.selector = 0; - borderWidth_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_.selector = 1; - borderWidth_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_.selector = 2; - borderWidth_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_bottom_buf.value = static_cast(borderWidth_buf__u_bottom_buf_); - } - borderWidth_buf__u.bottom = borderWidth_buf__u_bottom_buf; - const auto borderWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_left_buf = {}; - borderWidth_buf__u_left_buf.tag = borderWidth_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_left_buf_ = {}; - borderWidth_buf__u_left_buf_.selector = borderWidth_buf__u_left_buf__selector; - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_.selector = 0; - borderWidth_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_.selector = 1; - borderWidth_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_.selector = 2; - borderWidth_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_left_buf.value = static_cast(borderWidth_buf__u_left_buf_); - } - borderWidth_buf__u.left = borderWidth_buf__u_left_buf; - borderWidth_buf_.value1 = borderWidth_buf__u; + borderWidth_buf_.value1 = valueDeserializer.readEdgeWidths(); } else if (borderWidth_buf__selector == 2) { borderWidth_buf_.selector = 2; @@ -108591,128 +114852,7 @@ class Deserializer : public DeserializerBase { } else if (borderColor_buf__selector == 1) { borderColor_buf_.selector = 1; - Ark_EdgeColors borderColor_buf__u = {}; - const auto borderColor_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_top_buf = {}; - borderColor_buf__u_top_buf.tag = borderColor_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_top_buf_ = {}; - borderColor_buf__u_top_buf_.selector = borderColor_buf__u_top_buf__selector; - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_.selector = 0; - borderColor_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_.selector = 1; - borderColor_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_.selector = 2; - borderColor_buf__u_top_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_.selector = 3; - borderColor_buf__u_top_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_top_buf.value = static_cast(borderColor_buf__u_top_buf_); - } - borderColor_buf__u.top = borderColor_buf__u_top_buf; - const auto borderColor_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_right_buf = {}; - borderColor_buf__u_right_buf.tag = borderColor_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_right_buf_ = {}; - borderColor_buf__u_right_buf_.selector = borderColor_buf__u_right_buf__selector; - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_.selector = 0; - borderColor_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_.selector = 1; - borderColor_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_.selector = 2; - borderColor_buf__u_right_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_.selector = 3; - borderColor_buf__u_right_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_right_buf.value = static_cast(borderColor_buf__u_right_buf_); - } - borderColor_buf__u.right = borderColor_buf__u_right_buf; - const auto borderColor_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_bottom_buf = {}; - borderColor_buf__u_bottom_buf.tag = borderColor_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_bottom_buf_ = {}; - borderColor_buf__u_bottom_buf_.selector = borderColor_buf__u_bottom_buf__selector; - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_.selector = 0; - borderColor_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_.selector = 1; - borderColor_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_.selector = 2; - borderColor_buf__u_bottom_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_.selector = 3; - borderColor_buf__u_bottom_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_bottom_buf.value = static_cast(borderColor_buf__u_bottom_buf_); - } - borderColor_buf__u.bottom = borderColor_buf__u_bottom_buf; - const auto borderColor_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_left_buf = {}; - borderColor_buf__u_left_buf.tag = borderColor_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_left_buf_ = {}; - borderColor_buf__u_left_buf_.selector = borderColor_buf__u_left_buf__selector; - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_.selector = 0; - borderColor_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_.selector = 1; - borderColor_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_.selector = 2; - borderColor_buf__u_left_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_.selector = 3; - borderColor_buf__u_left_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_left_buf.value = static_cast(borderColor_buf__u_left_buf_); - } - borderColor_buf__u.left = borderColor_buf__u_left_buf; - borderColor_buf_.value1 = borderColor_buf__u; + borderColor_buf_.value1 = valueDeserializer.readEdgeColors(); } else if (borderColor_buf__selector == 2) { borderColor_buf_.selector = 2; @@ -108792,6 +114932,70 @@ class Deserializer : public DeserializerBase { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } value.hoverModeArea = hoverModeArea_buf; + const auto onDidAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDidAppear_buf = {}; + onDidAppear_buf.tag = onDidAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDidAppear = onDidAppear_buf; + const auto onDidDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDidDisappear_buf = {}; + onDidDisappear_buf.tag = onDidDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDidDisappear = onDidDisappear_buf; + const auto onWillAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillAppear_buf = {}; + onWillAppear_buf.tag = onWillAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillAppear = onWillAppear_buf; + const auto onWillDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillDisappear_buf = {}; + onWillDisappear_buf.tag = onWillDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillDisappear = onWillDisappear_buf; + const auto levelMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LevelMode levelMode_buf = {}; + levelMode_buf.tag = levelMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf.value = valueDeserializer.readLevelMode(); + } + value.levelMode = levelMode_buf; + const auto levelUniqueId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number levelUniqueId_buf = {}; + levelUniqueId_buf.tag = levelUniqueId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.levelUniqueId = levelUniqueId_buf; + const auto immersiveMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImmersiveMode immersiveMode_buf = {}; + immersiveMode_buf.tag = immersiveMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf.value = valueDeserializer.readImmersiveMode(); + } + value.immersiveMode = immersiveMode_buf; + const auto levelOrder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LevelOrder levelOrder_buf = {}; + levelOrder_buf.tag = levelOrder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf.value = valueDeserializer.readLevelOrder(); + } + value.levelOrder = levelOrder_buf; const Ark_Int32 buttons_buf_length = valueDeserializer.readInt32(); Array_AlertDialogButtonOptions buttons_buf = {}; valueDeserializer.resizeArray::type, @@ -108815,7 +115019,7 @@ class Deserializer : public DeserializerBase { Ark_Area value = {}; Deserializer& valueDeserializer = *this; const Ark_Int8 width_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf = {}; + Ark_Length width_buf = {}; width_buf.selector = width_buf_selector; if (width_buf_selector == 0) { width_buf.selector = 0; @@ -108832,9 +115036,9 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for width_buf has to be chosen through deserialisation."); } - value.width = static_cast(width_buf); + value.width = static_cast(width_buf); const Ark_Int8 height_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_buf = {}; + Ark_Length height_buf = {}; height_buf.selector = height_buf_selector; if (height_buf_selector == 0) { height_buf.selector = 0; @@ -108851,7 +115055,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for height_buf has to be chosen through deserialisation."); } - value.height = static_cast(height_buf); + value.height = static_cast(height_buf); value.position = valueDeserializer.readPosition(); value.globalPosition = valueDeserializer.readPosition(); return value; @@ -108939,7 +115143,7 @@ class Deserializer : public DeserializerBase { if (slice_buf__selector == 0) { slice_buf_.selector = 0; const Ark_Int8 slice_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource slice_buf__u = {}; + Ark_Length slice_buf__u = {}; slice_buf__u.selector = slice_buf__u_selector; if (slice_buf__u_selector == 0) { slice_buf__u.selector = 0; @@ -108956,116 +115160,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for slice_buf__u has to be chosen through deserialisation."); } - slice_buf_.value0 = static_cast(slice_buf__u); + slice_buf_.value0 = static_cast(slice_buf__u); } else if (slice_buf__selector == 1) { slice_buf_.selector = 1; - Ark_EdgeWidths slice_buf__u = {}; - const auto slice_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource slice_buf__u_top_buf = {}; - slice_buf__u_top_buf.tag = slice_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (slice_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 slice_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource slice_buf__u_top_buf_ = {}; - slice_buf__u_top_buf_.selector = slice_buf__u_top_buf__selector; - if (slice_buf__u_top_buf__selector == 0) { - slice_buf__u_top_buf_.selector = 0; - slice_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (slice_buf__u_top_buf__selector == 1) { - slice_buf__u_top_buf_.selector = 1; - slice_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (slice_buf__u_top_buf__selector == 2) { - slice_buf__u_top_buf_.selector = 2; - slice_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for slice_buf__u_top_buf_ has to be chosen through deserialisation."); - } - slice_buf__u_top_buf.value = static_cast(slice_buf__u_top_buf_); - } - slice_buf__u.top = slice_buf__u_top_buf; - const auto slice_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource slice_buf__u_right_buf = {}; - slice_buf__u_right_buf.tag = slice_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (slice_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 slice_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource slice_buf__u_right_buf_ = {}; - slice_buf__u_right_buf_.selector = slice_buf__u_right_buf__selector; - if (slice_buf__u_right_buf__selector == 0) { - slice_buf__u_right_buf_.selector = 0; - slice_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (slice_buf__u_right_buf__selector == 1) { - slice_buf__u_right_buf_.selector = 1; - slice_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (slice_buf__u_right_buf__selector == 2) { - slice_buf__u_right_buf_.selector = 2; - slice_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for slice_buf__u_right_buf_ has to be chosen through deserialisation."); - } - slice_buf__u_right_buf.value = static_cast(slice_buf__u_right_buf_); - } - slice_buf__u.right = slice_buf__u_right_buf; - const auto slice_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource slice_buf__u_bottom_buf = {}; - slice_buf__u_bottom_buf.tag = slice_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (slice_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 slice_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource slice_buf__u_bottom_buf_ = {}; - slice_buf__u_bottom_buf_.selector = slice_buf__u_bottom_buf__selector; - if (slice_buf__u_bottom_buf__selector == 0) { - slice_buf__u_bottom_buf_.selector = 0; - slice_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (slice_buf__u_bottom_buf__selector == 1) { - slice_buf__u_bottom_buf_.selector = 1; - slice_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (slice_buf__u_bottom_buf__selector == 2) { - slice_buf__u_bottom_buf_.selector = 2; - slice_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for slice_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - slice_buf__u_bottom_buf.value = static_cast(slice_buf__u_bottom_buf_); - } - slice_buf__u.bottom = slice_buf__u_bottom_buf; - const auto slice_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource slice_buf__u_left_buf = {}; - slice_buf__u_left_buf.tag = slice_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (slice_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 slice_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource slice_buf__u_left_buf_ = {}; - slice_buf__u_left_buf_.selector = slice_buf__u_left_buf__selector; - if (slice_buf__u_left_buf__selector == 0) { - slice_buf__u_left_buf_.selector = 0; - slice_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (slice_buf__u_left_buf__selector == 1) { - slice_buf__u_left_buf_.selector = 1; - slice_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (slice_buf__u_left_buf__selector == 2) { - slice_buf__u_left_buf_.selector = 2; - slice_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for slice_buf__u_left_buf_ has to be chosen through deserialisation."); - } - slice_buf__u_left_buf.value = static_cast(slice_buf__u_left_buf_); - } - slice_buf__u.left = slice_buf__u_left_buf; - slice_buf_.value1 = slice_buf__u; + slice_buf_.value1 = valueDeserializer.readEdgeWidths(); } else if (slice_buf__selector == 2) { slice_buf_.selector = 2; @@ -109122,7 +115221,7 @@ class Deserializer : public DeserializerBase { if (width_buf__selector == 0) { width_buf_.selector = 0; const Ark_Int8 width_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u = {}; + Ark_Length width_buf__u = {}; width_buf__u.selector = width_buf__u_selector; if (width_buf__u_selector == 0) { width_buf__u.selector = 0; @@ -109139,116 +115238,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for width_buf__u has to be chosen through deserialisation."); } - width_buf_.value0 = static_cast(width_buf__u); + width_buf_.value0 = static_cast(width_buf__u); } else if (width_buf__selector == 1) { width_buf_.selector = 1; - Ark_EdgeWidths width_buf__u = {}; - const auto width_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf__u_top_buf = {}; - width_buf__u_top_buf.tag = width_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 width_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u_top_buf_ = {}; - width_buf__u_top_buf_.selector = width_buf__u_top_buf__selector; - if (width_buf__u_top_buf__selector == 0) { - width_buf__u_top_buf_.selector = 0; - width_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__u_top_buf__selector == 1) { - width_buf__u_top_buf_.selector = 1; - width_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__u_top_buf__selector == 2) { - width_buf__u_top_buf_.selector = 2; - width_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for width_buf__u_top_buf_ has to be chosen through deserialisation."); - } - width_buf__u_top_buf.value = static_cast(width_buf__u_top_buf_); - } - width_buf__u.top = width_buf__u_top_buf; - const auto width_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf__u_right_buf = {}; - width_buf__u_right_buf.tag = width_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 width_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u_right_buf_ = {}; - width_buf__u_right_buf_.selector = width_buf__u_right_buf__selector; - if (width_buf__u_right_buf__selector == 0) { - width_buf__u_right_buf_.selector = 0; - width_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__u_right_buf__selector == 1) { - width_buf__u_right_buf_.selector = 1; - width_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__u_right_buf__selector == 2) { - width_buf__u_right_buf_.selector = 2; - width_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for width_buf__u_right_buf_ has to be chosen through deserialisation."); - } - width_buf__u_right_buf.value = static_cast(width_buf__u_right_buf_); - } - width_buf__u.right = width_buf__u_right_buf; - const auto width_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf__u_bottom_buf = {}; - width_buf__u_bottom_buf.tag = width_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 width_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u_bottom_buf_ = {}; - width_buf__u_bottom_buf_.selector = width_buf__u_bottom_buf__selector; - if (width_buf__u_bottom_buf__selector == 0) { - width_buf__u_bottom_buf_.selector = 0; - width_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__u_bottom_buf__selector == 1) { - width_buf__u_bottom_buf_.selector = 1; - width_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__u_bottom_buf__selector == 2) { - width_buf__u_bottom_buf_.selector = 2; - width_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for width_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - width_buf__u_bottom_buf.value = static_cast(width_buf__u_bottom_buf_); - } - width_buf__u.bottom = width_buf__u_bottom_buf; - const auto width_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf__u_left_buf = {}; - width_buf__u_left_buf.tag = width_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 width_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u_left_buf_ = {}; - width_buf__u_left_buf_.selector = width_buf__u_left_buf__selector; - if (width_buf__u_left_buf__selector == 0) { - width_buf__u_left_buf_.selector = 0; - width_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__u_left_buf__selector == 1) { - width_buf__u_left_buf_.selector = 1; - width_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__u_left_buf__selector == 2) { - width_buf__u_left_buf_.selector = 2; - width_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for width_buf__u_left_buf_ has to be chosen through deserialisation."); - } - width_buf__u_left_buf.value = static_cast(width_buf__u_left_buf_); - } - width_buf__u.left = width_buf__u_left_buf; - width_buf_.value1 = width_buf__u; + width_buf_.value1 = valueDeserializer.readEdgeWidths(); } else if (width_buf__selector == 2) { width_buf_.selector = 2; @@ -109271,7 +115265,7 @@ class Deserializer : public DeserializerBase { if (outset_buf__selector == 0) { outset_buf_.selector = 0; const Ark_Int8 outset_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource outset_buf__u = {}; + Ark_Length outset_buf__u = {}; outset_buf__u.selector = outset_buf__u_selector; if (outset_buf__u_selector == 0) { outset_buf__u.selector = 0; @@ -109288,116 +115282,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for outset_buf__u has to be chosen through deserialisation."); } - outset_buf_.value0 = static_cast(outset_buf__u); + outset_buf_.value0 = static_cast(outset_buf__u); } else if (outset_buf__selector == 1) { outset_buf_.selector = 1; - Ark_EdgeWidths outset_buf__u = {}; - const auto outset_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource outset_buf__u_top_buf = {}; - outset_buf__u_top_buf.tag = outset_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (outset_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 outset_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource outset_buf__u_top_buf_ = {}; - outset_buf__u_top_buf_.selector = outset_buf__u_top_buf__selector; - if (outset_buf__u_top_buf__selector == 0) { - outset_buf__u_top_buf_.selector = 0; - outset_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (outset_buf__u_top_buf__selector == 1) { - outset_buf__u_top_buf_.selector = 1; - outset_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (outset_buf__u_top_buf__selector == 2) { - outset_buf__u_top_buf_.selector = 2; - outset_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for outset_buf__u_top_buf_ has to be chosen through deserialisation."); - } - outset_buf__u_top_buf.value = static_cast(outset_buf__u_top_buf_); - } - outset_buf__u.top = outset_buf__u_top_buf; - const auto outset_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource outset_buf__u_right_buf = {}; - outset_buf__u_right_buf.tag = outset_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (outset_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 outset_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource outset_buf__u_right_buf_ = {}; - outset_buf__u_right_buf_.selector = outset_buf__u_right_buf__selector; - if (outset_buf__u_right_buf__selector == 0) { - outset_buf__u_right_buf_.selector = 0; - outset_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (outset_buf__u_right_buf__selector == 1) { - outset_buf__u_right_buf_.selector = 1; - outset_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (outset_buf__u_right_buf__selector == 2) { - outset_buf__u_right_buf_.selector = 2; - outset_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for outset_buf__u_right_buf_ has to be chosen through deserialisation."); - } - outset_buf__u_right_buf.value = static_cast(outset_buf__u_right_buf_); - } - outset_buf__u.right = outset_buf__u_right_buf; - const auto outset_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource outset_buf__u_bottom_buf = {}; - outset_buf__u_bottom_buf.tag = outset_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (outset_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 outset_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource outset_buf__u_bottom_buf_ = {}; - outset_buf__u_bottom_buf_.selector = outset_buf__u_bottom_buf__selector; - if (outset_buf__u_bottom_buf__selector == 0) { - outset_buf__u_bottom_buf_.selector = 0; - outset_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (outset_buf__u_bottom_buf__selector == 1) { - outset_buf__u_bottom_buf_.selector = 1; - outset_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (outset_buf__u_bottom_buf__selector == 2) { - outset_buf__u_bottom_buf_.selector = 2; - outset_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for outset_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - outset_buf__u_bottom_buf.value = static_cast(outset_buf__u_bottom_buf_); - } - outset_buf__u.bottom = outset_buf__u_bottom_buf; - const auto outset_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource outset_buf__u_left_buf = {}; - outset_buf__u_left_buf.tag = outset_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (outset_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 outset_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource outset_buf__u_left_buf_ = {}; - outset_buf__u_left_buf_.selector = outset_buf__u_left_buf__selector; - if (outset_buf__u_left_buf__selector == 0) { - outset_buf__u_left_buf_.selector = 0; - outset_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (outset_buf__u_left_buf__selector == 1) { - outset_buf__u_left_buf_.selector = 1; - outset_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (outset_buf__u_left_buf__selector == 2) { - outset_buf__u_left_buf_.selector = 2; - outset_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for outset_buf__u_left_buf_ has to be chosen through deserialisation."); - } - outset_buf__u_left_buf.value = static_cast(outset_buf__u_left_buf_); - } - outset_buf__u.left = outset_buf__u_left_buf; - outset_buf_.value1 = outset_buf__u; + outset_buf_.value1 = valueDeserializer.readEdgeWidths(); } else if (outset_buf__selector == 2) { outset_buf_.selector = 2; @@ -109433,117 +115322,12 @@ class Deserializer : public DeserializerBase { width_buf_.selector = width_buf__selector; if (width_buf__selector == 0) { width_buf_.selector = 0; - Ark_EdgeWidths width_buf__u = {}; - const auto width_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf__u_top_buf = {}; - width_buf__u_top_buf.tag = width_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 width_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u_top_buf_ = {}; - width_buf__u_top_buf_.selector = width_buf__u_top_buf__selector; - if (width_buf__u_top_buf__selector == 0) { - width_buf__u_top_buf_.selector = 0; - width_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__u_top_buf__selector == 1) { - width_buf__u_top_buf_.selector = 1; - width_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__u_top_buf__selector == 2) { - width_buf__u_top_buf_.selector = 2; - width_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for width_buf__u_top_buf_ has to be chosen through deserialisation."); - } - width_buf__u_top_buf.value = static_cast(width_buf__u_top_buf_); - } - width_buf__u.top = width_buf__u_top_buf; - const auto width_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf__u_right_buf = {}; - width_buf__u_right_buf.tag = width_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 width_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u_right_buf_ = {}; - width_buf__u_right_buf_.selector = width_buf__u_right_buf__selector; - if (width_buf__u_right_buf__selector == 0) { - width_buf__u_right_buf_.selector = 0; - width_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__u_right_buf__selector == 1) { - width_buf__u_right_buf_.selector = 1; - width_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__u_right_buf__selector == 2) { - width_buf__u_right_buf_.selector = 2; - width_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for width_buf__u_right_buf_ has to be chosen through deserialisation."); - } - width_buf__u_right_buf.value = static_cast(width_buf__u_right_buf_); - } - width_buf__u.right = width_buf__u_right_buf; - const auto width_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf__u_bottom_buf = {}; - width_buf__u_bottom_buf.tag = width_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 width_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u_bottom_buf_ = {}; - width_buf__u_bottom_buf_.selector = width_buf__u_bottom_buf__selector; - if (width_buf__u_bottom_buf__selector == 0) { - width_buf__u_bottom_buf_.selector = 0; - width_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__u_bottom_buf__selector == 1) { - width_buf__u_bottom_buf_.selector = 1; - width_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__u_bottom_buf__selector == 2) { - width_buf__u_bottom_buf_.selector = 2; - width_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for width_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - width_buf__u_bottom_buf.value = static_cast(width_buf__u_bottom_buf_); - } - width_buf__u.bottom = width_buf__u_bottom_buf; - const auto width_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf__u_left_buf = {}; - width_buf__u_left_buf.tag = width_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 width_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u_left_buf_ = {}; - width_buf__u_left_buf_.selector = width_buf__u_left_buf__selector; - if (width_buf__u_left_buf__selector == 0) { - width_buf__u_left_buf_.selector = 0; - width_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__u_left_buf__selector == 1) { - width_buf__u_left_buf_.selector = 1; - width_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__u_left_buf__selector == 2) { - width_buf__u_left_buf_.selector = 2; - width_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for width_buf__u_left_buf_ has to be chosen through deserialisation."); - } - width_buf__u_left_buf.value = static_cast(width_buf__u_left_buf_); - } - width_buf__u.left = width_buf__u_left_buf; - width_buf_.value0 = width_buf__u; + width_buf_.value0 = valueDeserializer.readEdgeWidths(); } else if (width_buf__selector == 1) { width_buf_.selector = 1; const Ark_Int8 width_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u = {}; + Ark_Length width_buf__u = {}; width_buf__u.selector = width_buf__u_selector; if (width_buf__u_selector == 0) { width_buf__u.selector = 0; @@ -109560,7 +115344,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for width_buf__u has to be chosen through deserialisation."); } - width_buf_.value1 = static_cast(width_buf__u); + width_buf_.value1 = static_cast(width_buf__u); } else if (width_buf__selector == 2) { width_buf_.selector = 2; @@ -109582,128 +115366,7 @@ class Deserializer : public DeserializerBase { color_buf_.selector = color_buf__selector; if (color_buf__selector == 0) { color_buf_.selector = 0; - Ark_EdgeColors color_buf__u = {}; - const auto color_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf__u_top_buf = {}; - color_buf__u_top_buf.tag = color_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 color_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf__u_top_buf_ = {}; - color_buf__u_top_buf_.selector = color_buf__u_top_buf__selector; - if (color_buf__u_top_buf__selector == 0) { - color_buf__u_top_buf_.selector = 0; - color_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__u_top_buf__selector == 1) { - color_buf__u_top_buf_.selector = 1; - color_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__u_top_buf__selector == 2) { - color_buf__u_top_buf_.selector = 2; - color_buf__u_top_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (color_buf__u_top_buf__selector == 3) { - color_buf__u_top_buf_.selector = 3; - color_buf__u_top_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for color_buf__u_top_buf_ has to be chosen through deserialisation."); - } - color_buf__u_top_buf.value = static_cast(color_buf__u_top_buf_); - } - color_buf__u.top = color_buf__u_top_buf; - const auto color_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf__u_right_buf = {}; - color_buf__u_right_buf.tag = color_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 color_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf__u_right_buf_ = {}; - color_buf__u_right_buf_.selector = color_buf__u_right_buf__selector; - if (color_buf__u_right_buf__selector == 0) { - color_buf__u_right_buf_.selector = 0; - color_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__u_right_buf__selector == 1) { - color_buf__u_right_buf_.selector = 1; - color_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__u_right_buf__selector == 2) { - color_buf__u_right_buf_.selector = 2; - color_buf__u_right_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (color_buf__u_right_buf__selector == 3) { - color_buf__u_right_buf_.selector = 3; - color_buf__u_right_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for color_buf__u_right_buf_ has to be chosen through deserialisation."); - } - color_buf__u_right_buf.value = static_cast(color_buf__u_right_buf_); - } - color_buf__u.right = color_buf__u_right_buf; - const auto color_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf__u_bottom_buf = {}; - color_buf__u_bottom_buf.tag = color_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 color_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf__u_bottom_buf_ = {}; - color_buf__u_bottom_buf_.selector = color_buf__u_bottom_buf__selector; - if (color_buf__u_bottom_buf__selector == 0) { - color_buf__u_bottom_buf_.selector = 0; - color_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__u_bottom_buf__selector == 1) { - color_buf__u_bottom_buf_.selector = 1; - color_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__u_bottom_buf__selector == 2) { - color_buf__u_bottom_buf_.selector = 2; - color_buf__u_bottom_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (color_buf__u_bottom_buf__selector == 3) { - color_buf__u_bottom_buf_.selector = 3; - color_buf__u_bottom_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for color_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - color_buf__u_bottom_buf.value = static_cast(color_buf__u_bottom_buf_); - } - color_buf__u.bottom = color_buf__u_bottom_buf; - const auto color_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf__u_left_buf = {}; - color_buf__u_left_buf.tag = color_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 color_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf__u_left_buf_ = {}; - color_buf__u_left_buf_.selector = color_buf__u_left_buf__selector; - if (color_buf__u_left_buf__selector == 0) { - color_buf__u_left_buf_.selector = 0; - color_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__u_left_buf__selector == 1) { - color_buf__u_left_buf_.selector = 1; - color_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__u_left_buf__selector == 2) { - color_buf__u_left_buf_.selector = 2; - color_buf__u_left_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (color_buf__u_left_buf__selector == 3) { - color_buf__u_left_buf_.selector = 3; - color_buf__u_left_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for color_buf__u_left_buf_ has to be chosen through deserialisation."); - } - color_buf__u_left_buf.value = static_cast(color_buf__u_left_buf_); - } - color_buf__u.left = color_buf__u_left_buf; - color_buf_.value0 = color_buf__u; + color_buf_.value0 = valueDeserializer.readEdgeColors(); } else if (color_buf__selector == 1) { color_buf_.selector = 1; @@ -109751,117 +115414,12 @@ class Deserializer : public DeserializerBase { radius_buf_.selector = radius_buf__selector; if (radius_buf__selector == 0) { radius_buf_.selector = 0; - Ark_BorderRadiuses radius_buf__u = {}; - const auto radius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf__u_topLeft_buf = {}; - radius_buf__u_topLeft_buf.tag = radius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 radius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u_topLeft_buf_ = {}; - radius_buf__u_topLeft_buf_.selector = radius_buf__u_topLeft_buf__selector; - if (radius_buf__u_topLeft_buf__selector == 0) { - radius_buf__u_topLeft_buf_.selector = 0; - radius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (radius_buf__u_topLeft_buf__selector == 1) { - radius_buf__u_topLeft_buf_.selector = 1; - radius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_topLeft_buf__selector == 2) { - radius_buf__u_topLeft_buf_.selector = 2; - radius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - radius_buf__u_topLeft_buf.value = static_cast(radius_buf__u_topLeft_buf_); - } - radius_buf__u.topLeft = radius_buf__u_topLeft_buf; - const auto radius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf__u_topRight_buf = {}; - radius_buf__u_topRight_buf.tag = radius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 radius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u_topRight_buf_ = {}; - radius_buf__u_topRight_buf_.selector = radius_buf__u_topRight_buf__selector; - if (radius_buf__u_topRight_buf__selector == 0) { - radius_buf__u_topRight_buf_.selector = 0; - radius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (radius_buf__u_topRight_buf__selector == 1) { - radius_buf__u_topRight_buf_.selector = 1; - radius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_topRight_buf__selector == 2) { - radius_buf__u_topRight_buf_.selector = 2; - radius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_topRight_buf_ has to be chosen through deserialisation."); - } - radius_buf__u_topRight_buf.value = static_cast(radius_buf__u_topRight_buf_); - } - radius_buf__u.topRight = radius_buf__u_topRight_buf; - const auto radius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf__u_bottomLeft_buf = {}; - radius_buf__u_bottomLeft_buf.tag = radius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 radius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u_bottomLeft_buf_ = {}; - radius_buf__u_bottomLeft_buf_.selector = radius_buf__u_bottomLeft_buf__selector; - if (radius_buf__u_bottomLeft_buf__selector == 0) { - radius_buf__u_bottomLeft_buf_.selector = 0; - radius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (radius_buf__u_bottomLeft_buf__selector == 1) { - radius_buf__u_bottomLeft_buf_.selector = 1; - radius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_bottomLeft_buf__selector == 2) { - radius_buf__u_bottomLeft_buf_.selector = 2; - radius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - radius_buf__u_bottomLeft_buf.value = static_cast(radius_buf__u_bottomLeft_buf_); - } - radius_buf__u.bottomLeft = radius_buf__u_bottomLeft_buf; - const auto radius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf__u_bottomRight_buf = {}; - radius_buf__u_bottomRight_buf.tag = radius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 radius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u_bottomRight_buf_ = {}; - radius_buf__u_bottomRight_buf_.selector = radius_buf__u_bottomRight_buf__selector; - if (radius_buf__u_bottomRight_buf__selector == 0) { - radius_buf__u_bottomRight_buf_.selector = 0; - radius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (radius_buf__u_bottomRight_buf__selector == 1) { - radius_buf__u_bottomRight_buf_.selector = 1; - radius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_bottomRight_buf__selector == 2) { - radius_buf__u_bottomRight_buf_.selector = 2; - radius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); - } - radius_buf__u_bottomRight_buf.value = static_cast(radius_buf__u_bottomRight_buf_); - } - radius_buf__u.bottomRight = radius_buf__u_bottomRight_buf; - radius_buf_.value0 = radius_buf__u; + radius_buf_.value0 = valueDeserializer.readBorderRadiuses(); } else if (radius_buf__selector == 1) { radius_buf_.selector = 1; const Ark_Int8 radius_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u = {}; + Ark_Length radius_buf__u = {}; radius_buf__u.selector = radius_buf__u_selector; if (radius_buf__u_selector == 0) { radius_buf__u.selector = 0; @@ -109878,7 +115436,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for radius_buf__u has to be chosen through deserialisation."); } - radius_buf_.value1 = static_cast(radius_buf__u); + radius_buf_.value1 = static_cast(radius_buf__u); } else if (radius_buf__selector == 2) { radius_buf_.selector = 2; @@ -109922,112 +115480,7 @@ class Deserializer : public DeserializerBase { dashGap_buf_.selector = dashGap_buf__selector; if (dashGap_buf__selector == 0) { dashGap_buf_.selector = 0; - Ark_EdgeWidths dashGap_buf__u = {}; - const auto dashGap_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource dashGap_buf__u_top_buf = {}; - dashGap_buf__u_top_buf.tag = dashGap_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dashGap_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 dashGap_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource dashGap_buf__u_top_buf_ = {}; - dashGap_buf__u_top_buf_.selector = dashGap_buf__u_top_buf__selector; - if (dashGap_buf__u_top_buf__selector == 0) { - dashGap_buf__u_top_buf_.selector = 0; - dashGap_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (dashGap_buf__u_top_buf__selector == 1) { - dashGap_buf__u_top_buf_.selector = 1; - dashGap_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (dashGap_buf__u_top_buf__selector == 2) { - dashGap_buf__u_top_buf_.selector = 2; - dashGap_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for dashGap_buf__u_top_buf_ has to be chosen through deserialisation."); - } - dashGap_buf__u_top_buf.value = static_cast(dashGap_buf__u_top_buf_); - } - dashGap_buf__u.top = dashGap_buf__u_top_buf; - const auto dashGap_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource dashGap_buf__u_right_buf = {}; - dashGap_buf__u_right_buf.tag = dashGap_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dashGap_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 dashGap_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource dashGap_buf__u_right_buf_ = {}; - dashGap_buf__u_right_buf_.selector = dashGap_buf__u_right_buf__selector; - if (dashGap_buf__u_right_buf__selector == 0) { - dashGap_buf__u_right_buf_.selector = 0; - dashGap_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (dashGap_buf__u_right_buf__selector == 1) { - dashGap_buf__u_right_buf_.selector = 1; - dashGap_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (dashGap_buf__u_right_buf__selector == 2) { - dashGap_buf__u_right_buf_.selector = 2; - dashGap_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for dashGap_buf__u_right_buf_ has to be chosen through deserialisation."); - } - dashGap_buf__u_right_buf.value = static_cast(dashGap_buf__u_right_buf_); - } - dashGap_buf__u.right = dashGap_buf__u_right_buf; - const auto dashGap_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource dashGap_buf__u_bottom_buf = {}; - dashGap_buf__u_bottom_buf.tag = dashGap_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dashGap_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 dashGap_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource dashGap_buf__u_bottom_buf_ = {}; - dashGap_buf__u_bottom_buf_.selector = dashGap_buf__u_bottom_buf__selector; - if (dashGap_buf__u_bottom_buf__selector == 0) { - dashGap_buf__u_bottom_buf_.selector = 0; - dashGap_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (dashGap_buf__u_bottom_buf__selector == 1) { - dashGap_buf__u_bottom_buf_.selector = 1; - dashGap_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (dashGap_buf__u_bottom_buf__selector == 2) { - dashGap_buf__u_bottom_buf_.selector = 2; - dashGap_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for dashGap_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - dashGap_buf__u_bottom_buf.value = static_cast(dashGap_buf__u_bottom_buf_); - } - dashGap_buf__u.bottom = dashGap_buf__u_bottom_buf; - const auto dashGap_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource dashGap_buf__u_left_buf = {}; - dashGap_buf__u_left_buf.tag = dashGap_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dashGap_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 dashGap_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource dashGap_buf__u_left_buf_ = {}; - dashGap_buf__u_left_buf_.selector = dashGap_buf__u_left_buf__selector; - if (dashGap_buf__u_left_buf__selector == 0) { - dashGap_buf__u_left_buf_.selector = 0; - dashGap_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (dashGap_buf__u_left_buf__selector == 1) { - dashGap_buf__u_left_buf_.selector = 1; - dashGap_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (dashGap_buf__u_left_buf__selector == 2) { - dashGap_buf__u_left_buf_.selector = 2; - dashGap_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for dashGap_buf__u_left_buf_ has to be chosen through deserialisation."); - } - dashGap_buf__u_left_buf.value = static_cast(dashGap_buf__u_left_buf_); - } - dashGap_buf__u.left = dashGap_buf__u_left_buf; - dashGap_buf_.value0 = dashGap_buf__u; + dashGap_buf_.value0 = valueDeserializer.readEdgeWidths(); } else if (dashGap_buf__selector == 1) { dashGap_buf_.selector = 1; @@ -110053,112 +115506,7 @@ class Deserializer : public DeserializerBase { dashWidth_buf_.selector = dashWidth_buf__selector; if (dashWidth_buf__selector == 0) { dashWidth_buf_.selector = 0; - Ark_EdgeWidths dashWidth_buf__u = {}; - const auto dashWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource dashWidth_buf__u_top_buf = {}; - dashWidth_buf__u_top_buf.tag = dashWidth_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dashWidth_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 dashWidth_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource dashWidth_buf__u_top_buf_ = {}; - dashWidth_buf__u_top_buf_.selector = dashWidth_buf__u_top_buf__selector; - if (dashWidth_buf__u_top_buf__selector == 0) { - dashWidth_buf__u_top_buf_.selector = 0; - dashWidth_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (dashWidth_buf__u_top_buf__selector == 1) { - dashWidth_buf__u_top_buf_.selector = 1; - dashWidth_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (dashWidth_buf__u_top_buf__selector == 2) { - dashWidth_buf__u_top_buf_.selector = 2; - dashWidth_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for dashWidth_buf__u_top_buf_ has to be chosen through deserialisation."); - } - dashWidth_buf__u_top_buf.value = static_cast(dashWidth_buf__u_top_buf_); - } - dashWidth_buf__u.top = dashWidth_buf__u_top_buf; - const auto dashWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource dashWidth_buf__u_right_buf = {}; - dashWidth_buf__u_right_buf.tag = dashWidth_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dashWidth_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 dashWidth_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource dashWidth_buf__u_right_buf_ = {}; - dashWidth_buf__u_right_buf_.selector = dashWidth_buf__u_right_buf__selector; - if (dashWidth_buf__u_right_buf__selector == 0) { - dashWidth_buf__u_right_buf_.selector = 0; - dashWidth_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (dashWidth_buf__u_right_buf__selector == 1) { - dashWidth_buf__u_right_buf_.selector = 1; - dashWidth_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (dashWidth_buf__u_right_buf__selector == 2) { - dashWidth_buf__u_right_buf_.selector = 2; - dashWidth_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for dashWidth_buf__u_right_buf_ has to be chosen through deserialisation."); - } - dashWidth_buf__u_right_buf.value = static_cast(dashWidth_buf__u_right_buf_); - } - dashWidth_buf__u.right = dashWidth_buf__u_right_buf; - const auto dashWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource dashWidth_buf__u_bottom_buf = {}; - dashWidth_buf__u_bottom_buf.tag = dashWidth_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dashWidth_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 dashWidth_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource dashWidth_buf__u_bottom_buf_ = {}; - dashWidth_buf__u_bottom_buf_.selector = dashWidth_buf__u_bottom_buf__selector; - if (dashWidth_buf__u_bottom_buf__selector == 0) { - dashWidth_buf__u_bottom_buf_.selector = 0; - dashWidth_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (dashWidth_buf__u_bottom_buf__selector == 1) { - dashWidth_buf__u_bottom_buf_.selector = 1; - dashWidth_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (dashWidth_buf__u_bottom_buf__selector == 2) { - dashWidth_buf__u_bottom_buf_.selector = 2; - dashWidth_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for dashWidth_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - dashWidth_buf__u_bottom_buf.value = static_cast(dashWidth_buf__u_bottom_buf_); - } - dashWidth_buf__u.bottom = dashWidth_buf__u_bottom_buf; - const auto dashWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource dashWidth_buf__u_left_buf = {}; - dashWidth_buf__u_left_buf.tag = dashWidth_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dashWidth_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 dashWidth_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource dashWidth_buf__u_left_buf_ = {}; - dashWidth_buf__u_left_buf_.selector = dashWidth_buf__u_left_buf__selector; - if (dashWidth_buf__u_left_buf__selector == 0) { - dashWidth_buf__u_left_buf_.selector = 0; - dashWidth_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (dashWidth_buf__u_left_buf__selector == 1) { - dashWidth_buf__u_left_buf_.selector = 1; - dashWidth_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (dashWidth_buf__u_left_buf__selector == 2) { - dashWidth_buf__u_left_buf_.selector = 2; - dashWidth_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for dashWidth_buf__u_left_buf_ has to be chosen through deserialisation."); - } - dashWidth_buf__u_left_buf.value = static_cast(dashWidth_buf__u_left_buf_); - } - dashWidth_buf__u.left = dashWidth_buf__u_left_buf; - dashWidth_buf_.value0 = dashWidth_buf__u; + dashWidth_buf_.value0 = valueDeserializer.readEdgeWidths(); } else if (dashWidth_buf__selector == 1) { dashWidth_buf_.selector = 1; @@ -110176,52 +115524,6 @@ class Deserializer : public DeserializerBase { value.dashWidth = dashWidth_buf; return value; } - Ark_ButtonStyle readButtonStyle() - { - Ark_ButtonStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number left_buf = {}; - left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) - { - left_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.left = left_buf; - const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number top_buf = {}; - top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) - { - top_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.top = top_buf; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) - { - width_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.width = width_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) - { - height_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.height = height_buf; - const auto icons_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ButtonIconOptions icons_buf = {}; - icons_buf.tag = icons_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (icons_buf_runtimeType)) - { - icons_buf.value = valueDeserializer.readButtonIconOptions(); - } - value.icons = icons_buf; - return value; - } Ark_CancelButtonOptions readCancelButtonOptions() { Ark_CancelButtonOptions value = {}; @@ -110287,12 +115589,12 @@ class Deserializer : public DeserializerBase { } value.borderColor = borderColor_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf = {}; + Opt_Length borderWidth_buf = {}; borderWidth_buf.tag = borderWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) { const Ark_Int8 borderWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf_ = {}; + Ark_Length borderWidth_buf_ = {}; borderWidth_buf_.selector = borderWidth_buf__selector; if (borderWidth_buf__selector == 0) { borderWidth_buf_.selector = 0; @@ -110309,7 +115611,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for borderWidth_buf_ has to be chosen through deserialisation."); } - borderWidth_buf.value = static_cast(borderWidth_buf_); + borderWidth_buf.value = static_cast(borderWidth_buf_); } value.borderWidth = borderWidth_buf; const auto content_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -110366,6 +115668,14 @@ class Deserializer : public DeserializerBase { showDefaultPercentage_buf.value = valueDeserializer.readBoolean(); } value.showDefaultPercentage = showDefaultPercentage_buf; + const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics borderRadius_buf = {}; + borderRadius_buf.tag = borderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) + { + borderRadius_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.borderRadius = borderRadius_buf; return value; } Ark_ContextMenuOptions readContextMenuOptions() @@ -110397,12 +115707,12 @@ class Deserializer : public DeserializerBase { } value.enableArrow = enableArrow_buf; const auto arrowOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource arrowOffset_buf = {}; + Opt_Length arrowOffset_buf = {}; arrowOffset_buf.tag = arrowOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (arrowOffset_buf_runtimeType)) { const Ark_Int8 arrowOffset_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource arrowOffset_buf_ = {}; + Ark_Length arrowOffset_buf_ = {}; arrowOffset_buf_.selector = arrowOffset_buf__selector; if (arrowOffset_buf__selector == 0) { arrowOffset_buf_.selector = 0; @@ -110419,7 +115729,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for arrowOffset_buf_ has to be chosen through deserialisation."); } - arrowOffset_buf.value = static_cast(arrowOffset_buf_); + arrowOffset_buf.value = static_cast(arrowOffset_buf_); } value.arrowOffset = arrowOffset_buf; const auto preview_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -110444,6 +115754,50 @@ class Deserializer : public DeserializerBase { preview_buf.value = static_cast(preview_buf_); } value.preview = preview_buf; + const auto previewBorderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BorderRadiusType previewBorderRadius_buf = {}; + previewBorderRadius_buf.tag = previewBorderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (previewBorderRadius_buf_runtimeType)) + { + const Ark_Int8 previewBorderRadius_buf__selector = valueDeserializer.readInt8(); + Ark_BorderRadiusType previewBorderRadius_buf_ = {}; + previewBorderRadius_buf_.selector = previewBorderRadius_buf__selector; + if (previewBorderRadius_buf__selector == 0) { + previewBorderRadius_buf_.selector = 0; + const Ark_Int8 previewBorderRadius_buf__u_selector = valueDeserializer.readInt8(); + Ark_Length previewBorderRadius_buf__u = {}; + previewBorderRadius_buf__u.selector = previewBorderRadius_buf__u_selector; + if (previewBorderRadius_buf__u_selector == 0) { + previewBorderRadius_buf__u.selector = 0; + previewBorderRadius_buf__u.value0 = static_cast(valueDeserializer.readString()); + } + else if (previewBorderRadius_buf__u_selector == 1) { + previewBorderRadius_buf__u.selector = 1; + previewBorderRadius_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (previewBorderRadius_buf__u_selector == 2) { + previewBorderRadius_buf__u.selector = 2; + previewBorderRadius_buf__u.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for previewBorderRadius_buf__u has to be chosen through deserialisation."); + } + previewBorderRadius_buf_.value0 = static_cast(previewBorderRadius_buf__u); + } + else if (previewBorderRadius_buf__selector == 1) { + previewBorderRadius_buf_.selector = 1; + previewBorderRadius_buf_.value1 = valueDeserializer.readBorderRadiuses(); + } + else if (previewBorderRadius_buf__selector == 2) { + previewBorderRadius_buf_.selector = 2; + previewBorderRadius_buf_.value2 = valueDeserializer.readLocalizedBorderRadiuses(); + } + else { + INTEROP_FATAL("One of the branches for previewBorderRadius_buf_ has to be chosen through deserialisation."); + } + previewBorderRadius_buf.value = static_cast(previewBorderRadius_buf_); + } + value.previewBorderRadius = previewBorderRadius_buf; const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses borderRadius_buf = {}; borderRadius_buf.tag = borderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -110455,7 +115809,7 @@ class Deserializer : public DeserializerBase { if (borderRadius_buf__selector == 0) { borderRadius_buf_.selector = 0; const Ark_Int8 borderRadius_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u = {}; + Ark_Length borderRadius_buf__u = {}; borderRadius_buf__u.selector = borderRadius_buf__u_selector; if (borderRadius_buf__u_selector == 0) { borderRadius_buf__u.selector = 0; @@ -110472,116 +115826,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for borderRadius_buf__u has to be chosen through deserialisation."); } - borderRadius_buf_.value0 = static_cast(borderRadius_buf__u); + borderRadius_buf_.value0 = static_cast(borderRadius_buf__u); } else if (borderRadius_buf__selector == 1) { borderRadius_buf_.selector = 1; - Ark_BorderRadiuses borderRadius_buf__u = {}; - const auto borderRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_topLeft_buf = {}; - borderRadius_buf__u_topLeft_buf.tag = borderRadius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_topLeft_buf_ = {}; - borderRadius_buf__u_topLeft_buf_.selector = borderRadius_buf__u_topLeft_buf__selector; - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_.selector = 0; - borderRadius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_.selector = 1; - borderRadius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_.selector = 2; - borderRadius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_topLeft_buf.value = static_cast(borderRadius_buf__u_topLeft_buf_); - } - borderRadius_buf__u.topLeft = borderRadius_buf__u_topLeft_buf; - const auto borderRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_topRight_buf = {}; - borderRadius_buf__u_topRight_buf.tag = borderRadius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_topRight_buf_ = {}; - borderRadius_buf__u_topRight_buf_.selector = borderRadius_buf__u_topRight_buf__selector; - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_.selector = 0; - borderRadius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_.selector = 1; - borderRadius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_.selector = 2; - borderRadius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_topRight_buf.value = static_cast(borderRadius_buf__u_topRight_buf_); - } - borderRadius_buf__u.topRight = borderRadius_buf__u_topRight_buf; - const auto borderRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_bottomLeft_buf = {}; - borderRadius_buf__u_bottomLeft_buf.tag = borderRadius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_bottomLeft_buf_ = {}; - borderRadius_buf__u_bottomLeft_buf_.selector = borderRadius_buf__u_bottomLeft_buf__selector; - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_.selector = 0; - borderRadius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_.selector = 1; - borderRadius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_.selector = 2; - borderRadius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_bottomLeft_buf.value = static_cast(borderRadius_buf__u_bottomLeft_buf_); - } - borderRadius_buf__u.bottomLeft = borderRadius_buf__u_bottomLeft_buf; - const auto borderRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_bottomRight_buf = {}; - borderRadius_buf__u_bottomRight_buf.tag = borderRadius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_bottomRight_buf_ = {}; - borderRadius_buf__u_bottomRight_buf_.selector = borderRadius_buf__u_bottomRight_buf__selector; - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_.selector = 0; - borderRadius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_.selector = 1; - borderRadius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_.selector = 2; - borderRadius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_bottomRight_buf.value = static_cast(borderRadius_buf__u_bottomRight_buf_); - } - borderRadius_buf__u.bottomRight = borderRadius_buf__u_bottomRight_buf; - borderRadius_buf_.value1 = borderRadius_buf__u; + borderRadius_buf_.value1 = valueDeserializer.readBorderRadiuses(); } else if (borderRadius_buf__selector == 2) { borderRadius_buf_.selector = 2; @@ -110630,112 +115879,7 @@ class Deserializer : public DeserializerBase { layoutRegionMargin_buf.tag = layoutRegionMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf_runtimeType)) { - Ark_Padding layoutRegionMargin_buf_ = {}; - const auto layoutRegionMargin_buf__top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource layoutRegionMargin_buf__top_buf = {}; - layoutRegionMargin_buf__top_buf.tag = layoutRegionMargin_buf__top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__top_buf_runtimeType)) - { - const Ark_Int8 layoutRegionMargin_buf__top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource layoutRegionMargin_buf__top_buf_ = {}; - layoutRegionMargin_buf__top_buf_.selector = layoutRegionMargin_buf__top_buf__selector; - if (layoutRegionMargin_buf__top_buf__selector == 0) { - layoutRegionMargin_buf__top_buf_.selector = 0; - layoutRegionMargin_buf__top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (layoutRegionMargin_buf__top_buf__selector == 1) { - layoutRegionMargin_buf__top_buf_.selector = 1; - layoutRegionMargin_buf__top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (layoutRegionMargin_buf__top_buf__selector == 2) { - layoutRegionMargin_buf__top_buf_.selector = 2; - layoutRegionMargin_buf__top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for layoutRegionMargin_buf__top_buf_ has to be chosen through deserialisation."); - } - layoutRegionMargin_buf__top_buf.value = static_cast(layoutRegionMargin_buf__top_buf_); - } - layoutRegionMargin_buf_.top = layoutRegionMargin_buf__top_buf; - const auto layoutRegionMargin_buf__right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource layoutRegionMargin_buf__right_buf = {}; - layoutRegionMargin_buf__right_buf.tag = layoutRegionMargin_buf__right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__right_buf_runtimeType)) - { - const Ark_Int8 layoutRegionMargin_buf__right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource layoutRegionMargin_buf__right_buf_ = {}; - layoutRegionMargin_buf__right_buf_.selector = layoutRegionMargin_buf__right_buf__selector; - if (layoutRegionMargin_buf__right_buf__selector == 0) { - layoutRegionMargin_buf__right_buf_.selector = 0; - layoutRegionMargin_buf__right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (layoutRegionMargin_buf__right_buf__selector == 1) { - layoutRegionMargin_buf__right_buf_.selector = 1; - layoutRegionMargin_buf__right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (layoutRegionMargin_buf__right_buf__selector == 2) { - layoutRegionMargin_buf__right_buf_.selector = 2; - layoutRegionMargin_buf__right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for layoutRegionMargin_buf__right_buf_ has to be chosen through deserialisation."); - } - layoutRegionMargin_buf__right_buf.value = static_cast(layoutRegionMargin_buf__right_buf_); - } - layoutRegionMargin_buf_.right = layoutRegionMargin_buf__right_buf; - const auto layoutRegionMargin_buf__bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource layoutRegionMargin_buf__bottom_buf = {}; - layoutRegionMargin_buf__bottom_buf.tag = layoutRegionMargin_buf__bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__bottom_buf_runtimeType)) - { - const Ark_Int8 layoutRegionMargin_buf__bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource layoutRegionMargin_buf__bottom_buf_ = {}; - layoutRegionMargin_buf__bottom_buf_.selector = layoutRegionMargin_buf__bottom_buf__selector; - if (layoutRegionMargin_buf__bottom_buf__selector == 0) { - layoutRegionMargin_buf__bottom_buf_.selector = 0; - layoutRegionMargin_buf__bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (layoutRegionMargin_buf__bottom_buf__selector == 1) { - layoutRegionMargin_buf__bottom_buf_.selector = 1; - layoutRegionMargin_buf__bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (layoutRegionMargin_buf__bottom_buf__selector == 2) { - layoutRegionMargin_buf__bottom_buf_.selector = 2; - layoutRegionMargin_buf__bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for layoutRegionMargin_buf__bottom_buf_ has to be chosen through deserialisation."); - } - layoutRegionMargin_buf__bottom_buf.value = static_cast(layoutRegionMargin_buf__bottom_buf_); - } - layoutRegionMargin_buf_.bottom = layoutRegionMargin_buf__bottom_buf; - const auto layoutRegionMargin_buf__left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource layoutRegionMargin_buf__left_buf = {}; - layoutRegionMargin_buf__left_buf.tag = layoutRegionMargin_buf__left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__left_buf_runtimeType)) - { - const Ark_Int8 layoutRegionMargin_buf__left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource layoutRegionMargin_buf__left_buf_ = {}; - layoutRegionMargin_buf__left_buf_.selector = layoutRegionMargin_buf__left_buf__selector; - if (layoutRegionMargin_buf__left_buf__selector == 0) { - layoutRegionMargin_buf__left_buf_.selector = 0; - layoutRegionMargin_buf__left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (layoutRegionMargin_buf__left_buf__selector == 1) { - layoutRegionMargin_buf__left_buf_.selector = 1; - layoutRegionMargin_buf__left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (layoutRegionMargin_buf__left_buf__selector == 2) { - layoutRegionMargin_buf__left_buf_.selector = 2; - layoutRegionMargin_buf__left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for layoutRegionMargin_buf__left_buf_ has to be chosen through deserialisation."); - } - layoutRegionMargin_buf__left_buf.value = static_cast(layoutRegionMargin_buf__left_buf_); - } - layoutRegionMargin_buf_.left = layoutRegionMargin_buf__left_buf; - layoutRegionMargin_buf.value = layoutRegionMargin_buf_; + layoutRegionMargin_buf.value = valueDeserializer.readPadding(); } value.layoutRegionMargin = layoutRegionMargin_buf; const auto previewAnimationOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -110784,6 +115928,22 @@ class Deserializer : public DeserializerBase { backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; const auto transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionEffect transition_buf = {}; transition_buf.tag = transition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -110800,6 +115960,98 @@ class Deserializer : public DeserializerBase { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; + const auto outlineColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_ResourceColor_EdgeColors outlineColor_buf = {}; + outlineColor_buf.tag = outlineColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (outlineColor_buf_runtimeType)) + { + const Ark_Int8 outlineColor_buf__selector = valueDeserializer.readInt8(); + Ark_Union_ResourceColor_EdgeColors outlineColor_buf_ = {}; + outlineColor_buf_.selector = outlineColor_buf__selector; + if (outlineColor_buf__selector == 0) { + outlineColor_buf_.selector = 0; + const Ark_Int8 outlineColor_buf__u_selector = valueDeserializer.readInt8(); + Ark_ResourceColor outlineColor_buf__u = {}; + outlineColor_buf__u.selector = outlineColor_buf__u_selector; + if (outlineColor_buf__u_selector == 0) { + outlineColor_buf__u.selector = 0; + outlineColor_buf__u.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (outlineColor_buf__u_selector == 1) { + outlineColor_buf__u.selector = 1; + outlineColor_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (outlineColor_buf__u_selector == 2) { + outlineColor_buf__u.selector = 2; + outlineColor_buf__u.value2 = static_cast(valueDeserializer.readString()); + } + else if (outlineColor_buf__u_selector == 3) { + outlineColor_buf__u.selector = 3; + outlineColor_buf__u.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for outlineColor_buf__u has to be chosen through deserialisation."); + } + outlineColor_buf_.value0 = static_cast(outlineColor_buf__u); + } + else if (outlineColor_buf__selector == 1) { + outlineColor_buf_.selector = 1; + outlineColor_buf_.value1 = valueDeserializer.readEdgeColors(); + } + else { + INTEROP_FATAL("One of the branches for outlineColor_buf_ has to be chosen through deserialisation."); + } + outlineColor_buf.value = static_cast(outlineColor_buf_); + } + value.outlineColor = outlineColor_buf; + const auto outlineWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Dimension_EdgeOutlineWidths outlineWidth_buf = {}; + outlineWidth_buf.tag = outlineWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (outlineWidth_buf_runtimeType)) + { + const Ark_Int8 outlineWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Dimension_EdgeOutlineWidths outlineWidth_buf_ = {}; + outlineWidth_buf_.selector = outlineWidth_buf__selector; + if (outlineWidth_buf__selector == 0) { + outlineWidth_buf_.selector = 0; + const Ark_Int8 outlineWidth_buf__u_selector = valueDeserializer.readInt8(); + Ark_Dimension outlineWidth_buf__u = {}; + outlineWidth_buf__u.selector = outlineWidth_buf__u_selector; + if (outlineWidth_buf__u_selector == 0) { + outlineWidth_buf__u.selector = 0; + outlineWidth_buf__u.value0 = static_cast(valueDeserializer.readString()); + } + else if (outlineWidth_buf__u_selector == 1) { + outlineWidth_buf__u.selector = 1; + outlineWidth_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (outlineWidth_buf__u_selector == 2) { + outlineWidth_buf__u.selector = 2; + outlineWidth_buf__u.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for outlineWidth_buf__u has to be chosen through deserialisation."); + } + outlineWidth_buf_.value0 = static_cast(outlineWidth_buf__u); + } + else if (outlineWidth_buf__selector == 1) { + outlineWidth_buf_.selector = 1; + outlineWidth_buf_.value1 = valueDeserializer.readEdgeOutlineWidths(); + } + else { + INTEROP_FATAL("One of the branches for outlineWidth_buf_ has to be chosen through deserialisation."); + } + outlineWidth_buf.value = static_cast(outlineWidth_buf_); + } + value.outlineWidth = outlineWidth_buf; + const auto hapticFeedbackMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_HapticFeedbackMode hapticFeedbackMode_buf = {}; + hapticFeedbackMode_buf.tag = hapticFeedbackMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hapticFeedbackMode_buf_runtimeType)) + { + hapticFeedbackMode_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.hapticFeedbackMode = hapticFeedbackMode_buf; return value; } Ark_CustomDialogControllerOptions readCustomDialogControllerOptions() @@ -110836,46 +116088,7 @@ class Deserializer : public DeserializerBase { offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - Ark_Offset offset_buf_ = {}; - const Ark_Int8 offset_buf__dx_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dx_buf = {}; - offset_buf__dx_buf.selector = offset_buf__dx_buf_selector; - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf.selector = 0; - offset_buf__dx_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf.selector = 1; - offset_buf__dx_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf.selector = 2; - offset_buf__dx_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation."); - } - offset_buf_.dx = static_cast(offset_buf__dx_buf); - const Ark_Int8 offset_buf__dy_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dy_buf = {}; - offset_buf__dy_buf.selector = offset_buf__dy_buf_selector; - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf.selector = 0; - offset_buf__dy_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf.selector = 1; - offset_buf__dy_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf.selector = 2; - offset_buf__dy_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation."); - } - offset_buf_.dy = static_cast(offset_buf__dy_buf); - offset_buf.value = offset_buf_; + offset_buf.value = valueDeserializer.readOffset(); } value.offset = offset_buf; const auto customStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -110997,7 +116210,7 @@ class Deserializer : public DeserializerBase { if (cornerRadius_buf__selector == 0) { cornerRadius_buf_.selector = 0; const Ark_Int8 cornerRadius_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u = {}; + Ark_Dimension cornerRadius_buf__u = {}; cornerRadius_buf__u.selector = cornerRadius_buf__u_selector; if (cornerRadius_buf__u_selector == 0) { cornerRadius_buf__u.selector = 0; @@ -111014,116 +116227,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for cornerRadius_buf__u has to be chosen through deserialisation."); } - cornerRadius_buf_.value0 = static_cast(cornerRadius_buf__u); + cornerRadius_buf_.value0 = static_cast(cornerRadius_buf__u); } else if (cornerRadius_buf__selector == 1) { cornerRadius_buf_.selector = 1; - Ark_BorderRadiuses cornerRadius_buf__u = {}; - const auto cornerRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_topLeft_buf = {}; - cornerRadius_buf__u_topLeft_buf.tag = cornerRadius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_topLeft_buf_ = {}; - cornerRadius_buf__u_topLeft_buf_.selector = cornerRadius_buf__u_topLeft_buf__selector; - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_.selector = 0; - cornerRadius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_.selector = 1; - cornerRadius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_.selector = 2; - cornerRadius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_topLeft_buf.value = static_cast(cornerRadius_buf__u_topLeft_buf_); - } - cornerRadius_buf__u.topLeft = cornerRadius_buf__u_topLeft_buf; - const auto cornerRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_topRight_buf = {}; - cornerRadius_buf__u_topRight_buf.tag = cornerRadius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_topRight_buf_ = {}; - cornerRadius_buf__u_topRight_buf_.selector = cornerRadius_buf__u_topRight_buf__selector; - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_.selector = 0; - cornerRadius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_.selector = 1; - cornerRadius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_.selector = 2; - cornerRadius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_topRight_buf.value = static_cast(cornerRadius_buf__u_topRight_buf_); - } - cornerRadius_buf__u.topRight = cornerRadius_buf__u_topRight_buf; - const auto cornerRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_bottomLeft_buf = {}; - cornerRadius_buf__u_bottomLeft_buf.tag = cornerRadius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_bottomLeft_buf_ = {}; - cornerRadius_buf__u_bottomLeft_buf_.selector = cornerRadius_buf__u_bottomLeft_buf__selector; - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 0; - cornerRadius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 1; - cornerRadius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_.selector = 2; - cornerRadius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_bottomLeft_buf.value = static_cast(cornerRadius_buf__u_bottomLeft_buf_); - } - cornerRadius_buf__u.bottomLeft = cornerRadius_buf__u_bottomLeft_buf; - const auto cornerRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource cornerRadius_buf__u_bottomRight_buf = {}; - cornerRadius_buf__u_bottomRight_buf.tag = cornerRadius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 cornerRadius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource cornerRadius_buf__u_bottomRight_buf_ = {}; - cornerRadius_buf__u_bottomRight_buf_.selector = cornerRadius_buf__u_bottomRight_buf__selector; - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_.selector = 0; - cornerRadius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_.selector = 1; - cornerRadius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_.selector = 2; - cornerRadius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); - } - cornerRadius_buf__u_bottomRight_buf.value = static_cast(cornerRadius_buf__u_bottomRight_buf_); - } - cornerRadius_buf__u.bottomRight = cornerRadius_buf__u_bottomRight_buf; - cornerRadius_buf_.value1 = cornerRadius_buf__u; + cornerRadius_buf_.value1 = valueDeserializer.readBorderRadiuses(); } else { INTEROP_FATAL("One of the branches for cornerRadius_buf_ has to be chosen through deserialisation."); @@ -111148,12 +116256,12 @@ class Deserializer : public DeserializerBase { } value.onWillDismiss = onWillDismiss_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf = {}; + Opt_Dimension width_buf = {}; width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf_ = {}; + Ark_Dimension width_buf_ = {}; width_buf_.selector = width_buf__selector; if (width_buf__selector == 0) { width_buf_.selector = 0; @@ -111170,16 +116278,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + width_buf.value = static_cast(width_buf_); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource height_buf = {}; + Opt_Dimension height_buf = {}; height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) { const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_buf_ = {}; + Ark_Dimension height_buf_ = {}; height_buf_.selector = height_buf__selector; if (height_buf__selector == 0) { height_buf_.selector = 0; @@ -111196,7 +116304,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + height_buf.value = static_cast(height_buf_); } value.height = height_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -111210,7 +116318,7 @@ class Deserializer : public DeserializerBase { if (borderWidth_buf__selector == 0) { borderWidth_buf_.selector = 0; const Ark_Int8 borderWidth_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u = {}; + Ark_Dimension borderWidth_buf__u = {}; borderWidth_buf__u.selector = borderWidth_buf__u_selector; if (borderWidth_buf__u_selector == 0) { borderWidth_buf__u.selector = 0; @@ -111227,116 +116335,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for borderWidth_buf__u has to be chosen through deserialisation."); } - borderWidth_buf_.value0 = static_cast(borderWidth_buf__u); + borderWidth_buf_.value0 = static_cast(borderWidth_buf__u); } else if (borderWidth_buf__selector == 1) { borderWidth_buf_.selector = 1; - Ark_EdgeWidths borderWidth_buf__u = {}; - const auto borderWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_top_buf = {}; - borderWidth_buf__u_top_buf.tag = borderWidth_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_top_buf_ = {}; - borderWidth_buf__u_top_buf_.selector = borderWidth_buf__u_top_buf__selector; - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_.selector = 0; - borderWidth_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_.selector = 1; - borderWidth_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_.selector = 2; - borderWidth_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_top_buf.value = static_cast(borderWidth_buf__u_top_buf_); - } - borderWidth_buf__u.top = borderWidth_buf__u_top_buf; - const auto borderWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_right_buf = {}; - borderWidth_buf__u_right_buf.tag = borderWidth_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_right_buf_ = {}; - borderWidth_buf__u_right_buf_.selector = borderWidth_buf__u_right_buf__selector; - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_.selector = 0; - borderWidth_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_.selector = 1; - borderWidth_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_.selector = 2; - borderWidth_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_right_buf.value = static_cast(borderWidth_buf__u_right_buf_); - } - borderWidth_buf__u.right = borderWidth_buf__u_right_buf; - const auto borderWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_bottom_buf = {}; - borderWidth_buf__u_bottom_buf.tag = borderWidth_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_bottom_buf_ = {}; - borderWidth_buf__u_bottom_buf_.selector = borderWidth_buf__u_bottom_buf__selector; - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_.selector = 0; - borderWidth_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_.selector = 1; - borderWidth_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_.selector = 2; - borderWidth_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_bottom_buf.value = static_cast(borderWidth_buf__u_bottom_buf_); - } - borderWidth_buf__u.bottom = borderWidth_buf__u_bottom_buf; - const auto borderWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_left_buf = {}; - borderWidth_buf__u_left_buf.tag = borderWidth_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_left_buf_ = {}; - borderWidth_buf__u_left_buf_.selector = borderWidth_buf__u_left_buf__selector; - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_.selector = 0; - borderWidth_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_.selector = 1; - borderWidth_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_.selector = 2; - borderWidth_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_left_buf.value = static_cast(borderWidth_buf__u_left_buf_); - } - borderWidth_buf__u.left = borderWidth_buf__u_left_buf; - borderWidth_buf_.value1 = borderWidth_buf__u; + borderWidth_buf_.value1 = valueDeserializer.readEdgeWidths(); } else { INTEROP_FATAL("One of the branches for borderWidth_buf_ has to be chosen through deserialisation."); @@ -111380,128 +116383,7 @@ class Deserializer : public DeserializerBase { } else if (borderColor_buf__selector == 1) { borderColor_buf_.selector = 1; - Ark_EdgeColors borderColor_buf__u = {}; - const auto borderColor_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_top_buf = {}; - borderColor_buf__u_top_buf.tag = borderColor_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_top_buf_ = {}; - borderColor_buf__u_top_buf_.selector = borderColor_buf__u_top_buf__selector; - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_.selector = 0; - borderColor_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_.selector = 1; - borderColor_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_.selector = 2; - borderColor_buf__u_top_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_.selector = 3; - borderColor_buf__u_top_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_top_buf.value = static_cast(borderColor_buf__u_top_buf_); - } - borderColor_buf__u.top = borderColor_buf__u_top_buf; - const auto borderColor_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_right_buf = {}; - borderColor_buf__u_right_buf.tag = borderColor_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_right_buf_ = {}; - borderColor_buf__u_right_buf_.selector = borderColor_buf__u_right_buf__selector; - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_.selector = 0; - borderColor_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_.selector = 1; - borderColor_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_.selector = 2; - borderColor_buf__u_right_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_.selector = 3; - borderColor_buf__u_right_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_right_buf.value = static_cast(borderColor_buf__u_right_buf_); - } - borderColor_buf__u.right = borderColor_buf__u_right_buf; - const auto borderColor_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_bottom_buf = {}; - borderColor_buf__u_bottom_buf.tag = borderColor_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_bottom_buf_ = {}; - borderColor_buf__u_bottom_buf_.selector = borderColor_buf__u_bottom_buf__selector; - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_.selector = 0; - borderColor_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_.selector = 1; - borderColor_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_.selector = 2; - borderColor_buf__u_bottom_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_.selector = 3; - borderColor_buf__u_bottom_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_bottom_buf.value = static_cast(borderColor_buf__u_bottom_buf_); - } - borderColor_buf__u.bottom = borderColor_buf__u_bottom_buf; - const auto borderColor_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_left_buf = {}; - borderColor_buf__u_left_buf.tag = borderColor_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_left_buf_ = {}; - borderColor_buf__u_left_buf_.selector = borderColor_buf__u_left_buf__selector; - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_.selector = 0; - borderColor_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_.selector = 1; - borderColor_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_.selector = 2; - borderColor_buf__u_left_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_.selector = 3; - borderColor_buf__u_left_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_left_buf.value = static_cast(borderColor_buf__u_left_buf_); - } - borderColor_buf__u.left = borderColor_buf__u_left_buf; - borderColor_buf_.value1 = borderColor_buf__u; + borderColor_buf_.value1 = valueDeserializer.readEdgeColors(); } else { INTEROP_FATAL("One of the branches for borderColor_buf_ has to be chosen through deserialisation."); @@ -111561,6 +116443,22 @@ class Deserializer : public DeserializerBase { backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; const auto keyboardAvoidMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_KeyboardAvoidMode keyboardAvoidMode_buf = {}; keyboardAvoidMode_buf.tag = keyboardAvoidMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -111585,6 +116483,86 @@ class Deserializer : public DeserializerBase { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } value.hoverModeArea = hoverModeArea_buf; + const auto onDidAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDidAppear_buf = {}; + onDidAppear_buf.tag = onDidAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDidAppear = onDidAppear_buf; + const auto onDidDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDidDisappear_buf = {}; + onDidDisappear_buf.tag = onDidDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDidDisappear = onDidDisappear_buf; + const auto onWillAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillAppear_buf = {}; + onWillAppear_buf.tag = onWillAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillAppear = onWillAppear_buf; + const auto onWillDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillDisappear_buf = {}; + onWillDisappear_buf.tag = onWillDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillDisappear = onWillDisappear_buf; + const auto keyboardAvoidDistance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics keyboardAvoidDistance_buf = {}; + keyboardAvoidDistance_buf.tag = keyboardAvoidDistance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (keyboardAvoidDistance_buf_runtimeType)) + { + keyboardAvoidDistance_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.keyboardAvoidDistance = keyboardAvoidDistance_buf; + const auto levelMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LevelMode levelMode_buf = {}; + levelMode_buf.tag = levelMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf.value = valueDeserializer.readLevelMode(); + } + value.levelMode = levelMode_buf; + const auto levelUniqueId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number levelUniqueId_buf = {}; + levelUniqueId_buf.tag = levelUniqueId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.levelUniqueId = levelUniqueId_buf; + const auto immersiveMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImmersiveMode immersiveMode_buf = {}; + immersiveMode_buf.tag = immersiveMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf.value = valueDeserializer.readImmersiveMode(); + } + value.immersiveMode = immersiveMode_buf; + const auto levelOrder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LevelOrder levelOrder_buf = {}; + levelOrder_buf.tag = levelOrder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf.value = valueDeserializer.readLevelOrder(); + } + value.levelOrder = levelOrder_buf; + const auto focusable_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean focusable_buf = {}; + focusable_buf.tag = focusable_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (focusable_buf_runtimeType)) + { + focusable_buf.value = valueDeserializer.readBoolean(); + } + value.focusable = focusable_buf; return value; } Ark_CustomPopupOptions readCustomPopupOptions() @@ -111685,12 +116663,12 @@ class Deserializer : public DeserializerBase { } value.onStateChange = onStateChange_buf; const auto arrowOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource arrowOffset_buf = {}; + Opt_Length arrowOffset_buf = {}; arrowOffset_buf.tag = arrowOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (arrowOffset_buf_runtimeType)) { const Ark_Int8 arrowOffset_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource arrowOffset_buf_ = {}; + Ark_Length arrowOffset_buf_ = {}; arrowOffset_buf_.selector = arrowOffset_buf__selector; if (arrowOffset_buf__selector == 0) { arrowOffset_buf_.selector = 0; @@ -111707,7 +116685,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for arrowOffset_buf_ has to be chosen through deserialisation."); } - arrowOffset_buf.value = static_cast(arrowOffset_buf_); + arrowOffset_buf.value = static_cast(arrowOffset_buf_); } value.arrowOffset = arrowOffset_buf; const auto showInSubWindow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -111765,12 +116743,12 @@ class Deserializer : public DeserializerBase { } value.mask = mask_buf; const auto targetSpace_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource targetSpace_buf = {}; + Opt_Length targetSpace_buf = {}; targetSpace_buf.tag = targetSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (targetSpace_buf_runtimeType)) { const Ark_Int8 targetSpace_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource targetSpace_buf_ = {}; + Ark_Length targetSpace_buf_ = {}; targetSpace_buf_.selector = targetSpace_buf__selector; if (targetSpace_buf__selector == 0) { targetSpace_buf_.selector = 0; @@ -111787,7 +116765,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for targetSpace_buf_ has to be chosen through deserialisation."); } - targetSpace_buf.value = static_cast(targetSpace_buf_); + targetSpace_buf.value = static_cast(targetSpace_buf_); } value.targetSpace = targetSpace_buf; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -111799,12 +116777,12 @@ class Deserializer : public DeserializerBase { } value.offset = offset_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf = {}; + Opt_Dimension width_buf = {}; width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf_ = {}; + Ark_Dimension width_buf_ = {}; width_buf_.selector = width_buf__selector; if (width_buf__selector == 0) { width_buf_.selector = 0; @@ -111821,7 +116799,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + width_buf.value = static_cast(width_buf_); } value.width = width_buf; const auto arrowPointPosition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -111833,12 +116811,12 @@ class Deserializer : public DeserializerBase { } value.arrowPointPosition = arrowPointPosition_buf; const auto arrowWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource arrowWidth_buf = {}; + Opt_Dimension arrowWidth_buf = {}; arrowWidth_buf.tag = arrowWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (arrowWidth_buf_runtimeType)) { const Ark_Int8 arrowWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource arrowWidth_buf_ = {}; + Ark_Dimension arrowWidth_buf_ = {}; arrowWidth_buf_.selector = arrowWidth_buf__selector; if (arrowWidth_buf__selector == 0) { arrowWidth_buf_.selector = 0; @@ -111855,16 +116833,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for arrowWidth_buf_ has to be chosen through deserialisation."); } - arrowWidth_buf.value = static_cast(arrowWidth_buf_); + arrowWidth_buf.value = static_cast(arrowWidth_buf_); } value.arrowWidth = arrowWidth_buf; const auto arrowHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource arrowHeight_buf = {}; + Opt_Dimension arrowHeight_buf = {}; arrowHeight_buf.tag = arrowHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (arrowHeight_buf_runtimeType)) { const Ark_Int8 arrowHeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource arrowHeight_buf_ = {}; + Ark_Dimension arrowHeight_buf_ = {}; arrowHeight_buf_.selector = arrowHeight_buf__selector; if (arrowHeight_buf__selector == 0) { arrowHeight_buf_.selector = 0; @@ -111881,16 +116859,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for arrowHeight_buf_ has to be chosen through deserialisation."); } - arrowHeight_buf.value = static_cast(arrowHeight_buf_); + arrowHeight_buf.value = static_cast(arrowHeight_buf_); } value.arrowHeight = arrowHeight_buf; const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf = {}; + Opt_Dimension radius_buf = {}; radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) { const Ark_Int8 radius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf_ = {}; + Ark_Dimension radius_buf_ = {}; radius_buf_.selector = radius_buf__selector; if (radius_buf__selector == 0) { radius_buf_.selector = 0; @@ -111907,7 +116885,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); } - radius_buf.value = static_cast(radius_buf_); + radius_buf.value = static_cast(radius_buf_); } value.radius = radius_buf; const auto shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -111994,20 +116972,14 @@ class Deserializer : public DeserializerBase { followTransformOfTarget_buf.value = valueDeserializer.readBoolean(); } value.followTransformOfTarget = followTransformOfTarget_buf; - return value; - } - Ark_CustomTheme readCustomTheme() - { - Ark_CustomTheme value = {}; - Deserializer& valueDeserializer = *this; - const auto colors_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomColors colors_buf = {}; - colors_buf.tag = colors_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (colors_buf_runtimeType)) + const auto keyboardAvoidMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_KeyboardAvoidMode keyboardAvoidMode_buf = {}; + keyboardAvoidMode_buf.tag = keyboardAvoidMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) { - colors_buf.value = valueDeserializer.readCustomColors(); + keyboardAvoidMode_buf.value = static_cast(valueDeserializer.readInt32()); } - value.colors = colors_buf; + value.keyboardAvoidMode = keyboardAvoidMode_buf; return value; } Ark_DigitIndicator readDigitIndicator() @@ -112015,12 +116987,12 @@ class Deserializer : public DeserializerBase { Ark_DigitIndicator value = {}; Deserializer& valueDeserializer = *this; const auto _left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _left_buf = {}; + Opt_Length _left_buf = {}; _left_buf.tag = _left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (_left_buf_runtimeType)) { const Ark_Int8 _left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _left_buf_ = {}; + Ark_Length _left_buf_ = {}; _left_buf_.selector = _left_buf__selector; if (_left_buf__selector == 0) { _left_buf_.selector = 0; @@ -112037,16 +117009,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _left_buf_ has to be chosen through deserialisation."); } - _left_buf.value = static_cast(_left_buf_); + _left_buf.value = static_cast(_left_buf_); } value._left = _left_buf; const auto _top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _top_buf = {}; + Opt_Length _top_buf = {}; _top_buf.tag = _top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (_top_buf_runtimeType)) { const Ark_Int8 _top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _top_buf_ = {}; + Ark_Length _top_buf_ = {}; _top_buf_.selector = _top_buf__selector; if (_top_buf__selector == 0) { _top_buf_.selector = 0; @@ -112063,16 +117035,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _top_buf_ has to be chosen through deserialisation."); } - _top_buf.value = static_cast(_top_buf_); + _top_buf.value = static_cast(_top_buf_); } value._top = _top_buf; const auto _right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _right_buf = {}; + Opt_Length _right_buf = {}; _right_buf.tag = _right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (_right_buf_runtimeType)) { const Ark_Int8 _right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _right_buf_ = {}; + Ark_Length _right_buf_ = {}; _right_buf_.selector = _right_buf__selector; if (_right_buf__selector == 0) { _right_buf_.selector = 0; @@ -112089,16 +117061,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _right_buf_ has to be chosen through deserialisation."); } - _right_buf.value = static_cast(_right_buf_); + _right_buf.value = static_cast(_right_buf_); } value._right = _right_buf; const auto _bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _bottom_buf = {}; + Opt_Length _bottom_buf = {}; _bottom_buf.tag = _bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (_bottom_buf_runtimeType)) { const Ark_Int8 _bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _bottom_buf_ = {}; + Ark_Length _bottom_buf_ = {}; _bottom_buf_.selector = _bottom_buf__selector; if (_bottom_buf__selector == 0) { _bottom_buf_.selector = 0; @@ -112115,7 +117087,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _bottom_buf_ has to be chosen through deserialisation."); } - _bottom_buf.value = static_cast(_bottom_buf_); + _bottom_buf.value = static_cast(_bottom_buf_); } value._bottom = _bottom_buf; const auto _start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -112217,61 +117189,21 @@ class Deserializer : public DeserializerBase { Ark_EventTarget value = {}; Deserializer& valueDeserializer = *this; value.area = valueDeserializer.readArea(); + const auto id_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String id_buf = {}; + id_buf.tag = id_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (id_buf_runtimeType)) + { + id_buf.value = static_cast(valueDeserializer.readString()); + } + value.id = id_buf; return value; } - Ark_FlexOptions readFlexOptions() + Ark_FocusAxisEvent readFocusAxisEvent() { - Ark_FlexOptions value = {}; Deserializer& valueDeserializer = *this; - const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FlexDirection direction_buf = {}; - direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) - { - direction_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.direction = direction_buf; - const auto wrap_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FlexWrap wrap_buf = {}; - wrap_buf.tag = wrap_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (wrap_buf_runtimeType)) - { - wrap_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.wrap = wrap_buf; - const auto justifyContent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FlexAlign justifyContent_buf = {}; - justifyContent_buf.tag = justifyContent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (justifyContent_buf_runtimeType)) - { - justifyContent_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.justifyContent = justifyContent_buf; - const auto alignItems_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ItemAlign alignItems_buf = {}; - alignItems_buf.tag = alignItems_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (alignItems_buf_runtimeType)) - { - alignItems_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.alignItems = alignItems_buf; - const auto alignContent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FlexAlign alignContent_buf = {}; - alignContent_buf.tag = alignContent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (alignContent_buf_runtimeType)) - { - alignContent_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.alignContent = alignContent_buf; - const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FlexSpaceOptions space_buf = {}; - space_buf.tag = space_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) - { - space_buf.value = valueDeserializer.readFlexSpaceOptions(); - } - value.space = space_buf; - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); } Ark_GestureEvent readGestureEvent() { @@ -112294,7 +117226,7 @@ class Deserializer : public DeserializerBase { if (x_buf__selector == 0) { x_buf_.selector = 0; const Ark_Int8 x_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource x_buf__u = {}; + Ark_Length x_buf__u = {}; x_buf__u.selector = x_buf__u_selector; if (x_buf__u_selector == 0) { x_buf__u.selector = 0; @@ -112311,7 +117243,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for x_buf__u has to be chosen through deserialisation."); } - x_buf_.value0 = static_cast(x_buf__u); + x_buf_.value0 = static_cast(x_buf__u); } else if (x_buf__selector == 1) { x_buf_.selector = 1; @@ -112334,7 +117266,7 @@ class Deserializer : public DeserializerBase { if (y_buf__selector == 0) { y_buf_.selector = 0; const Ark_Int8 y_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource y_buf__u = {}; + Ark_Length y_buf__u = {}; y_buf__u.selector = y_buf__u_selector; if (y_buf__u_selector == 0) { y_buf__u.selector = 0; @@ -112351,7 +117283,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for y_buf__u has to be chosen through deserialisation."); } - y_buf_.value0 = static_cast(y_buf__u); + y_buf_.value0 = static_cast(y_buf__u); } else if (y_buf__selector == 1) { y_buf_.selector = 1; @@ -112389,112 +117321,7 @@ class Deserializer : public DeserializerBase { } else if (margin_buf__selector == 1) { margin_buf_.selector = 1; - Ark_Padding margin_buf__u = {}; - const auto margin_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf__u_top_buf = {}; - margin_buf__u_top_buf.tag = margin_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 margin_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u_top_buf_ = {}; - margin_buf__u_top_buf_.selector = margin_buf__u_top_buf__selector; - if (margin_buf__u_top_buf__selector == 0) { - margin_buf__u_top_buf_.selector = 0; - margin_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_top_buf__selector == 1) { - margin_buf__u_top_buf_.selector = 1; - margin_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_top_buf__selector == 2) { - margin_buf__u_top_buf_.selector = 2; - margin_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for margin_buf__u_top_buf_ has to be chosen through deserialisation."); - } - margin_buf__u_top_buf.value = static_cast(margin_buf__u_top_buf_); - } - margin_buf__u.top = margin_buf__u_top_buf; - const auto margin_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf__u_right_buf = {}; - margin_buf__u_right_buf.tag = margin_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 margin_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u_right_buf_ = {}; - margin_buf__u_right_buf_.selector = margin_buf__u_right_buf__selector; - if (margin_buf__u_right_buf__selector == 0) { - margin_buf__u_right_buf_.selector = 0; - margin_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_right_buf__selector == 1) { - margin_buf__u_right_buf_.selector = 1; - margin_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_right_buf__selector == 2) { - margin_buf__u_right_buf_.selector = 2; - margin_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for margin_buf__u_right_buf_ has to be chosen through deserialisation."); - } - margin_buf__u_right_buf.value = static_cast(margin_buf__u_right_buf_); - } - margin_buf__u.right = margin_buf__u_right_buf; - const auto margin_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf__u_bottom_buf = {}; - margin_buf__u_bottom_buf.tag = margin_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 margin_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u_bottom_buf_ = {}; - margin_buf__u_bottom_buf_.selector = margin_buf__u_bottom_buf__selector; - if (margin_buf__u_bottom_buf__selector == 0) { - margin_buf__u_bottom_buf_.selector = 0; - margin_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_bottom_buf__selector == 1) { - margin_buf__u_bottom_buf_.selector = 1; - margin_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_bottom_buf__selector == 2) { - margin_buf__u_bottom_buf_.selector = 2; - margin_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for margin_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - margin_buf__u_bottom_buf.value = static_cast(margin_buf__u_bottom_buf_); - } - margin_buf__u.bottom = margin_buf__u_bottom_buf; - const auto margin_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf__u_left_buf = {}; - margin_buf__u_left_buf.tag = margin_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 margin_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u_left_buf_ = {}; - margin_buf__u_left_buf_.selector = margin_buf__u_left_buf__selector; - if (margin_buf__u_left_buf__selector == 0) { - margin_buf__u_left_buf_.selector = 0; - margin_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_left_buf__selector == 1) { - margin_buf__u_left_buf_.selector = 1; - margin_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_left_buf__selector == 2) { - margin_buf__u_left_buf_.selector = 2; - margin_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for margin_buf__u_left_buf_ has to be chosen through deserialisation."); - } - margin_buf__u_left_buf.value = static_cast(margin_buf__u_left_buf_); - } - margin_buf__u.left = margin_buf__u_left_buf; - margin_buf_.value1 = margin_buf__u; + margin_buf_.value1 = valueDeserializer.readPadding(); } else { INTEROP_FATAL("One of the branches for margin_buf_ has to be chosen through deserialisation."); @@ -112518,12 +117345,12 @@ class Deserializer : public DeserializerBase { padding_buf_.selector = 1; Ark_Padding padding_buf__u = {}; const auto padding_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource padding_buf__u_top_buf = {}; + Opt_Length padding_buf__u_top_buf = {}; padding_buf__u_top_buf.tag = padding_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (padding_buf__u_top_buf_runtimeType)) { const Ark_Int8 padding_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource padding_buf__u_top_buf_ = {}; + Ark_Length padding_buf__u_top_buf_ = {}; padding_buf__u_top_buf_.selector = padding_buf__u_top_buf__selector; if (padding_buf__u_top_buf__selector == 0) { padding_buf__u_top_buf_.selector = 0; @@ -112540,16 +117367,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for padding_buf__u_top_buf_ has to be chosen through deserialisation."); } - padding_buf__u_top_buf.value = static_cast(padding_buf__u_top_buf_); + padding_buf__u_top_buf.value = static_cast(padding_buf__u_top_buf_); } padding_buf__u.top = padding_buf__u_top_buf; const auto padding_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource padding_buf__u_right_buf = {}; + Opt_Length padding_buf__u_right_buf = {}; padding_buf__u_right_buf.tag = padding_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (padding_buf__u_right_buf_runtimeType)) { const Ark_Int8 padding_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource padding_buf__u_right_buf_ = {}; + Ark_Length padding_buf__u_right_buf_ = {}; padding_buf__u_right_buf_.selector = padding_buf__u_right_buf__selector; if (padding_buf__u_right_buf__selector == 0) { padding_buf__u_right_buf_.selector = 0; @@ -112566,16 +117393,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for padding_buf__u_right_buf_ has to be chosen through deserialisation."); } - padding_buf__u_right_buf.value = static_cast(padding_buf__u_right_buf_); + padding_buf__u_right_buf.value = static_cast(padding_buf__u_right_buf_); } padding_buf__u.right = padding_buf__u_right_buf; const auto padding_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource padding_buf__u_bottom_buf = {}; + Opt_Length padding_buf__u_bottom_buf = {}; padding_buf__u_bottom_buf.tag = padding_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (padding_buf__u_bottom_buf_runtimeType)) { const Ark_Int8 padding_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource padding_buf__u_bottom_buf_ = {}; + Ark_Length padding_buf__u_bottom_buf_ = {}; padding_buf__u_bottom_buf_.selector = padding_buf__u_bottom_buf__selector; if (padding_buf__u_bottom_buf__selector == 0) { padding_buf__u_bottom_buf_.selector = 0; @@ -112592,16 +117419,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for padding_buf__u_bottom_buf_ has to be chosen through deserialisation."); } - padding_buf__u_bottom_buf.value = static_cast(padding_buf__u_bottom_buf_); + padding_buf__u_bottom_buf.value = static_cast(padding_buf__u_bottom_buf_); } padding_buf__u.bottom = padding_buf__u_bottom_buf; const auto padding_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource padding_buf__u_left_buf = {}; + Opt_Length padding_buf__u_left_buf = {}; padding_buf__u_left_buf.tag = padding_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (padding_buf__u_left_buf_runtimeType)) { const Ark_Int8 padding_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource padding_buf__u_left_buf_ = {}; + Ark_Length padding_buf__u_left_buf_ = {}; padding_buf__u_left_buf_.selector = padding_buf__u_left_buf__selector; if (padding_buf__u_left_buf__selector == 0) { padding_buf__u_left_buf_.selector = 0; @@ -112618,7 +117445,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for padding_buf__u_left_buf_ has to be chosen through deserialisation."); } - padding_buf__u_left_buf.value = static_cast(padding_buf__u_left_buf_); + padding_buf__u_left_buf.value = static_cast(padding_buf__u_left_buf_); } padding_buf__u.left = padding_buf__u_left_buf; padding_buf_.value1 = padding_buf__u; @@ -112643,112 +117470,7 @@ class Deserializer : public DeserializerBase { } else if (borderRadius_buf__selector == 1) { borderRadius_buf_.selector = 1; - Ark_BorderRadiuses borderRadius_buf__u = {}; - const auto borderRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_topLeft_buf = {}; - borderRadius_buf__u_topLeft_buf.tag = borderRadius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_topLeft_buf_ = {}; - borderRadius_buf__u_topLeft_buf_.selector = borderRadius_buf__u_topLeft_buf__selector; - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_.selector = 0; - borderRadius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_.selector = 1; - borderRadius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_.selector = 2; - borderRadius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_topLeft_buf.value = static_cast(borderRadius_buf__u_topLeft_buf_); - } - borderRadius_buf__u.topLeft = borderRadius_buf__u_topLeft_buf; - const auto borderRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_topRight_buf = {}; - borderRadius_buf__u_topRight_buf.tag = borderRadius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_topRight_buf_ = {}; - borderRadius_buf__u_topRight_buf_.selector = borderRadius_buf__u_topRight_buf__selector; - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_.selector = 0; - borderRadius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_.selector = 1; - borderRadius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_.selector = 2; - borderRadius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_topRight_buf.value = static_cast(borderRadius_buf__u_topRight_buf_); - } - borderRadius_buf__u.topRight = borderRadius_buf__u_topRight_buf; - const auto borderRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_bottomLeft_buf = {}; - borderRadius_buf__u_bottomLeft_buf.tag = borderRadius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_bottomLeft_buf_ = {}; - borderRadius_buf__u_bottomLeft_buf_.selector = borderRadius_buf__u_bottomLeft_buf__selector; - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_.selector = 0; - borderRadius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_.selector = 1; - borderRadius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_.selector = 2; - borderRadius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_bottomLeft_buf.value = static_cast(borderRadius_buf__u_bottomLeft_buf_); - } - borderRadius_buf__u.bottomLeft = borderRadius_buf__u_bottomLeft_buf; - const auto borderRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_bottomRight_buf = {}; - borderRadius_buf__u_bottomRight_buf.tag = borderRadius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_bottomRight_buf_ = {}; - borderRadius_buf__u_bottomRight_buf_.selector = borderRadius_buf__u_bottomRight_buf__selector; - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_.selector = 0; - borderRadius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_.selector = 1; - borderRadius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_.selector = 2; - borderRadius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_bottomRight_buf.value = static_cast(borderRadius_buf__u_bottomRight_buf_); - } - borderRadius_buf__u.bottomRight = borderRadius_buf__u_bottomRight_buf; - borderRadius_buf_.value1 = borderRadius_buf__u; + borderRadius_buf_.value1 = valueDeserializer.readBorderRadiuses(); } else { INTEROP_FATAL("One of the branches for borderRadius_buf_ has to be chosen through deserialisation."); @@ -112928,53 +117650,6 @@ class Deserializer : public DeserializerBase { value.unselectedColor = unselectedColor_buf; return value; } - Ark_LeadingMarginPlaceholder readLeadingMarginPlaceholder() - { - Ark_LeadingMarginPlaceholder value = {}; - Deserializer& valueDeserializer = *this; - value.pixelMap = static_cast(valueDeserializer.readPixelMap()); - Ark_Tuple_Dimension_Dimension size_buf = {}; - const Ark_Int8 size_buf_value0_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource size_buf_value0_buf = {}; - size_buf_value0_buf.selector = size_buf_value0_buf_selector; - if (size_buf_value0_buf_selector == 0) { - size_buf_value0_buf.selector = 0; - size_buf_value0_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (size_buf_value0_buf_selector == 1) { - size_buf_value0_buf.selector = 1; - size_buf_value0_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (size_buf_value0_buf_selector == 2) { - size_buf_value0_buf.selector = 2; - size_buf_value0_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for size_buf_value0_buf has to be chosen through deserialisation."); - } - size_buf.value0 = static_cast(size_buf_value0_buf); - const Ark_Int8 size_buf_value1_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource size_buf_value1_buf = {}; - size_buf_value1_buf.selector = size_buf_value1_buf_selector; - if (size_buf_value1_buf_selector == 0) { - size_buf_value1_buf.selector = 0; - size_buf_value1_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (size_buf_value1_buf_selector == 1) { - size_buf_value1_buf.selector = 1; - size_buf_value1_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (size_buf_value1_buf_selector == 2) { - size_buf_value1_buf.selector = 2; - size_buf_value1_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for size_buf_value1_buf has to be chosen through deserialisation."); - } - size_buf.value1 = static_cast(size_buf_value1_buf); - value.size = size_buf; - return value; - } Ark_LongPressGestureEvent readLongPressGestureEvent() { Deserializer& valueDeserializer = *this; @@ -113010,12 +117685,12 @@ class Deserializer : public DeserializerBase { } value.enableArrow = enableArrow_buf; const auto arrowOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource arrowOffset_buf = {}; + Opt_Length arrowOffset_buf = {}; arrowOffset_buf.tag = arrowOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (arrowOffset_buf_runtimeType)) { const Ark_Int8 arrowOffset_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource arrowOffset_buf_ = {}; + Ark_Length arrowOffset_buf_ = {}; arrowOffset_buf_.selector = arrowOffset_buf__selector; if (arrowOffset_buf__selector == 0) { arrowOffset_buf_.selector = 0; @@ -113032,7 +117707,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for arrowOffset_buf_ has to be chosen through deserialisation."); } - arrowOffset_buf.value = static_cast(arrowOffset_buf_); + arrowOffset_buf.value = static_cast(arrowOffset_buf_); } value.arrowOffset = arrowOffset_buf; const auto preview_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -113057,6 +117732,50 @@ class Deserializer : public DeserializerBase { preview_buf.value = static_cast(preview_buf_); } value.preview = preview_buf; + const auto previewBorderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BorderRadiusType previewBorderRadius_buf = {}; + previewBorderRadius_buf.tag = previewBorderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (previewBorderRadius_buf_runtimeType)) + { + const Ark_Int8 previewBorderRadius_buf__selector = valueDeserializer.readInt8(); + Ark_BorderRadiusType previewBorderRadius_buf_ = {}; + previewBorderRadius_buf_.selector = previewBorderRadius_buf__selector; + if (previewBorderRadius_buf__selector == 0) { + previewBorderRadius_buf_.selector = 0; + const Ark_Int8 previewBorderRadius_buf__u_selector = valueDeserializer.readInt8(); + Ark_Length previewBorderRadius_buf__u = {}; + previewBorderRadius_buf__u.selector = previewBorderRadius_buf__u_selector; + if (previewBorderRadius_buf__u_selector == 0) { + previewBorderRadius_buf__u.selector = 0; + previewBorderRadius_buf__u.value0 = static_cast(valueDeserializer.readString()); + } + else if (previewBorderRadius_buf__u_selector == 1) { + previewBorderRadius_buf__u.selector = 1; + previewBorderRadius_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (previewBorderRadius_buf__u_selector == 2) { + previewBorderRadius_buf__u.selector = 2; + previewBorderRadius_buf__u.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for previewBorderRadius_buf__u has to be chosen through deserialisation."); + } + previewBorderRadius_buf_.value0 = static_cast(previewBorderRadius_buf__u); + } + else if (previewBorderRadius_buf__selector == 1) { + previewBorderRadius_buf_.selector = 1; + previewBorderRadius_buf_.value1 = valueDeserializer.readBorderRadiuses(); + } + else if (previewBorderRadius_buf__selector == 2) { + previewBorderRadius_buf_.selector = 2; + previewBorderRadius_buf_.value2 = valueDeserializer.readLocalizedBorderRadiuses(); + } + else { + INTEROP_FATAL("One of the branches for previewBorderRadius_buf_ has to be chosen through deserialisation."); + } + previewBorderRadius_buf.value = static_cast(previewBorderRadius_buf_); + } + value.previewBorderRadius = previewBorderRadius_buf; const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses borderRadius_buf = {}; borderRadius_buf.tag = borderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -113068,7 +117787,7 @@ class Deserializer : public DeserializerBase { if (borderRadius_buf__selector == 0) { borderRadius_buf_.selector = 0; const Ark_Int8 borderRadius_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u = {}; + Ark_Length borderRadius_buf__u = {}; borderRadius_buf__u.selector = borderRadius_buf__u_selector; if (borderRadius_buf__u_selector == 0) { borderRadius_buf__u.selector = 0; @@ -113085,116 +117804,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for borderRadius_buf__u has to be chosen through deserialisation."); } - borderRadius_buf_.value0 = static_cast(borderRadius_buf__u); + borderRadius_buf_.value0 = static_cast(borderRadius_buf__u); } else if (borderRadius_buf__selector == 1) { borderRadius_buf_.selector = 1; - Ark_BorderRadiuses borderRadius_buf__u = {}; - const auto borderRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_topLeft_buf = {}; - borderRadius_buf__u_topLeft_buf.tag = borderRadius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_topLeft_buf_ = {}; - borderRadius_buf__u_topLeft_buf_.selector = borderRadius_buf__u_topLeft_buf__selector; - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_.selector = 0; - borderRadius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_.selector = 1; - borderRadius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_.selector = 2; - borderRadius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_topLeft_buf.value = static_cast(borderRadius_buf__u_topLeft_buf_); - } - borderRadius_buf__u.topLeft = borderRadius_buf__u_topLeft_buf; - const auto borderRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_topRight_buf = {}; - borderRadius_buf__u_topRight_buf.tag = borderRadius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_topRight_buf_ = {}; - borderRadius_buf__u_topRight_buf_.selector = borderRadius_buf__u_topRight_buf__selector; - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_.selector = 0; - borderRadius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_.selector = 1; - borderRadius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_.selector = 2; - borderRadius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_topRight_buf.value = static_cast(borderRadius_buf__u_topRight_buf_); - } - borderRadius_buf__u.topRight = borderRadius_buf__u_topRight_buf; - const auto borderRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_bottomLeft_buf = {}; - borderRadius_buf__u_bottomLeft_buf.tag = borderRadius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_bottomLeft_buf_ = {}; - borderRadius_buf__u_bottomLeft_buf_.selector = borderRadius_buf__u_bottomLeft_buf__selector; - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_.selector = 0; - borderRadius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_.selector = 1; - borderRadius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_.selector = 2; - borderRadius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_bottomLeft_buf.value = static_cast(borderRadius_buf__u_bottomLeft_buf_); - } - borderRadius_buf__u.bottomLeft = borderRadius_buf__u_bottomLeft_buf; - const auto borderRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_bottomRight_buf = {}; - borderRadius_buf__u_bottomRight_buf.tag = borderRadius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_bottomRight_buf_ = {}; - borderRadius_buf__u_bottomRight_buf_.selector = borderRadius_buf__u_bottomRight_buf__selector; - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_.selector = 0; - borderRadius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_.selector = 1; - borderRadius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_.selector = 2; - borderRadius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_bottomRight_buf.value = static_cast(borderRadius_buf__u_bottomRight_buf_); - } - borderRadius_buf__u.bottomRight = borderRadius_buf__u_bottomRight_buf; - borderRadius_buf_.value1 = borderRadius_buf__u; + borderRadius_buf_.value1 = valueDeserializer.readBorderRadiuses(); } else if (borderRadius_buf__selector == 2) { borderRadius_buf_.selector = 2; @@ -113243,112 +117857,7 @@ class Deserializer : public DeserializerBase { layoutRegionMargin_buf.tag = layoutRegionMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf_runtimeType)) { - Ark_Padding layoutRegionMargin_buf_ = {}; - const auto layoutRegionMargin_buf__top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource layoutRegionMargin_buf__top_buf = {}; - layoutRegionMargin_buf__top_buf.tag = layoutRegionMargin_buf__top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__top_buf_runtimeType)) - { - const Ark_Int8 layoutRegionMargin_buf__top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource layoutRegionMargin_buf__top_buf_ = {}; - layoutRegionMargin_buf__top_buf_.selector = layoutRegionMargin_buf__top_buf__selector; - if (layoutRegionMargin_buf__top_buf__selector == 0) { - layoutRegionMargin_buf__top_buf_.selector = 0; - layoutRegionMargin_buf__top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (layoutRegionMargin_buf__top_buf__selector == 1) { - layoutRegionMargin_buf__top_buf_.selector = 1; - layoutRegionMargin_buf__top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (layoutRegionMargin_buf__top_buf__selector == 2) { - layoutRegionMargin_buf__top_buf_.selector = 2; - layoutRegionMargin_buf__top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for layoutRegionMargin_buf__top_buf_ has to be chosen through deserialisation."); - } - layoutRegionMargin_buf__top_buf.value = static_cast(layoutRegionMargin_buf__top_buf_); - } - layoutRegionMargin_buf_.top = layoutRegionMargin_buf__top_buf; - const auto layoutRegionMargin_buf__right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource layoutRegionMargin_buf__right_buf = {}; - layoutRegionMargin_buf__right_buf.tag = layoutRegionMargin_buf__right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__right_buf_runtimeType)) - { - const Ark_Int8 layoutRegionMargin_buf__right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource layoutRegionMargin_buf__right_buf_ = {}; - layoutRegionMargin_buf__right_buf_.selector = layoutRegionMargin_buf__right_buf__selector; - if (layoutRegionMargin_buf__right_buf__selector == 0) { - layoutRegionMargin_buf__right_buf_.selector = 0; - layoutRegionMargin_buf__right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (layoutRegionMargin_buf__right_buf__selector == 1) { - layoutRegionMargin_buf__right_buf_.selector = 1; - layoutRegionMargin_buf__right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (layoutRegionMargin_buf__right_buf__selector == 2) { - layoutRegionMargin_buf__right_buf_.selector = 2; - layoutRegionMargin_buf__right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for layoutRegionMargin_buf__right_buf_ has to be chosen through deserialisation."); - } - layoutRegionMargin_buf__right_buf.value = static_cast(layoutRegionMargin_buf__right_buf_); - } - layoutRegionMargin_buf_.right = layoutRegionMargin_buf__right_buf; - const auto layoutRegionMargin_buf__bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource layoutRegionMargin_buf__bottom_buf = {}; - layoutRegionMargin_buf__bottom_buf.tag = layoutRegionMargin_buf__bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__bottom_buf_runtimeType)) - { - const Ark_Int8 layoutRegionMargin_buf__bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource layoutRegionMargin_buf__bottom_buf_ = {}; - layoutRegionMargin_buf__bottom_buf_.selector = layoutRegionMargin_buf__bottom_buf__selector; - if (layoutRegionMargin_buf__bottom_buf__selector == 0) { - layoutRegionMargin_buf__bottom_buf_.selector = 0; - layoutRegionMargin_buf__bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (layoutRegionMargin_buf__bottom_buf__selector == 1) { - layoutRegionMargin_buf__bottom_buf_.selector = 1; - layoutRegionMargin_buf__bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (layoutRegionMargin_buf__bottom_buf__selector == 2) { - layoutRegionMargin_buf__bottom_buf_.selector = 2; - layoutRegionMargin_buf__bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for layoutRegionMargin_buf__bottom_buf_ has to be chosen through deserialisation."); - } - layoutRegionMargin_buf__bottom_buf.value = static_cast(layoutRegionMargin_buf__bottom_buf_); - } - layoutRegionMargin_buf_.bottom = layoutRegionMargin_buf__bottom_buf; - const auto layoutRegionMargin_buf__left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource layoutRegionMargin_buf__left_buf = {}; - layoutRegionMargin_buf__left_buf.tag = layoutRegionMargin_buf__left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__left_buf_runtimeType)) - { - const Ark_Int8 layoutRegionMargin_buf__left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource layoutRegionMargin_buf__left_buf_ = {}; - layoutRegionMargin_buf__left_buf_.selector = layoutRegionMargin_buf__left_buf__selector; - if (layoutRegionMargin_buf__left_buf__selector == 0) { - layoutRegionMargin_buf__left_buf_.selector = 0; - layoutRegionMargin_buf__left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (layoutRegionMargin_buf__left_buf__selector == 1) { - layoutRegionMargin_buf__left_buf_.selector = 1; - layoutRegionMargin_buf__left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (layoutRegionMargin_buf__left_buf__selector == 2) { - layoutRegionMargin_buf__left_buf_.selector = 2; - layoutRegionMargin_buf__left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for layoutRegionMargin_buf__left_buf_ has to be chosen through deserialisation."); - } - layoutRegionMargin_buf__left_buf.value = static_cast(layoutRegionMargin_buf__left_buf_); - } - layoutRegionMargin_buf_.left = layoutRegionMargin_buf__left_buf; - layoutRegionMargin_buf.value = layoutRegionMargin_buf_; + layoutRegionMargin_buf.value = valueDeserializer.readPadding(); } value.layoutRegionMargin = layoutRegionMargin_buf; const auto previewAnimationOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -113397,6 +117906,22 @@ class Deserializer : public DeserializerBase { backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; const auto transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionEffect transition_buf = {}; transition_buf.tag = transition_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -113413,6 +117938,98 @@ class Deserializer : public DeserializerBase { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; + const auto outlineColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_ResourceColor_EdgeColors outlineColor_buf = {}; + outlineColor_buf.tag = outlineColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (outlineColor_buf_runtimeType)) + { + const Ark_Int8 outlineColor_buf__selector = valueDeserializer.readInt8(); + Ark_Union_ResourceColor_EdgeColors outlineColor_buf_ = {}; + outlineColor_buf_.selector = outlineColor_buf__selector; + if (outlineColor_buf__selector == 0) { + outlineColor_buf_.selector = 0; + const Ark_Int8 outlineColor_buf__u_selector = valueDeserializer.readInt8(); + Ark_ResourceColor outlineColor_buf__u = {}; + outlineColor_buf__u.selector = outlineColor_buf__u_selector; + if (outlineColor_buf__u_selector == 0) { + outlineColor_buf__u.selector = 0; + outlineColor_buf__u.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (outlineColor_buf__u_selector == 1) { + outlineColor_buf__u.selector = 1; + outlineColor_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (outlineColor_buf__u_selector == 2) { + outlineColor_buf__u.selector = 2; + outlineColor_buf__u.value2 = static_cast(valueDeserializer.readString()); + } + else if (outlineColor_buf__u_selector == 3) { + outlineColor_buf__u.selector = 3; + outlineColor_buf__u.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for outlineColor_buf__u has to be chosen through deserialisation."); + } + outlineColor_buf_.value0 = static_cast(outlineColor_buf__u); + } + else if (outlineColor_buf__selector == 1) { + outlineColor_buf_.selector = 1; + outlineColor_buf_.value1 = valueDeserializer.readEdgeColors(); + } + else { + INTEROP_FATAL("One of the branches for outlineColor_buf_ has to be chosen through deserialisation."); + } + outlineColor_buf.value = static_cast(outlineColor_buf_); + } + value.outlineColor = outlineColor_buf; + const auto outlineWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Dimension_EdgeOutlineWidths outlineWidth_buf = {}; + outlineWidth_buf.tag = outlineWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (outlineWidth_buf_runtimeType)) + { + const Ark_Int8 outlineWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Dimension_EdgeOutlineWidths outlineWidth_buf_ = {}; + outlineWidth_buf_.selector = outlineWidth_buf__selector; + if (outlineWidth_buf__selector == 0) { + outlineWidth_buf_.selector = 0; + const Ark_Int8 outlineWidth_buf__u_selector = valueDeserializer.readInt8(); + Ark_Dimension outlineWidth_buf__u = {}; + outlineWidth_buf__u.selector = outlineWidth_buf__u_selector; + if (outlineWidth_buf__u_selector == 0) { + outlineWidth_buf__u.selector = 0; + outlineWidth_buf__u.value0 = static_cast(valueDeserializer.readString()); + } + else if (outlineWidth_buf__u_selector == 1) { + outlineWidth_buf__u.selector = 1; + outlineWidth_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (outlineWidth_buf__u_selector == 2) { + outlineWidth_buf__u.selector = 2; + outlineWidth_buf__u.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for outlineWidth_buf__u has to be chosen through deserialisation."); + } + outlineWidth_buf_.value0 = static_cast(outlineWidth_buf__u); + } + else if (outlineWidth_buf__selector == 1) { + outlineWidth_buf_.selector = 1; + outlineWidth_buf_.value1 = valueDeserializer.readEdgeOutlineWidths(); + } + else { + INTEROP_FATAL("One of the branches for outlineWidth_buf_ has to be chosen through deserialisation."); + } + outlineWidth_buf.value = static_cast(outlineWidth_buf_); + } + value.outlineWidth = outlineWidth_buf; + const auto hapticFeedbackMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_HapticFeedbackMode hapticFeedbackMode_buf = {}; + hapticFeedbackMode_buf.tag = hapticFeedbackMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hapticFeedbackMode_buf_runtimeType)) + { + hapticFeedbackMode_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.hapticFeedbackMode = hapticFeedbackMode_buf; const auto title_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr title_buf = {}; title_buf.tag = title_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -113445,6 +118062,96 @@ class Deserializer : public DeserializerBase { value.showInSubWindow = showInSubWindow_buf; return value; } + Ark_MenuOutlineOptions readMenuOutlineOptions() + { + Ark_MenuOutlineOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Dimension_EdgeOutlineWidths width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + { + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Dimension_EdgeOutlineWidths width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + const Ark_Int8 width_buf__u_selector = valueDeserializer.readInt8(); + Ark_Dimension width_buf__u = {}; + width_buf__u.selector = width_buf__u_selector; + if (width_buf__u_selector == 0) { + width_buf__u.selector = 0; + width_buf__u.value0 = static_cast(valueDeserializer.readString()); + } + else if (width_buf__u_selector == 1) { + width_buf__u.selector = 1; + width_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (width_buf__u_selector == 2) { + width_buf__u.selector = 2; + width_buf__u.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for width_buf__u has to be chosen through deserialisation."); + } + width_buf_.value0 = static_cast(width_buf__u); + } + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = valueDeserializer.readEdgeOutlineWidths(); + } + else { + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + } + width_buf.value = static_cast(width_buf_); + } + value.width = width_buf; + const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_ResourceColor_EdgeColors color_buf = {}; + color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + { + const Ark_Int8 color_buf__selector = valueDeserializer.readInt8(); + Ark_Union_ResourceColor_EdgeColors color_buf_ = {}; + color_buf_.selector = color_buf__selector; + if (color_buf__selector == 0) { + color_buf_.selector = 0; + const Ark_Int8 color_buf__u_selector = valueDeserializer.readInt8(); + Ark_ResourceColor color_buf__u = {}; + color_buf__u.selector = color_buf__u_selector; + if (color_buf__u_selector == 0) { + color_buf__u.selector = 0; + color_buf__u.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (color_buf__u_selector == 1) { + color_buf__u.selector = 1; + color_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (color_buf__u_selector == 2) { + color_buf__u.selector = 2; + color_buf__u.value2 = static_cast(valueDeserializer.readString()); + } + else if (color_buf__u_selector == 3) { + color_buf__u.selector = 3; + color_buf__u.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for color_buf__u has to be chosen through deserialisation."); + } + color_buf_.value0 = static_cast(color_buf__u); + } + else if (color_buf__selector == 1) { + color_buf_.selector = 1; + color_buf_.value1 = valueDeserializer.readEdgeColors(); + } + else { + INTEROP_FATAL("One of the branches for color_buf_ has to be chosen through deserialisation."); + } + color_buf.value = static_cast(color_buf_); + } + value.color = color_buf; + return value; + } Ark_MouseEvent readMouseEvent() { Deserializer& valueDeserializer = *this; @@ -113516,26 +118223,124 @@ class Deserializer : public DeserializerBase { tag_buf.tag = tag_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (tag_buf_runtimeType)) { - tag_buf.value = static_cast(valueDeserializer.readString()); + tag_buf.value = static_cast(valueDeserializer.readString()); + } + value.tag = tag_buf; + const auto params_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Map_String_String params_buf = {}; + params_buf.tag = params_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (params_buf_runtimeType)) + { + const Ark_Int32 params_buf__size = valueDeserializer.readInt32(); + Map_String_String params_buf_ = {}; + valueDeserializer.resizeMap(¶ms_buf_, params_buf__size); + for (int params_buf__i = 0; params_buf__i < params_buf__size; params_buf__i++) { + const Ark_String params_buf__key = static_cast(valueDeserializer.readString()); + const Ark_String params_buf__value = static_cast(valueDeserializer.readString()); + params_buf_.keys[params_buf__i] = params_buf__key; + params_buf_.values[params_buf__i] = params_buf__value; + } + params_buf.value = params_buf_; + } + value.params = params_buf; + return value; + } + Ark_NavigationMenuOptions readNavigationMenuOptions() + { + Ark_NavigationMenuOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto moreButtonOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_MoreButtonOptions moreButtonOptions_buf = {}; + moreButtonOptions_buf.tag = moreButtonOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (moreButtonOptions_buf_runtimeType)) + { + moreButtonOptions_buf.value = valueDeserializer.readMoreButtonOptions(); + } + value.moreButtonOptions = moreButtonOptions_buf; + return value; + } + Ark_NavigationToolbarOptions readNavigationToolbarOptions() + { + Ark_NavigationToolbarOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor backgroundColor_buf = {}; + backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + { + const Ark_Int8 backgroundColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor backgroundColor_buf_ = {}; + backgroundColor_buf_.selector = backgroundColor_buf__selector; + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_.selector = 0; + backgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_.selector = 1; + backgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_.selector = 2; + backgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_.selector = 3; + backgroundColor_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation."); + } + backgroundColor_buf.value = static_cast(backgroundColor_buf_); + } + value.backgroundColor = backgroundColor_buf; + const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BlurStyle backgroundBlurStyle_buf = {}; + backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + { + backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; + const auto moreButtonOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_MoreButtonOptions moreButtonOptions_buf = {}; + moreButtonOptions_buf.tag = moreButtonOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (moreButtonOptions_buf_runtimeType)) + { + moreButtonOptions_buf.value = valueDeserializer.readMoreButtonOptions(); + } + value.moreButtonOptions = moreButtonOptions_buf; + const auto barStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BarStyle barStyle_buf = {}; + barStyle_buf.tag = barStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (barStyle_buf_runtimeType)) + { + barStyle_buf.value = static_cast(valueDeserializer.readInt32()); } - value.tag = tag_buf; - const auto params_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Map_String_String params_buf = {}; - params_buf.tag = params_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (params_buf_runtimeType)) + value.barStyle = barStyle_buf; + const auto hideItemValue_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean hideItemValue_buf = {}; + hideItemValue_buf.tag = hideItemValue_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hideItemValue_buf_runtimeType)) { - const Ark_Int32 params_buf__size = valueDeserializer.readInt32(); - Map_String_String params_buf_ = {}; - valueDeserializer.resizeMap(¶ms_buf_, params_buf__size); - for (int params_buf__i = 0; params_buf__i < params_buf__size; params_buf__i++) { - const Ark_String params_buf__key = static_cast(valueDeserializer.readString()); - const Ark_String params_buf__value = static_cast(valueDeserializer.readString()); - params_buf_.keys[params_buf__i] = params_buf__key; - params_buf_.values[params_buf__i] = params_buf__value; - } - params_buf.value = params_buf_; + hideItemValue_buf.value = valueDeserializer.readBoolean(); } - value.params = params_buf; + value.hideItemValue = hideItemValue_buf; return value; } Ark_OutlineOptions readOutlineOptions() @@ -113552,117 +118357,12 @@ class Deserializer : public DeserializerBase { width_buf_.selector = width_buf__selector; if (width_buf__selector == 0) { width_buf_.selector = 0; - Ark_EdgeOutlineWidths width_buf__u = {}; - const auto width_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf__u_top_buf = {}; - width_buf__u_top_buf.tag = width_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 width_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u_top_buf_ = {}; - width_buf__u_top_buf_.selector = width_buf__u_top_buf__selector; - if (width_buf__u_top_buf__selector == 0) { - width_buf__u_top_buf_.selector = 0; - width_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__u_top_buf__selector == 1) { - width_buf__u_top_buf_.selector = 1; - width_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__u_top_buf__selector == 2) { - width_buf__u_top_buf_.selector = 2; - width_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for width_buf__u_top_buf_ has to be chosen through deserialisation."); - } - width_buf__u_top_buf.value = static_cast(width_buf__u_top_buf_); - } - width_buf__u.top = width_buf__u_top_buf; - const auto width_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf__u_right_buf = {}; - width_buf__u_right_buf.tag = width_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 width_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u_right_buf_ = {}; - width_buf__u_right_buf_.selector = width_buf__u_right_buf__selector; - if (width_buf__u_right_buf__selector == 0) { - width_buf__u_right_buf_.selector = 0; - width_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__u_right_buf__selector == 1) { - width_buf__u_right_buf_.selector = 1; - width_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__u_right_buf__selector == 2) { - width_buf__u_right_buf_.selector = 2; - width_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for width_buf__u_right_buf_ has to be chosen through deserialisation."); - } - width_buf__u_right_buf.value = static_cast(width_buf__u_right_buf_); - } - width_buf__u.right = width_buf__u_right_buf; - const auto width_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf__u_bottom_buf = {}; - width_buf__u_bottom_buf.tag = width_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 width_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u_bottom_buf_ = {}; - width_buf__u_bottom_buf_.selector = width_buf__u_bottom_buf__selector; - if (width_buf__u_bottom_buf__selector == 0) { - width_buf__u_bottom_buf_.selector = 0; - width_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__u_bottom_buf__selector == 1) { - width_buf__u_bottom_buf_.selector = 1; - width_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__u_bottom_buf__selector == 2) { - width_buf__u_bottom_buf_.selector = 2; - width_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for width_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - width_buf__u_bottom_buf.value = static_cast(width_buf__u_bottom_buf_); - } - width_buf__u.bottom = width_buf__u_bottom_buf; - const auto width_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf__u_left_buf = {}; - width_buf__u_left_buf.tag = width_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 width_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u_left_buf_ = {}; - width_buf__u_left_buf_.selector = width_buf__u_left_buf__selector; - if (width_buf__u_left_buf__selector == 0) { - width_buf__u_left_buf_.selector = 0; - width_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (width_buf__u_left_buf__selector == 1) { - width_buf__u_left_buf_.selector = 1; - width_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (width_buf__u_left_buf__selector == 2) { - width_buf__u_left_buf_.selector = 2; - width_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for width_buf__u_left_buf_ has to be chosen through deserialisation."); - } - width_buf__u_left_buf.value = static_cast(width_buf__u_left_buf_); - } - width_buf__u.left = width_buf__u_left_buf; - width_buf_.value0 = width_buf__u; + width_buf_.value0 = valueDeserializer.readEdgeOutlineWidths(); } else if (width_buf__selector == 1) { width_buf_.selector = 1; const Ark_Int8 width_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf__u = {}; + Ark_Dimension width_buf__u = {}; width_buf__u.selector = width_buf__u_selector; if (width_buf__u_selector == 0) { width_buf__u.selector = 0; @@ -113679,7 +118379,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for width_buf__u has to be chosen through deserialisation."); } - width_buf_.value1 = static_cast(width_buf__u); + width_buf_.value1 = static_cast(width_buf__u); } else { INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); @@ -113697,128 +118397,7 @@ class Deserializer : public DeserializerBase { color_buf_.selector = color_buf__selector; if (color_buf__selector == 0) { color_buf_.selector = 0; - Ark_EdgeColors color_buf__u = {}; - const auto color_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf__u_top_buf = {}; - color_buf__u_top_buf.tag = color_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 color_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf__u_top_buf_ = {}; - color_buf__u_top_buf_.selector = color_buf__u_top_buf__selector; - if (color_buf__u_top_buf__selector == 0) { - color_buf__u_top_buf_.selector = 0; - color_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__u_top_buf__selector == 1) { - color_buf__u_top_buf_.selector = 1; - color_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__u_top_buf__selector == 2) { - color_buf__u_top_buf_.selector = 2; - color_buf__u_top_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (color_buf__u_top_buf__selector == 3) { - color_buf__u_top_buf_.selector = 3; - color_buf__u_top_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for color_buf__u_top_buf_ has to be chosen through deserialisation."); - } - color_buf__u_top_buf.value = static_cast(color_buf__u_top_buf_); - } - color_buf__u.top = color_buf__u_top_buf; - const auto color_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf__u_right_buf = {}; - color_buf__u_right_buf.tag = color_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 color_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf__u_right_buf_ = {}; - color_buf__u_right_buf_.selector = color_buf__u_right_buf__selector; - if (color_buf__u_right_buf__selector == 0) { - color_buf__u_right_buf_.selector = 0; - color_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__u_right_buf__selector == 1) { - color_buf__u_right_buf_.selector = 1; - color_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__u_right_buf__selector == 2) { - color_buf__u_right_buf_.selector = 2; - color_buf__u_right_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (color_buf__u_right_buf__selector == 3) { - color_buf__u_right_buf_.selector = 3; - color_buf__u_right_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for color_buf__u_right_buf_ has to be chosen through deserialisation."); - } - color_buf__u_right_buf.value = static_cast(color_buf__u_right_buf_); - } - color_buf__u.right = color_buf__u_right_buf; - const auto color_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf__u_bottom_buf = {}; - color_buf__u_bottom_buf.tag = color_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 color_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf__u_bottom_buf_ = {}; - color_buf__u_bottom_buf_.selector = color_buf__u_bottom_buf__selector; - if (color_buf__u_bottom_buf__selector == 0) { - color_buf__u_bottom_buf_.selector = 0; - color_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__u_bottom_buf__selector == 1) { - color_buf__u_bottom_buf_.selector = 1; - color_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__u_bottom_buf__selector == 2) { - color_buf__u_bottom_buf_.selector = 2; - color_buf__u_bottom_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (color_buf__u_bottom_buf__selector == 3) { - color_buf__u_bottom_buf_.selector = 3; - color_buf__u_bottom_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for color_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - color_buf__u_bottom_buf.value = static_cast(color_buf__u_bottom_buf_); - } - color_buf__u.bottom = color_buf__u_bottom_buf; - const auto color_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor color_buf__u_left_buf = {}; - color_buf__u_left_buf.tag = color_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 color_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor color_buf__u_left_buf_ = {}; - color_buf__u_left_buf_.selector = color_buf__u_left_buf__selector; - if (color_buf__u_left_buf__selector == 0) { - color_buf__u_left_buf_.selector = 0; - color_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (color_buf__u_left_buf__selector == 1) { - color_buf__u_left_buf_.selector = 1; - color_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (color_buf__u_left_buf__selector == 2) { - color_buf__u_left_buf_.selector = 2; - color_buf__u_left_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (color_buf__u_left_buf__selector == 3) { - color_buf__u_left_buf_.selector = 3; - color_buf__u_left_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for color_buf__u_left_buf_ has to be chosen through deserialisation."); - } - color_buf__u_left_buf.value = static_cast(color_buf__u_left_buf_); - } - color_buf__u.left = color_buf__u_left_buf; - color_buf_.value0 = color_buf__u; + color_buf_.value0 = valueDeserializer.readEdgeColors(); } else if (color_buf__selector == 1) { color_buf_.selector = 1; @@ -113866,117 +118445,12 @@ class Deserializer : public DeserializerBase { radius_buf_.selector = radius_buf__selector; if (radius_buf__selector == 0) { radius_buf_.selector = 0; - Ark_OutlineRadiuses radius_buf__u = {}; - const auto radius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf__u_topLeft_buf = {}; - radius_buf__u_topLeft_buf.tag = radius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 radius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u_topLeft_buf_ = {}; - radius_buf__u_topLeft_buf_.selector = radius_buf__u_topLeft_buf__selector; - if (radius_buf__u_topLeft_buf__selector == 0) { - radius_buf__u_topLeft_buf_.selector = 0; - radius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (radius_buf__u_topLeft_buf__selector == 1) { - radius_buf__u_topLeft_buf_.selector = 1; - radius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_topLeft_buf__selector == 2) { - radius_buf__u_topLeft_buf_.selector = 2; - radius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - radius_buf__u_topLeft_buf.value = static_cast(radius_buf__u_topLeft_buf_); - } - radius_buf__u.topLeft = radius_buf__u_topLeft_buf; - const auto radius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf__u_topRight_buf = {}; - radius_buf__u_topRight_buf.tag = radius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 radius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u_topRight_buf_ = {}; - radius_buf__u_topRight_buf_.selector = radius_buf__u_topRight_buf__selector; - if (radius_buf__u_topRight_buf__selector == 0) { - radius_buf__u_topRight_buf_.selector = 0; - radius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (radius_buf__u_topRight_buf__selector == 1) { - radius_buf__u_topRight_buf_.selector = 1; - radius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_topRight_buf__selector == 2) { - radius_buf__u_topRight_buf_.selector = 2; - radius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_topRight_buf_ has to be chosen through deserialisation."); - } - radius_buf__u_topRight_buf.value = static_cast(radius_buf__u_topRight_buf_); - } - radius_buf__u.topRight = radius_buf__u_topRight_buf; - const auto radius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf__u_bottomLeft_buf = {}; - radius_buf__u_bottomLeft_buf.tag = radius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 radius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u_bottomLeft_buf_ = {}; - radius_buf__u_bottomLeft_buf_.selector = radius_buf__u_bottomLeft_buf__selector; - if (radius_buf__u_bottomLeft_buf__selector == 0) { - radius_buf__u_bottomLeft_buf_.selector = 0; - radius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (radius_buf__u_bottomLeft_buf__selector == 1) { - radius_buf__u_bottomLeft_buf_.selector = 1; - radius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_bottomLeft_buf__selector == 2) { - radius_buf__u_bottomLeft_buf_.selector = 2; - radius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - radius_buf__u_bottomLeft_buf.value = static_cast(radius_buf__u_bottomLeft_buf_); - } - radius_buf__u.bottomLeft = radius_buf__u_bottomLeft_buf; - const auto radius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf__u_bottomRight_buf = {}; - radius_buf__u_bottomRight_buf.tag = radius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 radius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u_bottomRight_buf_ = {}; - radius_buf__u_bottomRight_buf_.selector = radius_buf__u_bottomRight_buf__selector; - if (radius_buf__u_bottomRight_buf__selector == 0) { - radius_buf__u_bottomRight_buf_.selector = 0; - radius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (radius_buf__u_bottomRight_buf__selector == 1) { - radius_buf__u_bottomRight_buf_.selector = 1; - radius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_bottomRight_buf__selector == 2) { - radius_buf__u_bottomRight_buf_.selector = 2; - radius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); - } - radius_buf__u_bottomRight_buf.value = static_cast(radius_buf__u_bottomRight_buf_); - } - radius_buf__u.bottomRight = radius_buf__u_bottomRight_buf; - radius_buf_.value0 = radius_buf__u; + radius_buf_.value0 = valueDeserializer.readOutlineRadiuses(); } else if (radius_buf__selector == 1) { radius_buf_.selector = 1; const Ark_Int8 radius_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u = {}; + Ark_Dimension radius_buf__u = {}; radius_buf__u.selector = radius_buf__u_selector; if (radius_buf__u_selector == 0) { radius_buf__u.selector = 0; @@ -113993,7 +118467,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for radius_buf__u has to be chosen through deserialisation."); } - radius_buf_.value1 = static_cast(radius_buf__u); + radius_buf_.value1 = static_cast(radius_buf__u); } else { INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); @@ -114011,40 +118485,7 @@ class Deserializer : public DeserializerBase { style_buf_.selector = style_buf__selector; if (style_buf__selector == 0) { style_buf_.selector = 0; - Ark_EdgeOutlineStyles style_buf__u = {}; - const auto style_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_OutlineStyle style_buf__u_top_buf = {}; - style_buf__u_top_buf.tag = style_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf__u_top_buf_runtimeType)) - { - style_buf__u_top_buf.value = static_cast(valueDeserializer.readInt32()); - } - style_buf__u.top = style_buf__u_top_buf; - const auto style_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_OutlineStyle style_buf__u_right_buf = {}; - style_buf__u_right_buf.tag = style_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf__u_right_buf_runtimeType)) - { - style_buf__u_right_buf.value = static_cast(valueDeserializer.readInt32()); - } - style_buf__u.right = style_buf__u_right_buf; - const auto style_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_OutlineStyle style_buf__u_bottom_buf = {}; - style_buf__u_bottom_buf.tag = style_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf__u_bottom_buf_runtimeType)) - { - style_buf__u_bottom_buf.value = static_cast(valueDeserializer.readInt32()); - } - style_buf__u.bottom = style_buf__u_bottom_buf; - const auto style_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_OutlineStyle style_buf__u_left_buf = {}; - style_buf__u_left_buf.tag = style_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf__u_left_buf_runtimeType)) - { - style_buf__u_left_buf.value = static_cast(valueDeserializer.readInt32()); - } - style_buf__u.left = style_buf__u_left_buf; - style_buf_.value0 = style_buf__u; + style_buf_.value0 = valueDeserializer.readEdgeOutlineStyles(); } else if (style_buf__selector == 1) { style_buf_.selector = 1; @@ -114064,6 +118505,88 @@ class Deserializer : public DeserializerBase { Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } + Ark_ParagraphStyle readParagraphStyle() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_ParagraphStyleInterface readParagraphStyleInterface() + { + Ark_ParagraphStyleInterface value = {}; + Deserializer& valueDeserializer = *this; + const auto textAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextAlign textAlign_buf = {}; + textAlign_buf.tag = textAlign_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textAlign_buf_runtimeType)) + { + textAlign_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.textAlign = textAlign_buf; + const auto textIndent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics textIndent_buf = {}; + textIndent_buf.tag = textIndent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textIndent_buf_runtimeType)) + { + textIndent_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.textIndent = textIndent_buf; + const auto maxLines_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number maxLines_buf = {}; + maxLines_buf.tag = maxLines_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maxLines_buf_runtimeType)) + { + maxLines_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.maxLines = maxLines_buf; + const auto overflow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextOverflow overflow_buf = {}; + overflow_buf.tag = overflow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (overflow_buf_runtimeType)) + { + overflow_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.overflow = overflow_buf; + const auto wordBreak_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_WordBreak wordBreak_buf = {}; + wordBreak_buf.tag = wordBreak_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (wordBreak_buf_runtimeType)) + { + wordBreak_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.wordBreak = wordBreak_buf; + const auto leadingMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_LengthMetrics_LeadingMarginPlaceholder leadingMargin_buf = {}; + leadingMargin_buf.tag = leadingMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (leadingMargin_buf_runtimeType)) + { + const Ark_Int8 leadingMargin_buf__selector = valueDeserializer.readInt8(); + Ark_Union_LengthMetrics_LeadingMarginPlaceholder leadingMargin_buf_ = {}; + leadingMargin_buf_.selector = leadingMargin_buf__selector; + if (leadingMargin_buf__selector == 0) { + leadingMargin_buf_.selector = 0; + leadingMargin_buf_.value0 = static_cast(valueDeserializer.readLengthMetrics()); + } + else if (leadingMargin_buf__selector == 1) { + leadingMargin_buf_.selector = 1; + leadingMargin_buf_.value1 = valueDeserializer.readLeadingMarginPlaceholder(); + } + else { + INTEROP_FATAL("One of the branches for leadingMargin_buf_ has to be chosen through deserialisation."); + } + leadingMargin_buf.value = static_cast(leadingMargin_buf_); + } + value.leadingMargin = leadingMargin_buf; + const auto paragraphSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LengthMetrics paragraphSpacing_buf = {}; + paragraphSpacing_buf.tag = paragraphSpacing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (paragraphSpacing_buf_runtimeType)) + { + paragraphSpacing_buf.value = static_cast(valueDeserializer.readLengthMetrics()); + } + value.paragraphSpacing = paragraphSpacing_buf; + return value; + } Ark_PickerDialogButtonStyle readPickerDialogButtonStyle() { Ark_PickerDialogButtonStyle value = {}; @@ -114093,12 +118616,12 @@ class Deserializer : public DeserializerBase { } value.role = role_buf; const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource fontSize_buf = {}; + Opt_Length fontSize_buf = {}; fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) { const Ark_Int8 fontSize_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource fontSize_buf_ = {}; + Ark_Length fontSize_buf_ = {}; fontSize_buf_.selector = fontSize_buf__selector; if (fontSize_buf__selector == 0) { fontSize_buf_.selector = 0; @@ -114115,7 +118638,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for fontSize_buf_ has to be chosen through deserialisation."); } - fontSize_buf.value = static_cast(fontSize_buf_); + fontSize_buf.value = static_cast(fontSize_buf_); } value.fontSize = fontSize_buf; const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -114245,7 +118768,7 @@ class Deserializer : public DeserializerBase { if (borderRadius_buf__selector == 0) { borderRadius_buf_.selector = 0; const Ark_Int8 borderRadius_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u = {}; + Ark_Length borderRadius_buf__u = {}; borderRadius_buf__u.selector = borderRadius_buf__u_selector; if (borderRadius_buf__u_selector == 0) { borderRadius_buf__u.selector = 0; @@ -114262,116 +118785,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for borderRadius_buf__u has to be chosen through deserialisation."); } - borderRadius_buf_.value0 = static_cast(borderRadius_buf__u); + borderRadius_buf_.value0 = static_cast(borderRadius_buf__u); } else if (borderRadius_buf__selector == 1) { borderRadius_buf_.selector = 1; - Ark_BorderRadiuses borderRadius_buf__u = {}; - const auto borderRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_topLeft_buf = {}; - borderRadius_buf__u_topLeft_buf.tag = borderRadius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_topLeft_buf_ = {}; - borderRadius_buf__u_topLeft_buf_.selector = borderRadius_buf__u_topLeft_buf__selector; - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_.selector = 0; - borderRadius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_.selector = 1; - borderRadius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_.selector = 2; - borderRadius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_topLeft_buf.value = static_cast(borderRadius_buf__u_topLeft_buf_); - } - borderRadius_buf__u.topLeft = borderRadius_buf__u_topLeft_buf; - const auto borderRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_topRight_buf = {}; - borderRadius_buf__u_topRight_buf.tag = borderRadius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_topRight_buf_ = {}; - borderRadius_buf__u_topRight_buf_.selector = borderRadius_buf__u_topRight_buf__selector; - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_.selector = 0; - borderRadius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_.selector = 1; - borderRadius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_.selector = 2; - borderRadius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_topRight_buf.value = static_cast(borderRadius_buf__u_topRight_buf_); - } - borderRadius_buf__u.topRight = borderRadius_buf__u_topRight_buf; - const auto borderRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_bottomLeft_buf = {}; - borderRadius_buf__u_bottomLeft_buf.tag = borderRadius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_bottomLeft_buf_ = {}; - borderRadius_buf__u_bottomLeft_buf_.selector = borderRadius_buf__u_bottomLeft_buf__selector; - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_.selector = 0; - borderRadius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_.selector = 1; - borderRadius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_.selector = 2; - borderRadius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_bottomLeft_buf.value = static_cast(borderRadius_buf__u_bottomLeft_buf_); - } - borderRadius_buf__u.bottomLeft = borderRadius_buf__u_bottomLeft_buf; - const auto borderRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_bottomRight_buf = {}; - borderRadius_buf__u_bottomRight_buf.tag = borderRadius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_bottomRight_buf_ = {}; - borderRadius_buf__u_bottomRight_buf_.selector = borderRadius_buf__u_bottomRight_buf__selector; - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_.selector = 0; - borderRadius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_.selector = 1; - borderRadius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_.selector = 2; - borderRadius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_bottomRight_buf.value = static_cast(borderRadius_buf__u_bottomRight_buf_); - } - borderRadius_buf__u.bottomRight = borderRadius_buf__u_bottomRight_buf; - borderRadius_buf_.value1 = borderRadius_buf__u; + borderRadius_buf_.value1 = valueDeserializer.readBorderRadiuses(); } else { INTEROP_FATAL("One of the branches for borderRadius_buf_ has to be chosen through deserialisation."); @@ -114483,36 +118901,6 @@ class Deserializer : public DeserializerBase { value.fontColor = fontColor_buf; return value; } - Ark_PointLightStyle readPointLightStyle() - { - Ark_PointLightStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto lightSource_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LightSource lightSource_buf = {}; - lightSource_buf.tag = lightSource_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lightSource_buf_runtimeType)) - { - lightSource_buf.value = valueDeserializer.readLightSource(); - } - value.lightSource = lightSource_buf; - const auto illuminated_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_IlluminatedType illuminated_buf = {}; - illuminated_buf.tag = illuminated_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (illuminated_buf_runtimeType)) - { - illuminated_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.illuminated = illuminated_buf; - const auto bloom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number bloom_buf = {}; - bloom_buf.tag = bloom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (bloom_buf_runtimeType)) - { - bloom_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.bloom = bloom_buf; - return value; - } Ark_PopupMessageOptions readPopupMessageOptions() { Ark_PopupMessageOptions value = {}; @@ -114566,140 +118954,309 @@ class Deserializer : public DeserializerBase { slice_buf.tag = slice_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (slice_buf_runtimeType)) { - Ark_EdgeWidths slice_buf_ = {}; - const auto slice_buf__top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource slice_buf__top_buf = {}; - slice_buf__top_buf.tag = slice_buf__top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (slice_buf__top_buf_runtimeType)) - { - const Ark_Int8 slice_buf__top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource slice_buf__top_buf_ = {}; - slice_buf__top_buf_.selector = slice_buf__top_buf__selector; - if (slice_buf__top_buf__selector == 0) { - slice_buf__top_buf_.selector = 0; - slice_buf__top_buf_.value0 = static_cast(valueDeserializer.readString()); + slice_buf.value = valueDeserializer.readEdgeWidths(); + } + value.slice = slice_buf; + const auto lattice_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DrawingLattice lattice_buf = {}; + lattice_buf.tag = lattice_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lattice_buf_runtimeType)) + { + lattice_buf.value = static_cast(valueDeserializer.readDrawingLattice()); + } + value.lattice = lattice_buf; + return value; + } + Ark_RichEditorLayoutStyle readRichEditorLayoutStyle() + { + Ark_RichEditorLayoutStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Dimension_Margin margin_buf = {}; + margin_buf.tag = margin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + { + const Ark_Int8 margin_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Dimension_Margin margin_buf_ = {}; + margin_buf_.selector = margin_buf__selector; + if (margin_buf__selector == 0) { + margin_buf_.selector = 0; + const Ark_Int8 margin_buf__u_selector = valueDeserializer.readInt8(); + Ark_Dimension margin_buf__u = {}; + margin_buf__u.selector = margin_buf__u_selector; + if (margin_buf__u_selector == 0) { + margin_buf__u.selector = 0; + margin_buf__u.value0 = static_cast(valueDeserializer.readString()); } - else if (slice_buf__top_buf__selector == 1) { - slice_buf__top_buf_.selector = 1; - slice_buf__top_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (margin_buf__u_selector == 1) { + margin_buf__u.selector = 1; + margin_buf__u.value1 = static_cast(valueDeserializer.readNumber()); } - else if (slice_buf__top_buf__selector == 2) { - slice_buf__top_buf_.selector = 2; - slice_buf__top_buf_.value2 = valueDeserializer.readResource(); + else if (margin_buf__u_selector == 2) { + margin_buf__u.selector = 2; + margin_buf__u.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for slice_buf__top_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for margin_buf__u has to be chosen through deserialisation."); } - slice_buf__top_buf.value = static_cast(slice_buf__top_buf_); + margin_buf_.value0 = static_cast(margin_buf__u); } - slice_buf_.top = slice_buf__top_buf; - const auto slice_buf__right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource slice_buf__right_buf = {}; - slice_buf__right_buf.tag = slice_buf__right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (slice_buf__right_buf_runtimeType)) - { - const Ark_Int8 slice_buf__right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource slice_buf__right_buf_ = {}; - slice_buf__right_buf_.selector = slice_buf__right_buf__selector; - if (slice_buf__right_buf__selector == 0) { - slice_buf__right_buf_.selector = 0; - slice_buf__right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (slice_buf__right_buf__selector == 1) { - slice_buf__right_buf_.selector = 1; - slice_buf__right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (slice_buf__right_buf__selector == 2) { - slice_buf__right_buf_.selector = 2; - slice_buf__right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for slice_buf__right_buf_ has to be chosen through deserialisation."); - } - slice_buf__right_buf.value = static_cast(slice_buf__right_buf_); + else if (margin_buf__selector == 1) { + margin_buf_.selector = 1; + margin_buf_.value1 = valueDeserializer.readPadding(); } - slice_buf_.right = slice_buf__right_buf; - const auto slice_buf__bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource slice_buf__bottom_buf = {}; - slice_buf__bottom_buf.tag = slice_buf__bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (slice_buf__bottom_buf_runtimeType)) - { - const Ark_Int8 slice_buf__bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource slice_buf__bottom_buf_ = {}; - slice_buf__bottom_buf_.selector = slice_buf__bottom_buf__selector; - if (slice_buf__bottom_buf__selector == 0) { - slice_buf__bottom_buf_.selector = 0; - slice_buf__bottom_buf_.value0 = static_cast(valueDeserializer.readString()); + else { + INTEROP_FATAL("One of the branches for margin_buf_ has to be chosen through deserialisation."); + } + margin_buf.value = static_cast(margin_buf_); + } + value.margin = margin_buf; + const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Dimension_BorderRadiuses borderRadius_buf = {}; + borderRadius_buf.tag = borderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) + { + const Ark_Int8 borderRadius_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Dimension_BorderRadiuses borderRadius_buf_ = {}; + borderRadius_buf_.selector = borderRadius_buf__selector; + if (borderRadius_buf__selector == 0) { + borderRadius_buf_.selector = 0; + const Ark_Int8 borderRadius_buf__u_selector = valueDeserializer.readInt8(); + Ark_Dimension borderRadius_buf__u = {}; + borderRadius_buf__u.selector = borderRadius_buf__u_selector; + if (borderRadius_buf__u_selector == 0) { + borderRadius_buf__u.selector = 0; + borderRadius_buf__u.value0 = static_cast(valueDeserializer.readString()); } - else if (slice_buf__bottom_buf__selector == 1) { - slice_buf__bottom_buf_.selector = 1; - slice_buf__bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (borderRadius_buf__u_selector == 1) { + borderRadius_buf__u.selector = 1; + borderRadius_buf__u.value1 = static_cast(valueDeserializer.readNumber()); } - else if (slice_buf__bottom_buf__selector == 2) { - slice_buf__bottom_buf_.selector = 2; - slice_buf__bottom_buf_.value2 = valueDeserializer.readResource(); + else if (borderRadius_buf__u_selector == 2) { + borderRadius_buf__u.selector = 2; + borderRadius_buf__u.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for slice_buf__bottom_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for borderRadius_buf__u has to be chosen through deserialisation."); } - slice_buf__bottom_buf.value = static_cast(slice_buf__bottom_buf_); + borderRadius_buf_.value0 = static_cast(borderRadius_buf__u); } - slice_buf_.bottom = slice_buf__bottom_buf; - const auto slice_buf__left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource slice_buf__left_buf = {}; - slice_buf__left_buf.tag = slice_buf__left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (slice_buf__left_buf_runtimeType)) - { - const Ark_Int8 slice_buf__left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource slice_buf__left_buf_ = {}; - slice_buf__left_buf_.selector = slice_buf__left_buf__selector; - if (slice_buf__left_buf__selector == 0) { - slice_buf__left_buf_.selector = 0; - slice_buf__left_buf_.value0 = static_cast(valueDeserializer.readString()); + else if (borderRadius_buf__selector == 1) { + borderRadius_buf_.selector = 1; + borderRadius_buf_.value1 = valueDeserializer.readBorderRadiuses(); + } + else { + INTEROP_FATAL("One of the branches for borderRadius_buf_ has to be chosen through deserialisation."); + } + borderRadius_buf.value = static_cast(borderRadius_buf_); + } + value.borderRadius = borderRadius_buf; + return value; + } + Ark_RichEditorParagraphStyle readRichEditorParagraphStyle() + { + Ark_RichEditorParagraphStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto textAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextAlign textAlign_buf = {}; + textAlign_buf.tag = textAlign_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textAlign_buf_runtimeType)) + { + textAlign_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.textAlign = textAlign_buf; + const auto leadingMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Dimension_LeadingMarginPlaceholder leadingMargin_buf = {}; + leadingMargin_buf.tag = leadingMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (leadingMargin_buf_runtimeType)) + { + const Ark_Int8 leadingMargin_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Dimension_LeadingMarginPlaceholder leadingMargin_buf_ = {}; + leadingMargin_buf_.selector = leadingMargin_buf__selector; + if (leadingMargin_buf__selector == 0) { + leadingMargin_buf_.selector = 0; + const Ark_Int8 leadingMargin_buf__u_selector = valueDeserializer.readInt8(); + Ark_Dimension leadingMargin_buf__u = {}; + leadingMargin_buf__u.selector = leadingMargin_buf__u_selector; + if (leadingMargin_buf__u_selector == 0) { + leadingMargin_buf__u.selector = 0; + leadingMargin_buf__u.value0 = static_cast(valueDeserializer.readString()); } - else if (slice_buf__left_buf__selector == 1) { - slice_buf__left_buf_.selector = 1; - slice_buf__left_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (leadingMargin_buf__u_selector == 1) { + leadingMargin_buf__u.selector = 1; + leadingMargin_buf__u.value1 = static_cast(valueDeserializer.readNumber()); } - else if (slice_buf__left_buf__selector == 2) { - slice_buf__left_buf_.selector = 2; - slice_buf__left_buf_.value2 = valueDeserializer.readResource(); + else if (leadingMargin_buf__u_selector == 2) { + leadingMargin_buf__u.selector = 2; + leadingMargin_buf__u.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for slice_buf__left_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for leadingMargin_buf__u has to be chosen through deserialisation."); } - slice_buf__left_buf.value = static_cast(slice_buf__left_buf_); + leadingMargin_buf_.value0 = static_cast(leadingMargin_buf__u); + } + else if (leadingMargin_buf__selector == 1) { + leadingMargin_buf_.selector = 1; + leadingMargin_buf_.value1 = valueDeserializer.readLeadingMarginPlaceholder(); + } + else { + INTEROP_FATAL("One of the branches for leadingMargin_buf_ has to be chosen through deserialisation."); } - slice_buf_.left = slice_buf__left_buf; - slice_buf.value = slice_buf_; + leadingMargin_buf.value = static_cast(leadingMargin_buf_); } - value.slice = slice_buf; - const auto lattice_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_DrawingLattice lattice_buf = {}; - lattice_buf.tag = lattice_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lattice_buf_runtimeType)) + value.leadingMargin = leadingMargin_buf; + const auto wordBreak_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_WordBreak wordBreak_buf = {}; + wordBreak_buf.tag = wordBreak_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (wordBreak_buf_runtimeType)) { - lattice_buf.value = static_cast(valueDeserializer.readDrawingLattice()); + wordBreak_buf.value = static_cast(valueDeserializer.readInt32()); } - value.lattice = lattice_buf; + value.wordBreak = wordBreak_buf; + const auto lineBreakStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_LineBreakStrategy lineBreakStrategy_buf = {}; + lineBreakStrategy_buf.tag = lineBreakStrategy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lineBreakStrategy_buf_runtimeType)) + { + lineBreakStrategy_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.lineBreakStrategy = lineBreakStrategy_buf; + const auto paragraphSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number paragraphSpacing_buf = {}; + paragraphSpacing_buf.tag = paragraphSpacing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (paragraphSpacing_buf_runtimeType)) + { + paragraphSpacing_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.paragraphSpacing = paragraphSpacing_buf; return value; } - Ark_RichEditorLayoutStyle readRichEditorLayoutStyle() + Ark_RichEditorParagraphStyleOptions readRichEditorParagraphStyleOptions() { - Ark_RichEditorLayoutStyle value = {}; + Ark_RichEditorParagraphStyleOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.end = end_buf; + value.style = valueDeserializer.readRichEditorParagraphStyle(); + return value; + } + Ark_RotationGestureEvent readRotationGestureEvent() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } + Ark_RunMetrics readRunMetrics() + { + Ark_RunMetrics value = {}; + Deserializer& valueDeserializer = *this; + value.textStyle = valueDeserializer.readtext_TextStyle(); + value.fontMetrics = valueDeserializer.readFontMetrics(); + return value; + } + Ark_SectionOptions readSectionOptions() + { + Ark_SectionOptions value = {}; Deserializer& valueDeserializer = *this; + value.itemsCount = static_cast(valueDeserializer.readNumber()); + const auto crossCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number crossCount_buf = {}; + crossCount_buf.tag = crossCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (crossCount_buf_runtimeType)) + { + crossCount_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.crossCount = crossCount_buf; + const auto onGetItemMainSizeByIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_GetItemMainSizeByIndex onGetItemMainSizeByIndex_buf = {}; + onGetItemMainSizeByIndex_buf.tag = onGetItemMainSizeByIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onGetItemMainSizeByIndex_buf_runtimeType)) + { + onGetItemMainSizeByIndex_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_GetItemMainSizeByIndex)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_GetItemMainSizeByIndex))))}; + } + value.onGetItemMainSizeByIndex = onGetItemMainSizeByIndex_buf; + const auto columnsGap_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension columnsGap_buf = {}; + columnsGap_buf.tag = columnsGap_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (columnsGap_buf_runtimeType)) + { + const Ark_Int8 columnsGap_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension columnsGap_buf_ = {}; + columnsGap_buf_.selector = columnsGap_buf__selector; + if (columnsGap_buf__selector == 0) { + columnsGap_buf_.selector = 0; + columnsGap_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (columnsGap_buf__selector == 1) { + columnsGap_buf_.selector = 1; + columnsGap_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (columnsGap_buf__selector == 2) { + columnsGap_buf_.selector = 2; + columnsGap_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for columnsGap_buf_ has to be chosen through deserialisation."); + } + columnsGap_buf.value = static_cast(columnsGap_buf_); + } + value.columnsGap = columnsGap_buf; + const auto rowsGap_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension rowsGap_buf = {}; + rowsGap_buf.tag = rowsGap_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (rowsGap_buf_runtimeType)) + { + const Ark_Int8 rowsGap_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension rowsGap_buf_ = {}; + rowsGap_buf_.selector = rowsGap_buf__selector; + if (rowsGap_buf__selector == 0) { + rowsGap_buf_.selector = 0; + rowsGap_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (rowsGap_buf__selector == 1) { + rowsGap_buf_.selector = 1; + rowsGap_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (rowsGap_buf__selector == 2) { + rowsGap_buf_.selector = 2; + rowsGap_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for rowsGap_buf_ has to be chosen through deserialisation."); + } + rowsGap_buf.value = static_cast(rowsGap_buf_); + } + value.rowsGap = rowsGap_buf; const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Dimension_Margin margin_buf = {}; + Opt_Union_Margin_Dimension margin_buf = {}; margin_buf.tag = margin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) { const Ark_Int8 margin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Dimension_Margin margin_buf_ = {}; + Ark_Union_Margin_Dimension margin_buf_ = {}; margin_buf_.selector = margin_buf__selector; if (margin_buf__selector == 0) { margin_buf_.selector = 0; + margin_buf_.value0 = valueDeserializer.readPadding(); + } + else if (margin_buf__selector == 1) { + margin_buf_.selector = 1; const Ark_Int8 margin_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u = {}; + Ark_Dimension margin_buf__u = {}; margin_buf__u.selector = margin_buf__u_selector; if (margin_buf__u_selector == 0) { margin_buf__u.selector = 0; @@ -114716,838 +119273,722 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for margin_buf__u has to be chosen through deserialisation."); } - margin_buf_.value0 = static_cast(margin_buf__u); + margin_buf_.value1 = static_cast(margin_buf__u); } - else if (margin_buf__selector == 1) { - margin_buf_.selector = 1; - Ark_Padding margin_buf__u = {}; - const auto margin_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf__u_top_buf = {}; - margin_buf__u_top_buf.tag = margin_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 margin_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u_top_buf_ = {}; - margin_buf__u_top_buf_.selector = margin_buf__u_top_buf__selector; - if (margin_buf__u_top_buf__selector == 0) { - margin_buf__u_top_buf_.selector = 0; - margin_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_top_buf__selector == 1) { - margin_buf__u_top_buf_.selector = 1; - margin_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_top_buf__selector == 2) { - margin_buf__u_top_buf_.selector = 2; - margin_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for margin_buf__u_top_buf_ has to be chosen through deserialisation."); - } - margin_buf__u_top_buf.value = static_cast(margin_buf__u_top_buf_); + else { + INTEROP_FATAL("One of the branches for margin_buf_ has to be chosen through deserialisation."); + } + margin_buf.value = static_cast(margin_buf_); + } + value.margin = margin_buf; + return value; + } + Ark_SheetOptions readSheetOptions() + { + Ark_SheetOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor backgroundColor_buf = {}; + backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + { + const Ark_Int8 backgroundColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor backgroundColor_buf_ = {}; + backgroundColor_buf_.selector = backgroundColor_buf__selector; + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_.selector = 0; + backgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_.selector = 1; + backgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_.selector = 2; + backgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_.selector = 3; + backgroundColor_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation."); + } + backgroundColor_buf.value = static_cast(backgroundColor_buf_); + } + value.backgroundColor = backgroundColor_buf; + const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onAppear_buf = {}; + onAppear_buf.tag = onAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) + { + onAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onAppear = onAppear_buf; + const auto onDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onDisappear_buf = {}; + onDisappear_buf.tag = onDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) + { + onDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onDisappear = onDisappear_buf; + const auto onWillAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillAppear_buf = {}; + onWillAppear_buf.tag = onWillAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillAppear = onWillAppear_buf; + const auto onWillDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Void onWillDisappear_buf = {}; + onWillDisappear_buf.tag = onWillDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + value.onWillDisappear = onWillDisappear_buf; + const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_SheetSize_Length height_buf = {}; + height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + { + const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); + Ark_Union_SheetSize_Length height_buf_ = {}; + height_buf_.selector = height_buf__selector; + if (height_buf__selector == 0) { + height_buf_.selector = 0; + height_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (height_buf__selector == 1) { + height_buf_.selector = 1; + const Ark_Int8 height_buf__u_selector = valueDeserializer.readInt8(); + Ark_Length height_buf__u = {}; + height_buf__u.selector = height_buf__u_selector; + if (height_buf__u_selector == 0) { + height_buf__u.selector = 0; + height_buf__u.value0 = static_cast(valueDeserializer.readString()); } - margin_buf__u.top = margin_buf__u_top_buf; - const auto margin_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf__u_right_buf = {}; - margin_buf__u_right_buf.tag = margin_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 margin_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u_right_buf_ = {}; - margin_buf__u_right_buf_.selector = margin_buf__u_right_buf__selector; - if (margin_buf__u_right_buf__selector == 0) { - margin_buf__u_right_buf_.selector = 0; - margin_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_right_buf__selector == 1) { - margin_buf__u_right_buf_.selector = 1; - margin_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_right_buf__selector == 2) { - margin_buf__u_right_buf_.selector = 2; - margin_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for margin_buf__u_right_buf_ has to be chosen through deserialisation."); - } - margin_buf__u_right_buf.value = static_cast(margin_buf__u_right_buf_); + else if (height_buf__u_selector == 1) { + height_buf__u.selector = 1; + height_buf__u.value1 = static_cast(valueDeserializer.readNumber()); } - margin_buf__u.right = margin_buf__u_right_buf; - const auto margin_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf__u_bottom_buf = {}; - margin_buf__u_bottom_buf.tag = margin_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 margin_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u_bottom_buf_ = {}; - margin_buf__u_bottom_buf_.selector = margin_buf__u_bottom_buf__selector; - if (margin_buf__u_bottom_buf__selector == 0) { - margin_buf__u_bottom_buf_.selector = 0; - margin_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_bottom_buf__selector == 1) { - margin_buf__u_bottom_buf_.selector = 1; - margin_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_bottom_buf__selector == 2) { - margin_buf__u_bottom_buf_.selector = 2; - margin_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for margin_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - margin_buf__u_bottom_buf.value = static_cast(margin_buf__u_bottom_buf_); + else if (height_buf__u_selector == 2) { + height_buf__u.selector = 2; + height_buf__u.value2 = valueDeserializer.readResource(); } - margin_buf__u.bottom = margin_buf__u_bottom_buf; - const auto margin_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf__u_left_buf = {}; - margin_buf__u_left_buf.tag = margin_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 margin_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u_left_buf_ = {}; - margin_buf__u_left_buf_.selector = margin_buf__u_left_buf__selector; - if (margin_buf__u_left_buf__selector == 0) { - margin_buf__u_left_buf_.selector = 0; - margin_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_left_buf__selector == 1) { - margin_buf__u_left_buf_.selector = 1; - margin_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_left_buf__selector == 2) { - margin_buf__u_left_buf_.selector = 2; - margin_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for margin_buf__u_left_buf_ has to be chosen through deserialisation."); - } - margin_buf__u_left_buf.value = static_cast(margin_buf__u_left_buf_); + else { + INTEROP_FATAL("One of the branches for height_buf__u has to be chosen through deserialisation."); } - margin_buf__u.left = margin_buf__u_left_buf; - margin_buf_.value1 = margin_buf__u; + height_buf_.value1 = static_cast(height_buf__u); } else { - INTEROP_FATAL("One of the branches for margin_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); } - margin_buf.value = static_cast(margin_buf_); + height_buf.value = static_cast(height_buf_); } - value.margin = margin_buf; - const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Dimension_BorderRadiuses borderRadius_buf = {}; - borderRadius_buf.tag = borderRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) + value.height = height_buf; + const auto dragBar_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean dragBar_buf = {}; + dragBar_buf.tag = dragBar_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dragBar_buf_runtimeType)) { - const Ark_Int8 borderRadius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Dimension_BorderRadiuses borderRadius_buf_ = {}; - borderRadius_buf_.selector = borderRadius_buf__selector; - if (borderRadius_buf__selector == 0) { - borderRadius_buf_.selector = 0; - const Ark_Int8 borderRadius_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u = {}; - borderRadius_buf__u.selector = borderRadius_buf__u_selector; - if (borderRadius_buf__u_selector == 0) { - borderRadius_buf__u.selector = 0; - borderRadius_buf__u.value0 = static_cast(valueDeserializer.readString()); + dragBar_buf.value = valueDeserializer.readBoolean(); + } + value.dragBar = dragBar_buf; + const auto maskColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor maskColor_buf = {}; + maskColor_buf.tag = maskColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maskColor_buf_runtimeType)) + { + const Ark_Int8 maskColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor maskColor_buf_ = {}; + maskColor_buf_.selector = maskColor_buf__selector; + if (maskColor_buf__selector == 0) { + maskColor_buf_.selector = 0; + maskColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (maskColor_buf__selector == 1) { + maskColor_buf_.selector = 1; + maskColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (maskColor_buf__selector == 2) { + maskColor_buf_.selector = 2; + maskColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (maskColor_buf__selector == 3) { + maskColor_buf_.selector = 3; + maskColor_buf_.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for maskColor_buf_ has to be chosen through deserialisation."); + } + maskColor_buf.value = static_cast(maskColor_buf_); + } + value.maskColor = maskColor_buf; + const auto detents_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Type_SheetOptions_detents detents_buf = {}; + detents_buf.tag = detents_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (detents_buf_runtimeType)) + { + Ark_Type_SheetOptions_detents detents_buf_ = {}; + const Ark_Int8 detents_buf__value0_buf_selector = valueDeserializer.readInt8(); + Ark_Union_SheetSize_Length detents_buf__value0_buf = {}; + detents_buf__value0_buf.selector = detents_buf__value0_buf_selector; + if (detents_buf__value0_buf_selector == 0) { + detents_buf__value0_buf.selector = 0; + detents_buf__value0_buf.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (detents_buf__value0_buf_selector == 1) { + detents_buf__value0_buf.selector = 1; + const Ark_Int8 detents_buf__value0_buf_u_selector = valueDeserializer.readInt8(); + Ark_Length detents_buf__value0_buf_u = {}; + detents_buf__value0_buf_u.selector = detents_buf__value0_buf_u_selector; + if (detents_buf__value0_buf_u_selector == 0) { + detents_buf__value0_buf_u.selector = 0; + detents_buf__value0_buf_u.value0 = static_cast(valueDeserializer.readString()); } - else if (borderRadius_buf__u_selector == 1) { - borderRadius_buf__u.selector = 1; - borderRadius_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + else if (detents_buf__value0_buf_u_selector == 1) { + detents_buf__value0_buf_u.selector = 1; + detents_buf__value0_buf_u.value1 = static_cast(valueDeserializer.readNumber()); } - else if (borderRadius_buf__u_selector == 2) { - borderRadius_buf__u.selector = 2; - borderRadius_buf__u.value2 = valueDeserializer.readResource(); + else if (detents_buf__value0_buf_u_selector == 2) { + detents_buf__value0_buf_u.selector = 2; + detents_buf__value0_buf_u.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for detents_buf__value0_buf_u has to be chosen through deserialisation."); } - borderRadius_buf_.value0 = static_cast(borderRadius_buf__u); + detents_buf__value0_buf.value1 = static_cast(detents_buf__value0_buf_u); } - else if (borderRadius_buf__selector == 1) { - borderRadius_buf_.selector = 1; - Ark_BorderRadiuses borderRadius_buf__u = {}; - const auto borderRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_topLeft_buf = {}; - borderRadius_buf__u_topLeft_buf.tag = borderRadius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_topLeft_buf_ = {}; - borderRadius_buf__u_topLeft_buf_.selector = borderRadius_buf__u_topLeft_buf__selector; - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_.selector = 0; - borderRadius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_.selector = 1; - borderRadius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_.selector = 2; - borderRadius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_topLeft_buf.value = static_cast(borderRadius_buf__u_topLeft_buf_); + else { + INTEROP_FATAL("One of the branches for detents_buf__value0_buf has to be chosen through deserialisation."); + } + detents_buf_.value0 = static_cast(detents_buf__value0_buf); + const auto detents_buf__value1_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_SheetSize_Length detents_buf__value1_buf = {}; + detents_buf__value1_buf.tag = detents_buf__value1_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (detents_buf__value1_buf_runtimeType)) + { + const Ark_Int8 detents_buf__value1_buf__selector = valueDeserializer.readInt8(); + Ark_Union_SheetSize_Length detents_buf__value1_buf_ = {}; + detents_buf__value1_buf_.selector = detents_buf__value1_buf__selector; + if (detents_buf__value1_buf__selector == 0) { + detents_buf__value1_buf_.selector = 0; + detents_buf__value1_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - borderRadius_buf__u.topLeft = borderRadius_buf__u_topLeft_buf; - const auto borderRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_topRight_buf = {}; - borderRadius_buf__u_topRight_buf.tag = borderRadius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_topRight_buf_ = {}; - borderRadius_buf__u_topRight_buf_.selector = borderRadius_buf__u_topRight_buf__selector; - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_.selector = 0; - borderRadius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); + else if (detents_buf__value1_buf__selector == 1) { + detents_buf__value1_buf_.selector = 1; + const Ark_Int8 detents_buf__value1_buf__u_selector = valueDeserializer.readInt8(); + Ark_Length detents_buf__value1_buf__u = {}; + detents_buf__value1_buf__u.selector = detents_buf__value1_buf__u_selector; + if (detents_buf__value1_buf__u_selector == 0) { + detents_buf__value1_buf__u.selector = 0; + detents_buf__value1_buf__u.value0 = static_cast(valueDeserializer.readString()); } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_.selector = 1; - borderRadius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (detents_buf__value1_buf__u_selector == 1) { + detents_buf__value1_buf__u.selector = 1; + detents_buf__value1_buf__u.value1 = static_cast(valueDeserializer.readNumber()); } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_.selector = 2; - borderRadius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); + else if (detents_buf__value1_buf__u_selector == 2) { + detents_buf__value1_buf__u.selector = 2; + detents_buf__value1_buf__u.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for detents_buf__value1_buf__u has to be chosen through deserialisation."); } - borderRadius_buf__u_topRight_buf.value = static_cast(borderRadius_buf__u_topRight_buf_); + detents_buf__value1_buf_.value1 = static_cast(detents_buf__value1_buf__u); } - borderRadius_buf__u.topRight = borderRadius_buf__u_topRight_buf; - const auto borderRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_bottomLeft_buf = {}; - borderRadius_buf__u_bottomLeft_buf.tag = borderRadius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_bottomLeft_buf_ = {}; - borderRadius_buf__u_bottomLeft_buf_.selector = borderRadius_buf__u_bottomLeft_buf__selector; - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_.selector = 0; - borderRadius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_.selector = 1; - borderRadius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_.selector = 2; - borderRadius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - borderRadius_buf__u_bottomLeft_buf.value = static_cast(borderRadius_buf__u_bottomLeft_buf_); + else { + INTEROP_FATAL("One of the branches for detents_buf__value1_buf_ has to be chosen through deserialisation."); } - borderRadius_buf__u.bottomLeft = borderRadius_buf__u_bottomLeft_buf; - const auto borderRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderRadius_buf__u_bottomRight_buf = {}; - borderRadius_buf__u_bottomRight_buf.tag = borderRadius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 borderRadius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderRadius_buf__u_bottomRight_buf_ = {}; - borderRadius_buf__u_bottomRight_buf_.selector = borderRadius_buf__u_bottomRight_buf__selector; - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_.selector = 0; - borderRadius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); + detents_buf__value1_buf.value = static_cast(detents_buf__value1_buf_); + } + detents_buf_.value1 = detents_buf__value1_buf; + const auto detents_buf__value2_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_SheetSize_Length detents_buf__value2_buf = {}; + detents_buf__value2_buf.tag = detents_buf__value2_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (detents_buf__value2_buf_runtimeType)) + { + const Ark_Int8 detents_buf__value2_buf__selector = valueDeserializer.readInt8(); + Ark_Union_SheetSize_Length detents_buf__value2_buf_ = {}; + detents_buf__value2_buf_.selector = detents_buf__value2_buf__selector; + if (detents_buf__value2_buf__selector == 0) { + detents_buf__value2_buf_.selector = 0; + detents_buf__value2_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (detents_buf__value2_buf__selector == 1) { + detents_buf__value2_buf_.selector = 1; + const Ark_Int8 detents_buf__value2_buf__u_selector = valueDeserializer.readInt8(); + Ark_Length detents_buf__value2_buf__u = {}; + detents_buf__value2_buf__u.selector = detents_buf__value2_buf__u_selector; + if (detents_buf__value2_buf__u_selector == 0) { + detents_buf__value2_buf__u.selector = 0; + detents_buf__value2_buf__u.value0 = static_cast(valueDeserializer.readString()); } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_.selector = 1; - borderRadius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (detents_buf__value2_buf__u_selector == 1) { + detents_buf__value2_buf__u.selector = 1; + detents_buf__value2_buf__u.value1 = static_cast(valueDeserializer.readNumber()); } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_.selector = 2; - borderRadius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); + else if (detents_buf__value2_buf__u_selector == 2) { + detents_buf__value2_buf__u.selector = 2; + detents_buf__value2_buf__u.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for detents_buf__value2_buf__u has to be chosen through deserialisation."); } - borderRadius_buf__u_bottomRight_buf.value = static_cast(borderRadius_buf__u_bottomRight_buf_); + detents_buf__value2_buf_.value1 = static_cast(detents_buf__value2_buf__u); } - borderRadius_buf__u.bottomRight = borderRadius_buf__u_bottomRight_buf; - borderRadius_buf_.value1 = borderRadius_buf__u; - } - else { - INTEROP_FATAL("One of the branches for borderRadius_buf_ has to be chosen through deserialisation."); + else { + INTEROP_FATAL("One of the branches for detents_buf__value2_buf_ has to be chosen through deserialisation."); + } + detents_buf__value2_buf.value = static_cast(detents_buf__value2_buf_); } - borderRadius_buf.value = static_cast(borderRadius_buf_); - } - value.borderRadius = borderRadius_buf; - return value; - } - Ark_RichEditorSymbolSpanOptions readRichEditorSymbolSpanOptions() - { - Ark_RichEditorSymbolSpanOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) - { - offset_buf.value = static_cast(valueDeserializer.readNumber()); + detents_buf_.value2 = detents_buf__value2_buf; + detents_buf.value = detents_buf_; } - value.offset = offset_buf; - const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_RichEditorSymbolSpanStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + value.detents = detents_buf; + const auto blurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BlurStyle blurStyle_buf = {}; + blurStyle_buf.tag = blurStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (blurStyle_buf_runtimeType)) { - style_buf.value = valueDeserializer.readRichEditorSymbolSpanStyle(); + blurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } - value.style = style_buf; - return value; - } - Ark_RichEditorTextStyle readRichEditorTextStyle() - { - Ark_RichEditorTextStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor fontColor_buf = {}; - fontColor_buf.tag = fontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + value.blurStyle = blurStyle_buf; + const auto showClose_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Boolean_Resource showClose_buf = {}; + showClose_buf.tag = showClose_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (showClose_buf_runtimeType)) { - const Ark_Int8 fontColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor fontColor_buf_ = {}; - fontColor_buf_.selector = fontColor_buf__selector; - if (fontColor_buf__selector == 0) { - fontColor_buf_.selector = 0; - fontColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 showClose_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Boolean_Resource showClose_buf_ = {}; + showClose_buf_.selector = showClose_buf__selector; + if (showClose_buf__selector == 0) { + showClose_buf_.selector = 0; + showClose_buf_.value0 = valueDeserializer.readBoolean(); } - else if (fontColor_buf__selector == 1) { - fontColor_buf_.selector = 1; - fontColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (showClose_buf__selector == 1) { + showClose_buf_.selector = 1; + showClose_buf_.value1 = valueDeserializer.readResource(); } - else if (fontColor_buf__selector == 2) { - fontColor_buf_.selector = 2; - fontColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else { + INTEROP_FATAL("One of the branches for showClose_buf_ has to be chosen through deserialisation."); } - else if (fontColor_buf__selector == 3) { - fontColor_buf_.selector = 3; - fontColor_buf_.value3 = valueDeserializer.readResource(); + showClose_buf.value = static_cast(showClose_buf_); + } + value.showClose = showClose_buf; + const auto preferType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SheetType preferType_buf = {}; + preferType_buf.tag = preferType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (preferType_buf_runtimeType)) + { + preferType_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.preferType = preferType_buf; + const auto title_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_SheetTitleOptions_CustomBuilder title_buf = {}; + title_buf.tag = title_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (title_buf_runtimeType)) + { + const Ark_Int8 title_buf__selector = valueDeserializer.readInt8(); + Ark_Union_SheetTitleOptions_CustomBuilder title_buf_ = {}; + title_buf_.selector = title_buf__selector; + if (title_buf__selector == 0) { + title_buf_.selector = 0; + title_buf_.value0 = valueDeserializer.readSheetTitleOptions(); + } + else if (title_buf__selector == 1) { + title_buf_.selector = 1; + title_buf_.value1 = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; } else { - INTEROP_FATAL("One of the branches for fontColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for title_buf_ has to be chosen through deserialisation."); } - fontColor_buf.value = static_cast(fontColor_buf_); + title_buf.value = static_cast(title_buf_); } - value.fontColor = fontColor_buf; - const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource fontSize_buf = {}; - fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) + value.title = title_buf; + const auto shouldDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_SheetDismiss_Void shouldDismiss_buf = {}; + shouldDismiss_buf.tag = shouldDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (shouldDismiss_buf_runtimeType)) { - const Ark_Int8 fontSize_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource fontSize_buf_ = {}; - fontSize_buf_.selector = fontSize_buf__selector; - if (fontSize_buf__selector == 0) { - fontSize_buf_.selector = 0; - fontSize_buf_.value0 = static_cast(valueDeserializer.readString()); + shouldDismiss_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SheetDismiss_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SheetDismiss_Void))))}; + } + value.shouldDismiss = shouldDismiss_buf; + const auto onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_DismissSheetAction_Void onWillDismiss_buf = {}; + onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) + { + onWillDismiss_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DismissSheetAction_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DismissSheetAction_Void))))}; + } + value.onWillDismiss = onWillDismiss_buf; + const auto onWillSpringBackWhenDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_SpringBackAction_Void onWillSpringBackWhenDismiss_buf = {}; + onWillSpringBackWhenDismiss_buf.tag = onWillSpringBackWhenDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillSpringBackWhenDismiss_buf_runtimeType)) + { + onWillSpringBackWhenDismiss_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SpringBackAction_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SpringBackAction_Void))))}; + } + value.onWillSpringBackWhenDismiss = onWillSpringBackWhenDismiss_buf; + const auto enableOutsideInteractive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableOutsideInteractive_buf = {}; + enableOutsideInteractive_buf.tag = enableOutsideInteractive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableOutsideInteractive_buf_runtimeType)) + { + enableOutsideInteractive_buf.value = valueDeserializer.readBoolean(); + } + value.enableOutsideInteractive = enableOutsideInteractive_buf; + const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Dimension width_buf = {}; + width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + { + const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); + Ark_Dimension width_buf_ = {}; + width_buf_.selector = width_buf__selector; + if (width_buf__selector == 0) { + width_buf_.selector = 0; + width_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (fontSize_buf__selector == 1) { - fontSize_buf_.selector = 1; - fontSize_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (width_buf__selector == 1) { + width_buf_.selector = 1; + width_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (fontSize_buf__selector == 2) { - fontSize_buf_.selector = 2; - fontSize_buf_.value2 = valueDeserializer.readResource(); + else if (width_buf__selector == 2) { + width_buf_.selector = 2; + width_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for fontSize_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - fontSize_buf.value = static_cast(fontSize_buf_); - } - value.fontSize = fontSize_buf; - const auto fontStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FontStyle fontStyle_buf = {}; - fontStyle_buf.tag = fontStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontStyle_buf_runtimeType)) - { - fontStyle_buf.value = static_cast(valueDeserializer.readInt32()); + width_buf.value = static_cast(width_buf_); } - value.fontStyle = fontStyle_buf; - const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_FontWeight_String fontWeight_buf = {}; - fontWeight_buf.tag = fontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) + value.width = width_buf; + const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf = {}; + borderWidth_buf.tag = borderWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) { - const Ark_Int8 fontWeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String fontWeight_buf_ = {}; - fontWeight_buf_.selector = fontWeight_buf__selector; - if (fontWeight_buf__selector == 0) { - fontWeight_buf_.selector = 0; - fontWeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 borderWidth_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf_ = {}; + borderWidth_buf_.selector = borderWidth_buf__selector; + if (borderWidth_buf__selector == 0) { + borderWidth_buf_.selector = 0; + const Ark_Int8 borderWidth_buf__u_selector = valueDeserializer.readInt8(); + Ark_Dimension borderWidth_buf__u = {}; + borderWidth_buf__u.selector = borderWidth_buf__u_selector; + if (borderWidth_buf__u_selector == 0) { + borderWidth_buf__u.selector = 0; + borderWidth_buf__u.value0 = static_cast(valueDeserializer.readString()); + } + else if (borderWidth_buf__u_selector == 1) { + borderWidth_buf__u.selector = 1; + borderWidth_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (borderWidth_buf__u_selector == 2) { + borderWidth_buf__u.selector = 2; + borderWidth_buf__u.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for borderWidth_buf__u has to be chosen through deserialisation."); + } + borderWidth_buf_.value0 = static_cast(borderWidth_buf__u); } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_.selector = 1; - fontWeight_buf_.value1 = static_cast(valueDeserializer.readInt32()); + else if (borderWidth_buf__selector == 1) { + borderWidth_buf_.selector = 1; + borderWidth_buf_.value1 = valueDeserializer.readEdgeWidths(); } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_.selector = 2; - fontWeight_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (borderWidth_buf__selector == 2) { + borderWidth_buf_.selector = 2; + borderWidth_buf_.value2 = valueDeserializer.readLocalizedEdgeWidths(); } else { - INTEROP_FATAL("One of the branches for fontWeight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for borderWidth_buf_ has to be chosen through deserialisation."); } - fontWeight_buf.value = static_cast(fontWeight_buf_); + borderWidth_buf.value = static_cast(borderWidth_buf_); } - value.fontWeight = fontWeight_buf; - const auto fontFamily_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceStr fontFamily_buf = {}; - fontFamily_buf.tag = fontFamily_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontFamily_buf_runtimeType)) + value.borderWidth = borderWidth_buf; + const auto borderColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor_buf = {}; + borderColor_buf.tag = borderColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf_runtimeType)) { - const Ark_Int8 fontFamily_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceStr fontFamily_buf_ = {}; - fontFamily_buf_.selector = fontFamily_buf__selector; - if (fontFamily_buf__selector == 0) { - fontFamily_buf_.selector = 0; - fontFamily_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 borderColor_buf__selector = valueDeserializer.readInt8(); + Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor_buf_ = {}; + borderColor_buf_.selector = borderColor_buf__selector; + if (borderColor_buf__selector == 0) { + borderColor_buf_.selector = 0; + const Ark_Int8 borderColor_buf__u_selector = valueDeserializer.readInt8(); + Ark_ResourceColor borderColor_buf__u = {}; + borderColor_buf__u.selector = borderColor_buf__u_selector; + if (borderColor_buf__u_selector == 0) { + borderColor_buf__u.selector = 0; + borderColor_buf__u.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (borderColor_buf__u_selector == 1) { + borderColor_buf__u.selector = 1; + borderColor_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (borderColor_buf__u_selector == 2) { + borderColor_buf__u.selector = 2; + borderColor_buf__u.value2 = static_cast(valueDeserializer.readString()); + } + else if (borderColor_buf__u_selector == 3) { + borderColor_buf__u.selector = 3; + borderColor_buf__u.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for borderColor_buf__u has to be chosen through deserialisation."); + } + borderColor_buf_.value0 = static_cast(borderColor_buf__u); } - else if (fontFamily_buf__selector == 1) { - fontFamily_buf_.selector = 1; - fontFamily_buf_.value1 = valueDeserializer.readResource(); + else if (borderColor_buf__selector == 1) { + borderColor_buf_.selector = 1; + borderColor_buf_.value1 = valueDeserializer.readEdgeColors(); + } + else if (borderColor_buf__selector == 2) { + borderColor_buf_.selector = 2; + borderColor_buf_.value2 = valueDeserializer.readLocalizedEdgeColors(); } else { - INTEROP_FATAL("One of the branches for fontFamily_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for borderColor_buf_ has to be chosen through deserialisation."); } - fontFamily_buf.value = static_cast(fontFamily_buf_); - } - value.fontFamily = fontFamily_buf; - const auto decoration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_DecorationStyleInterface decoration_buf = {}; - decoration_buf.tag = decoration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (decoration_buf_runtimeType)) - { - decoration_buf.value = valueDeserializer.readDecorationStyleInterface(); + borderColor_buf.value = static_cast(borderColor_buf_); } - value.decoration = decoration_buf; - const auto textShadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_ShadowOptions_Array_ShadowOptions textShadow_buf = {}; - textShadow_buf.tag = textShadow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (textShadow_buf_runtimeType)) + value.borderColor = borderColor_buf; + const auto borderStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_BorderStyle_EdgeStyles borderStyle_buf = {}; + borderStyle_buf.tag = borderStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf_runtimeType)) { - const Ark_Int8 textShadow_buf__selector = valueDeserializer.readInt8(); - Ark_Union_ShadowOptions_Array_ShadowOptions textShadow_buf_ = {}; - textShadow_buf_.selector = textShadow_buf__selector; - if (textShadow_buf__selector == 0) { - textShadow_buf_.selector = 0; - textShadow_buf_.value0 = valueDeserializer.readShadowOptions(); + const Ark_Int8 borderStyle_buf__selector = valueDeserializer.readInt8(); + Ark_Union_BorderStyle_EdgeStyles borderStyle_buf_ = {}; + borderStyle_buf_.selector = borderStyle_buf__selector; + if (borderStyle_buf__selector == 0) { + borderStyle_buf_.selector = 0; + borderStyle_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (textShadow_buf__selector == 1) { - textShadow_buf_.selector = 1; - const Ark_Int32 textShadow_buf__u_length = valueDeserializer.readInt32(); - Array_ShadowOptions textShadow_buf__u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&textShadow_buf__u, textShadow_buf__u_length); - for (int textShadow_buf__u_i = 0; textShadow_buf__u_i < textShadow_buf__u_length; textShadow_buf__u_i++) { - textShadow_buf__u.array[textShadow_buf__u_i] = valueDeserializer.readShadowOptions(); - } - textShadow_buf_.value1 = textShadow_buf__u; + else if (borderStyle_buf__selector == 1) { + borderStyle_buf_.selector = 1; + borderStyle_buf_.value1 = valueDeserializer.readEdgeStyles(); } else { - INTEROP_FATAL("One of the branches for textShadow_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for borderStyle_buf_ has to be chosen through deserialisation."); } - textShadow_buf.value = static_cast(textShadow_buf_); + borderStyle_buf.value = static_cast(borderStyle_buf_); } - value.textShadow = textShadow_buf; - const auto letterSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String letterSpacing_buf = {}; - letterSpacing_buf.tag = letterSpacing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (letterSpacing_buf_runtimeType)) + value.borderStyle = borderStyle_buf; + const auto shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_ShadowOptions_ShadowStyle shadow_buf = {}; + shadow_buf.tag = shadow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) { - const Ark_Int8 letterSpacing_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String letterSpacing_buf_ = {}; - letterSpacing_buf_.selector = letterSpacing_buf__selector; - if (letterSpacing_buf__selector == 0) { - letterSpacing_buf_.selector = 0; - letterSpacing_buf_.value0 = static_cast(valueDeserializer.readNumber()); + const Ark_Int8 shadow_buf__selector = valueDeserializer.readInt8(); + Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; + shadow_buf_.selector = shadow_buf__selector; + if (shadow_buf__selector == 0) { + shadow_buf_.selector = 0; + shadow_buf_.value0 = valueDeserializer.readShadowOptions(); } - else if (letterSpacing_buf__selector == 1) { - letterSpacing_buf_.selector = 1; - letterSpacing_buf_.value1 = static_cast(valueDeserializer.readString()); + else if (shadow_buf__selector == 1) { + shadow_buf_.selector = 1; + shadow_buf_.value1 = static_cast(valueDeserializer.readInt32()); } else { - INTEROP_FATAL("One of the branches for letterSpacing_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for shadow_buf_ has to be chosen through deserialisation."); } - letterSpacing_buf.value = static_cast(letterSpacing_buf_); + shadow_buf.value = static_cast(shadow_buf_); } - value.letterSpacing = letterSpacing_buf; - const auto lineHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String_Resource lineHeight_buf = {}; - lineHeight_buf.tag = lineHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lineHeight_buf_runtimeType)) + value.shadow = shadow_buf; + const auto onHeightDidChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Number_Void onHeightDidChange_buf = {}; + onHeightDidChange_buf.tag = onHeightDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onHeightDidChange_buf_runtimeType)) { - const Ark_Int8 lineHeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String_Resource lineHeight_buf_ = {}; - lineHeight_buf_.selector = lineHeight_buf__selector; - if (lineHeight_buf__selector == 0) { - lineHeight_buf_.selector = 0; - lineHeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); - } - else if (lineHeight_buf__selector == 1) { - lineHeight_buf_.selector = 1; - lineHeight_buf_.value1 = static_cast(valueDeserializer.readString()); - } - else if (lineHeight_buf__selector == 2) { - lineHeight_buf_.selector = 2; - lineHeight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for lineHeight_buf_ has to be chosen through deserialisation."); - } - lineHeight_buf.value = static_cast(lineHeight_buf_); + onHeightDidChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))}; } - value.lineHeight = lineHeight_buf; - const auto fontFeature_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String fontFeature_buf = {}; - fontFeature_buf.tag = fontFeature_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontFeature_buf_runtimeType)) + value.onHeightDidChange = onHeightDidChange_buf; + const auto mode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SheetMode mode_buf = {}; + mode_buf.tag = mode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mode_buf_runtimeType)) { - fontFeature_buf.value = static_cast(valueDeserializer.readString()); + mode_buf.value = static_cast(valueDeserializer.readInt32()); } - value.fontFeature = fontFeature_buf; - return value; - } - Ark_RichEditorUpdateTextSpanStyleOptions readRichEditorUpdateTextSpanStyleOptions() - { - Ark_RichEditorUpdateTextSpanStyleOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + value.mode = mode_buf; + const auto scrollSizeMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ScrollSizeMode scrollSizeMode_buf = {}; + scrollSizeMode_buf.tag = scrollSizeMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scrollSizeMode_buf_runtimeType)) { - start_buf.value = static_cast(valueDeserializer.readNumber()); + scrollSizeMode_buf.value = static_cast(valueDeserializer.readInt32()); } - value.start = start_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + value.scrollSizeMode = scrollSizeMode_buf; + const auto onDetentsDidChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Number_Void onDetentsDidChange_buf = {}; + onDetentsDidChange_buf.tag = onDetentsDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDetentsDidChange_buf_runtimeType)) { - end_buf.value = static_cast(valueDeserializer.readNumber()); + onDetentsDidChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))}; } - value.end = end_buf; - value.textStyle = valueDeserializer.readRichEditorTextStyle(); - return value; - } - Ark_RotationGestureEvent readRotationGestureEvent() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_ScrollSnapOptions readScrollSnapOptions() - { - Ark_ScrollSnapOptions value = {}; - Deserializer& valueDeserializer = *this; - value.snapAlign = static_cast(valueDeserializer.readInt32()); - const auto snapPagination_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Dimension_Array_Dimension snapPagination_buf = {}; - snapPagination_buf.tag = snapPagination_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (snapPagination_buf_runtimeType)) + value.onDetentsDidChange = onDetentsDidChange_buf; + const auto onWidthDidChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_Number_Void onWidthDidChange_buf = {}; + onWidthDidChange_buf.tag = onWidthDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWidthDidChange_buf_runtimeType)) { - const Ark_Int8 snapPagination_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Dimension_Array_Dimension snapPagination_buf_ = {}; - snapPagination_buf_.selector = snapPagination_buf__selector; - if (snapPagination_buf__selector == 0) { - snapPagination_buf_.selector = 0; - const Ark_Int8 snapPagination_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource snapPagination_buf__u = {}; - snapPagination_buf__u.selector = snapPagination_buf__u_selector; - if (snapPagination_buf__u_selector == 0) { - snapPagination_buf__u.selector = 0; - snapPagination_buf__u.value0 = static_cast(valueDeserializer.readString()); - } - else if (snapPagination_buf__u_selector == 1) { - snapPagination_buf__u.selector = 1; - snapPagination_buf__u.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (snapPagination_buf__u_selector == 2) { - snapPagination_buf__u.selector = 2; - snapPagination_buf__u.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for snapPagination_buf__u has to be chosen through deserialisation."); - } - snapPagination_buf_.value0 = static_cast(snapPagination_buf__u); - } - else if (snapPagination_buf__selector == 1) { - snapPagination_buf_.selector = 1; - const Ark_Int32 snapPagination_buf__u_length = valueDeserializer.readInt32(); - Array_Union_String_Number_Resource snapPagination_buf__u = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&snapPagination_buf__u, snapPagination_buf__u_length); - for (int snapPagination_buf__u_i = 0; snapPagination_buf__u_i < snapPagination_buf__u_length; snapPagination_buf__u_i++) { - const Ark_Int8 snapPagination_buf__u_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource snapPagination_buf__u_buf = {}; - snapPagination_buf__u_buf.selector = snapPagination_buf__u_buf_selector; - if (snapPagination_buf__u_buf_selector == 0) { - snapPagination_buf__u_buf.selector = 0; - snapPagination_buf__u_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (snapPagination_buf__u_buf_selector == 1) { - snapPagination_buf__u_buf.selector = 1; - snapPagination_buf__u_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (snapPagination_buf__u_buf_selector == 2) { - snapPagination_buf__u_buf.selector = 2; - snapPagination_buf__u_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for snapPagination_buf__u_buf has to be chosen through deserialisation."); - } - snapPagination_buf__u.array[snapPagination_buf__u_i] = static_cast(snapPagination_buf__u_buf); - } - snapPagination_buf_.value1 = snapPagination_buf__u; - } - else { - INTEROP_FATAL("One of the branches for snapPagination_buf_ has to be chosen through deserialisation."); - } - snapPagination_buf.value = static_cast(snapPagination_buf_); + onWidthDidChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))}; } - value.snapPagination = snapPagination_buf; - const auto enableSnapToStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enableSnapToStart_buf = {}; - enableSnapToStart_buf.tag = enableSnapToStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enableSnapToStart_buf_runtimeType)) + value.onWidthDidChange = onWidthDidChange_buf; + const auto onTypeDidChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_SheetType_Void onTypeDidChange_buf = {}; + onTypeDidChange_buf.tag = onTypeDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onTypeDidChange_buf_runtimeType)) { - enableSnapToStart_buf.value = valueDeserializer.readBoolean(); + onTypeDidChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SheetType_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SheetType_Void))))}; } - value.enableSnapToStart = enableSnapToStart_buf; - const auto enableSnapToEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enableSnapToEnd_buf = {}; - enableSnapToEnd_buf.tag = enableSnapToEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enableSnapToEnd_buf_runtimeType)) + value.onTypeDidChange = onTypeDidChange_buf; + const auto uiContext_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_UIContext uiContext_buf = {}; + uiContext_buf.tag = uiContext_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (uiContext_buf_runtimeType)) { - enableSnapToEnd_buf.value = valueDeserializer.readBoolean(); + uiContext_buf.value = static_cast(valueDeserializer.readUIContext()); } - value.enableSnapToEnd = enableSnapToEnd_buf; - return value; - } - Ark_SectionOptions readSectionOptions() - { - Ark_SectionOptions value = {}; - Deserializer& valueDeserializer = *this; - value.itemsCount = static_cast(valueDeserializer.readNumber()); - const auto crossCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number crossCount_buf = {}; - crossCount_buf.tag = crossCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (crossCount_buf_runtimeType)) + value.uiContext = uiContext_buf; + const auto keyboardAvoidMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SheetKeyboardAvoidMode keyboardAvoidMode_buf = {}; + keyboardAvoidMode_buf.tag = keyboardAvoidMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) { - crossCount_buf.value = static_cast(valueDeserializer.readNumber()); + keyboardAvoidMode_buf.value = static_cast(valueDeserializer.readInt32()); } - value.crossCount = crossCount_buf; - const auto onGetItemMainSizeByIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_GetItemMainSizeByIndex onGetItemMainSizeByIndex_buf = {}; - onGetItemMainSizeByIndex_buf.tag = onGetItemMainSizeByIndex_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onGetItemMainSizeByIndex_buf_runtimeType)) + value.keyboardAvoidMode = keyboardAvoidMode_buf; + const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableHoverMode_buf = {}; + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { - onGetItemMainSizeByIndex_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_GetItemMainSizeByIndex)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_GetItemMainSizeByIndex))))}; + enableHoverMode_buf.value = valueDeserializer.readBoolean(); } - value.onGetItemMainSizeByIndex = onGetItemMainSizeByIndex_buf; - const auto columnsGap_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource columnsGap_buf = {}; - columnsGap_buf.tag = columnsGap_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (columnsGap_buf_runtimeType)) + value.enableHoverMode = enableHoverMode_buf; + const auto hoverModeArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_HoverModeAreaType hoverModeArea_buf = {}; + hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) { - const Ark_Int8 columnsGap_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource columnsGap_buf_ = {}; - columnsGap_buf_.selector = columnsGap_buf__selector; - if (columnsGap_buf__selector == 0) { - columnsGap_buf_.selector = 0; - columnsGap_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (columnsGap_buf__selector == 1) { - columnsGap_buf_.selector = 1; - columnsGap_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (columnsGap_buf__selector == 2) { - columnsGap_buf_.selector = 2; - columnsGap_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for columnsGap_buf_ has to be chosen through deserialisation."); - } - columnsGap_buf.value = static_cast(columnsGap_buf_); + hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } - value.columnsGap = columnsGap_buf; - const auto rowsGap_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource rowsGap_buf = {}; - rowsGap_buf.tag = rowsGap_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (rowsGap_buf_runtimeType)) + value.hoverModeArea = hoverModeArea_buf; + const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Position offset_buf = {}; + offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - const Ark_Int8 rowsGap_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource rowsGap_buf_ = {}; - rowsGap_buf_.selector = rowsGap_buf__selector; - if (rowsGap_buf__selector == 0) { - rowsGap_buf_.selector = 0; - rowsGap_buf_.value0 = static_cast(valueDeserializer.readString()); + offset_buf.value = valueDeserializer.readPosition(); + } + value.offset = offset_buf; + const auto effectEdge_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number effectEdge_buf = {}; + effectEdge_buf.tag = effectEdge_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (effectEdge_buf_runtimeType)) + { + effectEdge_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.effectEdge = effectEdge_buf; + const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses radius_buf = {}; + radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + { + const Ark_Int8 radius_buf__selector = valueDeserializer.readInt8(); + Ark_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses radius_buf_ = {}; + radius_buf_.selector = radius_buf__selector; + if (radius_buf__selector == 0) { + radius_buf_.selector = 0; + radius_buf_.value0 = static_cast(valueDeserializer.readLengthMetrics()); } - else if (rowsGap_buf__selector == 1) { - rowsGap_buf_.selector = 1; - rowsGap_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (radius_buf__selector == 1) { + radius_buf_.selector = 1; + radius_buf_.value1 = valueDeserializer.readBorderRadiuses(); } - else if (rowsGap_buf__selector == 2) { - rowsGap_buf_.selector = 2; - rowsGap_buf_.value2 = valueDeserializer.readResource(); + else if (radius_buf__selector == 2) { + radius_buf_.selector = 2; + radius_buf_.value2 = valueDeserializer.readLocalizedBorderRadiuses(); } else { - INTEROP_FATAL("One of the branches for rowsGap_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); } - rowsGap_buf.value = static_cast(rowsGap_buf_); + radius_buf.value = static_cast(radius_buf_); } - value.rowsGap = rowsGap_buf; - const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Margin_Dimension margin_buf = {}; - margin_buf.tag = margin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) - { - const Ark_Int8 margin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Margin_Dimension margin_buf_ = {}; - margin_buf_.selector = margin_buf__selector; - if (margin_buf__selector == 0) { - margin_buf_.selector = 0; - Ark_Padding margin_buf__u = {}; - const auto margin_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf__u_top_buf = {}; - margin_buf__u_top_buf.tag = margin_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 margin_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u_top_buf_ = {}; - margin_buf__u_top_buf_.selector = margin_buf__u_top_buf__selector; - if (margin_buf__u_top_buf__selector == 0) { - margin_buf__u_top_buf_.selector = 0; - margin_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_top_buf__selector == 1) { - margin_buf__u_top_buf_.selector = 1; - margin_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_top_buf__selector == 2) { - margin_buf__u_top_buf_.selector = 2; - margin_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for margin_buf__u_top_buf_ has to be chosen through deserialisation."); - } - margin_buf__u_top_buf.value = static_cast(margin_buf__u_top_buf_); - } - margin_buf__u.top = margin_buf__u_top_buf; - const auto margin_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf__u_right_buf = {}; - margin_buf__u_right_buf.tag = margin_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 margin_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u_right_buf_ = {}; - margin_buf__u_right_buf_.selector = margin_buf__u_right_buf__selector; - if (margin_buf__u_right_buf__selector == 0) { - margin_buf__u_right_buf_.selector = 0; - margin_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_right_buf__selector == 1) { - margin_buf__u_right_buf_.selector = 1; - margin_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_right_buf__selector == 2) { - margin_buf__u_right_buf_.selector = 2; - margin_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for margin_buf__u_right_buf_ has to be chosen through deserialisation."); - } - margin_buf__u_right_buf.value = static_cast(margin_buf__u_right_buf_); - } - margin_buf__u.right = margin_buf__u_right_buf; - const auto margin_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf__u_bottom_buf = {}; - margin_buf__u_bottom_buf.tag = margin_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 margin_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u_bottom_buf_ = {}; - margin_buf__u_bottom_buf_.selector = margin_buf__u_bottom_buf__selector; - if (margin_buf__u_bottom_buf__selector == 0) { - margin_buf__u_bottom_buf_.selector = 0; - margin_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_bottom_buf__selector == 1) { - margin_buf__u_bottom_buf_.selector = 1; - margin_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_bottom_buf__selector == 2) { - margin_buf__u_bottom_buf_.selector = 2; - margin_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for margin_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - margin_buf__u_bottom_buf.value = static_cast(margin_buf__u_bottom_buf_); - } - margin_buf__u.bottom = margin_buf__u_bottom_buf; - const auto margin_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource margin_buf__u_left_buf = {}; - margin_buf__u_left_buf.tag = margin_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (margin_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 margin_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u_left_buf_ = {}; - margin_buf__u_left_buf_.selector = margin_buf__u_left_buf__selector; - if (margin_buf__u_left_buf__selector == 0) { - margin_buf__u_left_buf_.selector = 0; - margin_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_left_buf__selector == 1) { - margin_buf__u_left_buf_.selector = 1; - margin_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_left_buf__selector == 2) { - margin_buf__u_left_buf_.selector = 2; - margin_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for margin_buf__u_left_buf_ has to be chosen through deserialisation."); - } - margin_buf__u_left_buf.value = static_cast(margin_buf__u_left_buf_); - } - margin_buf__u.left = margin_buf__u_left_buf; - margin_buf_.value0 = margin_buf__u; - } - else if (margin_buf__selector == 1) { - margin_buf_.selector = 1; - const Ark_Int8 margin_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource margin_buf__u = {}; - margin_buf__u.selector = margin_buf__u_selector; - if (margin_buf__u_selector == 0) { - margin_buf__u.selector = 0; - margin_buf__u.value0 = static_cast(valueDeserializer.readString()); - } - else if (margin_buf__u_selector == 1) { - margin_buf__u.selector = 1; - margin_buf__u.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (margin_buf__u_selector == 2) { - margin_buf__u.selector = 2; - margin_buf__u.value2 = valueDeserializer.readResource(); + value.radius = radius_buf; + const auto detentSelection_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_SheetSize_Length detentSelection_buf = {}; + detentSelection_buf.tag = detentSelection_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (detentSelection_buf_runtimeType)) + { + const Ark_Int8 detentSelection_buf__selector = valueDeserializer.readInt8(); + Ark_Union_SheetSize_Length detentSelection_buf_ = {}; + detentSelection_buf_.selector = detentSelection_buf__selector; + if (detentSelection_buf__selector == 0) { + detentSelection_buf_.selector = 0; + detentSelection_buf_.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (detentSelection_buf__selector == 1) { + detentSelection_buf_.selector = 1; + const Ark_Int8 detentSelection_buf__u_selector = valueDeserializer.readInt8(); + Ark_Length detentSelection_buf__u = {}; + detentSelection_buf__u.selector = detentSelection_buf__u_selector; + if (detentSelection_buf__u_selector == 0) { + detentSelection_buf__u.selector = 0; + detentSelection_buf__u.value0 = static_cast(valueDeserializer.readString()); + } + else if (detentSelection_buf__u_selector == 1) { + detentSelection_buf__u.selector = 1; + detentSelection_buf__u.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (detentSelection_buf__u_selector == 2) { + detentSelection_buf__u.selector = 2; + detentSelection_buf__u.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for margin_buf__u has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for detentSelection_buf__u has to be chosen through deserialisation."); } - margin_buf_.value1 = static_cast(margin_buf__u); + detentSelection_buf_.value1 = static_cast(detentSelection_buf__u); } else { - INTEROP_FATAL("One of the branches for margin_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for detentSelection_buf_ has to be chosen through deserialisation."); } - margin_buf.value = static_cast(margin_buf_); + detentSelection_buf.value = static_cast(detentSelection_buf_); } - value.margin = margin_buf; + value.detentSelection = detentSelection_buf; + const auto showInSubWindow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean showInSubWindow_buf = {}; + showInSubWindow_buf.tag = showInSubWindow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (showInSubWindow_buf_runtimeType)) + { + showInSubWindow_buf.value = valueDeserializer.readBoolean(); + } + value.showInSubWindow = showInSubWindow_buf; + const auto placement_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Placement placement_buf = {}; + placement_buf.tag = placement_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (placement_buf_runtimeType)) + { + placement_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.placement = placement_buf; + const auto placementOnTarget_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean placementOnTarget_buf = {}; + placementOnTarget_buf.tag = placementOnTarget_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (placementOnTarget_buf_runtimeType)) + { + placementOnTarget_buf.value = valueDeserializer.readBoolean(); + } + value.placementOnTarget = placementOnTarget_buf; return value; } Ark_SwipeActionOptions readSwipeActionOptions() @@ -115628,200 +120069,6 @@ class Deserializer : public DeserializerBase { Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } - Ark_text_TextStyle readtext_TextStyle() - { - Ark_text_TextStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto decoration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Decoration decoration_buf = {}; - decoration_buf.tag = decoration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (decoration_buf_runtimeType)) - { - decoration_buf.value = valueDeserializer.readDecoration(); - } - value.decoration = decoration_buf; - const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_common2D_Color color_buf = {}; - color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) - { - color_buf.value = valueDeserializer.readcommon2D_Color(); - } - value.color = color_buf; - const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FontWeight fontWeight_buf = {}; - fontWeight_buf.tag = fontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) - { - fontWeight_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.fontWeight = fontWeight_buf; - const auto fontStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_FontStyle fontStyle_buf = {}; - fontStyle_buf.tag = fontStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontStyle_buf_runtimeType)) - { - fontStyle_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.fontStyle = fontStyle_buf; - const auto baseline_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextBaseline baseline_buf = {}; - baseline_buf.tag = baseline_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (baseline_buf_runtimeType)) - { - baseline_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.baseline = baseline_buf; - const auto fontFamilies_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_String fontFamilies_buf = {}; - fontFamilies_buf.tag = fontFamilies_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontFamilies_buf_runtimeType)) - { - const Ark_Int32 fontFamilies_buf__length = valueDeserializer.readInt32(); - Array_String fontFamilies_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&fontFamilies_buf_, fontFamilies_buf__length); - for (int fontFamilies_buf__i = 0; fontFamilies_buf__i < fontFamilies_buf__length; fontFamilies_buf__i++) { - fontFamilies_buf_.array[fontFamilies_buf__i] = static_cast(valueDeserializer.readString()); - } - fontFamilies_buf.value = fontFamilies_buf_; - } - value.fontFamilies = fontFamilies_buf; - const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number fontSize_buf = {}; - fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) - { - fontSize_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.fontSize = fontSize_buf; - const auto letterSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number letterSpacing_buf = {}; - letterSpacing_buf.tag = letterSpacing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (letterSpacing_buf_runtimeType)) - { - letterSpacing_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.letterSpacing = letterSpacing_buf; - const auto wordSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number wordSpacing_buf = {}; - wordSpacing_buf.tag = wordSpacing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (wordSpacing_buf_runtimeType)) - { - wordSpacing_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.wordSpacing = wordSpacing_buf; - const auto heightScale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number heightScale_buf = {}; - heightScale_buf.tag = heightScale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (heightScale_buf_runtimeType)) - { - heightScale_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.heightScale = heightScale_buf; - const auto halfLeading_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean halfLeading_buf = {}; - halfLeading_buf.tag = halfLeading_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (halfLeading_buf_runtimeType)) - { - halfLeading_buf.value = valueDeserializer.readBoolean(); - } - value.halfLeading = halfLeading_buf; - const auto heightOnly_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean heightOnly_buf = {}; - heightOnly_buf.tag = heightOnly_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (heightOnly_buf_runtimeType)) - { - heightOnly_buf.value = valueDeserializer.readBoolean(); - } - value.heightOnly = heightOnly_buf; - const auto ellipsis_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String ellipsis_buf = {}; - ellipsis_buf.tag = ellipsis_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (ellipsis_buf_runtimeType)) - { - ellipsis_buf.value = static_cast(valueDeserializer.readString()); - } - value.ellipsis = ellipsis_buf; - const auto ellipsisMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_EllipsisMode ellipsisMode_buf = {}; - ellipsisMode_buf.tag = ellipsisMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (ellipsisMode_buf_runtimeType)) - { - ellipsisMode_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.ellipsisMode = ellipsisMode_buf; - const auto locale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_String locale_buf = {}; - locale_buf.tag = locale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (locale_buf_runtimeType)) - { - locale_buf.value = static_cast(valueDeserializer.readString()); - } - value.locale = locale_buf; - const auto baselineShift_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number baselineShift_buf = {}; - baselineShift_buf.tag = baselineShift_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (baselineShift_buf_runtimeType)) - { - baselineShift_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.baselineShift = baselineShift_buf; - const auto fontFeatures_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_FontFeature fontFeatures_buf = {}; - fontFeatures_buf.tag = fontFeatures_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontFeatures_buf_runtimeType)) - { - const Ark_Int32 fontFeatures_buf__length = valueDeserializer.readInt32(); - Array_FontFeature fontFeatures_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&fontFeatures_buf_, fontFeatures_buf__length); - for (int fontFeatures_buf__i = 0; fontFeatures_buf__i < fontFeatures_buf__length; fontFeatures_buf__i++) { - fontFeatures_buf_.array[fontFeatures_buf__i] = valueDeserializer.readFontFeature(); - } - fontFeatures_buf.value = fontFeatures_buf_; - } - value.fontFeatures = fontFeatures_buf; - const auto textShadows_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_TextShadow textShadows_buf = {}; - textShadows_buf.tag = textShadows_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (textShadows_buf_runtimeType)) - { - const Ark_Int32 textShadows_buf__length = valueDeserializer.readInt32(); - Array_TextShadow textShadows_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&textShadows_buf_, textShadows_buf__length); - for (int textShadows_buf__i = 0; textShadows_buf__i < textShadows_buf__length; textShadows_buf__i++) { - textShadows_buf_.array[textShadows_buf__i] = valueDeserializer.readTextShadow(); - } - textShadows_buf.value = textShadows_buf_; - } - value.textShadows = textShadows_buf; - const auto backgroundRect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_RectStyle backgroundRect_buf = {}; - backgroundRect_buf.tag = backgroundRect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundRect_buf_runtimeType)) - { - backgroundRect_buf.value = valueDeserializer.readRectStyle(); - } - value.backgroundRect = backgroundRect_buf; - const auto fontVariations_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Array_FontVariation fontVariations_buf = {}; - fontVariations_buf.tag = fontVariations_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fontVariations_buf_runtimeType)) - { - const Ark_Int32 fontVariations_buf__length = valueDeserializer.readInt32(); - Array_FontVariation fontVariations_buf_ = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&fontVariations_buf_, fontVariations_buf__length); - for (int fontVariations_buf__i = 0; fontVariations_buf__i < fontVariations_buf__length; fontVariations_buf__i++) { - fontVariations_buf_.array[fontVariations_buf__i] = valueDeserializer.readFontVariation(); - } - fontVariations_buf.value = fontVariations_buf_; - } - value.fontVariations = fontVariations_buf; - return value; - } Ark_TextBackgroundStyle readTextBackgroundStyle() { Ark_TextBackgroundStyle value = {}; @@ -115867,7 +120114,7 @@ class Deserializer : public DeserializerBase { if (radius_buf__selector == 0) { radius_buf_.selector = 0; const Ark_Int8 radius_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u = {}; + Ark_Dimension radius_buf__u = {}; radius_buf__u.selector = radius_buf__u_selector; if (radius_buf__u_selector == 0) { radius_buf__u.selector = 0; @@ -115884,116 +120131,11 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for radius_buf__u has to be chosen through deserialisation."); } - radius_buf_.value0 = static_cast(radius_buf__u); + radius_buf_.value0 = static_cast(radius_buf__u); } else if (radius_buf__selector == 1) { radius_buf_.selector = 1; - Ark_BorderRadiuses radius_buf__u = {}; - const auto radius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf__u_topLeft_buf = {}; - radius_buf__u_topLeft_buf.tag = radius_buf__u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf__u_topLeft_buf_runtimeType)) - { - const Ark_Int8 radius_buf__u_topLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u_topLeft_buf_ = {}; - radius_buf__u_topLeft_buf_.selector = radius_buf__u_topLeft_buf__selector; - if (radius_buf__u_topLeft_buf__selector == 0) { - radius_buf__u_topLeft_buf_.selector = 0; - radius_buf__u_topLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (radius_buf__u_topLeft_buf__selector == 1) { - radius_buf__u_topLeft_buf_.selector = 1; - radius_buf__u_topLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_topLeft_buf__selector == 2) { - radius_buf__u_topLeft_buf_.selector = 2; - radius_buf__u_topLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_topLeft_buf_ has to be chosen through deserialisation."); - } - radius_buf__u_topLeft_buf.value = static_cast(radius_buf__u_topLeft_buf_); - } - radius_buf__u.topLeft = radius_buf__u_topLeft_buf; - const auto radius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf__u_topRight_buf = {}; - radius_buf__u_topRight_buf.tag = radius_buf__u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf__u_topRight_buf_runtimeType)) - { - const Ark_Int8 radius_buf__u_topRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u_topRight_buf_ = {}; - radius_buf__u_topRight_buf_.selector = radius_buf__u_topRight_buf__selector; - if (radius_buf__u_topRight_buf__selector == 0) { - radius_buf__u_topRight_buf_.selector = 0; - radius_buf__u_topRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (radius_buf__u_topRight_buf__selector == 1) { - radius_buf__u_topRight_buf_.selector = 1; - radius_buf__u_topRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_topRight_buf__selector == 2) { - radius_buf__u_topRight_buf_.selector = 2; - radius_buf__u_topRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_topRight_buf_ has to be chosen through deserialisation."); - } - radius_buf__u_topRight_buf.value = static_cast(radius_buf__u_topRight_buf_); - } - radius_buf__u.topRight = radius_buf__u_topRight_buf; - const auto radius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf__u_bottomLeft_buf = {}; - radius_buf__u_bottomLeft_buf.tag = radius_buf__u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf__u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 radius_buf__u_bottomLeft_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u_bottomLeft_buf_ = {}; - radius_buf__u_bottomLeft_buf_.selector = radius_buf__u_bottomLeft_buf__selector; - if (radius_buf__u_bottomLeft_buf__selector == 0) { - radius_buf__u_bottomLeft_buf_.selector = 0; - radius_buf__u_bottomLeft_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (radius_buf__u_bottomLeft_buf__selector == 1) { - radius_buf__u_bottomLeft_buf_.selector = 1; - radius_buf__u_bottomLeft_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_bottomLeft_buf__selector == 2) { - radius_buf__u_bottomLeft_buf_.selector = 2; - radius_buf__u_bottomLeft_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - radius_buf__u_bottomLeft_buf.value = static_cast(radius_buf__u_bottomLeft_buf_); - } - radius_buf__u.bottomLeft = radius_buf__u_bottomLeft_buf; - const auto radius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf__u_bottomRight_buf = {}; - radius_buf__u_bottomRight_buf.tag = radius_buf__u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf__u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 radius_buf__u_bottomRight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf__u_bottomRight_buf_ = {}; - radius_buf__u_bottomRight_buf_.selector = radius_buf__u_bottomRight_buf__selector; - if (radius_buf__u_bottomRight_buf__selector == 0) { - radius_buf__u_bottomRight_buf_.selector = 0; - radius_buf__u_bottomRight_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (radius_buf__u_bottomRight_buf__selector == 1) { - radius_buf__u_bottomRight_buf_.selector = 1; - radius_buf__u_bottomRight_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (radius_buf__u_bottomRight_buf__selector == 2) { - radius_buf__u_bottomRight_buf_.selector = 2; - radius_buf__u_bottomRight_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for radius_buf__u_bottomRight_buf_ has to be chosen through deserialisation."); - } - radius_buf__u_bottomRight_buf.value = static_cast(radius_buf__u_bottomRight_buf_); - } - radius_buf__u.bottomRight = radius_buf__u_bottomRight_buf; - radius_buf_.value1 = radius_buf__u; + radius_buf_.value1 = valueDeserializer.readBorderRadiuses(); } else { INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); @@ -116003,26 +120145,10 @@ class Deserializer : public DeserializerBase { value.radius = radius_buf; return value; } - Ark_TextDataDetectorConfig readTextDataDetectorConfig() + Ark_TextPickerTextStyle readTextPickerTextStyle() { - Ark_TextDataDetectorConfig value = {}; + Ark_TextPickerTextStyle value = {}; Deserializer& valueDeserializer = *this; - const Ark_Int32 types_buf_length = valueDeserializer.readInt32(); - Array_TextDataDetectorType types_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&types_buf, types_buf_length); - for (int types_buf_i = 0; types_buf_i < types_buf_length; types_buf_i++) { - types_buf.array[types_buf_i] = static_cast(valueDeserializer.readInt32()); - } - value.types = types_buf; - const auto onDetectResultUpdate_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_String_Void onDetectResultUpdate_buf = {}; - onDetectResultUpdate_buf.tag = onDetectResultUpdate_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onDetectResultUpdate_buf_runtimeType)) - { - onDetectResultUpdate_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))}; - } - value.onDetectResultUpdate = onDetectResultUpdate_buf; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; color_buf.tag = color_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -116053,14 +120179,74 @@ class Deserializer : public DeserializerBase { color_buf.value = static_cast(color_buf_); } value.color = color_buf; - const auto decoration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_DecorationStyleInterface decoration_buf = {}; - decoration_buf.tag = decoration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (decoration_buf_runtimeType)) + const auto font_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Font font_buf = {}; + font_buf.tag = font_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (font_buf_runtimeType)) { - decoration_buf.value = valueDeserializer.readDecorationStyleInterface(); + font_buf.value = valueDeserializer.readFont(); } - value.decoration = decoration_buf; + value.font = font_buf; + const auto minFontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String_Resource minFontSize_buf = {}; + minFontSize_buf.tag = minFontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (minFontSize_buf_runtimeType)) + { + const Ark_Int8 minFontSize_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_Resource minFontSize_buf_ = {}; + minFontSize_buf_.selector = minFontSize_buf__selector; + if (minFontSize_buf__selector == 0) { + minFontSize_buf_.selector = 0; + minFontSize_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (minFontSize_buf__selector == 1) { + minFontSize_buf_.selector = 1; + minFontSize_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else if (minFontSize_buf__selector == 2) { + minFontSize_buf_.selector = 2; + minFontSize_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for minFontSize_buf_ has to be chosen through deserialisation."); + } + minFontSize_buf.value = static_cast(minFontSize_buf_); + } + value.minFontSize = minFontSize_buf; + const auto maxFontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String_Resource maxFontSize_buf = {}; + maxFontSize_buf.tag = maxFontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maxFontSize_buf_runtimeType)) + { + const Ark_Int8 maxFontSize_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_Resource maxFontSize_buf_ = {}; + maxFontSize_buf_.selector = maxFontSize_buf__selector; + if (maxFontSize_buf__selector == 0) { + maxFontSize_buf_.selector = 0; + maxFontSize_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (maxFontSize_buf__selector == 1) { + maxFontSize_buf_.selector = 1; + maxFontSize_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else if (maxFontSize_buf__selector == 2) { + maxFontSize_buf_.selector = 2; + maxFontSize_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for maxFontSize_buf_ has to be chosen through deserialisation."); + } + maxFontSize_buf.value = static_cast(maxFontSize_buf_); + } + value.maxFontSize = maxFontSize_buf; + const auto overflow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextOverflow overflow_buf = {}; + overflow_buf.tag = overflow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (overflow_buf_runtimeType)) + { + overflow_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.overflow = overflow_buf; return value; } Ark_TouchEvent readTouchEvent() @@ -116069,12 +120255,40 @@ class Deserializer : public DeserializerBase { Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } + Ark_WithThemeOptions readWithThemeOptions() + { + Ark_WithThemeOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto theme_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_CustomTheme theme_buf = {}; + theme_buf.tag = theme_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (theme_buf_runtimeType)) + { + theme_buf.value = valueDeserializer.readCustomTheme(); + } + value.theme = theme_buf; + const auto colorMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ThemeColorMode colorMode_buf = {}; + colorMode_buf.tag = colorMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (colorMode_buf_runtimeType)) + { + colorMode_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.colorMode = colorMode_buf; + return value; + } Ark_AccessibilityHoverEvent readAccessibilityHoverEvent() { Deserializer& valueDeserializer = *this; Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } + Ark_AxisEvent readAxisEvent() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } Ark_BackgroundColorStyle readBackgroundColorStyle() { Deserializer& valueDeserializer = *this; @@ -116175,12 +120389,12 @@ class Deserializer : public DeserializerBase { _padding_buf_.selector = 0; Ark_Padding _padding_buf__u = {}; const auto _padding_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _padding_buf__u_top_buf = {}; + Opt_Length _padding_buf__u_top_buf = {}; _padding_buf__u_top_buf.tag = _padding_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (_padding_buf__u_top_buf_runtimeType)) { const Ark_Int8 _padding_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _padding_buf__u_top_buf_ = {}; + Ark_Length _padding_buf__u_top_buf_ = {}; _padding_buf__u_top_buf_.selector = _padding_buf__u_top_buf__selector; if (_padding_buf__u_top_buf__selector == 0) { _padding_buf__u_top_buf_.selector = 0; @@ -116197,16 +120411,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _padding_buf__u_top_buf_ has to be chosen through deserialisation."); } - _padding_buf__u_top_buf.value = static_cast(_padding_buf__u_top_buf_); + _padding_buf__u_top_buf.value = static_cast(_padding_buf__u_top_buf_); } _padding_buf__u.top = _padding_buf__u_top_buf; const auto _padding_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _padding_buf__u_right_buf = {}; + Opt_Length _padding_buf__u_right_buf = {}; _padding_buf__u_right_buf.tag = _padding_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (_padding_buf__u_right_buf_runtimeType)) { const Ark_Int8 _padding_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _padding_buf__u_right_buf_ = {}; + Ark_Length _padding_buf__u_right_buf_ = {}; _padding_buf__u_right_buf_.selector = _padding_buf__u_right_buf__selector; if (_padding_buf__u_right_buf__selector == 0) { _padding_buf__u_right_buf_.selector = 0; @@ -116223,16 +120437,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _padding_buf__u_right_buf_ has to be chosen through deserialisation."); } - _padding_buf__u_right_buf.value = static_cast(_padding_buf__u_right_buf_); + _padding_buf__u_right_buf.value = static_cast(_padding_buf__u_right_buf_); } _padding_buf__u.right = _padding_buf__u_right_buf; const auto _padding_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _padding_buf__u_bottom_buf = {}; + Opt_Length _padding_buf__u_bottom_buf = {}; _padding_buf__u_bottom_buf.tag = _padding_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (_padding_buf__u_bottom_buf_runtimeType)) { const Ark_Int8 _padding_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _padding_buf__u_bottom_buf_ = {}; + Ark_Length _padding_buf__u_bottom_buf_ = {}; _padding_buf__u_bottom_buf_.selector = _padding_buf__u_bottom_buf__selector; if (_padding_buf__u_bottom_buf__selector == 0) { _padding_buf__u_bottom_buf_.selector = 0; @@ -116249,16 +120463,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _padding_buf__u_bottom_buf_ has to be chosen through deserialisation."); } - _padding_buf__u_bottom_buf.value = static_cast(_padding_buf__u_bottom_buf_); + _padding_buf__u_bottom_buf.value = static_cast(_padding_buf__u_bottom_buf_); } _padding_buf__u.bottom = _padding_buf__u_bottom_buf; const auto _padding_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _padding_buf__u_left_buf = {}; + Opt_Length _padding_buf__u_left_buf = {}; _padding_buf__u_left_buf.tag = _padding_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (_padding_buf__u_left_buf_runtimeType)) { const Ark_Int8 _padding_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _padding_buf__u_left_buf_ = {}; + Ark_Length _padding_buf__u_left_buf_ = {}; _padding_buf__u_left_buf_.selector = _padding_buf__u_left_buf__selector; if (_padding_buf__u_left_buf__selector == 0) { _padding_buf__u_left_buf_.selector = 0; @@ -116275,7 +120489,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _padding_buf__u_left_buf_ has to be chosen through deserialisation."); } - _padding_buf__u_left_buf.value = static_cast(_padding_buf__u_left_buf_); + _padding_buf__u_left_buf.value = static_cast(_padding_buf__u_left_buf_); } _padding_buf__u.left = _padding_buf__u_left_buf; _padding_buf_.value0 = _padding_buf__u; @@ -116283,7 +120497,7 @@ class Deserializer : public DeserializerBase { else if (_padding_buf__selector == 1) { _padding_buf_.selector = 1; const Ark_Int8 _padding_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _padding_buf__u = {}; + Ark_Dimension _padding_buf__u = {}; _padding_buf__u.selector = _padding_buf__u_selector; if (_padding_buf__u_selector == 0) { _padding_buf__u.selector = 0; @@ -116300,7 +120514,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _padding_buf__u has to be chosen through deserialisation."); } - _padding_buf_.value1 = static_cast(_padding_buf__u); + _padding_buf_.value1 = static_cast(_padding_buf__u); } else if (_padding_buf__selector == 2) { _padding_buf_.selector = 2; @@ -116388,6 +120602,37 @@ class Deserializer : public DeserializerBase { selected_buf.value = valueDeserializer.readInt64(); } value.selected = selected_buf; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = valueDeserializer.readInt64(); + } + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = valueDeserializer.readInt64(); + } + value.end = end_buf; + const auto disabledDateRange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_DateRange disabledDateRange_buf = {}; + disabledDateRange_buf.tag = disabledDateRange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (disabledDateRange_buf_runtimeType)) + { + const Ark_Int32 disabledDateRange_buf__length = valueDeserializer.readInt32(); + Array_DateRange disabledDateRange_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&disabledDateRange_buf_, disabledDateRange_buf__length); + for (int disabledDateRange_buf__i = 0; disabledDateRange_buf__i < disabledDateRange_buf__length; disabledDateRange_buf__i++) { + disabledDateRange_buf_.array[disabledDateRange_buf__i] = valueDeserializer.readDateRange(); + } + disabledDateRange_buf.value = disabledDateRange_buf_; + } + value.disabledDateRange = disabledDateRange_buf; const auto onAccept_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Date_Void onAccept_buf = {}; onAccept_buf.tag = onAccept_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -116450,6 +120695,22 @@ class Deserializer : public DeserializerBase { backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; const auto acceptButtonStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerDialogButtonStyle acceptButtonStyle_buf = {}; acceptButtonStyle_buf.tag = acceptButtonStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -116536,6 +120797,14 @@ class Deserializer : public DeserializerBase { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } value.hoverModeArea = hoverModeArea_buf; + const auto markToday_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean markToday_buf = {}; + markToday_buf.tag = markToday_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (markToday_buf_runtimeType)) + { + markToday_buf.value = valueDeserializer.readBoolean(); + } + value.markToday = markToday_buf; return value; } Ark_ClickEvent readClickEvent() @@ -116572,6 +120841,14 @@ class Deserializer : public DeserializerBase { selected_buf.value = valueDeserializer.readInt64(); } value.selected = selected_buf; + const auto mode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DatePickerMode mode_buf = {}; + mode_buf.tag = mode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mode_buf_runtimeType)) + { + mode_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.mode = mode_buf; const auto lunar_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean lunar_buf = {}; lunar_buf.tag = lunar_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -116673,46 +120950,7 @@ class Deserializer : public DeserializerBase { offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - Ark_Offset offset_buf_ = {}; - const Ark_Int8 offset_buf__dx_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dx_buf = {}; - offset_buf__dx_buf.selector = offset_buf__dx_buf_selector; - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf.selector = 0; - offset_buf__dx_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf.selector = 1; - offset_buf__dx_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf.selector = 2; - offset_buf__dx_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation."); - } - offset_buf_.dx = static_cast(offset_buf__dx_buf); - const Ark_Int8 offset_buf__dy_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dy_buf = {}; - offset_buf__dy_buf.selector = offset_buf__dy_buf_selector; - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf.selector = 0; - offset_buf__dy_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf.selector = 1; - offset_buf__dy_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf.selector = 2; - offset_buf__dy_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation."); - } - offset_buf_.dy = static_cast(offset_buf__dy_buf); - offset_buf.value = offset_buf_; + offset_buf.value = valueDeserializer.readOffset(); } value.offset = offset_buf; const auto onAccept_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -116793,6 +121031,22 @@ class Deserializer : public DeserializerBase { backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; const auto onDidAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback onDidAppear_buf = {}; onDidAppear_buf.tag = onDidAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -116871,6 +121125,14 @@ class Deserializer : public DeserializerBase { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } value.hoverModeArea = hoverModeArea_buf; + const auto enableHapticFeedback_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableHapticFeedback_buf = {}; + enableHapticFeedback_buf.tag = enableHapticFeedback_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHapticFeedback_buf_runtimeType)) + { + enableHapticFeedback_buf.value = valueDeserializer.readBoolean(); + } + value.enableHapticFeedback = enableHapticFeedback_buf; return value; } Ark_GridRowOptions readGridRowOptions() @@ -116888,7 +121150,7 @@ class Deserializer : public DeserializerBase { if (gutter_buf__selector == 0) { gutter_buf_.selector = 0; const Ark_Int8 gutter_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource gutter_buf__u = {}; + Ark_Length gutter_buf__u = {}; gutter_buf__u.selector = gutter_buf__u_selector; if (gutter_buf__u_selector == 0) { gutter_buf__u.selector = 0; @@ -116905,7 +121167,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for gutter_buf__u has to be chosen through deserialisation."); } - gutter_buf_.value0 = static_cast(gutter_buf__u); + gutter_buf_.value0 = static_cast(gutter_buf__u); } else if (gutter_buf__selector == 1) { gutter_buf_.selector = 1; @@ -117000,6 +121262,28 @@ class Deserializer : public DeserializerBase { layoutStyle_buf.value = valueDeserializer.readImageAttachmentLayoutStyle(); } value.layoutStyle = layoutStyle_buf; + const auto colorFilter_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ColorFilterType colorFilter_buf = {}; + colorFilter_buf.tag = colorFilter_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (colorFilter_buf_runtimeType)) + { + const Ark_Int8 colorFilter_buf__selector = valueDeserializer.readInt8(); + Ark_ColorFilterType colorFilter_buf_ = {}; + colorFilter_buf_.selector = colorFilter_buf__selector; + if (colorFilter_buf__selector == 0) { + colorFilter_buf_.selector = 0; + colorFilter_buf_.value0 = static_cast(valueDeserializer.readColorFilter()); + } + else if (colorFilter_buf__selector == 1) { + colorFilter_buf_.selector = 1; + colorFilter_buf_.value1 = static_cast(valueDeserializer.readDrawingColorFilter()); + } + else { + INTEROP_FATAL("One of the branches for colorFilter_buf_ has to be chosen through deserialisation."); + } + colorFilter_buf.value = static_cast(colorFilter_buf_); + } + value.colorFilter = colorFilter_buf; return value; } Ark_NativeEmbedDataInfo readNativeEmbedDataInfo() @@ -117070,80 +121354,6 @@ class Deserializer : public DeserializerBase { value.result = result_buf; return value; } - Ark_ParagraphStyle readParagraphStyle() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return static_cast(ptr); - } - Ark_ParagraphStyleInterface readParagraphStyleInterface() - { - Ark_ParagraphStyleInterface value = {}; - Deserializer& valueDeserializer = *this; - const auto textAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextAlign textAlign_buf = {}; - textAlign_buf.tag = textAlign_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (textAlign_buf_runtimeType)) - { - textAlign_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.textAlign = textAlign_buf; - const auto textIndent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LengthMetrics textIndent_buf = {}; - textIndent_buf.tag = textIndent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (textIndent_buf_runtimeType)) - { - textIndent_buf.value = static_cast(valueDeserializer.readLengthMetrics()); - } - value.textIndent = textIndent_buf; - const auto maxLines_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number maxLines_buf = {}; - maxLines_buf.tag = maxLines_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (maxLines_buf_runtimeType)) - { - maxLines_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.maxLines = maxLines_buf; - const auto overflow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextOverflow overflow_buf = {}; - overflow_buf.tag = overflow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (overflow_buf_runtimeType)) - { - overflow_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.overflow = overflow_buf; - const auto wordBreak_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_WordBreak wordBreak_buf = {}; - wordBreak_buf.tag = wordBreak_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (wordBreak_buf_runtimeType)) - { - wordBreak_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.wordBreak = wordBreak_buf; - const auto leadingMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_LengthMetrics_LeadingMarginPlaceholder leadingMargin_buf = {}; - leadingMargin_buf.tag = leadingMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (leadingMargin_buf_runtimeType)) - { - const Ark_Int8 leadingMargin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_LengthMetrics_LeadingMarginPlaceholder leadingMargin_buf_ = {}; - leadingMargin_buf_.selector = leadingMargin_buf__selector; - if (leadingMargin_buf__selector == 0) { - leadingMargin_buf_.selector = 0; - leadingMargin_buf_.value0 = static_cast(valueDeserializer.readLengthMetrics()); - } - else if (leadingMargin_buf__selector == 1) { - leadingMargin_buf_.selector = 1; - leadingMargin_buf_.value1 = valueDeserializer.readLeadingMarginPlaceholder(); - } - else { - INTEROP_FATAL("One of the branches for leadingMargin_buf_ has to be chosen through deserialisation."); - } - leadingMargin_buf.value = static_cast(leadingMargin_buf_); - } - value.leadingMargin = leadingMargin_buf; - return value; - } Ark_PopupOptions readPopupOptions() { Ark_PopupOptions value = {}; @@ -117196,12 +121406,12 @@ class Deserializer : public DeserializerBase { } value.onStateChange = onStateChange_buf; const auto arrowOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource arrowOffset_buf = {}; + Opt_Length arrowOffset_buf = {}; arrowOffset_buf.tag = arrowOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (arrowOffset_buf_runtimeType)) { const Ark_Int8 arrowOffset_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource arrowOffset_buf_ = {}; + Ark_Length arrowOffset_buf_ = {}; arrowOffset_buf_.selector = arrowOffset_buf__selector; if (arrowOffset_buf__selector == 0) { arrowOffset_buf_.selector = 0; @@ -117218,7 +121428,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for arrowOffset_buf_ has to be chosen through deserialisation."); } - arrowOffset_buf.value = static_cast(arrowOffset_buf_); + arrowOffset_buf.value = static_cast(arrowOffset_buf_); } value.arrowOffset = arrowOffset_buf; const auto showInSubWindow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -117284,12 +121494,12 @@ class Deserializer : public DeserializerBase { } value.messageOptions = messageOptions_buf; const auto targetSpace_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource targetSpace_buf = {}; + Opt_Length targetSpace_buf = {}; targetSpace_buf.tag = targetSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (targetSpace_buf_runtimeType)) { const Ark_Int8 targetSpace_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource targetSpace_buf_ = {}; + Ark_Length targetSpace_buf_ = {}; targetSpace_buf_.selector = targetSpace_buf__selector; if (targetSpace_buf__selector == 0) { targetSpace_buf_.selector = 0; @@ -117306,7 +121516,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for targetSpace_buf_ has to be chosen through deserialisation."); } - targetSpace_buf.value = static_cast(targetSpace_buf_); + targetSpace_buf.value = static_cast(targetSpace_buf_); } value.targetSpace = targetSpace_buf; const auto enableArrow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -117364,12 +121574,12 @@ class Deserializer : public DeserializerBase { } value.autoCancel = autoCancel_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf = {}; + Opt_Dimension width_buf = {}; width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) { const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf_ = {}; + Ark_Dimension width_buf_ = {}; width_buf_.selector = width_buf__selector; if (width_buf__selector == 0) { width_buf_.selector = 0; @@ -117386,7 +121596,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + width_buf.value = static_cast(width_buf_); } value.width = width_buf; const auto arrowPointPosition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -117398,12 +121608,12 @@ class Deserializer : public DeserializerBase { } value.arrowPointPosition = arrowPointPosition_buf; const auto arrowWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource arrowWidth_buf = {}; + Opt_Dimension arrowWidth_buf = {}; arrowWidth_buf.tag = arrowWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (arrowWidth_buf_runtimeType)) { const Ark_Int8 arrowWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource arrowWidth_buf_ = {}; + Ark_Dimension arrowWidth_buf_ = {}; arrowWidth_buf_.selector = arrowWidth_buf__selector; if (arrowWidth_buf__selector == 0) { arrowWidth_buf_.selector = 0; @@ -117420,16 +121630,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for arrowWidth_buf_ has to be chosen through deserialisation."); } - arrowWidth_buf.value = static_cast(arrowWidth_buf_); + arrowWidth_buf.value = static_cast(arrowWidth_buf_); } value.arrowWidth = arrowWidth_buf; const auto arrowHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource arrowHeight_buf = {}; + Opt_Dimension arrowHeight_buf = {}; arrowHeight_buf.tag = arrowHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (arrowHeight_buf_runtimeType)) { const Ark_Int8 arrowHeight_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource arrowHeight_buf_ = {}; + Ark_Dimension arrowHeight_buf_ = {}; arrowHeight_buf_.selector = arrowHeight_buf__selector; if (arrowHeight_buf__selector == 0) { arrowHeight_buf_.selector = 0; @@ -117446,16 +121656,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for arrowHeight_buf_ has to be chosen through deserialisation."); } - arrowHeight_buf.value = static_cast(arrowHeight_buf_); + arrowHeight_buf.value = static_cast(arrowHeight_buf_); } value.arrowHeight = arrowHeight_buf; const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource radius_buf = {}; + Opt_Dimension radius_buf = {}; radius_buf.tag = radius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) { const Ark_Int8 radius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource radius_buf_ = {}; + Ark_Dimension radius_buf_ = {}; radius_buf_.selector = radius_buf__selector; if (radius_buf__selector == 0) { radius_buf_.selector = 0; @@ -117472,7 +121682,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for radius_buf_ has to be chosen through deserialisation."); } - radius_buf.value = static_cast(radius_buf_); + radius_buf.value = static_cast(radius_buf_); } value.radius = radius_buf; const auto shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -117551,1039 +121761,582 @@ class Deserializer : public DeserializerBase { followTransformOfTarget_buf.value = valueDeserializer.readBoolean(); } value.followTransformOfTarget = followTransformOfTarget_buf; - return value; - } - Ark_RichEditorImageSpanStyle readRichEditorImageSpanStyle() - { - Ark_RichEditorImageSpanStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Tuple_Dimension_Dimension size_buf = {}; - size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) - { - Ark_Tuple_Dimension_Dimension size_buf_ = {}; - const Ark_Int8 size_buf__value0_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource size_buf__value0_buf = {}; - size_buf__value0_buf.selector = size_buf__value0_buf_selector; - if (size_buf__value0_buf_selector == 0) { - size_buf__value0_buf.selector = 0; - size_buf__value0_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (size_buf__value0_buf_selector == 1) { - size_buf__value0_buf.selector = 1; - size_buf__value0_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (size_buf__value0_buf_selector == 2) { - size_buf__value0_buf.selector = 2; - size_buf__value0_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for size_buf__value0_buf has to be chosen through deserialisation."); - } - size_buf_.value0 = static_cast(size_buf__value0_buf); - const Ark_Int8 size_buf__value1_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource size_buf__value1_buf = {}; - size_buf__value1_buf.selector = size_buf__value1_buf_selector; - if (size_buf__value1_buf_selector == 0) { - size_buf__value1_buf.selector = 0; - size_buf__value1_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (size_buf__value1_buf_selector == 1) { - size_buf__value1_buf.selector = 1; - size_buf__value1_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (size_buf__value1_buf_selector == 2) { - size_buf__value1_buf.selector = 2; - size_buf__value1_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for size_buf__value1_buf has to be chosen through deserialisation."); - } - size_buf_.value1 = static_cast(size_buf__value1_buf); - size_buf.value = size_buf_; - } - value.size = size_buf; - const auto verticalAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ImageSpanAlignment verticalAlign_buf = {}; - verticalAlign_buf.tag = verticalAlign_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (verticalAlign_buf_runtimeType)) - { - verticalAlign_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.verticalAlign = verticalAlign_buf; - const auto objectFit_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ImageFit objectFit_buf = {}; - objectFit_buf.tag = objectFit_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (objectFit_buf_runtimeType)) - { - objectFit_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.objectFit = objectFit_buf; - const auto layoutStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_RichEditorLayoutStyle layoutStyle_buf = {}; - layoutStyle_buf.tag = layoutStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (layoutStyle_buf_runtimeType)) - { - layoutStyle_buf.value = valueDeserializer.readRichEditorLayoutStyle(); - } - value.layoutStyle = layoutStyle_buf; - return value; - } - Ark_RichEditorImageSpanStyleResult readRichEditorImageSpanStyleResult() - { - Ark_RichEditorImageSpanStyleResult value = {}; - Deserializer& valueDeserializer = *this; - Ark_Tuple_Number_Number size_buf = {}; - size_buf.value0 = static_cast(valueDeserializer.readNumber()); - size_buf.value1 = static_cast(valueDeserializer.readNumber()); - value.size = size_buf; - value.verticalAlign = static_cast(valueDeserializer.readInt32()); - value.objectFit = static_cast(valueDeserializer.readInt32()); - const auto layoutStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_RichEditorLayoutStyle layoutStyle_buf = {}; - layoutStyle_buf.tag = layoutStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (layoutStyle_buf_runtimeType)) - { - layoutStyle_buf.value = valueDeserializer.readRichEditorLayoutStyle(); - } - value.layoutStyle = layoutStyle_buf; - return value; - } - Ark_RichEditorParagraphStyle readRichEditorParagraphStyle() - { - Ark_RichEditorParagraphStyle value = {}; - Deserializer& valueDeserializer = *this; - const auto textAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_TextAlign textAlign_buf = {}; - textAlign_buf.tag = textAlign_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (textAlign_buf_runtimeType)) - { - textAlign_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.textAlign = textAlign_buf; - const auto leadingMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Dimension_LeadingMarginPlaceholder leadingMargin_buf = {}; - leadingMargin_buf.tag = leadingMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (leadingMargin_buf_runtimeType)) - { - const Ark_Int8 leadingMargin_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Dimension_LeadingMarginPlaceholder leadingMargin_buf_ = {}; - leadingMargin_buf_.selector = leadingMargin_buf__selector; - if (leadingMargin_buf__selector == 0) { - leadingMargin_buf_.selector = 0; - const Ark_Int8 leadingMargin_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource leadingMargin_buf__u = {}; - leadingMargin_buf__u.selector = leadingMargin_buf__u_selector; - if (leadingMargin_buf__u_selector == 0) { - leadingMargin_buf__u.selector = 0; - leadingMargin_buf__u.value0 = static_cast(valueDeserializer.readString()); - } - else if (leadingMargin_buf__u_selector == 1) { - leadingMargin_buf__u.selector = 1; - leadingMargin_buf__u.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (leadingMargin_buf__u_selector == 2) { - leadingMargin_buf__u.selector = 2; - leadingMargin_buf__u.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for leadingMargin_buf__u has to be chosen through deserialisation."); - } - leadingMargin_buf_.value0 = static_cast(leadingMargin_buf__u); - } - else if (leadingMargin_buf__selector == 1) { - leadingMargin_buf_.selector = 1; - leadingMargin_buf_.value1 = valueDeserializer.readLeadingMarginPlaceholder(); - } - else { - INTEROP_FATAL("One of the branches for leadingMargin_buf_ has to be chosen through deserialisation."); - } - leadingMargin_buf.value = static_cast(leadingMargin_buf_); - } - value.leadingMargin = leadingMargin_buf; - const auto wordBreak_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_WordBreak wordBreak_buf = {}; - wordBreak_buf.tag = wordBreak_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (wordBreak_buf_runtimeType)) - { - wordBreak_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.wordBreak = wordBreak_buf; - const auto lineBreakStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_LineBreakStrategy lineBreakStrategy_buf = {}; - lineBreakStrategy_buf.tag = lineBreakStrategy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (lineBreakStrategy_buf_runtimeType)) - { - lineBreakStrategy_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.lineBreakStrategy = lineBreakStrategy_buf; - return value; - } - Ark_RichEditorParagraphStyleOptions readRichEditorParagraphStyleOptions() - { - Ark_RichEditorParagraphStyleOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) - { - start_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.start = start_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) - { - end_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.end = end_buf; - value.style = valueDeserializer.readRichEditorParagraphStyle(); - return value; - } - Ark_RichEditorUpdateImageSpanStyleOptions readRichEditorUpdateImageSpanStyleOptions() - { - Ark_RichEditorUpdateImageSpanStyleOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) - { - start_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.start = start_buf; - const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number end_buf = {}; - end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + const auto keyboardAvoidMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_KeyboardAvoidMode keyboardAvoidMode_buf = {}; + keyboardAvoidMode_buf.tag = keyboardAvoidMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) { - end_buf.value = static_cast(valueDeserializer.readNumber()); + keyboardAvoidMode_buf.value = static_cast(valueDeserializer.readInt32()); } - value.end = end_buf; - value.imageStyle = valueDeserializer.readRichEditorImageSpanStyle(); - return value; - } - Ark_RunMetrics readRunMetrics() - { - Ark_RunMetrics value = {}; - Deserializer& valueDeserializer = *this; - value.textStyle = valueDeserializer.readtext_TextStyle(); - value.fontMetrics = valueDeserializer.readFontMetrics(); - return value; - } - Ark_SheetOptions readSheetOptions() - { - Ark_SheetOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) - { - const Ark_Int8 backgroundColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor backgroundColor_buf_ = {}; - backgroundColor_buf_.selector = backgroundColor_buf__selector; - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_.selector = 0; - backgroundColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_.selector = 1; - backgroundColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_.selector = 2; - backgroundColor_buf_.value2 = static_cast(valueDeserializer.readString()); + value.keyboardAvoidMode = keyboardAvoidMode_buf; + return value; + } + Ark_ResourceImageAttachmentOptions readResourceImageAttachmentOptions() + { + Ark_ResourceImageAttachmentOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto resourceValue_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr resourceValue_buf = {}; + resourceValue_buf.tag = resourceValue_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (resourceValue_buf_runtimeType)) + { + const Ark_Int8 resourceValue_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr resourceValue_buf_ = {}; + resourceValue_buf_.selector = resourceValue_buf__selector; + if (resourceValue_buf__selector == 0) { + resourceValue_buf_.selector = 0; + resourceValue_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_.selector = 3; - backgroundColor_buf_.value3 = valueDeserializer.readResource(); + else if (resourceValue_buf__selector == 1) { + resourceValue_buf_.selector = 1; + resourceValue_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for resourceValue_buf_ has to be chosen through deserialisation."); } - backgroundColor_buf.value = static_cast(backgroundColor_buf_); + resourceValue_buf.value = static_cast(resourceValue_buf_); } - value.backgroundColor = backgroundColor_buf; - const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onAppear_buf = {}; - onAppear_buf.tag = onAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) + value.resourceValue = resourceValue_buf; + const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SizeOptions size_buf = {}; + size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) { - onAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + size_buf.value = valueDeserializer.readSizeOptions(); } - value.onAppear = onAppear_buf; - const auto onDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onDisappear_buf = {}; - onDisappear_buf.tag = onDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) + value.size = size_buf; + const auto verticalAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImageSpanAlignment verticalAlign_buf = {}; + verticalAlign_buf.tag = verticalAlign_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (verticalAlign_buf_runtimeType)) { - onDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + verticalAlign_buf.value = static_cast(valueDeserializer.readInt32()); } - value.onDisappear = onDisappear_buf; - const auto onWillAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onWillAppear_buf = {}; - onWillAppear_buf.tag = onWillAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + value.verticalAlign = verticalAlign_buf; + const auto objectFit_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImageFit objectFit_buf = {}; + objectFit_buf.tag = objectFit_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (objectFit_buf_runtimeType)) { - onWillAppear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + objectFit_buf.value = static_cast(valueDeserializer.readInt32()); } - value.onWillAppear = onWillAppear_buf; - const auto onWillDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Void onWillDisappear_buf = {}; - onWillDisappear_buf.tag = onWillDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + value.objectFit = objectFit_buf; + const auto layoutStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImageAttachmentLayoutStyle layoutStyle_buf = {}; + layoutStyle_buf.tag = layoutStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (layoutStyle_buf_runtimeType)) { - onWillDisappear_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + layoutStyle_buf.value = valueDeserializer.readImageAttachmentLayoutStyle(); } - value.onWillDisappear = onWillDisappear_buf; - const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_SheetSize_Length height_buf = {}; - height_buf.tag = height_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + value.layoutStyle = layoutStyle_buf; + const auto colorFilter_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ColorFilterType colorFilter_buf = {}; + colorFilter_buf.tag = colorFilter_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (colorFilter_buf_runtimeType)) { - const Ark_Int8 height_buf__selector = valueDeserializer.readInt8(); - Ark_Union_SheetSize_Length height_buf_ = {}; - height_buf_.selector = height_buf__selector; - if (height_buf__selector == 0) { - height_buf_.selector = 0; - height_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 colorFilter_buf__selector = valueDeserializer.readInt8(); + Ark_ColorFilterType colorFilter_buf_ = {}; + colorFilter_buf_.selector = colorFilter_buf__selector; + if (colorFilter_buf__selector == 0) { + colorFilter_buf_.selector = 0; + colorFilter_buf_.value0 = static_cast(valueDeserializer.readColorFilter()); } - else if (height_buf__selector == 1) { - height_buf_.selector = 1; - const Ark_Int8 height_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_buf__u = {}; - height_buf__u.selector = height_buf__u_selector; - if (height_buf__u_selector == 0) { - height_buf__u.selector = 0; - height_buf__u.value0 = static_cast(valueDeserializer.readString()); - } - else if (height_buf__u_selector == 1) { - height_buf__u.selector = 1; - height_buf__u.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (height_buf__u_selector == 2) { - height_buf__u.selector = 2; - height_buf__u.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for height_buf__u has to be chosen through deserialisation."); - } - height_buf_.value1 = static_cast(height_buf__u); + else if (colorFilter_buf__selector == 1) { + colorFilter_buf_.selector = 1; + colorFilter_buf_.value1 = static_cast(valueDeserializer.readDrawingColorFilter()); } else { - INTEROP_FATAL("One of the branches for height_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for colorFilter_buf_ has to be chosen through deserialisation."); } - height_buf.value = static_cast(height_buf_); + colorFilter_buf.value = static_cast(colorFilter_buf_); } - value.height = height_buf; - const auto dragBar_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean dragBar_buf = {}; - dragBar_buf.tag = dragBar_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (dragBar_buf_runtimeType)) + value.colorFilter = colorFilter_buf; + const auto syncLoad_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean syncLoad_buf = {}; + syncLoad_buf.tag = syncLoad_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (syncLoad_buf_runtimeType)) { - dragBar_buf.value = valueDeserializer.readBoolean(); + syncLoad_buf.value = valueDeserializer.readBoolean(); } - value.dragBar = dragBar_buf; - const auto maskColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor maskColor_buf = {}; - maskColor_buf.tag = maskColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (maskColor_buf_runtimeType)) + value.syncLoad = syncLoad_buf; + return value; + } + Ark_RichEditorImageSpanStyle readRichEditorImageSpanStyle() + { + Ark_RichEditorImageSpanStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Tuple_Dimension_Dimension size_buf = {}; + size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) { - const Ark_Int8 maskColor_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor maskColor_buf_ = {}; - maskColor_buf_.selector = maskColor_buf__selector; - if (maskColor_buf__selector == 0) { - maskColor_buf_.selector = 0; - maskColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (maskColor_buf__selector == 1) { - maskColor_buf_.selector = 1; - maskColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + Ark_Tuple_Dimension_Dimension size_buf_ = {}; + const Ark_Int8 size_buf__value0_buf_selector = valueDeserializer.readInt8(); + Ark_Dimension size_buf__value0_buf = {}; + size_buf__value0_buf.selector = size_buf__value0_buf_selector; + if (size_buf__value0_buf_selector == 0) { + size_buf__value0_buf.selector = 0; + size_buf__value0_buf.value0 = static_cast(valueDeserializer.readString()); } - else if (maskColor_buf__selector == 2) { - maskColor_buf_.selector = 2; - maskColor_buf_.value2 = static_cast(valueDeserializer.readString()); + else if (size_buf__value0_buf_selector == 1) { + size_buf__value0_buf.selector = 1; + size_buf__value0_buf.value1 = static_cast(valueDeserializer.readNumber()); } - else if (maskColor_buf__selector == 3) { - maskColor_buf_.selector = 3; - maskColor_buf_.value3 = valueDeserializer.readResource(); + else if (size_buf__value0_buf_selector == 2) { + size_buf__value0_buf.selector = 2; + size_buf__value0_buf.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for maskColor_buf_ has to be chosen through deserialisation."); - } - maskColor_buf.value = static_cast(maskColor_buf_); - } - value.maskColor = maskColor_buf; - const auto detents_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Type_SheetOptions_detents detents_buf = {}; - detents_buf.tag = detents_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (detents_buf_runtimeType)) - { - Ark_Type_SheetOptions_detents detents_buf_ = {}; - const Ark_Int8 detents_buf__value0_buf_selector = valueDeserializer.readInt8(); - Ark_Union_SheetSize_Length detents_buf__value0_buf = {}; - detents_buf__value0_buf.selector = detents_buf__value0_buf_selector; - if (detents_buf__value0_buf_selector == 0) { - detents_buf__value0_buf.selector = 0; - detents_buf__value0_buf.value0 = static_cast(valueDeserializer.readInt32()); + INTEROP_FATAL("One of the branches for size_buf__value0_buf has to be chosen through deserialisation."); } - else if (detents_buf__value0_buf_selector == 1) { - detents_buf__value0_buf.selector = 1; - const Ark_Int8 detents_buf__value0_buf_u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource detents_buf__value0_buf_u = {}; - detents_buf__value0_buf_u.selector = detents_buf__value0_buf_u_selector; - if (detents_buf__value0_buf_u_selector == 0) { - detents_buf__value0_buf_u.selector = 0; - detents_buf__value0_buf_u.value0 = static_cast(valueDeserializer.readString()); - } - else if (detents_buf__value0_buf_u_selector == 1) { - detents_buf__value0_buf_u.selector = 1; - detents_buf__value0_buf_u.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (detents_buf__value0_buf_u_selector == 2) { - detents_buf__value0_buf_u.selector = 2; - detents_buf__value0_buf_u.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for detents_buf__value0_buf_u has to be chosen through deserialisation."); - } - detents_buf__value0_buf.value1 = static_cast(detents_buf__value0_buf_u); + size_buf_.value0 = static_cast(size_buf__value0_buf); + const Ark_Int8 size_buf__value1_buf_selector = valueDeserializer.readInt8(); + Ark_Dimension size_buf__value1_buf = {}; + size_buf__value1_buf.selector = size_buf__value1_buf_selector; + if (size_buf__value1_buf_selector == 0) { + size_buf__value1_buf.selector = 0; + size_buf__value1_buf.value0 = static_cast(valueDeserializer.readString()); } - else { - INTEROP_FATAL("One of the branches for detents_buf__value0_buf has to be chosen through deserialisation."); + else if (size_buf__value1_buf_selector == 1) { + size_buf__value1_buf.selector = 1; + size_buf__value1_buf.value1 = static_cast(valueDeserializer.readNumber()); } - detents_buf_.value0 = static_cast(detents_buf__value0_buf); - const auto detents_buf__value1_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_SheetSize_Length detents_buf__value1_buf = {}; - detents_buf__value1_buf.tag = detents_buf__value1_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (detents_buf__value1_buf_runtimeType)) - { - const Ark_Int8 detents_buf__value1_buf__selector = valueDeserializer.readInt8(); - Ark_Union_SheetSize_Length detents_buf__value1_buf_ = {}; - detents_buf__value1_buf_.selector = detents_buf__value1_buf__selector; - if (detents_buf__value1_buf__selector == 0) { - detents_buf__value1_buf_.selector = 0; - detents_buf__value1_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (detents_buf__value1_buf__selector == 1) { - detents_buf__value1_buf_.selector = 1; - const Ark_Int8 detents_buf__value1_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource detents_buf__value1_buf__u = {}; - detents_buf__value1_buf__u.selector = detents_buf__value1_buf__u_selector; - if (detents_buf__value1_buf__u_selector == 0) { - detents_buf__value1_buf__u.selector = 0; - detents_buf__value1_buf__u.value0 = static_cast(valueDeserializer.readString()); - } - else if (detents_buf__value1_buf__u_selector == 1) { - detents_buf__value1_buf__u.selector = 1; - detents_buf__value1_buf__u.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (detents_buf__value1_buf__u_selector == 2) { - detents_buf__value1_buf__u.selector = 2; - detents_buf__value1_buf__u.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for detents_buf__value1_buf__u has to be chosen through deserialisation."); - } - detents_buf__value1_buf_.value1 = static_cast(detents_buf__value1_buf__u); - } - else { - INTEROP_FATAL("One of the branches for detents_buf__value1_buf_ has to be chosen through deserialisation."); - } - detents_buf__value1_buf.value = static_cast(detents_buf__value1_buf_); + else if (size_buf__value1_buf_selector == 2) { + size_buf__value1_buf.selector = 2; + size_buf__value1_buf.value2 = valueDeserializer.readResource(); } - detents_buf_.value1 = detents_buf__value1_buf; - const auto detents_buf__value2_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_SheetSize_Length detents_buf__value2_buf = {}; - detents_buf__value2_buf.tag = detents_buf__value2_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (detents_buf__value2_buf_runtimeType)) - { - const Ark_Int8 detents_buf__value2_buf__selector = valueDeserializer.readInt8(); - Ark_Union_SheetSize_Length detents_buf__value2_buf_ = {}; - detents_buf__value2_buf_.selector = detents_buf__value2_buf__selector; - if (detents_buf__value2_buf__selector == 0) { - detents_buf__value2_buf_.selector = 0; - detents_buf__value2_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (detents_buf__value2_buf__selector == 1) { - detents_buf__value2_buf_.selector = 1; - const Ark_Int8 detents_buf__value2_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource detents_buf__value2_buf__u = {}; - detents_buf__value2_buf__u.selector = detents_buf__value2_buf__u_selector; - if (detents_buf__value2_buf__u_selector == 0) { - detents_buf__value2_buf__u.selector = 0; - detents_buf__value2_buf__u.value0 = static_cast(valueDeserializer.readString()); - } - else if (detents_buf__value2_buf__u_selector == 1) { - detents_buf__value2_buf__u.selector = 1; - detents_buf__value2_buf__u.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (detents_buf__value2_buf__u_selector == 2) { - detents_buf__value2_buf__u.selector = 2; - detents_buf__value2_buf__u.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for detents_buf__value2_buf__u has to be chosen through deserialisation."); - } - detents_buf__value2_buf_.value1 = static_cast(detents_buf__value2_buf__u); - } - else { - INTEROP_FATAL("One of the branches for detents_buf__value2_buf_ has to be chosen through deserialisation."); - } - detents_buf__value2_buf.value = static_cast(detents_buf__value2_buf_); + else { + INTEROP_FATAL("One of the branches for size_buf__value1_buf has to be chosen through deserialisation."); } - detents_buf_.value2 = detents_buf__value2_buf; - detents_buf.value = detents_buf_; + size_buf_.value1 = static_cast(size_buf__value1_buf); + size_buf.value = size_buf_; } - value.detents = detents_buf; - const auto blurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_BlurStyle blurStyle_buf = {}; - blurStyle_buf.tag = blurStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (blurStyle_buf_runtimeType)) + value.size = size_buf; + const auto verticalAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImageSpanAlignment verticalAlign_buf = {}; + verticalAlign_buf.tag = verticalAlign_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (verticalAlign_buf_runtimeType)) { - blurStyle_buf.value = static_cast(valueDeserializer.readInt32()); + verticalAlign_buf.value = static_cast(valueDeserializer.readInt32()); } - value.blurStyle = blurStyle_buf; - const auto showClose_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Boolean_Resource showClose_buf = {}; - showClose_buf.tag = showClose_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (showClose_buf_runtimeType)) + value.verticalAlign = verticalAlign_buf; + const auto objectFit_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ImageFit objectFit_buf = {}; + objectFit_buf.tag = objectFit_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (objectFit_buf_runtimeType)) { - const Ark_Int8 showClose_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Boolean_Resource showClose_buf_ = {}; - showClose_buf_.selector = showClose_buf__selector; - if (showClose_buf__selector == 0) { - showClose_buf_.selector = 0; - showClose_buf_.value0 = valueDeserializer.readBoolean(); - } - else if (showClose_buf__selector == 1) { - showClose_buf_.selector = 1; - showClose_buf_.value1 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for showClose_buf_ has to be chosen through deserialisation."); - } - showClose_buf.value = static_cast(showClose_buf_); + objectFit_buf.value = static_cast(valueDeserializer.readInt32()); } - value.showClose = showClose_buf; - const auto preferType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SheetType preferType_buf = {}; - preferType_buf.tag = preferType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (preferType_buf_runtimeType)) + value.objectFit = objectFit_buf; + const auto layoutStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_RichEditorLayoutStyle layoutStyle_buf = {}; + layoutStyle_buf.tag = layoutStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (layoutStyle_buf_runtimeType)) { - preferType_buf.value = static_cast(valueDeserializer.readInt32()); + layoutStyle_buf.value = valueDeserializer.readRichEditorLayoutStyle(); } - value.preferType = preferType_buf; - const auto title_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_SheetTitleOptions_CustomBuilder title_buf = {}; - title_buf.tag = title_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (title_buf_runtimeType)) + value.layoutStyle = layoutStyle_buf; + return value; + } + Ark_RichEditorImageSpanStyleResult readRichEditorImageSpanStyleResult() + { + Ark_RichEditorImageSpanStyleResult value = {}; + Deserializer& valueDeserializer = *this; + Ark_Tuple_Number_Number size_buf = {}; + size_buf.value0 = static_cast(valueDeserializer.readNumber()); + size_buf.value1 = static_cast(valueDeserializer.readNumber()); + value.size = size_buf; + value.verticalAlign = static_cast(valueDeserializer.readInt32()); + value.objectFit = static_cast(valueDeserializer.readInt32()); + const auto layoutStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_RichEditorLayoutStyle layoutStyle_buf = {}; + layoutStyle_buf.tag = layoutStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (layoutStyle_buf_runtimeType)) { - const Ark_Int8 title_buf__selector = valueDeserializer.readInt8(); - Ark_Union_SheetTitleOptions_CustomBuilder title_buf_ = {}; - title_buf_.selector = title_buf__selector; - if (title_buf__selector == 0) { - title_buf_.selector = 0; - title_buf_.value0 = valueDeserializer.readSheetTitleOptions(); + layoutStyle_buf.value = valueDeserializer.readRichEditorLayoutStyle(); + } + value.layoutStyle = layoutStyle_buf; + return value; + } + Ark_RichEditorParagraphResult readRichEditorParagraphResult() + { + Ark_RichEditorParagraphResult value = {}; + Deserializer& valueDeserializer = *this; + value.style = valueDeserializer.readRichEditorParagraphStyle(); + Ark_Tuple_Number_Number range_buf = {}; + range_buf.value0 = static_cast(valueDeserializer.readNumber()); + range_buf.value1 = static_cast(valueDeserializer.readNumber()); + value.range = range_buf; + return value; + } + Ark_RichEditorTextStyle readRichEditorTextStyle() + { + Ark_RichEditorTextStyle value = {}; + Deserializer& valueDeserializer = *this; + const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceColor fontColor_buf = {}; + fontColor_buf.tag = fontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + { + const Ark_Int8 fontColor_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontColor_buf_ = {}; + fontColor_buf_.selector = fontColor_buf__selector; + if (fontColor_buf__selector == 0) { + fontColor_buf_.selector = 0; + fontColor_buf_.value0 = static_cast(valueDeserializer.readInt32()); } - else if (title_buf__selector == 1) { - title_buf_.selector = 1; - title_buf_.value1 = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + else if (fontColor_buf__selector == 1) { + fontColor_buf_.selector = 1; + fontColor_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (fontColor_buf__selector == 2) { + fontColor_buf_.selector = 2; + fontColor_buf_.value2 = static_cast(valueDeserializer.readString()); + } + else if (fontColor_buf__selector == 3) { + fontColor_buf_.selector = 3; + fontColor_buf_.value3 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for title_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontColor_buf_ has to be chosen through deserialisation."); } - title_buf.value = static_cast(title_buf_); - } - value.title = title_buf; - const auto shouldDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_SheetDismiss_Void shouldDismiss_buf = {}; - shouldDismiss_buf.tag = shouldDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (shouldDismiss_buf_runtimeType)) - { - shouldDismiss_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SheetDismiss_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SheetDismiss_Void))))}; - } - value.shouldDismiss = shouldDismiss_buf; - const auto onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_DismissSheetAction_Void onWillDismiss_buf = {}; - onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) - { - onWillDismiss_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DismissSheetAction_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DismissSheetAction_Void))))}; - } - value.onWillDismiss = onWillDismiss_buf; - const auto onWillSpringBackWhenDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_SpringBackAction_Void onWillSpringBackWhenDismiss_buf = {}; - onWillSpringBackWhenDismiss_buf.tag = onWillSpringBackWhenDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onWillSpringBackWhenDismiss_buf_runtimeType)) - { - onWillSpringBackWhenDismiss_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SpringBackAction_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SpringBackAction_Void))))}; - } - value.onWillSpringBackWhenDismiss = onWillSpringBackWhenDismiss_buf; - const auto enableOutsideInteractive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean enableOutsideInteractive_buf = {}; - enableOutsideInteractive_buf.tag = enableOutsideInteractive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (enableOutsideInteractive_buf_runtimeType)) - { - enableOutsideInteractive_buf.value = valueDeserializer.readBoolean(); + fontColor_buf.value = static_cast(fontColor_buf_); } - value.enableOutsideInteractive = enableOutsideInteractive_buf; - const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource width_buf = {}; - width_buf.tag = width_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + value.fontColor = fontColor_buf; + const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_String_Number_Resource fontSize_buf = {}; + fontSize_buf.tag = fontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) { - const Ark_Int8 width_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_buf_ = {}; - width_buf_.selector = width_buf__selector; - if (width_buf__selector == 0) { - width_buf_.selector = 0; - width_buf_.value0 = static_cast(valueDeserializer.readString()); + const Ark_Int8 fontSize_buf__selector = valueDeserializer.readInt8(); + Ark_Union_String_Number_Resource fontSize_buf_ = {}; + fontSize_buf_.selector = fontSize_buf__selector; + if (fontSize_buf__selector == 0) { + fontSize_buf_.selector = 0; + fontSize_buf_.value0 = static_cast(valueDeserializer.readString()); } - else if (width_buf__selector == 1) { - width_buf_.selector = 1; - width_buf_.value1 = static_cast(valueDeserializer.readNumber()); + else if (fontSize_buf__selector == 1) { + fontSize_buf_.selector = 1; + fontSize_buf_.value1 = static_cast(valueDeserializer.readNumber()); } - else if (width_buf__selector == 2) { - width_buf_.selector = 2; - width_buf_.value2 = valueDeserializer.readResource(); + else if (fontSize_buf__selector == 2) { + fontSize_buf_.selector = 2; + fontSize_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for width_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontSize_buf_ has to be chosen through deserialisation."); } - width_buf.value = static_cast(width_buf_); + fontSize_buf.value = static_cast(fontSize_buf_); } - value.width = width_buf; - const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf = {}; - borderWidth_buf.tag = borderWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) + value.fontSize = fontSize_buf; + const auto fontStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_FontStyle fontStyle_buf = {}; + fontStyle_buf.tag = fontStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontStyle_buf_runtimeType)) { - const Ark_Int8 borderWidth_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf_ = {}; - borderWidth_buf_.selector = borderWidth_buf__selector; - if (borderWidth_buf__selector == 0) { - borderWidth_buf_.selector = 0; - const Ark_Int8 borderWidth_buf__u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u = {}; - borderWidth_buf__u.selector = borderWidth_buf__u_selector; - if (borderWidth_buf__u_selector == 0) { - borderWidth_buf__u.selector = 0; - borderWidth_buf__u.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_selector == 1) { - borderWidth_buf__u.selector = 1; - borderWidth_buf__u.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_selector == 2) { - borderWidth_buf__u.selector = 2; - borderWidth_buf__u.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u has to be chosen through deserialisation."); - } - borderWidth_buf_.value0 = static_cast(borderWidth_buf__u); + fontStyle_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.fontStyle = fontStyle_buf; + const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_FontWeight_String fontWeight_buf = {}; + fontWeight_buf.tag = fontWeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) + { + const Ark_Int8 fontWeight_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_FontWeight_String fontWeight_buf_ = {}; + fontWeight_buf_.selector = fontWeight_buf__selector; + if (fontWeight_buf__selector == 0) { + fontWeight_buf_.selector = 0; + fontWeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); + } + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_.selector = 1; + fontWeight_buf_.value1 = static_cast(valueDeserializer.readInt32()); } - else if (borderWidth_buf__selector == 1) { - borderWidth_buf_.selector = 1; - Ark_EdgeWidths borderWidth_buf__u = {}; - const auto borderWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_top_buf = {}; - borderWidth_buf__u_top_buf.tag = borderWidth_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_top_buf_ = {}; - borderWidth_buf__u_top_buf_.selector = borderWidth_buf__u_top_buf__selector; - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_.selector = 0; - borderWidth_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_.selector = 1; - borderWidth_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_.selector = 2; - borderWidth_buf__u_top_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_top_buf.value = static_cast(borderWidth_buf__u_top_buf_); - } - borderWidth_buf__u.top = borderWidth_buf__u_top_buf; - const auto borderWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_right_buf = {}; - borderWidth_buf__u_right_buf.tag = borderWidth_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_right_buf_ = {}; - borderWidth_buf__u_right_buf_.selector = borderWidth_buf__u_right_buf__selector; - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_.selector = 0; - borderWidth_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_.selector = 1; - borderWidth_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_.selector = 2; - borderWidth_buf__u_right_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_right_buf.value = static_cast(borderWidth_buf__u_right_buf_); - } - borderWidth_buf__u.right = borderWidth_buf__u_right_buf; - const auto borderWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_bottom_buf = {}; - borderWidth_buf__u_bottom_buf.tag = borderWidth_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_bottom_buf_ = {}; - borderWidth_buf__u_bottom_buf_.selector = borderWidth_buf__u_bottom_buf__selector; - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_.selector = 0; - borderWidth_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_.selector = 1; - borderWidth_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_.selector = 2; - borderWidth_buf__u_bottom_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_bottom_buf.value = static_cast(borderWidth_buf__u_bottom_buf_); - } - borderWidth_buf__u.bottom = borderWidth_buf__u_bottom_buf; - const auto borderWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource borderWidth_buf__u_left_buf = {}; - borderWidth_buf__u_left_buf.tag = borderWidth_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 borderWidth_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource borderWidth_buf__u_left_buf_ = {}; - borderWidth_buf__u_left_buf_.selector = borderWidth_buf__u_left_buf__selector; - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_.selector = 0; - borderWidth_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readString()); - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_.selector = 1; - borderWidth_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_.selector = 2; - borderWidth_buf__u_left_buf_.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation."); - } - borderWidth_buf__u_left_buf.value = static_cast(borderWidth_buf__u_left_buf_); - } - borderWidth_buf__u.left = borderWidth_buf__u_left_buf; - borderWidth_buf_.value1 = borderWidth_buf__u; + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_.selector = 2; + fontWeight_buf_.value2 = static_cast(valueDeserializer.readString()); } - else if (borderWidth_buf__selector == 2) { - borderWidth_buf_.selector = 2; - borderWidth_buf_.value2 = valueDeserializer.readLocalizedEdgeWidths(); + else { + INTEROP_FATAL("One of the branches for fontWeight_buf_ has to be chosen through deserialisation."); + } + fontWeight_buf.value = static_cast(fontWeight_buf_); + } + value.fontWeight = fontWeight_buf; + const auto fontFamily_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_ResourceStr fontFamily_buf = {}; + fontFamily_buf.tag = fontFamily_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontFamily_buf_runtimeType)) + { + const Ark_Int8 fontFamily_buf__selector = valueDeserializer.readInt8(); + Ark_ResourceStr fontFamily_buf_ = {}; + fontFamily_buf_.selector = fontFamily_buf__selector; + if (fontFamily_buf__selector == 0) { + fontFamily_buf_.selector = 0; + fontFamily_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (fontFamily_buf__selector == 1) { + fontFamily_buf_.selector = 1; + fontFamily_buf_.value1 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for borderWidth_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for fontFamily_buf_ has to be chosen through deserialisation."); } - borderWidth_buf.value = static_cast(borderWidth_buf_); + fontFamily_buf.value = static_cast(fontFamily_buf_); } - value.borderWidth = borderWidth_buf; - const auto borderColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor_buf = {}; - borderColor_buf.tag = borderColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf_runtimeType)) + value.fontFamily = fontFamily_buf; + const auto decoration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_DecorationStyleInterface decoration_buf = {}; + decoration_buf.tag = decoration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (decoration_buf_runtimeType)) { - const Ark_Int8 borderColor_buf__selector = valueDeserializer.readInt8(); - Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor_buf_ = {}; - borderColor_buf_.selector = borderColor_buf__selector; - if (borderColor_buf__selector == 0) { - borderColor_buf_.selector = 0; - const Ark_Int8 borderColor_buf__u_selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u = {}; - borderColor_buf__u.selector = borderColor_buf__u_selector; - if (borderColor_buf__u_selector == 0) { - borderColor_buf__u.selector = 0; - borderColor_buf__u.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_selector == 1) { - borderColor_buf__u.selector = 1; - borderColor_buf__u.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_selector == 2) { - borderColor_buf__u.selector = 2; - borderColor_buf__u.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_selector == 3) { - borderColor_buf__u.selector = 3; - borderColor_buf__u.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u has to be chosen through deserialisation."); - } - borderColor_buf_.value0 = static_cast(borderColor_buf__u); + decoration_buf.value = valueDeserializer.readDecorationStyleInterface(); + } + value.decoration = decoration_buf; + const auto textShadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_ShadowOptions_Array_ShadowOptions textShadow_buf = {}; + textShadow_buf.tag = textShadow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textShadow_buf_runtimeType)) + { + const Ark_Int8 textShadow_buf__selector = valueDeserializer.readInt8(); + Ark_Union_ShadowOptions_Array_ShadowOptions textShadow_buf_ = {}; + textShadow_buf_.selector = textShadow_buf__selector; + if (textShadow_buf__selector == 0) { + textShadow_buf_.selector = 0; + textShadow_buf_.value0 = valueDeserializer.readShadowOptions(); } - else if (borderColor_buf__selector == 1) { - borderColor_buf_.selector = 1; - Ark_EdgeColors borderColor_buf__u = {}; - const auto borderColor_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_top_buf = {}; - borderColor_buf__u_top_buf.tag = borderColor_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_top_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_top_buf_ = {}; - borderColor_buf__u_top_buf_.selector = borderColor_buf__u_top_buf__selector; - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_.selector = 0; - borderColor_buf__u_top_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_.selector = 1; - borderColor_buf__u_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_.selector = 2; - borderColor_buf__u_top_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_.selector = 3; - borderColor_buf__u_top_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_top_buf.value = static_cast(borderColor_buf__u_top_buf_); - } - borderColor_buf__u.top = borderColor_buf__u_top_buf; - const auto borderColor_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_right_buf = {}; - borderColor_buf__u_right_buf.tag = borderColor_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_right_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_right_buf_ = {}; - borderColor_buf__u_right_buf_.selector = borderColor_buf__u_right_buf__selector; - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_.selector = 0; - borderColor_buf__u_right_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_.selector = 1; - borderColor_buf__u_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_.selector = 2; - borderColor_buf__u_right_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_.selector = 3; - borderColor_buf__u_right_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_right_buf.value = static_cast(borderColor_buf__u_right_buf_); - } - borderColor_buf__u.right = borderColor_buf__u_right_buf; - const auto borderColor_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_bottom_buf = {}; - borderColor_buf__u_bottom_buf.tag = borderColor_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_bottom_buf_ = {}; - borderColor_buf__u_bottom_buf_.selector = borderColor_buf__u_bottom_buf__selector; - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_.selector = 0; - borderColor_buf__u_bottom_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_.selector = 1; - borderColor_buf__u_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_.selector = 2; - borderColor_buf__u_bottom_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_.selector = 3; - borderColor_buf__u_bottom_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_bottom_buf.value = static_cast(borderColor_buf__u_bottom_buf_); - } - borderColor_buf__u.bottom = borderColor_buf__u_bottom_buf; - const auto borderColor_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ResourceColor borderColor_buf__u_left_buf = {}; - borderColor_buf__u_left_buf.tag = borderColor_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const Ark_Int8 borderColor_buf__u_left_buf__selector = valueDeserializer.readInt8(); - Ark_ResourceColor borderColor_buf__u_left_buf_ = {}; - borderColor_buf__u_left_buf_.selector = borderColor_buf__u_left_buf__selector; - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_.selector = 0; - borderColor_buf__u_left_buf_.value0 = static_cast(valueDeserializer.readInt32()); - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_.selector = 1; - borderColor_buf__u_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_.selector = 2; - borderColor_buf__u_left_buf_.value2 = static_cast(valueDeserializer.readString()); - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_.selector = 3; - borderColor_buf__u_left_buf_.value3 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation."); - } - borderColor_buf__u_left_buf.value = static_cast(borderColor_buf__u_left_buf_); + else if (textShadow_buf__selector == 1) { + textShadow_buf_.selector = 1; + const Ark_Int32 textShadow_buf__u_length = valueDeserializer.readInt32(); + Array_ShadowOptions textShadow_buf__u = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&textShadow_buf__u, textShadow_buf__u_length); + for (int textShadow_buf__u_i = 0; textShadow_buf__u_i < textShadow_buf__u_length; textShadow_buf__u_i++) { + textShadow_buf__u.array[textShadow_buf__u_i] = valueDeserializer.readShadowOptions(); } - borderColor_buf__u.left = borderColor_buf__u_left_buf; - borderColor_buf_.value1 = borderColor_buf__u; - } - else if (borderColor_buf__selector == 2) { - borderColor_buf_.selector = 2; - borderColor_buf_.value2 = valueDeserializer.readLocalizedEdgeColors(); + textShadow_buf_.value1 = textShadow_buf__u; } else { - INTEROP_FATAL("One of the branches for borderColor_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for textShadow_buf_ has to be chosen through deserialisation."); } - borderColor_buf.value = static_cast(borderColor_buf_); + textShadow_buf.value = static_cast(textShadow_buf_); } - value.borderColor = borderColor_buf; - const auto borderStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_BorderStyle_EdgeStyles borderStyle_buf = {}; - borderStyle_buf.tag = borderStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf_runtimeType)) + value.textShadow = textShadow_buf; + const auto letterSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String letterSpacing_buf = {}; + letterSpacing_buf.tag = letterSpacing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (letterSpacing_buf_runtimeType)) { - const Ark_Int8 borderStyle_buf__selector = valueDeserializer.readInt8(); - Ark_Union_BorderStyle_EdgeStyles borderStyle_buf_ = {}; - borderStyle_buf_.selector = borderStyle_buf__selector; - if (borderStyle_buf__selector == 0) { - borderStyle_buf_.selector = 0; - borderStyle_buf_.value0 = static_cast(valueDeserializer.readInt32()); + const Ark_Int8 letterSpacing_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String letterSpacing_buf_ = {}; + letterSpacing_buf_.selector = letterSpacing_buf__selector; + if (letterSpacing_buf__selector == 0) { + letterSpacing_buf_.selector = 0; + letterSpacing_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (borderStyle_buf__selector == 1) { - borderStyle_buf_.selector = 1; - borderStyle_buf_.value1 = valueDeserializer.readEdgeStyles(); + else if (letterSpacing_buf__selector == 1) { + letterSpacing_buf_.selector = 1; + letterSpacing_buf_.value1 = static_cast(valueDeserializer.readString()); } else { - INTEROP_FATAL("One of the branches for borderStyle_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for letterSpacing_buf_ has to be chosen through deserialisation."); } - borderStyle_buf.value = static_cast(borderStyle_buf_); + letterSpacing_buf.value = static_cast(letterSpacing_buf_); } - value.borderStyle = borderStyle_buf; - const auto shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_ShadowOptions_ShadowStyle shadow_buf = {}; - shadow_buf.tag = shadow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + value.letterSpacing = letterSpacing_buf; + const auto lineHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Union_Number_String_Resource lineHeight_buf = {}; + lineHeight_buf.tag = lineHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lineHeight_buf_runtimeType)) { - const Ark_Int8 shadow_buf__selector = valueDeserializer.readInt8(); - Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; - shadow_buf_.selector = shadow_buf__selector; - if (shadow_buf__selector == 0) { - shadow_buf_.selector = 0; - shadow_buf_.value0 = valueDeserializer.readShadowOptions(); + const Ark_Int8 lineHeight_buf__selector = valueDeserializer.readInt8(); + Ark_Union_Number_String_Resource lineHeight_buf_ = {}; + lineHeight_buf_.selector = lineHeight_buf__selector; + if (lineHeight_buf__selector == 0) { + lineHeight_buf_.selector = 0; + lineHeight_buf_.value0 = static_cast(valueDeserializer.readNumber()); } - else if (shadow_buf__selector == 1) { - shadow_buf_.selector = 1; - shadow_buf_.value1 = static_cast(valueDeserializer.readInt32()); + else if (lineHeight_buf__selector == 1) { + lineHeight_buf_.selector = 1; + lineHeight_buf_.value1 = static_cast(valueDeserializer.readString()); + } + else if (lineHeight_buf__selector == 2) { + lineHeight_buf_.selector = 2; + lineHeight_buf_.value2 = valueDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for shadow_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for lineHeight_buf_ has to be chosen through deserialisation."); } - shadow_buf.value = static_cast(shadow_buf_); + lineHeight_buf.value = static_cast(lineHeight_buf_); } - value.shadow = shadow_buf; - const auto onHeightDidChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Number_Void onHeightDidChange_buf = {}; - onHeightDidChange_buf.tag = onHeightDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onHeightDidChange_buf_runtimeType)) + value.lineHeight = lineHeight_buf; + const auto halfLeading_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean halfLeading_buf = {}; + halfLeading_buf.tag = halfLeading_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (halfLeading_buf_runtimeType)) { - onHeightDidChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))}; + halfLeading_buf.value = valueDeserializer.readBoolean(); } - value.onHeightDidChange = onHeightDidChange_buf; - const auto mode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SheetMode mode_buf = {}; - mode_buf.tag = mode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (mode_buf_runtimeType)) + value.halfLeading = halfLeading_buf; + const auto fontFeature_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String fontFeature_buf = {}; + fontFeature_buf.tag = fontFeature_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontFeature_buf_runtimeType)) { - mode_buf.value = static_cast(valueDeserializer.readInt32()); + fontFeature_buf.value = static_cast(valueDeserializer.readString()); } - value.mode = mode_buf; - const auto scrollSizeMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ScrollSizeMode scrollSizeMode_buf = {}; - scrollSizeMode_buf.tag = scrollSizeMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scrollSizeMode_buf_runtimeType)) + value.fontFeature = fontFeature_buf; + const auto textBackgroundStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextBackgroundStyle textBackgroundStyle_buf = {}; + textBackgroundStyle_buf.tag = textBackgroundStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textBackgroundStyle_buf_runtimeType)) { - scrollSizeMode_buf.value = static_cast(valueDeserializer.readInt32()); + textBackgroundStyle_buf.value = valueDeserializer.readTextBackgroundStyle(); } - value.scrollSizeMode = scrollSizeMode_buf; - const auto onDetentsDidChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Number_Void onDetentsDidChange_buf = {}; - onDetentsDidChange_buf.tag = onDetentsDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onDetentsDidChange_buf_runtimeType)) + value.textBackgroundStyle = textBackgroundStyle_buf; + return value; + } + Ark_RichEditorTextStyleResult readRichEditorTextStyleResult() + { + Ark_RichEditorTextStyleResult value = {}; + Deserializer& valueDeserializer = *this; + const Ark_Int8 fontColor_buf_selector = valueDeserializer.readInt8(); + Ark_ResourceColor fontColor_buf = {}; + fontColor_buf.selector = fontColor_buf_selector; + if (fontColor_buf_selector == 0) { + fontColor_buf.selector = 0; + fontColor_buf.value0 = static_cast(valueDeserializer.readInt32()); + } + else if (fontColor_buf_selector == 1) { + fontColor_buf.selector = 1; + fontColor_buf.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (fontColor_buf_selector == 2) { + fontColor_buf.selector = 2; + fontColor_buf.value2 = static_cast(valueDeserializer.readString()); + } + else if (fontColor_buf_selector == 3) { + fontColor_buf.selector = 3; + fontColor_buf.value3 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for fontColor_buf has to be chosen through deserialisation."); + } + value.fontColor = static_cast(fontColor_buf); + value.fontSize = static_cast(valueDeserializer.readNumber()); + value.fontStyle = static_cast(valueDeserializer.readInt32()); + value.fontWeight = static_cast(valueDeserializer.readNumber()); + value.fontFamily = static_cast(valueDeserializer.readString()); + value.decoration = valueDeserializer.readDecorationStyleResult(); + const auto textShadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_ShadowOptions textShadow_buf = {}; + textShadow_buf.tag = textShadow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textShadow_buf_runtimeType)) { - onDetentsDidChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))}; + const Ark_Int32 textShadow_buf__length = valueDeserializer.readInt32(); + Array_ShadowOptions textShadow_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&textShadow_buf_, textShadow_buf__length); + for (int textShadow_buf__i = 0; textShadow_buf__i < textShadow_buf__length; textShadow_buf__i++) { + textShadow_buf_.array[textShadow_buf__i] = valueDeserializer.readShadowOptions(); + } + textShadow_buf.value = textShadow_buf_; } - value.onDetentsDidChange = onDetentsDidChange_buf; - const auto onWidthDidChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_Number_Void onWidthDidChange_buf = {}; - onWidthDidChange_buf.tag = onWidthDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onWidthDidChange_buf_runtimeType)) + value.textShadow = textShadow_buf; + const auto letterSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number letterSpacing_buf = {}; + letterSpacing_buf.tag = letterSpacing_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (letterSpacing_buf_runtimeType)) { - onWidthDidChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))}; + letterSpacing_buf.value = static_cast(valueDeserializer.readNumber()); } - value.onWidthDidChange = onWidthDidChange_buf; - const auto onTypeDidChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Callback_SheetType_Void onTypeDidChange_buf = {}; - onTypeDidChange_buf.tag = onTypeDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onTypeDidChange_buf_runtimeType)) + value.letterSpacing = letterSpacing_buf; + const auto lineHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number lineHeight_buf = {}; + lineHeight_buf.tag = lineHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lineHeight_buf_runtimeType)) { - onTypeDidChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SheetType_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SheetType_Void))))}; + lineHeight_buf.value = static_cast(valueDeserializer.readNumber()); } - value.onTypeDidChange = onTypeDidChange_buf; - const auto uiContext_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_UIContext uiContext_buf = {}; - uiContext_buf.tag = uiContext_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (uiContext_buf_runtimeType)) + value.lineHeight = lineHeight_buf; + const auto halfLeading_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean halfLeading_buf = {}; + halfLeading_buf.tag = halfLeading_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (halfLeading_buf_runtimeType)) { - uiContext_buf.value = static_cast(valueDeserializer.readUIContext()); + halfLeading_buf.value = valueDeserializer.readBoolean(); } - value.uiContext = uiContext_buf; - const auto keyboardAvoidMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SheetKeyboardAvoidMode keyboardAvoidMode_buf = {}; - keyboardAvoidMode_buf.tag = keyboardAvoidMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) + value.halfLeading = halfLeading_buf; + const auto fontFeature_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_String fontFeature_buf = {}; + fontFeature_buf.tag = fontFeature_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontFeature_buf_runtimeType)) { - keyboardAvoidMode_buf.value = static_cast(valueDeserializer.readInt32()); + fontFeature_buf.value = static_cast(valueDeserializer.readString()); } - value.keyboardAvoidMode = keyboardAvoidMode_buf; + value.fontFeature = fontFeature_buf; + const auto textBackgroundStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextBackgroundStyle textBackgroundStyle_buf = {}; + textBackgroundStyle_buf.tag = textBackgroundStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textBackgroundStyle_buf_runtimeType)) + { + textBackgroundStyle_buf.value = valueDeserializer.readTextBackgroundStyle(); + } + value.textBackgroundStyle = textBackgroundStyle_buf; + return value; + } + Ark_RichEditorUpdateImageSpanStyleOptions readRichEditorUpdateImageSpanStyleOptions() + { + Ark_RichEditorUpdateImageSpanStyleOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.end = end_buf; + value.imageStyle = valueDeserializer.readRichEditorImageSpanStyle(); + return value; + } + Ark_RichEditorUpdateTextSpanStyleOptions readRichEditorUpdateTextSpanStyleOptions() + { + Ark_RichEditorUpdateTextSpanStyleOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.end = end_buf; + value.textStyle = valueDeserializer.readRichEditorTextStyle(); + const auto urlStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_RichEditorUrlStyle urlStyle_buf = {}; + urlStyle_buf.tag = urlStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (urlStyle_buf_runtimeType)) + { + urlStyle_buf.value = valueDeserializer.readRichEditorUrlStyle(); + } + value.urlStyle = urlStyle_buf; return value; } Ark_StyleOptions readStyleOptions() @@ -118747,12 +122500,12 @@ class Deserializer : public DeserializerBase { _padding_buf__u.selector = 0; Ark_Padding _padding_buf__u_u = {}; const auto _padding_buf__u_u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _padding_buf__u_u_top_buf = {}; + Opt_Length _padding_buf__u_u_top_buf = {}; _padding_buf__u_u_top_buf.tag = _padding_buf__u_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (_padding_buf__u_u_top_buf_runtimeType)) { const Ark_Int8 _padding_buf__u_u_top_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _padding_buf__u_u_top_buf_ = {}; + Ark_Length _padding_buf__u_u_top_buf_ = {}; _padding_buf__u_u_top_buf_.selector = _padding_buf__u_u_top_buf__selector; if (_padding_buf__u_u_top_buf__selector == 0) { _padding_buf__u_u_top_buf_.selector = 0; @@ -118769,16 +122522,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _padding_buf__u_u_top_buf_ has to be chosen through deserialisation."); } - _padding_buf__u_u_top_buf.value = static_cast(_padding_buf__u_u_top_buf_); + _padding_buf__u_u_top_buf.value = static_cast(_padding_buf__u_u_top_buf_); } _padding_buf__u_u.top = _padding_buf__u_u_top_buf; const auto _padding_buf__u_u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _padding_buf__u_u_right_buf = {}; + Opt_Length _padding_buf__u_u_right_buf = {}; _padding_buf__u_u_right_buf.tag = _padding_buf__u_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (_padding_buf__u_u_right_buf_runtimeType)) { const Ark_Int8 _padding_buf__u_u_right_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _padding_buf__u_u_right_buf_ = {}; + Ark_Length _padding_buf__u_u_right_buf_ = {}; _padding_buf__u_u_right_buf_.selector = _padding_buf__u_u_right_buf__selector; if (_padding_buf__u_u_right_buf__selector == 0) { _padding_buf__u_u_right_buf_.selector = 0; @@ -118795,16 +122548,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _padding_buf__u_u_right_buf_ has to be chosen through deserialisation."); } - _padding_buf__u_u_right_buf.value = static_cast(_padding_buf__u_u_right_buf_); + _padding_buf__u_u_right_buf.value = static_cast(_padding_buf__u_u_right_buf_); } _padding_buf__u_u.right = _padding_buf__u_u_right_buf; const auto _padding_buf__u_u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _padding_buf__u_u_bottom_buf = {}; + Opt_Length _padding_buf__u_u_bottom_buf = {}; _padding_buf__u_u_bottom_buf.tag = _padding_buf__u_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (_padding_buf__u_u_bottom_buf_runtimeType)) { const Ark_Int8 _padding_buf__u_u_bottom_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _padding_buf__u_u_bottom_buf_ = {}; + Ark_Length _padding_buf__u_u_bottom_buf_ = {}; _padding_buf__u_u_bottom_buf_.selector = _padding_buf__u_u_bottom_buf__selector; if (_padding_buf__u_u_bottom_buf__selector == 0) { _padding_buf__u_u_bottom_buf_.selector = 0; @@ -118821,16 +122574,16 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _padding_buf__u_u_bottom_buf_ has to be chosen through deserialisation."); } - _padding_buf__u_u_bottom_buf.value = static_cast(_padding_buf__u_u_bottom_buf_); + _padding_buf__u_u_bottom_buf.value = static_cast(_padding_buf__u_u_bottom_buf_); } _padding_buf__u_u.bottom = _padding_buf__u_u_bottom_buf; const auto _padding_buf__u_u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_String_Number_Resource _padding_buf__u_u_left_buf = {}; + Opt_Length _padding_buf__u_u_left_buf = {}; _padding_buf__u_u_left_buf.tag = _padding_buf__u_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (_padding_buf__u_u_left_buf_runtimeType)) { const Ark_Int8 _padding_buf__u_u_left_buf__selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _padding_buf__u_u_left_buf_ = {}; + Ark_Length _padding_buf__u_u_left_buf_ = {}; _padding_buf__u_u_left_buf_.selector = _padding_buf__u_u_left_buf__selector; if (_padding_buf__u_u_left_buf__selector == 0) { _padding_buf__u_u_left_buf_.selector = 0; @@ -118847,7 +122600,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _padding_buf__u_u_left_buf_ has to be chosen through deserialisation."); } - _padding_buf__u_u_left_buf.value = static_cast(_padding_buf__u_u_left_buf_); + _padding_buf__u_u_left_buf.value = static_cast(_padding_buf__u_u_left_buf_); } _padding_buf__u_u.left = _padding_buf__u_u_left_buf; _padding_buf__u.value0 = _padding_buf__u_u; @@ -118855,7 +122608,7 @@ class Deserializer : public DeserializerBase { else if (_padding_buf__u_selector == 1) { _padding_buf__u.selector = 1; const Ark_Int8 _padding_buf__u_u_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource _padding_buf__u_u = {}; + Ark_Dimension _padding_buf__u_u = {}; _padding_buf__u_u.selector = _padding_buf__u_u_selector; if (_padding_buf__u_u_selector == 0) { _padding_buf__u_u.selector = 0; @@ -118872,7 +122625,7 @@ class Deserializer : public DeserializerBase { else { INTEROP_FATAL("One of the branches for _padding_buf__u_u has to be chosen through deserialisation."); } - _padding_buf__u.value1 = static_cast(_padding_buf__u_u); + _padding_buf__u.value1 = static_cast(_padding_buf__u_u); } else { INTEROP_FATAL("One of the branches for _padding_buf__u has to be chosen through deserialisation."); @@ -119023,6 +122776,21 @@ class Deserializer : public DeserializerBase { selected_buf.value = static_cast(selected_buf_); } value.selected = selected_buf; + const auto columnWidths_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Array_LengthMetrics columnWidths_buf = {}; + columnWidths_buf.tag = columnWidths_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (columnWidths_buf_runtimeType)) + { + const Ark_Int32 columnWidths_buf__length = valueDeserializer.readInt32(); + Array_LengthMetrics columnWidths_buf_ = {}; + valueDeserializer.resizeArray::type, + std::decay::type>(&columnWidths_buf_, columnWidths_buf__length); + for (int columnWidths_buf__i = 0; columnWidths_buf__i < columnWidths_buf__length; columnWidths_buf__i++) { + columnWidths_buf_.array[columnWidths_buf__i] = static_cast(valueDeserializer.readLengthMetrics()); + } + columnWidths_buf.value = columnWidths_buf_; + } + value.columnWidths = columnWidths_buf; const auto defaultPickerItemHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_String defaultPickerItemHeight_buf = {}; defaultPickerItemHeight_buf.tag = defaultPickerItemHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -119093,6 +122861,22 @@ class Deserializer : public DeserializerBase { selectedTextStyle_buf.value = valueDeserializer.readPickerTextStyle(); } value.selectedTextStyle = selectedTextStyle_buf; + const auto disableTextStyleAnimation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean disableTextStyleAnimation_buf = {}; + disableTextStyleAnimation_buf.tag = disableTextStyleAnimation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (disableTextStyleAnimation_buf_runtimeType)) + { + disableTextStyleAnimation_buf.value = valueDeserializer.readBoolean(); + } + value.disableTextStyleAnimation = disableTextStyleAnimation_buf; + const auto defaultTextStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_TextPickerTextStyle defaultTextStyle_buf = {}; + defaultTextStyle_buf.tag = defaultTextStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (defaultTextStyle_buf_runtimeType)) + { + defaultTextStyle_buf.value = valueDeserializer.readTextPickerTextStyle(); + } + value.defaultTextStyle = defaultTextStyle_buf; const auto onAccept_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_TextPickerResult_Void onAccept_buf = {}; onAccept_buf.tag = onAccept_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -119117,6 +122901,22 @@ class Deserializer : public DeserializerBase { onChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TextPickerResult_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TextPickerResult_Void))))}; } value.onChange = onChange_buf; + const auto onScrollStop_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_TextPickerResult_Void onScrollStop_buf = {}; + onScrollStop_buf.tag = onScrollStop_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onScrollStop_buf_runtimeType)) + { + onScrollStop_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TextPickerResult_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TextPickerResult_Void))))}; + } + value.onScrollStop = onScrollStop_buf; + const auto onEnterSelectedArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_TextPickerResult_Void onEnterSelectedArea_buf = {}; + onEnterSelectedArea_buf.tag = onEnterSelectedArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onEnterSelectedArea_buf_runtimeType)) + { + onEnterSelectedArea_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TextPickerResult_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TextPickerResult_Void))))}; + } + value.onEnterSelectedArea = onEnterSelectedArea_buf; const auto maskRect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Rectangle maskRect_buf = {}; maskRect_buf.tag = maskRect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -119138,46 +122938,7 @@ class Deserializer : public DeserializerBase { offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - Ark_Offset offset_buf_ = {}; - const Ark_Int8 offset_buf__dx_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dx_buf = {}; - offset_buf__dx_buf.selector = offset_buf__dx_buf_selector; - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf.selector = 0; - offset_buf__dx_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf.selector = 1; - offset_buf__dx_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf.selector = 2; - offset_buf__dx_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation."); - } - offset_buf_.dx = static_cast(offset_buf__dx_buf); - const Ark_Int8 offset_buf__dy_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dy_buf = {}; - offset_buf__dy_buf.selector = offset_buf__dy_buf_selector; - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf.selector = 0; - offset_buf__dy_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf.selector = 1; - offset_buf__dy_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf.selector = 2; - offset_buf__dy_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation."); - } - offset_buf_.dy = static_cast(offset_buf__dy_buf); - offset_buf.value = offset_buf_; + offset_buf.value = valueDeserializer.readOffset(); } value.offset = offset_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -119218,6 +122979,22 @@ class Deserializer : public DeserializerBase { backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; const auto onDidAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onDidAppear_buf = {}; onDidAppear_buf.tag = onDidAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -119288,6 +123065,14 @@ class Deserializer : public DeserializerBase { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } value.hoverModeArea = hoverModeArea_buf; + const auto enableHapticFeedback_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableHapticFeedback_buf = {}; + enableHapticFeedback_buf.tag = enableHapticFeedback_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHapticFeedback_buf_runtimeType)) + { + enableHapticFeedback_buf.value = valueDeserializer.readBoolean(); + } + value.enableHapticFeedback = enableHapticFeedback_buf; return value; } Ark_TimePickerDialogOptions readTimePickerDialogOptions() @@ -119310,6 +123095,22 @@ class Deserializer : public DeserializerBase { format_buf.value = static_cast(valueDeserializer.readInt32()); } value.format = format_buf; + const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date start_buf = {}; + start_buf.tag = start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + { + start_buf.value = valueDeserializer.readInt64(); + } + value.start = start_buf; + const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Date end_buf = {}; + end_buf.tag = end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + { + end_buf.value = valueDeserializer.readInt64(); + } + value.end = end_buf; const auto useMilitaryTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean useMilitaryTime_buf = {}; useMilitaryTime_buf.tag = useMilitaryTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -119379,46 +123180,7 @@ class Deserializer : public DeserializerBase { offset_buf.tag = offset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) { - Ark_Offset offset_buf_ = {}; - const Ark_Int8 offset_buf__dx_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dx_buf = {}; - offset_buf__dx_buf.selector = offset_buf__dx_buf_selector; - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf.selector = 0; - offset_buf__dx_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf.selector = 1; - offset_buf__dx_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf.selector = 2; - offset_buf__dx_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation."); - } - offset_buf_.dx = static_cast(offset_buf__dx_buf); - const Ark_Int8 offset_buf__dy_buf_selector = valueDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_buf__dy_buf = {}; - offset_buf__dy_buf.selector = offset_buf__dy_buf_selector; - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf.selector = 0; - offset_buf__dy_buf.value0 = static_cast(valueDeserializer.readString()); - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf.selector = 1; - offset_buf__dy_buf.value1 = static_cast(valueDeserializer.readNumber()); - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf.selector = 2; - offset_buf__dy_buf.value2 = valueDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation."); - } - offset_buf_.dy = static_cast(offset_buf__dy_buf); - offset_buf.value = offset_buf_; + offset_buf.value = valueDeserializer.readOffset(); } value.offset = offset_buf; const auto onAccept_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -119445,6 +123207,14 @@ class Deserializer : public DeserializerBase { onChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TimePickerResult_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TimePickerResult_Void))))}; } value.onChange = onChange_buf; + const auto onEnterSelectedArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Callback_TimePickerResult_Void onEnterSelectedArea_buf = {}; + onEnterSelectedArea_buf.tag = onEnterSelectedArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onEnterSelectedArea_buf_runtimeType)) + { + onEnterSelectedArea_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TimePickerResult_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TimePickerResult_Void))))}; + } + value.onEnterSelectedArea = onEnterSelectedArea_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; backgroundColor_buf.tag = backgroundColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -119483,6 +123253,30 @@ class Deserializer : public DeserializerBase { backgroundBlurStyle_buf.value = static_cast(valueDeserializer.readInt32()); } value.backgroundBlurStyle = backgroundBlurStyle_buf; + const auto backgroundBlurStyleOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions_buf = {}; + backgroundBlurStyleOptions_buf.tag = backgroundBlurStyleOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf.value = valueDeserializer.readBackgroundBlurStyleOptions(); + } + value.backgroundBlurStyleOptions = backgroundBlurStyleOptions_buf; + const auto backgroundEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_BackgroundEffectOptions backgroundEffect_buf = {}; + backgroundEffect_buf.tag = backgroundEffect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf.value = valueDeserializer.readBackgroundEffectOptions(); + } + value.backgroundEffect = backgroundEffect_buf; + const auto enableCascade_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableCascade_buf = {}; + enableCascade_buf.tag = enableCascade_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableCascade_buf_runtimeType)) + { + enableCascade_buf.value = valueDeserializer.readBoolean(); + } + value.enableCascade = enableCascade_buf; const auto onDidAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onDidAppear_buf = {}; onDidAppear_buf.tag = onDidAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -119561,28 +123355,14 @@ class Deserializer : public DeserializerBase { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } value.hoverModeArea = hoverModeArea_buf; - return value; - } - Ark_WithThemeOptions readWithThemeOptions() - { - Ark_WithThemeOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto theme_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_CustomTheme theme_buf = {}; - theme_buf.tag = theme_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (theme_buf_runtimeType)) - { - theme_buf.value = valueDeserializer.readCustomTheme(); - } - value.theme = theme_buf; - const auto colorMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_ThemeColorMode colorMode_buf = {}; - colorMode_buf.tag = colorMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (colorMode_buf_runtimeType)) + const auto enableHapticFeedback_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean enableHapticFeedback_buf = {}; + enableHapticFeedback_buf.tag = enableHapticFeedback_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHapticFeedback_buf_runtimeType)) { - colorMode_buf.value = static_cast(valueDeserializer.readInt32()); + enableHapticFeedback_buf.value = valueDeserializer.readBoolean(); } - value.colorMode = colorMode_buf; + value.enableHapticFeedback = enableHapticFeedback_buf; return value; } Ark_RichEditorImageSpanOptions readRichEditorImageSpanOptions() @@ -119613,6 +123393,14 @@ class Deserializer : public DeserializerBase { gesture_buf.value = valueDeserializer.readRichEditorGesture(); } value.gesture = gesture_buf; + const auto onHover_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_OnHoverCallback onHover_buf = {}; + onHover_buf.tag = onHover_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onHover_buf_runtimeType)) + { + onHover_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnHoverCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnHoverCallback))))}; + } + value.onHover = onHover_buf; return value; } Ark_RichEditorImageSpanResult readRichEditorImageSpanResult() @@ -119657,17 +123445,6 @@ class Deserializer : public DeserializerBase { value.offsetInSpan = offsetInSpan_buf; return value; } - Ark_RichEditorParagraphResult readRichEditorParagraphResult() - { - Ark_RichEditorParagraphResult value = {}; - Deserializer& valueDeserializer = *this; - value.style = valueDeserializer.readRichEditorParagraphStyle(); - Ark_Tuple_Number_Number range_buf = {}; - range_buf.value0 = static_cast(valueDeserializer.readNumber()); - range_buf.value1 = static_cast(valueDeserializer.readNumber()); - value.range = range_buf; - return value; - } Ark_RichEditorTextSpanOptions readRichEditorTextSpanOptions() { Ark_RichEditorTextSpanOptions value = {}; @@ -119704,6 +123481,14 @@ class Deserializer : public DeserializerBase { gesture_buf.value = valueDeserializer.readRichEditorGesture(); } value.gesture = gesture_buf; + const auto urlStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_RichEditorUrlStyle urlStyle_buf = {}; + urlStyle_buf.tag = urlStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (urlStyle_buf_runtimeType)) + { + urlStyle_buf.value = valueDeserializer.readRichEditorUrlStyle(); + } + value.urlStyle = urlStyle_buf; return value; } Ark_RichEditorTextSpanResult readRichEditorTextSpanResult() @@ -119749,6 +123534,14 @@ class Deserializer : public DeserializerBase { previewText_buf.value = static_cast(valueDeserializer.readString()); } value.previewText = previewText_buf; + const auto urlStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_RichEditorUrlStyle urlStyle_buf = {}; + urlStyle_buf.tag = urlStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (urlStyle_buf_runtimeType)) + { + urlStyle_buf.value = valueDeserializer.readRichEditorUrlStyle(); + } + value.urlStyle = urlStyle_buf; return value; } Ark_SpanStyle readSpanStyle() diff --git a/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h b/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h index dcab78262d..0a59520ef4 100644 --- a/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h @@ -179,7 +179,7 @@ typedef struct InteropObject { // The only include allowed in this file! Do not add anything else ever. #include -#define GENERATED_ARKUI_FULL_API_VERSION 124 +#define GENERATED_ARKUI_FULL_API_VERSION 128 #define GENERATED_ARKUI_NODE_API_VERSION GENERATED_ARKUI_FULL_API_VERSION #define GENERATED_ARKUI_BASIC_NODE_API_VERSION 1 @@ -261,6 +261,8 @@ typedef struct _Ark_Canvas* Ark_CanvasHandle; typedef struct Opt_Int32 Opt_Int32; typedef struct AccessibilityCallback AccessibilityCallback; typedef struct Opt_AccessibilityCallback Opt_AccessibilityCallback; +typedef struct AccessibilityFocusCallback AccessibilityFocusCallback; +typedef struct Opt_AccessibilityFocusCallback Opt_AccessibilityFocusCallback; typedef struct Ark_AlphabetIndexerAttribute Ark_AlphabetIndexerAttribute; typedef struct Opt_AlphabetIndexerAttribute Opt_AlphabetIndexerAttribute; typedef struct AnimatedDrawableDescriptorPeer AnimatedDrawableDescriptorPeer; @@ -291,6 +293,8 @@ typedef struct Opt_CircleShape Opt_CircleShape; typedef struct ClientAuthenticationHandlerPeer ClientAuthenticationHandlerPeer; typedef struct ClientAuthenticationHandlerPeer* Ark_ClientAuthenticationHandler; typedef struct Opt_ClientAuthenticationHandler Opt_ClientAuthenticationHandler; +typedef struct Ark_ColorContent Ark_ColorContent; +typedef struct Opt_ColorContent Opt_ColorContent; typedef struct ColorFilterPeer ColorFilterPeer; typedef struct ColorFilterPeer* Ark_ColorFilter; typedef struct Opt_ColorFilter Opt_ColorFilter; @@ -334,8 +338,6 @@ typedef struct Opt_DrawingLattice Opt_DrawingLattice; typedef struct DrawModifierPeer DrawModifierPeer; typedef struct DrawModifierPeer* Ark_DrawModifier; typedef struct Opt_DrawModifier Opt_DrawModifier; -typedef struct Ark_EdgeEffectOptions Ark_EdgeEffectOptions; -typedef struct Opt_EdgeEffectOptions Opt_EdgeEffectOptions; typedef struct EllipseShapePeer EllipseShapePeer; typedef struct EllipseShapePeer* Ark_EllipseShape; typedef struct Opt_EllipseShape Opt_EllipseShape; @@ -408,6 +410,8 @@ typedef struct Opt_LayeredDrawableDescriptor Opt_LayeredDrawableDescriptor; typedef struct LayoutManagerPeer LayoutManagerPeer; typedef struct LayoutManagerPeer* Ark_LayoutManager; typedef struct Opt_LayoutManager Opt_LayoutManager; +typedef struct Ark_LayoutPolicy Ark_LayoutPolicy; +typedef struct Opt_LayoutPolicy Opt_LayoutPolicy; typedef struct LinearGradientPeer LinearGradientPeer; typedef struct LinearGradientPeer* Ark_LinearGradient; typedef struct Opt_LinearGradient Opt_LinearGradient; @@ -430,12 +434,12 @@ typedef struct Opt_Literal_Object_detail Opt_Literal_Object_detail; typedef struct LongPressGestureInterfacePeer LongPressGestureInterfacePeer; typedef struct LongPressGestureInterfacePeer* Ark_LongPressGestureInterface; typedef struct Opt_LongPressGestureInterface Opt_LongPressGestureInterface; +typedef struct LongPressRecognizerPeer LongPressRecognizerPeer; +typedef struct LongPressRecognizerPeer* Ark_LongPressRecognizer; +typedef struct Opt_LongPressRecognizer Opt_LongPressRecognizer; typedef struct Matrix4TransitPeer Matrix4TransitPeer; typedef struct Matrix4TransitPeer* Ark_Matrix4Transit; typedef struct Opt_Matrix4Transit Opt_Matrix4Transit; -typedef struct MeasurablePeer MeasurablePeer; -typedef struct MeasurablePeer* Ark_Measurable; -typedef struct Opt_Measurable Opt_Measurable; typedef struct Ark_NativeMediaPlayerConfig Ark_NativeMediaPlayerConfig; typedef struct Opt_NativeMediaPlayerConfig Opt_NativeMediaPlayerConfig; typedef struct Opt_NativePointer Opt_NativePointer; @@ -507,6 +511,9 @@ typedef struct Opt_PermissionRequest Opt_PermissionRequest; typedef struct PinchGestureInterfacePeer PinchGestureInterfacePeer; typedef struct PinchGestureInterfacePeer* Ark_PinchGestureInterface; typedef struct Opt_PinchGestureInterface Opt_PinchGestureInterface; +typedef struct PinchRecognizerPeer PinchRecognizerPeer; +typedef struct PinchRecognizerPeer* Ark_PinchRecognizer; +typedef struct Opt_PinchRecognizer Opt_PinchRecognizer; typedef struct PixelMapPeer PixelMapPeer; typedef struct PixelMapPeer* Ark_PixelMap; typedef struct Opt_PixelMap Opt_PixelMap; @@ -518,6 +525,8 @@ typedef struct PixelMapMockPeer* Ark_PixelMapMock; typedef struct Opt_PixelMapMock Opt_PixelMapMock; typedef struct Ark_PlaybackInfo Ark_PlaybackInfo; typedef struct Opt_PlaybackInfo Opt_PlaybackInfo; +typedef struct Ark_PopupStateChangeParam Ark_PopupStateChangeParam; +typedef struct Opt_PopupStateChangeParam Opt_PopupStateChangeParam; typedef struct Ark_PositionWithAffinity Ark_PositionWithAffinity; typedef struct Opt_PositionWithAffinity Opt_PositionWithAffinity; typedef struct Ark_PreparedInfo Ark_PreparedInfo; @@ -557,6 +566,9 @@ typedef struct Opt_RotateResult Opt_RotateResult; typedef struct RotationGestureInterfacePeer RotationGestureInterfacePeer; typedef struct RotationGestureInterfacePeer* Ark_RotationGestureInterface; typedef struct Opt_RotationGestureInterface Opt_RotationGestureInterface; +typedef struct RotationRecognizerPeer RotationRecognizerPeer; +typedef struct RotationRecognizerPeer* Ark_RotationRecognizer; +typedef struct Opt_RotationRecognizer Opt_RotationRecognizer; typedef struct Ark_RRect Ark_RRect; typedef struct Opt_RRect Opt_RRect; typedef struct Ark_ScaleResult Ark_ScaleResult; @@ -626,9 +638,14 @@ typedef struct Opt_SwiperAttribute Opt_SwiperAttribute; typedef struct SwiperContentTransitionProxyPeer SwiperContentTransitionProxyPeer; typedef struct SwiperContentTransitionProxyPeer* Ark_SwiperContentTransitionProxy; typedef struct Opt_SwiperContentTransitionProxy Opt_SwiperContentTransitionProxy; +typedef struct Ark_SwiperContentWillScrollResult Ark_SwiperContentWillScrollResult; +typedef struct Opt_SwiperContentWillScrollResult Opt_SwiperContentWillScrollResult; typedef struct SwiperControllerPeer SwiperControllerPeer; typedef struct SwiperControllerPeer* Ark_SwiperController; typedef struct Opt_SwiperController Opt_SwiperController; +typedef struct SwipeRecognizerPeer SwipeRecognizerPeer; +typedef struct SwipeRecognizerPeer* Ark_SwipeRecognizer; +typedef struct Opt_SwipeRecognizer Opt_SwipeRecognizer; typedef struct SymbolEffectPeer SymbolEffectPeer; typedef struct SymbolEffectPeer* Ark_SymbolEffect; typedef struct Opt_SymbolEffect Opt_SymbolEffect; @@ -649,6 +666,9 @@ typedef struct Opt_TabsController Opt_TabsController; typedef struct TapGestureInterfacePeer TapGestureInterfacePeer; typedef struct TapGestureInterfacePeer* Ark_TapGestureInterface; typedef struct Opt_TapGestureInterface Opt_TapGestureInterface; +typedef struct TapRecognizerPeer TapRecognizerPeer; +typedef struct TapRecognizerPeer* Ark_TapRecognizer; +typedef struct Opt_TapRecognizer Opt_TapRecognizer; typedef struct Ark_TextAreaAttribute Ark_TextAreaAttribute; typedef struct Opt_TextAreaAttribute Opt_TextAreaAttribute; typedef struct TextAreaControllerPeer TextAreaControllerPeer; @@ -768,6 +788,8 @@ typedef struct Ark_Union_String_Number Ark_Union_String_Number; typedef struct Opt_Union_String_Number Opt_Union_String_Number; typedef struct Ark_Union_String_Number_CanvasGradient_CanvasPattern Ark_Union_String_Number_CanvasGradient_CanvasPattern; typedef struct Opt_Union_String_Number_CanvasGradient_CanvasPattern Opt_Union_String_Number_CanvasGradient_CanvasPattern; +typedef struct Ark_Union_SwiperAnimationMode_Boolean Ark_Union_SwiperAnimationMode_Boolean; +typedef struct Opt_Union_SwiperAnimationMode_Boolean Opt_Union_SwiperAnimationMode_Boolean; typedef struct Ark_Union_TextInputStyle_TextContentStyle Ark_Union_TextInputStyle_TextContentStyle; typedef struct Opt_Union_TextInputStyle_TextContentStyle Opt_Union_TextInputStyle_TextContentStyle; typedef struct UrlStylePeer UrlStylePeer; @@ -849,6 +871,10 @@ typedef struct Array_ColorStop Array_ColorStop; typedef struct Opt_Array_ColorStop Opt_Array_ColorStop; typedef struct Array_common2D_Point Array_common2D_Point; typedef struct Opt_Array_common2D_Point Opt_Array_common2D_Point; +typedef struct Array_DateRange Array_DateRange; +typedef struct Opt_Array_DateRange Opt_Array_DateRange; +typedef struct Array_Dimension Array_Dimension; +typedef struct Opt_Array_Dimension Opt_Array_Dimension; typedef struct Array_DragPreviewMode Array_DragPreviewMode; typedef struct Opt_Array_DragPreviewMode Opt_Array_DragPreviewMode; typedef struct Array_ExpandedMenuItemOptions Array_ExpandedMenuItemOptions; @@ -879,20 +905,34 @@ typedef struct Array_LayoutSafeAreaEdge Array_LayoutSafeAreaEdge; typedef struct Opt_Array_LayoutSafeAreaEdge Opt_Array_LayoutSafeAreaEdge; typedef struct Array_LayoutSafeAreaType Array_LayoutSafeAreaType; typedef struct Opt_Array_LayoutSafeAreaType Opt_Array_LayoutSafeAreaType; +typedef struct Array_Length Array_Length; +typedef struct Opt_Array_Length Opt_Array_Length; +typedef struct Array_LengthMetrics Array_LengthMetrics; +typedef struct Opt_Array_LengthMetrics Opt_Array_LengthMetrics; typedef struct Array_LocalizedBarrierStyle Array_LocalizedBarrierStyle; typedef struct Opt_Array_LocalizedBarrierStyle Opt_Array_LocalizedBarrierStyle; typedef struct Array_MenuElement Array_MenuElement; typedef struct Opt_Array_MenuElement Opt_Array_MenuElement; typedef struct Array_ModifierKey Array_ModifierKey; typedef struct Opt_Array_ModifierKey Opt_Array_ModifierKey; +typedef struct Array_MouseButton Array_MouseButton; +typedef struct Opt_Array_MouseButton Opt_Array_MouseButton; +typedef struct Array_NavDestinationTransition Array_NavDestinationTransition; +typedef struct Opt_Array_NavDestinationTransition Opt_Array_NavDestinationTransition; typedef struct Array_NavigationMenuItem Array_NavigationMenuItem; typedef struct Opt_Array_NavigationMenuItem Opt_Array_NavigationMenuItem; +typedef struct Array_NavPathInfo Array_NavPathInfo; +typedef struct Opt_Array_NavPathInfo Opt_Array_NavPathInfo; +typedef struct Array_NestedScrollInfo Array_NestedScrollInfo; +typedef struct Opt_Array_NestedScrollInfo Opt_Array_NestedScrollInfo; typedef struct Array_Number Array_Number; typedef struct Opt_Array_Number Opt_Array_Number; typedef struct Array_Object Array_Object; typedef struct Opt_Array_Object Opt_Array_Object; typedef struct Array_ObscuredReasons Array_ObscuredReasons; typedef struct Opt_Array_ObscuredReasons Opt_Array_ObscuredReasons; +typedef struct Array_Opt_Object Array_Opt_Object; +typedef struct Opt_Array_Opt_Object Opt_Array_Opt_Object; typedef struct Array_PixelMap Array_PixelMap; typedef struct Opt_Array_PixelMap Opt_Array_PixelMap; typedef struct Array_Rectangle Array_Rectangle; @@ -915,6 +955,8 @@ typedef struct Array_SafeAreaType Array_SafeAreaType; typedef struct Opt_Array_SafeAreaType Opt_Array_SafeAreaType; typedef struct Array_ScriptItem Array_ScriptItem; typedef struct Opt_Array_ScriptItem Opt_Array_ScriptItem; +typedef struct Array_Scroller Array_Scroller; +typedef struct Opt_Array_Scroller Opt_Array_Scroller; typedef struct Array_SectionOptions Array_SectionOptions; typedef struct Opt_Array_SectionOptions Opt_Array_SectionOptions; typedef struct Array_SelectOption Array_SelectOption; @@ -963,8 +1005,6 @@ typedef struct Array_Union_RichEditorImageSpanResult_RichEditorTextSpanResult Ar typedef struct Opt_Array_Union_RichEditorImageSpanResult_RichEditorTextSpanResult Opt_Array_Union_RichEditorImageSpanResult_RichEditorTextSpanResult; typedef struct Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult; typedef struct Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult; -typedef struct Array_Union_String_Number_Resource Array_Union_String_Number_Resource; -typedef struct Opt_Array_Union_String_Number_Resource Opt_Array_Union_String_Number_Resource; typedef struct Array_WebHeader Array_WebHeader; typedef struct Opt_Array_WebHeader Opt_Array_WebHeader; typedef struct AsyncCallback_Array_TextMenuItem_Array_TextMenuItem AsyncCallback_Array_TextMenuItem_Array_TextMenuItem; @@ -987,28 +1027,28 @@ typedef struct Callback_Array_TextMenuItem_Void Callback_Array_TextMenuItem_Void typedef struct Opt_Callback_Array_TextMenuItem_Void Opt_Callback_Array_TextMenuItem_Void; typedef struct Callback_Array_TouchTestInfo_TouchResult Callback_Array_TouchTestInfo_TouchResult; typedef struct Opt_Callback_Array_TouchTestInfo_TouchResult Opt_Callback_Array_TouchTestInfo_TouchResult; +typedef struct Callback_AxisEvent_Void Callback_AxisEvent_Void; +typedef struct Opt_Callback_AxisEvent_Void Opt_Callback_AxisEvent_Void; typedef struct Callback_Boolean Callback_Boolean; typedef struct Opt_Callback_Boolean Opt_Callback_Boolean; typedef struct Callback_Boolean_HoverEvent_Void Callback_Boolean_HoverEvent_Void; typedef struct Opt_Callback_Boolean_HoverEvent_Void Opt_Callback_Boolean_HoverEvent_Void; typedef struct Callback_Boolean_Void Callback_Boolean_Void; typedef struct Opt_Callback_Boolean_Void Opt_Callback_Boolean_Void; +typedef struct Callback_Buffer_Void Callback_Buffer_Void; +typedef struct Opt_Callback_Buffer_Void Opt_Callback_Buffer_Void; typedef struct Callback_CalendarRequestedData_Void Callback_CalendarRequestedData_Void; typedef struct Opt_Callback_CalendarRequestedData_Void Opt_Callback_CalendarRequestedData_Void; typedef struct Callback_CalendarSelectedDate_Void Callback_CalendarSelectedDate_Void; typedef struct Opt_Callback_CalendarSelectedDate_Void Opt_Callback_CalendarSelectedDate_Void; -typedef struct Callback_ClickEvent_LocationButtonOnClickResult_Void Callback_ClickEvent_LocationButtonOnClickResult_Void; -typedef struct Opt_Callback_ClickEvent_LocationButtonOnClickResult_Void Opt_Callback_ClickEvent_LocationButtonOnClickResult_Void; -typedef struct Callback_ClickEvent_PasteButtonOnClickResult_Void Callback_ClickEvent_PasteButtonOnClickResult_Void; -typedef struct Opt_Callback_ClickEvent_PasteButtonOnClickResult_Void Opt_Callback_ClickEvent_PasteButtonOnClickResult_Void; -typedef struct Callback_ClickEvent_SaveButtonOnClickResult_Void Callback_ClickEvent_SaveButtonOnClickResult_Void; -typedef struct Opt_Callback_ClickEvent_SaveButtonOnClickResult_Void Opt_Callback_ClickEvent_SaveButtonOnClickResult_Void; typedef struct Callback_ClickEvent_Void Callback_ClickEvent_Void; typedef struct Opt_Callback_ClickEvent_Void Opt_Callback_ClickEvent_Void; typedef struct Callback_ComputedBarAttribute_Void Callback_ComputedBarAttribute_Void; typedef struct Opt_Callback_ComputedBarAttribute_Void Opt_Callback_ComputedBarAttribute_Void; typedef struct Callback_CopyEvent_Void Callback_CopyEvent_Void; typedef struct Opt_Callback_CopyEvent_Void Opt_Callback_CopyEvent_Void; +typedef struct Callback_CrownEvent_Void Callback_CrownEvent_Void; +typedef struct Opt_Callback_CrownEvent_Void Opt_Callback_CrownEvent_Void; typedef struct Callback_CustomBuilder_Void Callback_CustomBuilder_Void; typedef struct Opt_Callback_CustomBuilder_Void Opt_Callback_CustomBuilder_Void; typedef struct Callback_CustomSpanMetrics_Void Callback_CustomSpanMetrics_Void; @@ -1037,12 +1077,16 @@ typedef struct Callback_DragEvent_String_Void Callback_DragEvent_String_Void; typedef struct Opt_Callback_DragEvent_String_Void Opt_Callback_DragEvent_String_Void; typedef struct Callback_DrawContext_CustomSpanDrawInfo_Void Callback_DrawContext_CustomSpanDrawInfo_Void; typedef struct Opt_Callback_DrawContext_CustomSpanDrawInfo_Void Opt_Callback_DrawContext_CustomSpanDrawInfo_Void; +typedef struct Callback_EditableTextChangeValue_Boolean Callback_EditableTextChangeValue_Boolean; +typedef struct Opt_Callback_EditableTextChangeValue_Boolean Opt_Callback_EditableTextChangeValue_Boolean; typedef struct Callback_EnterKeyType_Void Callback_EnterKeyType_Void; typedef struct Opt_Callback_EnterKeyType_Void Opt_Callback_EnterKeyType_Void; typedef struct Callback_Extender_OnFinish Callback_Extender_OnFinish; typedef struct Opt_Callback_Extender_OnFinish Opt_Callback_Extender_OnFinish; typedef struct Callback_Extender_OnProgress Callback_Extender_OnProgress; typedef struct Opt_Callback_Extender_OnProgress Opt_Callback_Extender_OnProgress; +typedef struct Callback_FocusAxisEvent_Void Callback_FocusAxisEvent_Void; +typedef struct Opt_Callback_FocusAxisEvent_Void Opt_Callback_FocusAxisEvent_Void; typedef struct Callback_FormCallbackInfo_Void Callback_FormCallbackInfo_Void; typedef struct Opt_Callback_FormCallbackInfo_Void Opt_Callback_FormCallbackInfo_Void; typedef struct Callback_FullscreenInfo_Void Callback_FullscreenInfo_Void; @@ -1057,6 +1101,8 @@ typedef struct Callback_GestureRecognizer_Void Callback_GestureRecognizer_Void; typedef struct Opt_Callback_GestureRecognizer_Void Opt_Callback_GestureRecognizer_Void; typedef struct Callback_HitTestMode_Void Callback_HitTestMode_Void; typedef struct Opt_Callback_HitTestMode_Void Opt_Callback_HitTestMode_Void; +typedef struct Callback_HoverEvent_Void Callback_HoverEvent_Void; +typedef struct Opt_Callback_HoverEvent_Void Opt_Callback_HoverEvent_Void; typedef struct Callback_InsertValue_Boolean Callback_InsertValue_Boolean; typedef struct Opt_Callback_InsertValue_Boolean Opt_Callback_InsertValue_Boolean; typedef struct Callback_InsertValue_Void Callback_InsertValue_Void; @@ -1089,12 +1135,16 @@ typedef struct Callback_Literal_String_plainText_Void Callback_Literal_String_pl typedef struct Opt_Callback_Literal_String_plainText_Void Opt_Callback_Literal_String_plainText_Void; typedef struct Callback_Map_String_Object_Void Callback_Map_String_Object_Void; typedef struct Opt_Callback_Map_String_Object_Void Opt_Callback_Map_String_Object_Void; +typedef struct Callback_MarqueeState_Void Callback_MarqueeState_Void; +typedef struct Opt_Callback_MarqueeState_Void Opt_Callback_MarqueeState_Void; typedef struct Callback_MouseEvent_Void Callback_MouseEvent_Void; typedef struct Opt_Callback_MouseEvent_Void Opt_Callback_MouseEvent_Void; typedef struct Callback_NativeEmbedDataInfo_Void Callback_NativeEmbedDataInfo_Void; typedef struct Opt_Callback_NativeEmbedDataInfo_Void Opt_Callback_NativeEmbedDataInfo_Void; typedef struct Callback_NativeEmbedTouchInfo_Void Callback_NativeEmbedTouchInfo_Void; typedef struct Opt_Callback_NativeEmbedTouchInfo_Void Opt_Callback_NativeEmbedTouchInfo_Void; +typedef struct Callback_NavDestinationActiveReason_Void Callback_NavDestinationActiveReason_Void; +typedef struct Opt_Callback_NavDestinationActiveReason_Void Opt_Callback_NavDestinationActiveReason_Void; typedef struct Callback_NavDestinationContext_Void Callback_NavDestinationContext_Void; typedef struct Opt_Callback_NavDestinationContext_Void Opt_Callback_NavDestinationContext_Void; typedef struct Callback_NavigationMode_Void Callback_NavigationMode_Void; @@ -1127,6 +1177,8 @@ typedef struct Callback_Number_Tuple_Number_Number_Number_Number Callback_Number typedef struct Opt_Callback_Number_Tuple_Number_Number_Number_Number Opt_Callback_Number_Tuple_Number_Number_Number_Number; typedef struct Callback_Number_Void Callback_Number_Void; typedef struct Opt_Callback_Number_Void Opt_Callback_Number_Void; +typedef struct Callback_Object_Void Callback_Object_Void; +typedef struct Opt_Callback_Object_Void Opt_Callback_Object_Void; typedef struct Callback_OffsetResult_Void Callback_OffsetResult_Void; typedef struct Opt_Callback_OffsetResult_Void Opt_Callback_OffsetResult_Void; typedef struct Callback_OnAlertEvent_Boolean Callback_OnAlertEvent_Boolean; @@ -1203,6 +1255,8 @@ typedef struct Callback_OnTouchIconUrlReceivedEvent_Void Callback_OnTouchIconUrl typedef struct Opt_Callback_OnTouchIconUrlReceivedEvent_Void Opt_Callback_OnTouchIconUrlReceivedEvent_Void; typedef struct Callback_OnWindowNewEvent_Void Callback_OnWindowNewEvent_Void; typedef struct Opt_Callback_OnWindowNewEvent_Void Opt_Callback_OnWindowNewEvent_Void; +typedef struct Callback_Opt_Array_NavDestinationTransition_Void Callback_Opt_Array_NavDestinationTransition_Void; +typedef struct Opt_Callback_Opt_Array_NavDestinationTransition_Void Opt_Callback_Opt_Array_NavDestinationTransition_Void; typedef struct Callback_Opt_Array_String_Void Callback_Opt_Array_String_Void; typedef struct Opt_Callback_Opt_Array_String_Void Opt_Callback_Opt_Array_String_Void; typedef struct Callback_Opt_NavigationAnimatedTransition_Void Callback_Opt_NavigationAnimatedTransition_Void; @@ -1249,16 +1303,18 @@ typedef struct Callback_SpringBackAction_Void Callback_SpringBackAction_Void; typedef struct Opt_Callback_SpringBackAction_Void Opt_Callback_SpringBackAction_Void; typedef struct Callback_String_Number_Void Callback_String_Number_Void; typedef struct Opt_Callback_String_Number_Void Opt_Callback_String_Number_Void; +typedef struct Callback_String_Opt_Object_Void Callback_String_Opt_Object_Void; +typedef struct Opt_Callback_String_Opt_Object_Void Opt_Callback_String_Opt_Object_Void; typedef struct Callback_String_PasteEvent_Void Callback_String_PasteEvent_Void; typedef struct Opt_Callback_String_PasteEvent_Void Opt_Callback_String_PasteEvent_Void; typedef struct Callback_String_SurfaceRect_Void Callback_String_SurfaceRect_Void; typedef struct Opt_Callback_String_SurfaceRect_Void Opt_Callback_String_SurfaceRect_Void; -typedef struct Callback_String_Unknown_Void Callback_String_Unknown_Void; -typedef struct Opt_Callback_String_Unknown_Void Opt_Callback_String_Unknown_Void; typedef struct Callback_String_Void Callback_String_Void; typedef struct Opt_Callback_String_Void Opt_Callback_String_Void; typedef struct Callback_StyledStringChangeValue_Boolean Callback_StyledStringChangeValue_Boolean; typedef struct Opt_Callback_StyledStringChangeValue_Boolean Opt_Callback_StyledStringChangeValue_Boolean; +typedef struct Callback_StyledStringMarshallingValue_Void Callback_StyledStringMarshallingValue_Void; +typedef struct Opt_Callback_StyledStringMarshallingValue_Void Opt_Callback_StyledStringMarshallingValue_Void; typedef struct Callback_SwipeActionState_Void Callback_SwipeActionState_Void; typedef struct Opt_Callback_SwipeActionState_Void Opt_Callback_SwipeActionState_Void; typedef struct Callback_SwiperContentTransitionProxy_Void Callback_SwiperContentTransitionProxy_Void; @@ -1307,6 +1363,8 @@ typedef struct Callback_WrappedBuilder_Args_Void Callback_WrappedBuilder_Args_Vo typedef struct Opt_Callback_WrappedBuilder_Args_Void Opt_Callback_WrappedBuilder_Args_Void; typedef struct ContentDidScrollCallback ContentDidScrollCallback; typedef struct Opt_ContentDidScrollCallback Opt_ContentDidScrollCallback; +typedef struct ContentWillScrollCallback ContentWillScrollCallback; +typedef struct Opt_ContentWillScrollCallback Opt_ContentWillScrollCallback; typedef struct Context_getGroupDir_Callback Context_getGroupDir_Callback; typedef struct Opt_Context_getGroupDir_Callback Opt_Context_getGroupDir_Callback; typedef struct CustomNodeBuilder CustomNodeBuilder; @@ -1335,6 +1393,10 @@ typedef struct InterceptionShowCallback InterceptionShowCallback; typedef struct Opt_InterceptionShowCallback Opt_InterceptionShowCallback; typedef struct ListAttribute_onItemDragStart_event_type ListAttribute_onItemDragStart_event_type; typedef struct Opt_ListAttribute_onItemDragStart_event_type Opt_ListAttribute_onItemDragStart_event_type; +typedef struct LocationButtonCallback LocationButtonCallback; +typedef struct Opt_LocationButtonCallback Opt_LocationButtonCallback; +typedef struct Map_AxisModel_Number Map_AxisModel_Number; +typedef struct Opt_Map_AxisModel_Number Opt_Map_AxisModel_Number; typedef struct Map_Number_RunMetrics Map_Number_RunMetrics; typedef struct Opt_Map_Number_RunMetrics Opt_Map_Number_RunMetrics; typedef struct Map_String_ComponentContent Map_String_ComponentContent; @@ -1349,6 +1411,8 @@ typedef struct MenuCallback MenuCallback; typedef struct Opt_MenuCallback Opt_MenuCallback; typedef struct MenuOnAppearCallback MenuOnAppearCallback; typedef struct Opt_MenuOnAppearCallback Opt_MenuOnAppearCallback; +typedef struct NavDestinationTransitionDelegate NavDestinationTransitionDelegate; +typedef struct Opt_NavDestinationTransitionDelegate Opt_NavDestinationTransitionDelegate; typedef struct NavExtender_OnUpdateStack NavExtender_OnUpdateStack; typedef struct Opt_NavExtender_OnUpdateStack Opt_NavExtender_OnUpdateStack; typedef struct OnAdsBlockedCallback OnAdsBlockedCallback; @@ -1369,6 +1433,8 @@ typedef struct OnContextMenuHideCallback OnContextMenuHideCallback; typedef struct Opt_OnContextMenuHideCallback Opt_OnContextMenuHideCallback; typedef struct OnDidChangeCallback OnDidChangeCallback; typedef struct Opt_OnDidChangeCallback Opt_OnDidChangeCallback; +typedef struct OnDragEventCallback OnDragEventCallback; +typedef struct Opt_OnDragEventCallback Opt_OnDragEventCallback; typedef struct OnFirstMeaningfulPaintCallback OnFirstMeaningfulPaintCallback; typedef struct Opt_OnFirstMeaningfulPaintCallback Opt_OnFirstMeaningfulPaintCallback; typedef struct OnFoldStatusChangeCallback OnFoldStatusChangeCallback; @@ -1397,6 +1463,10 @@ typedef struct OnOverrideUrlLoadingCallback OnOverrideUrlLoadingCallback; typedef struct Opt_OnOverrideUrlLoadingCallback Opt_OnOverrideUrlLoadingCallback; typedef struct OnPasteCallback OnPasteCallback; typedef struct Opt_OnPasteCallback Opt_OnPasteCallback; +typedef struct OnRadioChangeCallback OnRadioChangeCallback; +typedef struct Opt_OnRadioChangeCallback Opt_OnRadioChangeCallback; +typedef struct OnRatingChangeCallback OnRatingChangeCallback; +typedef struct Opt_OnRatingChangeCallback Opt_OnRatingChangeCallback; typedef struct OnRenderProcessNotRespondingCallback OnRenderProcessNotRespondingCallback; typedef struct Opt_OnRenderProcessNotRespondingCallback Opt_OnRenderProcessNotRespondingCallback; typedef struct OnRenderProcessRespondingCallback OnRenderProcessRespondingCallback; @@ -1411,6 +1481,8 @@ typedef struct OnScrollFrameBeginCallback OnScrollFrameBeginCallback; typedef struct Opt_OnScrollFrameBeginCallback Opt_OnScrollFrameBeginCallback; typedef struct OnScrollVisibleContentChangeCallback OnScrollVisibleContentChangeCallback; typedef struct Opt_OnScrollVisibleContentChangeCallback Opt_OnScrollVisibleContentChangeCallback; +typedef struct OnSelectCallback OnSelectCallback; +typedef struct Opt_OnSelectCallback Opt_OnSelectCallback; typedef struct OnSslErrorEventCallback OnSslErrorEventCallback; typedef struct Opt_OnSslErrorEventCallback Opt_OnSslErrorEventCallback; typedef struct OnSubmitCallback OnSubmitCallback; @@ -1429,16 +1501,24 @@ typedef struct OnTabsContentWillChangeCallback OnTabsContentWillChangeCallback; typedef struct Opt_OnTabsContentWillChangeCallback Opt_OnTabsContentWillChangeCallback; typedef struct OnTabsGestureSwipeCallback OnTabsGestureSwipeCallback; typedef struct Opt_OnTabsGestureSwipeCallback Opt_OnTabsGestureSwipeCallback; +typedef struct OnTextPickerChangeCallback OnTextPickerChangeCallback; +typedef struct Opt_OnTextPickerChangeCallback Opt_OnTextPickerChangeCallback; typedef struct OnTextSelectionChangeCallback OnTextSelectionChangeCallback; typedef struct Opt_OnTextSelectionChangeCallback Opt_OnTextSelectionChangeCallback; +typedef struct OnTimePickerChangeCallback OnTimePickerChangeCallback; +typedef struct Opt_OnTimePickerChangeCallback Opt_OnTimePickerChangeCallback; typedef struct OnViewportFitChangedCallback OnViewportFitChangedCallback; typedef struct Opt_OnViewportFitChangedCallback Opt_OnViewportFitChangedCallback; typedef struct PageTransitionCallback PageTransitionCallback; typedef struct Opt_PageTransitionCallback Opt_PageTransitionCallback; +typedef struct PasteButtonCallback PasteButtonCallback; +typedef struct Opt_PasteButtonCallback Opt_PasteButtonCallback; typedef struct PasteEventCallback PasteEventCallback; typedef struct Opt_PasteEventCallback Opt_PasteEventCallback; typedef struct PluginErrorCallback PluginErrorCallback; typedef struct Opt_PluginErrorCallback Opt_PluginErrorCallback; +typedef struct PopupStateChangeCallback PopupStateChangeCallback; +typedef struct Opt_PopupStateChangeCallback Opt_PopupStateChangeCallback; typedef struct Profiler_Callback_String_Void Profiler_Callback_String_Void; typedef struct Opt_Profiler_Callback_String_Void Opt_Profiler_Callback_String_Void; typedef struct ReceiveCallback ReceiveCallback; @@ -1449,6 +1529,10 @@ typedef struct RestrictedWorker_onexit_Callback RestrictedWorker_onexit_Callback typedef struct Opt_RestrictedWorker_onexit_Callback Opt_RestrictedWorker_onexit_Callback; typedef struct RestrictedWorker_onmessage_Callback RestrictedWorker_onmessage_Callback; typedef struct Opt_RestrictedWorker_onmessage_Callback Opt_RestrictedWorker_onmessage_Callback; +typedef struct ReuseIdCallback ReuseIdCallback; +typedef struct Opt_ReuseIdCallback Opt_ReuseIdCallback; +typedef struct SaveButtonCallback SaveButtonCallback; +typedef struct Opt_SaveButtonCallback Opt_SaveButtonCallback; typedef struct ScrollOnScrollCallback ScrollOnScrollCallback; typedef struct Opt_ScrollOnScrollCallback Opt_ScrollOnScrollCallback; typedef struct ScrollOnWillScrollCallback ScrollOnWillScrollCallback; @@ -1461,12 +1545,20 @@ typedef struct SizeChangeCallback SizeChangeCallback; typedef struct Opt_SizeChangeCallback Opt_SizeChangeCallback; typedef struct SliderTriggerChangeCallback SliderTriggerChangeCallback; typedef struct Opt_SliderTriggerChangeCallback Opt_SliderTriggerChangeCallback; +typedef struct StyledStringMarshallCallback StyledStringMarshallCallback; +typedef struct Opt_StyledStringMarshallCallback Opt_StyledStringMarshallCallback; +typedef struct StyledStringUnmarshallCallback StyledStringUnmarshallCallback; +typedef struct Opt_StyledStringUnmarshallCallback Opt_StyledStringUnmarshallCallback; typedef struct SubmitCallback SubmitCallback; typedef struct Opt_SubmitCallback Opt_SubmitCallback; typedef struct TabsCustomContentTransitionCallback TabsCustomContentTransitionCallback; typedef struct Opt_TabsCustomContentTransitionCallback Opt_TabsCustomContentTransitionCallback; typedef struct TextAreaSubmitCallback TextAreaSubmitCallback; typedef struct Opt_TextAreaSubmitCallback Opt_TextAreaSubmitCallback; +typedef struct TextPickerEnterSelectedAreaCallback TextPickerEnterSelectedAreaCallback; +typedef struct Opt_TextPickerEnterSelectedAreaCallback Opt_TextPickerEnterSelectedAreaCallback; +typedef struct TextPickerScrollStopCallback TextPickerScrollStopCallback; +typedef struct Opt_TextPickerScrollStopCallback Opt_TextPickerScrollStopCallback; typedef struct TextTimerAttribute_onTimer_event_type TextTimerAttribute_onTimer_event_type; typedef struct Opt_TextTimerAttribute_onTimer_event_type Opt_TextTimerAttribute_onTimer_event_type; typedef struct TransitionFinishCallback TransitionFinishCallback; @@ -1502,8 +1594,12 @@ typedef struct AppearSymbolEffectPeer* Ark_AppearSymbolEffect; typedef struct Opt_AppearSymbolEffect Opt_AppearSymbolEffect; typedef struct Ark_ASTCResource Ark_ASTCResource; typedef struct Opt_ASTCResource Opt_ASTCResource; +typedef struct Ark_AutoPlayOptions Ark_AutoPlayOptions; +typedef struct Opt_AutoPlayOptions Opt_AutoPlayOptions; typedef struct Ark_BackgroundBrightnessOptions Ark_BackgroundBrightnessOptions; typedef struct Opt_BackgroundBrightnessOptions Opt_BackgroundBrightnessOptions; +typedef struct Ark_BackgroundImageOptions Ark_BackgroundImageOptions; +typedef struct Opt_BackgroundImageOptions Opt_BackgroundImageOptions; typedef struct Ark_BarrierStyle Ark_BarrierStyle; typedef struct Opt_BarrierStyle Opt_BarrierStyle; typedef struct BaseContextPeer BaseContextPeer; @@ -1537,12 +1633,6 @@ typedef struct Ark_CalendarSelectedDate Ark_CalendarSelectedDate; typedef struct Opt_CalendarSelectedDate Opt_CalendarSelectedDate; typedef struct Ark_CancelButtonSymbolOptions Ark_CancelButtonSymbolOptions; typedef struct Opt_CancelButtonSymbolOptions Opt_CancelButtonSymbolOptions; -typedef struct CanvasRendererPeer CanvasRendererPeer; -typedef struct CanvasRendererPeer* Ark_CanvasRenderer; -typedef struct Opt_CanvasRenderer Opt_CanvasRenderer; -typedef struct CanvasRenderingContext2DPeer CanvasRenderingContext2DPeer; -typedef struct CanvasRenderingContext2DPeer* Ark_CanvasRenderingContext2D; -typedef struct Opt_CanvasRenderingContext2D Opt_CanvasRenderingContext2D; typedef struct Ark_CaretOffset Ark_CaretOffset; typedef struct Opt_CaretOffset Opt_CaretOffset; typedef struct Ark_ChainWeightOptions Ark_ChainWeightOptions; @@ -1564,11 +1654,15 @@ typedef struct Ark_ClickEffect Ark_ClickEffect; typedef struct Opt_ClickEffect Opt_ClickEffect; typedef struct Ark_CloseSwipeActionOptions Ark_CloseSwipeActionOptions; typedef struct Opt_CloseSwipeActionOptions Opt_CloseSwipeActionOptions; +typedef struct Ark_ColorFilterType Ark_ColorFilterType; +typedef struct Opt_ColorFilterType Opt_ColorFilterType; typedef struct ColorMetricsPeer ColorMetricsPeer; typedef struct ColorMetricsPeer* Ark_ColorMetrics; typedef struct Opt_ColorMetrics Opt_ColorMetrics; typedef struct Ark_ColumnOptions Ark_ColumnOptions; typedef struct Opt_ColumnOptions Opt_ColumnOptions; +typedef struct Ark_ColumnOptionsV2 Ark_ColumnOptionsV2; +typedef struct Opt_ColumnOptionsV2 Opt_ColumnOptionsV2; typedef struct Ark_CommandPath Ark_CommandPath; typedef struct Opt_CommandPath Opt_CommandPath; typedef struct Ark_common2D_Color Ark_common2D_Color; @@ -1577,6 +1671,8 @@ typedef struct Ark_common2D_Point Ark_common2D_Point; typedef struct Opt_common2D_Point Opt_common2D_Point; typedef struct Ark_CommonConfiguration Ark_CommonConfiguration; typedef struct Opt_CommonConfiguration Opt_CommonConfiguration; +typedef struct Ark_CommonModifier Ark_CommonModifier; +typedef struct Opt_CommonModifier Opt_CommonModifier; typedef struct Ark_ComputedBarAttribute Ark_ComputedBarAttribute; typedef struct Opt_ComputedBarAttribute Opt_ComputedBarAttribute; typedef struct ContextPeer ContextPeer; @@ -1586,6 +1682,8 @@ typedef struct Ark_CopyEvent Ark_CopyEvent; typedef struct Opt_CopyEvent Opt_CopyEvent; typedef struct Ark_CornerRadius Ark_CornerRadius; typedef struct Opt_CornerRadius Opt_CornerRadius; +typedef struct Ark_CrownEvent Ark_CrownEvent; +typedef struct Opt_CrownEvent Opt_CrownEvent; typedef struct Ark_CustomDialogBuildOptions Ark_CustomDialogBuildOptions; typedef struct Opt_CustomDialogBuildOptions Opt_CustomDialogBuildOptions; typedef struct Ark_CustomDialogControllerBuilder Ark_CustomDialogControllerBuilder; @@ -1603,10 +1701,14 @@ typedef struct Ark_CutEvent Ark_CutEvent; typedef struct Opt_CutEvent Opt_CutEvent; typedef struct Ark_DataPanelOptions Ark_DataPanelOptions; typedef struct Opt_DataPanelOptions Opt_DataPanelOptions; +typedef struct Ark_DataSyncOptions Ark_DataSyncOptions; +typedef struct Opt_DataSyncOptions Opt_DataSyncOptions; typedef struct Ark_DatePickerOptions Ark_DatePickerOptions; typedef struct Opt_DatePickerOptions Opt_DatePickerOptions; typedef struct Ark_DatePickerResult Ark_DatePickerResult; typedef struct Opt_DatePickerResult Opt_DatePickerResult; +typedef struct Ark_DateRange Ark_DateRange; +typedef struct Opt_DateRange Opt_DateRange; typedef struct Ark_DateTimeOptions Ark_DateTimeOptions; typedef struct Opt_DateTimeOptions Opt_DateTimeOptions; typedef struct Ark_DeleteValue Ark_DeleteValue; @@ -1635,6 +1737,10 @@ typedef struct Opt_DrawContext Opt_DrawContext; typedef struct DrawingRenderingContextPeer DrawingRenderingContextPeer; typedef struct DrawingRenderingContextPeer* Ark_DrawingRenderingContext; typedef struct Opt_DrawingRenderingContext Opt_DrawingRenderingContext; +typedef struct Ark_DropOptions Ark_DropOptions; +typedef struct Opt_DropOptions Opt_DropOptions; +typedef struct Ark_EdgeEffectOptions Ark_EdgeEffectOptions; +typedef struct Opt_EdgeEffectOptions Opt_EdgeEffectOptions; typedef struct Ark_EdgeOutlineStyles Ark_EdgeOutlineStyles; typedef struct Opt_EdgeOutlineStyles Opt_EdgeOutlineStyles; typedef struct Ark_EdgeStyles Ark_EdgeStyles; @@ -1643,6 +1749,8 @@ typedef struct Ark_EditMenuOptions Ark_EditMenuOptions; typedef struct Opt_EditMenuOptions Opt_EditMenuOptions; typedef struct Ark_EllipseOptions Ark_EllipseOptions; typedef struct Opt_EllipseOptions Opt_EllipseOptions; +typedef struct Ark_EmbedOptions Ark_EmbedOptions; +typedef struct Opt_EmbedOptions Opt_EmbedOptions; typedef struct Ark_ErrorEvent Ark_ErrorEvent; typedef struct Opt_ErrorEvent Opt_ErrorEvent; typedef struct Ark_Event Ark_Event; @@ -1653,6 +1761,8 @@ typedef struct Ark_FingerInfo Ark_FingerInfo; typedef struct Opt_FingerInfo Opt_FingerInfo; typedef struct Ark_FirstMeaningfulPaint Ark_FirstMeaningfulPaint; typedef struct Opt_FirstMeaningfulPaint Opt_FirstMeaningfulPaint; +typedef struct Ark_FocusMovement Ark_FocusMovement; +typedef struct Opt_FocusMovement Opt_FocusMovement; typedef struct Ark_FolderStackOptions Ark_FolderStackOptions; typedef struct Opt_FolderStackOptions Opt_FolderStackOptions; typedef struct Ark_FontFeature Ark_FontFeature; @@ -1720,6 +1830,8 @@ typedef struct Ark_ImageLoadResult Ark_ImageLoadResult; typedef struct Opt_ImageLoadResult Opt_ImageLoadResult; typedef struct Ark_ImageSourceSize Ark_ImageSourceSize; typedef struct Opt_ImageSourceSize Opt_ImageSourceSize; +typedef struct Ark_ImmersiveMode Ark_ImmersiveMode; +typedef struct Opt_ImmersiveMode Opt_ImmersiveMode; typedef struct Ark_InputCounterOptions Ark_InputCounterOptions; typedef struct Opt_InputCounterOptions Opt_InputCounterOptions; typedef struct Ark_InsertValue Ark_InsertValue; @@ -1743,10 +1855,16 @@ typedef struct Opt_LengthMetrics Opt_LengthMetrics; typedef struct LetterSpacingStylePeer LetterSpacingStylePeer; typedef struct LetterSpacingStylePeer* Ark_LetterSpacingStyle; typedef struct Opt_LetterSpacingStyle Opt_LetterSpacingStyle; +typedef struct Ark_LevelMode Ark_LevelMode; +typedef struct Opt_LevelMode Opt_LevelMode; +typedef struct Ark_LevelOrder Ark_LevelOrder; +typedef struct Opt_LevelOrder Opt_LevelOrder; typedef struct Ark_LinearGradient_common Ark_LinearGradient_common; typedef struct Opt_LinearGradient_common Opt_LinearGradient_common; typedef struct Ark_LinearGradientBlurOptions Ark_LinearGradientBlurOptions; typedef struct Opt_LinearGradientBlurOptions Opt_LinearGradientBlurOptions; +typedef struct Ark_LinearGradientOptions Ark_LinearGradientOptions; +typedef struct Opt_LinearGradientOptions Opt_LinearGradientOptions; typedef struct Ark_LinearIndicatorStartOptions Ark_LinearIndicatorStartOptions; typedef struct Opt_LinearIndicatorStartOptions Opt_LinearIndicatorStartOptions; typedef struct LineHeightStylePeer LineHeightStylePeer; @@ -1816,6 +1934,8 @@ typedef struct Ark_LocalizedVerticalAlignParam Ark_LocalizedVerticalAlignParam; typedef struct Opt_LocalizedVerticalAlignParam Opt_LocalizedVerticalAlignParam; typedef struct Ark_LocationButtonOptions Ark_LocationButtonOptions; typedef struct Opt_LocationButtonOptions Opt_LocationButtonOptions; +typedef struct Ark_LongPressGestureHandlerOptions Ark_LongPressGestureHandlerOptions; +typedef struct Opt_LongPressGestureHandlerOptions Opt_LongPressGestureHandlerOptions; typedef struct Ark_MarqueeOptions Ark_MarqueeOptions; typedef struct Opt_MarqueeOptions Opt_MarqueeOptions; typedef struct Matrix2DPeer Matrix2DPeer; @@ -1825,6 +1945,9 @@ typedef struct Ark_Matrix4 Ark_Matrix4; typedef struct Opt_Matrix4 Opt_Matrix4; typedef struct Ark_Matrix4Result Ark_Matrix4Result; typedef struct Opt_Matrix4Result Opt_Matrix4Result; +typedef struct MeasurablePeer MeasurablePeer; +typedef struct MeasurablePeer* Ark_Measurable; +typedef struct Opt_Measurable Opt_Measurable; typedef struct Ark_MeasureResult Ark_MeasureResult; typedef struct Opt_MeasureResult Opt_MeasureResult; typedef struct Ark_MessageEvents Ark_MessageEvents; @@ -1844,6 +1967,8 @@ typedef struct Ark_NativeEmbedVisibilityInfo Ark_NativeEmbedVisibilityInfo; typedef struct Opt_NativeEmbedVisibilityInfo Opt_NativeEmbedVisibilityInfo; typedef struct Ark_NavContentInfo Ark_NavContentInfo; typedef struct Opt_NavContentInfo Opt_NavContentInfo; +typedef struct Ark_NavDestinationTransition Ark_NavDestinationTransition; +typedef struct Opt_NavDestinationTransition Opt_NavDestinationTransition; typedef struct Ark_NavigationAnimatedTransition Ark_NavigationAnimatedTransition; typedef struct Opt_NavigationAnimatedTransition Opt_NavigationAnimatedTransition; typedef struct Ark_NavigationInterception Ark_NavigationInterception; @@ -1856,11 +1981,10 @@ typedef struct Opt_NavigationTransitionProxy Opt_NavigationTransitionProxy; typedef struct NavPathInfoPeer NavPathInfoPeer; typedef struct NavPathInfoPeer* Ark_NavPathInfo; typedef struct Opt_NavPathInfo Opt_NavPathInfo; +typedef struct Ark_NestedScrollInfo Ark_NestedScrollInfo; +typedef struct Opt_NestedScrollInfo Opt_NestedScrollInfo; typedef struct Ark_NestedScrollOptionsExt Ark_NestedScrollOptionsExt; typedef struct Opt_NestedScrollOptionsExt Opt_NestedScrollOptionsExt; -typedef struct OffscreenCanvasRenderingContext2DPeer OffscreenCanvasRenderingContext2DPeer; -typedef struct OffscreenCanvasRenderingContext2DPeer* Ark_OffscreenCanvasRenderingContext2D; -typedef struct Opt_OffscreenCanvasRenderingContext2D Opt_OffscreenCanvasRenderingContext2D; typedef struct Ark_OnAlertEvent Ark_OnAlertEvent; typedef struct Opt_OnAlertEvent Opt_OnAlertEvent; typedef struct Ark_OnBeforeUnloadEvent Ark_OnBeforeUnloadEvent; @@ -1913,8 +2037,12 @@ typedef struct Ark_OnTouchIconUrlReceivedEvent Ark_OnTouchIconUrlReceivedEvent; typedef struct Opt_OnTouchIconUrlReceivedEvent Opt_OnTouchIconUrlReceivedEvent; typedef struct Ark_OnWindowNewEvent Ark_OnWindowNewEvent; typedef struct Opt_OnWindowNewEvent Opt_OnWindowNewEvent; +typedef struct Ark_Orientation Ark_Orientation; +typedef struct Opt_Orientation Opt_Orientation; typedef struct Ark_OverlayOffset Ark_OverlayOffset; typedef struct Opt_OverlayOffset Opt_OverlayOffset; +typedef struct Ark_PanGestureHandlerOptions Ark_PanGestureHandlerOptions; +typedef struct Opt_PanGestureHandlerOptions Opt_PanGestureHandlerOptions; typedef struct Ark_PasteButtonOptions Ark_PasteButtonOptions; typedef struct Opt_PasteButtonOptions Opt_PasteButtonOptions; typedef struct Ark_PasteEvent Ark_PasteEvent; @@ -1923,6 +2051,8 @@ typedef struct Ark_PathOptions Ark_PathOptions; typedef struct Opt_PathOptions Opt_PathOptions; typedef struct Ark_PathShapeOptions Ark_PathShapeOptions; typedef struct Opt_PathShapeOptions Opt_PathShapeOptions; +typedef struct Ark_PinchGestureHandlerOptions Ark_PinchGestureHandlerOptions; +typedef struct Opt_PinchGestureHandlerOptions Opt_PinchGestureHandlerOptions; typedef struct Ark_PixelRoundPolicy Ark_PixelRoundPolicy; typedef struct Opt_PixelRoundPolicy Opt_PixelRoundPolicy; typedef struct Ark_PluginComponentTemplate Ark_PluginComponentTemplate; @@ -1937,8 +2067,14 @@ typedef struct Ark_PolyToPolyOptions Ark_PolyToPolyOptions; typedef struct Opt_PolyToPolyOptions Opt_PolyToPolyOptions; typedef struct Ark_PopInfo Ark_PopInfo; typedef struct Opt_PopInfo Opt_PopInfo; +typedef struct Ark_PosterOptions Ark_PosterOptions; +typedef struct Opt_PosterOptions Opt_PosterOptions; typedef struct Ark_PostMessageOptions Ark_PostMessageOptions; typedef struct Opt_PostMessageOptions Opt_PostMessageOptions; +typedef struct Ark_PreviewConfiguration Ark_PreviewConfiguration; +typedef struct Opt_PreviewConfiguration Opt_PreviewConfiguration; +typedef struct Ark_PreviewMenuOptions Ark_PreviewMenuOptions; +typedef struct Opt_PreviewMenuOptions Opt_PreviewMenuOptions; typedef struct Ark_PreviewText Ark_PreviewText; typedef struct Opt_PreviewText Opt_PreviewText; typedef struct Ark_ProgressOptions Ark_ProgressOptions; @@ -1963,8 +2099,6 @@ typedef struct Ark_ResourceColor Ark_ResourceColor; typedef struct Opt_ResourceColor Opt_ResourceColor; typedef struct Ark_ResourceStr Ark_ResourceStr; typedef struct Opt_ResourceStr Opt_ResourceStr; -typedef struct Ark_RichEditorBuilderSpanOptions Ark_RichEditorBuilderSpanOptions; -typedef struct Opt_RichEditorBuilderSpanOptions Opt_RichEditorBuilderSpanOptions; typedef struct Ark_RichEditorDeleteValue Ark_RichEditorDeleteValue; typedef struct Opt_RichEditorDeleteValue Opt_RichEditorDeleteValue; typedef struct Ark_RichEditorGesture Ark_RichEditorGesture; @@ -1981,6 +2115,8 @@ typedef struct Ark_RotateOption Ark_RotateOption; typedef struct Opt_RotateOption Opt_RotateOption; typedef struct Ark_RotateOptions Ark_RotateOptions; typedef struct Opt_RotateOptions Opt_RotateOptions; +typedef struct Ark_RotationGestureHandlerOptions Ark_RotationGestureHandlerOptions; +typedef struct Opt_RotationGestureHandlerOptions Opt_RotationGestureHandlerOptions; typedef struct Ark_RoundedRectOptions Ark_RoundedRectOptions; typedef struct Opt_RoundedRectOptions Opt_RoundedRectOptions; typedef struct Ark_RoundRect Ark_RoundRect; @@ -1993,6 +2129,8 @@ typedef struct Ark_RouteMapConfig Ark_RouteMapConfig; typedef struct Opt_RouteMapConfig Opt_RouteMapConfig; typedef struct Ark_RowOptions Ark_RowOptions; typedef struct Opt_RowOptions Opt_RowOptions; +typedef struct Ark_RowOptionsV2 Ark_RowOptionsV2; +typedef struct Opt_RowOptionsV2 Opt_RowOptionsV2; typedef struct Ark_SaveButtonOptions Ark_SaveButtonOptions; typedef struct Opt_SaveButtonOptions Opt_SaveButtonOptions; typedef struct Ark_ScaleOption Ark_ScaleOption; @@ -2014,8 +2152,6 @@ typedef struct Ark_ScrollEdgeOptions Ark_ScrollEdgeOptions; typedef struct Opt_ScrollEdgeOptions Opt_ScrollEdgeOptions; typedef struct Ark_ScrollPageOptions Ark_ScrollPageOptions; typedef struct Opt_ScrollPageOptions Opt_ScrollPageOptions; -typedef struct Ark_SelectionMenuOptions Ark_SelectionMenuOptions; -typedef struct Opt_SelectionMenuOptions Opt_SelectionMenuOptions; typedef struct Ark_SelectionMenuOptionsExt Ark_SelectionMenuOptionsExt; typedef struct Opt_SelectionMenuOptionsExt Opt_SelectionMenuOptionsExt; typedef struct Ark_SelectionOptions Ark_SelectionOptions; @@ -2048,24 +2184,30 @@ typedef struct Ark_SurfaceRect Ark_SurfaceRect; typedef struct Opt_SurfaceRect Opt_SurfaceRect; typedef struct Ark_SurfaceRotationOptions Ark_SurfaceRotationOptions; typedef struct Opt_SurfaceRotationOptions Opt_SurfaceRotationOptions; +typedef struct Ark_SwipeGestureHandlerOptions Ark_SwipeGestureHandlerOptions; +typedef struct Opt_SwipeGestureHandlerOptions Opt_SwipeGestureHandlerOptions; typedef struct Ark_SwiperAutoFill Ark_SwiperAutoFill; typedef struct Opt_SwiperAutoFill Opt_SwiperAutoFill; typedef struct Ark_SwiperContentAnimatedTransition Ark_SwiperContentAnimatedTransition; typedef struct Opt_SwiperContentAnimatedTransition Opt_SwiperContentAnimatedTransition; +typedef struct Ark_SystemAdaptiveOptions Ark_SystemAdaptiveOptions; +typedef struct Opt_SystemAdaptiveOptions Opt_SystemAdaptiveOptions; typedef struct Ark_SystemBarStyle Ark_SystemBarStyle; typedef struct Opt_SystemBarStyle Opt_SystemBarStyle; typedef struct Ark_TabBarSymbol Ark_TabBarSymbol; typedef struct Opt_TabBarSymbol Opt_TabBarSymbol; typedef struct Ark_TabContentAnimatedTransition Ark_TabContentAnimatedTransition; typedef struct Opt_TabContentAnimatedTransition Opt_TabContentAnimatedTransition; -typedef struct Ark_TabsOptions Ark_TabsOptions; -typedef struct Opt_TabsOptions Opt_TabsOptions; typedef struct Ark_TapGestureParameters Ark_TapGestureParameters; typedef struct Opt_TapGestureParameters Opt_TapGestureParameters; typedef struct Ark_TextBox Ark_TextBox; typedef struct Opt_TextBox Opt_TextBox; typedef struct Ark_TextClockOptions Ark_TextClockOptions; typedef struct Opt_TextClockOptions Opt_TextClockOptions; +typedef struct Ark_TextContentControllerOptions Ark_TextContentControllerOptions; +typedef struct Opt_TextContentControllerOptions Opt_TextContentControllerOptions; +typedef struct Ark_TextMarqueeOptions Ark_TextMarqueeOptions; +typedef struct Opt_TextMarqueeOptions Opt_TextMarqueeOptions; typedef struct Ark_TextRange Ark_TextRange; typedef struct Opt_TextRange Opt_TextRange; typedef struct TextShadowStylePeer TextShadowStylePeer; @@ -2077,6 +2219,8 @@ typedef struct Ark_TextTimerOptions Ark_TextTimerOptions; typedef struct Opt_TextTimerOptions Opt_TextTimerOptions; typedef struct Ark_TimePickerOptions Ark_TimePickerOptions; typedef struct Opt_TimePickerOptions Opt_TimePickerOptions; +typedef struct Ark_TipsMessageType Ark_TipsMessageType; +typedef struct Opt_TipsMessageType Opt_TipsMessageType; typedef struct Ark_ToggleOptions Ark_ToggleOptions; typedef struct Opt_ToggleOptions Opt_ToggleOptions; typedef struct Ark_TouchObject Ark_TouchObject; @@ -2093,8 +2237,6 @@ typedef struct Ark_Tuple_ResourceColor_Number Ark_Tuple_ResourceColor_Number; typedef struct Opt_Tuple_ResourceColor_Number Opt_Tuple_ResourceColor_Number; typedef struct Ark_Type_CalendarInterface_callable0_value Ark_Type_CalendarInterface_callable0_value; typedef struct Opt_Type_CalendarInterface_callable0_value Opt_Type_CalendarInterface_callable0_value; -typedef struct Ark_Type_CommonMethod_linearGradient_value Ark_Type_CommonMethod_linearGradient_value; -typedef struct Opt_Type_CommonMethod_linearGradient_value Opt_Type_CommonMethod_linearGradient_value; typedef struct Ark_Type_GaugeAttribute_colors_colors Ark_Type_GaugeAttribute_colors_colors; typedef struct Opt_Type_GaugeAttribute_colors_colors Opt_Type_GaugeAttribute_colors_colors; typedef struct Ark_Type_PanGestureInterface_callable0_value Ark_Type_PanGestureInterface_callable0_value; @@ -2119,8 +2261,6 @@ typedef struct Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier Ark_Union_Boole typedef struct Opt_Union_Boolean_ResourceStr_SymbolGlyphModifier Opt_Union_Boolean_ResourceStr_SymbolGlyphModifier; typedef struct Ark_Union_BorderStyle_EdgeStyles Ark_Union_BorderStyle_EdgeStyles; typedef struct Opt_Union_BorderStyle_EdgeStyles Opt_Union_BorderStyle_EdgeStyles; -typedef struct Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext; -typedef struct Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext; typedef struct Ark_Union_Color_Number_String_Resource Ark_Union_Color_Number_String_Resource; typedef struct Opt_Union_Color_Number_String_Resource Opt_Union_Color_Number_String_Resource; typedef struct Ark_Union_Color_String_Resource Ark_Union_Color_String_Resource; @@ -2129,6 +2269,8 @@ typedef struct Ark_Union_Color_String_Resource_ColoringStrategy Ark_Union_Color_ typedef struct Opt_Union_Color_String_Resource_ColoringStrategy Opt_Union_Color_String_Resource_ColoringStrategy; typedef struct Ark_Union_Color_String_Resource_Number Ark_Union_Color_String_Resource_Number; typedef struct Opt_Union_Color_String_Resource_Number Opt_Union_Color_String_Resource_Number; +typedef struct Ark_Union_ColumnOptions_ColumnOptionsV2 Ark_Union_ColumnOptions_ColumnOptionsV2; +typedef struct Opt_Union_ColumnOptions_ColumnOptionsV2 Opt_Union_ColumnOptions_ColumnOptionsV2; typedef struct Ark_Union_CustomBuilder_DragItemInfo Ark_Union_CustomBuilder_DragItemInfo; typedef struct Opt_Union_CustomBuilder_DragItemInfo Opt_Union_CustomBuilder_DragItemInfo; typedef struct Ark_Union_CustomBuilder_DragItemInfo_String Ark_Union_CustomBuilder_DragItemInfo_String; @@ -2141,6 +2283,8 @@ typedef struct Ark_Union_EdgeStyles_BorderStyle Ark_Union_EdgeStyles_BorderStyle typedef struct Opt_Union_EdgeStyles_BorderStyle Opt_Union_EdgeStyles_BorderStyle; typedef struct Ark_Union_ImageBitmap_PixelMap Ark_Union_ImageBitmap_PixelMap; typedef struct Opt_Union_ImageBitmap_PixelMap Opt_Union_ImageBitmap_PixelMap; +typedef struct Ark_Union_LengthMetrics_String Ark_Union_LengthMetrics_String; +typedef struct Opt_Union_LengthMetrics_String Opt_Union_LengthMetrics_String; typedef struct Ark_Union_MenuPreviewMode_CustomBuilder Ark_Union_MenuPreviewMode_CustomBuilder; typedef struct Opt_Union_MenuPreviewMode_CustomBuilder Opt_Union_MenuPreviewMode_CustomBuilder; typedef struct Ark_Union_NestedScrollOptions_NestedScrollOptionsExt Ark_Union_NestedScrollOptions_NestedScrollOptionsExt; @@ -2179,6 +2323,8 @@ typedef struct Ark_Union_PX_VP_LPX_Resource Ark_Union_PX_VP_LPX_Resource; typedef struct Opt_Union_PX_VP_LPX_Resource Opt_Union_PX_VP_LPX_Resource; typedef struct Ark_Union_Resource_String Ark_Union_Resource_String; typedef struct Opt_Union_Resource_String Opt_Union_Resource_String; +typedef struct Ark_Union_ResourceColor_ColorContent Ark_Union_ResourceColor_ColorContent; +typedef struct Opt_Union_ResourceColor_ColorContent Opt_Union_ResourceColor_ColorContent; typedef struct Ark_Union_ResourceColor_ColoringStrategy Ark_Union_ResourceColor_ColoringStrategy; typedef struct Opt_Union_ResourceColor_ColoringStrategy Opt_Union_ResourceColor_ColoringStrategy; typedef struct Ark_Union_ResourceColor_LinearGradient Ark_Union_ResourceColor_LinearGradient; @@ -2197,6 +2343,8 @@ typedef struct Ark_Union_ResourceStr_TabBarSymbol Ark_Union_ResourceStr_TabBarSy typedef struct Opt_Union_ResourceStr_TabBarSymbol Opt_Union_ResourceStr_TabBarSymbol; typedef struct Ark_Union_ResourceStr_Union_ResourceStr_ComponentContent Ark_Union_ResourceStr_Union_ResourceStr_ComponentContent; typedef struct Opt_Union_ResourceStr_Union_ResourceStr_ComponentContent Opt_Union_ResourceStr_Union_ResourceStr_ComponentContent; +typedef struct Ark_Union_RowOptions_RowOptionsV2 Ark_Union_RowOptions_RowOptionsV2; +typedef struct Opt_Union_RowOptions_RowOptionsV2 Opt_Union_RowOptions_RowOptionsV2; typedef struct Ark_Union_ScrollAnimationOptions_Boolean Ark_Union_ScrollAnimationOptions_Boolean; typedef struct Opt_Union_ScrollAnimationOptions_Boolean Opt_Union_ScrollAnimationOptions_Boolean; typedef struct Ark_Union_String_Array_String Ark_Union_String_Array_String; @@ -2223,12 +2371,13 @@ typedef struct Ark_Union_String_Resource_PixelMap Ark_Union_String_Resource_Pixe typedef struct Opt_Union_String_Resource_PixelMap Opt_Union_String_Resource_PixelMap; typedef struct Ark_Union_String_WebResourceRequest Ark_Union_String_WebResourceRequest; typedef struct Opt_Union_String_WebResourceRequest Opt_Union_String_WebResourceRequest; -typedef struct Ark_Union_TitleHeight_Length Ark_Union_TitleHeight_Length; -typedef struct Opt_Union_TitleHeight_Length Opt_Union_TitleHeight_Length; typedef struct Ark_Union_WebController_WebviewController Ark_Union_WebController_WebviewController; typedef struct Opt_Union_WebController_WebviewController Opt_Union_WebController_WebviewController; typedef struct Ark_ViewportRect Ark_ViewportRect; typedef struct Opt_ViewportRect Opt_ViewportRect; +typedef struct VirtualScrollOptionsPeer VirtualScrollOptionsPeer; +typedef struct VirtualScrollOptionsPeer* Ark_VirtualScrollOptions; +typedef struct Opt_VirtualScrollOptions Opt_VirtualScrollOptions; typedef struct Ark_VisibleAreaEventOptions Ark_VisibleAreaEventOptions; typedef struct Opt_VisibleAreaEventOptions Opt_VisibleAreaEventOptions; typedef struct Ark_VisibleListContentInfo Ark_VisibleListContentInfo; @@ -2264,38 +2413,24 @@ typedef struct Ark_AlignRuleOption Ark_AlignRuleOption; typedef struct Opt_AlignRuleOption Opt_AlignRuleOption; typedef struct Ark_AnimateParam Ark_AnimateParam; typedef struct Opt_AnimateParam Opt_AnimateParam; -typedef struct Ark_ArrowStyle Ark_ArrowStyle; -typedef struct Opt_ArrowStyle Opt_ArrowStyle; typedef struct Ark_BackgroundBlurStyleOptions Ark_BackgroundBlurStyleOptions; typedef struct Opt_BackgroundBlurStyleOptions Opt_BackgroundBlurStyleOptions; typedef struct Ark_BackgroundEffectOptions Ark_BackgroundEffectOptions; typedef struct Opt_BackgroundEffectOptions Opt_BackgroundEffectOptions; -typedef struct Ark_BadgeStyle Ark_BadgeStyle; -typedef struct Opt_BadgeStyle Opt_BadgeStyle; -typedef struct Ark_BarGridColumnOptions Ark_BarGridColumnOptions; -typedef struct Opt_BarGridColumnOptions Opt_BarGridColumnOptions; -typedef struct Ark_BoardStyle Ark_BoardStyle; -typedef struct Opt_BoardStyle Opt_BoardStyle; -typedef struct Ark_BorderRadiuses Ark_BorderRadiuses; -typedef struct Opt_BorderRadiuses Opt_BorderRadiuses; typedef struct Ark_ButtonIconOptions Ark_ButtonIconOptions; typedef struct Opt_ButtonIconOptions Opt_ButtonIconOptions; typedef struct Ark_CalendarOptions Ark_CalendarOptions; typedef struct Opt_CalendarOptions Opt_CalendarOptions; -typedef struct Ark_CaretStyle Ark_CaretStyle; -typedef struct Opt_CaretStyle Opt_CaretStyle; -typedef struct Ark_ChainAnimationOptions Ark_ChainAnimationOptions; -typedef struct Opt_ChainAnimationOptions Opt_ChainAnimationOptions; +typedef struct CanvasRendererPeer CanvasRendererPeer; +typedef struct CanvasRendererPeer* Ark_CanvasRenderer; +typedef struct Opt_CanvasRenderer Opt_CanvasRenderer; +typedef struct CanvasRenderingContext2DPeer CanvasRenderingContext2DPeer; +typedef struct CanvasRenderingContext2DPeer* Ark_CanvasRenderingContext2D; +typedef struct Opt_CanvasRenderingContext2D Opt_CanvasRenderingContext2D; typedef struct Ark_CircleStyleOptions Ark_CircleStyleOptions; typedef struct Opt_CircleStyleOptions Opt_CircleStyleOptions; -typedef struct Ark_ColorStop Ark_ColorStop; -typedef struct Opt_ColorStop Opt_ColorStop; -typedef struct Ark_ColumnSplitDividerStyle Ark_ColumnSplitDividerStyle; -typedef struct Opt_ColumnSplitDividerStyle Opt_ColumnSplitDividerStyle; typedef struct Ark_ComponentInfo Ark_ComponentInfo; typedef struct Opt_ComponentInfo Opt_ComponentInfo; -typedef struct Ark_ConstraintSizeOptions Ark_ConstraintSizeOptions; -typedef struct Opt_ConstraintSizeOptions Opt_ConstraintSizeOptions; typedef struct Ark_ContentCoverOptions Ark_ContentCoverOptions; typedef struct Opt_ContentCoverOptions Opt_ContentCoverOptions; typedef struct Ark_ContextMenuAnimationOptions Ark_ContextMenuAnimationOptions; @@ -2315,24 +2450,14 @@ typedef struct Ark_DecorationStyleInterface Ark_DecorationStyleInterface; typedef struct Opt_DecorationStyleInterface Opt_DecorationStyleInterface; typedef struct Ark_DecorationStyleResult Ark_DecorationStyleResult; typedef struct Opt_DecorationStyleResult Opt_DecorationStyleResult; -typedef struct Ark_DividerOptions Ark_DividerOptions; -typedef struct Opt_DividerOptions Opt_DividerOptions; -typedef struct Ark_DividerStyle Ark_DividerStyle; -typedef struct Opt_DividerStyle Opt_DividerStyle; +typedef struct Ark_Dimension Ark_Dimension; +typedef struct Opt_Dimension Opt_Dimension; typedef struct Ark_DividerStyleOptions Ark_DividerStyleOptions; typedef struct Opt_DividerStyleOptions Opt_DividerStyleOptions; -typedef struct Ark_DotIndicator Ark_DotIndicator; -typedef struct Opt_DotIndicator Opt_DotIndicator; typedef struct Ark_DragPreviewOptions Ark_DragPreviewOptions; typedef struct Opt_DragPreviewOptions Opt_DragPreviewOptions; typedef struct Ark_EdgeColors Ark_EdgeColors; typedef struct Opt_EdgeColors Opt_EdgeColors; -typedef struct Ark_EdgeOutlineWidths Ark_EdgeOutlineWidths; -typedef struct Opt_EdgeOutlineWidths Opt_EdgeOutlineWidths; -typedef struct Ark_Edges Ark_Edges; -typedef struct Opt_Edges Opt_Edges; -typedef struct Ark_EdgeWidths Ark_EdgeWidths; -typedef struct Opt_EdgeWidths Opt_EdgeWidths; typedef struct Ark_ExpandedMenuItemOptions Ark_ExpandedMenuItemOptions; typedef struct Opt_ExpandedMenuItemOptions Opt_ExpandedMenuItemOptions; typedef struct Ark_FadingEdgeOptions Ark_FadingEdgeOptions; @@ -2341,46 +2466,30 @@ typedef struct Ark_FlexSpaceOptions Ark_FlexSpaceOptions; typedef struct Opt_FlexSpaceOptions Opt_FlexSpaceOptions; typedef struct Ark_FocusBoxStyle Ark_FocusBoxStyle; typedef struct Opt_FocusBoxStyle Opt_FocusBoxStyle; -typedef struct Ark_Font Ark_Font; -typedef struct Opt_Font Opt_Font; typedef struct Ark_FontOptions Ark_FontOptions; typedef struct Opt_FontOptions Opt_FontOptions; typedef struct Ark_ForegroundBlurStyleOptions Ark_ForegroundBlurStyleOptions; typedef struct Opt_ForegroundBlurStyleOptions Opt_ForegroundBlurStyleOptions; typedef struct Ark_FormInfo Ark_FormInfo; typedef struct Opt_FormInfo Opt_FormInfo; -typedef struct Ark_GaugeIndicatorOptions Ark_GaugeIndicatorOptions; -typedef struct Opt_GaugeIndicatorOptions Opt_GaugeIndicatorOptions; typedef struct Ark_GaugeShadowOptions Ark_GaugeShadowOptions; typedef struct Opt_GaugeShadowOptions Opt_GaugeShadowOptions; typedef struct Ark_GridColOptions Ark_GridColOptions; typedef struct Opt_GridColOptions Opt_GridColOptions; -typedef struct Ark_GridRowSizeOption Ark_GridRowSizeOption; -typedef struct Opt_GridRowSizeOption Opt_GridRowSizeOption; -typedef struct Ark_GuideLinePosition Ark_GuideLinePosition; -typedef struct Opt_GuideLinePosition Opt_GuideLinePosition; -typedef struct Ark_GuideLineStyle Ark_GuideLineStyle; -typedef struct Opt_GuideLineStyle Opt_GuideLineStyle; typedef struct Ark_HistoricalPoint Ark_HistoricalPoint; typedef struct Opt_HistoricalPoint Opt_HistoricalPoint; -typedef struct Ark_IconOptions Ark_IconOptions; -typedef struct Opt_IconOptions Opt_IconOptions; typedef struct Ark_ImageFrameInfo Ark_ImageFrameInfo; typedef struct Opt_ImageFrameInfo Opt_ImageFrameInfo; -typedef struct Ark_IndicatorStyle Ark_IndicatorStyle; -typedef struct Opt_IndicatorStyle Opt_IndicatorStyle; typedef struct Ark_JavaScriptProxy Ark_JavaScriptProxy; typedef struct Opt_JavaScriptProxy Opt_JavaScriptProxy; +typedef struct Ark_Length Ark_Length; +typedef struct Opt_Length Opt_Length; typedef struct Ark_LengthConstrain Ark_LengthConstrain; typedef struct Opt_LengthConstrain Opt_LengthConstrain; typedef struct Ark_LightSource Ark_LightSource; typedef struct Opt_LightSource Opt_LightSource; typedef struct Ark_LinearIndicatorStyle Ark_LinearIndicatorStyle; typedef struct Opt_LinearIndicatorStyle Opt_LinearIndicatorStyle; -typedef struct Ark_LinearStyleOptions Ark_LinearStyleOptions; -typedef struct Opt_LinearStyleOptions Opt_LinearStyleOptions; -typedef struct Ark_ListDividerOptions Ark_ListDividerOptions; -typedef struct Opt_ListDividerOptions Opt_ListDividerOptions; typedef struct Ark_Literal__want Ark_Literal__want; typedef struct Opt_Literal__want Opt_Literal__want; typedef struct Ark_Literal_Number_code__want Ark_Literal_Number_code__want; @@ -2409,8 +2518,6 @@ typedef struct Ark_LocalizedPosition Ark_LocalizedPosition; typedef struct Opt_LocalizedPosition Opt_LocalizedPosition; typedef struct Ark_LunarSwitchStyle Ark_LunarSwitchStyle; typedef struct Opt_LunarSwitchStyle Opt_LunarSwitchStyle; -typedef struct Ark_MarkStyle Ark_MarkStyle; -typedef struct Opt_MarkStyle Opt_MarkStyle; typedef struct Ark_MeasureOptions Ark_MeasureOptions; typedef struct Opt_MeasureOptions Opt_MeasureOptions; typedef struct Ark_MenuElement Ark_MenuElement; @@ -2422,83 +2529,63 @@ typedef struct Ark_MenuItemGroupOptions Ark_MenuItemGroupOptions; typedef struct Opt_MenuItemGroupOptions Opt_MenuItemGroupOptions; typedef struct Ark_MenuItemOptions Ark_MenuItemOptions; typedef struct Opt_MenuItemOptions Opt_MenuItemOptions; +typedef struct Ark_NativeXComponentParameters Ark_NativeXComponentParameters; +typedef struct Opt_NativeXComponentParameters Opt_NativeXComponentParameters; typedef struct Ark_NavDestinationCommonTitle Ark_NavDestinationCommonTitle; typedef struct Opt_NavDestinationCommonTitle Opt_NavDestinationCommonTitle; typedef struct NavDestinationContextPeer NavDestinationContextPeer; typedef struct NavDestinationContextPeer* Ark_NavDestinationContext; typedef struct Opt_NavDestinationContext Opt_NavDestinationContext; -typedef struct Ark_NavDestinationCustomTitle Ark_NavDestinationCustomTitle; -typedef struct Opt_NavDestinationCustomTitle Opt_NavDestinationCustomTitle; typedef struct Ark_NavigationCommonTitle Ark_NavigationCommonTitle; typedef struct Opt_NavigationCommonTitle Opt_NavigationCommonTitle; -typedef struct Ark_NavigationCustomTitle Ark_NavigationCustomTitle; -typedef struct Opt_NavigationCustomTitle Opt_NavigationCustomTitle; typedef struct Ark_NavigationMenuItem Ark_NavigationMenuItem; typedef struct Opt_NavigationMenuItem Opt_NavigationMenuItem; -typedef struct Ark_NavigationTitleOptions Ark_NavigationTitleOptions; -typedef struct Opt_NavigationTitleOptions Opt_NavigationTitleOptions; -typedef struct Ark_NavigationToolbarOptions Ark_NavigationToolbarOptions; -typedef struct Opt_NavigationToolbarOptions Opt_NavigationToolbarOptions; typedef struct Ark_NonCurrentDayStyle Ark_NonCurrentDayStyle; typedef struct Opt_NonCurrentDayStyle Opt_NonCurrentDayStyle; +typedef struct OffscreenCanvasRenderingContext2DPeer OffscreenCanvasRenderingContext2DPeer; +typedef struct OffscreenCanvasRenderingContext2DPeer* Ark_OffscreenCanvasRenderingContext2D; +typedef struct Opt_OffscreenCanvasRenderingContext2D Opt_OffscreenCanvasRenderingContext2D; typedef struct Ark_Offset Ark_Offset; typedef struct Opt_Offset Opt_Offset; -typedef struct Ark_OffsetOptions Ark_OffsetOptions; -typedef struct Opt_OffsetOptions Opt_OffsetOptions; -typedef struct Ark_OutlineRadiuses Ark_OutlineRadiuses; -typedef struct Opt_OutlineRadiuses Opt_OutlineRadiuses; typedef struct Ark_OverlayOptions Ark_OverlayOptions; typedef struct Opt_OverlayOptions Opt_OverlayOptions; -typedef struct Ark_Padding Ark_Padding; -typedef struct Opt_Padding Opt_Padding; typedef struct Ark_PasswordIcon Ark_PasswordIcon; typedef struct Opt_PasswordIcon Opt_PasswordIcon; -typedef struct Ark_PixelStretchEffectOptions Ark_PixelStretchEffectOptions; -typedef struct Opt_PixelStretchEffectOptions Opt_PixelStretchEffectOptions; typedef struct Ark_PluginComponentOptions Ark_PluginComponentOptions; typedef struct Opt_PluginComponentOptions Opt_PluginComponentOptions; -typedef struct Ark_Position Ark_Position; -typedef struct Opt_Position Opt_Position; -typedef struct Ark_ProgressStyleOptions Ark_ProgressStyleOptions; -typedef struct Opt_ProgressStyleOptions Opt_ProgressStyleOptions; typedef struct Ark_RadioStyle Ark_RadioStyle; typedef struct Opt_RadioStyle Opt_RadioStyle; -typedef struct Ark_Rectangle Ark_Rectangle; -typedef struct Opt_Rectangle Opt_Rectangle; typedef struct Ark_RectOptions Ark_RectOptions; typedef struct Opt_RectOptions Opt_RectOptions; typedef struct Ark_RectShapeOptions Ark_RectShapeOptions; typedef struct Opt_RectShapeOptions Opt_RectShapeOptions; typedef struct Ark_RefreshOptions Ark_RefreshOptions; typedef struct Opt_RefreshOptions Opt_RefreshOptions; -typedef struct RenderNodePeer RenderNodePeer; -typedef struct RenderNodePeer* Ark_RenderNode; -typedef struct Opt_RenderNode Opt_RenderNode; typedef struct RestrictedWorkerPeer RestrictedWorkerPeer; typedef struct RestrictedWorkerPeer* Ark_RestrictedWorker; typedef struct Opt_RestrictedWorker Opt_RestrictedWorker; +typedef struct Ark_ReuseOptions Ark_ReuseOptions; +typedef struct Opt_ReuseOptions Opt_ReuseOptions; +typedef struct Ark_RichEditorBuilderSpanOptions Ark_RichEditorBuilderSpanOptions; +typedef struct Opt_RichEditorBuilderSpanOptions Opt_RichEditorBuilderSpanOptions; typedef struct Ark_RichEditorChangeValue Ark_RichEditorChangeValue; typedef struct Opt_RichEditorChangeValue Opt_RichEditorChangeValue; typedef struct Ark_RichEditorSymbolSpanStyle Ark_RichEditorSymbolSpanStyle; typedef struct Opt_RichEditorSymbolSpanStyle Opt_RichEditorSymbolSpanStyle; -typedef struct Ark_RichEditorTextStyleResult Ark_RichEditorTextStyleResult; -typedef struct Opt_RichEditorTextStyleResult Opt_RichEditorTextStyleResult; typedef struct Ark_RichEditorUpdateSymbolSpanStyleOptions Ark_RichEditorUpdateSymbolSpanStyleOptions; typedef struct Opt_RichEditorUpdateSymbolSpanStyleOptions Opt_RichEditorUpdateSymbolSpanStyleOptions; -typedef struct Ark_RingStyleOptions Ark_RingStyleOptions; -typedef struct Opt_RingStyleOptions Opt_RingStyleOptions; +typedef struct Ark_RichEditorUrlStyle Ark_RichEditorUrlStyle; +typedef struct Opt_RichEditorUrlStyle Opt_RichEditorUrlStyle; typedef struct Ark_SceneOptions Ark_SceneOptions; typedef struct Opt_SceneOptions Opt_SceneOptions; -typedef struct Ark_ScrollableBarModeOptions Ark_ScrollableBarModeOptions; -typedef struct Opt_ScrollableBarModeOptions Opt_ScrollableBarModeOptions; typedef struct Ark_ScrollOptions Ark_ScrollOptions; typedef struct Opt_ScrollOptions Opt_ScrollOptions; typedef struct Ark_ScrollToIndexOptions Ark_ScrollToIndexOptions; typedef struct Opt_ScrollToIndexOptions Opt_ScrollToIndexOptions; -typedef struct Ark_SearchButtonOptions Ark_SearchButtonOptions; -typedef struct Opt_SearchButtonOptions Opt_SearchButtonOptions; typedef struct Ark_SearchOptions Ark_SearchOptions; typedef struct Opt_SearchOptions Opt_SearchOptions; +typedef struct Ark_SelectionMenuOptions Ark_SelectionMenuOptions; +typedef struct Opt_SelectionMenuOptions Opt_SelectionMenuOptions; typedef struct Ark_SelectOption Ark_SelectOption; typedef struct Opt_SelectOption Opt_SelectOption; typedef struct Ark_ShadowOptions Ark_ShadowOptions; @@ -2509,26 +2596,26 @@ typedef struct Ark_SheetInfo Ark_SheetInfo; typedef struct Opt_SheetInfo Opt_SheetInfo; typedef struct Ark_SheetTitleOptions Ark_SheetTitleOptions; typedef struct Opt_SheetTitleOptions Opt_SheetTitleOptions; -typedef struct Ark_SizeOptions Ark_SizeOptions; -typedef struct Opt_SizeOptions Opt_SizeOptions; typedef struct Ark_SliderBlockStyle Ark_SliderBlockStyle; typedef struct Opt_SliderBlockStyle Opt_SliderBlockStyle; typedef struct Ark_StyledStringChangeValue Ark_StyledStringChangeValue; typedef struct Opt_StyledStringChangeValue Opt_StyledStringChangeValue; -typedef struct Ark_SwipeActionItem Ark_SwipeActionItem; -typedef struct Opt_SwipeActionItem Opt_SwipeActionItem; typedef struct Ark_SwitchStyle Ark_SwitchStyle; typedef struct Opt_SwitchStyle Opt_SwitchStyle; typedef struct Ark_TabBarIconStyle Ark_TabBarIconStyle; typedef struct Opt_TabBarIconStyle Opt_TabBarIconStyle; typedef struct Ark_TabBarOptions Ark_TabBarOptions; typedef struct Opt_TabBarOptions Opt_TabBarOptions; +typedef struct Ark_TabsOptions Ark_TabsOptions; +typedef struct Opt_TabsOptions Opt_TabsOptions; typedef struct Ark_TerminationInfo Ark_TerminationInfo; typedef struct Opt_TerminationInfo Opt_TerminationInfo; typedef struct Ark_TextAreaOptions Ark_TextAreaOptions; typedef struct Opt_TextAreaOptions Opt_TextAreaOptions; typedef struct Ark_TextCascadePickerRangeContent Ark_TextCascadePickerRangeContent; typedef struct Opt_TextCascadePickerRangeContent Opt_TextCascadePickerRangeContent; +typedef struct Ark_TextChangeOptions Ark_TextChangeOptions; +typedef struct Opt_TextChangeOptions Opt_TextChangeOptions; typedef struct Ark_TextDecorationOptions Ark_TextDecorationOptions; typedef struct Opt_TextDecorationOptions Opt_TextDecorationOptions; typedef struct Ark_TextInputOptions Ark_TextInputOptions; @@ -2562,104 +2649,34 @@ typedef struct Ark_Tuple_Length_Length Ark_Tuple_Length_Length; typedef struct Opt_Tuple_Length_Length Opt_Tuple_Length_Length; typedef struct Ark_Tuple_Union_ResourceColor_LinearGradient_Number Ark_Tuple_Union_ResourceColor_LinearGradient_Number; typedef struct Opt_Tuple_Union_ResourceColor_LinearGradient_Number Opt_Tuple_Union_ResourceColor_LinearGradient_Number; -typedef struct Ark_Type_CommonMethod_radialGradient_value Ark_Type_CommonMethod_radialGradient_value; -typedef struct Opt_Type_CommonMethod_radialGradient_value Opt_Type_CommonMethod_radialGradient_value; -typedef struct Ark_Type_CommonMethod_sweepGradient_value Ark_Type_CommonMethod_sweepGradient_value; -typedef struct Opt_Type_CommonMethod_sweepGradient_value Opt_Type_CommonMethod_sweepGradient_value; -typedef struct Ark_Type_NavDestinationAttribute_title_value Ark_Type_NavDestinationAttribute_title_value; -typedef struct Opt_Type_NavDestinationAttribute_title_value Opt_Type_NavDestinationAttribute_title_value; -typedef struct Ark_Type_NavigationAttribute_title_value Ark_Type_NavigationAttribute_title_value; -typedef struct Opt_Type_NavigationAttribute_title_value Opt_Type_NavigationAttribute_title_value; typedef struct Ark_Type_XComponentInterface_callable0_value Ark_Type_XComponentInterface_callable0_value; typedef struct Opt_Type_XComponentInterface_callable0_value Opt_Type_XComponentInterface_callable0_value; typedef struct Ark_Type_XComponentInterface_callable1_value Ark_Type_XComponentInterface_callable1_value; typedef struct Opt_Type_XComponentInterface_callable1_value Opt_Type_XComponentInterface_callable1_value; typedef struct Ark_UnderlineColor Ark_UnderlineColor; typedef struct Opt_UnderlineColor Opt_UnderlineColor; -typedef struct Ark_Union_Array_Rectangle_Rectangle Ark_Union_Array_Rectangle_Rectangle; -typedef struct Opt_Union_Array_Rectangle_Rectangle Opt_Union_Array_Rectangle_Rectangle; -typedef struct Ark_Union_ArrowStyle_Boolean Ark_Union_ArrowStyle_Boolean; -typedef struct Opt_Union_ArrowStyle_Boolean Opt_Union_ArrowStyle_Boolean; -typedef struct Ark_Union_BadgePosition_Position Ark_Union_BadgePosition_Position; -typedef struct Opt_Union_BadgePosition_Position Opt_Union_BadgePosition_Position; typedef struct Ark_Union_Boolean_Literal_ResourceColor_color Ark_Union_Boolean_Literal_ResourceColor_color; typedef struct Opt_Union_Boolean_Literal_ResourceColor_color Opt_Union_Boolean_Literal_ResourceColor_color; -typedef struct Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses; -typedef struct Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses; -typedef struct Ark_Union_CustomBuilder_SwipeActionItem Ark_Union_CustomBuilder_SwipeActionItem; -typedef struct Opt_Union_CustomBuilder_SwipeActionItem Opt_Union_CustomBuilder_SwipeActionItem; +typedef struct Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext; +typedef struct Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext; typedef struct Ark_Union_Dimension_Array_Dimension Ark_Union_Dimension_Array_Dimension; typedef struct Opt_Union_Dimension_Array_Dimension Opt_Union_Dimension_Array_Dimension; -typedef struct Ark_Union_Dimension_BorderRadiuses Ark_Union_Dimension_BorderRadiuses; -typedef struct Opt_Union_Dimension_BorderRadiuses Opt_Union_Dimension_BorderRadiuses; -typedef struct Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses; -typedef struct Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses; -typedef struct Ark_Union_Dimension_EdgeOutlineWidths Ark_Union_Dimension_EdgeOutlineWidths; -typedef struct Opt_Union_Dimension_EdgeOutlineWidths Opt_Union_Dimension_EdgeOutlineWidths; -typedef struct Ark_Union_Dimension_EdgeWidths Ark_Union_Dimension_EdgeWidths; -typedef struct Opt_Union_Dimension_EdgeWidths Opt_Union_Dimension_EdgeWidths; -typedef struct Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths; -typedef struct Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths; -typedef struct Ark_Union_Dimension_Margin Ark_Union_Dimension_Margin; -typedef struct Opt_Union_Dimension_Margin Opt_Union_Dimension_Margin; typedef struct Ark_Union_Dimension_OptionWidthMode Ark_Union_Dimension_OptionWidthMode; typedef struct Opt_Union_Dimension_OptionWidthMode Opt_Union_Dimension_OptionWidthMode; -typedef struct Ark_Union_Dimension_OutlineRadiuses Ark_Union_Dimension_OutlineRadiuses; -typedef struct Opt_Union_Dimension_OutlineRadiuses Opt_Union_Dimension_OutlineRadiuses; typedef struct Ark_Union_Dimension_PanelHeight Ark_Union_Dimension_PanelHeight; typedef struct Opt_Union_Dimension_PanelHeight Opt_Union_Dimension_PanelHeight; typedef struct Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors; typedef struct Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors; -typedef struct Ark_Union_EdgeOutlineWidths_Dimension Ark_Union_EdgeOutlineWidths_Dimension; -typedef struct Opt_Union_EdgeOutlineWidths_Dimension Opt_Union_EdgeOutlineWidths_Dimension; -typedef struct Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths; -typedef struct Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths; -typedef struct Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths; -typedef struct Opt_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths Opt_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths; -typedef struct Ark_Union_IconOptions_SymbolGlyphModifier Ark_Union_IconOptions_SymbolGlyphModifier; -typedef struct Opt_Union_IconOptions_SymbolGlyphModifier Opt_Union_IconOptions_SymbolGlyphModifier; -typedef struct Ark_Union_Length_BorderRadiuses Ark_Union_Length_BorderRadiuses; -typedef struct Opt_Union_Length_BorderRadiuses Opt_Union_Length_BorderRadiuses; -typedef struct Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses; -typedef struct Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses; -typedef struct Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths; -typedef struct Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths; -typedef struct Ark_Union_Length_GridRowSizeOption Ark_Union_Length_GridRowSizeOption; -typedef struct Opt_Union_Length_GridRowSizeOption Opt_Union_Length_GridRowSizeOption; +typedef struct Ark_Union_Length_LayoutPolicy Ark_Union_Length_LayoutPolicy; +typedef struct Opt_Union_Length_LayoutPolicy Opt_Union_Length_LayoutPolicy; typedef struct Ark_Union_Length_Number Ark_Union_Length_Number; typedef struct Opt_Union_Length_Number Opt_Union_Length_Number; -typedef struct Ark_Union_LengthMetrics_BorderRadiuses Ark_Union_LengthMetrics_BorderRadiuses; -typedef struct Opt_Union_LengthMetrics_BorderRadiuses Opt_Union_LengthMetrics_BorderRadiuses; -typedef struct Ark_Union_LengthMetrics_Margin Ark_Union_LengthMetrics_Margin; -typedef struct Opt_Union_LengthMetrics_Margin Opt_Union_LengthMetrics_Margin; -typedef struct Ark_Union_LengthMetrics_Padding Ark_Union_LengthMetrics_Padding; -typedef struct Opt_Union_LengthMetrics_Padding Opt_Union_LengthMetrics_Padding; -typedef struct Ark_Union_Margin_Dimension Ark_Union_Margin_Dimension; -typedef struct Opt_Union_Margin_Dimension Opt_Union_Margin_Dimension; -typedef struct Ark_Union_Margin_Length_LocalizedMargin Ark_Union_Margin_Length_LocalizedMargin; -typedef struct Opt_Union_Margin_Length_LocalizedMargin Opt_Union_Margin_Length_LocalizedMargin; typedef struct Ark_Union_MenuItemOptions_CustomBuilder Ark_Union_MenuItemOptions_CustomBuilder; typedef struct Opt_Union_MenuItemOptions_CustomBuilder Opt_Union_MenuItemOptions_CustomBuilder; typedef struct Ark_Union_NavDestinationContext_NavBar Ark_Union_NavDestinationContext_NavBar; typedef struct Opt_Union_NavDestinationContext_NavBar Opt_Union_NavDestinationContext_NavBar; typedef struct Ark_Union_Number_LengthConstrain Ark_Union_Number_LengthConstrain; typedef struct Opt_Union_Number_LengthConstrain Opt_Union_Number_LengthConstrain; -typedef struct Ark_Union_OutlineRadiuses_Dimension Ark_Union_OutlineRadiuses_Dimension; -typedef struct Opt_Union_OutlineRadiuses_Dimension Opt_Union_OutlineRadiuses_Dimension; -typedef struct Ark_Union_Padding_Dimension Ark_Union_Padding_Dimension; -typedef struct Opt_Union_Padding_Dimension Opt_Union_Padding_Dimension; -typedef struct Ark_Union_Padding_Dimension_LocalizedPadding Ark_Union_Padding_Dimension_LocalizedPadding; -typedef struct Opt_Union_Padding_Dimension_LocalizedPadding Opt_Union_Padding_Dimension_LocalizedPadding; -typedef struct Ark_Union_Padding_Length_LocalizedPadding Ark_Union_Padding_Length_LocalizedPadding; -typedef struct Opt_Union_Padding_Length_LocalizedPadding Opt_Union_Padding_Length_LocalizedPadding; -typedef struct Ark_Union_Padding_LengthMetrics_LocalizedPadding Ark_Union_Padding_LengthMetrics_LocalizedPadding; -typedef struct Opt_Union_Padding_LengthMetrics_LocalizedPadding Opt_Union_Padding_LengthMetrics_LocalizedPadding; -typedef struct Ark_Union_Position_Alignment Ark_Union_Position_Alignment; -typedef struct Opt_Union_Position_Alignment Opt_Union_Position_Alignment; -typedef struct Ark_Union_Position_Edges_LocalizedEdges Ark_Union_Position_Edges_LocalizedEdges; -typedef struct Opt_Union_Position_Edges_LocalizedEdges Opt_Union_Position_Edges_LocalizedEdges; -typedef struct Ark_Union_Position_LocalizedPosition Ark_Union_Position_LocalizedPosition; -typedef struct Opt_Union_Position_LocalizedPosition Opt_Union_Position_LocalizedPosition; typedef struct Ark_Union_RectOptions_RoundedRectOptions Ark_Union_RectOptions_RoundedRectOptions; typedef struct Opt_Union_RectOptions_RoundedRectOptions Opt_Union_RectOptions_RoundedRectOptions; typedef struct Ark_Union_RectShapeOptions_RoundRectShapeOptions Ark_Union_RectShapeOptions_RoundRectShapeOptions; @@ -2678,14 +2695,12 @@ typedef struct Ark_Union_SheetSize_Length Ark_Union_SheetSize_Length; typedef struct Opt_Union_SheetSize_Length Opt_Union_SheetSize_Length; typedef struct Ark_Union_SheetTitleOptions_CustomBuilder Ark_Union_SheetTitleOptions_CustomBuilder; typedef struct Opt_Union_SheetTitleOptions_CustomBuilder Opt_Union_SheetTitleOptions_CustomBuilder; -typedef struct Ark_Union_SizeOptions_ImageSize Ark_Union_SizeOptions_ImageSize; -typedef struct Opt_Union_SizeOptions_ImageSize Opt_Union_SizeOptions_ImageSize; typedef struct Ark_Union_String_Resource_CustomBuilder_TabBarOptions Ark_Union_String_Resource_CustomBuilder_TabBarOptions; typedef struct Opt_Union_String_Resource_CustomBuilder_TabBarOptions Opt_Union_String_Resource_CustomBuilder_TabBarOptions; +typedef struct Ark_Union_TitleHeight_Length Ark_Union_TitleHeight_Length; +typedef struct Opt_Union_TitleHeight_Length Opt_Union_TitleHeight_Length; typedef struct Ark_Union_TransitionOptions_TransitionEffect Ark_Union_TransitionOptions_TransitionEffect; typedef struct Opt_Union_TransitionOptions_TransitionEffect Opt_Union_TransitionOptions_TransitionEffect; -typedef struct Ark_Union_Union_Padding_Dimension_LocalizedPadding Ark_Union_Union_Padding_Dimension_LocalizedPadding; -typedef struct Opt_Union_Union_Padding_Dimension_LocalizedPadding Opt_Union_Union_Padding_Dimension_LocalizedPadding; typedef struct Ark_VideoOptions Ark_VideoOptions; typedef struct Opt_VideoOptions Opt_VideoOptions; typedef struct Ark_WeekStyle Ark_WeekStyle; @@ -2694,44 +2709,240 @@ typedef struct Ark_WorkStateStyle Ark_WorkStateStyle; typedef struct Opt_WorkStateStyle Opt_WorkStateStyle; typedef struct Ark_XComponentOptions Ark_XComponentOptions; typedef struct Opt_XComponentOptions Opt_XComponentOptions; -typedef struct Ark_ActionSheetOptions Ark_ActionSheetOptions; -typedef struct Opt_ActionSheetOptions Opt_ActionSheetOptions; -typedef struct Ark_AlertDialogParamWithButtons Ark_AlertDialogParamWithButtons; -typedef struct Opt_AlertDialogParamWithButtons Opt_AlertDialogParamWithButtons; -typedef struct Ark_AlertDialogParamWithConfirm Ark_AlertDialogParamWithConfirm; -typedef struct Opt_AlertDialogParamWithConfirm Opt_AlertDialogParamWithConfirm; -typedef struct Ark_AlertDialogParamWithOptions Ark_AlertDialogParamWithOptions; -typedef struct Opt_AlertDialogParamWithOptions Opt_AlertDialogParamWithOptions; -typedef struct Ark_Area Ark_Area; -typedef struct Opt_Area Opt_Area; -typedef struct Ark_BadgeParamWithNumber Ark_BadgeParamWithNumber; -typedef struct Opt_BadgeParamWithNumber Opt_BadgeParamWithNumber; -typedef struct Ark_BadgeParamWithString Ark_BadgeParamWithString; -typedef struct Opt_BadgeParamWithString Opt_BadgeParamWithString; -typedef struct Ark_BorderImageOption Ark_BorderImageOption; -typedef struct Opt_BorderImageOption Opt_BorderImageOption; -typedef struct Ark_BorderOptions Ark_BorderOptions; -typedef struct Opt_BorderOptions Opt_BorderOptions; +typedef struct Ark_ArrowStyle Ark_ArrowStyle; +typedef struct Opt_ArrowStyle Opt_ArrowStyle; +typedef struct Ark_BadgeStyle Ark_BadgeStyle; +typedef struct Opt_BadgeStyle Opt_BadgeStyle; +typedef struct Ark_BarGridColumnOptions Ark_BarGridColumnOptions; +typedef struct Opt_BarGridColumnOptions Opt_BarGridColumnOptions; +typedef struct Ark_BoardStyle Ark_BoardStyle; +typedef struct Opt_BoardStyle Opt_BoardStyle; +typedef struct Ark_BorderRadiuses Ark_BorderRadiuses; +typedef struct Opt_BorderRadiuses Opt_BorderRadiuses; +typedef struct Ark_BorderRadiusType Ark_BorderRadiusType; +typedef struct Opt_BorderRadiusType Opt_BorderRadiusType; typedef struct Ark_ButtonStyle Ark_ButtonStyle; typedef struct Opt_ButtonStyle Opt_ButtonStyle; -typedef struct Ark_CancelButtonOptions Ark_CancelButtonOptions; -typedef struct Opt_CancelButtonOptions Opt_CancelButtonOptions; -typedef struct Ark_CapsuleStyleOptions Ark_CapsuleStyleOptions; -typedef struct Opt_CapsuleStyleOptions Opt_CapsuleStyleOptions; -typedef struct Ark_ContextMenuOptions Ark_ContextMenuOptions; -typedef struct Opt_ContextMenuOptions Opt_ContextMenuOptions; -typedef struct Ark_CustomDialogControllerOptions Ark_CustomDialogControllerOptions; -typedef struct Opt_CustomDialogControllerOptions Opt_CustomDialogControllerOptions; -typedef struct Ark_CustomPopupOptions Ark_CustomPopupOptions; -typedef struct Opt_CustomPopupOptions Opt_CustomPopupOptions; -typedef struct Ark_CustomTheme Ark_CustomTheme; -typedef struct Opt_CustomTheme Opt_CustomTheme; -typedef struct Ark_DigitIndicator Ark_DigitIndicator; -typedef struct Opt_DigitIndicator Opt_DigitIndicator; -typedef struct Ark_EventTarget Ark_EventTarget; -typedef struct Opt_EventTarget Opt_EventTarget; -typedef struct Ark_FlexOptions Ark_FlexOptions; +typedef struct Ark_CaretStyle Ark_CaretStyle; +typedef struct Opt_CaretStyle Opt_CaretStyle; +typedef struct Ark_ChainAnimationOptions Ark_ChainAnimationOptions; +typedef struct Opt_ChainAnimationOptions Opt_ChainAnimationOptions; +typedef struct Ark_ColorStop Ark_ColorStop; +typedef struct Opt_ColorStop Opt_ColorStop; +typedef struct Ark_ColumnSplitDividerStyle Ark_ColumnSplitDividerStyle; +typedef struct Opt_ColumnSplitDividerStyle Opt_ColumnSplitDividerStyle; +typedef struct Ark_ConstraintSizeOptions Ark_ConstraintSizeOptions; +typedef struct Opt_ConstraintSizeOptions Opt_ConstraintSizeOptions; +typedef struct Ark_CustomTheme Ark_CustomTheme; +typedef struct Opt_CustomTheme Opt_CustomTheme; +typedef struct Ark_DividerOptions Ark_DividerOptions; +typedef struct Opt_DividerOptions Opt_DividerOptions; +typedef struct Ark_DividerStyle Ark_DividerStyle; +typedef struct Opt_DividerStyle Opt_DividerStyle; +typedef struct Ark_DotIndicator Ark_DotIndicator; +typedef struct Opt_DotIndicator Opt_DotIndicator; +typedef struct Ark_EdgeOutlineWidths Ark_EdgeOutlineWidths; +typedef struct Opt_EdgeOutlineWidths Opt_EdgeOutlineWidths; +typedef struct Ark_Edges Ark_Edges; +typedef struct Opt_Edges Opt_Edges; +typedef struct Ark_EdgeWidths Ark_EdgeWidths; +typedef struct Opt_EdgeWidths Opt_EdgeWidths; +typedef struct Ark_EditableTextChangeValue Ark_EditableTextChangeValue; +typedef struct Opt_EditableTextChangeValue Opt_EditableTextChangeValue; +typedef struct Ark_FlexOptions Ark_FlexOptions; typedef struct Opt_FlexOptions Opt_FlexOptions; +typedef struct Ark_Font Ark_Font; +typedef struct Opt_Font Opt_Font; +typedef struct Ark_GaugeIndicatorOptions Ark_GaugeIndicatorOptions; +typedef struct Opt_GaugeIndicatorOptions Opt_GaugeIndicatorOptions; +typedef struct Ark_GridRowSizeOption Ark_GridRowSizeOption; +typedef struct Opt_GridRowSizeOption Opt_GridRowSizeOption; +typedef struct Ark_GuideLinePosition Ark_GuideLinePosition; +typedef struct Opt_GuideLinePosition Opt_GuideLinePosition; +typedef struct Ark_GuideLineStyle Ark_GuideLineStyle; +typedef struct Opt_GuideLineStyle Opt_GuideLineStyle; +typedef struct Ark_IconOptions Ark_IconOptions; +typedef struct Opt_IconOptions Opt_IconOptions; +typedef struct Ark_IndicatorStyle Ark_IndicatorStyle; +typedef struct Opt_IndicatorStyle Opt_IndicatorStyle; +typedef struct Ark_LeadingMarginPlaceholder Ark_LeadingMarginPlaceholder; +typedef struct Opt_LeadingMarginPlaceholder Opt_LeadingMarginPlaceholder; +typedef struct Ark_LinearStyleOptions Ark_LinearStyleOptions; +typedef struct Opt_LinearStyleOptions Opt_LinearStyleOptions; +typedef struct Ark_ListDividerOptions Ark_ListDividerOptions; +typedef struct Opt_ListDividerOptions Opt_ListDividerOptions; +typedef struct Ark_MarkStyle Ark_MarkStyle; +typedef struct Opt_MarkStyle Opt_MarkStyle; +typedef struct Ark_MoreButtonOptions Ark_MoreButtonOptions; +typedef struct Opt_MoreButtonOptions Opt_MoreButtonOptions; +typedef struct Ark_NavDestinationCustomTitle Ark_NavDestinationCustomTitle; +typedef struct Opt_NavDestinationCustomTitle Opt_NavDestinationCustomTitle; +typedef struct Ark_NavigationCustomTitle Ark_NavigationCustomTitle; +typedef struct Opt_NavigationCustomTitle Opt_NavigationCustomTitle; +typedef struct Ark_NavigationTitleOptions Ark_NavigationTitleOptions; +typedef struct Opt_NavigationTitleOptions Opt_NavigationTitleOptions; +typedef struct Ark_OffsetOptions Ark_OffsetOptions; +typedef struct Opt_OffsetOptions Opt_OffsetOptions; +typedef struct Ark_OutlineRadiuses Ark_OutlineRadiuses; +typedef struct Opt_OutlineRadiuses Opt_OutlineRadiuses; +typedef struct Ark_Padding Ark_Padding; +typedef struct Opt_Padding Opt_Padding; +typedef struct Ark_PixelStretchEffectOptions Ark_PixelStretchEffectOptions; +typedef struct Opt_PixelStretchEffectOptions Opt_PixelStretchEffectOptions; +typedef struct Ark_PointLightStyle Ark_PointLightStyle; +typedef struct Opt_PointLightStyle Opt_PointLightStyle; +typedef struct Ark_Position Ark_Position; +typedef struct Opt_Position Opt_Position; +typedef struct Ark_ProgressStyleOptions Ark_ProgressStyleOptions; +typedef struct Opt_ProgressStyleOptions Opt_ProgressStyleOptions; +typedef struct Ark_RadialGradientOptions Ark_RadialGradientOptions; +typedef struct Opt_RadialGradientOptions Opt_RadialGradientOptions; +typedef struct Ark_Rectangle Ark_Rectangle; +typedef struct Opt_Rectangle Opt_Rectangle; +typedef struct RenderNodePeer RenderNodePeer; +typedef struct RenderNodePeer* Ark_RenderNode; +typedef struct Opt_RenderNode Opt_RenderNode; +typedef struct Ark_RichEditorSymbolSpanOptions Ark_RichEditorSymbolSpanOptions; +typedef struct Opt_RichEditorSymbolSpanOptions Opt_RichEditorSymbolSpanOptions; +typedef struct Ark_RingStyleOptions Ark_RingStyleOptions; +typedef struct Opt_RingStyleOptions Opt_RingStyleOptions; +typedef struct Ark_ScrollableBarModeOptions Ark_ScrollableBarModeOptions; +typedef struct Opt_ScrollableBarModeOptions Opt_ScrollableBarModeOptions; +typedef struct Ark_ScrollSnapOptions Ark_ScrollSnapOptions; +typedef struct Opt_ScrollSnapOptions Opt_ScrollSnapOptions; +typedef struct Ark_SearchButtonOptions Ark_SearchButtonOptions; +typedef struct Opt_SearchButtonOptions Opt_SearchButtonOptions; +typedef struct Ark_SizeOptions Ark_SizeOptions; +typedef struct Opt_SizeOptions Opt_SizeOptions; +typedef struct Ark_SweepGradientOptions Ark_SweepGradientOptions; +typedef struct Opt_SweepGradientOptions Opt_SweepGradientOptions; +typedef struct Ark_SwipeActionItem Ark_SwipeActionItem; +typedef struct Opt_SwipeActionItem Opt_SwipeActionItem; +typedef struct Ark_text_TextStyle Ark_text_TextStyle; +typedef struct Opt_text_TextStyle Opt_text_TextStyle; +typedef struct Ark_TextDataDetectorConfig Ark_TextDataDetectorConfig; +typedef struct Opt_TextDataDetectorConfig Opt_TextDataDetectorConfig; +typedef struct Ark_TipsOptions Ark_TipsOptions; +typedef struct Opt_TipsOptions Opt_TipsOptions; +typedef struct Ark_Type_NavDestinationAttribute_title_value Ark_Type_NavDestinationAttribute_title_value; +typedef struct Opt_Type_NavDestinationAttribute_title_value Opt_Type_NavDestinationAttribute_title_value; +typedef struct Ark_Type_NavigationAttribute_title_value Ark_Type_NavigationAttribute_title_value; +typedef struct Opt_Type_NavigationAttribute_title_value Opt_Type_NavigationAttribute_title_value; +typedef struct Ark_Type_SheetOptions_detents Ark_Type_SheetOptions_detents; +typedef struct Opt_Type_SheetOptions_detents Opt_Type_SheetOptions_detents; +typedef struct Ark_Union_Array_Rectangle_Rectangle Ark_Union_Array_Rectangle_Rectangle; +typedef struct Opt_Union_Array_Rectangle_Rectangle Opt_Union_Array_Rectangle_Rectangle; +typedef struct Ark_Union_ArrowStyle_Boolean Ark_Union_ArrowStyle_Boolean; +typedef struct Opt_Union_ArrowStyle_Boolean Opt_Union_ArrowStyle_Boolean; +typedef struct Ark_Union_BadgePosition_Position Ark_Union_BadgePosition_Position; +typedef struct Opt_Union_BadgePosition_Position Opt_Union_BadgePosition_Position; +typedef struct Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses; +typedef struct Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses; +typedef struct Ark_Union_CustomBuilder_SwipeActionItem Ark_Union_CustomBuilder_SwipeActionItem; +typedef struct Opt_Union_CustomBuilder_SwipeActionItem Opt_Union_CustomBuilder_SwipeActionItem; +typedef struct Ark_Union_Dimension_BorderRadiuses Ark_Union_Dimension_BorderRadiuses; +typedef struct Opt_Union_Dimension_BorderRadiuses Opt_Union_Dimension_BorderRadiuses; +typedef struct Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses; +typedef struct Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses; +typedef struct Ark_Union_Dimension_EdgeOutlineWidths Ark_Union_Dimension_EdgeOutlineWidths; +typedef struct Opt_Union_Dimension_EdgeOutlineWidths Opt_Union_Dimension_EdgeOutlineWidths; +typedef struct Ark_Union_Dimension_EdgeWidths Ark_Union_Dimension_EdgeWidths; +typedef struct Opt_Union_Dimension_EdgeWidths Opt_Union_Dimension_EdgeWidths; +typedef struct Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths; +typedef struct Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths; +typedef struct Ark_Union_Dimension_LeadingMarginPlaceholder Ark_Union_Dimension_LeadingMarginPlaceholder; +typedef struct Opt_Union_Dimension_LeadingMarginPlaceholder Opt_Union_Dimension_LeadingMarginPlaceholder; +typedef struct Ark_Union_Dimension_Margin Ark_Union_Dimension_Margin; +typedef struct Opt_Union_Dimension_Margin Opt_Union_Dimension_Margin; +typedef struct Ark_Union_Dimension_OutlineRadiuses Ark_Union_Dimension_OutlineRadiuses; +typedef struct Opt_Union_Dimension_OutlineRadiuses Opt_Union_Dimension_OutlineRadiuses; +typedef struct Ark_Union_EdgeOutlineWidths_Dimension Ark_Union_EdgeOutlineWidths_Dimension; +typedef struct Opt_Union_EdgeOutlineWidths_Dimension Opt_Union_EdgeOutlineWidths_Dimension; +typedef struct Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths; +typedef struct Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths; +typedef struct Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths; +typedef struct Opt_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths Opt_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths; +typedef struct Ark_Union_IconOptions_SymbolGlyphModifier Ark_Union_IconOptions_SymbolGlyphModifier; +typedef struct Opt_Union_IconOptions_SymbolGlyphModifier Opt_Union_IconOptions_SymbolGlyphModifier; +typedef struct Ark_Union_Length_BorderRadiuses Ark_Union_Length_BorderRadiuses; +typedef struct Opt_Union_Length_BorderRadiuses Opt_Union_Length_BorderRadiuses; +typedef struct Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses; +typedef struct Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses; +typedef struct Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths; +typedef struct Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths; +typedef struct Ark_Union_Length_GridRowSizeOption Ark_Union_Length_GridRowSizeOption; +typedef struct Opt_Union_Length_GridRowSizeOption Opt_Union_Length_GridRowSizeOption; +typedef struct Ark_Union_LengthMetrics_BorderRadiuses Ark_Union_LengthMetrics_BorderRadiuses; +typedef struct Opt_Union_LengthMetrics_BorderRadiuses Opt_Union_LengthMetrics_BorderRadiuses; +typedef struct Ark_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses Ark_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses; +typedef struct Opt_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses Opt_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses; +typedef struct Ark_Union_LengthMetrics_LeadingMarginPlaceholder Ark_Union_LengthMetrics_LeadingMarginPlaceholder; +typedef struct Opt_Union_LengthMetrics_LeadingMarginPlaceholder Opt_Union_LengthMetrics_LeadingMarginPlaceholder; +typedef struct Ark_Union_LengthMetrics_Margin Ark_Union_LengthMetrics_Margin; +typedef struct Opt_Union_LengthMetrics_Margin Opt_Union_LengthMetrics_Margin; +typedef struct Ark_Union_LengthMetrics_Padding Ark_Union_LengthMetrics_Padding; +typedef struct Opt_Union_LengthMetrics_Padding Opt_Union_LengthMetrics_Padding; +typedef struct Ark_Union_Margin_Dimension Ark_Union_Margin_Dimension; +typedef struct Opt_Union_Margin_Dimension Opt_Union_Margin_Dimension; +typedef struct Ark_Union_Margin_Length_LocalizedMargin Ark_Union_Margin_Length_LocalizedMargin; +typedef struct Opt_Union_Margin_Length_LocalizedMargin Opt_Union_Margin_Length_LocalizedMargin; +typedef struct Ark_Union_Number_LeadingMarginPlaceholder Ark_Union_Number_LeadingMarginPlaceholder; +typedef struct Opt_Union_Number_LeadingMarginPlaceholder Opt_Union_Number_LeadingMarginPlaceholder; +typedef struct Ark_Union_OutlineRadiuses_Dimension Ark_Union_OutlineRadiuses_Dimension; +typedef struct Opt_Union_OutlineRadiuses_Dimension Opt_Union_OutlineRadiuses_Dimension; +typedef struct Ark_Union_Padding_Dimension Ark_Union_Padding_Dimension; +typedef struct Opt_Union_Padding_Dimension Opt_Union_Padding_Dimension; +typedef struct Ark_Union_Padding_Dimension_LocalizedPadding Ark_Union_Padding_Dimension_LocalizedPadding; +typedef struct Opt_Union_Padding_Dimension_LocalizedPadding Opt_Union_Padding_Dimension_LocalizedPadding; +typedef struct Ark_Union_Padding_Length_LocalizedPadding Ark_Union_Padding_Length_LocalizedPadding; +typedef struct Opt_Union_Padding_Length_LocalizedPadding Opt_Union_Padding_Length_LocalizedPadding; +typedef struct Ark_Union_Padding_LengthMetrics_LocalizedPadding Ark_Union_Padding_LengthMetrics_LocalizedPadding; +typedef struct Opt_Union_Padding_LengthMetrics_LocalizedPadding Opt_Union_Padding_LengthMetrics_LocalizedPadding; +typedef struct Ark_Union_Position_Alignment Ark_Union_Position_Alignment; +typedef struct Opt_Union_Position_Alignment Opt_Union_Position_Alignment; +typedef struct Ark_Union_Position_Edges_LocalizedEdges Ark_Union_Position_Edges_LocalizedEdges; +typedef struct Opt_Union_Position_Edges_LocalizedEdges Opt_Union_Position_Edges_LocalizedEdges; +typedef struct Ark_Union_Position_LocalizedPosition Ark_Union_Position_LocalizedPosition; +typedef struct Opt_Union_Position_LocalizedPosition Opt_Union_Position_LocalizedPosition; +typedef struct Ark_Union_SizeOptions_ImageSize Ark_Union_SizeOptions_ImageSize; +typedef struct Opt_Union_SizeOptions_ImageSize Opt_Union_SizeOptions_ImageSize; +typedef struct Ark_Union_Union_Padding_Dimension_LocalizedPadding Ark_Union_Union_Padding_Dimension_LocalizedPadding; +typedef struct Opt_Union_Union_Padding_Dimension_LocalizedPadding Opt_Union_Union_Padding_Dimension_LocalizedPadding; +typedef struct Ark_ActionSheetOptions Ark_ActionSheetOptions; +typedef struct Opt_ActionSheetOptions Opt_ActionSheetOptions; +typedef struct Ark_AlertDialogParamWithButtons Ark_AlertDialogParamWithButtons; +typedef struct Opt_AlertDialogParamWithButtons Opt_AlertDialogParamWithButtons; +typedef struct Ark_AlertDialogParamWithConfirm Ark_AlertDialogParamWithConfirm; +typedef struct Opt_AlertDialogParamWithConfirm Opt_AlertDialogParamWithConfirm; +typedef struct Ark_AlertDialogParamWithOptions Ark_AlertDialogParamWithOptions; +typedef struct Opt_AlertDialogParamWithOptions Opt_AlertDialogParamWithOptions; +typedef struct Ark_Area Ark_Area; +typedef struct Opt_Area Opt_Area; +typedef struct Ark_BadgeParamWithNumber Ark_BadgeParamWithNumber; +typedef struct Opt_BadgeParamWithNumber Opt_BadgeParamWithNumber; +typedef struct Ark_BadgeParamWithString Ark_BadgeParamWithString; +typedef struct Opt_BadgeParamWithString Opt_BadgeParamWithString; +typedef struct Ark_BorderImageOption Ark_BorderImageOption; +typedef struct Opt_BorderImageOption Opt_BorderImageOption; +typedef struct Ark_BorderOptions Ark_BorderOptions; +typedef struct Opt_BorderOptions Opt_BorderOptions; +typedef struct Ark_CancelButtonOptions Ark_CancelButtonOptions; +typedef struct Opt_CancelButtonOptions Opt_CancelButtonOptions; +typedef struct Ark_CapsuleStyleOptions Ark_CapsuleStyleOptions; +typedef struct Opt_CapsuleStyleOptions Opt_CapsuleStyleOptions; +typedef struct Ark_ContextMenuOptions Ark_ContextMenuOptions; +typedef struct Opt_ContextMenuOptions Opt_ContextMenuOptions; +typedef struct Ark_CustomDialogControllerOptions Ark_CustomDialogControllerOptions; +typedef struct Opt_CustomDialogControllerOptions Opt_CustomDialogControllerOptions; +typedef struct Ark_CustomPopupOptions Ark_CustomPopupOptions; +typedef struct Opt_CustomPopupOptions Opt_CustomPopupOptions; +typedef struct Ark_DigitIndicator Ark_DigitIndicator; +typedef struct Opt_DigitIndicator Opt_DigitIndicator; +typedef struct Ark_EventTarget Ark_EventTarget; +typedef struct Opt_EventTarget Opt_EventTarget; +typedef struct FocusAxisEventPeer FocusAxisEventPeer; +typedef struct FocusAxisEventPeer* Ark_FocusAxisEvent; +typedef struct Opt_FocusAxisEvent Opt_FocusAxisEvent; typedef struct GestureEventPeer GestureEventPeer; typedef struct GestureEventPeer* Ark_GestureEvent; typedef struct Opt_GestureEvent Opt_GestureEvent; @@ -2744,23 +2955,32 @@ typedef struct Ark_ImageAttachmentLayoutStyle Ark_ImageAttachmentLayoutStyle; typedef struct Opt_ImageAttachmentLayoutStyle Opt_ImageAttachmentLayoutStyle; typedef struct Ark_LabelStyle Ark_LabelStyle; typedef struct Opt_LabelStyle Opt_LabelStyle; -typedef struct Ark_LeadingMarginPlaceholder Ark_LeadingMarginPlaceholder; -typedef struct Opt_LeadingMarginPlaceholder Opt_LeadingMarginPlaceholder; typedef struct LongPressGestureEventPeer LongPressGestureEventPeer; typedef struct LongPressGestureEventPeer* Ark_LongPressGestureEvent; typedef struct Opt_LongPressGestureEvent Opt_LongPressGestureEvent; typedef struct Ark_MenuOptions Ark_MenuOptions; typedef struct Opt_MenuOptions Opt_MenuOptions; +typedef struct Ark_MenuOutlineOptions Ark_MenuOutlineOptions; +typedef struct Opt_MenuOutlineOptions Opt_MenuOutlineOptions; typedef struct MouseEventPeer MouseEventPeer; typedef struct MouseEventPeer* Ark_MouseEvent; typedef struct Opt_MouseEvent Opt_MouseEvent; typedef struct Ark_NativeEmbedInfo Ark_NativeEmbedInfo; typedef struct Opt_NativeEmbedInfo Opt_NativeEmbedInfo; +typedef struct Ark_NavigationMenuOptions Ark_NavigationMenuOptions; +typedef struct Opt_NavigationMenuOptions Opt_NavigationMenuOptions; +typedef struct Ark_NavigationToolbarOptions Ark_NavigationToolbarOptions; +typedef struct Opt_NavigationToolbarOptions Opt_NavigationToolbarOptions; typedef struct Ark_OutlineOptions Ark_OutlineOptions; typedef struct Opt_OutlineOptions Opt_OutlineOptions; typedef struct PanGestureEventPeer PanGestureEventPeer; typedef struct PanGestureEventPeer* Ark_PanGestureEvent; typedef struct Opt_PanGestureEvent Opt_PanGestureEvent; +typedef struct ParagraphStylePeer ParagraphStylePeer; +typedef struct ParagraphStylePeer* Ark_ParagraphStyle; +typedef struct Opt_ParagraphStyle Opt_ParagraphStyle; +typedef struct Ark_ParagraphStyleInterface Ark_ParagraphStyleInterface; +typedef struct Opt_ParagraphStyleInterface Opt_ParagraphStyleInterface; typedef struct Ark_PickerDialogButtonStyle Ark_PickerDialogButtonStyle; typedef struct Opt_PickerDialogButtonStyle Opt_PickerDialogButtonStyle; typedef struct Ark_PickerTextStyle Ark_PickerTextStyle; @@ -2770,27 +2990,25 @@ typedef struct PinchGestureEventPeer* Ark_PinchGestureEvent; typedef struct Opt_PinchGestureEvent Opt_PinchGestureEvent; typedef struct Ark_PlaceholderStyle Ark_PlaceholderStyle; typedef struct Opt_PlaceholderStyle Opt_PlaceholderStyle; -typedef struct Ark_PointLightStyle Ark_PointLightStyle; -typedef struct Opt_PointLightStyle Opt_PointLightStyle; typedef struct Ark_PopupMessageOptions Ark_PopupMessageOptions; typedef struct Opt_PopupMessageOptions Opt_PopupMessageOptions; typedef struct Ark_ResizableOptions Ark_ResizableOptions; typedef struct Opt_ResizableOptions Opt_ResizableOptions; typedef struct Ark_RichEditorLayoutStyle Ark_RichEditorLayoutStyle; typedef struct Opt_RichEditorLayoutStyle Opt_RichEditorLayoutStyle; -typedef struct Ark_RichEditorSymbolSpanOptions Ark_RichEditorSymbolSpanOptions; -typedef struct Opt_RichEditorSymbolSpanOptions Opt_RichEditorSymbolSpanOptions; -typedef struct Ark_RichEditorTextStyle Ark_RichEditorTextStyle; -typedef struct Opt_RichEditorTextStyle Opt_RichEditorTextStyle; -typedef struct Ark_RichEditorUpdateTextSpanStyleOptions Ark_RichEditorUpdateTextSpanStyleOptions; -typedef struct Opt_RichEditorUpdateTextSpanStyleOptions Opt_RichEditorUpdateTextSpanStyleOptions; +typedef struct Ark_RichEditorParagraphStyle Ark_RichEditorParagraphStyle; +typedef struct Opt_RichEditorParagraphStyle Opt_RichEditorParagraphStyle; +typedef struct Ark_RichEditorParagraphStyleOptions Ark_RichEditorParagraphStyleOptions; +typedef struct Opt_RichEditorParagraphStyleOptions Opt_RichEditorParagraphStyleOptions; typedef struct RotationGestureEventPeer RotationGestureEventPeer; typedef struct RotationGestureEventPeer* Ark_RotationGestureEvent; typedef struct Opt_RotationGestureEvent Opt_RotationGestureEvent; -typedef struct Ark_ScrollSnapOptions Ark_ScrollSnapOptions; -typedef struct Opt_ScrollSnapOptions Opt_ScrollSnapOptions; +typedef struct Ark_RunMetrics Ark_RunMetrics; +typedef struct Opt_RunMetrics Opt_RunMetrics; typedef struct Ark_SectionOptions Ark_SectionOptions; typedef struct Opt_SectionOptions Opt_SectionOptions; +typedef struct Ark_SheetOptions Ark_SheetOptions; +typedef struct Opt_SheetOptions Opt_SheetOptions; typedef struct Ark_SwipeActionOptions Ark_SwipeActionOptions; typedef struct Opt_SwipeActionOptions Opt_SwipeActionOptions; typedef struct SwipeGestureEventPeer SwipeGestureEventPeer; @@ -2799,38 +3017,35 @@ typedef struct Opt_SwipeGestureEvent Opt_SwipeGestureEvent; typedef struct TapGestureEventPeer TapGestureEventPeer; typedef struct TapGestureEventPeer* Ark_TapGestureEvent; typedef struct Opt_TapGestureEvent Opt_TapGestureEvent; -typedef struct Ark_text_TextStyle Ark_text_TextStyle; -typedef struct Opt_text_TextStyle Opt_text_TextStyle; typedef struct Ark_TextBackgroundStyle Ark_TextBackgroundStyle; typedef struct Opt_TextBackgroundStyle Opt_TextBackgroundStyle; -typedef struct Ark_TextDataDetectorConfig Ark_TextDataDetectorConfig; -typedef struct Opt_TextDataDetectorConfig Opt_TextDataDetectorConfig; +typedef struct Ark_TextPickerTextStyle Ark_TextPickerTextStyle; +typedef struct Opt_TextPickerTextStyle Opt_TextPickerTextStyle; typedef struct TouchEventPeer TouchEventPeer; typedef struct TouchEventPeer* Ark_TouchEvent; typedef struct Opt_TouchEvent Opt_TouchEvent; typedef struct Ark_Type_AlertDialog_show_value Ark_Type_AlertDialog_show_value; typedef struct Opt_Type_AlertDialog_show_value Opt_Type_AlertDialog_show_value; -typedef struct Ark_Type_SheetOptions_detents Ark_Type_SheetOptions_detents; -typedef struct Opt_Type_SheetOptions_detents Opt_Type_SheetOptions_detents; +typedef struct Ark_Type_SwiperAttribute_indicator_indicator Ark_Type_SwiperAttribute_indicator_indicator; +typedef struct Opt_Type_SwiperAttribute_indicator_indicator Opt_Type_SwiperAttribute_indicator_indicator; typedef struct Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions; typedef struct Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions; -typedef struct Ark_Union_Dimension_LeadingMarginPlaceholder Ark_Union_Dimension_LeadingMarginPlaceholder; -typedef struct Opt_Union_Dimension_LeadingMarginPlaceholder Opt_Union_Dimension_LeadingMarginPlaceholder; typedef struct Ark_Union_DotIndicator_DigitIndicator Ark_Union_DotIndicator_DigitIndicator; typedef struct Opt_Union_DotIndicator_DigitIndicator Opt_Union_DotIndicator_DigitIndicator; typedef struct Ark_Union_DotIndicator_DigitIndicator_Boolean Ark_Union_DotIndicator_DigitIndicator_Boolean; typedef struct Opt_Union_DotIndicator_DigitIndicator_Boolean Opt_Union_DotIndicator_DigitIndicator_Boolean; typedef struct Ark_Union_Length_GutterOption Ark_Union_Length_GutterOption; typedef struct Opt_Union_Length_GutterOption Opt_Union_Length_GutterOption; -typedef struct Ark_Union_LengthMetrics_LeadingMarginPlaceholder Ark_Union_LengthMetrics_LeadingMarginPlaceholder; -typedef struct Opt_Union_LengthMetrics_LeadingMarginPlaceholder Opt_Union_LengthMetrics_LeadingMarginPlaceholder; typedef struct Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions; typedef struct Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions; -typedef struct Ark_Union_Number_LeadingMarginPlaceholder Ark_Union_Number_LeadingMarginPlaceholder; -typedef struct Opt_Union_Number_LeadingMarginPlaceholder Opt_Union_Number_LeadingMarginPlaceholder; +typedef struct Ark_WithThemeOptions Ark_WithThemeOptions; +typedef struct Opt_WithThemeOptions Opt_WithThemeOptions; typedef struct AccessibilityHoverEventPeer AccessibilityHoverEventPeer; typedef struct AccessibilityHoverEventPeer* Ark_AccessibilityHoverEvent; typedef struct Opt_AccessibilityHoverEvent Opt_AccessibilityHoverEvent; +typedef struct AxisEventPeer AxisEventPeer; +typedef struct AxisEventPeer* Ark_AxisEvent; +typedef struct Opt_AxisEvent Opt_AxisEvent; typedef struct BackgroundColorStylePeer BackgroundColorStylePeer; typedef struct BackgroundColorStylePeer* Ark_BackgroundColorStyle; typedef struct Opt_BackgroundColorStyle Opt_BackgroundColorStyle; @@ -2860,27 +3075,24 @@ typedef struct Ark_NativeEmbedDataInfo Ark_NativeEmbedDataInfo; typedef struct Opt_NativeEmbedDataInfo Opt_NativeEmbedDataInfo; typedef struct Ark_NativeEmbedTouchInfo Ark_NativeEmbedTouchInfo; typedef struct Opt_NativeEmbedTouchInfo Opt_NativeEmbedTouchInfo; -typedef struct ParagraphStylePeer ParagraphStylePeer; -typedef struct ParagraphStylePeer* Ark_ParagraphStyle; -typedef struct Opt_ParagraphStyle Opt_ParagraphStyle; -typedef struct Ark_ParagraphStyleInterface Ark_ParagraphStyleInterface; -typedef struct Opt_ParagraphStyleInterface Opt_ParagraphStyleInterface; typedef struct Ark_PopupOptions Ark_PopupOptions; typedef struct Opt_PopupOptions Opt_PopupOptions; +typedef struct Ark_ResourceImageAttachmentOptions Ark_ResourceImageAttachmentOptions; +typedef struct Opt_ResourceImageAttachmentOptions Opt_ResourceImageAttachmentOptions; typedef struct Ark_RichEditorImageSpanStyle Ark_RichEditorImageSpanStyle; typedef struct Opt_RichEditorImageSpanStyle Opt_RichEditorImageSpanStyle; typedef struct Ark_RichEditorImageSpanStyleResult Ark_RichEditorImageSpanStyleResult; typedef struct Opt_RichEditorImageSpanStyleResult Opt_RichEditorImageSpanStyleResult; -typedef struct Ark_RichEditorParagraphStyle Ark_RichEditorParagraphStyle; -typedef struct Opt_RichEditorParagraphStyle Opt_RichEditorParagraphStyle; -typedef struct Ark_RichEditorParagraphStyleOptions Ark_RichEditorParagraphStyleOptions; -typedef struct Opt_RichEditorParagraphStyleOptions Opt_RichEditorParagraphStyleOptions; -typedef struct Ark_RichEditorUpdateImageSpanStyleOptions Ark_RichEditorUpdateImageSpanStyleOptions; -typedef struct Opt_RichEditorUpdateImageSpanStyleOptions Opt_RichEditorUpdateImageSpanStyleOptions; -typedef struct Ark_RunMetrics Ark_RunMetrics; -typedef struct Opt_RunMetrics Opt_RunMetrics; -typedef struct Ark_SheetOptions Ark_SheetOptions; -typedef struct Opt_SheetOptions Opt_SheetOptions; +typedef struct Ark_RichEditorParagraphResult Ark_RichEditorParagraphResult; +typedef struct Opt_RichEditorParagraphResult Opt_RichEditorParagraphResult; +typedef struct Ark_RichEditorTextStyle Ark_RichEditorTextStyle; +typedef struct Opt_RichEditorTextStyle Opt_RichEditorTextStyle; +typedef struct Ark_RichEditorTextStyleResult Ark_RichEditorTextStyleResult; +typedef struct Opt_RichEditorTextStyleResult Opt_RichEditorTextStyleResult; +typedef struct Ark_RichEditorUpdateImageSpanStyleOptions Ark_RichEditorUpdateImageSpanStyleOptions; +typedef struct Opt_RichEditorUpdateImageSpanStyleOptions Opt_RichEditorUpdateImageSpanStyleOptions; +typedef struct Ark_RichEditorUpdateTextSpanStyleOptions Ark_RichEditorUpdateTextSpanStyleOptions; +typedef struct Opt_RichEditorUpdateTextSpanStyleOptions Opt_RichEditorUpdateTextSpanStyleOptions; typedef struct Ark_StyledStringValue Ark_StyledStringValue; typedef struct Opt_StyledStringValue Opt_StyledStringValue; typedef struct Ark_StyleOptions Ark_StyleOptions; @@ -2893,20 +3105,20 @@ typedef struct Ark_TimePickerDialogOptions Ark_TimePickerDialogOptions; typedef struct Opt_TimePickerDialogOptions Opt_TimePickerDialogOptions; typedef struct Ark_Type_RichEditorController_updateSpanStyle_value Ark_Type_RichEditorController_updateSpanStyle_value; typedef struct Opt_Type_RichEditorController_updateSpanStyle_value Opt_Type_RichEditorController_updateSpanStyle_value; +typedef struct Ark_Type_TabContentAttribute_tabBar_content Ark_Type_TabContentAttribute_tabBar_content; +typedef struct Opt_Type_TabContentAttribute_tabBar_content Opt_Type_TabContentAttribute_tabBar_content; typedef struct Ark_Union_PopupOptions_CustomPopupOptions Ark_Union_PopupOptions_CustomPopupOptions; typedef struct Opt_Union_PopupOptions_CustomPopupOptions Opt_Union_PopupOptions_CustomPopupOptions; typedef struct Ark_Union_String_ImageAttachment_CustomSpan Ark_Union_String_ImageAttachment_CustomSpan; typedef struct Opt_Union_String_ImageAttachment_CustomSpan Opt_Union_String_ImageAttachment_CustomSpan; typedef struct Ark_Union_SubTabBarStyle_BottomTabBarStyle Ark_Union_SubTabBarStyle_BottomTabBarStyle; typedef struct Opt_Union_SubTabBarStyle_BottomTabBarStyle Opt_Union_SubTabBarStyle_BottomTabBarStyle; -typedef struct Ark_WithThemeOptions Ark_WithThemeOptions; -typedef struct Opt_WithThemeOptions Opt_WithThemeOptions; +typedef struct Ark_AttachmentType Ark_AttachmentType; +typedef struct Opt_AttachmentType Opt_AttachmentType; typedef struct Ark_RichEditorImageSpanOptions Ark_RichEditorImageSpanOptions; typedef struct Opt_RichEditorImageSpanOptions Opt_RichEditorImageSpanOptions; typedef struct Ark_RichEditorImageSpanResult Ark_RichEditorImageSpanResult; typedef struct Opt_RichEditorImageSpanResult Opt_RichEditorImageSpanResult; -typedef struct Ark_RichEditorParagraphResult Ark_RichEditorParagraphResult; -typedef struct Opt_RichEditorParagraphResult Opt_RichEditorParagraphResult; typedef struct Ark_RichEditorTextSpanOptions Ark_RichEditorTextSpanOptions; typedef struct Opt_RichEditorTextSpanOptions Opt_RichEditorTextSpanOptions; typedef struct Ark_RichEditorTextSpanResult Ark_RichEditorTextSpanResult; @@ -2931,6 +3143,145 @@ typedef struct Opt_AccessibilityHoverType { Ark_Tag tag; Ark_AccessibilityHoverType value; } Opt_AccessibilityHoverType; +typedef enum Ark_AccessibilityRoleType { + ARK_ACCESSIBILITY_ROLE_TYPE_ACTION_SHEET = 0, + ARK_ACCESSIBILITY_ROLE_TYPE_ALERT_DIALOG = 1, + ARK_ACCESSIBILITY_ROLE_TYPE_INDEXER_COMPONENT = 2, + ARK_ACCESSIBILITY_ROLE_TYPE_BADGE_COMPONENT = 3, + ARK_ACCESSIBILITY_ROLE_TYPE_BLANK = 4, + ARK_ACCESSIBILITY_ROLE_TYPE_BUTTON = 5, + ARK_ACCESSIBILITY_ROLE_TYPE_BACK_BUTTON = 6, + ARK_ACCESSIBILITY_ROLE_TYPE_SHEET_DRAG_BAR = 7, + ARK_ACCESSIBILITY_ROLE_TYPE_CALENDAR_PICKER = 8, + ARK_ACCESSIBILITY_ROLE_TYPE_CALENDAR = 9, + ARK_ACCESSIBILITY_ROLE_TYPE_CANVAS = 10, + ARK_ACCESSIBILITY_ROLE_TYPE_CANVAS_GRADIENT = 11, + ARK_ACCESSIBILITY_ROLE_TYPE_CANVAS_PATTERN = 12, + ARK_ACCESSIBILITY_ROLE_TYPE_CHECKBOX = 13, + ARK_ACCESSIBILITY_ROLE_TYPE_CHECKBOX_GROUP = 14, + ARK_ACCESSIBILITY_ROLE_TYPE_CIRCLE = 15, + ARK_ACCESSIBILITY_ROLE_TYPE_COLUMN_SPLIT = 16, + ARK_ACCESSIBILITY_ROLE_TYPE_COLUMN = 17, + ARK_ACCESSIBILITY_ROLE_TYPE_CANVAS_RENDERING_CONTEXT_2D = 18, + ARK_ACCESSIBILITY_ROLE_TYPE_CHART = 19, + ARK_ACCESSIBILITY_ROLE_TYPE_COUNTER = 20, + ARK_ACCESSIBILITY_ROLE_TYPE_CONTAINER_MODAL = 21, + ARK_ACCESSIBILITY_ROLE_TYPE_DATA_PANEL = 22, + ARK_ACCESSIBILITY_ROLE_TYPE_DATE_PICKER = 23, + ARK_ACCESSIBILITY_ROLE_TYPE_DIALOG = 24, + ARK_ACCESSIBILITY_ROLE_TYPE_DIVIDER = 25, + ARK_ACCESSIBILITY_ROLE_TYPE_DRAG_BAR = 26, + ARK_ACCESSIBILITY_ROLE_TYPE_EFFECT_COMPONENT = 27, + ARK_ACCESSIBILITY_ROLE_TYPE_ELLIPSE = 28, + ARK_ACCESSIBILITY_ROLE_TYPE_FLEX = 29, + ARK_ACCESSIBILITY_ROLE_TYPE_FLOW_ITEM = 30, + ARK_ACCESSIBILITY_ROLE_TYPE_FORM_COMPONENT = 31, + ARK_ACCESSIBILITY_ROLE_TYPE_FORM_LINK = 32, + ARK_ACCESSIBILITY_ROLE_TYPE_GAUGE = 33, + ARK_ACCESSIBILITY_ROLE_TYPE_GRID = 34, + ARK_ACCESSIBILITY_ROLE_TYPE_GRID_COL = 35, + ARK_ACCESSIBILITY_ROLE_TYPE_GRID_CONTAINER = 36, + ARK_ACCESSIBILITY_ROLE_TYPE_GRID_ITEM = 37, + ARK_ACCESSIBILITY_ROLE_TYPE_GRID_ROW = 38, + ARK_ACCESSIBILITY_ROLE_TYPE_HYPERLINK = 39, + ARK_ACCESSIBILITY_ROLE_TYPE_IMAGE = 40, + ARK_ACCESSIBILITY_ROLE_TYPE_IMAGE_ANIMATOR = 41, + ARK_ACCESSIBILITY_ROLE_TYPE_IMAGE_BITMAP = 42, + ARK_ACCESSIBILITY_ROLE_TYPE_IMAGE_DATA = 43, + ARK_ACCESSIBILITY_ROLE_TYPE_IMAGE_SPAN = 44, + ARK_ACCESSIBILITY_ROLE_TYPE_LABEL = 45, + ARK_ACCESSIBILITY_ROLE_TYPE_LINE = 46, + ARK_ACCESSIBILITY_ROLE_TYPE_LIST = 47, + ARK_ACCESSIBILITY_ROLE_TYPE_LIST_ITEM = 48, + ARK_ACCESSIBILITY_ROLE_TYPE_LIST_ITEM_GROUP = 49, + ARK_ACCESSIBILITY_ROLE_TYPE_LOADING_PROGRESS = 50, + ARK_ACCESSIBILITY_ROLE_TYPE_MARQUEE = 51, + ARK_ACCESSIBILITY_ROLE_TYPE_MATRIX2D = 52, + ARK_ACCESSIBILITY_ROLE_TYPE_MENU = 53, + ARK_ACCESSIBILITY_ROLE_TYPE_MENU_ITEM = 54, + ARK_ACCESSIBILITY_ROLE_TYPE_MENU_ITEM_GROUP = 55, + ARK_ACCESSIBILITY_ROLE_TYPE_NAV_DESTINATION = 56, + ARK_ACCESSIBILITY_ROLE_TYPE_NAV_ROUTER = 57, + ARK_ACCESSIBILITY_ROLE_TYPE_NAVIGATION = 58, + ARK_ACCESSIBILITY_ROLE_TYPE_NAVIGATION_BAR = 59, + ARK_ACCESSIBILITY_ROLE_TYPE_NAVIGATION_MENU = 60, + ARK_ACCESSIBILITY_ROLE_TYPE_NAVIGATOR = 61, + ARK_ACCESSIBILITY_ROLE_TYPE_OFFSCREEN_CANVAS = 62, + ARK_ACCESSIBILITY_ROLE_TYPE_OFFSCREEN_CANVAS_RENDERING_CONTEXT2D = 63, + ARK_ACCESSIBILITY_ROLE_TYPE_OPTION = 64, + ARK_ACCESSIBILITY_ROLE_TYPE_PANEL = 65, + ARK_ACCESSIBILITY_ROLE_TYPE_PAPER_PAGE = 66, + ARK_ACCESSIBILITY_ROLE_TYPE_PATH = 67, + ARK_ACCESSIBILITY_ROLE_TYPE_PATH2D = 68, + ARK_ACCESSIBILITY_ROLE_TYPE_PATTERN_LOCK = 69, + ARK_ACCESSIBILITY_ROLE_TYPE_PICKER = 70, + ARK_ACCESSIBILITY_ROLE_TYPE_PICKER_VIEW = 71, + ARK_ACCESSIBILITY_ROLE_TYPE_PLUGIN_COMPONENT = 72, + ARK_ACCESSIBILITY_ROLE_TYPE_POLYGON = 73, + ARK_ACCESSIBILITY_ROLE_TYPE_POLYLINE = 74, + ARK_ACCESSIBILITY_ROLE_TYPE_POPUP = 75, + ARK_ACCESSIBILITY_ROLE_TYPE_PROGRESS = 76, + ARK_ACCESSIBILITY_ROLE_TYPE_QRCODE = 77, + ARK_ACCESSIBILITY_ROLE_TYPE_RADIO = 78, + ARK_ACCESSIBILITY_ROLE_TYPE_RATING = 79, + ARK_ACCESSIBILITY_ROLE_TYPE_RECT = 80, + ARK_ACCESSIBILITY_ROLE_TYPE_REFRESH = 81, + ARK_ACCESSIBILITY_ROLE_TYPE_RELATIVE_CONTAINER = 82, + ARK_ACCESSIBILITY_ROLE_TYPE_REMOTE_WINDOW = 83, + ARK_ACCESSIBILITY_ROLE_TYPE_RICH_EDITOR = 84, + ARK_ACCESSIBILITY_ROLE_TYPE_RICH_TEXT = 85, + ARK_ACCESSIBILITY_ROLE_TYPE_ROLE_PAGER = 86, + ARK_ACCESSIBILITY_ROLE_TYPE_ROW = 87, + ARK_ACCESSIBILITY_ROLE_TYPE_ROW_SPLIT = 88, + ARK_ACCESSIBILITY_ROLE_TYPE_SCROLL = 89, + ARK_ACCESSIBILITY_ROLE_TYPE_SCROLL_BAR = 90, + ARK_ACCESSIBILITY_ROLE_TYPE_SEARCH = 91, + ARK_ACCESSIBILITY_ROLE_TYPE_SEARCH_FIELD = 92, + ARK_ACCESSIBILITY_ROLE_TYPE_SELECT = 93, + ARK_ACCESSIBILITY_ROLE_TYPE_SHAPE = 94, + ARK_ACCESSIBILITY_ROLE_TYPE_SIDEBAR_CONTAINER = 95, + ARK_ACCESSIBILITY_ROLE_TYPE_SLIDER = 96, + ARK_ACCESSIBILITY_ROLE_TYPE_SPAN = 97, + ARK_ACCESSIBILITY_ROLE_TYPE_STACK = 98, + ARK_ACCESSIBILITY_ROLE_TYPE_STEPPER = 99, + ARK_ACCESSIBILITY_ROLE_TYPE_STEPPER_ITEM = 100, + ARK_ACCESSIBILITY_ROLE_TYPE_SWIPER = 101, + ARK_ACCESSIBILITY_ROLE_TYPE_SWIPER_INDICATOR = 102, + ARK_ACCESSIBILITY_ROLE_TYPE_SWITCH = 103, + ARK_ACCESSIBILITY_ROLE_TYPE_SYMBOL_GLYPH = 104, + ARK_ACCESSIBILITY_ROLE_TYPE_TAB_CONTENT = 105, + ARK_ACCESSIBILITY_ROLE_TYPE_TAB_BAR = 106, + ARK_ACCESSIBILITY_ROLE_TYPE_TABS = 107, + ARK_ACCESSIBILITY_ROLE_TYPE_TEXT = 108, + ARK_ACCESSIBILITY_ROLE_TYPE_TEXT_CLOCK = 109, + ARK_ACCESSIBILITY_ROLE_TYPE_TEXT_ENTRY = 110, + ARK_ACCESSIBILITY_ROLE_TYPE_TEXT_INPUT = 111, + ARK_ACCESSIBILITY_ROLE_TYPE_TEXT_PICKER = 112, + ARK_ACCESSIBILITY_ROLE_TYPE_TEXT_TIMER = 113, + ARK_ACCESSIBILITY_ROLE_TYPE_TEXT_AREA = 114, + ARK_ACCESSIBILITY_ROLE_TYPE_TEXT_FIELD = 115, + ARK_ACCESSIBILITY_ROLE_TYPE_TIME_PICKER = 116, + ARK_ACCESSIBILITY_ROLE_TYPE_TITLE_BAR = 117, + ARK_ACCESSIBILITY_ROLE_TYPE_TOGGLER = 118, + ARK_ACCESSIBILITY_ROLE_TYPE_UI_EXTENSION_COMPONENT = 119, + ARK_ACCESSIBILITY_ROLE_TYPE_VIDEO = 120, + ARK_ACCESSIBILITY_ROLE_TYPE_WATER_FLOW = 121, + ARK_ACCESSIBILITY_ROLE_TYPE_WEB = 122, + ARK_ACCESSIBILITY_ROLE_TYPE_XCOMPONENT = 123, + ARK_ACCESSIBILITY_ROLE_TYPE_ROLE_NONE = 124, +} Ark_AccessibilityRoleType; +typedef struct Opt_AccessibilityRoleType { + Ark_Tag tag; + Ark_AccessibilityRoleType value; +} Opt_AccessibilityRoleType; +typedef enum Ark_AccessibilitySamePageMode { + ARK_ACCESSIBILITY_SAME_PAGE_MODE_SEMI_SILENT = 0, + ARK_ACCESSIBILITY_SAME_PAGE_MODE_FULL_SILENT = 1, +} Ark_AccessibilitySamePageMode; +typedef struct Opt_AccessibilitySamePageMode { + Ark_Tag tag; + Ark_AccessibilitySamePageMode value; +} Opt_AccessibilitySamePageMode; typedef enum Ark_AdaptiveColor { ARK_ADAPTIVE_COLOR_DEFAULT = 0, ARK_ADAPTIVE_COLOR_AVERAGE = 1, @@ -2966,6 +3317,8 @@ typedef enum Ark_AnimationMode { ARK_ANIMATION_MODE_CONTENT_FIRST = 0, ARK_ANIMATION_MODE_ACTION_FIRST = 1, ARK_ANIMATION_MODE_NO_ANIMATION = 2, + ARK_ANIMATION_MODE_CONTENT_FIRST_WITH_JUMP = 3, + ARK_ANIMATION_MODE_ACTION_FIRST_WITH_JUMP = 4, } Ark_AnimationMode; typedef struct Opt_AnimationMode { Ark_Tag tag; @@ -3008,6 +3361,24 @@ typedef struct Opt_ArrowPosition { Ark_Tag tag; Ark_ArrowPosition value; } Opt_ArrowPosition; +typedef enum Ark_AutoCapitalizationMode { + ARK_AUTO_CAPITALIZATION_MODE_NONE = 0, + ARK_AUTO_CAPITALIZATION_MODE_WORDS = 1, + ARK_AUTO_CAPITALIZATION_MODE_SENTENCES = 2, + ARK_AUTO_CAPITALIZATION_MODE_ALL_CHARACTERS = 3, +} Ark_AutoCapitalizationMode; +typedef struct Opt_AutoCapitalizationMode { + Ark_Tag tag; + Ark_AutoCapitalizationMode value; +} Opt_AutoCapitalizationMode; +typedef enum Ark_AvoidanceMode { + ARK_AVOIDANCE_MODE_COVER_TARGET = 0, + ARK_AVOIDANCE_MODE_AVOID_AROUND_TARGET = 1, +} Ark_AvoidanceMode; +typedef struct Opt_AvoidanceMode { + Ark_Tag tag; + Ark_AvoidanceMode value; +} Opt_AvoidanceMode; typedef enum Ark_Axis { ARK_AXIS_VERTICAL = 0, ARK_AXIS_HORIZONTAL = 1, @@ -3016,6 +3387,31 @@ typedef struct Opt_Axis { Ark_Tag tag; Ark_Axis value; } Opt_Axis; +typedef enum Ark_AxisAction { + ARK_AXIS_ACTION_NONE = 0, + ARK_AXIS_ACTION_BEGIN = 1, + ARK_AXIS_ACTION_UPDATE = 2, + ARK_AXIS_ACTION_END = 3, + ARK_AXIS_ACTION_CANCEL = 4, +} Ark_AxisAction; +typedef struct Opt_AxisAction { + Ark_Tag tag; + Ark_AxisAction value; +} Opt_AxisAction; +typedef enum Ark_AxisModel { + ARK_AXIS_MODEL_ABS_X = 0, + ARK_AXIS_MODEL_ABS_Y = 1, + ARK_AXIS_MODEL_ABS_Z = 2, + ARK_AXIS_MODEL_ABS_RZ = 3, + ARK_AXIS_MODEL_ABS_GAS = 4, + ARK_AXIS_MODEL_ABS_BRAKE = 5, + ARK_AXIS_MODEL_ABS_HAT0X = 6, + ARK_AXIS_MODEL_ABS_HAT0Y = 7, +} Ark_AxisModel; +typedef struct Opt_AxisModel { + Ark_Tag tag; + Ark_AxisModel value; +} Opt_AxisModel; typedef enum Ark_BadgePosition { ARK_BADGE_POSITION_RIGHT_TOP = 0, ARK_BADGE_POSITION_RIGHT = 1, @@ -3112,6 +3508,14 @@ typedef struct Opt_BlendMode { Ark_Tag tag; Ark_BlendMode value; } Opt_BlendMode; +typedef enum Ark_BlurOnKeyboardHideMode { + ARK_BLUR_ON_KEYBOARD_HIDE_MODE_SILENT = 0, + ARK_BLUR_ON_KEYBOARD_HIDE_MODE_BLUR = 1, +} Ark_BlurOnKeyboardHideMode; +typedef struct Opt_BlurOnKeyboardHideMode { + Ark_Tag tag; + Ark_BlurOnKeyboardHideMode value; +} Opt_BlurOnKeyboardHideMode; typedef enum Ark_BlurStyle { ARK_BLUR_STYLE_THIN = 0, ARK_BLUR_STYLE_REGULAR = 1, @@ -3312,6 +3716,18 @@ typedef enum Ark_ContentType { ARK_CONTENT_TYPE_NICKNAME = 23, ARK_CONTENT_TYPE_DETAIL_INFO_WITHOUT_STREET = 24, ARK_CONTENT_TYPE_FORMAT_ADDRESS = 25, + ARK_CONTENT_TYPE_PASSPORT_NUMBER = 26, + ARK_CONTENT_TYPE_VALIDITY = 27, + ARK_CONTENT_TYPE_ISSUE_AT = 28, + ARK_CONTENT_TYPE_ORGANIZATION = 29, + ARK_CONTENT_TYPE_TAX_ID = 30, + ARK_CONTENT_TYPE_ADDRESS_CITY_AND_STATE = 31, + ARK_CONTENT_TYPE_FLIGHT_NUMBER = 32, + ARK_CONTENT_TYPE_LICENSE_NUMBER = 33, + ARK_CONTENT_TYPE_LICENSE_FILE_NUMBER = 34, + ARK_CONTENT_TYPE_LICENSE_PLATE = 35, + ARK_CONTENT_TYPE_ENGINE_NUMBER = 36, + ARK_CONTENT_TYPE_LICENSE_CHASSIS_NUMBER = 37, } Ark_ContentType; typedef struct Opt_ContentType { Ark_Tag tag; @@ -3375,6 +3791,24 @@ typedef struct Opt_CopyOptions { Ark_Tag tag; Ark_CopyOptions value; } Opt_CopyOptions; +typedef enum Ark_CrownAction { + ARK_CROWN_ACTION_BEGIN = 0, + ARK_CROWN_ACTION_UPDATE = 1, + ARK_CROWN_ACTION_END = 2, +} Ark_CrownAction; +typedef struct Opt_CrownAction { + Ark_Tag tag; + Ark_CrownAction value; +} Opt_CrownAction; +typedef enum Ark_CrownSensitivity { + ARK_CROWN_SENSITIVITY_LOW = 0, + ARK_CROWN_SENSITIVITY_MEDIUM = 1, + ARK_CROWN_SENSITIVITY_HIGH = 2, +} Ark_CrownSensitivity; +typedef struct Opt_CrownSensitivity { + Ark_Tag tag; + Ark_CrownSensitivity value; +} Opt_CrownSensitivity; typedef enum Ark_Curve { ARK_CURVE_LINEAR = 0, ARK_CURVE_EASE = 1, @@ -3414,6 +3848,15 @@ typedef struct Opt_DataPanelType { Ark_Tag tag; Ark_DataPanelType value; } Opt_DataPanelType; +typedef enum Ark_DatePickerMode { + ARK_DATE_PICKER_MODE_DATE = 0, + ARK_DATE_PICKER_MODE_YEAR_AND_MONTH = 1, + ARK_DATE_PICKER_MODE_MONTH_AND_DAY = 2, +} Ark_DatePickerMode; +typedef struct Opt_DatePickerMode { + Ark_Tag tag; + Ark_DatePickerMode value; +} Opt_DatePickerMode; typedef enum Ark_DialogAlignment { ARK_DIALOG_ALIGNMENT_TOP = 0, ARK_DIALOG_ALIGNMENT_CENTER = 1, @@ -3483,6 +3926,14 @@ typedef struct Opt_DisturbanceFieldShape { Ark_Tag tag; Ark_DisturbanceFieldShape value; } Opt_DisturbanceFieldShape; +typedef enum Ark_DividerMode { + ARK_DIVIDER_MODE_FLOATING_ABOVE_MENU = 0, + ARK_DIVIDER_MODE_EMBEDDED_IN_MENU = 1, +} Ark_DividerMode; +typedef struct Opt_DividerMode { + Ark_Tag tag; + Ark_DividerMode value; +} Opt_DividerMode; typedef enum Ark_DpiFollowStrategy { ARK_DPI_FOLLOW_STRATEGY_FOLLOW_HOST_DPI = 0, ARK_DPI_FOLLOW_STRATEGY_FOLLOW_UI_EXTENSION_ABILITY_DPI = 1, @@ -3499,11 +3950,23 @@ typedef struct Opt_DragBehavior { Ark_Tag tag; Ark_DragBehavior value; } Opt_DragBehavior; +typedef enum Ark_DraggingSizeChangeEffect { + ARK_DRAGGING_SIZE_CHANGE_EFFECT_DEFAULT = 0, + ARK_DRAGGING_SIZE_CHANGE_EFFECT_SIZE_TRANSITION = 1, + ARK_DRAGGING_SIZE_CHANGE_EFFECT_SIZE_CONTENT_TRANSITION = 2, +} Ark_DraggingSizeChangeEffect; +typedef struct Opt_DraggingSizeChangeEffect { + Ark_Tag tag; + Ark_DraggingSizeChangeEffect value; +} Opt_DraggingSizeChangeEffect; typedef enum Ark_DragPreviewMode { ARK_DRAG_PREVIEW_MODE_AUTO = 1, ARK_DRAG_PREVIEW_MODE_DISABLE_SCALE = 2, ARK_DRAG_PREVIEW_MODE_ENABLE_DEFAULT_SHADOW = 3, ARK_DRAG_PREVIEW_MODE_ENABLE_DEFAULT_RADIUS = 4, + ARK_DRAG_PREVIEW_MODE_ENABLE_DRAG_ITEM_GRAY_EFFECT = 5, + ARK_DRAG_PREVIEW_MODE_ENABLE_MULTI_TILE_EFFECT = 6, + ARK_DRAG_PREVIEW_MODE_ENABLE_TOUCH_POINT_CALCULATION_BASED_ON_FINAL_PREVIEW = 7, } Ark_DragPreviewMode; typedef struct Opt_DragPreviewMode { Ark_Tag tag; @@ -3568,6 +4031,14 @@ typedef struct Opt_EffectDirection { Ark_Tag tag; Ark_EffectDirection value; } Opt_EffectDirection; +typedef enum Ark_EffectEdge { + ARK_EFFECT_EDGE_START = 1, + ARK_EFFECT_EDGE_END = 2, +} Ark_EffectEdge; +typedef struct Opt_EffectEdge { + Ark_Tag tag; + Ark_EffectEdge value; +} Opt_EffectEdge; typedef enum Ark_EffectFillStyle { ARK_EFFECT_FILL_STYLE_CUMULATIVE = 0, ARK_EFFECT_FILL_STYLE_ITERATIVE = 1, @@ -3688,6 +4159,14 @@ typedef struct Opt_FlyMode { Ark_Tag tag; Ark_FlyMode value; } Opt_FlyMode; +typedef enum Ark_FocusDrawLevel { + ARK_FOCUS_DRAW_LEVEL_SELF = 0, + ARK_FOCUS_DRAW_LEVEL_TOP = 1, +} Ark_FocusDrawLevel; +typedef struct Opt_FocusDrawLevel { + Ark_Tag tag; + Ark_FocusDrawLevel value; +} Opt_FocusDrawLevel; typedef enum Ark_FocusPriority { ARK_FOCUS_PRIORITY_AUTO = 0, ARK_FOCUS_PRIORITY_PRIOR = 2000, @@ -3762,6 +4241,9 @@ typedef enum Ark_FormDimension { ARK_FORM_DIMENSION_DIMENSION_2_1 = 4, ARK_FORM_DIMENSION_DIMENSION_1_1 = 6, ARK_FORM_DIMENSION_DIMENSION_6_4 = 7, + ARK_FORM_DIMENSION_DIMENSION_2_3 = 8, + ARK_FORM_DIMENSION_DIMENSION_3_3 = 9, + ARK_FORM_DIMENSION_DIMENSION_3_4 = 10, } Ark_FormDimension; typedef struct Opt_FormDimension { Ark_Tag tag; @@ -3915,6 +4397,15 @@ typedef struct Opt_GridRowDirection { Ark_Tag tag; Ark_GridRowDirection value; } Opt_GridRowDirection; +typedef enum Ark_HapticFeedbackMode { + ARK_HAPTIC_FEEDBACK_MODE_DISABLED = 0, + ARK_HAPTIC_FEEDBACK_MODE_ENABLED = 1, + ARK_HAPTIC_FEEDBACK_MODE_AUTO = 2, +} Ark_HapticFeedbackMode; +typedef struct Opt_HapticFeedbackMode { + Ark_Tag tag; + Ark_HapticFeedbackMode value; +} Opt_HapticFeedbackMode; typedef enum Ark_HeightBreakpoint { ARK_HEIGHT_BREAKPOINT_HEIGHT_SM = 0, ARK_HEIGHT_BREAKPOINT_HEIGHT_MD = 1, @@ -4019,6 +4510,7 @@ typedef enum Ark_ImageFit { ARK_IMAGE_FIT_BOTTOM_START = 13, ARK_IMAGE_FIT_BOTTOM = 14, ARK_IMAGE_FIT_BOTTOM_END = 15, + ARK_IMAGE_FIT_MATRIX = 16, } Ark_ImageFit; typedef struct Opt_ImageFit { Ark_Tag tag; @@ -4052,6 +4544,17 @@ typedef struct Opt_ImageRepeat { Ark_Tag tag; Ark_ImageRepeat value; } Opt_ImageRepeat; +typedef enum Ark_ImageRotateOrientation { + ARK_IMAGE_ROTATE_ORIENTATION_AUTO = 0, + ARK_IMAGE_ROTATE_ORIENTATION_UP = 1, + ARK_IMAGE_ROTATE_ORIENTATION_RIGHT = 2, + ARK_IMAGE_ROTATE_ORIENTATION_DOWN = 3, + ARK_IMAGE_ROTATE_ORIENTATION_LEFT = 4, +} Ark_ImageRotateOrientation; +typedef struct Opt_ImageRotateOrientation { + Ark_Tag tag; + Ark_ImageRotateOrientation value; +} Opt_ImageRotateOrientation; typedef enum Ark_ImageSize { ARK_IMAGE_SIZE_AUTO = 0, ARK_IMAGE_SIZE_COVER = 1, @@ -4119,6 +4622,15 @@ typedef struct Opt_IntentionCode { Ark_Tag tag; Ark_IntentionCode value; } Opt_IntentionCode; +typedef enum Ark_InteractionHand { + ARK_INTERACTION_HAND_NONE = 0, + ARK_INTERACTION_HAND_LEFT = 1, + ARK_INTERACTION_HAND_RIGHT = 2, +} Ark_InteractionHand; +typedef struct Opt_InteractionHand { + Ark_Tag tag; + Ark_InteractionHand value; +} Opt_InteractionHand; typedef enum Ark_ItemAlign { ARK_ITEM_ALIGN_AUTO = 0, ARK_ITEM_ALIGN_START = 1, @@ -4141,6 +4653,16 @@ typedef struct Opt_ItemState { Ark_Tag tag; Ark_ItemState value; } Opt_ItemState; +typedef enum Ark_KeyboardAppearance { + ARK_KEYBOARD_APPEARANCE_NONE_IMMERSIVE = 0, + ARK_KEYBOARD_APPEARANCE_IMMERSIVE = 1, + ARK_KEYBOARD_APPEARANCE_LIGHT_IMMERSIVE = 2, + ARK_KEYBOARD_APPEARANCE_DARK_IMMERSIVE = 3, +} Ark_KeyboardAppearance; +typedef struct Opt_KeyboardAppearance { + Ark_Tag tag; + Ark_KeyboardAppearance value; +} Opt_KeyboardAppearance; typedef enum Ark_KeyboardAvoidMode { ARK_KEYBOARD_AVOID_MODE_DEFAULT = 0, ARK_KEYBOARD_AVOID_MODE_NONE = 1, @@ -4149,9 +4671,18 @@ typedef struct Opt_KeyboardAvoidMode { Ark_Tag tag; Ark_KeyboardAvoidMode value; } Opt_KeyboardAvoidMode; +typedef enum Ark_KeyProcessingMode { + ARK_KEY_PROCESSING_MODE_FOCUS_NAVIGATION = 0, + ARK_KEY_PROCESSING_MODE_ANCESTOR_EVENT = 1, +} Ark_KeyProcessingMode; +typedef struct Opt_KeyProcessingMode { + Ark_Tag tag; + Ark_KeyProcessingMode value; +} Opt_KeyProcessingMode; typedef enum Ark_KeySource { ARK_KEY_SOURCE_UNKNOWN = 0, ARK_KEY_SOURCE_KEYBOARD = 1, + ARK_KEY_SOURCE_JOYSTICK = 2, } Ark_KeySource; typedef struct Opt_KeySource { Ark_Tag tag; @@ -4350,6 +4881,23 @@ typedef struct Opt_LocationIconStyle { Ark_Tag tag; Ark_LocationIconStyle value; } Opt_LocationIconStyle; +typedef enum Ark_MarqueeStartPolicy { + ARK_MARQUEE_START_POLICY_DEFAULT = 0, + ARK_MARQUEE_START_POLICY_ON_FOCUS = 1, +} Ark_MarqueeStartPolicy; +typedef struct Opt_MarqueeStartPolicy { + Ark_Tag tag; + Ark_MarqueeStartPolicy value; +} Opt_MarqueeStartPolicy; +typedef enum Ark_MarqueeState { + ARK_MARQUEE_STATE_START = 0, + ARK_MARQUEE_STATE_BOUNCE = 1, + ARK_MARQUEE_STATE_FINISH = 2, +} Ark_MarqueeState; +typedef struct Opt_MarqueeState { + Ark_Tag tag; + Ark_MarqueeState value; +} Opt_MarqueeState; typedef enum Ark_MarqueeUpdateStrategy { ARK_MARQUEE_UPDATE_STRATEGY_DEFAULT = 0, ARK_MARQUEE_UPDATE_STRATEGY_PRESERVE_POSITION = 1, @@ -4443,6 +4991,7 @@ typedef enum Ark_MouseAction { ARK_MOUSE_ACTION_RELEASE = 1, ARK_MOUSE_ACTION_MOVE = 2, ARK_MOUSE_ACTION_HOVER = 3, + ARK_MOUSE_ACTION_CANCEL = 13, } Ark_MouseAction; typedef struct Opt_MouseAction { Ark_Tag tag; @@ -4479,6 +5028,18 @@ typedef struct Opt_NavBarPosition { Ark_Tag tag; Ark_NavBarPosition value; } Opt_NavBarPosition; +typedef enum Ark_NavDestinationActiveReason { + ARK_NAV_DESTINATION_ACTIVE_REASON_TRANSITION = 0, + ARK_NAV_DESTINATION_ACTIVE_REASON_CONTENT_COVER = 1, + ARK_NAV_DESTINATION_ACTIVE_REASON_SHEET = 2, + ARK_NAV_DESTINATION_ACTIVE_REASON_DIALOG = 3, + ARK_NAV_DESTINATION_ACTIVE_REASON_OVERLAY = 4, + ARK_NAV_DESTINATION_ACTIVE_REASON_APP_STATE = 5, +} Ark_NavDestinationActiveReason; +typedef struct Opt_NavDestinationActiveReason { + Ark_Tag tag; + Ark_NavDestinationActiveReason value; +} Opt_NavDestinationActiveReason; typedef enum Ark_NavDestinationMode { ARK_NAV_DESTINATION_MODE_STANDARD = 0, ARK_NAV_DESTINATION_MODE_DIALOG = 1, @@ -4510,6 +5071,10 @@ typedef enum Ark_NavigationSystemTransitionType { ARK_NAVIGATION_SYSTEM_TRANSITION_TYPE_NONE = 1, ARK_NAVIGATION_SYSTEM_TRANSITION_TYPE_TITLE = 2, ARK_NAVIGATION_SYSTEM_TRANSITION_TYPE_CONTENT = 3, + ARK_NAVIGATION_SYSTEM_TRANSITION_TYPE_FADE = 4, + ARK_NAVIGATION_SYSTEM_TRANSITION_TYPE_EXPLODE = 5, + ARK_NAVIGATION_SYSTEM_TRANSITION_TYPE_SLIDE_RIGHT = 6, + ARK_NAVIGATION_SYSTEM_TRANSITION_TYPE_SLIDE_BOTTOM = 7, } Ark_NavigationSystemTransitionType; typedef struct Opt_NavigationSystemTransitionType { Ark_Tag tag; @@ -4584,6 +5149,14 @@ typedef struct Opt_OverScrollMode { Ark_Tag tag; Ark_OverScrollMode value; } Opt_OverScrollMode; +typedef enum Ark_PageFlipMode { + ARK_PAGE_FLIP_MODE_CONTINUOUS = 0, + ARK_PAGE_FLIP_MODE_SINGLE = 1, +} Ark_PageFlipMode; +typedef struct Opt_PageFlipMode { + Ark_Tag tag; + Ark_PageFlipMode value; +} Opt_PageFlipMode; typedef enum Ark_PanDirection { ARK_PAN_DIRECTION_NONE = 0, ARK_PAN_DIRECTION_HORIZONTAL = 1, @@ -4709,6 +5282,14 @@ typedef struct Opt_PixelRoundCalcPolicy { Ark_Tag tag; Ark_PixelRoundCalcPolicy value; } Opt_PixelRoundCalcPolicy; +typedef enum Ark_PixelRoundMode { + ARK_PIXEL_ROUND_MODE_PIXEL_ROUND_ON_LAYOUT_FINISH = 0, + ARK_PIXEL_ROUND_MODE_PIXEL_ROUND_AFTER_MEASURE = 1, +} Ark_PixelRoundMode; +typedef struct Opt_PixelRoundMode { + Ark_Tag tag; + Ark_PixelRoundMode value; +} Opt_PixelRoundMode; typedef enum Ark_Placement { ARK_PLACEMENT_LEFT = 0, ARK_PLACEMENT_RIGHT = 1, @@ -4806,6 +5387,7 @@ typedef enum Ark_PreDragStatus { ARK_PRE_DRAG_STATUS_PREVIEW_LANDING_STARTED = 4, ARK_PRE_DRAG_STATUS_PREVIEW_LANDING_FINISHED = 5, ARK_PRE_DRAG_STATUS_ACTION_CANCELED_BEFORE_DRAG = 6, + ARK_PRE_DRAG_STATUS_PREPARING_FOR_DRAG_DETECTION = 7, } Ark_PreDragStatus; typedef struct Opt_PreDragStatus { Ark_Tag tag; @@ -4996,6 +5578,7 @@ typedef enum Ark_RichEditorResponseType { ARK_RICH_EDITOR_RESPONSE_TYPE_RIGHT_CLICK = 0, ARK_RICH_EDITOR_RESPONSE_TYPE_LONG_PRESS = 1, ARK_RICH_EDITOR_RESPONSE_TYPE_SELECT = 2, + ARK_RICH_EDITOR_RESPONSE_TYPE_DEFAULT = 3, } Ark_RichEditorResponseType; typedef struct Opt_RichEditorResponseType { Ark_Tag tag; @@ -5006,6 +5589,7 @@ typedef enum Ark_RichEditorSpanType { ARK_RICH_EDITOR_SPAN_TYPE_IMAGE = 1, ARK_RICH_EDITOR_SPAN_TYPE_MIXED = 2, ARK_RICH_EDITOR_SPAN_TYPE_BUILDER = 3, + ARK_RICH_EDITOR_SPAN_TYPE_DEFAULT = 4, } Ark_RichEditorSpanType; typedef struct Opt_RichEditorSpanType { Ark_Tag tag; @@ -5060,6 +5644,7 @@ typedef enum Ark_SaveDescription { ARK_SAVE_DESCRIPTION_EXPORT_TO_GALLERY = 9, ARK_SAVE_DESCRIPTION_QUICK_SAVE_TO_GALLERY = 10, ARK_SAVE_DESCRIPTION_RESAVE_TO_GALLERY = 11, + ARK_SAVE_DESCRIPTION_SAVE_ALL = 12, } Ark_SaveDescription; typedef struct Opt_SaveDescription { Ark_Tag tag; @@ -5435,6 +6020,15 @@ typedef struct Opt_SwipeEdgeEffect { Ark_Tag tag; Ark_SwipeEdgeEffect value; } Opt_SwipeEdgeEffect; +typedef enum Ark_SwiperAnimationMode { + ARK_SWIPER_ANIMATION_MODE_NO_ANIMATION = 0, + ARK_SWIPER_ANIMATION_MODE_DEFAULT_ANIMATION = 1, + ARK_SWIPER_ANIMATION_MODE_FAST_ANIMATION = 2, +} Ark_SwiperAnimationMode; +typedef struct Opt_SwiperAnimationMode { + Ark_Tag tag; + Ark_SwiperAnimationMode value; +} Opt_SwiperAnimationMode; typedef enum Ark_SwiperDisplayMode { ARK_SWIPER_DISPLAY_MODE_LEGACY_STRETCH = 0, ARK_SWIPER_DISPLAY_MODE_LEGACY_AUTO_LINEAR = 1, @@ -5471,6 +6065,14 @@ typedef struct Opt_SymbolRenderingStrategy { Ark_Tag tag; Ark_SymbolRenderingStrategy value; } Opt_SymbolRenderingStrategy; +typedef enum Ark_TabsCacheMode { + ARK_TABS_CACHE_MODE_CACHE_BOTH_SIDE = 0, + ARK_TABS_CACHE_MODE_CACHE_LATEST_SWITCHED = 1, +} Ark_TabsCacheMode; +typedef struct Opt_TabsCacheMode { + Ark_Tag tag; + Ark_TabsCacheMode value; +} Opt_TabsCacheMode; typedef enum Ark_TextAlign { ARK_TEXT_ALIGN_CENTER = 0, ARK_TEXT_ALIGN_START = 1, @@ -5583,6 +6185,14 @@ typedef struct Opt_TextInputStyle { Ark_Tag tag; Ark_TextInputStyle value; } Opt_TextInputStyle; +typedef enum Ark_TextMenuShowMode { + ARK_TEXT_MENU_SHOW_MODE_DEFAULT = 0, + ARK_TEXT_MENU_SHOW_MODE_PREFER_WINDOW = 1, +} Ark_TextMenuShowMode; +typedef struct Opt_TextMenuShowMode { + Ark_Tag tag; + Ark_TextMenuShowMode value; +} Opt_TextMenuShowMode; typedef enum Ark_TextOverflow { ARK_TEXT_OVERFLOW_NONE = 0, ARK_TEXT_OVERFLOW_CLIP = 1, @@ -5597,6 +6207,7 @@ typedef enum Ark_TextResponseType { ARK_TEXT_RESPONSE_TYPE_RIGHT_CLICK = 0, ARK_TEXT_RESPONSE_TYPE_LONG_PRESS = 1, ARK_TEXT_RESPONSE_TYPE_SELECT = 2, + ARK_TEXT_RESPONSE_TYPE_DEFAULT = 3, } Ark_TextResponseType; typedef struct Opt_TextResponseType { Ark_Tag tag; @@ -5615,6 +6226,7 @@ typedef enum Ark_TextSpanType { ARK_TEXT_SPAN_TYPE_TEXT = 0, ARK_TEXT_SPAN_TYPE_IMAGE = 1, ARK_TEXT_SPAN_TYPE_MIXED = 2, + ARK_TEXT_SPAN_TYPE_DEFAULT = 3, } Ark_TextSpanType; typedef struct Opt_TextSpanType { Ark_Tag tag; @@ -6036,6 +6648,14 @@ typedef struct Opt_WidthBreakpoint { Ark_Tag tag; Ark_WidthBreakpoint value; } Opt_WidthBreakpoint; +typedef enum Ark_WindowModeFollowStrategy { + ARK_WINDOW_MODE_FOLLOW_STRATEGY_FOLLOW_HOST_WINDOW_MODE = 0, + ARK_WINDOW_MODE_FOLLOW_STRATEGY_FOLLOW_UI_EXTENSION_ABILITY_WINDOW_MODE = 1, +} Ark_WindowModeFollowStrategy; +typedef struct Opt_WindowModeFollowStrategy { + Ark_Tag tag; + Ark_WindowModeFollowStrategy value; +} Opt_WindowModeFollowStrategy; typedef enum Ark_WindowStatusType { ARK_WINDOW_STATUS_TYPE_UNDEFINED = 0, ARK_WINDOW_STATUS_TYPE_FULL_SCREEN = 1, @@ -6052,6 +6672,7 @@ typedef enum Ark_WordBreak { ARK_WORD_BREAK_NORMAL = 0, ARK_WORD_BREAK_BREAK_ALL = 1, ARK_WORD_BREAK_BREAK_WORD = 2, + ARK_WORD_BREAK_HYPHENATION = 3, } Ark_WordBreak; typedef struct Opt_WordBreak { Ark_Tag tag; @@ -6080,6 +6701,15 @@ typedef struct Opt_AccessibilityCallback { Ark_Tag tag; AccessibilityCallback value; } Opt_AccessibilityCallback; +typedef struct AccessibilityFocusCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Boolean isFocus); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isFocus); +} AccessibilityFocusCallback; +typedef struct Opt_AccessibilityFocusCallback { + Ark_Tag tag; + AccessibilityFocusCallback value; +} Opt_AccessibilityFocusCallback; typedef struct Ark_AlphabetIndexerAttribute { void *handle; } Ark_AlphabetIndexerAttribute; @@ -6134,6 +6764,13 @@ typedef struct Opt_ClientAuthenticationHandler { Ark_Tag tag; Ark_ClientAuthenticationHandler value; } Opt_ClientAuthenticationHandler; +typedef struct Ark_ColorContent { + void *handle; +} Ark_ColorContent; +typedef struct Opt_ColorContent { + Ark_Tag tag; + Ark_ColorContent value; +} Opt_ColorContent; typedef struct Opt_ColorFilter { Ark_Tag tag; Ark_ColorFilter value; @@ -6201,13 +6838,6 @@ typedef struct Opt_DrawModifier { Ark_Tag tag; Ark_DrawModifier value; } Opt_DrawModifier; -typedef struct Ark_EdgeEffectOptions { - Ark_Boolean alwaysEnabled; -} Ark_EdgeEffectOptions; -typedef struct Opt_EdgeEffectOptions { - Ark_Tag tag; - Ark_EdgeEffectOptions value; -} Opt_EdgeEffectOptions; typedef struct Opt_EllipseShape { Ark_Tag tag; Ark_EllipseShape value; @@ -6325,6 +6955,13 @@ typedef struct Opt_LayoutManager { Ark_Tag tag; Ark_LayoutManager value; } Opt_LayoutManager; +typedef struct Ark_LayoutPolicy { + void *handle; +} Ark_LayoutPolicy; +typedef struct Opt_LayoutPolicy { + Ark_Tag tag; + Ark_LayoutPolicy value; +} Opt_LayoutPolicy; typedef struct Opt_LinearGradient { Ark_Tag tag; Ark_LinearGradient value; @@ -6378,14 +7015,14 @@ typedef struct Opt_LongPressGestureInterface { Ark_Tag tag; Ark_LongPressGestureInterface value; } Opt_LongPressGestureInterface; +typedef struct Opt_LongPressRecognizer { + Ark_Tag tag; + Ark_LongPressRecognizer value; +} Opt_LongPressRecognizer; typedef struct Opt_Matrix4Transit { Ark_Tag tag; Ark_Matrix4Transit value; } Opt_Matrix4Transit; -typedef struct Opt_Measurable { - Ark_Tag tag; - Ark_Measurable value; -} Opt_Measurable; typedef struct Ark_NativeMediaPlayerConfig { Ark_Boolean enable; Ark_Boolean shouldOverlay; @@ -6582,6 +7219,10 @@ typedef struct Opt_PinchGestureInterface { Ark_Tag tag; Ark_PinchGestureInterface value; } Opt_PinchGestureInterface; +typedef struct Opt_PinchRecognizer { + Ark_Tag tag; + Ark_PinchRecognizer value; +} Opt_PinchRecognizer; typedef struct Opt_PixelMap { Ark_Tag tag; Ark_PixelMap value; @@ -6601,6 +7242,13 @@ typedef struct Opt_PlaybackInfo { Ark_Tag tag; Ark_PlaybackInfo value; } Opt_PlaybackInfo; +typedef struct Ark_PopupStateChangeParam { + Ark_Boolean isVisible; +} Ark_PopupStateChangeParam; +typedef struct Opt_PopupStateChangeParam { + Ark_Tag tag; + Ark_PopupStateChangeParam value; +} Opt_PopupStateChangeParam; typedef struct Ark_PositionWithAffinity { Ark_Number position; Ark_Affinity affinity; @@ -6704,6 +7352,10 @@ typedef struct Opt_RotationGestureInterface { Ark_Tag tag; Ark_RotationGestureInterface value; } Opt_RotationGestureInterface; +typedef struct Opt_RotationRecognizer { + Ark_Tag tag; + Ark_RotationRecognizer value; +} Opt_RotationRecognizer; typedef struct Ark_RRect { Ark_Number left; Ark_Number top; @@ -6853,10 +7505,23 @@ typedef struct Opt_SwiperContentTransitionProxy { Ark_Tag tag; Ark_SwiperContentTransitionProxy value; } Opt_SwiperContentTransitionProxy; +typedef struct Ark_SwiperContentWillScrollResult { + Ark_Number currentIndex; + Ark_Number comingIndex; + Ark_Number offset; +} Ark_SwiperContentWillScrollResult; +typedef struct Opt_SwiperContentWillScrollResult { + Ark_Tag tag; + Ark_SwiperContentWillScrollResult value; +} Opt_SwiperContentWillScrollResult; typedef struct Opt_SwiperController { Ark_Tag tag; Ark_SwiperController value; } Opt_SwiperController; +typedef struct Opt_SwipeRecognizer { + Ark_Tag tag; + Ark_SwipeRecognizer value; +} Opt_SwipeRecognizer; typedef struct Opt_SymbolEffect { Ark_Tag tag; Ark_SymbolEffect value; @@ -6903,6 +7568,10 @@ typedef struct Opt_TapGestureInterface { Ark_Tag tag; Ark_TapGestureInterface value; } Opt_TapGestureInterface; +typedef struct Opt_TapRecognizer { + Ark_Tag tag; + Ark_TapRecognizer value; +} Opt_TapRecognizer; typedef struct Ark_TextAreaAttribute { void *handle; } Ark_TextAreaAttribute; @@ -7368,6 +8037,17 @@ typedef struct Opt_Union_String_Number_CanvasGradient_CanvasPattern { Ark_Tag tag; Ark_Union_String_Number_CanvasGradient_CanvasPattern value; } Opt_Union_String_Number_CanvasGradient_CanvasPattern; +typedef struct Ark_Union_SwiperAnimationMode_Boolean { + Ark_Int32 selector; + union { + Ark_SwiperAnimationMode value0; + Ark_Boolean value1; + }; +} Ark_Union_SwiperAnimationMode_Boolean; +typedef struct Opt_Union_SwiperAnimationMode_Boolean { + Ark_Tag tag; + Ark_Union_SwiperAnimationMode_Boolean value; +} Opt_Union_SwiperAnimationMode_Boolean; typedef struct Ark_Union_TextInputStyle_TextContentStyle { Ark_Int32 selector; union { @@ -7576,6 +8256,22 @@ typedef struct Opt_Array_common2D_Point { Ark_Tag tag; Array_common2D_Point value; } Opt_Array_common2D_Point; +typedef struct Array_DateRange { + Ark_DateRange* array; + Ark_Int32 length; +} Array_DateRange; +typedef struct Opt_Array_DateRange { + Ark_Tag tag; + Array_DateRange value; +} Opt_Array_DateRange; +typedef struct Array_Dimension { + Ark_Dimension* array; + Ark_Int32 length; +} Array_Dimension; +typedef struct Opt_Array_Dimension { + Ark_Tag tag; + Array_Dimension value; +} Opt_Array_Dimension; typedef struct Array_DragPreviewMode { Ark_DragPreviewMode* array; Ark_Int32 length; @@ -7696,6 +8392,22 @@ typedef struct Opt_Array_LayoutSafeAreaType { Ark_Tag tag; Array_LayoutSafeAreaType value; } Opt_Array_LayoutSafeAreaType; +typedef struct Array_Length { + Ark_Length* array; + Ark_Int32 length; +} Array_Length; +typedef struct Opt_Array_Length { + Ark_Tag tag; + Array_Length value; +} Opt_Array_Length; +typedef struct Array_LengthMetrics { + Ark_LengthMetrics* array; + Ark_Int32 length; +} Array_LengthMetrics; +typedef struct Opt_Array_LengthMetrics { + Ark_Tag tag; + Array_LengthMetrics value; +} Opt_Array_LengthMetrics; typedef struct Array_LocalizedBarrierStyle { Ark_LocalizedBarrierStyle* array; Ark_Int32 length; @@ -7720,6 +8432,22 @@ typedef struct Opt_Array_ModifierKey { Ark_Tag tag; Array_ModifierKey value; } Opt_Array_ModifierKey; +typedef struct Array_MouseButton { + Ark_MouseButton* array; + Ark_Int32 length; +} Array_MouseButton; +typedef struct Opt_Array_MouseButton { + Ark_Tag tag; + Array_MouseButton value; +} Opt_Array_MouseButton; +typedef struct Array_NavDestinationTransition { + Ark_NavDestinationTransition* array; + Ark_Int32 length; +} Array_NavDestinationTransition; +typedef struct Opt_Array_NavDestinationTransition { + Ark_Tag tag; + Array_NavDestinationTransition value; +} Opt_Array_NavDestinationTransition; typedef struct Array_NavigationMenuItem { Ark_NavigationMenuItem* array; Ark_Int32 length; @@ -7728,6 +8456,22 @@ typedef struct Opt_Array_NavigationMenuItem { Ark_Tag tag; Array_NavigationMenuItem value; } Opt_Array_NavigationMenuItem; +typedef struct Array_NavPathInfo { + Ark_NavPathInfo* array; + Ark_Int32 length; +} Array_NavPathInfo; +typedef struct Opt_Array_NavPathInfo { + Ark_Tag tag; + Array_NavPathInfo value; +} Opt_Array_NavPathInfo; +typedef struct Array_NestedScrollInfo { + Ark_NestedScrollInfo* array; + Ark_Int32 length; +} Array_NestedScrollInfo; +typedef struct Opt_Array_NestedScrollInfo { + Ark_Tag tag; + Array_NestedScrollInfo value; +} Opt_Array_NestedScrollInfo; typedef struct Array_Number { Ark_Number* array; Ark_Int32 length; @@ -7752,6 +8496,14 @@ typedef struct Opt_Array_ObscuredReasons { Ark_Tag tag; Array_ObscuredReasons value; } Opt_Array_ObscuredReasons; +typedef struct Array_Opt_Object { + Opt_Object* array; + Ark_Int32 length; +} Array_Opt_Object; +typedef struct Opt_Array_Opt_Object { + Ark_Tag tag; + Array_Opt_Object value; +} Opt_Array_Opt_Object; typedef struct Array_PixelMap { Ark_PixelMap* array; Ark_Int32 length; @@ -7840,6 +8592,14 @@ typedef struct Opt_Array_ScriptItem { Ark_Tag tag; Array_ScriptItem value; } Opt_Array_ScriptItem; +typedef struct Array_Scroller { + Ark_Scroller* array; + Ark_Int32 length; +} Array_Scroller; +typedef struct Opt_Array_Scroller { + Ark_Tag tag; + Array_Scroller value; +} Opt_Array_Scroller; typedef struct Array_SectionOptions { Ark_SectionOptions* array; Ark_Int32 length; @@ -8032,14 +8792,6 @@ typedef struct Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResul Ark_Tag tag; Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult value; } Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult; -typedef struct Array_Union_String_Number_Resource { - Ark_Union_String_Number_Resource* array; - Ark_Int32 length; -} Array_Union_String_Number_Resource; -typedef struct Opt_Array_Union_String_Number_Resource { - Ark_Tag tag; - Array_Union_String_Number_Resource value; -} Opt_Array_Union_String_Number_Resource; typedef struct Array_WebHeader { Ark_WebHeader* array; Ark_Int32 length; @@ -8138,6 +8890,15 @@ typedef struct Opt_Callback_Array_TouchTestInfo_TouchResult { Ark_Tag tag; Callback_Array_TouchTestInfo_TouchResult value; } Opt_Callback_Array_TouchTestInfo_TouchResult; +typedef struct Callback_AxisEvent_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_AxisEvent parameter); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_AxisEvent parameter); +} Callback_AxisEvent_Void; +typedef struct Opt_Callback_AxisEvent_Void { + Ark_Tag tag; + Callback_AxisEvent_Void value; +} Opt_Callback_AxisEvent_Void; typedef struct Callback_Boolean { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Callback_Boolean_Void continuation); @@ -8165,6 +8926,15 @@ typedef struct Opt_Callback_Boolean_Void { Ark_Tag tag; Callback_Boolean_Void value; } Opt_Callback_Boolean_Void; +typedef struct Callback_Buffer_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Buffer value); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Buffer value); +} Callback_Buffer_Void; +typedef struct Opt_Callback_Buffer_Void { + Ark_Tag tag; + Callback_Buffer_Void value; +} Opt_Callback_Buffer_Void; typedef struct Callback_CalendarRequestedData_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_CalendarRequestedData event); @@ -8183,33 +8953,6 @@ typedef struct Opt_Callback_CalendarSelectedDate_Void { Ark_Tag tag; Callback_CalendarSelectedDate_Void value; } Opt_Callback_CalendarSelectedDate_Void; -typedef struct Callback_ClickEvent_LocationButtonOnClickResult_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_LocationButtonOnClickResult result); - void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_LocationButtonOnClickResult result); -} Callback_ClickEvent_LocationButtonOnClickResult_Void; -typedef struct Opt_Callback_ClickEvent_LocationButtonOnClickResult_Void { - Ark_Tag tag; - Callback_ClickEvent_LocationButtonOnClickResult_Void value; -} Opt_Callback_ClickEvent_LocationButtonOnClickResult_Void; -typedef struct Callback_ClickEvent_PasteButtonOnClickResult_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_PasteButtonOnClickResult result); - void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_PasteButtonOnClickResult result); -} Callback_ClickEvent_PasteButtonOnClickResult_Void; -typedef struct Opt_Callback_ClickEvent_PasteButtonOnClickResult_Void { - Ark_Tag tag; - Callback_ClickEvent_PasteButtonOnClickResult_Void value; -} Opt_Callback_ClickEvent_PasteButtonOnClickResult_Void; -typedef struct Callback_ClickEvent_SaveButtonOnClickResult_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_SaveButtonOnClickResult result); - void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_SaveButtonOnClickResult result); -} Callback_ClickEvent_SaveButtonOnClickResult_Void; -typedef struct Opt_Callback_ClickEvent_SaveButtonOnClickResult_Void { - Ark_Tag tag; - Callback_ClickEvent_SaveButtonOnClickResult_Void value; -} Opt_Callback_ClickEvent_SaveButtonOnClickResult_Void; typedef struct Callback_ClickEvent_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_ClickEvent event); @@ -8237,6 +8980,15 @@ typedef struct Opt_Callback_CopyEvent_Void { Ark_Tag tag; Callback_CopyEvent_Void value; } Opt_Callback_CopyEvent_Void; +typedef struct Callback_CrownEvent_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_CrownEvent parameter); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_CrownEvent parameter); +} Callback_CrownEvent_Void; +typedef struct Opt_Callback_CrownEvent_Void { + Ark_Tag tag; + Callback_CrownEvent_Void value; +} Opt_Callback_CrownEvent_Void; typedef struct Callback_CustomBuilder_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const CustomNodeBuilder value); @@ -8363,6 +9115,15 @@ typedef struct Opt_Callback_DrawContext_CustomSpanDrawInfo_Void { Ark_Tag tag; Callback_DrawContext_CustomSpanDrawInfo_Void value; } Opt_Callback_DrawContext_CustomSpanDrawInfo_Void; +typedef struct Callback_EditableTextChangeValue_Boolean { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_EditableTextChangeValue parameter, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_EditableTextChangeValue parameter, const Callback_Boolean_Void continuation); +} Callback_EditableTextChangeValue_Boolean; +typedef struct Opt_Callback_EditableTextChangeValue_Boolean { + Ark_Tag tag; + Callback_EditableTextChangeValue_Boolean value; +} Opt_Callback_EditableTextChangeValue_Boolean; typedef struct Callback_EnterKeyType_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, Ark_EnterKeyType enterKey); @@ -8390,6 +9151,15 @@ typedef struct Opt_Callback_Extender_OnProgress { Ark_Tag tag; Callback_Extender_OnProgress value; } Opt_Callback_Extender_OnProgress; +typedef struct Callback_FocusAxisEvent_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_FocusAxisEvent parameter); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_FocusAxisEvent parameter); +} Callback_FocusAxisEvent_Void; +typedef struct Opt_Callback_FocusAxisEvent_Void { + Ark_Tag tag; + Callback_FocusAxisEvent_Void value; +} Opt_Callback_FocusAxisEvent_Void; typedef struct Callback_FormCallbackInfo_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_FormCallbackInfo parameter); @@ -8453,6 +9223,15 @@ typedef struct Opt_Callback_HitTestMode_Void { Ark_Tag tag; Callback_HitTestMode_Void value; } Opt_Callback_HitTestMode_Void; +typedef struct Callback_HoverEvent_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_HoverEvent parameter); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_HoverEvent parameter); +} Callback_HoverEvent_Void; +typedef struct Opt_Callback_HoverEvent_Void { + Ark_Tag tag; + Callback_HoverEvent_Void value; +} Opt_Callback_HoverEvent_Void; typedef struct Callback_InsertValue_Boolean { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_InsertValue parameter, const Callback_Boolean_Void continuation); @@ -8597,6 +9376,15 @@ typedef struct Opt_Callback_Map_String_Object_Void { Ark_Tag tag; Callback_Map_String_Object_Void value; } Opt_Callback_Map_String_Object_Void; +typedef struct Callback_MarqueeState_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, Ark_MarqueeState parameter); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_MarqueeState parameter); +} Callback_MarqueeState_Void; +typedef struct Opt_Callback_MarqueeState_Void { + Ark_Tag tag; + Callback_MarqueeState_Void value; +} Opt_Callback_MarqueeState_Void; typedef struct Callback_MouseEvent_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_MouseEvent event); @@ -8624,6 +9412,15 @@ typedef struct Opt_Callback_NativeEmbedTouchInfo_Void { Ark_Tag tag; Callback_NativeEmbedTouchInfo_Void value; } Opt_Callback_NativeEmbedTouchInfo_Void; +typedef struct Callback_NavDestinationActiveReason_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, Ark_NavDestinationActiveReason parameter); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_NavDestinationActiveReason parameter); +} Callback_NavDestinationActiveReason_Void; +typedef struct Opt_Callback_NavDestinationActiveReason_Void { + Ark_Tag tag; + Callback_NavDestinationActiveReason_Void value; +} Opt_Callback_NavDestinationActiveReason_Void; typedef struct Callback_NavDestinationContext_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_NavDestinationContext parameter); @@ -8768,6 +9565,15 @@ typedef struct Opt_Callback_Number_Void { Ark_Tag tag; Callback_Number_Void value; } Opt_Callback_Number_Void; +typedef struct Callback_Object_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Object parameter); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Object parameter); +} Callback_Object_Void; +typedef struct Opt_Callback_Object_Void { + Ark_Tag tag; + Callback_Object_Void value; +} Opt_Callback_Object_Void; typedef struct Callback_OffsetResult_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_OffsetResult value); @@ -9110,6 +9916,15 @@ typedef struct Opt_Callback_OnWindowNewEvent_Void { Ark_Tag tag; Callback_OnWindowNewEvent_Void value; } Opt_Callback_OnWindowNewEvent_Void; +typedef struct Callback_Opt_Array_NavDestinationTransition_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Opt_Array_NavDestinationTransition value); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Opt_Array_NavDestinationTransition value); +} Callback_Opt_Array_NavDestinationTransition_Void; +typedef struct Opt_Callback_Opt_Array_NavDestinationTransition_Void { + Ark_Tag tag; + Callback_Opt_Array_NavDestinationTransition_Void value; +} Opt_Callback_Opt_Array_NavDestinationTransition_Void; typedef struct Callback_Opt_Array_String_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Opt_Array_String error); @@ -9317,6 +10132,15 @@ typedef struct Opt_Callback_String_Number_Void { Ark_Tag tag; Callback_String_Number_Void value; } Opt_Callback_String_Number_Void; +typedef struct Callback_String_Opt_Object_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_String name, const Opt_Object param); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String name, const Opt_Object param); +} Callback_String_Opt_Object_Void; +typedef struct Opt_Callback_String_Opt_Object_Void { + Ark_Tag tag; + Callback_String_Opt_Object_Void value; +} Opt_Callback_String_Opt_Object_Void; typedef struct Callback_String_PasteEvent_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_String value, const Ark_PasteEvent event); @@ -9335,15 +10159,6 @@ typedef struct Opt_Callback_String_SurfaceRect_Void { Ark_Tag tag; Callback_String_SurfaceRect_Void value; } Opt_Callback_String_SurfaceRect_Void; -typedef struct Callback_String_Unknown_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_String name, const Ark_Object param); - void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String name, const Ark_Object param); -} Callback_String_Unknown_Void; -typedef struct Opt_Callback_String_Unknown_Void { - Ark_Tag tag; - Callback_String_Unknown_Void value; -} Opt_Callback_String_Unknown_Void; typedef struct Callback_String_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_String breakpoints); @@ -9362,6 +10177,15 @@ typedef struct Opt_Callback_StyledStringChangeValue_Boolean { Ark_Tag tag; Callback_StyledStringChangeValue_Boolean value; } Opt_Callback_StyledStringChangeValue_Boolean; +typedef struct Callback_StyledStringMarshallingValue_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_UserDataSpan value); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_UserDataSpan value); +} Callback_StyledStringMarshallingValue_Void; +typedef struct Opt_Callback_StyledStringMarshallingValue_Void { + Ark_Tag tag; + Callback_StyledStringMarshallingValue_Void value; +} Opt_Callback_StyledStringMarshallingValue_Void; typedef struct Callback_SwipeActionState_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, Ark_SwipeActionState state); @@ -9578,6 +10402,15 @@ typedef struct Opt_ContentDidScrollCallback { Ark_Tag tag; ContentDidScrollCallback value; } Opt_ContentDidScrollCallback; +typedef struct ContentWillScrollCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_SwiperContentWillScrollResult result, const Callback_Boolean_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_SwiperContentWillScrollResult result, const Callback_Boolean_Void continuation); +} ContentWillScrollCallback; +typedef struct Opt_ContentWillScrollCallback { + Ark_Tag tag; + ContentWillScrollCallback value; +} Opt_ContentWillScrollCallback; typedef struct Context_getGroupDir_Callback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_String result); @@ -9598,8 +10431,8 @@ typedef struct Opt_CustomNodeBuilder { } Opt_CustomNodeBuilder; typedef struct EditableTextOnChangeCallback { Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText); - void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText); + void (*call)(const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText, const Opt_TextChangeOptions options); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_String value, const Opt_PreviewText previewText, const Opt_TextChangeOptions options); } EditableTextOnChangeCallback; typedef struct Opt_EditableTextOnChangeCallback { Ark_Tag tag; @@ -9704,6 +10537,24 @@ typedef struct Opt_ListAttribute_onItemDragStart_event_type { Ark_Tag tag; ListAttribute_onItemDragStart_event_type value; } Opt_ListAttribute_onItemDragStart_event_type; +typedef struct LocationButtonCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_LocationButtonOnClickResult result, const Opt_BusinessError error); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_LocationButtonOnClickResult result, const Opt_BusinessError error); +} LocationButtonCallback; +typedef struct Opt_LocationButtonCallback { + Ark_Tag tag; + LocationButtonCallback value; +} Opt_LocationButtonCallback; +typedef struct Map_AxisModel_Number { + Ark_Int32 size; + Ark_AxisModel* keys; + Ark_Number* values; +} Map_AxisModel_Number; +typedef struct Opt_Map_AxisModel_Number { + Ark_Tag tag; + Map_AxisModel_Number value; +} Opt_Map_AxisModel_Number; typedef struct Map_Number_RunMetrics { Ark_Int32 size; Ark_Number* keys; @@ -9767,6 +10618,15 @@ typedef struct Opt_MenuOnAppearCallback { Ark_Tag tag; MenuOnAppearCallback value; } Opt_MenuOnAppearCallback; +typedef struct NavDestinationTransitionDelegate { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, Ark_NavigationOperation operation, const Ark_Boolean isEnter, const Callback_Opt_Array_NavDestinationTransition_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, Ark_NavigationOperation operation, const Ark_Boolean isEnter, const Callback_Opt_Array_NavDestinationTransition_Void continuation); +} NavDestinationTransitionDelegate; +typedef struct Opt_NavDestinationTransitionDelegate { + Ark_Tag tag; + NavDestinationTransitionDelegate value; +} Opt_NavDestinationTransitionDelegate; typedef struct NavExtender_OnUpdateStack { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_String name); @@ -9857,6 +10717,15 @@ typedef struct Opt_OnDidChangeCallback { Ark_Tag tag; OnDidChangeCallback value; } Opt_OnDidChangeCallback; +typedef struct OnDragEventCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_DragEvent event, const Opt_String extraParams); +} OnDragEventCallback; +typedef struct Opt_OnDragEventCallback { + Ark_Tag tag; + OnDragEventCallback value; +} Opt_OnDragEventCallback; typedef struct OnFirstMeaningfulPaintCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_FirstMeaningfulPaint firstMeaningfulPaint); @@ -9983,6 +10852,24 @@ typedef struct Opt_OnPasteCallback { Ark_Tag tag; OnPasteCallback value; } Opt_OnPasteCallback; +typedef struct OnRadioChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Boolean isChecked); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Boolean isChecked); +} OnRadioChangeCallback; +typedef struct Opt_OnRadioChangeCallback { + Ark_Tag tag; + OnRadioChangeCallback value; +} Opt_OnRadioChangeCallback; +typedef struct OnRatingChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Number rating); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number rating); +} OnRatingChangeCallback; +typedef struct Opt_OnRatingChangeCallback { + Ark_Tag tag; + OnRatingChangeCallback value; +} Opt_OnRatingChangeCallback; typedef struct OnRenderProcessNotRespondingCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_RenderProcessNotRespondingData data); @@ -10046,6 +10933,15 @@ typedef struct Opt_OnScrollVisibleContentChangeCallback { Ark_Tag tag; OnScrollVisibleContentChangeCallback value; } Opt_OnScrollVisibleContentChangeCallback; +typedef struct OnSelectCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Number index, const Ark_String selectStr); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Number index, const Ark_String selectStr); +} OnSelectCallback; +typedef struct Opt_OnSelectCallback { + Ark_Tag tag; + OnSelectCallback value; +} Opt_OnSelectCallback; typedef struct OnSslErrorEventCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_SslErrorEvent sslErrorEvent); @@ -10127,6 +11023,15 @@ typedef struct Opt_OnTabsGestureSwipeCallback { Ark_Tag tag; OnTabsGestureSwipeCallback value; } Opt_OnTabsGestureSwipeCallback; +typedef struct OnTextPickerChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Union_String_Array_String selectItem, const Ark_Union_Number_Array_Number index); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Union_String_Array_String selectItem, const Ark_Union_Number_Array_Number index); +} OnTextPickerChangeCallback; +typedef struct Opt_OnTextPickerChangeCallback { + Ark_Tag tag; + OnTextPickerChangeCallback value; +} Opt_OnTextPickerChangeCallback; typedef struct OnTextSelectionChangeCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Number selectionStart, const Ark_Number selectionEnd); @@ -10136,6 +11041,15 @@ typedef struct Opt_OnTextSelectionChangeCallback { Ark_Tag tag; OnTextSelectionChangeCallback value; } Opt_OnTextSelectionChangeCallback; +typedef struct OnTimePickerChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_TimePickerResult result); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_TimePickerResult result); +} OnTimePickerChangeCallback; +typedef struct Opt_OnTimePickerChangeCallback { + Ark_Tag tag; + OnTimePickerChangeCallback value; +} Opt_OnTimePickerChangeCallback; typedef struct OnViewportFitChangedCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, Ark_ViewportFit viewportFit); @@ -10154,6 +11068,15 @@ typedef struct Opt_PageTransitionCallback { Ark_Tag tag; PageTransitionCallback value; } Opt_PageTransitionCallback; +typedef struct PasteButtonCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_PasteButtonOnClickResult result, const Opt_BusinessError error); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_PasteButtonOnClickResult result, const Opt_BusinessError error); +} PasteButtonCallback; +typedef struct Opt_PasteButtonCallback { + Ark_Tag tag; + PasteButtonCallback value; +} Opt_PasteButtonCallback; typedef struct PasteEventCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Opt_PasteEvent event); @@ -10172,6 +11095,15 @@ typedef struct Opt_PluginErrorCallback { Ark_Tag tag; PluginErrorCallback value; } Opt_PluginErrorCallback; +typedef struct PopupStateChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_PopupStateChangeParam event); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_PopupStateChangeParam event); +} PopupStateChangeCallback; +typedef struct Opt_PopupStateChangeCallback { + Ark_Tag tag; + PopupStateChangeCallback value; +} Opt_PopupStateChangeCallback; typedef struct Profiler_Callback_String_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_String info); @@ -10217,6 +11149,24 @@ typedef struct Opt_RestrictedWorker_onmessage_Callback { Ark_Tag tag; RestrictedWorker_onmessage_Callback value; } Opt_RestrictedWorker_onmessage_Callback; +typedef struct ReuseIdCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Callback_String_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Callback_String_Void continuation); +} ReuseIdCallback; +typedef struct Opt_ReuseIdCallback { + Ark_Tag tag; + ReuseIdCallback value; +} Opt_ReuseIdCallback; +typedef struct SaveButtonCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_SaveButtonOnClickResult result, const Opt_BusinessError error); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_ClickEvent event, Ark_SaveButtonOnClickResult result, const Opt_BusinessError error); +} SaveButtonCallback; +typedef struct Opt_SaveButtonCallback { + Ark_Tag tag; + SaveButtonCallback value; +} Opt_SaveButtonCallback; typedef struct ScrollOnScrollCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState); @@ -10271,6 +11221,24 @@ typedef struct Opt_SliderTriggerChangeCallback { Ark_Tag tag; SliderTriggerChangeCallback value; } Opt_SliderTriggerChangeCallback; +typedef struct StyledStringMarshallCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_UserDataSpan marshallableVal, const Callback_Buffer_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_UserDataSpan marshallableVal, const Callback_Buffer_Void continuation); +} StyledStringMarshallCallback; +typedef struct Opt_StyledStringMarshallCallback { + Ark_Tag tag; + StyledStringMarshallCallback value; +} Opt_StyledStringMarshallCallback; +typedef struct StyledStringUnmarshallCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Buffer buf, const Callback_StyledStringMarshallingValue_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Buffer buf, const Callback_StyledStringMarshallingValue_Void continuation); +} StyledStringUnmarshallCallback; +typedef struct Opt_StyledStringUnmarshallCallback { + Ark_Tag tag; + StyledStringUnmarshallCallback value; +} Opt_StyledStringUnmarshallCallback; typedef struct SubmitCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, Ark_EnterKeyType enterKey, const Ark_SubmitEvent event); @@ -10298,6 +11266,24 @@ typedef struct Opt_TextAreaSubmitCallback { Ark_Tag tag; TextAreaSubmitCallback value; } Opt_TextAreaSubmitCallback; +typedef struct TextPickerEnterSelectedAreaCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Union_String_Array_String value, const Ark_Union_Number_Array_Number index); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Union_String_Array_String value, const Ark_Union_Number_Array_Number index); +} TextPickerEnterSelectedAreaCallback; +typedef struct Opt_TextPickerEnterSelectedAreaCallback { + Ark_Tag tag; + TextPickerEnterSelectedAreaCallback value; +} Opt_TextPickerEnterSelectedAreaCallback; +typedef struct TextPickerScrollStopCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Union_String_Array_String value, const Ark_Union_Number_Array_Number index); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_Union_String_Array_String value, const Ark_Union_Number_Array_Number index); +} TextPickerScrollStopCallback; +typedef struct Opt_TextPickerScrollStopCallback { + Ark_Tag tag; + TextPickerScrollStopCallback value; +} Opt_TextPickerScrollStopCallback; typedef struct TextTimerAttribute_onTimer_event_type { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Int64 utc, const Ark_Int64 elapsedTime); @@ -10439,6 +11425,13 @@ typedef struct Opt_ASTCResource { Ark_Tag tag; Ark_ASTCResource value; } Opt_ASTCResource; +typedef struct Ark_AutoPlayOptions { + Ark_Boolean stopWhenTouched; +} Ark_AutoPlayOptions; +typedef struct Opt_AutoPlayOptions { + Ark_Tag tag; + Ark_AutoPlayOptions value; +} Opt_AutoPlayOptions; typedef struct Ark_BackgroundBrightnessOptions { Ark_Number rate; Ark_Number lightUpDegree; @@ -10447,6 +11440,14 @@ typedef struct Opt_BackgroundBrightnessOptions { Ark_Tag tag; Ark_BackgroundBrightnessOptions value; } Opt_BackgroundBrightnessOptions; +typedef struct Ark_BackgroundImageOptions { + Opt_Boolean syncLoad; + Opt_ImageRepeat repeat; +} Ark_BackgroundImageOptions; +typedef struct Opt_BackgroundImageOptions { + Ark_Tag tag; + Ark_BackgroundImageOptions value; +} Opt_BackgroundImageOptions; typedef struct Ark_BarrierStyle { Ark_String id; Ark_BarrierDirection direction; @@ -10581,14 +11582,6 @@ typedef struct Opt_CancelButtonSymbolOptions { Ark_Tag tag; Ark_CancelButtonSymbolOptions value; } Opt_CancelButtonSymbolOptions; -typedef struct Opt_CanvasRenderer { - Ark_Tag tag; - Ark_CanvasRenderer value; -} Opt_CanvasRenderer; -typedef struct Opt_CanvasRenderingContext2D { - Ark_Tag tag; - Ark_CanvasRenderingContext2D value; -} Opt_CanvasRenderingContext2D; typedef struct Ark_CaretOffset { Ark_Number index; Ark_Number x; @@ -10666,6 +11659,17 @@ typedef struct Opt_CloseSwipeActionOptions { Ark_Tag tag; Ark_CloseSwipeActionOptions value; } Opt_CloseSwipeActionOptions; +typedef struct Ark_ColorFilterType { + Ark_Int32 selector; + union { + Ark_ColorFilter value0; + Ark_DrawingColorFilter value1; + }; +} Ark_ColorFilterType; +typedef struct Opt_ColorFilterType { + Ark_Tag tag; + Ark_ColorFilterType value; +} Opt_ColorFilterType; typedef struct Opt_ColorMetrics { Ark_Tag tag; Ark_ColorMetrics value; @@ -10677,6 +11681,13 @@ typedef struct Opt_ColumnOptions { Ark_Tag tag; Ark_ColumnOptions value; } Opt_ColumnOptions; +typedef struct Ark_ColumnOptionsV2 { + Ark_String stub; +} Ark_ColumnOptionsV2; +typedef struct Opt_ColumnOptionsV2 { + Ark_Tag tag; + Ark_ColumnOptionsV2 value; +} Opt_ColumnOptionsV2; typedef struct Ark_CommandPath { Ark_String commands; } Ark_CommandPath; @@ -10710,6 +11721,13 @@ typedef struct Opt_CommonConfiguration { Ark_Tag tag; Ark_CommonConfiguration value; } Opt_CommonConfiguration; +typedef struct Ark_CommonModifier { + Ark_String _CommonModifierStub; +} Ark_CommonModifier; +typedef struct Opt_CommonModifier { + Ark_Tag tag; + Ark_CommonModifier value; +} Opt_CommonModifier; typedef struct Ark_ComputedBarAttribute { Ark_Number totalOffset; Ark_Number totalLength; @@ -10739,6 +11757,17 @@ typedef struct Opt_CornerRadius { Ark_Tag tag; Ark_CornerRadius value; } Opt_CornerRadius; +typedef struct Ark_CrownEvent { + Ark_Int64 timestamp; + Ark_Number angularVelocity; + Ark_Number degree; + Ark_CrownAction action; + Callback_Void stopPropagation; +} Ark_CrownEvent; +typedef struct Opt_CrownEvent { + Ark_Tag tag; + Ark_CrownEvent value; +} Opt_CrownEvent; typedef struct Ark_CustomDialogBuildOptions { Opt_CustomDialogController controller; } Ark_CustomDialogBuildOptions; @@ -10799,10 +11828,18 @@ typedef struct Opt_DataPanelOptions { Ark_Tag tag; Ark_DataPanelOptions value; } Opt_DataPanelOptions; +typedef struct Ark_DataSyncOptions { + Ark_String _DataSyncOptionsStub; +} Ark_DataSyncOptions; +typedef struct Opt_DataSyncOptions { + Ark_Tag tag; + Ark_DataSyncOptions value; +} Opt_DataSyncOptions; typedef struct Ark_DatePickerOptions { Opt_Date start; Opt_Date end; Opt_Date selected; + Opt_DatePickerMode mode; } Ark_DatePickerOptions; typedef struct Opt_DatePickerOptions { Ark_Tag tag; @@ -10817,6 +11854,14 @@ typedef struct Opt_DatePickerResult { Ark_Tag tag; Ark_DatePickerResult value; } Opt_DatePickerResult; +typedef struct Ark_DateRange { + Opt_Date start; + Opt_Date end; +} Ark_DateRange; +typedef struct Opt_DateRange { + Ark_Tag tag; + Ark_DateRange value; +} Opt_DateRange; typedef struct Ark_DateTimeOptions { Opt_String locale; Opt_String dateStyle; @@ -10914,6 +11959,9 @@ typedef struct Opt_DoubleAnimationParam { typedef struct Ark_DragInteractionOptions { Opt_Boolean isMultiSelectionEnabled; Opt_Boolean defaultAnimationBeforeLifting; + Opt_Boolean enableEdgeAutoScroll; + Opt_Boolean enableHapticFeedback; + Opt_Boolean isLiftingDisabled; } Ark_DragInteractionOptions; typedef struct Opt_DragInteractionOptions { Ark_Tag tag; @@ -10941,6 +11989,21 @@ typedef struct Opt_DrawingRenderingContext { Ark_Tag tag; Ark_DrawingRenderingContext value; } Opt_DrawingRenderingContext; +typedef struct Ark_DropOptions { + Opt_Boolean disableDataPrefetch; +} Ark_DropOptions; +typedef struct Opt_DropOptions { + Ark_Tag tag; + Ark_DropOptions value; +} Opt_DropOptions; +typedef struct Ark_EdgeEffectOptions { + Ark_Boolean alwaysEnabled; + Opt_Number effectEdge; +} Ark_EdgeEffectOptions; +typedef struct Opt_EdgeEffectOptions { + Ark_Tag tag; + Ark_EdgeEffectOptions value; +} Opt_EdgeEffectOptions; typedef struct Ark_EdgeOutlineStyles { Opt_OutlineStyle top; Opt_OutlineStyle right; @@ -10977,6 +12040,13 @@ typedef struct Opt_EllipseOptions { Ark_Tag tag; Ark_EllipseOptions value; } Opt_EllipseOptions; +typedef struct Ark_EmbedOptions { + Opt_Boolean supportDefaultIntrinsicSize; +} Ark_EmbedOptions; +typedef struct Opt_EmbedOptions { + Ark_Tag tag; + Ark_EmbedOptions value; +} Opt_EmbedOptions; typedef struct Ark_ErrorEvent { Ark_String type; Ark_Int64 timeStamp; @@ -11015,6 +12085,7 @@ typedef struct Ark_FingerInfo { Ark_Number localY; Ark_Number displayX; Ark_Number displayY; + Opt_InteractionHand hand; } Ark_FingerInfo; typedef struct Opt_FingerInfo { Ark_Tag tag; @@ -11028,6 +12099,18 @@ typedef struct Opt_FirstMeaningfulPaint { Ark_Tag tag; Ark_FirstMeaningfulPaint value; } Opt_FirstMeaningfulPaint; +typedef struct Ark_FocusMovement { + Opt_String forward; + Opt_String backward; + Opt_String up; + Opt_String down; + Opt_String left; + Opt_String right; +} Ark_FocusMovement; +typedef struct Opt_FocusMovement { + Ark_Tag tag; + Ark_FocusMovement value; +} Opt_FocusMovement; typedef struct Ark_FolderStackOptions { Opt_Array_String upperItems; } Ark_FolderStackOptions; @@ -11328,6 +12411,13 @@ typedef struct Opt_ImageSourceSize { Ark_Tag tag; Ark_ImageSourceSize value; } Opt_ImageSourceSize; +typedef struct Ark_ImmersiveMode { + Ark_String _ImmersiveModeStub; +} Ark_ImmersiveMode; +typedef struct Opt_ImmersiveMode { + Ark_Tag tag; + Ark_ImmersiveMode value; +} Opt_ImmersiveMode; typedef struct Ark_InputCounterOptions { Opt_Number thresholdPercentage; Opt_Boolean highlightBorder; @@ -11401,6 +12491,20 @@ typedef struct Opt_LetterSpacingStyle { Ark_Tag tag; Ark_LetterSpacingStyle value; } Opt_LetterSpacingStyle; +typedef struct Ark_LevelMode { + Ark_String _LevelModeStub; +} Ark_LevelMode; +typedef struct Opt_LevelMode { + Ark_Tag tag; + Ark_LevelMode value; +} Opt_LevelMode; +typedef struct Ark_LevelOrder { + Ark_String _LevelOrderStub; +} Ark_LevelOrder; +typedef struct Opt_LevelOrder { + Ark_Tag tag; + Ark_LevelOrder value; +} Opt_LevelOrder; typedef struct Ark_LinearGradient_common { Opt_Union_Number_String angle; Opt_GradientDirection direction; @@ -11419,6 +12523,16 @@ typedef struct Opt_LinearGradientBlurOptions { Ark_Tag tag; Ark_LinearGradientBlurOptions value; } Opt_LinearGradientBlurOptions; +typedef struct Ark_LinearGradientOptions { + Opt_Union_Number_String angle; + Opt_GradientDirection direction; + Array_Tuple_ResourceColor_Number colors; + Opt_Boolean repeating; +} Ark_LinearGradientOptions; +typedef struct Opt_LinearGradientOptions { + Ark_Tag tag; + Ark_LinearGradientOptions value; +} Opt_LinearGradientOptions; typedef struct Ark_LinearIndicatorStartOptions { Opt_Number interval; Opt_Number duration; @@ -11709,6 +12823,16 @@ typedef struct Opt_LocationButtonOptions { Ark_Tag tag; Ark_LocationButtonOptions value; } Opt_LocationButtonOptions; +typedef struct Ark_LongPressGestureHandlerOptions { + Opt_Boolean isFingerCountLimited; + Opt_Number fingers; + Opt_Boolean repeat; + Opt_Number duration; +} Ark_LongPressGestureHandlerOptions; +typedef struct Opt_LongPressGestureHandlerOptions { + Ark_Tag tag; + Ark_LongPressGestureHandlerOptions value; +} Opt_LongPressGestureHandlerOptions; typedef struct Ark_MarqueeOptions { Ark_Boolean start; Opt_Number step; @@ -11768,6 +12892,10 @@ typedef struct Opt_Matrix4Result { Ark_Tag tag; Ark_Matrix4Result value; } Opt_Matrix4Result; +typedef struct Opt_Measurable { + Ark_Tag tag; + Ark_Measurable value; +} Opt_Measurable; typedef struct Ark_MeasureResult { Ark_Number width; Ark_Number height; @@ -11843,6 +12971,17 @@ typedef struct Opt_NavContentInfo { Ark_Tag tag; Ark_NavContentInfo value; } Opt_NavContentInfo; +typedef struct Ark_NavDestinationTransition { + Opt_Callback_Void onTransitionEnd; + Opt_Number duration; + Opt_Curve curve; + Opt_Number delay; + Callback_Void event; +} Ark_NavDestinationTransition; +typedef struct Opt_NavDestinationTransition { + Ark_Tag tag; + Ark_NavDestinationTransition value; +} Opt_NavDestinationTransition; typedef struct Ark_NavigationAnimatedTransition { Opt_Callback_Boolean_Void onTransitionEnd; Opt_Number timeout; @@ -11878,6 +13017,14 @@ typedef struct Opt_NavPathInfo { Ark_Tag tag; Ark_NavPathInfo value; } Opt_NavPathInfo; +typedef struct Ark_NestedScrollInfo { + Ark_Scroller parent; + Ark_Scroller child; +} Ark_NestedScrollInfo; +typedef struct Opt_NestedScrollInfo { + Ark_Tag tag; + Ark_NestedScrollInfo value; +} Opt_NestedScrollInfo; typedef struct Ark_NestedScrollOptionsExt { Opt_NestedScrollMode scrollUp; Opt_NestedScrollMode scrollDown; @@ -11888,10 +13035,6 @@ typedef struct Opt_NestedScrollOptionsExt { Ark_Tag tag; Ark_NestedScrollOptionsExt value; } Opt_NestedScrollOptionsExt; -typedef struct Opt_OffscreenCanvasRenderingContext2D { - Ark_Tag tag; - Ark_OffscreenCanvasRenderingContext2D value; -} Opt_OffscreenCanvasRenderingContext2D; typedef struct Ark_OnAlertEvent { Ark_String url; Ark_String message; @@ -12104,6 +13247,13 @@ typedef struct Opt_OnWindowNewEvent { Ark_Tag tag; Ark_OnWindowNewEvent value; } Opt_OnWindowNewEvent; +typedef struct Ark_Orientation { + Ark_String _OrientationStub; +} Ark_Orientation; +typedef struct Opt_Orientation { + Ark_Tag tag; + Ark_Orientation value; +} Opt_Orientation; typedef struct Ark_OverlayOffset { Opt_Number x; Opt_Number y; @@ -12112,6 +13262,16 @@ typedef struct Opt_OverlayOffset { Ark_Tag tag; Ark_OverlayOffset value; } Opt_OverlayOffset; +typedef struct Ark_PanGestureHandlerOptions { + Opt_Boolean isFingerCountLimited; + Opt_Number fingers; + Opt_PanDirection direction; + Opt_Number distance; +} Ark_PanGestureHandlerOptions; +typedef struct Opt_PanGestureHandlerOptions { + Ark_Tag tag; + Ark_PanGestureHandlerOptions value; +} Opt_PanGestureHandlerOptions; typedef struct Ark_PasteButtonOptions { Opt_PasteIconStyle icon; Opt_PasteDescription text; @@ -12144,6 +13304,15 @@ typedef struct Opt_PathShapeOptions { Ark_Tag tag; Ark_PathShapeOptions value; } Opt_PathShapeOptions; +typedef struct Ark_PinchGestureHandlerOptions { + Opt_Boolean isFingerCountLimited; + Opt_Number fingers; + Opt_Number distance; +} Ark_PinchGestureHandlerOptions; +typedef struct Opt_PinchGestureHandlerOptions { + Ark_Tag tag; + Ark_PinchGestureHandlerOptions value; +} Opt_PinchGestureHandlerOptions; typedef struct Ark_PixelRoundPolicy { Opt_PixelRoundCalcPolicy start; Opt_PixelRoundCalcPolicy top; @@ -12205,6 +13374,13 @@ typedef struct Opt_PopInfo { Ark_Tag tag; Ark_PopInfo value; } Opt_PopInfo; +typedef struct Ark_PosterOptions { + Opt_Boolean showFirstFrame; +} Ark_PosterOptions; +typedef struct Opt_PosterOptions { + Ark_Tag tag; + Ark_PosterOptions value; +} Opt_PosterOptions; typedef struct Ark_PostMessageOptions { Opt_Array_Object transfer; } Ark_PostMessageOptions; @@ -12212,6 +13388,21 @@ typedef struct Opt_PostMessageOptions { Ark_Tag tag; Ark_PostMessageOptions value; } Opt_PostMessageOptions; +typedef struct Ark_PreviewConfiguration { + Opt_Boolean onlyForLifting; + Opt_Boolean delayCreating; +} Ark_PreviewConfiguration; +typedef struct Opt_PreviewConfiguration { + Ark_Tag tag; + Ark_PreviewConfiguration value; +} Opt_PreviewConfiguration; +typedef struct Ark_PreviewMenuOptions { + Opt_HapticFeedbackMode hapticFeedbackMode; +} Ark_PreviewMenuOptions; +typedef struct Opt_PreviewMenuOptions { + Ark_Tag tag; + Ark_PreviewMenuOptions value; +} Opt_PreviewMenuOptions; typedef struct Ark_PreviewText { Ark_Number offset; Ark_String value; @@ -12311,13 +13502,6 @@ typedef struct Opt_ResourceStr { Ark_Tag tag; Ark_ResourceStr value; } Opt_ResourceStr; -typedef struct Ark_RichEditorBuilderSpanOptions { - Opt_Number offset; -} Ark_RichEditorBuilderSpanOptions; -typedef struct Opt_RichEditorBuilderSpanOptions { - Ark_Tag tag; - Ark_RichEditorBuilderSpanOptions value; -} Opt_RichEditorBuilderSpanOptions; typedef struct Ark_RichEditorDeleteValue { Ark_Number offset; Ark_RichEditorDeleteDirection direction; @@ -12331,6 +13515,7 @@ typedef struct Opt_RichEditorDeleteValue { typedef struct Ark_RichEditorGesture { Opt_Callback_ClickEvent_Void onClick; Opt_Callback_GestureEvent_Void onLongPress; + Opt_Callback_GestureEvent_Void onDoubleClick; } Ark_RichEditorGesture; typedef struct Opt_RichEditorGesture { Ark_Tag tag; @@ -12395,6 +13580,15 @@ typedef struct Opt_RotateOptions { Ark_Tag tag; Ark_RotateOptions value; } Opt_RotateOptions; +typedef struct Ark_RotationGestureHandlerOptions { + Opt_Boolean isFingerCountLimited; + Opt_Number fingers; + Opt_Number angle; +} Ark_RotationGestureHandlerOptions; +typedef struct Opt_RotationGestureHandlerOptions { + Ark_Tag tag; + Ark_RotationGestureHandlerOptions value; +} Opt_RotationGestureHandlerOptions; typedef struct Ark_RoundedRectOptions { Opt_Union_Number_String width; Opt_Union_Number_String height; @@ -12447,6 +13641,13 @@ typedef struct Opt_RowOptions { Ark_Tag tag; Ark_RowOptions value; } Opt_RowOptions; +typedef struct Ark_RowOptionsV2 { + Ark_String stub; +} Ark_RowOptionsV2; +typedef struct Opt_RowOptionsV2 { + Ark_Tag tag; + Ark_RowOptionsV2 value; +} Opt_RowOptionsV2; typedef struct Ark_SaveButtonOptions { Opt_SaveIconStyle icon; Opt_SaveDescription text; @@ -12530,15 +13731,6 @@ typedef struct Opt_ScrollPageOptions { Ark_Tag tag; Ark_ScrollPageOptions value; } Opt_ScrollPageOptions; -typedef struct Ark_SelectionMenuOptions { - Opt_MenuOnAppearCallback onAppear; - Opt_Callback_Void onDisappear; - Opt_MenuType menuType; -} Ark_SelectionMenuOptions; -typedef struct Opt_SelectionMenuOptions { - Ark_Tag tag; - Ark_SelectionMenuOptions value; -} Opt_SelectionMenuOptions; typedef struct Ark_SelectionMenuOptionsExt { Opt_Callback_Void onAppear; Opt_Callback_Void onDisappear; @@ -12681,6 +13873,16 @@ typedef struct Opt_SurfaceRotationOptions { Ark_Tag tag; Ark_SurfaceRotationOptions value; } Opt_SurfaceRotationOptions; +typedef struct Ark_SwipeGestureHandlerOptions { + Opt_Boolean isFingerCountLimited; + Opt_Number fingers; + Opt_SwipeDirection direction; + Opt_Number speed; +} Ark_SwipeGestureHandlerOptions; +typedef struct Opt_SwipeGestureHandlerOptions { + Ark_Tag tag; + Ark_SwipeGestureHandlerOptions value; +} Opt_SwipeGestureHandlerOptions; typedef struct Ark_SwiperAutoFill { Ark_VP minSize; } Ark_SwiperAutoFill; @@ -12696,6 +13898,13 @@ typedef struct Opt_SwiperContentAnimatedTransition { Ark_Tag tag; Ark_SwiperContentAnimatedTransition value; } Opt_SwiperContentAnimatedTransition; +typedef struct Ark_SystemAdaptiveOptions { + Opt_Boolean disableSystemAdaptation; +} Ark_SystemAdaptiveOptions; +typedef struct Opt_SystemAdaptiveOptions { + Ark_Tag tag; + Ark_SystemAdaptiveOptions value; +} Opt_SystemAdaptiveOptions; typedef struct Ark_SystemBarStyle { Opt_String statusBarContentColor; } Ark_SystemBarStyle; @@ -12719,16 +13928,8 @@ typedef struct Opt_TabContentAnimatedTransition { Ark_Tag tag; Ark_TabContentAnimatedTransition value; } Opt_TabContentAnimatedTransition; -typedef struct Ark_TabsOptions { - Opt_BarPosition barPosition; - Opt_Number index; - Opt_TabsController controller; -} Ark_TabsOptions; -typedef struct Opt_TabsOptions { - Ark_Tag tag; - Ark_TabsOptions value; -} Opt_TabsOptions; typedef struct Ark_TapGestureParameters { + Opt_Boolean isFingerCountLimited; Opt_Number count; Opt_Number fingers; Opt_Number distanceThreshold; @@ -12753,6 +13954,26 @@ typedef struct Opt_TextClockOptions { Ark_Tag tag; Ark_TextClockOptions value; } Opt_TextClockOptions; +typedef struct Ark_TextContentControllerOptions { + Opt_Number offset; +} Ark_TextContentControllerOptions; +typedef struct Opt_TextContentControllerOptions { + Ark_Tag tag; + Ark_TextContentControllerOptions value; +} Opt_TextContentControllerOptions; +typedef struct Ark_TextMarqueeOptions { + Ark_Boolean start; + Opt_Number step; + Opt_Number loop; + Opt_Boolean fromStart; + Opt_Number delay; + Opt_Boolean fadeout; + Opt_MarqueeStartPolicy marqueeStartPolicy; +} Ark_TextMarqueeOptions; +typedef struct Opt_TextMarqueeOptions { + Ark_Tag tag; + Ark_TextMarqueeOptions value; +} Opt_TextMarqueeOptions; typedef struct Ark_TextRange { Opt_Number start; Opt_Number end; @@ -12784,15 +14005,28 @@ typedef struct Opt_TextTimerOptions { typedef struct Ark_TimePickerOptions { Opt_Date selected; Opt_TimePickerFormat format; + Opt_Date start; + Opt_Date end; } Ark_TimePickerOptions; typedef struct Opt_TimePickerOptions { Ark_Tag tag; Ark_TimePickerOptions value; } Opt_TimePickerOptions; -typedef struct Ark_ToggleOptions { - Ark_ToggleType type; - Opt_Boolean isOn; -} Ark_ToggleOptions; +typedef struct Ark_TipsMessageType { + Ark_Int32 selector; + union { + Ark_ResourceStr value0; + Ark_StyledString value1; + }; +} Ark_TipsMessageType; +typedef struct Opt_TipsMessageType { + Ark_Tag tag; + Ark_TipsMessageType value; +} Opt_TipsMessageType; +typedef struct Ark_ToggleOptions { + Ark_ToggleType type; + Opt_Boolean isOn; +} Ark_ToggleOptions; typedef struct Opt_ToggleOptions { Ark_Tag tag; Ark_ToggleOptions value; @@ -12808,6 +14042,11 @@ typedef struct Ark_TouchObject { Ark_Number screenY; Ark_Number x; Ark_Number y; + Opt_InteractionHand hand; + Opt_Number pressedTime; + Opt_Number pressure; + Opt_Number width; + Opt_Number height; } Ark_TouchObject; typedef struct Opt_TouchObject { Ark_Tag tag; @@ -12865,16 +14104,6 @@ typedef struct Opt_Type_CalendarInterface_callable0_value { Ark_Tag tag; Ark_Type_CalendarInterface_callable0_value value; } Opt_Type_CalendarInterface_callable0_value; -typedef struct Ark_Type_CommonMethod_linearGradient_value { - Opt_Union_Number_String angle; - Opt_GradientDirection direction; - Array_Tuple_ResourceColor_Number colors; - Opt_Boolean repeating; -} Ark_Type_CommonMethod_linearGradient_value; -typedef struct Opt_Type_CommonMethod_linearGradient_value { - Ark_Tag tag; - Ark_Type_CommonMethod_linearGradient_value value; -} Opt_Type_CommonMethod_linearGradient_value; typedef struct Ark_Type_GaugeAttribute_colors_colors { Ark_Int32 selector; union { @@ -12917,6 +14146,7 @@ typedef struct Ark_UIExtensionOptions { Opt_ComponentContent placeholder; Opt_Map_String_ComponentContent areaChangePlaceholder; Opt_DpiFollowStrategy dpiFollowStrategy; + Opt_WindowModeFollowStrategy windowModeFollowStrategy; } Ark_UIExtensionOptions; typedef struct Opt_UIExtensionOptions { Ark_Tag tag; @@ -13011,17 +14241,6 @@ typedef struct Opt_Union_BorderStyle_EdgeStyles { Ark_Tag tag; Ark_Union_BorderStyle_EdgeStyles value; } Opt_Union_BorderStyle_EdgeStyles; -typedef struct Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext { - Ark_Int32 selector; - union { - Ark_CanvasRenderingContext2D value0; - Ark_DrawingRenderingContext value1; - }; -} Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext; -typedef struct Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext { - Ark_Tag tag; - Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext value; -} Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext; typedef struct Ark_Union_Color_Number_String_Resource { Ark_Int32 selector; union { @@ -13073,6 +14292,17 @@ typedef struct Opt_Union_Color_String_Resource_Number { Ark_Tag tag; Ark_Union_Color_String_Resource_Number value; } Opt_Union_Color_String_Resource_Number; +typedef struct Ark_Union_ColumnOptions_ColumnOptionsV2 { + Ark_Int32 selector; + union { + Ark_ColumnOptions value0; + Ark_ColumnOptionsV2 value1; + }; +} Ark_Union_ColumnOptions_ColumnOptionsV2; +typedef struct Opt_Union_ColumnOptions_ColumnOptionsV2 { + Ark_Tag tag; + Ark_Union_ColumnOptions_ColumnOptionsV2 value; +} Opt_Union_ColumnOptions_ColumnOptionsV2; typedef struct Ark_Union_CustomBuilder_DragItemInfo { Ark_Int32 selector; union { @@ -13140,6 +14370,17 @@ typedef struct Opt_Union_ImageBitmap_PixelMap { Ark_Tag tag; Ark_Union_ImageBitmap_PixelMap value; } Opt_Union_ImageBitmap_PixelMap; +typedef struct Ark_Union_LengthMetrics_String { + Ark_Int32 selector; + union { + Ark_LengthMetrics value0; + Ark_String value1; + }; +} Ark_Union_LengthMetrics_String; +typedef struct Opt_Union_LengthMetrics_String { + Ark_Tag tag; + Ark_Union_LengthMetrics_String value; +} Opt_Union_LengthMetrics_String; typedef struct Ark_Union_MenuPreviewMode_CustomBuilder { Ark_Int32 selector; union { @@ -13359,6 +14600,17 @@ typedef struct Opt_Union_Resource_String { Ark_Tag tag; Ark_Union_Resource_String value; } Opt_Union_Resource_String; +typedef struct Ark_Union_ResourceColor_ColorContent { + Ark_Int32 selector; + union { + Ark_ResourceColor value0; + Ark_ColorContent value1; + }; +} Ark_Union_ResourceColor_ColorContent; +typedef struct Opt_Union_ResourceColor_ColorContent { + Ark_Tag tag; + Ark_Union_ResourceColor_ColorContent value; +} Opt_Union_ResourceColor_ColorContent; typedef struct Ark_Union_ResourceColor_ColoringStrategy { Ark_Int32 selector; union { @@ -13459,6 +14711,17 @@ typedef struct Opt_Union_ResourceStr_Union_ResourceStr_ComponentContent { Ark_Tag tag; Ark_Union_ResourceStr_Union_ResourceStr_ComponentContent value; } Opt_Union_ResourceStr_Union_ResourceStr_ComponentContent; +typedef struct Ark_Union_RowOptions_RowOptionsV2 { + Ark_Int32 selector; + union { + Ark_RowOptions value0; + Ark_RowOptionsV2 value1; + }; +} Ark_Union_RowOptions_RowOptionsV2; +typedef struct Opt_Union_RowOptions_RowOptionsV2 { + Ark_Tag tag; + Ark_Union_RowOptions_RowOptionsV2 value; +} Opt_Union_RowOptions_RowOptionsV2; typedef struct Ark_Union_ScrollAnimationOptions_Boolean { Ark_Int32 selector; union { @@ -13614,17 +14877,6 @@ typedef struct Opt_Union_String_WebResourceRequest { Ark_Tag tag; Ark_Union_String_WebResourceRequest value; } Opt_Union_String_WebResourceRequest; -typedef struct Ark_Union_TitleHeight_Length { - Ark_Int32 selector; - union { - Ark_TitleHeight value0; - Ark_Union_String_Number_Resource value1; - }; -} Ark_Union_TitleHeight_Length; -typedef struct Opt_Union_TitleHeight_Length { - Ark_Tag tag; - Ark_Union_TitleHeight_Length value; -} Opt_Union_TitleHeight_Length; typedef struct Ark_Union_WebController_WebviewController { Ark_Int32 selector; union { @@ -13646,6 +14898,10 @@ typedef struct Opt_ViewportRect { Ark_Tag tag; Ark_ViewportRect value; } Opt_ViewportRect; +typedef struct Opt_VirtualScrollOptions { + Ark_Tag tag; + Ark_VirtualScrollOptions value; +} Opt_VirtualScrollOptions; typedef struct Ark_VisibleAreaEventOptions { Array_Number ratios; Opt_Number expectedUpdateInterval; @@ -13681,6 +14937,7 @@ typedef struct Opt_Want { } Opt_Want; typedef struct Ark_WaterFlowOptions { Opt_CustomNodeBuilder footer; + Opt_ComponentContent footerContent; Opt_Scroller scroller; Opt_WaterFlowSections sections; Opt_WaterFlowLayoutMode layoutMode; @@ -13819,18 +15076,6 @@ typedef struct Opt_AnimateParam { Ark_Tag tag; Ark_AnimateParam value; } Opt_AnimateParam; -typedef struct Ark_ArrowStyle { - Opt_Boolean showBackground; - Opt_Boolean isSidebarMiddle; - Opt_Union_String_Number_Resource backgroundSize; - Opt_ResourceColor backgroundColor; - Opt_Union_String_Number_Resource arrowSize; - Opt_ResourceColor arrowColor; -} Ark_ArrowStyle; -typedef struct Opt_ArrowStyle { - Ark_Tag tag; - Ark_ArrowStyle value; -} Opt_ArrowStyle; typedef struct Ark_BackgroundBlurStyleOptions { Opt_ThemeColorMode colorMode; Opt_AdaptiveColor adaptiveColor; @@ -13857,47 +15102,6 @@ typedef struct Opt_BackgroundEffectOptions { Ark_Tag tag; Ark_BackgroundEffectOptions value; } Opt_BackgroundEffectOptions; -typedef struct Ark_BadgeStyle { - Opt_ResourceColor color; - Opt_Union_Number_String fontSize; - Opt_Union_Number_String badgeSize; - Opt_ResourceColor badgeColor; - Opt_ResourceColor borderColor; - Opt_Union_String_Number_Resource borderWidth; - Opt_Union_Number_FontWeight_String fontWeight; -} Ark_BadgeStyle; -typedef struct Opt_BadgeStyle { - Ark_Tag tag; - Ark_BadgeStyle value; -} Opt_BadgeStyle; -typedef struct Ark_BarGridColumnOptions { - Opt_Number sm; - Opt_Number md; - Opt_Number lg; - Opt_Union_String_Number_Resource margin; - Opt_Union_String_Number_Resource gutter; -} Ark_BarGridColumnOptions; -typedef struct Opt_BarGridColumnOptions { - Ark_Tag tag; - Ark_BarGridColumnOptions value; -} Opt_BarGridColumnOptions; -typedef struct Ark_BoardStyle { - Opt_Union_String_Number_Resource borderRadius; -} Ark_BoardStyle; -typedef struct Opt_BoardStyle { - Ark_Tag tag; - Ark_BoardStyle value; -} Opt_BoardStyle; -typedef struct Ark_BorderRadiuses { - Opt_Union_String_Number_Resource topLeft; - Opt_Union_String_Number_Resource topRight; - Opt_Union_String_Number_Resource bottomLeft; - Opt_Union_String_Number_Resource bottomRight; -} Ark_BorderRadiuses; -typedef struct Opt_BorderRadiuses { - Ark_Tag tag; - Ark_BorderRadiuses value; -} Opt_BorderRadiuses; typedef struct Ark_ButtonIconOptions { Ark_Union_String_PixelMap_Resource shown; Ark_Union_String_PixelMap_Resource hidden; @@ -13910,57 +15114,32 @@ typedef struct Opt_ButtonIconOptions { typedef struct Ark_CalendarOptions { Opt_Union_Number_Resource hintRadius; Opt_Date selected; + Opt_Date start; + Opt_Date end; + Opt_Array_DateRange disabledDateRange; } Ark_CalendarOptions; typedef struct Opt_CalendarOptions { Ark_Tag tag; Ark_CalendarOptions value; } Opt_CalendarOptions; -typedef struct Ark_CaretStyle { - Opt_Union_String_Number_Resource width; - Opt_ResourceColor color; -} Ark_CaretStyle; -typedef struct Opt_CaretStyle { +typedef struct Opt_CanvasRenderer { Ark_Tag tag; - Ark_CaretStyle value; -} Opt_CaretStyle; -typedef struct Ark_ChainAnimationOptions { - Ark_Union_String_Number_Resource minSpace; - Ark_Union_String_Number_Resource maxSpace; - Opt_Number conductivity; - Opt_Number intensity; - Opt_ChainEdgeEffect edgeEffect; - Opt_Number stiffness; - Opt_Number damping; -} Ark_ChainAnimationOptions; -typedef struct Opt_ChainAnimationOptions { + Ark_CanvasRenderer value; +} Opt_CanvasRenderer; +typedef struct Opt_CanvasRenderingContext2D { Ark_Tag tag; - Ark_ChainAnimationOptions value; -} Opt_ChainAnimationOptions; + Ark_CanvasRenderingContext2D value; +} Opt_CanvasRenderingContext2D; typedef struct Ark_CircleStyleOptions { Opt_ResourceColor color; Opt_LengthMetrics radius; Opt_Boolean enableWaveEffect; + Opt_Boolean enableForeground; } Ark_CircleStyleOptions; typedef struct Opt_CircleStyleOptions { Ark_Tag tag; Ark_CircleStyleOptions value; } Opt_CircleStyleOptions; -typedef struct Ark_ColorStop { - Ark_ResourceColor color; - Ark_Union_String_Number_Resource offset; -} Ark_ColorStop; -typedef struct Opt_ColorStop { - Ark_Tag tag; - Ark_ColorStop value; -} Opt_ColorStop; -typedef struct Ark_ColumnSplitDividerStyle { - Opt_Union_String_Number_Resource startMargin; - Opt_Union_String_Number_Resource endMargin; -} Ark_ColumnSplitDividerStyle; -typedef struct Opt_ColumnSplitDividerStyle { - Ark_Tag tag; - Ark_ColumnSplitDividerStyle value; -} Opt_ColumnSplitDividerStyle; typedef struct Ark_ComponentInfo { Ark_Size size; Ark_Offset_componentutils localOffset; @@ -13975,16 +15154,6 @@ typedef struct Opt_ComponentInfo { Ark_Tag tag; Ark_ComponentInfo value; } Opt_ComponentInfo; -typedef struct Ark_ConstraintSizeOptions { - Opt_Union_String_Number_Resource minWidth; - Opt_Union_String_Number_Resource maxWidth; - Opt_Union_String_Number_Resource minHeight; - Opt_Union_String_Number_Resource maxHeight; -} Ark_ConstraintSizeOptions; -typedef struct Opt_ConstraintSizeOptions { - Ark_Tag tag; - Ark_ConstraintSizeOptions value; -} Opt_ConstraintSizeOptions; typedef struct Ark_ContentCoverOptions { Opt_ResourceColor backgroundColor; Opt_Callback_Void onAppear; @@ -14136,60 +15305,34 @@ typedef struct Opt_DecorationStyleResult { Ark_Tag tag; Ark_DecorationStyleResult value; } Opt_DecorationStyleResult; -typedef struct Ark_DividerOptions { - Opt_Union_String_Number_Resource strokeWidth; - Opt_ResourceColor color; - Opt_Union_String_Number_Resource startMargin; - Opt_Union_String_Number_Resource endMargin; -} Ark_DividerOptions; -typedef struct Opt_DividerOptions { - Ark_Tag tag; - Ark_DividerOptions value; -} Opt_DividerOptions; -typedef struct Ark_DividerStyle { - Ark_Union_String_Number_Resource strokeWidth; - Opt_ResourceColor color; - Opt_Union_String_Number_Resource startMargin; - Opt_Union_String_Number_Resource endMargin; -} Ark_DividerStyle; -typedef struct Opt_DividerStyle { +typedef struct Ark_Dimension { + Ark_Int32 selector; + union { + Ark_String value0; + Ark_Number value1; + Ark_Resource value2; + }; +} Ark_Dimension; +typedef struct Opt_Dimension { Ark_Tag tag; - Ark_DividerStyle value; -} Opt_DividerStyle; + Ark_Dimension value; +} Opt_Dimension; typedef struct Ark_DividerStyleOptions { Opt_LengthMetrics strokeWidth; Opt_ResourceColor color; Opt_LengthMetrics startMargin; Opt_LengthMetrics endMargin; + Opt_DividerMode mode; } Ark_DividerStyleOptions; typedef struct Opt_DividerStyleOptions { Ark_Tag tag; Ark_DividerStyleOptions value; } Opt_DividerStyleOptions; -typedef struct Ark_DotIndicator { - Opt_Union_String_Number_Resource _left; - Opt_Union_String_Number_Resource _top; - Opt_Union_String_Number_Resource _right; - Opt_Union_String_Number_Resource _bottom; - Opt_LengthMetrics _start; - Opt_LengthMetrics _end; - Opt_Union_String_Number_Resource _itemWidth; - Opt_Union_String_Number_Resource _itemHeight; - Opt_Union_String_Number_Resource _selectedItemWidth; - Opt_Union_String_Number_Resource _selectedItemHeight; - Opt_Boolean _mask; - Opt_ResourceColor _color; - Opt_ResourceColor _selectedColor; - Opt_Number _maxDisplayCount; -} Ark_DotIndicator; -typedef struct Opt_DotIndicator { - Ark_Tag tag; - Ark_DotIndicator value; -} Opt_DotIndicator; typedef struct Ark_DragPreviewOptions { Opt_Union_DragPreviewMode_Array_DragPreviewMode mode; Opt_ImageModifier modifier; Opt_Union_Boolean_Number numberBadge; + Opt_DraggingSizeChangeEffect sizeChangeEffect; } Ark_DragPreviewOptions; typedef struct Opt_DragPreviewOptions { Ark_Tag tag; @@ -14205,36 +15348,6 @@ typedef struct Opt_EdgeColors { Ark_Tag tag; Ark_EdgeColors value; } Opt_EdgeColors; -typedef struct Ark_EdgeOutlineWidths { - Opt_Union_String_Number_Resource top; - Opt_Union_String_Number_Resource right; - Opt_Union_String_Number_Resource bottom; - Opt_Union_String_Number_Resource left; -} Ark_EdgeOutlineWidths; -typedef struct Opt_EdgeOutlineWidths { - Ark_Tag tag; - Ark_EdgeOutlineWidths value; -} Opt_EdgeOutlineWidths; -typedef struct Ark_Edges { - Opt_Union_String_Number_Resource top; - Opt_Union_String_Number_Resource left; - Opt_Union_String_Number_Resource bottom; - Opt_Union_String_Number_Resource right; -} Ark_Edges; -typedef struct Opt_Edges { - Ark_Tag tag; - Ark_Edges value; -} Opt_Edges; -typedef struct Ark_EdgeWidths { - Opt_Union_String_Number_Resource top; - Opt_Union_String_Number_Resource right; - Opt_Union_String_Number_Resource bottom; - Opt_Union_String_Number_Resource left; -} Ark_EdgeWidths; -typedef struct Opt_EdgeWidths { - Ark_Tag tag; - Ark_EdgeWidths value; -} Opt_EdgeWidths; typedef struct Ark_ExpandedMenuItemOptions { Ark_ResourceStr content; Opt_ResourceStr startIcon; @@ -14268,16 +15381,6 @@ typedef struct Opt_FocusBoxStyle { Ark_Tag tag; Ark_FocusBoxStyle value; } Opt_FocusBoxStyle; -typedef struct Ark_Font { - Opt_Union_String_Number_Resource size; - Opt_Union_FontWeight_Number_String weight; - Opt_Union_String_Resource family; - Opt_FontStyle style; -} Ark_Font; -typedef struct Opt_Font { - Ark_Tag tag; - Ark_Font value; -} Opt_Font; typedef struct Ark_FontOptions { Ark_Union_String_Resource familyName; Ark_Union_String_Resource familySrc; @@ -14312,14 +15415,6 @@ typedef struct Opt_FormInfo { Ark_Tag tag; Ark_FormInfo value; } Opt_FormInfo; -typedef struct Ark_GaugeIndicatorOptions { - Opt_ResourceStr icon; - Opt_Union_String_Number_Resource space; -} Ark_GaugeIndicatorOptions; -typedef struct Opt_GaugeIndicatorOptions { - Ark_Tag tag; - Ark_GaugeIndicatorOptions value; -} Opt_GaugeIndicatorOptions; typedef struct Ark_GaugeShadowOptions { Opt_Union_Number_Resource radius; Opt_Union_Number_Resource offsetX; @@ -14338,35 +15433,6 @@ typedef struct Opt_GridColOptions { Ark_Tag tag; Ark_GridColOptions value; } Opt_GridColOptions; -typedef struct Ark_GridRowSizeOption { - Opt_Union_String_Number_Resource xs; - Opt_Union_String_Number_Resource sm; - Opt_Union_String_Number_Resource md; - Opt_Union_String_Number_Resource lg; - Opt_Union_String_Number_Resource xl; - Opt_Union_String_Number_Resource xxl; -} Ark_GridRowSizeOption; -typedef struct Opt_GridRowSizeOption { - Ark_Tag tag; - Ark_GridRowSizeOption value; -} Opt_GridRowSizeOption; -typedef struct Ark_GuideLinePosition { - Opt_Union_String_Number_Resource start; - Opt_Union_String_Number_Resource end; -} Ark_GuideLinePosition; -typedef struct Opt_GuideLinePosition { - Ark_Tag tag; - Ark_GuideLinePosition value; -} Opt_GuideLinePosition; -typedef struct Ark_GuideLineStyle { - Ark_String id; - Ark_Axis direction; - Ark_GuideLinePosition position; -} Ark_GuideLineStyle; -typedef struct Opt_GuideLineStyle { - Ark_Tag tag; - Ark_GuideLineStyle value; -} Opt_GuideLineStyle; typedef struct Ark_HistoricalPoint { Ark_TouchObject touchObject; Ark_Number size; @@ -14377,15 +15443,6 @@ typedef struct Opt_HistoricalPoint { Ark_Tag tag; Ark_HistoricalPoint value; } Opt_HistoricalPoint; -typedef struct Ark_IconOptions { - Opt_Union_String_Number_Resource size; - Opt_ResourceColor color; - Opt_ResourceStr src; -} Ark_IconOptions; -typedef struct Opt_IconOptions { - Ark_Tag tag; - Ark_IconOptions value; -} Opt_IconOptions; typedef struct Ark_ImageFrameInfo { Ark_Union_String_Resource_PixelMap src; Opt_Union_Number_String width; @@ -14398,24 +15455,6 @@ typedef struct Opt_ImageFrameInfo { Ark_Tag tag; Ark_ImageFrameInfo value; } Opt_ImageFrameInfo; -typedef struct Ark_IndicatorStyle { - Opt_Union_String_Number_Resource height; - Opt_Union_String_Number_Resource width; - Opt_Union_String_Number_Resource borderRadius; - Opt_Union_String_Number_Resource marginTop; - Opt_ResourceColor color; - Opt_ResourceColor selectedColor; - Opt_Union_String_Number_Resource left; - Opt_Union_String_Number_Resource top; - Opt_Union_String_Number_Resource right; - Opt_Union_String_Number_Resource bottom; - Opt_Union_String_Number_Resource size; - Opt_Boolean mask; -} Ark_IndicatorStyle; -typedef struct Opt_IndicatorStyle { - Ark_Tag tag; - Ark_IndicatorStyle value; -} Opt_IndicatorStyle; typedef struct Ark_JavaScriptProxy { Ark_Object object_; Ark_String name; @@ -14428,18 +15467,30 @@ typedef struct Opt_JavaScriptProxy { Ark_Tag tag; Ark_JavaScriptProxy value; } Opt_JavaScriptProxy; +typedef struct Ark_Length { + Ark_Int32 selector; + union { + Ark_String value0; + Ark_Number value1; + Ark_Resource value2; + }; +} Ark_Length; +typedef struct Opt_Length { + Ark_Tag tag; + Ark_Length value; +} Opt_Length; typedef struct Ark_LengthConstrain { - Ark_Union_String_Number_Resource minLength; - Ark_Union_String_Number_Resource maxLength; + Ark_Length minLength; + Ark_Length maxLength; } Ark_LengthConstrain; typedef struct Opt_LengthConstrain { Ark_Tag tag; Ark_LengthConstrain value; } Opt_LengthConstrain; typedef struct Ark_LightSource { - Ark_Union_String_Number_Resource positionX; - Ark_Union_String_Number_Resource positionY; - Ark_Union_String_Number_Resource positionZ; + Ark_Dimension positionX; + Ark_Dimension positionY; + Ark_Dimension positionZ; Ark_Number intensity; Opt_ResourceColor color; } Ark_LightSource; @@ -14458,25 +15509,6 @@ typedef struct Opt_LinearIndicatorStyle { Ark_Tag tag; Ark_LinearIndicatorStyle value; } Opt_LinearIndicatorStyle; -typedef struct Ark_LinearStyleOptions { - Opt_Boolean enableScanEffect; - Opt_Union_String_Number_Resource strokeWidth; - Opt_Union_String_Number_Resource strokeRadius; -} Ark_LinearStyleOptions; -typedef struct Opt_LinearStyleOptions { - Ark_Tag tag; - Ark_LinearStyleOptions value; -} Opt_LinearStyleOptions; -typedef struct Ark_ListDividerOptions { - Ark_Union_String_Number_Resource strokeWidth; - Opt_ResourceColor color; - Opt_Union_String_Number_Resource startMargin; - Opt_Union_String_Number_Resource endMargin; -} Ark_ListDividerOptions; -typedef struct Opt_ListDividerOptions { - Ark_Tag tag; - Ark_ListDividerOptions value; -} Opt_ListDividerOptions; typedef struct Ark_Literal__want { Ark_Want want; } Ark_Literal__want; @@ -14604,15 +15636,6 @@ typedef struct Opt_LunarSwitchStyle { Ark_Tag tag; Ark_LunarSwitchStyle value; } Opt_LunarSwitchStyle; -typedef struct Ark_MarkStyle { - Opt_ResourceColor strokeColor; - Opt_Union_String_Number_Resource size; - Opt_Union_String_Number_Resource strokeWidth; -} Ark_MarkStyle; -typedef struct Opt_MarkStyle { - Ark_Tag tag; - Ark_MarkStyle value; -} Opt_MarkStyle; typedef struct Ark_MeasureOptions { Ark_Union_String_Resource textContent; Opt_Union_Number_String_Resource constraintWidth; @@ -14670,6 +15693,14 @@ typedef struct Opt_MenuItemOptions { Ark_Tag tag; Ark_MenuItemOptions value; } Opt_MenuItemOptions; +typedef struct Ark_NativeXComponentParameters { + Ark_XComponentType type; + Opt_ImageAIOptions imageAIOptions; +} Ark_NativeXComponentParameters; +typedef struct Opt_NativeXComponentParameters { + Ark_Tag tag; + Ark_NativeXComponentParameters value; +} Opt_NativeXComponentParameters; typedef struct Ark_NavDestinationCommonTitle { Ark_Union_String_Resource main; Ark_Union_String_Resource sub; @@ -14682,14 +15713,6 @@ typedef struct Opt_NavDestinationContext { Ark_Tag tag; Ark_NavDestinationContext value; } Opt_NavDestinationContext; -typedef struct Ark_NavDestinationCustomTitle { - CustomNodeBuilder builder; - Ark_Union_TitleHeight_Length height; -} Ark_NavDestinationCustomTitle; -typedef struct Opt_NavDestinationCustomTitle { - Ark_Tag tag; - Ark_NavDestinationCustomTitle value; -} Opt_NavDestinationCustomTitle; typedef struct Ark_NavigationCommonTitle { Ark_Union_String_Resource main; Ark_Union_String_Resource sub; @@ -14698,14 +15721,6 @@ typedef struct Opt_NavigationCommonTitle { Ark_Tag tag; Ark_NavigationCommonTitle value; } Opt_NavigationCommonTitle; -typedef struct Ark_NavigationCustomTitle { - CustomNodeBuilder builder; - Ark_Union_TitleHeight_Length height; -} Ark_NavigationCustomTitle; -typedef struct Opt_NavigationCustomTitle { - Ark_Tag tag; - Ark_NavigationCustomTitle value; -} Opt_NavigationCustomTitle; typedef struct Ark_NavigationMenuItem { Ark_Union_String_Resource value; Opt_Union_String_Resource icon; @@ -14717,29 +15732,6 @@ typedef struct Opt_NavigationMenuItem { Ark_Tag tag; Ark_NavigationMenuItem value; } Opt_NavigationMenuItem; -typedef struct Ark_NavigationTitleOptions { - Opt_ResourceColor backgroundColor; - Opt_BlurStyle backgroundBlurStyle; - Opt_BarStyle barStyle; - Opt_LengthMetrics paddingStart; - Opt_LengthMetrics paddingEnd; - Opt_TextModifier mainTitleModifier; - Opt_TextModifier subTitleModifier; - Opt_Boolean enableHoverMode; -} Ark_NavigationTitleOptions; -typedef struct Opt_NavigationTitleOptions { - Ark_Tag tag; - Ark_NavigationTitleOptions value; -} Opt_NavigationTitleOptions; -typedef struct Ark_NavigationToolbarOptions { - Opt_ResourceColor backgroundColor; - Opt_BlurStyle backgroundBlurStyle; - Opt_BarStyle barStyle; -} Ark_NavigationToolbarOptions; -typedef struct Opt_NavigationToolbarOptions { - Ark_Tag tag; - Ark_NavigationToolbarOptions value; -} Opt_NavigationToolbarOptions; typedef struct Ark_NonCurrentDayStyle { Opt_ResourceColor nonCurrentMonthDayColor; Opt_ResourceColor nonCurrentMonthLunarColor; @@ -14750,32 +15742,18 @@ typedef struct Opt_NonCurrentDayStyle { Ark_Tag tag; Ark_NonCurrentDayStyle value; } Opt_NonCurrentDayStyle; +typedef struct Opt_OffscreenCanvasRenderingContext2D { + Ark_Tag tag; + Ark_OffscreenCanvasRenderingContext2D value; +} Opt_OffscreenCanvasRenderingContext2D; typedef struct Ark_Offset { - Ark_Union_String_Number_Resource dx; - Ark_Union_String_Number_Resource dy; + Ark_Length dx; + Ark_Length dy; } Ark_Offset; typedef struct Opt_Offset { Ark_Tag tag; Ark_Offset value; } Opt_Offset; -typedef struct Ark_OffsetOptions { - Opt_Union_String_Number_Resource xOffset; - Opt_Union_String_Number_Resource yOffset; -} Ark_OffsetOptions; -typedef struct Opt_OffsetOptions { - Ark_Tag tag; - Ark_OffsetOptions value; -} Opt_OffsetOptions; -typedef struct Ark_OutlineRadiuses { - Opt_Union_String_Number_Resource topLeft; - Opt_Union_String_Number_Resource topRight; - Opt_Union_String_Number_Resource bottomLeft; - Opt_Union_String_Number_Resource bottomRight; -} Ark_OutlineRadiuses; -typedef struct Opt_OutlineRadiuses { - Ark_Tag tag; - Ark_OutlineRadiuses value; -} Opt_OutlineRadiuses; typedef struct Ark_OverlayOptions { Opt_Alignment align; Opt_OverlayOffset offset; @@ -14784,16 +15762,6 @@ typedef struct Opt_OverlayOptions { Ark_Tag tag; Ark_OverlayOptions value; } Opt_OverlayOptions; -typedef struct Ark_Padding { - Opt_Union_String_Number_Resource top; - Opt_Union_String_Number_Resource right; - Opt_Union_String_Number_Resource bottom; - Opt_Union_String_Number_Resource left; -} Ark_Padding; -typedef struct Opt_Padding { - Ark_Tag tag; - Ark_Padding value; -} Opt_Padding; typedef struct Ark_PasswordIcon { Opt_Union_String_Resource onIconSrc; Opt_Union_String_Resource offIconSrc; @@ -14802,16 +15770,6 @@ typedef struct Opt_PasswordIcon { Ark_Tag tag; Ark_PasswordIcon value; } Opt_PasswordIcon; -typedef struct Ark_PixelStretchEffectOptions { - Opt_Union_String_Number_Resource top; - Opt_Union_String_Number_Resource bottom; - Opt_Union_String_Number_Resource left; - Opt_Union_String_Number_Resource right; -} Ark_PixelStretchEffectOptions; -typedef struct Opt_PixelStretchEffectOptions { - Ark_Tag tag; - Ark_PixelStretchEffectOptions value; -} Opt_PixelStretchEffectOptions; typedef struct Ark_PluginComponentOptions { Ark_PluginComponentTemplate template_; Ark_String data; @@ -14820,24 +15778,6 @@ typedef struct Opt_PluginComponentOptions { Ark_Tag tag; Ark_PluginComponentOptions value; } Opt_PluginComponentOptions; -typedef struct Ark_Position { - Opt_Union_String_Number_Resource x; - Opt_Union_String_Number_Resource y; -} Ark_Position; -typedef struct Opt_Position { - Ark_Tag tag; - Ark_Position value; -} Opt_Position; -typedef struct Ark_ProgressStyleOptions { - Opt_Boolean enableSmoothEffect; - Opt_Union_String_Number_Resource strokeWidth; - Opt_Number scaleCount; - Opt_Union_String_Number_Resource scaleWidth; -} Ark_ProgressStyleOptions; -typedef struct Opt_ProgressStyleOptions { - Ark_Tag tag; - Ark_ProgressStyleOptions value; -} Opt_ProgressStyleOptions; typedef struct Ark_RadioStyle { Opt_ResourceColor checkedBackgroundColor; Opt_ResourceColor uncheckedBorderColor; @@ -14847,16 +15787,6 @@ typedef struct Opt_RadioStyle { Ark_Tag tag; Ark_RadioStyle value; } Opt_RadioStyle; -typedef struct Ark_Rectangle { - Opt_Union_String_Number_Resource x; - Opt_Union_String_Number_Resource y; - Opt_Union_String_Number_Resource width; - Opt_Union_String_Number_Resource height; -} Ark_Rectangle; -typedef struct Opt_Rectangle { - Ark_Tag tag; - Ark_Rectangle value; -} Opt_Rectangle; typedef struct Ark_RectOptions { Opt_Union_Number_String width; Opt_Union_Number_String height; @@ -14887,14 +15817,26 @@ typedef struct Opt_RefreshOptions { Ark_Tag tag; Ark_RefreshOptions value; } Opt_RefreshOptions; -typedef struct Opt_RenderNode { - Ark_Tag tag; - Ark_RenderNode value; -} Opt_RenderNode; typedef struct Opt_RestrictedWorker { Ark_Tag tag; Ark_RestrictedWorker value; } Opt_RestrictedWorker; +typedef struct Ark_ReuseOptions { + Opt_ReuseIdCallback reuseId; +} Ark_ReuseOptions; +typedef struct Opt_ReuseOptions { + Ark_Tag tag; + Ark_ReuseOptions value; +} Opt_ReuseOptions; +typedef struct Ark_RichEditorBuilderSpanOptions { + Opt_Number offset; + Opt_ColorMetrics dragBackgroundColor; + Opt_Boolean isDragShadowNeeded; +} Ark_RichEditorBuilderSpanOptions; +typedef struct Opt_RichEditorBuilderSpanOptions { + Ark_Tag tag; + Ark_RichEditorBuilderSpanOptions value; +} Opt_RichEditorBuilderSpanOptions; typedef struct Ark_RichEditorChangeValue { Ark_TextRange rangeBefore; Array_RichEditorTextSpanResult replacedSpans; @@ -14916,22 +15858,6 @@ typedef struct Opt_RichEditorSymbolSpanStyle { Ark_Tag tag; Ark_RichEditorSymbolSpanStyle value; } Opt_RichEditorSymbolSpanStyle; -typedef struct Ark_RichEditorTextStyleResult { - Ark_ResourceColor fontColor; - Ark_Number fontSize; - Ark_FontStyle fontStyle; - Ark_Number fontWeight; - Ark_String fontFamily; - Ark_DecorationStyleResult decoration; - Opt_Array_ShadowOptions textShadow; - Opt_Number letterSpacing; - Opt_Number lineHeight; - Opt_String fontFeature; -} Ark_RichEditorTextStyleResult; -typedef struct Opt_RichEditorTextStyleResult { - Ark_Tag tag; - Ark_RichEditorTextStyleResult value; -} Opt_RichEditorTextStyleResult; typedef struct Ark_RichEditorUpdateSymbolSpanStyleOptions { Opt_Number start; Opt_Number end; @@ -14941,16 +15867,13 @@ typedef struct Opt_RichEditorUpdateSymbolSpanStyleOptions { Ark_Tag tag; Ark_RichEditorUpdateSymbolSpanStyleOptions value; } Opt_RichEditorUpdateSymbolSpanStyleOptions; -typedef struct Ark_RingStyleOptions { - Opt_Boolean enableScanEffect; - Opt_Union_String_Number_Resource strokeWidth; - Opt_Boolean shadow; - Opt_ProgressStatus status; -} Ark_RingStyleOptions; -typedef struct Opt_RingStyleOptions { +typedef struct Ark_RichEditorUrlStyle { + Opt_ResourceStr url; +} Ark_RichEditorUrlStyle; +typedef struct Opt_RichEditorUrlStyle { Ark_Tag tag; - Ark_RingStyleOptions value; -} Opt_RingStyleOptions; + Ark_RichEditorUrlStyle value; +} Opt_RichEditorUrlStyle; typedef struct Ark_SceneOptions { Opt_Union_ResourceStr_Scene scene; Opt_ModelType modelType; @@ -14959,14 +15882,6 @@ typedef struct Opt_SceneOptions { Ark_Tag tag; Ark_SceneOptions value; } Opt_SceneOptions; -typedef struct Ark_ScrollableBarModeOptions { - Opt_Union_String_Number_Resource margin; - Opt_LayoutStyle nonScrollableLayoutStyle; -} Ark_ScrollableBarModeOptions; -typedef struct Opt_ScrollableBarModeOptions { - Ark_Tag tag; - Ark_ScrollableBarModeOptions value; -} Opt_ScrollableBarModeOptions; typedef struct Ark_ScrollOptions { Ark_Union_Number_String xOffset; Ark_Union_Number_String yOffset; @@ -14983,15 +15898,6 @@ typedef struct Opt_ScrollToIndexOptions { Ark_Tag tag; Ark_ScrollToIndexOptions value; } Opt_ScrollToIndexOptions; -typedef struct Ark_SearchButtonOptions { - Opt_Union_String_Number_Resource fontSize; - Opt_ResourceColor fontColor; - Opt_Boolean autoDisable; -} Ark_SearchButtonOptions; -typedef struct Opt_SearchButtonOptions { - Ark_Tag tag; - Ark_SearchButtonOptions value; -} Opt_SearchButtonOptions; typedef struct Ark_SearchOptions { Opt_String value; Opt_ResourceStr placeholder; @@ -15002,6 +15908,18 @@ typedef struct Opt_SearchOptions { Ark_Tag tag; Ark_SearchOptions value; } Opt_SearchOptions; +typedef struct Ark_SelectionMenuOptions { + Opt_MenuOnAppearCallback onAppear; + Opt_Callback_Void onDisappear; + Opt_MenuType menuType; + Opt_MenuCallback onMenuShow; + Opt_MenuCallback onMenuHide; + Opt_PreviewMenuOptions previewMenuOptions; +} Ark_SelectionMenuOptions; +typedef struct Opt_SelectionMenuOptions { + Ark_Tag tag; + Ark_SelectionMenuOptions value; +} Opt_SelectionMenuOptions; typedef struct Ark_SelectOption { Ark_ResourceStr value; Opt_ResourceStr icon; @@ -15052,14 +15970,6 @@ typedef struct Opt_SheetTitleOptions { Ark_Tag tag; Ark_SheetTitleOptions value; } Opt_SheetTitleOptions; -typedef struct Ark_SizeOptions { - Opt_Union_String_Number_Resource width; - Opt_Union_String_Number_Resource height; -} Ark_SizeOptions; -typedef struct Opt_SizeOptions { - Ark_Tag tag; - Ark_SizeOptions value; -} Opt_SizeOptions; typedef struct Ark_SliderBlockStyle { Ark_SliderBlockType type; Opt_ResourceStr image; @@ -15078,18 +15988,6 @@ typedef struct Opt_StyledStringChangeValue { Ark_Tag tag; Ark_StyledStringChangeValue value; } Opt_StyledStringChangeValue; -typedef struct Ark_SwipeActionItem { - Opt_CustomNodeBuilder builder; - Opt_Union_String_Number_Resource actionAreaDistance; - Opt_Callback_Void onAction; - Opt_Callback_Void onEnterActionArea; - Opt_Callback_Void onExitActionArea; - Opt_Callback_SwipeActionState_Void onStateChange; -} Ark_SwipeActionItem; -typedef struct Opt_SwipeActionItem { - Ark_Tag tag; - Ark_SwipeActionItem value; -} Opt_SwipeActionItem; typedef struct Ark_SwitchStyle { Opt_Union_Number_Resource pointRadius; Opt_ResourceColor unselectedColor; @@ -15116,6 +16014,16 @@ typedef struct Opt_TabBarOptions { Ark_Tag tag; Ark_TabBarOptions value; } Opt_TabBarOptions; +typedef struct Ark_TabsOptions { + Opt_BarPosition barPosition; + Opt_Number index; + Opt_TabsController controller; + Opt_CommonModifier barModifier; +} Ark_TabsOptions; +typedef struct Opt_TabsOptions { + Ark_Tag tag; + Ark_TabsOptions value; +} Opt_TabsOptions; typedef struct Ark_TerminationInfo { Ark_Number code; Opt_Want want; @@ -15141,6 +16049,16 @@ typedef struct Opt_TextCascadePickerRangeContent { Ark_Tag tag; Ark_TextCascadePickerRangeContent value; } Opt_TextCascadePickerRangeContent; +typedef struct Ark_TextChangeOptions { + Ark_TextRange rangeBefore; + Ark_TextRange rangeAfter; + Ark_String oldContent; + Ark_PreviewText oldPreviewText; +} Ark_TextChangeOptions; +typedef struct Opt_TextChangeOptions { + Ark_Tag tag; + Ark_TextChangeOptions value; +} Opt_TextChangeOptions; typedef struct Ark_TextDecorationOptions { Ark_TextDecorationType type; Opt_ResourceColor color; @@ -15163,6 +16081,7 @@ typedef struct Ark_TextMenuItem { Ark_ResourceStr content; Opt_ResourceStr icon; Ark_TextMenuItemId id; + Opt_ResourceStr labelInfo; } Ark_TextMenuItem; typedef struct Opt_TextMenuItem { Ark_Tag tag; @@ -15172,6 +16091,7 @@ typedef struct Ark_TextPickerOptions { Ark_Type_TextPickerOptions_range range; Opt_Union_String_Array_String value; Opt_Union_Number_Array_Number selected; + Opt_Array_LengthMetrics columnWidths; } Ark_TextPickerOptions; typedef struct Opt_TextPickerOptions { Ark_Tag tag; @@ -15263,54 +16183,957 @@ typedef struct Ark_TransitionOptions { } Ark_TransitionOptions; typedef struct Opt_TransitionOptions { Ark_Tag tag; - Ark_TransitionOptions value; -} Opt_TransitionOptions; -typedef struct Ark_Tuple_Dimension_Dimension { - Ark_Union_String_Number_Resource value0; - Ark_Union_String_Number_Resource value1; -} Ark_Tuple_Dimension_Dimension; -typedef struct Opt_Tuple_Dimension_Dimension { + Ark_TransitionOptions value; +} Opt_TransitionOptions; +typedef struct Ark_Tuple_Dimension_Dimension { + Ark_Dimension value0; + Ark_Dimension value1; +} Ark_Tuple_Dimension_Dimension; +typedef struct Opt_Tuple_Dimension_Dimension { + Ark_Tag tag; + Ark_Tuple_Dimension_Dimension value; +} Opt_Tuple_Dimension_Dimension; +typedef struct Ark_Tuple_Length_Length { + Ark_Length value0; + Ark_Length value1; +} Ark_Tuple_Length_Length; +typedef struct Opt_Tuple_Length_Length { + Ark_Tag tag; + Ark_Tuple_Length_Length value; +} Opt_Tuple_Length_Length; +typedef struct Ark_Tuple_Union_ResourceColor_LinearGradient_Number { + Ark_Union_ResourceColor_LinearGradient value0; + Ark_Number value1; +} Ark_Tuple_Union_ResourceColor_LinearGradient_Number; +typedef struct Opt_Tuple_Union_ResourceColor_LinearGradient_Number { + Ark_Tag tag; + Ark_Tuple_Union_ResourceColor_LinearGradient_Number value; +} Opt_Tuple_Union_ResourceColor_LinearGradient_Number; +typedef struct Ark_Type_XComponentInterface_callable0_value { + Ark_String id; + Ark_String type; + Opt_String libraryname; + Opt_XComponentController controller; +} Ark_Type_XComponentInterface_callable0_value; +typedef struct Opt_Type_XComponentInterface_callable0_value { + Ark_Tag tag; + Ark_Type_XComponentInterface_callable0_value value; +} Opt_Type_XComponentInterface_callable0_value; +typedef struct Ark_Type_XComponentInterface_callable1_value { + Ark_String id; + Ark_XComponentType type; + Opt_String libraryname; + Opt_XComponentController controller; +} Ark_Type_XComponentInterface_callable1_value; +typedef struct Opt_Type_XComponentInterface_callable1_value { + Ark_Tag tag; + Ark_Type_XComponentInterface_callable1_value value; +} Opt_Type_XComponentInterface_callable1_value; +typedef struct Ark_UnderlineColor { + Opt_ResourceColor typing; + Opt_ResourceColor normal; + Opt_ResourceColor error; + Opt_ResourceColor disable; +} Ark_UnderlineColor; +typedef struct Opt_UnderlineColor { + Ark_Tag tag; + Ark_UnderlineColor value; +} Opt_UnderlineColor; +typedef struct Ark_Union_Boolean_Literal_ResourceColor_color { + Ark_Int32 selector; + union { + Ark_Boolean value0; + Ark_Literal_ResourceColor_color value1; + }; +} Ark_Union_Boolean_Literal_ResourceColor_color; +typedef struct Opt_Union_Boolean_Literal_ResourceColor_color { + Ark_Tag tag; + Ark_Union_Boolean_Literal_ResourceColor_color value; +} Opt_Union_Boolean_Literal_ResourceColor_color; +typedef struct Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext { + Ark_Int32 selector; + union { + Ark_CanvasRenderingContext2D value0; + Ark_DrawingRenderingContext value1; + }; +} Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext; +typedef struct Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext { + Ark_Tag tag; + Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext value; +} Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext; +typedef struct Ark_Union_Dimension_Array_Dimension { + Ark_Int32 selector; + union { + Ark_Dimension value0; + Array_Dimension value1; + }; +} Ark_Union_Dimension_Array_Dimension; +typedef struct Opt_Union_Dimension_Array_Dimension { + Ark_Tag tag; + Ark_Union_Dimension_Array_Dimension value; +} Opt_Union_Dimension_Array_Dimension; +typedef struct Ark_Union_Dimension_OptionWidthMode { + Ark_Int32 selector; + union { + Ark_Dimension value0; + Ark_OptionWidthMode value1; + }; +} Ark_Union_Dimension_OptionWidthMode; +typedef struct Opt_Union_Dimension_OptionWidthMode { + Ark_Tag tag; + Ark_Union_Dimension_OptionWidthMode value; +} Opt_Union_Dimension_OptionWidthMode; +typedef struct Ark_Union_Dimension_PanelHeight { + Ark_Int32 selector; + union { + Ark_Dimension value0; + Ark_PanelHeight value1; + }; +} Ark_Union_Dimension_PanelHeight; +typedef struct Opt_Union_Dimension_PanelHeight { + Ark_Tag tag; + Ark_Union_Dimension_PanelHeight value; +} Opt_Union_Dimension_PanelHeight; +typedef struct Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors { + Ark_Int32 selector; + union { + Ark_EdgeColors value0; + Ark_ResourceColor value1; + Ark_LocalizedEdgeColors value2; + }; +} Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors; +typedef struct Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors { + Ark_Tag tag; + Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors value; +} Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors; +typedef struct Ark_Union_Length_LayoutPolicy { + Ark_Int32 selector; + union { + Ark_Length value0; + Ark_LayoutPolicy value1; + }; +} Ark_Union_Length_LayoutPolicy; +typedef struct Opt_Union_Length_LayoutPolicy { + Ark_Tag tag; + Ark_Union_Length_LayoutPolicy value; +} Opt_Union_Length_LayoutPolicy; +typedef struct Ark_Union_Length_Number { + Ark_Int32 selector; + union { + Ark_Length value0; + Ark_Number value1; + }; +} Ark_Union_Length_Number; +typedef struct Opt_Union_Length_Number { + Ark_Tag tag; + Ark_Union_Length_Number value; +} Opt_Union_Length_Number; +typedef struct Ark_Union_MenuItemOptions_CustomBuilder { + Ark_Int32 selector; + union { + Ark_MenuItemOptions value0; + CustomNodeBuilder value1; + }; +} Ark_Union_MenuItemOptions_CustomBuilder; +typedef struct Opt_Union_MenuItemOptions_CustomBuilder { + Ark_Tag tag; + Ark_Union_MenuItemOptions_CustomBuilder value; +} Opt_Union_MenuItemOptions_CustomBuilder; +typedef struct Ark_Union_NavDestinationContext_NavBar { + Ark_Int32 selector; + union { + Ark_NavDestinationContext value0; + Ark_String value1; + }; +} Ark_Union_NavDestinationContext_NavBar; +typedef struct Opt_Union_NavDestinationContext_NavBar { + Ark_Tag tag; + Ark_Union_NavDestinationContext_NavBar value; +} Opt_Union_NavDestinationContext_NavBar; +typedef struct Ark_Union_Number_LengthConstrain { + Ark_Int32 selector; + union { + Ark_Number value0; + Ark_LengthConstrain value1; + }; +} Ark_Union_Number_LengthConstrain; +typedef struct Opt_Union_Number_LengthConstrain { + Ark_Tag tag; + Ark_Union_Number_LengthConstrain value; +} Opt_Union_Number_LengthConstrain; +typedef struct Ark_Union_RectOptions_RoundedRectOptions { + Ark_Int32 selector; + union { + Ark_RectOptions value0; + Ark_RoundedRectOptions value1; + }; +} Ark_Union_RectOptions_RoundedRectOptions; +typedef struct Opt_Union_RectOptions_RoundedRectOptions { + Ark_Tag tag; + Ark_Union_RectOptions_RoundedRectOptions value; +} Opt_Union_RectOptions_RoundedRectOptions; +typedef struct Ark_Union_RectShapeOptions_RoundRectShapeOptions { + Ark_Int32 selector; + union { + Ark_RectShapeOptions value0; + Ark_RoundRectShapeOptions value1; + }; +} Ark_Union_RectShapeOptions_RoundRectShapeOptions; +typedef struct Opt_Union_RectShapeOptions_RoundRectShapeOptions { + Ark_Tag tag; + Ark_Union_RectShapeOptions_RoundRectShapeOptions value; +} Opt_Union_RectShapeOptions_RoundRectShapeOptions; +typedef struct Ark_Union_ResourceColor_EdgeColors { + Ark_Int32 selector; + union { + Ark_ResourceColor value0; + Ark_EdgeColors value1; + }; +} Ark_Union_ResourceColor_EdgeColors; +typedef struct Opt_Union_ResourceColor_EdgeColors { + Ark_Tag tag; + Ark_Union_ResourceColor_EdgeColors value; +} Opt_Union_ResourceColor_EdgeColors; +typedef struct Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors { + Ark_Int32 selector; + union { + Ark_ResourceColor value0; + Ark_EdgeColors value1; + Ark_LocalizedEdgeColors value2; + }; +} Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors; +typedef struct Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors { + Ark_Tag tag; + Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value; +} Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors; +typedef struct Ark_Union_ResourceColor_UnderlineColor { + Ark_Int32 selector; + union { + Ark_ResourceColor value0; + Ark_UnderlineColor value1; + }; +} Ark_Union_ResourceColor_UnderlineColor; +typedef struct Opt_Union_ResourceColor_UnderlineColor { + Ark_Tag tag; + Ark_Union_ResourceColor_UnderlineColor value; +} Opt_Union_ResourceColor_UnderlineColor; +typedef struct Ark_Union_ShadowOptions_Array_ShadowOptions { + Ark_Int32 selector; + union { + Ark_ShadowOptions value0; + Array_ShadowOptions value1; + }; +} Ark_Union_ShadowOptions_Array_ShadowOptions; +typedef struct Opt_Union_ShadowOptions_Array_ShadowOptions { + Ark_Tag tag; + Ark_Union_ShadowOptions_Array_ShadowOptions value; +} Opt_Union_ShadowOptions_Array_ShadowOptions; +typedef struct Ark_Union_ShadowOptions_ShadowStyle { + Ark_Int32 selector; + union { + Ark_ShadowOptions value0; + Ark_ShadowStyle value1; + }; +} Ark_Union_ShadowOptions_ShadowStyle; +typedef struct Opt_Union_ShadowOptions_ShadowStyle { + Ark_Tag tag; + Ark_Union_ShadowOptions_ShadowStyle value; +} Opt_Union_ShadowOptions_ShadowStyle; +typedef struct Ark_Union_SheetSize_Length { + Ark_Int32 selector; + union { + Ark_SheetSize value0; + Ark_Length value1; + }; +} Ark_Union_SheetSize_Length; +typedef struct Opt_Union_SheetSize_Length { + Ark_Tag tag; + Ark_Union_SheetSize_Length value; +} Opt_Union_SheetSize_Length; +typedef struct Ark_Union_SheetTitleOptions_CustomBuilder { + Ark_Int32 selector; + union { + Ark_SheetTitleOptions value0; + CustomNodeBuilder value1; + }; +} Ark_Union_SheetTitleOptions_CustomBuilder; +typedef struct Opt_Union_SheetTitleOptions_CustomBuilder { + Ark_Tag tag; + Ark_Union_SheetTitleOptions_CustomBuilder value; +} Opt_Union_SheetTitleOptions_CustomBuilder; +typedef struct Ark_Union_String_Resource_CustomBuilder_TabBarOptions { + Ark_Int32 selector; + union { + Ark_String value0; + Ark_Resource value1; + CustomNodeBuilder value2; + Ark_TabBarOptions value3; + }; +} Ark_Union_String_Resource_CustomBuilder_TabBarOptions; +typedef struct Opt_Union_String_Resource_CustomBuilder_TabBarOptions { + Ark_Tag tag; + Ark_Union_String_Resource_CustomBuilder_TabBarOptions value; +} Opt_Union_String_Resource_CustomBuilder_TabBarOptions; +typedef struct Ark_Union_TitleHeight_Length { + Ark_Int32 selector; + union { + Ark_TitleHeight value0; + Ark_Length value1; + }; +} Ark_Union_TitleHeight_Length; +typedef struct Opt_Union_TitleHeight_Length { + Ark_Tag tag; + Ark_Union_TitleHeight_Length value; +} Opt_Union_TitleHeight_Length; +typedef struct Ark_Union_TransitionOptions_TransitionEffect { + Ark_Int32 selector; + union { + Ark_TransitionOptions value0; + Ark_TransitionEffect value1; + }; +} Ark_Union_TransitionOptions_TransitionEffect; +typedef struct Opt_Union_TransitionOptions_TransitionEffect { + Ark_Tag tag; + Ark_Union_TransitionOptions_TransitionEffect value; +} Opt_Union_TransitionOptions_TransitionEffect; +typedef struct Ark_VideoOptions { + Opt_Union_String_Resource src; + Opt_Union_Number_String_PlaybackSpeed currentProgressRate; + Opt_Union_String_PixelMap_Resource previewUri; + Opt_VideoController controller; + Opt_ImageAIOptions imageAIOptions; + Opt_PosterOptions posterOptions; +} Ark_VideoOptions; +typedef struct Opt_VideoOptions { + Ark_Tag tag; + Ark_VideoOptions value; +} Opt_VideoOptions; +typedef struct Ark_WeekStyle { + Opt_ResourceColor weekColor; + Opt_ResourceColor weekendDayColor; + Opt_ResourceColor weekendLunarColor; + Opt_Number weekFontSize; + Opt_Number weekHeight; + Opt_Number weekWidth; + Opt_Number weekAndDayRowSpace; +} Ark_WeekStyle; +typedef struct Opt_WeekStyle { + Ark_Tag tag; + Ark_WeekStyle value; +} Opt_WeekStyle; +typedef struct Ark_WorkStateStyle { + Opt_ResourceColor workDayMarkColor; + Opt_ResourceColor offDayMarkColor; + Opt_Number workDayMarkSize; + Opt_Number offDayMarkSize; + Opt_Number workStateWidth; + Opt_Number workStateHorizontalMovingDistance; + Opt_Number workStateVerticalMovingDistance; +} Ark_WorkStateStyle; +typedef struct Opt_WorkStateStyle { + Ark_Tag tag; + Ark_WorkStateStyle value; +} Opt_WorkStateStyle; +typedef struct Ark_XComponentOptions { + Ark_XComponentType type; + Ark_XComponentController controller; + Opt_ImageAIOptions imageAIOptions; + Opt_Number screenId; +} Ark_XComponentOptions; +typedef struct Opt_XComponentOptions { + Ark_Tag tag; + Ark_XComponentOptions value; +} Opt_XComponentOptions; +typedef struct Ark_ArrowStyle { + Opt_Boolean showBackground; + Opt_Boolean isSidebarMiddle; + Opt_Length backgroundSize; + Opt_ResourceColor backgroundColor; + Opt_Length arrowSize; + Opt_ResourceColor arrowColor; +} Ark_ArrowStyle; +typedef struct Opt_ArrowStyle { + Ark_Tag tag; + Ark_ArrowStyle value; +} Opt_ArrowStyle; +typedef struct Ark_BadgeStyle { + Opt_ResourceColor color; + Opt_Union_Number_String fontSize; + Opt_Union_Number_String badgeSize; + Opt_ResourceColor badgeColor; + Opt_ResourceColor borderColor; + Opt_Length borderWidth; + Opt_Union_Number_FontWeight_String fontWeight; +} Ark_BadgeStyle; +typedef struct Opt_BadgeStyle { + Ark_Tag tag; + Ark_BadgeStyle value; +} Opt_BadgeStyle; +typedef struct Ark_BarGridColumnOptions { + Opt_Number sm; + Opt_Number md; + Opt_Number lg; + Opt_Dimension margin; + Opt_Dimension gutter; +} Ark_BarGridColumnOptions; +typedef struct Opt_BarGridColumnOptions { + Ark_Tag tag; + Ark_BarGridColumnOptions value; +} Opt_BarGridColumnOptions; +typedef struct Ark_BoardStyle { + Opt_Length borderRadius; +} Ark_BoardStyle; +typedef struct Opt_BoardStyle { + Ark_Tag tag; + Ark_BoardStyle value; +} Opt_BoardStyle; +typedef struct Ark_BorderRadiuses { + Opt_Length topLeft; + Opt_Length topRight; + Opt_Length bottomLeft; + Opt_Length bottomRight; +} Ark_BorderRadiuses; +typedef struct Opt_BorderRadiuses { + Ark_Tag tag; + Ark_BorderRadiuses value; +} Opt_BorderRadiuses; +typedef struct Ark_BorderRadiusType { + Ark_Int32 selector; + union { + Ark_Length value0; + Ark_BorderRadiuses value1; + Ark_LocalizedBorderRadiuses value2; + }; +} Ark_BorderRadiusType; +typedef struct Opt_BorderRadiusType { + Ark_Tag tag; + Ark_BorderRadiusType value; +} Opt_BorderRadiusType; +typedef struct Ark_ButtonStyle { + Opt_Number left; + Opt_Number top; + Opt_Number width; + Opt_Number height; + Opt_ButtonIconOptions icons; +} Ark_ButtonStyle; +typedef struct Opt_ButtonStyle { + Ark_Tag tag; + Ark_ButtonStyle value; +} Opt_ButtonStyle; +typedef struct Ark_CaretStyle { + Opt_Length width; + Opt_ResourceColor color; +} Ark_CaretStyle; +typedef struct Opt_CaretStyle { + Ark_Tag tag; + Ark_CaretStyle value; +} Opt_CaretStyle; +typedef struct Ark_ChainAnimationOptions { + Ark_Length minSpace; + Ark_Length maxSpace; + Opt_Number conductivity; + Opt_Number intensity; + Opt_ChainEdgeEffect edgeEffect; + Opt_Number stiffness; + Opt_Number damping; +} Ark_ChainAnimationOptions; +typedef struct Opt_ChainAnimationOptions { + Ark_Tag tag; + Ark_ChainAnimationOptions value; +} Opt_ChainAnimationOptions; +typedef struct Ark_ColorStop { + Ark_ResourceColor color; + Ark_Length offset; +} Ark_ColorStop; +typedef struct Opt_ColorStop { + Ark_Tag tag; + Ark_ColorStop value; +} Opt_ColorStop; +typedef struct Ark_ColumnSplitDividerStyle { + Opt_Dimension startMargin; + Opt_Dimension endMargin; +} Ark_ColumnSplitDividerStyle; +typedef struct Opt_ColumnSplitDividerStyle { + Ark_Tag tag; + Ark_ColumnSplitDividerStyle value; +} Opt_ColumnSplitDividerStyle; +typedef struct Ark_ConstraintSizeOptions { + Opt_Length minWidth; + Opt_Length maxWidth; + Opt_Length minHeight; + Opt_Length maxHeight; +} Ark_ConstraintSizeOptions; +typedef struct Opt_ConstraintSizeOptions { + Ark_Tag tag; + Ark_ConstraintSizeOptions value; +} Opt_ConstraintSizeOptions; +typedef struct Ark_CustomTheme { + Opt_CustomColors colors; +} Ark_CustomTheme; +typedef struct Opt_CustomTheme { + Ark_Tag tag; + Ark_CustomTheme value; +} Opt_CustomTheme; +typedef struct Ark_DividerOptions { + Opt_Dimension strokeWidth; + Opt_ResourceColor color; + Opt_Dimension startMargin; + Opt_Dimension endMargin; +} Ark_DividerOptions; +typedef struct Opt_DividerOptions { + Ark_Tag tag; + Ark_DividerOptions value; +} Opt_DividerOptions; +typedef struct Ark_DividerStyle { + Ark_Length strokeWidth; + Opt_ResourceColor color; + Opt_Length startMargin; + Opt_Length endMargin; +} Ark_DividerStyle; +typedef struct Opt_DividerStyle { + Ark_Tag tag; + Ark_DividerStyle value; +} Opt_DividerStyle; +typedef struct Ark_DotIndicator { + Opt_Length _left; + Opt_Length _top; + Opt_Length _right; + Opt_Length _bottom; + Opt_LengthMetrics _start; + Opt_LengthMetrics _end; + Opt_Length _itemWidth; + Opt_Length _itemHeight; + Opt_Length _selectedItemWidth; + Opt_Length _selectedItemHeight; + Opt_Boolean _mask; + Opt_ResourceColor _color; + Opt_ResourceColor _selectedColor; + Opt_Number _maxDisplayCount; + Opt_LengthMetrics _space; +} Ark_DotIndicator; +typedef struct Opt_DotIndicator { + Ark_Tag tag; + Ark_DotIndicator value; +} Opt_DotIndicator; +typedef struct Ark_EdgeOutlineWidths { + Opt_Dimension top; + Opt_Dimension right; + Opt_Dimension bottom; + Opt_Dimension left; +} Ark_EdgeOutlineWidths; +typedef struct Opt_EdgeOutlineWidths { + Ark_Tag tag; + Ark_EdgeOutlineWidths value; +} Opt_EdgeOutlineWidths; +typedef struct Ark_Edges { + Opt_Dimension top; + Opt_Dimension left; + Opt_Dimension bottom; + Opt_Dimension right; +} Ark_Edges; +typedef struct Opt_Edges { + Ark_Tag tag; + Ark_Edges value; +} Opt_Edges; +typedef struct Ark_EdgeWidths { + Opt_Length top; + Opt_Length right; + Opt_Length bottom; + Opt_Length left; +} Ark_EdgeWidths; +typedef struct Opt_EdgeWidths { + Ark_Tag tag; + Ark_EdgeWidths value; +} Opt_EdgeWidths; +typedef struct Ark_EditableTextChangeValue { + Ark_String content; + Opt_PreviewText previewText; + Opt_TextChangeOptions options; +} Ark_EditableTextChangeValue; +typedef struct Opt_EditableTextChangeValue { + Ark_Tag tag; + Ark_EditableTextChangeValue value; +} Opt_EditableTextChangeValue; +typedef struct Ark_FlexOptions { + Opt_FlexDirection direction; + Opt_FlexWrap wrap; + Opt_FlexAlign justifyContent; + Opt_ItemAlign alignItems; + Opt_FlexAlign alignContent; + Opt_FlexSpaceOptions space; +} Ark_FlexOptions; +typedef struct Opt_FlexOptions { + Ark_Tag tag; + Ark_FlexOptions value; +} Opt_FlexOptions; +typedef struct Ark_Font { + Opt_Length size; + Opt_Union_FontWeight_Number_String weight; + Opt_Union_String_Resource family; + Opt_FontStyle style; +} Ark_Font; +typedef struct Opt_Font { + Ark_Tag tag; + Ark_Font value; +} Opt_Font; +typedef struct Ark_GaugeIndicatorOptions { + Opt_ResourceStr icon; + Opt_Dimension space; +} Ark_GaugeIndicatorOptions; +typedef struct Opt_GaugeIndicatorOptions { + Ark_Tag tag; + Ark_GaugeIndicatorOptions value; +} Opt_GaugeIndicatorOptions; +typedef struct Ark_GridRowSizeOption { + Opt_Length xs; + Opt_Length sm; + Opt_Length md; + Opt_Length lg; + Opt_Length xl; + Opt_Length xxl; +} Ark_GridRowSizeOption; +typedef struct Opt_GridRowSizeOption { + Ark_Tag tag; + Ark_GridRowSizeOption value; +} Opt_GridRowSizeOption; +typedef struct Ark_GuideLinePosition { + Opt_Dimension start; + Opt_Dimension end; +} Ark_GuideLinePosition; +typedef struct Opt_GuideLinePosition { + Ark_Tag tag; + Ark_GuideLinePosition value; +} Opt_GuideLinePosition; +typedef struct Ark_GuideLineStyle { + Ark_String id; + Ark_Axis direction; + Ark_GuideLinePosition position; +} Ark_GuideLineStyle; +typedef struct Opt_GuideLineStyle { + Ark_Tag tag; + Ark_GuideLineStyle value; +} Opt_GuideLineStyle; +typedef struct Ark_IconOptions { + Opt_Length size; + Opt_ResourceColor color; + Opt_ResourceStr src; +} Ark_IconOptions; +typedef struct Opt_IconOptions { + Ark_Tag tag; + Ark_IconOptions value; +} Opt_IconOptions; +typedef struct Ark_IndicatorStyle { + Opt_Length height; + Opt_Length width; + Opt_Length borderRadius; + Opt_Length marginTop; + Opt_ResourceColor color; + Opt_ResourceColor selectedColor; + Opt_Length left; + Opt_Length top; + Opt_Length right; + Opt_Length bottom; + Opt_Length size; + Opt_Boolean mask; +} Ark_IndicatorStyle; +typedef struct Opt_IndicatorStyle { + Ark_Tag tag; + Ark_IndicatorStyle value; +} Opt_IndicatorStyle; +typedef struct Ark_LeadingMarginPlaceholder { + Ark_PixelMap pixelMap; + Ark_Tuple_Dimension_Dimension size; +} Ark_LeadingMarginPlaceholder; +typedef struct Opt_LeadingMarginPlaceholder { + Ark_Tag tag; + Ark_LeadingMarginPlaceholder value; +} Opt_LeadingMarginPlaceholder; +typedef struct Ark_LinearStyleOptions { + Opt_Boolean enableScanEffect; + Opt_Length strokeWidth; + Opt_Union_String_Number_Resource strokeRadius; +} Ark_LinearStyleOptions; +typedef struct Opt_LinearStyleOptions { + Ark_Tag tag; + Ark_LinearStyleOptions value; +} Opt_LinearStyleOptions; +typedef struct Ark_ListDividerOptions { + Ark_Length strokeWidth; + Opt_ResourceColor color; + Opt_Length startMargin; + Opt_Length endMargin; +} Ark_ListDividerOptions; +typedef struct Opt_ListDividerOptions { + Ark_Tag tag; + Ark_ListDividerOptions value; +} Opt_ListDividerOptions; +typedef struct Ark_MarkStyle { + Opt_ResourceColor strokeColor; + Opt_Length size; + Opt_Length strokeWidth; +} Ark_MarkStyle; +typedef struct Opt_MarkStyle { + Ark_Tag tag; + Ark_MarkStyle value; +} Opt_MarkStyle; +typedef struct Ark_MoreButtonOptions { + Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; +} Ark_MoreButtonOptions; +typedef struct Opt_MoreButtonOptions { + Ark_Tag tag; + Ark_MoreButtonOptions value; +} Opt_MoreButtonOptions; +typedef struct Ark_NavDestinationCustomTitle { + CustomNodeBuilder builder; + Ark_Union_TitleHeight_Length height; +} Ark_NavDestinationCustomTitle; +typedef struct Opt_NavDestinationCustomTitle { + Ark_Tag tag; + Ark_NavDestinationCustomTitle value; +} Opt_NavDestinationCustomTitle; +typedef struct Ark_NavigationCustomTitle { + CustomNodeBuilder builder; + Ark_Union_TitleHeight_Length height; +} Ark_NavigationCustomTitle; +typedef struct Opt_NavigationCustomTitle { + Ark_Tag tag; + Ark_NavigationCustomTitle value; +} Opt_NavigationCustomTitle; +typedef struct Ark_NavigationTitleOptions { + Opt_ResourceColor backgroundColor; + Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; + Opt_BarStyle barStyle; + Opt_LengthMetrics paddingStart; + Opt_LengthMetrics paddingEnd; + Opt_TextModifier mainTitleModifier; + Opt_TextModifier subTitleModifier; + Opt_Boolean enableHoverMode; +} Ark_NavigationTitleOptions; +typedef struct Opt_NavigationTitleOptions { + Ark_Tag tag; + Ark_NavigationTitleOptions value; +} Opt_NavigationTitleOptions; +typedef struct Ark_OffsetOptions { + Opt_Dimension xOffset; + Opt_Dimension yOffset; +} Ark_OffsetOptions; +typedef struct Opt_OffsetOptions { + Ark_Tag tag; + Ark_OffsetOptions value; +} Opt_OffsetOptions; +typedef struct Ark_OutlineRadiuses { + Opt_Dimension topLeft; + Opt_Dimension topRight; + Opt_Dimension bottomLeft; + Opt_Dimension bottomRight; +} Ark_OutlineRadiuses; +typedef struct Opt_OutlineRadiuses { + Ark_Tag tag; + Ark_OutlineRadiuses value; +} Opt_OutlineRadiuses; +typedef struct Ark_Padding { + Opt_Length top; + Opt_Length right; + Opt_Length bottom; + Opt_Length left; +} Ark_Padding; +typedef struct Opt_Padding { + Ark_Tag tag; + Ark_Padding value; +} Opt_Padding; +typedef struct Ark_PixelStretchEffectOptions { + Opt_Length top; + Opt_Length bottom; + Opt_Length left; + Opt_Length right; +} Ark_PixelStretchEffectOptions; +typedef struct Opt_PixelStretchEffectOptions { + Ark_Tag tag; + Ark_PixelStretchEffectOptions value; +} Opt_PixelStretchEffectOptions; +typedef struct Ark_PointLightStyle { + Opt_LightSource lightSource; + Opt_IlluminatedType illuminated; + Opt_Number bloom; +} Ark_PointLightStyle; +typedef struct Opt_PointLightStyle { + Ark_Tag tag; + Ark_PointLightStyle value; +} Opt_PointLightStyle; +typedef struct Ark_Position { + Opt_Length x; + Opt_Length y; +} Ark_Position; +typedef struct Opt_Position { + Ark_Tag tag; + Ark_Position value; +} Opt_Position; +typedef struct Ark_ProgressStyleOptions { + Opt_Boolean enableSmoothEffect; + Opt_Length strokeWidth; + Opt_Number scaleCount; + Opt_Length scaleWidth; +} Ark_ProgressStyleOptions; +typedef struct Opt_ProgressStyleOptions { + Ark_Tag tag; + Ark_ProgressStyleOptions value; +} Opt_ProgressStyleOptions; +typedef struct Ark_RadialGradientOptions { + Ark_Tuple_Length_Length center; + Ark_Length radius; + Array_Tuple_ResourceColor_Number colors; + Opt_Boolean repeating; +} Ark_RadialGradientOptions; +typedef struct Opt_RadialGradientOptions { + Ark_Tag tag; + Ark_RadialGradientOptions value; +} Opt_RadialGradientOptions; +typedef struct Ark_Rectangle { + Opt_Length x; + Opt_Length y; + Opt_Length width; + Opt_Length height; +} Ark_Rectangle; +typedef struct Opt_Rectangle { + Ark_Tag tag; + Ark_Rectangle value; +} Opt_Rectangle; +typedef struct Opt_RenderNode { + Ark_Tag tag; + Ark_RenderNode value; +} Opt_RenderNode; +typedef struct Ark_RichEditorSymbolSpanOptions { + Opt_Number offset; + Opt_RichEditorSymbolSpanStyle style; +} Ark_RichEditorSymbolSpanOptions; +typedef struct Opt_RichEditorSymbolSpanOptions { + Ark_Tag tag; + Ark_RichEditorSymbolSpanOptions value; +} Opt_RichEditorSymbolSpanOptions; +typedef struct Ark_RingStyleOptions { + Opt_Boolean enableScanEffect; + Opt_Length strokeWidth; + Opt_Boolean shadow; + Opt_ProgressStatus status; +} Ark_RingStyleOptions; +typedef struct Opt_RingStyleOptions { + Ark_Tag tag; + Ark_RingStyleOptions value; +} Opt_RingStyleOptions; +typedef struct Ark_ScrollableBarModeOptions { + Opt_Dimension margin; + Opt_LayoutStyle nonScrollableLayoutStyle; +} Ark_ScrollableBarModeOptions; +typedef struct Opt_ScrollableBarModeOptions { Ark_Tag tag; - Ark_Tuple_Dimension_Dimension value; -} Opt_Tuple_Dimension_Dimension; -typedef struct Ark_Tuple_Length_Length { - Ark_Union_String_Number_Resource value0; - Ark_Union_String_Number_Resource value1; -} Ark_Tuple_Length_Length; -typedef struct Opt_Tuple_Length_Length { + Ark_ScrollableBarModeOptions value; +} Opt_ScrollableBarModeOptions; +typedef struct Ark_ScrollSnapOptions { + Ark_ScrollSnapAlign snapAlign; + Opt_Union_Dimension_Array_Dimension snapPagination; + Opt_Boolean enableSnapToStart; + Opt_Boolean enableSnapToEnd; +} Ark_ScrollSnapOptions; +typedef struct Opt_ScrollSnapOptions { Ark_Tag tag; - Ark_Tuple_Length_Length value; -} Opt_Tuple_Length_Length; -typedef struct Ark_Tuple_Union_ResourceColor_LinearGradient_Number { - Ark_Union_ResourceColor_LinearGradient value0; - Ark_Number value1; -} Ark_Tuple_Union_ResourceColor_LinearGradient_Number; -typedef struct Opt_Tuple_Union_ResourceColor_LinearGradient_Number { + Ark_ScrollSnapOptions value; +} Opt_ScrollSnapOptions; +typedef struct Ark_SearchButtonOptions { + Opt_Length fontSize; + Opt_ResourceColor fontColor; + Opt_Boolean autoDisable; +} Ark_SearchButtonOptions; +typedef struct Opt_SearchButtonOptions { Ark_Tag tag; - Ark_Tuple_Union_ResourceColor_LinearGradient_Number value; -} Opt_Tuple_Union_ResourceColor_LinearGradient_Number; -typedef struct Ark_Type_CommonMethod_radialGradient_value { - Ark_Tuple_Length_Length center; - Ark_Union_Number_String radius; - Array_Tuple_ResourceColor_Number colors; - Opt_Boolean repeating; -} Ark_Type_CommonMethod_radialGradient_value; -typedef struct Opt_Type_CommonMethod_radialGradient_value { + Ark_SearchButtonOptions value; +} Opt_SearchButtonOptions; +typedef struct Ark_SizeOptions { + Opt_Length width; + Opt_Length height; +} Ark_SizeOptions; +typedef struct Opt_SizeOptions { Ark_Tag tag; - Ark_Type_CommonMethod_radialGradient_value value; -} Opt_Type_CommonMethod_radialGradient_value; -typedef struct Ark_Type_CommonMethod_sweepGradient_value { + Ark_SizeOptions value; +} Opt_SizeOptions; +typedef struct Ark_SweepGradientOptions { Ark_Tuple_Length_Length center; Opt_Union_Number_String start; Opt_Union_Number_String end; Opt_Union_Number_String rotation; Array_Tuple_ResourceColor_Number colors; Opt_Boolean repeating; -} Ark_Type_CommonMethod_sweepGradient_value; -typedef struct Opt_Type_CommonMethod_sweepGradient_value { +} Ark_SweepGradientOptions; +typedef struct Opt_SweepGradientOptions { + Ark_Tag tag; + Ark_SweepGradientOptions value; +} Opt_SweepGradientOptions; +typedef struct Ark_SwipeActionItem { + Opt_CustomNodeBuilder builder; + Opt_ComponentContent builderComponent; + Opt_Length actionAreaDistance; + Opt_Callback_Void onAction; + Opt_Callback_Void onEnterActionArea; + Opt_Callback_Void onExitActionArea; + Opt_Callback_SwipeActionState_Void onStateChange; +} Ark_SwipeActionItem; +typedef struct Opt_SwipeActionItem { Ark_Tag tag; - Ark_Type_CommonMethod_sweepGradient_value value; -} Opt_Type_CommonMethod_sweepGradient_value; + Ark_SwipeActionItem value; +} Opt_SwipeActionItem; +typedef struct Ark_text_TextStyle { + Opt_Decoration decoration; + Opt_common2D_Color color; + Opt_FontWeight fontWeight; + Opt_FontStyle fontStyle; + Opt_TextBaseline baseline; + Opt_Array_String fontFamilies; + Opt_Number fontSize; + Opt_Number letterSpacing; + Opt_Number wordSpacing; + Opt_Number heightScale; + Opt_Boolean halfLeading; + Opt_Boolean heightOnly; + Opt_String ellipsis; + Opt_EllipsisMode ellipsisMode; + Opt_String locale; + Opt_Number baselineShift; + Opt_Array_FontFeature fontFeatures; + Opt_Array_TextShadow textShadows; + Opt_RectStyle backgroundRect; + Opt_Array_FontVariation fontVariations; +} Ark_text_TextStyle; +typedef struct Opt_text_TextStyle { + Ark_Tag tag; + Ark_text_TextStyle value; +} Opt_text_TextStyle; +typedef struct Ark_TextDataDetectorConfig { + Array_TextDataDetectorType types; + Opt_Callback_String_Void onDetectResultUpdate; + Opt_ResourceColor color; + Opt_DecorationStyleInterface decoration; +} Ark_TextDataDetectorConfig; +typedef struct Opt_TextDataDetectorConfig { + Ark_Tag tag; + Ark_TextDataDetectorConfig value; +} Opt_TextDataDetectorConfig; +typedef struct Ark_TipsOptions { + Opt_Number appearingTime; + Opt_Number disappearingTime; + Opt_Number appearingTimeWithContinuousOperation; + Opt_Number disappearingTimeWithContinuousOperation; + Opt_Boolean enableArrow; + Opt_ArrowPointPosition arrowPointPosition; + Opt_Dimension arrowWidth; + Opt_Dimension arrowHeight; +} Ark_TipsOptions; +typedef struct Opt_TipsOptions { + Ark_Tag tag; + Ark_TipsOptions value; +} Opt_TipsOptions; typedef struct Ark_Type_NavDestinationAttribute_title_value { Ark_Int32 selector; union { @@ -15338,36 +17161,15 @@ typedef struct Opt_Type_NavigationAttribute_title_value { Ark_Tag tag; Ark_Type_NavigationAttribute_title_value value; } Opt_Type_NavigationAttribute_title_value; -typedef struct Ark_Type_XComponentInterface_callable0_value { - Ark_String id; - Ark_String type; - Opt_String libraryname; - Opt_XComponentController controller; -} Ark_Type_XComponentInterface_callable0_value; -typedef struct Opt_Type_XComponentInterface_callable0_value { - Ark_Tag tag; - Ark_Type_XComponentInterface_callable0_value value; -} Opt_Type_XComponentInterface_callable0_value; -typedef struct Ark_Type_XComponentInterface_callable1_value { - Ark_String id; - Ark_XComponentType type; - Opt_String libraryname; - Opt_XComponentController controller; -} Ark_Type_XComponentInterface_callable1_value; -typedef struct Opt_Type_XComponentInterface_callable1_value { - Ark_Tag tag; - Ark_Type_XComponentInterface_callable1_value value; -} Opt_Type_XComponentInterface_callable1_value; -typedef struct Ark_UnderlineColor { - Opt_ResourceColor typing; - Opt_ResourceColor normal; - Opt_ResourceColor error; - Opt_ResourceColor disable; -} Ark_UnderlineColor; -typedef struct Opt_UnderlineColor { +typedef struct Ark_Type_SheetOptions_detents { + Ark_Union_SheetSize_Length value0; + Opt_Union_SheetSize_Length value1; + Opt_Union_SheetSize_Length value2; +} Ark_Type_SheetOptions_detents; +typedef struct Opt_Type_SheetOptions_detents { Ark_Tag tag; - Ark_UnderlineColor value; -} Opt_UnderlineColor; + Ark_Type_SheetOptions_detents value; +} Opt_Type_SheetOptions_detents; typedef struct Ark_Union_Array_Rectangle_Rectangle { Ark_Int32 selector; union { @@ -15401,22 +17203,11 @@ typedef struct Opt_Union_BadgePosition_Position { Ark_Tag tag; Ark_Union_BadgePosition_Position value; } Opt_Union_BadgePosition_Position; -typedef struct Ark_Union_Boolean_Literal_ResourceColor_color { - Ark_Int32 selector; - union { - Ark_Boolean value0; - Ark_Literal_ResourceColor_color value1; - }; -} Ark_Union_Boolean_Literal_ResourceColor_color; -typedef struct Opt_Union_Boolean_Literal_ResourceColor_color { - Ark_Tag tag; - Ark_Union_Boolean_Literal_ResourceColor_color value; -} Opt_Union_Boolean_Literal_ResourceColor_color; typedef struct Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses { Ark_Int32 selector; union { Ark_BorderRadiuses value0; - Ark_Union_String_Number_Resource value1; + Ark_Length value1; Ark_LocalizedBorderRadiuses value2; }; } Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses; @@ -15435,21 +17226,10 @@ typedef struct Opt_Union_CustomBuilder_SwipeActionItem { Ark_Tag tag; Ark_Union_CustomBuilder_SwipeActionItem value; } Opt_Union_CustomBuilder_SwipeActionItem; -typedef struct Ark_Union_Dimension_Array_Dimension { - Ark_Int32 selector; - union { - Ark_Union_String_Number_Resource value0; - Array_Union_String_Number_Resource value1; - }; -} Ark_Union_Dimension_Array_Dimension; -typedef struct Opt_Union_Dimension_Array_Dimension { - Ark_Tag tag; - Ark_Union_Dimension_Array_Dimension value; -} Opt_Union_Dimension_Array_Dimension; typedef struct Ark_Union_Dimension_BorderRadiuses { Ark_Int32 selector; union { - Ark_Union_String_Number_Resource value0; + Ark_Dimension value0; Ark_BorderRadiuses value1; }; } Ark_Union_Dimension_BorderRadiuses; @@ -15460,7 +17240,7 @@ typedef struct Opt_Union_Dimension_BorderRadiuses { typedef struct Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses { Ark_Int32 selector; union { - Ark_Union_String_Number_Resource value0; + Ark_Dimension value0; Ark_BorderRadiuses value1; Ark_LocalizedBorderRadiuses value2; }; @@ -15472,7 +17252,7 @@ typedef struct Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses { typedef struct Ark_Union_Dimension_EdgeOutlineWidths { Ark_Int32 selector; union { - Ark_Union_String_Number_Resource value0; + Ark_Dimension value0; Ark_EdgeOutlineWidths value1; }; } Ark_Union_Dimension_EdgeOutlineWidths; @@ -15483,7 +17263,7 @@ typedef struct Opt_Union_Dimension_EdgeOutlineWidths { typedef struct Ark_Union_Dimension_EdgeWidths { Ark_Int32 selector; union { - Ark_Union_String_Number_Resource value0; + Ark_Dimension value0; Ark_EdgeWidths value1; }; } Ark_Union_Dimension_EdgeWidths; @@ -15494,7 +17274,7 @@ typedef struct Opt_Union_Dimension_EdgeWidths { typedef struct Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths { Ark_Int32 selector; union { - Ark_Union_String_Number_Resource value0; + Ark_Dimension value0; Ark_EdgeWidths value1; Ark_LocalizedEdgeWidths value2; }; @@ -15503,10 +17283,21 @@ typedef struct Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths { Ark_Tag tag; Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths value; } Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths; +typedef struct Ark_Union_Dimension_LeadingMarginPlaceholder { + Ark_Int32 selector; + union { + Ark_Dimension value0; + Ark_LeadingMarginPlaceholder value1; + }; +} Ark_Union_Dimension_LeadingMarginPlaceholder; +typedef struct Opt_Union_Dimension_LeadingMarginPlaceholder { + Ark_Tag tag; + Ark_Union_Dimension_LeadingMarginPlaceholder value; +} Opt_Union_Dimension_LeadingMarginPlaceholder; typedef struct Ark_Union_Dimension_Margin { Ark_Int32 selector; union { - Ark_Union_String_Number_Resource value0; + Ark_Dimension value0; Ark_Padding value1; }; } Ark_Union_Dimension_Margin; @@ -15514,21 +17305,10 @@ typedef struct Opt_Union_Dimension_Margin { Ark_Tag tag; Ark_Union_Dimension_Margin value; } Opt_Union_Dimension_Margin; -typedef struct Ark_Union_Dimension_OptionWidthMode { - Ark_Int32 selector; - union { - Ark_Union_String_Number_Resource value0; - Ark_OptionWidthMode value1; - }; -} Ark_Union_Dimension_OptionWidthMode; -typedef struct Opt_Union_Dimension_OptionWidthMode { - Ark_Tag tag; - Ark_Union_Dimension_OptionWidthMode value; -} Opt_Union_Dimension_OptionWidthMode; typedef struct Ark_Union_Dimension_OutlineRadiuses { Ark_Int32 selector; union { - Ark_Union_String_Number_Resource value0; + Ark_Dimension value0; Ark_OutlineRadiuses value1; }; } Ark_Union_Dimension_OutlineRadiuses; @@ -15536,34 +17316,11 @@ typedef struct Opt_Union_Dimension_OutlineRadiuses { Ark_Tag tag; Ark_Union_Dimension_OutlineRadiuses value; } Opt_Union_Dimension_OutlineRadiuses; -typedef struct Ark_Union_Dimension_PanelHeight { - Ark_Int32 selector; - union { - Ark_Union_String_Number_Resource value0; - Ark_PanelHeight value1; - }; -} Ark_Union_Dimension_PanelHeight; -typedef struct Opt_Union_Dimension_PanelHeight { - Ark_Tag tag; - Ark_Union_Dimension_PanelHeight value; -} Opt_Union_Dimension_PanelHeight; -typedef struct Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors { - Ark_Int32 selector; - union { - Ark_EdgeColors value0; - Ark_ResourceColor value1; - Ark_LocalizedEdgeColors value2; - }; -} Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors; -typedef struct Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors { - Ark_Tag tag; - Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors value; -} Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors; typedef struct Ark_Union_EdgeOutlineWidths_Dimension { Ark_Int32 selector; union { Ark_EdgeOutlineWidths value0; - Ark_Union_String_Number_Resource value1; + Ark_Dimension value1; }; } Ark_Union_EdgeOutlineWidths_Dimension; typedef struct Opt_Union_EdgeOutlineWidths_Dimension { @@ -15574,7 +17331,7 @@ typedef struct Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths { Ark_Int32 selector; union { Ark_EdgeWidths value0; - Ark_Union_String_Number_Resource value1; + Ark_Length value1; Ark_LocalizedEdgeWidths value2; }; } Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths; @@ -15608,7 +17365,7 @@ typedef struct Opt_Union_IconOptions_SymbolGlyphModifier { typedef struct Ark_Union_Length_BorderRadiuses { Ark_Int32 selector; union { - Ark_Union_String_Number_Resource value0; + Ark_Length value0; Ark_BorderRadiuses value1; }; } Ark_Union_Length_BorderRadiuses; @@ -15619,7 +17376,7 @@ typedef struct Opt_Union_Length_BorderRadiuses { typedef struct Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses { Ark_Int32 selector; union { - Ark_Union_String_Number_Resource value0; + Ark_Length value0; Ark_BorderRadiuses value1; Ark_LocalizedBorderRadiuses value2; }; @@ -15631,7 +17388,7 @@ typedef struct Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses { typedef struct Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths { Ark_Int32 selector; union { - Ark_Union_String_Number_Resource value0; + Ark_Length value0; Ark_EdgeWidths value1; Ark_LocalizedEdgeWidths value2; }; @@ -15643,7 +17400,7 @@ typedef struct Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths { typedef struct Ark_Union_Length_GridRowSizeOption { Ark_Int32 selector; union { - Ark_Union_String_Number_Resource value0; + Ark_Length value0; Ark_GridRowSizeOption value1; }; } Ark_Union_Length_GridRowSizeOption; @@ -15651,17 +17408,6 @@ typedef struct Opt_Union_Length_GridRowSizeOption { Ark_Tag tag; Ark_Union_Length_GridRowSizeOption value; } Opt_Union_Length_GridRowSizeOption; -typedef struct Ark_Union_Length_Number { - Ark_Int32 selector; - union { - Ark_Union_String_Number_Resource value0; - Ark_Number value1; - }; -} Ark_Union_Length_Number; -typedef struct Opt_Union_Length_Number { - Ark_Tag tag; - Ark_Union_Length_Number value; -} Opt_Union_Length_Number; typedef struct Ark_Union_LengthMetrics_BorderRadiuses { Ark_Int32 selector; union { @@ -15673,6 +17419,29 @@ typedef struct Opt_Union_LengthMetrics_BorderRadiuses { Ark_Tag tag; Ark_Union_LengthMetrics_BorderRadiuses value; } Opt_Union_LengthMetrics_BorderRadiuses; +typedef struct Ark_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses { + Ark_Int32 selector; + union { + Ark_LengthMetrics value0; + Ark_BorderRadiuses value1; + Ark_LocalizedBorderRadiuses value2; + }; +} Ark_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses; +typedef struct Opt_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses { + Ark_Tag tag; + Ark_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses value; +} Opt_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses; +typedef struct Ark_Union_LengthMetrics_LeadingMarginPlaceholder { + Ark_Int32 selector; + union { + Ark_LengthMetrics value0; + Ark_LeadingMarginPlaceholder value1; + }; +} Ark_Union_LengthMetrics_LeadingMarginPlaceholder; +typedef struct Opt_Union_LengthMetrics_LeadingMarginPlaceholder { + Ark_Tag tag; + Ark_Union_LengthMetrics_LeadingMarginPlaceholder value; +} Opt_Union_LengthMetrics_LeadingMarginPlaceholder; typedef struct Ark_Union_LengthMetrics_Margin { Ark_Int32 selector; union { @@ -15699,63 +17468,41 @@ typedef struct Ark_Union_Margin_Dimension { Ark_Int32 selector; union { Ark_Padding value0; - Ark_Union_String_Number_Resource value1; + Ark_Dimension value1; }; } Ark_Union_Margin_Dimension; typedef struct Opt_Union_Margin_Dimension { Ark_Tag tag; Ark_Union_Margin_Dimension value; -} Opt_Union_Margin_Dimension; -typedef struct Ark_Union_Margin_Length_LocalizedMargin { - Ark_Int32 selector; - union { - Ark_Padding value0; - Ark_Union_String_Number_Resource value1; - Ark_LocalizedPadding value2; - }; -} Ark_Union_Margin_Length_LocalizedMargin; -typedef struct Opt_Union_Margin_Length_LocalizedMargin { - Ark_Tag tag; - Ark_Union_Margin_Length_LocalizedMargin value; -} Opt_Union_Margin_Length_LocalizedMargin; -typedef struct Ark_Union_MenuItemOptions_CustomBuilder { - Ark_Int32 selector; - union { - Ark_MenuItemOptions value0; - CustomNodeBuilder value1; - }; -} Ark_Union_MenuItemOptions_CustomBuilder; -typedef struct Opt_Union_MenuItemOptions_CustomBuilder { - Ark_Tag tag; - Ark_Union_MenuItemOptions_CustomBuilder value; -} Opt_Union_MenuItemOptions_CustomBuilder; -typedef struct Ark_Union_NavDestinationContext_NavBar { +} Opt_Union_Margin_Dimension; +typedef struct Ark_Union_Margin_Length_LocalizedMargin { Ark_Int32 selector; union { - Ark_NavDestinationContext value0; - Ark_String value1; + Ark_Padding value0; + Ark_Length value1; + Ark_LocalizedPadding value2; }; -} Ark_Union_NavDestinationContext_NavBar; -typedef struct Opt_Union_NavDestinationContext_NavBar { +} Ark_Union_Margin_Length_LocalizedMargin; +typedef struct Opt_Union_Margin_Length_LocalizedMargin { Ark_Tag tag; - Ark_Union_NavDestinationContext_NavBar value; -} Opt_Union_NavDestinationContext_NavBar; -typedef struct Ark_Union_Number_LengthConstrain { + Ark_Union_Margin_Length_LocalizedMargin value; +} Opt_Union_Margin_Length_LocalizedMargin; +typedef struct Ark_Union_Number_LeadingMarginPlaceholder { Ark_Int32 selector; union { Ark_Number value0; - Ark_LengthConstrain value1; + Ark_LeadingMarginPlaceholder value1; }; -} Ark_Union_Number_LengthConstrain; -typedef struct Opt_Union_Number_LengthConstrain { +} Ark_Union_Number_LeadingMarginPlaceholder; +typedef struct Opt_Union_Number_LeadingMarginPlaceholder { Ark_Tag tag; - Ark_Union_Number_LengthConstrain value; -} Opt_Union_Number_LengthConstrain; + Ark_Union_Number_LeadingMarginPlaceholder value; +} Opt_Union_Number_LeadingMarginPlaceholder; typedef struct Ark_Union_OutlineRadiuses_Dimension { Ark_Int32 selector; union { Ark_OutlineRadiuses value0; - Ark_Union_String_Number_Resource value1; + Ark_Dimension value1; }; } Ark_Union_OutlineRadiuses_Dimension; typedef struct Opt_Union_OutlineRadiuses_Dimension { @@ -15766,7 +17513,7 @@ typedef struct Ark_Union_Padding_Dimension { Ark_Int32 selector; union { Ark_Padding value0; - Ark_Union_String_Number_Resource value1; + Ark_Dimension value1; }; } Ark_Union_Padding_Dimension; typedef struct Opt_Union_Padding_Dimension { @@ -15777,7 +17524,7 @@ typedef struct Ark_Union_Padding_Dimension_LocalizedPadding { Ark_Int32 selector; union { Ark_Padding value0; - Ark_Union_String_Number_Resource value1; + Ark_Dimension value1; Ark_LocalizedPadding value2; }; } Ark_Union_Padding_Dimension_LocalizedPadding; @@ -15789,7 +17536,7 @@ typedef struct Ark_Union_Padding_Length_LocalizedPadding { Ark_Int32 selector; union { Ark_Padding value0; - Ark_Union_String_Number_Resource value1; + Ark_Length value1; Ark_LocalizedPadding value2; }; } Ark_Union_Padding_Length_LocalizedPadding; @@ -15843,106 +17590,6 @@ typedef struct Opt_Union_Position_LocalizedPosition { Ark_Tag tag; Ark_Union_Position_LocalizedPosition value; } Opt_Union_Position_LocalizedPosition; -typedef struct Ark_Union_RectOptions_RoundedRectOptions { - Ark_Int32 selector; - union { - Ark_RectOptions value0; - Ark_RoundedRectOptions value1; - }; -} Ark_Union_RectOptions_RoundedRectOptions; -typedef struct Opt_Union_RectOptions_RoundedRectOptions { - Ark_Tag tag; - Ark_Union_RectOptions_RoundedRectOptions value; -} Opt_Union_RectOptions_RoundedRectOptions; -typedef struct Ark_Union_RectShapeOptions_RoundRectShapeOptions { - Ark_Int32 selector; - union { - Ark_RectShapeOptions value0; - Ark_RoundRectShapeOptions value1; - }; -} Ark_Union_RectShapeOptions_RoundRectShapeOptions; -typedef struct Opt_Union_RectShapeOptions_RoundRectShapeOptions { - Ark_Tag tag; - Ark_Union_RectShapeOptions_RoundRectShapeOptions value; -} Opt_Union_RectShapeOptions_RoundRectShapeOptions; -typedef struct Ark_Union_ResourceColor_EdgeColors { - Ark_Int32 selector; - union { - Ark_ResourceColor value0; - Ark_EdgeColors value1; - }; -} Ark_Union_ResourceColor_EdgeColors; -typedef struct Opt_Union_ResourceColor_EdgeColors { - Ark_Tag tag; - Ark_Union_ResourceColor_EdgeColors value; -} Opt_Union_ResourceColor_EdgeColors; -typedef struct Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors { - Ark_Int32 selector; - union { - Ark_ResourceColor value0; - Ark_EdgeColors value1; - Ark_LocalizedEdgeColors value2; - }; -} Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors; -typedef struct Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors { - Ark_Tag tag; - Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value; -} Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors; -typedef struct Ark_Union_ResourceColor_UnderlineColor { - Ark_Int32 selector; - union { - Ark_ResourceColor value0; - Ark_UnderlineColor value1; - }; -} Ark_Union_ResourceColor_UnderlineColor; -typedef struct Opt_Union_ResourceColor_UnderlineColor { - Ark_Tag tag; - Ark_Union_ResourceColor_UnderlineColor value; -} Opt_Union_ResourceColor_UnderlineColor; -typedef struct Ark_Union_ShadowOptions_Array_ShadowOptions { - Ark_Int32 selector; - union { - Ark_ShadowOptions value0; - Array_ShadowOptions value1; - }; -} Ark_Union_ShadowOptions_Array_ShadowOptions; -typedef struct Opt_Union_ShadowOptions_Array_ShadowOptions { - Ark_Tag tag; - Ark_Union_ShadowOptions_Array_ShadowOptions value; -} Opt_Union_ShadowOptions_Array_ShadowOptions; -typedef struct Ark_Union_ShadowOptions_ShadowStyle { - Ark_Int32 selector; - union { - Ark_ShadowOptions value0; - Ark_ShadowStyle value1; - }; -} Ark_Union_ShadowOptions_ShadowStyle; -typedef struct Opt_Union_ShadowOptions_ShadowStyle { - Ark_Tag tag; - Ark_Union_ShadowOptions_ShadowStyle value; -} Opt_Union_ShadowOptions_ShadowStyle; -typedef struct Ark_Union_SheetSize_Length { - Ark_Int32 selector; - union { - Ark_SheetSize value0; - Ark_Union_String_Number_Resource value1; - }; -} Ark_Union_SheetSize_Length; -typedef struct Opt_Union_SheetSize_Length { - Ark_Tag tag; - Ark_Union_SheetSize_Length value; -} Opt_Union_SheetSize_Length; -typedef struct Ark_Union_SheetTitleOptions_CustomBuilder { - Ark_Int32 selector; - union { - Ark_SheetTitleOptions value0; - CustomNodeBuilder value1; - }; -} Ark_Union_SheetTitleOptions_CustomBuilder; -typedef struct Opt_Union_SheetTitleOptions_CustomBuilder { - Ark_Tag tag; - Ark_Union_SheetTitleOptions_CustomBuilder value; -} Opt_Union_SheetTitleOptions_CustomBuilder; typedef struct Ark_Union_SizeOptions_ImageSize { Ark_Int32 selector; union { @@ -15954,30 +17601,6 @@ typedef struct Opt_Union_SizeOptions_ImageSize { Ark_Tag tag; Ark_Union_SizeOptions_ImageSize value; } Opt_Union_SizeOptions_ImageSize; -typedef struct Ark_Union_String_Resource_CustomBuilder_TabBarOptions { - Ark_Int32 selector; - union { - Ark_String value0; - Ark_Resource value1; - CustomNodeBuilder value2; - Ark_TabBarOptions value3; - }; -} Ark_Union_String_Resource_CustomBuilder_TabBarOptions; -typedef struct Opt_Union_String_Resource_CustomBuilder_TabBarOptions { - Ark_Tag tag; - Ark_Union_String_Resource_CustomBuilder_TabBarOptions value; -} Opt_Union_String_Resource_CustomBuilder_TabBarOptions; -typedef struct Ark_Union_TransitionOptions_TransitionEffect { - Ark_Int32 selector; - union { - Ark_TransitionOptions value0; - Ark_TransitionEffect value1; - }; -} Ark_Union_TransitionOptions_TransitionEffect; -typedef struct Opt_Union_TransitionOptions_TransitionEffect { - Ark_Tag tag; - Ark_Union_TransitionOptions_TransitionEffect value; -} Opt_Union_TransitionOptions_TransitionEffect; typedef struct Ark_Union_Union_Padding_Dimension_LocalizedPadding { Ark_Int32 selector; union { @@ -15989,52 +17612,6 @@ typedef struct Opt_Union_Union_Padding_Dimension_LocalizedPadding { Ark_Tag tag; Ark_Union_Union_Padding_Dimension_LocalizedPadding value; } Opt_Union_Union_Padding_Dimension_LocalizedPadding; -typedef struct Ark_VideoOptions { - Opt_Union_String_Resource src; - Opt_Union_Number_String_PlaybackSpeed currentProgressRate; - Opt_Union_String_PixelMap_Resource previewUri; - Opt_VideoController controller; - Opt_ImageAIOptions imageAIOptions; -} Ark_VideoOptions; -typedef struct Opt_VideoOptions { - Ark_Tag tag; - Ark_VideoOptions value; -} Opt_VideoOptions; -typedef struct Ark_WeekStyle { - Opt_ResourceColor weekColor; - Opt_ResourceColor weekendDayColor; - Opt_ResourceColor weekendLunarColor; - Opt_Number weekFontSize; - Opt_Number weekHeight; - Opt_Number weekWidth; - Opt_Number weekAndDayRowSpace; -} Ark_WeekStyle; -typedef struct Opt_WeekStyle { - Ark_Tag tag; - Ark_WeekStyle value; -} Opt_WeekStyle; -typedef struct Ark_WorkStateStyle { - Opt_ResourceColor workDayMarkColor; - Opt_ResourceColor offDayMarkColor; - Opt_Number workDayMarkSize; - Opt_Number offDayMarkSize; - Opt_Number workStateWidth; - Opt_Number workStateHorizontalMovingDistance; - Opt_Number workStateVerticalMovingDistance; -} Ark_WorkStateStyle; -typedef struct Opt_WorkStateStyle { - Ark_Tag tag; - Ark_WorkStateStyle value; -} Opt_WorkStateStyle; -typedef struct Ark_XComponentOptions { - Ark_XComponentType type; - Ark_XComponentController controller; - Opt_ImageAIOptions imageAIOptions; -} Ark_XComponentOptions; -typedef struct Opt_XComponentOptions { - Ark_Tag tag; - Ark_XComponentOptions value; -} Opt_XComponentOptions; typedef struct Ark_ActionSheetOptions { Ark_Union_String_Resource title; Opt_ResourceStr subtitle; @@ -16050,17 +17627,27 @@ typedef struct Ark_ActionSheetOptions { Opt_Boolean isModal; Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; Opt_Callback_DismissDialogAction_Void onWillDismiss; Opt_TransitionEffect transition; Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius; - Opt_Union_String_Number_Resource width; - Opt_Union_String_Number_Resource height; + Opt_Dimension width; + Opt_Dimension height; Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth; Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor; Opt_Union_BorderStyle_EdgeStyles borderStyle; Opt_Union_ShadowOptions_ShadowStyle shadow; Opt_Boolean enableHoverMode; Opt_HoverModeAreaType hoverModeArea; + Opt_Callback_Void onDidAppear; + Opt_Callback_Void onDidDisappear; + Opt_Callback_Void onWillAppear; + Opt_Callback_Void onWillDisappear; + Opt_LevelMode levelMode; + Opt_Number levelUniqueId; + Opt_ImmersiveMode immersiveMode; + Opt_LevelOrder levelOrder; } Ark_ActionSheetOptions; typedef struct Opt_ActionSheetOptions { Ark_Tag tag; @@ -16080,11 +17667,13 @@ typedef struct Ark_AlertDialogParamWithButtons { Opt_Boolean isModal; Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; Opt_Callback_DismissDialogAction_Void onWillDismiss; Opt_TransitionEffect transition; Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius; - Opt_Union_String_Number_Resource width; - Opt_Union_String_Number_Resource height; + Opt_Dimension width; + Opt_Dimension height; Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth; Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor; Opt_Union_BorderStyle_EdgeStyles borderStyle; @@ -16092,6 +17681,14 @@ typedef struct Ark_AlertDialogParamWithButtons { Opt_TextStyle_alert_dialog textStyle; Opt_Boolean enableHoverMode; Opt_HoverModeAreaType hoverModeArea; + Opt_Callback_Void onDidAppear; + Opt_Callback_Void onDidDisappear; + Opt_Callback_Void onWillAppear; + Opt_Callback_Void onWillDisappear; + Opt_LevelMode levelMode; + Opt_Number levelUniqueId; + Opt_ImmersiveMode immersiveMode; + Opt_LevelOrder levelOrder; Ark_AlertDialogButtonBaseOptions primaryButton; Ark_AlertDialogButtonBaseOptions secondaryButton; } Ark_AlertDialogParamWithButtons; @@ -16113,11 +17710,13 @@ typedef struct Ark_AlertDialogParamWithConfirm { Opt_Boolean isModal; Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; Opt_Callback_DismissDialogAction_Void onWillDismiss; Opt_TransitionEffect transition; Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius; - Opt_Union_String_Number_Resource width; - Opt_Union_String_Number_Resource height; + Opt_Dimension width; + Opt_Dimension height; Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth; Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor; Opt_Union_BorderStyle_EdgeStyles borderStyle; @@ -16125,6 +17724,14 @@ typedef struct Ark_AlertDialogParamWithConfirm { Opt_TextStyle_alert_dialog textStyle; Opt_Boolean enableHoverMode; Opt_HoverModeAreaType hoverModeArea; + Opt_Callback_Void onDidAppear; + Opt_Callback_Void onDidDisappear; + Opt_Callback_Void onWillAppear; + Opt_Callback_Void onWillDisappear; + Opt_LevelMode levelMode; + Opt_Number levelUniqueId; + Opt_ImmersiveMode immersiveMode; + Opt_LevelOrder levelOrder; Opt_AlertDialogButtonBaseOptions confirm; } Ark_AlertDialogParamWithConfirm; typedef struct Opt_AlertDialogParamWithConfirm { @@ -16145,11 +17752,13 @@ typedef struct Ark_AlertDialogParamWithOptions { Opt_Boolean isModal; Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; Opt_Callback_DismissDialogAction_Void onWillDismiss; Opt_TransitionEffect transition; Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius; - Opt_Union_String_Number_Resource width; - Opt_Union_String_Number_Resource height; + Opt_Dimension width; + Opt_Dimension height; Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth; Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor; Opt_Union_BorderStyle_EdgeStyles borderStyle; @@ -16157,6 +17766,14 @@ typedef struct Ark_AlertDialogParamWithOptions { Opt_TextStyle_alert_dialog textStyle; Opt_Boolean enableHoverMode; Opt_HoverModeAreaType hoverModeArea; + Opt_Callback_Void onDidAppear; + Opt_Callback_Void onDidDisappear; + Opt_Callback_Void onWillAppear; + Opt_Callback_Void onWillDisappear; + Opt_LevelMode levelMode; + Opt_Number levelUniqueId; + Opt_ImmersiveMode immersiveMode; + Opt_LevelOrder levelOrder; Array_AlertDialogButtonOptions buttons; Opt_DialogButtonDirection buttonDirection; } Ark_AlertDialogParamWithOptions; @@ -16165,8 +17782,8 @@ typedef struct Opt_AlertDialogParamWithOptions { Ark_AlertDialogParamWithOptions value; } Opt_AlertDialogParamWithOptions; typedef struct Ark_Area { - Ark_Union_String_Number_Resource width; - Ark_Union_String_Number_Resource height; + Ark_Length width; + Ark_Length height; Ark_Position position; Ark_Position globalPosition; } Ark_Area; @@ -16217,17 +17834,6 @@ typedef struct Opt_BorderOptions { Ark_Tag tag; Ark_BorderOptions value; } Opt_BorderOptions; -typedef struct Ark_ButtonStyle { - Opt_Number left; - Opt_Number top; - Opt_Number width; - Opt_Number height; - Opt_ButtonIconOptions icons; -} Ark_ButtonStyle; -typedef struct Opt_ButtonStyle { - Ark_Tag tag; - Ark_ButtonStyle value; -} Opt_ButtonStyle; typedef struct Ark_CancelButtonOptions { Opt_CancelButtonStyle style; Opt_IconOptions icon; @@ -16239,11 +17845,12 @@ typedef struct Opt_CancelButtonOptions { typedef struct Ark_CapsuleStyleOptions { Opt_Boolean enableScanEffect; Opt_ResourceColor borderColor; - Opt_Union_String_Number_Resource borderWidth; + Opt_Length borderWidth; Opt_String content; Opt_Font font; Opt_ResourceColor fontColor; Opt_Boolean showDefaultPercentage; + Opt_LengthMetrics borderRadius; } Ark_CapsuleStyleOptions; typedef struct Opt_CapsuleStyleOptions { Ark_Tag tag; @@ -16253,8 +17860,9 @@ typedef struct Ark_ContextMenuOptions { Opt_Position offset; Opt_Placement placement; Opt_Boolean enableArrow; - Opt_Union_String_Number_Resource arrowOffset; + Opt_Length arrowOffset; Opt_Union_MenuPreviewMode_CustomBuilder preview; + Opt_BorderRadiusType previewBorderRadius; Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses borderRadius; Opt_Callback_Void onAppear; Opt_Callback_Void onDisappear; @@ -16264,8 +17872,13 @@ typedef struct Ark_ContextMenuOptions { Opt_ContextMenuAnimationOptions previewAnimationOptions; Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; Opt_TransitionEffect transition; Opt_Boolean enableHoverMode; + Opt_Union_ResourceColor_EdgeColors outlineColor; + Opt_Union_Dimension_EdgeOutlineWidths outlineWidth; + Opt_HapticFeedbackMode hapticFeedbackMode; } Ark_ContextMenuOptions; typedef struct Opt_ContextMenuOptions { Ark_Tag tag; @@ -16288,16 +17901,28 @@ typedef struct Ark_CustomDialogControllerOptions { Opt_Union_Dimension_BorderRadiuses cornerRadius; Opt_Boolean isModal; Opt_Callback_DismissDialogAction_Void onWillDismiss; - Opt_Union_String_Number_Resource width; - Opt_Union_String_Number_Resource height; + Opt_Dimension width; + Opt_Dimension height; Opt_Union_Dimension_EdgeWidths borderWidth; Opt_Union_ResourceColor_EdgeColors borderColor; Opt_Union_BorderStyle_EdgeStyles borderStyle; Opt_Union_ShadowOptions_ShadowStyle shadow; Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; Opt_KeyboardAvoidMode keyboardAvoidMode; Opt_Boolean enableHoverMode; Opt_HoverModeAreaType hoverModeArea; + Opt_Callback_Void onDidAppear; + Opt_Callback_Void onDidDisappear; + Opt_Callback_Void onWillAppear; + Opt_Callback_Void onWillDisappear; + Opt_LengthMetrics keyboardAvoidDistance; + Opt_LevelMode levelMode; + Opt_Number levelUniqueId; + Opt_ImmersiveMode immersiveMode; + Opt_LevelOrder levelOrder; + Opt_Boolean focusable; } Ark_CustomDialogControllerOptions; typedef struct Opt_CustomDialogControllerOptions { Ark_Tag tag; @@ -16311,16 +17936,16 @@ typedef struct Ark_CustomPopupOptions { Opt_Boolean enableArrow; Opt_Boolean autoCancel; Opt_Callback_Literal_Boolean_isVisible_Void onStateChange; - Opt_Union_String_Number_Resource arrowOffset; + Opt_Length arrowOffset; Opt_Boolean showInSubWindow; Opt_Union_Boolean_Literal_ResourceColor_color mask; - Opt_Union_String_Number_Resource targetSpace; + Opt_Length targetSpace; Opt_Position offset; - Opt_Union_String_Number_Resource width; + Opt_Dimension width; Opt_ArrowPointPosition arrowPointPosition; - Opt_Union_String_Number_Resource arrowWidth; - Opt_Union_String_Number_Resource arrowHeight; - Opt_Union_String_Number_Resource radius; + Opt_Dimension arrowWidth; + Opt_Dimension arrowHeight; + Opt_Dimension radius; Opt_Union_ShadowOptions_ShadowStyle shadow; Opt_BlurStyle backgroundBlurStyle; Opt_Boolean focusable; @@ -16328,23 +17953,17 @@ typedef struct Ark_CustomPopupOptions { Opt_Union_Boolean_Callback_DismissPopupAction_Void onWillDismiss; Opt_Boolean enableHoverMode; Opt_Boolean followTransformOfTarget; + Opt_KeyboardAvoidMode keyboardAvoidMode; } Ark_CustomPopupOptions; typedef struct Opt_CustomPopupOptions { Ark_Tag tag; Ark_CustomPopupOptions value; } Opt_CustomPopupOptions; -typedef struct Ark_CustomTheme { - Opt_CustomColors colors; -} Ark_CustomTheme; -typedef struct Opt_CustomTheme { - Ark_Tag tag; - Ark_CustomTheme value; -} Opt_CustomTheme; typedef struct Ark_DigitIndicator { - Opt_Union_String_Number_Resource _left; - Opt_Union_String_Number_Resource _top; - Opt_Union_String_Number_Resource _right; - Opt_Union_String_Number_Resource _bottom; + Opt_Length _left; + Opt_Length _top; + Opt_Length _right; + Opt_Length _bottom; Opt_LengthMetrics _start; Opt_LengthMetrics _end; Opt_ResourceColor _fontColor; @@ -16358,23 +17977,16 @@ typedef struct Opt_DigitIndicator { } Opt_DigitIndicator; typedef struct Ark_EventTarget { Ark_Area area; + Opt_String id; } Ark_EventTarget; typedef struct Opt_EventTarget { Ark_Tag tag; Ark_EventTarget value; } Opt_EventTarget; -typedef struct Ark_FlexOptions { - Opt_FlexDirection direction; - Opt_FlexWrap wrap; - Opt_FlexAlign justifyContent; - Opt_ItemAlign alignItems; - Opt_FlexAlign alignContent; - Opt_FlexSpaceOptions space; -} Ark_FlexOptions; -typedef struct Opt_FlexOptions { +typedef struct Opt_FocusAxisEvent { Ark_Tag tag; - Ark_FlexOptions value; -} Opt_FlexOptions; + Ark_FocusAxisEvent value; +} Opt_FocusAxisEvent; typedef struct Opt_GestureEvent { Ark_Tag tag; Ark_GestureEvent value; @@ -16410,18 +18022,10 @@ typedef struct Ark_LabelStyle { Opt_ResourceColor selectedColor; Opt_ResourceColor unselectedColor; } Ark_LabelStyle; -typedef struct Opt_LabelStyle { - Ark_Tag tag; - Ark_LabelStyle value; -} Opt_LabelStyle; -typedef struct Ark_LeadingMarginPlaceholder { - Ark_PixelMap pixelMap; - Ark_Tuple_Dimension_Dimension size; -} Ark_LeadingMarginPlaceholder; -typedef struct Opt_LeadingMarginPlaceholder { +typedef struct Opt_LabelStyle { Ark_Tag tag; - Ark_LeadingMarginPlaceholder value; -} Opt_LeadingMarginPlaceholder; + Ark_LabelStyle value; +} Opt_LabelStyle; typedef struct Opt_LongPressGestureEvent { Ark_Tag tag; Ark_LongPressGestureEvent value; @@ -16430,8 +18034,9 @@ typedef struct Ark_MenuOptions { Opt_Position offset; Opt_Placement placement; Opt_Boolean enableArrow; - Opt_Union_String_Number_Resource arrowOffset; + Opt_Length arrowOffset; Opt_Union_MenuPreviewMode_CustomBuilder preview; + Opt_BorderRadiusType previewBorderRadius; Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses borderRadius; Opt_Callback_Void onAppear; Opt_Callback_Void onDisappear; @@ -16441,8 +18046,13 @@ typedef struct Ark_MenuOptions { Opt_ContextMenuAnimationOptions previewAnimationOptions; Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; Opt_TransitionEffect transition; Opt_Boolean enableHoverMode; + Opt_Union_ResourceColor_EdgeColors outlineColor; + Opt_Union_Dimension_EdgeOutlineWidths outlineWidth; + Opt_HapticFeedbackMode hapticFeedbackMode; Opt_ResourceStr title; Opt_Boolean showInSubWindow; } Ark_MenuOptions; @@ -16450,6 +18060,14 @@ typedef struct Opt_MenuOptions { Ark_Tag tag; Ark_MenuOptions value; } Opt_MenuOptions; +typedef struct Ark_MenuOutlineOptions { + Opt_Union_Dimension_EdgeOutlineWidths width; + Opt_Union_ResourceColor_EdgeColors color; +} Ark_MenuOutlineOptions; +typedef struct Opt_MenuOutlineOptions { + Ark_Tag tag; + Ark_MenuOutlineOptions value; +} Opt_MenuOutlineOptions; typedef struct Opt_MouseEvent { Ark_Tag tag; Ark_MouseEvent value; @@ -16469,6 +18087,26 @@ typedef struct Opt_NativeEmbedInfo { Ark_Tag tag; Ark_NativeEmbedInfo value; } Opt_NativeEmbedInfo; +typedef struct Ark_NavigationMenuOptions { + Opt_MoreButtonOptions moreButtonOptions; +} Ark_NavigationMenuOptions; +typedef struct Opt_NavigationMenuOptions { + Ark_Tag tag; + Ark_NavigationMenuOptions value; +} Opt_NavigationMenuOptions; +typedef struct Ark_NavigationToolbarOptions { + Opt_ResourceColor backgroundColor; + Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; + Opt_MoreButtonOptions moreButtonOptions; + Opt_BarStyle barStyle; + Opt_Boolean hideItemValue; +} Ark_NavigationToolbarOptions; +typedef struct Opt_NavigationToolbarOptions { + Ark_Tag tag; + Ark_NavigationToolbarOptions value; +} Opt_NavigationToolbarOptions; typedef struct Ark_OutlineOptions { Opt_Union_EdgeOutlineWidths_Dimension width; Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors color; @@ -16483,11 +18121,28 @@ typedef struct Opt_PanGestureEvent { Ark_Tag tag; Ark_PanGestureEvent value; } Opt_PanGestureEvent; +typedef struct Opt_ParagraphStyle { + Ark_Tag tag; + Ark_ParagraphStyle value; +} Opt_ParagraphStyle; +typedef struct Ark_ParagraphStyleInterface { + Opt_TextAlign textAlign; + Opt_LengthMetrics textIndent; + Opt_Number maxLines; + Opt_TextOverflow overflow; + Opt_WordBreak wordBreak; + Opt_Union_LengthMetrics_LeadingMarginPlaceholder leadingMargin; + Opt_LengthMetrics paragraphSpacing; +} Ark_ParagraphStyleInterface; +typedef struct Opt_ParagraphStyleInterface { + Ark_Tag tag; + Ark_ParagraphStyleInterface value; +} Opt_ParagraphStyleInterface; typedef struct Ark_PickerDialogButtonStyle { Opt_ButtonType type; Opt_ButtonStyleMode style; Opt_ButtonRole role; - Opt_Union_String_Number_Resource fontSize; + Opt_Length fontSize; Opt_ResourceColor fontColor; Opt_Union_FontWeight_Number_String fontWeight; Opt_FontStyle fontStyle; @@ -16520,15 +18175,6 @@ typedef struct Opt_PlaceholderStyle { Ark_Tag tag; Ark_PlaceholderStyle value; } Opt_PlaceholderStyle; -typedef struct Ark_PointLightStyle { - Opt_LightSource lightSource; - Opt_IlluminatedType illuminated; - Opt_Number bloom; -} Ark_PointLightStyle; -typedef struct Opt_PointLightStyle { - Ark_Tag tag; - Ark_PointLightStyle value; -} Opt_PointLightStyle; typedef struct Ark_PopupMessageOptions { Opt_ResourceColor textColor; Opt_Font font; @@ -16553,65 +18199,95 @@ typedef struct Opt_RichEditorLayoutStyle { Ark_Tag tag; Ark_RichEditorLayoutStyle value; } Opt_RichEditorLayoutStyle; -typedef struct Ark_RichEditorSymbolSpanOptions { - Opt_Number offset; - Opt_RichEditorSymbolSpanStyle style; -} Ark_RichEditorSymbolSpanOptions; -typedef struct Opt_RichEditorSymbolSpanOptions { - Ark_Tag tag; - Ark_RichEditorSymbolSpanOptions value; -} Opt_RichEditorSymbolSpanOptions; -typedef struct Ark_RichEditorTextStyle { - Opt_ResourceColor fontColor; - Opt_Union_String_Number_Resource fontSize; - Opt_FontStyle fontStyle; - Opt_Union_Number_FontWeight_String fontWeight; - Opt_ResourceStr fontFamily; - Opt_DecorationStyleInterface decoration; - Opt_Union_ShadowOptions_Array_ShadowOptions textShadow; - Opt_Union_Number_String letterSpacing; - Opt_Union_Number_String_Resource lineHeight; - Opt_String fontFeature; -} Ark_RichEditorTextStyle; -typedef struct Opt_RichEditorTextStyle { +typedef struct Ark_RichEditorParagraphStyle { + Opt_TextAlign textAlign; + Opt_Union_Dimension_LeadingMarginPlaceholder leadingMargin; + Opt_WordBreak wordBreak; + Opt_LineBreakStrategy lineBreakStrategy; + Opt_Number paragraphSpacing; +} Ark_RichEditorParagraphStyle; +typedef struct Opt_RichEditorParagraphStyle { Ark_Tag tag; - Ark_RichEditorTextStyle value; -} Opt_RichEditorTextStyle; -typedef struct Ark_RichEditorUpdateTextSpanStyleOptions { + Ark_RichEditorParagraphStyle value; +} Opt_RichEditorParagraphStyle; +typedef struct Ark_RichEditorParagraphStyleOptions { Opt_Number start; Opt_Number end; - Ark_RichEditorTextStyle textStyle; -} Ark_RichEditorUpdateTextSpanStyleOptions; -typedef struct Opt_RichEditorUpdateTextSpanStyleOptions { + Ark_RichEditorParagraphStyle style; +} Ark_RichEditorParagraphStyleOptions; +typedef struct Opt_RichEditorParagraphStyleOptions { Ark_Tag tag; - Ark_RichEditorUpdateTextSpanStyleOptions value; -} Opt_RichEditorUpdateTextSpanStyleOptions; + Ark_RichEditorParagraphStyleOptions value; +} Opt_RichEditorParagraphStyleOptions; typedef struct Opt_RotationGestureEvent { Ark_Tag tag; Ark_RotationGestureEvent value; } Opt_RotationGestureEvent; -typedef struct Ark_ScrollSnapOptions { - Ark_ScrollSnapAlign snapAlign; - Opt_Union_Dimension_Array_Dimension snapPagination; - Opt_Boolean enableSnapToStart; - Opt_Boolean enableSnapToEnd; -} Ark_ScrollSnapOptions; -typedef struct Opt_ScrollSnapOptions { +typedef struct Ark_RunMetrics { + Ark_text_TextStyle textStyle; + Ark_FontMetrics fontMetrics; +} Ark_RunMetrics; +typedef struct Opt_RunMetrics { Ark_Tag tag; - Ark_ScrollSnapOptions value; -} Opt_ScrollSnapOptions; + Ark_RunMetrics value; +} Opt_RunMetrics; typedef struct Ark_SectionOptions { Ark_Number itemsCount; Opt_Number crossCount; Opt_GetItemMainSizeByIndex onGetItemMainSizeByIndex; - Opt_Union_String_Number_Resource columnsGap; - Opt_Union_String_Number_Resource rowsGap; + Opt_Dimension columnsGap; + Opt_Dimension rowsGap; Opt_Union_Margin_Dimension margin; } Ark_SectionOptions; typedef struct Opt_SectionOptions { Ark_Tag tag; Ark_SectionOptions value; } Opt_SectionOptions; +typedef struct Ark_SheetOptions { + Opt_ResourceColor backgroundColor; + Opt_Callback_Void onAppear; + Opt_Callback_Void onDisappear; + Opt_Callback_Void onWillAppear; + Opt_Callback_Void onWillDisappear; + Opt_Union_SheetSize_Length height; + Opt_Boolean dragBar; + Opt_ResourceColor maskColor; + Opt_Type_SheetOptions_detents detents; + Opt_BlurStyle blurStyle; + Opt_Union_Boolean_Resource showClose; + Opt_SheetType preferType; + Opt_Union_SheetTitleOptions_CustomBuilder title; + Opt_Callback_SheetDismiss_Void shouldDismiss; + Opt_Callback_DismissSheetAction_Void onWillDismiss; + Opt_Callback_SpringBackAction_Void onWillSpringBackWhenDismiss; + Opt_Boolean enableOutsideInteractive; + Opt_Dimension width; + Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth; + Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor; + Opt_Union_BorderStyle_EdgeStyles borderStyle; + Opt_Union_ShadowOptions_ShadowStyle shadow; + Opt_Callback_Number_Void onHeightDidChange; + Opt_SheetMode mode; + Opt_ScrollSizeMode scrollSizeMode; + Opt_Callback_Number_Void onDetentsDidChange; + Opt_Callback_Number_Void onWidthDidChange; + Opt_Callback_SheetType_Void onTypeDidChange; + Opt_UIContext uiContext; + Opt_SheetKeyboardAvoidMode keyboardAvoidMode; + Opt_Boolean enableHoverMode; + Opt_HoverModeAreaType hoverModeArea; + Opt_Position offset; + Opt_Number effectEdge; + Opt_Union_LengthMetrics_BorderRadiuses_LocalizedBorderRadiuses radius; + Opt_Union_SheetSize_Length detentSelection; + Opt_Boolean showInSubWindow; + Opt_Placement placement; + Opt_Boolean placementOnTarget; +} Ark_SheetOptions; +typedef struct Opt_SheetOptions { + Ark_Tag tag; + Ark_SheetOptions value; +} Opt_SheetOptions; typedef struct Ark_SwipeActionOptions { Opt_Union_CustomBuilder_SwipeActionItem start; Opt_Union_CustomBuilder_SwipeActionItem end; @@ -16630,32 +18306,6 @@ typedef struct Opt_TapGestureEvent { Ark_Tag tag; Ark_TapGestureEvent value; } Opt_TapGestureEvent; -typedef struct Ark_text_TextStyle { - Opt_Decoration decoration; - Opt_common2D_Color color; - Opt_FontWeight fontWeight; - Opt_FontStyle fontStyle; - Opt_TextBaseline baseline; - Opt_Array_String fontFamilies; - Opt_Number fontSize; - Opt_Number letterSpacing; - Opt_Number wordSpacing; - Opt_Number heightScale; - Opt_Boolean halfLeading; - Opt_Boolean heightOnly; - Opt_String ellipsis; - Opt_EllipsisMode ellipsisMode; - Opt_String locale; - Opt_Number baselineShift; - Opt_Array_FontFeature fontFeatures; - Opt_Array_TextShadow textShadows; - Opt_RectStyle backgroundRect; - Opt_Array_FontVariation fontVariations; -} Ark_text_TextStyle; -typedef struct Opt_text_TextStyle { - Ark_Tag tag; - Ark_text_TextStyle value; -} Opt_text_TextStyle; typedef struct Ark_TextBackgroundStyle { Opt_ResourceColor color; Opt_Union_Dimension_BorderRadiuses radius; @@ -16664,16 +18314,17 @@ typedef struct Opt_TextBackgroundStyle { Ark_Tag tag; Ark_TextBackgroundStyle value; } Opt_TextBackgroundStyle; -typedef struct Ark_TextDataDetectorConfig { - Array_TextDataDetectorType types; - Opt_Callback_String_Void onDetectResultUpdate; +typedef struct Ark_TextPickerTextStyle { Opt_ResourceColor color; - Opt_DecorationStyleInterface decoration; -} Ark_TextDataDetectorConfig; -typedef struct Opt_TextDataDetectorConfig { + Opt_Font font; + Opt_Union_Number_String_Resource minFontSize; + Opt_Union_Number_String_Resource maxFontSize; + Opt_TextOverflow overflow; +} Ark_TextPickerTextStyle; +typedef struct Opt_TextPickerTextStyle { Ark_Tag tag; - Ark_TextDataDetectorConfig value; -} Opt_TextDataDetectorConfig; + Ark_TextPickerTextStyle value; +} Opt_TextPickerTextStyle; typedef struct Opt_TouchEvent { Ark_Tag tag; Ark_TouchEvent value; @@ -16690,15 +18341,19 @@ typedef struct Opt_Type_AlertDialog_show_value { Ark_Tag tag; Ark_Type_AlertDialog_show_value value; } Opt_Type_AlertDialog_show_value; -typedef struct Ark_Type_SheetOptions_detents { - Ark_Union_SheetSize_Length value0; - Opt_Union_SheetSize_Length value1; - Opt_Union_SheetSize_Length value2; -} Ark_Type_SheetOptions_detents; -typedef struct Opt_Type_SheetOptions_detents { +typedef struct Ark_Type_SwiperAttribute_indicator_indicator { + Ark_Int32 selector; + union { + Ark_IndicatorComponentController value0; + Ark_DotIndicator value1; + Ark_DigitIndicator value2; + Ark_Boolean value3; + }; +} Ark_Type_SwiperAttribute_indicator_indicator; +typedef struct Opt_Type_SwiperAttribute_indicator_indicator { Ark_Tag tag; - Ark_Type_SheetOptions_detents value; -} Opt_Type_SheetOptions_detents; + Ark_Type_SwiperAttribute_indicator_indicator value; +} Opt_Type_SwiperAttribute_indicator_indicator; typedef struct Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions { Ark_Int32 selector; union { @@ -16710,17 +18365,6 @@ typedef struct Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions { Ark_Tag tag; Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions value; } Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions; -typedef struct Ark_Union_Dimension_LeadingMarginPlaceholder { - Ark_Int32 selector; - union { - Ark_Union_String_Number_Resource value0; - Ark_LeadingMarginPlaceholder value1; - }; -} Ark_Union_Dimension_LeadingMarginPlaceholder; -typedef struct Opt_Union_Dimension_LeadingMarginPlaceholder { - Ark_Tag tag; - Ark_Union_Dimension_LeadingMarginPlaceholder value; -} Opt_Union_Dimension_LeadingMarginPlaceholder; typedef struct Ark_Union_DotIndicator_DigitIndicator { Ark_Int32 selector; union { @@ -16747,7 +18391,7 @@ typedef struct Opt_Union_DotIndicator_DigitIndicator_Boolean { typedef struct Ark_Union_Length_GutterOption { Ark_Int32 selector; union { - Ark_Union_String_Number_Resource value0; + Ark_Length value0; Ark_GutterOption value1; }; } Ark_Union_Length_GutterOption; @@ -16755,17 +18399,6 @@ typedef struct Opt_Union_Length_GutterOption { Ark_Tag tag; Ark_Union_Length_GutterOption value; } Opt_Union_Length_GutterOption; -typedef struct Ark_Union_LengthMetrics_LeadingMarginPlaceholder { - Ark_Int32 selector; - union { - Ark_LengthMetrics value0; - Ark_LeadingMarginPlaceholder value1; - }; -} Ark_Union_LengthMetrics_LeadingMarginPlaceholder; -typedef struct Opt_Union_LengthMetrics_LeadingMarginPlaceholder { - Ark_Tag tag; - Ark_Union_LengthMetrics_LeadingMarginPlaceholder value; -} Opt_Union_LengthMetrics_LeadingMarginPlaceholder; typedef struct Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions { Ark_Int32 selector; union { @@ -16779,21 +18412,22 @@ typedef struct Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions Ark_Tag tag; Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions value; } Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions; -typedef struct Ark_Union_Number_LeadingMarginPlaceholder { - Ark_Int32 selector; - union { - Ark_Number value0; - Ark_LeadingMarginPlaceholder value1; - }; -} Ark_Union_Number_LeadingMarginPlaceholder; -typedef struct Opt_Union_Number_LeadingMarginPlaceholder { +typedef struct Ark_WithThemeOptions { + Opt_CustomTheme theme; + Opt_ThemeColorMode colorMode; +} Ark_WithThemeOptions; +typedef struct Opt_WithThemeOptions { Ark_Tag tag; - Ark_Union_Number_LeadingMarginPlaceholder value; -} Opt_Union_Number_LeadingMarginPlaceholder; + Ark_WithThemeOptions value; +} Opt_WithThemeOptions; typedef struct Opt_AccessibilityHoverEvent { Ark_Tag tag; Ark_AccessibilityHoverEvent value; } Opt_AccessibilityHoverEvent; +typedef struct Opt_AxisEvent { + Ark_Tag tag; + Ark_AxisEvent value; +} Opt_AxisEvent; typedef struct Opt_BackgroundColorStyle { Ark_Tag tag; Ark_BackgroundColorStyle value; @@ -16824,11 +18458,16 @@ typedef struct Opt_BottomTabBarStyle { typedef struct Ark_CalendarDialogOptions { Opt_Union_Number_Resource hintRadius; Opt_Date selected; + Opt_Date start; + Opt_Date end; + Opt_Array_DateRange disabledDateRange; Opt_Callback_Date_Void onAccept; Opt_VoidCallback onCancel; Opt_Callback_Date_Void onChange; Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; Opt_PickerDialogButtonStyle acceptButtonStyle; Opt_PickerDialogButtonStyle cancelButtonStyle; Opt_VoidCallback onDidAppear; @@ -16838,6 +18477,7 @@ typedef struct Ark_CalendarDialogOptions { Opt_Union_ShadowOptions_ShadowStyle shadow; Opt_Boolean enableHoverMode; Opt_HoverModeAreaType hoverModeArea; + Opt_Boolean markToday; } Ark_CalendarDialogOptions; typedef struct Opt_CalendarDialogOptions { Ark_Tag tag; @@ -16851,6 +18491,7 @@ typedef struct Ark_DatePickerDialogOptions { Opt_Date start; Opt_Date end; Opt_Date selected; + Opt_DatePickerMode mode; Opt_Boolean lunar; Opt_Boolean lunarSwitch; Opt_LunarSwitchStyle lunarSwitchStyle; @@ -16871,6 +18512,8 @@ typedef struct Ark_DatePickerDialogOptions { Opt_Callback_Date_Void onDateChange; Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; Opt_VoidCallback onDidAppear; Opt_VoidCallback onDidDisappear; Opt_VoidCallback onWillAppear; @@ -16879,6 +18522,7 @@ typedef struct Ark_DatePickerDialogOptions { Opt_DateTimeOptions dateTimeOptions; Opt_Boolean enableHoverMode; Opt_HoverModeAreaType hoverModeArea; + Opt_Boolean enableHapticFeedback; } Ark_DatePickerDialogOptions; typedef struct Opt_DatePickerDialogOptions { Ark_Tag tag; @@ -16904,6 +18548,7 @@ typedef struct Ark_ImageAttachmentInterface { Opt_ImageSpanAlignment verticalAlign; Opt_ImageFit objectFit; Opt_ImageAttachmentLayoutStyle layoutStyle; + Opt_ColorFilterType colorFilter; } Ark_ImageAttachmentInterface; typedef struct Opt_ImageAttachmentInterface { Ark_Tag tag; @@ -16914,36 +18559,20 @@ typedef struct Ark_NativeEmbedDataInfo { Opt_String surfaceId; Opt_String embedId; Opt_NativeEmbedInfo info; -} Ark_NativeEmbedDataInfo; -typedef struct Opt_NativeEmbedDataInfo { - Ark_Tag tag; - Ark_NativeEmbedDataInfo value; -} Opt_NativeEmbedDataInfo; -typedef struct Ark_NativeEmbedTouchInfo { - Opt_String embedId; - Opt_TouchEvent touchEvent; - Opt_EventResult result; -} Ark_NativeEmbedTouchInfo; -typedef struct Opt_NativeEmbedTouchInfo { - Ark_Tag tag; - Ark_NativeEmbedTouchInfo value; -} Opt_NativeEmbedTouchInfo; -typedef struct Opt_ParagraphStyle { - Ark_Tag tag; - Ark_ParagraphStyle value; -} Opt_ParagraphStyle; -typedef struct Ark_ParagraphStyleInterface { - Opt_TextAlign textAlign; - Opt_LengthMetrics textIndent; - Opt_Number maxLines; - Opt_TextOverflow overflow; - Opt_WordBreak wordBreak; - Opt_Union_LengthMetrics_LeadingMarginPlaceholder leadingMargin; -} Ark_ParagraphStyleInterface; -typedef struct Opt_ParagraphStyleInterface { +} Ark_NativeEmbedDataInfo; +typedef struct Opt_NativeEmbedDataInfo { Ark_Tag tag; - Ark_ParagraphStyleInterface value; -} Opt_ParagraphStyleInterface; + Ark_NativeEmbedDataInfo value; +} Opt_NativeEmbedDataInfo; +typedef struct Ark_NativeEmbedTouchInfo { + Opt_String embedId; + Opt_TouchEvent touchEvent; + Opt_EventResult result; +} Ark_NativeEmbedTouchInfo; +typedef struct Opt_NativeEmbedTouchInfo { + Ark_Tag tag; + Ark_NativeEmbedTouchInfo value; +} Opt_NativeEmbedTouchInfo; typedef struct Ark_PopupOptions { Ark_String message; Opt_Boolean placementOnTop; @@ -16951,31 +18580,45 @@ typedef struct Ark_PopupOptions { Opt_Literal_String_value_Callback_Void_action primaryButton; Opt_Literal_String_value_Callback_Void_action secondaryButton; Opt_Callback_Literal_Boolean_isVisible_Void onStateChange; - Opt_Union_String_Number_Resource arrowOffset; + Opt_Length arrowOffset; Opt_Boolean showInSubWindow; Opt_Union_Boolean_Literal_ResourceColor_color mask; Opt_PopupMessageOptions messageOptions; - Opt_Union_String_Number_Resource targetSpace; + Opt_Length targetSpace; Opt_Boolean enableArrow; Opt_Position offset; Opt_Union_Color_String_Resource_Number popupColor; Opt_Boolean autoCancel; - Opt_Union_String_Number_Resource width; + Opt_Dimension width; Opt_ArrowPointPosition arrowPointPosition; - Opt_Union_String_Number_Resource arrowWidth; - Opt_Union_String_Number_Resource arrowHeight; - Opt_Union_String_Number_Resource radius; + Opt_Dimension arrowWidth; + Opt_Dimension arrowHeight; + Opt_Dimension radius; Opt_Union_ShadowOptions_ShadowStyle shadow; Opt_BlurStyle backgroundBlurStyle; Opt_TransitionEffect transition; Opt_Union_Boolean_Callback_DismissPopupAction_Void onWillDismiss; Opt_Boolean enableHoverMode; Opt_Boolean followTransformOfTarget; + Opt_KeyboardAvoidMode keyboardAvoidMode; } Ark_PopupOptions; typedef struct Opt_PopupOptions { Ark_Tag tag; Ark_PopupOptions value; } Opt_PopupOptions; +typedef struct Ark_ResourceImageAttachmentOptions { + Opt_ResourceStr resourceValue; + Opt_SizeOptions size; + Opt_ImageSpanAlignment verticalAlign; + Opt_ImageFit objectFit; + Opt_ImageAttachmentLayoutStyle layoutStyle; + Opt_ColorFilterType colorFilter; + Opt_Boolean syncLoad; +} Ark_ResourceImageAttachmentOptions; +typedef struct Opt_ResourceImageAttachmentOptions { + Ark_Tag tag; + Ark_ResourceImageAttachmentOptions value; +} Opt_ResourceImageAttachmentOptions; typedef struct Ark_RichEditorImageSpanStyle { Opt_Tuple_Dimension_Dimension size; Opt_ImageSpanAlignment verticalAlign; @@ -16996,25 +18639,50 @@ typedef struct Opt_RichEditorImageSpanStyleResult { Ark_Tag tag; Ark_RichEditorImageSpanStyleResult value; } Opt_RichEditorImageSpanStyleResult; -typedef struct Ark_RichEditorParagraphStyle { - Opt_TextAlign textAlign; - Opt_Union_Dimension_LeadingMarginPlaceholder leadingMargin; - Opt_WordBreak wordBreak; - Opt_LineBreakStrategy lineBreakStrategy; -} Ark_RichEditorParagraphStyle; -typedef struct Opt_RichEditorParagraphStyle { - Ark_Tag tag; - Ark_RichEditorParagraphStyle value; -} Opt_RichEditorParagraphStyle; -typedef struct Ark_RichEditorParagraphStyleOptions { - Opt_Number start; - Opt_Number end; +typedef struct Ark_RichEditorParagraphResult { Ark_RichEditorParagraphStyle style; -} Ark_RichEditorParagraphStyleOptions; -typedef struct Opt_RichEditorParagraphStyleOptions { + Ark_Tuple_Number_Number range; +} Ark_RichEditorParagraphResult; +typedef struct Opt_RichEditorParagraphResult { Ark_Tag tag; - Ark_RichEditorParagraphStyleOptions value; -} Opt_RichEditorParagraphStyleOptions; + Ark_RichEditorParagraphResult value; +} Opt_RichEditorParagraphResult; +typedef struct Ark_RichEditorTextStyle { + Opt_ResourceColor fontColor; + Opt_Union_String_Number_Resource fontSize; + Opt_FontStyle fontStyle; + Opt_Union_Number_FontWeight_String fontWeight; + Opt_ResourceStr fontFamily; + Opt_DecorationStyleInterface decoration; + Opt_Union_ShadowOptions_Array_ShadowOptions textShadow; + Opt_Union_Number_String letterSpacing; + Opt_Union_Number_String_Resource lineHeight; + Opt_Boolean halfLeading; + Opt_String fontFeature; + Opt_TextBackgroundStyle textBackgroundStyle; +} Ark_RichEditorTextStyle; +typedef struct Opt_RichEditorTextStyle { + Ark_Tag tag; + Ark_RichEditorTextStyle value; +} Opt_RichEditorTextStyle; +typedef struct Ark_RichEditorTextStyleResult { + Ark_ResourceColor fontColor; + Ark_Number fontSize; + Ark_FontStyle fontStyle; + Ark_Number fontWeight; + Ark_String fontFamily; + Ark_DecorationStyleResult decoration; + Opt_Array_ShadowOptions textShadow; + Opt_Number letterSpacing; + Opt_Number lineHeight; + Opt_Boolean halfLeading; + Opt_String fontFeature; + Opt_TextBackgroundStyle textBackgroundStyle; +} Ark_RichEditorTextStyleResult; +typedef struct Opt_RichEditorTextStyleResult { + Ark_Tag tag; + Ark_RichEditorTextStyleResult value; +} Opt_RichEditorTextStyleResult; typedef struct Ark_RichEditorUpdateImageSpanStyleOptions { Opt_Number start; Opt_Number end; @@ -17024,50 +18692,16 @@ typedef struct Opt_RichEditorUpdateImageSpanStyleOptions { Ark_Tag tag; Ark_RichEditorUpdateImageSpanStyleOptions value; } Opt_RichEditorUpdateImageSpanStyleOptions; -typedef struct Ark_RunMetrics { - Ark_text_TextStyle textStyle; - Ark_FontMetrics fontMetrics; -} Ark_RunMetrics; -typedef struct Opt_RunMetrics { - Ark_Tag tag; - Ark_RunMetrics value; -} Opt_RunMetrics; -typedef struct Ark_SheetOptions { - Opt_ResourceColor backgroundColor; - Opt_Callback_Void onAppear; - Opt_Callback_Void onDisappear; - Opt_Callback_Void onWillAppear; - Opt_Callback_Void onWillDisappear; - Opt_Union_SheetSize_Length height; - Opt_Boolean dragBar; - Opt_ResourceColor maskColor; - Opt_Type_SheetOptions_detents detents; - Opt_BlurStyle blurStyle; - Opt_Union_Boolean_Resource showClose; - Opt_SheetType preferType; - Opt_Union_SheetTitleOptions_CustomBuilder title; - Opt_Callback_SheetDismiss_Void shouldDismiss; - Opt_Callback_DismissSheetAction_Void onWillDismiss; - Opt_Callback_SpringBackAction_Void onWillSpringBackWhenDismiss; - Opt_Boolean enableOutsideInteractive; - Opt_Union_String_Number_Resource width; - Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth; - Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor; - Opt_Union_BorderStyle_EdgeStyles borderStyle; - Opt_Union_ShadowOptions_ShadowStyle shadow; - Opt_Callback_Number_Void onHeightDidChange; - Opt_SheetMode mode; - Opt_ScrollSizeMode scrollSizeMode; - Opt_Callback_Number_Void onDetentsDidChange; - Opt_Callback_Number_Void onWidthDidChange; - Opt_Callback_SheetType_Void onTypeDidChange; - Opt_UIContext uiContext; - Opt_SheetKeyboardAvoidMode keyboardAvoidMode; -} Ark_SheetOptions; -typedef struct Opt_SheetOptions { +typedef struct Ark_RichEditorUpdateTextSpanStyleOptions { + Opt_Number start; + Opt_Number end; + Ark_RichEditorTextStyle textStyle; + Opt_RichEditorUrlStyle urlStyle; +} Ark_RichEditorUpdateTextSpanStyleOptions; +typedef struct Opt_RichEditorUpdateTextSpanStyleOptions { Ark_Tag tag; - Ark_SheetOptions value; -} Opt_SheetOptions; + Ark_RichEditorUpdateTextSpanStyleOptions value; +} Opt_RichEditorUpdateTextSpanStyleOptions; typedef struct Ark_StyledStringValue { Ark_Int32 selector; union { @@ -17117,6 +18751,7 @@ typedef struct Ark_TextPickerDialogOptions { Ark_Type_TextPickerOptions_range range; Opt_Union_String_Array_String value; Opt_Union_Number_Array_Number selected; + Opt_Array_LengthMetrics columnWidths; Opt_Union_Number_String defaultPickerItemHeight; Opt_Boolean canLoop; Opt_PickerTextStyle disappearTextStyle; @@ -17124,14 +18759,20 @@ typedef struct Ark_TextPickerDialogOptions { Opt_PickerDialogButtonStyle acceptButtonStyle; Opt_PickerDialogButtonStyle cancelButtonStyle; Opt_PickerTextStyle selectedTextStyle; + Opt_Boolean disableTextStyleAnimation; + Opt_TextPickerTextStyle defaultTextStyle; Opt_Callback_TextPickerResult_Void onAccept; Opt_Callback_Void onCancel; Opt_Callback_TextPickerResult_Void onChange; + Opt_Callback_TextPickerResult_Void onScrollStop; + Opt_Callback_TextPickerResult_Void onEnterSelectedArea; Opt_Rectangle maskRect; Opt_DialogAlignment alignment; Opt_Offset offset; Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; Opt_Callback_Void onDidAppear; Opt_Callback_Void onDidDisappear; Opt_Callback_Void onWillAppear; @@ -17139,6 +18780,7 @@ typedef struct Ark_TextPickerDialogOptions { Opt_Union_ShadowOptions_ShadowStyle shadow; Opt_Boolean enableHoverMode; Opt_HoverModeAreaType hoverModeArea; + Opt_Boolean enableHapticFeedback; } Ark_TextPickerDialogOptions; typedef struct Opt_TextPickerDialogOptions { Ark_Tag tag; @@ -17147,6 +18789,8 @@ typedef struct Opt_TextPickerDialogOptions { typedef struct Ark_TimePickerDialogOptions { Opt_Date selected; Opt_TimePickerFormat format; + Opt_Date start; + Opt_Date end; Opt_Boolean useMilitaryTime; Opt_PickerTextStyle disappearTextStyle; Opt_PickerTextStyle textStyle; @@ -17159,8 +18803,12 @@ typedef struct Ark_TimePickerDialogOptions { Opt_Callback_TimePickerResult_Void onAccept; Opt_Callback_Void onCancel; Opt_Callback_TimePickerResult_Void onChange; + Opt_Callback_TimePickerResult_Void onEnterSelectedArea; Opt_ResourceColor backgroundColor; Opt_BlurStyle backgroundBlurStyle; + Opt_BackgroundBlurStyleOptions backgroundBlurStyleOptions; + Opt_BackgroundEffectOptions backgroundEffect; + Opt_Boolean enableCascade; Opt_Callback_Void onDidAppear; Opt_Callback_Void onDidDisappear; Opt_Callback_Void onWillAppear; @@ -17169,6 +18817,7 @@ typedef struct Ark_TimePickerDialogOptions { Opt_DateTimeOptions dateTimeOptions; Opt_Boolean enableHoverMode; Opt_HoverModeAreaType hoverModeArea; + Opt_Boolean enableHapticFeedback; } Ark_TimePickerDialogOptions; typedef struct Opt_TimePickerDialogOptions { Ark_Tag tag; @@ -17186,6 +18835,22 @@ typedef struct Opt_Type_RichEditorController_updateSpanStyle_value { Ark_Tag tag; Ark_Type_RichEditorController_updateSpanStyle_value value; } Opt_Type_RichEditorController_updateSpanStyle_value; +typedef struct Ark_Type_TabContentAttribute_tabBar_content { + Ark_Int32 selector; + union { + Ark_ComponentContent value0; + Ark_SubTabBarStyle value1; + Ark_BottomTabBarStyle value2; + Ark_String value3; + Ark_Resource value4; + CustomNodeBuilder value5; + Ark_TabBarOptions value6; + }; +} Ark_Type_TabContentAttribute_tabBar_content; +typedef struct Opt_Type_TabContentAttribute_tabBar_content { + Ark_Tag tag; + Ark_Type_TabContentAttribute_tabBar_content value; +} Opt_Type_TabContentAttribute_tabBar_content; typedef struct Ark_Union_PopupOptions_CustomPopupOptions { Ark_Int32 selector; union { @@ -17220,18 +18885,22 @@ typedef struct Opt_Union_SubTabBarStyle_BottomTabBarStyle { Ark_Tag tag; Ark_Union_SubTabBarStyle_BottomTabBarStyle value; } Opt_Union_SubTabBarStyle_BottomTabBarStyle; -typedef struct Ark_WithThemeOptions { - Opt_CustomTheme theme; - Opt_ThemeColorMode colorMode; -} Ark_WithThemeOptions; -typedef struct Opt_WithThemeOptions { +typedef struct Ark_AttachmentType { + Ark_Int32 selector; + union { + Ark_ImageAttachmentInterface value0; + Ark_ResourceImageAttachmentOptions value1; + }; +} Ark_AttachmentType; +typedef struct Opt_AttachmentType { Ark_Tag tag; - Ark_WithThemeOptions value; -} Opt_WithThemeOptions; + Ark_AttachmentType value; +} Opt_AttachmentType; typedef struct Ark_RichEditorImageSpanOptions { Opt_Number offset; Opt_RichEditorImageSpanStyle imageStyle; Opt_RichEditorGesture gesture; + Opt_OnHoverCallback onHover; } Ark_RichEditorImageSpanOptions; typedef struct Opt_RichEditorImageSpanOptions { Ark_Tag tag; @@ -17248,19 +18917,12 @@ typedef struct Opt_RichEditorImageSpanResult { Ark_Tag tag; Ark_RichEditorImageSpanResult value; } Opt_RichEditorImageSpanResult; -typedef struct Ark_RichEditorParagraphResult { - Ark_RichEditorParagraphStyle style; - Ark_Tuple_Number_Number range; -} Ark_RichEditorParagraphResult; -typedef struct Opt_RichEditorParagraphResult { - Ark_Tag tag; - Ark_RichEditorParagraphResult value; -} Opt_RichEditorParagraphResult; typedef struct Ark_RichEditorTextSpanOptions { Opt_Number offset; Opt_RichEditorTextStyle style; Opt_RichEditorParagraphStyle paragraphStyle; Opt_RichEditorGesture gesture; + Opt_RichEditorUrlStyle urlStyle; } Ark_RichEditorTextSpanOptions; typedef struct Opt_RichEditorTextSpanOptions { Ark_Tag tag; @@ -17275,6 +18937,7 @@ typedef struct Ark_RichEditorTextSpanResult { Opt_Resource valueResource; Opt_RichEditorParagraphStyle paragraphStyle; Opt_String previewText; + Opt_RichEditorUrlStyle urlStyle; } Ark_RichEditorTextSpanResult; typedef struct Opt_RichEditorTextSpanResult { Ark_Tag tag; @@ -17406,7 +19069,7 @@ typedef struct GENERATED_ArkUIAlphabetIndexerModifier { Ark_Boolean value); void (*setAlignStyle)(Ark_NativePointer node, Ark_IndexerAlign value, - const Opt_Union_String_Number_Resource* offset); + const Opt_Length* offset); void (*set_onChangeEvent_selected)(Ark_NativePointer node, const Callback_Number_Void* callback); } GENERATED_ArkUIAlphabetIndexerModifier; @@ -17486,7 +19149,7 @@ typedef struct GENERATED_ArkUIButtonModifier { void (*setFontColor)(Ark_NativePointer node, const Ark_ResourceColor* value); void (*setFontSize)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setFontWeight)(Ark_NativePointer node, const Ark_Union_Number_FontWeight_String* value); void (*setFontStyle)(Ark_NativePointer node, @@ -17497,129 +19160,79 @@ typedef struct GENERATED_ArkUIButtonModifier { const Ark_Object* value); void (*setLabelStyle)(Ark_NativePointer node, const Ark_LabelStyle* value); -} GENERATED_ArkUIButtonModifier; - -typedef struct GENERATED_ArkUICalendarModifier { - Ark_NativePointer (*construct)(Ark_Int32 id, - Ark_Int32 flags); - void (*setCalendarOptions)(Ark_NativePointer node, - const Ark_Type_CalendarInterface_callable0_value* value); - void (*setShowLunar)(Ark_NativePointer node, - Ark_Boolean value); - void (*setShowHoliday)(Ark_NativePointer node, - Ark_Boolean value); - void (*setNeedSlide)(Ark_NativePointer node, - Ark_Boolean value); - void (*setStartOfWeek)(Ark_NativePointer node, - const Ark_Number* value); - void (*setOffDays)(Ark_NativePointer node, - const Ark_Number* value); - void (*setDirection)(Ark_NativePointer node, - Ark_Axis value); - void (*setCurrentDayStyle)(Ark_NativePointer node, - const Ark_CurrentDayStyle* value); - void (*setNonCurrentDayStyle)(Ark_NativePointer node, - const Ark_NonCurrentDayStyle* value); - void (*setTodayStyle)(Ark_NativePointer node, - const Ark_TodayStyle* value); - void (*setWeekStyle)(Ark_NativePointer node, - const Ark_WeekStyle* value); - void (*setWorkStateStyle)(Ark_NativePointer node, - const Ark_WorkStateStyle* value); - void (*setOnSelectChange)(Ark_NativePointer node, - const Callback_CalendarSelectedDate_Void* value); - void (*setOnRequestData)(Ark_NativePointer node, - const Callback_CalendarRequestedData_Void* value); -} GENERATED_ArkUICalendarModifier; - -typedef struct GENERATED_ArkUICalendarPickerModifier { - Ark_NativePointer (*construct)(Ark_Int32 id, - Ark_Int32 flags); - void (*setCalendarPickerOptions)(Ark_NativePointer node, - const Opt_CalendarOptions* options); - void (*setTextStyle)(Ark_NativePointer node, - const Ark_PickerTextStyle* value); - void (*setOnChange)(Ark_NativePointer node, - const Callback_Date_Void* value); - void (*setEdgeAlign)(Ark_NativePointer node, - Ark_CalendarAlign alignType, - const Opt_Offset* offset); -} GENERATED_ArkUICalendarPickerModifier; - -typedef struct GENERATED_ArkUINavigationModifier { - Ark_NativePointer (*construct)(Ark_Int32 id, - Ark_Int32 flags); - void (*setNavigationOptions0)(Ark_NativePointer node); - void (*setNavigationOptions1)(Ark_NativePointer node, - Ark_NavPathStack pathInfos); - void (*setNavBarWidth)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); - void (*setNavBarPosition)(Ark_NativePointer node, - Ark_NavBarPosition value); - void (*setNavBarWidthRange)(Ark_NativePointer node, - const Ark_Tuple_Dimension_Dimension* value); - void (*setMinContentWidth)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); - void (*setMode)(Ark_NativePointer node, - Ark_NavigationMode value); - void (*setBackButtonIcon)(Ark_NativePointer node, - const Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier* value); - void (*setHideNavBar)(Ark_NativePointer node, - Ark_Boolean value); - void (*setSubTitle)(Ark_NativePointer node, - const Ark_String* value); - void (*setHideTitleBar0)(Ark_NativePointer node, - Ark_Boolean value); - void (*setHideTitleBar1)(Ark_NativePointer node, - Ark_Boolean hide, - Ark_Boolean animated); - void (*setHideBackButton)(Ark_NativePointer node, - Ark_Boolean value); - void (*setTitleMode)(Ark_NativePointer node, - Ark_NavigationTitleMode value); - void (*setMenus)(Ark_NativePointer node, - const Ark_Union_Array_NavigationMenuItem_CustomBuilder* value); - void (*setToolBar)(Ark_NativePointer node, - const CustomNodeBuilder* value); - void (*setHideToolBar0)(Ark_NativePointer node, - Ark_Boolean value); - void (*setHideToolBar1)(Ark_NativePointer node, - Ark_Boolean hide, - Ark_Boolean animated); - void (*setOnTitleModeChange)(Ark_NativePointer node, - const Callback_NavigationTitleMode_Void* value); - void (*setOnNavBarStateChange)(Ark_NativePointer node, - const Callback_Boolean_Void* value); - void (*setOnNavigationModeChange)(Ark_NativePointer node, - const Callback_NavigationMode_Void* value); - void (*setNavDestination)(Ark_NativePointer node, - const Callback_String_Unknown_Void* value); - void (*setCustomNavContentTransition)(Ark_NativePointer node, - const Type_NavigationAttribute_customNavContentTransition_delegate* value); - void (*setSystemBarStyle)(Ark_NativePointer node, - const Opt_SystemBarStyle* value); - void (*setRecoverable)(Ark_NativePointer node, - const Opt_Boolean* value); - void (*setEnableDragBar)(Ark_NativePointer node, - const Opt_Boolean* value); - void (*setTitle)(Ark_NativePointer node, - const Ark_Type_NavigationAttribute_title_value* value, - const Opt_NavigationTitleOptions* options); - void (*setToolbarConfiguration)(Ark_NativePointer node, - const Ark_Union_Array_ToolbarItem_CustomBuilder* value, - const Opt_NavigationToolbarOptions* options); - void (*setIgnoreLayoutSafeArea)(Ark_NativePointer node, - const Opt_Array_LayoutSafeAreaType* types, - const Opt_Array_LayoutSafeAreaEdge* edges); -} GENERATED_ArkUINavigationModifier; + void (*setMinFontScale)(Ark_NativePointer node, + const Ark_Union_Number_Resource* value); + void (*setMaxFontScale)(Ark_NativePointer node, + const Ark_Union_Number_Resource* value); +} GENERATED_ArkUIButtonModifier; + +typedef struct GENERATED_ArkUICalendarModifier { + Ark_NativePointer (*construct)(Ark_Int32 id, + Ark_Int32 flags); + void (*setCalendarOptions)(Ark_NativePointer node, + const Ark_Type_CalendarInterface_callable0_value* value); + void (*setShowLunar)(Ark_NativePointer node, + Ark_Boolean value); + void (*setShowHoliday)(Ark_NativePointer node, + Ark_Boolean value); + void (*setNeedSlide)(Ark_NativePointer node, + Ark_Boolean value); + void (*setStartOfWeek)(Ark_NativePointer node, + const Ark_Number* value); + void (*setOffDays)(Ark_NativePointer node, + const Ark_Number* value); + void (*setDirection)(Ark_NativePointer node, + Ark_Axis value); + void (*setCurrentDayStyle)(Ark_NativePointer node, + const Ark_CurrentDayStyle* value); + void (*setNonCurrentDayStyle)(Ark_NativePointer node, + const Ark_NonCurrentDayStyle* value); + void (*setTodayStyle)(Ark_NativePointer node, + const Ark_TodayStyle* value); + void (*setWeekStyle)(Ark_NativePointer node, + const Ark_WeekStyle* value); + void (*setWorkStateStyle)(Ark_NativePointer node, + const Ark_WorkStateStyle* value); + void (*setOnSelectChange)(Ark_NativePointer node, + const Callback_CalendarSelectedDate_Void* value); + void (*setOnRequestData)(Ark_NativePointer node, + const Callback_CalendarRequestedData_Void* value); +} GENERATED_ArkUICalendarModifier; + +typedef struct GENERATED_ArkUICalendarPickerModifier { + Ark_NativePointer (*construct)(Ark_Int32 id, + Ark_Int32 flags); + void (*setCalendarPickerOptions)(Ark_NativePointer node, + const Opt_CalendarOptions* options); + void (*setTextStyle0)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setTextStyle1)(Ark_NativePointer node, + const Opt_PickerTextStyle* value); + void (*setOnChange0)(Ark_NativePointer node, + const Callback_Date_Void* value); + void (*setOnChange1)(Ark_NativePointer node, + const Opt_Callback_Date_Void* value); + void (*setMarkToday)(Ark_NativePointer node, + Ark_Boolean value); + void (*setEdgeAlign0)(Ark_NativePointer node, + Ark_CalendarAlign alignType, + const Opt_Offset* offset); + void (*setEdgeAlign1)(Ark_NativePointer node, + const Opt_CalendarAlign* alignType, + const Opt_Offset* offset); +} GENERATED_ArkUICalendarPickerModifier; typedef struct GENERATED_ArkUICommonMethodModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); - void (*setWidth)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); - void (*setHeight)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + void (*setWidth0)(Ark_NativePointer node, + const Ark_Length* value); + void (*setWidth1)(Ark_NativePointer node, + const Ark_Union_Length_LayoutPolicy* value); + void (*setHeight0)(Ark_NativePointer node, + const Ark_Length* value); + void (*setHeight1)(Ark_NativePointer node, + const Ark_Union_Length_LayoutPolicy* value); void (*setDrawModifier)(Ark_NativePointer node, const Opt_DrawModifier* value); void (*setResponseRegion)(Ark_NativePointer node, @@ -17646,16 +19259,21 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Ark_Union_Padding_LengthMetrics_LocalizedPadding* value); void (*setMargin)(Ark_NativePointer node, const Ark_Union_Margin_Length_LocalizedMargin* value); - void (*setBackgroundColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); + void (*setBackgroundColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setBackgroundColor1)(Ark_NativePointer node, + const Opt_ResourceColor* value); void (*setPixelRound)(Ark_NativePointer node, const Ark_PixelRoundPolicy* value); void (*setBackgroundImageSize)(Ark_NativePointer node, const Ark_Union_SizeOptions_ImageSize* value); void (*setBackgroundImagePosition)(Ark_NativePointer node, const Ark_Union_Position_Alignment* value); - void (*setBackgroundEffect)(Ark_NativePointer node, - const Ark_BackgroundEffectOptions* value); + void (*setBackgroundEffect0)(Ark_NativePointer node, + const Ark_BackgroundEffectOptions* value); + void (*setBackgroundEffect1)(Ark_NativePointer node, + const Opt_BackgroundEffectOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions); void (*setBackgroundImageResizable)(Ark_NativePointer node, const Ark_ResizableOptions* value); void (*setForegroundEffect)(Ark_NativePointer node, @@ -17668,8 +19286,10 @@ typedef struct GENERATED_ArkUICommonMethodModifier { Ark_Filter value); void (*setCompositingFilter)(Ark_NativePointer node, Ark_Filter value); - void (*setOpacity)(Ark_NativePointer node, - const Ark_Union_Number_Resource* value); + void (*setOpacity0)(Ark_NativePointer node, + const Ark_Union_Number_Resource* value); + void (*setOpacity1)(Ark_NativePointer node, + const Opt_Union_Number_Resource* value); void (*setBorder)(Ark_NativePointer node, const Ark_BorderOptions* value); void (*setBorderStyle)(Ark_NativePointer node, @@ -17682,18 +19302,30 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses* value); void (*setBorderImage)(Ark_NativePointer node, const Ark_BorderImageOption* value); - void (*setOutline)(Ark_NativePointer node, - const Ark_OutlineOptions* value); - void (*setOutlineStyle)(Ark_NativePointer node, - const Ark_Union_OutlineStyle_EdgeOutlineStyles* value); - void (*setOutlineWidth)(Ark_NativePointer node, - const Ark_Union_Dimension_EdgeOutlineWidths* value); - void (*setOutlineColor)(Ark_NativePointer node, - const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value); - void (*setOutlineRadius)(Ark_NativePointer node, - const Ark_Union_Dimension_OutlineRadiuses* value); - void (*setForegroundColor)(Ark_NativePointer node, - const Ark_Union_ResourceColor_ColoringStrategy* value); + void (*setOutline0)(Ark_NativePointer node, + const Ark_OutlineOptions* value); + void (*setOutline1)(Ark_NativePointer node, + const Opt_OutlineOptions* value); + void (*setOutlineStyle0)(Ark_NativePointer node, + const Ark_Union_OutlineStyle_EdgeOutlineStyles* value); + void (*setOutlineStyle1)(Ark_NativePointer node, + const Opt_Union_OutlineStyle_EdgeOutlineStyles* value); + void (*setOutlineWidth0)(Ark_NativePointer node, + const Ark_Union_Dimension_EdgeOutlineWidths* value); + void (*setOutlineWidth1)(Ark_NativePointer node, + const Opt_Union_Dimension_EdgeOutlineWidths* value); + void (*setOutlineColor0)(Ark_NativePointer node, + const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value); + void (*setOutlineColor1)(Ark_NativePointer node, + const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value); + void (*setOutlineRadius0)(Ark_NativePointer node, + const Ark_Union_Dimension_OutlineRadiuses* value); + void (*setOutlineRadius1)(Ark_NativePointer node, + const Opt_Union_Dimension_OutlineRadiuses* value); + void (*setForegroundColor0)(Ark_NativePointer node, + const Ark_Union_ResourceColor_ColoringStrategy* value); + void (*setForegroundColor1)(Ark_NativePointer node, + const Opt_Union_ResourceColor_ColoringStrategy* value); void (*setOnClick0)(Ark_NativePointer node, const Callback_ClickEvent_Void* value); void (*setOnClick1)(Ark_NativePointer node, @@ -17701,6 +19333,8 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Ark_Number* distanceThreshold); void (*setOnHover)(Ark_NativePointer node, const Callback_Boolean_HoverEvent_Void* value); + void (*setOnHoverMove)(Ark_NativePointer node, + const Callback_HoverEvent_Void* value); void (*setOnAccessibilityHover)(Ark_NativePointer node, const AccessibilityCallback* value); void (*setHoverEffect)(Ark_NativePointer node, @@ -17709,12 +19343,26 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Callback_MouseEvent_Void* value); void (*setOnTouch)(Ark_NativePointer node, const Callback_TouchEvent_Void* value); - void (*setOnKeyEvent)(Ark_NativePointer node, - const Callback_KeyEvent_Void* value); + void (*setOnKeyEvent0)(Ark_NativePointer node, + const Callback_KeyEvent_Void* value); + void (*setOnKeyEvent1)(Ark_NativePointer node, + const Callback_KeyEvent_Boolean* value); + void (*setOnDigitalCrown)(Ark_NativePointer node, + const Opt_Callback_CrownEvent_Void* value); void (*setOnKeyPreIme)(Ark_NativePointer node, const Callback_KeyEvent_Boolean* value); + void (*setOnKeyEventDispatch)(Ark_NativePointer node, + const Callback_KeyEvent_Boolean* value); + void (*setOnFocusAxisEvent)(Ark_NativePointer node, + const Callback_FocusAxisEvent_Void* value); + void (*setOnAxisEvent)(Ark_NativePointer node, + const Callback_AxisEvent_Void* value); void (*setFocusable)(Ark_NativePointer node, Ark_Boolean value); + void (*setNextFocus)(Ark_NativePointer node, + const Opt_FocusMovement* value); + void (*setTabStop)(Ark_NativePointer node, + Ark_Boolean value); void (*setOnFocus)(Ark_NativePointer node, const Callback_Void* value); void (*setOnBlur)(Ark_NativePointer node, @@ -17736,47 +19384,82 @@ typedef struct GENERATED_ArkUICommonMethodModifier { void (*setTransition1)(Ark_NativePointer node, Ark_TransitionEffect effect, const Opt_TransitionFinishCallback* onFinish); - void (*setMotionBlur)(Ark_NativePointer node, - const Ark_MotionBlurOptions* value); - void (*setBrightness)(Ark_NativePointer node, + void (*setMotionBlur0)(Ark_NativePointer node, + const Ark_MotionBlurOptions* value); + void (*setMotionBlur1)(Ark_NativePointer node, + const Opt_MotionBlurOptions* value); + void (*setBrightness0)(Ark_NativePointer node, + const Ark_Number* value); + void (*setBrightness1)(Ark_NativePointer node, + const Opt_Number* value); + void (*setContrast0)(Ark_NativePointer node, + const Ark_Number* value); + void (*setContrast1)(Ark_NativePointer node, + const Opt_Number* value); + void (*setGrayscale0)(Ark_NativePointer node, const Ark_Number* value); - void (*setContrast)(Ark_NativePointer node, - const Ark_Number* value); - void (*setGrayscale)(Ark_NativePointer node, + void (*setGrayscale1)(Ark_NativePointer node, + const Opt_Number* value); + void (*setColorBlend0)(Ark_NativePointer node, + const Ark_Union_Color_String_Resource* value); + void (*setColorBlend1)(Ark_NativePointer node, + const Opt_Union_Color_String_Resource* value); + void (*setSaturate0)(Ark_NativePointer node, const Ark_Number* value); - void (*setColorBlend)(Ark_NativePointer node, - const Ark_Union_Color_String_Resource* value); - void (*setSaturate)(Ark_NativePointer node, - const Ark_Number* value); - void (*setSepia)(Ark_NativePointer node, - const Ark_Number* value); - void (*setInvert)(Ark_NativePointer node, - const Ark_Union_Number_InvertOptions* value); - void (*setHueRotate)(Ark_NativePointer node, - const Ark_Union_Number_String* value); - void (*setUseShadowBatching)(Ark_NativePointer node, - Ark_Boolean value); + void (*setSaturate1)(Ark_NativePointer node, + const Opt_Number* value); + void (*setSepia0)(Ark_NativePointer node, + const Ark_Number* value); + void (*setSepia1)(Ark_NativePointer node, + const Opt_Number* value); + void (*setInvert0)(Ark_NativePointer node, + const Ark_Union_Number_InvertOptions* value); + void (*setInvert1)(Ark_NativePointer node, + const Opt_Union_Number_InvertOptions* value); + void (*setHueRotate0)(Ark_NativePointer node, + const Ark_Union_Number_String* value); + void (*setHueRotate1)(Ark_NativePointer node, + const Opt_Union_Number_String* value); + void (*setUseShadowBatching0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setUseShadowBatching1)(Ark_NativePointer node, + const Opt_Boolean* value); void (*setUseEffect0)(Ark_NativePointer node, Ark_Boolean value); void (*setUseEffect1)(Ark_NativePointer node, Ark_Boolean useEffect, Ark_EffectType effectType); - void (*setRenderGroup)(Ark_NativePointer node, - Ark_Boolean value); - void (*setFreeze)(Ark_NativePointer node, - Ark_Boolean value); - void (*setTranslate)(Ark_NativePointer node, - const Ark_TranslateOptions* value); - void (*setScale)(Ark_NativePointer node, - const Ark_ScaleOptions* value); + void (*setUseEffect2)(Ark_NativePointer node, + const Opt_Boolean* useEffect, + const Opt_EffectType* effectType); + void (*setRenderGroup0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setRenderGroup1)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setFreeze0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setFreeze1)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setTranslate0)(Ark_NativePointer node, + const Ark_TranslateOptions* value); + void (*setTranslate1)(Ark_NativePointer node, + const Opt_TranslateOptions* value); + void (*setScale0)(Ark_NativePointer node, + const Ark_ScaleOptions* value); + void (*setScale1)(Ark_NativePointer node, + const Opt_ScaleOptions* value); void (*setGridSpan)(Ark_NativePointer node, const Ark_Number* value); void (*setGridOffset)(Ark_NativePointer node, const Ark_Number* value); - void (*setRotate)(Ark_NativePointer node, - const Ark_RotateOptions* value); - void (*setTransform)(Ark_NativePointer node, - const Ark_TransformationMatrix* value); + void (*setRotate0)(Ark_NativePointer node, + const Ark_RotateOptions* value); + void (*setRotate1)(Ark_NativePointer node, + const Opt_RotateOptions* value); + void (*setTransform0)(Ark_NativePointer node, + const Ark_TransformationMatrix* value); + void (*setTransform1)(Ark_NativePointer node, + const Opt_Object* value); void (*setOnAppear)(Ark_NativePointer node, const Callback_Void* value); void (*setOnDisAppear)(Ark_NativePointer node, @@ -17821,8 +19504,10 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Ark_LocalizedAlignRuleOptions* value); void (*setAspectRatio)(Ark_NativePointer node, const Ark_Number* value); - void (*setClickEffect)(Ark_NativePointer node, - const Opt_ClickEffect* value); + void (*setClickEffect0)(Ark_NativePointer node, + const Opt_ClickEffect* value); + void (*setClickEffect1)(Ark_NativePointer node, + const Opt_ClickEffect* value); void (*setOnDragStart)(Ark_NativePointer node, const Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo* value); void (*setOnDragEnter)(Ark_NativePointer node, @@ -17831,40 +19516,62 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Callback_DragEvent_String_Void* value); void (*setOnDragLeave)(Ark_NativePointer node, const Callback_DragEvent_String_Void* value); - void (*setOnDrop)(Ark_NativePointer node, - const Callback_DragEvent_String_Void* value); + void (*setOnDrop0)(Ark_NativePointer node, + const Callback_DragEvent_String_Void* value); + void (*setOnDrop1)(Ark_NativePointer node, + const OnDragEventCallback* eventCallback, + const Opt_DropOptions* dropOptions); void (*setOnDragEnd)(Ark_NativePointer node, const Callback_DragEvent_String_Void* value); void (*setAllowDrop)(Ark_NativePointer node, const Opt_Array_UniformDataType* value); void (*setDraggable)(Ark_NativePointer node, Ark_Boolean value); - void (*setDragPreview)(Ark_NativePointer node, - const Ark_Union_CustomBuilder_DragItemInfo_String* value); + void (*setDragPreview0)(Ark_NativePointer node, + const Ark_Union_CustomBuilder_DragItemInfo_String* value); + void (*setDragPreview1)(Ark_NativePointer node, + const Ark_Union_CustomBuilder_DragItemInfo_String* preview, + const Opt_PreviewConfiguration* config); void (*setOnPreDrag)(Ark_NativePointer node, const Callback_PreDragStatus_Void* value); - void (*setLinearGradient)(Ark_NativePointer node, - const Ark_Type_CommonMethod_linearGradient_value* value); - void (*setSweepGradient)(Ark_NativePointer node, - const Ark_Type_CommonMethod_sweepGradient_value* value); - void (*setRadialGradient)(Ark_NativePointer node, - const Ark_Type_CommonMethod_radialGradient_value* value); + void (*setLinearGradient0)(Ark_NativePointer node, + const Ark_LinearGradientOptions* value); + void (*setLinearGradient1)(Ark_NativePointer node, + const Opt_LinearGradientOptions* value); + void (*setSweepGradient0)(Ark_NativePointer node, + const Ark_SweepGradientOptions* value); + void (*setSweepGradient1)(Ark_NativePointer node, + const Opt_SweepGradientOptions* value); + void (*setRadialGradient0)(Ark_NativePointer node, + const Ark_RadialGradientOptions* value); + void (*setRadialGradient1)(Ark_NativePointer node, + const Opt_RadialGradientOptions* value); void (*setMotionPath)(Ark_NativePointer node, const Ark_MotionPathOptions* value); - void (*setShadow)(Ark_NativePointer node, - const Ark_Union_ShadowOptions_ShadowStyle* value); + void (*setShadow0)(Ark_NativePointer node, + const Ark_Union_ShadowOptions_ShadowStyle* value); + void (*setShadow1)(Ark_NativePointer node, + const Opt_Union_ShadowOptions_ShadowStyle* value); void (*setClip0)(Ark_NativePointer node, const Opt_Boolean* value); void (*setClip1)(Ark_NativePointer node, const Opt_Boolean* value); - void (*setClipShape)(Ark_NativePointer node, - const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape* value); + void (*setClip2)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setClipShape0)(Ark_NativePointer node, + const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape* value); + void (*setClipShape1)(Ark_NativePointer node, + const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape* value); void (*setMask0)(Ark_NativePointer node, const Opt_ProgressMask* value); void (*setMask1)(Ark_NativePointer node, const Opt_ProgressMask* value); - void (*setMaskShape)(Ark_NativePointer node, - const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape* value); + void (*setMask2)(Ark_NativePointer node, + const Opt_ProgressMask* value); + void (*setMaskShape0)(Ark_NativePointer node, + const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape* value); + void (*setMaskShape1)(Ark_NativePointer node, + const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape* value); void (*setKey)(Ark_NativePointer node, const Ark_String* value); void (*setId)(Ark_NativePointer node, @@ -17878,12 +19585,18 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Ark_StateStyles* value); void (*setRestoreId)(Ark_NativePointer node, const Ark_Number* value); - void (*setSphericalEffect)(Ark_NativePointer node, - const Ark_Number* value); - void (*setLightUpEffect)(Ark_NativePointer node, - const Ark_Number* value); - void (*setPixelStretchEffect)(Ark_NativePointer node, - const Ark_PixelStretchEffectOptions* value); + void (*setSphericalEffect0)(Ark_NativePointer node, + const Ark_Number* value); + void (*setSphericalEffect1)(Ark_NativePointer node, + const Opt_Number* value); + void (*setLightUpEffect0)(Ark_NativePointer node, + const Ark_Number* value); + void (*setLightUpEffect1)(Ark_NativePointer node, + const Opt_Number* value); + void (*setPixelStretchEffect0)(Ark_NativePointer node, + const Ark_PixelStretchEffectOptions* value); + void (*setPixelStretchEffect1)(Ark_NativePointer node, + const Opt_PixelStretchEffectOptions* value); void (*setAccessibilityGroup0)(Ark_NativePointer node, Ark_Boolean value); void (*setAccessibilityGroup1)(Ark_NativePointer node, @@ -17893,6 +19606,18 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Ark_String* value); void (*setAccessibilityText1)(Ark_NativePointer node, const Ark_Resource* value); + void (*setAccessibilityNextFocusId)(Ark_NativePointer node, + const Ark_String* value); + void (*setAccessibilityDefaultFocus)(Ark_NativePointer node, + Ark_Boolean value); + void (*setAccessibilityUseSamePage)(Ark_NativePointer node, + Ark_AccessibilitySamePageMode value); + void (*setAccessibilityScrollTriggerable)(Ark_NativePointer node, + Ark_Boolean value); + void (*setAccessibilityRole)(Ark_NativePointer node, + Ark_AccessibilityRoleType value); + void (*setOnAccessibilityFocus)(Ark_NativePointer node, + const AccessibilityFocusCallback* value); void (*setAccessibilityTextHint)(Ark_NativePointer node, const Ark_String* value); void (*setAccessibilityDescription0)(Ark_NativePointer node, @@ -17911,12 +19636,18 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Array_ObscuredReasons* value); void (*setReuseId)(Ark_NativePointer node, const Ark_String* value); - void (*setRenderFit)(Ark_NativePointer node, - Ark_RenderFit value); + void (*setReuse)(Ark_NativePointer node, + const Ark_ReuseOptions* value); + void (*setRenderFit0)(Ark_NativePointer node, + Ark_RenderFit value); + void (*setRenderFit1)(Ark_NativePointer node, + const Opt_RenderFit* value); void (*setGestureModifier)(Ark_NativePointer node, Ark_GestureModifier value); - void (*setBackgroundBrightness)(Ark_NativePointer node, - const Ark_BackgroundBrightnessOptions* value); + void (*setBackgroundBrightness0)(Ark_NativePointer node, + const Ark_BackgroundBrightnessOptions* value); + void (*setBackgroundBrightness1)(Ark_NativePointer node, + const Opt_BackgroundBrightnessOptions* value); void (*setOnGestureJudgeBegin)(Ark_NativePointer node, const Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult* value); void (*setOnGestureRecognizerJudgeBegin0)(Ark_NativePointer node, @@ -17932,6 +19663,8 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const Callback_TouchEvent_HitTestMode* value); void (*setOnSizeChange)(Ark_NativePointer node, const SizeChangeCallback* value); + void (*setAccessibilityFocusDrawLevel)(Ark_NativePointer node, + Ark_FocusDrawLevel value); void (*setCustomProperty)(Ark_NativePointer node, const Ark_String* name, const Opt_Object* value); @@ -17941,15 +19674,26 @@ typedef struct GENERATED_ArkUICommonMethodModifier { void (*setBackground)(Ark_NativePointer node, const CustomNodeBuilder* builder, const Opt_Literal_Alignment_align* options); - void (*setBackgroundImage)(Ark_NativePointer node, - const Ark_Union_ResourceStr_PixelMap* src, - const Opt_ImageRepeat* repeat); - void (*setBackgroundBlurStyle)(Ark_NativePointer node, - Ark_BlurStyle value, - const Opt_BackgroundBlurStyleOptions* options); - void (*setForegroundBlurStyle)(Ark_NativePointer node, - Ark_BlurStyle value, - const Opt_ForegroundBlurStyleOptions* options); + void (*setBackgroundImage0)(Ark_NativePointer node, + const Ark_Union_ResourceStr_PixelMap* src, + const Opt_ImageRepeat* repeat); + void (*setBackgroundImage1)(Ark_NativePointer node, + const Ark_Union_ResourceStr_PixelMap* src, + const Opt_BackgroundImageOptions* options); + void (*setBackgroundBlurStyle0)(Ark_NativePointer node, + Ark_BlurStyle value, + const Opt_BackgroundBlurStyleOptions* options); + void (*setBackgroundBlurStyle1)(Ark_NativePointer node, + const Opt_BlurStyle* style, + const Opt_BackgroundBlurStyleOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions); + void (*setForegroundBlurStyle0)(Ark_NativePointer node, + Ark_BlurStyle value, + const Opt_ForegroundBlurStyleOptions* options); + void (*setForegroundBlurStyle1)(Ark_NativePointer node, + const Opt_BlurStyle* style, + const Opt_ForegroundBlurStyleOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions); void (*setFocusScopeId0)(Ark_NativePointer node, const Ark_String* id, const Opt_Boolean* isGroup); @@ -17969,16 +19713,27 @@ typedef struct GENERATED_ArkUICommonMethodModifier { void (*setParallelGesture)(Ark_NativePointer node, const Ark_GestureType* gesture, const Opt_GestureMask* mask); - void (*setBlur)(Ark_NativePointer node, - const Ark_Number* value, - const Opt_BlurOptions* options); - void (*setLinearGradientBlur)(Ark_NativePointer node, - const Ark_Number* value, - const Ark_LinearGradientBlurOptions* options); + void (*setBlur0)(Ark_NativePointer node, + const Ark_Number* value, + const Opt_BlurOptions* options); + void (*setBlur1)(Ark_NativePointer node, + const Opt_Number* blurRadius, + const Opt_BlurOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions); + void (*setLinearGradientBlur0)(Ark_NativePointer node, + const Ark_Number* value, + const Ark_LinearGradientBlurOptions* options); + void (*setLinearGradientBlur1)(Ark_NativePointer node, + const Opt_Number* blurRadius, + const Opt_LinearGradientBlurOptions* options); void (*setSystemBarEffect)(Ark_NativePointer node); - void (*setBackdropBlur)(Ark_NativePointer node, - const Ark_Number* value, - const Opt_BlurOptions* options); + void (*setBackdropBlur0)(Ark_NativePointer node, + const Ark_Number* value, + const Opt_BlurOptions* options); + void (*setBackdropBlur1)(Ark_NativePointer node, + const Opt_Number* radius, + const Opt_BlurOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions); void (*setSharedTransition)(Ark_NativePointer node, const Ark_String* id, const Opt_sharedTransitionOptions* options); @@ -17991,12 +19746,18 @@ typedef struct GENERATED_ArkUICommonMethodModifier { void (*setOverlay)(Ark_NativePointer node, const Ark_Union_String_CustomBuilder_ComponentContent* value, const Opt_OverlayOptions* options); - void (*setBlendMode)(Ark_NativePointer node, - Ark_BlendMode value, - const Opt_BlendApplyType* type); + void (*setBlendMode0)(Ark_NativePointer node, + Ark_BlendMode value, + const Opt_BlendApplyType* type); + void (*setBlendMode1)(Ark_NativePointer node, + const Opt_BlendMode* mode, + const Opt_BlendApplyType* type); void (*setAdvancedBlendMode)(Ark_NativePointer node, const Ark_Union_BlendMode_Blender* effect, const Opt_BlendApplyType* type); + void (*setBindTips)(Ark_NativePointer node, + const Ark_TipsMessageType* message, + const Opt_TipsOptions* options); void (*setBindPopup)(Ark_NativePointer node, Ark_Boolean show, const Ark_Union_PopupOptions_CustomPopupOptions* popup); @@ -18016,20 +19777,23 @@ typedef struct GENERATED_ArkUICommonMethodModifier { const CustomNodeBuilder* content, const Opt_ContextMenuOptions* options); void (*setBindContentCover0)(Ark_NativePointer node, - const Opt_Boolean* isShow, + Ark_Boolean isShow, const CustomNodeBuilder* builder, const Opt_ModalTransition* type); void (*setBindContentCover1)(Ark_NativePointer node, - const Opt_Boolean* isShow, + Ark_Boolean isShow, const CustomNodeBuilder* builder, const Opt_ContentCoverOptions* options); void (*setBindSheet)(Ark_NativePointer node, - const Opt_Boolean* isShow, + Ark_Boolean isShow, const CustomNodeBuilder* builder, const Opt_SheetOptions* options); void (*setOnVisibleAreaChange)(Ark_NativePointer node, const Array_Number* ratios, const VisibleAreaChangeCallback* event); + void (*setOnVisibleAreaApproximateChange)(Ark_NativePointer node, + const Ark_VisibleAreaEventOptions* options, + const Opt_VisibleAreaChangeCallback* event); void (*setKeyboardShortcut)(Ark_NativePointer node, const Ark_Union_String_FunctionKey* value, const Array_ModifierKey* keys, @@ -18062,11 +19826,11 @@ typedef struct GENERATED_ArkUICommonShapeMethodModifier { void (*setFillOpacity)(Ark_NativePointer node, const Ark_Union_Number_String_Resource* value); void (*setStrokeWidth)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setAntiAlias)(Ark_NativePointer node, Ark_Boolean value); void (*setStrokeDashArray)(Ark_NativePointer node, - const Array_Union_String_Number_Resource* value); + const Array_Length* value); } GENERATED_ArkUICommonShapeMethodModifier; typedef struct GENERATED_ArkUIScrollableCommonMethodModifier { @@ -18098,6 +19862,10 @@ typedef struct GENERATED_ArkUIScrollableCommonMethodModifier { const Ark_Number* value); void (*setClipContent)(Ark_NativePointer node, const Ark_Union_ContentClipMode_RectShape* value); + void (*setDigitalCrownSensitivity)(Ark_NativePointer node, + const Opt_CrownSensitivity* value); + void (*setBackToTop)(Ark_NativePointer node, + Ark_Boolean value); void (*setEdgeEffect)(Ark_NativePointer node, Ark_EdgeEffect edgeEffect, const Opt_EdgeEffectOptions* options); @@ -18106,6 +19874,83 @@ typedef struct GENERATED_ArkUIScrollableCommonMethodModifier { const Opt_FadingEdgeOptions* options); } GENERATED_ArkUIScrollableCommonMethodModifier; +typedef struct GENERATED_ArkUINavigationModifier { + Ark_NativePointer (*construct)(Ark_Int32 id, + Ark_Int32 flags); + void (*setNavigationOptions0)(Ark_NativePointer node); + void (*setNavigationOptions1)(Ark_NativePointer node, + Ark_NavPathStack pathInfos); + void (*setNavBarWidth)(Ark_NativePointer node, + const Ark_Length* value); + void (*setNavBarPosition)(Ark_NativePointer node, + Ark_NavBarPosition value); + void (*setNavBarWidthRange)(Ark_NativePointer node, + const Ark_Tuple_Dimension_Dimension* value); + void (*setMinContentWidth)(Ark_NativePointer node, + const Ark_Dimension* value); + void (*setMode)(Ark_NativePointer node, + Ark_NavigationMode value); + void (*setBackButtonIcon0)(Ark_NativePointer node, + const Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier* value); + void (*setBackButtonIcon1)(Ark_NativePointer node, + const Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier* icon, + const Opt_ResourceStr* accessibilityText); + void (*setHideNavBar)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSubTitle)(Ark_NativePointer node, + const Ark_String* value); + void (*setHideTitleBar0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setHideTitleBar1)(Ark_NativePointer node, + Ark_Boolean hide, + Ark_Boolean animated); + void (*setHideBackButton)(Ark_NativePointer node, + Ark_Boolean value); + void (*setTitleMode)(Ark_NativePointer node, + Ark_NavigationTitleMode value); + void (*setMenus0)(Ark_NativePointer node, + const Ark_Union_Array_NavigationMenuItem_CustomBuilder* value); + void (*setMenus1)(Ark_NativePointer node, + const Ark_Union_Array_NavigationMenuItem_CustomBuilder* items, + const Opt_NavigationMenuOptions* options); + void (*setToolBar)(Ark_NativePointer node, + const CustomNodeBuilder* value); + void (*setHideToolBar0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setHideToolBar1)(Ark_NativePointer node, + Ark_Boolean hide, + Ark_Boolean animated); + void (*setEnableToolBarAdaptation)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOnTitleModeChange)(Ark_NativePointer node, + const Callback_NavigationTitleMode_Void* value); + void (*setOnNavBarStateChange)(Ark_NativePointer node, + const Callback_Boolean_Void* value); + void (*setOnNavigationModeChange)(Ark_NativePointer node, + const Callback_NavigationMode_Void* value); + void (*setNavDestination)(Ark_NativePointer node, + const Callback_String_Opt_Object_Void* value); + void (*setCustomNavContentTransition)(Ark_NativePointer node, + const Type_NavigationAttribute_customNavContentTransition_delegate* value); + void (*setSystemBarStyle)(Ark_NativePointer node, + const Opt_SystemBarStyle* value); + void (*setRecoverable)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setEnableDragBar)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setEnableModeChangeAnimation)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setTitle)(Ark_NativePointer node, + const Ark_Type_NavigationAttribute_title_value* value, + const Opt_NavigationTitleOptions* options); + void (*setToolbarConfiguration)(Ark_NativePointer node, + const Ark_Union_Array_ToolbarItem_CustomBuilder* value, + const Opt_NavigationToolbarOptions* options); + void (*setIgnoreLayoutSafeArea)(Ark_NativePointer node, + const Opt_Array_LayoutSafeAreaType* types, + const Opt_Array_LayoutSafeAreaEdge* edges); +} GENERATED_ArkUINavigationModifier; + typedef struct GENERATED_ArkUICanvasModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); @@ -18125,20 +19970,34 @@ typedef struct GENERATED_ArkUICheckboxModifier { Ark_Int32 flags); void (*setCheckboxOptions)(Ark_NativePointer node, const Opt_CheckboxOptions* options); - void (*setSelect)(Ark_NativePointer node, - Ark_Boolean value); - void (*setSelectedColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); - void (*setShape)(Ark_NativePointer node, - Ark_CheckBoxShape value); - void (*setUnselectedColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); - void (*setMark)(Ark_NativePointer node, - const Ark_MarkStyle* value); - void (*setOnChange)(Ark_NativePointer node, - const OnCheckboxChangeCallback* value); - void (*setContentModifier)(Ark_NativePointer node, - const Ark_Object* value); + void (*setSelect0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSelect1)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setSelectedColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setSelectedColor1)(Ark_NativePointer node, + const Opt_ResourceColor* value); + void (*setShape0)(Ark_NativePointer node, + Ark_CheckBoxShape value); + void (*setShape1)(Ark_NativePointer node, + const Opt_CheckBoxShape* value); + void (*setUnselectedColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setUnselectedColor1)(Ark_NativePointer node, + const Opt_ResourceColor* value); + void (*setMark0)(Ark_NativePointer node, + const Ark_MarkStyle* value); + void (*setMark1)(Ark_NativePointer node, + const Opt_MarkStyle* value); + void (*setOnChange0)(Ark_NativePointer node, + const OnCheckboxChangeCallback* value); + void (*setOnChange1)(Ark_NativePointer node, + const Opt_OnCheckboxChangeCallback* value); + void (*setContentModifier0)(Ark_NativePointer node, + const Ark_Object* value); + void (*setContentModifier1)(Ark_NativePointer node, + const Opt_ContentModifier* value); void (*set_onChangeEvent_select)(Ark_NativePointer node, const Callback_Boolean_Void* callback); } GENERATED_ArkUICheckboxModifier; @@ -18148,18 +20007,30 @@ typedef struct GENERATED_ArkUICheckboxGroupModifier { Ark_Int32 flags); void (*setCheckboxGroupOptions)(Ark_NativePointer node, const Opt_CheckboxGroupOptions* options); - void (*setSelectAll)(Ark_NativePointer node, - Ark_Boolean value); - void (*setSelectedColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); - void (*setUnselectedColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); - void (*setMark)(Ark_NativePointer node, - const Ark_MarkStyle* value); - void (*setOnChange)(Ark_NativePointer node, - const OnCheckboxGroupChangeCallback* value); - void (*setCheckboxShape)(Ark_NativePointer node, - Ark_CheckBoxShape value); + void (*setSelectAll0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setSelectAll1)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setSelectedColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setSelectedColor1)(Ark_NativePointer node, + const Opt_ResourceColor* value); + void (*setUnselectedColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setUnselectedColor1)(Ark_NativePointer node, + const Opt_ResourceColor* value); + void (*setMark0)(Ark_NativePointer node, + const Ark_MarkStyle* value); + void (*setMark1)(Ark_NativePointer node, + const Opt_MarkStyle* value); + void (*setOnChange0)(Ark_NativePointer node, + const OnCheckboxGroupChangeCallback* value); + void (*setOnChange1)(Ark_NativePointer node, + const Opt_OnCheckboxGroupChangeCallback* value); + void (*setCheckboxShape0)(Ark_NativePointer node, + Ark_CheckBoxShape value); + void (*setCheckboxShape1)(Ark_NativePointer node, + const Opt_CheckBoxShape* value); void (*set_onChangeEvent_selectAll)(Ark_NativePointer node, const Callback_Boolean_Void* callback); } GENERATED_ArkUICheckboxGroupModifier; @@ -18174,8 +20045,10 @@ typedef struct GENERATED_ArkUICircleModifier { typedef struct GENERATED_ArkUIColumnModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); - void (*setColumnOptions)(Ark_NativePointer node, - const Opt_ColumnOptions* options); + void (*setColumnOptions0)(Ark_NativePointer node, + const Opt_ColumnOptions* options); + void (*setColumnOptions1)(Ark_NativePointer node, + const Opt_Union_ColumnOptions_ColumnOptionsV2* options); void (*setAlignItems)(Ark_NativePointer node, Ark_HorizontalAlign value); void (*setJustifyContent)(Ark_NativePointer node, @@ -18210,9 +20083,9 @@ typedef struct GENERATED_ArkUIComponent3DModifier { void (*setShaderInputBuffer)(Ark_NativePointer node, const Array_Number* value); void (*setRenderWidth)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Dimension* value); void (*setRenderHeight)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Dimension* value); void (*setCustomRender)(Ark_NativePointer node, const Ark_ResourceStr* uri, Ark_Boolean selfRenderUpdate); @@ -18252,7 +20125,7 @@ typedef struct GENERATED_ArkUIDataPanelModifier { void (*setTrackBackgroundColor)(Ark_NativePointer node, const Ark_ResourceColor* value); void (*setStrokeWidth)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setTrackShadow)(Ark_NativePointer node, const Ark_DataPanelShadowOptions* value); void (*setContentModifier)(Ark_NativePointer node, @@ -18264,18 +20137,32 @@ typedef struct GENERATED_ArkUIDatePickerModifier { Ark_Int32 flags); void (*setDatePickerOptions)(Ark_NativePointer node, const Opt_DatePickerOptions* options); - void (*setLunar)(Ark_NativePointer node, - Ark_Boolean value); - void (*setDisappearTextStyle)(Ark_NativePointer node, + void (*setLunar0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setLunar1)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setDisappearTextStyle0)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setDisappearTextStyle1)(Ark_NativePointer node, + const Opt_PickerTextStyle* value); + void (*setTextStyle0)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setTextStyle1)(Ark_NativePointer node, + const Opt_PickerTextStyle* value); + void (*setSelectedTextStyle0)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setTextStyle)(Ark_NativePointer node, - const Ark_PickerTextStyle* value); - void (*setSelectedTextStyle)(Ark_NativePointer node, - const Ark_PickerTextStyle* value); + void (*setSelectedTextStyle1)(Ark_NativePointer node, + const Opt_PickerTextStyle* value); void (*setOnChange)(Ark_NativePointer node, const Callback_DatePickerResult_Void* value); - void (*setOnDateChange)(Ark_NativePointer node, - const Callback_Date_Void* value); + void (*setOnDateChange0)(Ark_NativePointer node, + const Callback_Date_Void* value); + void (*setOnDateChange1)(Ark_NativePointer node, + const Opt_Callback_Date_Void* value); + void (*setDigitalCrownSensitivity)(Ark_NativePointer node, + const Opt_CrownSensitivity* value); + void (*setEnableHapticFeedback)(Ark_NativePointer node, + const Opt_Boolean* value); void (*set_onChangeEvent_selected)(Ark_NativePointer node, const Callback_Date_Void* callback); } GENERATED_ArkUIDatePickerModifier; @@ -18399,7 +20286,7 @@ typedef struct GENERATED_ArkUIGaugeModifier { void (*setColors)(Ark_NativePointer node, const Ark_Type_GaugeAttribute_colors_colors* value); void (*setStrokeWidth)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setDescription)(Ark_NativePointer node, const CustomNodeBuilder* value); void (*setTrackShadow)(Ark_NativePointer node, @@ -18423,9 +20310,9 @@ typedef struct GENERATED_ArkUIGridModifier { void (*setRowsTemplate)(Ark_NativePointer node, const Ark_String* value); void (*setColumnsGap)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setRowsGap)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setScrollBarWidth)(Ark_NativePointer node, const Ark_Union_Number_String* value); void (*setScrollBarColor)(Ark_NativePointer node, @@ -18572,10 +20459,14 @@ typedef struct GENERATED_ArkUIImageModifier { Ark_Boolean value); void (*setFitOriginalSize)(Ark_NativePointer node, Ark_Boolean value); - void (*setFillColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); + void (*setFillColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setFillColor1)(Ark_NativePointer node, + const Ark_Union_ResourceColor_ColorContent* value); void (*setObjectFit)(Ark_NativePointer node, Ark_ImageFit value); + void (*setImageMatrix)(Ark_NativePointer node, + Ark_Matrix4Transit value); void (*setObjectRepeat)(Ark_NativePointer node, Ark_ImageRepeat value); void (*setAutoResize)(Ark_NativePointer node, @@ -18616,6 +20507,8 @@ typedef struct GENERATED_ArkUIImageModifier { Ark_Boolean value); void (*setEnhancedImageQuality)(Ark_NativePointer node, Ark_ResolutionQuality value); + void (*setOrientation)(Ark_NativePointer node, + Ark_ImageRotateOrientation value); } GENERATED_ArkUIImageModifier; typedef struct GENERATED_ArkUIImageAnimatorModifier { @@ -18638,6 +20531,8 @@ typedef struct GENERATED_ArkUIImageAnimatorModifier { Ark_FillMode value); void (*setIterations)(Ark_NativePointer node, const Ark_Number* value); + void (*setMonitorInvisibleArea)(Ark_NativePointer node, + Ark_Boolean value); void (*setOnStart)(Ark_NativePointer node, const Callback_Void* value); void (*setOnPause)(Ark_NativePointer node, @@ -18669,15 +20564,32 @@ typedef struct GENERATED_ArkUIImageSpanModifier { Ark_PixelMap value); } GENERATED_ArkUIImageSpanModifier; +typedef struct GENERATED_ArkUILazyGridLayoutModifier { + Ark_NativePointer (*construct)(Ark_Int32 id, + Ark_Int32 flags); + void (*setRowsGap)(Ark_NativePointer node, + Ark_LengthMetrics value); + void (*setColumnsGap)(Ark_NativePointer node, + Ark_LengthMetrics value); +} GENERATED_ArkUILazyGridLayoutModifier; + +typedef struct GENERATED_ArkUILazyVGridLayoutModifier { + Ark_NativePointer (*construct)(Ark_Int32 id, + Ark_Int32 flags); + void (*setLazyVGridLayoutOptions)(Ark_NativePointer node); + void (*setColumnsTemplate)(Ark_NativePointer node, + const Ark_String* value); +} GENERATED_ArkUILazyVGridLayoutModifier; + typedef struct GENERATED_ArkUILineModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); void (*setLineOptions)(Ark_NativePointer node, const Opt_LineOptions* options); void (*setStartPoint)(Ark_NativePointer node, - const Array_Union_String_Number_Resource* value); + const Array_Length* value); void (*setEndPoint)(Ark_NativePointer node, - const Array_Union_String_Number_Resource* value); + const Array_Length* value); } GENERATED_ArkUILineModifier; typedef struct GENERATED_ArkUIListModifier { @@ -18724,6 +20636,8 @@ typedef struct GENERATED_ArkUIListModifier { Ark_ChildrenMainSize value); void (*setMaintainVisibleContentPosition)(Ark_NativePointer node, Ark_Boolean value); + void (*setStackFromEnd)(Ark_NativePointer node, + Ark_Boolean value); void (*setOnScroll)(Ark_NativePointer node, const Callback_Number_Number_Void* value); void (*setOnScrollIndex)(Ark_NativePointer node, @@ -18756,7 +20670,7 @@ typedef struct GENERATED_ArkUIListModifier { const Callback_Number_ScrollState_Literal_Number_offsetRemain* value); void (*setLanes)(Ark_NativePointer node, const Ark_Union_Number_LengthConstrain* value, - const Opt_Union_String_Number_Resource* gutter); + const Opt_Dimension* gutter); void (*setEdgeEffect)(Ark_NativePointer node, Ark_EdgeEffect value, const Opt_EdgeEffectOptions* options); @@ -18815,7 +20729,7 @@ typedef struct GENERATED_ArkUILocationButtonModifier { void (*setLocationButtonOptions1)(Ark_NativePointer node, const Ark_LocationButtonOptions* options); void (*setOnClick)(Ark_NativePointer node, - const Callback_ClickEvent_LocationButtonOnClickResult_Void* value); + const LocationButtonCallback* value); } GENERATED_ArkUILocationButtonModifier; typedef struct GENERATED_ArkUIMarqueeModifier { @@ -18826,7 +20740,7 @@ typedef struct GENERATED_ArkUIMarqueeModifier { void (*setFontColor)(Ark_NativePointer node, const Ark_ResourceColor* value); void (*setFontSize)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setAllowScale)(Ark_NativePointer node, Ark_Boolean value); void (*setFontWeight)(Ark_NativePointer node, @@ -18855,7 +20769,7 @@ typedef struct GENERATED_ArkUIMenuModifier { Ark_Int32 flags); void (*setMenuOptions)(Ark_NativePointer node); void (*setFontSize)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setFont)(Ark_NativePointer node, const Ark_Font* value); void (*setFontColor)(Ark_NativePointer node, @@ -18909,18 +20823,28 @@ typedef struct GENERATED_ArkUINavDestinationModifier { void (*setHideTitleBar1)(Ark_NativePointer node, Ark_Boolean hide, Ark_Boolean animated); + void (*setHideBackButton)(Ark_NativePointer node, + const Opt_Boolean* value); void (*setOnShown)(Ark_NativePointer node, const Callback_Void* value); void (*setOnHidden)(Ark_NativePointer node, const Callback_Void* value); void (*setOnBackPressed)(Ark_NativePointer node, const Callback_Boolean* value); + void (*setOnResult)(Ark_NativePointer node, + const Opt_Callback_Object_Void* value); void (*setMode)(Ark_NativePointer node, Ark_NavDestinationMode value); - void (*setBackButtonIcon)(Ark_NativePointer node, - const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier* value); - void (*setMenus)(Ark_NativePointer node, - const Ark_Union_Array_NavigationMenuItem_CustomBuilder* value); + void (*setBackButtonIcon0)(Ark_NativePointer node, + const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier* value); + void (*setBackButtonIcon1)(Ark_NativePointer node, + const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier* icon, + const Opt_ResourceStr* accessibilityText); + void (*setMenus0)(Ark_NativePointer node, + const Ark_Union_Array_NavigationMenuItem_CustomBuilder* value); + void (*setMenus1)(Ark_NativePointer node, + const Ark_Union_Array_NavigationMenuItem_CustomBuilder* items, + const Opt_NavigationMenuOptions* options); void (*setOnReady)(Ark_NativePointer node, const Callback_NavDestinationContext_Void* value); void (*setOnWillAppear)(Ark_NativePointer node, @@ -18937,6 +20861,22 @@ typedef struct GENERATED_ArkUINavDestinationModifier { const Opt_Boolean* value); void (*setSystemTransition)(Ark_NativePointer node, Ark_NavigationSystemTransitionType value); + void (*setBindToScrollable)(Ark_NativePointer node, + const Array_Scroller* value); + void (*setBindToNestedScrollable)(Ark_NativePointer node, + const Array_NestedScrollInfo* value); + void (*setOnActive)(Ark_NativePointer node, + const Opt_Callback_NavDestinationActiveReason_Void* value); + void (*setOnInactive)(Ark_NativePointer node, + const Opt_Callback_NavDestinationActiveReason_Void* value); + void (*setCustomTransition)(Ark_NativePointer node, + const NavDestinationTransitionDelegate* value); + void (*setOnNewParam)(Ark_NativePointer node, + const Opt_Callback_Object_Void* value); + void (*setPreferredOrientation)(Ark_NativePointer node, + const Opt_Orientation* value); + void (*setEnableNavigationIndicator)(Ark_NativePointer node, + const Opt_Boolean* value); void (*setTitle)(Ark_NativePointer node, const Ark_Type_NavDestinationAttribute_title_value* value, const Opt_NavigationTitleOptions* options); @@ -18949,6 +20889,9 @@ typedef struct GENERATED_ArkUINavDestinationModifier { void (*setIgnoreLayoutSafeArea)(Ark_NativePointer node, const Opt_Array_LayoutSafeAreaType* types, const Opt_Array_LayoutSafeAreaEdge* edges); + void (*setEnableStatusBar)(Ark_NativePointer node, + const Opt_Boolean* enabled, + const Opt_Boolean* animated); } GENERATED_ArkUINavDestinationModifier; typedef struct GENERATED_ArkUINavRouterModifier { @@ -19026,7 +20969,7 @@ typedef struct GENERATED_ArkUIPasteButtonModifier { void (*setPasteButtonOptions1)(Ark_NativePointer node, const Ark_PasteButtonOptions* options); void (*setOnClick)(Ark_NativePointer node, - const Callback_ClickEvent_PasteButtonOnClickResult_Void* value); + const PasteButtonCallback* value); } GENERATED_ArkUIPasteButtonModifier; typedef struct GENERATED_ArkUIPathModifier { @@ -19044,9 +20987,9 @@ typedef struct GENERATED_ArkUIPatternLockModifier { void (*setPatternLockOptions)(Ark_NativePointer node, const Opt_PatternLockController* controller); void (*setSideLength)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setCircleRadius)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setBackgroundColor)(Ark_NativePointer node, const Ark_ResourceColor* value); void (*setRegularColor)(Ark_NativePointer node, @@ -19067,6 +21010,8 @@ typedef struct GENERATED_ArkUIPatternLockModifier { const Callback_Number_Void* value); void (*setActivateCircleStyle)(Ark_NativePointer node, const Opt_CircleStyleOptions* value); + void (*setSkipUnselectedPoint)(Ark_NativePointer node, + Ark_Boolean value); } GENERATED_ArkUIPatternLockModifier; typedef struct GENERATED_ArkUIPluginComponentModifier { @@ -19133,14 +21078,20 @@ typedef struct GENERATED_ArkUIRadioModifier { Ark_Int32 flags); void (*setRadioOptions)(Ark_NativePointer node, const Ark_RadioOptions* options); - void (*setChecked)(Ark_NativePointer node, - Ark_Boolean value); - void (*setOnChange)(Ark_NativePointer node, - const Callback_Boolean_Void* value); + void (*setChecked0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setChecked1)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOnChange0)(Ark_NativePointer node, + const Callback_Boolean_Void* value); + void (*setOnChange1)(Ark_NativePointer node, + const Opt_OnRadioChangeCallback* value); void (*setRadioStyle)(Ark_NativePointer node, const Opt_RadioStyle* value); - void (*setContentModifier)(Ark_NativePointer node, - const Ark_Object* value); + void (*setContentModifier0)(Ark_NativePointer node, + const Ark_Object* value); + void (*setContentModifier1)(Ark_NativePointer node, + const Opt_ContentModifier* value); void (*set_onChangeEvent_checked)(Ark_NativePointer node, const Callback_Boolean_Void* callback); } GENERATED_ArkUIRadioModifier; @@ -19150,16 +21101,26 @@ typedef struct GENERATED_ArkUIRatingModifier { Ark_Int32 flags); void (*setRatingOptions)(Ark_NativePointer node, const Opt_RatingOptions* options); - void (*setStars)(Ark_NativePointer node, - const Ark_Number* value); - void (*setStepSize)(Ark_NativePointer node, - const Ark_Number* value); - void (*setStarStyle)(Ark_NativePointer node, - const Ark_StarStyleOptions* value); - void (*setOnChange)(Ark_NativePointer node, - const Callback_Number_Void* value); - void (*setContentModifier)(Ark_NativePointer node, - const Ark_Object* value); + void (*setStars0)(Ark_NativePointer node, + const Ark_Number* value); + void (*setStars1)(Ark_NativePointer node, + const Opt_Number* value); + void (*setStepSize0)(Ark_NativePointer node, + const Ark_Number* value); + void (*setStepSize1)(Ark_NativePointer node, + const Opt_Number* value); + void (*setStarStyle0)(Ark_NativePointer node, + const Ark_StarStyleOptions* value); + void (*setStarStyle1)(Ark_NativePointer node, + const Opt_StarStyleOptions* value); + void (*setOnChange0)(Ark_NativePointer node, + const Callback_Number_Void* value); + void (*setOnChange1)(Ark_NativePointer node, + const Opt_OnRatingChangeCallback* value); + void (*setContentModifier0)(Ark_NativePointer node, + const Ark_Object* value); + void (*setContentModifier1)(Ark_NativePointer node, + const Opt_ContentModifier* value); void (*set_onChangeEvent_rating)(Ark_NativePointer node, const Callback_Number_Void* callback); } GENERATED_ArkUIRatingModifier; @@ -19269,6 +21230,14 @@ typedef struct GENERATED_ArkUIRichEditorModifier { Ark_Boolean value); void (*setBarState)(Ark_NativePointer node, Ark_BarState value); + void (*setMaxLength)(Ark_NativePointer node, + const Opt_Number* value); + void (*setMaxLines)(Ark_NativePointer node, + const Opt_Number* value); + void (*setKeyboardAppearance)(Ark_NativePointer node, + const Opt_KeyboardAppearance* value); + void (*setStopBackPress)(Ark_NativePointer node, + const Opt_Boolean* value); void (*setBindSelectionMenu)(Ark_NativePointer node, Ark_RichEditorSpanType spanType, const CustomNodeBuilder* content, @@ -19303,8 +21272,10 @@ typedef struct GENERATED_ArkUIRootSceneModifier { typedef struct GENERATED_ArkUIRowModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); - void (*setRowOptions)(Ark_NativePointer node, - const Opt_RowOptions* options); + void (*setRowOptions0)(Ark_NativePointer node, + const Opt_RowOptions* options); + void (*setRowOptions1)(Ark_NativePointer node, + const Opt_Union_RowOptions_RowOptionsV2* options); void (*setAlignItems)(Ark_NativePointer node, Ark_VerticalAlign value); void (*setJustifyContent)(Ark_NativePointer node, @@ -19330,7 +21301,7 @@ typedef struct GENERATED_ArkUISaveButtonModifier { void (*setSaveButtonOptions1)(Ark_NativePointer node, const Ark_SaveButtonOptions* options); void (*setOnClick)(Ark_NativePointer node, - const Callback_ClickEvent_SaveButtonOnClickResult_Void* value); + const SaveButtonCallback* value); } GENERATED_ArkUISaveButtonModifier; typedef struct GENERATED_ArkUIScreenModifier { @@ -19407,7 +21378,7 @@ typedef struct GENERATED_ArkUISearchModifier { void (*setCancelButton)(Ark_NativePointer node, const Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions* value); void (*setTextIndent)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Dimension* value); void (*setOnEditChange)(Ark_NativePointer node, const Callback_Boolean_Void* value); void (*setSelectedBackgroundColor)(Ark_NativePointer node, @@ -19452,6 +21423,10 @@ typedef struct GENERATED_ArkUISearchModifier { const Ark_Union_Number_String_Resource* value); void (*setMaxFontSize)(Ark_NativePointer node, const Ark_Union_Number_String_Resource* value); + void (*setMinFontScale)(Ark_NativePointer node, + const Opt_Union_Number_Resource* value); + void (*setMaxFontScale)(Ark_NativePointer node, + const Opt_Union_Number_Resource* value); void (*setDecoration)(Ark_NativePointer node, const Ark_TextDecorationOptions* value); void (*setLetterSpacing)(Ark_NativePointer node, @@ -19476,6 +21451,16 @@ typedef struct GENERATED_ArkUISearchModifier { Ark_Boolean value); void (*setEnableHapticFeedback)(Ark_NativePointer node, Ark_Boolean value); + void (*setAutoCapitalizationMode)(Ark_NativePointer node, + Ark_AutoCapitalizationMode value); + void (*setHalfLeading)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setStopBackPress)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOnWillChange)(Ark_NativePointer node, + const Callback_EditableTextChangeValue_Boolean* value); + void (*setKeyboardAppearance)(Ark_NativePointer node, + const Opt_KeyboardAppearance* value); void (*setSearchButton)(Ark_NativePointer node, const Ark_String* value, const Opt_SearchButtonOptions* option); @@ -19493,7 +21478,7 @@ typedef struct GENERATED_ArkUISecurityComponentMethodModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); void (*setIconSize)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Dimension* value); void (*setLayoutDirection)(Ark_NativePointer node, Ark_SecurityComponentLayoutDirection value); void (*setPosition)(Ark_NativePointer node, @@ -19503,7 +21488,7 @@ typedef struct GENERATED_ArkUISecurityComponentMethodModifier { void (*setOffset)(Ark_NativePointer node, const Ark_Union_Position_Edges_LocalizedEdges* value); void (*setFontSize)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Dimension* value); void (*setFontStyle)(Ark_NativePointer node, Ark_FontStyle value); void (*setFontWeight)(Ark_NativePointer node, @@ -19519,75 +21504,157 @@ typedef struct GENERATED_ArkUISecurityComponentMethodModifier { void (*setBorderStyle)(Ark_NativePointer node, Ark_BorderStyle value); void (*setBorderWidth)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Dimension* value); void (*setBorderColor)(Ark_NativePointer node, const Ark_ResourceColor* value); - void (*setBorderRadius)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + void (*setBorderRadius0)(Ark_NativePointer node, + const Ark_Dimension* value); + void (*setBorderRadius1)(Ark_NativePointer node, + const Ark_Union_Dimension_BorderRadiuses* value); void (*setPadding)(Ark_NativePointer node, const Ark_Union_Padding_Dimension* value); void (*setTextIconSpace)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Dimension* value); void (*setKey)(Ark_NativePointer node, const Ark_String* value); void (*setWidth)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setHeight)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setSize)(Ark_NativePointer node, const Ark_SizeOptions* value); void (*setConstraintSize)(Ark_NativePointer node, const Ark_ConstraintSizeOptions* value); -} GENERATED_ArkUISecurityComponentMethodModifier; - -typedef struct GENERATED_ArkUISelectModifier { - Ark_NativePointer (*construct)(Ark_Int32 id, - Ark_Int32 flags); - void (*setSelectOptions)(Ark_NativePointer node, - const Array_SelectOption* options); - void (*setSelected)(Ark_NativePointer node, - const Ark_Union_Number_Resource* value); - void (*setValue)(Ark_NativePointer node, - const Ark_ResourceStr* value); - void (*setFont)(Ark_NativePointer node, - const Ark_Font* value); - void (*setFontColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); - void (*setSelectedOptionBgColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); - void (*setSelectedOptionFont)(Ark_NativePointer node, - const Ark_Font* value); - void (*setSelectedOptionFontColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); - void (*setOptionBgColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); - void (*setOptionFont)(Ark_NativePointer node, - const Ark_Font* value); - void (*setOptionFontColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); - void (*setOnSelect)(Ark_NativePointer node, - const Callback_Number_String_Void* value); - void (*setSpace)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); - void (*setArrowPosition)(Ark_NativePointer node, - Ark_ArrowPosition value); - void (*setOptionWidth)(Ark_NativePointer node, - const Ark_Union_Dimension_OptionWidthMode* value); - void (*setOptionHeight)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); - void (*setMenuBackgroundColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); - void (*setMenuBackgroundBlurStyle)(Ark_NativePointer node, - Ark_BlurStyle value); - void (*setControlSize)(Ark_NativePointer node, - Ark_ControlSize value); - void (*setMenuItemContentModifier)(Ark_NativePointer node, - const Ark_Object* value); + void (*setAlign)(Ark_NativePointer node, + Ark_Alignment value); + void (*setAlignRules0)(Ark_NativePointer node, + const Ark_AlignRuleOption* value); + void (*setAlignRules1)(Ark_NativePointer node, + const Ark_LocalizedAlignRuleOptions* value); + void (*setId)(Ark_NativePointer node, + const Ark_String* value); + void (*setMinFontScale)(Ark_NativePointer node, + const Ark_Union_Number_Resource* value); + void (*setMaxFontScale)(Ark_NativePointer node, + const Ark_Union_Number_Resource* value); + void (*setMaxLines)(Ark_NativePointer node, + const Ark_Number* value); + void (*setMinFontSize)(Ark_NativePointer node, + const Ark_Union_Number_String_Resource* value); + void (*setMaxFontSize)(Ark_NativePointer node, + const Ark_Union_Number_String_Resource* value); + void (*setHeightAdaptivePolicy)(Ark_NativePointer node, + Ark_TextHeightAdaptivePolicy value); + void (*setEnabled)(Ark_NativePointer node, + Ark_Boolean value); + void (*setChainMode)(Ark_NativePointer node, + Ark_Axis direction, + Ark_ChainStyle style); +} GENERATED_ArkUISecurityComponentMethodModifier; + +typedef struct GENERATED_ArkUISelectModifier { + Ark_NativePointer (*construct)(Ark_Int32 id, + Ark_Int32 flags); + void (*setSelectOptions)(Ark_NativePointer node, + const Array_SelectOption* options); + void (*setSelected0)(Ark_NativePointer node, + const Ark_Union_Number_Resource* value); + void (*setSelected1)(Ark_NativePointer node, + const Opt_Union_Number_Resource* value); + void (*setValue0)(Ark_NativePointer node, + const Ark_ResourceStr* value); + void (*setValue1)(Ark_NativePointer node, + const Opt_ResourceStr* value); + void (*setFont0)(Ark_NativePointer node, + const Ark_Font* value); + void (*setFont1)(Ark_NativePointer node, + const Opt_Font* value); + void (*setFontColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setFontColor1)(Ark_NativePointer node, + const Opt_ResourceColor* value); + void (*setSelectedOptionBgColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setSelectedOptionBgColor1)(Ark_NativePointer node, + const Opt_ResourceColor* value); + void (*setSelectedOptionFont0)(Ark_NativePointer node, + const Ark_Font* value); + void (*setSelectedOptionFont1)(Ark_NativePointer node, + const Opt_Font* value); + void (*setSelectedOptionFontColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setSelectedOptionFontColor1)(Ark_NativePointer node, + const Opt_ResourceColor* value); + void (*setOptionBgColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setOptionBgColor1)(Ark_NativePointer node, + const Opt_ResourceColor* value); + void (*setOptionFont0)(Ark_NativePointer node, + const Ark_Font* value); + void (*setOptionFont1)(Ark_NativePointer node, + const Opt_Font* value); + void (*setOptionFontColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setOptionFontColor1)(Ark_NativePointer node, + const Opt_ResourceColor* value); + void (*setOnSelect0)(Ark_NativePointer node, + const Callback_Number_String_Void* value); + void (*setOnSelect1)(Ark_NativePointer node, + const Opt_OnSelectCallback* value); + void (*setSpace0)(Ark_NativePointer node, + const Ark_Length* value); + void (*setSpace1)(Ark_NativePointer node, + const Opt_Length* value); + void (*setArrowPosition0)(Ark_NativePointer node, + Ark_ArrowPosition value); + void (*setArrowPosition1)(Ark_NativePointer node, + const Opt_ArrowPosition* value); + void (*setOptionWidth0)(Ark_NativePointer node, + const Ark_Union_Dimension_OptionWidthMode* value); + void (*setOptionWidth1)(Ark_NativePointer node, + const Opt_Union_Dimension_OptionWidthMode* value); + void (*setOptionHeight0)(Ark_NativePointer node, + const Ark_Dimension* value); + void (*setOptionHeight1)(Ark_NativePointer node, + const Opt_Dimension* value); + void (*setMenuBackgroundColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setMenuBackgroundColor1)(Ark_NativePointer node, + const Opt_ResourceColor* value); + void (*setMenuBackgroundBlurStyle0)(Ark_NativePointer node, + Ark_BlurStyle value); + void (*setMenuBackgroundBlurStyle1)(Ark_NativePointer node, + const Opt_BlurStyle* value); + void (*setControlSize0)(Ark_NativePointer node, + Ark_ControlSize value); + void (*setControlSize1)(Ark_NativePointer node, + const Opt_ControlSize* value); + void (*setMenuItemContentModifier0)(Ark_NativePointer node, + const Ark_Object* value); + void (*setMenuItemContentModifier1)(Ark_NativePointer node, + const Opt_ContentModifier* value); void (*setDivider)(Ark_NativePointer node, const Opt_DividerOptions* value); - void (*setMenuAlign)(Ark_NativePointer node, - Ark_MenuAlignType alignType, - const Opt_Offset* offset); + void (*setTextModifier)(Ark_NativePointer node, + const Opt_TextModifier* value); + void (*setArrowModifier)(Ark_NativePointer node, + const Opt_SymbolGlyphModifier* value); + void (*setOptionTextModifier)(Ark_NativePointer node, + const Opt_TextModifier* value); + void (*setSelectedOptionTextModifier)(Ark_NativePointer node, + const Opt_TextModifier* value); + void (*setDividerStyle)(Ark_NativePointer node, + const Opt_DividerStyleOptions* value); + void (*setAvoidance)(Ark_NativePointer node, + Ark_AvoidanceMode value); + void (*setMenuOutline)(Ark_NativePointer node, + const Ark_MenuOutlineOptions* value); + void (*setMenuAlign0)(Ark_NativePointer node, + Ark_MenuAlignType alignType, + const Opt_Offset* offset); + void (*setMenuAlign1)(Ark_NativePointer node, + const Opt_MenuAlignType* alignType, + const Opt_Offset* offset); void (*set_onChangeEvent_selected)(Ark_NativePointer node, const Callback_Union_Number_Resource_Void* callback); void (*set_onChangeEvent_value)(Ark_NativePointer node, @@ -19609,7 +21676,7 @@ typedef struct GENERATED_ArkUIShapeModifier { void (*setStrokeDashOffset)(Ark_NativePointer node, const Ark_Union_Number_String* value); void (*setStrokeDashArray)(Ark_NativePointer node, - const Array_Union_String_Number_Resource* value); + const Array_Length* value); void (*setStrokeLineCap)(Ark_NativePointer node, Ark_LineCapStyle value); void (*setStrokeLineJoin)(Ark_NativePointer node, @@ -19639,8 +21706,10 @@ typedef struct GENERATED_ArkUISliderModifier { const Ark_ResourceColor* value); void (*setTrackColor)(Ark_NativePointer node, const Ark_Union_ResourceColor_LinearGradient* value); - void (*setSelectedColor)(Ark_NativePointer node, - const Ark_ResourceColor* value); + void (*setSelectedColor0)(Ark_NativePointer node, + const Ark_ResourceColor* value); + void (*setSelectedColor1)(Ark_NativePointer node, + const Ark_Union_ResourceColor_LinearGradient* value); void (*setMinLabel)(Ark_NativePointer node, const Ark_String* value); void (*setMaxLabel)(Ark_NativePointer node, @@ -19648,25 +21717,25 @@ typedef struct GENERATED_ArkUISliderModifier { void (*setShowSteps)(Ark_NativePointer node, Ark_Boolean value); void (*setTrackThickness)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setOnChange)(Ark_NativePointer node, const Callback_Number_SliderChangeMode_Void* value); void (*setBlockBorderColor)(Ark_NativePointer node, const Ark_ResourceColor* value); void (*setBlockBorderWidth)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setStepColor)(Ark_NativePointer node, const Ark_ResourceColor* value); void (*setTrackBorderRadius)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setSelectedBorderRadius)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Dimension* value); void (*setBlockSize)(Ark_NativePointer node, const Ark_SizeOptions* value); void (*setBlockStyle)(Ark_NativePointer node, const Ark_SliderBlockStyle* value); void (*setStepSize)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setSliderInteractionMode)(Ark_NativePointer node, Ark_SliderInteraction value); void (*setMinResponsiveDistance)(Ark_NativePointer node, @@ -19675,6 +21744,10 @@ typedef struct GENERATED_ArkUISliderModifier { const Ark_Object* value); void (*setSlideRange)(Ark_NativePointer node, const Ark_SlideRange* value); + void (*setDigitalCrownSensitivity)(Ark_NativePointer node, + const Opt_CrownSensitivity* value); + void (*setEnableHapticFeedback)(Ark_NativePointer node, + Ark_Boolean value); void (*setShowTips)(Ark_NativePointer node, Ark_Boolean value, const Opt_ResourceStr* content); @@ -19715,7 +21788,7 @@ typedef struct GENERATED_ArkUISpanModifier { void (*setTextCase)(Ark_NativePointer node, Ark_TextCase value); void (*setLineHeight)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setTextShadow)(Ark_NativePointer node, const Ark_Union_ShadowOptions_Array_ShadowOptions* value); } GENERATED_ArkUISpanModifier; @@ -19769,14 +21842,17 @@ typedef struct GENERATED_ArkUISwiperModifier { const Opt_SwiperController* controller); void (*setIndex)(Ark_NativePointer node, const Ark_Number* value); - void (*setAutoPlay)(Ark_NativePointer node, - Ark_Boolean value); + void (*setAutoPlay0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setAutoPlay1)(Ark_NativePointer node, + Ark_Boolean autoPlay, + const Ark_AutoPlayOptions* options); void (*setInterval)(Ark_NativePointer node, const Ark_Number* value); void (*setIndicator0)(Ark_NativePointer node, const Ark_Union_DotIndicator_DigitIndicator_Boolean* value); void (*setIndicator1)(Ark_NativePointer node, - Ark_IndicatorComponentController value); + const Ark_Type_SwiperAttribute_indicator_indicator* value); void (*setLoop)(Ark_NativePointer node, Ark_Boolean value); void (*setDuration)(Ark_NativePointer node, @@ -19787,8 +21863,11 @@ typedef struct GENERATED_ArkUISwiperModifier { const Ark_Union_Number_String* value); void (*setDisplayMode)(Ark_NativePointer node, Ark_SwiperDisplayMode value); - void (*setCachedCount)(Ark_NativePointer node, - const Ark_Number* value); + void (*setCachedCount0)(Ark_NativePointer node, + const Ark_Number* value); + void (*setCachedCount1)(Ark_NativePointer node, + const Ark_Number* count, + Ark_Boolean isShown); void (*setEffectMode)(Ark_NativePointer node, Ark_EdgeEffect value); void (*setDisableSwipe)(Ark_NativePointer node, @@ -19797,8 +21876,12 @@ typedef struct GENERATED_ArkUISwiperModifier { const Ark_Union_Curve_String_ICurve* value); void (*setOnChange)(Ark_NativePointer node, const Callback_Number_Void* value); + void (*setOnSelected)(Ark_NativePointer node, + const Callback_Number_Void* value); void (*setIndicatorStyle)(Ark_NativePointer node, const Opt_IndicatorStyle* value); + void (*setOnUnselected)(Ark_NativePointer node, + const Callback_Number_Void* value); void (*setOnAnimationStart)(Ark_NativePointer node, const OnSwiperAnimationStartCallback* value); void (*setOnAnimationEnd)(Ark_NativePointer node, @@ -19813,6 +21896,10 @@ typedef struct GENERATED_ArkUISwiperModifier { const ContentDidScrollCallback* value); void (*setIndicatorInteractive)(Ark_NativePointer node, Ark_Boolean value); + void (*setPageFlipMode)(Ark_NativePointer node, + const Opt_PageFlipMode* value); + void (*setOnContentWillScroll)(Ark_NativePointer node, + const ContentWillScrollCallback* value); void (*setDisplayArrow)(Ark_NativePointer node, const Ark_Union_ArrowStyle_Boolean* value, const Opt_Boolean* isHoverShow); @@ -19820,10 +21907,10 @@ typedef struct GENERATED_ArkUISwiperModifier { const Ark_Union_Number_String_SwiperAutoFill* value, const Opt_Boolean* swipeByGroup); void (*setPrevMargin)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value, + const Ark_Length* value, const Opt_Boolean* ignoreBlank); void (*setNextMargin)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value, + const Ark_Length* value, const Opt_Boolean* ignoreBlank); void (*set_onChangeEvent_index)(Ark_NativePointer node, const Callback_Number_Void* callback); @@ -19863,6 +21950,10 @@ typedef struct GENERATED_ArkUISymbolGlyphModifier { Ark_SymbolEffectStrategy value); void (*setRenderingStrategy)(Ark_NativePointer node, Ark_SymbolRenderingStrategy value); + void (*setMinFontScale)(Ark_NativePointer node, + const Opt_Union_Number_Resource* value); + void (*setMaxFontScale)(Ark_NativePointer node, + const Opt_Union_Number_Resource* value); void (*setSymbolEffect0)(Ark_NativePointer node, Ark_SymbolEffect symbolEffect, const Opt_Boolean* isActive); @@ -19905,9 +21996,9 @@ typedef struct GENERATED_ArkUITabsModifier { Ark_BarMode value, const Opt_ScrollableBarModeOptions* options); void (*setBarWidth)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setBarHeight)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setAnimationDuration)(Ark_NativePointer node, const Ark_Number* value); void (*setAnimationMode)(Ark_NativePointer node, @@ -19916,8 +22007,12 @@ typedef struct GENERATED_ArkUITabsModifier { const Opt_EdgeEffect* value); void (*setOnChange)(Ark_NativePointer node, const Callback_Number_Void* value); + void (*setOnSelected)(Ark_NativePointer node, + const Callback_Number_Void* value); void (*setOnTabBarClick)(Ark_NativePointer node, const Callback_Number_Void* value); + void (*setOnUnselected)(Ark_NativePointer node, + const Callback_Number_Void* value); void (*setOnAnimationStart)(Ark_NativePointer node, const OnTabsAnimationStartCallback* value); void (*setOnAnimationEnd)(Ark_NativePointer node, @@ -19943,10 +22038,15 @@ typedef struct GENERATED_ArkUITabsModifier { const Ark_BackgroundBlurStyleOptions* options); void (*setBarBackgroundEffect)(Ark_NativePointer node, const Ark_BackgroundEffectOptions* value); + void (*setPageFlipMode)(Ark_NativePointer node, + const Opt_PageFlipMode* value); void (*setOnContentWillChange)(Ark_NativePointer node, const OnTabsContentWillChangeCallback* value); void (*setBarModeScrollable)(Ark_NativePointer node, const Ark_ScrollableBarModeOptions* options); + void (*setCachedMaxCount)(Ark_NativePointer node, + const Ark_Number* count, + Ark_TabsCacheMode mode); void (*set_onChangeEvent_index)(Ark_NativePointer node, const Callback_Number_Void* callback); } GENERATED_ArkUITabsModifier; @@ -19959,6 +22059,8 @@ typedef struct GENERATED_ArkUITabContentModifier { const Ark_Union_String_Resource_CustomBuilder_TabBarOptions* value); void (*setTabBar1)(Ark_NativePointer node, const Ark_Union_SubTabBarStyle_BottomTabBarStyle* value); + void (*setTabBar2)(Ark_NativePointer node, + const Ark_Type_TabContentAttribute_tabBar_content* value); void (*setOnWillShow)(Ark_NativePointer node, const VoidCallback* value); void (*setOnWillHide)(Ark_NativePointer node, @@ -20024,7 +22126,7 @@ typedef struct GENERATED_ArkUITextModifier { void (*setHeightAdaptivePolicy)(Ark_NativePointer node, Ark_TextHeightAdaptivePolicy value); void (*setTextIndent)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setWordBreak)(Ark_NativePointer node, Ark_WordBreak value); void (*setLineBreakStrategy)(Ark_NativePointer node, @@ -20045,6 +22147,10 @@ typedef struct GENERATED_ArkUITextModifier { const Callback_Number_Number_Void* value); void (*setFontFeature)(Ark_NativePointer node, const Ark_String* value); + void (*setMarqueeOptions)(Ark_NativePointer node, + const Opt_TextMarqueeOptions* value); + void (*setOnMarqueeStateChange)(Ark_NativePointer node, + const Callback_MarqueeState_Void* value); void (*setPrivacySensitive)(Ark_NativePointer node, Ark_Boolean value); void (*setTextSelectable)(Ark_NativePointer node, @@ -20083,7 +22189,7 @@ typedef struct GENERATED_ArkUITextAreaModifier { void (*setFontColor)(Ark_NativePointer node, const Ark_ResourceColor* value); void (*setFontSize)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setFontStyle)(Ark_NativePointer node, Ark_FontStyle value); void (*setFontWeight)(Ark_NativePointer node, @@ -20093,7 +22199,7 @@ typedef struct GENERATED_ArkUITextAreaModifier { void (*setTextOverflow)(Ark_NativePointer node, Ark_TextOverflow value); void (*setTextIndent)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Dimension* value); void (*setCaretStyle)(Ark_NativePointer node, const Ark_CaretStyle* value); void (*setSelectedBackgroundColor)(Ark_NativePointer node, @@ -20132,6 +22238,10 @@ typedef struct GENERATED_ArkUITextAreaModifier { const Ark_Union_Number_String_Resource* value); void (*setMaxFontSize)(Ark_NativePointer node, const Ark_Union_Number_String_Resource* value); + void (*setMinFontScale)(Ark_NativePointer node, + const Opt_Union_Number_Resource* value); + void (*setMaxFontScale)(Ark_NativePointer node, + const Opt_Union_Number_Resource* value); void (*setHeightAdaptivePolicy)(Ark_NativePointer node, Ark_TextHeightAdaptivePolicy value); void (*setMaxLines)(Ark_NativePointer node, @@ -20170,6 +22280,18 @@ typedef struct GENERATED_ArkUITextAreaModifier { Ark_Boolean value); void (*setEnableHapticFeedback)(Ark_NativePointer node, Ark_Boolean value); + void (*setAutoCapitalizationMode)(Ark_NativePointer node, + Ark_AutoCapitalizationMode value); + void (*setHalfLeading)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setEllipsisMode)(Ark_NativePointer node, + const Opt_EllipsisMode* value); + void (*setStopBackPress)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOnWillChange)(Ark_NativePointer node, + const Callback_EditableTextChangeValue_Boolean* value); + void (*setKeyboardAppearance)(Ark_NativePointer node, + const Opt_KeyboardAppearance* value); void (*setInputFilter)(Ark_NativePointer node, const Ark_ResourceStr* value, const Opt_Callback_String_Void* error); @@ -20195,7 +22317,7 @@ typedef struct GENERATED_ArkUITextClockModifier { void (*setFontColor)(Ark_NativePointer node, const Ark_ResourceColor* value); void (*setFontSize)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setFontStyle)(Ark_NativePointer node, Ark_FontStyle value); void (*setFontWeight)(Ark_NativePointer node, @@ -20226,7 +22348,7 @@ typedef struct GENERATED_ArkUITextInputModifier { void (*setTextOverflow)(Ark_NativePointer node, Ark_TextOverflow value); void (*setTextIndent)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Dimension* value); void (*setPlaceholderFont)(Ark_NativePointer node, const Opt_Font* value); void (*setEnterKeyType)(Ark_NativePointer node, @@ -20250,7 +22372,7 @@ typedef struct GENERATED_ArkUITextInputModifier { void (*setFontColor)(Ark_NativePointer node, const Ark_ResourceColor* value); void (*setFontSize)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setFontStyle)(Ark_NativePointer node, Ark_FontStyle value); void (*setFontWeight)(Ark_NativePointer node, @@ -20309,6 +22431,10 @@ typedef struct GENERATED_ArkUITextInputModifier { const Ark_Union_Number_String_Resource* value); void (*setMaxFontSize)(Ark_NativePointer node, const Ark_Union_Number_String_Resource* value); + void (*setMinFontScale)(Ark_NativePointer node, + const Opt_Union_Number_Resource* value); + void (*setMaxFontScale)(Ark_NativePointer node, + const Opt_Union_Number_Resource* value); void (*setHeightAdaptivePolicy)(Ark_NativePointer node, Ark_TextHeightAdaptivePolicy value); void (*setEnableAutoFill)(Ark_NativePointer node, @@ -20341,6 +22467,18 @@ typedef struct GENERATED_ArkUITextInputModifier { Ark_Boolean value); void (*setEnableHapticFeedback)(Ark_NativePointer node, Ark_Boolean value); + void (*setAutoCapitalizationMode)(Ark_NativePointer node, + Ark_AutoCapitalizationMode value); + void (*setHalfLeading)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setEllipsisMode)(Ark_NativePointer node, + const Opt_EllipsisMode* value); + void (*setStopBackPress)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setOnWillChange)(Ark_NativePointer node, + const Callback_EditableTextChangeValue_Boolean* value); + void (*setKeyboardAppearance)(Ark_NativePointer node, + const Opt_KeyboardAppearance* value); void (*setInputFilter)(Ark_NativePointer node, const Ark_ResourceStr* value, const Opt_Callback_String_Void* error); @@ -20359,28 +22497,60 @@ typedef struct GENERATED_ArkUITextPickerModifier { Ark_Int32 flags); void (*setTextPickerOptions)(Ark_NativePointer node, const Opt_TextPickerOptions* options); - void (*setDefaultPickerItemHeight)(Ark_NativePointer node, - const Ark_Union_Number_String* value); - void (*setCanLoop)(Ark_NativePointer node, - Ark_Boolean value); - void (*setDisappearTextStyle)(Ark_NativePointer node, + void (*setDefaultPickerItemHeight0)(Ark_NativePointer node, + const Ark_Union_Number_String* value); + void (*setDefaultPickerItemHeight1)(Ark_NativePointer node, + const Opt_Union_Number_String* value); + void (*setCanLoop0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setCanLoop1)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setDisappearTextStyle0)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setDisappearTextStyle1)(Ark_NativePointer node, + const Opt_PickerTextStyle* value); + void (*setTextStyle0)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setTextStyle1)(Ark_NativePointer node, + const Opt_PickerTextStyle* value); + void (*setSelectedTextStyle0)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setTextStyle)(Ark_NativePointer node, - const Ark_PickerTextStyle* value); - void (*setSelectedTextStyle)(Ark_NativePointer node, - const Ark_PickerTextStyle* value); + void (*setSelectedTextStyle1)(Ark_NativePointer node, + const Opt_PickerTextStyle* value); + void (*setDisableTextStyleAnimation)(Ark_NativePointer node, + Ark_Boolean value); + void (*setDefaultTextStyle)(Ark_NativePointer node, + const Ark_TextPickerTextStyle* value); void (*setOnAccept)(Ark_NativePointer node, const Callback_String_Number_Void* value); void (*setOnCancel)(Ark_NativePointer node, const Callback_Void* value); - void (*setOnChange)(Ark_NativePointer node, - const Type_TextPickerAttribute_onChange_callback* value); - void (*setSelectedIndex)(Ark_NativePointer node, - const Ark_Union_Number_Array_Number* value); - void (*setDivider)(Ark_NativePointer node, - const Opt_DividerOptions* value); - void (*setGradientHeight)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + void (*setOnChange0)(Ark_NativePointer node, + const Type_TextPickerAttribute_onChange_callback* value); + void (*setOnChange1)(Ark_NativePointer node, + const Opt_OnTextPickerChangeCallback* value); + void (*setOnScrollStop0)(Ark_NativePointer node, + const TextPickerScrollStopCallback* value); + void (*setOnScrollStop1)(Ark_NativePointer node, + const Opt_TextPickerScrollStopCallback* value); + void (*setOnEnterSelectedArea)(Ark_NativePointer node, + const TextPickerEnterSelectedAreaCallback* value); + void (*setSelectedIndex0)(Ark_NativePointer node, + const Ark_Union_Number_Array_Number* value); + void (*setSelectedIndex1)(Ark_NativePointer node, + const Opt_Union_Number_Array_Number* value); + void (*setDivider0)(Ark_NativePointer node, + const Opt_DividerOptions* value); + void (*setDivider1)(Ark_NativePointer node, + const Opt_DividerOptions* value); + void (*setGradientHeight0)(Ark_NativePointer node, + const Ark_Dimension* value); + void (*setGradientHeight1)(Ark_NativePointer node, + const Opt_Dimension* value); + void (*setEnableHapticFeedback)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setDigitalCrownSensitivity)(Ark_NativePointer node, + const Opt_CrownSensitivity* value); void (*set_onChangeEvent_selected)(Ark_NativePointer node, const Callback_Union_Number_Array_Number_Void* callback); void (*set_onChangeEvent_value)(Ark_NativePointer node, @@ -20397,7 +22567,7 @@ typedef struct GENERATED_ArkUITextTimerModifier { void (*setFontColor)(Ark_NativePointer node, const Ark_ResourceColor* value); void (*setFontSize)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setFontStyle)(Ark_NativePointer node, Ark_FontStyle value); void (*setFontWeight)(Ark_NativePointer node, @@ -20417,22 +22587,44 @@ typedef struct GENERATED_ArkUITimePickerModifier { Ark_Int32 flags); void (*setTimePickerOptions)(Ark_NativePointer node, const Opt_TimePickerOptions* options); - void (*setUseMilitaryTime)(Ark_NativePointer node, - Ark_Boolean value); - void (*setLoop)(Ark_NativePointer node, - Ark_Boolean value); - void (*setDisappearTextStyle)(Ark_NativePointer node, + void (*setUseMilitaryTime0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setUseMilitaryTime1)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setLoop0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setLoop1)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setDisappearTextStyle0)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setDisappearTextStyle1)(Ark_NativePointer node, + const Opt_PickerTextStyle* value); + void (*setTextStyle0)(Ark_NativePointer node, + const Ark_PickerTextStyle* value); + void (*setTextStyle1)(Ark_NativePointer node, + const Opt_PickerTextStyle* value); + void (*setSelectedTextStyle0)(Ark_NativePointer node, const Ark_PickerTextStyle* value); - void (*setTextStyle)(Ark_NativePointer node, - const Ark_PickerTextStyle* value); - void (*setSelectedTextStyle)(Ark_NativePointer node, - const Ark_PickerTextStyle* value); - void (*setDateTimeOptions)(Ark_NativePointer node, - const Ark_DateTimeOptions* value); - void (*setOnChange)(Ark_NativePointer node, - const Callback_TimePickerResult_Void* value); - void (*setEnableHapticFeedback)(Ark_NativePointer node, - Ark_Boolean value); + void (*setSelectedTextStyle1)(Ark_NativePointer node, + const Opt_PickerTextStyle* value); + void (*setDateTimeOptions0)(Ark_NativePointer node, + const Ark_DateTimeOptions* value); + void (*setDateTimeOptions1)(Ark_NativePointer node, + const Opt_DateTimeOptions* value); + void (*setOnChange0)(Ark_NativePointer node, + const Callback_TimePickerResult_Void* value); + void (*setOnChange1)(Ark_NativePointer node, + const Opt_OnTimePickerChangeCallback* value); + void (*setOnEnterSelectedArea)(Ark_NativePointer node, + const Callback_TimePickerResult_Void* value); + void (*setEnableHapticFeedback0)(Ark_NativePointer node, + Ark_Boolean value); + void (*setEnableHapticFeedback1)(Ark_NativePointer node, + const Opt_Boolean* value); + void (*setDigitalCrownSensitivity)(Ark_NativePointer node, + const Opt_CrownSensitivity* value); + void (*setEnableCascade)(Ark_NativePointer node, + Ark_Boolean value); void (*set_onChangeEvent_selected)(Ark_NativePointer node, const Callback_Date_Void* callback); } GENERATED_ArkUITimePickerModifier; @@ -20495,6 +22687,10 @@ typedef struct GENERATED_ArkUIVideoModifier { Ark_Boolean value); void (*setAnalyzerConfig)(Ark_NativePointer node, const Ark_ImageAnalyzerConfig* value); + void (*setSurfaceBackgroundColor)(Ark_NativePointer node, + Ark_ColorMetrics value); + void (*setEnableShortcutKey)(Ark_NativePointer node, + Ark_Boolean value); } GENERATED_ArkUIVideoModifier; typedef struct GENERATED_ArkUIWebModifier { @@ -20538,6 +22734,8 @@ typedef struct GENERATED_ArkUIWebModifier { Ark_Boolean value); void (*setOverScrollMode)(Ark_NativePointer node, Ark_OverScrollMode value); + void (*setBlurOnKeyboardHideMode)(Ark_NativePointer node, + Ark_BlurOnKeyboardHideMode value); void (*setTextZoomAtio)(Ark_NativePointer node, const Ark_Number* value); void (*setTextZoomRatio)(Ark_NativePointer node, @@ -20720,8 +22918,6 @@ typedef struct GENERATED_ArkUIWebModifier { Ark_Boolean value); void (*setEnableNativeMediaPlayer)(Ark_NativePointer node, const Ark_NativeMediaPlayerConfig* value); - void (*setEnableSmoothDragResize)(Ark_NativePointer node, - Ark_Boolean value); void (*setOnRenderProcessNotResponding)(Ark_NativePointer node, const OnRenderProcessNotRespondingCallback* value); void (*setOnRenderProcessResponding)(Ark_NativePointer node, @@ -20740,6 +22936,20 @@ typedef struct GENERATED_ArkUIWebModifier { const Ark_EditMenuOptions* value); void (*setEnableHapticFeedback)(Ark_NativePointer node, Ark_Boolean value); + void (*setOptimizeParserBudget)(Ark_NativePointer node, + Ark_Boolean value); + void (*setEnableFollowSystemFontWeight)(Ark_NativePointer node, + Ark_Boolean value); + void (*setEnableWebAVSession)(Ark_NativePointer node, + Ark_Boolean value); + void (*setRunJavaScriptOnDocumentStart)(Ark_NativePointer node, + const Array_ScriptItem* value); + void (*setRunJavaScriptOnDocumentEnd)(Ark_NativePointer node, + const Array_ScriptItem* value); + void (*setRunJavaScriptOnHeadEnd)(Ark_NativePointer node, + const Array_ScriptItem* value); + void (*setNativeEmbedOptions)(Ark_NativePointer node, + const Opt_EmbedOptions* value); void (*setRegisterNativeEmbedRule)(Ark_NativePointer node, const Ark_String* tag, const Ark_String* type); @@ -20769,6 +22979,8 @@ typedef struct GENERATED_ArkUIXComponentModifier { const Ark_Type_XComponentInterface_callable1_value* value); void (*setXComponentOptions2)(Ark_NativePointer node, const Ark_XComponentOptions* options); + void (*setXComponentOptions3)(Ark_NativePointer node, + const Ark_NativeXComponentParameters* params); void (*setOnLoad)(Ark_NativePointer node, const OnNativeLoadCallback* value); void (*setOnDestroy)(Ark_NativePointer node, @@ -20777,6 +22989,10 @@ typedef struct GENERATED_ArkUIXComponentModifier { Ark_Boolean value); void (*setEnableSecure)(Ark_NativePointer node, Ark_Boolean value); + void (*setHdrBrightness)(Ark_NativePointer node, + const Ark_Number* value); + void (*setEnableTransparentLayer)(Ark_NativePointer node, + Ark_Boolean value); } GENERATED_ArkUIXComponentModifier; typedef struct GENERATED_ArkUISideBarContainerModifier { @@ -20795,15 +23011,15 @@ typedef struct GENERATED_ArkUISideBarContainerModifier { void (*setSideBarWidth0)(Ark_NativePointer node, const Ark_Number* value); void (*setSideBarWidth1)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setMinSideBarWidth0)(Ark_NativePointer node, const Ark_Number* value); void (*setMinSideBarWidth1)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setMaxSideBarWidth0)(Ark_NativePointer node, const Ark_Number* value); void (*setMaxSideBarWidth1)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setAutoHide)(Ark_NativePointer node, Ark_Boolean value); void (*setSideBarPosition)(Ark_NativePointer node, @@ -20811,7 +23027,7 @@ typedef struct GENERATED_ArkUISideBarContainerModifier { void (*setDivider)(Ark_NativePointer node, const Opt_DividerStyle* value); void (*setMinContentWidth)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Dimension* value); void (*set_onChangeEvent_showSideBar)(Ark_NativePointer node, const Callback_Boolean_Void* callback); } GENERATED_ArkUISideBarContainerModifier; @@ -20835,9 +23051,9 @@ typedef struct GENERATED_ArkUIWaterFlowModifier { void (*setRowsTemplate)(Ark_NativePointer node, const Ark_String* value); void (*setColumnsGap)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setRowsGap)(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value); + const Ark_Length* value); void (*setLayoutDirection)(Ark_NativePointer node, Ark_FlexDirection value); void (*setNestedScroll)(Ark_NativePointer node, @@ -20879,6 +23095,8 @@ typedef struct GENERATED_ArkUIUIExtensionComponentModifier { const ErrorCallback* value); void (*setOnTerminated)(Ark_NativePointer node, const Callback_TerminationInfo_Void* value); + void (*setOnDrawReady)(Ark_NativePointer node, + const Callback_Void* value); } GENERATED_ArkUIUIExtensionComponentModifier; typedef struct GENERATED_ArkUILinearIndicatorModifier { @@ -21304,9 +23522,9 @@ typedef struct GENERATED_ArkUIBaseShapeAccessor { Ark_BaseShape (*ctor)(); Ark_NativePointer (*getFinalizer)(); Ark_BaseShape (*width)(Ark_BaseShape peer, - const Ark_Union_String_Number_Resource* width); + const Ark_Length* width); Ark_BaseShape (*height)(Ark_BaseShape peer, - const Ark_Union_String_Number_Resource* height); + const Ark_Length* height); Ark_BaseShape (*size)(Ark_BaseShape peer, const Ark_SizeOptions* size); } GENERATED_ArkUIBaseShapeAccessor; @@ -21322,9 +23540,9 @@ typedef struct GENERATED_ArkUIRectShapeAccessor { Ark_RectShape (*position)(Ark_RectShape peer, const Ark_Position* position); Ark_RectShape (*width)(Ark_RectShape peer, - const Ark_Union_String_Number_Resource* width); + const Ark_Length* width); Ark_RectShape (*height)(Ark_RectShape peer, - const Ark_Union_String_Number_Resource* height); + const Ark_Length* height); Ark_RectShape (*size)(Ark_RectShape peer, const Ark_SizeOptions* size); Ark_RectShape (*radiusWidth)(Ark_RectShape peer, @@ -21346,9 +23564,9 @@ typedef struct GENERATED_ArkUICircleShapeAccessor { Ark_CircleShape (*position)(Ark_CircleShape peer, const Ark_Position* position); Ark_CircleShape (*width)(Ark_CircleShape peer, - const Ark_Union_String_Number_Resource* width); + const Ark_Length* width); Ark_CircleShape (*height)(Ark_CircleShape peer, - const Ark_Union_String_Number_Resource* height); + const Ark_Length* height); Ark_CircleShape (*size)(Ark_CircleShape peer, const Ark_SizeOptions* size); } GENERATED_ArkUICircleShapeAccessor; @@ -21364,9 +23582,9 @@ typedef struct GENERATED_ArkUIEllipseShapeAccessor { Ark_EllipseShape (*position)(Ark_EllipseShape peer, const Ark_Position* position); Ark_EllipseShape (*width)(Ark_EllipseShape peer, - const Ark_Union_String_Number_Resource* width); + const Ark_Length* width); Ark_EllipseShape (*height)(Ark_EllipseShape peer, - const Ark_Union_String_Number_Resource* height); + const Ark_Length* height); Ark_EllipseShape (*size)(Ark_EllipseShape peer, const Ark_SizeOptions* size); } GENERATED_ArkUIEllipseShapeAccessor; @@ -21727,202 +23945,52 @@ typedef struct GENERATED_ArkUIAlertDialogAccessor { } GENERATED_ArkUIAlertDialogAccessor; typedef struct GENERATED_ArkUISpringPropAccessor { - void (*destroyPeer)(Ark_SpringProp peer); - Ark_SpringProp (*ctor)(const Ark_Number* mass, - const Ark_Number* stiffness, - const Ark_Number* damping); - Ark_NativePointer (*getFinalizer)(); -} GENERATED_ArkUISpringPropAccessor; - -typedef struct GENERATED_ArkUISpringMotionAccessor { - void (*destroyPeer)(Ark_SpringMotion peer); - Ark_SpringMotion (*ctor)(const Ark_Number* start, - const Ark_Number* end, - const Ark_Number* velocity, - Ark_SpringProp prop); - Ark_NativePointer (*getFinalizer)(); -} GENERATED_ArkUISpringMotionAccessor; - -typedef struct GENERATED_ArkUIFrictionMotionAccessor { - void (*destroyPeer)(Ark_FrictionMotion peer); - Ark_FrictionMotion (*ctor)(const Ark_Number* friction, - const Ark_Number* position, - const Ark_Number* velocity); - Ark_NativePointer (*getFinalizer)(); -} GENERATED_ArkUIFrictionMotionAccessor; - -typedef struct GENERATED_ArkUIScrollMotionAccessor { - void (*destroyPeer)(Ark_ScrollMotion peer); - Ark_ScrollMotion (*ctor)(const Ark_Number* position, - const Ark_Number* velocity, - const Ark_Number* min, - const Ark_Number* max, - Ark_SpringProp prop); - Ark_NativePointer (*getFinalizer)(); -} GENERATED_ArkUIScrollMotionAccessor; - -typedef struct GENERATED_ArkUICalendarControllerAccessor { - void (*destroyPeer)(Ark_CalendarController peer); - Ark_CalendarController (*ctor)(); - Ark_NativePointer (*getFinalizer)(); - void (*backToToday)(Ark_CalendarController peer); - void (*goTo)(Ark_CalendarController peer, - const Ark_Literal_Number_day_month_year* value); -} GENERATED_ArkUICalendarControllerAccessor; - -typedef struct GENERATED_ArkUICalendarPickerDialogAccessor { - void (*show)(const Opt_CalendarDialogOptions* options); -} GENERATED_ArkUICalendarPickerDialogAccessor; - -typedef struct GENERATED_ArkUINavPathInfoAccessor { - void (*destroyPeer)(Ark_NavPathInfo peer); - Ark_NavPathInfo (*ctor)(const Ark_String* name, - const Ark_Object* param, - const Opt_Callback_PopInfo_Void* onPop, - const Opt_Boolean* isEntry); - Ark_NativePointer (*getFinalizer)(); - Ark_String (*getName)(Ark_NavPathInfo peer); - void (*setName)(Ark_NavPathInfo peer, - const Ark_String* name); - Opt_Object (*getParam)(Ark_NavPathInfo peer); - void (*setParam)(Ark_NavPathInfo peer, - const Ark_Object* param); - Opt_Callback_PopInfo_Void (*getOnPop)(Ark_NavPathInfo peer); - void (*setOnPop)(Ark_NavPathInfo peer, - const Callback_PopInfo_Void* onPop); - Opt_Boolean (*getIsEntry)(Ark_NavPathInfo peer); - void (*setIsEntry)(Ark_NavPathInfo peer, - Ark_Boolean isEntry); -} GENERATED_ArkUINavPathInfoAccessor; - -typedef struct GENERATED_ArkUINavPathStackAccessor { - void (*destroyPeer)(Ark_NavPathStack peer); - Ark_NavPathStack (*ctor)(); - Ark_NativePointer (*getFinalizer)(); - void (*pushPath0)(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated); - void (*pushPath1)(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options); - void (*pushDestination0)(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); - void (*pushDestination1)(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); - void (*pushPathByName0)(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated); - void (*pushPathByName1)(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Callback_PopInfo_Void* onPop, - const Opt_Boolean* animated); - void (*pushDestinationByName0)(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); - void (*pushDestinationByName1)(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Callback_PopInfo_Void* onPop, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); - void (*replacePath0)(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated); - void (*replacePath1)(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options); - void (*replaceDestination)(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); - void (*replacePathByName)(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated); - Ark_Number (*removeByIndexes)(Ark_NavPathStack peer, - const Array_Number* indexes); - Ark_Number (*removeByName)(Ark_NavPathStack peer, - const Ark_String* name); - Ark_Boolean (*removeByNavDestinationId)(Ark_NavPathStack peer, - const Ark_String* navDestinationId); - Opt_NavPathInfo (*pop0)(Ark_NavPathStack peer, - const Opt_Boolean* animated); - Opt_NavPathInfo (*pop1)(Ark_NavPathStack peer, - const Ark_Object* result, - const Opt_Boolean* animated); - Ark_Number (*popToName0)(Ark_NavPathStack peer, - const Ark_String* name, - const Opt_Boolean* animated); - Ark_Number (*popToName1)(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* result, - const Opt_Boolean* animated); - void (*popToIndex0)(Ark_NavPathStack peer, - const Ark_Number* index, - const Opt_Boolean* animated); - void (*popToIndex1)(Ark_NavPathStack peer, - const Ark_Number* index, - const Ark_Object* result, - const Opt_Boolean* animated); - Ark_Number (*moveToTop)(Ark_NavPathStack peer, - const Ark_String* name, - const Opt_Boolean* animated); - void (*moveIndexToTop)(Ark_NavPathStack peer, - const Ark_Number* index, - const Opt_Boolean* animated); - void (*clear)(Ark_NavPathStack peer, - const Opt_Boolean* animated); - Array_String (*getAllPathName)(Ark_NavPathStack peer); - Opt_Object (*getParamByIndex)(Ark_NavPathStack peer, - const Ark_Number* index); - Array_Object (*getParamByName)(Ark_NavPathStack peer, - const Ark_String* name); - Array_Number (*getIndexByName)(Ark_NavPathStack peer, - const Ark_String* name); - Opt_NavPathStack (*getParent)(Ark_NavPathStack peer); - Ark_Number (*size)(Ark_NavPathStack peer); - void (*disableAnimation)(Ark_NavPathStack peer, - Ark_Boolean value); - void (*setInterception)(Ark_NavPathStack peer, - const Ark_NavigationInterception* interception); -} GENERATED_ArkUINavPathStackAccessor; + void (*destroyPeer)(Ark_SpringProp peer); + Ark_SpringProp (*ctor)(const Ark_Number* mass, + const Ark_Number* stiffness, + const Ark_Number* damping); + Ark_NativePointer (*getFinalizer)(); +} GENERATED_ArkUISpringPropAccessor; -typedef struct GENERATED_ArkUINavigationTransitionProxyAccessor { - void (*destroyPeer)(Ark_NavigationTransitionProxy peer); - Ark_NavigationTransitionProxy (*ctor)(); +typedef struct GENERATED_ArkUISpringMotionAccessor { + void (*destroyPeer)(Ark_SpringMotion peer); + Ark_SpringMotion (*ctor)(const Ark_Number* start, + const Ark_Number* end, + const Ark_Number* velocity, + Ark_SpringProp prop); Ark_NativePointer (*getFinalizer)(); - void (*finishTransition)(Ark_NavigationTransitionProxy peer); - void (*cancelTransition)(Ark_NavigationTransitionProxy peer); - void (*updateTransition)(Ark_NavigationTransitionProxy peer, - const Ark_Number* progress); - Ark_NavContentInfo (*getFrom)(Ark_NavigationTransitionProxy peer); - void (*setFrom)(Ark_NavigationTransitionProxy peer, - const Ark_NavContentInfo* from); - Ark_NavContentInfo (*getTo)(Ark_NavigationTransitionProxy peer); - void (*setTo)(Ark_NavigationTransitionProxy peer, - const Ark_NavContentInfo* to); - Opt_Boolean (*getIsInteractive)(Ark_NavigationTransitionProxy peer); - void (*setIsInteractive)(Ark_NavigationTransitionProxy peer, - Ark_Boolean isInteractive); -} GENERATED_ArkUINavigationTransitionProxyAccessor; +} GENERATED_ArkUISpringMotionAccessor; + +typedef struct GENERATED_ArkUIFrictionMotionAccessor { + void (*destroyPeer)(Ark_FrictionMotion peer); + Ark_FrictionMotion (*ctor)(const Ark_Number* friction, + const Ark_Number* position, + const Ark_Number* velocity); + Ark_NativePointer (*getFinalizer)(); +} GENERATED_ArkUIFrictionMotionAccessor; + +typedef struct GENERATED_ArkUIScrollMotionAccessor { + void (*destroyPeer)(Ark_ScrollMotion peer); + Ark_ScrollMotion (*ctor)(const Ark_Number* position, + const Ark_Number* velocity, + const Ark_Number* min, + const Ark_Number* max, + Ark_SpringProp prop); + Ark_NativePointer (*getFinalizer)(); +} GENERATED_ArkUIScrollMotionAccessor; + +typedef struct GENERATED_ArkUICalendarControllerAccessor { + void (*destroyPeer)(Ark_CalendarController peer); + Ark_CalendarController (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*backToToday)(Ark_CalendarController peer); + void (*goTo)(Ark_CalendarController peer, + const Ark_Literal_Number_day_month_year* value); +} GENERATED_ArkUICalendarControllerAccessor; + +typedef struct GENERATED_ArkUICalendarPickerDialogAccessor { + void (*show)(const Opt_CalendarDialogOptions* options); +} GENERATED_ArkUICalendarPickerDialogAccessor; typedef struct GENERATED_ArkUIICurveAccessor { void (*destroyPeer)(Ark_ICurve peer); @@ -21998,12 +24066,18 @@ typedef struct GENERATED_ArkUIBaseEventAccessor { Ark_Number (*getTiltY)(Ark_BaseEvent peer); void (*setTiltY)(Ark_BaseEvent peer, const Ark_Number* tiltY); + Opt_Number (*getRollAngle)(Ark_BaseEvent peer); + void (*setRollAngle)(Ark_BaseEvent peer, + const Ark_Number* rollAngle); Ark_SourceTool (*getSourceTool)(Ark_BaseEvent peer); void (*setSourceTool)(Ark_BaseEvent peer, Ark_SourceTool sourceTool); Opt_Number (*getDeviceId)(Ark_BaseEvent peer); void (*setDeviceId)(Ark_BaseEvent peer, const Ark_Number* deviceId); + Opt_Number (*getTargetDisplayId)(Ark_BaseEvent peer); + void (*setTargetDisplayId)(Ark_BaseEvent peer, + const Ark_Number* targetDisplayId); } GENERATED_ArkUIBaseEventAccessor; typedef struct GENERATED_ArkUIClickEventAccessor { @@ -22034,6 +24108,9 @@ typedef struct GENERATED_ArkUIClickEventAccessor { Ark_Number (*getY)(Ark_ClickEvent peer); void (*setY)(Ark_ClickEvent peer, const Ark_Number* y); + Opt_InteractionHand (*getHand)(Ark_ClickEvent peer); + void (*setHand)(Ark_ClickEvent peer, + Ark_InteractionHand hand); Callback_Void (*getPreventDefault)(Ark_ClickEvent peer); void (*setPreventDefault)(Ark_ClickEvent peer, const Callback_Void* preventDefault); @@ -22043,6 +24120,24 @@ typedef struct GENERATED_ArkUIHoverEventAccessor { void (*destroyPeer)(Ark_HoverEvent peer); Ark_HoverEvent (*ctor)(); Ark_NativePointer (*getFinalizer)(); + Opt_Number (*getX)(Ark_HoverEvent peer); + void (*setX)(Ark_HoverEvent peer, + const Ark_Number* x); + Opt_Number (*getY)(Ark_HoverEvent peer); + void (*setY)(Ark_HoverEvent peer, + const Ark_Number* y); + Opt_Number (*getWindowX)(Ark_HoverEvent peer); + void (*setWindowX)(Ark_HoverEvent peer, + const Ark_Number* windowX); + Opt_Number (*getWindowY)(Ark_HoverEvent peer); + void (*setWindowY)(Ark_HoverEvent peer, + const Ark_Number* windowY); + Opt_Number (*getDisplayX)(Ark_HoverEvent peer); + void (*setDisplayX)(Ark_HoverEvent peer, + const Ark_Number* displayX); + Opt_Number (*getDisplayY)(Ark_HoverEvent peer); + void (*setDisplayY)(Ark_HoverEvent peer, + const Ark_Number* displayY); Callback_Void (*getStopPropagation)(Ark_HoverEvent peer); void (*setStopPropagation)(Ark_HoverEvent peer, const Callback_Void* stopPropagation); @@ -22085,6 +24180,15 @@ typedef struct GENERATED_ArkUIMouseEventAccessor { Callback_Void (*getStopPropagation)(Ark_MouseEvent peer); void (*setStopPropagation)(Ark_MouseEvent peer, const Callback_Void* stopPropagation); + Opt_Number (*getRawDeltaX)(Ark_MouseEvent peer); + void (*setRawDeltaX)(Ark_MouseEvent peer, + const Ark_Number* rawDeltaX); + Opt_Number (*getRawDeltaY)(Ark_MouseEvent peer); + void (*setRawDeltaY)(Ark_MouseEvent peer, + const Ark_Number* rawDeltaY); + Opt_Array_MouseButton (*getPressedButtons)(Ark_MouseEvent peer); + void (*setPressedButtons)(Ark_MouseEvent peer, + const Array_MouseButton* pressedButtons); } GENERATED_ArkUIMouseEventAccessor; typedef struct GENERATED_ArkUIAccessibilityHoverEventAccessor { @@ -22136,6 +24240,41 @@ typedef struct GENERATED_ArkUITouchEventAccessor { const Callback_Void* preventDefault); } GENERATED_ArkUITouchEventAccessor; +typedef struct GENERATED_ArkUIAxisEventAccessor { + void (*destroyPeer)(Ark_AxisEvent peer); + Ark_AxisEvent (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Number (*getHorizontalAxisValue)(Ark_AxisEvent peer); + Ark_Number (*getVerticalAxisValue)(Ark_AxisEvent peer); + Ark_AxisAction (*getAction)(Ark_AxisEvent peer); + void (*setAction)(Ark_AxisEvent peer, + Ark_AxisAction action); + Ark_Number (*getDisplayX)(Ark_AxisEvent peer); + void (*setDisplayX)(Ark_AxisEvent peer, + const Ark_Number* displayX); + Ark_Number (*getDisplayY)(Ark_AxisEvent peer); + void (*setDisplayY)(Ark_AxisEvent peer, + const Ark_Number* displayY); + Ark_Number (*getWindowX)(Ark_AxisEvent peer); + void (*setWindowX)(Ark_AxisEvent peer, + const Ark_Number* windowX); + Ark_Number (*getWindowY)(Ark_AxisEvent peer); + void (*setWindowY)(Ark_AxisEvent peer, + const Ark_Number* windowY); + Ark_Number (*getX)(Ark_AxisEvent peer); + void (*setX)(Ark_AxisEvent peer, + const Ark_Number* x); + Ark_Number (*getY)(Ark_AxisEvent peer); + void (*setY)(Ark_AxisEvent peer, + const Ark_Number* y); + Opt_Number (*getScrollStep)(Ark_AxisEvent peer); + void (*setScrollStep)(Ark_AxisEvent peer, + const Ark_Number* scrollStep); + Callback_Void (*getPropagation)(Ark_AxisEvent peer); + void (*setPropagation)(Ark_AxisEvent peer, + const Callback_Void* propagation); +} GENERATED_ArkUIAxisEventAccessor; + typedef struct GENERATED_ArkUIPixelMapMockAccessor { void (*destroyPeer)(Ark_PixelMapMock peer); Ark_PixelMapMock (*ctor)(); @@ -22168,6 +24307,11 @@ typedef struct GENERATED_ArkUIDragEventAccessor { Ark_Boolean (*getModifierKeyState)(Ark_VMContext vmContext, Ark_DragEvent peer, const Array_String* keys); + void (*executeDropAnimation)(Ark_DragEvent peer, + const Callback_Void* customDropAnimation); + Ark_String (*startDataLoading)(Ark_VMContext vmContext, + Ark_DragEvent peer, + const Ark_DataSyncOptions* options); Ark_DragBehavior (*getDragBehavior)(Ark_DragEvent peer); void (*setDragBehavior)(Ark_DragEvent peer, Ark_DragBehavior dragBehavior); @@ -22215,6 +24359,18 @@ typedef struct GENERATED_ArkUIKeyEventAccessor { const Ark_Number* unicode); } GENERATED_ArkUIKeyEventAccessor; +typedef struct GENERATED_ArkUIFocusAxisEventAccessor { + void (*destroyPeer)(Ark_FocusAxisEvent peer); + Ark_FocusAxisEvent (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Map_AxisModel_Number (*getAxisMap)(Ark_FocusAxisEvent peer); + void (*setAxisMap)(Ark_FocusAxisEvent peer, + const Map_AxisModel_Number* axisMap); + Callback_Void (*getStopPropagation)(Ark_FocusAxisEvent peer); + void (*setStopPropagation)(Ark_FocusAxisEvent peer, + const Callback_Void* stopPropagation); +} GENERATED_ArkUIFocusAxisEventAccessor; + typedef struct GENERATED_ArkUIProgressMaskAccessor { void (*destroyPeer)(Ark_ProgressMask peer); Ark_ProgressMask (*ctor)(const Ark_Number* value, @@ -22238,6 +24394,9 @@ typedef struct GENERATED_ArkUIMeasurableAccessor { Ark_DirectionalEdgesT (*getMargin)(Ark_Measurable peer); Ark_DirectionalEdgesT (*getPadding)(Ark_Measurable peer); Ark_DirectionalEdgesT (*getBorderWidth)(Ark_Measurable peer); + Opt_Number (*getUniqueId)(Ark_Measurable peer); + void (*setUniqueId)(Ark_Measurable peer, + const Ark_Number* uniqueId); } GENERATED_ArkUIMeasurableAccessor; typedef struct GENERATED_ArkUIViewAccessor { @@ -22255,6 +24414,15 @@ typedef struct GENERATED_ArkUITextContentControllerBaseAccessor { Ark_CaretOffset (*getCaretOffset)(Ark_TextContentControllerBase peer); Ark_RectResult (*getTextContentRect)(Ark_TextContentControllerBase peer); Ark_Number (*getTextContentLineCount)(Ark_TextContentControllerBase peer); + Ark_Number (*addText)(Ark_TextContentControllerBase peer, + const Ark_String* text, + const Opt_TextContentControllerOptions* textOperationOptions); + void (*deleteText)(Ark_TextContentControllerBase peer, + const Opt_TextRange* range); + Ark_TextRange (*getSelection)(Ark_TextContentControllerBase peer); + void (*clearPreviewText)(Ark_TextContentControllerBase peer); + Ark_String (*getText)(Ark_TextContentControllerBase peer, + const Opt_TextRange* range); } GENERATED_ArkUITextContentControllerBaseAccessor; typedef struct GENERATED_ArkUIChildrenMainSizeAccessor { @@ -22312,6 +24480,163 @@ typedef struct GENERATED_ArkUIGestureModifierAccessor { const Ark_UIGestureEvent* event); } GENERATED_ArkUIGestureModifierAccessor; +typedef struct GENERATED_ArkUINavPathInfoAccessor { + void (*destroyPeer)(Ark_NavPathInfo peer); + Ark_NavPathInfo (*ctor)(const Ark_String* name, + const Ark_Object* param, + const Opt_Callback_PopInfo_Void* onPop, + const Opt_Boolean* isEntry); + Ark_NativePointer (*getFinalizer)(); + Ark_String (*getName)(Ark_NavPathInfo peer); + void (*setName)(Ark_NavPathInfo peer, + const Ark_String* name); + Opt_Object (*getParam)(Ark_NavPathInfo peer); + void (*setParam)(Ark_NavPathInfo peer, + const Opt_Object* param); + Opt_Callback_PopInfo_Void (*getOnPop)(Ark_NavPathInfo peer); + void (*setOnPop)(Ark_NavPathInfo peer, + const Callback_PopInfo_Void* onPop); + Opt_Boolean (*getIsEntry)(Ark_NavPathInfo peer); + void (*setIsEntry)(Ark_NavPathInfo peer, + Ark_Boolean isEntry); + Opt_String (*getNavDestinationId)(Ark_NavPathInfo peer); + void (*setNavDestinationId)(Ark_NavPathInfo peer, + const Ark_String* navDestinationId); +} GENERATED_ArkUINavPathInfoAccessor; + +typedef struct GENERATED_ArkUINavPathStackAccessor { + void (*destroyPeer)(Ark_NavPathStack peer); + Ark_NavPathStack (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*pushPath0)(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated); + void (*pushPath1)(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options); + void (*pushDestination0)(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); + void (*pushDestination1)(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); + void (*pushPathByName0)(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Object* param, + const Opt_Boolean* animated); + void (*pushPathByName1)(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Callback_PopInfo_Void* onPop, + const Opt_Boolean* animated); + void (*pushDestinationByName0)(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); + void (*pushDestinationByName1)(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Callback_PopInfo_Void* onPop, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); + void (*replacePath0)(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated); + void (*replacePath1)(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options); + void (*replaceDestination)(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); + void (*replacePathByName)(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Opt_Boolean* animated); + Ark_Number (*removeByIndexes)(Ark_NavPathStack peer, + const Array_Number* indexes); + Ark_Number (*removeByName)(Ark_NavPathStack peer, + const Ark_String* name); + Ark_Boolean (*removeByNavDestinationId)(Ark_NavPathStack peer, + const Ark_String* navDestinationId); + Opt_NavPathInfo (*pop0)(Ark_NavPathStack peer, + const Opt_Boolean* animated); + Opt_NavPathInfo (*pop1)(Ark_NavPathStack peer, + const Ark_Object* result, + const Opt_Boolean* animated); + Ark_Number (*popToName0)(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Boolean* animated); + Ark_Number (*popToName1)(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* result, + const Opt_Boolean* animated); + void (*popToIndex0)(Ark_NavPathStack peer, + const Ark_Number* index, + const Opt_Boolean* animated); + void (*popToIndex1)(Ark_NavPathStack peer, + const Ark_Number* index, + const Ark_Object* result, + const Opt_Boolean* animated); + Ark_Number (*moveToTop)(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Boolean* animated); + void (*moveIndexToTop)(Ark_NavPathStack peer, + const Ark_Number* index, + const Opt_Boolean* animated); + void (*clear)(Ark_NavPathStack peer, + const Opt_Boolean* animated); + Array_String (*getAllPathName)(Ark_NavPathStack peer); + Opt_Object (*getParamByIndex)(Ark_NavPathStack peer, + const Ark_Number* index); + Array_Opt_Object (*getParamByName)(Ark_NavPathStack peer, + const Ark_String* name); + Array_Number (*getIndexByName)(Ark_NavPathStack peer, + const Ark_String* name); + Opt_NavPathStack (*getParent)(Ark_NavPathStack peer); + Ark_Number (*size)(Ark_NavPathStack peer); + void (*disableAnimation)(Ark_NavPathStack peer, + Ark_Boolean value); + void (*setInterception)(Ark_NavPathStack peer, + const Ark_NavigationInterception* interception); + Array_NavPathInfo (*getPathStack)(Ark_NavPathStack peer); + void (*setPathStack)(Ark_NavPathStack peer, + const Array_NavPathInfo* pathStack, + const Opt_Boolean* animated); +} GENERATED_ArkUINavPathStackAccessor; + +typedef struct GENERATED_ArkUINavigationTransitionProxyAccessor { + void (*destroyPeer)(Ark_NavigationTransitionProxy peer); + Ark_NavigationTransitionProxy (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*finishTransition)(Ark_NavigationTransitionProxy peer); + void (*cancelTransition)(Ark_NavigationTransitionProxy peer); + void (*updateTransition)(Ark_NavigationTransitionProxy peer, + const Ark_Number* progress); + Ark_NavContentInfo (*getFrom)(Ark_NavigationTransitionProxy peer); + void (*setFrom)(Ark_NavigationTransitionProxy peer, + const Ark_NavContentInfo* from); + Ark_NavContentInfo (*getTo)(Ark_NavigationTransitionProxy peer); + void (*setTo)(Ark_NavigationTransitionProxy peer, + const Ark_NavContentInfo* to); + Opt_Boolean (*getIsInteractive)(Ark_NavigationTransitionProxy peer); + void (*setIsInteractive)(Ark_NavigationTransitionProxy peer, + Ark_Boolean isInteractive); +} GENERATED_ArkUINavigationTransitionProxyAccessor; + typedef struct GENERATED_ArkUICanvasGradientAccessor { void (*destroyPeer)(Ark_CanvasGradient peer); Ark_CanvasGradient (*ctor)(); @@ -22568,6 +24893,9 @@ typedef struct GENERATED_ArkUICanvasRendererAccessor { void (*saveLayer)(Ark_CanvasRenderer peer); void (*restoreLayer)(Ark_CanvasRenderer peer); void (*reset)(Ark_CanvasRenderer peer); + Ark_Union_LengthMetrics_String (*getLetterSpacing)(Ark_CanvasRenderer peer); + void (*setLetterSpacing)(Ark_CanvasRenderer peer, + const Ark_Union_LengthMetrics_String* letterSpacing); Ark_Number (*getGlobalAlpha)(Ark_CanvasRenderer peer); void (*setGlobalAlpha)(Ark_CanvasRenderer peer, const Ark_Number* globalAlpha); @@ -22858,8 +25186,10 @@ typedef struct GENERATED_ArkUILongPressGestureInterfaceAccessor { const Callback_GestureEvent_Void* event); Ark_LongPressGestureInterface (*onActionEnd)(Ark_LongPressGestureInterface peer, const Callback_GestureEvent_Void* event); - Ark_LongPressGestureInterface (*onActionCancel)(Ark_LongPressGestureInterface peer, - const Callback_Void* event); + Ark_LongPressGestureInterface (*onActionCancel0)(Ark_LongPressGestureInterface peer, + const Callback_Void* event); + Ark_LongPressGestureInterface (*onActionCancel1)(Ark_LongPressGestureInterface peer, + const Callback_GestureEvent_Void* event); } GENERATED_ArkUILongPressGestureInterfaceAccessor; typedef struct GENERATED_ArkUIPanGestureOptionsAccessor { @@ -22873,6 +25203,7 @@ typedef struct GENERATED_ArkUIPanGestureOptionsAccessor { void (*setFingers)(Ark_PanGestureOptions peer, const Ark_Number* value); Ark_PanDirection (*getDirection)(Ark_PanGestureOptions peer); + Ark_Number (*getDistance)(Ark_PanGestureOptions peer); } GENERATED_ArkUIPanGestureOptionsAccessor; typedef struct GENERATED_ArkUIPanGestureInterfaceAccessor { @@ -22885,8 +25216,10 @@ typedef struct GENERATED_ArkUIPanGestureInterfaceAccessor { const Callback_GestureEvent_Void* event); Ark_PanGestureInterface (*onActionEnd)(Ark_PanGestureInterface peer, const Callback_GestureEvent_Void* event); - Ark_PanGestureInterface (*onActionCancel)(Ark_PanGestureInterface peer, - const Callback_Void* event); + Ark_PanGestureInterface (*onActionCancel0)(Ark_PanGestureInterface peer, + const Callback_Void* event); + Ark_PanGestureInterface (*onActionCancel1)(Ark_PanGestureInterface peer, + const Callback_GestureEvent_Void* event); } GENERATED_ArkUIPanGestureInterfaceAccessor; typedef struct GENERATED_ArkUISwipeGestureInterfaceAccessor { @@ -22907,8 +25240,10 @@ typedef struct GENERATED_ArkUIPinchGestureInterfaceAccessor { const Callback_GestureEvent_Void* event); Ark_PinchGestureInterface (*onActionEnd)(Ark_PinchGestureInterface peer, const Callback_GestureEvent_Void* event); - Ark_PinchGestureInterface (*onActionCancel)(Ark_PinchGestureInterface peer, - const Callback_Void* event); + Ark_PinchGestureInterface (*onActionCancel0)(Ark_PinchGestureInterface peer, + const Callback_Void* event); + Ark_PinchGestureInterface (*onActionCancel1)(Ark_PinchGestureInterface peer, + const Callback_GestureEvent_Void* event); } GENERATED_ArkUIPinchGestureInterfaceAccessor; typedef struct GENERATED_ArkUIRotationGestureInterfaceAccessor { @@ -22921,8 +25256,10 @@ typedef struct GENERATED_ArkUIRotationGestureInterfaceAccessor { const Callback_GestureEvent_Void* event); Ark_RotationGestureInterface (*onActionEnd)(Ark_RotationGestureInterface peer, const Callback_GestureEvent_Void* event); - Ark_RotationGestureInterface (*onActionCancel)(Ark_RotationGestureInterface peer, - const Callback_Void* event); + Ark_RotationGestureInterface (*onActionCancel0)(Ark_RotationGestureInterface peer, + const Callback_Void* event); + Ark_RotationGestureInterface (*onActionCancel1)(Ark_RotationGestureInterface peer, + const Callback_GestureEvent_Void* event); } GENERATED_ArkUIRotationGestureInterfaceAccessor; typedef struct GENERATED_ArkUIGestureGroupInterfaceAccessor { @@ -22962,8 +25299,47 @@ typedef struct GENERATED_ArkUIGestureRecognizerAccessor { Ark_GestureRecognizerState (*getState)(Ark_GestureRecognizer peer); Ark_EventTargetInfo (*getEventTargetInfo)(Ark_GestureRecognizer peer); Ark_Boolean (*isValid)(Ark_GestureRecognizer peer); + Ark_Number (*getFingerCount)(Ark_GestureRecognizer peer); + Ark_Boolean (*isFingerCountLimit)(Ark_GestureRecognizer peer); } GENERATED_ArkUIGestureRecognizerAccessor; +typedef struct GENERATED_ArkUITapRecognizerAccessor { + void (*destroyPeer)(Ark_TapRecognizer peer); + Ark_TapRecognizer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Number (*getTapCount)(Ark_TapRecognizer peer); +} GENERATED_ArkUITapRecognizerAccessor; + +typedef struct GENERATED_ArkUILongPressRecognizerAccessor { + void (*destroyPeer)(Ark_LongPressRecognizer peer); + Ark_LongPressRecognizer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Boolean (*isRepeat)(Ark_LongPressRecognizer peer); + Ark_Number (*getDuration)(Ark_LongPressRecognizer peer); +} GENERATED_ArkUILongPressRecognizerAccessor; + +typedef struct GENERATED_ArkUISwipeRecognizerAccessor { + void (*destroyPeer)(Ark_SwipeRecognizer peer); + Ark_SwipeRecognizer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Number (*getVelocityThreshold)(Ark_SwipeRecognizer peer); + Ark_SwipeDirection (*getDirection)(Ark_SwipeRecognizer peer); +} GENERATED_ArkUISwipeRecognizerAccessor; + +typedef struct GENERATED_ArkUIPinchRecognizerAccessor { + void (*destroyPeer)(Ark_PinchRecognizer peer); + Ark_PinchRecognizer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Number (*getDistance)(Ark_PinchRecognizer peer); +} GENERATED_ArkUIPinchRecognizerAccessor; + +typedef struct GENERATED_ArkUIRotationRecognizerAccessor { + void (*destroyPeer)(Ark_RotationRecognizer peer); + Ark_RotationRecognizer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Number (*getAngle)(Ark_RotationRecognizer peer); +} GENERATED_ArkUIRotationRecognizerAccessor; + typedef struct GENERATED_ArkUIPanRecognizerAccessor { void (*destroyPeer)(Ark_PanRecognizer peer); Ark_PanRecognizer (*ctor)(); @@ -23067,6 +25443,21 @@ typedef struct GENERATED_ArkUIPatternLockControllerAccessor { Ark_PatternLockChallengeResult result); } GENERATED_ArkUIPatternLockControllerAccessor; +typedef struct GENERATED_ArkUIVirtualScrollOptionsAccessor { + void (*destroyPeer)(Ark_VirtualScrollOptions peer); + Ark_VirtualScrollOptions (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*onLazyLoading)(Ark_VirtualScrollOptions peer, + const Ark_Number* index); + Ark_Number (*onTotalCount)(Ark_VirtualScrollOptions peer); + Opt_Number (*getTotalCount)(Ark_VirtualScrollOptions peer); + void (*setTotalCount)(Ark_VirtualScrollOptions peer, + const Ark_Number* totalCount); + Opt_Boolean (*getReusable)(Ark_VirtualScrollOptions peer); + void (*setReusable)(Ark_VirtualScrollOptions peer, + Ark_Boolean reusable); +} GENERATED_ArkUIVirtualScrollOptionsAccessor; + typedef struct GENERATED_ArkUIRichEditorBaseControllerAccessor { void (*destroyPeer)(Ark_RichEditorBaseController peer); Ark_RichEditorBaseController (*ctor)(); @@ -23086,6 +25477,7 @@ typedef struct GENERATED_ArkUIRichEditorBaseControllerAccessor { void (*stopEditing)(Ark_RichEditorBaseController peer); Ark_LayoutManager (*getLayoutManager)(Ark_RichEditorBaseController peer); Ark_PreviewText (*getPreviewText)(Ark_RichEditorBaseController peer); + Opt_RectResult (*getCaretRect)(Ark_RichEditorBaseController peer); } GENERATED_ArkUIRichEditorBaseControllerAccessor; typedef struct GENERATED_ArkUIRichEditorControllerAccessor { @@ -23158,8 +25550,8 @@ typedef struct GENERATED_ArkUIScrollerAccessor { const Opt_ScrollAlign* align, const Opt_ScrollToIndexOptions* options); void (*scrollBy)(Ark_Scroller peer, - const Ark_Union_String_Number_Resource* dx, - const Ark_Union_String_Number_Resource* dy); + const Ark_Length* dx, + const Ark_Length* dy); Ark_Boolean (*isAtEnd)(Ark_Scroller peer); Ark_RectResult (*getItemRect)(Ark_VMContext vmContext, Ark_Scroller peer, @@ -23219,11 +25611,19 @@ typedef struct GENERATED_ArkUISwiperControllerAccessor { Ark_NativePointer (*getFinalizer)(); void (*showNext)(Ark_SwiperController peer); void (*showPrevious)(Ark_SwiperController peer); - void (*changeIndex)(Ark_SwiperController peer, - const Ark_Number* index, - const Opt_Boolean* useAnimation); + void (*changeIndex0)(Ark_SwiperController peer, + const Ark_Number* index, + const Opt_Boolean* useAnimation); + void (*changeIndex1)(Ark_SwiperController peer, + const Ark_Number* index, + const Opt_Union_SwiperAnimationMode_Boolean* animationMode); void (*finishAnimation)(Ark_SwiperController peer, const Opt_VoidCallback* callback_); + void (*preloadItems)(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_SwiperController peer, + const Opt_Array_Number* indices, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); } GENERATED_ArkUISwiperControllerAccessor; typedef struct GENERATED_ArkUISwiperContentTransitionProxyAccessor { @@ -23426,6 +25826,9 @@ typedef struct GENERATED_ArkUITextMenuItemIdAccessor { Ark_TextMenuItemId (*getCOLLABORATION_SERVICE)(); Ark_TextMenuItemId (*getCAMERA_INPUT)(); Ark_TextMenuItemId (*getAI_WRITER)(); + Ark_TextMenuItemId (*getTRANSLATE)(); + Ark_TextMenuItemId (*getSEARCH)(); + Ark_TextMenuItemId (*getSHARE)(); } GENERATED_ArkUITextMenuItemIdAccessor; typedef struct GENERATED_ArkUISubmitEventAccessor { @@ -23522,6 +25925,7 @@ typedef struct GENERATED_ArkUIFileSelectorParamAccessor { Ark_FileSelectorMode (*getMode)(Ark_FileSelectorParam peer); Array_String (*getAcceptType)(Ark_FileSelectorParam peer); Ark_Boolean (*isCapture)(Ark_FileSelectorParam peer); + Array_String (*getMimeTypes)(Ark_FileSelectorParam peer); } GENERATED_ArkUIFileSelectorParamAccessor; typedef struct GENERATED_ArkUIJsResultAccessor { @@ -23726,8 +26130,11 @@ typedef struct GENERATED_ArkUIEventResultAccessor { void (*destroyPeer)(Ark_EventResult peer); Ark_EventResult (*ctor)(); Ark_NativePointer (*getFinalizer)(); - void (*setGestureEventResult)(Ark_EventResult peer, - Ark_Boolean result); + void (*setGestureEventResult0)(Ark_EventResult peer, + Ark_Boolean result); + void (*setGestureEventResult1)(Ark_EventResult peer, + Ark_Boolean result, + Ark_Boolean stopPropagation); } GENERATED_ArkUIEventResultAccessor; typedef struct GENERATED_ArkUIWebControllerAccessor { @@ -23852,11 +26259,18 @@ typedef struct GENERATED_ArkUIStyledStringAccessor { const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise); Ark_String (*toHtml)(Ark_VMContext vmContext, Ark_StyledString styledString); - Ark_Buffer (*marshalling)(Ark_StyledString styledString); - void (*unmarshalling)(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - const Ark_Buffer* buffer, - const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise); + Ark_Buffer (*marshalling0)(Ark_StyledString styledString, + const StyledStringMarshallCallback* callback_); + Ark_Buffer (*marshalling1)(Ark_StyledString styledString); + void (*unmarshalling0)(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Ark_Buffer* buffer, + const StyledStringUnmarshallCallback* callback_, + const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise); + void (*unmarshalling1)(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Ark_Buffer* buffer, + const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise); Ark_Number (*getLength)(Ark_StyledString peer); } GENERATED_ArkUIStyledStringAccessor; @@ -23924,6 +26338,7 @@ typedef struct GENERATED_ArkUIParagraphStyleAccessor { Opt_TextOverflow (*getOverflow)(Ark_ParagraphStyle peer); Opt_WordBreak (*getWordBreak)(Ark_ParagraphStyle peer); Opt_Union_Number_LeadingMarginPlaceholder (*getLeadingMargin)(Ark_ParagraphStyle peer); + Opt_Number (*getParagraphSpacing)(Ark_ParagraphStyle peer); } GENERATED_ArkUIParagraphStyleAccessor; typedef struct GENERATED_ArkUILineHeightStyleAccessor { @@ -23995,6 +26410,7 @@ typedef struct GENERATED_ArkUIImageAttachmentAccessor { Opt_ImageSpanAlignment (*getVerticalAlign)(Ark_ImageAttachment peer); Opt_ImageFit (*getObjectFit)(Ark_ImageAttachment peer); Opt_ImageAttachmentLayoutStyle (*getLayoutStyle)(Ark_ImageAttachment peer); + Opt_ColorFilterType (*getColorFilter)(Ark_ImageAttachment peer); } GENERATED_ArkUIImageAttachmentAccessor; typedef struct GENERATED_ArkUICustomSpanAccessor { @@ -24072,11 +26488,11 @@ typedef struct GENERATED_ArkUINodeModifiers { const GENERATED_ArkUIButtonModifier* (*getButtonModifier)(); const GENERATED_ArkUICalendarModifier* (*getCalendarModifier)(); const GENERATED_ArkUICalendarPickerModifier* (*getCalendarPickerModifier)(); - const GENERATED_ArkUINavigationModifier* (*getNavigationModifier)(); const GENERATED_ArkUICommonMethodModifier* (*getCommonMethodModifier)(); const GENERATED_ArkUICommonModifier* (*getCommonModifier)(); const GENERATED_ArkUICommonShapeMethodModifier* (*getCommonShapeMethodModifier)(); const GENERATED_ArkUIScrollableCommonMethodModifier* (*getScrollableCommonMethodModifier)(); + const GENERATED_ArkUINavigationModifier* (*getNavigationModifier)(); const GENERATED_ArkUICanvasModifier* (*getCanvasModifier)(); const GENERATED_ArkUICheckboxModifier* (*getCheckboxModifier)(); const GENERATED_ArkUICheckboxGroupModifier* (*getCheckboxGroupModifier)(); @@ -24107,6 +26523,8 @@ typedef struct GENERATED_ArkUINodeModifiers { const GENERATED_ArkUIImageModifier* (*getImageModifier)(); const GENERATED_ArkUIImageAnimatorModifier* (*getImageAnimatorModifier)(); const GENERATED_ArkUIImageSpanModifier* (*getImageSpanModifier)(); + const GENERATED_ArkUILazyGridLayoutModifier* (*getLazyGridLayoutModifier)(); + const GENERATED_ArkUILazyVGridLayoutModifier* (*getLazyVGridLayoutModifier)(); const GENERATED_ArkUILineModifier* (*getLineModifier)(); const GENERATED_ArkUIListModifier* (*getListModifier)(); const GENERATED_ArkUIListItemModifier* (*getListItemModifier)(); @@ -24234,9 +26652,6 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIScrollMotionAccessor* (*getScrollMotionAccessor)(); const GENERATED_ArkUICalendarControllerAccessor* (*getCalendarControllerAccessor)(); const GENERATED_ArkUICalendarPickerDialogAccessor* (*getCalendarPickerDialogAccessor)(); - const GENERATED_ArkUINavPathInfoAccessor* (*getNavPathInfoAccessor)(); - const GENERATED_ArkUINavPathStackAccessor* (*getNavPathStackAccessor)(); - const GENERATED_ArkUINavigationTransitionProxyAccessor* (*getNavigationTransitionProxyAccessor)(); const GENERATED_ArkUIICurveAccessor* (*getICurveAccessor)(); const GENERATED_ArkUIDrawModifierAccessor* (*getDrawModifierAccessor)(); const GENERATED_ArkUITransitionEffectAccessor* (*getTransitionEffectAccessor)(); @@ -24246,9 +26661,11 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIMouseEventAccessor* (*getMouseEventAccessor)(); const GENERATED_ArkUIAccessibilityHoverEventAccessor* (*getAccessibilityHoverEventAccessor)(); const GENERATED_ArkUITouchEventAccessor* (*getTouchEventAccessor)(); + const GENERATED_ArkUIAxisEventAccessor* (*getAxisEventAccessor)(); const GENERATED_ArkUIPixelMapMockAccessor* (*getPixelMapMockAccessor)(); const GENERATED_ArkUIDragEventAccessor* (*getDragEventAccessor)(); const GENERATED_ArkUIKeyEventAccessor* (*getKeyEventAccessor)(); + const GENERATED_ArkUIFocusAxisEventAccessor* (*getFocusAxisEventAccessor)(); const GENERATED_ArkUIProgressMaskAccessor* (*getProgressMaskAccessor)(); const GENERATED_ArkUIMeasurableAccessor* (*getMeasurableAccessor)(); const GENERATED_ArkUIViewAccessor* (*getViewAccessor)(); @@ -24256,6 +26673,9 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIChildrenMainSizeAccessor* (*getChildrenMainSizeAccessor)(); const GENERATED_ArkUIUICommonEventAccessor* (*getUICommonEventAccessor)(); const GENERATED_ArkUIGestureModifierAccessor* (*getGestureModifierAccessor)(); + const GENERATED_ArkUINavPathInfoAccessor* (*getNavPathInfoAccessor)(); + const GENERATED_ArkUINavPathStackAccessor* (*getNavPathStackAccessor)(); + const GENERATED_ArkUINavigationTransitionProxyAccessor* (*getNavigationTransitionProxyAccessor)(); const GENERATED_ArkUICanvasGradientAccessor* (*getCanvasGradientAccessor)(); const GENERATED_ArkUICanvasPathAccessor* (*getCanvasPathAccessor)(); const GENERATED_ArkUIPath2DAccessor* (*getPath2DAccessor)(); @@ -24291,12 +26711,18 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIScrollableTargetInfoAccessor* (*getScrollableTargetInfoAccessor)(); const GENERATED_ArkUIEventTargetInfoAccessor* (*getEventTargetInfoAccessor)(); const GENERATED_ArkUIGestureRecognizerAccessor* (*getGestureRecognizerAccessor)(); + const GENERATED_ArkUITapRecognizerAccessor* (*getTapRecognizerAccessor)(); + const GENERATED_ArkUILongPressRecognizerAccessor* (*getLongPressRecognizerAccessor)(); + const GENERATED_ArkUISwipeRecognizerAccessor* (*getSwipeRecognizerAccessor)(); + const GENERATED_ArkUIPinchRecognizerAccessor* (*getPinchRecognizerAccessor)(); + const GENERATED_ArkUIRotationRecognizerAccessor* (*getRotationRecognizerAccessor)(); const GENERATED_ArkUIPanRecognizerAccessor* (*getPanRecognizerAccessor)(); const GENERATED_ArkUIImageAnalyzerControllerAccessor* (*getImageAnalyzerControllerAccessor)(); const GENERATED_ArkUIListScrollerAccessor* (*getListScrollerAccessor)(); const GENERATED_ArkUIMatrix2DAccessor* (*getMatrix2DAccessor)(); const GENERATED_ArkUINavDestinationContextAccessor* (*getNavDestinationContextAccessor)(); const GENERATED_ArkUIPatternLockControllerAccessor* (*getPatternLockControllerAccessor)(); + const GENERATED_ArkUIVirtualScrollOptionsAccessor* (*getVirtualScrollOptionsAccessor)(); const GENERATED_ArkUIRichEditorBaseControllerAccessor* (*getRichEditorBaseControllerAccessor)(); const GENERATED_ArkUIRichEditorControllerAccessor* (*getRichEditorControllerAccessor)(); const GENERATED_ArkUIRichEditorStyledStringControllerAccessor* (*getRichEditorStyledStringControllerAccessor)(); @@ -24421,6 +26847,8 @@ typedef enum GENERATED_Ark_NodeType { GENERATED_ARKUI_IMAGE_ANIMATOR, GENERATED_ARKUI_IMAGE_SPAN, GENERATED_ARKUI_INDICATOR_COMPONENT, + GENERATED_ARKUI_LAZY_GRID_LAYOUT, + GENERATED_ARKUI_LAZY_VGRID_LAYOUT, GENERATED_ARKUI_LINE, GENERATED_ARKUI_LINEAR_INDICATOR, GENERATED_ARKUI_LIST, diff --git a/arkoala-arkts/framework/native/src/generated/bridge_custom.cc b/arkoala-arkts/framework/native/src/generated/bridge_custom.cc index c39f651e3b..ffedf90dcf 100644 --- a/arkoala-arkts/framework/native/src/generated/bridge_custom.cc +++ b/arkoala-arkts/framework/native/src/generated/bridge_custom.cc @@ -484,17 +484,17 @@ KVMObjectHandle impl_LoadUserView(KVMContext vm, const KStringPtr& viewClass, co EtsEnv* env = reinterpret_cast(vm); std:: string className(viewClass.c_str()); // TODO: hack, fix it! - if (className == "EtsHarness") { + if (className == "ViewLoaderApp") { + className = "Page.App"; + } else if (className == "EtsHarness") { className = "@koalaui.ets-harness.build.unmemoized.build.Page.EtsHarness"; } else if (isPageClass(className)) { className = "@koalaui.user.build.unmemoized.build.generated." + className; - } else if (isClass(className)) { - className = "L@" + className.substr(6) + ";"; } else { className = "@koalaui.user.build.unmemoized.src.Page." + className; } std::replace(className.begin(), className.end(), '.', '/'); - LOGE("[bridge_custom] Loading user class (ETSNAPI) %s by %s\n", viewClass.c_str(), className.c_str()); + LOGE("[bridge_custom] Loading user class (NAPI) %s by %s\n", viewClass.c_str(), className.c_str()); ets_class viewClassClass = env->FindClass(className.c_str()); if (!viewClassClass) { fprintf(stderr, "Cannot find user class %s\n", viewClass.c_str()); @@ -527,7 +527,9 @@ KVMObjectHandle impl_LoadUserView(KVMContext vm, const KStringPtr& viewClass, co ani_env* env = reinterpret_cast(vm); std::string className(viewClass.c_str()); // TODO: hack, fix it! - if (className == "EtsHarness") { + if (className == "UserApp") { + className = "L@ohos.arkui.Application.UserView;"; + } if (className == "EtsHarness") { className = "L@koalaui.ets-harness.build.unmemoized.build.Page.EtsHarness;"; } else if (isPageClass(className)) { className = "L" + className + ";"; diff --git a/arkoala-arkts/framework/native/src/generated/bridge_generated.cc b/arkoala-arkts/framework/native/src/generated/bridge_generated.cc index cc226d6e35..14959abafc 100644 --- a/arkoala-arkts/framework/native/src/generated/bridge_generated.cc +++ b/arkoala-arkts/framework/native/src/generated/bridge_generated.cc @@ -467,12 +467,12 @@ void impl_AlphabetIndexerAttribute_alignStyle(Ark_NativePointer thisPtr, Ark_Int Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto offset_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource offset_value_buf = {}; + Opt_Length offset_value_buf = {}; offset_value_buf.tag = offset_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType)) { const Ark_Int8 offset_value_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_value_buf_ = {}; + Ark_Length offset_value_buf_ = {}; offset_value_buf_.selector = offset_value_buf__selector; if (offset_value_buf__selector == 0) { offset_value_buf_.selector = 0; @@ -489,10 +489,10 @@ void impl_AlphabetIndexerAttribute_alignStyle(Ark_NativePointer thisPtr, Ark_Int else { INTEROP_FATAL("One of the branches for offset_value_buf_ has to be chosen through deserialisation."); } - offset_value_buf.value = static_cast(offset_value_buf_); + offset_value_buf.value = static_cast(offset_value_buf_); } - Opt_Union_String_Number_Resource offset_value = offset_value_buf;; - GetNodeModifiers()->getAlphabetIndexerModifier()->setAlignStyle(self, static_cast(value), (const Opt_Union_String_Number_Resource*)&offset_value); + Opt_Length offset_value = offset_value_buf;; + GetNodeModifiers()->getAlphabetIndexerModifier()->setAlignStyle(self, static_cast(value), (const Opt_Length*)&offset_value); } KOALA_INTEROP_DIRECT_V4(AlphabetIndexerAttribute_alignStyle, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) void impl_AlphabetIndexerAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -775,7 +775,7 @@ void impl_ButtonAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -792,8 +792,8 @@ void impl_ButtonAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getButtonModifier()->setFontSize(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getButtonModifier()->setFontSize(self, (const Ark_Length*)&value_value); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_ButtonAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -861,6 +861,48 @@ void impl_ButtonAttribute_labelStyle(Ark_NativePointer thisPtr, KSerializerBuffe GetNodeModifiers()->getButtonModifier()->setLabelStyle(self, (const Ark_LabelStyle*)&value_value); } KOALA_INTEROP_DIRECT_V3(ButtonAttribute_labelStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ButtonAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getButtonModifier()->setMinFontScale(self, (const Ark_Union_Number_Resource*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ButtonAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ButtonAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getButtonModifier()->setMaxFontScale(self, (const Ark_Union_Number_Resource*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ButtonAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_Calendar_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getCalendarModifier()->construct(id, flags); } @@ -986,21 +1028,54 @@ void impl_CalendarPickerInterface_setCalendarPickerOptions(Ark_NativePointer thi GetNodeModifiers()->getCalendarPickerModifier()->setCalendarPickerOptions(self, (const Opt_CalendarOptions*)&options_value); } KOALA_INTEROP_DIRECT_V3(CalendarPickerInterface_setCalendarPickerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CalendarPickerAttribute_textStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CalendarPickerAttribute_textStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; - GetNodeModifiers()->getCalendarPickerModifier()->setTextStyle(self, (const Ark_PickerTextStyle*)&value_value); + GetNodeModifiers()->getCalendarPickerModifier()->setTextStyle0(self, (const Ark_PickerTextStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_textStyle0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CalendarPickerAttribute_textStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readPickerTextStyle(); + } + Opt_PickerTextStyle value_value = value_value_buf;; + GetNodeModifiers()->getCalendarPickerModifier()->setTextStyle1(self, (const Opt_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_textStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CalendarPickerAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_textStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CalendarPickerAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Date_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};; - GetNodeModifiers()->getCalendarPickerModifier()->setOnChange(self, (const Callback_Date_Void*)&value_value); + GetNodeModifiers()->getCalendarPickerModifier()->setOnChange0(self, (const Callback_Date_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CalendarPickerAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Date_Void value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))}; + } + Opt_Callback_Date_Void value_value = value_value_buf;; + GetNodeModifiers()->getCalendarPickerModifier()->setOnChange1(self, (const Opt_Callback_Date_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CalendarPickerAttribute_edgeAlign(Ark_NativePointer thisPtr, Ark_Int32 alignType, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CalendarPickerAttribute_markToday(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCalendarPickerModifier()->setMarkToday(self, value); +} +KOALA_INTEROP_DIRECT_V2(CalendarPickerAttribute_markToday, Ark_NativePointer, Ark_Boolean) +void impl_CalendarPickerAttribute_edgeAlign0(Ark_NativePointer thisPtr, Ark_Int32 alignType, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto offset_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -1008,70 +1083,52 @@ void impl_CalendarPickerAttribute_edgeAlign(Ark_NativePointer thisPtr, Ark_Int32 offset_value_buf.tag = offset_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType)) { - Ark_Offset offset_value_buf_ = {}; - const Ark_Int8 offset_value_buf__dx_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_value_buf__dx_buf = {}; - offset_value_buf__dx_buf.selector = offset_value_buf__dx_buf_selector; - if (offset_value_buf__dx_buf_selector == 0) { - offset_value_buf__dx_buf.selector = 0; - offset_value_buf__dx_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (offset_value_buf__dx_buf_selector == 1) { - offset_value_buf__dx_buf.selector = 1; - offset_value_buf__dx_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (offset_value_buf__dx_buf_selector == 2) { - offset_value_buf__dx_buf.selector = 2; - offset_value_buf__dx_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_value_buf__dx_buf has to be chosen through deserialisation."); - } - offset_value_buf_.dx = static_cast(offset_value_buf__dx_buf); - const Ark_Int8 offset_value_buf__dy_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_value_buf__dy_buf = {}; - offset_value_buf__dy_buf.selector = offset_value_buf__dy_buf_selector; - if (offset_value_buf__dy_buf_selector == 0) { - offset_value_buf__dy_buf.selector = 0; - offset_value_buf__dy_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (offset_value_buf__dy_buf_selector == 1) { - offset_value_buf__dy_buf.selector = 1; - offset_value_buf__dy_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (offset_value_buf__dy_buf_selector == 2) { - offset_value_buf__dy_buf.selector = 2; - offset_value_buf__dy_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_value_buf__dy_buf has to be chosen through deserialisation."); - } - offset_value_buf_.dy = static_cast(offset_value_buf__dy_buf); - offset_value_buf.value = offset_value_buf_; + offset_value_buf.value = thisDeserializer.readOffset(); } Opt_Offset offset_value = offset_value_buf;; - GetNodeModifiers()->getCalendarPickerModifier()->setEdgeAlign(self, static_cast(alignType), (const Opt_Offset*)&offset_value); + GetNodeModifiers()->getCalendarPickerModifier()->setEdgeAlign0(self, static_cast(alignType), (const Opt_Offset*)&offset_value); } -KOALA_INTEROP_DIRECT_V4(CalendarPickerAttribute_edgeAlign, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Navigation_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getNavigationModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Navigation_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_NavigationInterface_setNavigationOptions0(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V4(CalendarPickerAttribute_edgeAlign0, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) +void impl_CalendarPickerAttribute_edgeAlign1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setNavigationOptions0(self); + Deserializer thisDeserializer(thisArray, thisLength); + const auto alignType_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CalendarAlign alignType_value_buf = {}; + alignType_value_buf.tag = alignType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignType_value_buf_runtimeType)) + { + alignType_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CalendarAlign alignType_value = alignType_value_buf;; + const auto offset_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Offset offset_value_buf = {}; + offset_value_buf.tag = offset_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType)) + { + offset_value_buf.value = thisDeserializer.readOffset(); + } + Opt_Offset offset_value = offset_value_buf;; + GetNodeModifiers()->getCalendarPickerModifier()->setEdgeAlign1(self, (const Opt_CalendarAlign*)&alignType_value, (const Opt_Offset*)&offset_value); } -KOALA_INTEROP_DIRECT_V1(NavigationInterface_setNavigationOptions0, Ark_NativePointer) -void impl_NavigationInterface_setNavigationOptions1(Ark_NativePointer thisPtr, Ark_NativePointer pathInfos) { +KOALA_INTEROP_DIRECT_V3(CalendarPickerAttribute_edgeAlign1, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Common_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getCommonModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Common_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_CommonInterface_setCommonOptions(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setNavigationOptions1(self, static_cast(pathInfos)); + GetNodeModifiers()->getCommonModifier()->setCommonOptions(self); } -KOALA_INTEROP_DIRECT_V2(NavigationInterface_setNavigationOptions1, Ark_NativePointer, Ark_NativePointer) -void impl_NavigationAttribute_navBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V1(CommonInterface_setCommonOptions, Ark_NativePointer) +Ark_NativePointer impl_CommonMethod_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getCommonMethodModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(CommonMethod_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_CommonMethod_width0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -1088,66 +1145,54 @@ void impl_NavigationAttribute_navBarWidth(Ark_NativePointer thisPtr, KSerializer else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getNavigationModifier()->setNavBarWidth(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setWidth0(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navBarWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_navBarPosition(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setNavBarPosition(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(NavigationAttribute_navBarPosition, Ark_NativePointer, Ark_Int32) -void impl_NavigationAttribute_navBarWidthRange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_width0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_width1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Tuple_Dimension_Dimension value_value_buf = {}; - const Ark_Int8 value_value_buf_value0_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_value0_buf = {}; - value_value_buf_value0_buf.selector = value_value_buf_value0_buf_selector; - if (value_value_buf_value0_buf_selector == 0) { - value_value_buf_value0_buf.selector = 0; - value_value_buf_value0_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_value0_buf_selector == 1) { - value_value_buf_value0_buf.selector = 1; - value_value_buf_value0_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_value0_buf_selector == 2) { - value_value_buf_value0_buf.selector = 2; - value_value_buf_value0_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_value0_buf has to be chosen through deserialisation."); - } - value_value_buf.value0 = static_cast(value_value_buf_value0_buf); - const Ark_Int8 value_value_buf_value1_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_value1_buf = {}; - value_value_buf_value1_buf.selector = value_value_buf_value1_buf_selector; - if (value_value_buf_value1_buf_selector == 0) { - value_value_buf_value1_buf.selector = 0; - value_value_buf_value1_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_value1_buf_selector == 1) { - value_value_buf_value1_buf.selector = 1; - value_value_buf_value1_buf.value1 = static_cast(thisDeserializer.readNumber()); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Length_LayoutPolicy value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); } - else if (value_value_buf_value1_buf_selector == 2) { - value_value_buf_value1_buf.selector = 2; - value_value_buf_value1_buf.value2 = thisDeserializer.readResource(); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readLayoutPolicy(); } else { - INTEROP_FATAL("One of the branches for value_value_buf_value1_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - value_value_buf.value1 = static_cast(value_value_buf_value1_buf); - Ark_Tuple_Dimension_Dimension value_value = value_value_buf;; - GetNodeModifiers()->getNavigationModifier()->setNavBarWidthRange(self, (const Ark_Tuple_Dimension_Dimension*)&value_value); + Ark_Union_Length_LayoutPolicy value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setWidth1(self, (const Ark_Union_Length_LayoutPolicy*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navBarWidthRange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_minContentWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_width1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_height0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -1164,206 +1209,297 @@ void impl_NavigationAttribute_minContentWidth(Ark_NativePointer thisPtr, KSerial else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getNavigationModifier()->setMinContentWidth(self, (const Ark_Union_String_Number_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_minContentWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_mode(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setMode(self, static_cast(value)); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setHeight0(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V2(NavigationAttribute_mode, Ark_NativePointer, Ark_Int32) -void impl_NavigationAttribute_backButtonIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_height0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_height1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier value_value_buf = {}; + Ark_Union_Length_LayoutPolicy value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readPixelMap()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readSymbolGlyphModifier(); + value_value_buf.value1 = thisDeserializer.readLayoutPolicy(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getNavigationModifier()->setBackButtonIcon(self, (const Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_backButtonIcon, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_hideNavBar(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setHideNavBar(self, value); -} -KOALA_INTEROP_DIRECT_V2(NavigationAttribute_hideNavBar, Ark_NativePointer, Ark_Boolean) -void impl_NavigationAttribute_subTitle(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setSubTitle(self, (const Ark_String*) (&value)); -} -KOALA_INTEROP_V2(NavigationAttribute_subTitle, Ark_NativePointer, KStringPtr) -void impl_NavigationAttribute_hideTitleBar0(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setHideTitleBar0(self, value); -} -KOALA_INTEROP_DIRECT_V2(NavigationAttribute_hideTitleBar0, Ark_NativePointer, Ark_Boolean) -void impl_NavigationAttribute_hideTitleBar1(Ark_NativePointer thisPtr, Ark_Boolean hide, Ark_Boolean animated) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setHideTitleBar1(self, hide, animated); + Ark_Union_Length_LayoutPolicy value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setHeight1(self, (const Ark_Union_Length_LayoutPolicy*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideTitleBar1, Ark_NativePointer, Ark_Boolean, Ark_Boolean) -void impl_NavigationAttribute_hideBackButton(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setHideBackButton(self, value); -} -KOALA_INTEROP_DIRECT_V2(NavigationAttribute_hideBackButton, Ark_NativePointer, Ark_Boolean) -void impl_NavigationAttribute_titleMode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_height1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_drawModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setTitleMode(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DrawModifier value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readDrawModifier()); + } + Opt_DrawModifier value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setDrawModifier(self, (const Opt_DrawModifier*)&value_value); } -KOALA_INTEROP_DIRECT_V2(NavigationAttribute_titleMode, Ark_NativePointer, Ark_Int32) -void impl_NavigationAttribute_menus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_drawModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_responseRegion(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Array_NavigationMenuItem_CustomBuilder value_value_buf = {}; + Ark_Union_Array_Rectangle_Rectangle value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_NavigationMenuItem value_value_buf_u = {}; + Array_Rectangle value_value_buf_u = {}; thisDeserializer.resizeArray::type, std::decay::type>(&value_value_buf_u, value_value_buf_u_length); for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { - value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readNavigationMenuItem(); + value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readRectangle(); } value_value_buf.value0 = value_value_buf_u; } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + value_value_buf.value1 = thisDeserializer.readRectangle(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Array_NavigationMenuItem_CustomBuilder value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getNavigationModifier()->setMenus(self, (const Ark_Union_Array_NavigationMenuItem_CustomBuilder*)&value_value); + Ark_Union_Array_Rectangle_Rectangle value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setResponseRegion(self, (const Ark_Union_Array_Rectangle_Rectangle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_menus, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_toolBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_responseRegion, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_mouseResponseRegion(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; - GetNodeModifiers()->getNavigationModifier()->setToolBar(self, (const CustomNodeBuilder*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_toolBar, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_hideToolBar0(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setHideToolBar0(self, value); -} -KOALA_INTEROP_DIRECT_V2(NavigationAttribute_hideToolBar0, Ark_NativePointer, Ark_Boolean) -void impl_NavigationAttribute_hideToolBar1(Ark_NativePointer thisPtr, Ark_Boolean hide, Ark_Boolean animated) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigationModifier()->setHideToolBar1(self, hide, animated); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Array_Rectangle_Rectangle value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); + Array_Rectangle value_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf_u, value_value_buf_u_length); + for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { + value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readRectangle(); + } + value_value_buf.value0 = value_value_buf_u; + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readRectangle(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Array_Rectangle_Rectangle value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setMouseResponseRegion(self, (const Ark_Union_Array_Rectangle_Rectangle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideToolBar1, Ark_NativePointer, Ark_Boolean, Ark_Boolean) -void impl_NavigationAttribute_onTitleModeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_mouseResponseRegion, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_NavigationTitleMode_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavigationTitleMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavigationTitleMode_Void))))};; - GetNodeModifiers()->getNavigationModifier()->setOnTitleModeChange(self, (const Callback_NavigationTitleMode_Void*)&value_value); + Ark_SizeOptions value_value = thisDeserializer.readSizeOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setSize(self, (const Ark_SizeOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_onTitleModeChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_onNavBarStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_size, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_constraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getNavigationModifier()->setOnNavBarStateChange(self, (const Callback_Boolean_Void*)&value_value); + Ark_ConstraintSizeOptions value_value = thisDeserializer.readConstraintSizeOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setConstraintSize(self, (const Ark_ConstraintSizeOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_onNavBarStateChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_onNavigationModeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_constraintSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_touchable(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_NavigationMode_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavigationMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavigationMode_Void))))};; - GetNodeModifiers()->getNavigationModifier()->setOnNavigationModeChange(self, (const Callback_NavigationMode_Void*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setTouchable(self, value); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_onNavigationModeChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_navDestination(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(CommonMethod_touchable, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_hitTestBehavior(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_Unknown_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Unknown_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Unknown_Void))))};; - GetNodeModifiers()->getNavigationModifier()->setNavDestination(self, (const Callback_String_Unknown_Void*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setHitTestBehavior(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navDestination, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_customNavContentTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(CommonMethod_hitTestBehavior, Ark_NativePointer, Ark_Int32) +void impl_CommonMethod_onChildTouchTest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Type_NavigationAttribute_customNavContentTransition_delegate value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Type_NavigationAttribute_customNavContentTransition_delegate)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Type_NavigationAttribute_customNavContentTransition_delegate))))};; - GetNodeModifiers()->getNavigationModifier()->setCustomNavContentTransition(self, (const Type_NavigationAttribute_customNavContentTransition_delegate*)&value_value); + Callback_Array_TouchTestInfo_TouchResult value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Array_TouchTestInfo_TouchResult)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Array_TouchTestInfo_TouchResult))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnChildTouchTest(self, (const Callback_Array_TouchTestInfo_TouchResult*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_customNavContentTransition, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_systemBarStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_onChildTouchTest, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_layoutWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SystemBarStyle value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readSystemBarStyle(); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } - Opt_SystemBarStyle value_value = value_value_buf;; - GetNodeModifiers()->getNavigationModifier()->setSystemBarStyle(self, (const Opt_SystemBarStyle*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_systemBarStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_recoverable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readBoolean(); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } - Opt_Boolean value_value = value_value_buf;; - GetNodeModifiers()->getNavigationModifier()->setRecoverable(self, (const Opt_Boolean*)&value_value); + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setLayoutWeight(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_recoverable, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_enableDragBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_layoutWeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_chainWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean value_value = value_value_buf;; - GetNodeModifiers()->getNavigationModifier()->setEnableDragBar(self, (const Opt_Boolean*)&value_value); + Ark_ChainWeightOptions value_value = thisDeserializer.readChainWeightOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setChainWeight(self, (const Ark_ChainWeightOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_enableDragBar, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_title(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_chainWeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_padding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Type_NavigationAttribute_title_value value_value_buf = {}; + Ark_Union_Padding_Length_LocalizedPadding value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; + Ark_Padding value_value_buf_u = {}; + const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length value_value_buf_u_top_buf = {}; + value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) + { + const Ark_Int8 value_value_buf_u_top_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u_top_buf_ = {}; + value_value_buf_u_top_buf_.selector = value_value_buf_u_top_buf__selector; + if (value_value_buf_u_top_buf__selector == 0) { + value_value_buf_u_top_buf_.selector = 0; + value_value_buf_u_top_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_top_buf__selector == 1) { + value_value_buf_u_top_buf_.selector = 1; + value_value_buf_u_top_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_top_buf__selector == 2) { + value_value_buf_u_top_buf_.selector = 2; + value_value_buf_u_top_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_top_buf_ has to be chosen through deserialisation."); + } + value_value_buf_u_top_buf.value = static_cast(value_value_buf_u_top_buf_); + } + value_value_buf_u.top = value_value_buf_u_top_buf; + const auto value_value_buf_u_right_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length value_value_buf_u_right_buf = {}; + value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + { + const Ark_Int8 value_value_buf_u_right_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u_right_buf_ = {}; + value_value_buf_u_right_buf_.selector = value_value_buf_u_right_buf__selector; + if (value_value_buf_u_right_buf__selector == 0) { + value_value_buf_u_right_buf_.selector = 0; + value_value_buf_u_right_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_right_buf__selector == 1) { + value_value_buf_u_right_buf_.selector = 1; + value_value_buf_u_right_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_right_buf__selector == 2) { + value_value_buf_u_right_buf_.selector = 2; + value_value_buf_u_right_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_right_buf_ has to be chosen through deserialisation."); + } + value_value_buf_u_right_buf.value = static_cast(value_value_buf_u_right_buf_); + } + value_value_buf_u.right = value_value_buf_u_right_buf; + const auto value_value_buf_u_bottom_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length value_value_buf_u_bottom_buf = {}; + value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + { + const Ark_Int8 value_value_buf_u_bottom_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u_bottom_buf_ = {}; + value_value_buf_u_bottom_buf_.selector = value_value_buf_u_bottom_buf__selector; + if (value_value_buf_u_bottom_buf__selector == 0) { + value_value_buf_u_bottom_buf_.selector = 0; + value_value_buf_u_bottom_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_bottom_buf__selector == 1) { + value_value_buf_u_bottom_buf_.selector = 1; + value_value_buf_u_bottom_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_bottom_buf__selector == 2) { + value_value_buf_u_bottom_buf_.selector = 2; + value_value_buf_u_bottom_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_bottom_buf_ has to be chosen through deserialisation."); + } + value_value_buf_u_bottom_buf.value = static_cast(value_value_buf_u_bottom_buf_); + } + value_value_buf_u.bottom = value_value_buf_u_bottom_buf; + const auto value_value_buf_u_left_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length value_value_buf_u_left_buf = {}; + value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + { + const Ark_Int8 value_value_buf_u_left_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u_left_buf_ = {}; + value_value_buf_u_left_buf_.selector = value_value_buf_u_left_buf__selector; + if (value_value_buf_u_left_buf__selector == 0) { + value_value_buf_u_left_buf_.selector = 0; + value_value_buf_u_left_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_left_buf__selector == 1) { + value_value_buf_u_left_buf_.selector = 1; + value_value_buf_u_left_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_left_buf__selector == 2) { + value_value_buf_u_left_buf_.selector = 2; + value_value_buf_u_left_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_left_buf_ has to be chosen through deserialisation."); + } + value_value_buf_u_left_buf.value = static_cast(value_value_buf_u_left_buf_); + } + value_value_buf_u.left = value_value_buf_u_left_buf; + value_value_buf.value0 = value_value_buf_u; + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf_u = {}; + Ark_Length value_value_buf_u = {}; value_value_buf_u.selector = value_value_buf_u_selector; if (value_value_buf_u_selector == 0) { value_value_buf_u.selector = 0; @@ -1371,159 +1507,210 @@ void impl_NavigationAttribute_title(Ark_NativePointer thisPtr, KSerializerBuffer } else if (value_value_buf_u_selector == 1) { value_value_buf_u.selector = 1; - value_value_buf_u.value1 = thisDeserializer.readResource(); + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); } - value_value_buf.value0 = static_cast(value_value_buf_u); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + value_value_buf.value1 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readNavigationCommonTitle(); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readNavigationCustomTitle(); + value_value_buf.value2 = thisDeserializer.readLocalizedPadding(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Type_NavigationAttribute_title_value value_value = static_cast(value_value_buf);; - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationTitleOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readNavigationTitleOptions(); - } - Opt_NavigationTitleOptions options_value = options_value_buf;; - GetNodeModifiers()->getNavigationModifier()->setTitle(self, (const Ark_Type_NavigationAttribute_title_value*)&value_value, (const Opt_NavigationTitleOptions*)&options_value); + Ark_Union_Padding_Length_LocalizedPadding value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setPadding(self, (const Ark_Union_Padding_Length_LocalizedPadding*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_title, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_toolbarConfiguration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_padding, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_safeAreaPadding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Array_ToolbarItem_CustomBuilder value_value_buf = {}; + Ark_Union_Padding_LengthMetrics_LocalizedPadding value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_ToolbarItem value_value_buf_u = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_u, value_value_buf_u_length); - for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { - value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readToolbarItem(); + Ark_Padding value_value_buf_u = {}; + const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length value_value_buf_u_top_buf = {}; + value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) + { + const Ark_Int8 value_value_buf_u_top_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u_top_buf_ = {}; + value_value_buf_u_top_buf_.selector = value_value_buf_u_top_buf__selector; + if (value_value_buf_u_top_buf__selector == 0) { + value_value_buf_u_top_buf_.selector = 0; + value_value_buf_u_top_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_top_buf__selector == 1) { + value_value_buf_u_top_buf_.selector = 1; + value_value_buf_u_top_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_top_buf__selector == 2) { + value_value_buf_u_top_buf_.selector = 2; + value_value_buf_u_top_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_top_buf_ has to be chosen through deserialisation."); + } + value_value_buf_u_top_buf.value = static_cast(value_value_buf_u_top_buf_); + } + value_value_buf_u.top = value_value_buf_u_top_buf; + const auto value_value_buf_u_right_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length value_value_buf_u_right_buf = {}; + value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + { + const Ark_Int8 value_value_buf_u_right_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u_right_buf_ = {}; + value_value_buf_u_right_buf_.selector = value_value_buf_u_right_buf__selector; + if (value_value_buf_u_right_buf__selector == 0) { + value_value_buf_u_right_buf_.selector = 0; + value_value_buf_u_right_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_right_buf__selector == 1) { + value_value_buf_u_right_buf_.selector = 1; + value_value_buf_u_right_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_right_buf__selector == 2) { + value_value_buf_u_right_buf_.selector = 2; + value_value_buf_u_right_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_right_buf_ has to be chosen through deserialisation."); + } + value_value_buf_u_right_buf.value = static_cast(value_value_buf_u_right_buf_); + } + value_value_buf_u.right = value_value_buf_u_right_buf; + const auto value_value_buf_u_bottom_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length value_value_buf_u_bottom_buf = {}; + value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + { + const Ark_Int8 value_value_buf_u_bottom_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u_bottom_buf_ = {}; + value_value_buf_u_bottom_buf_.selector = value_value_buf_u_bottom_buf__selector; + if (value_value_buf_u_bottom_buf__selector == 0) { + value_value_buf_u_bottom_buf_.selector = 0; + value_value_buf_u_bottom_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_bottom_buf__selector == 1) { + value_value_buf_u_bottom_buf_.selector = 1; + value_value_buf_u_bottom_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_bottom_buf__selector == 2) { + value_value_buf_u_bottom_buf_.selector = 2; + value_value_buf_u_bottom_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_bottom_buf_ has to be chosen through deserialisation."); + } + value_value_buf_u_bottom_buf.value = static_cast(value_value_buf_u_bottom_buf_); + } + value_value_buf_u.bottom = value_value_buf_u_bottom_buf; + const auto value_value_buf_u_left_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length value_value_buf_u_left_buf = {}; + value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + { + const Ark_Int8 value_value_buf_u_left_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u_left_buf_ = {}; + value_value_buf_u_left_buf_.selector = value_value_buf_u_left_buf__selector; + if (value_value_buf_u_left_buf__selector == 0) { + value_value_buf_u_left_buf_.selector = 0; + value_value_buf_u_left_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_left_buf__selector == 1) { + value_value_buf_u_left_buf_.selector = 1; + value_value_buf_u_left_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_left_buf__selector == 2) { + value_value_buf_u_left_buf_.selector = 2; + value_value_buf_u_left_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_left_buf_ has to be chosen through deserialisation."); + } + value_value_buf_u_left_buf.value = static_cast(value_value_buf_u_left_buf_); } + value_value_buf_u.left = value_value_buf_u_left_buf; value_value_buf.value0 = value_value_buf_u; } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + value_value_buf.value1 = static_cast(thisDeserializer.readLengthMetrics()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readLocalizedPadding(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Array_ToolbarItem_CustomBuilder value_value = static_cast(value_value_buf);; - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationToolbarOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readNavigationToolbarOptions(); - } - Opt_NavigationToolbarOptions options_value = options_value_buf;; - GetNodeModifiers()->getNavigationModifier()->setToolbarConfiguration(self, (const Ark_Union_Array_ToolbarItem_CustomBuilder*)&value_value, (const Opt_NavigationToolbarOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_toolbarConfiguration, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigationAttribute_ignoreLayoutSafeArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto types_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_LayoutSafeAreaType types_value_buf = {}; - types_value_buf.tag = types_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (types_value_buf_runtimeType)) - { - const Ark_Int32 types_value_buf__length = thisDeserializer.readInt32(); - Array_LayoutSafeAreaType types_value_buf_ = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&types_value_buf_, types_value_buf__length); - for (int types_value_buf__i = 0; types_value_buf__i < types_value_buf__length; types_value_buf__i++) { - types_value_buf_.array[types_value_buf__i] = static_cast(thisDeserializer.readInt32()); - } - types_value_buf.value = types_value_buf_; - } - Opt_Array_LayoutSafeAreaType types_value = types_value_buf;; - const auto edges_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_LayoutSafeAreaEdge edges_value_buf = {}; - edges_value_buf.tag = edges_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (edges_value_buf_runtimeType)) - { - const Ark_Int32 edges_value_buf__length = thisDeserializer.readInt32(); - Array_LayoutSafeAreaEdge edges_value_buf_ = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&edges_value_buf_, edges_value_buf__length); - for (int edges_value_buf__i = 0; edges_value_buf__i < edges_value_buf__length; edges_value_buf__i++) { - edges_value_buf_.array[edges_value_buf__i] = static_cast(thisDeserializer.readInt32()); - } - edges_value_buf.value = edges_value_buf_; - } - Opt_Array_LayoutSafeAreaEdge edges_value = edges_value_buf;; - GetNodeModifiers()->getNavigationModifier()->setIgnoreLayoutSafeArea(self, (const Opt_Array_LayoutSafeAreaType*)&types_value, (const Opt_Array_LayoutSafeAreaEdge*)&edges_value); -} -KOALA_INTEROP_DIRECT_V3(NavigationAttribute_ignoreLayoutSafeArea, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Common_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCommonModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Common_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_CommonInterface_setCommonOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonModifier()->setCommonOptions(self); -} -KOALA_INTEROP_DIRECT_V1(CommonInterface_setCommonOptions, Ark_NativePointer) -Ark_NativePointer impl_CommonMethod_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCommonMethodModifier()->construct(id, flags); + Ark_Union_Padding_LengthMetrics_LocalizedPadding value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setSafeAreaPadding(self, (const Ark_Union_Padding_LengthMetrics_LocalizedPadding*)&value_value); } -KOALA_INTEROP_DIRECT_2(CommonMethod_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_CommonMethod_width(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_safeAreaPadding, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_margin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Margin_Length_LocalizedMargin value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = thisDeserializer.readPadding(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value1 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readLocalizedPadding(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setWidth(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Union_Margin_Length_LocalizedMargin value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setMargin(self, (const Ark_Union_Margin_Length_LocalizedMargin*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_width, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_height(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_margin, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_backgroundColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -1531,121 +1718,172 @@ void impl_CommonMethod_height(Ark_NativePointer thisPtr, KSerializerBuffer thisA } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setHeight(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_height, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_drawModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_backgroundColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_DrawModifier value_value_buf = {}; + Opt_ResourceColor value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = static_cast(thisDeserializer.readDrawModifier()); + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); } - Opt_DrawModifier value_value = value_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setDrawModifier(self, (const Opt_DrawModifier*)&value_value); + Opt_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundColor1(self, (const Opt_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_drawModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_responseRegion(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_pixelRound(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_PixelRoundPolicy value_value = thisDeserializer.readPixelRoundPolicy();; + GetNodeModifiers()->getCommonMethodModifier()->setPixelRound(self, (const Ark_PixelRoundPolicy*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_pixelRound, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_backgroundImageSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Array_Rectangle_Rectangle value_value_buf = {}; + Ark_Union_SizeOptions_ImageSize value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_Rectangle value_value_buf_u = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_u, value_value_buf_u_length); - for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { - value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readRectangle(); - } - value_value_buf.value0 = value_value_buf_u; + value_value_buf.value0 = thisDeserializer.readSizeOptions(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readRectangle(); + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Array_Rectangle_Rectangle value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setResponseRegion(self, (const Ark_Union_Array_Rectangle_Rectangle*)&value_value); + Ark_Union_SizeOptions_ImageSize value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImageSize(self, (const Ark_Union_SizeOptions_ImageSize*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_responseRegion, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_mouseResponseRegion(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImageSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_backgroundImagePosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Array_Rectangle_Rectangle value_value_buf = {}; + Ark_Union_Position_Alignment value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_Rectangle value_value_buf_u = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_u, value_value_buf_u_length); - for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { - value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readRectangle(); - } - value_value_buf.value0 = value_value_buf_u; + value_value_buf.value0 = thisDeserializer.readPosition(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readRectangle(); + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Array_Rectangle_Rectangle value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setMouseResponseRegion(self, (const Ark_Union_Array_Rectangle_Rectangle*)&value_value); + Ark_Union_Position_Alignment value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImagePosition(self, (const Ark_Union_Position_Alignment*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_mouseResponseRegion, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImagePosition, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_backgroundEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_SizeOptions value_value = thisDeserializer.readSizeOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setSize(self, (const Ark_SizeOptions*)&value_value); + Ark_BackgroundEffectOptions value_value = thisDeserializer.readBackgroundEffectOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundEffect0(self, (const Ark_BackgroundEffectOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_size, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_constraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundEffect0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_backgroundEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_ConstraintSizeOptions value_value = thisDeserializer.readConstraintSizeOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setConstraintSize(self, (const Ark_ConstraintSizeOptions*)&value_value); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BackgroundEffectOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readBackgroundEffectOptions(); + } + Opt_BackgroundEffectOptions options_value = options_value_buf;; + const auto sysOptions_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SystemAdaptiveOptions sysOptions_value_buf = {}; + sysOptions_value_buf.tag = sysOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sysOptions_value_buf_runtimeType)) + { + sysOptions_value_buf.value = thisDeserializer.readSystemAdaptiveOptions(); + } + Opt_SystemAdaptiveOptions sysOptions_value = sysOptions_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundEffect1(self, (const Opt_BackgroundEffectOptions*)&options_value, (const Opt_SystemAdaptiveOptions*)&sysOptions_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_constraintSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_touchable(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundEffect1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_backgroundImageResizable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setTouchable(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ResizableOptions value_value = thisDeserializer.readResizableOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImageResizable(self, (const Ark_ResizableOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(CommonMethod_touchable, Ark_NativePointer, Ark_Boolean) -void impl_CommonMethod_hitTestBehavior(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImageResizable, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_foregroundEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setHitTestBehavior(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ForegroundEffectOptions value_value = thisDeserializer.readForegroundEffectOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setForegroundEffect(self, (const Ark_ForegroundEffectOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(CommonMethod_hitTestBehavior, Ark_NativePointer, Ark_Int32) -void impl_CommonMethod_onChildTouchTest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundEffect, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_visualEffect(Ark_NativePointer thisPtr, Ark_NativePointer value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Array_TouchTestInfo_TouchResult value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Array_TouchTestInfo_TouchResult)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Array_TouchTestInfo_TouchResult))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnChildTouchTest(self, (const Callback_Array_TouchTestInfo_TouchResult*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setVisualEffect(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_onChildTouchTest, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_layoutWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(CommonMethod_visualEffect, Ark_NativePointer, Ark_NativePointer) +void impl_CommonMethod_backgroundFilter(Ark_NativePointer thisPtr, Ark_NativePointer value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundFilter(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_backgroundFilter, Ark_NativePointer, Ark_NativePointer) +void impl_CommonMethod_foregroundFilter(Ark_NativePointer thisPtr, Ark_NativePointer value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setForegroundFilter(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_foregroundFilter, Ark_NativePointer, Ark_NativePointer) +void impl_CommonMethod_compositingFilter(Ark_NativePointer thisPtr, Ark_NativePointer value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setCompositingFilter(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_compositingFilter, Ark_NativePointer, Ark_NativePointer) +void impl_CommonMethod_opacity0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_Union_Number_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -1653,141 +1891,81 @@ void impl_CommonMethod_layoutWeight(Ark_NativePointer thisPtr, KSerializerBuffer } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setLayoutWeight(self, (const Ark_Union_Number_String*)&value_value); + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setOpacity0(self, (const Ark_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_layoutWeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_chainWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_opacity0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_opacity1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_ChainWeightOptions value_value = thisDeserializer.readChainWeightOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setChainWeight(self, (const Ark_ChainWeightOptions*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_Resource value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_Number_Resource value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setOpacity1(self, (const Opt_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_chainWeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_padding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_opacity1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_border(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_BorderOptions value_value = thisDeserializer.readBorderOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setBorder(self, (const Ark_BorderOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_border, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_borderStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Padding_Length_LocalizedPadding value_value_buf = {}; + Ark_Union_BorderStyle_EdgeStyles value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - Ark_Padding value_value_buf_u = {}; - const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_top_buf = {}; - value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_top_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_top_buf_ = {}; - value_value_buf_u_top_buf_.selector = value_value_buf_u_top_buf__selector; - if (value_value_buf_u_top_buf__selector == 0) { - value_value_buf_u_top_buf_.selector = 0; - value_value_buf_u_top_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_top_buf__selector == 1) { - value_value_buf_u_top_buf_.selector = 1; - value_value_buf_u_top_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_top_buf__selector == 2) { - value_value_buf_u_top_buf_.selector = 2; - value_value_buf_u_top_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_top_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_top_buf.value = static_cast(value_value_buf_u_top_buf_); - } - value_value_buf_u.top = value_value_buf_u_top_buf; - const auto value_value_buf_u_right_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_right_buf = {}; - value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_right_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_right_buf_ = {}; - value_value_buf_u_right_buf_.selector = value_value_buf_u_right_buf__selector; - if (value_value_buf_u_right_buf__selector == 0) { - value_value_buf_u_right_buf_.selector = 0; - value_value_buf_u_right_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_right_buf__selector == 1) { - value_value_buf_u_right_buf_.selector = 1; - value_value_buf_u_right_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_right_buf__selector == 2) { - value_value_buf_u_right_buf_.selector = 2; - value_value_buf_u_right_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_right_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_right_buf.value = static_cast(value_value_buf_u_right_buf_); - } - value_value_buf_u.right = value_value_buf_u_right_buf; - const auto value_value_buf_u_bottom_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_bottom_buf = {}; - value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottom_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_bottom_buf_ = {}; - value_value_buf_u_bottom_buf_.selector = value_value_buf_u_bottom_buf__selector; - if (value_value_buf_u_bottom_buf__selector == 0) { - value_value_buf_u_bottom_buf_.selector = 0; - value_value_buf_u_bottom_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottom_buf__selector == 1) { - value_value_buf_u_bottom_buf_.selector = 1; - value_value_buf_u_bottom_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottom_buf__selector == 2) { - value_value_buf_u_bottom_buf_.selector = 2; - value_value_buf_u_bottom_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottom_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottom_buf.value = static_cast(value_value_buf_u_bottom_buf_); - } - value_value_buf_u.bottom = value_value_buf_u_bottom_buf; - const auto value_value_buf_u_left_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_left_buf = {}; - value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_left_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_left_buf_ = {}; - value_value_buf_u_left_buf_.selector = value_value_buf_u_left_buf__selector; - if (value_value_buf_u_left_buf__selector == 0) { - value_value_buf_u_left_buf_.selector = 0; - value_value_buf_u_left_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_left_buf__selector == 1) { - value_value_buf_u_left_buf_.selector = 1; - value_value_buf_u_left_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_left_buf__selector == 2) { - value_value_buf_u_left_buf_.selector = 2; - value_value_buf_u_left_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_left_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_left_buf.value = static_cast(value_value_buf_u_left_buf_); - } - value_value_buf_u.left = value_value_buf_u_left_buf; - value_value_buf.value0 = value_value_buf_u; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readEdgeStyles(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_BorderStyle_EdgeStyles value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setBorderStyle(self, (const Ark_Union_BorderStyle_EdgeStyles*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_borderStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_borderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u = {}; + Ark_Length value_value_buf_u = {}; value_value_buf_u.selector = value_value_buf_u_selector; if (value_value_buf_u_selector == 0) { value_value_buf_u.selector = 0; @@ -1804,268 +1982,80 @@ void impl_CommonMethod_padding(Ark_NativePointer thisPtr, KSerializerBuffer this else { INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); } - value_value_buf.value1 = static_cast(value_value_buf_u); + value_value_buf.value0 = static_cast(value_value_buf_u); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readEdgeWidths(); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readLocalizedPadding(); + value_value_buf.value2 = thisDeserializer.readLocalizedEdgeWidths(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Padding_Length_LocalizedPadding value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setPadding(self, (const Ark_Union_Padding_Length_LocalizedPadding*)&value_value); + Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setBorderWidth(self, (const Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_padding, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_safeAreaPadding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_borderWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_borderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Padding_LengthMetrics_LocalizedPadding value_value_buf = {}; + Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - Ark_Padding value_value_buf_u = {}; - const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_top_buf = {}; - value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_top_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_top_buf_ = {}; - value_value_buf_u_top_buf_.selector = value_value_buf_u_top_buf__selector; - if (value_value_buf_u_top_buf__selector == 0) { - value_value_buf_u_top_buf_.selector = 0; - value_value_buf_u_top_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_top_buf__selector == 1) { - value_value_buf_u_top_buf_.selector = 1; - value_value_buf_u_top_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_top_buf__selector == 2) { - value_value_buf_u_top_buf_.selector = 2; - value_value_buf_u_top_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_top_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_top_buf.value = static_cast(value_value_buf_u_top_buf_); + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readInt32()); } - value_value_buf_u.top = value_value_buf_u_top_buf; - const auto value_value_buf_u_right_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_right_buf = {}; - value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_right_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_right_buf_ = {}; - value_value_buf_u_right_buf_.selector = value_value_buf_u_right_buf__selector; - if (value_value_buf_u_right_buf__selector == 0) { - value_value_buf_u_right_buf_.selector = 0; - value_value_buf_u_right_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_right_buf__selector == 1) { - value_value_buf_u_right_buf_.selector = 1; - value_value_buf_u_right_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_right_buf__selector == 2) { - value_value_buf_u_right_buf_.selector = 2; - value_value_buf_u_right_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_right_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_right_buf.value = static_cast(value_value_buf_u_right_buf_); + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); } - value_value_buf_u.right = value_value_buf_u_right_buf; - const auto value_value_buf_u_bottom_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_bottom_buf = {}; - value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottom_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_bottom_buf_ = {}; - value_value_buf_u_bottom_buf_.selector = value_value_buf_u_bottom_buf__selector; - if (value_value_buf_u_bottom_buf__selector == 0) { - value_value_buf_u_bottom_buf_.selector = 0; - value_value_buf_u_bottom_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottom_buf__selector == 1) { - value_value_buf_u_bottom_buf_.selector = 1; - value_value_buf_u_bottom_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottom_buf__selector == 2) { - value_value_buf_u_bottom_buf_.selector = 2; - value_value_buf_u_bottom_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottom_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottom_buf.value = static_cast(value_value_buf_u_bottom_buf_); + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = static_cast(thisDeserializer.readString()); } - value_value_buf_u.bottom = value_value_buf_u_bottom_buf; - const auto value_value_buf_u_left_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_left_buf = {}; - value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_left_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_left_buf_ = {}; - value_value_buf_u_left_buf_.selector = value_value_buf_u_left_buf__selector; - if (value_value_buf_u_left_buf__selector == 0) { - value_value_buf_u_left_buf_.selector = 0; - value_value_buf_u_left_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_left_buf__selector == 1) { - value_value_buf_u_left_buf_.selector = 1; - value_value_buf_u_left_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_left_buf__selector == 2) { - value_value_buf_u_left_buf_.selector = 2; - value_value_buf_u_left_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_left_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_left_buf.value = static_cast(value_value_buf_u_left_buf_); + else if (value_value_buf_u_selector == 3) { + value_value_buf_u.selector = 3; + value_value_buf_u.value3 = thisDeserializer.readResource(); } - value_value_buf_u.left = value_value_buf_u_left_buf; - value_value_buf.value0 = value_value_buf_u; + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readLengthMetrics()); + value_value_buf.value1 = thisDeserializer.readEdgeColors(); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readLocalizedPadding(); + value_value_buf.value2 = thisDeserializer.readLocalizedEdgeColors(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Padding_LengthMetrics_LocalizedPadding value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setSafeAreaPadding(self, (const Ark_Union_Padding_LengthMetrics_LocalizedPadding*)&value_value); + Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setBorderColor(self, (const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_safeAreaPadding, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_margin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_borderColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_borderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Margin_Length_LocalizedMargin value_value_buf = {}; + Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - Ark_Padding value_value_buf_u = {}; - const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_top_buf = {}; - value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_top_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_top_buf_ = {}; - value_value_buf_u_top_buf_.selector = value_value_buf_u_top_buf__selector; - if (value_value_buf_u_top_buf__selector == 0) { - value_value_buf_u_top_buf_.selector = 0; - value_value_buf_u_top_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_top_buf__selector == 1) { - value_value_buf_u_top_buf_.selector = 1; - value_value_buf_u_top_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_top_buf__selector == 2) { - value_value_buf_u_top_buf_.selector = 2; - value_value_buf_u_top_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_top_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_top_buf.value = static_cast(value_value_buf_u_top_buf_); - } - value_value_buf_u.top = value_value_buf_u_top_buf; - const auto value_value_buf_u_right_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_right_buf = {}; - value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_right_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_right_buf_ = {}; - value_value_buf_u_right_buf_.selector = value_value_buf_u_right_buf__selector; - if (value_value_buf_u_right_buf__selector == 0) { - value_value_buf_u_right_buf_.selector = 0; - value_value_buf_u_right_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_right_buf__selector == 1) { - value_value_buf_u_right_buf_.selector = 1; - value_value_buf_u_right_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_right_buf__selector == 2) { - value_value_buf_u_right_buf_.selector = 2; - value_value_buf_u_right_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_right_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_right_buf.value = static_cast(value_value_buf_u_right_buf_); - } - value_value_buf_u.right = value_value_buf_u_right_buf; - const auto value_value_buf_u_bottom_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_bottom_buf = {}; - value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottom_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_bottom_buf_ = {}; - value_value_buf_u_bottom_buf_.selector = value_value_buf_u_bottom_buf__selector; - if (value_value_buf_u_bottom_buf__selector == 0) { - value_value_buf_u_bottom_buf_.selector = 0; - value_value_buf_u_bottom_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottom_buf__selector == 1) { - value_value_buf_u_bottom_buf_.selector = 1; - value_value_buf_u_bottom_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottom_buf__selector == 2) { - value_value_buf_u_bottom_buf_.selector = 2; - value_value_buf_u_bottom_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottom_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottom_buf.value = static_cast(value_value_buf_u_bottom_buf_); - } - value_value_buf_u.bottom = value_value_buf_u_bottom_buf; - const auto value_value_buf_u_left_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_left_buf = {}; - value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_left_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_left_buf_ = {}; - value_value_buf_u_left_buf_.selector = value_value_buf_u_left_buf__selector; - if (value_value_buf_u_left_buf__selector == 0) { - value_value_buf_u_left_buf_.selector = 0; - value_value_buf_u_left_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_left_buf__selector == 1) { - value_value_buf_u_left_buf_.selector = 1; - value_value_buf_u_left_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_left_buf__selector == 2) { - value_value_buf_u_left_buf_.selector = 2; - value_value_buf_u_left_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_left_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_left_buf.value = static_cast(value_value_buf_u_left_buf_); - } - value_value_buf_u.left = value_value_buf_u_left_buf; - value_value_buf.value0 = value_value_buf_u; - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u = {}; + Ark_Length value_value_buf_u = {}; value_value_buf_u.selector = value_value_buf_u_selector; if (value_value_buf_u_selector == 0) { value_value_buf_u.selector = 0; @@ -2082,197 +2072,296 @@ void impl_CommonMethod_margin(Ark_NativePointer thisPtr, KSerializerBuffer thisA else { INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); } - value_value_buf.value1 = static_cast(value_value_buf_u); + value_value_buf.value0 = static_cast(value_value_buf_u); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readBorderRadiuses(); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readLocalizedPadding(); + value_value_buf.value2 = thisDeserializer.readLocalizedBorderRadiuses(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Margin_Length_LocalizedMargin value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setMargin(self, (const Ark_Union_Margin_Length_LocalizedMargin*)&value_value); + Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setBorderRadius(self, (const Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_margin, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_backgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_borderRadius, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_borderImage(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_BorderImageOption value_value = thisDeserializer.readBorderImageOption();; + GetNodeModifiers()->getCommonMethodModifier()->setBorderImage(self, (const Ark_BorderImageOption*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_borderImage, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_outline0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_OutlineOptions value_value = thisDeserializer.readOutlineOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setOutline0(self, (const Ark_OutlineOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_outline0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_outline1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OutlineOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readOutlineOptions(); + } + Opt_OutlineOptions value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setOutline1(self, (const Opt_OutlineOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_outline1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_outlineStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_OutlineStyle_EdgeOutlineStyles value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value1 = thisDeserializer.readEdgeOutlineStyles(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_OutlineStyle_EdgeOutlineStyles value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setOutlineStyle0(self, (const Ark_Union_OutlineStyle_EdgeOutlineStyles*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_pixelRound(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineStyle0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_outlineStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_PixelRoundPolicy value_value = thisDeserializer.readPixelRoundPolicy();; - GetNodeModifiers()->getCommonMethodModifier()->setPixelRound(self, (const Ark_PixelRoundPolicy*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_pixelRound, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_backgroundImageSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_SizeOptions_ImageSize value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readSizeOptions(); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_OutlineStyle_EdgeOutlineStyles value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_OutlineStyle_EdgeOutlineStyles value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readEdgeOutlineStyles(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); } - Ark_Union_SizeOptions_ImageSize value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImageSize(self, (const Ark_Union_SizeOptions_ImageSize*)&value_value); + Opt_Union_OutlineStyle_EdgeOutlineStyles value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setOutlineStyle1(self, (const Opt_Union_OutlineStyle_EdgeOutlineStyles*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImageSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_backgroundImagePosition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_outlineWidth0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Position_Alignment value_value_buf = {}; + Ark_Union_Dimension_EdgeOutlineWidths value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readPosition(); + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value1 = thisDeserializer.readEdgeOutlineWidths(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Position_Alignment value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImagePosition(self, (const Ark_Union_Position_Alignment*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImagePosition, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_backgroundEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_BackgroundEffectOptions value_value = thisDeserializer.readBackgroundEffectOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundEffect(self, (const Ark_BackgroundEffectOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundEffect, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_backgroundImageResizable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_ResizableOptions value_value = thisDeserializer.readResizableOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImageResizable(self, (const Ark_ResizableOptions*)&value_value); + Ark_Union_Dimension_EdgeOutlineWidths value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setOutlineWidth0(self, (const Ark_Union_Dimension_EdgeOutlineWidths*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImageResizable, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_foregroundEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineWidth0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_outlineWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_ForegroundEffectOptions value_value = thisDeserializer.readForegroundEffectOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setForegroundEffect(self, (const Ark_ForegroundEffectOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundEffect, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_visualEffect(Ark_NativePointer thisPtr, Ark_NativePointer value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setVisualEffect(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_visualEffect, Ark_NativePointer, Ark_NativePointer) -void impl_CommonMethod_backgroundFilter(Ark_NativePointer thisPtr, Ark_NativePointer value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundFilter(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_backgroundFilter, Ark_NativePointer, Ark_NativePointer) -void impl_CommonMethod_foregroundFilter(Ark_NativePointer thisPtr, Ark_NativePointer value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setForegroundFilter(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_foregroundFilter, Ark_NativePointer, Ark_NativePointer) -void impl_CommonMethod_compositingFilter(Ark_NativePointer thisPtr, Ark_NativePointer value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setCompositingFilter(self, static_cast(value)); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Dimension_EdgeOutlineWidths value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Dimension_EdgeOutlineWidths value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf__u = {}; + value_value_buf__u.selector = value_value_buf__u_selector; + if (value_value_buf__u_selector == 0) { + value_value_buf__u.selector = 0; + value_value_buf__u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__u_selector == 1) { + value_value_buf__u.selector = 1; + value_value_buf__u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__u_selector == 2) { + value_value_buf__u.selector = 2; + value_value_buf__u.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation."); + } + value_value_buf_.value0 = static_cast(value_value_buf__u); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readEdgeOutlineWidths(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_Dimension_EdgeOutlineWidths value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setOutlineWidth1(self, (const Opt_Union_Dimension_EdgeOutlineWidths*)&value_value); } -KOALA_INTEROP_DIRECT_V2(CommonMethod_compositingFilter, Ark_NativePointer, Ark_NativePointer) -void impl_CommonMethod_opacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineWidth1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_outlineColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_Resource value_value_buf = {}; + Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 3) { + value_value_buf_u.selector = 3; + value_value_buf_u.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = thisDeserializer.readEdgeColors(); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readLocalizedEdgeColors(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setOpacity(self, (const Ark_Union_Number_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_opacity, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_border(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_BorderOptions value_value = thisDeserializer.readBorderOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setBorder(self, (const Ark_BorderOptions*)&value_value); + Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setOutlineColor0(self, (const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_border, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_borderStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_outlineColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_BorderStyle_EdgeStyles value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readEdgeStyles(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf__u = {}; + value_value_buf__u.selector = value_value_buf__u_selector; + if (value_value_buf__u_selector == 0) { + value_value_buf__u.selector = 0; + value_value_buf__u.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf__u_selector == 1) { + value_value_buf__u.selector = 1; + value_value_buf__u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__u_selector == 2) { + value_value_buf__u.selector = 2; + value_value_buf__u.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__u_selector == 3) { + value_value_buf__u.selector = 3; + value_value_buf__u.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation."); + } + value_value_buf_.value0 = static_cast(value_value_buf__u); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readEdgeColors(); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = thisDeserializer.readLocalizedEdgeColors(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); } - Ark_Union_BorderStyle_EdgeStyles value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setBorderStyle(self, (const Ark_Union_BorderStyle_EdgeStyles*)&value_value); + Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setOutlineColor1(self, (const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_borderStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_borderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_outlineRadius0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths value_value_buf = {}; + Ark_Union_Dimension_OutlineRadiuses value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u = {}; + Ark_Dimension value_value_buf_u = {}; value_value_buf_u.selector = value_value_buf_u_selector; if (value_value_buf_u_selector == 0) { value_value_buf_u.selector = 0; @@ -2289,133 +2378,70 @@ void impl_CommonMethod_borderWidth(Ark_NativePointer thisPtr, KSerializerBuffer else { INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); } - value_value_buf.value0 = static_cast(value_value_buf_u); + value_value_buf.value0 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - Ark_EdgeWidths value_value_buf_u = {}; - const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_top_buf = {}; - value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_top_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_top_buf_ = {}; - value_value_buf_u_top_buf_.selector = value_value_buf_u_top_buf__selector; - if (value_value_buf_u_top_buf__selector == 0) { - value_value_buf_u_top_buf_.selector = 0; - value_value_buf_u_top_buf_.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = thisDeserializer.readOutlineRadiuses(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Dimension_OutlineRadiuses value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setOutlineRadius0(self, (const Ark_Union_Dimension_OutlineRadiuses*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineRadius0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_outlineRadius1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Dimension_OutlineRadiuses value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Dimension_OutlineRadiuses value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf__u = {}; + value_value_buf__u.selector = value_value_buf__u_selector; + if (value_value_buf__u_selector == 0) { + value_value_buf__u.selector = 0; + value_value_buf__u.value0 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_u_top_buf__selector == 1) { - value_value_buf_u_top_buf_.selector = 1; - value_value_buf_u_top_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_top_buf__selector == 2) { - value_value_buf_u_top_buf_.selector = 2; - value_value_buf_u_top_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_top_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_top_buf.value = static_cast(value_value_buf_u_top_buf_); - } - value_value_buf_u.top = value_value_buf_u_top_buf; - const auto value_value_buf_u_right_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_right_buf = {}; - value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_right_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_right_buf_ = {}; - value_value_buf_u_right_buf_.selector = value_value_buf_u_right_buf__selector; - if (value_value_buf_u_right_buf__selector == 0) { - value_value_buf_u_right_buf_.selector = 0; - value_value_buf_u_right_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_right_buf__selector == 1) { - value_value_buf_u_right_buf_.selector = 1; - value_value_buf_u_right_buf_.value1 = static_cast(thisDeserializer.readNumber()); + else if (value_value_buf__u_selector == 1) { + value_value_buf__u.selector = 1; + value_value_buf__u.value1 = static_cast(thisDeserializer.readNumber()); } - else if (value_value_buf_u_right_buf__selector == 2) { - value_value_buf_u_right_buf_.selector = 2; - value_value_buf_u_right_buf_.value2 = thisDeserializer.readResource(); + else if (value_value_buf__u_selector == 2) { + value_value_buf__u.selector = 2; + value_value_buf__u.value2 = thisDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for value_value_buf_u_right_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation."); } - value_value_buf_u_right_buf.value = static_cast(value_value_buf_u_right_buf_); + value_value_buf_.value0 = static_cast(value_value_buf__u); } - value_value_buf_u.right = value_value_buf_u_right_buf; - const auto value_value_buf_u_bottom_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_bottom_buf = {}; - value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottom_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_bottom_buf_ = {}; - value_value_buf_u_bottom_buf_.selector = value_value_buf_u_bottom_buf__selector; - if (value_value_buf_u_bottom_buf__selector == 0) { - value_value_buf_u_bottom_buf_.selector = 0; - value_value_buf_u_bottom_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottom_buf__selector == 1) { - value_value_buf_u_bottom_buf_.selector = 1; - value_value_buf_u_bottom_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottom_buf__selector == 2) { - value_value_buf_u_bottom_buf_.selector = 2; - value_value_buf_u_bottom_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottom_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottom_buf.value = static_cast(value_value_buf_u_bottom_buf_); + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readOutlineRadiuses(); } - value_value_buf_u.bottom = value_value_buf_u_bottom_buf; - const auto value_value_buf_u_left_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_left_buf = {}; - value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_left_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_left_buf_ = {}; - value_value_buf_u_left_buf_.selector = value_value_buf_u_left_buf__selector; - if (value_value_buf_u_left_buf__selector == 0) { - value_value_buf_u_left_buf_.selector = 0; - value_value_buf_u_left_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_left_buf__selector == 1) { - value_value_buf_u_left_buf_.selector = 1; - value_value_buf_u_left_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_left_buf__selector == 2) { - value_value_buf_u_left_buf_.selector = 2; - value_value_buf_u_left_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_left_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_left_buf.value = static_cast(value_value_buf_u_left_buf_); + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); } - value_value_buf_u.left = value_value_buf_u_left_buf; - value_value_buf.value1 = value_value_buf_u; - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readLocalizedEdgeWidths(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + value_value_buf.value = static_cast(value_value_buf_); } - Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setBorderWidth(self, (const Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths*)&value_value); + Opt_Union_Dimension_OutlineRadiuses value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setOutlineRadius1(self, (const Opt_Union_Dimension_OutlineRadiuses*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_borderWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_borderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineRadius1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_foregroundColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf = {}; + Ark_Union_ResourceColor_ColoringStrategy value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -2445,1166 +2471,736 @@ void impl_CommonMethod_borderColor(Ark_NativePointer thisPtr, KSerializerBuffer } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - Ark_EdgeColors value_value_buf_u = {}; - const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor value_value_buf_u_top_buf = {}; - value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_top_buf__selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u_top_buf_ = {}; - value_value_buf_u_top_buf_.selector = value_value_buf_u_top_buf__selector; - if (value_value_buf_u_top_buf__selector == 0) { - value_value_buf_u_top_buf_.selector = 0; - value_value_buf_u_top_buf_.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_top_buf__selector == 1) { - value_value_buf_u_top_buf_.selector = 1; - value_value_buf_u_top_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_top_buf__selector == 2) { - value_value_buf_u_top_buf_.selector = 2; - value_value_buf_u_top_buf_.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_top_buf__selector == 3) { - value_value_buf_u_top_buf_.selector = 3; - value_value_buf_u_top_buf_.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_top_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_top_buf.value = static_cast(value_value_buf_u_top_buf_); - } - value_value_buf_u.top = value_value_buf_u_top_buf; - const auto value_value_buf_u_right_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor value_value_buf_u_right_buf = {}; - value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_right_buf__selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u_right_buf_ = {}; - value_value_buf_u_right_buf_.selector = value_value_buf_u_right_buf__selector; - if (value_value_buf_u_right_buf__selector == 0) { - value_value_buf_u_right_buf_.selector = 0; - value_value_buf_u_right_buf_.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_right_buf__selector == 1) { - value_value_buf_u_right_buf_.selector = 1; - value_value_buf_u_right_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_right_buf__selector == 2) { - value_value_buf_u_right_buf_.selector = 2; - value_value_buf_u_right_buf_.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_right_buf__selector == 3) { - value_value_buf_u_right_buf_.selector = 3; - value_value_buf_u_right_buf_.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_right_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_right_buf.value = static_cast(value_value_buf_u_right_buf_); - } - value_value_buf_u.right = value_value_buf_u_right_buf; - const auto value_value_buf_u_bottom_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor value_value_buf_u_bottom_buf = {}; - value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottom_buf__selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u_bottom_buf_ = {}; - value_value_buf_u_bottom_buf_.selector = value_value_buf_u_bottom_buf__selector; - if (value_value_buf_u_bottom_buf__selector == 0) { - value_value_buf_u_bottom_buf_.selector = 0; - value_value_buf_u_bottom_buf_.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_bottom_buf__selector == 1) { - value_value_buf_u_bottom_buf_.selector = 1; - value_value_buf_u_bottom_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottom_buf__selector == 2) { - value_value_buf_u_bottom_buf_.selector = 2; - value_value_buf_u_bottom_buf_.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottom_buf__selector == 3) { - value_value_buf_u_bottom_buf_.selector = 3; - value_value_buf_u_bottom_buf_.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottom_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottom_buf.value = static_cast(value_value_buf_u_bottom_buf_); - } - value_value_buf_u.bottom = value_value_buf_u_bottom_buf; - const auto value_value_buf_u_left_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor value_value_buf_u_left_buf = {}; - value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_left_buf__selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u_left_buf_ = {}; - value_value_buf_u_left_buf_.selector = value_value_buf_u_left_buf__selector; - if (value_value_buf_u_left_buf__selector == 0) { - value_value_buf_u_left_buf_.selector = 0; - value_value_buf_u_left_buf_.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_left_buf__selector == 1) { - value_value_buf_u_left_buf_.selector = 1; - value_value_buf_u_left_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_left_buf__selector == 2) { - value_value_buf_u_left_buf_.selector = 2; - value_value_buf_u_left_buf_.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_left_buf__selector == 3) { - value_value_buf_u_left_buf_.selector = 3; - value_value_buf_u_left_buf_.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_left_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_left_buf.value = static_cast(value_value_buf_u_left_buf_); - } - value_value_buf_u.left = value_value_buf_u_left_buf; - value_value_buf.value1 = value_value_buf_u; - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readLocalizedEdgeColors(); + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setBorderColor(self, (const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors*)&value_value); + Ark_Union_ResourceColor_ColoringStrategy value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setForegroundColor0(self, (const Ark_Union_ResourceColor_ColoringStrategy*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_borderColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_borderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_foregroundColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u = {}; - value_value_buf_u.selector = value_value_buf_u_selector; - if (value_value_buf_u_selector == 0) { - value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_selector == 1) { - value_value_buf_u.selector = 1; - value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_selector == 2) { - value_value_buf_u.selector = 2; - value_value_buf_u.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); - } - value_value_buf.value0 = static_cast(value_value_buf_u); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - Ark_BorderRadiuses value_value_buf_u = {}; - const auto value_value_buf_u_topLeft_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_topLeft_buf = {}; - value_value_buf_u_topLeft_buf.tag = value_value_buf_u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_topLeft_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_topLeft_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_topLeft_buf_ = {}; - value_value_buf_u_topLeft_buf_.selector = value_value_buf_u_topLeft_buf__selector; - if (value_value_buf_u_topLeft_buf__selector == 0) { - value_value_buf_u_topLeft_buf_.selector = 0; - value_value_buf_u_topLeft_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_topLeft_buf__selector == 1) { - value_value_buf_u_topLeft_buf_.selector = 1; - value_value_buf_u_topLeft_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_topLeft_buf__selector == 2) { - value_value_buf_u_topLeft_buf_.selector = 2; - value_value_buf_u_topLeft_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_topLeft_buf_ has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_ColoringStrategy value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_ColoringStrategy value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf__u = {}; + value_value_buf__u.selector = value_value_buf__u_selector; + if (value_value_buf__u_selector == 0) { + value_value_buf__u.selector = 0; + value_value_buf__u.value0 = static_cast(thisDeserializer.readInt32()); } - value_value_buf_u_topLeft_buf.value = static_cast(value_value_buf_u_topLeft_buf_); - } - value_value_buf_u.topLeft = value_value_buf_u_topLeft_buf; - const auto value_value_buf_u_topRight_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_topRight_buf = {}; - value_value_buf_u_topRight_buf.tag = value_value_buf_u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_topRight_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_topRight_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_topRight_buf_ = {}; - value_value_buf_u_topRight_buf_.selector = value_value_buf_u_topRight_buf__selector; - if (value_value_buf_u_topRight_buf__selector == 0) { - value_value_buf_u_topRight_buf_.selector = 0; - value_value_buf_u_topRight_buf_.value0 = static_cast(thisDeserializer.readString()); + else if (value_value_buf__u_selector == 1) { + value_value_buf__u.selector = 1; + value_value_buf__u.value1 = static_cast(thisDeserializer.readNumber()); } - else if (value_value_buf_u_topRight_buf__selector == 1) { - value_value_buf_u_topRight_buf_.selector = 1; - value_value_buf_u_topRight_buf_.value1 = static_cast(thisDeserializer.readNumber()); + else if (value_value_buf__u_selector == 2) { + value_value_buf__u.selector = 2; + value_value_buf__u.value2 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_u_topRight_buf__selector == 2) { - value_value_buf_u_topRight_buf_.selector = 2; - value_value_buf_u_topRight_buf_.value2 = thisDeserializer.readResource(); + else if (value_value_buf__u_selector == 3) { + value_value_buf__u.selector = 3; + value_value_buf__u.value3 = thisDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for value_value_buf_u_topRight_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation."); } - value_value_buf_u_topRight_buf.value = static_cast(value_value_buf_u_topRight_buf_); + value_value_buf_.value0 = static_cast(value_value_buf__u); } - value_value_buf_u.topRight = value_value_buf_u_topRight_buf; - const auto value_value_buf_u_bottomLeft_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_bottomLeft_buf = {}; - value_value_buf_u_bottomLeft_buf.tag = value_value_buf_u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottomLeft_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_bottomLeft_buf_ = {}; - value_value_buf_u_bottomLeft_buf_.selector = value_value_buf_u_bottomLeft_buf__selector; - if (value_value_buf_u_bottomLeft_buf__selector == 0) { - value_value_buf_u_bottomLeft_buf_.selector = 0; - value_value_buf_u_bottomLeft_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottomLeft_buf__selector == 1) { - value_value_buf_u_bottomLeft_buf_.selector = 1; - value_value_buf_u_bottomLeft_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottomLeft_buf__selector == 2) { - value_value_buf_u_bottomLeft_buf_.selector = 2; - value_value_buf_u_bottomLeft_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottomLeft_buf.value = static_cast(value_value_buf_u_bottomLeft_buf_); + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readInt32()); } - value_value_buf_u.bottomLeft = value_value_buf_u_bottomLeft_buf; - const auto value_value_buf_u_bottomRight_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_bottomRight_buf = {}; - value_value_buf_u_bottomRight_buf.tag = value_value_buf_u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottomRight_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_bottomRight_buf_ = {}; - value_value_buf_u_bottomRight_buf_.selector = value_value_buf_u_bottomRight_buf__selector; - if (value_value_buf_u_bottomRight_buf__selector == 0) { - value_value_buf_u_bottomRight_buf_.selector = 0; - value_value_buf_u_bottomRight_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottomRight_buf__selector == 1) { - value_value_buf_u_bottomRight_buf_.selector = 1; - value_value_buf_u_bottomRight_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottomRight_buf__selector == 2) { - value_value_buf_u_bottomRight_buf_.selector = 2; - value_value_buf_u_bottomRight_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottomRight_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottomRight_buf.value = static_cast(value_value_buf_u_bottomRight_buf_); + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); } - value_value_buf_u.bottomRight = value_value_buf_u_bottomRight_buf; - value_value_buf.value1 = value_value_buf_u; + value_value_buf.value = static_cast(value_value_buf_); } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readLocalizedBorderRadiuses(); + Opt_Union_ResourceColor_ColoringStrategy value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setForegroundColor1(self, (const Opt_Union_ResourceColor_ColoringStrategy*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onClick0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_ClickEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnClick0(self, (const Callback_ClickEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onClick0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onClick1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber distanceThreshold) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_ClickEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnClick1(self, (const Callback_ClickEvent_Void*)&event_value, (const Ark_Number*) (&distanceThreshold)); +} +KOALA_INTEROP_DIRECT_V4(CommonMethod_onClick1, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber) +void impl_CommonMethod_onHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_HoverEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_HoverEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_HoverEvent_Void))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnHover(self, (const Callback_Boolean_HoverEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onHover, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onHoverMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_HoverEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_HoverEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_HoverEvent_Void))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnHoverMove(self, (const Callback_HoverEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onHoverMove, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onAccessibilityHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + AccessibilityCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_AccessibilityCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_AccessibilityCallback))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityHover(self, (const AccessibilityCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onAccessibilityHover, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_hoverEffect(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setHoverEffect(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_hoverEffect, Ark_NativePointer, Ark_Int32) +void impl_CommonMethod_onMouse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_MouseEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_MouseEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_MouseEvent_Void))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnMouse(self, (const Callback_MouseEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onMouse, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onTouch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_TouchEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TouchEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TouchEvent_Void))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnTouch(self, (const Callback_TouchEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onTouch, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onKeyEvent0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_KeyEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_KeyEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Void))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnKeyEvent0(self, (const Callback_KeyEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyEvent0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onKeyEvent1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_KeyEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_KeyEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Boolean))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnKeyEvent1(self, (const Callback_KeyEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyEvent1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onDigitalCrown(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_CrownEvent_Void value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_CrownEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_CrownEvent_Void))))}; } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + Opt_Callback_CrownEvent_Void value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnDigitalCrown(self, (const Opt_Callback_CrownEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onDigitalCrown, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onKeyPreIme(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_KeyEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_KeyEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Boolean))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnKeyPreIme(self, (const Callback_KeyEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyPreIme, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onKeyEventDispatch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_KeyEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_KeyEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Boolean))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnKeyEventDispatch(self, (const Callback_KeyEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyEventDispatch, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onFocusAxisEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_FocusAxisEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_FocusAxisEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_FocusAxisEvent_Void))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnFocusAxisEvent(self, (const Callback_FocusAxisEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onFocusAxisEvent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onAxisEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_AxisEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_AxisEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_AxisEvent_Void))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnAxisEvent(self, (const Callback_AxisEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onAxisEvent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_focusable(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setFocusable(self, value); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_focusable, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_nextFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_FocusMovement value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readFocusMovement(); } - Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setBorderRadius(self, (const Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses*)&value_value); + Opt_FocusMovement value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setNextFocus(self, (const Opt_FocusMovement*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_borderRadius, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_borderImage(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_nextFocus, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_tabStop(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setTabStop(self, value); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_tabStop, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_onFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_BorderImageOption value_value = thisDeserializer.readBorderImageOption();; - GetNodeModifiers()->getCommonMethodModifier()->setBorderImage(self, (const Ark_BorderImageOption*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnFocus(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_borderImage, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_outline(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_onFocus, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_OutlineOptions value_value = thisDeserializer.readOutlineOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setOutline(self, (const Ark_OutlineOptions*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnBlur(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onBlur, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_tabIndex(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setTabIndex(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_tabIndex, Ark_NativePointer, KInteropNumber) +void impl_CommonMethod_defaultFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setDefaultFocus(self, value); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_defaultFocus, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_groupDefaultFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setGroupDefaultFocus(self, value); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_groupDefaultFocus, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_focusOnTouch(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setFocusOnTouch(self, value); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_focusOnTouch, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_focusBox(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_FocusBoxStyle value_value = thisDeserializer.readFocusBoxStyle();; + GetNodeModifiers()->getCommonMethodModifier()->setFocusBox(self, (const Ark_FocusBoxStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_focusBox, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_animation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_AnimateParam value_value = thisDeserializer.readAnimateParam();; + GetNodeModifiers()->getCommonMethodModifier()->setAnimation(self, (const Ark_AnimateParam*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_outline, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_outlineStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_animation, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_transition0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_OutlineStyle_EdgeOutlineStyles value_value_buf = {}; + Ark_Union_TransitionOptions_TransitionEffect value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = thisDeserializer.readTransitionOptions(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - Ark_EdgeOutlineStyles value_value_buf_u = {}; - const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_OutlineStyle value_value_buf_u_top_buf = {}; - value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) - { - value_value_buf_u_top_buf.value = static_cast(thisDeserializer.readInt32()); - } - value_value_buf_u.top = value_value_buf_u_top_buf; - const auto value_value_buf_u_right_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_OutlineStyle value_value_buf_u_right_buf = {}; - value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) - { - value_value_buf_u_right_buf.value = static_cast(thisDeserializer.readInt32()); - } - value_value_buf_u.right = value_value_buf_u_right_buf; - const auto value_value_buf_u_bottom_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_OutlineStyle value_value_buf_u_bottom_buf = {}; - value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) - { - value_value_buf_u_bottom_buf.value = static_cast(thisDeserializer.readInt32()); - } - value_value_buf_u.bottom = value_value_buf_u_bottom_buf; - const auto value_value_buf_u_left_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_OutlineStyle value_value_buf_u_left_buf = {}; - value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) - { - value_value_buf_u_left_buf.value = static_cast(thisDeserializer.readInt32()); - } - value_value_buf_u.left = value_value_buf_u_left_buf; - value_value_buf.value1 = value_value_buf_u; + value_value_buf.value1 = static_cast(thisDeserializer.readTransitionEffect()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_OutlineStyle_EdgeOutlineStyles value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setOutlineStyle(self, (const Ark_Union_OutlineStyle_EdgeOutlineStyles*)&value_value); + Ark_Union_TransitionOptions_TransitionEffect value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setTransition0(self, (const Ark_Union_TransitionOptions_TransitionEffect*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_outlineWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_transition0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_transition1(Ark_NativePointer thisPtr, Ark_NativePointer effect, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Dimension_EdgeOutlineWidths value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u = {}; - value_value_buf_u.selector = value_value_buf_u_selector; - if (value_value_buf_u_selector == 0) { - value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_selector == 1) { - value_value_buf_u.selector = 1; - value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_selector == 2) { - value_value_buf_u.selector = 2; - value_value_buf_u.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); - } - value_value_buf.value0 = static_cast(value_value_buf_u); + const auto onFinish_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TransitionFinishCallback onFinish_value_buf = {}; + onFinish_value_buf.tag = onFinish_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onFinish_value_buf_runtimeType)) + { + onFinish_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_TransitionFinishCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_TransitionFinishCallback))))}; } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - Ark_EdgeOutlineWidths value_value_buf_u = {}; - const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_top_buf = {}; - value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_top_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_top_buf_ = {}; - value_value_buf_u_top_buf_.selector = value_value_buf_u_top_buf__selector; - if (value_value_buf_u_top_buf__selector == 0) { - value_value_buf_u_top_buf_.selector = 0; - value_value_buf_u_top_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_top_buf__selector == 1) { - value_value_buf_u_top_buf_.selector = 1; - value_value_buf_u_top_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_top_buf__selector == 2) { - value_value_buf_u_top_buf_.selector = 2; - value_value_buf_u_top_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_top_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_top_buf.value = static_cast(value_value_buf_u_top_buf_); - } - value_value_buf_u.top = value_value_buf_u_top_buf; - const auto value_value_buf_u_right_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_right_buf = {}; - value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_right_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_right_buf_ = {}; - value_value_buf_u_right_buf_.selector = value_value_buf_u_right_buf__selector; - if (value_value_buf_u_right_buf__selector == 0) { - value_value_buf_u_right_buf_.selector = 0; - value_value_buf_u_right_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_right_buf__selector == 1) { - value_value_buf_u_right_buf_.selector = 1; - value_value_buf_u_right_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_right_buf__selector == 2) { - value_value_buf_u_right_buf_.selector = 2; - value_value_buf_u_right_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_right_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_right_buf.value = static_cast(value_value_buf_u_right_buf_); - } - value_value_buf_u.right = value_value_buf_u_right_buf; - const auto value_value_buf_u_bottom_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_bottom_buf = {}; - value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottom_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_bottom_buf_ = {}; - value_value_buf_u_bottom_buf_.selector = value_value_buf_u_bottom_buf__selector; - if (value_value_buf_u_bottom_buf__selector == 0) { - value_value_buf_u_bottom_buf_.selector = 0; - value_value_buf_u_bottom_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottom_buf__selector == 1) { - value_value_buf_u_bottom_buf_.selector = 1; - value_value_buf_u_bottom_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottom_buf__selector == 2) { - value_value_buf_u_bottom_buf_.selector = 2; - value_value_buf_u_bottom_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottom_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottom_buf.value = static_cast(value_value_buf_u_bottom_buf_); - } - value_value_buf_u.bottom = value_value_buf_u_bottom_buf; - const auto value_value_buf_u_left_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_left_buf = {}; - value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_left_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_left_buf_ = {}; - value_value_buf_u_left_buf_.selector = value_value_buf_u_left_buf__selector; - if (value_value_buf_u_left_buf__selector == 0) { - value_value_buf_u_left_buf_.selector = 0; - value_value_buf_u_left_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_left_buf__selector == 1) { - value_value_buf_u_left_buf_.selector = 1; - value_value_buf_u_left_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_left_buf__selector == 2) { - value_value_buf_u_left_buf_.selector = 2; - value_value_buf_u_left_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_left_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_left_buf.value = static_cast(value_value_buf_u_left_buf_); - } - value_value_buf_u.left = value_value_buf_u_left_buf; - value_value_buf.value1 = value_value_buf_u; + Opt_TransitionFinishCallback onFinish_value = onFinish_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setTransition1(self, static_cast(effect), (const Opt_TransitionFinishCallback*)&onFinish_value); +} +KOALA_INTEROP_DIRECT_V4(CommonMethod_transition1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_motionBlur0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_MotionBlurOptions value_value = thisDeserializer.readMotionBlurOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setMotionBlur0(self, (const Ark_MotionBlurOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_motionBlur0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_motionBlur1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_MotionBlurOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readMotionBlurOptions(); } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + Opt_MotionBlurOptions value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setMotionBlur1(self, (const Opt_MotionBlurOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_motionBlur1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_brightness0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setBrightness0(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_brightness0, Ark_NativePointer, KInteropNumber) +void impl_CommonMethod_brightness1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readNumber()); } - Ark_Union_Dimension_EdgeOutlineWidths value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setOutlineWidth(self, (const Ark_Union_Dimension_EdgeOutlineWidths*)&value_value); + Opt_Number value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setBrightness1(self, (const Opt_Number*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_brightness1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_contrast0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setContrast0(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_contrast0, Ark_NativePointer, KInteropNumber) +void impl_CommonMethod_contrast1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setContrast1(self, (const Opt_Number*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_contrast1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_grayscale0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setGrayscale0(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_grayscale0, Ark_NativePointer, KInteropNumber) +void impl_CommonMethod_grayscale1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setGrayscale1(self, (const Opt_Number*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_outlineColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_grayscale1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_colorBlend0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value_buf = {}; + Ark_Union_Color_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u = {}; - value_value_buf_u.selector = value_value_buf_u_selector; - if (value_value_buf_u_selector == 0) { - value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_selector == 1) { - value_value_buf_u.selector = 1; - value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_selector == 2) { - value_value_buf_u.selector = 2; - value_value_buf_u.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_selector == 3) { - value_value_buf_u.selector = 3; - value_value_buf_u.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); - } - value_value_buf.value0 = static_cast(value_value_buf_u); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - Ark_EdgeColors value_value_buf_u = {}; - const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor value_value_buf_u_top_buf = {}; - value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_top_buf__selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u_top_buf_ = {}; - value_value_buf_u_top_buf_.selector = value_value_buf_u_top_buf__selector; - if (value_value_buf_u_top_buf__selector == 0) { - value_value_buf_u_top_buf_.selector = 0; - value_value_buf_u_top_buf_.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_top_buf__selector == 1) { - value_value_buf_u_top_buf_.selector = 1; - value_value_buf_u_top_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_top_buf__selector == 2) { - value_value_buf_u_top_buf_.selector = 2; - value_value_buf_u_top_buf_.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_top_buf__selector == 3) { - value_value_buf_u_top_buf_.selector = 3; - value_value_buf_u_top_buf_.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_top_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_top_buf.value = static_cast(value_value_buf_u_top_buf_); - } - value_value_buf_u.top = value_value_buf_u_top_buf; - const auto value_value_buf_u_right_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor value_value_buf_u_right_buf = {}; - value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_right_buf__selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u_right_buf_ = {}; - value_value_buf_u_right_buf_.selector = value_value_buf_u_right_buf__selector; - if (value_value_buf_u_right_buf__selector == 0) { - value_value_buf_u_right_buf_.selector = 0; - value_value_buf_u_right_buf_.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_right_buf__selector == 1) { - value_value_buf_u_right_buf_.selector = 1; - value_value_buf_u_right_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_right_buf__selector == 2) { - value_value_buf_u_right_buf_.selector = 2; - value_value_buf_u_right_buf_.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_right_buf__selector == 3) { - value_value_buf_u_right_buf_.selector = 3; - value_value_buf_u_right_buf_.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_right_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_right_buf.value = static_cast(value_value_buf_u_right_buf_); - } - value_value_buf_u.right = value_value_buf_u_right_buf; - const auto value_value_buf_u_bottom_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor value_value_buf_u_bottom_buf = {}; - value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottom_buf__selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u_bottom_buf_ = {}; - value_value_buf_u_bottom_buf_.selector = value_value_buf_u_bottom_buf__selector; - if (value_value_buf_u_bottom_buf__selector == 0) { - value_value_buf_u_bottom_buf_.selector = 0; - value_value_buf_u_bottom_buf_.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_bottom_buf__selector == 1) { - value_value_buf_u_bottom_buf_.selector = 1; - value_value_buf_u_bottom_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottom_buf__selector == 2) { - value_value_buf_u_bottom_buf_.selector = 2; - value_value_buf_u_bottom_buf_.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottom_buf__selector == 3) { - value_value_buf_u_bottom_buf_.selector = 3; - value_value_buf_u_bottom_buf_.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottom_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottom_buf.value = static_cast(value_value_buf_u_bottom_buf_); - } - value_value_buf_u.bottom = value_value_buf_u_bottom_buf; - const auto value_value_buf_u_left_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceColor value_value_buf_u_left_buf = {}; - value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_left_buf__selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u_left_buf_ = {}; - value_value_buf_u_left_buf_.selector = value_value_buf_u_left_buf__selector; - if (value_value_buf_u_left_buf__selector == 0) { - value_value_buf_u_left_buf_.selector = 0; - value_value_buf_u_left_buf_.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_left_buf__selector == 1) { - value_value_buf_u_left_buf_.selector = 1; - value_value_buf_u_left_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_left_buf__selector == 2) { - value_value_buf_u_left_buf_.selector = 2; - value_value_buf_u_left_buf_.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_left_buf__selector == 3) { - value_value_buf_u_left_buf_.selector = 3; - value_value_buf_u_left_buf_.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_left_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_left_buf.value = static_cast(value_value_buf_u_left_buf_); - } - value_value_buf_u.left = value_value_buf_u_left_buf; - value_value_buf.value1 = value_value_buf_u; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readLocalizedEdgeColors(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setOutlineColor(self, (const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors*)&value_value); + Ark_Union_Color_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setColorBlend0(self, (const Ark_Union_Color_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_outlineRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_colorBlend0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_colorBlend1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Dimension_OutlineRadiuses value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u = {}; - value_value_buf_u.selector = value_value_buf_u_selector; - if (value_value_buf_u_selector == 0) { - value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_selector == 1) { - value_value_buf_u.selector = 1; - value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Color_String_Resource value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Color_String_Resource value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); } - else if (value_value_buf_u_selector == 2) { - value_value_buf_u.selector = 2; - value_value_buf_u.value2 = thisDeserializer.readResource(); + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = thisDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); } - value_value_buf.value0 = static_cast(value_value_buf_u); + value_value_buf.value = static_cast(value_value_buf_); } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - Ark_OutlineRadiuses value_value_buf_u = {}; - const auto value_value_buf_u_topLeft_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_topLeft_buf = {}; - value_value_buf_u_topLeft_buf.tag = value_value_buf_u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_topLeft_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_topLeft_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_topLeft_buf_ = {}; - value_value_buf_u_topLeft_buf_.selector = value_value_buf_u_topLeft_buf__selector; - if (value_value_buf_u_topLeft_buf__selector == 0) { - value_value_buf_u_topLeft_buf_.selector = 0; - value_value_buf_u_topLeft_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_topLeft_buf__selector == 1) { - value_value_buf_u_topLeft_buf_.selector = 1; - value_value_buf_u_topLeft_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_topLeft_buf__selector == 2) { - value_value_buf_u_topLeft_buf_.selector = 2; - value_value_buf_u_topLeft_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_topLeft_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_topLeft_buf.value = static_cast(value_value_buf_u_topLeft_buf_); - } - value_value_buf_u.topLeft = value_value_buf_u_topLeft_buf; - const auto value_value_buf_u_topRight_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_topRight_buf = {}; - value_value_buf_u_topRight_buf.tag = value_value_buf_u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_topRight_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_topRight_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_topRight_buf_ = {}; - value_value_buf_u_topRight_buf_.selector = value_value_buf_u_topRight_buf__selector; - if (value_value_buf_u_topRight_buf__selector == 0) { - value_value_buf_u_topRight_buf_.selector = 0; - value_value_buf_u_topRight_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_topRight_buf__selector == 1) { - value_value_buf_u_topRight_buf_.selector = 1; - value_value_buf_u_topRight_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_topRight_buf__selector == 2) { - value_value_buf_u_topRight_buf_.selector = 2; - value_value_buf_u_topRight_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_topRight_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_topRight_buf.value = static_cast(value_value_buf_u_topRight_buf_); - } - value_value_buf_u.topRight = value_value_buf_u_topRight_buf; - const auto value_value_buf_u_bottomLeft_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_bottomLeft_buf = {}; - value_value_buf_u_bottomLeft_buf.tag = value_value_buf_u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottomLeft_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_bottomLeft_buf_ = {}; - value_value_buf_u_bottomLeft_buf_.selector = value_value_buf_u_bottomLeft_buf__selector; - if (value_value_buf_u_bottomLeft_buf__selector == 0) { - value_value_buf_u_bottomLeft_buf_.selector = 0; - value_value_buf_u_bottomLeft_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottomLeft_buf__selector == 1) { - value_value_buf_u_bottomLeft_buf_.selector = 1; - value_value_buf_u_bottomLeft_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottomLeft_buf__selector == 2) { - value_value_buf_u_bottomLeft_buf_.selector = 2; - value_value_buf_u_bottomLeft_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottomLeft_buf.value = static_cast(value_value_buf_u_bottomLeft_buf_); - } - value_value_buf_u.bottomLeft = value_value_buf_u_bottomLeft_buf; - const auto value_value_buf_u_bottomRight_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_bottomRight_buf = {}; - value_value_buf_u_bottomRight_buf.tag = value_value_buf_u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottomRight_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_bottomRight_buf_ = {}; - value_value_buf_u_bottomRight_buf_.selector = value_value_buf_u_bottomRight_buf__selector; - if (value_value_buf_u_bottomRight_buf__selector == 0) { - value_value_buf_u_bottomRight_buf_.selector = 0; - value_value_buf_u_bottomRight_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottomRight_buf__selector == 1) { - value_value_buf_u_bottomRight_buf_.selector = 1; - value_value_buf_u_bottomRight_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottomRight_buf__selector == 2) { - value_value_buf_u_bottomRight_buf_.selector = 2; - value_value_buf_u_bottomRight_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottomRight_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottomRight_buf.value = static_cast(value_value_buf_u_bottomRight_buf_); - } - value_value_buf_u.bottomRight = value_value_buf_u_bottomRight_buf; - value_value_buf.value1 = value_value_buf_u; + Opt_Union_Color_String_Resource value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setColorBlend1(self, (const Opt_Union_Color_String_Resource*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_colorBlend1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_saturate0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setSaturate0(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_saturate0, Ark_NativePointer, KInteropNumber) +void impl_CommonMethod_saturate1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readNumber()); } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + Opt_Number value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setSaturate1(self, (const Opt_Number*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_saturate1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_sepia0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setSepia0(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_sepia0, Ark_NativePointer, KInteropNumber) +void impl_CommonMethod_sepia1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readNumber()); } - Ark_Union_Dimension_OutlineRadiuses value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setOutlineRadius(self, (const Ark_Union_Dimension_OutlineRadiuses*)&value_value); + Opt_Number value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setSepia1(self, (const Opt_Number*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_outlineRadius, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_foregroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_sepia1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_invert0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_ColoringStrategy value_value_buf = {}; + Ark_Union_Number_InvertOptions value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u = {}; - value_value_buf_u.selector = value_value_buf_u_selector; - if (value_value_buf_u_selector == 0) { - value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_selector == 1) { - value_value_buf_u.selector = 1; - value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_selector == 2) { - value_value_buf_u.selector = 2; - value_value_buf_u.value2 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readInvertOptions(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_InvertOptions value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setInvert0(self, (const Ark_Union_Number_InvertOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_invert0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_invert1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_InvertOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_InvertOptions value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); } - else if (value_value_buf_u_selector == 3) { - value_value_buf_u.selector = 3; - value_value_buf_u.value3 = thisDeserializer.readResource(); + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readInvertOptions(); } else { - INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); } - value_value_buf.value0 = static_cast(value_value_buf_u); + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_Number_InvertOptions value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setInvert1(self, (const Opt_Union_Number_InvertOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_invert1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_hueRotate0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_ResourceColor_ColoringStrategy value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setForegroundColor(self, (const Ark_Union_ResourceColor_ColoringStrategy*)&value_value); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setHueRotate0(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_onClick0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_hueRotate0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_hueRotate1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_ClickEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnClick0(self, (const Callback_ClickEvent_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_String value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_String value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_Number_String value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setHueRotate1(self, (const Opt_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_onClick0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_onClick1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber distanceThreshold) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_hueRotate1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_useShadowBatching0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_ClickEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnClick1(self, (const Callback_ClickEvent_Void*)&event_value, (const Ark_Number*) (&distanceThreshold)); + GetNodeModifiers()->getCommonMethodModifier()->setUseShadowBatching0(self, value); } -KOALA_INTEROP_DIRECT_V4(CommonMethod_onClick1, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber) -void impl_CommonMethod_onHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(CommonMethod_useShadowBatching0, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_useShadowBatching1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_HoverEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_HoverEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_HoverEvent_Void))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnHover(self, (const Callback_Boolean_HoverEvent_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setUseShadowBatching1(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_onHover, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_onAccessibilityHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_useShadowBatching1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_useEffect0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - AccessibilityCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_AccessibilityCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_AccessibilityCallback))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityHover(self, (const AccessibilityCallback*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setUseEffect0(self, value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_onAccessibilityHover, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_hoverEffect(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(CommonMethod_useEffect0, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_useEffect1(Ark_NativePointer thisPtr, Ark_Boolean useEffect, Ark_Int32 effectType) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setHoverEffect(self, static_cast(value)); + GetNodeModifiers()->getCommonMethodModifier()->setUseEffect1(self, useEffect, static_cast(effectType)); } -KOALA_INTEROP_DIRECT_V2(CommonMethod_hoverEffect, Ark_NativePointer, Ark_Int32) -void impl_CommonMethod_onMouse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_useEffect1, Ark_NativePointer, Ark_Boolean, Ark_Int32) +void impl_CommonMethod_useEffect2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_MouseEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_MouseEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_MouseEvent_Void))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnMouse(self, (const Callback_MouseEvent_Void*)&value_value); + const auto useEffect_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean useEffect_value_buf = {}; + useEffect_value_buf.tag = useEffect_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (useEffect_value_buf_runtimeType)) + { + useEffect_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean useEffect_value = useEffect_value_buf;; + const auto effectType_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_EffectType effectType_value_buf = {}; + effectType_value_buf.tag = effectType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (effectType_value_buf_runtimeType)) + { + effectType_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EffectType effectType_value = effectType_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setUseEffect2(self, (const Opt_Boolean*)&useEffect_value, (const Opt_EffectType*)&effectType_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_onMouse, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_onTouch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_useEffect2, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_renderGroup0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_TouchEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TouchEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TouchEvent_Void))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnTouch(self, (const Callback_TouchEvent_Void*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setRenderGroup0(self, value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_onTouch, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_onKeyEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(CommonMethod_renderGroup0, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_renderGroup1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_KeyEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_KeyEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Void))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnKeyEvent(self, (const Callback_KeyEvent_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setRenderGroup1(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyEvent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_onKeyPreIme(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_renderGroup1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_freeze0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_KeyEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_KeyEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Boolean))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnKeyPreIme(self, (const Callback_KeyEvent_Boolean*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setFreeze0(self, value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_onKeyPreIme, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_focusable(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(CommonMethod_freeze0, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_freeze1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setFocusable(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setFreeze1(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V2(CommonMethod_focusable, Ark_NativePointer, Ark_Boolean) -void impl_CommonMethod_onFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_freeze1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_translate0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnFocus(self, (const Callback_Void*)&value_value); + Ark_TranslateOptions value_value = thisDeserializer.readTranslateOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setTranslate0(self, (const Ark_TranslateOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_onFocus, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_onBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_translate0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_translate1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnBlur(self, (const Callback_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TranslateOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readTranslateOptions(); + } + Opt_TranslateOptions value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setTranslate1(self, (const Opt_TranslateOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_onBlur, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_tabIndex(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_translate1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_scale0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setTabIndex(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ScaleOptions value_value = thisDeserializer.readScaleOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setScale0(self, (const Ark_ScaleOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(CommonMethod_tabIndex, Ark_NativePointer, KInteropNumber) -void impl_CommonMethod_defaultFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_scale0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_scale1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setDefaultFocus(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScaleOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readScaleOptions(); + } + Opt_ScaleOptions value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setScale1(self, (const Opt_ScaleOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(CommonMethod_defaultFocus, Ark_NativePointer, Ark_Boolean) -void impl_CommonMethod_groupDefaultFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_scale1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_gridSpan(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setGroupDefaultFocus(self, value); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_groupDefaultFocus, Ark_NativePointer, Ark_Boolean) -void impl_CommonMethod_focusOnTouch(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setFocusOnTouch(self, value); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_focusOnTouch, Ark_NativePointer, Ark_Boolean) -void impl_CommonMethod_focusBox(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_FocusBoxStyle value_value = thisDeserializer.readFocusBoxStyle();; - GetNodeModifiers()->getCommonMethodModifier()->setFocusBox(self, (const Ark_FocusBoxStyle*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setGridSpan(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_focusBox, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_animation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(CommonMethod_gridSpan, Ark_NativePointer, KInteropNumber) +void impl_CommonMethod_gridOffset(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_AnimateParam value_value = thisDeserializer.readAnimateParam();; - GetNodeModifiers()->getCommonMethodModifier()->setAnimation(self, (const Ark_AnimateParam*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setGridOffset(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_animation, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_transition0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(CommonMethod_gridOffset, Ark_NativePointer, KInteropNumber) +void impl_CommonMethod_rotate0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_TransitionOptions_TransitionEffect value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readTransitionOptions(); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readTransitionEffect()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_TransitionOptions_TransitionEffect value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setTransition0(self, (const Ark_Union_TransitionOptions_TransitionEffect*)&value_value); + Ark_RotateOptions value_value = thisDeserializer.readRotateOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setRotate0(self, (const Ark_RotateOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_transition0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_transition1(Ark_NativePointer thisPtr, Ark_NativePointer effect, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_rotate0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_rotate1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto onFinish_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_TransitionFinishCallback onFinish_value_buf = {}; - onFinish_value_buf.tag = onFinish_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onFinish_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_RotateOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - onFinish_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_TransitionFinishCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_TransitionFinishCallback))))}; - } - Opt_TransitionFinishCallback onFinish_value = onFinish_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setTransition1(self, static_cast(effect), (const Opt_TransitionFinishCallback*)&onFinish_value); -} -KOALA_INTEROP_DIRECT_V4(CommonMethod_transition1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_motionBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_MotionBlurOptions value_value = thisDeserializer.readMotionBlurOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setMotionBlur(self, (const Ark_MotionBlurOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_motionBlur, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_brightness(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setBrightness(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_brightness, Ark_NativePointer, KInteropNumber) -void impl_CommonMethod_contrast(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setContrast(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_contrast, Ark_NativePointer, KInteropNumber) -void impl_CommonMethod_grayscale(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setGrayscale(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_grayscale, Ark_NativePointer, KInteropNumber) -void impl_CommonMethod_colorBlend(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Color_String_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + value_value_buf.value = thisDeserializer.readRotateOptions(); } - Ark_Union_Color_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setColorBlend(self, (const Ark_Union_Color_String_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_colorBlend, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_saturate(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setSaturate(self, (const Ark_Number*) (&value)); + Opt_RotateOptions value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setRotate1(self, (const Opt_RotateOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(CommonMethod_saturate, Ark_NativePointer, KInteropNumber) -void impl_CommonMethod_sepia(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setSepia(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_sepia, Ark_NativePointer, KInteropNumber) -void impl_CommonMethod_invert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_rotate1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_transform0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_InvertOptions value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readInvertOptions(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_Number_InvertOptions value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setInvert(self, (const Ark_Union_Number_InvertOptions*)&value_value); + Ark_TransformationMatrix value_value = thisDeserializer.readTransformationMatrix();; + GetNodeModifiers()->getCommonMethodModifier()->setTransform0(self, (const Ark_TransformationMatrix*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_invert, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_hueRotate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_transform0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_transform1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readObject()); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setHueRotate(self, (const Ark_Union_Number_String*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_hueRotate, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_useShadowBatching(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setUseShadowBatching(self, value); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_useShadowBatching, Ark_NativePointer, Ark_Boolean) -void impl_CommonMethod_useEffect0(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setUseEffect0(self, value); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_useEffect0, Ark_NativePointer, Ark_Boolean) -void impl_CommonMethod_useEffect1(Ark_NativePointer thisPtr, Ark_Boolean useEffect, Ark_Int32 effectType) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setUseEffect1(self, useEffect, static_cast(effectType)); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_useEffect1, Ark_NativePointer, Ark_Boolean, Ark_Int32) -void impl_CommonMethod_renderGroup(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setRenderGroup(self, value); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_renderGroup, Ark_NativePointer, Ark_Boolean) -void impl_CommonMethod_freeze(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setFreeze(self, value); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_freeze, Ark_NativePointer, Ark_Boolean) -void impl_CommonMethod_translate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_TranslateOptions value_value = thisDeserializer.readTranslateOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setTranslate(self, (const Ark_TranslateOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_translate, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_scale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_ScaleOptions value_value = thisDeserializer.readScaleOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setScale(self, (const Ark_ScaleOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_scale, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_gridSpan(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setGridSpan(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_gridSpan, Ark_NativePointer, KInteropNumber) -void impl_CommonMethod_gridOffset(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setGridOffset(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(CommonMethod_gridOffset, Ark_NativePointer, KInteropNumber) -void impl_CommonMethod_rotate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_RotateOptions value_value = thisDeserializer.readRotateOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setRotate(self, (const Ark_RotateOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_rotate, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_transform(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_TransformationMatrix value_value = thisDeserializer.readTransformationMatrix();; - GetNodeModifiers()->getCommonMethodModifier()->setTransform(self, (const Ark_TransformationMatrix*)&value_value); + Opt_Object value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setTransform1(self, (const Opt_Object*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_transform, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_transform1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_onAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -3904,7 +3500,21 @@ void impl_CommonMethod_aspectRatio(Ark_NativePointer thisPtr, KInteropNumber val GetNodeModifiers()->getCommonMethodModifier()->setAspectRatio(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_DIRECT_V2(CommonMethod_aspectRatio, Ark_NativePointer, KInteropNumber) -void impl_CommonMethod_clickEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_clickEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ClickEffect value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readClickEffect(); + } + Opt_ClickEffect value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setClickEffect0(self, (const Opt_ClickEffect*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_clickEffect0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_clickEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -3915,9 +3525,9 @@ void impl_CommonMethod_clickEffect(Ark_NativePointer thisPtr, KSerializerBuffer value_value_buf.value = thisDeserializer.readClickEffect(); } Opt_ClickEffect value_value = value_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setClickEffect(self, (const Opt_ClickEffect*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setClickEffect1(self, (const Opt_ClickEffect*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_clickEffect, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_clickEffect1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_onDragStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -3946,13 +3556,28 @@ void impl_CommonMethod_onDragLeave(Ark_NativePointer thisPtr, KSerializerBuffer GetNodeModifiers()->getCommonMethodModifier()->setOnDragLeave(self, (const Callback_DragEvent_String_Void*)&value_value); } KOALA_INTEROP_DIRECT_V3(CommonMethod_onDragLeave, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_onDrop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_onDrop0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_DragEvent_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DragEvent_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DragEvent_String_Void))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnDrop(self, (const Callback_DragEvent_String_Void*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setOnDrop0(self, (const Callback_DragEvent_String_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onDrop0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onDrop1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnDragEventCallback eventCallback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnDragEventCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnDragEventCallback))))};; + const auto dropOptions_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DropOptions dropOptions_value_buf = {}; + dropOptions_value_buf.tag = dropOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dropOptions_value_buf_runtimeType)) + { + dropOptions_value_buf.value = thisDeserializer.readDropOptions(); + } + Opt_DropOptions dropOptions_value = dropOptions_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnDrop1(self, (const OnDragEventCallback*)&eventCallback_value, (const Opt_DropOptions*)&dropOptions_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_onDrop, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_onDrop1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_onDragEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -3986,7 +3611,7 @@ void impl_CommonMethod_draggable(Ark_NativePointer thisPtr, Ark_Boolean value) { GetNodeModifiers()->getCommonMethodModifier()->setDraggable(self, value); } KOALA_INTEROP_DIRECT_V2(CommonMethod_draggable, Ark_NativePointer, Ark_Boolean) -void impl_CommonMethod_dragPreview(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_dragPreview0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -4008,9 +3633,42 @@ void impl_CommonMethod_dragPreview(Ark_NativePointer thisPtr, KSerializerBuffer INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_Union_CustomBuilder_DragItemInfo_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setDragPreview(self, (const Ark_Union_CustomBuilder_DragItemInfo_String*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setDragPreview0(self, (const Ark_Union_CustomBuilder_DragItemInfo_String*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_dragPreview0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_dragPreview1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 preview_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_CustomBuilder_DragItemInfo_String preview_value_buf = {}; + preview_value_buf.selector = preview_value_buf_selector; + if (preview_value_buf_selector == 0) { + preview_value_buf.selector = 0; + preview_value_buf.value0 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + else if (preview_value_buf_selector == 1) { + preview_value_buf.selector = 1; + preview_value_buf.value1 = thisDeserializer.readDragItemInfo(); + } + else if (preview_value_buf_selector == 2) { + preview_value_buf.selector = 2; + preview_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for preview_value_buf has to be chosen through deserialisation."); + } + Ark_Union_CustomBuilder_DragItemInfo_String preview_value = static_cast(preview_value_buf);; + const auto config_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PreviewConfiguration config_value_buf = {}; + config_value_buf.tag = config_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (config_value_buf_runtimeType)) + { + config_value_buf.value = thisDeserializer.readPreviewConfiguration(); + } + Opt_PreviewConfiguration config_value = config_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setDragPreview1(self, (const Ark_Union_CustomBuilder_DragItemInfo_String*)&preview_value, (const Opt_PreviewConfiguration*)&config_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_dragPreview, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_dragPreview1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_onPreDrag(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -4018,372 +3676,125 @@ void impl_CommonMethod_onPreDrag(Ark_NativePointer thisPtr, KSerializerBuffer th GetNodeModifiers()->getCommonMethodModifier()->setOnPreDrag(self, (const Callback_PreDragStatus_Void*)&value_value); } KOALA_INTEROP_DIRECT_V3(CommonMethod_onPreDrag, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_linearGradient(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_linearGradient0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_LinearGradientOptions value_value = thisDeserializer.readLinearGradientOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setLinearGradient0(self, (const Ark_LinearGradientOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_linearGradient0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_linearGradient1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Type_CommonMethod_linearGradient_value value_value_buf = {}; - const auto value_value_buf_angle_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Number_String value_value_buf_angle_buf = {}; - value_value_buf_angle_buf.tag = value_value_buf_angle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_angle_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_LinearGradientOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - const Ark_Int8 value_value_buf_angle_buf__selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf_angle_buf_ = {}; - value_value_buf_angle_buf_.selector = value_value_buf_angle_buf__selector; - if (value_value_buf_angle_buf__selector == 0) { - value_value_buf_angle_buf_.selector = 0; - value_value_buf_angle_buf_.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_angle_buf__selector == 1) { - value_value_buf_angle_buf_.selector = 1; - value_value_buf_angle_buf_.value1 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_angle_buf_ has to be chosen through deserialisation."); - } - value_value_buf_angle_buf.value = static_cast(value_value_buf_angle_buf_); + value_value_buf.value = thisDeserializer.readLinearGradientOptions(); } - value_value_buf.angle = value_value_buf_angle_buf; - const auto value_value_buf_direction_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_GradientDirection value_value_buf_direction_buf = {}; - value_value_buf_direction_buf.tag = value_value_buf_direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_direction_buf_runtimeType)) + Opt_LinearGradientOptions value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setLinearGradient1(self, (const Opt_LinearGradientOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_linearGradient1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_sweepGradient0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_SweepGradientOptions value_value = thisDeserializer.readSweepGradientOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setSweepGradient0(self, (const Ark_SweepGradientOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_sweepGradient0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_sweepGradient1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SweepGradientOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf_direction_buf.value = static_cast(thisDeserializer.readInt32()); - } - value_value_buf.direction = value_value_buf_direction_buf; - const Ark_Int32 value_value_buf_colors_buf_length = thisDeserializer.readInt32(); - Array_Tuple_ResourceColor_Number value_value_buf_colors_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_colors_buf, value_value_buf_colors_buf_length); - for (int value_value_buf_colors_buf_i = 0; value_value_buf_colors_buf_i < value_value_buf_colors_buf_length; value_value_buf_colors_buf_i++) { - Ark_Tuple_ResourceColor_Number value_value_buf_colors_buf_buf = {}; - const Ark_Int8 value_value_buf_colors_buf_buf_value0_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_colors_buf_buf_value0_buf = {}; - value_value_buf_colors_buf_buf_value0_buf.selector = value_value_buf_colors_buf_buf_value0_buf_selector; - if (value_value_buf_colors_buf_buf_value0_buf_selector == 0) { - value_value_buf_colors_buf_buf_value0_buf.selector = 0; - value_value_buf_colors_buf_buf_value0_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_colors_buf_buf_value0_buf_selector == 1) { - value_value_buf_colors_buf_buf_value0_buf.selector = 1; - value_value_buf_colors_buf_buf_value0_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_colors_buf_buf_value0_buf_selector == 2) { - value_value_buf_colors_buf_buf_value0_buf.selector = 2; - value_value_buf_colors_buf_buf_value0_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_colors_buf_buf_value0_buf_selector == 3) { - value_value_buf_colors_buf_buf_value0_buf.selector = 3; - value_value_buf_colors_buf_buf_value0_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_colors_buf_buf_value0_buf has to be chosen through deserialisation."); - } - value_value_buf_colors_buf_buf.value0 = static_cast(value_value_buf_colors_buf_buf_value0_buf); - value_value_buf_colors_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); - value_value_buf_colors_buf.array[value_value_buf_colors_buf_i] = value_value_buf_colors_buf_buf; + value_value_buf.value = thisDeserializer.readSweepGradientOptions(); } - value_value_buf.colors = value_value_buf_colors_buf; - const auto value_value_buf_repeating_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean value_value_buf_repeating_buf = {}; - value_value_buf_repeating_buf.tag = value_value_buf_repeating_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_repeating_buf_runtimeType)) + Opt_SweepGradientOptions value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setSweepGradient1(self, (const Opt_SweepGradientOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_sweepGradient1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_radialGradient0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_RadialGradientOptions value_value = thisDeserializer.readRadialGradientOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setRadialGradient0(self, (const Ark_RadialGradientOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_radialGradient0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_radialGradient1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_RadialGradientOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf_repeating_buf.value = thisDeserializer.readBoolean(); + value_value_buf.value = thisDeserializer.readRadialGradientOptions(); } - value_value_buf.repeating = value_value_buf_repeating_buf; - Ark_Type_CommonMethod_linearGradient_value value_value = value_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setLinearGradient(self, (const Ark_Type_CommonMethod_linearGradient_value*)&value_value); + Opt_RadialGradientOptions value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setRadialGradient1(self, (const Opt_RadialGradientOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_linearGradient, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_sweepGradient(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_radialGradient1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_motionPath(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Type_CommonMethod_sweepGradient_value value_value_buf = {}; - Ark_Tuple_Length_Length value_value_buf_center_buf = {}; - const Ark_Int8 value_value_buf_center_buf_value0_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_center_buf_value0_buf = {}; - value_value_buf_center_buf_value0_buf.selector = value_value_buf_center_buf_value0_buf_selector; - if (value_value_buf_center_buf_value0_buf_selector == 0) { - value_value_buf_center_buf_value0_buf.selector = 0; - value_value_buf_center_buf_value0_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_center_buf_value0_buf_selector == 1) { - value_value_buf_center_buf_value0_buf.selector = 1; - value_value_buf_center_buf_value0_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_center_buf_value0_buf_selector == 2) { - value_value_buf_center_buf_value0_buf.selector = 2; - value_value_buf_center_buf_value0_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_center_buf_value0_buf has to be chosen through deserialisation."); - } - value_value_buf_center_buf.value0 = static_cast(value_value_buf_center_buf_value0_buf); - const Ark_Int8 value_value_buf_center_buf_value1_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_center_buf_value1_buf = {}; - value_value_buf_center_buf_value1_buf.selector = value_value_buf_center_buf_value1_buf_selector; - if (value_value_buf_center_buf_value1_buf_selector == 0) { - value_value_buf_center_buf_value1_buf.selector = 0; - value_value_buf_center_buf_value1_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_center_buf_value1_buf_selector == 1) { - value_value_buf_center_buf_value1_buf.selector = 1; - value_value_buf_center_buf_value1_buf.value1 = static_cast(thisDeserializer.readNumber()); + Ark_MotionPathOptions value_value = thisDeserializer.readMotionPathOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setMotionPath(self, (const Ark_MotionPathOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_motionPath, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_shadow0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_ShadowOptions_ShadowStyle value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = thisDeserializer.readShadowOptions(); } - else if (value_value_buf_center_buf_value1_buf_selector == 2) { - value_value_buf_center_buf_value1_buf.selector = 2; - value_value_buf_center_buf_value1_buf.value2 = thisDeserializer.readResource(); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); } else { - INTEROP_FATAL("One of the branches for value_value_buf_center_buf_value1_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - value_value_buf_center_buf.value1 = static_cast(value_value_buf_center_buf_value1_buf); - value_value_buf.center = value_value_buf_center_buf; - const auto value_value_buf_start_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Number_String value_value_buf_start_buf = {}; - value_value_buf_start_buf.tag = value_value_buf_start_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_start_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_start_buf__selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf_start_buf_ = {}; - value_value_buf_start_buf_.selector = value_value_buf_start_buf__selector; - if (value_value_buf_start_buf__selector == 0) { - value_value_buf_start_buf_.selector = 0; - value_value_buf_start_buf_.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_start_buf__selector == 1) { - value_value_buf_start_buf_.selector = 1; - value_value_buf_start_buf_.value1 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_start_buf_ has to be chosen through deserialisation."); - } - value_value_buf_start_buf.value = static_cast(value_value_buf_start_buf_); - } - value_value_buf.start = value_value_buf_start_buf; - const auto value_value_buf_end_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Number_String value_value_buf_end_buf = {}; - value_value_buf_end_buf.tag = value_value_buf_end_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_end_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_end_buf__selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf_end_buf_ = {}; - value_value_buf_end_buf_.selector = value_value_buf_end_buf__selector; - if (value_value_buf_end_buf__selector == 0) { - value_value_buf_end_buf_.selector = 0; - value_value_buf_end_buf_.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_end_buf__selector == 1) { - value_value_buf_end_buf_.selector = 1; - value_value_buf_end_buf_.value1 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_end_buf_ has to be chosen through deserialisation."); - } - value_value_buf_end_buf.value = static_cast(value_value_buf_end_buf_); - } - value_value_buf.end = value_value_buf_end_buf; - const auto value_value_buf_rotation_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_Number_String value_value_buf_rotation_buf = {}; - value_value_buf_rotation_buf.tag = value_value_buf_rotation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_rotation_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_rotation_buf__selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf_rotation_buf_ = {}; - value_value_buf_rotation_buf_.selector = value_value_buf_rotation_buf__selector; - if (value_value_buf_rotation_buf__selector == 0) { - value_value_buf_rotation_buf_.selector = 0; - value_value_buf_rotation_buf_.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_rotation_buf__selector == 1) { - value_value_buf_rotation_buf_.selector = 1; - value_value_buf_rotation_buf_.value1 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_rotation_buf_ has to be chosen through deserialisation."); - } - value_value_buf_rotation_buf.value = static_cast(value_value_buf_rotation_buf_); - } - value_value_buf.rotation = value_value_buf_rotation_buf; - const Ark_Int32 value_value_buf_colors_buf_length = thisDeserializer.readInt32(); - Array_Tuple_ResourceColor_Number value_value_buf_colors_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_colors_buf, value_value_buf_colors_buf_length); - for (int value_value_buf_colors_buf_i = 0; value_value_buf_colors_buf_i < value_value_buf_colors_buf_length; value_value_buf_colors_buf_i++) { - Ark_Tuple_ResourceColor_Number value_value_buf_colors_buf_buf = {}; - const Ark_Int8 value_value_buf_colors_buf_buf_value0_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_colors_buf_buf_value0_buf = {}; - value_value_buf_colors_buf_buf_value0_buf.selector = value_value_buf_colors_buf_buf_value0_buf_selector; - if (value_value_buf_colors_buf_buf_value0_buf_selector == 0) { - value_value_buf_colors_buf_buf_value0_buf.selector = 0; - value_value_buf_colors_buf_buf_value0_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_colors_buf_buf_value0_buf_selector == 1) { - value_value_buf_colors_buf_buf_value0_buf.selector = 1; - value_value_buf_colors_buf_buf_value0_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_colors_buf_buf_value0_buf_selector == 2) { - value_value_buf_colors_buf_buf_value0_buf.selector = 2; - value_value_buf_colors_buf_buf_value0_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_colors_buf_buf_value0_buf_selector == 3) { - value_value_buf_colors_buf_buf_value0_buf.selector = 3; - value_value_buf_colors_buf_buf_value0_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_colors_buf_buf_value0_buf has to be chosen through deserialisation."); - } - value_value_buf_colors_buf_buf.value0 = static_cast(value_value_buf_colors_buf_buf_value0_buf); - value_value_buf_colors_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); - value_value_buf_colors_buf.array[value_value_buf_colors_buf_i] = value_value_buf_colors_buf_buf; - } - value_value_buf.colors = value_value_buf_colors_buf; - const auto value_value_buf_repeating_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean value_value_buf_repeating_buf = {}; - value_value_buf_repeating_buf.tag = value_value_buf_repeating_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_repeating_buf_runtimeType)) - { - value_value_buf_repeating_buf.value = thisDeserializer.readBoolean(); - } - value_value_buf.repeating = value_value_buf_repeating_buf; - Ark_Type_CommonMethod_sweepGradient_value value_value = value_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setSweepGradient(self, (const Ark_Type_CommonMethod_sweepGradient_value*)&value_value); + Ark_Union_ShadowOptions_ShadowStyle value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonMethodModifier()->setShadow0(self, (const Ark_Union_ShadowOptions_ShadowStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_sweepGradient, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_radialGradient(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_shadow0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_shadow1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Type_CommonMethod_radialGradient_value value_value_buf = {}; - Ark_Tuple_Length_Length value_value_buf_center_buf = {}; - const Ark_Int8 value_value_buf_center_buf_value0_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_center_buf_value0_buf = {}; - value_value_buf_center_buf_value0_buf.selector = value_value_buf_center_buf_value0_buf_selector; - if (value_value_buf_center_buf_value0_buf_selector == 0) { - value_value_buf_center_buf_value0_buf.selector = 0; - value_value_buf_center_buf_value0_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_center_buf_value0_buf_selector == 1) { - value_value_buf_center_buf_value0_buf.selector = 1; - value_value_buf_center_buf_value0_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_center_buf_value0_buf_selector == 2) { - value_value_buf_center_buf_value0_buf.selector = 2; - value_value_buf_center_buf_value0_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_center_buf_value0_buf has to be chosen through deserialisation."); - } - value_value_buf_center_buf.value0 = static_cast(value_value_buf_center_buf_value0_buf); - const Ark_Int8 value_value_buf_center_buf_value1_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_center_buf_value1_buf = {}; - value_value_buf_center_buf_value1_buf.selector = value_value_buf_center_buf_value1_buf_selector; - if (value_value_buf_center_buf_value1_buf_selector == 0) { - value_value_buf_center_buf_value1_buf.selector = 0; - value_value_buf_center_buf_value1_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_center_buf_value1_buf_selector == 1) { - value_value_buf_center_buf_value1_buf.selector = 1; - value_value_buf_center_buf_value1_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_center_buf_value1_buf_selector == 2) { - value_value_buf_center_buf_value1_buf.selector = 2; - value_value_buf_center_buf_value1_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_center_buf_value1_buf has to be chosen through deserialisation."); - } - value_value_buf_center_buf.value1 = static_cast(value_value_buf_center_buf_value1_buf); - value_value_buf.center = value_value_buf_center_buf; - const Ark_Int8 value_value_buf_radius_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf_radius_buf = {}; - value_value_buf_radius_buf.selector = value_value_buf_radius_buf_selector; - if (value_value_buf_radius_buf_selector == 0) { - value_value_buf_radius_buf.selector = 0; - value_value_buf_radius_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_radius_buf_selector == 1) { - value_value_buf_radius_buf.selector = 1; - value_value_buf_radius_buf.value1 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_radius_buf has to be chosen through deserialisation."); - } - value_value_buf.radius = static_cast(value_value_buf_radius_buf); - const Ark_Int32 value_value_buf_colors_buf_length = thisDeserializer.readInt32(); - Array_Tuple_ResourceColor_Number value_value_buf_colors_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_colors_buf, value_value_buf_colors_buf_length); - for (int value_value_buf_colors_buf_i = 0; value_value_buf_colors_buf_i < value_value_buf_colors_buf_length; value_value_buf_colors_buf_i++) { - Ark_Tuple_ResourceColor_Number value_value_buf_colors_buf_buf = {}; - const Ark_Int8 value_value_buf_colors_buf_buf_value0_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_colors_buf_buf_value0_buf = {}; - value_value_buf_colors_buf_buf_value0_buf.selector = value_value_buf_colors_buf_buf_value0_buf_selector; - if (value_value_buf_colors_buf_buf_value0_buf_selector == 0) { - value_value_buf_colors_buf_buf_value0_buf.selector = 0; - value_value_buf_colors_buf_buf_value0_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_colors_buf_buf_value0_buf_selector == 1) { - value_value_buf_colors_buf_buf_value0_buf.selector = 1; - value_value_buf_colors_buf_buf_value0_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_colors_buf_buf_value0_buf_selector == 2) { - value_value_buf_colors_buf_buf_value0_buf.selector = 2; - value_value_buf_colors_buf_buf_value0_buf.value2 = static_cast(thisDeserializer.readString()); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ShadowOptions_ShadowStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_ShadowOptions_ShadowStyle value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = thisDeserializer.readShadowOptions(); } - else if (value_value_buf_colors_buf_buf_value0_buf_selector == 3) { - value_value_buf_colors_buf_buf_value0_buf.selector = 3; - value_value_buf_colors_buf_buf_value0_buf.value3 = thisDeserializer.readResource(); + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readInt32()); } else { - INTEROP_FATAL("One of the branches for value_value_buf_colors_buf_buf_value0_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); } - value_value_buf_colors_buf_buf.value0 = static_cast(value_value_buf_colors_buf_buf_value0_buf); - value_value_buf_colors_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); - value_value_buf_colors_buf.array[value_value_buf_colors_buf_i] = value_value_buf_colors_buf_buf; - } - value_value_buf.colors = value_value_buf_colors_buf; - const auto value_value_buf_repeating_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean value_value_buf_repeating_buf = {}; - value_value_buf_repeating_buf.tag = value_value_buf_repeating_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_repeating_buf_runtimeType)) - { - value_value_buf_repeating_buf.value = thisDeserializer.readBoolean(); - } - value_value_buf.repeating = value_value_buf_repeating_buf; - Ark_Type_CommonMethod_radialGradient_value value_value = value_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setRadialGradient(self, (const Ark_Type_CommonMethod_radialGradient_value*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_radialGradient, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_motionPath(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_MotionPathOptions value_value = thisDeserializer.readMotionPathOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setMotionPath(self, (const Ark_MotionPathOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CommonMethod_motionPath, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_shadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ShadowOptions_ShadowStyle value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readShadowOptions(); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + value_value_buf.value = static_cast(value_value_buf_); } - Ark_Union_ShadowOptions_ShadowStyle value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setShadow(self, (const Ark_Union_ShadowOptions_ShadowStyle*)&value_value); + Opt_Union_ShadowOptions_ShadowStyle value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setShadow1(self, (const Opt_Union_ShadowOptions_ShadowStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_shadow, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_shadow1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_clip0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -4412,7 +3823,21 @@ void impl_CommonMethod_clip1(Ark_NativePointer thisPtr, KSerializerBuffer thisAr GetNodeModifiers()->getCommonMethodModifier()->setClip1(self, (const Opt_Boolean*)&value_value); } KOALA_INTEROP_DIRECT_V3(CommonMethod_clip1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_clipShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_clip2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setClip2(self, (const Opt_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_clip2, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_clipShape0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -4438,9 +3863,45 @@ void impl_CommonMethod_clipShape(Ark_NativePointer thisPtr, KSerializerBuffer th INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_Union_CircleShape_EllipseShape_PathShape_RectShape value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setClipShape(self, (const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setClipShape0(self, (const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_clipShape0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_clipShape1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_CircleShape_EllipseShape_PathShape_RectShape value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_CircleShape_EllipseShape_PathShape_RectShape value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readCircleShape()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readEllipseShape()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readPathShape()); + } + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = static_cast(thisDeserializer.readRectShape()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_CircleShape_EllipseShape_PathShape_RectShape value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setClipShape1(self, (const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_clipShape, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_clipShape1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_mask0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -4469,7 +3930,21 @@ void impl_CommonMethod_mask1(Ark_NativePointer thisPtr, KSerializerBuffer thisAr GetNodeModifiers()->getCommonMethodModifier()->setMask1(self, (const Opt_ProgressMask*)&value_value); } KOALA_INTEROP_DIRECT_V3(CommonMethod_mask1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_maskShape(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_mask2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ProgressMask value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readProgressMask()); + } + Opt_ProgressMask value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setMask2(self, (const Opt_ProgressMask*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_mask2, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_maskShape0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -4495,9 +3970,45 @@ void impl_CommonMethod_maskShape(Ark_NativePointer thisPtr, KSerializerBuffer th INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_Union_CircleShape_EllipseShape_PathShape_RectShape value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonMethodModifier()->setMaskShape(self, (const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setMaskShape0(self, (const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_maskShape0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_maskShape1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_CircleShape_EllipseShape_PathShape_RectShape value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_CircleShape_EllipseShape_PathShape_RectShape value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readCircleShape()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readEllipseShape()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readPathShape()); + } + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = static_cast(thisDeserializer.readRectShape()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_CircleShape_EllipseShape_PathShape_RectShape value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setMaskShape1(self, (const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_maskShape, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_maskShape1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_key(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); GetNodeModifiers()->getCommonMethodModifier()->setKey(self, (const Ark_String*) (&value)); @@ -4539,23 +4050,65 @@ void impl_CommonMethod_restoreId(Ark_NativePointer thisPtr, KInteropNumber value GetNodeModifiers()->getCommonMethodModifier()->setRestoreId(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_DIRECT_V2(CommonMethod_restoreId, Ark_NativePointer, KInteropNumber) -void impl_CommonMethod_sphericalEffect(Ark_NativePointer thisPtr, KInteropNumber value) { +void impl_CommonMethod_sphericalEffect0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setSphericalEffect0(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_sphericalEffect0, Ark_NativePointer, KInteropNumber) +void impl_CommonMethod_sphericalEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setSphericalEffect1(self, (const Opt_Number*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_sphericalEffect1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_lightUpEffect0(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setSphericalEffect(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getCommonMethodModifier()->setLightUpEffect0(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V2(CommonMethod_sphericalEffect, Ark_NativePointer, KInteropNumber) -void impl_CommonMethod_lightUpEffect(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V2(CommonMethod_lightUpEffect0, Ark_NativePointer, KInteropNumber) +void impl_CommonMethod_lightUpEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setLightUpEffect(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setLightUpEffect1(self, (const Opt_Number*)&value_value); } -KOALA_INTEROP_DIRECT_V2(CommonMethod_lightUpEffect, Ark_NativePointer, KInteropNumber) -void impl_CommonMethod_pixelStretchEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_lightUpEffect1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_pixelStretchEffect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Ark_PixelStretchEffectOptions value_value = thisDeserializer.readPixelStretchEffectOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setPixelStretchEffect(self, (const Ark_PixelStretchEffectOptions*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setPixelStretchEffect0(self, (const Ark_PixelStretchEffectOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_pixelStretchEffect, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_pixelStretchEffect0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_pixelStretchEffect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PixelStretchEffectOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readPixelStretchEffectOptions(); + } + Opt_PixelStretchEffectOptions value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setPixelStretchEffect1(self, (const Opt_PixelStretchEffectOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_pixelStretchEffect1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_accessibilityGroup0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityGroup0(self, value); @@ -4580,6 +4133,38 @@ void impl_CommonMethod_accessibilityText1(Ark_NativePointer thisPtr, KSerializer GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityText1(self, (const Ark_Resource*)&value_value); } KOALA_INTEROP_DIRECT_V3(CommonMethod_accessibilityText1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_accessibilityNextFocusId(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityNextFocusId(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(CommonMethod_accessibilityNextFocusId, Ark_NativePointer, KStringPtr) +void impl_CommonMethod_accessibilityDefaultFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDefaultFocus(self, value); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_accessibilityDefaultFocus, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_accessibilityUseSamePage(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityUseSamePage(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_accessibilityUseSamePage, Ark_NativePointer, Ark_Int32) +void impl_CommonMethod_accessibilityScrollTriggerable(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityScrollTriggerable(self, value); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_accessibilityScrollTriggerable, Ark_NativePointer, Ark_Boolean) +void impl_CommonMethod_accessibilityRole(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityRole(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_accessibilityRole, Ark_NativePointer, Ark_Int32) +void impl_CommonMethod_onAccessibilityFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + AccessibilityFocusCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_AccessibilityFocusCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_AccessibilityFocusCallback))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnAccessibilityFocus(self, (const AccessibilityFocusCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onAccessibilityFocus, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_accessibilityTextHint(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityTextHint(self, (const Ark_String*) (&value)); @@ -4638,23 +4223,58 @@ void impl_CommonMethod_reuseId(Ark_NativePointer thisPtr, const KStringPtr& valu GetNodeModifiers()->getCommonMethodModifier()->setReuseId(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(CommonMethod_reuseId, Ark_NativePointer, KStringPtr) -void impl_CommonMethod_renderFit(Ark_NativePointer thisPtr, Ark_Int32 value) { +void impl_CommonMethod_reuse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ReuseOptions value_value = thisDeserializer.readReuseOptions();; + GetNodeModifiers()->getCommonMethodModifier()->setReuse(self, (const Ark_ReuseOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_reuse, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_renderFit0(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setRenderFit(self, static_cast(value)); + GetNodeModifiers()->getCommonMethodModifier()->setRenderFit0(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_renderFit0, Ark_NativePointer, Ark_Int32) +void impl_CommonMethod_renderFit1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_RenderFit value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_RenderFit value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setRenderFit1(self, (const Opt_RenderFit*)&value_value); } -KOALA_INTEROP_DIRECT_V2(CommonMethod_renderFit, Ark_NativePointer, Ark_Int32) +KOALA_INTEROP_DIRECT_V3(CommonMethod_renderFit1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_gestureModifier(Ark_NativePointer thisPtr, Ark_NativePointer value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); GetNodeModifiers()->getCommonMethodModifier()->setGestureModifier(self, static_cast(value)); } KOALA_INTEROP_DIRECT_V2(CommonMethod_gestureModifier, Ark_NativePointer, Ark_NativePointer) -void impl_CommonMethod_backgroundBrightness(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_backgroundBrightness0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Ark_BackgroundBrightnessOptions value_value = thisDeserializer.readBackgroundBrightnessOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBrightness(self, (const Ark_BackgroundBrightnessOptions*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBrightness0(self, (const Ark_BackgroundBrightnessOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundBrightness, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundBrightness0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_backgroundBrightness1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BackgroundBrightnessOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBackgroundBrightnessOptions(); + } + Opt_BackgroundBrightnessOptions value_value = value_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBrightness1(self, (const Opt_BackgroundBrightnessOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundBrightness1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_onGestureJudgeBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -4702,6 +4322,11 @@ void impl_CommonMethod_onSizeChange(Ark_NativePointer thisPtr, KSerializerBuffer GetNodeModifiers()->getCommonMethodModifier()->setOnSizeChange(self, (const SizeChangeCallback*)&value_value); } KOALA_INTEROP_DIRECT_V3(CommonMethod_onSizeChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_accessibilityFocusDrawLevel(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityFocusDrawLevel(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(CommonMethod_accessibilityFocusDrawLevel, Ark_NativePointer, Ark_Int32) void impl_CommonMethod_customProperty(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -4776,7 +4401,7 @@ void impl_CommonMethod_background(Ark_NativePointer thisPtr, KSerializerBuffer t GetNodeModifiers()->getCommonMethodModifier()->setBackground(self, (const CustomNodeBuilder*)&builder_value, (const Opt_Literal_Alignment_align*)&options_value); } KOALA_INTEROP_DIRECT_V3(CommonMethod_background, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_backgroundImage(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_backgroundImage0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8(); @@ -4816,10 +4441,53 @@ void impl_CommonMethod_backgroundImage(Ark_NativePointer thisPtr, KSerializerBuf repeat_value_buf.value = static_cast(thisDeserializer.readInt32()); } Opt_ImageRepeat repeat_value = repeat_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImage(self, (const Ark_Union_ResourceStr_PixelMap*)&src_value, (const Opt_ImageRepeat*)&repeat_value); + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImage0(self, (const Ark_Union_ResourceStr_PixelMap*)&src_value, (const Opt_ImageRepeat*)&repeat_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImage0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_backgroundImage1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_PixelMap src_value_buf = {}; + src_value_buf.selector = src_value_buf_selector; + if (src_value_buf_selector == 0) { + src_value_buf.selector = 0; + const Ark_Int8 src_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceStr src_value_buf_u = {}; + src_value_buf_u.selector = src_value_buf_u_selector; + if (src_value_buf_u_selector == 0) { + src_value_buf_u.selector = 0; + src_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (src_value_buf_u_selector == 1) { + src_value_buf_u.selector = 1; + src_value_buf_u.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for src_value_buf_u has to be chosen through deserialisation."); + } + src_value_buf.value0 = static_cast(src_value_buf_u); + } + else if (src_value_buf_selector == 1) { + src_value_buf.selector = 1; + src_value_buf.value1 = static_cast(thisDeserializer.readPixelMap()); + } + else { + INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation."); + } + Ark_Union_ResourceStr_PixelMap src_value = static_cast(src_value_buf);; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BackgroundImageOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readBackgroundImageOptions(); + } + Opt_BackgroundImageOptions options_value = options_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundImage1(self, (const Ark_Union_ResourceStr_PixelMap*)&src_value, (const Opt_BackgroundImageOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImage, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_backgroundBlurStyle(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundImage1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_backgroundBlurStyle0(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -4830,29 +4498,89 @@ void impl_CommonMethod_backgroundBlurStyle(Ark_NativePointer thisPtr, Ark_Int32 options_value_buf.value = thisDeserializer.readBackgroundBlurStyleOptions(); } Opt_BackgroundBlurStyleOptions options_value = options_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBlurStyle(self, static_cast(value), (const Opt_BackgroundBlurStyleOptions*)&options_value); + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBlurStyle0(self, static_cast(value), (const Opt_BackgroundBlurStyleOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V4(CommonMethod_backgroundBlurStyle, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) -void impl_CommonMethod_foregroundBlurStyle(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V4(CommonMethod_backgroundBlurStyle0, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) +void impl_CommonMethod_backgroundBlurStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); + const auto style_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurStyle style_value_buf = {}; + style_value_buf.tag = style_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_value_buf_runtimeType)) + { + style_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlurStyle style_value = style_value_buf;; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ForegroundBlurStyleOptions options_value_buf = {}; + Opt_BackgroundBlurStyleOptions options_value_buf = {}; options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readForegroundBlurStyleOptions(); + options_value_buf.value = thisDeserializer.readBackgroundBlurStyleOptions(); } - Opt_ForegroundBlurStyleOptions options_value = options_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setForegroundBlurStyle(self, static_cast(value), (const Opt_ForegroundBlurStyleOptions*)&options_value); + Opt_BackgroundBlurStyleOptions options_value = options_value_buf;; + const auto sysOptions_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SystemAdaptiveOptions sysOptions_value_buf = {}; + sysOptions_value_buf.tag = sysOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sysOptions_value_buf_runtimeType)) + { + sysOptions_value_buf.value = thisDeserializer.readSystemAdaptiveOptions(); + } + Opt_SystemAdaptiveOptions sysOptions_value = sysOptions_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackgroundBlurStyle1(self, (const Opt_BlurStyle*)&style_value, (const Opt_BackgroundBlurStyleOptions*)&options_value, (const Opt_SystemAdaptiveOptions*)&sysOptions_value); } -KOALA_INTEROP_DIRECT_V4(CommonMethod_foregroundBlurStyle, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) -void impl_CommonMethod_focusScopeId0(Ark_NativePointer thisPtr, const KStringPtr& id, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_backgroundBlurStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_foregroundBlurStyle0(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto isGroup_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isGroup_value_buf = {}; - isGroup_value_buf.tag = isGroup_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ForegroundBlurStyleOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readForegroundBlurStyleOptions(); + } + Opt_ForegroundBlurStyleOptions options_value = options_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setForegroundBlurStyle0(self, static_cast(value), (const Opt_ForegroundBlurStyleOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V4(CommonMethod_foregroundBlurStyle0, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) +void impl_CommonMethod_foregroundBlurStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto style_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurStyle style_value_buf = {}; + style_value_buf.tag = style_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_value_buf_runtimeType)) + { + style_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlurStyle style_value = style_value_buf;; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ForegroundBlurStyleOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readForegroundBlurStyleOptions(); + } + Opt_ForegroundBlurStyleOptions options_value = options_value_buf;; + const auto sysOptions_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SystemAdaptiveOptions sysOptions_value_buf = {}; + sysOptions_value_buf.tag = sysOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sysOptions_value_buf_runtimeType)) + { + sysOptions_value_buf.value = thisDeserializer.readSystemAdaptiveOptions(); + } + Opt_SystemAdaptiveOptions sysOptions_value = sysOptions_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setForegroundBlurStyle1(self, (const Opt_BlurStyle*)&style_value, (const Opt_ForegroundBlurStyleOptions*)&options_value, (const Opt_SystemAdaptiveOptions*)&sysOptions_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_foregroundBlurStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_focusScopeId0(Ark_NativePointer thisPtr, const KStringPtr& id, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto isGroup_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isGroup_value_buf = {}; + isGroup_value_buf.tag = isGroup_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (isGroup_value_buf_runtimeType)) { isGroup_value_buf.value = thisDeserializer.readBoolean(); @@ -5044,9 +4772,31 @@ void impl_CommonMethod_parallelGesture(Ark_NativePointer thisPtr, KSerializerBuf GetNodeModifiers()->getCommonMethodModifier()->setParallelGesture(self, (const Ark_GestureType*)&gesture_value, (const Opt_GestureMask*)&mask_value); } KOALA_INTEROP_DIRECT_V3(CommonMethod_parallelGesture, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_blur(Ark_NativePointer thisPtr, KInteropNumber value, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_blur0(Ark_NativePointer thisPtr, KInteropNumber value, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readBlurOptions(); + } + Opt_BlurOptions options_value = options_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setBlur0(self, (const Ark_Number*) (&value), (const Opt_BlurOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V4(CommonMethod_blur0, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) +void impl_CommonMethod_blur1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); + const auto blurRadius_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number blurRadius_value_buf = {}; + blurRadius_value_buf.tag = blurRadius_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (blurRadius_value_buf_runtimeType)) + { + blurRadius_value_buf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number blurRadius_value = blurRadius_value_buf;; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_BlurOptions options_value_buf = {}; options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -5055,24 +4805,76 @@ void impl_CommonMethod_blur(Ark_NativePointer thisPtr, KInteropNumber value, KSe options_value_buf.value = thisDeserializer.readBlurOptions(); } Opt_BlurOptions options_value = options_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setBlur(self, (const Ark_Number*) (&value), (const Opt_BlurOptions*)&options_value); + const auto sysOptions_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SystemAdaptiveOptions sysOptions_value_buf = {}; + sysOptions_value_buf.tag = sysOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sysOptions_value_buf_runtimeType)) + { + sysOptions_value_buf.value = thisDeserializer.readSystemAdaptiveOptions(); + } + Opt_SystemAdaptiveOptions sysOptions_value = sysOptions_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setBlur1(self, (const Opt_Number*)&blurRadius_value, (const Opt_BlurOptions*)&options_value, (const Opt_SystemAdaptiveOptions*)&sysOptions_value); } -KOALA_INTEROP_DIRECT_V4(CommonMethod_blur, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) -void impl_CommonMethod_linearGradientBlur(Ark_NativePointer thisPtr, KInteropNumber value, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CommonMethod_blur1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_linearGradientBlur0(Ark_NativePointer thisPtr, KInteropNumber value, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Ark_LinearGradientBlurOptions options_value = thisDeserializer.readLinearGradientBlurOptions();; - GetNodeModifiers()->getCommonMethodModifier()->setLinearGradientBlur(self, (const Ark_Number*) (&value), (const Ark_LinearGradientBlurOptions*)&options_value); + GetNodeModifiers()->getCommonMethodModifier()->setLinearGradientBlur0(self, (const Ark_Number*) (&value), (const Ark_LinearGradientBlurOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V4(CommonMethod_linearGradientBlur, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V4(CommonMethod_linearGradientBlur0, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) +void impl_CommonMethod_linearGradientBlur1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto blurRadius_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number blurRadius_value_buf = {}; + blurRadius_value_buf.tag = blurRadius_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (blurRadius_value_buf_runtimeType)) + { + blurRadius_value_buf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number blurRadius_value = blurRadius_value_buf;; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_LinearGradientBlurOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readLinearGradientBlurOptions(); + } + Opt_LinearGradientBlurOptions options_value = options_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setLinearGradientBlur1(self, (const Opt_Number*)&blurRadius_value, (const Opt_LinearGradientBlurOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_linearGradientBlur1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_systemBarEffect(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); GetNodeModifiers()->getCommonMethodModifier()->setSystemBarEffect(self); } KOALA_INTEROP_DIRECT_V1(CommonMethod_systemBarEffect, Ark_NativePointer) -void impl_CommonMethod_backdropBlur(Ark_NativePointer thisPtr, KInteropNumber value, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_backdropBlur0(Ark_NativePointer thisPtr, KInteropNumber value, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readBlurOptions(); + } + Opt_BlurOptions options_value = options_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackdropBlur0(self, (const Ark_Number*) (&value), (const Opt_BlurOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V4(CommonMethod_backdropBlur0, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) +void impl_CommonMethod_backdropBlur1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); + const auto radius_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number radius_value_buf = {}; + radius_value_buf.tag = radius_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (radius_value_buf_runtimeType)) + { + radius_value_buf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number radius_value = radius_value_buf;; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_BlurOptions options_value_buf = {}; options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -5081,9 +4883,17 @@ void impl_CommonMethod_backdropBlur(Ark_NativePointer thisPtr, KInteropNumber va options_value_buf.value = thisDeserializer.readBlurOptions(); } Opt_BlurOptions options_value = options_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setBackdropBlur(self, (const Ark_Number*) (&value), (const Opt_BlurOptions*)&options_value); + const auto sysOptions_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SystemAdaptiveOptions sysOptions_value_buf = {}; + sysOptions_value_buf.tag = sysOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sysOptions_value_buf_runtimeType)) + { + sysOptions_value_buf.value = thisDeserializer.readSystemAdaptiveOptions(); + } + Opt_SystemAdaptiveOptions sysOptions_value = sysOptions_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setBackdropBlur1(self, (const Opt_Number*)&radius_value, (const Opt_BlurOptions*)&options_value, (const Opt_SystemAdaptiveOptions*)&sysOptions_value); } -KOALA_INTEROP_DIRECT_V4(CommonMethod_backdropBlur, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_backdropBlur1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_sharedTransition(Ark_NativePointer thisPtr, const KStringPtr& id, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -5151,9 +4961,31 @@ void impl_CommonMethod_overlay(Ark_NativePointer thisPtr, KSerializerBuffer this GetNodeModifiers()->getCommonMethodModifier()->setOverlay(self, (const Ark_Union_String_CustomBuilder_ComponentContent*)&value_value, (const Opt_OverlayOptions*)&options_value); } KOALA_INTEROP_DIRECT_V3(CommonMethod_overlay, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_blendMode(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_blendMode0(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto type_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlendApplyType type_value_buf = {}; + type_value_buf.tag = type_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType)) + { + type_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlendApplyType type_value = type_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setBlendMode0(self, static_cast(value), (const Opt_BlendApplyType*)&type_value); +} +KOALA_INTEROP_DIRECT_V4(CommonMethod_blendMode0, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) +void impl_CommonMethod_blendMode1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); + const auto mode_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlendMode mode_value_buf = {}; + mode_value_buf.tag = mode_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mode_value_buf_runtimeType)) + { + mode_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlendMode mode_value = mode_value_buf;; const auto type_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_BlendApplyType type_value_buf = {}; type_value_buf.tag = type_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; @@ -5162,9 +4994,9 @@ void impl_CommonMethod_blendMode(Ark_NativePointer thisPtr, Ark_Int32 value, KSe type_value_buf.value = static_cast(thisDeserializer.readInt32()); } Opt_BlendApplyType type_value = type_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setBlendMode(self, static_cast(value), (const Opt_BlendApplyType*)&type_value); + GetNodeModifiers()->getCommonMethodModifier()->setBlendMode1(self, (const Opt_BlendMode*)&mode_value, (const Opt_BlendApplyType*)&type_value); } -KOALA_INTEROP_DIRECT_V4(CommonMethod_blendMode, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V3(CommonMethod_blendMode1, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_advancedBlendMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -5194,6 +5026,49 @@ void impl_CommonMethod_advancedBlendMode(Ark_NativePointer thisPtr, KSerializerB GetNodeModifiers()->getCommonMethodModifier()->setAdvancedBlendMode(self, (const Ark_Union_BlendMode_Blender*)&effect_value, (const Opt_BlendApplyType*)&type_value); } KOALA_INTEROP_DIRECT_V3(CommonMethod_advancedBlendMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_bindTips(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 message_value_buf_selector = thisDeserializer.readInt8(); + Ark_TipsMessageType message_value_buf = {}; + message_value_buf.selector = message_value_buf_selector; + if (message_value_buf_selector == 0) { + message_value_buf.selector = 0; + const Ark_Int8 message_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceStr message_value_buf_u = {}; + message_value_buf_u.selector = message_value_buf_u_selector; + if (message_value_buf_u_selector == 0) { + message_value_buf_u.selector = 0; + message_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (message_value_buf_u_selector == 1) { + message_value_buf_u.selector = 1; + message_value_buf_u.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for message_value_buf_u has to be chosen through deserialisation."); + } + message_value_buf.value0 = static_cast(message_value_buf_u); + } + else if (message_value_buf_selector == 1) { + message_value_buf.selector = 1; + message_value_buf.value1 = static_cast(thisDeserializer.readStyledString()); + } + else { + INTEROP_FATAL("One of the branches for message_value_buf has to be chosen through deserialisation."); + } + Ark_TipsMessageType message_value = static_cast(message_value_buf);; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TipsOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readTipsOptions(); + } + Opt_TipsOptions options_value = options_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setBindTips(self, (const Ark_TipsMessageType*)&message_value, (const Opt_TipsOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_bindTips, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_bindPopup(Ark_NativePointer thisPtr, Ark_Boolean show, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -5317,17 +5192,9 @@ void impl_CommonMethod_bindContextMenu1(Ark_NativePointer thisPtr, Ark_Boolean i GetNodeModifiers()->getCommonMethodModifier()->setBindContextMenu1(self, isShown, (const CustomNodeBuilder*)&content_value, (const Opt_ContextMenuOptions*)&options_value); } KOALA_INTEROP_DIRECT_V4(CommonMethod_bindContextMenu1, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) -void impl_CommonMethod_bindContentCover0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_CommonMethod_bindContentCover0(Ark_NativePointer thisPtr, Ark_Boolean isShow, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto isShow_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isShow_value_buf = {}; - isShow_value_buf.tag = isShow_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isShow_value_buf_runtimeType)) - { - isShow_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isShow_value = isShow_value_buf;; CustomNodeBuilder builder_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; const auto type_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_ModalTransition type_value_buf = {}; @@ -5337,20 +5204,12 @@ void impl_CommonMethod_bindContentCover0(Ark_NativePointer thisPtr, KSerializerB type_value_buf.value = static_cast(thisDeserializer.readInt32()); } Opt_ModalTransition type_value = type_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setBindContentCover0(self, (const Opt_Boolean*)&isShow_value, (const CustomNodeBuilder*)&builder_value, (const Opt_ModalTransition*)&type_value); + GetNodeModifiers()->getCommonMethodModifier()->setBindContentCover0(self, isShow, (const CustomNodeBuilder*)&builder_value, (const Opt_ModalTransition*)&type_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_bindContentCover0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_bindContentCover1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V4(CommonMethod_bindContentCover0, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) +void impl_CommonMethod_bindContentCover1(Ark_NativePointer thisPtr, Ark_Boolean isShow, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto isShow_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isShow_value_buf = {}; - isShow_value_buf.tag = isShow_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isShow_value_buf_runtimeType)) - { - isShow_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isShow_value = isShow_value_buf;; CustomNodeBuilder builder_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_ContentCoverOptions options_value_buf = {}; @@ -5360,20 +5219,12 @@ void impl_CommonMethod_bindContentCover1(Ark_NativePointer thisPtr, KSerializerB options_value_buf.value = thisDeserializer.readContentCoverOptions(); } Opt_ContentCoverOptions options_value = options_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setBindContentCover1(self, (const Opt_Boolean*)&isShow_value, (const CustomNodeBuilder*)&builder_value, (const Opt_ContentCoverOptions*)&options_value); + GetNodeModifiers()->getCommonMethodModifier()->setBindContentCover1(self, isShow, (const CustomNodeBuilder*)&builder_value, (const Opt_ContentCoverOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_bindContentCover1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CommonMethod_bindSheet(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V4(CommonMethod_bindContentCover1, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) +void impl_CommonMethod_bindSheet(Ark_NativePointer thisPtr, Ark_Boolean isShow, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto isShow_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isShow_value_buf = {}; - isShow_value_buf.tag = isShow_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isShow_value_buf_runtimeType)) - { - isShow_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isShow_value = isShow_value_buf;; CustomNodeBuilder builder_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_SheetOptions options_value_buf = {}; @@ -5383,9 +5234,9 @@ void impl_CommonMethod_bindSheet(Ark_NativePointer thisPtr, KSerializerBuffer th options_value_buf.value = thisDeserializer.readSheetOptions(); } Opt_SheetOptions options_value = options_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setBindSheet(self, (const Opt_Boolean*)&isShow_value, (const CustomNodeBuilder*)&builder_value, (const Opt_SheetOptions*)&options_value); + GetNodeModifiers()->getCommonMethodModifier()->setBindSheet(self, isShow, (const CustomNodeBuilder*)&builder_value, (const Opt_SheetOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(CommonMethod_bindSheet, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V4(CommonMethod_bindSheet, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) void impl_CommonMethod_onVisibleAreaChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -5401,6 +5252,21 @@ void impl_CommonMethod_onVisibleAreaChange(Ark_NativePointer thisPtr, KSerialize GetNodeModifiers()->getCommonMethodModifier()->setOnVisibleAreaChange(self, (const Array_Number*)&ratios_value, (const VisibleAreaChangeCallback*)&event_value); } KOALA_INTEROP_DIRECT_V3(CommonMethod_onVisibleAreaChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CommonMethod_onVisibleAreaApproximateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_VisibleAreaEventOptions options_value = thisDeserializer.readVisibleAreaEventOptions();; + const auto event_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_VisibleAreaChangeCallback event_value_buf = {}; + event_value_buf.tag = event_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_value_buf_runtimeType)) + { + event_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VisibleAreaChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VisibleAreaChangeCallback))))}; + } + Opt_VisibleAreaChangeCallback event_value = event_value_buf;; + GetNodeModifiers()->getCommonMethodModifier()->setOnVisibleAreaApproximateChange(self, (const Ark_VisibleAreaEventOptions*)&options_value, (const Opt_VisibleAreaChangeCallback*)&event_value); +} +KOALA_INTEROP_DIRECT_V3(CommonMethod_onVisibleAreaApproximateChange, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonMethod_keyboardShortcut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -5606,7 +5472,7 @@ void impl_CommonShapeMethod_strokeWidth(Ark_NativePointer thisPtr, KSerializerBu Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -5623,8 +5489,8 @@ void impl_CommonShapeMethod_strokeWidth(Ark_NativePointer thisPtr, KSerializerBu else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeWidth(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeWidth(self, (const Ark_Length*)&value_value); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t) void impl_CommonShapeMethod_antiAlias(Ark_NativePointer thisPtr, Ark_Boolean value) { @@ -5636,12 +5502,12 @@ void impl_CommonShapeMethod_strokeDashArray(Ark_NativePointer thisPtr, KSerializ Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_Union_String_Number_Resource value_value_buf = {}; + Array_Length value_value_buf = {}; thisDeserializer.resizeArray::type, std::decay::type>(&value_value_buf, value_value_buf_length); for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_buf = {}; + Ark_Length value_value_buf_buf = {}; value_value_buf_buf.selector = value_value_buf_buf_selector; if (value_value_buf_buf_selector == 0) { value_value_buf_buf.selector = 0; @@ -5658,10 +5524,10 @@ void impl_CommonShapeMethod_strokeDashArray(Ark_NativePointer thisPtr, KSerializ else { INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); } - value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); + value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); } - Array_Union_String_Number_Resource value_value = value_value_buf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeDashArray(self, (const Array_Union_String_Number_Resource*)&value_value); + Array_Length value_value = value_value_buf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeDashArray(self, (const Array_Length*)&value_value); } KOALA_INTEROP_DIRECT_V3(CommonShapeMethod_strokeDashArray, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_ScrollableCommonMethod_construct(Ark_Int32 id, Ark_Int32 flags) { @@ -5813,6 +5679,25 @@ void impl_ScrollableCommonMethod_clipContent(Ark_NativePointer thisPtr, KSeriali GetNodeModifiers()->getScrollableCommonMethodModifier()->setClipContent(self, (const Ark_Union_ContentClipMode_RectShape*)&value_value); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_clipContent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollableCommonMethod_digitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CrownSensitivity value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CrownSensitivity value_value = value_value_buf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setDigitalCrownSensitivity(self, (const Opt_CrownSensitivity*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_digitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollableCommonMethod_backToTop(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getScrollableCommonMethodModifier()->setBackToTop(self, value); +} +KOALA_INTEROP_DIRECT_V2(ScrollableCommonMethod_backToTop, Ark_NativePointer, Ark_Boolean) void impl_ScrollableCommonMethod_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 edgeEffect, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -5849,104 +5734,29 @@ void impl_ScrollableCommonMethod_fadingEdge(Ark_NativePointer thisPtr, KSerializ GetNodeModifiers()->getScrollableCommonMethodModifier()->setFadingEdge(self, (const Opt_Boolean*)&enabled_value, (const Opt_FadingEdgeOptions*)&options_value); } KOALA_INTEROP_DIRECT_V3(ScrollableCommonMethod_fadingEdge, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Canvas_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCanvasModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Canvas_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_CanvasInterface_setCanvasOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto context_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value_buf = {}; - context_value_buf.tag = context_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (context_value_buf_runtimeType)) - { - const Ark_Int8 context_value_buf__selector = thisDeserializer.readInt8(); - Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value_buf_ = {}; - context_value_buf_.selector = context_value_buf__selector; - if (context_value_buf__selector == 0) { - context_value_buf_.selector = 0; - context_value_buf_.value0 = static_cast(thisDeserializer.readCanvasRenderingContext2D()); - } - else if (context_value_buf__selector == 1) { - context_value_buf_.selector = 1; - context_value_buf_.value1 = static_cast(thisDeserializer.readDrawingRenderingContext()); - } - else { - INTEROP_FATAL("One of the branches for context_value_buf_ has to be chosen through deserialisation."); - } - context_value_buf.value = static_cast(context_value_buf_); - } - Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value = context_value_buf;; - GetNodeModifiers()->getCanvasModifier()->setCanvasOptions0(self, (const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext*)&context_value); -} -KOALA_INTEROP_DIRECT_V3(CanvasInterface_setCanvasOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CanvasInterface_setCanvasOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 context_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value_buf = {}; - context_value_buf.selector = context_value_buf_selector; - if (context_value_buf_selector == 0) { - context_value_buf.selector = 0; - context_value_buf.value0 = static_cast(thisDeserializer.readCanvasRenderingContext2D()); - } - else if (context_value_buf_selector == 1) { - context_value_buf.selector = 1; - context_value_buf.value1 = static_cast(thisDeserializer.readDrawingRenderingContext()); - } - else { - INTEROP_FATAL("One of the branches for context_value_buf has to be chosen through deserialisation."); - } - Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value = static_cast(context_value_buf);; - Ark_ImageAIOptions imageAIOptions_value = thisDeserializer.readImageAIOptions();; - GetNodeModifiers()->getCanvasModifier()->setCanvasOptions1(self, (const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext*)&context_value, (const Ark_ImageAIOptions*)&imageAIOptions_value); -} -KOALA_INTEROP_DIRECT_V3(CanvasInterface_setCanvasOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CanvasAttribute_onReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; - GetNodeModifiers()->getCanvasModifier()->setOnReady(self, (const VoidCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CanvasAttribute_onReady, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CanvasAttribute_enableAnalyzer(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCanvasModifier()->setEnableAnalyzer(self, value); -} -KOALA_INTEROP_DIRECT_V2(CanvasAttribute_enableAnalyzer, Ark_NativePointer, Ark_Boolean) -Ark_NativePointer impl_Checkbox_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCheckboxModifier()->construct(id, flags); +Ark_NativePointer impl_Navigation_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getNavigationModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(Checkbox_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_CheckboxInterface_setCheckboxOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Navigation_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_NavigationInterface_setNavigationOptions0(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_CheckboxOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readCheckboxOptions(); - } - Opt_CheckboxOptions options_value = options_value_buf;; - GetNodeModifiers()->getCheckboxModifier()->setCheckboxOptions(self, (const Opt_CheckboxOptions*)&options_value); + GetNodeModifiers()->getNavigationModifier()->setNavigationOptions0(self); } -KOALA_INTEROP_DIRECT_V3(CheckboxInterface_setCheckboxOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CheckboxAttribute_select(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V1(NavigationInterface_setNavigationOptions0, Ark_NativePointer) +void impl_NavigationInterface_setNavigationOptions1(Ark_NativePointer thisPtr, Ark_NativePointer pathInfos) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCheckboxModifier()->setSelect(self, value); + GetNodeModifiers()->getNavigationModifier()->setNavigationOptions1(self, static_cast(pathInfos)); } -KOALA_INTEROP_DIRECT_V2(CheckboxAttribute_select, Ark_NativePointer, Ark_Boolean) -void impl_CheckboxAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(NavigationInterface_setNavigationOptions1, Ark_NativePointer, Ark_NativePointer) +void impl_NavigationAttribute_navBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -5954,113 +5764,75 @@ void impl_CheckboxAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializer } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCheckboxModifier()->setSelectedColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getNavigationModifier()->setNavBarWidth(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_selectedColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CheckboxAttribute_shape(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navBarWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_navBarPosition(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCheckboxModifier()->setShape(self, static_cast(value)); + GetNodeModifiers()->getNavigationModifier()->setNavBarPosition(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(CheckboxAttribute_shape, Ark_NativePointer, Ark_Int32) -void impl_CheckboxAttribute_unselectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(NavigationAttribute_navBarPosition, Ark_NativePointer, Ark_Int32) +void impl_NavigationAttribute_navBarWidthRange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + Ark_Tuple_Dimension_Dimension value_value_buf = {}; + const Ark_Int8 value_value_buf_value0_buf_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf_value0_buf = {}; + value_value_buf_value0_buf.selector = value_value_buf_value0_buf_selector; + if (value_value_buf_value0_buf_selector == 0) { + value_value_buf_value0_buf.selector = 0; + value_value_buf_value0_buf.value0 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + else if (value_value_buf_value0_buf_selector == 1) { + value_value_buf_value0_buf.selector = 1; + value_value_buf_value0_buf.value1 = static_cast(thisDeserializer.readNumber()); } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + else if (value_value_buf_value0_buf_selector == 2) { + value_value_buf_value0_buf.selector = 2; + value_value_buf_value0_buf.value2 = thisDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_value_buf_value0_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCheckboxModifier()->setUnselectedColor(self, (const Ark_ResourceColor*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_unselectedColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CheckboxAttribute_mark(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_MarkStyle value_value = thisDeserializer.readMarkStyle();; - GetNodeModifiers()->getCheckboxModifier()->setMark(self, (const Ark_MarkStyle*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_mark, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CheckboxAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnCheckboxChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnCheckboxChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnCheckboxChangeCallback))))};; - GetNodeModifiers()->getCheckboxModifier()->setOnChange(self, (const OnCheckboxChangeCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CheckboxAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getCheckboxModifier()->setContentModifier(self, (const Ark_Object*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CheckboxAttribute__onChangeEvent_select(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getCheckboxModifier()->set_onChangeEvent_select(self, (const Callback_Boolean_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(CheckboxAttribute__onChangeEvent_select, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_CheckboxGroup_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCheckboxGroupModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(CheckboxGroup_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_CheckboxGroupInterface_setCheckboxGroupOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_CheckboxGroupOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readCheckboxGroupOptions(); + value_value_buf.value0 = static_cast(value_value_buf_value0_buf); + const Ark_Int8 value_value_buf_value1_buf_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf_value1_buf = {}; + value_value_buf_value1_buf.selector = value_value_buf_value1_buf_selector; + if (value_value_buf_value1_buf_selector == 0) { + value_value_buf_value1_buf.selector = 0; + value_value_buf_value1_buf.value0 = static_cast(thisDeserializer.readString()); } - Opt_CheckboxGroupOptions options_value = options_value_buf;; - GetNodeModifiers()->getCheckboxGroupModifier()->setCheckboxGroupOptions(self, (const Opt_CheckboxGroupOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(CheckboxGroupInterface_setCheckboxGroupOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CheckboxGroupAttribute_selectAll(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCheckboxGroupModifier()->setSelectAll(self, value); + else if (value_value_buf_value1_buf_selector == 1) { + value_value_buf_value1_buf.selector = 1; + value_value_buf_value1_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_value1_buf_selector == 2) { + value_value_buf_value1_buf.selector = 2; + value_value_buf_value1_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_value1_buf has to be chosen through deserialisation."); + } + value_value_buf.value1 = static_cast(value_value_buf_value1_buf); + Ark_Tuple_Dimension_Dimension value_value = value_value_buf;; + GetNodeModifiers()->getNavigationModifier()->setNavBarWidthRange(self, (const Ark_Tuple_Dimension_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V2(CheckboxGroupAttribute_selectAll, Ark_NativePointer, Ark_Boolean) -void impl_CheckboxGroupAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navBarWidthRange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_minContentWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Dimension value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -6068,128 +5840,212 @@ void impl_CheckboxGroupAttribute_selectedColor(Ark_NativePointer thisPtr, KSeria } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCheckboxGroupModifier()->setSelectedColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getNavigationModifier()->setMinContentWidth(self, (const Ark_Dimension*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_minContentWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_mode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getNavigationModifier()->setMode(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_selectedColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CheckboxGroupAttribute_unselectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(NavigationAttribute_mode, Ark_NativePointer, Ark_Int32) +void impl_NavigationAttribute_backButtonIcon0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readPixelMap()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); + value_value_buf.value2 = thisDeserializer.readResource(); } else if (value_value_buf_selector == 3) { value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value3 = thisDeserializer.readSymbolGlyphModifier(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getCheckboxGroupModifier()->setUnselectedColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getNavigationModifier()->setBackButtonIcon0(self, (const Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier*)&value_value); } -KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_unselectedColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CheckboxGroupAttribute_mark(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_backButtonIcon0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_backButtonIcon1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_MarkStyle value_value = thisDeserializer.readMarkStyle();; - GetNodeModifiers()->getCheckboxGroupModifier()->setMark(self, (const Ark_MarkStyle*)&value_value); + const Ark_Int8 icon_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier icon_value_buf = {}; + icon_value_buf.selector = icon_value_buf_selector; + if (icon_value_buf_selector == 0) { + icon_value_buf.selector = 0; + icon_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (icon_value_buf_selector == 1) { + icon_value_buf.selector = 1; + icon_value_buf.value1 = static_cast(thisDeserializer.readPixelMap()); + } + else if (icon_value_buf_selector == 2) { + icon_value_buf.selector = 2; + icon_value_buf.value2 = thisDeserializer.readResource(); + } + else if (icon_value_buf_selector == 3) { + icon_value_buf.selector = 3; + icon_value_buf.value3 = thisDeserializer.readSymbolGlyphModifier(); + } + else { + INTEROP_FATAL("One of the branches for icon_value_buf has to be chosen through deserialisation."); + } + Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier icon_value = static_cast(icon_value_buf);; + const auto accessibilityText_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr accessibilityText_value_buf = {}; + accessibilityText_value_buf.tag = accessibilityText_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (accessibilityText_value_buf_runtimeType)) + { + const Ark_Int8 accessibilityText_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceStr accessibilityText_value_buf_ = {}; + accessibilityText_value_buf_.selector = accessibilityText_value_buf__selector; + if (accessibilityText_value_buf__selector == 0) { + accessibilityText_value_buf_.selector = 0; + accessibilityText_value_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (accessibilityText_value_buf__selector == 1) { + accessibilityText_value_buf_.selector = 1; + accessibilityText_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for accessibilityText_value_buf_ has to be chosen through deserialisation."); + } + accessibilityText_value_buf.value = static_cast(accessibilityText_value_buf_); + } + Opt_ResourceStr accessibilityText_value = accessibilityText_value_buf;; + GetNodeModifiers()->getNavigationModifier()->setBackButtonIcon1(self, (const Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier*)&icon_value, (const Opt_ResourceStr*)&accessibilityText_value); } -KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_mark, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CheckboxGroupAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_backButtonIcon1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_hideNavBar(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnCheckboxGroupChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnCheckboxGroupChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnCheckboxGroupChangeCallback))))};; - GetNodeModifiers()->getCheckboxGroupModifier()->setOnChange(self, (const OnCheckboxGroupChangeCallback*)&value_value); + GetNodeModifiers()->getNavigationModifier()->setHideNavBar(self, value); } -KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CheckboxGroupAttribute_checkboxShape(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(NavigationAttribute_hideNavBar, Ark_NativePointer, Ark_Boolean) +void impl_NavigationAttribute_subTitle(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCheckboxGroupModifier()->setCheckboxShape(self, static_cast(value)); + GetNodeModifiers()->getNavigationModifier()->setSubTitle(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V2(CheckboxGroupAttribute_checkboxShape, Ark_NativePointer, Ark_Int32) -void impl_CheckboxGroupAttribute__onChangeEvent_selectAll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(NavigationAttribute_subTitle, Ark_NativePointer, KStringPtr) +void impl_NavigationAttribute_hideTitleBar0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getCheckboxGroupModifier()->set_onChangeEvent_selectAll(self, (const Callback_Boolean_Void*)&callback_value); + GetNodeModifiers()->getNavigationModifier()->setHideTitleBar0(self, value); } -KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute__onChangeEvent_selectAll, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Circle_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCircleModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V2(NavigationAttribute_hideTitleBar0, Ark_NativePointer, Ark_Boolean) +void impl_NavigationAttribute_hideTitleBar1(Ark_NativePointer thisPtr, Ark_Boolean hide, Ark_Boolean animated) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getNavigationModifier()->setHideTitleBar1(self, hide, animated); } -KOALA_INTEROP_DIRECT_2(Circle_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_CircleInterface_setCircleOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideTitleBar1, Ark_NativePointer, Ark_Boolean, Ark_Boolean) +void impl_NavigationAttribute_hideBackButton(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getNavigationModifier()->setHideBackButton(self, value); +} +KOALA_INTEROP_DIRECT_V2(NavigationAttribute_hideBackButton, Ark_NativePointer, Ark_Boolean) +void impl_NavigationAttribute_titleMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getNavigationModifier()->setTitleMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(NavigationAttribute_titleMode, Ark_NativePointer, Ark_Int32) +void impl_NavigationAttribute_menus0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_CircleOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readCircleOptions(); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Array_NavigationMenuItem_CustomBuilder value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); + Array_NavigationMenuItem value_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf_u, value_value_buf_u_length); + for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { + value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readNavigationMenuItem(); + } + value_value_buf.value0 = value_value_buf_u; } - Opt_CircleOptions value_value = value_value_buf;; - GetNodeModifiers()->getCircleModifier()->setCircleOptions(self, (const Opt_CircleOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CircleInterface_setCircleOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Column_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getColumnModifier()->construct(id, flags); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Array_NavigationMenuItem_CustomBuilder value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getNavigationModifier()->setMenus0(self, (const Ark_Union_Array_NavigationMenuItem_CustomBuilder*)&value_value); } -KOALA_INTEROP_DIRECT_2(Column_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ColumnInterface_setColumnOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_menus0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_menus1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 items_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Array_NavigationMenuItem_CustomBuilder items_value_buf = {}; + items_value_buf.selector = items_value_buf_selector; + if (items_value_buf_selector == 0) { + items_value_buf.selector = 0; + const Ark_Int32 items_value_buf_u_length = thisDeserializer.readInt32(); + Array_NavigationMenuItem items_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&items_value_buf_u, items_value_buf_u_length); + for (int items_value_buf_u_i = 0; items_value_buf_u_i < items_value_buf_u_length; items_value_buf_u_i++) { + items_value_buf_u.array[items_value_buf_u_i] = thisDeserializer.readNavigationMenuItem(); + } + items_value_buf.value0 = items_value_buf_u; + } + else if (items_value_buf_selector == 1) { + items_value_buf.selector = 1; + items_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + else { + INTEROP_FATAL("One of the branches for items_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Array_NavigationMenuItem_CustomBuilder items_value = static_cast(items_value_buf);; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ColumnOptions options_value_buf = {}; + Opt_NavigationMenuOptions options_value_buf = {}; options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readColumnOptions(); + options_value_buf.value = thisDeserializer.readNavigationMenuOptions(); } - Opt_ColumnOptions options_value = options_value_buf;; - GetNodeModifiers()->getColumnModifier()->setColumnOptions(self, (const Opt_ColumnOptions*)&options_value); + Opt_NavigationMenuOptions options_value = options_value_buf;; + GetNodeModifiers()->getNavigationModifier()->setMenus1(self, (const Ark_Union_Array_NavigationMenuItem_CustomBuilder*)&items_value, (const Opt_NavigationMenuOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(ColumnInterface_setColumnOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ColumnAttribute_alignItems(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_menus1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_toolBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getColumnModifier()->setAlignItems(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; + GetNodeModifiers()->getNavigationModifier()->setToolBar(self, (const CustomNodeBuilder*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ColumnAttribute_alignItems, Ark_NativePointer, Ark_Int32) -void impl_ColumnAttribute_justifyContent(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_toolBar, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_hideToolBar0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getColumnModifier()->setJustifyContent(self, static_cast(value)); + GetNodeModifiers()->getNavigationModifier()->setHideToolBar0(self, value); } -KOALA_INTEROP_DIRECT_V2(ColumnAttribute_justifyContent, Ark_NativePointer, Ark_Int32) -void impl_ColumnAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(NavigationAttribute_hideToolBar0, Ark_NativePointer, Ark_Boolean) +void impl_NavigationAttribute_hideToolBar1(Ark_NativePointer thisPtr, Ark_Boolean hide, Ark_Boolean animated) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_PointLightStyle value_value = thisDeserializer.readPointLightStyle();; - GetNodeModifiers()->getColumnModifier()->setPointLight(self, (const Ark_PointLightStyle*)&value_value); + GetNodeModifiers()->getNavigationModifier()->setHideToolBar1(self, hide, animated); } -KOALA_INTEROP_DIRECT_V3(ColumnAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ColumnAttribute_reverse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_hideToolBar1, Ark_NativePointer, Ark_Boolean, Ark_Boolean) +void impl_NavigationAttribute_enableToolBarAdaptation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -6200,319 +6056,327 @@ void impl_ColumnAttribute_reverse(Ark_NativePointer thisPtr, KSerializerBuffer t value_value_buf.value = thisDeserializer.readBoolean(); } Opt_Boolean value_value = value_value_buf;; - GetNodeModifiers()->getColumnModifier()->setReverse(self, (const Opt_Boolean*)&value_value); + GetNodeModifiers()->getNavigationModifier()->setEnableToolBarAdaptation(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ColumnAttribute_reverse, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_ColumnSplit_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getColumnSplitModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_enableToolBarAdaptation, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_onTitleModeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_NavigationTitleMode_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavigationTitleMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavigationTitleMode_Void))))};; + GetNodeModifiers()->getNavigationModifier()->setOnTitleModeChange(self, (const Callback_NavigationTitleMode_Void*)&value_value); } -KOALA_INTEROP_DIRECT_2(ColumnSplit_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ColumnSplitInterface_setColumnSplitOptions(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_onTitleModeChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_onNavBarStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getColumnSplitModifier()->setColumnSplitOptions(self); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getNavigationModifier()->setOnNavBarStateChange(self, (const Callback_Boolean_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V1(ColumnSplitInterface_setColumnSplitOptions, Ark_NativePointer) -void impl_ColumnSplitAttribute_resizeable(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_onNavBarStateChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_onNavigationModeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getColumnSplitModifier()->setResizeable(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_NavigationMode_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavigationMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavigationMode_Void))))};; + GetNodeModifiers()->getNavigationModifier()->setOnNavigationModeChange(self, (const Callback_NavigationMode_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ColumnSplitAttribute_resizeable, Ark_NativePointer, Ark_Boolean) -void impl_ColumnSplitAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_onNavigationModeChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_navDestination(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ColumnSplitDividerStyle value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readColumnSplitDividerStyle(); - } - Opt_ColumnSplitDividerStyle value_value = value_value_buf;; - GetNodeModifiers()->getColumnSplitModifier()->setDivider(self, (const Opt_ColumnSplitDividerStyle*)&value_value); + Callback_String_Opt_Object_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Opt_Object_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Opt_Object_Void))))};; + GetNodeModifiers()->getNavigationModifier()->setNavDestination(self, (const Callback_String_Opt_Object_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ColumnSplitAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Component3D_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getComponent3DModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Component3D_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_Component3DInterface_setComponent3DOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_navDestination, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_customNavContentTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto sceneOptions_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SceneOptions sceneOptions_value_buf = {}; - sceneOptions_value_buf.tag = sceneOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (sceneOptions_value_buf_runtimeType)) - { - sceneOptions_value_buf.value = thisDeserializer.readSceneOptions(); - } - Opt_SceneOptions sceneOptions_value = sceneOptions_value_buf;; - GetNodeModifiers()->getComponent3DModifier()->setComponent3DOptions(self, (const Opt_SceneOptions*)&sceneOptions_value); + Type_NavigationAttribute_customNavContentTransition_delegate value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Type_NavigationAttribute_customNavContentTransition_delegate)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Type_NavigationAttribute_customNavContentTransition_delegate))))};; + GetNodeModifiers()->getNavigationModifier()->setCustomNavContentTransition(self, (const Type_NavigationAttribute_customNavContentTransition_delegate*)&value_value); } -KOALA_INTEROP_DIRECT_V3(Component3DInterface_setComponent3DOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_Component3DAttribute_environment(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_customNavContentTransition, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_systemBarStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SystemBarStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readSystemBarStyle(); } - Ark_ResourceStr value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getComponent3DModifier()->setEnvironment(self, (const Ark_ResourceStr*)&value_value); + Opt_SystemBarStyle value_value = value_value_buf;; + GetNodeModifiers()->getNavigationModifier()->setSystemBarStyle(self, (const Opt_SystemBarStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(Component3DAttribute_environment, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_Component3DAttribute_shader(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_systemBarStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_recoverable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); } - Ark_ResourceStr value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getComponent3DModifier()->setShader(self, (const Ark_ResourceStr*)&value_value); + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getNavigationModifier()->setRecoverable(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(Component3DAttribute_shader, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_Component3DAttribute_shaderImageTexture(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_recoverable, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_enableDragBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); } - Ark_ResourceStr value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getComponent3DModifier()->setShaderImageTexture(self, (const Ark_ResourceStr*)&value_value); + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getNavigationModifier()->setEnableDragBar(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(Component3DAttribute_shaderImageTexture, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_Component3DAttribute_shaderInputBuffer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_enableDragBar, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_enableModeChangeAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_Number value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - value_value_buf.array[value_value_buf_i] = static_cast(thisDeserializer.readNumber()); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); } - Array_Number value_value = value_value_buf;; - GetNodeModifiers()->getComponent3DModifier()->setShaderInputBuffer(self, (const Array_Number*)&value_value); + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getNavigationModifier()->setEnableModeChangeAnimation(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(Component3DAttribute_shaderInputBuffer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_Component3DAttribute_renderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_enableModeChangeAnimation, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_title(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Type_NavigationAttribute_title_value value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceStr value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readNavigationCommonTitle(); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readNavigationCustomTitle(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getComponent3DModifier()->setRenderWidth(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Type_NavigationAttribute_title_value value_value = static_cast(value_value_buf);; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationTitleOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readNavigationTitleOptions(); + } + Opt_NavigationTitleOptions options_value = options_value_buf;; + GetNodeModifiers()->getNavigationModifier()->setTitle(self, (const Ark_Type_NavigationAttribute_title_value*)&value_value, (const Opt_NavigationTitleOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(Component3DAttribute_renderWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_Component3DAttribute_renderHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_title, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_toolbarConfiguration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Array_ToolbarItem_CustomBuilder value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); + Array_ToolbarItem value_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf_u, value_value_buf_u_length); + for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { + value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readToolbarItem(); + } + value_value_buf.value0 = value_value_buf_u; } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getComponent3DModifier()->setRenderHeight(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Union_Array_ToolbarItem_CustomBuilder value_value = static_cast(value_value_buf);; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationToolbarOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readNavigationToolbarOptions(); + } + Opt_NavigationToolbarOptions options_value = options_value_buf;; + GetNodeModifiers()->getNavigationModifier()->setToolbarConfiguration(self, (const Ark_Union_Array_ToolbarItem_CustomBuilder*)&value_value, (const Opt_NavigationToolbarOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(Component3DAttribute_renderHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_Component3DAttribute_customRender(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, Ark_Boolean selfRenderUpdate) { +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_toolbarConfiguration, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigationAttribute_ignoreLayoutSafeArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 uri_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr uri_value_buf = {}; - uri_value_buf.selector = uri_value_buf_selector; - if (uri_value_buf_selector == 0) { - uri_value_buf.selector = 0; - uri_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (uri_value_buf_selector == 1) { - uri_value_buf.selector = 1; - uri_value_buf.value1 = thisDeserializer.readResource(); + const auto types_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_LayoutSafeAreaType types_value_buf = {}; + types_value_buf.tag = types_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (types_value_buf_runtimeType)) + { + const Ark_Int32 types_value_buf__length = thisDeserializer.readInt32(); + Array_LayoutSafeAreaType types_value_buf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&types_value_buf_, types_value_buf__length); + for (int types_value_buf__i = 0; types_value_buf__i < types_value_buf__length; types_value_buf__i++) { + types_value_buf_.array[types_value_buf__i] = static_cast(thisDeserializer.readInt32()); + } + types_value_buf.value = types_value_buf_; } - else { - INTEROP_FATAL("One of the branches for uri_value_buf has to be chosen through deserialisation."); + Opt_Array_LayoutSafeAreaType types_value = types_value_buf;; + const auto edges_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_LayoutSafeAreaEdge edges_value_buf = {}; + edges_value_buf.tag = edges_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (edges_value_buf_runtimeType)) + { + const Ark_Int32 edges_value_buf__length = thisDeserializer.readInt32(); + Array_LayoutSafeAreaEdge edges_value_buf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&edges_value_buf_, edges_value_buf__length); + for (int edges_value_buf__i = 0; edges_value_buf__i < edges_value_buf__length; edges_value_buf__i++) { + edges_value_buf_.array[edges_value_buf__i] = static_cast(thisDeserializer.readInt32()); + } + edges_value_buf.value = edges_value_buf_; } - Ark_ResourceStr uri_value = static_cast(uri_value_buf);; - GetNodeModifiers()->getComponent3DModifier()->setCustomRender(self, (const Ark_ResourceStr*)&uri_value, selfRenderUpdate); -} -KOALA_INTEROP_DIRECT_V4(Component3DAttribute_customRender, Ark_NativePointer, KSerializerBuffer, int32_t, Ark_Boolean) -Ark_NativePointer impl_ContainerSpan_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getContainerSpanModifier()->construct(id, flags); + Opt_Array_LayoutSafeAreaEdge edges_value = edges_value_buf;; + GetNodeModifiers()->getNavigationModifier()->setIgnoreLayoutSafeArea(self, (const Opt_Array_LayoutSafeAreaType*)&types_value, (const Opt_Array_LayoutSafeAreaEdge*)&edges_value); } -KOALA_INTEROP_DIRECT_2(ContainerSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ContainerSpanInterface_setContainerSpanOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getContainerSpanModifier()->setContainerSpanOptions(self); +KOALA_INTEROP_DIRECT_V3(NavigationAttribute_ignoreLayoutSafeArea, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Canvas_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getCanvasModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V1(ContainerSpanInterface_setContainerSpanOptions, Ark_NativePointer) -void impl_ContainerSpanAttribute_textBackgroundStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Canvas_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_CanvasInterface_setCanvasOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_TextBackgroundStyle value_value = thisDeserializer.readTextBackgroundStyle();; - GetNodeModifiers()->getContainerSpanModifier()->setTextBackgroundStyle(self, (const Ark_TextBackgroundStyle*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ContainerSpanAttribute_textBackgroundStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Counter_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getCounterModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Counter_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_CounterInterface_setCounterOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCounterModifier()->setCounterOptions(self); + const auto context_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value_buf = {}; + context_value_buf.tag = context_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (context_value_buf_runtimeType)) + { + const Ark_Int8 context_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value_buf_ = {}; + context_value_buf_.selector = context_value_buf__selector; + if (context_value_buf__selector == 0) { + context_value_buf_.selector = 0; + context_value_buf_.value0 = static_cast(thisDeserializer.readCanvasRenderingContext2D()); + } + else if (context_value_buf__selector == 1) { + context_value_buf_.selector = 1; + context_value_buf_.value1 = static_cast(thisDeserializer.readDrawingRenderingContext()); + } + else { + INTEROP_FATAL("One of the branches for context_value_buf_ has to be chosen through deserialisation."); + } + context_value_buf.value = static_cast(context_value_buf_); + } + Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value = context_value_buf;; + GetNodeModifiers()->getCanvasModifier()->setCanvasOptions0(self, (const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext*)&context_value); } -KOALA_INTEROP_DIRECT_V1(CounterInterface_setCounterOptions, Ark_NativePointer) -void impl_CounterAttribute_onInc(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CanvasInterface_setCanvasOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CanvasInterface_setCanvasOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; - GetNodeModifiers()->getCounterModifier()->setOnInc(self, (const VoidCallback*)&value_value); + const Ark_Int8 context_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value_buf = {}; + context_value_buf.selector = context_value_buf_selector; + if (context_value_buf_selector == 0) { + context_value_buf.selector = 0; + context_value_buf.value0 = static_cast(thisDeserializer.readCanvasRenderingContext2D()); + } + else if (context_value_buf_selector == 1) { + context_value_buf.selector = 1; + context_value_buf.value1 = static_cast(thisDeserializer.readDrawingRenderingContext()); + } + else { + INTEROP_FATAL("One of the branches for context_value_buf has to be chosen through deserialisation."); + } + Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext context_value = static_cast(context_value_buf);; + Ark_ImageAIOptions imageAIOptions_value = thisDeserializer.readImageAIOptions();; + GetNodeModifiers()->getCanvasModifier()->setCanvasOptions1(self, (const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext*)&context_value, (const Ark_ImageAIOptions*)&imageAIOptions_value); } -KOALA_INTEROP_DIRECT_V3(CounterAttribute_onInc, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CounterAttribute_onDec(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CanvasInterface_setCanvasOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CanvasAttribute_onReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; - GetNodeModifiers()->getCounterModifier()->setOnDec(self, (const VoidCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(CounterAttribute_onDec, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CounterAttribute_enableDec(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCounterModifier()->setEnableDec(self, value); + GetNodeModifiers()->getCanvasModifier()->setOnReady(self, (const VoidCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V2(CounterAttribute_enableDec, Ark_NativePointer, Ark_Boolean) -void impl_CounterAttribute_enableInc(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(CanvasAttribute_onReady, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CanvasAttribute_enableAnalyzer(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCounterModifier()->setEnableInc(self, value); + GetNodeModifiers()->getCanvasModifier()->setEnableAnalyzer(self, value); } -KOALA_INTEROP_DIRECT_V2(CounterAttribute_enableInc, Ark_NativePointer, Ark_Boolean) -Ark_NativePointer impl_DataPanel_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getDataPanelModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V2(CanvasAttribute_enableAnalyzer, Ark_NativePointer, Ark_Boolean) +Ark_NativePointer impl_Checkbox_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getCheckboxModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(DataPanel_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_DataPanelInterface_setDataPanelOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Checkbox_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_CheckboxInterface_setCheckboxOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_DataPanelOptions options_value = thisDeserializer.readDataPanelOptions();; - GetNodeModifiers()->getDataPanelModifier()->setDataPanelOptions(self, (const Ark_DataPanelOptions*)&options_value); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CheckboxOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readCheckboxOptions(); + } + Opt_CheckboxOptions options_value = options_value_buf;; + GetNodeModifiers()->getCheckboxModifier()->setCheckboxOptions(self, (const Opt_CheckboxOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(DataPanelInterface_setDataPanelOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DataPanelAttribute_closeEffect(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(CheckboxInterface_setCheckboxOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute_select0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getDataPanelModifier()->setCloseEffect(self, value); + GetNodeModifiers()->getCheckboxModifier()->setSelect0(self, value); } -KOALA_INTEROP_DIRECT_V2(DataPanelAttribute_closeEffect, Ark_NativePointer, Ark_Boolean) -void impl_DataPanelAttribute_valueColors(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(CheckboxAttribute_select0, Ark_NativePointer, Ark_Boolean) +void impl_CheckboxAttribute_select1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_Union_ResourceColor_LinearGradient value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_LinearGradient value_value_buf_buf = {}; - value_value_buf_buf.selector = value_value_buf_buf_selector; - if (value_value_buf_buf_selector == 0) { - value_value_buf_buf.selector = 0; - const Ark_Int8 value_value_buf_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_buf_u = {}; - value_value_buf_buf_u.selector = value_value_buf_buf_u_selector; - if (value_value_buf_buf_u_selector == 0) { - value_value_buf_buf_u.selector = 0; - value_value_buf_buf_u.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_buf_u_selector == 1) { - value_value_buf_buf_u.selector = 1; - value_value_buf_buf_u.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_buf_u_selector == 2) { - value_value_buf_buf_u.selector = 2; - value_value_buf_buf_u.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_buf_u_selector == 3) { - value_value_buf_buf_u.selector = 3; - value_value_buf_buf_u.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_buf_u has to be chosen through deserialisation."); - } - value_value_buf_buf.value0 = static_cast(value_value_buf_buf_u); - } - else if (value_value_buf_buf_selector == 1) { - value_value_buf_buf.selector = 1; - value_value_buf_buf.value1 = static_cast(thisDeserializer.readLinearGradient()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); - } - value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); } - Array_Union_ResourceColor_LinearGradient value_value = value_value_buf;; - GetNodeModifiers()->getDataPanelModifier()->setValueColors(self, (const Array_Union_ResourceColor_LinearGradient*)&value_value); + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxModifier()->setSelect1(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_valueColors, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DataPanelAttribute_trackBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_select1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute_selectedColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -6538,18 +6402,73 @@ void impl_DataPanelAttribute_trackBackgroundColor(Ark_NativePointer thisPtr, KSe INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getDataPanelModifier()->setTrackBackgroundColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getCheckboxModifier()->setSelectedColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_trackBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DataPanelAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_selectedColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute_selectedColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxModifier()->setSelectedColor1(self, (const Opt_ResourceColor*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_selectedColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute_shape0(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getCheckboxModifier()->setShape0(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(CheckboxAttribute_shape0, Ark_NativePointer, Ark_Int32) +void impl_CheckboxAttribute_shape1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CheckBoxShape value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CheckBoxShape value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxModifier()->setShape1(self, (const Opt_CheckBoxShape*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_shape1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute_unselectedColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -6557,109 +6476,163 @@ void impl_DataPanelAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerB } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getDataPanelModifier()->setStrokeWidth(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCheckboxModifier()->setUnselectedColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DataPanelAttribute_trackShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_unselectedColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute_unselectedColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_DataPanelShadowOptions value_value = thisDeserializer.readDataPanelShadowOptions();; - GetNodeModifiers()->getDataPanelModifier()->setTrackShadow(self, (const Ark_DataPanelShadowOptions*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxModifier()->setUnselectedColor1(self, (const Opt_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_trackShadow, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DataPanelAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_unselectedColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute_mark0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getDataPanelModifier()->setContentModifier(self, (const Ark_Object*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_DatePicker_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getDatePickerModifier()->construct(id, flags); + Ark_MarkStyle value_value = thisDeserializer.readMarkStyle();; + GetNodeModifiers()->getCheckboxModifier()->setMark0(self, (const Ark_MarkStyle*)&value_value); } -KOALA_INTEROP_DIRECT_2(DatePicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_DatePickerInterface_setDatePickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_mark0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute_mark1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_DatePickerOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_MarkStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readDatePickerOptions(); + value_value_buf.value = thisDeserializer.readMarkStyle(); } - Opt_DatePickerOptions options_value = options_value_buf;; - GetNodeModifiers()->getDatePickerModifier()->setDatePickerOptions(self, (const Opt_DatePickerOptions*)&options_value); + Opt_MarkStyle value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxModifier()->setMark1(self, (const Opt_MarkStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(DatePickerInterface_setDatePickerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DatePickerAttribute_lunar(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getDatePickerModifier()->setLunar(self, value); -} -KOALA_INTEROP_DIRECT_V2(DatePickerAttribute_lunar, Ark_NativePointer, Ark_Boolean) -void impl_DatePickerAttribute_disappearTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_mark1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; - GetNodeModifiers()->getDatePickerModifier()->setDisappearTextStyle(self, (const Ark_PickerTextStyle*)&value_value); + OnCheckboxChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnCheckboxChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnCheckboxChangeCallback))))};; + GetNodeModifiers()->getCheckboxModifier()->setOnChange0(self, (const OnCheckboxChangeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_disappearTextStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DatePickerAttribute_textStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; - GetNodeModifiers()->getDatePickerModifier()->setTextStyle(self, (const Ark_PickerTextStyle*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnCheckboxChangeCallback value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnCheckboxChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnCheckboxChangeCallback))))}; + } + Opt_OnCheckboxChangeCallback value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxModifier()->setOnChange1(self, (const Opt_OnCheckboxChangeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_textStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DatePickerAttribute_selectedTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute_contentModifier0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; - GetNodeModifiers()->getDatePickerModifier()->setSelectedTextStyle(self, (const Ark_PickerTextStyle*)&value_value); + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getCheckboxModifier()->setContentModifier0(self, (const Ark_Object*)&value_value); } -KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_selectedTextStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DatePickerAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_contentModifier0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute_contentModifier1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_DatePickerResult_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DatePickerResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DatePickerResult_Void))))};; - GetNodeModifiers()->getDatePickerModifier()->setOnChange(self, (const Callback_DatePickerResult_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ContentModifier value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readObject()); + } + Opt_ContentModifier value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxModifier()->setContentModifier1(self, (const Opt_ContentModifier*)&value_value); } -KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DatePickerAttribute_onDateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute_contentModifier1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxAttribute__onChangeEvent_select(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Date_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};; - GetNodeModifiers()->getDatePickerModifier()->setOnDateChange(self, (const Callback_Date_Void*)&value_value); + Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getCheckboxModifier()->set_onChangeEvent_select(self, (const Callback_Boolean_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_onDateChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DatePickerAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxAttribute__onChangeEvent_select, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_CheckboxGroup_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getCheckboxGroupModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(CheckboxGroup_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_CheckboxGroupInterface_setCheckboxGroupOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Date_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};; - GetNodeModifiers()->getDatePickerModifier()->set_onChangeEvent_selected(self, (const Callback_Date_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(DatePickerAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Divider_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getDividerModifier()->construct(id, flags); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CheckboxGroupOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readCheckboxGroupOptions(); + } + Opt_CheckboxGroupOptions options_value = options_value_buf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setCheckboxGroupOptions(self, (const Opt_CheckboxGroupOptions*)&options_value); } -KOALA_INTEROP_DIRECT_2(Divider_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_DividerInterface_setDividerOptions(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V3(CheckboxGroupInterface_setCheckboxGroupOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxGroupAttribute_selectAll0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getDividerModifier()->setDividerOptions(self); + GetNodeModifiers()->getCheckboxGroupModifier()->setSelectAll0(self, value); } -KOALA_INTEROP_DIRECT_V1(DividerInterface_setDividerOptions, Ark_NativePointer) -void impl_DividerAttribute_vertical(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(CheckboxGroupAttribute_selectAll0, Ark_NativePointer, Ark_Boolean) +void impl_CheckboxGroupAttribute_selectAll1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getDividerModifier()->setVertical(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setSelectAll1(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V2(DividerAttribute_vertical, Ark_NativePointer, Ark_Boolean) -void impl_DividerAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_selectAll1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxGroupAttribute_selectedColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -6685,376 +6658,366 @@ void impl_DividerAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer th INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getDividerModifier()->setColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getCheckboxGroupModifier()->setSelectedColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(DividerAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DividerAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_selectedColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxGroupAttribute_selectedColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setSelectedColor1(self, (const Opt_ResourceColor*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_selectedColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxGroupAttribute_unselectedColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getDividerModifier()->setStrokeWidth(self, (const Ark_Union_Number_String*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getCheckboxGroupModifier()->setUnselectedColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(DividerAttribute_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DividerAttribute_lineCap(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_unselectedColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxGroupAttribute_unselectedColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getDividerModifier()->setLineCap(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(DividerAttribute_lineCap, Ark_NativePointer, Ark_Int32) -Ark_NativePointer impl_EffectComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getEffectComponentModifier()->construct(id, flags); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setUnselectedColor1(self, (const Opt_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_2(EffectComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_EffectComponentInterface_setEffectComponentOptions(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_unselectedColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxGroupAttribute_mark0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getEffectComponentModifier()->setEffectComponentOptions(self); -} -KOALA_INTEROP_DIRECT_V1(EffectComponentInterface_setEffectComponentOptions, Ark_NativePointer) -Ark_NativePointer impl_Ellipse_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getEllipseModifier()->construct(id, flags); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_MarkStyle value_value = thisDeserializer.readMarkStyle();; + GetNodeModifiers()->getCheckboxGroupModifier()->setMark0(self, (const Ark_MarkStyle*)&value_value); } -KOALA_INTEROP_DIRECT_2(Ellipse_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_EllipseInterface_setEllipseOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_mark0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxGroupAttribute_mark1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_EllipseOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_MarkStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readEllipseOptions(); + value_value_buf.value = thisDeserializer.readMarkStyle(); } - Opt_EllipseOptions options_value = options_value_buf;; - GetNodeModifiers()->getEllipseModifier()->setEllipseOptions(self, (const Opt_EllipseOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(EllipseInterface_setEllipseOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_EmbeddedComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getEmbeddedComponentModifier()->construct(id, flags); + Opt_MarkStyle value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setMark1(self, (const Opt_MarkStyle*)&value_value); } -KOALA_INTEROP_DIRECT_2(EmbeddedComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_EmbeddedComponentInterface_setEmbeddedComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, Ark_Int32 type) { +KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_mark1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxGroupAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Want loader_value = thisDeserializer.readWant();; - GetNodeModifiers()->getEmbeddedComponentModifier()->setEmbeddedComponentOptions(self, (const Ark_Want*)&loader_value, static_cast(type)); + OnCheckboxGroupChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnCheckboxGroupChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnCheckboxGroupChangeCallback))))};; + GetNodeModifiers()->getCheckboxGroupModifier()->setOnChange0(self, (const OnCheckboxGroupChangeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V4(EmbeddedComponentInterface_setEmbeddedComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t, Ark_Int32) -void impl_EmbeddedComponentAttribute_onTerminated(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxGroupAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_TerminationInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TerminationInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TerminationInfo_Void))))};; - GetNodeModifiers()->getEmbeddedComponentModifier()->setOnTerminated(self, (const Callback_TerminationInfo_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnCheckboxGroupChangeCallback value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnCheckboxGroupChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnCheckboxGroupChangeCallback))))}; + } + Opt_OnCheckboxGroupChangeCallback value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setOnChange1(self, (const Opt_OnCheckboxGroupChangeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(EmbeddedComponentAttribute_onTerminated, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_EmbeddedComponentAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxGroupAttribute_checkboxShape0(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - ErrorCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ErrorCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ErrorCallback))))};; - GetNodeModifiers()->getEmbeddedComponentModifier()->setOnError(self, (const ErrorCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(EmbeddedComponentAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Flex_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getFlexModifier()->construct(id, flags); + GetNodeModifiers()->getCheckboxGroupModifier()->setCheckboxShape0(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_2(Flex_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_FlexInterface_setFlexOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(CheckboxGroupAttribute_checkboxShape0, Ark_NativePointer, Ark_Int32) +void impl_CheckboxGroupAttribute_checkboxShape1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_FlexOptions value_value_buf = {}; + Opt_CheckBoxShape value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readFlexOptions(); + value_value_buf.value = static_cast(thisDeserializer.readInt32()); } - Opt_FlexOptions value_value = value_value_buf;; - GetNodeModifiers()->getFlexModifier()->setFlexOptions(self, (const Opt_FlexOptions*)&value_value); + Opt_CheckBoxShape value_value = value_value_buf;; + GetNodeModifiers()->getCheckboxGroupModifier()->setCheckboxShape1(self, (const Opt_CheckBoxShape*)&value_value); } -KOALA_INTEROP_DIRECT_V3(FlexInterface_setFlexOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_FlexAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute_checkboxShape1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CheckboxGroupAttribute__onChangeEvent_selectAll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_PointLightStyle value_value = thisDeserializer.readPointLightStyle();; - GetNodeModifiers()->getFlexModifier()->setPointLight(self, (const Ark_PointLightStyle*)&value_value); + Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getCheckboxGroupModifier()->set_onChangeEvent_selectAll(self, (const Callback_Boolean_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V3(FlexAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_FlowItem_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getFlowItemModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(CheckboxGroupAttribute__onChangeEvent_selectAll, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Circle_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getCircleModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(FlowItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_FlowItemInterface_setFlowItemOptions(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_2(Circle_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_CircleInterface_setCircleOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getFlowItemModifier()->setFlowItemOptions(self); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CircleOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readCircleOptions(); + } + Opt_CircleOptions value_value = value_value_buf;; + GetNodeModifiers()->getCircleModifier()->setCircleOptions(self, (const Opt_CircleOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V1(FlowItemInterface_setFlowItemOptions, Ark_NativePointer) -Ark_NativePointer impl_FolderStack_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getFolderStackModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(CircleInterface_setCircleOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Column_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getColumnModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(FolderStack_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_FolderStackInterface_setFolderStackOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Column_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ColumnInterface_setColumnOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_FolderStackOptions options_value_buf = {}; + Opt_ColumnOptions options_value_buf = {}; options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readFolderStackOptions(); + options_value_buf.value = thisDeserializer.readColumnOptions(); } - Opt_FolderStackOptions options_value = options_value_buf;; - GetNodeModifiers()->getFolderStackModifier()->setFolderStackOptions(self, (const Opt_FolderStackOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(FolderStackInterface_setFolderStackOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_FolderStackAttribute_alignContent(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getFolderStackModifier()->setAlignContent(self, static_cast(value)); + Opt_ColumnOptions options_value = options_value_buf;; + GetNodeModifiers()->getColumnModifier()->setColumnOptions0(self, (const Opt_ColumnOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V2(FolderStackAttribute_alignContent, Ark_NativePointer, Ark_Int32) -void impl_FolderStackAttribute_onFolderStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ColumnInterface_setColumnOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ColumnInterface_setColumnOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnFoldStatusChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnFoldStatusChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnFoldStatusChangeCallback))))};; - GetNodeModifiers()->getFolderStackModifier()->setOnFolderStateChange(self, (const OnFoldStatusChangeCallback*)&value_value); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ColumnOptions_ColumnOptionsV2 options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + const Ark_Int8 options_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_ColumnOptions_ColumnOptionsV2 options_value_buf_ = {}; + options_value_buf_.selector = options_value_buf__selector; + if (options_value_buf__selector == 0) { + options_value_buf_.selector = 0; + options_value_buf_.value0 = thisDeserializer.readColumnOptions(); + } + else if (options_value_buf__selector == 1) { + options_value_buf_.selector = 1; + options_value_buf_.value1 = thisDeserializer.readColumnOptionsV2(); + } + else { + INTEROP_FATAL("One of the branches for options_value_buf_ has to be chosen through deserialisation."); + } + options_value_buf.value = static_cast(options_value_buf_); + } + Opt_Union_ColumnOptions_ColumnOptionsV2 options_value = options_value_buf;; + GetNodeModifiers()->getColumnModifier()->setColumnOptions1(self, (const Opt_Union_ColumnOptions_ColumnOptionsV2*)&options_value); } -KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_onFolderStateChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_FolderStackAttribute_onHoverStatusChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ColumnInterface_setColumnOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ColumnAttribute_alignItems(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnHoverStatusChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnHoverStatusChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnHoverStatusChangeCallback))))};; - GetNodeModifiers()->getFolderStackModifier()->setOnHoverStatusChange(self, (const OnHoverStatusChangeCallback*)&value_value); + GetNodeModifiers()->getColumnModifier()->setAlignItems(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_onHoverStatusChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_FolderStackAttribute_enableAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(ColumnAttribute_alignItems, Ark_NativePointer, Ark_Int32) +void impl_ColumnAttribute_justifyContent(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getFolderStackModifier()->setEnableAnimation(self, value); + GetNodeModifiers()->getColumnModifier()->setJustifyContent(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(FolderStackAttribute_enableAnimation, Ark_NativePointer, Ark_Boolean) -void impl_FolderStackAttribute_autoHalfFold(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(ColumnAttribute_justifyContent, Ark_NativePointer, Ark_Int32) +void impl_ColumnAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getFolderStackModifier()->setAutoHalfFold(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_PointLightStyle value_value = thisDeserializer.readPointLightStyle();; + GetNodeModifiers()->getColumnModifier()->setPointLight(self, (const Ark_PointLightStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V2(FolderStackAttribute_autoHalfFold, Ark_NativePointer, Ark_Boolean) -Ark_NativePointer impl_FormComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getFormComponentModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(FormComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_FormComponentInterface_setFormComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_FormInfo value_value = thisDeserializer.readFormInfo();; - GetNodeModifiers()->getFormComponentModifier()->setFormComponentOptions(self, (const Ark_FormInfo*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(FormComponentInterface_setFormComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_FormComponentAttribute_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_SizeOptions value_value = thisDeserializer.readSizeOptions();; - GetNodeModifiers()->getFormComponentModifier()->setSize(self, (const Ark_SizeOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_size, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_FormComponentAttribute_moduleName(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getFormComponentModifier()->setModuleName(self, (const Ark_String*) (&value)); -} -KOALA_INTEROP_V2(FormComponentAttribute_moduleName, Ark_NativePointer, KStringPtr) -void impl_FormComponentAttribute_dimension(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getFormComponentModifier()->setDimension(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(FormComponentAttribute_dimension, Ark_NativePointer, Ark_Int32) -void impl_FormComponentAttribute_allowUpdate(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getFormComponentModifier()->setAllowUpdate(self, value); -} -KOALA_INTEROP_DIRECT_V2(FormComponentAttribute_allowUpdate, Ark_NativePointer, Ark_Boolean) -void impl_FormComponentAttribute_visibility(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getFormComponentModifier()->setVisibility(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(FormComponentAttribute_visibility, Ark_NativePointer, Ark_Int32) -void impl_FormComponentAttribute_onAcquired(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ColumnAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ColumnAttribute_reverse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_FormCallbackInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_FormCallbackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_FormCallbackInfo_Void))))};; - GetNodeModifiers()->getFormComponentModifier()->setOnAcquired(self, (const Callback_FormCallbackInfo_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getColumnModifier()->setReverse(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onAcquired, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_FormComponentAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Literal_Number_errcode_String_msg_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_Number_errcode_String_msg_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_Number_errcode_String_msg_Void))))};; - GetNodeModifiers()->getFormComponentModifier()->setOnError(self, (const Callback_Literal_Number_errcode_String_msg_Void*)&value_value); +KOALA_INTEROP_DIRECT_V3(ColumnAttribute_reverse, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_ColumnSplit_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getColumnSplitModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_FormComponentAttribute_onRouter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(ColumnSplit_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ColumnSplitInterface_setColumnSplitOptions(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - FormComponentAttribute_onRouter_callback_type value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_FormComponentAttribute_onRouter_callback_type)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_FormComponentAttribute_onRouter_callback_type))))};; - GetNodeModifiers()->getFormComponentModifier()->setOnRouter(self, (const FormComponentAttribute_onRouter_callback_type*)&value_value); + GetNodeModifiers()->getColumnSplitModifier()->setColumnSplitOptions(self); } -KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onRouter, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_FormComponentAttribute_onUninstall(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V1(ColumnSplitInterface_setColumnSplitOptions, Ark_NativePointer) +void impl_ColumnSplitAttribute_resizeable(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_FormCallbackInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_FormCallbackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_FormCallbackInfo_Void))))};; - GetNodeModifiers()->getFormComponentModifier()->setOnUninstall(self, (const Callback_FormCallbackInfo_Void*)&value_value); + GetNodeModifiers()->getColumnSplitModifier()->setResizeable(self, value); } -KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onUninstall, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_FormComponentAttribute_onLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ColumnSplitAttribute_resizeable, Ark_NativePointer, Ark_Boolean) +void impl_ColumnSplitAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getFormComponentModifier()->setOnLoad(self, (const Callback_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ColumnSplitDividerStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readColumnSplitDividerStyle(); + } + Opt_ColumnSplitDividerStyle value_value = value_value_buf;; + GetNodeModifiers()->getColumnSplitModifier()->setDivider(self, (const Opt_ColumnSplitDividerStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onLoad, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_FormLink_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getFormLinkModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(ColumnSplitAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Component3D_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getComponent3DModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(FormLink_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_FormLinkInterface_setFormLinkOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Component3D_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_Component3DInterface_setComponent3DOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_FormLinkOptions options_value = thisDeserializer.readFormLinkOptions();; - GetNodeModifiers()->getFormLinkModifier()->setFormLinkOptions(self, (const Ark_FormLinkOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(FormLinkInterface_setFormLinkOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Gauge_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getGaugeModifier()->construct(id, flags); + const auto sceneOptions_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SceneOptions sceneOptions_value_buf = {}; + sceneOptions_value_buf.tag = sceneOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sceneOptions_value_buf_runtimeType)) + { + sceneOptions_value_buf.value = thisDeserializer.readSceneOptions(); + } + Opt_SceneOptions sceneOptions_value = sceneOptions_value_buf;; + GetNodeModifiers()->getComponent3DModifier()->setComponent3DOptions(self, (const Opt_SceneOptions*)&sceneOptions_value); } -KOALA_INTEROP_DIRECT_2(Gauge_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_GaugeInterface_setGaugeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(Component3DInterface_setComponent3DOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_Component3DAttribute_environment(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_GaugeOptions options_value = thisDeserializer.readGaugeOptions();; - GetNodeModifiers()->getGaugeModifier()->setGaugeOptions(self, (const Ark_GaugeOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(GaugeInterface_setGaugeOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GaugeAttribute_value(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGaugeModifier()->setValue(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(GaugeAttribute_value, Ark_NativePointer, KInteropNumber) -void impl_GaugeAttribute_startAngle(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGaugeModifier()->setStartAngle(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(GaugeAttribute_startAngle, Ark_NativePointer, KInteropNumber) -void impl_GaugeAttribute_endAngle(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGaugeModifier()->setEndAngle(self, (const Ark_Number*) (&value)); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceStr value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceStr value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getComponent3DModifier()->setEnvironment(self, (const Ark_ResourceStr*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GaugeAttribute_endAngle, Ark_NativePointer, KInteropNumber) -void impl_GaugeAttribute_colors(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(Component3DAttribute_environment, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_Component3DAttribute_shader(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Type_GaugeAttribute_colors_colors value_value_buf = {}; + Ark_ResourceStr value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u = {}; - value_value_buf_u.selector = value_value_buf_u_selector; - if (value_value_buf_u_selector == 0) { - value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_selector == 1) { - value_value_buf_u.selector = 1; - value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_selector == 2) { - value_value_buf_u.selector = 2; - value_value_buf_u.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_selector == 3) { - value_value_buf_u.selector = 3; - value_value_buf_u.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); - } - value_value_buf.value0 = static_cast(value_value_buf_u); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readLinearGradient()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_Tuple_Union_ResourceColor_LinearGradient_Number value_value_buf_u = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_u, value_value_buf_u_length); - for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { - Ark_Tuple_Union_ResourceColor_LinearGradient_Number value_value_buf_u_buf = {}; - const Ark_Int8 value_value_buf_u_buf_value0_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_LinearGradient value_value_buf_u_buf_value0_buf = {}; - value_value_buf_u_buf_value0_buf.selector = value_value_buf_u_buf_value0_buf_selector; - if (value_value_buf_u_buf_value0_buf_selector == 0) { - value_value_buf_u_buf_value0_buf.selector = 0; - const Ark_Int8 value_value_buf_u_buf_value0_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u_buf_value0_buf_u = {}; - value_value_buf_u_buf_value0_buf_u.selector = value_value_buf_u_buf_value0_buf_u_selector; - if (value_value_buf_u_buf_value0_buf_u_selector == 0) { - value_value_buf_u_buf_value0_buf_u.selector = 0; - value_value_buf_u_buf_value0_buf_u.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_buf_value0_buf_u_selector == 1) { - value_value_buf_u_buf_value0_buf_u.selector = 1; - value_value_buf_u_buf_value0_buf_u.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_buf_value0_buf_u_selector == 2) { - value_value_buf_u_buf_value0_buf_u.selector = 2; - value_value_buf_u_buf_value0_buf_u.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_buf_value0_buf_u_selector == 3) { - value_value_buf_u_buf_value0_buf_u.selector = 3; - value_value_buf_u_buf_value0_buf_u.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_buf_value0_buf_u has to be chosen through deserialisation."); - } - value_value_buf_u_buf_value0_buf.value0 = static_cast(value_value_buf_u_buf_value0_buf_u); - } - else if (value_value_buf_u_buf_value0_buf_selector == 1) { - value_value_buf_u_buf_value0_buf.selector = 1; - value_value_buf_u_buf_value0_buf.value1 = static_cast(thisDeserializer.readLinearGradient()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_buf_value0_buf has to be chosen through deserialisation."); - } - value_value_buf_u_buf.value0 = static_cast(value_value_buf_u_buf_value0_buf); - value_value_buf_u_buf.value1 = static_cast(thisDeserializer.readNumber()); - value_value_buf_u.array[value_value_buf_u_i] = value_value_buf_u_buf; - } - value_value_buf.value2 = value_value_buf_u; + value_value_buf.value1 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Type_GaugeAttribute_colors_colors value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getGaugeModifier()->setColors(self, (const Ark_Type_GaugeAttribute_colors_colors*)&value_value); + Ark_ResourceStr value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getComponent3DModifier()->setShader(self, (const Ark_ResourceStr*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GaugeAttribute_colors, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GaugeAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(Component3DAttribute_shader, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_Component3DAttribute_shaderImageTexture(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_ResourceStr value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -7062,102 +7025,34 @@ void impl_GaugeAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffe } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value1 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getGaugeModifier()->setStrokeWidth(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_ResourceStr value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getComponent3DModifier()->setShaderImageTexture(self, (const Ark_ResourceStr*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GaugeAttribute_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GaugeAttribute_description(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(Component3DAttribute_shaderImageTexture, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_Component3DAttribute_shaderInputBuffer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; - GetNodeModifiers()->getGaugeModifier()->setDescription(self, (const CustomNodeBuilder*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(GaugeAttribute_description, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GaugeAttribute_trackShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_GaugeShadowOptions value_value = thisDeserializer.readGaugeShadowOptions();; - GetNodeModifiers()->getGaugeModifier()->setTrackShadow(self, (const Ark_GaugeShadowOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(GaugeAttribute_trackShadow, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GaugeAttribute_indicator(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_GaugeIndicatorOptions value_value = thisDeserializer.readGaugeIndicatorOptions();; - GetNodeModifiers()->getGaugeModifier()->setIndicator(self, (const Ark_GaugeIndicatorOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(GaugeAttribute_indicator, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GaugeAttribute_privacySensitive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean value_value = value_value_buf;; - GetNodeModifiers()->getGaugeModifier()->setPrivacySensitive(self, (const Opt_Boolean*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(GaugeAttribute_privacySensitive, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GaugeAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getGaugeModifier()->setContentModifier(self, (const Ark_Object*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(GaugeAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Grid_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getGridModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Grid_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_GridInterface_setGridOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto scroller_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Scroller scroller_value_buf = {}; - scroller_value_buf.tag = scroller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scroller_value_buf_runtimeType)) - { - scroller_value_buf.value = static_cast(thisDeserializer.readScroller()); - } - Opt_Scroller scroller_value = scroller_value_buf;; - const auto layoutOptions_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_GridLayoutOptions layoutOptions_value_buf = {}; - layoutOptions_value_buf.tag = layoutOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (layoutOptions_value_buf_runtimeType)) - { - layoutOptions_value_buf.value = thisDeserializer.readGridLayoutOptions(); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_Number value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = static_cast(thisDeserializer.readNumber()); } - Opt_GridLayoutOptions layoutOptions_value = layoutOptions_value_buf;; - GetNodeModifiers()->getGridModifier()->setGridOptions(self, (const Opt_Scroller*)&scroller_value, (const Opt_GridLayoutOptions*)&layoutOptions_value); -} -KOALA_INTEROP_DIRECT_V3(GridInterface_setGridOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_columnsTemplate(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setColumnsTemplate(self, (const Ark_String*) (&value)); -} -KOALA_INTEROP_V2(GridAttribute_columnsTemplate, Ark_NativePointer, KStringPtr) -void impl_GridAttribute_rowsTemplate(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setRowsTemplate(self, (const Ark_String*) (&value)); + Array_Number value_value = value_value_buf;; + GetNodeModifiers()->getComponent3DModifier()->setShaderInputBuffer(self, (const Array_Number*)&value_value); } -KOALA_INTEROP_V2(GridAttribute_rowsTemplate, Ark_NativePointer, KStringPtr) -void impl_GridAttribute_columnsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(Component3DAttribute_shaderInputBuffer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_Component3DAttribute_renderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Dimension value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -7174,15 +7069,15 @@ void impl_GridAttribute_columnsGap(Ark_NativePointer thisPtr, KSerializerBuffer else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getGridModifier()->setColumnsGap(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getComponent3DModifier()->setRenderWidth(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_columnsGap, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_rowsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(Component3DAttribute_renderWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_Component3DAttribute_renderHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Dimension value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -7199,390 +7094,425 @@ void impl_GridAttribute_rowsGap(Ark_NativePointer thisPtr, KSerializerBuffer thi else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getGridModifier()->setRowsGap(self, (const Ark_Union_String_Number_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(GridAttribute_rowsGap, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_scrollBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getGridModifier()->setScrollBarWidth(self, (const Ark_Union_Number_String*)&value_value); + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getComponent3DModifier()->setRenderHeight(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_scrollBarWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_scrollBarColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(Component3DAttribute_renderHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_Component3DAttribute_customRender(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, Ark_Boolean selfRenderUpdate) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Color_Number_String value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + const Ark_Int8 uri_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceStr uri_value_buf = {}; + uri_value_buf.selector = uri_value_buf_selector; + if (uri_value_buf_selector == 0) { + uri_value_buf.selector = 0; + uri_value_buf.value0 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); + else if (uri_value_buf_selector == 1) { + uri_value_buf.selector = 1; + uri_value_buf.value1 = thisDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for uri_value_buf has to be chosen through deserialisation."); } - Ark_Union_Color_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getGridModifier()->setScrollBarColor(self, (const Ark_Union_Color_Number_String*)&value_value); + Ark_ResourceStr uri_value = static_cast(uri_value_buf);; + GetNodeModifiers()->getComponent3DModifier()->setCustomRender(self, (const Ark_ResourceStr*)&uri_value, selfRenderUpdate); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_scrollBarColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_scrollBar(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setScrollBar(self, static_cast(value)); +KOALA_INTEROP_DIRECT_V4(Component3DAttribute_customRender, Ark_NativePointer, KSerializerBuffer, int32_t, Ark_Boolean) +Ark_NativePointer impl_ContainerSpan_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getContainerSpanModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V2(GridAttribute_scrollBar, Ark_NativePointer, Ark_Int32) -void impl_GridAttribute_onScrollBarUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(ContainerSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ContainerSpanInterface_setContainerSpanOptions(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_ComputedBarAttribute value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_ComputedBarAttribute)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_ComputedBarAttribute))))};; - GetNodeModifiers()->getGridModifier()->setOnScrollBarUpdate(self, (const Callback_Number_Number_ComputedBarAttribute*)&value_value); + GetNodeModifiers()->getContainerSpanModifier()->setContainerSpanOptions(self); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollBarUpdate, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_onScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V1(ContainerSpanInterface_setContainerSpanOptions, Ark_NativePointer) +void impl_ContainerSpanAttribute_textBackgroundStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; - GetNodeModifiers()->getGridModifier()->setOnScrollIndex(self, (const Callback_Number_Number_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollIndex, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_cachedCount0(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setCachedCount0(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(GridAttribute_cachedCount0, Ark_NativePointer, KInteropNumber) -void impl_GridAttribute_cachedCount1(Ark_NativePointer thisPtr, KInteropNumber count, Ark_Boolean show) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setCachedCount1(self, (const Ark_Number*) (&count), show); -} -KOALA_INTEROP_DIRECT_V3(GridAttribute_cachedCount1, Ark_NativePointer, KInteropNumber, Ark_Boolean) -void impl_GridAttribute_editMode(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setEditMode(self, value); -} -KOALA_INTEROP_DIRECT_V2(GridAttribute_editMode, Ark_NativePointer, Ark_Boolean) -void impl_GridAttribute_multiSelectable(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setMultiSelectable(self, value); + Ark_TextBackgroundStyle value_value = thisDeserializer.readTextBackgroundStyle();; + GetNodeModifiers()->getContainerSpanModifier()->setTextBackgroundStyle(self, (const Ark_TextBackgroundStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GridAttribute_multiSelectable, Ark_NativePointer, Ark_Boolean) -void impl_GridAttribute_maxCount(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setMaxCount(self, (const Ark_Number*) (&value)); +KOALA_INTEROP_DIRECT_V3(ContainerSpanAttribute_textBackgroundStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Counter_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getCounterModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V2(GridAttribute_maxCount, Ark_NativePointer, KInteropNumber) -void impl_GridAttribute_minCount(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_2(Counter_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_CounterInterface_setCounterOptions(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setMinCount(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getCounterModifier()->setCounterOptions(self); } -KOALA_INTEROP_DIRECT_V2(GridAttribute_minCount, Ark_NativePointer, KInteropNumber) -void impl_GridAttribute_cellLength(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V1(CounterInterface_setCounterOptions, Ark_NativePointer) +void impl_CounterAttribute_onInc(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setCellLength(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; + GetNodeModifiers()->getCounterModifier()->setOnInc(self, (const VoidCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GridAttribute_cellLength, Ark_NativePointer, KInteropNumber) -void impl_GridAttribute_layoutDirection(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(CounterAttribute_onInc, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CounterAttribute_onDec(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setLayoutDirection(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; + GetNodeModifiers()->getCounterModifier()->setOnDec(self, (const VoidCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GridAttribute_layoutDirection, Ark_NativePointer, Ark_Int32) -void impl_GridAttribute_supportAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(CounterAttribute_onDec, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CounterAttribute_enableDec(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setSupportAnimation(self, value); + GetNodeModifiers()->getCounterModifier()->setEnableDec(self, value); } -KOALA_INTEROP_DIRECT_V2(GridAttribute_supportAnimation, Ark_NativePointer, Ark_Boolean) -void impl_GridAttribute_onItemDragStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(CounterAttribute_enableDec, Ark_NativePointer, Ark_Boolean) +void impl_CounterAttribute_enableInc(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - GridAttribute_onItemDragStart_event_type value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_GridAttribute_onItemDragStart_event_type)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_GridAttribute_onItemDragStart_event_type))))};; - GetNodeModifiers()->getGridModifier()->setOnItemDragStart(self, (const GridAttribute_onItemDragStart_event_type*)&value_value); + GetNodeModifiers()->getCounterModifier()->setEnableInc(self, value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_onItemDragEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_ItemDragInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Void))))};; - GetNodeModifiers()->getGridModifier()->setOnItemDragEnter(self, (const Callback_ItemDragInfo_Void*)&value_value); +KOALA_INTEROP_DIRECT_V2(CounterAttribute_enableInc, Ark_NativePointer, Ark_Boolean) +Ark_NativePointer impl_DataPanel_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getDataPanelModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragEnter, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_onItemDragMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(DataPanel_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_DataPanelInterface_setDataPanelOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_ItemDragInfo_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Number_Void))))};; - GetNodeModifiers()->getGridModifier()->setOnItemDragMove(self, (const Callback_ItemDragInfo_Number_Number_Void*)&value_value); + Ark_DataPanelOptions options_value = thisDeserializer.readDataPanelOptions();; + GetNodeModifiers()->getDataPanelModifier()->setDataPanelOptions(self, (const Ark_DataPanelOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragMove, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_onItemDragLeave(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DataPanelInterface_setDataPanelOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DataPanelAttribute_closeEffect(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_ItemDragInfo_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Void))))};; - GetNodeModifiers()->getGridModifier()->setOnItemDragLeave(self, (const Callback_ItemDragInfo_Number_Void*)&value_value); + GetNodeModifiers()->getDataPanelModifier()->setCloseEffect(self, value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragLeave, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_onItemDrop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(DataPanelAttribute_closeEffect, Ark_NativePointer, Ark_Boolean) +void impl_DataPanelAttribute_valueColors(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_ItemDragInfo_Number_Number_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void))))};; - GetNodeModifiers()->getGridModifier()->setOnItemDrop(self, (const Callback_ItemDragInfo_Number_Number_Boolean_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDrop, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_NestedScrollOptions value_value = thisDeserializer.readNestedScrollOptions();; - GetNodeModifiers()->getGridModifier()->setNestedScroll(self, (const Ark_NestedScrollOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(GridAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_enableScrollInteraction(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setEnableScrollInteraction(self, value); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_Union_ResourceColor_LinearGradient value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_LinearGradient value_value_buf_buf = {}; + value_value_buf_buf.selector = value_value_buf_buf_selector; + if (value_value_buf_buf_selector == 0) { + value_value_buf_buf.selector = 0; + const Ark_Int8 value_value_buf_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_buf_u = {}; + value_value_buf_buf_u.selector = value_value_buf_buf_u_selector; + if (value_value_buf_buf_u_selector == 0) { + value_value_buf_buf_u.selector = 0; + value_value_buf_buf_u.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_buf_u_selector == 1) { + value_value_buf_buf_u.selector = 1; + value_value_buf_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_buf_u_selector == 2) { + value_value_buf_buf_u.selector = 2; + value_value_buf_buf_u.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_buf_u_selector == 3) { + value_value_buf_buf_u.selector = 3; + value_value_buf_buf_u.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_buf_u has to be chosen through deserialisation."); + } + value_value_buf_buf.value0 = static_cast(value_value_buf_buf_u); + } + else if (value_value_buf_buf_selector == 1) { + value_value_buf_buf.selector = 1; + value_value_buf_buf.value1 = static_cast(thisDeserializer.readLinearGradient()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); + } + value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); + } + Array_Union_ResourceColor_LinearGradient value_value = value_value_buf;; + GetNodeModifiers()->getDataPanelModifier()->setValueColors(self, (const Array_Union_ResourceColor_LinearGradient*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GridAttribute_enableScrollInteraction, Ark_NativePointer, Ark_Boolean) -void impl_GridAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_valueColors, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DataPanelAttribute_trackBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getGridModifier()->setFriction(self, (const Ark_Union_Number_Resource*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getDataPanelModifier()->setTrackBackgroundColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_friction, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_alignItems(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_trackBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DataPanelAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_GridItemAlignment value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = static_cast(thisDeserializer.readInt32()); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } - Opt_GridItemAlignment value_value = value_value_buf;; - GetNodeModifiers()->getGridModifier()->setAlignItems(self, (const Opt_GridItemAlignment*)&value_value); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getDataPanelModifier()->setStrokeWidth(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_alignItems, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DataPanelAttribute_trackShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; - GetNodeModifiers()->getGridModifier()->setOnScroll(self, (const Callback_Number_Number_Void*)&value_value); + Ark_DataPanelShadowOptions value_value = thisDeserializer.readDataPanelShadowOptions();; + GetNodeModifiers()->getDataPanelModifier()->setTrackShadow(self, (const Ark_DataPanelShadowOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_onReachStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_trackShadow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DataPanelAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getGridModifier()->setOnReachStart(self, (const Callback_Void*)&value_value); + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getDataPanelModifier()->setContentModifier(self, (const Ark_Object*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_onReachStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_onReachEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DataPanelAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_DatePicker_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getDatePickerModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(DatePicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_DatePickerInterface_setDatePickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getGridModifier()->setOnReachEnd(self, (const Callback_Void*)&value_value); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DatePickerOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readDatePickerOptions(); + } + Opt_DatePickerOptions options_value = options_value_buf;; + GetNodeModifiers()->getDatePickerModifier()->setDatePickerOptions(self, (const Opt_DatePickerOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_onReachEnd, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_onScrollStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DatePickerInterface_setDatePickerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute_lunar0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getGridModifier()->setOnScrollStart(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getDatePickerModifier()->setLunar0(self, value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_onScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(DatePickerAttribute_lunar0, Ark_NativePointer, Ark_Boolean) +void impl_DatePickerAttribute_lunar1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getGridModifier()->setOnScrollStop(self, (const Callback_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getDatePickerModifier()->setLunar1(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollStop, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_onScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_lunar1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute_disappearTextStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_ScrollState_Literal_Number_offsetRemain value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain))))};; - GetNodeModifiers()->getGridModifier()->setOnScrollFrameBegin(self, (const Callback_Number_ScrollState_Literal_Number_offsetRemain*)&value_value); + Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; + GetNodeModifiers()->getDatePickerModifier()->setDisappearTextStyle0(self, (const Ark_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_disappearTextStyle0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute_disappearTextStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_EdgeEffectOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readEdgeEffectOptions(); + value_value_buf.value = thisDeserializer.readPickerTextStyle(); } - Opt_EdgeEffectOptions options_value = options_value_buf;; - GetNodeModifiers()->getGridModifier()->setEdgeEffect(self, static_cast(value), (const Opt_EdgeEffectOptions*)&options_value); + Opt_PickerTextStyle value_value = value_value_buf;; + GetNodeModifiers()->getDatePickerModifier()->setDisappearTextStyle1(self, (const Opt_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V4(GridAttribute_edgeEffect, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) -Ark_NativePointer impl_GridItem_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getGridItemModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_disappearTextStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute_textStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; + GetNodeModifiers()->getDatePickerModifier()->setTextStyle0(self, (const Ark_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_2(GridItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_GridItemInterface_setGridItemOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_textStyle0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute_textStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_GridItemOptions value_value_buf = {}; + Opt_PickerTextStyle value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readGridItemOptions(); + value_value_buf.value = thisDeserializer.readPickerTextStyle(); } - Opt_GridItemOptions value_value = value_value_buf;; - GetNodeModifiers()->getGridItemModifier()->setGridItemOptions(self, (const Opt_GridItemOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(GridItemInterface_setGridItemOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridItemAttribute_rowStart(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridItemModifier()->setRowStart(self, (const Ark_Number*) (&value)); + Opt_PickerTextStyle value_value = value_value_buf;; + GetNodeModifiers()->getDatePickerModifier()->setTextStyle1(self, (const Opt_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GridItemAttribute_rowStart, Ark_NativePointer, KInteropNumber) -void impl_GridItemAttribute_rowEnd(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_textStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute_selectedTextStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridItemModifier()->setRowEnd(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; + GetNodeModifiers()->getDatePickerModifier()->setSelectedTextStyle0(self, (const Ark_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GridItemAttribute_rowEnd, Ark_NativePointer, KInteropNumber) -void impl_GridItemAttribute_columnStart(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_selectedTextStyle0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute_selectedTextStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridItemModifier()->setColumnStart(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readPickerTextStyle(); + } + Opt_PickerTextStyle value_value = value_value_buf;; + GetNodeModifiers()->getDatePickerModifier()->setSelectedTextStyle1(self, (const Opt_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GridItemAttribute_columnStart, Ark_NativePointer, KInteropNumber) -void impl_GridItemAttribute_columnEnd(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_selectedTextStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridItemModifier()->setColumnEnd(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_DatePickerResult_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DatePickerResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DatePickerResult_Void))))};; + GetNodeModifiers()->getDatePickerModifier()->setOnChange(self, (const Callback_DatePickerResult_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GridItemAttribute_columnEnd, Ark_NativePointer, KInteropNumber) -void impl_GridItemAttribute_forceRebuild(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute_onDateChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridItemModifier()->setForceRebuild(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Date_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};; + GetNodeModifiers()->getDatePickerModifier()->setOnDateChange0(self, (const Callback_Date_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GridItemAttribute_forceRebuild, Ark_NativePointer, Ark_Boolean) -void impl_GridItemAttribute_selectable(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_onDateChange0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute_onDateChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridItemModifier()->setSelectable(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Date_Void value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))}; + } + Opt_Callback_Date_Void value_value = value_value_buf;; + GetNodeModifiers()->getDatePickerModifier()->setOnDateChange1(self, (const Opt_Callback_Date_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GridItemAttribute_selectable, Ark_NativePointer, Ark_Boolean) -void impl_GridItemAttribute_selected(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_onDateChange1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute_digitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridItemModifier()->setSelected(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CrownSensitivity value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CrownSensitivity value_value = value_value_buf;; + GetNodeModifiers()->getDatePickerModifier()->setDigitalCrownSensitivity(self, (const Opt_CrownSensitivity*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GridItemAttribute_selected, Ark_NativePointer, Ark_Boolean) -void impl_GridItemAttribute_onSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_digitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getGridItemModifier()->setOnSelect(self, (const Callback_Boolean_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getDatePickerModifier()->setEnableHapticFeedback(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GridItemAttribute_onSelect, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridItemAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute_enableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DatePickerAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getGridItemModifier()->set_onChangeEvent_selected(self, (const Callback_Boolean_Void*)&callback_value); + Callback_Date_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};; + GetNodeModifiers()->getDatePickerModifier()->set_onChangeEvent_selected(self, (const Callback_Date_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V3(GridItemAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_GridCol_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getGridColModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(DatePickerAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Divider_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getDividerModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(GridCol_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_GridColInterface_setGridColOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Divider_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_DividerInterface_setDividerOptions(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto option_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_GridColOptions option_value_buf = {}; - option_value_buf.tag = option_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (option_value_buf_runtimeType)) - { - option_value_buf.value = thisDeserializer.readGridColOptions(); - } - Opt_GridColOptions option_value = option_value_buf;; - GetNodeModifiers()->getGridColModifier()->setGridColOptions(self, (const Opt_GridColOptions*)&option_value); + GetNodeModifiers()->getDividerModifier()->setDividerOptions(self); } -KOALA_INTEROP_DIRECT_V3(GridColInterface_setGridColOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridColAttribute_span(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V1(DividerInterface_setDividerOptions, Ark_NativePointer) +void impl_DividerAttribute_vertical(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_GridColColumnOption value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readGridColColumnOption(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_Number_GridColColumnOption value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getGridColModifier()->setSpan(self, (const Ark_Union_Number_GridColColumnOption*)&value_value); + GetNodeModifiers()->getDividerModifier()->setVertical(self, value); } -KOALA_INTEROP_DIRECT_V3(GridColAttribute_span, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridColAttribute_gridColOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(DividerAttribute_vertical, Ark_NativePointer, Ark_Boolean) +void impl_DividerAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_GridColColumnOption value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readGridColColumnOption(); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_GridColColumnOption value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getGridColModifier()->setGridColOffset(self, (const Ark_Union_Number_GridColColumnOption*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getDividerModifier()->setColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GridColAttribute_gridColOffset, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridColAttribute_order(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(DividerAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DividerAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_GridColColumnOption value_value_buf = {}; + Ark_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -7590,980 +7520,671 @@ void impl_GridColAttribute_order(Ark_NativePointer thisPtr, KSerializerBuffer th } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readGridColColumnOption(); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_GridColColumnOption value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getGridColModifier()->setOrder(self, (const Ark_Union_Number_GridColColumnOption*)&value_value); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getDividerModifier()->setStrokeWidth(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GridColAttribute_order, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_GridContainer_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getGridContainerModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(DividerAttribute_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DividerAttribute_lineCap(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getDividerModifier()->setLineCap(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_2(GridContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_GridContainerInterface_setGridContainerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(DividerAttribute_lineCap, Ark_NativePointer, Ark_Int32) +Ark_NativePointer impl_EffectComponent_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getEffectComponentModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(EffectComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_EffectComponentInterface_setEffectComponentOptions(Ark_NativePointer thisPtr) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getEffectComponentModifier()->setEffectComponentOptions(self); +} +KOALA_INTEROP_DIRECT_V1(EffectComponentInterface_setEffectComponentOptions, Ark_NativePointer) +Ark_NativePointer impl_Ellipse_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getEllipseModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Ellipse_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_EllipseInterface_setEllipseOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_GridContainerOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_EllipseOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readGridContainerOptions(); + options_value_buf.value = thisDeserializer.readEllipseOptions(); } - Opt_GridContainerOptions value_value = value_value_buf;; - GetNodeModifiers()->getGridContainerModifier()->setGridContainerOptions(self, (const Opt_GridContainerOptions*)&value_value); + Opt_EllipseOptions options_value = options_value_buf;; + GetNodeModifiers()->getEllipseModifier()->setEllipseOptions(self, (const Opt_EllipseOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(GridContainerInterface_setGridContainerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_GridRow_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getGridRowModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(EllipseInterface_setEllipseOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_EmbeddedComponent_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getEmbeddedComponentModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(GridRow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_GridRowInterface_setGridRowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(EmbeddedComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_EmbeddedComponentInterface_setEmbeddedComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, Ark_Int32 type) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto option_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_GridRowOptions option_value_buf = {}; - option_value_buf.tag = option_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (option_value_buf_runtimeType)) - { - option_value_buf.value = thisDeserializer.readGridRowOptions(); - } - Opt_GridRowOptions option_value = option_value_buf;; - GetNodeModifiers()->getGridRowModifier()->setGridRowOptions(self, (const Opt_GridRowOptions*)&option_value); + Ark_Want loader_value = thisDeserializer.readWant();; + GetNodeModifiers()->getEmbeddedComponentModifier()->setEmbeddedComponentOptions(self, (const Ark_Want*)&loader_value, static_cast(type)); } -KOALA_INTEROP_DIRECT_V3(GridRowInterface_setGridRowOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridRowAttribute_onBreakpointChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V4(EmbeddedComponentInterface_setEmbeddedComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t, Ark_Int32) +void impl_EmbeddedComponentAttribute_onTerminated(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; - GetNodeModifiers()->getGridRowModifier()->setOnBreakpointChange(self, (const Callback_String_Void*)&value_value); + Callback_TerminationInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TerminationInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TerminationInfo_Void))))};; + GetNodeModifiers()->getEmbeddedComponentModifier()->setOnTerminated(self, (const Callback_TerminationInfo_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(GridRowAttribute_onBreakpointChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_GridRowAttribute_alignItems(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(EmbeddedComponentAttribute_onTerminated, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_EmbeddedComponentAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridRowModifier()->setAlignItems(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + ErrorCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ErrorCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ErrorCallback))))};; + GetNodeModifiers()->getEmbeddedComponentModifier()->setOnError(self, (const ErrorCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V2(GridRowAttribute_alignItems, Ark_NativePointer, Ark_Int32) -Ark_NativePointer impl_Hyperlink_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getHyperlinkModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(EmbeddedComponentAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Flex_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getFlexModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(Hyperlink_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_HyperlinkInterface_setHyperlinkOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Flex_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_FlexInterface_setFlexOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 address_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Resource address_value_buf = {}; - address_value_buf.selector = address_value_buf_selector; - if (address_value_buf_selector == 0) { - address_value_buf.selector = 0; - address_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (address_value_buf_selector == 1) { - address_value_buf.selector = 1; - address_value_buf.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for address_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Resource address_value = static_cast(address_value_buf);; - const auto content_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Resource content_value_buf = {}; - content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_FlexOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - const Ark_Int8 content_value_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Resource content_value_buf_ = {}; - content_value_buf_.selector = content_value_buf__selector; - if (content_value_buf__selector == 0) { - content_value_buf_.selector = 0; - content_value_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (content_value_buf__selector == 1) { - content_value_buf_.selector = 1; - content_value_buf_.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for content_value_buf_ has to be chosen through deserialisation."); - } - content_value_buf.value = static_cast(content_value_buf_); + value_value_buf.value = thisDeserializer.readFlexOptions(); } - Opt_Union_String_Resource content_value = content_value_buf;; - GetNodeModifiers()->getHyperlinkModifier()->setHyperlinkOptions(self, (const Ark_Union_String_Resource*)&address_value, (const Opt_Union_String_Resource*)&content_value); + Opt_FlexOptions value_value = value_value_buf;; + GetNodeModifiers()->getFlexModifier()->setFlexOptions(self, (const Opt_FlexOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(HyperlinkInterface_setHyperlinkOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_HyperlinkAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(FlexInterface_setFlexOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_FlexAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Color_Number_String_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_Color_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getHyperlinkModifier()->setColor(self, (const Ark_Union_Color_Number_String_Resource*)&value_value); + Ark_PointLightStyle value_value = thisDeserializer.readPointLightStyle();; + GetNodeModifiers()->getFlexModifier()->setPointLight(self, (const Ark_PointLightStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(HyperlinkAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Image_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getImageModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(FlexAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_FlowItem_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getFlowItemModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(Image_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ImageInterface_setImageOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(FlowItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_FlowItemInterface_setFlowItemOptions(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_PixelMap_ResourceStr_DrawableDescriptor src_value_buf = {}; - src_value_buf.selector = src_value_buf_selector; - if (src_value_buf_selector == 0) { - src_value_buf.selector = 0; - src_value_buf.value0 = static_cast(thisDeserializer.readPixelMap()); - } - else if (src_value_buf_selector == 1) { - src_value_buf.selector = 1; - const Ark_Int8 src_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceStr src_value_buf_u = {}; - src_value_buf_u.selector = src_value_buf_u_selector; - if (src_value_buf_u_selector == 0) { - src_value_buf_u.selector = 0; - src_value_buf_u.value0 = static_cast(thisDeserializer.readString()); - } - else if (src_value_buf_u_selector == 1) { - src_value_buf_u.selector = 1; - src_value_buf_u.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for src_value_buf_u has to be chosen through deserialisation."); - } - src_value_buf.value1 = static_cast(src_value_buf_u); - } - else if (src_value_buf_selector == 2) { - src_value_buf.selector = 2; - src_value_buf.value2 = static_cast(thisDeserializer.readDrawableDescriptor()); - } - else { - INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation."); - } - Ark_Union_PixelMap_ResourceStr_DrawableDescriptor src_value = static_cast(src_value_buf);; - GetNodeModifiers()->getImageModifier()->setImageOptions0(self, (const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor*)&src_value); + GetNodeModifiers()->getFlowItemModifier()->setFlowItemOptions(self); } -KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageInterface_setImageOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V1(FlowItemInterface_setFlowItemOptions, Ark_NativePointer) +Ark_NativePointer impl_FolderStack_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getFolderStackModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(FolderStack_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_FolderStackInterface_setFolderStackOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent src_value_buf = {}; - src_value_buf.selector = src_value_buf_selector; - if (src_value_buf_selector == 0) { - src_value_buf.selector = 0; - src_value_buf.value0 = static_cast(thisDeserializer.readPixelMap()); - } - else if (src_value_buf_selector == 1) { - src_value_buf.selector = 1; - const Ark_Int8 src_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceStr src_value_buf_u = {}; - src_value_buf_u.selector = src_value_buf_u_selector; - if (src_value_buf_u_selector == 0) { - src_value_buf_u.selector = 0; - src_value_buf_u.value0 = static_cast(thisDeserializer.readString()); - } - else if (src_value_buf_u_selector == 1) { - src_value_buf_u.selector = 1; - src_value_buf_u.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for src_value_buf_u has to be chosen through deserialisation."); - } - src_value_buf.value1 = static_cast(src_value_buf_u); - } - else if (src_value_buf_selector == 2) { - src_value_buf.selector = 2; - src_value_buf.value2 = static_cast(thisDeserializer.readDrawableDescriptor()); - } - else if (src_value_buf_selector == 3) { - src_value_buf.selector = 3; - src_value_buf.value3 = static_cast(thisDeserializer.readInt32()); - } - else { - INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation."); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_FolderStackOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readFolderStackOptions(); } - Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent src_value = static_cast(src_value_buf);; - GetNodeModifiers()->getImageModifier()->setImageOptions1(self, (const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent*)&src_value); + Opt_FolderStackOptions options_value = options_value_buf;; + GetNodeModifiers()->getFolderStackModifier()->setFolderStackOptions(self, (const Opt_FolderStackOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageInterface_setImageOptions2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(FolderStackInterface_setFolderStackOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_FolderStackAttribute_alignContent(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getFolderStackModifier()->setAlignContent(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(FolderStackAttribute_alignContent, Ark_NativePointer, Ark_Int32) +void impl_FolderStackAttribute_onFolderStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_PixelMap_ResourceStr_DrawableDescriptor src_value_buf = {}; - src_value_buf.selector = src_value_buf_selector; - if (src_value_buf_selector == 0) { - src_value_buf.selector = 0; - src_value_buf.value0 = static_cast(thisDeserializer.readPixelMap()); - } - else if (src_value_buf_selector == 1) { - src_value_buf.selector = 1; - const Ark_Int8 src_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceStr src_value_buf_u = {}; - src_value_buf_u.selector = src_value_buf_u_selector; - if (src_value_buf_u_selector == 0) { - src_value_buf_u.selector = 0; - src_value_buf_u.value0 = static_cast(thisDeserializer.readString()); - } - else if (src_value_buf_u_selector == 1) { - src_value_buf_u.selector = 1; - src_value_buf_u.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for src_value_buf_u has to be chosen through deserialisation."); - } - src_value_buf.value1 = static_cast(src_value_buf_u); - } - else if (src_value_buf_selector == 2) { - src_value_buf.selector = 2; - src_value_buf.value2 = static_cast(thisDeserializer.readDrawableDescriptor()); - } - else { - INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation."); - } - Ark_Union_PixelMap_ResourceStr_DrawableDescriptor src_value = static_cast(src_value_buf);; - Ark_ImageAIOptions imageAIOptions_value = thisDeserializer.readImageAIOptions();; - GetNodeModifiers()->getImageModifier()->setImageOptions2(self, (const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor*)&src_value, (const Ark_ImageAIOptions*)&imageAIOptions_value); + OnFoldStatusChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnFoldStatusChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnFoldStatusChangeCallback))))};; + GetNodeModifiers()->getFolderStackModifier()->setOnFolderStateChange(self, (const OnFoldStatusChangeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions2, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAttribute_alt(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_onFolderStateChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_FolderStackAttribute_onHoverStatusChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Resource_PixelMap value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readPixelMap()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Resource_PixelMap value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getImageModifier()->setAlt(self, (const Ark_Union_String_Resource_PixelMap*)&value_value); + OnHoverStatusChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnHoverStatusChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnHoverStatusChangeCallback))))};; + GetNodeModifiers()->getFolderStackModifier()->setOnHoverStatusChange(self, (const OnHoverStatusChangeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ImageAttribute_alt, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAttribute_matchTextDirection(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(FolderStackAttribute_onHoverStatusChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_FolderStackAttribute_enableAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setMatchTextDirection(self, value); + GetNodeModifiers()->getFolderStackModifier()->setEnableAnimation(self, value); } -KOALA_INTEROP_DIRECT_V2(ImageAttribute_matchTextDirection, Ark_NativePointer, Ark_Boolean) -void impl_ImageAttribute_fitOriginalSize(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(FolderStackAttribute_enableAnimation, Ark_NativePointer, Ark_Boolean) +void impl_FolderStackAttribute_autoHalfFold(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setFitOriginalSize(self, value); + GetNodeModifiers()->getFolderStackModifier()->setAutoHalfFold(self, value); } -KOALA_INTEROP_DIRECT_V2(ImageAttribute_fitOriginalSize, Ark_NativePointer, Ark_Boolean) -void impl_ImageAttribute_fillColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(FolderStackAttribute_autoHalfFold, Ark_NativePointer, Ark_Boolean) +Ark_NativePointer impl_FormComponent_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getFormComponentModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(FormComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_FormComponentInterface_setFormComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getImageModifier()->setFillColor(self, (const Ark_ResourceColor*)&value_value); + Ark_FormInfo value_value = thisDeserializer.readFormInfo();; + GetNodeModifiers()->getFormComponentModifier()->setFormComponentOptions(self, (const Ark_FormInfo*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ImageAttribute_fillColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAttribute_objectFit(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(FormComponentInterface_setFormComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_FormComponentAttribute_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setObjectFit(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_SizeOptions value_value = thisDeserializer.readSizeOptions();; + GetNodeModifiers()->getFormComponentModifier()->setSize(self, (const Ark_SizeOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ImageAttribute_objectFit, Ark_NativePointer, Ark_Int32) -void impl_ImageAttribute_objectRepeat(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_size, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_FormComponentAttribute_moduleName(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setObjectRepeat(self, static_cast(value)); + GetNodeModifiers()->getFormComponentModifier()->setModuleName(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V2(ImageAttribute_objectRepeat, Ark_NativePointer, Ark_Int32) -void impl_ImageAttribute_autoResize(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_V2(FormComponentAttribute_moduleName, Ark_NativePointer, KStringPtr) +void impl_FormComponentAttribute_dimension(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setAutoResize(self, value); + GetNodeModifiers()->getFormComponentModifier()->setDimension(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(ImageAttribute_autoResize, Ark_NativePointer, Ark_Boolean) -void impl_ImageAttribute_renderMode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(FormComponentAttribute_dimension, Ark_NativePointer, Ark_Int32) +void impl_FormComponentAttribute_allowUpdate(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setRenderMode(self, static_cast(value)); + GetNodeModifiers()->getFormComponentModifier()->setAllowUpdate(self, value); } -KOALA_INTEROP_DIRECT_V2(ImageAttribute_renderMode, Ark_NativePointer, Ark_Int32) -void impl_ImageAttribute_dynamicRangeMode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(FormComponentAttribute_allowUpdate, Ark_NativePointer, Ark_Boolean) +void impl_FormComponentAttribute_visibility(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setDynamicRangeMode(self, static_cast(value)); + GetNodeModifiers()->getFormComponentModifier()->setVisibility(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(ImageAttribute_dynamicRangeMode, Ark_NativePointer, Ark_Int32) -void impl_ImageAttribute_interpolation(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(FormComponentAttribute_visibility, Ark_NativePointer, Ark_Int32) +void impl_FormComponentAttribute_onAcquired(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setInterpolation(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_FormCallbackInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_FormCallbackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_FormCallbackInfo_Void))))};; + GetNodeModifiers()->getFormComponentModifier()->setOnAcquired(self, (const Callback_FormCallbackInfo_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ImageAttribute_interpolation, Ark_NativePointer, Ark_Int32) -void impl_ImageAttribute_sourceSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onAcquired, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_FormComponentAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_ImageSourceSize value_value = thisDeserializer.readImageSourceSize();; - GetNodeModifiers()->getImageModifier()->setSourceSize(self, (const Ark_ImageSourceSize*)&value_value); + Callback_Literal_Number_errcode_String_msg_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_Number_errcode_String_msg_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_Number_errcode_String_msg_Void))))};; + GetNodeModifiers()->getFormComponentModifier()->setOnError(self, (const Callback_Literal_Number_errcode_String_msg_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ImageAttribute_sourceSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAttribute_syncLoad(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_FormComponentAttribute_onRouter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setSyncLoad(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + FormComponentAttribute_onRouter_callback_type value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_FormComponentAttribute_onRouter_callback_type)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_FormComponentAttribute_onRouter_callback_type))))};; + GetNodeModifiers()->getFormComponentModifier()->setOnRouter(self, (const FormComponentAttribute_onRouter_callback_type*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ImageAttribute_syncLoad, Ark_NativePointer, Ark_Boolean) -void impl_ImageAttribute_colorFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onRouter, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_FormComponentAttribute_onUninstall(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ColorFilter_DrawingColorFilter value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readColorFilter()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readDrawingColorFilter()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_ColorFilter_DrawingColorFilter value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getImageModifier()->setColorFilter(self, (const Ark_Union_ColorFilter_DrawingColorFilter*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ImageAttribute_colorFilter, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAttribute_copyOption(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setCopyOption(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(ImageAttribute_copyOption, Ark_NativePointer, Ark_Int32) -void impl_ImageAttribute_draggable(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setDraggable(self, value); -} -KOALA_INTEROP_DIRECT_V2(ImageAttribute_draggable, Ark_NativePointer, Ark_Boolean) -void impl_ImageAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_PointLightStyle value_value = thisDeserializer.readPointLightStyle();; - GetNodeModifiers()->getImageModifier()->setPointLight(self, (const Ark_PointLightStyle*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ImageAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAttribute_edgeAntialiasing(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setEdgeAntialiasing(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(ImageAttribute_edgeAntialiasing, Ark_NativePointer, KInteropNumber) -void impl_ImageAttribute_onComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Type_ImageAttribute_onComplete_callback_event_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Type_ImageAttribute_onComplete_callback_event_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Type_ImageAttribute_onComplete_callback_event_Void))))};; - GetNodeModifiers()->getImageModifier()->setOnComplete(self, (const Callback_Type_ImageAttribute_onComplete_callback_event_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ImageAttribute_onComplete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - ImageErrorCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ImageErrorCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ImageErrorCallback))))};; - GetNodeModifiers()->getImageModifier()->setOnError(self, (const ImageErrorCallback*)&value_value); + Callback_FormCallbackInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_FormCallbackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_FormCallbackInfo_Void))))};; + GetNodeModifiers()->getFormComponentModifier()->setOnUninstall(self, (const Callback_FormCallbackInfo_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ImageAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onUninstall, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_FormComponentAttribute_onLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getImageModifier()->setOnFinish(self, (const Callback_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ImageAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAttribute_enableAnalyzer(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setEnableAnalyzer(self, value); -} -KOALA_INTEROP_DIRECT_V2(ImageAttribute_enableAnalyzer, Ark_NativePointer, Ark_Boolean) -void impl_ImageAttribute_analyzerConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_ImageAnalyzerConfig value_value = thisDeserializer.readImageAnalyzerConfig();; - GetNodeModifiers()->getImageModifier()->setAnalyzerConfig(self, (const Ark_ImageAnalyzerConfig*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ImageAttribute_analyzerConfig, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAttribute_resizable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_ResizableOptions value_value = thisDeserializer.readResizableOptions();; - GetNodeModifiers()->getImageModifier()->setResizable(self, (const Ark_ResizableOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ImageAttribute_resizable, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAttribute_privacySensitive(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setPrivacySensitive(self, value); -} -KOALA_INTEROP_DIRECT_V2(ImageAttribute_privacySensitive, Ark_NativePointer, Ark_Boolean) -void impl_ImageAttribute_enhancedImageQuality(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageModifier()->setEnhancedImageQuality(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(ImageAttribute_enhancedImageQuality, Ark_NativePointer, Ark_Int32) -Ark_NativePointer impl_ImageAnimator_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getImageAnimatorModifier()->construct(id, flags); + GetNodeModifiers()->getFormComponentModifier()->setOnLoad(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_2(ImageAnimator_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ImageAnimatorInterface_setImageAnimatorOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageAnimatorModifier()->setImageAnimatorOptions(self); +KOALA_INTEROP_DIRECT_V3(FormComponentAttribute_onLoad, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_FormLink_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getFormLinkModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V1(ImageAnimatorInterface_setImageAnimatorOptions, Ark_NativePointer) -void impl_ImageAnimatorAttribute_images(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(FormLink_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_FormLinkInterface_setFormLinkOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_ImageFrameInfo value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - value_value_buf.array[value_value_buf_i] = thisDeserializer.readImageFrameInfo(); - } - Array_ImageFrameInfo value_value = value_value_buf;; - GetNodeModifiers()->getImageAnimatorModifier()->setImages(self, (const Array_ImageFrameInfo*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_images, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAnimatorAttribute_state(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageAnimatorModifier()->setState(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_state, Ark_NativePointer, Ark_Int32) -void impl_ImageAnimatorAttribute_duration(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageAnimatorModifier()->setDuration(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_duration, Ark_NativePointer, KInteropNumber) -void impl_ImageAnimatorAttribute_reverse(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageAnimatorModifier()->setReverse(self, value); -} -KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_reverse, Ark_NativePointer, Ark_Boolean) -void impl_ImageAnimatorAttribute_fixedSize(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageAnimatorModifier()->setFixedSize(self, value); -} -KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_fixedSize, Ark_NativePointer, Ark_Boolean) -void impl_ImageAnimatorAttribute_preDecode(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageAnimatorModifier()->setPreDecode(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_preDecode, Ark_NativePointer, KInteropNumber) -void impl_ImageAnimatorAttribute_fillMode(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageAnimatorModifier()->setFillMode(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_fillMode, Ark_NativePointer, Ark_Int32) -void impl_ImageAnimatorAttribute_iterations(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageAnimatorModifier()->setIterations(self, (const Ark_Number*) (&value)); + Ark_FormLinkOptions options_value = thisDeserializer.readFormLinkOptions();; + GetNodeModifiers()->getFormLinkModifier()->setFormLinkOptions(self, (const Ark_FormLinkOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_iterations, Ark_NativePointer, KInteropNumber) -void impl_ImageAnimatorAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getImageAnimatorModifier()->setOnStart(self, (const Callback_Void*)&value_value); +KOALA_INTEROP_DIRECT_V3(FormLinkInterface_setFormLinkOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Gauge_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getGaugeModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAnimatorAttribute_onPause(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Gauge_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_GaugeInterface_setGaugeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getImageAnimatorModifier()->setOnPause(self, (const Callback_Void*)&value_value); + Ark_GaugeOptions options_value = thisDeserializer.readGaugeOptions();; + GetNodeModifiers()->getGaugeModifier()->setGaugeOptions(self, (const Ark_GaugeOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onPause, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAnimatorAttribute_onRepeat(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GaugeInterface_setGaugeOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GaugeAttribute_value(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getImageAnimatorModifier()->setOnRepeat(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getGaugeModifier()->setValue(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onRepeat, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAnimatorAttribute_onCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GaugeAttribute_value, Ark_NativePointer, KInteropNumber) +void impl_GaugeAttribute_startAngle(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getImageAnimatorModifier()->setOnCancel(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getGaugeModifier()->setStartAngle(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onCancel, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageAnimatorAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GaugeAttribute_startAngle, Ark_NativePointer, KInteropNumber) +void impl_GaugeAttribute_endAngle(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getImageAnimatorModifier()->setOnFinish(self, (const Callback_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_ImageSpan_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getImageSpanModifier()->construct(id, flags); + GetNodeModifiers()->getGaugeModifier()->setEndAngle(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_2(ImageSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ImageSpanInterface_setImageSpanOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GaugeAttribute_endAngle, Ark_NativePointer, KInteropNumber) +void impl_GaugeAttribute_colors(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_PixelMap value_value_buf = {}; + Ark_Type_GaugeAttribute_colors_colors value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf_u = {}; + Ark_ResourceColor value_value_buf_u = {}; value_value_buf_u.selector = value_value_buf_u_selector; if (value_value_buf_u_selector == 0) { value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + value_value_buf_u.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_u_selector == 1) { value_value_buf_u.selector = 1; - value_value_buf_u.value1 = thisDeserializer.readResource(); + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 3) { + value_value_buf_u.selector = 3; + value_value_buf_u.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); } - value_value_buf.value0 = static_cast(value_value_buf_u); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readPixelMap()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_ResourceStr_PixelMap value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getImageSpanModifier()->setImageSpanOptions(self, (const Ark_Union_ResourceStr_PixelMap*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ImageSpanInterface_setImageSpanOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageSpanAttribute_verticalAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageSpanModifier()->setVerticalAlign(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(ImageSpanAttribute_verticalAlign, Ark_NativePointer, Ark_Int32) -void impl_ImageSpanAttribute_colorFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ColorFilter_DrawingColorFilter value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readColorFilter()); + value_value_buf.value0 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readDrawingColorFilter()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + value_value_buf.value1 = static_cast(thisDeserializer.readLinearGradient()); } - Ark_Union_ColorFilter_DrawingColorFilter value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getImageSpanModifier()->setColorFilter(self, (const Ark_Union_ColorFilter_DrawingColorFilter*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_colorFilter, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageSpanAttribute_objectFit(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageSpanModifier()->setObjectFit(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(ImageSpanAttribute_objectFit, Ark_NativePointer, Ark_Int32) -void impl_ImageSpanAttribute_onComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); + Array_Tuple_Union_ResourceColor_LinearGradient_Number value_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf_u, value_value_buf_u_length); + for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { + Ark_Tuple_Union_ResourceColor_LinearGradient_Number value_value_buf_u_buf = {}; + const Ark_Int8 value_value_buf_u_buf_value0_buf_selector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_LinearGradient value_value_buf_u_buf_value0_buf = {}; + value_value_buf_u_buf_value0_buf.selector = value_value_buf_u_buf_value0_buf_selector; + if (value_value_buf_u_buf_value0_buf_selector == 0) { + value_value_buf_u_buf_value0_buf.selector = 0; + const Ark_Int8 value_value_buf_u_buf_value0_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_u_buf_value0_buf_u = {}; + value_value_buf_u_buf_value0_buf_u.selector = value_value_buf_u_buf_value0_buf_u_selector; + if (value_value_buf_u_buf_value0_buf_u_selector == 0) { + value_value_buf_u_buf_value0_buf_u.selector = 0; + value_value_buf_u_buf_value0_buf_u.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_u_buf_value0_buf_u_selector == 1) { + value_value_buf_u_buf_value0_buf_u.selector = 1; + value_value_buf_u_buf_value0_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_buf_value0_buf_u_selector == 2) { + value_value_buf_u_buf_value0_buf_u.selector = 2; + value_value_buf_u_buf_value0_buf_u.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_buf_value0_buf_u_selector == 3) { + value_value_buf_u_buf_value0_buf_u.selector = 3; + value_value_buf_u_buf_value0_buf_u.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_buf_value0_buf_u has to be chosen through deserialisation."); + } + value_value_buf_u_buf_value0_buf.value0 = static_cast(value_value_buf_u_buf_value0_buf_u); + } + else if (value_value_buf_u_buf_value0_buf_selector == 1) { + value_value_buf_u_buf_value0_buf.selector = 1; + value_value_buf_u_buf_value0_buf.value1 = static_cast(thisDeserializer.readLinearGradient()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_buf_value0_buf has to be chosen through deserialisation."); + } + value_value_buf_u_buf.value0 = static_cast(value_value_buf_u_buf_value0_buf); + value_value_buf_u_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf_u.array[value_value_buf_u_i] = value_value_buf_u_buf; + } + value_value_buf.value2 = value_value_buf_u; + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Type_GaugeAttribute_colors_colors value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getGaugeModifier()->setColors(self, (const Ark_Type_GaugeAttribute_colors_colors*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(GaugeAttribute_colors, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GaugeAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - ImageCompleteCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ImageCompleteCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ImageCompleteCallback))))};; - GetNodeModifiers()->getImageSpanModifier()->setOnComplete(self, (const ImageCompleteCallback*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getGaugeModifier()->setStrokeWidth(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_onComplete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageSpanAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GaugeAttribute_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GaugeAttribute_description(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - ImageErrorCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ImageErrorCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ImageErrorCallback))))};; - GetNodeModifiers()->getImageSpanModifier()->setOnError(self, (const ImageErrorCallback*)&value_value); + CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; + GetNodeModifiers()->getGaugeModifier()->setDescription(self, (const CustomNodeBuilder*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ImageSpanAttribute_alt(Ark_NativePointer thisPtr, Ark_NativePointer value) { +KOALA_INTEROP_DIRECT_V3(GaugeAttribute_description, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GaugeAttribute_trackShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageSpanModifier()->setAlt(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(ImageSpanAttribute_alt, Ark_NativePointer, Ark_NativePointer) -Ark_NativePointer impl_Line_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getLineModifier()->construct(id, flags); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_GaugeShadowOptions value_value = thisDeserializer.readGaugeShadowOptions();; + GetNodeModifiers()->getGaugeModifier()->setTrackShadow(self, (const Ark_GaugeShadowOptions*)&value_value); } -KOALA_INTEROP_DIRECT_2(Line_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_LineInterface_setLineOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GaugeAttribute_trackShadow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GaugeAttribute_indicator(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_LineOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readLineOptions(); - } - Opt_LineOptions options_value = options_value_buf;; - GetNodeModifiers()->getLineModifier()->setLineOptions(self, (const Opt_LineOptions*)&options_value); + Ark_GaugeIndicatorOptions value_value = thisDeserializer.readGaugeIndicatorOptions();; + GetNodeModifiers()->getGaugeModifier()->setIndicator(self, (const Ark_GaugeIndicatorOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(LineInterface_setLineOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_LineAttribute_startPoint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GaugeAttribute_indicator, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GaugeAttribute_privacySensitive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_Union_String_Number_Resource value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_buf = {}; - value_value_buf_buf.selector = value_value_buf_buf_selector; - if (value_value_buf_buf_selector == 0) { - value_value_buf_buf.selector = 0; - value_value_buf_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_buf_selector == 1) { - value_value_buf_buf.selector = 1; - value_value_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_buf_selector == 2) { - value_value_buf_buf.selector = 2; - value_value_buf_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); - } - value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); } - Array_Union_String_Number_Resource value_value = value_value_buf;; - GetNodeModifiers()->getLineModifier()->setStartPoint(self, (const Array_Union_String_Number_Resource*)&value_value); + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getGaugeModifier()->setPrivacySensitive(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(LineAttribute_startPoint, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_LineAttribute_endPoint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GaugeAttribute_privacySensitive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GaugeAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_Union_String_Number_Resource value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_buf = {}; - value_value_buf_buf.selector = value_value_buf_buf_selector; - if (value_value_buf_buf_selector == 0) { - value_value_buf_buf.selector = 0; - value_value_buf_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_buf_selector == 1) { - value_value_buf_buf.selector = 1; - value_value_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_buf_selector == 2) { - value_value_buf_buf.selector = 2; - value_value_buf_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); - } - value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); - } - Array_Union_String_Number_Resource value_value = value_value_buf;; - GetNodeModifiers()->getLineModifier()->setEndPoint(self, (const Array_Union_String_Number_Resource*)&value_value); + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getGaugeModifier()->setContentModifier(self, (const Ark_Object*)&value_value); } -KOALA_INTEROP_DIRECT_V3(LineAttribute_endPoint, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_List_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getListModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(GaugeAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Grid_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getGridModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(List_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ListInterface_setListOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Grid_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_GridInterface_setGridOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ListOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + const auto scroller_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Scroller scroller_value_buf = {}; + scroller_value_buf.tag = scroller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scroller_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readListOptions(); + scroller_value_buf.value = static_cast(thisDeserializer.readScroller()); } - Opt_ListOptions options_value = options_value_buf;; - GetNodeModifiers()->getListModifier()->setListOptions(self, (const Opt_ListOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(ListInterface_setListOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_alignListItem(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setAlignListItem(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(ListAttribute_alignListItem, Ark_NativePointer, Ark_Int32) -void impl_ListAttribute_listDirection(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setListDirection(self, static_cast(value)); + Opt_Scroller scroller_value = scroller_value_buf;; + const auto layoutOptions_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_GridLayoutOptions layoutOptions_value_buf = {}; + layoutOptions_value_buf.tag = layoutOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (layoutOptions_value_buf_runtimeType)) + { + layoutOptions_value_buf.value = thisDeserializer.readGridLayoutOptions(); + } + Opt_GridLayoutOptions layoutOptions_value = layoutOptions_value_buf;; + GetNodeModifiers()->getGridModifier()->setGridOptions(self, (const Opt_Scroller*)&scroller_value, (const Opt_GridLayoutOptions*)&layoutOptions_value); } -KOALA_INTEROP_DIRECT_V2(ListAttribute_listDirection, Ark_NativePointer, Ark_Int32) -void impl_ListAttribute_scrollBar(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(GridInterface_setGridOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_columnsTemplate(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setScrollBar(self, static_cast(value)); + GetNodeModifiers()->getGridModifier()->setColumnsTemplate(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V2(ListAttribute_scrollBar, Ark_NativePointer, Ark_Int32) -void impl_ListAttribute_contentStartOffset(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_V2(GridAttribute_columnsTemplate, Ark_NativePointer, KStringPtr) +void impl_GridAttribute_rowsTemplate(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setContentStartOffset(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getGridModifier()->setRowsTemplate(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V2(ListAttribute_contentStartOffset, Ark_NativePointer, KInteropNumber) -void impl_ListAttribute_contentEndOffset(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_V2(GridAttribute_rowsTemplate, Ark_NativePointer, KStringPtr) +void impl_GridAttribute_columnsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setContentEndOffset(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getGridModifier()->setColumnsGap(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ListAttribute_contentEndOffset, Ark_NativePointer, KInteropNumber) -void impl_ListAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_columnsGap, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_rowsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ListDividerOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readListDividerOptions(); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } - Opt_ListDividerOptions value_value = value_value_buf;; - GetNodeModifiers()->getListModifier()->setDivider(self, (const Opt_ListDividerOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ListAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_editMode(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setEditMode(self, value); -} -KOALA_INTEROP_DIRECT_V2(ListAttribute_editMode, Ark_NativePointer, Ark_Boolean) -void impl_ListAttribute_multiSelectable(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setMultiSelectable(self, value); -} -KOALA_INTEROP_DIRECT_V2(ListAttribute_multiSelectable, Ark_NativePointer, Ark_Boolean) -void impl_ListAttribute_cachedCount0(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setCachedCount0(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(ListAttribute_cachedCount0, Ark_NativePointer, KInteropNumber) -void impl_ListAttribute_cachedCount1(Ark_NativePointer thisPtr, KInteropNumber count, Ark_Boolean show) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setCachedCount1(self, (const Ark_Number*) (&count), show); -} -KOALA_INTEROP_DIRECT_V3(ListAttribute_cachedCount1, Ark_NativePointer, KInteropNumber, Ark_Boolean) -void impl_ListAttribute_chainAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setChainAnimation(self, value); -} -KOALA_INTEROP_DIRECT_V2(ListAttribute_chainAnimation, Ark_NativePointer, Ark_Boolean) -void impl_ListAttribute_chainAnimationOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_ChainAnimationOptions value_value = thisDeserializer.readChainAnimationOptions();; - GetNodeModifiers()->getListModifier()->setChainAnimationOptions(self, (const Ark_ChainAnimationOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ListAttribute_chainAnimationOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_sticky(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setSticky(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(ListAttribute_sticky, Ark_NativePointer, Ark_Int32) -void impl_ListAttribute_scrollSnapAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setScrollSnapAlign(self, static_cast(value)); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getGridModifier()->setRowsGap(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ListAttribute_scrollSnapAlign, Ark_NativePointer, Ark_Int32) -void impl_ListAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_rowsGap, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_scrollBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_NestedScrollOptions value_value = thisDeserializer.readNestedScrollOptions();; - GetNodeModifiers()->getListModifier()->setNestedScroll(self, (const Ark_NestedScrollOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ListAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_enableScrollInteraction(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setEnableScrollInteraction(self, value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getGridModifier()->setScrollBarWidth(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ListAttribute_enableScrollInteraction, Ark_NativePointer, Ark_Boolean) -void impl_ListAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_scrollBarWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_scrollBarColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_Resource value_value_buf = {}; + Ark_Union_Color_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getListModifier()->setFriction(self, (const Ark_Union_Number_Resource*)&value_value); + Ark_Union_Color_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getGridModifier()->setScrollBarColor(self, (const Ark_Union_Color_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_friction, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_childrenMainSize(Ark_NativePointer thisPtr, Ark_NativePointer value) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_scrollBarColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_scrollBar(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setChildrenMainSize(self, static_cast(value)); + GetNodeModifiers()->getGridModifier()->setScrollBar(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(ListAttribute_childrenMainSize, Ark_NativePointer, Ark_NativePointer) -void impl_ListAttribute_maintainVisibleContentPosition(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(GridAttribute_scrollBar, Ark_NativePointer, Ark_Int32) +void impl_GridAttribute_onScrollBarUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setMaintainVisibleContentPosition(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Number_ComputedBarAttribute value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_ComputedBarAttribute)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_ComputedBarAttribute))))};; + GetNodeModifiers()->getGridModifier()->setOnScrollBarUpdate(self, (const Callback_Number_Number_ComputedBarAttribute*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ListAttribute_maintainVisibleContentPosition, Ark_NativePointer, Ark_Boolean) -void impl_ListAttribute_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollBarUpdate, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_onScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; - GetNodeModifiers()->getListModifier()->setOnScroll(self, (const Callback_Number_Number_Void*)&value_value); + GetNodeModifiers()->getGridModifier()->setOnScrollIndex(self, (const Callback_Number_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollIndex, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_cachedCount0(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Number_Void))))};; - GetNodeModifiers()->getListModifier()->setOnScrollIndex(self, (const Callback_Number_Number_Number_Void*)&value_value); + GetNodeModifiers()->getGridModifier()->setCachedCount0(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollIndex, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onScrollVisibleContentChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GridAttribute_cachedCount0, Ark_NativePointer, KInteropNumber) +void impl_GridAttribute_cachedCount1(Ark_NativePointer thisPtr, KInteropNumber count, Ark_Boolean show) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnScrollVisibleContentChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnScrollVisibleContentChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnScrollVisibleContentChangeCallback))))};; - GetNodeModifiers()->getListModifier()->setOnScrollVisibleContentChange(self, (const OnScrollVisibleContentChangeCallback*)&value_value); + GetNodeModifiers()->getGridModifier()->setCachedCount1(self, (const Ark_Number*) (&count), show); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollVisibleContentChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onReachStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_cachedCount1, Ark_NativePointer, KInteropNumber, Ark_Boolean) +void impl_GridAttribute_editMode(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getListModifier()->setOnReachStart(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getGridModifier()->setEditMode(self, value); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onReachStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onReachEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GridAttribute_editMode, Ark_NativePointer, Ark_Boolean) +void impl_GridAttribute_multiSelectable(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getListModifier()->setOnReachEnd(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getGridModifier()->setMultiSelectable(self, value); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onReachEnd, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onScrollStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GridAttribute_multiSelectable, Ark_NativePointer, Ark_Boolean) +void impl_GridAttribute_maxCount(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getListModifier()->setOnScrollStart(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getGridModifier()->setMaxCount(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GridAttribute_maxCount, Ark_NativePointer, KInteropNumber) +void impl_GridAttribute_minCount(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getListModifier()->setOnScrollStop(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getGridModifier()->setMinCount(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollStop, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onItemDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GridAttribute_minCount, Ark_NativePointer, KInteropNumber) +void impl_GridAttribute_cellLength(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Boolean))))};; - GetNodeModifiers()->getListModifier()->setOnItemDelete(self, (const Callback_Number_Boolean*)&value_value); + GetNodeModifiers()->getGridModifier()->setCellLength(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDelete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onItemMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GridAttribute_cellLength, Ark_NativePointer, KInteropNumber) +void impl_GridAttribute_layoutDirection(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Boolean))))};; - GetNodeModifiers()->getListModifier()->setOnItemMove(self, (const Callback_Number_Number_Boolean*)&value_value); + GetNodeModifiers()->getGridModifier()->setLayoutDirection(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemMove, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onItemDragStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GridAttribute_layoutDirection, Ark_NativePointer, Ark_Int32) +void impl_GridAttribute_supportAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getGridModifier()->setSupportAnimation(self, value); +} +KOALA_INTEROP_DIRECT_V2(GridAttribute_supportAnimation, Ark_NativePointer, Ark_Boolean) +void impl_GridAttribute_onItemDragStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - ListAttribute_onItemDragStart_event_type value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ListAttribute_onItemDragStart_event_type)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ListAttribute_onItemDragStart_event_type))))};; - GetNodeModifiers()->getListModifier()->setOnItemDragStart(self, (const ListAttribute_onItemDragStart_event_type*)&value_value); + GridAttribute_onItemDragStart_event_type value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_GridAttribute_onItemDragStart_event_type)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_GridAttribute_onItemDragStart_event_type))))};; + GetNodeModifiers()->getGridModifier()->setOnItemDragStart(self, (const GridAttribute_onItemDragStart_event_type*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onItemDragEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_onItemDragEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_ItemDragInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Void))))};; - GetNodeModifiers()->getListModifier()->setOnItemDragEnter(self, (const Callback_ItemDragInfo_Void*)&value_value); + GetNodeModifiers()->getGridModifier()->setOnItemDragEnter(self, (const Callback_ItemDragInfo_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragEnter, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onItemDragMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragEnter, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_onItemDragMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_ItemDragInfo_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Number_Void))))};; - GetNodeModifiers()->getListModifier()->setOnItemDragMove(self, (const Callback_ItemDragInfo_Number_Number_Void*)&value_value); + GetNodeModifiers()->getGridModifier()->setOnItemDragMove(self, (const Callback_ItemDragInfo_Number_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragMove, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onItemDragLeave(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragMove, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_onItemDragLeave(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_ItemDragInfo_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Void))))};; - GetNodeModifiers()->getListModifier()->setOnItemDragLeave(self, (const Callback_ItemDragInfo_Number_Void*)&value_value); + GetNodeModifiers()->getGridModifier()->setOnItemDragLeave(self, (const Callback_ItemDragInfo_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragLeave, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onItemDrop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDragLeave, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_onItemDrop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_ItemDragInfo_Number_Number_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void))))};; - GetNodeModifiers()->getListModifier()->setOnItemDrop(self, (const Callback_ItemDragInfo_Number_Number_Boolean_Void*)&value_value); + GetNodeModifiers()->getGridModifier()->setOnItemDrop(self, (const Callback_ItemDragInfo_Number_Number_Boolean_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDrop, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_onScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_onItemDrop, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_ScrollState_Literal_Number_offsetRemain value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain))))};; - GetNodeModifiers()->getListModifier()->setOnScrollFrameBegin(self, (const Callback_Number_ScrollState_Literal_Number_offsetRemain*)&value_value); + Ark_NestedScrollOptions value_value = thisDeserializer.readNestedScrollOptions();; + GetNodeModifiers()->getGridModifier()->setNestedScroll(self, (const Ark_NestedScrollOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_lanes(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_enableScrollInteraction(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getGridModifier()->setEnableScrollInteraction(self, value); +} +KOALA_INTEROP_DIRECT_V2(GridAttribute_enableScrollInteraction, Ark_NativePointer, Ark_Boolean) +void impl_GridAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_LengthConstrain value_value_buf = {}; + Ark_Union_Number_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -8571,81 +8192,72 @@ void impl_ListAttribute_lanes(Ark_NativePointer thisPtr, KSerializerBuffer thisA } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - Ark_LengthConstrain value_value_buf_u = {}; - const Ark_Int8 value_value_buf_u_minLength_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_minLength_buf = {}; - value_value_buf_u_minLength_buf.selector = value_value_buf_u_minLength_buf_selector; - if (value_value_buf_u_minLength_buf_selector == 0) { - value_value_buf_u_minLength_buf.selector = 0; - value_value_buf_u_minLength_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_minLength_buf_selector == 1) { - value_value_buf_u_minLength_buf.selector = 1; - value_value_buf_u_minLength_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_minLength_buf_selector == 2) { - value_value_buf_u_minLength_buf.selector = 2; - value_value_buf_u_minLength_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_minLength_buf has to be chosen through deserialisation."); - } - value_value_buf_u.minLength = static_cast(value_value_buf_u_minLength_buf); - const Ark_Int8 value_value_buf_u_maxLength_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_maxLength_buf = {}; - value_value_buf_u_maxLength_buf.selector = value_value_buf_u_maxLength_buf_selector; - if (value_value_buf_u_maxLength_buf_selector == 0) { - value_value_buf_u_maxLength_buf.selector = 0; - value_value_buf_u_maxLength_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_maxLength_buf_selector == 1) { - value_value_buf_u_maxLength_buf.selector = 1; - value_value_buf_u_maxLength_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_maxLength_buf_selector == 2) { - value_value_buf_u_maxLength_buf.selector = 2; - value_value_buf_u_maxLength_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_maxLength_buf has to be chosen through deserialisation."); - } - value_value_buf_u.maxLength = static_cast(value_value_buf_u_maxLength_buf); - value_value_buf.value1 = value_value_buf_u; + value_value_buf.value1 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_LengthConstrain value_value = static_cast(value_value_buf);; - const auto gutter_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource gutter_value_buf = {}; - gutter_value_buf.tag = gutter_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (gutter_value_buf_runtimeType)) + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getGridModifier()->setFriction(self, (const Ark_Union_Number_Resource*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_friction, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_alignItems(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_GridItemAlignment value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - const Ark_Int8 gutter_value_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource gutter_value_buf_ = {}; - gutter_value_buf_.selector = gutter_value_buf__selector; - if (gutter_value_buf__selector == 0) { - gutter_value_buf_.selector = 0; - gutter_value_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (gutter_value_buf__selector == 1) { - gutter_value_buf_.selector = 1; - gutter_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (gutter_value_buf__selector == 2) { - gutter_value_buf_.selector = 2; - gutter_value_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for gutter_value_buf_ has to be chosen through deserialisation."); - } - gutter_value_buf.value = static_cast(gutter_value_buf_); + value_value_buf.value = static_cast(thisDeserializer.readInt32()); } - Opt_Union_String_Number_Resource gutter_value = gutter_value_buf;; - GetNodeModifiers()->getListModifier()->setLanes(self, (const Ark_Union_Number_LengthConstrain*)&value_value, (const Opt_Union_String_Number_Resource*)&gutter_value); + Opt_GridItemAlignment value_value = value_value_buf;; + GetNodeModifiers()->getGridModifier()->setAlignItems(self, (const Opt_GridItemAlignment*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ListAttribute_lanes, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridAttribute_alignItems, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; + GetNodeModifiers()->getGridModifier()->setOnScroll(self, (const Callback_Number_Number_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_onReachStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getGridModifier()->setOnReachStart(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_onReachStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_onReachEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getGridModifier()->setOnReachEnd(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_onReachEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_onScrollStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getGridModifier()->setOnScrollStart(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_onScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getGridModifier()->setOnScrollStop(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollStop, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_onScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_ScrollState_Literal_Number_offsetRemain value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain))))};; + GetNodeModifiers()->getGridModifier()->setOnScrollFrameBegin(self, (const Callback_Number_ScrollState_Literal_Number_offsetRemain*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(GridAttribute_onScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -8656,359 +8268,329 @@ void impl_ListAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 value, K options_value_buf.value = thisDeserializer.readEdgeEffectOptions(); } Opt_EdgeEffectOptions options_value = options_value_buf;; - GetNodeModifiers()->getListModifier()->setEdgeEffect(self, static_cast(value), (const Opt_EdgeEffectOptions*)&options_value); + GetNodeModifiers()->getGridModifier()->setEdgeEffect(self, static_cast(value), (const Opt_EdgeEffectOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V4(ListAttribute_edgeEffect, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) -Ark_NativePointer impl_ListItem_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getListItemModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V4(GridAttribute_edgeEffect, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) +Ark_NativePointer impl_GridItem_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getGridItemModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(ListItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ListItemInterface_setListItemOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(GridItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_GridItemInterface_setGridItemOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ListItemOptions value_value_buf = {}; + Opt_GridItemOptions value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readListItemOptions(); + value_value_buf.value = thisDeserializer.readGridItemOptions(); } - Opt_ListItemOptions value_value = value_value_buf;; - GetNodeModifiers()->getListItemModifier()->setListItemOptions0(self, (const Opt_ListItemOptions*)&value_value); + Opt_GridItemOptions value_value = value_value_buf;; + GetNodeModifiers()->getGridItemModifier()->setGridItemOptions(self, (const Opt_GridItemOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ListItemInterface_setListItemOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListItemInterface_setListItemOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridItemInterface_setGridItemOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridItemAttribute_rowStart(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_String value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = static_cast(thisDeserializer.readString()); - } - Opt_String value_value = value_value_buf;; - GetNodeModifiers()->getListItemModifier()->setListItemOptions1(self, (const Opt_String*)&value_value); + GetNodeModifiers()->getGridItemModifier()->setRowStart(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(ListItemInterface_setListItemOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListItemAttribute_sticky(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(GridItemAttribute_rowStart, Ark_NativePointer, KInteropNumber) +void impl_GridItemAttribute_rowEnd(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListItemModifier()->setSticky(self, static_cast(value)); + GetNodeModifiers()->getGridItemModifier()->setRowEnd(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V2(ListItemAttribute_sticky, Ark_NativePointer, Ark_Int32) -void impl_ListItemAttribute_editable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GridItemAttribute_rowEnd, Ark_NativePointer, KInteropNumber) +void impl_GridItemAttribute_columnStart(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Boolean_EditMode value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readBoolean(); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_Boolean_EditMode value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getListItemModifier()->setEditable(self, (const Ark_Union_Boolean_EditMode*)&value_value); + GetNodeModifiers()->getGridItemModifier()->setColumnStart(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(ListItemAttribute_editable, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListItemAttribute_selectable(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(GridItemAttribute_columnStart, Ark_NativePointer, KInteropNumber) +void impl_GridItemAttribute_columnEnd(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListItemModifier()->setSelectable(self, value); + GetNodeModifiers()->getGridItemModifier()->setColumnEnd(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V2(ListItemAttribute_selectable, Ark_NativePointer, Ark_Boolean) -void impl_ListItemAttribute_selected(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(GridItemAttribute_columnEnd, Ark_NativePointer, KInteropNumber) +void impl_GridItemAttribute_forceRebuild(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListItemModifier()->setSelected(self, value); + GetNodeModifiers()->getGridItemModifier()->setForceRebuild(self, value); } -KOALA_INTEROP_DIRECT_V2(ListItemAttribute_selected, Ark_NativePointer, Ark_Boolean) -void impl_ListItemAttribute_swipeAction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GridItemAttribute_forceRebuild, Ark_NativePointer, Ark_Boolean) +void impl_GridItemAttribute_selectable(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_SwipeActionOptions value_value = thisDeserializer.readSwipeActionOptions();; - GetNodeModifiers()->getListItemModifier()->setSwipeAction(self, (const Ark_SwipeActionOptions*)&value_value); + GetNodeModifiers()->getGridItemModifier()->setSelectable(self, value); } -KOALA_INTEROP_DIRECT_V3(ListItemAttribute_swipeAction, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListItemAttribute_onSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(GridItemAttribute_selectable, Ark_NativePointer, Ark_Boolean) +void impl_GridItemAttribute_selected(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getGridItemModifier()->setSelected(self, value); +} +KOALA_INTEROP_DIRECT_V2(GridItemAttribute_selected, Ark_NativePointer, Ark_Boolean) +void impl_GridItemAttribute_onSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getListItemModifier()->setOnSelect(self, (const Callback_Boolean_Void*)&value_value); + GetNodeModifiers()->getGridItemModifier()->setOnSelect(self, (const Callback_Boolean_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ListItemAttribute_onSelect, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListItemAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridItemAttribute_onSelect, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridItemAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getListItemModifier()->set_onChangeEvent_selected(self, (const Callback_Boolean_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(ListItemAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_ListItemGroup_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getListItemGroupModifier()->construct(id, flags); + GetNodeModifiers()->getGridItemModifier()->set_onChangeEvent_selected(self, (const Callback_Boolean_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_2(ListItemGroup_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ListItemGroupInterface_setListItemGroupOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ListItemGroupOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readListItemGroupOptions(); - } - Opt_ListItemGroupOptions options_value = options_value_buf;; - GetNodeModifiers()->getListItemGroupModifier()->setListItemGroupOptions(self, (const Opt_ListItemGroupOptions*)&options_value); +KOALA_INTEROP_DIRECT_V3(GridItemAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_GridCol_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getGridColModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(ListItemGroupInterface_setListItemGroupOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListItemGroupAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(GridCol_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_GridColInterface_setGridColOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ListDividerOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + const auto option_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_GridColOptions option_value_buf = {}; + option_value_buf.tag = option_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (option_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readListDividerOptions(); + option_value_buf.value = thisDeserializer.readGridColOptions(); } - Opt_ListDividerOptions value_value = value_value_buf;; - GetNodeModifiers()->getListItemGroupModifier()->setDivider(self, (const Opt_ListDividerOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ListItemGroupAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ListItemGroupAttribute_childrenMainSize(Ark_NativePointer thisPtr, Ark_NativePointer value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListItemGroupModifier()->setChildrenMainSize(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(ListItemGroupAttribute_childrenMainSize, Ark_NativePointer, Ark_NativePointer) -Ark_NativePointer impl_LoadingProgress_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getLoadingProgressModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(LoadingProgress_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_LoadingProgressInterface_setLoadingProgressOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getLoadingProgressModifier()->setLoadingProgressOptions(self); + Opt_GridColOptions option_value = option_value_buf;; + GetNodeModifiers()->getGridColModifier()->setGridColOptions(self, (const Opt_GridColOptions*)&option_value); } -KOALA_INTEROP_DIRECT_V1(LoadingProgressInterface_setLoadingProgressOptions, Ark_NativePointer) -void impl_LoadingProgressAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridColInterface_setGridColOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridColAttribute_span(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Number_GridColColumnOption value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = thisDeserializer.readGridColColumnOption(); } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getLoadingProgressModifier()->setColor(self, (const Ark_ResourceColor*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(LoadingProgressAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_LoadingProgressAttribute_enableLoading(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getLoadingProgressModifier()->setEnableLoading(self, value); -} -KOALA_INTEROP_DIRECT_V2(LoadingProgressAttribute_enableLoading, Ark_NativePointer, Ark_Boolean) -void impl_LoadingProgressAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getLoadingProgressModifier()->setContentModifier(self, (const Ark_Object*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(LoadingProgressAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_LocationButton_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getLocationButtonModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(LocationButton_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_LocationButtonInterface_setLocationButtonOptions0(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getLocationButtonModifier()->setLocationButtonOptions0(self); -} -KOALA_INTEROP_DIRECT_V1(LocationButtonInterface_setLocationButtonOptions0, Ark_NativePointer) -void impl_LocationButtonInterface_setLocationButtonOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_LocationButtonOptions options_value = thisDeserializer.readLocationButtonOptions();; - GetNodeModifiers()->getLocationButtonModifier()->setLocationButtonOptions1(self, (const Ark_LocationButtonOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(LocationButtonInterface_setLocationButtonOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_LocationButtonAttribute_onClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_ClickEvent_LocationButtonOnClickResult_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void))))};; - GetNodeModifiers()->getLocationButtonModifier()->setOnClick(self, (const Callback_ClickEvent_LocationButtonOnClickResult_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(LocationButtonAttribute_onClick, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Marquee_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getMarqueeModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Marquee_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_MarqueeInterface_setMarqueeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_MarqueeOptions options_value = thisDeserializer.readMarqueeOptions();; - GetNodeModifiers()->getMarqueeModifier()->setMarqueeOptions(self, (const Ark_MarqueeOptions*)&options_value); + Ark_Union_Number_GridColColumnOption value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getGridColModifier()->setSpan(self, (const Ark_Union_Number_GridColColumnOption*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MarqueeInterface_setMarqueeOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MarqueeAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridColAttribute_span, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridColAttribute_gridColOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Number_GridColColumnOption value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value1 = thisDeserializer.readGridColColumnOption(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getMarqueeModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_Number_GridColColumnOption value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getGridColModifier()->setGridColOffset(self, (const Ark_Union_Number_GridColColumnOption*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MarqueeAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridColAttribute_gridColOffset, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridColAttribute_order(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Number_GridColColumnOption value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value1 = thisDeserializer.readGridColColumnOption(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getMarqueeModifier()->setFontSize(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Union_Number_GridColColumnOption value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getGridColModifier()->setOrder(self, (const Ark_Union_Number_GridColColumnOption*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MarqueeAttribute_allowScale(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(GridColAttribute_order, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_GridContainer_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getGridContainerModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(GridContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_GridContainerInterface_setGridContainerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getMarqueeModifier()->setAllowScale(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_GridContainerOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readGridContainerOptions(); + } + Opt_GridContainerOptions value_value = value_value_buf;; + GetNodeModifiers()->getGridContainerModifier()->setGridContainerOptions(self, (const Opt_GridContainerOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(MarqueeAttribute_allowScale, Ark_NativePointer, Ark_Boolean) -void impl_MarqueeAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(GridContainerInterface_setGridContainerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_GridRow_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getGridRowModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(GridRow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_GridRowInterface_setGridRowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + const auto option_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_GridRowOptions option_value_buf = {}; + option_value_buf.tag = option_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (option_value_buf_runtimeType)) + { + option_value_buf.value = thisDeserializer.readGridRowOptions(); } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + Opt_GridRowOptions option_value = option_value_buf;; + GetNodeModifiers()->getGridRowModifier()->setGridRowOptions(self, (const Opt_GridRowOptions*)&option_value); +} +KOALA_INTEROP_DIRECT_V3(GridRowInterface_setGridRowOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridRowAttribute_onBreakpointChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; + GetNodeModifiers()->getGridRowModifier()->setOnBreakpointChange(self, (const Callback_String_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(GridRowAttribute_onBreakpointChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_GridRowAttribute_alignItems(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getGridRowModifier()->setAlignItems(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(GridRowAttribute_alignItems, Ark_NativePointer, Ark_Int32) +Ark_NativePointer impl_Hyperlink_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getHyperlinkModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Hyperlink_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_HyperlinkInterface_setHyperlinkOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 address_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_String_Resource address_value_buf = {}; + address_value_buf.selector = address_value_buf_selector; + if (address_value_buf_selector == 0) { + address_value_buf.selector = 0; + address_value_buf.value0 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); + else if (address_value_buf_selector == 1) { + address_value_buf.selector = 1; + address_value_buf.value1 = thisDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for address_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getMarqueeModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); + Ark_Union_String_Resource address_value = static_cast(address_value_buf);; + const auto content_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_Resource content_value_buf = {}; + content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType)) + { + const Ark_Int8 content_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_String_Resource content_value_buf_ = {}; + content_value_buf_.selector = content_value_buf__selector; + if (content_value_buf__selector == 0) { + content_value_buf_.selector = 0; + content_value_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (content_value_buf__selector == 1) { + content_value_buf_.selector = 1; + content_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for content_value_buf_ has to be chosen through deserialisation."); + } + content_value_buf.value = static_cast(content_value_buf_); + } + Opt_Union_String_Resource content_value = content_value_buf;; + GetNodeModifiers()->getHyperlinkModifier()->setHyperlinkOptions(self, (const Ark_Union_String_Resource*)&address_value, (const Opt_Union_String_Resource*)&content_value); } -KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MarqueeAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(HyperlinkInterface_setHyperlinkOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_HyperlinkAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Resource value_value_buf = {}; + Ark_Union_Color_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getMarqueeModifier()->setFontFamily(self, (const Ark_Union_String_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MarqueeAttribute_marqueeUpdateStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getMarqueeModifier()->setMarqueeUpdateStrategy(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(MarqueeAttribute_marqueeUpdateStrategy, Ark_NativePointer, Ark_Int32) -void impl_MarqueeAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getMarqueeModifier()->setOnStart(self, (const Callback_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MarqueeAttribute_onBounce(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getMarqueeModifier()->setOnBounce(self, (const Callback_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_onBounce, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MarqueeAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getMarqueeModifier()->setOnFinish(self, (const Callback_Void*)&value_value); + Ark_Union_Color_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getHyperlinkModifier()->setColor(self, (const Ark_Union_Color_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_MediaCachedImage_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getMediaCachedImageModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(HyperlinkAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Image_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getImageModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(MediaCachedImage_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_MediaCachedImageInterface_setMediaCachedImageOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Image_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ImageInterface_setImageOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource src_value_buf = {}; + Ark_Union_PixelMap_ResourceStr_DrawableDescriptor src_value_buf = {}; + src_value_buf.selector = src_value_buf_selector; + if (src_value_buf_selector == 0) { + src_value_buf.selector = 0; + src_value_buf.value0 = static_cast(thisDeserializer.readPixelMap()); + } + else if (src_value_buf_selector == 1) { + src_value_buf.selector = 1; + const Ark_Int8 src_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceStr src_value_buf_u = {}; + src_value_buf_u.selector = src_value_buf_u_selector; + if (src_value_buf_u_selector == 0) { + src_value_buf_u.selector = 0; + src_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (src_value_buf_u_selector == 1) { + src_value_buf_u.selector = 1; + src_value_buf_u.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for src_value_buf_u has to be chosen through deserialisation."); + } + src_value_buf.value1 = static_cast(src_value_buf_u); + } + else if (src_value_buf_selector == 2) { + src_value_buf.selector = 2; + src_value_buf.value2 = static_cast(thisDeserializer.readDrawableDescriptor()); + } + else { + INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation."); + } + Ark_Union_PixelMap_ResourceStr_DrawableDescriptor src_value = static_cast(src_value_buf);; + GetNodeModifiers()->getImageModifier()->setImageOptions0(self, (const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor*)&src_value); +} +KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageInterface_setImageOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent src_value_buf = {}; src_value_buf.selector = src_value_buf_selector; if (src_value_buf_selector == 0) { src_value_buf.selector = 0; @@ -9038,29 +8620,60 @@ void impl_MediaCachedImageInterface_setMediaCachedImageOptions(Ark_NativePointer } else if (src_value_buf_selector == 3) { src_value_buf.selector = 3; - src_value_buf.value3 = thisDeserializer.readASTCResource(); + src_value_buf.value3 = static_cast(thisDeserializer.readInt32()); } else { INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation."); } - Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource src_value = static_cast(src_value_buf);; - GetNodeModifiers()->getMediaCachedImageModifier()->setMediaCachedImageOptions(self, (const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource*)&src_value); -} -KOALA_INTEROP_DIRECT_V3(MediaCachedImageInterface_setMediaCachedImageOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Menu_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getMenuModifier()->construct(id, flags); + Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent src_value = static_cast(src_value_buf);; + GetNodeModifiers()->getImageModifier()->setImageOptions1(self, (const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent*)&src_value); } -KOALA_INTEROP_DIRECT_2(Menu_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_MenuInterface_setMenuOptions(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageInterface_setImageOptions2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getMenuModifier()->setMenuOptions(self); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_PixelMap_ResourceStr_DrawableDescriptor src_value_buf = {}; + src_value_buf.selector = src_value_buf_selector; + if (src_value_buf_selector == 0) { + src_value_buf.selector = 0; + src_value_buf.value0 = static_cast(thisDeserializer.readPixelMap()); + } + else if (src_value_buf_selector == 1) { + src_value_buf.selector = 1; + const Ark_Int8 src_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceStr src_value_buf_u = {}; + src_value_buf_u.selector = src_value_buf_u_selector; + if (src_value_buf_u_selector == 0) { + src_value_buf_u.selector = 0; + src_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (src_value_buf_u_selector == 1) { + src_value_buf_u.selector = 1; + src_value_buf_u.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for src_value_buf_u has to be chosen through deserialisation."); + } + src_value_buf.value1 = static_cast(src_value_buf_u); + } + else if (src_value_buf_selector == 2) { + src_value_buf.selector = 2; + src_value_buf.value2 = static_cast(thisDeserializer.readDrawableDescriptor()); + } + else { + INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation."); + } + Ark_Union_PixelMap_ResourceStr_DrawableDescriptor src_value = static_cast(src_value_buf);; + Ark_ImageAIOptions imageAIOptions_value = thisDeserializer.readImageAIOptions();; + GetNodeModifiers()->getImageModifier()->setImageOptions2(self, (const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor*)&src_value, (const Ark_ImageAIOptions*)&imageAIOptions_value); } -KOALA_INTEROP_DIRECT_V1(MenuInterface_setMenuOptions, Ark_NativePointer) -void impl_MenuAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageInterface_setImageOptions2, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAttribute_alt(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_String_Resource_PixelMap value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -9068,27 +8681,30 @@ void impl_MenuAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer th } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = thisDeserializer.readResource(); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readPixelMap()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getMenuModifier()->setFontSize(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Union_String_Resource_PixelMap value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getImageModifier()->setAlt(self, (const Ark_Union_String_Resource_PixelMap*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MenuAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuAttribute_font(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageAttribute_alt, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAttribute_matchTextDirection(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Font value_value = thisDeserializer.readFont();; - GetNodeModifiers()->getMenuModifier()->setFont(self, (const Ark_Font*)&value_value); + GetNodeModifiers()->getImageModifier()->setMatchTextDirection(self, value); } -KOALA_INTEROP_DIRECT_V3(MenuAttribute_font, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ImageAttribute_matchTextDirection, Ark_NativePointer, Ark_Boolean) +void impl_ImageAttribute_fitOriginalSize(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageModifier()->setFitOriginalSize(self, value); +} +KOALA_INTEROP_DIRECT_V2(ImageAttribute_fitOriginalSize, Ark_NativePointer, Ark_Boolean) +void impl_ImageAttribute_fillColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -9114,23 +8730,23 @@ void impl_MenuAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer t INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getMenuModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getImageModifier()->setFillColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MenuAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuAttribute_radius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageAttribute_fillColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAttribute_fillColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Dimension_BorderRadiuses value_value_buf = {}; + Ark_Union_ResourceColor_ColorContent value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u = {}; + Ark_ResourceColor value_value_buf_u = {}; value_value_buf_u.selector = value_value_buf_u_selector; if (value_value_buf_u_selector == 0) { value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + value_value_buf_u.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_u_selector == 1) { value_value_buf_u.selector = 1; @@ -9138,392 +8754,280 @@ void impl_MenuAttribute_radius(Ark_NativePointer thisPtr, KSerializerBuffer this } else if (value_value_buf_u_selector == 2) { value_value_buf_u.selector = 2; - value_value_buf_u.value2 = thisDeserializer.readResource(); + value_value_buf_u.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 3) { + value_value_buf_u.selector = 3; + value_value_buf_u.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); } - value_value_buf.value0 = static_cast(value_value_buf_u); + value_value_buf.value0 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - Ark_BorderRadiuses value_value_buf_u = {}; - const auto value_value_buf_u_topLeft_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_topLeft_buf = {}; - value_value_buf_u_topLeft_buf.tag = value_value_buf_u_topLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_topLeft_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_topLeft_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_topLeft_buf_ = {}; - value_value_buf_u_topLeft_buf_.selector = value_value_buf_u_topLeft_buf__selector; - if (value_value_buf_u_topLeft_buf__selector == 0) { - value_value_buf_u_topLeft_buf_.selector = 0; - value_value_buf_u_topLeft_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_topLeft_buf__selector == 1) { - value_value_buf_u_topLeft_buf_.selector = 1; - value_value_buf_u_topLeft_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_topLeft_buf__selector == 2) { - value_value_buf_u_topLeft_buf_.selector = 2; - value_value_buf_u_topLeft_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_topLeft_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_topLeft_buf.value = static_cast(value_value_buf_u_topLeft_buf_); - } - value_value_buf_u.topLeft = value_value_buf_u_topLeft_buf; - const auto value_value_buf_u_topRight_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_topRight_buf = {}; - value_value_buf_u_topRight_buf.tag = value_value_buf_u_topRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_topRight_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_topRight_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_topRight_buf_ = {}; - value_value_buf_u_topRight_buf_.selector = value_value_buf_u_topRight_buf__selector; - if (value_value_buf_u_topRight_buf__selector == 0) { - value_value_buf_u_topRight_buf_.selector = 0; - value_value_buf_u_topRight_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_topRight_buf__selector == 1) { - value_value_buf_u_topRight_buf_.selector = 1; - value_value_buf_u_topRight_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_topRight_buf__selector == 2) { - value_value_buf_u_topRight_buf_.selector = 2; - value_value_buf_u_topRight_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_topRight_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_topRight_buf.value = static_cast(value_value_buf_u_topRight_buf_); - } - value_value_buf_u.topRight = value_value_buf_u_topRight_buf; - const auto value_value_buf_u_bottomLeft_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_bottomLeft_buf = {}; - value_value_buf_u_bottomLeft_buf.tag = value_value_buf_u_bottomLeft_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottomLeft_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottomLeft_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_bottomLeft_buf_ = {}; - value_value_buf_u_bottomLeft_buf_.selector = value_value_buf_u_bottomLeft_buf__selector; - if (value_value_buf_u_bottomLeft_buf__selector == 0) { - value_value_buf_u_bottomLeft_buf_.selector = 0; - value_value_buf_u_bottomLeft_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottomLeft_buf__selector == 1) { - value_value_buf_u_bottomLeft_buf_.selector = 1; - value_value_buf_u_bottomLeft_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottomLeft_buf__selector == 2) { - value_value_buf_u_bottomLeft_buf_.selector = 2; - value_value_buf_u_bottomLeft_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottomLeft_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottomLeft_buf.value = static_cast(value_value_buf_u_bottomLeft_buf_); - } - value_value_buf_u.bottomLeft = value_value_buf_u_bottomLeft_buf; - const auto value_value_buf_u_bottomRight_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_bottomRight_buf = {}; - value_value_buf_u_bottomRight_buf.tag = value_value_buf_u_bottomRight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottomRight_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottomRight_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_bottomRight_buf_ = {}; - value_value_buf_u_bottomRight_buf_.selector = value_value_buf_u_bottomRight_buf__selector; - if (value_value_buf_u_bottomRight_buf__selector == 0) { - value_value_buf_u_bottomRight_buf_.selector = 0; - value_value_buf_u_bottomRight_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottomRight_buf__selector == 1) { - value_value_buf_u_bottomRight_buf_.selector = 1; - value_value_buf_u_bottomRight_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottomRight_buf__selector == 2) { - value_value_buf_u_bottomRight_buf_.selector = 2; - value_value_buf_u_bottomRight_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottomRight_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottomRight_buf.value = static_cast(value_value_buf_u_bottomRight_buf_); - } - value_value_buf_u.bottomRight = value_value_buf_u_bottomRight_buf; - value_value_buf.value1 = value_value_buf_u; + value_value_buf.value1 = thisDeserializer.readColorContent(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Dimension_BorderRadiuses value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getMenuModifier()->setRadius(self, (const Ark_Union_Dimension_BorderRadiuses*)&value_value); + Ark_Union_ResourceColor_ColorContent value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getImageModifier()->setFillColor1(self, (const Ark_Union_ResourceColor_ColorContent*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MenuAttribute_radius, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuAttribute_menuItemDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageAttribute_fillColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAttribute_objectFit(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerStyleOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readDividerStyleOptions(); - } - Opt_DividerStyleOptions value_value = value_value_buf;; - GetNodeModifiers()->getMenuModifier()->setMenuItemDivider(self, (const Opt_DividerStyleOptions*)&value_value); + GetNodeModifiers()->getImageModifier()->setObjectFit(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(MenuAttribute_menuItemDivider, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuAttribute_menuItemGroupDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ImageAttribute_objectFit, Ark_NativePointer, Ark_Int32) +void impl_ImageAttribute_imageMatrix(Ark_NativePointer thisPtr, Ark_NativePointer value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerStyleOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readDividerStyleOptions(); - } - Opt_DividerStyleOptions value_value = value_value_buf;; - GetNodeModifiers()->getMenuModifier()->setMenuItemGroupDivider(self, (const Opt_DividerStyleOptions*)&value_value); + GetNodeModifiers()->getImageModifier()->setImageMatrix(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(MenuAttribute_menuItemGroupDivider, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuAttribute_subMenuExpandingMode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(ImageAttribute_imageMatrix, Ark_NativePointer, Ark_NativePointer) +void impl_ImageAttribute_objectRepeat(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getMenuModifier()->setSubMenuExpandingMode(self, static_cast(value)); + GetNodeModifiers()->getImageModifier()->setObjectRepeat(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(MenuAttribute_subMenuExpandingMode, Ark_NativePointer, Ark_Int32) -Ark_NativePointer impl_MenuItem_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getMenuItemModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V2(ImageAttribute_objectRepeat, Ark_NativePointer, Ark_Int32) +void impl_ImageAttribute_autoResize(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageModifier()->setAutoResize(self, value); } -KOALA_INTEROP_DIRECT_2(MenuItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_MenuItemInterface_setMenuItemOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ImageAttribute_autoResize, Ark_NativePointer, Ark_Boolean) +void impl_ImageAttribute_renderMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageModifier()->setRenderMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ImageAttribute_renderMode, Ark_NativePointer, Ark_Int32) +void impl_ImageAttribute_dynamicRangeMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageModifier()->setDynamicRangeMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ImageAttribute_dynamicRangeMode, Ark_NativePointer, Ark_Int32) +void impl_ImageAttribute_interpolation(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageModifier()->setInterpolation(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ImageAttribute_interpolation, Ark_NativePointer, Ark_Int32) +void impl_ImageAttribute_sourceSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_MenuItemOptions_CustomBuilder value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); - Ark_Union_MenuItemOptions_CustomBuilder value_value_buf_ = {}; - value_value_buf_.selector = value_value_buf__selector; - if (value_value_buf__selector == 0) { - value_value_buf_.selector = 0; - value_value_buf_.value0 = thisDeserializer.readMenuItemOptions(); - } - else if (value_value_buf__selector == 1) { - value_value_buf_.selector = 1; - value_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); - } - value_value_buf.value = static_cast(value_value_buf_); - } - Opt_Union_MenuItemOptions_CustomBuilder value_value = value_value_buf;; - GetNodeModifiers()->getMenuItemModifier()->setMenuItemOptions(self, (const Opt_Union_MenuItemOptions_CustomBuilder*)&value_value); + Ark_ImageSourceSize value_value = thisDeserializer.readImageSourceSize();; + GetNodeModifiers()->getImageModifier()->setSourceSize(self, (const Ark_ImageSourceSize*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MenuItemInterface_setMenuItemOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuItemAttribute_selected(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(ImageAttribute_sourceSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAttribute_syncLoad(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getMenuItemModifier()->setSelected(self, value); + GetNodeModifiers()->getImageModifier()->setSyncLoad(self, value); } -KOALA_INTEROP_DIRECT_V2(MenuItemAttribute_selected, Ark_NativePointer, Ark_Boolean) -void impl_MenuItemAttribute_selectIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ImageAttribute_syncLoad, Ark_NativePointer, Ark_Boolean) +void impl_ImageAttribute_colorFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier value_value_buf = {}; + Ark_Union_ColorFilter_DrawingColorFilter value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readBoolean(); + value_value_buf.value0 = static_cast(thisDeserializer.readColorFilter()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf_u = {}; - value_value_buf_u.selector = value_value_buf_u_selector; - if (value_value_buf_u_selector == 0) { - value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_selector == 1) { - value_value_buf_u.selector = 1; - value_value_buf_u.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); - } - value_value_buf.value1 = static_cast(value_value_buf_u); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readSymbolGlyphModifier(); + value_value_buf.value1 = static_cast(thisDeserializer.readDrawingColorFilter()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getMenuItemModifier()->setSelectIcon(self, (const Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier*)&value_value); + Ark_Union_ColorFilter_DrawingColorFilter value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getImageModifier()->setColorFilter(self, (const Ark_Union_ColorFilter_DrawingColorFilter*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_selectIcon, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuItemAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageAttribute_colorFilter, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAttribute_copyOption(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageModifier()->setCopyOption(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ImageAttribute_copyOption, Ark_NativePointer, Ark_Int32) +void impl_ImageAttribute_draggable(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageModifier()->setDraggable(self, value); +} +KOALA_INTEROP_DIRECT_V2(ImageAttribute_draggable, Ark_NativePointer, Ark_Boolean) +void impl_ImageAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getMenuItemModifier()->setOnChange(self, (const Callback_Boolean_Void*)&value_value); + Ark_PointLightStyle value_value = thisDeserializer.readPointLightStyle();; + GetNodeModifiers()->getImageModifier()->setPointLight(self, (const Ark_PointLightStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuItemAttribute_contentFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAttribute_edgeAntialiasing(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageModifier()->setEdgeAntialiasing(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(ImageAttribute_edgeAntialiasing, Ark_NativePointer, KInteropNumber) +void impl_ImageAttribute_onComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Font value_value = thisDeserializer.readFont();; - GetNodeModifiers()->getMenuItemModifier()->setContentFont(self, (const Ark_Font*)&value_value); + Callback_Type_ImageAttribute_onComplete_callback_event_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Type_ImageAttribute_onComplete_callback_event_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Type_ImageAttribute_onComplete_callback_event_Void))))};; + GetNodeModifiers()->getImageModifier()->setOnComplete(self, (const Callback_Type_ImageAttribute_onComplete_callback_event_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_contentFont, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuItemAttribute_contentFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageAttribute_onComplete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getMenuItemModifier()->setContentFontColor(self, (const Ark_ResourceColor*)&value_value); + ImageErrorCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ImageErrorCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ImageErrorCallback))))};; + GetNodeModifiers()->getImageModifier()->setOnError(self, (const ImageErrorCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_contentFontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuItemAttribute_labelFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Font value_value = thisDeserializer.readFont();; - GetNodeModifiers()->getMenuItemModifier()->setLabelFont(self, (const Ark_Font*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getImageModifier()->setOnFinish(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_labelFont, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuItemAttribute_labelFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAttribute_enableAnalyzer(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageModifier()->setEnableAnalyzer(self, value); +} +KOALA_INTEROP_DIRECT_V2(ImageAttribute_enableAnalyzer, Ark_NativePointer, Ark_Boolean) +void impl_ImageAttribute_analyzerConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getMenuItemModifier()->setLabelFontColor(self, (const Ark_ResourceColor*)&value_value); + Ark_ImageAnalyzerConfig value_value = thisDeserializer.readImageAnalyzerConfig();; + GetNodeModifiers()->getImageModifier()->setAnalyzerConfig(self, (const Ark_ImageAnalyzerConfig*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_labelFontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_MenuItemAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageAttribute_analyzerConfig, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAttribute_resizable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getMenuItemModifier()->set_onChangeEvent_selected(self, (const Callback_Boolean_Void*)&callback_value); + Ark_ResizableOptions value_value = thisDeserializer.readResizableOptions();; + GetNodeModifiers()->getImageModifier()->setResizable(self, (const Ark_ResizableOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MenuItemAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_MenuItemGroup_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getMenuItemGroupModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(ImageAttribute_resizable, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAttribute_privacySensitive(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageModifier()->setPrivacySensitive(self, value); } -KOALA_INTEROP_DIRECT_2(MenuItemGroup_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_MenuItemGroupInterface_setMenuItemGroupOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ImageAttribute_privacySensitive, Ark_NativePointer, Ark_Boolean) +void impl_ImageAttribute_enhancedImageQuality(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageModifier()->setEnhancedImageQuality(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ImageAttribute_enhancedImageQuality, Ark_NativePointer, Ark_Int32) +void impl_ImageAttribute_orientation(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageModifier()->setOrientation(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ImageAttribute_orientation, Ark_NativePointer, Ark_Int32) +Ark_NativePointer impl_ImageAnimator_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getImageAnimatorModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(ImageAnimator_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ImageAnimatorInterface_setImageAnimatorOptions(Ark_NativePointer thisPtr) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageAnimatorModifier()->setImageAnimatorOptions(self); +} +KOALA_INTEROP_DIRECT_V1(ImageAnimatorInterface_setImageAnimatorOptions, Ark_NativePointer) +void impl_ImageAnimatorAttribute_images(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_MenuItemGroupOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readMenuItemGroupOptions(); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_ImageFrameInfo value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readImageFrameInfo(); } - Opt_MenuItemGroupOptions value_value = value_value_buf;; - GetNodeModifiers()->getMenuItemGroupModifier()->setMenuItemGroupOptions(self, (const Opt_MenuItemGroupOptions*)&value_value); + Array_ImageFrameInfo value_value = value_value_buf;; + GetNodeModifiers()->getImageAnimatorModifier()->setImages(self, (const Array_ImageFrameInfo*)&value_value); } -KOALA_INTEROP_DIRECT_V3(MenuItemGroupInterface_setMenuItemGroupOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_NavDestination_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getNavDestinationModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_images, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAnimatorAttribute_state(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageAnimatorModifier()->setState(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_2(NavDestination_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_NavDestinationInterface_setNavDestinationOptions(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_state, Ark_NativePointer, Ark_Int32) +void impl_ImageAnimatorAttribute_duration(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavDestinationModifier()->setNavDestinationOptions(self); + GetNodeModifiers()->getImageAnimatorModifier()->setDuration(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V1(NavDestinationInterface_setNavDestinationOptions, Ark_NativePointer) -void impl_NavDestinationAttribute_hideTitleBar0(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_duration, Ark_NativePointer, KInteropNumber) +void impl_ImageAnimatorAttribute_reverse(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavDestinationModifier()->setHideTitleBar0(self, value); + GetNodeModifiers()->getImageAnimatorModifier()->setReverse(self, value); } -KOALA_INTEROP_DIRECT_V2(NavDestinationAttribute_hideTitleBar0, Ark_NativePointer, Ark_Boolean) -void impl_NavDestinationAttribute_hideTitleBar1(Ark_NativePointer thisPtr, Ark_Boolean hide, Ark_Boolean animated) { +KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_reverse, Ark_NativePointer, Ark_Boolean) +void impl_ImageAnimatorAttribute_fixedSize(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavDestinationModifier()->setHideTitleBar1(self, hide, animated); + GetNodeModifiers()->getImageAnimatorModifier()->setFixedSize(self, value); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_hideTitleBar1, Ark_NativePointer, Ark_Boolean, Ark_Boolean) -void impl_NavDestinationAttribute_onShown(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_fixedSize, Ark_NativePointer, Ark_Boolean) +void impl_ImageAnimatorAttribute_preDecode(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageAnimatorModifier()->setPreDecode(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_preDecode, Ark_NativePointer, KInteropNumber) +void impl_ImageAnimatorAttribute_fillMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageAnimatorModifier()->setFillMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_fillMode, Ark_NativePointer, Ark_Int32) +void impl_ImageAnimatorAttribute_iterations(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageAnimatorModifier()->setIterations(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_iterations, Ark_NativePointer, KInteropNumber) +void impl_ImageAnimatorAttribute_monitorInvisibleArea(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageAnimatorModifier()->setMonitorInvisibleArea(self, value); +} +KOALA_INTEROP_DIRECT_V2(ImageAnimatorAttribute_monitorInvisibleArea, Ark_NativePointer, Ark_Boolean) +void impl_ImageAnimatorAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getNavDestinationModifier()->setOnShown(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getImageAnimatorModifier()->setOnStart(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onShown, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_onHidden(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAnimatorAttribute_onPause(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getNavDestinationModifier()->setOnHidden(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getImageAnimatorModifier()->setOnPause(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onHidden, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_onBackPressed(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onPause, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAnimatorAttribute_onRepeat(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean))))};; - GetNodeModifiers()->getNavDestinationModifier()->setOnBackPressed(self, (const Callback_Boolean*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getImageAnimatorModifier()->setOnRepeat(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onBackPressed, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_mode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onRepeat, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAnimatorAttribute_onCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavDestinationModifier()->setMode(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getImageAnimatorModifier()->setOnCancel(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(NavDestinationAttribute_mode, Ark_NativePointer, Ark_Int32) -void impl_NavDestinationAttribute_backButtonIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onCancel, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageAnimatorAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier value_value_buf = {}; + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getImageAnimatorModifier()->setOnFinish(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ImageAnimatorAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_ImageSpan_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getImageSpanModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(ImageSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ImageSpanInterface_setImageSpanOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_PixelMap value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -9547,664 +9051,622 @@ void impl_NavDestinationAttribute_backButtonIcon(Ark_NativePointer thisPtr, KSer value_value_buf.selector = 1; value_value_buf.value1 = static_cast(thisDeserializer.readPixelMap()); } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readSymbolGlyphModifier(); - } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getNavDestinationModifier()->setBackButtonIcon(self, (const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier*)&value_value); + Ark_Union_ResourceStr_PixelMap value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getImageSpanModifier()->setImageSpanOptions(self, (const Ark_Union_ResourceStr_PixelMap*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ImageSpanInterface_setImageSpanOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageSpanAttribute_verticalAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getImageSpanModifier()->setVerticalAlign(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_backButtonIcon, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_menus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ImageSpanAttribute_verticalAlign, Ark_NativePointer, Ark_Int32) +void impl_ImageSpanAttribute_colorFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Array_NavigationMenuItem_CustomBuilder value_value_buf = {}; + Ark_Union_ColorFilter_DrawingColorFilter value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_NavigationMenuItem value_value_buf_u = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_u, value_value_buf_u_length); - for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { - value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readNavigationMenuItem(); - } - value_value_buf.value0 = value_value_buf_u; + value_value_buf.value0 = static_cast(thisDeserializer.readColorFilter()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + value_value_buf.value1 = static_cast(thisDeserializer.readDrawingColorFilter()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Array_NavigationMenuItem_CustomBuilder value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getNavDestinationModifier()->setMenus(self, (const Ark_Union_Array_NavigationMenuItem_CustomBuilder*)&value_value); + Ark_Union_ColorFilter_DrawingColorFilter value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getImageSpanModifier()->setColorFilter(self, (const Ark_Union_ColorFilter_DrawingColorFilter*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_menus, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_onReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_colorFilter, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageSpanAttribute_objectFit(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_NavDestinationContext_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavDestinationContext_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavDestinationContext_Void))))};; - GetNodeModifiers()->getNavDestinationModifier()->setOnReady(self, (const Callback_NavDestinationContext_Void*)&value_value); + GetNodeModifiers()->getImageSpanModifier()->setObjectFit(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onReady, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_onWillAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ImageSpanAttribute_objectFit, Ark_NativePointer, Ark_Int32) +void impl_ImageSpanAttribute_onComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getNavDestinationModifier()->setOnWillAppear(self, (const Callback_Void*)&value_value); + ImageCompleteCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ImageCompleteCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ImageCompleteCallback))))};; + GetNodeModifiers()->getImageSpanModifier()->setOnComplete(self, (const ImageCompleteCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillAppear, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_onWillDisappear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_onComplete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageSpanAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getNavDestinationModifier()->setOnWillDisappear(self, (const Callback_Void*)&value_value); + ImageErrorCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ImageErrorCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ImageErrorCallback))))};; + GetNodeModifiers()->getImageSpanModifier()->setOnError(self, (const ImageErrorCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillDisappear, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_onWillShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ImageSpanAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ImageSpanAttribute_alt(Ark_NativePointer thisPtr, Ark_NativePointer value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getNavDestinationModifier()->setOnWillShow(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getImageSpanModifier()->setAlt(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillShow, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_onWillHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ImageSpanAttribute_alt, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_LazyGridLayout_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getLazyGridLayoutModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(LazyGridLayout_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_LazyGridLayoutAttribute_rowsGap(Ark_NativePointer thisPtr, Ark_NativePointer value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getNavDestinationModifier()->setOnWillHide(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getLazyGridLayoutModifier()->setRowsGap(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillHide, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_systemBarStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(LazyGridLayoutAttribute_rowsGap, Ark_NativePointer, Ark_NativePointer) +void impl_LazyGridLayoutAttribute_columnsGap(Ark_NativePointer thisPtr, Ark_NativePointer value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SystemBarStyle value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readSystemBarStyle(); - } - Opt_SystemBarStyle value_value = value_value_buf;; - GetNodeModifiers()->getNavDestinationModifier()->setSystemBarStyle(self, (const Opt_SystemBarStyle*)&value_value); + GetNodeModifiers()->getLazyGridLayoutModifier()->setColumnsGap(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_systemBarStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_recoverable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(LazyGridLayoutAttribute_columnsGap, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_LazyVGridLayout_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getLazyVGridLayoutModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(LazyVGridLayout_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_LazyVGridLayoutInterface_setLazyVGridLayoutOptions(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean value_value = value_value_buf;; - GetNodeModifiers()->getNavDestinationModifier()->setRecoverable(self, (const Opt_Boolean*)&value_value); + GetNodeModifiers()->getLazyVGridLayoutModifier()->setLazyVGridLayoutOptions(self); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_recoverable, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_systemTransition(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V1(LazyVGridLayoutInterface_setLazyVGridLayoutOptions, Ark_NativePointer) +void impl_LazyVGridLayoutAttribute_columnsTemplate(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavDestinationModifier()->setSystemTransition(self, static_cast(value)); + GetNodeModifiers()->getLazyVGridLayoutModifier()->setColumnsTemplate(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V2(NavDestinationAttribute_systemTransition, Ark_NativePointer, Ark_Int32) -void impl_NavDestinationAttribute_title(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(LazyVGridLayoutAttribute_columnsTemplate, Ark_NativePointer, KStringPtr) +Ark_NativePointer impl_Line_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getLineModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Line_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_LineInterface_setLineOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Type_NavDestinationAttribute_title_value value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readNavDestinationCommonTitle(); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readNavDestinationCustomTitle(); - } - else if (value_value_buf_selector == 4) { - value_value_buf.selector = 4; - value_value_buf.value4 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Type_NavDestinationAttribute_title_value value_value = static_cast(value_value_buf);; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationTitleOptions options_value_buf = {}; + Opt_LineOptions options_value_buf = {}; options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readNavigationTitleOptions(); + options_value_buf.value = thisDeserializer.readLineOptions(); } - Opt_NavigationTitleOptions options_value = options_value_buf;; - GetNodeModifiers()->getNavDestinationModifier()->setTitle(self, (const Ark_Type_NavDestinationAttribute_title_value*)&value_value, (const Opt_NavigationTitleOptions*)&options_value); + Opt_LineOptions options_value = options_value_buf;; + GetNodeModifiers()->getLineModifier()->setLineOptions(self, (const Opt_LineOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_title, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_toolbarConfiguration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(LineInterface_setLineOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_LineAttribute_startPoint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 toolbarParam_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Array_ToolbarItem_CustomBuilder toolbarParam_value_buf = {}; - toolbarParam_value_buf.selector = toolbarParam_value_buf_selector; - if (toolbarParam_value_buf_selector == 0) { - toolbarParam_value_buf.selector = 0; - const Ark_Int32 toolbarParam_value_buf_u_length = thisDeserializer.readInt32(); - Array_ToolbarItem toolbarParam_value_buf_u = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&toolbarParam_value_buf_u, toolbarParam_value_buf_u_length); - for (int toolbarParam_value_buf_u_i = 0; toolbarParam_value_buf_u_i < toolbarParam_value_buf_u_length; toolbarParam_value_buf_u_i++) { - toolbarParam_value_buf_u.array[toolbarParam_value_buf_u_i] = thisDeserializer.readToolbarItem(); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_Length value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_buf = {}; + value_value_buf_buf.selector = value_value_buf_buf_selector; + if (value_value_buf_buf_selector == 0) { + value_value_buf_buf.selector = 0; + value_value_buf_buf.value0 = static_cast(thisDeserializer.readString()); } - toolbarParam_value_buf.value0 = toolbarParam_value_buf_u; - } - else if (toolbarParam_value_buf_selector == 1) { - toolbarParam_value_buf.selector = 1; - toolbarParam_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + else if (value_value_buf_buf_selector == 1) { + value_value_buf_buf.selector = 1; + value_value_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_buf_selector == 2) { + value_value_buf_buf.selector = 2; + value_value_buf_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); + } + value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); } - else { - INTEROP_FATAL("One of the branches for toolbarParam_value_buf has to be chosen through deserialisation."); + Array_Length value_value = value_value_buf;; + GetNodeModifiers()->getLineModifier()->setStartPoint(self, (const Array_Length*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(LineAttribute_startPoint, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_LineAttribute_endPoint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_Length value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_buf = {}; + value_value_buf_buf.selector = value_value_buf_buf_selector; + if (value_value_buf_buf_selector == 0) { + value_value_buf_buf.selector = 0; + value_value_buf_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_buf_selector == 1) { + value_value_buf_buf.selector = 1; + value_value_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_buf_selector == 2) { + value_value_buf_buf.selector = 2; + value_value_buf_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); + } + value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); } - Ark_Union_Array_ToolbarItem_CustomBuilder toolbarParam_value = static_cast(toolbarParam_value_buf);; + Array_Length value_value = value_value_buf;; + GetNodeModifiers()->getLineModifier()->setEndPoint(self, (const Array_Length*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(LineAttribute_endPoint, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_List_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getListModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(List_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ListInterface_setListOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationToolbarOptions options_value_buf = {}; + Opt_ListOptions options_value_buf = {}; options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readNavigationToolbarOptions(); + options_value_buf.value = thisDeserializer.readListOptions(); } - Opt_NavigationToolbarOptions options_value = options_value_buf;; - GetNodeModifiers()->getNavDestinationModifier()->setToolbarConfiguration(self, (const Ark_Union_Array_ToolbarItem_CustomBuilder*)&toolbarParam_value, (const Opt_NavigationToolbarOptions*)&options_value); + Opt_ListOptions options_value = options_value_buf;; + GetNodeModifiers()->getListModifier()->setListOptions(self, (const Opt_ListOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_toolbarConfiguration, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_hideToolBar(Ark_NativePointer thisPtr, Ark_Boolean hide, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListInterface_setListOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_alignListItem(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - GetNodeModifiers()->getNavDestinationModifier()->setHideToolBar(self, hide, (const Opt_Boolean*)&animated_value); + GetNodeModifiers()->getListModifier()->setAlignListItem(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V4(NavDestinationAttribute_hideToolBar, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) -void impl_NavDestinationAttribute_ignoreLayoutSafeArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto types_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_LayoutSafeAreaType types_value_buf = {}; - types_value_buf.tag = types_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (types_value_buf_runtimeType)) - { - const Ark_Int32 types_value_buf__length = thisDeserializer.readInt32(); - Array_LayoutSafeAreaType types_value_buf_ = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&types_value_buf_, types_value_buf__length); - for (int types_value_buf__i = 0; types_value_buf__i < types_value_buf__length; types_value_buf__i++) { - types_value_buf_.array[types_value_buf__i] = static_cast(thisDeserializer.readInt32()); - } - types_value_buf.value = types_value_buf_; - } - Opt_Array_LayoutSafeAreaType types_value = types_value_buf;; - const auto edges_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_LayoutSafeAreaEdge edges_value_buf = {}; - edges_value_buf.tag = edges_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (edges_value_buf_runtimeType)) - { - const Ark_Int32 edges_value_buf__length = thisDeserializer.readInt32(); - Array_LayoutSafeAreaEdge edges_value_buf_ = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&edges_value_buf_, edges_value_buf__length); - for (int edges_value_buf__i = 0; edges_value_buf__i < edges_value_buf__length; edges_value_buf__i++) { - edges_value_buf_.array[edges_value_buf__i] = static_cast(thisDeserializer.readInt32()); - } - edges_value_buf.value = edges_value_buf_; - } - Opt_Array_LayoutSafeAreaEdge edges_value = edges_value_buf;; - GetNodeModifiers()->getNavDestinationModifier()->setIgnoreLayoutSafeArea(self, (const Opt_Array_LayoutSafeAreaType*)&types_value, (const Opt_Array_LayoutSafeAreaEdge*)&edges_value); -} -KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_ignoreLayoutSafeArea, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_NavRouter_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getNavRouterModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(NavRouter_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_NavRouterInterface_setNavRouterOptions0(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V2(ListAttribute_alignListItem, Ark_NativePointer, Ark_Int32) +void impl_ListAttribute_listDirection(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavRouterModifier()->setNavRouterOptions0(self); + GetNodeModifiers()->getListModifier()->setListDirection(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V1(NavRouterInterface_setNavRouterOptions0, Ark_NativePointer) -void impl_NavRouterInterface_setNavRouterOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ListAttribute_listDirection, Ark_NativePointer, Ark_Int32) +void impl_ListAttribute_scrollBar(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_RouteInfo value_value = thisDeserializer.readRouteInfo();; - GetNodeModifiers()->getNavRouterModifier()->setNavRouterOptions1(self, (const Ark_RouteInfo*)&value_value); + GetNodeModifiers()->getListModifier()->setScrollBar(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(NavRouterInterface_setNavRouterOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavRouterAttribute_onStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ListAttribute_scrollBar, Ark_NativePointer, Ark_Int32) +void impl_ListAttribute_contentStartOffset(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getNavRouterModifier()->setOnStateChange(self, (const Callback_Boolean_Void*)&value_value); + GetNodeModifiers()->getListModifier()->setContentStartOffset(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(NavRouterAttribute_onStateChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavRouterAttribute_mode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(ListAttribute_contentStartOffset, Ark_NativePointer, KInteropNumber) +void impl_ListAttribute_contentEndOffset(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavRouterModifier()->setMode(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(NavRouterAttribute_mode, Ark_NativePointer, Ark_Int32) -Ark_NativePointer impl_Navigator_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getNavigatorModifier()->construct(id, flags); + GetNodeModifiers()->getListModifier()->setContentEndOffset(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_2(Navigator_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_NavigatorInterface_setNavigatorOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ListAttribute_contentEndOffset, Ark_NativePointer, KInteropNumber) +void impl_ListAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Literal_String_target_NavigationType_type value_value_buf = {}; + Opt_ListDividerOptions value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - Ark_Literal_String_target_NavigationType_type value_value_buf_ = {}; - value_value_buf_.target = static_cast(thisDeserializer.readString()); - const auto value_value_buf__type_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationType value_value_buf__type_buf = {}; - value_value_buf__type_buf.tag = value_value_buf__type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__type_buf_runtimeType)) - { - value_value_buf__type_buf.value = static_cast(thisDeserializer.readInt32()); - } - value_value_buf_.type = value_value_buf__type_buf; - value_value_buf.value = value_value_buf_; + value_value_buf.value = thisDeserializer.readListDividerOptions(); } - Opt_Literal_String_target_NavigationType_type value_value = value_value_buf;; - GetNodeModifiers()->getNavigatorModifier()->setNavigatorOptions0(self, (const Opt_Literal_String_target_NavigationType_type*)&value_value); + Opt_ListDividerOptions value_value = value_value_buf;; + GetNodeModifiers()->getListModifier()->setDivider(self, (const Opt_ListDividerOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(NavigatorInterface_setNavigatorOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavigatorInterface_setNavigatorOptions1(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_editMode(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigatorModifier()->setNavigatorOptions1(self); + GetNodeModifiers()->getListModifier()->setEditMode(self, value); } -KOALA_INTEROP_DIRECT_V1(NavigatorInterface_setNavigatorOptions1, Ark_NativePointer) -void impl_NavigatorAttribute_active(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(ListAttribute_editMode, Ark_NativePointer, Ark_Boolean) +void impl_ListAttribute_multiSelectable(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigatorModifier()->setActive(self, value); + GetNodeModifiers()->getListModifier()->setMultiSelectable(self, value); } -KOALA_INTEROP_DIRECT_V2(NavigatorAttribute_active, Ark_NativePointer, Ark_Boolean) -void impl_NavigatorAttribute_type(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(ListAttribute_multiSelectable, Ark_NativePointer, Ark_Boolean) +void impl_ListAttribute_cachedCount0(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigatorModifier()->setType(self, static_cast(value)); + GetNodeModifiers()->getListModifier()->setCachedCount0(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V2(NavigatorAttribute_type, Ark_NativePointer, Ark_Int32) -void impl_NavigatorAttribute_target(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V2(ListAttribute_cachedCount0, Ark_NativePointer, KInteropNumber) +void impl_ListAttribute_cachedCount1(Ark_NativePointer thisPtr, KInteropNumber count, Ark_Boolean show) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigatorModifier()->setTarget(self, (const Ark_String*) (&value)); + GetNodeModifiers()->getListModifier()->setCachedCount1(self, (const Ark_Number*) (&count), show); } -KOALA_INTEROP_V2(NavigatorAttribute_target, Ark_NativePointer, KStringPtr) -void impl_NavigatorAttribute_params(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_cachedCount1, Ark_NativePointer, KInteropNumber, Ark_Boolean) +void impl_ListAttribute_chainAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getNavigatorModifier()->setParams(self, (const Ark_Object*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(NavigatorAttribute_params, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_NodeContainer_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getNodeContainerModifier()->construct(id, flags); + GetNodeModifiers()->getListModifier()->setChainAnimation(self, value); } -KOALA_INTEROP_DIRECT_2(NodeContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_NodeContainerInterface_setNodeContainerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ListAttribute_chainAnimation, Ark_NativePointer, Ark_Boolean) +void impl_ListAttribute_chainAnimationOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_NodeController controller_value = thisDeserializer.readNodeController();; - GetNodeModifiers()->getNodeContainerModifier()->setNodeContainerOptions(self, (const Ark_NodeController*)&controller_value); -} -KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setNodeContainerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Panel_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPanelModifier()->construct(id, flags); + Ark_ChainAnimationOptions value_value = thisDeserializer.readChainAnimationOptions();; + GetNodeModifiers()->getListModifier()->setChainAnimationOptions(self, (const Ark_ChainAnimationOptions*)&value_value); } -KOALA_INTEROP_DIRECT_2(Panel_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_PanelInterface_setPanelOptions(Ark_NativePointer thisPtr, Ark_Boolean show) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_chainAnimationOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_sticky(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getPanelModifier()->setPanelOptions(self, show); + GetNodeModifiers()->getListModifier()->setSticky(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(PanelInterface_setPanelOptions, Ark_NativePointer, Ark_Boolean) -void impl_PanelAttribute_mode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(ListAttribute_sticky, Ark_NativePointer, Ark_Int32) +void impl_ListAttribute_scrollSnapAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getPanelModifier()->setMode(self, static_cast(value)); + GetNodeModifiers()->getListModifier()->setScrollSnapAlign(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(PanelAttribute_mode, Ark_NativePointer, Ark_Int32) -void impl_PanelAttribute_type(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(ListAttribute_scrollSnapAlign, Ark_NativePointer, Ark_Int32) +void impl_ListAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getPanelModifier()->setType(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_NestedScrollOptions value_value = thisDeserializer.readNestedScrollOptions();; + GetNodeModifiers()->getListModifier()->setNestedScroll(self, (const Ark_NestedScrollOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(PanelAttribute_type, Ark_NativePointer, Ark_Int32) -void impl_PanelAttribute_dragBar(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_enableScrollInteraction(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getPanelModifier()->setDragBar(self, value); + GetNodeModifiers()->getListModifier()->setEnableScrollInteraction(self, value); } -KOALA_INTEROP_DIRECT_V2(PanelAttribute_dragBar, Ark_NativePointer, Ark_Boolean) -void impl_PanelAttribute_customHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ListAttribute_enableScrollInteraction, Ark_NativePointer, Ark_Boolean) +void impl_ListAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Dimension_PanelHeight value_value_buf = {}; + Ark_Union_Number_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u = {}; - value_value_buf_u.selector = value_value_buf_u_selector; - if (value_value_buf_u_selector == 0) { - value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_selector == 1) { - value_value_buf_u.selector = 1; - value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_selector == 2) { - value_value_buf_u.selector = 2; - value_value_buf_u.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); - } - value_value_buf.value0 = static_cast(value_value_buf_u); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value1 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Dimension_PanelHeight value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPanelModifier()->setCustomHeight(self, (const Ark_Union_Dimension_PanelHeight*)&value_value); + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getListModifier()->setFriction(self, (const Ark_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PanelAttribute_customHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PanelAttribute_fullHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_friction, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_childrenMainSize(Ark_NativePointer thisPtr, Ark_NativePointer value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getListModifier()->setChildrenMainSize(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ListAttribute_childrenMainSize, Ark_NativePointer, Ark_NativePointer) +void impl_ListAttribute_maintainVisibleContentPosition(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getListModifier()->setMaintainVisibleContentPosition(self, value); +} +KOALA_INTEROP_DIRECT_V2(ListAttribute_maintainVisibleContentPosition, Ark_NativePointer, Ark_Boolean) +void impl_ListAttribute_stackFromEnd(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getListModifier()->setStackFromEnd(self, value); +} +KOALA_INTEROP_DIRECT_V2(ListAttribute_stackFromEnd, Ark_NativePointer, Ark_Boolean) +void impl_ListAttribute_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPanelModifier()->setFullHeight(self, (const Ark_Union_Number_String*)&value_value); + Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; + GetNodeModifiers()->getListModifier()->setOnScroll(self, (const Callback_Number_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PanelAttribute_fullHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PanelAttribute_halfHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPanelModifier()->setHalfHeight(self, (const Ark_Union_Number_String*)&value_value); + Callback_Number_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Number_Void))))};; + GetNodeModifiers()->getListModifier()->setOnScrollIndex(self, (const Callback_Number_Number_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PanelAttribute_halfHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PanelAttribute_miniHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollIndex, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onScrollVisibleContentChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPanelModifier()->setMiniHeight(self, (const Ark_Union_Number_String*)&value_value); + OnScrollVisibleContentChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnScrollVisibleContentChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnScrollVisibleContentChangeCallback))))};; + GetNodeModifiers()->getListModifier()->setOnScrollVisibleContentChange(self, (const OnScrollVisibleContentChangeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PanelAttribute_miniHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PanelAttribute_show(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollVisibleContentChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onReachStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getPanelModifier()->setShow(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getListModifier()->setOnReachStart(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(PanelAttribute_show, Ark_NativePointer, Ark_Boolean) -void impl_PanelAttribute_backgroundMask(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onReachStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onReachEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPanelModifier()->setBackgroundMask(self, (const Ark_ResourceColor*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getListModifier()->setOnReachEnd(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PanelAttribute_backgroundMask, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PanelAttribute_showCloseIcon(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onReachEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onScrollStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getPanelModifier()->setShowCloseIcon(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getListModifier()->setOnScrollStart(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(PanelAttribute_showCloseIcon, Ark_NativePointer, Ark_Boolean) -void impl_PanelAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_PanelMode_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_PanelMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_PanelMode_Void))))};; - GetNodeModifiers()->getPanelModifier()->setOnChange(self, (const Callback_Number_Number_PanelMode_Void*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getListModifier()->setOnScrollStop(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PanelAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PanelAttribute_onHeightChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollStop, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onItemDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getPanelModifier()->setOnHeightChange(self, (const Callback_Number_Void*)&value_value); + Callback_Number_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Boolean))))};; + GetNodeModifiers()->getListModifier()->setOnItemDelete(self, (const Callback_Number_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PanelAttribute_onHeightChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PanelAttribute__onChangeEvent_mode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDelete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onItemMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_PanelMode_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PanelMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PanelMode_Void))))};; - GetNodeModifiers()->getPanelModifier()->set_onChangeEvent_mode(self, (const Callback_PanelMode_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(PanelAttribute__onChangeEvent_mode, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_PasteButton_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPasteButtonModifier()->construct(id, flags); + Callback_Number_Number_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Boolean))))};; + GetNodeModifiers()->getListModifier()->setOnItemMove(self, (const Callback_Number_Number_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_2(PasteButton_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_PasteButtonInterface_setPasteButtonOptions0(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemMove, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onItemDragStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getPasteButtonModifier()->setPasteButtonOptions0(self); + Deserializer thisDeserializer(thisArray, thisLength); + ListAttribute_onItemDragStart_event_type value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ListAttribute_onItemDragStart_event_type)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ListAttribute_onItemDragStart_event_type))))};; + GetNodeModifiers()->getListModifier()->setOnItemDragStart(self, (const ListAttribute_onItemDragStart_event_type*)&value_value); } -KOALA_INTEROP_DIRECT_V1(PasteButtonInterface_setPasteButtonOptions0, Ark_NativePointer) -void impl_PasteButtonInterface_setPasteButtonOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onItemDragEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_PasteButtonOptions options_value = thisDeserializer.readPasteButtonOptions();; - GetNodeModifiers()->getPasteButtonModifier()->setPasteButtonOptions1(self, (const Ark_PasteButtonOptions*)&options_value); + Callback_ItemDragInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Void))))};; + GetNodeModifiers()->getListModifier()->setOnItemDragEnter(self, (const Callback_ItemDragInfo_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PasteButtonInterface_setPasteButtonOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PasteButtonAttribute_onClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragEnter, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onItemDragMove(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_ClickEvent_PasteButtonOnClickResult_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void))))};; - GetNodeModifiers()->getPasteButtonModifier()->setOnClick(self, (const Callback_ClickEvent_PasteButtonOnClickResult_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(PasteButtonAttribute_onClick, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Path_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPathModifier()->construct(id, flags); + Callback_ItemDragInfo_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Number_Void))))};; + GetNodeModifiers()->getListModifier()->setOnItemDragMove(self, (const Callback_ItemDragInfo_Number_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_2(Path_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_PathInterface_setPathOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragMove, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onItemDragLeave(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_PathOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readPathOptions(); - } - Opt_PathOptions options_value = options_value_buf;; - GetNodeModifiers()->getPathModifier()->setPathOptions(self, (const Opt_PathOptions*)&options_value); + Callback_ItemDragInfo_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Void))))};; + GetNodeModifiers()->getListModifier()->setOnItemDragLeave(self, (const Callback_ItemDragInfo_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PathInterface_setPathOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PathAttribute_commands(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDragLeave, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onItemDrop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getPathModifier()->setCommands(self, (const Ark_String*) (&value)); -} -KOALA_INTEROP_V2(PathAttribute_commands, Ark_NativePointer, KStringPtr) -Ark_NativePointer impl_PatternLock_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPatternLockModifier()->construct(id, flags); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_ItemDragInfo_Number_Number_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void))))};; + GetNodeModifiers()->getListModifier()->setOnItemDrop(self, (const Callback_ItemDragInfo_Number_Number_Boolean_Void*)&value_value); } -KOALA_INTEROP_DIRECT_2(PatternLock_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_PatternLockInterface_setPatternLockOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onItemDrop, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_onScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto controller_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_PatternLockController controller_value_buf = {}; - controller_value_buf.tag = controller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType)) - { - controller_value_buf.value = static_cast(thisDeserializer.readPatternLockController()); - } - Opt_PatternLockController controller_value = controller_value_buf;; - GetNodeModifiers()->getPatternLockModifier()->setPatternLockOptions(self, (const Opt_PatternLockController*)&controller_value); + Callback_Number_ScrollState_Literal_Number_offsetRemain value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain))))};; + GetNodeModifiers()->getListModifier()->setOnScrollFrameBegin(self, (const Callback_Number_ScrollState_Literal_Number_offsetRemain*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PatternLockInterface_setPatternLockOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PatternLockAttribute_sideLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_onScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_lanes(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Number_LengthConstrain value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value1 = thisDeserializer.readLengthConstrain(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPatternLockModifier()->setSideLength(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Union_Number_LengthConstrain value_value = static_cast(value_value_buf);; + const auto gutter_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension gutter_value_buf = {}; + gutter_value_buf.tag = gutter_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (gutter_value_buf_runtimeType)) + { + const Ark_Int8 gutter_value_buf__selector = thisDeserializer.readInt8(); + Ark_Dimension gutter_value_buf_ = {}; + gutter_value_buf_.selector = gutter_value_buf__selector; + if (gutter_value_buf__selector == 0) { + gutter_value_buf_.selector = 0; + gutter_value_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (gutter_value_buf__selector == 1) { + gutter_value_buf_.selector = 1; + gutter_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (gutter_value_buf__selector == 2) { + gutter_value_buf_.selector = 2; + gutter_value_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for gutter_value_buf_ has to be chosen through deserialisation."); + } + gutter_value_buf.value = static_cast(gutter_value_buf_); + } + Opt_Dimension gutter_value = gutter_value_buf;; + GetNodeModifiers()->getListModifier()->setLanes(self, (const Ark_Union_Number_LengthConstrain*)&value_value, (const Opt_Dimension*)&gutter_value); } -KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_sideLength, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PatternLockAttribute_circleRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListAttribute_lanes, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffectOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readEdgeEffectOptions(); + } + Opt_EdgeEffectOptions options_value = options_value_buf;; + GetNodeModifiers()->getListModifier()->setEdgeEffect(self, static_cast(value), (const Opt_EdgeEffectOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V4(ListAttribute_edgeEffect, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) +Ark_NativePointer impl_ListItem_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getListItemModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(ListItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ListItemInterface_setListItemOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ListItemOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readListItemOptions(); + } + Opt_ListItemOptions value_value = value_value_buf;; + GetNodeModifiers()->getListItemModifier()->setListItemOptions0(self, (const Opt_ListItemOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ListItemInterface_setListItemOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListItemInterface_setListItemOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readString()); + } + Opt_String value_value = value_value_buf;; + GetNodeModifiers()->getListItemModifier()->setListItemOptions1(self, (const Opt_String*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ListItemInterface_setListItemOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListItemAttribute_sticky(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getListItemModifier()->setSticky(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ListItemAttribute_sticky, Ark_NativePointer, Ark_Int32) +void impl_ListItemAttribute_editable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Boolean_EditMode value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = thisDeserializer.readBoolean(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPatternLockModifier()->setCircleRadius(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Union_Boolean_EditMode value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getListItemModifier()->setEditable(self, (const Ark_Union_Boolean_EditMode*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_circleRadius, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PatternLockAttribute_backgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListItemAttribute_editable, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListItemAttribute_selectable(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getListItemModifier()->setSelectable(self, value); +} +KOALA_INTEROP_DIRECT_V2(ListItemAttribute_selectable, Ark_NativePointer, Ark_Boolean) +void impl_ListItemAttribute_selected(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getListItemModifier()->setSelected(self, value); +} +KOALA_INTEROP_DIRECT_V2(ListItemAttribute_selected, Ark_NativePointer, Ark_Boolean) +void impl_ListItemAttribute_swipeAction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + Ark_SwipeActionOptions value_value = thisDeserializer.readSwipeActionOptions();; + GetNodeModifiers()->getListItemModifier()->setSwipeAction(self, (const Ark_SwipeActionOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ListItemAttribute_swipeAction, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListItemAttribute_onSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getListItemModifier()->setOnSelect(self, (const Callback_Boolean_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ListItemAttribute_onSelect, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListItemAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getListItemModifier()->set_onChangeEvent_selected(self, (const Callback_Boolean_Void*)&callback_value); +} +KOALA_INTEROP_DIRECT_V3(ListItemAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_ListItemGroup_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getListItemGroupModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(ListItemGroup_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ListItemGroupInterface_setListItemGroupOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ListItemGroupOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readListItemGroupOptions(); } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + Opt_ListItemGroupOptions options_value = options_value_buf;; + GetNodeModifiers()->getListItemGroupModifier()->setListItemGroupOptions(self, (const Opt_ListItemGroupOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(ListItemGroupInterface_setListItemGroupOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListItemGroupAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ListDividerOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readListDividerOptions(); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPatternLockModifier()->setBackgroundColor(self, (const Ark_ResourceColor*)&value_value); + Opt_ListDividerOptions value_value = value_value_buf;; + GetNodeModifiers()->getListItemGroupModifier()->setDivider(self, (const Opt_ListDividerOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_backgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PatternLockAttribute_regularColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ListItemGroupAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ListItemGroupAttribute_childrenMainSize(Ark_NativePointer thisPtr, Ark_NativePointer value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getListItemGroupModifier()->setChildrenMainSize(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ListItemGroupAttribute_childrenMainSize, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_LoadingProgress_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getLoadingProgressModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(LoadingProgress_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_LoadingProgressInterface_setLoadingProgressOptions(Ark_NativePointer thisPtr) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getLoadingProgressModifier()->setLoadingProgressOptions(self); +} +KOALA_INTEROP_DIRECT_V1(LoadingProgressInterface_setLoadingProgressOptions, Ark_NativePointer) +void impl_LoadingProgressAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -10230,10 +9692,56 @@ void impl_PatternLockAttribute_regularColor(Ark_NativePointer thisPtr, KSerializ INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPatternLockModifier()->setRegularColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getLoadingProgressModifier()->setColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_regularColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PatternLockAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(LoadingProgressAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_LoadingProgressAttribute_enableLoading(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getLoadingProgressModifier()->setEnableLoading(self, value); +} +KOALA_INTEROP_DIRECT_V2(LoadingProgressAttribute_enableLoading, Ark_NativePointer, Ark_Boolean) +void impl_LoadingProgressAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getLoadingProgressModifier()->setContentModifier(self, (const Ark_Object*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(LoadingProgressAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_LocationButton_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getLocationButtonModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(LocationButton_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_LocationButtonInterface_setLocationButtonOptions0(Ark_NativePointer thisPtr) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getLocationButtonModifier()->setLocationButtonOptions0(self); +} +KOALA_INTEROP_DIRECT_V1(LocationButtonInterface_setLocationButtonOptions0, Ark_NativePointer) +void impl_LocationButtonInterface_setLocationButtonOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_LocationButtonOptions options_value = thisDeserializer.readLocationButtonOptions();; + GetNodeModifiers()->getLocationButtonModifier()->setLocationButtonOptions1(self, (const Ark_LocationButtonOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(LocationButtonInterface_setLocationButtonOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_LocationButtonAttribute_onClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + LocationButtonCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_LocationButtonCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_LocationButtonCallback))))};; + GetNodeModifiers()->getLocationButtonModifier()->setOnClick(self, (const LocationButtonCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(LocationButtonAttribute_onClick, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Marquee_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getMarqueeModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Marquee_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_MarqueeInterface_setMarqueeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_MarqueeOptions options_value = thisDeserializer.readMarqueeOptions();; + GetNodeModifiers()->getMarqueeModifier()->setMarqueeOptions(self, (const Ark_MarqueeOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(MarqueeInterface_setMarqueeOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MarqueeAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -10259,18 +9767,18 @@ void impl_PatternLockAttribute_selectedColor(Ark_NativePointer thisPtr, KSeriali INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPatternLockModifier()->setSelectedColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getMarqueeModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_selectedColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PatternLockAttribute_activeColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MarqueeAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -10278,310 +9786,181 @@ void impl_PatternLockAttribute_activeColor(Ark_NativePointer thisPtr, KSerialize } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPatternLockModifier()->setActiveColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getMarqueeModifier()->setFontSize(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_activeColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PatternLockAttribute_pathColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MarqueeAttribute_allowScale(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getMarqueeModifier()->setAllowScale(self, value); +} +KOALA_INTEROP_DIRECT_V2(MarqueeAttribute_allowScale, Ark_NativePointer, Ark_Boolean) +void impl_MarqueeAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Number_FontWeight_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; value_value_buf.value2 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPatternLockModifier()->setPathColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getMarqueeModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_pathColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PatternLockAttribute_pathStrokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MarqueeAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_Union_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getPatternLockModifier()->setPathStrokeWidth(self, (const Ark_Union_Number_String*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_pathStrokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PatternLockAttribute_onPatternComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Array_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Array_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Array_Number_Void))))};; - GetNodeModifiers()->getPatternLockModifier()->setOnPatternComplete(self, (const Callback_Array_Number_Void*)&value_value); + Ark_Union_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getMarqueeModifier()->setFontFamily(self, (const Ark_Union_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_onPatternComplete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PatternLockAttribute_autoReset(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MarqueeAttribute_marqueeUpdateStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getPatternLockModifier()->setAutoReset(self, value); + GetNodeModifiers()->getMarqueeModifier()->setMarqueeUpdateStrategy(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(PatternLockAttribute_autoReset, Ark_NativePointer, Ark_Boolean) -void impl_PatternLockAttribute_onDotConnect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(MarqueeAttribute_marqueeUpdateStrategy, Ark_NativePointer, Ark_Int32) +void impl_MarqueeAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getPatternLockModifier()->setOnDotConnect(self, (const Callback_Number_Void*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getMarqueeModifier()->setOnStart(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_onDotConnect, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PatternLockAttribute_activateCircleStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MarqueeAttribute_onBounce(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_CircleStyleOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readCircleStyleOptions(); - } - Opt_CircleStyleOptions value_value = value_value_buf;; - GetNodeModifiers()->getPatternLockModifier()->setActivateCircleStyle(self, (const Opt_CircleStyleOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_activateCircleStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_PluginComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPluginComponentModifier()->construct(id, flags); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getMarqueeModifier()->setOnBounce(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_2(PluginComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_PluginComponentInterface_setPluginComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_onBounce, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MarqueeAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_PluginComponentOptions options_value = thisDeserializer.readPluginComponentOptions();; - GetNodeModifiers()->getPluginComponentModifier()->setPluginComponentOptions(self, (const Ark_PluginComponentOptions*)&options_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getMarqueeModifier()->setOnFinish(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(PluginComponentInterface_setPluginComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PluginComponentAttribute_onComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; - GetNodeModifiers()->getPluginComponentModifier()->setOnComplete(self, (const VoidCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(PluginComponentAttribute_onComplete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PluginComponentAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - PluginErrorCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_PluginErrorCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_PluginErrorCallback))))};; - GetNodeModifiers()->getPluginComponentModifier()->setOnError(self, (const PluginErrorCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(PluginComponentAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Polygon_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPolygonModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Polygon_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_PolygonInterface_setPolygonOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_PolygonOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readPolygonOptions(); - } - Opt_PolygonOptions options_value = options_value_buf;; - GetNodeModifiers()->getPolygonModifier()->setPolygonOptions(self, (const Opt_PolygonOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(PolygonInterface_setPolygonOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PolygonAttribute_points(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_common2D_Point value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - value_value_buf.array[value_value_buf_i] = thisDeserializer.readcommon2D_Point(); - } - Array_common2D_Point value_value = value_value_buf;; - GetNodeModifiers()->getPolygonModifier()->setPoints(self, (const Array_common2D_Point*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(PolygonAttribute_points, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Polyline_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getPolylineModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Polyline_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_PolylineInterface_setPolylineOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_PolylineOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readPolylineOptions(); - } - Opt_PolylineOptions options_value = options_value_buf;; - GetNodeModifiers()->getPolylineModifier()->setPolylineOptions(self, (const Opt_PolylineOptions*)&options_value); +KOALA_INTEROP_DIRECT_V3(MarqueeAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_MediaCachedImage_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getMediaCachedImageModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(PolylineInterface_setPolylineOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_PolylineAttribute_points(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(MediaCachedImage_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_MediaCachedImageInterface_setMediaCachedImageOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_common2D_Point value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - value_value_buf.array[value_value_buf_i] = thisDeserializer.readcommon2D_Point(); + const Ark_Int8 src_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource src_value_buf = {}; + src_value_buf.selector = src_value_buf_selector; + if (src_value_buf_selector == 0) { + src_value_buf.selector = 0; + src_value_buf.value0 = static_cast(thisDeserializer.readPixelMap()); } - Array_common2D_Point value_value = value_value_buf;; - GetNodeModifiers()->getPolylineModifier()->setPoints(self, (const Array_common2D_Point*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(PolylineAttribute_points, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Progress_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getProgressModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Progress_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ProgressInterface_setProgressOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_ProgressOptions options_value = thisDeserializer.readProgressOptions();; - GetNodeModifiers()->getProgressModifier()->setProgressOptions(self, (const Ark_ProgressOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(ProgressInterface_setProgressOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ProgressAttribute_value(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getProgressModifier()->setValue(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(ProgressAttribute_value, Ark_NativePointer, KInteropNumber) -void impl_ProgressAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_LinearGradient value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u = {}; - value_value_buf_u.selector = value_value_buf_u_selector; - if (value_value_buf_u_selector == 0) { - value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_selector == 1) { - value_value_buf_u.selector = 1; - value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_selector == 2) { - value_value_buf_u.selector = 2; - value_value_buf_u.value2 = static_cast(thisDeserializer.readString()); + else if (src_value_buf_selector == 1) { + src_value_buf.selector = 1; + const Ark_Int8 src_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceStr src_value_buf_u = {}; + src_value_buf_u.selector = src_value_buf_u_selector; + if (src_value_buf_u_selector == 0) { + src_value_buf_u.selector = 0; + src_value_buf_u.value0 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_u_selector == 3) { - value_value_buf_u.selector = 3; - value_value_buf_u.value3 = thisDeserializer.readResource(); + else if (src_value_buf_u_selector == 1) { + src_value_buf_u.selector = 1; + src_value_buf_u.value1 = thisDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for src_value_buf_u has to be chosen through deserialisation."); } - value_value_buf.value0 = static_cast(value_value_buf_u); + src_value_buf.value1 = static_cast(src_value_buf_u); } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readLinearGradient()); + else if (src_value_buf_selector == 2) { + src_value_buf.selector = 2; + src_value_buf.value2 = static_cast(thisDeserializer.readDrawableDescriptor()); + } + else if (src_value_buf_selector == 3) { + src_value_buf.selector = 3; + src_value_buf.value3 = thisDeserializer.readASTCResource(); } else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for src_value_buf has to be chosen through deserialisation."); } - Ark_Union_ResourceColor_LinearGradient value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getProgressModifier()->setColor(self, (const Ark_Union_ResourceColor_LinearGradient*)&value_value); + Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource src_value = static_cast(src_value_buf);; + GetNodeModifiers()->getMediaCachedImageModifier()->setMediaCachedImageOptions(self, (const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource*)&src_value); } -KOALA_INTEROP_DIRECT_V3(ProgressAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ProgressAttribute_style(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MediaCachedImageInterface_setMediaCachedImageOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Menu_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getMenuModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Menu_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_MenuInterface_setMenuOptions(Ark_NativePointer thisPtr) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getMenuModifier()->setMenuOptions(self); +} +KOALA_INTEROP_DIRECT_V1(MenuInterface_setMenuOptions, Ark_NativePointer) +void impl_MenuAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readLinearStyleOptions(); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readRingStyleOptions(); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readCapsuleStyleOptions(); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readProgressStyleOptions(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getProgressModifier()->setStyle(self, (const Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ProgressAttribute_style, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ProgressAttribute_privacySensitive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean value_value = value_value_buf;; - GetNodeModifiers()->getProgressModifier()->setPrivacySensitive(self, (const Opt_Boolean*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getMenuModifier()->setFontSize(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ProgressAttribute_privacySensitive, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ProgressAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MenuAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuAttribute_font(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getProgressModifier()->setContentModifier(self, (const Ark_Object*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ProgressAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_QRCode_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getQRCodeModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(QRCode_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_QRCodeInterface_setQRCodeOptions(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getQRCodeModifier()->setQRCodeOptions(self, (const Ark_String*) (&value)); + Ark_Font value_value = thisDeserializer.readFont();; + GetNodeModifiers()->getMenuModifier()->setFont(self, (const Ark_Font*)&value_value); } -KOALA_INTEROP_V2(QRCodeInterface_setQRCodeOptions, Ark_NativePointer, KStringPtr) -void impl_QRCodeAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MenuAttribute_font, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -10607,943 +9986,999 @@ void impl_QRCodeAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thi INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getQRCodeModifier()->setColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getMenuModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_QRCodeAttribute_backgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MenuAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuAttribute_radius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Dimension_BorderRadiuses value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value1 = thisDeserializer.readBorderRadiuses(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getQRCodeModifier()->setBackgroundColor(self, (const Ark_ResourceColor*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_backgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_QRCodeAttribute_contentOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getQRCodeModifier()->setContentOpacity(self, (const Ark_Union_Number_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_contentOpacity, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Radio_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRadioModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Radio_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_RadioInterface_setRadioOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_RadioOptions options_value = thisDeserializer.readRadioOptions();; - GetNodeModifiers()->getRadioModifier()->setRadioOptions(self, (const Ark_RadioOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(RadioInterface_setRadioOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RadioAttribute_checked(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRadioModifier()->setChecked(self, value); -} -KOALA_INTEROP_DIRECT_V2(RadioAttribute_checked, Ark_NativePointer, Ark_Boolean) -void impl_RadioAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getRadioModifier()->setOnChange(self, (const Callback_Boolean_Void*)&value_value); + Ark_Union_Dimension_BorderRadiuses value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getMenuModifier()->setRadius(self, (const Ark_Union_Dimension_BorderRadiuses*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RadioAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RadioAttribute_radioStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MenuAttribute_radius, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuAttribute_menuItemDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_RadioStyle value_value_buf = {}; + Opt_DividerStyleOptions value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readRadioStyle(); + value_value_buf.value = thisDeserializer.readDividerStyleOptions(); } - Opt_RadioStyle value_value = value_value_buf;; - GetNodeModifiers()->getRadioModifier()->setRadioStyle(self, (const Opt_RadioStyle*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(RadioAttribute_radioStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RadioAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getRadioModifier()->setContentModifier(self, (const Ark_Object*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(RadioAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RadioAttribute__onChangeEvent_checked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getRadioModifier()->set_onChangeEvent_checked(self, (const Callback_Boolean_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(RadioAttribute__onChangeEvent_checked, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Rating_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRatingModifier()->construct(id, flags); + Opt_DividerStyleOptions value_value = value_value_buf;; + GetNodeModifiers()->getMenuModifier()->setMenuItemDivider(self, (const Opt_DividerStyleOptions*)&value_value); } -KOALA_INTEROP_DIRECT_2(Rating_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_RatingInterface_setRatingOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MenuAttribute_menuItemDivider, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuAttribute_menuItemGroupDivider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_RatingOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DividerStyleOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readRatingOptions(); + value_value_buf.value = thisDeserializer.readDividerStyleOptions(); } - Opt_RatingOptions options_value = options_value_buf;; - GetNodeModifiers()->getRatingModifier()->setRatingOptions(self, (const Opt_RatingOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(RatingInterface_setRatingOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RatingAttribute_stars(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRatingModifier()->setStars(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(RatingAttribute_stars, Ark_NativePointer, KInteropNumber) -void impl_RatingAttribute_stepSize(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRatingModifier()->setStepSize(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(RatingAttribute_stepSize, Ark_NativePointer, KInteropNumber) -void impl_RatingAttribute_starStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_StarStyleOptions value_value = thisDeserializer.readStarStyleOptions();; - GetNodeModifiers()->getRatingModifier()->setStarStyle(self, (const Ark_StarStyleOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(RatingAttribute_starStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RatingAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getRatingModifier()->setOnChange(self, (const Callback_Number_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(RatingAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RatingAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getRatingModifier()->setContentModifier(self, (const Ark_Object*)&value_value); + Opt_DividerStyleOptions value_value = value_value_buf;; + GetNodeModifiers()->getMenuModifier()->setMenuItemGroupDivider(self, (const Opt_DividerStyleOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RatingAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RatingAttribute__onChangeEvent_rating(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MenuAttribute_menuItemGroupDivider, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuAttribute_subMenuExpandingMode(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getRatingModifier()->set_onChangeEvent_rating(self, (const Callback_Number_Void*)&callback_value); + GetNodeModifiers()->getMenuModifier()->setSubMenuExpandingMode(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(RatingAttribute__onChangeEvent_rating, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Rect_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRectModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V2(MenuAttribute_subMenuExpandingMode, Ark_NativePointer, Ark_Int32) +Ark_NativePointer impl_MenuItem_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getMenuItemModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(Rect_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_RectInterface_setRectOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(MenuItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_MenuItemInterface_setMenuItemOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_RectOptions_RoundedRectOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_MenuItemOptions_CustomBuilder value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - const Ark_Int8 options_value_buf__selector = thisDeserializer.readInt8(); - Ark_Union_RectOptions_RoundedRectOptions options_value_buf_ = {}; - options_value_buf_.selector = options_value_buf__selector; - if (options_value_buf__selector == 0) { - options_value_buf_.selector = 0; - options_value_buf_.value0 = thisDeserializer.readRectOptions(); + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_MenuItemOptions_CustomBuilder value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = thisDeserializer.readMenuItemOptions(); } - else if (options_value_buf__selector == 1) { - options_value_buf_.selector = 1; - options_value_buf_.value1 = thisDeserializer.readRoundedRectOptions(); + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; } else { - INTEROP_FATAL("One of the branches for options_value_buf_ has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); } - options_value_buf.value = static_cast(options_value_buf_); + value_value_buf.value = static_cast(value_value_buf_); } - Opt_Union_RectOptions_RoundedRectOptions options_value = options_value_buf;; - GetNodeModifiers()->getRectModifier()->setRectOptions(self, (const Opt_Union_RectOptions_RoundedRectOptions*)&options_value); + Opt_Union_MenuItemOptions_CustomBuilder value_value = value_value_buf;; + GetNodeModifiers()->getMenuItemModifier()->setMenuItemOptions(self, (const Opt_Union_MenuItemOptions_CustomBuilder*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RectInterface_setRectOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RectAttribute_radiusWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MenuItemInterface_setMenuItemOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuItemAttribute_selected(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getMenuItemModifier()->setSelected(self, value); +} +KOALA_INTEROP_DIRECT_V2(MenuItemAttribute_selected, Ark_NativePointer, Ark_Boolean) +void impl_MenuItemAttribute_selectIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = thisDeserializer.readBoolean(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceStr value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value1 = static_cast(value_value_buf_u); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readSymbolGlyphModifier(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getRectModifier()->setRadiusWidth(self, (const Ark_Union_Number_String*)&value_value); + Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getMenuItemModifier()->setSelectIcon(self, (const Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RectAttribute_radiusWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RectAttribute_radiusHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_selectIcon, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuItemAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getMenuItemModifier()->setOnChange(self, (const Callback_Boolean_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuItemAttribute_contentFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Font value_value = thisDeserializer.readFont();; + GetNodeModifiers()->getMenuItemModifier()->setContentFont(self, (const Ark_Font*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_contentFont, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuItemAttribute_contentFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getRectModifier()->setRadiusHeight(self, (const Ark_Union_Number_String*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getMenuItemModifier()->setContentFontColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RectAttribute_radiusHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RectAttribute_radius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_contentFontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuItemAttribute_labelFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Font value_value = thisDeserializer.readFont();; + GetNodeModifiers()->getMenuItemModifier()->setLabelFont(self, (const Ark_Font*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_labelFont, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuItemAttribute_labelFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Array_Union_Number_String value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_Union_Number_String value_value_buf_u = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_u, value_value_buf_u_length); - for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { - const Ark_Int8 value_value_buf_u_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf_u_buf = {}; - value_value_buf_u_buf.selector = value_value_buf_u_buf_selector; - if (value_value_buf_u_buf_selector == 0) { - value_value_buf_u_buf.selector = 0; - value_value_buf_u_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_buf_selector == 1) { - value_value_buf_u_buf.selector = 1; - value_value_buf_u_buf.value1 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_buf has to be chosen through deserialisation."); - } - value_value_buf_u.array[value_value_buf_u_i] = static_cast(value_value_buf_u_buf); - } - value_value_buf.value2 = value_value_buf_u; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Array_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getRectModifier()->setRadius(self, (const Ark_Union_Number_String_Array_Union_Number_String*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(RectAttribute_radius, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Refresh_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRefreshModifier()->construct(id, flags); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getMenuItemModifier()->setLabelFontColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_2(Refresh_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_RefreshInterface_setRefreshOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(MenuItemAttribute_labelFontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_MenuItemAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_RefreshOptions value_value = thisDeserializer.readRefreshOptions();; - GetNodeModifiers()->getRefreshModifier()->setRefreshOptions(self, (const Ark_RefreshOptions*)&value_value); + Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getMenuItemModifier()->set_onChangeEvent_selected(self, (const Callback_Boolean_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V3(RefreshInterface_setRefreshOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RefreshAttribute_onStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_RefreshStatus_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RefreshStatus_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RefreshStatus_Void))))};; - GetNodeModifiers()->getRefreshModifier()->setOnStateChange(self, (const Callback_RefreshStatus_Void*)&value_value); +KOALA_INTEROP_DIRECT_V3(MenuItemAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_MenuItemGroup_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getMenuItemGroupModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(RefreshAttribute_onStateChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RefreshAttribute_onRefreshing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(MenuItemGroup_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_MenuItemGroupInterface_setMenuItemGroupOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getRefreshModifier()->setOnRefreshing(self, (const Callback_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_MenuItemGroupOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readMenuItemGroupOptions(); + } + Opt_MenuItemGroupOptions value_value = value_value_buf;; + GetNodeModifiers()->getMenuItemGroupModifier()->setMenuItemGroupOptions(self, (const Opt_MenuItemGroupOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RefreshAttribute_onRefreshing, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RefreshAttribute_refreshOffset(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(MenuItemGroupInterface_setMenuItemGroupOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_NavDestination_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getNavDestinationModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(NavDestination_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_NavDestinationInterface_setNavDestinationOptions(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRefreshModifier()->setRefreshOffset(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getNavDestinationModifier()->setNavDestinationOptions(self); } -KOALA_INTEROP_DIRECT_V2(RefreshAttribute_refreshOffset, Ark_NativePointer, KInteropNumber) -void impl_RefreshAttribute_pullToRefresh(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V1(NavDestinationInterface_setNavDestinationOptions, Ark_NativePointer) +void impl_NavDestinationAttribute_hideTitleBar0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRefreshModifier()->setPullToRefresh(self, value); + GetNodeModifiers()->getNavDestinationModifier()->setHideTitleBar0(self, value); } -KOALA_INTEROP_DIRECT_V2(RefreshAttribute_pullToRefresh, Ark_NativePointer, Ark_Boolean) -void impl_RefreshAttribute_onOffsetChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(NavDestinationAttribute_hideTitleBar0, Ark_NativePointer, Ark_Boolean) +void impl_NavDestinationAttribute_hideTitleBar1(Ark_NativePointer thisPtr, Ark_Boolean hide, Ark_Boolean animated) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getRefreshModifier()->setOnOffsetChange(self, (const Callback_Number_Void*)&value_value); + GetNodeModifiers()->getNavDestinationModifier()->setHideTitleBar1(self, hide, animated); } -KOALA_INTEROP_DIRECT_V3(RefreshAttribute_onOffsetChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RefreshAttribute_pullDownRatio(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_hideTitleBar1, Ark_NativePointer, Ark_Boolean, Ark_Boolean) +void impl_NavDestinationAttribute_hideBackButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number value_value_buf = {}; + Opt_Boolean value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = static_cast(thisDeserializer.readNumber()); + value_value_buf.value = thisDeserializer.readBoolean(); } - Opt_Number value_value = value_value_buf;; - GetNodeModifiers()->getRefreshModifier()->setPullDownRatio(self, (const Opt_Number*)&value_value); + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setHideBackButton(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RefreshAttribute_pullDownRatio, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RefreshAttribute__onChangeEvent_refreshing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_hideBackButton, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_onShown(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getRefreshModifier()->set_onChangeEvent_refreshing(self, (const Callback_Boolean_Void*)&callback_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getNavDestinationModifier()->setOnShown(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RefreshAttribute__onChangeEvent_refreshing, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_RelativeContainer_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRelativeContainerModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onShown, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_onHidden(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getNavDestinationModifier()->setOnHidden(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_2(RelativeContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_RelativeContainerInterface_setRelativeContainerOptions(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onHidden, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_onBackPressed(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRelativeContainerModifier()->setRelativeContainerOptions(self); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean))))};; + GetNodeModifiers()->getNavDestinationModifier()->setOnBackPressed(self, (const Callback_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V1(RelativeContainerInterface_setRelativeContainerOptions, Ark_NativePointer) -void impl_RelativeContainerAttribute_guideLine(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onBackPressed, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_onResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_GuideLineStyle value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - value_value_buf.array[value_value_buf_i] = thisDeserializer.readGuideLineStyle(); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Object_Void value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Object_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Object_Void))))}; } - Array_GuideLineStyle value_value = value_value_buf;; - GetNodeModifiers()->getRelativeContainerModifier()->setGuideLine(self, (const Array_GuideLineStyle*)&value_value); + Opt_Callback_Object_Void value_value = value_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnResult(self, (const Opt_Callback_Object_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_guideLine, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RelativeContainerAttribute_barrier0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onResult, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_mode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getNavDestinationModifier()->setMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(NavDestinationAttribute_mode, Ark_NativePointer, Ark_Int32) +void impl_NavDestinationAttribute_backButtonIcon0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_BarrierStyle value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - value_value_buf.array[value_value_buf_i] = thisDeserializer.readBarrierStyle(); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceStr value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); } - Array_BarrierStyle value_value = value_value_buf;; - GetNodeModifiers()->getRelativeContainerModifier()->setBarrier0(self, (const Array_BarrierStyle*)&value_value); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readPixelMap()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readSymbolGlyphModifier(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getNavDestinationModifier()->setBackButtonIcon0(self, (const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_barrier0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RelativeContainerAttribute_barrier1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_backButtonIcon0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_backButtonIcon1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_LocalizedBarrierStyle value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - value_value_buf.array[value_value_buf_i] = thisDeserializer.readLocalizedBarrierStyle(); + const Ark_Int8 icon_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier icon_value_buf = {}; + icon_value_buf.selector = icon_value_buf_selector; + if (icon_value_buf_selector == 0) { + icon_value_buf.selector = 0; + const Ark_Int8 icon_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceStr icon_value_buf_u = {}; + icon_value_buf_u.selector = icon_value_buf_u_selector; + if (icon_value_buf_u_selector == 0) { + icon_value_buf_u.selector = 0; + icon_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (icon_value_buf_u_selector == 1) { + icon_value_buf_u.selector = 1; + icon_value_buf_u.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for icon_value_buf_u has to be chosen through deserialisation."); + } + icon_value_buf.value0 = static_cast(icon_value_buf_u); } - Array_LocalizedBarrierStyle value_value = value_value_buf;; - GetNodeModifiers()->getRelativeContainerModifier()->setBarrier1(self, (const Array_LocalizedBarrierStyle*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_barrier1, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_RichEditor_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRichEditorModifier()->construct(id, flags); + else if (icon_value_buf_selector == 1) { + icon_value_buf.selector = 1; + icon_value_buf.value1 = static_cast(thisDeserializer.readPixelMap()); + } + else if (icon_value_buf_selector == 2) { + icon_value_buf.selector = 2; + icon_value_buf.value2 = thisDeserializer.readSymbolGlyphModifier(); + } + else { + INTEROP_FATAL("One of the branches for icon_value_buf has to be chosen through deserialisation."); + } + Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier icon_value = static_cast(icon_value_buf);; + const auto accessibilityText_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr accessibilityText_value_buf = {}; + accessibilityText_value_buf.tag = accessibilityText_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (accessibilityText_value_buf_runtimeType)) + { + const Ark_Int8 accessibilityText_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceStr accessibilityText_value_buf_ = {}; + accessibilityText_value_buf_.selector = accessibilityText_value_buf__selector; + if (accessibilityText_value_buf__selector == 0) { + accessibilityText_value_buf_.selector = 0; + accessibilityText_value_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (accessibilityText_value_buf__selector == 1) { + accessibilityText_value_buf_.selector = 1; + accessibilityText_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for accessibilityText_value_buf_ has to be chosen through deserialisation."); + } + accessibilityText_value_buf.value = static_cast(accessibilityText_value_buf_); + } + Opt_ResourceStr accessibilityText_value = accessibilityText_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setBackButtonIcon1(self, (const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier*)&icon_value, (const Opt_ResourceStr*)&accessibilityText_value); } -KOALA_INTEROP_DIRECT_2(RichEditor_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_RichEditorInterface_setRichEditorOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_backButtonIcon1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_menus0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_RichEditorOptions value_value = thisDeserializer.readRichEditorOptions();; - GetNodeModifiers()->getRichEditorModifier()->setRichEditorOptions0(self, (const Ark_RichEditorOptions*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Array_NavigationMenuItem_CustomBuilder value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); + Array_NavigationMenuItem value_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf_u, value_value_buf_u_length); + for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { + value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readNavigationMenuItem(); + } + value_value_buf.value0 = value_value_buf_u; + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Array_NavigationMenuItem_CustomBuilder value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getNavDestinationModifier()->setMenus0(self, (const Ark_Union_Array_NavigationMenuItem_CustomBuilder*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorInterface_setRichEditorOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorInterface_setRichEditorOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_menus0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_menus1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_RichEditorStyledStringOptions options_value = thisDeserializer.readRichEditorStyledStringOptions();; - GetNodeModifiers()->getRichEditorModifier()->setRichEditorOptions1(self, (const Ark_RichEditorStyledStringOptions*)&options_value); + const Ark_Int8 items_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Array_NavigationMenuItem_CustomBuilder items_value_buf = {}; + items_value_buf.selector = items_value_buf_selector; + if (items_value_buf_selector == 0) { + items_value_buf.selector = 0; + const Ark_Int32 items_value_buf_u_length = thisDeserializer.readInt32(); + Array_NavigationMenuItem items_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&items_value_buf_u, items_value_buf_u_length); + for (int items_value_buf_u_i = 0; items_value_buf_u_i < items_value_buf_u_length; items_value_buf_u_i++) { + items_value_buf_u.array[items_value_buf_u_i] = thisDeserializer.readNavigationMenuItem(); + } + items_value_buf.value0 = items_value_buf_u; + } + else if (items_value_buf_selector == 1) { + items_value_buf.selector = 1; + items_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + else { + INTEROP_FATAL("One of the branches for items_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Array_NavigationMenuItem_CustomBuilder items_value = static_cast(items_value_buf);; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationMenuOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readNavigationMenuOptions(); + } + Opt_NavigationMenuOptions options_value = options_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setMenus1(self, (const Ark_Union_Array_NavigationMenuItem_CustomBuilder*)&items_value, (const Opt_NavigationMenuOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorInterface_setRichEditorOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_onReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_menus1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_onReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnReady(self, (const Callback_Void*)&value_value); + Callback_NavDestinationContext_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavDestinationContext_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavDestinationContext_Void))))};; + GetNodeModifiers()->getNavDestinationModifier()->setOnReady(self, (const Callback_NavDestinationContext_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onReady, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_onSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onReady, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_onWillAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_RichEditorSelection_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RichEditorSelection_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RichEditorSelection_Void))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnSelect(self, (const Callback_RichEditorSelection_Void*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getNavDestinationModifier()->setOnWillAppear(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onSelect, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_onSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillAppear, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_onWillDisappear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_RichEditorRange_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RichEditorRange_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RichEditorRange_Void))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnSelectionChange(self, (const Callback_RichEditorRange_Void*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getNavDestinationModifier()->setOnWillDisappear(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_aboutToIMEInput(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillDisappear, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_onWillShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_RichEditorInsertValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RichEditorInsertValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RichEditorInsertValue_Boolean))))};; - GetNodeModifiers()->getRichEditorModifier()->setAboutToIMEInput(self, (const Callback_RichEditorInsertValue_Boolean*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getNavDestinationModifier()->setOnWillShow(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_aboutToIMEInput, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_onIMEInputComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillShow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_onWillHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_RichEditorTextSpanResult_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RichEditorTextSpanResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RichEditorTextSpanResult_Void))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnIMEInputComplete(self, (const Callback_RichEditorTextSpanResult_Void*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getNavDestinationModifier()->setOnWillHide(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onIMEInputComplete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_onDidIMEInput(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onWillHide, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_systemBarStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_TextRange_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TextRange_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TextRange_Void))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnDidIMEInput(self, (const Callback_TextRange_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SystemBarStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readSystemBarStyle(); + } + Opt_SystemBarStyle value_value = value_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setSystemBarStyle(self, (const Opt_SystemBarStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onDidIMEInput, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_aboutToDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_systemBarStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_recoverable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_RichEditorDeleteValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RichEditorDeleteValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RichEditorDeleteValue_Boolean))))};; - GetNodeModifiers()->getRichEditorModifier()->setAboutToDelete(self, (const Callback_RichEditorDeleteValue_Boolean*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setRecoverable(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_aboutToDelete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_onDeleteComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_recoverable, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_systemTransition(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnDeleteComplete(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getNavDestinationModifier()->setSystemTransition(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onDeleteComplete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_copyOptions(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(NavDestinationAttribute_systemTransition, Ark_NativePointer, Ark_Int32) +void impl_NavDestinationAttribute_bindToScrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRichEditorModifier()->setCopyOptions(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_Scroller value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = static_cast(thisDeserializer.readScroller()); + } + Array_Scroller value_value = value_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setBindToScrollable(self, (const Array_Scroller*)&value_value); } -KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_copyOptions, Ark_NativePointer, Ark_Int32) -void impl_RichEditorAttribute_onPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_bindToScrollable, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_bindToNestedScrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - PasteEventCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_PasteEventCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_PasteEventCallback))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnPaste(self, (const PasteEventCallback*)&value_value); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_NestedScrollInfo value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readNestedScrollInfo(); + } + Array_NestedScrollInfo value_value = value_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setBindToNestedScrollable(self, (const Array_NestedScrollInfo*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onPaste, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_enableDataDetector(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_bindToNestedScrollable, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_onActive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRichEditorModifier()->setEnableDataDetector(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_NavDestinationActiveReason_Void value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavDestinationActiveReason_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavDestinationActiveReason_Void))))}; + } + Opt_Callback_NavDestinationActiveReason_Void value_value = value_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnActive(self, (const Opt_Callback_NavDestinationActiveReason_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_enableDataDetector, Ark_NativePointer, Ark_Boolean) -void impl_RichEditorAttribute_enablePreviewText(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onActive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_onInactive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRichEditorModifier()->setEnablePreviewText(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_NavDestinationActiveReason_Void value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavDestinationActiveReason_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavDestinationActiveReason_Void))))}; + } + Opt_Callback_NavDestinationActiveReason_Void value_value = value_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnInactive(self, (const Opt_Callback_NavDestinationActiveReason_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_enablePreviewText, Ark_NativePointer, Ark_Boolean) -void impl_RichEditorAttribute_dataDetectorConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onInactive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_customTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_TextDataDetectorConfig value_value = thisDeserializer.readTextDataDetectorConfig();; - GetNodeModifiers()->getRichEditorModifier()->setDataDetectorConfig(self, (const Ark_TextDataDetectorConfig*)&value_value); + NavDestinationTransitionDelegate value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_NavDestinationTransitionDelegate)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_NavDestinationTransitionDelegate))))};; + GetNodeModifiers()->getNavDestinationModifier()->setCustomTransition(self, (const NavDestinationTransitionDelegate*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_dataDetectorConfig, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_customTransition, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_onNewParam(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Object_Void value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Object_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Object_Void))))}; } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + Opt_Callback_Object_Void value_value = value_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setOnNewParam(self, (const Opt_Callback_Object_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_onNewParam, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_preferredOrientation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Orientation value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readOrientation(); } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + Opt_Orientation value_value = value_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setPreferredOrientation(self, (const Opt_Orientation*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_preferredOrientation, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_enableNavigationIndicator(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getRichEditorModifier()->setCaretColor(self, (const Ark_ResourceColor*)&value_value); + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setEnableNavigationIndicator(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_caretColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_enableNavigationIndicator, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_title(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Type_NavDestinationAttribute_title_value value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); + value_value_buf.value2 = thisDeserializer.readNavDestinationCommonTitle(); } else if (value_value_buf_selector == 3) { value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value3 = thisDeserializer.readNavDestinationCustomTitle(); + } + else if (value_value_buf_selector == 4) { + value_value_buf.selector = 4; + value_value_buf.value4 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getRichEditorModifier()->setSelectedBackgroundColor(self, (const Ark_ResourceColor*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_onEditingChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnEditingChange(self, (const Callback_Boolean_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onEditingChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_enterKeyType(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRichEditorModifier()->setEnterKeyType(self, static_cast(value)); + Ark_Type_NavDestinationAttribute_title_value value_value = static_cast(value_value_buf);; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationTitleOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readNavigationTitleOptions(); + } + Opt_NavigationTitleOptions options_value = options_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setTitle(self, (const Ark_Type_NavDestinationAttribute_title_value*)&value_value, (const Opt_NavigationTitleOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_enterKeyType, Ark_NativePointer, Ark_Int32) -void impl_RichEditorAttribute_onSubmit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_title, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_toolbarConfiguration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - SubmitCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_SubmitCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_SubmitCallback))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnSubmit(self, (const SubmitCallback*)&value_value); + const Ark_Int8 toolbarParam_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Array_ToolbarItem_CustomBuilder toolbarParam_value_buf = {}; + toolbarParam_value_buf.selector = toolbarParam_value_buf_selector; + if (toolbarParam_value_buf_selector == 0) { + toolbarParam_value_buf.selector = 0; + const Ark_Int32 toolbarParam_value_buf_u_length = thisDeserializer.readInt32(); + Array_ToolbarItem toolbarParam_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&toolbarParam_value_buf_u, toolbarParam_value_buf_u_length); + for (int toolbarParam_value_buf_u_i = 0; toolbarParam_value_buf_u_i < toolbarParam_value_buf_u_length; toolbarParam_value_buf_u_i++) { + toolbarParam_value_buf_u.array[toolbarParam_value_buf_u_i] = thisDeserializer.readToolbarItem(); + } + toolbarParam_value_buf.value0 = toolbarParam_value_buf_u; + } + else if (toolbarParam_value_buf_selector == 1) { + toolbarParam_value_buf.selector = 1; + toolbarParam_value_buf.value1 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + else { + INTEROP_FATAL("One of the branches for toolbarParam_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Array_ToolbarItem_CustomBuilder toolbarParam_value = static_cast(toolbarParam_value_buf);; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationToolbarOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readNavigationToolbarOptions(); + } + Opt_NavigationToolbarOptions options_value = options_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setToolbarConfiguration(self, (const Ark_Union_Array_ToolbarItem_CustomBuilder*)&toolbarParam_value, (const Opt_NavigationToolbarOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onSubmit, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_onWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_toolbarConfiguration, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_hideToolBar(Ark_NativePointer thisPtr, Ark_Boolean hide, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_RichEditorChangeValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RichEditorChangeValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RichEditorChangeValue_Boolean))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnWillChange(self, (const Callback_RichEditorChangeValue_Boolean*)&value_value); + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + { + animated_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animated_value = animated_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setHideToolBar(self, hide, (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onWillChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_onDidChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V4(NavDestinationAttribute_hideToolBar, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_ignoreLayoutSafeArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnDidChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnDidChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnDidChangeCallback))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnDidChange(self, (const OnDidChangeCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onDidChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_onCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + const auto types_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_LayoutSafeAreaType types_value_buf = {}; + types_value_buf.tag = types_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (types_value_buf_runtimeType)) + { + const Ark_Int32 types_value_buf__length = thisDeserializer.readInt32(); + Array_LayoutSafeAreaType types_value_buf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&types_value_buf_, types_value_buf__length); + for (int types_value_buf__i = 0; types_value_buf__i < types_value_buf__length; types_value_buf__i++) { + types_value_buf_.array[types_value_buf__i] = static_cast(thisDeserializer.readInt32()); + } + types_value_buf.value = types_value_buf_; + } + Opt_Array_LayoutSafeAreaType types_value = types_value_buf;; + const auto edges_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_LayoutSafeAreaEdge edges_value_buf = {}; + edges_value_buf.tag = edges_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (edges_value_buf_runtimeType)) + { + const Ark_Int32 edges_value_buf__length = thisDeserializer.readInt32(); + Array_LayoutSafeAreaEdge edges_value_buf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&edges_value_buf_, edges_value_buf__length); + for (int edges_value_buf__i = 0; edges_value_buf__i < edges_value_buf__length; edges_value_buf__i++) { + edges_value_buf_.array[edges_value_buf__i] = static_cast(thisDeserializer.readInt32()); + } + edges_value_buf.value = edges_value_buf_; + } + Opt_Array_LayoutSafeAreaEdge edges_value = edges_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setIgnoreLayoutSafeArea(self, (const Opt_Array_LayoutSafeAreaType*)&types_value, (const Opt_Array_LayoutSafeAreaEdge*)&edges_value); +} +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_ignoreLayoutSafeArea, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavDestinationAttribute_enableStatusBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_CutEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_CutEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_CutEvent_Void))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnCut(self, (const Callback_CutEvent_Void*)&value_value); + const auto enabled_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean enabled_value_buf = {}; + enabled_value_buf.tag = enabled_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enabled_value_buf_runtimeType)) + { + enabled_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean enabled_value = enabled_value_buf;; + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + { + animated_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animated_value = animated_value_buf;; + GetNodeModifiers()->getNavDestinationModifier()->setEnableStatusBar(self, (const Opt_Boolean*)&enabled_value, (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onCut, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavDestinationAttribute_enableStatusBar, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_NavRouter_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getNavRouterModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(NavRouter_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_NavRouterInterface_setNavRouterOptions0(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_CopyEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_CopyEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_CopyEvent_Void))))};; - GetNodeModifiers()->getRichEditorModifier()->setOnCopy(self, (const Callback_CopyEvent_Void*)&value_value); + GetNodeModifiers()->getNavRouterModifier()->setNavRouterOptions0(self); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V1(NavRouterInterface_setNavRouterOptions0, Ark_NativePointer) +void impl_NavRouterInterface_setNavRouterOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_EditMenuOptions value_value = thisDeserializer.readEditMenuOptions();; - GetNodeModifiers()->getRichEditorModifier()->setEditMenuOptions(self, (const Ark_EditMenuOptions*)&value_value); + Ark_RouteInfo value_value = thisDeserializer.readRouteInfo();; + GetNodeModifiers()->getNavRouterModifier()->setNavRouterOptions1(self, (const Ark_RouteInfo*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_enableKeyboardOnFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(NavRouterInterface_setNavRouterOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavRouterAttribute_onStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRichEditorModifier()->setEnableKeyboardOnFocus(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getNavRouterModifier()->setOnStateChange(self, (const Callback_Boolean_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_enableKeyboardOnFocus, Ark_NativePointer, Ark_Boolean) -void impl_RichEditorAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(NavRouterAttribute_onStateChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavRouterAttribute_mode(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRichEditorModifier()->setEnableHapticFeedback(self, value); + GetNodeModifiers()->getNavRouterModifier()->setMode(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) -void impl_RichEditorAttribute_barState(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRichEditorModifier()->setBarState(self, static_cast(value)); +KOALA_INTEROP_DIRECT_V2(NavRouterAttribute_mode, Ark_NativePointer, Ark_Int32) +Ark_NativePointer impl_Navigator_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getNavigatorModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_barState, Ark_NativePointer, Ark_Int32) -void impl_RichEditorAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, Ark_Int32 spanType, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Navigator_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_NavigatorInterface_setNavigatorOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - CustomNodeBuilder content_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; - const Ark_Int8 responseType_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ResponseType_RichEditorResponseType responseType_value_buf = {}; - responseType_value_buf.selector = responseType_value_buf_selector; - if (responseType_value_buf_selector == 0) { - responseType_value_buf.selector = 0; - responseType_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (responseType_value_buf_selector == 1) { - responseType_value_buf.selector = 1; - responseType_value_buf.value1 = static_cast(thisDeserializer.readInt32()); - } - else { - INTEROP_FATAL("One of the branches for responseType_value_buf has to be chosen through deserialisation."); - } - Ark_Union_ResponseType_RichEditorResponseType responseType_value = static_cast(responseType_value_buf);; - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SelectionMenuOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Literal_String_target_NavigationType_type value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readSelectionMenuOptions(); + Ark_Literal_String_target_NavigationType_type value_value_buf_ = {}; + value_value_buf_.target = static_cast(thisDeserializer.readString()); + const auto value_value_buf__type_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationType value_value_buf__type_buf = {}; + value_value_buf__type_buf.tag = value_value_buf__type_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__type_buf_runtimeType)) + { + value_value_buf__type_buf.value = static_cast(thisDeserializer.readInt32()); + } + value_value_buf_.type = value_value_buf__type_buf; + value_value_buf.value = value_value_buf_; } - Opt_SelectionMenuOptions options_value = options_value_buf;; - GetNodeModifiers()->getRichEditorModifier()->setBindSelectionMenu(self, static_cast(spanType), (const CustomNodeBuilder*)&content_value, (const Ark_Union_ResponseType_RichEditorResponseType*)&responseType_value, (const Opt_SelectionMenuOptions*)&options_value); + Opt_Literal_String_target_NavigationType_type value_value = value_value_buf;; + GetNodeModifiers()->getNavigatorModifier()->setNavigatorOptions0(self, (const Opt_Literal_String_target_NavigationType_type*)&value_value); } -KOALA_INTEROP_DIRECT_V4(RichEditorAttribute_bindSelectionMenu, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_customKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(NavigatorInterface_setNavigatorOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavigatorInterface_setNavigatorOptions1(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_KeyboardOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readKeyboardOptions(); - } - Opt_KeyboardOptions options_value = options_value_buf;; - GetNodeModifiers()->getRichEditorModifier()->setCustomKeyboard(self, (const CustomNodeBuilder*)&value_value, (const Opt_KeyboardOptions*)&options_value); + GetNodeModifiers()->getNavigatorModifier()->setNavigatorOptions1(self); } -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_customKeyboard, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichEditorAttribute_placeholder(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V1(NavigatorInterface_setNavigatorOptions1, Ark_NativePointer) +void impl_NavigatorAttribute_active(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_ResourceStr value_value = static_cast(value_value_buf);; - const auto style_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_PlaceholderStyle style_value_buf = {}; - style_value_buf.tag = style_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (style_value_buf_runtimeType)) - { - style_value_buf.value = thisDeserializer.readPlaceholderStyle(); - } - Opt_PlaceholderStyle style_value = style_value_buf;; - GetNodeModifiers()->getRichEditorModifier()->setPlaceholder(self, (const Ark_ResourceStr*)&value_value, (const Opt_PlaceholderStyle*)&style_value); -} -KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_placeholder, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_RichText_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRichTextModifier()->construct(id, flags); + GetNodeModifiers()->getNavigatorModifier()->setActive(self, value); } -KOALA_INTEROP_DIRECT_2(RichText_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_RichTextInterface_setRichTextOptions(Ark_NativePointer thisPtr, const KStringPtr& content) { +KOALA_INTEROP_DIRECT_V2(NavigatorAttribute_active, Ark_NativePointer, Ark_Boolean) +void impl_NavigatorAttribute_type(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRichTextModifier()->setRichTextOptions(self, (const Ark_String*) (&content)); + GetNodeModifiers()->getNavigatorModifier()->setType(self, static_cast(value)); } -KOALA_INTEROP_V2(RichTextInterface_setRichTextOptions, Ark_NativePointer, KStringPtr) -void impl_RichTextAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(NavigatorAttribute_type, Ark_NativePointer, Ark_Int32) +void impl_NavigatorAttribute_target(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getRichTextModifier()->setOnStart(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getNavigatorModifier()->setTarget(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V3(RichTextAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RichTextAttribute_onComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(NavigatorAttribute_target, Ark_NativePointer, KStringPtr) +void impl_NavigatorAttribute_params(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getRichTextModifier()->setOnComplete(self, (const Callback_Void*)&value_value); + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getNavigatorModifier()->setParams(self, (const Ark_Object*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RichTextAttribute_onComplete, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_RootScene_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRootSceneModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(NavigatorAttribute_params, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_NodeContainer_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getNodeContainerModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(RootScene_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_RootSceneInterface_setRootSceneOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(NodeContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_NodeContainerInterface_setNodeContainerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_RootSceneSession session_value = thisDeserializer.readRootSceneSession();; - GetNodeModifiers()->getRootSceneModifier()->setRootSceneOptions(self, (const Ark_RootSceneSession*)&session_value); + Ark_NodeController controller_value = thisDeserializer.readNodeController();; + GetNodeModifiers()->getNodeContainerModifier()->setNodeContainerOptions(self, (const Ark_NodeController*)&controller_value); } -KOALA_INTEROP_DIRECT_V3(RootSceneInterface_setRootSceneOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Row_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRowModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(NodeContainerInterface_setNodeContainerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Panel_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getPanelModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(Row_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_RowInterface_setRowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Panel_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_PanelInterface_setPanelOptions(Ark_NativePointer thisPtr, Ark_Boolean show) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_RowOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readRowOptions(); - } - Opt_RowOptions options_value = options_value_buf;; - GetNodeModifiers()->getRowModifier()->setRowOptions(self, (const Opt_RowOptions*)&options_value); + GetNodeModifiers()->getPanelModifier()->setPanelOptions(self, show); } -KOALA_INTEROP_DIRECT_V3(RowInterface_setRowOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RowAttribute_alignItems(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(PanelInterface_setPanelOptions, Ark_NativePointer, Ark_Boolean) +void impl_PanelAttribute_mode(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRowModifier()->setAlignItems(self, static_cast(value)); + GetNodeModifiers()->getPanelModifier()->setMode(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(RowAttribute_alignItems, Ark_NativePointer, Ark_Int32) -void impl_RowAttribute_justifyContent(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(PanelAttribute_mode, Ark_NativePointer, Ark_Int32) +void impl_PanelAttribute_type(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRowModifier()->setJustifyContent(self, static_cast(value)); + GetNodeModifiers()->getPanelModifier()->setType(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(RowAttribute_justifyContent, Ark_NativePointer, Ark_Int32) -void impl_RowAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(PanelAttribute_type, Ark_NativePointer, Ark_Int32) +void impl_PanelAttribute_dragBar(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_PointLightStyle value_value = thisDeserializer.readPointLightStyle();; - GetNodeModifiers()->getRowModifier()->setPointLight(self, (const Ark_PointLightStyle*)&value_value); + GetNodeModifiers()->getPanelModifier()->setDragBar(self, value); } -KOALA_INTEROP_DIRECT_V3(RowAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_RowAttribute_reverse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(PanelAttribute_dragBar, Ark_NativePointer, Ark_Boolean) +void impl_PanelAttribute_customHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readBoolean(); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Dimension_PanelHeight value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); } - Opt_Boolean value_value = value_value_buf;; - GetNodeModifiers()->getRowModifier()->setReverse(self, (const Opt_Boolean*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(RowAttribute_reverse, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_RowSplit_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRowSplitModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(RowSplit_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_RowSplitInterface_setRowSplitOptions(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRowSplitModifier()->setRowSplitOptions(self); -} -KOALA_INTEROP_DIRECT_V1(RowSplitInterface_setRowSplitOptions, Ark_NativePointer) -void impl_RowSplitAttribute_resizeable(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRowSplitModifier()->setResizeable(self, value); -} -KOALA_INTEROP_DIRECT_V2(RowSplitAttribute_resizeable, Ark_NativePointer, Ark_Boolean) -Ark_NativePointer impl_SaveButton_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSaveButtonModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(SaveButton_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_SaveButtonInterface_setSaveButtonOptions0(Ark_NativePointer thisPtr) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSaveButtonModifier()->setSaveButtonOptions0(self); -} -KOALA_INTEROP_DIRECT_V1(SaveButtonInterface_setSaveButtonOptions0, Ark_NativePointer) -void impl_SaveButtonInterface_setSaveButtonOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_SaveButtonOptions options_value = thisDeserializer.readSaveButtonOptions();; - GetNodeModifiers()->getSaveButtonModifier()->setSaveButtonOptions1(self, (const Ark_SaveButtonOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(SaveButtonInterface_setSaveButtonOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SaveButtonAttribute_onClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_ClickEvent_SaveButtonOnClickResult_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void))))};; - GetNodeModifiers()->getSaveButtonModifier()->setOnClick(self, (const Callback_ClickEvent_SaveButtonOnClickResult_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SaveButtonAttribute_onClick, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Screen_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getScreenModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Screen_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ScreenInterface_setScreenOptions(Ark_NativePointer thisPtr, KInteropNumber screenId) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getScreenModifier()->setScreenOptions(self, (const Ark_Number*) (&screenId)); -} -KOALA_INTEROP_DIRECT_V2(ScreenInterface_setScreenOptions, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_Scroll_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getScrollModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Scroll_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ScrollInterface_setScrollOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto scroller_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Scroller scroller_value_buf = {}; - scroller_value_buf.tag = scroller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (scroller_value_buf_runtimeType)) - { - scroller_value_buf.value = static_cast(thisDeserializer.readScroller()); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); } - Opt_Scroller scroller_value = scroller_value_buf;; - GetNodeModifiers()->getScrollModifier()->setScrollOptions(self, (const Opt_Scroller*)&scroller_value); -} -KOALA_INTEROP_DIRECT_V3(ScrollInterface_setScrollOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_scrollable(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getScrollModifier()->setScrollable(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(ScrollAttribute_scrollable, Ark_NativePointer, Ark_Int32) -void impl_ScrollAttribute_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; - GetNodeModifiers()->getScrollModifier()->setOnScroll(self, (const Callback_Number_Number_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_onWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScrollOnWillScrollCallback value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ScrollOnWillScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ScrollOnWillScrollCallback))))}; + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Opt_ScrollOnWillScrollCallback value_value = value_value_buf;; - GetNodeModifiers()->getScrollModifier()->setOnWillScroll(self, (const Opt_ScrollOnWillScrollCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onWillScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_onDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - ScrollOnScrollCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ScrollOnScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ScrollOnScrollCallback))))};; - GetNodeModifiers()->getScrollModifier()->setOnDidScroll(self, (const ScrollOnScrollCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onDidScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_onScrollEdge(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnScrollEdgeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnScrollEdgeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnScrollEdgeCallback))))};; - GetNodeModifiers()->getScrollModifier()->setOnScrollEdge(self, (const OnScrollEdgeCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollEdge, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_onScrollStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; - GetNodeModifiers()->getScrollModifier()->setOnScrollStart(self, (const VoidCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_onScrollEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getScrollModifier()->setOnScrollEnd(self, (const Callback_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollEnd, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_onScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; - GetNodeModifiers()->getScrollModifier()->setOnScrollStop(self, (const VoidCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollStop, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_scrollBar(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getScrollModifier()->setScrollBar(self, static_cast(value)); + Ark_Union_Dimension_PanelHeight value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getPanelModifier()->setCustomHeight(self, (const Ark_Union_Dimension_PanelHeight*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ScrollAttribute_scrollBar, Ark_NativePointer, Ark_Int32) -void impl_ScrollAttribute_scrollBarColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PanelAttribute_customHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PanelAttribute_fullHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Color_Number_String value_value_buf = {}; + Ark_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Color_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getScrollModifier()->setScrollBarColor(self, (const Ark_Union_Color_Number_String*)&value_value); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getPanelModifier()->setFullHeight(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollBarColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_scrollBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PanelAttribute_fullHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PanelAttribute_halfHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -11561,134 +10996,163 @@ void impl_ScrollAttribute_scrollBarWidth(Ark_NativePointer thisPtr, KSerializerB INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getScrollModifier()->setScrollBarWidth(self, (const Ark_Union_Number_String*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollBarWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_onScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnScrollFrameBeginCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnScrollFrameBeginCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnScrollFrameBeginCallback))))};; - GetNodeModifiers()->getScrollModifier()->setOnScrollFrameBegin(self, (const OnScrollFrameBeginCallback*)&value_value); + GetNodeModifiers()->getPanelModifier()->setHalfHeight(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PanelAttribute_halfHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PanelAttribute_miniHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_NestedScrollOptions value_value = thisDeserializer.readNestedScrollOptions();; - GetNodeModifiers()->getScrollModifier()->setNestedScroll(self, (const Ark_NestedScrollOptions*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getPanelModifier()->setMiniHeight(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_enableScrollInteraction(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(PanelAttribute_miniHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PanelAttribute_show(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getScrollModifier()->setEnableScrollInteraction(self, value); + GetNodeModifiers()->getPanelModifier()->setShow(self, value); } -KOALA_INTEROP_DIRECT_V2(ScrollAttribute_enableScrollInteraction, Ark_NativePointer, Ark_Boolean) -void impl_ScrollAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(PanelAttribute_show, Ark_NativePointer, Ark_Boolean) +void impl_PanelAttribute_backgroundMask(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getScrollModifier()->setFriction(self, (const Ark_Union_Number_Resource*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getPanelModifier()->setBackgroundMask(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_friction, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_scrollSnap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PanelAttribute_backgroundMask, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PanelAttribute_showCloseIcon(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_ScrollSnapOptions value_value = thisDeserializer.readScrollSnapOptions();; - GetNodeModifiers()->getScrollModifier()->setScrollSnap(self, (const Ark_ScrollSnapOptions*)&value_value); + GetNodeModifiers()->getPanelModifier()->setShowCloseIcon(self, value); } -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollSnap, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_enablePaging(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(PanelAttribute_showCloseIcon, Ark_NativePointer, Ark_Boolean) +void impl_PanelAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getScrollModifier()->setEnablePaging(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Number_PanelMode_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_PanelMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_PanelMode_Void))))};; + GetNodeModifiers()->getPanelModifier()->setOnChange(self, (const Callback_Number_Number_PanelMode_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ScrollAttribute_enablePaging, Ark_NativePointer, Ark_Boolean) -void impl_ScrollAttribute_initialOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PanelAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PanelAttribute_onHeightChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_OffsetOptions value_value = thisDeserializer.readOffsetOptions();; - GetNodeModifiers()->getScrollModifier()->setInitialOffset(self, (const Ark_OffsetOptions*)&value_value); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getPanelModifier()->setOnHeightChange(self, (const Callback_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ScrollAttribute_initialOffset, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 edgeEffect, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PanelAttribute_onHeightChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PanelAttribute__onChangeEvent_mode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_EdgeEffectOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readEdgeEffectOptions(); - } - Opt_EdgeEffectOptions options_value = options_value_buf;; - GetNodeModifiers()->getScrollModifier()->setEdgeEffect(self, static_cast(edgeEffect), (const Opt_EdgeEffectOptions*)&options_value); + Callback_PanelMode_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PanelMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PanelMode_Void))))};; + GetNodeModifiers()->getPanelModifier()->set_onChangeEvent_mode(self, (const Callback_PanelMode_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V4(ScrollAttribute_edgeEffect, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) -Ark_NativePointer impl_ScrollBar_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getScrollBarModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(PanelAttribute__onChangeEvent_mode, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_PasteButton_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getPasteButtonModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(ScrollBar_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ScrollBarInterface_setScrollBarOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(PasteButton_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_PasteButtonInterface_setPasteButtonOptions0(Ark_NativePointer thisPtr) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getPasteButtonModifier()->setPasteButtonOptions0(self); +} +KOALA_INTEROP_DIRECT_V1(PasteButtonInterface_setPasteButtonOptions0, Ark_NativePointer) +void impl_PasteButtonInterface_setPasteButtonOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_ScrollBarOptions value_value = thisDeserializer.readScrollBarOptions();; - GetNodeModifiers()->getScrollBarModifier()->setScrollBarOptions(self, (const Ark_ScrollBarOptions*)&value_value); + Ark_PasteButtonOptions options_value = thisDeserializer.readPasteButtonOptions();; + GetNodeModifiers()->getPasteButtonModifier()->setPasteButtonOptions1(self, (const Ark_PasteButtonOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(ScrollBarInterface_setScrollBarOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ScrollBarAttribute_enableNestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PasteButtonInterface_setPasteButtonOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PasteButtonAttribute_onClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean value_value = value_value_buf;; - GetNodeModifiers()->getScrollBarModifier()->setEnableNestedScroll(self, (const Opt_Boolean*)&value_value); + PasteButtonCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_PasteButtonCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_PasteButtonCallback))))};; + GetNodeModifiers()->getPasteButtonModifier()->setOnClick(self, (const PasteButtonCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ScrollBarAttribute_enableNestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Search_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSearchModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(PasteButtonAttribute_onClick, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Path_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getPathModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(Search_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_SearchInterface_setSearchOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Path_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_PathInterface_setPathOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SearchOptions options_value_buf = {}; + Opt_PathOptions options_value_buf = {}; options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readSearchOptions(); + options_value_buf.value = thisDeserializer.readPathOptions(); } - Opt_SearchOptions options_value = options_value_buf;; - GetNodeModifiers()->getSearchModifier()->setSearchOptions(self, (const Opt_SearchOptions*)&options_value); + Opt_PathOptions options_value = options_value_buf;; + GetNodeModifiers()->getPathModifier()->setPathOptions(self, (const Opt_PathOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(SearchInterface_setSearchOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PathInterface_setPathOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PathAttribute_commands(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getPathModifier()->setCommands(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(PathAttribute_commands, Ark_NativePointer, KStringPtr) +Ark_NativePointer impl_PatternLock_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getPatternLockModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(PatternLock_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_PatternLockInterface_setPatternLockOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto controller_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PatternLockController controller_value_buf = {}; + controller_value_buf.tag = controller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType)) + { + controller_value_buf.value = static_cast(thisDeserializer.readPatternLockController()); + } + Opt_PatternLockController controller_value = controller_value_buf;; + GetNodeModifiers()->getPatternLockModifier()->setPatternLockOptions(self, (const Opt_PatternLockController*)&controller_value); +} +KOALA_INTEROP_DIRECT_V3(PatternLockInterface_setPatternLockOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PatternLockAttribute_sideLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -11696,70 +11160,78 @@ void impl_SearchAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSearchModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getPatternLockModifier()->setSideLength(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_searchIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_sideLength, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PatternLockAttribute_circleRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_IconOptions_SymbolGlyphModifier value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readIconOptions(); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readSymbolGlyphModifier(); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_IconOptions_SymbolGlyphModifier value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSearchModifier()->setSearchIcon(self, (const Ark_Union_IconOptions_SymbolGlyphModifier*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getPatternLockModifier()->setCircleRadius(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_searchIcon, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_cancelButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_circleRadius, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PatternLockAttribute_backgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readCancelButtonOptions(); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readCancelButtonSymbolOptions(); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSearchModifier()->setCancelButton(self, (const Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getPatternLockModifier()->setBackgroundColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_cancelButton, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_backgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PatternLockAttribute_regularColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -11767,23 +11239,20 @@ void impl_SearchAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffe } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSearchModifier()->setTextIndent(self, (const Ark_Union_String_Number_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SearchAttribute_textIndent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_onEditChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getSearchModifier()->setOnEditChange(self, (const Callback_Boolean_Void*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getPatternLockModifier()->setRegularColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onEditChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_regularColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PatternLockAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -11809,17 +11278,39 @@ void impl_SearchAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSe INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSearchModifier()->setSelectedBackgroundColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getPatternLockModifier()->setSelectedColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_caretStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_selectedColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PatternLockAttribute_activeColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_CaretStyle value_value = thisDeserializer.readCaretStyle();; - GetNodeModifiers()->getSearchModifier()->setCaretStyle(self, (const Ark_CaretStyle*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getPatternLockModifier()->setActiveColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_caretStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_placeholderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_activeColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PatternLockAttribute_pathColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -11845,623 +11336,917 @@ void impl_SearchAttribute_placeholderColor(Ark_NativePointer thisPtr, KSerialize INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSearchModifier()->setPlaceholderColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getPatternLockModifier()->setPathColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_placeholderColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_placeholderFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_pathColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PatternLockAttribute_pathStrokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Font value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readFont(); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } - Opt_Font value_value = value_value_buf;; - GetNodeModifiers()->getSearchModifier()->setPlaceholderFont(self, (const Opt_Font*)&value_value); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getPatternLockModifier()->setPathStrokeWidth(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_placeholderFont, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_textFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_pathStrokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PatternLockAttribute_onPatternComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Font value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readFont(); - } - Opt_Font value_value = value_value_buf;; - GetNodeModifiers()->getSearchModifier()->setTextFont(self, (const Opt_Font*)&value_value); + Callback_Array_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Array_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Array_Number_Void))))};; + GetNodeModifiers()->getPatternLockModifier()->setOnPatternComplete(self, (const Callback_Array_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_textFont, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_enterKeyType(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_onPatternComplete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PatternLockAttribute_autoReset(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSearchModifier()->setEnterKeyType(self, static_cast(value)); + GetNodeModifiers()->getPatternLockModifier()->setAutoReset(self, value); } -KOALA_INTEROP_DIRECT_V2(SearchAttribute_enterKeyType, Ark_NativePointer, Ark_Int32) -void impl_SearchAttribute_onSubmit0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(PatternLockAttribute_autoReset, Ark_NativePointer, Ark_Boolean) +void impl_PatternLockAttribute_onDotConnect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; - GetNodeModifiers()->getSearchModifier()->setOnSubmit0(self, (const Callback_String_Void*)&value_value); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getPatternLockModifier()->setOnDotConnect(self, (const Callback_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onSubmit0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_onSubmit1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_onDotConnect, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PatternLockAttribute_activateCircleStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - SearchSubmitCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_SearchSubmitCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_SearchSubmitCallback))))};; - GetNodeModifiers()->getSearchModifier()->setOnSubmit1(self, (const SearchSubmitCallback*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CircleStyleOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readCircleStyleOptions(); + } + Opt_CircleStyleOptions value_value = value_value_buf;; + GetNodeModifiers()->getPatternLockModifier()->setActivateCircleStyle(self, (const Opt_CircleStyleOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onSubmit1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PatternLockAttribute_activateCircleStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PatternLockAttribute_skipUnselectedPoint(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - EditableTextOnChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_EditableTextOnChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_EditableTextOnChangeCallback))))};; - GetNodeModifiers()->getSearchModifier()->setOnChange(self, (const EditableTextOnChangeCallback*)&value_value); + GetNodeModifiers()->getPatternLockModifier()->setSkipUnselectedPoint(self, value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_onTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(PatternLockAttribute_skipUnselectedPoint, Ark_NativePointer, Ark_Boolean) +Ark_NativePointer impl_PluginComponent_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getPluginComponentModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(PluginComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_PluginComponentInterface_setPluginComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnTextSelectionChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTextSelectionChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTextSelectionChangeCallback))))};; - GetNodeModifiers()->getSearchModifier()->setOnTextSelectionChange(self, (const OnTextSelectionChangeCallback*)&value_value); + Ark_PluginComponentOptions options_value = thisDeserializer.readPluginComponentOptions();; + GetNodeModifiers()->getPluginComponentModifier()->setPluginComponentOptions(self, (const Ark_PluginComponentOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onTextSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_onContentScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PluginComponentInterface_setPluginComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PluginComponentAttribute_onComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnContentScrollCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnContentScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnContentScrollCallback))))};; - GetNodeModifiers()->getSearchModifier()->setOnContentScroll(self, (const OnContentScrollCallback*)&value_value); + VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; + GetNodeModifiers()->getPluginComponentModifier()->setOnComplete(self, (const VoidCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onContentScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PluginComponentAttribute_onComplete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PluginComponentAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; - GetNodeModifiers()->getSearchModifier()->setOnCopy(self, (const Callback_String_Void*)&value_value); + PluginErrorCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_PluginErrorCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_PluginErrorCallback))))};; + GetNodeModifiers()->getPluginComponentModifier()->setOnError(self, (const PluginErrorCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_onCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PluginComponentAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Polygon_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getPolygonModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Polygon_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_PolygonInterface_setPolygonOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; - GetNodeModifiers()->getSearchModifier()->setOnCut(self, (const Callback_String_Void*)&value_value); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PolygonOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readPolygonOptions(); + } + Opt_PolygonOptions options_value = options_value_buf;; + GetNodeModifiers()->getPolygonModifier()->setPolygonOptions(self, (const Opt_PolygonOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onCut, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_onPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(PolygonInterface_setPolygonOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PolygonAttribute_points(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnPasteCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnPasteCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnPasteCallback))))};; - GetNodeModifiers()->getSearchModifier()->setOnPaste(self, (const OnPasteCallback*)&value_value); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_common2D_Point value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readcommon2D_Point(); + } + Array_common2D_Point value_value = value_value_buf;; + GetNodeModifiers()->getPolygonModifier()->setPoints(self, (const Array_common2D_Point*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onPaste, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_copyOption(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSearchModifier()->setCopyOption(self, static_cast(value)); +KOALA_INTEROP_DIRECT_V3(PolygonAttribute_points, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Polyline_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getPolylineModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V2(SearchAttribute_copyOption, Ark_NativePointer, Ark_Int32) -void impl_SearchAttribute_maxLength(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_2(Polyline_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_PolylineInterface_setPolylineOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSearchModifier()->setMaxLength(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PolylineOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readPolylineOptions(); + } + Opt_PolylineOptions options_value = options_value_buf;; + GetNodeModifiers()->getPolylineModifier()->setPolylineOptions(self, (const Opt_PolylineOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V2(SearchAttribute_maxLength, Ark_NativePointer, KInteropNumber) -void impl_SearchAttribute_textAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(PolylineInterface_setPolylineOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_PolylineAttribute_points(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSearchModifier()->setTextAlign(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_common2D_Point value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readcommon2D_Point(); + } + Array_common2D_Point value_value = value_value_buf;; + GetNodeModifiers()->getPolylineModifier()->setPoints(self, (const Array_common2D_Point*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SearchAttribute_textAlign, Ark_NativePointer, Ark_Int32) -void impl_SearchAttribute_enableKeyboardOnFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(PolylineAttribute_points, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Progress_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getProgressModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Progress_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ProgressInterface_setProgressOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSearchModifier()->setEnableKeyboardOnFocus(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ProgressOptions options_value = thisDeserializer.readProgressOptions();; + GetNodeModifiers()->getProgressModifier()->setProgressOptions(self, (const Ark_ProgressOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V2(SearchAttribute_enableKeyboardOnFocus, Ark_NativePointer, Ark_Boolean) -void impl_SearchAttribute_selectionMenuHidden(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(ProgressInterface_setProgressOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ProgressAttribute_value(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSearchModifier()->setSelectionMenuHidden(self, value); + GetNodeModifiers()->getProgressModifier()->setValue(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V2(SearchAttribute_selectionMenuHidden, Ark_NativePointer, Ark_Boolean) -void impl_SearchAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ProgressAttribute_value, Ark_NativePointer, KInteropNumber) +void impl_ProgressAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_Union_ResourceColor_LinearGradient value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 3) { + value_value_buf_u.selector = 3; + value_value_buf_u.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readLinearGradient()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSearchModifier()->setMinFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_Union_ResourceColor_LinearGradient value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getProgressModifier()->setColor(self, (const Ark_Union_ResourceColor_LinearGradient*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ProgressAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ProgressAttribute_style(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = thisDeserializer.readLinearStyleOptions(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = thisDeserializer.readRingStyleOptions(); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readCapsuleStyleOptions(); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readProgressStyleOptions(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSearchModifier()->setMaxFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getProgressModifier()->setStyle(self, (const Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ProgressAttribute_style, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ProgressAttribute_privacySensitive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_TextDecorationOptions value_value = thisDeserializer.readTextDecorationOptions();; - GetNodeModifiers()->getSearchModifier()->setDecoration(self, (const Ark_TextDecorationOptions*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getProgressModifier()->setPrivacySensitive(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ProgressAttribute_privacySensitive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ProgressAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getProgressModifier()->setContentModifier(self, (const Ark_Object*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ProgressAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_QRCode_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getQRCodeModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(QRCode_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_QRCodeInterface_setQRCodeOptions(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getQRCodeModifier()->setQRCodeOptions(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(QRCodeInterface_setQRCodeOptions, Ark_NativePointer, KStringPtr) +void impl_QRCodeAttribute_color(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSearchModifier()->setLetterSpacing(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getQRCodeModifier()->setColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_color, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_QRCodeAttribute_backgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSearchModifier()->setLineHeight(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getQRCodeModifier()->setBackgroundColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_type(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_backgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_QRCodeAttribute_contentOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSearchModifier()->setType(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getQRCodeModifier()->setContentOpacity(self, (const Ark_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SearchAttribute_type, Ark_NativePointer, Ark_Int32) -void impl_SearchAttribute_fontFeature(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSearchModifier()->setFontFeature(self, (const Ark_String*) (&value)); +KOALA_INTEROP_DIRECT_V3(QRCodeAttribute_contentOpacity, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Radio_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRadioModifier()->construct(id, flags); } -KOALA_INTEROP_V2(SearchAttribute_fontFeature, Ark_NativePointer, KStringPtr) -void impl_SearchAttribute_onWillInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Radio_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_RadioInterface_setRadioOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_InsertValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_InsertValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Boolean))))};; - GetNodeModifiers()->getSearchModifier()->setOnWillInsert(self, (const Callback_InsertValue_Boolean*)&value_value); + Ark_RadioOptions options_value = thisDeserializer.readRadioOptions();; + GetNodeModifiers()->getRadioModifier()->setRadioOptions(self, (const Ark_RadioOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onWillInsert, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_onDidInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RadioInterface_setRadioOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RadioAttribute_checked0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_InsertValue_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_InsertValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Void))))};; - GetNodeModifiers()->getSearchModifier()->setOnDidInsert(self, (const Callback_InsertValue_Void*)&value_value); + GetNodeModifiers()->getRadioModifier()->setChecked0(self, value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onDidInsert, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_onWillDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(RadioAttribute_checked0, Ark_NativePointer, Ark_Boolean) +void impl_RadioAttribute_checked1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_DeleteValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DeleteValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Boolean))))};; - GetNodeModifiers()->getSearchModifier()->setOnWillDelete(self, (const Callback_DeleteValue_Boolean*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getRadioModifier()->setChecked1(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onWillDelete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_onDidDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RadioAttribute_checked1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RadioAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_DeleteValue_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DeleteValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Void))))};; - GetNodeModifiers()->getSearchModifier()->setOnDidDelete(self, (const Callback_DeleteValue_Void*)&value_value); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getRadioModifier()->setOnChange0(self, (const Callback_Boolean_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_onDidDelete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RadioAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RadioAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_EditMenuOptions value_value = thisDeserializer.readEditMenuOptions();; - GetNodeModifiers()->getSearchModifier()->setEditMenuOptions(self, (const Ark_EditMenuOptions*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnRadioChangeCallback value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnRadioChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnRadioChangeCallback))))}; + } + Opt_OnRadioChangeCallback value_value = value_value_buf;; + GetNodeModifiers()->getRadioModifier()->setOnChange1(self, (const Opt_OnRadioChangeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_enablePreviewText(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(RadioAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RadioAttribute_radioStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSearchModifier()->setEnablePreviewText(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_RadioStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readRadioStyle(); + } + Opt_RadioStyle value_value = value_value_buf;; + GetNodeModifiers()->getRadioModifier()->setRadioStyle(self, (const Opt_RadioStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SearchAttribute_enablePreviewText, Ark_NativePointer, Ark_Boolean) -void impl_SearchAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(RadioAttribute_radioStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RadioAttribute_contentModifier0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSearchModifier()->setEnableHapticFeedback(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getRadioModifier()->setContentModifier0(self, (const Ark_Object*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SearchAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) -void impl_SearchAttribute_searchButton(Ark_NativePointer thisPtr, const KStringPtr& value, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RadioAttribute_contentModifier0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RadioAttribute_contentModifier1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto option_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SearchButtonOptions option_value_buf = {}; - option_value_buf.tag = option_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (option_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ContentModifier value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - option_value_buf.value = thisDeserializer.readSearchButtonOptions(); + value_value_buf.value = static_cast(thisDeserializer.readObject()); } - Opt_SearchButtonOptions option_value = option_value_buf;; - GetNodeModifiers()->getSearchModifier()->setSearchButton(self, (const Ark_String*) (&value), (const Opt_SearchButtonOptions*)&option_value); + Opt_ContentModifier value_value = value_value_buf;; + GetNodeModifiers()->getRadioModifier()->setContentModifier1(self, (const Opt_ContentModifier*)&value_value); } -KOALA_INTEROP_V4(SearchAttribute_searchButton, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) -void impl_SearchAttribute_inputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RadioAttribute_contentModifier1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RadioAttribute__onChangeEvent_checked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_ResourceStr value_value = static_cast(value_value_buf);; - const auto error_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_String_Void error_value_buf = {}; - error_value_buf.tag = error_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (error_value_buf_runtimeType)) - { - error_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))}; - } - Opt_Callback_String_Void error_value = error_value_buf;; - GetNodeModifiers()->getSearchModifier()->setInputFilter(self, (const Ark_ResourceStr*)&value_value, (const Opt_Callback_String_Void*)&error_value); + Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getRadioModifier()->set_onChangeEvent_checked(self, (const Callback_Boolean_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_inputFilter, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute_customKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RadioAttribute__onChangeEvent_checked, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Rating_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRatingModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Rating_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_RatingInterface_setRatingOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_KeyboardOptions options_value_buf = {}; + Opt_RatingOptions options_value_buf = {}; options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readKeyboardOptions(); + options_value_buf.value = thisDeserializer.readRatingOptions(); } - Opt_KeyboardOptions options_value = options_value_buf;; - GetNodeModifiers()->getSearchModifier()->setCustomKeyboard(self, (const CustomNodeBuilder*)&value_value, (const Opt_KeyboardOptions*)&options_value); + Opt_RatingOptions options_value = options_value_buf;; + GetNodeModifiers()->getRatingModifier()->setRatingOptions(self, (const Opt_RatingOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute_customKeyboard, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SearchAttribute__onChangeEvent_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RatingInterface_setRatingOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RatingAttribute_stars0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRatingModifier()->setStars0(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(RatingAttribute_stars0, Ark_NativePointer, KInteropNumber) +void impl_RatingAttribute_stars1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; - GetNodeModifiers()->getSearchModifier()->set_onChangeEvent_value(self, (const Callback_String_Void*)&callback_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number value_value = value_value_buf;; + GetNodeModifiers()->getRatingModifier()->setStars1(self, (const Opt_Number*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SearchAttribute__onChangeEvent_value, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_SecurityComponentMethod_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSecurityComponentMethodModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(RatingAttribute_stars1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RatingAttribute_stepSize0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRatingModifier()->setStepSize0(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_2(SecurityComponentMethod_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_SecurityComponentMethod_iconSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(RatingAttribute_stepSize0, Ark_NativePointer, KInteropNumber) +void impl_RatingAttribute_stepSize1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readNumber()); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setIconSize(self, (const Ark_Union_String_Number_Resource*)&value_value); + Opt_Number value_value = value_value_buf;; + GetNodeModifiers()->getRatingModifier()->setStepSize1(self, (const Opt_Number*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_iconSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_layoutDirection(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(RatingAttribute_stepSize1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RatingAttribute_starStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSecurityComponentMethodModifier()->setLayoutDirection(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_StarStyleOptions value_value = thisDeserializer.readStarStyleOptions();; + GetNodeModifiers()->getRatingModifier()->setStarStyle0(self, (const Ark_StarStyleOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SecurityComponentMethod_layoutDirection, Ark_NativePointer, Ark_Int32) -void impl_SecurityComponentMethod_position(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RatingAttribute_starStyle0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RatingAttribute_starStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Position value_value = thisDeserializer.readPosition();; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setPosition(self, (const Ark_Position*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_StarStyleOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readStarStyleOptions(); + } + Opt_StarStyleOptions value_value = value_value_buf;; + GetNodeModifiers()->getRatingModifier()->setStarStyle1(self, (const Opt_StarStyleOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_position, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_markAnchor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RatingAttribute_starStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RatingAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Position value_value = thisDeserializer.readPosition();; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setMarkAnchor(self, (const Ark_Position*)&value_value); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getRatingModifier()->setOnChange0(self, (const Callback_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_markAnchor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_offset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RatingAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RatingAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Position_Edges_LocalizedEdges value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readPosition(); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readEdges(); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readLocalizedEdges(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnRatingChangeCallback value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnRatingChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnRatingChangeCallback))))}; } - Ark_Union_Position_Edges_LocalizedEdges value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setOffset(self, (const Ark_Union_Position_Edges_LocalizedEdges*)&value_value); + Opt_OnRatingChangeCallback value_value = value_value_buf;; + GetNodeModifiers()->getRatingModifier()->setOnChange1(self, (const Opt_OnRatingChangeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_offset, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RatingAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RatingAttribute_contentModifier0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getRatingModifier()->setContentModifier0(self, (const Ark_Object*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RatingAttribute_contentModifier0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RatingAttribute_contentModifier1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ContentModifier value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readObject()); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontSize(self, (const Ark_Union_String_Number_Resource*)&value_value); + Opt_ContentModifier value_value = value_value_buf;; + GetNodeModifiers()->getRatingModifier()->setContentModifier1(self, (const Opt_ContentModifier*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(RatingAttribute_contentModifier1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RatingAttribute__onChangeEvent_rating(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontStyle(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getRatingModifier()->set_onChangeEvent_rating(self, (const Callback_Number_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V2(SecurityComponentMethod_fontStyle, Ark_NativePointer, Ark_Int32) -void impl_SecurityComponentMethod_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RatingAttribute__onChangeEvent_rating, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Rect_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRectModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Rect_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_RectInterface_setRectOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_RectOptions_RoundedRectOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + const Ark_Int8 options_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_RectOptions_RoundedRectOptions options_value_buf_ = {}; + options_value_buf_.selector = options_value_buf__selector; + if (options_value_buf__selector == 0) { + options_value_buf_.selector = 0; + options_value_buf_.value0 = thisDeserializer.readRectOptions(); + } + else if (options_value_buf__selector == 1) { + options_value_buf_.selector = 1; + options_value_buf_.value1 = thisDeserializer.readRoundedRectOptions(); + } + else { + INTEROP_FATAL("One of the branches for options_value_buf_ has to be chosen through deserialisation."); + } + options_value_buf.value = static_cast(options_value_buf_); } - Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); + Opt_Union_RectOptions_RoundedRectOptions options_value = options_value_buf;; + GetNodeModifiers()->getRectModifier()->setRectOptions(self, (const Opt_Union_RectOptions_RoundedRectOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RectInterface_setRectOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RectAttribute_radiusWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Resource value_value_buf = {}; + Ark_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontFamily(self, (const Ark_Union_String_Resource*)&value_value); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getRectModifier()->setRadiusWidth(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RectAttribute_radiusWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RectAttribute_radiusHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getRectModifier()->setRadiusHeight(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_iconColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RectAttribute_radiusHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RectAttribute_radius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Number_String_Array_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); + Array_Union_Number_String value_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf_u, value_value_buf_u_length); + for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { + const Ark_Int8 value_value_buf_u_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String value_value_buf_u_buf = {}; + value_value_buf_u_buf.selector = value_value_buf_u_buf_selector; + if (value_value_buf_u_buf_selector == 0) { + value_value_buf_u_buf.selector = 0; + value_value_buf_u_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_buf_selector == 1) { + value_value_buf_u_buf.selector = 1; + value_value_buf_u_buf.value1 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_buf has to be chosen through deserialisation."); + } + value_value_buf_u.array[value_value_buf_u_i] = static_cast(value_value_buf_u_buf); + } + value_value_buf.value2 = value_value_buf_u; } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setIconColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_Number_String_Array_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getRectModifier()->setRadius(self, (const Ark_Union_Number_String_Array_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_iconColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_backgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RectAttribute_radius, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Refresh_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRefreshModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Refresh_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_RefreshInterface_setRefreshOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setBackgroundColor(self, (const Ark_ResourceColor*)&value_value); + Ark_RefreshOptions value_value = thisDeserializer.readRefreshOptions();; + GetNodeModifiers()->getRefreshModifier()->setRefreshOptions(self, (const Ark_RefreshOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_backgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_borderStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(RefreshInterface_setRefreshOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RefreshAttribute_onStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderStyle(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_RefreshStatus_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RefreshStatus_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RefreshStatus_Void))))};; + GetNodeModifiers()->getRefreshModifier()->setOnStateChange(self, (const Callback_RefreshStatus_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SecurityComponentMethod_borderStyle, Ark_NativePointer, Ark_Int32) -void impl_SecurityComponentMethod_borderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RefreshAttribute_onStateChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RefreshAttribute_onRefreshing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderWidth(self, (const Ark_Union_String_Number_Resource*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getRefreshModifier()->setOnRefreshing(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_borderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RefreshAttribute_onRefreshing, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RefreshAttribute_refreshOffset(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRefreshModifier()->setRefreshOffset(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(RefreshAttribute_refreshOffset, Ark_NativePointer, KInteropNumber) +void impl_RefreshAttribute_pullToRefresh(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRefreshModifier()->setPullToRefresh(self, value); +} +KOALA_INTEROP_DIRECT_V2(RefreshAttribute_pullToRefresh, Ark_NativePointer, Ark_Boolean) +void impl_RefreshAttribute_onOffsetChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getRefreshModifier()->setOnOffsetChange(self, (const Callback_Number_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RefreshAttribute_onOffsetChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RefreshAttribute_pullDownRatio(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number value_value = value_value_buf;; + GetNodeModifiers()->getRefreshModifier()->setPullDownRatio(self, (const Opt_Number*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RefreshAttribute_pullDownRatio, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RefreshAttribute__onChangeEvent_refreshing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getRefreshModifier()->set_onChangeEvent_refreshing(self, (const Callback_Boolean_Void*)&callback_value); +} +KOALA_INTEROP_DIRECT_V3(RefreshAttribute__onChangeEvent_refreshing, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_RelativeContainer_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRelativeContainerModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(RelativeContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_RelativeContainerInterface_setRelativeContainerOptions(Ark_NativePointer thisPtr) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRelativeContainerModifier()->setRelativeContainerOptions(self); +} +KOALA_INTEROP_DIRECT_V1(RelativeContainerInterface_setRelativeContainerOptions, Ark_NativePointer) +void impl_RelativeContainerAttribute_guideLine(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_GuideLineStyle value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readGuideLineStyle(); + } + Array_GuideLineStyle value_value = value_value_buf;; + GetNodeModifiers()->getRelativeContainerModifier()->setGuideLine(self, (const Array_GuideLineStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_guideLine, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RelativeContainerAttribute_barrier0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_BarrierStyle value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readBarrierStyle(); + } + Array_BarrierStyle value_value = value_value_buf;; + GetNodeModifiers()->getRelativeContainerModifier()->setBarrier0(self, (const Array_BarrierStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_barrier0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RelativeContainerAttribute_barrier1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_LocalizedBarrierStyle value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readLocalizedBarrierStyle(); + } + Array_LocalizedBarrierStyle value_value = value_value_buf;; + GetNodeModifiers()->getRelativeContainerModifier()->setBarrier1(self, (const Array_LocalizedBarrierStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RelativeContainerAttribute_barrier1, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_RichEditor_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRichEditorModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(RichEditor_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_RichEditorInterface_setRichEditorOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_RichEditorOptions value_value = thisDeserializer.readRichEditorOptions();; + GetNodeModifiers()->getRichEditorModifier()->setRichEditorOptions0(self, (const Ark_RichEditorOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorInterface_setRichEditorOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorInterface_setRichEditorOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_RichEditorStyledStringOptions options_value = thisDeserializer.readRichEditorStyledStringOptions();; + GetNodeModifiers()->getRichEditorModifier()->setRichEditorOptions1(self, (const Ark_RichEditorStyledStringOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorInterface_setRichEditorOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_onReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnReady(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onReady, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_onSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_RichEditorSelection_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RichEditorSelection_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RichEditorSelection_Void))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnSelect(self, (const Callback_RichEditorSelection_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onSelect, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_onSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_RichEditorRange_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RichEditorRange_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RichEditorRange_Void))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnSelectionChange(self, (const Callback_RichEditorRange_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_aboutToIMEInput(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_RichEditorInsertValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RichEditorInsertValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RichEditorInsertValue_Boolean))))};; + GetNodeModifiers()->getRichEditorModifier()->setAboutToIMEInput(self, (const Callback_RichEditorInsertValue_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_aboutToIMEInput, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_onIMEInputComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_RichEditorTextSpanResult_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RichEditorTextSpanResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RichEditorTextSpanResult_Void))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnIMEInputComplete(self, (const Callback_RichEditorTextSpanResult_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onIMEInputComplete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_onDidIMEInput(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_TextRange_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TextRange_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TextRange_Void))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnDidIMEInput(self, (const Callback_TextRange_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onDidIMEInput, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_aboutToDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_RichEditorDeleteValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RichEditorDeleteValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RichEditorDeleteValue_Boolean))))};; + GetNodeModifiers()->getRichEditorModifier()->setAboutToDelete(self, (const Callback_RichEditorDeleteValue_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_aboutToDelete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_onDeleteComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnDeleteComplete(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onDeleteComplete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_copyOptions(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRichEditorModifier()->setCopyOptions(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_copyOptions, Ark_NativePointer, Ark_Int32) +void impl_RichEditorAttribute_onPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + PasteEventCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_PasteEventCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_PasteEventCallback))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnPaste(self, (const PasteEventCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onPaste, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_enableDataDetector(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRichEditorModifier()->setEnableDataDetector(self, value); +} +KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_enableDataDetector, Ark_NativePointer, Ark_Boolean) +void impl_RichEditorAttribute_enablePreviewText(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRichEditorModifier()->setEnablePreviewText(self, value); +} +KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_enablePreviewText, Ark_NativePointer, Ark_Boolean) +void impl_RichEditorAttribute_dataDetectorConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_TextDataDetectorConfig value_value = thisDeserializer.readTextDataDetectorConfig();; + GetNodeModifiers()->getRichEditorModifier()->setDataDetectorConfig(self, (const Ark_TextDataDetectorConfig*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_dataDetectorConfig, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { value_value_buf.selector = 0; value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } @@ -12481,18 +12266,18 @@ void impl_SecurityComponentMethod_borderColor(Ark_NativePointer thisPtr, KSerial INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getRichEditorModifier()->setCaretColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_borderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_caretColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -12500,733 +12285,464 @@ void impl_SecurityComponentMethod_borderRadius(Ark_NativePointer thisPtr, KSeria } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderRadius(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getRichEditorModifier()->setSelectedBackgroundColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderRadius, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_padding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_onEditingChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Padding_Dimension value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - Ark_Padding value_value_buf_u = {}; - const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_top_buf = {}; - value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_top_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_top_buf_ = {}; - value_value_buf_u_top_buf_.selector = value_value_buf_u_top_buf__selector; - if (value_value_buf_u_top_buf__selector == 0) { - value_value_buf_u_top_buf_.selector = 0; - value_value_buf_u_top_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_top_buf__selector == 1) { - value_value_buf_u_top_buf_.selector = 1; - value_value_buf_u_top_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_top_buf__selector == 2) { - value_value_buf_u_top_buf_.selector = 2; - value_value_buf_u_top_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_top_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_top_buf.value = static_cast(value_value_buf_u_top_buf_); - } - value_value_buf_u.top = value_value_buf_u_top_buf; - const auto value_value_buf_u_right_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_right_buf = {}; - value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_right_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_right_buf_ = {}; - value_value_buf_u_right_buf_.selector = value_value_buf_u_right_buf__selector; - if (value_value_buf_u_right_buf__selector == 0) { - value_value_buf_u_right_buf_.selector = 0; - value_value_buf_u_right_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_right_buf__selector == 1) { - value_value_buf_u_right_buf_.selector = 1; - value_value_buf_u_right_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_right_buf__selector == 2) { - value_value_buf_u_right_buf_.selector = 2; - value_value_buf_u_right_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_right_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_right_buf.value = static_cast(value_value_buf_u_right_buf_); - } - value_value_buf_u.right = value_value_buf_u_right_buf; - const auto value_value_buf_u_bottom_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_bottom_buf = {}; - value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_bottom_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_bottom_buf_ = {}; - value_value_buf_u_bottom_buf_.selector = value_value_buf_u_bottom_buf__selector; - if (value_value_buf_u_bottom_buf__selector == 0) { - value_value_buf_u_bottom_buf_.selector = 0; - value_value_buf_u_bottom_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_bottom_buf__selector == 1) { - value_value_buf_u_bottom_buf_.selector = 1; - value_value_buf_u_bottom_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_bottom_buf__selector == 2) { - value_value_buf_u_bottom_buf_.selector = 2; - value_value_buf_u_bottom_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_bottom_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_bottom_buf.value = static_cast(value_value_buf_u_bottom_buf_); - } - value_value_buf_u.bottom = value_value_buf_u_bottom_buf; - const auto value_value_buf_u_left_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Number_Resource value_value_buf_u_left_buf = {}; - value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) - { - const Ark_Int8 value_value_buf_u_left_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u_left_buf_ = {}; - value_value_buf_u_left_buf_.selector = value_value_buf_u_left_buf__selector; - if (value_value_buf_u_left_buf__selector == 0) { - value_value_buf_u_left_buf_.selector = 0; - value_value_buf_u_left_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_left_buf__selector == 1) { - value_value_buf_u_left_buf_.selector = 1; - value_value_buf_u_left_buf_.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_left_buf__selector == 2) { - value_value_buf_u_left_buf_.selector = 2; - value_value_buf_u_left_buf_.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u_left_buf_ has to be chosen through deserialisation."); - } - value_value_buf_u_left_buf.value = static_cast(value_value_buf_u_left_buf_); - } - value_value_buf_u.left = value_value_buf_u_left_buf; - value_value_buf.value0 = value_value_buf_u; - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u = {}; - value_value_buf_u.selector = value_value_buf_u_selector; - if (value_value_buf_u_selector == 0) { - value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_selector == 1) { - value_value_buf_u.selector = 1; - value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_selector == 2) { - value_value_buf_u.selector = 2; - value_value_buf_u.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); - } - value_value_buf.value1 = static_cast(value_value_buf_u); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_Padding_Dimension value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setPadding(self, (const Ark_Union_Padding_Dimension*)&value_value); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnEditingChange(self, (const Callback_Boolean_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_padding, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_textIconSpace(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onEditingChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_enterKeyType(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRichEditorModifier()->setEnterKeyType(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_enterKeyType, Ark_NativePointer, Ark_Int32) +void impl_RichEditorAttribute_onSubmit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setTextIconSpace(self, (const Ark_Union_String_Number_Resource*)&value_value); + SubmitCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_SubmitCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_SubmitCallback))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnSubmit(self, (const SubmitCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_textIconSpace, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_key(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onSubmit, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_onWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSecurityComponentMethodModifier()->setKey(self, (const Ark_String*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_RichEditorChangeValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_RichEditorChangeValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_RichEditorChangeValue_Boolean))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnWillChange(self, (const Callback_RichEditorChangeValue_Boolean*)&value_value); } -KOALA_INTEROP_V2(SecurityComponentMethod_key, Ark_NativePointer, KStringPtr) -void impl_SecurityComponentMethod_width(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onWillChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_onDidChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setWidth(self, (const Ark_Union_String_Number_Resource*)&value_value); + OnDidChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnDidChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnDidChangeCallback))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnDidChange(self, (const OnDidChangeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_width, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_height(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onDidChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_onCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setHeight(self, (const Ark_Union_String_Number_Resource*)&value_value); + Callback_CutEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_CutEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_CutEvent_Void))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnCut(self, (const Callback_CutEvent_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_height, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onCut, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_SizeOptions value_value = thisDeserializer.readSizeOptions();; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setSize(self, (const Ark_SizeOptions*)&value_value); + Callback_CopyEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_CopyEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_CopyEvent_Void))))};; + GetNodeModifiers()->getRichEditorModifier()->setOnCopy(self, (const Callback_CopyEvent_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_size, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SecurityComponentMethod_constraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_ConstraintSizeOptions value_value = thisDeserializer.readConstraintSizeOptions();; - GetNodeModifiers()->getSecurityComponentMethodModifier()->setConstraintSize(self, (const Ark_ConstraintSizeOptions*)&value_value); + Ark_EditMenuOptions value_value = thisDeserializer.readEditMenuOptions();; + GetNodeModifiers()->getRichEditorModifier()->setEditMenuOptions(self, (const Ark_EditMenuOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_constraintSize, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Select_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSelectModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_enableKeyboardOnFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRichEditorModifier()->setEnableKeyboardOnFocus(self, value); } -KOALA_INTEROP_DIRECT_2(Select_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_SelectInterface_setSelectOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_enableKeyboardOnFocus, Ark_NativePointer, Ark_Boolean) +void impl_RichEditorAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 options_value_buf_length = thisDeserializer.readInt32(); - Array_SelectOption options_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&options_value_buf, options_value_buf_length); - for (int options_value_buf_i = 0; options_value_buf_i < options_value_buf_length; options_value_buf_i++) { - options_value_buf.array[options_value_buf_i] = thisDeserializer.readSelectOption(); - } - Array_SelectOption options_value = options_value_buf;; - GetNodeModifiers()->getSelectModifier()->setSelectOptions(self, (const Array_SelectOption*)&options_value); + GetNodeModifiers()->getRichEditorModifier()->setEnableHapticFeedback(self, value); } -KOALA_INTEROP_DIRECT_V3(SelectInterface_setSelectOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) +void impl_RichEditorAttribute_barState(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRichEditorModifier()->setBarState(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(RichEditorAttribute_barState, Ark_NativePointer, Ark_Int32) +void impl_RichEditorAttribute_maxLength(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readNumber()); } - Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSelectModifier()->setSelected(self, (const Ark_Union_Number_Resource*)&value_value); + Opt_Number value_value = value_value_buf;; + GetNodeModifiers()->getRichEditorModifier()->setMaxLength(self, (const Opt_Number*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_selected, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_maxLength, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_maxLines(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readNumber()); } - Ark_ResourceStr value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSelectModifier()->setValue(self, (const Ark_ResourceStr*)&value_value); + Opt_Number value_value = value_value_buf;; + GetNodeModifiers()->getRichEditorModifier()->setMaxLines(self, (const Opt_Number*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_value, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_font(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_maxLines, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_keyboardAppearance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Font value_value = thisDeserializer.readFont();; - GetNodeModifiers()->getSelectModifier()->setFont(self, (const Ark_Font*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardAppearance value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_KeyboardAppearance value_value = value_value_buf;; + GetNodeModifiers()->getRichEditorModifier()->setKeyboardAppearance(self, (const Opt_KeyboardAppearance*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_font, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_keyboardAppearance, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_stopBackPress(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSelectModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getRichEditorModifier()->setStopBackPress(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_selectedOptionBgColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_stopBackPress, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, Ark_Int32 spanType, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); + CustomNodeBuilder content_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; + const Ark_Int8 responseType_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_ResponseType_RichEditorResponseType responseType_value_buf = {}; + responseType_value_buf.selector = responseType_value_buf_selector; + if (responseType_value_buf_selector == 0) { + responseType_value_buf.selector = 0; + responseType_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + else if (responseType_value_buf_selector == 1) { + responseType_value_buf.selector = 1; + responseType_value_buf.value1 = static_cast(thisDeserializer.readInt32()); } else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for responseType_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSelectModifier()->setSelectedOptionBgColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_ResponseType_RichEditorResponseType responseType_value = static_cast(responseType_value_buf);; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SelectionMenuOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readSelectionMenuOptions(); + } + Opt_SelectionMenuOptions options_value = options_value_buf;; + GetNodeModifiers()->getRichEditorModifier()->setBindSelectionMenu(self, static_cast(spanType), (const CustomNodeBuilder*)&content_value, (const Ark_Union_ResponseType_RichEditorResponseType*)&responseType_value, (const Opt_SelectionMenuOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionBgColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_selectedOptionFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V4(RichEditorAttribute_bindSelectionMenu, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_customKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Font value_value = thisDeserializer.readFont();; - GetNodeModifiers()->getSelectModifier()->setSelectedOptionFont(self, (const Ark_Font*)&value_value); + CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readKeyboardOptions(); + } + Opt_KeyboardOptions options_value = options_value_buf;; + GetNodeModifiers()->getRichEditorModifier()->setCustomKeyboard(self, (const CustomNodeBuilder*)&value_value, (const Opt_KeyboardOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFont, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_selectedOptionFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_customKeyboard, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichEditorAttribute_placeholder(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_ResourceStr value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value1 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSelectModifier()->setSelectedOptionFontColor(self, (const Ark_ResourceColor*)&value_value); + Ark_ResourceStr value_value = static_cast(value_value_buf);; + const auto style_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PlaceholderStyle style_value_buf = {}; + style_value_buf.tag = style_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (style_value_buf_runtimeType)) + { + style_value_buf.value = thisDeserializer.readPlaceholderStyle(); + } + Opt_PlaceholderStyle style_value = style_value_buf;; + GetNodeModifiers()->getRichEditorModifier()->setPlaceholder(self, (const Ark_ResourceStr*)&value_value, (const Opt_PlaceholderStyle*)&style_value); +} +KOALA_INTEROP_DIRECT_V3(RichEditorAttribute_placeholder, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_RichText_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRichTextModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_optionBgColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(RichText_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_RichTextInterface_setRichTextOptions(Ark_NativePointer thisPtr, const KStringPtr& content) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSelectModifier()->setOptionBgColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getRichTextModifier()->setRichTextOptions(self, (const Ark_String*) (&content)); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionBgColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_optionFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(RichTextInterface_setRichTextOptions, Ark_NativePointer, KStringPtr) +void impl_RichTextAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Font value_value = thisDeserializer.readFont();; - GetNodeModifiers()->getSelectModifier()->setOptionFont(self, (const Ark_Font*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getRichTextModifier()->setOnStart(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFont, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_optionFontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichTextAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RichTextAttribute_onComplete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSelectModifier()->setOptionFontColor(self, (const Ark_ResourceColor*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getRichTextModifier()->setOnComplete(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_onSelect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RichTextAttribute_onComplete, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_RootScene_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRootSceneModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(RootScene_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_RootSceneInterface_setRootSceneOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_String_Void))))};; - GetNodeModifiers()->getSelectModifier()->setOnSelect(self, (const Callback_Number_String_Void*)&value_value); + Ark_RootSceneSession session_value = thisDeserializer.readRootSceneSession();; + GetNodeModifiers()->getRootSceneModifier()->setRootSceneOptions(self, (const Ark_RootSceneSession*)&session_value); +} +KOALA_INTEROP_DIRECT_V3(RootSceneInterface_setRootSceneOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Row_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRowModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_onSelect, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_space(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Row_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_RowInterface_setRowOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_RowOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readRowOptions(); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSelectModifier()->setSpace(self, (const Ark_Union_String_Number_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SelectAttribute_space, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_arrowPosition(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSelectModifier()->setArrowPosition(self, static_cast(value)); + Opt_RowOptions options_value = options_value_buf;; + GetNodeModifiers()->getRowModifier()->setRowOptions0(self, (const Opt_RowOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V2(SelectAttribute_arrowPosition, Ark_NativePointer, Ark_Int32) -void impl_SelectAttribute_optionWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RowInterface_setRowOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RowInterface_setRowOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Dimension_OptionWidthMode value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_u = {}; - value_value_buf_u.selector = value_value_buf_u_selector; - if (value_value_buf_u_selector == 0) { - value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_selector == 1) { - value_value_buf_u.selector = 1; - value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_RowOptions_RowOptionsV2 options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + const Ark_Int8 options_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_RowOptions_RowOptionsV2 options_value_buf_ = {}; + options_value_buf_.selector = options_value_buf__selector; + if (options_value_buf__selector == 0) { + options_value_buf_.selector = 0; + options_value_buf_.value0 = thisDeserializer.readRowOptions(); } - else if (value_value_buf_u_selector == 2) { - value_value_buf_u.selector = 2; - value_value_buf_u.value2 = thisDeserializer.readResource(); + else if (options_value_buf__selector == 1) { + options_value_buf_.selector = 1; + options_value_buf_.value1 = thisDeserializer.readRowOptionsV2(); } else { - INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for options_value_buf_ has to be chosen through deserialisation."); } - value_value_buf.value0 = static_cast(value_value_buf_u); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + options_value_buf.value = static_cast(options_value_buf_); } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_Dimension_OptionWidthMode value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSelectModifier()->setOptionWidth(self, (const Ark_Union_Dimension_OptionWidthMode*)&value_value); + Opt_Union_RowOptions_RowOptionsV2 options_value = options_value_buf;; + GetNodeModifiers()->getRowModifier()->setRowOptions1(self, (const Opt_Union_RowOptions_RowOptionsV2*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(RowInterface_setRowOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RowAttribute_alignItems(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRowModifier()->setAlignItems(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_optionHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(RowAttribute_alignItems, Ark_NativePointer, Ark_Int32) +void impl_RowAttribute_justifyContent(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRowModifier()->setJustifyContent(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(RowAttribute_justifyContent, Ark_NativePointer, Ark_Int32) +void impl_RowAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSelectModifier()->setOptionHeight(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_PointLightStyle value_value = thisDeserializer.readPointLightStyle();; + GetNodeModifiers()->getRowModifier()->setPointLight(self, (const Ark_PointLightStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_menuBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(RowAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_RowAttribute_reverse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSelectModifier()->setMenuBackgroundColor(self, (const Ark_ResourceColor*)&value_value); + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getRowModifier()->setReverse(self, (const Opt_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(RowAttribute_reverse, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_RowSplit_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRowSplitModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(RowSplit_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_RowSplitInterface_setRowSplitOptions(Ark_NativePointer thisPtr) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRowSplitModifier()->setRowSplitOptions(self); +} +KOALA_INTEROP_DIRECT_V1(RowSplitInterface_setRowSplitOptions, Ark_NativePointer) +void impl_RowSplitAttribute_resizeable(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getRowSplitModifier()->setResizeable(self, value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_menuBackgroundBlurStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(RowSplitAttribute_resizeable, Ark_NativePointer, Ark_Boolean) +Ark_NativePointer impl_SaveButton_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getSaveButtonModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(SaveButton_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_SaveButtonInterface_setSaveButtonOptions0(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSelectModifier()->setMenuBackgroundBlurStyle(self, static_cast(value)); + GetNodeModifiers()->getSaveButtonModifier()->setSaveButtonOptions0(self); } -KOALA_INTEROP_DIRECT_V2(SelectAttribute_menuBackgroundBlurStyle, Ark_NativePointer, Ark_Int32) -void impl_SelectAttribute_controlSize(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V1(SaveButtonInterface_setSaveButtonOptions0, Ark_NativePointer) +void impl_SaveButtonInterface_setSaveButtonOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSelectModifier()->setControlSize(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_SaveButtonOptions options_value = thisDeserializer.readSaveButtonOptions();; + GetNodeModifiers()->getSaveButtonModifier()->setSaveButtonOptions1(self, (const Ark_SaveButtonOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V2(SelectAttribute_controlSize, Ark_NativePointer, Ark_Int32) -void impl_SelectAttribute_menuItemContentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SaveButtonInterface_setSaveButtonOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SaveButtonAttribute_onClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getSelectModifier()->setMenuItemContentModifier(self, (const Ark_Object*)&value_value); + SaveButtonCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_SaveButtonCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_SaveButtonCallback))))};; + GetNodeModifiers()->getSaveButtonModifier()->setOnClick(self, (const SaveButtonCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuItemContentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SaveButtonAttribute_onClick, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Screen_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getScreenModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Screen_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ScreenInterface_setScreenOptions(Ark_NativePointer thisPtr, KInteropNumber screenId) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getScreenModifier()->setScreenOptions(self, (const Ark_Number*) (&screenId)); +} +KOALA_INTEROP_DIRECT_V2(ScreenInterface_setScreenOptions, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_Scroll_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getScrollModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Scroll_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ScrollInterface_setScrollOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + const auto scroller_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Scroller scroller_value_buf = {}; + scroller_value_buf.tag = scroller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scroller_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readDividerOptions(); + scroller_value_buf.value = static_cast(thisDeserializer.readScroller()); } - Opt_DividerOptions value_value = value_value_buf;; - GetNodeModifiers()->getSelectModifier()->setDivider(self, (const Opt_DividerOptions*)&value_value); + Opt_Scroller scroller_value = scroller_value_buf;; + GetNodeModifiers()->getScrollModifier()->setScrollOptions(self, (const Opt_Scroller*)&scroller_value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute_menuAlign(Ark_NativePointer thisPtr, Ark_Int32 alignType, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ScrollInterface_setScrollOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_scrollable(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getScrollModifier()->setScrollable(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ScrollAttribute_scrollable, Ark_NativePointer, Ark_Int32) +void impl_ScrollAttribute_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto offset_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Offset offset_value_buf = {}; - offset_value_buf.tag = offset_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType)) + Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; + GetNodeModifiers()->getScrollModifier()->setOnScroll(self, (const Callback_Number_Number_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_onWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScrollOnWillScrollCallback value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - Ark_Offset offset_value_buf_ = {}; - const Ark_Int8 offset_value_buf__dx_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_value_buf__dx_buf = {}; - offset_value_buf__dx_buf.selector = offset_value_buf__dx_buf_selector; - if (offset_value_buf__dx_buf_selector == 0) { - offset_value_buf__dx_buf.selector = 0; - offset_value_buf__dx_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (offset_value_buf__dx_buf_selector == 1) { - offset_value_buf__dx_buf.selector = 1; - offset_value_buf__dx_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (offset_value_buf__dx_buf_selector == 2) { - offset_value_buf__dx_buf.selector = 2; - offset_value_buf__dx_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_value_buf__dx_buf has to be chosen through deserialisation."); - } - offset_value_buf_.dx = static_cast(offset_value_buf__dx_buf); - const Ark_Int8 offset_value_buf__dy_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource offset_value_buf__dy_buf = {}; - offset_value_buf__dy_buf.selector = offset_value_buf__dy_buf_selector; - if (offset_value_buf__dy_buf_selector == 0) { - offset_value_buf__dy_buf.selector = 0; - offset_value_buf__dy_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (offset_value_buf__dy_buf_selector == 1) { - offset_value_buf__dy_buf.selector = 1; - offset_value_buf__dy_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (offset_value_buf__dy_buf_selector == 2) { - offset_value_buf__dy_buf.selector = 2; - offset_value_buf__dy_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for offset_value_buf__dy_buf has to be chosen through deserialisation."); - } - offset_value_buf_.dy = static_cast(offset_value_buf__dy_buf); - offset_value_buf.value = offset_value_buf_; + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ScrollOnWillScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ScrollOnWillScrollCallback))))}; } - Opt_Offset offset_value = offset_value_buf;; - GetNodeModifiers()->getSelectModifier()->setMenuAlign(self, static_cast(alignType), (const Opt_Offset*)&offset_value); + Opt_ScrollOnWillScrollCallback value_value = value_value_buf;; + GetNodeModifiers()->getScrollModifier()->setOnWillScroll(self, (const Opt_ScrollOnWillScrollCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V4(SelectAttribute_menuAlign, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) -void impl_SelectAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onWillScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_onDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Union_Number_Resource_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Union_Number_Resource_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Union_Number_Resource_Void))))};; - GetNodeModifiers()->getSelectModifier()->set_onChangeEvent_selected(self, (const Callback_Union_Number_Resource_Void*)&callback_value); + ScrollOnScrollCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ScrollOnScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ScrollOnScrollCallback))))};; + GetNodeModifiers()->getScrollModifier()->setOnDidScroll(self, (const ScrollOnScrollCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SelectAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SelectAttribute__onChangeEvent_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onDidScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_onScrollEdge(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_ResourceStr_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ResourceStr_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ResourceStr_Void))))};; - GetNodeModifiers()->getSelectModifier()->set_onChangeEvent_value(self, (const Callback_ResourceStr_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(SelectAttribute__onChangeEvent_value, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Shape_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getShapeModifier()->construct(id, flags); + OnScrollEdgeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnScrollEdgeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnScrollEdgeCallback))))};; + GetNodeModifiers()->getScrollModifier()->setOnScrollEdge(self, (const OnScrollEdgeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_2(Shape_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ShapeInterface_setShapeOptions0(Ark_NativePointer thisPtr, Ark_NativePointer value) { +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollEdge, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_onScrollStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getShapeModifier()->setShapeOptions0(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; + GetNodeModifiers()->getScrollModifier()->setOnScrollStart(self, (const VoidCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ShapeInterface_setShapeOptions0, Ark_NativePointer, Ark_NativePointer) -void impl_ShapeInterface_setShapeOptions1(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_onScrollEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getShapeModifier()->setShapeOptions1(self); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getScrollModifier()->setOnScrollEnd(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V1(ShapeInterface_setShapeOptions1, Ark_NativePointer) -void impl_ShapeAttribute_viewPort(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_onScrollStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_ViewportRect value_value = thisDeserializer.readViewportRect();; - GetNodeModifiers()->getShapeModifier()->setViewPort(self, (const Ark_ViewportRect*)&value_value); + VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; + GetNodeModifiers()->getScrollModifier()->setOnScrollStop(self, (const VoidCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ShapeAttribute_viewPort, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ShapeAttribute_stroke(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollStop, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_scrollBar(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getScrollModifier()->setScrollBar(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ScrollAttribute_scrollBar, Ark_NativePointer, Ark_Int32) +void impl_ScrollAttribute_scrollBarColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Color_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -13240,51 +12756,58 @@ void impl_ShapeAttribute_stroke(Ark_NativePointer thisPtr, KSerializerBuffer thi value_value_buf.selector = 2; value_value_buf.value2 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getShapeModifier()->setStroke(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_Color_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getScrollModifier()->setScrollBarColor(self, (const Ark_Union_Color_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ShapeAttribute_stroke, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ShapeAttribute_fill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollBarColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_scrollBarWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getShapeModifier()->setFill(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getScrollModifier()->setScrollBarWidth(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ShapeAttribute_fill, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ShapeAttribute_strokeDashOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollBarWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_onScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnScrollFrameBeginCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnScrollFrameBeginCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnScrollFrameBeginCallback))))};; + GetNodeModifiers()->getScrollModifier()->setOnScrollFrameBegin(self, (const OnScrollFrameBeginCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_onScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_NestedScrollOptions value_value = thisDeserializer.readNestedScrollOptions();; + GetNodeModifiers()->getScrollModifier()->setNestedScroll(self, (const Ark_NestedScrollOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_enableScrollInteraction(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getScrollModifier()->setEnableScrollInteraction(self, value); +} +KOALA_INTEROP_DIRECT_V2(ScrollAttribute_enableScrollInteraction, Ark_NativePointer, Ark_Boolean) +void impl_ScrollAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_Union_Number_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -13292,187 +12815,195 @@ void impl_ShapeAttribute_strokeDashOffset(Ark_NativePointer thisPtr, KSerializer } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getShapeModifier()->setStrokeDashOffset(self, (const Ark_Union_Number_String*)&value_value); + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getScrollModifier()->setFriction(self, (const Ark_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeDashOffset, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ShapeAttribute_strokeDashArray(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_friction, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_scrollSnap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_Union_String_Number_Resource value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf_buf = {}; - value_value_buf_buf.selector = value_value_buf_buf_selector; - if (value_value_buf_buf_selector == 0) { - value_value_buf_buf.selector = 0; - value_value_buf_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_buf_selector == 1) { - value_value_buf_buf.selector = 1; - value_value_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_buf_selector == 2) { - value_value_buf_buf.selector = 2; - value_value_buf_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); - } - value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); + Ark_ScrollSnapOptions value_value = thisDeserializer.readScrollSnapOptions();; + GetNodeModifiers()->getScrollModifier()->setScrollSnap(self, (const Ark_ScrollSnapOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_scrollSnap, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_enablePaging(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getScrollModifier()->setEnablePaging(self, value); +} +KOALA_INTEROP_DIRECT_V2(ScrollAttribute_enablePaging, Ark_NativePointer, Ark_Boolean) +void impl_ScrollAttribute_initialOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_OffsetOptions value_value = thisDeserializer.readOffsetOptions();; + GetNodeModifiers()->getScrollModifier()->setInitialOffset(self, (const Ark_OffsetOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ScrollAttribute_initialOffset, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 edgeEffect, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffectOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readEdgeEffectOptions(); } - Array_Union_String_Number_Resource value_value = value_value_buf;; - GetNodeModifiers()->getShapeModifier()->setStrokeDashArray(self, (const Array_Union_String_Number_Resource*)&value_value); + Opt_EdgeEffectOptions options_value = options_value_buf;; + GetNodeModifiers()->getScrollModifier()->setEdgeEffect(self, static_cast(edgeEffect), (const Opt_EdgeEffectOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeDashArray, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ShapeAttribute_strokeLineCap(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V4(ScrollAttribute_edgeEffect, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) +Ark_NativePointer impl_ScrollBar_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getScrollBarModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(ScrollBar_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ScrollBarInterface_setScrollBarOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getShapeModifier()->setStrokeLineCap(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ScrollBarOptions value_value = thisDeserializer.readScrollBarOptions();; + GetNodeModifiers()->getScrollBarModifier()->setScrollBarOptions(self, (const Ark_ScrollBarOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ShapeAttribute_strokeLineCap, Ark_NativePointer, Ark_Int32) -void impl_ShapeAttribute_strokeLineJoin(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(ScrollBarInterface_setScrollBarOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ScrollBarAttribute_enableNestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getShapeModifier()->setStrokeLineJoin(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getScrollBarModifier()->setEnableNestedScroll(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V2(ShapeAttribute_strokeLineJoin, Ark_NativePointer, Ark_Int32) -void impl_ShapeAttribute_strokeMiterLimit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ScrollBarAttribute_enableNestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Search_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getSearchModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Search_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_SearchInterface_setSearchOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SearchOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readSearchOptions(); + } + Opt_SearchOptions options_value = options_value_buf;; + GetNodeModifiers()->getSearchModifier()->setSearchOptions(self, (const Opt_SearchOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(SearchInterface_setSearchOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getShapeModifier()->setStrokeMiterLimit(self, (const Ark_Union_Number_String*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSearchModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeMiterLimit, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ShapeAttribute_strokeOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_searchIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_Union_IconOptions_SymbolGlyphModifier value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = thisDeserializer.readIconOptions(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value1 = thisDeserializer.readSymbolGlyphModifier(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getShapeModifier()->setStrokeOpacity(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_Union_IconOptions_SymbolGlyphModifier value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSearchModifier()->setSearchIcon(self, (const Ark_Union_IconOptions_SymbolGlyphModifier*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeOpacity, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ShapeAttribute_fillOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_searchIcon, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_cancelButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = thisDeserializer.readCancelButtonOptions(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value1 = thisDeserializer.readCancelButtonSymbolOptions(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getShapeModifier()->setFillOpacity(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSearchModifier()->setCancelButton(self, (const Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ShapeAttribute_fillOpacity, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ShapeAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_cancelButton, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_Dimension value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getShapeModifier()->setStrokeWidth(self, (const Ark_Union_Number_String*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ShapeAttribute_antiAlias(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getShapeModifier()->setAntiAlias(self, value); -} -KOALA_INTEROP_DIRECT_V2(ShapeAttribute_antiAlias, Ark_NativePointer, Ark_Boolean) -void impl_ShapeAttribute_mesh(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber column, KInteropNumber row) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_Number value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - value_value_buf.array[value_value_buf_i] = static_cast(thisDeserializer.readNumber()); - } - Array_Number value_value = value_value_buf;; - GetNodeModifiers()->getShapeModifier()->setMesh(self, (const Array_Number*)&value_value, (const Ark_Number*) (&column), (const Ark_Number*) (&row)); -} -KOALA_INTEROP_DIRECT_V5(ShapeAttribute_mesh, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber, KInteropNumber) -Ark_NativePointer impl_Slider_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSliderModifier()->construct(id, flags); + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSearchModifier()->setTextIndent(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_2(Slider_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_SliderInterface_setSliderOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_textIndent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_onEditChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SliderOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readSliderOptions(); - } - Opt_SliderOptions options_value = options_value_buf;; - GetNodeModifiers()->getSliderModifier()->setSliderOptions(self, (const Opt_SliderOptions*)&options_value); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getSearchModifier()->setOnEditChange(self, (const Callback_Boolean_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderInterface_setSliderOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_blockColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onEditChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -13498,61 +13029,25 @@ void impl_SliderAttribute_blockColor(Ark_NativePointer thisPtr, KSerializerBuffe INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSliderModifier()->setBlockColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getSearchModifier()->setSelectedBackgroundColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_trackColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_caretStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CaretStyle value_value = thisDeserializer.readCaretStyle();; + GetNodeModifiers()->getSearchModifier()->setCaretStyle(self, (const Ark_CaretStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute_caretStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_placeholderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_LinearGradient value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_u = {}; - value_value_buf_u.selector = value_value_buf_u_selector; - if (value_value_buf_u_selector == 0) { - value_value_buf_u.selector = 0; - value_value_buf_u.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_u_selector == 1) { - value_value_buf_u.selector = 1; - value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_u_selector == 2) { - value_value_buf_u.selector = 2; - value_value_buf_u.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_u_selector == 3) { - value_value_buf_u.selector = 3; - value_value_buf_u.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); - } - value_value_buf.value0 = static_cast(value_value_buf_u); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readLinearGradient()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_ResourceColor_LinearGradient value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSliderModifier()->setTrackColor(self, (const Ark_Union_ResourceColor_LinearGradient*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SliderAttribute_trackColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -13570,37 +13065,136 @@ void impl_SliderAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializerBu INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSliderModifier()->setSelectedColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getSearchModifier()->setPlaceholderColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_selectedColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_minLabel(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_placeholderColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_placeholderFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSliderModifier()->setMinLabel(self, (const Ark_String*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Font value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readFont(); + } + Opt_Font value_value = value_value_buf;; + GetNodeModifiers()->getSearchModifier()->setPlaceholderFont(self, (const Opt_Font*)&value_value); } -KOALA_INTEROP_V2(SliderAttribute_minLabel, Ark_NativePointer, KStringPtr) -void impl_SliderAttribute_maxLabel(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_placeholderFont, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_textFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSliderModifier()->setMaxLabel(self, (const Ark_String*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Font value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readFont(); + } + Opt_Font value_value = value_value_buf;; + GetNodeModifiers()->getSearchModifier()->setTextFont(self, (const Opt_Font*)&value_value); } -KOALA_INTEROP_V2(SliderAttribute_maxLabel, Ark_NativePointer, KStringPtr) -void impl_SliderAttribute_showSteps(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_textFont, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_enterKeyType(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSliderModifier()->setShowSteps(self, value); + GetNodeModifiers()->getSearchModifier()->setEnterKeyType(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(SliderAttribute_showSteps, Ark_NativePointer, Ark_Boolean) -void impl_SliderAttribute_trackThickness(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SearchAttribute_enterKeyType, Ark_NativePointer, Ark_Int32) +void impl_SearchAttribute_onSubmit0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; + GetNodeModifiers()->getSearchModifier()->setOnSubmit0(self, (const Callback_String_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onSubmit0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_onSubmit1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + SearchSubmitCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_SearchSubmitCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_SearchSubmitCallback))))};; + GetNodeModifiers()->getSearchModifier()->setOnSubmit1(self, (const SearchSubmitCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onSubmit1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + EditableTextOnChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_EditableTextOnChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_EditableTextOnChangeCallback))))};; + GetNodeModifiers()->getSearchModifier()->setOnChange(self, (const EditableTextOnChangeCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_onTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnTextSelectionChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTextSelectionChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTextSelectionChangeCallback))))};; + GetNodeModifiers()->getSearchModifier()->setOnTextSelectionChange(self, (const OnTextSelectionChangeCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onTextSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_onContentScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnContentScrollCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnContentScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnContentScrollCallback))))};; + GetNodeModifiers()->getSearchModifier()->setOnContentScroll(self, (const OnContentScrollCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onContentScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; + GetNodeModifiers()->getSearchModifier()->setOnCopy(self, (const Callback_String_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_onCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; + GetNodeModifiers()->getSearchModifier()->setOnCut(self, (const Callback_String_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onCut, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_onPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnPasteCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnPasteCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnPasteCallback))))};; + GetNodeModifiers()->getSearchModifier()->setOnPaste(self, (const OnPasteCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onPaste, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_copyOption(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSearchModifier()->setCopyOption(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SearchAttribute_copyOption, Ark_NativePointer, Ark_Int32) +void impl_SearchAttribute_maxLength(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSearchModifier()->setMaxLength(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(SearchAttribute_maxLength, Ark_NativePointer, KInteropNumber) +void impl_SearchAttribute_textAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSearchModifier()->setTextAlign(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SearchAttribute_textAlign, Ark_NativePointer, Ark_Int32) +void impl_SearchAttribute_enableKeyboardOnFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSearchModifier()->setEnableKeyboardOnFocus(self, value); +} +KOALA_INTEROP_DIRECT_V2(SearchAttribute_enableKeyboardOnFocus, Ark_NativePointer, Ark_Boolean) +void impl_SearchAttribute_selectionMenuHidden(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSearchModifier()->setSelectionMenuHidden(self, value); +} +KOALA_INTEROP_DIRECT_V2(SearchAttribute_selectionMenuHidden, Ark_NativePointer, Ark_Boolean) +void impl_SearchAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; @@ -13609,59 +13203,111 @@ void impl_SliderAttribute_trackThickness(Ark_NativePointer thisPtr, KSerializerB else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSliderModifier()->setTrackThickness(self, (const Ark_Union_String_Number_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SliderAttribute_trackThickness, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_SliderChangeMode_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_SliderChangeMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_SliderChangeMode_Void))))};; - GetNodeModifiers()->getSliderModifier()->setOnChange(self, (const Callback_Number_SliderChangeMode_Void*)&value_value); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSearchModifier()->setMinFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_blockBorderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSliderModifier()->setBlockBorderColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSearchModifier()->setMaxFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockBorderColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_blockBorderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_Resource value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_Number_Resource value_value = value_value_buf;; + GetNodeModifiers()->getSearchModifier()->setMinFontScale(self, (const Opt_Union_Number_Resource*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_Resource value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_Number_Resource value_value = value_value_buf;; + GetNodeModifiers()->getSearchModifier()->setMaxFontScale(self, (const Opt_Union_Number_Resource*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_TextDecorationOptions value_value = thisDeserializer.readTextDecorationOptions();; + GetNodeModifiers()->getSearchModifier()->setDecoration(self, (const Ark_TextDecorationOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; @@ -13670,212 +13316,163 @@ void impl_SliderAttribute_blockBorderWidth(Ark_NativePointer thisPtr, KSerialize else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSliderModifier()->setBlockBorderWidth(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSearchModifier()->setLetterSpacing(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockBorderWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_stepColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSliderModifier()->setStepColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSearchModifier()->setLineHeight(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_stepColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_trackBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_type(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSearchModifier()->setType(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SearchAttribute_type, Ark_NativePointer, Ark_Int32) +void impl_SearchAttribute_fontFeature(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSearchModifier()->setFontFeature(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(SearchAttribute_fontFeature, Ark_NativePointer, KStringPtr) +void impl_SearchAttribute_onWillInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSliderModifier()->setTrackBorderRadius(self, (const Ark_Union_String_Number_Resource*)&value_value); + Callback_InsertValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_InsertValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Boolean))))};; + GetNodeModifiers()->getSearchModifier()->setOnWillInsert(self, (const Callback_InsertValue_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_trackBorderRadius, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_selectedBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onWillInsert, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_onDidInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSliderModifier()->setSelectedBorderRadius(self, (const Ark_Union_String_Number_Resource*)&value_value); + Callback_InsertValue_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_InsertValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Void))))};; + GetNodeModifiers()->getSearchModifier()->setOnDidInsert(self, (const Callback_InsertValue_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_selectedBorderRadius, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_blockSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onDidInsert, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_onWillDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_SizeOptions value_value = thisDeserializer.readSizeOptions();; - GetNodeModifiers()->getSliderModifier()->setBlockSize(self, (const Ark_SizeOptions*)&value_value); + Callback_DeleteValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DeleteValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Boolean))))};; + GetNodeModifiers()->getSearchModifier()->setOnWillDelete(self, (const Callback_DeleteValue_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_blockStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onWillDelete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_onDidDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_SliderBlockStyle value_value = thisDeserializer.readSliderBlockStyle();; - GetNodeModifiers()->getSliderModifier()->setBlockStyle(self, (const Ark_SliderBlockStyle*)&value_value); + Callback_DeleteValue_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DeleteValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Void))))};; + GetNodeModifiers()->getSearchModifier()->setOnDidDelete(self, (const Callback_DeleteValue_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_stepSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onDidDelete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSliderModifier()->setStepSize(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_EditMenuOptions value_value = thisDeserializer.readEditMenuOptions();; + GetNodeModifiers()->getSearchModifier()->setEditMenuOptions(self, (const Ark_EditMenuOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_stepSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_sliderInteractionMode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_enablePreviewText(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSliderModifier()->setSliderInteractionMode(self, static_cast(value)); + GetNodeModifiers()->getSearchModifier()->setEnablePreviewText(self, value); } -KOALA_INTEROP_DIRECT_V2(SliderAttribute_sliderInteractionMode, Ark_NativePointer, Ark_Int32) -void impl_SliderAttribute_minResponsiveDistance(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V2(SearchAttribute_enablePreviewText, Ark_NativePointer, Ark_Boolean) +void impl_SearchAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSliderModifier()->setMinResponsiveDistance(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getSearchModifier()->setEnableHapticFeedback(self, value); } -KOALA_INTEROP_DIRECT_V2(SliderAttribute_minResponsiveDistance, Ark_NativePointer, KInteropNumber) -void impl_SliderAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SearchAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) +void impl_SearchAttribute_autoCapitalizationMode(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getSliderModifier()->setContentModifier(self, (const Ark_Object*)&value_value); + GetNodeModifiers()->getSearchModifier()->setAutoCapitalizationMode(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_slideRange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SearchAttribute_autoCapitalizationMode, Ark_NativePointer, Ark_Int32) +void impl_SearchAttribute_halfLeading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_SlideRange value_value = thisDeserializer.readSlideRange();; - GetNodeModifiers()->getSliderModifier()->setSlideRange(self, (const Ark_SlideRange*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getSearchModifier()->setHalfLeading(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SliderAttribute_slideRange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SliderAttribute_showTips(Ark_NativePointer thisPtr, Ark_Boolean value, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_halfLeading, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_stopBackPress(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto content_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr content_value_buf = {}; - content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - const Ark_Int8 content_value_buf__selector = thisDeserializer.readInt8(); - Ark_ResourceStr content_value_buf_ = {}; - content_value_buf_.selector = content_value_buf__selector; - if (content_value_buf__selector == 0) { - content_value_buf_.selector = 0; - content_value_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (content_value_buf__selector == 1) { - content_value_buf_.selector = 1; - content_value_buf_.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for content_value_buf_ has to be chosen through deserialisation."); - } - content_value_buf.value = static_cast(content_value_buf_); + value_value_buf.value = thisDeserializer.readBoolean(); } - Opt_ResourceStr content_value = content_value_buf;; - GetNodeModifiers()->getSliderModifier()->setShowTips(self, value, (const Opt_ResourceStr*)&content_value); + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getSearchModifier()->setStopBackPress(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V4(SliderAttribute_showTips, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) -void impl_SliderAttribute__onChangeEvent_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_stopBackPress, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_onWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getSliderModifier()->set_onChangeEvent_value(self, (const Callback_Number_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(SliderAttribute__onChangeEvent_value, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_BaseSpan_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getBaseSpanModifier()->construct(id, flags); + Callback_EditableTextChangeValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_EditableTextChangeValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_EditableTextChangeValue_Boolean))))};; + GetNodeModifiers()->getSearchModifier()->setOnWillChange(self, (const Callback_EditableTextChangeValue_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_2(BaseSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_BaseSpan_textBackgroundStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_onWillChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_keyboardAppearance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_TextBackgroundStyle value_value = thisDeserializer.readTextBackgroundStyle();; - GetNodeModifiers()->getBaseSpanModifier()->setTextBackgroundStyle(self, (const Ark_TextBackgroundStyle*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardAppearance value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_KeyboardAppearance value_value = value_value_buf;; + GetNodeModifiers()->getSearchModifier()->setKeyboardAppearance(self, (const Opt_KeyboardAppearance*)&value_value); } -KOALA_INTEROP_DIRECT_V3(BaseSpan_textBackgroundStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_BaseSpan_baselineOffset(Ark_NativePointer thisPtr, Ark_NativePointer value) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_keyboardAppearance, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_searchButton(Ark_NativePointer thisPtr, const KStringPtr& value, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getBaseSpanModifier()->setBaselineOffset(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(BaseSpan_baselineOffset, Ark_NativePointer, Ark_NativePointer) -Ark_NativePointer impl_Span_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSpanModifier()->construct(id, flags); + Deserializer thisDeserializer(thisArray, thisLength); + const auto option_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SearchButtonOptions option_value_buf = {}; + option_value_buf.tag = option_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (option_value_buf_runtimeType)) + { + option_value_buf.value = thisDeserializer.readSearchButtonOptions(); + } + Opt_SearchButtonOptions option_value = option_value_buf;; + GetNodeModifiers()->getSearchModifier()->setSearchButton(self, (const Ark_String*) (&value), (const Opt_SearchButtonOptions*)&option_value); } -KOALA_INTEROP_DIRECT_2(Span_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_SpanInterface_setSpanOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V4(SearchAttribute_searchButton, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) +void impl_SearchAttribute_inputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Resource value_value_buf = {}; + Ark_ResourceStr value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -13888,26 +13485,53 @@ void impl_SpanInterface_setSpanOptions(Ark_NativePointer thisPtr, KSerializerBuf else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSpanModifier()->setSpanOptions(self, (const Ark_Union_String_Resource*)&value_value); + Ark_ResourceStr value_value = static_cast(value_value_buf);; + const auto error_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_String_Void error_value_buf = {}; + error_value_buf.tag = error_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_value_buf_runtimeType)) + { + error_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))}; + } + Opt_Callback_String_Void error_value = error_value_buf;; + GetNodeModifiers()->getSearchModifier()->setInputFilter(self, (const Ark_ResourceStr*)&value_value, (const Opt_Callback_String_Void*)&error_value); } -KOALA_INTEROP_DIRECT_V3(SpanInterface_setSpanOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SpanAttribute_font(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_inputFilter, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute_customKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Font value_value = thisDeserializer.readFont();; - GetNodeModifiers()->getSpanModifier()->setFont(self, (const Ark_Font*)&value_value); + CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readKeyboardOptions(); + } + Opt_KeyboardOptions options_value = options_value_buf;; + GetNodeModifiers()->getSearchModifier()->setCustomKeyboard(self, (const CustomNodeBuilder*)&value_value, (const Opt_KeyboardOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(SpanAttribute_font, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SpanAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SearchAttribute_customKeyboard, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SearchAttribute__onChangeEvent_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_String_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; + GetNodeModifiers()->getSearchModifier()->set_onChangeEvent_value(self, (const Callback_String_Void*)&callback_value); +} +KOALA_INTEROP_DIRECT_V3(SearchAttribute__onChangeEvent_value, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_SecurityComponentMethod_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getSecurityComponentMethodModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(SecurityComponentMethod_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_SecurityComponentMethod_iconSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Dimension value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -13915,32 +13539,72 @@ void impl_SpanAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer t } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSpanModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setIconSize(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SpanAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_iconSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_layoutDirection(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setLayoutDirection(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SecurityComponentMethod_layoutDirection, Ark_NativePointer, Ark_Int32) +void impl_SecurityComponentMethod_position(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_Position value_value = thisDeserializer.readPosition();; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setPosition(self, (const Ark_Position*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_position, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_markAnchor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Position value_value = thisDeserializer.readPosition();; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setMarkAnchor(self, (const Ark_Position*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_markAnchor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_offset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Position_Edges_LocalizedEdges value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = thisDeserializer.readPosition(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = thisDeserializer.readEdges(); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readLocalizedEdges(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Position_Edges_LocalizedEdges value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setOffset(self, (const Ark_Union_Position_Edges_LocalizedEdges*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_offset, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; @@ -13949,16 +13613,16 @@ void impl_SpanAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer th else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSpanModifier()->setFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontSize(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SpanAttribute_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSpanModifier()->setFontStyle(self, static_cast(value)); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontStyle(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(SpanAttribute_fontStyle, Ark_NativePointer, Ark_Int32) -void impl_SpanAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SecurityComponentMethod_fontStyle, Ark_NativePointer, Ark_Int32) +void impl_SecurityComponentMethod_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -13980,10 +13644,10 @@ void impl_SpanAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSpanModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SpanAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -14001,47 +13665,106 @@ void impl_SpanAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_Union_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSpanModifier()->setFontFamily(self, (const Ark_Union_String_Resource*)&value_value); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontFamily(self, (const Ark_Union_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SpanAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_DecorationStyleInterface value_value = thisDeserializer.readDecorationStyleInterface();; - GetNodeModifiers()->getSpanModifier()->setDecoration(self, (const Ark_DecorationStyleInterface*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SpanAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SpanAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_iconColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSpanModifier()->setLetterSpacing(self, (const Ark_Union_Number_String*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setIconColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SpanAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SpanAttribute_textCase(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_iconColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_backgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSpanModifier()->setTextCase(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setBackgroundColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SpanAttribute_textCase, Ark_NativePointer, Ark_Int32) -void impl_SpanAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_backgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_borderStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderStyle(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SecurityComponentMethod_borderStyle, Ark_NativePointer, Ark_Int32) +void impl_SecurityComponentMethod_borderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Dimension value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -14058,253 +13781,417 @@ void impl_SpanAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSpanModifier()->setLineHeight(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderWidth(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SpanAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SpanAttribute_textShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_borderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readShadowOptions(); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_ShadowOptions value_value_buf_u = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_u, value_value_buf_u_length); - for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { - value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readShadowOptions(); - } - value_value_buf.value1 = value_value_buf_u; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_ShadowOptions_Array_ShadowOptions value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSpanModifier()->setTextShadow(self, (const Ark_Union_ShadowOptions_Array_ShadowOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SpanAttribute_textShadow, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Stack_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getStackModifier()->construct(id, flags); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_2(Stack_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_StackInterface_setStackOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_borderRadius0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_StackOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readStackOptions(); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } - Opt_StackOptions options_value = options_value_buf;; - GetNodeModifiers()->getStackModifier()->setStackOptions(self, (const Opt_StackOptions*)&options_value); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderRadius0(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V3(StackInterface_setStackOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_StackAttribute_alignContent(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderRadius0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_borderRadius1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getStackModifier()->setAlignContent(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Dimension_BorderRadiuses value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readBorderRadiuses(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Dimension_BorderRadiuses value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setBorderRadius1(self, (const Ark_Union_Dimension_BorderRadiuses*)&value_value); } -KOALA_INTEROP_DIRECT_V2(StackAttribute_alignContent, Ark_NativePointer, Ark_Int32) -void impl_StackAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_borderRadius1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_padding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_PointLightStyle value_value = thisDeserializer.readPointLightStyle();; - GetNodeModifiers()->getStackModifier()->setPointLight(self, (const Ark_PointLightStyle*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(StackAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Stepper_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getStepperModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Stepper_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_StepperInterface_setStepperOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Literal_Number_index value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - Ark_Literal_Number_index value_value_buf_ = {}; - const auto value_value_buf__index_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number value_value_buf__index_buf = {}; - value_value_buf__index_buf.tag = value_value_buf__index_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__index_buf_runtimeType)) + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Padding_Dimension value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + Ark_Padding value_value_buf_u = {}; + const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length value_value_buf_u_top_buf = {}; + value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) { - value_value_buf__index_buf.value = static_cast(thisDeserializer.readNumber()); + const Ark_Int8 value_value_buf_u_top_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u_top_buf_ = {}; + value_value_buf_u_top_buf_.selector = value_value_buf_u_top_buf__selector; + if (value_value_buf_u_top_buf__selector == 0) { + value_value_buf_u_top_buf_.selector = 0; + value_value_buf_u_top_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_top_buf__selector == 1) { + value_value_buf_u_top_buf_.selector = 1; + value_value_buf_u_top_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_top_buf__selector == 2) { + value_value_buf_u_top_buf_.selector = 2; + value_value_buf_u_top_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_top_buf_ has to be chosen through deserialisation."); + } + value_value_buf_u_top_buf.value = static_cast(value_value_buf_u_top_buf_); } - value_value_buf_.index = value_value_buf__index_buf; - value_value_buf.value = value_value_buf_; + value_value_buf_u.top = value_value_buf_u_top_buf; + const auto value_value_buf_u_right_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length value_value_buf_u_right_buf = {}; + value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + { + const Ark_Int8 value_value_buf_u_right_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u_right_buf_ = {}; + value_value_buf_u_right_buf_.selector = value_value_buf_u_right_buf__selector; + if (value_value_buf_u_right_buf__selector == 0) { + value_value_buf_u_right_buf_.selector = 0; + value_value_buf_u_right_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_right_buf__selector == 1) { + value_value_buf_u_right_buf_.selector = 1; + value_value_buf_u_right_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_right_buf__selector == 2) { + value_value_buf_u_right_buf_.selector = 2; + value_value_buf_u_right_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_right_buf_ has to be chosen through deserialisation."); + } + value_value_buf_u_right_buf.value = static_cast(value_value_buf_u_right_buf_); + } + value_value_buf_u.right = value_value_buf_u_right_buf; + const auto value_value_buf_u_bottom_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length value_value_buf_u_bottom_buf = {}; + value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + { + const Ark_Int8 value_value_buf_u_bottom_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u_bottom_buf_ = {}; + value_value_buf_u_bottom_buf_.selector = value_value_buf_u_bottom_buf__selector; + if (value_value_buf_u_bottom_buf__selector == 0) { + value_value_buf_u_bottom_buf_.selector = 0; + value_value_buf_u_bottom_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_bottom_buf__selector == 1) { + value_value_buf_u_bottom_buf_.selector = 1; + value_value_buf_u_bottom_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_bottom_buf__selector == 2) { + value_value_buf_u_bottom_buf_.selector = 2; + value_value_buf_u_bottom_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_bottom_buf_ has to be chosen through deserialisation."); + } + value_value_buf_u_bottom_buf.value = static_cast(value_value_buf_u_bottom_buf_); + } + value_value_buf_u.bottom = value_value_buf_u_bottom_buf; + const auto value_value_buf_u_left_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Length value_value_buf_u_left_buf = {}; + value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + { + const Ark_Int8 value_value_buf_u_left_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_u_left_buf_ = {}; + value_value_buf_u_left_buf_.selector = value_value_buf_u_left_buf__selector; + if (value_value_buf_u_left_buf__selector == 0) { + value_value_buf_u_left_buf_.selector = 0; + value_value_buf_u_left_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_left_buf__selector == 1) { + value_value_buf_u_left_buf_.selector = 1; + value_value_buf_u_left_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_left_buf__selector == 2) { + value_value_buf_u_left_buf_.selector = 2; + value_value_buf_u_left_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u_left_buf_ has to be chosen through deserialisation."); + } + value_value_buf_u_left_buf.value = static_cast(value_value_buf_u_left_buf_); + } + value_value_buf_u.left = value_value_buf_u_left_buf; + value_value_buf.value0 = value_value_buf_u; } - Opt_Literal_Number_index value_value = value_value_buf;; - GetNodeModifiers()->getStepperModifier()->setStepperOptions(self, (const Opt_Literal_Number_index*)&value_value); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value1 = static_cast(value_value_buf_u); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Padding_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setPadding(self, (const Ark_Union_Padding_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V3(StepperInterface_setStepperOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_StepperAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_padding, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_textIconSpace(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getStepperModifier()->setOnFinish(self, (const Callback_Void*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setTextIconSpace(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V3(StepperAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_StepperAttribute_onSkip(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_textIconSpace, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_key(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getStepperModifier()->setOnSkip(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setKey(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V3(StepperAttribute_onSkip, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_StepperAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(SecurityComponentMethod_key, Ark_NativePointer, KStringPtr) +void impl_SecurityComponentMethod_width(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; - GetNodeModifiers()->getStepperModifier()->setOnChange(self, (const Callback_Number_Number_Void*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setWidth(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(StepperAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_StepperAttribute_onNext(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_width, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_height(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; - GetNodeModifiers()->getStepperModifier()->setOnNext(self, (const Callback_Number_Number_Void*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setHeight(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(StepperAttribute_onNext, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_StepperAttribute_onPrevious(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_height, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; - GetNodeModifiers()->getStepperModifier()->setOnPrevious(self, (const Callback_Number_Number_Void*)&value_value); + Ark_SizeOptions value_value = thisDeserializer.readSizeOptions();; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setSize(self, (const Ark_SizeOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(StepperAttribute_onPrevious, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_StepperAttribute__onChangeEvent_index(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_size, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_constraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getStepperModifier()->set_onChangeEvent_index(self, (const Callback_Number_Void*)&callback_value); + Ark_ConstraintSizeOptions value_value = thisDeserializer.readConstraintSizeOptions();; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setConstraintSize(self, (const Ark_ConstraintSizeOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(StepperAttribute__onChangeEvent_index, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_StepperItem_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getStepperItemModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_constraintSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_align(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setAlign(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_2(StepperItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_StepperItemInterface_setStepperItemOptions(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V2(SecurityComponentMethod_align, Ark_NativePointer, Ark_Int32) +void impl_SecurityComponentMethod_alignRules0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getStepperItemModifier()->setStepperItemOptions(self); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_AlignRuleOption value_value = thisDeserializer.readAlignRuleOption();; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setAlignRules0(self, (const Ark_AlignRuleOption*)&value_value); } -KOALA_INTEROP_DIRECT_V1(StepperItemInterface_setStepperItemOptions, Ark_NativePointer) -void impl_StepperItemAttribute_prevLabel(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_alignRules0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_alignRules1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getStepperItemModifier()->setPrevLabel(self, (const Ark_String*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_LocalizedAlignRuleOptions value_value = thisDeserializer.readLocalizedAlignRuleOptions();; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setAlignRules1(self, (const Ark_LocalizedAlignRuleOptions*)&value_value); } -KOALA_INTEROP_V2(StepperItemAttribute_prevLabel, Ark_NativePointer, KStringPtr) -void impl_StepperItemAttribute_nextLabel(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_alignRules1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_id(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getStepperItemModifier()->setNextLabel(self, (const Ark_String*) (&value)); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setId(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_V2(StepperItemAttribute_nextLabel, Ark_NativePointer, KStringPtr) -void impl_StepperItemAttribute_status(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(SecurityComponentMethod_id, Ark_NativePointer, KStringPtr) +void impl_SecurityComponentMethod_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ItemState value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = static_cast(thisDeserializer.readInt32()); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } - Opt_ItemState value_value = value_value_buf;; - GetNodeModifiers()->getStepperItemModifier()->setStatus(self, (const Opt_ItemState*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(StepperItemAttribute_status, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Swiper_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSwiperModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(Swiper_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_SwiperInterface_setSwiperOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto controller_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SwiperController controller_value_buf = {}; - controller_value_buf.tag = controller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType)) - { - controller_value_buf.value = static_cast(thisDeserializer.readSwiperController()); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); } - Opt_SwiperController controller_value = controller_value_buf;; - GetNodeModifiers()->getSwiperModifier()->setSwiperOptions(self, (const Opt_SwiperController*)&controller_value); -} -KOALA_INTEROP_DIRECT_V3(SwiperInterface_setSwiperOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_index(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setIndex(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_index, Ark_NativePointer, KInteropNumber) -void impl_SwiperAttribute_autoPlay(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setAutoPlay(self, value); -} -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_autoPlay, Ark_NativePointer, Ark_Boolean) -void impl_SwiperAttribute_interval(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setInterval(self, (const Ark_Number*) (&value)); + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setMinFontScale(self, (const Ark_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_interval, Ark_NativePointer, KInteropNumber) -void impl_SwiperAttribute_indicator0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_DotIndicator_DigitIndicator_Boolean value_value_buf = {}; + Ark_Union_Number_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readDotIndicator(); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readDigitIndicator(); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readBoolean(); + value_value_buf.value1 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_DotIndicator_DigitIndicator_Boolean value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSwiperModifier()->setIndicator0(self, (const Ark_Union_DotIndicator_DigitIndicator_Boolean*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicator0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_indicator1(Ark_NativePointer thisPtr, Ark_NativePointer value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setIndicator1(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_indicator1, Ark_NativePointer, Ark_NativePointer) -void impl_SwiperAttribute_loop(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setLoop(self, value); -} -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_loop, Ark_NativePointer, Ark_Boolean) -void impl_SwiperAttribute_duration(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setDuration(self, (const Ark_Number*) (&value)); + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setMaxFontScale(self, (const Ark_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_duration, Ark_NativePointer, KInteropNumber) -void impl_SwiperAttribute_vertical(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_maxLines(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setVertical(self, value); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setMaxLines(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_vertical, Ark_NativePointer, Ark_Boolean) -void impl_SwiperAttribute_itemSpace(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SecurityComponentMethod_maxLines, Ark_NativePointer, KInteropNumber) +void impl_SecurityComponentMethod_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -14314,42 +14201,26 @@ void impl_SwiperAttribute_itemSpace(Ark_NativePointer thisPtr, KSerializerBuffer value_value_buf.selector = 1; value_value_buf.value1 = static_cast(thisDeserializer.readString()); } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSwiperModifier()->setItemSpace(self, (const Ark_Union_Number_String*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_itemSpace, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_displayMode(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setDisplayMode(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_displayMode, Ark_NativePointer, Ark_Int32) -void impl_SwiperAttribute_cachedCount(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setCachedCount(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_cachedCount, Ark_NativePointer, KInteropNumber) -void impl_SwiperAttribute_effectMode(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setEffectMode(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_effectMode, Ark_NativePointer, Ark_Int32) -void impl_SwiperAttribute_disableSwipe(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setDisableSwipe(self, value); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setMinFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_disableSwipe, Ark_NativePointer, Ark_Boolean) -void impl_SwiperAttribute_curve(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Curve_String_ICurve value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -14357,185 +14228,176 @@ void impl_SwiperAttribute_curve(Ark_NativePointer thisPtr, KSerializerBuffer thi } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readICurve()); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Curve_String_ICurve value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSwiperModifier()->setCurve(self, (const Ark_Union_Curve_String_ICurve*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_curve, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getSwiperModifier()->setOnChange(self, (const Callback_Number_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_indicatorStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_IndicatorStyle value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readIndicatorStyle(); - } - Opt_IndicatorStyle value_value = value_value_buf;; - GetNodeModifiers()->getSwiperModifier()->setIndicatorStyle(self, (const Opt_IndicatorStyle*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicatorStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_onAnimationStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnSwiperAnimationStartCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSwiperAnimationStartCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSwiperAnimationStartCallback))))};; - GetNodeModifiers()->getSwiperModifier()->setOnAnimationStart(self, (const OnSwiperAnimationStartCallback*)&value_value); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSecurityComponentMethodModifier()->setMaxFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onAnimationStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_onAnimationEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SecurityComponentMethod_heightAdaptivePolicy(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnSwiperAnimationEndCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSwiperAnimationEndCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSwiperAnimationEndCallback))))};; - GetNodeModifiers()->getSwiperModifier()->setOnAnimationEnd(self, (const OnSwiperAnimationEndCallback*)&value_value); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setHeightAdaptivePolicy(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onAnimationEnd, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_onGestureSwipe(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SecurityComponentMethod_heightAdaptivePolicy, Ark_NativePointer, Ark_Int32) +void impl_SecurityComponentMethod_enabled(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnSwiperGestureSwipeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSwiperGestureSwipeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSwiperGestureSwipeCallback))))};; - GetNodeModifiers()->getSwiperModifier()->setOnGestureSwipe(self, (const OnSwiperGestureSwipeCallback*)&value_value); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setEnabled(self, value); } -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onGestureSwipe, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_nestedScroll(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(SecurityComponentMethod_enabled, Ark_NativePointer, Ark_Boolean) +void impl_SecurityComponentMethod_chainMode(Ark_NativePointer thisPtr, Ark_Int32 direction, Ark_Int32 style) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setNestedScroll(self, static_cast(value)); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setChainMode(self, static_cast(direction), static_cast(style)); } -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_nestedScroll, Ark_NativePointer, Ark_Int32) -void impl_SwiperAttribute_customContentTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_SwiperContentAnimatedTransition value_value = thisDeserializer.readSwiperContentAnimatedTransition();; - GetNodeModifiers()->getSwiperModifier()->setCustomContentTransition(self, (const Ark_SwiperContentAnimatedTransition*)&value_value); +KOALA_INTEROP_DIRECT_V3(SecurityComponentMethod_chainMode, Ark_NativePointer, Ark_Int32, Ark_Int32) +Ark_NativePointer impl_Select_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getSelectModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_customContentTransition, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_onContentDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Select_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_SelectInterface_setSelectOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - ContentDidScrollCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ContentDidScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ContentDidScrollCallback))))};; - GetNodeModifiers()->getSwiperModifier()->setOnContentDidScroll(self, (const ContentDidScrollCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onContentDidScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_indicatorInteractive(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setIndicatorInteractive(self, value); + const Ark_Int32 options_value_buf_length = thisDeserializer.readInt32(); + Array_SelectOption options_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&options_value_buf, options_value_buf_length); + for (int options_value_buf_i = 0; options_value_buf_i < options_value_buf_length; options_value_buf_i++) { + options_value_buf.array[options_value_buf_i] = thisDeserializer.readSelectOption(); + } + Array_SelectOption options_value = options_value_buf;; + GetNodeModifiers()->getSelectModifier()->setSelectOptions(self, (const Array_SelectOption*)&options_value); } -KOALA_INTEROP_DIRECT_V2(SwiperAttribute_indicatorInteractive, Ark_NativePointer, Ark_Boolean) -void impl_SwiperAttribute_displayArrow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectInterface_setSelectOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_selected0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ArrowStyle_Boolean value_value_buf = {}; + Ark_Union_Number_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readArrowStyle(); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readBoolean(); + value_value_buf.value1 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_ArrowStyle_Boolean value_value = static_cast(value_value_buf);; - const auto isHoverShow_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isHoverShow_value_buf = {}; - isHoverShow_value_buf.tag = isHoverShow_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isHoverShow_value_buf_runtimeType)) + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSelectModifier()->setSelected0(self, (const Ark_Union_Number_Resource*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SelectAttribute_selected0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_selected1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_Resource value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - isHoverShow_value_buf.value = thisDeserializer.readBoolean(); + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); } - Opt_Boolean isHoverShow_value = isHoverShow_value_buf;; - GetNodeModifiers()->getSwiperModifier()->setDisplayArrow(self, (const Ark_Union_ArrowStyle_Boolean*)&value_value, (const Opt_Boolean*)&isHoverShow_value); + Opt_Union_Number_Resource value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setSelected1(self, (const Opt_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_displayArrow, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_displayCount(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_selected1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_value0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_SwiperAutoFill value_value_buf = {}; + Ark_ResourceStr value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readSwiperAutoFill(); + value_value_buf.value1 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_SwiperAutoFill value_value = static_cast(value_value_buf);; - const auto swipeByGroup_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean swipeByGroup_value_buf = {}; - swipeByGroup_value_buf.tag = swipeByGroup_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (swipeByGroup_value_buf_runtimeType)) - { - swipeByGroup_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean swipeByGroup_value = swipeByGroup_value_buf;; - GetNodeModifiers()->getSwiperModifier()->setDisplayCount(self, (const Ark_Union_Number_String_SwiperAutoFill*)&value_value, (const Opt_Boolean*)&swipeByGroup_value); + Ark_ResourceStr value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSelectModifier()->setValue0(self, (const Ark_ResourceStr*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_displayCount, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_prevMargin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_value0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_value1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceStr value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - const auto ignoreBlank_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean ignoreBlank_value_buf = {}; - ignoreBlank_value_buf.tag = ignoreBlank_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (ignoreBlank_value_buf_runtimeType)) + Opt_ResourceStr value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setValue1(self, (const Opt_ResourceStr*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SelectAttribute_value1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_font0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Font value_value = thisDeserializer.readFont();; + GetNodeModifiers()->getSelectModifier()->setFont0(self, (const Ark_Font*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SelectAttribute_font0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_font1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Font value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - ignoreBlank_value_buf.value = thisDeserializer.readBoolean(); + value_value_buf.value = thisDeserializer.readFont(); } - Opt_Boolean ignoreBlank_value = ignoreBlank_value_buf;; - GetNodeModifiers()->getSwiperModifier()->setPrevMargin(self, (const Ark_Union_String_Number_Resource*)&value_value, (const Opt_Boolean*)&ignoreBlank_value); + Opt_Font value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setFont1(self, (const Opt_Font*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_prevMargin, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute_nextMargin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_font1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_fontColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -14543,427 +14405,383 @@ void impl_SwiperAttribute_nextMargin(Ark_NativePointer thisPtr, KSerializerBuffe } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - const auto ignoreBlank_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean ignoreBlank_value_buf = {}; - ignoreBlank_value_buf.tag = ignoreBlank_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (ignoreBlank_value_buf_runtimeType)) - { - ignoreBlank_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean ignoreBlank_value = ignoreBlank_value_buf;; - GetNodeModifiers()->getSwiperModifier()->setNextMargin(self, (const Ark_Union_String_Number_Resource*)&value_value, (const Opt_Boolean*)&ignoreBlank_value); -} -KOALA_INTEROP_DIRECT_V3(SwiperAttribute_nextMargin, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SwiperAttribute__onChangeEvent_index(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getSwiperModifier()->set_onChangeEvent_index(self, (const Callback_Number_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(SwiperAttribute__onChangeEvent_index, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_IndicatorComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getIndicatorComponentModifier()->construct(id, flags); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSelectModifier()->setFontColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_2(IndicatorComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_IndicatorComponentInterface_setIndicatorComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_fontColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_fontColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto controller_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_IndicatorComponentController controller_value_buf = {}; - controller_value_buf.tag = controller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - controller_value_buf.value = static_cast(thisDeserializer.readIndicatorComponentController()); + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); } - Opt_IndicatorComponentController controller_value = controller_value_buf;; - GetNodeModifiers()->getIndicatorComponentModifier()->setIndicatorComponentOptions(self, (const Opt_IndicatorComponentController*)&controller_value); -} -KOALA_INTEROP_DIRECT_V3(IndicatorComponentInterface_setIndicatorComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_IndicatorComponentAttribute_initialIndex(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getIndicatorComponentModifier()->setInitialIndex(self, (const Ark_Number*) (&value)); -} -KOALA_INTEROP_DIRECT_V2(IndicatorComponentAttribute_initialIndex, Ark_NativePointer, KInteropNumber) -void impl_IndicatorComponentAttribute_count(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getIndicatorComponentModifier()->setCount(self, (const Ark_Number*) (&value)); + Opt_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setFontColor1(self, (const Opt_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V2(IndicatorComponentAttribute_count, Ark_NativePointer, KInteropNumber) -void impl_IndicatorComponentAttribute_style(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_fontColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_selectedOptionBgColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_DotIndicator_DigitIndicator value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readDotIndicator(); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readDigitIndicator(); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_DotIndicator_DigitIndicator value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getIndicatorComponentModifier()->setStyle(self, (const Ark_Union_DotIndicator_DigitIndicator*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_style, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_IndicatorComponentAttribute_loop(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getIndicatorComponentModifier()->setLoop(self, value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSelectModifier()->setSelectedOptionBgColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V2(IndicatorComponentAttribute_loop, Ark_NativePointer, Ark_Boolean) -void impl_IndicatorComponentAttribute_vertical(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionBgColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_selectedOptionBgColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getIndicatorComponentModifier()->setVertical(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setSelectedOptionBgColor1(self, (const Opt_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V2(IndicatorComponentAttribute_vertical, Ark_NativePointer, Ark_Boolean) -void impl_IndicatorComponentAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionBgColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_selectedOptionFont0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getIndicatorComponentModifier()->setOnChange(self, (const Callback_Number_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_SymbolGlyph_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSymbolGlyphModifier()->construct(id, flags); + Ark_Font value_value = thisDeserializer.readFont();; + GetNodeModifiers()->getSelectModifier()->setSelectedOptionFont0(self, (const Ark_Font*)&value_value); } -KOALA_INTEROP_DIRECT_2(SymbolGlyph_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_SymbolGlyphInterface_setSymbolGlyphOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFont0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_selectedOptionFont1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Resource value_value_buf = {}; + Opt_Font value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readResource(); + value_value_buf.value = thisDeserializer.readFont(); } - Opt_Resource value_value = value_value_buf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolGlyphOptions(self, (const Opt_Resource*)&value_value); + Opt_Font value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setSelectedOptionFont1(self, (const Opt_Font*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SymbolGlyphInterface_setSymbolGlyphOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SymbolGlyphAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFont1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_selectedOptionFontColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSymbolGlyphModifier()->setFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSelectModifier()->setSelectedOptionFontColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SymbolGlyphAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFontColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_selectedOptionFontColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_ResourceColor value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_buf = {}; - value_value_buf_buf.selector = value_value_buf_buf_selector; - if (value_value_buf_buf_selector == 0) { - value_value_buf_buf.selector = 0; - value_value_buf_buf.value0 = static_cast(thisDeserializer.readInt32()); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); } - else if (value_value_buf_buf_selector == 1) { - value_value_buf_buf.selector = 1; - value_value_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); } - else if (value_value_buf_buf_selector == 2) { - value_value_buf_buf.selector = 2; - value_value_buf_buf.value2 = static_cast(thisDeserializer.readString()); + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_buf_selector == 3) { - value_value_buf_buf.selector = 3; - value_value_buf_buf.value3 = thisDeserializer.readResource(); + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = thisDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); } - value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); + value_value_buf.value = static_cast(value_value_buf_); } - Array_ResourceColor value_value = value_value_buf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setFontColor(self, (const Array_ResourceColor*)&value_value); + Opt_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setSelectedOptionFontColor1(self, (const Opt_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SymbolGlyphAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionFontColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_optionBgColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; value_value_buf.value2 = static_cast(thisDeserializer.readString()); } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSymbolGlyphModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SymbolGlyphAttribute_effectStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSymbolGlyphModifier()->setEffectStrategy(self, static_cast(value)); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSelectModifier()->setOptionBgColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SymbolGlyphAttribute_effectStrategy, Ark_NativePointer, Ark_Int32) -void impl_SymbolGlyphAttribute_renderingStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSymbolGlyphModifier()->setRenderingStrategy(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(SymbolGlyphAttribute_renderingStrategy, Ark_NativePointer, Ark_Int32) -void impl_SymbolGlyphAttribute_symbolEffect0(Ark_NativePointer thisPtr, Ark_NativePointer symbolEffect, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionBgColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_optionBgColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto isActive_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isActive_value_buf = {}; - isActive_value_buf.tag = isActive_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isActive_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - isActive_value_buf.value = thisDeserializer.readBoolean(); + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); } - Opt_Boolean isActive_value = isActive_value_buf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect0(self, static_cast(symbolEffect), (const Opt_Boolean*)&isActive_value); + Opt_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setOptionBgColor1(self, (const Opt_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V4(SymbolGlyphAttribute_symbolEffect0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SymbolGlyphAttribute_symbolEffect1(Ark_NativePointer thisPtr, Ark_NativePointer symbolEffect, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionBgColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_optionFont0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto triggerValue_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number triggerValue_value_buf = {}; - triggerValue_value_buf.tag = triggerValue_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (triggerValue_value_buf_runtimeType)) - { - triggerValue_value_buf.value = static_cast(thisDeserializer.readNumber()); - } - Opt_Number triggerValue_value = triggerValue_value_buf;; - GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect1(self, static_cast(symbolEffect), (const Opt_Number*)&triggerValue_value); -} -KOALA_INTEROP_DIRECT_V4(SymbolGlyphAttribute_symbolEffect1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_SymbolSpan_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSymbolSpanModifier()->construct(id, flags); + Ark_Font value_value = thisDeserializer.readFont();; + GetNodeModifiers()->getSelectModifier()->setOptionFont0(self, (const Ark_Font*)&value_value); } -KOALA_INTEROP_DIRECT_2(SymbolSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_SymbolSpanInterface_setSymbolSpanOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFont0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_optionFont1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Resource value_value = thisDeserializer.readResource();; - GetNodeModifiers()->getSymbolSpanModifier()->setSymbolSpanOptions(self, (const Ark_Resource*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Font value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readFont(); + } + Opt_Font value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setOptionFont1(self, (const Opt_Font*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SymbolSpanInterface_setSymbolSpanOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SymbolSpanAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFont1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_optionFontColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSymbolSpanModifier()->setFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSelectModifier()->setOptionFontColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SymbolSpanAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFontColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_optionFontColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_ResourceColor value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf_buf = {}; - value_value_buf_buf.selector = value_value_buf_buf_selector; - if (value_value_buf_buf_selector == 0) { - value_value_buf_buf.selector = 0; - value_value_buf_buf.value0 = static_cast(thisDeserializer.readInt32()); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); } - else if (value_value_buf_buf_selector == 1) { - value_value_buf_buf.selector = 1; - value_value_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); } - else if (value_value_buf_buf_selector == 2) { - value_value_buf_buf.selector = 2; - value_value_buf_buf.value2 = static_cast(thisDeserializer.readString()); + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_buf_selector == 3) { - value_value_buf_buf.selector = 3; - value_value_buf_buf.value3 = thisDeserializer.readResource(); + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = thisDeserializer.readResource(); } else { - INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); } - value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); - } - Array_ResourceColor value_value = value_value_buf;; - GetNodeModifiers()->getSymbolSpanModifier()->setFontColor(self, (const Array_ResourceColor*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SymbolSpanAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + value_value_buf.value = static_cast(value_value_buf_); } - Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSymbolSpanModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SymbolSpanAttribute_effectStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSymbolSpanModifier()->setEffectStrategy(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(SymbolSpanAttribute_effectStrategy, Ark_NativePointer, Ark_Int32) -void impl_SymbolSpanAttribute_renderingStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSymbolSpanModifier()->setRenderingStrategy(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(SymbolSpanAttribute_renderingStrategy, Ark_NativePointer, Ark_Int32) -Ark_NativePointer impl_Tabs_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTabsModifier()->construct(id, flags); + Opt_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setOptionFontColor1(self, (const Opt_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_2(Tabs_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_TabsInterface_setTabsOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionFontColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_onSelect0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_TabsOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readTabsOptions(); - } - Opt_TabsOptions options_value = options_value_buf;; - GetNodeModifiers()->getTabsModifier()->setTabsOptions(self, (const Opt_TabsOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(TabsInterface_setTabsOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_vertical(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTabsModifier()->setVertical(self, value); -} -KOALA_INTEROP_DIRECT_V2(TabsAttribute_vertical, Ark_NativePointer, Ark_Boolean) -void impl_TabsAttribute_barPosition(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTabsModifier()->setBarPosition(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(TabsAttribute_barPosition, Ark_NativePointer, Ark_Int32) -void impl_TabsAttribute_scrollable(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTabsModifier()->setScrollable(self, value); -} -KOALA_INTEROP_DIRECT_V2(TabsAttribute_scrollable, Ark_NativePointer, Ark_Boolean) -void impl_TabsAttribute_barMode0(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTabsModifier()->setBarMode0(self, static_cast(value)); + Callback_Number_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_String_Void))))};; + GetNodeModifiers()->getSelectModifier()->setOnSelect0(self, (const Callback_Number_String_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TabsAttribute_barMode0, Ark_NativePointer, Ark_Int32) -void impl_TabsAttribute_barMode1(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_onSelect0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_onSelect1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ScrollableBarModeOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnSelectCallback value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readScrollableBarModeOptions(); - } - Opt_ScrollableBarModeOptions options_value = options_value_buf;; - GetNodeModifiers()->getTabsModifier()->setBarMode1(self, static_cast(value), (const Opt_ScrollableBarModeOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V4(TabsAttribute_barMode1, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) -void impl_TabsAttribute_barWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSelectCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSelectCallback))))}; } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTabsModifier()->setBarWidth(self, (const Ark_Union_String_Number_Resource*)&value_value); + Opt_OnSelectCallback value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setOnSelect1(self, (const Opt_OnSelectCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabsAttribute_barWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_barHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_onSelect1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_space0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -14980,103 +14798,204 @@ void impl_TabsAttribute_barHeight(Ark_NativePointer thisPtr, KSerializerBuffer t else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTabsModifier()->setBarHeight(self, (const Ark_Union_String_Number_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TabsAttribute_barHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_animationDuration(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTabsModifier()->setAnimationDuration(self, (const Ark_Number*) (&value)); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSelectModifier()->setSpace0(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TabsAttribute_animationDuration, Ark_NativePointer, KInteropNumber) -void impl_TabsAttribute_animationMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_space0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_space1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_AnimationMode value_value_buf = {}; + Opt_Length value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = static_cast(thisDeserializer.readInt32()); + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); } - Opt_AnimationMode value_value = value_value_buf;; - GetNodeModifiers()->getTabsModifier()->setAnimationMode(self, (const Opt_AnimationMode*)&value_value); + Opt_Length value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setSpace1(self, (const Opt_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabsAttribute_animationMode, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_edgeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_space1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_arrowPosition0(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSelectModifier()->setArrowPosition0(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SelectAttribute_arrowPosition0, Ark_NativePointer, Ark_Int32) +void impl_SelectAttribute_arrowPosition1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_EdgeEffect value_value_buf = {}; + Opt_ArrowPosition value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = static_cast(thisDeserializer.readInt32()); + value_value_buf.value = static_cast(thisDeserializer.readInt32()); } - Opt_EdgeEffect value_value = value_value_buf;; - GetNodeModifiers()->getTabsModifier()->setEdgeEffect(self, (const Opt_EdgeEffect*)&value_value); + Opt_ArrowPosition value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setArrowPosition1(self, (const Opt_ArrowPosition*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabsAttribute_edgeEffect, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_arrowPosition1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_optionWidth0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getTabsModifier()->setOnChange(self, (const Callback_Number_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TabsAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_onTabBarClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getTabsModifier()->setOnTabBarClick(self, (const Callback_Number_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TabsAttribute_onTabBarClick, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_onAnimationStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnTabsAnimationStartCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTabsAnimationStartCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTabsAnimationStartCallback))))};; - GetNodeModifiers()->getTabsModifier()->setOnAnimationStart(self, (const OnTabsAnimationStartCallback*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Dimension_OptionWidthMode value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Dimension_OptionWidthMode value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSelectModifier()->setOptionWidth0(self, (const Ark_Union_Dimension_OptionWidthMode*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabsAttribute_onAnimationStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_onAnimationEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionWidth0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_optionWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnTabsAnimationEndCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTabsAnimationEndCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTabsAnimationEndCallback))))};; - GetNodeModifiers()->getTabsModifier()->setOnAnimationEnd(self, (const OnTabsAnimationEndCallback*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Dimension_OptionWidthMode value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Dimension_OptionWidthMode value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf__u = {}; + value_value_buf__u.selector = value_value_buf__u_selector; + if (value_value_buf__u_selector == 0) { + value_value_buf__u.selector = 0; + value_value_buf__u.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__u_selector == 1) { + value_value_buf__u.selector = 1; + value_value_buf__u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__u_selector == 2) { + value_value_buf__u.selector = 2; + value_value_buf__u.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation."); + } + value_value_buf_.value0 = static_cast(value_value_buf__u); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readInt32()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_Dimension_OptionWidthMode value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setOptionWidth1(self, (const Opt_Union_Dimension_OptionWidthMode*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabsAttribute_onAnimationEnd, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_onGestureSwipe(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionWidth1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_optionHeight0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnTabsGestureSwipeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTabsGestureSwipeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTabsGestureSwipeCallback))))};; - GetNodeModifiers()->getTabsModifier()->setOnGestureSwipe(self, (const OnTabsGestureSwipeCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TabsAttribute_onGestureSwipe, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_fadingEdge(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTabsModifier()->setFadingEdge(self, value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSelectModifier()->setOptionHeight0(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TabsAttribute_fadingEdge, Ark_NativePointer, Ark_Boolean) -void impl_TabsAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionHeight0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_optionHeight1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerStyle value_value_buf = {}; + Opt_Dimension value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readDividerStyle(); + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); } - Opt_DividerStyle value_value = value_value_buf;; - GetNodeModifiers()->getTabsModifier()->setDivider(self, (const Opt_DividerStyle*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TabsAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_barOverlap(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTabsModifier()->setBarOverlap(self, value); + Opt_Dimension value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setOptionHeight1(self, (const Opt_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TabsAttribute_barOverlap, Ark_NativePointer, Ark_Boolean) -void impl_TabsAttribute_barBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionHeight1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_menuBackgroundColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -15102,199 +15021,272 @@ void impl_TabsAttribute_barBackgroundColor(Ark_NativePointer thisPtr, KSerialize INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTabsModifier()->setBarBackgroundColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getSelectModifier()->setMenuBackgroundColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabsAttribute_barBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_barGridAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuBackgroundColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_menuBackgroundColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_BarGridColumnOptions value_value = thisDeserializer.readBarGridColumnOptions();; - GetNodeModifiers()->getTabsModifier()->setBarGridAlign(self, (const Ark_BarGridColumnOptions*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceColor value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 3) { + value_value_buf_.selector = 3; + value_value_buf_.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setMenuBackgroundColor1(self, (const Opt_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabsAttribute_barGridAlign, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_customContentTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuBackgroundColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_menuBackgroundBlurStyle0(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSelectModifier()->setMenuBackgroundBlurStyle0(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SelectAttribute_menuBackgroundBlurStyle0, Ark_NativePointer, Ark_Int32) +void impl_SelectAttribute_menuBackgroundBlurStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - TabsCustomContentTransitionCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_TabsCustomContentTransitionCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_TabsCustomContentTransitionCallback))))};; - GetNodeModifiers()->getTabsModifier()->setCustomContentTransition(self, (const TabsCustomContentTransitionCallback*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BlurStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_BlurStyle value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setMenuBackgroundBlurStyle1(self, (const Opt_BlurStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabsAttribute_customContentTransition, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_barBackgroundBlurStyle0(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuBackgroundBlurStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_controlSize0(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTabsModifier()->setBarBackgroundBlurStyle0(self, static_cast(value)); + GetNodeModifiers()->getSelectModifier()->setControlSize0(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(TabsAttribute_barBackgroundBlurStyle0, Ark_NativePointer, Ark_Int32) -void impl_TabsAttribute_barBackgroundBlurStyle1(Ark_NativePointer thisPtr, Ark_Int32 style, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SelectAttribute_controlSize0, Ark_NativePointer, Ark_Int32) +void impl_SelectAttribute_controlSize1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_BackgroundBlurStyleOptions options_value = thisDeserializer.readBackgroundBlurStyleOptions();; - GetNodeModifiers()->getTabsModifier()->setBarBackgroundBlurStyle1(self, static_cast(style), (const Ark_BackgroundBlurStyleOptions*)&options_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ControlSize value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ControlSize value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setControlSize1(self, (const Opt_ControlSize*)&value_value); } -KOALA_INTEROP_DIRECT_V4(TabsAttribute_barBackgroundBlurStyle1, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) -void impl_TabsAttribute_barBackgroundEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_controlSize1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_menuItemContentModifier0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_BackgroundEffectOptions value_value = thisDeserializer.readBackgroundEffectOptions();; - GetNodeModifiers()->getTabsModifier()->setBarBackgroundEffect(self, (const Ark_BackgroundEffectOptions*)&value_value); + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getSelectModifier()->setMenuItemContentModifier0(self, (const Ark_Object*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabsAttribute_barBackgroundEffect, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_onContentWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuItemContentModifier0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_menuItemContentModifier1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnTabsContentWillChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTabsContentWillChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTabsContentWillChangeCallback))))};; - GetNodeModifiers()->getTabsModifier()->setOnContentWillChange(self, (const OnTabsContentWillChangeCallback*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ContentModifier value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readObject()); + } + Opt_ContentModifier value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setMenuItemContentModifier1(self, (const Opt_ContentModifier*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabsAttribute_onContentWillChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute_barModeScrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuItemContentModifier1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_ScrollableBarModeOptions options_value = thisDeserializer.readScrollableBarModeOptions();; - GetNodeModifiers()->getTabsModifier()->setBarModeScrollable(self, (const Ark_ScrollableBarModeOptions*)&options_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DividerOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readDividerOptions(); + } + Opt_DividerOptions value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setDivider(self, (const Opt_DividerOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabsAttribute_barModeScrollable, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabsAttribute__onChangeEvent_index(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_textModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getTabsModifier()->set_onChangeEvent_index(self, (const Callback_Number_Void*)&callback_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextModifier value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readTextModifier(); + } + Opt_TextModifier value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setTextModifier(self, (const Opt_TextModifier*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabsAttribute__onChangeEvent_index, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TabContent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTabContentModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(SelectAttribute_textModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_arrowModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SymbolGlyphModifier value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readSymbolGlyphModifier(); + } + Opt_SymbolGlyphModifier value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setArrowModifier(self, (const Opt_SymbolGlyphModifier*)&value_value); } -KOALA_INTEROP_DIRECT_2(TabContent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_TabContentInterface_setTabContentOptions(Ark_NativePointer thisPtr) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_arrowModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_optionTextModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTabContentModifier()->setTabContentOptions(self); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextModifier value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readTextModifier(); + } + Opt_TextModifier value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setOptionTextModifier(self, (const Opt_TextModifier*)&value_value); } -KOALA_INTEROP_DIRECT_V1(TabContentInterface_setTabContentOptions, Ark_NativePointer) -void impl_TabContentAttribute_tabBar0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_optionTextModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_selectedOptionTextModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Resource_CustomBuilder_TabBarOptions value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextModifier value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readTextModifier(); } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + Opt_TextModifier value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setSelectedOptionTextModifier(self, (const Opt_TextModifier*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SelectAttribute_selectedOptionTextModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_dividerStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DividerStyleOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readDividerStyleOptions(); } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readTabBarOptions(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Resource_CustomBuilder_TabBarOptions value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTabContentModifier()->setTabBar0(self, (const Ark_Union_String_Resource_CustomBuilder_TabBarOptions*)&value_value); + Opt_DividerStyleOptions value_value = value_value_buf;; + GetNodeModifiers()->getSelectModifier()->setDividerStyle(self, (const Opt_DividerStyleOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabContentAttribute_tabBar0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabContentAttribute_tabBar1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_dividerStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_avoidance(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_SubTabBarStyle_BottomTabBarStyle value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readSubTabBarStyle(); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readBottomTabBarStyle(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_SubTabBarStyle_BottomTabBarStyle value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTabContentModifier()->setTabBar1(self, (const Ark_Union_SubTabBarStyle_BottomTabBarStyle*)&value_value); + GetNodeModifiers()->getSelectModifier()->setAvoidance(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(TabContentAttribute_tabBar1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabContentAttribute_onWillShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SelectAttribute_avoidance, Ark_NativePointer, Ark_Int32) +void impl_SelectAttribute_menuOutline(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; - GetNodeModifiers()->getTabContentModifier()->setOnWillShow(self, (const VoidCallback*)&value_value); + Ark_MenuOutlineOptions value_value = thisDeserializer.readMenuOutlineOptions();; + GetNodeModifiers()->getSelectModifier()->setMenuOutline(self, (const Ark_MenuOutlineOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TabContentAttribute_onWillShow, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TabContentAttribute_onWillHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuOutline, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute_menuAlign0(Ark_NativePointer thisPtr, Ark_Int32 alignType, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; - GetNodeModifiers()->getTabContentModifier()->setOnWillHide(self, (const VoidCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TabContentAttribute_onWillHide, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Text_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTextModifier()->construct(id, flags); + const auto offset_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Offset offset_value_buf = {}; + offset_value_buf.tag = offset_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType)) + { + offset_value_buf.value = thisDeserializer.readOffset(); + } + Opt_Offset offset_value = offset_value_buf;; + GetNodeModifiers()->getSelectModifier()->setMenuAlign0(self, static_cast(alignType), (const Opt_Offset*)&offset_value); } -KOALA_INTEROP_DIRECT_2(Text_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_TextInterface_setTextOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V4(SelectAttribute_menuAlign0, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) +void impl_SelectAttribute_menuAlign1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto content_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_String_Resource content_value_buf = {}; - content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType)) + const auto alignType_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_MenuAlignType alignType_value_buf = {}; + alignType_value_buf.tag = alignType_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignType_value_buf_runtimeType)) { - const Ark_Int8 content_value_buf__selector = thisDeserializer.readInt8(); - Ark_Union_String_Resource content_value_buf_ = {}; - content_value_buf_.selector = content_value_buf__selector; - if (content_value_buf__selector == 0) { - content_value_buf_.selector = 0; - content_value_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (content_value_buf__selector == 1) { - content_value_buf_.selector = 1; - content_value_buf_.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for content_value_buf_ has to be chosen through deserialisation."); - } - content_value_buf.value = static_cast(content_value_buf_); + alignType_value_buf.value = static_cast(thisDeserializer.readInt32()); } - Opt_Union_String_Resource content_value = content_value_buf;; - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + Opt_MenuAlignType alignType_value = alignType_value_buf;; + const auto offset_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Offset offset_value_buf = {}; + offset_value_buf.tag = offset_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readTextOptions(); + offset_value_buf.value = thisDeserializer.readOffset(); } - Opt_TextOptions value_value = value_value_buf;; - GetNodeModifiers()->getTextModifier()->setTextOptions(self, (const Opt_Union_String_Resource*)&content_value, (const Opt_TextOptions*)&value_value); + Opt_Offset offset_value = offset_value_buf;; + GetNodeModifiers()->getSelectModifier()->setMenuAlign1(self, (const Opt_MenuAlignType*)&alignType_value, (const Opt_Offset*)&offset_value); } -KOALA_INTEROP_DIRECT_V3(TextInterface_setTextOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_font0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute_menuAlign1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Font value_value = thisDeserializer.readFont();; - GetNodeModifiers()->getTextModifier()->setFont0(self, (const Ark_Font*)&value_value); + Callback_Union_Number_Resource_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Union_Number_Resource_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Union_Number_Resource_Void))))};; + GetNodeModifiers()->getSelectModifier()->set_onChangeEvent_selected(self, (const Callback_Union_Number_Resource_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_font0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_font1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SelectAttribute__onChangeEvent_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Font fontValue_value = thisDeserializer.readFont();; - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_FontSettingOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readFontSettingOptions(); - } - Opt_FontSettingOptions options_value = options_value_buf;; - GetNodeModifiers()->getTextModifier()->setFont1(self, (const Ark_Font*)&fontValue_value, (const Opt_FontSettingOptions*)&options_value); + Callback_ResourceStr_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ResourceStr_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ResourceStr_Void))))};; + GetNodeModifiers()->getSelectModifier()->set_onChangeEvent_value(self, (const Callback_ResourceStr_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_font1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SelectAttribute__onChangeEvent_value, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Shape_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getShapeModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Shape_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ShapeInterface_setShapeOptions0(Ark_NativePointer thisPtr, Ark_NativePointer value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getShapeModifier()->setShapeOptions0(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ShapeInterface_setShapeOptions0, Ark_NativePointer, Ark_NativePointer) +void impl_ShapeInterface_setShapeOptions1(Ark_NativePointer thisPtr) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getShapeModifier()->setShapeOptions1(self); +} +KOALA_INTEROP_DIRECT_V1(ShapeInterface_setShapeOptions1, Ark_NativePointer) +void impl_ShapeAttribute_viewPort(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ViewportRect value_value = thisDeserializer.readViewportRect();; + GetNodeModifiers()->getShapeModifier()->setViewPort(self, (const Ark_ViewportRect*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ShapeAttribute_viewPort, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ShapeAttribute_stroke(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -15320,39 +15312,43 @@ void impl_TextAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer t INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getShapeModifier()->setStroke(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ShapeAttribute_stroke, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ShapeAttribute_fill(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getShapeModifier()->setFill(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ShapeAttribute_fill, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ShapeAttribute_strokeDashOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -15362,18 +15358,77 @@ void impl_TextAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer value_value_buf.selector = 1; value_value_buf.value1 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getShapeModifier()->setStrokeDashOffset(self, (const Ark_Union_Number_String*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeDashOffset, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ShapeAttribute_strokeDashArray(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_Length value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf_buf = {}; + value_value_buf_buf.selector = value_value_buf_buf_selector; + if (value_value_buf_buf_selector == 0) { + value_value_buf_buf.selector = 0; + value_value_buf_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_buf_selector == 1) { + value_value_buf_buf.selector = 1; + value_value_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_buf_selector == 2) { + value_value_buf_buf.selector = 2; + value_value_buf_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); + } + value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); + } + Array_Length value_value = value_value_buf;; + GetNodeModifiers()->getShapeModifier()->setStrokeDashArray(self, (const Array_Length*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeDashArray, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ShapeAttribute_strokeLineCap(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getShapeModifier()->setStrokeLineCap(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ShapeAttribute_strokeLineCap, Ark_NativePointer, Ark_Int32) +void impl_ShapeAttribute_strokeLineJoin(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getShapeModifier()->setStrokeLineJoin(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(ShapeAttribute_strokeLineJoin, Ark_NativePointer, Ark_Int32) +void impl_ShapeAttribute_strokeMiterLimit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setMinFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getShapeModifier()->setStrokeMiterLimit(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeMiterLimit, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ShapeAttribute_strokeOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -15395,14 +15450,14 @@ void impl_TextAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setMaxFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); + GetNodeModifiers()->getShapeModifier()->setStrokeOpacity(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeOpacity, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ShapeAttribute_fillOpacity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_Resource value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -15410,20 +15465,24 @@ void impl_TextAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffe } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setMinFontScale(self, (const Ark_Union_Number_Resource*)&value_value); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getShapeModifier()->setFillOpacity(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(ShapeAttribute_fillOpacity, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ShapeAttribute_strokeWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_Resource value_value_buf = {}; + Ark_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -15431,248 +15490,277 @@ void impl_TextAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffe } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setMaxFontScale(self, (const Ark_Union_Number_Resource*)&value_value); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getShapeModifier()->setStrokeWidth(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(ShapeAttribute_strokeWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ShapeAttribute_antiAlias(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setFontStyle(self, static_cast(value)); + GetNodeModifiers()->getShapeModifier()->setAntiAlias(self, value); } -KOALA_INTEROP_DIRECT_V2(TextAttribute_fontStyle, Ark_NativePointer, Ark_Int32) -void impl_TextAttribute_fontWeight0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(ShapeAttribute_antiAlias, Ark_NativePointer, Ark_Boolean) +void impl_ShapeAttribute_mesh(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber column, KInteropNumber row) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_Number value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = static_cast(thisDeserializer.readNumber()); + } + Array_Number value_value = value_value_buf;; + GetNodeModifiers()->getShapeModifier()->setMesh(self, (const Array_Number*)&value_value, (const Ark_Number*) (&column), (const Ark_Number*) (&row)); +} +KOALA_INTEROP_DIRECT_V5(ShapeAttribute_mesh, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber, KInteropNumber) +Ark_NativePointer impl_Slider_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getSliderModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Slider_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_SliderInterface_setSliderOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SliderOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readSliderOptions(); + } + Opt_SliderOptions options_value = options_value_buf;; + GetNodeModifiers()->getSliderModifier()->setSliderOptions(self, (const Opt_SliderOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(SliderInterface_setSliderOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_blockColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; value_value_buf.value2 = static_cast(thisDeserializer.readString()); } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setFontWeight0(self, (const Ark_Union_Number_FontWeight_String*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSliderModifier()->setBlockColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_fontWeight0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_fontWeight1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_trackColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 weight_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String weight_value_buf = {}; - weight_value_buf.selector = weight_value_buf_selector; - if (weight_value_buf_selector == 0) { - weight_value_buf.selector = 0; - weight_value_buf.value0 = static_cast(thisDeserializer.readNumber()); - } - else if (weight_value_buf_selector == 1) { - weight_value_buf.selector = 1; - weight_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_LinearGradient value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 3) { + value_value_buf_u.selector = 3; + value_value_buf_u.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); } - else if (weight_value_buf_selector == 2) { - weight_value_buf.selector = 2; - weight_value_buf.value2 = static_cast(thisDeserializer.readString()); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readLinearGradient()); } else { - INTEROP_FATAL("One of the branches for weight_value_buf has to be chosen through deserialisation."); - } - Ark_Union_Number_FontWeight_String weight_value = static_cast(weight_value_buf);; - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_FontSettingOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readFontSettingOptions(); + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Opt_FontSettingOptions options_value = options_value_buf;; - GetNodeModifiers()->getTextModifier()->setFontWeight1(self, (const Ark_Union_Number_FontWeight_String*)&weight_value, (const Opt_FontSettingOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(TextAttribute_fontWeight1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_lineSpacing(Ark_NativePointer thisPtr, Ark_NativePointer value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setLineSpacing(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(TextAttribute_lineSpacing, Ark_NativePointer, Ark_NativePointer) -void impl_TextAttribute_textAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setTextAlign(self, static_cast(value)); + Ark_Union_ResourceColor_LinearGradient value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSliderModifier()->setTrackColor(self, (const Ark_Union_ResourceColor_LinearGradient*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextAttribute_textAlign, Ark_NativePointer, Ark_Int32) -void impl_TextAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_trackColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_selectedColor0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setLineHeight(self, (const Ark_Union_Number_String_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_textOverflow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_TextOverflowOptions value_value = thisDeserializer.readTextOverflowOptions();; - GetNodeModifiers()->getTextModifier()->setTextOverflow(self, (const Ark_TextOverflowOptions*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSliderModifier()->setSelectedColor0(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_textOverflow, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_selectedColor0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_selectedColor1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Resource value_value_buf = {}; + Ark_Union_ResourceColor_LinearGradient value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + const Ark_Int8 value_value_buf_u_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_u = {}; + value_value_buf_u.selector = value_value_buf_u_selector; + if (value_value_buf_u_selector == 0) { + value_value_buf_u.selector = 0; + value_value_buf_u.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_u_selector == 1) { + value_value_buf_u.selector = 1; + value_value_buf_u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_u_selector == 2) { + value_value_buf_u.selector = 2; + value_value_buf_u.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_u_selector == 3) { + value_value_buf_u.selector = 3; + value_value_buf_u.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_u has to be chosen through deserialisation."); + } + value_value_buf.value0 = static_cast(value_value_buf_u); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readLinearGradient()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setFontFamily(self, (const Ark_Union_String_Resource*)&value_value); + Ark_Union_ResourceColor_LinearGradient value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSliderModifier()->setSelectedColor1(self, (const Ark_Union_ResourceColor_LinearGradient*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_maxLines(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_selectedColor1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_minLabel(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setMaxLines(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getSliderModifier()->setMinLabel(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V2(TextAttribute_maxLines, Ark_NativePointer, KInteropNumber) -void impl_TextAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(SliderAttribute_minLabel, Ark_NativePointer, KStringPtr) +void impl_SliderAttribute_maxLabel(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_DecorationStyleInterface value_value = thisDeserializer.readDecorationStyleInterface();; - GetNodeModifiers()->getTextModifier()->setDecoration(self, (const Ark_DecorationStyleInterface*)&value_value); + GetNodeModifiers()->getSliderModifier()->setMaxLabel(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(SliderAttribute_maxLabel, Ark_NativePointer, KStringPtr) +void impl_SliderAttribute_showSteps(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSliderModifier()->setShowSteps(self, value); +} +KOALA_INTEROP_DIRECT_V2(SliderAttribute_showSteps, Ark_NativePointer, Ark_Boolean) +void impl_SliderAttribute_trackThickness(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setLetterSpacing(self, (const Ark_Union_Number_String*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSliderModifier()->setTrackThickness(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_textCase(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_trackThickness, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setTextCase(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_SliderChangeMode_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_SliderChangeMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_SliderChangeMode_Void))))};; + GetNodeModifiers()->getSliderModifier()->setOnChange(self, (const Callback_Number_SliderChangeMode_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextAttribute_textCase, Ark_NativePointer, Ark_Int32) -void impl_TextAttribute_baselineOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_blockBorderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setBaselineOffset(self, (const Ark_Union_Number_String*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSliderModifier()->setBlockBorderColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_baselineOffset, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_copyOption(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setCopyOption(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(TextAttribute_copyOption, Ark_NativePointer, Ark_Int32) -void impl_TextAttribute_draggable(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setDraggable(self, value); -} -KOALA_INTEROP_DIRECT_V2(TextAttribute_draggable, Ark_NativePointer, Ark_Boolean) -void impl_TextAttribute_textShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readShadowOptions(); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_ShadowOptions value_value_buf_u = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_u, value_value_buf_u_length); - for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { - value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readShadowOptions(); - } - value_value_buf.value1 = value_value_buf_u; - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_ShadowOptions_Array_ShadowOptions value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setTextShadow(self, (const Ark_Union_ShadowOptions_Array_ShadowOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextAttribute_textShadow, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_heightAdaptivePolicy(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setHeightAdaptivePolicy(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(TextAttribute_heightAdaptivePolicy, Ark_NativePointer, Ark_Int32) -void impl_TextAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockBorderColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_blockBorderWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -15689,28 +15777,11 @@ void impl_TextAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setTextIndent(self, (const Ark_Union_String_Number_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextAttribute_textIndent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_wordBreak(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setWordBreak(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(TextAttribute_wordBreak, Ark_NativePointer, Ark_Int32) -void impl_TextAttribute_lineBreakStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setLineBreakStrategy(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(TextAttribute_lineBreakStrategy, Ark_NativePointer, Ark_Int32) -void impl_TextAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; - GetNodeModifiers()->getTextModifier()->setOnCopy(self, (const Callback_String_Void*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSliderModifier()->setBlockBorderWidth(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockBorderWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_stepColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -15736,18 +15807,18 @@ void impl_TextAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setCaretColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getSliderModifier()->setStepColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAttribute_caretColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_stepColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_trackBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -15755,122 +15826,24 @@ void impl_TextAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSeri } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextModifier()->setSelectedBackgroundColor(self, (const Ark_ResourceColor*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_ellipsisMode(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setEllipsisMode(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(TextAttribute_ellipsisMode, Ark_NativePointer, Ark_Int32) -void impl_TextAttribute_enableDataDetector(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setEnableDataDetector(self, value); -} -KOALA_INTEROP_DIRECT_V2(TextAttribute_enableDataDetector, Ark_NativePointer, Ark_Boolean) -void impl_TextAttribute_dataDetectorConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_TextDataDetectorConfig value_value = thisDeserializer.readTextDataDetectorConfig();; - GetNodeModifiers()->getTextModifier()->setDataDetectorConfig(self, (const Ark_TextDataDetectorConfig*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextAttribute_dataDetectorConfig, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_onTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; - GetNodeModifiers()->getTextModifier()->setOnTextSelectionChange(self, (const Callback_Number_Number_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextAttribute_onTextSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_fontFeature(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setFontFeature(self, (const Ark_String*) (&value)); -} -KOALA_INTEROP_V2(TextAttribute_fontFeature, Ark_NativePointer, KStringPtr) -void impl_TextAttribute_privacySensitive(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setPrivacySensitive(self, value); -} -KOALA_INTEROP_DIRECT_V2(TextAttribute_privacySensitive, Ark_NativePointer, Ark_Boolean) -void impl_TextAttribute_textSelectable(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setTextSelectable(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(TextAttribute_textSelectable, Ark_NativePointer, Ark_Int32) -void impl_TextAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_EditMenuOptions value_value = thisDeserializer.readEditMenuOptions();; - GetNodeModifiers()->getTextModifier()->setEditMenuOptions(self, (const Ark_EditMenuOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAttribute_halfLeading(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setHalfLeading(self, value); -} -KOALA_INTEROP_DIRECT_V2(TextAttribute_halfLeading, Ark_NativePointer, Ark_Boolean) -void impl_TextAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setEnableHapticFeedback(self, value); -} -KOALA_INTEROP_DIRECT_V2(TextAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) -void impl_TextAttribute_selection(Ark_NativePointer thisPtr, KInteropNumber selectionStart, KInteropNumber selectionEnd) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd)); -} -KOALA_INTEROP_DIRECT_V3(TextAttribute_selection, Ark_NativePointer, KInteropNumber, KInteropNumber) -void impl_TextAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, Ark_Int32 spanType, KSerializerBuffer thisArray, int32_t thisLength, Ark_Int32 responseType) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - CustomNodeBuilder content_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SelectionMenuOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readSelectionMenuOptions(); - } - Opt_SelectionMenuOptions options_value = options_value_buf;; - GetNodeModifiers()->getTextModifier()->setBindSelectionMenu(self, static_cast(spanType), (const CustomNodeBuilder*)&content_value, static_cast(responseType), (const Opt_SelectionMenuOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V5(TextAttribute_bindSelectionMenu, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t, Ark_Int32) -Ark_NativePointer impl_TextArea_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTextAreaModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(TextArea_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_TextAreaInterface_setTextAreaOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextAreaOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readTextAreaOptions(); - } - Opt_TextAreaOptions value_value = value_value_buf;; - GetNodeModifiers()->getTextAreaModifier()->setTextAreaOptions(self, (const Opt_TextAreaOptions*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSliderModifier()->setTrackBorderRadius(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaInterface_setTextAreaOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_placeholderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_trackBorderRadius, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_selectedBorderRadius(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Dimension value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -15878,45 +15851,38 @@ void impl_TextAreaAttribute_placeholderColor(Ark_NativePointer thisPtr, KSeriali } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextAreaModifier()->setPlaceholderColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSliderModifier()->setSelectedBorderRadius(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_placeholderColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_placeholderFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_selectedBorderRadius, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_blockSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Font value_value = thisDeserializer.readFont();; - GetNodeModifiers()->getTextAreaModifier()->setPlaceholderFont(self, (const Ark_Font*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_placeholderFont, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_enterKeyType(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setEnterKeyType(self, static_cast(value)); + Ark_SizeOptions value_value = thisDeserializer.readSizeOptions();; + GetNodeModifiers()->getSliderModifier()->setBlockSize(self, (const Ark_SizeOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_enterKeyType, Ark_NativePointer, Ark_Int32) -void impl_TextAreaAttribute_textAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_blockStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setTextAlign(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_SliderBlockStyle value_value = thisDeserializer.readSliderBlockStyle();; + GetNodeModifiers()->getSliderModifier()->setBlockStyle(self, (const Ark_SliderBlockStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_textAlign, Ark_NativePointer, Ark_Int32) -void impl_TextAreaAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_blockStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_stepSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -15924,37 +15890,159 @@ void impl_TextAreaAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuf } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextAreaModifier()->setCaretColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSliderModifier()->setStepSize(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_caretColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SliderAttribute_stepSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_sliderInteractionMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSliderModifier()->setSliderInteractionMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SliderAttribute_sliderInteractionMode, Ark_NativePointer, Ark_Int32) +void impl_SliderAttribute_minResponsiveDistance(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSliderModifier()->setMinResponsiveDistance(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(SliderAttribute_minResponsiveDistance, Ark_NativePointer, KInteropNumber) +void impl_SliderAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getSliderModifier()->setContentModifier(self, (const Ark_Object*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SliderAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_slideRange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_SlideRange value_value = thisDeserializer.readSlideRange();; + GetNodeModifiers()->getSliderModifier()->setSlideRange(self, (const Ark_SlideRange*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SliderAttribute_slideRange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_digitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CrownSensitivity value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CrownSensitivity value_value = value_value_buf;; + GetNodeModifiers()->getSliderModifier()->setDigitalCrownSensitivity(self, (const Opt_CrownSensitivity*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SliderAttribute_digitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SliderAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSliderModifier()->setEnableHapticFeedback(self, value); +} +KOALA_INTEROP_DIRECT_V2(SliderAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) +void impl_SliderAttribute_showTips(Ark_NativePointer thisPtr, Ark_Boolean value, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto content_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr content_value_buf = {}; + content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType)) + { + const Ark_Int8 content_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceStr content_value_buf_ = {}; + content_value_buf_.selector = content_value_buf__selector; + if (content_value_buf__selector == 0) { + content_value_buf_.selector = 0; + content_value_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (content_value_buf__selector == 1) { + content_value_buf_.selector = 1; + content_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for content_value_buf_ has to be chosen through deserialisation."); + } + content_value_buf.value = static_cast(content_value_buf_); + } + Opt_ResourceStr content_value = content_value_buf;; + GetNodeModifiers()->getSliderModifier()->setShowTips(self, value, (const Opt_ResourceStr*)&content_value); +} +KOALA_INTEROP_DIRECT_V4(SliderAttribute_showTips, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) +void impl_SliderAttribute__onChangeEvent_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getSliderModifier()->set_onChangeEvent_value(self, (const Callback_Number_Void*)&callback_value); +} +KOALA_INTEROP_DIRECT_V3(SliderAttribute__onChangeEvent_value, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_BaseSpan_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getBaseSpanModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(BaseSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_BaseSpan_textBackgroundStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_TextBackgroundStyle value_value = thisDeserializer.readTextBackgroundStyle();; + GetNodeModifiers()->getBaseSpanModifier()->setTextBackgroundStyle(self, (const Ark_TextBackgroundStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(BaseSpan_textBackgroundStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_BaseSpan_baselineOffset(Ark_NativePointer thisPtr, Ark_NativePointer value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getBaseSpanModifier()->setBaselineOffset(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(BaseSpan_baselineOffset, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_Span_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getSpanModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Span_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_SpanInterface_setSpanOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_String_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSpanModifier()->setSpanOptions(self, (const Ark_Union_String_Resource*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SpanInterface_setSpanOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SpanAttribute_font(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Font value_value = thisDeserializer.readFont();; + GetNodeModifiers()->getSpanModifier()->setFont(self, (const Ark_Font*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SpanAttribute_font, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SpanAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } else if (value_value_buf_selector == 3) { value_value_buf.selector = 3; value_value_buf.value3 = thisDeserializer.readResource(); @@ -15963,22 +16051,22 @@ void impl_TextAreaAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuff INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextAreaModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getSpanModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SpanAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; @@ -15987,16 +16075,16 @@ void impl_TextAreaAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffe else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextAreaModifier()->setFontSize(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSpanModifier()->setFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SpanAttribute_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setFontStyle(self, static_cast(value)); + GetNodeModifiers()->getSpanModifier()->setFontStyle(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_fontStyle, Ark_NativePointer, Ark_Int32) -void impl_TextAreaAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SpanAttribute_fontStyle, Ark_NativePointer, Ark_Int32) +void impl_SpanAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -16018,14 +16106,14 @@ void impl_TextAreaAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuf INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextAreaModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); + GetNodeModifiers()->getSpanModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SpanAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf = {}; + Ark_Union_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -16038,56 +16126,52 @@ void impl_TextAreaAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuf else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceStr value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextAreaModifier()->setFontFamily(self, (const Ark_ResourceStr*)&value_value); + Ark_Union_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSpanModifier()->setFontFamily(self, (const Ark_Union_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_textOverflow(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SpanAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SpanAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setTextOverflow(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_DecorationStyleInterface value_value = thisDeserializer.readDecorationStyleInterface();; + GetNodeModifiers()->getSpanModifier()->setDecoration(self, (const Ark_DecorationStyleInterface*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_textOverflow, Ark_NativePointer, Ark_Int32) -void impl_TextAreaAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SpanAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SpanAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextAreaModifier()->setTextIndent(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSpanModifier()->setLetterSpacing(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_textIndent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_caretStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SpanAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SpanAttribute_textCase(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_CaretStyle value_value = thisDeserializer.readCaretStyle();; - GetNodeModifiers()->getTextAreaModifier()->setCaretStyle(self, (const Ark_CaretStyle*)&value_value); + GetNodeModifiers()->getSpanModifier()->setTextCase(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_caretStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SpanAttribute_textCase, Ark_NativePointer, Ark_Int32) +void impl_SpanAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -16095,194 +16179,289 @@ void impl_TextAreaAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, K } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextAreaModifier()->setSelectedBackgroundColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSpanModifier()->setLineHeight(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_onSubmit0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SpanAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SpanAttribute_textShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_EnterKeyType_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_EnterKeyType_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_EnterKeyType_Void))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnSubmit0(self, (const Callback_EnterKeyType_Void*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = thisDeserializer.readShadowOptions(); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); + Array_ShadowOptions value_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf_u, value_value_buf_u_length); + for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { + value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readShadowOptions(); + } + value_value_buf.value1 = value_value_buf_u; + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_ShadowOptions_Array_ShadowOptions value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSpanModifier()->setTextShadow(self, (const Ark_Union_ShadowOptions_Array_ShadowOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onSubmit0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_onSubmit1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - TextAreaSubmitCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_TextAreaSubmitCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_TextAreaSubmitCallback))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnSubmit1(self, (const TextAreaSubmitCallback*)&value_value); +KOALA_INTEROP_DIRECT_V3(SpanAttribute_textShadow, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Stack_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getStackModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onSubmit1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(Stack_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_StackInterface_setStackOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - EditableTextOnChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_EditableTextOnChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_EditableTextOnChangeCallback))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnChange(self, (const EditableTextOnChangeCallback*)&value_value); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_StackOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readStackOptions(); + } + Opt_StackOptions options_value = options_value_buf;; + GetNodeModifiers()->getStackModifier()->setStackOptions(self, (const Opt_StackOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_onTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(StackInterface_setStackOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_StackAttribute_alignContent(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getStackModifier()->setAlignContent(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(StackAttribute_alignContent, Ark_NativePointer, Ark_Int32) +void impl_StackAttribute_pointLight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnTextSelectionChange(self, (const Callback_Number_Number_Void*)&value_value); + Ark_PointLightStyle value_value = thisDeserializer.readPointLightStyle();; + GetNodeModifiers()->getStackModifier()->setPointLight(self, (const Ark_PointLightStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onTextSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_onContentScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(StackAttribute_pointLight, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Stepper_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getStepperModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Stepper_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_StepperInterface_setStepperOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnContentScroll(self, (const Callback_Number_Number_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Literal_Number_index value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + Ark_Literal_Number_index value_value_buf_ = {}; + const auto value_value_buf__index_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf__index_buf = {}; + value_value_buf__index_buf.tag = value_value_buf__index_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__index_buf_runtimeType)) + { + value_value_buf__index_buf.value = static_cast(thisDeserializer.readNumber()); + } + value_value_buf_.index = value_value_buf__index_buf; + value_value_buf.value = value_value_buf_; + } + Opt_Literal_Number_index value_value = value_value_buf;; + GetNodeModifiers()->getStepperModifier()->setStepperOptions(self, (const Opt_Literal_Number_index*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onContentScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_onEditChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(StepperInterface_setStepperOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_StepperAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnEditChange(self, (const Callback_Boolean_Void*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getStepperModifier()->setOnFinish(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onEditChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(StepperAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_StepperAttribute_onSkip(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnCopy(self, (const Callback_String_Void*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getStepperModifier()->setOnSkip(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_onCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(StepperAttribute_onSkip, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_StepperAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnCut(self, (const Callback_String_Void*)&value_value); + Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; + GetNodeModifiers()->getStepperModifier()->setOnChange(self, (const Callback_Number_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onCut, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_onPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(StepperAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_StepperAttribute_onNext(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_PasteEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_PasteEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_PasteEvent_Void))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnPaste(self, (const Callback_String_PasteEvent_Void*)&value_value); + Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; + GetNodeModifiers()->getStepperModifier()->setOnNext(self, (const Callback_Number_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onPaste, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_copyOption(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(StepperAttribute_onNext, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_StepperAttribute_onPrevious(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setCopyOption(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; + GetNodeModifiers()->getStepperModifier()->setOnPrevious(self, (const Callback_Number_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_copyOption, Ark_NativePointer, Ark_Int32) -void impl_TextAreaAttribute_enableKeyboardOnFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(StepperAttribute_onPrevious, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_StepperAttribute__onChangeEvent_index(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setEnableKeyboardOnFocus(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getStepperModifier()->set_onChangeEvent_index(self, (const Callback_Number_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_enableKeyboardOnFocus, Ark_NativePointer, Ark_Boolean) -void impl_TextAreaAttribute_maxLength(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(StepperAttribute__onChangeEvent_index, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_StepperItem_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getStepperItemModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(StepperItem_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_StepperItemInterface_setStepperItemOptions(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setMaxLength(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getStepperItemModifier()->setStepperItemOptions(self); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_maxLength, Ark_NativePointer, KInteropNumber) -void impl_TextAreaAttribute_style(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V1(StepperItemInterface_setStepperItemOptions, Ark_NativePointer) +void impl_StepperItemAttribute_prevLabel(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setStyle(self, static_cast(value)); + GetNodeModifiers()->getStepperItemModifier()->setPrevLabel(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_style, Ark_NativePointer, Ark_Int32) -void impl_TextAreaAttribute_barState(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_V2(StepperItemAttribute_prevLabel, Ark_NativePointer, KStringPtr) +void impl_StepperItemAttribute_nextLabel(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setBarState(self, static_cast(value)); + GetNodeModifiers()->getStepperItemModifier()->setNextLabel(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_barState, Ark_NativePointer, Ark_Int32) -void impl_TextAreaAttribute_selectionMenuHidden(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_V2(StepperItemAttribute_nextLabel, Ark_NativePointer, KStringPtr) +void impl_StepperItemAttribute_status(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setSelectionMenuHidden(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ItemState value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_ItemState value_value = value_value_buf;; + GetNodeModifiers()->getStepperItemModifier()->setStatus(self, (const Opt_ItemState*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_selectionMenuHidden, Ark_NativePointer, Ark_Boolean) -void impl_TextAreaAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(StepperItemAttribute_status, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Swiper_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getSwiperModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Swiper_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_SwiperInterface_setSwiperOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto controller_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SwiperController controller_value_buf = {}; + controller_value_buf.tag = controller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType)) + { + controller_value_buf.value = static_cast(thisDeserializer.readSwiperController()); + } + Opt_SwiperController controller_value = controller_value_buf;; + GetNodeModifiers()->getSwiperModifier()->setSwiperOptions(self, (const Opt_SwiperController*)&controller_value); +} +KOALA_INTEROP_DIRECT_V3(SwiperInterface_setSwiperOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_index(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSwiperModifier()->setIndex(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(SwiperAttribute_index, Ark_NativePointer, KInteropNumber) +void impl_SwiperAttribute_autoPlay0(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSwiperModifier()->setAutoPlay0(self, value); +} +KOALA_INTEROP_DIRECT_V2(SwiperAttribute_autoPlay0, Ark_NativePointer, Ark_Boolean) +void impl_SwiperAttribute_autoPlay1(Ark_NativePointer thisPtr, Ark_Boolean autoPlay, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_AutoPlayOptions options_value = thisDeserializer.readAutoPlayOptions();; + GetNodeModifiers()->getSwiperModifier()->setAutoPlay1(self, autoPlay, (const Ark_AutoPlayOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V4(SwiperAttribute_autoPlay1, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_interval(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSwiperModifier()->setInterval(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(SwiperAttribute_interval, Ark_NativePointer, KInteropNumber) +void impl_SwiperAttribute_indicator0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_Union_DotIndicator_DigitIndicator_Boolean value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = thisDeserializer.readDotIndicator(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = thisDeserializer.readDigitIndicator(); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readBoolean(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextAreaModifier()->setMinFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_Union_DotIndicator_DigitIndicator_Boolean value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSwiperModifier()->setIndicator0(self, (const Ark_Union_DotIndicator_DigitIndicator_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicator0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_indicator1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_Type_SwiperAttribute_indicator_indicator value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readIndicatorComponentController()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = thisDeserializer.readDotIndicator(); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readDigitIndicator(); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readBoolean(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextAreaModifier()->setMaxFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_heightAdaptivePolicy(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setHeightAdaptivePolicy(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_heightAdaptivePolicy, Ark_NativePointer, Ark_Int32) -void impl_TextAreaAttribute_maxLines(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setMaxLines(self, (const Ark_Number*) (&value)); + Ark_Type_SwiperAttribute_indicator_indicator value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSwiperModifier()->setIndicator1(self, (const Ark_Type_SwiperAttribute_indicator_indicator*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_maxLines, Ark_NativePointer, KInteropNumber) -void impl_TextAreaAttribute_wordBreak(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicator1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_loop(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setWordBreak(self, static_cast(value)); + GetNodeModifiers()->getSwiperModifier()->setLoop(self, value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_wordBreak, Ark_NativePointer, Ark_Int32) -void impl_TextAreaAttribute_lineBreakStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(SwiperAttribute_loop, Ark_NativePointer, Ark_Boolean) +void impl_SwiperAttribute_duration(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setLineBreakStrategy(self, static_cast(value)); + GetNodeModifiers()->getSwiperModifier()->setDuration(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_lineBreakStrategy, Ark_NativePointer, Ark_Int32) -void impl_TextAreaAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SwiperAttribute_duration, Ark_NativePointer, KInteropNumber) +void impl_SwiperAttribute_vertical(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_TextDecorationOptions value_value = thisDeserializer.readTextDecorationOptions();; - GetNodeModifiers()->getTextAreaModifier()->setDecoration(self, (const Ark_TextDecorationOptions*)&value_value); + GetNodeModifiers()->getSwiperModifier()->setVertical(self, value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SwiperAttribute_vertical, Ark_NativePointer, Ark_Boolean) +void impl_SwiperAttribute_itemSpace(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -16292,31 +16471,47 @@ void impl_TextAreaAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializer value_value_buf.selector = 1; value_value_buf.value1 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextAreaModifier()->setLetterSpacing(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSwiperModifier()->setItemSpace(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_lineSpacing(Ark_NativePointer thisPtr, Ark_NativePointer value) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_itemSpace, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_displayMode(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setLineSpacing(self, static_cast(value)); + GetNodeModifiers()->getSwiperModifier()->setDisplayMode(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_lineSpacing, Ark_NativePointer, Ark_NativePointer) -void impl_TextAreaAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SwiperAttribute_displayMode, Ark_NativePointer, Ark_Int32) +void impl_SwiperAttribute_cachedCount0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSwiperModifier()->setCachedCount0(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(SwiperAttribute_cachedCount0, Ark_NativePointer, KInteropNumber) +void impl_SwiperAttribute_cachedCount1(Ark_NativePointer thisPtr, KInteropNumber count, Ark_Boolean isShown) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSwiperModifier()->setCachedCount1(self, (const Ark_Number*) (&count), isShown); +} +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_cachedCount1, Ark_NativePointer, KInteropNumber, Ark_Boolean) +void impl_SwiperAttribute_effectMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSwiperModifier()->setEffectMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SwiperAttribute_effectMode, Ark_NativePointer, Ark_Int32) +void impl_SwiperAttribute_disableSwipe(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSwiperModifier()->setDisableSwipe(self, value); +} +KOALA_INTEROP_DIRECT_V2(SwiperAttribute_disableSwipe, Ark_NativePointer, Ark_Boolean) +void impl_SwiperAttribute_curve(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_Union_Curve_String_ICurve value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; @@ -16324,209 +16519,183 @@ void impl_TextAreaAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuf } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readICurve()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextAreaModifier()->setLineHeight(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_Union_Curve_String_ICurve value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSwiperModifier()->setCurve(self, (const Ark_Union_Curve_String_ICurve*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_type(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_curve, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setType(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getSwiperModifier()->setOnChange(self, (const Callback_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_type, Ark_NativePointer, Ark_Int32) -void impl_TextAreaAttribute_enableAutoFill(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_onSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setEnableAutoFill(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getSwiperModifier()->setOnSelected(self, (const Callback_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_enableAutoFill, Ark_NativePointer, Ark_Boolean) -void impl_TextAreaAttribute_contentType(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onSelected, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_indicatorStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setContentType(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_IndicatorStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readIndicatorStyle(); + } + Opt_IndicatorStyle value_value = value_value_buf;; + GetNodeModifiers()->getSwiperModifier()->setIndicatorStyle(self, (const Opt_IndicatorStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_contentType, Ark_NativePointer, Ark_Int32) -void impl_TextAreaAttribute_fontFeature(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_indicatorStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_onUnselected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setFontFeature(self, (const Ark_String*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getSwiperModifier()->setOnUnselected(self, (const Callback_Number_Void*)&value_value); } -KOALA_INTEROP_V2(TextAreaAttribute_fontFeature, Ark_NativePointer, KStringPtr) -void impl_TextAreaAttribute_onWillInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onUnselected, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_onAnimationStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_InsertValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_InsertValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Boolean))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnWillInsert(self, (const Callback_InsertValue_Boolean*)&value_value); + OnSwiperAnimationStartCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSwiperAnimationStartCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSwiperAnimationStartCallback))))};; + GetNodeModifiers()->getSwiperModifier()->setOnAnimationStart(self, (const OnSwiperAnimationStartCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onWillInsert, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_onDidInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onAnimationStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_onAnimationEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_InsertValue_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_InsertValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Void))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnDidInsert(self, (const Callback_InsertValue_Void*)&value_value); + OnSwiperAnimationEndCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSwiperAnimationEndCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSwiperAnimationEndCallback))))};; + GetNodeModifiers()->getSwiperModifier()->setOnAnimationEnd(self, (const OnSwiperAnimationEndCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onDidInsert, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_onWillDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onAnimationEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_onGestureSwipe(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_DeleteValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DeleteValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Boolean))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnWillDelete(self, (const Callback_DeleteValue_Boolean*)&value_value); + OnSwiperGestureSwipeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSwiperGestureSwipeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSwiperGestureSwipeCallback))))};; + GetNodeModifiers()->getSwiperModifier()->setOnGestureSwipe(self, (const OnSwiperGestureSwipeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onWillDelete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_onDidDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onGestureSwipe, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_nestedScroll(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSwiperModifier()->setNestedScroll(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SwiperAttribute_nestedScroll, Ark_NativePointer, Ark_Int32) +void impl_SwiperAttribute_customContentTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_DeleteValue_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DeleteValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Void))))};; - GetNodeModifiers()->getTextAreaModifier()->setOnDidDelete(self, (const Callback_DeleteValue_Void*)&value_value); + Ark_SwiperContentAnimatedTransition value_value = thisDeserializer.readSwiperContentAnimatedTransition();; + GetNodeModifiers()->getSwiperModifier()->setCustomContentTransition(self, (const Ark_SwiperContentAnimatedTransition*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onDidDelete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_customContentTransition, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_onContentDidScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_EditMenuOptions value_value = thisDeserializer.readEditMenuOptions();; - GetNodeModifiers()->getTextAreaModifier()->setEditMenuOptions(self, (const Ark_EditMenuOptions*)&value_value); + ContentDidScrollCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ContentDidScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ContentDidScrollCallback))))};; + GetNodeModifiers()->getSwiperModifier()->setOnContentDidScroll(self, (const ContentDidScrollCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_enablePreviewText(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onContentDidScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_indicatorInteractive(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setEnablePreviewText(self, value); + GetNodeModifiers()->getSwiperModifier()->setIndicatorInteractive(self, value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_enablePreviewText, Ark_NativePointer, Ark_Boolean) -void impl_TextAreaAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(SwiperAttribute_indicatorInteractive, Ark_NativePointer, Ark_Boolean) +void impl_SwiperAttribute_pageFlipMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setEnableHapticFeedback(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PageFlipMode value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_PageFlipMode value_value = value_value_buf;; + GetNodeModifiers()->getSwiperModifier()->setPageFlipMode(self, (const Opt_PageFlipMode*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) -void impl_TextAreaAttribute_inputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_pageFlipMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_onContentWillScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + ContentWillScrollCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ContentWillScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ContentWillScrollCallback))))};; + GetNodeModifiers()->getSwiperModifier()->setOnContentWillScroll(self, (const ContentWillScrollCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_onContentWillScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_displayArrow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf = {}; + Ark_Union_ArrowStyle_Boolean value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = thisDeserializer.readArrowStyle(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = thisDeserializer.readBoolean(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceStr value_value = static_cast(value_value_buf);; - const auto error_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_String_Void error_value_buf = {}; - error_value_buf.tag = error_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (error_value_buf_runtimeType)) - { - error_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))}; - } - Opt_Callback_String_Void error_value = error_value_buf;; - GetNodeModifiers()->getTextAreaModifier()->setInputFilter(self, (const Ark_ResourceStr*)&value_value, (const Opt_Callback_String_Void*)&error_value); -} -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_inputFilter, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_showCounter(Ark_NativePointer thisPtr, Ark_Boolean value, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_InputCounterOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readInputCounterOptions(); - } - Opt_InputCounterOptions options_value = options_value_buf;; - GetNodeModifiers()->getTextAreaModifier()->setShowCounter(self, value, (const Opt_InputCounterOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V4(TextAreaAttribute_showCounter, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute_customKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_KeyboardOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readKeyboardOptions(); - } - Opt_KeyboardOptions options_value = options_value_buf;; - GetNodeModifiers()->getTextAreaModifier()->setCustomKeyboard(self, (const CustomNodeBuilder*)&value_value, (const Opt_KeyboardOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_customKeyboard, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextAreaAttribute__onChangeEvent_text(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_ResourceStr_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ResourceStr_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ResourceStr_Void))))};; - GetNodeModifiers()->getTextAreaModifier()->set_onChangeEvent_text(self, (const Callback_ResourceStr_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(TextAreaAttribute__onChangeEvent_text, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TextClock_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTextClockModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(TextClock_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_TextClockInterface_setTextClockOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextClockOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + Ark_Union_ArrowStyle_Boolean value_value = static_cast(value_value_buf);; + const auto isHoverShow_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isHoverShow_value_buf = {}; + isHoverShow_value_buf.tag = isHoverShow_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isHoverShow_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readTextClockOptions(); + isHoverShow_value_buf.value = thisDeserializer.readBoolean(); } - Opt_TextClockOptions options_value = options_value_buf;; - GetNodeModifiers()->getTextClockModifier()->setTextClockOptions(self, (const Opt_TextClockOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(TextClockInterface_setTextClockOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextClockAttribute_format(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextClockModifier()->setFormat(self, (const Ark_String*) (&value)); -} -KOALA_INTEROP_V2(TextClockAttribute_format, Ark_NativePointer, KStringPtr) -void impl_TextClockAttribute_onDateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getTextClockModifier()->setOnDateChange(self, (const Callback_Number_Void*)&value_value); + Opt_Boolean isHoverShow_value = isHoverShow_value_buf;; + GetNodeModifiers()->getSwiperModifier()->setDisplayArrow(self, (const Ark_Union_ArrowStyle_Boolean*)&value_value, (const Opt_Boolean*)&isHoverShow_value); } -KOALA_INTEROP_DIRECT_V3(TextClockAttribute_onDateChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextClockAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_displayArrow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_displayCount(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Number_String_SwiperAutoFill value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readSwiperAutoFill(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextClockModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_Number_String_SwiperAutoFill value_value = static_cast(value_value_buf);; + const auto swipeByGroup_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean swipeByGroup_value_buf = {}; + swipeByGroup_value_buf.tag = swipeByGroup_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (swipeByGroup_value_buf_runtimeType)) + { + swipeByGroup_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean swipeByGroup_value = swipeByGroup_value_buf;; + GetNodeModifiers()->getSwiperModifier()->setDisplayCount(self, (const Ark_Union_Number_String_SwiperAutoFill*)&value_value, (const Opt_Boolean*)&swipeByGroup_value); } -KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextClockAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_displayCount, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_prevMargin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -16543,386 +16712,511 @@ void impl_TextClockAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuff else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextClockModifier()->setFontSize(self, (const Ark_Union_String_Number_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextClockAttribute_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextClockModifier()->setFontStyle(self, static_cast(value)); + Ark_Length value_value = static_cast(value_value_buf);; + const auto ignoreBlank_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean ignoreBlank_value_buf = {}; + ignoreBlank_value_buf.tag = ignoreBlank_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (ignoreBlank_value_buf_runtimeType)) + { + ignoreBlank_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean ignoreBlank_value = ignoreBlank_value_buf;; + GetNodeModifiers()->getSwiperModifier()->setPrevMargin(self, (const Ark_Length*)&value_value, (const Opt_Boolean*)&ignoreBlank_value); } -KOALA_INTEROP_DIRECT_V2(TextClockAttribute_fontStyle, Ark_NativePointer, Ark_Int32) -void impl_TextClockAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_prevMargin, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute_nextMargin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextClockModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextClockAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_Length value_value = static_cast(value_value_buf);; + const auto ignoreBlank_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean ignoreBlank_value_buf = {}; + ignoreBlank_value_buf.tag = ignoreBlank_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (ignoreBlank_value_buf_runtimeType)) + { + ignoreBlank_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean ignoreBlank_value = ignoreBlank_value_buf;; + GetNodeModifiers()->getSwiperModifier()->setNextMargin(self, (const Ark_Length*)&value_value, (const Opt_Boolean*)&ignoreBlank_value); +} +KOALA_INTEROP_DIRECT_V3(SwiperAttribute_nextMargin, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperAttribute__onChangeEvent_index(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getSwiperModifier()->set_onChangeEvent_index(self, (const Callback_Number_Void*)&callback_value); +} +KOALA_INTEROP_DIRECT_V3(SwiperAttribute__onChangeEvent_index, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_IndicatorComponent_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getIndicatorComponentModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(IndicatorComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_IndicatorComponentInterface_setIndicatorComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto controller_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_IndicatorComponentController controller_value_buf = {}; + controller_value_buf.tag = controller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType)) + { + controller_value_buf.value = static_cast(thisDeserializer.readIndicatorComponentController()); } - Ark_ResourceStr value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextClockModifier()->setFontFamily(self, (const Ark_ResourceStr*)&value_value); + Opt_IndicatorComponentController controller_value = controller_value_buf;; + GetNodeModifiers()->getIndicatorComponentModifier()->setIndicatorComponentOptions(self, (const Opt_IndicatorComponentController*)&controller_value); } -KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextClockAttribute_textShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(IndicatorComponentInterface_setIndicatorComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_IndicatorComponentAttribute_initialIndex(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getIndicatorComponentModifier()->setInitialIndex(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(IndicatorComponentAttribute_initialIndex, Ark_NativePointer, KInteropNumber) +void impl_IndicatorComponentAttribute_count(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getIndicatorComponentModifier()->setCount(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(IndicatorComponentAttribute_count, Ark_NativePointer, KInteropNumber) +void impl_IndicatorComponentAttribute_style(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {}; + Ark_Union_DotIndicator_DigitIndicator value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readShadowOptions(); + value_value_buf.value0 = thisDeserializer.readDotIndicator(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_ShadowOptions value_value_buf_u = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_u, value_value_buf_u_length); - for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { - value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readShadowOptions(); - } - value_value_buf.value1 = value_value_buf_u; + value_value_buf.value1 = thisDeserializer.readDigitIndicator(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_ShadowOptions_Array_ShadowOptions value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextClockModifier()->setTextShadow(self, (const Ark_Union_ShadowOptions_Array_ShadowOptions*)&value_value); + Ark_Union_DotIndicator_DigitIndicator value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getIndicatorComponentModifier()->setStyle(self, (const Ark_Union_DotIndicator_DigitIndicator*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextClockAttribute_textShadow, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextClockAttribute_fontFeature(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_style, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_IndicatorComponentAttribute_loop(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextClockModifier()->setFontFeature(self, (const Ark_String*) (&value)); + GetNodeModifiers()->getIndicatorComponentModifier()->setLoop(self, value); } -KOALA_INTEROP_V2(TextClockAttribute_fontFeature, Ark_NativePointer, KStringPtr) -void impl_TextClockAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(IndicatorComponentAttribute_loop, Ark_NativePointer, Ark_Boolean) +void impl_IndicatorComponentAttribute_vertical(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getTextClockModifier()->setContentModifier(self, (const Ark_Object*)&value_value); + GetNodeModifiers()->getIndicatorComponentModifier()->setVertical(self, value); } -KOALA_INTEROP_DIRECT_V3(TextClockAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextClockAttribute_dateTimeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(IndicatorComponentAttribute_vertical, Ark_NativePointer, Ark_Boolean) +void impl_IndicatorComponentAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_DateTimeOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readDateTimeOptions(); - } - Opt_DateTimeOptions value_value = value_value_buf;; - GetNodeModifiers()->getTextClockModifier()->setDateTimeOptions(self, (const Opt_DateTimeOptions*)&value_value); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getIndicatorComponentModifier()->setOnChange(self, (const Callback_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextClockAttribute_dateTimeOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TextInput_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTextInputModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(IndicatorComponentAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_SymbolGlyph_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getSymbolGlyphModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_2(TextInput_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_TextInputInterface_setTextInputOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(SymbolGlyph_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_SymbolGlyphInterface_setSymbolGlyphOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextInputOptions value_value_buf = {}; + Opt_Resource value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readTextInputOptions(); + value_value_buf.value = thisDeserializer.readResource(); } - Opt_TextInputOptions value_value = value_value_buf;; - GetNodeModifiers()->getTextInputModifier()->setTextInputOptions(self, (const Opt_TextInputOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputInterface_setTextInputOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_type(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setType(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_type, Ark_NativePointer, Ark_Int32) -void impl_TextInputAttribute_contentType(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setContentType(self, static_cast(value)); + Opt_Resource value_value = value_value_buf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolGlyphOptions(self, (const Opt_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_contentType, Ark_NativePointer, Ark_Int32) -void impl_TextInputAttribute_placeholderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SymbolGlyphInterface_setSymbolGlyphOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SymbolGlyphAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setPlaceholderColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSymbolGlyphModifier()->setFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_placeholderColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_textOverflow(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SymbolGlyphAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setTextOverflow(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_ResourceColor value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_buf = {}; + value_value_buf_buf.selector = value_value_buf_buf_selector; + if (value_value_buf_buf_selector == 0) { + value_value_buf_buf.selector = 0; + value_value_buf_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_buf_selector == 1) { + value_value_buf_buf.selector = 1; + value_value_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_buf_selector == 2) { + value_value_buf_buf.selector = 2; + value_value_buf_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_buf_selector == 3) { + value_value_buf_buf.selector = 3; + value_value_buf_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); + } + value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); + } + Array_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setFontColor(self, (const Array_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_textOverflow, Ark_NativePointer, Ark_Int32) -void impl_TextInputAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SymbolGlyphAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Number_FontWeight_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setTextIndent(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSymbolGlyphModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_textIndent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_placeholderFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SymbolGlyphAttribute_effectStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSymbolGlyphModifier()->setEffectStrategy(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SymbolGlyphAttribute_effectStrategy, Ark_NativePointer, Ark_Int32) +void impl_SymbolGlyphAttribute_renderingStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSymbolGlyphModifier()->setRenderingStrategy(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SymbolGlyphAttribute_renderingStrategy, Ark_NativePointer, Ark_Int32) +void impl_SymbolGlyphAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Font value_value_buf = {}; + Opt_Union_Number_Resource value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readFont(); + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); } - Opt_Font value_value = value_value_buf;; - GetNodeModifiers()->getTextInputModifier()->setPlaceholderFont(self, (const Opt_Font*)&value_value); + Opt_Union_Number_Resource value_value = value_value_buf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setMinFontScale(self, (const Opt_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_placeholderFont, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_enterKeyType(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SymbolGlyphAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setEnterKeyType(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_Resource value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_Number_Resource value_value = value_value_buf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setMaxFontScale(self, (const Opt_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_enterKeyType, Ark_NativePointer, Ark_Int32) -void impl_TextInputAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SymbolGlyphAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SymbolGlyphAttribute_symbolEffect0(Ark_NativePointer thisPtr, Ark_NativePointer symbolEffect, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto isActive_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isActive_value_buf = {}; + isActive_value_buf.tag = isActive_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isActive_value_buf_runtimeType)) + { + isActive_value_buf.value = thisDeserializer.readBoolean(); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setCaretColor(self, (const Ark_ResourceColor*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_caretColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onEditChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getTextInputModifier()->setOnEditChanged(self, (const Callback_Boolean_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onEditChanged, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onEditChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getTextInputModifier()->setOnEditChange(self, (const Callback_Boolean_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onEditChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onSubmit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnSubmitCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSubmitCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSubmitCallback))))};; - GetNodeModifiers()->getTextInputModifier()->setOnSubmit(self, (const OnSubmitCallback*)&value_value); + Opt_Boolean isActive_value = isActive_value_buf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect0(self, static_cast(symbolEffect), (const Opt_Boolean*)&isActive_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onSubmit, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V4(SymbolGlyphAttribute_symbolEffect0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SymbolGlyphAttribute_symbolEffect1(Ark_NativePointer thisPtr, Ark_NativePointer symbolEffect, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - EditableTextOnChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_EditableTextOnChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_EditableTextOnChangeCallback))))};; - GetNodeModifiers()->getTextInputModifier()->setOnChange(self, (const EditableTextOnChangeCallback*)&value_value); + const auto triggerValue_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number triggerValue_value_buf = {}; + triggerValue_value_buf.tag = triggerValue_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (triggerValue_value_buf_runtimeType)) + { + triggerValue_value_buf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number triggerValue_value = triggerValue_value_buf;; + GetNodeModifiers()->getSymbolGlyphModifier()->setSymbolEffect1(self, static_cast(symbolEffect), (const Opt_Number*)&triggerValue_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnTextSelectionChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTextSelectionChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTextSelectionChangeCallback))))};; - GetNodeModifiers()->getTextInputModifier()->setOnTextSelectionChange(self, (const OnTextSelectionChangeCallback*)&value_value); +KOALA_INTEROP_DIRECT_V4(SymbolGlyphAttribute_symbolEffect1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_SymbolSpan_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getSymbolSpanModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onTextSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onContentScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(SymbolSpan_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_SymbolSpanInterface_setSymbolSpanOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnContentScrollCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnContentScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnContentScrollCallback))))};; - GetNodeModifiers()->getTextInputModifier()->setOnContentScroll(self, (const OnContentScrollCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onContentScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_maxLength(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setMaxLength(self, (const Ark_Number*) (&value)); + Ark_Resource value_value = thisDeserializer.readResource();; + GetNodeModifiers()->getSymbolSpanModifier()->setSymbolSpanOptions(self, (const Ark_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_maxLength, Ark_NativePointer, KInteropNumber) -void impl_TextInputAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SymbolSpanInterface_setSymbolSpanOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SymbolSpanAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSymbolSpanModifier()->setFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SymbolSpanAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_ResourceColor value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + const Ark_Int8 value_value_buf_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf_buf = {}; + value_value_buf_buf.selector = value_value_buf_buf_selector; + if (value_value_buf_buf_selector == 0) { + value_value_buf_buf.selector = 0; + value_value_buf_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_buf_selector == 1) { + value_value_buf_buf.selector = 1; + value_value_buf_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_buf_selector == 2) { + value_value_buf_buf.selector = 2; + value_value_buf_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_buf_selector == 3) { + value_value_buf_buf.selector = 3; + value_value_buf_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_buf has to be chosen through deserialisation."); + } + value_value_buf.array[value_value_buf_i] = static_cast(value_value_buf_buf); + } + Array_ResourceColor value_value = value_value_buf;; + GetNodeModifiers()->getSymbolSpanModifier()->setFontColor(self, (const Array_ResourceColor*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SymbolSpanAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Number_FontWeight_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setFontSize(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSymbolSpanModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(SymbolSpanAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SymbolSpanAttribute_effectStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setFontStyle(self, static_cast(value)); + GetNodeModifiers()->getSymbolSpanModifier()->setEffectStrategy(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_fontStyle, Ark_NativePointer, Ark_Int32) -void impl_TextInputAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(SymbolSpanAttribute_effectStrategy, Ark_NativePointer, Ark_Int32) +void impl_SymbolSpanAttribute_renderingStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSymbolSpanModifier()->setRenderingStrategy(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SymbolSpanAttribute_renderingStrategy, Ark_NativePointer, Ark_Int32) +Ark_NativePointer impl_Tabs_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getTabsModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Tabs_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_TabsInterface_setTabsOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TabsOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readTabsOptions(); + } + Opt_TabsOptions options_value = options_value_buf;; + GetNodeModifiers()->getTabsModifier()->setTabsOptions(self, (const Opt_TabsOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(TabsInterface_setTabsOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_vertical(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTabsModifier()->setVertical(self, value); +} +KOALA_INTEROP_DIRECT_V2(TabsAttribute_vertical, Ark_NativePointer, Ark_Boolean) +void impl_TabsAttribute_barPosition(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTabsModifier()->setBarPosition(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(TabsAttribute_barPosition, Ark_NativePointer, Ark_Int32) +void impl_TabsAttribute_scrollable(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTabsModifier()->setScrollable(self, value); +} +KOALA_INTEROP_DIRECT_V2(TabsAttribute_scrollable, Ark_NativePointer, Ark_Boolean) +void impl_TabsAttribute_barMode0(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTabsModifier()->setBarMode0(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(TabsAttribute_barMode0, Ark_NativePointer, Ark_Int32) +void impl_TabsAttribute_barMode1(Ark_NativePointer thisPtr, Ark_Int32 value, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ScrollableBarModeOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readScrollableBarModeOptions(); + } + Opt_ScrollableBarModeOptions options_value = options_value_buf;; + GetNodeModifiers()->getTabsModifier()->setBarMode1(self, static_cast(value), (const Opt_ScrollableBarModeOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V4(TabsAttribute_barMode1, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) +void impl_TabsAttribute_barWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTabsModifier()->setBarWidth(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_barWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_barHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -16930,80 +17224,126 @@ void impl_TextInputAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBu } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceStr value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setFontFamily(self, (const Ark_ResourceStr*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTabsModifier()->setBarHeight(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_barHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_animationDuration(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; - GetNodeModifiers()->getTextInputModifier()->setOnCopy(self, (const Callback_String_Void*)&value_value); + GetNodeModifiers()->getTabsModifier()->setAnimationDuration(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TabsAttribute_animationDuration, Ark_NativePointer, KInteropNumber) +void impl_TabsAttribute_animationMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; - GetNodeModifiers()->getTextInputModifier()->setOnCut(self, (const Callback_String_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_AnimationMode value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_AnimationMode value_value = value_value_buf;; + GetNodeModifiers()->getTabsModifier()->setAnimationMode(self, (const Opt_AnimationMode*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onCut, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_animationMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_edgeEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnPasteCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnPasteCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnPasteCallback))))};; - GetNodeModifiers()->getTextInputModifier()->setOnPaste(self, (const OnPasteCallback*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_EdgeEffect value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EdgeEffect value_value = value_value_buf;; + GetNodeModifiers()->getTabsModifier()->setEdgeEffect(self, (const Opt_EdgeEffect*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onPaste, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_copyOption(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_edgeEffect, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setCopyOption(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getTabsModifier()->setOnChange(self, (const Callback_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_copyOption, Ark_NativePointer, Ark_Int32) -void impl_TextInputAttribute_showPasswordIcon(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_onSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setShowPasswordIcon(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getTabsModifier()->setOnSelected(self, (const Callback_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_showPasswordIcon, Ark_NativePointer, Ark_Boolean) -void impl_TextInputAttribute_textAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_onSelected, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_onTabBarClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setTextAlign(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getTabsModifier()->setOnTabBarClick(self, (const Callback_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_textAlign, Ark_NativePointer, Ark_Int32) -void impl_TextInputAttribute_style(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_onTabBarClick, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_onUnselected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_TextInputStyle_TextContentStyle value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_TextInputStyle_TextContentStyle value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setStyle(self, (const Ark_Union_TextInputStyle_TextContentStyle*)&value_value); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getTabsModifier()->setOnUnselected(self, (const Callback_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_style, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_caretStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_onUnselected, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_onAnimationStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_CaretStyle value_value = thisDeserializer.readCaretStyle();; - GetNodeModifiers()->getTextInputModifier()->setCaretStyle(self, (const Ark_CaretStyle*)&value_value); + OnTabsAnimationStartCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTabsAnimationStartCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTabsAnimationStartCallback))))};; + GetNodeModifiers()->getTabsModifier()->setOnAnimationStart(self, (const OnTabsAnimationStartCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_caretStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_onAnimationStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_onAnimationEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnTabsAnimationEndCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTabsAnimationEndCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTabsAnimationEndCallback))))};; + GetNodeModifiers()->getTabsModifier()->setOnAnimationEnd(self, (const OnTabsAnimationEndCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TabsAttribute_onAnimationEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_onGestureSwipe(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnTabsGestureSwipeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTabsGestureSwipeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTabsGestureSwipeCallback))))};; + GetNodeModifiers()->getTabsModifier()->setOnGestureSwipe(self, (const OnTabsGestureSwipeCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TabsAttribute_onGestureSwipe, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_fadingEdge(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTabsModifier()->setFadingEdge(self, value); +} +KOALA_INTEROP_DIRECT_V2(TabsAttribute_fadingEdge, Ark_NativePointer, Ark_Boolean) +void impl_TabsAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DividerStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readDividerStyle(); + } + Opt_DividerStyle value_value = value_value_buf;; + GetNodeModifiers()->getTabsModifier()->setDivider(self, (const Opt_DividerStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TabsAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_barOverlap(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTabsModifier()->setBarOverlap(self, value); +} +KOALA_INTEROP_DIRECT_V2(TabsAttribute_barOverlap, Ark_NativePointer, Ark_Boolean) +void impl_TabsAttribute_barBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -17029,186 +17369,288 @@ void impl_TextInputAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setSelectedBackgroundColor(self, (const Ark_ResourceColor*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_caretPosition(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setCaretPosition(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getTabsModifier()->setBarBackgroundColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_caretPosition, Ark_NativePointer, KInteropNumber) -void impl_TextInputAttribute_enableKeyboardOnFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_barBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_barGridAlign(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setEnableKeyboardOnFocus(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_BarGridColumnOptions value_value = thisDeserializer.readBarGridColumnOptions();; + GetNodeModifiers()->getTabsModifier()->setBarGridAlign(self, (const Ark_BarGridColumnOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_enableKeyboardOnFocus, Ark_NativePointer, Ark_Boolean) -void impl_TextInputAttribute_passwordIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_barGridAlign, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_customContentTransition(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_PasswordIcon value_value = thisDeserializer.readPasswordIcon();; - GetNodeModifiers()->getTextInputModifier()->setPasswordIcon(self, (const Ark_PasswordIcon*)&value_value); + TabsCustomContentTransitionCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_TabsCustomContentTransitionCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_TabsCustomContentTransitionCallback))))};; + GetNodeModifiers()->getTabsModifier()->setCustomContentTransition(self, (const TabsCustomContentTransitionCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_passwordIcon, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_showError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_customContentTransition, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_barBackgroundBlurStyle0(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_ResourceStr value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf_ = {}; - value_value_buf_.selector = value_value_buf__selector; - if (value_value_buf__selector == 0) { - value_value_buf_.selector = 0; - value_value_buf_.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf__selector == 1) { - value_value_buf_.selector = 1; - value_value_buf_.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); - } - value_value_buf.value = static_cast(value_value_buf_); - } - Opt_ResourceStr value_value = value_value_buf;; - GetNodeModifiers()->getTextInputModifier()->setShowError(self, (const Opt_ResourceStr*)&value_value); + GetNodeModifiers()->getTabsModifier()->setBarBackgroundBlurStyle0(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showError, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_showUnit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TabsAttribute_barBackgroundBlurStyle0, Ark_NativePointer, Ark_Int32) +void impl_TabsAttribute_barBackgroundBlurStyle1(Ark_NativePointer thisPtr, Ark_Int32 style, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; - GetNodeModifiers()->getTextInputModifier()->setShowUnit(self, (const CustomNodeBuilder*)&value_value); + Ark_BackgroundBlurStyleOptions options_value = thisDeserializer.readBackgroundBlurStyleOptions();; + GetNodeModifiers()->getTabsModifier()->setBarBackgroundBlurStyle1(self, static_cast(style), (const Ark_BackgroundBlurStyleOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showUnit, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_showUnderline(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V4(TabsAttribute_barBackgroundBlurStyle1, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t) +void impl_TabsAttribute_barBackgroundEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setShowUnderline(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_BackgroundEffectOptions value_value = thisDeserializer.readBackgroundEffectOptions();; + GetNodeModifiers()->getTabsModifier()->setBarBackgroundEffect(self, (const Ark_BackgroundEffectOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_showUnderline, Ark_NativePointer, Ark_Boolean) -void impl_TextInputAttribute_underlineColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_barBackgroundEffect, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_pageFlipMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Union_ResourceColor_UnderlineColor value_value_buf = {}; + Opt_PageFlipMode value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); - Ark_Union_ResourceColor_UnderlineColor value_value_buf_ = {}; - value_value_buf_.selector = value_value_buf__selector; - if (value_value_buf__selector == 0) { - value_value_buf_.selector = 0; - const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf__u = {}; - value_value_buf__u.selector = value_value_buf__u_selector; - if (value_value_buf__u_selector == 0) { - value_value_buf__u.selector = 0; - value_value_buf__u.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf__u_selector == 1) { - value_value_buf__u.selector = 1; - value_value_buf__u.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf__u_selector == 2) { - value_value_buf__u.selector = 2; - value_value_buf__u.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf__u_selector == 3) { - value_value_buf__u.selector = 3; - value_value_buf__u.value3 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation."); - } - value_value_buf_.value0 = static_cast(value_value_buf__u); - } - else if (value_value_buf__selector == 1) { - value_value_buf_.selector = 1; - value_value_buf_.value1 = thisDeserializer.readUnderlineColor(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); - } - value_value_buf.value = static_cast(value_value_buf_); + value_value_buf.value = static_cast(thisDeserializer.readInt32()); } - Opt_Union_ResourceColor_UnderlineColor value_value = value_value_buf;; - GetNodeModifiers()->getTextInputModifier()->setUnderlineColor(self, (const Opt_Union_ResourceColor_UnderlineColor*)&value_value); + Opt_PageFlipMode value_value = value_value_buf;; + GetNodeModifiers()->getTabsModifier()->setPageFlipMode(self, (const Opt_PageFlipMode*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_underlineColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_selectionMenuHidden(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_pageFlipMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_onContentWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setSelectionMenuHidden(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + OnTabsContentWillChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTabsContentWillChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTabsContentWillChangeCallback))))};; + GetNodeModifiers()->getTabsModifier()->setOnContentWillChange(self, (const OnTabsContentWillChangeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_selectionMenuHidden, Ark_NativePointer, Ark_Boolean) -void impl_TextInputAttribute_barState(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_onContentWillChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_barModeScrollable(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setBarState(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ScrollableBarModeOptions options_value = thisDeserializer.readScrollableBarModeOptions();; + GetNodeModifiers()->getTabsModifier()->setBarModeScrollable(self, (const Ark_ScrollableBarModeOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_barState, Ark_NativePointer, Ark_Int32) -void impl_TextInputAttribute_maxLines(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_barModeScrollable, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabsAttribute_cachedMaxCount(Ark_NativePointer thisPtr, KInteropNumber count, Ark_Int32 mode) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setMaxLines(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getTabsModifier()->setCachedMaxCount(self, (const Ark_Number*) (&count), static_cast(mode)); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_maxLines, Ark_NativePointer, KInteropNumber) -void impl_TextInputAttribute_wordBreak(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute_cachedMaxCount, Ark_NativePointer, KInteropNumber, Ark_Int32) +void impl_TabsAttribute__onChangeEvent_index(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setWordBreak(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getTabsModifier()->set_onChangeEvent_index(self, (const Callback_Number_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_wordBreak, Ark_NativePointer, Ark_Int32) -void impl_TextInputAttribute_lineBreakStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(TabsAttribute__onChangeEvent_index, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TabContent_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getTabContentModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(TabContent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_TabContentInterface_setTabContentOptions(Ark_NativePointer thisPtr) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setLineBreakStrategy(self, static_cast(value)); + GetNodeModifiers()->getTabContentModifier()->setTabContentOptions(self); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_lineBreakStrategy, Ark_NativePointer, Ark_Int32) -void impl_TextInputAttribute_cancelButton0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V1(TabContentInterface_setTabContentOptions, Ark_NativePointer) +void impl_TabContentAttribute_tabBar0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_CancelButtonOptions value_value = thisDeserializer.readCancelButtonOptions();; - GetNodeModifiers()->getTextInputModifier()->setCancelButton0(self, (const Ark_CancelButtonOptions*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_String_Resource_CustomBuilder_TabBarOptions value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readTabBarOptions(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_String_Resource_CustomBuilder_TabBarOptions value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTabContentModifier()->setTabBar0(self, (const Ark_Union_String_Resource_CustomBuilder_TabBarOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_cancelButton0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_cancelButton1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TabContentAttribute_tabBar0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabContentAttribute_tabBar1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_CancelButtonSymbolOptions value_value = thisDeserializer.readCancelButtonSymbolOptions();; - GetNodeModifiers()->getTextInputModifier()->setCancelButton1(self, (const Ark_CancelButtonSymbolOptions*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_SubTabBarStyle_BottomTabBarStyle value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = thisDeserializer.readSubTabBarStyle(); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readBottomTabBarStyle(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_SubTabBarStyle_BottomTabBarStyle value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTabContentModifier()->setTabBar1(self, (const Ark_Union_SubTabBarStyle_BottomTabBarStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_cancelButton1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_selectAll(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TabContentAttribute_tabBar1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabContentAttribute_tabBar2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setSelectAll(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Type_TabContentAttribute_tabBar_content value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readComponentContent()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readSubTabBarStyle(); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readBottomTabBarStyle(); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 4) { + value_value_buf.selector = 4; + value_value_buf.value4 = thisDeserializer.readResource(); + } + else if (value_value_buf_selector == 5) { + value_value_buf.selector = 5; + value_value_buf.value5 = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + } + else if (value_value_buf_selector == 6) { + value_value_buf.selector = 6; + value_value_buf.value6 = thisDeserializer.readTabBarOptions(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Type_TabContentAttribute_tabBar_content value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTabContentModifier()->setTabBar2(self, (const Ark_Type_TabContentAttribute_tabBar_content*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_selectAll, Ark_NativePointer, Ark_Boolean) -void impl_TextInputAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TabContentAttribute_tabBar2, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabContentAttribute_onWillShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; + GetNodeModifiers()->getTabContentModifier()->setOnWillShow(self, (const VoidCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TabContentAttribute_onWillShow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TabContentAttribute_onWillHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; + GetNodeModifiers()->getTabContentModifier()->setOnWillHide(self, (const VoidCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TabContentAttribute_onWillHide, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Text_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getTextModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Text_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_TextInterface_setTextOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto content_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_String_Resource content_value_buf = {}; + content_value_buf.tag = content_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType)) + { + const Ark_Int8 content_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_String_Resource content_value_buf_ = {}; + content_value_buf_.selector = content_value_buf__selector; + if (content_value_buf__selector == 0) { + content_value_buf_.selector = 0; + content_value_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (content_value_buf__selector == 1) { + content_value_buf_.selector = 1; + content_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for content_value_buf_ has to be chosen through deserialisation."); + } + content_value_buf.value = static_cast(content_value_buf_); + } + Opt_Union_String_Resource content_value = content_value_buf;; + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readTextOptions(); + } + Opt_TextOptions value_value = value_value_buf;; + GetNodeModifiers()->getTextModifier()->setTextOptions(self, (const Opt_Union_String_Resource*)&content_value, (const Opt_TextOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextInterface_setTextOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_font0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Font value_value = thisDeserializer.readFont();; + GetNodeModifiers()->getTextModifier()->setFont0(self, (const Ark_Font*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextAttribute_font0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_font1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Font fontValue_value = thisDeserializer.readFont();; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_FontSettingOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readFontSettingOptions(); + } + Opt_FontSettingOptions options_value = options_value_buf;; + GetNodeModifiers()->getTextModifier()->setFont1(self, (const Ark_Font*)&fontValue_value, (const Opt_FontSettingOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(TextAttribute_font1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Resource value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readString()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setMinFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -17230,27 +17672,10 @@ void impl_TextInputAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerB INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setMaxFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_heightAdaptivePolicy(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setHeightAdaptivePolicy(self, static_cast(value)); -} -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_heightAdaptivePolicy, Ark_NativePointer, Ark_Int32) -void impl_TextInputAttribute_enableAutoFill(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setEnableAutoFill(self, value); -} -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_enableAutoFill, Ark_NativePointer, Ark_Boolean) -void impl_TextInputAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_TextDecorationOptions value_value = thisDeserializer.readTextDecorationOptions();; - GetNodeModifiers()->getTextInputModifier()->setDecoration(self, (const Ark_TextDecorationOptions*)&value_value); + GetNodeModifiers()->getTextModifier()->setFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -17272,10 +17697,10 @@ void impl_TextInputAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerialize INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setLetterSpacing(self, (const Ark_Union_Number_String_Resource*)&value_value); + GetNodeModifiers()->getTextModifier()->setMinFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -17297,164 +17722,129 @@ void impl_TextInputAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBu INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextInputModifier()->setLineHeight(self, (const Ark_Union_Number_String_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_passwordRules(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setPasswordRules(self, (const Ark_String*) (&value)); -} -KOALA_INTEROP_V2(TextInputAttribute_passwordRules, Ark_NativePointer, KStringPtr) -void impl_TextInputAttribute_fontFeature(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setFontFeature(self, (const Ark_String*) (&value)); + GetNodeModifiers()->getTextModifier()->setMaxFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_V2(TextInputAttribute_fontFeature, Ark_NativePointer, KStringPtr) -void impl_TextInputAttribute_showPassword(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setShowPassword(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextModifier()->setMinFontScale(self, (const Ark_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_showPassword, Ark_NativePointer, Ark_Boolean) -void impl_TextInputAttribute_onSecurityStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getTextInputModifier()->setOnSecurityStateChange(self, (const Callback_Boolean_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onSecurityStateChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onWillInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_InsertValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_InsertValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Boolean))))};; - GetNodeModifiers()->getTextInputModifier()->setOnWillInsert(self, (const Callback_InsertValue_Boolean*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onWillInsert, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onDidInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_InsertValue_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_InsertValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Void))))};; - GetNodeModifiers()->getTextInputModifier()->setOnDidInsert(self, (const Callback_InsertValue_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onDidInsert, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onWillDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_DeleteValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DeleteValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Boolean))))};; - GetNodeModifiers()->getTextInputModifier()->setOnWillDelete(self, (const Callback_DeleteValue_Boolean*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onWillDelete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_onDidDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_DeleteValue_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DeleteValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Void))))};; - GetNodeModifiers()->getTextInputModifier()->setOnDidDelete(self, (const Callback_DeleteValue_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onDidDelete, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_EditMenuOptions value_value = thisDeserializer.readEditMenuOptions();; - GetNodeModifiers()->getTextInputModifier()->setEditMenuOptions(self, (const Ark_EditMenuOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_enablePreviewText(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setEnablePreviewText(self, value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextModifier()->setMaxFontScale(self, (const Ark_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_enablePreviewText, Ark_NativePointer, Ark_Boolean) -void impl_TextInputAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setEnableHapticFeedback(self, value); + GetNodeModifiers()->getTextModifier()->setFontStyle(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(TextInputAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) -void impl_TextInputAttribute_inputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAttribute_fontStyle, Ark_NativePointer, Ark_Int32) +void impl_TextAttribute_fontWeight0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf = {}; + Ark_Union_Number_FontWeight_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceStr value_value = static_cast(value_value_buf);; - const auto error_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_String_Void error_value_buf = {}; - error_value_buf.tag = error_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (error_value_buf_runtimeType)) - { - error_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))}; - } - Opt_Callback_String_Void error_value = error_value_buf;; - GetNodeModifiers()->getTextInputModifier()->setInputFilter(self, (const Ark_ResourceStr*)&value_value, (const Opt_Callback_String_Void*)&error_value); + Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextModifier()->setFontWeight0(self, (const Ark_Union_Number_FontWeight_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_inputFilter, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_customKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_fontWeight0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_fontWeight1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_KeyboardOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readKeyboardOptions(); + const Ark_Int8 weight_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_FontWeight_String weight_value_buf = {}; + weight_value_buf.selector = weight_value_buf_selector; + if (weight_value_buf_selector == 0) { + weight_value_buf.selector = 0; + weight_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } - Opt_KeyboardOptions options_value = options_value_buf;; - GetNodeModifiers()->getTextInputModifier()->setCustomKeyboard(self, (const CustomNodeBuilder*)&value_value, (const Opt_KeyboardOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute_customKeyboard, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextInputAttribute_showCounter(Ark_NativePointer thisPtr, Ark_Boolean value, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); + else if (weight_value_buf_selector == 1) { + weight_value_buf.selector = 1; + weight_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + } + else if (weight_value_buf_selector == 2) { + weight_value_buf.selector = 2; + weight_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for weight_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_FontWeight_String weight_value = static_cast(weight_value_buf);; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_InputCounterOptions options_value_buf = {}; + Opt_FontSettingOptions options_value_buf = {}; options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readInputCounterOptions(); + options_value_buf.value = thisDeserializer.readFontSettingOptions(); } - Opt_InputCounterOptions options_value = options_value_buf;; - GetNodeModifiers()->getTextInputModifier()->setShowCounter(self, value, (const Opt_InputCounterOptions*)&options_value); + Opt_FontSettingOptions options_value = options_value_buf;; + GetNodeModifiers()->getTextModifier()->setFontWeight1(self, (const Ark_Union_Number_FontWeight_String*)&weight_value, (const Opt_FontSettingOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V4(TextInputAttribute_showCounter, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) -void impl_TextInputAttribute__onChangeEvent_text(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_fontWeight1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_lineSpacing(Ark_NativePointer thisPtr, Ark_NativePointer value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_ResourceStr_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ResourceStr_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ResourceStr_Void))))};; - GetNodeModifiers()->getTextInputModifier()->set_onChangeEvent_text(self, (const Callback_ResourceStr_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(TextInputAttribute__onChangeEvent_text, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TextPicker_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTextPickerModifier()->construct(id, flags); + GetNodeModifiers()->getTextModifier()->setLineSpacing(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_2(TextPicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_TextPickerInterface_setTextPickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAttribute_lineSpacing, Ark_NativePointer, Ark_NativePointer) +void impl_TextAttribute_textAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextPickerOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readTextPickerOptions(); - } - Opt_TextPickerOptions options_value = options_value_buf;; - GetNodeModifiers()->getTextPickerModifier()->setTextPickerOptions(self, (const Opt_TextPickerOptions*)&options_value); + GetNodeModifiers()->getTextModifier()->setTextAlign(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(TextPickerInterface_setTextPickerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextPickerAttribute_defaultPickerItemHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAttribute_textAlign, Ark_NativePointer, Ark_Int32) +void impl_TextAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -17464,65 +17854,62 @@ void impl_TextPickerAttribute_defaultPickerItemHeight(Ark_NativePointer thisPtr, value_value_buf.selector = 1; value_value_buf.value1 = static_cast(thisDeserializer.readString()); } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextPickerModifier()->setDefaultPickerItemHeight(self, (const Ark_Union_Number_String*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_defaultPickerItemHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextPickerAttribute_canLoop(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextPickerModifier()->setCanLoop(self, value); -} -KOALA_INTEROP_DIRECT_V2(TextPickerAttribute_canLoop, Ark_NativePointer, Ark_Boolean) -void impl_TextPickerAttribute_disappearTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; - GetNodeModifiers()->getTextPickerModifier()->setDisappearTextStyle(self, (const Ark_PickerTextStyle*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_disappearTextStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextPickerAttribute_textStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; - GetNodeModifiers()->getTextPickerModifier()->setTextStyle(self, (const Ark_PickerTextStyle*)&value_value); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextModifier()->setLineHeight(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_textStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextPickerAttribute_selectedTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_textOverflow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; - GetNodeModifiers()->getTextPickerModifier()->setSelectedTextStyle(self, (const Ark_PickerTextStyle*)&value_value); + Ark_TextOverflowOptions value_value = thisDeserializer.readTextOverflowOptions();; + GetNodeModifiers()->getTextModifier()->setTextOverflow(self, (const Ark_TextOverflowOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedTextStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextPickerAttribute_onAccept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_textOverflow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_String_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Number_Void))))};; - GetNodeModifiers()->getTextPickerModifier()->setOnAccept(self, (const Callback_String_Number_Void*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_String_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextModifier()->setFontFamily(self, (const Ark_Union_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onAccept, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextPickerAttribute_onCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_maxLines(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getTextPickerModifier()->setOnCancel(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getTextModifier()->setMaxLines(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onCancel, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextPickerAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAttribute_maxLines, Ark_NativePointer, KInteropNumber) +void impl_TextAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Type_TextPickerAttribute_onChange_callback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Type_TextPickerAttribute_onChange_callback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Type_TextPickerAttribute_onChange_callback))))};; - GetNodeModifiers()->getTextPickerModifier()->setOnChange(self, (const Type_TextPickerAttribute_onChange_callback*)&value_value); + Ark_DecorationStyleInterface value_value = thisDeserializer.readDecorationStyleInterface();; + GetNodeModifiers()->getTextModifier()->setDecoration(self, (const Ark_DecorationStyleInterface*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextPickerAttribute_selectedIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_Array_Number value_value_buf = {}; + Ark_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -17530,132 +17917,89 @@ void impl_TextPickerAttribute_selectedIndex(Ark_NativePointer thisPtr, KSerializ } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_Number value_value_buf_u = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_u, value_value_buf_u_length); - for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { - value_value_buf_u.array[value_value_buf_u_i] = static_cast(thisDeserializer.readNumber()); - } - value_value_buf.value1 = value_value_buf_u; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_Array_Number value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextPickerModifier()->setSelectedIndex(self, (const Ark_Union_Number_Array_Number*)&value_value); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextModifier()->setLetterSpacing(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedIndex, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextPickerAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_textCase(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readDividerOptions(); - } - Opt_DividerOptions value_value = value_value_buf;; - GetNodeModifiers()->getTextPickerModifier()->setDivider(self, (const Opt_DividerOptions*)&value_value); + GetNodeModifiers()->getTextModifier()->setTextCase(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextPickerAttribute_gradientHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAttribute_textCase, Ark_NativePointer, Ark_Int32) +void impl_TextAttribute_baselineOffset(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextPickerModifier()->setGradientHeight(self, (const Ark_Union_String_Number_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_gradientHeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextPickerAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Union_Number_Array_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Union_Number_Array_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Union_Number_Array_Number_Void))))};; - GetNodeModifiers()->getTextPickerModifier()->set_onChangeEvent_selected(self, (const Callback_Union_Number_Array_Number_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(TextPickerAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextPickerAttribute__onChangeEvent_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Union_String_Array_String_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Union_String_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Union_String_Array_String_Void))))};; - GetNodeModifiers()->getTextPickerModifier()->set_onChangeEvent_value(self, (const Callback_Union_String_Array_String_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(TextPickerAttribute__onChangeEvent_value, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TextTimer_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTextTimerModifier()->construct(id, flags); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextModifier()->setBaselineOffset(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_2(TextTimer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_TextTimerInterface_setTextTimerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_baselineOffset, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_copyOption(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_TextTimerOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readTextTimerOptions(); - } - Opt_TextTimerOptions options_value = options_value_buf;; - GetNodeModifiers()->getTextTimerModifier()->setTextTimerOptions(self, (const Opt_TextTimerOptions*)&options_value); + GetNodeModifiers()->getTextModifier()->setCopyOption(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(TextTimerInterface_setTextTimerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextTimerAttribute_format(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V2(TextAttribute_copyOption, Ark_NativePointer, Ark_Int32) +void impl_TextAttribute_draggable(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextTimerModifier()->setFormat(self, (const Ark_String*) (&value)); + GetNodeModifiers()->getTextModifier()->setDraggable(self, value); } -KOALA_INTEROP_V2(TextTimerAttribute_format, Ark_NativePointer, KStringPtr) -void impl_TextTimerAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAttribute_draggable, Ark_NativePointer, Ark_Boolean) +void impl_TextAttribute_textShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; + Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value0 = thisDeserializer.readShadowOptions(); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); + Array_ShadowOptions value_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf_u, value_value_buf_u_length); + for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { + value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readShadowOptions(); + } + value_value_buf.value1 = value_value_buf_u; } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextTimerModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); + Ark_Union_ShadowOptions_Array_ShadowOptions value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextModifier()->setTextShadow(self, (const Ark_Union_ShadowOptions_Array_ShadowOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextTimerAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_textShadow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_heightAdaptivePolicy(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTextModifier()->setHeightAdaptivePolicy(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(TextAttribute_heightAdaptivePolicy, Ark_NativePointer, Ark_Int32) +void impl_TextAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Length value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -17672,204 +18016,201 @@ void impl_TextTimerAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuff else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextTimerModifier()->setFontSize(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextModifier()->setTextIndent(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextTimerAttribute_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_textIndent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_wordBreak(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextTimerModifier()->setFontStyle(self, static_cast(value)); + GetNodeModifiers()->getTextModifier()->setWordBreak(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(TextTimerAttribute_fontStyle, Ark_NativePointer, Ark_Int32) -void impl_TextTimerAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAttribute_wordBreak, Ark_NativePointer, Ark_Int32) +void impl_TextAttribute_lineBreakStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTextModifier()->setLineBreakStrategy(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(TextAttribute_lineBreakStrategy, Ark_NativePointer, Ark_Int32) +void impl_TextAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; + GetNodeModifiers()->getTextModifier()->setOnCopy(self, (const Callback_String_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_FontWeight_String value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; value_value_buf.value2 = static_cast(thisDeserializer.readString()); } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextTimerModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextModifier()->setCaretColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextTimerAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_caretColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceStr value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); } - Ark_ResourceStr value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextTimerModifier()->setFontFamily(self, (const Ark_ResourceStr*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextTimerAttribute_onTimer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - TextTimerAttribute_onTimer_event_type value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_TextTimerAttribute_onTimer_event_type)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_TextTimerAttribute_onTimer_event_type))))};; - GetNodeModifiers()->getTextTimerModifier()->setOnTimer(self, (const TextTimerAttribute_onTimer_event_type*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_onTimer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextTimerAttribute_textShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readShadowOptions(); + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_ShadowOptions value_value_buf_u = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf_u, value_value_buf_u_length); - for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { - value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readShadowOptions(); - } - value_value_buf.value1 = value_value_buf_u; + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_ShadowOptions_Array_ShadowOptions value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getTextTimerModifier()->setTextShadow(self, (const Ark_Union_ShadowOptions_Array_ShadowOptions*)&value_value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextModifier()->setSelectedBackgroundColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_textShadow, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TextTimerAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_ellipsisMode(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getTextTimerModifier()->setContentModifier(self, (const Ark_Object*)&value_value); + GetNodeModifiers()->getTextModifier()->setEllipsisMode(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TimePicker_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getTimePickerModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V2(TextAttribute_ellipsisMode, Ark_NativePointer, Ark_Int32) +void impl_TextAttribute_enableDataDetector(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTextModifier()->setEnableDataDetector(self, value); } -KOALA_INTEROP_DIRECT_2(TimePicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_TimePickerInterface_setTimePickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAttribute_enableDataDetector, Ark_NativePointer, Ark_Boolean) +void impl_TextAttribute_dataDetectorConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_TimePickerOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readTimePickerOptions(); - } - Opt_TimePickerOptions options_value = options_value_buf;; - GetNodeModifiers()->getTimePickerModifier()->setTimePickerOptions(self, (const Opt_TimePickerOptions*)&options_value); + Ark_TextDataDetectorConfig value_value = thisDeserializer.readTextDataDetectorConfig();; + GetNodeModifiers()->getTextModifier()->setDataDetectorConfig(self, (const Ark_TextDataDetectorConfig*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TimePickerInterface_setTimePickerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TimePickerAttribute_useMilitaryTime(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_dataDetectorConfig, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_onTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTimePickerModifier()->setUseMilitaryTime(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; + GetNodeModifiers()->getTextModifier()->setOnTextSelectionChange(self, (const Callback_Number_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(TimePickerAttribute_useMilitaryTime, Ark_NativePointer, Ark_Boolean) -void impl_TimePickerAttribute_loop(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_onTextSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_fontFeature(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTimePickerModifier()->setLoop(self, value); + GetNodeModifiers()->getTextModifier()->setFontFeature(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V2(TimePickerAttribute_loop, Ark_NativePointer, Ark_Boolean) -void impl_TimePickerAttribute_disappearTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(TextAttribute_fontFeature, Ark_NativePointer, KStringPtr) +void impl_TextAttribute_marqueeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; - GetNodeModifiers()->getTimePickerModifier()->setDisappearTextStyle(self, (const Ark_PickerTextStyle*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextMarqueeOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readTextMarqueeOptions(); + } + Opt_TextMarqueeOptions value_value = value_value_buf;; + GetNodeModifiers()->getTextModifier()->setMarqueeOptions(self, (const Opt_TextMarqueeOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_disappearTextStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TimePickerAttribute_textStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_marqueeOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_onMarqueeStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; - GetNodeModifiers()->getTimePickerModifier()->setTextStyle(self, (const Ark_PickerTextStyle*)&value_value); + Callback_MarqueeState_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_MarqueeState_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_MarqueeState_Void))))};; + GetNodeModifiers()->getTextModifier()->setOnMarqueeStateChange(self, (const Callback_MarqueeState_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_textStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TimePickerAttribute_selectedTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_onMarqueeStateChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_privacySensitive(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; - GetNodeModifiers()->getTimePickerModifier()->setSelectedTextStyle(self, (const Ark_PickerTextStyle*)&value_value); + GetNodeModifiers()->getTextModifier()->setPrivacySensitive(self, value); } -KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_selectedTextStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TimePickerAttribute_dateTimeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAttribute_privacySensitive, Ark_NativePointer, Ark_Boolean) +void impl_TextAttribute_textSelectable(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_DateTimeOptions value_value = thisDeserializer.readDateTimeOptions();; - GetNodeModifiers()->getTimePickerModifier()->setDateTimeOptions(self, (const Ark_DateTimeOptions*)&value_value); + GetNodeModifiers()->getTextModifier()->setTextSelectable(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_dateTimeOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TimePickerAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAttribute_textSelectable, Ark_NativePointer, Ark_Int32) +void impl_TextAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_TimePickerResult_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TimePickerResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TimePickerResult_Void))))};; - GetNodeModifiers()->getTimePickerModifier()->setOnChange(self, (const Callback_TimePickerResult_Void*)&value_value); + Ark_EditMenuOptions value_value = thisDeserializer.readEditMenuOptions();; + GetNodeModifiers()->getTextModifier()->setEditMenuOptions(self, (const Ark_EditMenuOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_TimePickerAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAttribute_halfLeading(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTimePickerModifier()->setEnableHapticFeedback(self, value); + GetNodeModifiers()->getTextModifier()->setHalfLeading(self, value); } -KOALA_INTEROP_DIRECT_V2(TimePickerAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) -void impl_TimePickerAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAttribute_halfLeading, Ark_NativePointer, Ark_Boolean) +void impl_TextAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Date_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};; - GetNodeModifiers()->getTimePickerModifier()->set_onChangeEvent_selected(self, (const Callback_Date_Void*)&callback_value); + GetNodeModifiers()->getTextModifier()->setEnableHapticFeedback(self, value); } -KOALA_INTEROP_DIRECT_V3(TimePickerAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Toggle_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getToggleModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V2(TextAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) +void impl_TextAttribute_selection(Ark_NativePointer thisPtr, KInteropNumber selectionStart, KInteropNumber selectionEnd) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTextModifier()->setSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd)); } -KOALA_INTEROP_DIRECT_2(Toggle_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_ToggleInterface_setToggleOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAttribute_selection, Ark_NativePointer, KInteropNumber, KInteropNumber) +void impl_TextAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, Ark_Int32 spanType, KSerializerBuffer thisArray, int32_t thisLength, Ark_Int32 responseType) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_ToggleOptions options_value = thisDeserializer.readToggleOptions();; - GetNodeModifiers()->getToggleModifier()->setToggleOptions(self, (const Ark_ToggleOptions*)&options_value); + CustomNodeBuilder content_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SelectionMenuOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readSelectionMenuOptions(); + } + Opt_SelectionMenuOptions options_value = options_value_buf;; + GetNodeModifiers()->getTextModifier()->setBindSelectionMenu(self, static_cast(spanType), (const CustomNodeBuilder*)&content_value, static_cast(responseType), (const Opt_SelectionMenuOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(ToggleInterface_setToggleOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ToggleAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getToggleModifier()->setOnChange(self, (const Callback_Boolean_Void*)&value_value); +KOALA_INTEROP_DIRECT_V5(TextAttribute_bindSelectionMenu, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t, Ark_Int32) +Ark_NativePointer impl_TextArea_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getTextAreaModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(ToggleAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ToggleAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(TextArea_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_TextAreaInterface_setTextAreaOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object value_value = static_cast(thisDeserializer.readObject());; - GetNodeModifiers()->getToggleModifier()->setContentModifier(self, (const Ark_Object*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextAreaOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readTextAreaOptions(); + } + Opt_TextAreaOptions value_value = value_value_buf;; + GetNodeModifiers()->getTextAreaModifier()->setTextAreaOptions(self, (const Opt_TextAreaOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ToggleAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ToggleAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaInterface_setTextAreaOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_placeholderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -17895,10 +18236,27 @@ void impl_ToggleAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializerBu INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getToggleModifier()->setSelectedColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getTextAreaModifier()->setPlaceholderColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ToggleAttribute_selectedColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ToggleAttribute_switchPointColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_placeholderColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_placeholderFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Font value_value = thisDeserializer.readFont();; + GetNodeModifiers()->getTextAreaModifier()->setPlaceholderFont(self, (const Ark_Font*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_placeholderFont, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_enterKeyType(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTextAreaModifier()->setEnterKeyType(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_enterKeyType, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_textAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTextAreaModifier()->setTextAlign(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_textAlign, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); @@ -17924,1107 +18282,1515 @@ void impl_ToggleAttribute_switchPointColor(Ark_NativePointer thisPtr, KSerialize INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getToggleModifier()->setSwitchPointColor(self, (const Ark_ResourceColor*)&value_value); + GetNodeModifiers()->getTextAreaModifier()->setCaretColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ToggleAttribute_switchPointColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ToggleAttribute_switchStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_caretColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_SwitchStyle value_value = thisDeserializer.readSwitchStyle();; - GetNodeModifiers()->getToggleModifier()->setSwitchStyle(self, (const Ark_SwitchStyle*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextAreaModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(ToggleAttribute_switchStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ToggleAttribute__onChangeEvent_isOn(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getToggleModifier()->set_onChangeEvent_isOn(self, (const Callback_Boolean_Void*)&callback_value); -} -KOALA_INTEROP_DIRECT_V3(ToggleAttribute__onChangeEvent_isOn, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Video_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getVideoModifier()->construct(id, flags); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextAreaModifier()->setFontSize(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_2(Video_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_VideoInterface_setVideoOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_VideoOptions value_value = thisDeserializer.readVideoOptions();; - GetNodeModifiers()->getVideoModifier()->setVideoOptions(self, (const Ark_VideoOptions*)&value_value); + GetNodeModifiers()->getTextAreaModifier()->setFontStyle(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(VideoInterface_setVideoOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_muted(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_fontStyle, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getVideoModifier()->setMuted(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_FontWeight_String value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextAreaModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); } -KOALA_INTEROP_DIRECT_V2(VideoAttribute_muted, Ark_NativePointer, Ark_Boolean) -void impl_VideoAttribute_autoPlay(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getVideoModifier()->setAutoPlay(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceStr value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceStr value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextAreaModifier()->setFontFamily(self, (const Ark_ResourceStr*)&value_value); } -KOALA_INTEROP_DIRECT_V2(VideoAttribute_autoPlay, Ark_NativePointer, Ark_Boolean) -void impl_VideoAttribute_controls(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_textOverflow(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getVideoModifier()->setControls(self, value); + GetNodeModifiers()->getTextAreaModifier()->setTextOverflow(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(VideoAttribute_controls, Ark_NativePointer, Ark_Boolean) -void impl_VideoAttribute_loop(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_textOverflow, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getVideoModifier()->setLoop(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextAreaModifier()->setTextIndent(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V2(VideoAttribute_loop, Ark_NativePointer, Ark_Boolean) -void impl_VideoAttribute_objectFit(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_textIndent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_caretStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getVideoModifier()->setObjectFit(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CaretStyle value_value = thisDeserializer.readCaretStyle();; + GetNodeModifiers()->getTextAreaModifier()->setCaretStyle(self, (const Ark_CaretStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V2(VideoAttribute_objectFit, Ark_NativePointer, Ark_Int32) -void impl_VideoAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_caretStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; - GetNodeModifiers()->getVideoModifier()->setOnStart(self, (const VoidCallback*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextAreaModifier()->setSelectedBackgroundColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_onPause(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onSubmit0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; - GetNodeModifiers()->getVideoModifier()->setOnPause(self, (const VoidCallback*)&value_value); + Callback_EnterKeyType_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_EnterKeyType_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_EnterKeyType_Void))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnSubmit0(self, (const Callback_EnterKeyType_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_onPause, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onSubmit0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onSubmit1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; - GetNodeModifiers()->getVideoModifier()->setOnFinish(self, (const VoidCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(VideoAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_onFullscreenChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_FullscreenInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_FullscreenInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_FullscreenInfo_Void))))};; - GetNodeModifiers()->getVideoModifier()->setOnFullscreenChange(self, (const Callback_FullscreenInfo_Void*)&value_value); + TextAreaSubmitCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_TextAreaSubmitCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_TextAreaSubmitCallback))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnSubmit1(self, (const TextAreaSubmitCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_onFullscreenChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_onPrepared(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onSubmit1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_PreparedInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PreparedInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PreparedInfo_Void))))};; - GetNodeModifiers()->getVideoModifier()->setOnPrepared(self, (const Callback_PreparedInfo_Void*)&value_value); + EditableTextOnChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_EditableTextOnChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_EditableTextOnChangeCallback))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnChange(self, (const EditableTextOnChangeCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_onPrepared, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_onSeeking(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_PlaybackInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))};; - GetNodeModifiers()->getVideoModifier()->setOnSeeking(self, (const Callback_PlaybackInfo_Void*)&value_value); + Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnTextSelectionChange(self, (const Callback_Number_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_onSeeking, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_onSeeked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onTextSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onContentScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_PlaybackInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))};; - GetNodeModifiers()->getVideoModifier()->setOnSeeked(self, (const Callback_PlaybackInfo_Void*)&value_value); + Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnContentScroll(self, (const Callback_Number_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_onSeeked, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_onUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onContentScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onEditChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_PlaybackInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))};; - GetNodeModifiers()->getVideoModifier()->setOnUpdate(self, (const Callback_PlaybackInfo_Void*)&value_value); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnEditChange(self, (const Callback_Boolean_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_onUpdate, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onEditChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getVideoModifier()->setOnError(self, (const Callback_Void*)&value_value); + Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnCopy(self, (const Callback_String_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(VideoAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_onStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getVideoModifier()->setOnStop(self, (const Callback_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(VideoAttribute_onStop, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_VideoAttribute_enableAnalyzer(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getVideoModifier()->setEnableAnalyzer(self, value); + Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnCut(self, (const Callback_String_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(VideoAttribute_enableAnalyzer, Ark_NativePointer, Ark_Boolean) -void impl_VideoAttribute_analyzerConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onCut, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_ImageAnalyzerConfig value_value = thisDeserializer.readImageAnalyzerConfig();; - GetNodeModifiers()->getVideoModifier()->setAnalyzerConfig(self, (const Ark_ImageAnalyzerConfig*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(VideoAttribute_analyzerConfig, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_Web_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getWebModifier()->construct(id, flags); + Callback_String_PasteEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_PasteEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_PasteEvent_Void))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnPaste(self, (const Callback_String_PasteEvent_Void*)&value_value); } -KOALA_INTEROP_DIRECT_2(Web_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_WebInterface_setWebOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onPaste, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_copyOption(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_WebOptions value_value = thisDeserializer.readWebOptions();; - GetNodeModifiers()->getWebModifier()->setWebOptions(self, (const Ark_WebOptions*)&value_value); + GetNodeModifiers()->getTextAreaModifier()->setCopyOption(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(WebInterface_setWebOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_javaScriptAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_copyOption, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_enableKeyboardOnFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setJavaScriptAccess(self, value); + GetNodeModifiers()->getTextAreaModifier()->setEnableKeyboardOnFocus(self, value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_javaScriptAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_fileAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_enableKeyboardOnFocus, Ark_NativePointer, Ark_Boolean) +void impl_TextAreaAttribute_maxLength(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setFileAccess(self, value); + GetNodeModifiers()->getTextAreaModifier()->setMaxLength(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_fileAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_onlineImageAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_maxLength, Ark_NativePointer, KInteropNumber) +void impl_TextAreaAttribute_style(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setOnlineImageAccess(self, value); + GetNodeModifiers()->getTextAreaModifier()->setStyle(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_onlineImageAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_domStorageAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_style, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_barState(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setDomStorageAccess(self, value); + GetNodeModifiers()->getTextAreaModifier()->setBarState(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_domStorageAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_imageAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_barState, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_selectionMenuHidden(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setImageAccess(self, value); + GetNodeModifiers()->getTextAreaModifier()->setSelectionMenuHidden(self, value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_imageAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_mixedMode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_selectionMenuHidden, Ark_NativePointer, Ark_Boolean) +void impl_TextAreaAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setMixedMode(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextAreaModifier()->setMinFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_mixedMode, Ark_NativePointer, Ark_Int32) -void impl_WebAttribute_zoomAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setZoomAccess(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextAreaModifier()->setMaxFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_zoomAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_geolocationAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setGeolocationAccess(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_Resource value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_Number_Resource value_value = value_value_buf;; + GetNodeModifiers()->getTextAreaModifier()->setMinFontScale(self, (const Opt_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_geolocationAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_javaScriptProxy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_JavaScriptProxy value_value = thisDeserializer.readJavaScriptProxy();; - GetNodeModifiers()->getWebModifier()->setJavaScriptProxy(self, (const Ark_JavaScriptProxy*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_Resource value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_Number_Resource value_value = value_value_buf;; + GetNodeModifiers()->getTextAreaModifier()->setMaxFontScale(self, (const Opt_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptProxy, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_password(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_heightAdaptivePolicy(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setPassword(self, value); + GetNodeModifiers()->getTextAreaModifier()->setHeightAdaptivePolicy(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_password, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_cacheMode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_heightAdaptivePolicy, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_maxLines(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setCacheMode(self, static_cast(value)); + GetNodeModifiers()->getTextAreaModifier()->setMaxLines(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_cacheMode, Ark_NativePointer, Ark_Int32) -void impl_WebAttribute_darkMode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_maxLines, Ark_NativePointer, KInteropNumber) +void impl_TextAreaAttribute_wordBreak(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setDarkMode(self, static_cast(value)); + GetNodeModifiers()->getTextAreaModifier()->setWordBreak(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_darkMode, Ark_NativePointer, Ark_Int32) -void impl_WebAttribute_forceDarkAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_wordBreak, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_lineBreakStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setForceDarkAccess(self, value); + GetNodeModifiers()->getTextAreaModifier()->setLineBreakStrategy(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_forceDarkAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_mediaOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_lineBreakStrategy, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_WebMediaOptions value_value = thisDeserializer.readWebMediaOptions();; - GetNodeModifiers()->getWebModifier()->setMediaOptions(self, (const Ark_WebMediaOptions*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_mediaOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_tableData(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setTableData(self, value); -} -KOALA_INTEROP_DIRECT_V2(WebAttribute_tableData, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_wideViewModeAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setWideViewModeAccess(self, value); + Ark_TextDecorationOptions value_value = thisDeserializer.readTextDecorationOptions();; + GetNodeModifiers()->getTextAreaModifier()->setDecoration(self, (const Ark_TextDecorationOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_wideViewModeAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_overviewModeAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setOverviewModeAccess(self, value); -} -KOALA_INTEROP_DIRECT_V2(WebAttribute_overviewModeAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_overScrollMode(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setOverScrollMode(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextAreaModifier()->setLetterSpacing(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_overScrollMode, Ark_NativePointer, Ark_Int32) -void impl_WebAttribute_textZoomAtio(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_lineSpacing(Ark_NativePointer thisPtr, Ark_NativePointer value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setTextZoomAtio(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getTextAreaModifier()->setLineSpacing(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_textZoomAtio, Ark_NativePointer, KInteropNumber) -void impl_WebAttribute_textZoomRatio(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_lineSpacing, Ark_NativePointer, Ark_NativePointer) +void impl_TextAreaAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setTextZoomRatio(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextAreaModifier()->setLineHeight(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_textZoomRatio, Ark_NativePointer, KInteropNumber) -void impl_WebAttribute_databaseAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_type(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setDatabaseAccess(self, value); + GetNodeModifiers()->getTextAreaModifier()->setType(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_databaseAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_initialScale(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_type, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_enableAutoFill(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setInitialScale(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getTextAreaModifier()->setEnableAutoFill(self, value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_initialScale, Ark_NativePointer, KInteropNumber) -void impl_WebAttribute_userAgent(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_enableAutoFill, Ark_NativePointer, Ark_Boolean) +void impl_TextAreaAttribute_contentType(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setUserAgent(self, (const Ark_String*) (&value)); + GetNodeModifiers()->getTextAreaModifier()->setContentType(self, static_cast(value)); } -KOALA_INTEROP_V2(WebAttribute_userAgent, Ark_NativePointer, KStringPtr) -void impl_WebAttribute_metaViewport(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_contentType, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_fontFeature(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setMetaViewport(self, value); + GetNodeModifiers()->getTextAreaModifier()->setFontFeature(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_metaViewport, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_onPageEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(TextAreaAttribute_fontFeature, Ark_NativePointer, KStringPtr) +void impl_TextAreaAttribute_onWillInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnPageEndEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPageEndEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPageEndEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnPageEnd(self, (const Callback_OnPageEndEvent_Void*)&value_value); + Callback_InsertValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_InsertValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Boolean))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnWillInsert(self, (const Callback_InsertValue_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onPageEnd, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onPageBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onWillInsert, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onDidInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnPageBeginEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPageBeginEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPageBeginEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnPageBegin(self, (const Callback_OnPageBeginEvent_Void*)&value_value); + Callback_InsertValue_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_InsertValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Void))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnDidInsert(self, (const Callback_InsertValue_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onPageBegin, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onProgressChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onDidInsert, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onWillDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnProgressChangeEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnProgressChangeEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnProgressChangeEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnProgressChange(self, (const Callback_OnProgressChangeEvent_Void*)&value_value); + Callback_DeleteValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DeleteValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Boolean))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnWillDelete(self, (const Callback_DeleteValue_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onProgressChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onTitleReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onWillDelete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onDidDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnTitleReceiveEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnTitleReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnTitleReceiveEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnTitleReceive(self, (const Callback_OnTitleReceiveEvent_Void*)&value_value); + Callback_DeleteValue_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DeleteValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Void))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnDidDelete(self, (const Callback_DeleteValue_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onTitleReceive, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onGeolocationHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onDidDelete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnGeolocationHide(self, (const Callback_Void*)&value_value); + Ark_EditMenuOptions value_value = thisDeserializer.readEditMenuOptions();; + GetNodeModifiers()->getTextAreaModifier()->setEditMenuOptions(self, (const Ark_EditMenuOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onGeolocationHide, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onGeolocationShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_enablePreviewText(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnGeolocationShowEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnGeolocationShowEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnGeolocationShowEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnGeolocationShow(self, (const Callback_OnGeolocationShowEvent_Void*)&value_value); + GetNodeModifiers()->getTextAreaModifier()->setEnablePreviewText(self, value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onGeolocationShow, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onRequestSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_enablePreviewText, Ark_NativePointer, Ark_Boolean) +void impl_TextAreaAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnRequestSelected(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getTextAreaModifier()->setEnableHapticFeedback(self, value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onRequestSelected, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onAlert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) +void impl_TextAreaAttribute_autoCapitalizationMode(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnAlertEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnAlertEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnAlertEvent_Boolean))))};; - GetNodeModifiers()->getWebModifier()->setOnAlert(self, (const Callback_OnAlertEvent_Boolean*)&value_value); + GetNodeModifiers()->getTextAreaModifier()->setAutoCapitalizationMode(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onAlert, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onBeforeUnload(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextAreaAttribute_autoCapitalizationMode, Ark_NativePointer, Ark_Int32) +void impl_TextAreaAttribute_halfLeading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnBeforeUnloadEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnBeforeUnloadEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnBeforeUnloadEvent_Boolean))))};; - GetNodeModifiers()->getWebModifier()->setOnBeforeUnload(self, (const Callback_OnBeforeUnloadEvent_Boolean*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getTextAreaModifier()->setHalfLeading(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onBeforeUnload, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onConfirm(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_halfLeading, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_ellipsisMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnConfirmEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnConfirmEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnConfirmEvent_Boolean))))};; - GetNodeModifiers()->getWebModifier()->setOnConfirm(self, (const Callback_OnConfirmEvent_Boolean*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_EllipsisMode value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EllipsisMode value_value = value_value_buf;; + GetNodeModifiers()->getTextAreaModifier()->setEllipsisMode(self, (const Opt_EllipsisMode*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onConfirm, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onPrompt(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_ellipsisMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_stopBackPress(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnPromptEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPromptEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPromptEvent_Boolean))))};; - GetNodeModifiers()->getWebModifier()->setOnPrompt(self, (const Callback_OnPromptEvent_Boolean*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getTextAreaModifier()->setStopBackPress(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onPrompt, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onConsole(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_stopBackPress, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_onWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnConsoleEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnConsoleEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnConsoleEvent_Boolean))))};; - GetNodeModifiers()->getWebModifier()->setOnConsole(self, (const Callback_OnConsoleEvent_Boolean*)&value_value); + Callback_EditableTextChangeValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_EditableTextChangeValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_EditableTextChangeValue_Boolean))))};; + GetNodeModifiers()->getTextAreaModifier()->setOnWillChange(self, (const Callback_EditableTextChangeValue_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onConsole, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onErrorReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_onWillChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_keyboardAppearance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnErrorReceiveEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnErrorReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnErrorReceiveEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnErrorReceive(self, (const Callback_OnErrorReceiveEvent_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardAppearance value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_KeyboardAppearance value_value = value_value_buf;; + GetNodeModifiers()->getTextAreaModifier()->setKeyboardAppearance(self, (const Opt_KeyboardAppearance*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onErrorReceive, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onHttpErrorReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_keyboardAppearance, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_inputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnHttpErrorReceiveEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnHttpErrorReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnHttpErrorReceiveEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnHttpErrorReceive(self, (const Callback_OnHttpErrorReceiveEvent_Void*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceStr value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceStr value_value = static_cast(value_value_buf);; + const auto error_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_String_Void error_value_buf = {}; + error_value_buf.tag = error_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_value_buf_runtimeType)) + { + error_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))}; + } + Opt_Callback_String_Void error_value = error_value_buf;; + GetNodeModifiers()->getTextAreaModifier()->setInputFilter(self, (const Ark_ResourceStr*)&value_value, (const Opt_Callback_String_Void*)&error_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onHttpErrorReceive, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onDownloadStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_inputFilter, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_showCounter(Ark_NativePointer thisPtr, Ark_Boolean value, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnDownloadStartEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnDownloadStartEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnDownloadStartEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnDownloadStart(self, (const Callback_OnDownloadStartEvent_Void*)&value_value); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_InputCounterOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readInputCounterOptions(); + } + Opt_InputCounterOptions options_value = options_value_buf;; + GetNodeModifiers()->getTextAreaModifier()->setShowCounter(self, value, (const Opt_InputCounterOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onDownloadStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onRefreshAccessedHistory(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V4(TextAreaAttribute_showCounter, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute_customKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnRefreshAccessedHistoryEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnRefreshAccessedHistoryEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnRefreshAccessedHistoryEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnRefreshAccessedHistory(self, (const Callback_OnRefreshAccessedHistoryEvent_Void*)&value_value); + CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readKeyboardOptions(); + } + Opt_KeyboardOptions options_value = options_value_buf;; + GetNodeModifiers()->getTextAreaModifier()->setCustomKeyboard(self, (const CustomNodeBuilder*)&value_value, (const Opt_KeyboardOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onRefreshAccessedHistory, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onUrlLoadIntercept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute_customKeyboard, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextAreaAttribute__onChangeEvent_text(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Type_WebAttribute_onUrlLoadIntercept_callback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Type_WebAttribute_onUrlLoadIntercept_callback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Type_WebAttribute_onUrlLoadIntercept_callback))))};; - GetNodeModifiers()->getWebModifier()->setOnUrlLoadIntercept(self, (const Type_WebAttribute_onUrlLoadIntercept_callback*)&value_value); + Callback_ResourceStr_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ResourceStr_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ResourceStr_Void))))};; + GetNodeModifiers()->getTextAreaModifier()->set_onChangeEvent_text(self, (const Callback_ResourceStr_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onUrlLoadIntercept, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onSslErrorReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Literal_Function_handler_Object_error_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_Function_handler_Object_error_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_Function_handler_Object_error_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnSslErrorReceive(self, (const Callback_Literal_Function_handler_Object_error_Void*)&value_value); +KOALA_INTEROP_DIRECT_V3(TextAreaAttribute__onChangeEvent_text, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TextClock_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getTextClockModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onSslErrorReceive, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onRenderExited0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(TextClock_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_TextClockInterface_setTextClockOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnRenderExitedEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnRenderExitedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnRenderExitedEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnRenderExited0(self, (const Callback_OnRenderExitedEvent_Void*)&value_value); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextClockOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readTextClockOptions(); + } + Opt_TextClockOptions options_value = options_value_buf;; + GetNodeModifiers()->getTextClockModifier()->setTextClockOptions(self, (const Opt_TextClockOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderExited0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onRenderExited1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextClockInterface_setTextClockOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextClockAttribute_format(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Literal_Object_detail_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_Object_detail_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_Object_detail_Boolean))))};; - GetNodeModifiers()->getWebModifier()->setOnRenderExited1(self, (const Callback_Literal_Object_detail_Boolean*)&value_value); + GetNodeModifiers()->getTextClockModifier()->setFormat(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderExited1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onShowFileSelector(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(TextClockAttribute_format, Ark_NativePointer, KStringPtr) +void impl_TextClockAttribute_onDateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnShowFileSelectorEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnShowFileSelectorEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnShowFileSelectorEvent_Boolean))))};; - GetNodeModifiers()->getWebModifier()->setOnShowFileSelector(self, (const Callback_OnShowFileSelectorEvent_Boolean*)&value_value); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getTextClockModifier()->setOnDateChange(self, (const Callback_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onShowFileSelector, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onFileSelectorShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextClockAttribute_onDateChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextClockAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Type_WebAttribute_onFileSelectorShow_callback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Type_WebAttribute_onFileSelectorShow_callback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Type_WebAttribute_onFileSelectorShow_callback))))};; - GetNodeModifiers()->getWebModifier()->setOnFileSelectorShow(self, (const Type_WebAttribute_onFileSelectorShow_callback*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextClockModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onFileSelectorShow, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onResourceLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextClockAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnResourceLoadEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnResourceLoadEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnResourceLoadEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnResourceLoad(self, (const Callback_OnResourceLoadEvent_Void*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextClockModifier()->setFontSize(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onResourceLoad, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onFullScreenExit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextClockAttribute_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnFullScreenExit(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getTextClockModifier()->setFontStyle(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onFullScreenExit, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onFullScreenEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextClockAttribute_fontStyle, Ark_NativePointer, Ark_Int32) +void impl_TextClockAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnFullScreenEnterCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnFullScreenEnterCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnFullScreenEnterCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnFullScreenEnter(self, (const OnFullScreenEnterCallback*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_FontWeight_String value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextClockModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onFullScreenEnter, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onScaleChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextClockAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnScaleChangeEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScaleChangeEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScaleChangeEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnScaleChange(self, (const Callback_OnScaleChangeEvent_Void*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceStr value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceStr value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextClockModifier()->setFontFamily(self, (const Ark_ResourceStr*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onScaleChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onHttpAuthRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextClockAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextClockAttribute_textShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnHttpAuthRequestEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnHttpAuthRequestEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnHttpAuthRequestEvent_Boolean))))};; - GetNodeModifiers()->getWebModifier()->setOnHttpAuthRequest(self, (const Callback_OnHttpAuthRequestEvent_Boolean*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = thisDeserializer.readShadowOptions(); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); + Array_ShadowOptions value_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf_u, value_value_buf_u_length); + for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { + value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readShadowOptions(); + } + value_value_buf.value1 = value_value_buf_u; + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_ShadowOptions_Array_ShadowOptions value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextClockModifier()->setTextShadow(self, (const Ark_Union_ShadowOptions_Array_ShadowOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onHttpAuthRequest, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onInterceptRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextClockAttribute_textShadow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextClockAttribute_fontFeature(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnInterceptRequestEvent_WebResourceResponse value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnInterceptRequestEvent_WebResourceResponse)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnInterceptRequestEvent_WebResourceResponse))))};; - GetNodeModifiers()->getWebModifier()->setOnInterceptRequest(self, (const Callback_OnInterceptRequestEvent_WebResourceResponse*)&value_value); + GetNodeModifiers()->getTextClockModifier()->setFontFeature(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onInterceptRequest, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onPermissionRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(TextClockAttribute_fontFeature, Ark_NativePointer, KStringPtr) +void impl_TextClockAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnPermissionRequestEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPermissionRequestEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPermissionRequestEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnPermissionRequest(self, (const Callback_OnPermissionRequestEvent_Void*)&value_value); + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getTextClockModifier()->setContentModifier(self, (const Ark_Object*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onPermissionRequest, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onScreenCaptureRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextClockAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextClockAttribute_dateTimeOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnScreenCaptureRequestEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScreenCaptureRequestEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScreenCaptureRequestEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnScreenCaptureRequest(self, (const Callback_OnScreenCaptureRequestEvent_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DateTimeOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readDateTimeOptions(); + } + Opt_DateTimeOptions value_value = value_value_buf;; + GetNodeModifiers()->getTextClockModifier()->setDateTimeOptions(self, (const Opt_DateTimeOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onScreenCaptureRequest, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onContextMenuShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnContextMenuShowEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnContextMenuShowEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnContextMenuShowEvent_Boolean))))};; - GetNodeModifiers()->getWebModifier()->setOnContextMenuShow(self, (const Callback_OnContextMenuShowEvent_Boolean*)&value_value); +KOALA_INTEROP_DIRECT_V3(TextClockAttribute_dateTimeOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TextInput_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getTextInputModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onContextMenuShow, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onContextMenuHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_2(TextInput_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_TextInputInterface_setTextInputOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnContextMenuHideCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnContextMenuHideCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnContextMenuHideCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnContextMenuHide(self, (const OnContextMenuHideCallback*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextInputOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readTextInputOptions(); + } + Opt_TextInputOptions value_value = value_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setTextInputOptions(self, (const Opt_TextInputOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onContextMenuHide, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_mediaPlayGestureAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextInputInterface_setTextInputOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_type(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setMediaPlayGestureAccess(self, value); + GetNodeModifiers()->getTextInputModifier()->setType(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_mediaPlayGestureAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_onSearchResultReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_type, Ark_NativePointer, Ark_Int32) +void impl_TextInputAttribute_contentType(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnSearchResultReceiveEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnSearchResultReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnSearchResultReceiveEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnSearchResultReceive(self, (const Callback_OnSearchResultReceiveEvent_Void*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setContentType(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onSearchResultReceive, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_contentType, Ark_NativePointer, Ark_Int32) +void impl_TextInputAttribute_placeholderColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnScrollEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScrollEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScrollEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnScroll(self, (const Callback_OnScrollEvent_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onSslErrorEventReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnSslErrorEventReceiveEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnSslErrorEventReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnSslErrorEventReceiveEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnSslErrorEventReceive(self, (const Callback_OnSslErrorEventReceiveEvent_Void*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setPlaceholderColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onSslErrorEventReceive, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onSslErrorEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_placeholderColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_textOverflow(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnSslErrorEventCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSslErrorEventCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSslErrorEventCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnSslErrorEvent(self, (const OnSslErrorEventCallback*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setTextOverflow(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onSslErrorEvent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onClientAuthenticationRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_textOverflow, Ark_NativePointer, Ark_Int32) +void impl_TextInputAttribute_textIndent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnClientAuthenticationEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnClientAuthenticationEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnClientAuthenticationEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnClientAuthenticationRequest(self, (const Callback_OnClientAuthenticationEvent_Void*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setTextIndent(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onClientAuthenticationRequest, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onWindowNew(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_textIndent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_placeholderFont(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnWindowNewEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnWindowNewEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnWindowNewEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnWindowNew(self, (const Callback_OnWindowNewEvent_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Font value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readFont(); + } + Opt_Font value_value = value_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setPlaceholderFont(self, (const Opt_Font*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onWindowNew, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onWindowExit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_placeholderFont, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_enterKeyType(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnWindowExit(self, (const Callback_Void*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setEnterKeyType(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onWindowExit, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_multiWindowAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_enterKeyType, Ark_NativePointer, Ark_Int32) +void impl_TextInputAttribute_caretColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setMultiWindowAccess(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setCaretColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_multiWindowAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_onInterceptKeyEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_caretColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onEditChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_KeyEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_KeyEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Boolean))))};; - GetNodeModifiers()->getWebModifier()->setOnInterceptKeyEvent(self, (const Callback_KeyEvent_Boolean*)&value_value); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getTextInputModifier()->setOnEditChanged(self, (const Callback_Boolean_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onInterceptKeyEvent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_webStandardFont(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onEditChanged, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onEditChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setWebStandardFont(self, (const Ark_String*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getTextInputModifier()->setOnEditChange(self, (const Callback_Boolean_Void*)&value_value); } -KOALA_INTEROP_V2(WebAttribute_webStandardFont, Ark_NativePointer, KStringPtr) -void impl_WebAttribute_webSerifFont(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onEditChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onSubmit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setWebSerifFont(self, (const Ark_String*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + OnSubmitCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSubmitCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSubmitCallback))))};; + GetNodeModifiers()->getTextInputModifier()->setOnSubmit(self, (const OnSubmitCallback*)&value_value); } -KOALA_INTEROP_V2(WebAttribute_webSerifFont, Ark_NativePointer, KStringPtr) -void impl_WebAttribute_webSansSerifFont(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onSubmit, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setWebSansSerifFont(self, (const Ark_String*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + EditableTextOnChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_EditableTextOnChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_EditableTextOnChangeCallback))))};; + GetNodeModifiers()->getTextInputModifier()->setOnChange(self, (const EditableTextOnChangeCallback*)&value_value); } -KOALA_INTEROP_V2(WebAttribute_webSansSerifFont, Ark_NativePointer, KStringPtr) -void impl_WebAttribute_webFixedFont(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onTextSelectionChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setWebFixedFont(self, (const Ark_String*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + OnTextSelectionChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTextSelectionChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTextSelectionChangeCallback))))};; + GetNodeModifiers()->getTextInputModifier()->setOnTextSelectionChange(self, (const OnTextSelectionChangeCallback*)&value_value); } -KOALA_INTEROP_V2(WebAttribute_webFixedFont, Ark_NativePointer, KStringPtr) -void impl_WebAttribute_webFantasyFont(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onTextSelectionChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onContentScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setWebFantasyFont(self, (const Ark_String*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + OnContentScrollCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnContentScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnContentScrollCallback))))};; + GetNodeModifiers()->getTextInputModifier()->setOnContentScroll(self, (const OnContentScrollCallback*)&value_value); } -KOALA_INTEROP_V2(WebAttribute_webFantasyFont, Ark_NativePointer, KStringPtr) -void impl_WebAttribute_webCursiveFont(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onContentScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_maxLength(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setWebCursiveFont(self, (const Ark_String*) (&value)); + GetNodeModifiers()->getTextInputModifier()->setMaxLength(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_V2(WebAttribute_webCursiveFont, Ark_NativePointer, KStringPtr) -void impl_WebAttribute_defaultFixedFontSize(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_maxLength, Ark_NativePointer, KInteropNumber) +void impl_TextInputAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setDefaultFixedFontSize(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_defaultFixedFontSize, Ark_NativePointer, KInteropNumber) -void impl_WebAttribute_defaultFontSize(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setDefaultFontSize(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setFontSize(self, (const Ark_Length*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_defaultFontSize, Ark_NativePointer, KInteropNumber) -void impl_WebAttribute_minFontSize(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setMinFontSize(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getTextInputModifier()->setFontStyle(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_minFontSize, Ark_NativePointer, KInteropNumber) -void impl_WebAttribute_minLogicalFontSize(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_fontStyle, Ark_NativePointer, Ark_Int32) +void impl_TextInputAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setMinLogicalFontSize(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_FontWeight_String value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_minLogicalFontSize, Ark_NativePointer, KInteropNumber) -void impl_WebAttribute_defaultTextEncodingFormat(Ark_NativePointer thisPtr, const KStringPtr& value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setDefaultTextEncodingFormat(self, (const Ark_String*) (&value)); -} -KOALA_INTEROP_V2(WebAttribute_defaultTextEncodingFormat, Ark_NativePointer, KStringPtr) -void impl_WebAttribute_forceDisplayScrollBar(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setForceDisplayScrollBar(self, value); -} -KOALA_INTEROP_DIRECT_V2(WebAttribute_forceDisplayScrollBar, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_blockNetwork(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setBlockNetwork(self, value); -} -KOALA_INTEROP_DIRECT_V2(WebAttribute_blockNetwork, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_horizontalScrollBarAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setHorizontalScrollBarAccess(self, value); -} -KOALA_INTEROP_DIRECT_V2(WebAttribute_horizontalScrollBarAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_verticalScrollBarAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setVerticalScrollBarAccess(self, value); -} -KOALA_INTEROP_DIRECT_V2(WebAttribute_verticalScrollBarAccess, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_onTouchIconUrlReceived(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnTouchIconUrlReceivedEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnTouchIconUrlReceivedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnTouchIconUrlReceivedEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnTouchIconUrlReceived(self, (const Callback_OnTouchIconUrlReceivedEvent_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_onTouchIconUrlReceived, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onFaviconReceived(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnFaviconReceivedEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnFaviconReceivedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnFaviconReceivedEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnFaviconReceived(self, (const Callback_OnFaviconReceivedEvent_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_onFaviconReceived, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onPageVisible(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnPageVisibleEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPageVisibleEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPageVisibleEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnPageVisible(self, (const Callback_OnPageVisibleEvent_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_onPageVisible, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onDataResubmitted(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnDataResubmittedEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnDataResubmittedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnDataResubmittedEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnDataResubmitted(self, (const Callback_OnDataResubmittedEvent_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_onDataResubmitted, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_pinchSmooth(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setPinchSmooth(self, value); -} -KOALA_INTEROP_DIRECT_V2(WebAttribute_pinchSmooth, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_allowWindowOpenMethod(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setAllowWindowOpenMethod(self, value); -} -KOALA_INTEROP_DIRECT_V2(WebAttribute_allowWindowOpenMethod, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_onAudioStateChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnAudioStateChangedEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnAudioStateChangedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnAudioStateChangedEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnAudioStateChanged(self, (const Callback_OnAudioStateChangedEvent_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_onAudioStateChanged, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onFirstContentfulPaint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnFirstContentfulPaintEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnFirstContentfulPaintEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnFirstContentfulPaintEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnFirstContentfulPaint(self, (const Callback_OnFirstContentfulPaintEvent_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_onFirstContentfulPaint, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onFirstMeaningfulPaint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnFirstMeaningfulPaintCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnFirstMeaningfulPaintCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnFirstMeaningfulPaintCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnFirstMeaningfulPaint(self, (const OnFirstMeaningfulPaintCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_onFirstMeaningfulPaint, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onLargestContentfulPaint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnLargestContentfulPaintCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnLargestContentfulPaintCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnLargestContentfulPaintCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnLargestContentfulPaint(self, (const OnLargestContentfulPaintCallback*)&value_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceStr value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceStr value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setFontFamily(self, (const Ark_ResourceStr*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onLargestContentfulPaint, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onLoadIntercept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onCopy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnLoadInterceptEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnLoadInterceptEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnLoadInterceptEvent_Boolean))))};; - GetNodeModifiers()->getWebModifier()->setOnLoadIntercept(self, (const Callback_OnLoadInterceptEvent_Boolean*)&value_value); + Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; + GetNodeModifiers()->getTextInputModifier()->setOnCopy(self, (const Callback_String_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onLoadIntercept, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onControllerAttached(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onCopy, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onCut(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnControllerAttached(self, (const Callback_Void*)&value_value); + Callback_String_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))};; + GetNodeModifiers()->getTextInputModifier()->setOnCut(self, (const Callback_String_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onControllerAttached, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onOverScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onCut, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onPaste(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_OnOverScrollEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnOverScrollEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnOverScrollEvent_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnOverScroll(self, (const Callback_OnOverScrollEvent_Void*)&value_value); + OnPasteCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnPasteCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnPasteCallback))))};; + GetNodeModifiers()->getTextInputModifier()->setOnPaste(self, (const OnPasteCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onOverScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onSafeBrowsingCheckResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onPaste, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_copyOption(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnSafeBrowsingCheckResultCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSafeBrowsingCheckResultCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSafeBrowsingCheckResultCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnSafeBrowsingCheckResult(self, (const OnSafeBrowsingCheckResultCallback*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setCopyOption(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onSafeBrowsingCheckResult, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onNavigationEntryCommitted(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_copyOption, Ark_NativePointer, Ark_Int32) +void impl_TextInputAttribute_showPasswordIcon(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnNavigationEntryCommittedCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnNavigationEntryCommittedCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnNavigationEntryCommittedCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnNavigationEntryCommitted(self, (const OnNavigationEntryCommittedCallback*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setShowPasswordIcon(self, value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onNavigationEntryCommitted, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onIntelligentTrackingPreventionResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_showPasswordIcon, Ark_NativePointer, Ark_Boolean) +void impl_TextInputAttribute_textAlign(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnIntelligentTrackingPreventionCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnIntelligentTrackingPreventionCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnIntelligentTrackingPreventionCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnIntelligentTrackingPreventionResult(self, (const OnIntelligentTrackingPreventionCallback*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setTextAlign(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onIntelligentTrackingPreventionResult, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_javaScriptOnDocumentStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_textAlign, Ark_NativePointer, Ark_Int32) +void impl_TextInputAttribute_style(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_ScriptItem value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - value_value_buf.array[value_value_buf_i] = thisDeserializer.readScriptItem(); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_TextInputStyle_TextContentStyle value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } - Array_ScriptItem value_value = value_value_buf;; - GetNodeModifiers()->getWebModifier()->setJavaScriptOnDocumentStart(self, (const Array_ScriptItem*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptOnDocumentStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_javaScriptOnDocumentEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_ScriptItem value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - value_value_buf.array[value_value_buf_i] = thisDeserializer.readScriptItem(); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); } - Array_ScriptItem value_value = value_value_buf;; - GetNodeModifiers()->getWebModifier()->setJavaScriptOnDocumentEnd(self, (const Array_ScriptItem*)&value_value); + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_TextInputStyle_TextContentStyle value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setStyle(self, (const Ark_Union_TextInputStyle_TextContentStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptOnDocumentEnd, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_layoutMode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_style, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_caretStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setLayoutMode(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CaretStyle value_value = thisDeserializer.readCaretStyle();; + GetNodeModifiers()->getTextInputModifier()->setCaretStyle(self, (const Ark_CaretStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_layoutMode, Ark_NativePointer, Ark_Int32) -void impl_WebAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_caretStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_selectedBackgroundColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_NestedScrollOptions_NestedScrollOptionsExt value_value_buf = {}; + Ark_ResourceColor value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readNestedScrollOptions(); + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readNestedScrollOptionsExt(); + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_NestedScrollOptions_NestedScrollOptionsExt value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getWebModifier()->setNestedScroll(self, (const Ark_Union_NestedScrollOptions_NestedScrollOptionsExt*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_enableNativeEmbedMode(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setEnableNativeEmbedMode(self, value); + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setSelectedBackgroundColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_enableNativeEmbedMode, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_onNativeEmbedLifecycleChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_selectedBackgroundColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_caretPosition(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_NativeEmbedDataInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NativeEmbedDataInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NativeEmbedDataInfo_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnNativeEmbedLifecycleChange(self, (const Callback_NativeEmbedDataInfo_Void*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setCaretPosition(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onNativeEmbedLifecycleChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onNativeEmbedVisibilityChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_caretPosition, Ark_NativePointer, KInteropNumber) +void impl_TextInputAttribute_enableKeyboardOnFocus(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnNativeEmbedVisibilityChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnNativeEmbedVisibilityChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnNativeEmbedVisibilityChangeCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnNativeEmbedVisibilityChange(self, (const OnNativeEmbedVisibilityChangeCallback*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setEnableKeyboardOnFocus(self, value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onNativeEmbedVisibilityChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onNativeEmbedGestureEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_enableKeyboardOnFocus, Ark_NativePointer, Ark_Boolean) +void impl_TextInputAttribute_passwordIcon(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_NativeEmbedTouchInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NativeEmbedTouchInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NativeEmbedTouchInfo_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnNativeEmbedGestureEvent(self, (const Callback_NativeEmbedTouchInfo_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_onNativeEmbedGestureEvent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_copyOptions(Ark_NativePointer thisPtr, Ark_Int32 value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setCopyOptions(self, static_cast(value)); + Ark_PasswordIcon value_value = thisDeserializer.readPasswordIcon();; + GetNodeModifiers()->getTextInputModifier()->setPasswordIcon(self, (const Ark_PasswordIcon*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_copyOptions, Ark_NativePointer, Ark_Int32) -void impl_WebAttribute_onOverrideUrlLoading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_passwordIcon, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_showError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnOverrideUrlLoadingCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnOverrideUrlLoadingCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnOverrideUrlLoadingCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnOverrideUrlLoading(self, (const OnOverrideUrlLoadingCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_onOverrideUrlLoading, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_textAutosizing(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setTextAutosizing(self, value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_ResourceStr value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_ResourceStr value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_ResourceStr value_value = value_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setShowError(self, (const Opt_ResourceStr*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_textAutosizing, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_enableNativeMediaPlayer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showError, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_showUnit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_NativeMediaPlayerConfig value_value = thisDeserializer.readNativeMediaPlayerConfig();; - GetNodeModifiers()->getWebModifier()->setEnableNativeMediaPlayer(self, (const Ark_NativeMediaPlayerConfig*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WebAttribute_enableNativeMediaPlayer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_enableSmoothDragResize(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setEnableSmoothDragResize(self, value); + CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; + GetNodeModifiers()->getTextInputModifier()->setShowUnit(self, (const CustomNodeBuilder*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_enableSmoothDragResize, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_onRenderProcessNotResponding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_showUnit, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_showUnderline(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnRenderProcessNotRespondingCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnRenderProcessNotRespondingCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnRenderProcessNotRespondingCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnRenderProcessNotResponding(self, (const OnRenderProcessNotRespondingCallback*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setShowUnderline(self, value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderProcessNotResponding, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onRenderProcessResponding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_showUnderline, Ark_NativePointer, Ark_Boolean) +void impl_TextInputAttribute_underlineColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - OnRenderProcessRespondingCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnRenderProcessRespondingCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnRenderProcessRespondingCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnRenderProcessResponding(self, (const OnRenderProcessRespondingCallback*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_ResourceColor_UnderlineColor value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_ResourceColor_UnderlineColor value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + const Ark_Int8 value_value_buf__u_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf__u = {}; + value_value_buf__u.selector = value_value_buf__u_selector; + if (value_value_buf__u_selector == 0) { + value_value_buf__u.selector = 0; + value_value_buf__u.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf__u_selector == 1) { + value_value_buf__u.selector = 1; + value_value_buf__u.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__u_selector == 2) { + value_value_buf__u.selector = 2; + value_value_buf__u.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__u_selector == 3) { + value_value_buf__u.selector = 3; + value_value_buf__u.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf__u has to be chosen through deserialisation."); + } + value_value_buf_.value0 = static_cast(value_value_buf__u); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readUnderlineColor(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_ResourceColor_UnderlineColor value_value = value_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setUnderlineColor(self, (const Opt_Union_ResourceColor_UnderlineColor*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderProcessResponding, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_selectionMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_underlineColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_selectionMenuHidden(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_ExpandedMenuItemOptions value_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&value_value_buf, value_value_buf_length); - for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { - value_value_buf.array[value_value_buf_i] = thisDeserializer.readExpandedMenuItemOptions(); - } - Array_ExpandedMenuItemOptions value_value = value_value_buf;; - GetNodeModifiers()->getWebModifier()->setSelectionMenuOptions(self, (const Array_ExpandedMenuItemOptions*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setSelectionMenuHidden(self, value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_selectionMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onViewportFitChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_selectionMenuHidden, Ark_NativePointer, Ark_Boolean) +void impl_TextInputAttribute_barState(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnViewportFitChangedCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnViewportFitChangedCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnViewportFitChangedCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnViewportFitChanged(self, (const OnViewportFitChangedCallback*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setBarState(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onViewportFitChanged, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onInterceptKeyboardAttach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_barState, Ark_NativePointer, Ark_Int32) +void impl_TextInputAttribute_maxLines(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - WebKeyboardCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_WebKeyboardCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_WebKeyboardCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnInterceptKeyboardAttach(self, (const WebKeyboardCallback*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setMaxLines(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onInterceptKeyboardAttach, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_onAdsBlocked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_maxLines, Ark_NativePointer, KInteropNumber) +void impl_TextInputAttribute_wordBreak(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnAdsBlockedCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnAdsBlockedCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnAdsBlockedCallback))))};; - GetNodeModifiers()->getWebModifier()->setOnAdsBlocked(self, (const OnAdsBlockedCallback*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setWordBreak(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_onAdsBlocked, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_keyboardAvoidMode(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_wordBreak, Ark_NativePointer, Ark_Int32) +void impl_TextInputAttribute_lineBreakStrategy(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setKeyboardAvoidMode(self, static_cast(value)); + GetNodeModifiers()->getTextInputModifier()->setLineBreakStrategy(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_keyboardAvoidMode, Ark_NativePointer, Ark_Int32) -void impl_WebAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_lineBreakStrategy, Ark_NativePointer, Ark_Int32) +void impl_TextInputAttribute_cancelButton0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_EditMenuOptions value_value = thisDeserializer.readEditMenuOptions();; - GetNodeModifiers()->getWebModifier()->setEditMenuOptions(self, (const Ark_EditMenuOptions*)&value_value); + Ark_CancelButtonOptions value_value = thisDeserializer.readCancelButtonOptions();; + GetNodeModifiers()->getTextInputModifier()->setCancelButton0(self, (const Ark_CancelButtonOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WebAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WebAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_cancelButton0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_cancelButton1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setEnableHapticFeedback(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CancelButtonSymbolOptions value_value = thisDeserializer.readCancelButtonSymbolOptions();; + GetNodeModifiers()->getTextInputModifier()->setCancelButton1(self, (const Ark_CancelButtonSymbolOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WebAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) -void impl_WebAttribute_registerNativeEmbedRule(Ark_NativePointer thisPtr, const KStringPtr& tag, const KStringPtr& type) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_cancelButton1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_selectAll(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWebModifier()->setRegisterNativeEmbedRule(self, (const Ark_String*) (&tag), (const Ark_String*) (&type)); + GetNodeModifiers()->getTextInputModifier()->setSelectAll(self, value); } -KOALA_INTEROP_V3(WebAttribute_registerNativeEmbedRule, Ark_NativePointer, KStringPtr, KStringPtr) -void impl_WebAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, Ark_Int32 elementType, KSerializerBuffer thisArray, int32_t thisLength, Ark_Int32 responseType) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_selectAll, Ark_NativePointer, Ark_Boolean) +void impl_TextInputAttribute_minFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - CustomNodeBuilder content_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SelectionMenuOptionsExt options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readSelectionMenuOptionsExt(); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } - Opt_SelectionMenuOptionsExt options_value = options_value_buf;; - GetNodeModifiers()->getWebModifier()->setBindSelectionMenu(self, static_cast(elementType), (const CustomNodeBuilder*)&content_value, static_cast(responseType), (const Opt_SelectionMenuOptionsExt*)&options_value); -} -KOALA_INTEROP_DIRECT_V5(WebAttribute_bindSelectionMenu, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t, Ark_Int32) -Ark_NativePointer impl_WindowScene_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getWindowSceneModifier()->construct(id, flags); + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setMinFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_2(WindowScene_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_WindowSceneInterface_setWindowSceneOptions(Ark_NativePointer thisPtr, KInteropNumber persistentId) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_minFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_maxFontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWindowSceneModifier()->setWindowSceneOptions(self, (const Ark_Number*) (&persistentId)); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_String_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setMaxFontSize(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WindowSceneInterface_setWindowSceneOptions, Ark_NativePointer, KInteropNumber) -void impl_WindowSceneAttribute_attractionEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber fraction) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_maxFontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_minFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Position destination_value = thisDeserializer.readPosition();; - GetNodeModifiers()->getWindowSceneModifier()->setAttractionEffect(self, (const Ark_Position*)&destination_value, (const Ark_Number*) (&fraction)); -} -KOALA_INTEROP_DIRECT_V4(WindowSceneAttribute_attractionEffect, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber) -Ark_NativePointer impl_XComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getXComponentModifier()->construct(id, flags); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_Resource value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_Number_Resource value_value = value_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setMinFontScale(self, (const Opt_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_2(XComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_XComponentInterface_setXComponentOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_minFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_maxFontScale(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Type_XComponentInterface_callable0_value value_value_buf = {}; - value_value_buf.id = static_cast(thisDeserializer.readString()); - value_value_buf.type = static_cast(thisDeserializer.readString()); - const auto value_value_buf_libraryname_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_String value_value_buf_libraryname_buf = {}; - value_value_buf_libraryname_buf.tag = value_value_buf_libraryname_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_libraryname_buf_runtimeType)) - { - value_value_buf_libraryname_buf.value = static_cast(thisDeserializer.readString()); - } - value_value_buf.libraryname = value_value_buf_libraryname_buf; - const auto value_value_buf_controller_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_XComponentController value_value_buf_controller_buf = {}; - value_value_buf_controller_buf.tag = value_value_buf_controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_controller_buf_runtimeType)) - { - value_value_buf_controller_buf.value = static_cast(thisDeserializer.readXComponentController()); - } - value_value_buf.controller = value_value_buf_controller_buf; - Ark_Type_XComponentInterface_callable0_value value_value = value_value_buf;; - GetNodeModifiers()->getXComponentModifier()->setXComponentOptions0(self, (const Ark_Type_XComponentInterface_callable0_value*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_XComponentInterface_setXComponentOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Type_XComponentInterface_callable1_value value_value_buf = {}; - value_value_buf.id = static_cast(thisDeserializer.readString()); - value_value_buf.type = static_cast(thisDeserializer.readInt32()); - const auto value_value_buf_libraryname_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_String value_value_buf_libraryname_buf = {}; - value_value_buf_libraryname_buf.tag = value_value_buf_libraryname_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_libraryname_buf_runtimeType)) - { - value_value_buf_libraryname_buf.value = static_cast(thisDeserializer.readString()); - } - value_value_buf.libraryname = value_value_buf_libraryname_buf; - const auto value_value_buf_controller_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_XComponentController value_value_buf_controller_buf = {}; - value_value_buf_controller_buf.tag = value_value_buf_controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_controller_buf_runtimeType)) - { - value_value_buf_controller_buf.value = static_cast(thisDeserializer.readXComponentController()); - } - value_value_buf.controller = value_value_buf_controller_buf; - Ark_Type_XComponentInterface_callable1_value value_value = value_value_buf;; - GetNodeModifiers()->getXComponentModifier()->setXComponentOptions1(self, (const Ark_Type_XComponentInterface_callable1_value*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_XComponentInterface_setXComponentOptions2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_XComponentOptions options_value = thisDeserializer.readXComponentOptions();; - GetNodeModifiers()->getXComponentModifier()->setXComponentOptions2(self, (const Ark_XComponentOptions*)&options_value); -} -KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions2, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_XComponentAttribute_onLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - OnNativeLoadCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnNativeLoadCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnNativeLoadCallback))))};; - GetNodeModifiers()->getXComponentModifier()->setOnLoad(self, (const OnNativeLoadCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(XComponentAttribute_onLoad, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_XComponentAttribute_onDestroy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; - GetNodeModifiers()->getXComponentModifier()->setOnDestroy(self, (const VoidCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(XComponentAttribute_onDestroy, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_XComponentAttribute_enableAnalyzer(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getXComponentModifier()->setEnableAnalyzer(self, value); -} -KOALA_INTEROP_DIRECT_V2(XComponentAttribute_enableAnalyzer, Ark_NativePointer, Ark_Boolean) -void impl_XComponentAttribute_enableSecure(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getXComponentModifier()->setEnableSecure(self, value); -} -KOALA_INTEROP_DIRECT_V2(XComponentAttribute_enableSecure, Ark_NativePointer, Ark_Boolean) -Ark_NativePointer impl_SideBarContainer_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getSideBarContainerModifier()->construct(id, flags); -} -KOALA_INTEROP_DIRECT_2(SideBarContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_SideBarContainerInterface_setSideBarContainerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto type_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SideBarContainerType type_value_buf = {}; - type_value_buf.tag = type_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_Resource value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - type_value_buf.value = static_cast(thisDeserializer.readInt32()); + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); } - Opt_SideBarContainerType type_value = type_value_buf;; - GetNodeModifiers()->getSideBarContainerModifier()->setSideBarContainerOptions(self, (const Opt_SideBarContainerType*)&type_value); -} -KOALA_INTEROP_DIRECT_V3(SideBarContainerInterface_setSideBarContainerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SideBarContainerAttribute_showSideBar(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSideBarContainerModifier()->setShowSideBar(self, value); + Opt_Union_Number_Resource value_value = value_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setMaxFontScale(self, (const Opt_Union_Number_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_showSideBar, Ark_NativePointer, Ark_Boolean) -void impl_SideBarContainerAttribute_controlButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_maxFontScale, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_heightAdaptivePolicy(Ark_NativePointer thisPtr, Ark_Int32 value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_ButtonStyle value_value = thisDeserializer.readButtonStyle();; - GetNodeModifiers()->getSideBarContainerModifier()->setControlButton(self, (const Ark_ButtonStyle*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setHeightAdaptivePolicy(self, static_cast(value)); } -KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_controlButton, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SideBarContainerAttribute_showControlButton(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_heightAdaptivePolicy, Ark_NativePointer, Ark_Int32) +void impl_TextInputAttribute_enableAutoFill(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSideBarContainerModifier()->setShowControlButton(self, value); + GetNodeModifiers()->getTextInputModifier()->setEnableAutoFill(self, value); } -KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_showControlButton, Ark_NativePointer, Ark_Boolean) -void impl_SideBarContainerAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_enableAutoFill, Ark_NativePointer, Ark_Boolean) +void impl_TextInputAttribute_decoration(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getSideBarContainerModifier()->setOnChange(self, (const Callback_Boolean_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SideBarContainerAttribute_sideBarWidth0(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth0(self, (const Ark_Number*) (&value)); + Ark_TextDecorationOptions value_value = thisDeserializer.readTextDecorationOptions();; + GetNodeModifiers()->getTextInputModifier()->setDecoration(self, (const Ark_TextDecorationOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_sideBarWidth0, Ark_NativePointer, KInteropNumber) -void impl_SideBarContainerAttribute_sideBarWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_decoration, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_letterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; @@ -19033,28 +19799,23 @@ void impl_SideBarContainerAttribute_sideBarWidth1(Ark_NativePointer thisPtr, KSe else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth1(self, (const Ark_Union_String_Number_Resource*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_sideBarWidth1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SideBarContainerAttribute_minSideBarWidth0(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSideBarContainerModifier()->setMinSideBarWidth0(self, (const Ark_Number*) (&value)); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setLetterSpacing(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_minSideBarWidth0, Ark_NativePointer, KInteropNumber) -void impl_SideBarContainerAttribute_minSideBarWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_letterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_lineHeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_Union_Number_String_Resource value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; @@ -19063,172 +19824,150 @@ void impl_SideBarContainerAttribute_minSideBarWidth1(Ark_NativePointer thisPtr, else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSideBarContainerModifier()->setMinSideBarWidth1(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_Union_Number_String_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextInputModifier()->setLineHeight(self, (const Ark_Union_Number_String_Resource*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_minSideBarWidth1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SideBarContainerAttribute_maxSideBarWidth0(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_lineHeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_passwordRules(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSideBarContainerModifier()->setMaxSideBarWidth0(self, (const Ark_Number*) (&value)); + GetNodeModifiers()->getTextInputModifier()->setPasswordRules(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_maxSideBarWidth0, Ark_NativePointer, KInteropNumber) -void impl_SideBarContainerAttribute_maxSideBarWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_V2(TextInputAttribute_passwordRules, Ark_NativePointer, KStringPtr) +void impl_TextInputAttribute_fontFeature(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSideBarContainerModifier()->setMaxSideBarWidth1(self, (const Ark_Union_String_Number_Resource*)&value_value); + GetNodeModifiers()->getTextInputModifier()->setFontFeature(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_maxSideBarWidth1, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SideBarContainerAttribute_autoHide(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_V2(TextInputAttribute_fontFeature, Ark_NativePointer, KStringPtr) +void impl_TextInputAttribute_showPassword(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSideBarContainerModifier()->setAutoHide(self, value); + GetNodeModifiers()->getTextInputModifier()->setShowPassword(self, value); } -KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_autoHide, Ark_NativePointer, Ark_Boolean) -void impl_SideBarContainerAttribute_sideBarPosition(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_showPassword, Ark_NativePointer, Ark_Boolean) +void impl_TextInputAttribute_onSecurityStateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSideBarContainerModifier()->setSideBarPosition(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getTextInputModifier()->setOnSecurityStateChange(self, (const Callback_Boolean_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_sideBarPosition, Ark_NativePointer, Ark_Int32) -void impl_SideBarContainerAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onSecurityStateChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onWillInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_DividerStyle value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - value_value_buf.value = thisDeserializer.readDividerStyle(); - } - Opt_DividerStyle value_value = value_value_buf;; - GetNodeModifiers()->getSideBarContainerModifier()->setDivider(self, (const Opt_DividerStyle*)&value_value); + Callback_InsertValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_InsertValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Boolean))))};; + GetNodeModifiers()->getTextInputModifier()->setOnWillInsert(self, (const Callback_InsertValue_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SideBarContainerAttribute_minContentWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onWillInsert, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onDidInsert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); - } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getSideBarContainerModifier()->setMinContentWidth(self, (const Ark_Union_String_Number_Resource*)&value_value); + Callback_InsertValue_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_InsertValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_InsertValue_Void))))};; + GetNodeModifiers()->getTextInputModifier()->setOnDidInsert(self, (const Callback_InsertValue_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_minContentWidth, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_SideBarContainerAttribute__onChangeEvent_showSideBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onDidInsert, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onWillDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; - GetNodeModifiers()->getSideBarContainerModifier()->set_onChangeEvent_showSideBar(self, (const Callback_Boolean_Void*)&callback_value); + Callback_DeleteValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DeleteValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Boolean))))};; + GetNodeModifiers()->getTextInputModifier()->setOnWillDelete(self, (const Callback_DeleteValue_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute__onChangeEvent_showSideBar, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_RemoteWindow_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getRemoteWindowModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onWillDelete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onDidDelete(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_DeleteValue_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DeleteValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DeleteValue_Void))))};; + GetNodeModifiers()->getTextInputModifier()->setOnDidDelete(self, (const Callback_DeleteValue_Void*)&value_value); } -KOALA_INTEROP_DIRECT_2(RemoteWindow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_RemoteWindowInterface_setRemoteWindowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onDidDelete, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_WindowAnimationTarget target_value = thisDeserializer.readWindowAnimationTarget();; - GetNodeModifiers()->getRemoteWindowModifier()->setRemoteWindowOptions(self, (const Ark_WindowAnimationTarget*)&target_value); + Ark_EditMenuOptions value_value = thisDeserializer.readEditMenuOptions();; + GetNodeModifiers()->getTextInputModifier()->setEditMenuOptions(self, (const Ark_EditMenuOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(RemoteWindowInterface_setRemoteWindowOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_WaterFlow_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getWaterFlowModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_enablePreviewText(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTextInputModifier()->setEnablePreviewText(self, value); } -KOALA_INTEROP_DIRECT_2(WaterFlow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_WaterFlowInterface_setWaterFlowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_enablePreviewText, Ark_NativePointer, Ark_Boolean) +void impl_TextInputAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTextInputModifier()->setEnableHapticFeedback(self, value); +} +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) +void impl_TextInputAttribute_autoCapitalizationMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTextInputModifier()->setAutoCapitalizationMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(TextInputAttribute_autoCapitalizationMode, Ark_NativePointer, Ark_Int32) +void impl_TextInputAttribute_halfLeading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_WaterFlowOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readWaterFlowOptions(); + value_value_buf.value = thisDeserializer.readBoolean(); } - Opt_WaterFlowOptions options_value = options_value_buf;; - GetNodeModifiers()->getWaterFlowModifier()->setWaterFlowOptions(self, (const Opt_WaterFlowOptions*)&options_value); + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setHalfLeading(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WaterFlowInterface_setWaterFlowOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_columnsTemplate(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_halfLeading, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_ellipsisMode(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWaterFlowModifier()->setColumnsTemplate(self, (const Ark_String*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_EllipsisMode value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_EllipsisMode value_value = value_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setEllipsisMode(self, (const Opt_EllipsisMode*)&value_value); } -KOALA_INTEROP_V2(WaterFlowAttribute_columnsTemplate, Ark_NativePointer, KStringPtr) -void impl_WaterFlowAttribute_itemConstraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_ellipsisMode, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_stopBackPress(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_ConstraintSizeOptions value_value = thisDeserializer.readConstraintSizeOptions();; - GetNodeModifiers()->getWaterFlowModifier()->setItemConstraintSize(self, (const Ark_ConstraintSizeOptions*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setStopBackPress(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_itemConstraintSize, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_rowsTemplate(Ark_NativePointer thisPtr, const KStringPtr& value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_stopBackPress, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_onWillChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWaterFlowModifier()->setRowsTemplate(self, (const Ark_String*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_EditableTextChangeValue_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_EditableTextChangeValue_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_EditableTextChangeValue_Boolean))))};; + GetNodeModifiers()->getTextInputModifier()->setOnWillChange(self, (const Callback_EditableTextChangeValue_Boolean*)&value_value); } -KOALA_INTEROP_V2(WaterFlowAttribute_rowsTemplate, Ark_NativePointer, KStringPtr) -void impl_WaterFlowAttribute_columnsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_onWillChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_keyboardAppearance(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardAppearance value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getWaterFlowModifier()->setColumnsGap(self, (const Ark_Union_String_Number_Resource*)&value_value); + Opt_KeyboardAppearance value_value = value_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setKeyboardAppearance(self, (const Opt_KeyboardAppearance*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_columnsGap, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_rowsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_keyboardAppearance, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_inputFilter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource value_value_buf = {}; + Ark_ResourceStr value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -19236,41 +19975,82 @@ void impl_WaterFlowAttribute_rowsGap(Ark_NativePointer thisPtr, KSerializerBuffe } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readResource(); + value_value_buf.value1 = thisDeserializer.readResource(); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getWaterFlowModifier()->setRowsGap(self, (const Ark_Union_String_Number_Resource*)&value_value); + Ark_ResourceStr value_value = static_cast(value_value_buf);; + const auto error_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_String_Void error_value_buf = {}; + error_value_buf.tag = error_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_value_buf_runtimeType)) + { + error_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))}; + } + Opt_Callback_String_Void error_value = error_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setInputFilter(self, (const Ark_ResourceStr*)&value_value, (const Opt_Callback_String_Void*)&error_value); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_rowsGap, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_layoutDirection(Ark_NativePointer thisPtr, Ark_Int32 value) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_inputFilter, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_customKeyboard(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWaterFlowModifier()->setLayoutDirection(self, static_cast(value)); + Deserializer thisDeserializer(thisArray, thisLength); + CustomNodeBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_KeyboardOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readKeyboardOptions(); + } + Opt_KeyboardOptions options_value = options_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setCustomKeyboard(self, (const CustomNodeBuilder*)&value_value, (const Opt_KeyboardOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V2(WaterFlowAttribute_layoutDirection, Ark_NativePointer, Ark_Int32) -void impl_WaterFlowAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute_customKeyboard, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextInputAttribute_showCounter(Ark_NativePointer thisPtr, Ark_Boolean value, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_NestedScrollOptions value_value = thisDeserializer.readNestedScrollOptions();; - GetNodeModifiers()->getWaterFlowModifier()->setNestedScroll(self, (const Ark_NestedScrollOptions*)&value_value); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_InputCounterOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readInputCounterOptions(); + } + Opt_InputCounterOptions options_value = options_value_buf;; + GetNodeModifiers()->getTextInputModifier()->setShowCounter(self, value, (const Opt_InputCounterOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_enableScrollInteraction(Ark_NativePointer thisPtr, Ark_Boolean value) { +KOALA_INTEROP_DIRECT_V4(TextInputAttribute_showCounter, Ark_NativePointer, Ark_Boolean, KSerializerBuffer, int32_t) +void impl_TextInputAttribute__onChangeEvent_text(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWaterFlowModifier()->setEnableScrollInteraction(self, value); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_ResourceStr_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ResourceStr_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ResourceStr_Void))))};; + GetNodeModifiers()->getTextInputModifier()->set_onChangeEvent_text(self, (const Callback_ResourceStr_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_V2(WaterFlowAttribute_enableScrollInteraction, Ark_NativePointer, Ark_Boolean) -void impl_WaterFlowAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextInputAttribute__onChangeEvent_text, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TextPicker_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getTextPickerModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(TextPicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_TextPickerInterface_setTextPickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextPickerOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readTextPickerOptions(); + } + Opt_TextPickerOptions options_value = options_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setTextPickerOptions(self, (const Opt_TextPickerOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(TextPickerInterface_setTextPickerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_defaultPickerItemHeight0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_Resource value_value_buf = {}; + Ark_Union_Number_String value_value_buf = {}; value_value_buf.selector = value_value_buf_selector; if (value_value_buf_selector == 0) { value_value_buf.selector = 0; @@ -19278,235 +20058,2541 @@ void impl_WaterFlowAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuff } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readResource(); + value_value_buf.value1 = static_cast(thisDeserializer.readString()); } else { INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); } - Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getWaterFlowModifier()->setFriction(self, (const Ark_Union_Number_Resource*)&value_value); + Ark_Union_Number_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextPickerModifier()->setDefaultPickerItemHeight0(self, (const Ark_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_friction, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_cachedCount0(Ark_NativePointer thisPtr, KInteropNumber value) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_defaultPickerItemHeight0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_defaultPickerItemHeight1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWaterFlowModifier()->setCachedCount0(self, (const Ark_Number*) (&value)); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_Number_String value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_String value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Union_Number_String value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setDefaultPickerItemHeight1(self, (const Opt_Union_Number_String*)&value_value); } -KOALA_INTEROP_DIRECT_V2(WaterFlowAttribute_cachedCount0, Ark_NativePointer, KInteropNumber) -void impl_WaterFlowAttribute_cachedCount1(Ark_NativePointer thisPtr, KInteropNumber count, Ark_Boolean show) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_defaultPickerItemHeight1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_canLoop0(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWaterFlowModifier()->setCachedCount1(self, (const Ark_Number*) (&count), show); + GetNodeModifiers()->getTextPickerModifier()->setCanLoop0(self, value); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_cachedCount1, Ark_NativePointer, KInteropNumber, Ark_Boolean) -void impl_WaterFlowAttribute_onReachStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextPickerAttribute_canLoop0, Ark_NativePointer, Ark_Boolean) +void impl_TextPickerAttribute_canLoop1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getWaterFlowModifier()->setOnReachStart(self, (const Callback_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setCanLoop1(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onReachStart, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_onReachEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_canLoop1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_disappearTextStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetNodeModifiers()->getWaterFlowModifier()->setOnReachEnd(self, (const Callback_Void*)&value_value); + Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; + GetNodeModifiers()->getTextPickerModifier()->setDisappearTextStyle0(self, (const Ark_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onReachEnd, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_onScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_disappearTextStyle0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_disappearTextStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_ScrollState_Literal_Number_offsetRemain value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain))))};; - GetNodeModifiers()->getWaterFlowModifier()->setOnScrollFrameBegin(self, (const Callback_Number_ScrollState_Literal_Number_offsetRemain*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readPickerTextStyle(); + } + Opt_PickerTextStyle value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setDisappearTextStyle1(self, (const Opt_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_WaterFlowAttribute_onScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_disappearTextStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_textStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; - GetNodeModifiers()->getWaterFlowModifier()->setOnScrollIndex(self, (const Callback_Number_Number_Void*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onScrollIndex, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_UIExtensionComponent_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getUIExtensionComponentModifier()->construct(id, flags); + Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; + GetNodeModifiers()->getTextPickerModifier()->setTextStyle0(self, (const Ark_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_2(UIExtensionComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_UIExtensionComponentInterface_setUIExtensionComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_textStyle0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_textStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Want want_value = thisDeserializer.readWant();; - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_UIExtensionOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - options_value_buf.value = thisDeserializer.readUIExtensionOptions(); + value_value_buf.value = thisDeserializer.readPickerTextStyle(); } - Opt_UIExtensionOptions options_value = options_value_buf;; - GetNodeModifiers()->getUIExtensionComponentModifier()->setUIExtensionComponentOptions(self, (const Ark_Want*)&want_value, (const Opt_UIExtensionOptions*)&options_value); + Opt_PickerTextStyle value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setTextStyle1(self, (const Opt_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(UIExtensionComponentInterface_setUIExtensionComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UIExtensionComponentAttribute_onRemoteReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_textStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_selectedTextStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_UIExtensionProxy_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_UIExtensionProxy_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))};; - GetNodeModifiers()->getUIExtensionComponentModifier()->setOnRemoteReady(self, (const Callback_UIExtensionProxy_Void*)&value_value); + Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; + GetNodeModifiers()->getTextPickerModifier()->setSelectedTextStyle0(self, (const Ark_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onRemoteReady, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UIExtensionComponentAttribute_onReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedTextStyle0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_selectedTextStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Map_String_Object_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Map_String_Object_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Map_String_Object_Void))))};; - GetNodeModifiers()->getUIExtensionComponentModifier()->setOnReceive(self, (const Callback_Map_String_Object_Void*)&value_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readPickerTextStyle(); + } + Opt_PickerTextStyle value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setSelectedTextStyle1(self, (const Opt_PickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onReceive, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UIExtensionComponentAttribute_onResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedTextStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_disableTextStyleAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Literal_Number_code__want_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_Number_code__want_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_Number_code__want_Void))))};; - GetNodeModifiers()->getUIExtensionComponentModifier()->setOnResult(self, (const Callback_Literal_Number_code__want_Void*)&value_value); + GetNodeModifiers()->getTextPickerModifier()->setDisableTextStyleAnimation(self, value); } -KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onResult, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UIExtensionComponentAttribute_onRelease(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V2(TextPickerAttribute_disableTextStyleAnimation, Ark_NativePointer, Ark_Boolean) +void impl_TextPickerAttribute_defaultTextStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; - GetNodeModifiers()->getUIExtensionComponentModifier()->setOnRelease(self, (const Callback_Number_Void*)&value_value); + Ark_TextPickerTextStyle value_value = thisDeserializer.readTextPickerTextStyle();; + GetNodeModifiers()->getTextPickerModifier()->setDefaultTextStyle(self, (const Ark_TextPickerTextStyle*)&value_value); } -KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onRelease, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UIExtensionComponentAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_defaultTextStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_onAccept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - ErrorCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ErrorCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ErrorCallback))))};; - GetNodeModifiers()->getUIExtensionComponentModifier()->setOnError(self, (const ErrorCallback*)&value_value); + Callback_String_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Number_Void))))};; + GetNodeModifiers()->getTextPickerModifier()->setOnAccept(self, (const Callback_String_Number_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UIExtensionComponentAttribute_onTerminated(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onAccept, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_onCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_TerminationInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TerminationInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TerminationInfo_Void))))};; - GetNodeModifiers()->getUIExtensionComponentModifier()->setOnTerminated(self, (const Callback_TerminationInfo_Void*)&value_value); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getTextPickerModifier()->setOnCancel(self, (const Callback_Void*)&value_value); } -KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onTerminated, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_LinearIndicator_construct(Ark_Int32 id, Ark_Int32 flags) { - return GetNodeModifiers()->getLinearIndicatorModifier()->construct(id, flags); +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onCancel, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_TextPickerAttribute_onChange_callback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Type_TextPickerAttribute_onChange_callback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Type_TextPickerAttribute_onChange_callback))))};; + GetNodeModifiers()->getTextPickerModifier()->setOnChange0(self, (const Type_TextPickerAttribute_onChange_callback*)&value_value); } -KOALA_INTEROP_DIRECT_2(LinearIndicator_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) -void impl_LinearIndicatorInterface_setLinearIndicatorOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto count_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number count_value_buf = {}; - count_value_buf.tag = count_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (count_value_buf_runtimeType)) + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnTextPickerChangeCallback value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - count_value_buf.value = static_cast(thisDeserializer.readNumber()); + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTextPickerChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTextPickerChangeCallback))))}; } - Opt_Number count_value = count_value_buf;; - const auto controller_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_LinearIndicatorController controller_value_buf = {}; - controller_value_buf.tag = controller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType)) + Opt_OnTextPickerChangeCallback value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setOnChange1(self, (const Opt_OnTextPickerChangeCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_onScrollStop0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + TextPickerScrollStopCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_TextPickerScrollStopCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_TextPickerScrollStopCallback))))};; + GetNodeModifiers()->getTextPickerModifier()->setOnScrollStop0(self, (const TextPickerScrollStopCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onScrollStop0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_onScrollStop1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextPickerScrollStopCallback value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - controller_value_buf.value = static_cast(thisDeserializer.readLinearIndicatorController()); + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_TextPickerScrollStopCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_TextPickerScrollStopCallback))))}; } - Opt_LinearIndicatorController controller_value = controller_value_buf;; - GetNodeModifiers()->getLinearIndicatorModifier()->setLinearIndicatorOptions(self, (const Opt_Number*)&count_value, (const Opt_LinearIndicatorController*)&controller_value); + Opt_TextPickerScrollStopCallback value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setOnScrollStop1(self, (const Opt_TextPickerScrollStopCallback*)&value_value); } -KOALA_INTEROP_DIRECT_V3(LinearIndicatorInterface_setLinearIndicatorOptions, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_LinearIndicatorAttribute_indicatorStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onScrollStop1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_onEnterSelectedArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + TextPickerEnterSelectedAreaCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_TextPickerEnterSelectedAreaCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_TextPickerEnterSelectedAreaCallback))))};; + GetNodeModifiers()->getTextPickerModifier()->setOnEnterSelectedArea(self, (const TextPickerEnterSelectedAreaCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_onEnterSelectedArea, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_selectedIndex0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Array_Number value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); + Array_Number value_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf_u, value_value_buf_u_length); + for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { + value_value_buf_u.array[value_value_buf_u_i] = static_cast(thisDeserializer.readNumber()); + } + value_value_buf.value1 = value_value_buf_u; + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Array_Number value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextPickerModifier()->setSelectedIndex0(self, (const Ark_Union_Number_Array_Number*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedIndex0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_selectedIndex1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_LinearIndicatorStyle value_value_buf = {}; + Opt_Union_Number_Array_Number value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readLinearIndicatorStyle(); + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_Number_Array_Number value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + const Ark_Int32 value_value_buf__u_length = thisDeserializer.readInt32(); + Array_Number value_value_buf__u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf__u, value_value_buf__u_length); + for (int value_value_buf__u_i = 0; value_value_buf__u_i < value_value_buf__u_length; value_value_buf__u_i++) { + value_value_buf__u.array[value_value_buf__u_i] = static_cast(thisDeserializer.readNumber()); + } + value_value_buf_.value1 = value_value_buf__u; + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); } - Opt_LinearIndicatorStyle value_value = value_value_buf;; - GetNodeModifiers()->getLinearIndicatorModifier()->setIndicatorStyle(self, (const Opt_LinearIndicatorStyle*)&value_value); + Opt_Union_Number_Array_Number value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setSelectedIndex1(self, (const Opt_Union_Number_Array_Number*)&value_value); } -KOALA_INTEROP_DIRECT_V3(LinearIndicatorAttribute_indicatorStyle, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_LinearIndicatorAttribute_indicatorLoop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_selectedIndex1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_divider0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean value_value_buf = {}; + Opt_DividerOptions value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = thisDeserializer.readBoolean(); + value_value_buf.value = thisDeserializer.readDividerOptions(); } - Opt_Boolean value_value = value_value_buf;; - GetNodeModifiers()->getLinearIndicatorModifier()->setIndicatorLoop(self, (const Opt_Boolean*)&value_value); + Opt_DividerOptions value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setDivider0(self, (const Opt_DividerOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V3(LinearIndicatorAttribute_indicatorLoop, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_LinearIndicatorAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_divider0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_divider1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnLinearIndicatorChangeCallback value_value_buf = {}; + Opt_DividerOptions value_value_buf = {}; value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) { - value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnLinearIndicatorChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnLinearIndicatorChangeCallback))))}; + value_value_buf.value = thisDeserializer.readDividerOptions(); } - Opt_OnLinearIndicatorChangeCallback value_value = value_value_buf;; - GetNodeModifiers()->getLinearIndicatorModifier()->setOnChange(self, (const Opt_OnLinearIndicatorChangeCallback*)&value_value); -} -KOALA_INTEROP_DIRECT_V3(LinearIndicatorAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) - -// Accessors - -void impl_AnimationExtender_SetClipRect(Ark_NativePointer node, KFloat x, KFloat y, KFloat width, KFloat height) { - GetAccessors()->getAnimationExtenderAccessor()->SetClipRect(node, x, y, width, height); + Opt_DividerOptions value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setDivider1(self, (const Opt_DividerOptions*)&value_value); } -KOALA_INTEROP_DIRECT_V5(AnimationExtender_SetClipRect, Ark_NativePointer, KFloat, KFloat, KFloat, KFloat) -void impl_AnimationExtender_OpenImplicitAnimation(KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_divider1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_gradientHeight0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_AnimateParam param_value = thisDeserializer.readAnimateParam();; - GetAccessors()->getAnimationExtenderAccessor()->OpenImplicitAnimation((const Ark_AnimateParam*)¶m_value); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextPickerModifier()->setGradientHeight0(self, (const Ark_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V2(AnimationExtender_OpenImplicitAnimation, KSerializerBuffer, int32_t) -void impl_AnimationExtender_CloseImplicitAnimation() { - GetAccessors()->getAnimationExtenderAccessor()->CloseImplicitAnimation(); +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_gradientHeight0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_gradientHeight1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Dimension value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + const Ark_Int8 value_value_buf__selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf_ = {}; + value_value_buf_.selector = value_value_buf__selector; + if (value_value_buf__selector == 0) { + value_value_buf_.selector = 0; + value_value_buf_.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf__selector == 1) { + value_value_buf_.selector = 1; + value_value_buf_.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf__selector == 2) { + value_value_buf_.selector = 2; + value_value_buf_.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf_ has to be chosen through deserialisation."); + } + value_value_buf.value = static_cast(value_value_buf_); + } + Opt_Dimension value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setGradientHeight1(self, (const Opt_Dimension*)&value_value); } -KOALA_INTEROP_DIRECT_V0(AnimationExtender_CloseImplicitAnimation) -void impl_AnimationExtender_StartDoubleAnimation(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_gradientHeight1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_DoubleAnimationParam param_value = thisDeserializer.readDoubleAnimationParam();; - GetAccessors()->getAnimationExtenderAccessor()->StartDoubleAnimation(node, (const Ark_DoubleAnimationParam*)¶m_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setEnableHapticFeedback(self, (const Opt_Boolean*)&value_value); } -KOALA_INTEROP_DIRECT_V3(AnimationExtender_StartDoubleAnimation, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_AnimationExtender_AnimationTranslate(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_enableHapticFeedback, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute_digitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_TranslateOptions options_value = thisDeserializer.readTranslateOptions();; - GetAccessors()->getAnimationExtenderAccessor()->AnimationTranslate(node, (const Ark_TranslateOptions*)&options_value); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CrownSensitivity value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CrownSensitivity value_value = value_value_buf;; + GetNodeModifiers()->getTextPickerModifier()->setDigitalCrownSensitivity(self, (const Opt_CrownSensitivity*)&value_value); } -KOALA_INTEROP_DIRECT_V3(AnimationExtender_AnimationTranslate, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_BaseContext_ctor() { - return GetAccessors()->getBaseContextAccessor()->ctor(); +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute_digitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Union_Number_Array_Number_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Union_Number_Array_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Union_Number_Array_Number_Void))))};; + GetNodeModifiers()->getTextPickerModifier()->set_onChangeEvent_selected(self, (const Callback_Union_Number_Array_Number_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_0(BaseContext_ctor, Ark_NativePointer) -Ark_NativePointer impl_BaseContext_getFinalizer() { - return GetAccessors()->getBaseContextAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextPickerAttribute__onChangeEvent_value(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Union_String_Array_String_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Union_String_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Union_String_Array_String_Void))))};; + GetNodeModifiers()->getTextPickerModifier()->set_onChangeEvent_value(self, (const Callback_Union_String_Array_String_Void*)&callback_value); } -KOALA_INTEROP_DIRECT_0(BaseContext_getFinalizer, Ark_NativePointer) -Ark_Boolean impl_BaseContext_getStageMode(Ark_NativePointer thisPtr) { - Ark_BaseContext self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseContextAccessor()->getStageMode(self); +KOALA_INTEROP_DIRECT_V3(TextPickerAttribute__onChangeEvent_value, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TextTimer_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getTextTimerModifier()->construct(id, flags); } -KOALA_INTEROP_DIRECT_1(BaseContext_getStageMode, Ark_Boolean, Ark_NativePointer) -void impl_BaseContext_setStageMode(Ark_NativePointer thisPtr, Ark_Boolean stageMode) { - Ark_BaseContext self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseContextAccessor()->setStageMode(self, stageMode); +KOALA_INTEROP_DIRECT_2(TextTimer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_TextTimerInterface_setTextTimerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextTimerOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readTextTimerOptions(); + } + Opt_TextTimerOptions options_value = options_value_buf;; + GetNodeModifiers()->getTextTimerModifier()->setTextTimerOptions(self, (const Opt_TextTimerOptions*)&options_value); } -KOALA_INTEROP_DIRECT_V2(BaseContext_setStageMode, Ark_NativePointer, Ark_Boolean) -Ark_NativePointer impl_Context_ctor() { - return GetAccessors()->getContextAccessor()->ctor(); +KOALA_INTEROP_DIRECT_V3(TextTimerInterface_setTextTimerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextTimerAttribute_format(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTextTimerModifier()->setFormat(self, (const Ark_String*) (&value)); } -KOALA_INTEROP_DIRECT_0(Context_ctor, Ark_NativePointer) -Ark_NativePointer impl_Context_getFinalizer() { - return GetAccessors()->getContextAccessor()->getFinalizer(); +KOALA_INTEROP_V2(TextTimerAttribute_format, Ark_NativePointer, KStringPtr) +void impl_TextTimerAttribute_fontColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextTimerModifier()->setFontColor(self, (const Ark_ResourceColor*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextTimerAttribute_fontSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextTimerModifier()->setFontSize(self, (const Ark_Length*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextTimerAttribute_fontStyle(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTextTimerModifier()->setFontStyle(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(TextTimerAttribute_fontStyle, Ark_NativePointer, Ark_Int32) +void impl_TextTimerAttribute_fontWeight(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_FontWeight_String value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_FontWeight_String value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextTimerModifier()->setFontWeight(self, (const Ark_Union_Number_FontWeight_String*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontWeight, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextTimerAttribute_fontFamily(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceStr value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceStr value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextTimerModifier()->setFontFamily(self, (const Ark_ResourceStr*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_fontFamily, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextTimerAttribute_onTimer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + TextTimerAttribute_onTimer_event_type value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_TextTimerAttribute_onTimer_event_type)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_TextTimerAttribute_onTimer_event_type))))};; + GetNodeModifiers()->getTextTimerModifier()->setOnTimer(self, (const TextTimerAttribute_onTimer_event_type*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_onTimer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextTimerAttribute_textShadow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_ShadowOptions_Array_ShadowOptions value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = thisDeserializer.readShadowOptions(); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); + Array_ShadowOptions value_value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf_u, value_value_buf_u_length); + for (int value_value_buf_u_i = 0; value_value_buf_u_i < value_value_buf_u_length; value_value_buf_u_i++) { + value_value_buf_u.array[value_value_buf_u_i] = thisDeserializer.readShadowOptions(); + } + value_value_buf.value1 = value_value_buf_u; + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_ShadowOptions_Array_ShadowOptions value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getTextTimerModifier()->setTextShadow(self, (const Ark_Union_ShadowOptions_Array_ShadowOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_textShadow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TextTimerAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getTextTimerModifier()->setContentModifier(self, (const Ark_Object*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TextTimerAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TimePicker_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getTimePickerModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(TimePicker_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_TimePickerInterface_setTimePickerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TimePickerOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readTimePickerOptions(); + } + Opt_TimePickerOptions options_value = options_value_buf;; + GetNodeModifiers()->getTimePickerModifier()->setTimePickerOptions(self, (const Opt_TimePickerOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerInterface_setTimePickerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_useMilitaryTime0(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTimePickerModifier()->setUseMilitaryTime0(self, value); +} +KOALA_INTEROP_DIRECT_V2(TimePickerAttribute_useMilitaryTime0, Ark_NativePointer, Ark_Boolean) +void impl_TimePickerAttribute_useMilitaryTime1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getTimePickerModifier()->setUseMilitaryTime1(self, (const Opt_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_useMilitaryTime1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_loop0(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTimePickerModifier()->setLoop0(self, value); +} +KOALA_INTEROP_DIRECT_V2(TimePickerAttribute_loop0, Ark_NativePointer, Ark_Boolean) +void impl_TimePickerAttribute_loop1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getTimePickerModifier()->setLoop1(self, (const Opt_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_loop1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_disappearTextStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; + GetNodeModifiers()->getTimePickerModifier()->setDisappearTextStyle0(self, (const Ark_PickerTextStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_disappearTextStyle0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_disappearTextStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readPickerTextStyle(); + } + Opt_PickerTextStyle value_value = value_value_buf;; + GetNodeModifiers()->getTimePickerModifier()->setDisappearTextStyle1(self, (const Opt_PickerTextStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_disappearTextStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_textStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; + GetNodeModifiers()->getTimePickerModifier()->setTextStyle0(self, (const Ark_PickerTextStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_textStyle0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_textStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readPickerTextStyle(); + } + Opt_PickerTextStyle value_value = value_value_buf;; + GetNodeModifiers()->getTimePickerModifier()->setTextStyle1(self, (const Opt_PickerTextStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_textStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_selectedTextStyle0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_PickerTextStyle value_value = thisDeserializer.readPickerTextStyle();; + GetNodeModifiers()->getTimePickerModifier()->setSelectedTextStyle0(self, (const Ark_PickerTextStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_selectedTextStyle0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_selectedTextStyle1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PickerTextStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readPickerTextStyle(); + } + Opt_PickerTextStyle value_value = value_value_buf;; + GetNodeModifiers()->getTimePickerModifier()->setSelectedTextStyle1(self, (const Opt_PickerTextStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_selectedTextStyle1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_dateTimeOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_DateTimeOptions value_value = thisDeserializer.readDateTimeOptions();; + GetNodeModifiers()->getTimePickerModifier()->setDateTimeOptions0(self, (const Ark_DateTimeOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_dateTimeOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_dateTimeOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DateTimeOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readDateTimeOptions(); + } + Opt_DateTimeOptions value_value = value_value_buf;; + GetNodeModifiers()->getTimePickerModifier()->setDateTimeOptions1(self, (const Opt_DateTimeOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_dateTimeOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_onChange0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_TimePickerResult_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TimePickerResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TimePickerResult_Void))))};; + GetNodeModifiers()->getTimePickerModifier()->setOnChange0(self, (const Callback_TimePickerResult_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_onChange0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_onChange1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnTimePickerChangeCallback value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnTimePickerChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnTimePickerChangeCallback))))}; + } + Opt_OnTimePickerChangeCallback value_value = value_value_buf;; + GetNodeModifiers()->getTimePickerModifier()->setOnChange1(self, (const Opt_OnTimePickerChangeCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_onChange1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_onEnterSelectedArea(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_TimePickerResult_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TimePickerResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TimePickerResult_Void))))};; + GetNodeModifiers()->getTimePickerModifier()->setOnEnterSelectedArea(self, (const Callback_TimePickerResult_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_onEnterSelectedArea, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_enableHapticFeedback0(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTimePickerModifier()->setEnableHapticFeedback0(self, value); +} +KOALA_INTEROP_DIRECT_V2(TimePickerAttribute_enableHapticFeedback0, Ark_NativePointer, Ark_Boolean) +void impl_TimePickerAttribute_enableHapticFeedback1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getTimePickerModifier()->setEnableHapticFeedback1(self, (const Opt_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_enableHapticFeedback1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_digitalCrownSensitivity(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CrownSensitivity value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_CrownSensitivity value_value = value_value_buf;; + GetNodeModifiers()->getTimePickerModifier()->setDigitalCrownSensitivity(self, (const Opt_CrownSensitivity*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute_digitalCrownSensitivity, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_TimePickerAttribute_enableCascade(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getTimePickerModifier()->setEnableCascade(self, value); +} +KOALA_INTEROP_DIRECT_V2(TimePickerAttribute_enableCascade, Ark_NativePointer, Ark_Boolean) +void impl_TimePickerAttribute__onChangeEvent_selected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Date_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))};; + GetNodeModifiers()->getTimePickerModifier()->set_onChangeEvent_selected(self, (const Callback_Date_Void*)&callback_value); +} +KOALA_INTEROP_DIRECT_V3(TimePickerAttribute__onChangeEvent_selected, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Toggle_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getToggleModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Toggle_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_ToggleInterface_setToggleOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ToggleOptions options_value = thisDeserializer.readToggleOptions();; + GetNodeModifiers()->getToggleModifier()->setToggleOptions(self, (const Ark_ToggleOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(ToggleInterface_setToggleOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ToggleAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getToggleModifier()->setOnChange(self, (const Callback_Boolean_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ToggleAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ToggleAttribute_contentModifier(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Object value_value = static_cast(thisDeserializer.readObject());; + GetNodeModifiers()->getToggleModifier()->setContentModifier(self, (const Ark_Object*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ToggleAttribute_contentModifier, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ToggleAttribute_selectedColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getToggleModifier()->setSelectedColor(self, (const Ark_ResourceColor*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ToggleAttribute_selectedColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ToggleAttribute_switchPointColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getToggleModifier()->setSwitchPointColor(self, (const Ark_ResourceColor*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ToggleAttribute_switchPointColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ToggleAttribute_switchStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_SwitchStyle value_value = thisDeserializer.readSwitchStyle();; + GetNodeModifiers()->getToggleModifier()->setSwitchStyle(self, (const Ark_SwitchStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(ToggleAttribute_switchStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ToggleAttribute__onChangeEvent_isOn(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getToggleModifier()->set_onChangeEvent_isOn(self, (const Callback_Boolean_Void*)&callback_value); +} +KOALA_INTEROP_DIRECT_V3(ToggleAttribute__onChangeEvent_isOn, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_Video_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getVideoModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Video_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_VideoInterface_setVideoOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_VideoOptions value_value = thisDeserializer.readVideoOptions();; + GetNodeModifiers()->getVideoModifier()->setVideoOptions(self, (const Ark_VideoOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(VideoInterface_setVideoOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_muted(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getVideoModifier()->setMuted(self, value); +} +KOALA_INTEROP_DIRECT_V2(VideoAttribute_muted, Ark_NativePointer, Ark_Boolean) +void impl_VideoAttribute_autoPlay(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getVideoModifier()->setAutoPlay(self, value); +} +KOALA_INTEROP_DIRECT_V2(VideoAttribute_autoPlay, Ark_NativePointer, Ark_Boolean) +void impl_VideoAttribute_controls(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getVideoModifier()->setControls(self, value); +} +KOALA_INTEROP_DIRECT_V2(VideoAttribute_controls, Ark_NativePointer, Ark_Boolean) +void impl_VideoAttribute_loop(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getVideoModifier()->setLoop(self, value); +} +KOALA_INTEROP_DIRECT_V2(VideoAttribute_loop, Ark_NativePointer, Ark_Boolean) +void impl_VideoAttribute_objectFit(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getVideoModifier()->setObjectFit(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(VideoAttribute_objectFit, Ark_NativePointer, Ark_Int32) +void impl_VideoAttribute_onStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; + GetNodeModifiers()->getVideoModifier()->setOnStart(self, (const VoidCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_onStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_onPause(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; + GetNodeModifiers()->getVideoModifier()->setOnPause(self, (const VoidCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_onPause, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_onFinish(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; + GetNodeModifiers()->getVideoModifier()->setOnFinish(self, (const VoidCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_onFinish, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_onFullscreenChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_FullscreenInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_FullscreenInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_FullscreenInfo_Void))))};; + GetNodeModifiers()->getVideoModifier()->setOnFullscreenChange(self, (const Callback_FullscreenInfo_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_onFullscreenChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_onPrepared(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_PreparedInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PreparedInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PreparedInfo_Void))))};; + GetNodeModifiers()->getVideoModifier()->setOnPrepared(self, (const Callback_PreparedInfo_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_onPrepared, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_onSeeking(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_PlaybackInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))};; + GetNodeModifiers()->getVideoModifier()->setOnSeeking(self, (const Callback_PlaybackInfo_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_onSeeking, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_onSeeked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_PlaybackInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))};; + GetNodeModifiers()->getVideoModifier()->setOnSeeked(self, (const Callback_PlaybackInfo_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_onSeeked, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_onUpdate(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_PlaybackInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PlaybackInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PlaybackInfo_Void))))};; + GetNodeModifiers()->getVideoModifier()->setOnUpdate(self, (const Callback_PlaybackInfo_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_onUpdate, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getVideoModifier()->setOnError(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_onStop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getVideoModifier()->setOnStop(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_onStop, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_enableAnalyzer(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getVideoModifier()->setEnableAnalyzer(self, value); +} +KOALA_INTEROP_DIRECT_V2(VideoAttribute_enableAnalyzer, Ark_NativePointer, Ark_Boolean) +void impl_VideoAttribute_analyzerConfig(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ImageAnalyzerConfig value_value = thisDeserializer.readImageAnalyzerConfig();; + GetNodeModifiers()->getVideoModifier()->setAnalyzerConfig(self, (const Ark_ImageAnalyzerConfig*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(VideoAttribute_analyzerConfig, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_VideoAttribute_surfaceBackgroundColor(Ark_NativePointer thisPtr, Ark_NativePointer value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getVideoModifier()->setSurfaceBackgroundColor(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(VideoAttribute_surfaceBackgroundColor, Ark_NativePointer, Ark_NativePointer) +void impl_VideoAttribute_enableShortcutKey(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getVideoModifier()->setEnableShortcutKey(self, value); +} +KOALA_INTEROP_DIRECT_V2(VideoAttribute_enableShortcutKey, Ark_NativePointer, Ark_Boolean) +Ark_NativePointer impl_Web_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getWebModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(Web_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_WebInterface_setWebOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_WebOptions value_value = thisDeserializer.readWebOptions();; + GetNodeModifiers()->getWebModifier()->setWebOptions(self, (const Ark_WebOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebInterface_setWebOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_javaScriptAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setJavaScriptAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_javaScriptAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_fileAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setFileAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_fileAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_onlineImageAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setOnlineImageAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_onlineImageAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_domStorageAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setDomStorageAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_domStorageAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_imageAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setImageAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_imageAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_mixedMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setMixedMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_mixedMode, Ark_NativePointer, Ark_Int32) +void impl_WebAttribute_zoomAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setZoomAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_zoomAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_geolocationAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setGeolocationAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_geolocationAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_javaScriptProxy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_JavaScriptProxy value_value = thisDeserializer.readJavaScriptProxy();; + GetNodeModifiers()->getWebModifier()->setJavaScriptProxy(self, (const Ark_JavaScriptProxy*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptProxy, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_password(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setPassword(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_password, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_cacheMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setCacheMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_cacheMode, Ark_NativePointer, Ark_Int32) +void impl_WebAttribute_darkMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setDarkMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_darkMode, Ark_NativePointer, Ark_Int32) +void impl_WebAttribute_forceDarkAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setForceDarkAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_forceDarkAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_mediaOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_WebMediaOptions value_value = thisDeserializer.readWebMediaOptions();; + GetNodeModifiers()->getWebModifier()->setMediaOptions(self, (const Ark_WebMediaOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_mediaOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_tableData(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setTableData(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_tableData, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_wideViewModeAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setWideViewModeAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_wideViewModeAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_overviewModeAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setOverviewModeAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_overviewModeAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_overScrollMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setOverScrollMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_overScrollMode, Ark_NativePointer, Ark_Int32) +void impl_WebAttribute_blurOnKeyboardHideMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setBlurOnKeyboardHideMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_blurOnKeyboardHideMode, Ark_NativePointer, Ark_Int32) +void impl_WebAttribute_textZoomAtio(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setTextZoomAtio(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_textZoomAtio, Ark_NativePointer, KInteropNumber) +void impl_WebAttribute_textZoomRatio(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setTextZoomRatio(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_textZoomRatio, Ark_NativePointer, KInteropNumber) +void impl_WebAttribute_databaseAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setDatabaseAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_databaseAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_initialScale(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setInitialScale(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_initialScale, Ark_NativePointer, KInteropNumber) +void impl_WebAttribute_userAgent(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setUserAgent(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(WebAttribute_userAgent, Ark_NativePointer, KStringPtr) +void impl_WebAttribute_metaViewport(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setMetaViewport(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_metaViewport, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_onPageEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnPageEndEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPageEndEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPageEndEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnPageEnd(self, (const Callback_OnPageEndEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onPageEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onPageBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnPageBeginEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPageBeginEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPageBeginEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnPageBegin(self, (const Callback_OnPageBeginEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onPageBegin, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onProgressChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnProgressChangeEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnProgressChangeEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnProgressChangeEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnProgressChange(self, (const Callback_OnProgressChangeEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onProgressChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onTitleReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnTitleReceiveEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnTitleReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnTitleReceiveEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnTitleReceive(self, (const Callback_OnTitleReceiveEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onTitleReceive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onGeolocationHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnGeolocationHide(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onGeolocationHide, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onGeolocationShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnGeolocationShowEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnGeolocationShowEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnGeolocationShowEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnGeolocationShow(self, (const Callback_OnGeolocationShowEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onGeolocationShow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onRequestSelected(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnRequestSelected(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onRequestSelected, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onAlert(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnAlertEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnAlertEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnAlertEvent_Boolean))))};; + GetNodeModifiers()->getWebModifier()->setOnAlert(self, (const Callback_OnAlertEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onAlert, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onBeforeUnload(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnBeforeUnloadEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnBeforeUnloadEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnBeforeUnloadEvent_Boolean))))};; + GetNodeModifiers()->getWebModifier()->setOnBeforeUnload(self, (const Callback_OnBeforeUnloadEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onBeforeUnload, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onConfirm(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnConfirmEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnConfirmEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnConfirmEvent_Boolean))))};; + GetNodeModifiers()->getWebModifier()->setOnConfirm(self, (const Callback_OnConfirmEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onConfirm, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onPrompt(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnPromptEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPromptEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPromptEvent_Boolean))))};; + GetNodeModifiers()->getWebModifier()->setOnPrompt(self, (const Callback_OnPromptEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onPrompt, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onConsole(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnConsoleEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnConsoleEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnConsoleEvent_Boolean))))};; + GetNodeModifiers()->getWebModifier()->setOnConsole(self, (const Callback_OnConsoleEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onConsole, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onErrorReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnErrorReceiveEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnErrorReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnErrorReceiveEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnErrorReceive(self, (const Callback_OnErrorReceiveEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onErrorReceive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onHttpErrorReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnHttpErrorReceiveEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnHttpErrorReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnHttpErrorReceiveEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnHttpErrorReceive(self, (const Callback_OnHttpErrorReceiveEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onHttpErrorReceive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onDownloadStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnDownloadStartEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnDownloadStartEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnDownloadStartEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnDownloadStart(self, (const Callback_OnDownloadStartEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onDownloadStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onRefreshAccessedHistory(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnRefreshAccessedHistoryEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnRefreshAccessedHistoryEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnRefreshAccessedHistoryEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnRefreshAccessedHistory(self, (const Callback_OnRefreshAccessedHistoryEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onRefreshAccessedHistory, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onUrlLoadIntercept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_WebAttribute_onUrlLoadIntercept_callback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Type_WebAttribute_onUrlLoadIntercept_callback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Type_WebAttribute_onUrlLoadIntercept_callback))))};; + GetNodeModifiers()->getWebModifier()->setOnUrlLoadIntercept(self, (const Type_WebAttribute_onUrlLoadIntercept_callback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onUrlLoadIntercept, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onSslErrorReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Literal_Function_handler_Object_error_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_Function_handler_Object_error_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_Function_handler_Object_error_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnSslErrorReceive(self, (const Callback_Literal_Function_handler_Object_error_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onSslErrorReceive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onRenderExited0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnRenderExitedEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnRenderExitedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnRenderExitedEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnRenderExited0(self, (const Callback_OnRenderExitedEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderExited0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onRenderExited1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Literal_Object_detail_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_Object_detail_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_Object_detail_Boolean))))};; + GetNodeModifiers()->getWebModifier()->setOnRenderExited1(self, (const Callback_Literal_Object_detail_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderExited1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onShowFileSelector(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnShowFileSelectorEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnShowFileSelectorEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnShowFileSelectorEvent_Boolean))))};; + GetNodeModifiers()->getWebModifier()->setOnShowFileSelector(self, (const Callback_OnShowFileSelectorEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onShowFileSelector, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onFileSelectorShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Type_WebAttribute_onFileSelectorShow_callback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Type_WebAttribute_onFileSelectorShow_callback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Type_WebAttribute_onFileSelectorShow_callback))))};; + GetNodeModifiers()->getWebModifier()->setOnFileSelectorShow(self, (const Type_WebAttribute_onFileSelectorShow_callback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onFileSelectorShow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onResourceLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnResourceLoadEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnResourceLoadEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnResourceLoadEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnResourceLoad(self, (const Callback_OnResourceLoadEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onResourceLoad, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onFullScreenExit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnFullScreenExit(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onFullScreenExit, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onFullScreenEnter(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnFullScreenEnterCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnFullScreenEnterCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnFullScreenEnterCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnFullScreenEnter(self, (const OnFullScreenEnterCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onFullScreenEnter, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onScaleChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnScaleChangeEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScaleChangeEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScaleChangeEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnScaleChange(self, (const Callback_OnScaleChangeEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onScaleChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onHttpAuthRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnHttpAuthRequestEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnHttpAuthRequestEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnHttpAuthRequestEvent_Boolean))))};; + GetNodeModifiers()->getWebModifier()->setOnHttpAuthRequest(self, (const Callback_OnHttpAuthRequestEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onHttpAuthRequest, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onInterceptRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnInterceptRequestEvent_WebResourceResponse value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnInterceptRequestEvent_WebResourceResponse)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnInterceptRequestEvent_WebResourceResponse))))};; + GetNodeModifiers()->getWebModifier()->setOnInterceptRequest(self, (const Callback_OnInterceptRequestEvent_WebResourceResponse*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onInterceptRequest, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onPermissionRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnPermissionRequestEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPermissionRequestEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPermissionRequestEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnPermissionRequest(self, (const Callback_OnPermissionRequestEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onPermissionRequest, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onScreenCaptureRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnScreenCaptureRequestEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScreenCaptureRequestEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScreenCaptureRequestEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnScreenCaptureRequest(self, (const Callback_OnScreenCaptureRequestEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onScreenCaptureRequest, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onContextMenuShow(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnContextMenuShowEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnContextMenuShowEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnContextMenuShowEvent_Boolean))))};; + GetNodeModifiers()->getWebModifier()->setOnContextMenuShow(self, (const Callback_OnContextMenuShowEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onContextMenuShow, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onContextMenuHide(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnContextMenuHideCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnContextMenuHideCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnContextMenuHideCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnContextMenuHide(self, (const OnContextMenuHideCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onContextMenuHide, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_mediaPlayGestureAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setMediaPlayGestureAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_mediaPlayGestureAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_onSearchResultReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnSearchResultReceiveEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnSearchResultReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnSearchResultReceiveEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnSearchResultReceive(self, (const Callback_OnSearchResultReceiveEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onSearchResultReceive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnScrollEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnScrollEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnScrollEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnScroll(self, (const Callback_OnScrollEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onSslErrorEventReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnSslErrorEventReceiveEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnSslErrorEventReceiveEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnSslErrorEventReceiveEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnSslErrorEventReceive(self, (const Callback_OnSslErrorEventReceiveEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onSslErrorEventReceive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onSslErrorEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnSslErrorEventCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSslErrorEventCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSslErrorEventCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnSslErrorEvent(self, (const OnSslErrorEventCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onSslErrorEvent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onClientAuthenticationRequest(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnClientAuthenticationEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnClientAuthenticationEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnClientAuthenticationEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnClientAuthenticationRequest(self, (const Callback_OnClientAuthenticationEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onClientAuthenticationRequest, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onWindowNew(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnWindowNewEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnWindowNewEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnWindowNewEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnWindowNew(self, (const Callback_OnWindowNewEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onWindowNew, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onWindowExit(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnWindowExit(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onWindowExit, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_multiWindowAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setMultiWindowAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_multiWindowAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_onInterceptKeyEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_KeyEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_KeyEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Boolean))))};; + GetNodeModifiers()->getWebModifier()->setOnInterceptKeyEvent(self, (const Callback_KeyEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onInterceptKeyEvent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_webStandardFont(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setWebStandardFont(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(WebAttribute_webStandardFont, Ark_NativePointer, KStringPtr) +void impl_WebAttribute_webSerifFont(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setWebSerifFont(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(WebAttribute_webSerifFont, Ark_NativePointer, KStringPtr) +void impl_WebAttribute_webSansSerifFont(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setWebSansSerifFont(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(WebAttribute_webSansSerifFont, Ark_NativePointer, KStringPtr) +void impl_WebAttribute_webFixedFont(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setWebFixedFont(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(WebAttribute_webFixedFont, Ark_NativePointer, KStringPtr) +void impl_WebAttribute_webFantasyFont(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setWebFantasyFont(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(WebAttribute_webFantasyFont, Ark_NativePointer, KStringPtr) +void impl_WebAttribute_webCursiveFont(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setWebCursiveFont(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(WebAttribute_webCursiveFont, Ark_NativePointer, KStringPtr) +void impl_WebAttribute_defaultFixedFontSize(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setDefaultFixedFontSize(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_defaultFixedFontSize, Ark_NativePointer, KInteropNumber) +void impl_WebAttribute_defaultFontSize(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setDefaultFontSize(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_defaultFontSize, Ark_NativePointer, KInteropNumber) +void impl_WebAttribute_minFontSize(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setMinFontSize(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_minFontSize, Ark_NativePointer, KInteropNumber) +void impl_WebAttribute_minLogicalFontSize(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setMinLogicalFontSize(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_minLogicalFontSize, Ark_NativePointer, KInteropNumber) +void impl_WebAttribute_defaultTextEncodingFormat(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setDefaultTextEncodingFormat(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(WebAttribute_defaultTextEncodingFormat, Ark_NativePointer, KStringPtr) +void impl_WebAttribute_forceDisplayScrollBar(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setForceDisplayScrollBar(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_forceDisplayScrollBar, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_blockNetwork(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setBlockNetwork(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_blockNetwork, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_horizontalScrollBarAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setHorizontalScrollBarAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_horizontalScrollBarAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_verticalScrollBarAccess(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setVerticalScrollBarAccess(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_verticalScrollBarAccess, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_onTouchIconUrlReceived(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnTouchIconUrlReceivedEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnTouchIconUrlReceivedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnTouchIconUrlReceivedEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnTouchIconUrlReceived(self, (const Callback_OnTouchIconUrlReceivedEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onTouchIconUrlReceived, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onFaviconReceived(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnFaviconReceivedEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnFaviconReceivedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnFaviconReceivedEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnFaviconReceived(self, (const Callback_OnFaviconReceivedEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onFaviconReceived, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onPageVisible(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnPageVisibleEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnPageVisibleEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnPageVisibleEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnPageVisible(self, (const Callback_OnPageVisibleEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onPageVisible, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onDataResubmitted(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnDataResubmittedEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnDataResubmittedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnDataResubmittedEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnDataResubmitted(self, (const Callback_OnDataResubmittedEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onDataResubmitted, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_pinchSmooth(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setPinchSmooth(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_pinchSmooth, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_allowWindowOpenMethod(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setAllowWindowOpenMethod(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_allowWindowOpenMethod, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_onAudioStateChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnAudioStateChangedEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnAudioStateChangedEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnAudioStateChangedEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnAudioStateChanged(self, (const Callback_OnAudioStateChangedEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onAudioStateChanged, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onFirstContentfulPaint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnFirstContentfulPaintEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnFirstContentfulPaintEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnFirstContentfulPaintEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnFirstContentfulPaint(self, (const Callback_OnFirstContentfulPaintEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onFirstContentfulPaint, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onFirstMeaningfulPaint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnFirstMeaningfulPaintCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnFirstMeaningfulPaintCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnFirstMeaningfulPaintCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnFirstMeaningfulPaint(self, (const OnFirstMeaningfulPaintCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onFirstMeaningfulPaint, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onLargestContentfulPaint(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnLargestContentfulPaintCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnLargestContentfulPaintCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnLargestContentfulPaintCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnLargestContentfulPaint(self, (const OnLargestContentfulPaintCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onLargestContentfulPaint, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onLoadIntercept(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnLoadInterceptEvent_Boolean value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnLoadInterceptEvent_Boolean)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnLoadInterceptEvent_Boolean))))};; + GetNodeModifiers()->getWebModifier()->setOnLoadIntercept(self, (const Callback_OnLoadInterceptEvent_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onLoadIntercept, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onControllerAttached(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnControllerAttached(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onControllerAttached, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onOverScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_OnOverScrollEvent_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_OnOverScrollEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_OnOverScrollEvent_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnOverScroll(self, (const Callback_OnOverScrollEvent_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onOverScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onSafeBrowsingCheckResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnSafeBrowsingCheckResultCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnSafeBrowsingCheckResultCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnSafeBrowsingCheckResultCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnSafeBrowsingCheckResult(self, (const OnSafeBrowsingCheckResultCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onSafeBrowsingCheckResult, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onNavigationEntryCommitted(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnNavigationEntryCommittedCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnNavigationEntryCommittedCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnNavigationEntryCommittedCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnNavigationEntryCommitted(self, (const OnNavigationEntryCommittedCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onNavigationEntryCommitted, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onIntelligentTrackingPreventionResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnIntelligentTrackingPreventionCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnIntelligentTrackingPreventionCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnIntelligentTrackingPreventionCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnIntelligentTrackingPreventionResult(self, (const OnIntelligentTrackingPreventionCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onIntelligentTrackingPreventionResult, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_javaScriptOnDocumentStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_ScriptItem value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readScriptItem(); + } + Array_ScriptItem value_value = value_value_buf;; + GetNodeModifiers()->getWebModifier()->setJavaScriptOnDocumentStart(self, (const Array_ScriptItem*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptOnDocumentStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_javaScriptOnDocumentEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_ScriptItem value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readScriptItem(); + } + Array_ScriptItem value_value = value_value_buf;; + GetNodeModifiers()->getWebModifier()->setJavaScriptOnDocumentEnd(self, (const Array_ScriptItem*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_javaScriptOnDocumentEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_layoutMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setLayoutMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_layoutMode, Ark_NativePointer, Ark_Int32) +void impl_WebAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_NestedScrollOptions_NestedScrollOptionsExt value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = thisDeserializer.readNestedScrollOptions(); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readNestedScrollOptionsExt(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_NestedScrollOptions_NestedScrollOptionsExt value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getWebModifier()->setNestedScroll(self, (const Ark_Union_NestedScrollOptions_NestedScrollOptionsExt*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_enableNativeEmbedMode(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setEnableNativeEmbedMode(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_enableNativeEmbedMode, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_onNativeEmbedLifecycleChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_NativeEmbedDataInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NativeEmbedDataInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NativeEmbedDataInfo_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnNativeEmbedLifecycleChange(self, (const Callback_NativeEmbedDataInfo_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onNativeEmbedLifecycleChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onNativeEmbedVisibilityChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnNativeEmbedVisibilityChangeCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnNativeEmbedVisibilityChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnNativeEmbedVisibilityChangeCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnNativeEmbedVisibilityChange(self, (const OnNativeEmbedVisibilityChangeCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onNativeEmbedVisibilityChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onNativeEmbedGestureEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_NativeEmbedTouchInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NativeEmbedTouchInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NativeEmbedTouchInfo_Void))))};; + GetNodeModifiers()->getWebModifier()->setOnNativeEmbedGestureEvent(self, (const Callback_NativeEmbedTouchInfo_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onNativeEmbedGestureEvent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_copyOptions(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setCopyOptions(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_copyOptions, Ark_NativePointer, Ark_Int32) +void impl_WebAttribute_onOverrideUrlLoading(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnOverrideUrlLoadingCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnOverrideUrlLoadingCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnOverrideUrlLoadingCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnOverrideUrlLoading(self, (const OnOverrideUrlLoadingCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onOverrideUrlLoading, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_textAutosizing(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setTextAutosizing(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_textAutosizing, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_enableNativeMediaPlayer(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_NativeMediaPlayerConfig value_value = thisDeserializer.readNativeMediaPlayerConfig();; + GetNodeModifiers()->getWebModifier()->setEnableNativeMediaPlayer(self, (const Ark_NativeMediaPlayerConfig*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_enableNativeMediaPlayer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onRenderProcessNotResponding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnRenderProcessNotRespondingCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnRenderProcessNotRespondingCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnRenderProcessNotRespondingCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnRenderProcessNotResponding(self, (const OnRenderProcessNotRespondingCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderProcessNotResponding, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onRenderProcessResponding(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnRenderProcessRespondingCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnRenderProcessRespondingCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnRenderProcessRespondingCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnRenderProcessResponding(self, (const OnRenderProcessRespondingCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onRenderProcessResponding, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_selectionMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_ExpandedMenuItemOptions value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readExpandedMenuItemOptions(); + } + Array_ExpandedMenuItemOptions value_value = value_value_buf;; + GetNodeModifiers()->getWebModifier()->setSelectionMenuOptions(self, (const Array_ExpandedMenuItemOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_selectionMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onViewportFitChanged(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnViewportFitChangedCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnViewportFitChangedCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnViewportFitChangedCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnViewportFitChanged(self, (const OnViewportFitChangedCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onViewportFitChanged, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onInterceptKeyboardAttach(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + WebKeyboardCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_WebKeyboardCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_WebKeyboardCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnInterceptKeyboardAttach(self, (const WebKeyboardCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onInterceptKeyboardAttach, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_onAdsBlocked(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnAdsBlockedCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnAdsBlockedCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnAdsBlockedCallback))))};; + GetNodeModifiers()->getWebModifier()->setOnAdsBlocked(self, (const OnAdsBlockedCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_onAdsBlocked, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_keyboardAvoidMode(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setKeyboardAvoidMode(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_keyboardAvoidMode, Ark_NativePointer, Ark_Int32) +void impl_WebAttribute_editMenuOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_EditMenuOptions value_value = thisDeserializer.readEditMenuOptions();; + GetNodeModifiers()->getWebModifier()->setEditMenuOptions(self, (const Ark_EditMenuOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_editMenuOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_enableHapticFeedback(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setEnableHapticFeedback(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_optimizeParserBudget(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setOptimizeParserBudget(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_optimizeParserBudget, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_enableFollowSystemFontWeight(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setEnableFollowSystemFontWeight(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_enableFollowSystemFontWeight, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_enableWebAVSession(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setEnableWebAVSession(self, value); +} +KOALA_INTEROP_DIRECT_V2(WebAttribute_enableWebAVSession, Ark_NativePointer, Ark_Boolean) +void impl_WebAttribute_runJavaScriptOnDocumentStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_ScriptItem value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readScriptItem(); + } + Array_ScriptItem value_value = value_value_buf;; + GetNodeModifiers()->getWebModifier()->setRunJavaScriptOnDocumentStart(self, (const Array_ScriptItem*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_runJavaScriptOnDocumentStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_runJavaScriptOnDocumentEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_ScriptItem value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readScriptItem(); + } + Array_ScriptItem value_value = value_value_buf;; + GetNodeModifiers()->getWebModifier()->setRunJavaScriptOnDocumentEnd(self, (const Array_ScriptItem*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_runJavaScriptOnDocumentEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_runJavaScriptOnHeadEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); + Array_ScriptItem value_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_value_buf, value_value_buf_length); + for (int value_value_buf_i = 0; value_value_buf_i < value_value_buf_length; value_value_buf_i++) { + value_value_buf.array[value_value_buf_i] = thisDeserializer.readScriptItem(); + } + Array_ScriptItem value_value = value_value_buf;; + GetNodeModifiers()->getWebModifier()->setRunJavaScriptOnHeadEnd(self, (const Array_ScriptItem*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_runJavaScriptOnHeadEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_nativeEmbedOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_EmbedOptions value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readEmbedOptions(); + } + Opt_EmbedOptions value_value = value_value_buf;; + GetNodeModifiers()->getWebModifier()->setNativeEmbedOptions(self, (const Opt_EmbedOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WebAttribute_nativeEmbedOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WebAttribute_registerNativeEmbedRule(Ark_NativePointer thisPtr, const KStringPtr& tag, const KStringPtr& type) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWebModifier()->setRegisterNativeEmbedRule(self, (const Ark_String*) (&tag), (const Ark_String*) (&type)); +} +KOALA_INTEROP_V3(WebAttribute_registerNativeEmbedRule, Ark_NativePointer, KStringPtr, KStringPtr) +void impl_WebAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, Ark_Int32 elementType, KSerializerBuffer thisArray, int32_t thisLength, Ark_Int32 responseType) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + CustomNodeBuilder content_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))};; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SelectionMenuOptionsExt options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readSelectionMenuOptionsExt(); + } + Opt_SelectionMenuOptionsExt options_value = options_value_buf;; + GetNodeModifiers()->getWebModifier()->setBindSelectionMenu(self, static_cast(elementType), (const CustomNodeBuilder*)&content_value, static_cast(responseType), (const Opt_SelectionMenuOptionsExt*)&options_value); +} +KOALA_INTEROP_DIRECT_V5(WebAttribute_bindSelectionMenu, Ark_NativePointer, Ark_Int32, KSerializerBuffer, int32_t, Ark_Int32) +Ark_NativePointer impl_WindowScene_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getWindowSceneModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(WindowScene_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_WindowSceneInterface_setWindowSceneOptions(Ark_NativePointer thisPtr, KInteropNumber persistentId) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWindowSceneModifier()->setWindowSceneOptions(self, (const Ark_Number*) (&persistentId)); +} +KOALA_INTEROP_DIRECT_V2(WindowSceneInterface_setWindowSceneOptions, Ark_NativePointer, KInteropNumber) +void impl_WindowSceneAttribute_attractionEffect(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength, KInteropNumber fraction) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Position destination_value = thisDeserializer.readPosition();; + GetNodeModifiers()->getWindowSceneModifier()->setAttractionEffect(self, (const Ark_Position*)&destination_value, (const Ark_Number*) (&fraction)); +} +KOALA_INTEROP_DIRECT_V4(WindowSceneAttribute_attractionEffect, Ark_NativePointer, KSerializerBuffer, int32_t, KInteropNumber) +Ark_NativePointer impl_XComponent_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getXComponentModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(XComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_XComponentInterface_setXComponentOptions0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Type_XComponentInterface_callable0_value value_value_buf = {}; + value_value_buf.id = static_cast(thisDeserializer.readString()); + value_value_buf.type = static_cast(thisDeserializer.readString()); + const auto value_value_buf_libraryname_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String value_value_buf_libraryname_buf = {}; + value_value_buf_libraryname_buf.tag = value_value_buf_libraryname_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_libraryname_buf_runtimeType)) + { + value_value_buf_libraryname_buf.value = static_cast(thisDeserializer.readString()); + } + value_value_buf.libraryname = value_value_buf_libraryname_buf; + const auto value_value_buf_controller_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_XComponentController value_value_buf_controller_buf = {}; + value_value_buf_controller_buf.tag = value_value_buf_controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_controller_buf_runtimeType)) + { + value_value_buf_controller_buf.value = static_cast(thisDeserializer.readXComponentController()); + } + value_value_buf.controller = value_value_buf_controller_buf; + Ark_Type_XComponentInterface_callable0_value value_value = value_value_buf;; + GetNodeModifiers()->getXComponentModifier()->setXComponentOptions0(self, (const Ark_Type_XComponentInterface_callable0_value*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions0, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_XComponentInterface_setXComponentOptions1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Type_XComponentInterface_callable1_value value_value_buf = {}; + value_value_buf.id = static_cast(thisDeserializer.readString()); + value_value_buf.type = static_cast(thisDeserializer.readInt32()); + const auto value_value_buf_libraryname_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String value_value_buf_libraryname_buf = {}; + value_value_buf_libraryname_buf.tag = value_value_buf_libraryname_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_libraryname_buf_runtimeType)) + { + value_value_buf_libraryname_buf.value = static_cast(thisDeserializer.readString()); + } + value_value_buf.libraryname = value_value_buf_libraryname_buf; + const auto value_value_buf_controller_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_XComponentController value_value_buf_controller_buf = {}; + value_value_buf_controller_buf.tag = value_value_buf_controller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_controller_buf_runtimeType)) + { + value_value_buf_controller_buf.value = static_cast(thisDeserializer.readXComponentController()); + } + value_value_buf.controller = value_value_buf_controller_buf; + Ark_Type_XComponentInterface_callable1_value value_value = value_value_buf;; + GetNodeModifiers()->getXComponentModifier()->setXComponentOptions1(self, (const Ark_Type_XComponentInterface_callable1_value*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_XComponentInterface_setXComponentOptions2(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_XComponentOptions options_value = thisDeserializer.readXComponentOptions();; + GetNodeModifiers()->getXComponentModifier()->setXComponentOptions2(self, (const Ark_XComponentOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions2, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_XComponentInterface_setXComponentOptions3(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_NativeXComponentParameters params_value = thisDeserializer.readNativeXComponentParameters();; + GetNodeModifiers()->getXComponentModifier()->setXComponentOptions3(self, (const Ark_NativeXComponentParameters*)¶ms_value); +} +KOALA_INTEROP_DIRECT_V3(XComponentInterface_setXComponentOptions3, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_XComponentAttribute_onLoad(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + OnNativeLoadCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnNativeLoadCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnNativeLoadCallback))))};; + GetNodeModifiers()->getXComponentModifier()->setOnLoad(self, (const OnNativeLoadCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(XComponentAttribute_onLoad, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_XComponentAttribute_onDestroy(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + VoidCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))};; + GetNodeModifiers()->getXComponentModifier()->setOnDestroy(self, (const VoidCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(XComponentAttribute_onDestroy, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_XComponentAttribute_enableAnalyzer(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getXComponentModifier()->setEnableAnalyzer(self, value); +} +KOALA_INTEROP_DIRECT_V2(XComponentAttribute_enableAnalyzer, Ark_NativePointer, Ark_Boolean) +void impl_XComponentAttribute_enableSecure(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getXComponentModifier()->setEnableSecure(self, value); +} +KOALA_INTEROP_DIRECT_V2(XComponentAttribute_enableSecure, Ark_NativePointer, Ark_Boolean) +void impl_XComponentAttribute_hdrBrightness(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getXComponentModifier()->setHdrBrightness(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(XComponentAttribute_hdrBrightness, Ark_NativePointer, KInteropNumber) +void impl_XComponentAttribute_enableTransparentLayer(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getXComponentModifier()->setEnableTransparentLayer(self, value); +} +KOALA_INTEROP_DIRECT_V2(XComponentAttribute_enableTransparentLayer, Ark_NativePointer, Ark_Boolean) +Ark_NativePointer impl_SideBarContainer_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getSideBarContainerModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(SideBarContainer_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_SideBarContainerInterface_setSideBarContainerOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto type_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SideBarContainerType type_value_buf = {}; + type_value_buf.tag = type_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType)) + { + type_value_buf.value = static_cast(thisDeserializer.readInt32()); + } + Opt_SideBarContainerType type_value = type_value_buf;; + GetNodeModifiers()->getSideBarContainerModifier()->setSideBarContainerOptions(self, (const Opt_SideBarContainerType*)&type_value); +} +KOALA_INTEROP_DIRECT_V3(SideBarContainerInterface_setSideBarContainerOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SideBarContainerAttribute_showSideBar(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSideBarContainerModifier()->setShowSideBar(self, value); +} +KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_showSideBar, Ark_NativePointer, Ark_Boolean) +void impl_SideBarContainerAttribute_controlButton(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ButtonStyle value_value = thisDeserializer.readButtonStyle();; + GetNodeModifiers()->getSideBarContainerModifier()->setControlButton(self, (const Ark_ButtonStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_controlButton, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SideBarContainerAttribute_showControlButton(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSideBarContainerModifier()->setShowControlButton(self, value); +} +KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_showControlButton, Ark_NativePointer, Ark_Boolean) +void impl_SideBarContainerAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getSideBarContainerModifier()->setOnChange(self, (const Callback_Boolean_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SideBarContainerAttribute_sideBarWidth0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth0(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_sideBarWidth0, Ark_NativePointer, KInteropNumber) +void impl_SideBarContainerAttribute_sideBarWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth1(self, (const Ark_Length*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_sideBarWidth1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SideBarContainerAttribute_minSideBarWidth0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSideBarContainerModifier()->setMinSideBarWidth0(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_minSideBarWidth0, Ark_NativePointer, KInteropNumber) +void impl_SideBarContainerAttribute_minSideBarWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSideBarContainerModifier()->setMinSideBarWidth1(self, (const Ark_Length*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_minSideBarWidth1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SideBarContainerAttribute_maxSideBarWidth0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSideBarContainerModifier()->setMaxSideBarWidth0(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_maxSideBarWidth0, Ark_NativePointer, KInteropNumber) +void impl_SideBarContainerAttribute_maxSideBarWidth1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSideBarContainerModifier()->setMaxSideBarWidth1(self, (const Ark_Length*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_maxSideBarWidth1, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SideBarContainerAttribute_autoHide(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSideBarContainerModifier()->setAutoHide(self, value); +} +KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_autoHide, Ark_NativePointer, Ark_Boolean) +void impl_SideBarContainerAttribute_sideBarPosition(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getSideBarContainerModifier()->setSideBarPosition(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(SideBarContainerAttribute_sideBarPosition, Ark_NativePointer, Ark_Int32) +void impl_SideBarContainerAttribute_divider(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DividerStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readDividerStyle(); + } + Opt_DividerStyle value_value = value_value_buf;; + GetNodeModifiers()->getSideBarContainerModifier()->setDivider(self, (const Opt_DividerStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_divider, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SideBarContainerAttribute_minContentWidth(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Dimension value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Dimension value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getSideBarContainerModifier()->setMinContentWidth(self, (const Ark_Dimension*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute_minContentWidth, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SideBarContainerAttribute__onChangeEvent_showSideBar(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Boolean_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))};; + GetNodeModifiers()->getSideBarContainerModifier()->set_onChangeEvent_showSideBar(self, (const Callback_Boolean_Void*)&callback_value); +} +KOALA_INTEROP_DIRECT_V3(SideBarContainerAttribute__onChangeEvent_showSideBar, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_RemoteWindow_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getRemoteWindowModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(RemoteWindow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_RemoteWindowInterface_setRemoteWindowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_WindowAnimationTarget target_value = thisDeserializer.readWindowAnimationTarget();; + GetNodeModifiers()->getRemoteWindowModifier()->setRemoteWindowOptions(self, (const Ark_WindowAnimationTarget*)&target_value); +} +KOALA_INTEROP_DIRECT_V3(RemoteWindowInterface_setRemoteWindowOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_WaterFlow_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getWaterFlowModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(WaterFlow_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_WaterFlowInterface_setWaterFlowOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_WaterFlowOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readWaterFlowOptions(); + } + Opt_WaterFlowOptions options_value = options_value_buf;; + GetNodeModifiers()->getWaterFlowModifier()->setWaterFlowOptions(self, (const Opt_WaterFlowOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowInterface_setWaterFlowOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_columnsTemplate(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWaterFlowModifier()->setColumnsTemplate(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(WaterFlowAttribute_columnsTemplate, Ark_NativePointer, KStringPtr) +void impl_WaterFlowAttribute_itemConstraintSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ConstraintSizeOptions value_value = thisDeserializer.readConstraintSizeOptions();; + GetNodeModifiers()->getWaterFlowModifier()->setItemConstraintSize(self, (const Ark_ConstraintSizeOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_itemConstraintSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_rowsTemplate(Ark_NativePointer thisPtr, const KStringPtr& value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWaterFlowModifier()->setRowsTemplate(self, (const Ark_String*) (&value)); +} +KOALA_INTEROP_V2(WaterFlowAttribute_rowsTemplate, Ark_NativePointer, KStringPtr) +void impl_WaterFlowAttribute_columnsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getWaterFlowModifier()->setColumnsGap(self, (const Ark_Length*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_columnsGap, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_rowsGap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Length value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Length value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getWaterFlowModifier()->setRowsGap(self, (const Ark_Length*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_rowsGap, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_layoutDirection(Ark_NativePointer thisPtr, Ark_Int32 value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWaterFlowModifier()->setLayoutDirection(self, static_cast(value)); +} +KOALA_INTEROP_DIRECT_V2(WaterFlowAttribute_layoutDirection, Ark_NativePointer, Ark_Int32) +void impl_WaterFlowAttribute_nestedScroll(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_NestedScrollOptions value_value = thisDeserializer.readNestedScrollOptions();; + GetNodeModifiers()->getWaterFlowModifier()->setNestedScroll(self, (const Ark_NestedScrollOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_nestedScroll, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_enableScrollInteraction(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWaterFlowModifier()->setEnableScrollInteraction(self, value); +} +KOALA_INTEROP_DIRECT_V2(WaterFlowAttribute_enableScrollInteraction, Ark_NativePointer, Ark_Boolean) +void impl_WaterFlowAttribute_friction(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Resource value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Resource value_value = static_cast(value_value_buf);; + GetNodeModifiers()->getWaterFlowModifier()->setFriction(self, (const Ark_Union_Number_Resource*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_friction, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_cachedCount0(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWaterFlowModifier()->setCachedCount0(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_DIRECT_V2(WaterFlowAttribute_cachedCount0, Ark_NativePointer, KInteropNumber) +void impl_WaterFlowAttribute_cachedCount1(Ark_NativePointer thisPtr, KInteropNumber count, Ark_Boolean show) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + GetNodeModifiers()->getWaterFlowModifier()->setCachedCount1(self, (const Ark_Number*) (&count), show); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_cachedCount1, Ark_NativePointer, KInteropNumber, Ark_Boolean) +void impl_WaterFlowAttribute_onReachStart(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getWaterFlowModifier()->setOnReachStart(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onReachStart, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_onReachEnd(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getWaterFlowModifier()->setOnReachEnd(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onReachEnd, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_onScrollFrameBegin(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_ScrollState_Literal_Number_offsetRemain value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain))))};; + GetNodeModifiers()->getWaterFlowModifier()->setOnScrollFrameBegin(self, (const Callback_Number_ScrollState_Literal_Number_offsetRemain*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onScrollFrameBegin, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_WaterFlowAttribute_onScrollIndex(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Number_Void))))};; + GetNodeModifiers()->getWaterFlowModifier()->setOnScrollIndex(self, (const Callback_Number_Number_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(WaterFlowAttribute_onScrollIndex, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_UIExtensionComponent_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getUIExtensionComponentModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(UIExtensionComponent_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_UIExtensionComponentInterface_setUIExtensionComponentOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Want want_value = thisDeserializer.readWant();; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_UIExtensionOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readUIExtensionOptions(); + } + Opt_UIExtensionOptions options_value = options_value_buf;; + GetNodeModifiers()->getUIExtensionComponentModifier()->setUIExtensionComponentOptions(self, (const Ark_Want*)&want_value, (const Opt_UIExtensionOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(UIExtensionComponentInterface_setUIExtensionComponentOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UIExtensionComponentAttribute_onRemoteReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_UIExtensionProxy_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_UIExtensionProxy_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))};; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnRemoteReady(self, (const Callback_UIExtensionProxy_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onRemoteReady, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UIExtensionComponentAttribute_onReceive(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Map_String_Object_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Map_String_Object_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Map_String_Object_Void))))};; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnReceive(self, (const Callback_Map_String_Object_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onReceive, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UIExtensionComponentAttribute_onResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Literal_Number_code__want_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_Number_code__want_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_Number_code__want_Void))))};; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnResult(self, (const Callback_Literal_Number_code__want_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onResult, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UIExtensionComponentAttribute_onRelease(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Number_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_Void))))};; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnRelease(self, (const Callback_Number_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onRelease, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UIExtensionComponentAttribute_onError(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + ErrorCallback value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ErrorCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ErrorCallback))))};; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnError(self, (const ErrorCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onError, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UIExtensionComponentAttribute_onTerminated(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_TerminationInfo_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TerminationInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TerminationInfo_Void))))};; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnTerminated(self, (const Callback_TerminationInfo_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onTerminated, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UIExtensionComponentAttribute_onDrawReady(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetNodeModifiers()->getUIExtensionComponentModifier()->setOnDrawReady(self, (const Callback_Void*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(UIExtensionComponentAttribute_onDrawReady, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_LinearIndicator_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getLinearIndicatorModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(LinearIndicator_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_LinearIndicatorInterface_setLinearIndicatorOptions(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto count_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number count_value_buf = {}; + count_value_buf.tag = count_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (count_value_buf_runtimeType)) + { + count_value_buf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number count_value = count_value_buf;; + const auto controller_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_LinearIndicatorController controller_value_buf = {}; + controller_value_buf.tag = controller_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType)) + { + controller_value_buf.value = static_cast(thisDeserializer.readLinearIndicatorController()); + } + Opt_LinearIndicatorController controller_value = controller_value_buf;; + GetNodeModifiers()->getLinearIndicatorModifier()->setLinearIndicatorOptions(self, (const Opt_Number*)&count_value, (const Opt_LinearIndicatorController*)&controller_value); +} +KOALA_INTEROP_DIRECT_V3(LinearIndicatorInterface_setLinearIndicatorOptions, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_LinearIndicatorAttribute_indicatorStyle(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_LinearIndicatorStyle value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readLinearIndicatorStyle(); + } + Opt_LinearIndicatorStyle value_value = value_value_buf;; + GetNodeModifiers()->getLinearIndicatorModifier()->setIndicatorStyle(self, (const Opt_LinearIndicatorStyle*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(LinearIndicatorAttribute_indicatorStyle, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_LinearIndicatorAttribute_indicatorLoop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean value_value = value_value_buf;; + GetNodeModifiers()->getLinearIndicatorModifier()->setIndicatorLoop(self, (const Opt_Boolean*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(LinearIndicatorAttribute_indicatorLoop, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_LinearIndicatorAttribute_onChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnLinearIndicatorChangeCallback value_value_buf = {}; + value_value_buf.tag = value_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + { + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnLinearIndicatorChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnLinearIndicatorChangeCallback))))}; + } + Opt_OnLinearIndicatorChangeCallback value_value = value_value_buf;; + GetNodeModifiers()->getLinearIndicatorModifier()->setOnChange(self, (const Opt_OnLinearIndicatorChangeCallback*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(LinearIndicatorAttribute_onChange, Ark_NativePointer, KSerializerBuffer, int32_t) + +// Accessors + +void impl_AnimationExtender_SetClipRect(Ark_NativePointer node, KFloat x, KFloat y, KFloat width, KFloat height) { + GetAccessors()->getAnimationExtenderAccessor()->SetClipRect(node, x, y, width, height); +} +KOALA_INTEROP_DIRECT_V5(AnimationExtender_SetClipRect, Ark_NativePointer, KFloat, KFloat, KFloat, KFloat) +void impl_AnimationExtender_OpenImplicitAnimation(KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_AnimateParam param_value = thisDeserializer.readAnimateParam();; + GetAccessors()->getAnimationExtenderAccessor()->OpenImplicitAnimation((const Ark_AnimateParam*)¶m_value); +} +KOALA_INTEROP_DIRECT_V2(AnimationExtender_OpenImplicitAnimation, KSerializerBuffer, int32_t) +void impl_AnimationExtender_CloseImplicitAnimation() { + GetAccessors()->getAnimationExtenderAccessor()->CloseImplicitAnimation(); +} +KOALA_INTEROP_DIRECT_V0(AnimationExtender_CloseImplicitAnimation) +void impl_AnimationExtender_StartDoubleAnimation(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_DoubleAnimationParam param_value = thisDeserializer.readDoubleAnimationParam();; + GetAccessors()->getAnimationExtenderAccessor()->StartDoubleAnimation(node, (const Ark_DoubleAnimationParam*)¶m_value); +} +KOALA_INTEROP_DIRECT_V3(AnimationExtender_StartDoubleAnimation, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_AnimationExtender_AnimationTranslate(Ark_NativePointer node, KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_TranslateOptions options_value = thisDeserializer.readTranslateOptions();; + GetAccessors()->getAnimationExtenderAccessor()->AnimationTranslate(node, (const Ark_TranslateOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V3(AnimationExtender_AnimationTranslate, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_BaseContext_ctor() { + return GetAccessors()->getBaseContextAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(BaseContext_ctor, Ark_NativePointer) +Ark_NativePointer impl_BaseContext_getFinalizer() { + return GetAccessors()->getBaseContextAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(BaseContext_getFinalizer, Ark_NativePointer) +Ark_Boolean impl_BaseContext_getStageMode(Ark_NativePointer thisPtr) { + Ark_BaseContext self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseContextAccessor()->getStageMode(self); +} +KOALA_INTEROP_DIRECT_1(BaseContext_getStageMode, Ark_Boolean, Ark_NativePointer) +void impl_BaseContext_setStageMode(Ark_NativePointer thisPtr, Ark_Boolean stageMode) { + Ark_BaseContext self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseContextAccessor()->setStageMode(self, stageMode); +} +KOALA_INTEROP_DIRECT_V2(BaseContext_setStageMode, Ark_NativePointer, Ark_Boolean) +Ark_NativePointer impl_Context_ctor() { + return GetAccessors()->getContextAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(Context_ctor, Ark_NativePointer) +Ark_NativePointer impl_Context_getFinalizer() { + return GetAccessors()->getContextAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(Context_getFinalizer, Ark_NativePointer) Ark_NativePointer impl_Context_createBundleContext(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& bundleName) { @@ -20772,7 +23858,7 @@ Ark_NativePointer impl_BaseShape_width(Ark_NativePointer thisPtr, KSerializerBuf Ark_BaseShape self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 width_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_value_buf = {}; + Ark_Length width_value_buf = {}; width_value_buf.selector = width_value_buf_selector; if (width_value_buf_selector == 0) { width_value_buf.selector = 0; @@ -20789,15 +23875,15 @@ Ark_NativePointer impl_BaseShape_width(Ark_NativePointer thisPtr, KSerializerBuf else { INTEROP_FATAL("One of the branches for width_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource width_value = static_cast(width_value_buf);; - return GetAccessors()->getBaseShapeAccessor()->width(self, (const Ark_Union_String_Number_Resource*)&width_value); + Ark_Length width_value = static_cast(width_value_buf);; + return GetAccessors()->getBaseShapeAccessor()->width(self, (const Ark_Length*)&width_value); } KOALA_INTEROP_DIRECT_3(BaseShape_width, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_BaseShape_height(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_BaseShape self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 height_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_value_buf = {}; + Ark_Length height_value_buf = {}; height_value_buf.selector = height_value_buf_selector; if (height_value_buf_selector == 0) { height_value_buf.selector = 0; @@ -20814,8 +23900,8 @@ Ark_NativePointer impl_BaseShape_height(Ark_NativePointer thisPtr, KSerializerBu else { INTEROP_FATAL("One of the branches for height_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource height_value = static_cast(height_value_buf);; - return GetAccessors()->getBaseShapeAccessor()->height(self, (const Ark_Union_String_Number_Resource*)&height_value); + Ark_Length height_value = static_cast(height_value_buf);; + return GetAccessors()->getBaseShapeAccessor()->height(self, (const Ark_Length*)&height_value); } KOALA_INTEROP_DIRECT_3(BaseShape_height, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_BaseShape_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -20903,7 +23989,7 @@ Ark_NativePointer impl_RectShape_width(Ark_NativePointer thisPtr, KSerializerBuf Ark_RectShape self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 width_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_value_buf = {}; + Ark_Length width_value_buf = {}; width_value_buf.selector = width_value_buf_selector; if (width_value_buf_selector == 0) { width_value_buf.selector = 0; @@ -20920,15 +24006,15 @@ Ark_NativePointer impl_RectShape_width(Ark_NativePointer thisPtr, KSerializerBuf else { INTEROP_FATAL("One of the branches for width_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource width_value = static_cast(width_value_buf);; - return GetAccessors()->getRectShapeAccessor()->width(self, (const Ark_Union_String_Number_Resource*)&width_value); + Ark_Length width_value = static_cast(width_value_buf);; + return GetAccessors()->getRectShapeAccessor()->width(self, (const Ark_Length*)&width_value); } KOALA_INTEROP_DIRECT_3(RectShape_width, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_RectShape_height(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_RectShape self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 height_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_value_buf = {}; + Ark_Length height_value_buf = {}; height_value_buf.selector = height_value_buf_selector; if (height_value_buf_selector == 0) { height_value_buf.selector = 0; @@ -20945,8 +24031,8 @@ Ark_NativePointer impl_RectShape_height(Ark_NativePointer thisPtr, KSerializerBu else { INTEROP_FATAL("One of the branches for height_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource height_value = static_cast(height_value_buf);; - return GetAccessors()->getRectShapeAccessor()->height(self, (const Ark_Union_String_Number_Resource*)&height_value); + Ark_Length height_value = static_cast(height_value_buf);; + return GetAccessors()->getRectShapeAccessor()->height(self, (const Ark_Length*)&height_value); } KOALA_INTEROP_DIRECT_3(RectShape_height, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_RectShape_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -21108,7 +24194,7 @@ Ark_NativePointer impl_CircleShape_width(Ark_NativePointer thisPtr, KSerializerB Ark_CircleShape self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 width_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_value_buf = {}; + Ark_Length width_value_buf = {}; width_value_buf.selector = width_value_buf_selector; if (width_value_buf_selector == 0) { width_value_buf.selector = 0; @@ -21125,15 +24211,15 @@ Ark_NativePointer impl_CircleShape_width(Ark_NativePointer thisPtr, KSerializerB else { INTEROP_FATAL("One of the branches for width_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource width_value = static_cast(width_value_buf);; - return GetAccessors()->getCircleShapeAccessor()->width(self, (const Ark_Union_String_Number_Resource*)&width_value); + Ark_Length width_value = static_cast(width_value_buf);; + return GetAccessors()->getCircleShapeAccessor()->width(self, (const Ark_Length*)&width_value); } KOALA_INTEROP_DIRECT_3(CircleShape_width, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_CircleShape_height(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_CircleShape self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 height_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_value_buf = {}; + Ark_Length height_value_buf = {}; height_value_buf.selector = height_value_buf_selector; if (height_value_buf_selector == 0) { height_value_buf.selector = 0; @@ -21150,8 +24236,8 @@ Ark_NativePointer impl_CircleShape_height(Ark_NativePointer thisPtr, KSerializer else { INTEROP_FATAL("One of the branches for height_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource height_value = static_cast(height_value_buf);; - return GetAccessors()->getCircleShapeAccessor()->height(self, (const Ark_Union_String_Number_Resource*)&height_value); + Ark_Length height_value = static_cast(height_value_buf);; + return GetAccessors()->getCircleShapeAccessor()->height(self, (const Ark_Length*)&height_value); } KOALA_INTEROP_DIRECT_3(CircleShape_height, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_CircleShape_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -21225,7 +24311,7 @@ Ark_NativePointer impl_EllipseShape_width(Ark_NativePointer thisPtr, KSerializer Ark_EllipseShape self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 width_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource width_value_buf = {}; + Ark_Length width_value_buf = {}; width_value_buf.selector = width_value_buf_selector; if (width_value_buf_selector == 0) { width_value_buf.selector = 0; @@ -21242,15 +24328,15 @@ Ark_NativePointer impl_EllipseShape_width(Ark_NativePointer thisPtr, KSerializer else { INTEROP_FATAL("One of the branches for width_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource width_value = static_cast(width_value_buf);; - return GetAccessors()->getEllipseShapeAccessor()->width(self, (const Ark_Union_String_Number_Resource*)&width_value); + Ark_Length width_value = static_cast(width_value_buf);; + return GetAccessors()->getEllipseShapeAccessor()->width(self, (const Ark_Length*)&width_value); } KOALA_INTEROP_DIRECT_3(EllipseShape_width, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_EllipseShape_height(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_EllipseShape self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 height_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource height_value_buf = {}; + Ark_Length height_value_buf = {}; height_value_buf.selector = height_value_buf_selector; if (height_value_buf_selector == 0) { height_value_buf.selector = 0; @@ -21267,8 +24353,8 @@ Ark_NativePointer impl_EllipseShape_height(Ark_NativePointer thisPtr, KSerialize else { INTEROP_FATAL("One of the branches for height_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource height_value = static_cast(height_value_buf);; - return GetAccessors()->getEllipseShapeAccessor()->height(self, (const Ark_Union_String_Number_Resource*)&height_value); + Ark_Length height_value = static_cast(height_value_buf);; + return GetAccessors()->getEllipseShapeAccessor()->height(self, (const Ark_Length*)&height_value); } KOALA_INTEROP_DIRECT_3(EllipseShape_height, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_EllipseShape_size(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { @@ -22440,924 +25526,827 @@ void impl_NavExtender_setTitleModeChange(Ark_NativePointer navigation, KSerializ Callback_NavigationTitleMode_Void titleCallback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_NavigationTitleMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_NavigationTitleMode_Void))))};; GetAccessors()->getNavExtenderAccessor()->setTitleModeChange(navigation, (const Callback_NavigationTitleMode_Void*)&titleCallback_value); } -KOALA_INTEROP_DIRECT_V3(NavExtender_setTitleModeChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavExtender_setTitleMode(Ark_NativePointer navigation, Ark_Int32 titleMode) { - GetAccessors()->getNavExtenderAccessor()->setTitleMode(navigation, static_cast(titleMode)); +KOALA_INTEROP_DIRECT_V3(NavExtender_setTitleModeChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavExtender_setTitleMode(Ark_NativePointer navigation, Ark_Int32 titleMode) { + GetAccessors()->getNavExtenderAccessor()->setTitleMode(navigation, static_cast(titleMode)); +} +KOALA_INTEROP_DIRECT_V2(NavExtender_setTitleMode, Ark_NativePointer, Ark_Int32) +void impl_NavExtender_title(Ark_NativePointer navigation, const KStringPtr& title, Ark_Boolean hasSubTitle) { + GetAccessors()->getNavExtenderAccessor()->title(navigation, (const Ark_String*) (&title), hasSubTitle); +} +KOALA_INTEROP_V3(NavExtender_title, Ark_NativePointer, KStringPtr, Ark_Boolean) +void impl_NavExtender_subTitle(Ark_NativePointer navigation, const KStringPtr& subTitle) { + GetAccessors()->getNavExtenderAccessor()->subTitle(navigation, (const Ark_String*) (&subTitle)); +} +KOALA_INTEROP_V2(NavExtender_subTitle, Ark_NativePointer, KStringPtr) +void impl_EventEmulator_emitClickEvent(Ark_NativePointer node, Ark_NativePointer event) { + GetAccessors()->getEventEmulatorAccessor()->emitClickEvent(node, static_cast(event)); +} +KOALA_INTEROP_DIRECT_V2(EventEmulator_emitClickEvent, Ark_NativePointer, Ark_NativePointer) +void impl_EventEmulator_emitTextInputEvent(Ark_NativePointer node, const KStringPtr& text) { + GetAccessors()->getEventEmulatorAccessor()->emitTextInputEvent(node, (const Ark_String*) (&text)); +} +KOALA_INTEROP_V2(EventEmulator_emitTextInputEvent, Ark_NativePointer, KStringPtr) +void impl_ActionSheet_show(KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ActionSheetOptions value_value = thisDeserializer.readActionSheetOptions();; + GetAccessors()->getActionSheetAccessor()->show((const Ark_ActionSheetOptions*)&value_value); +} +KOALA_INTEROP_DIRECT_V2(ActionSheet_show, KSerializerBuffer, int32_t) +void impl_AlertDialog_show(KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_Type_AlertDialog_show_value value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = thisDeserializer.readAlertDialogParamWithConfirm(); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = thisDeserializer.readAlertDialogParamWithButtons(); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = thisDeserializer.readAlertDialogParamWithOptions(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_Type_AlertDialog_show_value value_value = static_cast(value_value_buf);; + GetAccessors()->getAlertDialogAccessor()->show((const Ark_Type_AlertDialog_show_value*)&value_value); +} +KOALA_INTEROP_DIRECT_V2(AlertDialog_show, KSerializerBuffer, int32_t) +Ark_NativePointer impl_SpringProp_ctor(KInteropNumber mass, KInteropNumber stiffness, KInteropNumber damping) { + return GetAccessors()->getSpringPropAccessor()->ctor((const Ark_Number*) (&mass), (const Ark_Number*) (&stiffness), (const Ark_Number*) (&damping)); +} +KOALA_INTEROP_DIRECT_3(SpringProp_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber) +Ark_NativePointer impl_SpringProp_getFinalizer() { + return GetAccessors()->getSpringPropAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(SpringProp_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_SpringMotion_ctor(KInteropNumber start, KInteropNumber end, KInteropNumber velocity, Ark_NativePointer prop) { + return GetAccessors()->getSpringMotionAccessor()->ctor((const Ark_Number*) (&start), (const Ark_Number*) (&end), (const Ark_Number*) (&velocity), static_cast(prop)); +} +KOALA_INTEROP_DIRECT_4(SpringMotion_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, Ark_NativePointer) +Ark_NativePointer impl_SpringMotion_getFinalizer() { + return GetAccessors()->getSpringMotionAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(SpringMotion_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_FrictionMotion_ctor(KInteropNumber friction, KInteropNumber position, KInteropNumber velocity) { + return GetAccessors()->getFrictionMotionAccessor()->ctor((const Ark_Number*) (&friction), (const Ark_Number*) (&position), (const Ark_Number*) (&velocity)); +} +KOALA_INTEROP_DIRECT_3(FrictionMotion_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber) +Ark_NativePointer impl_FrictionMotion_getFinalizer() { + return GetAccessors()->getFrictionMotionAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(FrictionMotion_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_ScrollMotion_ctor(KInteropNumber position, KInteropNumber velocity, KInteropNumber min, KInteropNumber max, Ark_NativePointer prop) { + return GetAccessors()->getScrollMotionAccessor()->ctor((const Ark_Number*) (&position), (const Ark_Number*) (&velocity), (const Ark_Number*) (&min), (const Ark_Number*) (&max), static_cast(prop)); +} +KOALA_INTEROP_DIRECT_5(ScrollMotion_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, Ark_NativePointer) +Ark_NativePointer impl_ScrollMotion_getFinalizer() { + return GetAccessors()->getScrollMotionAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(ScrollMotion_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_CalendarController_ctor() { + return GetAccessors()->getCalendarControllerAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(CalendarController_ctor, Ark_NativePointer) +Ark_NativePointer impl_CalendarController_getFinalizer() { + return GetAccessors()->getCalendarControllerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(CalendarController_getFinalizer, Ark_NativePointer) +void impl_CalendarController_backToToday(Ark_NativePointer thisPtr) { + Ark_CalendarController self = reinterpret_cast(thisPtr); + GetAccessors()->getCalendarControllerAccessor()->backToToday(self); +} +KOALA_INTEROP_DIRECT_V1(CalendarController_backToToday, Ark_NativePointer) +void impl_CalendarController_goTo(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_CalendarController self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Literal_Number_day_month_year value_value_buf = {}; + value_value_buf.year = static_cast(thisDeserializer.readNumber()); + value_value_buf.month = static_cast(thisDeserializer.readNumber()); + value_value_buf.day = static_cast(thisDeserializer.readNumber()); + Ark_Literal_Number_day_month_year value_value = value_value_buf;; + GetAccessors()->getCalendarControllerAccessor()->goTo(self, (const Ark_Literal_Number_day_month_year*)&value_value); +} +KOALA_INTEROP_DIRECT_V3(CalendarController_goTo, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CalendarPickerDialog_show(KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CalendarDialogOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readCalendarDialogOptions(); + } + Opt_CalendarDialogOptions options_value = options_value_buf;; + GetAccessors()->getCalendarPickerDialogAccessor()->show((const Opt_CalendarDialogOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V2(CalendarPickerDialog_show, KSerializerBuffer, int32_t) +Ark_NativePointer impl_ICurve_ctor() { + return GetAccessors()->getICurveAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(ICurve_ctor, Ark_NativePointer) +Ark_NativePointer impl_ICurve_getFinalizer() { + return GetAccessors()->getICurveAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(ICurve_getFinalizer, Ark_NativePointer) +Ark_Number impl_ICurve_interpolate(Ark_NativePointer thisPtr, KInteropNumber fraction) { + Ark_ICurve self = reinterpret_cast(thisPtr); + return GetAccessors()->getICurveAccessor()->interpolate(self, (const Ark_Number*) (&fraction)); +} +KOALA_INTEROP_DIRECT_2(ICurve_interpolate, KInteropNumber, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_DrawModifier_ctor() { + return GetAccessors()->getDrawModifierAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(DrawModifier_ctor, Ark_NativePointer) +Ark_NativePointer impl_DrawModifier_getFinalizer() { + return GetAccessors()->getDrawModifierAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(DrawModifier_getFinalizer, Ark_NativePointer) +void impl_DrawModifier_drawBehind(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_DrawModifier self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_DrawContext drawContext_value = thisDeserializer.readDrawContext();; + GetAccessors()->getDrawModifierAccessor()->drawBehind(self, (const Ark_DrawContext*)&drawContext_value); +} +KOALA_INTEROP_DIRECT_V3(DrawModifier_drawBehind, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DrawModifier_drawContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_DrawModifier self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_DrawContext drawContext_value = thisDeserializer.readDrawContext();; + GetAccessors()->getDrawModifierAccessor()->drawContent(self, (const Ark_DrawContext*)&drawContext_value); +} +KOALA_INTEROP_DIRECT_V3(DrawModifier_drawContent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DrawModifier_drawFront(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_DrawModifier self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_DrawContext drawContext_value = thisDeserializer.readDrawContext();; + GetAccessors()->getDrawModifierAccessor()->drawFront(self, (const Ark_DrawContext*)&drawContext_value); +} +KOALA_INTEROP_DIRECT_V3(DrawModifier_drawFront, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DrawModifier_invalidate(Ark_NativePointer thisPtr) { + Ark_DrawModifier self = reinterpret_cast(thisPtr); + GetAccessors()->getDrawModifierAccessor()->invalidate(self); +} +KOALA_INTEROP_DIRECT_V1(DrawModifier_invalidate, Ark_NativePointer) +Ark_NativePointer impl_TransitionEffect_ctor(const KStringPtr& type, KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_TransitionEffects effect_value_buf = {}; + effect_value_buf.identity = Ark_Undefined(); + effect_value_buf.opacity = static_cast(thisDeserializer.readNumber()); + effect_value_buf.slideSwitch = Ark_Undefined(); + effect_value_buf.move = static_cast(thisDeserializer.readInt32()); + effect_value_buf.translate = thisDeserializer.readTranslateOptions(); + effect_value_buf.rotate = thisDeserializer.readRotateOptions(); + effect_value_buf.scale = thisDeserializer.readScaleOptions(); + Ark_Literal_TransitionEffect_appear_disappear effect_value_buf_asymmetric_buf = {}; + effect_value_buf_asymmetric_buf.appear = static_cast(thisDeserializer.readTransitionEffect()); + effect_value_buf_asymmetric_buf.disappear = static_cast(thisDeserializer.readTransitionEffect()); + effect_value_buf.asymmetric = effect_value_buf_asymmetric_buf; + Ark_TransitionEffects effect_value = effect_value_buf;; + return GetAccessors()->getTransitionEffectAccessor()->ctor((const Ark_String*) (&type), (const Ark_TransitionEffects*)&effect_value); +} +KOALA_INTEROP_3(TransitionEffect_ctor, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TransitionEffect_getFinalizer() { + return GetAccessors()->getTransitionEffectAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(TransitionEffect_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_TransitionEffect_translate(KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_TranslateOptions options_value = thisDeserializer.readTranslateOptions();; + return GetAccessors()->getTransitionEffectAccessor()->translate((const Ark_TranslateOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_2(TransitionEffect_translate, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TransitionEffect_rotate(KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_RotateOptions options_value = thisDeserializer.readRotateOptions();; + return GetAccessors()->getTransitionEffectAccessor()->rotate((const Ark_RotateOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_2(TransitionEffect_rotate, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TransitionEffect_scale(KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ScaleOptions options_value = thisDeserializer.readScaleOptions();; + return GetAccessors()->getTransitionEffectAccessor()->scale((const Ark_ScaleOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_2(TransitionEffect_scale, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TransitionEffect_opacity(KInteropNumber alpha) { + return GetAccessors()->getTransitionEffectAccessor()->opacity((const Ark_Number*) (&alpha)); +} +KOALA_INTEROP_DIRECT_1(TransitionEffect_opacity, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_TransitionEffect_move(Ark_Int32 edge) { + return GetAccessors()->getTransitionEffectAccessor()->move(static_cast(edge)); +} +KOALA_INTEROP_DIRECT_1(TransitionEffect_move, Ark_NativePointer, Ark_Int32) +Ark_NativePointer impl_TransitionEffect_asymmetric(Ark_NativePointer appear, Ark_NativePointer disappear) { + return GetAccessors()->getTransitionEffectAccessor()->asymmetric(static_cast(appear), static_cast(disappear)); +} +KOALA_INTEROP_DIRECT_2(TransitionEffect_asymmetric, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_TransitionEffect_animation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_TransitionEffect self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_AnimateParam value_value = thisDeserializer.readAnimateParam();; + return GetAccessors()->getTransitionEffectAccessor()->animation(self, (const Ark_AnimateParam*)&value_value); +} +KOALA_INTEROP_DIRECT_3(TransitionEffect_animation, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TransitionEffect_combine(Ark_NativePointer thisPtr, Ark_NativePointer transitionEffect) { + Ark_TransitionEffect self = reinterpret_cast(thisPtr); + return GetAccessors()->getTransitionEffectAccessor()->combine(self, static_cast(transitionEffect)); +} +KOALA_INTEROP_DIRECT_2(TransitionEffect_combine, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_TransitionEffect_getIDENTITY() { + return GetAccessors()->getTransitionEffectAccessor()->getIDENTITY(); } -KOALA_INTEROP_DIRECT_V2(NavExtender_setTitleMode, Ark_NativePointer, Ark_Int32) -void impl_NavExtender_title(Ark_NativePointer navigation, const KStringPtr& title, Ark_Boolean hasSubTitle) { - GetAccessors()->getNavExtenderAccessor()->title(navigation, (const Ark_String*) (&title), hasSubTitle); +KOALA_INTEROP_DIRECT_0(TransitionEffect_getIDENTITY, Ark_NativePointer) +Ark_NativePointer impl_TransitionEffect_getOPACITY() { + return GetAccessors()->getTransitionEffectAccessor()->getOPACITY(); } -KOALA_INTEROP_V3(NavExtender_title, Ark_NativePointer, KStringPtr, Ark_Boolean) -void impl_NavExtender_subTitle(Ark_NativePointer navigation, const KStringPtr& subTitle) { - GetAccessors()->getNavExtenderAccessor()->subTitle(navigation, (const Ark_String*) (&subTitle)); +KOALA_INTEROP_DIRECT_0(TransitionEffect_getOPACITY, Ark_NativePointer) +Ark_NativePointer impl_TransitionEffect_getSLIDE() { + return GetAccessors()->getTransitionEffectAccessor()->getSLIDE(); } -KOALA_INTEROP_V2(NavExtender_subTitle, Ark_NativePointer, KStringPtr) -void impl_EventEmulator_emitClickEvent(Ark_NativePointer node, Ark_NativePointer event) { - GetAccessors()->getEventEmulatorAccessor()->emitClickEvent(node, static_cast(event)); +KOALA_INTEROP_DIRECT_0(TransitionEffect_getSLIDE, Ark_NativePointer) +Ark_NativePointer impl_TransitionEffect_getSLIDE_SWITCH() { + return GetAccessors()->getTransitionEffectAccessor()->getSLIDE_SWITCH(); } -KOALA_INTEROP_DIRECT_V2(EventEmulator_emitClickEvent, Ark_NativePointer, Ark_NativePointer) -void impl_EventEmulator_emitTextInputEvent(Ark_NativePointer node, const KStringPtr& text) { - GetAccessors()->getEventEmulatorAccessor()->emitTextInputEvent(node, (const Ark_String*) (&text)); +KOALA_INTEROP_DIRECT_0(TransitionEffect_getSLIDE_SWITCH, Ark_NativePointer) +Ark_NativePointer impl_BaseEvent_ctor() { + return GetAccessors()->getBaseEventAccessor()->ctor(); } -KOALA_INTEROP_V2(EventEmulator_emitTextInputEvent, Ark_NativePointer, KStringPtr) -void impl_ActionSheet_show(KSerializerBuffer thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - Ark_ActionSheetOptions value_value = thisDeserializer.readActionSheetOptions();; - GetAccessors()->getActionSheetAccessor()->show((const Ark_ActionSheetOptions*)&value_value); +KOALA_INTEROP_DIRECT_0(BaseEvent_ctor, Ark_NativePointer) +Ark_NativePointer impl_BaseEvent_getFinalizer() { + return GetAccessors()->getBaseEventAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_V2(ActionSheet_show, KSerializerBuffer, int32_t) -void impl_AlertDialog_show(KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_0(BaseEvent_getFinalizer, Ark_NativePointer) +Ark_Boolean impl_BaseEvent_getModifierKeyState(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Type_AlertDialog_show_value value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = thisDeserializer.readAlertDialogParamWithConfirm(); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readAlertDialogParamWithButtons(); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = thisDeserializer.readAlertDialogParamWithOptions(); - } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + const Ark_Int32 keys_value_buf_length = thisDeserializer.readInt32(); + Array_String keys_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&keys_value_buf, keys_value_buf_length); + for (int keys_value_buf_i = 0; keys_value_buf_i < keys_value_buf_length; keys_value_buf_i++) { + keys_value_buf.array[keys_value_buf_i] = static_cast(thisDeserializer.readString()); } - Ark_Type_AlertDialog_show_value value_value = static_cast(value_value_buf);; - GetAccessors()->getAlertDialogAccessor()->show((const Ark_Type_AlertDialog_show_value*)&value_value); -} -KOALA_INTEROP_DIRECT_V2(AlertDialog_show, KSerializerBuffer, int32_t) -Ark_NativePointer impl_SpringProp_ctor(KInteropNumber mass, KInteropNumber stiffness, KInteropNumber damping) { - return GetAccessors()->getSpringPropAccessor()->ctor((const Ark_Number*) (&mass), (const Ark_Number*) (&stiffness), (const Ark_Number*) (&damping)); + Array_String keys_value = keys_value_buf;; + return GetAccessors()->getBaseEventAccessor()->getModifierKeyState(reinterpret_cast(vmContext), self, (const Array_String*)&keys_value); } -KOALA_INTEROP_DIRECT_3(SpringProp_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber) -Ark_NativePointer impl_SpringProp_getFinalizer() { - return GetAccessors()->getSpringPropAccessor()->getFinalizer(); +KOALA_INTEROP_CTX_3(BaseEvent_getModifierKeyState, Ark_Boolean, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_BaseEvent_getTarget(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getTarget(self); + Serializer _retSerializer {}; + _retSerializer.writeEventTarget(retValue); + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_0(SpringProp_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_SpringMotion_ctor(KInteropNumber start, KInteropNumber end, KInteropNumber velocity, Ark_NativePointer prop) { - return GetAccessors()->getSpringMotionAccessor()->ctor((const Ark_Number*) (&start), (const Ark_Number*) (&end), (const Ark_Number*) (&velocity), static_cast(prop)); +KOALA_INTEROP_1(BaseEvent_getTarget, KInteropReturnBuffer, Ark_NativePointer) +void impl_BaseEvent_setTarget(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_EventTarget target_value = thisDeserializer.readEventTarget();; + GetAccessors()->getBaseEventAccessor()->setTarget(self, (const Ark_EventTarget*)&target_value); } -KOALA_INTEROP_DIRECT_4(SpringMotion_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, Ark_NativePointer) -Ark_NativePointer impl_SpringMotion_getFinalizer() { - return GetAccessors()->getSpringMotionAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_V3(BaseEvent_setTarget, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_Int32 impl_BaseEvent_getTimestamp(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getTimestamp(self); } -KOALA_INTEROP_DIRECT_0(SpringMotion_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_FrictionMotion_ctor(KInteropNumber friction, KInteropNumber position, KInteropNumber velocity) { - return GetAccessors()->getFrictionMotionAccessor()->ctor((const Ark_Number*) (&friction), (const Ark_Number*) (&position), (const Ark_Number*) (&velocity)); +KOALA_INTEROP_DIRECT_1(BaseEvent_getTimestamp, Ark_Int32, Ark_NativePointer) +void impl_BaseEvent_setTimestamp(Ark_NativePointer thisPtr, KLong timestamp) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setTimestamp(self, timestamp); } -KOALA_INTEROP_DIRECT_3(FrictionMotion_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber) -Ark_NativePointer impl_FrictionMotion_getFinalizer() { - return GetAccessors()->getFrictionMotionAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_V2(BaseEvent_setTimestamp, Ark_NativePointer, KLong) +Ark_Int32 impl_BaseEvent_getSource(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getSource(self); } -KOALA_INTEROP_DIRECT_0(FrictionMotion_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_ScrollMotion_ctor(KInteropNumber position, KInteropNumber velocity, KInteropNumber min, KInteropNumber max, Ark_NativePointer prop) { - return GetAccessors()->getScrollMotionAccessor()->ctor((const Ark_Number*) (&position), (const Ark_Number*) (&velocity), (const Ark_Number*) (&min), (const Ark_Number*) (&max), static_cast(prop)); +KOALA_INTEROP_DIRECT_1(BaseEvent_getSource, Ark_Int32, Ark_NativePointer) +void impl_BaseEvent_setSource(Ark_NativePointer thisPtr, Ark_Int32 source) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setSource(self, static_cast(source)); } -KOALA_INTEROP_DIRECT_5(ScrollMotion_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, Ark_NativePointer) -Ark_NativePointer impl_ScrollMotion_getFinalizer() { - return GetAccessors()->getScrollMotionAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_V2(BaseEvent_setSource, Ark_NativePointer, Ark_Int32) +KInteropReturnBuffer impl_BaseEvent_getAxisHorizontal(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getAxisHorizontal(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNumber(retValue_value); + } + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_0(ScrollMotion_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_CalendarController_ctor() { - return GetAccessors()->getCalendarControllerAccessor()->ctor(); +KOALA_INTEROP_1(BaseEvent_getAxisHorizontal, KInteropReturnBuffer, Ark_NativePointer) +void impl_BaseEvent_setAxisHorizontal(Ark_NativePointer thisPtr, KInteropNumber axisHorizontal) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setAxisHorizontal(self, (const Ark_Number*) (&axisHorizontal)); } -KOALA_INTEROP_DIRECT_0(CalendarController_ctor, Ark_NativePointer) -Ark_NativePointer impl_CalendarController_getFinalizer() { - return GetAccessors()->getCalendarControllerAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_V2(BaseEvent_setAxisHorizontal, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_BaseEvent_getAxisVertical(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getAxisVertical(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNumber(retValue_value); + } + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_0(CalendarController_getFinalizer, Ark_NativePointer) -void impl_CalendarController_backToToday(Ark_NativePointer thisPtr) { - Ark_CalendarController self = reinterpret_cast(thisPtr); - GetAccessors()->getCalendarControllerAccessor()->backToToday(self); +KOALA_INTEROP_1(BaseEvent_getAxisVertical, KInteropReturnBuffer, Ark_NativePointer) +void impl_BaseEvent_setAxisVertical(Ark_NativePointer thisPtr, KInteropNumber axisVertical) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setAxisVertical(self, (const Ark_Number*) (&axisVertical)); } -KOALA_INTEROP_DIRECT_V1(CalendarController_backToToday, Ark_NativePointer) -void impl_CalendarController_goTo(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_CalendarController self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Literal_Number_day_month_year value_value_buf = {}; - value_value_buf.year = static_cast(thisDeserializer.readNumber()); - value_value_buf.month = static_cast(thisDeserializer.readNumber()); - value_value_buf.day = static_cast(thisDeserializer.readNumber()); - Ark_Literal_Number_day_month_year value_value = value_value_buf;; - GetAccessors()->getCalendarControllerAccessor()->goTo(self, (const Ark_Literal_Number_day_month_year*)&value_value); +KOALA_INTEROP_DIRECT_V2(BaseEvent_setAxisVertical, Ark_NativePointer, KInteropNumber) +Ark_Number impl_BaseEvent_getPressure(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getPressure(self); } -KOALA_INTEROP_DIRECT_V3(CalendarController_goTo, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_CalendarPickerDialog_show(KSerializerBuffer thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_CalendarDialogOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readCalendarDialogOptions(); - } - Opt_CalendarDialogOptions options_value = options_value_buf;; - GetAccessors()->getCalendarPickerDialogAccessor()->show((const Opt_CalendarDialogOptions*)&options_value); +KOALA_INTEROP_DIRECT_1(BaseEvent_getPressure, KInteropNumber, Ark_NativePointer) +void impl_BaseEvent_setPressure(Ark_NativePointer thisPtr, KInteropNumber pressure) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setPressure(self, (const Ark_Number*) (&pressure)); } -KOALA_INTEROP_DIRECT_V2(CalendarPickerDialog_show, KSerializerBuffer, int32_t) -Ark_NativePointer impl_NavPathInfo_ctor(const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object param_value = static_cast(thisDeserializer.readObject());; - const auto onPop_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_PopInfo_Void onPop_value_buf = {}; - onPop_value_buf.tag = onPop_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (onPop_value_buf_runtimeType)) - { - onPop_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PopInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PopInfo_Void))))}; - } - Opt_Callback_PopInfo_Void onPop_value = onPop_value_buf;; - const auto isEntry_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean isEntry_value_buf = {}; - isEntry_value_buf.tag = isEntry_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (isEntry_value_buf_runtimeType)) - { - isEntry_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean isEntry_value = isEntry_value_buf;; - return GetAccessors()->getNavPathInfoAccessor()->ctor((const Ark_String*) (&name), (const Ark_Object*)¶m_value, (const Opt_Callback_PopInfo_Void*)&onPop_value, (const Opt_Boolean*)&isEntry_value); +KOALA_INTEROP_DIRECT_V2(BaseEvent_setPressure, Ark_NativePointer, KInteropNumber) +Ark_Number impl_BaseEvent_getTiltX(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getTiltX(self); } -KOALA_INTEROP_3(NavPathInfo_ctor, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) -Ark_NativePointer impl_NavPathInfo_getFinalizer() { - return GetAccessors()->getNavPathInfoAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_1(BaseEvent_getTiltX, KInteropNumber, Ark_NativePointer) +void impl_BaseEvent_setTiltX(Ark_NativePointer thisPtr, KInteropNumber tiltX) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setTiltX(self, (const Ark_Number*) (&tiltX)); } -KOALA_INTEROP_DIRECT_0(NavPathInfo_getFinalizer, Ark_NativePointer) -Ark_String impl_NavPathInfo_getName(Ark_NativePointer thisPtr) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - return GetAccessors()->getNavPathInfoAccessor()->getName(self); +KOALA_INTEROP_DIRECT_V2(BaseEvent_setTiltX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_BaseEvent_getTiltY(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getTiltY(self); } -KOALA_INTEROP_1(NavPathInfo_getName, KStringPtr, Ark_NativePointer) -void impl_NavPathInfo_setName(Ark_NativePointer thisPtr, const KStringPtr& name) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - GetAccessors()->getNavPathInfoAccessor()->setName(self, (const Ark_String*) (&name)); +KOALA_INTEROP_DIRECT_1(BaseEvent_getTiltY, KInteropNumber, Ark_NativePointer) +void impl_BaseEvent_setTiltY(Ark_NativePointer thisPtr, KInteropNumber tiltY) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setTiltY(self, (const Ark_Number*) (&tiltY)); } -KOALA_INTEROP_V2(NavPathInfo_setName, Ark_NativePointer, KStringPtr) -KInteropReturnBuffer impl_NavPathInfo_getParam(Ark_NativePointer thisPtr) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getParam(self); +KOALA_INTEROP_DIRECT_V2(BaseEvent_setTiltY, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_BaseEvent_getRollAngle(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getRollAngle(self); Serializer _retSerializer {}; Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; retValue_type = runtimeType(retValue); _retSerializer.writeInt8(retValue_type); if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { const auto retValue_value = retValue.value; - _retSerializer.writeObject(retValue_value); + _retSerializer.writeNumber(retValue_value); } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(NavPathInfo_getParam, KInteropReturnBuffer, Ark_NativePointer) -void impl_NavPathInfo_setParam(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object param_value = static_cast(thisDeserializer.readObject());; - GetAccessors()->getNavPathInfoAccessor()->setParam(self, (const Ark_Object*)¶m_value); +KOALA_INTEROP_1(BaseEvent_getRollAngle, KInteropReturnBuffer, Ark_NativePointer) +void impl_BaseEvent_setRollAngle(Ark_NativePointer thisPtr, KInteropNumber rollAngle) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setRollAngle(self, (const Ark_Number*) (&rollAngle)); +} +KOALA_INTEROP_DIRECT_V2(BaseEvent_setRollAngle, Ark_NativePointer, KInteropNumber) +Ark_Int32 impl_BaseEvent_getSourceTool(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getSourceTool(self); } -KOALA_INTEROP_DIRECT_V3(NavPathInfo_setParam, Ark_NativePointer, KSerializerBuffer, int32_t) -KInteropReturnBuffer impl_NavPathInfo_getOnPop(Ark_NativePointer thisPtr) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getOnPop(self); +KOALA_INTEROP_DIRECT_1(BaseEvent_getSourceTool, Ark_Int32, Ark_NativePointer) +void impl_BaseEvent_setSourceTool(Ark_NativePointer thisPtr, Ark_Int32 sourceTool) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setSourceTool(self, static_cast(sourceTool)); +} +KOALA_INTEROP_DIRECT_V2(BaseEvent_setSourceTool, Ark_NativePointer, Ark_Int32) +KInteropReturnBuffer impl_BaseEvent_getDeviceId(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getDeviceId(self); Serializer _retSerializer {}; Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; retValue_type = runtimeType(retValue); _retSerializer.writeInt8(retValue_type); if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { const auto retValue_value = retValue.value; - _retSerializer.writeCallbackResource(retValue_value.resource); - _retSerializer.writePointer(reinterpret_cast(retValue_value.call)); - _retSerializer.writePointer(reinterpret_cast(retValue_value.callSync)); + _retSerializer.writeNumber(retValue_value); } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(NavPathInfo_getOnPop, KInteropReturnBuffer, Ark_NativePointer) -void impl_NavPathInfo_setOnPop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_PopInfo_Void onPop_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PopInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PopInfo_Void))))};; - GetAccessors()->getNavPathInfoAccessor()->setOnPop(self, (const Callback_PopInfo_Void*)&onPop_value); +KOALA_INTEROP_1(BaseEvent_getDeviceId, KInteropReturnBuffer, Ark_NativePointer) +void impl_BaseEvent_setDeviceId(Ark_NativePointer thisPtr, KInteropNumber deviceId) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setDeviceId(self, (const Ark_Number*) (&deviceId)); } -KOALA_INTEROP_DIRECT_V3(NavPathInfo_setOnPop, Ark_NativePointer, KSerializerBuffer, int32_t) -KInteropReturnBuffer impl_NavPathInfo_getIsEntry(Ark_NativePointer thisPtr) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getIsEntry(self); +KOALA_INTEROP_DIRECT_V2(BaseEvent_setDeviceId, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_BaseEvent_getTargetDisplayId(Ark_NativePointer thisPtr) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getBaseEventAccessor()->getTargetDisplayId(self); Serializer _retSerializer {}; Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; retValue_type = runtimeType(retValue); _retSerializer.writeInt8(retValue_type); if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { const auto retValue_value = retValue.value; - _retSerializer.writeBoolean(retValue_value); + _retSerializer.writeNumber(retValue_value); } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(NavPathInfo_getIsEntry, KInteropReturnBuffer, Ark_NativePointer) -void impl_NavPathInfo_setIsEntry(Ark_NativePointer thisPtr, Ark_Boolean isEntry) { - Ark_NavPathInfo self = reinterpret_cast(thisPtr); - GetAccessors()->getNavPathInfoAccessor()->setIsEntry(self, isEntry); +KOALA_INTEROP_1(BaseEvent_getTargetDisplayId, KInteropReturnBuffer, Ark_NativePointer) +void impl_BaseEvent_setTargetDisplayId(Ark_NativePointer thisPtr, KInteropNumber targetDisplayId) { + Ark_BaseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setTargetDisplayId(self, (const Ark_Number*) (&targetDisplayId)); } -KOALA_INTEROP_DIRECT_V2(NavPathInfo_setIsEntry, Ark_NativePointer, Ark_Boolean) -Ark_NativePointer impl_NavPathStack_ctor() { - return GetAccessors()->getNavPathStackAccessor()->ctor(); +KOALA_INTEROP_DIRECT_V2(BaseEvent_setTargetDisplayId, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_ClickEvent_ctor() { + return GetAccessors()->getClickEventAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_0(NavPathStack_ctor, Ark_NativePointer) -Ark_NativePointer impl_NavPathStack_getFinalizer() { - return GetAccessors()->getNavPathStackAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_0(ClickEvent_ctor, Ark_NativePointer) +Ark_NativePointer impl_ClickEvent_getFinalizer() { + return GetAccessors()->getClickEventAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_0(NavPathStack_getFinalizer, Ark_NativePointer) -void impl_NavPathStack_pushPath0(Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - GetAccessors()->getNavPathStackAccessor()->pushPath0(self, static_cast(info), (const Opt_Boolean*)&animated_value); +KOALA_INTEROP_DIRECT_0(ClickEvent_getFinalizer, Ark_NativePointer) +Ark_Number impl_ClickEvent_getDisplayX(Ark_NativePointer thisPtr) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getDisplayX(self); } -KOALA_INTEROP_DIRECT_V4(NavPathStack_pushPath0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavPathStack_pushPath1(Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readNavigationOptions(); - } - Opt_NavigationOptions options_value = options_value_buf;; - GetAccessors()->getNavPathStackAccessor()->pushPath1(self, static_cast(info), (const Opt_NavigationOptions*)&options_value); +KOALA_INTEROP_DIRECT_1(ClickEvent_getDisplayX, KInteropNumber, Ark_NativePointer) +void impl_ClickEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX)); } -KOALA_INTEROP_DIRECT_V4(NavPathStack_pushPath1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavPathStack_pushDestination0(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};; - GetAccessors()->getNavPathStackAccessor()->pushDestination0(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(info), (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); +KOALA_INTEROP_DIRECT_V2(ClickEvent_setDisplayX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_ClickEvent_getDisplayY(Ark_NativePointer thisPtr) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getDisplayY(self); } -KOALA_INTEROP_CTX_V4(NavPathStack_pushDestination0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavPathStack_pushDestination1(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readNavigationOptions(); - } - Opt_NavigationOptions options_value = options_value_buf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};; - GetAccessors()->getNavPathStackAccessor()->pushDestination1(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(info), (const Opt_NavigationOptions*)&options_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); +KOALA_INTEROP_DIRECT_1(ClickEvent_getDisplayY, KInteropNumber, Ark_NativePointer) +void impl_ClickEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY)); } -KOALA_INTEROP_CTX_V4(NavPathStack_pushDestination1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavPathStack_pushPathByName0(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object param_value = static_cast(thisDeserializer.readObject());; - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - GetAccessors()->getNavPathStackAccessor()->pushPathByName0(self, (const Ark_String*) (&name), (const Ark_Object*)¶m_value, (const Opt_Boolean*)&animated_value); +KOALA_INTEROP_DIRECT_V2(ClickEvent_setDisplayY, Ark_NativePointer, KInteropNumber) +Ark_Number impl_ClickEvent_getWindowX(Ark_NativePointer thisPtr) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getWindowX(self); } -KOALA_INTEROP_V4(NavPathStack_pushPathByName0, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) -void impl_NavPathStack_pushPathByName1(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object param_value = static_cast(thisDeserializer.readObject());; - Callback_PopInfo_Void onPop_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PopInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PopInfo_Void))))};; - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - GetAccessors()->getNavPathStackAccessor()->pushPathByName1(self, (const Ark_String*) (&name), (const Ark_Object*)¶m_value, (const Callback_PopInfo_Void*)&onPop_value, (const Opt_Boolean*)&animated_value); +KOALA_INTEROP_DIRECT_1(ClickEvent_getWindowX, KInteropNumber, Ark_NativePointer) +void impl_ClickEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX)); } -KOALA_INTEROP_V4(NavPathStack_pushPathByName1, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) -void impl_NavPathStack_pushDestinationByName0(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object param_value = static_cast(thisDeserializer.readObject());; - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};; - GetAccessors()->getNavPathStackAccessor()->pushDestinationByName0(reinterpret_cast(vmContext), GetAsyncWorker(), self, (const Ark_String*) (&name), (const Ark_Object*)¶m_value, (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); +KOALA_INTEROP_DIRECT_V2(ClickEvent_setWindowX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_ClickEvent_getWindowY(Ark_NativePointer thisPtr) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getWindowY(self); } -KOALA_INTEROP_CTX_V4(NavPathStack_pushDestinationByName0, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) -void impl_NavPathStack_pushDestinationByName1(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object param_value = static_cast(thisDeserializer.readObject());; - Callback_PopInfo_Void onPop_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PopInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PopInfo_Void))))};; - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};; - GetAccessors()->getNavPathStackAccessor()->pushDestinationByName1(reinterpret_cast(vmContext), GetAsyncWorker(), self, (const Ark_String*) (&name), (const Ark_Object*)¶m_value, (const Callback_PopInfo_Void*)&onPop_value, (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); +KOALA_INTEROP_DIRECT_1(ClickEvent_getWindowY, KInteropNumber, Ark_NativePointer) +void impl_ClickEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY)); } -KOALA_INTEROP_CTX_V4(NavPathStack_pushDestinationByName1, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) -void impl_NavPathStack_replacePath0(Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - GetAccessors()->getNavPathStackAccessor()->replacePath0(self, static_cast(info), (const Opt_Boolean*)&animated_value); +KOALA_INTEROP_DIRECT_V2(ClickEvent_setWindowY, Ark_NativePointer, KInteropNumber) +Ark_Number impl_ClickEvent_getScreenX(Ark_NativePointer thisPtr) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getScreenX(self); } -KOALA_INTEROP_DIRECT_V4(NavPathStack_replacePath0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavPathStack_replacePath1(Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readNavigationOptions(); - } - Opt_NavigationOptions options_value = options_value_buf;; - GetAccessors()->getNavPathStackAccessor()->replacePath1(self, static_cast(info), (const Opt_NavigationOptions*)&options_value); +KOALA_INTEROP_DIRECT_1(ClickEvent_getScreenX, KInteropNumber, Ark_NativePointer) +void impl_ClickEvent_setScreenX(Ark_NativePointer thisPtr, KInteropNumber screenX) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setScreenX(self, (const Ark_Number*) (&screenX)); } -KOALA_INTEROP_DIRECT_V4(NavPathStack_replacePath1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavPathStack_replaceDestination(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_NavigationOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readNavigationOptions(); - } - Opt_NavigationOptions options_value = options_value_buf;; - Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};; - GetAccessors()->getNavPathStackAccessor()->replaceDestination(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(info), (const Opt_NavigationOptions*)&options_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); +KOALA_INTEROP_DIRECT_V2(ClickEvent_setScreenX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_ClickEvent_getScreenY(Ark_NativePointer thisPtr) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getScreenY(self); } -KOALA_INTEROP_CTX_V4(NavPathStack_replaceDestination, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_NavPathStack_replacePathByName(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object param_value = static_cast(thisDeserializer.readObject());; - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - GetAccessors()->getNavPathStackAccessor()->replacePathByName(self, (const Ark_String*) (&name), (const Ark_Object*)¶m_value, (const Opt_Boolean*)&animated_value); +KOALA_INTEROP_DIRECT_1(ClickEvent_getScreenY, KInteropNumber, Ark_NativePointer) +void impl_ClickEvent_setScreenY(Ark_NativePointer thisPtr, KInteropNumber screenY) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setScreenY(self, (const Ark_Number*) (&screenY)); } -KOALA_INTEROP_V4(NavPathStack_replacePathByName, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) -Ark_Number impl_NavPathStack_removeByIndexes(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 indexes_value_buf_length = thisDeserializer.readInt32(); - Array_Number indexes_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&indexes_value_buf, indexes_value_buf_length); - for (int indexes_value_buf_i = 0; indexes_value_buf_i < indexes_value_buf_length; indexes_value_buf_i++) { - indexes_value_buf.array[indexes_value_buf_i] = static_cast(thisDeserializer.readNumber()); - } - Array_Number indexes_value = indexes_value_buf;; - return GetAccessors()->getNavPathStackAccessor()->removeByIndexes(self, (const Array_Number*)&indexes_value); +KOALA_INTEROP_DIRECT_V2(ClickEvent_setScreenY, Ark_NativePointer, KInteropNumber) +Ark_Number impl_ClickEvent_getX(Ark_NativePointer thisPtr) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getX(self); } -KOALA_INTEROP_DIRECT_3(NavPathStack_removeByIndexes, KInteropNumber, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_Number impl_NavPathStack_removeByName(Ark_NativePointer thisPtr, const KStringPtr& name) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - return GetAccessors()->getNavPathStackAccessor()->removeByName(self, (const Ark_String*) (&name)); +KOALA_INTEROP_DIRECT_1(ClickEvent_getX, KInteropNumber, Ark_NativePointer) +void impl_ClickEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setX(self, (const Ark_Number*) (&x)); } -KOALA_INTEROP_2(NavPathStack_removeByName, KInteropNumber, Ark_NativePointer, KStringPtr) -Ark_Boolean impl_NavPathStack_removeByNavDestinationId(Ark_NativePointer thisPtr, const KStringPtr& navDestinationId) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - return GetAccessors()->getNavPathStackAccessor()->removeByNavDestinationId(self, (const Ark_String*) (&navDestinationId)); +KOALA_INTEROP_DIRECT_V2(ClickEvent_setX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_ClickEvent_getY(Ark_NativePointer thisPtr) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getY(self); } -KOALA_INTEROP_2(NavPathStack_removeByNavDestinationId, Ark_Boolean, Ark_NativePointer, KStringPtr) -KInteropReturnBuffer impl_NavPathStack_pop0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - const auto &retValue = GetAccessors()->getNavPathStackAccessor()->pop0(self, (const Opt_Boolean*)&animated_value); - Serializer _retSerializer {}; - Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; - retValue_type = runtimeType(retValue); - _retSerializer.writeInt8(retValue_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { - const auto retValue_value = retValue.value; - _retSerializer.writeNavPathInfo(retValue_value); - } - return _retSerializer.toReturnBuffer(); +KOALA_INTEROP_DIRECT_1(ClickEvent_getY, KInteropNumber, Ark_NativePointer) +void impl_ClickEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setY(self, (const Ark_Number*) (&y)); } -KOALA_INTEROP_3(NavPathStack_pop0, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t) -KInteropReturnBuffer impl_NavPathStack_pop1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object result_value = static_cast(thisDeserializer.readObject());; - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - const auto &retValue = GetAccessors()->getNavPathStackAccessor()->pop1(self, (const Ark_Object*)&result_value, (const Opt_Boolean*)&animated_value); +KOALA_INTEROP_DIRECT_V2(ClickEvent_setY, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_ClickEvent_getHand(Ark_NativePointer thisPtr) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getClickEventAccessor()->getHand(self); Serializer _retSerializer {}; Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; retValue_type = runtimeType(retValue); _retSerializer.writeInt8(retValue_type); if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { const auto retValue_value = retValue.value; - _retSerializer.writeNavPathInfo(retValue_value); + _retSerializer.writeInt32(static_cast(retValue_value)); } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_3(NavPathStack_pop1, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_Number impl_NavPathStack_popToName0(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - return GetAccessors()->getNavPathStackAccessor()->popToName0(self, (const Ark_String*) (&name), (const Opt_Boolean*)&animated_value); -} -KOALA_INTEROP_4(NavPathStack_popToName0, KInteropNumber, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) -Ark_Number impl_NavPathStack_popToName1(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object result_value = static_cast(thisDeserializer.readObject());; - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - return GetAccessors()->getNavPathStackAccessor()->popToName1(self, (const Ark_String*) (&name), (const Ark_Object*)&result_value, (const Opt_Boolean*)&animated_value); -} -KOALA_INTEROP_4(NavPathStack_popToName1, KInteropNumber, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) -void impl_NavPathStack_popToIndex0(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - GetAccessors()->getNavPathStackAccessor()->popToIndex0(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&animated_value); -} -KOALA_INTEROP_DIRECT_V4(NavPathStack_popToIndex0, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) -void impl_NavPathStack_popToIndex1(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_Object result_value = static_cast(thisDeserializer.readObject());; - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - GetAccessors()->getNavPathStackAccessor()->popToIndex1(self, (const Ark_Number*) (&index), (const Ark_Object*)&result_value, (const Opt_Boolean*)&animated_value); +KOALA_INTEROP_1(ClickEvent_getHand, KInteropReturnBuffer, Ark_NativePointer) +void impl_ClickEvent_setHand(Ark_NativePointer thisPtr, Ark_Int32 hand) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setHand(self, static_cast(hand)); } -KOALA_INTEROP_DIRECT_V4(NavPathStack_popToIndex1, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) -Ark_Number impl_NavPathStack_moveToTop(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - return GetAccessors()->getNavPathStackAccessor()->moveToTop(self, (const Ark_String*) (&name), (const Opt_Boolean*)&animated_value); +KOALA_INTEROP_DIRECT_V2(ClickEvent_setHand, Ark_NativePointer, Ark_Int32) +Ark_NativePointer impl_ClickEvent_getPreventDefault(Ark_NativePointer thisPtr) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); + [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getClickEventAccessor()->getPreventDefault(self); + // TODO: Value serialization needs to be implemented + return {}; } -KOALA_INTEROP_4(NavPathStack_moveToTop, KInteropNumber, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) -void impl_NavPathStack_moveIndexToTop(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_1(ClickEvent_getPreventDefault, Ark_NativePointer, Ark_NativePointer) +void impl_ClickEvent_setPreventDefault(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_ClickEvent self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - GetAccessors()->getNavPathStackAccessor()->moveIndexToTop(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&animated_value); + Callback_Void preventDefault_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetAccessors()->getClickEventAccessor()->setPreventDefault(self, (const Callback_Void*)&preventDefault_value); } -KOALA_INTEROP_DIRECT_V4(NavPathStack_moveIndexToTop, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) -void impl_NavPathStack_clear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) - { - animated_value_buf.value = thisDeserializer.readBoolean(); - } - Opt_Boolean animated_value = animated_value_buf;; - GetAccessors()->getNavPathStackAccessor()->clear(self, (const Opt_Boolean*)&animated_value); +KOALA_INTEROP_DIRECT_V3(ClickEvent_setPreventDefault, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_HoverEvent_ctor() { + return GetAccessors()->getHoverEventAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_V3(NavPathStack_clear, Ark_NativePointer, KSerializerBuffer, int32_t) -KInteropReturnBuffer impl_NavPathStack_getAllPathName(Ark_NativePointer thisPtr) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getAllPathName(self); - Serializer _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int i = 0; i < retValue.length; i++) { - const Ark_String retValue_element = retValue.array[i]; - _retSerializer.writeString(retValue_element); - } - return _retSerializer.toReturnBuffer(); +KOALA_INTEROP_DIRECT_0(HoverEvent_ctor, Ark_NativePointer) +Ark_NativePointer impl_HoverEvent_getFinalizer() { + return GetAccessors()->getHoverEventAccessor()->getFinalizer(); } -KOALA_INTEROP_1(NavPathStack_getAllPathName, KInteropReturnBuffer, Ark_NativePointer) -KInteropReturnBuffer impl_NavPathStack_getParamByIndex(Ark_NativePointer thisPtr, KInteropNumber index) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getParamByIndex(self, (const Ark_Number*) (&index)); +KOALA_INTEROP_DIRECT_0(HoverEvent_getFinalizer, Ark_NativePointer) +KInteropReturnBuffer impl_HoverEvent_getX(Ark_NativePointer thisPtr) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHoverEventAccessor()->getX(self); Serializer _retSerializer {}; Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; retValue_type = runtimeType(retValue); _retSerializer.writeInt8(retValue_type); if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { const auto retValue_value = retValue.value; - _retSerializer.writeObject(retValue_value); + _retSerializer.writeNumber(retValue_value); } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_2(NavPathStack_getParamByIndex, KInteropReturnBuffer, Ark_NativePointer, KInteropNumber) -KInteropReturnBuffer impl_NavPathStack_getParamByName(Ark_NativePointer thisPtr, const KStringPtr& name) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getParamByName(self, (const Ark_String*) (&name)); - Serializer _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int i = 0; i < retValue.length; i++) { - const Ark_Object retValue_element = retValue.array[i]; - _retSerializer.writeObject(retValue_element); - } - return _retSerializer.toReturnBuffer(); +KOALA_INTEROP_1(HoverEvent_getX, KInteropReturnBuffer, Ark_NativePointer) +void impl_HoverEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getHoverEventAccessor()->setX(self, (const Ark_Number*) (&x)); } -KOALA_INTEROP_2(NavPathStack_getParamByName, KInteropReturnBuffer, Ark_NativePointer, KStringPtr) -KInteropReturnBuffer impl_NavPathStack_getIndexByName(Ark_NativePointer thisPtr, const KStringPtr& name) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getIndexByName(self, (const Ark_String*) (&name)); +KOALA_INTEROP_DIRECT_V2(HoverEvent_setX, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_HoverEvent_getY(Ark_NativePointer thisPtr) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHoverEventAccessor()->getY(self); Serializer _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int i = 0; i < retValue.length; i++) { - const Ark_Number retValue_element = retValue.array[i]; - _retSerializer.writeNumber(retValue_element); + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNumber(retValue_value); } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_2(NavPathStack_getIndexByName, KInteropReturnBuffer, Ark_NativePointer, KStringPtr) -KInteropReturnBuffer impl_NavPathStack_getParent(Ark_NativePointer thisPtr) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getParent(self); +KOALA_INTEROP_1(HoverEvent_getY, KInteropReturnBuffer, Ark_NativePointer) +void impl_HoverEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getHoverEventAccessor()->setY(self, (const Ark_Number*) (&y)); +} +KOALA_INTEROP_DIRECT_V2(HoverEvent_setY, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_HoverEvent_getWindowX(Ark_NativePointer thisPtr) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHoverEventAccessor()->getWindowX(self); Serializer _retSerializer {}; Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; retValue_type = runtimeType(retValue); _retSerializer.writeInt8(retValue_type); if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { const auto retValue_value = retValue.value; - _retSerializer.writeNavPathStack(retValue_value); + _retSerializer.writeNumber(retValue_value); } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(NavPathStack_getParent, KInteropReturnBuffer, Ark_NativePointer) -Ark_Number impl_NavPathStack_size(Ark_NativePointer thisPtr) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - return GetAccessors()->getNavPathStackAccessor()->size(self); -} -KOALA_INTEROP_DIRECT_1(NavPathStack_size, KInteropNumber, Ark_NativePointer) -void impl_NavPathStack_disableAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - GetAccessors()->getNavPathStackAccessor()->disableAnimation(self, value); -} -KOALA_INTEROP_DIRECT_V2(NavPathStack_disableAnimation, Ark_NativePointer, Ark_Boolean) -void impl_NavPathStack_setInterception(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavPathStack self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_NavigationInterception interception_value = thisDeserializer.readNavigationInterception();; - GetAccessors()->getNavPathStackAccessor()->setInterception(self, (const Ark_NavigationInterception*)&interception_value); -} -KOALA_INTEROP_DIRECT_V3(NavPathStack_setInterception, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_NavigationTransitionProxy_ctor() { - return GetAccessors()->getNavigationTransitionProxyAccessor()->ctor(); -} -KOALA_INTEROP_DIRECT_0(NavigationTransitionProxy_ctor, Ark_NativePointer) -Ark_NativePointer impl_NavigationTransitionProxy_getFinalizer() { - return GetAccessors()->getNavigationTransitionProxyAccessor()->getFinalizer(); -} -KOALA_INTEROP_DIRECT_0(NavigationTransitionProxy_getFinalizer, Ark_NativePointer) -void impl_NavigationTransitionProxy_finishTransition(Ark_NativePointer thisPtr) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getNavigationTransitionProxyAccessor()->finishTransition(self); -} -KOALA_INTEROP_DIRECT_V1(NavigationTransitionProxy_finishTransition, Ark_NativePointer) -void impl_NavigationTransitionProxy_cancelTransition(Ark_NativePointer thisPtr) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getNavigationTransitionProxyAccessor()->cancelTransition(self); -} -KOALA_INTEROP_DIRECT_V1(NavigationTransitionProxy_cancelTransition, Ark_NativePointer) -void impl_NavigationTransitionProxy_updateTransition(Ark_NativePointer thisPtr, KInteropNumber progress) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getNavigationTransitionProxyAccessor()->updateTransition(self, (const Ark_Number*) (&progress)); +KOALA_INTEROP_1(HoverEvent_getWindowX, KInteropReturnBuffer, Ark_NativePointer) +void impl_HoverEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getHoverEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX)); } -KOALA_INTEROP_DIRECT_V2(NavigationTransitionProxy_updateTransition, Ark_NativePointer, KInteropNumber) -KInteropReturnBuffer impl_NavigationTransitionProxy_getFrom(Ark_NativePointer thisPtr) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getFrom(self); +KOALA_INTEROP_DIRECT_V2(HoverEvent_setWindowX, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_HoverEvent_getWindowY(Ark_NativePointer thisPtr) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHoverEventAccessor()->getWindowY(self); Serializer _retSerializer {}; - _retSerializer.writeNavContentInfo(retValue); + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNumber(retValue_value); + } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(NavigationTransitionProxy_getFrom, KInteropReturnBuffer, Ark_NativePointer) -void impl_NavigationTransitionProxy_setFrom(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_NavContentInfo from_value = thisDeserializer.readNavContentInfo();; - GetAccessors()->getNavigationTransitionProxyAccessor()->setFrom(self, (const Ark_NavContentInfo*)&from_value); +KOALA_INTEROP_1(HoverEvent_getWindowY, KInteropReturnBuffer, Ark_NativePointer) +void impl_HoverEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getHoverEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY)); } -KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setFrom, Ark_NativePointer, KSerializerBuffer, int32_t) -KInteropReturnBuffer impl_NavigationTransitionProxy_getTo(Ark_NativePointer thisPtr) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getTo(self); +KOALA_INTEROP_DIRECT_V2(HoverEvent_setWindowY, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_HoverEvent_getDisplayX(Ark_NativePointer thisPtr) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHoverEventAccessor()->getDisplayX(self); Serializer _retSerializer {}; - _retSerializer.writeNavContentInfo(retValue); + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNumber(retValue_value); + } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(NavigationTransitionProxy_getTo, KInteropReturnBuffer, Ark_NativePointer) -void impl_NavigationTransitionProxy_setTo(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_NavContentInfo to_value = thisDeserializer.readNavContentInfo();; - GetAccessors()->getNavigationTransitionProxyAccessor()->setTo(self, (const Ark_NavContentInfo*)&to_value); +KOALA_INTEROP_1(HoverEvent_getDisplayX, KInteropReturnBuffer, Ark_NativePointer) +void impl_HoverEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getHoverEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX)); } -KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setTo, Ark_NativePointer, KSerializerBuffer, int32_t) -KInteropReturnBuffer impl_NavigationTransitionProxy_getIsInteractive(Ark_NativePointer thisPtr) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getIsInteractive(self); +KOALA_INTEROP_DIRECT_V2(HoverEvent_setDisplayX, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_HoverEvent_getDisplayY(Ark_NativePointer thisPtr) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getHoverEventAccessor()->getDisplayY(self); Serializer _retSerializer {}; Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; retValue_type = runtimeType(retValue); _retSerializer.writeInt8(retValue_type); if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { const auto retValue_value = retValue.value; - _retSerializer.writeBoolean(retValue_value); + _retSerializer.writeNumber(retValue_value); } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(NavigationTransitionProxy_getIsInteractive, KInteropReturnBuffer, Ark_NativePointer) -void impl_NavigationTransitionProxy_setIsInteractive(Ark_NativePointer thisPtr, Ark_Boolean isInteractive) { - Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); - GetAccessors()->getNavigationTransitionProxyAccessor()->setIsInteractive(self, isInteractive); -} -KOALA_INTEROP_DIRECT_V2(NavigationTransitionProxy_setIsInteractive, Ark_NativePointer, Ark_Boolean) -Ark_NativePointer impl_ICurve_ctor() { - return GetAccessors()->getICurveAccessor()->ctor(); -} -KOALA_INTEROP_DIRECT_0(ICurve_ctor, Ark_NativePointer) -Ark_NativePointer impl_ICurve_getFinalizer() { - return GetAccessors()->getICurveAccessor()->getFinalizer(); -} -KOALA_INTEROP_DIRECT_0(ICurve_getFinalizer, Ark_NativePointer) -Ark_Number impl_ICurve_interpolate(Ark_NativePointer thisPtr, KInteropNumber fraction) { - Ark_ICurve self = reinterpret_cast(thisPtr); - return GetAccessors()->getICurveAccessor()->interpolate(self, (const Ark_Number*) (&fraction)); -} -KOALA_INTEROP_DIRECT_2(ICurve_interpolate, KInteropNumber, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_DrawModifier_ctor() { - return GetAccessors()->getDrawModifierAccessor()->ctor(); -} -KOALA_INTEROP_DIRECT_0(DrawModifier_ctor, Ark_NativePointer) -Ark_NativePointer impl_DrawModifier_getFinalizer() { - return GetAccessors()->getDrawModifierAccessor()->getFinalizer(); -} -KOALA_INTEROP_DIRECT_0(DrawModifier_getFinalizer, Ark_NativePointer) -void impl_DrawModifier_drawBehind(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_DrawModifier self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_DrawContext drawContext_value = thisDeserializer.readDrawContext();; - GetAccessors()->getDrawModifierAccessor()->drawBehind(self, (const Ark_DrawContext*)&drawContext_value); +KOALA_INTEROP_1(HoverEvent_getDisplayY, KInteropReturnBuffer, Ark_NativePointer) +void impl_HoverEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getHoverEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY)); } -KOALA_INTEROP_DIRECT_V3(DrawModifier_drawBehind, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DrawModifier_drawContent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_DrawModifier self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_DrawContext drawContext_value = thisDeserializer.readDrawContext();; - GetAccessors()->getDrawModifierAccessor()->drawContent(self, (const Ark_DrawContext*)&drawContext_value); +KOALA_INTEROP_DIRECT_V2(HoverEvent_setDisplayY, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_HoverEvent_getStopPropagation(Ark_NativePointer thisPtr) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); + [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getHoverEventAccessor()->getStopPropagation(self); + // TODO: Value serialization needs to be implemented + return {}; } -KOALA_INTEROP_DIRECT_V3(DrawModifier_drawContent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DrawModifier_drawFront(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_DrawModifier self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_1(HoverEvent_getStopPropagation, Ark_NativePointer, Ark_NativePointer) +void impl_HoverEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_HoverEvent self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_DrawContext drawContext_value = thisDeserializer.readDrawContext();; - GetAccessors()->getDrawModifierAccessor()->drawFront(self, (const Ark_DrawContext*)&drawContext_value); + Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetAccessors()->getHoverEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value); } -KOALA_INTEROP_DIRECT_V3(DrawModifier_drawFront, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_DrawModifier_invalidate(Ark_NativePointer thisPtr) { - Ark_DrawModifier self = reinterpret_cast(thisPtr); - GetAccessors()->getDrawModifierAccessor()->invalidate(self); +KOALA_INTEROP_DIRECT_V3(HoverEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_MouseEvent_ctor() { + return GetAccessors()->getMouseEventAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_V1(DrawModifier_invalidate, Ark_NativePointer) -Ark_NativePointer impl_TransitionEffect_ctor(const KStringPtr& type, KSerializerBuffer thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - Ark_TransitionEffects effect_value_buf = {}; - effect_value_buf.identity = Ark_Undefined(); - effect_value_buf.opacity = static_cast(thisDeserializer.readNumber()); - effect_value_buf.slideSwitch = Ark_Undefined(); - effect_value_buf.move = static_cast(thisDeserializer.readInt32()); - effect_value_buf.translate = thisDeserializer.readTranslateOptions(); - effect_value_buf.rotate = thisDeserializer.readRotateOptions(); - effect_value_buf.scale = thisDeserializer.readScaleOptions(); - Ark_Literal_TransitionEffect_appear_disappear effect_value_buf_asymmetric_buf = {}; - effect_value_buf_asymmetric_buf.appear = static_cast(thisDeserializer.readTransitionEffect()); - effect_value_buf_asymmetric_buf.disappear = static_cast(thisDeserializer.readTransitionEffect()); - effect_value_buf.asymmetric = effect_value_buf_asymmetric_buf; - Ark_TransitionEffects effect_value = effect_value_buf;; - return GetAccessors()->getTransitionEffectAccessor()->ctor((const Ark_String*) (&type), (const Ark_TransitionEffects*)&effect_value); +KOALA_INTEROP_DIRECT_0(MouseEvent_ctor, Ark_NativePointer) +Ark_NativePointer impl_MouseEvent_getFinalizer() { + return GetAccessors()->getMouseEventAccessor()->getFinalizer(); } -KOALA_INTEROP_3(TransitionEffect_ctor, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TransitionEffect_getFinalizer() { - return GetAccessors()->getTransitionEffectAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_0(MouseEvent_getFinalizer, Ark_NativePointer) +Ark_Int32 impl_MouseEvent_getButton(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getButton(self); } -KOALA_INTEROP_DIRECT_0(TransitionEffect_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_TransitionEffect_translate(KSerializerBuffer thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - Ark_TranslateOptions options_value = thisDeserializer.readTranslateOptions();; - return GetAccessors()->getTransitionEffectAccessor()->translate((const Ark_TranslateOptions*)&options_value); +KOALA_INTEROP_DIRECT_1(MouseEvent_getButton, Ark_Int32, Ark_NativePointer) +void impl_MouseEvent_setButton(Ark_NativePointer thisPtr, Ark_Int32 button) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setButton(self, static_cast(button)); } -KOALA_INTEROP_DIRECT_2(TransitionEffect_translate, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TransitionEffect_rotate(KSerializerBuffer thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - Ark_RotateOptions options_value = thisDeserializer.readRotateOptions();; - return GetAccessors()->getTransitionEffectAccessor()->rotate((const Ark_RotateOptions*)&options_value); +KOALA_INTEROP_DIRECT_V2(MouseEvent_setButton, Ark_NativePointer, Ark_Int32) +Ark_Int32 impl_MouseEvent_getAction(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getAction(self); } -KOALA_INTEROP_DIRECT_2(TransitionEffect_rotate, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TransitionEffect_scale(KSerializerBuffer thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - Ark_ScaleOptions options_value = thisDeserializer.readScaleOptions();; - return GetAccessors()->getTransitionEffectAccessor()->scale((const Ark_ScaleOptions*)&options_value); +KOALA_INTEROP_DIRECT_1(MouseEvent_getAction, Ark_Int32, Ark_NativePointer) +void impl_MouseEvent_setAction(Ark_NativePointer thisPtr, Ark_Int32 action) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setAction(self, static_cast(action)); } -KOALA_INTEROP_DIRECT_2(TransitionEffect_scale, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TransitionEffect_opacity(KInteropNumber alpha) { - return GetAccessors()->getTransitionEffectAccessor()->opacity((const Ark_Number*) (&alpha)); +KOALA_INTEROP_DIRECT_V2(MouseEvent_setAction, Ark_NativePointer, Ark_Int32) +Ark_Number impl_MouseEvent_getDisplayX(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getDisplayX(self); } -KOALA_INTEROP_DIRECT_1(TransitionEffect_opacity, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_TransitionEffect_move(Ark_Int32 edge) { - return GetAccessors()->getTransitionEffectAccessor()->move(static_cast(edge)); +KOALA_INTEROP_DIRECT_1(MouseEvent_getDisplayX, KInteropNumber, Ark_NativePointer) +void impl_MouseEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX)); } -KOALA_INTEROP_DIRECT_1(TransitionEffect_move, Ark_NativePointer, Ark_Int32) -Ark_NativePointer impl_TransitionEffect_asymmetric(Ark_NativePointer appear, Ark_NativePointer disappear) { - return GetAccessors()->getTransitionEffectAccessor()->asymmetric(static_cast(appear), static_cast(disappear)); +KOALA_INTEROP_DIRECT_V2(MouseEvent_setDisplayX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_MouseEvent_getDisplayY(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getDisplayY(self); } -KOALA_INTEROP_DIRECT_2(TransitionEffect_asymmetric, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer) -Ark_NativePointer impl_TransitionEffect_animation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_TransitionEffect self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_AnimateParam value_value = thisDeserializer.readAnimateParam();; - return GetAccessors()->getTransitionEffectAccessor()->animation(self, (const Ark_AnimateParam*)&value_value); +KOALA_INTEROP_DIRECT_1(MouseEvent_getDisplayY, KInteropNumber, Ark_NativePointer) +void impl_MouseEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY)); } -KOALA_INTEROP_DIRECT_3(TransitionEffect_animation, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TransitionEffect_combine(Ark_NativePointer thisPtr, Ark_NativePointer transitionEffect) { - Ark_TransitionEffect self = reinterpret_cast(thisPtr); - return GetAccessors()->getTransitionEffectAccessor()->combine(self, static_cast(transitionEffect)); +KOALA_INTEROP_DIRECT_V2(MouseEvent_setDisplayY, Ark_NativePointer, KInteropNumber) +Ark_Number impl_MouseEvent_getWindowX(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getWindowX(self); } -KOALA_INTEROP_DIRECT_2(TransitionEffect_combine, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer) -Ark_NativePointer impl_TransitionEffect_getIDENTITY() { - return GetAccessors()->getTransitionEffectAccessor()->getIDENTITY(); +KOALA_INTEROP_DIRECT_1(MouseEvent_getWindowX, KInteropNumber, Ark_NativePointer) +void impl_MouseEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX)); } -KOALA_INTEROP_DIRECT_0(TransitionEffect_getIDENTITY, Ark_NativePointer) -Ark_NativePointer impl_TransitionEffect_getOPACITY() { - return GetAccessors()->getTransitionEffectAccessor()->getOPACITY(); +KOALA_INTEROP_DIRECT_V2(MouseEvent_setWindowX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_MouseEvent_getWindowY(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getWindowY(self); } -KOALA_INTEROP_DIRECT_0(TransitionEffect_getOPACITY, Ark_NativePointer) -Ark_NativePointer impl_TransitionEffect_getSLIDE() { - return GetAccessors()->getTransitionEffectAccessor()->getSLIDE(); +KOALA_INTEROP_DIRECT_1(MouseEvent_getWindowY, KInteropNumber, Ark_NativePointer) +void impl_MouseEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY)); } -KOALA_INTEROP_DIRECT_0(TransitionEffect_getSLIDE, Ark_NativePointer) -Ark_NativePointer impl_TransitionEffect_getSLIDE_SWITCH() { - return GetAccessors()->getTransitionEffectAccessor()->getSLIDE_SWITCH(); +KOALA_INTEROP_DIRECT_V2(MouseEvent_setWindowY, Ark_NativePointer, KInteropNumber) +Ark_Number impl_MouseEvent_getScreenX(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getScreenX(self); } -KOALA_INTEROP_DIRECT_0(TransitionEffect_getSLIDE_SWITCH, Ark_NativePointer) -Ark_NativePointer impl_BaseEvent_ctor() { - return GetAccessors()->getBaseEventAccessor()->ctor(); +KOALA_INTEROP_DIRECT_1(MouseEvent_getScreenX, KInteropNumber, Ark_NativePointer) +void impl_MouseEvent_setScreenX(Ark_NativePointer thisPtr, KInteropNumber screenX) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setScreenX(self, (const Ark_Number*) (&screenX)); } -KOALA_INTEROP_DIRECT_0(BaseEvent_ctor, Ark_NativePointer) -Ark_NativePointer impl_BaseEvent_getFinalizer() { - return GetAccessors()->getBaseEventAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_V2(MouseEvent_setScreenX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_MouseEvent_getScreenY(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getScreenY(self); } -KOALA_INTEROP_DIRECT_0(BaseEvent_getFinalizer, Ark_NativePointer) -Ark_Boolean impl_BaseEvent_getModifierKeyState(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 keys_value_buf_length = thisDeserializer.readInt32(); - Array_String keys_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&keys_value_buf, keys_value_buf_length); - for (int keys_value_buf_i = 0; keys_value_buf_i < keys_value_buf_length; keys_value_buf_i++) { - keys_value_buf.array[keys_value_buf_i] = static_cast(thisDeserializer.readString()); - } - Array_String keys_value = keys_value_buf;; - return GetAccessors()->getBaseEventAccessor()->getModifierKeyState(reinterpret_cast(vmContext), self, (const Array_String*)&keys_value); +KOALA_INTEROP_DIRECT_1(MouseEvent_getScreenY, KInteropNumber, Ark_NativePointer) +void impl_MouseEvent_setScreenY(Ark_NativePointer thisPtr, KInteropNumber screenY) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setScreenY(self, (const Ark_Number*) (&screenY)); } -KOALA_INTEROP_CTX_3(BaseEvent_getModifierKeyState, Ark_Boolean, Ark_NativePointer, KSerializerBuffer, int32_t) -KInteropReturnBuffer impl_BaseEvent_getTarget(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseEventAccessor()->getTarget(self); - Serializer _retSerializer {}; - _retSerializer.writeEventTarget(retValue); - return _retSerializer.toReturnBuffer(); +KOALA_INTEROP_DIRECT_V2(MouseEvent_setScreenY, Ark_NativePointer, KInteropNumber) +Ark_Number impl_MouseEvent_getX(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getX(self); } -KOALA_INTEROP_1(BaseEvent_getTarget, KInteropReturnBuffer, Ark_NativePointer) -void impl_BaseEvent_setTarget(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_EventTarget target_value = thisDeserializer.readEventTarget();; - GetAccessors()->getBaseEventAccessor()->setTarget(self, (const Ark_EventTarget*)&target_value); +KOALA_INTEROP_DIRECT_1(MouseEvent_getX, KInteropNumber, Ark_NativePointer) +void impl_MouseEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setX(self, (const Ark_Number*) (&x)); } -KOALA_INTEROP_DIRECT_V3(BaseEvent_setTarget, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_Int32 impl_BaseEvent_getTimestamp(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseEventAccessor()->getTimestamp(self); +KOALA_INTEROP_DIRECT_V2(MouseEvent_setX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_MouseEvent_getY(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getY(self); } -KOALA_INTEROP_DIRECT_1(BaseEvent_getTimestamp, Ark_Int32, Ark_NativePointer) -void impl_BaseEvent_setTimestamp(Ark_NativePointer thisPtr, KLong timestamp) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setTimestamp(self, timestamp); +KOALA_INTEROP_DIRECT_1(MouseEvent_getY, KInteropNumber, Ark_NativePointer) +void impl_MouseEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setY(self, (const Ark_Number*) (&y)); } -KOALA_INTEROP_DIRECT_V2(BaseEvent_setTimestamp, Ark_NativePointer, KLong) -Ark_Int32 impl_BaseEvent_getSource(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseEventAccessor()->getSource(self); +KOALA_INTEROP_DIRECT_V2(MouseEvent_setY, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_MouseEvent_getStopPropagation(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getMouseEventAccessor()->getStopPropagation(self); + // TODO: Value serialization needs to be implemented + return {}; } -KOALA_INTEROP_DIRECT_1(BaseEvent_getSource, Ark_Int32, Ark_NativePointer) -void impl_BaseEvent_setSource(Ark_NativePointer thisPtr, Ark_Int32 source) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setSource(self, static_cast(source)); +KOALA_INTEROP_DIRECT_1(MouseEvent_getStopPropagation, Ark_NativePointer, Ark_NativePointer) +void impl_MouseEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetAccessors()->getMouseEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value); } -KOALA_INTEROP_DIRECT_V2(BaseEvent_setSource, Ark_NativePointer, Ark_Int32) -KInteropReturnBuffer impl_BaseEvent_getAxisHorizontal(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseEventAccessor()->getAxisHorizontal(self); +KOALA_INTEROP_DIRECT_V3(MouseEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_MouseEvent_getRawDeltaX(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMouseEventAccessor()->getRawDeltaX(self); Serializer _retSerializer {}; Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; retValue_type = runtimeType(retValue); @@ -23368,15 +26357,15 @@ KInteropReturnBuffer impl_BaseEvent_getAxisHorizontal(Ark_NativePointer thisPtr) } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(BaseEvent_getAxisHorizontal, KInteropReturnBuffer, Ark_NativePointer) -void impl_BaseEvent_setAxisHorizontal(Ark_NativePointer thisPtr, KInteropNumber axisHorizontal) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setAxisHorizontal(self, (const Ark_Number*) (&axisHorizontal)); +KOALA_INTEROP_1(MouseEvent_getRawDeltaX, KInteropReturnBuffer, Ark_NativePointer) +void impl_MouseEvent_setRawDeltaX(Ark_NativePointer thisPtr, KInteropNumber rawDeltaX) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setRawDeltaX(self, (const Ark_Number*) (&rawDeltaX)); } -KOALA_INTEROP_DIRECT_V2(BaseEvent_setAxisHorizontal, Ark_NativePointer, KInteropNumber) -KInteropReturnBuffer impl_BaseEvent_getAxisVertical(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseEventAccessor()->getAxisVertical(self); +KOALA_INTEROP_DIRECT_V2(MouseEvent_setRawDeltaX, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_MouseEvent_getRawDeltaY(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMouseEventAccessor()->getRawDeltaY(self); Serializer _retSerializer {}; Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; retValue_type = runtimeType(retValue); @@ -23387,1161 +26376,1833 @@ KInteropReturnBuffer impl_BaseEvent_getAxisVertical(Ark_NativePointer thisPtr) { } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(BaseEvent_getAxisVertical, KInteropReturnBuffer, Ark_NativePointer) -void impl_BaseEvent_setAxisVertical(Ark_NativePointer thisPtr, KInteropNumber axisVertical) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setAxisVertical(self, (const Ark_Number*) (&axisVertical)); -} -KOALA_INTEROP_DIRECT_V2(BaseEvent_setAxisVertical, Ark_NativePointer, KInteropNumber) -Ark_Number impl_BaseEvent_getPressure(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseEventAccessor()->getPressure(self); -} -KOALA_INTEROP_DIRECT_1(BaseEvent_getPressure, KInteropNumber, Ark_NativePointer) -void impl_BaseEvent_setPressure(Ark_NativePointer thisPtr, KInteropNumber pressure) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setPressure(self, (const Ark_Number*) (&pressure)); -} -KOALA_INTEROP_DIRECT_V2(BaseEvent_setPressure, Ark_NativePointer, KInteropNumber) -Ark_Number impl_BaseEvent_getTiltX(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseEventAccessor()->getTiltX(self); -} -KOALA_INTEROP_DIRECT_1(BaseEvent_getTiltX, KInteropNumber, Ark_NativePointer) -void impl_BaseEvent_setTiltX(Ark_NativePointer thisPtr, KInteropNumber tiltX) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setTiltX(self, (const Ark_Number*) (&tiltX)); -} -KOALA_INTEROP_DIRECT_V2(BaseEvent_setTiltX, Ark_NativePointer, KInteropNumber) -Ark_Number impl_BaseEvent_getTiltY(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseEventAccessor()->getTiltY(self); -} -KOALA_INTEROP_DIRECT_1(BaseEvent_getTiltY, KInteropNumber, Ark_NativePointer) -void impl_BaseEvent_setTiltY(Ark_NativePointer thisPtr, KInteropNumber tiltY) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setTiltY(self, (const Ark_Number*) (&tiltY)); -} -KOALA_INTEROP_DIRECT_V2(BaseEvent_setTiltY, Ark_NativePointer, KInteropNumber) -Ark_Int32 impl_BaseEvent_getSourceTool(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getBaseEventAccessor()->getSourceTool(self); -} -KOALA_INTEROP_DIRECT_1(BaseEvent_getSourceTool, Ark_Int32, Ark_NativePointer) -void impl_BaseEvent_setSourceTool(Ark_NativePointer thisPtr, Ark_Int32 sourceTool) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setSourceTool(self, static_cast(sourceTool)); +KOALA_INTEROP_1(MouseEvent_getRawDeltaY, KInteropReturnBuffer, Ark_NativePointer) +void impl_MouseEvent_setRawDeltaY(Ark_NativePointer thisPtr, KInteropNumber rawDeltaY) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setRawDeltaY(self, (const Ark_Number*) (&rawDeltaY)); } -KOALA_INTEROP_DIRECT_V2(BaseEvent_setSourceTool, Ark_NativePointer, Ark_Int32) -KInteropReturnBuffer impl_BaseEvent_getDeviceId(Ark_NativePointer thisPtr) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getBaseEventAccessor()->getDeviceId(self); +KOALA_INTEROP_DIRECT_V2(MouseEvent_setRawDeltaY, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_MouseEvent_getPressedButtons(Ark_NativePointer thisPtr) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMouseEventAccessor()->getPressedButtons(self); Serializer _retSerializer {}; Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; retValue_type = runtimeType(retValue); _retSerializer.writeInt8(retValue_type); if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { const auto retValue_value = retValue.value; - _retSerializer.writeNumber(retValue_value); + _retSerializer.writeInt32(retValue_value.length); + for (int i = 0; i < retValue_value.length; i++) { + const Ark_MouseButton retValue_value_element = retValue_value.array[i]; + _retSerializer.writeInt32(static_cast(retValue_value_element)); + } } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(BaseEvent_getDeviceId, KInteropReturnBuffer, Ark_NativePointer) -void impl_BaseEvent_setDeviceId(Ark_NativePointer thisPtr, KInteropNumber deviceId) { - Ark_BaseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getBaseEventAccessor()->setDeviceId(self, (const Ark_Number*) (&deviceId)); +KOALA_INTEROP_1(MouseEvent_getPressedButtons, KInteropReturnBuffer, Ark_NativePointer) +void impl_MouseEvent_setPressedButtons(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_MouseEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 pressedButtons_value_buf_length = thisDeserializer.readInt32(); + Array_MouseButton pressedButtons_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&pressedButtons_value_buf, pressedButtons_value_buf_length); + for (int pressedButtons_value_buf_i = 0; pressedButtons_value_buf_i < pressedButtons_value_buf_length; pressedButtons_value_buf_i++) { + pressedButtons_value_buf.array[pressedButtons_value_buf_i] = static_cast(thisDeserializer.readInt32()); + } + Array_MouseButton pressedButtons_value = pressedButtons_value_buf;; + GetAccessors()->getMouseEventAccessor()->setPressedButtons(self, (const Array_MouseButton*)&pressedButtons_value); } -KOALA_INTEROP_DIRECT_V2(BaseEvent_setDeviceId, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_ClickEvent_ctor() { - return GetAccessors()->getClickEventAccessor()->ctor(); +KOALA_INTEROP_DIRECT_V3(MouseEvent_setPressedButtons, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_AccessibilityHoverEvent_ctor() { + return GetAccessors()->getAccessibilityHoverEventAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_0(ClickEvent_ctor, Ark_NativePointer) -Ark_NativePointer impl_ClickEvent_getFinalizer() { - return GetAccessors()->getClickEventAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_0(AccessibilityHoverEvent_ctor, Ark_NativePointer) +Ark_NativePointer impl_AccessibilityHoverEvent_getFinalizer() { + return GetAccessors()->getAccessibilityHoverEventAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_0(ClickEvent_getFinalizer, Ark_NativePointer) -Ark_Number impl_ClickEvent_getDisplayX(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getDisplayX(self); +KOALA_INTEROP_DIRECT_0(AccessibilityHoverEvent_getFinalizer, Ark_NativePointer) +Ark_Int32 impl_AccessibilityHoverEvent_getType(Ark_NativePointer thisPtr) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getType(self); } -KOALA_INTEROP_DIRECT_1(ClickEvent_getDisplayX, KInteropNumber, Ark_NativePointer) -void impl_ClickEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX)); +KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getType, Ark_Int32, Ark_NativePointer) +void impl_AccessibilityHoverEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setType(self, static_cast(type)); } -KOALA_INTEROP_DIRECT_V2(ClickEvent_setDisplayX, Ark_NativePointer, KInteropNumber) -Ark_Number impl_ClickEvent_getDisplayY(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getDisplayY(self); +KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setType, Ark_NativePointer, Ark_Int32) +Ark_Number impl_AccessibilityHoverEvent_getX(Ark_NativePointer thisPtr) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getX(self); +} +KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getX, KInteropNumber, Ark_NativePointer) +void impl_AccessibilityHoverEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setX(self, (const Ark_Number*) (&x)); +} +KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_AccessibilityHoverEvent_getY(Ark_NativePointer thisPtr) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getY(self); +} +KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getY, KInteropNumber, Ark_NativePointer) +void impl_AccessibilityHoverEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setY(self, (const Ark_Number*) (&y)); +} +KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setY, Ark_NativePointer, KInteropNumber) +Ark_Number impl_AccessibilityHoverEvent_getDisplayX(Ark_NativePointer thisPtr) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getDisplayX(self); +} +KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getDisplayX, KInteropNumber, Ark_NativePointer) +void impl_AccessibilityHoverEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX)); +} +KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setDisplayX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_AccessibilityHoverEvent_getDisplayY(Ark_NativePointer thisPtr) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getDisplayY(self); +} +KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getDisplayY, KInteropNumber, Ark_NativePointer) +void impl_AccessibilityHoverEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY)); +} +KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setDisplayY, Ark_NativePointer, KInteropNumber) +Ark_Number impl_AccessibilityHoverEvent_getWindowX(Ark_NativePointer thisPtr) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getWindowX(self); +} +KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getWindowX, KInteropNumber, Ark_NativePointer) +void impl_AccessibilityHoverEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX)); } -KOALA_INTEROP_DIRECT_1(ClickEvent_getDisplayY, KInteropNumber, Ark_NativePointer) -void impl_ClickEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY)); +KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setWindowX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_AccessibilityHoverEvent_getWindowY(Ark_NativePointer thisPtr) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getWindowY(self); } -KOALA_INTEROP_DIRECT_V2(ClickEvent_setDisplayY, Ark_NativePointer, KInteropNumber) -Ark_Number impl_ClickEvent_getWindowX(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getWindowX(self); +KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getWindowY, KInteropNumber, Ark_NativePointer) +void impl_AccessibilityHoverEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) { + Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY)); } -KOALA_INTEROP_DIRECT_1(ClickEvent_getWindowX, KInteropNumber, Ark_NativePointer) -void impl_ClickEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX)); +KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setWindowY, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_TouchEvent_ctor() { + return GetAccessors()->getTouchEventAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_V2(ClickEvent_setWindowX, Ark_NativePointer, KInteropNumber) -Ark_Number impl_ClickEvent_getWindowY(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getWindowY(self); +KOALA_INTEROP_DIRECT_0(TouchEvent_ctor, Ark_NativePointer) +Ark_NativePointer impl_TouchEvent_getFinalizer() { + return GetAccessors()->getTouchEventAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_1(ClickEvent_getWindowY, KInteropNumber, Ark_NativePointer) -void impl_ClickEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY)); +KOALA_INTEROP_DIRECT_0(TouchEvent_getFinalizer, Ark_NativePointer) +KInteropReturnBuffer impl_TouchEvent_getHistoricalPoints(Ark_NativePointer thisPtr) { + Ark_TouchEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTouchEventAccessor()->getHistoricalPoints(self); + Serializer _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int i = 0; i < retValue.length; i++) { + const Ark_HistoricalPoint retValue_element = retValue.array[i]; + _retSerializer.writeHistoricalPoint(retValue_element); + } + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_V2(ClickEvent_setWindowY, Ark_NativePointer, KInteropNumber) -Ark_Number impl_ClickEvent_getScreenX(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getScreenX(self); +KOALA_INTEROP_1(TouchEvent_getHistoricalPoints, KInteropReturnBuffer, Ark_NativePointer) +Ark_Int32 impl_TouchEvent_getType(Ark_NativePointer thisPtr) { + Ark_TouchEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getTouchEventAccessor()->getType(self); } -KOALA_INTEROP_DIRECT_1(ClickEvent_getScreenX, KInteropNumber, Ark_NativePointer) -void impl_ClickEvent_setScreenX(Ark_NativePointer thisPtr, KInteropNumber screenX) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setScreenX(self, (const Ark_Number*) (&screenX)); +KOALA_INTEROP_DIRECT_1(TouchEvent_getType, Ark_Int32, Ark_NativePointer) +void impl_TouchEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) { + Ark_TouchEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getTouchEventAccessor()->setType(self, static_cast(type)); } -KOALA_INTEROP_DIRECT_V2(ClickEvent_setScreenX, Ark_NativePointer, KInteropNumber) -Ark_Number impl_ClickEvent_getScreenY(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getScreenY(self); +KOALA_INTEROP_DIRECT_V2(TouchEvent_setType, Ark_NativePointer, Ark_Int32) +KInteropReturnBuffer impl_TouchEvent_getTouches(Ark_NativePointer thisPtr) { + Ark_TouchEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTouchEventAccessor()->getTouches(self); + Serializer _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int i = 0; i < retValue.length; i++) { + const Ark_TouchObject retValue_element = retValue.array[i]; + _retSerializer.writeTouchObject(retValue_element); + } + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_1(ClickEvent_getScreenY, KInteropNumber, Ark_NativePointer) -void impl_ClickEvent_setScreenY(Ark_NativePointer thisPtr, KInteropNumber screenY) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setScreenY(self, (const Ark_Number*) (&screenY)); +KOALA_INTEROP_1(TouchEvent_getTouches, KInteropReturnBuffer, Ark_NativePointer) +void impl_TouchEvent_setTouches(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_TouchEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 touches_value_buf_length = thisDeserializer.readInt32(); + Array_TouchObject touches_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&touches_value_buf, touches_value_buf_length); + for (int touches_value_buf_i = 0; touches_value_buf_i < touches_value_buf_length; touches_value_buf_i++) { + touches_value_buf.array[touches_value_buf_i] = thisDeserializer.readTouchObject(); + } + Array_TouchObject touches_value = touches_value_buf;; + GetAccessors()->getTouchEventAccessor()->setTouches(self, (const Array_TouchObject*)&touches_value); } -KOALA_INTEROP_DIRECT_V2(ClickEvent_setScreenY, Ark_NativePointer, KInteropNumber) -Ark_Number impl_ClickEvent_getX(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getX(self); +KOALA_INTEROP_DIRECT_V3(TouchEvent_setTouches, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_TouchEvent_getChangedTouches(Ark_NativePointer thisPtr) { + Ark_TouchEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTouchEventAccessor()->getChangedTouches(self); + Serializer _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int i = 0; i < retValue.length; i++) { + const Ark_TouchObject retValue_element = retValue.array[i]; + _retSerializer.writeTouchObject(retValue_element); + } + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_1(ClickEvent_getX, KInteropNumber, Ark_NativePointer) -void impl_ClickEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setX(self, (const Ark_Number*) (&x)); +KOALA_INTEROP_1(TouchEvent_getChangedTouches, KInteropReturnBuffer, Ark_NativePointer) +void impl_TouchEvent_setChangedTouches(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_TouchEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 changedTouches_value_buf_length = thisDeserializer.readInt32(); + Array_TouchObject changedTouches_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&changedTouches_value_buf, changedTouches_value_buf_length); + for (int changedTouches_value_buf_i = 0; changedTouches_value_buf_i < changedTouches_value_buf_length; changedTouches_value_buf_i++) { + changedTouches_value_buf.array[changedTouches_value_buf_i] = thisDeserializer.readTouchObject(); + } + Array_TouchObject changedTouches_value = changedTouches_value_buf;; + GetAccessors()->getTouchEventAccessor()->setChangedTouches(self, (const Array_TouchObject*)&changedTouches_value); } -KOALA_INTEROP_DIRECT_V2(ClickEvent_setX, Ark_NativePointer, KInteropNumber) -Ark_Number impl_ClickEvent_getY(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getClickEventAccessor()->getY(self); +KOALA_INTEROP_DIRECT_V3(TouchEvent_setChangedTouches, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TouchEvent_getStopPropagation(Ark_NativePointer thisPtr) { + Ark_TouchEvent self = reinterpret_cast(thisPtr); + [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getTouchEventAccessor()->getStopPropagation(self); + // TODO: Value serialization needs to be implemented + return {}; } -KOALA_INTEROP_DIRECT_1(ClickEvent_getY, KInteropNumber, Ark_NativePointer) -void impl_ClickEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getClickEventAccessor()->setY(self, (const Ark_Number*) (&y)); +KOALA_INTEROP_DIRECT_1(TouchEvent_getStopPropagation, Ark_NativePointer, Ark_NativePointer) +void impl_TouchEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_TouchEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetAccessors()->getTouchEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value); } -KOALA_INTEROP_DIRECT_V2(ClickEvent_setY, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_ClickEvent_getPreventDefault(Ark_NativePointer thisPtr) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); - [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getClickEventAccessor()->getPreventDefault(self); +KOALA_INTEROP_DIRECT_V3(TouchEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_TouchEvent_getPreventDefault(Ark_NativePointer thisPtr) { + Ark_TouchEvent self = reinterpret_cast(thisPtr); + [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getTouchEventAccessor()->getPreventDefault(self); // TODO: Value serialization needs to be implemented return {}; } -KOALA_INTEROP_DIRECT_1(ClickEvent_getPreventDefault, Ark_NativePointer, Ark_NativePointer) -void impl_ClickEvent_setPreventDefault(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_ClickEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_1(TouchEvent_getPreventDefault, Ark_NativePointer, Ark_NativePointer) +void impl_TouchEvent_setPreventDefault(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_TouchEvent self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Void preventDefault_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetAccessors()->getClickEventAccessor()->setPreventDefault(self, (const Callback_Void*)&preventDefault_value); + GetAccessors()->getTouchEventAccessor()->setPreventDefault(self, (const Callback_Void*)&preventDefault_value); } -KOALA_INTEROP_DIRECT_V3(ClickEvent_setPreventDefault, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_HoverEvent_ctor() { - return GetAccessors()->getHoverEventAccessor()->ctor(); +KOALA_INTEROP_DIRECT_V3(TouchEvent_setPreventDefault, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_AxisEvent_ctor() { + return GetAccessors()->getAxisEventAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(AxisEvent_ctor, Ark_NativePointer) +Ark_NativePointer impl_AxisEvent_getFinalizer() { + return GetAccessors()->getAxisEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(AxisEvent_getFinalizer, Ark_NativePointer) +Ark_Number impl_AxisEvent_getHorizontalAxisValue(Ark_NativePointer thisPtr) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getHorizontalAxisValue(self); +} +KOALA_INTEROP_DIRECT_1(AxisEvent_getHorizontalAxisValue, KInteropNumber, Ark_NativePointer) +Ark_Number impl_AxisEvent_getVerticalAxisValue(Ark_NativePointer thisPtr) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getVerticalAxisValue(self); +} +KOALA_INTEROP_DIRECT_1(AxisEvent_getVerticalAxisValue, KInteropNumber, Ark_NativePointer) +Ark_Int32 impl_AxisEvent_getAction(Ark_NativePointer thisPtr) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getAction(self); +} +KOALA_INTEROP_DIRECT_1(AxisEvent_getAction, Ark_Int32, Ark_NativePointer) +void impl_AxisEvent_setAction(Ark_NativePointer thisPtr, Ark_Int32 action) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setAction(self, static_cast(action)); +} +KOALA_INTEROP_DIRECT_V2(AxisEvent_setAction, Ark_NativePointer, Ark_Int32) +Ark_Number impl_AxisEvent_getDisplayX(Ark_NativePointer thisPtr) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getDisplayX(self); +} +KOALA_INTEROP_DIRECT_1(AxisEvent_getDisplayX, KInteropNumber, Ark_NativePointer) +void impl_AxisEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX)); +} +KOALA_INTEROP_DIRECT_V2(AxisEvent_setDisplayX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_AxisEvent_getDisplayY(Ark_NativePointer thisPtr) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getDisplayY(self); +} +KOALA_INTEROP_DIRECT_1(AxisEvent_getDisplayY, KInteropNumber, Ark_NativePointer) +void impl_AxisEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY)); +} +KOALA_INTEROP_DIRECT_V2(AxisEvent_setDisplayY, Ark_NativePointer, KInteropNumber) +Ark_Number impl_AxisEvent_getWindowX(Ark_NativePointer thisPtr) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getWindowX(self); +} +KOALA_INTEROP_DIRECT_1(AxisEvent_getWindowX, KInteropNumber, Ark_NativePointer) +void impl_AxisEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX)); +} +KOALA_INTEROP_DIRECT_V2(AxisEvent_setWindowX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_AxisEvent_getWindowY(Ark_NativePointer thisPtr) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getWindowY(self); +} +KOALA_INTEROP_DIRECT_1(AxisEvent_getWindowY, KInteropNumber, Ark_NativePointer) +void impl_AxisEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY)); +} +KOALA_INTEROP_DIRECT_V2(AxisEvent_setWindowY, Ark_NativePointer, KInteropNumber) +Ark_Number impl_AxisEvent_getX(Ark_NativePointer thisPtr) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getX(self); +} +KOALA_INTEROP_DIRECT_1(AxisEvent_getX, KInteropNumber, Ark_NativePointer) +void impl_AxisEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setX(self, (const Ark_Number*) (&x)); +} +KOALA_INTEROP_DIRECT_V2(AxisEvent_setX, Ark_NativePointer, KInteropNumber) +Ark_Number impl_AxisEvent_getY(Ark_NativePointer thisPtr) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getAxisEventAccessor()->getY(self); +} +KOALA_INTEROP_DIRECT_1(AxisEvent_getY, KInteropNumber, Ark_NativePointer) +void impl_AxisEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setY(self, (const Ark_Number*) (&y)); +} +KOALA_INTEROP_DIRECT_V2(AxisEvent_setY, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_AxisEvent_getScrollStep(Ark_NativePointer thisPtr) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getAxisEventAccessor()->getScrollStep(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNumber(retValue_value); + } + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_0(HoverEvent_ctor, Ark_NativePointer) -Ark_NativePointer impl_HoverEvent_getFinalizer() { - return GetAccessors()->getHoverEventAccessor()->getFinalizer(); +KOALA_INTEROP_1(AxisEvent_getScrollStep, KInteropReturnBuffer, Ark_NativePointer) +void impl_AxisEvent_setScrollStep(Ark_NativePointer thisPtr, KInteropNumber scrollStep) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getAxisEventAccessor()->setScrollStep(self, (const Ark_Number*) (&scrollStep)); } -KOALA_INTEROP_DIRECT_0(HoverEvent_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_HoverEvent_getStopPropagation(Ark_NativePointer thisPtr) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); - [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getHoverEventAccessor()->getStopPropagation(self); +KOALA_INTEROP_DIRECT_V2(AxisEvent_setScrollStep, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_AxisEvent_getPropagation(Ark_NativePointer thisPtr) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); + [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getAxisEventAccessor()->getPropagation(self); // TODO: Value serialization needs to be implemented return {}; } -KOALA_INTEROP_DIRECT_1(HoverEvent_getStopPropagation, Ark_NativePointer, Ark_NativePointer) -void impl_HoverEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_HoverEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_1(AxisEvent_getPropagation, Ark_NativePointer, Ark_NativePointer) +void impl_AxisEvent_setPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_AxisEvent self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetAccessors()->getHoverEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value); + Callback_Void propagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetAccessors()->getAxisEventAccessor()->setPropagation(self, (const Callback_Void*)&propagation_value); } -KOALA_INTEROP_DIRECT_V3(HoverEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_MouseEvent_ctor() { - return GetAccessors()->getMouseEventAccessor()->ctor(); +KOALA_INTEROP_DIRECT_V3(AxisEvent_setPropagation, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_PixelMapMock_ctor() { + return GetAccessors()->getPixelMapMockAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_0(MouseEvent_ctor, Ark_NativePointer) -Ark_NativePointer impl_MouseEvent_getFinalizer() { - return GetAccessors()->getMouseEventAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_0(PixelMapMock_ctor, Ark_NativePointer) +Ark_NativePointer impl_PixelMapMock_getFinalizer() { + return GetAccessors()->getPixelMapMockAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_0(MouseEvent_getFinalizer, Ark_NativePointer) -Ark_Int32 impl_MouseEvent_getButton(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getButton(self); +KOALA_INTEROP_DIRECT_0(PixelMapMock_getFinalizer, Ark_NativePointer) +void impl_PixelMapMock_release(Ark_NativePointer thisPtr) { + Ark_PixelMapMock self = reinterpret_cast(thisPtr); + GetAccessors()->getPixelMapMockAccessor()->release(self); } -KOALA_INTEROP_DIRECT_1(MouseEvent_getButton, Ark_Int32, Ark_NativePointer) -void impl_MouseEvent_setButton(Ark_NativePointer thisPtr, Ark_Int32 button) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setButton(self, static_cast(button)); +KOALA_INTEROP_DIRECT_V1(PixelMapMock_release, Ark_NativePointer) +Ark_NativePointer impl_DragEvent_ctor() { + return GetAccessors()->getDragEventAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_V2(MouseEvent_setButton, Ark_NativePointer, Ark_Int32) -Ark_Int32 impl_MouseEvent_getAction(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getAction(self); +KOALA_INTEROP_DIRECT_0(DragEvent_ctor, Ark_NativePointer) +Ark_NativePointer impl_DragEvent_getFinalizer() { + return GetAccessors()->getDragEventAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_1(MouseEvent_getAction, Ark_Int32, Ark_NativePointer) -void impl_MouseEvent_setAction(Ark_NativePointer thisPtr, Ark_Int32 action) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setAction(self, static_cast(action)); +KOALA_INTEROP_DIRECT_0(DragEvent_getFinalizer, Ark_NativePointer) +Ark_Number impl_DragEvent_getDisplayX(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getDisplayX(self); } -KOALA_INTEROP_DIRECT_V2(MouseEvent_setAction, Ark_NativePointer, Ark_Int32) -Ark_Number impl_MouseEvent_getDisplayX(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getDisplayX(self); +KOALA_INTEROP_DIRECT_1(DragEvent_getDisplayX, KInteropNumber, Ark_NativePointer) +Ark_Number impl_DragEvent_getDisplayY(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getDisplayY(self); } -KOALA_INTEROP_DIRECT_1(MouseEvent_getDisplayX, KInteropNumber, Ark_NativePointer) -void impl_MouseEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX)); +KOALA_INTEROP_DIRECT_1(DragEvent_getDisplayY, KInteropNumber, Ark_NativePointer) +Ark_Number impl_DragEvent_getWindowX(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getWindowX(self); +} +KOALA_INTEROP_DIRECT_1(DragEvent_getWindowX, KInteropNumber, Ark_NativePointer) +Ark_Number impl_DragEvent_getWindowY(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getWindowY(self); +} +KOALA_INTEROP_DIRECT_1(DragEvent_getWindowY, KInteropNumber, Ark_NativePointer) +Ark_Number impl_DragEvent_getX(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getX(self); } -KOALA_INTEROP_DIRECT_V2(MouseEvent_setDisplayX, Ark_NativePointer, KInteropNumber) -Ark_Number impl_MouseEvent_getDisplayY(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getDisplayY(self); +KOALA_INTEROP_DIRECT_1(DragEvent_getX, KInteropNumber, Ark_NativePointer) +Ark_Number impl_DragEvent_getY(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getY(self); } -KOALA_INTEROP_DIRECT_1(MouseEvent_getDisplayY, KInteropNumber, Ark_NativePointer) -void impl_MouseEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY)); +KOALA_INTEROP_DIRECT_1(DragEvent_getY, KInteropNumber, Ark_NativePointer) +void impl_DragEvent_setData(Ark_NativePointer thisPtr, Ark_NativePointer unifiedData) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getDragEventAccessor()->setData(self, static_cast(unifiedData)); } -KOALA_INTEROP_DIRECT_V2(MouseEvent_setDisplayY, Ark_NativePointer, KInteropNumber) -Ark_Number impl_MouseEvent_getWindowX(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getWindowX(self); +KOALA_INTEROP_DIRECT_V2(DragEvent_setData, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_DragEvent_getData(KVMContext vmContext, Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getData(reinterpret_cast(vmContext), self); } -KOALA_INTEROP_DIRECT_1(MouseEvent_getWindowX, KInteropNumber, Ark_NativePointer) -void impl_MouseEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX)); +KOALA_INTEROP_CTX_1(DragEvent_getData, Ark_NativePointer, Ark_NativePointer) +KInteropReturnBuffer impl_DragEvent_getSummary(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDragEventAccessor()->getSummary(self); + Serializer _retSerializer {}; + _retSerializer.writeSummary(retValue); + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_V2(MouseEvent_setWindowX, Ark_NativePointer, KInteropNumber) -Ark_Number impl_MouseEvent_getWindowY(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getWindowY(self); +KOALA_INTEROP_1(DragEvent_getSummary, KInteropReturnBuffer, Ark_NativePointer) +void impl_DragEvent_setResult(Ark_NativePointer thisPtr, Ark_Int32 dragResult) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getDragEventAccessor()->setResult(self, static_cast(dragResult)); } -KOALA_INTEROP_DIRECT_1(MouseEvent_getWindowY, KInteropNumber, Ark_NativePointer) -void impl_MouseEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY)); +KOALA_INTEROP_DIRECT_V2(DragEvent_setResult, Ark_NativePointer, Ark_Int32) +Ark_Int32 impl_DragEvent_getResult(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getResult(self); } -KOALA_INTEROP_DIRECT_V2(MouseEvent_setWindowY, Ark_NativePointer, KInteropNumber) -Ark_Number impl_MouseEvent_getScreenX(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getScreenX(self); +KOALA_INTEROP_DIRECT_1(DragEvent_getResult, Ark_Int32, Ark_NativePointer) +KInteropReturnBuffer impl_DragEvent_getPreviewRect(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getDragEventAccessor()->getPreviewRect(self); + Serializer _retSerializer {}; + _retSerializer.writeRectangle(retValue); + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_1(MouseEvent_getScreenX, KInteropNumber, Ark_NativePointer) -void impl_MouseEvent_setScreenX(Ark_NativePointer thisPtr, KInteropNumber screenX) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setScreenX(self, (const Ark_Number*) (&screenX)); +KOALA_INTEROP_1(DragEvent_getPreviewRect, KInteropReturnBuffer, Ark_NativePointer) +Ark_Number impl_DragEvent_getVelocityX(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getVelocityX(self); } -KOALA_INTEROP_DIRECT_V2(MouseEvent_setScreenX, Ark_NativePointer, KInteropNumber) -Ark_Number impl_MouseEvent_getScreenY(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getScreenY(self); +KOALA_INTEROP_DIRECT_1(DragEvent_getVelocityX, KInteropNumber, Ark_NativePointer) +Ark_Number impl_DragEvent_getVelocityY(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getVelocityY(self); } -KOALA_INTEROP_DIRECT_1(MouseEvent_getScreenY, KInteropNumber, Ark_NativePointer) -void impl_MouseEvent_setScreenY(Ark_NativePointer thisPtr, KInteropNumber screenY) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setScreenY(self, (const Ark_Number*) (&screenY)); +KOALA_INTEROP_DIRECT_1(DragEvent_getVelocityY, KInteropNumber, Ark_NativePointer) +Ark_Number impl_DragEvent_getVelocity(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getVelocity(self); } -KOALA_INTEROP_DIRECT_V2(MouseEvent_setScreenY, Ark_NativePointer, KInteropNumber) -Ark_Number impl_MouseEvent_getX(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getX(self); +KOALA_INTEROP_DIRECT_1(DragEvent_getVelocity, KInteropNumber, Ark_NativePointer) +Ark_Boolean impl_DragEvent_getModifierKeyState(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 keys_value_buf_length = thisDeserializer.readInt32(); + Array_String keys_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&keys_value_buf, keys_value_buf_length); + for (int keys_value_buf_i = 0; keys_value_buf_i < keys_value_buf_length; keys_value_buf_i++) { + keys_value_buf.array[keys_value_buf_i] = static_cast(thisDeserializer.readString()); + } + Array_String keys_value = keys_value_buf;; + return GetAccessors()->getDragEventAccessor()->getModifierKeyState(reinterpret_cast(vmContext), self, (const Array_String*)&keys_value); } -KOALA_INTEROP_DIRECT_1(MouseEvent_getX, KInteropNumber, Ark_NativePointer) -void impl_MouseEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setX(self, (const Ark_Number*) (&x)); +KOALA_INTEROP_CTX_3(DragEvent_getModifierKeyState, Ark_Boolean, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_DragEvent_executeDropAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void customDropAnimation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetAccessors()->getDragEventAccessor()->executeDropAnimation(self, (const Callback_Void*)&customDropAnimation_value); } -KOALA_INTEROP_DIRECT_V2(MouseEvent_setX, Ark_NativePointer, KInteropNumber) -Ark_Number impl_MouseEvent_getY(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getMouseEventAccessor()->getY(self); +KOALA_INTEROP_DIRECT_V3(DragEvent_executeDropAnimation, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_String impl_DragEvent_startDataLoading(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_DataSyncOptions options_value = thisDeserializer.readDataSyncOptions();; + return GetAccessors()->getDragEventAccessor()->startDataLoading(reinterpret_cast(vmContext), self, (const Ark_DataSyncOptions*)&options_value); } -KOALA_INTEROP_DIRECT_1(MouseEvent_getY, KInteropNumber, Ark_NativePointer) -void impl_MouseEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getMouseEventAccessor()->setY(self, (const Ark_Number*) (&y)); +KOALA_INTEROP_CTX_3(DragEvent_startDataLoading, KStringPtr, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_Int32 impl_DragEvent_getDragBehavior(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getDragBehavior(self); } -KOALA_INTEROP_DIRECT_V2(MouseEvent_setY, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_MouseEvent_getStopPropagation(Ark_NativePointer thisPtr) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getMouseEventAccessor()->getStopPropagation(self); - // TODO: Value serialization needs to be implemented - return {}; +KOALA_INTEROP_DIRECT_1(DragEvent_getDragBehavior, Ark_Int32, Ark_NativePointer) +void impl_DragEvent_setDragBehavior(Ark_NativePointer thisPtr, Ark_Int32 dragBehavior) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getDragEventAccessor()->setDragBehavior(self, static_cast(dragBehavior)); } -KOALA_INTEROP_DIRECT_1(MouseEvent_getStopPropagation, Ark_NativePointer, Ark_NativePointer) -void impl_MouseEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_MouseEvent self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetAccessors()->getMouseEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value); +KOALA_INTEROP_DIRECT_V2(DragEvent_setDragBehavior, Ark_NativePointer, Ark_Int32) +Ark_Boolean impl_DragEvent_getUseCustomDropAnimation(Ark_NativePointer thisPtr) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getUseCustomDropAnimation(self); } -KOALA_INTEROP_DIRECT_V3(MouseEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_AccessibilityHoverEvent_ctor() { - return GetAccessors()->getAccessibilityHoverEventAccessor()->ctor(); +KOALA_INTEROP_DIRECT_1(DragEvent_getUseCustomDropAnimation, Ark_Boolean, Ark_NativePointer) +void impl_DragEvent_setUseCustomDropAnimation(Ark_NativePointer thisPtr, Ark_Boolean useCustomDropAnimation) { + Ark_DragEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getDragEventAccessor()->setUseCustomDropAnimation(self, useCustomDropAnimation); } -KOALA_INTEROP_DIRECT_0(AccessibilityHoverEvent_ctor, Ark_NativePointer) -Ark_NativePointer impl_AccessibilityHoverEvent_getFinalizer() { - return GetAccessors()->getAccessibilityHoverEventAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_V2(DragEvent_setUseCustomDropAnimation, Ark_NativePointer, Ark_Boolean) +Ark_NativePointer impl_KeyEvent_ctor() { + return GetAccessors()->getKeyEventAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_0(AccessibilityHoverEvent_getFinalizer, Ark_NativePointer) -Ark_Int32 impl_AccessibilityHoverEvent_getType(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getType(self); +KOALA_INTEROP_DIRECT_0(KeyEvent_ctor, Ark_NativePointer) +Ark_NativePointer impl_KeyEvent_getFinalizer() { + return GetAccessors()->getKeyEventAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getType, Ark_Int32, Ark_NativePointer) -void impl_AccessibilityHoverEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setType(self, static_cast(type)); +KOALA_INTEROP_DIRECT_0(KeyEvent_getFinalizer, Ark_NativePointer) +Ark_Boolean impl_KeyEvent_getModifierKeyState(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 keys_value_buf_length = thisDeserializer.readInt32(); + Array_String keys_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&keys_value_buf, keys_value_buf_length); + for (int keys_value_buf_i = 0; keys_value_buf_i < keys_value_buf_length; keys_value_buf_i++) { + keys_value_buf.array[keys_value_buf_i] = static_cast(thisDeserializer.readString()); + } + Array_String keys_value = keys_value_buf;; + return GetAccessors()->getKeyEventAccessor()->getModifierKeyState(reinterpret_cast(vmContext), self, (const Array_String*)&keys_value); } -KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setType, Ark_NativePointer, Ark_Int32) -Ark_Number impl_AccessibilityHoverEvent_getX(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getX(self); +KOALA_INTEROP_CTX_3(KeyEvent_getModifierKeyState, Ark_Boolean, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_Int32 impl_KeyEvent_getType(Ark_NativePointer thisPtr) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getType(self); } -KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getX, KInteropNumber, Ark_NativePointer) -void impl_AccessibilityHoverEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setX(self, (const Ark_Number*) (&x)); +KOALA_INTEROP_DIRECT_1(KeyEvent_getType, Ark_Int32, Ark_NativePointer) +void impl_KeyEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setType(self, static_cast(type)); } -KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setX, Ark_NativePointer, KInteropNumber) -Ark_Number impl_AccessibilityHoverEvent_getY(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getY(self); +KOALA_INTEROP_DIRECT_V2(KeyEvent_setType, Ark_NativePointer, Ark_Int32) +Ark_Number impl_KeyEvent_getKeyCode(Ark_NativePointer thisPtr) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getKeyCode(self); } -KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getY, KInteropNumber, Ark_NativePointer) -void impl_AccessibilityHoverEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setY(self, (const Ark_Number*) (&y)); +KOALA_INTEROP_DIRECT_1(KeyEvent_getKeyCode, KInteropNumber, Ark_NativePointer) +void impl_KeyEvent_setKeyCode(Ark_NativePointer thisPtr, KInteropNumber keyCode) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setKeyCode(self, (const Ark_Number*) (&keyCode)); } -KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setY, Ark_NativePointer, KInteropNumber) -Ark_Number impl_AccessibilityHoverEvent_getDisplayX(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getDisplayX(self); +KOALA_INTEROP_DIRECT_V2(KeyEvent_setKeyCode, Ark_NativePointer, KInteropNumber) +Ark_String impl_KeyEvent_getKeyText(Ark_NativePointer thisPtr) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getKeyText(self); } -KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getDisplayX, KInteropNumber, Ark_NativePointer) -void impl_AccessibilityHoverEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX)); +KOALA_INTEROP_1(KeyEvent_getKeyText, KStringPtr, Ark_NativePointer) +void impl_KeyEvent_setKeyText(Ark_NativePointer thisPtr, const KStringPtr& keyText) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setKeyText(self, (const Ark_String*) (&keyText)); } -KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setDisplayX, Ark_NativePointer, KInteropNumber) -Ark_Number impl_AccessibilityHoverEvent_getDisplayY(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getDisplayY(self); +KOALA_INTEROP_V2(KeyEvent_setKeyText, Ark_NativePointer, KStringPtr) +Ark_Int32 impl_KeyEvent_getKeySource(Ark_NativePointer thisPtr) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getKeySource(self); } -KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getDisplayY, KInteropNumber, Ark_NativePointer) -void impl_AccessibilityHoverEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY)); +KOALA_INTEROP_DIRECT_1(KeyEvent_getKeySource, Ark_Int32, Ark_NativePointer) +void impl_KeyEvent_setKeySource(Ark_NativePointer thisPtr, Ark_Int32 keySource) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setKeySource(self, static_cast(keySource)); } -KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setDisplayY, Ark_NativePointer, KInteropNumber) -Ark_Number impl_AccessibilityHoverEvent_getWindowX(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getWindowX(self); +KOALA_INTEROP_DIRECT_V2(KeyEvent_setKeySource, Ark_NativePointer, Ark_Int32) +Ark_Number impl_KeyEvent_getDeviceId(Ark_NativePointer thisPtr) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getDeviceId(self); +} +KOALA_INTEROP_DIRECT_1(KeyEvent_getDeviceId, KInteropNumber, Ark_NativePointer) +void impl_KeyEvent_setDeviceId(Ark_NativePointer thisPtr, KInteropNumber deviceId) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setDeviceId(self, (const Ark_Number*) (&deviceId)); } -KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getWindowX, KInteropNumber, Ark_NativePointer) -void impl_AccessibilityHoverEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX)); +KOALA_INTEROP_DIRECT_V2(KeyEvent_setDeviceId, Ark_NativePointer, KInteropNumber) +Ark_Number impl_KeyEvent_getMetaKey(Ark_NativePointer thisPtr) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getMetaKey(self); } -KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setWindowX, Ark_NativePointer, KInteropNumber) -Ark_Number impl_AccessibilityHoverEvent_getWindowY(Ark_NativePointer thisPtr) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getAccessibilityHoverEventAccessor()->getWindowY(self); +KOALA_INTEROP_DIRECT_1(KeyEvent_getMetaKey, KInteropNumber, Ark_NativePointer) +void impl_KeyEvent_setMetaKey(Ark_NativePointer thisPtr, KInteropNumber metaKey) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setMetaKey(self, (const Ark_Number*) (&metaKey)); } -KOALA_INTEROP_DIRECT_1(AccessibilityHoverEvent_getWindowY, KInteropNumber, Ark_NativePointer) -void impl_AccessibilityHoverEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) { - Ark_AccessibilityHoverEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getAccessibilityHoverEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY)); +KOALA_INTEROP_DIRECT_V2(KeyEvent_setMetaKey, Ark_NativePointer, KInteropNumber) +Ark_Int32 impl_KeyEvent_getTimestamp(Ark_NativePointer thisPtr) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getTimestamp(self); } -KOALA_INTEROP_DIRECT_V2(AccessibilityHoverEvent_setWindowY, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_TouchEvent_ctor() { - return GetAccessors()->getTouchEventAccessor()->ctor(); +KOALA_INTEROP_DIRECT_1(KeyEvent_getTimestamp, Ark_Int32, Ark_NativePointer) +void impl_KeyEvent_setTimestamp(Ark_NativePointer thisPtr, KLong timestamp) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setTimestamp(self, timestamp); } -KOALA_INTEROP_DIRECT_0(TouchEvent_ctor, Ark_NativePointer) -Ark_NativePointer impl_TouchEvent_getFinalizer() { - return GetAccessors()->getTouchEventAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_V2(KeyEvent_setTimestamp, Ark_NativePointer, KLong) +Ark_NativePointer impl_KeyEvent_getStopPropagation(Ark_NativePointer thisPtr) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getKeyEventAccessor()->getStopPropagation(self); + // TODO: Value serialization needs to be implemented + return {}; } -KOALA_INTEROP_DIRECT_0(TouchEvent_getFinalizer, Ark_NativePointer) -KInteropReturnBuffer impl_TouchEvent_getHistoricalPoints(Ark_NativePointer thisPtr) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTouchEventAccessor()->getHistoricalPoints(self); - Serializer _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int i = 0; i < retValue.length; i++) { - const Ark_HistoricalPoint retValue_element = retValue.array[i]; - _retSerializer.writeHistoricalPoint(retValue_element); - } - return _retSerializer.toReturnBuffer(); +KOALA_INTEROP_DIRECT_1(KeyEvent_getStopPropagation, Ark_NativePointer, Ark_NativePointer) +void impl_KeyEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetAccessors()->getKeyEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value); } -KOALA_INTEROP_1(TouchEvent_getHistoricalPoints, KInteropReturnBuffer, Ark_NativePointer) -Ark_Int32 impl_TouchEvent_getType(Ark_NativePointer thisPtr) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getTouchEventAccessor()->getType(self); +KOALA_INTEROP_DIRECT_V3(KeyEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_Int32 impl_KeyEvent_getIntentionCode(Ark_NativePointer thisPtr) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getIntentionCode(self); } -KOALA_INTEROP_DIRECT_1(TouchEvent_getType, Ark_Int32, Ark_NativePointer) -void impl_TouchEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getTouchEventAccessor()->setType(self, static_cast(type)); +KOALA_INTEROP_DIRECT_1(KeyEvent_getIntentionCode, Ark_Int32, Ark_NativePointer) +void impl_KeyEvent_setIntentionCode(Ark_NativePointer thisPtr, Ark_Int32 intentionCode) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setIntentionCode(self, static_cast(intentionCode)); } -KOALA_INTEROP_DIRECT_V2(TouchEvent_setType, Ark_NativePointer, Ark_Int32) -KInteropReturnBuffer impl_TouchEvent_getTouches(Ark_NativePointer thisPtr) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTouchEventAccessor()->getTouches(self); +KOALA_INTEROP_DIRECT_V2(KeyEvent_setIntentionCode, Ark_NativePointer, Ark_Int32) +KInteropReturnBuffer impl_KeyEvent_getUnicode(Ark_NativePointer thisPtr) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getKeyEventAccessor()->getUnicode(self); Serializer _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int i = 0; i < retValue.length; i++) { - const Ark_TouchObject retValue_element = retValue.array[i]; - _retSerializer.writeTouchObject(retValue_element); + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNumber(retValue_value); } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(TouchEvent_getTouches, KInteropReturnBuffer, Ark_NativePointer) -void impl_TouchEvent_setTouches(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 touches_value_buf_length = thisDeserializer.readInt32(); - Array_TouchObject touches_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&touches_value_buf, touches_value_buf_length); - for (int touches_value_buf_i = 0; touches_value_buf_i < touches_value_buf_length; touches_value_buf_i++) { - touches_value_buf.array[touches_value_buf_i] = thisDeserializer.readTouchObject(); - } - Array_TouchObject touches_value = touches_value_buf;; - GetAccessors()->getTouchEventAccessor()->setTouches(self, (const Array_TouchObject*)&touches_value); +KOALA_INTEROP_1(KeyEvent_getUnicode, KInteropReturnBuffer, Ark_NativePointer) +void impl_KeyEvent_setUnicode(Ark_NativePointer thisPtr, KInteropNumber unicode) { + Ark_KeyEvent self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setUnicode(self, (const Ark_Number*) (&unicode)); } -KOALA_INTEROP_DIRECT_V3(TouchEvent_setTouches, Ark_NativePointer, KSerializerBuffer, int32_t) -KInteropReturnBuffer impl_TouchEvent_getChangedTouches(Ark_NativePointer thisPtr) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTouchEventAccessor()->getChangedTouches(self); +KOALA_INTEROP_DIRECT_V2(KeyEvent_setUnicode, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_FocusAxisEvent_ctor() { + return GetAccessors()->getFocusAxisEventAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(FocusAxisEvent_ctor, Ark_NativePointer) +Ark_NativePointer impl_FocusAxisEvent_getFinalizer() { + return GetAccessors()->getFocusAxisEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(FocusAxisEvent_getFinalizer, Ark_NativePointer) +KInteropReturnBuffer impl_FocusAxisEvent_getAxisMap(Ark_NativePointer thisPtr) { + Ark_FocusAxisEvent self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getFocusAxisEventAccessor()->getAxisMap(self); Serializer _retSerializer {}; - _retSerializer.writeInt32(retValue.length); - for (int i = 0; i < retValue.length; i++) { - const Ark_TouchObject retValue_element = retValue.array[i]; - _retSerializer.writeTouchObject(retValue_element); + _retSerializer.writeInt32(retValue.size); + for (int32_t i = 0; i < retValue.size; i++) { + auto retValue_key = retValue.keys[i]; + auto retValue_value = retValue.values[i]; + _retSerializer.writeInt32(static_cast(retValue_key)); + _retSerializer.writeNumber(retValue_value); } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(TouchEvent_getChangedTouches, KInteropReturnBuffer, Ark_NativePointer) -void impl_TouchEvent_setChangedTouches(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 changedTouches_value_buf_length = thisDeserializer.readInt32(); - Array_TouchObject changedTouches_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&changedTouches_value_buf, changedTouches_value_buf_length); - for (int changedTouches_value_buf_i = 0; changedTouches_value_buf_i < changedTouches_value_buf_length; changedTouches_value_buf_i++) { - changedTouches_value_buf.array[changedTouches_value_buf_i] = thisDeserializer.readTouchObject(); - } - Array_TouchObject changedTouches_value = changedTouches_value_buf;; - GetAccessors()->getTouchEventAccessor()->setChangedTouches(self, (const Array_TouchObject*)&changedTouches_value); -} -KOALA_INTEROP_DIRECT_V3(TouchEvent_setChangedTouches, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TouchEvent_getStopPropagation(Ark_NativePointer thisPtr) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getTouchEventAccessor()->getStopPropagation(self); +KOALA_INTEROP_1(FocusAxisEvent_getAxisMap, KInteropReturnBuffer, Ark_NativePointer) +void impl_FocusAxisEvent_setAxisMap(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_FocusAxisEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 axisMap_value_buf_size = thisDeserializer.readInt32(); + Map_AxisModel_Number axisMap_value_buf = {}; + thisDeserializer.resizeMap(&axisMap_value_buf, axisMap_value_buf_size); + for (int axisMap_value_buf_i = 0; axisMap_value_buf_i < axisMap_value_buf_size; axisMap_value_buf_i++) { + const Ark_AxisModel axisMap_value_buf_key = static_cast(thisDeserializer.readInt32()); + const Ark_Number axisMap_value_buf_value = static_cast(thisDeserializer.readNumber()); + axisMap_value_buf.keys[axisMap_value_buf_i] = axisMap_value_buf_key; + axisMap_value_buf.values[axisMap_value_buf_i] = axisMap_value_buf_value; + } + Map_AxisModel_Number axisMap_value = axisMap_value_buf;; + GetAccessors()->getFocusAxisEventAccessor()->setAxisMap(self, (const Map_AxisModel_Number*)&axisMap_value); +} +KOALA_INTEROP_DIRECT_V3(FocusAxisEvent_setAxisMap, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_FocusAxisEvent_getStopPropagation(Ark_NativePointer thisPtr) { + Ark_FocusAxisEvent self = reinterpret_cast(thisPtr); + [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getFocusAxisEventAccessor()->getStopPropagation(self); // TODO: Value serialization needs to be implemented return {}; } -KOALA_INTEROP_DIRECT_1(TouchEvent_getStopPropagation, Ark_NativePointer, Ark_NativePointer) -void impl_TouchEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_1(FocusAxisEvent_getStopPropagation, Ark_NativePointer, Ark_NativePointer) +void impl_FocusAxisEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_FocusAxisEvent self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetAccessors()->getTouchEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value); -} -KOALA_INTEROP_DIRECT_V3(TouchEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_TouchEvent_getPreventDefault(Ark_NativePointer thisPtr) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); - [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getTouchEventAccessor()->getPreventDefault(self); - // TODO: Value serialization needs to be implemented - return {}; + GetAccessors()->getFocusAxisEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value); } -KOALA_INTEROP_DIRECT_1(TouchEvent_getPreventDefault, Ark_NativePointer, Ark_NativePointer) -void impl_TouchEvent_setPreventDefault(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_TouchEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_V3(FocusAxisEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_ProgressMask_ctor(KInteropNumber value, KInteropNumber total, KSerializerBuffer thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void preventDefault_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetAccessors()->getTouchEventAccessor()->setPreventDefault(self, (const Callback_Void*)&preventDefault_value); -} -KOALA_INTEROP_DIRECT_V3(TouchEvent_setPreventDefault, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_PixelMapMock_ctor() { - return GetAccessors()->getPixelMapMockAccessor()->ctor(); -} -KOALA_INTEROP_DIRECT_0(PixelMapMock_ctor, Ark_NativePointer) -Ark_NativePointer impl_PixelMapMock_getFinalizer() { - return GetAccessors()->getPixelMapMockAccessor()->getFinalizer(); -} -KOALA_INTEROP_DIRECT_0(PixelMapMock_getFinalizer, Ark_NativePointer) -void impl_PixelMapMock_release(Ark_NativePointer thisPtr) { - Ark_PixelMapMock self = reinterpret_cast(thisPtr); - GetAccessors()->getPixelMapMockAccessor()->release(self); -} -KOALA_INTEROP_DIRECT_V1(PixelMapMock_release, Ark_NativePointer) -Ark_NativePointer impl_DragEvent_ctor() { - return GetAccessors()->getDragEventAccessor()->ctor(); -} -KOALA_INTEROP_DIRECT_0(DragEvent_ctor, Ark_NativePointer) -Ark_NativePointer impl_DragEvent_getFinalizer() { - return GetAccessors()->getDragEventAccessor()->getFinalizer(); -} -KOALA_INTEROP_DIRECT_0(DragEvent_getFinalizer, Ark_NativePointer) -Ark_Number impl_DragEvent_getDisplayX(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getDisplayX(self); -} -KOALA_INTEROP_DIRECT_1(DragEvent_getDisplayX, KInteropNumber, Ark_NativePointer) -Ark_Number impl_DragEvent_getDisplayY(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getDisplayY(self); + const Ark_Int8 color_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor color_value_buf = {}; + color_value_buf.selector = color_value_buf_selector; + if (color_value_buf_selector == 0) { + color_value_buf.selector = 0; + color_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (color_value_buf_selector == 1) { + color_value_buf.selector = 1; + color_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (color_value_buf_selector == 2) { + color_value_buf.selector = 2; + color_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (color_value_buf_selector == 3) { + color_value_buf.selector = 3; + color_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for color_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor color_value = static_cast(color_value_buf);; + return GetAccessors()->getProgressMaskAccessor()->ctor((const Ark_Number*) (&value), (const Ark_Number*) (&total), (const Ark_ResourceColor*)&color_value); } -KOALA_INTEROP_DIRECT_1(DragEvent_getDisplayY, KInteropNumber, Ark_NativePointer) -Ark_Number impl_DragEvent_getWindowX(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getWindowX(self); +KOALA_INTEROP_DIRECT_4(ProgressMask_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t) +Ark_NativePointer impl_ProgressMask_getFinalizer() { + return GetAccessors()->getProgressMaskAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_1(DragEvent_getWindowX, KInteropNumber, Ark_NativePointer) -Ark_Number impl_DragEvent_getWindowY(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getWindowY(self); +KOALA_INTEROP_DIRECT_0(ProgressMask_getFinalizer, Ark_NativePointer) +void impl_ProgressMask_updateProgress(Ark_NativePointer thisPtr, KInteropNumber value) { + Ark_ProgressMask self = reinterpret_cast(thisPtr); + GetAccessors()->getProgressMaskAccessor()->updateProgress(self, (const Ark_Number*) (&value)); } -KOALA_INTEROP_DIRECT_1(DragEvent_getWindowY, KInteropNumber, Ark_NativePointer) -Ark_Number impl_DragEvent_getX(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getX(self); +KOALA_INTEROP_DIRECT_V2(ProgressMask_updateProgress, Ark_NativePointer, KInteropNumber) +void impl_ProgressMask_updateColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_ProgressMask self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); + Ark_ResourceColor value_value_buf = {}; + value_value_buf.selector = value_value_buf_selector; + if (value_value_buf_selector == 0) { + value_value_buf.selector = 0; + value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (value_value_buf_selector == 1) { + value_value_buf.selector = 1; + value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + } + else if (value_value_buf_selector == 2) { + value_value_buf.selector = 2; + value_value_buf.value2 = static_cast(thisDeserializer.readString()); + } + else if (value_value_buf_selector == 3) { + value_value_buf.selector = 3; + value_value_buf.value3 = thisDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + } + Ark_ResourceColor value_value = static_cast(value_value_buf);; + GetAccessors()->getProgressMaskAccessor()->updateColor(self, (const Ark_ResourceColor*)&value_value); } -KOALA_INTEROP_DIRECT_1(DragEvent_getX, KInteropNumber, Ark_NativePointer) -Ark_Number impl_DragEvent_getY(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getY(self); +KOALA_INTEROP_DIRECT_V3(ProgressMask_updateColor, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_ProgressMask_enableBreathingAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_ProgressMask self = reinterpret_cast(thisPtr); + GetAccessors()->getProgressMaskAccessor()->enableBreathingAnimation(self, value); } -KOALA_INTEROP_DIRECT_1(DragEvent_getY, KInteropNumber, Ark_NativePointer) -void impl_DragEvent_setData(Ark_NativePointer thisPtr, Ark_NativePointer unifiedData) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getDragEventAccessor()->setData(self, static_cast(unifiedData)); +KOALA_INTEROP_DIRECT_V2(ProgressMask_enableBreathingAnimation, Ark_NativePointer, Ark_Boolean) +Ark_NativePointer impl_Measurable_ctor() { + return GetAccessors()->getMeasurableAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_V2(DragEvent_setData, Ark_NativePointer, Ark_NativePointer) -Ark_NativePointer impl_DragEvent_getData(KVMContext vmContext, Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getData(reinterpret_cast(vmContext), self); +KOALA_INTEROP_DIRECT_0(Measurable_ctor, Ark_NativePointer) +Ark_NativePointer impl_Measurable_getFinalizer() { + return GetAccessors()->getMeasurableAccessor()->getFinalizer(); } -KOALA_INTEROP_CTX_1(DragEvent_getData, Ark_NativePointer, Ark_NativePointer) -KInteropReturnBuffer impl_DragEvent_getSummary(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDragEventAccessor()->getSummary(self); +KOALA_INTEROP_DIRECT_0(Measurable_getFinalizer, Ark_NativePointer) +KInteropReturnBuffer impl_Measurable_measure(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_Measurable self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ConstraintSizeOptions constraint_value = thisDeserializer.readConstraintSizeOptions();; + const auto &retValue = GetAccessors()->getMeasurableAccessor()->measure(self, (const Ark_ConstraintSizeOptions*)&constraint_value); Serializer _retSerializer {}; - _retSerializer.writeSummary(retValue); + _retSerializer.writeMeasureResult(retValue); return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(DragEvent_getSummary, KInteropReturnBuffer, Ark_NativePointer) -void impl_DragEvent_setResult(Ark_NativePointer thisPtr, Ark_Int32 dragResult) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getDragEventAccessor()->setResult(self, static_cast(dragResult)); +KOALA_INTEROP_3(Measurable_measure, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_Measurable_getMargin(Ark_NativePointer thisPtr) { + Ark_Measurable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMeasurableAccessor()->getMargin(self); + Serializer _retSerializer {}; + _retSerializer.writeDirectionalEdgesT(retValue); + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_V2(DragEvent_setResult, Ark_NativePointer, Ark_Int32) -Ark_Int32 impl_DragEvent_getResult(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getResult(self); +KOALA_INTEROP_1(Measurable_getMargin, KInteropReturnBuffer, Ark_NativePointer) +KInteropReturnBuffer impl_Measurable_getPadding(Ark_NativePointer thisPtr) { + Ark_Measurable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMeasurableAccessor()->getPadding(self); + Serializer _retSerializer {}; + _retSerializer.writeDirectionalEdgesT(retValue); + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_1(DragEvent_getResult, Ark_Int32, Ark_NativePointer) -KInteropReturnBuffer impl_DragEvent_getPreviewRect(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getDragEventAccessor()->getPreviewRect(self); +KOALA_INTEROP_1(Measurable_getPadding, KInteropReturnBuffer, Ark_NativePointer) +KInteropReturnBuffer impl_Measurable_getBorderWidth(Ark_NativePointer thisPtr) { + Ark_Measurable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMeasurableAccessor()->getBorderWidth(self); Serializer _retSerializer {}; - _retSerializer.writeRectangle(retValue); + _retSerializer.writeDirectionalEdgesT(retValue); return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(DragEvent_getPreviewRect, KInteropReturnBuffer, Ark_NativePointer) -Ark_Number impl_DragEvent_getVelocityX(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getVelocityX(self); +KOALA_INTEROP_1(Measurable_getBorderWidth, KInteropReturnBuffer, Ark_NativePointer) +KInteropReturnBuffer impl_Measurable_getUniqueId(Ark_NativePointer thisPtr) { + Ark_Measurable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getMeasurableAccessor()->getUniqueId(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNumber(retValue_value); + } + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_1(DragEvent_getVelocityX, KInteropNumber, Ark_NativePointer) -Ark_Number impl_DragEvent_getVelocityY(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getVelocityY(self); +KOALA_INTEROP_1(Measurable_getUniqueId, KInteropReturnBuffer, Ark_NativePointer) +void impl_Measurable_setUniqueId(Ark_NativePointer thisPtr, KInteropNumber uniqueId) { + Ark_Measurable self = reinterpret_cast(thisPtr); + GetAccessors()->getMeasurableAccessor()->setUniqueId(self, (const Ark_Number*) (&uniqueId)); } -KOALA_INTEROP_DIRECT_1(DragEvent_getVelocityY, KInteropNumber, Ark_NativePointer) -Ark_Number impl_DragEvent_getVelocity(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getVelocity(self); +KOALA_INTEROP_DIRECT_V2(Measurable_setUniqueId, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_View_ctor() { + return GetAccessors()->getViewAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_1(DragEvent_getVelocity, KInteropNumber, Ark_NativePointer) -Ark_Boolean impl_DragEvent_getModifierKeyState(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 keys_value_buf_length = thisDeserializer.readInt32(); - Array_String keys_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&keys_value_buf, keys_value_buf_length); - for (int keys_value_buf_i = 0; keys_value_buf_i < keys_value_buf_length; keys_value_buf_i++) { - keys_value_buf.array[keys_value_buf_i] = static_cast(thisDeserializer.readString()); - } - Array_String keys_value = keys_value_buf;; - return GetAccessors()->getDragEventAccessor()->getModifierKeyState(reinterpret_cast(vmContext), self, (const Array_String*)&keys_value); +KOALA_INTEROP_DIRECT_0(View_ctor, Ark_NativePointer) +Ark_NativePointer impl_View_getFinalizer() { + return GetAccessors()->getViewAccessor()->getFinalizer(); } -KOALA_INTEROP_CTX_3(DragEvent_getModifierKeyState, Ark_Boolean, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_Int32 impl_DragEvent_getDragBehavior(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getDragBehavior(self); +KOALA_INTEROP_DIRECT_0(View_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_View_create(Ark_NativePointer thisPtr, Ark_NativePointer value) { + Ark_View self = reinterpret_cast(thisPtr); + return GetAccessors()->getViewAccessor()->create(self, value); } -KOALA_INTEROP_DIRECT_1(DragEvent_getDragBehavior, Ark_Int32, Ark_NativePointer) -void impl_DragEvent_setDragBehavior(Ark_NativePointer thisPtr, Ark_Int32 dragBehavior) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getDragEventAccessor()->setDragBehavior(self, static_cast(dragBehavior)); +KOALA_INTEROP_DIRECT_2(View_create, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_TextContentControllerBase_ctor() { + return GetAccessors()->getTextContentControllerBaseAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_V2(DragEvent_setDragBehavior, Ark_NativePointer, Ark_Int32) -Ark_Boolean impl_DragEvent_getUseCustomDropAnimation(Ark_NativePointer thisPtr) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getDragEventAccessor()->getUseCustomDropAnimation(self); +KOALA_INTEROP_DIRECT_0(TextContentControllerBase_ctor, Ark_NativePointer) +Ark_NativePointer impl_TextContentControllerBase_getFinalizer() { + return GetAccessors()->getTextContentControllerBaseAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_1(DragEvent_getUseCustomDropAnimation, Ark_Boolean, Ark_NativePointer) -void impl_DragEvent_setUseCustomDropAnimation(Ark_NativePointer thisPtr, Ark_Boolean useCustomDropAnimation) { - Ark_DragEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getDragEventAccessor()->setUseCustomDropAnimation(self, useCustomDropAnimation); +KOALA_INTEROP_DIRECT_0(TextContentControllerBase_getFinalizer, Ark_NativePointer) +KInteropReturnBuffer impl_TextContentControllerBase_getCaretOffset(Ark_NativePointer thisPtr) { + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getCaretOffset(self); + Serializer _retSerializer {}; + _retSerializer.writeCaretOffset(retValue); + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_V2(DragEvent_setUseCustomDropAnimation, Ark_NativePointer, Ark_Boolean) -Ark_NativePointer impl_KeyEvent_ctor() { - return GetAccessors()->getKeyEventAccessor()->ctor(); +KOALA_INTEROP_1(TextContentControllerBase_getCaretOffset, KInteropReturnBuffer, Ark_NativePointer) +KInteropReturnBuffer impl_TextContentControllerBase_getTextContentRect(Ark_NativePointer thisPtr) { + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentRect(self); + Serializer _retSerializer {}; + _retSerializer.writeRectResult(retValue); + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_0(KeyEvent_ctor, Ark_NativePointer) -Ark_NativePointer impl_KeyEvent_getFinalizer() { - return GetAccessors()->getKeyEventAccessor()->getFinalizer(); +KOALA_INTEROP_1(TextContentControllerBase_getTextContentRect, KInteropReturnBuffer, Ark_NativePointer) +Ark_Number impl_TextContentControllerBase_getTextContentLineCount(Ark_NativePointer thisPtr) { + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + return GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentLineCount(self); } -KOALA_INTEROP_DIRECT_0(KeyEvent_getFinalizer, Ark_NativePointer) -Ark_Boolean impl_KeyEvent_getModifierKeyState(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_1(TextContentControllerBase_getTextContentLineCount, KInteropNumber, Ark_NativePointer) +Ark_Number impl_TextContentControllerBase_addText(Ark_NativePointer thisPtr, const KStringPtr& text, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 keys_value_buf_length = thisDeserializer.readInt32(); - Array_String keys_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&keys_value_buf, keys_value_buf_length); - for (int keys_value_buf_i = 0; keys_value_buf_i < keys_value_buf_length; keys_value_buf_i++) { - keys_value_buf.array[keys_value_buf_i] = static_cast(thisDeserializer.readString()); + const auto textOperationOptions_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextContentControllerOptions textOperationOptions_value_buf = {}; + textOperationOptions_value_buf.tag = textOperationOptions_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textOperationOptions_value_buf_runtimeType)) + { + textOperationOptions_value_buf.value = thisDeserializer.readTextContentControllerOptions(); } - Array_String keys_value = keys_value_buf;; - return GetAccessors()->getKeyEventAccessor()->getModifierKeyState(reinterpret_cast(vmContext), self, (const Array_String*)&keys_value); -} -KOALA_INTEROP_CTX_3(KeyEvent_getModifierKeyState, Ark_Boolean, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_Int32 impl_KeyEvent_getType(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getType(self); -} -KOALA_INTEROP_DIRECT_1(KeyEvent_getType, Ark_Int32, Ark_NativePointer) -void impl_KeyEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setType(self, static_cast(type)); + Opt_TextContentControllerOptions textOperationOptions_value = textOperationOptions_value_buf;; + return GetAccessors()->getTextContentControllerBaseAccessor()->addText(self, (const Ark_String*) (&text), (const Opt_TextContentControllerOptions*)&textOperationOptions_value); } -KOALA_INTEROP_DIRECT_V2(KeyEvent_setType, Ark_NativePointer, Ark_Int32) -Ark_Number impl_KeyEvent_getKeyCode(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getKeyCode(self); +KOALA_INTEROP_4(TextContentControllerBase_addText, KInteropNumber, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) +void impl_TextContentControllerBase_deleteText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto range_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextRange range_value_buf = {}; + range_value_buf.tag = range_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (range_value_buf_runtimeType)) + { + range_value_buf.value = thisDeserializer.readTextRange(); + } + Opt_TextRange range_value = range_value_buf;; + GetAccessors()->getTextContentControllerBaseAccessor()->deleteText(self, (const Opt_TextRange*)&range_value); } -KOALA_INTEROP_DIRECT_1(KeyEvent_getKeyCode, KInteropNumber, Ark_NativePointer) -void impl_KeyEvent_setKeyCode(Ark_NativePointer thisPtr, KInteropNumber keyCode) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setKeyCode(self, (const Ark_Number*) (&keyCode)); +KOALA_INTEROP_DIRECT_V3(TextContentControllerBase_deleteText, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_TextContentControllerBase_getSelection(Ark_NativePointer thisPtr) { + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getSelection(self); + Serializer _retSerializer {}; + _retSerializer.writeTextRange(retValue); + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_V2(KeyEvent_setKeyCode, Ark_NativePointer, KInteropNumber) -Ark_String impl_KeyEvent_getKeyText(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getKeyText(self); +KOALA_INTEROP_1(TextContentControllerBase_getSelection, KInteropReturnBuffer, Ark_NativePointer) +void impl_TextContentControllerBase_clearPreviewText(Ark_NativePointer thisPtr) { + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + GetAccessors()->getTextContentControllerBaseAccessor()->clearPreviewText(self); } -KOALA_INTEROP_1(KeyEvent_getKeyText, KStringPtr, Ark_NativePointer) -void impl_KeyEvent_setKeyText(Ark_NativePointer thisPtr, const KStringPtr& keyText) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setKeyText(self, (const Ark_String*) (&keyText)); +KOALA_INTEROP_DIRECT_V1(TextContentControllerBase_clearPreviewText, Ark_NativePointer) +Ark_String impl_TextContentControllerBase_getText(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto range_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextRange range_value_buf = {}; + range_value_buf.tag = range_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (range_value_buf_runtimeType)) + { + range_value_buf.value = thisDeserializer.readTextRange(); + } + Opt_TextRange range_value = range_value_buf;; + return GetAccessors()->getTextContentControllerBaseAccessor()->getText(self, (const Opt_TextRange*)&range_value); } -KOALA_INTEROP_V2(KeyEvent_setKeyText, Ark_NativePointer, KStringPtr) -Ark_Int32 impl_KeyEvent_getKeySource(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getKeySource(self); +KOALA_INTEROP_3(TextContentControllerBase_getText, KStringPtr, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_ChildrenMainSize_ctor(KInteropNumber childDefaultSize) { + return GetAccessors()->getChildrenMainSizeAccessor()->ctor((const Ark_Number*) (&childDefaultSize)); } -KOALA_INTEROP_DIRECT_1(KeyEvent_getKeySource, Ark_Int32, Ark_NativePointer) -void impl_KeyEvent_setKeySource(Ark_NativePointer thisPtr, Ark_Int32 keySource) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setKeySource(self, static_cast(keySource)); +KOALA_INTEROP_DIRECT_1(ChildrenMainSize_ctor, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_ChildrenMainSize_getFinalizer() { + return GetAccessors()->getChildrenMainSizeAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_V2(KeyEvent_setKeySource, Ark_NativePointer, Ark_Int32) -Ark_Number impl_KeyEvent_getDeviceId(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getDeviceId(self); +KOALA_INTEROP_DIRECT_0(ChildrenMainSize_getFinalizer, Ark_NativePointer) +void impl_ChildrenMainSize_splice(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber start, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto deleteCount_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number deleteCount_value_buf = {}; + deleteCount_value_buf.tag = deleteCount_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (deleteCount_value_buf_runtimeType)) + { + deleteCount_value_buf.value = static_cast(thisDeserializer.readNumber()); + } + Opt_Number deleteCount_value = deleteCount_value_buf;; + const auto childrenSize_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_Number childrenSize_value_buf = {}; + childrenSize_value_buf.tag = childrenSize_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (childrenSize_value_buf_runtimeType)) + { + const Ark_Int32 childrenSize_value_buf__length = thisDeserializer.readInt32(); + Array_Number childrenSize_value_buf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&childrenSize_value_buf_, childrenSize_value_buf__length); + for (int childrenSize_value_buf__i = 0; childrenSize_value_buf__i < childrenSize_value_buf__length; childrenSize_value_buf__i++) { + childrenSize_value_buf_.array[childrenSize_value_buf__i] = static_cast(thisDeserializer.readNumber()); + } + childrenSize_value_buf.value = childrenSize_value_buf_; + } + Opt_Array_Number childrenSize_value = childrenSize_value_buf;; + GetAccessors()->getChildrenMainSizeAccessor()->splice(reinterpret_cast(vmContext), self, (const Ark_Number*) (&start), (const Opt_Number*)&deleteCount_value, (const Opt_Array_Number*)&childrenSize_value); } -KOALA_INTEROP_DIRECT_1(KeyEvent_getDeviceId, KInteropNumber, Ark_NativePointer) -void impl_KeyEvent_setDeviceId(Ark_NativePointer thisPtr, KInteropNumber deviceId) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setDeviceId(self, (const Ark_Number*) (&deviceId)); +KOALA_INTEROP_CTX_V4(ChildrenMainSize_splice, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) +void impl_ChildrenMainSize_update(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber index, KInteropNumber childSize) { + Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); + GetAccessors()->getChildrenMainSizeAccessor()->update(reinterpret_cast(vmContext), self, (const Ark_Number*) (&index), (const Ark_Number*) (&childSize)); } -KOALA_INTEROP_DIRECT_V2(KeyEvent_setDeviceId, Ark_NativePointer, KInteropNumber) -Ark_Number impl_KeyEvent_getMetaKey(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getMetaKey(self); +KOALA_INTEROP_CTX_V3(ChildrenMainSize_update, Ark_NativePointer, KInteropNumber, KInteropNumber) +Ark_Number impl_ChildrenMainSize_getChildDefaultSize(Ark_NativePointer thisPtr) { + Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); + return GetAccessors()->getChildrenMainSizeAccessor()->getChildDefaultSize(self); } -KOALA_INTEROP_DIRECT_1(KeyEvent_getMetaKey, KInteropNumber, Ark_NativePointer) -void impl_KeyEvent_setMetaKey(Ark_NativePointer thisPtr, KInteropNumber metaKey) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setMetaKey(self, (const Ark_Number*) (&metaKey)); +KOALA_INTEROP_DIRECT_1(ChildrenMainSize_getChildDefaultSize, KInteropNumber, Ark_NativePointer) +void impl_ChildrenMainSize_setChildDefaultSize(Ark_NativePointer thisPtr, KInteropNumber childDefaultSize) { + Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); + GetAccessors()->getChildrenMainSizeAccessor()->setChildDefaultSize(self, (const Ark_Number*) (&childDefaultSize)); } -KOALA_INTEROP_DIRECT_V2(KeyEvent_setMetaKey, Ark_NativePointer, KInteropNumber) -Ark_Int32 impl_KeyEvent_getTimestamp(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getTimestamp(self); +KOALA_INTEROP_DIRECT_V2(ChildrenMainSize_setChildDefaultSize, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_UICommonEvent_ctor() { + return GetAccessors()->getUICommonEventAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_1(KeyEvent_getTimestamp, Ark_Int32, Ark_NativePointer) -void impl_KeyEvent_setTimestamp(Ark_NativePointer thisPtr, KLong timestamp) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setTimestamp(self, timestamp); +KOALA_INTEROP_DIRECT_0(UICommonEvent_ctor, Ark_NativePointer) +Ark_NativePointer impl_UICommonEvent_getFinalizer() { + return GetAccessors()->getUICommonEventAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_V2(KeyEvent_setTimestamp, Ark_NativePointer, KLong) -Ark_NativePointer impl_KeyEvent_getStopPropagation(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - [[maybe_unused]] const auto &_api_call_result = GetAccessors()->getKeyEventAccessor()->getStopPropagation(self); - // TODO: Value serialization needs to be implemented - return {}; +KOALA_INTEROP_DIRECT_0(UICommonEvent_getFinalizer, Ark_NativePointer) +void impl_UICommonEvent_setOnClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_ClickEvent_Void callback__value_buf = {}; + callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + { + callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))}; + } + Opt_Callback_ClickEvent_Void callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnClick(self, (const Opt_Callback_ClickEvent_Void*)&callback__value); } -KOALA_INTEROP_DIRECT_1(KeyEvent_getStopPropagation, Ark_NativePointer, Ark_NativePointer) -void impl_KeyEvent_setStopPropagation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnClick, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UICommonEvent_setOnTouch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_UICommonEvent self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void stopPropagation_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetAccessors()->getKeyEventAccessor()->setStopPropagation(self, (const Callback_Void*)&stopPropagation_value); + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_TouchEvent_Void callback__value_buf = {}; + callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + { + callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TouchEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TouchEvent_Void))))}; + } + Opt_Callback_TouchEvent_Void callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnTouch(self, (const Opt_Callback_TouchEvent_Void*)&callback__value); } -KOALA_INTEROP_DIRECT_V3(KeyEvent_setStopPropagation, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_Int32 impl_KeyEvent_getIntentionCode(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - return GetAccessors()->getKeyEventAccessor()->getIntentionCode(self); +KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnTouch, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UICommonEvent_setOnAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Void callback__value_buf = {}; + callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + { + callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + Opt_Callback_Void callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnAppear(self, (const Opt_Callback_Void*)&callback__value); } -KOALA_INTEROP_DIRECT_1(KeyEvent_getIntentionCode, Ark_Int32, Ark_NativePointer) -void impl_KeyEvent_setIntentionCode(Ark_NativePointer thisPtr, Ark_Int32 intentionCode) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setIntentionCode(self, static_cast(intentionCode)); +KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnAppear, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UICommonEvent_setOnDisappear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Void callback__value_buf = {}; + callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + { + callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + Opt_Callback_Void callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnDisappear(self, (const Opt_Callback_Void*)&callback__value); } -KOALA_INTEROP_DIRECT_V2(KeyEvent_setIntentionCode, Ark_NativePointer, Ark_Int32) -KInteropReturnBuffer impl_KeyEvent_getUnicode(Ark_NativePointer thisPtr) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getKeyEventAccessor()->getUnicode(self); - Serializer _retSerializer {}; - Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; - retValue_type = runtimeType(retValue); - _retSerializer.writeInt8(retValue_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { - const auto retValue_value = retValue.value; - _retSerializer.writeNumber(retValue_value); +KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnDisappear, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UICommonEvent_setOnKeyEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_KeyEvent_Void callback__value_buf = {}; + callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + { + callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_KeyEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Void))))}; } - return _retSerializer.toReturnBuffer(); + Opt_Callback_KeyEvent_Void callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnKeyEvent(self, (const Opt_Callback_KeyEvent_Void*)&callback__value); } -KOALA_INTEROP_1(KeyEvent_getUnicode, KInteropReturnBuffer, Ark_NativePointer) -void impl_KeyEvent_setUnicode(Ark_NativePointer thisPtr, KInteropNumber unicode) { - Ark_KeyEvent self = reinterpret_cast(thisPtr); - GetAccessors()->getKeyEventAccessor()->setUnicode(self, (const Ark_Number*) (&unicode)); +KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnKeyEvent, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UICommonEvent_setOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Void callback__value_buf = {}; + callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + { + callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + } + Opt_Callback_Void callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnFocus(self, (const Opt_Callback_Void*)&callback__value); } -KOALA_INTEROP_DIRECT_V2(KeyEvent_setUnicode, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_ProgressMask_ctor(KInteropNumber value, KInteropNumber total, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnFocus, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UICommonEvent_setOnBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_UICommonEvent self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 color_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor color_value_buf = {}; - color_value_buf.selector = color_value_buf_selector; - if (color_value_buf_selector == 0) { - color_value_buf.selector = 0; - color_value_buf.value0 = static_cast(thisDeserializer.readInt32()); + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_Void callback__value_buf = {}; + callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + { + callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; } - else if (color_value_buf_selector == 1) { - color_value_buf.selector = 1; - color_value_buf.value1 = static_cast(thisDeserializer.readNumber()); + Opt_Callback_Void callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnBlur(self, (const Opt_Callback_Void*)&callback__value); +} +KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnBlur, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UICommonEvent_setOnHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_HoverCallback callback__value_buf = {}; + callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + { + callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_HoverCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_HoverCallback))))}; } - else if (color_value_buf_selector == 2) { - color_value_buf.selector = 2; - color_value_buf.value2 = static_cast(thisDeserializer.readString()); + Opt_HoverCallback callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnHover(self, (const Opt_HoverCallback*)&callback__value); +} +KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnHover, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UICommonEvent_setOnMouse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_MouseEvent_Void callback__value_buf = {}; + callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + { + callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_MouseEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_MouseEvent_Void))))}; } - else if (color_value_buf_selector == 3) { - color_value_buf.selector = 3; - color_value_buf.value3 = thisDeserializer.readResource(); + Opt_Callback_MouseEvent_Void callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnMouse(self, (const Opt_Callback_MouseEvent_Void*)&callback__value); +} +KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnMouse, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UICommonEvent_setOnSizeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SizeChangeCallback callback__value_buf = {}; + callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + { + callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_SizeChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_SizeChangeCallback))))}; } - else { - INTEROP_FATAL("One of the branches for color_value_buf has to be chosen through deserialisation."); + Opt_SizeChangeCallback callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnSizeChange(self, (const Opt_SizeChangeCallback*)&callback__value); +} +KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnSizeChange, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_UICommonEvent_setOnVisibleAreaApproximateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_UICommonEvent self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_VisibleAreaEventOptions options_value = thisDeserializer.readVisibleAreaEventOptions();; + const auto event_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_VisibleAreaChangeCallback event_value_buf = {}; + event_value_buf.tag = event_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_value_buf_runtimeType)) + { + event_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VisibleAreaChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VisibleAreaChangeCallback))))}; } - Ark_ResourceColor color_value = static_cast(color_value_buf);; - return GetAccessors()->getProgressMaskAccessor()->ctor((const Ark_Number*) (&value), (const Ark_Number*) (&total), (const Ark_ResourceColor*)&color_value); + Opt_VisibleAreaChangeCallback event_value = event_value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnVisibleAreaApproximateChange(self, (const Ark_VisibleAreaEventOptions*)&options_value, (const Opt_VisibleAreaChangeCallback*)&event_value); } -KOALA_INTEROP_DIRECT_4(ProgressMask_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, KSerializerBuffer, int32_t) -Ark_NativePointer impl_ProgressMask_getFinalizer() { - return GetAccessors()->getProgressMaskAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnVisibleAreaApproximateChange, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_GestureModifier_ctor() { + return GetAccessors()->getGestureModifierAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_0(ProgressMask_getFinalizer, Ark_NativePointer) -void impl_ProgressMask_updateProgress(Ark_NativePointer thisPtr, KInteropNumber value) { - Ark_ProgressMask self = reinterpret_cast(thisPtr); - GetAccessors()->getProgressMaskAccessor()->updateProgress(self, (const Ark_Number*) (&value)); +KOALA_INTEROP_DIRECT_0(GestureModifier_ctor, Ark_NativePointer) +Ark_NativePointer impl_GestureModifier_getFinalizer() { + return GetAccessors()->getGestureModifierAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(GestureModifier_getFinalizer, Ark_NativePointer) +void impl_GestureModifier_applyGesture(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_GestureModifier self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_UIGestureEvent event_value = thisDeserializer.readUIGestureEvent();; + GetAccessors()->getGestureModifierAccessor()->applyGesture(self, (const Ark_UIGestureEvent*)&event_value); } -KOALA_INTEROP_DIRECT_V2(ProgressMask_updateProgress, Ark_NativePointer, KInteropNumber) -void impl_ProgressMask_updateColor(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_ProgressMask self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_V3(GestureModifier_applyGesture, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_NavPathInfo_ctor(const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_ResourceColor value_value_buf = {}; - value_value_buf.selector = value_value_buf_selector; - if (value_value_buf_selector == 0) { - value_value_buf.selector = 0; - value_value_buf.value0 = static_cast(thisDeserializer.readInt32()); - } - else if (value_value_buf_selector == 1) { - value_value_buf.selector = 1; - value_value_buf.value1 = static_cast(thisDeserializer.readNumber()); - } - else if (value_value_buf_selector == 2) { - value_value_buf.selector = 2; - value_value_buf.value2 = static_cast(thisDeserializer.readString()); - } - else if (value_value_buf_selector == 3) { - value_value_buf.selector = 3; - value_value_buf.value3 = thisDeserializer.readResource(); + Ark_Object param_value = static_cast(thisDeserializer.readObject());; + const auto onPop_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_PopInfo_Void onPop_value_buf = {}; + onPop_value_buf.tag = onPop_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onPop_value_buf_runtimeType)) + { + onPop_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PopInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PopInfo_Void))))}; } - else { - INTEROP_FATAL("One of the branches for value_value_buf has to be chosen through deserialisation."); + Opt_Callback_PopInfo_Void onPop_value = onPop_value_buf;; + const auto isEntry_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean isEntry_value_buf = {}; + isEntry_value_buf.tag = isEntry_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isEntry_value_buf_runtimeType)) + { + isEntry_value_buf.value = thisDeserializer.readBoolean(); } - Ark_ResourceColor value_value = static_cast(value_value_buf);; - GetAccessors()->getProgressMaskAccessor()->updateColor(self, (const Ark_ResourceColor*)&value_value); + Opt_Boolean isEntry_value = isEntry_value_buf;; + return GetAccessors()->getNavPathInfoAccessor()->ctor((const Ark_String*) (&name), (const Ark_Object*)¶m_value, (const Opt_Callback_PopInfo_Void*)&onPop_value, (const Opt_Boolean*)&isEntry_value); } -KOALA_INTEROP_DIRECT_V3(ProgressMask_updateColor, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_ProgressMask_enableBreathingAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { - Ark_ProgressMask self = reinterpret_cast(thisPtr); - GetAccessors()->getProgressMaskAccessor()->enableBreathingAnimation(self, value); +KOALA_INTEROP_3(NavPathInfo_ctor, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) +Ark_NativePointer impl_NavPathInfo_getFinalizer() { + return GetAccessors()->getNavPathInfoAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_V2(ProgressMask_enableBreathingAnimation, Ark_NativePointer, Ark_Boolean) -Ark_NativePointer impl_Measurable_ctor() { - return GetAccessors()->getMeasurableAccessor()->ctor(); +KOALA_INTEROP_DIRECT_0(NavPathInfo_getFinalizer, Ark_NativePointer) +Ark_String impl_NavPathInfo_getName(Ark_NativePointer thisPtr) { + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + return GetAccessors()->getNavPathInfoAccessor()->getName(self); } -KOALA_INTEROP_DIRECT_0(Measurable_ctor, Ark_NativePointer) -Ark_NativePointer impl_Measurable_getFinalizer() { - return GetAccessors()->getMeasurableAccessor()->getFinalizer(); +KOALA_INTEROP_1(NavPathInfo_getName, KStringPtr, Ark_NativePointer) +void impl_NavPathInfo_setName(Ark_NativePointer thisPtr, const KStringPtr& name) { + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + GetAccessors()->getNavPathInfoAccessor()->setName(self, (const Ark_String*) (&name)); } -KOALA_INTEROP_DIRECT_0(Measurable_getFinalizer, Ark_NativePointer) -KInteropReturnBuffer impl_Measurable_measure(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_Measurable self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_ConstraintSizeOptions constraint_value = thisDeserializer.readConstraintSizeOptions();; - const auto &retValue = GetAccessors()->getMeasurableAccessor()->measure(self, (const Ark_ConstraintSizeOptions*)&constraint_value); +KOALA_INTEROP_V2(NavPathInfo_setName, Ark_NativePointer, KStringPtr) +KInteropReturnBuffer impl_NavPathInfo_getParam(Ark_NativePointer thisPtr) { + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getParam(self); Serializer _retSerializer {}; - _retSerializer.writeMeasureResult(retValue); + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeObject(retValue_value); + } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_3(Measurable_measure, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t) -KInteropReturnBuffer impl_Measurable_getMargin(Ark_NativePointer thisPtr) { - Ark_Measurable self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMeasurableAccessor()->getMargin(self); +KOALA_INTEROP_1(NavPathInfo_getParam, KInteropReturnBuffer, Ark_NativePointer) +void impl_NavPathInfo_setParam(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto param_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object param_value_buf = {}; + param_value_buf.tag = param_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (param_value_buf_runtimeType)) + { + param_value_buf.value = static_cast(thisDeserializer.readObject()); + } + Opt_Object param_value = param_value_buf;; + GetAccessors()->getNavPathInfoAccessor()->setParam(self, (const Opt_Object*)¶m_value); +} +KOALA_INTEROP_DIRECT_V3(NavPathInfo_setParam, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_NavPathInfo_getOnPop(Ark_NativePointer thisPtr) { + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getOnPop(self); Serializer _retSerializer {}; - _retSerializer.writeDirectionalEdgesT(retValue); + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeCallbackResource(retValue_value.resource); + _retSerializer.writePointer(reinterpret_cast(retValue_value.call)); + _retSerializer.writePointer(reinterpret_cast(retValue_value.callSync)); + } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(Measurable_getMargin, KInteropReturnBuffer, Ark_NativePointer) -KInteropReturnBuffer impl_Measurable_getPadding(Ark_NativePointer thisPtr) { - Ark_Measurable self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMeasurableAccessor()->getPadding(self); +KOALA_INTEROP_1(NavPathInfo_getOnPop, KInteropReturnBuffer, Ark_NativePointer) +void impl_NavPathInfo_setOnPop(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_PopInfo_Void onPop_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PopInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PopInfo_Void))))};; + GetAccessors()->getNavPathInfoAccessor()->setOnPop(self, (const Callback_PopInfo_Void*)&onPop_value); +} +KOALA_INTEROP_DIRECT_V3(NavPathInfo_setOnPop, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_NavPathInfo_getIsEntry(Ark_NativePointer thisPtr) { + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getIsEntry(self); Serializer _retSerializer {}; - _retSerializer.writeDirectionalEdgesT(retValue); + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeBoolean(retValue_value); + } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(Measurable_getPadding, KInteropReturnBuffer, Ark_NativePointer) -KInteropReturnBuffer impl_Measurable_getBorderWidth(Ark_NativePointer thisPtr) { - Ark_Measurable self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getMeasurableAccessor()->getBorderWidth(self); +KOALA_INTEROP_1(NavPathInfo_getIsEntry, KInteropReturnBuffer, Ark_NativePointer) +void impl_NavPathInfo_setIsEntry(Ark_NativePointer thisPtr, Ark_Boolean isEntry) { + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + GetAccessors()->getNavPathInfoAccessor()->setIsEntry(self, isEntry); +} +KOALA_INTEROP_DIRECT_V2(NavPathInfo_setIsEntry, Ark_NativePointer, Ark_Boolean) +KInteropReturnBuffer impl_NavPathInfo_getNavDestinationId(Ark_NativePointer thisPtr) { + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathInfoAccessor()->getNavDestinationId(self); Serializer _retSerializer {}; - _retSerializer.writeDirectionalEdgesT(retValue); + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeString(retValue_value); + } return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(Measurable_getBorderWidth, KInteropReturnBuffer, Ark_NativePointer) -Ark_NativePointer impl_View_ctor() { - return GetAccessors()->getViewAccessor()->ctor(); +KOALA_INTEROP_1(NavPathInfo_getNavDestinationId, KInteropReturnBuffer, Ark_NativePointer) +void impl_NavPathInfo_setNavDestinationId(Ark_NativePointer thisPtr, const KStringPtr& navDestinationId) { + Ark_NavPathInfo self = reinterpret_cast(thisPtr); + GetAccessors()->getNavPathInfoAccessor()->setNavDestinationId(self, (const Ark_String*) (&navDestinationId)); } -KOALA_INTEROP_DIRECT_0(View_ctor, Ark_NativePointer) -Ark_NativePointer impl_View_getFinalizer() { - return GetAccessors()->getViewAccessor()->getFinalizer(); +KOALA_INTEROP_V2(NavPathInfo_setNavDestinationId, Ark_NativePointer, KStringPtr) +Ark_NativePointer impl_NavPathStack_ctor() { + return GetAccessors()->getNavPathStackAccessor()->ctor(); } -KOALA_INTEROP_DIRECT_0(View_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_View_create(Ark_NativePointer thisPtr, Ark_NativePointer value) { - Ark_View self = reinterpret_cast(thisPtr); - return GetAccessors()->getViewAccessor()->create(self, value); +KOALA_INTEROP_DIRECT_0(NavPathStack_ctor, Ark_NativePointer) +Ark_NativePointer impl_NavPathStack_getFinalizer() { + return GetAccessors()->getNavPathStackAccessor()->getFinalizer(); } -KOALA_INTEROP_DIRECT_2(View_create, Ark_NativePointer, Ark_NativePointer, Ark_NativePointer) -Ark_NativePointer impl_TextContentControllerBase_ctor() { - return GetAccessors()->getTextContentControllerBaseAccessor()->ctor(); +KOALA_INTEROP_DIRECT_0(NavPathStack_getFinalizer, Ark_NativePointer) +void impl_NavPathStack_pushPath0(Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + { + animated_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animated_value = animated_value_buf;; + GetAccessors()->getNavPathStackAccessor()->pushPath0(self, static_cast(info), (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_DIRECT_0(TextContentControllerBase_ctor, Ark_NativePointer) -Ark_NativePointer impl_TextContentControllerBase_getFinalizer() { - return GetAccessors()->getTextContentControllerBaseAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_V4(NavPathStack_pushPath0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavPathStack_pushPath1(Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readNavigationOptions(); + } + Opt_NavigationOptions options_value = options_value_buf;; + GetAccessors()->getNavPathStackAccessor()->pushPath1(self, static_cast(info), (const Opt_NavigationOptions*)&options_value); } -KOALA_INTEROP_DIRECT_0(TextContentControllerBase_getFinalizer, Ark_NativePointer) -KInteropReturnBuffer impl_TextContentControllerBase_getCaretOffset(Ark_NativePointer thisPtr) { - Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getCaretOffset(self); - Serializer _retSerializer {}; - _retSerializer.writeCaretOffset(retValue); - return _retSerializer.toReturnBuffer(); +KOALA_INTEROP_DIRECT_V4(NavPathStack_pushPath1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavPathStack_pushDestination0(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + { + animated_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animated_value = animated_value_buf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};; + GetAccessors()->getNavPathStackAccessor()->pushDestination0(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(info), (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); +} +KOALA_INTEROP_CTX_V4(NavPathStack_pushDestination0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavPathStack_pushDestination1(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + { + options_value_buf.value = thisDeserializer.readNavigationOptions(); + } + Opt_NavigationOptions options_value = options_value_buf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};; + GetAccessors()->getNavPathStackAccessor()->pushDestination1(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(info), (const Opt_NavigationOptions*)&options_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); +} +KOALA_INTEROP_CTX_V4(NavPathStack_pushDestination1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavPathStack_pushPathByName0(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto param_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object param_value_buf = {}; + param_value_buf.tag = param_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (param_value_buf_runtimeType)) + { + param_value_buf.value = static_cast(thisDeserializer.readObject()); + } + Opt_Object param_value = param_value_buf;; + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + { + animated_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animated_value = animated_value_buf;; + GetAccessors()->getNavPathStackAccessor()->pushPathByName0(self, (const Ark_String*) (&name), (const Opt_Object*)¶m_value, (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_1(TextContentControllerBase_getCaretOffset, KInteropReturnBuffer, Ark_NativePointer) -KInteropReturnBuffer impl_TextContentControllerBase_getTextContentRect(Ark_NativePointer thisPtr) { - Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); - const auto &retValue = GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentRect(self); - Serializer _retSerializer {}; - _retSerializer.writeRectResult(retValue); - return _retSerializer.toReturnBuffer(); +KOALA_INTEROP_V4(NavPathStack_pushPathByName0, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) +void impl_NavPathStack_pushPathByName1(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Object param_value = static_cast(thisDeserializer.readObject());; + Callback_PopInfo_Void onPop_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PopInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PopInfo_Void))))};; + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + { + animated_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animated_value = animated_value_buf;; + GetAccessors()->getNavPathStackAccessor()->pushPathByName1(self, (const Ark_String*) (&name), (const Ark_Object*)¶m_value, (const Callback_PopInfo_Void*)&onPop_value, (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_1(TextContentControllerBase_getTextContentRect, KInteropReturnBuffer, Ark_NativePointer) -Ark_Number impl_TextContentControllerBase_getTextContentLineCount(Ark_NativePointer thisPtr) { - Ark_TextContentControllerBase self = reinterpret_cast(thisPtr); - return GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentLineCount(self); +KOALA_INTEROP_V4(NavPathStack_pushPathByName1, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) +void impl_NavPathStack_pushDestinationByName0(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Object param_value = static_cast(thisDeserializer.readObject());; + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + { + animated_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animated_value = animated_value_buf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};; + GetAccessors()->getNavPathStackAccessor()->pushDestinationByName0(reinterpret_cast(vmContext), GetAsyncWorker(), self, (const Ark_String*) (&name), (const Ark_Object*)¶m_value, (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); } -KOALA_INTEROP_DIRECT_1(TextContentControllerBase_getTextContentLineCount, KInteropNumber, Ark_NativePointer) -Ark_NativePointer impl_ChildrenMainSize_ctor(KInteropNumber childDefaultSize) { - return GetAccessors()->getChildrenMainSizeAccessor()->ctor((const Ark_Number*) (&childDefaultSize)); +KOALA_INTEROP_CTX_V4(NavPathStack_pushDestinationByName0, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) +void impl_NavPathStack_pushDestinationByName1(KVMContext vmContext, Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Object param_value = static_cast(thisDeserializer.readObject());; + Callback_PopInfo_Void onPop_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PopInfo_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PopInfo_Void))))};; + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + { + animated_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animated_value = animated_value_buf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};; + GetAccessors()->getNavPathStackAccessor()->pushDestinationByName1(reinterpret_cast(vmContext), GetAsyncWorker(), self, (const Ark_String*) (&name), (const Ark_Object*)¶m_value, (const Callback_PopInfo_Void*)&onPop_value, (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); } -KOALA_INTEROP_DIRECT_1(ChildrenMainSize_ctor, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_ChildrenMainSize_getFinalizer() { - return GetAccessors()->getChildrenMainSizeAccessor()->getFinalizer(); +KOALA_INTEROP_CTX_V4(NavPathStack_pushDestinationByName1, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) +void impl_NavPathStack_replacePath0(Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + { + animated_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animated_value = animated_value_buf;; + GetAccessors()->getNavPathStackAccessor()->replacePath0(self, static_cast(info), (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_DIRECT_0(ChildrenMainSize_getFinalizer, Ark_NativePointer) -void impl_ChildrenMainSize_splice(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber start, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_V4(NavPathStack_replacePath0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavPathStack_replacePath1(Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto deleteCount_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number deleteCount_value_buf = {}; - deleteCount_value_buf.tag = deleteCount_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (deleteCount_value_buf_runtimeType)) + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) { - deleteCount_value_buf.value = static_cast(thisDeserializer.readNumber()); + options_value_buf.value = thisDeserializer.readNavigationOptions(); } - Opt_Number deleteCount_value = deleteCount_value_buf;; - const auto childrenSize_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Array_Number childrenSize_value_buf = {}; - childrenSize_value_buf.tag = childrenSize_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (childrenSize_value_buf_runtimeType)) + Opt_NavigationOptions options_value = options_value_buf;; + GetAccessors()->getNavPathStackAccessor()->replacePath1(self, static_cast(info), (const Opt_NavigationOptions*)&options_value); +} +KOALA_INTEROP_DIRECT_V4(NavPathStack_replacePath1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavPathStack_replaceDestination(KVMContext vmContext, Ark_NativePointer thisPtr, Ark_NativePointer info, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_NavigationOptions options_value_buf = {}; + options_value_buf.tag = options_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) { - const Ark_Int32 childrenSize_value_buf__length = thisDeserializer.readInt32(); - Array_Number childrenSize_value_buf_ = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&childrenSize_value_buf_, childrenSize_value_buf__length); - for (int childrenSize_value_buf__i = 0; childrenSize_value_buf__i < childrenSize_value_buf__length; childrenSize_value_buf__i++) { - childrenSize_value_buf_.array[childrenSize_value_buf__i] = static_cast(thisDeserializer.readNumber()); - } - childrenSize_value_buf.value = childrenSize_value_buf_; + options_value_buf.value = thisDeserializer.readNavigationOptions(); } - Opt_Array_Number childrenSize_value = childrenSize_value_buf;; - GetAccessors()->getChildrenMainSizeAccessor()->splice(reinterpret_cast(vmContext), self, (const Ark_Number*) (&start), (const Opt_Number*)&deleteCount_value, (const Opt_Array_Number*)&childrenSize_value); + Opt_NavigationOptions options_value = options_value_buf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};; + GetAccessors()->getNavPathStackAccessor()->replaceDestination(reinterpret_cast(vmContext), GetAsyncWorker(), self, static_cast(info), (const Opt_NavigationOptions*)&options_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); } -KOALA_INTEROP_CTX_V4(ChildrenMainSize_splice, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) -void impl_ChildrenMainSize_update(KVMContext vmContext, Ark_NativePointer thisPtr, KInteropNumber index, KInteropNumber childSize) { - Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); - GetAccessors()->getChildrenMainSizeAccessor()->update(reinterpret_cast(vmContext), self, (const Ark_Number*) (&index), (const Ark_Number*) (&childSize)); +KOALA_INTEROP_CTX_V4(NavPathStack_replaceDestination, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_NavPathStack_replacePathByName(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Object param_value = static_cast(thisDeserializer.readObject());; + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + { + animated_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animated_value = animated_value_buf;; + GetAccessors()->getNavPathStackAccessor()->replacePathByName(self, (const Ark_String*) (&name), (const Ark_Object*)¶m_value, (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_CTX_V3(ChildrenMainSize_update, Ark_NativePointer, KInteropNumber, KInteropNumber) -Ark_Number impl_ChildrenMainSize_getChildDefaultSize(Ark_NativePointer thisPtr) { - Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); - return GetAccessors()->getChildrenMainSizeAccessor()->getChildDefaultSize(self); +KOALA_INTEROP_V4(NavPathStack_replacePathByName, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) +Ark_Number impl_NavPathStack_removeByIndexes(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 indexes_value_buf_length = thisDeserializer.readInt32(); + Array_Number indexes_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&indexes_value_buf, indexes_value_buf_length); + for (int indexes_value_buf_i = 0; indexes_value_buf_i < indexes_value_buf_length; indexes_value_buf_i++) { + indexes_value_buf.array[indexes_value_buf_i] = static_cast(thisDeserializer.readNumber()); + } + Array_Number indexes_value = indexes_value_buf;; + return GetAccessors()->getNavPathStackAccessor()->removeByIndexes(self, (const Array_Number*)&indexes_value); } -KOALA_INTEROP_DIRECT_1(ChildrenMainSize_getChildDefaultSize, KInteropNumber, Ark_NativePointer) -void impl_ChildrenMainSize_setChildDefaultSize(Ark_NativePointer thisPtr, KInteropNumber childDefaultSize) { - Ark_ChildrenMainSize self = reinterpret_cast(thisPtr); - GetAccessors()->getChildrenMainSizeAccessor()->setChildDefaultSize(self, (const Ark_Number*) (&childDefaultSize)); +KOALA_INTEROP_DIRECT_3(NavPathStack_removeByIndexes, KInteropNumber, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_Number impl_NavPathStack_removeByName(Ark_NativePointer thisPtr, const KStringPtr& name) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + return GetAccessors()->getNavPathStackAccessor()->removeByName(self, (const Ark_String*) (&name)); } -KOALA_INTEROP_DIRECT_V2(ChildrenMainSize_setChildDefaultSize, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_UICommonEvent_ctor() { - return GetAccessors()->getUICommonEventAccessor()->ctor(); +KOALA_INTEROP_2(NavPathStack_removeByName, KInteropNumber, Ark_NativePointer, KStringPtr) +Ark_Boolean impl_NavPathStack_removeByNavDestinationId(Ark_NativePointer thisPtr, const KStringPtr& navDestinationId) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + return GetAccessors()->getNavPathStackAccessor()->removeByNavDestinationId(self, (const Ark_String*) (&navDestinationId)); } -KOALA_INTEROP_DIRECT_0(UICommonEvent_ctor, Ark_NativePointer) -Ark_NativePointer impl_UICommonEvent_getFinalizer() { - return GetAccessors()->getUICommonEventAccessor()->getFinalizer(); +KOALA_INTEROP_2(NavPathStack_removeByNavDestinationId, Ark_Boolean, Ark_NativePointer, KStringPtr) +KInteropReturnBuffer impl_NavPathStack_pop0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + { + animated_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animated_value = animated_value_buf;; + const auto &retValue = GetAccessors()->getNavPathStackAccessor()->pop0(self, (const Opt_Boolean*)&animated_value); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNavPathInfo(retValue_value); + } + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_0(UICommonEvent_getFinalizer, Ark_NativePointer) -void impl_UICommonEvent_setOnClick(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_3(NavPathStack_pop0, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_NavPathStack_pop1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_ClickEvent_Void callback__value_buf = {}; - callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + Ark_Object result_value = static_cast(thisDeserializer.readObject());; + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) { - callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ClickEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ClickEvent_Void))))}; + animated_value_buf.value = thisDeserializer.readBoolean(); } - Opt_Callback_ClickEvent_Void callback__value = callback__value_buf;; - GetAccessors()->getUICommonEventAccessor()->setOnClick(self, (const Opt_Callback_ClickEvent_Void*)&callback__value); + Opt_Boolean animated_value = animated_value_buf;; + const auto &retValue = GetAccessors()->getNavPathStackAccessor()->pop1(self, (const Ark_Object*)&result_value, (const Opt_Boolean*)&animated_value); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNavPathInfo(retValue_value); + } + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnClick, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UICommonEvent_setOnTouch(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_3(NavPathStack_pop1, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_Number impl_NavPathStack_popToName0(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_TouchEvent_Void callback__value_buf = {}; - callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + { + animated_value_buf.value = thisDeserializer.readBoolean(); + } + Opt_Boolean animated_value = animated_value_buf;; + return GetAccessors()->getNavPathStackAccessor()->popToName0(self, (const Ark_String*) (&name), (const Opt_Boolean*)&animated_value); +} +KOALA_INTEROP_4(NavPathStack_popToName0, KInteropNumber, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) +Ark_Number impl_NavPathStack_popToName1(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Object result_value = static_cast(thisDeserializer.readObject());; + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) { - callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TouchEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TouchEvent_Void))))}; + animated_value_buf.value = thisDeserializer.readBoolean(); } - Opt_Callback_TouchEvent_Void callback__value = callback__value_buf;; - GetAccessors()->getUICommonEventAccessor()->setOnTouch(self, (const Opt_Callback_TouchEvent_Void*)&callback__value); + Opt_Boolean animated_value = animated_value_buf;; + return GetAccessors()->getNavPathStackAccessor()->popToName1(self, (const Ark_String*) (&name), (const Ark_Object*)&result_value, (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnTouch, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UICommonEvent_setOnAppear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_4(NavPathStack_popToName1, KInteropNumber, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) +void impl_NavPathStack_popToIndex0(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Void callback__value_buf = {}; - callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) { - callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + animated_value_buf.value = thisDeserializer.readBoolean(); } - Opt_Callback_Void callback__value = callback__value_buf;; - GetAccessors()->getUICommonEventAccessor()->setOnAppear(self, (const Opt_Callback_Void*)&callback__value); + Opt_Boolean animated_value = animated_value_buf;; + GetAccessors()->getNavPathStackAccessor()->popToIndex0(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnAppear, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UICommonEvent_setOnDisappear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_V4(NavPathStack_popToIndex0, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) +void impl_NavPathStack_popToIndex1(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Void callback__value_buf = {}; - callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + Ark_Object result_value = static_cast(thisDeserializer.readObject());; + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) { - callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + animated_value_buf.value = thisDeserializer.readBoolean(); } - Opt_Callback_Void callback__value = callback__value_buf;; - GetAccessors()->getUICommonEventAccessor()->setOnDisappear(self, (const Opt_Callback_Void*)&callback__value); + Opt_Boolean animated_value = animated_value_buf;; + GetAccessors()->getNavPathStackAccessor()->popToIndex1(self, (const Ark_Number*) (&index), (const Ark_Object*)&result_value, (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnDisappear, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UICommonEvent_setOnKeyEvent(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_V4(NavPathStack_popToIndex1, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) +Ark_Number impl_NavPathStack_moveToTop(Ark_NativePointer thisPtr, const KStringPtr& name, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_KeyEvent_Void callback__value_buf = {}; - callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) { - callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_KeyEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_KeyEvent_Void))))}; + animated_value_buf.value = thisDeserializer.readBoolean(); } - Opt_Callback_KeyEvent_Void callback__value = callback__value_buf;; - GetAccessors()->getUICommonEventAccessor()->setOnKeyEvent(self, (const Opt_Callback_KeyEvent_Void*)&callback__value); + Opt_Boolean animated_value = animated_value_buf;; + return GetAccessors()->getNavPathStackAccessor()->moveToTop(self, (const Ark_String*) (&name), (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnKeyEvent, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UICommonEvent_setOnFocus(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_4(NavPathStack_moveToTop, KInteropNumber, Ark_NativePointer, KStringPtr, KSerializerBuffer, int32_t) +void impl_NavPathStack_moveIndexToTop(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Void callback__value_buf = {}; - callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) { - callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + animated_value_buf.value = thisDeserializer.readBoolean(); } - Opt_Callback_Void callback__value = callback__value_buf;; - GetAccessors()->getUICommonEventAccessor()->setOnFocus(self, (const Opt_Callback_Void*)&callback__value); + Opt_Boolean animated_value = animated_value_buf;; + GetAccessors()->getNavPathStackAccessor()->moveIndexToTop(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnFocus, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UICommonEvent_setOnBlur(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_V4(NavPathStack_moveIndexToTop, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) +void impl_NavPathStack_clear(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_Void callback__value_buf = {}; - callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) { - callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; + animated_value_buf.value = thisDeserializer.readBoolean(); } - Opt_Callback_Void callback__value = callback__value_buf;; - GetAccessors()->getUICommonEventAccessor()->setOnBlur(self, (const Opt_Callback_Void*)&callback__value); + Opt_Boolean animated_value = animated_value_buf;; + GetAccessors()->getNavPathStackAccessor()->clear(self, (const Opt_Boolean*)&animated_value); } -KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnBlur, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UICommonEvent_setOnHover(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_DIRECT_V3(NavPathStack_clear, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_NavPathStack_getAllPathName(Ark_NativePointer thisPtr) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getAllPathName(self); + Serializer _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int i = 0; i < retValue.length; i++) { + const Ark_String retValue_element = retValue.array[i]; + _retSerializer.writeString(retValue_element); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(NavPathStack_getAllPathName, KInteropReturnBuffer, Ark_NativePointer) +KInteropReturnBuffer impl_NavPathStack_getParamByIndex(Ark_NativePointer thisPtr, KInteropNumber index) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getParamByIndex(self, (const Ark_Number*) (&index)); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeObject(retValue_value); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_2(NavPathStack_getParamByIndex, KInteropReturnBuffer, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_NavPathStack_getParamByName(Ark_NativePointer thisPtr, const KStringPtr& name) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getParamByName(self, (const Ark_String*) (&name)); + Serializer _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int i = 0; i < retValue.length; i++) { + const Opt_Object retValue_element = retValue.array[i]; + Ark_Int32 retValue_element_type = INTEROP_RUNTIME_UNDEFINED; + retValue_element_type = runtimeType(retValue_element); + _retSerializer.writeInt8(retValue_element_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_element_type)) { + const auto retValue_element_value = retValue_element.value; + _retSerializer.writeObject(retValue_element_value); + } + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_2(NavPathStack_getParamByName, KInteropReturnBuffer, Ark_NativePointer, KStringPtr) +KInteropReturnBuffer impl_NavPathStack_getIndexByName(Ark_NativePointer thisPtr, const KStringPtr& name) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getIndexByName(self, (const Ark_String*) (&name)); + Serializer _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int i = 0; i < retValue.length; i++) { + const Ark_Number retValue_element = retValue.array[i]; + _retSerializer.writeNumber(retValue_element); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_2(NavPathStack_getIndexByName, KInteropReturnBuffer, Ark_NativePointer, KStringPtr) +KInteropReturnBuffer impl_NavPathStack_getParent(Ark_NativePointer thisPtr) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getParent(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNavPathStack(retValue_value); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(NavPathStack_getParent, KInteropReturnBuffer, Ark_NativePointer) +Ark_Number impl_NavPathStack_size(Ark_NativePointer thisPtr) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + return GetAccessors()->getNavPathStackAccessor()->size(self); +} +KOALA_INTEROP_DIRECT_1(NavPathStack_size, KInteropNumber, Ark_NativePointer) +void impl_NavPathStack_disableAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + GetAccessors()->getNavPathStackAccessor()->disableAnimation(self, value); +} +KOALA_INTEROP_DIRECT_V2(NavPathStack_disableAnimation, Ark_NativePointer, Ark_Boolean) +void impl_NavPathStack_setInterception(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_HoverCallback callback__value_buf = {}; - callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) - { - callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_HoverCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_HoverCallback))))}; + Ark_NavigationInterception interception_value = thisDeserializer.readNavigationInterception();; + GetAccessors()->getNavPathStackAccessor()->setInterception(self, (const Ark_NavigationInterception*)&interception_value); +} +KOALA_INTEROP_DIRECT_V3(NavPathStack_setInterception, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_NavPathStack_getPathStack(Ark_NativePointer thisPtr) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavPathStackAccessor()->getPathStack(self); + Serializer _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int i = 0; i < retValue.length; i++) { + const Ark_NavPathInfo retValue_element = retValue.array[i]; + _retSerializer.writeNavPathInfo(retValue_element); } - Opt_HoverCallback callback__value = callback__value_buf;; - GetAccessors()->getUICommonEventAccessor()->setOnHover(self, (const Opt_HoverCallback*)&callback__value); + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnHover, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UICommonEvent_setOnMouse(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_1(NavPathStack_getPathStack, KInteropReturnBuffer, Ark_NativePointer) +void impl_NavPathStack_setPathStack(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavPathStack self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_MouseEvent_Void callback__value_buf = {}; - callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) + const Ark_Int32 pathStack_value_buf_length = thisDeserializer.readInt32(); + Array_NavPathInfo pathStack_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&pathStack_value_buf, pathStack_value_buf_length); + for (int pathStack_value_buf_i = 0; pathStack_value_buf_i < pathStack_value_buf_length; pathStack_value_buf_i++) { + pathStack_value_buf.array[pathStack_value_buf_i] = static_cast(thisDeserializer.readNavPathInfo()); + } + Array_NavPathInfo pathStack_value = pathStack_value_buf;; + const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Boolean animated_value_buf = {}; + animated_value_buf.tag = animated_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) { - callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_MouseEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_MouseEvent_Void))))}; + animated_value_buf.value = thisDeserializer.readBoolean(); } - Opt_Callback_MouseEvent_Void callback__value = callback__value_buf;; - GetAccessors()->getUICommonEventAccessor()->setOnMouse(self, (const Opt_Callback_MouseEvent_Void*)&callback__value); + Opt_Boolean animated_value = animated_value_buf;; + GetAccessors()->getNavPathStackAccessor()->setPathStack(self, (const Array_NavPathInfo*)&pathStack_value, (const Opt_Boolean*)&animated_value); +} +KOALA_INTEROP_DIRECT_V3(NavPathStack_setPathStack, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_NavigationTransitionProxy_ctor() { + return GetAccessors()->getNavigationTransitionProxyAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(NavigationTransitionProxy_ctor, Ark_NativePointer) +Ark_NativePointer impl_NavigationTransitionProxy_getFinalizer() { + return GetAccessors()->getNavigationTransitionProxyAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(NavigationTransitionProxy_getFinalizer, Ark_NativePointer) +void impl_NavigationTransitionProxy_finishTransition(Ark_NativePointer thisPtr) { + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getNavigationTransitionProxyAccessor()->finishTransition(self); +} +KOALA_INTEROP_DIRECT_V1(NavigationTransitionProxy_finishTransition, Ark_NativePointer) +void impl_NavigationTransitionProxy_cancelTransition(Ark_NativePointer thisPtr) { + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getNavigationTransitionProxyAccessor()->cancelTransition(self); +} +KOALA_INTEROP_DIRECT_V1(NavigationTransitionProxy_cancelTransition, Ark_NativePointer) +void impl_NavigationTransitionProxy_updateTransition(Ark_NativePointer thisPtr, KInteropNumber progress) { + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getNavigationTransitionProxyAccessor()->updateTransition(self, (const Ark_Number*) (&progress)); +} +KOALA_INTEROP_DIRECT_V2(NavigationTransitionProxy_updateTransition, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_NavigationTransitionProxy_getFrom(Ark_NativePointer thisPtr) { + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getFrom(self); + Serializer _retSerializer {}; + _retSerializer.writeNavContentInfo(retValue); + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnMouse, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UICommonEvent_setOnSizeChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); +KOALA_INTEROP_1(NavigationTransitionProxy_getFrom, KInteropReturnBuffer, Ark_NativePointer) +void impl_NavigationTransitionProxy_setFrom(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SizeChangeCallback callback__value_buf = {}; - callback__value_buf.tag = callback__value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (callback__value_buf_runtimeType)) - { - callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_SizeChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_SizeChangeCallback))))}; - } - Opt_SizeChangeCallback callback__value = callback__value_buf;; - GetAccessors()->getUICommonEventAccessor()->setOnSizeChange(self, (const Opt_SizeChangeCallback*)&callback__value); + Ark_NavContentInfo from_value = thisDeserializer.readNavContentInfo();; + GetAccessors()->getNavigationTransitionProxyAccessor()->setFrom(self, (const Ark_NavContentInfo*)&from_value); } -KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnSizeChange, Ark_NativePointer, KSerializerBuffer, int32_t) -void impl_UICommonEvent_setOnVisibleAreaApproximateChange(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_UICommonEvent self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_VisibleAreaEventOptions options_value = thisDeserializer.readVisibleAreaEventOptions();; - const auto event_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_VisibleAreaChangeCallback event_value_buf = {}; - event_value_buf.tag = event_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (event_value_buf_runtimeType)) - { - event_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VisibleAreaChangeCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VisibleAreaChangeCallback))))}; - } - Opt_VisibleAreaChangeCallback event_value = event_value_buf;; - GetAccessors()->getUICommonEventAccessor()->setOnVisibleAreaApproximateChange(self, (const Ark_VisibleAreaEventOptions*)&options_value, (const Opt_VisibleAreaChangeCallback*)&event_value); +KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setFrom, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_NavigationTransitionProxy_getTo(Ark_NativePointer thisPtr) { + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getTo(self); + Serializer _retSerializer {}; + _retSerializer.writeNavContentInfo(retValue); + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_V3(UICommonEvent_setOnVisibleAreaApproximateChange, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_GestureModifier_ctor() { - return GetAccessors()->getGestureModifierAccessor()->ctor(); +KOALA_INTEROP_1(NavigationTransitionProxy_getTo, KInteropReturnBuffer, Ark_NativePointer) +void impl_NavigationTransitionProxy_setTo(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_NavContentInfo to_value = thisDeserializer.readNavContentInfo();; + GetAccessors()->getNavigationTransitionProxyAccessor()->setTo(self, (const Ark_NavContentInfo*)&to_value); } -KOALA_INTEROP_DIRECT_0(GestureModifier_ctor, Ark_NativePointer) -Ark_NativePointer impl_GestureModifier_getFinalizer() { - return GetAccessors()->getGestureModifierAccessor()->getFinalizer(); +KOALA_INTEROP_DIRECT_V3(NavigationTransitionProxy_setTo, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_NavigationTransitionProxy_getIsInteractive(Ark_NativePointer thisPtr) { + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getNavigationTransitionProxyAccessor()->getIsInteractive(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeBoolean(retValue_value); + } + return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_DIRECT_0(GestureModifier_getFinalizer, Ark_NativePointer) -void impl_GestureModifier_applyGesture(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { - Ark_GestureModifier self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_UIGestureEvent event_value = thisDeserializer.readUIGestureEvent();; - GetAccessors()->getGestureModifierAccessor()->applyGesture(self, (const Ark_UIGestureEvent*)&event_value); +KOALA_INTEROP_1(NavigationTransitionProxy_getIsInteractive, KInteropReturnBuffer, Ark_NativePointer) +void impl_NavigationTransitionProxy_setIsInteractive(Ark_NativePointer thisPtr, Ark_Boolean isInteractive) { + Ark_NavigationTransitionProxy self = reinterpret_cast(thisPtr); + GetAccessors()->getNavigationTransitionProxyAccessor()->setIsInteractive(self, isInteractive); } -KOALA_INTEROP_DIRECT_V3(GestureModifier_applyGesture, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V2(NavigationTransitionProxy_setIsInteractive, Ark_NativePointer, Ark_Boolean) Ark_NativePointer impl_CanvasGradient_ctor() { return GetAccessors()->getCanvasGradientAccessor()->ctor(); } @@ -25266,6 +28927,46 @@ void impl_CanvasRenderer_reset(Ark_NativePointer thisPtr) { GetAccessors()->getCanvasRendererAccessor()->reset(self); } KOALA_INTEROP_DIRECT_V1(CanvasRenderer_reset, Ark_NativePointer) +KInteropReturnBuffer impl_CanvasRenderer_getLetterSpacing(Ark_NativePointer thisPtr) { + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getCanvasRendererAccessor()->getLetterSpacing(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = retValue.selector; + if (retValue_type == 0) { + _retSerializer.writeInt8(0); + const auto retValue_0 = retValue.value0; + _retSerializer.writeLengthMetrics(retValue_0); + } + else if (retValue_type == 1) { + _retSerializer.writeInt8(1); + const auto retValue_1 = retValue.value1; + _retSerializer.writeString(retValue_1); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(CanvasRenderer_getLetterSpacing, KInteropReturnBuffer, Ark_NativePointer) +void impl_CanvasRenderer_setLetterSpacing(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_CanvasRenderer self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 letterSpacing_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_LengthMetrics_String letterSpacing_value_buf = {}; + letterSpacing_value_buf.selector = letterSpacing_value_buf_selector; + if (letterSpacing_value_buf_selector == 0) { + letterSpacing_value_buf.selector = 0; + letterSpacing_value_buf.value0 = static_cast(thisDeserializer.readLengthMetrics()); + } + else if (letterSpacing_value_buf_selector == 1) { + letterSpacing_value_buf.selector = 1; + letterSpacing_value_buf.value1 = static_cast(thisDeserializer.readString()); + } + else { + INTEROP_FATAL("One of the branches for letterSpacing_value_buf has to be chosen through deserialisation."); + } + Ark_Union_LengthMetrics_String letterSpacing_value = static_cast(letterSpacing_value_buf);; + GetAccessors()->getCanvasRendererAccessor()->setLetterSpacing(self, (const Ark_Union_LengthMetrics_String*)&letterSpacing_value); +} +KOALA_INTEROP_DIRECT_V3(CanvasRenderer_setLetterSpacing, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_Number impl_CanvasRenderer_getGlobalAlpha(Ark_NativePointer thisPtr) { Ark_CanvasRenderer self = reinterpret_cast(thisPtr); return GetAccessors()->getCanvasRendererAccessor()->getGlobalAlpha(self); @@ -26277,13 +29978,20 @@ Ark_NativePointer impl_LongPressGestureInterface_onActionEnd(Ark_NativePointer t return GetAccessors()->getLongPressGestureInterfaceAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value); } KOALA_INTEROP_DIRECT_3(LongPressGestureInterface_onActionEnd, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_LongPressGestureInterface_onActionCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +Ark_NativePointer impl_LongPressGestureInterface_onActionCancel0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_LongPressGestureInterface self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - return GetAccessors()->getLongPressGestureInterfaceAccessor()->onActionCancel(self, (const Callback_Void*)&event_value); + return GetAccessors()->getLongPressGestureInterfaceAccessor()->onActionCancel0(self, (const Callback_Void*)&event_value); +} +KOALA_INTEROP_DIRECT_3(LongPressGestureInterface_onActionCancel0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_LongPressGestureInterface_onActionCancel1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_LongPressGestureInterface self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getLongPressGestureInterfaceAccessor()->onActionCancel1(self, (const Callback_GestureEvent_Void*)&event_value); } -KOALA_INTEROP_DIRECT_3(LongPressGestureInterface_onActionCancel, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_3(LongPressGestureInterface_onActionCancel1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_PanGestureOptions_ctor(KSerializerBuffer thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -26346,6 +30054,11 @@ Ark_Int32 impl_PanGestureOptions_getDirection(Ark_NativePointer thisPtr) { return GetAccessors()->getPanGestureOptionsAccessor()->getDirection(self); } KOALA_INTEROP_DIRECT_1(PanGestureOptions_getDirection, Ark_Int32, Ark_NativePointer) +Ark_Number impl_PanGestureOptions_getDistance(Ark_NativePointer thisPtr) { + Ark_PanGestureOptions self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureOptionsAccessor()->getDistance(self); +} +KOALA_INTEROP_DIRECT_1(PanGestureOptions_getDistance, KInteropNumber, Ark_NativePointer) Ark_NativePointer impl_PanGestureInterface_ctor(KSerializerBuffer thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -26423,13 +30136,20 @@ Ark_NativePointer impl_PanGestureInterface_onActionEnd(Ark_NativePointer thisPtr return GetAccessors()->getPanGestureInterfaceAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value); } KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionEnd, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_PanGestureInterface_onActionCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +Ark_NativePointer impl_PanGestureInterface_onActionCancel0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_PanGestureInterface self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - return GetAccessors()->getPanGestureInterfaceAccessor()->onActionCancel(self, (const Callback_Void*)&event_value); + return GetAccessors()->getPanGestureInterfaceAccessor()->onActionCancel0(self, (const Callback_Void*)&event_value); +} +KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionCancel0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_PanGestureInterface_onActionCancel1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_PanGestureInterface self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getPanGestureInterfaceAccessor()->onActionCancel1(self, (const Callback_GestureEvent_Void*)&event_value); } -KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionCancel, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_3(PanGestureInterface_onActionCancel1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_SwipeGestureInterface_ctor(KSerializerBuffer thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -26534,13 +30254,20 @@ Ark_NativePointer impl_PinchGestureInterface_onActionEnd(Ark_NativePointer thisP return GetAccessors()->getPinchGestureInterfaceAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value); } KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionEnd, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_PinchGestureInterface_onActionCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +Ark_NativePointer impl_PinchGestureInterface_onActionCancel0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_PinchGestureInterface self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - return GetAccessors()->getPinchGestureInterfaceAccessor()->onActionCancel(self, (const Callback_Void*)&event_value); + return GetAccessors()->getPinchGestureInterfaceAccessor()->onActionCancel0(self, (const Callback_Void*)&event_value); +} +KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionCancel0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_PinchGestureInterface_onActionCancel1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_PinchGestureInterface self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getPinchGestureInterfaceAccessor()->onActionCancel1(self, (const Callback_GestureEvent_Void*)&event_value); } -KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionCancel, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_3(PinchGestureInterface_onActionCancel1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_RotationGestureInterface_ctor(KSerializerBuffer thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -26596,13 +30323,20 @@ Ark_NativePointer impl_RotationGestureInterface_onActionEnd(Ark_NativePointer th return GetAccessors()->getRotationGestureInterfaceAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value); } KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionEnd, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) -Ark_NativePointer impl_RotationGestureInterface_onActionCancel(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { +Ark_NativePointer impl_RotationGestureInterface_onActionCancel0(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_RotationGestureInterface self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - return GetAccessors()->getRotationGestureInterfaceAccessor()->onActionCancel(self, (const Callback_Void*)&event_value); + return GetAccessors()->getRotationGestureInterfaceAccessor()->onActionCancel0(self, (const Callback_Void*)&event_value); +} +KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionCancel0, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +Ark_NativePointer impl_RotationGestureInterface_onActionCancel1(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_RotationGestureInterface self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getRotationGestureInterfaceAccessor()->onActionCancel1(self, (const Callback_GestureEvent_Void*)&event_value); } -KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionCancel, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_3(RotationGestureInterface_onActionCancel1, Ark_NativePointer, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_GestureGroupInterface_ctor(Ark_Int32 mode, KSerializerBuffer thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int32 gesture_value_buf_length = thisDeserializer.readInt32(); @@ -26740,6 +30474,91 @@ Ark_Boolean impl_GestureRecognizer_isValid(Ark_NativePointer thisPtr) { return GetAccessors()->getGestureRecognizerAccessor()->isValid(self); } KOALA_INTEROP_DIRECT_1(GestureRecognizer_isValid, Ark_Boolean, Ark_NativePointer) +Ark_Number impl_GestureRecognizer_getFingerCount(Ark_NativePointer thisPtr) { + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->getFingerCount(self); +} +KOALA_INTEROP_DIRECT_1(GestureRecognizer_getFingerCount, KInteropNumber, Ark_NativePointer) +Ark_Boolean impl_GestureRecognizer_isFingerCountLimit(Ark_NativePointer thisPtr) { + Ark_GestureRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureRecognizerAccessor()->isFingerCountLimit(self); +} +KOALA_INTEROP_DIRECT_1(GestureRecognizer_isFingerCountLimit, Ark_Boolean, Ark_NativePointer) +Ark_NativePointer impl_TapRecognizer_ctor() { + return GetAccessors()->getTapRecognizerAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(TapRecognizer_ctor, Ark_NativePointer) +Ark_NativePointer impl_TapRecognizer_getFinalizer() { + return GetAccessors()->getTapRecognizerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(TapRecognizer_getFinalizer, Ark_NativePointer) +Ark_Number impl_TapRecognizer_getTapCount(Ark_NativePointer thisPtr) { + Ark_TapRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getTapRecognizerAccessor()->getTapCount(self); +} +KOALA_INTEROP_DIRECT_1(TapRecognizer_getTapCount, KInteropNumber, Ark_NativePointer) +Ark_NativePointer impl_LongPressRecognizer_ctor() { + return GetAccessors()->getLongPressRecognizerAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(LongPressRecognizer_ctor, Ark_NativePointer) +Ark_NativePointer impl_LongPressRecognizer_getFinalizer() { + return GetAccessors()->getLongPressRecognizerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(LongPressRecognizer_getFinalizer, Ark_NativePointer) +Ark_Boolean impl_LongPressRecognizer_isRepeat(Ark_NativePointer thisPtr) { + Ark_LongPressRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getLongPressRecognizerAccessor()->isRepeat(self); +} +KOALA_INTEROP_DIRECT_1(LongPressRecognizer_isRepeat, Ark_Boolean, Ark_NativePointer) +Ark_Number impl_LongPressRecognizer_getDuration(Ark_NativePointer thisPtr) { + Ark_LongPressRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getLongPressRecognizerAccessor()->getDuration(self); +} +KOALA_INTEROP_DIRECT_1(LongPressRecognizer_getDuration, KInteropNumber, Ark_NativePointer) +Ark_NativePointer impl_SwipeRecognizer_ctor() { + return GetAccessors()->getSwipeRecognizerAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(SwipeRecognizer_ctor, Ark_NativePointer) +Ark_NativePointer impl_SwipeRecognizer_getFinalizer() { + return GetAccessors()->getSwipeRecognizerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(SwipeRecognizer_getFinalizer, Ark_NativePointer) +Ark_Number impl_SwipeRecognizer_getVelocityThreshold(Ark_NativePointer thisPtr) { + Ark_SwipeRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getSwipeRecognizerAccessor()->getVelocityThreshold(self); +} +KOALA_INTEROP_DIRECT_1(SwipeRecognizer_getVelocityThreshold, KInteropNumber, Ark_NativePointer) +Ark_Int32 impl_SwipeRecognizer_getDirection(Ark_NativePointer thisPtr) { + Ark_SwipeRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getSwipeRecognizerAccessor()->getDirection(self); +} +KOALA_INTEROP_DIRECT_1(SwipeRecognizer_getDirection, Ark_Int32, Ark_NativePointer) +Ark_NativePointer impl_PinchRecognizer_ctor() { + return GetAccessors()->getPinchRecognizerAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(PinchRecognizer_ctor, Ark_NativePointer) +Ark_NativePointer impl_PinchRecognizer_getFinalizer() { + return GetAccessors()->getPinchRecognizerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(PinchRecognizer_getFinalizer, Ark_NativePointer) +Ark_Number impl_PinchRecognizer_getDistance(Ark_NativePointer thisPtr) { + Ark_PinchRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getPinchRecognizerAccessor()->getDistance(self); +} +KOALA_INTEROP_DIRECT_1(PinchRecognizer_getDistance, KInteropNumber, Ark_NativePointer) +Ark_NativePointer impl_RotationRecognizer_ctor() { + return GetAccessors()->getRotationRecognizerAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(RotationRecognizer_ctor, Ark_NativePointer) +Ark_NativePointer impl_RotationRecognizer_getFinalizer() { + return GetAccessors()->getRotationRecognizerAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(RotationRecognizer_getFinalizer, Ark_NativePointer) +Ark_Number impl_RotationRecognizer_getAngle(Ark_NativePointer thisPtr) { + Ark_RotationRecognizer self = reinterpret_cast(thisPtr); + return GetAccessors()->getRotationRecognizerAccessor()->getAngle(self); +} +KOALA_INTEROP_DIRECT_1(RotationRecognizer_getAngle, KInteropNumber, Ark_NativePointer) Ark_NativePointer impl_PanRecognizer_ctor() { return GetAccessors()->getPanRecognizerAccessor()->ctor(); } @@ -27146,6 +30965,62 @@ void impl_PatternLockController_setChallengeResult(Ark_NativePointer thisPtr, Ar GetAccessors()->getPatternLockControllerAccessor()->setChallengeResult(self, static_cast(result)); } KOALA_INTEROP_DIRECT_V2(PatternLockController_setChallengeResult, Ark_NativePointer, Ark_Int32) +Ark_NativePointer impl_VirtualScrollOptions_ctor() { + return GetAccessors()->getVirtualScrollOptionsAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(VirtualScrollOptions_ctor, Ark_NativePointer) +Ark_NativePointer impl_VirtualScrollOptions_getFinalizer() { + return GetAccessors()->getVirtualScrollOptionsAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(VirtualScrollOptions_getFinalizer, Ark_NativePointer) +void impl_VirtualScrollOptions_onLazyLoading(Ark_NativePointer thisPtr, KInteropNumber index) { + Ark_VirtualScrollOptions self = reinterpret_cast(thisPtr); + GetAccessors()->getVirtualScrollOptionsAccessor()->onLazyLoading(self, (const Ark_Number*) (&index)); +} +KOALA_INTEROP_DIRECT_V2(VirtualScrollOptions_onLazyLoading, Ark_NativePointer, KInteropNumber) +Ark_Number impl_VirtualScrollOptions_onTotalCount(Ark_NativePointer thisPtr) { + Ark_VirtualScrollOptions self = reinterpret_cast(thisPtr); + return GetAccessors()->getVirtualScrollOptionsAccessor()->onTotalCount(self); +} +KOALA_INTEROP_DIRECT_1(VirtualScrollOptions_onTotalCount, KInteropNumber, Ark_NativePointer) +KInteropReturnBuffer impl_VirtualScrollOptions_getTotalCount(Ark_NativePointer thisPtr) { + Ark_VirtualScrollOptions self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getVirtualScrollOptionsAccessor()->getTotalCount(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNumber(retValue_value); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(VirtualScrollOptions_getTotalCount, KInteropReturnBuffer, Ark_NativePointer) +void impl_VirtualScrollOptions_setTotalCount(Ark_NativePointer thisPtr, KInteropNumber totalCount) { + Ark_VirtualScrollOptions self = reinterpret_cast(thisPtr); + GetAccessors()->getVirtualScrollOptionsAccessor()->setTotalCount(self, (const Ark_Number*) (&totalCount)); +} +KOALA_INTEROP_DIRECT_V2(VirtualScrollOptions_setTotalCount, Ark_NativePointer, KInteropNumber) +KInteropReturnBuffer impl_VirtualScrollOptions_getReusable(Ark_NativePointer thisPtr) { + Ark_VirtualScrollOptions self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getVirtualScrollOptionsAccessor()->getReusable(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeBoolean(retValue_value); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(VirtualScrollOptions_getReusable, KInteropReturnBuffer, Ark_NativePointer) +void impl_VirtualScrollOptions_setReusable(Ark_NativePointer thisPtr, Ark_Boolean reusable) { + Ark_VirtualScrollOptions self = reinterpret_cast(thisPtr); + GetAccessors()->getVirtualScrollOptionsAccessor()->setReusable(self, reusable); +} +KOALA_INTEROP_DIRECT_V2(VirtualScrollOptions_setReusable, Ark_NativePointer, Ark_Boolean) Ark_NativePointer impl_RichEditorBaseController_ctor() { return GetAccessors()->getRichEditorBaseControllerAccessor()->ctor(); } @@ -27221,6 +31096,20 @@ KInteropReturnBuffer impl_RichEditorBaseController_getPreviewText(Ark_NativePoin return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(RichEditorBaseController_getPreviewText, KInteropReturnBuffer, Ark_NativePointer) +KInteropReturnBuffer impl_RichEditorBaseController_getCaretRect(Ark_NativePointer thisPtr) { + Ark_RichEditorBaseController self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getRichEditorBaseControllerAccessor()->getCaretRect(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeRectResult(retValue_value); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(RichEditorBaseController_getCaretRect, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_RichEditorController_ctor() { return GetAccessors()->getRichEditorControllerAccessor()->ctor(); } @@ -27586,7 +31475,7 @@ void impl_Scroller_scrollBy(Ark_NativePointer thisPtr, KSerializerBuffer thisArr Ark_Scroller self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 dx_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource dx_value_buf = {}; + Ark_Length dx_value_buf = {}; dx_value_buf.selector = dx_value_buf_selector; if (dx_value_buf_selector == 0) { dx_value_buf.selector = 0; @@ -27603,9 +31492,9 @@ void impl_Scroller_scrollBy(Ark_NativePointer thisPtr, KSerializerBuffer thisArr else { INTEROP_FATAL("One of the branches for dx_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource dx_value = static_cast(dx_value_buf);; + Ark_Length dx_value = static_cast(dx_value_buf);; const Ark_Int8 dy_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_String_Number_Resource dy_value_buf = {}; + Ark_Length dy_value_buf = {}; dy_value_buf.selector = dy_value_buf_selector; if (dy_value_buf_selector == 0) { dy_value_buf.selector = 0; @@ -27622,8 +31511,8 @@ void impl_Scroller_scrollBy(Ark_NativePointer thisPtr, KSerializerBuffer thisArr else { INTEROP_FATAL("One of the branches for dy_value_buf has to be chosen through deserialisation."); } - Ark_Union_String_Number_Resource dy_value = static_cast(dy_value_buf);; - GetAccessors()->getScrollerAccessor()->scrollBy(self, (const Ark_Union_String_Number_Resource*)&dx_value, (const Ark_Union_String_Number_Resource*)&dy_value); + Ark_Length dy_value = static_cast(dy_value_buf);; + GetAccessors()->getScrollerAccessor()->scrollBy(self, (const Ark_Length*)&dx_value, (const Ark_Length*)&dy_value); } KOALA_INTEROP_DIRECT_V3(Scroller_scrollBy, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_Boolean impl_Scroller_isAtEnd(Ark_NativePointer thisPtr) { @@ -27845,7 +31734,7 @@ void impl_SwiperController_showPrevious(Ark_NativePointer thisPtr) { GetAccessors()->getSwiperControllerAccessor()->showPrevious(self); } KOALA_INTEROP_DIRECT_V1(SwiperController_showPrevious, Ark_NativePointer) -void impl_SwiperController_changeIndex(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) { +void impl_SwiperController_changeIndex0(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) { Ark_SwiperController self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const auto useAnimation_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -27856,9 +31745,37 @@ void impl_SwiperController_changeIndex(Ark_NativePointer thisPtr, KInteropNumber useAnimation_value_buf.value = thisDeserializer.readBoolean(); } Opt_Boolean useAnimation_value = useAnimation_value_buf;; - GetAccessors()->getSwiperControllerAccessor()->changeIndex(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&useAnimation_value); + GetAccessors()->getSwiperControllerAccessor()->changeIndex0(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&useAnimation_value); +} +KOALA_INTEROP_DIRECT_V4(SwiperController_changeIndex0, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) +void impl_SwiperController_changeIndex1(Ark_NativePointer thisPtr, KInteropNumber index, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_SwiperController self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto animationMode_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Union_SwiperAnimationMode_Boolean animationMode_value_buf = {}; + animationMode_value_buf.tag = animationMode_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animationMode_value_buf_runtimeType)) + { + const Ark_Int8 animationMode_value_buf__selector = thisDeserializer.readInt8(); + Ark_Union_SwiperAnimationMode_Boolean animationMode_value_buf_ = {}; + animationMode_value_buf_.selector = animationMode_value_buf__selector; + if (animationMode_value_buf__selector == 0) { + animationMode_value_buf_.selector = 0; + animationMode_value_buf_.value0 = static_cast(thisDeserializer.readInt32()); + } + else if (animationMode_value_buf__selector == 1) { + animationMode_value_buf_.selector = 1; + animationMode_value_buf_.value1 = thisDeserializer.readBoolean(); + } + else { + INTEROP_FATAL("One of the branches for animationMode_value_buf_ has to be chosen through deserialisation."); + } + animationMode_value_buf.value = static_cast(animationMode_value_buf_); + } + Opt_Union_SwiperAnimationMode_Boolean animationMode_value = animationMode_value_buf;; + GetAccessors()->getSwiperControllerAccessor()->changeIndex1(self, (const Ark_Number*) (&index), (const Opt_Union_SwiperAnimationMode_Boolean*)&animationMode_value); } -KOALA_INTEROP_DIRECT_V4(SwiperController_changeIndex, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) +KOALA_INTEROP_DIRECT_V4(SwiperController_changeIndex1, Ark_NativePointer, KInteropNumber, KSerializerBuffer, int32_t) void impl_SwiperController_finishAnimation(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { Ark_SwiperController self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); @@ -27873,6 +31790,28 @@ void impl_SwiperController_finishAnimation(Ark_NativePointer thisPtr, KSerialize GetAccessors()->getSwiperControllerAccessor()->finishAnimation(self, (const Opt_VoidCallback*)&callback__value); } KOALA_INTEROP_DIRECT_V3(SwiperController_finishAnimation, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_SwiperController_preloadItems(KVMContext vmContext, Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_SwiperController self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto indices_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_Number indices_value_buf = {}; + indices_value_buf.tag = indices_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (indices_value_buf_runtimeType)) + { + const Ark_Int32 indices_value_buf__length = thisDeserializer.readInt32(); + Array_Number indices_value_buf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&indices_value_buf_, indices_value_buf__length); + for (int indices_value_buf__i = 0; indices_value_buf__i < indices_value_buf__length; indices_value_buf__i++) { + indices_value_buf_.array[indices_value_buf__i] = static_cast(thisDeserializer.readNumber()); + } + indices_value_buf.value = indices_value_buf_; + } + Opt_Array_Number indices_value = indices_value_buf;; + Callback_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_String_Void))))};; + GetAccessors()->getSwiperControllerAccessor()->preloadItems(reinterpret_cast(vmContext), GetAsyncWorker(), self, (const Opt_Array_Number*)&indices_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); +} +KOALA_INTEROP_CTX_V3(SwiperController_preloadItems, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_SwiperContentTransitionProxy_ctor() { return GetAccessors()->getSwiperContentTransitionProxyAccessor()->ctor(); } @@ -28480,6 +32419,18 @@ Ark_NativePointer impl_TextMenuItemId_getAI_WRITER() { return GetAccessors()->getTextMenuItemIdAccessor()->getAI_WRITER(); } KOALA_INTEROP_DIRECT_0(TextMenuItemId_getAI_WRITER, Ark_NativePointer) +Ark_NativePointer impl_TextMenuItemId_getTRANSLATE() { + return GetAccessors()->getTextMenuItemIdAccessor()->getTRANSLATE(); +} +KOALA_INTEROP_DIRECT_0(TextMenuItemId_getTRANSLATE, Ark_NativePointer) +Ark_NativePointer impl_TextMenuItemId_getSEARCH() { + return GetAccessors()->getTextMenuItemIdAccessor()->getSEARCH(); +} +KOALA_INTEROP_DIRECT_0(TextMenuItemId_getSEARCH, Ark_NativePointer) +Ark_NativePointer impl_TextMenuItemId_getSHARE() { + return GetAccessors()->getTextMenuItemIdAccessor()->getSHARE(); +} +KOALA_INTEROP_DIRECT_0(TextMenuItemId_getSHARE, Ark_NativePointer) Ark_NativePointer impl_SubmitEvent_ctor() { return GetAccessors()->getSubmitEventAccessor()->ctor(); } @@ -28730,6 +32681,18 @@ Ark_Boolean impl_FileSelectorParam_isCapture(Ark_NativePointer thisPtr) { return GetAccessors()->getFileSelectorParamAccessor()->isCapture(self); } KOALA_INTEROP_DIRECT_1(FileSelectorParam_isCapture, Ark_Boolean, Ark_NativePointer) +KInteropReturnBuffer impl_FileSelectorParam_getMimeTypes(Ark_NativePointer thisPtr) { + Ark_FileSelectorParam self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getFileSelectorParamAccessor()->getMimeTypes(self); + Serializer _retSerializer {}; + _retSerializer.writeInt32(retValue.length); + for (int i = 0; i < retValue.length; i++) { + const Ark_String retValue_element = retValue.array[i]; + _retSerializer.writeString(retValue_element); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(FileSelectorParam_getMimeTypes, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_JsResult_ctor() { return GetAccessors()->getJsResultAccessor()->ctor(); } @@ -29343,11 +33306,16 @@ Ark_NativePointer impl_EventResult_getFinalizer() { return GetAccessors()->getEventResultAccessor()->getFinalizer(); } KOALA_INTEROP_DIRECT_0(EventResult_getFinalizer, Ark_NativePointer) -void impl_EventResult_setGestureEventResult(Ark_NativePointer thisPtr, Ark_Boolean result) { +void impl_EventResult_setGestureEventResult0(Ark_NativePointer thisPtr, Ark_Boolean result) { Ark_EventResult self = reinterpret_cast(thisPtr); - GetAccessors()->getEventResultAccessor()->setGestureEventResult(self, result); + GetAccessors()->getEventResultAccessor()->setGestureEventResult0(self, result); } -KOALA_INTEROP_DIRECT_V2(EventResult_setGestureEventResult, Ark_NativePointer, Ark_Boolean) +KOALA_INTEROP_DIRECT_V2(EventResult_setGestureEventResult0, Ark_NativePointer, Ark_Boolean) +void impl_EventResult_setGestureEventResult1(Ark_NativePointer thisPtr, Ark_Boolean result, Ark_Boolean stopPropagation) { + Ark_EventResult self = reinterpret_cast(thisPtr); + GetAccessors()->getEventResultAccessor()->setGestureEventResult1(self, result, stopPropagation); +} +KOALA_INTEROP_DIRECT_V3(EventResult_setGestureEventResult1, Ark_NativePointer, Ark_Boolean, Ark_Boolean) Ark_NativePointer impl_WebController_ctor() { return GetAccessors()->getWebControllerAccessor()->ctor(); } @@ -29901,20 +33869,37 @@ Ark_String impl_StyledString_toHtml(KVMContext vmContext, Ark_NativePointer styl return GetAccessors()->getStyledStringAccessor()->toHtml(reinterpret_cast(vmContext), static_cast(styledString)); } KOALA_INTEROP_CTX_1(StyledString_toHtml, KStringPtr, Ark_NativePointer) -KInteropReturnBuffer impl_StyledString_marshalling(Ark_NativePointer styledString) { - const auto &retValue = GetAccessors()->getStyledStringAccessor()->marshalling(static_cast(styledString)); +KInteropReturnBuffer impl_StyledString_marshalling0(Ark_NativePointer styledString, KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + StyledStringMarshallCallback callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_StyledStringMarshallCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_StyledStringMarshallCallback))))};; + const auto &retValue = GetAccessors()->getStyledStringAccessor()->marshalling0(static_cast(styledString), (const StyledStringMarshallCallback*)&callback__value); + Serializer _retSerializer {}; + _retSerializer.writeBuffer(retValue); + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_3(StyledString_marshalling0, KInteropReturnBuffer, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_StyledString_marshalling1(Ark_NativePointer styledString) { + const auto &retValue = GetAccessors()->getStyledStringAccessor()->marshalling1(static_cast(styledString)); Serializer _retSerializer {}; _retSerializer.writeBuffer(retValue); return _retSerializer.toReturnBuffer(); } -KOALA_INTEROP_1(StyledString_marshalling, KInteropReturnBuffer, Ark_NativePointer) -void impl_StyledString_unmarshalling(KVMContext vmContext, KSerializerBuffer thisArray, int32_t thisLength) { +KOALA_INTEROP_1(StyledString_marshalling1, KInteropReturnBuffer, Ark_NativePointer) +void impl_StyledString_unmarshalling0(KVMContext vmContext, KSerializerBuffer thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Buffer buffer_value = static_cast(thisDeserializer.readBuffer());; + StyledStringUnmarshallCallback callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_StyledStringUnmarshallCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_StyledStringUnmarshallCallback))))};; + Callback_Opt_StyledString_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_StyledString_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_StyledString_Opt_Array_String_Void))))};; + GetAccessors()->getStyledStringAccessor()->unmarshalling0(reinterpret_cast(vmContext), GetAsyncWorker(), (const Ark_Buffer*)&buffer_value, (const StyledStringUnmarshallCallback*)&callback__value, (const Callback_Opt_StyledString_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); +} +KOALA_INTEROP_CTX_V2(StyledString_unmarshalling0, KSerializerBuffer, int32_t) +void impl_StyledString_unmarshalling1(KVMContext vmContext, KSerializerBuffer thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); Ark_Buffer buffer_value = static_cast(thisDeserializer.readBuffer());; Callback_Opt_StyledString_Opt_Array_String_Void outputArgumentForReturningPromise_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_StyledString_Opt_Array_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_StyledString_Opt_Array_String_Void))))};; - GetAccessors()->getStyledStringAccessor()->unmarshalling(reinterpret_cast(vmContext), GetAsyncWorker(), (const Ark_Buffer*)&buffer_value, (const Callback_Opt_StyledString_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); + GetAccessors()->getStyledStringAccessor()->unmarshalling1(reinterpret_cast(vmContext), GetAsyncWorker(), (const Ark_Buffer*)&buffer_value, (const Callback_Opt_StyledString_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); } -KOALA_INTEROP_CTX_V2(StyledString_unmarshalling, KSerializerBuffer, int32_t) +KOALA_INTEROP_CTX_V2(StyledString_unmarshalling1, KSerializerBuffer, int32_t) Ark_Number impl_StyledString_getLength(Ark_NativePointer thisPtr) { Ark_StyledString self = reinterpret_cast(thisPtr); return GetAccessors()->getStyledStringAccessor()->getLength(self); @@ -30308,6 +34293,20 @@ KInteropReturnBuffer impl_ParagraphStyle_getLeadingMargin(Ark_NativePointer this return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ParagraphStyle_getLeadingMargin, KInteropReturnBuffer, Ark_NativePointer) +KInteropReturnBuffer impl_ParagraphStyle_getParagraphSpacing(Ark_NativePointer thisPtr) { + Ark_ParagraphStyle self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getParagraphStyleAccessor()->getParagraphSpacing(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNumber(retValue_value); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(ParagraphStyle_getParagraphSpacing, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_LineHeightStyle_ctor(Ark_NativePointer lineHeight) { return GetAccessors()->getLineHeightStyleAccessor()->ctor(static_cast(lineHeight)); } @@ -30472,6 +34471,31 @@ KInteropReturnBuffer impl_ImageAttachment_getLayoutStyle(Ark_NativePointer thisP return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(ImageAttachment_getLayoutStyle, KInteropReturnBuffer, Ark_NativePointer) +KInteropReturnBuffer impl_ImageAttachment_getColorFilter(Ark_NativePointer thisPtr) { + Ark_ImageAttachment self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getImageAttachmentAccessor()->getColorFilter(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + Ark_Int32 retValue_value_type = INTEROP_RUNTIME_UNDEFINED; + retValue_value_type = retValue_value.selector; + if (retValue_value_type == 0) { + _retSerializer.writeInt8(0); + const auto retValue_value_0 = retValue_value.value0; + _retSerializer.writeColorFilter(retValue_value_0); + } + else if (retValue_value_type == 1) { + _retSerializer.writeInt8(1); + const auto retValue_value_1 = retValue_value.value1; + _retSerializer.writeDrawingColorFilter(retValue_value_1); + } + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(ImageAttachment_getColorFilter, KInteropReturnBuffer, Ark_NativePointer) Ark_NativePointer impl_CustomSpan_ctor() { return GetAccessors()->getCustomSpanAccessor()->ctor(); } @@ -30574,102 +34598,7 @@ KOALA_INTEROP_1(GlobalScope_edgeWidths, KInteropReturnBuffer, KInteropNumber) KInteropReturnBuffer impl_GlobalScope_borderRadiuses(KInteropNumber all) { const auto &retValue = GetAccessors()->getGlobalScopeAccessor()->borderRadiuses((const Ark_Number*) (&all)); Serializer _retSerializer {}; - const auto retValue_topLeft = retValue.topLeft; - Ark_Int32 retValue_topLeft_type = INTEROP_RUNTIME_UNDEFINED; - retValue_topLeft_type = runtimeType(retValue_topLeft); - _retSerializer.writeInt8(retValue_topLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_topLeft_type)) { - const auto retValue_topLeft_value = retValue_topLeft.value; - Ark_Int32 retValue_topLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - retValue_topLeft_value_type = retValue_topLeft_value.selector; - if (retValue_topLeft_value_type == 0) { - _retSerializer.writeInt8(0); - const auto retValue_topLeft_value_0 = retValue_topLeft_value.value0; - _retSerializer.writeString(retValue_topLeft_value_0); - } - else if (retValue_topLeft_value_type == 1) { - _retSerializer.writeInt8(1); - const auto retValue_topLeft_value_1 = retValue_topLeft_value.value1; - _retSerializer.writeNumber(retValue_topLeft_value_1); - } - else if (retValue_topLeft_value_type == 2) { - _retSerializer.writeInt8(2); - const auto retValue_topLeft_value_2 = retValue_topLeft_value.value2; - _retSerializer.writeResource(retValue_topLeft_value_2); - } - } - const auto retValue_topRight = retValue.topRight; - Ark_Int32 retValue_topRight_type = INTEROP_RUNTIME_UNDEFINED; - retValue_topRight_type = runtimeType(retValue_topRight); - _retSerializer.writeInt8(retValue_topRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_topRight_type)) { - const auto retValue_topRight_value = retValue_topRight.value; - Ark_Int32 retValue_topRight_value_type = INTEROP_RUNTIME_UNDEFINED; - retValue_topRight_value_type = retValue_topRight_value.selector; - if (retValue_topRight_value_type == 0) { - _retSerializer.writeInt8(0); - const auto retValue_topRight_value_0 = retValue_topRight_value.value0; - _retSerializer.writeString(retValue_topRight_value_0); - } - else if (retValue_topRight_value_type == 1) { - _retSerializer.writeInt8(1); - const auto retValue_topRight_value_1 = retValue_topRight_value.value1; - _retSerializer.writeNumber(retValue_topRight_value_1); - } - else if (retValue_topRight_value_type == 2) { - _retSerializer.writeInt8(2); - const auto retValue_topRight_value_2 = retValue_topRight_value.value2; - _retSerializer.writeResource(retValue_topRight_value_2); - } - } - const auto retValue_bottomLeft = retValue.bottomLeft; - Ark_Int32 retValue_bottomLeft_type = INTEROP_RUNTIME_UNDEFINED; - retValue_bottomLeft_type = runtimeType(retValue_bottomLeft); - _retSerializer.writeInt8(retValue_bottomLeft_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_bottomLeft_type)) { - const auto retValue_bottomLeft_value = retValue_bottomLeft.value; - Ark_Int32 retValue_bottomLeft_value_type = INTEROP_RUNTIME_UNDEFINED; - retValue_bottomLeft_value_type = retValue_bottomLeft_value.selector; - if (retValue_bottomLeft_value_type == 0) { - _retSerializer.writeInt8(0); - const auto retValue_bottomLeft_value_0 = retValue_bottomLeft_value.value0; - _retSerializer.writeString(retValue_bottomLeft_value_0); - } - else if (retValue_bottomLeft_value_type == 1) { - _retSerializer.writeInt8(1); - const auto retValue_bottomLeft_value_1 = retValue_bottomLeft_value.value1; - _retSerializer.writeNumber(retValue_bottomLeft_value_1); - } - else if (retValue_bottomLeft_value_type == 2) { - _retSerializer.writeInt8(2); - const auto retValue_bottomLeft_value_2 = retValue_bottomLeft_value.value2; - _retSerializer.writeResource(retValue_bottomLeft_value_2); - } - } - const auto retValue_bottomRight = retValue.bottomRight; - Ark_Int32 retValue_bottomRight_type = INTEROP_RUNTIME_UNDEFINED; - retValue_bottomRight_type = runtimeType(retValue_bottomRight); - _retSerializer.writeInt8(retValue_bottomRight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_bottomRight_type)) { - const auto retValue_bottomRight_value = retValue_bottomRight.value; - Ark_Int32 retValue_bottomRight_value_type = INTEROP_RUNTIME_UNDEFINED; - retValue_bottomRight_value_type = retValue_bottomRight_value.selector; - if (retValue_bottomRight_value_type == 0) { - _retSerializer.writeInt8(0); - const auto retValue_bottomRight_value_0 = retValue_bottomRight_value.value0; - _retSerializer.writeString(retValue_bottomRight_value_0); - } - else if (retValue_bottomRight_value_type == 1) { - _retSerializer.writeInt8(1); - const auto retValue_bottomRight_value_1 = retValue_bottomRight_value.value1; - _retSerializer.writeNumber(retValue_bottomRight_value_1); - } - else if (retValue_bottomRight_value_type == 2) { - _retSerializer.writeInt8(2); - const auto retValue_bottomRight_value_2 = retValue_bottomRight_value.value2; - _retSerializer.writeResource(retValue_bottomRight_value_2); - } - } + _retSerializer.writeBorderRadiuses(retValue); return _retSerializer.toReturnBuffer(); } KOALA_INTEROP_1(GlobalScope_borderRadiuses, KInteropReturnBuffer, KInteropNumber) diff --git a/arkoala-arkts/framework/native/src/generated/callback_deserialize_call.cc b/arkoala-arkts/framework/native/src/generated/callback_deserialize_call.cc index 68f9c06498..d592484a2a 100644 --- a/arkoala-arkts/framework/native/src/generated/callback_deserialize_call.cc +++ b/arkoala-arkts/framework/native/src/generated/callback_deserialize_call.cc @@ -40,6 +40,24 @@ void deserializeAndCallSyncAccessibilityCallback(Ark_VMContext vmContext, KSeria Ark_AccessibilityHoverEvent event = static_cast(thisDeserializer.readAccessibilityHoverEvent()); _callSync(vmContext, _resourceId, isHover, event); } +void deserializeAndCallAccessibilityFocusCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_Boolean isFocus = thisDeserializer.readBoolean(); + _call(_resourceId, isFocus); +} +void deserializeAndCallSyncAccessibilityFocusCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_Boolean isFocus = thisDeserializer.readBoolean(); + _callSync(vmContext, _resourceId, isFocus); +} void deserializeAndCallAsyncCallback_Array_TextMenuItem_Array_TextMenuItem(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -304,6 +322,24 @@ void deserializeAndCallSyncCallback_Array_TouchTestInfo_TouchResult(Ark_VMContex Callback_TouchResult_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_TouchResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_TouchResult_Void))))}; _callSync(vmContext, _resourceId, value, _continuation); } +void deserializeAndCallCallback_AxisEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_AxisEvent parameter = static_cast(thisDeserializer.readAxisEvent()); + _call(_resourceId, parameter); +} +void deserializeAndCallSyncCallback_AxisEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_AxisEvent parameter = static_cast(thisDeserializer.readAxisEvent()); + _callSync(vmContext, _resourceId, parameter); +} void deserializeAndCallCallback_Boolean(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -360,6 +396,24 @@ void deserializeAndCallSyncCallback_Boolean_Void(Ark_VMContext vmContext, KSeria Ark_Boolean isVisible = thisDeserializer.readBoolean(); _callSync(vmContext, _resourceId, isVisible); } +void deserializeAndCallCallback_Buffer_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_Buffer value = static_cast(thisDeserializer.readBuffer()); + _call(_resourceId, value); +} +void deserializeAndCallSyncCallback_Buffer_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_Buffer value = static_cast(thisDeserializer.readBuffer()); + _callSync(vmContext, _resourceId, value); +} void deserializeAndCallCallback_CalendarRequestedData_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -396,66 +450,6 @@ void deserializeAndCallSyncCallback_CalendarSelectedDate_Void(Ark_VMContext vmCo Ark_CalendarSelectedDate event = thisDeserializer.readCalendarSelectedDate(); _callSync(vmContext, _resourceId, event); } -void deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) -{ - Deserializer thisDeserializer = Deserializer(thisArray, thisLength); - const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointer()); - thisDeserializer.readPointer(); - Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); - Ark_LocationButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); - _call(_resourceId, event, result); -} -void deserializeAndCallSyncCallback_ClickEvent_LocationButtonOnClickResult_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) -{ - Deserializer thisDeserializer = Deserializer(thisArray, thisLength); - const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - thisDeserializer.readPointer(); - const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); - Ark_LocationButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); - _callSync(vmContext, _resourceId, event, result); -} -void deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) -{ - Deserializer thisDeserializer = Deserializer(thisArray, thisLength); - const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointer()); - thisDeserializer.readPointer(); - Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); - Ark_PasteButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); - _call(_resourceId, event, result); -} -void deserializeAndCallSyncCallback_ClickEvent_PasteButtonOnClickResult_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) -{ - Deserializer thisDeserializer = Deserializer(thisArray, thisLength); - const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - thisDeserializer.readPointer(); - const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); - Ark_PasteButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); - _callSync(vmContext, _resourceId, event, result); -} -void deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) -{ - Deserializer thisDeserializer = Deserializer(thisArray, thisLength); - const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointer()); - thisDeserializer.readPointer(); - Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); - Ark_SaveButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); - _call(_resourceId, event, result); -} -void deserializeAndCallSyncCallback_ClickEvent_SaveButtonOnClickResult_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) -{ - Deserializer thisDeserializer = Deserializer(thisArray, thisLength); - const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - thisDeserializer.readPointer(); - const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); - Ark_SaveButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); - _callSync(vmContext, _resourceId, event, result); -} void deserializeAndCallCallback_ClickEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -510,6 +504,24 @@ void deserializeAndCallSyncCallback_CopyEvent_Void(Ark_VMContext vmContext, KSer Ark_CopyEvent parameter = thisDeserializer.readCopyEvent(); _callSync(vmContext, _resourceId, parameter); } +void deserializeAndCallCallback_CrownEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_CrownEvent parameter = thisDeserializer.readCrownEvent(); + _call(_resourceId, parameter); +} +void deserializeAndCallSyncCallback_CrownEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_CrownEvent parameter = thisDeserializer.readCrownEvent(); + _callSync(vmContext, _resourceId, parameter); +} void deserializeAndCallCallback_CustomBuilder_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -800,6 +812,26 @@ void deserializeAndCallSyncCallback_DrawContext_CustomSpanDrawInfo_Void(Ark_VMCo Ark_CustomSpanDrawInfo drawInfo = thisDeserializer.readCustomSpanDrawInfo(); _callSync(vmContext, _resourceId, context, drawInfo); } +void deserializeAndCallCallback_EditableTextChangeValue_Boolean(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_EditableTextChangeValue parameter = thisDeserializer.readEditableTextChangeValue(); + Callback_Boolean_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _call(_resourceId, parameter, _continuation); +} +void deserializeAndCallSyncCallback_EditableTextChangeValue_Boolean(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_EditableTextChangeValue parameter = thisDeserializer.readEditableTextChangeValue(); + Callback_Boolean_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _callSync(vmContext, _resourceId, parameter, _continuation); +} void deserializeAndCallCallback_EnterKeyType_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -852,6 +884,24 @@ void deserializeAndCallSyncCallback_Extender_OnProgress(Ark_VMContext vmContext, Ark_Float32 value = thisDeserializer.readFloat32(); _callSync(vmContext, _resourceId, value); } +void deserializeAndCallCallback_FocusAxisEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_FocusAxisEvent parameter = static_cast(thisDeserializer.readFocusAxisEvent()); + _call(_resourceId, parameter); +} +void deserializeAndCallSyncCallback_FocusAxisEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_FocusAxisEvent parameter = static_cast(thisDeserializer.readFocusAxisEvent()); + _callSync(vmContext, _resourceId, parameter); +} void deserializeAndCallCallback_FormCallbackInfo_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -982,6 +1032,24 @@ void deserializeAndCallSyncCallback_HitTestMode_Void(Ark_VMContext vmContext, KS Ark_HitTestMode value = static_cast(thisDeserializer.readInt32()); _callSync(vmContext, _resourceId, value); } +void deserializeAndCallCallback_HoverEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_HoverEvent parameter = static_cast(thisDeserializer.readHoverEvent()); + _call(_resourceId, parameter); +} +void deserializeAndCallSyncCallback_HoverEvent_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_HoverEvent parameter = static_cast(thisDeserializer.readHoverEvent()); + _callSync(vmContext, _resourceId, parameter); +} void deserializeAndCallCallback_InsertValue_Boolean(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -1382,6 +1450,24 @@ void deserializeAndCallSyncCallback_Map_String_Object_Void(Ark_VMContext vmConte Map_String_Object parameter = parameter_buf; _callSync(vmContext, _resourceId, parameter); } +void deserializeAndCallCallback_MarqueeState_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_MarqueeState parameter = static_cast(thisDeserializer.readInt32()); + _call(_resourceId, parameter); +} +void deserializeAndCallSyncCallback_MarqueeState_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_MarqueeState parameter = static_cast(thisDeserializer.readInt32()); + _callSync(vmContext, _resourceId, parameter); +} void deserializeAndCallCallback_MouseEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -1436,6 +1522,24 @@ void deserializeAndCallSyncCallback_NativeEmbedTouchInfo_Void(Ark_VMContext vmCo Ark_NativeEmbedTouchInfo event = thisDeserializer.readNativeEmbedTouchInfo(); _callSync(vmContext, _resourceId, event); } +void deserializeAndCallCallback_NavDestinationActiveReason_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_NavDestinationActiveReason parameter = static_cast(thisDeserializer.readInt32()); + _call(_resourceId, parameter); +} +void deserializeAndCallSyncCallback_NavDestinationActiveReason_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_NavDestinationActiveReason parameter = static_cast(thisDeserializer.readInt32()); + _callSync(vmContext, _resourceId, parameter); +} void deserializeAndCallCallback_NavDestinationContext_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -1756,6 +1860,24 @@ void deserializeAndCallSyncCallback_Number_Void(Ark_VMContext vmContext, KSerial Ark_Number index = static_cast(thisDeserializer.readNumber()); _callSync(vmContext, _resourceId, index); } +void deserializeAndCallCallback_Object_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_Object parameter = static_cast(thisDeserializer.readObject()); + _call(_resourceId, parameter); +} +void deserializeAndCallSyncCallback_Object_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_Object parameter = static_cast(thisDeserializer.readObject()); + _callSync(vmContext, _resourceId, parameter); +} void deserializeAndCallCallback_OffsetResult_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -2460,6 +2582,52 @@ void deserializeAndCallSyncCallback_OnWindowNewEvent_Void(Ark_VMContext vmContex Ark_OnWindowNewEvent parameter = thisDeserializer.readOnWindowNewEvent(); _callSync(vmContext, _resourceId, parameter); } +void deserializeAndCallCallback_Opt_Array_NavDestinationTransition_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + const auto value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_NavDestinationTransition value_buf = {}; + value_buf.tag = value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + { + const Ark_Int32 value_buf__length = thisDeserializer.readInt32(); + Array_NavDestinationTransition value_buf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_buf_, value_buf__length); + for (int value_buf__i = 0; value_buf__i < value_buf__length; value_buf__i++) { + value_buf_.array[value_buf__i] = thisDeserializer.readNavDestinationTransition(); + } + value_buf.value = value_buf_; + } + Opt_Array_NavDestinationTransition value = value_buf; + _call(_resourceId, value); +} +void deserializeAndCallSyncCallback_Opt_Array_NavDestinationTransition_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + const auto value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_NavDestinationTransition value_buf = {}; + value_buf.tag = value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + { + const Ark_Int32 value_buf__length = thisDeserializer.readInt32(); + Array_NavDestinationTransition value_buf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_buf_, value_buf__length); + for (int value_buf__i = 0; value_buf__i < value_buf__length; value_buf__i++) { + value_buf_.array[value_buf__i] = thisDeserializer.readNavDestinationTransition(); + } + value_buf.value = value_buf_; + } + Opt_Array_NavDestinationTransition value = value_buf; + _callSync(vmContext, _resourceId, value); +} void deserializeAndCallCallback_Opt_Array_String_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -3014,6 +3182,40 @@ void deserializeAndCallSyncCallback_String_Number_Void(Ark_VMContext vmContext, Ark_Number index = static_cast(thisDeserializer.readNumber()); _callSync(vmContext, _resourceId, value, index); } +void deserializeAndCallCallback_String_Opt_Object_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_String name = static_cast(thisDeserializer.readString()); + const auto param_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object param_buf = {}; + param_buf.tag = param_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (param_buf_runtimeType)) + { + param_buf.value = static_cast(thisDeserializer.readObject()); + } + Opt_Object param = param_buf; + _call(_resourceId, name, param); +} +void deserializeAndCallSyncCallback_String_Opt_Object_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_String name = static_cast(thisDeserializer.readString()); + const auto param_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Object param_buf = {}; + param_buf.tag = param_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (param_buf_runtimeType)) + { + param_buf.value = static_cast(thisDeserializer.readObject()); + } + Opt_Object param = param_buf; + _callSync(vmContext, _resourceId, name, param); +} void deserializeAndCallCallback_String_PasteEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -3054,26 +3256,6 @@ void deserializeAndCallSyncCallback_String_SurfaceRect_Void(Ark_VMContext vmCont Ark_SurfaceRect rect = thisDeserializer.readSurfaceRect(); _callSync(vmContext, _resourceId, surfaceId, rect); } -void deserializeAndCallCallback_String_Unknown_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) -{ - Deserializer thisDeserializer = Deserializer(thisArray, thisLength); - const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointer()); - thisDeserializer.readPointer(); - Ark_String name = static_cast(thisDeserializer.readString()); - Ark_Object param = static_cast(thisDeserializer.readObject()); - _call(_resourceId, name, param); -} -void deserializeAndCallSyncCallback_String_Unknown_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) -{ - Deserializer thisDeserializer = Deserializer(thisArray, thisLength); - const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - thisDeserializer.readPointer(); - const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_String name = static_cast(thisDeserializer.readString()); - Ark_Object param = static_cast(thisDeserializer.readObject()); - _callSync(vmContext, _resourceId, name, param); -} void deserializeAndCallCallback_String_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -3112,6 +3294,24 @@ void deserializeAndCallSyncCallback_StyledStringChangeValue_Boolean(Ark_VMContex Callback_Boolean_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; _callSync(vmContext, _resourceId, parameter, _continuation); } +void deserializeAndCallCallback_StyledStringMarshallingValue_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_UserDataSpan value = thisDeserializer.readUserDataSpan(); + _call(_resourceId, value); +} +void deserializeAndCallSyncCallback_StyledStringMarshallingValue_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_UserDataSpan value = thisDeserializer.readUserDataSpan(); + _callSync(vmContext, _resourceId, value); +} void deserializeAndCallCallback_SwipeActionState_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -3740,6 +3940,26 @@ void deserializeAndCallSyncContentDidScrollCallback(Ark_VMContext vmContext, KSe Ark_Number mainAxisLength = static_cast(thisDeserializer.readNumber()); _callSync(vmContext, _resourceId, selectedIndex, index, position, mainAxisLength); } +void deserializeAndCallContentWillScrollCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_SwiperContentWillScrollResult result = thisDeserializer.readSwiperContentWillScrollResult(); + Callback_Boolean_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _call(_resourceId, result, _continuation); +} +void deserializeAndCallSyncContentWillScrollCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_SwiperContentWillScrollResult result = thisDeserializer.readSwiperContentWillScrollResult(); + Callback_Boolean_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; + _callSync(vmContext, _resourceId, result, _continuation); +} void deserializeAndCallContext_getGroupDir_Callback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -3782,7 +4002,7 @@ void deserializeAndCallEditableTextOnChangeCallback(KSerializerBuffer thisArray, { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); Ark_String value = static_cast(thisDeserializer.readString()); const auto previewText_buf_runtimeType = static_cast(thisDeserializer.readInt8()); @@ -3793,14 +4013,22 @@ void deserializeAndCallEditableTextOnChangeCallback(KSerializerBuffer thisArray, previewText_buf.value = thisDeserializer.readPreviewText(); } Opt_PreviewText previewText = previewText_buf; - _call(_resourceId, value, previewText); + const auto options_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextChangeOptions options_buf = {}; + options_buf.tag = options_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_buf_runtimeType)) + { + options_buf.value = thisDeserializer.readTextChangeOptions(); + } + Opt_TextChangeOptions options = options_buf; + _call(_resourceId, value, previewText, options); } void deserializeAndCallSyncEditableTextOnChangeCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); - const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); Ark_String value = static_cast(thisDeserializer.readString()); const auto previewText_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_PreviewText previewText_buf = {}; @@ -3810,7 +4038,15 @@ void deserializeAndCallSyncEditableTextOnChangeCallback(Ark_VMContext vmContext, previewText_buf.value = thisDeserializer.readPreviewText(); } Opt_PreviewText previewText = previewText_buf; - _callSync(vmContext, _resourceId, value, previewText); + const auto options_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TextChangeOptions options_buf = {}; + options_buf.tag = options_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_buf_runtimeType)) + { + options_buf.value = thisDeserializer.readTextChangeOptions(); + } + Opt_TextChangeOptions options = options_buf; + _callSync(vmContext, _resourceId, value, previewText, options); } void deserializeAndCallErrorCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { @@ -4104,13 +4340,49 @@ void deserializeAndCallSyncListAttribute_onItemDragStart_event_type(Ark_VMContex Callback_CustomBuilder_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_CustomBuilder_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_CustomBuilder_Void))))}; _callSync(vmContext, _resourceId, event, itemIndex, _continuation); } -void deserializeAndCallMenuCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +void deserializeAndCallLocationButtonCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); const Ark_Int32 _resourceId = thisDeserializer.readInt32(); - const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - _call(_resourceId); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); + Ark_LocationButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); + const auto error_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BusinessError error_buf = {}; + error_buf.tag = error_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) + { + error_buf.value = thisDeserializer.readBusinessError(); + } + Opt_BusinessError error = error_buf; + _call(_resourceId, event, result, error); +} +void deserializeAndCallSyncLocationButtonCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); + Ark_LocationButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); + const auto error_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BusinessError error_buf = {}; + error_buf.tag = error_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) + { + error_buf.value = thisDeserializer.readBusinessError(); + } + Opt_BusinessError error = error_buf; + _callSync(vmContext, _resourceId, event, result, error); +} +void deserializeAndCallMenuCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + _call(_resourceId); } void deserializeAndCallSyncMenuCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) { @@ -4140,6 +4412,28 @@ void deserializeAndCallSyncMenuOnAppearCallback(Ark_VMContext vmContext, KSerial Ark_Number end = static_cast(thisDeserializer.readNumber()); _callSync(vmContext, _resourceId, start, end); } +void deserializeAndCallNavDestinationTransitionDelegate(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_NavigationOperation operation = static_cast(thisDeserializer.readInt32()); + Ark_Boolean isEnter = thisDeserializer.readBoolean(); + Callback_Opt_Array_NavDestinationTransition_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_NavDestinationTransition_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_NavDestinationTransition_Void))))}; + _call(_resourceId, operation, isEnter, _continuation); +} +void deserializeAndCallSyncNavDestinationTransitionDelegate(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_NavigationOperation operation = static_cast(thisDeserializer.readInt32()); + Ark_Boolean isEnter = thisDeserializer.readBoolean(); + Callback_Opt_Array_NavDestinationTransition_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Opt_Array_NavDestinationTransition_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Opt_Array_NavDestinationTransition_Void))))}; + _callSync(vmContext, _resourceId, operation, isEnter, _continuation); +} void deserializeAndCallNavExtender_OnUpdateStack(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -4324,6 +4618,40 @@ void deserializeAndCallSyncOnDidChangeCallback(Ark_VMContext vmContext, KSeriali Ark_TextRange rangeAfter = thisDeserializer.readTextRange(); _callSync(vmContext, _resourceId, rangeBefore, rangeAfter); } +void deserializeAndCallOnDragEventCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_DragEvent event = static_cast(thisDeserializer.readDragEvent()); + const auto extraParams_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String extraParams_buf = {}; + extraParams_buf.tag = extraParams_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_buf_runtimeType)) + { + extraParams_buf.value = static_cast(thisDeserializer.readString()); + } + Opt_String extraParams = extraParams_buf; + _call(_resourceId, event, extraParams); +} +void deserializeAndCallSyncOnDragEventCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_DragEvent event = static_cast(thisDeserializer.readDragEvent()); + const auto extraParams_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String extraParams_buf = {}; + extraParams_buf.tag = extraParams_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_buf_runtimeType)) + { + extraParams_buf.value = static_cast(thisDeserializer.readString()); + } + Opt_String extraParams = extraParams_buf; + _callSync(vmContext, _resourceId, event, extraParams); +} void deserializeAndCallOnFirstMeaningfulPaintCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -4596,6 +4924,42 @@ void deserializeAndCallSyncOnPasteCallback(Ark_VMContext vmContext, KSerializerB Ark_PasteEvent event = thisDeserializer.readPasteEvent(); _callSync(vmContext, _resourceId, content, event); } +void deserializeAndCallOnRadioChangeCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_Boolean isChecked = thisDeserializer.readBoolean(); + _call(_resourceId, isChecked); +} +void deserializeAndCallSyncOnRadioChangeCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_Boolean isChecked = thisDeserializer.readBoolean(); + _callSync(vmContext, _resourceId, isChecked); +} +void deserializeAndCallOnRatingChangeCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_Number rating = static_cast(thisDeserializer.readNumber()); + _call(_resourceId, rating); +} +void deserializeAndCallSyncOnRatingChangeCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_Number rating = static_cast(thisDeserializer.readNumber()); + _callSync(vmContext, _resourceId, rating); +} void deserializeAndCallOnRenderProcessNotRespondingCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -4728,6 +5092,26 @@ void deserializeAndCallSyncOnScrollVisibleContentChangeCallback(Ark_VMContext vm Ark_VisibleListContentInfo end = thisDeserializer.readVisibleListContentInfo(); _callSync(vmContext, _resourceId, start, end); } +void deserializeAndCallOnSelectCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_Number index = static_cast(thisDeserializer.readNumber()); + Ark_String selectStr = static_cast(thisDeserializer.readString()); + _call(_resourceId, index, selectStr); +} +void deserializeAndCallSyncOnSelectCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_Number index = static_cast(thisDeserializer.readNumber()); + Ark_String selectStr = static_cast(thisDeserializer.readString()); + _callSync(vmContext, _resourceId, index, selectStr); +} void deserializeAndCallOnSslErrorEventCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -4912,6 +5296,110 @@ void deserializeAndCallSyncOnTabsGestureSwipeCallback(Ark_VMContext vmContext, K Ark_TabsAnimationEvent extraInfo = thisDeserializer.readTabsAnimationEvent(); _callSync(vmContext, _resourceId, index, extraInfo); } +void deserializeAndCallOnTextPickerChangeCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + const Ark_Int8 selectItem_buf_selector = thisDeserializer.readInt8(); + Ark_Union_String_Array_String selectItem_buf = {}; + selectItem_buf.selector = selectItem_buf_selector; + if (selectItem_buf_selector == 0) { + selectItem_buf.selector = 0; + selectItem_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (selectItem_buf_selector == 1) { + selectItem_buf.selector = 1; + const Ark_Int32 selectItem_buf_u_length = thisDeserializer.readInt32(); + Array_String selectItem_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&selectItem_buf_u, selectItem_buf_u_length); + for (int selectItem_buf_u_i = 0; selectItem_buf_u_i < selectItem_buf_u_length; selectItem_buf_u_i++) { + selectItem_buf_u.array[selectItem_buf_u_i] = static_cast(thisDeserializer.readString()); + } + selectItem_buf.value1 = selectItem_buf_u; + } + else { + INTEROP_FATAL("One of the branches for selectItem_buf has to be chosen through deserialisation."); + } + Ark_Union_String_Array_String selectItem = static_cast(selectItem_buf); + const Ark_Int8 index_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Array_Number index_buf = {}; + index_buf.selector = index_buf_selector; + if (index_buf_selector == 0) { + index_buf.selector = 0; + index_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (index_buf_selector == 1) { + index_buf.selector = 1; + const Ark_Int32 index_buf_u_length = thisDeserializer.readInt32(); + Array_Number index_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&index_buf_u, index_buf_u_length); + for (int index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u.array[index_buf_u_i] = static_cast(thisDeserializer.readNumber()); + } + index_buf.value1 = index_buf_u; + } + else { + INTEROP_FATAL("One of the branches for index_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Array_Number index = static_cast(index_buf); + _call(_resourceId, selectItem, index); +} +void deserializeAndCallSyncOnTextPickerChangeCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + const Ark_Int8 selectItem_buf_selector = thisDeserializer.readInt8(); + Ark_Union_String_Array_String selectItem_buf = {}; + selectItem_buf.selector = selectItem_buf_selector; + if (selectItem_buf_selector == 0) { + selectItem_buf.selector = 0; + selectItem_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (selectItem_buf_selector == 1) { + selectItem_buf.selector = 1; + const Ark_Int32 selectItem_buf_u_length = thisDeserializer.readInt32(); + Array_String selectItem_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&selectItem_buf_u, selectItem_buf_u_length); + for (int selectItem_buf_u_i = 0; selectItem_buf_u_i < selectItem_buf_u_length; selectItem_buf_u_i++) { + selectItem_buf_u.array[selectItem_buf_u_i] = static_cast(thisDeserializer.readString()); + } + selectItem_buf.value1 = selectItem_buf_u; + } + else { + INTEROP_FATAL("One of the branches for selectItem_buf has to be chosen through deserialisation."); + } + Ark_Union_String_Array_String selectItem = static_cast(selectItem_buf); + const Ark_Int8 index_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Array_Number index_buf = {}; + index_buf.selector = index_buf_selector; + if (index_buf_selector == 0) { + index_buf.selector = 0; + index_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (index_buf_selector == 1) { + index_buf.selector = 1; + const Ark_Int32 index_buf_u_length = thisDeserializer.readInt32(); + Array_Number index_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&index_buf_u, index_buf_u_length); + for (int index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u.array[index_buf_u_i] = static_cast(thisDeserializer.readNumber()); + } + index_buf.value1 = index_buf_u; + } + else { + INTEROP_FATAL("One of the branches for index_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Array_Number index = static_cast(index_buf); + _callSync(vmContext, _resourceId, selectItem, index); +} void deserializeAndCallOnTextSelectionChangeCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -4932,6 +5420,24 @@ void deserializeAndCallSyncOnTextSelectionChangeCallback(Ark_VMContext vmContext Ark_Number selectionEnd = static_cast(thisDeserializer.readNumber()); _callSync(vmContext, _resourceId, selectionStart, selectionEnd); } +void deserializeAndCallOnTimePickerChangeCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_TimePickerResult result = thisDeserializer.readTimePickerResult(); + _call(_resourceId, result); +} +void deserializeAndCallSyncOnTimePickerChangeCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_TimePickerResult result = thisDeserializer.readTimePickerResult(); + _callSync(vmContext, _resourceId, result); +} void deserializeAndCallOnViewportFitChangedCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -4970,6 +5476,42 @@ void deserializeAndCallSyncPageTransitionCallback(Ark_VMContext vmContext, KSeri Ark_Number progress = static_cast(thisDeserializer.readNumber()); _callSync(vmContext, _resourceId, type, progress); } +void deserializeAndCallPasteButtonCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); + Ark_PasteButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); + const auto error_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BusinessError error_buf = {}; + error_buf.tag = error_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) + { + error_buf.value = thisDeserializer.readBusinessError(); + } + Opt_BusinessError error = error_buf; + _call(_resourceId, event, result, error); +} +void deserializeAndCallSyncPasteButtonCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); + Ark_PasteButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); + const auto error_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BusinessError error_buf = {}; + error_buf.tag = error_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) + { + error_buf.value = thisDeserializer.readBusinessError(); + } + Opt_BusinessError error = error_buf; + _callSync(vmContext, _resourceId, event, result, error); +} void deserializeAndCallPasteEventCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -5020,6 +5562,24 @@ void deserializeAndCallSyncPluginErrorCallback(Ark_VMContext vmContext, KSeriali Ark_PluginErrorData info = thisDeserializer.readPluginErrorData(); _callSync(vmContext, _resourceId, info); } +void deserializeAndCallPopupStateChangeCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_PopupStateChangeParam event = thisDeserializer.readPopupStateChangeParam(); + _call(_resourceId, event); +} +void deserializeAndCallSyncPopupStateChangeCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_PopupStateChangeParam event = thisDeserializer.readPopupStateChangeParam(); + _callSync(vmContext, _resourceId, event); +} void deserializeAndCallReceiveCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -5110,6 +5670,60 @@ void deserializeAndCallSyncRestrictedWorker_onmessage_Callback(Ark_VMContext vmC Ark_MessageEvents event = thisDeserializer.readMessageEvents(); _callSync(vmContext, _resourceId, event); } +void deserializeAndCallReuseIdCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Callback_String_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))}; + _call(_resourceId, _continuation); +} +void deserializeAndCallSyncReuseIdCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Callback_String_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_String_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_String_Void))))}; + _callSync(vmContext, _resourceId, _continuation); +} +void deserializeAndCallSaveButtonCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); + Ark_SaveButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); + const auto error_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BusinessError error_buf = {}; + error_buf.tag = error_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) + { + error_buf.value = thisDeserializer.readBusinessError(); + } + Opt_BusinessError error = error_buf; + _call(_resourceId, event, result, error); +} +void deserializeAndCallSyncSaveButtonCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); + Ark_SaveButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); + const auto error_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_BusinessError error_buf = {}; + error_buf.tag = error_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) + { + error_buf.value = thisDeserializer.readBusinessError(); + } + Opt_BusinessError error = error_buf; + _callSync(vmContext, _resourceId, event, result, error); +} void deserializeAndCallScrollOnScrollCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -5268,6 +5882,46 @@ void deserializeAndCallSyncSliderTriggerChangeCallback(Ark_VMContext vmContext, Ark_SliderChangeMode mode = static_cast(thisDeserializer.readInt32()); _callSync(vmContext, _resourceId, value, mode); } +void deserializeAndCallStyledStringMarshallCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_UserDataSpan marshallableVal = thisDeserializer.readUserDataSpan(); + Callback_Buffer_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Buffer_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Buffer_Void))))}; + _call(_resourceId, marshallableVal, _continuation); +} +void deserializeAndCallSyncStyledStringMarshallCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_UserDataSpan marshallableVal = thisDeserializer.readUserDataSpan(); + Callback_Buffer_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Buffer_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Buffer_Void))))}; + _callSync(vmContext, _resourceId, marshallableVal, _continuation); +} +void deserializeAndCallStyledStringUnmarshallCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_Buffer buf = static_cast(thisDeserializer.readBuffer()); + Callback_StyledStringMarshallingValue_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_StyledStringMarshallingValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_StyledStringMarshallingValue_Void))))}; + _call(_resourceId, buf, _continuation); +} +void deserializeAndCallSyncStyledStringUnmarshallCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_Buffer buf = static_cast(thisDeserializer.readBuffer()); + Callback_StyledStringMarshallingValue_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_StyledStringMarshallingValue_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_StyledStringMarshallingValue_Void))))}; + _callSync(vmContext, _resourceId, buf, _continuation); +} void deserializeAndCallSubmitCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -5344,6 +5998,214 @@ void deserializeAndCallSyncTextAreaSubmitCallback(Ark_VMContext vmContext, KSeri Opt_SubmitEvent event = event_buf; _callSync(vmContext, _resourceId, enterKeyType, event); } +void deserializeAndCallTextPickerEnterSelectedAreaCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + const Ark_Int8 value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_String_Array_String value_buf = {}; + value_buf.selector = value_buf_selector; + if (value_buf_selector == 0) { + value_buf.selector = 0; + value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_buf_selector == 1) { + value_buf.selector = 1; + const Ark_Int32 value_buf_u_length = thisDeserializer.readInt32(); + Array_String value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_buf_u, value_buf_u_length); + for (int value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { + value_buf_u.array[value_buf_u_i] = static_cast(thisDeserializer.readString()); + } + value_buf.value1 = value_buf_u; + } + else { + INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + } + Ark_Union_String_Array_String value = static_cast(value_buf); + const Ark_Int8 index_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Array_Number index_buf = {}; + index_buf.selector = index_buf_selector; + if (index_buf_selector == 0) { + index_buf.selector = 0; + index_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (index_buf_selector == 1) { + index_buf.selector = 1; + const Ark_Int32 index_buf_u_length = thisDeserializer.readInt32(); + Array_Number index_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&index_buf_u, index_buf_u_length); + for (int index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u.array[index_buf_u_i] = static_cast(thisDeserializer.readNumber()); + } + index_buf.value1 = index_buf_u; + } + else { + INTEROP_FATAL("One of the branches for index_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Array_Number index = static_cast(index_buf); + _call(_resourceId, value, index); +} +void deserializeAndCallSyncTextPickerEnterSelectedAreaCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + const Ark_Int8 value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_String_Array_String value_buf = {}; + value_buf.selector = value_buf_selector; + if (value_buf_selector == 0) { + value_buf.selector = 0; + value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_buf_selector == 1) { + value_buf.selector = 1; + const Ark_Int32 value_buf_u_length = thisDeserializer.readInt32(); + Array_String value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_buf_u, value_buf_u_length); + for (int value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { + value_buf_u.array[value_buf_u_i] = static_cast(thisDeserializer.readString()); + } + value_buf.value1 = value_buf_u; + } + else { + INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + } + Ark_Union_String_Array_String value = static_cast(value_buf); + const Ark_Int8 index_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Array_Number index_buf = {}; + index_buf.selector = index_buf_selector; + if (index_buf_selector == 0) { + index_buf.selector = 0; + index_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (index_buf_selector == 1) { + index_buf.selector = 1; + const Ark_Int32 index_buf_u_length = thisDeserializer.readInt32(); + Array_Number index_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&index_buf_u, index_buf_u_length); + for (int index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u.array[index_buf_u_i] = static_cast(thisDeserializer.readNumber()); + } + index_buf.value1 = index_buf_u; + } + else { + INTEROP_FATAL("One of the branches for index_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Array_Number index = static_cast(index_buf); + _callSync(vmContext, _resourceId, value, index); +} +void deserializeAndCallTextPickerScrollStopCallback(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + const Ark_Int8 value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_String_Array_String value_buf = {}; + value_buf.selector = value_buf_selector; + if (value_buf_selector == 0) { + value_buf.selector = 0; + value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_buf_selector == 1) { + value_buf.selector = 1; + const Ark_Int32 value_buf_u_length = thisDeserializer.readInt32(); + Array_String value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_buf_u, value_buf_u_length); + for (int value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { + value_buf_u.array[value_buf_u_i] = static_cast(thisDeserializer.readString()); + } + value_buf.value1 = value_buf_u; + } + else { + INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + } + Ark_Union_String_Array_String value = static_cast(value_buf); + const Ark_Int8 index_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Array_Number index_buf = {}; + index_buf.selector = index_buf_selector; + if (index_buf_selector == 0) { + index_buf.selector = 0; + index_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (index_buf_selector == 1) { + index_buf.selector = 1; + const Ark_Int32 index_buf_u_length = thisDeserializer.readInt32(); + Array_Number index_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&index_buf_u, index_buf_u_length); + for (int index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u.array[index_buf_u_i] = static_cast(thisDeserializer.readNumber()); + } + index_buf.value1 = index_buf_u; + } + else { + INTEROP_FATAL("One of the branches for index_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Array_Number index = static_cast(index_buf); + _call(_resourceId, value, index); +} +void deserializeAndCallSyncTextPickerScrollStopCallback(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + const Ark_Int8 value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_String_Array_String value_buf = {}; + value_buf.selector = value_buf_selector; + if (value_buf_selector == 0) { + value_buf.selector = 0; + value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (value_buf_selector == 1) { + value_buf.selector = 1; + const Ark_Int32 value_buf_u_length = thisDeserializer.readInt32(); + Array_String value_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&value_buf_u, value_buf_u_length); + for (int value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { + value_buf_u.array[value_buf_u_i] = static_cast(thisDeserializer.readString()); + } + value_buf.value1 = value_buf_u; + } + else { + INTEROP_FATAL("One of the branches for value_buf has to be chosen through deserialisation."); + } + Ark_Union_String_Array_String value = static_cast(value_buf); + const Ark_Int8 index_buf_selector = thisDeserializer.readInt8(); + Ark_Union_Number_Array_Number index_buf = {}; + index_buf.selector = index_buf_selector; + if (index_buf_selector == 0) { + index_buf.selector = 0; + index_buf.value0 = static_cast(thisDeserializer.readNumber()); + } + else if (index_buf_selector == 1) { + index_buf.selector = 1; + const Ark_Int32 index_buf_u_length = thisDeserializer.readInt32(); + Array_Number index_buf_u = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&index_buf_u, index_buf_u_length); + for (int index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u.array[index_buf_u_i] = static_cast(thisDeserializer.readNumber()); + } + index_buf.value1 = index_buf_u; + } + else { + INTEROP_FATAL("One of the branches for index_buf has to be chosen through deserialisation."); + } + Ark_Union_Number_Array_Number index = static_cast(index_buf); + _callSync(vmContext, _resourceId, value, index); +} void deserializeAndCallTextTimerAttribute_onTimer_event_type(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -5694,6 +6556,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark { switch (kind) { case 589030517/*Kind_AccessibilityCallback*/: return deserializeAndCallAccessibilityCallback(thisArray, thisLength); + case 1715445305/*Kind_AccessibilityFocusCallback*/: return deserializeAndCallAccessibilityFocusCallback(thisArray, thisLength); case 300202685/*Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem*/: return deserializeAndCallAsyncCallback_Array_TextMenuItem_Array_TextMenuItem(thisArray, thisLength); case -1689064068/*Kind_AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics*/: return deserializeAndCallAsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics(thisArray, thisLength); case 1289587365/*Kind_AsyncCallback_image_PixelMap_Void*/: return deserializeAndCallAsyncCallback_image_PixelMap_Void(thisArray, thisLength); @@ -5704,17 +6567,17 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case -440782244/*Kind_Callback_Array_String_Void*/: return deserializeAndCallCallback_Array_String_Void(thisArray, thisLength); case 528588498/*Kind_Callback_Array_TextMenuItem_Void*/: return deserializeAndCallCallback_Array_TextMenuItem_Void(thisArray, thisLength); case -547276916/*Kind_Callback_Array_TouchTestInfo_TouchResult*/: return deserializeAndCallCallback_Array_TouchTestInfo_TouchResult(thisArray, thisLength); + case 109087936/*Kind_Callback_AxisEvent_Void*/: return deserializeAndCallCallback_AxisEvent_Void(thisArray, thisLength); case -1541107680/*Kind_Callback_Boolean*/: return deserializeAndCallCallback_Boolean(thisArray, thisLength); case -916602978/*Kind_Callback_Boolean_HoverEvent_Void*/: return deserializeAndCallCallback_Boolean_HoverEvent_Void(thisArray, thisLength); case 313269291/*Kind_Callback_Boolean_Void*/: return deserializeAndCallCallback_Boolean_Void(thisArray, thisLength); + case 908731311/*Kind_Callback_Buffer_Void*/: return deserializeAndCallCallback_Buffer_Void(thisArray, thisLength); case 1074619005/*Kind_Callback_CalendarRequestedData_Void*/: return deserializeAndCallCallback_CalendarRequestedData_Void(thisArray, thisLength); case -289198976/*Kind_Callback_CalendarSelectedDate_Void*/: return deserializeAndCallCallback_CalendarSelectedDate_Void(thisArray, thisLength); - case -1189087745/*Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void*/: return deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(thisArray, thisLength); - case 659292561/*Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void*/: return deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(thisArray, thisLength); - case 846787331/*Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void*/: return deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(thisArray, thisLength); case 1097178637/*Kind_Callback_ClickEvent_Void*/: return deserializeAndCallCallback_ClickEvent_Void(thisArray, thisLength); case -1270343661/*Kind_Callback_ComputedBarAttribute_Void*/: return deserializeAndCallCallback_ComputedBarAttribute_Void(thisArray, thisLength); case -120437466/*Kind_Callback_CopyEvent_Void*/: return deserializeAndCallCallback_CopyEvent_Void(thisArray, thisLength); + case -827253372/*Kind_Callback_CrownEvent_Void*/: return deserializeAndCallCallback_CrownEvent_Void(thisArray, thisLength); case -721106019/*Kind_Callback_CustomBuilder_Void*/: return deserializeAndCallCallback_CustomBuilder_Void(thisArray, thisLength); case 1362306791/*Kind_Callback_CustomSpanMetrics_Void*/: return deserializeAndCallCallback_CustomSpanMetrics_Void(thisArray, thisLength); case -1875695871/*Kind_Callback_CutEvent_Void*/: return deserializeAndCallCallback_CutEvent_Void(thisArray, thisLength); @@ -5729,9 +6592,11 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case 480978023/*Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo*/: return deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(thisArray, thisLength); case -17167687/*Kind_Callback_DragEvent_String_Void*/: return deserializeAndCallCallback_DragEvent_String_Void(thisArray, thisLength); case -2106022018/*Kind_Callback_DrawContext_CustomSpanDrawInfo_Void*/: return deserializeAndCallCallback_DrawContext_CustomSpanDrawInfo_Void(thisArray, thisLength); + case -602545319/*Kind_Callback_EditableTextChangeValue_Boolean*/: return deserializeAndCallCallback_EditableTextChangeValue_Boolean(thisArray, thisLength); case -1802605016/*Kind_Callback_EnterKeyType_Void*/: return deserializeAndCallCallback_EnterKeyType_Void(thisArray, thisLength); case -733525640/*Kind_Callback_Extender_OnFinish*/: return deserializeAndCallCallback_Extender_OnFinish(thisArray, thisLength); case 1264236374/*Kind_Callback_Extender_OnProgress*/: return deserializeAndCallCallback_Extender_OnProgress(thisArray, thisLength); + case 394781580/*Kind_Callback_FocusAxisEvent_Void*/: return deserializeAndCallCallback_FocusAxisEvent_Void(thisArray, thisLength); case 758395742/*Kind_Callback_FormCallbackInfo_Void*/: return deserializeAndCallCallback_FormCallbackInfo_Void(thisArray, thisLength); case 583294398/*Kind_Callback_FullscreenInfo_Void*/: return deserializeAndCallCallback_FullscreenInfo_Void(thisArray, thisLength); case -1143194492/*Kind_Callback_GestureEvent_Void*/: return deserializeAndCallCallback_GestureEvent_Void(thisArray, thisLength); @@ -5739,6 +6604,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case -684588584/*Kind_Callback_GestureJudgeResult_Void*/: return deserializeAndCallCallback_GestureJudgeResult_Void(thisArray, thisLength); case 776202910/*Kind_Callback_GestureRecognizer_Void*/: return deserializeAndCallCallback_GestureRecognizer_Void(thisArray, thisLength); case -1755111025/*Kind_Callback_HitTestMode_Void*/: return deserializeAndCallCallback_HitTestMode_Void(thisArray, thisLength); + case -1576788379/*Kind_Callback_HoverEvent_Void*/: return deserializeAndCallCallback_HoverEvent_Void(thisArray, thisLength); case -383025085/*Kind_Callback_InsertValue_Boolean*/: return deserializeAndCallCallback_InsertValue_Boolean(thisArray, thisLength); case -1121207885/*Kind_Callback_InsertValue_Void*/: return deserializeAndCallCallback_InsertValue_Void(thisArray, thisLength); case -1627362945/*Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void*/: return deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Void(thisArray, thisLength); @@ -5755,9 +6621,11 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case 222742448/*Kind_Callback_Literal_Object_detail_Boolean*/: return deserializeAndCallCallback_Literal_Object_detail_Boolean(thisArray, thisLength); case -122223466/*Kind_Callback_Literal_String_plainText_Void*/: return deserializeAndCallCallback_Literal_String_plainText_Void(thisArray, thisLength); case -1146723341/*Kind_Callback_Map_String_Object_Void*/: return deserializeAndCallCallback_Map_String_Object_Void(thisArray, thisLength); + case -716263454/*Kind_Callback_MarqueeState_Void*/: return deserializeAndCallCallback_MarqueeState_Void(thisArray, thisLength); case -1382640094/*Kind_Callback_MouseEvent_Void*/: return deserializeAndCallCallback_MouseEvent_Void(thisArray, thisLength); case 477481563/*Kind_Callback_NativeEmbedDataInfo_Void*/: return deserializeAndCallCallback_NativeEmbedDataInfo_Void(thisArray, thisLength); case -1090303858/*Kind_Callback_NativeEmbedTouchInfo_Void*/: return deserializeAndCallCallback_NativeEmbedTouchInfo_Void(thisArray, thisLength); + case 634825762/*Kind_Callback_NavDestinationActiveReason_Void*/: return deserializeAndCallCallback_NavDestinationActiveReason_Void(thisArray, thisLength); case -1642725259/*Kind_Callback_NavDestinationContext_Void*/: return deserializeAndCallCallback_NavDestinationContext_Void(thisArray, thisLength); case 960690982/*Kind_Callback_NavigationMode_Void*/: return deserializeAndCallCallback_NavigationMode_Void(thisArray, thisLength); case 1685437830/*Kind_Callback_NavigationTitleMode_Void*/: return deserializeAndCallCallback_NavigationTitleMode_Void(thisArray, thisLength); @@ -5774,6 +6642,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case 1602877440/*Kind_Callback_Number_Tuple_Number_Number*/: return deserializeAndCallCallback_Number_Tuple_Number_Number(thisArray, thisLength); case 1618565120/*Kind_Callback_Number_Tuple_Number_Number_Number_Number*/: return deserializeAndCallCallback_Number_Tuple_Number_Number_Number_Number(thisArray, thisLength); case 36519084/*Kind_Callback_Number_Void*/: return deserializeAndCallCallback_Number_Void(thisArray, thisLength); + case -1782529222/*Kind_Callback_Object_Void*/: return deserializeAndCallCallback_Object_Void(thisArray, thisLength); case 1295952075/*Kind_Callback_OffsetResult_Void*/: return deserializeAndCallCallback_OffsetResult_Void(thisArray, thisLength); case 806070428/*Kind_Callback_OnAlertEvent_Boolean*/: return deserializeAndCallCallback_OnAlertEvent_Boolean(thisArray, thisLength); case -1559789631/*Kind_Callback_OnAudioStateChangedEvent_Void*/: return deserializeAndCallCallback_OnAudioStateChangedEvent_Void(thisArray, thisLength); @@ -5812,6 +6681,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case -318085495/*Kind_Callback_OnTitleReceiveEvent_Void*/: return deserializeAndCallCallback_OnTitleReceiveEvent_Void(thisArray, thisLength); case 1657893064/*Kind_Callback_OnTouchIconUrlReceivedEvent_Void*/: return deserializeAndCallCallback_OnTouchIconUrlReceivedEvent_Void(thisArray, thisLength); case -2052382574/*Kind_Callback_OnWindowNewEvent_Void*/: return deserializeAndCallCallback_OnWindowNewEvent_Void(thisArray, thisLength); + case 406871767/*Kind_Callback_Opt_Array_NavDestinationTransition_Void*/: return deserializeAndCallCallback_Opt_Array_NavDestinationTransition_Void(thisArray, thisLength); case -543655128/*Kind_Callback_Opt_Array_String_Void*/: return deserializeAndCallCallback_Opt_Array_String_Void(thisArray, thisLength); case -2035339519/*Kind_Callback_Opt_NavigationAnimatedTransition_Void*/: return deserializeAndCallCallback_Opt_NavigationAnimatedTransition_Void(thisArray, thisLength); case -756319131/*Kind_Callback_Opt_StyledString_Opt_Array_String_Void*/: return deserializeAndCallCallback_Opt_StyledString_Opt_Array_String_Void(thisArray, thisLength); @@ -5835,11 +6705,12 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case -224451112/*Kind_Callback_SheetType_Void*/: return deserializeAndCallCallback_SheetType_Void(thisArray, thisLength); case 1536231691/*Kind_Callback_SpringBackAction_Void*/: return deserializeAndCallCallback_SpringBackAction_Void(thisArray, thisLength); case -879490874/*Kind_Callback_String_Number_Void*/: return deserializeAndCallCallback_String_Number_Void(thisArray, thisLength); + case -716524508/*Kind_Callback_String_Opt_Object_Void*/: return deserializeAndCallCallback_String_Opt_Object_Void(thisArray, thisLength); case -683652998/*Kind_Callback_String_PasteEvent_Void*/: return deserializeAndCallCallback_String_PasteEvent_Void(thisArray, thisLength); case -1736208400/*Kind_Callback_String_SurfaceRect_Void*/: return deserializeAndCallCallback_String_SurfaceRect_Void(thisArray, thisLength); - case -1493806035/*Kind_Callback_String_Unknown_Void*/: return deserializeAndCallCallback_String_Unknown_Void(thisArray, thisLength); case 814634522/*Kind_Callback_String_Void*/: return deserializeAndCallCallback_String_Void(thisArray, thisLength); case 2116745428/*Kind_Callback_StyledStringChangeValue_Boolean*/: return deserializeAndCallCallback_StyledStringChangeValue_Boolean(thisArray, thisLength); + case -1198150682/*Kind_Callback_StyledStringMarshallingValue_Void*/: return deserializeAndCallCallback_StyledStringMarshallingValue_Void(thisArray, thisLength); case -301561698/*Kind_Callback_SwipeActionState_Void*/: return deserializeAndCallCallback_SwipeActionState_Void(thisArray, thisLength); case -416053361/*Kind_Callback_SwiperContentTransitionProxy_Void*/: return deserializeAndCallCallback_SwiperContentTransitionProxy_Void(thisArray, thisLength); case -1223938478/*Kind_Callback_TabContentTransitionProxy_Void*/: return deserializeAndCallCallback_TabContentTransitionProxy_Void(thisArray, thisLength); @@ -5864,6 +6735,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case 1436479104/*Kind_Callback_WithThemeAttribute_Void*/: return deserializeAndCallCallback_WithThemeAttribute_Void(thisArray, thisLength); case -824029805/*Kind_Callback_WrappedBuilder_Args_Void*/: return deserializeAndCallCallback_WrappedBuilder_Args_Void(thisArray, thisLength); case 1532328438/*Kind_ContentDidScrollCallback*/: return deserializeAndCallContentDidScrollCallback(thisArray, thisLength); + case -2146044511/*Kind_ContentWillScrollCallback*/: return deserializeAndCallContentWillScrollCallback(thisArray, thisLength); case 260483890/*Kind_Context_getGroupDir_Callback*/: return deserializeAndCallContext_getGroupDir_Callback(thisArray, thisLength); case 1766817632/*Kind_CustomNodeBuilder*/: return deserializeAndCallCustomNodeBuilder(thisArray, thisLength); case -1729563209/*Kind_EditableTextOnChangeCallback*/: return deserializeAndCallEditableTextOnChangeCallback(thisArray, thisLength); @@ -5878,8 +6750,10 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case 1502213270/*Kind_InterceptionModeCallback*/: return deserializeAndCallInterceptionModeCallback(thisArray, thisLength); case 1852781814/*Kind_InterceptionShowCallback*/: return deserializeAndCallInterceptionShowCallback(thisArray, thisLength); case -464108861/*Kind_ListAttribute_onItemDragStart_event_type*/: return deserializeAndCallListAttribute_onItemDragStart_event_type(thisArray, thisLength); + case -957598032/*Kind_LocationButtonCallback*/: return deserializeAndCallLocationButtonCallback(thisArray, thisLength); case 810927048/*Kind_MenuCallback*/: return deserializeAndCallMenuCallback(thisArray, thisLength); case -614475458/*Kind_MenuOnAppearCallback*/: return deserializeAndCallMenuOnAppearCallback(thisArray, thisLength); + case -1066063065/*Kind_NavDestinationTransitionDelegate*/: return deserializeAndCallNavDestinationTransitionDelegate(thisArray, thisLength); case -588228933/*Kind_NavExtender_OnUpdateStack*/: return deserializeAndCallNavExtender_OnUpdateStack(thisArray, thisLength); case 1572284740/*Kind_OnAdsBlockedCallback*/: return deserializeAndCallOnAdsBlockedCallback(thisArray, thisLength); case 726938390/*Kind_OnAlphabetIndexerPopupSelectCallback*/: return deserializeAndCallOnAlphabetIndexerPopupSelectCallback(thisArray, thisLength); @@ -5890,6 +6764,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case -419979106/*Kind_OnContentScrollCallback*/: return deserializeAndCallOnContentScrollCallback(thisArray, thisLength); case 1788572278/*Kind_OnContextMenuHideCallback*/: return deserializeAndCallOnContextMenuHideCallback(thisArray, thisLength); case 1648184341/*Kind_OnDidChangeCallback*/: return deserializeAndCallOnDidChangeCallback(thisArray, thisLength); + case 1451593190/*Kind_OnDragEventCallback*/: return deserializeAndCallOnDragEventCallback(thisArray, thisLength); case 767275770/*Kind_OnFirstMeaningfulPaintCallback*/: return deserializeAndCallOnFirstMeaningfulPaintCallback(thisArray, thisLength); case 2050387049/*Kind_OnFoldStatusChangeCallback*/: return deserializeAndCallOnFoldStatusChangeCallback(thisArray, thisLength); case 81230317/*Kind_OnFullScreenEnterCallback*/: return deserializeAndCallOnFullScreenEnterCallback(thisArray, thisLength); @@ -5904,6 +6779,8 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case -398722176/*Kind_OnNavigationEntryCommittedCallback*/: return deserializeAndCallOnNavigationEntryCommittedCallback(thisArray, thisLength); case 865258467/*Kind_OnOverrideUrlLoadingCallback*/: return deserializeAndCallOnOverrideUrlLoadingCallback(thisArray, thisLength); case 1738363337/*Kind_OnPasteCallback*/: return deserializeAndCallOnPasteCallback(thisArray, thisLength); + case 511412333/*Kind_OnRadioChangeCallback*/: return deserializeAndCallOnRadioChangeCallback(thisArray, thisLength); + case -551895045/*Kind_OnRatingChangeCallback*/: return deserializeAndCallOnRatingChangeCallback(thisArray, thisLength); case 47282303/*Kind_OnRenderProcessNotRespondingCallback*/: return deserializeAndCallOnRenderProcessNotRespondingCallback(thisArray, thisLength); case 1334389194/*Kind_OnRenderProcessRespondingCallback*/: return deserializeAndCallOnRenderProcessRespondingCallback(thisArray, thisLength); case -1099824577/*Kind_OnSafeBrowsingCheckResultCallback*/: return deserializeAndCallOnSafeBrowsingCheckResultCallback(thisArray, thisLength); @@ -5911,6 +6788,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case -1259214476/*Kind_OnScrollEdgeCallback*/: return deserializeAndCallOnScrollEdgeCallback(thisArray, thisLength); case -2133791987/*Kind_OnScrollFrameBeginCallback*/: return deserializeAndCallOnScrollFrameBeginCallback(thisArray, thisLength); case 625641334/*Kind_OnScrollVisibleContentChangeCallback*/: return deserializeAndCallOnScrollVisibleContentChangeCallback(thisArray, thisLength); + case -1486869198/*Kind_OnSelectCallback*/: return deserializeAndCallOnSelectCallback(thisArray, thisLength); case -399603614/*Kind_OnSslErrorEventCallback*/: return deserializeAndCallOnSslErrorEventCallback(thisArray, thisLength); case -1961646162/*Kind_OnSubmitCallback*/: return deserializeAndCallOnSubmitCallback(thisArray, thisLength); case -143686583/*Kind_OnSwiperAnimationEndCallback*/: return deserializeAndCallOnSwiperAnimationEndCallback(thisArray, thisLength); @@ -5920,24 +6798,34 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case -147408344/*Kind_OnTabsAnimationStartCallback*/: return deserializeAndCallOnTabsAnimationStartCallback(thisArray, thisLength); case -349727249/*Kind_OnTabsContentWillChangeCallback*/: return deserializeAndCallOnTabsContentWillChangeCallback(thisArray, thisLength); case 253696833/*Kind_OnTabsGestureSwipeCallback*/: return deserializeAndCallOnTabsGestureSwipeCallback(thisArray, thisLength); + case -1902343417/*Kind_OnTextPickerChangeCallback*/: return deserializeAndCallOnTextPickerChangeCallback(thisArray, thisLength); case 695228737/*Kind_OnTextSelectionChangeCallback*/: return deserializeAndCallOnTextSelectionChangeCallback(thisArray, thisLength); + case 994429103/*Kind_OnTimePickerChangeCallback*/: return deserializeAndCallOnTimePickerChangeCallback(thisArray, thisLength); case 1847083191/*Kind_OnViewportFitChangedCallback*/: return deserializeAndCallOnViewportFitChangedCallback(thisArray, thisLength); case 1627123591/*Kind_PageTransitionCallback*/: return deserializeAndCallPageTransitionCallback(thisArray, thisLength); + case 1501373374/*Kind_PasteButtonCallback*/: return deserializeAndCallPasteButtonCallback(thisArray, thisLength); case 919057028/*Kind_PasteEventCallback*/: return deserializeAndCallPasteEventCallback(thisArray, thisLength); case -1992671958/*Kind_PluginErrorCallback*/: return deserializeAndCallPluginErrorCallback(thisArray, thisLength); + case -1444325632/*Kind_PopupStateChangeCallback*/: return deserializeAndCallPopupStateChangeCallback(thisArray, thisLength); case 2053798608/*Kind_ReceiveCallback*/: return deserializeAndCallReceiveCallback(thisArray, thisLength); case -1213708823/*Kind_RestrictedWorker_onerror_Callback*/: return deserializeAndCallRestrictedWorker_onerror_Callback(thisArray, thisLength); case -2095497263/*Kind_RestrictedWorker_onexit_Callback*/: return deserializeAndCallRestrictedWorker_onexit_Callback(thisArray, thisLength); case 1614214490/*Kind_RestrictedWorker_onmessage_Callback*/: return deserializeAndCallRestrictedWorker_onmessage_Callback(thisArray, thisLength); + case 1110529154/*Kind_ReuseIdCallback*/: return deserializeAndCallReuseIdCallback(thisArray, thisLength); + case -1634474996/*Kind_SaveButtonCallback*/: return deserializeAndCallSaveButtonCallback(thisArray, thisLength); case -1265626662/*Kind_ScrollOnScrollCallback*/: return deserializeAndCallScrollOnScrollCallback(thisArray, thisLength); case -721521596/*Kind_ScrollOnWillScrollCallback*/: return deserializeAndCallScrollOnWillScrollCallback(thisArray, thisLength); case 1717691617/*Kind_SearchSubmitCallback*/: return deserializeAndCallSearchSubmitCallback(thisArray, thisLength); case -250780276/*Kind_ShouldBuiltInRecognizerParallelWithCallback*/: return deserializeAndCallShouldBuiltInRecognizerParallelWithCallback(thisArray, thisLength); case -1716637992/*Kind_SizeChangeCallback*/: return deserializeAndCallSizeChangeCallback(thisArray, thisLength); case 711649376/*Kind_SliderTriggerChangeCallback*/: return deserializeAndCallSliderTriggerChangeCallback(thisArray, thisLength); + case 1095217433/*Kind_StyledStringMarshallCallback*/: return deserializeAndCallStyledStringMarshallCallback(thisArray, thisLength); + case 1359717794/*Kind_StyledStringUnmarshallCallback*/: return deserializeAndCallStyledStringUnmarshallCallback(thisArray, thisLength); case -712186065/*Kind_SubmitCallback*/: return deserializeAndCallSubmitCallback(thisArray, thisLength); case 221706282/*Kind_TabsCustomContentTransitionCallback*/: return deserializeAndCallTabsCustomContentTransitionCallback(thisArray, thisLength); case -401980571/*Kind_TextAreaSubmitCallback*/: return deserializeAndCallTextAreaSubmitCallback(thisArray, thisLength); + case -202014218/*Kind_TextPickerEnterSelectedAreaCallback*/: return deserializeAndCallTextPickerEnterSelectedAreaCallback(thisArray, thisLength); + case -1928298699/*Kind_TextPickerScrollStopCallback*/: return deserializeAndCallTextPickerScrollStopCallback(thisArray, thisLength); case 2057659801/*Kind_TextTimerAttribute_onTimer_event_type*/: return deserializeAndCallTextTimerAttribute_onTimer_event_type(thisArray, thisLength); case -1878458553/*Kind_TransitionFinishCallback*/: return deserializeAndCallTransitionFinishCallback(thisArray, thisLength); case 1044833488/*Kind_Type_NavigationAttribute_customNavContentTransition_delegate*/: return deserializeAndCallType_NavigationAttribute_customNavContentTransition_delegate(thisArray, thisLength); @@ -5956,6 +6844,7 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe { switch (kind) { case 589030517/*Kind_AccessibilityCallback*/: return deserializeAndCallSyncAccessibilityCallback(vmContext, thisArray, thisLength); + case 1715445305/*Kind_AccessibilityFocusCallback*/: return deserializeAndCallSyncAccessibilityFocusCallback(vmContext, thisArray, thisLength); case 300202685/*Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem*/: return deserializeAndCallSyncAsyncCallback_Array_TextMenuItem_Array_TextMenuItem(vmContext, thisArray, thisLength); case -1689064068/*Kind_AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics*/: return deserializeAndCallSyncAsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics(vmContext, thisArray, thisLength); case 1289587365/*Kind_AsyncCallback_image_PixelMap_Void*/: return deserializeAndCallSyncAsyncCallback_image_PixelMap_Void(vmContext, thisArray, thisLength); @@ -5966,17 +6855,17 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case -440782244/*Kind_Callback_Array_String_Void*/: return deserializeAndCallSyncCallback_Array_String_Void(vmContext, thisArray, thisLength); case 528588498/*Kind_Callback_Array_TextMenuItem_Void*/: return deserializeAndCallSyncCallback_Array_TextMenuItem_Void(vmContext, thisArray, thisLength); case -547276916/*Kind_Callback_Array_TouchTestInfo_TouchResult*/: return deserializeAndCallSyncCallback_Array_TouchTestInfo_TouchResult(vmContext, thisArray, thisLength); + case 109087936/*Kind_Callback_AxisEvent_Void*/: return deserializeAndCallSyncCallback_AxisEvent_Void(vmContext, thisArray, thisLength); case -1541107680/*Kind_Callback_Boolean*/: return deserializeAndCallSyncCallback_Boolean(vmContext, thisArray, thisLength); case -916602978/*Kind_Callback_Boolean_HoverEvent_Void*/: return deserializeAndCallSyncCallback_Boolean_HoverEvent_Void(vmContext, thisArray, thisLength); case 313269291/*Kind_Callback_Boolean_Void*/: return deserializeAndCallSyncCallback_Boolean_Void(vmContext, thisArray, thisLength); + case 908731311/*Kind_Callback_Buffer_Void*/: return deserializeAndCallSyncCallback_Buffer_Void(vmContext, thisArray, thisLength); case 1074619005/*Kind_Callback_CalendarRequestedData_Void*/: return deserializeAndCallSyncCallback_CalendarRequestedData_Void(vmContext, thisArray, thisLength); case -289198976/*Kind_Callback_CalendarSelectedDate_Void*/: return deserializeAndCallSyncCallback_CalendarSelectedDate_Void(vmContext, thisArray, thisLength); - case -1189087745/*Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void*/: return deserializeAndCallSyncCallback_ClickEvent_LocationButtonOnClickResult_Void(vmContext, thisArray, thisLength); - case 659292561/*Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void*/: return deserializeAndCallSyncCallback_ClickEvent_PasteButtonOnClickResult_Void(vmContext, thisArray, thisLength); - case 846787331/*Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void*/: return deserializeAndCallSyncCallback_ClickEvent_SaveButtonOnClickResult_Void(vmContext, thisArray, thisLength); case 1097178637/*Kind_Callback_ClickEvent_Void*/: return deserializeAndCallSyncCallback_ClickEvent_Void(vmContext, thisArray, thisLength); case -1270343661/*Kind_Callback_ComputedBarAttribute_Void*/: return deserializeAndCallSyncCallback_ComputedBarAttribute_Void(vmContext, thisArray, thisLength); case -120437466/*Kind_Callback_CopyEvent_Void*/: return deserializeAndCallSyncCallback_CopyEvent_Void(vmContext, thisArray, thisLength); + case -827253372/*Kind_Callback_CrownEvent_Void*/: return deserializeAndCallSyncCallback_CrownEvent_Void(vmContext, thisArray, thisLength); case -721106019/*Kind_Callback_CustomBuilder_Void*/: return deserializeAndCallSyncCallback_CustomBuilder_Void(vmContext, thisArray, thisLength); case 1362306791/*Kind_Callback_CustomSpanMetrics_Void*/: return deserializeAndCallSyncCallback_CustomSpanMetrics_Void(vmContext, thisArray, thisLength); case -1875695871/*Kind_Callback_CutEvent_Void*/: return deserializeAndCallSyncCallback_CutEvent_Void(vmContext, thisArray, thisLength); @@ -5991,9 +6880,11 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case 480978023/*Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo*/: return deserializeAndCallSyncCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(vmContext, thisArray, thisLength); case -17167687/*Kind_Callback_DragEvent_String_Void*/: return deserializeAndCallSyncCallback_DragEvent_String_Void(vmContext, thisArray, thisLength); case -2106022018/*Kind_Callback_DrawContext_CustomSpanDrawInfo_Void*/: return deserializeAndCallSyncCallback_DrawContext_CustomSpanDrawInfo_Void(vmContext, thisArray, thisLength); + case -602545319/*Kind_Callback_EditableTextChangeValue_Boolean*/: return deserializeAndCallSyncCallback_EditableTextChangeValue_Boolean(vmContext, thisArray, thisLength); case -1802605016/*Kind_Callback_EnterKeyType_Void*/: return deserializeAndCallSyncCallback_EnterKeyType_Void(vmContext, thisArray, thisLength); case -733525640/*Kind_Callback_Extender_OnFinish*/: return deserializeAndCallSyncCallback_Extender_OnFinish(vmContext, thisArray, thisLength); case 1264236374/*Kind_Callback_Extender_OnProgress*/: return deserializeAndCallSyncCallback_Extender_OnProgress(vmContext, thisArray, thisLength); + case 394781580/*Kind_Callback_FocusAxisEvent_Void*/: return deserializeAndCallSyncCallback_FocusAxisEvent_Void(vmContext, thisArray, thisLength); case 758395742/*Kind_Callback_FormCallbackInfo_Void*/: return deserializeAndCallSyncCallback_FormCallbackInfo_Void(vmContext, thisArray, thisLength); case 583294398/*Kind_Callback_FullscreenInfo_Void*/: return deserializeAndCallSyncCallback_FullscreenInfo_Void(vmContext, thisArray, thisLength); case -1143194492/*Kind_Callback_GestureEvent_Void*/: return deserializeAndCallSyncCallback_GestureEvent_Void(vmContext, thisArray, thisLength); @@ -6001,6 +6892,7 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case -684588584/*Kind_Callback_GestureJudgeResult_Void*/: return deserializeAndCallSyncCallback_GestureJudgeResult_Void(vmContext, thisArray, thisLength); case 776202910/*Kind_Callback_GestureRecognizer_Void*/: return deserializeAndCallSyncCallback_GestureRecognizer_Void(vmContext, thisArray, thisLength); case -1755111025/*Kind_Callback_HitTestMode_Void*/: return deserializeAndCallSyncCallback_HitTestMode_Void(vmContext, thisArray, thisLength); + case -1576788379/*Kind_Callback_HoverEvent_Void*/: return deserializeAndCallSyncCallback_HoverEvent_Void(vmContext, thisArray, thisLength); case -383025085/*Kind_Callback_InsertValue_Boolean*/: return deserializeAndCallSyncCallback_InsertValue_Boolean(vmContext, thisArray, thisLength); case -1121207885/*Kind_Callback_InsertValue_Void*/: return deserializeAndCallSyncCallback_InsertValue_Void(vmContext, thisArray, thisLength); case -1627362945/*Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void*/: return deserializeAndCallSyncCallback_ItemDragInfo_Number_Number_Boolean_Void(vmContext, thisArray, thisLength); @@ -6017,9 +6909,11 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case 222742448/*Kind_Callback_Literal_Object_detail_Boolean*/: return deserializeAndCallSyncCallback_Literal_Object_detail_Boolean(vmContext, thisArray, thisLength); case -122223466/*Kind_Callback_Literal_String_plainText_Void*/: return deserializeAndCallSyncCallback_Literal_String_plainText_Void(vmContext, thisArray, thisLength); case -1146723341/*Kind_Callback_Map_String_Object_Void*/: return deserializeAndCallSyncCallback_Map_String_Object_Void(vmContext, thisArray, thisLength); + case -716263454/*Kind_Callback_MarqueeState_Void*/: return deserializeAndCallSyncCallback_MarqueeState_Void(vmContext, thisArray, thisLength); case -1382640094/*Kind_Callback_MouseEvent_Void*/: return deserializeAndCallSyncCallback_MouseEvent_Void(vmContext, thisArray, thisLength); case 477481563/*Kind_Callback_NativeEmbedDataInfo_Void*/: return deserializeAndCallSyncCallback_NativeEmbedDataInfo_Void(vmContext, thisArray, thisLength); case -1090303858/*Kind_Callback_NativeEmbedTouchInfo_Void*/: return deserializeAndCallSyncCallback_NativeEmbedTouchInfo_Void(vmContext, thisArray, thisLength); + case 634825762/*Kind_Callback_NavDestinationActiveReason_Void*/: return deserializeAndCallSyncCallback_NavDestinationActiveReason_Void(vmContext, thisArray, thisLength); case -1642725259/*Kind_Callback_NavDestinationContext_Void*/: return deserializeAndCallSyncCallback_NavDestinationContext_Void(vmContext, thisArray, thisLength); case 960690982/*Kind_Callback_NavigationMode_Void*/: return deserializeAndCallSyncCallback_NavigationMode_Void(vmContext, thisArray, thisLength); case 1685437830/*Kind_Callback_NavigationTitleMode_Void*/: return deserializeAndCallSyncCallback_NavigationTitleMode_Void(vmContext, thisArray, thisLength); @@ -6036,6 +6930,7 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case 1602877440/*Kind_Callback_Number_Tuple_Number_Number*/: return deserializeAndCallSyncCallback_Number_Tuple_Number_Number(vmContext, thisArray, thisLength); case 1618565120/*Kind_Callback_Number_Tuple_Number_Number_Number_Number*/: return deserializeAndCallSyncCallback_Number_Tuple_Number_Number_Number_Number(vmContext, thisArray, thisLength); case 36519084/*Kind_Callback_Number_Void*/: return deserializeAndCallSyncCallback_Number_Void(vmContext, thisArray, thisLength); + case -1782529222/*Kind_Callback_Object_Void*/: return deserializeAndCallSyncCallback_Object_Void(vmContext, thisArray, thisLength); case 1295952075/*Kind_Callback_OffsetResult_Void*/: return deserializeAndCallSyncCallback_OffsetResult_Void(vmContext, thisArray, thisLength); case 806070428/*Kind_Callback_OnAlertEvent_Boolean*/: return deserializeAndCallSyncCallback_OnAlertEvent_Boolean(vmContext, thisArray, thisLength); case -1559789631/*Kind_Callback_OnAudioStateChangedEvent_Void*/: return deserializeAndCallSyncCallback_OnAudioStateChangedEvent_Void(vmContext, thisArray, thisLength); @@ -6074,6 +6969,7 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case -318085495/*Kind_Callback_OnTitleReceiveEvent_Void*/: return deserializeAndCallSyncCallback_OnTitleReceiveEvent_Void(vmContext, thisArray, thisLength); case 1657893064/*Kind_Callback_OnTouchIconUrlReceivedEvent_Void*/: return deserializeAndCallSyncCallback_OnTouchIconUrlReceivedEvent_Void(vmContext, thisArray, thisLength); case -2052382574/*Kind_Callback_OnWindowNewEvent_Void*/: return deserializeAndCallSyncCallback_OnWindowNewEvent_Void(vmContext, thisArray, thisLength); + case 406871767/*Kind_Callback_Opt_Array_NavDestinationTransition_Void*/: return deserializeAndCallSyncCallback_Opt_Array_NavDestinationTransition_Void(vmContext, thisArray, thisLength); case -543655128/*Kind_Callback_Opt_Array_String_Void*/: return deserializeAndCallSyncCallback_Opt_Array_String_Void(vmContext, thisArray, thisLength); case -2035339519/*Kind_Callback_Opt_NavigationAnimatedTransition_Void*/: return deserializeAndCallSyncCallback_Opt_NavigationAnimatedTransition_Void(vmContext, thisArray, thisLength); case -756319131/*Kind_Callback_Opt_StyledString_Opt_Array_String_Void*/: return deserializeAndCallSyncCallback_Opt_StyledString_Opt_Array_String_Void(vmContext, thisArray, thisLength); @@ -6097,11 +6993,12 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case -224451112/*Kind_Callback_SheetType_Void*/: return deserializeAndCallSyncCallback_SheetType_Void(vmContext, thisArray, thisLength); case 1536231691/*Kind_Callback_SpringBackAction_Void*/: return deserializeAndCallSyncCallback_SpringBackAction_Void(vmContext, thisArray, thisLength); case -879490874/*Kind_Callback_String_Number_Void*/: return deserializeAndCallSyncCallback_String_Number_Void(vmContext, thisArray, thisLength); + case -716524508/*Kind_Callback_String_Opt_Object_Void*/: return deserializeAndCallSyncCallback_String_Opt_Object_Void(vmContext, thisArray, thisLength); case -683652998/*Kind_Callback_String_PasteEvent_Void*/: return deserializeAndCallSyncCallback_String_PasteEvent_Void(vmContext, thisArray, thisLength); case -1736208400/*Kind_Callback_String_SurfaceRect_Void*/: return deserializeAndCallSyncCallback_String_SurfaceRect_Void(vmContext, thisArray, thisLength); - case -1493806035/*Kind_Callback_String_Unknown_Void*/: return deserializeAndCallSyncCallback_String_Unknown_Void(vmContext, thisArray, thisLength); case 814634522/*Kind_Callback_String_Void*/: return deserializeAndCallSyncCallback_String_Void(vmContext, thisArray, thisLength); case 2116745428/*Kind_Callback_StyledStringChangeValue_Boolean*/: return deserializeAndCallSyncCallback_StyledStringChangeValue_Boolean(vmContext, thisArray, thisLength); + case -1198150682/*Kind_Callback_StyledStringMarshallingValue_Void*/: return deserializeAndCallSyncCallback_StyledStringMarshallingValue_Void(vmContext, thisArray, thisLength); case -301561698/*Kind_Callback_SwipeActionState_Void*/: return deserializeAndCallSyncCallback_SwipeActionState_Void(vmContext, thisArray, thisLength); case -416053361/*Kind_Callback_SwiperContentTransitionProxy_Void*/: return deserializeAndCallSyncCallback_SwiperContentTransitionProxy_Void(vmContext, thisArray, thisLength); case -1223938478/*Kind_Callback_TabContentTransitionProxy_Void*/: return deserializeAndCallSyncCallback_TabContentTransitionProxy_Void(vmContext, thisArray, thisLength); @@ -6126,6 +7023,7 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case 1436479104/*Kind_Callback_WithThemeAttribute_Void*/: return deserializeAndCallSyncCallback_WithThemeAttribute_Void(vmContext, thisArray, thisLength); case -824029805/*Kind_Callback_WrappedBuilder_Args_Void*/: return deserializeAndCallSyncCallback_WrappedBuilder_Args_Void(vmContext, thisArray, thisLength); case 1532328438/*Kind_ContentDidScrollCallback*/: return deserializeAndCallSyncContentDidScrollCallback(vmContext, thisArray, thisLength); + case -2146044511/*Kind_ContentWillScrollCallback*/: return deserializeAndCallSyncContentWillScrollCallback(vmContext, thisArray, thisLength); case 260483890/*Kind_Context_getGroupDir_Callback*/: return deserializeAndCallSyncContext_getGroupDir_Callback(vmContext, thisArray, thisLength); case 1766817632/*Kind_CustomNodeBuilder*/: return deserializeAndCallSyncCustomNodeBuilder(vmContext, thisArray, thisLength); case -1729563209/*Kind_EditableTextOnChangeCallback*/: return deserializeAndCallSyncEditableTextOnChangeCallback(vmContext, thisArray, thisLength); @@ -6140,8 +7038,10 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case 1502213270/*Kind_InterceptionModeCallback*/: return deserializeAndCallSyncInterceptionModeCallback(vmContext, thisArray, thisLength); case 1852781814/*Kind_InterceptionShowCallback*/: return deserializeAndCallSyncInterceptionShowCallback(vmContext, thisArray, thisLength); case -464108861/*Kind_ListAttribute_onItemDragStart_event_type*/: return deserializeAndCallSyncListAttribute_onItemDragStart_event_type(vmContext, thisArray, thisLength); + case -957598032/*Kind_LocationButtonCallback*/: return deserializeAndCallSyncLocationButtonCallback(vmContext, thisArray, thisLength); case 810927048/*Kind_MenuCallback*/: return deserializeAndCallSyncMenuCallback(vmContext, thisArray, thisLength); case -614475458/*Kind_MenuOnAppearCallback*/: return deserializeAndCallSyncMenuOnAppearCallback(vmContext, thisArray, thisLength); + case -1066063065/*Kind_NavDestinationTransitionDelegate*/: return deserializeAndCallSyncNavDestinationTransitionDelegate(vmContext, thisArray, thisLength); case -588228933/*Kind_NavExtender_OnUpdateStack*/: return deserializeAndCallSyncNavExtender_OnUpdateStack(vmContext, thisArray, thisLength); case 1572284740/*Kind_OnAdsBlockedCallback*/: return deserializeAndCallSyncOnAdsBlockedCallback(vmContext, thisArray, thisLength); case 726938390/*Kind_OnAlphabetIndexerPopupSelectCallback*/: return deserializeAndCallSyncOnAlphabetIndexerPopupSelectCallback(vmContext, thisArray, thisLength); @@ -6152,6 +7052,7 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case -419979106/*Kind_OnContentScrollCallback*/: return deserializeAndCallSyncOnContentScrollCallback(vmContext, thisArray, thisLength); case 1788572278/*Kind_OnContextMenuHideCallback*/: return deserializeAndCallSyncOnContextMenuHideCallback(vmContext, thisArray, thisLength); case 1648184341/*Kind_OnDidChangeCallback*/: return deserializeAndCallSyncOnDidChangeCallback(vmContext, thisArray, thisLength); + case 1451593190/*Kind_OnDragEventCallback*/: return deserializeAndCallSyncOnDragEventCallback(vmContext, thisArray, thisLength); case 767275770/*Kind_OnFirstMeaningfulPaintCallback*/: return deserializeAndCallSyncOnFirstMeaningfulPaintCallback(vmContext, thisArray, thisLength); case 2050387049/*Kind_OnFoldStatusChangeCallback*/: return deserializeAndCallSyncOnFoldStatusChangeCallback(vmContext, thisArray, thisLength); case 81230317/*Kind_OnFullScreenEnterCallback*/: return deserializeAndCallSyncOnFullScreenEnterCallback(vmContext, thisArray, thisLength); @@ -6166,6 +7067,8 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case -398722176/*Kind_OnNavigationEntryCommittedCallback*/: return deserializeAndCallSyncOnNavigationEntryCommittedCallback(vmContext, thisArray, thisLength); case 865258467/*Kind_OnOverrideUrlLoadingCallback*/: return deserializeAndCallSyncOnOverrideUrlLoadingCallback(vmContext, thisArray, thisLength); case 1738363337/*Kind_OnPasteCallback*/: return deserializeAndCallSyncOnPasteCallback(vmContext, thisArray, thisLength); + case 511412333/*Kind_OnRadioChangeCallback*/: return deserializeAndCallSyncOnRadioChangeCallback(vmContext, thisArray, thisLength); + case -551895045/*Kind_OnRatingChangeCallback*/: return deserializeAndCallSyncOnRatingChangeCallback(vmContext, thisArray, thisLength); case 47282303/*Kind_OnRenderProcessNotRespondingCallback*/: return deserializeAndCallSyncOnRenderProcessNotRespondingCallback(vmContext, thisArray, thisLength); case 1334389194/*Kind_OnRenderProcessRespondingCallback*/: return deserializeAndCallSyncOnRenderProcessRespondingCallback(vmContext, thisArray, thisLength); case -1099824577/*Kind_OnSafeBrowsingCheckResultCallback*/: return deserializeAndCallSyncOnSafeBrowsingCheckResultCallback(vmContext, thisArray, thisLength); @@ -6173,6 +7076,7 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case -1259214476/*Kind_OnScrollEdgeCallback*/: return deserializeAndCallSyncOnScrollEdgeCallback(vmContext, thisArray, thisLength); case -2133791987/*Kind_OnScrollFrameBeginCallback*/: return deserializeAndCallSyncOnScrollFrameBeginCallback(vmContext, thisArray, thisLength); case 625641334/*Kind_OnScrollVisibleContentChangeCallback*/: return deserializeAndCallSyncOnScrollVisibleContentChangeCallback(vmContext, thisArray, thisLength); + case -1486869198/*Kind_OnSelectCallback*/: return deserializeAndCallSyncOnSelectCallback(vmContext, thisArray, thisLength); case -399603614/*Kind_OnSslErrorEventCallback*/: return deserializeAndCallSyncOnSslErrorEventCallback(vmContext, thisArray, thisLength); case -1961646162/*Kind_OnSubmitCallback*/: return deserializeAndCallSyncOnSubmitCallback(vmContext, thisArray, thisLength); case -143686583/*Kind_OnSwiperAnimationEndCallback*/: return deserializeAndCallSyncOnSwiperAnimationEndCallback(vmContext, thisArray, thisLength); @@ -6182,24 +7086,34 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case -147408344/*Kind_OnTabsAnimationStartCallback*/: return deserializeAndCallSyncOnTabsAnimationStartCallback(vmContext, thisArray, thisLength); case -349727249/*Kind_OnTabsContentWillChangeCallback*/: return deserializeAndCallSyncOnTabsContentWillChangeCallback(vmContext, thisArray, thisLength); case 253696833/*Kind_OnTabsGestureSwipeCallback*/: return deserializeAndCallSyncOnTabsGestureSwipeCallback(vmContext, thisArray, thisLength); + case -1902343417/*Kind_OnTextPickerChangeCallback*/: return deserializeAndCallSyncOnTextPickerChangeCallback(vmContext, thisArray, thisLength); case 695228737/*Kind_OnTextSelectionChangeCallback*/: return deserializeAndCallSyncOnTextSelectionChangeCallback(vmContext, thisArray, thisLength); + case 994429103/*Kind_OnTimePickerChangeCallback*/: return deserializeAndCallSyncOnTimePickerChangeCallback(vmContext, thisArray, thisLength); case 1847083191/*Kind_OnViewportFitChangedCallback*/: return deserializeAndCallSyncOnViewportFitChangedCallback(vmContext, thisArray, thisLength); case 1627123591/*Kind_PageTransitionCallback*/: return deserializeAndCallSyncPageTransitionCallback(vmContext, thisArray, thisLength); + case 1501373374/*Kind_PasteButtonCallback*/: return deserializeAndCallSyncPasteButtonCallback(vmContext, thisArray, thisLength); case 919057028/*Kind_PasteEventCallback*/: return deserializeAndCallSyncPasteEventCallback(vmContext, thisArray, thisLength); case -1992671958/*Kind_PluginErrorCallback*/: return deserializeAndCallSyncPluginErrorCallback(vmContext, thisArray, thisLength); + case -1444325632/*Kind_PopupStateChangeCallback*/: return deserializeAndCallSyncPopupStateChangeCallback(vmContext, thisArray, thisLength); case 2053798608/*Kind_ReceiveCallback*/: return deserializeAndCallSyncReceiveCallback(vmContext, thisArray, thisLength); case -1213708823/*Kind_RestrictedWorker_onerror_Callback*/: return deserializeAndCallSyncRestrictedWorker_onerror_Callback(vmContext, thisArray, thisLength); case -2095497263/*Kind_RestrictedWorker_onexit_Callback*/: return deserializeAndCallSyncRestrictedWorker_onexit_Callback(vmContext, thisArray, thisLength); case 1614214490/*Kind_RestrictedWorker_onmessage_Callback*/: return deserializeAndCallSyncRestrictedWorker_onmessage_Callback(vmContext, thisArray, thisLength); + case 1110529154/*Kind_ReuseIdCallback*/: return deserializeAndCallSyncReuseIdCallback(vmContext, thisArray, thisLength); + case -1634474996/*Kind_SaveButtonCallback*/: return deserializeAndCallSyncSaveButtonCallback(vmContext, thisArray, thisLength); case -1265626662/*Kind_ScrollOnScrollCallback*/: return deserializeAndCallSyncScrollOnScrollCallback(vmContext, thisArray, thisLength); case -721521596/*Kind_ScrollOnWillScrollCallback*/: return deserializeAndCallSyncScrollOnWillScrollCallback(vmContext, thisArray, thisLength); case 1717691617/*Kind_SearchSubmitCallback*/: return deserializeAndCallSyncSearchSubmitCallback(vmContext, thisArray, thisLength); case -250780276/*Kind_ShouldBuiltInRecognizerParallelWithCallback*/: return deserializeAndCallSyncShouldBuiltInRecognizerParallelWithCallback(vmContext, thisArray, thisLength); case -1716637992/*Kind_SizeChangeCallback*/: return deserializeAndCallSyncSizeChangeCallback(vmContext, thisArray, thisLength); case 711649376/*Kind_SliderTriggerChangeCallback*/: return deserializeAndCallSyncSliderTriggerChangeCallback(vmContext, thisArray, thisLength); + case 1095217433/*Kind_StyledStringMarshallCallback*/: return deserializeAndCallSyncStyledStringMarshallCallback(vmContext, thisArray, thisLength); + case 1359717794/*Kind_StyledStringUnmarshallCallback*/: return deserializeAndCallSyncStyledStringUnmarshallCallback(vmContext, thisArray, thisLength); case -712186065/*Kind_SubmitCallback*/: return deserializeAndCallSyncSubmitCallback(vmContext, thisArray, thisLength); case 221706282/*Kind_TabsCustomContentTransitionCallback*/: return deserializeAndCallSyncTabsCustomContentTransitionCallback(vmContext, thisArray, thisLength); case -401980571/*Kind_TextAreaSubmitCallback*/: return deserializeAndCallSyncTextAreaSubmitCallback(vmContext, thisArray, thisLength); + case -202014218/*Kind_TextPickerEnterSelectedAreaCallback*/: return deserializeAndCallSyncTextPickerEnterSelectedAreaCallback(vmContext, thisArray, thisLength); + case -1928298699/*Kind_TextPickerScrollStopCallback*/: return deserializeAndCallSyncTextPickerScrollStopCallback(vmContext, thisArray, thisLength); case 2057659801/*Kind_TextTimerAttribute_onTimer_event_type*/: return deserializeAndCallSyncTextTimerAttribute_onTimer_event_type(vmContext, thisArray, thisLength); case -1878458553/*Kind_TransitionFinishCallback*/: return deserializeAndCallSyncTransitionFinishCallback(vmContext, thisArray, thisLength); case 1044833488/*Kind_Type_NavigationAttribute_customNavContentTransition_delegate*/: return deserializeAndCallSyncType_NavigationAttribute_customNavContentTransition_delegate(vmContext, thisArray, thisLength); diff --git a/arkoala-arkts/framework/native/src/generated/callback_kind.h b/arkoala-arkts/framework/native/src/generated/callback_kind.h index 5f4c3cc1ab..68a8a6999e 100644 --- a/arkoala-arkts/framework/native/src/generated/callback_kind.h +++ b/arkoala-arkts/framework/native/src/generated/callback_kind.h @@ -4,6 +4,7 @@ typedef enum CallbackKind { Kind_AccessibilityCallback = 589030517, + Kind_AccessibilityFocusCallback = 1715445305, Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem = 300202685, Kind_AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics = -1689064068, Kind_AsyncCallback_image_PixelMap_Void = 1289587365, @@ -14,17 +15,17 @@ typedef enum CallbackKind { Kind_Callback_Array_String_Void = -440782244, Kind_Callback_Array_TextMenuItem_Void = 528588498, Kind_Callback_Array_TouchTestInfo_TouchResult = -547276916, + Kind_Callback_AxisEvent_Void = 109087936, Kind_Callback_Boolean = -1541107680, Kind_Callback_Boolean_HoverEvent_Void = -916602978, Kind_Callback_Boolean_Void = 313269291, + Kind_Callback_Buffer_Void = 908731311, Kind_Callback_CalendarRequestedData_Void = 1074619005, Kind_Callback_CalendarSelectedDate_Void = -289198976, - Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void = -1189087745, - Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void = 659292561, - Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void = 846787331, Kind_Callback_ClickEvent_Void = 1097178637, Kind_Callback_ComputedBarAttribute_Void = -1270343661, Kind_Callback_CopyEvent_Void = -120437466, + Kind_Callback_CrownEvent_Void = -827253372, Kind_Callback_CustomBuilder_Void = -721106019, Kind_Callback_CustomSpanMetrics_Void = 1362306791, Kind_Callback_CutEvent_Void = -1875695871, @@ -39,9 +40,11 @@ typedef enum CallbackKind { Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo = 480978023, Kind_Callback_DragEvent_String_Void = -17167687, Kind_Callback_DrawContext_CustomSpanDrawInfo_Void = -2106022018, + Kind_Callback_EditableTextChangeValue_Boolean = -602545319, Kind_Callback_EnterKeyType_Void = -1802605016, Kind_Callback_Extender_OnFinish = -733525640, Kind_Callback_Extender_OnProgress = 1264236374, + Kind_Callback_FocusAxisEvent_Void = 394781580, Kind_Callback_FormCallbackInfo_Void = 758395742, Kind_Callback_FullscreenInfo_Void = 583294398, Kind_Callback_GestureEvent_Void = -1143194492, @@ -49,6 +52,7 @@ typedef enum CallbackKind { Kind_Callback_GestureJudgeResult_Void = -684588584, Kind_Callback_GestureRecognizer_Void = 776202910, Kind_Callback_HitTestMode_Void = -1755111025, + Kind_Callback_HoverEvent_Void = -1576788379, Kind_Callback_InsertValue_Boolean = -383025085, Kind_Callback_InsertValue_Void = -1121207885, Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void = -1627362945, @@ -65,9 +69,11 @@ typedef enum CallbackKind { Kind_Callback_Literal_Object_detail_Boolean = 222742448, Kind_Callback_Literal_String_plainText_Void = -122223466, Kind_Callback_Map_String_Object_Void = -1146723341, + Kind_Callback_MarqueeState_Void = -716263454, Kind_Callback_MouseEvent_Void = -1382640094, Kind_Callback_NativeEmbedDataInfo_Void = 477481563, Kind_Callback_NativeEmbedTouchInfo_Void = -1090303858, + Kind_Callback_NavDestinationActiveReason_Void = 634825762, Kind_Callback_NavDestinationContext_Void = -1642725259, Kind_Callback_NavigationMode_Void = 960690982, Kind_Callback_NavigationTitleMode_Void = 1685437830, @@ -84,6 +90,7 @@ typedef enum CallbackKind { Kind_Callback_Number_Tuple_Number_Number = 1602877440, Kind_Callback_Number_Tuple_Number_Number_Number_Number = 1618565120, Kind_Callback_Number_Void = 36519084, + Kind_Callback_Object_Void = -1782529222, Kind_Callback_OffsetResult_Void = 1295952075, Kind_Callback_OnAlertEvent_Boolean = 806070428, Kind_Callback_OnAudioStateChangedEvent_Void = -1559789631, @@ -122,6 +129,7 @@ typedef enum CallbackKind { Kind_Callback_OnTitleReceiveEvent_Void = -318085495, Kind_Callback_OnTouchIconUrlReceivedEvent_Void = 1657893064, Kind_Callback_OnWindowNewEvent_Void = -2052382574, + Kind_Callback_Opt_Array_NavDestinationTransition_Void = 406871767, Kind_Callback_Opt_Array_String_Void = -543655128, Kind_Callback_Opt_NavigationAnimatedTransition_Void = -2035339519, Kind_Callback_Opt_StyledString_Opt_Array_String_Void = -756319131, @@ -145,11 +153,12 @@ typedef enum CallbackKind { Kind_Callback_SheetType_Void = -224451112, Kind_Callback_SpringBackAction_Void = 1536231691, Kind_Callback_String_Number_Void = -879490874, + Kind_Callback_String_Opt_Object_Void = -716524508, Kind_Callback_String_PasteEvent_Void = -683652998, Kind_Callback_String_SurfaceRect_Void = -1736208400, - Kind_Callback_String_Unknown_Void = -1493806035, Kind_Callback_String_Void = 814634522, Kind_Callback_StyledStringChangeValue_Boolean = 2116745428, + Kind_Callback_StyledStringMarshallingValue_Void = -1198150682, Kind_Callback_SwipeActionState_Void = -301561698, Kind_Callback_SwiperContentTransitionProxy_Void = -416053361, Kind_Callback_TabContentTransitionProxy_Void = -1223938478, @@ -174,6 +183,7 @@ typedef enum CallbackKind { Kind_Callback_WithThemeAttribute_Void = 1436479104, Kind_Callback_WrappedBuilder_Args_Void = -824029805, Kind_ContentDidScrollCallback = 1532328438, + Kind_ContentWillScrollCallback = -2146044511, Kind_Context_getGroupDir_Callback = 260483890, Kind_CustomNodeBuilder = 1766817632, Kind_EditableTextOnChangeCallback = -1729563209, @@ -188,8 +198,10 @@ typedef enum CallbackKind { Kind_InterceptionModeCallback = 1502213270, Kind_InterceptionShowCallback = 1852781814, Kind_ListAttribute_onItemDragStart_event_type = -464108861, + Kind_LocationButtonCallback = -957598032, Kind_MenuCallback = 810927048, Kind_MenuOnAppearCallback = -614475458, + Kind_NavDestinationTransitionDelegate = -1066063065, Kind_NavExtender_OnUpdateStack = -588228933, Kind_OnAdsBlockedCallback = 1572284740, Kind_OnAlphabetIndexerPopupSelectCallback = 726938390, @@ -200,6 +212,7 @@ typedef enum CallbackKind { Kind_OnContentScrollCallback = -419979106, Kind_OnContextMenuHideCallback = 1788572278, Kind_OnDidChangeCallback = 1648184341, + Kind_OnDragEventCallback = 1451593190, Kind_OnFirstMeaningfulPaintCallback = 767275770, Kind_OnFoldStatusChangeCallback = 2050387049, Kind_OnFullScreenEnterCallback = 81230317, @@ -214,6 +227,8 @@ typedef enum CallbackKind { Kind_OnNavigationEntryCommittedCallback = -398722176, Kind_OnOverrideUrlLoadingCallback = 865258467, Kind_OnPasteCallback = 1738363337, + Kind_OnRadioChangeCallback = 511412333, + Kind_OnRatingChangeCallback = -551895045, Kind_OnRenderProcessNotRespondingCallback = 47282303, Kind_OnRenderProcessRespondingCallback = 1334389194, Kind_OnSafeBrowsingCheckResultCallback = -1099824577, @@ -221,6 +236,7 @@ typedef enum CallbackKind { Kind_OnScrollEdgeCallback = -1259214476, Kind_OnScrollFrameBeginCallback = -2133791987, Kind_OnScrollVisibleContentChangeCallback = 625641334, + Kind_OnSelectCallback = -1486869198, Kind_OnSslErrorEventCallback = -399603614, Kind_OnSubmitCallback = -1961646162, Kind_OnSwiperAnimationEndCallback = -143686583, @@ -230,24 +246,34 @@ typedef enum CallbackKind { Kind_OnTabsAnimationStartCallback = -147408344, Kind_OnTabsContentWillChangeCallback = -349727249, Kind_OnTabsGestureSwipeCallback = 253696833, + Kind_OnTextPickerChangeCallback = -1902343417, Kind_OnTextSelectionChangeCallback = 695228737, + Kind_OnTimePickerChangeCallback = 994429103, Kind_OnViewportFitChangedCallback = 1847083191, Kind_PageTransitionCallback = 1627123591, + Kind_PasteButtonCallback = 1501373374, Kind_PasteEventCallback = 919057028, Kind_PluginErrorCallback = -1992671958, + Kind_PopupStateChangeCallback = -1444325632, Kind_ReceiveCallback = 2053798608, Kind_RestrictedWorker_onerror_Callback = -1213708823, Kind_RestrictedWorker_onexit_Callback = -2095497263, Kind_RestrictedWorker_onmessage_Callback = 1614214490, + Kind_ReuseIdCallback = 1110529154, + Kind_SaveButtonCallback = -1634474996, Kind_ScrollOnScrollCallback = -1265626662, Kind_ScrollOnWillScrollCallback = -721521596, Kind_SearchSubmitCallback = 1717691617, Kind_ShouldBuiltInRecognizerParallelWithCallback = -250780276, Kind_SizeChangeCallback = -1716637992, Kind_SliderTriggerChangeCallback = 711649376, + Kind_StyledStringMarshallCallback = 1095217433, + Kind_StyledStringUnmarshallCallback = 1359717794, Kind_SubmitCallback = -712186065, Kind_TabsCustomContentTransitionCallback = 221706282, Kind_TextAreaSubmitCallback = -401980571, + Kind_TextPickerEnterSelectedAreaCallback = -202014218, + Kind_TextPickerScrollStopCallback = -1928298699, Kind_TextTimerAttribute_onTimer_event_type = 2057659801, Kind_TransitionFinishCallback = -1878458553, Kind_Type_NavigationAttribute_customNavContentTransition_delegate = 1044833488, diff --git a/arkoala-arkts/framework/native/src/generated/callback_managed_caller.cc b/arkoala-arkts/framework/native/src/generated/callback_managed_caller.cc index 46031ad9ed..b9aa36cb03 100644 --- a/arkoala-arkts/framework/native/src/generated/callback_managed_caller.cc +++ b/arkoala-arkts/framework/native/src/generated/callback_managed_caller.cc @@ -42,6 +42,26 @@ void callManagedAccessibilityCallbackSync(Ark_VMContext vmContext, Ark_Int32 res argsSerializer.writeAccessibilityHoverEvent(event); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedAccessibilityFocusCallback(Ark_Int32 resourceId, Ark_Boolean isFocus) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_AccessibilityFocusCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeBoolean(isFocus); + enqueueCallback(&_buffer); +} +void callManagedAccessibilityFocusCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Boolean isFocus) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_AccessibilityFocusCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeBoolean(isFocus); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedAsyncCallback_Array_TextMenuItem_Array_TextMenuItem(Ark_Int32 resourceId, Array_TextMenuItem menuItems, Callback_Array_TextMenuItem_Void continuation) { CallbackBuffer _buffer = {{}, {}}; @@ -312,6 +332,26 @@ void callManagedCallback_Array_TouchTestInfo_TouchResultSync(Ark_VMContext vmCon argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_AxisEvent_Void(Ark_Int32 resourceId, Ark_AxisEvent parameter) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_AxisEvent_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeAxisEvent(parameter); + enqueueCallback(&_buffer); +} +void callManagedCallback_AxisEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_AxisEvent parameter) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_AxisEvent_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeAxisEvent(parameter); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_Boolean(Ark_Int32 resourceId, Callback_Boolean_Void continuation) { CallbackBuffer _buffer = {{}, {}}; @@ -378,110 +418,64 @@ void callManagedCallback_Boolean_VoidSync(Ark_VMContext vmContext, Ark_Int32 res argsSerializer.writeBoolean(isVisible); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } -void callManagedCallback_CalendarRequestedData_Void(Ark_Int32 resourceId, Ark_CalendarRequestedData event) -{ - CallbackBuffer _buffer = {{}, {}}; - const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; - _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); - Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_CalendarRequestedData_Void); - argsSerializer.writeInt32(resourceId); - argsSerializer.writeCalendarRequestedData(event); - enqueueCallback(&_buffer); -} -void callManagedCallback_CalendarRequestedData_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_CalendarRequestedData event) -{ - uint8_t _buffer[4096]; - Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); - argsSerializer.writeInt32(Kind_Callback_CalendarRequestedData_Void); - argsSerializer.writeInt32(resourceId); - argsSerializer.writeCalendarRequestedData(event); - KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); -} -void callManagedCallback_CalendarSelectedDate_Void(Ark_Int32 resourceId, Ark_CalendarSelectedDate event) -{ - CallbackBuffer _buffer = {{}, {}}; - const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; - _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); - Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_CalendarSelectedDate_Void); - argsSerializer.writeInt32(resourceId); - argsSerializer.writeCalendarSelectedDate(event); - enqueueCallback(&_buffer); -} -void callManagedCallback_CalendarSelectedDate_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_CalendarSelectedDate event) -{ - uint8_t _buffer[4096]; - Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); - argsSerializer.writeInt32(Kind_Callback_CalendarSelectedDate_Void); - argsSerializer.writeInt32(resourceId); - argsSerializer.writeCalendarSelectedDate(event); - KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); -} -void callManagedCallback_ClickEvent_LocationButtonOnClickResult_Void(Ark_Int32 resourceId, Ark_ClickEvent event, Ark_LocationButtonOnClickResult result) +void callManagedCallback_Buffer_Void(Ark_Int32 resourceId, Ark_Buffer value) { CallbackBuffer _buffer = {{}, {}}; const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void); + argsSerializer.writeInt32(Kind_Callback_Buffer_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeClickEvent(event); - argsSerializer.writeInt32(static_cast(result)); + argsSerializer.writeBuffer(value); enqueueCallback(&_buffer); } -void callManagedCallback_ClickEvent_LocationButtonOnClickResult_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_ClickEvent event, Ark_LocationButtonOnClickResult result) +void callManagedCallback_Buffer_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Buffer value) { uint8_t _buffer[4096]; Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); - argsSerializer.writeInt32(Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void); + argsSerializer.writeInt32(Kind_Callback_Buffer_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeClickEvent(event); - argsSerializer.writeInt32(static_cast(result)); + argsSerializer.writeBuffer(value); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } -void callManagedCallback_ClickEvent_PasteButtonOnClickResult_Void(Ark_Int32 resourceId, Ark_ClickEvent event, Ark_PasteButtonOnClickResult result) +void callManagedCallback_CalendarRequestedData_Void(Ark_Int32 resourceId, Ark_CalendarRequestedData event) { CallbackBuffer _buffer = {{}, {}}; const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void); + argsSerializer.writeInt32(Kind_Callback_CalendarRequestedData_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeClickEvent(event); - argsSerializer.writeInt32(static_cast(result)); + argsSerializer.writeCalendarRequestedData(event); enqueueCallback(&_buffer); } -void callManagedCallback_ClickEvent_PasteButtonOnClickResult_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_ClickEvent event, Ark_PasteButtonOnClickResult result) +void callManagedCallback_CalendarRequestedData_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_CalendarRequestedData event) { uint8_t _buffer[4096]; Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); - argsSerializer.writeInt32(Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void); + argsSerializer.writeInt32(Kind_Callback_CalendarRequestedData_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeClickEvent(event); - argsSerializer.writeInt32(static_cast(result)); + argsSerializer.writeCalendarRequestedData(event); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } -void callManagedCallback_ClickEvent_SaveButtonOnClickResult_Void(Ark_Int32 resourceId, Ark_ClickEvent event, Ark_SaveButtonOnClickResult result) +void callManagedCallback_CalendarSelectedDate_Void(Ark_Int32 resourceId, Ark_CalendarSelectedDate event) { CallbackBuffer _buffer = {{}, {}}; const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void); + argsSerializer.writeInt32(Kind_Callback_CalendarSelectedDate_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeClickEvent(event); - argsSerializer.writeInt32(static_cast(result)); + argsSerializer.writeCalendarSelectedDate(event); enqueueCallback(&_buffer); } -void callManagedCallback_ClickEvent_SaveButtonOnClickResult_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_ClickEvent event, Ark_SaveButtonOnClickResult result) +void callManagedCallback_CalendarSelectedDate_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_CalendarSelectedDate event) { uint8_t _buffer[4096]; Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); - argsSerializer.writeInt32(Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void); + argsSerializer.writeInt32(Kind_Callback_CalendarSelectedDate_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeClickEvent(event); - argsSerializer.writeInt32(static_cast(result)); + argsSerializer.writeCalendarSelectedDate(event); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } void callManagedCallback_ClickEvent_Void(Ark_Int32 resourceId, Ark_ClickEvent event) @@ -544,6 +538,26 @@ void callManagedCallback_CopyEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 r argsSerializer.writeCopyEvent(parameter); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_CrownEvent_Void(Ark_Int32 resourceId, Ark_CrownEvent parameter) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_CrownEvent_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeCrownEvent(parameter); + enqueueCallback(&_buffer); +} +void callManagedCallback_CrownEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_CrownEvent parameter) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_CrownEvent_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeCrownEvent(parameter); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_CustomBuilder_Void(Ark_Int32 resourceId, CustomNodeBuilder value) { CallbackBuffer _buffer = {{}, {}}; @@ -870,6 +884,32 @@ void callManagedCallback_DrawContext_CustomSpanDrawInfo_VoidSync(Ark_VMContext v argsSerializer.writeCustomSpanDrawInfo(drawInfo); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_EditableTextChangeValue_Boolean(Ark_Int32 resourceId, Ark_EditableTextChangeValue parameter, Callback_Boolean_Void continuation) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_EditableTextChangeValue_Boolean); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeEditableTextChangeValue(parameter); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(&_buffer); +} +void callManagedCallback_EditableTextChangeValue_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_EditableTextChangeValue parameter, Callback_Boolean_Void continuation) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_EditableTextChangeValue_Boolean); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeEditableTextChangeValue(parameter); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_EnterKeyType_Void(Ark_Int32 resourceId, Ark_EnterKeyType enterKey) { CallbackBuffer _buffer = {{}, {}}; @@ -928,6 +968,26 @@ void callManagedCallback_Extender_OnProgressSync(Ark_VMContext vmContext, Ark_In argsSerializer.writeFloat32(value); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_FocusAxisEvent_Void(Ark_Int32 resourceId, Ark_FocusAxisEvent parameter) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_FocusAxisEvent_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeFocusAxisEvent(parameter); + enqueueCallback(&_buffer); +} +void callManagedCallback_FocusAxisEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_FocusAxisEvent parameter) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_FocusAxisEvent_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeFocusAxisEvent(parameter); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_FormCallbackInfo_Void(Ark_Int32 resourceId, Ark_FormCallbackInfo parameter) { CallbackBuffer _buffer = {{}, {}}; @@ -1076,6 +1136,26 @@ void callManagedCallback_HitTestMode_VoidSync(Ark_VMContext vmContext, Ark_Int32 argsSerializer.writeInt32(static_cast(value)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_HoverEvent_Void(Ark_Int32 resourceId, Ark_HoverEvent parameter) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_HoverEvent_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeHoverEvent(parameter); + enqueueCallback(&_buffer); +} +void callManagedCallback_HoverEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_HoverEvent parameter) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_HoverEvent_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeHoverEvent(parameter); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_InsertValue_Boolean(Ark_Int32 resourceId, Ark_InsertValue parameter, Callback_Boolean_Void continuation) { CallbackBuffer _buffer = {{}, {}}; @@ -1500,6 +1580,26 @@ void callManagedCallback_Map_String_Object_VoidSync(Ark_VMContext vmContext, Ark } KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_MarqueeState_Void(Ark_Int32 resourceId, Ark_MarqueeState parameter) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_MarqueeState_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt32(static_cast(parameter)); + enqueueCallback(&_buffer); +} +void callManagedCallback_MarqueeState_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_MarqueeState parameter) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_MarqueeState_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt32(static_cast(parameter)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_MouseEvent_Void(Ark_Int32 resourceId, Ark_MouseEvent event) { CallbackBuffer _buffer = {{}, {}}; @@ -1560,6 +1660,26 @@ void callManagedCallback_NativeEmbedTouchInfo_VoidSync(Ark_VMContext vmContext, argsSerializer.writeNativeEmbedTouchInfo(event); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_NavDestinationActiveReason_Void(Ark_Int32 resourceId, Ark_NavDestinationActiveReason parameter) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_NavDestinationActiveReason_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt32(static_cast(parameter)); + enqueueCallback(&_buffer); +} +void callManagedCallback_NavDestinationActiveReason_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_NavDestinationActiveReason parameter) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_NavDestinationActiveReason_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt32(static_cast(parameter)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_NavDestinationContext_Void(Ark_Int32 resourceId, Ark_NavDestinationContext parameter) { CallbackBuffer _buffer = {{}, {}}; @@ -1936,6 +2056,28 @@ void callManagedCallback_Number_VoidSync(Ark_VMContext vmContext, Ark_Int32 reso argsSerializer.writeNumber(index); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_Object_Void(Ark_Int32 resourceId, Ark_Object parameter) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Object_Void); + argsSerializer.writeInt32(resourceId); + const Ark_CallbackResource arg0Resource = {parameter.resource.resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&arg0Resource); + argsSerializer.writeObject(parameter); + enqueueCallback(&_buffer); +} +void callManagedCallback_Object_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Object parameter) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_Object_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeObject(parameter); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_OffsetResult_Void(Ark_Int32 resourceId, Ark_OffsetResult value) { CallbackBuffer _buffer = {{}, {}}; @@ -2756,6 +2898,46 @@ void callManagedCallback_OnWindowNewEvent_VoidSync(Ark_VMContext vmContext, Ark_ argsSerializer.writeOnWindowNewEvent(parameter); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_Opt_Array_NavDestinationTransition_Void(Ark_Int32 resourceId, Opt_Array_NavDestinationTransition value) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_Opt_Array_NavDestinationTransition_Void); + argsSerializer.writeInt32(resourceId); + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; + value_type = runtimeType(value); + argsSerializer.writeInt8(value_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type)) { + const auto value_value = value.value; + argsSerializer.writeInt32(value_value.length); + for (int i = 0; i < value_value.length; i++) { + const Ark_NavDestinationTransition value_value_element = value_value.array[i]; + argsSerializer.writeNavDestinationTransition(value_value_element); + } + } + enqueueCallback(&_buffer); +} +void callManagedCallback_Opt_Array_NavDestinationTransition_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Opt_Array_NavDestinationTransition value) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_Opt_Array_NavDestinationTransition_Void); + argsSerializer.writeInt32(resourceId); + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; + value_type = runtimeType(value); + argsSerializer.writeInt8(value_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type)) { + const auto value_value = value.value; + argsSerializer.writeInt32(value_value.length); + for (int i = 0; i < value_value.length; i++) { + const Ark_NavDestinationTransition value_value_element = value_value.array[i]; + argsSerializer.writeNavDestinationTransition(value_value_element); + } + } + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_Opt_Array_String_Void(Ark_Int32 resourceId, Opt_Array_String error) { CallbackBuffer _buffer = {{}, {}}; @@ -3340,6 +3522,40 @@ void callManagedCallback_String_Number_VoidSync(Ark_VMContext vmContext, Ark_Int argsSerializer.writeNumber(index); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_String_Opt_Object_Void(Ark_Int32 resourceId, Ark_String name, Opt_Object param) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_String_Opt_Object_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeString(name); + Ark_Int32 param_type = INTEROP_RUNTIME_UNDEFINED; + param_type = runtimeType(param); + argsSerializer.writeInt8(param_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (param_type)) { + const auto param_value = param.value; + argsSerializer.writeObject(param_value); + } + enqueueCallback(&_buffer); +} +void callManagedCallback_String_Opt_Object_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_String name, Opt_Object param) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_String_Opt_Object_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeString(name); + Ark_Int32 param_type = INTEROP_RUNTIME_UNDEFINED; + param_type = runtimeType(param); + argsSerializer.writeInt8(param_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (param_type)) { + const auto param_value = param.value; + argsSerializer.writeObject(param_value); + } + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_String_PasteEvent_Void(Ark_Int32 resourceId, Ark_String value, Ark_PasteEvent event) { CallbackBuffer _buffer = {{}, {}}; @@ -3384,74 +3600,70 @@ void callManagedCallback_String_SurfaceRect_VoidSync(Ark_VMContext vmContext, Ar argsSerializer.writeSurfaceRect(rect); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } -void callManagedCallback_String_Unknown_Void(Ark_Int32 resourceId, Ark_String name, Ark_Object param) +void callManagedCallback_String_Void(Ark_Int32 resourceId, Ark_String breakpoints) { CallbackBuffer _buffer = {{}, {}}; const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_String_Unknown_Void); + argsSerializer.writeInt32(Kind_Callback_String_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeString(name); - const Ark_CallbackResource arg1Resource = {param.resource.resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; - _buffer.resourceHolder.holdCallbackResource(&arg1Resource); - argsSerializer.writeObject(param); + argsSerializer.writeString(breakpoints); enqueueCallback(&_buffer); } -void callManagedCallback_String_Unknown_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_String name, Ark_Object param) +void callManagedCallback_String_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_String breakpoints) { uint8_t _buffer[4096]; Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); - argsSerializer.writeInt32(Kind_Callback_String_Unknown_Void); + argsSerializer.writeInt32(Kind_Callback_String_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeString(name); - argsSerializer.writeObject(param); + argsSerializer.writeString(breakpoints); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } -void callManagedCallback_String_Void(Ark_Int32 resourceId, Ark_String breakpoints) +void callManagedCallback_StyledStringChangeValue_Boolean(Ark_Int32 resourceId, Ark_StyledStringChangeValue parameter, Callback_Boolean_Void continuation) { CallbackBuffer _buffer = {{}, {}}; const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_String_Void); + argsSerializer.writeInt32(Kind_Callback_StyledStringChangeValue_Boolean); argsSerializer.writeInt32(resourceId); - argsSerializer.writeString(breakpoints); - enqueueCallback(&_buffer); + argsSerializer.writeStyledStringChangeValue(parameter); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(&_buffer); } -void callManagedCallback_String_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_String breakpoints) +void callManagedCallback_StyledStringChangeValue_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_StyledStringChangeValue parameter, Callback_Boolean_Void continuation) { uint8_t _buffer[4096]; Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); - argsSerializer.writeInt32(Kind_Callback_String_Void); + argsSerializer.writeInt32(Kind_Callback_StyledStringChangeValue_Boolean); argsSerializer.writeInt32(resourceId); - argsSerializer.writeString(breakpoints); + argsSerializer.writeStyledStringChangeValue(parameter); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } -void callManagedCallback_StyledStringChangeValue_Boolean(Ark_Int32 resourceId, Ark_StyledStringChangeValue parameter, Callback_Boolean_Void continuation) +void callManagedCallback_StyledStringMarshallingValue_Void(Ark_Int32 resourceId, Ark_UserDataSpan value) { CallbackBuffer _buffer = {{}, {}}; const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_StyledStringChangeValue_Boolean); + argsSerializer.writeInt32(Kind_Callback_StyledStringMarshallingValue_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeStyledStringChangeValue(parameter); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + argsSerializer.writeUserDataSpan(value); enqueueCallback(&_buffer); } -void callManagedCallback_StyledStringChangeValue_BooleanSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_StyledStringChangeValue parameter, Callback_Boolean_Void continuation) +void callManagedCallback_StyledStringMarshallingValue_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_UserDataSpan value) { uint8_t _buffer[4096]; Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); - argsSerializer.writeInt32(Kind_Callback_StyledStringChangeValue_Boolean); + argsSerializer.writeInt32(Kind_Callback_StyledStringMarshallingValue_Void); argsSerializer.writeInt32(resourceId); - argsSerializer.writeStyledStringChangeValue(parameter); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + argsSerializer.writeUserDataSpan(value); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } void callManagedCallback_SwipeActionState_Void(Ark_Int32 resourceId, Ark_SwipeActionState state) @@ -4118,6 +4330,32 @@ void callManagedContentDidScrollCallbackSync(Ark_VMContext vmContext, Ark_Int32 argsSerializer.writeNumber(mainAxisLength); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedContentWillScrollCallback(Ark_Int32 resourceId, Ark_SwiperContentWillScrollResult result, Callback_Boolean_Void continuation) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_ContentWillScrollCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeSwiperContentWillScrollResult(result); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(&_buffer); +} +void callManagedContentWillScrollCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_SwiperContentWillScrollResult result, Callback_Boolean_Void continuation) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_ContentWillScrollCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeSwiperContentWillScrollResult(result); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedContext_getGroupDir_Callback(Ark_Int32 resourceId, Ark_String result) { CallbackBuffer _buffer = {{}, {}}; @@ -4164,7 +4402,7 @@ void callManagedCustomNodeBuilderSync(Ark_VMContext vmContext, Ark_Int32 resourc argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } -void callManagedEditableTextOnChangeCallback(Ark_Int32 resourceId, Ark_String value, Opt_PreviewText previewText) +void callManagedEditableTextOnChangeCallback(Ark_Int32 resourceId, Ark_String value, Opt_PreviewText previewText, Opt_TextChangeOptions options) { CallbackBuffer _buffer = {{}, {}}; const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; @@ -4180,9 +4418,16 @@ void callManagedEditableTextOnChangeCallback(Ark_Int32 resourceId, Ark_String va const auto previewText_value = previewText.value; argsSerializer.writePreviewText(previewText_value); } + Ark_Int32 options_type = INTEROP_RUNTIME_UNDEFINED; + options_type = runtimeType(options); + argsSerializer.writeInt8(options_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (options_type)) { + const auto options_value = options.value; + argsSerializer.writeTextChangeOptions(options_value); + } enqueueCallback(&_buffer); } -void callManagedEditableTextOnChangeCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_String value, Opt_PreviewText previewText) +void callManagedEditableTextOnChangeCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_String value, Opt_PreviewText previewText, Opt_TextChangeOptions options) { uint8_t _buffer[4096]; Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); @@ -4196,6 +4441,13 @@ void callManagedEditableTextOnChangeCallbackSync(Ark_VMContext vmContext, Ark_In const auto previewText_value = previewText.value; argsSerializer.writePreviewText(previewText_value); } + Ark_Int32 options_type = INTEROP_RUNTIME_UNDEFINED; + options_type = runtimeType(options); + argsSerializer.writeInt8(options_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (options_type)) { + const auto options_value = options.value; + argsSerializer.writeTextChangeOptions(options_value); + } KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } void callManagedErrorCallback(Ark_Int32 resourceId, Ark_BusinessError err) @@ -4510,6 +4762,42 @@ void callManagedListAttribute_onItemDragStart_event_typeSync(Ark_VMContext vmCon argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedLocationButtonCallback(Ark_Int32 resourceId, Ark_ClickEvent event, Ark_LocationButtonOnClickResult result, Opt_BusinessError error) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_LocationButtonCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeClickEvent(event); + argsSerializer.writeInt32(static_cast(result)); + Ark_Int32 error_type = INTEROP_RUNTIME_UNDEFINED; + error_type = runtimeType(error); + argsSerializer.writeInt8(error_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (error_type)) { + const auto error_value = error.value; + argsSerializer.writeBusinessError(error_value); + } + enqueueCallback(&_buffer); +} +void callManagedLocationButtonCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_ClickEvent event, Ark_LocationButtonOnClickResult result, Opt_BusinessError error) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_LocationButtonCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeClickEvent(event); + argsSerializer.writeInt32(static_cast(result)); + Ark_Int32 error_type = INTEROP_RUNTIME_UNDEFINED; + error_type = runtimeType(error); + argsSerializer.writeInt8(error_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (error_type)) { + const auto error_value = error.value; + argsSerializer.writeBusinessError(error_value); + } + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedMenuCallback(Ark_Int32 resourceId) { CallbackBuffer _buffer = {{}, {}}; @@ -4550,6 +4838,34 @@ void callManagedMenuOnAppearCallbackSync(Ark_VMContext vmContext, Ark_Int32 reso argsSerializer.writeNumber(end); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedNavDestinationTransitionDelegate(Ark_Int32 resourceId, Ark_NavigationOperation operation, Ark_Boolean isEnter, Callback_Opt_Array_NavDestinationTransition_Void continuation) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_NavDestinationTransitionDelegate); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt32(static_cast(operation)); + argsSerializer.writeBoolean(isEnter); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(&_buffer); +} +void callManagedNavDestinationTransitionDelegateSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_NavigationOperation operation, Ark_Boolean isEnter, Callback_Opt_Array_NavDestinationTransition_Void continuation) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_NavDestinationTransitionDelegate); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeInt32(static_cast(operation)); + argsSerializer.writeBoolean(isEnter); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedNavExtender_OnUpdateStack(Ark_Int32 resourceId, Ark_String name) { CallbackBuffer _buffer = {{}, {}}; @@ -4758,6 +5074,40 @@ void callManagedOnDidChangeCallbackSync(Ark_VMContext vmContext, Ark_Int32 resou argsSerializer.writeTextRange(rangeAfter); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedOnDragEventCallback(Ark_Int32 resourceId, Ark_DragEvent event, Opt_String extraParams) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnDragEventCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeDragEvent(event); + Ark_Int32 extraParams_type = INTEROP_RUNTIME_UNDEFINED; + extraParams_type = runtimeType(extraParams); + argsSerializer.writeInt8(extraParams_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_type)) { + const auto extraParams_value = extraParams.value; + argsSerializer.writeString(extraParams_value); + } + enqueueCallback(&_buffer); +} +void callManagedOnDragEventCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_DragEvent event, Opt_String extraParams) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_OnDragEventCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeDragEvent(event); + Ark_Int32 extraParams_type = INTEROP_RUNTIME_UNDEFINED; + extraParams_type = runtimeType(extraParams); + argsSerializer.writeInt8(extraParams_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_type)) { + const auto extraParams_value = extraParams.value; + argsSerializer.writeString(extraParams_value); + } + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedOnFirstMeaningfulPaintCallback(Ark_Int32 resourceId, Ark_FirstMeaningfulPaint firstMeaningfulPaint) { CallbackBuffer _buffer = {{}, {}}; @@ -5060,6 +5410,46 @@ void callManagedOnPasteCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceI argsSerializer.writePasteEvent(event); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedOnRadioChangeCallback(Ark_Int32 resourceId, Ark_Boolean isChecked) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnRadioChangeCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeBoolean(isChecked); + enqueueCallback(&_buffer); +} +void callManagedOnRadioChangeCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Boolean isChecked) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_OnRadioChangeCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeBoolean(isChecked); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} +void callManagedOnRatingChangeCallback(Ark_Int32 resourceId, Ark_Number rating) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnRatingChangeCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(rating); + enqueueCallback(&_buffer); +} +void callManagedOnRatingChangeCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number rating) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_OnRatingChangeCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(rating); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedOnRenderProcessNotRespondingCallback(Ark_Int32 resourceId, Ark_RenderProcessNotRespondingData data) { CallbackBuffer _buffer = {{}, {}}; @@ -5210,6 +5600,28 @@ void callManagedOnScrollVisibleContentChangeCallbackSync(Ark_VMContext vmContext argsSerializer.writeVisibleListContentInfo(end); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedOnSelectCallback(Ark_Int32 resourceId, Ark_Number index, Ark_String selectStr) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnSelectCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(index); + argsSerializer.writeString(selectStr); + enqueueCallback(&_buffer); +} +void callManagedOnSelectCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number index, Ark_String selectStr) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_OnSelectCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeNumber(index); + argsSerializer.writeString(selectStr); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedOnSslErrorEventCallback(Ark_Int32 resourceId, Ark_SslErrorEvent sslErrorEvent) { CallbackBuffer _buffer = {{}, {}}; @@ -5416,6 +5828,88 @@ void callManagedOnTabsGestureSwipeCallbackSync(Ark_VMContext vmContext, Ark_Int3 argsSerializer.writeTabsAnimationEvent(extraInfo); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedOnTextPickerChangeCallback(Ark_Int32 resourceId, Ark_Union_String_Array_String selectItem, Ark_Union_Number_Array_Number index) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnTextPickerChangeCallback); + argsSerializer.writeInt32(resourceId); + Ark_Int32 selectItem_type = INTEROP_RUNTIME_UNDEFINED; + selectItem_type = selectItem.selector; + if (selectItem_type == 0) { + argsSerializer.writeInt8(0); + const auto selectItem_0 = selectItem.value0; + argsSerializer.writeString(selectItem_0); + } + else if (selectItem_type == 1) { + argsSerializer.writeInt8(1); + const auto selectItem_1 = selectItem.value1; + argsSerializer.writeInt32(selectItem_1.length); + for (int i = 0; i < selectItem_1.length; i++) { + const Ark_String selectItem_1_element = selectItem_1.array[i]; + argsSerializer.writeString(selectItem_1_element); + } + } + Ark_Int32 index_type = INTEROP_RUNTIME_UNDEFINED; + index_type = index.selector; + if (index_type == 0) { + argsSerializer.writeInt8(0); + const auto index_0 = index.value0; + argsSerializer.writeNumber(index_0); + } + else if (index_type == 1) { + argsSerializer.writeInt8(1); + const auto index_1 = index.value1; + argsSerializer.writeInt32(index_1.length); + for (int i = 0; i < index_1.length; i++) { + const Ark_Number index_1_element = index_1.array[i]; + argsSerializer.writeNumber(index_1_element); + } + } + enqueueCallback(&_buffer); +} +void callManagedOnTextPickerChangeCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Union_String_Array_String selectItem, Ark_Union_Number_Array_Number index) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_OnTextPickerChangeCallback); + argsSerializer.writeInt32(resourceId); + Ark_Int32 selectItem_type = INTEROP_RUNTIME_UNDEFINED; + selectItem_type = selectItem.selector; + if (selectItem_type == 0) { + argsSerializer.writeInt8(0); + const auto selectItem_0 = selectItem.value0; + argsSerializer.writeString(selectItem_0); + } + else if (selectItem_type == 1) { + argsSerializer.writeInt8(1); + const auto selectItem_1 = selectItem.value1; + argsSerializer.writeInt32(selectItem_1.length); + for (int i = 0; i < selectItem_1.length; i++) { + const Ark_String selectItem_1_element = selectItem_1.array[i]; + argsSerializer.writeString(selectItem_1_element); + } + } + Ark_Int32 index_type = INTEROP_RUNTIME_UNDEFINED; + index_type = index.selector; + if (index_type == 0) { + argsSerializer.writeInt8(0); + const auto index_0 = index.value0; + argsSerializer.writeNumber(index_0); + } + else if (index_type == 1) { + argsSerializer.writeInt8(1); + const auto index_1 = index.value1; + argsSerializer.writeInt32(index_1.length); + for (int i = 0; i < index_1.length; i++) { + const Ark_Number index_1_element = index_1.array[i]; + argsSerializer.writeNumber(index_1_element); + } + } + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedOnTextSelectionChangeCallback(Ark_Int32 resourceId, Ark_Number selectionStart, Ark_Number selectionEnd) { CallbackBuffer _buffer = {{}, {}}; @@ -5438,6 +5932,26 @@ void callManagedOnTextSelectionChangeCallbackSync(Ark_VMContext vmContext, Ark_I argsSerializer.writeNumber(selectionEnd); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedOnTimePickerChangeCallback(Ark_Int32 resourceId, Ark_TimePickerResult result) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_OnTimePickerChangeCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeTimePickerResult(result); + enqueueCallback(&_buffer); +} +void callManagedOnTimePickerChangeCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_TimePickerResult result) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_OnTimePickerChangeCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeTimePickerResult(result); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedOnViewportFitChangedCallback(Ark_Int32 resourceId, Ark_ViewportFit viewportFit) { CallbackBuffer _buffer = {{}, {}}; @@ -5480,24 +5994,60 @@ void callManagedPageTransitionCallbackSync(Ark_VMContext vmContext, Ark_Int32 re argsSerializer.writeNumber(progress); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } -void callManagedPasteEventCallback(Ark_Int32 resourceId, Opt_PasteEvent event) +void callManagedPasteButtonCallback(Ark_Int32 resourceId, Ark_ClickEvent event, Ark_PasteButtonOnClickResult result, Opt_BusinessError error) { CallbackBuffer _buffer = {{}, {}}; const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_PasteEventCallback); + argsSerializer.writeInt32(Kind_PasteButtonCallback); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; - event_type = runtimeType(event); - argsSerializer.writeInt8(event_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { - const auto event_value = event.value; - argsSerializer.writePasteEvent(event_value); - } - enqueueCallback(&_buffer); -} -void callManagedPasteEventCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Opt_PasteEvent event) + argsSerializer.writeClickEvent(event); + argsSerializer.writeInt32(static_cast(result)); + Ark_Int32 error_type = INTEROP_RUNTIME_UNDEFINED; + error_type = runtimeType(error); + argsSerializer.writeInt8(error_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (error_type)) { + const auto error_value = error.value; + argsSerializer.writeBusinessError(error_value); + } + enqueueCallback(&_buffer); +} +void callManagedPasteButtonCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_ClickEvent event, Ark_PasteButtonOnClickResult result, Opt_BusinessError error) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_PasteButtonCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeClickEvent(event); + argsSerializer.writeInt32(static_cast(result)); + Ark_Int32 error_type = INTEROP_RUNTIME_UNDEFINED; + error_type = runtimeType(error); + argsSerializer.writeInt8(error_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (error_type)) { + const auto error_value = error.value; + argsSerializer.writeBusinessError(error_value); + } + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} +void callManagedPasteEventCallback(Ark_Int32 resourceId, Opt_PasteEvent event) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_PasteEventCallback); + argsSerializer.writeInt32(resourceId); + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; + event_type = runtimeType(event); + argsSerializer.writeInt8(event_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { + const auto event_value = event.value; + argsSerializer.writePasteEvent(event_value); + } + enqueueCallback(&_buffer); +} +void callManagedPasteEventCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Opt_PasteEvent event) { uint8_t _buffer[4096]; Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); @@ -5532,6 +6082,26 @@ void callManagedPluginErrorCallbackSync(Ark_VMContext vmContext, Ark_Int32 resou argsSerializer.writePluginErrorData(info); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedPopupStateChangeCallback(Ark_Int32 resourceId, Ark_PopupStateChangeParam event) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_PopupStateChangeCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writePopupStateChangeParam(event); + enqueueCallback(&_buffer); +} +void callManagedPopupStateChangeCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_PopupStateChangeParam event) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_PopupStateChangeCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writePopupStateChangeParam(event); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedReceiveCallback(Ark_Int32 resourceId, Map_String_Object data) { CallbackBuffer _buffer = {{}, {}}; @@ -5624,6 +6194,66 @@ void callManagedRestrictedWorker_onmessage_CallbackSync(Ark_VMContext vmContext, argsSerializer.writeMessageEvents(event); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedReuseIdCallback(Ark_Int32 resourceId, Callback_String_Void continuation) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_ReuseIdCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(&_buffer); +} +void callManagedReuseIdCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Callback_String_Void continuation) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_ReuseIdCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} +void callManagedSaveButtonCallback(Ark_Int32 resourceId, Ark_ClickEvent event, Ark_SaveButtonOnClickResult result, Opt_BusinessError error) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_SaveButtonCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeClickEvent(event); + argsSerializer.writeInt32(static_cast(result)); + Ark_Int32 error_type = INTEROP_RUNTIME_UNDEFINED; + error_type = runtimeType(error); + argsSerializer.writeInt8(error_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (error_type)) { + const auto error_value = error.value; + argsSerializer.writeBusinessError(error_value); + } + enqueueCallback(&_buffer); +} +void callManagedSaveButtonCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_ClickEvent event, Ark_SaveButtonOnClickResult result, Opt_BusinessError error) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_SaveButtonCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeClickEvent(event); + argsSerializer.writeInt32(static_cast(result)); + Ark_Int32 error_type = INTEROP_RUNTIME_UNDEFINED; + error_type = runtimeType(error); + argsSerializer.writeInt8(error_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (error_type)) { + const auto error_value = error.value; + argsSerializer.writeBusinessError(error_value); + } + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedScrollOnScrollCallback(Ark_Int32 resourceId, Ark_Number xOffset, Ark_Number yOffset, Ark_ScrollState scrollState) { CallbackBuffer _buffer = {{}, {}}; @@ -5794,6 +6424,58 @@ void callManagedSliderTriggerChangeCallbackSync(Ark_VMContext vmContext, Ark_Int argsSerializer.writeInt32(static_cast(mode)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedStyledStringMarshallCallback(Ark_Int32 resourceId, Ark_UserDataSpan marshallableVal, Callback_Buffer_Void continuation) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_StyledStringMarshallCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeUserDataSpan(marshallableVal); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(&_buffer); +} +void callManagedStyledStringMarshallCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_UserDataSpan marshallableVal, Callback_Buffer_Void continuation) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_StyledStringMarshallCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeUserDataSpan(marshallableVal); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} +void callManagedStyledStringUnmarshallCallback(Ark_Int32 resourceId, Ark_Buffer buf, Callback_StyledStringMarshallingValue_Void continuation) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_StyledStringUnmarshallCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeBuffer(buf); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(&_buffer); +} +void callManagedStyledStringUnmarshallCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Buffer buf, Callback_StyledStringMarshallingValue_Void continuation) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_StyledStringUnmarshallCallback); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeBuffer(buf); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedSubmitCallback(Ark_Int32 resourceId, Ark_EnterKeyType enterKey, Ark_SubmitEvent event) { CallbackBuffer _buffer = {{}, {}}; @@ -5878,6 +6560,170 @@ void callManagedTextAreaSubmitCallbackSync(Ark_VMContext vmContext, Ark_Int32 re } KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedTextPickerEnterSelectedAreaCallback(Ark_Int32 resourceId, Ark_Union_String_Array_String value, Ark_Union_Number_Array_Number index) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_TextPickerEnterSelectedAreaCallback); + argsSerializer.writeInt32(resourceId); + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; + value_type = value.selector; + if (value_type == 0) { + argsSerializer.writeInt8(0); + const auto value_0 = value.value0; + argsSerializer.writeString(value_0); + } + else if (value_type == 1) { + argsSerializer.writeInt8(1); + const auto value_1 = value.value1; + argsSerializer.writeInt32(value_1.length); + for (int i = 0; i < value_1.length; i++) { + const Ark_String value_1_element = value_1.array[i]; + argsSerializer.writeString(value_1_element); + } + } + Ark_Int32 index_type = INTEROP_RUNTIME_UNDEFINED; + index_type = index.selector; + if (index_type == 0) { + argsSerializer.writeInt8(0); + const auto index_0 = index.value0; + argsSerializer.writeNumber(index_0); + } + else if (index_type == 1) { + argsSerializer.writeInt8(1); + const auto index_1 = index.value1; + argsSerializer.writeInt32(index_1.length); + for (int i = 0; i < index_1.length; i++) { + const Ark_Number index_1_element = index_1.array[i]; + argsSerializer.writeNumber(index_1_element); + } + } + enqueueCallback(&_buffer); +} +void callManagedTextPickerEnterSelectedAreaCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Union_String_Array_String value, Ark_Union_Number_Array_Number index) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_TextPickerEnterSelectedAreaCallback); + argsSerializer.writeInt32(resourceId); + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; + value_type = value.selector; + if (value_type == 0) { + argsSerializer.writeInt8(0); + const auto value_0 = value.value0; + argsSerializer.writeString(value_0); + } + else if (value_type == 1) { + argsSerializer.writeInt8(1); + const auto value_1 = value.value1; + argsSerializer.writeInt32(value_1.length); + for (int i = 0; i < value_1.length; i++) { + const Ark_String value_1_element = value_1.array[i]; + argsSerializer.writeString(value_1_element); + } + } + Ark_Int32 index_type = INTEROP_RUNTIME_UNDEFINED; + index_type = index.selector; + if (index_type == 0) { + argsSerializer.writeInt8(0); + const auto index_0 = index.value0; + argsSerializer.writeNumber(index_0); + } + else if (index_type == 1) { + argsSerializer.writeInt8(1); + const auto index_1 = index.value1; + argsSerializer.writeInt32(index_1.length); + for (int i = 0; i < index_1.length; i++) { + const Ark_Number index_1_element = index_1.array[i]; + argsSerializer.writeNumber(index_1_element); + } + } + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} +void callManagedTextPickerScrollStopCallback(Ark_Int32 resourceId, Ark_Union_String_Array_String value, Ark_Union_Number_Array_Number index) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_TextPickerScrollStopCallback); + argsSerializer.writeInt32(resourceId); + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; + value_type = value.selector; + if (value_type == 0) { + argsSerializer.writeInt8(0); + const auto value_0 = value.value0; + argsSerializer.writeString(value_0); + } + else if (value_type == 1) { + argsSerializer.writeInt8(1); + const auto value_1 = value.value1; + argsSerializer.writeInt32(value_1.length); + for (int i = 0; i < value_1.length; i++) { + const Ark_String value_1_element = value_1.array[i]; + argsSerializer.writeString(value_1_element); + } + } + Ark_Int32 index_type = INTEROP_RUNTIME_UNDEFINED; + index_type = index.selector; + if (index_type == 0) { + argsSerializer.writeInt8(0); + const auto index_0 = index.value0; + argsSerializer.writeNumber(index_0); + } + else if (index_type == 1) { + argsSerializer.writeInt8(1); + const auto index_1 = index.value1; + argsSerializer.writeInt32(index_1.length); + for (int i = 0; i < index_1.length; i++) { + const Ark_Number index_1_element = index_1.array[i]; + argsSerializer.writeNumber(index_1_element); + } + } + enqueueCallback(&_buffer); +} +void callManagedTextPickerScrollStopCallbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Union_String_Array_String value, Ark_Union_Number_Array_Number index) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_TextPickerScrollStopCallback); + argsSerializer.writeInt32(resourceId); + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; + value_type = value.selector; + if (value_type == 0) { + argsSerializer.writeInt8(0); + const auto value_0 = value.value0; + argsSerializer.writeString(value_0); + } + else if (value_type == 1) { + argsSerializer.writeInt8(1); + const auto value_1 = value.value1; + argsSerializer.writeInt32(value_1.length); + for (int i = 0; i < value_1.length; i++) { + const Ark_String value_1_element = value_1.array[i]; + argsSerializer.writeString(value_1_element); + } + } + Ark_Int32 index_type = INTEROP_RUNTIME_UNDEFINED; + index_type = index.selector; + if (index_type == 0) { + argsSerializer.writeInt8(0); + const auto index_0 = index.value0; + argsSerializer.writeNumber(index_0); + } + else if (index_type == 1) { + argsSerializer.writeInt8(1); + const auto index_1 = index.value1; + argsSerializer.writeInt32(index_1.length); + for (int i = 0; i < index_1.length; i++) { + const Ark_Number index_1_element = index_1.array[i]; + argsSerializer.writeNumber(index_1_element); + } + } + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedTextTimerAttribute_onTimer_event_type(Ark_Int32 resourceId, Ark_Int64 utc, Ark_Int64 elapsedTime) { CallbackBuffer _buffer = {{}, {}}; @@ -6228,6 +7074,7 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) { switch (kind) { case Kind_AccessibilityCallback: return reinterpret_cast(callManagedAccessibilityCallback); + case Kind_AccessibilityFocusCallback: return reinterpret_cast(callManagedAccessibilityFocusCallback); case Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem: return reinterpret_cast(callManagedAsyncCallback_Array_TextMenuItem_Array_TextMenuItem); case Kind_AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics: return reinterpret_cast(callManagedAsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics); case Kind_AsyncCallback_image_PixelMap_Void: return reinterpret_cast(callManagedAsyncCallback_image_PixelMap_Void); @@ -6238,17 +7085,17 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_Array_String_Void: return reinterpret_cast(callManagedCallback_Array_String_Void); case Kind_Callback_Array_TextMenuItem_Void: return reinterpret_cast(callManagedCallback_Array_TextMenuItem_Void); case Kind_Callback_Array_TouchTestInfo_TouchResult: return reinterpret_cast(callManagedCallback_Array_TouchTestInfo_TouchResult); + case Kind_Callback_AxisEvent_Void: return reinterpret_cast(callManagedCallback_AxisEvent_Void); case Kind_Callback_Boolean: return reinterpret_cast(callManagedCallback_Boolean); case Kind_Callback_Boolean_HoverEvent_Void: return reinterpret_cast(callManagedCallback_Boolean_HoverEvent_Void); case Kind_Callback_Boolean_Void: return reinterpret_cast(callManagedCallback_Boolean_Void); + case Kind_Callback_Buffer_Void: return reinterpret_cast(callManagedCallback_Buffer_Void); case Kind_Callback_CalendarRequestedData_Void: return reinterpret_cast(callManagedCallback_CalendarRequestedData_Void); case Kind_Callback_CalendarSelectedDate_Void: return reinterpret_cast(callManagedCallback_CalendarSelectedDate_Void); - case Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void: return reinterpret_cast(callManagedCallback_ClickEvent_LocationButtonOnClickResult_Void); - case Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void: return reinterpret_cast(callManagedCallback_ClickEvent_PasteButtonOnClickResult_Void); - case Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void: return reinterpret_cast(callManagedCallback_ClickEvent_SaveButtonOnClickResult_Void); case Kind_Callback_ClickEvent_Void: return reinterpret_cast(callManagedCallback_ClickEvent_Void); case Kind_Callback_ComputedBarAttribute_Void: return reinterpret_cast(callManagedCallback_ComputedBarAttribute_Void); case Kind_Callback_CopyEvent_Void: return reinterpret_cast(callManagedCallback_CopyEvent_Void); + case Kind_Callback_CrownEvent_Void: return reinterpret_cast(callManagedCallback_CrownEvent_Void); case Kind_Callback_CustomBuilder_Void: return reinterpret_cast(callManagedCallback_CustomBuilder_Void); case Kind_Callback_CustomSpanMetrics_Void: return reinterpret_cast(callManagedCallback_CustomSpanMetrics_Void); case Kind_Callback_CutEvent_Void: return reinterpret_cast(callManagedCallback_CutEvent_Void); @@ -6263,9 +7110,11 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo: return reinterpret_cast(callManagedCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo); case Kind_Callback_DragEvent_String_Void: return reinterpret_cast(callManagedCallback_DragEvent_String_Void); case Kind_Callback_DrawContext_CustomSpanDrawInfo_Void: return reinterpret_cast(callManagedCallback_DrawContext_CustomSpanDrawInfo_Void); + case Kind_Callback_EditableTextChangeValue_Boolean: return reinterpret_cast(callManagedCallback_EditableTextChangeValue_Boolean); case Kind_Callback_EnterKeyType_Void: return reinterpret_cast(callManagedCallback_EnterKeyType_Void); case Kind_Callback_Extender_OnFinish: return reinterpret_cast(callManagedCallback_Extender_OnFinish); case Kind_Callback_Extender_OnProgress: return reinterpret_cast(callManagedCallback_Extender_OnProgress); + case Kind_Callback_FocusAxisEvent_Void: return reinterpret_cast(callManagedCallback_FocusAxisEvent_Void); case Kind_Callback_FormCallbackInfo_Void: return reinterpret_cast(callManagedCallback_FormCallbackInfo_Void); case Kind_Callback_FullscreenInfo_Void: return reinterpret_cast(callManagedCallback_FullscreenInfo_Void); case Kind_Callback_GestureEvent_Void: return reinterpret_cast(callManagedCallback_GestureEvent_Void); @@ -6273,6 +7122,7 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_GestureJudgeResult_Void: return reinterpret_cast(callManagedCallback_GestureJudgeResult_Void); case Kind_Callback_GestureRecognizer_Void: return reinterpret_cast(callManagedCallback_GestureRecognizer_Void); case Kind_Callback_HitTestMode_Void: return reinterpret_cast(callManagedCallback_HitTestMode_Void); + case Kind_Callback_HoverEvent_Void: return reinterpret_cast(callManagedCallback_HoverEvent_Void); case Kind_Callback_InsertValue_Boolean: return reinterpret_cast(callManagedCallback_InsertValue_Boolean); case Kind_Callback_InsertValue_Void: return reinterpret_cast(callManagedCallback_InsertValue_Void); case Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void: return reinterpret_cast(callManagedCallback_ItemDragInfo_Number_Number_Boolean_Void); @@ -6289,9 +7139,11 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_Literal_Object_detail_Boolean: return reinterpret_cast(callManagedCallback_Literal_Object_detail_Boolean); case Kind_Callback_Literal_String_plainText_Void: return reinterpret_cast(callManagedCallback_Literal_String_plainText_Void); case Kind_Callback_Map_String_Object_Void: return reinterpret_cast(callManagedCallback_Map_String_Object_Void); + case Kind_Callback_MarqueeState_Void: return reinterpret_cast(callManagedCallback_MarqueeState_Void); case Kind_Callback_MouseEvent_Void: return reinterpret_cast(callManagedCallback_MouseEvent_Void); case Kind_Callback_NativeEmbedDataInfo_Void: return reinterpret_cast(callManagedCallback_NativeEmbedDataInfo_Void); case Kind_Callback_NativeEmbedTouchInfo_Void: return reinterpret_cast(callManagedCallback_NativeEmbedTouchInfo_Void); + case Kind_Callback_NavDestinationActiveReason_Void: return reinterpret_cast(callManagedCallback_NavDestinationActiveReason_Void); case Kind_Callback_NavDestinationContext_Void: return reinterpret_cast(callManagedCallback_NavDestinationContext_Void); case Kind_Callback_NavigationMode_Void: return reinterpret_cast(callManagedCallback_NavigationMode_Void); case Kind_Callback_NavigationTitleMode_Void: return reinterpret_cast(callManagedCallback_NavigationTitleMode_Void); @@ -6308,6 +7160,7 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_Number_Tuple_Number_Number: return reinterpret_cast(callManagedCallback_Number_Tuple_Number_Number); case Kind_Callback_Number_Tuple_Number_Number_Number_Number: return reinterpret_cast(callManagedCallback_Number_Tuple_Number_Number_Number_Number); case Kind_Callback_Number_Void: return reinterpret_cast(callManagedCallback_Number_Void); + case Kind_Callback_Object_Void: return reinterpret_cast(callManagedCallback_Object_Void); case Kind_Callback_OffsetResult_Void: return reinterpret_cast(callManagedCallback_OffsetResult_Void); case Kind_Callback_OnAlertEvent_Boolean: return reinterpret_cast(callManagedCallback_OnAlertEvent_Boolean); case Kind_Callback_OnAudioStateChangedEvent_Void: return reinterpret_cast(callManagedCallback_OnAudioStateChangedEvent_Void); @@ -6346,6 +7199,7 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_OnTitleReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnTitleReceiveEvent_Void); case Kind_Callback_OnTouchIconUrlReceivedEvent_Void: return reinterpret_cast(callManagedCallback_OnTouchIconUrlReceivedEvent_Void); case Kind_Callback_OnWindowNewEvent_Void: return reinterpret_cast(callManagedCallback_OnWindowNewEvent_Void); + case Kind_Callback_Opt_Array_NavDestinationTransition_Void: return reinterpret_cast(callManagedCallback_Opt_Array_NavDestinationTransition_Void); case Kind_Callback_Opt_Array_String_Void: return reinterpret_cast(callManagedCallback_Opt_Array_String_Void); case Kind_Callback_Opt_NavigationAnimatedTransition_Void: return reinterpret_cast(callManagedCallback_Opt_NavigationAnimatedTransition_Void); case Kind_Callback_Opt_StyledString_Opt_Array_String_Void: return reinterpret_cast(callManagedCallback_Opt_StyledString_Opt_Array_String_Void); @@ -6369,11 +7223,12 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_SheetType_Void: return reinterpret_cast(callManagedCallback_SheetType_Void); case Kind_Callback_SpringBackAction_Void: return reinterpret_cast(callManagedCallback_SpringBackAction_Void); case Kind_Callback_String_Number_Void: return reinterpret_cast(callManagedCallback_String_Number_Void); + case Kind_Callback_String_Opt_Object_Void: return reinterpret_cast(callManagedCallback_String_Opt_Object_Void); case Kind_Callback_String_PasteEvent_Void: return reinterpret_cast(callManagedCallback_String_PasteEvent_Void); case Kind_Callback_String_SurfaceRect_Void: return reinterpret_cast(callManagedCallback_String_SurfaceRect_Void); - case Kind_Callback_String_Unknown_Void: return reinterpret_cast(callManagedCallback_String_Unknown_Void); case Kind_Callback_String_Void: return reinterpret_cast(callManagedCallback_String_Void); case Kind_Callback_StyledStringChangeValue_Boolean: return reinterpret_cast(callManagedCallback_StyledStringChangeValue_Boolean); + case Kind_Callback_StyledStringMarshallingValue_Void: return reinterpret_cast(callManagedCallback_StyledStringMarshallingValue_Void); case Kind_Callback_SwipeActionState_Void: return reinterpret_cast(callManagedCallback_SwipeActionState_Void); case Kind_Callback_SwiperContentTransitionProxy_Void: return reinterpret_cast(callManagedCallback_SwiperContentTransitionProxy_Void); case Kind_Callback_TabContentTransitionProxy_Void: return reinterpret_cast(callManagedCallback_TabContentTransitionProxy_Void); @@ -6398,6 +7253,7 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_WithThemeAttribute_Void: return reinterpret_cast(callManagedCallback_WithThemeAttribute_Void); case Kind_Callback_WrappedBuilder_Args_Void: return reinterpret_cast(callManagedCallback_WrappedBuilder_Args_Void); case Kind_ContentDidScrollCallback: return reinterpret_cast(callManagedContentDidScrollCallback); + case Kind_ContentWillScrollCallback: return reinterpret_cast(callManagedContentWillScrollCallback); case Kind_Context_getGroupDir_Callback: return reinterpret_cast(callManagedContext_getGroupDir_Callback); case Kind_CustomNodeBuilder: return reinterpret_cast(callManagedCustomNodeBuilder); case Kind_EditableTextOnChangeCallback: return reinterpret_cast(callManagedEditableTextOnChangeCallback); @@ -6412,8 +7268,10 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_InterceptionModeCallback: return reinterpret_cast(callManagedInterceptionModeCallback); case Kind_InterceptionShowCallback: return reinterpret_cast(callManagedInterceptionShowCallback); case Kind_ListAttribute_onItemDragStart_event_type: return reinterpret_cast(callManagedListAttribute_onItemDragStart_event_type); + case Kind_LocationButtonCallback: return reinterpret_cast(callManagedLocationButtonCallback); case Kind_MenuCallback: return reinterpret_cast(callManagedMenuCallback); case Kind_MenuOnAppearCallback: return reinterpret_cast(callManagedMenuOnAppearCallback); + case Kind_NavDestinationTransitionDelegate: return reinterpret_cast(callManagedNavDestinationTransitionDelegate); case Kind_NavExtender_OnUpdateStack: return reinterpret_cast(callManagedNavExtender_OnUpdateStack); case Kind_OnAdsBlockedCallback: return reinterpret_cast(callManagedOnAdsBlockedCallback); case Kind_OnAlphabetIndexerPopupSelectCallback: return reinterpret_cast(callManagedOnAlphabetIndexerPopupSelectCallback); @@ -6424,6 +7282,7 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_OnContentScrollCallback: return reinterpret_cast(callManagedOnContentScrollCallback); case Kind_OnContextMenuHideCallback: return reinterpret_cast(callManagedOnContextMenuHideCallback); case Kind_OnDidChangeCallback: return reinterpret_cast(callManagedOnDidChangeCallback); + case Kind_OnDragEventCallback: return reinterpret_cast(callManagedOnDragEventCallback); case Kind_OnFirstMeaningfulPaintCallback: return reinterpret_cast(callManagedOnFirstMeaningfulPaintCallback); case Kind_OnFoldStatusChangeCallback: return reinterpret_cast(callManagedOnFoldStatusChangeCallback); case Kind_OnFullScreenEnterCallback: return reinterpret_cast(callManagedOnFullScreenEnterCallback); @@ -6438,6 +7297,8 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_OnNavigationEntryCommittedCallback: return reinterpret_cast(callManagedOnNavigationEntryCommittedCallback); case Kind_OnOverrideUrlLoadingCallback: return reinterpret_cast(callManagedOnOverrideUrlLoadingCallback); case Kind_OnPasteCallback: return reinterpret_cast(callManagedOnPasteCallback); + case Kind_OnRadioChangeCallback: return reinterpret_cast(callManagedOnRadioChangeCallback); + case Kind_OnRatingChangeCallback: return reinterpret_cast(callManagedOnRatingChangeCallback); case Kind_OnRenderProcessNotRespondingCallback: return reinterpret_cast(callManagedOnRenderProcessNotRespondingCallback); case Kind_OnRenderProcessRespondingCallback: return reinterpret_cast(callManagedOnRenderProcessRespondingCallback); case Kind_OnSafeBrowsingCheckResultCallback: return reinterpret_cast(callManagedOnSafeBrowsingCheckResultCallback); @@ -6445,6 +7306,7 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_OnScrollEdgeCallback: return reinterpret_cast(callManagedOnScrollEdgeCallback); case Kind_OnScrollFrameBeginCallback: return reinterpret_cast(callManagedOnScrollFrameBeginCallback); case Kind_OnScrollVisibleContentChangeCallback: return reinterpret_cast(callManagedOnScrollVisibleContentChangeCallback); + case Kind_OnSelectCallback: return reinterpret_cast(callManagedOnSelectCallback); case Kind_OnSslErrorEventCallback: return reinterpret_cast(callManagedOnSslErrorEventCallback); case Kind_OnSubmitCallback: return reinterpret_cast(callManagedOnSubmitCallback); case Kind_OnSwiperAnimationEndCallback: return reinterpret_cast(callManagedOnSwiperAnimationEndCallback); @@ -6454,24 +7316,34 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_OnTabsAnimationStartCallback: return reinterpret_cast(callManagedOnTabsAnimationStartCallback); case Kind_OnTabsContentWillChangeCallback: return reinterpret_cast(callManagedOnTabsContentWillChangeCallback); case Kind_OnTabsGestureSwipeCallback: return reinterpret_cast(callManagedOnTabsGestureSwipeCallback); + case Kind_OnTextPickerChangeCallback: return reinterpret_cast(callManagedOnTextPickerChangeCallback); case Kind_OnTextSelectionChangeCallback: return reinterpret_cast(callManagedOnTextSelectionChangeCallback); + case Kind_OnTimePickerChangeCallback: return reinterpret_cast(callManagedOnTimePickerChangeCallback); case Kind_OnViewportFitChangedCallback: return reinterpret_cast(callManagedOnViewportFitChangedCallback); case Kind_PageTransitionCallback: return reinterpret_cast(callManagedPageTransitionCallback); + case Kind_PasteButtonCallback: return reinterpret_cast(callManagedPasteButtonCallback); case Kind_PasteEventCallback: return reinterpret_cast(callManagedPasteEventCallback); case Kind_PluginErrorCallback: return reinterpret_cast(callManagedPluginErrorCallback); + case Kind_PopupStateChangeCallback: return reinterpret_cast(callManagedPopupStateChangeCallback); case Kind_ReceiveCallback: return reinterpret_cast(callManagedReceiveCallback); case Kind_RestrictedWorker_onerror_Callback: return reinterpret_cast(callManagedRestrictedWorker_onerror_Callback); case Kind_RestrictedWorker_onexit_Callback: return reinterpret_cast(callManagedRestrictedWorker_onexit_Callback); case Kind_RestrictedWorker_onmessage_Callback: return reinterpret_cast(callManagedRestrictedWorker_onmessage_Callback); + case Kind_ReuseIdCallback: return reinterpret_cast(callManagedReuseIdCallback); + case Kind_SaveButtonCallback: return reinterpret_cast(callManagedSaveButtonCallback); case Kind_ScrollOnScrollCallback: return reinterpret_cast(callManagedScrollOnScrollCallback); case Kind_ScrollOnWillScrollCallback: return reinterpret_cast(callManagedScrollOnWillScrollCallback); case Kind_SearchSubmitCallback: return reinterpret_cast(callManagedSearchSubmitCallback); case Kind_ShouldBuiltInRecognizerParallelWithCallback: return reinterpret_cast(callManagedShouldBuiltInRecognizerParallelWithCallback); case Kind_SizeChangeCallback: return reinterpret_cast(callManagedSizeChangeCallback); case Kind_SliderTriggerChangeCallback: return reinterpret_cast(callManagedSliderTriggerChangeCallback); + case Kind_StyledStringMarshallCallback: return reinterpret_cast(callManagedStyledStringMarshallCallback); + case Kind_StyledStringUnmarshallCallback: return reinterpret_cast(callManagedStyledStringUnmarshallCallback); case Kind_SubmitCallback: return reinterpret_cast(callManagedSubmitCallback); case Kind_TabsCustomContentTransitionCallback: return reinterpret_cast(callManagedTabsCustomContentTransitionCallback); case Kind_TextAreaSubmitCallback: return reinterpret_cast(callManagedTextAreaSubmitCallback); + case Kind_TextPickerEnterSelectedAreaCallback: return reinterpret_cast(callManagedTextPickerEnterSelectedAreaCallback); + case Kind_TextPickerScrollStopCallback: return reinterpret_cast(callManagedTextPickerScrollStopCallback); case Kind_TextTimerAttribute_onTimer_event_type: return reinterpret_cast(callManagedTextTimerAttribute_onTimer_event_type); case Kind_TransitionFinishCallback: return reinterpret_cast(callManagedTransitionFinishCallback); case Kind_Type_NavigationAttribute_customNavContentTransition_delegate: return reinterpret_cast(callManagedType_NavigationAttribute_customNavContentTransition_delegate); @@ -6489,6 +7361,7 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) { switch (kind) { case Kind_AccessibilityCallback: return reinterpret_cast(callManagedAccessibilityCallbackSync); + case Kind_AccessibilityFocusCallback: return reinterpret_cast(callManagedAccessibilityFocusCallbackSync); case Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem: return reinterpret_cast(callManagedAsyncCallback_Array_TextMenuItem_Array_TextMenuItemSync); case Kind_AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics: return reinterpret_cast(callManagedAsyncCallback_CustomSpanMeasureInfo_CustomSpanMetricsSync); case Kind_AsyncCallback_image_PixelMap_Void: return reinterpret_cast(callManagedAsyncCallback_image_PixelMap_VoidSync); @@ -6499,17 +7372,17 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_Array_String_Void: return reinterpret_cast(callManagedCallback_Array_String_VoidSync); case Kind_Callback_Array_TextMenuItem_Void: return reinterpret_cast(callManagedCallback_Array_TextMenuItem_VoidSync); case Kind_Callback_Array_TouchTestInfo_TouchResult: return reinterpret_cast(callManagedCallback_Array_TouchTestInfo_TouchResultSync); + case Kind_Callback_AxisEvent_Void: return reinterpret_cast(callManagedCallback_AxisEvent_VoidSync); case Kind_Callback_Boolean: return reinterpret_cast(callManagedCallback_BooleanSync); case Kind_Callback_Boolean_HoverEvent_Void: return reinterpret_cast(callManagedCallback_Boolean_HoverEvent_VoidSync); case Kind_Callback_Boolean_Void: return reinterpret_cast(callManagedCallback_Boolean_VoidSync); + case Kind_Callback_Buffer_Void: return reinterpret_cast(callManagedCallback_Buffer_VoidSync); case Kind_Callback_CalendarRequestedData_Void: return reinterpret_cast(callManagedCallback_CalendarRequestedData_VoidSync); case Kind_Callback_CalendarSelectedDate_Void: return reinterpret_cast(callManagedCallback_CalendarSelectedDate_VoidSync); - case Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void: return reinterpret_cast(callManagedCallback_ClickEvent_LocationButtonOnClickResult_VoidSync); - case Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void: return reinterpret_cast(callManagedCallback_ClickEvent_PasteButtonOnClickResult_VoidSync); - case Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void: return reinterpret_cast(callManagedCallback_ClickEvent_SaveButtonOnClickResult_VoidSync); case Kind_Callback_ClickEvent_Void: return reinterpret_cast(callManagedCallback_ClickEvent_VoidSync); case Kind_Callback_ComputedBarAttribute_Void: return reinterpret_cast(callManagedCallback_ComputedBarAttribute_VoidSync); case Kind_Callback_CopyEvent_Void: return reinterpret_cast(callManagedCallback_CopyEvent_VoidSync); + case Kind_Callback_CrownEvent_Void: return reinterpret_cast(callManagedCallback_CrownEvent_VoidSync); case Kind_Callback_CustomBuilder_Void: return reinterpret_cast(callManagedCallback_CustomBuilder_VoidSync); case Kind_Callback_CustomSpanMetrics_Void: return reinterpret_cast(callManagedCallback_CustomSpanMetrics_VoidSync); case Kind_Callback_CutEvent_Void: return reinterpret_cast(callManagedCallback_CutEvent_VoidSync); @@ -6524,9 +7397,11 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo: return reinterpret_cast(callManagedCallback_DragEvent_String_Union_CustomBuilder_DragItemInfoSync); case Kind_Callback_DragEvent_String_Void: return reinterpret_cast(callManagedCallback_DragEvent_String_VoidSync); case Kind_Callback_DrawContext_CustomSpanDrawInfo_Void: return reinterpret_cast(callManagedCallback_DrawContext_CustomSpanDrawInfo_VoidSync); + case Kind_Callback_EditableTextChangeValue_Boolean: return reinterpret_cast(callManagedCallback_EditableTextChangeValue_BooleanSync); case Kind_Callback_EnterKeyType_Void: return reinterpret_cast(callManagedCallback_EnterKeyType_VoidSync); case Kind_Callback_Extender_OnFinish: return reinterpret_cast(callManagedCallback_Extender_OnFinishSync); case Kind_Callback_Extender_OnProgress: return reinterpret_cast(callManagedCallback_Extender_OnProgressSync); + case Kind_Callback_FocusAxisEvent_Void: return reinterpret_cast(callManagedCallback_FocusAxisEvent_VoidSync); case Kind_Callback_FormCallbackInfo_Void: return reinterpret_cast(callManagedCallback_FormCallbackInfo_VoidSync); case Kind_Callback_FullscreenInfo_Void: return reinterpret_cast(callManagedCallback_FullscreenInfo_VoidSync); case Kind_Callback_GestureEvent_Void: return reinterpret_cast(callManagedCallback_GestureEvent_VoidSync); @@ -6534,6 +7409,7 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_GestureJudgeResult_Void: return reinterpret_cast(callManagedCallback_GestureJudgeResult_VoidSync); case Kind_Callback_GestureRecognizer_Void: return reinterpret_cast(callManagedCallback_GestureRecognizer_VoidSync); case Kind_Callback_HitTestMode_Void: return reinterpret_cast(callManagedCallback_HitTestMode_VoidSync); + case Kind_Callback_HoverEvent_Void: return reinterpret_cast(callManagedCallback_HoverEvent_VoidSync); case Kind_Callback_InsertValue_Boolean: return reinterpret_cast(callManagedCallback_InsertValue_BooleanSync); case Kind_Callback_InsertValue_Void: return reinterpret_cast(callManagedCallback_InsertValue_VoidSync); case Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void: return reinterpret_cast(callManagedCallback_ItemDragInfo_Number_Number_Boolean_VoidSync); @@ -6550,9 +7426,11 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_Literal_Object_detail_Boolean: return reinterpret_cast(callManagedCallback_Literal_Object_detail_BooleanSync); case Kind_Callback_Literal_String_plainText_Void: return reinterpret_cast(callManagedCallback_Literal_String_plainText_VoidSync); case Kind_Callback_Map_String_Object_Void: return reinterpret_cast(callManagedCallback_Map_String_Object_VoidSync); + case Kind_Callback_MarqueeState_Void: return reinterpret_cast(callManagedCallback_MarqueeState_VoidSync); case Kind_Callback_MouseEvent_Void: return reinterpret_cast(callManagedCallback_MouseEvent_VoidSync); case Kind_Callback_NativeEmbedDataInfo_Void: return reinterpret_cast(callManagedCallback_NativeEmbedDataInfo_VoidSync); case Kind_Callback_NativeEmbedTouchInfo_Void: return reinterpret_cast(callManagedCallback_NativeEmbedTouchInfo_VoidSync); + case Kind_Callback_NavDestinationActiveReason_Void: return reinterpret_cast(callManagedCallback_NavDestinationActiveReason_VoidSync); case Kind_Callback_NavDestinationContext_Void: return reinterpret_cast(callManagedCallback_NavDestinationContext_VoidSync); case Kind_Callback_NavigationMode_Void: return reinterpret_cast(callManagedCallback_NavigationMode_VoidSync); case Kind_Callback_NavigationTitleMode_Void: return reinterpret_cast(callManagedCallback_NavigationTitleMode_VoidSync); @@ -6569,6 +7447,7 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_Number_Tuple_Number_Number: return reinterpret_cast(callManagedCallback_Number_Tuple_Number_NumberSync); case Kind_Callback_Number_Tuple_Number_Number_Number_Number: return reinterpret_cast(callManagedCallback_Number_Tuple_Number_Number_Number_NumberSync); case Kind_Callback_Number_Void: return reinterpret_cast(callManagedCallback_Number_VoidSync); + case Kind_Callback_Object_Void: return reinterpret_cast(callManagedCallback_Object_VoidSync); case Kind_Callback_OffsetResult_Void: return reinterpret_cast(callManagedCallback_OffsetResult_VoidSync); case Kind_Callback_OnAlertEvent_Boolean: return reinterpret_cast(callManagedCallback_OnAlertEvent_BooleanSync); case Kind_Callback_OnAudioStateChangedEvent_Void: return reinterpret_cast(callManagedCallback_OnAudioStateChangedEvent_VoidSync); @@ -6607,6 +7486,7 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_OnTitleReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnTitleReceiveEvent_VoidSync); case Kind_Callback_OnTouchIconUrlReceivedEvent_Void: return reinterpret_cast(callManagedCallback_OnTouchIconUrlReceivedEvent_VoidSync); case Kind_Callback_OnWindowNewEvent_Void: return reinterpret_cast(callManagedCallback_OnWindowNewEvent_VoidSync); + case Kind_Callback_Opt_Array_NavDestinationTransition_Void: return reinterpret_cast(callManagedCallback_Opt_Array_NavDestinationTransition_VoidSync); case Kind_Callback_Opt_Array_String_Void: return reinterpret_cast(callManagedCallback_Opt_Array_String_VoidSync); case Kind_Callback_Opt_NavigationAnimatedTransition_Void: return reinterpret_cast(callManagedCallback_Opt_NavigationAnimatedTransition_VoidSync); case Kind_Callback_Opt_StyledString_Opt_Array_String_Void: return reinterpret_cast(callManagedCallback_Opt_StyledString_Opt_Array_String_VoidSync); @@ -6630,11 +7510,12 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_SheetType_Void: return reinterpret_cast(callManagedCallback_SheetType_VoidSync); case Kind_Callback_SpringBackAction_Void: return reinterpret_cast(callManagedCallback_SpringBackAction_VoidSync); case Kind_Callback_String_Number_Void: return reinterpret_cast(callManagedCallback_String_Number_VoidSync); + case Kind_Callback_String_Opt_Object_Void: return reinterpret_cast(callManagedCallback_String_Opt_Object_VoidSync); case Kind_Callback_String_PasteEvent_Void: return reinterpret_cast(callManagedCallback_String_PasteEvent_VoidSync); case Kind_Callback_String_SurfaceRect_Void: return reinterpret_cast(callManagedCallback_String_SurfaceRect_VoidSync); - case Kind_Callback_String_Unknown_Void: return reinterpret_cast(callManagedCallback_String_Unknown_VoidSync); case Kind_Callback_String_Void: return reinterpret_cast(callManagedCallback_String_VoidSync); case Kind_Callback_StyledStringChangeValue_Boolean: return reinterpret_cast(callManagedCallback_StyledStringChangeValue_BooleanSync); + case Kind_Callback_StyledStringMarshallingValue_Void: return reinterpret_cast(callManagedCallback_StyledStringMarshallingValue_VoidSync); case Kind_Callback_SwipeActionState_Void: return reinterpret_cast(callManagedCallback_SwipeActionState_VoidSync); case Kind_Callback_SwiperContentTransitionProxy_Void: return reinterpret_cast(callManagedCallback_SwiperContentTransitionProxy_VoidSync); case Kind_Callback_TabContentTransitionProxy_Void: return reinterpret_cast(callManagedCallback_TabContentTransitionProxy_VoidSync); @@ -6659,6 +7540,7 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_WithThemeAttribute_Void: return reinterpret_cast(callManagedCallback_WithThemeAttribute_VoidSync); case Kind_Callback_WrappedBuilder_Args_Void: return reinterpret_cast(callManagedCallback_WrappedBuilder_Args_VoidSync); case Kind_ContentDidScrollCallback: return reinterpret_cast(callManagedContentDidScrollCallbackSync); + case Kind_ContentWillScrollCallback: return reinterpret_cast(callManagedContentWillScrollCallbackSync); case Kind_Context_getGroupDir_Callback: return reinterpret_cast(callManagedContext_getGroupDir_CallbackSync); case Kind_CustomNodeBuilder: return reinterpret_cast(callManagedCustomNodeBuilderSync); case Kind_EditableTextOnChangeCallback: return reinterpret_cast(callManagedEditableTextOnChangeCallbackSync); @@ -6673,8 +7555,10 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_InterceptionModeCallback: return reinterpret_cast(callManagedInterceptionModeCallbackSync); case Kind_InterceptionShowCallback: return reinterpret_cast(callManagedInterceptionShowCallbackSync); case Kind_ListAttribute_onItemDragStart_event_type: return reinterpret_cast(callManagedListAttribute_onItemDragStart_event_typeSync); + case Kind_LocationButtonCallback: return reinterpret_cast(callManagedLocationButtonCallbackSync); case Kind_MenuCallback: return reinterpret_cast(callManagedMenuCallbackSync); case Kind_MenuOnAppearCallback: return reinterpret_cast(callManagedMenuOnAppearCallbackSync); + case Kind_NavDestinationTransitionDelegate: return reinterpret_cast(callManagedNavDestinationTransitionDelegateSync); case Kind_NavExtender_OnUpdateStack: return reinterpret_cast(callManagedNavExtender_OnUpdateStackSync); case Kind_OnAdsBlockedCallback: return reinterpret_cast(callManagedOnAdsBlockedCallbackSync); case Kind_OnAlphabetIndexerPopupSelectCallback: return reinterpret_cast(callManagedOnAlphabetIndexerPopupSelectCallbackSync); @@ -6685,6 +7569,7 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_OnContentScrollCallback: return reinterpret_cast(callManagedOnContentScrollCallbackSync); case Kind_OnContextMenuHideCallback: return reinterpret_cast(callManagedOnContextMenuHideCallbackSync); case Kind_OnDidChangeCallback: return reinterpret_cast(callManagedOnDidChangeCallbackSync); + case Kind_OnDragEventCallback: return reinterpret_cast(callManagedOnDragEventCallbackSync); case Kind_OnFirstMeaningfulPaintCallback: return reinterpret_cast(callManagedOnFirstMeaningfulPaintCallbackSync); case Kind_OnFoldStatusChangeCallback: return reinterpret_cast(callManagedOnFoldStatusChangeCallbackSync); case Kind_OnFullScreenEnterCallback: return reinterpret_cast(callManagedOnFullScreenEnterCallbackSync); @@ -6699,6 +7584,8 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_OnNavigationEntryCommittedCallback: return reinterpret_cast(callManagedOnNavigationEntryCommittedCallbackSync); case Kind_OnOverrideUrlLoadingCallback: return reinterpret_cast(callManagedOnOverrideUrlLoadingCallbackSync); case Kind_OnPasteCallback: return reinterpret_cast(callManagedOnPasteCallbackSync); + case Kind_OnRadioChangeCallback: return reinterpret_cast(callManagedOnRadioChangeCallbackSync); + case Kind_OnRatingChangeCallback: return reinterpret_cast(callManagedOnRatingChangeCallbackSync); case Kind_OnRenderProcessNotRespondingCallback: return reinterpret_cast(callManagedOnRenderProcessNotRespondingCallbackSync); case Kind_OnRenderProcessRespondingCallback: return reinterpret_cast(callManagedOnRenderProcessRespondingCallbackSync); case Kind_OnSafeBrowsingCheckResultCallback: return reinterpret_cast(callManagedOnSafeBrowsingCheckResultCallbackSync); @@ -6706,6 +7593,7 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_OnScrollEdgeCallback: return reinterpret_cast(callManagedOnScrollEdgeCallbackSync); case Kind_OnScrollFrameBeginCallback: return reinterpret_cast(callManagedOnScrollFrameBeginCallbackSync); case Kind_OnScrollVisibleContentChangeCallback: return reinterpret_cast(callManagedOnScrollVisibleContentChangeCallbackSync); + case Kind_OnSelectCallback: return reinterpret_cast(callManagedOnSelectCallbackSync); case Kind_OnSslErrorEventCallback: return reinterpret_cast(callManagedOnSslErrorEventCallbackSync); case Kind_OnSubmitCallback: return reinterpret_cast(callManagedOnSubmitCallbackSync); case Kind_OnSwiperAnimationEndCallback: return reinterpret_cast(callManagedOnSwiperAnimationEndCallbackSync); @@ -6715,24 +7603,34 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_OnTabsAnimationStartCallback: return reinterpret_cast(callManagedOnTabsAnimationStartCallbackSync); case Kind_OnTabsContentWillChangeCallback: return reinterpret_cast(callManagedOnTabsContentWillChangeCallbackSync); case Kind_OnTabsGestureSwipeCallback: return reinterpret_cast(callManagedOnTabsGestureSwipeCallbackSync); + case Kind_OnTextPickerChangeCallback: return reinterpret_cast(callManagedOnTextPickerChangeCallbackSync); case Kind_OnTextSelectionChangeCallback: return reinterpret_cast(callManagedOnTextSelectionChangeCallbackSync); + case Kind_OnTimePickerChangeCallback: return reinterpret_cast(callManagedOnTimePickerChangeCallbackSync); case Kind_OnViewportFitChangedCallback: return reinterpret_cast(callManagedOnViewportFitChangedCallbackSync); case Kind_PageTransitionCallback: return reinterpret_cast(callManagedPageTransitionCallbackSync); + case Kind_PasteButtonCallback: return reinterpret_cast(callManagedPasteButtonCallbackSync); case Kind_PasteEventCallback: return reinterpret_cast(callManagedPasteEventCallbackSync); case Kind_PluginErrorCallback: return reinterpret_cast(callManagedPluginErrorCallbackSync); + case Kind_PopupStateChangeCallback: return reinterpret_cast(callManagedPopupStateChangeCallbackSync); case Kind_ReceiveCallback: return reinterpret_cast(callManagedReceiveCallbackSync); case Kind_RestrictedWorker_onerror_Callback: return reinterpret_cast(callManagedRestrictedWorker_onerror_CallbackSync); case Kind_RestrictedWorker_onexit_Callback: return reinterpret_cast(callManagedRestrictedWorker_onexit_CallbackSync); case Kind_RestrictedWorker_onmessage_Callback: return reinterpret_cast(callManagedRestrictedWorker_onmessage_CallbackSync); + case Kind_ReuseIdCallback: return reinterpret_cast(callManagedReuseIdCallbackSync); + case Kind_SaveButtonCallback: return reinterpret_cast(callManagedSaveButtonCallbackSync); case Kind_ScrollOnScrollCallback: return reinterpret_cast(callManagedScrollOnScrollCallbackSync); case Kind_ScrollOnWillScrollCallback: return reinterpret_cast(callManagedScrollOnWillScrollCallbackSync); case Kind_SearchSubmitCallback: return reinterpret_cast(callManagedSearchSubmitCallbackSync); case Kind_ShouldBuiltInRecognizerParallelWithCallback: return reinterpret_cast(callManagedShouldBuiltInRecognizerParallelWithCallbackSync); case Kind_SizeChangeCallback: return reinterpret_cast(callManagedSizeChangeCallbackSync); case Kind_SliderTriggerChangeCallback: return reinterpret_cast(callManagedSliderTriggerChangeCallbackSync); + case Kind_StyledStringMarshallCallback: return reinterpret_cast(callManagedStyledStringMarshallCallbackSync); + case Kind_StyledStringUnmarshallCallback: return reinterpret_cast(callManagedStyledStringUnmarshallCallbackSync); case Kind_SubmitCallback: return reinterpret_cast(callManagedSubmitCallbackSync); case Kind_TabsCustomContentTransitionCallback: return reinterpret_cast(callManagedTabsCustomContentTransitionCallbackSync); case Kind_TextAreaSubmitCallback: return reinterpret_cast(callManagedTextAreaSubmitCallbackSync); + case Kind_TextPickerEnterSelectedAreaCallback: return reinterpret_cast(callManagedTextPickerEnterSelectedAreaCallbackSync); + case Kind_TextPickerScrollStopCallback: return reinterpret_cast(callManagedTextPickerScrollStopCallbackSync); case Kind_TextTimerAttribute_onTimer_event_type: return reinterpret_cast(callManagedTextTimerAttribute_onTimer_event_typeSync); case Kind_TransitionFinishCallback: return reinterpret_cast(callManagedTransitionFinishCallbackSync); case Kind_Type_NavigationAttribute_customNavContentTransition_delegate: return reinterpret_cast(callManagedType_NavigationAttribute_customNavContentTransition_delegateSync); diff --git a/arkoala-arkts/framework/native/src/generated/dummy_impl.cc b/arkoala-arkts/framework/native/src/generated/dummy_impl.cc index d17d18623a..ad18308d0e 100644 --- a/arkoala-arkts/framework/native/src/generated/dummy_impl.cc +++ b/arkoala-arkts/framework/native/src/generated/dummy_impl.cc @@ -791,7 +791,7 @@ void SetVsyncCallback(Ark_PipelineContext pipelineContext, Ark_VsyncCallback cal using namespace std::chrono_literals; auto producer = std::thread([pipelineContext, callback] { while (true) { - std::this_thread::sleep_for(std::chrono::milliseconds(16)); + std::this_thread::sleep_for(std::chrono::seconds(1)); callback(pipelineContext); } }); @@ -1313,7 +1313,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } void AlignStyleImpl(Ark_NativePointer node, Ark_IndexerAlign value, - const Opt_Union_String_Number_Resource* offset) + const Opt_Length* offset) { if (!needGroupedLog(1)) return; @@ -1694,7 +1694,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -1753,6 +1753,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void MinFontScaleImpl(Ark_NativePointer node, + const Ark_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("minFontScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Ark_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("maxFontScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } } // ButtonAttributeModifier namespace CalendarModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -1943,8 +1963,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // CalendarPickerInterfaceModifier namespace CalendarPickerAttributeModifier { - void TextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void TextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) { if (!needGroupedLog(1)) return; @@ -1953,380 +1973,120 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OnChangeImpl(Ark_NativePointer node, - const Callback_Date_Void* value) - { - if (!needGroupedLog(1)) - return; - string out("onChange("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void EdgeAlignImpl(Ark_NativePointer node, - Ark_CalendarAlign alignType, - const Opt_Offset* offset) - { - if (!needGroupedLog(1)) - return; - string out("edgeAlign("); - WriteToString(&out, alignType); - out.append(", "); - WriteToString(&out, offset); - out.append(") \n"); - appendGroupedLog(1, out); - } - } // CalendarPickerAttributeModifier - namespace NavigationModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) - { - if (!needGroupedLog(1)) - return new TreeNode("Navigation", id, flags);; - string out("construct("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, flags); - out.append(") \n"); - out.append("[return nullptr] \n"); - appendGroupedLog(1, out); - return new TreeNode("Navigation", id, flags);; - } - } // NavigationModifier - namespace NavigationInterfaceModifier { - void SetNavigationOptions0Impl(Ark_NativePointer node) + void TextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { if (!needGroupedLog(1)) return; - string out("setNavigationOptions("); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetNavigationOptions1Impl(Ark_NativePointer node, - Ark_NavPathStack pathInfos) - { - if (!needGroupedLog(1)) - return; - string out("setNavigationOptions("); - WriteToString(&out, pathInfos); - out.append(") \n"); - appendGroupedLog(1, out); - } - } // NavigationInterfaceModifier - namespace NavigationAttributeModifier { - void NavBarWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) - { - if (!needGroupedLog(1)) - return; - string out("navBarWidth("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void NavBarPositionImpl(Ark_NativePointer node, - Ark_NavBarPosition value) - { - if (!needGroupedLog(1)) - return; - string out("navBarPosition("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void NavBarWidthRangeImpl(Ark_NativePointer node, - const Ark_Tuple_Dimension_Dimension* value) - { - if (!needGroupedLog(1)) - return; - string out("navBarWidthRange("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void MinContentWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) - { - if (!needGroupedLog(1)) - return; - string out("minContentWidth("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void ModeImpl(Ark_NativePointer node, - Ark_NavigationMode value) - { - if (!needGroupedLog(1)) - return; - string out("mode("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void BackButtonIconImpl(Ark_NativePointer node, - const Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier* value) - { - if (!needGroupedLog(1)) - return; - string out("backButtonIcon("); + string out("textStyle("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void HideNavBarImpl(Ark_NativePointer node, - Ark_Boolean value) + void OnChange0Impl(Ark_NativePointer node, + const Callback_Date_Void* value) { if (!needGroupedLog(1)) return; - string out("hideNavBar("); + string out("onChange("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SubTitleImpl(Ark_NativePointer node, - const Ark_String* value) + void OnChange1Impl(Ark_NativePointer node, + const Opt_Callback_Date_Void* value) { if (!needGroupedLog(1)) return; - string out("subTitle("); + string out("onChange("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void HideTitleBar0Impl(Ark_NativePointer node, - Ark_Boolean value) + void MarkTodayImpl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; - string out("hideTitleBar("); + string out("markToday("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void HideTitleBar1Impl(Ark_NativePointer node, - Ark_Boolean hide, - Ark_Boolean animated) + void EdgeAlign0Impl(Ark_NativePointer node, + Ark_CalendarAlign alignType, + const Opt_Offset* offset) { if (!needGroupedLog(1)) return; - string out("hideTitleBar("); - WriteToString(&out, hide); + string out("edgeAlign("); + WriteToString(&out, alignType); out.append(", "); - WriteToString(&out, animated); - out.append(") \n"); - appendGroupedLog(1, out); - } - void HideBackButtonImpl(Ark_NativePointer node, - Ark_Boolean value) - { - if (!needGroupedLog(1)) - return; - string out("hideBackButton("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void TitleModeImpl(Ark_NativePointer node, - Ark_NavigationTitleMode value) - { - if (!needGroupedLog(1)) - return; - string out("titleMode("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void MenusImpl(Ark_NativePointer node, - const Ark_Union_Array_NavigationMenuItem_CustomBuilder* value) - { - if (!needGroupedLog(1)) - return; - string out("menus("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void ToolBarImpl(Ark_NativePointer node, - const CustomNodeBuilder* value) - { - if (!needGroupedLog(1)) - return; - string out("toolBar("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void HideToolBar0Impl(Ark_NativePointer node, - Ark_Boolean value) - { - if (!needGroupedLog(1)) - return; - string out("hideToolBar("); - WriteToString(&out, value); + WriteToString(&out, offset); out.append(") \n"); appendGroupedLog(1, out); } - void HideToolBar1Impl(Ark_NativePointer node, - Ark_Boolean hide, - Ark_Boolean animated) + void EdgeAlign1Impl(Ark_NativePointer node, + const Opt_CalendarAlign* alignType, + const Opt_Offset* offset) { if (!needGroupedLog(1)) return; - string out("hideToolBar("); - WriteToString(&out, hide); + string out("edgeAlign("); + WriteToString(&out, alignType); out.append(", "); - WriteToString(&out, animated); - out.append(") \n"); - appendGroupedLog(1, out); - } - void OnTitleModeChangeImpl(Ark_NativePointer node, - const Callback_NavigationTitleMode_Void* value) - { - if (!needGroupedLog(1)) - return; - string out("onTitleModeChange("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void OnNavBarStateChangeImpl(Ark_NativePointer node, - const Callback_Boolean_Void* value) - { - if (!needGroupedLog(1)) - return; - string out("onNavBarStateChange("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void OnNavigationModeChangeImpl(Ark_NativePointer node, - const Callback_NavigationMode_Void* value) - { - if (!needGroupedLog(1)) - return; - string out("onNavigationModeChange("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void NavDestinationImpl(Ark_NativePointer node, - const Callback_String_Unknown_Void* value) - { - if (!needGroupedLog(1)) - return; - string out("navDestination("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void CustomNavContentTransitionImpl(Ark_NativePointer node, - const Type_NavigationAttribute_customNavContentTransition_delegate* value) - { - if (!needGroupedLog(1)) - return; - string out("customNavContentTransition("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SystemBarStyleImpl(Ark_NativePointer node, - const Opt_SystemBarStyle* value) - { - if (!needGroupedLog(1)) - return; - string out("systemBarStyle("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void RecoverableImpl(Ark_NativePointer node, - const Opt_Boolean* value) - { - if (!needGroupedLog(1)) - return; - string out("recoverable("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void EnableDragBarImpl(Ark_NativePointer node, - const Opt_Boolean* value) - { - if (!needGroupedLog(1)) - return; - string out("enableDragBar("); - WriteToString(&out, value); + WriteToString(&out, offset); out.append(") \n"); appendGroupedLog(1, out); } - void TitleImpl(Ark_NativePointer node, - const Ark_Type_NavigationAttribute_title_value* value, - const Opt_NavigationTitleOptions* options) + } // CalendarPickerAttributeModifier + namespace CommonMethodModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) { if (!needGroupedLog(1)) - return; - string out("title("); - WriteToString(&out, value); + return new TreeNode("CommonMethod", id, flags);; + string out("construct("); + WriteToString(&out, id); out.append(", "); - WriteToString(&out, options); + WriteToString(&out, flags); out.append(") \n"); + out.append("[return nullptr] \n"); appendGroupedLog(1, out); + return new TreeNode("CommonMethod", id, flags);; } - void ToolbarConfigurationImpl(Ark_NativePointer node, - const Ark_Union_Array_ToolbarItem_CustomBuilder* value, - const Opt_NavigationToolbarOptions* options) + void Width0Impl(Ark_NativePointer node, + const Ark_Length* value) { if (!needGroupedLog(1)) return; - string out("toolbarConfiguration("); + string out("width("); WriteToString(&out, value); - out.append(", "); - WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); } - void IgnoreLayoutSafeAreaImpl(Ark_NativePointer node, - const Opt_Array_LayoutSafeAreaType* types, - const Opt_Array_LayoutSafeAreaEdge* edges) + void Width1Impl(Ark_NativePointer node, + const Ark_Union_Length_LayoutPolicy* value) { if (!needGroupedLog(1)) return; - string out("ignoreLayoutSafeArea("); - WriteToString(&out, types); - out.append(", "); - WriteToString(&out, edges); - out.append(") \n"); - appendGroupedLog(1, out); - } - } // NavigationAttributeModifier - namespace CommonMethodModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) - { - if (!needGroupedLog(1)) - return new TreeNode("CommonMethod", id, flags);; - string out("construct("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, flags); + string out("width("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return new TreeNode("CommonMethod", id, flags);; } - void WidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + void Height0Impl(Ark_NativePointer node, + const Ark_Length* value) { if (!needGroupedLog(1)) return; - string out("width("); + string out("height("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void HeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + void Height1Impl(Ark_NativePointer node, + const Ark_Union_Length_LayoutPolicy* value) { if (!needGroupedLog(1)) return; @@ -2465,8 +2225,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void BackgroundColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void BackgroundColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("backgroundColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void BackgroundColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) { if (!needGroupedLog(1)) return; @@ -2505,8 +2275,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void BackgroundEffectImpl(Ark_NativePointer node, - const Ark_BackgroundEffectOptions* value) + void BackgroundEffect0Impl(Ark_NativePointer node, + const Ark_BackgroundEffectOptions* value) { if (!needGroupedLog(1)) return; @@ -2515,6 +2285,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void BackgroundEffect1Impl(Ark_NativePointer node, + const Opt_BackgroundEffectOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions) + { + if (!needGroupedLog(1)) + return; + string out("backgroundEffect("); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, sysOptions); + out.append(") \n"); + appendGroupedLog(1, out); + } void BackgroundImageResizableImpl(Ark_NativePointer node, const Ark_ResizableOptions* value) { @@ -2575,8 +2358,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OpacityImpl(Ark_NativePointer node, - const Ark_Union_Number_Resource* value) + void Opacity0Impl(Ark_NativePointer node, + const Ark_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("opacity("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Opacity1Impl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) { if (!needGroupedLog(1)) return; @@ -2645,8 +2438,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OutlineImpl(Ark_NativePointer node, - const Ark_OutlineOptions* value) + void Outline0Impl(Ark_NativePointer node, + const Ark_OutlineOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("outline("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Outline1Impl(Ark_NativePointer node, + const Opt_OutlineOptions* value) { if (!needGroupedLog(1)) return; @@ -2655,8 +2458,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OutlineStyleImpl(Ark_NativePointer node, - const Ark_Union_OutlineStyle_EdgeOutlineStyles* value) + void OutlineStyle0Impl(Ark_NativePointer node, + const Ark_Union_OutlineStyle_EdgeOutlineStyles* value) { if (!needGroupedLog(1)) return; @@ -2665,8 +2468,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OutlineWidthImpl(Ark_NativePointer node, - const Ark_Union_Dimension_EdgeOutlineWidths* value) + void OutlineStyle1Impl(Ark_NativePointer node, + const Opt_Union_OutlineStyle_EdgeOutlineStyles* value) + { + if (!needGroupedLog(1)) + return; + string out("outlineStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OutlineWidth0Impl(Ark_NativePointer node, + const Ark_Union_Dimension_EdgeOutlineWidths* value) { if (!needGroupedLog(1)) return; @@ -2675,8 +2488,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OutlineColorImpl(Ark_NativePointer node, - const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) + void OutlineWidth1Impl(Ark_NativePointer node, + const Opt_Union_Dimension_EdgeOutlineWidths* value) + { + if (!needGroupedLog(1)) + return; + string out("outlineWidth("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OutlineColor0Impl(Ark_NativePointer node, + const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) { if (!needGroupedLog(1)) return; @@ -2685,8 +2508,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OutlineRadiusImpl(Ark_NativePointer node, - const Ark_Union_Dimension_OutlineRadiuses* value) + void OutlineColor1Impl(Ark_NativePointer node, + const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) + { + if (!needGroupedLog(1)) + return; + string out("outlineColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OutlineRadius0Impl(Ark_NativePointer node, + const Ark_Union_Dimension_OutlineRadiuses* value) { if (!needGroupedLog(1)) return; @@ -2695,8 +2528,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ForegroundColorImpl(Ark_NativePointer node, - const Ark_Union_ResourceColor_ColoringStrategy* value) + void OutlineRadius1Impl(Ark_NativePointer node, + const Opt_Union_Dimension_OutlineRadiuses* value) + { + if (!needGroupedLog(1)) + return; + string out("outlineRadius("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ForegroundColor0Impl(Ark_NativePointer node, + const Ark_Union_ResourceColor_ColoringStrategy* value) + { + if (!needGroupedLog(1)) + return; + string out("foregroundColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ForegroundColor1Impl(Ark_NativePointer node, + const Opt_Union_ResourceColor_ColoringStrategy* value) { if (!needGroupedLog(1)) return; @@ -2715,6 +2568,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OnHoverMoveImpl(Ark_NativePointer node, + const Callback_HoverEvent_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onHoverMove("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnAccessibilityHoverImpl(Ark_NativePointer node, const AccessibilityCallback* value) { @@ -2755,8 +2618,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OnKeyEventImpl(Ark_NativePointer node, - const Callback_KeyEvent_Void* value) + void OnKeyEvent0Impl(Ark_NativePointer node, + const Callback_KeyEvent_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onKeyEvent("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnKeyEvent1Impl(Ark_NativePointer node, + const Callback_KeyEvent_Boolean* value) { if (!needGroupedLog(1)) return; @@ -2765,6 +2638,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OnDigitalCrownImpl(Ark_NativePointer node, + const Opt_Callback_CrownEvent_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onDigitalCrown("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnKeyPreImeImpl(Ark_NativePointer node, const Callback_KeyEvent_Boolean* value) { @@ -2775,6 +2658,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OnKeyEventDispatchImpl(Ark_NativePointer node, + const Callback_KeyEvent_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("onKeyEventDispatch("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnFocusAxisEventImpl(Ark_NativePointer node, + const Callback_FocusAxisEvent_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onFocusAxisEvent("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnAxisEventImpl(Ark_NativePointer node, + const Callback_AxisEvent_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onAxisEvent("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void FocusableImpl(Ark_NativePointer node, Ark_Boolean value) { @@ -2785,6 +2698,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void NextFocusImpl(Ark_NativePointer node, + const Opt_FocusMovement* value) + { + if (!needGroupedLog(1)) + return; + string out("nextFocus("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void TabStopImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("tabStop("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnFocusImpl(Ark_NativePointer node, const Callback_Void* value) { @@ -2888,8 +2821,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void MotionBlurImpl(Ark_NativePointer node, - const Ark_MotionBlurOptions* value) + void MotionBlur0Impl(Ark_NativePointer node, + const Ark_MotionBlurOptions* value) { if (!needGroupedLog(1)) return; @@ -2898,8 +2831,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void BrightnessImpl(Ark_NativePointer node, - const Ark_Number* value) + void MotionBlur1Impl(Ark_NativePointer node, + const Opt_MotionBlurOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("motionBlur("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Brightness0Impl(Ark_NativePointer node, + const Ark_Number* value) { if (!needGroupedLog(1)) return; @@ -2908,18 +2851,48 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ContrastImpl(Ark_NativePointer node, - const Ark_Number* value) + void Brightness1Impl(Ark_NativePointer node, + const Opt_Number* value) { if (!needGroupedLog(1)) return; - string out("contrast("); + string out("brightness("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void GrayscaleImpl(Ark_NativePointer node, + void Contrast0Impl(Ark_NativePointer node, const Ark_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("contrast("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Contrast1Impl(Ark_NativePointer node, + const Opt_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("contrast("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Grayscale0Impl(Ark_NativePointer node, + const Ark_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("grayscale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Grayscale1Impl(Ark_NativePointer node, + const Opt_Number* value) { if (!needGroupedLog(1)) return; @@ -2928,8 +2901,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ColorBlendImpl(Ark_NativePointer node, - const Ark_Union_Color_String_Resource* value) + void ColorBlend0Impl(Ark_NativePointer node, + const Ark_Union_Color_String_Resource* value) { if (!needGroupedLog(1)) return; @@ -2938,8 +2911,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SaturateImpl(Ark_NativePointer node, - const Ark_Number* value) + void ColorBlend1Impl(Ark_NativePointer node, + const Opt_Union_Color_String_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("colorBlend("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Saturate0Impl(Ark_NativePointer node, + const Ark_Number* value) { if (!needGroupedLog(1)) return; @@ -2948,8 +2931,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SepiaImpl(Ark_NativePointer node, - const Ark_Number* value) + void Saturate1Impl(Ark_NativePointer node, + const Opt_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("saturate("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Sepia0Impl(Ark_NativePointer node, + const Ark_Number* value) { if (!needGroupedLog(1)) return; @@ -2958,8 +2951,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void InvertImpl(Ark_NativePointer node, - const Ark_Union_Number_InvertOptions* value) + void Sepia1Impl(Ark_NativePointer node, + const Opt_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("sepia("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Invert0Impl(Ark_NativePointer node, + const Ark_Union_Number_InvertOptions* value) { if (!needGroupedLog(1)) return; @@ -2968,8 +2971,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void HueRotateImpl(Ark_NativePointer node, - const Ark_Union_Number_String* value) + void Invert1Impl(Ark_NativePointer node, + const Opt_Union_Number_InvertOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("invert("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void HueRotate0Impl(Ark_NativePointer node, + const Ark_Union_Number_String* value) { if (!needGroupedLog(1)) return; @@ -2978,8 +2991,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void UseShadowBatchingImpl(Ark_NativePointer node, - Ark_Boolean value) + void HueRotate1Impl(Ark_NativePointer node, + const Opt_Union_Number_String* value) + { + if (!needGroupedLog(1)) + return; + string out("hueRotate("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void UseShadowBatching0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("useShadowBatching("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void UseShadowBatching1Impl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) return; @@ -3011,8 +3044,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void RenderGroupImpl(Ark_NativePointer node, - Ark_Boolean value) + void UseEffect2Impl(Ark_NativePointer node, + const Opt_Boolean* useEffect, + const Opt_EffectType* effectType) + { + if (!needGroupedLog(1)) + return; + string out("useEffect("); + WriteToString(&out, useEffect); + out.append(", "); + WriteToString(&out, effectType); + out.append(") \n"); + appendGroupedLog(1, out); + } + void RenderGroup0Impl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; @@ -3021,8 +3067,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void FreezeImpl(Ark_NativePointer node, - Ark_Boolean value) + void RenderGroup1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("renderGroup("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Freeze0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("freeze("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Freeze1Impl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) return; @@ -3031,8 +3097,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void TranslateImpl(Ark_NativePointer node, - const Ark_TranslateOptions* value) + void Translate0Impl(Ark_NativePointer node, + const Ark_TranslateOptions* value) { if (!needGroupedLog(1)) return; @@ -3041,8 +3107,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ScaleImpl(Ark_NativePointer node, - const Ark_ScaleOptions* value) + void Translate1Impl(Ark_NativePointer node, + const Opt_TranslateOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("translate("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Scale0Impl(Ark_NativePointer node, + const Ark_ScaleOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("scale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Scale1Impl(Ark_NativePointer node, + const Opt_ScaleOptions* value) { if (!needGroupedLog(1)) return; @@ -3071,8 +3157,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void RotateImpl(Ark_NativePointer node, - const Ark_RotateOptions* value) + void Rotate0Impl(Ark_NativePointer node, + const Ark_RotateOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("rotate("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Rotate1Impl(Ark_NativePointer node, + const Opt_RotateOptions* value) { if (!needGroupedLog(1)) return; @@ -3081,8 +3177,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void TransformImpl(Ark_NativePointer node, - const Ark_TransformationMatrix* value) + void Transform0Impl(Ark_NativePointer node, + const Ark_TransformationMatrix* value) + { + if (!needGroupedLog(1)) + return; + string out("transform("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Transform1Impl(Ark_NativePointer node, + const Opt_Object* value) { if (!needGroupedLog(1)) return; @@ -3311,8 +3417,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ClickEffectImpl(Ark_NativePointer node, - const Opt_ClickEffect* value) + void ClickEffect0Impl(Ark_NativePointer node, + const Opt_ClickEffect* value) + { + if (!needGroupedLog(1)) + return; + string out("clickEffect("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ClickEffect1Impl(Ark_NativePointer node, + const Opt_ClickEffect* value) { if (!needGroupedLog(1)) return; @@ -3361,8 +3477,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OnDropImpl(Ark_NativePointer node, - const Callback_DragEvent_String_Void* value) + void OnDrop0Impl(Ark_NativePointer node, + const Callback_DragEvent_String_Void* value) { if (!needGroupedLog(1)) return; @@ -3371,6 +3487,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OnDrop1Impl(Ark_NativePointer node, + const OnDragEventCallback* eventCallback, + const Opt_DropOptions* dropOptions) + { + if (!needGroupedLog(1)) + return; + string out("onDrop("); + WriteToString(&out, eventCallback); + out.append(", "); + WriteToString(&out, dropOptions); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnDragEndImpl(Ark_NativePointer node, const Callback_DragEvent_String_Void* value) { @@ -3401,8 +3530,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void DragPreviewImpl(Ark_NativePointer node, - const Ark_Union_CustomBuilder_DragItemInfo_String* value) + void DragPreview0Impl(Ark_NativePointer node, + const Ark_Union_CustomBuilder_DragItemInfo_String* value) { if (!needGroupedLog(1)) return; @@ -3411,6 +3540,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void DragPreview1Impl(Ark_NativePointer node, + const Ark_Union_CustomBuilder_DragItemInfo_String* preview, + const Opt_PreviewConfiguration* config) + { + if (!needGroupedLog(1)) + return; + string out("dragPreview("); + WriteToString(&out, preview); + out.append(", "); + WriteToString(&out, config); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnPreDragImpl(Ark_NativePointer node, const Callback_PreDragStatus_Void* value) { @@ -3421,8 +3563,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void LinearGradientImpl(Ark_NativePointer node, - const Ark_Type_CommonMethod_linearGradient_value* value) + void LinearGradient0Impl(Ark_NativePointer node, + const Ark_LinearGradientOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("linearGradient("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void LinearGradient1Impl(Ark_NativePointer node, + const Opt_LinearGradientOptions* value) { if (!needGroupedLog(1)) return; @@ -3431,8 +3583,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SweepGradientImpl(Ark_NativePointer node, - const Ark_Type_CommonMethod_sweepGradient_value* value) + void SweepGradient0Impl(Ark_NativePointer node, + const Ark_SweepGradientOptions* value) { if (!needGroupedLog(1)) return; @@ -3441,8 +3593,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void RadialGradientImpl(Ark_NativePointer node, - const Ark_Type_CommonMethod_radialGradient_value* value) + void SweepGradient1Impl(Ark_NativePointer node, + const Opt_SweepGradientOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("sweepGradient("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void RadialGradient0Impl(Ark_NativePointer node, + const Ark_RadialGradientOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("radialGradient("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void RadialGradient1Impl(Ark_NativePointer node, + const Opt_RadialGradientOptions* value) { if (!needGroupedLog(1)) return; @@ -3461,8 +3633,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ShadowImpl(Ark_NativePointer node, - const Ark_Union_ShadowOptions_ShadowStyle* value) + void Shadow0Impl(Ark_NativePointer node, + const Ark_Union_ShadowOptions_ShadowStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("shadow("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Shadow1Impl(Ark_NativePointer node, + const Opt_Union_ShadowOptions_ShadowStyle* value) { if (!needGroupedLog(1)) return; @@ -3491,8 +3673,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ClipShapeImpl(Ark_NativePointer node, - const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape* value) + void Clip2Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("clip("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ClipShape0Impl(Ark_NativePointer node, + const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape* value) + { + if (!needGroupedLog(1)) + return; + string out("clipShape("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ClipShape1Impl(Ark_NativePointer node, + const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape* value) { if (!needGroupedLog(1)) return; @@ -3521,8 +3723,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void MaskShapeImpl(Ark_NativePointer node, - const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape* value) + void Mask2Impl(Ark_NativePointer node, + const Opt_ProgressMask* value) + { + if (!needGroupedLog(1)) + return; + string out("mask("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MaskShape0Impl(Ark_NativePointer node, + const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape* value) + { + if (!needGroupedLog(1)) + return; + string out("maskShape("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MaskShape1Impl(Ark_NativePointer node, + const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape* value) { if (!needGroupedLog(1)) return; @@ -3594,8 +3816,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SphericalEffectImpl(Ark_NativePointer node, - const Ark_Number* value) + void SphericalEffect0Impl(Ark_NativePointer node, + const Ark_Number* value) { if (!needGroupedLog(1)) return; @@ -3604,8 +3826,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void LightUpEffectImpl(Ark_NativePointer node, - const Ark_Number* value) + void SphericalEffect1Impl(Ark_NativePointer node, + const Opt_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("sphericalEffect("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void LightUpEffect0Impl(Ark_NativePointer node, + const Ark_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("lightUpEffect("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void LightUpEffect1Impl(Ark_NativePointer node, + const Opt_Number* value) { if (!needGroupedLog(1)) return; @@ -3614,8 +3856,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void PixelStretchEffectImpl(Ark_NativePointer node, - const Ark_PixelStretchEffectOptions* value) + void PixelStretchEffect0Impl(Ark_NativePointer node, + const Ark_PixelStretchEffectOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("pixelStretchEffect("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void PixelStretchEffect1Impl(Ark_NativePointer node, + const Opt_PixelStretchEffectOptions* value) { if (!needGroupedLog(1)) return; @@ -3667,6 +3919,66 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void AccessibilityNextFocusIdImpl(Ark_NativePointer node, + const Ark_String* value) + { + if (!needGroupedLog(1)) + return; + string out("accessibilityNextFocusId("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void AccessibilityDefaultFocusImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("accessibilityDefaultFocus("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void AccessibilityUseSamePageImpl(Ark_NativePointer node, + Ark_AccessibilitySamePageMode value) + { + if (!needGroupedLog(1)) + return; + string out("accessibilityUseSamePage("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void AccessibilityScrollTriggerableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("accessibilityScrollTriggerable("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void AccessibilityRoleImpl(Ark_NativePointer node, + Ark_AccessibilityRoleType value) + { + if (!needGroupedLog(1)) + return; + string out("accessibilityRole("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnAccessibilityFocusImpl(Ark_NativePointer node, + const AccessibilityFocusCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onAccessibilityFocus("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void AccessibilityTextHintImpl(Ark_NativePointer node, const Ark_String* value) { @@ -3757,8 +4069,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void RenderFitImpl(Ark_NativePointer node, - Ark_RenderFit value) + void ReuseImpl(Ark_NativePointer node, + const Ark_ReuseOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("reuse("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void RenderFit0Impl(Ark_NativePointer node, + Ark_RenderFit value) + { + if (!needGroupedLog(1)) + return; + string out("renderFit("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void RenderFit1Impl(Ark_NativePointer node, + const Opt_RenderFit* value) { if (!needGroupedLog(1)) return; @@ -3777,8 +4109,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void BackgroundBrightnessImpl(Ark_NativePointer node, - const Ark_BackgroundBrightnessOptions* value) + void BackgroundBrightness0Impl(Ark_NativePointer node, + const Ark_BackgroundBrightnessOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("backgroundBrightness("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void BackgroundBrightness1Impl(Ark_NativePointer node, + const Opt_BackgroundBrightnessOptions* value) { if (!needGroupedLog(1)) return; @@ -3860,6 +4202,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void AccessibilityFocusDrawLevelImpl(Ark_NativePointer node, + Ark_FocusDrawLevel value) + { + if (!needGroupedLog(1)) + return; + string out("accessibilityFocusDrawLevel("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void CustomPropertyImpl(Ark_NativePointer node, const Ark_String* name, const Opt_Object* value) @@ -3899,9 +4251,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void BackgroundImageImpl(Ark_NativePointer node, - const Ark_Union_ResourceStr_PixelMap* src, - const Opt_ImageRepeat* repeat) + void BackgroundImage0Impl(Ark_NativePointer node, + const Ark_Union_ResourceStr_PixelMap* src, + const Opt_ImageRepeat* repeat) { if (!needGroupedLog(1)) return; @@ -3912,9 +4264,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void BackgroundBlurStyleImpl(Ark_NativePointer node, - Ark_BlurStyle value, - const Opt_BackgroundBlurStyleOptions* options) + void BackgroundImage1Impl(Ark_NativePointer node, + const Ark_Union_ResourceStr_PixelMap* src, + const Opt_BackgroundImageOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("backgroundImage("); + WriteToString(&out, src); + out.append(", "); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + void BackgroundBlurStyle0Impl(Ark_NativePointer node, + Ark_BlurStyle value, + const Opt_BackgroundBlurStyleOptions* options) { if (!needGroupedLog(1)) return; @@ -3925,9 +4290,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ForegroundBlurStyleImpl(Ark_NativePointer node, - Ark_BlurStyle value, - const Opt_ForegroundBlurStyleOptions* options) + void BackgroundBlurStyle1Impl(Ark_NativePointer node, + const Opt_BlurStyle* style, + const Opt_BackgroundBlurStyleOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions) + { + if (!needGroupedLog(1)) + return; + string out("backgroundBlurStyle("); + WriteToString(&out, style); + out.append(", "); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, sysOptions); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ForegroundBlurStyle0Impl(Ark_NativePointer node, + Ark_BlurStyle value, + const Opt_ForegroundBlurStyleOptions* options) { if (!needGroupedLog(1)) return; @@ -3938,6 +4319,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void ForegroundBlurStyle1Impl(Ark_NativePointer node, + const Opt_BlurStyle* style, + const Opt_ForegroundBlurStyleOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions) + { + if (!needGroupedLog(1)) + return; + string out("foregroundBlurStyle("); + WriteToString(&out, style); + out.append(", "); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, sysOptions); + out.append(") \n"); + appendGroupedLog(1, out); + } void FocusScopeId0Impl(Ark_NativePointer node, const Ark_String* id, const Opt_Boolean* isGroup) @@ -4019,9 +4416,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void BlurImpl(Ark_NativePointer node, - const Ark_Number* value, - const Opt_BlurOptions* options) + void Blur0Impl(Ark_NativePointer node, + const Ark_Number* value, + const Opt_BlurOptions* options) { if (!needGroupedLog(1)) return; @@ -4032,9 +4429,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void LinearGradientBlurImpl(Ark_NativePointer node, - const Ark_Number* value, - const Ark_LinearGradientBlurOptions* options) + void Blur1Impl(Ark_NativePointer node, + const Opt_Number* blurRadius, + const Opt_BlurOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions) + { + if (!needGroupedLog(1)) + return; + string out("blur("); + WriteToString(&out, blurRadius); + out.append(", "); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, sysOptions); + out.append(") \n"); + appendGroupedLog(1, out); + } + void LinearGradientBlur0Impl(Ark_NativePointer node, + const Ark_Number* value, + const Ark_LinearGradientBlurOptions* options) { if (!needGroupedLog(1)) return; @@ -4045,6 +4458,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void LinearGradientBlur1Impl(Ark_NativePointer node, + const Opt_Number* blurRadius, + const Opt_LinearGradientBlurOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("linearGradientBlur("); + WriteToString(&out, blurRadius); + out.append(", "); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } void SystemBarEffectImpl(Ark_NativePointer node) { if (!needGroupedLog(1)) @@ -4053,9 +4479,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void BackdropBlurImpl(Ark_NativePointer node, - const Ark_Number* value, - const Opt_BlurOptions* options) + void BackdropBlur0Impl(Ark_NativePointer node, + const Ark_Number* value, + const Opt_BlurOptions* options) { if (!needGroupedLog(1)) return; @@ -4066,6 +4492,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void BackdropBlur1Impl(Ark_NativePointer node, + const Opt_Number* radius, + const Opt_BlurOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions) + { + if (!needGroupedLog(1)) + return; + string out("backdropBlur("); + WriteToString(&out, radius); + out.append(", "); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, sysOptions); + out.append(") \n"); + appendGroupedLog(1, out); + } void SharedTransitionImpl(Ark_NativePointer node, const Ark_String* id, const Opt_sharedTransitionOptions* options) @@ -4118,9 +4560,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void BlendModeImpl(Ark_NativePointer node, - Ark_BlendMode value, - const Opt_BlendApplyType* type) + void BlendMode0Impl(Ark_NativePointer node, + Ark_BlendMode value, + const Opt_BlendApplyType* type) { if (!needGroupedLog(1)) return; @@ -4131,6 +4573,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void BlendMode1Impl(Ark_NativePointer node, + const Opt_BlendMode* mode, + const Opt_BlendApplyType* type) + { + if (!needGroupedLog(1)) + return; + string out("blendMode("); + WriteToString(&out, mode); + out.append(", "); + WriteToString(&out, type); + out.append(") \n"); + appendGroupedLog(1, out); + } void AdvancedBlendModeImpl(Ark_NativePointer node, const Ark_Union_BlendMode_Blender* effect, const Opt_BlendApplyType* type) @@ -4144,6 +4599,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void BindTipsImpl(Ark_NativePointer node, + const Ark_TipsMessageType* message, + const Opt_TipsOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("bindTips("); + WriteToString(&out, message); + out.append(", "); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } void BindPopupImpl(Ark_NativePointer node, Ark_Boolean show, const Ark_Union_PopupOptions_CustomPopupOptions* popup) @@ -4219,7 +4687,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void BindContentCover0Impl(Ark_NativePointer node, - const Opt_Boolean* isShow, + Ark_Boolean isShow, const CustomNodeBuilder* builder, const Opt_ModalTransition* type) { @@ -4235,7 +4703,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void BindContentCover1Impl(Ark_NativePointer node, - const Opt_Boolean* isShow, + Ark_Boolean isShow, const CustomNodeBuilder* builder, const Opt_ContentCoverOptions* options) { @@ -4251,7 +4719,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void BindSheetImpl(Ark_NativePointer node, - const Opt_Boolean* isShow, + Ark_Boolean isShow, const CustomNodeBuilder* builder, const Opt_SheetOptions* options) { @@ -4279,6 +4747,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OnVisibleAreaApproximateChangeImpl(Ark_NativePointer node, + const Ark_VisibleAreaEventOptions* options, + const Opt_VisibleAreaChangeCallback* event) + { + if (!needGroupedLog(1)) + return; + string out("onVisibleAreaApproximateChange("); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, event); + out.append(") \n"); + appendGroupedLog(1, out); + } void KeyboardShortcutImpl(Ark_NativePointer node, const Ark_Union_String_FunctionKey* value, const Array_ModifierKey* keys, @@ -4418,7 +4899,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void StrokeWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -4438,7 +4919,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void StrokeDashArrayImpl(Ark_NativePointer node, - const Array_Union_String_Number_Resource* value) + const Array_Length* value) { if (!needGroupedLog(1)) return; @@ -4593,6 +5074,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void DigitalCrownSensitivityImpl(Ark_NativePointer node, + const Opt_CrownSensitivity* value) + { + if (!needGroupedLog(1)) + return; + string out("digitalCrownSensitivity("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void BackToTopImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("backToTop("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void EdgeEffectImpl(Ark_NativePointer node, Ark_EdgeEffect edgeEffect, const Opt_EdgeEffectOptions* options) @@ -4620,12 +5121,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // ScrollableCommonMethodModifier - namespace CanvasModifier { + namespace NavigationModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) { if (!needGroupedLog(1)) - return new TreeNode("Canvas", id, flags);; + return new TreeNode("Navigation", id, flags);; string out("construct("); WriteToString(&out, id); out.append(", "); @@ -4633,370 +5134,368 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return new TreeNode("Canvas", id, flags);; + return new TreeNode("Navigation", id, flags);; } - } // CanvasModifier - namespace CanvasInterfaceModifier { - void SetCanvasOptions0Impl(Ark_NativePointer node, - const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext* context) + } // NavigationModifier + namespace NavigationInterfaceModifier { + void SetNavigationOptions0Impl(Ark_NativePointer node) { if (!needGroupedLog(1)) return; - string out("setCanvasOptions("); - WriteToString(&out, context); + string out("setNavigationOptions("); out.append(") \n"); appendGroupedLog(1, out); } - void SetCanvasOptions1Impl(Ark_NativePointer node, - const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext* context, - const Ark_ImageAIOptions* imageAIOptions) + void SetNavigationOptions1Impl(Ark_NativePointer node, + Ark_NavPathStack pathInfos) { if (!needGroupedLog(1)) return; - string out("setCanvasOptions("); - WriteToString(&out, context); - out.append(", "); - WriteToString(&out, imageAIOptions); + string out("setNavigationOptions("); + WriteToString(&out, pathInfos); out.append(") \n"); appendGroupedLog(1, out); } - } // CanvasInterfaceModifier - namespace CanvasAttributeModifier { - void OnReadyImpl(Ark_NativePointer node, - const VoidCallback* value) + } // NavigationInterfaceModifier + namespace NavigationAttributeModifier { + void NavBarWidthImpl(Ark_NativePointer node, + const Ark_Length* value) { if (!needGroupedLog(1)) return; - string out("onReady("); + string out("navBarWidth("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void EnableAnalyzerImpl(Ark_NativePointer node, - Ark_Boolean value) + void NavBarPositionImpl(Ark_NativePointer node, + Ark_NavBarPosition value) { if (!needGroupedLog(1)) return; - string out("enableAnalyzer("); + string out("navBarPosition("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // CanvasAttributeModifier - namespace CheckboxModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) + void NavBarWidthRangeImpl(Ark_NativePointer node, + const Ark_Tuple_Dimension_Dimension* value) { if (!needGroupedLog(1)) - return new TreeNode("Checkbox", id, flags);; - string out("construct("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, flags); + return; + string out("navBarWidthRange("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return new TreeNode("Checkbox", id, flags);; } - } // CheckboxModifier - namespace CheckboxInterfaceModifier { - void SetCheckboxOptionsImpl(Ark_NativePointer node, - const Opt_CheckboxOptions* options) + void MinContentWidthImpl(Ark_NativePointer node, + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; - string out("setCheckboxOptions("); - WriteToString(&out, options); + string out("minContentWidth("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // CheckboxInterfaceModifier - namespace CheckboxAttributeModifier { - void SelectImpl(Ark_NativePointer node, - Ark_Boolean value) + void ModeImpl(Ark_NativePointer node, + Ark_NavigationMode value) { if (!needGroupedLog(1)) return; - string out("select("); + string out("mode("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SelectedColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void BackButtonIcon0Impl(Ark_NativePointer node, + const Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier* value) { if (!needGroupedLog(1)) return; - string out("selectedColor("); + string out("backButtonIcon("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void ShapeImpl(Ark_NativePointer node, - Ark_CheckBoxShape value) + void BackButtonIcon1Impl(Ark_NativePointer node, + const Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier* icon, + const Opt_ResourceStr* accessibilityText) { if (!needGroupedLog(1)) return; - string out("shape("); - WriteToString(&out, value); + string out("backButtonIcon("); + WriteToString(&out, icon); + out.append(", "); + WriteToString(&out, accessibilityText); out.append(") \n"); appendGroupedLog(1, out); } - void UnselectedColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void HideNavBarImpl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; - string out("unselectedColor("); + string out("hideNavBar("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void MarkImpl(Ark_NativePointer node, - const Ark_MarkStyle* value) + void SubTitleImpl(Ark_NativePointer node, + const Ark_String* value) { if (!needGroupedLog(1)) return; - string out("mark("); + string out("subTitle("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void OnChangeImpl(Ark_NativePointer node, - const OnCheckboxChangeCallback* value) + void HideTitleBar0Impl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; - string out("onChange("); + string out("hideTitleBar("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void ContentModifierImpl(Ark_NativePointer node, - const Ark_Object* value) + void HideTitleBar1Impl(Ark_NativePointer node, + Ark_Boolean hide, + Ark_Boolean animated) { if (!needGroupedLog(1)) return; - string out("contentModifier("); + string out("hideTitleBar("); + WriteToString(&out, hide); + out.append(", "); + WriteToString(&out, animated); + out.append(") \n"); + appendGroupedLog(1, out); + } + void HideBackButtonImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("hideBackButton("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void _onChangeEvent_selectImpl(Ark_NativePointer node, - const Callback_Boolean_Void* callback) + void TitleModeImpl(Ark_NativePointer node, + Ark_NavigationTitleMode value) { if (!needGroupedLog(1)) return; - string out("_onChangeEvent_select("); - WriteToString(&out, callback); + string out("titleMode("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // CheckboxAttributeModifier - namespace CheckboxGroupModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) + void Menus0Impl(Ark_NativePointer node, + const Ark_Union_Array_NavigationMenuItem_CustomBuilder* value) { if (!needGroupedLog(1)) - return new TreeNode("CheckboxGroup", id, flags);; - string out("construct("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, flags); + return; + string out("menus("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return new TreeNode("CheckboxGroup", id, flags);; } - } // CheckboxGroupModifier - namespace CheckboxGroupInterfaceModifier { - void SetCheckboxGroupOptionsImpl(Ark_NativePointer node, - const Opt_CheckboxGroupOptions* options) + void Menus1Impl(Ark_NativePointer node, + const Ark_Union_Array_NavigationMenuItem_CustomBuilder* items, + const Opt_NavigationMenuOptions* options) { if (!needGroupedLog(1)) return; - string out("setCheckboxGroupOptions("); + string out("menus("); + WriteToString(&out, items); + out.append(", "); WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); } - } // CheckboxGroupInterfaceModifier - namespace CheckboxGroupAttributeModifier { - void SelectAllImpl(Ark_NativePointer node, - Ark_Boolean value) + void ToolBarImpl(Ark_NativePointer node, + const CustomNodeBuilder* value) { if (!needGroupedLog(1)) return; - string out("selectAll("); + string out("toolBar("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void SelectedColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void HideToolBar0Impl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; - string out("selectedColor("); + string out("hideToolBar("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void UnselectedColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void HideToolBar1Impl(Ark_NativePointer node, + Ark_Boolean hide, + Ark_Boolean animated) { if (!needGroupedLog(1)) return; - string out("unselectedColor("); - WriteToString(&out, value); + string out("hideToolBar("); + WriteToString(&out, hide); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); appendGroupedLog(1, out); } - void MarkImpl(Ark_NativePointer node, - const Ark_MarkStyle* value) + void EnableToolBarAdaptationImpl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) return; - string out("mark("); + string out("enableToolBarAdaptation("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void OnChangeImpl(Ark_NativePointer node, - const OnCheckboxGroupChangeCallback* value) + void OnTitleModeChangeImpl(Ark_NativePointer node, + const Callback_NavigationTitleMode_Void* value) { if (!needGroupedLog(1)) return; - string out("onChange("); + string out("onTitleModeChange("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void CheckboxShapeImpl(Ark_NativePointer node, - Ark_CheckBoxShape value) + void OnNavBarStateChangeImpl(Ark_NativePointer node, + const Callback_Boolean_Void* value) { if (!needGroupedLog(1)) return; - string out("checkboxShape("); + string out("onNavBarStateChange("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void _onChangeEvent_selectAllImpl(Ark_NativePointer node, - const Callback_Boolean_Void* callback) + void OnNavigationModeChangeImpl(Ark_NativePointer node, + const Callback_NavigationMode_Void* value) { if (!needGroupedLog(1)) return; - string out("_onChangeEvent_selectAll("); - WriteToString(&out, callback); + string out("onNavigationModeChange("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // CheckboxGroupAttributeModifier - namespace CircleModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) + void NavDestinationImpl(Ark_NativePointer node, + const Callback_String_Opt_Object_Void* value) { if (!needGroupedLog(1)) - return new TreeNode("Circle", id, flags);; - string out("construct("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, flags); + return; + string out("navDestination("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return new TreeNode("Circle", id, flags);; } - } // CircleModifier - namespace CircleInterfaceModifier { - void SetCircleOptionsImpl(Ark_NativePointer node, - const Opt_CircleOptions* value) + void CustomNavContentTransitionImpl(Ark_NativePointer node, + const Type_NavigationAttribute_customNavContentTransition_delegate* value) { if (!needGroupedLog(1)) return; - string out("setCircleOptions("); + string out("customNavContentTransition("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // CircleInterfaceModifier - namespace ColumnModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) + void SystemBarStyleImpl(Ark_NativePointer node, + const Opt_SystemBarStyle* value) { if (!needGroupedLog(1)) - return new TreeNode("Column", id, flags);; - string out("construct("); - WriteToString(&out, id); - out.append(", "); - WriteToString(&out, flags); + return; + string out("systemBarStyle("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return new TreeNode("Column", id, flags);; } - } // ColumnModifier - namespace ColumnInterfaceModifier { - void SetColumnOptionsImpl(Ark_NativePointer node, - const Opt_ColumnOptions* options) + void RecoverableImpl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) return; - string out("setColumnOptions("); - WriteToString(&out, options); + string out("recoverable("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // ColumnInterfaceModifier - namespace ColumnAttributeModifier { - void AlignItemsImpl(Ark_NativePointer node, - Ark_HorizontalAlign value) + void EnableDragBarImpl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) return; - string out("alignItems("); + string out("enableDragBar("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void JustifyContentImpl(Ark_NativePointer node, - Ark_FlexAlign value) + void EnableModeChangeAnimationImpl(Ark_NativePointer node, + const Opt_Boolean* value) { if (!needGroupedLog(1)) return; - string out("justifyContent("); + string out("enableModeChangeAnimation("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void PointLightImpl(Ark_NativePointer node, - const Ark_PointLightStyle* value) + void TitleImpl(Ark_NativePointer node, + const Ark_Type_NavigationAttribute_title_value* value, + const Opt_NavigationTitleOptions* options) { if (!needGroupedLog(1)) return; - string out("pointLight("); + string out("title("); WriteToString(&out, value); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); } - void ReverseImpl(Ark_NativePointer node, - const Opt_Boolean* value) + void ToolbarConfigurationImpl(Ark_NativePointer node, + const Ark_Union_Array_ToolbarItem_CustomBuilder* value, + const Opt_NavigationToolbarOptions* options) { if (!needGroupedLog(1)) return; - string out("reverse("); + string out("toolbarConfiguration("); WriteToString(&out, value); + out.append(", "); + WriteToString(&out, options); out.append(") \n"); appendGroupedLog(1, out); } - } // ColumnAttributeModifier - namespace ColumnSplitModifier { + void IgnoreLayoutSafeAreaImpl(Ark_NativePointer node, + const Opt_Array_LayoutSafeAreaType* types, + const Opt_Array_LayoutSafeAreaEdge* edges) + { + if (!needGroupedLog(1)) + return; + string out("ignoreLayoutSafeArea("); + WriteToString(&out, types); + out.append(", "); + WriteToString(&out, edges); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // NavigationAttributeModifier + namespace CanvasModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) { if (!needGroupedLog(1)) - return new TreeNode("ColumnSplit", id, flags);; + return new TreeNode("Canvas", id, flags);; string out("construct("); WriteToString(&out, id); out.append(", "); @@ -5004,47 +5503,558 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return new TreeNode("ColumnSplit", id, flags);; + return new TreeNode("Canvas", id, flags);; } - } // ColumnSplitModifier - namespace ColumnSplitInterfaceModifier { - void SetColumnSplitOptionsImpl(Ark_NativePointer node) + } // CanvasModifier + namespace CanvasInterfaceModifier { + void SetCanvasOptions0Impl(Ark_NativePointer node, + const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext* context) { if (!needGroupedLog(1)) return; - string out("setColumnSplitOptions("); + string out("setCanvasOptions("); + WriteToString(&out, context); out.append(") \n"); appendGroupedLog(1, out); } - } // ColumnSplitInterfaceModifier - namespace ColumnSplitAttributeModifier { - void ResizeableImpl(Ark_NativePointer node, - Ark_Boolean value) + void SetCanvasOptions1Impl(Ark_NativePointer node, + const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext* context, + const Ark_ImageAIOptions* imageAIOptions) { if (!needGroupedLog(1)) return; - string out("resizeable("); + string out("setCanvasOptions("); + WriteToString(&out, context); + out.append(", "); + WriteToString(&out, imageAIOptions); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // CanvasInterfaceModifier + namespace CanvasAttributeModifier { + void OnReadyImpl(Ark_NativePointer node, + const VoidCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onReady("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void DividerImpl(Ark_NativePointer node, - const Opt_ColumnSplitDividerStyle* value) + void EnableAnalyzerImpl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; - string out("divider("); + string out("enableAnalyzer("); WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - } // ColumnSplitAttributeModifier - namespace Component3DModifier { + } // CanvasAttributeModifier + namespace CheckboxModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) { if (!needGroupedLog(1)) - return new TreeNode("Component3D", id, flags);; + return new TreeNode("Checkbox", id, flags);; + string out("construct("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, flags); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return new TreeNode("Checkbox", id, flags);; + } + } // CheckboxModifier + namespace CheckboxInterfaceModifier { + void SetCheckboxOptionsImpl(Ark_NativePointer node, + const Opt_CheckboxOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("setCheckboxOptions("); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // CheckboxInterfaceModifier + namespace CheckboxAttributeModifier { + void Select0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("select("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Select1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("select("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectedColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectedColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Shape0Impl(Ark_NativePointer node, + Ark_CheckBoxShape value) + { + if (!needGroupedLog(1)) + return; + string out("shape("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Shape1Impl(Ark_NativePointer node, + const Opt_CheckBoxShape* value) + { + if (!needGroupedLog(1)) + return; + string out("shape("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void UnselectedColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("unselectedColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void UnselectedColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("unselectedColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Mark0Impl(Ark_NativePointer node, + const Ark_MarkStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("mark("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Mark1Impl(Ark_NativePointer node, + const Opt_MarkStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("mark("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnChange0Impl(Ark_NativePointer node, + const OnCheckboxChangeCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnChange1Impl(Ark_NativePointer node, + const Opt_OnCheckboxChangeCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ContentModifier0Impl(Ark_NativePointer node, + const Ark_Object* value) + { + if (!needGroupedLog(1)) + return; + string out("contentModifier("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ContentModifier1Impl(Ark_NativePointer node, + const Opt_ContentModifier* value) + { + if (!needGroupedLog(1)) + return; + string out("contentModifier("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void _onChangeEvent_selectImpl(Ark_NativePointer node, + const Callback_Boolean_Void* callback) + { + if (!needGroupedLog(1)) + return; + string out("_onChangeEvent_select("); + WriteToString(&out, callback); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // CheckboxAttributeModifier + namespace CheckboxGroupModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + if (!needGroupedLog(1)) + return new TreeNode("CheckboxGroup", id, flags);; + string out("construct("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, flags); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return new TreeNode("CheckboxGroup", id, flags);; + } + } // CheckboxGroupModifier + namespace CheckboxGroupInterfaceModifier { + void SetCheckboxGroupOptionsImpl(Ark_NativePointer node, + const Opt_CheckboxGroupOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("setCheckboxGroupOptions("); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // CheckboxGroupInterfaceModifier + namespace CheckboxGroupAttributeModifier { + void SelectAll0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("selectAll("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectAll1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("selectAll("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectedColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectedColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void UnselectedColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("unselectedColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void UnselectedColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("unselectedColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Mark0Impl(Ark_NativePointer node, + const Ark_MarkStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("mark("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Mark1Impl(Ark_NativePointer node, + const Opt_MarkStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("mark("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnChange0Impl(Ark_NativePointer node, + const OnCheckboxGroupChangeCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnChange1Impl(Ark_NativePointer node, + const Opt_OnCheckboxGroupChangeCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void CheckboxShape0Impl(Ark_NativePointer node, + Ark_CheckBoxShape value) + { + if (!needGroupedLog(1)) + return; + string out("checkboxShape("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void CheckboxShape1Impl(Ark_NativePointer node, + const Opt_CheckBoxShape* value) + { + if (!needGroupedLog(1)) + return; + string out("checkboxShape("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void _onChangeEvent_selectAllImpl(Ark_NativePointer node, + const Callback_Boolean_Void* callback) + { + if (!needGroupedLog(1)) + return; + string out("_onChangeEvent_selectAll("); + WriteToString(&out, callback); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // CheckboxGroupAttributeModifier + namespace CircleModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + if (!needGroupedLog(1)) + return new TreeNode("Circle", id, flags);; + string out("construct("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, flags); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return new TreeNode("Circle", id, flags);; + } + } // CircleModifier + namespace CircleInterfaceModifier { + void SetCircleOptionsImpl(Ark_NativePointer node, + const Opt_CircleOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("setCircleOptions("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // CircleInterfaceModifier + namespace ColumnModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + if (!needGroupedLog(1)) + return new TreeNode("Column", id, flags);; + string out("construct("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, flags); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return new TreeNode("Column", id, flags);; + } + } // ColumnModifier + namespace ColumnInterfaceModifier { + void SetColumnOptions0Impl(Ark_NativePointer node, + const Opt_ColumnOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("setColumnOptions("); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetColumnOptions1Impl(Ark_NativePointer node, + const Opt_Union_ColumnOptions_ColumnOptionsV2* options) + { + if (!needGroupedLog(1)) + return; + string out("setColumnOptions("); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // ColumnInterfaceModifier + namespace ColumnAttributeModifier { + void AlignItemsImpl(Ark_NativePointer node, + Ark_HorizontalAlign value) + { + if (!needGroupedLog(1)) + return; + string out("alignItems("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void JustifyContentImpl(Ark_NativePointer node, + Ark_FlexAlign value) + { + if (!needGroupedLog(1)) + return; + string out("justifyContent("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void PointLightImpl(Ark_NativePointer node, + const Ark_PointLightStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("pointLight("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ReverseImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("reverse("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // ColumnAttributeModifier + namespace ColumnSplitModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + if (!needGroupedLog(1)) + return new TreeNode("ColumnSplit", id, flags);; + string out("construct("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, flags); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return new TreeNode("ColumnSplit", id, flags);; + } + } // ColumnSplitModifier + namespace ColumnSplitInterfaceModifier { + void SetColumnSplitOptionsImpl(Ark_NativePointer node) + { + if (!needGroupedLog(1)) + return; + string out("setColumnSplitOptions("); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // ColumnSplitInterfaceModifier + namespace ColumnSplitAttributeModifier { + void ResizeableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("resizeable("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DividerImpl(Ark_NativePointer node, + const Opt_ColumnSplitDividerStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("divider("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // ColumnSplitAttributeModifier + namespace Component3DModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + if (!needGroupedLog(1)) + return new TreeNode("Component3D", id, flags);; string out("construct("); WriteToString(&out, id); out.append(", "); @@ -5109,7 +6119,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void RenderWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; @@ -5119,7 +6129,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void RenderHeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; @@ -5308,7 +6318,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void StrokeWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -5367,8 +6377,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // DatePickerInterfaceModifier namespace DatePickerAttributeModifier { - void LunarImpl(Ark_NativePointer node, - Ark_Boolean value) + void Lunar0Impl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; @@ -5377,8 +6387,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void DisappearTextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void Lunar1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("lunar("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DisappearTextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("disappearTextStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DisappearTextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { if (!needGroupedLog(1)) return; @@ -5387,8 +6417,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void TextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void TextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("textStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void TextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { if (!needGroupedLog(1)) return; @@ -5397,8 +6437,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SelectedTextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void SelectedTextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedTextStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectedTextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { if (!needGroupedLog(1)) return; @@ -5417,8 +6467,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OnDateChangeImpl(Ark_NativePointer node, - const Callback_Date_Void* value) + void OnDateChange0Impl(Ark_NativePointer node, + const Callback_Date_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onDateChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnDateChange1Impl(Ark_NativePointer node, + const Opt_Callback_Date_Void* value) { if (!needGroupedLog(1)) return; @@ -5427,6 +6487,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void DigitalCrownSensitivityImpl(Ark_NativePointer node, + const Opt_CrownSensitivity* value) + { + if (!needGroupedLog(1)) + return; + string out("digitalCrownSensitivity("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EnableHapticFeedbackImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("enableHapticFeedback("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void _onChangeEvent_selectedImpl(Ark_NativePointer node, const Callback_Date_Void* callback) { @@ -5987,7 +7067,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void StrokeWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -6100,7 +7180,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void ColumnsGapImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -6110,7 +7190,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void RowsGapImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -6809,8 +7889,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void FillColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void FillColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("fillColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void FillColor1Impl(Ark_NativePointer node, + const Ark_Union_ResourceColor_ColorContent* value) { if (!needGroupedLog(1)) return; @@ -6829,6 +7919,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void ImageMatrixImpl(Ark_NativePointer node, + Ark_Matrix4Transit value) + { + if (!needGroupedLog(1)) + return; + string out("imageMatrix("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void ObjectRepeatImpl(Ark_NativePointer node, Ark_ImageRepeat value) { @@ -7029,6 +8129,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OrientationImpl(Ark_NativePointer node, + Ark_ImageRotateOrientation value) + { + if (!needGroupedLog(1)) + return; + string out("orientation("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } } // ImageAttributeModifier namespace ImageAnimatorModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -7137,6 +8247,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void MonitorInvisibleAreaImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("monitorInvisibleArea("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnStartImpl(Ark_NativePointer node, const Callback_Void* value) { @@ -7278,6 +8398,82 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // ImageSpanAttributeModifier + namespace LazyGridLayoutModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + if (!needGroupedLog(1)) + return new TreeNode("LazyGridLayout", id, flags);; + string out("construct("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, flags); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return new TreeNode("LazyGridLayout", id, flags);; + } + } // LazyGridLayoutModifier + namespace LazyGridLayoutAttributeModifier { + void RowsGapImpl(Ark_NativePointer node, + Ark_LengthMetrics value) + { + if (!needGroupedLog(1)) + return; + string out("rowsGap("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ColumnsGapImpl(Ark_NativePointer node, + Ark_LengthMetrics value) + { + if (!needGroupedLog(1)) + return; + string out("columnsGap("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // LazyGridLayoutAttributeModifier + namespace LazyVGridLayoutModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + if (!needGroupedLog(1)) + return new TreeNode("LazyVGridLayout", id, flags);; + string out("construct("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, flags); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return new TreeNode("LazyVGridLayout", id, flags);; + } + } // LazyVGridLayoutModifier + namespace LazyVGridLayoutInterfaceModifier { + void SetLazyVGridLayoutOptionsImpl(Ark_NativePointer node) + { + if (!needGroupedLog(1)) + return; + string out("setLazyVGridLayoutOptions("); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // LazyVGridLayoutInterfaceModifier + namespace LazyVGridLayoutAttributeModifier { + void ColumnsTemplateImpl(Ark_NativePointer node, + const Ark_String* value) + { + if (!needGroupedLog(1)) + return; + string out("columnsTemplate("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // LazyVGridLayoutAttributeModifier namespace LineModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) @@ -7308,7 +8504,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // LineInterfaceModifier namespace LineAttributeModifier { void StartPointImpl(Ark_NativePointer node, - const Array_Union_String_Number_Resource* value) + const Array_Length* value) { if (!needGroupedLog(1)) return; @@ -7318,7 +8514,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void EndPointImpl(Ark_NativePointer node, - const Array_Union_String_Number_Resource* value) + const Array_Length* value) { if (!needGroupedLog(1)) return; @@ -7550,6 +8746,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void StackFromEndImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("stackFromEnd("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnScrollImpl(Ark_NativePointer node, const Callback_Number_Number_Void* value) { @@ -7702,7 +8908,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } void LanesImpl(Ark_NativePointer node, const Ark_Union_Number_LengthConstrain* value, - const Opt_Union_String_Number_Resource* gutter) + const Opt_Dimension* gutter) { if (!needGroupedLog(1)) return; @@ -7983,7 +9189,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // LocationButtonInterfaceModifier namespace LocationButtonAttributeModifier { void OnClickImpl(Ark_NativePointer node, - const Callback_ClickEvent_LocationButtonOnClickResult_Void* value) + const LocationButtonCallback* value) { if (!needGroupedLog(1)) return; @@ -8033,7 +9239,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -8169,7 +9375,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // MenuInterfaceModifier namespace MenuAttributeModifier { void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -8427,6 +9633,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void HideBackButtonImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("hideBackButton("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnShownImpl(Ark_NativePointer node, const Callback_Void* value) { @@ -8457,6 +9673,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OnResultImpl(Ark_NativePointer node, + const Opt_Callback_Object_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onResult("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void ModeImpl(Ark_NativePointer node, Ark_NavDestinationMode value) { @@ -8467,8 +9693,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void BackButtonIconImpl(Ark_NativePointer node, - const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier* value) + void BackButtonIcon0Impl(Ark_NativePointer node, + const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier* value) { if (!needGroupedLog(1)) return; @@ -8477,8 +9703,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void MenusImpl(Ark_NativePointer node, - const Ark_Union_Array_NavigationMenuItem_CustomBuilder* value) + void BackButtonIcon1Impl(Ark_NativePointer node, + const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier* icon, + const Opt_ResourceStr* accessibilityText) + { + if (!needGroupedLog(1)) + return; + string out("backButtonIcon("); + WriteToString(&out, icon); + out.append(", "); + WriteToString(&out, accessibilityText); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Menus0Impl(Ark_NativePointer node, + const Ark_Union_Array_NavigationMenuItem_CustomBuilder* value) { if (!needGroupedLog(1)) return; @@ -8487,6 +9726,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void Menus1Impl(Ark_NativePointer node, + const Ark_Union_Array_NavigationMenuItem_CustomBuilder* items, + const Opt_NavigationMenuOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("menus("); + WriteToString(&out, items); + out.append(", "); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnReadyImpl(Ark_NativePointer node, const Callback_NavDestinationContext_Void* value) { @@ -8567,6 +9819,86 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void BindToScrollableImpl(Ark_NativePointer node, + const Array_Scroller* value) + { + if (!needGroupedLog(1)) + return; + string out("bindToScrollable("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void BindToNestedScrollableImpl(Ark_NativePointer node, + const Array_NestedScrollInfo* value) + { + if (!needGroupedLog(1)) + return; + string out("bindToNestedScrollable("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnActiveImpl(Ark_NativePointer node, + const Opt_Callback_NavDestinationActiveReason_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onActive("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnInactiveImpl(Ark_NativePointer node, + const Opt_Callback_NavDestinationActiveReason_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onInactive("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void CustomTransitionImpl(Ark_NativePointer node, + const NavDestinationTransitionDelegate* value) + { + if (!needGroupedLog(1)) + return; + string out("customTransition("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnNewParamImpl(Ark_NativePointer node, + const Opt_Callback_Object_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onNewParam("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void PreferredOrientationImpl(Ark_NativePointer node, + const Opt_Orientation* value) + { + if (!needGroupedLog(1)) + return; + string out("preferredOrientation("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EnableNavigationIndicatorImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("enableNavigationIndicator("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void TitleImpl(Ark_NativePointer node, const Ark_Type_NavDestinationAttribute_title_value* value, const Opt_NavigationTitleOptions* options) @@ -8619,6 +9951,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void EnableStatusBarImpl(Ark_NativePointer node, + const Opt_Boolean* enabled, + const Opt_Boolean* animated) + { + if (!needGroupedLog(1)) + return; + string out("enableStatusBar("); + WriteToString(&out, enabled); + out.append(", "); + WriteToString(&out, animated); + out.append(") \n"); + appendGroupedLog(1, out); + } } // NavDestinationAttributeModifier namespace NavRouterModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -8982,7 +10327,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // PasteButtonInterfaceModifier namespace PasteButtonAttributeModifier { void OnClickImpl(Ark_NativePointer node, - const Callback_ClickEvent_PasteButtonOnClickResult_Void* value) + const PasteButtonCallback* value) { if (!needGroupedLog(1)) return; @@ -9062,7 +10407,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // PatternLockInterfaceModifier namespace PatternLockAttributeModifier { void SideLengthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -9072,7 +10417,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void CircleRadiusImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -9181,6 +10526,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void SkipUnselectedPointImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("skipUnselectedPoint("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } } // PatternLockAttributeModifier namespace PluginComponentModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -9481,8 +10836,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // RadioInterfaceModifier namespace RadioAttributeModifier { - void CheckedImpl(Ark_NativePointer node, - Ark_Boolean value) + void Checked0Impl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; @@ -9491,8 +10846,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OnChangeImpl(Ark_NativePointer node, - const Callback_Boolean_Void* value) + void Checked1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("checked("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnChange0Impl(Ark_NativePointer node, + const Callback_Boolean_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnChange1Impl(Ark_NativePointer node, + const Opt_OnRadioChangeCallback* value) { if (!needGroupedLog(1)) return; @@ -9511,8 +10886,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ContentModifierImpl(Ark_NativePointer node, - const Ark_Object* value) + void ContentModifier0Impl(Ark_NativePointer node, + const Ark_Object* value) + { + if (!needGroupedLog(1)) + return; + string out("contentModifier("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ContentModifier1Impl(Ark_NativePointer node, + const Opt_ContentModifier* value) { if (!needGroupedLog(1)) return; @@ -9561,8 +10946,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // RatingInterfaceModifier namespace RatingAttributeModifier { - void StarsImpl(Ark_NativePointer node, - const Ark_Number* value) + void Stars0Impl(Ark_NativePointer node, + const Ark_Number* value) { if (!needGroupedLog(1)) return; @@ -9571,8 +10956,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void StepSizeImpl(Ark_NativePointer node, - const Ark_Number* value) + void Stars1Impl(Ark_NativePointer node, + const Opt_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("stars("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void StepSize0Impl(Ark_NativePointer node, + const Ark_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("stepSize("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void StepSize1Impl(Ark_NativePointer node, + const Opt_Number* value) { if (!needGroupedLog(1)) return; @@ -9581,8 +10986,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void StarStyleImpl(Ark_NativePointer node, - const Ark_StarStyleOptions* value) + void StarStyle0Impl(Ark_NativePointer node, + const Ark_StarStyleOptions* value) { if (!needGroupedLog(1)) return; @@ -9591,8 +10996,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OnChangeImpl(Ark_NativePointer node, - const Callback_Number_Void* value) + void StarStyle1Impl(Ark_NativePointer node, + const Opt_StarStyleOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("starStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnChange0Impl(Ark_NativePointer node, + const Callback_Number_Void* value) { if (!needGroupedLog(1)) return; @@ -9601,8 +11016,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ContentModifierImpl(Ark_NativePointer node, - const Ark_Object* value) + void OnChange1Impl(Ark_NativePointer node, + const Opt_OnRatingChangeCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ContentModifier0Impl(Ark_NativePointer node, + const Ark_Object* value) + { + if (!needGroupedLog(1)) + return; + string out("contentModifier("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ContentModifier1Impl(Ark_NativePointer node, + const Opt_ContentModifier* value) { if (!needGroupedLog(1)) return; @@ -10139,6 +11574,46 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void MaxLengthImpl(Ark_NativePointer node, + const Opt_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("maxLength("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MaxLinesImpl(Ark_NativePointer node, + const Opt_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("maxLines("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void KeyboardAppearanceImpl(Ark_NativePointer node, + const Opt_KeyboardAppearance* value) + { + if (!needGroupedLog(1)) + return; + string out("keyboardAppearance("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void StopBackPressImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("stopBackPress("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void BindSelectionMenuImpl(Ark_NativePointer node, Ark_RichEditorSpanType spanType, const CustomNodeBuilder* content, @@ -10280,8 +11755,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // RowModifier namespace RowInterfaceModifier { - void SetRowOptionsImpl(Ark_NativePointer node, - const Opt_RowOptions* options) + void SetRowOptions0Impl(Ark_NativePointer node, + const Opt_RowOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("setRowOptions("); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetRowOptions1Impl(Ark_NativePointer node, + const Opt_Union_RowOptions_RowOptionsV2* options) { if (!needGroupedLog(1)) return; @@ -10409,7 +11894,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // SaveButtonInterfaceModifier namespace SaveButtonAttributeModifier { void OnClickImpl(Ark_NativePointer node, - const Callback_ClickEvent_SaveButtonOnClickResult_Void* value) + const SaveButtonCallback* value) { if (!needGroupedLog(1)) return; @@ -10770,7 +12255,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void TextIndentImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; @@ -10999,6 +12484,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void MinFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("minFontScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("maxFontScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void DecorationImpl(Ark_NativePointer node, const Ark_TextDecorationOptions* value) { @@ -11119,6 +12624,56 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void AutoCapitalizationModeImpl(Ark_NativePointer node, + Ark_AutoCapitalizationMode value) + { + if (!needGroupedLog(1)) + return; + string out("autoCapitalizationMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void HalfLeadingImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("halfLeading("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void StopBackPressImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("stopBackPress("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnWillChangeImpl(Ark_NativePointer node, + const Callback_EditableTextChangeValue_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("onWillChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void KeyboardAppearanceImpl(Ark_NativePointer node, + const Opt_KeyboardAppearance* value) + { + if (!needGroupedLog(1)) + return; + string out("keyboardAppearance("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void SearchButtonImpl(Ark_NativePointer node, const Ark_String* value, const Opt_SearchButtonOptions* option) @@ -11185,7 +12740,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { return new TreeNode("SecurityComponentMethod", id, flags);; } void IconSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; @@ -11235,7 +12790,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; @@ -11315,7 +12870,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void BorderWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; @@ -11334,8 +12889,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void BorderRadiusImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + void BorderRadius0Impl(Ark_NativePointer node, + const Ark_Dimension* value) + { + if (!needGroupedLog(1)) + return; + string out("borderRadius("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void BorderRadius1Impl(Ark_NativePointer node, + const Ark_Union_Dimension_BorderRadiuses* value) { if (!needGroupedLog(1)) return; @@ -11355,7 +12920,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void TextIconSpaceImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; @@ -11375,7 +12940,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void WidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -11385,7 +12950,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void HeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -11414,6 +12979,129 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void AlignImpl(Ark_NativePointer node, + Ark_Alignment value) + { + if (!needGroupedLog(1)) + return; + string out("align("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void AlignRules0Impl(Ark_NativePointer node, + const Ark_AlignRuleOption* value) + { + if (!needGroupedLog(1)) + return; + string out("alignRules("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void AlignRules1Impl(Ark_NativePointer node, + const Ark_LocalizedAlignRuleOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("alignRules("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void IdImpl(Ark_NativePointer node, + const Ark_String* value) + { + if (!needGroupedLog(1)) + return; + string out("id("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MinFontScaleImpl(Ark_NativePointer node, + const Ark_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("minFontScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Ark_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("maxFontScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MaxLinesImpl(Ark_NativePointer node, + const Ark_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("maxLines("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MinFontSizeImpl(Ark_NativePointer node, + const Ark_Union_Number_String_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("minFontSize("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MaxFontSizeImpl(Ark_NativePointer node, + const Ark_Union_Number_String_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("maxFontSize("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void HeightAdaptivePolicyImpl(Ark_NativePointer node, + Ark_TextHeightAdaptivePolicy value) + { + if (!needGroupedLog(1)) + return; + string out("heightAdaptivePolicy("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EnabledImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("enabled("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ChainModeImpl(Ark_NativePointer node, + Ark_Axis direction, + Ark_ChainStyle style) + { + if (!needGroupedLog(1)) + return; + string out("chainMode("); + WriteToString(&out, direction); + out.append(", "); + WriteToString(&out, style); + out.append(") \n"); + appendGroupedLog(1, out); + } } // SecurityComponentMethodModifier namespace SelectModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -11444,8 +13132,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // SelectInterfaceModifier namespace SelectAttributeModifier { - void SelectedImpl(Ark_NativePointer node, - const Ark_Union_Number_Resource* value) + void Selected0Impl(Ark_NativePointer node, + const Ark_Union_Number_Resource* value) { if (!needGroupedLog(1)) return; @@ -11454,8 +13142,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ValueImpl(Ark_NativePointer node, - const Ark_ResourceStr* value) + void Selected1Impl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("selected("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Value0Impl(Ark_NativePointer node, + const Ark_ResourceStr* value) { if (!needGroupedLog(1)) return; @@ -11464,8 +13162,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void FontImpl(Ark_NativePointer node, - const Ark_Font* value) + void Value1Impl(Ark_NativePointer node, + const Opt_ResourceStr* value) + { + if (!needGroupedLog(1)) + return; + string out("value("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Font0Impl(Ark_NativePointer node, + const Ark_Font* value) { if (!needGroupedLog(1)) return; @@ -11474,8 +13182,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void FontColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void Font1Impl(Ark_NativePointer node, + const Opt_Font* value) + { + if (!needGroupedLog(1)) + return; + string out("font("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void FontColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { if (!needGroupedLog(1)) return; @@ -11484,8 +13202,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SelectedOptionBgColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void FontColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("fontColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectedOptionBgColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { if (!needGroupedLog(1)) return; @@ -11494,8 +13222,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SelectedOptionFontImpl(Ark_NativePointer node, - const Ark_Font* value) + void SelectedOptionBgColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedOptionBgColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectedOptionFont0Impl(Ark_NativePointer node, + const Ark_Font* value) { if (!needGroupedLog(1)) return; @@ -11504,8 +13242,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SelectedOptionFontColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void SelectedOptionFont1Impl(Ark_NativePointer node, + const Opt_Font* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedOptionFont("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectedOptionFontColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { if (!needGroupedLog(1)) return; @@ -11514,8 +13262,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OptionBgColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void SelectedOptionFontColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedOptionFontColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OptionBgColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { if (!needGroupedLog(1)) return; @@ -11524,8 +13282,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OptionFontImpl(Ark_NativePointer node, - const Ark_Font* value) + void OptionBgColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("optionBgColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OptionFont0Impl(Ark_NativePointer node, + const Ark_Font* value) { if (!needGroupedLog(1)) return; @@ -11534,8 +13302,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OptionFontColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void OptionFont1Impl(Ark_NativePointer node, + const Opt_Font* value) + { + if (!needGroupedLog(1)) + return; + string out("optionFont("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OptionFontColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { if (!needGroupedLog(1)) return; @@ -11544,8 +13322,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OnSelectImpl(Ark_NativePointer node, - const Callback_Number_String_Void* value) + void OptionFontColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("optionFontColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnSelect0Impl(Ark_NativePointer node, + const Callback_Number_String_Void* value) { if (!needGroupedLog(1)) return; @@ -11554,8 +13342,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SpaceImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + void OnSelect1Impl(Ark_NativePointer node, + const Opt_OnSelectCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onSelect("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Space0Impl(Ark_NativePointer node, + const Ark_Length* value) + { + if (!needGroupedLog(1)) + return; + string out("space("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Space1Impl(Ark_NativePointer node, + const Opt_Length* value) { if (!needGroupedLog(1)) return; @@ -11564,8 +13372,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ArrowPositionImpl(Ark_NativePointer node, - Ark_ArrowPosition value) + void ArrowPosition0Impl(Ark_NativePointer node, + Ark_ArrowPosition value) + { + if (!needGroupedLog(1)) + return; + string out("arrowPosition("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ArrowPosition1Impl(Ark_NativePointer node, + const Opt_ArrowPosition* value) { if (!needGroupedLog(1)) return; @@ -11574,8 +13392,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OptionWidthImpl(Ark_NativePointer node, - const Ark_Union_Dimension_OptionWidthMode* value) + void OptionWidth0Impl(Ark_NativePointer node, + const Ark_Union_Dimension_OptionWidthMode* value) { if (!needGroupedLog(1)) return; @@ -11584,8 +13402,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OptionHeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + void OptionWidth1Impl(Ark_NativePointer node, + const Opt_Union_Dimension_OptionWidthMode* value) + { + if (!needGroupedLog(1)) + return; + string out("optionWidth("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OptionHeight0Impl(Ark_NativePointer node, + const Ark_Dimension* value) + { + if (!needGroupedLog(1)) + return; + string out("optionHeight("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OptionHeight1Impl(Ark_NativePointer node, + const Opt_Dimension* value) { if (!needGroupedLog(1)) return; @@ -11594,8 +13432,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void MenuBackgroundColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void MenuBackgroundColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { if (!needGroupedLog(1)) return; @@ -11604,8 +13442,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void MenuBackgroundBlurStyleImpl(Ark_NativePointer node, - Ark_BlurStyle value) + void MenuBackgroundColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("menuBackgroundColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MenuBackgroundBlurStyle0Impl(Ark_NativePointer node, + Ark_BlurStyle value) { if (!needGroupedLog(1)) return; @@ -11614,8 +13462,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ControlSizeImpl(Ark_NativePointer node, - Ark_ControlSize value) + void MenuBackgroundBlurStyle1Impl(Ark_NativePointer node, + const Opt_BlurStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("menuBackgroundBlurStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ControlSize0Impl(Ark_NativePointer node, + Ark_ControlSize value) { if (!needGroupedLog(1)) return; @@ -11624,8 +13482,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void MenuItemContentModifierImpl(Ark_NativePointer node, - const Ark_Object* value) + void ControlSize1Impl(Ark_NativePointer node, + const Opt_ControlSize* value) + { + if (!needGroupedLog(1)) + return; + string out("controlSize("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MenuItemContentModifier0Impl(Ark_NativePointer node, + const Ark_Object* value) + { + if (!needGroupedLog(1)) + return; + string out("menuItemContentModifier("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MenuItemContentModifier1Impl(Ark_NativePointer node, + const Opt_ContentModifier* value) { if (!needGroupedLog(1)) return; @@ -11644,9 +13522,92 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void MenuAlignImpl(Ark_NativePointer node, - Ark_MenuAlignType alignType, - const Opt_Offset* offset) + void TextModifierImpl(Ark_NativePointer node, + const Opt_TextModifier* value) + { + if (!needGroupedLog(1)) + return; + string out("textModifier("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ArrowModifierImpl(Ark_NativePointer node, + const Opt_SymbolGlyphModifier* value) + { + if (!needGroupedLog(1)) + return; + string out("arrowModifier("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OptionTextModifierImpl(Ark_NativePointer node, + const Opt_TextModifier* value) + { + if (!needGroupedLog(1)) + return; + string out("optionTextModifier("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectedOptionTextModifierImpl(Ark_NativePointer node, + const Opt_TextModifier* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedOptionTextModifier("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DividerStyleImpl(Ark_NativePointer node, + const Opt_DividerStyleOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("dividerStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void AvoidanceImpl(Ark_NativePointer node, + Ark_AvoidanceMode value) + { + if (!needGroupedLog(1)) + return; + string out("avoidance("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MenuOutlineImpl(Ark_NativePointer node, + const Ark_MenuOutlineOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("menuOutline("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MenuAlign0Impl(Ark_NativePointer node, + Ark_MenuAlignType alignType, + const Opt_Offset* offset) + { + if (!needGroupedLog(1)) + return; + string out("menuAlign("); + WriteToString(&out, alignType); + out.append(", "); + WriteToString(&out, offset); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MenuAlign1Impl(Ark_NativePointer node, + const Opt_MenuAlignType* alignType, + const Opt_Offset* offset) { if (!needGroupedLog(1)) return; @@ -11756,7 +13717,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void StrokeDashArrayImpl(Ark_NativePointer node, - const Array_Union_String_Number_Resource* value) + const Array_Length* value) { if (!needGroupedLog(1)) return; @@ -11901,8 +13862,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SelectedColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void SelectedColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectedColor1Impl(Ark_NativePointer node, + const Ark_Union_ResourceColor_LinearGradient* value) { if (!needGroupedLog(1)) return; @@ -11942,7 +13913,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void TrackThicknessImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -11972,7 +13943,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void BlockBorderWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -11992,7 +13963,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void TrackBorderRadiusImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -12002,7 +13973,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SelectedBorderRadiusImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; @@ -12032,7 +14003,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void StepSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -12081,6 +14052,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void DigitalCrownSensitivityImpl(Ark_NativePointer node, + const Opt_CrownSensitivity* value) + { + if (!needGroupedLog(1)) + return; + string out("digitalCrownSensitivity("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EnableHapticFeedbackImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("enableHapticFeedback("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void ShowTipsImpl(Ark_NativePointer node, Ark_Boolean value, const Opt_ResourceStr* content) @@ -12261,7 +14252,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void LineHeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -12518,8 +14509,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void AutoPlayImpl(Ark_NativePointer node, - Ark_Boolean value) + void AutoPlay0Impl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; @@ -12528,6 +14519,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void AutoPlay1Impl(Ark_NativePointer node, + Ark_Boolean autoPlay, + const Ark_AutoPlayOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("autoPlay("); + WriteToString(&out, autoPlay); + out.append(", "); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } void IntervalImpl(Ark_NativePointer node, const Ark_Number* value) { @@ -12549,7 +14553,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void Indicator1Impl(Ark_NativePointer node, - Ark_IndicatorComponentController value) + const Ark_Type_SwiperAttribute_indicator_indicator* value) { if (!needGroupedLog(1)) return; @@ -12608,8 +14612,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void CachedCountImpl(Ark_NativePointer node, - const Ark_Number* value) + void CachedCount0Impl(Ark_NativePointer node, + const Ark_Number* value) { if (!needGroupedLog(1)) return; @@ -12618,6 +14622,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void CachedCount1Impl(Ark_NativePointer node, + const Ark_Number* count, + Ark_Boolean isShown) + { + if (!needGroupedLog(1)) + return; + string out("cachedCount("); + WriteToString(&out, count); + out.append(", "); + WriteToString(&out, isShown); + out.append(") \n"); + appendGroupedLog(1, out); + } void EffectModeImpl(Ark_NativePointer node, Ark_EdgeEffect value) { @@ -12658,6 +14675,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OnSelectedImpl(Ark_NativePointer node, + const Callback_Number_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onSelected("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void IndicatorStyleImpl(Ark_NativePointer node, const Opt_IndicatorStyle* value) { @@ -12668,6 +14695,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OnUnselectedImpl(Ark_NativePointer node, + const Callback_Number_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onUnselected("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnAnimationStartImpl(Ark_NativePointer node, const OnSwiperAnimationStartCallback* value) { @@ -12738,6 +14775,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void PageFlipModeImpl(Ark_NativePointer node, + const Opt_PageFlipMode* value) + { + if (!needGroupedLog(1)) + return; + string out("pageFlipMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnContentWillScrollImpl(Ark_NativePointer node, + const ContentWillScrollCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onContentWillScroll("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void DisplayArrowImpl(Ark_NativePointer node, const Ark_Union_ArrowStyle_Boolean* value, const Opt_Boolean* isHoverShow) @@ -12765,7 +14822,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void PrevMarginImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value, + const Ark_Length* value, const Opt_Boolean* ignoreBlank) { if (!needGroupedLog(1)) @@ -12778,7 +14835,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void NextMarginImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value, + const Ark_Length* value, const Opt_Boolean* ignoreBlank) { if (!needGroupedLog(1)) @@ -12970,6 +15027,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void MinFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("minFontScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("maxFontScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void SymbolEffect0Impl(Ark_NativePointer node, Ark_SymbolEffect symbolEffect, const Opt_Boolean* isActive) @@ -13160,7 +15237,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void BarWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -13170,7 +15247,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void BarHeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -13219,6 +15296,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OnSelectedImpl(Ark_NativePointer node, + const Callback_Number_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onSelected("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnTabBarClickImpl(Ark_NativePointer node, const Callback_Number_Void* value) { @@ -13229,6 +15316,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OnUnselectedImpl(Ark_NativePointer node, + const Callback_Number_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onUnselected("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnAnimationStartImpl(Ark_NativePointer node, const OnTabsAnimationStartCallback* value) { @@ -13352,6 +15449,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void PageFlipModeImpl(Ark_NativePointer node, + const Opt_PageFlipMode* value) + { + if (!needGroupedLog(1)) + return; + string out("pageFlipMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnContentWillChangeImpl(Ark_NativePointer node, const OnTabsContentWillChangeCallback* value) { @@ -13372,6 +15479,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void CachedMaxCountImpl(Ark_NativePointer node, + const Ark_Number* count, + Ark_TabsCacheMode mode) + { + if (!needGroupedLog(1)) + return; + string out("cachedMaxCount("); + WriteToString(&out, count); + out.append(", "); + WriteToString(&out, mode); + out.append(") \n"); + appendGroupedLog(1, out); + } void _onChangeEvent_indexImpl(Ark_NativePointer node, const Callback_Number_Void* callback) { @@ -13430,6 +15550,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void TabBar2Impl(Ark_NativePointer node, + const Ark_Type_TabContentAttribute_tabBar_content* value) + { + if (!needGroupedLog(1)) + return; + string out("tabBar("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnWillShowImpl(Ark_NativePointer node, const VoidCallback* value) { @@ -13740,7 +15870,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void TextIndentImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -13849,6 +15979,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void MarqueeOptionsImpl(Ark_NativePointer node, + const Opt_TextMarqueeOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("marqueeOptions("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnMarqueeStateChangeImpl(Ark_NativePointer node, + const Callback_MarqueeState_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onMarqueeStateChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void PrivacySensitiveImpl(Ark_NativePointer node, Ark_Boolean value) { @@ -14022,7 +16172,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -14072,7 +16222,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void TextIndentImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; @@ -14271,6 +16421,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void MinFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("minFontScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("maxFontScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void HeightAdaptivePolicyImpl(Ark_NativePointer node, Ark_TextHeightAdaptivePolicy value) { @@ -14461,6 +16631,66 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void AutoCapitalizationModeImpl(Ark_NativePointer node, + Ark_AutoCapitalizationMode value) + { + if (!needGroupedLog(1)) + return; + string out("autoCapitalizationMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void HalfLeadingImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("halfLeading("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EllipsisModeImpl(Ark_NativePointer node, + const Opt_EllipsisMode* value) + { + if (!needGroupedLog(1)) + return; + string out("ellipsisMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void StopBackPressImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("stopBackPress("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnWillChangeImpl(Ark_NativePointer node, + const Callback_EditableTextChangeValue_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("onWillChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void KeyboardAppearanceImpl(Ark_NativePointer node, + const Opt_KeyboardAppearance* value) + { + if (!needGroupedLog(1)) + return; + string out("keyboardAppearance("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void InputFilterImpl(Ark_NativePointer node, const Ark_ResourceStr* value, const Opt_Callback_String_Void* error) @@ -14571,7 +16801,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -14721,7 +16951,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void TextIndentImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; @@ -14841,7 +17071,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -15140,6 +17370,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void MinFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("minFontScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + if (!needGroupedLog(1)) + return; + string out("maxFontScale("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void HeightAdaptivePolicyImpl(Ark_NativePointer node, Ark_TextHeightAdaptivePolicy value) { @@ -15300,6 +17550,66 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void AutoCapitalizationModeImpl(Ark_NativePointer node, + Ark_AutoCapitalizationMode value) + { + if (!needGroupedLog(1)) + return; + string out("autoCapitalizationMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void HalfLeadingImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("halfLeading("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EllipsisModeImpl(Ark_NativePointer node, + const Opt_EllipsisMode* value) + { + if (!needGroupedLog(1)) + return; + string out("ellipsisMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void StopBackPressImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("stopBackPress("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnWillChangeImpl(Ark_NativePointer node, + const Callback_EditableTextChangeValue_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("onWillChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void KeyboardAppearanceImpl(Ark_NativePointer node, + const Opt_KeyboardAppearance* value) + { + if (!needGroupedLog(1)) + return; + string out("keyboardAppearance("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void InputFilterImpl(Ark_NativePointer node, const Ark_ResourceStr* value, const Opt_Callback_String_Void* error) @@ -15379,8 +17689,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // TextPickerInterfaceModifier namespace TextPickerAttributeModifier { - void DefaultPickerItemHeightImpl(Ark_NativePointer node, - const Ark_Union_Number_String* value) + void DefaultPickerItemHeight0Impl(Ark_NativePointer node, + const Ark_Union_Number_String* value) { if (!needGroupedLog(1)) return; @@ -15389,8 +17699,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void CanLoopImpl(Ark_NativePointer node, - Ark_Boolean value) + void DefaultPickerItemHeight1Impl(Ark_NativePointer node, + const Opt_Union_Number_String* value) + { + if (!needGroupedLog(1)) + return; + string out("defaultPickerItemHeight("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void CanLoop0Impl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; @@ -15399,8 +17719,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void DisappearTextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void CanLoop1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("canLoop("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DisappearTextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("disappearTextStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DisappearTextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { if (!needGroupedLog(1)) return; @@ -15409,8 +17749,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void TextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void TextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("textStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void TextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { if (!needGroupedLog(1)) return; @@ -15419,8 +17769,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SelectedTextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void SelectedTextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) { if (!needGroupedLog(1)) return; @@ -15429,6 +17779,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void SelectedTextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedTextStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DisableTextStyleAnimationImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("disableTextStyleAnimation("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DefaultTextStyleImpl(Ark_NativePointer node, + const Ark_TextPickerTextStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("defaultTextStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void OnAcceptImpl(Ark_NativePointer node, const Callback_String_Number_Void* value) { @@ -15449,8 +17829,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OnChangeImpl(Ark_NativePointer node, - const Type_TextPickerAttribute_onChange_callback* value) + void OnChange0Impl(Ark_NativePointer node, + const Type_TextPickerAttribute_onChange_callback* value) + { + if (!needGroupedLog(1)) + return; + string out("onChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnChange1Impl(Ark_NativePointer node, + const Opt_OnTextPickerChangeCallback* value) { if (!needGroupedLog(1)) return; @@ -15459,8 +17849,38 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SelectedIndexImpl(Ark_NativePointer node, - const Ark_Union_Number_Array_Number* value) + void OnScrollStop0Impl(Ark_NativePointer node, + const TextPickerScrollStopCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onScrollStop("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnScrollStop1Impl(Ark_NativePointer node, + const Opt_TextPickerScrollStopCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onScrollStop("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnEnterSelectedAreaImpl(Ark_NativePointer node, + const TextPickerEnterSelectedAreaCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onEnterSelectedArea("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectedIndex0Impl(Ark_NativePointer node, + const Ark_Union_Number_Array_Number* value) { if (!needGroupedLog(1)) return; @@ -15469,8 +17889,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void DividerImpl(Ark_NativePointer node, - const Opt_DividerOptions* value) + void SelectedIndex1Impl(Ark_NativePointer node, + const Opt_Union_Number_Array_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedIndex("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Divider0Impl(Ark_NativePointer node, + const Opt_DividerOptions* value) { if (!needGroupedLog(1)) return; @@ -15479,8 +17909,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void GradientHeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + void Divider1Impl(Ark_NativePointer node, + const Opt_DividerOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("divider("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void GradientHeight0Impl(Ark_NativePointer node, + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; @@ -15489,6 +17929,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void GradientHeight1Impl(Ark_NativePointer node, + const Opt_Dimension* value) + { + if (!needGroupedLog(1)) + return; + string out("gradientHeight("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EnableHapticFeedbackImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("enableHapticFeedback("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DigitalCrownSensitivityImpl(Ark_NativePointer node, + const Opt_CrownSensitivity* value) + { + if (!needGroupedLog(1)) + return; + string out("digitalCrownSensitivity("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void _onChangeEvent_selectedImpl(Ark_NativePointer node, const Callback_Union_Number_Array_Number_Void* callback) { @@ -15560,7 +18030,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -15659,8 +18129,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // TimePickerInterfaceModifier namespace TimePickerAttributeModifier { - void UseMilitaryTimeImpl(Ark_NativePointer node, - Ark_Boolean value) + void UseMilitaryTime0Impl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; @@ -15669,8 +18139,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void LoopImpl(Ark_NativePointer node, - Ark_Boolean value) + void UseMilitaryTime1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("useMilitaryTime("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Loop0Impl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; @@ -15679,8 +18159,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void DisappearTextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void Loop1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("loop("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DisappearTextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("disappearTextStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DisappearTextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { if (!needGroupedLog(1)) return; @@ -15689,8 +18189,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void TextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void TextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) { if (!needGroupedLog(1)) return; @@ -15699,8 +18199,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void SelectedTextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void TextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("textStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SelectedTextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) { if (!needGroupedLog(1)) return; @@ -15709,8 +18219,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void DateTimeOptionsImpl(Ark_NativePointer node, - const Ark_DateTimeOptions* value) + void SelectedTextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) + { + if (!needGroupedLog(1)) + return; + string out("selectedTextStyle("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DateTimeOptions0Impl(Ark_NativePointer node, + const Ark_DateTimeOptions* value) { if (!needGroupedLog(1)) return; @@ -15719,8 +18239,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OnChangeImpl(Ark_NativePointer node, - const Callback_TimePickerResult_Void* value) + void DateTimeOptions1Impl(Ark_NativePointer node, + const Opt_DateTimeOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("dateTimeOptions("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnChange0Impl(Ark_NativePointer node, + const Callback_TimePickerResult_Void* value) { if (!needGroupedLog(1)) return; @@ -15729,8 +18259,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void EnableHapticFeedbackImpl(Ark_NativePointer node, - Ark_Boolean value) + void OnChange1Impl(Ark_NativePointer node, + const Opt_OnTimePickerChangeCallback* value) + { + if (!needGroupedLog(1)) + return; + string out("onChange("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnEnterSelectedAreaImpl(Ark_NativePointer node, + const Callback_TimePickerResult_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onEnterSelectedArea("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EnableHapticFeedback0Impl(Ark_NativePointer node, + Ark_Boolean value) { if (!needGroupedLog(1)) return; @@ -15739,6 +18289,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void EnableHapticFeedback1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + if (!needGroupedLog(1)) + return; + string out("enableHapticFeedback("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void DigitalCrownSensitivityImpl(Ark_NativePointer node, + const Opt_CrownSensitivity* value) + { + if (!needGroupedLog(1)) + return; + string out("digitalCrownSensitivity("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EnableCascadeImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("enableCascade("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void _onChangeEvent_selectedImpl(Ark_NativePointer node, const Callback_Date_Void* callback) { @@ -16039,6 +18619,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void SurfaceBackgroundColorImpl(Ark_NativePointer node, + Ark_ColorMetrics value) + { + if (!needGroupedLog(1)) + return; + string out("surfaceBackgroundColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EnableShortcutKeyImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("enableShortcutKey("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } } // VideoAttributeModifier namespace WebModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -16249,6 +18849,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void BlurOnKeyboardHideModeImpl(Ark_NativePointer node, + Ark_BlurOnKeyboardHideMode value) + { + if (!needGroupedLog(1)) + return; + string out("blurOnKeyboardHideMode("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void TextZoomAtioImpl(Ark_NativePointer node, const Ark_Number* value) { @@ -17159,16 +19769,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void EnableSmoothDragResizeImpl(Ark_NativePointer node, - Ark_Boolean value) - { - if (!needGroupedLog(1)) - return; - string out("enableSmoothDragResize("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } void OnRenderProcessNotRespondingImpl(Ark_NativePointer node, const OnRenderProcessNotRespondingCallback* value) { @@ -17259,6 +19859,76 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OptimizeParserBudgetImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("optimizeParserBudget("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EnableFollowSystemFontWeightImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("enableFollowSystemFontWeight("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EnableWebAVSessionImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("enableWebAVSession("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void RunJavaScriptOnDocumentStartImpl(Ark_NativePointer node, + const Array_ScriptItem* value) + { + if (!needGroupedLog(1)) + return; + string out("runJavaScriptOnDocumentStart("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void RunJavaScriptOnDocumentEndImpl(Ark_NativePointer node, + const Array_ScriptItem* value) + { + if (!needGroupedLog(1)) + return; + string out("runJavaScriptOnDocumentEnd("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void RunJavaScriptOnHeadEndImpl(Ark_NativePointer node, + const Array_ScriptItem* value) + { + if (!needGroupedLog(1)) + return; + string out("runJavaScriptOnHeadEnd("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void NativeEmbedOptionsImpl(Ark_NativePointer node, + const Opt_EmbedOptions* value) + { + if (!needGroupedLog(1)) + return; + string out("nativeEmbedOptions("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } void RegisterNativeEmbedRuleImpl(Ark_NativePointer node, const Ark_String* tag, const Ark_String* type) @@ -17382,6 +20052,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void SetXComponentOptions3Impl(Ark_NativePointer node, + const Ark_NativeXComponentParameters* params) + { + if (!needGroupedLog(1)) + return; + string out("setXComponentOptions("); + WriteToString(&out, params); + out.append(") \n"); + appendGroupedLog(1, out); + } } // XComponentInterfaceModifier namespace XComponentAttributeModifier { void OnLoadImpl(Ark_NativePointer node, @@ -17424,6 +20104,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void HdrBrightnessImpl(Ark_NativePointer node, + const Ark_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("hdrBrightness("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EnableTransparentLayerImpl(Ark_NativePointer node, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("enableTransparentLayer("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } } // XComponentAttributeModifier namespace SideBarContainerModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -17505,7 +20205,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void SideBarWidth1Impl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -17525,7 +20225,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void MinSideBarWidth1Impl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -17545,7 +20245,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void MaxSideBarWidth1Impl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -17585,7 +20285,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void MinContentWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { if (!needGroupedLog(1)) return; @@ -17693,7 +20393,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void ColumnsGapImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -17703,7 +20403,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void RowsGapImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { if (!needGroupedLog(1)) return; @@ -17908,6 +20608,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void OnDrawReadyImpl(Ark_NativePointer node, + const Callback_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onDrawReady("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } } // UIExtensionComponentAttributeModifier namespace LinearIndicatorModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -18098,6 +20808,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { ButtonAttributeModifier::FontFamilyImpl, ButtonAttributeModifier::ContentModifierImpl, ButtonAttributeModifier::LabelStyleImpl, + ButtonAttributeModifier::MinFontScaleImpl, + ButtonAttributeModifier::MaxFontScaleImpl, }; return &ArkUIButtonModifierImpl; } @@ -18129,13 +20841,334 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUICalendarPickerModifier ArkUICalendarPickerModifierImpl { CalendarPickerModifier::ConstructImpl, CalendarPickerInterfaceModifier::SetCalendarPickerOptionsImpl, - CalendarPickerAttributeModifier::TextStyleImpl, - CalendarPickerAttributeModifier::OnChangeImpl, - CalendarPickerAttributeModifier::EdgeAlignImpl, + CalendarPickerAttributeModifier::TextStyle0Impl, + CalendarPickerAttributeModifier::TextStyle1Impl, + CalendarPickerAttributeModifier::OnChange0Impl, + CalendarPickerAttributeModifier::OnChange1Impl, + CalendarPickerAttributeModifier::MarkTodayImpl, + CalendarPickerAttributeModifier::EdgeAlign0Impl, + CalendarPickerAttributeModifier::EdgeAlign1Impl, }; return &ArkUICalendarPickerModifierImpl; } + const GENERATED_ArkUICommonMethodModifier* GetCommonMethodModifier() + { + static const GENERATED_ArkUICommonMethodModifier ArkUICommonMethodModifierImpl { + CommonMethodModifier::ConstructImpl, + CommonMethodModifier::Width0Impl, + CommonMethodModifier::Width1Impl, + CommonMethodModifier::Height0Impl, + CommonMethodModifier::Height1Impl, + CommonMethodModifier::DrawModifierImpl, + CommonMethodModifier::ResponseRegionImpl, + CommonMethodModifier::MouseResponseRegionImpl, + CommonMethodModifier::SizeImpl, + CommonMethodModifier::ConstraintSizeImpl, + CommonMethodModifier::TouchableImpl, + CommonMethodModifier::HitTestBehaviorImpl, + CommonMethodModifier::OnChildTouchTestImpl, + CommonMethodModifier::LayoutWeightImpl, + CommonMethodModifier::ChainWeightImpl, + CommonMethodModifier::PaddingImpl, + CommonMethodModifier::SafeAreaPaddingImpl, + CommonMethodModifier::MarginImpl, + CommonMethodModifier::BackgroundColor0Impl, + CommonMethodModifier::BackgroundColor1Impl, + CommonMethodModifier::PixelRoundImpl, + CommonMethodModifier::BackgroundImageSizeImpl, + CommonMethodModifier::BackgroundImagePositionImpl, + CommonMethodModifier::BackgroundEffect0Impl, + CommonMethodModifier::BackgroundEffect1Impl, + CommonMethodModifier::BackgroundImageResizableImpl, + CommonMethodModifier::ForegroundEffectImpl, + CommonMethodModifier::VisualEffectImpl, + CommonMethodModifier::BackgroundFilterImpl, + CommonMethodModifier::ForegroundFilterImpl, + CommonMethodModifier::CompositingFilterImpl, + CommonMethodModifier::Opacity0Impl, + CommonMethodModifier::Opacity1Impl, + CommonMethodModifier::BorderImpl, + CommonMethodModifier::BorderStyleImpl, + CommonMethodModifier::BorderWidthImpl, + CommonMethodModifier::BorderColorImpl, + CommonMethodModifier::BorderRadiusImpl, + CommonMethodModifier::BorderImageImpl, + CommonMethodModifier::Outline0Impl, + CommonMethodModifier::Outline1Impl, + CommonMethodModifier::OutlineStyle0Impl, + CommonMethodModifier::OutlineStyle1Impl, + CommonMethodModifier::OutlineWidth0Impl, + CommonMethodModifier::OutlineWidth1Impl, + CommonMethodModifier::OutlineColor0Impl, + CommonMethodModifier::OutlineColor1Impl, + CommonMethodModifier::OutlineRadius0Impl, + CommonMethodModifier::OutlineRadius1Impl, + CommonMethodModifier::ForegroundColor0Impl, + CommonMethodModifier::ForegroundColor1Impl, + CommonMethodModifier::OnClick0Impl, + CommonMethodModifier::OnClick1Impl, + CommonMethodModifier::OnHoverImpl, + CommonMethodModifier::OnHoverMoveImpl, + CommonMethodModifier::OnAccessibilityHoverImpl, + CommonMethodModifier::HoverEffectImpl, + CommonMethodModifier::OnMouseImpl, + CommonMethodModifier::OnTouchImpl, + CommonMethodModifier::OnKeyEvent0Impl, + CommonMethodModifier::OnKeyEvent1Impl, + CommonMethodModifier::OnDigitalCrownImpl, + CommonMethodModifier::OnKeyPreImeImpl, + CommonMethodModifier::OnKeyEventDispatchImpl, + CommonMethodModifier::OnFocusAxisEventImpl, + CommonMethodModifier::OnAxisEventImpl, + CommonMethodModifier::FocusableImpl, + CommonMethodModifier::NextFocusImpl, + CommonMethodModifier::TabStopImpl, + CommonMethodModifier::OnFocusImpl, + CommonMethodModifier::OnBlurImpl, + CommonMethodModifier::TabIndexImpl, + CommonMethodModifier::DefaultFocusImpl, + CommonMethodModifier::GroupDefaultFocusImpl, + CommonMethodModifier::FocusOnTouchImpl, + CommonMethodModifier::FocusBoxImpl, + CommonMethodModifier::AnimationImpl, + CommonMethodModifier::Transition0Impl, + CommonMethodModifier::Transition1Impl, + CommonMethodModifier::MotionBlur0Impl, + CommonMethodModifier::MotionBlur1Impl, + CommonMethodModifier::Brightness0Impl, + CommonMethodModifier::Brightness1Impl, + CommonMethodModifier::Contrast0Impl, + CommonMethodModifier::Contrast1Impl, + CommonMethodModifier::Grayscale0Impl, + CommonMethodModifier::Grayscale1Impl, + CommonMethodModifier::ColorBlend0Impl, + CommonMethodModifier::ColorBlend1Impl, + CommonMethodModifier::Saturate0Impl, + CommonMethodModifier::Saturate1Impl, + CommonMethodModifier::Sepia0Impl, + CommonMethodModifier::Sepia1Impl, + CommonMethodModifier::Invert0Impl, + CommonMethodModifier::Invert1Impl, + CommonMethodModifier::HueRotate0Impl, + CommonMethodModifier::HueRotate1Impl, + CommonMethodModifier::UseShadowBatching0Impl, + CommonMethodModifier::UseShadowBatching1Impl, + CommonMethodModifier::UseEffect0Impl, + CommonMethodModifier::UseEffect1Impl, + CommonMethodModifier::UseEffect2Impl, + CommonMethodModifier::RenderGroup0Impl, + CommonMethodModifier::RenderGroup1Impl, + CommonMethodModifier::Freeze0Impl, + CommonMethodModifier::Freeze1Impl, + CommonMethodModifier::Translate0Impl, + CommonMethodModifier::Translate1Impl, + CommonMethodModifier::Scale0Impl, + CommonMethodModifier::Scale1Impl, + CommonMethodModifier::GridSpanImpl, + CommonMethodModifier::GridOffsetImpl, + CommonMethodModifier::Rotate0Impl, + CommonMethodModifier::Rotate1Impl, + CommonMethodModifier::Transform0Impl, + CommonMethodModifier::Transform1Impl, + CommonMethodModifier::OnAppearImpl, + CommonMethodModifier::OnDisAppearImpl, + CommonMethodModifier::OnAttachImpl, + CommonMethodModifier::OnDetachImpl, + CommonMethodModifier::OnAreaChangeImpl, + CommonMethodModifier::VisibilityImpl, + CommonMethodModifier::FlexGrowImpl, + CommonMethodModifier::FlexShrinkImpl, + CommonMethodModifier::FlexBasisImpl, + CommonMethodModifier::AlignSelfImpl, + CommonMethodModifier::DisplayPriorityImpl, + CommonMethodModifier::ZIndexImpl, + CommonMethodModifier::DirectionImpl, + CommonMethodModifier::AlignImpl, + CommonMethodModifier::PositionImpl, + CommonMethodModifier::MarkAnchorImpl, + CommonMethodModifier::OffsetImpl, + CommonMethodModifier::EnabledImpl, + CommonMethodModifier::UseSizeTypeImpl, + CommonMethodModifier::AlignRules0Impl, + CommonMethodModifier::AlignRules1Impl, + CommonMethodModifier::AspectRatioImpl, + CommonMethodModifier::ClickEffect0Impl, + CommonMethodModifier::ClickEffect1Impl, + CommonMethodModifier::OnDragStartImpl, + CommonMethodModifier::OnDragEnterImpl, + CommonMethodModifier::OnDragMoveImpl, + CommonMethodModifier::OnDragLeaveImpl, + CommonMethodModifier::OnDrop0Impl, + CommonMethodModifier::OnDrop1Impl, + CommonMethodModifier::OnDragEndImpl, + CommonMethodModifier::AllowDropImpl, + CommonMethodModifier::DraggableImpl, + CommonMethodModifier::DragPreview0Impl, + CommonMethodModifier::DragPreview1Impl, + CommonMethodModifier::OnPreDragImpl, + CommonMethodModifier::LinearGradient0Impl, + CommonMethodModifier::LinearGradient1Impl, + CommonMethodModifier::SweepGradient0Impl, + CommonMethodModifier::SweepGradient1Impl, + CommonMethodModifier::RadialGradient0Impl, + CommonMethodModifier::RadialGradient1Impl, + CommonMethodModifier::MotionPathImpl, + CommonMethodModifier::Shadow0Impl, + CommonMethodModifier::Shadow1Impl, + CommonMethodModifier::Clip0Impl, + CommonMethodModifier::Clip1Impl, + CommonMethodModifier::Clip2Impl, + CommonMethodModifier::ClipShape0Impl, + CommonMethodModifier::ClipShape1Impl, + CommonMethodModifier::Mask0Impl, + CommonMethodModifier::Mask1Impl, + CommonMethodModifier::Mask2Impl, + CommonMethodModifier::MaskShape0Impl, + CommonMethodModifier::MaskShape1Impl, + CommonMethodModifier::KeyImpl, + CommonMethodModifier::IdImpl, + CommonMethodModifier::GeometryTransition0Impl, + CommonMethodModifier::GeometryTransition1Impl, + CommonMethodModifier::StateStylesImpl, + CommonMethodModifier::RestoreIdImpl, + CommonMethodModifier::SphericalEffect0Impl, + CommonMethodModifier::SphericalEffect1Impl, + CommonMethodModifier::LightUpEffect0Impl, + CommonMethodModifier::LightUpEffect1Impl, + CommonMethodModifier::PixelStretchEffect0Impl, + CommonMethodModifier::PixelStretchEffect1Impl, + CommonMethodModifier::AccessibilityGroup0Impl, + CommonMethodModifier::AccessibilityGroup1Impl, + CommonMethodModifier::AccessibilityText0Impl, + CommonMethodModifier::AccessibilityText1Impl, + CommonMethodModifier::AccessibilityNextFocusIdImpl, + CommonMethodModifier::AccessibilityDefaultFocusImpl, + CommonMethodModifier::AccessibilityUseSamePageImpl, + CommonMethodModifier::AccessibilityScrollTriggerableImpl, + CommonMethodModifier::AccessibilityRoleImpl, + CommonMethodModifier::OnAccessibilityFocusImpl, + CommonMethodModifier::AccessibilityTextHintImpl, + CommonMethodModifier::AccessibilityDescription0Impl, + CommonMethodModifier::AccessibilityDescription1Impl, + CommonMethodModifier::AccessibilityLevelImpl, + CommonMethodModifier::AccessibilityVirtualNodeImpl, + CommonMethodModifier::AccessibilityCheckedImpl, + CommonMethodModifier::AccessibilitySelectedImpl, + CommonMethodModifier::ObscuredImpl, + CommonMethodModifier::ReuseIdImpl, + CommonMethodModifier::ReuseImpl, + CommonMethodModifier::RenderFit0Impl, + CommonMethodModifier::RenderFit1Impl, + CommonMethodModifier::GestureModifierImpl, + CommonMethodModifier::BackgroundBrightness0Impl, + CommonMethodModifier::BackgroundBrightness1Impl, + CommonMethodModifier::OnGestureJudgeBeginImpl, + CommonMethodModifier::OnGestureRecognizerJudgeBegin0Impl, + CommonMethodModifier::OnGestureRecognizerJudgeBegin1Impl, + CommonMethodModifier::ShouldBuiltInRecognizerParallelWithImpl, + CommonMethodModifier::MonopolizeEventsImpl, + CommonMethodModifier::OnTouchInterceptImpl, + CommonMethodModifier::OnSizeChangeImpl, + CommonMethodModifier::AccessibilityFocusDrawLevelImpl, + CommonMethodModifier::CustomPropertyImpl, + CommonMethodModifier::ExpandSafeAreaImpl, + CommonMethodModifier::BackgroundImpl, + CommonMethodModifier::BackgroundImage0Impl, + CommonMethodModifier::BackgroundImage1Impl, + CommonMethodModifier::BackgroundBlurStyle0Impl, + CommonMethodModifier::BackgroundBlurStyle1Impl, + CommonMethodModifier::ForegroundBlurStyle0Impl, + CommonMethodModifier::ForegroundBlurStyle1Impl, + CommonMethodModifier::FocusScopeId0Impl, + CommonMethodModifier::FocusScopeId1Impl, + CommonMethodModifier::FocusScopePriorityImpl, + CommonMethodModifier::GestureImpl, + CommonMethodModifier::PriorityGestureImpl, + CommonMethodModifier::ParallelGestureImpl, + CommonMethodModifier::Blur0Impl, + CommonMethodModifier::Blur1Impl, + CommonMethodModifier::LinearGradientBlur0Impl, + CommonMethodModifier::LinearGradientBlur1Impl, + CommonMethodModifier::SystemBarEffectImpl, + CommonMethodModifier::BackdropBlur0Impl, + CommonMethodModifier::BackdropBlur1Impl, + CommonMethodModifier::SharedTransitionImpl, + CommonMethodModifier::ChainModeImpl, + CommonMethodModifier::DragPreviewOptionsImpl, + CommonMethodModifier::OverlayImpl, + CommonMethodModifier::BlendMode0Impl, + CommonMethodModifier::BlendMode1Impl, + CommonMethodModifier::AdvancedBlendModeImpl, + CommonMethodModifier::BindTipsImpl, + CommonMethodModifier::BindPopupImpl, + CommonMethodModifier::BindMenu0Impl, + CommonMethodModifier::BindMenu1Impl, + CommonMethodModifier::BindContextMenu0Impl, + CommonMethodModifier::BindContextMenu1Impl, + CommonMethodModifier::BindContentCover0Impl, + CommonMethodModifier::BindContentCover1Impl, + CommonMethodModifier::BindSheetImpl, + CommonMethodModifier::OnVisibleAreaChangeImpl, + CommonMethodModifier::OnVisibleAreaApproximateChangeImpl, + CommonMethodModifier::KeyboardShortcutImpl, + }; + return &ArkUICommonMethodModifierImpl; + } + + const GENERATED_ArkUICommonModifier* GetCommonModifier() + { + static const GENERATED_ArkUICommonModifier ArkUICommonModifierImpl { + CommonModifier::ConstructImpl, + CommonInterfaceModifier::SetCommonOptionsImpl, + }; + return &ArkUICommonModifierImpl; + } + + const GENERATED_ArkUICommonShapeMethodModifier* GetCommonShapeMethodModifier() + { + static const GENERATED_ArkUICommonShapeMethodModifier ArkUICommonShapeMethodModifierImpl { + CommonShapeMethodModifier::ConstructImpl, + CommonShapeMethodModifier::StrokeImpl, + CommonShapeMethodModifier::FillImpl, + CommonShapeMethodModifier::StrokeDashOffsetImpl, + CommonShapeMethodModifier::StrokeLineCapImpl, + CommonShapeMethodModifier::StrokeLineJoinImpl, + CommonShapeMethodModifier::StrokeMiterLimitImpl, + CommonShapeMethodModifier::StrokeOpacityImpl, + CommonShapeMethodModifier::FillOpacityImpl, + CommonShapeMethodModifier::StrokeWidthImpl, + CommonShapeMethodModifier::AntiAliasImpl, + CommonShapeMethodModifier::StrokeDashArrayImpl, + }; + return &ArkUICommonShapeMethodModifierImpl; + } + + const GENERATED_ArkUIScrollableCommonMethodModifier* GetScrollableCommonMethodModifier() + { + static const GENERATED_ArkUIScrollableCommonMethodModifier ArkUIScrollableCommonMethodModifierImpl { + ScrollableCommonMethodModifier::ConstructImpl, + ScrollableCommonMethodModifier::ScrollBarImpl, + ScrollableCommonMethodModifier::ScrollBarColorImpl, + ScrollableCommonMethodModifier::ScrollBarWidthImpl, + ScrollableCommonMethodModifier::NestedScrollImpl, + ScrollableCommonMethodModifier::EnableScrollInteractionImpl, + ScrollableCommonMethodModifier::FrictionImpl, + ScrollableCommonMethodModifier::OnScrollImpl, + ScrollableCommonMethodModifier::OnReachStartImpl, + ScrollableCommonMethodModifier::OnReachEndImpl, + ScrollableCommonMethodModifier::OnScrollStartImpl, + ScrollableCommonMethodModifier::OnScrollStopImpl, + ScrollableCommonMethodModifier::FlingSpeedLimitImpl, + ScrollableCommonMethodModifier::ClipContentImpl, + ScrollableCommonMethodModifier::DigitalCrownSensitivityImpl, + ScrollableCommonMethodModifier::BackToTopImpl, + ScrollableCommonMethodModifier::EdgeEffectImpl, + ScrollableCommonMethodModifier::FadingEdgeImpl, + }; + return &ArkUIScrollableCommonMethodModifierImpl; + } + const GENERATED_ArkUINavigationModifier* GetNavigationModifier() { static const GENERATED_ArkUINavigationModifier ArkUINavigationModifierImpl { @@ -18147,17 +21180,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavigationAttributeModifier::NavBarWidthRangeImpl, NavigationAttributeModifier::MinContentWidthImpl, NavigationAttributeModifier::ModeImpl, - NavigationAttributeModifier::BackButtonIconImpl, + NavigationAttributeModifier::BackButtonIcon0Impl, + NavigationAttributeModifier::BackButtonIcon1Impl, NavigationAttributeModifier::HideNavBarImpl, NavigationAttributeModifier::SubTitleImpl, NavigationAttributeModifier::HideTitleBar0Impl, NavigationAttributeModifier::HideTitleBar1Impl, NavigationAttributeModifier::HideBackButtonImpl, NavigationAttributeModifier::TitleModeImpl, - NavigationAttributeModifier::MenusImpl, + NavigationAttributeModifier::Menus0Impl, + NavigationAttributeModifier::Menus1Impl, NavigationAttributeModifier::ToolBarImpl, NavigationAttributeModifier::HideToolBar0Impl, NavigationAttributeModifier::HideToolBar1Impl, + NavigationAttributeModifier::EnableToolBarAdaptationImpl, NavigationAttributeModifier::OnTitleModeChangeImpl, NavigationAttributeModifier::OnNavBarStateChangeImpl, NavigationAttributeModifier::OnNavigationModeChangeImpl, @@ -18166,6 +21202,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavigationAttributeModifier::SystemBarStyleImpl, NavigationAttributeModifier::RecoverableImpl, NavigationAttributeModifier::EnableDragBarImpl, + NavigationAttributeModifier::EnableModeChangeAnimationImpl, NavigationAttributeModifier::TitleImpl, NavigationAttributeModifier::ToolbarConfigurationImpl, NavigationAttributeModifier::IgnoreLayoutSafeAreaImpl, @@ -18173,252 +21210,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUINavigationModifierImpl; } - const GENERATED_ArkUICommonMethodModifier* GetCommonMethodModifier() - { - static const GENERATED_ArkUICommonMethodModifier ArkUICommonMethodModifierImpl { - CommonMethodModifier::ConstructImpl, - CommonMethodModifier::WidthImpl, - CommonMethodModifier::HeightImpl, - CommonMethodModifier::DrawModifierImpl, - CommonMethodModifier::ResponseRegionImpl, - CommonMethodModifier::MouseResponseRegionImpl, - CommonMethodModifier::SizeImpl, - CommonMethodModifier::ConstraintSizeImpl, - CommonMethodModifier::TouchableImpl, - CommonMethodModifier::HitTestBehaviorImpl, - CommonMethodModifier::OnChildTouchTestImpl, - CommonMethodModifier::LayoutWeightImpl, - CommonMethodModifier::ChainWeightImpl, - CommonMethodModifier::PaddingImpl, - CommonMethodModifier::SafeAreaPaddingImpl, - CommonMethodModifier::MarginImpl, - CommonMethodModifier::BackgroundColorImpl, - CommonMethodModifier::PixelRoundImpl, - CommonMethodModifier::BackgroundImageSizeImpl, - CommonMethodModifier::BackgroundImagePositionImpl, - CommonMethodModifier::BackgroundEffectImpl, - CommonMethodModifier::BackgroundImageResizableImpl, - CommonMethodModifier::ForegroundEffectImpl, - CommonMethodModifier::VisualEffectImpl, - CommonMethodModifier::BackgroundFilterImpl, - CommonMethodModifier::ForegroundFilterImpl, - CommonMethodModifier::CompositingFilterImpl, - CommonMethodModifier::OpacityImpl, - CommonMethodModifier::BorderImpl, - CommonMethodModifier::BorderStyleImpl, - CommonMethodModifier::BorderWidthImpl, - CommonMethodModifier::BorderColorImpl, - CommonMethodModifier::BorderRadiusImpl, - CommonMethodModifier::BorderImageImpl, - CommonMethodModifier::OutlineImpl, - CommonMethodModifier::OutlineStyleImpl, - CommonMethodModifier::OutlineWidthImpl, - CommonMethodModifier::OutlineColorImpl, - CommonMethodModifier::OutlineRadiusImpl, - CommonMethodModifier::ForegroundColorImpl, - CommonMethodModifier::OnClick0Impl, - CommonMethodModifier::OnClick1Impl, - CommonMethodModifier::OnHoverImpl, - CommonMethodModifier::OnAccessibilityHoverImpl, - CommonMethodModifier::HoverEffectImpl, - CommonMethodModifier::OnMouseImpl, - CommonMethodModifier::OnTouchImpl, - CommonMethodModifier::OnKeyEventImpl, - CommonMethodModifier::OnKeyPreImeImpl, - CommonMethodModifier::FocusableImpl, - CommonMethodModifier::OnFocusImpl, - CommonMethodModifier::OnBlurImpl, - CommonMethodModifier::TabIndexImpl, - CommonMethodModifier::DefaultFocusImpl, - CommonMethodModifier::GroupDefaultFocusImpl, - CommonMethodModifier::FocusOnTouchImpl, - CommonMethodModifier::FocusBoxImpl, - CommonMethodModifier::AnimationImpl, - CommonMethodModifier::Transition0Impl, - CommonMethodModifier::Transition1Impl, - CommonMethodModifier::MotionBlurImpl, - CommonMethodModifier::BrightnessImpl, - CommonMethodModifier::ContrastImpl, - CommonMethodModifier::GrayscaleImpl, - CommonMethodModifier::ColorBlendImpl, - CommonMethodModifier::SaturateImpl, - CommonMethodModifier::SepiaImpl, - CommonMethodModifier::InvertImpl, - CommonMethodModifier::HueRotateImpl, - CommonMethodModifier::UseShadowBatchingImpl, - CommonMethodModifier::UseEffect0Impl, - CommonMethodModifier::UseEffect1Impl, - CommonMethodModifier::RenderGroupImpl, - CommonMethodModifier::FreezeImpl, - CommonMethodModifier::TranslateImpl, - CommonMethodModifier::ScaleImpl, - CommonMethodModifier::GridSpanImpl, - CommonMethodModifier::GridOffsetImpl, - CommonMethodModifier::RotateImpl, - CommonMethodModifier::TransformImpl, - CommonMethodModifier::OnAppearImpl, - CommonMethodModifier::OnDisAppearImpl, - CommonMethodModifier::OnAttachImpl, - CommonMethodModifier::OnDetachImpl, - CommonMethodModifier::OnAreaChangeImpl, - CommonMethodModifier::VisibilityImpl, - CommonMethodModifier::FlexGrowImpl, - CommonMethodModifier::FlexShrinkImpl, - CommonMethodModifier::FlexBasisImpl, - CommonMethodModifier::AlignSelfImpl, - CommonMethodModifier::DisplayPriorityImpl, - CommonMethodModifier::ZIndexImpl, - CommonMethodModifier::DirectionImpl, - CommonMethodModifier::AlignImpl, - CommonMethodModifier::PositionImpl, - CommonMethodModifier::MarkAnchorImpl, - CommonMethodModifier::OffsetImpl, - CommonMethodModifier::EnabledImpl, - CommonMethodModifier::UseSizeTypeImpl, - CommonMethodModifier::AlignRules0Impl, - CommonMethodModifier::AlignRules1Impl, - CommonMethodModifier::AspectRatioImpl, - CommonMethodModifier::ClickEffectImpl, - CommonMethodModifier::OnDragStartImpl, - CommonMethodModifier::OnDragEnterImpl, - CommonMethodModifier::OnDragMoveImpl, - CommonMethodModifier::OnDragLeaveImpl, - CommonMethodModifier::OnDropImpl, - CommonMethodModifier::OnDragEndImpl, - CommonMethodModifier::AllowDropImpl, - CommonMethodModifier::DraggableImpl, - CommonMethodModifier::DragPreviewImpl, - CommonMethodModifier::OnPreDragImpl, - CommonMethodModifier::LinearGradientImpl, - CommonMethodModifier::SweepGradientImpl, - CommonMethodModifier::RadialGradientImpl, - CommonMethodModifier::MotionPathImpl, - CommonMethodModifier::ShadowImpl, - CommonMethodModifier::Clip0Impl, - CommonMethodModifier::Clip1Impl, - CommonMethodModifier::ClipShapeImpl, - CommonMethodModifier::Mask0Impl, - CommonMethodModifier::Mask1Impl, - CommonMethodModifier::MaskShapeImpl, - CommonMethodModifier::KeyImpl, - CommonMethodModifier::IdImpl, - CommonMethodModifier::GeometryTransition0Impl, - CommonMethodModifier::GeometryTransition1Impl, - CommonMethodModifier::StateStylesImpl, - CommonMethodModifier::RestoreIdImpl, - CommonMethodModifier::SphericalEffectImpl, - CommonMethodModifier::LightUpEffectImpl, - CommonMethodModifier::PixelStretchEffectImpl, - CommonMethodModifier::AccessibilityGroup0Impl, - CommonMethodModifier::AccessibilityGroup1Impl, - CommonMethodModifier::AccessibilityText0Impl, - CommonMethodModifier::AccessibilityText1Impl, - CommonMethodModifier::AccessibilityTextHintImpl, - CommonMethodModifier::AccessibilityDescription0Impl, - CommonMethodModifier::AccessibilityDescription1Impl, - CommonMethodModifier::AccessibilityLevelImpl, - CommonMethodModifier::AccessibilityVirtualNodeImpl, - CommonMethodModifier::AccessibilityCheckedImpl, - CommonMethodModifier::AccessibilitySelectedImpl, - CommonMethodModifier::ObscuredImpl, - CommonMethodModifier::ReuseIdImpl, - CommonMethodModifier::RenderFitImpl, - CommonMethodModifier::GestureModifierImpl, - CommonMethodModifier::BackgroundBrightnessImpl, - CommonMethodModifier::OnGestureJudgeBeginImpl, - CommonMethodModifier::OnGestureRecognizerJudgeBegin0Impl, - CommonMethodModifier::OnGestureRecognizerJudgeBegin1Impl, - CommonMethodModifier::ShouldBuiltInRecognizerParallelWithImpl, - CommonMethodModifier::MonopolizeEventsImpl, - CommonMethodModifier::OnTouchInterceptImpl, - CommonMethodModifier::OnSizeChangeImpl, - CommonMethodModifier::CustomPropertyImpl, - CommonMethodModifier::ExpandSafeAreaImpl, - CommonMethodModifier::BackgroundImpl, - CommonMethodModifier::BackgroundImageImpl, - CommonMethodModifier::BackgroundBlurStyleImpl, - CommonMethodModifier::ForegroundBlurStyleImpl, - CommonMethodModifier::FocusScopeId0Impl, - CommonMethodModifier::FocusScopeId1Impl, - CommonMethodModifier::FocusScopePriorityImpl, - CommonMethodModifier::GestureImpl, - CommonMethodModifier::PriorityGestureImpl, - CommonMethodModifier::ParallelGestureImpl, - CommonMethodModifier::BlurImpl, - CommonMethodModifier::LinearGradientBlurImpl, - CommonMethodModifier::SystemBarEffectImpl, - CommonMethodModifier::BackdropBlurImpl, - CommonMethodModifier::SharedTransitionImpl, - CommonMethodModifier::ChainModeImpl, - CommonMethodModifier::DragPreviewOptionsImpl, - CommonMethodModifier::OverlayImpl, - CommonMethodModifier::BlendModeImpl, - CommonMethodModifier::AdvancedBlendModeImpl, - CommonMethodModifier::BindPopupImpl, - CommonMethodModifier::BindMenu0Impl, - CommonMethodModifier::BindMenu1Impl, - CommonMethodModifier::BindContextMenu0Impl, - CommonMethodModifier::BindContextMenu1Impl, - CommonMethodModifier::BindContentCover0Impl, - CommonMethodModifier::BindContentCover1Impl, - CommonMethodModifier::BindSheetImpl, - CommonMethodModifier::OnVisibleAreaChangeImpl, - CommonMethodModifier::KeyboardShortcutImpl, - }; - return &ArkUICommonMethodModifierImpl; - } - - const GENERATED_ArkUICommonModifier* GetCommonModifier() - { - static const GENERATED_ArkUICommonModifier ArkUICommonModifierImpl { - CommonModifier::ConstructImpl, - CommonInterfaceModifier::SetCommonOptionsImpl, - }; - return &ArkUICommonModifierImpl; - } - - const GENERATED_ArkUICommonShapeMethodModifier* GetCommonShapeMethodModifier() - { - static const GENERATED_ArkUICommonShapeMethodModifier ArkUICommonShapeMethodModifierImpl { - CommonShapeMethodModifier::ConstructImpl, - CommonShapeMethodModifier::StrokeImpl, - CommonShapeMethodModifier::FillImpl, - CommonShapeMethodModifier::StrokeDashOffsetImpl, - CommonShapeMethodModifier::StrokeLineCapImpl, - CommonShapeMethodModifier::StrokeLineJoinImpl, - CommonShapeMethodModifier::StrokeMiterLimitImpl, - CommonShapeMethodModifier::StrokeOpacityImpl, - CommonShapeMethodModifier::FillOpacityImpl, - CommonShapeMethodModifier::StrokeWidthImpl, - CommonShapeMethodModifier::AntiAliasImpl, - CommonShapeMethodModifier::StrokeDashArrayImpl, - }; - return &ArkUICommonShapeMethodModifierImpl; - } - - const GENERATED_ArkUIScrollableCommonMethodModifier* GetScrollableCommonMethodModifier() - { - static const GENERATED_ArkUIScrollableCommonMethodModifier ArkUIScrollableCommonMethodModifierImpl { - ScrollableCommonMethodModifier::ConstructImpl, - ScrollableCommonMethodModifier::ScrollBarImpl, - ScrollableCommonMethodModifier::ScrollBarColorImpl, - ScrollableCommonMethodModifier::ScrollBarWidthImpl, - ScrollableCommonMethodModifier::NestedScrollImpl, - ScrollableCommonMethodModifier::EnableScrollInteractionImpl, - ScrollableCommonMethodModifier::FrictionImpl, - ScrollableCommonMethodModifier::OnScrollImpl, - ScrollableCommonMethodModifier::OnReachStartImpl, - ScrollableCommonMethodModifier::OnReachEndImpl, - ScrollableCommonMethodModifier::OnScrollStartImpl, - ScrollableCommonMethodModifier::OnScrollStopImpl, - ScrollableCommonMethodModifier::FlingSpeedLimitImpl, - ScrollableCommonMethodModifier::ClipContentImpl, - ScrollableCommonMethodModifier::EdgeEffectImpl, - ScrollableCommonMethodModifier::FadingEdgeImpl, - }; - return &ArkUIScrollableCommonMethodModifierImpl; - } - const GENERATED_ArkUICanvasModifier* GetCanvasModifier() { static const GENERATED_ArkUICanvasModifier ArkUICanvasModifierImpl { @@ -18436,13 +21227,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUICheckboxModifier ArkUICheckboxModifierImpl { CheckboxModifier::ConstructImpl, CheckboxInterfaceModifier::SetCheckboxOptionsImpl, - CheckboxAttributeModifier::SelectImpl, - CheckboxAttributeModifier::SelectedColorImpl, - CheckboxAttributeModifier::ShapeImpl, - CheckboxAttributeModifier::UnselectedColorImpl, - CheckboxAttributeModifier::MarkImpl, - CheckboxAttributeModifier::OnChangeImpl, - CheckboxAttributeModifier::ContentModifierImpl, + CheckboxAttributeModifier::Select0Impl, + CheckboxAttributeModifier::Select1Impl, + CheckboxAttributeModifier::SelectedColor0Impl, + CheckboxAttributeModifier::SelectedColor1Impl, + CheckboxAttributeModifier::Shape0Impl, + CheckboxAttributeModifier::Shape1Impl, + CheckboxAttributeModifier::UnselectedColor0Impl, + CheckboxAttributeModifier::UnselectedColor1Impl, + CheckboxAttributeModifier::Mark0Impl, + CheckboxAttributeModifier::Mark1Impl, + CheckboxAttributeModifier::OnChange0Impl, + CheckboxAttributeModifier::OnChange1Impl, + CheckboxAttributeModifier::ContentModifier0Impl, + CheckboxAttributeModifier::ContentModifier1Impl, CheckboxAttributeModifier::_onChangeEvent_selectImpl, }; return &ArkUICheckboxModifierImpl; @@ -18453,12 +21251,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUICheckboxGroupModifier ArkUICheckboxGroupModifierImpl { CheckboxGroupModifier::ConstructImpl, CheckboxGroupInterfaceModifier::SetCheckboxGroupOptionsImpl, - CheckboxGroupAttributeModifier::SelectAllImpl, - CheckboxGroupAttributeModifier::SelectedColorImpl, - CheckboxGroupAttributeModifier::UnselectedColorImpl, - CheckboxGroupAttributeModifier::MarkImpl, - CheckboxGroupAttributeModifier::OnChangeImpl, - CheckboxGroupAttributeModifier::CheckboxShapeImpl, + CheckboxGroupAttributeModifier::SelectAll0Impl, + CheckboxGroupAttributeModifier::SelectAll1Impl, + CheckboxGroupAttributeModifier::SelectedColor0Impl, + CheckboxGroupAttributeModifier::SelectedColor1Impl, + CheckboxGroupAttributeModifier::UnselectedColor0Impl, + CheckboxGroupAttributeModifier::UnselectedColor1Impl, + CheckboxGroupAttributeModifier::Mark0Impl, + CheckboxGroupAttributeModifier::Mark1Impl, + CheckboxGroupAttributeModifier::OnChange0Impl, + CheckboxGroupAttributeModifier::OnChange1Impl, + CheckboxGroupAttributeModifier::CheckboxShape0Impl, + CheckboxGroupAttributeModifier::CheckboxShape1Impl, CheckboxGroupAttributeModifier::_onChangeEvent_selectAllImpl, }; return &ArkUICheckboxGroupModifierImpl; @@ -18477,7 +21281,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { { static const GENERATED_ArkUIColumnModifier ArkUIColumnModifierImpl { ColumnModifier::ConstructImpl, - ColumnInterfaceModifier::SetColumnOptionsImpl, + ColumnInterfaceModifier::SetColumnOptions0Impl, + ColumnInterfaceModifier::SetColumnOptions1Impl, ColumnAttributeModifier::AlignItemsImpl, ColumnAttributeModifier::JustifyContentImpl, ColumnAttributeModifier::PointLightImpl, @@ -18556,12 +21361,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUIDatePickerModifier ArkUIDatePickerModifierImpl { DatePickerModifier::ConstructImpl, DatePickerInterfaceModifier::SetDatePickerOptionsImpl, - DatePickerAttributeModifier::LunarImpl, - DatePickerAttributeModifier::DisappearTextStyleImpl, - DatePickerAttributeModifier::TextStyleImpl, - DatePickerAttributeModifier::SelectedTextStyleImpl, + DatePickerAttributeModifier::Lunar0Impl, + DatePickerAttributeModifier::Lunar1Impl, + DatePickerAttributeModifier::DisappearTextStyle0Impl, + DatePickerAttributeModifier::DisappearTextStyle1Impl, + DatePickerAttributeModifier::TextStyle0Impl, + DatePickerAttributeModifier::TextStyle1Impl, + DatePickerAttributeModifier::SelectedTextStyle0Impl, + DatePickerAttributeModifier::SelectedTextStyle1Impl, DatePickerAttributeModifier::OnChangeImpl, - DatePickerAttributeModifier::OnDateChangeImpl, + DatePickerAttributeModifier::OnDateChange0Impl, + DatePickerAttributeModifier::OnDateChange1Impl, + DatePickerAttributeModifier::DigitalCrownSensitivityImpl, + DatePickerAttributeModifier::EnableHapticFeedbackImpl, DatePickerAttributeModifier::_onChangeEvent_selectedImpl, }; return &ArkUIDatePickerModifierImpl; @@ -18802,8 +21614,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageAttributeModifier::AltImpl, ImageAttributeModifier::MatchTextDirectionImpl, ImageAttributeModifier::FitOriginalSizeImpl, - ImageAttributeModifier::FillColorImpl, + ImageAttributeModifier::FillColor0Impl, + ImageAttributeModifier::FillColor1Impl, ImageAttributeModifier::ObjectFitImpl, + ImageAttributeModifier::ImageMatrixImpl, ImageAttributeModifier::ObjectRepeatImpl, ImageAttributeModifier::AutoResizeImpl, ImageAttributeModifier::RenderModeImpl, @@ -18824,6 +21638,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageAttributeModifier::ResizableImpl, ImageAttributeModifier::PrivacySensitiveImpl, ImageAttributeModifier::EnhancedImageQualityImpl, + ImageAttributeModifier::OrientationImpl, }; return &ArkUIImageModifierImpl; } @@ -18841,6 +21656,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageAnimatorAttributeModifier::PreDecodeImpl, ImageAnimatorAttributeModifier::FillModeImpl, ImageAnimatorAttributeModifier::IterationsImpl, + ImageAnimatorAttributeModifier::MonitorInvisibleAreaImpl, ImageAnimatorAttributeModifier::OnStartImpl, ImageAnimatorAttributeModifier::OnPauseImpl, ImageAnimatorAttributeModifier::OnRepeatImpl, @@ -18865,6 +21681,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIImageSpanModifierImpl; } + const GENERATED_ArkUILazyGridLayoutModifier* GetLazyGridLayoutModifier() + { + static const GENERATED_ArkUILazyGridLayoutModifier ArkUILazyGridLayoutModifierImpl { + LazyGridLayoutModifier::ConstructImpl, + LazyGridLayoutAttributeModifier::RowsGapImpl, + LazyGridLayoutAttributeModifier::ColumnsGapImpl, + }; + return &ArkUILazyGridLayoutModifierImpl; + } + + const GENERATED_ArkUILazyVGridLayoutModifier* GetLazyVGridLayoutModifier() + { + static const GENERATED_ArkUILazyVGridLayoutModifier ArkUILazyVGridLayoutModifierImpl { + LazyVGridLayoutModifier::ConstructImpl, + LazyVGridLayoutInterfaceModifier::SetLazyVGridLayoutOptionsImpl, + LazyVGridLayoutAttributeModifier::ColumnsTemplateImpl, + }; + return &ArkUILazyVGridLayoutModifierImpl; + } + const GENERATED_ArkUILineModifier* GetLineModifier() { static const GENERATED_ArkUILineModifier ArkUILineModifierImpl { @@ -18900,6 +21736,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ListAttributeModifier::FrictionImpl, ListAttributeModifier::ChildrenMainSizeImpl, ListAttributeModifier::MaintainVisibleContentPositionImpl, + ListAttributeModifier::StackFromEndImpl, ListAttributeModifier::OnScrollImpl, ListAttributeModifier::OnScrollIndexImpl, ListAttributeModifier::OnScrollVisibleContentChangeImpl, @@ -19048,12 +21885,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavDestinationInterfaceModifier::SetNavDestinationOptionsImpl, NavDestinationAttributeModifier::HideTitleBar0Impl, NavDestinationAttributeModifier::HideTitleBar1Impl, + NavDestinationAttributeModifier::HideBackButtonImpl, NavDestinationAttributeModifier::OnShownImpl, NavDestinationAttributeModifier::OnHiddenImpl, NavDestinationAttributeModifier::OnBackPressedImpl, + NavDestinationAttributeModifier::OnResultImpl, NavDestinationAttributeModifier::ModeImpl, - NavDestinationAttributeModifier::BackButtonIconImpl, - NavDestinationAttributeModifier::MenusImpl, + NavDestinationAttributeModifier::BackButtonIcon0Impl, + NavDestinationAttributeModifier::BackButtonIcon1Impl, + NavDestinationAttributeModifier::Menus0Impl, + NavDestinationAttributeModifier::Menus1Impl, NavDestinationAttributeModifier::OnReadyImpl, NavDestinationAttributeModifier::OnWillAppearImpl, NavDestinationAttributeModifier::OnWillDisappearImpl, @@ -19062,10 +21903,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavDestinationAttributeModifier::SystemBarStyleImpl, NavDestinationAttributeModifier::RecoverableImpl, NavDestinationAttributeModifier::SystemTransitionImpl, + NavDestinationAttributeModifier::BindToScrollableImpl, + NavDestinationAttributeModifier::BindToNestedScrollableImpl, + NavDestinationAttributeModifier::OnActiveImpl, + NavDestinationAttributeModifier::OnInactiveImpl, + NavDestinationAttributeModifier::CustomTransitionImpl, + NavDestinationAttributeModifier::OnNewParamImpl, + NavDestinationAttributeModifier::PreferredOrientationImpl, + NavDestinationAttributeModifier::EnableNavigationIndicatorImpl, NavDestinationAttributeModifier::TitleImpl, NavDestinationAttributeModifier::ToolbarConfigurationImpl, NavDestinationAttributeModifier::HideToolBarImpl, NavDestinationAttributeModifier::IgnoreLayoutSafeAreaImpl, + NavDestinationAttributeModifier::EnableStatusBarImpl, }; return &ArkUINavDestinationModifierImpl; } @@ -19165,6 +22015,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PatternLockAttributeModifier::AutoResetImpl, PatternLockAttributeModifier::OnDotConnectImpl, PatternLockAttributeModifier::ActivateCircleStyleImpl, + PatternLockAttributeModifier::SkipUnselectedPointImpl, }; return &ArkUIPatternLockModifierImpl; } @@ -19231,10 +22082,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUIRadioModifier ArkUIRadioModifierImpl { RadioModifier::ConstructImpl, RadioInterfaceModifier::SetRadioOptionsImpl, - RadioAttributeModifier::CheckedImpl, - RadioAttributeModifier::OnChangeImpl, + RadioAttributeModifier::Checked0Impl, + RadioAttributeModifier::Checked1Impl, + RadioAttributeModifier::OnChange0Impl, + RadioAttributeModifier::OnChange1Impl, RadioAttributeModifier::RadioStyleImpl, - RadioAttributeModifier::ContentModifierImpl, + RadioAttributeModifier::ContentModifier0Impl, + RadioAttributeModifier::ContentModifier1Impl, RadioAttributeModifier::_onChangeEvent_checkedImpl, }; return &ArkUIRadioModifierImpl; @@ -19245,11 +22099,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUIRatingModifier ArkUIRatingModifierImpl { RatingModifier::ConstructImpl, RatingInterfaceModifier::SetRatingOptionsImpl, - RatingAttributeModifier::StarsImpl, - RatingAttributeModifier::StepSizeImpl, - RatingAttributeModifier::StarStyleImpl, - RatingAttributeModifier::OnChangeImpl, - RatingAttributeModifier::ContentModifierImpl, + RatingAttributeModifier::Stars0Impl, + RatingAttributeModifier::Stars1Impl, + RatingAttributeModifier::StepSize0Impl, + RatingAttributeModifier::StepSize1Impl, + RatingAttributeModifier::StarStyle0Impl, + RatingAttributeModifier::StarStyle1Impl, + RatingAttributeModifier::OnChange0Impl, + RatingAttributeModifier::OnChange1Impl, + RatingAttributeModifier::ContentModifier0Impl, + RatingAttributeModifier::ContentModifier1Impl, RatingAttributeModifier::_onChangeEvent_ratingImpl, }; return &ArkUIRatingModifierImpl; @@ -19327,6 +22186,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { RichEditorAttributeModifier::EnableKeyboardOnFocusImpl, RichEditorAttributeModifier::EnableHapticFeedbackImpl, RichEditorAttributeModifier::BarStateImpl, + RichEditorAttributeModifier::MaxLengthImpl, + RichEditorAttributeModifier::MaxLinesImpl, + RichEditorAttributeModifier::KeyboardAppearanceImpl, + RichEditorAttributeModifier::StopBackPressImpl, RichEditorAttributeModifier::BindSelectionMenuImpl, RichEditorAttributeModifier::CustomKeyboardImpl, RichEditorAttributeModifier::PlaceholderImpl, @@ -19358,7 +22221,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { { static const GENERATED_ArkUIRowModifier ArkUIRowModifierImpl { RowModifier::ConstructImpl, - RowInterfaceModifier::SetRowOptionsImpl, + RowInterfaceModifier::SetRowOptions0Impl, + RowInterfaceModifier::SetRowOptions1Impl, RowAttributeModifier::AlignItemsImpl, RowAttributeModifier::JustifyContentImpl, RowAttributeModifier::PointLightImpl, @@ -19466,6 +22330,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SearchAttributeModifier::SelectionMenuHiddenImpl, SearchAttributeModifier::MinFontSizeImpl, SearchAttributeModifier::MaxFontSizeImpl, + SearchAttributeModifier::MinFontScaleImpl, + SearchAttributeModifier::MaxFontScaleImpl, SearchAttributeModifier::DecorationImpl, SearchAttributeModifier::LetterSpacingImpl, SearchAttributeModifier::LineHeightImpl, @@ -19478,6 +22344,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { SearchAttributeModifier::EditMenuOptionsImpl, SearchAttributeModifier::EnablePreviewTextImpl, SearchAttributeModifier::EnableHapticFeedbackImpl, + SearchAttributeModifier::AutoCapitalizationModeImpl, + SearchAttributeModifier::HalfLeadingImpl, + SearchAttributeModifier::StopBackPressImpl, + SearchAttributeModifier::OnWillChangeImpl, + SearchAttributeModifier::KeyboardAppearanceImpl, SearchAttributeModifier::SearchButtonImpl, SearchAttributeModifier::InputFilterImpl, SearchAttributeModifier::CustomKeyboardImpl, @@ -19505,7 +22376,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SecurityComponentMethodModifier::BorderStyleImpl, SecurityComponentMethodModifier::BorderWidthImpl, SecurityComponentMethodModifier::BorderColorImpl, - SecurityComponentMethodModifier::BorderRadiusImpl, + SecurityComponentMethodModifier::BorderRadius0Impl, + SecurityComponentMethodModifier::BorderRadius1Impl, SecurityComponentMethodModifier::PaddingImpl, SecurityComponentMethodModifier::TextIconSpaceImpl, SecurityComponentMethodModifier::KeyImpl, @@ -19513,6 +22385,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { SecurityComponentMethodModifier::HeightImpl, SecurityComponentMethodModifier::SizeImpl, SecurityComponentMethodModifier::ConstraintSizeImpl, + SecurityComponentMethodModifier::AlignImpl, + SecurityComponentMethodModifier::AlignRules0Impl, + SecurityComponentMethodModifier::AlignRules1Impl, + SecurityComponentMethodModifier::IdImpl, + SecurityComponentMethodModifier::MinFontScaleImpl, + SecurityComponentMethodModifier::MaxFontScaleImpl, + SecurityComponentMethodModifier::MaxLinesImpl, + SecurityComponentMethodModifier::MinFontSizeImpl, + SecurityComponentMethodModifier::MaxFontSizeImpl, + SecurityComponentMethodModifier::HeightAdaptivePolicyImpl, + SecurityComponentMethodModifier::EnabledImpl, + SecurityComponentMethodModifier::ChainModeImpl, }; return &ArkUISecurityComponentMethodModifierImpl; } @@ -19522,27 +22406,54 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUISelectModifier ArkUISelectModifierImpl { SelectModifier::ConstructImpl, SelectInterfaceModifier::SetSelectOptionsImpl, - SelectAttributeModifier::SelectedImpl, - SelectAttributeModifier::ValueImpl, - SelectAttributeModifier::FontImpl, - SelectAttributeModifier::FontColorImpl, - SelectAttributeModifier::SelectedOptionBgColorImpl, - SelectAttributeModifier::SelectedOptionFontImpl, - SelectAttributeModifier::SelectedOptionFontColorImpl, - SelectAttributeModifier::OptionBgColorImpl, - SelectAttributeModifier::OptionFontImpl, - SelectAttributeModifier::OptionFontColorImpl, - SelectAttributeModifier::OnSelectImpl, - SelectAttributeModifier::SpaceImpl, - SelectAttributeModifier::ArrowPositionImpl, - SelectAttributeModifier::OptionWidthImpl, - SelectAttributeModifier::OptionHeightImpl, - SelectAttributeModifier::MenuBackgroundColorImpl, - SelectAttributeModifier::MenuBackgroundBlurStyleImpl, - SelectAttributeModifier::ControlSizeImpl, - SelectAttributeModifier::MenuItemContentModifierImpl, + SelectAttributeModifier::Selected0Impl, + SelectAttributeModifier::Selected1Impl, + SelectAttributeModifier::Value0Impl, + SelectAttributeModifier::Value1Impl, + SelectAttributeModifier::Font0Impl, + SelectAttributeModifier::Font1Impl, + SelectAttributeModifier::FontColor0Impl, + SelectAttributeModifier::FontColor1Impl, + SelectAttributeModifier::SelectedOptionBgColor0Impl, + SelectAttributeModifier::SelectedOptionBgColor1Impl, + SelectAttributeModifier::SelectedOptionFont0Impl, + SelectAttributeModifier::SelectedOptionFont1Impl, + SelectAttributeModifier::SelectedOptionFontColor0Impl, + SelectAttributeModifier::SelectedOptionFontColor1Impl, + SelectAttributeModifier::OptionBgColor0Impl, + SelectAttributeModifier::OptionBgColor1Impl, + SelectAttributeModifier::OptionFont0Impl, + SelectAttributeModifier::OptionFont1Impl, + SelectAttributeModifier::OptionFontColor0Impl, + SelectAttributeModifier::OptionFontColor1Impl, + SelectAttributeModifier::OnSelect0Impl, + SelectAttributeModifier::OnSelect1Impl, + SelectAttributeModifier::Space0Impl, + SelectAttributeModifier::Space1Impl, + SelectAttributeModifier::ArrowPosition0Impl, + SelectAttributeModifier::ArrowPosition1Impl, + SelectAttributeModifier::OptionWidth0Impl, + SelectAttributeModifier::OptionWidth1Impl, + SelectAttributeModifier::OptionHeight0Impl, + SelectAttributeModifier::OptionHeight1Impl, + SelectAttributeModifier::MenuBackgroundColor0Impl, + SelectAttributeModifier::MenuBackgroundColor1Impl, + SelectAttributeModifier::MenuBackgroundBlurStyle0Impl, + SelectAttributeModifier::MenuBackgroundBlurStyle1Impl, + SelectAttributeModifier::ControlSize0Impl, + SelectAttributeModifier::ControlSize1Impl, + SelectAttributeModifier::MenuItemContentModifier0Impl, + SelectAttributeModifier::MenuItemContentModifier1Impl, SelectAttributeModifier::DividerImpl, - SelectAttributeModifier::MenuAlignImpl, + SelectAttributeModifier::TextModifierImpl, + SelectAttributeModifier::ArrowModifierImpl, + SelectAttributeModifier::OptionTextModifierImpl, + SelectAttributeModifier::SelectedOptionTextModifierImpl, + SelectAttributeModifier::DividerStyleImpl, + SelectAttributeModifier::AvoidanceImpl, + SelectAttributeModifier::MenuOutlineImpl, + SelectAttributeModifier::MenuAlign0Impl, + SelectAttributeModifier::MenuAlign1Impl, SelectAttributeModifier::_onChangeEvent_selectedImpl, SelectAttributeModifier::_onChangeEvent_valueImpl, }; @@ -19579,7 +22490,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SliderInterfaceModifier::SetSliderOptionsImpl, SliderAttributeModifier::BlockColorImpl, SliderAttributeModifier::TrackColorImpl, - SliderAttributeModifier::SelectedColorImpl, + SliderAttributeModifier::SelectedColor0Impl, + SliderAttributeModifier::SelectedColor1Impl, SliderAttributeModifier::MinLabelImpl, SliderAttributeModifier::MaxLabelImpl, SliderAttributeModifier::ShowStepsImpl, @@ -19597,6 +22509,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SliderAttributeModifier::MinResponsiveDistanceImpl, SliderAttributeModifier::ContentModifierImpl, SliderAttributeModifier::SlideRangeImpl, + SliderAttributeModifier::DigitalCrownSensitivityImpl, + SliderAttributeModifier::EnableHapticFeedbackImpl, SliderAttributeModifier::ShowTipsImpl, SliderAttributeModifier::_onChangeEvent_valueImpl, }; @@ -19677,7 +22591,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwiperModifier::ConstructImpl, SwiperInterfaceModifier::SetSwiperOptionsImpl, SwiperAttributeModifier::IndexImpl, - SwiperAttributeModifier::AutoPlayImpl, + SwiperAttributeModifier::AutoPlay0Impl, + SwiperAttributeModifier::AutoPlay1Impl, SwiperAttributeModifier::IntervalImpl, SwiperAttributeModifier::Indicator0Impl, SwiperAttributeModifier::Indicator1Impl, @@ -19686,12 +22601,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwiperAttributeModifier::VerticalImpl, SwiperAttributeModifier::ItemSpaceImpl, SwiperAttributeModifier::DisplayModeImpl, - SwiperAttributeModifier::CachedCountImpl, + SwiperAttributeModifier::CachedCount0Impl, + SwiperAttributeModifier::CachedCount1Impl, SwiperAttributeModifier::EffectModeImpl, SwiperAttributeModifier::DisableSwipeImpl, SwiperAttributeModifier::CurveImpl, SwiperAttributeModifier::OnChangeImpl, + SwiperAttributeModifier::OnSelectedImpl, SwiperAttributeModifier::IndicatorStyleImpl, + SwiperAttributeModifier::OnUnselectedImpl, SwiperAttributeModifier::OnAnimationStartImpl, SwiperAttributeModifier::OnAnimationEndImpl, SwiperAttributeModifier::OnGestureSwipeImpl, @@ -19699,6 +22617,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwiperAttributeModifier::CustomContentTransitionImpl, SwiperAttributeModifier::OnContentDidScrollImpl, SwiperAttributeModifier::IndicatorInteractiveImpl, + SwiperAttributeModifier::PageFlipModeImpl, + SwiperAttributeModifier::OnContentWillScrollImpl, SwiperAttributeModifier::DisplayArrowImpl, SwiperAttributeModifier::DisplayCountImpl, SwiperAttributeModifier::PrevMarginImpl, @@ -19733,6 +22653,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SymbolGlyphAttributeModifier::FontWeightImpl, SymbolGlyphAttributeModifier::EffectStrategyImpl, SymbolGlyphAttributeModifier::RenderingStrategyImpl, + SymbolGlyphAttributeModifier::MinFontScaleImpl, + SymbolGlyphAttributeModifier::MaxFontScaleImpl, SymbolGlyphAttributeModifier::SymbolEffect0Impl, SymbolGlyphAttributeModifier::SymbolEffect1Impl, }; @@ -19769,7 +22691,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { TabsAttributeModifier::AnimationModeImpl, TabsAttributeModifier::EdgeEffectImpl, TabsAttributeModifier::OnChangeImpl, + TabsAttributeModifier::OnSelectedImpl, TabsAttributeModifier::OnTabBarClickImpl, + TabsAttributeModifier::OnUnselectedImpl, TabsAttributeModifier::OnAnimationStartImpl, TabsAttributeModifier::OnAnimationEndImpl, TabsAttributeModifier::OnGestureSwipeImpl, @@ -19782,8 +22706,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { TabsAttributeModifier::BarBackgroundBlurStyle0Impl, TabsAttributeModifier::BarBackgroundBlurStyle1Impl, TabsAttributeModifier::BarBackgroundEffectImpl, + TabsAttributeModifier::PageFlipModeImpl, TabsAttributeModifier::OnContentWillChangeImpl, TabsAttributeModifier::BarModeScrollableImpl, + TabsAttributeModifier::CachedMaxCountImpl, TabsAttributeModifier::_onChangeEvent_indexImpl, }; return &ArkUITabsModifierImpl; @@ -19796,6 +22722,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TabContentInterfaceModifier::SetTabContentOptionsImpl, TabContentAttributeModifier::TabBar0Impl, TabContentAttributeModifier::TabBar1Impl, + TabContentAttributeModifier::TabBar2Impl, TabContentAttributeModifier::OnWillShowImpl, TabContentAttributeModifier::OnWillHideImpl, }; @@ -19843,6 +22770,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextAttributeModifier::DataDetectorConfigImpl, TextAttributeModifier::OnTextSelectionChangeImpl, TextAttributeModifier::FontFeatureImpl, + TextAttributeModifier::MarqueeOptionsImpl, + TextAttributeModifier::OnMarqueeStateChangeImpl, TextAttributeModifier::PrivacySensitiveImpl, TextAttributeModifier::TextSelectableImpl, TextAttributeModifier::EditMenuOptionsImpl, @@ -19890,6 +22819,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextAreaAttributeModifier::SelectionMenuHiddenImpl, TextAreaAttributeModifier::MinFontSizeImpl, TextAreaAttributeModifier::MaxFontSizeImpl, + TextAreaAttributeModifier::MinFontScaleImpl, + TextAreaAttributeModifier::MaxFontScaleImpl, TextAreaAttributeModifier::HeightAdaptivePolicyImpl, TextAreaAttributeModifier::MaxLinesImpl, TextAreaAttributeModifier::WordBreakImpl, @@ -19909,6 +22840,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextAreaAttributeModifier::EditMenuOptionsImpl, TextAreaAttributeModifier::EnablePreviewTextImpl, TextAreaAttributeModifier::EnableHapticFeedbackImpl, + TextAreaAttributeModifier::AutoCapitalizationModeImpl, + TextAreaAttributeModifier::HalfLeadingImpl, + TextAreaAttributeModifier::EllipsisModeImpl, + TextAreaAttributeModifier::StopBackPressImpl, + TextAreaAttributeModifier::OnWillChangeImpl, + TextAreaAttributeModifier::KeyboardAppearanceImpl, TextAreaAttributeModifier::InputFilterImpl, TextAreaAttributeModifier::ShowCounterImpl, TextAreaAttributeModifier::CustomKeyboardImpl, @@ -19988,6 +22925,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextInputAttributeModifier::SelectAllImpl, TextInputAttributeModifier::MinFontSizeImpl, TextInputAttributeModifier::MaxFontSizeImpl, + TextInputAttributeModifier::MinFontScaleImpl, + TextInputAttributeModifier::MaxFontScaleImpl, TextInputAttributeModifier::HeightAdaptivePolicyImpl, TextInputAttributeModifier::EnableAutoFillImpl, TextInputAttributeModifier::DecorationImpl, @@ -20004,6 +22943,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextInputAttributeModifier::EditMenuOptionsImpl, TextInputAttributeModifier::EnablePreviewTextImpl, TextInputAttributeModifier::EnableHapticFeedbackImpl, + TextInputAttributeModifier::AutoCapitalizationModeImpl, + TextInputAttributeModifier::HalfLeadingImpl, + TextInputAttributeModifier::EllipsisModeImpl, + TextInputAttributeModifier::StopBackPressImpl, + TextInputAttributeModifier::OnWillChangeImpl, + TextInputAttributeModifier::KeyboardAppearanceImpl, TextInputAttributeModifier::InputFilterImpl, TextInputAttributeModifier::CustomKeyboardImpl, TextInputAttributeModifier::ShowCounterImpl, @@ -20017,17 +22962,33 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUITextPickerModifier ArkUITextPickerModifierImpl { TextPickerModifier::ConstructImpl, TextPickerInterfaceModifier::SetTextPickerOptionsImpl, - TextPickerAttributeModifier::DefaultPickerItemHeightImpl, - TextPickerAttributeModifier::CanLoopImpl, - TextPickerAttributeModifier::DisappearTextStyleImpl, - TextPickerAttributeModifier::TextStyleImpl, - TextPickerAttributeModifier::SelectedTextStyleImpl, + TextPickerAttributeModifier::DefaultPickerItemHeight0Impl, + TextPickerAttributeModifier::DefaultPickerItemHeight1Impl, + TextPickerAttributeModifier::CanLoop0Impl, + TextPickerAttributeModifier::CanLoop1Impl, + TextPickerAttributeModifier::DisappearTextStyle0Impl, + TextPickerAttributeModifier::DisappearTextStyle1Impl, + TextPickerAttributeModifier::TextStyle0Impl, + TextPickerAttributeModifier::TextStyle1Impl, + TextPickerAttributeModifier::SelectedTextStyle0Impl, + TextPickerAttributeModifier::SelectedTextStyle1Impl, + TextPickerAttributeModifier::DisableTextStyleAnimationImpl, + TextPickerAttributeModifier::DefaultTextStyleImpl, TextPickerAttributeModifier::OnAcceptImpl, TextPickerAttributeModifier::OnCancelImpl, - TextPickerAttributeModifier::OnChangeImpl, - TextPickerAttributeModifier::SelectedIndexImpl, - TextPickerAttributeModifier::DividerImpl, - TextPickerAttributeModifier::GradientHeightImpl, + TextPickerAttributeModifier::OnChange0Impl, + TextPickerAttributeModifier::OnChange1Impl, + TextPickerAttributeModifier::OnScrollStop0Impl, + TextPickerAttributeModifier::OnScrollStop1Impl, + TextPickerAttributeModifier::OnEnterSelectedAreaImpl, + TextPickerAttributeModifier::SelectedIndex0Impl, + TextPickerAttributeModifier::SelectedIndex1Impl, + TextPickerAttributeModifier::Divider0Impl, + TextPickerAttributeModifier::Divider1Impl, + TextPickerAttributeModifier::GradientHeight0Impl, + TextPickerAttributeModifier::GradientHeight1Impl, + TextPickerAttributeModifier::EnableHapticFeedbackImpl, + TextPickerAttributeModifier::DigitalCrownSensitivityImpl, TextPickerAttributeModifier::_onChangeEvent_selectedImpl, TextPickerAttributeModifier::_onChangeEvent_valueImpl, }; @@ -20057,14 +23018,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUITimePickerModifier ArkUITimePickerModifierImpl { TimePickerModifier::ConstructImpl, TimePickerInterfaceModifier::SetTimePickerOptionsImpl, - TimePickerAttributeModifier::UseMilitaryTimeImpl, - TimePickerAttributeModifier::LoopImpl, - TimePickerAttributeModifier::DisappearTextStyleImpl, - TimePickerAttributeModifier::TextStyleImpl, - TimePickerAttributeModifier::SelectedTextStyleImpl, - TimePickerAttributeModifier::DateTimeOptionsImpl, - TimePickerAttributeModifier::OnChangeImpl, - TimePickerAttributeModifier::EnableHapticFeedbackImpl, + TimePickerAttributeModifier::UseMilitaryTime0Impl, + TimePickerAttributeModifier::UseMilitaryTime1Impl, + TimePickerAttributeModifier::Loop0Impl, + TimePickerAttributeModifier::Loop1Impl, + TimePickerAttributeModifier::DisappearTextStyle0Impl, + TimePickerAttributeModifier::DisappearTextStyle1Impl, + TimePickerAttributeModifier::TextStyle0Impl, + TimePickerAttributeModifier::TextStyle1Impl, + TimePickerAttributeModifier::SelectedTextStyle0Impl, + TimePickerAttributeModifier::SelectedTextStyle1Impl, + TimePickerAttributeModifier::DateTimeOptions0Impl, + TimePickerAttributeModifier::DateTimeOptions1Impl, + TimePickerAttributeModifier::OnChange0Impl, + TimePickerAttributeModifier::OnChange1Impl, + TimePickerAttributeModifier::OnEnterSelectedAreaImpl, + TimePickerAttributeModifier::EnableHapticFeedback0Impl, + TimePickerAttributeModifier::EnableHapticFeedback1Impl, + TimePickerAttributeModifier::DigitalCrownSensitivityImpl, + TimePickerAttributeModifier::EnableCascadeImpl, TimePickerAttributeModifier::_onChangeEvent_selectedImpl, }; return &ArkUITimePickerModifierImpl; @@ -20107,6 +23079,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { VideoAttributeModifier::OnStopImpl, VideoAttributeModifier::EnableAnalyzerImpl, VideoAttributeModifier::AnalyzerConfigImpl, + VideoAttributeModifier::SurfaceBackgroundColorImpl, + VideoAttributeModifier::EnableShortcutKeyImpl, }; return &ArkUIVideoModifierImpl; } @@ -20134,6 +23108,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { WebAttributeModifier::WideViewModeAccessImpl, WebAttributeModifier::OverviewModeAccessImpl, WebAttributeModifier::OverScrollModeImpl, + WebAttributeModifier::BlurOnKeyboardHideModeImpl, WebAttributeModifier::TextZoomAtioImpl, WebAttributeModifier::TextZoomRatioImpl, WebAttributeModifier::DatabaseAccessImpl, @@ -20225,7 +23200,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { WebAttributeModifier::OnOverrideUrlLoadingImpl, WebAttributeModifier::TextAutosizingImpl, WebAttributeModifier::EnableNativeMediaPlayerImpl, - WebAttributeModifier::EnableSmoothDragResizeImpl, WebAttributeModifier::OnRenderProcessNotRespondingImpl, WebAttributeModifier::OnRenderProcessRespondingImpl, WebAttributeModifier::SelectionMenuOptionsImpl, @@ -20235,6 +23209,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { WebAttributeModifier::KeyboardAvoidModeImpl, WebAttributeModifier::EditMenuOptionsImpl, WebAttributeModifier::EnableHapticFeedbackImpl, + WebAttributeModifier::OptimizeParserBudgetImpl, + WebAttributeModifier::EnableFollowSystemFontWeightImpl, + WebAttributeModifier::EnableWebAVSessionImpl, + WebAttributeModifier::RunJavaScriptOnDocumentStartImpl, + WebAttributeModifier::RunJavaScriptOnDocumentEndImpl, + WebAttributeModifier::RunJavaScriptOnHeadEndImpl, + WebAttributeModifier::NativeEmbedOptionsImpl, WebAttributeModifier::RegisterNativeEmbedRuleImpl, WebAttributeModifier::BindSelectionMenuImpl, }; @@ -20258,10 +23239,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { XComponentInterfaceModifier::SetXComponentOptions0Impl, XComponentInterfaceModifier::SetXComponentOptions1Impl, XComponentInterfaceModifier::SetXComponentOptions2Impl, + XComponentInterfaceModifier::SetXComponentOptions3Impl, XComponentAttributeModifier::OnLoadImpl, XComponentAttributeModifier::OnDestroyImpl, XComponentAttributeModifier::EnableAnalyzerImpl, XComponentAttributeModifier::EnableSecureImpl, + XComponentAttributeModifier::HdrBrightnessImpl, + XComponentAttributeModifier::EnableTransparentLayerImpl, }; return &ArkUIXComponentModifierImpl; } @@ -20334,6 +23318,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { UIExtensionComponentAttributeModifier::OnReleaseImpl, UIExtensionComponentAttributeModifier::OnErrorImpl, UIExtensionComponentAttributeModifier::OnTerminatedImpl, + UIExtensionComponentAttributeModifier::OnDrawReadyImpl, }; return &ArkUIUIExtensionComponentModifierImpl; } @@ -20363,11 +23348,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetButtonModifier, GetCalendarModifier, GetCalendarPickerModifier, - GetNavigationModifier, GetCommonMethodModifier, GetCommonModifier, GetCommonShapeMethodModifier, GetScrollableCommonMethodModifier, + GetNavigationModifier, GetCanvasModifier, GetCheckboxModifier, GetCheckboxGroupModifier, @@ -20398,6 +23383,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetImageModifier, GetImageAnimatorModifier, GetImageSpanModifier, + GetLazyGridLayoutModifier, + GetLazyVGridLayoutModifier, GetLineModifier, GetListModifier, GetListItemModifier, @@ -22506,7 +25493,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { return fnPtr(dummyClassFinalizer); } Ark_BaseShape WidthImpl(Ark_BaseShape peer, - const Ark_Union_String_Number_Resource* width) + const Ark_Length* width) { if (!needGroupedLog(1)) return (Ark_BaseShape) 300; @@ -22518,7 +25505,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { return (Ark_BaseShape) 300; } Ark_BaseShape HeightImpl(Ark_BaseShape peer, - const Ark_Union_String_Number_Resource* height) + const Ark_Length* height) { if (!needGroupedLog(1)) return (Ark_BaseShape) 300; @@ -22609,7 +25596,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { return (Ark_RectShape) 300; } Ark_RectShape WidthImpl(Ark_RectShape peer, - const Ark_Union_String_Number_Resource* width) + const Ark_Length* width) { if (!needGroupedLog(1)) return (Ark_RectShape) 300; @@ -22621,7 +25608,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { return (Ark_RectShape) 300; } Ark_RectShape HeightImpl(Ark_RectShape peer, - const Ark_Union_String_Number_Resource* height) + const Ark_Length* height) { if (!needGroupedLog(1)) return (Ark_RectShape) 300; @@ -22748,7 +25735,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { return (Ark_CircleShape) 300; } Ark_CircleShape WidthImpl(Ark_CircleShape peer, - const Ark_Union_String_Number_Resource* width) + const Ark_Length* width) { if (!needGroupedLog(1)) return (Ark_CircleShape) 300; @@ -22760,7 +25747,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { return (Ark_CircleShape) 300; } Ark_CircleShape HeightImpl(Ark_CircleShape peer, - const Ark_Union_String_Number_Resource* height) + const Ark_Length* height) { if (!needGroupedLog(1)) return (Ark_CircleShape) 300; @@ -22851,7 +25838,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { return (Ark_EllipseShape) 300; } Ark_EllipseShape WidthImpl(Ark_EllipseShape peer, - const Ark_Union_String_Number_Resource* width) + const Ark_Length* width) { if (!needGroupedLog(1)) return (Ark_EllipseShape) 300; @@ -22863,7 +25850,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { return (Ark_EllipseShape) 300; } Ark_EllipseShape HeightImpl(Ark_EllipseShape peer, - const Ark_Union_String_Number_Resource* height) + const Ark_Length* height) { if (!needGroupedLog(1)) return (Ark_EllipseShape) 300; @@ -25179,8 +28166,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // CalendarPickerDialogAccessor - namespace NavPathInfoAccessor { - void DestroyPeerImpl(Ark_NavPathInfo peer) + namespace ICurveAccessor { + void DestroyPeerImpl(Ark_ICurve peer) { if (!needGroupedLog(1)) return; @@ -25188,25 +28175,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_NavPathInfo CtorImpl(const Ark_String* name, - const Ark_Object* param, - const Opt_Callback_PopInfo_Void* onPop, - const Opt_Boolean* isEntry) + Ark_ICurve CtorImpl() { if (!needGroupedLog(1)) - return (Ark_NavPathInfo) 100; - string out("new NavPathInfo("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, onPop); - out.append(", "); - WriteToString(&out, isEntry); + return (Ark_ICurve) 100; + string out("new ICurve("); out.append(") \n"); - out.append("[return (Ark_NavPathInfo) 100] \n"); + out.append("[return (Ark_ICurve) 100] \n"); appendGroupedLog(1, out); - return (Ark_NavPathInfo) 100; + return (Ark_ICurve) 100; } Ark_NativePointer GetFinalizerImpl() { @@ -25218,89 +28195,89 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_String GetNameImpl(Ark_NavPathInfo peer) + Ark_Number InterpolateImpl(Ark_ICurve peer, + const Ark_Number* fraction) { if (!needGroupedLog(1)) - return {}; - string out("getName("); + return {42}; + string out("interpolate("); + WriteToString(&out, fraction); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - void SetNameImpl(Ark_NavPathInfo peer, - const Ark_String* name) + } // ICurveAccessor + namespace DrawModifierAccessor { + void DestroyPeerImpl(Ark_DrawModifier peer) { if (!needGroupedLog(1)) return; - string out("setName("); - WriteToString(&out, name); + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Object GetParamImpl(Ark_NavPathInfo peer) + Ark_DrawModifier CtorImpl() { if (!needGroupedLog(1)) - return {}; - string out("getParam("); + return (Ark_DrawModifier) 100; + string out("new DrawModifier("); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return (Ark_DrawModifier) 100] \n"); appendGroupedLog(1, out); - return {}; + return (Ark_DrawModifier) 100; } - void SetParamImpl(Ark_NavPathInfo peer, - const Ark_Object* param) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) - return; - string out("setParam("); - WriteToString(&out, param); + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); } - Opt_Callback_PopInfo_Void GetOnPopImpl(Ark_NavPathInfo peer) + void DrawBehindImpl(Ark_DrawModifier peer, + const Ark_DrawContext* drawContext) { if (!needGroupedLog(1)) - return {}; - string out("getOnPop("); + return; + string out("drawBehind("); + WriteToString(&out, drawContext); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetOnPopImpl(Ark_NavPathInfo peer, - const Callback_PopInfo_Void* onPop) + void DrawContentImpl(Ark_DrawModifier peer, + const Ark_DrawContext* drawContext) { if (!needGroupedLog(1)) return; - string out("setOnPop("); - WriteToString(&out, onPop); + string out("drawContent("); + WriteToString(&out, drawContext); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Boolean GetIsEntryImpl(Ark_NavPathInfo peer) + void DrawFrontImpl(Ark_DrawModifier peer, + const Ark_DrawContext* drawContext) { if (!needGroupedLog(1)) - return {}; - string out("getIsEntry("); + return; + string out("drawFront("); + WriteToString(&out, drawContext); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - void SetIsEntryImpl(Ark_NavPathInfo peer, - Ark_Boolean isEntry) + void InvalidateImpl(Ark_DrawModifier peer) { if (!needGroupedLog(1)) return; - string out("setIsEntry("); - WriteToString(&out, isEntry); + string out("invalidate("); out.append(") \n"); appendGroupedLog(1, out); } - } // NavPathInfoAccessor - namespace NavPathStackAccessor { - void DestroyPeerImpl(Ark_NavPathStack peer) + } // DrawModifierAccessor + namespace TransitionEffectAccessor { + void DestroyPeerImpl(Ark_TransitionEffect peer) { if (!needGroupedLog(1)) return; @@ -25308,15 +28285,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_NavPathStack CtorImpl() + Ark_TransitionEffect CtorImpl(const Ark_String* type, + const Ark_TransitionEffects* effect) { if (!needGroupedLog(1)) - return (Ark_NavPathStack) 100; - string out("new NavPathStack("); + return (Ark_TransitionEffect) 100; + string out("new TransitionEffect("); + WriteToString(&out, type); + out.append(", "); + WriteToString(&out, effect); out.append(") \n"); - out.append("[return (Ark_NavPathStack) 100] \n"); + out.append("[return (Ark_TransitionEffect) 100] \n"); appendGroupedLog(1, out); - return (Ark_NavPathStack) 100; + return (Ark_TransitionEffect) 100; } Ark_NativePointer GetFinalizerImpl() { @@ -25328,576 +28309,425 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void PushPath0Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated) + Ark_TransitionEffect TranslateImpl(const Ark_TranslateOptions* options) { if (!needGroupedLog(1)) - return; - string out("pushPath("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, animated); + return (Ark_TransitionEffect) 300; + string out("translate("); + WriteToString(&out, options); out.append(") \n"); + out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); + return (Ark_TransitionEffect) 300; } - void PushPath1Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options) + Ark_TransitionEffect RotateImpl(const Ark_RotateOptions* options) { if (!needGroupedLog(1)) - return; - string out("pushPath("); - WriteToString(&out, info); - out.append(", "); + return (Ark_TransitionEffect) 300; + string out("rotate("); WriteToString(&out, options); out.append(") \n"); + out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); + return (Ark_TransitionEffect) 300; } - void PushDestination0Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_TransitionEffect ScaleImpl(const Ark_ScaleOptions* options) { if (!needGroupedLog(1)) - return; - string out("pushDestination("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, animated); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + return (Ark_TransitionEffect) 300; + string out("scale("); + WriteToString(&out, options); out.append(") \n"); + out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); + return (Ark_TransitionEffect) 300; } - void PushDestination1Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_TransitionEffect OpacityImpl(const Ark_Number* alpha) { if (!needGroupedLog(1)) - return; - string out("pushDestination("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, options); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + return (Ark_TransitionEffect) 300; + string out("opacity("); + WriteToString(&out, alpha); out.append(") \n"); + out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); + return (Ark_TransitionEffect) 300; } - void PushPathByName0Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated) + Ark_TransitionEffect MoveImpl(Ark_TransitionEdge edge) { if (!needGroupedLog(1)) - return; - string out("pushPathByName("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, animated); + return (Ark_TransitionEffect) 300; + string out("move("); + WriteToString(&out, edge); out.append(") \n"); + out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); + return (Ark_TransitionEffect) 300; } - void PushPathByName1Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Callback_PopInfo_Void* onPop, - const Opt_Boolean* animated) + Ark_TransitionEffect AsymmetricImpl(Ark_TransitionEffect appear, + Ark_TransitionEffect disappear) { if (!needGroupedLog(1)) - return; - string out("pushPathByName("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, onPop); + return (Ark_TransitionEffect) 300; + string out("asymmetric("); + WriteToString(&out, appear); out.append(", "); - WriteToString(&out, animated); + WriteToString(&out, disappear); out.append(") \n"); + out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); + return (Ark_TransitionEffect) 300; } - void PushDestinationByName0Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_TransitionEffect AnimationImpl(Ark_TransitionEffect peer, + const Ark_AnimateParam* value) { if (!needGroupedLog(1)) - return; - string out("pushDestinationByName("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, animated); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + return (Ark_TransitionEffect) 300; + string out("animation("); + WriteToString(&out, value); out.append(") \n"); + out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); + return (Ark_TransitionEffect) 300; } - void PushDestinationByName1Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Callback_PopInfo_Void* onPop, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_TransitionEffect CombineImpl(Ark_TransitionEffect peer, + Ark_TransitionEffect transitionEffect) { if (!needGroupedLog(1)) - return; - string out("pushDestinationByName("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, onPop); - out.append(", "); - WriteToString(&out, animated); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + return (Ark_TransitionEffect) 300; + string out("combine("); + WriteToString(&out, transitionEffect); out.append(") \n"); + out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); + return (Ark_TransitionEffect) 300; } - void ReplacePath0Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated) + Ark_TransitionEffect GetIDENTITYImpl() { if (!needGroupedLog(1)) - return; - string out("replacePath("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, animated); + return (Ark_TransitionEffect) 300; + string out("getIDENTITY("); out.append(") \n"); + out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); + return (Ark_TransitionEffect) 300; } - void ReplacePath1Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options) + Ark_TransitionEffect GetOPACITYImpl() { if (!needGroupedLog(1)) - return; - string out("replacePath("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, options); + return (Ark_TransitionEffect) 300; + string out("getOPACITY("); out.append(") \n"); + out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); + return (Ark_TransitionEffect) 300; } - void ReplaceDestinationImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_TransitionEffect GetSLIDEImpl() { if (!needGroupedLog(1)) - return; - string out("replaceDestination("); - WriteToString(&out, info); - out.append(", "); - WriteToString(&out, options); - out.append(", "); - WriteToString(&out, outputArgumentForReturningPromise); + return (Ark_TransitionEffect) 300; + string out("getSLIDE("); out.append(") \n"); + out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); + return (Ark_TransitionEffect) 300; } - void ReplacePathByNameImpl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated) + Ark_TransitionEffect GetSLIDE_SWITCHImpl() { if (!needGroupedLog(1)) - return; - string out("replacePathByName("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, param); - out.append(", "); - WriteToString(&out, animated); + return (Ark_TransitionEffect) 300; + string out("getSLIDE_SWITCH("); out.append(") \n"); + out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); + return (Ark_TransitionEffect) 300; } - Ark_Number RemoveByIndexesImpl(Ark_NavPathStack peer, - const Array_Number* indexes) + } // TransitionEffectAccessor + namespace BaseEventAccessor { + void DestroyPeerImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) - return {42}; - string out("removeByIndexes("); - WriteToString(&out, indexes); + return; + string out("destroyPeer("); out.append(") \n"); - out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {42}; } - Ark_Number RemoveByNameImpl(Ark_NavPathStack peer, - const Ark_String* name) + Ark_BaseEvent CtorImpl() { if (!needGroupedLog(1)) - return {42}; - string out("removeByName("); - WriteToString(&out, name); + return (Ark_BaseEvent) 100; + string out("new BaseEvent("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return (Ark_BaseEvent) 100] \n"); appendGroupedLog(1, out); - return {42}; + return (Ark_BaseEvent) 100; } - Ark_Boolean RemoveByNavDestinationIdImpl(Ark_NavPathStack peer, - const Ark_String* navDestinationId) + Ark_NativePointer GetFinalizerImpl() { if (!needGroupedLog(1)) - return 0; - string out("removeByNavDestinationId("); - WriteToString(&out, navDestinationId); + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); out.append(") \n"); - out.append("[return 0] \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return 0; + return fnPtr(dummyClassFinalizer); } - Opt_NavPathInfo Pop0Impl(Ark_NavPathStack peer, - const Opt_Boolean* animated) + Ark_Boolean GetModifierKeyStateImpl(Ark_VMContext vmContext, + Ark_BaseEvent peer, + const Array_String* keys) { if (!needGroupedLog(1)) - return {}; - string out("pop("); - WriteToString(&out, animated); + return 0; + string out("getModifierKeyState("); + WriteToString(&out, keys); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {}; + return 0; } - Opt_NavPathInfo Pop1Impl(Ark_NavPathStack peer, - const Ark_Object* result, - const Opt_Boolean* animated) + Ark_EventTarget GetTargetImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) return {}; - string out("pop("); - WriteToString(&out, result); - out.append(", "); - WriteToString(&out, animated); + string out("getTarget("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_Number PopToName0Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Opt_Boolean* animated) - { - if (!needGroupedLog(1)) - return {42}; - string out("popToName("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, animated); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - Ark_Number PopToName1Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* result, - const Opt_Boolean* animated) - { - if (!needGroupedLog(1)) - return {42}; - string out("popToName("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, result); - out.append(", "); - WriteToString(&out, animated); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - void PopToIndex0Impl(Ark_NavPathStack peer, - const Ark_Number* index, - const Opt_Boolean* animated) - { - if (!needGroupedLog(1)) - return; - string out("popToIndex("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, animated); - out.append(") \n"); - appendGroupedLog(1, out); - } - void PopToIndex1Impl(Ark_NavPathStack peer, - const Ark_Number* index, - const Ark_Object* result, - const Opt_Boolean* animated) + void SetTargetImpl(Ark_BaseEvent peer, + const Ark_EventTarget* target) { if (!needGroupedLog(1)) return; - string out("popToIndex("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, result); - out.append(", "); - WriteToString(&out, animated); + string out("setTarget("); + WriteToString(&out, target); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number MoveToTopImpl(Ark_NavPathStack peer, - const Ark_String* name, - const Opt_Boolean* animated) + Ark_Int64 GetTimestampImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) - return {42}; - string out("moveToTop("); - WriteToString(&out, name); - out.append(", "); - WriteToString(&out, animated); + return 0; + string out("getTimestamp("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {42}; + return 0; } - void MoveIndexToTopImpl(Ark_NavPathStack peer, - const Ark_Number* index, - const Opt_Boolean* animated) + void SetTimestampImpl(Ark_BaseEvent peer, + Ark_Int64 timestamp) { if (!needGroupedLog(1)) return; - string out("moveIndexToTop("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, animated); + string out("setTimestamp("); + WriteToString(&out, timestamp); out.append(") \n"); appendGroupedLog(1, out); } - void ClearImpl(Ark_NavPathStack peer, - const Opt_Boolean* animated) + Ark_SourceType GetSourceImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) - return; - string out("clear("); - WriteToString(&out, animated); + return {}; + string out("getSource("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Array_String GetAllPathNameImpl(Ark_NavPathStack peer) + void SetSourceImpl(Ark_BaseEvent peer, + Ark_SourceType source) { if (!needGroupedLog(1)) - return {}; - string out("getAllPathName("); + return; + string out("setSource("); + WriteToString(&out, source); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Opt_Object GetParamByIndexImpl(Ark_NavPathStack peer, - const Ark_Number* index) + Opt_Number GetAxisHorizontalImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) return {}; - string out("getParamByIndex("); - WriteToString(&out, index); + string out("getAxisHorizontal("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Array_Object GetParamByNameImpl(Ark_NavPathStack peer, - const Ark_String* name) + void SetAxisHorizontalImpl(Ark_BaseEvent peer, + const Ark_Number* axisHorizontal) { if (!needGroupedLog(1)) - return {}; - string out("getParamByName("); - WriteToString(&out, name); + return; + string out("setAxisHorizontal("); + WriteToString(&out, axisHorizontal); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Array_Number GetIndexByNameImpl(Ark_NavPathStack peer, - const Ark_String* name) + Opt_Number GetAxisVerticalImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) return {}; - string out("getIndexByName("); - WriteToString(&out, name); + string out("getAxisVertical("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Opt_NavPathStack GetParentImpl(Ark_NavPathStack peer) + void SetAxisVerticalImpl(Ark_BaseEvent peer, + const Ark_Number* axisVertical) { if (!needGroupedLog(1)) - return {}; - string out("getParent("); + return; + string out("setAxisVertical("); + WriteToString(&out, axisVertical); out.append(") \n"); - out.append("[return {}] \n"); appendGroupedLog(1, out); - return {}; } - Ark_Number SizeImpl(Ark_NavPathStack peer) + Ark_Number GetPressureImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) return {42}; - string out("size("); + string out("getPressure("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - void DisableAnimationImpl(Ark_NavPathStack peer, - Ark_Boolean value) + void SetPressureImpl(Ark_BaseEvent peer, + const Ark_Number* pressure) { if (!needGroupedLog(1)) return; - string out("disableAnimation("); - WriteToString(&out, value); + string out("setPressure("); + WriteToString(&out, pressure); out.append(") \n"); appendGroupedLog(1, out); } - void SetInterceptionImpl(Ark_NavPathStack peer, - const Ark_NavigationInterception* interception) + Ark_Number GetTiltXImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) - return; - string out("setInterception("); - WriteToString(&out, interception); + return {42}; + string out("getTiltX("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // NavPathStackAccessor - namespace NavigationTransitionProxyAccessor { - void DestroyPeerImpl(Ark_NavigationTransitionProxy peer) + void SetTiltXImpl(Ark_BaseEvent peer, + const Ark_Number* tiltX) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_NavigationTransitionProxy CtorImpl() - { - if (!needGroupedLog(1)) - return (Ark_NavigationTransitionProxy) 100; - string out("new NavigationTransitionProxy("); + string out("setTiltX("); + WriteToString(&out, tiltX); out.append(") \n"); - out.append("[return (Ark_NavigationTransitionProxy) 100] \n"); appendGroupedLog(1, out); - return (Ark_NavigationTransitionProxy) 100; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetTiltYImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return {42}; + string out("getTiltY("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - void FinishTransitionImpl(Ark_NavigationTransitionProxy peer) + void SetTiltYImpl(Ark_BaseEvent peer, + const Ark_Number* tiltY) { if (!needGroupedLog(1)) return; - string out("finishTransition("); + string out("setTiltY("); + WriteToString(&out, tiltY); out.append(") \n"); appendGroupedLog(1, out); } - void CancelTransitionImpl(Ark_NavigationTransitionProxy peer) + Opt_Number GetRollAngleImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) - return; - string out("cancelTransition("); + return {}; + string out("getRollAngle("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void UpdateTransitionImpl(Ark_NavigationTransitionProxy peer, - const Ark_Number* progress) + void SetRollAngleImpl(Ark_BaseEvent peer, + const Ark_Number* rollAngle) { if (!needGroupedLog(1)) return; - string out("updateTransition("); - WriteToString(&out, progress); + string out("setRollAngle("); + WriteToString(&out, rollAngle); out.append(") \n"); appendGroupedLog(1, out); } - Ark_NavContentInfo GetFromImpl(Ark_NavigationTransitionProxy peer) + Ark_SourceTool GetSourceToolImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) return {}; - string out("getFrom("); + string out("getSourceTool("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetFromImpl(Ark_NavigationTransitionProxy peer, - const Ark_NavContentInfo* from) + void SetSourceToolImpl(Ark_BaseEvent peer, + Ark_SourceTool sourceTool) { if (!needGroupedLog(1)) return; - string out("setFrom("); - WriteToString(&out, from); + string out("setSourceTool("); + WriteToString(&out, sourceTool); out.append(") \n"); appendGroupedLog(1, out); } - Ark_NavContentInfo GetToImpl(Ark_NavigationTransitionProxy peer) + Opt_Number GetDeviceIdImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) return {}; - string out("getTo("); + string out("getDeviceId("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetToImpl(Ark_NavigationTransitionProxy peer, - const Ark_NavContentInfo* to) + void SetDeviceIdImpl(Ark_BaseEvent peer, + const Ark_Number* deviceId) { if (!needGroupedLog(1)) return; - string out("setTo("); - WriteToString(&out, to); + string out("setDeviceId("); + WriteToString(&out, deviceId); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Boolean GetIsInteractiveImpl(Ark_NavigationTransitionProxy peer) + Opt_Number GetTargetDisplayIdImpl(Ark_BaseEvent peer) { if (!needGroupedLog(1)) return {}; - string out("getIsInteractive("); + string out("getTargetDisplayId("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetIsInteractiveImpl(Ark_NavigationTransitionProxy peer, - Ark_Boolean isInteractive) + void SetTargetDisplayIdImpl(Ark_BaseEvent peer, + const Ark_Number* targetDisplayId) { if (!needGroupedLog(1)) return; - string out("setIsInteractive("); - WriteToString(&out, isInteractive); + string out("setTargetDisplayId("); + WriteToString(&out, targetDisplayId); out.append(") \n"); appendGroupedLog(1, out); } - } // NavigationTransitionProxyAccessor - namespace ICurveAccessor { - void DestroyPeerImpl(Ark_ICurve peer) + } // BaseEventAccessor + namespace ClickEventAccessor { + void DestroyPeerImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) return; @@ -25905,15 +28735,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_ICurve CtorImpl() + Ark_ClickEvent CtorImpl() { if (!needGroupedLog(1)) - return (Ark_ICurve) 100; - string out("new ICurve("); + return (Ark_ClickEvent) 100; + string out("new ClickEvent("); out.append(") \n"); - out.append("[return (Ark_ICurve) 100] \n"); + out.append("[return (Ark_ClickEvent) 100] \n"); appendGroupedLog(1, out); - return (Ark_ICurve) 100; + return (Ark_ClickEvent) 100; } Ark_NativePointer GetFinalizerImpl() { @@ -25925,256 +28755,209 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Number InterpolateImpl(Ark_ICurve peer, - const Ark_Number* fraction) + Ark_Number GetDisplayXImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) return {42}; - string out("interpolate("); - WriteToString(&out, fraction); + string out("getDisplayX("); out.append(") \n"); out.append("[return {42}] \n"); appendGroupedLog(1, out); return {42}; } - } // ICurveAccessor - namespace DrawModifierAccessor { - void DestroyPeerImpl(Ark_DrawModifier peer) + void SetDisplayXImpl(Ark_ClickEvent peer, + const Ark_Number* displayX) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); + string out("setDisplayX("); + WriteToString(&out, displayX); out.append(") \n"); appendGroupedLog(1, out); } - Ark_DrawModifier CtorImpl() + Ark_Number GetDisplayYImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) - return (Ark_DrawModifier) 100; - string out("new DrawModifier("); + return {42}; + string out("getDisplayY("); out.append(") \n"); - out.append("[return (Ark_DrawModifier) 100] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return (Ark_DrawModifier) 100; + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void SetDisplayYImpl(Ark_ClickEvent peer, + const Ark_Number* displayY) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return; + string out("setDisplayY("); + WriteToString(&out, displayY); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void DrawBehindImpl(Ark_DrawModifier peer, - const Ark_DrawContext* drawContext) + Ark_Number GetWindowXImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) - return; - string out("drawBehind("); - WriteToString(&out, drawContext); + return {42}; + string out("getWindowX("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void DrawContentImpl(Ark_DrawModifier peer, - const Ark_DrawContext* drawContext) + void SetWindowXImpl(Ark_ClickEvent peer, + const Ark_Number* windowX) { if (!needGroupedLog(1)) return; - string out("drawContent("); - WriteToString(&out, drawContext); + string out("setWindowX("); + WriteToString(&out, windowX); out.append(") \n"); appendGroupedLog(1, out); } - void DrawFrontImpl(Ark_DrawModifier peer, - const Ark_DrawContext* drawContext) + Ark_Number GetWindowYImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) - return; - string out("drawFront("); - WriteToString(&out, drawContext); + return {42}; + string out("getWindowY("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - void InvalidateImpl(Ark_DrawModifier peer) + void SetWindowYImpl(Ark_ClickEvent peer, + const Ark_Number* windowY) { if (!needGroupedLog(1)) return; - string out("invalidate("); + string out("setWindowY("); + WriteToString(&out, windowY); out.append(") \n"); appendGroupedLog(1, out); } - } // DrawModifierAccessor - namespace TransitionEffectAccessor { - void DestroyPeerImpl(Ark_TransitionEffect peer) + Ark_Number GetScreenXImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) - return; - string out("destroyPeer("); + return {42}; + string out("getScreenX("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_TransitionEffect CtorImpl(const Ark_String* type, - const Ark_TransitionEffects* effect) + void SetScreenXImpl(Ark_ClickEvent peer, + const Ark_Number* screenX) { if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 100; - string out("new TransitionEffect("); - WriteToString(&out, type); - out.append(", "); - WriteToString(&out, effect); + return; + string out("setScreenX("); + WriteToString(&out, screenX); out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 100] \n"); appendGroupedLog(1, out); - return (Ark_TransitionEffect) 100; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetScreenYImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return {42}; + string out("getScreenY("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - Ark_TransitionEffect TranslateImpl(const Ark_TranslateOptions* options) + void SetScreenYImpl(Ark_ClickEvent peer, + const Ark_Number* screenY) { if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 300; - string out("translate("); - WriteToString(&out, options); + return; + string out("setScreenY("); + WriteToString(&out, screenY); out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); - return (Ark_TransitionEffect) 300; } - Ark_TransitionEffect RotateImpl(const Ark_RotateOptions* options) + Ark_Number GetXImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 300; - string out("rotate("); - WriteToString(&out, options); + return {42}; + string out("getX("); out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 300] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return (Ark_TransitionEffect) 300; + return {42}; } - Ark_TransitionEffect ScaleImpl(const Ark_ScaleOptions* options) + void SetXImpl(Ark_ClickEvent peer, + const Ark_Number* x) { if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 300; - string out("scale("); - WriteToString(&out, options); + return; + string out("setX("); + WriteToString(&out, x); out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); - return (Ark_TransitionEffect) 300; } - Ark_TransitionEffect OpacityImpl(const Ark_Number* alpha) + Ark_Number GetYImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 300; - string out("opacity("); - WriteToString(&out, alpha); + return {42}; + string out("getY("); out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 300] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return (Ark_TransitionEffect) 300; + return {42}; } - Ark_TransitionEffect MoveImpl(Ark_TransitionEdge edge) + void SetYImpl(Ark_ClickEvent peer, + const Ark_Number* y) { if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 300; - string out("move("); - WriteToString(&out, edge); + return; + string out("setY("); + WriteToString(&out, y); out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); - return (Ark_TransitionEffect) 300; } - Ark_TransitionEffect AsymmetricImpl(Ark_TransitionEffect appear, - Ark_TransitionEffect disappear) + Opt_InteractionHand GetHandImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 300; - string out("asymmetric("); - WriteToString(&out, appear); - out.append(", "); - WriteToString(&out, disappear); + return {}; + string out("getHand("); out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 300] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return (Ark_TransitionEffect) 300; + return {}; } - Ark_TransitionEffect AnimationImpl(Ark_TransitionEffect peer, - const Ark_AnimateParam* value) + void SetHandImpl(Ark_ClickEvent peer, + Ark_InteractionHand hand) { if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 300; - string out("animation("); - WriteToString(&out, value); + return; + string out("setHand("); + WriteToString(&out, hand); out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); - return (Ark_TransitionEffect) 300; } - Ark_TransitionEffect CombineImpl(Ark_TransitionEffect peer, - Ark_TransitionEffect transitionEffect) - { - if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 300; - string out("combine("); - WriteToString(&out, transitionEffect); - out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 300] \n"); - appendGroupedLog(1, out); - return (Ark_TransitionEffect) 300; - } - Ark_TransitionEffect GetIDENTITYImpl() - { - if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 300; - string out("getIDENTITY("); - out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 300] \n"); - appendGroupedLog(1, out); - return (Ark_TransitionEffect) 300; - } - Ark_TransitionEffect GetOPACITYImpl() - { - if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 300; - string out("getOPACITY("); - out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 300] \n"); - appendGroupedLog(1, out); - return (Ark_TransitionEffect) 300; - } - Ark_TransitionEffect GetSLIDEImpl() + Callback_Void GetPreventDefaultImpl(Ark_ClickEvent peer) { if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 300; - string out("getSLIDE("); + return {}; + string out("getPreventDefault("); out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 300] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return (Ark_TransitionEffect) 300; + return {}; } - Ark_TransitionEffect GetSLIDE_SWITCHImpl() + void SetPreventDefaultImpl(Ark_ClickEvent peer, + const Callback_Void* preventDefault) { if (!needGroupedLog(1)) - return (Ark_TransitionEffect) 300; - string out("getSLIDE_SWITCH("); + return; + string out("setPreventDefault("); + WriteToString(&out, preventDefault); out.append(") \n"); - out.append("[return (Ark_TransitionEffect) 300] \n"); appendGroupedLog(1, out); - return (Ark_TransitionEffect) 300; } - } // TransitionEffectAccessor - namespace BaseEventAccessor { - void DestroyPeerImpl(Ark_BaseEvent peer) + } // ClickEventAccessor + namespace HoverEventAccessor { + void DestroyPeerImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) return; @@ -26182,15 +28965,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_BaseEvent CtorImpl() + Ark_HoverEvent CtorImpl() { if (!needGroupedLog(1)) - return (Ark_BaseEvent) 100; - string out("new BaseEvent("); + return (Ark_HoverEvent) 100; + string out("new HoverEvent("); out.append(") \n"); - out.append("[return (Ark_BaseEvent) 100] \n"); + out.append("[return (Ark_HoverEvent) 100] \n"); appendGroupedLog(1, out); - return (Ark_BaseEvent) 100; + return (Ark_HoverEvent) 100; } Ark_NativePointer GetFinalizerImpl() { @@ -26202,260 +28985,97 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_Boolean GetModifierKeyStateImpl(Ark_VMContext vmContext, - Ark_BaseEvent peer, - const Array_String* keys) - { - if (!needGroupedLog(1)) - return 0; - string out("getModifierKeyState("); - WriteToString(&out, keys); - out.append(") \n"); - out.append("[return 0] \n"); - appendGroupedLog(1, out); - return 0; - } - Ark_EventTarget GetTargetImpl(Ark_BaseEvent peer) - { - if (!needGroupedLog(1)) - return {}; - string out("getTarget("); - out.append(") \n"); - out.append("[return {}] \n"); - appendGroupedLog(1, out); - return {}; - } - void SetTargetImpl(Ark_BaseEvent peer, - const Ark_EventTarget* target) - { - if (!needGroupedLog(1)) - return; - string out("setTarget("); - WriteToString(&out, target); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Int64 GetTimestampImpl(Ark_BaseEvent peer) - { - if (!needGroupedLog(1)) - return 0; - string out("getTimestamp("); - out.append(") \n"); - out.append("[return 0] \n"); - appendGroupedLog(1, out); - return 0; - } - void SetTimestampImpl(Ark_BaseEvent peer, - Ark_Int64 timestamp) - { - if (!needGroupedLog(1)) - return; - string out("setTimestamp("); - WriteToString(&out, timestamp); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_SourceType GetSourceImpl(Ark_BaseEvent peer) + Opt_Number GetXImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) return {}; - string out("getSource("); + string out("getX("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetSourceImpl(Ark_BaseEvent peer, - Ark_SourceType source) + void SetXImpl(Ark_HoverEvent peer, + const Ark_Number* x) { if (!needGroupedLog(1)) return; - string out("setSource("); - WriteToString(&out, source); + string out("setX("); + WriteToString(&out, x); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetAxisHorizontalImpl(Ark_BaseEvent peer) + Opt_Number GetYImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) return {}; - string out("getAxisHorizontal("); + string out("getY("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetAxisHorizontalImpl(Ark_BaseEvent peer, - const Ark_Number* axisHorizontal) + void SetYImpl(Ark_HoverEvent peer, + const Ark_Number* y) { if (!needGroupedLog(1)) return; - string out("setAxisHorizontal("); - WriteToString(&out, axisHorizontal); + string out("setY("); + WriteToString(&out, y); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetAxisVerticalImpl(Ark_BaseEvent peer) + Opt_Number GetWindowXImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) return {}; - string out("getAxisVertical("); + string out("getWindowX("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetAxisVerticalImpl(Ark_BaseEvent peer, - const Ark_Number* axisVertical) - { - if (!needGroupedLog(1)) - return; - string out("setAxisVertical("); - WriteToString(&out, axisVertical); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetPressureImpl(Ark_BaseEvent peer) - { - if (!needGroupedLog(1)) - return {42}; - string out("getPressure("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - void SetPressureImpl(Ark_BaseEvent peer, - const Ark_Number* pressure) - { - if (!needGroupedLog(1)) - return; - string out("setPressure("); - WriteToString(&out, pressure); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetTiltXImpl(Ark_BaseEvent peer) - { - if (!needGroupedLog(1)) - return {42}; - string out("getTiltX("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - void SetTiltXImpl(Ark_BaseEvent peer, - const Ark_Number* tiltX) - { - if (!needGroupedLog(1)) - return; - string out("setTiltX("); - WriteToString(&out, tiltX); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetTiltYImpl(Ark_BaseEvent peer) - { - if (!needGroupedLog(1)) - return {42}; - string out("getTiltY("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - void SetTiltYImpl(Ark_BaseEvent peer, - const Ark_Number* tiltY) + void SetWindowXImpl(Ark_HoverEvent peer, + const Ark_Number* windowX) { if (!needGroupedLog(1)) return; - string out("setTiltY("); - WriteToString(&out, tiltY); + string out("setWindowX("); + WriteToString(&out, windowX); out.append(") \n"); appendGroupedLog(1, out); } - Ark_SourceTool GetSourceToolImpl(Ark_BaseEvent peer) + Opt_Number GetWindowYImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) return {}; - string out("getSourceTool("); + string out("getWindowY("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetSourceToolImpl(Ark_BaseEvent peer, - Ark_SourceTool sourceTool) + void SetWindowYImpl(Ark_HoverEvent peer, + const Ark_Number* windowY) { if (!needGroupedLog(1)) return; - string out("setSourceTool("); - WriteToString(&out, sourceTool); + string out("setWindowY("); + WriteToString(&out, windowY); out.append(") \n"); appendGroupedLog(1, out); } - Opt_Number GetDeviceIdImpl(Ark_BaseEvent peer) + Opt_Number GetDisplayXImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) return {}; - string out("getDeviceId("); + string out("getDisplayX("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void SetDeviceIdImpl(Ark_BaseEvent peer, - const Ark_Number* deviceId) - { - if (!needGroupedLog(1)) - return; - string out("setDeviceId("); - WriteToString(&out, deviceId); - out.append(") \n"); - appendGroupedLog(1, out); - } - } // BaseEventAccessor - namespace ClickEventAccessor { - void DestroyPeerImpl(Ark_ClickEvent peer) - { - if (!needGroupedLog(1)) - return; - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_ClickEvent CtorImpl() - { - if (!needGroupedLog(1)) - return (Ark_ClickEvent) 100; - string out("new ClickEvent("); - out.append(") \n"); - out.append("[return (Ark_ClickEvent) 100] \n"); - appendGroupedLog(1, out); - return (Ark_ClickEvent) 100; - } - Ark_NativePointer GetFinalizerImpl() - { - if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); - out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); - appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); - } - Ark_Number GetDisplayXImpl(Ark_ClickEvent peer) - { - if (!needGroupedLog(1)) - return {42}; - string out("getDisplayX("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - void SetDisplayXImpl(Ark_ClickEvent peer, + void SetDisplayXImpl(Ark_HoverEvent peer, const Ark_Number* displayX) { if (!needGroupedLog(1)) @@ -26465,17 +29085,17 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetDisplayYImpl(Ark_ClickEvent peer) + Opt_Number GetDisplayYImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) - return {42}; + return {}; string out("getDisplayY("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetDisplayYImpl(Ark_ClickEvent peer, + void SetDisplayYImpl(Ark_HoverEvent peer, const Ark_Number* displayY) { if (!needGroupedLog(1)) @@ -26485,176 +29105,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetWindowXImpl(Ark_ClickEvent peer) - { - if (!needGroupedLog(1)) - return {42}; - string out("getWindowX("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - void SetWindowXImpl(Ark_ClickEvent peer, - const Ark_Number* windowX) - { - if (!needGroupedLog(1)) - return; - string out("setWindowX("); - WriteToString(&out, windowX); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetWindowYImpl(Ark_ClickEvent peer) - { - if (!needGroupedLog(1)) - return {42}; - string out("getWindowY("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - void SetWindowYImpl(Ark_ClickEvent peer, - const Ark_Number* windowY) - { - if (!needGroupedLog(1)) - return; - string out("setWindowY("); - WriteToString(&out, windowY); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetScreenXImpl(Ark_ClickEvent peer) - { - if (!needGroupedLog(1)) - return {42}; - string out("getScreenX("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - void SetScreenXImpl(Ark_ClickEvent peer, - const Ark_Number* screenX) - { - if (!needGroupedLog(1)) - return; - string out("setScreenX("); - WriteToString(&out, screenX); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetScreenYImpl(Ark_ClickEvent peer) - { - if (!needGroupedLog(1)) - return {42}; - string out("getScreenY("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - void SetScreenYImpl(Ark_ClickEvent peer, - const Ark_Number* screenY) - { - if (!needGroupedLog(1)) - return; - string out("setScreenY("); - WriteToString(&out, screenY); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetXImpl(Ark_ClickEvent peer) - { - if (!needGroupedLog(1)) - return {42}; - string out("getX("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - void SetXImpl(Ark_ClickEvent peer, - const Ark_Number* x) - { - if (!needGroupedLog(1)) - return; - string out("setX("); - WriteToString(&out, x); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Number GetYImpl(Ark_ClickEvent peer) - { - if (!needGroupedLog(1)) - return {42}; - string out("getY("); - out.append(") \n"); - out.append("[return {42}] \n"); - appendGroupedLog(1, out); - return {42}; - } - void SetYImpl(Ark_ClickEvent peer, - const Ark_Number* y) - { - if (!needGroupedLog(1)) - return; - string out("setY("); - WriteToString(&out, y); - out.append(") \n"); - appendGroupedLog(1, out); - } - Callback_Void GetPreventDefaultImpl(Ark_ClickEvent peer) - { - if (!needGroupedLog(1)) - return {}; - string out("getPreventDefault("); - out.append(") \n"); - out.append("[return {}] \n"); - appendGroupedLog(1, out); - return {}; - } - void SetPreventDefaultImpl(Ark_ClickEvent peer, - const Callback_Void* preventDefault) - { - if (!needGroupedLog(1)) - return; - string out("setPreventDefault("); - WriteToString(&out, preventDefault); - out.append(") \n"); - appendGroupedLog(1, out); - } - } // ClickEventAccessor - namespace HoverEventAccessor { - void DestroyPeerImpl(Ark_HoverEvent peer) - { - if (!needGroupedLog(1)) - return; - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_HoverEvent CtorImpl() - { - if (!needGroupedLog(1)) - return (Ark_HoverEvent) 100; - string out("new HoverEvent("); - out.append(") \n"); - out.append("[return (Ark_HoverEvent) 100] \n"); - appendGroupedLog(1, out); - return (Ark_HoverEvent) 100; - } - Ark_NativePointer GetFinalizerImpl() - { - if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); - out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); - appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); - } Callback_Void GetStopPropagationImpl(Ark_HoverEvent peer) { if (!needGroupedLog(1)) @@ -26925,6 +29375,66 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + Opt_Number GetRawDeltaXImpl(Ark_MouseEvent peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getRawDeltaX("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetRawDeltaXImpl(Ark_MouseEvent peer, + const Ark_Number* rawDeltaX) + { + if (!needGroupedLog(1)) + return; + string out("setRawDeltaX("); + WriteToString(&out, rawDeltaX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Number GetRawDeltaYImpl(Ark_MouseEvent peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getRawDeltaY("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetRawDeltaYImpl(Ark_MouseEvent peer, + const Ark_Number* rawDeltaY) + { + if (!needGroupedLog(1)) + return; + string out("setRawDeltaY("); + WriteToString(&out, rawDeltaY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Array_MouseButton GetPressedButtonsImpl(Ark_MouseEvent peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getPressedButtons("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetPressedButtonsImpl(Ark_MouseEvent peer, + const Array_MouseButton* pressedButtons) + { + if (!needGroupedLog(1)) + return; + string out("setPressedButtons("); + WriteToString(&out, pressedButtons); + out.append(") \n"); + appendGroupedLog(1, out); + } } // MouseEventAccessor namespace AccessibilityHoverEventAccessor { void DestroyPeerImpl(Ark_AccessibilityHoverEvent peer) @@ -27236,8 +29746,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // TouchEventAccessor - namespace PixelMapMockAccessor { - void DestroyPeerImpl(Ark_PixelMapMock peer) + namespace AxisEventAccessor { + void DestroyPeerImpl(Ark_AxisEvent peer) { if (!needGroupedLog(1)) return; @@ -27245,15 +29755,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_PixelMapMock CtorImpl() + Ark_AxisEvent CtorImpl() { if (!needGroupedLog(1)) - return (Ark_PixelMapMock) 100; - string out("new PixelMapMock("); + return (Ark_AxisEvent) 100; + string out("new AxisEvent("); out.append(") \n"); - out.append("[return (Ark_PixelMapMock) 100] \n"); + out.append("[return (Ark_AxisEvent) 100] \n"); appendGroupedLog(1, out); - return (Ark_PixelMapMock) 100; + return (Ark_AxisEvent) 100; } Ark_NativePointer GetFinalizerImpl() { @@ -27265,21 +29775,251 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void ReleaseImpl(Ark_PixelMapMock peer) + Ark_Number GetHorizontalAxisValueImpl(Ark_AxisEvent peer) { if (!needGroupedLog(1)) - return; - string out("release("); + return {42}; + string out("getHorizontalAxisValue("); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - } // PixelMapMockAccessor - namespace DragEventAccessor { - void DestroyPeerImpl(Ark_DragEvent peer) + Ark_Number GetVerticalAxisValueImpl(Ark_AxisEvent peer) { if (!needGroupedLog(1)) - return; - string out("destroyPeer("); + return {42}; + string out("getVerticalAxisValue("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + Ark_AxisAction GetActionImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getAction("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetActionImpl(Ark_AxisEvent peer, + Ark_AxisAction action) + { + if (!needGroupedLog(1)) + return; + string out("setAction("); + WriteToString(&out, action); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetDisplayXImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getDisplayX("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetDisplayXImpl(Ark_AxisEvent peer, + const Ark_Number* displayX) + { + if (!needGroupedLog(1)) + return; + string out("setDisplayX("); + WriteToString(&out, displayX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetDisplayYImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getDisplayY("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetDisplayYImpl(Ark_AxisEvent peer, + const Ark_Number* displayY) + { + if (!needGroupedLog(1)) + return; + string out("setDisplayY("); + WriteToString(&out, displayY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetWindowXImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getWindowX("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetWindowXImpl(Ark_AxisEvent peer, + const Ark_Number* windowX) + { + if (!needGroupedLog(1)) + return; + string out("setWindowX("); + WriteToString(&out, windowX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetWindowYImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getWindowY("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetWindowYImpl(Ark_AxisEvent peer, + const Ark_Number* windowY) + { + if (!needGroupedLog(1)) + return; + string out("setWindowY("); + WriteToString(&out, windowY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetXImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getX("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetXImpl(Ark_AxisEvent peer, + const Ark_Number* x) + { + if (!needGroupedLog(1)) + return; + string out("setX("); + WriteToString(&out, x); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetYImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getY("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetYImpl(Ark_AxisEvent peer, + const Ark_Number* y) + { + if (!needGroupedLog(1)) + return; + string out("setY("); + WriteToString(&out, y); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Number GetScrollStepImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getScrollStep("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetScrollStepImpl(Ark_AxisEvent peer, + const Ark_Number* scrollStep) + { + if (!needGroupedLog(1)) + return; + string out("setScrollStep("); + WriteToString(&out, scrollStep); + out.append(") \n"); + appendGroupedLog(1, out); + } + Callback_Void GetPropagationImpl(Ark_AxisEvent peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getPropagation("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetPropagationImpl(Ark_AxisEvent peer, + const Callback_Void* propagation) + { + if (!needGroupedLog(1)) + return; + string out("setPropagation("); + WriteToString(&out, propagation); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // AxisEventAccessor + namespace PixelMapMockAccessor { + void DestroyPeerImpl(Ark_PixelMapMock peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_PixelMapMock CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_PixelMapMock) 100; + string out("new PixelMapMock("); + out.append(") \n"); + out.append("[return (Ark_PixelMapMock) 100] \n"); + appendGroupedLog(1, out); + return (Ark_PixelMapMock) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + void ReleaseImpl(Ark_PixelMapMock peer) + { + if (!needGroupedLog(1)) + return; + string out("release("); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // PixelMapMockAccessor + namespace DragEventAccessor { + void DestroyPeerImpl(Ark_DragEvent peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); out.append(") \n"); appendGroupedLog(1, out); } @@ -27467,6 +30207,29 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return 0; } + void ExecuteDropAnimationImpl(Ark_DragEvent peer, + const Callback_Void* customDropAnimation) + { + if (!needGroupedLog(1)) + return; + string out("executeDropAnimation("); + WriteToString(&out, customDropAnimation); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_String StartDataLoadingImpl(Ark_VMContext vmContext, + Ark_DragEvent peer, + const Ark_DataSyncOptions* options) + { + if (!needGroupedLog(1)) + return {}; + string out("startDataLoading("); + WriteToString(&out, options); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } Ark_DragBehavior GetDragBehaviorImpl(Ark_DragEvent peer) { if (!needGroupedLog(1)) @@ -27751,6 +30514,76 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // KeyEventAccessor + namespace FocusAxisEventAccessor { + void DestroyPeerImpl(Ark_FocusAxisEvent peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_FocusAxisEvent CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_FocusAxisEvent) 100; + string out("new FocusAxisEvent("); + out.append(") \n"); + out.append("[return (Ark_FocusAxisEvent) 100] \n"); + appendGroupedLog(1, out); + return (Ark_FocusAxisEvent) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Map_AxisModel_Number GetAxisMapImpl(Ark_FocusAxisEvent peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getAxisMap("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetAxisMapImpl(Ark_FocusAxisEvent peer, + const Map_AxisModel_Number* axisMap) + { + if (!needGroupedLog(1)) + return; + string out("setAxisMap("); + WriteToString(&out, axisMap); + out.append(") \n"); + appendGroupedLog(1, out); + } + Callback_Void GetStopPropagationImpl(Ark_FocusAxisEvent peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getStopPropagation("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetStopPropagationImpl(Ark_FocusAxisEvent peer, + const Callback_Void* stopPropagation) + { + if (!needGroupedLog(1)) + return; + string out("setStopPropagation("); + WriteToString(&out, stopPropagation); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // FocusAxisEventAccessor namespace ProgressMaskAccessor { void DestroyPeerImpl(Ark_ProgressMask peer) { @@ -27817,265 +30650,1167 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - } // ProgressMaskAccessor - namespace MeasurableAccessor { - void DestroyPeerImpl(Ark_Measurable peer) + } // ProgressMaskAccessor + namespace MeasurableAccessor { + void DestroyPeerImpl(Ark_Measurable peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Measurable CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_Measurable) 100; + string out("new Measurable("); + out.append(") \n"); + out.append("[return (Ark_Measurable) 100] \n"); + appendGroupedLog(1, out); + return (Ark_Measurable) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_MeasureResult MeasureImpl(Ark_Measurable peer, + const Ark_ConstraintSizeOptions* constraint) + { + if (!needGroupedLog(1)) + return {}; + string out("measure("); + WriteToString(&out, constraint); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + Ark_DirectionalEdgesT GetMarginImpl(Ark_Measurable peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getMargin("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + Ark_DirectionalEdgesT GetPaddingImpl(Ark_Measurable peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getPadding("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + Ark_DirectionalEdgesT GetBorderWidthImpl(Ark_Measurable peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getBorderWidth("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + Opt_Number GetUniqueIdImpl(Ark_Measurable peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getUniqueId("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetUniqueIdImpl(Ark_Measurable peer, + const Ark_Number* uniqueId) + { + if (!needGroupedLog(1)) + return; + string out("setUniqueId("); + WriteToString(&out, uniqueId); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // MeasurableAccessor + namespace ViewAccessor { + void DestroyPeerImpl(Ark_View peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_View CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_View) 100; + string out("new View("); + out.append(") \n"); + out.append("[return (Ark_View) 100] \n"); + appendGroupedLog(1, out); + return (Ark_View) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_NativePointer CreateImpl(Ark_View peer, + Ark_NativePointer value) + { + if (!needGroupedLog(1)) + return nullptr; + string out("create("); + WriteToString(&out, value); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return nullptr; + } + } // ViewAccessor + namespace TextContentControllerBaseAccessor { + void DestroyPeerImpl(Ark_TextContentControllerBase peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_TextContentControllerBase CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_TextContentControllerBase) 100; + string out("new TextContentControllerBase("); + out.append(") \n"); + out.append("[return (Ark_TextContentControllerBase) 100] \n"); + appendGroupedLog(1, out); + return (Ark_TextContentControllerBase) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_CaretOffset GetCaretOffsetImpl(Ark_TextContentControllerBase peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getCaretOffset("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + Ark_RectResult GetTextContentRectImpl(Ark_TextContentControllerBase peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getTextContentRect("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + Ark_Number GetTextContentLineCountImpl(Ark_TextContentControllerBase peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getTextContentLineCount("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + Ark_Number AddTextImpl(Ark_TextContentControllerBase peer, + const Ark_String* text, + const Opt_TextContentControllerOptions* textOperationOptions) + { + if (!needGroupedLog(1)) + return {42}; + string out("addText("); + WriteToString(&out, text); + out.append(", "); + WriteToString(&out, textOperationOptions); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void DeleteTextImpl(Ark_TextContentControllerBase peer, + const Opt_TextRange* range) + { + if (!needGroupedLog(1)) + return; + string out("deleteText("); + WriteToString(&out, range); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_TextRange GetSelectionImpl(Ark_TextContentControllerBase peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getSelection("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void ClearPreviewTextImpl(Ark_TextContentControllerBase peer) + { + if (!needGroupedLog(1)) + return; + string out("clearPreviewText("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_String GetTextImpl(Ark_TextContentControllerBase peer, + const Opt_TextRange* range) + { + if (!needGroupedLog(1)) + return {}; + string out("getText("); + WriteToString(&out, range); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + } // TextContentControllerBaseAccessor + namespace ChildrenMainSizeAccessor { + void DestroyPeerImpl(Ark_ChildrenMainSize peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_ChildrenMainSize CtorImpl(const Ark_Number* childDefaultSize) + { + if (!needGroupedLog(1)) + return (Ark_ChildrenMainSize) 100; + string out("new ChildrenMainSize("); + WriteToString(&out, childDefaultSize); + out.append(") \n"); + out.append("[return (Ark_ChildrenMainSize) 100] \n"); + appendGroupedLog(1, out); + return (Ark_ChildrenMainSize) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + void SpliceImpl(Ark_VMContext vmContext, + Ark_ChildrenMainSize peer, + const Ark_Number* start, + const Opt_Number* deleteCount, + const Opt_Array_Number* childrenSize) + { + if (!needGroupedLog(1)) + return; + string out("splice("); + WriteToString(&out, start); + out.append(", "); + WriteToString(&out, deleteCount); + out.append(", "); + WriteToString(&out, childrenSize); + out.append(") \n"); + appendGroupedLog(1, out); + } + void UpdateImpl(Ark_VMContext vmContext, + Ark_ChildrenMainSize peer, + const Ark_Number* index, + const Ark_Number* childSize) + { + if (!needGroupedLog(1)) + return; + string out("update("); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, childSize); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number GetChildDefaultSizeImpl(Ark_ChildrenMainSize peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getChildDefaultSize("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + void SetChildDefaultSizeImpl(Ark_ChildrenMainSize peer, + const Ark_Number* childDefaultSize) + { + if (!needGroupedLog(1)) + return; + string out("setChildDefaultSize("); + WriteToString(&out, childDefaultSize); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // ChildrenMainSizeAccessor + namespace UICommonEventAccessor { + void DestroyPeerImpl(Ark_UICommonEvent peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_UICommonEvent CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_UICommonEvent) 100; + string out("new UICommonEvent("); + out.append(") \n"); + out.append("[return (Ark_UICommonEvent) 100] \n"); + appendGroupedLog(1, out); + return (Ark_UICommonEvent) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + void SetOnClickImpl(Ark_UICommonEvent peer, + const Opt_Callback_ClickEvent_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnClick("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnTouchImpl(Ark_UICommonEvent peer, + const Opt_Callback_TouchEvent_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnTouch("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnAppearImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnAppear("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnDisappearImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnDisappear("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnKeyEventImpl(Ark_UICommonEvent peer, + const Opt_Callback_KeyEvent_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnKeyEvent("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnFocusImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnFocus("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnBlurImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnBlur("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnHoverImpl(Ark_UICommonEvent peer, + const Opt_HoverCallback* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnHover("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnMouseImpl(Ark_UICommonEvent peer, + const Opt_Callback_MouseEvent_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnMouse("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnSizeChangeImpl(Ark_UICommonEvent peer, + const Opt_SizeChangeCallback* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnSizeChange("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnVisibleAreaApproximateChangeImpl(Ark_UICommonEvent peer, + const Ark_VisibleAreaEventOptions* options, + const Opt_VisibleAreaChangeCallback* event) + { + if (!needGroupedLog(1)) + return; + string out("setOnVisibleAreaApproximateChange("); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, event); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // UICommonEventAccessor + namespace GestureModifierAccessor { + void DestroyPeerImpl(Ark_GestureModifier peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_GestureModifier CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_GestureModifier) 100; + string out("new GestureModifier("); + out.append(") \n"); + out.append("[return (Ark_GestureModifier) 100] \n"); + appendGroupedLog(1, out); + return (Ark_GestureModifier) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + void ApplyGestureImpl(Ark_GestureModifier peer, + const Ark_UIGestureEvent* event) + { + if (!needGroupedLog(1)) + return; + string out("applyGesture("); + WriteToString(&out, event); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // GestureModifierAccessor + namespace NavPathInfoAccessor { + void DestroyPeerImpl(Ark_NavPathInfo peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NavPathInfo CtorImpl(const Ark_String* name, + const Ark_Object* param, + const Opt_Callback_PopInfo_Void* onPop, + const Opt_Boolean* isEntry) + { + if (!needGroupedLog(1)) + return (Ark_NavPathInfo) 100; + string out("new NavPathInfo("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, onPop); + out.append(", "); + WriteToString(&out, isEntry); + out.append(") \n"); + out.append("[return (Ark_NavPathInfo) 100] \n"); + appendGroupedLog(1, out); + return (Ark_NavPathInfo) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_String GetNameImpl(Ark_NavPathInfo peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getName("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetNameImpl(Ark_NavPathInfo peer, + const Ark_String* name) + { + if (!needGroupedLog(1)) + return; + string out("setName("); + WriteToString(&out, name); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Object GetParamImpl(Ark_NavPathInfo peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getParam("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetParamImpl(Ark_NavPathInfo peer, + const Opt_Object* param) + { + if (!needGroupedLog(1)) + return; + string out("setParam("); + WriteToString(&out, param); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Callback_PopInfo_Void GetOnPopImpl(Ark_NavPathInfo peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getOnPop("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetOnPopImpl(Ark_NavPathInfo peer, + const Callback_PopInfo_Void* onPop) + { + if (!needGroupedLog(1)) + return; + string out("setOnPop("); + WriteToString(&out, onPop); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Boolean GetIsEntryImpl(Ark_NavPathInfo peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getIsEntry("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetIsEntryImpl(Ark_NavPathInfo peer, + Ark_Boolean isEntry) + { + if (!needGroupedLog(1)) + return; + string out("setIsEntry("); + WriteToString(&out, isEntry); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_String GetNavDestinationIdImpl(Ark_NavPathInfo peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getNavDestinationId("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetNavDestinationIdImpl(Ark_NavPathInfo peer, + const Ark_String* navDestinationId) + { + if (!needGroupedLog(1)) + return; + string out("setNavDestinationId("); + WriteToString(&out, navDestinationId); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // NavPathInfoAccessor + namespace NavPathStackAccessor { + void DestroyPeerImpl(Ark_NavPathStack peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NavPathStack CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_NavPathStack) 100; + string out("new NavPathStack("); + out.append(") \n"); + out.append("[return (Ark_NavPathStack) 100] \n"); + appendGroupedLog(1, out); + return (Ark_NavPathStack) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + void PushPath0Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated) + { + if (!needGroupedLog(1)) + return; + string out("pushPath("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, animated); + out.append(") \n"); + appendGroupedLog(1, out); + } + void PushPath1Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("pushPath("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + void PushDestination0Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + if (!needGroupedLog(1)) + return; + string out("pushDestination("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, animated); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); + out.append(") \n"); + appendGroupedLog(1, out); + } + void PushDestination1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + if (!needGroupedLog(1)) + return; + string out("pushDestination("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); + out.append(") \n"); + appendGroupedLog(1, out); + } + void PushPathByName0Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Object* param, + const Opt_Boolean* animated) + { + if (!needGroupedLog(1)) + return; + string out("pushPathByName("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, animated); + out.append(") \n"); + appendGroupedLog(1, out); + } + void PushPathByName1Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Callback_PopInfo_Void* onPop, + const Opt_Boolean* animated) + { + if (!needGroupedLog(1)) + return; + string out("pushPathByName("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, onPop); + out.append(", "); + WriteToString(&out, animated); + out.append(") \n"); + appendGroupedLog(1, out); + } + void PushDestinationByName0Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + if (!needGroupedLog(1)) + return; + string out("pushDestinationByName("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, animated); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); + out.append(") \n"); + appendGroupedLog(1, out); + } + void PushDestinationByName1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Callback_PopInfo_Void* onPop, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + if (!needGroupedLog(1)) + return; + string out("pushDestinationByName("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, onPop); + out.append(", "); + WriteToString(&out, animated); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ReplacePath0Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated) + { + if (!needGroupedLog(1)) + return; + string out("replacePath("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, animated); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ReplacePath1Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("replacePath("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + void ReplaceDestinationImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); + string out("replaceDestination("); + WriteToString(&out, info); + out.append(", "); + WriteToString(&out, options); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Measurable CtorImpl() + void ReplacePathByNameImpl(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) - return (Ark_Measurable) 100; - string out("new Measurable("); + return; + string out("replacePathByName("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, param); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return (Ark_Measurable) 100] \n"); appendGroupedLog(1, out); - return (Ark_Measurable) 100; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number RemoveByIndexesImpl(Ark_NavPathStack peer, + const Array_Number* indexes) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return {42}; + string out("removeByIndexes("); + WriteToString(&out, indexes); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - Ark_MeasureResult MeasureImpl(Ark_Measurable peer, - const Ark_ConstraintSizeOptions* constraint) + Ark_Number RemoveByNameImpl(Ark_NavPathStack peer, + const Ark_String* name) { if (!needGroupedLog(1)) - return {}; - string out("measure("); - WriteToString(&out, constraint); + return {42}; + string out("removeByName("); + WriteToString(&out, name); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return {}; + return {42}; } - Ark_DirectionalEdgesT GetMarginImpl(Ark_Measurable peer) + Ark_Boolean RemoveByNavDestinationIdImpl(Ark_NavPathStack peer, + const Ark_String* navDestinationId) { if (!needGroupedLog(1)) - return {}; - string out("getMargin("); + return 0; + string out("removeByNavDestinationId("); + WriteToString(&out, navDestinationId); out.append(") \n"); - out.append("[return {}] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return {}; + return 0; } - Ark_DirectionalEdgesT GetPaddingImpl(Ark_Measurable peer) + Opt_NavPathInfo Pop0Impl(Ark_NavPathStack peer, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) return {}; - string out("getPadding("); + string out("pop("); + WriteToString(&out, animated); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_DirectionalEdgesT GetBorderWidthImpl(Ark_Measurable peer) + Opt_NavPathInfo Pop1Impl(Ark_NavPathStack peer, + const Ark_Object* result, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) return {}; - string out("getBorderWidth("); + string out("pop("); + WriteToString(&out, result); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - } // MeasurableAccessor - namespace ViewAccessor { - void DestroyPeerImpl(Ark_View peer) + Ark_Number PopToName0Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) - return; - string out("destroyPeer("); + return {42}; + string out("popToName("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_View CtorImpl() + Ark_Number PopToName1Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* result, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) - return (Ark_View) 100; - string out("new View("); + return {42}; + string out("popToName("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, result); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return (Ark_View) 100] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return (Ark_View) 100; + return {42}; } - Ark_NativePointer GetFinalizerImpl() + void PopToIndex0Impl(Ark_NavPathStack peer, + const Ark_Number* index, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return; + string out("popToIndex("); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_NativePointer CreateImpl(Ark_View peer, - Ark_NativePointer value) + void PopToIndex1Impl(Ark_NavPathStack peer, + const Ark_Number* index, + const Ark_Object* result, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) - return nullptr; - string out("create("); - WriteToString(&out, value); + return; + string out("popToIndex("); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, result); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return nullptr] \n"); appendGroupedLog(1, out); - return nullptr; } - } // ViewAccessor - namespace TextContentControllerBaseAccessor { - void DestroyPeerImpl(Ark_TextContentControllerBase peer) + Ark_Number MoveToTopImpl(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) - return; - string out("destroyPeer("); + return {42}; + string out("moveToTop("); + WriteToString(&out, name); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); + return {42}; } - Ark_TextContentControllerBase CtorImpl() + void MoveIndexToTopImpl(Ark_NavPathStack peer, + const Ark_Number* index, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) - return (Ark_TextContentControllerBase) 100; - string out("new TextContentControllerBase("); + return; + string out("moveIndexToTop("); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return (Ark_TextContentControllerBase) 100] \n"); appendGroupedLog(1, out); - return (Ark_TextContentControllerBase) 100; } - Ark_NativePointer GetFinalizerImpl() + void ClearImpl(Ark_NavPathStack peer, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return; + string out("clear("); + WriteToString(&out, animated); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_CaretOffset GetCaretOffsetImpl(Ark_TextContentControllerBase peer) + Array_String GetAllPathNameImpl(Ark_NavPathStack peer) { if (!needGroupedLog(1)) return {}; - string out("getCaretOffset("); + string out("getAllPathName("); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_RectResult GetTextContentRectImpl(Ark_TextContentControllerBase peer) + Opt_Object GetParamByIndexImpl(Ark_NavPathStack peer, + const Ark_Number* index) { if (!needGroupedLog(1)) return {}; - string out("getTextContentRect("); + string out("getParamByIndex("); + WriteToString(&out, index); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - Ark_Number GetTextContentLineCountImpl(Ark_TextContentControllerBase peer) + Array_Opt_Object GetParamByNameImpl(Ark_NavPathStack peer, + const Ark_String* name) { if (!needGroupedLog(1)) - return {42}; - string out("getTextContentLineCount("); + return {}; + string out("getParamByName("); + WriteToString(&out, name); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - } // TextContentControllerBaseAccessor - namespace ChildrenMainSizeAccessor { - void DestroyPeerImpl(Ark_ChildrenMainSize peer) + Array_Number GetIndexByNameImpl(Ark_NavPathStack peer, + const Ark_String* name) { if (!needGroupedLog(1)) - return; - string out("destroyPeer("); + return {}; + string out("getIndexByName("); + WriteToString(&out, name); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - Ark_ChildrenMainSize CtorImpl(const Ark_Number* childDefaultSize) + Opt_NavPathStack GetParentImpl(Ark_NavPathStack peer) { if (!needGroupedLog(1)) - return (Ark_ChildrenMainSize) 100; - string out("new ChildrenMainSize("); - WriteToString(&out, childDefaultSize); + return {}; + string out("getParent("); out.append(") \n"); - out.append("[return (Ark_ChildrenMainSize) 100] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return (Ark_ChildrenMainSize) 100; + return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number SizeImpl(Ark_NavPathStack peer) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return {42}; + string out("size("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {42}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {42}; } - void SpliceImpl(Ark_VMContext vmContext, - Ark_ChildrenMainSize peer, - const Ark_Number* start, - const Opt_Number* deleteCount, - const Opt_Array_Number* childrenSize) + void DisableAnimationImpl(Ark_NavPathStack peer, + Ark_Boolean value) { if (!needGroupedLog(1)) return; - string out("splice("); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, deleteCount); - out.append(", "); - WriteToString(&out, childrenSize); + string out("disableAnimation("); + WriteToString(&out, value); out.append(") \n"); appendGroupedLog(1, out); } - void UpdateImpl(Ark_VMContext vmContext, - Ark_ChildrenMainSize peer, - const Ark_Number* index, - const Ark_Number* childSize) + void SetInterceptionImpl(Ark_NavPathStack peer, + const Ark_NavigationInterception* interception) { if (!needGroupedLog(1)) return; - string out("update("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, childSize); + string out("setInterception("); + WriteToString(&out, interception); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Number GetChildDefaultSizeImpl(Ark_ChildrenMainSize peer) + Array_NavPathInfo GetPathStackImpl(Ark_NavPathStack peer) { if (!needGroupedLog(1)) - return {42}; - string out("getChildDefaultSize("); + return {}; + string out("getPathStack("); out.append(") \n"); - out.append("[return {42}] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return {42}; + return {}; } - void SetChildDefaultSizeImpl(Ark_ChildrenMainSize peer, - const Ark_Number* childDefaultSize) + void SetPathStackImpl(Ark_NavPathStack peer, + const Array_NavPathInfo* pathStack, + const Opt_Boolean* animated) { if (!needGroupedLog(1)) return; - string out("setChildDefaultSize("); - WriteToString(&out, childDefaultSize); + string out("setPathStack("); + WriteToString(&out, pathStack); + out.append(", "); + WriteToString(&out, animated); out.append(") \n"); appendGroupedLog(1, out); } - } // ChildrenMainSizeAccessor - namespace UICommonEventAccessor { - void DestroyPeerImpl(Ark_UICommonEvent peer) + } // NavPathStackAccessor + namespace NavigationTransitionProxyAccessor { + void DestroyPeerImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) return; @@ -28083,15 +31818,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_UICommonEvent CtorImpl() + Ark_NavigationTransitionProxy CtorImpl() { if (!needGroupedLog(1)) - return (Ark_UICommonEvent) 100; - string out("new UICommonEvent("); + return (Ark_NavigationTransitionProxy) 100; + string out("new NavigationTransitionProxy("); out.append(") \n"); - out.append("[return (Ark_UICommonEvent) 100] \n"); + out.append("[return (Ark_NavigationTransitionProxy) 100] \n"); appendGroupedLog(1, out); - return (Ark_UICommonEvent) 100; + return (Ark_NavigationTransitionProxy) 100; } Ark_NativePointer GetFinalizerImpl() { @@ -28103,160 +31838,93 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void SetOnClickImpl(Ark_UICommonEvent peer, - const Opt_Callback_ClickEvent_Void* callback_) - { - if (!needGroupedLog(1)) - return; - string out("setOnClick("); - WriteToString(&out, callback_); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetOnTouchImpl(Ark_UICommonEvent peer, - const Opt_Callback_TouchEvent_Void* callback_) - { - if (!needGroupedLog(1)) - return; - string out("setOnTouch("); - WriteToString(&out, callback_); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetOnAppearImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) - { - if (!needGroupedLog(1)) - return; - string out("setOnAppear("); - WriteToString(&out, callback_); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetOnDisappearImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) - { - if (!needGroupedLog(1)) - return; - string out("setOnDisappear("); - WriteToString(&out, callback_); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetOnKeyEventImpl(Ark_UICommonEvent peer, - const Opt_Callback_KeyEvent_Void* callback_) - { - if (!needGroupedLog(1)) - return; - string out("setOnKeyEvent("); - WriteToString(&out, callback_); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetOnFocusImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) + void FinishTransitionImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) return; - string out("setOnFocus("); - WriteToString(&out, callback_); + string out("finishTransition("); out.append(") \n"); appendGroupedLog(1, out); } - void SetOnBlurImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) + void CancelTransitionImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) return; - string out("setOnBlur("); - WriteToString(&out, callback_); + string out("cancelTransition("); out.append(") \n"); appendGroupedLog(1, out); } - void SetOnHoverImpl(Ark_UICommonEvent peer, - const Opt_HoverCallback* callback_) + void UpdateTransitionImpl(Ark_NavigationTransitionProxy peer, + const Ark_Number* progress) { if (!needGroupedLog(1)) return; - string out("setOnHover("); - WriteToString(&out, callback_); + string out("updateTransition("); + WriteToString(&out, progress); out.append(") \n"); appendGroupedLog(1, out); } - void SetOnMouseImpl(Ark_UICommonEvent peer, - const Opt_Callback_MouseEvent_Void* callback_) + Ark_NavContentInfo GetFromImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) - return; - string out("setOnMouse("); - WriteToString(&out, callback_); + return {}; + string out("getFrom("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - void SetOnSizeChangeImpl(Ark_UICommonEvent peer, - const Opt_SizeChangeCallback* callback_) + void SetFromImpl(Ark_NavigationTransitionProxy peer, + const Ark_NavContentInfo* from) { if (!needGroupedLog(1)) return; - string out("setOnSizeChange("); - WriteToString(&out, callback_); + string out("setFrom("); + WriteToString(&out, from); out.append(") \n"); appendGroupedLog(1, out); } - void SetOnVisibleAreaApproximateChangeImpl(Ark_UICommonEvent peer, - const Ark_VisibleAreaEventOptions* options, - const Opt_VisibleAreaChangeCallback* event) + Ark_NavContentInfo GetToImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) - return; - string out("setOnVisibleAreaApproximateChange("); - WriteToString(&out, options); - out.append(", "); - WriteToString(&out, event); + return {}; + string out("getTo("); out.append(") \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); + return {}; } - } // UICommonEventAccessor - namespace GestureModifierAccessor { - void DestroyPeerImpl(Ark_GestureModifier peer) + void SetToImpl(Ark_NavigationTransitionProxy peer, + const Ark_NavContentInfo* to) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_GestureModifier CtorImpl() - { - if (!needGroupedLog(1)) - return (Ark_GestureModifier) 100; - string out("new GestureModifier("); + string out("setTo("); + WriteToString(&out, to); out.append(") \n"); - out.append("[return (Ark_GestureModifier) 100] \n"); appendGroupedLog(1, out); - return (Ark_GestureModifier) 100; } - Ark_NativePointer GetFinalizerImpl() + Opt_Boolean GetIsInteractiveImpl(Ark_NavigationTransitionProxy peer) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return {}; + string out("getIsInteractive("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return {}] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return {}; } - void ApplyGestureImpl(Ark_GestureModifier peer, - const Ark_UIGestureEvent* event) + void SetIsInteractiveImpl(Ark_NavigationTransitionProxy peer, + Ark_Boolean isInteractive) { if (!needGroupedLog(1)) return; - string out("applyGesture("); - WriteToString(&out, event); + string out("setIsInteractive("); + WriteToString(&out, isInteractive); out.append(") \n"); appendGroupedLog(1, out); } - } // GestureModifierAccessor + } // NavigationTransitionProxyAccessor namespace CanvasGradientAccessor { void DestroyPeerImpl(Ark_CanvasGradient peer) { @@ -29433,6 +33101,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + Ark_Union_LengthMetrics_String GetLetterSpacingImpl(Ark_CanvasRenderer peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getLetterSpacing("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetLetterSpacingImpl(Ark_CanvasRenderer peer, + const Ark_Union_LengthMetrics_String* letterSpacing) + { + if (!needGroupedLog(1)) + return; + string out("setLetterSpacing("); + WriteToString(&out, letterSpacing); + out.append(") \n"); + appendGroupedLog(1, out); + } Ark_Number GetGlobalAlphaImpl(Ark_CanvasRenderer peer) { if (!needGroupedLog(1)) @@ -31130,8 +34818,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return (Ark_LongPressGestureInterface) 300; } - Ark_LongPressGestureInterface OnActionCancelImpl(Ark_LongPressGestureInterface peer, - const Callback_Void* event) + Ark_LongPressGestureInterface OnActionCancel0Impl(Ark_LongPressGestureInterface peer, + const Callback_Void* event) + { + if (!needGroupedLog(1)) + return (Ark_LongPressGestureInterface) 300; + string out("onActionCancel("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return (Ark_LongPressGestureInterface) 300] \n"); + appendGroupedLog(1, out); + return (Ark_LongPressGestureInterface) 300; + } + Ark_LongPressGestureInterface OnActionCancel1Impl(Ark_LongPressGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) return (Ark_LongPressGestureInterface) 300; @@ -31213,6 +34913,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return {}; } + Ark_Number GetDistanceImpl(Ark_PanGestureOptions peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getDistance("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } } // PanGestureOptionsAccessor namespace PanGestureInterfaceAccessor { void DestroyPeerImpl(Ark_PanGestureInterface peer) @@ -31280,8 +34990,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return (Ark_PanGestureInterface) 300; } - Ark_PanGestureInterface OnActionCancelImpl(Ark_PanGestureInterface peer, - const Callback_Void* event) + Ark_PanGestureInterface OnActionCancel0Impl(Ark_PanGestureInterface peer, + const Callback_Void* event) + { + if (!needGroupedLog(1)) + return (Ark_PanGestureInterface) 300; + string out("onActionCancel("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return (Ark_PanGestureInterface) 300] \n"); + appendGroupedLog(1, out); + return (Ark_PanGestureInterface) 300; + } + Ark_PanGestureInterface OnActionCancel1Impl(Ark_PanGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) return (Ark_PanGestureInterface) 300; @@ -31402,8 +35124,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return (Ark_PinchGestureInterface) 300; } - Ark_PinchGestureInterface OnActionCancelImpl(Ark_PinchGestureInterface peer, - const Callback_Void* event) + Ark_PinchGestureInterface OnActionCancel0Impl(Ark_PinchGestureInterface peer, + const Callback_Void* event) + { + if (!needGroupedLog(1)) + return (Ark_PinchGestureInterface) 300; + string out("onActionCancel("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return (Ark_PinchGestureInterface) 300] \n"); + appendGroupedLog(1, out); + return (Ark_PinchGestureInterface) 300; + } + Ark_PinchGestureInterface OnActionCancel1Impl(Ark_PinchGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) return (Ark_PinchGestureInterface) 300; @@ -31481,8 +35215,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return (Ark_RotationGestureInterface) 300; } - Ark_RotationGestureInterface OnActionCancelImpl(Ark_RotationGestureInterface peer, - const Callback_Void* event) + Ark_RotationGestureInterface OnActionCancel0Impl(Ark_RotationGestureInterface peer, + const Callback_Void* event) + { + if (!needGroupedLog(1)) + return (Ark_RotationGestureInterface) 300; + string out("onActionCancel("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return (Ark_RotationGestureInterface) 300] \n"); + appendGroupedLog(1, out); + return (Ark_RotationGestureInterface) 300; + } + Ark_RotationGestureInterface OnActionCancel1Impl(Ark_RotationGestureInterface peer, + const Callback_GestureEvent_Void* event) { if (!needGroupedLog(1)) return (Ark_RotationGestureInterface) 300; @@ -31739,7 +35485,247 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return 0; } + Ark_Number GetFingerCountImpl(Ark_GestureRecognizer peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getFingerCount("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + Ark_Boolean IsFingerCountLimitImpl(Ark_GestureRecognizer peer) + { + if (!needGroupedLog(1)) + return 0; + string out("isFingerCountLimit("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } } // GestureRecognizerAccessor + namespace TapRecognizerAccessor { + void DestroyPeerImpl(Ark_TapRecognizer peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_TapRecognizer CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_TapRecognizer) 100; + string out("new TapRecognizer("); + out.append(") \n"); + out.append("[return (Ark_TapRecognizer) 100] \n"); + appendGroupedLog(1, out); + return (Ark_TapRecognizer) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_Number GetTapCountImpl(Ark_TapRecognizer peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getTapCount("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + } // TapRecognizerAccessor + namespace LongPressRecognizerAccessor { + void DestroyPeerImpl(Ark_LongPressRecognizer peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_LongPressRecognizer CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_LongPressRecognizer) 100; + string out("new LongPressRecognizer("); + out.append(") \n"); + out.append("[return (Ark_LongPressRecognizer) 100] \n"); + appendGroupedLog(1, out); + return (Ark_LongPressRecognizer) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_Boolean IsRepeatImpl(Ark_LongPressRecognizer peer) + { + if (!needGroupedLog(1)) + return 0; + string out("isRepeat("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_Number GetDurationImpl(Ark_LongPressRecognizer peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getDuration("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + } // LongPressRecognizerAccessor + namespace SwipeRecognizerAccessor { + void DestroyPeerImpl(Ark_SwipeRecognizer peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_SwipeRecognizer CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_SwipeRecognizer) 100; + string out("new SwipeRecognizer("); + out.append(") \n"); + out.append("[return (Ark_SwipeRecognizer) 100] \n"); + appendGroupedLog(1, out); + return (Ark_SwipeRecognizer) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_Number GetVelocityThresholdImpl(Ark_SwipeRecognizer peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getVelocityThreshold("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + Ark_SwipeDirection GetDirectionImpl(Ark_SwipeRecognizer peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getDirection("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + } // SwipeRecognizerAccessor + namespace PinchRecognizerAccessor { + void DestroyPeerImpl(Ark_PinchRecognizer peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_PinchRecognizer CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_PinchRecognizer) 100; + string out("new PinchRecognizer("); + out.append(") \n"); + out.append("[return (Ark_PinchRecognizer) 100] \n"); + appendGroupedLog(1, out); + return (Ark_PinchRecognizer) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_Number GetDistanceImpl(Ark_PinchRecognizer peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getDistance("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + } // PinchRecognizerAccessor + namespace RotationRecognizerAccessor { + void DestroyPeerImpl(Ark_RotationRecognizer peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_RotationRecognizer CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_RotationRecognizer) 100; + string out("new RotationRecognizer("); + out.append(") \n"); + out.append("[return (Ark_RotationRecognizer) 100] \n"); + appendGroupedLog(1, out); + return (Ark_RotationRecognizer) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + Ark_Number GetAngleImpl(Ark_RotationRecognizer peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("getAngle("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + } // RotationRecognizerAccessor namespace PanRecognizerAccessor { void DestroyPeerImpl(Ark_PanRecognizer peer) { @@ -32306,6 +36292,96 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // PatternLockControllerAccessor + namespace VirtualScrollOptionsAccessor { + void DestroyPeerImpl(Ark_VirtualScrollOptions peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_VirtualScrollOptions CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_VirtualScrollOptions) 100; + string out("new VirtualScrollOptions("); + out.append(") \n"); + out.append("[return (Ark_VirtualScrollOptions) 100] \n"); + appendGroupedLog(1, out); + return (Ark_VirtualScrollOptions) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + void OnLazyLoadingImpl(Ark_VirtualScrollOptions peer, + const Ark_Number* index) + { + if (!needGroupedLog(1)) + return; + string out("onLazyLoading("); + WriteToString(&out, index); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Number OnTotalCountImpl(Ark_VirtualScrollOptions peer) + { + if (!needGroupedLog(1)) + return {42}; + string out("onTotalCount("); + out.append(") \n"); + out.append("[return {42}] \n"); + appendGroupedLog(1, out); + return {42}; + } + Opt_Number GetTotalCountImpl(Ark_VirtualScrollOptions peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getTotalCount("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetTotalCountImpl(Ark_VirtualScrollOptions peer, + const Ark_Number* totalCount) + { + if (!needGroupedLog(1)) + return; + string out("setTotalCount("); + WriteToString(&out, totalCount); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Boolean GetReusableImpl(Ark_VirtualScrollOptions peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getReusable("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetReusableImpl(Ark_VirtualScrollOptions peer, + Ark_Boolean reusable) + { + if (!needGroupedLog(1)) + return; + string out("setReusable("); + WriteToString(&out, reusable); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // VirtualScrollOptionsAccessor namespace RichEditorBaseControllerAccessor { void DestroyPeerImpl(Ark_RichEditorBaseController peer) { @@ -32439,6 +36515,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return {}; } + Opt_RectResult GetCaretRectImpl(Ark_RichEditorBaseController peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getCaretRect("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } } // RichEditorBaseControllerAccessor namespace RichEditorControllerAccessor { void DestroyPeerImpl(Ark_RichEditorController peer) @@ -32803,8 +36889,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void ScrollByImpl(Ark_Scroller peer, - const Ark_Union_String_Number_Resource* dx, - const Ark_Union_String_Number_Resource* dy) + const Ark_Length* dx, + const Ark_Length* dy) { if (!needGroupedLog(1)) return; @@ -33147,9 +37233,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void ChangeIndexImpl(Ark_SwiperController peer, - const Ark_Number* index, - const Opt_Boolean* useAnimation) + void ChangeIndex0Impl(Ark_SwiperController peer, + const Ark_Number* index, + const Opt_Boolean* useAnimation) { if (!needGroupedLog(1)) return; @@ -33160,6 +37246,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void ChangeIndex1Impl(Ark_SwiperController peer, + const Ark_Number* index, + const Opt_Union_SwiperAnimationMode_Boolean* animationMode) + { + if (!needGroupedLog(1)) + return; + string out("changeIndex("); + WriteToString(&out, index); + out.append(", "); + WriteToString(&out, animationMode); + out.append(") \n"); + appendGroupedLog(1, out); + } void FinishAnimationImpl(Ark_SwiperController peer, const Opt_VoidCallback* callback_) { @@ -33170,6 +37269,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void PreloadItemsImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_SwiperController peer, + const Opt_Array_Number* indices, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + if (!needGroupedLog(1)) + return; + string out("preloadItems("); + WriteToString(&out, indices); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); + out.append(") \n"); + appendGroupedLog(1, out); + } } // SwiperControllerAccessor namespace SwiperContentTransitionProxyAccessor { void DestroyPeerImpl(Ark_SwiperContentTransitionProxy peer) @@ -34327,6 +38441,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return (Ark_TextMenuItemId) 300; } + Ark_TextMenuItemId GetTRANSLATEImpl() + { + if (!needGroupedLog(1)) + return (Ark_TextMenuItemId) 300; + string out("getTRANSLATE("); + out.append(") \n"); + out.append("[return (Ark_TextMenuItemId) 300] \n"); + appendGroupedLog(1, out); + return (Ark_TextMenuItemId) 300; + } + Ark_TextMenuItemId GetSEARCHImpl() + { + if (!needGroupedLog(1)) + return (Ark_TextMenuItemId) 300; + string out("getSEARCH("); + out.append(") \n"); + out.append("[return (Ark_TextMenuItemId) 300] \n"); + appendGroupedLog(1, out); + return (Ark_TextMenuItemId) 300; + } + Ark_TextMenuItemId GetSHAREImpl() + { + if (!needGroupedLog(1)) + return (Ark_TextMenuItemId) 300; + string out("getSHARE("); + out.append(") \n"); + out.append("[return (Ark_TextMenuItemId) 300] \n"); + appendGroupedLog(1, out); + return (Ark_TextMenuItemId) 300; + } } // TextMenuItemIdAccessor namespace SubmitEventAccessor { void DestroyPeerImpl(Ark_SubmitEvent peer) @@ -34845,6 +38989,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return 0; } + Array_String GetMimeTypesImpl(Ark_FileSelectorParam peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getMimeTypes("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } } // FileSelectorParamAccessor namespace JsResultAccessor { void DestroyPeerImpl(Ark_JsResult peer) @@ -36101,8 +40255,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void SetGestureEventResultImpl(Ark_EventResult peer, - Ark_Boolean result) + void SetGestureEventResult0Impl(Ark_EventResult peer, + Ark_Boolean result) { if (!needGroupedLog(1)) return; @@ -36111,6 +40265,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void SetGestureEventResult1Impl(Ark_EventResult peer, + Ark_Boolean result, + Ark_Boolean stopPropagation) + { + if (!needGroupedLog(1)) + return; + string out("setGestureEventResult("); + WriteToString(&out, result); + out.append(", "); + WriteToString(&out, stopPropagation); + out.append(") \n"); + appendGroupedLog(1, out); + } } // EventResultAccessor namespace WebControllerAccessor { void DestroyPeerImpl(Ark_WebController peer) @@ -36805,21 +40972,52 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return {}; } - Ark_Buffer MarshallingImpl(Ark_StyledString styledString) + Ark_Buffer Marshalling0Impl(Ark_StyledString styledString, + const StyledStringMarshallCallback* callback_) { if (!needGroupedLog(1)) return {}; string out("marshalling("); WriteToString(&out, styledString); + out.append(", "); + WriteToString(&out, callback_); out.append(") \n"); out.append("[return {}] \n"); appendGroupedLog(1, out); return {}; } - void UnmarshallingImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - const Ark_Buffer* buffer, - const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_Buffer Marshalling1Impl(Ark_StyledString styledString) + { + if (!needGroupedLog(1)) + return {}; + string out("marshalling("); + WriteToString(&out, styledString); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void Unmarshalling0Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Ark_Buffer* buffer, + const StyledStringUnmarshallCallback* callback_, + const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + if (!needGroupedLog(1)) + return; + string out("unmarshalling("); + WriteToString(&out, buffer); + out.append(", "); + WriteToString(&out, callback_); + out.append(", "); + WriteToString(&out, outputArgumentForReturningPromise); + out.append(") \n"); + appendGroupedLog(1, out); + } + void Unmarshalling1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Ark_Buffer* buffer, + const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) { if (!needGroupedLog(1)) return; @@ -37268,6 +41466,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return {}; } + Opt_Number GetParagraphSpacingImpl(Ark_ParagraphStyle peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getParagraphSpacing("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } } // ParagraphStyleAccessor namespace LineHeightStyleAccessor { void DestroyPeerImpl(Ark_LineHeightStyle peer) @@ -37608,6 +41816,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return {}; } + Opt_ColorFilterType GetColorFilterImpl(Ark_ImageAttachment peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getColorFilter("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } } // ImageAttachmentAccessor namespace CustomSpanAccessor { void DestroyPeerImpl(Ark_CustomSpan peer) @@ -38950,94 +43168,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &CalendarPickerDialogAccessorImpl; } - const GENERATED_ArkUINavPathInfoAccessor* GetNavPathInfoAccessor() - { - static const GENERATED_ArkUINavPathInfoAccessor NavPathInfoAccessorImpl { - NavPathInfoAccessor::DestroyPeerImpl, - NavPathInfoAccessor::CtorImpl, - NavPathInfoAccessor::GetFinalizerImpl, - NavPathInfoAccessor::GetNameImpl, - NavPathInfoAccessor::SetNameImpl, - NavPathInfoAccessor::GetParamImpl, - NavPathInfoAccessor::SetParamImpl, - NavPathInfoAccessor::GetOnPopImpl, - NavPathInfoAccessor::SetOnPopImpl, - NavPathInfoAccessor::GetIsEntryImpl, - NavPathInfoAccessor::SetIsEntryImpl, - }; - return &NavPathInfoAccessorImpl; - } - - struct NavPathInfoPeer { - virtual ~NavPathInfoPeer() = default; - }; - const GENERATED_ArkUINavPathStackAccessor* GetNavPathStackAccessor() - { - static const GENERATED_ArkUINavPathStackAccessor NavPathStackAccessorImpl { - NavPathStackAccessor::DestroyPeerImpl, - NavPathStackAccessor::CtorImpl, - NavPathStackAccessor::GetFinalizerImpl, - NavPathStackAccessor::PushPath0Impl, - NavPathStackAccessor::PushPath1Impl, - NavPathStackAccessor::PushDestination0Impl, - NavPathStackAccessor::PushDestination1Impl, - NavPathStackAccessor::PushPathByName0Impl, - NavPathStackAccessor::PushPathByName1Impl, - NavPathStackAccessor::PushDestinationByName0Impl, - NavPathStackAccessor::PushDestinationByName1Impl, - NavPathStackAccessor::ReplacePath0Impl, - NavPathStackAccessor::ReplacePath1Impl, - NavPathStackAccessor::ReplaceDestinationImpl, - NavPathStackAccessor::ReplacePathByNameImpl, - NavPathStackAccessor::RemoveByIndexesImpl, - NavPathStackAccessor::RemoveByNameImpl, - NavPathStackAccessor::RemoveByNavDestinationIdImpl, - NavPathStackAccessor::Pop0Impl, - NavPathStackAccessor::Pop1Impl, - NavPathStackAccessor::PopToName0Impl, - NavPathStackAccessor::PopToName1Impl, - NavPathStackAccessor::PopToIndex0Impl, - NavPathStackAccessor::PopToIndex1Impl, - NavPathStackAccessor::MoveToTopImpl, - NavPathStackAccessor::MoveIndexToTopImpl, - NavPathStackAccessor::ClearImpl, - NavPathStackAccessor::GetAllPathNameImpl, - NavPathStackAccessor::GetParamByIndexImpl, - NavPathStackAccessor::GetParamByNameImpl, - NavPathStackAccessor::GetIndexByNameImpl, - NavPathStackAccessor::GetParentImpl, - NavPathStackAccessor::SizeImpl, - NavPathStackAccessor::DisableAnimationImpl, - NavPathStackAccessor::SetInterceptionImpl, - }; - return &NavPathStackAccessorImpl; - } - - struct NavPathStackPeer { - virtual ~NavPathStackPeer() = default; - }; - const GENERATED_ArkUINavigationTransitionProxyAccessor* GetNavigationTransitionProxyAccessor() - { - static const GENERATED_ArkUINavigationTransitionProxyAccessor NavigationTransitionProxyAccessorImpl { - NavigationTransitionProxyAccessor::DestroyPeerImpl, - NavigationTransitionProxyAccessor::CtorImpl, - NavigationTransitionProxyAccessor::GetFinalizerImpl, - NavigationTransitionProxyAccessor::FinishTransitionImpl, - NavigationTransitionProxyAccessor::CancelTransitionImpl, - NavigationTransitionProxyAccessor::UpdateTransitionImpl, - NavigationTransitionProxyAccessor::GetFromImpl, - NavigationTransitionProxyAccessor::SetFromImpl, - NavigationTransitionProxyAccessor::GetToImpl, - NavigationTransitionProxyAccessor::SetToImpl, - NavigationTransitionProxyAccessor::GetIsInteractiveImpl, - NavigationTransitionProxyAccessor::SetIsInteractiveImpl, - }; - return &NavigationTransitionProxyAccessorImpl; - } - - struct NavigationTransitionProxyPeer { - virtual ~NavigationTransitionProxyPeer() = default; - }; const GENERATED_ArkUIICurveAccessor* GetICurveAccessor() { static const GENERATED_ArkUIICurveAccessor ICurveAccessorImpl { @@ -39117,10 +43247,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { BaseEventAccessor::SetTiltXImpl, BaseEventAccessor::GetTiltYImpl, BaseEventAccessor::SetTiltYImpl, + BaseEventAccessor::GetRollAngleImpl, + BaseEventAccessor::SetRollAngleImpl, BaseEventAccessor::GetSourceToolImpl, BaseEventAccessor::SetSourceToolImpl, BaseEventAccessor::GetDeviceIdImpl, BaseEventAccessor::SetDeviceIdImpl, + BaseEventAccessor::GetTargetDisplayIdImpl, + BaseEventAccessor::SetTargetDisplayIdImpl, }; return &BaseEventAccessorImpl; } @@ -39150,6 +43284,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { ClickEventAccessor::SetXImpl, ClickEventAccessor::GetYImpl, ClickEventAccessor::SetYImpl, + ClickEventAccessor::GetHandImpl, + ClickEventAccessor::SetHandImpl, ClickEventAccessor::GetPreventDefaultImpl, ClickEventAccessor::SetPreventDefaultImpl, }; @@ -39165,6 +43301,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { HoverEventAccessor::DestroyPeerImpl, HoverEventAccessor::CtorImpl, HoverEventAccessor::GetFinalizerImpl, + HoverEventAccessor::GetXImpl, + HoverEventAccessor::SetXImpl, + HoverEventAccessor::GetYImpl, + HoverEventAccessor::SetYImpl, + HoverEventAccessor::GetWindowXImpl, + HoverEventAccessor::SetWindowXImpl, + HoverEventAccessor::GetWindowYImpl, + HoverEventAccessor::SetWindowYImpl, + HoverEventAccessor::GetDisplayXImpl, + HoverEventAccessor::SetDisplayXImpl, + HoverEventAccessor::GetDisplayYImpl, + HoverEventAccessor::SetDisplayYImpl, HoverEventAccessor::GetStopPropagationImpl, HoverEventAccessor::SetStopPropagationImpl, }; @@ -39202,6 +43350,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { MouseEventAccessor::SetYImpl, MouseEventAccessor::GetStopPropagationImpl, MouseEventAccessor::SetStopPropagationImpl, + MouseEventAccessor::GetRawDeltaXImpl, + MouseEventAccessor::SetRawDeltaXImpl, + MouseEventAccessor::GetRawDeltaYImpl, + MouseEventAccessor::SetRawDeltaYImpl, + MouseEventAccessor::GetPressedButtonsImpl, + MouseEventAccessor::SetPressedButtonsImpl, }; return &MouseEventAccessorImpl; } @@ -39260,6 +43414,39 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct TouchEventPeer { virtual ~TouchEventPeer() = default; }; + const GENERATED_ArkUIAxisEventAccessor* GetAxisEventAccessor() + { + static const GENERATED_ArkUIAxisEventAccessor AxisEventAccessorImpl { + AxisEventAccessor::DestroyPeerImpl, + AxisEventAccessor::CtorImpl, + AxisEventAccessor::GetFinalizerImpl, + AxisEventAccessor::GetHorizontalAxisValueImpl, + AxisEventAccessor::GetVerticalAxisValueImpl, + AxisEventAccessor::GetActionImpl, + AxisEventAccessor::SetActionImpl, + AxisEventAccessor::GetDisplayXImpl, + AxisEventAccessor::SetDisplayXImpl, + AxisEventAccessor::GetDisplayYImpl, + AxisEventAccessor::SetDisplayYImpl, + AxisEventAccessor::GetWindowXImpl, + AxisEventAccessor::SetWindowXImpl, + AxisEventAccessor::GetWindowYImpl, + AxisEventAccessor::SetWindowYImpl, + AxisEventAccessor::GetXImpl, + AxisEventAccessor::SetXImpl, + AxisEventAccessor::GetYImpl, + AxisEventAccessor::SetYImpl, + AxisEventAccessor::GetScrollStepImpl, + AxisEventAccessor::SetScrollStepImpl, + AxisEventAccessor::GetPropagationImpl, + AxisEventAccessor::SetPropagationImpl, + }; + return &AxisEventAccessorImpl; + } + + struct AxisEventPeer { + virtual ~AxisEventPeer() = default; + }; const GENERATED_ArkUIPixelMapMockAccessor* GetPixelMapMockAccessor() { static const GENERATED_ArkUIPixelMapMockAccessor PixelMapMockAccessorImpl { @@ -39296,6 +43483,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { DragEventAccessor::GetVelocityYImpl, DragEventAccessor::GetVelocityImpl, DragEventAccessor::GetModifierKeyStateImpl, + DragEventAccessor::ExecuteDropAnimationImpl, + DragEventAccessor::StartDataLoadingImpl, DragEventAccessor::GetDragBehaviorImpl, DragEventAccessor::SetDragBehaviorImpl, DragEventAccessor::GetUseCustomDropAnimationImpl, @@ -39341,6 +43530,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct KeyEventPeer { virtual ~KeyEventPeer() = default; }; + const GENERATED_ArkUIFocusAxisEventAccessor* GetFocusAxisEventAccessor() + { + static const GENERATED_ArkUIFocusAxisEventAccessor FocusAxisEventAccessorImpl { + FocusAxisEventAccessor::DestroyPeerImpl, + FocusAxisEventAccessor::CtorImpl, + FocusAxisEventAccessor::GetFinalizerImpl, + FocusAxisEventAccessor::GetAxisMapImpl, + FocusAxisEventAccessor::SetAxisMapImpl, + FocusAxisEventAccessor::GetStopPropagationImpl, + FocusAxisEventAccessor::SetStopPropagationImpl, + }; + return &FocusAxisEventAccessorImpl; + } + + struct FocusAxisEventPeer { + virtual ~FocusAxisEventPeer() = default; + }; const GENERATED_ArkUIProgressMaskAccessor* GetProgressMaskAccessor() { static const GENERATED_ArkUIProgressMaskAccessor ProgressMaskAccessorImpl { @@ -39367,6 +43573,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { MeasurableAccessor::GetMarginImpl, MeasurableAccessor::GetPaddingImpl, MeasurableAccessor::GetBorderWidthImpl, + MeasurableAccessor::GetUniqueIdImpl, + MeasurableAccessor::SetUniqueIdImpl, }; return &MeasurableAccessorImpl; } @@ -39397,6 +43605,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextContentControllerBaseAccessor::GetCaretOffsetImpl, TextContentControllerBaseAccessor::GetTextContentRectImpl, TextContentControllerBaseAccessor::GetTextContentLineCountImpl, + TextContentControllerBaseAccessor::AddTextImpl, + TextContentControllerBaseAccessor::DeleteTextImpl, + TextContentControllerBaseAccessor::GetSelectionImpl, + TextContentControllerBaseAccessor::ClearPreviewTextImpl, + TextContentControllerBaseAccessor::GetTextImpl, }; return &TextContentControllerBaseAccessorImpl; } @@ -39459,6 +43672,98 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct GestureModifierPeer { virtual ~GestureModifierPeer() = default; }; + const GENERATED_ArkUINavPathInfoAccessor* GetNavPathInfoAccessor() + { + static const GENERATED_ArkUINavPathInfoAccessor NavPathInfoAccessorImpl { + NavPathInfoAccessor::DestroyPeerImpl, + NavPathInfoAccessor::CtorImpl, + NavPathInfoAccessor::GetFinalizerImpl, + NavPathInfoAccessor::GetNameImpl, + NavPathInfoAccessor::SetNameImpl, + NavPathInfoAccessor::GetParamImpl, + NavPathInfoAccessor::SetParamImpl, + NavPathInfoAccessor::GetOnPopImpl, + NavPathInfoAccessor::SetOnPopImpl, + NavPathInfoAccessor::GetIsEntryImpl, + NavPathInfoAccessor::SetIsEntryImpl, + NavPathInfoAccessor::GetNavDestinationIdImpl, + NavPathInfoAccessor::SetNavDestinationIdImpl, + }; + return &NavPathInfoAccessorImpl; + } + + struct NavPathInfoPeer { + virtual ~NavPathInfoPeer() = default; + }; + const GENERATED_ArkUINavPathStackAccessor* GetNavPathStackAccessor() + { + static const GENERATED_ArkUINavPathStackAccessor NavPathStackAccessorImpl { + NavPathStackAccessor::DestroyPeerImpl, + NavPathStackAccessor::CtorImpl, + NavPathStackAccessor::GetFinalizerImpl, + NavPathStackAccessor::PushPath0Impl, + NavPathStackAccessor::PushPath1Impl, + NavPathStackAccessor::PushDestination0Impl, + NavPathStackAccessor::PushDestination1Impl, + NavPathStackAccessor::PushPathByName0Impl, + NavPathStackAccessor::PushPathByName1Impl, + NavPathStackAccessor::PushDestinationByName0Impl, + NavPathStackAccessor::PushDestinationByName1Impl, + NavPathStackAccessor::ReplacePath0Impl, + NavPathStackAccessor::ReplacePath1Impl, + NavPathStackAccessor::ReplaceDestinationImpl, + NavPathStackAccessor::ReplacePathByNameImpl, + NavPathStackAccessor::RemoveByIndexesImpl, + NavPathStackAccessor::RemoveByNameImpl, + NavPathStackAccessor::RemoveByNavDestinationIdImpl, + NavPathStackAccessor::Pop0Impl, + NavPathStackAccessor::Pop1Impl, + NavPathStackAccessor::PopToName0Impl, + NavPathStackAccessor::PopToName1Impl, + NavPathStackAccessor::PopToIndex0Impl, + NavPathStackAccessor::PopToIndex1Impl, + NavPathStackAccessor::MoveToTopImpl, + NavPathStackAccessor::MoveIndexToTopImpl, + NavPathStackAccessor::ClearImpl, + NavPathStackAccessor::GetAllPathNameImpl, + NavPathStackAccessor::GetParamByIndexImpl, + NavPathStackAccessor::GetParamByNameImpl, + NavPathStackAccessor::GetIndexByNameImpl, + NavPathStackAccessor::GetParentImpl, + NavPathStackAccessor::SizeImpl, + NavPathStackAccessor::DisableAnimationImpl, + NavPathStackAccessor::SetInterceptionImpl, + NavPathStackAccessor::GetPathStackImpl, + NavPathStackAccessor::SetPathStackImpl, + }; + return &NavPathStackAccessorImpl; + } + + struct NavPathStackPeer { + virtual ~NavPathStackPeer() = default; + }; + const GENERATED_ArkUINavigationTransitionProxyAccessor* GetNavigationTransitionProxyAccessor() + { + static const GENERATED_ArkUINavigationTransitionProxyAccessor NavigationTransitionProxyAccessorImpl { + NavigationTransitionProxyAccessor::DestroyPeerImpl, + NavigationTransitionProxyAccessor::CtorImpl, + NavigationTransitionProxyAccessor::GetFinalizerImpl, + NavigationTransitionProxyAccessor::FinishTransitionImpl, + NavigationTransitionProxyAccessor::CancelTransitionImpl, + NavigationTransitionProxyAccessor::UpdateTransitionImpl, + NavigationTransitionProxyAccessor::GetFromImpl, + NavigationTransitionProxyAccessor::SetFromImpl, + NavigationTransitionProxyAccessor::GetToImpl, + NavigationTransitionProxyAccessor::SetToImpl, + NavigationTransitionProxyAccessor::GetIsInteractiveImpl, + NavigationTransitionProxyAccessor::SetIsInteractiveImpl, + }; + return &NavigationTransitionProxyAccessorImpl; + } + + struct NavigationTransitionProxyPeer { + virtual ~NavigationTransitionProxyPeer() = default; + }; const GENERATED_ArkUICanvasGradientAccessor* GetCanvasGradientAccessor() { static const GENERATED_ArkUICanvasGradientAccessor CanvasGradientAccessorImpl { @@ -39619,6 +43924,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasRendererAccessor::SaveLayerImpl, CanvasRendererAccessor::RestoreLayerImpl, CanvasRendererAccessor::ResetImpl, + CanvasRendererAccessor::GetLetterSpacingImpl, + CanvasRendererAccessor::SetLetterSpacingImpl, CanvasRendererAccessor::GetGlobalAlphaImpl, CanvasRendererAccessor::SetGlobalAlphaImpl, CanvasRendererAccessor::GetGlobalCompositeOperationImpl, @@ -39959,7 +44266,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { LongPressGestureInterfaceAccessor::GetFinalizerImpl, LongPressGestureInterfaceAccessor::OnActionImpl, LongPressGestureInterfaceAccessor::OnActionEndImpl, - LongPressGestureInterfaceAccessor::OnActionCancelImpl, + LongPressGestureInterfaceAccessor::OnActionCancel0Impl, + LongPressGestureInterfaceAccessor::OnActionCancel1Impl, }; return &LongPressGestureInterfaceAccessorImpl; } @@ -39977,6 +44285,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PanGestureOptionsAccessor::SetDistanceImpl, PanGestureOptionsAccessor::SetFingersImpl, PanGestureOptionsAccessor::GetDirectionImpl, + PanGestureOptionsAccessor::GetDistanceImpl, }; return &PanGestureOptionsAccessorImpl; } @@ -39993,7 +44302,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { PanGestureInterfaceAccessor::OnActionStartImpl, PanGestureInterfaceAccessor::OnActionUpdateImpl, PanGestureInterfaceAccessor::OnActionEndImpl, - PanGestureInterfaceAccessor::OnActionCancelImpl, + PanGestureInterfaceAccessor::OnActionCancel0Impl, + PanGestureInterfaceAccessor::OnActionCancel1Impl, }; return &PanGestureInterfaceAccessorImpl; } @@ -40024,7 +44334,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { PinchGestureInterfaceAccessor::OnActionStartImpl, PinchGestureInterfaceAccessor::OnActionUpdateImpl, PinchGestureInterfaceAccessor::OnActionEndImpl, - PinchGestureInterfaceAccessor::OnActionCancelImpl, + PinchGestureInterfaceAccessor::OnActionCancel0Impl, + PinchGestureInterfaceAccessor::OnActionCancel1Impl, }; return &PinchGestureInterfaceAccessorImpl; } @@ -40041,7 +44352,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { RotationGestureInterfaceAccessor::OnActionStartImpl, RotationGestureInterfaceAccessor::OnActionUpdateImpl, RotationGestureInterfaceAccessor::OnActionEndImpl, - RotationGestureInterfaceAccessor::OnActionCancelImpl, + RotationGestureInterfaceAccessor::OnActionCancel0Impl, + RotationGestureInterfaceAccessor::OnActionCancel1Impl, }; return &RotationGestureInterfaceAccessorImpl; } @@ -40106,6 +44418,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { GestureRecognizerAccessor::GetStateImpl, GestureRecognizerAccessor::GetEventTargetInfoImpl, GestureRecognizerAccessor::IsValidImpl, + GestureRecognizerAccessor::GetFingerCountImpl, + GestureRecognizerAccessor::IsFingerCountLimitImpl, }; return &GestureRecognizerAccessorImpl; } @@ -40113,6 +44427,78 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct GestureRecognizerPeer { virtual ~GestureRecognizerPeer() = default; }; + const GENERATED_ArkUITapRecognizerAccessor* GetTapRecognizerAccessor() + { + static const GENERATED_ArkUITapRecognizerAccessor TapRecognizerAccessorImpl { + TapRecognizerAccessor::DestroyPeerImpl, + TapRecognizerAccessor::CtorImpl, + TapRecognizerAccessor::GetFinalizerImpl, + TapRecognizerAccessor::GetTapCountImpl, + }; + return &TapRecognizerAccessorImpl; + } + + struct TapRecognizerPeer { + virtual ~TapRecognizerPeer() = default; + }; + const GENERATED_ArkUILongPressRecognizerAccessor* GetLongPressRecognizerAccessor() + { + static const GENERATED_ArkUILongPressRecognizerAccessor LongPressRecognizerAccessorImpl { + LongPressRecognizerAccessor::DestroyPeerImpl, + LongPressRecognizerAccessor::CtorImpl, + LongPressRecognizerAccessor::GetFinalizerImpl, + LongPressRecognizerAccessor::IsRepeatImpl, + LongPressRecognizerAccessor::GetDurationImpl, + }; + return &LongPressRecognizerAccessorImpl; + } + + struct LongPressRecognizerPeer { + virtual ~LongPressRecognizerPeer() = default; + }; + const GENERATED_ArkUISwipeRecognizerAccessor* GetSwipeRecognizerAccessor() + { + static const GENERATED_ArkUISwipeRecognizerAccessor SwipeRecognizerAccessorImpl { + SwipeRecognizerAccessor::DestroyPeerImpl, + SwipeRecognizerAccessor::CtorImpl, + SwipeRecognizerAccessor::GetFinalizerImpl, + SwipeRecognizerAccessor::GetVelocityThresholdImpl, + SwipeRecognizerAccessor::GetDirectionImpl, + }; + return &SwipeRecognizerAccessorImpl; + } + + struct SwipeRecognizerPeer { + virtual ~SwipeRecognizerPeer() = default; + }; + const GENERATED_ArkUIPinchRecognizerAccessor* GetPinchRecognizerAccessor() + { + static const GENERATED_ArkUIPinchRecognizerAccessor PinchRecognizerAccessorImpl { + PinchRecognizerAccessor::DestroyPeerImpl, + PinchRecognizerAccessor::CtorImpl, + PinchRecognizerAccessor::GetFinalizerImpl, + PinchRecognizerAccessor::GetDistanceImpl, + }; + return &PinchRecognizerAccessorImpl; + } + + struct PinchRecognizerPeer { + virtual ~PinchRecognizerPeer() = default; + }; + const GENERATED_ArkUIRotationRecognizerAccessor* GetRotationRecognizerAccessor() + { + static const GENERATED_ArkUIRotationRecognizerAccessor RotationRecognizerAccessorImpl { + RotationRecognizerAccessor::DestroyPeerImpl, + RotationRecognizerAccessor::CtorImpl, + RotationRecognizerAccessor::GetFinalizerImpl, + RotationRecognizerAccessor::GetAngleImpl, + }; + return &RotationRecognizerAccessorImpl; + } + + struct RotationRecognizerPeer { + virtual ~RotationRecognizerPeer() = default; + }; const GENERATED_ArkUIPanRecognizerAccessor* GetPanRecognizerAccessor() { static const GENERATED_ArkUIPanRecognizerAccessor PanRecognizerAccessorImpl { @@ -40225,6 +44611,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct PatternLockControllerPeer { virtual ~PatternLockControllerPeer() = default; }; + const GENERATED_ArkUIVirtualScrollOptionsAccessor* GetVirtualScrollOptionsAccessor() + { + static const GENERATED_ArkUIVirtualScrollOptionsAccessor VirtualScrollOptionsAccessorImpl { + VirtualScrollOptionsAccessor::DestroyPeerImpl, + VirtualScrollOptionsAccessor::CtorImpl, + VirtualScrollOptionsAccessor::GetFinalizerImpl, + VirtualScrollOptionsAccessor::OnLazyLoadingImpl, + VirtualScrollOptionsAccessor::OnTotalCountImpl, + VirtualScrollOptionsAccessor::GetTotalCountImpl, + VirtualScrollOptionsAccessor::SetTotalCountImpl, + VirtualScrollOptionsAccessor::GetReusableImpl, + VirtualScrollOptionsAccessor::SetReusableImpl, + }; + return &VirtualScrollOptionsAccessorImpl; + } + + struct VirtualScrollOptionsPeer { + virtual ~VirtualScrollOptionsPeer() = default; + }; const GENERATED_ArkUIRichEditorBaseControllerAccessor* GetRichEditorBaseControllerAccessor() { static const GENERATED_ArkUIRichEditorBaseControllerAccessor RichEditorBaseControllerAccessorImpl { @@ -40241,6 +44646,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RichEditorBaseControllerAccessor::StopEditingImpl, RichEditorBaseControllerAccessor::GetLayoutManagerImpl, RichEditorBaseControllerAccessor::GetPreviewTextImpl, + RichEditorBaseControllerAccessor::GetCaretRectImpl, }; return &RichEditorBaseControllerAccessorImpl; } @@ -40366,8 +44772,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwiperControllerAccessor::GetFinalizerImpl, SwiperControllerAccessor::ShowNextImpl, SwiperControllerAccessor::ShowPreviousImpl, - SwiperControllerAccessor::ChangeIndexImpl, + SwiperControllerAccessor::ChangeIndex0Impl, + SwiperControllerAccessor::ChangeIndex1Impl, SwiperControllerAccessor::FinishAnimationImpl, + SwiperControllerAccessor::PreloadItemsImpl, }; return &SwiperControllerAccessorImpl; } @@ -40651,6 +45059,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextMenuItemIdAccessor::GetCOLLABORATION_SERVICEImpl, TextMenuItemIdAccessor::GetCAMERA_INPUTImpl, TextMenuItemIdAccessor::GetAI_WRITERImpl, + TextMenuItemIdAccessor::GetTRANSLATEImpl, + TextMenuItemIdAccessor::GetSEARCHImpl, + TextMenuItemIdAccessor::GetSHAREImpl, }; return &TextMenuItemIdAccessorImpl; } @@ -40798,6 +45209,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { FileSelectorParamAccessor::GetModeImpl, FileSelectorParamAccessor::GetAcceptTypeImpl, FileSelectorParamAccessor::IsCaptureImpl, + FileSelectorParamAccessor::GetMimeTypesImpl, }; return &FileSelectorParamAccessorImpl; } @@ -41105,7 +45517,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { EventResultAccessor::DestroyPeerImpl, EventResultAccessor::CtorImpl, EventResultAccessor::GetFinalizerImpl, - EventResultAccessor::SetGestureEventResultImpl, + EventResultAccessor::SetGestureEventResult0Impl, + EventResultAccessor::SetGestureEventResult1Impl, }; return &EventResultAccessorImpl; } @@ -41222,8 +45635,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { StyledStringAccessor::SubStyledStringImpl, StyledStringAccessor::FromHtmlImpl, StyledStringAccessor::ToHtmlImpl, - StyledStringAccessor::MarshallingImpl, - StyledStringAccessor::UnmarshallingImpl, + StyledStringAccessor::Marshalling0Impl, + StyledStringAccessor::Marshalling1Impl, + StyledStringAccessor::Unmarshalling0Impl, + StyledStringAccessor::Unmarshalling1Impl, StyledStringAccessor::GetLengthImpl, }; return &StyledStringAccessorImpl; @@ -41347,6 +45762,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ParagraphStyleAccessor::GetOverflowImpl, ParagraphStyleAccessor::GetWordBreakImpl, ParagraphStyleAccessor::GetLeadingMarginImpl, + ParagraphStyleAccessor::GetParagraphSpacingImpl, }; return &ParagraphStyleAccessorImpl; } @@ -41417,6 +45833,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageAttachmentAccessor::GetVerticalAlignImpl, ImageAttachmentAccessor::GetObjectFitImpl, ImageAttachmentAccessor::GetLayoutStyleImpl, + ImageAttachmentAccessor::GetColorFilterImpl, }; return &ImageAttachmentAccessorImpl; } @@ -41550,9 +45967,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetScrollMotionAccessor, GetCalendarControllerAccessor, GetCalendarPickerDialogAccessor, - GetNavPathInfoAccessor, - GetNavPathStackAccessor, - GetNavigationTransitionProxyAccessor, GetICurveAccessor, GetDrawModifierAccessor, GetTransitionEffectAccessor, @@ -41562,9 +45976,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetMouseEventAccessor, GetAccessibilityHoverEventAccessor, GetTouchEventAccessor, + GetAxisEventAccessor, GetPixelMapMockAccessor, GetDragEventAccessor, GetKeyEventAccessor, + GetFocusAxisEventAccessor, GetProgressMaskAccessor, GetMeasurableAccessor, GetViewAccessor, @@ -41572,6 +45988,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetChildrenMainSizeAccessor, GetUICommonEventAccessor, GetGestureModifierAccessor, + GetNavPathInfoAccessor, + GetNavPathStackAccessor, + GetNavigationTransitionProxyAccessor, GetCanvasGradientAccessor, GetCanvasPathAccessor, GetPath2DAccessor, @@ -41607,12 +46026,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetScrollableTargetInfoAccessor, GetEventTargetInfoAccessor, GetGestureRecognizerAccessor, + GetTapRecognizerAccessor, + GetLongPressRecognizerAccessor, + GetSwipeRecognizerAccessor, + GetPinchRecognizerAccessor, + GetRotationRecognizerAccessor, GetPanRecognizerAccessor, GetImageAnalyzerControllerAccessor, GetListScrollerAccessor, GetMatrix2DAccessor, GetNavDestinationContextAccessor, GetPatternLockControllerAccessor, + GetVirtualScrollOptionsAccessor, GetRichEditorBaseControllerAccessor, GetRichEditorControllerAccessor, GetRichEditorStyledStringControllerAccessor, diff --git a/arkoala-arkts/framework/native/src/generated/real_impl.cc b/arkoala-arkts/framework/native/src/generated/real_impl.cc index 662cae7b74..ec5d25757b 100644 --- a/arkoala-arkts/framework/native/src/generated/real_impl.cc +++ b/arkoala-arkts/framework/native/src/generated/real_impl.cc @@ -1097,7 +1097,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } void AlignStyleImpl(Ark_NativePointer node, Ark_IndexerAlign value, - const Opt_Union_String_Number_Resource* offset) + const Opt_Length* offset) { } void _onChangeEvent_selectedImpl(Ark_NativePointer node, @@ -1259,7 +1259,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void FontWeightImpl(Ark_NativePointer node, @@ -1282,6 +1282,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_LabelStyle* value) { } + void MinFontScaleImpl(Ark_NativePointer node, + const Ark_Union_Number_Resource* value) + { + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Ark_Union_Number_Resource* value) + { + } } // ButtonAttributeModifier namespace CalendarModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -1364,163 +1372,57 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // CalendarPickerInterfaceModifier namespace CalendarPickerAttributeModifier { - void TextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) - { - } - void OnChangeImpl(Ark_NativePointer node, - const Callback_Date_Void* value) - { - } - void EdgeAlignImpl(Ark_NativePointer node, - Ark_CalendarAlign alignType, - const Opt_Offset* offset) - { - } - } // CalendarPickerAttributeModifier - namespace NavigationModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) - { - return {}; - } - } // NavigationModifier - namespace NavigationInterfaceModifier { - void SetNavigationOptions0Impl(Ark_NativePointer node) - { - } - void SetNavigationOptions1Impl(Ark_NativePointer node, - Ark_NavPathStack pathInfos) - { - } - } // NavigationInterfaceModifier - namespace NavigationAttributeModifier { - void NavBarWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) - { - } - void NavBarPositionImpl(Ark_NativePointer node, - Ark_NavBarPosition value) - { - } - void NavBarWidthRangeImpl(Ark_NativePointer node, - const Ark_Tuple_Dimension_Dimension* value) - { - } - void MinContentWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) - { - } - void ModeImpl(Ark_NativePointer node, - Ark_NavigationMode value) - { - } - void BackButtonIconImpl(Ark_NativePointer node, - const Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier* value) - { - } - void HideNavBarImpl(Ark_NativePointer node, - Ark_Boolean value) - { - } - void SubTitleImpl(Ark_NativePointer node, - const Ark_String* value) - { - } - void HideTitleBar0Impl(Ark_NativePointer node, - Ark_Boolean value) - { - } - void HideTitleBar1Impl(Ark_NativePointer node, - Ark_Boolean hide, - Ark_Boolean animated) - { - } - void HideBackButtonImpl(Ark_NativePointer node, - Ark_Boolean value) - { - } - void TitleModeImpl(Ark_NativePointer node, - Ark_NavigationTitleMode value) - { - } - void MenusImpl(Ark_NativePointer node, - const Ark_Union_Array_NavigationMenuItem_CustomBuilder* value) - { - } - void ToolBarImpl(Ark_NativePointer node, - const CustomNodeBuilder* value) - { - } - void HideToolBar0Impl(Ark_NativePointer node, - Ark_Boolean value) - { - } - void HideToolBar1Impl(Ark_NativePointer node, - Ark_Boolean hide, - Ark_Boolean animated) - { - } - void OnTitleModeChangeImpl(Ark_NativePointer node, - const Callback_NavigationTitleMode_Void* value) - { - } - void OnNavBarStateChangeImpl(Ark_NativePointer node, - const Callback_Boolean_Void* value) - { - } - void OnNavigationModeChangeImpl(Ark_NativePointer node, - const Callback_NavigationMode_Void* value) - { - } - void NavDestinationImpl(Ark_NativePointer node, - const Callback_String_Unknown_Void* value) - { - } - void CustomNavContentTransitionImpl(Ark_NativePointer node, - const Type_NavigationAttribute_customNavContentTransition_delegate* value) + void TextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) { } - void SystemBarStyleImpl(Ark_NativePointer node, - const Opt_SystemBarStyle* value) + void TextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { } - void RecoverableImpl(Ark_NativePointer node, - const Opt_Boolean* value) + void OnChange0Impl(Ark_NativePointer node, + const Callback_Date_Void* value) { } - void EnableDragBarImpl(Ark_NativePointer node, - const Opt_Boolean* value) + void OnChange1Impl(Ark_NativePointer node, + const Opt_Callback_Date_Void* value) { } - void TitleImpl(Ark_NativePointer node, - const Ark_Type_NavigationAttribute_title_value* value, - const Opt_NavigationTitleOptions* options) + void MarkTodayImpl(Ark_NativePointer node, + Ark_Boolean value) { } - void ToolbarConfigurationImpl(Ark_NativePointer node, - const Ark_Union_Array_ToolbarItem_CustomBuilder* value, - const Opt_NavigationToolbarOptions* options) + void EdgeAlign0Impl(Ark_NativePointer node, + Ark_CalendarAlign alignType, + const Opt_Offset* offset) { } - void IgnoreLayoutSafeAreaImpl(Ark_NativePointer node, - const Opt_Array_LayoutSafeAreaType* types, - const Opt_Array_LayoutSafeAreaEdge* edges) + void EdgeAlign1Impl(Ark_NativePointer node, + const Opt_CalendarAlign* alignType, + const Opt_Offset* offset) { } - } // NavigationAttributeModifier + } // CalendarPickerAttributeModifier namespace CommonMethodModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) { return {}; } - void WidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + void Width0Impl(Ark_NativePointer node, + const Ark_Length* value) { } - void HeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + void Width1Impl(Ark_NativePointer node, + const Ark_Union_Length_LayoutPolicy* value) + { + } + void Height0Impl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void Height1Impl(Ark_NativePointer node, + const Ark_Union_Length_LayoutPolicy* value) { } void DrawModifierImpl(Ark_NativePointer node, @@ -1575,8 +1477,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Union_Margin_Length_LocalizedMargin* value) { } - void BackgroundColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void BackgroundColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + } + void BackgroundColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) { } void PixelRoundImpl(Ark_NativePointer node, @@ -1591,8 +1497,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Union_Position_Alignment* value) { } - void BackgroundEffectImpl(Ark_NativePointer node, - const Ark_BackgroundEffectOptions* value) + void BackgroundEffect0Impl(Ark_NativePointer node, + const Ark_BackgroundEffectOptions* value) + { + } + void BackgroundEffect1Impl(Ark_NativePointer node, + const Opt_BackgroundEffectOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions) { } void BackgroundImageResizableImpl(Ark_NativePointer node, @@ -1619,8 +1530,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_Filter value) { } - void OpacityImpl(Ark_NativePointer node, - const Ark_Union_Number_Resource* value) + void Opacity0Impl(Ark_NativePointer node, + const Ark_Union_Number_Resource* value) + { + } + void Opacity1Impl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) { } void BorderImpl(Ark_NativePointer node, @@ -1647,34 +1562,62 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_BorderImageOption* value) { } - void OutlineImpl(Ark_NativePointer node, - const Ark_OutlineOptions* value) + void Outline0Impl(Ark_NativePointer node, + const Ark_OutlineOptions* value) { } - void OutlineStyleImpl(Ark_NativePointer node, - const Ark_Union_OutlineStyle_EdgeOutlineStyles* value) + void Outline1Impl(Ark_NativePointer node, + const Opt_OutlineOptions* value) { } - void OutlineWidthImpl(Ark_NativePointer node, - const Ark_Union_Dimension_EdgeOutlineWidths* value) + void OutlineStyle0Impl(Ark_NativePointer node, + const Ark_Union_OutlineStyle_EdgeOutlineStyles* value) { } - void OutlineColorImpl(Ark_NativePointer node, - const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) + void OutlineStyle1Impl(Ark_NativePointer node, + const Opt_Union_OutlineStyle_EdgeOutlineStyles* value) { } - void OutlineRadiusImpl(Ark_NativePointer node, - const Ark_Union_Dimension_OutlineRadiuses* value) + void OutlineWidth0Impl(Ark_NativePointer node, + const Ark_Union_Dimension_EdgeOutlineWidths* value) { } - void ForegroundColorImpl(Ark_NativePointer node, - const Ark_Union_ResourceColor_ColoringStrategy* value) + void OutlineWidth1Impl(Ark_NativePointer node, + const Opt_Union_Dimension_EdgeOutlineWidths* value) + { + } + void OutlineColor0Impl(Ark_NativePointer node, + const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) + { + } + void OutlineColor1Impl(Ark_NativePointer node, + const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors* value) + { + } + void OutlineRadius0Impl(Ark_NativePointer node, + const Ark_Union_Dimension_OutlineRadiuses* value) + { + } + void OutlineRadius1Impl(Ark_NativePointer node, + const Opt_Union_Dimension_OutlineRadiuses* value) + { + } + void ForegroundColor0Impl(Ark_NativePointer node, + const Ark_Union_ResourceColor_ColoringStrategy* value) + { + } + void ForegroundColor1Impl(Ark_NativePointer node, + const Opt_Union_ResourceColor_ColoringStrategy* value) { } void OnHoverImpl(Ark_NativePointer node, const Callback_Boolean_HoverEvent_Void* value) { } + void OnHoverMoveImpl(Ark_NativePointer node, + const Callback_HoverEvent_Void* value) + { + } void OnAccessibilityHoverImpl(Ark_NativePointer node, const AccessibilityCallback* value) { @@ -1691,18 +1634,46 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Callback_TouchEvent_Void* value) { } - void OnKeyEventImpl(Ark_NativePointer node, - const Callback_KeyEvent_Void* value) + void OnKeyEvent0Impl(Ark_NativePointer node, + const Callback_KeyEvent_Void* value) + { + } + void OnKeyEvent1Impl(Ark_NativePointer node, + const Callback_KeyEvent_Boolean* value) + { + } + void OnDigitalCrownImpl(Ark_NativePointer node, + const Opt_Callback_CrownEvent_Void* value) { } void OnKeyPreImeImpl(Ark_NativePointer node, const Callback_KeyEvent_Boolean* value) { } + void OnKeyEventDispatchImpl(Ark_NativePointer node, + const Callback_KeyEvent_Boolean* value) + { + } + void OnFocusAxisEventImpl(Ark_NativePointer node, + const Callback_FocusAxisEvent_Void* value) + { + } + void OnAxisEventImpl(Ark_NativePointer node, + const Callback_AxisEvent_Void* value) + { + } void FocusableImpl(Ark_NativePointer node, Ark_Boolean value) { } + void NextFocusImpl(Ark_NativePointer node, + const Opt_FocusMovement* value) + { + } + void TabStopImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } void OnFocusImpl(Ark_NativePointer node, const Callback_Void* value) { @@ -1744,44 +1715,84 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_TransitionFinishCallback* onFinish) { } - void MotionBlurImpl(Ark_NativePointer node, - const Ark_MotionBlurOptions* value) + void MotionBlur0Impl(Ark_NativePointer node, + const Ark_MotionBlurOptions* value) + { + } + void MotionBlur1Impl(Ark_NativePointer node, + const Opt_MotionBlurOptions* value) { } - void BrightnessImpl(Ark_NativePointer node, + void Brightness0Impl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void Brightness1Impl(Ark_NativePointer node, + const Opt_Number* value) + { + } + void Contrast0Impl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void Contrast1Impl(Ark_NativePointer node, + const Opt_Number* value) + { + } + void Grayscale0Impl(Ark_NativePointer node, const Ark_Number* value) { } - void ContrastImpl(Ark_NativePointer node, - const Ark_Number* value) + void Grayscale1Impl(Ark_NativePointer node, + const Opt_Number* value) + { + } + void ColorBlend0Impl(Ark_NativePointer node, + const Ark_Union_Color_String_Resource* value) + { + } + void ColorBlend1Impl(Ark_NativePointer node, + const Opt_Union_Color_String_Resource* value) { } - void GrayscaleImpl(Ark_NativePointer node, + void Saturate0Impl(Ark_NativePointer node, const Ark_Number* value) { } - void ColorBlendImpl(Ark_NativePointer node, - const Ark_Union_Color_String_Resource* value) + void Saturate1Impl(Ark_NativePointer node, + const Opt_Number* value) { } - void SaturateImpl(Ark_NativePointer node, - const Ark_Number* value) + void Sepia0Impl(Ark_NativePointer node, + const Ark_Number* value) { } - void SepiaImpl(Ark_NativePointer node, - const Ark_Number* value) + void Sepia1Impl(Ark_NativePointer node, + const Opt_Number* value) { } - void InvertImpl(Ark_NativePointer node, - const Ark_Union_Number_InvertOptions* value) + void Invert0Impl(Ark_NativePointer node, + const Ark_Union_Number_InvertOptions* value) { } - void HueRotateImpl(Ark_NativePointer node, - const Ark_Union_Number_String* value) + void Invert1Impl(Ark_NativePointer node, + const Opt_Union_Number_InvertOptions* value) { } - void UseShadowBatchingImpl(Ark_NativePointer node, - Ark_Boolean value) + void HueRotate0Impl(Ark_NativePointer node, + const Ark_Union_Number_String* value) + { + } + void HueRotate1Impl(Ark_NativePointer node, + const Opt_Union_Number_String* value) + { + } + void UseShadowBatching0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void UseShadowBatching1Impl(Ark_NativePointer node, + const Opt_Boolean* value) { } void UseEffect0Impl(Ark_NativePointer node, @@ -1793,20 +1804,41 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_EffectType effectType) { } - void RenderGroupImpl(Ark_NativePointer node, - Ark_Boolean value) + void UseEffect2Impl(Ark_NativePointer node, + const Opt_Boolean* useEffect, + const Opt_EffectType* effectType) { } - void FreezeImpl(Ark_NativePointer node, - Ark_Boolean value) + void RenderGroup0Impl(Ark_NativePointer node, + Ark_Boolean value) { } - void TranslateImpl(Ark_NativePointer node, - const Ark_TranslateOptions* value) + void RenderGroup1Impl(Ark_NativePointer node, + const Opt_Boolean* value) { } - void ScaleImpl(Ark_NativePointer node, - const Ark_ScaleOptions* value) + void Freeze0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void Freeze1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void Translate0Impl(Ark_NativePointer node, + const Ark_TranslateOptions* value) + { + } + void Translate1Impl(Ark_NativePointer node, + const Opt_TranslateOptions* value) + { + } + void Scale0Impl(Ark_NativePointer node, + const Ark_ScaleOptions* value) + { + } + void Scale1Impl(Ark_NativePointer node, + const Opt_ScaleOptions* value) { } void GridSpanImpl(Ark_NativePointer node, @@ -1817,12 +1849,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Number* value) { } - void RotateImpl(Ark_NativePointer node, - const Ark_RotateOptions* value) + void Rotate0Impl(Ark_NativePointer node, + const Ark_RotateOptions* value) + { + } + void Rotate1Impl(Ark_NativePointer node, + const Opt_RotateOptions* value) + { + } + void Transform0Impl(Ark_NativePointer node, + const Ark_TransformationMatrix* value) { } - void TransformImpl(Ark_NativePointer node, - const Ark_TransformationMatrix* value) + void Transform1Impl(Ark_NativePointer node, + const Opt_Object* value) { } void OnAppearImpl(Ark_NativePointer node, @@ -1913,8 +1953,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Number* value) { } - void ClickEffectImpl(Ark_NativePointer node, - const Opt_ClickEffect* value) + void ClickEffect0Impl(Ark_NativePointer node, + const Opt_ClickEffect* value) + { + } + void ClickEffect1Impl(Ark_NativePointer node, + const Opt_ClickEffect* value) { } void OnDragStartImpl(Ark_NativePointer node, @@ -1933,8 +1977,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Callback_DragEvent_String_Void* value) { } - void OnDropImpl(Ark_NativePointer node, - const Callback_DragEvent_String_Void* value) + void OnDrop0Impl(Ark_NativePointer node, + const Callback_DragEvent_String_Void* value) + { + } + void OnDrop1Impl(Ark_NativePointer node, + const OnDragEventCallback* eventCallback, + const Opt_DropOptions* dropOptions) { } void OnDragEndImpl(Ark_NativePointer node, @@ -1949,32 +1998,53 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_Boolean value) { } - void DragPreviewImpl(Ark_NativePointer node, - const Ark_Union_CustomBuilder_DragItemInfo_String* value) + void DragPreview0Impl(Ark_NativePointer node, + const Ark_Union_CustomBuilder_DragItemInfo_String* value) + { + } + void DragPreview1Impl(Ark_NativePointer node, + const Ark_Union_CustomBuilder_DragItemInfo_String* preview, + const Opt_PreviewConfiguration* config) { } void OnPreDragImpl(Ark_NativePointer node, const Callback_PreDragStatus_Void* value) { } - void LinearGradientImpl(Ark_NativePointer node, - const Ark_Type_CommonMethod_linearGradient_value* value) + void LinearGradient0Impl(Ark_NativePointer node, + const Ark_LinearGradientOptions* value) + { + } + void LinearGradient1Impl(Ark_NativePointer node, + const Opt_LinearGradientOptions* value) { } - void SweepGradientImpl(Ark_NativePointer node, - const Ark_Type_CommonMethod_sweepGradient_value* value) + void SweepGradient0Impl(Ark_NativePointer node, + const Ark_SweepGradientOptions* value) { } - void RadialGradientImpl(Ark_NativePointer node, - const Ark_Type_CommonMethod_radialGradient_value* value) + void SweepGradient1Impl(Ark_NativePointer node, + const Opt_SweepGradientOptions* value) + { + } + void RadialGradient0Impl(Ark_NativePointer node, + const Ark_RadialGradientOptions* value) + { + } + void RadialGradient1Impl(Ark_NativePointer node, + const Opt_RadialGradientOptions* value) { } void MotionPathImpl(Ark_NativePointer node, const Ark_MotionPathOptions* value) { } - void ShadowImpl(Ark_NativePointer node, - const Ark_Union_ShadowOptions_ShadowStyle* value) + void Shadow0Impl(Ark_NativePointer node, + const Ark_Union_ShadowOptions_ShadowStyle* value) + { + } + void Shadow1Impl(Ark_NativePointer node, + const Opt_Union_ShadowOptions_ShadowStyle* value) { } void Clip0Impl(Ark_NativePointer node, @@ -1985,8 +2055,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_Boolean* value) { } - void ClipShapeImpl(Ark_NativePointer node, - const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape* value) + void Clip2Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void ClipShape0Impl(Ark_NativePointer node, + const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape* value) + { + } + void ClipShape1Impl(Ark_NativePointer node, + const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape* value) { } void Mask0Impl(Ark_NativePointer node, @@ -1997,8 +2075,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_ProgressMask* value) { } - void MaskShapeImpl(Ark_NativePointer node, - const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape* value) + void Mask2Impl(Ark_NativePointer node, + const Opt_ProgressMask* value) + { + } + void MaskShape0Impl(Ark_NativePointer node, + const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape* value) + { + } + void MaskShape1Impl(Ark_NativePointer node, + const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape* value) { } void KeyImpl(Ark_NativePointer node, @@ -2026,24 +2112,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Number* value) { } - void SphericalEffectImpl(Ark_NativePointer node, - const Ark_Number* value) + void SphericalEffect0Impl(Ark_NativePointer node, + const Ark_Number* value) { } - void LightUpEffectImpl(Ark_NativePointer node, - const Ark_Number* value) + void SphericalEffect1Impl(Ark_NativePointer node, + const Opt_Number* value) { } - void PixelStretchEffectImpl(Ark_NativePointer node, - const Ark_PixelStretchEffectOptions* value) + void LightUpEffect0Impl(Ark_NativePointer node, + const Ark_Number* value) { } - void AccessibilityGroup0Impl(Ark_NativePointer node, - Ark_Boolean value) + void LightUpEffect1Impl(Ark_NativePointer node, + const Opt_Number* value) { } - void AccessibilityGroup1Impl(Ark_NativePointer node, - Ark_Boolean isGroup, + void PixelStretchEffect0Impl(Ark_NativePointer node, + const Ark_PixelStretchEffectOptions* value) + { + } + void PixelStretchEffect1Impl(Ark_NativePointer node, + const Opt_PixelStretchEffectOptions* value) + { + } + void AccessibilityGroup0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void AccessibilityGroup1Impl(Ark_NativePointer node, + Ark_Boolean isGroup, const Ark_AccessibilityOptions* accessibilityOptions) { } @@ -2055,6 +2153,30 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Resource* value) { } + void AccessibilityNextFocusIdImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void AccessibilityDefaultFocusImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void AccessibilityUseSamePageImpl(Ark_NativePointer node, + Ark_AccessibilitySamePageMode value) + { + } + void AccessibilityScrollTriggerableImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void AccessibilityRoleImpl(Ark_NativePointer node, + Ark_AccessibilityRoleType value) + { + } + void OnAccessibilityFocusImpl(Ark_NativePointer node, + const AccessibilityFocusCallback* value) + { + } void AccessibilityTextHintImpl(Ark_NativePointer node, const Ark_String* value) { @@ -2091,16 +2213,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_String* value) { } - void RenderFitImpl(Ark_NativePointer node, - Ark_RenderFit value) + void ReuseImpl(Ark_NativePointer node, + const Ark_ReuseOptions* value) + { + } + void RenderFit0Impl(Ark_NativePointer node, + Ark_RenderFit value) + { + } + void RenderFit1Impl(Ark_NativePointer node, + const Opt_RenderFit* value) { } void GestureModifierImpl(Ark_NativePointer node, Ark_GestureModifier value) { } - void BackgroundBrightnessImpl(Ark_NativePointer node, - const Ark_BackgroundBrightnessOptions* value) + void BackgroundBrightness0Impl(Ark_NativePointer node, + const Ark_BackgroundBrightnessOptions* value) + { + } + void BackgroundBrightness1Impl(Ark_NativePointer node, + const Opt_BackgroundBrightnessOptions* value) { } void OnGestureJudgeBeginImpl(Ark_NativePointer node, @@ -2132,6 +2266,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { const SizeChangeCallback* value) { } + void AccessibilityFocusDrawLevelImpl(Ark_NativePointer node, + Ark_FocusDrawLevel value) + { + } void CustomPropertyImpl(Ark_NativePointer node, const Ark_String* name, const Opt_Object* value) @@ -2147,19 +2285,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_Literal_Alignment_align* options) { } - void BackgroundImageImpl(Ark_NativePointer node, - const Ark_Union_ResourceStr_PixelMap* src, - const Opt_ImageRepeat* repeat) + void BackgroundImage0Impl(Ark_NativePointer node, + const Ark_Union_ResourceStr_PixelMap* src, + const Opt_ImageRepeat* repeat) { } - void BackgroundBlurStyleImpl(Ark_NativePointer node, - Ark_BlurStyle value, - const Opt_BackgroundBlurStyleOptions* options) + void BackgroundImage1Impl(Ark_NativePointer node, + const Ark_Union_ResourceStr_PixelMap* src, + const Opt_BackgroundImageOptions* options) { } - void ForegroundBlurStyleImpl(Ark_NativePointer node, - Ark_BlurStyle value, - const Opt_ForegroundBlurStyleOptions* options) + void BackgroundBlurStyle0Impl(Ark_NativePointer node, + Ark_BlurStyle value, + const Opt_BackgroundBlurStyleOptions* options) + { + } + void BackgroundBlurStyle1Impl(Ark_NativePointer node, + const Opt_BlurStyle* style, + const Opt_BackgroundBlurStyleOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions) + { + } + void ForegroundBlurStyle0Impl(Ark_NativePointer node, + Ark_BlurStyle value, + const Opt_ForegroundBlurStyleOptions* options) + { + } + void ForegroundBlurStyle1Impl(Ark_NativePointer node, + const Opt_BlurStyle* style, + const Opt_ForegroundBlurStyleOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions) { } void FocusScopeId0Impl(Ark_NativePointer node, @@ -2193,22 +2348,39 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_GestureMask* mask) { } - void BlurImpl(Ark_NativePointer node, - const Ark_Number* value, - const Opt_BlurOptions* options) + void Blur0Impl(Ark_NativePointer node, + const Ark_Number* value, + const Opt_BlurOptions* options) + { + } + void Blur1Impl(Ark_NativePointer node, + const Opt_Number* blurRadius, + const Opt_BlurOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions) { } - void LinearGradientBlurImpl(Ark_NativePointer node, - const Ark_Number* value, - const Ark_LinearGradientBlurOptions* options) + void LinearGradientBlur0Impl(Ark_NativePointer node, + const Ark_Number* value, + const Ark_LinearGradientBlurOptions* options) + { + } + void LinearGradientBlur1Impl(Ark_NativePointer node, + const Opt_Number* blurRadius, + const Opt_LinearGradientBlurOptions* options) { } void SystemBarEffectImpl(Ark_NativePointer node) { } - void BackdropBlurImpl(Ark_NativePointer node, - const Ark_Number* value, - const Opt_BlurOptions* options) + void BackdropBlur0Impl(Ark_NativePointer node, + const Ark_Number* value, + const Opt_BlurOptions* options) + { + } + void BackdropBlur1Impl(Ark_NativePointer node, + const Opt_Number* radius, + const Opt_BlurOptions* options, + const Opt_SystemAdaptiveOptions* sysOptions) { } void SharedTransitionImpl(Ark_NativePointer node, @@ -2231,9 +2403,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_OverlayOptions* options) { } - void BlendModeImpl(Ark_NativePointer node, - Ark_BlendMode value, - const Opt_BlendApplyType* type) + void BlendMode0Impl(Ark_NativePointer node, + Ark_BlendMode value, + const Opt_BlendApplyType* type) + { + } + void BlendMode1Impl(Ark_NativePointer node, + const Opt_BlendMode* mode, + const Opt_BlendApplyType* type) { } void AdvancedBlendModeImpl(Ark_NativePointer node, @@ -2241,6 +2418,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_BlendApplyType* type) { } + void BindTipsImpl(Ark_NativePointer node, + const Ark_TipsMessageType* message, + const Opt_TipsOptions* options) + { + } void BindPopupImpl(Ark_NativePointer node, Ark_Boolean show, const Ark_Union_PopupOptions_CustomPopupOptions* popup) @@ -2270,19 +2452,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void BindContentCover0Impl(Ark_NativePointer node, - const Opt_Boolean* isShow, + Ark_Boolean isShow, const CustomNodeBuilder* builder, const Opt_ModalTransition* type) { } void BindContentCover1Impl(Ark_NativePointer node, - const Opt_Boolean* isShow, + Ark_Boolean isShow, const CustomNodeBuilder* builder, const Opt_ContentCoverOptions* options) { } void BindSheetImpl(Ark_NativePointer node, - const Opt_Boolean* isShow, + Ark_Boolean isShow, const CustomNodeBuilder* builder, const Opt_SheetOptions* options) { @@ -2292,6 +2474,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { const VisibleAreaChangeCallback* event) { } + void OnVisibleAreaApproximateChangeImpl(Ark_NativePointer node, + const Ark_VisibleAreaEventOptions* options, + const Opt_VisibleAreaChangeCallback* event) + { + } void KeyboardShortcutImpl(Ark_NativePointer node, const Ark_Union_String_FunctionKey* value, const Array_ModifierKey* keys, @@ -2350,7 +2537,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void StrokeWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void AntiAliasImpl(Ark_NativePointer node, @@ -2358,7 +2545,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void StrokeDashArrayImpl(Ark_NativePointer node, - const Array_Union_String_Number_Resource* value) + const Array_Length* value) { } } // CommonShapeMethodModifier @@ -2420,6 +2607,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Union_ContentClipMode_RectShape* value) { } + void DigitalCrownSensitivityImpl(Ark_NativePointer node, + const Opt_CrownSensitivity* value) + { + } + void BackToTopImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } void EdgeEffectImpl(Ark_NativePointer node, Ark_EdgeEffect edgeEffect, const Opt_EdgeEffectOptions* options) @@ -2431,6 +2626,155 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // ScrollableCommonMethodModifier + namespace NavigationModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + return {}; + } + } // NavigationModifier + namespace NavigationInterfaceModifier { + void SetNavigationOptions0Impl(Ark_NativePointer node) + { + } + void SetNavigationOptions1Impl(Ark_NativePointer node, + Ark_NavPathStack pathInfos) + { + } + } // NavigationInterfaceModifier + namespace NavigationAttributeModifier { + void NavBarWidthImpl(Ark_NativePointer node, + const Ark_Length* value) + { + } + void NavBarPositionImpl(Ark_NativePointer node, + Ark_NavBarPosition value) + { + } + void NavBarWidthRangeImpl(Ark_NativePointer node, + const Ark_Tuple_Dimension_Dimension* value) + { + } + void MinContentWidthImpl(Ark_NativePointer node, + const Ark_Dimension* value) + { + } + void ModeImpl(Ark_NativePointer node, + Ark_NavigationMode value) + { + } + void BackButtonIcon0Impl(Ark_NativePointer node, + const Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier* value) + { + } + void BackButtonIcon1Impl(Ark_NativePointer node, + const Ark_Union_String_PixelMap_Resource_SymbolGlyphModifier* icon, + const Opt_ResourceStr* accessibilityText) + { + } + void HideNavBarImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void SubTitleImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void HideTitleBar0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void HideTitleBar1Impl(Ark_NativePointer node, + Ark_Boolean hide, + Ark_Boolean animated) + { + } + void HideBackButtonImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void TitleModeImpl(Ark_NativePointer node, + Ark_NavigationTitleMode value) + { + } + void Menus0Impl(Ark_NativePointer node, + const Ark_Union_Array_NavigationMenuItem_CustomBuilder* value) + { + } + void Menus1Impl(Ark_NativePointer node, + const Ark_Union_Array_NavigationMenuItem_CustomBuilder* items, + const Opt_NavigationMenuOptions* options) + { + } + void ToolBarImpl(Ark_NativePointer node, + const CustomNodeBuilder* value) + { + } + void HideToolBar0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void HideToolBar1Impl(Ark_NativePointer node, + Ark_Boolean hide, + Ark_Boolean animated) + { + } + void EnableToolBarAdaptationImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void OnTitleModeChangeImpl(Ark_NativePointer node, + const Callback_NavigationTitleMode_Void* value) + { + } + void OnNavBarStateChangeImpl(Ark_NativePointer node, + const Callback_Boolean_Void* value) + { + } + void OnNavigationModeChangeImpl(Ark_NativePointer node, + const Callback_NavigationMode_Void* value) + { + } + void NavDestinationImpl(Ark_NativePointer node, + const Callback_String_Opt_Object_Void* value) + { + } + void CustomNavContentTransitionImpl(Ark_NativePointer node, + const Type_NavigationAttribute_customNavContentTransition_delegate* value) + { + } + void SystemBarStyleImpl(Ark_NativePointer node, + const Opt_SystemBarStyle* value) + { + } + void RecoverableImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void EnableDragBarImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void EnableModeChangeAnimationImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void TitleImpl(Ark_NativePointer node, + const Ark_Type_NavigationAttribute_title_value* value, + const Opt_NavigationTitleOptions* options) + { + } + void ToolbarConfigurationImpl(Ark_NativePointer node, + const Ark_Union_Array_ToolbarItem_CustomBuilder* value, + const Opt_NavigationToolbarOptions* options) + { + } + void IgnoreLayoutSafeAreaImpl(Ark_NativePointer node, + const Opt_Array_LayoutSafeAreaType* types, + const Opt_Array_LayoutSafeAreaEdge* edges) + { + } + } // NavigationAttributeModifier namespace CanvasModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) @@ -2473,32 +2817,60 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // CheckboxInterfaceModifier namespace CheckboxAttributeModifier { - void SelectImpl(Ark_NativePointer node, - Ark_Boolean value) + void Select0Impl(Ark_NativePointer node, + Ark_Boolean value) { } - void SelectedColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void Select1Impl(Ark_NativePointer node, + const Opt_Boolean* value) { } - void ShapeImpl(Ark_NativePointer node, - Ark_CheckBoxShape value) + void SelectedColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { } - void UnselectedColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void SelectedColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) { } - void MarkImpl(Ark_NativePointer node, - const Ark_MarkStyle* value) + void Shape0Impl(Ark_NativePointer node, + Ark_CheckBoxShape value) { } - void OnChangeImpl(Ark_NativePointer node, - const OnCheckboxChangeCallback* value) + void Shape1Impl(Ark_NativePointer node, + const Opt_CheckBoxShape* value) { } - void ContentModifierImpl(Ark_NativePointer node, - const Ark_Object* value) + void UnselectedColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + } + void UnselectedColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + } + void Mark0Impl(Ark_NativePointer node, + const Ark_MarkStyle* value) + { + } + void Mark1Impl(Ark_NativePointer node, + const Opt_MarkStyle* value) + { + } + void OnChange0Impl(Ark_NativePointer node, + const OnCheckboxChangeCallback* value) + { + } + void OnChange1Impl(Ark_NativePointer node, + const Opt_OnCheckboxChangeCallback* value) + { + } + void ContentModifier0Impl(Ark_NativePointer node, + const Ark_Object* value) + { + } + void ContentModifier1Impl(Ark_NativePointer node, + const Opt_ContentModifier* value) { } void _onChangeEvent_selectImpl(Ark_NativePointer node, @@ -2520,28 +2892,52 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // CheckboxGroupInterfaceModifier namespace CheckboxGroupAttributeModifier { - void SelectAllImpl(Ark_NativePointer node, - Ark_Boolean value) + void SelectAll0Impl(Ark_NativePointer node, + Ark_Boolean value) { } - void SelectedColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void SelectAll1Impl(Ark_NativePointer node, + const Opt_Boolean* value) { } - void UnselectedColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void SelectedColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { } - void MarkImpl(Ark_NativePointer node, - const Ark_MarkStyle* value) + void SelectedColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) { } - void OnChangeImpl(Ark_NativePointer node, - const OnCheckboxGroupChangeCallback* value) + void UnselectedColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + } + void UnselectedColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + } + void Mark0Impl(Ark_NativePointer node, + const Ark_MarkStyle* value) + { + } + void Mark1Impl(Ark_NativePointer node, + const Opt_MarkStyle* value) + { + } + void OnChange0Impl(Ark_NativePointer node, + const OnCheckboxGroupChangeCallback* value) + { + } + void OnChange1Impl(Ark_NativePointer node, + const Opt_OnCheckboxGroupChangeCallback* value) + { + } + void CheckboxShape0Impl(Ark_NativePointer node, + Ark_CheckBoxShape value) { } - void CheckboxShapeImpl(Ark_NativePointer node, - Ark_CheckBoxShape value) + void CheckboxShape1Impl(Ark_NativePointer node, + const Opt_CheckBoxShape* value) { } void _onChangeEvent_selectAllImpl(Ark_NativePointer node, @@ -2570,8 +2966,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // ColumnModifier namespace ColumnInterfaceModifier { - void SetColumnOptionsImpl(Ark_NativePointer node, - const Opt_ColumnOptions* options) + void SetColumnOptions0Impl(Ark_NativePointer node, + const Opt_ColumnOptions* options) + { + } + void SetColumnOptions1Impl(Ark_NativePointer node, + const Opt_Union_ColumnOptions_ColumnOptionsV2* options) { } } // ColumnInterfaceModifier @@ -2646,11 +3046,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void RenderWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { } void RenderHeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { } void CustomRenderImpl(Ark_NativePointer node, @@ -2734,7 +3134,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void StrokeWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void TrackShadowImpl(Ark_NativePointer node, @@ -2760,44 +3160,72 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // DatePickerInterfaceModifier namespace DatePickerAttributeModifier { - void LunarImpl(Ark_NativePointer node, - Ark_Boolean value) + void Lunar0Impl(Ark_NativePointer node, + Ark_Boolean value) { } - void DisappearTextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void Lunar1Impl(Ark_NativePointer node, + const Opt_Boolean* value) { } - void TextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void DisappearTextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) { } - void SelectedTextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void DisappearTextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { } - void OnChangeImpl(Ark_NativePointer node, - const Callback_DatePickerResult_Void* value) + void TextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) { } - void OnDateChangeImpl(Ark_NativePointer node, - const Callback_Date_Void* value) + void TextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { } - void _onChangeEvent_selectedImpl(Ark_NativePointer node, - const Callback_Date_Void* callback) + void SelectedTextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) { } - } // DatePickerAttributeModifier - namespace DividerModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) + void SelectedTextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { - return {}; } - } // DividerModifier - namespace DividerInterfaceModifier { - void SetDividerOptionsImpl(Ark_NativePointer node) + void OnChangeImpl(Ark_NativePointer node, + const Callback_DatePickerResult_Void* value) + { + } + void OnDateChange0Impl(Ark_NativePointer node, + const Callback_Date_Void* value) + { + } + void OnDateChange1Impl(Ark_NativePointer node, + const Opt_Callback_Date_Void* value) + { + } + void DigitalCrownSensitivityImpl(Ark_NativePointer node, + const Opt_CrownSensitivity* value) + { + } + void EnableHapticFeedbackImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void _onChangeEvent_selectedImpl(Ark_NativePointer node, + const Callback_Date_Void* callback) + { + } + } // DatePickerAttributeModifier + namespace DividerModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + return {}; + } + } // DividerModifier + namespace DividerInterfaceModifier { + void SetDividerOptionsImpl(Ark_NativePointer node) { } } // DividerInterfaceModifier @@ -3033,7 +3461,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void StrokeWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void DescriptionImpl(Ark_NativePointer node, @@ -3081,11 +3509,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void ColumnsGapImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void RowsGapImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void ScrollBarWidthImpl(Ark_NativePointer node, @@ -3380,14 +3808,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_Boolean value) { } - void FillColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void FillColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + } + void FillColor1Impl(Ark_NativePointer node, + const Ark_Union_ResourceColor_ColorContent* value) { } void ObjectFitImpl(Ark_NativePointer node, Ark_ImageFit value) { } + void ImageMatrixImpl(Ark_NativePointer node, + Ark_Matrix4Transit value) + { + } void ObjectRepeatImpl(Ark_NativePointer node, Ark_ImageRepeat value) { @@ -3468,6 +3904,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_ResolutionQuality value) { } + void OrientationImpl(Ark_NativePointer node, + Ark_ImageRotateOrientation value) + { + } } // ImageAttributeModifier namespace ImageAnimatorModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -3514,6 +3954,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Number* value) { } + void MonitorInvisibleAreaImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } void OnStartImpl(Ark_NativePointer node, const Callback_Void* value) { @@ -3574,6 +4018,41 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // ImageSpanAttributeModifier + namespace LazyGridLayoutModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + return {}; + } + } // LazyGridLayoutModifier + namespace LazyGridLayoutAttributeModifier { + void RowsGapImpl(Ark_NativePointer node, + Ark_LengthMetrics value) + { + } + void ColumnsGapImpl(Ark_NativePointer node, + Ark_LengthMetrics value) + { + } + } // LazyGridLayoutAttributeModifier + namespace LazyVGridLayoutModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + return {}; + } + } // LazyVGridLayoutModifier + namespace LazyVGridLayoutInterfaceModifier { + void SetLazyVGridLayoutOptionsImpl(Ark_NativePointer node) + { + } + } // LazyVGridLayoutInterfaceModifier + namespace LazyVGridLayoutAttributeModifier { + void ColumnsTemplateImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + } // LazyVGridLayoutAttributeModifier namespace LineModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) @@ -3589,11 +4068,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // LineInterfaceModifier namespace LineAttributeModifier { void StartPointImpl(Ark_NativePointer node, - const Array_Union_String_Number_Resource* value) + const Array_Length* value) { } void EndPointImpl(Ark_NativePointer node, - const Array_Union_String_Number_Resource* value) + const Array_Length* value) { } } // LineAttributeModifier @@ -3688,6 +4167,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_Boolean value) { } + void StackFromEndImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } void OnScrollImpl(Ark_NativePointer node, const Callback_Number_Number_Void* value) { @@ -3750,7 +4233,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } void LanesImpl(Ark_NativePointer node, const Ark_Union_Number_LengthConstrain* value, - const Opt_Union_String_Number_Resource* gutter) + const Opt_Dimension* gutter) { } void EdgeEffectImpl(Ark_NativePointer node, @@ -3873,7 +4356,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // LocationButtonInterfaceModifier namespace LocationButtonAttributeModifier { void OnClickImpl(Ark_NativePointer node, - const Callback_ClickEvent_LocationButtonOnClickResult_Void* value) + const LocationButtonCallback* value) { } } // LocationButtonAttributeModifier @@ -3896,7 +4379,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void AllowScaleImpl(Ark_NativePointer node, @@ -3955,7 +4438,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // MenuInterfaceModifier namespace MenuAttributeModifier { void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void FontImpl(Ark_NativePointer node, @@ -4065,6 +4548,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_Boolean animated) { } + void HideBackButtonImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } void OnShownImpl(Ark_NativePointer node, const Callback_Void* value) { @@ -4077,16 +4564,30 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Callback_Boolean* value) { } + void OnResultImpl(Ark_NativePointer node, + const Opt_Callback_Object_Void* value) + { + } void ModeImpl(Ark_NativePointer node, Ark_NavDestinationMode value) { } - void BackButtonIconImpl(Ark_NativePointer node, - const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier* value) + void BackButtonIcon0Impl(Ark_NativePointer node, + const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier* value) + { + } + void BackButtonIcon1Impl(Ark_NativePointer node, + const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier* icon, + const Opt_ResourceStr* accessibilityText) + { + } + void Menus0Impl(Ark_NativePointer node, + const Ark_Union_Array_NavigationMenuItem_CustomBuilder* value) { } - void MenusImpl(Ark_NativePointer node, - const Ark_Union_Array_NavigationMenuItem_CustomBuilder* value) + void Menus1Impl(Ark_NativePointer node, + const Ark_Union_Array_NavigationMenuItem_CustomBuilder* items, + const Opt_NavigationMenuOptions* options) { } void OnReadyImpl(Ark_NativePointer node, @@ -4121,6 +4622,38 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_NavigationSystemTransitionType value) { } + void BindToScrollableImpl(Ark_NativePointer node, + const Array_Scroller* value) + { + } + void BindToNestedScrollableImpl(Ark_NativePointer node, + const Array_NestedScrollInfo* value) + { + } + void OnActiveImpl(Ark_NativePointer node, + const Opt_Callback_NavDestinationActiveReason_Void* value) + { + } + void OnInactiveImpl(Ark_NativePointer node, + const Opt_Callback_NavDestinationActiveReason_Void* value) + { + } + void CustomTransitionImpl(Ark_NativePointer node, + const NavDestinationTransitionDelegate* value) + { + } + void OnNewParamImpl(Ark_NativePointer node, + const Opt_Callback_Object_Void* value) + { + } + void PreferredOrientationImpl(Ark_NativePointer node, + const Opt_Orientation* value) + { + } + void EnableNavigationIndicatorImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } void TitleImpl(Ark_NativePointer node, const Ark_Type_NavDestinationAttribute_title_value* value, const Opt_NavigationTitleOptions* options) @@ -4141,6 +4674,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_Array_LayoutSafeAreaEdge* edges) { } + void EnableStatusBarImpl(Ark_NativePointer node, + const Opt_Boolean* enabled, + const Opt_Boolean* animated) + { + } } // NavDestinationAttributeModifier namespace NavRouterModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -4300,7 +4838,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // PasteButtonInterfaceModifier namespace PasteButtonAttributeModifier { void OnClickImpl(Ark_NativePointer node, - const Callback_ClickEvent_PasteButtonOnClickResult_Void* value) + const PasteButtonCallback* value) { } } // PasteButtonAttributeModifier @@ -4338,11 +4876,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // PatternLockInterfaceModifier namespace PatternLockAttributeModifier { void SideLengthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void CircleRadiusImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void BackgroundColorImpl(Ark_NativePointer node, @@ -4385,6 +4923,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Opt_CircleStyleOptions* value) { } + void SkipUnselectedPointImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } } // PatternLockAttributeModifier namespace PluginComponentModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -4523,20 +5065,32 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // RadioInterfaceModifier namespace RadioAttributeModifier { - void CheckedImpl(Ark_NativePointer node, - Ark_Boolean value) + void Checked0Impl(Ark_NativePointer node, + Ark_Boolean value) { } - void OnChangeImpl(Ark_NativePointer node, - const Callback_Boolean_Void* value) + void Checked1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void OnChange0Impl(Ark_NativePointer node, + const Callback_Boolean_Void* value) + { + } + void OnChange1Impl(Ark_NativePointer node, + const Opt_OnRadioChangeCallback* value) { } void RadioStyleImpl(Ark_NativePointer node, const Opt_RadioStyle* value) { } - void ContentModifierImpl(Ark_NativePointer node, - const Ark_Object* value) + void ContentModifier0Impl(Ark_NativePointer node, + const Ark_Object* value) + { + } + void ContentModifier1Impl(Ark_NativePointer node, + const Opt_ContentModifier* value) { } void _onChangeEvent_checkedImpl(Ark_NativePointer node, @@ -4558,24 +5112,44 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // RatingInterfaceModifier namespace RatingAttributeModifier { - void StarsImpl(Ark_NativePointer node, - const Ark_Number* value) + void Stars0Impl(Ark_NativePointer node, + const Ark_Number* value) { } - void StepSizeImpl(Ark_NativePointer node, - const Ark_Number* value) + void Stars1Impl(Ark_NativePointer node, + const Opt_Number* value) { } - void StarStyleImpl(Ark_NativePointer node, - const Ark_StarStyleOptions* value) + void StepSize0Impl(Ark_NativePointer node, + const Ark_Number* value) { } - void OnChangeImpl(Ark_NativePointer node, - const Callback_Number_Void* value) + void StepSize1Impl(Ark_NativePointer node, + const Opt_Number* value) { } - void ContentModifierImpl(Ark_NativePointer node, - const Ark_Object* value) + void StarStyle0Impl(Ark_NativePointer node, + const Ark_StarStyleOptions* value) + { + } + void StarStyle1Impl(Ark_NativePointer node, + const Opt_StarStyleOptions* value) + { + } + void OnChange0Impl(Ark_NativePointer node, + const Callback_Number_Void* value) + { + } + void OnChange1Impl(Ark_NativePointer node, + const Opt_OnRatingChangeCallback* value) + { + } + void ContentModifier0Impl(Ark_NativePointer node, + const Ark_Object* value) + { + } + void ContentModifier1Impl(Ark_NativePointer node, + const Opt_ContentModifier* value) { } void _onChangeEvent_ratingImpl(Ark_NativePointer node, @@ -4801,6 +5375,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_BarState value) { } + void MaxLengthImpl(Ark_NativePointer node, + const Opt_Number* value) + { + } + void MaxLinesImpl(Ark_NativePointer node, + const Opt_Number* value) + { + } + void KeyboardAppearanceImpl(Ark_NativePointer node, + const Opt_KeyboardAppearance* value) + { + } + void StopBackPressImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } void BindSelectionMenuImpl(Ark_NativePointer node, Ark_RichEditorSpanType spanType, const CustomNodeBuilder* content, @@ -4863,8 +5453,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // RowModifier namespace RowInterfaceModifier { - void SetRowOptionsImpl(Ark_NativePointer node, - const Opt_RowOptions* options) + void SetRowOptions0Impl(Ark_NativePointer node, + const Opt_RowOptions* options) + { + } + void SetRowOptions1Impl(Ark_NativePointer node, + const Opt_Union_RowOptions_RowOptionsV2* options) { } } // RowInterfaceModifier @@ -4922,7 +5516,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // SaveButtonInterfaceModifier namespace SaveButtonAttributeModifier { void OnClickImpl(Ark_NativePointer node, - const Callback_ClickEvent_SaveButtonOnClickResult_Void* value) + const SaveButtonCallback* value) { } } // SaveButtonAttributeModifier @@ -5077,7 +5671,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void TextIndentImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { } void OnEditChangeImpl(Ark_NativePointer node, @@ -5168,6 +5762,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Union_Number_String_Resource* value) { } + void MinFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + } void DecorationImpl(Ark_NativePointer node, const Ark_TextDecorationOptions* value) { @@ -5216,6 +5818,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_Boolean value) { } + void AutoCapitalizationModeImpl(Ark_NativePointer node, + Ark_AutoCapitalizationMode value) + { + } + void HalfLeadingImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void StopBackPressImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void OnWillChangeImpl(Ark_NativePointer node, + const Callback_EditableTextChangeValue_Boolean* value) + { + } + void KeyboardAppearanceImpl(Ark_NativePointer node, + const Opt_KeyboardAppearance* value) + { + } void SearchButtonImpl(Ark_NativePointer node, const Ark_String* value, const Opt_SearchButtonOptions* option) @@ -5243,7 +5865,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { return {}; } void IconSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { } void LayoutDirectionImpl(Ark_NativePointer node, @@ -5263,7 +5885,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { } void FontStyleImpl(Ark_NativePointer node, @@ -5295,15 +5917,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void BorderWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { } void BorderColorImpl(Ark_NativePointer node, const Ark_ResourceColor* value) { } - void BorderRadiusImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + void BorderRadius0Impl(Ark_NativePointer node, + const Ark_Dimension* value) + { + } + void BorderRadius1Impl(Ark_NativePointer node, + const Ark_Union_Dimension_BorderRadiuses* value) { } void PaddingImpl(Ark_NativePointer node, @@ -5311,7 +5937,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void TextIconSpaceImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { } void KeyImpl(Ark_NativePointer node, @@ -5319,11 +5945,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void WidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void HeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void SizeImpl(Ark_NativePointer node, @@ -5334,6 +5960,55 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_ConstraintSizeOptions* value) { } + void AlignImpl(Ark_NativePointer node, + Ark_Alignment value) + { + } + void AlignRules0Impl(Ark_NativePointer node, + const Ark_AlignRuleOption* value) + { + } + void AlignRules1Impl(Ark_NativePointer node, + const Ark_LocalizedAlignRuleOptions* value) + { + } + void IdImpl(Ark_NativePointer node, + const Ark_String* value) + { + } + void MinFontScaleImpl(Ark_NativePointer node, + const Ark_Union_Number_Resource* value) + { + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Ark_Union_Number_Resource* value) + { + } + void MaxLinesImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void MinFontSizeImpl(Ark_NativePointer node, + const Ark_Union_Number_String_Resource* value) + { + } + void MaxFontSizeImpl(Ark_NativePointer node, + const Ark_Union_Number_String_Resource* value) + { + } + void HeightAdaptivePolicyImpl(Ark_NativePointer node, + Ark_TextHeightAdaptivePolicy value) + { + } + void EnabledImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void ChainModeImpl(Ark_NativePointer node, + Ark_Axis direction, + Ark_ChainStyle style) + { + } } // SecurityComponentMethodModifier namespace SelectModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -5349,126 +6024,235 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // SelectInterfaceModifier namespace SelectAttributeModifier { - void SelectedImpl(Ark_NativePointer node, - const Ark_Union_Number_Resource* value) + void Selected0Impl(Ark_NativePointer node, + const Ark_Union_Number_Resource* value) { } - void ValueImpl(Ark_NativePointer node, - const Ark_ResourceStr* value) + void Selected1Impl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) { } - void FontImpl(Ark_NativePointer node, - const Ark_Font* value) + void Value0Impl(Ark_NativePointer node, + const Ark_ResourceStr* value) { } - void FontColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void Value1Impl(Ark_NativePointer node, + const Opt_ResourceStr* value) { } - void SelectedOptionBgColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void Font0Impl(Ark_NativePointer node, + const Ark_Font* value) { } - void SelectedOptionFontImpl(Ark_NativePointer node, - const Ark_Font* value) + void Font1Impl(Ark_NativePointer node, + const Opt_Font* value) { } - void SelectedOptionFontColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void FontColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { } - void OptionBgColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void FontColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) { } - void OptionFontImpl(Ark_NativePointer node, - const Ark_Font* value) + void SelectedOptionBgColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { } - void OptionFontColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void SelectedOptionBgColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) { } - void OnSelectImpl(Ark_NativePointer node, - const Callback_Number_String_Void* value) + void SelectedOptionFont0Impl(Ark_NativePointer node, + const Ark_Font* value) { } - void SpaceImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + void SelectedOptionFont1Impl(Ark_NativePointer node, + const Opt_Font* value) { } - void ArrowPositionImpl(Ark_NativePointer node, - Ark_ArrowPosition value) + void SelectedOptionFontColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { } - void OptionWidthImpl(Ark_NativePointer node, - const Ark_Union_Dimension_OptionWidthMode* value) + void SelectedOptionFontColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) { } - void OptionHeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + void OptionBgColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { } - void MenuBackgroundColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void OptionBgColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) { } - void MenuBackgroundBlurStyleImpl(Ark_NativePointer node, - Ark_BlurStyle value) + void OptionFont0Impl(Ark_NativePointer node, + const Ark_Font* value) { } - void ControlSizeImpl(Ark_NativePointer node, - Ark_ControlSize value) + void OptionFont1Impl(Ark_NativePointer node, + const Opt_Font* value) { } - void MenuItemContentModifierImpl(Ark_NativePointer node, - const Ark_Object* value) + void OptionFontColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) { } - void DividerImpl(Ark_NativePointer node, - const Opt_DividerOptions* value) + void OptionFontColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) { } - void MenuAlignImpl(Ark_NativePointer node, - Ark_MenuAlignType alignType, - const Opt_Offset* offset) + void OnSelect0Impl(Ark_NativePointer node, + const Callback_Number_String_Void* value) { } - void _onChangeEvent_selectedImpl(Ark_NativePointer node, - const Callback_Union_Number_Resource_Void* callback) + void OnSelect1Impl(Ark_NativePointer node, + const Opt_OnSelectCallback* value) { } - void _onChangeEvent_valueImpl(Ark_NativePointer node, - const Callback_ResourceStr_Void* callback) + void Space0Impl(Ark_NativePointer node, + const Ark_Length* value) { } - } // SelectAttributeModifier - namespace ShapeModifier { - Ark_NativePointer ConstructImpl(Ark_Int32 id, - Ark_Int32 flags) + void Space1Impl(Ark_NativePointer node, + const Opt_Length* value) { - return {}; } - } // ShapeModifier - namespace ShapeInterfaceModifier { - void SetShapeOptions0Impl(Ark_NativePointer node, - Ark_PixelMap value) + void ArrowPosition0Impl(Ark_NativePointer node, + Ark_ArrowPosition value) { } - void SetShapeOptions1Impl(Ark_NativePointer node) + void ArrowPosition1Impl(Ark_NativePointer node, + const Opt_ArrowPosition* value) { } - } // ShapeInterfaceModifier - namespace ShapeAttributeModifier { - void ViewPortImpl(Ark_NativePointer node, - const Ark_ViewportRect* value) + void OptionWidth0Impl(Ark_NativePointer node, + const Ark_Union_Dimension_OptionWidthMode* value) { } - void StrokeImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void OptionWidth1Impl(Ark_NativePointer node, + const Opt_Union_Dimension_OptionWidthMode* value) { } - void FillImpl(Ark_NativePointer node, + void OptionHeight0Impl(Ark_NativePointer node, + const Ark_Dimension* value) + { + } + void OptionHeight1Impl(Ark_NativePointer node, + const Opt_Dimension* value) + { + } + void MenuBackgroundColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + } + void MenuBackgroundColor1Impl(Ark_NativePointer node, + const Opt_ResourceColor* value) + { + } + void MenuBackgroundBlurStyle0Impl(Ark_NativePointer node, + Ark_BlurStyle value) + { + } + void MenuBackgroundBlurStyle1Impl(Ark_NativePointer node, + const Opt_BlurStyle* value) + { + } + void ControlSize0Impl(Ark_NativePointer node, + Ark_ControlSize value) + { + } + void ControlSize1Impl(Ark_NativePointer node, + const Opt_ControlSize* value) + { + } + void MenuItemContentModifier0Impl(Ark_NativePointer node, + const Ark_Object* value) + { + } + void MenuItemContentModifier1Impl(Ark_NativePointer node, + const Opt_ContentModifier* value) + { + } + void DividerImpl(Ark_NativePointer node, + const Opt_DividerOptions* value) + { + } + void TextModifierImpl(Ark_NativePointer node, + const Opt_TextModifier* value) + { + } + void ArrowModifierImpl(Ark_NativePointer node, + const Opt_SymbolGlyphModifier* value) + { + } + void OptionTextModifierImpl(Ark_NativePointer node, + const Opt_TextModifier* value) + { + } + void SelectedOptionTextModifierImpl(Ark_NativePointer node, + const Opt_TextModifier* value) + { + } + void DividerStyleImpl(Ark_NativePointer node, + const Opt_DividerStyleOptions* value) + { + } + void AvoidanceImpl(Ark_NativePointer node, + Ark_AvoidanceMode value) + { + } + void MenuOutlineImpl(Ark_NativePointer node, + const Ark_MenuOutlineOptions* value) + { + } + void MenuAlign0Impl(Ark_NativePointer node, + Ark_MenuAlignType alignType, + const Opt_Offset* offset) + { + } + void MenuAlign1Impl(Ark_NativePointer node, + const Opt_MenuAlignType* alignType, + const Opt_Offset* offset) + { + } + void _onChangeEvent_selectedImpl(Ark_NativePointer node, + const Callback_Union_Number_Resource_Void* callback) + { + } + void _onChangeEvent_valueImpl(Ark_NativePointer node, + const Callback_ResourceStr_Void* callback) + { + } + } // SelectAttributeModifier + namespace ShapeModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + return {}; + } + } // ShapeModifier + namespace ShapeInterfaceModifier { + void SetShapeOptions0Impl(Ark_NativePointer node, + Ark_PixelMap value) + { + } + void SetShapeOptions1Impl(Ark_NativePointer node) + { + } + } // ShapeInterfaceModifier + namespace ShapeAttributeModifier { + void ViewPortImpl(Ark_NativePointer node, + const Ark_ViewportRect* value) + { + } + void StrokeImpl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + } + void FillImpl(Ark_NativePointer node, const Ark_ResourceColor* value) { } @@ -5477,7 +6261,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void StrokeDashArrayImpl(Ark_NativePointer node, - const Array_Union_String_Number_Resource* value) + const Array_Length* value) { } void StrokeLineCapImpl(Ark_NativePointer node, @@ -5537,8 +6321,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Union_ResourceColor_LinearGradient* value) { } - void SelectedColorImpl(Ark_NativePointer node, - const Ark_ResourceColor* value) + void SelectedColor0Impl(Ark_NativePointer node, + const Ark_ResourceColor* value) + { + } + void SelectedColor1Impl(Ark_NativePointer node, + const Ark_Union_ResourceColor_LinearGradient* value) { } void MinLabelImpl(Ark_NativePointer node, @@ -5554,7 +6342,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void TrackThicknessImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void OnChangeImpl(Ark_NativePointer node, @@ -5566,7 +6354,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void BlockBorderWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void StepColorImpl(Ark_NativePointer node, @@ -5574,11 +6362,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void TrackBorderRadiusImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void SelectedBorderRadiusImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { } void BlockSizeImpl(Ark_NativePointer node, @@ -5590,7 +6378,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void StepSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void SliderInteractionModeImpl(Ark_NativePointer node, @@ -5609,6 +6397,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_SlideRange* value) { } + void DigitalCrownSensitivityImpl(Ark_NativePointer node, + const Opt_CrownSensitivity* value) + { + } + void EnableHapticFeedbackImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } void ShowTipsImpl(Ark_NativePointer node, Ark_Boolean value, const Opt_ResourceStr* content) @@ -5685,7 +6481,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void LineHeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void TextShadowImpl(Ark_NativePointer node, @@ -5799,8 +6595,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Number* value) { } - void AutoPlayImpl(Ark_NativePointer node, - Ark_Boolean value) + void AutoPlay0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void AutoPlay1Impl(Ark_NativePointer node, + Ark_Boolean autoPlay, + const Ark_AutoPlayOptions* options) { } void IntervalImpl(Ark_NativePointer node, @@ -5812,7 +6613,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void Indicator1Impl(Ark_NativePointer node, - Ark_IndicatorComponentController value) + const Ark_Type_SwiperAttribute_indicator_indicator* value) { } void LoopImpl(Ark_NativePointer node, @@ -5835,8 +6636,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_SwiperDisplayMode value) { } - void CachedCountImpl(Ark_NativePointer node, - const Ark_Number* value) + void CachedCount0Impl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void CachedCount1Impl(Ark_NativePointer node, + const Ark_Number* count, + Ark_Boolean isShown) { } void EffectModeImpl(Ark_NativePointer node, @@ -5855,10 +6661,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Callback_Number_Void* value) { } + void OnSelectedImpl(Ark_NativePointer node, + const Callback_Number_Void* value) + { + } void IndicatorStyleImpl(Ark_NativePointer node, const Opt_IndicatorStyle* value) { } + void OnUnselectedImpl(Ark_NativePointer node, + const Callback_Number_Void* value) + { + } void OnAnimationStartImpl(Ark_NativePointer node, const OnSwiperAnimationStartCallback* value) { @@ -5887,6 +6701,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_Boolean value) { } + void PageFlipModeImpl(Ark_NativePointer node, + const Opt_PageFlipMode* value) + { + } + void OnContentWillScrollImpl(Ark_NativePointer node, + const ContentWillScrollCallback* value) + { + } void DisplayArrowImpl(Ark_NativePointer node, const Ark_Union_ArrowStyle_Boolean* value, const Opt_Boolean* isHoverShow) @@ -5898,12 +6720,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void PrevMarginImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value, + const Ark_Length* value, const Opt_Boolean* ignoreBlank) { } void NextMarginImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value, + const Ark_Length* value, const Opt_Boolean* ignoreBlank) { } @@ -5985,6 +6807,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_SymbolRenderingStrategy value) { } + void MinFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + } void SymbolEffect0Impl(Ark_NativePointer node, Ark_SymbolEffect symbolEffect, const Opt_Boolean* isActive) @@ -6067,11 +6897,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void BarWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void BarHeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void AnimationDurationImpl(Ark_NativePointer node, @@ -6090,10 +6920,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Callback_Number_Void* value) { } + void OnSelectedImpl(Ark_NativePointer node, + const Callback_Number_Void* value) + { + } void OnTabBarClickImpl(Ark_NativePointer node, const Callback_Number_Void* value) { } + void OnUnselectedImpl(Ark_NativePointer node, + const Callback_Number_Void* value) + { + } void OnAnimationStartImpl(Ark_NativePointer node, const OnTabsAnimationStartCallback* value) { @@ -6143,6 +6981,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_BackgroundEffectOptions* value) { } + void PageFlipModeImpl(Ark_NativePointer node, + const Opt_PageFlipMode* value) + { + } void OnContentWillChangeImpl(Ark_NativePointer node, const OnTabsContentWillChangeCallback* value) { @@ -6151,6 +6993,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_ScrollableBarModeOptions* options) { } + void CachedMaxCountImpl(Ark_NativePointer node, + const Ark_Number* count, + Ark_TabsCacheMode mode) + { + } void _onChangeEvent_indexImpl(Ark_NativePointer node, const Callback_Number_Void* callback) { @@ -6177,6 +7024,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Union_SubTabBarStyle_BottomTabBarStyle* value) { } + void TabBar2Impl(Ark_NativePointer node, + const Ark_Type_TabContentAttribute_tabBar_content* value) + { + } void OnWillShowImpl(Ark_NativePointer node, const VoidCallback* value) { @@ -6304,7 +7155,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void TextIndentImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void WordBreakImpl(Ark_NativePointer node, @@ -6347,6 +7198,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_String* value) { } + void MarqueeOptionsImpl(Ark_NativePointer node, + const Opt_TextMarqueeOptions* value) + { + } + void OnMarqueeStateChangeImpl(Ark_NativePointer node, + const Callback_MarqueeState_Void* value) + { + } void PrivacySensitiveImpl(Ark_NativePointer node, Ark_Boolean value) { @@ -6419,7 +7278,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void FontStyleImpl(Ark_NativePointer node, @@ -6439,7 +7298,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void TextIndentImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { } void CaretStyleImpl(Ark_NativePointer node, @@ -6518,6 +7377,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Union_Number_String_Resource* value) { } + void MinFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + } void HeightAdaptivePolicyImpl(Ark_NativePointer node, Ark_TextHeightAdaptivePolicy value) { @@ -6594,6 +7461,30 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_Boolean value) { } + void AutoCapitalizationModeImpl(Ark_NativePointer node, + Ark_AutoCapitalizationMode value) + { + } + void HalfLeadingImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void EllipsisModeImpl(Ark_NativePointer node, + const Opt_EllipsisMode* value) + { + } + void StopBackPressImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void OnWillChangeImpl(Ark_NativePointer node, + const Callback_EditableTextChangeValue_Boolean* value) + { + } + void KeyboardAppearanceImpl(Ark_NativePointer node, + const Opt_KeyboardAppearance* value) + { + } void InputFilterImpl(Ark_NativePointer node, const Ark_ResourceStr* value, const Opt_Callback_String_Void* error) @@ -6641,7 +7532,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void FontStyleImpl(Ark_NativePointer node, @@ -6704,7 +7595,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void TextIndentImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { } void PlaceholderFontImpl(Ark_NativePointer node, @@ -6752,7 +7643,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void FontStyleImpl(Ark_NativePointer node, @@ -6871,6 +7762,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Union_Number_String_Resource* value) { } + void MinFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + } + void MaxFontScaleImpl(Ark_NativePointer node, + const Opt_Union_Number_Resource* value) + { + } void HeightAdaptivePolicyImpl(Ark_NativePointer node, Ark_TextHeightAdaptivePolicy value) { @@ -6935,6 +7834,30 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_Boolean value) { } + void AutoCapitalizationModeImpl(Ark_NativePointer node, + Ark_AutoCapitalizationMode value) + { + } + void HalfLeadingImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void EllipsisModeImpl(Ark_NativePointer node, + const Opt_EllipsisMode* value) + { + } + void StopBackPressImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void OnWillChangeImpl(Ark_NativePointer node, + const Callback_EditableTextChangeValue_Boolean* value) + { + } + void KeyboardAppearanceImpl(Ark_NativePointer node, + const Opt_KeyboardAppearance* value) + { + } void InputFilterImpl(Ark_NativePointer node, const Ark_ResourceStr* value, const Opt_Callback_String_Void* error) @@ -6969,24 +7892,52 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // TextPickerInterfaceModifier namespace TextPickerAttributeModifier { - void DefaultPickerItemHeightImpl(Ark_NativePointer node, - const Ark_Union_Number_String* value) + void DefaultPickerItemHeight0Impl(Ark_NativePointer node, + const Ark_Union_Number_String* value) { } - void CanLoopImpl(Ark_NativePointer node, - Ark_Boolean value) + void DefaultPickerItemHeight1Impl(Ark_NativePointer node, + const Opt_Union_Number_String* value) + { + } + void CanLoop0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void CanLoop1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void DisappearTextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void DisappearTextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { } - void DisappearTextStyleImpl(Ark_NativePointer node, + void TextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void TextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) + { + } + void SelectedTextStyle0Impl(Ark_NativePointer node, const Ark_PickerTextStyle* value) { } - void TextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void SelectedTextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { } - void SelectedTextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void DisableTextStyleAnimationImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void DefaultTextStyleImpl(Ark_NativePointer node, + const Ark_TextPickerTextStyle* value) { } void OnAcceptImpl(Ark_NativePointer node, @@ -6997,20 +7948,56 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Callback_Void* value) { } - void OnChangeImpl(Ark_NativePointer node, - const Type_TextPickerAttribute_onChange_callback* value) + void OnChange0Impl(Ark_NativePointer node, + const Type_TextPickerAttribute_onChange_callback* value) { } - void SelectedIndexImpl(Ark_NativePointer node, - const Ark_Union_Number_Array_Number* value) + void OnChange1Impl(Ark_NativePointer node, + const Opt_OnTextPickerChangeCallback* value) { } - void DividerImpl(Ark_NativePointer node, - const Opt_DividerOptions* value) + void OnScrollStop0Impl(Ark_NativePointer node, + const TextPickerScrollStopCallback* value) + { + } + void OnScrollStop1Impl(Ark_NativePointer node, + const Opt_TextPickerScrollStopCallback* value) + { + } + void OnEnterSelectedAreaImpl(Ark_NativePointer node, + const TextPickerEnterSelectedAreaCallback* value) + { + } + void SelectedIndex0Impl(Ark_NativePointer node, + const Ark_Union_Number_Array_Number* value) { } - void GradientHeightImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + void SelectedIndex1Impl(Ark_NativePointer node, + const Opt_Union_Number_Array_Number* value) + { + } + void Divider0Impl(Ark_NativePointer node, + const Opt_DividerOptions* value) + { + } + void Divider1Impl(Ark_NativePointer node, + const Opt_DividerOptions* value) + { + } + void GradientHeight0Impl(Ark_NativePointer node, + const Ark_Dimension* value) + { + } + void GradientHeight1Impl(Ark_NativePointer node, + const Opt_Dimension* value) + { + } + void EnableHapticFeedbackImpl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void DigitalCrownSensitivityImpl(Ark_NativePointer node, + const Opt_CrownSensitivity* value) { } void _onChangeEvent_selectedImpl(Ark_NativePointer node, @@ -7045,7 +8032,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void FontSizeImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void FontStyleImpl(Ark_NativePointer node, @@ -7087,36 +8074,80 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // TimePickerInterfaceModifier namespace TimePickerAttributeModifier { - void UseMilitaryTimeImpl(Ark_NativePointer node, - Ark_Boolean value) + void UseMilitaryTime0Impl(Ark_NativePointer node, + Ark_Boolean value) { } - void LoopImpl(Ark_NativePointer node, - Ark_Boolean value) + void UseMilitaryTime1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void Loop0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void Loop1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void DisappearTextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void DisappearTextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) + { + } + void TextStyle0Impl(Ark_NativePointer node, + const Ark_PickerTextStyle* value) + { + } + void TextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { } - void DisappearTextStyleImpl(Ark_NativePointer node, + void SelectedTextStyle0Impl(Ark_NativePointer node, const Ark_PickerTextStyle* value) { } - void TextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void SelectedTextStyle1Impl(Ark_NativePointer node, + const Opt_PickerTextStyle* value) { } - void SelectedTextStyleImpl(Ark_NativePointer node, - const Ark_PickerTextStyle* value) + void DateTimeOptions0Impl(Ark_NativePointer node, + const Ark_DateTimeOptions* value) { } - void DateTimeOptionsImpl(Ark_NativePointer node, - const Ark_DateTimeOptions* value) + void DateTimeOptions1Impl(Ark_NativePointer node, + const Opt_DateTimeOptions* value) { } - void OnChangeImpl(Ark_NativePointer node, - const Callback_TimePickerResult_Void* value) + void OnChange0Impl(Ark_NativePointer node, + const Callback_TimePickerResult_Void* value) { } - void EnableHapticFeedbackImpl(Ark_NativePointer node, - Ark_Boolean value) + void OnChange1Impl(Ark_NativePointer node, + const Opt_OnTimePickerChangeCallback* value) + { + } + void OnEnterSelectedAreaImpl(Ark_NativePointer node, + const Callback_TimePickerResult_Void* value) + { + } + void EnableHapticFeedback0Impl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void EnableHapticFeedback1Impl(Ark_NativePointer node, + const Opt_Boolean* value) + { + } + void DigitalCrownSensitivityImpl(Ark_NativePointer node, + const Opt_CrownSensitivity* value) + { + } + void EnableCascadeImpl(Ark_NativePointer node, + Ark_Boolean value) { } void _onChangeEvent_selectedImpl(Ark_NativePointer node, @@ -7245,6 +8276,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_ImageAnalyzerConfig* value) { } + void SurfaceBackgroundColorImpl(Ark_NativePointer node, + Ark_ColorMetrics value) + { + } + void EnableShortcutKeyImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } } // VideoAttributeModifier namespace WebModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -7332,6 +8371,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_OverScrollMode value) { } + void BlurOnKeyboardHideModeImpl(Ark_NativePointer node, + Ark_BlurOnKeyboardHideMode value) + { + } void TextZoomAtioImpl(Ark_NativePointer node, const Ark_Number* value) { @@ -7696,10 +8739,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_NativeMediaPlayerConfig* value) { } - void EnableSmoothDragResizeImpl(Ark_NativePointer node, - Ark_Boolean value) - { - } void OnRenderProcessNotRespondingImpl(Ark_NativePointer node, const OnRenderProcessNotRespondingCallback* value) { @@ -7736,6 +8775,34 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_Boolean value) { } + void OptimizeParserBudgetImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void EnableFollowSystemFontWeightImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void EnableWebAVSessionImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } + void RunJavaScriptOnDocumentStartImpl(Ark_NativePointer node, + const Array_ScriptItem* value) + { + } + void RunJavaScriptOnDocumentEndImpl(Ark_NativePointer node, + const Array_ScriptItem* value) + { + } + void RunJavaScriptOnHeadEndImpl(Ark_NativePointer node, + const Array_ScriptItem* value) + { + } + void NativeEmbedOptionsImpl(Ark_NativePointer node, + const Opt_EmbedOptions* value) + { + } void RegisterNativeEmbedRuleImpl(Ark_NativePointer node, const Ark_String* tag, const Ark_String* type) @@ -7789,6 +8856,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_XComponentOptions* options) { } + void SetXComponentOptions3Impl(Ark_NativePointer node, + const Ark_NativeXComponentParameters* params) + { + } } // XComponentInterfaceModifier namespace XComponentAttributeModifier { void OnLoadImpl(Ark_NativePointer node, @@ -7807,6 +8878,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_Boolean value) { } + void HdrBrightnessImpl(Ark_NativePointer node, + const Ark_Number* value) + { + } + void EnableTransparentLayerImpl(Ark_NativePointer node, + Ark_Boolean value) + { + } } // XComponentAttributeModifier namespace SideBarContainerModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -7843,7 +8922,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void SideBarWidth1Impl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void MinSideBarWidth0Impl(Ark_NativePointer node, @@ -7851,7 +8930,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void MinSideBarWidth1Impl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void MaxSideBarWidth0Impl(Ark_NativePointer node, @@ -7859,7 +8938,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void MaxSideBarWidth1Impl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void AutoHideImpl(Ark_NativePointer node, @@ -7875,7 +8954,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void MinContentWidthImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Dimension* value) { } void _onChangeEvent_showSideBarImpl(Ark_NativePointer node, @@ -7923,11 +9002,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void ColumnsGapImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void RowsGapImpl(Ark_NativePointer node, - const Ark_Union_String_Number_Resource* value) + const Ark_Length* value) { } void LayoutDirectionImpl(Ark_NativePointer node, @@ -8011,6 +9090,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Callback_TerminationInfo_Void* value) { } + void OnDrawReadyImpl(Ark_NativePointer node, + const Callback_Void* value) + { + } } // UIExtensionComponentAttributeModifier namespace LinearIndicatorModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -8166,6 +9249,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { ButtonAttributeModifier::FontFamilyImpl, ButtonAttributeModifier::ContentModifierImpl, ButtonAttributeModifier::LabelStyleImpl, + ButtonAttributeModifier::MinFontScaleImpl, + ButtonAttributeModifier::MaxFontScaleImpl, }; return &ArkUIButtonModifierImpl; } @@ -8197,56 +9282,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUICalendarPickerModifier ArkUICalendarPickerModifierImpl { CalendarPickerModifier::ConstructImpl, CalendarPickerInterfaceModifier::SetCalendarPickerOptionsImpl, - CalendarPickerAttributeModifier::TextStyleImpl, - CalendarPickerAttributeModifier::OnChangeImpl, - CalendarPickerAttributeModifier::EdgeAlignImpl, + CalendarPickerAttributeModifier::TextStyle0Impl, + CalendarPickerAttributeModifier::TextStyle1Impl, + CalendarPickerAttributeModifier::OnChange0Impl, + CalendarPickerAttributeModifier::OnChange1Impl, + CalendarPickerAttributeModifier::MarkTodayImpl, + CalendarPickerAttributeModifier::EdgeAlign0Impl, + CalendarPickerAttributeModifier::EdgeAlign1Impl, }; return &ArkUICalendarPickerModifierImpl; } - const GENERATED_ArkUINavigationModifier* GetNavigationModifier() - { - static const GENERATED_ArkUINavigationModifier ArkUINavigationModifierImpl { - NavigationModifier::ConstructImpl, - NavigationInterfaceModifier::SetNavigationOptions0Impl, - NavigationInterfaceModifier::SetNavigationOptions1Impl, - NavigationAttributeModifier::NavBarWidthImpl, - NavigationAttributeModifier::NavBarPositionImpl, - NavigationAttributeModifier::NavBarWidthRangeImpl, - NavigationAttributeModifier::MinContentWidthImpl, - NavigationAttributeModifier::ModeImpl, - NavigationAttributeModifier::BackButtonIconImpl, - NavigationAttributeModifier::HideNavBarImpl, - NavigationAttributeModifier::SubTitleImpl, - NavigationAttributeModifier::HideTitleBar0Impl, - NavigationAttributeModifier::HideTitleBar1Impl, - NavigationAttributeModifier::HideBackButtonImpl, - NavigationAttributeModifier::TitleModeImpl, - NavigationAttributeModifier::MenusImpl, - NavigationAttributeModifier::ToolBarImpl, - NavigationAttributeModifier::HideToolBar0Impl, - NavigationAttributeModifier::HideToolBar1Impl, - NavigationAttributeModifier::OnTitleModeChangeImpl, - NavigationAttributeModifier::OnNavBarStateChangeImpl, - NavigationAttributeModifier::OnNavigationModeChangeImpl, - NavigationAttributeModifier::NavDestinationImpl, - NavigationAttributeModifier::CustomNavContentTransitionImpl, - NavigationAttributeModifier::SystemBarStyleImpl, - NavigationAttributeModifier::RecoverableImpl, - NavigationAttributeModifier::EnableDragBarImpl, - NavigationAttributeModifier::TitleImpl, - NavigationAttributeModifier::ToolbarConfigurationImpl, - NavigationAttributeModifier::IgnoreLayoutSafeAreaImpl, - }; - return &ArkUINavigationModifierImpl; - } - const GENERATED_ArkUICommonMethodModifier* GetCommonMethodModifier() { static const GENERATED_ArkUICommonMethodModifier ArkUICommonMethodModifierImpl { CommonMethodModifier::ConstructImpl, - CommonMethodModifier::WidthImpl, - CommonMethodModifier::HeightImpl, + CommonMethodModifier::Width0Impl, + CommonMethodModifier::Width1Impl, + CommonMethodModifier::Height0Impl, + CommonMethodModifier::Height1Impl, CommonMethodModifier::DrawModifierImpl, CommonMethodModifier::ResponseRegionImpl, CommonMethodModifier::MouseResponseRegionImpl, @@ -8260,40 +9314,57 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonMethodModifier::PaddingImpl, CommonMethodModifier::SafeAreaPaddingImpl, CommonMethodModifier::MarginImpl, - CommonMethodModifier::BackgroundColorImpl, + CommonMethodModifier::BackgroundColor0Impl, + CommonMethodModifier::BackgroundColor1Impl, CommonMethodModifier::PixelRoundImpl, CommonMethodModifier::BackgroundImageSizeImpl, CommonMethodModifier::BackgroundImagePositionImpl, - CommonMethodModifier::BackgroundEffectImpl, + CommonMethodModifier::BackgroundEffect0Impl, + CommonMethodModifier::BackgroundEffect1Impl, CommonMethodModifier::BackgroundImageResizableImpl, CommonMethodModifier::ForegroundEffectImpl, CommonMethodModifier::VisualEffectImpl, CommonMethodModifier::BackgroundFilterImpl, CommonMethodModifier::ForegroundFilterImpl, CommonMethodModifier::CompositingFilterImpl, - CommonMethodModifier::OpacityImpl, + CommonMethodModifier::Opacity0Impl, + CommonMethodModifier::Opacity1Impl, CommonMethodModifier::BorderImpl, CommonMethodModifier::BorderStyleImpl, CommonMethodModifier::BorderWidthImpl, CommonMethodModifier::BorderColorImpl, CommonMethodModifier::BorderRadiusImpl, CommonMethodModifier::BorderImageImpl, - CommonMethodModifier::OutlineImpl, - CommonMethodModifier::OutlineStyleImpl, - CommonMethodModifier::OutlineWidthImpl, - CommonMethodModifier::OutlineColorImpl, - CommonMethodModifier::OutlineRadiusImpl, - CommonMethodModifier::ForegroundColorImpl, + CommonMethodModifier::Outline0Impl, + CommonMethodModifier::Outline1Impl, + CommonMethodModifier::OutlineStyle0Impl, + CommonMethodModifier::OutlineStyle1Impl, + CommonMethodModifier::OutlineWidth0Impl, + CommonMethodModifier::OutlineWidth1Impl, + CommonMethodModifier::OutlineColor0Impl, + CommonMethodModifier::OutlineColor1Impl, + CommonMethodModifier::OutlineRadius0Impl, + CommonMethodModifier::OutlineRadius1Impl, + CommonMethodModifier::ForegroundColor0Impl, + CommonMethodModifier::ForegroundColor1Impl, CommonMethodModifier::OnClick0Impl, CommonMethodModifier::OnClick1Impl, CommonMethodModifier::OnHoverImpl, + CommonMethodModifier::OnHoverMoveImpl, CommonMethodModifier::OnAccessibilityHoverImpl, CommonMethodModifier::HoverEffectImpl, CommonMethodModifier::OnMouseImpl, CommonMethodModifier::OnTouchImpl, - CommonMethodModifier::OnKeyEventImpl, + CommonMethodModifier::OnKeyEvent0Impl, + CommonMethodModifier::OnKeyEvent1Impl, + CommonMethodModifier::OnDigitalCrownImpl, CommonMethodModifier::OnKeyPreImeImpl, + CommonMethodModifier::OnKeyEventDispatchImpl, + CommonMethodModifier::OnFocusAxisEventImpl, + CommonMethodModifier::OnAxisEventImpl, CommonMethodModifier::FocusableImpl, + CommonMethodModifier::NextFocusImpl, + CommonMethodModifier::TabStopImpl, CommonMethodModifier::OnFocusImpl, CommonMethodModifier::OnBlurImpl, CommonMethodModifier::TabIndexImpl, @@ -8304,26 +9375,43 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonMethodModifier::AnimationImpl, CommonMethodModifier::Transition0Impl, CommonMethodModifier::Transition1Impl, - CommonMethodModifier::MotionBlurImpl, - CommonMethodModifier::BrightnessImpl, - CommonMethodModifier::ContrastImpl, - CommonMethodModifier::GrayscaleImpl, - CommonMethodModifier::ColorBlendImpl, - CommonMethodModifier::SaturateImpl, - CommonMethodModifier::SepiaImpl, - CommonMethodModifier::InvertImpl, - CommonMethodModifier::HueRotateImpl, - CommonMethodModifier::UseShadowBatchingImpl, + CommonMethodModifier::MotionBlur0Impl, + CommonMethodModifier::MotionBlur1Impl, + CommonMethodModifier::Brightness0Impl, + CommonMethodModifier::Brightness1Impl, + CommonMethodModifier::Contrast0Impl, + CommonMethodModifier::Contrast1Impl, + CommonMethodModifier::Grayscale0Impl, + CommonMethodModifier::Grayscale1Impl, + CommonMethodModifier::ColorBlend0Impl, + CommonMethodModifier::ColorBlend1Impl, + CommonMethodModifier::Saturate0Impl, + CommonMethodModifier::Saturate1Impl, + CommonMethodModifier::Sepia0Impl, + CommonMethodModifier::Sepia1Impl, + CommonMethodModifier::Invert0Impl, + CommonMethodModifier::Invert1Impl, + CommonMethodModifier::HueRotate0Impl, + CommonMethodModifier::HueRotate1Impl, + CommonMethodModifier::UseShadowBatching0Impl, + CommonMethodModifier::UseShadowBatching1Impl, CommonMethodModifier::UseEffect0Impl, CommonMethodModifier::UseEffect1Impl, - CommonMethodModifier::RenderGroupImpl, - CommonMethodModifier::FreezeImpl, - CommonMethodModifier::TranslateImpl, - CommonMethodModifier::ScaleImpl, + CommonMethodModifier::UseEffect2Impl, + CommonMethodModifier::RenderGroup0Impl, + CommonMethodModifier::RenderGroup1Impl, + CommonMethodModifier::Freeze0Impl, + CommonMethodModifier::Freeze1Impl, + CommonMethodModifier::Translate0Impl, + CommonMethodModifier::Translate1Impl, + CommonMethodModifier::Scale0Impl, + CommonMethodModifier::Scale1Impl, CommonMethodModifier::GridSpanImpl, CommonMethodModifier::GridOffsetImpl, - CommonMethodModifier::RotateImpl, - CommonMethodModifier::TransformImpl, + CommonMethodModifier::Rotate0Impl, + CommonMethodModifier::Rotate1Impl, + CommonMethodModifier::Transform0Impl, + CommonMethodModifier::Transform1Impl, CommonMethodModifier::OnAppearImpl, CommonMethodModifier::OnDisAppearImpl, CommonMethodModifier::OnAttachImpl, @@ -8346,41 +9434,61 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonMethodModifier::AlignRules0Impl, CommonMethodModifier::AlignRules1Impl, CommonMethodModifier::AspectRatioImpl, - CommonMethodModifier::ClickEffectImpl, + CommonMethodModifier::ClickEffect0Impl, + CommonMethodModifier::ClickEffect1Impl, CommonMethodModifier::OnDragStartImpl, CommonMethodModifier::OnDragEnterImpl, CommonMethodModifier::OnDragMoveImpl, CommonMethodModifier::OnDragLeaveImpl, - CommonMethodModifier::OnDropImpl, + CommonMethodModifier::OnDrop0Impl, + CommonMethodModifier::OnDrop1Impl, CommonMethodModifier::OnDragEndImpl, CommonMethodModifier::AllowDropImpl, CommonMethodModifier::DraggableImpl, - CommonMethodModifier::DragPreviewImpl, + CommonMethodModifier::DragPreview0Impl, + CommonMethodModifier::DragPreview1Impl, CommonMethodModifier::OnPreDragImpl, - CommonMethodModifier::LinearGradientImpl, - CommonMethodModifier::SweepGradientImpl, - CommonMethodModifier::RadialGradientImpl, + CommonMethodModifier::LinearGradient0Impl, + CommonMethodModifier::LinearGradient1Impl, + CommonMethodModifier::SweepGradient0Impl, + CommonMethodModifier::SweepGradient1Impl, + CommonMethodModifier::RadialGradient0Impl, + CommonMethodModifier::RadialGradient1Impl, CommonMethodModifier::MotionPathImpl, - CommonMethodModifier::ShadowImpl, + CommonMethodModifier::Shadow0Impl, + CommonMethodModifier::Shadow1Impl, CommonMethodModifier::Clip0Impl, CommonMethodModifier::Clip1Impl, - CommonMethodModifier::ClipShapeImpl, + CommonMethodModifier::Clip2Impl, + CommonMethodModifier::ClipShape0Impl, + CommonMethodModifier::ClipShape1Impl, CommonMethodModifier::Mask0Impl, CommonMethodModifier::Mask1Impl, - CommonMethodModifier::MaskShapeImpl, + CommonMethodModifier::Mask2Impl, + CommonMethodModifier::MaskShape0Impl, + CommonMethodModifier::MaskShape1Impl, CommonMethodModifier::KeyImpl, CommonMethodModifier::IdImpl, CommonMethodModifier::GeometryTransition0Impl, CommonMethodModifier::GeometryTransition1Impl, CommonMethodModifier::StateStylesImpl, CommonMethodModifier::RestoreIdImpl, - CommonMethodModifier::SphericalEffectImpl, - CommonMethodModifier::LightUpEffectImpl, - CommonMethodModifier::PixelStretchEffectImpl, + CommonMethodModifier::SphericalEffect0Impl, + CommonMethodModifier::SphericalEffect1Impl, + CommonMethodModifier::LightUpEffect0Impl, + CommonMethodModifier::LightUpEffect1Impl, + CommonMethodModifier::PixelStretchEffect0Impl, + CommonMethodModifier::PixelStretchEffect1Impl, CommonMethodModifier::AccessibilityGroup0Impl, CommonMethodModifier::AccessibilityGroup1Impl, CommonMethodModifier::AccessibilityText0Impl, CommonMethodModifier::AccessibilityText1Impl, + CommonMethodModifier::AccessibilityNextFocusIdImpl, + CommonMethodModifier::AccessibilityDefaultFocusImpl, + CommonMethodModifier::AccessibilityUseSamePageImpl, + CommonMethodModifier::AccessibilityScrollTriggerableImpl, + CommonMethodModifier::AccessibilityRoleImpl, + CommonMethodModifier::OnAccessibilityFocusImpl, CommonMethodModifier::AccessibilityTextHintImpl, CommonMethodModifier::AccessibilityDescription0Impl, CommonMethodModifier::AccessibilityDescription1Impl, @@ -8390,9 +9498,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonMethodModifier::AccessibilitySelectedImpl, CommonMethodModifier::ObscuredImpl, CommonMethodModifier::ReuseIdImpl, - CommonMethodModifier::RenderFitImpl, + CommonMethodModifier::ReuseImpl, + CommonMethodModifier::RenderFit0Impl, + CommonMethodModifier::RenderFit1Impl, CommonMethodModifier::GestureModifierImpl, - CommonMethodModifier::BackgroundBrightnessImpl, + CommonMethodModifier::BackgroundBrightness0Impl, + CommonMethodModifier::BackgroundBrightness1Impl, CommonMethodModifier::OnGestureJudgeBeginImpl, CommonMethodModifier::OnGestureRecognizerJudgeBegin0Impl, CommonMethodModifier::OnGestureRecognizerJudgeBegin1Impl, @@ -8400,28 +9511,37 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonMethodModifier::MonopolizeEventsImpl, CommonMethodModifier::OnTouchInterceptImpl, CommonMethodModifier::OnSizeChangeImpl, + CommonMethodModifier::AccessibilityFocusDrawLevelImpl, CommonMethodModifier::CustomPropertyImpl, CommonMethodModifier::ExpandSafeAreaImpl, CommonMethodModifier::BackgroundImpl, - CommonMethodModifier::BackgroundImageImpl, - CommonMethodModifier::BackgroundBlurStyleImpl, - CommonMethodModifier::ForegroundBlurStyleImpl, + CommonMethodModifier::BackgroundImage0Impl, + CommonMethodModifier::BackgroundImage1Impl, + CommonMethodModifier::BackgroundBlurStyle0Impl, + CommonMethodModifier::BackgroundBlurStyle1Impl, + CommonMethodModifier::ForegroundBlurStyle0Impl, + CommonMethodModifier::ForegroundBlurStyle1Impl, CommonMethodModifier::FocusScopeId0Impl, CommonMethodModifier::FocusScopeId1Impl, CommonMethodModifier::FocusScopePriorityImpl, CommonMethodModifier::GestureImpl, CommonMethodModifier::PriorityGestureImpl, CommonMethodModifier::ParallelGestureImpl, - CommonMethodModifier::BlurImpl, - CommonMethodModifier::LinearGradientBlurImpl, + CommonMethodModifier::Blur0Impl, + CommonMethodModifier::Blur1Impl, + CommonMethodModifier::LinearGradientBlur0Impl, + CommonMethodModifier::LinearGradientBlur1Impl, CommonMethodModifier::SystemBarEffectImpl, - CommonMethodModifier::BackdropBlurImpl, + CommonMethodModifier::BackdropBlur0Impl, + CommonMethodModifier::BackdropBlur1Impl, CommonMethodModifier::SharedTransitionImpl, CommonMethodModifier::ChainModeImpl, CommonMethodModifier::DragPreviewOptionsImpl, CommonMethodModifier::OverlayImpl, - CommonMethodModifier::BlendModeImpl, + CommonMethodModifier::BlendMode0Impl, + CommonMethodModifier::BlendMode1Impl, CommonMethodModifier::AdvancedBlendModeImpl, + CommonMethodModifier::BindTipsImpl, CommonMethodModifier::BindPopupImpl, CommonMethodModifier::BindMenu0Impl, CommonMethodModifier::BindMenu1Impl, @@ -8431,6 +9551,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { CommonMethodModifier::BindContentCover1Impl, CommonMethodModifier::BindSheetImpl, CommonMethodModifier::OnVisibleAreaChangeImpl, + CommonMethodModifier::OnVisibleAreaApproximateChangeImpl, CommonMethodModifier::KeyboardShortcutImpl, }; return &ArkUICommonMethodModifierImpl; @@ -8481,12 +9602,55 @@ namespace OHOS::Ace::NG::GeneratedModifier { ScrollableCommonMethodModifier::OnScrollStopImpl, ScrollableCommonMethodModifier::FlingSpeedLimitImpl, ScrollableCommonMethodModifier::ClipContentImpl, + ScrollableCommonMethodModifier::DigitalCrownSensitivityImpl, + ScrollableCommonMethodModifier::BackToTopImpl, ScrollableCommonMethodModifier::EdgeEffectImpl, ScrollableCommonMethodModifier::FadingEdgeImpl, }; return &ArkUIScrollableCommonMethodModifierImpl; } + const GENERATED_ArkUINavigationModifier* GetNavigationModifier() + { + static const GENERATED_ArkUINavigationModifier ArkUINavigationModifierImpl { + NavigationModifier::ConstructImpl, + NavigationInterfaceModifier::SetNavigationOptions0Impl, + NavigationInterfaceModifier::SetNavigationOptions1Impl, + NavigationAttributeModifier::NavBarWidthImpl, + NavigationAttributeModifier::NavBarPositionImpl, + NavigationAttributeModifier::NavBarWidthRangeImpl, + NavigationAttributeModifier::MinContentWidthImpl, + NavigationAttributeModifier::ModeImpl, + NavigationAttributeModifier::BackButtonIcon0Impl, + NavigationAttributeModifier::BackButtonIcon1Impl, + NavigationAttributeModifier::HideNavBarImpl, + NavigationAttributeModifier::SubTitleImpl, + NavigationAttributeModifier::HideTitleBar0Impl, + NavigationAttributeModifier::HideTitleBar1Impl, + NavigationAttributeModifier::HideBackButtonImpl, + NavigationAttributeModifier::TitleModeImpl, + NavigationAttributeModifier::Menus0Impl, + NavigationAttributeModifier::Menus1Impl, + NavigationAttributeModifier::ToolBarImpl, + NavigationAttributeModifier::HideToolBar0Impl, + NavigationAttributeModifier::HideToolBar1Impl, + NavigationAttributeModifier::EnableToolBarAdaptationImpl, + NavigationAttributeModifier::OnTitleModeChangeImpl, + NavigationAttributeModifier::OnNavBarStateChangeImpl, + NavigationAttributeModifier::OnNavigationModeChangeImpl, + NavigationAttributeModifier::NavDestinationImpl, + NavigationAttributeModifier::CustomNavContentTransitionImpl, + NavigationAttributeModifier::SystemBarStyleImpl, + NavigationAttributeModifier::RecoverableImpl, + NavigationAttributeModifier::EnableDragBarImpl, + NavigationAttributeModifier::EnableModeChangeAnimationImpl, + NavigationAttributeModifier::TitleImpl, + NavigationAttributeModifier::ToolbarConfigurationImpl, + NavigationAttributeModifier::IgnoreLayoutSafeAreaImpl, + }; + return &ArkUINavigationModifierImpl; + } + const GENERATED_ArkUICanvasModifier* GetCanvasModifier() { static const GENERATED_ArkUICanvasModifier ArkUICanvasModifierImpl { @@ -8504,13 +9668,20 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUICheckboxModifier ArkUICheckboxModifierImpl { CheckboxModifier::ConstructImpl, CheckboxInterfaceModifier::SetCheckboxOptionsImpl, - CheckboxAttributeModifier::SelectImpl, - CheckboxAttributeModifier::SelectedColorImpl, - CheckboxAttributeModifier::ShapeImpl, - CheckboxAttributeModifier::UnselectedColorImpl, - CheckboxAttributeModifier::MarkImpl, - CheckboxAttributeModifier::OnChangeImpl, - CheckboxAttributeModifier::ContentModifierImpl, + CheckboxAttributeModifier::Select0Impl, + CheckboxAttributeModifier::Select1Impl, + CheckboxAttributeModifier::SelectedColor0Impl, + CheckboxAttributeModifier::SelectedColor1Impl, + CheckboxAttributeModifier::Shape0Impl, + CheckboxAttributeModifier::Shape1Impl, + CheckboxAttributeModifier::UnselectedColor0Impl, + CheckboxAttributeModifier::UnselectedColor1Impl, + CheckboxAttributeModifier::Mark0Impl, + CheckboxAttributeModifier::Mark1Impl, + CheckboxAttributeModifier::OnChange0Impl, + CheckboxAttributeModifier::OnChange1Impl, + CheckboxAttributeModifier::ContentModifier0Impl, + CheckboxAttributeModifier::ContentModifier1Impl, CheckboxAttributeModifier::_onChangeEvent_selectImpl, }; return &ArkUICheckboxModifierImpl; @@ -8521,12 +9692,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUICheckboxGroupModifier ArkUICheckboxGroupModifierImpl { CheckboxGroupModifier::ConstructImpl, CheckboxGroupInterfaceModifier::SetCheckboxGroupOptionsImpl, - CheckboxGroupAttributeModifier::SelectAllImpl, - CheckboxGroupAttributeModifier::SelectedColorImpl, - CheckboxGroupAttributeModifier::UnselectedColorImpl, - CheckboxGroupAttributeModifier::MarkImpl, - CheckboxGroupAttributeModifier::OnChangeImpl, - CheckboxGroupAttributeModifier::CheckboxShapeImpl, + CheckboxGroupAttributeModifier::SelectAll0Impl, + CheckboxGroupAttributeModifier::SelectAll1Impl, + CheckboxGroupAttributeModifier::SelectedColor0Impl, + CheckboxGroupAttributeModifier::SelectedColor1Impl, + CheckboxGroupAttributeModifier::UnselectedColor0Impl, + CheckboxGroupAttributeModifier::UnselectedColor1Impl, + CheckboxGroupAttributeModifier::Mark0Impl, + CheckboxGroupAttributeModifier::Mark1Impl, + CheckboxGroupAttributeModifier::OnChange0Impl, + CheckboxGroupAttributeModifier::OnChange1Impl, + CheckboxGroupAttributeModifier::CheckboxShape0Impl, + CheckboxGroupAttributeModifier::CheckboxShape1Impl, CheckboxGroupAttributeModifier::_onChangeEvent_selectAllImpl, }; return &ArkUICheckboxGroupModifierImpl; @@ -8545,7 +9722,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { { static const GENERATED_ArkUIColumnModifier ArkUIColumnModifierImpl { ColumnModifier::ConstructImpl, - ColumnInterfaceModifier::SetColumnOptionsImpl, + ColumnInterfaceModifier::SetColumnOptions0Impl, + ColumnInterfaceModifier::SetColumnOptions1Impl, ColumnAttributeModifier::AlignItemsImpl, ColumnAttributeModifier::JustifyContentImpl, ColumnAttributeModifier::PointLightImpl, @@ -8624,12 +9802,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUIDatePickerModifier ArkUIDatePickerModifierImpl { DatePickerModifier::ConstructImpl, DatePickerInterfaceModifier::SetDatePickerOptionsImpl, - DatePickerAttributeModifier::LunarImpl, - DatePickerAttributeModifier::DisappearTextStyleImpl, - DatePickerAttributeModifier::TextStyleImpl, - DatePickerAttributeModifier::SelectedTextStyleImpl, + DatePickerAttributeModifier::Lunar0Impl, + DatePickerAttributeModifier::Lunar1Impl, + DatePickerAttributeModifier::DisappearTextStyle0Impl, + DatePickerAttributeModifier::DisappearTextStyle1Impl, + DatePickerAttributeModifier::TextStyle0Impl, + DatePickerAttributeModifier::TextStyle1Impl, + DatePickerAttributeModifier::SelectedTextStyle0Impl, + DatePickerAttributeModifier::SelectedTextStyle1Impl, DatePickerAttributeModifier::OnChangeImpl, - DatePickerAttributeModifier::OnDateChangeImpl, + DatePickerAttributeModifier::OnDateChange0Impl, + DatePickerAttributeModifier::OnDateChange1Impl, + DatePickerAttributeModifier::DigitalCrownSensitivityImpl, + DatePickerAttributeModifier::EnableHapticFeedbackImpl, DatePickerAttributeModifier::_onChangeEvent_selectedImpl, }; return &ArkUIDatePickerModifierImpl; @@ -8870,8 +10055,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageAttributeModifier::AltImpl, ImageAttributeModifier::MatchTextDirectionImpl, ImageAttributeModifier::FitOriginalSizeImpl, - ImageAttributeModifier::FillColorImpl, + ImageAttributeModifier::FillColor0Impl, + ImageAttributeModifier::FillColor1Impl, ImageAttributeModifier::ObjectFitImpl, + ImageAttributeModifier::ImageMatrixImpl, ImageAttributeModifier::ObjectRepeatImpl, ImageAttributeModifier::AutoResizeImpl, ImageAttributeModifier::RenderModeImpl, @@ -8892,6 +10079,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageAttributeModifier::ResizableImpl, ImageAttributeModifier::PrivacySensitiveImpl, ImageAttributeModifier::EnhancedImageQualityImpl, + ImageAttributeModifier::OrientationImpl, }; return &ArkUIImageModifierImpl; } @@ -8909,6 +10097,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageAnimatorAttributeModifier::PreDecodeImpl, ImageAnimatorAttributeModifier::FillModeImpl, ImageAnimatorAttributeModifier::IterationsImpl, + ImageAnimatorAttributeModifier::MonitorInvisibleAreaImpl, ImageAnimatorAttributeModifier::OnStartImpl, ImageAnimatorAttributeModifier::OnPauseImpl, ImageAnimatorAttributeModifier::OnRepeatImpl, @@ -8933,6 +10122,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIImageSpanModifierImpl; } + const GENERATED_ArkUILazyGridLayoutModifier* GetLazyGridLayoutModifier() + { + static const GENERATED_ArkUILazyGridLayoutModifier ArkUILazyGridLayoutModifierImpl { + LazyGridLayoutModifier::ConstructImpl, + LazyGridLayoutAttributeModifier::RowsGapImpl, + LazyGridLayoutAttributeModifier::ColumnsGapImpl, + }; + return &ArkUILazyGridLayoutModifierImpl; + } + + const GENERATED_ArkUILazyVGridLayoutModifier* GetLazyVGridLayoutModifier() + { + static const GENERATED_ArkUILazyVGridLayoutModifier ArkUILazyVGridLayoutModifierImpl { + LazyVGridLayoutModifier::ConstructImpl, + LazyVGridLayoutInterfaceModifier::SetLazyVGridLayoutOptionsImpl, + LazyVGridLayoutAttributeModifier::ColumnsTemplateImpl, + }; + return &ArkUILazyVGridLayoutModifierImpl; + } + const GENERATED_ArkUILineModifier* GetLineModifier() { static const GENERATED_ArkUILineModifier ArkUILineModifierImpl { @@ -8968,6 +10177,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ListAttributeModifier::FrictionImpl, ListAttributeModifier::ChildrenMainSizeImpl, ListAttributeModifier::MaintainVisibleContentPositionImpl, + ListAttributeModifier::StackFromEndImpl, ListAttributeModifier::OnScrollImpl, ListAttributeModifier::OnScrollIndexImpl, ListAttributeModifier::OnScrollVisibleContentChangeImpl, @@ -9116,12 +10326,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavDestinationInterfaceModifier::SetNavDestinationOptionsImpl, NavDestinationAttributeModifier::HideTitleBar0Impl, NavDestinationAttributeModifier::HideTitleBar1Impl, + NavDestinationAttributeModifier::HideBackButtonImpl, NavDestinationAttributeModifier::OnShownImpl, NavDestinationAttributeModifier::OnHiddenImpl, NavDestinationAttributeModifier::OnBackPressedImpl, + NavDestinationAttributeModifier::OnResultImpl, NavDestinationAttributeModifier::ModeImpl, - NavDestinationAttributeModifier::BackButtonIconImpl, - NavDestinationAttributeModifier::MenusImpl, + NavDestinationAttributeModifier::BackButtonIcon0Impl, + NavDestinationAttributeModifier::BackButtonIcon1Impl, + NavDestinationAttributeModifier::Menus0Impl, + NavDestinationAttributeModifier::Menus1Impl, NavDestinationAttributeModifier::OnReadyImpl, NavDestinationAttributeModifier::OnWillAppearImpl, NavDestinationAttributeModifier::OnWillDisappearImpl, @@ -9130,10 +10344,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { NavDestinationAttributeModifier::SystemBarStyleImpl, NavDestinationAttributeModifier::RecoverableImpl, NavDestinationAttributeModifier::SystemTransitionImpl, + NavDestinationAttributeModifier::BindToScrollableImpl, + NavDestinationAttributeModifier::BindToNestedScrollableImpl, + NavDestinationAttributeModifier::OnActiveImpl, + NavDestinationAttributeModifier::OnInactiveImpl, + NavDestinationAttributeModifier::CustomTransitionImpl, + NavDestinationAttributeModifier::OnNewParamImpl, + NavDestinationAttributeModifier::PreferredOrientationImpl, + NavDestinationAttributeModifier::EnableNavigationIndicatorImpl, NavDestinationAttributeModifier::TitleImpl, NavDestinationAttributeModifier::ToolbarConfigurationImpl, NavDestinationAttributeModifier::HideToolBarImpl, NavDestinationAttributeModifier::IgnoreLayoutSafeAreaImpl, + NavDestinationAttributeModifier::EnableStatusBarImpl, }; return &ArkUINavDestinationModifierImpl; } @@ -9233,6 +10456,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PatternLockAttributeModifier::AutoResetImpl, PatternLockAttributeModifier::OnDotConnectImpl, PatternLockAttributeModifier::ActivateCircleStyleImpl, + PatternLockAttributeModifier::SkipUnselectedPointImpl, }; return &ArkUIPatternLockModifierImpl; } @@ -9299,10 +10523,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUIRadioModifier ArkUIRadioModifierImpl { RadioModifier::ConstructImpl, RadioInterfaceModifier::SetRadioOptionsImpl, - RadioAttributeModifier::CheckedImpl, - RadioAttributeModifier::OnChangeImpl, + RadioAttributeModifier::Checked0Impl, + RadioAttributeModifier::Checked1Impl, + RadioAttributeModifier::OnChange0Impl, + RadioAttributeModifier::OnChange1Impl, RadioAttributeModifier::RadioStyleImpl, - RadioAttributeModifier::ContentModifierImpl, + RadioAttributeModifier::ContentModifier0Impl, + RadioAttributeModifier::ContentModifier1Impl, RadioAttributeModifier::_onChangeEvent_checkedImpl, }; return &ArkUIRadioModifierImpl; @@ -9313,11 +10540,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUIRatingModifier ArkUIRatingModifierImpl { RatingModifier::ConstructImpl, RatingInterfaceModifier::SetRatingOptionsImpl, - RatingAttributeModifier::StarsImpl, - RatingAttributeModifier::StepSizeImpl, - RatingAttributeModifier::StarStyleImpl, - RatingAttributeModifier::OnChangeImpl, - RatingAttributeModifier::ContentModifierImpl, + RatingAttributeModifier::Stars0Impl, + RatingAttributeModifier::Stars1Impl, + RatingAttributeModifier::StepSize0Impl, + RatingAttributeModifier::StepSize1Impl, + RatingAttributeModifier::StarStyle0Impl, + RatingAttributeModifier::StarStyle1Impl, + RatingAttributeModifier::OnChange0Impl, + RatingAttributeModifier::OnChange1Impl, + RatingAttributeModifier::ContentModifier0Impl, + RatingAttributeModifier::ContentModifier1Impl, RatingAttributeModifier::_onChangeEvent_ratingImpl, }; return &ArkUIRatingModifierImpl; @@ -9395,6 +10627,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { RichEditorAttributeModifier::EnableKeyboardOnFocusImpl, RichEditorAttributeModifier::EnableHapticFeedbackImpl, RichEditorAttributeModifier::BarStateImpl, + RichEditorAttributeModifier::MaxLengthImpl, + RichEditorAttributeModifier::MaxLinesImpl, + RichEditorAttributeModifier::KeyboardAppearanceImpl, + RichEditorAttributeModifier::StopBackPressImpl, RichEditorAttributeModifier::BindSelectionMenuImpl, RichEditorAttributeModifier::CustomKeyboardImpl, RichEditorAttributeModifier::PlaceholderImpl, @@ -9426,7 +10662,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { { static const GENERATED_ArkUIRowModifier ArkUIRowModifierImpl { RowModifier::ConstructImpl, - RowInterfaceModifier::SetRowOptionsImpl, + RowInterfaceModifier::SetRowOptions0Impl, + RowInterfaceModifier::SetRowOptions1Impl, RowAttributeModifier::AlignItemsImpl, RowAttributeModifier::JustifyContentImpl, RowAttributeModifier::PointLightImpl, @@ -9534,6 +10771,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SearchAttributeModifier::SelectionMenuHiddenImpl, SearchAttributeModifier::MinFontSizeImpl, SearchAttributeModifier::MaxFontSizeImpl, + SearchAttributeModifier::MinFontScaleImpl, + SearchAttributeModifier::MaxFontScaleImpl, SearchAttributeModifier::DecorationImpl, SearchAttributeModifier::LetterSpacingImpl, SearchAttributeModifier::LineHeightImpl, @@ -9546,6 +10785,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { SearchAttributeModifier::EditMenuOptionsImpl, SearchAttributeModifier::EnablePreviewTextImpl, SearchAttributeModifier::EnableHapticFeedbackImpl, + SearchAttributeModifier::AutoCapitalizationModeImpl, + SearchAttributeModifier::HalfLeadingImpl, + SearchAttributeModifier::StopBackPressImpl, + SearchAttributeModifier::OnWillChangeImpl, + SearchAttributeModifier::KeyboardAppearanceImpl, SearchAttributeModifier::SearchButtonImpl, SearchAttributeModifier::InputFilterImpl, SearchAttributeModifier::CustomKeyboardImpl, @@ -9573,7 +10817,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SecurityComponentMethodModifier::BorderStyleImpl, SecurityComponentMethodModifier::BorderWidthImpl, SecurityComponentMethodModifier::BorderColorImpl, - SecurityComponentMethodModifier::BorderRadiusImpl, + SecurityComponentMethodModifier::BorderRadius0Impl, + SecurityComponentMethodModifier::BorderRadius1Impl, SecurityComponentMethodModifier::PaddingImpl, SecurityComponentMethodModifier::TextIconSpaceImpl, SecurityComponentMethodModifier::KeyImpl, @@ -9581,6 +10826,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { SecurityComponentMethodModifier::HeightImpl, SecurityComponentMethodModifier::SizeImpl, SecurityComponentMethodModifier::ConstraintSizeImpl, + SecurityComponentMethodModifier::AlignImpl, + SecurityComponentMethodModifier::AlignRules0Impl, + SecurityComponentMethodModifier::AlignRules1Impl, + SecurityComponentMethodModifier::IdImpl, + SecurityComponentMethodModifier::MinFontScaleImpl, + SecurityComponentMethodModifier::MaxFontScaleImpl, + SecurityComponentMethodModifier::MaxLinesImpl, + SecurityComponentMethodModifier::MinFontSizeImpl, + SecurityComponentMethodModifier::MaxFontSizeImpl, + SecurityComponentMethodModifier::HeightAdaptivePolicyImpl, + SecurityComponentMethodModifier::EnabledImpl, + SecurityComponentMethodModifier::ChainModeImpl, }; return &ArkUISecurityComponentMethodModifierImpl; } @@ -9590,27 +10847,54 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUISelectModifier ArkUISelectModifierImpl { SelectModifier::ConstructImpl, SelectInterfaceModifier::SetSelectOptionsImpl, - SelectAttributeModifier::SelectedImpl, - SelectAttributeModifier::ValueImpl, - SelectAttributeModifier::FontImpl, - SelectAttributeModifier::FontColorImpl, - SelectAttributeModifier::SelectedOptionBgColorImpl, - SelectAttributeModifier::SelectedOptionFontImpl, - SelectAttributeModifier::SelectedOptionFontColorImpl, - SelectAttributeModifier::OptionBgColorImpl, - SelectAttributeModifier::OptionFontImpl, - SelectAttributeModifier::OptionFontColorImpl, - SelectAttributeModifier::OnSelectImpl, - SelectAttributeModifier::SpaceImpl, - SelectAttributeModifier::ArrowPositionImpl, - SelectAttributeModifier::OptionWidthImpl, - SelectAttributeModifier::OptionHeightImpl, - SelectAttributeModifier::MenuBackgroundColorImpl, - SelectAttributeModifier::MenuBackgroundBlurStyleImpl, - SelectAttributeModifier::ControlSizeImpl, - SelectAttributeModifier::MenuItemContentModifierImpl, + SelectAttributeModifier::Selected0Impl, + SelectAttributeModifier::Selected1Impl, + SelectAttributeModifier::Value0Impl, + SelectAttributeModifier::Value1Impl, + SelectAttributeModifier::Font0Impl, + SelectAttributeModifier::Font1Impl, + SelectAttributeModifier::FontColor0Impl, + SelectAttributeModifier::FontColor1Impl, + SelectAttributeModifier::SelectedOptionBgColor0Impl, + SelectAttributeModifier::SelectedOptionBgColor1Impl, + SelectAttributeModifier::SelectedOptionFont0Impl, + SelectAttributeModifier::SelectedOptionFont1Impl, + SelectAttributeModifier::SelectedOptionFontColor0Impl, + SelectAttributeModifier::SelectedOptionFontColor1Impl, + SelectAttributeModifier::OptionBgColor0Impl, + SelectAttributeModifier::OptionBgColor1Impl, + SelectAttributeModifier::OptionFont0Impl, + SelectAttributeModifier::OptionFont1Impl, + SelectAttributeModifier::OptionFontColor0Impl, + SelectAttributeModifier::OptionFontColor1Impl, + SelectAttributeModifier::OnSelect0Impl, + SelectAttributeModifier::OnSelect1Impl, + SelectAttributeModifier::Space0Impl, + SelectAttributeModifier::Space1Impl, + SelectAttributeModifier::ArrowPosition0Impl, + SelectAttributeModifier::ArrowPosition1Impl, + SelectAttributeModifier::OptionWidth0Impl, + SelectAttributeModifier::OptionWidth1Impl, + SelectAttributeModifier::OptionHeight0Impl, + SelectAttributeModifier::OptionHeight1Impl, + SelectAttributeModifier::MenuBackgroundColor0Impl, + SelectAttributeModifier::MenuBackgroundColor1Impl, + SelectAttributeModifier::MenuBackgroundBlurStyle0Impl, + SelectAttributeModifier::MenuBackgroundBlurStyle1Impl, + SelectAttributeModifier::ControlSize0Impl, + SelectAttributeModifier::ControlSize1Impl, + SelectAttributeModifier::MenuItemContentModifier0Impl, + SelectAttributeModifier::MenuItemContentModifier1Impl, SelectAttributeModifier::DividerImpl, - SelectAttributeModifier::MenuAlignImpl, + SelectAttributeModifier::TextModifierImpl, + SelectAttributeModifier::ArrowModifierImpl, + SelectAttributeModifier::OptionTextModifierImpl, + SelectAttributeModifier::SelectedOptionTextModifierImpl, + SelectAttributeModifier::DividerStyleImpl, + SelectAttributeModifier::AvoidanceImpl, + SelectAttributeModifier::MenuOutlineImpl, + SelectAttributeModifier::MenuAlign0Impl, + SelectAttributeModifier::MenuAlign1Impl, SelectAttributeModifier::_onChangeEvent_selectedImpl, SelectAttributeModifier::_onChangeEvent_valueImpl, }; @@ -9647,7 +10931,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SliderInterfaceModifier::SetSliderOptionsImpl, SliderAttributeModifier::BlockColorImpl, SliderAttributeModifier::TrackColorImpl, - SliderAttributeModifier::SelectedColorImpl, + SliderAttributeModifier::SelectedColor0Impl, + SliderAttributeModifier::SelectedColor1Impl, SliderAttributeModifier::MinLabelImpl, SliderAttributeModifier::MaxLabelImpl, SliderAttributeModifier::ShowStepsImpl, @@ -9665,6 +10950,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SliderAttributeModifier::MinResponsiveDistanceImpl, SliderAttributeModifier::ContentModifierImpl, SliderAttributeModifier::SlideRangeImpl, + SliderAttributeModifier::DigitalCrownSensitivityImpl, + SliderAttributeModifier::EnableHapticFeedbackImpl, SliderAttributeModifier::ShowTipsImpl, SliderAttributeModifier::_onChangeEvent_valueImpl, }; @@ -9745,7 +11032,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwiperModifier::ConstructImpl, SwiperInterfaceModifier::SetSwiperOptionsImpl, SwiperAttributeModifier::IndexImpl, - SwiperAttributeModifier::AutoPlayImpl, + SwiperAttributeModifier::AutoPlay0Impl, + SwiperAttributeModifier::AutoPlay1Impl, SwiperAttributeModifier::IntervalImpl, SwiperAttributeModifier::Indicator0Impl, SwiperAttributeModifier::Indicator1Impl, @@ -9754,12 +11042,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwiperAttributeModifier::VerticalImpl, SwiperAttributeModifier::ItemSpaceImpl, SwiperAttributeModifier::DisplayModeImpl, - SwiperAttributeModifier::CachedCountImpl, + SwiperAttributeModifier::CachedCount0Impl, + SwiperAttributeModifier::CachedCount1Impl, SwiperAttributeModifier::EffectModeImpl, SwiperAttributeModifier::DisableSwipeImpl, SwiperAttributeModifier::CurveImpl, SwiperAttributeModifier::OnChangeImpl, + SwiperAttributeModifier::OnSelectedImpl, SwiperAttributeModifier::IndicatorStyleImpl, + SwiperAttributeModifier::OnUnselectedImpl, SwiperAttributeModifier::OnAnimationStartImpl, SwiperAttributeModifier::OnAnimationEndImpl, SwiperAttributeModifier::OnGestureSwipeImpl, @@ -9767,6 +11058,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwiperAttributeModifier::CustomContentTransitionImpl, SwiperAttributeModifier::OnContentDidScrollImpl, SwiperAttributeModifier::IndicatorInteractiveImpl, + SwiperAttributeModifier::PageFlipModeImpl, + SwiperAttributeModifier::OnContentWillScrollImpl, SwiperAttributeModifier::DisplayArrowImpl, SwiperAttributeModifier::DisplayCountImpl, SwiperAttributeModifier::PrevMarginImpl, @@ -9801,6 +11094,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { SymbolGlyphAttributeModifier::FontWeightImpl, SymbolGlyphAttributeModifier::EffectStrategyImpl, SymbolGlyphAttributeModifier::RenderingStrategyImpl, + SymbolGlyphAttributeModifier::MinFontScaleImpl, + SymbolGlyphAttributeModifier::MaxFontScaleImpl, SymbolGlyphAttributeModifier::SymbolEffect0Impl, SymbolGlyphAttributeModifier::SymbolEffect1Impl, }; @@ -9837,7 +11132,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { TabsAttributeModifier::AnimationModeImpl, TabsAttributeModifier::EdgeEffectImpl, TabsAttributeModifier::OnChangeImpl, + TabsAttributeModifier::OnSelectedImpl, TabsAttributeModifier::OnTabBarClickImpl, + TabsAttributeModifier::OnUnselectedImpl, TabsAttributeModifier::OnAnimationStartImpl, TabsAttributeModifier::OnAnimationEndImpl, TabsAttributeModifier::OnGestureSwipeImpl, @@ -9850,8 +11147,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { TabsAttributeModifier::BarBackgroundBlurStyle0Impl, TabsAttributeModifier::BarBackgroundBlurStyle1Impl, TabsAttributeModifier::BarBackgroundEffectImpl, + TabsAttributeModifier::PageFlipModeImpl, TabsAttributeModifier::OnContentWillChangeImpl, TabsAttributeModifier::BarModeScrollableImpl, + TabsAttributeModifier::CachedMaxCountImpl, TabsAttributeModifier::_onChangeEvent_indexImpl, }; return &ArkUITabsModifierImpl; @@ -9864,6 +11163,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { TabContentInterfaceModifier::SetTabContentOptionsImpl, TabContentAttributeModifier::TabBar0Impl, TabContentAttributeModifier::TabBar1Impl, + TabContentAttributeModifier::TabBar2Impl, TabContentAttributeModifier::OnWillShowImpl, TabContentAttributeModifier::OnWillHideImpl, }; @@ -9911,6 +11211,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextAttributeModifier::DataDetectorConfigImpl, TextAttributeModifier::OnTextSelectionChangeImpl, TextAttributeModifier::FontFeatureImpl, + TextAttributeModifier::MarqueeOptionsImpl, + TextAttributeModifier::OnMarqueeStateChangeImpl, TextAttributeModifier::PrivacySensitiveImpl, TextAttributeModifier::TextSelectableImpl, TextAttributeModifier::EditMenuOptionsImpl, @@ -9958,6 +11260,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextAreaAttributeModifier::SelectionMenuHiddenImpl, TextAreaAttributeModifier::MinFontSizeImpl, TextAreaAttributeModifier::MaxFontSizeImpl, + TextAreaAttributeModifier::MinFontScaleImpl, + TextAreaAttributeModifier::MaxFontScaleImpl, TextAreaAttributeModifier::HeightAdaptivePolicyImpl, TextAreaAttributeModifier::MaxLinesImpl, TextAreaAttributeModifier::WordBreakImpl, @@ -9977,6 +11281,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextAreaAttributeModifier::EditMenuOptionsImpl, TextAreaAttributeModifier::EnablePreviewTextImpl, TextAreaAttributeModifier::EnableHapticFeedbackImpl, + TextAreaAttributeModifier::AutoCapitalizationModeImpl, + TextAreaAttributeModifier::HalfLeadingImpl, + TextAreaAttributeModifier::EllipsisModeImpl, + TextAreaAttributeModifier::StopBackPressImpl, + TextAreaAttributeModifier::OnWillChangeImpl, + TextAreaAttributeModifier::KeyboardAppearanceImpl, TextAreaAttributeModifier::InputFilterImpl, TextAreaAttributeModifier::ShowCounterImpl, TextAreaAttributeModifier::CustomKeyboardImpl, @@ -10056,6 +11366,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextInputAttributeModifier::SelectAllImpl, TextInputAttributeModifier::MinFontSizeImpl, TextInputAttributeModifier::MaxFontSizeImpl, + TextInputAttributeModifier::MinFontScaleImpl, + TextInputAttributeModifier::MaxFontScaleImpl, TextInputAttributeModifier::HeightAdaptivePolicyImpl, TextInputAttributeModifier::EnableAutoFillImpl, TextInputAttributeModifier::DecorationImpl, @@ -10072,6 +11384,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextInputAttributeModifier::EditMenuOptionsImpl, TextInputAttributeModifier::EnablePreviewTextImpl, TextInputAttributeModifier::EnableHapticFeedbackImpl, + TextInputAttributeModifier::AutoCapitalizationModeImpl, + TextInputAttributeModifier::HalfLeadingImpl, + TextInputAttributeModifier::EllipsisModeImpl, + TextInputAttributeModifier::StopBackPressImpl, + TextInputAttributeModifier::OnWillChangeImpl, + TextInputAttributeModifier::KeyboardAppearanceImpl, TextInputAttributeModifier::InputFilterImpl, TextInputAttributeModifier::CustomKeyboardImpl, TextInputAttributeModifier::ShowCounterImpl, @@ -10085,17 +11403,33 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUITextPickerModifier ArkUITextPickerModifierImpl { TextPickerModifier::ConstructImpl, TextPickerInterfaceModifier::SetTextPickerOptionsImpl, - TextPickerAttributeModifier::DefaultPickerItemHeightImpl, - TextPickerAttributeModifier::CanLoopImpl, - TextPickerAttributeModifier::DisappearTextStyleImpl, - TextPickerAttributeModifier::TextStyleImpl, - TextPickerAttributeModifier::SelectedTextStyleImpl, + TextPickerAttributeModifier::DefaultPickerItemHeight0Impl, + TextPickerAttributeModifier::DefaultPickerItemHeight1Impl, + TextPickerAttributeModifier::CanLoop0Impl, + TextPickerAttributeModifier::CanLoop1Impl, + TextPickerAttributeModifier::DisappearTextStyle0Impl, + TextPickerAttributeModifier::DisappearTextStyle1Impl, + TextPickerAttributeModifier::TextStyle0Impl, + TextPickerAttributeModifier::TextStyle1Impl, + TextPickerAttributeModifier::SelectedTextStyle0Impl, + TextPickerAttributeModifier::SelectedTextStyle1Impl, + TextPickerAttributeModifier::DisableTextStyleAnimationImpl, + TextPickerAttributeModifier::DefaultTextStyleImpl, TextPickerAttributeModifier::OnAcceptImpl, TextPickerAttributeModifier::OnCancelImpl, - TextPickerAttributeModifier::OnChangeImpl, - TextPickerAttributeModifier::SelectedIndexImpl, - TextPickerAttributeModifier::DividerImpl, - TextPickerAttributeModifier::GradientHeightImpl, + TextPickerAttributeModifier::OnChange0Impl, + TextPickerAttributeModifier::OnChange1Impl, + TextPickerAttributeModifier::OnScrollStop0Impl, + TextPickerAttributeModifier::OnScrollStop1Impl, + TextPickerAttributeModifier::OnEnterSelectedAreaImpl, + TextPickerAttributeModifier::SelectedIndex0Impl, + TextPickerAttributeModifier::SelectedIndex1Impl, + TextPickerAttributeModifier::Divider0Impl, + TextPickerAttributeModifier::Divider1Impl, + TextPickerAttributeModifier::GradientHeight0Impl, + TextPickerAttributeModifier::GradientHeight1Impl, + TextPickerAttributeModifier::EnableHapticFeedbackImpl, + TextPickerAttributeModifier::DigitalCrownSensitivityImpl, TextPickerAttributeModifier::_onChangeEvent_selectedImpl, TextPickerAttributeModifier::_onChangeEvent_valueImpl, }; @@ -10125,14 +11459,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUITimePickerModifier ArkUITimePickerModifierImpl { TimePickerModifier::ConstructImpl, TimePickerInterfaceModifier::SetTimePickerOptionsImpl, - TimePickerAttributeModifier::UseMilitaryTimeImpl, - TimePickerAttributeModifier::LoopImpl, - TimePickerAttributeModifier::DisappearTextStyleImpl, - TimePickerAttributeModifier::TextStyleImpl, - TimePickerAttributeModifier::SelectedTextStyleImpl, - TimePickerAttributeModifier::DateTimeOptionsImpl, - TimePickerAttributeModifier::OnChangeImpl, - TimePickerAttributeModifier::EnableHapticFeedbackImpl, + TimePickerAttributeModifier::UseMilitaryTime0Impl, + TimePickerAttributeModifier::UseMilitaryTime1Impl, + TimePickerAttributeModifier::Loop0Impl, + TimePickerAttributeModifier::Loop1Impl, + TimePickerAttributeModifier::DisappearTextStyle0Impl, + TimePickerAttributeModifier::DisappearTextStyle1Impl, + TimePickerAttributeModifier::TextStyle0Impl, + TimePickerAttributeModifier::TextStyle1Impl, + TimePickerAttributeModifier::SelectedTextStyle0Impl, + TimePickerAttributeModifier::SelectedTextStyle1Impl, + TimePickerAttributeModifier::DateTimeOptions0Impl, + TimePickerAttributeModifier::DateTimeOptions1Impl, + TimePickerAttributeModifier::OnChange0Impl, + TimePickerAttributeModifier::OnChange1Impl, + TimePickerAttributeModifier::OnEnterSelectedAreaImpl, + TimePickerAttributeModifier::EnableHapticFeedback0Impl, + TimePickerAttributeModifier::EnableHapticFeedback1Impl, + TimePickerAttributeModifier::DigitalCrownSensitivityImpl, + TimePickerAttributeModifier::EnableCascadeImpl, TimePickerAttributeModifier::_onChangeEvent_selectedImpl, }; return &ArkUITimePickerModifierImpl; @@ -10175,6 +11520,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { VideoAttributeModifier::OnStopImpl, VideoAttributeModifier::EnableAnalyzerImpl, VideoAttributeModifier::AnalyzerConfigImpl, + VideoAttributeModifier::SurfaceBackgroundColorImpl, + VideoAttributeModifier::EnableShortcutKeyImpl, }; return &ArkUIVideoModifierImpl; } @@ -10202,6 +11549,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { WebAttributeModifier::WideViewModeAccessImpl, WebAttributeModifier::OverviewModeAccessImpl, WebAttributeModifier::OverScrollModeImpl, + WebAttributeModifier::BlurOnKeyboardHideModeImpl, WebAttributeModifier::TextZoomAtioImpl, WebAttributeModifier::TextZoomRatioImpl, WebAttributeModifier::DatabaseAccessImpl, @@ -10293,7 +11641,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { WebAttributeModifier::OnOverrideUrlLoadingImpl, WebAttributeModifier::TextAutosizingImpl, WebAttributeModifier::EnableNativeMediaPlayerImpl, - WebAttributeModifier::EnableSmoothDragResizeImpl, WebAttributeModifier::OnRenderProcessNotRespondingImpl, WebAttributeModifier::OnRenderProcessRespondingImpl, WebAttributeModifier::SelectionMenuOptionsImpl, @@ -10303,6 +11650,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { WebAttributeModifier::KeyboardAvoidModeImpl, WebAttributeModifier::EditMenuOptionsImpl, WebAttributeModifier::EnableHapticFeedbackImpl, + WebAttributeModifier::OptimizeParserBudgetImpl, + WebAttributeModifier::EnableFollowSystemFontWeightImpl, + WebAttributeModifier::EnableWebAVSessionImpl, + WebAttributeModifier::RunJavaScriptOnDocumentStartImpl, + WebAttributeModifier::RunJavaScriptOnDocumentEndImpl, + WebAttributeModifier::RunJavaScriptOnHeadEndImpl, + WebAttributeModifier::NativeEmbedOptionsImpl, WebAttributeModifier::RegisterNativeEmbedRuleImpl, WebAttributeModifier::BindSelectionMenuImpl, }; @@ -10326,10 +11680,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { XComponentInterfaceModifier::SetXComponentOptions0Impl, XComponentInterfaceModifier::SetXComponentOptions1Impl, XComponentInterfaceModifier::SetXComponentOptions2Impl, + XComponentInterfaceModifier::SetXComponentOptions3Impl, XComponentAttributeModifier::OnLoadImpl, XComponentAttributeModifier::OnDestroyImpl, XComponentAttributeModifier::EnableAnalyzerImpl, XComponentAttributeModifier::EnableSecureImpl, + XComponentAttributeModifier::HdrBrightnessImpl, + XComponentAttributeModifier::EnableTransparentLayerImpl, }; return &ArkUIXComponentModifierImpl; } @@ -10402,6 +11759,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { UIExtensionComponentAttributeModifier::OnReleaseImpl, UIExtensionComponentAttributeModifier::OnErrorImpl, UIExtensionComponentAttributeModifier::OnTerminatedImpl, + UIExtensionComponentAttributeModifier::OnDrawReadyImpl, }; return &ArkUIUIExtensionComponentModifierImpl; } @@ -10431,11 +11789,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetButtonModifier, GetCalendarModifier, GetCalendarPickerModifier, - GetNavigationModifier, GetCommonMethodModifier, GetCommonModifier, GetCommonShapeMethodModifier, GetScrollableCommonMethodModifier, + GetNavigationModifier, GetCanvasModifier, GetCheckboxModifier, GetCheckboxGroupModifier, @@ -10466,6 +11824,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetImageModifier, GetImageAnimatorModifier, GetImageSpanModifier, + GetLazyGridLayoutModifier, + GetLazyVGridLayoutModifier, GetLineModifier, GetListModifier, GetListItemModifier, @@ -11469,12 +12829,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { return reinterpret_cast(&DestroyPeerImpl); } Ark_BaseShape WidthImpl(Ark_BaseShape peer, - const Ark_Union_String_Number_Resource* width) + const Ark_Length* width) { return {}; } Ark_BaseShape HeightImpl(Ark_BaseShape peer, - const Ark_Union_String_Number_Resource* height) + const Ark_Length* height) { return {}; } @@ -11516,12 +12876,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { return {}; } Ark_RectShape WidthImpl(Ark_RectShape peer, - const Ark_Union_String_Number_Resource* width) + const Ark_Length* width) { return {}; } Ark_RectShape HeightImpl(Ark_RectShape peer, - const Ark_Union_String_Number_Resource* height) + const Ark_Length* height) { return {}; } @@ -11578,12 +12938,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { return {}; } Ark_CircleShape WidthImpl(Ark_CircleShape peer, - const Ark_Union_String_Number_Resource* width) + const Ark_Length* width) { return {}; } Ark_CircleShape HeightImpl(Ark_CircleShape peer, - const Ark_Union_String_Number_Resource* height) + const Ark_Length* height) { return {}; } @@ -11625,12 +12985,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { return {}; } Ark_EllipseShape WidthImpl(Ark_EllipseShape peer, - const Ark_Union_String_Number_Resource* width) + const Ark_Length* width) { return {}; } Ark_EllipseShape HeightImpl(Ark_EllipseShape peer, - const Ark_Union_String_Number_Resource* height) + const Ark_Length* height) { return {}; } @@ -12695,640 +14055,410 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // CalendarPickerDialogAccessor - namespace NavPathInfoAccessor { - void DestroyPeerImpl(Ark_NavPathInfo peer) + namespace ICurveAccessor { + void DestroyPeerImpl(Ark_ICurve peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_NavPathInfo CtorImpl(const Ark_String* name, - const Ark_Object* param, - const Opt_Callback_PopInfo_Void* onPop, - const Opt_Boolean* isEntry) + Ark_ICurve CtorImpl() { - return new NavPathInfoPeer(name, param, onPop, isEntry); + return new ICurvePeer(); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - Ark_String GetNameImpl(Ark_NavPathInfo peer) + Ark_Number InterpolateImpl(Ark_ICurve peer, + const Ark_Number* fraction) { return {}; } - void SetNameImpl(Ark_NavPathInfo peer, - const Ark_String* name) + } // ICurveAccessor + namespace DrawModifierAccessor { + void DestroyPeerImpl(Ark_DrawModifier peer) { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Opt_Object GetParamImpl(Ark_NavPathInfo peer) + Ark_DrawModifier CtorImpl() { - return {}; + return new DrawModifierPeer(); } - void SetParamImpl(Ark_NavPathInfo peer, - const Ark_Object* param) + Ark_NativePointer GetFinalizerImpl() { + return reinterpret_cast(&DestroyPeerImpl); } - Opt_Callback_PopInfo_Void GetOnPopImpl(Ark_NavPathInfo peer) + void DrawBehindImpl(Ark_DrawModifier peer, + const Ark_DrawContext* drawContext) { - return {}; } - void SetOnPopImpl(Ark_NavPathInfo peer, - const Callback_PopInfo_Void* onPop) + void DrawContentImpl(Ark_DrawModifier peer, + const Ark_DrawContext* drawContext) { } - Opt_Boolean GetIsEntryImpl(Ark_NavPathInfo peer) + void DrawFrontImpl(Ark_DrawModifier peer, + const Ark_DrawContext* drawContext) { - return {}; } - void SetIsEntryImpl(Ark_NavPathInfo peer, - Ark_Boolean isEntry) + void InvalidateImpl(Ark_DrawModifier peer) { } - } // NavPathInfoAccessor - namespace NavPathStackAccessor { - void DestroyPeerImpl(Ark_NavPathStack peer) + } // DrawModifierAccessor + namespace TransitionEffectAccessor { + void DestroyPeerImpl(Ark_TransitionEffect peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_NavPathStack CtorImpl() + Ark_TransitionEffect CtorImpl(const Ark_String* type, + const Ark_TransitionEffects* effect) { - return new NavPathStackPeer(); + return new TransitionEffectPeer(type, effect); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - void PushPath0Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated) + Ark_TransitionEffect TranslateImpl(const Ark_TranslateOptions* options) { + return {}; } - void PushPath1Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options) + Ark_TransitionEffect RotateImpl(const Ark_RotateOptions* options) { + return {}; } - void PushDestination0Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_TransitionEffect ScaleImpl(const Ark_ScaleOptions* options) { + return {}; } - void PushDestination1Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_TransitionEffect OpacityImpl(const Ark_Number* alpha) { + return {}; } - void PushPathByName0Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated) + Ark_TransitionEffect MoveImpl(Ark_TransitionEdge edge) { + return {}; } - void PushPathByName1Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Callback_PopInfo_Void* onPop, - const Opt_Boolean* animated) + Ark_TransitionEffect AsymmetricImpl(Ark_TransitionEffect appear, + Ark_TransitionEffect disappear) { + return {}; } - void PushDestinationByName0Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_TransitionEffect AnimationImpl(Ark_TransitionEffect peer, + const Ark_AnimateParam* value) { + return {}; } - void PushDestinationByName1Impl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Callback_PopInfo_Void* onPop, - const Opt_Boolean* animated, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_TransitionEffect CombineImpl(Ark_TransitionEffect peer, + Ark_TransitionEffect transitionEffect) { + return {}; } - void ReplacePath0Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_Boolean* animated) + Ark_TransitionEffect GetIDENTITYImpl() { + return {}; } - void ReplacePath1Impl(Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options) + Ark_TransitionEffect GetOPACITYImpl() { + return {}; } - void ReplaceDestinationImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - Ark_NavPathStack peer, - Ark_NavPathInfo info, - const Opt_NavigationOptions* options, - const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + Ark_TransitionEffect GetSLIDEImpl() { + return {}; } - void ReplacePathByNameImpl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* param, - const Opt_Boolean* animated) + Ark_TransitionEffect GetSLIDE_SWITCHImpl() { + return {}; } - Ark_Number RemoveByIndexesImpl(Ark_NavPathStack peer, - const Array_Number* indexes) + } // TransitionEffectAccessor + namespace BaseEventAccessor { + void DestroyPeerImpl(Ark_BaseEvent peer) { - return {}; + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } } - Ark_Number RemoveByNameImpl(Ark_NavPathStack peer, - const Ark_String* name) + Ark_BaseEvent CtorImpl() { - return {}; + return new BaseEventPeer(); } - Ark_Boolean RemoveByNavDestinationIdImpl(Ark_NavPathStack peer, - const Ark_String* navDestinationId) + Ark_NativePointer GetFinalizerImpl() { - return {}; + return reinterpret_cast(&DestroyPeerImpl); } - Opt_NavPathInfo Pop0Impl(Ark_NavPathStack peer, - const Opt_Boolean* animated) + Ark_Boolean GetModifierKeyStateImpl(Ark_VMContext vmContext, + Ark_BaseEvent peer, + const Array_String* keys) { return {}; } - Opt_NavPathInfo Pop1Impl(Ark_NavPathStack peer, - const Ark_Object* result, - const Opt_Boolean* animated) + Ark_EventTarget GetTargetImpl(Ark_BaseEvent peer) { return {}; } - Ark_Number PopToName0Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Opt_Boolean* animated) + void SetTargetImpl(Ark_BaseEvent peer, + const Ark_EventTarget* target) { - return {}; } - Ark_Number PopToName1Impl(Ark_NavPathStack peer, - const Ark_String* name, - const Ark_Object* result, - const Opt_Boolean* animated) + Ark_Int64 GetTimestampImpl(Ark_BaseEvent peer) { return {}; } - void PopToIndex0Impl(Ark_NavPathStack peer, - const Ark_Number* index, - const Opt_Boolean* animated) + void SetTimestampImpl(Ark_BaseEvent peer, + Ark_Int64 timestamp) { } - void PopToIndex1Impl(Ark_NavPathStack peer, - const Ark_Number* index, - const Ark_Object* result, - const Opt_Boolean* animated) + Ark_SourceType GetSourceImpl(Ark_BaseEvent peer) { + return {}; } - Ark_Number MoveToTopImpl(Ark_NavPathStack peer, - const Ark_String* name, - const Opt_Boolean* animated) + void SetSourceImpl(Ark_BaseEvent peer, + Ark_SourceType source) + { + } + Opt_Number GetAxisHorizontalImpl(Ark_BaseEvent peer) { return {}; } - void MoveIndexToTopImpl(Ark_NavPathStack peer, - const Ark_Number* index, - const Opt_Boolean* animated) + void SetAxisHorizontalImpl(Ark_BaseEvent peer, + const Ark_Number* axisHorizontal) { } - void ClearImpl(Ark_NavPathStack peer, - const Opt_Boolean* animated) + Opt_Number GetAxisVerticalImpl(Ark_BaseEvent peer) { + return {}; } - Array_String GetAllPathNameImpl(Ark_NavPathStack peer) + void SetAxisVerticalImpl(Ark_BaseEvent peer, + const Ark_Number* axisVertical) + { + } + Ark_Number GetPressureImpl(Ark_BaseEvent peer) { return {}; } - Opt_Object GetParamByIndexImpl(Ark_NavPathStack peer, - const Ark_Number* index) + void SetPressureImpl(Ark_BaseEvent peer, + const Ark_Number* pressure) + { + } + Ark_Number GetTiltXImpl(Ark_BaseEvent peer) { return {}; } - Array_Object GetParamByNameImpl(Ark_NavPathStack peer, - const Ark_String* name) + void SetTiltXImpl(Ark_BaseEvent peer, + const Ark_Number* tiltX) + { + } + Ark_Number GetTiltYImpl(Ark_BaseEvent peer) { return {}; } - Array_Number GetIndexByNameImpl(Ark_NavPathStack peer, - const Ark_String* name) + void SetTiltYImpl(Ark_BaseEvent peer, + const Ark_Number* tiltY) + { + } + Opt_Number GetRollAngleImpl(Ark_BaseEvent peer) { return {}; } - Opt_NavPathStack GetParentImpl(Ark_NavPathStack peer) + void SetRollAngleImpl(Ark_BaseEvent peer, + const Ark_Number* rollAngle) + { + } + Ark_SourceTool GetSourceToolImpl(Ark_BaseEvent peer) { return {}; } - Ark_Number SizeImpl(Ark_NavPathStack peer) + void SetSourceToolImpl(Ark_BaseEvent peer, + Ark_SourceTool sourceTool) + { + } + Opt_Number GetDeviceIdImpl(Ark_BaseEvent peer) { return {}; } - void DisableAnimationImpl(Ark_NavPathStack peer, - Ark_Boolean value) + void SetDeviceIdImpl(Ark_BaseEvent peer, + const Ark_Number* deviceId) { } - void SetInterceptionImpl(Ark_NavPathStack peer, - const Ark_NavigationInterception* interception) + Opt_Number GetTargetDisplayIdImpl(Ark_BaseEvent peer) { + return {}; } - } // NavPathStackAccessor - namespace NavigationTransitionProxyAccessor { - void DestroyPeerImpl(Ark_NavigationTransitionProxy peer) + void SetTargetDisplayIdImpl(Ark_BaseEvent peer, + const Ark_Number* targetDisplayId) { - auto peerImpl = reinterpret_cast(peer); + } + } // BaseEventAccessor + namespace ClickEventAccessor { + void DestroyPeerImpl(Ark_ClickEvent peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_NavigationTransitionProxy CtorImpl() + Ark_ClickEvent CtorImpl() { - return new NavigationTransitionProxyPeer(); + return new ClickEventPeer(); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - void FinishTransitionImpl(Ark_NavigationTransitionProxy peer) - { - } - void CancelTransitionImpl(Ark_NavigationTransitionProxy peer) + Ark_Number GetDisplayXImpl(Ark_ClickEvent peer) { + return {}; } - void UpdateTransitionImpl(Ark_NavigationTransitionProxy peer, - const Ark_Number* progress) + void SetDisplayXImpl(Ark_ClickEvent peer, + const Ark_Number* displayX) { } - Ark_NavContentInfo GetFromImpl(Ark_NavigationTransitionProxy peer) + Ark_Number GetDisplayYImpl(Ark_ClickEvent peer) { return {}; } - void SetFromImpl(Ark_NavigationTransitionProxy peer, - const Ark_NavContentInfo* from) + void SetDisplayYImpl(Ark_ClickEvent peer, + const Ark_Number* displayY) { } - Ark_NavContentInfo GetToImpl(Ark_NavigationTransitionProxy peer) + Ark_Number GetWindowXImpl(Ark_ClickEvent peer) { return {}; } - void SetToImpl(Ark_NavigationTransitionProxy peer, - const Ark_NavContentInfo* to) + void SetWindowXImpl(Ark_ClickEvent peer, + const Ark_Number* windowX) { } - Opt_Boolean GetIsInteractiveImpl(Ark_NavigationTransitionProxy peer) + Ark_Number GetWindowYImpl(Ark_ClickEvent peer) { return {}; } - void SetIsInteractiveImpl(Ark_NavigationTransitionProxy peer, - Ark_Boolean isInteractive) + void SetWindowYImpl(Ark_ClickEvent peer, + const Ark_Number* windowY) { } - } // NavigationTransitionProxyAccessor - namespace ICurveAccessor { - void DestroyPeerImpl(Ark_ICurve peer) + Ark_Number GetScreenXImpl(Ark_ClickEvent peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_ICurve CtorImpl() + void SetScreenXImpl(Ark_ClickEvent peer, + const Ark_Number* screenX) { - return new ICurvePeer(); } - Ark_NativePointer GetFinalizerImpl() + Ark_Number GetScreenYImpl(Ark_ClickEvent peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - Ark_Number InterpolateImpl(Ark_ICurve peer, - const Ark_Number* fraction) + void SetScreenYImpl(Ark_ClickEvent peer, + const Ark_Number* screenY) + { + } + Ark_Number GetXImpl(Ark_ClickEvent peer) { return {}; } - } // ICurveAccessor - namespace DrawModifierAccessor { - void DestroyPeerImpl(Ark_DrawModifier peer) + void SetXImpl(Ark_ClickEvent peer, + const Ark_Number* x) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_DrawModifier CtorImpl() + Ark_Number GetYImpl(Ark_ClickEvent peer) { - return new DrawModifierPeer(); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetYImpl(Ark_ClickEvent peer, + const Ark_Number* y) { - return reinterpret_cast(&DestroyPeerImpl); } - void DrawBehindImpl(Ark_DrawModifier peer, - const Ark_DrawContext* drawContext) + Opt_InteractionHand GetHandImpl(Ark_ClickEvent peer) { + return {}; } - void DrawContentImpl(Ark_DrawModifier peer, - const Ark_DrawContext* drawContext) + void SetHandImpl(Ark_ClickEvent peer, + Ark_InteractionHand hand) { } - void DrawFrontImpl(Ark_DrawModifier peer, - const Ark_DrawContext* drawContext) + Callback_Void GetPreventDefaultImpl(Ark_ClickEvent peer) { + return {}; } - void InvalidateImpl(Ark_DrawModifier peer) + void SetPreventDefaultImpl(Ark_ClickEvent peer, + const Callback_Void* preventDefault) { } - } // DrawModifierAccessor - namespace TransitionEffectAccessor { - void DestroyPeerImpl(Ark_TransitionEffect peer) + } // ClickEventAccessor + namespace HoverEventAccessor { + void DestroyPeerImpl(Ark_HoverEvent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_TransitionEffect CtorImpl(const Ark_String* type, - const Ark_TransitionEffects* effect) + Ark_HoverEvent CtorImpl() { - return new TransitionEffectPeer(type, effect); + return new HoverEventPeer(); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - Ark_TransitionEffect TranslateImpl(const Ark_TranslateOptions* options) + Opt_Number GetXImpl(Ark_HoverEvent peer) { return {}; } - Ark_TransitionEffect RotateImpl(const Ark_RotateOptions* options) + void SetXImpl(Ark_HoverEvent peer, + const Ark_Number* x) { - return {}; } - Ark_TransitionEffect ScaleImpl(const Ark_ScaleOptions* options) + Opt_Number GetYImpl(Ark_HoverEvent peer) { return {}; } - Ark_TransitionEffect OpacityImpl(const Ark_Number* alpha) + void SetYImpl(Ark_HoverEvent peer, + const Ark_Number* y) { - return {}; } - Ark_TransitionEffect MoveImpl(Ark_TransitionEdge edge) + Opt_Number GetWindowXImpl(Ark_HoverEvent peer) { return {}; } - Ark_TransitionEffect AsymmetricImpl(Ark_TransitionEffect appear, - Ark_TransitionEffect disappear) + void SetWindowXImpl(Ark_HoverEvent peer, + const Ark_Number* windowX) { - return {}; } - Ark_TransitionEffect AnimationImpl(Ark_TransitionEffect peer, - const Ark_AnimateParam* value) + Opt_Number GetWindowYImpl(Ark_HoverEvent peer) { return {}; } - Ark_TransitionEffect CombineImpl(Ark_TransitionEffect peer, - Ark_TransitionEffect transitionEffect) + void SetWindowYImpl(Ark_HoverEvent peer, + const Ark_Number* windowY) { - return {}; } - Ark_TransitionEffect GetIDENTITYImpl() + Opt_Number GetDisplayXImpl(Ark_HoverEvent peer) { return {}; } - Ark_TransitionEffect GetOPACITYImpl() + void SetDisplayXImpl(Ark_HoverEvent peer, + const Ark_Number* displayX) { - return {}; } - Ark_TransitionEffect GetSLIDEImpl() + Opt_Number GetDisplayYImpl(Ark_HoverEvent peer) { return {}; } - Ark_TransitionEffect GetSLIDE_SWITCHImpl() + void SetDisplayYImpl(Ark_HoverEvent peer, + const Ark_Number* displayY) { - return {}; } - } // TransitionEffectAccessor - namespace BaseEventAccessor { - void DestroyPeerImpl(Ark_BaseEvent peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_BaseEvent CtorImpl() - { - return new BaseEventPeer(); - } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - Ark_Boolean GetModifierKeyStateImpl(Ark_VMContext vmContext, - Ark_BaseEvent peer, - const Array_String* keys) - { - return {}; - } - Ark_EventTarget GetTargetImpl(Ark_BaseEvent peer) - { - return {}; - } - void SetTargetImpl(Ark_BaseEvent peer, - const Ark_EventTarget* target) - { - } - Ark_Int64 GetTimestampImpl(Ark_BaseEvent peer) - { - return {}; - } - void SetTimestampImpl(Ark_BaseEvent peer, - Ark_Int64 timestamp) - { - } - Ark_SourceType GetSourceImpl(Ark_BaseEvent peer) - { - return {}; - } - void SetSourceImpl(Ark_BaseEvent peer, - Ark_SourceType source) - { - } - Opt_Number GetAxisHorizontalImpl(Ark_BaseEvent peer) - { - return {}; - } - void SetAxisHorizontalImpl(Ark_BaseEvent peer, - const Ark_Number* axisHorizontal) - { - } - Opt_Number GetAxisVerticalImpl(Ark_BaseEvent peer) - { - return {}; - } - void SetAxisVerticalImpl(Ark_BaseEvent peer, - const Ark_Number* axisVertical) - { - } - Ark_Number GetPressureImpl(Ark_BaseEvent peer) - { - return {}; - } - void SetPressureImpl(Ark_BaseEvent peer, - const Ark_Number* pressure) - { - } - Ark_Number GetTiltXImpl(Ark_BaseEvent peer) - { - return {}; - } - void SetTiltXImpl(Ark_BaseEvent peer, - const Ark_Number* tiltX) - { - } - Ark_Number GetTiltYImpl(Ark_BaseEvent peer) - { - return {}; - } - void SetTiltYImpl(Ark_BaseEvent peer, - const Ark_Number* tiltY) - { - } - Ark_SourceTool GetSourceToolImpl(Ark_BaseEvent peer) - { - return {}; - } - void SetSourceToolImpl(Ark_BaseEvent peer, - Ark_SourceTool sourceTool) - { - } - Opt_Number GetDeviceIdImpl(Ark_BaseEvent peer) - { - return {}; - } - void SetDeviceIdImpl(Ark_BaseEvent peer, - const Ark_Number* deviceId) - { - } - } // BaseEventAccessor - namespace ClickEventAccessor { - void DestroyPeerImpl(Ark_ClickEvent peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_ClickEvent CtorImpl() - { - return new ClickEventPeer(); - } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - Ark_Number GetDisplayXImpl(Ark_ClickEvent peer) - { - return {}; - } - void SetDisplayXImpl(Ark_ClickEvent peer, - const Ark_Number* displayX) - { - } - Ark_Number GetDisplayYImpl(Ark_ClickEvent peer) - { - return {}; - } - void SetDisplayYImpl(Ark_ClickEvent peer, - const Ark_Number* displayY) - { - } - Ark_Number GetWindowXImpl(Ark_ClickEvent peer) - { - return {}; - } - void SetWindowXImpl(Ark_ClickEvent peer, - const Ark_Number* windowX) - { - } - Ark_Number GetWindowYImpl(Ark_ClickEvent peer) - { - return {}; - } - void SetWindowYImpl(Ark_ClickEvent peer, - const Ark_Number* windowY) - { - } - Ark_Number GetScreenXImpl(Ark_ClickEvent peer) - { - return {}; - } - void SetScreenXImpl(Ark_ClickEvent peer, - const Ark_Number* screenX) - { - } - Ark_Number GetScreenYImpl(Ark_ClickEvent peer) - { - return {}; - } - void SetScreenYImpl(Ark_ClickEvent peer, - const Ark_Number* screenY) - { - } - Ark_Number GetXImpl(Ark_ClickEvent peer) - { - return {}; - } - void SetXImpl(Ark_ClickEvent peer, - const Ark_Number* x) - { - } - Ark_Number GetYImpl(Ark_ClickEvent peer) - { - return {}; - } - void SetYImpl(Ark_ClickEvent peer, - const Ark_Number* y) - { - } - Callback_Void GetPreventDefaultImpl(Ark_ClickEvent peer) - { - return {}; - } - void SetPreventDefaultImpl(Ark_ClickEvent peer, - const Callback_Void* preventDefault) - { - } - } // ClickEventAccessor - namespace HoverEventAccessor { - void DestroyPeerImpl(Ark_HoverEvent peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_HoverEvent CtorImpl() - { - return new HoverEventPeer(); - } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - Callback_Void GetStopPropagationImpl(Ark_HoverEvent peer) + Callback_Void GetStopPropagationImpl(Ark_HoverEvent peer) { return {}; } @@ -13441,6 +14571,30 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Callback_Void* stopPropagation) { } + Opt_Number GetRawDeltaXImpl(Ark_MouseEvent peer) + { + return {}; + } + void SetRawDeltaXImpl(Ark_MouseEvent peer, + const Ark_Number* rawDeltaX) + { + } + Opt_Number GetRawDeltaYImpl(Ark_MouseEvent peer) + { + return {}; + } + void SetRawDeltaYImpl(Ark_MouseEvent peer, + const Ark_Number* rawDeltaY) + { + } + Opt_Array_MouseButton GetPressedButtonsImpl(Ark_MouseEvent peer) + { + return {}; + } + void SetPressedButtonsImpl(Ark_MouseEvent peer, + const Array_MouseButton* pressedButtons) + { + } } // MouseEventAccessor namespace AccessibilityHoverEventAccessor { void DestroyPeerImpl(Ark_AccessibilityHoverEvent peer) @@ -13576,68 +14730,165 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // TouchEventAccessor - namespace PixelMapMockAccessor { - void DestroyPeerImpl(Ark_PixelMapMock peer) + namespace AxisEventAccessor { + void DestroyPeerImpl(Ark_AxisEvent peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_PixelMapMock CtorImpl() + Ark_AxisEvent CtorImpl() { - return new PixelMapMockPeer(); + return new AxisEventPeer(); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - void ReleaseImpl(Ark_PixelMapMock peer) + Ark_Number GetHorizontalAxisValueImpl(Ark_AxisEvent peer) { + return {}; } - } // PixelMapMockAccessor - namespace DragEventAccessor { - void DestroyPeerImpl(Ark_DragEvent peer) + Ark_Number GetVerticalAxisValueImpl(Ark_AxisEvent peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_DragEvent CtorImpl() + Ark_AxisAction GetActionImpl(Ark_AxisEvent peer) { - return new DragEventPeer(); + return {}; } - Ark_NativePointer GetFinalizerImpl() + void SetActionImpl(Ark_AxisEvent peer, + Ark_AxisAction action) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Number GetDisplayXImpl(Ark_DragEvent peer) + Ark_Number GetDisplayXImpl(Ark_AxisEvent peer) { return {}; } - Ark_Number GetDisplayYImpl(Ark_DragEvent peer) + void SetDisplayXImpl(Ark_AxisEvent peer, + const Ark_Number* displayX) { - return {}; } - Ark_Number GetWindowXImpl(Ark_DragEvent peer) + Ark_Number GetDisplayYImpl(Ark_AxisEvent peer) { return {}; } - Ark_Number GetWindowYImpl(Ark_DragEvent peer) + void SetDisplayYImpl(Ark_AxisEvent peer, + const Ark_Number* displayY) { - return {}; } - Ark_Number GetXImpl(Ark_DragEvent peer) + Ark_Number GetWindowXImpl(Ark_AxisEvent peer) { return {}; } - Ark_Number GetYImpl(Ark_DragEvent peer) + void SetWindowXImpl(Ark_AxisEvent peer, + const Ark_Number* windowX) { - return {}; } - void SetDataImpl(Ark_DragEvent peer, - Ark_UnifiedData unifiedData) + Ark_Number GetWindowYImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetWindowYImpl(Ark_AxisEvent peer, + const Ark_Number* windowY) + { + } + Ark_Number GetXImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetXImpl(Ark_AxisEvent peer, + const Ark_Number* x) + { + } + Ark_Number GetYImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetYImpl(Ark_AxisEvent peer, + const Ark_Number* y) + { + } + Opt_Number GetScrollStepImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetScrollStepImpl(Ark_AxisEvent peer, + const Ark_Number* scrollStep) + { + } + Callback_Void GetPropagationImpl(Ark_AxisEvent peer) + { + return {}; + } + void SetPropagationImpl(Ark_AxisEvent peer, + const Callback_Void* propagation) + { + } + } // AxisEventAccessor + namespace PixelMapMockAccessor { + void DestroyPeerImpl(Ark_PixelMapMock peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_PixelMapMock CtorImpl() + { + return new PixelMapMockPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void ReleaseImpl(Ark_PixelMapMock peer) + { + } + } // PixelMapMockAccessor + namespace DragEventAccessor { + void DestroyPeerImpl(Ark_DragEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_DragEvent CtorImpl() + { + return new DragEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Number GetDisplayXImpl(Ark_DragEvent peer) + { + return {}; + } + Ark_Number GetDisplayYImpl(Ark_DragEvent peer) + { + return {}; + } + Ark_Number GetWindowXImpl(Ark_DragEvent peer) + { + return {}; + } + Ark_Number GetWindowYImpl(Ark_DragEvent peer) + { + return {}; + } + Ark_Number GetXImpl(Ark_DragEvent peer) + { + return {}; + } + Ark_Number GetYImpl(Ark_DragEvent peer) + { + return {}; + } + void SetDataImpl(Ark_DragEvent peer, + Ark_UnifiedData unifiedData) { } Ark_UnifiedData GetDataImpl(Ark_VMContext vmContext, @@ -13679,6 +14930,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } + void ExecuteDropAnimationImpl(Ark_DragEvent peer, + const Callback_Void* customDropAnimation) + { + } + Ark_String StartDataLoadingImpl(Ark_VMContext vmContext, + Ark_DragEvent peer, + const Ark_DataSyncOptions* options) + { + return {}; + } Ark_DragBehavior GetDragBehaviorImpl(Ark_DragEvent peer) { return {}; @@ -13799,6 +15060,39 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // KeyEventAccessor + namespace FocusAxisEventAccessor { + void DestroyPeerImpl(Ark_FocusAxisEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_FocusAxisEvent CtorImpl() + { + return new FocusAxisEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Map_AxisModel_Number GetAxisMapImpl(Ark_FocusAxisEvent peer) + { + return {}; + } + void SetAxisMapImpl(Ark_FocusAxisEvent peer, + const Map_AxisModel_Number* axisMap) + { + } + Callback_Void GetStopPropagationImpl(Ark_FocusAxisEvent peer) + { + return {}; + } + void SetStopPropagationImpl(Ark_FocusAxisEvent peer, + const Callback_Void* stopPropagation) + { + } + } // FocusAxisEventAccessor namespace ProgressMaskAccessor { void DestroyPeerImpl(Ark_ProgressMask peer) { @@ -13863,6 +15157,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } + Opt_Number GetUniqueIdImpl(Ark_Measurable peer) + { + return {}; + } + void SetUniqueIdImpl(Ark_Measurable peer, + const Ark_Number* uniqueId) + { + } } // MeasurableAccessor namespace ViewAccessor { void DestroyPeerImpl(Ark_View peer) @@ -13896,146 +15198,487 @@ namespace OHOS::Ace::NG::GeneratedModifier { } Ark_TextContentControllerBase CtorImpl() { - return new TextContentControllerBasePeer(); + return new TextContentControllerBasePeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_CaretOffset GetCaretOffsetImpl(Ark_TextContentControllerBase peer) + { + return {}; + } + Ark_RectResult GetTextContentRectImpl(Ark_TextContentControllerBase peer) + { + return {}; + } + Ark_Number GetTextContentLineCountImpl(Ark_TextContentControllerBase peer) + { + return {}; + } + Ark_Number AddTextImpl(Ark_TextContentControllerBase peer, + const Ark_String* text, + const Opt_TextContentControllerOptions* textOperationOptions) + { + return {}; + } + void DeleteTextImpl(Ark_TextContentControllerBase peer, + const Opt_TextRange* range) + { + } + Ark_TextRange GetSelectionImpl(Ark_TextContentControllerBase peer) + { + return {}; + } + void ClearPreviewTextImpl(Ark_TextContentControllerBase peer) + { + } + Ark_String GetTextImpl(Ark_TextContentControllerBase peer, + const Opt_TextRange* range) + { + return {}; + } + } // TextContentControllerBaseAccessor + namespace ChildrenMainSizeAccessor { + void DestroyPeerImpl(Ark_ChildrenMainSize peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_ChildrenMainSize CtorImpl(const Ark_Number* childDefaultSize) + { + return new ChildrenMainSizePeer(childDefaultSize); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void SpliceImpl(Ark_VMContext vmContext, + Ark_ChildrenMainSize peer, + const Ark_Number* start, + const Opt_Number* deleteCount, + const Opt_Array_Number* childrenSize) + { + } + void UpdateImpl(Ark_VMContext vmContext, + Ark_ChildrenMainSize peer, + const Ark_Number* index, + const Ark_Number* childSize) + { + } + Ark_Number GetChildDefaultSizeImpl(Ark_ChildrenMainSize peer) + { + return {}; + } + void SetChildDefaultSizeImpl(Ark_ChildrenMainSize peer, + const Ark_Number* childDefaultSize) + { + } + } // ChildrenMainSizeAccessor + namespace UICommonEventAccessor { + void DestroyPeerImpl(Ark_UICommonEvent peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_UICommonEvent CtorImpl() + { + return new UICommonEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void SetOnClickImpl(Ark_UICommonEvent peer, + const Opt_Callback_ClickEvent_Void* callback_) + { + } + void SetOnTouchImpl(Ark_UICommonEvent peer, + const Opt_Callback_TouchEvent_Void* callback_) + { + } + void SetOnAppearImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) + { + } + void SetOnDisappearImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) + { + } + void SetOnKeyEventImpl(Ark_UICommonEvent peer, + const Opt_Callback_KeyEvent_Void* callback_) + { + } + void SetOnFocusImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) + { + } + void SetOnBlurImpl(Ark_UICommonEvent peer, + const Opt_Callback_Void* callback_) + { + } + void SetOnHoverImpl(Ark_UICommonEvent peer, + const Opt_HoverCallback* callback_) + { + } + void SetOnMouseImpl(Ark_UICommonEvent peer, + const Opt_Callback_MouseEvent_Void* callback_) + { + } + void SetOnSizeChangeImpl(Ark_UICommonEvent peer, + const Opt_SizeChangeCallback* callback_) + { + } + void SetOnVisibleAreaApproximateChangeImpl(Ark_UICommonEvent peer, + const Ark_VisibleAreaEventOptions* options, + const Opt_VisibleAreaChangeCallback* event) + { + } + } // UICommonEventAccessor + namespace GestureModifierAccessor { + void DestroyPeerImpl(Ark_GestureModifier peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_GestureModifier CtorImpl() + { + return new GestureModifierPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void ApplyGestureImpl(Ark_GestureModifier peer, + const Ark_UIGestureEvent* event) + { + } + } // GestureModifierAccessor + namespace NavPathInfoAccessor { + void DestroyPeerImpl(Ark_NavPathInfo peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NavPathInfo CtorImpl(const Ark_String* name, + const Ark_Object* param, + const Opt_Callback_PopInfo_Void* onPop, + const Opt_Boolean* isEntry) + { + return new NavPathInfoPeer(name, param, onPop, isEntry); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_String GetNameImpl(Ark_NavPathInfo peer) + { + return {}; + } + void SetNameImpl(Ark_NavPathInfo peer, + const Ark_String* name) + { + } + Opt_Object GetParamImpl(Ark_NavPathInfo peer) + { + return {}; + } + void SetParamImpl(Ark_NavPathInfo peer, + const Opt_Object* param) + { + } + Opt_Callback_PopInfo_Void GetOnPopImpl(Ark_NavPathInfo peer) + { + return {}; + } + void SetOnPopImpl(Ark_NavPathInfo peer, + const Callback_PopInfo_Void* onPop) + { + } + Opt_Boolean GetIsEntryImpl(Ark_NavPathInfo peer) + { + return {}; + } + void SetIsEntryImpl(Ark_NavPathInfo peer, + Ark_Boolean isEntry) + { + } + Opt_String GetNavDestinationIdImpl(Ark_NavPathInfo peer) + { + return {}; + } + void SetNavDestinationIdImpl(Ark_NavPathInfo peer, + const Ark_String* navDestinationId) + { + } + } // NavPathInfoAccessor + namespace NavPathStackAccessor { + void DestroyPeerImpl(Ark_NavPathStack peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NavPathStack CtorImpl() + { + return new NavPathStackPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void PushPath0Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated) + { + } + void PushPath1Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options) + { + } + void PushDestination0Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + } + void PushDestination1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + } + void PushPathByName0Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Object* param, + const Opt_Boolean* animated) + { + } + void PushPathByName1Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Callback_PopInfo_Void* onPop, + const Opt_Boolean* animated) + { + } + void PushDestinationByName0Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + } + void PushDestinationByName1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Callback_PopInfo_Void* onPop, + const Opt_Boolean* animated, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + } + void ReplacePath0Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_Boolean* animated) + { + } + void ReplacePath1Impl(Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options) + { + } + void ReplaceDestinationImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_NavPathStack peer, + Ark_NavPathInfo info, + const Opt_NavigationOptions* options, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + } + void ReplacePathByNameImpl(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* param, + const Opt_Boolean* animated) + { + } + Ark_Number RemoveByIndexesImpl(Ark_NavPathStack peer, + const Array_Number* indexes) + { + return {}; + } + Ark_Number RemoveByNameImpl(Ark_NavPathStack peer, + const Ark_String* name) + { + return {}; + } + Ark_Boolean RemoveByNavDestinationIdImpl(Ark_NavPathStack peer, + const Ark_String* navDestinationId) + { + return {}; + } + Opt_NavPathInfo Pop0Impl(Ark_NavPathStack peer, + const Opt_Boolean* animated) + { + return {}; + } + Opt_NavPathInfo Pop1Impl(Ark_NavPathStack peer, + const Ark_Object* result, + const Opt_Boolean* animated) + { + return {}; + } + Ark_Number PopToName0Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Boolean* animated) + { + return {}; + } + Ark_Number PopToName1Impl(Ark_NavPathStack peer, + const Ark_String* name, + const Ark_Object* result, + const Opt_Boolean* animated) + { + return {}; + } + void PopToIndex0Impl(Ark_NavPathStack peer, + const Ark_Number* index, + const Opt_Boolean* animated) + { + } + void PopToIndex1Impl(Ark_NavPathStack peer, + const Ark_Number* index, + const Ark_Object* result, + const Opt_Boolean* animated) + { + } + Ark_Number MoveToTopImpl(Ark_NavPathStack peer, + const Ark_String* name, + const Opt_Boolean* animated) + { + return {}; + } + void MoveIndexToTopImpl(Ark_NavPathStack peer, + const Ark_Number* index, + const Opt_Boolean* animated) + { } - Ark_NativePointer GetFinalizerImpl() + void ClearImpl(Ark_NavPathStack peer, + const Opt_Boolean* animated) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_CaretOffset GetCaretOffsetImpl(Ark_TextContentControllerBase peer) + Array_String GetAllPathNameImpl(Ark_NavPathStack peer) { return {}; } - Ark_RectResult GetTextContentRectImpl(Ark_TextContentControllerBase peer) + Opt_Object GetParamByIndexImpl(Ark_NavPathStack peer, + const Ark_Number* index) { return {}; } - Ark_Number GetTextContentLineCountImpl(Ark_TextContentControllerBase peer) + Array_Opt_Object GetParamByNameImpl(Ark_NavPathStack peer, + const Ark_String* name) { return {}; } - } // TextContentControllerBaseAccessor - namespace ChildrenMainSizeAccessor { - void DestroyPeerImpl(Ark_ChildrenMainSize peer) + Array_Number GetIndexByNameImpl(Ark_NavPathStack peer, + const Ark_String* name) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_ChildrenMainSize CtorImpl(const Ark_Number* childDefaultSize) + Opt_NavPathStack GetParentImpl(Ark_NavPathStack peer) { - return new ChildrenMainSizePeer(childDefaultSize); + return {}; } - Ark_NativePointer GetFinalizerImpl() + Ark_Number SizeImpl(Ark_NavPathStack peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - void SpliceImpl(Ark_VMContext vmContext, - Ark_ChildrenMainSize peer, - const Ark_Number* start, - const Opt_Number* deleteCount, - const Opt_Array_Number* childrenSize) + void DisableAnimationImpl(Ark_NavPathStack peer, + Ark_Boolean value) { } - void UpdateImpl(Ark_VMContext vmContext, - Ark_ChildrenMainSize peer, - const Ark_Number* index, - const Ark_Number* childSize) + void SetInterceptionImpl(Ark_NavPathStack peer, + const Ark_NavigationInterception* interception) { } - Ark_Number GetChildDefaultSizeImpl(Ark_ChildrenMainSize peer) + Array_NavPathInfo GetPathStackImpl(Ark_NavPathStack peer) { return {}; } - void SetChildDefaultSizeImpl(Ark_ChildrenMainSize peer, - const Ark_Number* childDefaultSize) + void SetPathStackImpl(Ark_NavPathStack peer, + const Array_NavPathInfo* pathStack, + const Opt_Boolean* animated) { } - } // ChildrenMainSizeAccessor - namespace UICommonEventAccessor { - void DestroyPeerImpl(Ark_UICommonEvent peer) + } // NavPathStackAccessor + namespace NavigationTransitionProxyAccessor { + void DestroyPeerImpl(Ark_NavigationTransitionProxy peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_UICommonEvent CtorImpl() + Ark_NavigationTransitionProxy CtorImpl() { - return new UICommonEventPeer(); + return new NavigationTransitionProxyPeer(); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - void SetOnClickImpl(Ark_UICommonEvent peer, - const Opt_Callback_ClickEvent_Void* callback_) - { - } - void SetOnTouchImpl(Ark_UICommonEvent peer, - const Opt_Callback_TouchEvent_Void* callback_) - { - } - void SetOnAppearImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) - { - } - void SetOnDisappearImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) - { - } - void SetOnKeyEventImpl(Ark_UICommonEvent peer, - const Opt_Callback_KeyEvent_Void* callback_) - { - } - void SetOnFocusImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) - { - } - void SetOnBlurImpl(Ark_UICommonEvent peer, - const Opt_Callback_Void* callback_) + void FinishTransitionImpl(Ark_NavigationTransitionProxy peer) { } - void SetOnHoverImpl(Ark_UICommonEvent peer, - const Opt_HoverCallback* callback_) + void CancelTransitionImpl(Ark_NavigationTransitionProxy peer) { } - void SetOnMouseImpl(Ark_UICommonEvent peer, - const Opt_Callback_MouseEvent_Void* callback_) + void UpdateTransitionImpl(Ark_NavigationTransitionProxy peer, + const Ark_Number* progress) { } - void SetOnSizeChangeImpl(Ark_UICommonEvent peer, - const Opt_SizeChangeCallback* callback_) + Ark_NavContentInfo GetFromImpl(Ark_NavigationTransitionProxy peer) { + return {}; } - void SetOnVisibleAreaApproximateChangeImpl(Ark_UICommonEvent peer, - const Ark_VisibleAreaEventOptions* options, - const Opt_VisibleAreaChangeCallback* event) + void SetFromImpl(Ark_NavigationTransitionProxy peer, + const Ark_NavContentInfo* from) { } - } // UICommonEventAccessor - namespace GestureModifierAccessor { - void DestroyPeerImpl(Ark_GestureModifier peer) + Ark_NavContentInfo GetToImpl(Ark_NavigationTransitionProxy peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return {}; } - Ark_GestureModifier CtorImpl() + void SetToImpl(Ark_NavigationTransitionProxy peer, + const Ark_NavContentInfo* to) { - return new GestureModifierPeer(); } - Ark_NativePointer GetFinalizerImpl() + Opt_Boolean GetIsInteractiveImpl(Ark_NavigationTransitionProxy peer) { - return reinterpret_cast(&DestroyPeerImpl); + return {}; } - void ApplyGestureImpl(Ark_GestureModifier peer, - const Ark_UIGestureEvent* event) + void SetIsInteractiveImpl(Ark_NavigationTransitionProxy peer, + Ark_Boolean isInteractive) { } - } // GestureModifierAccessor + } // NavigationTransitionProxyAccessor namespace CanvasGradientAccessor { void DestroyPeerImpl(Ark_CanvasGradient peer) { @@ -14524,6 +16167,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { void ResetImpl(Ark_CanvasRenderer peer) { } + Ark_Union_LengthMetrics_String GetLetterSpacingImpl(Ark_CanvasRenderer peer) + { + return {}; + } + void SetLetterSpacingImpl(Ark_CanvasRenderer peer, + const Ark_Union_LengthMetrics_String* letterSpacing) + { + } Ark_Number GetGlobalAlphaImpl(Ark_CanvasRenderer peer) { return {}; @@ -15284,8 +16935,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } - Ark_LongPressGestureInterface OnActionCancelImpl(Ark_LongPressGestureInterface peer, - const Callback_Void* event) + Ark_LongPressGestureInterface OnActionCancel0Impl(Ark_LongPressGestureInterface peer, + const Callback_Void* event) + { + return {}; + } + Ark_LongPressGestureInterface OnActionCancel1Impl(Ark_LongPressGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } @@ -15322,6 +16978,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } + Ark_Number GetDistanceImpl(Ark_PanGestureOptions peer) + { + return {}; + } } // PanGestureOptionsAccessor namespace PanGestureInterfaceAccessor { void DestroyPeerImpl(Ark_PanGestureInterface peer) @@ -15354,8 +17014,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } - Ark_PanGestureInterface OnActionCancelImpl(Ark_PanGestureInterface peer, - const Callback_Void* event) + Ark_PanGestureInterface OnActionCancel0Impl(Ark_PanGestureInterface peer, + const Callback_Void* event) + { + return {}; + } + Ark_PanGestureInterface OnActionCancel1Impl(Ark_PanGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } @@ -15413,8 +17078,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } - Ark_PinchGestureInterface OnActionCancelImpl(Ark_PinchGestureInterface peer, - const Callback_Void* event) + Ark_PinchGestureInterface OnActionCancel0Impl(Ark_PinchGestureInterface peer, + const Callback_Void* event) + { + return {}; + } + Ark_PinchGestureInterface OnActionCancel1Impl(Ark_PinchGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } @@ -15450,8 +17120,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } - Ark_RotationGestureInterface OnActionCancelImpl(Ark_RotationGestureInterface peer, - const Callback_Void* event) + Ark_RotationGestureInterface OnActionCancel0Impl(Ark_RotationGestureInterface peer, + const Callback_Void* event) + { + return {}; + } + Ark_RotationGestureInterface OnActionCancel1Impl(Ark_RotationGestureInterface peer, + const Callback_GestureEvent_Void* event) { return {}; } @@ -15573,7 +17248,128 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } + Ark_Number GetFingerCountImpl(Ark_GestureRecognizer peer) + { + return {}; + } + Ark_Boolean IsFingerCountLimitImpl(Ark_GestureRecognizer peer) + { + return {}; + } } // GestureRecognizerAccessor + namespace TapRecognizerAccessor { + void DestroyPeerImpl(Ark_TapRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_TapRecognizer CtorImpl() + { + return new TapRecognizerPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Number GetTapCountImpl(Ark_TapRecognizer peer) + { + return {}; + } + } // TapRecognizerAccessor + namespace LongPressRecognizerAccessor { + void DestroyPeerImpl(Ark_LongPressRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_LongPressRecognizer CtorImpl() + { + return new LongPressRecognizerPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Boolean IsRepeatImpl(Ark_LongPressRecognizer peer) + { + return {}; + } + Ark_Number GetDurationImpl(Ark_LongPressRecognizer peer) + { + return {}; + } + } // LongPressRecognizerAccessor + namespace SwipeRecognizerAccessor { + void DestroyPeerImpl(Ark_SwipeRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_SwipeRecognizer CtorImpl() + { + return new SwipeRecognizerPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Number GetVelocityThresholdImpl(Ark_SwipeRecognizer peer) + { + return {}; + } + Ark_SwipeDirection GetDirectionImpl(Ark_SwipeRecognizer peer) + { + return {}; + } + } // SwipeRecognizerAccessor + namespace PinchRecognizerAccessor { + void DestroyPeerImpl(Ark_PinchRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_PinchRecognizer CtorImpl() + { + return new PinchRecognizerPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Number GetDistanceImpl(Ark_PinchRecognizer peer) + { + return {}; + } + } // PinchRecognizerAccessor + namespace RotationRecognizerAccessor { + void DestroyPeerImpl(Ark_RotationRecognizer peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_RotationRecognizer CtorImpl() + { + return new RotationRecognizerPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Number GetAngleImpl(Ark_RotationRecognizer peer) + { + return {}; + } + } // RotationRecognizerAccessor namespace PanRecognizerAccessor { void DestroyPeerImpl(Ark_PanRecognizer peer) { @@ -15832,6 +17628,47 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // PatternLockControllerAccessor + namespace VirtualScrollOptionsAccessor { + void DestroyPeerImpl(Ark_VirtualScrollOptions peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_VirtualScrollOptions CtorImpl() + { + return new VirtualScrollOptionsPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void OnLazyLoadingImpl(Ark_VirtualScrollOptions peer, + const Ark_Number* index) + { + } + Ark_Number OnTotalCountImpl(Ark_VirtualScrollOptions peer) + { + return {}; + } + Opt_Number GetTotalCountImpl(Ark_VirtualScrollOptions peer) + { + return {}; + } + void SetTotalCountImpl(Ark_VirtualScrollOptions peer, + const Ark_Number* totalCount) + { + } + Opt_Boolean GetReusableImpl(Ark_VirtualScrollOptions peer) + { + return {}; + } + void SetReusableImpl(Ark_VirtualScrollOptions peer, + Ark_Boolean reusable) + { + } + } // VirtualScrollOptionsAccessor namespace RichEditorBaseControllerAccessor { void DestroyPeerImpl(Ark_RichEditorBaseController peer) { @@ -15889,6 +17726,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } + Opt_RectResult GetCaretRectImpl(Ark_RichEditorBaseController peer) + { + return {}; + } } // RichEditorBaseControllerAccessor namespace RichEditorControllerAccessor { void DestroyPeerImpl(Ark_RichEditorController peer) @@ -16052,8 +17893,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void ScrollByImpl(Ark_Scroller peer, - const Ark_Union_String_Number_Resource* dx, - const Ark_Union_String_Number_Resource* dy) + const Ark_Length* dx, + const Ark_Length* dy) { } Ark_Boolean IsAtEndImpl(Ark_Scroller peer) @@ -16204,15 +18045,27 @@ namespace OHOS::Ace::NG::GeneratedModifier { void ShowPreviousImpl(Ark_SwiperController peer) { } - void ChangeIndexImpl(Ark_SwiperController peer, - const Ark_Number* index, - const Opt_Boolean* useAnimation) + void ChangeIndex0Impl(Ark_SwiperController peer, + const Ark_Number* index, + const Opt_Boolean* useAnimation) + { + } + void ChangeIndex1Impl(Ark_SwiperController peer, + const Ark_Number* index, + const Opt_Union_SwiperAnimationMode_Boolean* animationMode) { } void FinishAnimationImpl(Ark_SwiperController peer, const Opt_VoidCallback* callback_) { } + void PreloadItemsImpl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + Ark_SwiperController peer, + const Opt_Array_Number* indices, + const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + } } // SwiperControllerAccessor namespace SwiperContentTransitionProxyAccessor { void DestroyPeerImpl(Ark_SwiperContentTransitionProxy peer) @@ -16757,6 +18610,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } + Ark_TextMenuItemId GetTRANSLATEImpl() + { + return {}; + } + Ark_TextMenuItemId GetSEARCHImpl() + { + return {}; + } + Ark_TextMenuItemId GetSHAREImpl() + { + return {}; + } } // TextMenuItemIdAccessor namespace SubmitEventAccessor { void DestroyPeerImpl(Ark_SubmitEvent peer) @@ -17002,6 +18867,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } + Array_String GetMimeTypesImpl(Ark_FileSelectorParam peer) + { + return {}; + } } // FileSelectorParamAccessor namespace JsResultAccessor { void DestroyPeerImpl(Ark_JsResult peer) @@ -17589,8 +19458,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return reinterpret_cast(&DestroyPeerImpl); } - void SetGestureEventResultImpl(Ark_EventResult peer, - Ark_Boolean result) + void SetGestureEventResult0Impl(Ark_EventResult peer, + Ark_Boolean result) + { + } + void SetGestureEventResult1Impl(Ark_EventResult peer, + Ark_Boolean result, + Ark_Boolean stopPropagation) { } } // EventResultAccessor @@ -17897,14 +19771,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } - Ark_Buffer MarshallingImpl(Ark_StyledString styledString) + Ark_Buffer Marshalling0Impl(Ark_StyledString styledString, + const StyledStringMarshallCallback* callback_) + { + return {}; + } + Ark_Buffer Marshalling1Impl(Ark_StyledString styledString) { return {}; } - void UnmarshallingImpl(Ark_VMContext vmContext, - Ark_AsyncWorkerPtr asyncWorker, - const Ark_Buffer* buffer, - const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) + void Unmarshalling0Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Ark_Buffer* buffer, + const StyledStringUnmarshallCallback* callback_, + const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) + { + } + void Unmarshalling1Impl(Ark_VMContext vmContext, + Ark_AsyncWorkerPtr asyncWorker, + const Ark_Buffer* buffer, + const Callback_Opt_StyledString_Opt_Array_String_Void* outputArgumentForReturningPromise) { } Ark_Number GetLengthImpl(Ark_StyledString peer) @@ -18119,6 +20005,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } + Opt_Number GetParagraphSpacingImpl(Ark_ParagraphStyle peer) + { + return {}; + } } // ParagraphStyleAccessor namespace LineHeightStyleAccessor { void DestroyPeerImpl(Ark_LineHeightStyle peer) @@ -18277,6 +20167,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { { return {}; } + Opt_ColorFilterType GetColorFilterImpl(Ark_ImageAttachment peer) + { + return {}; + } } // ImageAttachmentAccessor namespace CustomSpanAccessor { void DestroyPeerImpl(Ark_CustomSpan peer) @@ -19368,94 +21262,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &CalendarPickerDialogAccessorImpl; } - const GENERATED_ArkUINavPathInfoAccessor* GetNavPathInfoAccessor() - { - static const GENERATED_ArkUINavPathInfoAccessor NavPathInfoAccessorImpl { - NavPathInfoAccessor::DestroyPeerImpl, - NavPathInfoAccessor::CtorImpl, - NavPathInfoAccessor::GetFinalizerImpl, - NavPathInfoAccessor::GetNameImpl, - NavPathInfoAccessor::SetNameImpl, - NavPathInfoAccessor::GetParamImpl, - NavPathInfoAccessor::SetParamImpl, - NavPathInfoAccessor::GetOnPopImpl, - NavPathInfoAccessor::SetOnPopImpl, - NavPathInfoAccessor::GetIsEntryImpl, - NavPathInfoAccessor::SetIsEntryImpl, - }; - return &NavPathInfoAccessorImpl; - } - - struct NavPathInfoPeer { - virtual ~NavPathInfoPeer() = default; - }; - const GENERATED_ArkUINavPathStackAccessor* GetNavPathStackAccessor() - { - static const GENERATED_ArkUINavPathStackAccessor NavPathStackAccessorImpl { - NavPathStackAccessor::DestroyPeerImpl, - NavPathStackAccessor::CtorImpl, - NavPathStackAccessor::GetFinalizerImpl, - NavPathStackAccessor::PushPath0Impl, - NavPathStackAccessor::PushPath1Impl, - NavPathStackAccessor::PushDestination0Impl, - NavPathStackAccessor::PushDestination1Impl, - NavPathStackAccessor::PushPathByName0Impl, - NavPathStackAccessor::PushPathByName1Impl, - NavPathStackAccessor::PushDestinationByName0Impl, - NavPathStackAccessor::PushDestinationByName1Impl, - NavPathStackAccessor::ReplacePath0Impl, - NavPathStackAccessor::ReplacePath1Impl, - NavPathStackAccessor::ReplaceDestinationImpl, - NavPathStackAccessor::ReplacePathByNameImpl, - NavPathStackAccessor::RemoveByIndexesImpl, - NavPathStackAccessor::RemoveByNameImpl, - NavPathStackAccessor::RemoveByNavDestinationIdImpl, - NavPathStackAccessor::Pop0Impl, - NavPathStackAccessor::Pop1Impl, - NavPathStackAccessor::PopToName0Impl, - NavPathStackAccessor::PopToName1Impl, - NavPathStackAccessor::PopToIndex0Impl, - NavPathStackAccessor::PopToIndex1Impl, - NavPathStackAccessor::MoveToTopImpl, - NavPathStackAccessor::MoveIndexToTopImpl, - NavPathStackAccessor::ClearImpl, - NavPathStackAccessor::GetAllPathNameImpl, - NavPathStackAccessor::GetParamByIndexImpl, - NavPathStackAccessor::GetParamByNameImpl, - NavPathStackAccessor::GetIndexByNameImpl, - NavPathStackAccessor::GetParentImpl, - NavPathStackAccessor::SizeImpl, - NavPathStackAccessor::DisableAnimationImpl, - NavPathStackAccessor::SetInterceptionImpl, - }; - return &NavPathStackAccessorImpl; - } - - struct NavPathStackPeer { - virtual ~NavPathStackPeer() = default; - }; - const GENERATED_ArkUINavigationTransitionProxyAccessor* GetNavigationTransitionProxyAccessor() - { - static const GENERATED_ArkUINavigationTransitionProxyAccessor NavigationTransitionProxyAccessorImpl { - NavigationTransitionProxyAccessor::DestroyPeerImpl, - NavigationTransitionProxyAccessor::CtorImpl, - NavigationTransitionProxyAccessor::GetFinalizerImpl, - NavigationTransitionProxyAccessor::FinishTransitionImpl, - NavigationTransitionProxyAccessor::CancelTransitionImpl, - NavigationTransitionProxyAccessor::UpdateTransitionImpl, - NavigationTransitionProxyAccessor::GetFromImpl, - NavigationTransitionProxyAccessor::SetFromImpl, - NavigationTransitionProxyAccessor::GetToImpl, - NavigationTransitionProxyAccessor::SetToImpl, - NavigationTransitionProxyAccessor::GetIsInteractiveImpl, - NavigationTransitionProxyAccessor::SetIsInteractiveImpl, - }; - return &NavigationTransitionProxyAccessorImpl; - } - - struct NavigationTransitionProxyPeer { - virtual ~NavigationTransitionProxyPeer() = default; - }; const GENERATED_ArkUIICurveAccessor* GetICurveAccessor() { static const GENERATED_ArkUIICurveAccessor ICurveAccessorImpl { @@ -19535,10 +21341,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { BaseEventAccessor::SetTiltXImpl, BaseEventAccessor::GetTiltYImpl, BaseEventAccessor::SetTiltYImpl, + BaseEventAccessor::GetRollAngleImpl, + BaseEventAccessor::SetRollAngleImpl, BaseEventAccessor::GetSourceToolImpl, BaseEventAccessor::SetSourceToolImpl, BaseEventAccessor::GetDeviceIdImpl, BaseEventAccessor::SetDeviceIdImpl, + BaseEventAccessor::GetTargetDisplayIdImpl, + BaseEventAccessor::SetTargetDisplayIdImpl, }; return &BaseEventAccessorImpl; } @@ -19568,6 +21378,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { ClickEventAccessor::SetXImpl, ClickEventAccessor::GetYImpl, ClickEventAccessor::SetYImpl, + ClickEventAccessor::GetHandImpl, + ClickEventAccessor::SetHandImpl, ClickEventAccessor::GetPreventDefaultImpl, ClickEventAccessor::SetPreventDefaultImpl, }; @@ -19583,6 +21395,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { HoverEventAccessor::DestroyPeerImpl, HoverEventAccessor::CtorImpl, HoverEventAccessor::GetFinalizerImpl, + HoverEventAccessor::GetXImpl, + HoverEventAccessor::SetXImpl, + HoverEventAccessor::GetYImpl, + HoverEventAccessor::SetYImpl, + HoverEventAccessor::GetWindowXImpl, + HoverEventAccessor::SetWindowXImpl, + HoverEventAccessor::GetWindowYImpl, + HoverEventAccessor::SetWindowYImpl, + HoverEventAccessor::GetDisplayXImpl, + HoverEventAccessor::SetDisplayXImpl, + HoverEventAccessor::GetDisplayYImpl, + HoverEventAccessor::SetDisplayYImpl, HoverEventAccessor::GetStopPropagationImpl, HoverEventAccessor::SetStopPropagationImpl, }; @@ -19620,6 +21444,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { MouseEventAccessor::SetYImpl, MouseEventAccessor::GetStopPropagationImpl, MouseEventAccessor::SetStopPropagationImpl, + MouseEventAccessor::GetRawDeltaXImpl, + MouseEventAccessor::SetRawDeltaXImpl, + MouseEventAccessor::GetRawDeltaYImpl, + MouseEventAccessor::SetRawDeltaYImpl, + MouseEventAccessor::GetPressedButtonsImpl, + MouseEventAccessor::SetPressedButtonsImpl, }; return &MouseEventAccessorImpl; } @@ -19678,6 +21508,39 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct TouchEventPeer { virtual ~TouchEventPeer() = default; }; + const GENERATED_ArkUIAxisEventAccessor* GetAxisEventAccessor() + { + static const GENERATED_ArkUIAxisEventAccessor AxisEventAccessorImpl { + AxisEventAccessor::DestroyPeerImpl, + AxisEventAccessor::CtorImpl, + AxisEventAccessor::GetFinalizerImpl, + AxisEventAccessor::GetHorizontalAxisValueImpl, + AxisEventAccessor::GetVerticalAxisValueImpl, + AxisEventAccessor::GetActionImpl, + AxisEventAccessor::SetActionImpl, + AxisEventAccessor::GetDisplayXImpl, + AxisEventAccessor::SetDisplayXImpl, + AxisEventAccessor::GetDisplayYImpl, + AxisEventAccessor::SetDisplayYImpl, + AxisEventAccessor::GetWindowXImpl, + AxisEventAccessor::SetWindowXImpl, + AxisEventAccessor::GetWindowYImpl, + AxisEventAccessor::SetWindowYImpl, + AxisEventAccessor::GetXImpl, + AxisEventAccessor::SetXImpl, + AxisEventAccessor::GetYImpl, + AxisEventAccessor::SetYImpl, + AxisEventAccessor::GetScrollStepImpl, + AxisEventAccessor::SetScrollStepImpl, + AxisEventAccessor::GetPropagationImpl, + AxisEventAccessor::SetPropagationImpl, + }; + return &AxisEventAccessorImpl; + } + + struct AxisEventPeer { + virtual ~AxisEventPeer() = default; + }; const GENERATED_ArkUIPixelMapMockAccessor* GetPixelMapMockAccessor() { static const GENERATED_ArkUIPixelMapMockAccessor PixelMapMockAccessorImpl { @@ -19714,6 +21577,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { DragEventAccessor::GetVelocityYImpl, DragEventAccessor::GetVelocityImpl, DragEventAccessor::GetModifierKeyStateImpl, + DragEventAccessor::ExecuteDropAnimationImpl, + DragEventAccessor::StartDataLoadingImpl, DragEventAccessor::GetDragBehaviorImpl, DragEventAccessor::SetDragBehaviorImpl, DragEventAccessor::GetUseCustomDropAnimationImpl, @@ -19759,6 +21624,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct KeyEventPeer { virtual ~KeyEventPeer() = default; }; + const GENERATED_ArkUIFocusAxisEventAccessor* GetFocusAxisEventAccessor() + { + static const GENERATED_ArkUIFocusAxisEventAccessor FocusAxisEventAccessorImpl { + FocusAxisEventAccessor::DestroyPeerImpl, + FocusAxisEventAccessor::CtorImpl, + FocusAxisEventAccessor::GetFinalizerImpl, + FocusAxisEventAccessor::GetAxisMapImpl, + FocusAxisEventAccessor::SetAxisMapImpl, + FocusAxisEventAccessor::GetStopPropagationImpl, + FocusAxisEventAccessor::SetStopPropagationImpl, + }; + return &FocusAxisEventAccessorImpl; + } + + struct FocusAxisEventPeer { + virtual ~FocusAxisEventPeer() = default; + }; const GENERATED_ArkUIProgressMaskAccessor* GetProgressMaskAccessor() { static const GENERATED_ArkUIProgressMaskAccessor ProgressMaskAccessorImpl { @@ -19785,6 +21667,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { MeasurableAccessor::GetMarginImpl, MeasurableAccessor::GetPaddingImpl, MeasurableAccessor::GetBorderWidthImpl, + MeasurableAccessor::GetUniqueIdImpl, + MeasurableAccessor::SetUniqueIdImpl, }; return &MeasurableAccessorImpl; } @@ -19815,6 +21699,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextContentControllerBaseAccessor::GetCaretOffsetImpl, TextContentControllerBaseAccessor::GetTextContentRectImpl, TextContentControllerBaseAccessor::GetTextContentLineCountImpl, + TextContentControllerBaseAccessor::AddTextImpl, + TextContentControllerBaseAccessor::DeleteTextImpl, + TextContentControllerBaseAccessor::GetSelectionImpl, + TextContentControllerBaseAccessor::ClearPreviewTextImpl, + TextContentControllerBaseAccessor::GetTextImpl, }; return &TextContentControllerBaseAccessorImpl; } @@ -19877,6 +21766,98 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct GestureModifierPeer { virtual ~GestureModifierPeer() = default; }; + const GENERATED_ArkUINavPathInfoAccessor* GetNavPathInfoAccessor() + { + static const GENERATED_ArkUINavPathInfoAccessor NavPathInfoAccessorImpl { + NavPathInfoAccessor::DestroyPeerImpl, + NavPathInfoAccessor::CtorImpl, + NavPathInfoAccessor::GetFinalizerImpl, + NavPathInfoAccessor::GetNameImpl, + NavPathInfoAccessor::SetNameImpl, + NavPathInfoAccessor::GetParamImpl, + NavPathInfoAccessor::SetParamImpl, + NavPathInfoAccessor::GetOnPopImpl, + NavPathInfoAccessor::SetOnPopImpl, + NavPathInfoAccessor::GetIsEntryImpl, + NavPathInfoAccessor::SetIsEntryImpl, + NavPathInfoAccessor::GetNavDestinationIdImpl, + NavPathInfoAccessor::SetNavDestinationIdImpl, + }; + return &NavPathInfoAccessorImpl; + } + + struct NavPathInfoPeer { + virtual ~NavPathInfoPeer() = default; + }; + const GENERATED_ArkUINavPathStackAccessor* GetNavPathStackAccessor() + { + static const GENERATED_ArkUINavPathStackAccessor NavPathStackAccessorImpl { + NavPathStackAccessor::DestroyPeerImpl, + NavPathStackAccessor::CtorImpl, + NavPathStackAccessor::GetFinalizerImpl, + NavPathStackAccessor::PushPath0Impl, + NavPathStackAccessor::PushPath1Impl, + NavPathStackAccessor::PushDestination0Impl, + NavPathStackAccessor::PushDestination1Impl, + NavPathStackAccessor::PushPathByName0Impl, + NavPathStackAccessor::PushPathByName1Impl, + NavPathStackAccessor::PushDestinationByName0Impl, + NavPathStackAccessor::PushDestinationByName1Impl, + NavPathStackAccessor::ReplacePath0Impl, + NavPathStackAccessor::ReplacePath1Impl, + NavPathStackAccessor::ReplaceDestinationImpl, + NavPathStackAccessor::ReplacePathByNameImpl, + NavPathStackAccessor::RemoveByIndexesImpl, + NavPathStackAccessor::RemoveByNameImpl, + NavPathStackAccessor::RemoveByNavDestinationIdImpl, + NavPathStackAccessor::Pop0Impl, + NavPathStackAccessor::Pop1Impl, + NavPathStackAccessor::PopToName0Impl, + NavPathStackAccessor::PopToName1Impl, + NavPathStackAccessor::PopToIndex0Impl, + NavPathStackAccessor::PopToIndex1Impl, + NavPathStackAccessor::MoveToTopImpl, + NavPathStackAccessor::MoveIndexToTopImpl, + NavPathStackAccessor::ClearImpl, + NavPathStackAccessor::GetAllPathNameImpl, + NavPathStackAccessor::GetParamByIndexImpl, + NavPathStackAccessor::GetParamByNameImpl, + NavPathStackAccessor::GetIndexByNameImpl, + NavPathStackAccessor::GetParentImpl, + NavPathStackAccessor::SizeImpl, + NavPathStackAccessor::DisableAnimationImpl, + NavPathStackAccessor::SetInterceptionImpl, + NavPathStackAccessor::GetPathStackImpl, + NavPathStackAccessor::SetPathStackImpl, + }; + return &NavPathStackAccessorImpl; + } + + struct NavPathStackPeer { + virtual ~NavPathStackPeer() = default; + }; + const GENERATED_ArkUINavigationTransitionProxyAccessor* GetNavigationTransitionProxyAccessor() + { + static const GENERATED_ArkUINavigationTransitionProxyAccessor NavigationTransitionProxyAccessorImpl { + NavigationTransitionProxyAccessor::DestroyPeerImpl, + NavigationTransitionProxyAccessor::CtorImpl, + NavigationTransitionProxyAccessor::GetFinalizerImpl, + NavigationTransitionProxyAccessor::FinishTransitionImpl, + NavigationTransitionProxyAccessor::CancelTransitionImpl, + NavigationTransitionProxyAccessor::UpdateTransitionImpl, + NavigationTransitionProxyAccessor::GetFromImpl, + NavigationTransitionProxyAccessor::SetFromImpl, + NavigationTransitionProxyAccessor::GetToImpl, + NavigationTransitionProxyAccessor::SetToImpl, + NavigationTransitionProxyAccessor::GetIsInteractiveImpl, + NavigationTransitionProxyAccessor::SetIsInteractiveImpl, + }; + return &NavigationTransitionProxyAccessorImpl; + } + + struct NavigationTransitionProxyPeer { + virtual ~NavigationTransitionProxyPeer() = default; + }; const GENERATED_ArkUICanvasGradientAccessor* GetCanvasGradientAccessor() { static const GENERATED_ArkUICanvasGradientAccessor CanvasGradientAccessorImpl { @@ -20037,6 +22018,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { CanvasRendererAccessor::SaveLayerImpl, CanvasRendererAccessor::RestoreLayerImpl, CanvasRendererAccessor::ResetImpl, + CanvasRendererAccessor::GetLetterSpacingImpl, + CanvasRendererAccessor::SetLetterSpacingImpl, CanvasRendererAccessor::GetGlobalAlphaImpl, CanvasRendererAccessor::SetGlobalAlphaImpl, CanvasRendererAccessor::GetGlobalCompositeOperationImpl, @@ -20377,7 +22360,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { LongPressGestureInterfaceAccessor::GetFinalizerImpl, LongPressGestureInterfaceAccessor::OnActionImpl, LongPressGestureInterfaceAccessor::OnActionEndImpl, - LongPressGestureInterfaceAccessor::OnActionCancelImpl, + LongPressGestureInterfaceAccessor::OnActionCancel0Impl, + LongPressGestureInterfaceAccessor::OnActionCancel1Impl, }; return &LongPressGestureInterfaceAccessorImpl; } @@ -20395,6 +22379,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { PanGestureOptionsAccessor::SetDistanceImpl, PanGestureOptionsAccessor::SetFingersImpl, PanGestureOptionsAccessor::GetDirectionImpl, + PanGestureOptionsAccessor::GetDistanceImpl, }; return &PanGestureOptionsAccessorImpl; } @@ -20411,7 +22396,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { PanGestureInterfaceAccessor::OnActionStartImpl, PanGestureInterfaceAccessor::OnActionUpdateImpl, PanGestureInterfaceAccessor::OnActionEndImpl, - PanGestureInterfaceAccessor::OnActionCancelImpl, + PanGestureInterfaceAccessor::OnActionCancel0Impl, + PanGestureInterfaceAccessor::OnActionCancel1Impl, }; return &PanGestureInterfaceAccessorImpl; } @@ -20442,7 +22428,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { PinchGestureInterfaceAccessor::OnActionStartImpl, PinchGestureInterfaceAccessor::OnActionUpdateImpl, PinchGestureInterfaceAccessor::OnActionEndImpl, - PinchGestureInterfaceAccessor::OnActionCancelImpl, + PinchGestureInterfaceAccessor::OnActionCancel0Impl, + PinchGestureInterfaceAccessor::OnActionCancel1Impl, }; return &PinchGestureInterfaceAccessorImpl; } @@ -20459,7 +22446,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { RotationGestureInterfaceAccessor::OnActionStartImpl, RotationGestureInterfaceAccessor::OnActionUpdateImpl, RotationGestureInterfaceAccessor::OnActionEndImpl, - RotationGestureInterfaceAccessor::OnActionCancelImpl, + RotationGestureInterfaceAccessor::OnActionCancel0Impl, + RotationGestureInterfaceAccessor::OnActionCancel1Impl, }; return &RotationGestureInterfaceAccessorImpl; } @@ -20524,6 +22512,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { GestureRecognizerAccessor::GetStateImpl, GestureRecognizerAccessor::GetEventTargetInfoImpl, GestureRecognizerAccessor::IsValidImpl, + GestureRecognizerAccessor::GetFingerCountImpl, + GestureRecognizerAccessor::IsFingerCountLimitImpl, }; return &GestureRecognizerAccessorImpl; } @@ -20531,6 +22521,78 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct GestureRecognizerPeer { virtual ~GestureRecognizerPeer() = default; }; + const GENERATED_ArkUITapRecognizerAccessor* GetTapRecognizerAccessor() + { + static const GENERATED_ArkUITapRecognizerAccessor TapRecognizerAccessorImpl { + TapRecognizerAccessor::DestroyPeerImpl, + TapRecognizerAccessor::CtorImpl, + TapRecognizerAccessor::GetFinalizerImpl, + TapRecognizerAccessor::GetTapCountImpl, + }; + return &TapRecognizerAccessorImpl; + } + + struct TapRecognizerPeer { + virtual ~TapRecognizerPeer() = default; + }; + const GENERATED_ArkUILongPressRecognizerAccessor* GetLongPressRecognizerAccessor() + { + static const GENERATED_ArkUILongPressRecognizerAccessor LongPressRecognizerAccessorImpl { + LongPressRecognizerAccessor::DestroyPeerImpl, + LongPressRecognizerAccessor::CtorImpl, + LongPressRecognizerAccessor::GetFinalizerImpl, + LongPressRecognizerAccessor::IsRepeatImpl, + LongPressRecognizerAccessor::GetDurationImpl, + }; + return &LongPressRecognizerAccessorImpl; + } + + struct LongPressRecognizerPeer { + virtual ~LongPressRecognizerPeer() = default; + }; + const GENERATED_ArkUISwipeRecognizerAccessor* GetSwipeRecognizerAccessor() + { + static const GENERATED_ArkUISwipeRecognizerAccessor SwipeRecognizerAccessorImpl { + SwipeRecognizerAccessor::DestroyPeerImpl, + SwipeRecognizerAccessor::CtorImpl, + SwipeRecognizerAccessor::GetFinalizerImpl, + SwipeRecognizerAccessor::GetVelocityThresholdImpl, + SwipeRecognizerAccessor::GetDirectionImpl, + }; + return &SwipeRecognizerAccessorImpl; + } + + struct SwipeRecognizerPeer { + virtual ~SwipeRecognizerPeer() = default; + }; + const GENERATED_ArkUIPinchRecognizerAccessor* GetPinchRecognizerAccessor() + { + static const GENERATED_ArkUIPinchRecognizerAccessor PinchRecognizerAccessorImpl { + PinchRecognizerAccessor::DestroyPeerImpl, + PinchRecognizerAccessor::CtorImpl, + PinchRecognizerAccessor::GetFinalizerImpl, + PinchRecognizerAccessor::GetDistanceImpl, + }; + return &PinchRecognizerAccessorImpl; + } + + struct PinchRecognizerPeer { + virtual ~PinchRecognizerPeer() = default; + }; + const GENERATED_ArkUIRotationRecognizerAccessor* GetRotationRecognizerAccessor() + { + static const GENERATED_ArkUIRotationRecognizerAccessor RotationRecognizerAccessorImpl { + RotationRecognizerAccessor::DestroyPeerImpl, + RotationRecognizerAccessor::CtorImpl, + RotationRecognizerAccessor::GetFinalizerImpl, + RotationRecognizerAccessor::GetAngleImpl, + }; + return &RotationRecognizerAccessorImpl; + } + + struct RotationRecognizerPeer { + virtual ~RotationRecognizerPeer() = default; + }; const GENERATED_ArkUIPanRecognizerAccessor* GetPanRecognizerAccessor() { static const GENERATED_ArkUIPanRecognizerAccessor PanRecognizerAccessorImpl { @@ -20643,6 +22705,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct PatternLockControllerPeer { virtual ~PatternLockControllerPeer() = default; }; + const GENERATED_ArkUIVirtualScrollOptionsAccessor* GetVirtualScrollOptionsAccessor() + { + static const GENERATED_ArkUIVirtualScrollOptionsAccessor VirtualScrollOptionsAccessorImpl { + VirtualScrollOptionsAccessor::DestroyPeerImpl, + VirtualScrollOptionsAccessor::CtorImpl, + VirtualScrollOptionsAccessor::GetFinalizerImpl, + VirtualScrollOptionsAccessor::OnLazyLoadingImpl, + VirtualScrollOptionsAccessor::OnTotalCountImpl, + VirtualScrollOptionsAccessor::GetTotalCountImpl, + VirtualScrollOptionsAccessor::SetTotalCountImpl, + VirtualScrollOptionsAccessor::GetReusableImpl, + VirtualScrollOptionsAccessor::SetReusableImpl, + }; + return &VirtualScrollOptionsAccessorImpl; + } + + struct VirtualScrollOptionsPeer { + virtual ~VirtualScrollOptionsPeer() = default; + }; const GENERATED_ArkUIRichEditorBaseControllerAccessor* GetRichEditorBaseControllerAccessor() { static const GENERATED_ArkUIRichEditorBaseControllerAccessor RichEditorBaseControllerAccessorImpl { @@ -20659,6 +22740,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { RichEditorBaseControllerAccessor::StopEditingImpl, RichEditorBaseControllerAccessor::GetLayoutManagerImpl, RichEditorBaseControllerAccessor::GetPreviewTextImpl, + RichEditorBaseControllerAccessor::GetCaretRectImpl, }; return &RichEditorBaseControllerAccessorImpl; } @@ -20784,8 +22866,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { SwiperControllerAccessor::GetFinalizerImpl, SwiperControllerAccessor::ShowNextImpl, SwiperControllerAccessor::ShowPreviousImpl, - SwiperControllerAccessor::ChangeIndexImpl, + SwiperControllerAccessor::ChangeIndex0Impl, + SwiperControllerAccessor::ChangeIndex1Impl, SwiperControllerAccessor::FinishAnimationImpl, + SwiperControllerAccessor::PreloadItemsImpl, }; return &SwiperControllerAccessorImpl; } @@ -21069,6 +23153,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { TextMenuItemIdAccessor::GetCOLLABORATION_SERVICEImpl, TextMenuItemIdAccessor::GetCAMERA_INPUTImpl, TextMenuItemIdAccessor::GetAI_WRITERImpl, + TextMenuItemIdAccessor::GetTRANSLATEImpl, + TextMenuItemIdAccessor::GetSEARCHImpl, + TextMenuItemIdAccessor::GetSHAREImpl, }; return &TextMenuItemIdAccessorImpl; } @@ -21216,6 +23303,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { FileSelectorParamAccessor::GetModeImpl, FileSelectorParamAccessor::GetAcceptTypeImpl, FileSelectorParamAccessor::IsCaptureImpl, + FileSelectorParamAccessor::GetMimeTypesImpl, }; return &FileSelectorParamAccessorImpl; } @@ -21523,7 +23611,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { EventResultAccessor::DestroyPeerImpl, EventResultAccessor::CtorImpl, EventResultAccessor::GetFinalizerImpl, - EventResultAccessor::SetGestureEventResultImpl, + EventResultAccessor::SetGestureEventResult0Impl, + EventResultAccessor::SetGestureEventResult1Impl, }; return &EventResultAccessorImpl; } @@ -21640,8 +23729,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { StyledStringAccessor::SubStyledStringImpl, StyledStringAccessor::FromHtmlImpl, StyledStringAccessor::ToHtmlImpl, - StyledStringAccessor::MarshallingImpl, - StyledStringAccessor::UnmarshallingImpl, + StyledStringAccessor::Marshalling0Impl, + StyledStringAccessor::Marshalling1Impl, + StyledStringAccessor::Unmarshalling0Impl, + StyledStringAccessor::Unmarshalling1Impl, StyledStringAccessor::GetLengthImpl, }; return &StyledStringAccessorImpl; @@ -21765,6 +23856,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ParagraphStyleAccessor::GetOverflowImpl, ParagraphStyleAccessor::GetWordBreakImpl, ParagraphStyleAccessor::GetLeadingMarginImpl, + ParagraphStyleAccessor::GetParagraphSpacingImpl, }; return &ParagraphStyleAccessorImpl; } @@ -21835,6 +23927,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { ImageAttachmentAccessor::GetVerticalAlignImpl, ImageAttachmentAccessor::GetObjectFitImpl, ImageAttachmentAccessor::GetLayoutStyleImpl, + ImageAttachmentAccessor::GetColorFilterImpl, }; return &ImageAttachmentAccessorImpl; } @@ -21968,9 +24061,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetScrollMotionAccessor, GetCalendarControllerAccessor, GetCalendarPickerDialogAccessor, - GetNavPathInfoAccessor, - GetNavPathStackAccessor, - GetNavigationTransitionProxyAccessor, GetICurveAccessor, GetDrawModifierAccessor, GetTransitionEffectAccessor, @@ -21980,9 +24070,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetMouseEventAccessor, GetAccessibilityHoverEventAccessor, GetTouchEventAccessor, + GetAxisEventAccessor, GetPixelMapMockAccessor, GetDragEventAccessor, GetKeyEventAccessor, + GetFocusAxisEventAccessor, GetProgressMaskAccessor, GetMeasurableAccessor, GetViewAccessor, @@ -21990,6 +24082,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetChildrenMainSizeAccessor, GetUICommonEventAccessor, GetGestureModifierAccessor, + GetNavPathInfoAccessor, + GetNavPathStackAccessor, + GetNavigationTransitionProxyAccessor, GetCanvasGradientAccessor, GetCanvasPathAccessor, GetPath2DAccessor, @@ -22025,12 +24120,18 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetScrollableTargetInfoAccessor, GetEventTargetInfoAccessor, GetGestureRecognizerAccessor, + GetTapRecognizerAccessor, + GetLongPressRecognizerAccessor, + GetSwipeRecognizerAccessor, + GetPinchRecognizerAccessor, + GetRotationRecognizerAccessor, GetPanRecognizerAccessor, GetImageAnalyzerControllerAccessor, GetListScrollerAccessor, GetMatrix2DAccessor, GetNavDestinationContextAccessor, GetPatternLockControllerAccessor, + GetVirtualScrollOptionsAccessor, GetRichEditorBaseControllerAccessor, GetRichEditorControllerAccessor, GetRichEditorStyledStringControllerAccessor, diff --git a/arkoala/arkui-types/index-full.d.ts b/arkoala/arkui-types/index-full.d.ts index 85d0db902c..fba6676e64 100644 --- a/arkoala/arkui-types/index-full.d.ts +++ b/arkoala/arkui-types/index-full.d.ts @@ -1590,6 +1590,12 @@ declare interface ActionSheetOffset { dx: (number|string|Resource); dy: (number|string|Resource); } +declare interface LevelMode { + _LevelModeStub: string; +} +declare interface ImmersiveMode { + _ImmersiveModeStub: string; +} declare type Callback_DismissDialogAction_Void = ((parameter: DismissDialogAction) => void); declare interface ActionSheetOptions { title: (string|Resource); @@ -1606,6 +1612,8 @@ declare interface ActionSheetOptions { isModal?: boolean; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onWillDismiss?: ((parameter: DismissDialogAction) => void); transition?: TransitionEffect; cornerRadius?: (Dimension|BorderRadiuses|LocalizedBorderRadiuses); @@ -1617,6 +1625,14 @@ declare interface ActionSheetOptions { shadow?: (ShadowOptions|ShadowStyle); enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + onDidAppear?: (() => void); + onDidDisappear?: (() => void); + onWillAppear?: (() => void); + onWillDisappear?: (() => void); + levelMode?: LevelMode; + levelUniqueId?: number; + immersiveMode?: ImmersiveMode; + levelOrder?: LevelOrder; } declare class ActionSheet { static show(value: ActionSheetOptions): void; @@ -1663,6 +1679,9 @@ declare interface AlertDialogButtonOptions extends AlertDialogButtonBaseOptions declare interface TextStyle_alert_dialog { wordBreak?: WordBreak; } +declare interface LevelOrder { + _LevelOrderStub: string; +} declare interface AlertDialogParam { title?: ResourceStr; subtitle?: ResourceStr; @@ -1677,6 +1696,8 @@ declare interface AlertDialogParam { isModal?: boolean; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onWillDismiss?: ((parameter: DismissDialogAction) => void); transition?: TransitionEffect; cornerRadius?: (Dimension|BorderRadiuses|LocalizedBorderRadiuses); @@ -1689,6 +1710,14 @@ declare interface AlertDialogParam { textStyle?: TextStyle_alert_dialog; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + onDidAppear?: (() => void); + onDidDisappear?: (() => void); + onWillAppear?: (() => void); + onWillDisappear?: (() => void); + levelMode?: LevelMode; + levelUniqueId?: number; + immersiveMode?: ImmersiveMode; + levelOrder?: LevelOrder; } declare interface AlertDialogParamWithConfirm extends AlertDialogParam { confirm?: AlertDialogButtonBaseOptions; @@ -1877,6 +1906,8 @@ declare class ButtonAttribute extends CommonMethod { fontFamily(value: (string|Resource)): ButtonAttribute; contentModifier(value: ContentModifier): ButtonAttribute; labelStyle(value: LabelStyle): ButtonAttribute; + minFontScale(value: (number|Resource)): ButtonAttribute; + maxFontScale(value: (number|Resource)): ButtonAttribute; } declare interface CalendarDay { index: number; @@ -1998,6 +2029,9 @@ declare enum CalendarAlign { declare interface CalendarOptions { hintRadius?: (number|Resource); selected?: Date; + start?: Date; + end?: Date; + disabledDateRange?: DateRange[]; } declare interface CalendarPickerInterface { (options?: CalendarOptions): CalendarPickerAttribute; @@ -2005,8 +2039,12 @@ declare interface CalendarPickerInterface { declare type Callback_Date_Void = ((parameter: Date) => void); declare class CalendarPickerAttribute extends CommonMethod { textStyle(value: PickerTextStyle): CalendarPickerAttribute; + textStyle(value: PickerTextStyle | undefined): CalendarPickerAttribute; onChange(value: ((parameter: Date) => void)): CalendarPickerAttribute; + onChange(value: ((parameter: Date) => void) | undefined): CalendarPickerAttribute; + markToday(value: boolean): CalendarPickerAttribute; edgeAlign(alignType: CalendarAlign, offset?: Offset): CalendarPickerAttribute; + edgeAlign(alignType: CalendarAlign | undefined, offset?: Offset): CalendarPickerAttribute; } declare interface CalendarDialogOptions extends CalendarOptions { onAccept?: ((parameter: Date) => void); @@ -2014,6 +2052,8 @@ declare interface CalendarDialogOptions extends CalendarOptions { onChange?: ((parameter: Date) => void); backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; acceptButtonStyle?: PickerDialogButtonStyle; cancelButtonStyle?: PickerDialogButtonStyle; onDidAppear?: VoidCallback; @@ -2023,6 +2063,7 @@ declare interface CalendarDialogOptions extends CalendarOptions { shadow?: (ShadowOptions|ShadowStyle); enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + markToday?: boolean; } declare class CalendarPickerDialog { static show(options?: CalendarDialogOptions): void; @@ -2032,208 +2073,6 @@ declare interface RawFileDescriptor { offset: number; length: number; } -declare interface NavigationCommonTitle { - main: (string|Resource); - sub: (string|Resource); -} -declare interface NavigationCustomTitle { - builder: CustomBuilder; - height: (TitleHeight|Length); -} -declare enum NavigationMode { - STACK = 0, - Stack = 0, - SPLIT = 1, - Split = 1, - AUTO = 2, - Auto = 2, -} -declare enum NavBarPosition { - START = 0, - Start = 0, - END = 1, - End = 1, -} -declare enum NavigationTitleMode { - FREE = 0, - Free = 0, - FULL = 1, - Full = 1, - MINI = 2, - Mini = 2, -} -declare interface NavigationMenuItem { - value: (string|Resource); - icon?: (string|Resource); - symbolIcon?: SymbolGlyphModifier; - isEnabled?: boolean; - action?: (() => void); -} -declare interface PopInfo { - info: NavPathInfo; - result: Object; -} -declare class NavPathInfo { - constructor(name: string, param: unknown, onPop?: ((parameter: PopInfo) => void), isEntry?: boolean); - name: string; - param?: unknown; - onPop?: ((parameter: PopInfo) => void); - isEntry?: boolean; -} -declare enum LaunchMode { - STANDARD = 0, - MOVE_TO_TOP_SINGLETON = 1, - POP_TO_SINGLETON = 2, - NEW_INSTANCE = 3, -} -declare interface NavigationOptions { - launchMode?: LaunchMode; - animated?: boolean; -} -declare class NavPathStack { - constructor(); - pushPath(info: NavPathInfo, animated?: boolean): void; - pushPath(info: NavPathInfo, options?: NavigationOptions): void; - pushDestination(info: NavPathInfo, animated?: boolean): Promise; - pushDestination(info: NavPathInfo, options?: NavigationOptions): Promise; - pushPathByName(name: string, param: unknown, animated?: boolean): void; - pushPathByName(name: string, param: Object, onPop: ((parameter: PopInfo) => void), animated?: boolean): void; - pushDestinationByName(name: string, param: Object, animated?: boolean): Promise; - pushDestinationByName(name: string, param: Object, onPop: ((parameter: PopInfo) => void), animated?: boolean): Promise; - replacePath(info: NavPathInfo, animated?: boolean): void; - replacePath(info: NavPathInfo, options?: NavigationOptions): void; - replaceDestination(info: NavPathInfo, options?: NavigationOptions): Promise; - replacePathByName(name: string, param: Object, animated?: boolean): void; - removeByIndexes(indexes: number[]): number; - removeByName(name: string): number; - removeByNavDestinationId(navDestinationId: string): boolean; - pop(animated?: boolean): NavPathInfo | undefined; - pop(result: Object, animated?: boolean): NavPathInfo | undefined; - popToName(name: string, animated?: boolean): number; - popToName(name: string, result: Object, animated?: boolean): number; - popToIndex(index: number, animated?: boolean): void; - popToIndex(index: number, result: Object, animated?: boolean): void; - moveToTop(name: string, animated?: boolean): number; - moveIndexToTop(index: number, animated?: boolean): void; - clear(animated?: boolean): void; - getAllPathName(): string[]; - getParamByIndex(index: number): unknown | undefined; - getParamByName(name: string): unknown[]; - getIndexByName(name: string): number[]; - getParent(): NavPathStack | undefined; - size(): number; - disableAnimation(value: boolean): void; - setInterception(interception: NavigationInterception): void; -} -declare type NavBar = string; -declare type InterceptionShowCallback = ((from: (NavDestinationContext|NavBar), to: (NavDestinationContext|NavBar), operation: NavigationOperation, isAnimated: boolean) => void); -declare type InterceptionModeCallback = ((mode: NavigationMode) => void); -declare interface NavigationInterception { - willShow?: InterceptionShowCallback; - didShow?: InterceptionShowCallback; - modeChange?: InterceptionModeCallback; -} -declare interface NavigationInterface { - (): NavigationAttribute; - (pathInfos: NavPathStack): NavigationAttribute; -} -declare enum ToolbarItemStatus { - NORMAL = 0, - DISABLED = 1, - ACTIVE = 2, -} -declare enum NavigationOperation { - PUSH = 1, - POP = 2, - REPLACE = 3, -} -declare interface ToolbarItem { - value: ResourceStr; - icon?: ResourceStr; - symbolIcon?: SymbolGlyphModifier; - action?: (() => void); - status?: ToolbarItemStatus; - activeIcon?: ResourceStr; - activeSymbolIcon?: SymbolGlyphModifier; -} -declare interface NavigationTitleOptions { - backgroundColor?: ResourceColor; - backgroundBlurStyle?: BlurStyle; - barStyle?: BarStyle; - paddingStart?: LengthMetrics; - paddingEnd?: LengthMetrics; - mainTitleModifier?: TextModifier; - subTitleModifier?: TextModifier; - enableHoverMode?: boolean; -} -declare enum BarStyle { - STANDARD = 0, - STACK = 1, - SAFE_AREA_PADDING = 2, -} -declare interface NavigationToolbarOptions { - backgroundColor?: ResourceColor; - backgroundBlurStyle?: BlurStyle; - barStyle?: BarStyle; -} -declare type Tuple_Dimension_Dimension = [ Dimension, Dimension ] -declare type Callback_NavigationTitleMode_Void = ((titleMode: NavigationTitleMode) => void); -declare type Callback_Boolean_Void = ((isVisible: boolean) => void); -declare type Callback_NavigationMode_Void = ((mode: NavigationMode) => void); -declare type Callback_String_Unknown_Void = ((name: string, param: unknown) => void); -declare type Type_NavigationAttribute_customNavContentTransition_delegate = ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined); -declare class NavigationAttribute extends CommonMethod { - navBarWidth(value: Length): NavigationAttribute; - navBarPosition(value: NavBarPosition): NavigationAttribute; - navBarWidthRange(value: [ Dimension, Dimension ]): NavigationAttribute; - minContentWidth(value: Dimension): NavigationAttribute; - mode(value: NavigationMode): NavigationAttribute; - backButtonIcon(value: (string|PixelMap|Resource|SymbolGlyphModifier)): NavigationAttribute; - hideNavBar(value: boolean): NavigationAttribute; - subTitle(value: string): NavigationAttribute; - hideTitleBar(value: boolean): NavigationAttribute; - hideBackButton(value: boolean): NavigationAttribute; - titleMode(value: NavigationTitleMode): NavigationAttribute; - menus(value: (NavigationMenuItem[]|CustomBuilder)): NavigationAttribute; - toolBar(value: CustomBuilder): NavigationAttribute; - hideToolBar(value: boolean): NavigationAttribute; - onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void)): NavigationAttribute; - onNavBarStateChange(value: ((isVisible: boolean) => void)): NavigationAttribute; - onNavigationModeChange(value: ((mode: NavigationMode) => void)): NavigationAttribute; - navDestination(value: ((name: string, param: unknown) => void)): NavigationAttribute; - customNavContentTransition(value: ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined)): NavigationAttribute; - systemBarStyle(value: SystemBarStyle | undefined): NavigationAttribute; - recoverable(value: boolean | undefined): NavigationAttribute; - enableDragBar(value: boolean | undefined): NavigationAttribute; - title(value: (ResourceStr|CustomBuilder|NavigationCommonTitle|NavigationCustomTitle), options?: NavigationTitleOptions): NavigationAttribute; - hideTitleBar(hide: boolean, animated: boolean): NavigationAttribute; - toolbarConfiguration(value: (ToolbarItem[]|CustomBuilder), options?: NavigationToolbarOptions): NavigationAttribute; - hideToolBar(hide: boolean, animated: boolean): NavigationAttribute; - ignoreLayoutSafeArea(types?: LayoutSafeAreaType[], edges?: LayoutSafeAreaEdge[]): NavigationAttribute; -} -declare type Callback_NavigationTransitionProxy_Void = ((transitionProxy: NavigationTransitionProxy) => void); -declare interface NavigationAnimatedTransition { - onTransitionEnd?: ((isVisible: boolean) => void); - timeout?: number; - isInteractive?: boolean; - transition: ((transitionProxy: NavigationTransitionProxy) => void); -} -declare interface NavigationTransitionProxy { - from: NavContentInfo; - to: NavContentInfo; - isInteractive?: boolean; - finishTransition(): void; - cancelTransition?(): void; - updateTransition?(progress: number): void; -} -declare interface NavContentInfo { - name?: string; - index: number; - mode?: NavDestinationMode; - param?: Object; - navDestinationId?: string; -} -declare type Callback_PopInfo_Void = ((parameter: PopInfo) => void); declare interface ComponentOptions { freezeWhenInactive: boolean; } @@ -2256,6 +2095,10 @@ declare interface AnimatableArithmetic { equals(rhs: AnimatableArithmetic): boolean; } declare function getContext(component?: Object): Context; +declare type ReuseIdCallback = (() => string); +declare interface ReuseOptions { + reuseId?: ReuseIdCallback; +} declare function postCardAction(component: Object, action: Object): void; declare interface Configuration { readonly colorMode: string; @@ -2274,6 +2117,138 @@ declare interface ExpectedFrameRateRange { } declare function $r(value: string, ...params: any[][]): Resource; declare function $rawfile(value: string): Resource; +declare enum AccessibilitySamePageMode { + SEMI_SILENT = 0, + FULL_SILENT = 1, +} +declare enum AccessibilityRoleType { + ACTION_SHEET = 0, + ALERT_DIALOG = 1, + INDEXER_COMPONENT = 2, + BADGE_COMPONENT = 3, + BLANK = 4, + BUTTON = 5, + BACK_BUTTON = 6, + SHEET_DRAG_BAR = 7, + CALENDAR_PICKER = 8, + CALENDAR = 9, + CANVAS = 10, + CANVAS_GRADIENT = 11, + CANVAS_PATTERN = 12, + CHECKBOX = 13, + CHECKBOX_GROUP = 14, + CIRCLE = 15, + COLUMN_SPLIT = 16, + COLUMN = 17, + CANVAS_RENDERING_CONTEXT_2D = 18, + CHART = 19, + COUNTER = 20, + CONTAINER_MODAL = 21, + DATA_PANEL = 22, + DATE_PICKER = 23, + DIALOG = 24, + DIVIDER = 25, + DRAG_BAR = 26, + EFFECT_COMPONENT = 27, + ELLIPSE = 28, + FLEX = 29, + FLOW_ITEM = 30, + FORM_COMPONENT = 31, + FORM_LINK = 32, + GAUGE = 33, + GRID = 34, + GRID_COL = 35, + GRID_CONTAINER = 36, + GRID_ITEM = 37, + GRID_ROW = 38, + HYPERLINK = 39, + IMAGE = 40, + IMAGE_ANIMATOR = 41, + IMAGE_BITMAP = 42, + IMAGE_DATA = 43, + IMAGE_SPAN = 44, + LABEL = 45, + LINE = 46, + LIST = 47, + LIST_ITEM = 48, + LIST_ITEM_GROUP = 49, + LOADING_PROGRESS = 50, + MARQUEE = 51, + MATRIX2D = 52, + MENU = 53, + MENU_ITEM = 54, + MENU_ITEM_GROUP = 55, + NAV_DESTINATION = 56, + NAV_ROUTER = 57, + NAVIGATION = 58, + NAVIGATION_BAR = 59, + NAVIGATION_MENU = 60, + NAVIGATOR = 61, + OFFSCREEN_CANVAS = 62, + OFFSCREEN_CANVAS_RENDERING_CONTEXT2D = 63, + OPTION = 64, + PANEL = 65, + PAPER_PAGE = 66, + PATH = 67, + PATH2D = 68, + PATTERN_LOCK = 69, + PICKER = 70, + PICKER_VIEW = 71, + PLUGIN_COMPONENT = 72, + POLYGON = 73, + POLYLINE = 74, + POPUP = 75, + PROGRESS = 76, + QRCODE = 77, + RADIO = 78, + RATING = 79, + RECT = 80, + REFRESH = 81, + RELATIVE_CONTAINER = 82, + REMOTE_WINDOW = 83, + RICH_EDITOR = 84, + RICH_TEXT = 85, + ROLE_PAGER = 86, + ROW = 87, + ROW_SPLIT = 88, + SCROLL = 89, + SCROLL_BAR = 90, + SEARCH = 91, + SEARCH_FIELD = 92, + SELECT = 93, + SHAPE = 94, + SIDEBAR_CONTAINER = 95, + SLIDER = 96, + SPAN = 97, + STACK = 98, + STEPPER = 99, + STEPPER_ITEM = 100, + SWIPER = 101, + SWIPER_INDICATOR = 102, + SWITCH = 103, + SYMBOL_GLYPH = 104, + TAB_CONTENT = 105, + TAB_BAR = 106, + TABS = 107, + TEXT = 108, + TEXT_CLOCK = 109, + TEXT_ENTRY = 110, + TEXT_INPUT = 111, + TEXT_PICKER = 112, + TEXT_TIMER = 113, + TEXT_AREA = 114, + TEXT_FIELD = 115, + TIME_PICKER = 116, + TITLE_BAR = 117, + TOGGLER = 118, + UI_EXTENSION_COMPONENT = 119, + VIDEO = 120, + WATER_FLOW = 121, + WEB = 122, + XCOMPONENT = 123, + ROLE_NONE = 124, +} +declare type AccessibilityFocusCallback = ((isFocus: boolean) => void); declare enum FinishCallbackType { REMOVED = 0, LOGICALLY = 1, @@ -2315,6 +2290,28 @@ declare interface GeometryTransitionOptions { follow?: boolean; hierarchyStrategy?: TransitionHierarchyStrategy; } +declare type Tuple_ResourceColor_Number = [ ResourceColor, number ] +declare interface LinearGradientOptions { + angle?: (number|string); + direction?: GradientDirection; + colors: [ ResourceColor, number ][]; + repeating?: boolean; +} +declare type Tuple_Length_Length = [ Length, Length ] +declare interface SweepGradientOptions { + center: [ Length, Length ]; + start?: (number|string); + end?: (number|string); + rotation?: (number|string); + colors: [ ResourceColor, number ][]; + repeating?: boolean; +} +declare interface RadialGradientOptions { + center: [ Length, Length ]; + radius: Length; + colors: [ ResourceColor, number ][]; + repeating?: boolean; +} declare enum TransitionHierarchyStrategy { NONE = 0, ADAPTIVE = 1, @@ -2437,6 +2434,7 @@ declare enum PreDragStatus { PREVIEW_LANDING_STARTED = 4, PREVIEW_LANDING_FINISHED = 5, ACTION_CANCELED_BEFORE_DRAG = 6, + PREPARING_FOR_DRAG_DETECTION = 7, } declare interface DragItemInfo { pixelMap?: PixelMap; @@ -2462,6 +2460,7 @@ declare namespace cursorControl { } declare interface EventTarget { area: Area; + id?: string; } declare enum SourceType { UNKNOWN = 0, @@ -2538,6 +2537,9 @@ declare interface ForegroundBlurStyleOptions extends BlurStyleOptions { declare interface BlurOptions { grayscale: [ number, number ]; } +declare interface SystemAdaptiveOptions { + disableSystemAdaptation?: boolean; +} declare interface BlurStyleOptions { colorMode?: ThemeColorMode; adaptiveColor?: AdaptiveColor; @@ -2631,8 +2633,10 @@ declare interface BaseEvent { pressure: number; tiltX: number; tiltY: number; + rollAngle?: number; sourceTool: SourceTool; deviceId?: number; + targetDisplayId?: number; getModifierKeyState?(keys: string[]): boolean; } declare interface BorderImageOption { @@ -2643,6 +2647,9 @@ declare interface BorderImageOption { outset?: (Length|EdgeWidths|LocalizedEdgeWidths); fill?: boolean; } +declare class LayoutPolicy { + static readonly matchParent: LayoutPolicy; +} declare interface ClickEvent extends BaseEvent { displayX: number; displayY: number; @@ -2652,9 +2659,16 @@ declare interface ClickEvent extends BaseEvent { screenY: number; x: number; y: number; + hand?: InteractionHand; preventDefault: (() => void); } declare interface HoverEvent extends BaseEvent { + x?: number; + y?: number; + windowX?: number; + windowY?: number; + displayX?: number; + displayY?: number; stopPropagation: (() => void); } declare interface MouseEvent extends BaseEvent { @@ -2669,6 +2683,9 @@ declare interface MouseEvent extends BaseEvent { x: number; y: number; stopPropagation: (() => void); + rawDeltaX?: number; + rawDeltaY?: number; + pressedButtons?: MouseButton[]; } declare interface AccessibilityHoverEvent extends BaseEvent { type: AccessibilityHoverType; @@ -2690,6 +2707,11 @@ declare interface TouchObject { screenY: number; x: number; y: number; + hand?: InteractionHand; + pressedTime?: number; + pressure?: number; + width?: number; + height?: number; } declare interface HistoricalPoint { touchObject: TouchObject; @@ -2705,6 +2727,19 @@ declare interface TouchEvent extends BaseEvent { preventDefault: (() => void); getHistoricalPoints(): HistoricalPoint[]; } +declare interface AxisEvent extends BaseEvent { + action: AxisAction; + displayX: number; + displayY: number; + windowX: number; + windowY: number; + x: number; + y: number; + scrollStep?: number; + propagation: (() => void); + getHorizontalAxisValue(): number; + getVerticalAxisValue(): number; +} declare type SizeChangeCallback = ((oldValue: SizeOptions, newValue: SizeOptions) => void); declare type GestureRecognizerJudgeBeginCallback = ((event: BaseGestureEvent, current: GestureRecognizer, recognizers: GestureRecognizer[]) => GestureJudgeResult); declare type ShouldBuiltInRecognizerParallelWithCallback = ((current: GestureRecognizer, others: GestureRecognizer[]) => GestureRecognizer); @@ -2716,6 +2751,9 @@ declare enum DragBehavior { COPY = 0, MOVE = 1, } +declare interface DataSyncOptions { + _DataSyncOptionsStub: string; +} declare enum DragResult { DRAG_SUCCESSFUL = 0, DRAG_FAILED = 1, @@ -2746,6 +2784,12 @@ declare interface DragEvent { getVelocityY(): number; getVelocity(): number; getModifierKeyState?(keys: string[]): boolean; + executeDropAnimation(customDropAnimation: (() => void)): void; + startDataLoading(options: DataSyncOptions): string; +} +declare type OnDragEventCallback = ((event: DragEvent, extraParams?: string) => void); +declare interface DropOptions { + disableDataPrefetch?: boolean; } declare interface KeyEvent { type: KeyType; @@ -2760,6 +2804,17 @@ declare interface KeyEvent { unicode?: number; getModifierKeyState?(keys: string[]): boolean; } +declare interface FocusAxisEvent extends BaseEvent { + axisMap: Map; + stopPropagation: (() => void); +} +declare interface CrownEvent { + timestamp: number; + angularVelocity: number; + degree: number; + action: CrownAction; + stopPropagation: (() => void); +} declare interface BindOptions { backgroundColor?: ResourceColor; onAppear?: (() => void); @@ -2841,6 +2896,15 @@ declare interface SheetOptions extends BindOptions { onTypeDidChange?: ((parameter: SheetType) => void); uiContext?: UIContext; keyboardAvoidMode?: SheetKeyboardAvoidMode; + enableHoverMode?: boolean; + hoverModeArea?: HoverModeAreaType; + offset?: Position; + effectEdge?: number; + radius?: (LengthMetrics|BorderRadiuses|LocalizedBorderRadiuses); + detentSelection?: (SheetSize|Length); + showInSubWindow?: boolean; + placement?: Placement; + placementOnTarget?: boolean; } declare interface StateStyles { normal?: any; @@ -2864,11 +2928,52 @@ declare interface DismissPopupAction { dismiss: (() => void); reason: DismissReason; } +declare interface PopupStateChangeParam { + isVisible: boolean; +} +declare type PopupStateChangeCallback = ((event: PopupStateChangeParam) => void); +declare interface PopupMaskType { + color: ResourceColor; +} +declare type Callback_DismissPopupAction_Void = ((parameter: DismissPopupAction) => void); +declare interface PopupCommonOptions { + placement?: Placement; + popupColor?: ResourceColor; + enableArrow?: boolean; + autoCancel?: boolean; + onStateChange?: PopupStateChangeCallback; + arrowOffset?: Length; + showInSubWindow?: boolean; + mask?: (boolean|PopupMaskType); + targetSpace?: Length; + offset?: Position; + width?: Dimension; + arrowPointPosition?: ArrowPointPosition; + arrowWidth?: Dimension; + arrowHeight?: Dimension; + radius?: Dimension; + shadow?: (ShadowOptions|ShadowStyle); + backgroundBlurStyle?: BlurStyle; + focusable?: boolean; + transition?: TransitionEffect; + onWillDismiss?: (boolean|((parameter: DismissPopupAction) => void)); + enableHoverMode?: boolean; + followTransformOfTarget?: boolean; +} +declare interface TipsOptions { + appearingTime?: number; + disappearingTime?: number; + appearingTimeWithContinuousOperation?: number; + disappearingTimeWithContinuousOperation?: number; + enableArrow?: boolean; + arrowPointPosition?: ArrowPointPosition; + arrowWidth?: Dimension; + arrowHeight?: Dimension; +} declare type Literal_String_value_Callback_Void_action = { value: string, action: (() => void) } declare type Literal_Boolean_isVisible = { isVisible: boolean } declare type Callback_Literal_Boolean_isVisible_Void = ((event: { isVisible: boolean }) => void); declare type Literal_ResourceColor_color = { color: ResourceColor } -declare type Callback_DismissPopupAction_Void = ((parameter: DismissPopupAction) => void); declare interface PopupOptions { message: string; placementOnTop?: boolean; @@ -2896,6 +3001,7 @@ declare interface PopupOptions { onWillDismiss?: (boolean|((parameter: DismissPopupAction) => void)); enableHoverMode?: boolean; followTransformOfTarget?: boolean; + keyboardAvoidMode?: KeyboardAvoidMode; } declare interface CustomPopupOptions { builder: CustomBuilder; @@ -2922,6 +3028,7 @@ declare interface CustomPopupOptions { onWillDismiss?: (boolean|((parameter: DismissPopupAction) => void)); enableHoverMode?: boolean; followTransformOfTarget?: boolean; + keyboardAvoidMode?: KeyboardAvoidMode; } declare enum MenuPreviewMode { NONE = 0, @@ -2934,12 +3041,19 @@ declare interface ContextMenuAnimationOptions { transition?: TransitionEffect; hoverScale?: [ number, number ]; } +declare type BorderRadiusType = (Length|BorderRadiuses|LocalizedBorderRadiuses); +declare enum HapticFeedbackMode { + DISABLED = 0, + ENABLED = 1, + AUTO = 2, +} declare interface ContextMenuOptions { offset?: Position; placement?: Placement; enableArrow?: boolean; arrowOffset?: Length; preview?: (MenuPreviewMode|CustomBuilder); + previewBorderRadius?: BorderRadiusType; borderRadius?: (Length|BorderRadiuses|LocalizedBorderRadiuses); onAppear?: (() => void); onDisappear?: (() => void); @@ -2949,8 +3063,13 @@ declare interface ContextMenuOptions { previewAnimationOptions?: ContextMenuAnimationOptions; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; transition?: TransitionEffect; enableHoverMode?: boolean; + outlineColor?: (ResourceColor|EdgeColors); + outlineWidth?: (Dimension|EdgeOutlineWidths); + hapticFeedbackMode?: HapticFeedbackMode; } declare interface MenuOptions extends ContextMenuOptions { title?: ResourceStr; @@ -3017,6 +3136,14 @@ declare enum DragPreviewMode { DISABLE_SCALE = 2, ENABLE_DEFAULT_SHADOW = 3, ENABLE_DEFAULT_RADIUS = 4, + ENABLE_DRAG_ITEM_GRAY_EFFECT = 5, + ENABLE_MULTI_TILE_EFFECT = 6, + ENABLE_TOUCH_POINT_CALCULATION_BASED_ON_FINAL_PREVIEW = 7, +} +declare enum DraggingSizeChangeEffect { + DEFAULT = 0, + SIZE_TRANSITION = 1, + SIZE_CONTENT_TRANSITION = 2, } declare enum MenuPolicy { DEFAULT = 0, @@ -3027,10 +3154,18 @@ declare interface DragPreviewOptions { mode?: (DragPreviewMode|DragPreviewMode[]); modifier?: ImageModifier; numberBadge?: (boolean|number); + sizeChangeEffect?: DraggingSizeChangeEffect; } declare interface DragInteractionOptions { isMultiSelectionEnabled?: boolean; defaultAnimationBeforeLifting?: boolean; + enableEdgeAutoScroll?: boolean; + enableHapticFeedback?: boolean; + isLiftingDisabled?: boolean; +} +declare interface PreviewConfiguration { + onlyForLifting?: boolean; + delayCreating?: boolean; } declare interface InvertOptions { low: number; @@ -3039,31 +3174,37 @@ declare interface InvertOptions { thresholdRange: number; } declare type Optional = T | undefined; +declare type TipsMessageType = (ResourceStr|StyledString); +declare interface BackgroundImageOptions { + syncLoad?: boolean; + repeat?: ImageRepeat; +} declare type Callback_Array_TouchTestInfo_TouchResult = ((value: TouchTestInfo[]) => TouchResult); declare type Callback_ClickEvent_Void = ((event: ClickEvent) => void); declare type Callback_Boolean_HoverEvent_Void = ((isHover: boolean, event: HoverEvent) => void); +declare type Callback_HoverEvent_Void = ((parameter: HoverEvent) => void); declare type Callback_MouseEvent_Void = ((event: MouseEvent) => void); declare type Callback_TouchEvent_Void = ((event: TouchEvent) => void); declare type Callback_KeyEvent_Void = ((event: KeyEvent) => void); declare type Callback_KeyEvent_Boolean = ((parameter: KeyEvent) => boolean); +declare type Callback_CrownEvent_Void = ((parameter: CrownEvent) => void); +declare type Callback_FocusAxisEvent_Void = ((parameter: FocusAxisEvent) => void); +declare type Callback_AxisEvent_Void = ((parameter: AxisEvent) => void); declare type Callback_Area_Area_Void = ((oldValue: Area, newValue: Area) => void); declare type Literal_Number_offset_span = { span: number, offset: number } declare type Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs = { xs?: (number|{ span: number, offset: number }), sm?: (number|{ span: number, offset: number }), md?: (number|{ span: number, offset: number }), lg?: (number|{ span: number, offset: number }) } declare type Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo = ((event: DragEvent, extraParams?: string) => (CustomBuilder|DragItemInfo)); declare type Callback_DragEvent_String_Void = ((event: DragEvent, extraParams?: string) => void); declare type Callback_PreDragStatus_Void = ((parameter: PreDragStatus) => void); -declare type Tuple_ResourceColor_Number = [ ResourceColor, number ] -declare type Type_CommonMethod_linearGradient_value = { angle?: (number|string), direction?: GradientDirection, colors: [ ResourceColor, number ][], repeating?: boolean } -declare type Tuple_Length_Length = [ Length, Length ] -declare type Type_CommonMethod_sweepGradient_value = { center: [ Length, Length ], start?: (number|string), end?: (number|string), rotation?: (number|string), colors: [ ResourceColor, number ][], repeating?: boolean } -declare type Type_CommonMethod_radialGradient_value = { center: [ Length, Length ], radius: (number|string), colors: [ ResourceColor, number ][], repeating?: boolean } declare type Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult = ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult); declare type Callback_TouchEvent_HitTestMode = ((parameter: TouchEvent) => HitTestMode); declare type Literal_Alignment_align = { align?: Alignment } declare class CommonMethod { constructor(); width(value: Length): T; + width(value: (Length|LayoutPolicy)): T; height(value: Length): T; + height(value: (Length|LayoutPolicy)): T; drawModifier(value: DrawModifier | undefined): T; responseRegion(value: (Rectangle[]|Rectangle)): T; mouseResponseRegion(value: (Rectangle[]|Rectangle)): T; @@ -3078,6 +3219,7 @@ declare class CommonMethod { safeAreaPadding(value: (Padding|LengthMetrics|LocalizedPadding)): T; margin(value: (Padding|Length|LocalizedPadding)): T; backgroundColor(value: ResourceColor): T; + backgroundColor(value: ResourceColor | undefined): T; pixelRound(value: PixelRoundPolicy): T; backgroundImageSize(value: (SizeOptions|ImageSize)): T; backgroundImagePosition(value: (Position|Alignment)): T; @@ -3089,6 +3231,7 @@ declare class CommonMethod { foregroundFilter(value: Filter): T; compositingFilter(value: Filter): T; opacity(value: (number|Resource)): T; + opacity(value: (number|Resource) | undefined): T; border(value: BorderOptions): T; borderStyle(value: (BorderStyle|EdgeStyles)): T; borderWidth(value: (Length|EdgeWidths|LocalizedEdgeWidths)): T; @@ -3096,20 +3239,34 @@ declare class CommonMethod { borderRadius(value: (Length|BorderRadiuses|LocalizedBorderRadiuses)): T; borderImage(value: BorderImageOption): T; outline(value: OutlineOptions): T; + outline(value: OutlineOptions | undefined): T; outlineStyle(value: (OutlineStyle|EdgeOutlineStyles)): T; + outlineStyle(value: (OutlineStyle|EdgeOutlineStyles) | undefined): T; outlineWidth(value: (Dimension|EdgeOutlineWidths)): T; + outlineWidth(value: (Dimension|EdgeOutlineWidths) | undefined): T; outlineColor(value: (ResourceColor|EdgeColors|LocalizedEdgeColors)): T; + outlineColor(value: (ResourceColor|EdgeColors|LocalizedEdgeColors) | undefined): T; outlineRadius(value: (Dimension|OutlineRadiuses)): T; + outlineRadius(value: (Dimension|OutlineRadiuses) | undefined): T; foregroundColor(value: (ResourceColor|ColoringStrategy)): T; + foregroundColor(value: (ResourceColor|ColoringStrategy) | undefined): T; onClick(value: ((event: ClickEvent) => void)): T; onHover(value: ((isHover: boolean, event: HoverEvent) => void)): T; + onHoverMove(value: ((parameter: HoverEvent) => void)): T; onAccessibilityHover(value: AccessibilityCallback): T; hoverEffect(value: HoverEffect): T; onMouse(value: ((event: MouseEvent) => void)): T; onTouch(value: ((event: TouchEvent) => void)): T; onKeyEvent(value: ((event: KeyEvent) => void)): T; + onKeyEvent(value: ((parameter: KeyEvent) => boolean)): T; + onDigitalCrown(value: ((parameter: CrownEvent) => void) | undefined): T; onKeyPreIme(value: ((parameter: KeyEvent) => boolean)): T; + onKeyEventDispatch(value: ((parameter: KeyEvent) => boolean)): T; + onFocusAxisEvent(value: ((parameter: FocusAxisEvent) => void)): T; + onAxisEvent(value: ((parameter: AxisEvent) => void)): T; focusable(value: boolean): T; + nextFocus(value: FocusMovement | undefined): T; + tabStop(value: boolean): T; onFocus(value: (() => void)): T; onBlur(value: (() => void)): T; tabIndex(value: number): T; @@ -3120,24 +3277,40 @@ declare class CommonMethod { animation(value: AnimateParam): T; transition(value: (TransitionOptions|TransitionEffect)): T; motionBlur(value: MotionBlurOptions): T; + motionBlur(value: MotionBlurOptions | undefined): T; brightness(value: number): T; + brightness(value: number | undefined): T; contrast(value: number): T; + contrast(value: number | undefined): T; grayscale(value: number): T; + grayscale(value: number | undefined): T; colorBlend(value: (Color|string|Resource)): T; + colorBlend(value: (Color|string|Resource) | undefined): T; saturate(value: number): T; + saturate(value: number | undefined): T; sepia(value: number): T; + sepia(value: number | undefined): T; invert(value: (number|InvertOptions)): T; + invert(value: (number|InvertOptions) | undefined): T; hueRotate(value: (number|string)): T; + hueRotate(value: (number|string) | undefined): T; useShadowBatching(value: boolean): T; + useShadowBatching(value: boolean | undefined): T; useEffect(value: boolean): T; renderGroup(value: boolean): T; + renderGroup(value: boolean | undefined): T; freeze(value: boolean): T; + freeze(value: boolean | undefined): T; translate(value: TranslateOptions): T; + translate(value: TranslateOptions | undefined): T; scale(value: ScaleOptions): T; + scale(value: ScaleOptions | undefined): T; gridSpan(value: number): T; gridOffset(value: number): T; rotate(value: RotateOptions): T; + rotate(value: RotateOptions | undefined): T; transform(value: TransformationMatrix): T; + transform(value: Object | undefined): T; onAppear(value: (() => void)): T; onDisAppear(value: (() => void)): T; onAttach(value: (() => void)): T; @@ -3161,6 +3334,7 @@ declare class CommonMethod { alignRules(value: LocalizedAlignRuleOptions): T; aspectRatio(value: number): T; clickEffect(value: ClickEffect | undefined): T; + clickEffect(value: ClickEffect | undefined): T; onDragStart(value: ((event: DragEvent, extraParams?: string) => (CustomBuilder|DragItemInfo))): T; onDragEnter(value: ((event: DragEvent, extraParams?: string) => void)): T; onDragMove(value: ((event: DragEvent, extraParams?: string) => void)): T; @@ -3171,28 +3345,45 @@ declare class CommonMethod { draggable(value: boolean): T; dragPreview(value: (CustomBuilder|DragItemInfo|string)): T; onPreDrag(value: ((parameter: PreDragStatus) => void)): T; - linearGradient(value: { angle?: (number|string), direction?: GradientDirection, colors: [ ResourceColor, number ][], repeating?: boolean }): T; - sweepGradient(value: { center: [ Length, Length ], start?: (number|string), end?: (number|string), rotation?: (number|string), colors: [ ResourceColor, number ][], repeating?: boolean }): T; - radialGradient(value: { center: [ Length, Length ], radius: (number|string), colors: [ ResourceColor, number ][], repeating?: boolean }): T; + linearGradient(value: LinearGradientOptions): T; + linearGradient(value: LinearGradientOptions | undefined): T; + sweepGradient(value: SweepGradientOptions): T; + sweepGradient(value: SweepGradientOptions | undefined): T; + radialGradient(value: RadialGradientOptions): T; + radialGradient(value: RadialGradientOptions | undefined): T; motionPath(value: MotionPathOptions): T; shadow(value: (ShadowOptions|ShadowStyle)): T; + shadow(value: (ShadowOptions|ShadowStyle) | undefined): T; + clip(value: boolean | undefined): T; clip(value: boolean | undefined): T; clip(value: boolean | undefined): T; clipShape(value: (CircleShape|EllipseShape|PathShape|RectShape)): T; + clipShape(value: (CircleShape|EllipseShape|PathShape|RectShape) | undefined): T; + mask(value: ProgressMask | undefined): T; mask(value: ProgressMask | undefined): T; mask(value: ProgressMask | undefined): T; maskShape(value: (CircleShape|EllipseShape|PathShape|RectShape)): T; + maskShape(value: (CircleShape|EllipseShape|PathShape|RectShape) | undefined): T; key(value: string): T; id(value: string): T; geometryTransition(value: string): T; stateStyles(value: StateStyles): T; restoreId(value: number): T; sphericalEffect(value: number): T; + sphericalEffect(value: number | undefined): T; lightUpEffect(value: number): T; + lightUpEffect(value: number | undefined): T; pixelStretchEffect(value: PixelStretchEffectOptions): T; + pixelStretchEffect(value: PixelStretchEffectOptions | undefined): T; accessibilityGroup(value: boolean): T; accessibilityText(value: string): T; + accessibilityNextFocusId(value: string): T; + accessibilityDefaultFocus(value: boolean): T; + accessibilityUseSamePage(value: AccessibilitySamePageMode): T; + accessibilityScrollTriggerable(value: boolean): T; accessibilityText(value: Resource): T; + accessibilityRole(value: AccessibilityRoleType): T; + onAccessibilityFocus(value: AccessibilityFocusCallback): T; accessibilityTextHint(value: string): T; accessibilityDescription(value: string): T; accessibilityDescription(value: Resource): T; @@ -3202,21 +3393,29 @@ declare class CommonMethod { accessibilitySelected(value: boolean): T; obscured(value: ObscuredReasons[]): T; reuseId(value: string): T; + reuse(value: ReuseOptions): T; renderFit(value: RenderFit): T; + renderFit(value: RenderFit | undefined): T; gestureModifier(value: GestureModifier): T; backgroundBrightness(value: BackgroundBrightnessOptions): T; + backgroundBrightness(value: BackgroundBrightnessOptions | undefined): T; onGestureJudgeBegin(value: ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult)): T; onGestureRecognizerJudgeBegin(value: GestureRecognizerJudgeBeginCallback): T; shouldBuiltInRecognizerParallelWith(value: ShouldBuiltInRecognizerParallelWithCallback): T; monopolizeEvents(value: boolean): T; onTouchIntercept(value: ((parameter: TouchEvent) => HitTestMode)): T; onSizeChange(value: SizeChangeCallback): T; + accessibilityFocusDrawLevel(value: FocusDrawLevel): T; customProperty(name: string, value: Object | undefined): T; expandSafeArea(types?: SafeAreaType[], edges?: SafeAreaEdge[]): T; background(builder: CustomBuilder, options?: { align?: Alignment }): T; backgroundImage(src: (ResourceStr|PixelMap), repeat?: ImageRepeat): T; + backgroundImage(src: (ResourceStr|PixelMap), options?: BackgroundImageOptions): T; backgroundBlurStyle(value: BlurStyle, options?: BackgroundBlurStyleOptions): T; + backgroundBlurStyle(style: BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): T; + backgroundEffect(options: BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): T; foregroundBlurStyle(value: BlurStyle, options?: ForegroundBlurStyleOptions): T; + foregroundBlurStyle(style: BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): T; onClick(event: ((event: ClickEvent) => void), distanceThreshold: number): T; focusScopeId(id: string, isGroup?: boolean): T; focusScopeId(id: string, isGroup?: boolean, arrowStepOut?: boolean): T; @@ -3226,26 +3425,35 @@ declare class CommonMethod { priorityGesture(gesture: GestureType, mask?: GestureMask): T; parallelGesture(gesture: GestureType, mask?: GestureMask): T; blur(value: number, options?: BlurOptions): T; + blur(blurRadius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): T; linearGradientBlur(value: number, options: LinearGradientBlurOptions): T; + linearGradientBlur(blurRadius: number | undefined, options: LinearGradientBlurOptions | undefined): T; systemBarEffect(): T; useEffect(useEffect: boolean, effectType: EffectType): T; + useEffect(useEffect: boolean | undefined, effectType?: EffectType): T; backdropBlur(value: number, options?: BlurOptions): T; + backdropBlur(radius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): T; sharedTransition(id: string, options?: sharedTransitionOptions): T; chainMode(direction: Axis, style: ChainStyle): T; + onDrop(eventCallback: OnDragEventCallback, dropOptions?: DropOptions): T; + dragPreview(preview: (CustomBuilder|DragItemInfo|string), config?: PreviewConfiguration): T; dragPreviewOptions(value: DragPreviewOptions, options?: DragInteractionOptions): T; overlay(value: (string|CustomBuilder|ComponentContent), options?: OverlayOptions): T; blendMode(value: BlendMode, type?: BlendApplyType): T; + blendMode(mode: BlendMode | undefined, type?: BlendApplyType): T; advancedBlendMode(effect: (BlendMode|BrightnessBlender), type?: BlendApplyType): T; geometryTransition(id: string, options?: GeometryTransitionOptions): T; + bindTips(message: TipsMessageType, options?: TipsOptions): T; bindPopup(show: boolean, popup: (PopupOptions|CustomPopupOptions)): T; bindMenu(content: (MenuElement[]|CustomBuilder), options?: MenuOptions): T; bindMenu(isShow: boolean, content: (MenuElement[]|CustomBuilder), options?: MenuOptions): T; bindContextMenu(content: CustomBuilder, responseType: ResponseType, options?: ContextMenuOptions): T; bindContextMenu(isShown: boolean, content: CustomBuilder, options?: ContextMenuOptions): T; - bindContentCover(isShow: boolean | undefined, builder: CustomBuilder, type?: ModalTransition): T; - bindContentCover(isShow: boolean | undefined, builder: CustomBuilder, options?: ContentCoverOptions): T; - bindSheet(isShow: boolean | undefined, builder: CustomBuilder, options?: SheetOptions): T; + bindContentCover(isShow: boolean, builder: CustomBuilder, type?: ModalTransition): T; + bindContentCover(isShow: boolean, builder: CustomBuilder, options?: ContentCoverOptions): T; + bindSheet(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): T; onVisibleAreaChange(ratios: number[], event: VisibleAreaChangeCallback): T; + onVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void; keyboardShortcut(value: (string|FunctionKey), keys: ModifierKey[], action?: (() => void)): T; accessibilityGroup(isGroup: boolean, accessibilityOptions: AccessibilityOptions): T; onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback, exposeInnerGesture: boolean): T; @@ -3324,6 +3532,7 @@ declare interface Layoutable { stub: string; } declare interface Measurable { + uniqueId?: number; measure(constraint: ConstraintSizeOptions): MeasureResult; getMargin(): DirectionalEdgesT; getPadding(): DirectionalEdgesT; @@ -3347,17 +3556,25 @@ declare interface RouterPageInfo { declare interface Theme { _ThemeStub: string; } +declare interface PromptActionDialogController { + _PromptActionDialogControllerStub: string; +} declare type Literal_Empty = { } -declare class CustomComponent extends CommonAttribute { +declare class CustomComponent extends BaseCustomComponent { + aboutToReuse?(params: { }): void; + onLayout?(children: LayoutChild[], constraint: ConstraintSizeOptions): void; + onMeasure?(children: LayoutChild[], constraint: ConstraintSizeOptions): void; +} +declare class CustomComponentV2 extends BaseCustomComponent { + aboutToReuse?(): void; +} +declare class BaseCustomComponent extends CommonAttribute { build(): void; aboutToAppear?(): void; aboutToDisappear?(): void; - aboutToReuse?(params: { }): void; aboutToRecycle?(): void; onWillApplyTheme?(theme: Theme): void; - onLayout?(children: LayoutChild[], constraint: ConstraintSizeOptions): void; onPlaceChildren?(selfLayoutInfo: GeometryInfo, children: Layoutable[], constraint: ConstraintSizeOptions): void; - onMeasure?(children: LayoutChild[], constraint: ConstraintSizeOptions): void; onMeasureSize?(selfLayoutInfo: GeometryInfo, children: Measurable[], constraint: ConstraintSizeOptions): SizeResult; onPageShow?(): void; onPageHide?(): void; @@ -3368,9 +3585,12 @@ declare class CustomComponent extends CommonAttribute { getUIContext(): UIContext; getUniqueId(): number; queryNavDestinationInfo(): NavDestinationInfo | undefined; + queryNavDestinationInfo(isInner: boolean | undefined): NavDestinationInfo | undefined; queryNavigationInfo(): NavigationInfo | undefined; queryRouterPageInfo(): RouterPageInfo | undefined; onDidBuild?(): void; + getDialogController(): PromptActionDialogController | undefined; + onNewParam?(param: Object): void; } declare class View { create(value: number|bigint): number|bigint; @@ -3386,10 +3606,18 @@ declare interface CaretOffset { x: number; y: number; } +declare interface TextContentControllerOptions { + offset?: number; +} declare class TextContentControllerBase { getCaretOffset(): CaretOffset; getTextContentRect(): RectResult; getTextContentLineCount(): number; + addText(text: string, textOperationOptions?: TextContentControllerOptions): number; + deleteText(range?: TextRange): void; + getSelection(): TextRange; + clearPreviewText(): void; + getText(range?: TextRange): string; } declare enum ContentClipMode { CONTENT_ONLY = 0, @@ -3410,6 +3638,8 @@ declare class ScrollableCommonMethod extends CommonMethod { onScrollStop(value: (() => void)): T; flingSpeedLimit(value: number): T; clipContent(value: (ContentClipMode|RectShape)): T; + digitalCrownSensitivity(value: CrownSensitivity | undefined): T; + backToTop(value: boolean): T; edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): T; fadingEdge(enabled: boolean | undefined, options?: FadingEdgeOptions): T; } @@ -3421,11 +3651,23 @@ declare interface OnWillScrollCallback { } declare type OnScrollCallback = ((scrollOffset: number, scrollState: ScrollState) => void); declare type OnMoveHandler = ((from: number, to: number) => void); +declare interface ItemDragEventHandler { + onLongPress?: ((index: number) => void); + onDragStart?: ((index: number) => void); + onMoveThrough?: OnMoveHandler; + onDrop?: ((index: number) => void); +} declare class DynamicNode { onMove(handler: OnMoveHandler | undefined): T; + onMove(handler: OnMoveHandler | undefined, eventHandler: ItemDragEventHandler): T; } declare interface EdgeEffectOptions { alwaysEnabled: boolean; + effectEdge?: number; +} +declare enum EffectEdge { + START = 1, + END = 2, } declare class ChildrenMainSize { constructor(childDefaultSize: number); @@ -3453,6 +3695,7 @@ declare interface KeyframeAnimateParam { delay?: number; iterations?: number; onFinish?: (() => void); + expectedFrameRateRange?: ExpectedFrameRateRange; } declare interface KeyframeState { duration: number; @@ -3488,20 +3731,255 @@ declare interface UIGestureEvent { removeGestureByTag(tag: string): void; clearGestures(): void; } -declare interface GestureModifier { - applyGesture(event: UIGestureEvent): void; +declare interface GestureModifier { + applyGesture(event: UIGestureEvent): void; +} +declare interface SelectionOptions { + menuPolicy?: MenuPolicy; +} +declare interface FocusMovement { + forward?: string; + backward?: string; + up?: string; + down?: string; + left?: string; + right?: string; +} +declare enum KeyboardAvoidMode { + DEFAULT = 0, + NONE = 1, +} +declare enum HoverModeAreaType { + TOP_SCREEN = 0, + BOTTOM_SCREEN = 1, +} +declare interface DateRange { + start?: Date; + end?: Date; +} +declare interface NavigationCommonTitle { + main: (string|Resource); + sub: (string|Resource); +} +declare interface NavigationCustomTitle { + builder: CustomBuilder; + height: (TitleHeight|Length); +} +declare enum NavigationMode { + STACK = 0, + Stack = 0, + SPLIT = 1, + Split = 1, + AUTO = 2, + Auto = 2, +} +declare enum NavBarPosition { + START = 0, + Start = 0, + END = 1, + End = 1, +} +declare enum NavigationTitleMode { + FREE = 0, + Free = 0, + FULL = 1, + Full = 1, + MINI = 2, + Mini = 2, +} +declare interface NavigationMenuItem { + value: (string|Resource); + icon?: (string|Resource); + symbolIcon?: SymbolGlyphModifier; + isEnabled?: boolean; + action?: (() => void); +} +declare interface PopInfo { + info: NavPathInfo; + result: Object; +} +declare class NavPathInfo { + constructor(name: string, param: unknown, onPop?: ((parameter: PopInfo) => void), isEntry?: boolean); + name: string; + param?: Object | undefined; + onPop?: ((parameter: PopInfo) => void); + isEntry?: boolean; + navDestinationId?: string; +} +declare enum LaunchMode { + STANDARD = 0, + MOVE_TO_TOP_SINGLETON = 1, + POP_TO_SINGLETON = 2, + NEW_INSTANCE = 3, +} +declare interface NavigationOptions { + launchMode?: LaunchMode; + animated?: boolean; +} +declare class NavPathStack { + constructor(); + pushPath(info: NavPathInfo, animated?: boolean): void; + pushPath(info: NavPathInfo, options?: NavigationOptions): void; + pushDestination(info: NavPathInfo, animated?: boolean): Promise; + pushDestination(info: NavPathInfo, options?: NavigationOptions): Promise; + pushPathByName(name: string, param: Object | undefined, animated?: boolean): void; + pushPathByName(name: string, param: Object, onPop: ((parameter: PopInfo) => void), animated?: boolean): void; + pushDestinationByName(name: string, param: Object, animated?: boolean): Promise; + pushDestinationByName(name: string, param: Object, onPop: ((parameter: PopInfo) => void), animated?: boolean): Promise; + replacePath(info: NavPathInfo, animated?: boolean): void; + replacePath(info: NavPathInfo, options?: NavigationOptions): void; + replaceDestination(info: NavPathInfo, options?: NavigationOptions): Promise; + replacePathByName(name: string, param: Object, animated?: boolean): void; + removeByIndexes(indexes: number[]): number; + removeByName(name: string): number; + removeByNavDestinationId(navDestinationId: string): boolean; + pop(animated?: boolean): NavPathInfo | undefined; + pop(result: Object, animated?: boolean): NavPathInfo | undefined; + popToName(name: string, animated?: boolean): number; + popToName(name: string, result: Object, animated?: boolean): number; + popToIndex(index: number, animated?: boolean): void; + popToIndex(index: number, result: Object, animated?: boolean): void; + moveToTop(name: string, animated?: boolean): number; + moveIndexToTop(index: number, animated?: boolean): void; + clear(animated?: boolean): void; + getAllPathName(): string[]; + getParamByIndex(index: number): Object | undefined; + getParamByName(name: string): Object | undefined[]; + getIndexByName(name: string): number[]; + getParent(): NavPathStack | undefined; + size(): number; + disableAnimation(value: boolean): void; + setInterception(interception: NavigationInterception): void; + getPathStack(): NavPathInfo[]; + setPathStack(pathStack: NavPathInfo[], animated?: boolean): void; +} +declare type NavBar = string; +declare type InterceptionShowCallback = ((from: (NavDestinationContext|NavBar), to: (NavDestinationContext|NavBar), operation: NavigationOperation, isAnimated: boolean) => void); +declare type InterceptionModeCallback = ((mode: NavigationMode) => void); +declare interface NavigationInterception { + willShow?: InterceptionShowCallback; + didShow?: InterceptionShowCallback; + modeChange?: InterceptionModeCallback; +} +declare interface NavigationInterface { + (): NavigationAttribute; + (pathInfos: NavPathStack): NavigationAttribute; +} +declare enum ToolbarItemStatus { + NORMAL = 0, + DISABLED = 1, + ACTIVE = 2, +} +declare enum NavigationOperation { + PUSH = 1, + POP = 2, + REPLACE = 3, +} +declare interface ToolbarItem { + value: ResourceStr; + icon?: ResourceStr; + symbolIcon?: SymbolGlyphModifier; + action?: (() => void); + status?: ToolbarItemStatus; + activeIcon?: ResourceStr; + activeSymbolIcon?: SymbolGlyphModifier; +} +declare interface NavigationTitleOptions { + backgroundColor?: ResourceColor; + backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; + barStyle?: BarStyle; + paddingStart?: LengthMetrics; + paddingEnd?: LengthMetrics; + mainTitleModifier?: TextModifier; + subTitleModifier?: TextModifier; + enableHoverMode?: boolean; +} +declare enum BarStyle { + STANDARD = 0, + STACK = 1, + SAFE_AREA_PADDING = 2, +} +declare interface NavigationToolbarOptions { + backgroundColor?: ResourceColor; + backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; + moreButtonOptions?: MoreButtonOptions; + barStyle?: BarStyle; + hideItemValue?: boolean; +} +declare interface NavigationMenuOptions { + moreButtonOptions?: MoreButtonOptions; +} +declare interface MoreButtonOptions { + backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; } -declare interface SelectionOptions { - menuPolicy?: MenuPolicy; +declare type Tuple_Dimension_Dimension = [ Dimension, Dimension ] +declare type Callback_NavigationTitleMode_Void = ((titleMode: NavigationTitleMode) => void); +declare type Callback_Boolean_Void = ((isVisible: boolean) => void); +declare type Callback_NavigationMode_Void = ((mode: NavigationMode) => void); +declare type Callback_String_Opt_Object_Void = ((name: string, param: Object | undefined) => void); +declare type Type_NavigationAttribute_customNavContentTransition_delegate = ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined); +declare class NavigationAttribute extends CommonMethod { + navBarWidth(value: Length): NavigationAttribute; + navBarPosition(value: NavBarPosition): NavigationAttribute; + navBarWidthRange(value: [ Dimension, Dimension ]): NavigationAttribute; + minContentWidth(value: Dimension): NavigationAttribute; + mode(value: NavigationMode): NavigationAttribute; + backButtonIcon(value: (string|PixelMap|Resource|SymbolGlyphModifier)): NavigationAttribute; + hideNavBar(value: boolean): NavigationAttribute; + subTitle(value: string): NavigationAttribute; + hideTitleBar(value: boolean): NavigationAttribute; + hideBackButton(value: boolean): NavigationAttribute; + titleMode(value: NavigationTitleMode): NavigationAttribute; + menus(value: (NavigationMenuItem[]|CustomBuilder)): NavigationAttribute; + toolBar(value: CustomBuilder): NavigationAttribute; + hideToolBar(value: boolean): NavigationAttribute; + enableToolBarAdaptation(value: boolean | undefined): NavigationAttribute; + onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void)): NavigationAttribute; + onNavBarStateChange(value: ((isVisible: boolean) => void)): NavigationAttribute; + onNavigationModeChange(value: ((mode: NavigationMode) => void)): NavigationAttribute; + navDestination(value: ((name: string, param: Object | undefined) => void)): NavigationAttribute; + customNavContentTransition(value: ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined)): NavigationAttribute; + systemBarStyle(value: SystemBarStyle | undefined): NavigationAttribute; + recoverable(value: boolean | undefined): NavigationAttribute; + enableDragBar(value: boolean | undefined): NavigationAttribute; + enableModeChangeAnimation(value: boolean | undefined): NavigationAttribute; + backButtonIcon(icon: (string|PixelMap|Resource|SymbolGlyphModifier), accessibilityText?: ResourceStr): NavigationAttribute; + title(value: (ResourceStr|CustomBuilder|NavigationCommonTitle|NavigationCustomTitle), options?: NavigationTitleOptions): NavigationAttribute; + hideTitleBar(hide: boolean, animated: boolean): NavigationAttribute; + menus(items: (NavigationMenuItem[]|CustomBuilder), options?: NavigationMenuOptions): NavigationAttribute; + toolbarConfiguration(value: (ToolbarItem[]|CustomBuilder), options?: NavigationToolbarOptions): NavigationAttribute; + hideToolBar(hide: boolean, animated: boolean): NavigationAttribute; + ignoreLayoutSafeArea(types?: LayoutSafeAreaType[], edges?: LayoutSafeAreaEdge[]): NavigationAttribute; } -declare enum KeyboardAvoidMode { - DEFAULT = 0, - NONE = 1, +declare type Callback_NavigationTransitionProxy_Void = ((transitionProxy: NavigationTransitionProxy) => void); +declare interface NavigationAnimatedTransition { + onTransitionEnd?: ((isVisible: boolean) => void); + timeout?: number; + isInteractive?: boolean; + transition: ((transitionProxy: NavigationTransitionProxy) => void); } -declare enum HoverModeAreaType { - TOP_SCREEN = 0, - BOTTOM_SCREEN = 1, +declare interface NavigationTransitionProxy { + from: NavContentInfo; + to: NavContentInfo; + isInteractive?: boolean; + finishTransition(): void; + cancelTransition?(): void; + updateTransition?(progress: number): void; } +declare interface NavContentInfo { + name?: string; + index: number; + mode?: NavDestinationMode; + param?: Object; + navDestinationId?: string; +} +declare type Callback_PopInfo_Void = ((parameter: PopInfo) => void); declare type CanvasFillRule = string; declare type CanvasLineCap = string; declare type CanvasLineJoin = string; @@ -3571,6 +4049,7 @@ declare class RenderingContextSettings { antialias?: boolean; } declare class CanvasRenderer extends CanvasPath { + letterSpacing: (LengthMetrics|string); globalAlpha: number; globalCompositeOperation: string; fillStyle: (string|number|CanvasGradient|CanvasPattern); @@ -3693,12 +4172,19 @@ declare interface CheckboxInterface { declare type OnCheckboxChangeCallback = ((value: boolean) => void); declare class CheckboxAttribute extends CommonMethod { select(value: boolean): CheckboxAttribute; + select(value: boolean | undefined): CheckboxAttribute; selectedColor(value: ResourceColor): CheckboxAttribute; + selectedColor(value: ResourceColor | undefined): CheckboxAttribute; shape(value: CheckBoxShape): CheckboxAttribute; + shape(value: CheckBoxShape | undefined): CheckboxAttribute; unselectedColor(value: ResourceColor): CheckboxAttribute; + unselectedColor(value: ResourceColor | undefined): CheckboxAttribute; mark(value: MarkStyle): CheckboxAttribute; + mark(value: MarkStyle | undefined): CheckboxAttribute; onChange(value: OnCheckboxChangeCallback): CheckboxAttribute; + onChange(value: OnCheckboxChangeCallback | undefined): CheckboxAttribute; contentModifier(value: ContentModifier): CheckboxAttribute; + contentModifier(value: ContentModifier | undefined): CheckboxAttribute; _onChangeEvent_select(callback_: ((isVisible: boolean) => void)): void; } declare enum SelectStatus { @@ -3722,11 +4208,17 @@ declare interface CheckboxGroupInterface { declare type OnCheckboxGroupChangeCallback = ((value: CheckboxGroupResult) => void); declare class CheckboxGroupAttribute extends CommonMethod { selectAll(value: boolean): CheckboxGroupAttribute; + selectAll(value: boolean | undefined): CheckboxGroupAttribute; selectedColor(value: ResourceColor): CheckboxGroupAttribute; + selectedColor(value: ResourceColor | undefined): CheckboxGroupAttribute; unselectedColor(value: ResourceColor): CheckboxGroupAttribute; + unselectedColor(value: ResourceColor | undefined): CheckboxGroupAttribute; mark(value: MarkStyle): CheckboxGroupAttribute; + mark(value: MarkStyle | undefined): CheckboxGroupAttribute; onChange(value: OnCheckboxGroupChangeCallback): CheckboxGroupAttribute; + onChange(value: OnCheckboxGroupChangeCallback | undefined): CheckboxGroupAttribute; checkboxShape(value: CheckBoxShape): CheckboxGroupAttribute; + checkboxShape(value: CheckBoxShape | undefined): CheckboxGroupAttribute; _onChangeEvent_selectAll(callback_: ((isVisible: boolean) => void)): void; } declare interface CircleOptions { @@ -3739,11 +4231,16 @@ declare interface CircleInterface { } declare class CircleAttribute extends CommonShapeMethod { } +declare type SpaceType = (string|number|Resource); declare interface ColumnOptions { space?: (string|number); } +declare interface ColumnOptionsV2 { + stub: string; +} declare interface ColumnInterface { (options?: ColumnOptions): ColumnAttribute; + (options?: (ColumnOptions|ColumnOptionsV2)): ColumnAttribute; } declare class ColumnAttribute extends CommonMethod { alignItems(value: HorizontalAlign): ColumnAttribute; @@ -3959,9 +4456,21 @@ declare interface CustomDialogControllerOptions { borderStyle?: (BorderStyle|EdgeStyles); shadow?: (ShadowOptions|ShadowStyle); backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; keyboardAvoidMode?: KeyboardAvoidMode; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + onDidAppear?: (() => void); + onDidDisappear?: (() => void); + onWillAppear?: (() => void); + onWillDisappear?: (() => void); + keyboardAvoidDistance?: LengthMetrics; + levelMode?: LevelMode; + levelUniqueId?: number; + immersiveMode?: ImmersiveMode; + levelOrder?: LevelOrder; + focusable?: boolean; } declare class CustomDialogController { constructor(value: CustomDialogControllerOptions); @@ -4009,10 +4518,16 @@ declare interface DatePickerResult { month?: number; day?: number; } +declare enum DatePickerMode { + DATE = 0, + YEAR_AND_MONTH = 1, + MONTH_AND_DAY = 2, +} declare interface DatePickerOptions { start?: Date; end?: Date; selected?: Date; + mode?: DatePickerMode; } declare interface DatePickerInterface { (options?: DatePickerOptions): DatePickerAttribute; @@ -4020,11 +4535,18 @@ declare interface DatePickerInterface { declare type Callback_DatePickerResult_Void = ((value: DatePickerResult) => void); declare class DatePickerAttribute extends CommonMethod { lunar(value: boolean): DatePickerAttribute; + lunar(value: boolean | undefined): DatePickerAttribute; disappearTextStyle(value: PickerTextStyle): DatePickerAttribute; + disappearTextStyle(value: PickerTextStyle | undefined): DatePickerAttribute; textStyle(value: PickerTextStyle): DatePickerAttribute; + textStyle(value: PickerTextStyle | undefined): DatePickerAttribute; selectedTextStyle(value: PickerTextStyle): DatePickerAttribute; + selectedTextStyle(value: PickerTextStyle | undefined): DatePickerAttribute; onChange(value: ((value: DatePickerResult) => void)): DatePickerAttribute; onDateChange(value: ((parameter: Date) => void)): DatePickerAttribute; + onDateChange(value: ((parameter: Date) => void) | undefined): DatePickerAttribute; + digitalCrownSensitivity(value: CrownSensitivity | undefined): DatePickerAttribute; + enableHapticFeedback(value: boolean | undefined): DatePickerAttribute; _onChangeEvent_selected(callback_: ((parameter: Date) => void)): void; } declare interface LunarSwitchStyle { @@ -4053,6 +4575,8 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { onDateChange?: ((parameter: Date) => void); backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onDidAppear?: VoidCallback; onDidDisappear?: VoidCallback; onWillAppear?: VoidCallback; @@ -4061,6 +4585,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { dateTimeOptions?: DateTimeOptions; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + enableHapticFeedback?: boolean; } declare class DatePickerDialog { static show(options?: DatePickerDialogOptions): void; @@ -4158,6 +4683,7 @@ declare enum ImageFit { BOTTOM_START = 13, BOTTOM = 14, BOTTOM_END = 15, + MATRIX = 16, } declare enum BorderStyle { DOTTED = 0, @@ -4185,6 +4711,11 @@ declare enum TouchType { CANCEL = 3, Cancel = 3, } +declare enum InteractionHand { + NONE = 0, + LEFT = 1, + RIGHT = 2, +} declare enum MouseButton { LEFT = 0, Left = 0, @@ -4208,6 +4739,7 @@ declare enum MouseAction { Move = 2, HOVER = 3, Hover = 3, + CANCEL = 13, } declare enum AnimationStatus { INITIAL = 0, @@ -4278,6 +4810,7 @@ declare enum KeySource { Unknown = 0, KEYBOARD = 1, Keyboard = 1, + JOYSTICK = 2, } declare enum Edge { TOP = 0, @@ -4440,6 +4973,10 @@ declare enum PixelRoundCalcPolicy { FORCE_CEIL = 1, FORCE_FLOOR = 2, } +declare enum PixelRoundMode { + PIXEL_ROUND_ON_LAYOUT_FINISH = 0, + PIXEL_ROUND_AFTER_MEASURE = 1, +} declare enum FlexWrap { NO_WRAP = 0, NoWrap = 0, @@ -4706,17 +5243,13 @@ declare enum WordBreak { NORMAL = 0, BREAK_ALL = 1, BREAK_WORD = 2, + HYPHENATION = 3, } declare enum LineBreakStrategy { GREEDY = 0, HIGH_QUALITY = 1, BALANCED = 2, } -declare type Nullable = T | undefined; -declare enum OptionWidthMode { - FIT_CONTENT = "fit_content", - FIT_TRIGGER = "fit_trigger", -} declare enum IlluminatedType { NONE = 0, BORDER = 1, @@ -4725,6 +5258,11 @@ declare enum IlluminatedType { BLOOM_BORDER = 4, BLOOM_BORDER_CONTENT = 5, } +declare type Nullable = T | undefined; +declare enum OptionWidthMode { + FIT_CONTENT = "fit_content", + FIT_TRIGGER = "fit_trigger", +} declare enum FoldStatus { FOLD_STATUS_UNKNOWN = 0, FOLD_STATUS_EXPANDED = 1, @@ -4767,6 +5305,45 @@ declare enum HeightBreakpoint { HEIGHT_MD = 1, HEIGHT_LG = 2, } +declare enum AxisModel { + ABS_X = 0, + ABS_Y = 1, + ABS_Z = 2, + ABS_RZ = 3, + ABS_GAS = 4, + ABS_BRAKE = 5, + ABS_HAT0X = 6, + ABS_HAT0Y = 7, +} +declare enum PageFlipMode { + CONTINUOUS = 0, + SINGLE = 1, +} +declare enum CrownAction { + BEGIN = 0, + UPDATE = 1, + END = 2, +} +declare enum CrownSensitivity { + LOW = 0, + MEDIUM = 1, + HIGH = 2, +} +declare enum AxisAction { + NONE = 0, + BEGIN = 1, + UPDATE = 2, + END = 3, + CANCEL = 4, +} +declare enum FocusDrawLevel { + SELF = 0, + TOP = 1, +} +declare enum DividerMode { + FLOATING_ABOVE_MENU = 0, + EMBEDDED_IN_MENU = 1, +} declare interface FlexOptions { direction?: FlexDirection; wrap?: FlexWrap; @@ -4800,6 +5377,10 @@ declare enum FocusPriority { PRIOR = 2000, PREVIOUS = 3000, } +declare enum KeyProcessingMode { + FOCUS_NAVIGATION = 0, + ANCESTOR_EVENT = 1, +} declare interface FolderStackOptions { upperItems?: string[]; } @@ -4837,6 +5418,9 @@ declare enum FormDimension { Dimension_2_1 = 4, DIMENSION_1_1 = 6, DIMENSION_6_4 = 7, + DIMENSION_2_3 = 8, + DIMENSION_3_3 = 9, + DIMENSION_3_4 = 10, } declare enum FormRenderingMode { FULL_COLOR = 0, @@ -4997,6 +5581,7 @@ declare interface FingerInfo { localY: number; displayX: number; displayY: number; + hand?: InteractionHand; } declare type GestureType = (TapGestureInterface|LongPressGestureInterface|PanGestureInterface|PinchGestureInterface|SwipeGestureInterface|RotationGestureInterface|GestureGroupInterface); declare interface BaseGestureEvent extends BaseEvent { @@ -5044,7 +5629,10 @@ declare interface GestureInterface { tag(tag: string): T; allowedTypes(types: SourceTool[]): T; } -declare interface TapGestureParameters { +declare interface BaseHandlerOptions { + isFingerCountLimited?: boolean; +} +declare interface TapGestureParameters extends BaseHandlerOptions { count?: number; fingers?: number; distanceThreshold?: number; @@ -5059,7 +5647,9 @@ declare interface LongPressGestureInterface extends GestureInterface void)): LongPressGestureInterface; onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureInterface; onActionCancel(event: (() => void)): LongPressGestureInterface; + onActionCancel(event: ((event: GestureEvent) => void)): LongPressGestureInterface; (value?: { fingers?: number, repeat?: boolean, duration?: number }): LongPressGestureInterface; + (options?: LongPressGestureHandlerOptions): LongPressGestureInterface; } declare type Literal_Number_distance_fingers_PanDirection_direction = { fingers?: number, direction?: PanDirection, distance?: number } declare class PanGestureOptions { @@ -5068,18 +5658,22 @@ declare class PanGestureOptions { setDistance(value: number): void; setFingers(value: number): void; getDirection(): PanDirection; + getDistance(): number; } declare interface PanGestureInterface extends GestureInterface { onActionStart(event: ((event: GestureEvent) => void)): PanGestureInterface; onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureInterface; onActionEnd(event: ((event: GestureEvent) => void)): PanGestureInterface; onActionCancel(event: (() => void)): PanGestureInterface; + onActionCancel(event: ((event: GestureEvent) => void)): PanGestureInterface; (value?: ({ fingers?: number, direction?: PanDirection, distance?: number }|PanGestureOptions)): PanGestureInterface; + (options?: PanGestureHandlerOptions): PanGestureInterface; } declare type Literal_Number_fingers_speed_SwipeDirection_direction = { fingers?: number, direction?: SwipeDirection, speed?: number } declare interface SwipeGestureInterface extends GestureInterface { onAction(event: ((event: GestureEvent) => void)): SwipeGestureInterface; (value?: { fingers?: number, direction?: SwipeDirection, speed?: number }): SwipeGestureInterface; + (options?: SwipeGestureHandlerOptions): SwipeGestureInterface; } declare type Literal_Number_distance_fingers = { fingers?: number, distance?: number } declare interface PinchGestureInterface extends GestureInterface { @@ -5087,7 +5681,9 @@ declare interface PinchGestureInterface extends GestureInterface void)): PinchGestureInterface; onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureInterface; onActionCancel(event: (() => void)): PinchGestureInterface; + onActionCancel(event: ((event: GestureEvent) => void)): PinchGestureInterface; (value?: { fingers?: number, distance?: number }): PinchGestureInterface; + (options?: PinchGestureHandlerOptions): PinchGestureInterface; } declare type Literal_Number_angle_fingers = { fingers?: number, angle?: number } declare interface RotationGestureInterface extends GestureInterface { @@ -5095,7 +5691,9 @@ declare interface RotationGestureInterface extends GestureInterface void)): RotationGestureInterface; onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureInterface; onActionCancel(event: (() => void)): RotationGestureInterface; + onActionCancel(event: ((event: GestureEvent) => void)): RotationGestureInterface; (value?: { fingers?: number, angle?: number }): RotationGestureInterface; + (options?: RotationGestureHandlerOptions): RotationGestureInterface; } declare interface GestureGroupInterface { onCancel(event: (() => void)): GestureGroupInterface; @@ -5105,7 +5703,7 @@ declare class GestureHandler implements GestureInterface { tag(tag: string): T; allowedTypes(types: SourceTool[]): T; } -declare interface TapGestureHandlerOptions { +declare interface TapGestureHandlerOptions extends BaseHandlerOptions { count?: number; fingers?: number; } @@ -5113,7 +5711,7 @@ declare class TapGestureHandler extends GestureHandler { constructor(options?: TapGestureHandlerOptions); onAction(event: ((event: GestureEvent) => void)): TapGestureHandler; } -declare interface LongPressGestureHandlerOptions { +declare interface LongPressGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; repeat?: boolean; duration?: number; @@ -5123,8 +5721,9 @@ declare class LongPressGestureHandler extends GestureHandler void)): LongPressGestureHandler; onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureHandler; onActionCancel(event: (() => void)): LongPressGestureHandler; + onActionCancel(event: ((event: GestureEvent) => void)): LongPressGestureHandler; } -declare interface PanGestureHandlerOptions { +declare interface PanGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; direction?: PanDirection; distance?: number; @@ -5135,8 +5734,9 @@ declare class PanGestureHandler extends GestureHandler { onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureHandler; onActionEnd(event: ((event: GestureEvent) => void)): PanGestureHandler; onActionCancel(event: (() => void)): PanGestureHandler; + onActionCancel(event: ((event: GestureEvent) => void)): PanGestureHandler; } -declare interface SwipeGestureHandlerOptions { +declare interface SwipeGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; direction?: SwipeDirection; speed?: number; @@ -5145,7 +5745,7 @@ declare class SwipeGestureHandler extends GestureHandler { constructor(options?: SwipeGestureHandlerOptions); onAction(event: ((event: GestureEvent) => void)): SwipeGestureHandler; } -declare interface PinchGestureHandlerOptions { +declare interface PinchGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; distance?: number; } @@ -5155,8 +5755,9 @@ declare class PinchGestureHandler extends GestureHandler { onActionUpdate(event: ((event: GestureEvent) => void)): PinchGestureHandler; onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureHandler; onActionCancel(event: (() => void)): PinchGestureHandler; + onActionCancel(event: ((event: GestureEvent) => void)): PinchGestureHandler; } -declare interface RotationGestureHandlerOptions { +declare interface RotationGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; angle?: number; } @@ -5166,6 +5767,7 @@ declare class RotationGestureHandler extends GestureHandler void)): RotationGestureHandler; onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureHandler; onActionCancel(event: (() => void)): RotationGestureHandler; + onActionCancel(event: ((event: GestureEvent) => void)): RotationGestureHandler; } declare interface GestureGroupGestureHandlerOptions { stub: string; @@ -5202,6 +5804,25 @@ declare class GestureRecognizer { getState(): GestureRecognizerState; getEventTargetInfo(): EventTargetInfo; isValid(): boolean; + getFingerCount(): number; + isFingerCountLimit(): boolean; +} +declare class TapRecognizer extends GestureRecognizer { + getTapCount(): number; +} +declare class LongPressRecognizer extends GestureRecognizer { + isRepeat(): boolean; + getDuration(): number; +} +declare class SwipeRecognizer extends GestureRecognizer { + getVelocityThreshold(): number; + getDirection(): SwipeDirection; +} +declare class PinchRecognizer extends GestureRecognizer { + getDistance(): number; +} +declare class RotationRecognizer extends GestureRecognizer { + getAngle(): number; } declare class PanRecognizer extends GestureRecognizer { getPanGestureOptions(): PanGestureOptions; @@ -5422,6 +6043,13 @@ declare enum ImageInterpolation { HIGH = 3, High = 3, } +declare enum ImageRotateOrientation { + AUTO = 0, + UP = 1, + RIGHT = 2, + DOWN = 3, + LEFT = 4, +} declare interface ImageInterface { (src: (PixelMap|ResourceStr|DrawableDescriptor)): ImageAttribute; (src: (PixelMap|ResourceStr|DrawableDescriptor|ImageContent)): ImageAttribute; @@ -5431,6 +6059,9 @@ declare interface ImageSourceSize { width: number; height: number; } +declare class ColorContent { + static readonly ORIGIN: ColorContent; +} declare type Type_ImageAttribute_onComplete_callback_event = { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number } declare type Callback_Type_ImageAttribute_onComplete_callback_event_Void = ((event?: { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number }) => void); declare class ImageAttribute extends CommonMethod { @@ -5438,7 +6069,9 @@ declare class ImageAttribute extends CommonMethod { matchTextDirection(value: boolean): ImageAttribute; fitOriginalSize(value: boolean): ImageAttribute; fillColor(value: ResourceColor): ImageAttribute; + fillColor(value: (ResourceColor|ColorContent)): ImageAttribute; objectFit(value: ImageFit): ImageAttribute; + imageMatrix(value: Matrix4Transit): ImageAttribute; objectRepeat(value: ImageRepeat): ImageAttribute; autoResize(value: boolean): ImageAttribute; renderMode(value: ImageRenderMode): ImageAttribute; @@ -5459,6 +6092,7 @@ declare class ImageAttribute extends CommonMethod { resizable(value: ResizableOptions): ImageAttribute; privacySensitive(value: boolean): ImageAttribute; enhancedImageQuality(value: ResolutionQuality): ImageAttribute; + orientation(value: ImageRotateOrientation): ImageAttribute; } declare type ImageErrorCallback = ((error: ImageError) => void); declare interface ImageError { @@ -5490,6 +6124,7 @@ declare class ImageAnimatorAttribute extends CommonMethod void)): ImageAnimatorAttribute; onPause(value: (() => void)): ImageAnimatorAttribute; onRepeat(value: (() => void)): ImageAnimatorAttribute; @@ -5597,6 +6232,16 @@ declare interface DataChangeListener { onDataChange(index: number): void; onDatasetChange(dataOperations: DataOperation[]): void; } +declare interface LazyVGridLayoutInterface { + (): LazyVGridLayoutAttribute; +} +declare class LazyGridLayoutAttribute extends CommonMethod { + rowsGap(value: LengthMetrics): T; + columnsGap(value: LengthMetrics): T; +} +declare class LazyVGridLayoutAttribute extends LazyGridLayoutAttribute { + columnsTemplate(value: string): LazyVGridLayoutAttribute; +} declare interface LineOptions { width?: (string|number); height?: (string|number); @@ -5710,6 +6355,7 @@ declare class ListAttribute extends ScrollableCommonMethod { friction(value: (number|Resource)): ListAttribute; childrenMainSize(value: ChildrenMainSize): ListAttribute; maintainVisibleContentPosition(value: boolean): ListAttribute; + stackFromEnd(value: boolean): ListAttribute; onScroll(value: ((first: number, last: number) => void)): ListAttribute; onScrollIndex(value: ((start: number, end: number, center: number) => void)): ListAttribute; onScrollVisibleContentChange(value: OnScrollVisibleContentChangeCallback): ListAttribute; @@ -5759,6 +6405,7 @@ declare enum SwipeActionState { declare type Callback_SwipeActionState_Void = ((state: SwipeActionState) => void); declare interface SwipeActionItem { builder?: CustomBuilder; + builderComponent?: ComponentContent; actionAreaDistance?: Length; onAction?: (() => void); onEnterActionArea?: (() => void); @@ -5859,9 +6506,9 @@ declare interface LocationButtonInterface { (): LocationButtonAttribute; (options: LocationButtonOptions): LocationButtonAttribute; } -declare type Callback_ClickEvent_LocationButtonOnClickResult_Void = ((event: ClickEvent, result: LocationButtonOnClickResult) => void); +declare type LocationButtonCallback = ((event: ClickEvent, result: LocationButtonOnClickResult, error?: BusinessError) => void); declare class LocationButtonAttribute extends SecurityComponentMethod { - onClick(value: ((event: ClickEvent, result: LocationButtonOnClickResult) => void)): LocationButtonAttribute; + onClick(value: LocationButtonCallback): LocationButtonAttribute; } declare class Matrix2D { constructor(); @@ -5958,6 +6605,9 @@ declare interface MenuItemGroupInterface { } declare class MenuItemGroupAttribute extends CommonMethod { } +declare interface Orientation { + _OrientationStub: string; +} declare interface NavDestinationCommonTitle { main: (string|Resource); sub: (string|Resource); @@ -5971,11 +6621,23 @@ declare enum NavigationSystemTransitionType { NONE = 1, TITLE = 2, CONTENT = 3, + FADE = 4, + EXPLODE = 5, + SLIDE_RIGHT = 6, + SLIDE_BOTTOM = 7, } declare enum NavDestinationMode { STANDARD = 0, DIALOG = 1, } +declare enum NavDestinationActiveReason { + TRANSITION = 0, + CONTENT_COVER = 1, + SHEET = 2, + DIALOG = 3, + OVERLAY = 4, + APP_STATE = 5, +} declare interface NavDestinationInterface { (): NavDestinationAttribute; } @@ -5990,12 +6652,27 @@ declare interface NavDestinationContext { navDestinationId?: string; getConfigInRouteMap(): RouteMapConfig | undefined; } +declare interface NestedScrollInfo { + parent: Scroller; + child: Scroller; +} +declare interface NavDestinationTransition { + onTransitionEnd?: (() => void); + duration?: number; + curve?: Curve; + delay?: number; + event: (() => void); +} declare type Callback_Boolean = (() => boolean); +declare type Callback_Object_Void = ((parameter: Object) => void); +declare type Callback_NavDestinationActiveReason_Void = ((parameter: NavDestinationActiveReason) => void); declare class NavDestinationAttribute extends CommonMethod { hideTitleBar(value: boolean): NavDestinationAttribute; + hideBackButton(value: boolean | undefined): NavDestinationAttribute; onShown(value: (() => void)): NavDestinationAttribute; onHidden(value: (() => void)): NavDestinationAttribute; onBackPressed(value: (() => boolean)): NavDestinationAttribute; + onResult(value: ((parameter: Object) => void) | undefined): NavDestinationAttribute; mode(value: NavDestinationMode): NavDestinationAttribute; backButtonIcon(value: (ResourceStr|PixelMap|SymbolGlyphModifier)): NavDestinationAttribute; menus(value: (NavigationMenuItem[]|CustomBuilder)): NavDestinationAttribute; @@ -6007,12 +6684,24 @@ declare class NavDestinationAttribute extends CommonMethod void) | undefined): NavDestinationAttribute; + onInactive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): NavDestinationAttribute; + customTransition(value: NavDestinationTransitionDelegate): NavDestinationAttribute; + onNewParam(value: ((parameter: Object) => void) | undefined): NavDestinationAttribute; + preferredOrientation(value: Orientation | undefined): NavDestinationAttribute; + enableNavigationIndicator(value: boolean | undefined): NavDestinationAttribute; title(value: (string|CustomBuilder|NavDestinationCommonTitle|NavDestinationCustomTitle|Resource), options?: NavigationTitleOptions): NavDestinationAttribute; hideTitleBar(hide: boolean, animated: boolean): NavDestinationAttribute; + backButtonIcon(icon: (ResourceStr|PixelMap|SymbolGlyphModifier), accessibilityText?: ResourceStr): NavDestinationAttribute; + menus(items: (NavigationMenuItem[]|CustomBuilder), options?: NavigationMenuOptions): NavDestinationAttribute; toolbarConfiguration(toolbarParam: (ToolbarItem[]|CustomBuilder), options?: NavigationToolbarOptions): NavDestinationAttribute; hideToolBar(hide: boolean, animated?: boolean): NavDestinationAttribute; ignoreLayoutSafeArea(types?: LayoutSafeAreaType[], edges?: LayoutSafeAreaEdge[]): NavDestinationAttribute; + enableStatusBar(enabled: boolean | undefined, animated?: boolean): NavDestinationAttribute; } +declare type NavDestinationTransitionDelegate = ((operation: NavigationOperation, isEnter: boolean) => NavDestinationTransition[] | undefined); declare type Callback_NavDestinationContext_Void = ((parameter: NavDestinationContext) => void); declare interface RouteInfo { name: string; @@ -6232,9 +6921,9 @@ declare interface PasteButtonInterface { (): PasteButtonAttribute; (options: PasteButtonOptions): PasteButtonAttribute; } -declare type Callback_ClickEvent_PasteButtonOnClickResult_Void = ((event: ClickEvent, result: PasteButtonOnClickResult) => void); +declare type PasteButtonCallback = ((event: ClickEvent, result: PasteButtonOnClickResult, error?: BusinessError) => void); declare class PasteButtonAttribute extends SecurityComponentMethod { - onClick(value: ((event: ClickEvent, result: PasteButtonOnClickResult) => void)): PasteButtonAttribute; + onClick(value: PasteButtonCallback): PasteButtonAttribute; } declare interface PathOptions { width?: (number|string); @@ -6256,6 +6945,7 @@ declare interface CircleStyleOptions { color?: ResourceColor; radius?: LengthMetrics; enableWaveEffect?: boolean; + enableForeground?: boolean; } declare class PatternLockController { constructor(); @@ -6279,6 +6969,7 @@ declare class PatternLockAttribute extends CommonMethod { autoReset(value: boolean): PatternLockAttribute; onDotConnect(value: ((index: number) => void)): PatternLockAttribute; activateCircleStyle(value: CircleStyleOptions | undefined): PatternLockAttribute; + skipUnselectedPoint(value: boolean): PatternLockAttribute; } declare interface PluginComponentTemplate { source: string; @@ -6378,6 +7069,7 @@ declare interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressS font?: Font; fontColor?: ResourceColor; showDefaultPercentage?: boolean; + borderRadius?: LengthMetrics; } declare enum ProgressStyle { LINEAR = 0, @@ -6434,11 +7126,15 @@ declare interface RadioStyle { declare interface RadioInterface { (options: RadioOptions): RadioAttribute; } +declare type OnRadioChangeCallback = ((isChecked: boolean) => void); declare class RadioAttribute extends CommonMethod { checked(value: boolean): RadioAttribute; + checked(value: boolean | undefined): RadioAttribute; onChange(value: ((isVisible: boolean) => void)): RadioAttribute; + onChange(value: OnRadioChangeCallback | undefined): RadioAttribute; radioStyle(value: RadioStyle): RadioAttribute; contentModifier(value: ContentModifier): RadioAttribute; + contentModifier(value: ContentModifier | undefined): RadioAttribute; _onChangeEvent_checked(callback_: ((isVisible: boolean) => void)): void; } declare interface RadioConfiguration extends CommonConfiguration { @@ -6465,12 +7161,18 @@ declare interface RatingConfiguration extends CommonConfiguration { stepSize: number; triggerChange: ((index: number) => void); } +declare type OnRatingChangeCallback = ((rating: number) => void); declare class RatingAttribute extends CommonMethod { stars(value: number): RatingAttribute; + stars(value: number | undefined): RatingAttribute; stepSize(value: number): RatingAttribute; + stepSize(value: number | undefined): RatingAttribute; starStyle(value: StarStyleOptions): RatingAttribute; + starStyle(value: StarStyleOptions | undefined): RatingAttribute; onChange(value: ((index: number) => void)): RatingAttribute; + onChange(value: OnRatingChangeCallback | undefined): RatingAttribute; contentModifier(value: ContentModifier): RatingAttribute; + contentModifier(value: ContentModifier | undefined): RatingAttribute; _onChangeEvent_rating(callback_: ((index: number) => void)): void; } declare interface RectOptions { @@ -6567,10 +7269,14 @@ declare class RelativeContainerAttribute extends CommonMethod = (T[]|ReadonlyArray|Readonly); declare enum RichEditorDeleteDirection { BACKWARD = 0, FORWARD = 1, @@ -6580,11 +7286,13 @@ declare enum RichEditorSpanType { IMAGE = 1, MIXED = 2, BUILDER = 3, + DEFAULT = 4, } declare enum RichEditorResponseType { RIGHT_CLICK = 0, LONG_PRESS = 1, SELECT = 2, + DEFAULT = 3, } declare interface RichEditorSpanPosition { spanIndex: number; @@ -6600,7 +7308,9 @@ declare interface RichEditorTextStyle { textShadow?: (ShadowOptions|ShadowOptions[]); letterSpacing?: (number|string); lineHeight?: (number|string|Resource); + halfLeading?: boolean; fontFeature?: string; + textBackgroundStyle?: TextBackgroundStyle; } declare interface LeadingMarginPlaceholder { pixelMap: PixelMap; @@ -6611,6 +7321,7 @@ declare interface RichEditorParagraphStyle { leadingMargin?: (Dimension|LeadingMarginPlaceholder); wordBreak?: WordBreak; lineBreakStrategy?: LineBreakStrategy; + paragraphSpacing?: number; } declare interface PasteEvent { preventDefault?: (() => void); @@ -6647,7 +7358,9 @@ declare interface RichEditorTextStyleResult { textShadow?: ShadowOptions[]; letterSpacing?: number; lineHeight?: number; + halfLeading?: boolean; fontFeature?: string; + textBackgroundStyle?: TextBackgroundStyle; } declare interface RichEditorParagraphResult { style: RichEditorParagraphStyle; @@ -6669,6 +7382,7 @@ declare interface RichEditorTextSpanResult { valueResource?: Resource; paragraphStyle?: RichEditorParagraphStyle; previewText?: string; + urlStyle?: RichEditorUrlStyle; } declare interface RichEditorImageSpanStyleResult { size: [ number, number ]; @@ -6695,12 +7409,14 @@ declare interface RichEditorRange { declare interface RichEditorGesture { onClick?: ((event: ClickEvent) => void); onLongPress?: ((event: GestureEvent) => void); + onDoubleClick?: ((event: GestureEvent) => void); } declare interface RichEditorTextSpanOptions { offset?: number; style?: RichEditorTextStyle; paragraphStyle?: RichEditorParagraphStyle; gesture?: RichEditorGesture; + urlStyle?: RichEditorUrlStyle; } declare interface KeyboardOptions { supportAvoidance?: boolean; @@ -6709,9 +7425,12 @@ declare interface RichEditorImageSpanOptions { offset?: number; imageStyle?: RichEditorImageSpanStyle; gesture?: RichEditorGesture; + onHover?: OnHoverCallback; } declare interface RichEditorBuilderSpanOptions { offset?: number; + dragBackgroundColor?: ColorMetrics; + isDragShadowNeeded?: boolean; } declare interface PlaceholderStyle { font?: Font; @@ -6724,6 +7443,7 @@ declare interface RichEditorParagraphStyleOptions extends RichEditorRange { } declare interface RichEditorUpdateTextSpanStyleOptions extends RichEditorSpanStyleOptions { textStyle: RichEditorTextStyle; + urlStyle?: RichEditorUrlStyle; } declare interface RichEditorUpdateImageSpanStyleOptions extends RichEditorSpanStyleOptions { imageStyle: RichEditorImageSpanStyle; @@ -6766,6 +7486,12 @@ declare interface SelectionMenuOptions { onAppear?: MenuOnAppearCallback; onDisappear?: (() => void); menuType?: MenuType; + onMenuShow?: MenuCallback; + onMenuHide?: MenuCallback; + previewMenuOptions?: PreviewMenuOptions; +} +declare interface PreviewMenuOptions { + hapticFeedbackMode?: HapticFeedbackMode; } declare class RichEditorBaseController implements TextEditControllerEx { getCaretOffset(): number; @@ -6778,6 +7504,7 @@ declare class RichEditorBaseController implements TextEditControllerEx { stopEditing(): void; getLayoutManager(): LayoutManager; getPreviewText(): PreviewText; + getCaretRect(): RectResult | undefined; } declare class RichEditorController extends RichEditorBaseController { addTextSpan(value: string, options?: RichEditorTextSpanOptions): number; @@ -6836,6 +7563,10 @@ declare class RichEditorAttribute extends CommonMethod { enableKeyboardOnFocus(value: boolean): RichEditorAttribute; enableHapticFeedback(value: boolean): RichEditorAttribute; barState(value: BarState): RichEditorAttribute; + maxLength(value: number | undefined): RichEditorAttribute; + maxLines(value: number | undefined): RichEditorAttribute; + keyboardAppearance(value: KeyboardAppearance | undefined): RichEditorAttribute; + stopBackPress(value: boolean | undefined): RichEditorAttribute; bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: (ResponseType|RichEditorResponseType), options?: SelectionMenuOptions): RichEditorAttribute; customKeyboard(value: CustomBuilder, options?: KeyboardOptions): RichEditorAttribute; placeholder(value: ResourceStr, style?: PlaceholderStyle): RichEditorAttribute; @@ -6846,6 +7577,9 @@ declare interface CutEvent { declare interface CopyEvent { preventDefault?: (() => void); } +declare interface RichEditorUrlStyle { + url?: ResourceStr; +} declare type SubmitCallback = ((enterKey: EnterKeyType, event: SubmitEvent) => void); declare type MenuOnAppearCallback = ((start: number, end: number) => void); declare type PasteEventCallback = ((event?: PasteEvent) => void); @@ -6870,8 +7604,12 @@ declare class RootSceneAttribute extends CommonMethod { declare interface RowOptions { space?: (string|number); } +declare interface RowOptionsV2 { + stub: string; +} declare interface RowInterface { (options?: RowOptions): RowAttribute; + (options?: (RowOptions|RowOptionsV2)): RowAttribute; } declare class RowAttribute extends CommonMethod { alignItems(value: VerticalAlign): RowAttribute; @@ -6903,6 +7641,7 @@ declare enum SaveDescription { EXPORT_TO_GALLERY = 9, QUICK_SAVE_TO_GALLERY = 10, RESAVE_TO_GALLERY = 11, + SAVE_ALL = 12, } declare interface SaveButtonOptions { icon?: SaveIconStyle; @@ -6917,9 +7656,9 @@ declare interface SaveButtonInterface { (): SaveButtonAttribute; (options: SaveButtonOptions): SaveButtonAttribute; } -declare type Callback_ClickEvent_SaveButtonOnClickResult_Void = ((event: ClickEvent, result: SaveButtonOnClickResult) => void); +declare type SaveButtonCallback = ((event: ClickEvent, result: SaveButtonOnClickResult, error?: BusinessError) => void); declare class SaveButtonAttribute extends SecurityComponentMethod { - onClick(value: ((event: ClickEvent, result: SaveButtonOnClickResult) => void)): SaveButtonAttribute; + onClick(value: SaveButtonCallback): SaveButtonAttribute; } declare interface ScreenInterface { (screenId: number): ScreenAttribute; @@ -7090,6 +7829,7 @@ declare type Callback_InsertValue_Boolean = ((parameter: InsertValue) => boolean declare type Callback_InsertValue_Void = ((parameter: InsertValue) => void); declare type Callback_DeleteValue_Boolean = ((parameter: DeleteValue) => boolean); declare type Callback_DeleteValue_Void = ((parameter: DeleteValue) => void); +declare type Callback_EditableTextChangeValue_Boolean = ((parameter: EditableTextChangeValue) => boolean); declare class SearchAttribute extends CommonMethod { fontColor(value: ResourceColor): SearchAttribute; searchIcon(value: (IconOptions|SymbolGlyphModifier)): SearchAttribute; @@ -7117,6 +7857,8 @@ declare class SearchAttribute extends CommonMethod { selectionMenuHidden(value: boolean): SearchAttribute; minFontSize(value: (number|string|Resource)): SearchAttribute; maxFontSize(value: (number|string|Resource)): SearchAttribute; + minFontScale(value: (number|Resource) | undefined): SearchAttribute; + maxFontScale(value: (number|Resource) | undefined): SearchAttribute; decoration(value: TextDecorationOptions): SearchAttribute; letterSpacing(value: (number|string|Resource)): SearchAttribute; lineHeight(value: (number|string|Resource)): SearchAttribute; @@ -7129,6 +7871,11 @@ declare class SearchAttribute extends CommonMethod { editMenuOptions(value: EditMenuOptions): SearchAttribute; enablePreviewText(value: boolean): SearchAttribute; enableHapticFeedback(value: boolean): SearchAttribute; + autoCapitalizationMode(value: AutoCapitalizationMode): SearchAttribute; + halfLeading(value: boolean | undefined): SearchAttribute; + stopBackPress(value: boolean | undefined): SearchAttribute; + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): SearchAttribute; + keyboardAppearance(value: KeyboardAppearance | undefined): SearchAttribute; searchButton(value: string, option?: SearchButtonOptions): SearchAttribute; inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): SearchAttribute; customKeyboard(value: CustomBuilder, options?: KeyboardOptions): SearchAttribute; @@ -7155,6 +7902,7 @@ declare class SecurityComponentMethod { borderWidth(value: Dimension): T; borderColor(value: ResourceColor): T; borderRadius(value: Dimension): T; + borderRadius(value: (Dimension|BorderRadiuses)): T; padding(value: (Padding|Dimension)): T; textIconSpace(value: Dimension): T; key(value: string): T; @@ -7162,6 +7910,18 @@ declare class SecurityComponentMethod { height(value: Length): T; size(value: SizeOptions): T; constraintSize(value: ConstraintSizeOptions): T; + align(value: Alignment): T; + alignRules(value: AlignRuleOption): T; + alignRules(value: LocalizedAlignRuleOptions): T; + id(value: string): T; + minFontScale(value: (number|Resource)): T; + maxFontScale(value: (number|Resource)): T; + maxLines(value: number): T; + minFontSize(value: (number|string|Resource)): T; + maxFontSize(value: (number|string|Resource)): T; + heightAdaptivePolicy(value: TextHeightAdaptivePolicy): T; + enabled(value: boolean): T; + chainMode(direction: Axis, style: ChainStyle): T; } declare interface SelectOption { value: ResourceStr; @@ -7180,31 +7940,67 @@ declare enum MenuAlignType { CENTER = 1, END = 2, } +declare enum AvoidanceMode { + COVER_TARGET = 0, + AVOID_AROUND_TARGET = 1, +} +declare type OnSelectCallback = ((index: number, selectStr: string) => void); +declare interface MenuOutlineOptions { + width?: (Dimension|EdgeOutlineWidths); + color?: (ResourceColor|EdgeColors); +} declare type Callback_Number_String_Void = ((index: number, value: string) => void); declare type Callback_Union_Number_Resource_Void = ((selected: (number|Resource)) => void); declare type Callback_ResourceStr_Void = ((value: ResourceStr) => void); declare class SelectAttribute extends CommonMethod { selected(value: (number|Resource)): SelectAttribute; + selected(value: (number|Resource) | undefined): SelectAttribute; value(value: ResourceStr): SelectAttribute; + value(value: ResourceStr | undefined): SelectAttribute; font(value: Font): SelectAttribute; + font(value: Font | undefined): SelectAttribute; fontColor(value: ResourceColor): SelectAttribute; + fontColor(value: ResourceColor | undefined): SelectAttribute; selectedOptionBgColor(value: ResourceColor): SelectAttribute; + selectedOptionBgColor(value: ResourceColor | undefined): SelectAttribute; selectedOptionFont(value: Font): SelectAttribute; + selectedOptionFont(value: Font | undefined): SelectAttribute; selectedOptionFontColor(value: ResourceColor): SelectAttribute; + selectedOptionFontColor(value: ResourceColor | undefined): SelectAttribute; optionBgColor(value: ResourceColor): SelectAttribute; + optionBgColor(value: ResourceColor | undefined): SelectAttribute; optionFont(value: Font): SelectAttribute; + optionFont(value: Font | undefined): SelectAttribute; optionFontColor(value: ResourceColor): SelectAttribute; + optionFontColor(value: ResourceColor | undefined): SelectAttribute; onSelect(value: ((index: number, value: string) => void)): SelectAttribute; + onSelect(value: OnSelectCallback | undefined): SelectAttribute; space(value: Length): SelectAttribute; + space(value: Length | undefined): SelectAttribute; arrowPosition(value: ArrowPosition): SelectAttribute; + arrowPosition(value: ArrowPosition | undefined): SelectAttribute; optionWidth(value: (Dimension|OptionWidthMode)): SelectAttribute; + optionWidth(value: (Dimension|OptionWidthMode) | undefined): SelectAttribute; optionHeight(value: Dimension): SelectAttribute; + optionHeight(value: Dimension | undefined): SelectAttribute; menuBackgroundColor(value: ResourceColor): SelectAttribute; + menuBackgroundColor(value: ResourceColor | undefined): SelectAttribute; menuBackgroundBlurStyle(value: BlurStyle): SelectAttribute; + menuBackgroundBlurStyle(value: BlurStyle | undefined): SelectAttribute; controlSize(value: ControlSize): SelectAttribute; + controlSize(value: ControlSize | undefined): SelectAttribute; menuItemContentModifier(value: ContentModifier): SelectAttribute; + menuItemContentModifier(value: ContentModifier | undefined): SelectAttribute; divider(value: DividerOptions | undefined): SelectAttribute; + textModifier(value: TextModifier | undefined): SelectAttribute; + arrowModifier(value: SymbolGlyphModifier | undefined): SelectAttribute; + optionTextModifier(value: TextModifier | undefined): SelectAttribute; + selectedOptionTextModifier(value: TextModifier | undefined): SelectAttribute; + dividerStyle(value: DividerStyleOptions | undefined): SelectAttribute; + avoidance(value: AvoidanceMode): SelectAttribute; + menuOutline(value: MenuOutlineOptions): SelectAttribute; menuAlign(alignType: MenuAlignType, offset?: Offset): SelectAttribute; + menuAlign(alignType: MenuAlignType | undefined, offset?: Offset): SelectAttribute; _onChangeEvent_selected(callback_: ((selected: (number|Resource)) => void)): void; _onChangeEvent_value(callback_: ((value: ResourceStr) => void)): void; } @@ -7303,6 +8099,7 @@ declare class SliderAttribute extends CommonMethod { blockColor(value: ResourceColor): SliderAttribute; trackColor(value: (ResourceColor|LinearGradient)): SliderAttribute; selectedColor(value: ResourceColor): SliderAttribute; + selectedColor(value: (ResourceColor|LinearGradient)): SliderAttribute; minLabel(value: string): SliderAttribute; maxLabel(value: string): SliderAttribute; showSteps(value: boolean): SliderAttribute; @@ -7320,6 +8117,8 @@ declare class SliderAttribute extends CommonMethod { minResponsiveDistance(value: number): SliderAttribute; contentModifier(value: ContentModifier): SliderAttribute; slideRange(value: SlideRange): SliderAttribute; + digitalCrownSensitivity(value: CrownSensitivity | undefined): SliderAttribute; + enableHapticFeedback(value: boolean): SliderAttribute; showTips(value: boolean, content?: ResourceStr): SliderAttribute; _onChangeEvent_value(callback_: ((index: number) => void)): void; } @@ -7370,7 +8169,7 @@ declare enum LayoutDirection { declare class Storage { constructor(needCrossThread?: boolean, file?: string); get(key: string): string | undefined; - set(key: string, val: any): void; + set(key: string, val: Object | undefined): void; clear(): void; delete(key: string): void; } @@ -7409,7 +8208,9 @@ declare class SwiperController { showNext(): void; showPrevious(): void; changeIndex(index: number, useAnimation?: boolean): void; + changeIndex(index: number, animationMode?: (SwiperAnimationMode|boolean)): void; finishAnimation(callback_?: VoidCallback): void; + preloadItems(indices: number[] | undefined): Promise; } declare class Indicator { left(value: Length): T; @@ -7431,6 +8232,7 @@ declare class DotIndicator extends Indicator { color(value: ResourceColor): DotIndicator; selectedColor(value: ResourceColor): DotIndicator; maxDisplayCount(maxDisplayCount: number): DotIndicator; + space(space: LengthMetrics): DotIndicator; } declare interface SwiperAutoFill { minSize: VP; @@ -7466,10 +8268,18 @@ declare interface SwiperAnimationEvent { targetOffset: number; velocity: number; } +declare interface AutoPlayOptions { + stopWhenTouched: boolean; +} declare enum SwiperNestedScrollMode { SELF_ONLY = 0, SELF_FIRST = 1, } +declare enum SwiperAnimationMode { + NO_ANIMATION = 0, + DEFAULT_ANIMATION = 1, + FAST_ANIMATION = 2, +} declare type OnSwiperAnimationStartCallback = ((index: number, targetIndex: number, extraInfo: SwiperAnimationEvent) => void); declare type OnSwiperAnimationEndCallback = ((index: number, extraInfo: SwiperAnimationEvent) => void); declare type OnSwiperGestureSwipeCallback = ((index: number, extraInfo: SwiperAnimationEvent) => void); @@ -7478,7 +8288,7 @@ declare class SwiperAttribute extends CommonMethod { autoPlay(value: boolean): SwiperAttribute; interval(value: number): SwiperAttribute; indicator(value: (DotIndicator|DigitIndicator|boolean)): SwiperAttribute; - indicator(value: IndicatorComponentController): SwiperAttribute; + indicator(value: (IndicatorComponentController|DotIndicator|DigitIndicator|boolean)): SwiperAttribute; loop(value: boolean): SwiperAttribute; duration(value: number): SwiperAttribute; vertical(value: boolean): SwiperAttribute; @@ -7489,7 +8299,9 @@ declare class SwiperAttribute extends CommonMethod { disableSwipe(value: boolean): SwiperAttribute; curve(value: (Curve|string|ICurve)): SwiperAttribute; onChange(value: ((index: number) => void)): SwiperAttribute; + onSelected(value: ((index: number) => void)): SwiperAttribute; indicatorStyle(value: IndicatorStyle): SwiperAttribute; + onUnselected(value: ((index: number) => void)): SwiperAttribute; onAnimationStart(value: OnSwiperAnimationStartCallback): SwiperAttribute; onAnimationEnd(value: OnSwiperAnimationEndCallback): SwiperAttribute; onGestureSwipe(value: OnSwiperGestureSwipeCallback): SwiperAttribute; @@ -7497,7 +8309,11 @@ declare class SwiperAttribute extends CommonMethod { customContentTransition(value: SwiperContentAnimatedTransition): SwiperAttribute; onContentDidScroll(value: ContentDidScrollCallback): SwiperAttribute; indicatorInteractive(value: boolean): SwiperAttribute; + pageFlipMode(value: PageFlipMode | undefined): SwiperAttribute; + onContentWillScroll(value: ContentWillScrollCallback): SwiperAttribute; + autoPlay(autoPlay: boolean, options: AutoPlayOptions): SwiperAttribute; displayArrow(value: (ArrowStyle|boolean), isHoverShow?: boolean): SwiperAttribute; + cachedCount(count: number, isShown: boolean): SwiperAttribute; displayCount(value: (number|string|SwiperAutoFill), swipeByGroup?: boolean): SwiperAttribute; prevMargin(value: Length, ignoreBlank?: boolean): SwiperAttribute; nextMargin(value: Length, ignoreBlank?: boolean): SwiperAttribute; @@ -7515,7 +8331,13 @@ declare interface SwiperContentTransitionProxy { mainAxisLength: number; finishTransition(): void; } +declare interface SwiperContentWillScrollResult { + currentIndex: number; + comingIndex: number; + offset: number; +} declare type ContentDidScrollCallback = ((selectedIndex: number, index: number, position: number, mainAxisLength: number) => void); +declare type ContentWillScrollCallback = ((result: SwiperContentWillScrollResult) => boolean); declare class IndicatorComponentController { constructor(); showNext(): void; @@ -7575,6 +8397,8 @@ declare class SymbolGlyphAttribute extends CommonMethod { fontWeight(value: (number|FontWeight|string)): SymbolGlyphAttribute; effectStrategy(value: SymbolEffectStrategy): SymbolGlyphAttribute; renderingStrategy(value: SymbolRenderingStrategy): SymbolGlyphAttribute; + minFontScale(value: (number|Resource) | undefined): SymbolGlyphAttribute; + maxFontScale(value: (number|Resource) | undefined): SymbolGlyphAttribute; symbolEffect(symbolEffect: SymbolEffect, isActive?: boolean): SymbolGlyphAttribute; symbolEffect(symbolEffect: SymbolEffect, triggerValue?: number): SymbolGlyphAttribute; } @@ -7589,6 +8413,9 @@ declare class SymbolSpanAttribute extends CommonMethod { renderingStrategy(value: SymbolRenderingStrategy): SymbolSpanAttribute; attributeModifier(value: AttributeModifier): SymbolSpanAttribute; } +declare interface CommonModifier { + _CommonModifierStub: string; +} declare enum BarMode { SCROLLABLE = 0, Scrollable = 0, @@ -7599,6 +8426,8 @@ declare enum AnimationMode { CONTENT_FIRST = 0, ACTION_FIRST = 1, NO_ANIMATION = 2, + CONTENT_FIRST_WITH_JUMP = 3, + ACTION_FIRST_WITH_JUMP = 4, } declare enum BarPosition { START = 0, @@ -7611,6 +8440,10 @@ declare enum LayoutStyle { ALWAYS_AVERAGE_SPLIT = 1, SPACE_BETWEEN_OR_CENTER = 2, } +declare enum TabsCacheMode { + CACHE_BOTH_SIDE = 0, + CACHE_LATEST_SWITCHED = 1, +} declare class TabsController { constructor(); changeIndex(value: number): void; @@ -7622,6 +8455,7 @@ declare interface TabsOptions { barPosition?: BarPosition; index?: number; controller?: TabsController; + barModifier?: CommonModifier; } declare interface TabsInterface { (options?: TabsOptions): TabsAttribute; @@ -7664,7 +8498,9 @@ declare class TabsAttribute extends CommonMethod { animationMode(value: AnimationMode | undefined): TabsAttribute; edgeEffect(value: EdgeEffect | undefined): TabsAttribute; onChange(value: ((index: number) => void)): TabsAttribute; + onSelected(value: ((index: number) => void)): TabsAttribute; onTabBarClick(value: ((index: number) => void)): TabsAttribute; + onUnselected(value: ((index: number) => void)): TabsAttribute; onAnimationStart(value: OnTabsAnimationStartCallback): TabsAttribute; onAnimationEnd(value: OnTabsAnimationEndCallback): TabsAttribute; onGestureSwipe(value: OnTabsGestureSwipeCallback): TabsAttribute; @@ -7676,10 +8512,12 @@ declare class TabsAttribute extends CommonMethod { customContentTransition(value: TabsCustomContentTransitionCallback): TabsAttribute; barBackgroundBlurStyle(value: BlurStyle): TabsAttribute; barBackgroundEffect(value: BackgroundEffectOptions): TabsAttribute; + pageFlipMode(value: PageFlipMode | undefined): TabsAttribute; onContentWillChange(value: OnTabsContentWillChangeCallback): TabsAttribute; barMode(value: BarMode.SCROLLABLE, options: ScrollableBarModeOptions): TabsAttribute; barMode(value: BarMode, options?: ScrollableBarModeOptions): TabsAttribute; barBackgroundBlurStyle(style: BlurStyle, options: BackgroundBlurStyleOptions): TabsAttribute; + cachedMaxCount(count: number, mode: TabsCacheMode): TabsAttribute; _onChangeEvent_index(callback_: ((index: number) => void)): void; } declare type Callback_TabContentTransitionProxy_Void = ((parameter: TabContentTransitionProxy) => void); @@ -7746,6 +8584,7 @@ declare interface TabContentInterface { declare class TabContentAttribute extends CommonMethod { tabBar(value: (string|Resource|CustomBuilder|TabBarOptions)): TabContentAttribute; tabBar(value: (SubTabBarStyle|BottomTabBarStyle)): TabContentAttribute; + tabBar(value: (ComponentContent|SubTabBarStyle|BottomTabBarStyle|string|Resource|CustomBuilder|TabBarOptions)): TabContentAttribute; onWillShow(value: VoidCallback): TabContentAttribute; onWillHide(value: VoidCallback): TabContentAttribute; } @@ -7755,6 +8594,7 @@ declare interface TextOverflowOptions { declare interface TextInterface { (content?: (string|Resource), value?: TextOptions): TextAttribute; } +declare type Callback_MarqueeState_Void = ((parameter: MarqueeState) => void); declare class TextAttribute extends CommonMethod { font(value: Font): TextAttribute; fontColor(value: ResourceColor): TextAttribute; @@ -7790,6 +8630,8 @@ declare class TextAttribute extends CommonMethod { dataDetectorConfig(value: TextDataDetectorConfig): TextAttribute; onTextSelectionChange(value: ((first: number, last: number) => void)): TextAttribute; fontFeature(value: string): TextAttribute; + marqueeOptions(value: TextMarqueeOptions | undefined): TextAttribute; + onMarqueeStateChange(value: ((parameter: MarqueeState) => void)): TextAttribute; privacySensitive(value: boolean): TextAttribute; textSelectable(value: TextSelectableMode): TextAttribute; editMenuOptions(value: EditMenuOptions): TextAttribute; @@ -7804,15 +8646,35 @@ declare enum TextSpanType { TEXT = 0, IMAGE = 1, MIXED = 2, + DEFAULT = 3, } declare enum TextResponseType { RIGHT_CLICK = 0, LONG_PRESS = 1, SELECT = 2, + DEFAULT = 3, +} +declare enum MarqueeState { + START = 0, + BOUNCE = 1, + FINISH = 2, +} +declare enum MarqueeStartPolicy { + DEFAULT = 0, + ON_FOCUS = 1, } declare interface TextOptions { controller: TextController; } +declare interface TextMarqueeOptions { + start: boolean; + step?: number; + loop?: number; + fromStart?: boolean; + delay?: number; + fadeout?: boolean; + marqueeStartPolicy?: MarqueeStartPolicy; +} declare class TextController { closeSelectionMenu(): void; setStyledString(value: StyledString): void; @@ -7840,29 +8702,6 @@ declare enum TextAreaType { NUMBER_DECIMAL = 12, URL = 13, } -declare enum ContentType { - USER_NAME = 0, - PASSWORD = 1, - NEW_PASSWORD = 2, - FULL_STREET_ADDRESS = 3, - HOUSE_NUMBER = 4, - DISTRICT_ADDRESS = 5, - CITY_ADDRESS = 6, - PROVINCE_ADDRESS = 7, - COUNTRY_ADDRESS = 8, - PERSON_FULL_NAME = 9, - PERSON_LAST_NAME = 10, - PERSON_FIRST_NAME = 11, - PHONE_NUMBER = 12, - PHONE_COUNTRY_CODE = 13, - FULL_PHONE_NUMBER = 14, - EMAIL_ADDRESS = 15, - BANK_CARD_NUMBER = 16, - ID_CARD_NUMBER = 17, - NICKNAME = 23, - DETAIL_INFO_WITHOUT_STREET = 24, - FORMAT_ADDRESS = 25, -} declare type TextAreaSubmitCallback = ((enterKeyType: EnterKeyType, event?: SubmitEvent) => void); declare type Callback_EnterKeyType_Void = ((enterKey: EnterKeyType) => void); declare type Callback_String_PasteEvent_Void = ((value: string, event: PasteEvent) => void); @@ -7898,6 +8737,8 @@ declare class TextAreaAttribute extends CommonMethod { selectionMenuHidden(value: boolean): TextAreaAttribute; minFontSize(value: (number|string|Resource)): TextAreaAttribute; maxFontSize(value: (number|string|Resource)): TextAreaAttribute; + minFontScale(value: (number|Resource) | undefined): TextAreaAttribute; + maxFontScale(value: (number|Resource) | undefined): TextAreaAttribute; heightAdaptivePolicy(value: TextHeightAdaptivePolicy): TextAreaAttribute; maxLines(value: number): TextAreaAttribute; wordBreak(value: WordBreak): TextAreaAttribute; @@ -7917,6 +8758,12 @@ declare class TextAreaAttribute extends CommonMethod { editMenuOptions(value: EditMenuOptions): TextAreaAttribute; enablePreviewText(value: boolean): TextAreaAttribute; enableHapticFeedback(value: boolean): TextAreaAttribute; + autoCapitalizationMode(value: AutoCapitalizationMode): TextAreaAttribute; + halfLeading(value: boolean | undefined): TextAreaAttribute; + ellipsisMode(value: EllipsisMode | undefined): TextAreaAttribute; + stopBackPress(value: boolean | undefined): TextAreaAttribute; + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): TextAreaAttribute; + keyboardAppearance(value: KeyboardAppearance | undefined): TextAreaAttribute; inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): TextAreaAttribute; showCounter(value: boolean, options?: InputCounterOptions): TextAreaAttribute; customKeyboard(value: CustomBuilder, options?: KeyboardOptions): TextAreaAttribute; @@ -7981,13 +8828,19 @@ declare enum MenuType { SELECTION_MENU = 0, PREVIEW_MENU = 1, } +declare enum AutoCapitalizationMode { + NONE = 0, + WORDS = 1, + SENTENCES = 2, + ALL_CHARACTERS = 3, +} declare interface DeleteValue { deleteOffset: number; direction: TextDeleteDirection; deleteValue: string; } declare type OnDidChangeCallback = ((rangeBefore: TextRange, rangeAfter: TextRange) => void); -declare type EditableTextOnChangeCallback = ((value: string, previewText?: PreviewText) => void); +declare type EditableTextOnChangeCallback = ((value: string, previewText?: PreviewText, options?: TextChangeOptions) => void); declare interface TextBaseController { setSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void; closeSelectionMenu(): void; @@ -8000,6 +8853,10 @@ declare interface TextEditControllerEx extends TextBaseController { getCaretOffset(): number; getPreviewText?(): PreviewText; } +declare interface PreviewText { + offset: number; + value: string; +} declare interface StyledStringController { setStyledString(styledString: StyledString): void; getStyledString(): MutableStyledString; @@ -8036,17 +8893,17 @@ declare class TextMenuItemId { static readonly COLLABORATION_SERVICE: TextMenuItemId; static readonly CAMERA_INPUT: TextMenuItemId; static readonly AI_WRITER: TextMenuItemId; + static readonly TRANSLATE: TextMenuItemId; + static readonly SEARCH: TextMenuItemId; + static readonly SHARE: TextMenuItemId; static of(id: ResourceStr): TextMenuItemId; equals(id: TextMenuItemId): boolean; } -declare interface PreviewText { - offset: number; - value: string; -} declare interface TextMenuItem { content: ResourceStr; icon?: ResourceStr; id: TextMenuItemId; + labelInfo?: ResourceStr; } declare type AsyncCallback_Array_TextMenuItem_Array_TextMenuItem = ((menuItems: TextMenuItem[]) => TextMenuItem[]); declare type AsyncCallback_TextMenuItem_TextRange_Boolean = ((menuItem: TextMenuItem, range: TextRange) => boolean); @@ -8062,6 +8919,30 @@ declare interface DecorationStyleResult { declare interface FontSettingOptions { enableVariableFontWeight?: boolean; } +declare interface TextChangeOptions { + rangeBefore: TextRange; + rangeAfter: TextRange; + oldContent: string; + oldPreviewText: PreviewText; +} +declare interface EditableTextChangeValue { + content: string; + previewText?: PreviewText; + options?: TextChangeOptions; +} +declare enum TextMenuShowMode { + DEFAULT = 0, + PREFER_WINDOW = 1, +} +declare interface TextMenuOptions { + showMode?: TextMenuShowMode; +} +declare enum KeyboardAppearance { + NONE_IMMERSIVE = 0, + IMMERSIVE = 1, + LIGHT_IMMERSIVE = 2, + DARK_IMMERSIVE = 3, +} declare enum InputType { NORMAL = 0, Normal = 0, @@ -8080,6 +8961,41 @@ declare enum InputType { NUMBER_DECIMAL = 12, URL = 13, } +declare enum ContentType { + USER_NAME = 0, + PASSWORD = 1, + NEW_PASSWORD = 2, + FULL_STREET_ADDRESS = 3, + HOUSE_NUMBER = 4, + DISTRICT_ADDRESS = 5, + CITY_ADDRESS = 6, + PROVINCE_ADDRESS = 7, + COUNTRY_ADDRESS = 8, + PERSON_FULL_NAME = 9, + PERSON_LAST_NAME = 10, + PERSON_FIRST_NAME = 11, + PHONE_NUMBER = 12, + PHONE_COUNTRY_CODE = 13, + FULL_PHONE_NUMBER = 14, + EMAIL_ADDRESS = 15, + BANK_CARD_NUMBER = 16, + ID_CARD_NUMBER = 17, + NICKNAME = 23, + DETAIL_INFO_WITHOUT_STREET = 24, + FORMAT_ADDRESS = 25, + PASSPORT_NUMBER = 26, + VALIDITY = 27, + ISSUE_AT = 28, + ORGANIZATION = 29, + TAX_ID = 30, + ADDRESS_CITY_AND_STATE = 31, + FLIGHT_NUMBER = 32, + LICENSE_NUMBER = 33, + LICENSE_FILE_NUMBER = 34, + LICENSE_PLATE = 35, + ENGINE_NUMBER = 36, + LICENSE_CHASSIS_NUMBER = 37, +} declare enum EnterKeyType { GO = 2, Go = 2, @@ -8179,6 +9095,8 @@ declare class TextInputAttribute extends CommonMethod { selectAll(value: boolean): TextInputAttribute; minFontSize(value: (number|string|Resource)): TextInputAttribute; maxFontSize(value: (number|string|Resource)): TextInputAttribute; + minFontScale(value: (number|Resource) | undefined): TextInputAttribute; + maxFontScale(value: (number|Resource) | undefined): TextInputAttribute; heightAdaptivePolicy(value: TextHeightAdaptivePolicy): TextInputAttribute; enableAutoFill(value: boolean): TextInputAttribute; decoration(value: TextDecorationOptions): TextInputAttribute; @@ -8195,6 +9113,12 @@ declare class TextInputAttribute extends CommonMethod { editMenuOptions(value: EditMenuOptions): TextInputAttribute; enablePreviewText(value: boolean): TextInputAttribute; enableHapticFeedback(value: boolean): TextInputAttribute; + autoCapitalizationMode(value: AutoCapitalizationMode): TextInputAttribute; + halfLeading(value: boolean | undefined): TextInputAttribute; + ellipsisMode(value: EllipsisMode | undefined): TextInputAttribute; + stopBackPress(value: boolean | undefined): TextInputAttribute; + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): TextInputAttribute; + keyboardAppearance(value: KeyboardAppearance | undefined): TextInputAttribute; inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): TextInputAttribute; customKeyboard(value: CustomBuilder, options?: KeyboardOptions): TextInputAttribute; showCounter(value: boolean, options?: InputCounterOptions): TextInputAttribute; @@ -8212,6 +9136,7 @@ declare interface TextPickerOptions { range: (string[]|string[][]|Resource|TextPickerRangeContent[]|TextCascadePickerRangeContent[]); value?: (string|string[]); selected?: (number|number[]); + columnWidths?: LengthMetrics[]; } declare interface TextPickerInterface { (options?: TextPickerOptions): TextPickerAttribute; @@ -8222,22 +9147,46 @@ declare interface DividerOptions { startMargin?: Dimension; endMargin?: Dimension; } +declare interface TextPickerTextStyle extends PickerTextStyle { + minFontSize?: (number|string|Resource); + maxFontSize?: (number|string|Resource); + overflow?: TextOverflow; +} +declare type TextPickerScrollStopCallback = ((value: (string|string[]), index: (number|number[])) => void); +declare type OnTextPickerChangeCallback = ((selectItem: (string|string[]), index: (number|number[])) => void); +declare type TextPickerEnterSelectedAreaCallback = ((value: (string|string[]), index: (number|number[])) => void); declare type Callback_String_Number_Void = ((value: string, index: number) => void); declare type Type_TextPickerAttribute_onChange_callback = ((value: (string|string[]), index: (number|number[])) => void); declare type Callback_Union_Number_Array_Number_Void = ((selected: (number|number[])) => void); declare type Callback_Union_String_Array_String_Void = ((value: (string|string[])) => void); declare class TextPickerAttribute extends CommonMethod { defaultPickerItemHeight(value: (number|string)): TextPickerAttribute; + defaultPickerItemHeight(value: (number|string) | undefined): TextPickerAttribute; canLoop(value: boolean): TextPickerAttribute; + canLoop(value: boolean | undefined): TextPickerAttribute; disappearTextStyle(value: PickerTextStyle): TextPickerAttribute; + disappearTextStyle(value: PickerTextStyle | undefined): TextPickerAttribute; textStyle(value: PickerTextStyle): TextPickerAttribute; + textStyle(value: PickerTextStyle | undefined): TextPickerAttribute; selectedTextStyle(value: PickerTextStyle): TextPickerAttribute; + selectedTextStyle(value: PickerTextStyle | undefined): TextPickerAttribute; + disableTextStyleAnimation(value: boolean): TextPickerAttribute; + defaultTextStyle(value: TextPickerTextStyle): TextPickerAttribute; onAccept(value: ((value: string, index: number) => void)): TextPickerAttribute; onCancel(value: (() => void)): TextPickerAttribute; onChange(value: ((value: (string|string[]), index: (number|number[])) => void)): TextPickerAttribute; + onChange(value: OnTextPickerChangeCallback | undefined): TextPickerAttribute; + onScrollStop(value: TextPickerScrollStopCallback): TextPickerAttribute; + onScrollStop(value: TextPickerScrollStopCallback | undefined): TextPickerAttribute; + onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback): TextPickerAttribute; selectedIndex(value: (number|number[])): TextPickerAttribute; + selectedIndex(value: (number|number[]) | undefined): TextPickerAttribute; + divider(value: DividerOptions | undefined): TextPickerAttribute; divider(value: DividerOptions | undefined): TextPickerAttribute; gradientHeight(value: Dimension): TextPickerAttribute; + enableHapticFeedback(value: boolean | undefined): TextPickerAttribute; + gradientHeight(value: Dimension | undefined): TextPickerAttribute; + digitalCrownSensitivity(value: CrownSensitivity | undefined): TextPickerAttribute; _onChangeEvent_selected(callback_: ((selected: (number|number[])) => void)): void; _onChangeEvent_value(callback_: ((value: (string|string[])) => void)): void; } @@ -8254,14 +9203,20 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { acceptButtonStyle?: PickerDialogButtonStyle; cancelButtonStyle?: PickerDialogButtonStyle; selectedTextStyle?: PickerTextStyle; + disableTextStyleAnimation?: boolean; + defaultTextStyle?: TextPickerTextStyle; onAccept?: ((value: TextPickerResult) => void); onCancel?: (() => void); onChange?: ((value: TextPickerResult) => void); + onScrollStop?: ((value: TextPickerResult) => void); + onEnterSelectedArea?: ((value: TextPickerResult) => void); maskRect?: Rectangle; alignment?: DialogAlignment; offset?: Offset; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onDidAppear?: (() => void); onDidDisappear?: (() => void); onWillAppear?: (() => void); @@ -8269,6 +9224,7 @@ declare interface TextPickerDialogOptions extends TextPickerOptions { shadow?: (ShadowOptions|ShadowStyle); enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + enableHapticFeedback?: boolean; } declare class TextPickerDialog { static show(options?: TextPickerDialogOptions): void; @@ -8317,20 +9273,34 @@ declare enum TimePickerFormat { declare interface TimePickerOptions { selected?: Date; format?: TimePickerFormat; + start?: Date; + end?: Date; } declare interface TimePickerInterface { (options?: TimePickerOptions): TimePickerAttribute; } +declare type OnTimePickerChangeCallback = ((result: TimePickerResult) => void); declare type Callback_TimePickerResult_Void = ((value: TimePickerResult) => void); declare class TimePickerAttribute extends CommonMethod { useMilitaryTime(value: boolean): TimePickerAttribute; + useMilitaryTime(value: boolean | undefined): TimePickerAttribute; loop(value: boolean): TimePickerAttribute; + loop(value: boolean | undefined): TimePickerAttribute; disappearTextStyle(value: PickerTextStyle): TimePickerAttribute; + disappearTextStyle(value: PickerTextStyle | undefined): TimePickerAttribute; textStyle(value: PickerTextStyle): TimePickerAttribute; + textStyle(value: PickerTextStyle | undefined): TimePickerAttribute; selectedTextStyle(value: PickerTextStyle): TimePickerAttribute; + selectedTextStyle(value: PickerTextStyle | undefined): TimePickerAttribute; dateTimeOptions(value: DateTimeOptions): TimePickerAttribute; + dateTimeOptions(value: DateTimeOptions | undefined): TimePickerAttribute; onChange(value: ((value: TimePickerResult) => void)): TimePickerAttribute; + onChange(value: OnTimePickerChangeCallback | undefined): TimePickerAttribute; + onEnterSelectedArea(value: ((value: TimePickerResult) => void)): TimePickerAttribute; enableHapticFeedback(value: boolean): TimePickerAttribute; + enableHapticFeedback(value: boolean | undefined): TimePickerAttribute; + digitalCrownSensitivity(value: CrownSensitivity | undefined): TimePickerAttribute; + enableCascade(value: boolean): TimePickerAttribute; _onChangeEvent_selected(callback_: ((parameter: Date) => void)): void; } declare interface TimePickerDialogOptions extends TimePickerOptions { @@ -8346,8 +9316,12 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { onAccept?: ((value: TimePickerResult) => void); onCancel?: (() => void); onChange?: ((value: TimePickerResult) => void); + onEnterSelectedArea?: ((value: TimePickerResult) => void); backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; + enableCascade?: boolean; onDidAppear?: (() => void); onDidDisappear?: (() => void); onWillAppear?: (() => void); @@ -8356,6 +9330,7 @@ declare interface TimePickerDialogOptions extends TimePickerOptions { dateTimeOptions?: DateTimeOptions; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + enableHapticFeedback?: boolean; } declare class TimePickerDialog { static show(options?: TimePickerDialogOptions): void; @@ -8410,7 +9385,12 @@ declare type Percentage = string; declare type Degree = string; declare type Dimension = (string|number|Resource); declare type ResourceStr = (string|Resource); -declare type Padding = { top?: Length, right?: Length, bottom?: Length, left?: Length } +declare interface Padding { + top?: Length; + right?: Length; + bottom?: Length; + left?: Length; +} declare interface LocalizedPadding { top?: LengthMetrics; end?: LengthMetrics; @@ -8419,23 +9399,48 @@ declare interface LocalizedPadding { } declare type Margin = Padding; declare type EdgeWidth = EdgeWidths; -declare type EdgeWidths = { top?: Length, right?: Length, bottom?: Length, left?: Length } +declare interface EdgeWidths { + top?: Length; + right?: Length; + bottom?: Length; + left?: Length; +} declare interface LocalizedEdgeWidths { top?: LengthMetrics; end?: LengthMetrics; bottom?: LengthMetrics; start?: LengthMetrics; } -declare type EdgeOutlineWidths = { top?: Dimension, right?: Dimension, bottom?: Dimension, left?: Dimension } -declare type BorderRadiuses = { topLeft?: Length, topRight?: Length, bottomLeft?: Length, bottomRight?: Length } +declare interface EdgeOutlineWidths { + top?: Dimension; + right?: Dimension; + bottom?: Dimension; + left?: Dimension; +} +declare interface BorderRadiuses { + topLeft?: Length; + topRight?: Length; + bottomLeft?: Length; + bottomRight?: Length; +} declare interface LocalizedBorderRadiuses { topStart?: LengthMetrics; topEnd?: LengthMetrics; bottomStart?: LengthMetrics; bottomEnd?: LengthMetrics; } -declare type OutlineRadiuses = { topLeft?: Dimension, topRight?: Dimension, bottomLeft?: Dimension, bottomRight?: Dimension } -declare type EdgeColors = { top?: ResourceColor, right?: ResourceColor, bottom?: ResourceColor, left?: ResourceColor } +declare interface OutlineRadiuses { + topLeft?: Dimension; + topRight?: Dimension; + bottomLeft?: Dimension; + bottomRight?: Dimension; +} +declare interface EdgeColors { + top?: ResourceColor; + right?: ResourceColor; + bottom?: ResourceColor; + left?: ResourceColor; +} declare interface LocalizedEdgeColors { top?: ResourceColor; end?: ResourceColor; @@ -8443,10 +9448,21 @@ declare interface LocalizedEdgeColors { start?: ResourceColor; } declare type LocalizedMargin = LocalizedPadding; -declare type EdgeOutlineStyles = { top?: OutlineStyle, right?: OutlineStyle, bottom?: OutlineStyle, left?: OutlineStyle } -declare type Offset = { dx: Length, dy: Length } +declare interface EdgeOutlineStyles { + top?: OutlineStyle; + right?: OutlineStyle; + bottom?: OutlineStyle; + left?: OutlineStyle; +} +declare interface Offset { + dx: Length; + dy: Length; +} declare type ResourceColor = (Color|number|string|Resource); -declare type LengthConstrain = { minLength: Length, maxLength: Length } +declare interface LengthConstrain { + minLength: Length; + maxLength: Length; +} declare type VoidCallback = (() => void); declare interface Font { size?: Length; @@ -8525,6 +9541,7 @@ declare interface DividerStyleOptions { color?: ResourceColor; startMargin?: LengthMetrics; endMargin?: LengthMetrics; + mode?: DividerMode; } declare interface ChainWeightOptions { horizontal?: number; @@ -8564,12 +9581,16 @@ declare interface PreparedInfo { declare interface PlaybackInfo { time: number; } +declare interface PosterOptions { + showFirstFrame?: boolean; +} declare interface VideoOptions { src?: (string|Resource); currentProgressRate?: (number|string|PlaybackSpeed); previewUri?: (string|PixelMap|Resource); controller?: VideoController; imageAIOptions?: ImageAIOptions; + posterOptions?: PosterOptions; } declare class VideoController { constructor(); @@ -8606,6 +9627,8 @@ declare class VideoAttribute extends CommonMethod { onStop(value: (() => void)): VideoAttribute; enableAnalyzer(value: boolean): VideoAttribute; analyzerConfig(value: ImageAnalyzerConfig): VideoAttribute; + surfaceBackgroundColor(value: ColorMetrics): VideoAttribute; + enableShortcutKey(value: boolean): VideoAttribute; } declare type OnNavigationEntryCommittedCallback = ((loadCommittedDetails: LoadCommittedDetails) => void); declare type OnSslErrorEventCallback = ((sslErrorEvent: SslErrorEvent) => void); @@ -8697,6 +9720,10 @@ declare enum OverScrollMode { NEVER = 0, ALWAYS = 1, } +declare enum BlurOnKeyboardHideMode { + SILENT = 0, + BLUR = 1, +} declare enum WebDarkMode { OFF = 0, Off = 0, @@ -8778,6 +9805,7 @@ declare class FileSelectorParam { getMode(): FileSelectorMode; getAcceptType(): string[]; isCapture(): boolean; + getMimeTypes(): string[]; } declare class JsResult { constructor(); @@ -8976,6 +10004,7 @@ declare class WebCookie { declare class EventResult { constructor(); setGestureEventResult(result: boolean): void; + setGestureEventResult(result: boolean, stopPropagation: boolean): void; } declare type Literal_String_script_Callback_String_Void_callback_ = { script: string, callback_?: ((breakpoints: string) => void) } declare type Literal_String_baseUrl_data_encoding_historyUrl_mimeType = { data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string } @@ -9306,6 +10335,7 @@ declare class WebAttribute extends CommonMethod { wideViewModeAccess(value: boolean): WebAttribute; overviewModeAccess(value: boolean): WebAttribute; overScrollMode(value: OverScrollMode): WebAttribute; + blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode): WebAttribute; textZoomAtio(value: number): WebAttribute; textZoomRatio(value: number): WebAttribute; databaseAccess(value: boolean): WebAttribute; @@ -9397,7 +10427,6 @@ declare class WebAttribute extends CommonMethod { onOverrideUrlLoading(value: OnOverrideUrlLoadingCallback): WebAttribute; textAutosizing(value: boolean): WebAttribute; enableNativeMediaPlayer(value: NativeMediaPlayerConfig): WebAttribute; - enableSmoothDragResize(value: boolean): WebAttribute; onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback): WebAttribute; onRenderProcessResponding(value: OnRenderProcessRespondingCallback): WebAttribute; selectionMenuOptions(value: ExpandedMenuItemOptions[]): WebAttribute; @@ -9407,6 +10436,13 @@ declare class WebAttribute extends CommonMethod { keyboardAvoidMode(value: WebKeyboardAvoidMode): WebAttribute; editMenuOptions(value: EditMenuOptions): WebAttribute; enableHapticFeedback(value: boolean): WebAttribute; + optimizeParserBudget(value: boolean): WebAttribute; + enableFollowSystemFontWeight(value: boolean): WebAttribute; + enableWebAVSession(value: boolean): WebAttribute; + runJavaScriptOnDocumentStart(value: ScriptItem[]): WebAttribute; + runJavaScriptOnDocumentEnd(value: ScriptItem[]): WebAttribute; + runJavaScriptOnHeadEnd(value: ScriptItem[]): WebAttribute; + nativeEmbedOptions(value: EmbedOptions): WebAttribute; registerNativeEmbedRule(tag: string, type: string): WebAttribute; bindSelectionMenu(elementType: WebElementType, content: CustomBuilder, responseType: WebResponseType, options?: SelectionMenuOptionsExt): WebAttribute; } @@ -9432,6 +10468,9 @@ declare interface NestedScrollOptionsExt { scrollRight?: NestedScrollMode; scrollLeft?: NestedScrollMode; } +declare interface EmbedOptions { + supportDefaultIntrinsicSize?: boolean; +} declare interface WindowSceneInterface { (persistentId: number): WindowSceneAttribute; } @@ -9468,6 +10507,11 @@ declare interface XComponentOptions { type: XComponentType; controller: XComponentController; imageAIOptions?: ImageAIOptions; + screenId?: number; +} +declare interface NativeXComponentParameters { + type: XComponentType; + imageAIOptions?: ImageAIOptions; } declare type Type_XComponentInterface_callable0_value = { id: string, type: string, libraryname?: string, controller?: XComponentController } declare type Type_XComponentInterface_callable1_value = { id: string, type: XComponentType, libraryname?: string, controller?: XComponentController } @@ -9475,6 +10519,7 @@ declare interface XComponentInterface { (value: { id: string, type: string, libraryname?: string, controller?: XComponentController }): XComponentAttribute; (value: { id: string, type: XComponentType, libraryname?: string, controller?: XComponentController }): XComponentAttribute; (options: XComponentOptions): XComponentAttribute; + (params: NativeXComponentParameters): XComponentAttribute; } declare type OnNativeLoadCallback = ((event?: Object) => void); declare class XComponentAttribute extends CommonMethod { @@ -9482,6 +10527,8 @@ declare class XComponentAttribute extends CommonMethod { onDestroy(value: VoidCallback): XComponentAttribute; enableAnalyzer(value: boolean): XComponentAttribute; enableSecure(value: boolean): XComponentAttribute; + hdrBrightness(value: number): XComponentAttribute; + enableTransparentLayer(value: boolean): XComponentAttribute; } declare enum SideBarContainerType { EMBED = 0, @@ -9569,6 +10616,7 @@ declare enum WaterFlowLayoutMode { } declare interface WaterFlowOptions { footer?: CustomBuilder; + footerContent?: ComponentContent; scroller?: Scroller; sections?: WaterFlowSections; layoutMode?: WaterFlowLayoutMode; @@ -9597,11 +10645,16 @@ declare enum DpiFollowStrategy { FOLLOW_HOST_DPI = 0, FOLLOW_UI_EXTENSION_ABILITY_DPI = 1, } +declare enum WindowModeFollowStrategy { + FOLLOW_HOST_WINDOW_MODE = 0, + FOLLOW_UI_EXTENSION_ABILITY_WINDOW_MODE = 1, +} declare interface UIExtensionOptions { isTransferringCaller?: boolean; placeholder?: ComponentContent; areaChangePlaceholder?: Map; dpiFollowStrategy?: DpiFollowStrategy; + windowModeFollowStrategy?: WindowModeFollowStrategy; } declare type Callback_UIExtensionProxy_Void = ((parameter: UIExtensionProxy) => void); declare interface UIExtensionProxy { @@ -9622,6 +10675,7 @@ declare class UIExtensionComponentAttribute extends CommonMethod void)): UIExtensionComponentAttribute; onError(value: ErrorCallback): UIExtensionComponentAttribute; onTerminated(value: ((parameter: TerminationInfo) => void)): UIExtensionComponentAttribute; + onDrawReady(value: (() => void)): UIExtensionComponentAttribute; } declare type Callback_Map_String_Object_Void = ((parameter: Map) => void); declare type Literal_Number_code__want = { code: number, want?: Want } @@ -9630,6 +10684,9 @@ declare interface IsolatedOptions { want: Want; worker: RestrictedWorker; } +declare type StyledStringMarshallingValue = UserDataSpan; +declare type StyledStringMarshallCallback = ((marshallableVal: UserDataSpan) => ArrayBuffer); +declare type StyledStringUnmarshallCallback = ((buf: ArrayBuffer) => UserDataSpan); declare class StyledString { constructor(value: (string|ImageAttachment|CustomSpan), styles?: StyleOptions[]); readonly length: number; @@ -9639,7 +10696,9 @@ declare class StyledString { subStyledString(start: number, length?: number): StyledString; static fromHtml(html: string): Promise; static toHtml(styledString: StyledString): string; + static marshalling(styledString: StyledString, callback_: StyledStringMarshallCallback): ArrayBuffer; static marshalling(styledString: StyledString): ArrayBuffer; + static unmarshalling(buffer: ArrayBuffer, callback_: StyledStringUnmarshallCallback): Promise; static unmarshalling(buffer: ArrayBuffer): Promise; } declare interface StyleOptions { @@ -9711,6 +10770,7 @@ declare class ParagraphStyle { readonly overflow?: TextOverflow; readonly wordBreak?: WordBreak; readonly leadingMargin?: (number|LeadingMarginPlaceholder); + readonly paragraphSpacing?: number; } declare interface ParagraphStyleInterface { textAlign?: TextAlign; @@ -9719,6 +10779,7 @@ declare interface ParagraphStyleInterface { overflow?: TextOverflow; wordBreak?: WordBreak; leadingMargin?: (LengthMetrics|LeadingMarginPlaceholder); + paragraphSpacing?: LengthMetrics; } declare class LineHeightStyle { constructor(lineHeight: LengthMetrics); @@ -9759,11 +10820,22 @@ declare enum StyledStringKey { } declare class ImageAttachment { constructor(value: ImageAttachmentInterface); + constructor(attachment: AttachmentType | undefined); readonly value: PixelMap; readonly size?: SizeOptions; readonly verticalAlign?: ImageSpanAlignment; readonly objectFit?: ImageFit; readonly layoutStyle?: ImageAttachmentLayoutStyle; + readonly colorFilter?: ColorFilterType; +} +declare interface ResourceImageAttachmentOptions { + resourceValue: ResourceStr | undefined; + size?: SizeOptions; + verticalAlign?: ImageSpanAlignment; + objectFit?: ImageFit; + layoutStyle?: ImageAttachmentLayoutStyle; + colorFilter?: ColorFilterType; + syncLoad?: boolean; } declare interface ImageAttachmentInterface { value: PixelMap; @@ -9771,7 +10843,10 @@ declare interface ImageAttachmentInterface { verticalAlign?: ImageSpanAlignment; objectFit?: ImageFit; layoutStyle?: ImageAttachmentLayoutStyle; + colorFilter?: ColorFilterType; } +declare type AttachmentType = (ImageAttachmentInterface|ResourceImageAttachmentOptions); +declare type ColorFilterType = (ColorFilter|DrawingColorFilter); declare interface ImageAttachmentLayoutStyle { margin?: (LengthMetrics|Padding); padding?: (LengthMetrics|Padding); @@ -9918,6 +10993,8 @@ declare const ImageSpan: ImageSpanInterface declare const ImageSpanInstance: ImageSpanAttribute declare const IndicatorComponent: IndicatorComponentInterface declare const IndicatorComponentInstance: IndicatorComponentAttribute +declare const LazyVGridLayout: LazyVGridLayoutInterface +declare const LazyVGridLayoutInstance: LazyVGridLayoutAttribute declare const Line: LineInterface declare const LineInstance: LineAttribute declare const LinearIndicator: LinearIndicatorInterface diff --git a/arkoala/arkui/src/generated/AllMaterialized.ts b/arkoala/arkui/src/generated/AllMaterialized.ts index 08e3c24938..59fadec5f7 100644 --- a/arkoala/arkui/src/generated/AllMaterialized.ts +++ b/arkoala/arkui/src/generated/AllMaterialized.ts @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { AnimateParam, TranslateOptions, SheetOptions, TransitionEffects, RotateOptions, ScaleOptions, TransitionEdge, EventTarget, SourceType, SourceTool, DragBehavior, DragResult, Rectangle, MeasureResult, CaretOffset, RectResult, HoverCallback, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, UIGestureEvent, SelectionOptions, ShadowOptions, TouchObject, HistoricalPoint, CustomBuilder } from "./common" +import { AnimateParam, TranslateOptions, SheetOptions, TransitionEffects, RotateOptions, ScaleOptions, TransitionEdge, EventTarget, SourceType, SourceTool, DragBehavior, DragResult, Rectangle, DataSyncOptions, MeasureResult, CaretOffset, RectResult, TextContentControllerOptions, HoverCallback, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, UIGestureEvent, SelectionOptions, ShadowOptions, TouchObject, HistoricalPoint, CustomBuilder } from "./common" import { DoubleAnimationParam } from "./animation_extender" import { Finalizable, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, toPeerPtr, KPointer, MaterializedBase, NativeBuffer, isInstanceOf } from "@koalaui/interop" import { unsafeCast, int32, int64, float32 } from "@koalaui/common" @@ -30,7 +30,7 @@ import { Callback_RangeUpdate, Event, RestrictedWorker_onexit_Callback, Restrict import { ResourceStr, Font, ResourceColor, Position, Length, SizeOptions, ConstraintSizeOptions, DirectionalEdgesT, VoidCallback } from "./units" import { Resource } from "./resource" import { TextPickerDialogOptions } from "./text_picker" -import { Color, KeyType, KeySource, Edge, Axis, TextAlign, TextOverflow, WordBreak, ImageSpanAlignment, ImageFit, MouseButton, MouseAction, AccessibilityHoverType, TouchType } from "./enums" +import { Color, KeyType, KeySource, Edge, Axis, TextAlign, TextOverflow, WordBreak, ImageSpanAlignment, ImageFit, InteractionHand, MouseButton, MouseAction, AccessibilityHoverType, TouchType, AxisAction, AxisModel } from "./enums" import { BlendMode, RectType } from "./arkui-drawing" import { Rect, LengthUnit, RoundRect, Circle, CommandPath, Size, Frame, Vector2, Vector3, Matrix4, Edges, BorderRadiuses_graphics, LengthMetricsUnit, DrawContext } from "./arkui-graphics" import { WebHeader, SnapshotOptions, PerfMonitorActionType, PerfMonitorSourceType, RectShapeOptions, RoundRectShapeOptions, ShapeSize, PathShapeOptions, FontOptions, FontInfo, MeasureOptions, EdgeStyles, Summary, IntentionCode, SymbolGlyphModifier, RectWidthStyle, RectHeightStyle, EffectScope, EffectDirection } from "./arkui-external" @@ -41,24 +41,25 @@ import { NavigationMode, NavigationTitleMode, PopInfo, NavigationOptions, Naviga import { ActionSheetOptions } from "./action_sheet" import { AlertDialogParamWithConfirm, AlertDialogParamWithButtons, AlertDialogParamWithOptions } from "./alert_dialog" import { CalendarDialogOptions } from "./calendar_picker" +import { TextRange, PreviewText, PositionWithAffinity, StyledStringChangedListener } from "./text_common" import { CustomDialogControllerOptions } from "./custom_dialog_controller" import { ColorStop } from "./data_panel" import { DatePickerDialogOptions } from "./date_picker" -import { GestureInterface, TapGestureParameters, PanDirection, SwipeDirection, GestureMode, GestureType, GestureControl, GestureRecognizerState, FingerInfo } from "./gesture" +import { GestureInterface, TapGestureParameters, LongPressGestureHandlerOptions, PanDirection, PanGestureHandlerOptions, SwipeDirection, SwipeGestureHandlerOptions, PinchGestureHandlerOptions, RotationGestureHandlerOptions, GestureMode, GestureType, GestureControl, GestureRecognizerState, FingerInfo } from "./gesture" import { ImageAnalyzerType, ImageAnalyzerConfig } from "./image_common" import { RouteMapConfig } from "./nav_destination" import { PatternLockChallengeResult } from "./pattern_lock" import { RichEditorTextStyle, LeadingMarginPlaceholder, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorRange, RichEditorImageSpanResult, RichEditorTextSpanResult, RichEditorParagraphResult, RichEditorSelection, RichEditorSpan } from "./rich_editor" -import { PreviewText, PositionWithAffinity, TextRange, StyledStringChangedListener } from "./text_common" import { ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, OffsetResult, ScrollAlign, ScrollToIndexOptions } from "./scroll" import { CommonConfiguration } from "./arkui-wrapper-builder" +import { SwiperAnimationMode } from "./swiper" import { LineMetrics, TextBox, FontStyle, TextDecorationType, TextDecorationStyle } from "./arkui-graphics-text" import { TimePickerDialogOptions } from "./time_picker" import { SeekMode } from "./video" import { FileSelectorMode, ScreenCaptureConfig, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, MessageLevel, Header, HitTestType } from "./web" import { SurfaceRect, SurfaceRotationOptions } from "./xcomponent" import { SectionOptions } from "./water_flow" -import { StyleOptions, StyledStringKey, SpanStyle, TextStyleInterface, DecorationStyleInterface, GestureStyleInterface, ParagraphStyleInterface, ImageAttachmentLayoutStyle, ImageAttachmentInterface, CustomSpanMeasureInfo, CustomSpanDrawInfo } from "./styled_string" +import { StyleOptions, StyledStringKey, SpanStyle, StyledStringMarshallCallback, UserDataSpan, StyledStringUnmarshallCallback, TextStyleInterface, DecorationStyleInterface, GestureStyleInterface, ParagraphStyleInterface, ImageAttachmentLayoutStyle, ColorFilterType, ImageAttachmentInterface, AttachmentType, ResourceImageAttachmentOptions, CustomSpanMeasureInfo, CustomSpanDrawInfo } from "./styled_string" import { TextBackgroundStyle } from "./span" import { LinearIndicatorStartOptions } from "./linearindicator" import { AnimationOptions } from "./arkui-drawabledescriptor" @@ -4604,9341 +4605,10341 @@ export class CalendarPickerDialog { thisSerializer.release() } } -export class NavPathInfoInternal { - public static fromPtr(ptr: KPointer): NavPathInfo { - const obj: NavPathInfo = new NavPathInfo(undefined, undefined, undefined, undefined) - obj.peer = new Finalizable(ptr, NavPathInfo.getFinalizer()) - return obj - } +export interface ICurve { + interpolate(fraction: number): number } -export class NavPathInfo implements MaterializedBase { +export class ICurveInternal implements MaterializedBase,ICurve { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get name(): string { - return this.getName() + static ctor_icurve(): KPointer { + const retval = ArkUIGeneratedNativeModule._ICurve_ctor() + return retval } - set name(name: string) { - this.setName(name) + constructor() { + const ctorPtr: KPointer = ICurveInternal.ctor_icurve() + this.peer = new Finalizable(ctorPtr, ICurveInternal.getFinalizer()) } - get param(): unknown | undefined { - throw new Error("Not implemented") + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._ICurve_getFinalizer() } - set param(param: unknown | undefined) { - const param_NonNull = (param as unknown) - this.setParam(param_NonNull) + public interpolate(fraction: number): number { + const fraction_casted = fraction as (number) + return this.interpolate_serialize(fraction_casted) } - get onPop(): ((parameter: PopInfo) => void) | undefined { - throw new Error("Not implemented") + private interpolate_serialize(fraction: number): number { + const retval = ArkUIGeneratedNativeModule._ICurve_interpolate(this.peer!.ptr, fraction) + return retval } - set onPop(onPop: ((parameter: PopInfo) => void) | undefined) { - const onPop_NonNull = (onPop as ((parameter: PopInfo) => void)) - this.setOnPop(onPop_NonNull) + public static fromPtr(ptr: KPointer): ICurveInternal { + const obj: ICurveInternal = new ICurveInternal() + obj.peer = new Finalizable(ptr, ICurveInternal.getFinalizer()) + return obj } - get isEntry(): boolean | undefined { - return this.getIsEntry() +} +export class DrawModifierInternal { + public static fromPtr(ptr: KPointer): DrawModifier { + const obj: DrawModifier = new DrawModifier() + obj.peer = new Finalizable(ptr, DrawModifier.getFinalizer()) + return obj } - set isEntry(isEntry: boolean | undefined) { - const isEntry_NonNull = (isEntry as boolean) - this.setIsEntry(isEntry_NonNull) +} +export class DrawModifier implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - static ctor_navpathinfo(name: string, param: unknown, onPop?: ((parameter: PopInfo) => void), isEntry?: boolean): KPointer { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(param) - let onPop_type: int32 = RuntimeType.UNDEFINED - onPop_type = runtimeType(onPop) - thisSerializer.writeInt8(onPop_type) - if ((RuntimeType.UNDEFINED) != (onPop_type)) { - const onPop_value = onPop! - thisSerializer.holdAndWriteCallback(onPop_value) - } - let isEntry_type: int32 = RuntimeType.UNDEFINED - isEntry_type = runtimeType(isEntry) - thisSerializer.writeInt8(isEntry_type) - if ((RuntimeType.UNDEFINED) != (isEntry_type)) { - const isEntry_value = isEntry! - thisSerializer.writeBoolean(isEntry_value) - } - const retval = ArkUIGeneratedNativeModule._NavPathInfo_ctor(name, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + static ctor_drawmodifier(): KPointer { + const retval = ArkUIGeneratedNativeModule._DrawModifier_ctor() return retval } - constructor(name?: string, param?: unknown, onPop?: ((parameter: PopInfo) => void), isEntry?: boolean) { - if (((name) !== (undefined)) || ((param) !== (undefined)) || ((onPop) !== (undefined)) || ((isEntry) !== (undefined))) - { - const ctorPtr: KPointer = NavPathInfo.ctor_navpathinfo((name)!, (param)!, onPop, isEntry) - this.peer = new Finalizable(ctorPtr, NavPathInfo.getFinalizer()) - } + constructor() { + const ctorPtr: KPointer = DrawModifier.ctor_drawmodifier() + this.peer = new Finalizable(ctorPtr, DrawModifier.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._NavPathInfo_getFinalizer() - } - private getName(): string { - return this.getName_serialize() + return ArkUIGeneratedNativeModule._DrawModifier_getFinalizer() } - private setName(name: string): void { - const name_casted = name as (string) - this?.setName_serialize(name_casted) + public drawBehind(drawContext: DrawContext): void { + const drawContext_casted = drawContext as (DrawContext) + this?.drawBehind_serialize(drawContext_casted) return } - private getParam(): unknown | undefined { - return this.getParam_serialize() - } - private setParam(param: unknown): void { - const param_casted = param as (unknown) - this?.setParam_serialize(param_casted) + public drawContent(drawContext: DrawContext): void { + const drawContext_casted = drawContext as (DrawContext) + this?.drawContent_serialize(drawContext_casted) return } - private getOnPop(): ((parameter: PopInfo) => void) | undefined { - return this.getOnPop_serialize() - } - private setOnPop(onPop: ((parameter: PopInfo) => void)): void { - const onPop_casted = onPop as (((parameter: PopInfo) => void)) - this?.setOnPop_serialize(onPop_casted) + public drawFront(drawContext: DrawContext): void { + const drawContext_casted = drawContext as (DrawContext) + this?.drawFront_serialize(drawContext_casted) return } - private getIsEntry(): boolean | undefined { - return this.getIsEntry_serialize() - } - private setIsEntry(isEntry: boolean): void { - const isEntry_casted = isEntry as (boolean) - this?.setIsEntry_serialize(isEntry_casted) + public invalidate(): void { + this?.invalidate_serialize() return } - private getName_serialize(): string { - const retval = ArkUIGeneratedNativeModule._NavPathInfo_getName(this.peer!.ptr) - return retval - } - private setName_serialize(name: string): void { - ArkUIGeneratedNativeModule._NavPathInfo_setName(this.peer!.ptr, name) - } - private getParam_serialize(): unknown | undefined { - const retval = ArkUIGeneratedNativeModule._NavPathInfo_getParam(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") - } - private setParam_serialize(param: unknown): void { + private drawBehind_serialize(drawContext: DrawContext): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(param) - ArkUIGeneratedNativeModule._NavPathInfo_setParam(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeDrawContext(drawContext) + ArkUIGeneratedNativeModule._DrawModifier_drawBehind(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private getOnPop_serialize(): ((parameter: PopInfo) => void) | undefined { - const retval = ArkUIGeneratedNativeModule._NavPathInfo_getOnPop(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") - } - private setOnPop_serialize(onPop: ((parameter: PopInfo) => void)): void { + private drawContent_serialize(drawContext: DrawContext): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(onPop) - ArkUIGeneratedNativeModule._NavPathInfo_setOnPop(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeDrawContext(drawContext) + ArkUIGeneratedNativeModule._DrawModifier_drawContent(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private getIsEntry_serialize(): boolean | undefined { - const retval = ArkUIGeneratedNativeModule._NavPathInfo_getIsEntry(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + private drawFront_serialize(drawContext: DrawContext): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeDrawContext(drawContext) + ArkUIGeneratedNativeModule._DrawModifier_drawFront(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private setIsEntry_serialize(isEntry: boolean): void { - ArkUIGeneratedNativeModule._NavPathInfo_setIsEntry(this.peer!.ptr, +isEntry) + private invalidate_serialize(): void { + ArkUIGeneratedNativeModule._DrawModifier_invalidate(this.peer!.ptr) } } -export class NavPathStackInternal { - public static fromPtr(ptr: KPointer): NavPathStack { - const obj: NavPathStack = new NavPathStack() - obj.peer = new Finalizable(ptr, NavPathStack.getFinalizer()) +export class TransitionEffectInternal { + public static fromPtr(ptr: KPointer): TransitionEffect { + const obj: TransitionEffect = new TransitionEffect(undefined, undefined) + obj.peer = new Finalizable(ptr, TransitionEffect.getFinalizer()) return obj } } -export class NavPathStack implements MaterializedBase { +export class TransitionEffect implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_navpathstack(): KPointer { - const retval = ArkUIGeneratedNativeModule._NavPathStack_ctor() - return retval + static get IDENTITY(): TransitionEffect { + return TransitionEffect.getIDENTITY() } - constructor() { - const ctorPtr: KPointer = NavPathStack.ctor_navpathstack() - this.peer = new Finalizable(ctorPtr, NavPathStack.getFinalizer()) + static get OPACITY(): TransitionEffect { + return TransitionEffect.getOPACITY() } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._NavPathStack_getFinalizer() + static get SLIDE(): TransitionEffect { + return TransitionEffect.getSLIDE() } - public pushPath(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): void { - const info_type = runtimeType(info) - const animated_type = runtimeType(animated) - if ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type)) { - const info_casted = info as (NavPathInfo) - const animated_casted = animated as (boolean | undefined) - this?.pushPath0_serialize(info_casted, animated_casted) - return - } - if ((RuntimeType.OBJECT == animated_type) || (RuntimeType.UNDEFINED == animated_type)) { - const info_casted = info as (NavPathInfo) - const options_casted = animated as (NavigationOptions | undefined) - this?.pushPath1_serialize(info_casted, options_casted) - return - } - throw new Error("Can not select appropriate overload") + static get SLIDE_SWITCH(): TransitionEffect { + return TransitionEffect.getSLIDE_SWITCH() } - public pushDestination(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): Promise { - const info_type = runtimeType(info) - const animated_type = runtimeType(animated) - if ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type)) { - const info_casted = info as (NavPathInfo) - const animated_casted = animated as (boolean | undefined) - return this.pushDestination0_serialize(info_casted, animated_casted) - } - if ((RuntimeType.OBJECT == animated_type) || (RuntimeType.UNDEFINED == animated_type)) { - const info_casted = info as (NavPathInfo) - const options_casted = animated as (NavigationOptions | undefined) - return this.pushDestination1_serialize(info_casted, options_casted) - } - throw new Error("Can not select appropriate overload") + static ctor_transitioneffect(type: string, effect: TransitionEffects): KPointer { + const thisSerializer: Serializer = Serializer.hold() + const effect_identity = effect.identity + const effect_opacity = effect.opacity + thisSerializer.writeNumber(effect_opacity) + const effect_slideSwitch = effect.slideSwitch + const effect_move = effect.move + thisSerializer.writeInt32(effect_move.valueOf()) + const effect_translate = effect.translate + thisSerializer.writeTranslateOptions(effect_translate) + const effect_rotate = effect.rotate + thisSerializer.writeRotateOptions(effect_rotate) + const effect_scale = effect.scale + thisSerializer.writeScaleOptions(effect_scale) + const effect_asymmetric = effect.asymmetric + const effect_asymmetric_appear = effect_asymmetric.appear + thisSerializer.writeTransitionEffect(effect_asymmetric_appear) + const effect_asymmetric_disappear = effect_asymmetric.disappear + thisSerializer.writeTransitionEffect(effect_asymmetric_disappear) + const retval = ArkUIGeneratedNativeModule._TransitionEffect_ctor(type, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval } - public pushPathByName(name: string, param: unknown | Object, onPop?: boolean | undefined | ((parameter: PopInfo) => void), animated?: boolean): void { - const name_type = runtimeType(name) - const param_type = runtimeType(param) - const onPop_type = runtimeType(onPop) - const animated_type = runtimeType(animated) - if (((RuntimeType.BIGINT == param_type) || (RuntimeType.BOOLEAN == param_type) || (RuntimeType.FUNCTION == param_type) || (RuntimeType.MATERIALIZED == param_type) || (RuntimeType.NUMBER == param_type) || (RuntimeType.OBJECT == param_type) || (RuntimeType.STRING == param_type) || (RuntimeType.SYMBOL == param_type)) && ((RuntimeType.BOOLEAN == onPop_type) || (RuntimeType.UNDEFINED == onPop_type)) && (RuntimeType.UNDEFINED == animated_type)) { - const name_casted = name as (string) - const param_casted = param as (unknown) - const animated_casted = onPop as (boolean | undefined) - this?.pushPathByName0_serialize(name_casted, param_casted, animated_casted) - return - } - if (((RuntimeType.BIGINT == param_type) || (RuntimeType.BOOLEAN == param_type) || (RuntimeType.FUNCTION == param_type) || (RuntimeType.MATERIALIZED == param_type) || (RuntimeType.NUMBER == param_type) || (RuntimeType.OBJECT == param_type) || (RuntimeType.STRING == param_type) || (RuntimeType.SYMBOL == param_type)) && (RuntimeType.FUNCTION == onPop_type) && ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type))) { - const name_casted = name as (string) - const param_casted = param as (Object) - const onPop_casted = onPop as (((parameter: PopInfo) => void)) - const animated_casted = animated as (boolean | undefined) - this?.pushPathByName1_serialize(name_casted, param_casted, onPop_casted, animated_casted) - return + constructor(type?: string, effect?: TransitionEffects) { + if (((type) !== (undefined)) || ((effect) !== (undefined))) + { + const ctorPtr: KPointer = TransitionEffect.ctor_transitioneffect((type)!, (effect)!) + this.peer = new Finalizable(ctorPtr, TransitionEffect.getFinalizer()) } - throw new Error("Can not select appropriate overload") } - public pushDestinationByName(name: string, param: Object, onPop?: boolean | undefined | ((parameter: PopInfo) => void), animated?: boolean): Promise { - const name_type = runtimeType(name) - const param_type = runtimeType(param) - const onPop_type = runtimeType(onPop) - const animated_type = runtimeType(animated) - if (((RuntimeType.BOOLEAN == onPop_type) || (RuntimeType.UNDEFINED == onPop_type)) && (RuntimeType.UNDEFINED == animated_type)) { - const name_casted = name as (string) - const param_casted = param as (Object) - const animated_casted = onPop as (boolean | undefined) - return this.pushDestinationByName0_serialize(name_casted, param_casted, animated_casted) - } - if ((RuntimeType.FUNCTION == onPop_type) && ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type))) { - const name_casted = name as (string) - const param_casted = param as (Object) - const onPop_casted = onPop as (((parameter: PopInfo) => void)) - const animated_casted = animated as (boolean | undefined) - return this.pushDestinationByName1_serialize(name_casted, param_casted, onPop_casted, animated_casted) - } - throw new Error("Can not select appropriate overload") - } - public replacePath(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): void { - const info_type = runtimeType(info) - const animated_type = runtimeType(animated) - if ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type)) { - const info_casted = info as (NavPathInfo) - const animated_casted = animated as (boolean | undefined) - this?.replacePath0_serialize(info_casted, animated_casted) - return - } - if ((RuntimeType.OBJECT == animated_type) || (RuntimeType.UNDEFINED == animated_type)) { - const info_casted = info as (NavPathInfo) - const options_casted = animated as (NavigationOptions | undefined) - this?.replacePath1_serialize(info_casted, options_casted) - return - } - throw new Error("Can not select appropriate overload") - } - public replaceDestination(info: NavPathInfo, options?: NavigationOptions): Promise { - const info_casted = info as (NavPathInfo) - const options_casted = options as (NavigationOptions | undefined) - return this.replaceDestination_serialize(info_casted, options_casted) - } - public replacePathByName(name: string, param: Object, animated?: boolean): void { - const name_casted = name as (string) - const param_casted = param as (Object) - const animated_casted = animated as (boolean | undefined) - this?.replacePathByName_serialize(name_casted, param_casted, animated_casted) - return - } - public removeByIndexes(indexes: Array): number { - const indexes_casted = indexes as (Array) - return this.removeByIndexes_serialize(indexes_casted) - } - public removeByName(name: string): number { - const name_casted = name as (string) - return this.removeByName_serialize(name_casted) - } - public removeByNavDestinationId(navDestinationId: string): boolean { - const navDestinationId_casted = navDestinationId as (string) - return this.removeByNavDestinationId_serialize(navDestinationId_casted) - } - public pop(result?: boolean | undefined | Object, animated?: boolean): NavPathInfo | undefined { - const result_type = runtimeType(result) - const animated_type = runtimeType(animated) - if (((RuntimeType.BOOLEAN == result_type) || (RuntimeType.UNDEFINED == result_type)) && (RuntimeType.UNDEFINED == animated_type)) { - const animated_casted = result as (boolean | undefined) - return this.pop0_serialize(animated_casted) - } - if (((RuntimeType.BIGINT == result_type) || (RuntimeType.BOOLEAN == result_type) || (RuntimeType.FUNCTION == result_type) || (RuntimeType.MATERIALIZED == result_type) || (RuntimeType.NUMBER == result_type) || (RuntimeType.OBJECT == result_type) || (RuntimeType.STRING == result_type) || (RuntimeType.SYMBOL == result_type)) && ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type))) { - const result_casted = result as (Object) - const animated_casted = animated as (boolean | undefined) - return this.pop1_serialize(result_casted, animated_casted) - } - throw new Error("Can not select appropriate overload") - } - public popToName(name: string, result?: boolean | undefined | Object, animated?: boolean): number { - const name_type = runtimeType(name) - const result_type = runtimeType(result) - const animated_type = runtimeType(animated) - if (((RuntimeType.BOOLEAN == result_type) || (RuntimeType.UNDEFINED == result_type)) && (RuntimeType.UNDEFINED == animated_type)) { - const name_casted = name as (string) - const animated_casted = result as (boolean | undefined) - return this.popToName0_serialize(name_casted, animated_casted) - } - if (((RuntimeType.BIGINT == result_type) || (RuntimeType.BOOLEAN == result_type) || (RuntimeType.FUNCTION == result_type) || (RuntimeType.MATERIALIZED == result_type) || (RuntimeType.NUMBER == result_type) || (RuntimeType.OBJECT == result_type) || (RuntimeType.STRING == result_type) || (RuntimeType.SYMBOL == result_type)) && ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type))) { - const name_casted = name as (string) - const result_casted = result as (Object) - const animated_casted = animated as (boolean | undefined) - return this.popToName1_serialize(name_casted, result_casted, animated_casted) - } - throw new Error("Can not select appropriate overload") + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TransitionEffect_getFinalizer() } - public popToIndex(index: number, result?: boolean | undefined | Object, animated?: boolean): void { - const index_type = runtimeType(index) - const result_type = runtimeType(result) - const animated_type = runtimeType(animated) - if (((RuntimeType.BOOLEAN == result_type) || (RuntimeType.UNDEFINED == result_type)) && (RuntimeType.UNDEFINED == animated_type)) { - const index_casted = index as (number) - const animated_casted = result as (boolean | undefined) - this?.popToIndex0_serialize(index_casted, animated_casted) - return - } - if (((RuntimeType.BIGINT == result_type) || (RuntimeType.BOOLEAN == result_type) || (RuntimeType.FUNCTION == result_type) || (RuntimeType.MATERIALIZED == result_type) || (RuntimeType.NUMBER == result_type) || (RuntimeType.OBJECT == result_type) || (RuntimeType.STRING == result_type) || (RuntimeType.SYMBOL == result_type)) && ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type))) { - const index_casted = index as (number) - const result_casted = result as (Object) - const animated_casted = animated as (boolean | undefined) - this?.popToIndex1_serialize(index_casted, result_casted, animated_casted) - return - } - throw new Error("Can not select appropriate overload") + public static translate(options: TranslateOptions): TransitionEffect { + const options_casted = options as (TranslateOptions) + return TransitionEffect.translate_serialize(options_casted) } - public moveToTop(name: string, animated?: boolean): number { - const name_casted = name as (string) - const animated_casted = animated as (boolean | undefined) - return this.moveToTop_serialize(name_casted, animated_casted) + public static rotate(options: RotateOptions): TransitionEffect { + const options_casted = options as (RotateOptions) + return TransitionEffect.rotate_serialize(options_casted) } - public moveIndexToTop(index: number, animated?: boolean): void { - const index_casted = index as (number) - const animated_casted = animated as (boolean | undefined) - this?.moveIndexToTop_serialize(index_casted, animated_casted) - return + public static scale(options: ScaleOptions): TransitionEffect { + const options_casted = options as (ScaleOptions) + return TransitionEffect.scale_serialize(options_casted) } - public clear(animated?: boolean): void { - const animated_casted = animated as (boolean | undefined) - this?.clear_serialize(animated_casted) - return + public static opacity(alpha: number): TransitionEffect { + const alpha_casted = alpha as (number) + return TransitionEffect.opacity_serialize(alpha_casted) } - public getAllPathName(): Array { - return this.getAllPathName_serialize() + public static move(edge: TransitionEdge): TransitionEffect { + const edge_casted = edge as (TransitionEdge) + return TransitionEffect.move_serialize(edge_casted) } - public getParamByIndex(index: number): unknown | undefined { - const index_casted = index as (number) - return this.getParamByIndex_serialize(index_casted) + public static asymmetric(appear: TransitionEffect, disappear: TransitionEffect): TransitionEffect { + const appear_casted = appear as (TransitionEffect) + const disappear_casted = disappear as (TransitionEffect) + return TransitionEffect.asymmetric_serialize(appear_casted, disappear_casted) } - public getParamByName(name: string): Array { - const name_casted = name as (string) - return this.getParamByName_serialize(name_casted) + public animation(value: AnimateParam): TransitionEffect { + const value_casted = value as (AnimateParam) + return this.animation_serialize(value_casted) } - public getIndexByName(name: string): Array { - const name_casted = name as (string) - return this.getIndexByName_serialize(name_casted) + public combine(transitionEffect: TransitionEffect): TransitionEffect { + const transitionEffect_casted = transitionEffect as (TransitionEffect) + return this.combine_serialize(transitionEffect_casted) } - public getParent(): NavPathStack | undefined { - return this.getParent_serialize() + private static getIDENTITY(): TransitionEffect { + return TransitionEffect.getIDENTITY_serialize() } - public size(): number { - return this.size_serialize() + private static getOPACITY(): TransitionEffect { + return TransitionEffect.getOPACITY_serialize() } - public disableAnimation(value: boolean): void { - const value_casted = value as (boolean) - this?.disableAnimation_serialize(value_casted) - return + private static getSLIDE(): TransitionEffect { + return TransitionEffect.getSLIDE_serialize() } - public setInterception(interception: NavigationInterception): void { - const interception_casted = interception as (NavigationInterception) - this?.setInterception_serialize(interception_casted) - return + private static getSLIDE_SWITCH(): TransitionEffect { + return TransitionEffect.getSLIDE_SWITCH_serialize() } - private pushPath0_serialize(info: NavPathInfo, animated?: boolean): void { + private static translate_serialize(options: TranslateOptions): TransitionEffect { const thisSerializer: Serializer = Serializer.hold() - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) - } - ArkUIGeneratedNativeModule._NavPathStack_pushPath0(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeTranslateOptions(options) + const retval = ArkUIGeneratedNativeModule._TransitionEffect_translate(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + return obj } - private pushPath1_serialize(info: NavPathInfo, options?: NavigationOptions): void { + private static rotate_serialize(options: RotateOptions): TransitionEffect { const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeNavigationOptions(options_value) - } - ArkUIGeneratedNativeModule._NavPathStack_pushPath1(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeRotateOptions(options) + const retval = ArkUIGeneratedNativeModule._TransitionEffect_rotate(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + return obj } - private pushDestination0_serialize(info: NavPathInfo, animated?: boolean): Promise { + private static scale_serialize(options: ScaleOptions): TransitionEffect { const thisSerializer: Serializer = Serializer.hold() - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) - } - const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] - ArkUIGeneratedNativeModule._NavPathStack_pushDestination0(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeScaleOptions(options) + const retval = ArkUIGeneratedNativeModule._TransitionEffect_scale(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - return retval + const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + return obj } - private pushDestination1_serialize(info: NavPathInfo, options?: NavigationOptions): Promise { + private static opacity_serialize(alpha: number): TransitionEffect { + const retval = ArkUIGeneratedNativeModule._TransitionEffect_opacity(alpha) + const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + return obj + } + private static move_serialize(edge: TransitionEdge): TransitionEffect { + const retval = ArkUIGeneratedNativeModule._TransitionEffect_move(edge.valueOf()) + const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + return obj + } + private static asymmetric_serialize(appear: TransitionEffect, disappear: TransitionEffect): TransitionEffect { + const retval = ArkUIGeneratedNativeModule._TransitionEffect_asymmetric(toPeerPtr(appear), toPeerPtr(disappear)) + const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + return obj + } + private animation_serialize(value: AnimateParam): TransitionEffect { const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeNavigationOptions(options_value) - } - const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] - ArkUIGeneratedNativeModule._NavPathStack_pushDestination1(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeAnimateParam(value) + const retval = ArkUIGeneratedNativeModule._TransitionEffect_animation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - return retval + const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + return obj } - private pushPathByName0_serialize(name: string, param: unknown, animated?: boolean): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(param) - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) + private combine_serialize(transitionEffect: TransitionEffect): TransitionEffect { + const retval = ArkUIGeneratedNativeModule._TransitionEffect_combine(this.peer!.ptr, toPeerPtr(transitionEffect)) + const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + return obj + } + private static getIDENTITY_serialize(): TransitionEffect { + const retval = ArkUIGeneratedNativeModule._TransitionEffect_getIDENTITY() + const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + return obj + } + private static getOPACITY_serialize(): TransitionEffect { + const retval = ArkUIGeneratedNativeModule._TransitionEffect_getOPACITY() + const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + return obj + } + private static getSLIDE_serialize(): TransitionEffect { + const retval = ArkUIGeneratedNativeModule._TransitionEffect_getSLIDE() + const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + return obj + } + private static getSLIDE_SWITCH_serialize(): TransitionEffect { + const retval = ArkUIGeneratedNativeModule._TransitionEffect_getSLIDE_SWITCH() + const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + return obj + } +} +export interface BaseEvent { + target: EventTarget + timestamp: number + source: SourceType + axisHorizontal?: number | undefined + axisVertical?: number | undefined + pressure: number + tiltX: number + tiltY: number + rollAngle?: number | undefined + sourceTool: SourceTool + deviceId?: number | undefined + targetDisplayId?: number | undefined + getModifierKeyState(keys: Array): boolean +} +export class BaseEventInternal implements MaterializedBase,BaseEvent { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + get target(): EventTarget { + throw new Error("Not implemented") + } + set target(target: EventTarget) { + this.setTarget(target) + } + get timestamp(): number { + return this.getTimestamp() + } + set timestamp(timestamp: number) { + this.setTimestamp(timestamp) + } + get source(): SourceType { + return this.getSource() + } + set source(source: SourceType) { + this.setSource(source) + } + get axisHorizontal(): number | undefined { + return this.getAxisHorizontal() + } + set axisHorizontal(axisHorizontal: number | undefined) { + const axisHorizontal_NonNull = (axisHorizontal as number) + this.setAxisHorizontal(axisHorizontal_NonNull) + } + get axisVertical(): number | undefined { + return this.getAxisVertical() + } + set axisVertical(axisVertical: number | undefined) { + const axisVertical_NonNull = (axisVertical as number) + this.setAxisVertical(axisVertical_NonNull) + } + get pressure(): number { + return this.getPressure() + } + set pressure(pressure: number) { + this.setPressure(pressure) + } + get tiltX(): number { + return this.getTiltX() + } + set tiltX(tiltX: number) { + this.setTiltX(tiltX) + } + get tiltY(): number { + return this.getTiltY() + } + set tiltY(tiltY: number) { + this.setTiltY(tiltY) + } + get rollAngle(): number | undefined { + return this.getRollAngle() + } + set rollAngle(rollAngle: number | undefined) { + const rollAngle_NonNull = (rollAngle as number) + this.setRollAngle(rollAngle_NonNull) + } + get sourceTool(): SourceTool { + return this.getSourceTool() + } + set sourceTool(sourceTool: SourceTool) { + this.setSourceTool(sourceTool) + } + get deviceId(): number | undefined { + return this.getDeviceId() + } + set deviceId(deviceId: number | undefined) { + const deviceId_NonNull = (deviceId as number) + this.setDeviceId(deviceId_NonNull) + } + get targetDisplayId(): number | undefined { + return this.getTargetDisplayId() + } + set targetDisplayId(targetDisplayId: number | undefined) { + const targetDisplayId_NonNull = (targetDisplayId as number) + this.setTargetDisplayId(targetDisplayId_NonNull) + } + static ctor_baseevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._BaseEvent_ctor() + return retval + } + constructor() { + const ctorPtr: KPointer = BaseEventInternal.ctor_baseevent() + this.peer = new Finalizable(ctorPtr, BaseEventInternal.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._BaseEvent_getFinalizer() + } + public getModifierKeyState(keys: Array): boolean { + const keys_casted = keys as (Array) + return this.getModifierKeyState_serialize(keys_casted) + } + private getTarget(): EventTarget { + return this.getTarget_serialize() + } + private setTarget(target: EventTarget): void { + const target_casted = target as (EventTarget) + this?.setTarget_serialize(target_casted) + return + } + private getTimestamp(): number { + return this.getTimestamp_serialize() + } + private setTimestamp(timestamp: number): void { + const timestamp_casted = timestamp as (number) + this?.setTimestamp_serialize(timestamp_casted) + return + } + private getSource(): SourceType { + return this.getSource_serialize() + } + private setSource(source: SourceType): void { + const source_casted = source as (SourceType) + this?.setSource_serialize(source_casted) + return + } + private getAxisHorizontal(): number | undefined { + return this.getAxisHorizontal_serialize() + } + private setAxisHorizontal(axisHorizontal: number): void { + const axisHorizontal_casted = axisHorizontal as (number) + this?.setAxisHorizontal_serialize(axisHorizontal_casted) + return + } + private getAxisVertical(): number | undefined { + return this.getAxisVertical_serialize() + } + private setAxisVertical(axisVertical: number): void { + const axisVertical_casted = axisVertical as (number) + this?.setAxisVertical_serialize(axisVertical_casted) + return + } + private getPressure(): number { + return this.getPressure_serialize() + } + private setPressure(pressure: number): void { + const pressure_casted = pressure as (number) + this?.setPressure_serialize(pressure_casted) + return + } + private getTiltX(): number { + return this.getTiltX_serialize() + } + private setTiltX(tiltX: number): void { + const tiltX_casted = tiltX as (number) + this?.setTiltX_serialize(tiltX_casted) + return + } + private getTiltY(): number { + return this.getTiltY_serialize() + } + private setTiltY(tiltY: number): void { + const tiltY_casted = tiltY as (number) + this?.setTiltY_serialize(tiltY_casted) + return + } + private getRollAngle(): number | undefined { + return this.getRollAngle_serialize() + } + private setRollAngle(rollAngle: number): void { + const rollAngle_casted = rollAngle as (number) + this?.setRollAngle_serialize(rollAngle_casted) + return + } + private getSourceTool(): SourceTool { + return this.getSourceTool_serialize() + } + private setSourceTool(sourceTool: SourceTool): void { + const sourceTool_casted = sourceTool as (SourceTool) + this?.setSourceTool_serialize(sourceTool_casted) + return + } + private getDeviceId(): number | undefined { + return this.getDeviceId_serialize() + } + private setDeviceId(deviceId: number): void { + const deviceId_casted = deviceId as (number) + this?.setDeviceId_serialize(deviceId_casted) + return + } + private getTargetDisplayId(): number | undefined { + return this.getTargetDisplayId_serialize() + } + private setTargetDisplayId(targetDisplayId: number): void { + const targetDisplayId_casted = targetDisplayId as (number) + this?.setTargetDisplayId_serialize(targetDisplayId_casted) + return + } + private getModifierKeyState_serialize(keys: Array): boolean { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(keys.length) + for (let i = 0; i < keys.length; i++) { + const keys_element: string = keys[i] + thisSerializer.writeString(keys_element) + } + const retval = ArkUIGeneratedNativeModule._BaseEvent_getModifierKeyState(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } + private getTarget_serialize(): EventTarget { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getTarget(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: EventTarget = retvalDeserializer.readEventTarget() + return returnResult + } + private setTarget_serialize(target: EventTarget): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeEventTarget(target) + ArkUIGeneratedNativeModule._BaseEvent_setTarget(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private getTimestamp_serialize(): number { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getTimestamp(this.peer!.ptr) + return retval + } + private setTimestamp_serialize(timestamp: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setTimestamp(this.peer!.ptr, timestamp) + } + private getSource_serialize(): SourceType { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getSource(this.peer!.ptr) + return retval + } + private setSource_serialize(source: SourceType): void { + ArkUIGeneratedNativeModule._BaseEvent_setSource(this.peer!.ptr, source.valueOf()) + } + private getAxisHorizontal_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getAxisHorizontal(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setAxisHorizontal_serialize(axisHorizontal: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setAxisHorizontal(this.peer!.ptr, axisHorizontal) + } + private getAxisVertical_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getAxisVertical(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setAxisVertical_serialize(axisVertical: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setAxisVertical(this.peer!.ptr, axisVertical) + } + private getPressure_serialize(): number { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getPressure(this.peer!.ptr) + return retval + } + private setPressure_serialize(pressure: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setPressure(this.peer!.ptr, pressure) + } + private getTiltX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getTiltX(this.peer!.ptr) + return retval + } + private setTiltX_serialize(tiltX: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setTiltX(this.peer!.ptr, tiltX) + } + private getTiltY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getTiltY(this.peer!.ptr) + return retval + } + private setTiltY_serialize(tiltY: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setTiltY(this.peer!.ptr, tiltY) + } + private getRollAngle_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getRollAngle(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setRollAngle_serialize(rollAngle: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setRollAngle(this.peer!.ptr, rollAngle) + } + private getSourceTool_serialize(): SourceTool { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getSourceTool(this.peer!.ptr) + return retval + } + private setSourceTool_serialize(sourceTool: SourceTool): void { + ArkUIGeneratedNativeModule._BaseEvent_setSourceTool(this.peer!.ptr, sourceTool.valueOf()) + } + private getDeviceId_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getDeviceId(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setDeviceId_serialize(deviceId: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setDeviceId(this.peer!.ptr, deviceId) + } + private getTargetDisplayId_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getTargetDisplayId(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setTargetDisplayId_serialize(targetDisplayId: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setTargetDisplayId(this.peer!.ptr, targetDisplayId) + } + public static fromPtr(ptr: KPointer): BaseEventInternal { + const obj: BaseEventInternal = new BaseEventInternal() + obj.peer = new Finalizable(ptr, BaseEventInternal.getFinalizer()) + return obj + } +} +export interface PixelMapMock { + release(): void +} +export class PixelMapMockInternal implements MaterializedBase,PixelMapMock { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor_pixelmapmock(): KPointer { + const retval = ArkUIGeneratedNativeModule._PixelMapMock_ctor() + return retval + } + constructor() { + const ctorPtr: KPointer = PixelMapMockInternal.ctor_pixelmapmock() + this.peer = new Finalizable(ctorPtr, PixelMapMockInternal.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PixelMapMock_getFinalizer() + } + public release(): void { + this?.release_serialize() + return + } + private release_serialize(): void { + ArkUIGeneratedNativeModule._PixelMapMock_release(this.peer!.ptr) + } + public static fromPtr(ptr: KPointer): PixelMapMockInternal { + const obj: PixelMapMockInternal = new PixelMapMockInternal() + obj.peer = new Finalizable(ptr, PixelMapMockInternal.getFinalizer()) + return obj + } +} +export interface DragEvent { + dragBehavior: DragBehavior + useCustomDropAnimation: boolean + getDisplayX(): number + getDisplayY(): number + getWindowX(): number + getWindowY(): number + getX(): number + getY(): number + setData(unifiedData: UnifiedData): void + getData(): UnifiedData + getSummary(): Summary + setResult(dragResult: DragResult): void + getResult(): DragResult + getPreviewRect(): Rectangle + getVelocityX(): number + getVelocityY(): number + getVelocity(): number + getModifierKeyState(keys: Array): boolean + executeDropAnimation(customDropAnimation: (() => void)): void + startDataLoading(options: DataSyncOptions): string +} +export class DragEventInternal implements MaterializedBase,DragEvent { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + get dragBehavior(): DragBehavior { + return this.getDragBehavior() + } + set dragBehavior(dragBehavior: DragBehavior) { + this.setDragBehavior(dragBehavior) + } + get useCustomDropAnimation(): boolean { + return this.getUseCustomDropAnimation() + } + set useCustomDropAnimation(useCustomDropAnimation: boolean) { + this.setUseCustomDropAnimation(useCustomDropAnimation) + } + static ctor_dragevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._DragEvent_ctor() + return retval + } + constructor() { + const ctorPtr: KPointer = DragEventInternal.ctor_dragevent() + this.peer = new Finalizable(ctorPtr, DragEventInternal.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._DragEvent_getFinalizer() + } + public getDisplayX(): number { + return this.getDisplayX_serialize() + } + public getDisplayY(): number { + return this.getDisplayY_serialize() + } + public getWindowX(): number { + return this.getWindowX_serialize() + } + public getWindowY(): number { + return this.getWindowY_serialize() + } + public getX(): number { + return this.getX_serialize() + } + public getY(): number { + return this.getY_serialize() + } + public setData(unifiedData: UnifiedData): void { + const unifiedData_casted = unifiedData as (UnifiedData) + this?.setData_serialize(unifiedData_casted) + return + } + public getData(): UnifiedData { + return this.getData_serialize() + } + public getSummary(): Summary { + return this.getSummary_serialize() + } + public setResult(dragResult: DragResult): void { + const dragResult_casted = dragResult as (DragResult) + this?.setResult_serialize(dragResult_casted) + return + } + public getResult(): DragResult { + return this.getResult_serialize() + } + public getPreviewRect(): Rectangle { + return this.getPreviewRect_serialize() + } + public getVelocityX(): number { + return this.getVelocityX_serialize() + } + public getVelocityY(): number { + return this.getVelocityY_serialize() + } + public getVelocity(): number { + return this.getVelocity_serialize() + } + public getModifierKeyState(keys: Array): boolean { + const keys_casted = keys as (Array) + return this.getModifierKeyState_serialize(keys_casted) + } + public executeDropAnimation(customDropAnimation: (() => void)): void { + const customDropAnimation_casted = customDropAnimation as ((() => void)) + this?.executeDropAnimation_serialize(customDropAnimation_casted) + return + } + public startDataLoading(options: DataSyncOptions): string { + const options_casted = options as (DataSyncOptions) + return this.startDataLoading_serialize(options_casted) + } + private getDragBehavior(): DragBehavior { + return this.getDragBehavior_serialize() + } + private setDragBehavior(dragBehavior: DragBehavior): void { + const dragBehavior_casted = dragBehavior as (DragBehavior) + this?.setDragBehavior_serialize(dragBehavior_casted) + return + } + private getUseCustomDropAnimation(): boolean { + return this.getUseCustomDropAnimation_serialize() + } + private setUseCustomDropAnimation(useCustomDropAnimation: boolean): void { + const useCustomDropAnimation_casted = useCustomDropAnimation as (boolean) + this?.setUseCustomDropAnimation_serialize(useCustomDropAnimation_casted) + return + } + private getDisplayX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._DragEvent_getDisplayX(this.peer!.ptr) + return retval + } + private getDisplayY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._DragEvent_getDisplayY(this.peer!.ptr) + return retval + } + private getWindowX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._DragEvent_getWindowX(this.peer!.ptr) + return retval + } + private getWindowY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._DragEvent_getWindowY(this.peer!.ptr) + return retval + } + private getX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._DragEvent_getX(this.peer!.ptr) + return retval + } + private getY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._DragEvent_getY(this.peer!.ptr) + return retval + } + private setData_serialize(unifiedData: UnifiedData): void { + ArkUIGeneratedNativeModule._DragEvent_setData(this.peer!.ptr, toPeerPtr(unifiedData)) + } + private getData_serialize(): UnifiedData { + const retval = ArkUIGeneratedNativeModule._DragEvent_getData(this.peer!.ptr) + const obj: UnifiedData = UnifiedDataInternal.fromPtr(retval) + return obj + } + private getSummary_serialize(): Summary { + const retval = ArkUIGeneratedNativeModule._DragEvent_getSummary(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: Summary = retvalDeserializer.readSummary() + return returnResult + } + private setResult_serialize(dragResult: DragResult): void { + ArkUIGeneratedNativeModule._DragEvent_setResult(this.peer!.ptr, dragResult.valueOf()) + } + private getResult_serialize(): DragResult { + const retval = ArkUIGeneratedNativeModule._DragEvent_getResult(this.peer!.ptr) + return retval + } + private getPreviewRect_serialize(): Rectangle { + const retval = ArkUIGeneratedNativeModule._DragEvent_getPreviewRect(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: Rectangle = retvalDeserializer.readRectangle() + return returnResult + } + private getVelocityX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._DragEvent_getVelocityX(this.peer!.ptr) + return retval + } + private getVelocityY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._DragEvent_getVelocityY(this.peer!.ptr) + return retval + } + private getVelocity_serialize(): number { + const retval = ArkUIGeneratedNativeModule._DragEvent_getVelocity(this.peer!.ptr) + return retval + } + private getModifierKeyState_serialize(keys: Array): boolean { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(keys.length) + for (let i = 0; i < keys.length; i++) { + const keys_element: string = keys[i] + thisSerializer.writeString(keys_element) } - ArkUIGeneratedNativeModule._NavPathStack_pushPathByName0(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._DragEvent_getModifierKeyState(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } + private executeDropAnimation_serialize(customDropAnimation: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(customDropAnimation) + ArkUIGeneratedNativeModule._DragEvent_executeDropAnimation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private startDataLoading_serialize(options: DataSyncOptions): string { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeDataSyncOptions(options) + const retval = ArkUIGeneratedNativeModule._DragEvent_startDataLoading(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + return retval + } + private getDragBehavior_serialize(): DragBehavior { + const retval = ArkUIGeneratedNativeModule._DragEvent_getDragBehavior(this.peer!.ptr) + return retval + } + private setDragBehavior_serialize(dragBehavior: DragBehavior): void { + ArkUIGeneratedNativeModule._DragEvent_setDragBehavior(this.peer!.ptr, dragBehavior.valueOf()) + } + private getUseCustomDropAnimation_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._DragEvent_getUseCustomDropAnimation(this.peer!.ptr) + return retval + } + private setUseCustomDropAnimation_serialize(useCustomDropAnimation: boolean): void { + ArkUIGeneratedNativeModule._DragEvent_setUseCustomDropAnimation(this.peer!.ptr, +useCustomDropAnimation) + } + public static fromPtr(ptr: KPointer): DragEventInternal { + const obj: DragEventInternal = new DragEventInternal() + obj.peer = new Finalizable(ptr, DragEventInternal.getFinalizer()) + return obj + } +} +export interface KeyEvent { + type: KeyType + keyCode: number + keyText: string + keySource: KeySource + deviceId: number + metaKey: number + timestamp: number + stopPropagation: (() => void) + intentionCode: IntentionCode + unicode?: number | undefined + getModifierKeyState(keys: Array): boolean +} +export class KeyEventInternal implements MaterializedBase,KeyEvent { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + get type(): KeyType { + return this.getType() + } + set type(type: KeyType) { + this.setType(type) + } + get keyCode(): number { + return this.getKeyCode() + } + set keyCode(keyCode: number) { + this.setKeyCode(keyCode) + } + get keyText(): string { + return this.getKeyText() + } + set keyText(keyText: string) { + this.setKeyText(keyText) + } + get keySource(): KeySource { + return this.getKeySource() + } + set keySource(keySource: KeySource) { + this.setKeySource(keySource) + } + get deviceId(): number { + return this.getDeviceId() + } + set deviceId(deviceId: number) { + this.setDeviceId(deviceId) + } + get metaKey(): number { + return this.getMetaKey() + } + set metaKey(metaKey: number) { + this.setMetaKey(metaKey) + } + get timestamp(): number { + return this.getTimestamp() + } + set timestamp(timestamp: number) { + this.setTimestamp(timestamp) + } + get stopPropagation(): (() => void) { + throw new Error("Not implemented") + } + set stopPropagation(stopPropagation: (() => void)) { + this.setStopPropagation(stopPropagation) + } + get intentionCode(): IntentionCode { + return this.getIntentionCode() + } + set intentionCode(intentionCode: IntentionCode) { + this.setIntentionCode(intentionCode) + } + get unicode(): number | undefined { + return this.getUnicode() + } + set unicode(unicode: number | undefined) { + const unicode_NonNull = (unicode as number) + this.setUnicode(unicode_NonNull) + } + static ctor_keyevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._KeyEvent_ctor() + return retval + } + constructor() { + const ctorPtr: KPointer = KeyEventInternal.ctor_keyevent() + this.peer = new Finalizable(ctorPtr, KeyEventInternal.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._KeyEvent_getFinalizer() + } + public getModifierKeyState(keys: Array): boolean { + const keys_casted = keys as (Array) + return this.getModifierKeyState_serialize(keys_casted) + } + private getType(): KeyType { + return this.getType_serialize() + } + private setType(type: KeyType): void { + const type_casted = type as (KeyType) + this?.setType_serialize(type_casted) + return + } + private getKeyCode(): number { + return this.getKeyCode_serialize() + } + private setKeyCode(keyCode: number): void { + const keyCode_casted = keyCode as (number) + this?.setKeyCode_serialize(keyCode_casted) + return } - private pushPathByName1_serialize(name: string, param: Object, onPop: ((parameter: PopInfo) => void), animated?: boolean): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(param) - thisSerializer.holdAndWriteCallback(onPop) - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) - } - ArkUIGeneratedNativeModule._NavPathStack_pushPathByName1(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getKeyText(): string { + return this.getKeyText_serialize() } - private pushDestinationByName0_serialize(name: string, param: Object, animated?: boolean): Promise { + private setKeyText(keyText: string): void { + const keyText_casted = keyText as (string) + this?.setKeyText_serialize(keyText_casted) + return + } + private getKeySource(): KeySource { + return this.getKeySource_serialize() + } + private setKeySource(keySource: KeySource): void { + const keySource_casted = keySource as (KeySource) + this?.setKeySource_serialize(keySource_casted) + return + } + private getDeviceId(): number { + return this.getDeviceId_serialize() + } + private setDeviceId(deviceId: number): void { + const deviceId_casted = deviceId as (number) + this?.setDeviceId_serialize(deviceId_casted) + return + } + private getMetaKey(): number { + return this.getMetaKey_serialize() + } + private setMetaKey(metaKey: number): void { + const metaKey_casted = metaKey as (number) + this?.setMetaKey_serialize(metaKey_casted) + return + } + private getTimestamp(): number { + return this.getTimestamp_serialize() + } + private setTimestamp(timestamp: number): void { + const timestamp_casted = timestamp as (number) + this?.setTimestamp_serialize(timestamp_casted) + return + } + private getStopPropagation(): (() => void) { + return this.getStopPropagation_serialize() + } + private setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this?.setStopPropagation_serialize(stopPropagation_casted) + return + } + private getIntentionCode(): IntentionCode { + return this.getIntentionCode_serialize() + } + private setIntentionCode(intentionCode: IntentionCode): void { + const intentionCode_casted = intentionCode as (IntentionCode) + this?.setIntentionCode_serialize(intentionCode_casted) + return + } + private getUnicode(): number | undefined { + return this.getUnicode_serialize() + } + private setUnicode(unicode: number): void { + const unicode_casted = unicode as (number) + this?.setUnicode_serialize(unicode_casted) + return + } + private getModifierKeyState_serialize(keys: Array): boolean { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(param) - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) + thisSerializer.writeInt32(keys.length) + for (let i = 0; i < keys.length; i++) { + const keys_element: string = keys[i] + thisSerializer.writeString(keys_element) } - const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] - ArkUIGeneratedNativeModule._NavPathStack_pushDestinationByName0(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._KeyEvent_getModifierKeyState(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() return retval } - private pushDestinationByName1_serialize(name: string, param: Object, onPop: ((parameter: PopInfo) => void), animated?: boolean): Promise { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(param) - thisSerializer.holdAndWriteCallback(onPop) - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) - } - const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] - ArkUIGeneratedNativeModule._NavPathStack_pushDestinationByName1(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getType_serialize(): KeyType { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getType(this.peer!.ptr) return retval } - private replacePath0_serialize(info: NavPathInfo, animated?: boolean): void { - const thisSerializer: Serializer = Serializer.hold() - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) - } - ArkUIGeneratedNativeModule._NavPathStack_replacePath0(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private setType_serialize(type: KeyType): void { + ArkUIGeneratedNativeModule._KeyEvent_setType(this.peer!.ptr, type.valueOf()) } - private replacePath1_serialize(info: NavPathInfo, options?: NavigationOptions): void { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeNavigationOptions(options_value) - } - ArkUIGeneratedNativeModule._NavPathStack_replacePath1(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getKeyCode_serialize(): number { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getKeyCode(this.peer!.ptr) + return retval } - private replaceDestination_serialize(info: NavPathInfo, options?: NavigationOptions): Promise { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeNavigationOptions(options_value) - } - const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] - ArkUIGeneratedNativeModule._NavPathStack_replaceDestination(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private setKeyCode_serialize(keyCode: number): void { + ArkUIGeneratedNativeModule._KeyEvent_setKeyCode(this.peer!.ptr, keyCode) + } + private getKeyText_serialize(): string { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getKeyText(this.peer!.ptr) return retval } - private replacePathByName_serialize(name: string, param: Object, animated?: boolean): void { + private setKeyText_serialize(keyText: string): void { + ArkUIGeneratedNativeModule._KeyEvent_setKeyText(this.peer!.ptr, keyText) + } + private getKeySource_serialize(): KeySource { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getKeySource(this.peer!.ptr) + return retval + } + private setKeySource_serialize(keySource: KeySource): void { + ArkUIGeneratedNativeModule._KeyEvent_setKeySource(this.peer!.ptr, keySource.valueOf()) + } + private getDeviceId_serialize(): number { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getDeviceId(this.peer!.ptr) + return retval + } + private setDeviceId_serialize(deviceId: number): void { + ArkUIGeneratedNativeModule._KeyEvent_setDeviceId(this.peer!.ptr, deviceId) + } + private getMetaKey_serialize(): number { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getMetaKey(this.peer!.ptr) + return retval + } + private setMetaKey_serialize(metaKey: number): void { + ArkUIGeneratedNativeModule._KeyEvent_setMetaKey(this.peer!.ptr, metaKey) + } + private getTimestamp_serialize(): number { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getTimestamp(this.peer!.ptr) + return retval + } + private setTimestamp_serialize(timestamp: number): void { + ArkUIGeneratedNativeModule._KeyEvent_setTimestamp(this.peer!.ptr, timestamp) + } + private getStopPropagation_serialize(): (() => void) { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getStopPropagation(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setStopPropagation_serialize(stopPropagation: (() => void)): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(param) - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) - } - ArkUIGeneratedNativeModule._NavPathStack_replacePathByName(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.holdAndWriteCallback(stopPropagation) + ArkUIGeneratedNativeModule._KeyEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private removeByIndexes_serialize(indexes: Array): number { + private getIntentionCode_serialize(): IntentionCode { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getIntentionCode(this.peer!.ptr) + return retval + } + private setIntentionCode_serialize(intentionCode: IntentionCode): void { + ArkUIGeneratedNativeModule._KeyEvent_setIntentionCode(this.peer!.ptr, intentionCode.valueOf()) + } + private getUnicode_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getUnicode(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setUnicode_serialize(unicode: number): void { + ArkUIGeneratedNativeModule._KeyEvent_setUnicode(this.peer!.ptr, unicode) + } + public static fromPtr(ptr: KPointer): KeyEventInternal { + const obj: KeyEventInternal = new KeyEventInternal() + obj.peer = new Finalizable(ptr, KeyEventInternal.getFinalizer()) + return obj + } +} +export class ProgressMaskInternal { + public static fromPtr(ptr: KPointer): ProgressMask { + const obj: ProgressMask = new ProgressMask(undefined, undefined, undefined) + obj.peer = new Finalizable(ptr, ProgressMask.getFinalizer()) + return obj + } +} +export class ProgressMask implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor_progressmask(value: number, total: number, color: ResourceColor): KPointer { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(indexes.length) - for (let i = 0; i < indexes.length; i++) { - const indexes_element: number = indexes[i] - thisSerializer.writeNumber(indexes_element) + let color_type: int32 = RuntimeType.UNDEFINED + color_type = runtimeType(color) + if (((RuntimeType.NUMBER) == (color_type)) && ((unsafeCast(color)) >= (0)) && ((unsafeCast(color)) <= (11))) { + thisSerializer.writeInt8(0) + const color_0 = unsafeCast(color) + thisSerializer.writeInt32(color_0.valueOf()) + } + else if (RuntimeType.NUMBER == color_type) { + thisSerializer.writeInt8(1) + const color_1 = unsafeCast(color) + thisSerializer.writeNumber(color_1) + } + else if (RuntimeType.STRING == color_type) { + thisSerializer.writeInt8(2) + const color_2 = unsafeCast(color) + thisSerializer.writeString(color_2) } - const retval = ArkUIGeneratedNativeModule._NavPathStack_removeByIndexes(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + else if (RuntimeType.OBJECT == color_type) { + thisSerializer.writeInt8(3) + const color_3 = unsafeCast(color) + thisSerializer.writeResource(color_3) + } + const retval = ArkUIGeneratedNativeModule._ProgressMask_ctor(value, total, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() return retval } - private removeByName_serialize(name: string): number { - const retval = ArkUIGeneratedNativeModule._NavPathStack_removeByName(this.peer!.ptr, name) - return retval + constructor(value?: number, total?: number, color?: ResourceColor) { + if (((value) !== (undefined)) || ((total) !== (undefined)) || ((color) !== (undefined))) + { + const ctorPtr: KPointer = ProgressMask.ctor_progressmask((value)!, (total)!, (color)!) + this.peer = new Finalizable(ctorPtr, ProgressMask.getFinalizer()) + } } - private removeByNavDestinationId_serialize(navDestinationId: string): boolean { - const retval = ArkUIGeneratedNativeModule._NavPathStack_removeByNavDestinationId(this.peer!.ptr, navDestinationId) - return retval + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._ProgressMask_getFinalizer() } - private pop0_serialize(animated?: boolean): NavPathInfo | undefined { - const thisSerializer: Serializer = Serializer.hold() - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) - } - const retval = ArkUIGeneratedNativeModule._NavPathStack_pop0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - throw new Error("Object deserialization is not implemented.") + public updateProgress(value: number): void { + const value_casted = value as (number) + this?.updateProgress_serialize(value_casted) + return } - private pop1_serialize(result: Object, animated?: boolean): NavPathInfo | undefined { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(result) - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) - } - const retval = ArkUIGeneratedNativeModule._NavPathStack_pop1(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - throw new Error("Object deserialization is not implemented.") + public updateColor(value: ResourceColor): void { + const value_casted = value as (ResourceColor) + this?.updateColor_serialize(value_casted) + return } - private popToName0_serialize(name: string, animated?: boolean): number { - const thisSerializer: Serializer = Serializer.hold() - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) - } - const retval = ArkUIGeneratedNativeModule._NavPathStack_popToName0(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval + public enableBreathingAnimation(value: boolean): void { + const value_casted = value as (boolean) + this?.enableBreathingAnimation_serialize(value_casted) + return } - private popToName1_serialize(name: string, result: Object, animated?: boolean): number { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(result) - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) - } - const retval = ArkUIGeneratedNativeModule._NavPathStack_popToName1(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval + private updateProgress_serialize(value: number): void { + ArkUIGeneratedNativeModule._ProgressMask_updateProgress(this.peer!.ptr, value) } - private popToIndex0_serialize(index: number, animated?: boolean): void { + private updateColor_serialize(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeInt32(value_0.valueOf()) } - ArkUIGeneratedNativeModule._NavPathStack_popToIndex0(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private popToIndex1_serialize(index: number, result: Object, animated?: boolean): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(result) - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) + else if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeNumber(value_1) } - ArkUIGeneratedNativeModule._NavPathStack_popToIndex1(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private moveToTop_serialize(name: string, animated?: boolean): number { - const thisSerializer: Serializer = Serializer.hold() - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) + else if (RuntimeType.STRING == value_type) { + thisSerializer.writeInt8(2) + const value_2 = unsafeCast(value) + thisSerializer.writeString(value_2) } - const retval = ArkUIGeneratedNativeModule._NavPathStack_moveToTop(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(3) + const value_3 = unsafeCast(value) + thisSerializer.writeResource(value_3) + } + ArkUIGeneratedNativeModule._ProgressMask_updateColor(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + } + private enableBreathingAnimation_serialize(value: boolean): void { + ArkUIGeneratedNativeModule._ProgressMask_enableBreathingAnimation(this.peer!.ptr, +value) + } +} +export interface Measurable { + uniqueId?: number | undefined + measure(constraint: ConstraintSizeOptions): MeasureResult + getMargin(): DirectionalEdgesT + getPadding(): DirectionalEdgesT + getBorderWidth(): DirectionalEdgesT +} +export class MeasurableInternal implements MaterializedBase,Measurable { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + get uniqueId(): number | undefined { + return this.getUniqueId() + } + set uniqueId(uniqueId: number | undefined) { + const uniqueId_NonNull = (uniqueId as number) + this.setUniqueId(uniqueId_NonNull) + } + static ctor_measurable(): KPointer { + const retval = ArkUIGeneratedNativeModule._Measurable_ctor() return retval } - private moveIndexToTop_serialize(index: number, animated?: boolean): void { - const thisSerializer: Serializer = Serializer.hold() - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) - } - ArkUIGeneratedNativeModule._NavPathStack_moveIndexToTop(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + constructor() { + const ctorPtr: KPointer = MeasurableInternal.ctor_measurable() + this.peer = new Finalizable(ctorPtr, MeasurableInternal.getFinalizer()) } - private clear_serialize(animated?: boolean): void { + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._Measurable_getFinalizer() + } + public measure(constraint: ConstraintSizeOptions): MeasureResult { + const constraint_casted = constraint as (ConstraintSizeOptions) + return this.measure_serialize(constraint_casted) + } + public getMargin(): DirectionalEdgesT { + return this.getMargin_serialize() + } + public getPadding(): DirectionalEdgesT { + return this.getPadding_serialize() + } + public getBorderWidth(): DirectionalEdgesT { + return this.getBorderWidth_serialize() + } + private getUniqueId(): number | undefined { + return this.getUniqueId_serialize() + } + private setUniqueId(uniqueId: number): void { + const uniqueId_casted = uniqueId as (number) + this?.setUniqueId_serialize(uniqueId_casted) + return + } + private measure_serialize(constraint: ConstraintSizeOptions): MeasureResult { const thisSerializer: Serializer = Serializer.hold() - let animated_type: int32 = RuntimeType.UNDEFINED - animated_type = runtimeType(animated) - thisSerializer.writeInt8(animated_type) - if ((RuntimeType.UNDEFINED) != (animated_type)) { - const animated_value = animated! - thisSerializer.writeBoolean(animated_value) - } - ArkUIGeneratedNativeModule._NavPathStack_clear(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeConstraintSizeOptions(constraint) + const retval = ArkUIGeneratedNativeModule._Measurable_measure(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - } - private getAllPathName_serialize(): Array { - const retval = ArkUIGeneratedNativeModule._NavPathStack_getAllPathName(this.peer!.ptr) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) - for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = (retvalDeserializer.readString() as string) - } - const returnResult: Array = buffer + const returnResult: MeasureResult = retvalDeserializer.readMeasureResult() return returnResult } - private getParamByIndex_serialize(index: number): unknown | undefined { - const retval = ArkUIGeneratedNativeModule._NavPathStack_getParamByIndex(this.peer!.ptr, index) - throw new Error("Object deserialization is not implemented.") + private getMargin_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Measurable_getMargin(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() + return returnResult } - private getParamByName_serialize(name: string): Array { - const retval = ArkUIGeneratedNativeModule._NavPathStack_getParamByName(this.peer!.ptr, name) + private getPadding_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Measurable_getPadding(this.peer!.ptr) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) - for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = (retvalDeserializer.readObject() as any) - } - const returnResult: Array = buffer + const returnResult: DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() return returnResult } - private getIndexByName_serialize(name: string): Array { - const retval = ArkUIGeneratedNativeModule._NavPathStack_getIndexByName(this.peer!.ptr, name) + private getBorderWidth_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Measurable_getBorderWidth(this.peer!.ptr) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) - for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = (retvalDeserializer.readNumber() as number) - } - const returnResult: Array = buffer + const returnResult: DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() return returnResult } - private getParent_serialize(): NavPathStack | undefined { - const retval = ArkUIGeneratedNativeModule._NavPathStack_getParent(this.peer!.ptr) + private getUniqueId_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._Measurable_getUniqueId(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private size_serialize(): number { - const retval = ArkUIGeneratedNativeModule._NavPathStack_size(this.peer!.ptr) - return retval - } - private disableAnimation_serialize(value: boolean): void { - ArkUIGeneratedNativeModule._NavPathStack_disableAnimation(this.peer!.ptr, +value) + private setUniqueId_serialize(uniqueId: number): void { + ArkUIGeneratedNativeModule._Measurable_setUniqueId(this.peer!.ptr, uniqueId) } - private setInterception_serialize(interception: NavigationInterception): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeNavigationInterception(interception) - ArkUIGeneratedNativeModule._NavPathStack_setInterception(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + public static fromPtr(ptr: KPointer): MeasurableInternal { + const obj: MeasurableInternal = new MeasurableInternal() + obj.peer = new Finalizable(ptr, MeasurableInternal.getFinalizer()) + return obj } } -export interface NavigationTransitionProxy { - from: NavContentInfo - to: NavContentInfo - isInteractive?: boolean | undefined - finishTransition(): void - cancelTransition(): void - updateTransition(progress: number): void +export class ViewInternal { + public static fromPtr(ptr: KPointer): View { + const obj: View = new View() + obj.peer = new Finalizable(ptr, View.getFinalizer()) + return obj + } } -export class NavigationTransitionProxyInternal implements MaterializedBase,NavigationTransitionProxy { +export class View implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get from(): NavContentInfo { - throw new Error("Not implemented") + static ctor_view(): KPointer { + const retval = ArkUIGeneratedNativeModule._View_ctor() + return retval } - set from(from: NavContentInfo) { - this.setFrom(from) + constructor() { + const ctorPtr: KPointer = View.ctor_view() + this.peer = new Finalizable(ctorPtr, View.getFinalizer()) } - get to(): NavContentInfo { - throw new Error("Not implemented") + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._View_getFinalizer() } - set to(to: NavContentInfo) { - this.setTo(to) + public create(value: KPointer): KPointer { + const value_casted = value as (KPointer) + return this.create_serialize(value_casted) } - get isInteractive(): boolean | undefined { - return this.getIsInteractive() + private create_serialize(value: KPointer): KPointer { + const retval = ArkUIGeneratedNativeModule._View_create(this.peer!.ptr, value) + return retval } - set isInteractive(isInteractive: boolean | undefined) { - const isInteractive_NonNull = (isInteractive as boolean) - this.setIsInteractive(isInteractive_NonNull) +} +export class TextContentControllerBaseInternal { + public static fromPtr(ptr: KPointer): TextContentControllerBase { + const obj: TextContentControllerBase = new TextContentControllerBase() + obj.peer = new Finalizable(ptr, TextContentControllerBase.getFinalizer()) + return obj } - static ctor_navigationtransitionproxy(): KPointer { - const retval = ArkUIGeneratedNativeModule._NavigationTransitionProxy_ctor() +} +export class TextContentControllerBase implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor_textcontentcontrollerbase(): KPointer { + const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_ctor() return retval } constructor() { - const ctorPtr: KPointer = NavigationTransitionProxyInternal.ctor_navigationtransitionproxy() - this.peer = new Finalizable(ctorPtr, NavigationTransitionProxyInternal.getFinalizer()) + const ctorPtr: KPointer = TextContentControllerBase.ctor_textcontentcontrollerbase() + this.peer = new Finalizable(ctorPtr, TextContentControllerBase.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._NavigationTransitionProxy_getFinalizer() - } - public finishTransition(): void { - this?.finishTransition_serialize() - return - } - public cancelTransition(): void { - this?.cancelTransition_serialize() - return + return ArkUIGeneratedNativeModule._TextContentControllerBase_getFinalizer() } - public updateTransition(progress: number): void { - const progress_casted = progress as (number) - this?.updateTransition_serialize(progress_casted) - return + public getCaretOffset(): CaretOffset { + return this.getCaretOffset_serialize() } - private getFrom(): NavContentInfo { - return this.getFrom_serialize() + public getTextContentRect(): RectResult { + return this.getTextContentRect_serialize() } - private setFrom(from: NavContentInfo): void { - const from_casted = from as (NavContentInfo) - this?.setFrom_serialize(from_casted) - return + public getTextContentLineCount(): number { + return this.getTextContentLineCount_serialize() } - private getTo(): NavContentInfo { - return this.getTo_serialize() + public addText(text: string, textOperationOptions?: TextContentControllerOptions): number { + const text_casted = text as (string) + const textOperationOptions_casted = textOperationOptions as (TextContentControllerOptions | undefined) + return this.addText_serialize(text_casted, textOperationOptions_casted) } - private setTo(to: NavContentInfo): void { - const to_casted = to as (NavContentInfo) - this?.setTo_serialize(to_casted) + public deleteText(range?: TextRange): void { + const range_casted = range as (TextRange | undefined) + this?.deleteText_serialize(range_casted) return } - private getIsInteractive(): boolean | undefined { - return this.getIsInteractive_serialize() + public getSelection(): TextRange { + return this.getSelection_serialize() } - private setIsInteractive(isInteractive: boolean): void { - const isInteractive_casted = isInteractive as (boolean) - this?.setIsInteractive_serialize(isInteractive_casted) + public clearPreviewText(): void { + this?.clearPreviewText_serialize() return } - private finishTransition_serialize(): void { - ArkUIGeneratedNativeModule._NavigationTransitionProxy_finishTransition(this.peer!.ptr) - } - private cancelTransition_serialize(): void { - ArkUIGeneratedNativeModule._NavigationTransitionProxy_cancelTransition(this.peer!.ptr) + public getText(range?: TextRange): string { + const range_casted = range as (TextRange | undefined) + return this.getText_serialize(range_casted) } - private updateTransition_serialize(progress: number): void { - ArkUIGeneratedNativeModule._NavigationTransitionProxy_updateTransition(this.peer!.ptr, progress) + private getCaretOffset_serialize(): CaretOffset { + const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_getCaretOffset(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: CaretOffset = retvalDeserializer.readCaretOffset() + return returnResult } - private getFrom_serialize(): NavContentInfo { - const retval = ArkUIGeneratedNativeModule._NavigationTransitionProxy_getFrom(this.peer!.ptr) + private getTextContentRect_serialize(): RectResult { + const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_getTextContentRect(this.peer!.ptr) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: NavContentInfo = retvalDeserializer.readNavContentInfo() + const returnResult: RectResult = retvalDeserializer.readRectResult() return returnResult } - private setFrom_serialize(from: NavContentInfo): void { + private getTextContentLineCount_serialize(): number { + const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_getTextContentLineCount(this.peer!.ptr) + return retval + } + private addText_serialize(text: string, textOperationOptions?: TextContentControllerOptions): number { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeNavContentInfo(from) - ArkUIGeneratedNativeModule._NavigationTransitionProxy_setFrom(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + let textOperationOptions_type: int32 = RuntimeType.UNDEFINED + textOperationOptions_type = runtimeType(textOperationOptions) + thisSerializer.writeInt8(textOperationOptions_type) + if ((RuntimeType.UNDEFINED) != (textOperationOptions_type)) { + const textOperationOptions_value = textOperationOptions! + thisSerializer.writeTextContentControllerOptions(textOperationOptions_value) + } + const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_addText(this.peer!.ptr, text, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + return retval } - private getTo_serialize(): NavContentInfo { - const retval = ArkUIGeneratedNativeModule._NavigationTransitionProxy_getTo(this.peer!.ptr) + private deleteText_serialize(range?: TextRange): void { + const thisSerializer: Serializer = Serializer.hold() + let range_type: int32 = RuntimeType.UNDEFINED + range_type = runtimeType(range) + thisSerializer.writeInt8(range_type) + if ((RuntimeType.UNDEFINED) != (range_type)) { + const range_value = range! + thisSerializer.writeTextRange(range_value) + } + ArkUIGeneratedNativeModule._TextContentControllerBase_deleteText(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private getSelection_serialize(): TextRange { + const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_getSelection(this.peer!.ptr) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: NavContentInfo = retvalDeserializer.readNavContentInfo() + const returnResult: TextRange = retvalDeserializer.readTextRange() return returnResult } - private setTo_serialize(to: NavContentInfo): void { + private clearPreviewText_serialize(): void { + ArkUIGeneratedNativeModule._TextContentControllerBase_clearPreviewText(this.peer!.ptr) + } + private getText_serialize(range?: TextRange): string { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeNavContentInfo(to) - ArkUIGeneratedNativeModule._NavigationTransitionProxy_setTo(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + let range_type: int32 = RuntimeType.UNDEFINED + range_type = runtimeType(range) + thisSerializer.writeInt8(range_type) + if ((RuntimeType.UNDEFINED) != (range_type)) { + const range_value = range! + thisSerializer.writeTextRange(range_value) + } + const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_getText(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + return retval } - private getIsInteractive_serialize(): boolean | undefined { - const retval = ArkUIGeneratedNativeModule._NavigationTransitionProxy_getIsInteractive(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") - } - private setIsInteractive_serialize(isInteractive: boolean): void { - ArkUIGeneratedNativeModule._NavigationTransitionProxy_setIsInteractive(this.peer!.ptr, +isInteractive) - } - public static fromPtr(ptr: KPointer): NavigationTransitionProxyInternal { - const obj: NavigationTransitionProxyInternal = new NavigationTransitionProxyInternal() - obj.peer = new Finalizable(ptr, NavigationTransitionProxyInternal.getFinalizer()) +} +export class ChildrenMainSizeInternal { + public static fromPtr(ptr: KPointer): ChildrenMainSize { + const obj: ChildrenMainSize = new ChildrenMainSize(undefined) + obj.peer = new Finalizable(ptr, ChildrenMainSize.getFinalizer()) return obj } } -export interface ICurve { - interpolate(fraction: number): number -} -export class ICurveInternal implements MaterializedBase,ICurve { +export class ChildrenMainSize implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_icurve(): KPointer { - const retval = ArkUIGeneratedNativeModule._ICurve_ctor() + get childDefaultSize(): number { + return this.getChildDefaultSize() + } + set childDefaultSize(childDefaultSize: number) { + this.setChildDefaultSize(childDefaultSize) + } + static ctor_childrenmainsize(childDefaultSize: number): KPointer { + const retval = ArkUIGeneratedNativeModule._ChildrenMainSize_ctor(childDefaultSize) return retval } - constructor() { - const ctorPtr: KPointer = ICurveInternal.ctor_icurve() - this.peer = new Finalizable(ctorPtr, ICurveInternal.getFinalizer()) + constructor(childDefaultSize?: number) { + if ((childDefaultSize) !== (undefined)) + { + const ctorPtr: KPointer = ChildrenMainSize.ctor_childrenmainsize((childDefaultSize)!) + this.peer = new Finalizable(ctorPtr, ChildrenMainSize.getFinalizer()) + } } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ICurve_getFinalizer() + return ArkUIGeneratedNativeModule._ChildrenMainSize_getFinalizer() } - public interpolate(fraction: number): number { - const fraction_casted = fraction as (number) - return this.interpolate_serialize(fraction_casted) + public splice(start: number, deleteCount?: number, childrenSize?: Array): void { + const start_casted = start as (number) + const deleteCount_casted = deleteCount as (number | undefined) + const childrenSize_casted = childrenSize as (Array | undefined) + this?.splice_serialize(start_casted, deleteCount_casted, childrenSize_casted) + return } - private interpolate_serialize(fraction: number): number { - const retval = ArkUIGeneratedNativeModule._ICurve_interpolate(this.peer!.ptr, fraction) + public update(index: number, childSize: number): void { + const index_casted = index as (number) + const childSize_casted = childSize as (number) + this?.update_serialize(index_casted, childSize_casted) + return + } + private getChildDefaultSize(): number { + return this.getChildDefaultSize_serialize() + } + private setChildDefaultSize(childDefaultSize: number): void { + const childDefaultSize_casted = childDefaultSize as (number) + this?.setChildDefaultSize_serialize(childDefaultSize_casted) + return + } + private splice_serialize(start: number, deleteCount?: number, childrenSize?: Array): void { + const thisSerializer: Serializer = Serializer.hold() + let deleteCount_type: int32 = RuntimeType.UNDEFINED + deleteCount_type = runtimeType(deleteCount) + thisSerializer.writeInt8(deleteCount_type) + if ((RuntimeType.UNDEFINED) != (deleteCount_type)) { + const deleteCount_value = deleteCount! + thisSerializer.writeNumber(deleteCount_value) + } + let childrenSize_type: int32 = RuntimeType.UNDEFINED + childrenSize_type = runtimeType(childrenSize) + thisSerializer.writeInt8(childrenSize_type) + if ((RuntimeType.UNDEFINED) != (childrenSize_type)) { + const childrenSize_value = childrenSize! + thisSerializer.writeInt32(childrenSize_value.length) + for (let i = 0; i < childrenSize_value.length; i++) { + const childrenSize_value_element: number = childrenSize_value[i] + thisSerializer.writeNumber(childrenSize_value_element) + } + } + ArkUIGeneratedNativeModule._ChildrenMainSize_splice(this.peer!.ptr, start, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private update_serialize(index: number, childSize: number): void { + ArkUIGeneratedNativeModule._ChildrenMainSize_update(this.peer!.ptr, index, childSize) + } + private getChildDefaultSize_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ChildrenMainSize_getChildDefaultSize(this.peer!.ptr) return retval } - public static fromPtr(ptr: KPointer): ICurveInternal { - const obj: ICurveInternal = new ICurveInternal() - obj.peer = new Finalizable(ptr, ICurveInternal.getFinalizer()) - return obj + private setChildDefaultSize_serialize(childDefaultSize: number): void { + ArkUIGeneratedNativeModule._ChildrenMainSize_setChildDefaultSize(this.peer!.ptr, childDefaultSize) } } -export class DrawModifierInternal { - public static fromPtr(ptr: KPointer): DrawModifier { - const obj: DrawModifier = new DrawModifier() - obj.peer = new Finalizable(ptr, DrawModifier.getFinalizer()) - return obj - } +export interface UICommonEvent { + setOnClick(callback_: ((event: ClickEvent) => void) | undefined): void + setOnTouch(callback_: ((event: TouchEvent) => void) | undefined): void + setOnAppear(callback_: (() => void) | undefined): void + setOnDisappear(callback_: (() => void) | undefined): void + setOnKeyEvent(callback_: ((event: KeyEvent) => void) | undefined): void + setOnFocus(callback_: (() => void) | undefined): void + setOnBlur(callback_: (() => void) | undefined): void + setOnHover(callback_: HoverCallback | undefined): void + setOnMouse(callback_: ((event: MouseEvent) => void) | undefined): void + setOnSizeChange(callback_: SizeChangeCallback | undefined): void + setOnVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void } -export class DrawModifier implements MaterializedBase { +export class UICommonEventInternal implements MaterializedBase,UICommonEvent { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_drawmodifier(): KPointer { - const retval = ArkUIGeneratedNativeModule._DrawModifier_ctor() + static ctor_uicommonevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._UICommonEvent_ctor() return retval } constructor() { - const ctorPtr: KPointer = DrawModifier.ctor_drawmodifier() - this.peer = new Finalizable(ctorPtr, DrawModifier.getFinalizer()) + const ctorPtr: KPointer = UICommonEventInternal.ctor_uicommonevent() + this.peer = new Finalizable(ctorPtr, UICommonEventInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._DrawModifier_getFinalizer() + return ArkUIGeneratedNativeModule._UICommonEvent_getFinalizer() } - public drawBehind(drawContext: DrawContext): void { - const drawContext_casted = drawContext as (DrawContext) - this?.drawBehind_serialize(drawContext_casted) + public setOnClick(callback_: ((event: ClickEvent) => void) | undefined): void { + const callback__casted = callback_ as (((event: ClickEvent) => void) | undefined) + this?.setOnClick_serialize(callback__casted) return } - public drawContent(drawContext: DrawContext): void { - const drawContext_casted = drawContext as (DrawContext) - this?.drawContent_serialize(drawContext_casted) + public setOnTouch(callback_: ((event: TouchEvent) => void) | undefined): void { + const callback__casted = callback_ as (((event: TouchEvent) => void) | undefined) + this?.setOnTouch_serialize(callback__casted) return } - public drawFront(drawContext: DrawContext): void { - const drawContext_casted = drawContext as (DrawContext) - this?.drawFront_serialize(drawContext_casted) + public setOnAppear(callback_: (() => void) | undefined): void { + const callback__casted = callback_ as ((() => void) | undefined) + this?.setOnAppear_serialize(callback__casted) return } - public invalidate(): void { - this?.invalidate_serialize() + public setOnDisappear(callback_: (() => void) | undefined): void { + const callback__casted = callback_ as ((() => void) | undefined) + this?.setOnDisappear_serialize(callback__casted) return } - private drawBehind_serialize(drawContext: DrawContext): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeDrawContext(drawContext) - ArkUIGeneratedNativeModule._DrawModifier_drawBehind(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private drawContent_serialize(drawContext: DrawContext): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeDrawContext(drawContext) - ArkUIGeneratedNativeModule._DrawModifier_drawContent(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private drawFront_serialize(drawContext: DrawContext): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeDrawContext(drawContext) - ArkUIGeneratedNativeModule._DrawModifier_drawFront(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private invalidate_serialize(): void { - ArkUIGeneratedNativeModule._DrawModifier_invalidate(this.peer!.ptr) + public setOnKeyEvent(callback_: ((event: KeyEvent) => void) | undefined): void { + const callback__casted = callback_ as (((event: KeyEvent) => void) | undefined) + this?.setOnKeyEvent_serialize(callback__casted) + return } -} -export class TransitionEffectInternal { - public static fromPtr(ptr: KPointer): TransitionEffect { - const obj: TransitionEffect = new TransitionEffect(undefined, undefined) - obj.peer = new Finalizable(ptr, TransitionEffect.getFinalizer()) - return obj + public setOnFocus(callback_: (() => void) | undefined): void { + const callback__casted = callback_ as ((() => void) | undefined) + this?.setOnFocus_serialize(callback__casted) + return } -} -export class TransitionEffect implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + public setOnBlur(callback_: (() => void) | undefined): void { + const callback__casted = callback_ as ((() => void) | undefined) + this?.setOnBlur_serialize(callback__casted) + return } - static get IDENTITY(): TransitionEffect { - return TransitionEffect.getIDENTITY() + public setOnHover(callback_: HoverCallback | undefined): void { + const callback__casted = callback_ as (HoverCallback | undefined) + this?.setOnHover_serialize(callback__casted) + return } - static get OPACITY(): TransitionEffect { - return TransitionEffect.getOPACITY() + public setOnMouse(callback_: ((event: MouseEvent) => void) | undefined): void { + const callback__casted = callback_ as (((event: MouseEvent) => void) | undefined) + this?.setOnMouse_serialize(callback__casted) + return } - static get SLIDE(): TransitionEffect { - return TransitionEffect.getSLIDE() + public setOnSizeChange(callback_: SizeChangeCallback | undefined): void { + const callback__casted = callback_ as (SizeChangeCallback | undefined) + this?.setOnSizeChange_serialize(callback__casted) + return } - static get SLIDE_SWITCH(): TransitionEffect { - return TransitionEffect.getSLIDE_SWITCH() + public setOnVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void { + const options_casted = options as (VisibleAreaEventOptions) + const event_casted = event as (VisibleAreaChangeCallback | undefined) + this?.setOnVisibleAreaApproximateChange_serialize(options_casted, event_casted) + return } - static ctor_transitioneffect(type: string, effect: TransitionEffects): KPointer { + private setOnClick_serialize(callback_: ((event: ClickEvent) => void) | undefined): void { const thisSerializer: Serializer = Serializer.hold() - const effect_identity = effect.identity - const effect_opacity = effect.opacity - thisSerializer.writeNumber(effect_opacity) - const effect_slideSwitch = effect.slideSwitch - const effect_move = effect.move - thisSerializer.writeInt32(effect_move.valueOf()) - const effect_translate = effect.translate - thisSerializer.writeTranslateOptions(effect_translate) - const effect_rotate = effect.rotate - thisSerializer.writeRotateOptions(effect_rotate) - const effect_scale = effect.scale - thisSerializer.writeScaleOptions(effect_scale) - const effect_asymmetric = effect.asymmetric - const effect_asymmetric_appear = effect_asymmetric.appear - thisSerializer.writeTransitionEffect(effect_asymmetric_appear) - const effect_asymmetric_disappear = effect_asymmetric.disappear - thisSerializer.writeTransitionEffect(effect_asymmetric_disappear) - const retval = ArkUIGeneratedNativeModule._TransitionEffect_ctor(type, thisSerializer.asBuffer(), thisSerializer.length()) + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnClick(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - return retval } - constructor(type?: string, effect?: TransitionEffects) { - if (((type) !== (undefined)) || ((effect) !== (undefined))) - { - const ctorPtr: KPointer = TransitionEffect.ctor_transitioneffect((type)!, (effect)!) - this.peer = new Finalizable(ctorPtr, TransitionEffect.getFinalizer()) + private setOnTouch_serialize(callback_: ((event: TouchEvent) => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) } + ArkUIGeneratedNativeModule._UICommonEvent_setOnTouch(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TransitionEffect_getFinalizer() - } - public static translate(options: TranslateOptions): TransitionEffect { - const options_casted = options as (TranslateOptions) - return TransitionEffect.translate_serialize(options_casted) - } - public static rotate(options: RotateOptions): TransitionEffect { - const options_casted = options as (RotateOptions) - return TransitionEffect.rotate_serialize(options_casted) - } - public static scale(options: ScaleOptions): TransitionEffect { - const options_casted = options as (ScaleOptions) - return TransitionEffect.scale_serialize(options_casted) - } - public static opacity(alpha: number): TransitionEffect { - const alpha_casted = alpha as (number) - return TransitionEffect.opacity_serialize(alpha_casted) - } - public static move(edge: TransitionEdge): TransitionEffect { - const edge_casted = edge as (TransitionEdge) - return TransitionEffect.move_serialize(edge_casted) - } - public static asymmetric(appear: TransitionEffect, disappear: TransitionEffect): TransitionEffect { - const appear_casted = appear as (TransitionEffect) - const disappear_casted = disappear as (TransitionEffect) - return TransitionEffect.asymmetric_serialize(appear_casted, disappear_casted) - } - public animation(value: AnimateParam): TransitionEffect { - const value_casted = value as (AnimateParam) - return this.animation_serialize(value_casted) - } - public combine(transitionEffect: TransitionEffect): TransitionEffect { - const transitionEffect_casted = transitionEffect as (TransitionEffect) - return this.combine_serialize(transitionEffect_casted) + private setOnAppear_serialize(callback_: (() => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnAppear(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private static getIDENTITY(): TransitionEffect { - return TransitionEffect.getIDENTITY_serialize() + private setOnDisappear_serialize(callback_: (() => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnDisappear(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private static getOPACITY(): TransitionEffect { - return TransitionEffect.getOPACITY_serialize() + private setOnKeyEvent_serialize(callback_: ((event: KeyEvent) => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnKeyEvent(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private static getSLIDE(): TransitionEffect { - return TransitionEffect.getSLIDE_serialize() + private setOnFocus_serialize(callback_: (() => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnFocus(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private static getSLIDE_SWITCH(): TransitionEffect { - return TransitionEffect.getSLIDE_SWITCH_serialize() + private setOnBlur_serialize(callback_: (() => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnBlur(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private static translate_serialize(options: TranslateOptions): TransitionEffect { + private setOnHover_serialize(callback_: HoverCallback | undefined): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeTranslateOptions(options) - const retval = ArkUIGeneratedNativeModule._TransitionEffect_translate(thisSerializer.asBuffer(), thisSerializer.length()) + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnHover(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) - return obj } - private static rotate_serialize(options: RotateOptions): TransitionEffect { + private setOnMouse_serialize(callback_: ((event: MouseEvent) => void) | undefined): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeRotateOptions(options) - const retval = ArkUIGeneratedNativeModule._TransitionEffect_rotate(thisSerializer.asBuffer(), thisSerializer.length()) + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnMouse(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) - return obj } - private static scale_serialize(options: ScaleOptions): TransitionEffect { + private setOnSizeChange_serialize(callback_: SizeChangeCallback | undefined): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeScaleOptions(options) - const retval = ArkUIGeneratedNativeModule._TransitionEffect_scale(thisSerializer.asBuffer(), thisSerializer.length()) + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnSizeChange(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) - return obj - } - private static opacity_serialize(alpha: number): TransitionEffect { - const retval = ArkUIGeneratedNativeModule._TransitionEffect_opacity(alpha) - const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) - return obj - } - private static move_serialize(edge: TransitionEdge): TransitionEffect { - const retval = ArkUIGeneratedNativeModule._TransitionEffect_move(edge.valueOf()) - const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) - return obj - } - private static asymmetric_serialize(appear: TransitionEffect, disappear: TransitionEffect): TransitionEffect { - const retval = ArkUIGeneratedNativeModule._TransitionEffect_asymmetric(toPeerPtr(appear), toPeerPtr(disappear)) - const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) - return obj } - private animation_serialize(value: AnimateParam): TransitionEffect { + private setOnVisibleAreaApproximateChange_serialize(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeAnimateParam(value) - const retval = ArkUIGeneratedNativeModule._TransitionEffect_animation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeVisibleAreaEventOptions(options) + let event_type: int32 = RuntimeType.UNDEFINED + event_type = runtimeType(event) + thisSerializer.writeInt8(event_type) + if ((RuntimeType.UNDEFINED) != (event_type)) { + const event_value = event! + thisSerializer.holdAndWriteCallback(event_value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnVisibleAreaApproximateChange(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) - return obj - } - private combine_serialize(transitionEffect: TransitionEffect): TransitionEffect { - const retval = ArkUIGeneratedNativeModule._TransitionEffect_combine(this.peer!.ptr, toPeerPtr(transitionEffect)) - const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) - return obj - } - private static getIDENTITY_serialize(): TransitionEffect { - const retval = ArkUIGeneratedNativeModule._TransitionEffect_getIDENTITY() - const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) - return obj - } - private static getOPACITY_serialize(): TransitionEffect { - const retval = ArkUIGeneratedNativeModule._TransitionEffect_getOPACITY() - const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) - return obj - } - private static getSLIDE_serialize(): TransitionEffect { - const retval = ArkUIGeneratedNativeModule._TransitionEffect_getSLIDE() - const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) - return obj } - private static getSLIDE_SWITCH_serialize(): TransitionEffect { - const retval = ArkUIGeneratedNativeModule._TransitionEffect_getSLIDE_SWITCH() - const obj: TransitionEffect = TransitionEffectInternal.fromPtr(retval) + public static fromPtr(ptr: KPointer): UICommonEventInternal { + const obj: UICommonEventInternal = new UICommonEventInternal() + obj.peer = new Finalizable(ptr, UICommonEventInternal.getFinalizer()) return obj } } -export interface BaseEvent { - target: EventTarget - timestamp: number - source: SourceType - axisHorizontal?: number | undefined - axisVertical?: number | undefined - pressure: number - tiltX: number - tiltY: number - sourceTool: SourceTool - deviceId?: number | undefined - getModifierKeyState(keys: Array): boolean +export interface GestureModifier { + applyGesture(event: UIGestureEvent): void } -export class BaseEventInternal implements MaterializedBase,BaseEvent { +export class GestureModifierInternal implements MaterializedBase,GestureModifier { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get target(): EventTarget { - throw new Error("Not implemented") - } - set target(target: EventTarget) { - this.setTarget(target) - } - get timestamp(): number { - return this.getTimestamp() - } - set timestamp(timestamp: number) { - this.setTimestamp(timestamp) - } - get source(): SourceType { - return this.getSource() - } - set source(source: SourceType) { - this.setSource(source) - } - get axisHorizontal(): number | undefined { - return this.getAxisHorizontal() - } - set axisHorizontal(axisHorizontal: number | undefined) { - const axisHorizontal_NonNull = (axisHorizontal as number) - this.setAxisHorizontal(axisHorizontal_NonNull) - } - get axisVertical(): number | undefined { - return this.getAxisVertical() - } - set axisVertical(axisVertical: number | undefined) { - const axisVertical_NonNull = (axisVertical as number) - this.setAxisVertical(axisVertical_NonNull) - } - get pressure(): number { - return this.getPressure() - } - set pressure(pressure: number) { - this.setPressure(pressure) + static ctor_gesturemodifier(): KPointer { + const retval = ArkUIGeneratedNativeModule._GestureModifier_ctor() + return retval } - get tiltX(): number { - return this.getTiltX() + constructor() { + const ctorPtr: KPointer = GestureModifierInternal.ctor_gesturemodifier() + this.peer = new Finalizable(ctorPtr, GestureModifierInternal.getFinalizer()) } - set tiltX(tiltX: number) { - this.setTiltX(tiltX) + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._GestureModifier_getFinalizer() } - get tiltY(): number { - return this.getTiltY() + public applyGesture(event: UIGestureEvent): void { + const event_casted = event as (UIGestureEvent) + this?.applyGesture_serialize(event_casted) + return } - set tiltY(tiltY: number) { - this.setTiltY(tiltY) + private applyGesture_serialize(event: UIGestureEvent): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeUIGestureEvent(event) + ArkUIGeneratedNativeModule._GestureModifier_applyGesture(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - get sourceTool(): SourceTool { - return this.getSourceTool() + public static fromPtr(ptr: KPointer): GestureModifierInternal { + const obj: GestureModifierInternal = new GestureModifierInternal() + obj.peer = new Finalizable(ptr, GestureModifierInternal.getFinalizer()) + return obj } - set sourceTool(sourceTool: SourceTool) { - this.setSourceTool(sourceTool) +} +export class NavPathInfoInternal { + public static fromPtr(ptr: KPointer): NavPathInfo { + const obj: NavPathInfo = new NavPathInfo(undefined, undefined, undefined, undefined) + obj.peer = new Finalizable(ptr, NavPathInfo.getFinalizer()) + return obj } - get deviceId(): number | undefined { - return this.getDeviceId() +} +export class NavPathInfo implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - set deviceId(deviceId: number | undefined) { - const deviceId_NonNull = (deviceId as number) - this.setDeviceId(deviceId_NonNull) + get name(): string { + return this.getName() } - static ctor_baseevent(): KPointer { - const retval = ArkUIGeneratedNativeModule._BaseEvent_ctor() - return retval + set name(name: string) { + this.setName(name) } - constructor() { - const ctorPtr: KPointer = BaseEventInternal.ctor_baseevent() - this.peer = new Finalizable(ctorPtr, BaseEventInternal.getFinalizer()) + get param(): Object | undefined { + throw new Error("Not implemented") } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._BaseEvent_getFinalizer() + set param(param: Object | undefined) { + const param_NonNull = (param as Object | undefined) + this.setParam(param_NonNull) } - public getModifierKeyState(keys: Array): boolean { - const keys_casted = keys as (Array) - return this.getModifierKeyState_serialize(keys_casted) + get onPop(): ((parameter: PopInfo) => void) | undefined { + throw new Error("Not implemented") } - private getTarget(): EventTarget { - return this.getTarget_serialize() + set onPop(onPop: ((parameter: PopInfo) => void) | undefined) { + const onPop_NonNull = (onPop as ((parameter: PopInfo) => void)) + this.setOnPop(onPop_NonNull) } - private setTarget(target: EventTarget): void { - const target_casted = target as (EventTarget) - this?.setTarget_serialize(target_casted) - return + get isEntry(): boolean | undefined { + return this.getIsEntry() } - private getTimestamp(): number { - return this.getTimestamp_serialize() + set isEntry(isEntry: boolean | undefined) { + const isEntry_NonNull = (isEntry as boolean) + this.setIsEntry(isEntry_NonNull) } - private setTimestamp(timestamp: number): void { - const timestamp_casted = timestamp as (number) - this?.setTimestamp_serialize(timestamp_casted) - return + get navDestinationId(): string | undefined { + return this.getNavDestinationId() } - private getSource(): SourceType { - return this.getSource_serialize() + set navDestinationId(navDestinationId: string | undefined) { + const navDestinationId_NonNull = (navDestinationId as string) + this.setNavDestinationId(navDestinationId_NonNull) } - private setSource(source: SourceType): void { - const source_casted = source as (SourceType) - this?.setSource_serialize(source_casted) - return + static ctor_navpathinfo(name: string, param: unknown, onPop?: ((parameter: PopInfo) => void), isEntry?: boolean): KPointer { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteObject(param) + let onPop_type: int32 = RuntimeType.UNDEFINED + onPop_type = runtimeType(onPop) + thisSerializer.writeInt8(onPop_type) + if ((RuntimeType.UNDEFINED) != (onPop_type)) { + const onPop_value = onPop! + thisSerializer.holdAndWriteCallback(onPop_value) + } + let isEntry_type: int32 = RuntimeType.UNDEFINED + isEntry_type = runtimeType(isEntry) + thisSerializer.writeInt8(isEntry_type) + if ((RuntimeType.UNDEFINED) != (isEntry_type)) { + const isEntry_value = isEntry! + thisSerializer.writeBoolean(isEntry_value) + } + const retval = ArkUIGeneratedNativeModule._NavPathInfo_ctor(name, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval } - private getAxisHorizontal(): number | undefined { - return this.getAxisHorizontal_serialize() + constructor(name?: string, param?: unknown, onPop?: ((parameter: PopInfo) => void), isEntry?: boolean) { + if (((name) !== (undefined)) || ((param) !== (undefined)) || ((onPop) !== (undefined)) || ((isEntry) !== (undefined))) + { + const ctorPtr: KPointer = NavPathInfo.ctor_navpathinfo((name)!, (param)!, onPop, isEntry) + this.peer = new Finalizable(ctorPtr, NavPathInfo.getFinalizer()) + } } - private setAxisHorizontal(axisHorizontal: number): void { - const axisHorizontal_casted = axisHorizontal as (number) - this?.setAxisHorizontal_serialize(axisHorizontal_casted) - return + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._NavPathInfo_getFinalizer() } - private getAxisVertical(): number | undefined { - return this.getAxisVertical_serialize() + private getName(): string { + return this.getName_serialize() } - private setAxisVertical(axisVertical: number): void { - const axisVertical_casted = axisVertical as (number) - this?.setAxisVertical_serialize(axisVertical_casted) + private setName(name: string): void { + const name_casted = name as (string) + this?.setName_serialize(name_casted) return } - private getPressure(): number { - return this.getPressure_serialize() + private getParam(): Object | undefined { + return this.getParam_serialize() } - private setPressure(pressure: number): void { - const pressure_casted = pressure as (number) - this?.setPressure_serialize(pressure_casted) + private setParam(param: Object | undefined): void { + const param_casted = param as (Object | undefined) + this?.setParam_serialize(param_casted) return } - private getTiltX(): number { - return this.getTiltX_serialize() + private getOnPop(): ((parameter: PopInfo) => void) | undefined { + return this.getOnPop_serialize() } - private setTiltX(tiltX: number): void { - const tiltX_casted = tiltX as (number) - this?.setTiltX_serialize(tiltX_casted) + private setOnPop(onPop: ((parameter: PopInfo) => void)): void { + const onPop_casted = onPop as (((parameter: PopInfo) => void)) + this?.setOnPop_serialize(onPop_casted) return } - private getTiltY(): number { - return this.getTiltY_serialize() + private getIsEntry(): boolean | undefined { + return this.getIsEntry_serialize() } - private setTiltY(tiltY: number): void { - const tiltY_casted = tiltY as (number) - this?.setTiltY_serialize(tiltY_casted) + private setIsEntry(isEntry: boolean): void { + const isEntry_casted = isEntry as (boolean) + this?.setIsEntry_serialize(isEntry_casted) return } - private getSourceTool(): SourceTool { - return this.getSourceTool_serialize() + private getNavDestinationId(): string | undefined { + return this.getNavDestinationId_serialize() } - private setSourceTool(sourceTool: SourceTool): void { - const sourceTool_casted = sourceTool as (SourceTool) - this?.setSourceTool_serialize(sourceTool_casted) + private setNavDestinationId(navDestinationId: string): void { + const navDestinationId_casted = navDestinationId as (string) + this?.setNavDestinationId_serialize(navDestinationId_casted) return } - private getDeviceId(): number | undefined { - return this.getDeviceId_serialize() + private getName_serialize(): string { + const retval = ArkUIGeneratedNativeModule._NavPathInfo_getName(this.peer!.ptr) + return retval } - private setDeviceId(deviceId: number): void { - const deviceId_casted = deviceId as (number) - this?.setDeviceId_serialize(deviceId_casted) - return + private setName_serialize(name: string): void { + ArkUIGeneratedNativeModule._NavPathInfo_setName(this.peer!.ptr, name) } - private getModifierKeyState_serialize(keys: Array): boolean { + private getParam_serialize(): Object | undefined { + const retval = ArkUIGeneratedNativeModule._NavPathInfo_getParam(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setParam_serialize(param: Object | undefined): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(keys.length) - for (let i = 0; i < keys.length; i++) { - const keys_element: string = keys[i] - thisSerializer.writeString(keys_element) + let param_type: int32 = RuntimeType.UNDEFINED + param_type = runtimeType(param) + thisSerializer.writeInt8(param_type) + if ((RuntimeType.UNDEFINED) != (param_type)) { + const param_value = param! + thisSerializer.holdAndWriteObject(param_value) } - const retval = ArkUIGeneratedNativeModule._BaseEvent_getModifierKeyState(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._NavPathInfo_setParam(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - return retval } - private getTarget_serialize(): EventTarget { - const retval = ArkUIGeneratedNativeModule._BaseEvent_getTarget(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: EventTarget = retvalDeserializer.readEventTarget() - return returnResult + private getOnPop_serialize(): ((parameter: PopInfo) => void) | undefined { + const retval = ArkUIGeneratedNativeModule._NavPathInfo_getOnPop(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private setTarget_serialize(target: EventTarget): void { + private setOnPop_serialize(onPop: ((parameter: PopInfo) => void)): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeEventTarget(target) - ArkUIGeneratedNativeModule._BaseEvent_setTarget(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.holdAndWriteCallback(onPop) + ArkUIGeneratedNativeModule._NavPathInfo_setOnPop(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private getTimestamp_serialize(): number { - const retval = ArkUIGeneratedNativeModule._BaseEvent_getTimestamp(this.peer!.ptr) - return retval - } - private setTimestamp_serialize(timestamp: number): void { - ArkUIGeneratedNativeModule._BaseEvent_setTimestamp(this.peer!.ptr, timestamp) - } - private getSource_serialize(): SourceType { - const retval = ArkUIGeneratedNativeModule._BaseEvent_getSource(this.peer!.ptr) - return retval - } - private setSource_serialize(source: SourceType): void { - ArkUIGeneratedNativeModule._BaseEvent_setSource(this.peer!.ptr, source.valueOf()) - } - private getAxisHorizontal_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._BaseEvent_getAxisHorizontal(this.peer!.ptr) + private getIsEntry_serialize(): boolean | undefined { + const retval = ArkUIGeneratedNativeModule._NavPathInfo_getIsEntry(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setAxisHorizontal_serialize(axisHorizontal: number): void { - ArkUIGeneratedNativeModule._BaseEvent_setAxisHorizontal(this.peer!.ptr, axisHorizontal) + private setIsEntry_serialize(isEntry: boolean): void { + ArkUIGeneratedNativeModule._NavPathInfo_setIsEntry(this.peer!.ptr, +isEntry) } - private getAxisVertical_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._BaseEvent_getAxisVertical(this.peer!.ptr) + private getNavDestinationId_serialize(): string | undefined { + const retval = ArkUIGeneratedNativeModule._NavPathInfo_getNavDestinationId(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setAxisVertical_serialize(axisVertical: number): void { - ArkUIGeneratedNativeModule._BaseEvent_setAxisVertical(this.peer!.ptr, axisVertical) - } - private getPressure_serialize(): number { - const retval = ArkUIGeneratedNativeModule._BaseEvent_getPressure(this.peer!.ptr) - return retval - } - private setPressure_serialize(pressure: number): void { - ArkUIGeneratedNativeModule._BaseEvent_setPressure(this.peer!.ptr, pressure) - } - private getTiltX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._BaseEvent_getTiltX(this.peer!.ptr) - return retval - } - private setTiltX_serialize(tiltX: number): void { - ArkUIGeneratedNativeModule._BaseEvent_setTiltX(this.peer!.ptr, tiltX) + private setNavDestinationId_serialize(navDestinationId: string): void { + ArkUIGeneratedNativeModule._NavPathInfo_setNavDestinationId(this.peer!.ptr, navDestinationId) } - private getTiltY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._BaseEvent_getTiltY(this.peer!.ptr) - return retval +} +export class NavPathStackInternal { + public static fromPtr(ptr: KPointer): NavPathStack { + const obj: NavPathStack = new NavPathStack() + obj.peer = new Finalizable(ptr, NavPathStack.getFinalizer()) + return obj } - private setTiltY_serialize(tiltY: number): void { - ArkUIGeneratedNativeModule._BaseEvent_setTiltY(this.peer!.ptr, tiltY) +} +export class NavPathStack implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - private getSourceTool_serialize(): SourceTool { - const retval = ArkUIGeneratedNativeModule._BaseEvent_getSourceTool(this.peer!.ptr) + static ctor_navpathstack(): KPointer { + const retval = ArkUIGeneratedNativeModule._NavPathStack_ctor() return retval } - private setSourceTool_serialize(sourceTool: SourceTool): void { - ArkUIGeneratedNativeModule._BaseEvent_setSourceTool(this.peer!.ptr, sourceTool.valueOf()) + constructor() { + const ctorPtr: KPointer = NavPathStack.ctor_navpathstack() + this.peer = new Finalizable(ctorPtr, NavPathStack.getFinalizer()) } - private getDeviceId_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._BaseEvent_getDeviceId(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._NavPathStack_getFinalizer() } - private setDeviceId_serialize(deviceId: number): void { - ArkUIGeneratedNativeModule._BaseEvent_setDeviceId(this.peer!.ptr, deviceId) + public pushPath(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): void { + const info_type = runtimeType(info) + const animated_type = runtimeType(animated) + if ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type)) { + const info_casted = info as (NavPathInfo) + const animated_casted = animated as (boolean | undefined) + this?.pushPath0_serialize(info_casted, animated_casted) + return + } + if ((RuntimeType.OBJECT == animated_type) || (RuntimeType.UNDEFINED == animated_type)) { + const info_casted = info as (NavPathInfo) + const options_casted = animated as (NavigationOptions | undefined) + this?.pushPath1_serialize(info_casted, options_casted) + return + } + throw new Error("Can not select appropriate overload") } - public static fromPtr(ptr: KPointer): BaseEventInternal { - const obj: BaseEventInternal = new BaseEventInternal() - obj.peer = new Finalizable(ptr, BaseEventInternal.getFinalizer()) - return obj + public pushDestination(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): Promise { + const info_type = runtimeType(info) + const animated_type = runtimeType(animated) + if ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type)) { + const info_casted = info as (NavPathInfo) + const animated_casted = animated as (boolean | undefined) + return this.pushDestination0_serialize(info_casted, animated_casted) + } + if ((RuntimeType.OBJECT == animated_type) || (RuntimeType.UNDEFINED == animated_type)) { + const info_casted = info as (NavPathInfo) + const options_casted = animated as (NavigationOptions | undefined) + return this.pushDestination1_serialize(info_casted, options_casted) + } + throw new Error("Can not select appropriate overload") } -} -export interface PixelMapMock { - release(): void -} -export class PixelMapMockInternal implements MaterializedBase,PixelMapMock { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + public pushPathByName(name: string, param: Object | Object | undefined, onPop?: ((parameter: PopInfo) => void) | boolean | undefined, animated?: boolean): void { + const name_type = runtimeType(name) + const param_type = runtimeType(param) + const onPop_type = runtimeType(onPop) + const animated_type = runtimeType(animated) + if (((RuntimeType.BIGINT == param_type) || (RuntimeType.BOOLEAN == param_type) || (RuntimeType.FUNCTION == param_type) || (RuntimeType.MATERIALIZED == param_type) || (RuntimeType.NUMBER == param_type) || (RuntimeType.OBJECT == param_type) || (RuntimeType.STRING == param_type) || (RuntimeType.SYMBOL == param_type)) && (RuntimeType.FUNCTION == onPop_type) && ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type))) { + const name_casted = name as (string) + const param_casted = param as (Object) + const onPop_casted = onPop as (((parameter: PopInfo) => void)) + const animated_casted = animated as (boolean | undefined) + this?.pushPathByName1_serialize(name_casted, param_casted, onPop_casted, animated_casted) + return + } + if (((RuntimeType.BIGINT == param_type) || (RuntimeType.BOOLEAN == param_type) || (RuntimeType.FUNCTION == param_type) || (RuntimeType.MATERIALIZED == param_type) || (RuntimeType.NUMBER == param_type) || (RuntimeType.OBJECT == param_type) || (RuntimeType.STRING == param_type) || (RuntimeType.SYMBOL == param_type) || (RuntimeType.UNDEFINED == param_type)) && ((RuntimeType.BOOLEAN == onPop_type) || (RuntimeType.UNDEFINED == onPop_type)) && (RuntimeType.UNDEFINED == animated_type)) { + const name_casted = name as (string) + const param_casted = param as (Object | undefined) + const animated_casted = onPop as (boolean | undefined) + this?.pushPathByName0_serialize(name_casted, param_casted, animated_casted) + return + } + throw new Error("Can not select appropriate overload") } - static ctor_pixelmapmock(): KPointer { - const retval = ArkUIGeneratedNativeModule._PixelMapMock_ctor() - return retval + public pushDestinationByName(name: string, param: Object, onPop?: boolean | undefined | ((parameter: PopInfo) => void), animated?: boolean): Promise { + const name_type = runtimeType(name) + const param_type = runtimeType(param) + const onPop_type = runtimeType(onPop) + const animated_type = runtimeType(animated) + if (((RuntimeType.BOOLEAN == onPop_type) || (RuntimeType.UNDEFINED == onPop_type)) && (RuntimeType.UNDEFINED == animated_type)) { + const name_casted = name as (string) + const param_casted = param as (Object) + const animated_casted = onPop as (boolean | undefined) + return this.pushDestinationByName0_serialize(name_casted, param_casted, animated_casted) + } + if ((RuntimeType.FUNCTION == onPop_type) && ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type))) { + const name_casted = name as (string) + const param_casted = param as (Object) + const onPop_casted = onPop as (((parameter: PopInfo) => void)) + const animated_casted = animated as (boolean | undefined) + return this.pushDestinationByName1_serialize(name_casted, param_casted, onPop_casted, animated_casted) + } + throw new Error("Can not select appropriate overload") } - constructor() { - const ctorPtr: KPointer = PixelMapMockInternal.ctor_pixelmapmock() - this.peer = new Finalizable(ctorPtr, PixelMapMockInternal.getFinalizer()) + public replacePath(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): void { + const info_type = runtimeType(info) + const animated_type = runtimeType(animated) + if ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type)) { + const info_casted = info as (NavPathInfo) + const animated_casted = animated as (boolean | undefined) + this?.replacePath0_serialize(info_casted, animated_casted) + return + } + if ((RuntimeType.OBJECT == animated_type) || (RuntimeType.UNDEFINED == animated_type)) { + const info_casted = info as (NavPathInfo) + const options_casted = animated as (NavigationOptions | undefined) + this?.replacePath1_serialize(info_casted, options_casted) + return + } + throw new Error("Can not select appropriate overload") } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._PixelMapMock_getFinalizer() + public replaceDestination(info: NavPathInfo, options?: NavigationOptions): Promise { + const info_casted = info as (NavPathInfo) + const options_casted = options as (NavigationOptions | undefined) + return this.replaceDestination_serialize(info_casted, options_casted) } - public release(): void { - this?.release_serialize() + public replacePathByName(name: string, param: Object, animated?: boolean): void { + const name_casted = name as (string) + const param_casted = param as (Object) + const animated_casted = animated as (boolean | undefined) + this?.replacePathByName_serialize(name_casted, param_casted, animated_casted) return } - private release_serialize(): void { - ArkUIGeneratedNativeModule._PixelMapMock_release(this.peer!.ptr) - } - public static fromPtr(ptr: KPointer): PixelMapMockInternal { - const obj: PixelMapMockInternal = new PixelMapMockInternal() - obj.peer = new Finalizable(ptr, PixelMapMockInternal.getFinalizer()) - return obj + public removeByIndexes(indexes: Array): number { + const indexes_casted = indexes as (Array) + return this.removeByIndexes_serialize(indexes_casted) } -} -export interface DragEvent { - dragBehavior: DragBehavior - useCustomDropAnimation: boolean - getDisplayX(): number - getDisplayY(): number - getWindowX(): number - getWindowY(): number - getX(): number - getY(): number - setData(unifiedData: UnifiedData): void - getData(): UnifiedData - getSummary(): Summary - setResult(dragResult: DragResult): void - getResult(): DragResult - getPreviewRect(): Rectangle - getVelocityX(): number - getVelocityY(): number - getVelocity(): number - getModifierKeyState(keys: Array): boolean -} -export class DragEventInternal implements MaterializedBase,DragEvent { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + public removeByName(name: string): number { + const name_casted = name as (string) + return this.removeByName_serialize(name_casted) } - get dragBehavior(): DragBehavior { - return this.getDragBehavior() + public removeByNavDestinationId(navDestinationId: string): boolean { + const navDestinationId_casted = navDestinationId as (string) + return this.removeByNavDestinationId_serialize(navDestinationId_casted) } - set dragBehavior(dragBehavior: DragBehavior) { - this.setDragBehavior(dragBehavior) + public pop(result?: boolean | undefined | Object, animated?: boolean): NavPathInfo | undefined { + const result_type = runtimeType(result) + const animated_type = runtimeType(animated) + if (((RuntimeType.BOOLEAN == result_type) || (RuntimeType.UNDEFINED == result_type)) && (RuntimeType.UNDEFINED == animated_type)) { + const animated_casted = result as (boolean | undefined) + return this.pop0_serialize(animated_casted) + } + if (((RuntimeType.BIGINT == result_type) || (RuntimeType.BOOLEAN == result_type) || (RuntimeType.FUNCTION == result_type) || (RuntimeType.MATERIALIZED == result_type) || (RuntimeType.NUMBER == result_type) || (RuntimeType.OBJECT == result_type) || (RuntimeType.STRING == result_type) || (RuntimeType.SYMBOL == result_type)) && ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type))) { + const result_casted = result as (Object) + const animated_casted = animated as (boolean | undefined) + return this.pop1_serialize(result_casted, animated_casted) + } + throw new Error("Can not select appropriate overload") } - get useCustomDropAnimation(): boolean { - return this.getUseCustomDropAnimation() + public popToName(name: string, result?: boolean | undefined | Object, animated?: boolean): number { + const name_type = runtimeType(name) + const result_type = runtimeType(result) + const animated_type = runtimeType(animated) + if (((RuntimeType.BOOLEAN == result_type) || (RuntimeType.UNDEFINED == result_type)) && (RuntimeType.UNDEFINED == animated_type)) { + const name_casted = name as (string) + const animated_casted = result as (boolean | undefined) + return this.popToName0_serialize(name_casted, animated_casted) + } + if (((RuntimeType.BIGINT == result_type) || (RuntimeType.BOOLEAN == result_type) || (RuntimeType.FUNCTION == result_type) || (RuntimeType.MATERIALIZED == result_type) || (RuntimeType.NUMBER == result_type) || (RuntimeType.OBJECT == result_type) || (RuntimeType.STRING == result_type) || (RuntimeType.SYMBOL == result_type)) && ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type))) { + const name_casted = name as (string) + const result_casted = result as (Object) + const animated_casted = animated as (boolean | undefined) + return this.popToName1_serialize(name_casted, result_casted, animated_casted) + } + throw new Error("Can not select appropriate overload") } - set useCustomDropAnimation(useCustomDropAnimation: boolean) { - this.setUseCustomDropAnimation(useCustomDropAnimation) + public popToIndex(index: number, result?: boolean | undefined | Object, animated?: boolean): void { + const index_type = runtimeType(index) + const result_type = runtimeType(result) + const animated_type = runtimeType(animated) + if (((RuntimeType.BOOLEAN == result_type) || (RuntimeType.UNDEFINED == result_type)) && (RuntimeType.UNDEFINED == animated_type)) { + const index_casted = index as (number) + const animated_casted = result as (boolean | undefined) + this?.popToIndex0_serialize(index_casted, animated_casted) + return + } + if (((RuntimeType.BIGINT == result_type) || (RuntimeType.BOOLEAN == result_type) || (RuntimeType.FUNCTION == result_type) || (RuntimeType.MATERIALIZED == result_type) || (RuntimeType.NUMBER == result_type) || (RuntimeType.OBJECT == result_type) || (RuntimeType.STRING == result_type) || (RuntimeType.SYMBOL == result_type)) && ((RuntimeType.BOOLEAN == animated_type) || (RuntimeType.UNDEFINED == animated_type))) { + const index_casted = index as (number) + const result_casted = result as (Object) + const animated_casted = animated as (boolean | undefined) + this?.popToIndex1_serialize(index_casted, result_casted, animated_casted) + return + } + throw new Error("Can not select appropriate overload") } - static ctor_dragevent(): KPointer { - const retval = ArkUIGeneratedNativeModule._DragEvent_ctor() - return retval + public moveToTop(name: string, animated?: boolean): number { + const name_casted = name as (string) + const animated_casted = animated as (boolean | undefined) + return this.moveToTop_serialize(name_casted, animated_casted) } - constructor() { - const ctorPtr: KPointer = DragEventInternal.ctor_dragevent() - this.peer = new Finalizable(ctorPtr, DragEventInternal.getFinalizer()) + public moveIndexToTop(index: number, animated?: boolean): void { + const index_casted = index as (number) + const animated_casted = animated as (boolean | undefined) + this?.moveIndexToTop_serialize(index_casted, animated_casted) + return } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._DragEvent_getFinalizer() + public clear(animated?: boolean): void { + const animated_casted = animated as (boolean | undefined) + this?.clear_serialize(animated_casted) + return } - public getDisplayX(): number { - return this.getDisplayX_serialize() + public getAllPathName(): Array { + return this.getAllPathName_serialize() } - public getDisplayY(): number { - return this.getDisplayY_serialize() + public getParamByIndex(index: number): Object | undefined { + const index_casted = index as (number) + return this.getParamByIndex_serialize(index_casted) } - public getWindowX(): number { - return this.getWindowX_serialize() + public getParamByName(name: string): Array { + const name_casted = name as (string) + return this.getParamByName_serialize(name_casted) } - public getWindowY(): number { - return this.getWindowY_serialize() + public getIndexByName(name: string): Array { + const name_casted = name as (string) + return this.getIndexByName_serialize(name_casted) } - public getX(): number { - return this.getX_serialize() + public getParent(): NavPathStack | undefined { + return this.getParent_serialize() } - public getY(): number { - return this.getY_serialize() + public size(): number { + return this.size_serialize() } - public setData(unifiedData: UnifiedData): void { - const unifiedData_casted = unifiedData as (UnifiedData) - this?.setData_serialize(unifiedData_casted) + public disableAnimation(value: boolean): void { + const value_casted = value as (boolean) + this?.disableAnimation_serialize(value_casted) return } - public getData(): UnifiedData { - return this.getData_serialize() + public setInterception(interception: NavigationInterception): void { + const interception_casted = interception as (NavigationInterception) + this?.setInterception_serialize(interception_casted) + return } - public getSummary(): Summary { - return this.getSummary_serialize() + public getPathStack(): Array { + return this.getPathStack_serialize() } - public setResult(dragResult: DragResult): void { - const dragResult_casted = dragResult as (DragResult) - this?.setResult_serialize(dragResult_casted) + public setPathStack(pathStack: Array, animated?: boolean): void { + const pathStack_casted = pathStack as (Array) + const animated_casted = animated as (boolean | undefined) + this?.setPathStack_serialize(pathStack_casted, animated_casted) return } - public getResult(): DragResult { - return this.getResult_serialize() + private pushPath0_serialize(info: NavPathInfo, animated?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavPathStack_pushPath0(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public getPreviewRect(): Rectangle { - return this.getPreviewRect_serialize() + private pushPath1_serialize(info: NavPathInfo, options?: NavigationOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeNavigationOptions(options_value) + } + ArkUIGeneratedNativeModule._NavPathStack_pushPath1(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private pushDestination0_serialize(info: NavPathInfo, animated?: boolean): Promise { + const thisSerializer: Serializer = Serializer.hold() + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] + ArkUIGeneratedNativeModule._NavPathStack_pushDestination0(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } + private pushDestination1_serialize(info: NavPathInfo, options?: NavigationOptions): Promise { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeNavigationOptions(options_value) + } + const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] + ArkUIGeneratedNativeModule._NavPathStack_pushDestination1(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval } - public getVelocityX(): number { - return this.getVelocityX_serialize() + private pushPathByName0_serialize(name: string, param: Object | undefined, animated?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + let param_type: int32 = RuntimeType.UNDEFINED + param_type = runtimeType(param) + thisSerializer.writeInt8(param_type) + if ((RuntimeType.UNDEFINED) != (param_type)) { + const param_value = param! + thisSerializer.holdAndWriteObject(param_value) + } + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavPathStack_pushPathByName0(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public getVelocityY(): number { - return this.getVelocityY_serialize() + private pushPathByName1_serialize(name: string, param: Object, onPop: ((parameter: PopInfo) => void), animated?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteObject(param) + thisSerializer.holdAndWriteCallback(onPop) + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavPathStack_pushPathByName1(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public getVelocity(): number { - return this.getVelocity_serialize() + private pushDestinationByName0_serialize(name: string, param: Object, animated?: boolean): Promise { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteObject(param) + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] + ArkUIGeneratedNativeModule._NavPathStack_pushDestinationByName0(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval } - public getModifierKeyState(keys: Array): boolean { - const keys_casted = keys as (Array) - return this.getModifierKeyState_serialize(keys_casted) + private pushDestinationByName1_serialize(name: string, param: Object, onPop: ((parameter: PopInfo) => void), animated?: boolean): Promise { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteObject(param) + thisSerializer.holdAndWriteCallback(onPop) + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] + ArkUIGeneratedNativeModule._NavPathStack_pushDestinationByName1(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval } - private getDragBehavior(): DragBehavior { - return this.getDragBehavior_serialize() + private replacePath0_serialize(info: NavPathInfo, animated?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavPathStack_replacePath0(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private setDragBehavior(dragBehavior: DragBehavior): void { - const dragBehavior_casted = dragBehavior as (DragBehavior) - this?.setDragBehavior_serialize(dragBehavior_casted) - return + private replacePath1_serialize(info: NavPathInfo, options?: NavigationOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeNavigationOptions(options_value) + } + ArkUIGeneratedNativeModule._NavPathStack_replacePath1(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private getUseCustomDropAnimation(): boolean { - return this.getUseCustomDropAnimation_serialize() + private replaceDestination_serialize(info: NavPathInfo, options?: NavigationOptions): Promise { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeNavigationOptions(options_value) + } + const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] + ArkUIGeneratedNativeModule._NavPathStack_replaceDestination(this.peer!.ptr, toPeerPtr(info), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval } - private setUseCustomDropAnimation(useCustomDropAnimation: boolean): void { - const useCustomDropAnimation_casted = useCustomDropAnimation as (boolean) - this?.setUseCustomDropAnimation_serialize(useCustomDropAnimation_casted) - return + private replacePathByName_serialize(name: string, param: Object, animated?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteObject(param) + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavPathStack_replacePathByName(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private getDisplayX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._DragEvent_getDisplayX(this.peer!.ptr) + private removeByIndexes_serialize(indexes: Array): number { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(indexes.length) + for (let i = 0; i < indexes.length; i++) { + const indexes_element: number = indexes[i] + thisSerializer.writeNumber(indexes_element) + } + const retval = ArkUIGeneratedNativeModule._NavPathStack_removeByIndexes(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - private getDisplayY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._DragEvent_getDisplayY(this.peer!.ptr) + private removeByName_serialize(name: string): number { + const retval = ArkUIGeneratedNativeModule._NavPathStack_removeByName(this.peer!.ptr, name) return retval } - private getWindowX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._DragEvent_getWindowX(this.peer!.ptr) + private removeByNavDestinationId_serialize(navDestinationId: string): boolean { + const retval = ArkUIGeneratedNativeModule._NavPathStack_removeByNavDestinationId(this.peer!.ptr, navDestinationId) return retval } - private getWindowY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._DragEvent_getWindowY(this.peer!.ptr) - return retval + private pop0_serialize(animated?: boolean): NavPathInfo | undefined { + const thisSerializer: Serializer = Serializer.hold() + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + const retval = ArkUIGeneratedNativeModule._NavPathStack_pop0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + throw new Error("Object deserialization is not implemented.") } - private getX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._DragEvent_getX(this.peer!.ptr) + private pop1_serialize(result: Object, animated?: boolean): NavPathInfo | undefined { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteObject(result) + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + const retval = ArkUIGeneratedNativeModule._NavPathStack_pop1(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + throw new Error("Object deserialization is not implemented.") + } + private popToName0_serialize(name: string, animated?: boolean): number { + const thisSerializer: Serializer = Serializer.hold() + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + const retval = ArkUIGeneratedNativeModule._NavPathStack_popToName0(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - private getY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._DragEvent_getY(this.peer!.ptr) + private popToName1_serialize(name: string, result: Object, animated?: boolean): number { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteObject(result) + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + const retval = ArkUIGeneratedNativeModule._NavPathStack_popToName1(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - private setData_serialize(unifiedData: UnifiedData): void { - ArkUIGeneratedNativeModule._DragEvent_setData(this.peer!.ptr, toPeerPtr(unifiedData)) + private popToIndex0_serialize(index: number, animated?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavPathStack_popToIndex0(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private getData_serialize(): UnifiedData { - const retval = ArkUIGeneratedNativeModule._DragEvent_getData(this.peer!.ptr) - const obj: UnifiedData = UnifiedDataInternal.fromPtr(retval) - return obj + private popToIndex1_serialize(index: number, result: Object, animated?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteObject(result) + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavPathStack_popToIndex1(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private moveToTop_serialize(name: string, animated?: boolean): number { + const thisSerializer: Serializer = Serializer.hold() + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + const retval = ArkUIGeneratedNativeModule._NavPathStack_moveToTop(this.peer!.ptr, name, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval + } + private moveIndexToTop_serialize(index: number, animated?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavPathStack_moveIndexToTop(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private getSummary_serialize(): Summary { - const retval = ArkUIGeneratedNativeModule._DragEvent_getSummary(this.peer!.ptr) + private clear_serialize(animated?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavPathStack_clear(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private getAllPathName_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._NavPathStack_getAllPathName(this.peer!.ptr) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: Summary = retvalDeserializer.readSummary() + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = (retvalDeserializer.readString() as string) + } + const returnResult: Array = buffer return returnResult } - private setResult_serialize(dragResult: DragResult): void { - ArkUIGeneratedNativeModule._DragEvent_setResult(this.peer!.ptr, dragResult.valueOf()) + private getParamByIndex_serialize(index: number): Object | undefined { + const retval = ArkUIGeneratedNativeModule._NavPathStack_getParamByIndex(this.peer!.ptr, index) + throw new Error("Object deserialization is not implemented.") } - private getResult_serialize(): DragResult { - const retval = ArkUIGeneratedNativeModule._DragEvent_getResult(this.peer!.ptr) - return retval + private getParamByName_serialize(name: string): Array { + const retval = ArkUIGeneratedNativeModule._NavPathStack_getParamByName(this.peer!.ptr, name) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + const buffer_buf_runtimeType = (retvalDeserializer.readInt8() as int32) + let buffer_buf: Object | undefined|undefined + if ((RuntimeType.UNDEFINED) != (buffer_buf_runtimeType)) + { + buffer_buf = (retvalDeserializer.readObject() as Object) + } + buffer[buffer_i] = buffer_buf + } + const returnResult: Array = buffer + return returnResult } - private getPreviewRect_serialize(): Rectangle { - const retval = ArkUIGeneratedNativeModule._DragEvent_getPreviewRect(this.peer!.ptr) + private getIndexByName_serialize(name: string): Array { + const retval = ArkUIGeneratedNativeModule._NavPathStack_getIndexByName(this.peer!.ptr, name) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: Rectangle = retvalDeserializer.readRectangle() + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = (retvalDeserializer.readNumber() as number) + } + const returnResult: Array = buffer return returnResult } - private getVelocityX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._DragEvent_getVelocityX(this.peer!.ptr) - return retval + private getParent_serialize(): NavPathStack | undefined { + const retval = ArkUIGeneratedNativeModule._NavPathStack_getParent(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private getVelocityY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._DragEvent_getVelocityY(this.peer!.ptr) + private size_serialize(): number { + const retval = ArkUIGeneratedNativeModule._NavPathStack_size(this.peer!.ptr) return retval } - private getVelocity_serialize(): number { - const retval = ArkUIGeneratedNativeModule._DragEvent_getVelocity(this.peer!.ptr) - return retval + private disableAnimation_serialize(value: boolean): void { + ArkUIGeneratedNativeModule._NavPathStack_disableAnimation(this.peer!.ptr, +value) } - private getModifierKeyState_serialize(keys: Array): boolean { + private setInterception_serialize(interception: NavigationInterception): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(keys.length) - for (let i = 0; i < keys.length; i++) { - const keys_element: string = keys[i] - thisSerializer.writeString(keys_element) - } - const retval = ArkUIGeneratedNativeModule._DragEvent_getModifierKeyState(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeNavigationInterception(interception) + ArkUIGeneratedNativeModule._NavPathStack_setInterception(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - return retval - } - private getDragBehavior_serialize(): DragBehavior { - const retval = ArkUIGeneratedNativeModule._DragEvent_getDragBehavior(this.peer!.ptr) - return retval - } - private setDragBehavior_serialize(dragBehavior: DragBehavior): void { - ArkUIGeneratedNativeModule._DragEvent_setDragBehavior(this.peer!.ptr, dragBehavior.valueOf()) - } - private getUseCustomDropAnimation_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._DragEvent_getUseCustomDropAnimation(this.peer!.ptr) - return retval } - private setUseCustomDropAnimation_serialize(useCustomDropAnimation: boolean): void { - ArkUIGeneratedNativeModule._DragEvent_setUseCustomDropAnimation(this.peer!.ptr, +useCustomDropAnimation) + private getPathStack_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._NavPathStack_getPathStack(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = (retvalDeserializer.readNavPathInfo() as NavPathInfo) + } + const returnResult: Array = buffer + return returnResult } - public static fromPtr(ptr: KPointer): DragEventInternal { - const obj: DragEventInternal = new DragEventInternal() - obj.peer = new Finalizable(ptr, DragEventInternal.getFinalizer()) - return obj + private setPathStack_serialize(pathStack: Array, animated?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(pathStack.length) + for (let i = 0; i < pathStack.length; i++) { + const pathStack_element: NavPathInfo = pathStack[i] + thisSerializer.writeNavPathInfo(pathStack_element) + } + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavPathStack_setPathStack(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } } -export interface KeyEvent { - type: KeyType - keyCode: number - keyText: string - keySource: KeySource - deviceId: number - metaKey: number - timestamp: number - stopPropagation: (() => void) - intentionCode: IntentionCode - unicode?: number | undefined - getModifierKeyState(keys: Array): boolean +export interface NavigationTransitionProxy { + from: NavContentInfo + to: NavContentInfo + isInteractive?: boolean | undefined + finishTransition(): void + cancelTransition(): void + updateTransition(progress: number): void } -export class KeyEventInternal implements MaterializedBase,KeyEvent { +export class NavigationTransitionProxyInternal implements MaterializedBase,NavigationTransitionProxy { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get type(): KeyType { - return this.getType() - } - set type(type: KeyType) { - this.setType(type) - } - get keyCode(): number { - return this.getKeyCode() - } - set keyCode(keyCode: number) { - this.setKeyCode(keyCode) - } - get keyText(): string { - return this.getKeyText() - } - set keyText(keyText: string) { - this.setKeyText(keyText) - } - get keySource(): KeySource { - return this.getKeySource() - } - set keySource(keySource: KeySource) { - this.setKeySource(keySource) - } - get deviceId(): number { - return this.getDeviceId() - } - set deviceId(deviceId: number) { - this.setDeviceId(deviceId) - } - get metaKey(): number { - return this.getMetaKey() - } - set metaKey(metaKey: number) { - this.setMetaKey(metaKey) - } - get timestamp(): number { - return this.getTimestamp() - } - set timestamp(timestamp: number) { - this.setTimestamp(timestamp) - } - get stopPropagation(): (() => void) { + get from(): NavContentInfo { throw new Error("Not implemented") } - set stopPropagation(stopPropagation: (() => void)) { - this.setStopPropagation(stopPropagation) + set from(from: NavContentInfo) { + this.setFrom(from) } - get intentionCode(): IntentionCode { - return this.getIntentionCode() + get to(): NavContentInfo { + throw new Error("Not implemented") } - set intentionCode(intentionCode: IntentionCode) { - this.setIntentionCode(intentionCode) + set to(to: NavContentInfo) { + this.setTo(to) } - get unicode(): number | undefined { - return this.getUnicode() + get isInteractive(): boolean | undefined { + return this.getIsInteractive() } - set unicode(unicode: number | undefined) { - const unicode_NonNull = (unicode as number) - this.setUnicode(unicode_NonNull) + set isInteractive(isInteractive: boolean | undefined) { + const isInteractive_NonNull = (isInteractive as boolean) + this.setIsInteractive(isInteractive_NonNull) } - static ctor_keyevent(): KPointer { - const retval = ArkUIGeneratedNativeModule._KeyEvent_ctor() + static ctor_navigationtransitionproxy(): KPointer { + const retval = ArkUIGeneratedNativeModule._NavigationTransitionProxy_ctor() return retval } constructor() { - const ctorPtr: KPointer = KeyEventInternal.ctor_keyevent() - this.peer = new Finalizable(ctorPtr, KeyEventInternal.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._KeyEvent_getFinalizer() - } - public getModifierKeyState(keys: Array): boolean { - const keys_casted = keys as (Array) - return this.getModifierKeyState_serialize(keys_casted) - } - private getType(): KeyType { - return this.getType_serialize() - } - private setType(type: KeyType): void { - const type_casted = type as (KeyType) - this?.setType_serialize(type_casted) - return - } - private getKeyCode(): number { - return this.getKeyCode_serialize() - } - private setKeyCode(keyCode: number): void { - const keyCode_casted = keyCode as (number) - this?.setKeyCode_serialize(keyCode_casted) - return - } - private getKeyText(): string { - return this.getKeyText_serialize() - } - private setKeyText(keyText: string): void { - const keyText_casted = keyText as (string) - this?.setKeyText_serialize(keyText_casted) - return - } - private getKeySource(): KeySource { - return this.getKeySource_serialize() - } - private setKeySource(keySource: KeySource): void { - const keySource_casted = keySource as (KeySource) - this?.setKeySource_serialize(keySource_casted) - return - } - private getDeviceId(): number { - return this.getDeviceId_serialize() - } - private setDeviceId(deviceId: number): void { - const deviceId_casted = deviceId as (number) - this?.setDeviceId_serialize(deviceId_casted) - return - } - private getMetaKey(): number { - return this.getMetaKey_serialize() - } - private setMetaKey(metaKey: number): void { - const metaKey_casted = metaKey as (number) - this?.setMetaKey_serialize(metaKey_casted) - return + const ctorPtr: KPointer = NavigationTransitionProxyInternal.ctor_navigationtransitionproxy() + this.peer = new Finalizable(ctorPtr, NavigationTransitionProxyInternal.getFinalizer()) } - private getTimestamp(): number { - return this.getTimestamp_serialize() + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._NavigationTransitionProxy_getFinalizer() } - private setTimestamp(timestamp: number): void { - const timestamp_casted = timestamp as (number) - this?.setTimestamp_serialize(timestamp_casted) + public finishTransition(): void { + this?.finishTransition_serialize() return } - private getStopPropagation(): (() => void) { - return this.getStopPropagation_serialize() - } - private setStopPropagation(stopPropagation: (() => void)): void { - const stopPropagation_casted = stopPropagation as ((() => void)) - this?.setStopPropagation_serialize(stopPropagation_casted) + public cancelTransition(): void { + this?.cancelTransition_serialize() return } - private getIntentionCode(): IntentionCode { - return this.getIntentionCode_serialize() - } - private setIntentionCode(intentionCode: IntentionCode): void { - const intentionCode_casted = intentionCode as (IntentionCode) - this?.setIntentionCode_serialize(intentionCode_casted) + public updateTransition(progress: number): void { + const progress_casted = progress as (number) + this?.updateTransition_serialize(progress_casted) return } - private getUnicode(): number | undefined { - return this.getUnicode_serialize() + private getFrom(): NavContentInfo { + return this.getFrom_serialize() } - private setUnicode(unicode: number): void { - const unicode_casted = unicode as (number) - this?.setUnicode_serialize(unicode_casted) + private setFrom(from: NavContentInfo): void { + const from_casted = from as (NavContentInfo) + this?.setFrom_serialize(from_casted) return } - private getModifierKeyState_serialize(keys: Array): boolean { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(keys.length) - for (let i = 0; i < keys.length; i++) { - const keys_element: string = keys[i] - thisSerializer.writeString(keys_element) - } - const retval = ArkUIGeneratedNativeModule._KeyEvent_getModifierKeyState(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval - } - private getType_serialize(): KeyType { - const retval = ArkUIGeneratedNativeModule._KeyEvent_getType(this.peer!.ptr) - return retval + private getTo(): NavContentInfo { + return this.getTo_serialize() } - private setType_serialize(type: KeyType): void { - ArkUIGeneratedNativeModule._KeyEvent_setType(this.peer!.ptr, type.valueOf()) + private setTo(to: NavContentInfo): void { + const to_casted = to as (NavContentInfo) + this?.setTo_serialize(to_casted) + return } - private getKeyCode_serialize(): number { - const retval = ArkUIGeneratedNativeModule._KeyEvent_getKeyCode(this.peer!.ptr) - return retval + private getIsInteractive(): boolean | undefined { + return this.getIsInteractive_serialize() } - private setKeyCode_serialize(keyCode: number): void { - ArkUIGeneratedNativeModule._KeyEvent_setKeyCode(this.peer!.ptr, keyCode) + private setIsInteractive(isInteractive: boolean): void { + const isInteractive_casted = isInteractive as (boolean) + this?.setIsInteractive_serialize(isInteractive_casted) + return } - private getKeyText_serialize(): string { - const retval = ArkUIGeneratedNativeModule._KeyEvent_getKeyText(this.peer!.ptr) - return retval + private finishTransition_serialize(): void { + ArkUIGeneratedNativeModule._NavigationTransitionProxy_finishTransition(this.peer!.ptr) } - private setKeyText_serialize(keyText: string): void { - ArkUIGeneratedNativeModule._KeyEvent_setKeyText(this.peer!.ptr, keyText) + private cancelTransition_serialize(): void { + ArkUIGeneratedNativeModule._NavigationTransitionProxy_cancelTransition(this.peer!.ptr) } - private getKeySource_serialize(): KeySource { - const retval = ArkUIGeneratedNativeModule._KeyEvent_getKeySource(this.peer!.ptr) - return retval + private updateTransition_serialize(progress: number): void { + ArkUIGeneratedNativeModule._NavigationTransitionProxy_updateTransition(this.peer!.ptr, progress) } - private setKeySource_serialize(keySource: KeySource): void { - ArkUIGeneratedNativeModule._KeyEvent_setKeySource(this.peer!.ptr, keySource.valueOf()) + private getFrom_serialize(): NavContentInfo { + const retval = ArkUIGeneratedNativeModule._NavigationTransitionProxy_getFrom(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: NavContentInfo = retvalDeserializer.readNavContentInfo() + return returnResult } - private getDeviceId_serialize(): number { - const retval = ArkUIGeneratedNativeModule._KeyEvent_getDeviceId(this.peer!.ptr) - return retval + private setFrom_serialize(from: NavContentInfo): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeNavContentInfo(from) + ArkUIGeneratedNativeModule._NavigationTransitionProxy_setFrom(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private setDeviceId_serialize(deviceId: number): void { - ArkUIGeneratedNativeModule._KeyEvent_setDeviceId(this.peer!.ptr, deviceId) + private getTo_serialize(): NavContentInfo { + const retval = ArkUIGeneratedNativeModule._NavigationTransitionProxy_getTo(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: NavContentInfo = retvalDeserializer.readNavContentInfo() + return returnResult } - private getMetaKey_serialize(): number { - const retval = ArkUIGeneratedNativeModule._KeyEvent_getMetaKey(this.peer!.ptr) - return retval + private setTo_serialize(to: NavContentInfo): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeNavContentInfo(to) + ArkUIGeneratedNativeModule._NavigationTransitionProxy_setTo(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private setMetaKey_serialize(metaKey: number): void { - ArkUIGeneratedNativeModule._KeyEvent_setMetaKey(this.peer!.ptr, metaKey) + private getIsInteractive_serialize(): boolean | undefined { + const retval = ArkUIGeneratedNativeModule._NavigationTransitionProxy_getIsInteractive(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private getTimestamp_serialize(): number { - const retval = ArkUIGeneratedNativeModule._KeyEvent_getTimestamp(this.peer!.ptr) - return retval + private setIsInteractive_serialize(isInteractive: boolean): void { + ArkUIGeneratedNativeModule._NavigationTransitionProxy_setIsInteractive(this.peer!.ptr, +isInteractive) } - private setTimestamp_serialize(timestamp: number): void { - ArkUIGeneratedNativeModule._KeyEvent_setTimestamp(this.peer!.ptr, timestamp) + public static fromPtr(ptr: KPointer): NavigationTransitionProxyInternal { + const obj: NavigationTransitionProxyInternal = new NavigationTransitionProxyInternal() + obj.peer = new Finalizable(ptr, NavigationTransitionProxyInternal.getFinalizer()) + return obj } - private getStopPropagation_serialize(): (() => void) { - const retval = ArkUIGeneratedNativeModule._KeyEvent_getStopPropagation(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") +} +export class CanvasGradientInternal { + public static fromPtr(ptr: KPointer): CanvasGradient { + const obj: CanvasGradient = new CanvasGradient() + obj.peer = new Finalizable(ptr, CanvasGradient.getFinalizer()) + return obj } - private setStopPropagation_serialize(stopPropagation: (() => void)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(stopPropagation) - ArkUIGeneratedNativeModule._KeyEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() +} +export class CanvasGradient implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - private getIntentionCode_serialize(): IntentionCode { - const retval = ArkUIGeneratedNativeModule._KeyEvent_getIntentionCode(this.peer!.ptr) + static ctor_canvasgradient(): KPointer { + const retval = ArkUIGeneratedNativeModule._CanvasGradient_ctor() return retval } - private setIntentionCode_serialize(intentionCode: IntentionCode): void { - ArkUIGeneratedNativeModule._KeyEvent_setIntentionCode(this.peer!.ptr, intentionCode.valueOf()) + constructor() { + const ctorPtr: KPointer = CanvasGradient.ctor_canvasgradient() + this.peer = new Finalizable(ctorPtr, CanvasGradient.getFinalizer()) } - private getUnicode_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._KeyEvent_getUnicode(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._CanvasGradient_getFinalizer() } - private setUnicode_serialize(unicode: number): void { - ArkUIGeneratedNativeModule._KeyEvent_setUnicode(this.peer!.ptr, unicode) + public addColorStop(offset: number, color: string): void { + const offset_casted = offset as (number) + const color_casted = color as (string) + this?.addColorStop_serialize(offset_casted, color_casted) + return } - public static fromPtr(ptr: KPointer): KeyEventInternal { - const obj: KeyEventInternal = new KeyEventInternal() - obj.peer = new Finalizable(ptr, KeyEventInternal.getFinalizer()) - return obj + private addColorStop_serialize(offset: number, color: string): void { + ArkUIGeneratedNativeModule._CanvasGradient_addColorStop(this.peer!.ptr, offset, color) } } -export class ProgressMaskInternal { - public static fromPtr(ptr: KPointer): ProgressMask { - const obj: ProgressMask = new ProgressMask(undefined, undefined, undefined) - obj.peer = new Finalizable(ptr, ProgressMask.getFinalizer()) +export class CanvasPathInternal { + public static fromPtr(ptr: KPointer): CanvasPath { + const obj: CanvasPath = new CanvasPath() + obj.peer = new Finalizable(ptr, CanvasPath.getFinalizer()) return obj } } -export class ProgressMask implements MaterializedBase { +export class CanvasPath implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_progressmask(value: number, total: number, color: ResourceColor): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let color_type: int32 = RuntimeType.UNDEFINED - color_type = runtimeType(color) - if (((RuntimeType.NUMBER) == (color_type)) && ((unsafeCast(color)) >= (0)) && ((unsafeCast(color)) <= (11))) { - thisSerializer.writeInt8(0) - const color_0 = unsafeCast(color) - thisSerializer.writeInt32(color_0.valueOf()) - } - else if (RuntimeType.NUMBER == color_type) { - thisSerializer.writeInt8(1) - const color_1 = unsafeCast(color) - thisSerializer.writeNumber(color_1) - } - else if (RuntimeType.STRING == color_type) { - thisSerializer.writeInt8(2) - const color_2 = unsafeCast(color) - thisSerializer.writeString(color_2) - } - else if (RuntimeType.OBJECT == color_type) { - thisSerializer.writeInt8(3) - const color_3 = unsafeCast(color) - thisSerializer.writeResource(color_3) - } - const retval = ArkUIGeneratedNativeModule._ProgressMask_ctor(value, total, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + static ctor_canvaspath(): KPointer { + const retval = ArkUIGeneratedNativeModule._CanvasPath_ctor() return retval } - constructor(value?: number, total?: number, color?: ResourceColor) { - if (((value) !== (undefined)) || ((total) !== (undefined)) || ((color) !== (undefined))) - { - const ctorPtr: KPointer = ProgressMask.ctor_progressmask((value)!, (total)!, (color)!) - this.peer = new Finalizable(ctorPtr, ProgressMask.getFinalizer()) - } + constructor() { + const ctorPtr: KPointer = CanvasPath.ctor_canvaspath() + this.peer = new Finalizable(ctorPtr, CanvasPath.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._CanvasPath_getFinalizer() + } + public arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void { + const x_casted = x as (number) + const y_casted = y as (number) + const radius_casted = radius as (number) + const startAngle_casted = startAngle as (number) + const endAngle_casted = endAngle as (number) + const counterclockwise_casted = counterclockwise as (boolean | undefined) + this?.arc_serialize(x_casted, y_casted, radius_casted, startAngle_casted, endAngle_casted, counterclockwise_casted) + return + } + public arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void { + const x1_casted = x1 as (number) + const y1_casted = y1 as (number) + const x2_casted = x2 as (number) + const y2_casted = y2 as (number) + const radius_casted = radius as (number) + this?.arcTo_serialize(x1_casted, y1_casted, x2_casted, y2_casted, radius_casted) + return + } + public bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void { + const cp1x_casted = cp1x as (number) + const cp1y_casted = cp1y as (number) + const cp2x_casted = cp2x as (number) + const cp2y_casted = cp2y as (number) + const x_casted = x as (number) + const y_casted = y as (number) + this?.bezierCurveTo_serialize(cp1x_casted, cp1y_casted, cp2x_casted, cp2y_casted, x_casted, y_casted) + return + } + public closePath(): void { + this?.closePath_serialize() + return } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ProgressMask_getFinalizer() + public ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void { + const x_casted = x as (number) + const y_casted = y as (number) + const radiusX_casted = radiusX as (number) + const radiusY_casted = radiusY as (number) + const rotation_casted = rotation as (number) + const startAngle_casted = startAngle as (number) + const endAngle_casted = endAngle as (number) + const counterclockwise_casted = counterclockwise as (boolean | undefined) + this?.ellipse_serialize(x_casted, y_casted, radiusX_casted, radiusY_casted, rotation_casted, startAngle_casted, endAngle_casted, counterclockwise_casted) + return } - public updateProgress(value: number): void { - const value_casted = value as (number) - this?.updateProgress_serialize(value_casted) + public lineTo(x: number, y: number): void { + const x_casted = x as (number) + const y_casted = y as (number) + this?.lineTo_serialize(x_casted, y_casted) return } - public updateColor(value: ResourceColor): void { - const value_casted = value as (ResourceColor) - this?.updateColor_serialize(value_casted) + public moveTo(x: number, y: number): void { + const x_casted = x as (number) + const y_casted = y as (number) + this?.moveTo_serialize(x_casted, y_casted) return } - public enableBreathingAnimation(value: boolean): void { - const value_casted = value as (boolean) - this?.enableBreathingAnimation_serialize(value_casted) + public quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void { + const cpx_casted = cpx as (number) + const cpy_casted = cpy as (number) + const x_casted = x as (number) + const y_casted = y as (number) + this?.quadraticCurveTo_serialize(cpx_casted, cpy_casted, x_casted, y_casted) return } - private updateProgress_serialize(value: number): void { - ArkUIGeneratedNativeModule._ProgressMask_updateProgress(this.peer!.ptr, value) + public rect(x: number, y: number, w: number, h: number): void { + const x_casted = x as (number) + const y_casted = y as (number) + const w_casted = w as (number) + const h_casted = h as (number) + this?.rect_serialize(x_casted, y_casted, w_casted, h_casted) + return } - private updateColor_serialize(value: ResourceColor): void { + private arc_serialize(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void { const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - if (((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) { - thisSerializer.writeInt8(0) - const value_0 = unsafeCast(value) - thisSerializer.writeInt32(value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_type) { - thisSerializer.writeInt8(1) - const value_1 = unsafeCast(value) - thisSerializer.writeNumber(value_1) - } - else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2) - const value_2 = unsafeCast(value) - thisSerializer.writeString(value_2) + let counterclockwise_type: int32 = RuntimeType.UNDEFINED + counterclockwise_type = runtimeType(counterclockwise) + thisSerializer.writeInt8(counterclockwise_type) + if ((RuntimeType.UNDEFINED) != (counterclockwise_type)) { + const counterclockwise_value = counterclockwise! + thisSerializer.writeBoolean(counterclockwise_value) } - else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(3) - const value_3 = unsafeCast(value) - thisSerializer.writeResource(value_3) + ArkUIGeneratedNativeModule._CanvasPath_arc(this.peer!.ptr, x, y, radius, startAngle, endAngle, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private arcTo_serialize(x1: number, y1: number, x2: number, y2: number, radius: number): void { + ArkUIGeneratedNativeModule._CanvasPath_arcTo(this.peer!.ptr, x1, y1, x2, y2, radius) + } + private bezierCurveTo_serialize(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void { + ArkUIGeneratedNativeModule._CanvasPath_bezierCurveTo(this.peer!.ptr, cp1x, cp1y, cp2x, cp2y, x, y) + } + private closePath_serialize(): void { + ArkUIGeneratedNativeModule._CanvasPath_closePath(this.peer!.ptr) + } + private ellipse_serialize(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + let counterclockwise_type: int32 = RuntimeType.UNDEFINED + counterclockwise_type = runtimeType(counterclockwise) + thisSerializer.writeInt8(counterclockwise_type) + if ((RuntimeType.UNDEFINED) != (counterclockwise_type)) { + const counterclockwise_value = counterclockwise! + thisSerializer.writeBoolean(counterclockwise_value) } - ArkUIGeneratedNativeModule._ProgressMask_updateColor(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CanvasPath_ellipse(this.peer!.ptr, x, y, radiusX, radiusY, rotation, startAngle, endAngle, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private enableBreathingAnimation_serialize(value: boolean): void { - ArkUIGeneratedNativeModule._ProgressMask_enableBreathingAnimation(this.peer!.ptr, +value) + private lineTo_serialize(x: number, y: number): void { + ArkUIGeneratedNativeModule._CanvasPath_lineTo(this.peer!.ptr, x, y) + } + private moveTo_serialize(x: number, y: number): void { + ArkUIGeneratedNativeModule._CanvasPath_moveTo(this.peer!.ptr, x, y) + } + private quadraticCurveTo_serialize(cpx: number, cpy: number, x: number, y: number): void { + ArkUIGeneratedNativeModule._CanvasPath_quadraticCurveTo(this.peer!.ptr, cpx, cpy, x, y) + } + private rect_serialize(x: number, y: number, w: number, h: number): void { + ArkUIGeneratedNativeModule._CanvasPath_rect(this.peer!.ptr, x, y, w, h) } } -export interface Measurable { - measure(constraint: ConstraintSizeOptions): MeasureResult - getMargin(): DirectionalEdgesT - getPadding(): DirectionalEdgesT - getBorderWidth(): DirectionalEdgesT +export interface CanvasPattern { + setTransform(transform: Matrix2D | undefined): void } -export class MeasurableInternal implements MaterializedBase,Measurable { +export class CanvasPatternInternal implements MaterializedBase,CanvasPattern { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_measurable(): KPointer { - const retval = ArkUIGeneratedNativeModule._Measurable_ctor() + static ctor_canvaspattern(): KPointer { + const retval = ArkUIGeneratedNativeModule._CanvasPattern_ctor() return retval } constructor() { - const ctorPtr: KPointer = MeasurableInternal.ctor_measurable() - this.peer = new Finalizable(ctorPtr, MeasurableInternal.getFinalizer()) + const ctorPtr: KPointer = CanvasPatternInternal.ctor_canvaspattern() + this.peer = new Finalizable(ctorPtr, CanvasPatternInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._Measurable_getFinalizer() - } - public measure(constraint: ConstraintSizeOptions): MeasureResult { - const constraint_casted = constraint as (ConstraintSizeOptions) - return this.measure_serialize(constraint_casted) - } - public getMargin(): DirectionalEdgesT { - return this.getMargin_serialize() - } - public getPadding(): DirectionalEdgesT { - return this.getPadding_serialize() + return ArkUIGeneratedNativeModule._CanvasPattern_getFinalizer() } - public getBorderWidth(): DirectionalEdgesT { - return this.getBorderWidth_serialize() + public setTransform(transform?: Matrix2D): void { + const transform_casted = transform as (Matrix2D | undefined) + this?.setTransform_serialize(transform_casted) + return } - private measure_serialize(constraint: ConstraintSizeOptions): MeasureResult { + private setTransform_serialize(transform?: Matrix2D): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeConstraintSizeOptions(constraint) - const retval = ArkUIGeneratedNativeModule._Measurable_measure(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + let transform_type: int32 = RuntimeType.UNDEFINED + transform_type = runtimeType(transform) + thisSerializer.writeInt8(transform_type) + if ((RuntimeType.UNDEFINED) != (transform_type)) { + const transform_value = transform! + thisSerializer.writeMatrix2D(transform_value) + } + ArkUIGeneratedNativeModule._CanvasPattern_setTransform(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: MeasureResult = retvalDeserializer.readMeasureResult() - return returnResult } - private getMargin_serialize(): DirectionalEdgesT { - const retval = ArkUIGeneratedNativeModule._Measurable_getMargin(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() - return returnResult - } - private getPadding_serialize(): DirectionalEdgesT { - const retval = ArkUIGeneratedNativeModule._Measurable_getPadding(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() - return returnResult - } - private getBorderWidth_serialize(): DirectionalEdgesT { - const retval = ArkUIGeneratedNativeModule._Measurable_getBorderWidth(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() - return returnResult - } - public static fromPtr(ptr: KPointer): MeasurableInternal { - const obj: MeasurableInternal = new MeasurableInternal() - obj.peer = new Finalizable(ptr, MeasurableInternal.getFinalizer()) + public static fromPtr(ptr: KPointer): CanvasPatternInternal { + const obj: CanvasPatternInternal = new CanvasPatternInternal() + obj.peer = new Finalizable(ptr, CanvasPatternInternal.getFinalizer()) return obj } } -export class ViewInternal { - public static fromPtr(ptr: KPointer): View { - const obj: View = new View() - obj.peer = new Finalizable(ptr, View.getFinalizer()) +export class ImageBitmapInternal { + public static fromPtr(ptr: KPointer): ImageBitmap { + const obj: ImageBitmap = new ImageBitmap(undefined) + obj.peer = new Finalizable(ptr, ImageBitmap.getFinalizer()) return obj } } -export class View implements MaterializedBase { +export class ImageBitmap implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_view(): KPointer { - const retval = ArkUIGeneratedNativeModule._View_ctor() + get height(): number { + return this.getHeight() + } + get width(): number { + return this.getWidth() + } + static ctor_imagebitmap(src: string): KPointer { + const retval = ArkUIGeneratedNativeModule._ImageBitmap_ctor(src) return retval } - constructor() { - const ctorPtr: KPointer = View.ctor_view() - this.peer = new Finalizable(ctorPtr, View.getFinalizer()) + constructor(src?: string) { + if ((src) !== (undefined)) + { + const ctorPtr: KPointer = ImageBitmap.ctor_imagebitmap((src)!) + this.peer = new Finalizable(ctorPtr, ImageBitmap.getFinalizer()) + } } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._View_getFinalizer() + return ArkUIGeneratedNativeModule._ImageBitmap_getFinalizer() } - public create(value: KPointer): KPointer { - const value_casted = value as (KPointer) - return this.create_serialize(value_casted) + public close(): void { + this?.close_serialize() + return } - private create_serialize(value: KPointer): KPointer { - const retval = ArkUIGeneratedNativeModule._View_create(this.peer!.ptr, value) + private getHeight(): number { + return this.getHeight_serialize() + } + private getWidth(): number { + return this.getWidth_serialize() + } + private close_serialize(): void { + ArkUIGeneratedNativeModule._ImageBitmap_close(this.peer!.ptr) + } + private getHeight_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ImageBitmap_getHeight(this.peer!.ptr) + return retval + } + private getWidth_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ImageBitmap_getWidth(this.peer!.ptr) return retval } } -export class TextContentControllerBaseInternal { - public static fromPtr(ptr: KPointer): TextContentControllerBase { - const obj: TextContentControllerBase = new TextContentControllerBase() - obj.peer = new Finalizable(ptr, TextContentControllerBase.getFinalizer()) +export class ImageDataInternal { + public static fromPtr(ptr: KPointer): ImageData { + const obj: ImageData = new ImageData(undefined, undefined, undefined) + obj.peer = new Finalizable(ptr, ImageData.getFinalizer()) return obj } } -export class TextContentControllerBase implements MaterializedBase { +export class ImageData implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_textcontentcontrollerbase(): KPointer { - const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_ctor() + get data(): NativeBuffer { + throw new Error("Not implemented") + } + get height(): number { + return this.getHeight() + } + get width(): number { + return this.getWidth() + } + static ctor_imagedata(width: number, height: number, data?: NativeBuffer): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let data_type: int32 = RuntimeType.UNDEFINED + data_type = runtimeType(data) + thisSerializer.writeInt8(data_type) + if ((RuntimeType.UNDEFINED) != (data_type)) { + const data_value = data! + thisSerializer.writeBuffer(data_value) + } + const retval = ArkUIGeneratedNativeModule._ImageData_ctor(width, height, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor() { - const ctorPtr: KPointer = TextContentControllerBase.ctor_textcontentcontrollerbase() - this.peer = new Finalizable(ctorPtr, TextContentControllerBase.getFinalizer()) + constructor(width?: number, height?: number, data?: NativeBuffer) { + if (((width) !== (undefined)) || ((height) !== (undefined)) || ((data) !== (undefined))) + { + const ctorPtr: KPointer = ImageData.ctor_imagedata((width)!, (height)!, data) + this.peer = new Finalizable(ctorPtr, ImageData.getFinalizer()) + } } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TextContentControllerBase_getFinalizer() + return ArkUIGeneratedNativeModule._ImageData_getFinalizer() } - public getCaretOffset(): CaretOffset { - return this.getCaretOffset_serialize() + private getData(): NativeBuffer { + return this.getData_serialize() } - public getTextContentRect(): RectResult { - return this.getTextContentRect_serialize() + private getHeight(): number { + return this.getHeight_serialize() } - public getTextContentLineCount(): number { - return this.getTextContentLineCount_serialize() + private getWidth(): number { + return this.getWidth_serialize() } - private getCaretOffset_serialize(): CaretOffset { - const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_getCaretOffset(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: CaretOffset = retvalDeserializer.readCaretOffset() - return returnResult + private getData_serialize(): NativeBuffer { + const retval = ArkUIGeneratedNativeModule._ImageData_getData(this.peer!.ptr) + return new Deserializer(retval.buffer, retval.byteLength).readBuffer() } - private getTextContentRect_serialize(): RectResult { - const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_getTextContentRect(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: RectResult = retvalDeserializer.readRectResult() - return returnResult + private getHeight_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ImageData_getHeight(this.peer!.ptr) + return retval } - private getTextContentLineCount_serialize(): number { - const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_getTextContentLineCount(this.peer!.ptr) + private getWidth_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ImageData_getWidth(this.peer!.ptr) return retval } } -export class ChildrenMainSizeInternal { - public static fromPtr(ptr: KPointer): ChildrenMainSize { - const obj: ChildrenMainSize = new ChildrenMainSize(undefined) - obj.peer = new Finalizable(ptr, ChildrenMainSize.getFinalizer()) +export class RenderingContextSettingsInternal { + public static fromPtr(ptr: KPointer): RenderingContextSettings { + const obj: RenderingContextSettings = new RenderingContextSettings(undefined) + obj.peer = new Finalizable(ptr, RenderingContextSettings.getFinalizer()) return obj } } -export class ChildrenMainSize implements MaterializedBase { +export class RenderingContextSettings implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get childDefaultSize(): number { - return this.getChildDefaultSize() + get antialias(): boolean | undefined { + return this.getAntialias() } - set childDefaultSize(childDefaultSize: number) { - this.setChildDefaultSize(childDefaultSize) + set antialias(antialias: boolean | undefined) { + const antialias_NonNull = (antialias as boolean) + this.setAntialias(antialias_NonNull) } - static ctor_childrenmainsize(childDefaultSize: number): KPointer { - const retval = ArkUIGeneratedNativeModule._ChildrenMainSize_ctor(childDefaultSize) + static ctor_renderingcontextsettings(antialias?: boolean): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let antialias_type: int32 = RuntimeType.UNDEFINED + antialias_type = runtimeType(antialias) + thisSerializer.writeInt8(antialias_type) + if ((RuntimeType.UNDEFINED) != (antialias_type)) { + const antialias_value = antialias! + thisSerializer.writeBoolean(antialias_value) + } + const retval = ArkUIGeneratedNativeModule._RenderingContextSettings_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor(childDefaultSize?: number) { - if ((childDefaultSize) !== (undefined)) - { - const ctorPtr: KPointer = ChildrenMainSize.ctor_childrenmainsize((childDefaultSize)!) - this.peer = new Finalizable(ctorPtr, ChildrenMainSize.getFinalizer()) - } + constructor(antialias?: boolean) { + const ctorPtr: KPointer = RenderingContextSettings.ctor_renderingcontextsettings(antialias) + this.peer = new Finalizable(ctorPtr, RenderingContextSettings.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ChildrenMainSize_getFinalizer() - } - public splice(start: number, deleteCount?: number, childrenSize?: Array): void { - const start_casted = start as (number) - const deleteCount_casted = deleteCount as (number | undefined) - const childrenSize_casted = childrenSize as (Array | undefined) - this?.splice_serialize(start_casted, deleteCount_casted, childrenSize_casted) - return - } - public update(index: number, childSize: number): void { - const index_casted = index as (number) - const childSize_casted = childSize as (number) - this?.update_serialize(index_casted, childSize_casted) - return + return ArkUIGeneratedNativeModule._RenderingContextSettings_getFinalizer() } - private getChildDefaultSize(): number { - return this.getChildDefaultSize_serialize() + private getAntialias(): boolean | undefined { + return this.getAntialias_serialize() } - private setChildDefaultSize(childDefaultSize: number): void { - const childDefaultSize_casted = childDefaultSize as (number) - this?.setChildDefaultSize_serialize(childDefaultSize_casted) + private setAntialias(antialias: boolean): void { + const antialias_casted = antialias as (boolean) + this?.setAntialias_serialize(antialias_casted) return } - private splice_serialize(start: number, deleteCount?: number, childrenSize?: Array): void { - const thisSerializer: Serializer = Serializer.hold() - let deleteCount_type: int32 = RuntimeType.UNDEFINED - deleteCount_type = runtimeType(deleteCount) - thisSerializer.writeInt8(deleteCount_type) - if ((RuntimeType.UNDEFINED) != (deleteCount_type)) { - const deleteCount_value = deleteCount! - thisSerializer.writeNumber(deleteCount_value) - } - let childrenSize_type: int32 = RuntimeType.UNDEFINED - childrenSize_type = runtimeType(childrenSize) - thisSerializer.writeInt8(childrenSize_type) - if ((RuntimeType.UNDEFINED) != (childrenSize_type)) { - const childrenSize_value = childrenSize! - thisSerializer.writeInt32(childrenSize_value.length) - for (let i = 0; i < childrenSize_value.length; i++) { - const childrenSize_value_element: number = childrenSize_value[i] - thisSerializer.writeNumber(childrenSize_value_element) - } - } - ArkUIGeneratedNativeModule._ChildrenMainSize_splice(this.peer!.ptr, start, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private update_serialize(index: number, childSize: number): void { - ArkUIGeneratedNativeModule._ChildrenMainSize_update(this.peer!.ptr, index, childSize) - } - private getChildDefaultSize_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ChildrenMainSize_getChildDefaultSize(this.peer!.ptr) - return retval + private getAntialias_serialize(): boolean | undefined { + const retval = ArkUIGeneratedNativeModule._RenderingContextSettings_getAntialias(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private setChildDefaultSize_serialize(childDefaultSize: number): void { - ArkUIGeneratedNativeModule._ChildrenMainSize_setChildDefaultSize(this.peer!.ptr, childDefaultSize) + private setAntialias_serialize(antialias: boolean): void { + ArkUIGeneratedNativeModule._RenderingContextSettings_setAntialias(this.peer!.ptr, +antialias) } } -export interface UICommonEvent { - setOnClick(callback_: ((event: ClickEvent) => void) | undefined): void - setOnTouch(callback_: ((event: TouchEvent) => void) | undefined): void - setOnAppear(callback_: (() => void) | undefined): void - setOnDisappear(callback_: (() => void) | undefined): void - setOnKeyEvent(callback_: ((event: KeyEvent) => void) | undefined): void - setOnFocus(callback_: (() => void) | undefined): void - setOnBlur(callback_: (() => void) | undefined): void - setOnHover(callback_: HoverCallback | undefined): void - setOnMouse(callback_: ((event: MouseEvent) => void) | undefined): void - setOnSizeChange(callback_: SizeChangeCallback | undefined): void - setOnVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void +export class OffscreenCanvasInternal { + public static fromPtr(ptr: KPointer): OffscreenCanvas { + const obj: OffscreenCanvas = new OffscreenCanvas(undefined, undefined) + obj.peer = new Finalizable(ptr, OffscreenCanvas.getFinalizer()) + return obj + } } -export class UICommonEventInternal implements MaterializedBase,UICommonEvent { +export class OffscreenCanvas implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_uicommonevent(): KPointer { - const retval = ArkUIGeneratedNativeModule._UICommonEvent_ctor() - return retval + get height(): number { + return this.getHeight() } - constructor() { - const ctorPtr: KPointer = UICommonEventInternal.ctor_uicommonevent() - this.peer = new Finalizable(ctorPtr, UICommonEventInternal.getFinalizer()) + set height(height: number) { + this.setHeight(height) } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._UICommonEvent_getFinalizer() + get width(): number { + return this.getWidth() } - public setOnClick(callback_: ((event: ClickEvent) => void) | undefined): void { - const callback__casted = callback_ as (((event: ClickEvent) => void) | undefined) - this?.setOnClick_serialize(callback__casted) - return + set width(width: number) { + this.setWidth(width) } - public setOnTouch(callback_: ((event: TouchEvent) => void) | undefined): void { - const callback__casted = callback_ as (((event: TouchEvent) => void) | undefined) - this?.setOnTouch_serialize(callback__casted) - return + static ctor_offscreencanvas(width: number, height: number): KPointer { + const retval = ArkUIGeneratedNativeModule._OffscreenCanvas_ctor(width, height) + return retval } - public setOnAppear(callback_: (() => void) | undefined): void { - const callback__casted = callback_ as ((() => void) | undefined) - this?.setOnAppear_serialize(callback__casted) - return + constructor(width?: number, height?: number) { + if (((width) !== (undefined)) || ((height) !== (undefined))) + { + const ctorPtr: KPointer = OffscreenCanvas.ctor_offscreencanvas((width)!, (height)!) + this.peer = new Finalizable(ctorPtr, OffscreenCanvas.getFinalizer()) + } } - public setOnDisappear(callback_: (() => void) | undefined): void { - const callback__casted = callback_ as ((() => void) | undefined) - this?.setOnDisappear_serialize(callback__casted) - return + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._OffscreenCanvas_getFinalizer() } - public setOnKeyEvent(callback_: ((event: KeyEvent) => void) | undefined): void { - const callback__casted = callback_ as (((event: KeyEvent) => void) | undefined) - this?.setOnKeyEvent_serialize(callback__casted) - return + public transferToImageBitmap(): ImageBitmap { + return this.transferToImageBitmap_serialize() } - public setOnFocus(callback_: (() => void) | undefined): void { - const callback__casted = callback_ as ((() => void) | undefined) - this?.setOnFocus_serialize(callback__casted) - return + public getContext2d(options?: RenderingContextSettings): OffscreenCanvasRenderingContext2D { + const options_casted = options as (RenderingContextSettings | undefined) + return this.getContext2d_serialize(options_casted) } - public setOnBlur(callback_: (() => void) | undefined): void { - const callback__casted = callback_ as ((() => void) | undefined) - this?.setOnBlur_serialize(callback__casted) - return + private getHeight(): number { + return this.getHeight_serialize() } - public setOnHover(callback_: HoverCallback | undefined): void { - const callback__casted = callback_ as (HoverCallback | undefined) - this?.setOnHover_serialize(callback__casted) + private setHeight(height: number): void { + const height_casted = height as (number) + this?.setHeight_serialize(height_casted) return } - public setOnMouse(callback_: ((event: MouseEvent) => void) | undefined): void { - const callback__casted = callback_ as (((event: MouseEvent) => void) | undefined) - this?.setOnMouse_serialize(callback__casted) + private getWidth(): number { + return this.getWidth_serialize() + } + private setWidth(width: number): void { + const width_casted = width as (number) + this?.setWidth_serialize(width_casted) return } - public setOnSizeChange(callback_: SizeChangeCallback | undefined): void { - const callback__casted = callback_ as (SizeChangeCallback | undefined) - this?.setOnSizeChange_serialize(callback__casted) - return + getContext(contextType: string, options: RenderingContextSettings): OffscreenCanvasRenderingContext2D { + throw new Error("TBD") } - public setOnVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void { - const options_casted = options as (VisibleAreaEventOptions) - const event_casted = event as (VisibleAreaChangeCallback | undefined) - this?.setOnVisibleAreaApproximateChange_serialize(options_casted, event_casted) - return + private transferToImageBitmap_serialize(): ImageBitmap { + const retval = ArkUIGeneratedNativeModule._OffscreenCanvas_transferToImageBitmap(this.peer!.ptr) + const obj: ImageBitmap = ImageBitmapInternal.fromPtr(retval) + return obj } - private setOnClick_serialize(callback_: ((event: ClickEvent) => void) | undefined): void { + private getContext2d_serialize(options?: RenderingContextSettings): OffscreenCanvasRenderingContext2D { const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeRenderingContextSettings(options_value) } - ArkUIGeneratedNativeModule._UICommonEvent_setOnClick(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._OffscreenCanvas_getContext2d(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + const obj: OffscreenCanvasRenderingContext2D = OffscreenCanvasRenderingContext2DInternal.fromPtr(retval) + return obj } - private setOnTouch_serialize(callback_: ((event: TouchEvent) => void) | undefined): void { - const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) - } - ArkUIGeneratedNativeModule._UICommonEvent_setOnTouch(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getHeight_serialize(): number { + const retval = ArkUIGeneratedNativeModule._OffscreenCanvas_getHeight(this.peer!.ptr) + return retval } - private setOnAppear_serialize(callback_: (() => void) | undefined): void { - const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) - } - ArkUIGeneratedNativeModule._UICommonEvent_setOnAppear(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private setHeight_serialize(height: number): void { + ArkUIGeneratedNativeModule._OffscreenCanvas_setHeight(this.peer!.ptr, height) } - private setOnDisappear_serialize(callback_: (() => void) | undefined): void { - const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) - } - ArkUIGeneratedNativeModule._UICommonEvent_setOnDisappear(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getWidth_serialize(): number { + const retval = ArkUIGeneratedNativeModule._OffscreenCanvas_getWidth(this.peer!.ptr) + return retval } - private setOnKeyEvent_serialize(callback_: ((event: KeyEvent) => void) | undefined): void { - const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) - } - ArkUIGeneratedNativeModule._UICommonEvent_setOnKeyEvent(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private setWidth_serialize(width: number): void { + ArkUIGeneratedNativeModule._OffscreenCanvas_setWidth(this.peer!.ptr, width) } - private setOnFocus_serialize(callback_: (() => void) | undefined): void { - const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) - } - ArkUIGeneratedNativeModule._UICommonEvent_setOnFocus(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() +} +export class DrawingRenderingContextInternal { + public static fromPtr(ptr: KPointer): DrawingRenderingContext { + const obj: DrawingRenderingContext = new DrawingRenderingContext(undefined) + obj.peer = new Finalizable(ptr, DrawingRenderingContext.getFinalizer()) + return obj } - private setOnBlur_serialize(callback_: (() => void) | undefined): void { - const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) - } - ArkUIGeneratedNativeModule._UICommonEvent_setOnBlur(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() +} +export class DrawingRenderingContext implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - private setOnHover_serialize(callback_: HoverCallback | undefined): void { - const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) - } - ArkUIGeneratedNativeModule._UICommonEvent_setOnHover(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + get size(): Size { + throw new Error("Not implemented") } - private setOnMouse_serialize(callback_: ((event: MouseEvent) => void) | undefined): void { - const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) - } - ArkUIGeneratedNativeModule._UICommonEvent_setOnMouse(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + get canvas(): DrawingCanvas { + return this.getCanvas() } - private setOnSizeChange_serialize(callback_: SizeChangeCallback | undefined): void { + static ctor_drawingrenderingcontext(unit?: LengthMetricsUnit): KPointer { const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) + let unit_type: int32 = RuntimeType.UNDEFINED + unit_type = runtimeType(unit) + thisSerializer.writeInt8(unit_type) + if ((RuntimeType.UNDEFINED) != (unit_type)) { + const unit_value = unit! + thisSerializer.writeInt32(unit_value.valueOf()) } - ArkUIGeneratedNativeModule._UICommonEvent_setOnSizeChange(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._DrawingRenderingContext_ctor(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + return retval } - private setOnVisibleAreaApproximateChange_serialize(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeVisibleAreaEventOptions(options) - let event_type: int32 = RuntimeType.UNDEFINED - event_type = runtimeType(event) - thisSerializer.writeInt8(event_type) - if ((RuntimeType.UNDEFINED) != (event_type)) { - const event_value = event! - thisSerializer.holdAndWriteCallback(event_value) - } - ArkUIGeneratedNativeModule._UICommonEvent_setOnVisibleAreaApproximateChange(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + constructor(unit?: LengthMetricsUnit) { + const ctorPtr: KPointer = DrawingRenderingContext.ctor_drawingrenderingcontext(unit) + this.peer = new Finalizable(ctorPtr, DrawingRenderingContext.getFinalizer()) } - public static fromPtr(ptr: KPointer): UICommonEventInternal { - const obj: UICommonEventInternal = new UICommonEventInternal() - obj.peer = new Finalizable(ptr, UICommonEventInternal.getFinalizer()) + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._DrawingRenderingContext_getFinalizer() + } + public invalidate(): void { + this?.invalidate_serialize() + return + } + private getSize(): Size { + return this.getSize_serialize() + } + private getCanvas(): DrawingCanvas { + return this.getCanvas_serialize() + } + private invalidate_serialize(): void { + ArkUIGeneratedNativeModule._DrawingRenderingContext_invalidate(this.peer!.ptr) + } + private getSize_serialize(): Size { + const retval = ArkUIGeneratedNativeModule._DrawingRenderingContext_getSize(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: Size = retvalDeserializer.readSize() + return returnResult + } + private getCanvas_serialize(): DrawingCanvas { + const retval = ArkUIGeneratedNativeModule._DrawingRenderingContext_getCanvas(this.peer!.ptr) + const obj: DrawingCanvas = DrawingCanvasInternal.fromPtr(retval) return obj } } -export interface GestureModifier { - applyGesture(event: UIGestureEvent): void +export class ContextMenu { + public static close(): void { + ContextMenu.close_serialize() + return + } + private static close_serialize(): void { + ArkUIGeneratedNativeModule._ContextMenu_close() + } } -export class GestureModifierInternal implements MaterializedBase,GestureModifier { +export class CustomDialogControllerInternal { + public static fromPtr(ptr: KPointer): CustomDialogController { + const obj: CustomDialogController = new CustomDialogController(undefined) + obj.peer = new Finalizable(ptr, CustomDialogController.getFinalizer()) + return obj + } +} +export class CustomDialogController implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_gesturemodifier(): KPointer { - const retval = ArkUIGeneratedNativeModule._GestureModifier_ctor() + static ctor_customdialogcontroller(value: CustomDialogControllerOptions): KPointer { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeCustomDialogControllerOptions(value) + const retval = ArkUIGeneratedNativeModule._CustomDialogController_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor() { - const ctorPtr: KPointer = GestureModifierInternal.ctor_gesturemodifier() - this.peer = new Finalizable(ctorPtr, GestureModifierInternal.getFinalizer()) + constructor(value?: CustomDialogControllerOptions) { + if ((value) !== (undefined)) + { + const ctorPtr: KPointer = CustomDialogController.ctor_customdialogcontroller((value)!) + this.peer = new Finalizable(ctorPtr, CustomDialogController.getFinalizer()) + } } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._GestureModifier_getFinalizer() + return ArkUIGeneratedNativeModule._CustomDialogController_getFinalizer() } - public applyGesture(event: UIGestureEvent): void { - const event_casted = event as (UIGestureEvent) - this?.applyGesture_serialize(event_casted) + public open(): void { + this?.open_serialize() return } - private applyGesture_serialize(event: UIGestureEvent): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeUIGestureEvent(event) - ArkUIGeneratedNativeModule._GestureModifier_applyGesture(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + public close(): void { + this?.close_serialize() + return } - public static fromPtr(ptr: KPointer): GestureModifierInternal { - const obj: GestureModifierInternal = new GestureModifierInternal() - obj.peer = new Finalizable(ptr, GestureModifierInternal.getFinalizer()) - return obj + private open_serialize(): void { + ArkUIGeneratedNativeModule._CustomDialogController_open(this.peer!.ptr) + } + private close_serialize(): void { + ArkUIGeneratedNativeModule._CustomDialogController_close(this.peer!.ptr) } } -export class CanvasGradientInternal { - public static fromPtr(ptr: KPointer): CanvasGradient { - const obj: CanvasGradient = new CanvasGradient() - obj.peer = new Finalizable(ptr, CanvasGradient.getFinalizer()) +export class LinearGradientInternal { + public static fromPtr(ptr: KPointer): LinearGradient { + const obj: LinearGradient = new LinearGradient(undefined) + obj.peer = new Finalizable(ptr, LinearGradient.getFinalizer()) return obj } } -export class CanvasGradient implements MaterializedBase { +export class LinearGradient implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_canvasgradient(): KPointer { - const retval = ArkUIGeneratedNativeModule._CanvasGradient_ctor() + static ctor_lineargradient(colorStops: Array): KPointer { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(colorStops.length) + for (let i = 0; i < colorStops.length; i++) { + const colorStops_element: ColorStop = colorStops[i] + thisSerializer.writeColorStop(colorStops_element) + } + const retval = ArkUIGeneratedNativeModule._LinearGradient_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor() { - const ctorPtr: KPointer = CanvasGradient.ctor_canvasgradient() - this.peer = new Finalizable(ctorPtr, CanvasGradient.getFinalizer()) + constructor(colorStops?: Array) { + if ((colorStops) !== (undefined)) + { + const ctorPtr: KPointer = LinearGradient.ctor_lineargradient((colorStops)!) + this.peer = new Finalizable(ctorPtr, LinearGradient.getFinalizer()) + } } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._CanvasGradient_getFinalizer() + return ArkUIGeneratedNativeModule._LinearGradient_getFinalizer() } - public addColorStop(offset: number, color: string): void { - const offset_casted = offset as (number) - const color_casted = color as (string) - this?.addColorStop_serialize(offset_casted, color_casted) +} +export class DatePickerDialog { + public static show(options?: DatePickerDialogOptions): void { + const options_casted = options as (DatePickerDialogOptions | undefined) + DatePickerDialog.show_serialize(options_casted) return } - private addColorStop_serialize(offset: number, color: string): void { - ArkUIGeneratedNativeModule._CanvasGradient_addColorStop(this.peer!.ptr, offset, color) + private static show_serialize(options?: DatePickerDialogOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeDatePickerDialogOptions(options_value) + } + ArkUIGeneratedNativeModule._DatePickerDialog_show(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } } -export class CanvasPathInternal { - public static fromPtr(ptr: KPointer): CanvasPath { - const obj: CanvasPath = new CanvasPath() - obj.peer = new Finalizable(ptr, CanvasPath.getFinalizer()) - return obj - } +export interface TapGestureInterface { + onAction(event: ((event: GestureEvent) => void)): TapGestureInterface } -export class CanvasPath implements MaterializedBase { +export class TapGestureInterfaceInternal implements MaterializedBase,GestureInterface,TapGestureInterface { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_canvaspath(): KPointer { - const retval = ArkUIGeneratedNativeModule._CanvasPath_ctor() + static ctor_tapgestureinterface(value?: TapGestureParameters): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeTapGestureParameters(value_value) + } + const retval = ArkUIGeneratedNativeModule._TapGestureInterface_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor() { - const ctorPtr: KPointer = CanvasPath.ctor_canvaspath() - this.peer = new Finalizable(ctorPtr, CanvasPath.getFinalizer()) + constructor(value?: TapGestureParameters) { + const ctorPtr: KPointer = TapGestureInterfaceInternal.ctor_tapgestureinterface(value) + this.peer = new Finalizable(ctorPtr, TapGestureInterfaceInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._CanvasPath_getFinalizer() - } - public arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void { - const x_casted = x as (number) - const y_casted = y as (number) - const radius_casted = radius as (number) - const startAngle_casted = startAngle as (number) - const endAngle_casted = endAngle as (number) - const counterclockwise_casted = counterclockwise as (boolean | undefined) - this?.arc_serialize(x_casted, y_casted, radius_casted, startAngle_casted, endAngle_casted, counterclockwise_casted) - return - } - public arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void { - const x1_casted = x1 as (number) - const y1_casted = y1 as (number) - const x2_casted = x2 as (number) - const y2_casted = y2 as (number) - const radius_casted = radius as (number) - this?.arcTo_serialize(x1_casted, y1_casted, x2_casted, y2_casted, radius_casted) - return - } - public bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void { - const cp1x_casted = cp1x as (number) - const cp1y_casted = cp1y as (number) - const cp2x_casted = cp2x as (number) - const cp2y_casted = cp2y as (number) - const x_casted = x as (number) - const y_casted = y as (number) - this?.bezierCurveTo_serialize(cp1x_casted, cp1y_casted, cp2x_casted, cp2y_casted, x_casted, y_casted) - return - } - public closePath(): void { - this?.closePath_serialize() - return - } - public ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void { - const x_casted = x as (number) - const y_casted = y as (number) - const radiusX_casted = radiusX as (number) - const radiusY_casted = radiusY as (number) - const rotation_casted = rotation as (number) - const startAngle_casted = startAngle as (number) - const endAngle_casted = endAngle as (number) - const counterclockwise_casted = counterclockwise as (boolean | undefined) - this?.ellipse_serialize(x_casted, y_casted, radiusX_casted, radiusY_casted, rotation_casted, startAngle_casted, endAngle_casted, counterclockwise_casted) - return + return ArkUIGeneratedNativeModule._TapGestureInterface_getFinalizer() } - public lineTo(x: number, y: number): void { - const x_casted = x as (number) - const y_casted = y as (number) - this?.lineTo_serialize(x_casted, y_casted) - return + public onAction(event: ((event: GestureEvent) => void)): TapGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onAction_serialize(event_casted) } - public moveTo(x: number, y: number): void { - const x_casted = x as (number) - const y_casted = y as (number) - this?.moveTo_serialize(x_casted, y_casted) - return + private onAction_serialize(event: ((event: GestureEvent) => void)): TapGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._TapGestureInterface_onAction(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: TapGestureInterface = TapGestureInterfaceInternal.fromPtr(retval) + return obj } - public quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void { - const cpx_casted = cpx as (number) - const cpy_casted = cpy as (number) - const x_casted = x as (number) - const y_casted = y as (number) - this?.quadraticCurveTo_serialize(cpx_casted, cpy_casted, x_casted, y_casted) - return + public static fromPtr(ptr: KPointer): TapGestureInterfaceInternal { + const obj: TapGestureInterfaceInternal = new TapGestureInterfaceInternal(undefined) + obj.peer = new Finalizable(ptr, TapGestureInterfaceInternal.getFinalizer()) + return obj } - public rect(x: number, y: number, w: number, h: number): void { - const x_casted = x as (number) - const y_casted = y as (number) - const w_casted = w as (number) - const h_casted = h as (number) - this?.rect_serialize(x_casted, y_casted, w_casted, h_casted) - return +} +export interface LongPressGestureInterface { + onAction(event: ((event: GestureEvent) => void)): LongPressGestureInterface + onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureInterface + onActionCancel(event: (() => void)): LongPressGestureInterface + onActionCancel(event: ((event: GestureEvent) => void)): LongPressGestureInterface +} +export class LongPressGestureInterfaceInternal implements MaterializedBase,GestureInterface,LongPressGestureInterface { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - private arc_serialize(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void { + static ctor_longpressgestureinterface(value?: { fingers?: number, repeat?: boolean, duration?: number }): KPointer { const thisSerializer: Serializer = Serializer.hold() - let counterclockwise_type: int32 = RuntimeType.UNDEFINED - counterclockwise_type = runtimeType(counterclockwise) - thisSerializer.writeInt8(counterclockwise_type) - if ((RuntimeType.UNDEFINED) != (counterclockwise_type)) { - const counterclockwise_value = counterclockwise! - thisSerializer.writeBoolean(counterclockwise_value) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + const value_value_fingers = value_value.fingers + let value_value_fingers_type: int32 = RuntimeType.UNDEFINED + value_value_fingers_type = runtimeType(value_value_fingers) + thisSerializer.writeInt8(value_value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { + const value_value_fingers_value = value_value_fingers! + thisSerializer.writeNumber(value_value_fingers_value) + } + const value_value_repeat = value_value.repeat + let value_value_repeat_type: int32 = RuntimeType.UNDEFINED + value_value_repeat_type = runtimeType(value_value_repeat) + thisSerializer.writeInt8(value_value_repeat_type) + if ((RuntimeType.UNDEFINED) != (value_value_repeat_type)) { + const value_value_repeat_value = value_value_repeat! + thisSerializer.writeBoolean(value_value_repeat_value) + } + const value_value_duration = value_value.duration + let value_value_duration_type: int32 = RuntimeType.UNDEFINED + value_value_duration_type = runtimeType(value_value_duration) + thisSerializer.writeInt8(value_value_duration_type) + if ((RuntimeType.UNDEFINED) != (value_value_duration_type)) { + const value_value_duration_value = value_value_duration! + thisSerializer.writeNumber(value_value_duration_value) + } } - ArkUIGeneratedNativeModule._CanvasPath_arc(this.peer!.ptr, x, y, radius, startAngle, endAngle, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._LongPressGestureInterface_ctor(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + return retval } - private arcTo_serialize(x1: number, y1: number, x2: number, y2: number, radius: number): void { - ArkUIGeneratedNativeModule._CanvasPath_arcTo(this.peer!.ptr, x1, y1, x2, y2, radius) + constructor(value?: { fingers?: number, repeat?: boolean, duration?: number }) { + const ctorPtr: KPointer = LongPressGestureInterfaceInternal.ctor_longpressgestureinterface(value) + this.peer = new Finalizable(ctorPtr, LongPressGestureInterfaceInternal.getFinalizer()) } - private bezierCurveTo_serialize(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void { - ArkUIGeneratedNativeModule._CanvasPath_bezierCurveTo(this.peer!.ptr, cp1x, cp1y, cp2x, cp2y, x, y) + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LongPressGestureInterface_getFinalizer() } - private closePath_serialize(): void { - ArkUIGeneratedNativeModule._CanvasPath_closePath(this.peer!.ptr) + public onAction(event: ((event: GestureEvent) => void)): LongPressGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onAction_serialize(event_casted) } - private ellipse_serialize(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void { - const thisSerializer: Serializer = Serializer.hold() - let counterclockwise_type: int32 = RuntimeType.UNDEFINED - counterclockwise_type = runtimeType(counterclockwise) - thisSerializer.writeInt8(counterclockwise_type) - if ((RuntimeType.UNDEFINED) != (counterclockwise_type)) { - const counterclockwise_value = counterclockwise! - thisSerializer.writeBoolean(counterclockwise_value) + public onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionEnd_serialize(event_casted) + } + public onActionCancel(event: (() => void) | ((event: GestureEvent) => void)): LongPressGestureInterface { + const event_type = runtimeType(event) + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as ((() => void)) + return this.onActionCancel0_serialize(event_casted) } - ArkUIGeneratedNativeModule._CanvasPath_ellipse(this.peer!.ptr, x, y, radiusX, radiusY, rotation, startAngle, endAngle, thisSerializer.asBuffer(), thisSerializer.length()) + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionCancel1_serialize(event_casted) + } + throw new Error("Can not select appropriate overload") + } + private onAction_serialize(event: ((event: GestureEvent) => void)): LongPressGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._LongPressGestureInterface_onAction(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + const obj: LongPressGestureInterface = LongPressGestureInterfaceInternal.fromPtr(retval) + return obj } - private lineTo_serialize(x: number, y: number): void { - ArkUIGeneratedNativeModule._CanvasPath_lineTo(this.peer!.ptr, x, y) + private onActionEnd_serialize(event: ((event: GestureEvent) => void)): LongPressGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._LongPressGestureInterface_onActionEnd(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: LongPressGestureInterface = LongPressGestureInterfaceInternal.fromPtr(retval) + return obj } - private moveTo_serialize(x: number, y: number): void { - ArkUIGeneratedNativeModule._CanvasPath_moveTo(this.peer!.ptr, x, y) + private onActionCancel0_serialize(event: (() => void)): LongPressGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._LongPressGestureInterface_onActionCancel0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: LongPressGestureInterface = LongPressGestureInterfaceInternal.fromPtr(retval) + return obj } - private quadraticCurveTo_serialize(cpx: number, cpy: number, x: number, y: number): void { - ArkUIGeneratedNativeModule._CanvasPath_quadraticCurveTo(this.peer!.ptr, cpx, cpy, x, y) + private onActionCancel1_serialize(event: ((event: GestureEvent) => void)): LongPressGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._LongPressGestureInterface_onActionCancel1(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: LongPressGestureInterface = LongPressGestureInterfaceInternal.fromPtr(retval) + return obj } - private rect_serialize(x: number, y: number, w: number, h: number): void { - ArkUIGeneratedNativeModule._CanvasPath_rect(this.peer!.ptr, x, y, w, h) + public static fromPtr(ptr: KPointer): LongPressGestureInterfaceInternal { + const obj: LongPressGestureInterfaceInternal = new LongPressGestureInterfaceInternal(undefined) + obj.peer = new Finalizable(ptr, LongPressGestureInterfaceInternal.getFinalizer()) + return obj } } -export interface CanvasPattern { - setTransform(transform: Matrix2D | undefined): void +export class PanGestureOptionsInternal { + public static fromPtr(ptr: KPointer): PanGestureOptions { + const obj: PanGestureOptions = new PanGestureOptions(undefined) + obj.peer = new Finalizable(ptr, PanGestureOptions.getFinalizer()) + return obj + } } -export class CanvasPatternInternal implements MaterializedBase,CanvasPattern { +export class PanGestureOptions implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_canvaspattern(): KPointer { - const retval = ArkUIGeneratedNativeModule._CanvasPattern_ctor() + static ctor_pangestureoptions(value?: { fingers?: number, direction?: PanDirection, distance?: number }): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + const value_value_fingers = value_value.fingers + let value_value_fingers_type: int32 = RuntimeType.UNDEFINED + value_value_fingers_type = runtimeType(value_value_fingers) + thisSerializer.writeInt8(value_value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { + const value_value_fingers_value = value_value_fingers! + thisSerializer.writeNumber(value_value_fingers_value) + } + const value_value_direction = value_value.direction + let value_value_direction_type: int32 = RuntimeType.UNDEFINED + value_value_direction_type = runtimeType(value_value_direction) + thisSerializer.writeInt8(value_value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_value_direction_type)) { + const value_value_direction_value = value_value_direction! + thisSerializer.writeInt32(value_value_direction_value.valueOf()) + } + const value_value_distance = value_value.distance + let value_value_distance_type: int32 = RuntimeType.UNDEFINED + value_value_distance_type = runtimeType(value_value_distance) + thisSerializer.writeInt8(value_value_distance_type) + if ((RuntimeType.UNDEFINED) != (value_value_distance_type)) { + const value_value_distance_value = value_value_distance! + thisSerializer.writeNumber(value_value_distance_value) + } + } + const retval = ArkUIGeneratedNativeModule._PanGestureOptions_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor() { - const ctorPtr: KPointer = CanvasPatternInternal.ctor_canvaspattern() - this.peer = new Finalizable(ctorPtr, CanvasPatternInternal.getFinalizer()) + constructor(value?: { fingers?: number, direction?: PanDirection, distance?: number }) { + const ctorPtr: KPointer = PanGestureOptions.ctor_pangestureoptions(value) + this.peer = new Finalizable(ctorPtr, PanGestureOptions.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._CanvasPattern_getFinalizer() + return ArkUIGeneratedNativeModule._PanGestureOptions_getFinalizer() } - public setTransform(transform?: Matrix2D): void { - const transform_casted = transform as (Matrix2D | undefined) - this?.setTransform_serialize(transform_casted) + public setDirection(value: PanDirection): void { + const value_casted = value as (PanDirection) + this?.setDirection_serialize(value_casted) return } - private setTransform_serialize(transform?: Matrix2D): void { - const thisSerializer: Serializer = Serializer.hold() - let transform_type: int32 = RuntimeType.UNDEFINED - transform_type = runtimeType(transform) - thisSerializer.writeInt8(transform_type) - if ((RuntimeType.UNDEFINED) != (transform_type)) { - const transform_value = transform! - thisSerializer.writeMatrix2D(transform_value) - } - ArkUIGeneratedNativeModule._CanvasPattern_setTransform(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + public setDistance(value: number): void { + const value_casted = value as (number) + this?.setDistance_serialize(value_casted) + return } - public static fromPtr(ptr: KPointer): CanvasPatternInternal { - const obj: CanvasPatternInternal = new CanvasPatternInternal() - obj.peer = new Finalizable(ptr, CanvasPatternInternal.getFinalizer()) - return obj + public setFingers(value: number): void { + const value_casted = value as (number) + this?.setFingers_serialize(value_casted) + return } -} -export class ImageBitmapInternal { - public static fromPtr(ptr: KPointer): ImageBitmap { - const obj: ImageBitmap = new ImageBitmap(undefined) - obj.peer = new Finalizable(ptr, ImageBitmap.getFinalizer()) - return obj + public getDirection(): PanDirection { + return this.getDirection_serialize() + } + public getDistance(): number { + return this.getDistance_serialize() + } + private setDirection_serialize(value: PanDirection): void { + ArkUIGeneratedNativeModule._PanGestureOptions_setDirection(this.peer!.ptr, value.valueOf()) + } + private setDistance_serialize(value: number): void { + ArkUIGeneratedNativeModule._PanGestureOptions_setDistance(this.peer!.ptr, value) + } + private setFingers_serialize(value: number): void { + ArkUIGeneratedNativeModule._PanGestureOptions_setFingers(this.peer!.ptr, value) + } + private getDirection_serialize(): PanDirection { + const retval = ArkUIGeneratedNativeModule._PanGestureOptions_getDirection(this.peer!.ptr) + return retval + } + private getDistance_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PanGestureOptions_getDistance(this.peer!.ptr) + return retval } } -export class ImageBitmap implements MaterializedBase { +export interface PanGestureInterface { + onActionStart(event: ((event: GestureEvent) => void)): PanGestureInterface + onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureInterface + onActionEnd(event: ((event: GestureEvent) => void)): PanGestureInterface + onActionCancel(event: (() => void)): PanGestureInterface + onActionCancel(event: ((event: GestureEvent) => void)): PanGestureInterface +} +export class PanGestureInterfaceInternal implements MaterializedBase,GestureInterface,PanGestureInterface { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get height(): number { - return this.getHeight() - } - get width(): number { - return this.getWidth() - } - static ctor_imagebitmap(src: string): KPointer { - const retval = ArkUIGeneratedNativeModule._ImageBitmap_ctor(src) + static ctor_pangestureinterface(value?: { fingers?: number, direction?: PanDirection, distance?: number } | PanGestureOptions): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.OBJECT) == (value_value_type)) && (((value_value!.hasOwnProperty("fingers")) || (value_value!.hasOwnProperty("direction")) || (value_value!.hasOwnProperty("distance"))))) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast<{ fingers?: number, direction?: PanDirection, distance?: number }>(value_value) + const value_value_0_fingers = value_value_0.fingers + let value_value_0_fingers_type: int32 = RuntimeType.UNDEFINED + value_value_0_fingers_type = runtimeType(value_value_0_fingers) + thisSerializer.writeInt8(value_value_0_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_value_0_fingers_type)) { + const value_value_0_fingers_value = value_value_0_fingers! + thisSerializer.writeNumber(value_value_0_fingers_value) + } + const value_value_0_direction = value_value_0.direction + let value_value_0_direction_type: int32 = RuntimeType.UNDEFINED + value_value_0_direction_type = runtimeType(value_value_0_direction) + thisSerializer.writeInt8(value_value_0_direction_type) + if ((RuntimeType.UNDEFINED) != (value_value_0_direction_type)) { + const value_value_0_direction_value = value_value_0_direction! + thisSerializer.writeInt32(value_value_0_direction_value.valueOf()) + } + const value_value_0_distance = value_value_0.distance + let value_value_0_distance_type: int32 = RuntimeType.UNDEFINED + value_value_0_distance_type = runtimeType(value_value_0_distance) + thisSerializer.writeInt8(value_value_0_distance_type) + if ((RuntimeType.UNDEFINED) != (value_value_0_distance_type)) { + const value_value_0_distance_value = value_value_0_distance! + thisSerializer.writeNumber(value_value_0_distance_value) + } + } + else if (((RuntimeType.OBJECT) == (value_value_type)) && (value_value instanceof PanGestureOptions)) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writePanGestureOptions(value_value_1) + } + } + const retval = ArkUIGeneratedNativeModule._PanGestureInterface_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor(src?: string) { - if ((src) !== (undefined)) - { - const ctorPtr: KPointer = ImageBitmap.ctor_imagebitmap((src)!) - this.peer = new Finalizable(ctorPtr, ImageBitmap.getFinalizer()) - } + constructor(value?: { fingers?: number, direction?: PanDirection, distance?: number } | PanGestureOptions) { + const ctorPtr: KPointer = PanGestureInterfaceInternal.ctor_pangestureinterface(value) + this.peer = new Finalizable(ctorPtr, PanGestureInterfaceInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ImageBitmap_getFinalizer() + return ArkUIGeneratedNativeModule._PanGestureInterface_getFinalizer() } - public close(): void { - this?.close_serialize() - return + public onActionStart(event: ((event: GestureEvent) => void)): PanGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionStart_serialize(event_casted) } - private getHeight(): number { - return this.getHeight_serialize() + public onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionUpdate_serialize(event_casted) } - private getWidth(): number { - return this.getWidth_serialize() + public onActionEnd(event: ((event: GestureEvent) => void)): PanGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionEnd_serialize(event_casted) } - private close_serialize(): void { - ArkUIGeneratedNativeModule._ImageBitmap_close(this.peer!.ptr) + public onActionCancel(event: (() => void) | ((event: GestureEvent) => void)): PanGestureInterface { + const event_type = runtimeType(event) + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as ((() => void)) + return this.onActionCancel0_serialize(event_casted) + } + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionCancel1_serialize(event_casted) + } + throw new Error("Can not select appropriate overload") + } + private onActionStart_serialize(event: ((event: GestureEvent) => void)): PanGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureInterface_onActionStart(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: PanGestureInterface = PanGestureInterfaceInternal.fromPtr(retval) + return obj + } + private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): PanGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureInterface_onActionUpdate(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: PanGestureInterface = PanGestureInterfaceInternal.fromPtr(retval) + return obj + } + private onActionEnd_serialize(event: ((event: GestureEvent) => void)): PanGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureInterface_onActionEnd(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: PanGestureInterface = PanGestureInterfaceInternal.fromPtr(retval) + return obj } - private getHeight_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ImageBitmap_getHeight(this.peer!.ptr) - return retval + private onActionCancel0_serialize(event: (() => void)): PanGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureInterface_onActionCancel0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: PanGestureInterface = PanGestureInterfaceInternal.fromPtr(retval) + return obj } - private getWidth_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ImageBitmap_getWidth(this.peer!.ptr) - return retval + private onActionCancel1_serialize(event: ((event: GestureEvent) => void)): PanGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureInterface_onActionCancel1(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: PanGestureInterface = PanGestureInterfaceInternal.fromPtr(retval) + return obj } -} -export class ImageDataInternal { - public static fromPtr(ptr: KPointer): ImageData { - const obj: ImageData = new ImageData(undefined, undefined, undefined) - obj.peer = new Finalizable(ptr, ImageData.getFinalizer()) + public static fromPtr(ptr: KPointer): PanGestureInterfaceInternal { + const obj: PanGestureInterfaceInternal = new PanGestureInterfaceInternal(undefined) + obj.peer = new Finalizable(ptr, PanGestureInterfaceInternal.getFinalizer()) return obj } } -export class ImageData implements MaterializedBase { +export interface SwipeGestureInterface { + onAction(event: ((event: GestureEvent) => void)): SwipeGestureInterface +} +export class SwipeGestureInterfaceInternal implements MaterializedBase,GestureInterface,SwipeGestureInterface { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get data(): NativeBuffer { - throw new Error("Not implemented") - } - get height(): number { - return this.getHeight() - } - get width(): number { - return this.getWidth() - } - static ctor_imagedata(width: number, height: number, data?: NativeBuffer): KPointer { + static ctor_swipegestureinterface(value?: { fingers?: number, direction?: SwipeDirection, speed?: number }): KPointer { const thisSerializer: Serializer = Serializer.hold() - let data_type: int32 = RuntimeType.UNDEFINED - data_type = runtimeType(data) - thisSerializer.writeInt8(data_type) - if ((RuntimeType.UNDEFINED) != (data_type)) { - const data_value = data! - thisSerializer.writeBuffer(data_value) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + const value_value_fingers = value_value.fingers + let value_value_fingers_type: int32 = RuntimeType.UNDEFINED + value_value_fingers_type = runtimeType(value_value_fingers) + thisSerializer.writeInt8(value_value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { + const value_value_fingers_value = value_value_fingers! + thisSerializer.writeNumber(value_value_fingers_value) + } + const value_value_direction = value_value.direction + let value_value_direction_type: int32 = RuntimeType.UNDEFINED + value_value_direction_type = runtimeType(value_value_direction) + thisSerializer.writeInt8(value_value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_value_direction_type)) { + const value_value_direction_value = value_value_direction! + thisSerializer.writeInt32(value_value_direction_value.valueOf()) + } + const value_value_speed = value_value.speed + let value_value_speed_type: int32 = RuntimeType.UNDEFINED + value_value_speed_type = runtimeType(value_value_speed) + thisSerializer.writeInt8(value_value_speed_type) + if ((RuntimeType.UNDEFINED) != (value_value_speed_type)) { + const value_value_speed_value = value_value_speed! + thisSerializer.writeNumber(value_value_speed_value) + } } - const retval = ArkUIGeneratedNativeModule._ImageData_ctor(width, height, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._SwipeGestureInterface_ctor(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() return retval } - constructor(width?: number, height?: number, data?: NativeBuffer) { - if (((width) !== (undefined)) || ((height) !== (undefined)) || ((data) !== (undefined))) - { - const ctorPtr: KPointer = ImageData.ctor_imagedata((width)!, (height)!, data) - this.peer = new Finalizable(ctorPtr, ImageData.getFinalizer()) - } + constructor(value?: { fingers?: number, direction?: SwipeDirection, speed?: number }) { + const ctorPtr: KPointer = SwipeGestureInterfaceInternal.ctor_swipegestureinterface(value) + this.peer = new Finalizable(ctorPtr, SwipeGestureInterfaceInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ImageData_getFinalizer() - } - private getData(): NativeBuffer { - return this.getData_serialize() - } - private getHeight(): number { - return this.getHeight_serialize() - } - private getWidth(): number { - return this.getWidth_serialize() - } - private getData_serialize(): NativeBuffer { - const retval = ArkUIGeneratedNativeModule._ImageData_getData(this.peer!.ptr) - return new Deserializer(retval.buffer, retval.byteLength).readBuffer() + return ArkUIGeneratedNativeModule._SwipeGestureInterface_getFinalizer() } - private getHeight_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ImageData_getHeight(this.peer!.ptr) - return retval + public onAction(event: ((event: GestureEvent) => void)): SwipeGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onAction_serialize(event_casted) } - private getWidth_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ImageData_getWidth(this.peer!.ptr) - return retval + private onAction_serialize(event: ((event: GestureEvent) => void)): SwipeGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._SwipeGestureInterface_onAction(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: SwipeGestureInterface = SwipeGestureInterfaceInternal.fromPtr(retval) + return obj } -} -export class RenderingContextSettingsInternal { - public static fromPtr(ptr: KPointer): RenderingContextSettings { - const obj: RenderingContextSettings = new RenderingContextSettings(undefined) - obj.peer = new Finalizable(ptr, RenderingContextSettings.getFinalizer()) + public static fromPtr(ptr: KPointer): SwipeGestureInterfaceInternal { + const obj: SwipeGestureInterfaceInternal = new SwipeGestureInterfaceInternal(undefined) + obj.peer = new Finalizable(ptr, SwipeGestureInterfaceInternal.getFinalizer()) return obj } } -export class RenderingContextSettings implements MaterializedBase { +export interface PinchGestureInterface { + onActionStart(event: ((event: GestureEvent) => void)): PinchGestureInterface + onActionUpdate(event: ((event: GestureEvent) => void)): PinchGestureInterface + onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureInterface + onActionCancel(event: (() => void)): PinchGestureInterface + onActionCancel(event: ((event: GestureEvent) => void)): PinchGestureInterface +} +export class PinchGestureInterfaceInternal implements MaterializedBase,GestureInterface,PinchGestureInterface { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get antialias(): boolean | undefined { - return this.getAntialias() - } - set antialias(antialias: boolean | undefined) { - const antialias_NonNull = (antialias as boolean) - this.setAntialias(antialias_NonNull) - } - static ctor_renderingcontextsettings(antialias?: boolean): KPointer { + static ctor_pinchgestureinterface(value?: { fingers?: number, distance?: number }): KPointer { const thisSerializer: Serializer = Serializer.hold() - let antialias_type: int32 = RuntimeType.UNDEFINED - antialias_type = runtimeType(antialias) - thisSerializer.writeInt8(antialias_type) - if ((RuntimeType.UNDEFINED) != (antialias_type)) { - const antialias_value = antialias! - thisSerializer.writeBoolean(antialias_value) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + const value_value_fingers = value_value.fingers + let value_value_fingers_type: int32 = RuntimeType.UNDEFINED + value_value_fingers_type = runtimeType(value_value_fingers) + thisSerializer.writeInt8(value_value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { + const value_value_fingers_value = value_value_fingers! + thisSerializer.writeNumber(value_value_fingers_value) + } + const value_value_distance = value_value.distance + let value_value_distance_type: int32 = RuntimeType.UNDEFINED + value_value_distance_type = runtimeType(value_value_distance) + thisSerializer.writeInt8(value_value_distance_type) + if ((RuntimeType.UNDEFINED) != (value_value_distance_type)) { + const value_value_distance_value = value_value_distance! + thisSerializer.writeNumber(value_value_distance_value) + } } - const retval = ArkUIGeneratedNativeModule._RenderingContextSettings_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_ctor(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() return retval } - constructor(antialias?: boolean) { - const ctorPtr: KPointer = RenderingContextSettings.ctor_renderingcontextsettings(antialias) - this.peer = new Finalizable(ctorPtr, RenderingContextSettings.getFinalizer()) + constructor(value?: { fingers?: number, distance?: number }) { + const ctorPtr: KPointer = PinchGestureInterfaceInternal.ctor_pinchgestureinterface(value) + this.peer = new Finalizable(ctorPtr, PinchGestureInterfaceInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._RenderingContextSettings_getFinalizer() + return ArkUIGeneratedNativeModule._PinchGestureInterface_getFinalizer() } - private getAntialias(): boolean | undefined { - return this.getAntialias_serialize() + public onActionStart(event: ((event: GestureEvent) => void)): PinchGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionStart_serialize(event_casted) } - private setAntialias(antialias: boolean): void { - const antialias_casted = antialias as (boolean) - this?.setAntialias_serialize(antialias_casted) - return + public onActionUpdate(event: ((event: GestureEvent) => void)): PinchGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionUpdate_serialize(event_casted) } - private getAntialias_serialize(): boolean | undefined { - const retval = ArkUIGeneratedNativeModule._RenderingContextSettings_getAntialias(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + public onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionEnd_serialize(event_casted) } - private setAntialias_serialize(antialias: boolean): void { - ArkUIGeneratedNativeModule._RenderingContextSettings_setAntialias(this.peer!.ptr, +antialias) + public onActionCancel(event: (() => void) | ((event: GestureEvent) => void)): PinchGestureInterface { + const event_type = runtimeType(event) + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as ((() => void)) + return this.onActionCancel0_serialize(event_casted) + } + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionCancel1_serialize(event_casted) + } + throw new Error("Can not select appropriate overload") } -} -export class OffscreenCanvasInternal { - public static fromPtr(ptr: KPointer): OffscreenCanvas { - const obj: OffscreenCanvas = new OffscreenCanvas(undefined, undefined) - obj.peer = new Finalizable(ptr, OffscreenCanvas.getFinalizer()) + private onActionStart_serialize(event: ((event: GestureEvent) => void)): PinchGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_onActionStart(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: PinchGestureInterface = PinchGestureInterfaceInternal.fromPtr(retval) + return obj + } + private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): PinchGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_onActionUpdate(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: PinchGestureInterface = PinchGestureInterfaceInternal.fromPtr(retval) + return obj + } + private onActionEnd_serialize(event: ((event: GestureEvent) => void)): PinchGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_onActionEnd(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: PinchGestureInterface = PinchGestureInterfaceInternal.fromPtr(retval) + return obj + } + private onActionCancel0_serialize(event: (() => void)): PinchGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_onActionCancel0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: PinchGestureInterface = PinchGestureInterfaceInternal.fromPtr(retval) + return obj + } + private onActionCancel1_serialize(event: ((event: GestureEvent) => void)): PinchGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_onActionCancel1(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: PinchGestureInterface = PinchGestureInterfaceInternal.fromPtr(retval) + return obj + } + public static fromPtr(ptr: KPointer): PinchGestureInterfaceInternal { + const obj: PinchGestureInterfaceInternal = new PinchGestureInterfaceInternal(undefined) + obj.peer = new Finalizable(ptr, PinchGestureInterfaceInternal.getFinalizer()) return obj } } -export class OffscreenCanvas implements MaterializedBase { +export interface RotationGestureInterface { + onActionStart(event: ((event: GestureEvent) => void)): RotationGestureInterface + onActionUpdate(event: ((event: GestureEvent) => void)): RotationGestureInterface + onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureInterface + onActionCancel(event: (() => void)): RotationGestureInterface + onActionCancel(event: ((event: GestureEvent) => void)): RotationGestureInterface +} +export class RotationGestureInterfaceInternal implements MaterializedBase,GestureInterface,RotationGestureInterface { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get height(): number { - return this.getHeight() - } - set height(height: number) { - this.setHeight(height) - } - get width(): number { - return this.getWidth() - } - set width(width: number) { - this.setWidth(width) - } - static ctor_offscreencanvas(width: number, height: number): KPointer { - const retval = ArkUIGeneratedNativeModule._OffscreenCanvas_ctor(width, height) + static ctor_rotationgestureinterface(value?: { fingers?: number, angle?: number }): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + const value_value_fingers = value_value.fingers + let value_value_fingers_type: int32 = RuntimeType.UNDEFINED + value_value_fingers_type = runtimeType(value_value_fingers) + thisSerializer.writeInt8(value_value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { + const value_value_fingers_value = value_value_fingers! + thisSerializer.writeNumber(value_value_fingers_value) + } + const value_value_angle = value_value.angle + let value_value_angle_type: int32 = RuntimeType.UNDEFINED + value_value_angle_type = runtimeType(value_value_angle) + thisSerializer.writeInt8(value_value_angle_type) + if ((RuntimeType.UNDEFINED) != (value_value_angle_type)) { + const value_value_angle_value = value_value_angle! + thisSerializer.writeNumber(value_value_angle_value) + } + } + const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor(width?: number, height?: number) { - if (((width) !== (undefined)) || ((height) !== (undefined))) - { - const ctorPtr: KPointer = OffscreenCanvas.ctor_offscreencanvas((width)!, (height)!) - this.peer = new Finalizable(ctorPtr, OffscreenCanvas.getFinalizer()) - } + constructor(value?: { fingers?: number, angle?: number }) { + const ctorPtr: KPointer = RotationGestureInterfaceInternal.ctor_rotationgestureinterface(value) + this.peer = new Finalizable(ctorPtr, RotationGestureInterfaceInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._OffscreenCanvas_getFinalizer() - } - public transferToImageBitmap(): ImageBitmap { - return this.transferToImageBitmap_serialize() - } - public getContext2d(options?: RenderingContextSettings): OffscreenCanvasRenderingContext2D { - const options_casted = options as (RenderingContextSettings | undefined) - return this.getContext2d_serialize(options_casted) - } - private getHeight(): number { - return this.getHeight_serialize() + return ArkUIGeneratedNativeModule._RotationGestureInterface_getFinalizer() } - private setHeight(height: number): void { - const height_casted = height as (number) - this?.setHeight_serialize(height_casted) - return + public onActionStart(event: ((event: GestureEvent) => void)): RotationGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionStart_serialize(event_casted) } - private getWidth(): number { - return this.getWidth_serialize() + public onActionUpdate(event: ((event: GestureEvent) => void)): RotationGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionUpdate_serialize(event_casted) } - private setWidth(width: number): void { - const width_casted = width as (number) - this?.setWidth_serialize(width_casted) - return + public onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureInterface { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionEnd_serialize(event_casted) } - getContext(contextType: string, options: RenderingContextSettings): OffscreenCanvasRenderingContext2D { - throw new Error("TBD") + public onActionCancel(event: (() => void) | ((event: GestureEvent) => void)): RotationGestureInterface { + const event_type = runtimeType(event) + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as ((() => void)) + return this.onActionCancel0_serialize(event_casted) + } + if (RuntimeType.FUNCTION == event_type) { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionCancel1_serialize(event_casted) + } + throw new Error("Can not select appropriate overload") } - private transferToImageBitmap_serialize(): ImageBitmap { - const retval = ArkUIGeneratedNativeModule._OffscreenCanvas_transferToImageBitmap(this.peer!.ptr) - const obj: ImageBitmap = ImageBitmapInternal.fromPtr(retval) + private onActionStart_serialize(event: ((event: GestureEvent) => void)): RotationGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_onActionStart(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: RotationGestureInterface = RotationGestureInterfaceInternal.fromPtr(retval) return obj } - private getContext2d_serialize(options?: RenderingContextSettings): OffscreenCanvasRenderingContext2D { + private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): RotationGestureInterface { const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeRenderingContextSettings(options_value) - } - const retval = ArkUIGeneratedNativeModule._OffscreenCanvas_getContext2d(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_onActionUpdate(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - const obj: OffscreenCanvasRenderingContext2D = OffscreenCanvasRenderingContext2DInternal.fromPtr(retval) + const obj: RotationGestureInterface = RotationGestureInterfaceInternal.fromPtr(retval) return obj } - private getHeight_serialize(): number { - const retval = ArkUIGeneratedNativeModule._OffscreenCanvas_getHeight(this.peer!.ptr) - return retval - } - private setHeight_serialize(height: number): void { - ArkUIGeneratedNativeModule._OffscreenCanvas_setHeight(this.peer!.ptr, height) + private onActionEnd_serialize(event: ((event: GestureEvent) => void)): RotationGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_onActionEnd(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: RotationGestureInterface = RotationGestureInterfaceInternal.fromPtr(retval) + return obj } - private getWidth_serialize(): number { - const retval = ArkUIGeneratedNativeModule._OffscreenCanvas_getWidth(this.peer!.ptr) - return retval + private onActionCancel0_serialize(event: (() => void)): RotationGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_onActionCancel0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: RotationGestureInterface = RotationGestureInterfaceInternal.fromPtr(retval) + return obj } - private setWidth_serialize(width: number): void { - ArkUIGeneratedNativeModule._OffscreenCanvas_setWidth(this.peer!.ptr, width) + private onActionCancel1_serialize(event: ((event: GestureEvent) => void)): RotationGestureInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_onActionCancel1(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: RotationGestureInterface = RotationGestureInterfaceInternal.fromPtr(retval) + return obj } -} -export class DrawingRenderingContextInternal { - public static fromPtr(ptr: KPointer): DrawingRenderingContext { - const obj: DrawingRenderingContext = new DrawingRenderingContext(undefined) - obj.peer = new Finalizable(ptr, DrawingRenderingContext.getFinalizer()) + public static fromPtr(ptr: KPointer): RotationGestureInterfaceInternal { + const obj: RotationGestureInterfaceInternal = new RotationGestureInterfaceInternal(undefined) + obj.peer = new Finalizable(ptr, RotationGestureInterfaceInternal.getFinalizer()) return obj } } -export class DrawingRenderingContext implements MaterializedBase { +export interface GestureGroupInterface { + onCancel(event: (() => void)): GestureGroupInterface +} +export class GestureGroupInterfaceInternal implements MaterializedBase,GestureGroupInterface { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get size(): Size { - throw new Error("Not implemented") - } - get canvas(): DrawingCanvas { - return this.getCanvas() - } - static ctor_drawingrenderingcontext(unit?: LengthMetricsUnit): KPointer { + static ctor_gesturegroupinterface(mode: GestureMode, gesture: Array): KPointer { const thisSerializer: Serializer = Serializer.hold() - let unit_type: int32 = RuntimeType.UNDEFINED - unit_type = runtimeType(unit) - thisSerializer.writeInt8(unit_type) - if ((RuntimeType.UNDEFINED) != (unit_type)) { - const unit_value = unit! - thisSerializer.writeInt32(unit_value.valueOf()) + thisSerializer.writeInt32(gesture.length) + for (let i = 0; i < gesture.length; i++) { + const gesture_element: GestureType = gesture[i] + let gesture_element_type: int32 = RuntimeType.UNDEFINED + gesture_element_type = runtimeType(gesture_element) + if ((unsafeCast>(gesture_element).type) === (GestureName.Tap)) { + thisSerializer.writeInt8(0) + const gesture_element_0 = unsafeCast(gesture_element) + thisSerializer.writeTapGestureInterface(gesture_element_0) + } + else if ((unsafeCast>(gesture_element).type) === (GestureName.LongPress)) { + thisSerializer.writeInt8(1) + const gesture_element_1 = unsafeCast(gesture_element) + thisSerializer.writeLongPressGestureInterface(gesture_element_1) + } + else if ((unsafeCast>(gesture_element).type) === (GestureName.Pan)) { + thisSerializer.writeInt8(2) + const gesture_element_2 = unsafeCast(gesture_element) + thisSerializer.writePanGestureInterface(gesture_element_2) + } + else if ((unsafeCast>(gesture_element).type) === (GestureName.Pinch)) { + thisSerializer.writeInt8(3) + const gesture_element_3 = unsafeCast(gesture_element) + thisSerializer.writePinchGestureInterface(gesture_element_3) + } + else if ((unsafeCast>(gesture_element).type) === (GestureName.Swipe)) { + thisSerializer.writeInt8(4) + const gesture_element_4 = unsafeCast(gesture_element) + thisSerializer.writeSwipeGestureInterface(gesture_element_4) + } + else if ((unsafeCast>(gesture_element).type) === (GestureName.Rotation)) { + thisSerializer.writeInt8(5) + const gesture_element_5 = unsafeCast(gesture_element) + thisSerializer.writeRotationGestureInterface(gesture_element_5) + } + else if ((unsafeCast>(gesture_element).type) === (GestureName.Group)) { + thisSerializer.writeInt8(6) + const gesture_element_6 = unsafeCast(gesture_element) + thisSerializer.writeGestureGroupInterface(gesture_element_6) + } } - const retval = ArkUIGeneratedNativeModule._DrawingRenderingContext_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._GestureGroupInterface_ctor(mode.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() return retval } - constructor(unit?: LengthMetricsUnit) { - const ctorPtr: KPointer = DrawingRenderingContext.ctor_drawingrenderingcontext(unit) - this.peer = new Finalizable(ctorPtr, DrawingRenderingContext.getFinalizer()) + constructor(mode?: GestureMode, gesture?: Array) { + if (((mode) !== (undefined)) || ((gesture) !== (undefined))) + { + const ctorPtr: KPointer = GestureGroupInterfaceInternal.ctor_gesturegroupinterface((mode)!, (gesture)!) + this.peer = new Finalizable(ctorPtr, GestureGroupInterfaceInternal.getFinalizer()) + } } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._DrawingRenderingContext_getFinalizer() - } - public invalidate(): void { - this?.invalidate_serialize() - return - } - private getSize(): Size { - return this.getSize_serialize() - } - private getCanvas(): DrawingCanvas { - return this.getCanvas_serialize() - } - private invalidate_serialize(): void { - ArkUIGeneratedNativeModule._DrawingRenderingContext_invalidate(this.peer!.ptr) + return ArkUIGeneratedNativeModule._GestureGroupInterface_getFinalizer() } - private getSize_serialize(): Size { - const retval = ArkUIGeneratedNativeModule._DrawingRenderingContext_getSize(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: Size = retvalDeserializer.readSize() - return returnResult + public onCancel(event: (() => void)): GestureGroupInterface { + const event_casted = event as ((() => void)) + return this.onCancel_serialize(event_casted) } - private getCanvas_serialize(): DrawingCanvas { - const retval = ArkUIGeneratedNativeModule._DrawingRenderingContext_getCanvas(this.peer!.ptr) - const obj: DrawingCanvas = DrawingCanvasInternal.fromPtr(retval) + private onCancel_serialize(event: (() => void)): GestureGroupInterface { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._GestureGroupInterface_onCancel(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: GestureGroupInterface = GestureGroupInterfaceInternal.fromPtr(retval) return obj } -} -export class ContextMenu { - public static close(): void { - ContextMenu.close_serialize() - return - } - private static close_serialize(): void { - ArkUIGeneratedNativeModule._ContextMenu_close() + public static fromPtr(ptr: KPointer): GestureGroupInterfaceInternal { + const obj: GestureGroupInterfaceInternal = new GestureGroupInterfaceInternal(undefined, undefined) + obj.peer = new Finalizable(ptr, GestureGroupInterfaceInternal.getFinalizer()) + return obj } } -export class CustomDialogControllerInternal { - public static fromPtr(ptr: KPointer): CustomDialogController { - const obj: CustomDialogController = new CustomDialogController(undefined) - obj.peer = new Finalizable(ptr, CustomDialogController.getFinalizer()) +export class EventTargetInfoInternal { + public static fromPtr(ptr: KPointer): EventTargetInfo { + const obj: EventTargetInfo = new EventTargetInfo() + obj.peer = new Finalizable(ptr, EventTargetInfo.getFinalizer()) return obj } } -export class CustomDialogController implements MaterializedBase { +export class EventTargetInfo implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_customdialogcontroller(value: CustomDialogControllerOptions): KPointer { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeCustomDialogControllerOptions(value) - const retval = ArkUIGeneratedNativeModule._CustomDialogController_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + static ctor_eventtargetinfo(): KPointer { + const retval = ArkUIGeneratedNativeModule._EventTargetInfo_ctor() return retval } - constructor(value?: CustomDialogControllerOptions) { - if ((value) !== (undefined)) - { - const ctorPtr: KPointer = CustomDialogController.ctor_customdialogcontroller((value)!) - this.peer = new Finalizable(ctorPtr, CustomDialogController.getFinalizer()) - } + constructor() { + const ctorPtr: KPointer = EventTargetInfo.ctor_eventtargetinfo() + this.peer = new Finalizable(ctorPtr, EventTargetInfo.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._CustomDialogController_getFinalizer() - } - public open(): void { - this?.open_serialize() - return - } - public close(): void { - this?.close_serialize() - return + return ArkUIGeneratedNativeModule._EventTargetInfo_getFinalizer() } - private open_serialize(): void { - ArkUIGeneratedNativeModule._CustomDialogController_open(this.peer!.ptr) + public getId(): string { + return this.getId_serialize() } - private close_serialize(): void { - ArkUIGeneratedNativeModule._CustomDialogController_close(this.peer!.ptr) + private getId_serialize(): string { + const retval = ArkUIGeneratedNativeModule._EventTargetInfo_getId(this.peer!.ptr) + return retval } } -export class LinearGradientInternal { - public static fromPtr(ptr: KPointer): LinearGradient { - const obj: LinearGradient = new LinearGradient(undefined) - obj.peer = new Finalizable(ptr, LinearGradient.getFinalizer()) +export class GestureRecognizerInternal { + public static fromPtr(ptr: KPointer): GestureRecognizer { + const obj: GestureRecognizer = new GestureRecognizer() + obj.peer = new Finalizable(ptr, GestureRecognizer.getFinalizer()) return obj } } -export class LinearGradient implements MaterializedBase { +export class GestureRecognizer implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_lineargradient(colorStops: Array): KPointer { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(colorStops.length) - for (let i = 0; i < colorStops.length; i++) { - const colorStops_element: ColorStop = colorStops[i] - thisSerializer.writeColorStop(colorStops_element) - } - const retval = ArkUIGeneratedNativeModule._LinearGradient_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + static ctor_gesturerecognizer(): KPointer { + const retval = ArkUIGeneratedNativeModule._GestureRecognizer_ctor() return retval } - constructor(colorStops?: Array) { - if ((colorStops) !== (undefined)) - { - const ctorPtr: KPointer = LinearGradient.ctor_lineargradient((colorStops)!) - this.peer = new Finalizable(ctorPtr, LinearGradient.getFinalizer()) - } + constructor() { + const ctorPtr: KPointer = GestureRecognizer.ctor_gesturerecognizer() + this.peer = new Finalizable(ctorPtr, GestureRecognizer.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._LinearGradient_getFinalizer() + return ArkUIGeneratedNativeModule._GestureRecognizer_getFinalizer() } -} -export class DatePickerDialog { - public static show(options?: DatePickerDialogOptions): void { - const options_casted = options as (DatePickerDialogOptions | undefined) - DatePickerDialog.show_serialize(options_casted) + public getTag(): string { + return this.getTag_serialize() + } + public getType(): GestureControl.GestureType { + return this.getType_serialize() + } + public isBuiltIn(): boolean { + return this.isBuiltIn_serialize() + } + public setEnabled(isEnabled: boolean): void { + const isEnabled_casted = isEnabled as (boolean) + this?.setEnabled_serialize(isEnabled_casted) return } - private static show_serialize(options?: DatePickerDialogOptions): void { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeDatePickerDialogOptions(options_value) - } - ArkUIGeneratedNativeModule._DatePickerDialog_show(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + public isEnabled(): boolean { + return this.isEnabled_serialize() } -} -export interface TapGestureInterface { - onAction(event: ((event: GestureEvent) => void)): TapGestureInterface -} -export class TapGestureInterfaceInternal implements MaterializedBase,GestureInterface,TapGestureInterface { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + public getState(): GestureRecognizerState { + return this.getState_serialize() } - static ctor_tapgestureinterface(value?: TapGestureParameters): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - thisSerializer.writeInt8(value_type) - if ((RuntimeType.UNDEFINED) != (value_type)) { - const value_value = value! - thisSerializer.writeTapGestureParameters(value_value) - } - const retval = ArkUIGeneratedNativeModule._TapGestureInterface_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval + public getEventTargetInfo(): EventTargetInfo { + return this.getEventTargetInfo_serialize() } - constructor(value?: TapGestureParameters) { - const ctorPtr: KPointer = TapGestureInterfaceInternal.ctor_tapgestureinterface(value) - this.peer = new Finalizable(ctorPtr, TapGestureInterfaceInternal.getFinalizer()) + public isValid(): boolean { + return this.isValid_serialize() } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TapGestureInterface_getFinalizer() + public getFingerCount(): number { + return this.getFingerCount_serialize() } - public onAction(event: ((event: GestureEvent) => void)): TapGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onAction_serialize(event_casted) + public isFingerCountLimit(): boolean { + return this.isFingerCountLimit_serialize() } - private onAction_serialize(event: ((event: GestureEvent) => void)): TapGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._TapGestureInterface_onAction(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: TapGestureInterface = TapGestureInterfaceInternal.fromPtr(retval) - return obj + private getTag_serialize(): string { + const retval = ArkUIGeneratedNativeModule._GestureRecognizer_getTag(this.peer!.ptr) + return retval } - public static fromPtr(ptr: KPointer): TapGestureInterfaceInternal { - const obj: TapGestureInterfaceInternal = new TapGestureInterfaceInternal(undefined) - obj.peer = new Finalizable(ptr, TapGestureInterfaceInternal.getFinalizer()) - return obj + private getType_serialize(): GestureControl.GestureType { + const retval = ArkUIGeneratedNativeModule._GestureRecognizer_getType(this.peer!.ptr) + return retval } -} -export interface LongPressGestureInterface { - onAction(event: ((event: GestureEvent) => void)): LongPressGestureInterface - onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureInterface - onActionCancel(event: (() => void)): LongPressGestureInterface -} -export class LongPressGestureInterfaceInternal implements MaterializedBase,GestureInterface,LongPressGestureInterface { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + private isBuiltIn_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._GestureRecognizer_isBuiltIn(this.peer!.ptr) + return retval } - static ctor_longpressgestureinterface(value?: { fingers?: number, repeat?: boolean, duration?: number }): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - thisSerializer.writeInt8(value_type) - if ((RuntimeType.UNDEFINED) != (value_type)) { - const value_value = value! - const value_value_fingers = value_value.fingers - let value_value_fingers_type: int32 = RuntimeType.UNDEFINED - value_value_fingers_type = runtimeType(value_value_fingers) - thisSerializer.writeInt8(value_value_fingers_type) - if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { - const value_value_fingers_value = value_value_fingers! - thisSerializer.writeNumber(value_value_fingers_value) - } - const value_value_repeat = value_value.repeat - let value_value_repeat_type: int32 = RuntimeType.UNDEFINED - value_value_repeat_type = runtimeType(value_value_repeat) - thisSerializer.writeInt8(value_value_repeat_type) - if ((RuntimeType.UNDEFINED) != (value_value_repeat_type)) { - const value_value_repeat_value = value_value_repeat! - thisSerializer.writeBoolean(value_value_repeat_value) - } - const value_value_duration = value_value.duration - let value_value_duration_type: int32 = RuntimeType.UNDEFINED - value_value_duration_type = runtimeType(value_value_duration) - thisSerializer.writeInt8(value_value_duration_type) - if ((RuntimeType.UNDEFINED) != (value_value_duration_type)) { - const value_value_duration_value = value_value_duration! - thisSerializer.writeNumber(value_value_duration_value) - } - } - const retval = ArkUIGeneratedNativeModule._LongPressGestureInterface_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private setEnabled_serialize(isEnabled: boolean): void { + ArkUIGeneratedNativeModule._GestureRecognizer_setEnabled(this.peer!.ptr, +isEnabled) + } + private isEnabled_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._GestureRecognizer_isEnabled(this.peer!.ptr) return retval } - constructor(value?: { fingers?: number, repeat?: boolean, duration?: number }) { - const ctorPtr: KPointer = LongPressGestureInterfaceInternal.ctor_longpressgestureinterface(value) - this.peer = new Finalizable(ctorPtr, LongPressGestureInterfaceInternal.getFinalizer()) + private getState_serialize(): GestureRecognizerState { + const retval = ArkUIGeneratedNativeModule._GestureRecognizer_getState(this.peer!.ptr) + return retval } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._LongPressGestureInterface_getFinalizer() + private getEventTargetInfo_serialize(): EventTargetInfo { + const retval = ArkUIGeneratedNativeModule._GestureRecognizer_getEventTargetInfo(this.peer!.ptr) + const obj: EventTargetInfo = EventTargetInfoInternal.fromPtr(retval) + return obj } - public onAction(event: ((event: GestureEvent) => void)): LongPressGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onAction_serialize(event_casted) + private isValid_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._GestureRecognizer_isValid(this.peer!.ptr) + return retval } - public onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionEnd_serialize(event_casted) + private getFingerCount_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureRecognizer_getFingerCount(this.peer!.ptr) + return retval } - public onActionCancel(event: (() => void)): LongPressGestureInterface { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) + private isFingerCountLimit_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._GestureRecognizer_isFingerCountLimit(this.peer!.ptr) + return retval } - private onAction_serialize(event: ((event: GestureEvent) => void)): LongPressGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._LongPressGestureInterface_onAction(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: LongPressGestureInterface = LongPressGestureInterfaceInternal.fromPtr(retval) +} +export class ImageAnalyzerControllerInternal { + public static fromPtr(ptr: KPointer): ImageAnalyzerController { + const obj: ImageAnalyzerController = new ImageAnalyzerController() + obj.peer = new Finalizable(ptr, ImageAnalyzerController.getFinalizer()) return obj } - private onActionEnd_serialize(event: ((event: GestureEvent) => void)): LongPressGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._LongPressGestureInterface_onActionEnd(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: LongPressGestureInterface = LongPressGestureInterfaceInternal.fromPtr(retval) - return obj +} +export class ImageAnalyzerController implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor_imageanalyzercontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._ImageAnalyzerController_ctor() + return retval + } + constructor() { + const ctorPtr: KPointer = ImageAnalyzerController.ctor_imageanalyzercontroller() + this.peer = new Finalizable(ctorPtr, ImageAnalyzerController.getFinalizer()) } - private onActionCancel_serialize(event: (() => void)): LongPressGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._LongPressGestureInterface_onActionCancel(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: LongPressGestureInterface = LongPressGestureInterfaceInternal.fromPtr(retval) - return obj + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._ImageAnalyzerController_getFinalizer() } - public static fromPtr(ptr: KPointer): LongPressGestureInterfaceInternal { - const obj: LongPressGestureInterfaceInternal = new LongPressGestureInterfaceInternal(undefined) - obj.peer = new Finalizable(ptr, LongPressGestureInterfaceInternal.getFinalizer()) - return obj + public getImageAnalyzerSupportTypes(): Array { + return this.getImageAnalyzerSupportTypes_serialize() + } + private getImageAnalyzerSupportTypes_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._ImageAnalyzerController_getImageAnalyzerSupportTypes(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = retvalDeserializer.readInt32() + } + const returnResult: Array = buffer + return returnResult } } -export class PanGestureOptionsInternal { - public static fromPtr(ptr: KPointer): PanGestureOptions { - const obj: PanGestureOptions = new PanGestureOptions(undefined) - obj.peer = new Finalizable(ptr, PanGestureOptions.getFinalizer()) +export class Matrix2DInternal { + public static fromPtr(ptr: KPointer): Matrix2D { + const obj: Matrix2D = new Matrix2D() + obj.peer = new Finalizable(ptr, Matrix2D.getFinalizer()) return obj } } -export class PanGestureOptions implements MaterializedBase { +export class Matrix2D implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_pangestureoptions(value?: { fingers?: number, direction?: PanDirection, distance?: number }): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - thisSerializer.writeInt8(value_type) - if ((RuntimeType.UNDEFINED) != (value_type)) { - const value_value = value! - const value_value_fingers = value_value.fingers - let value_value_fingers_type: int32 = RuntimeType.UNDEFINED - value_value_fingers_type = runtimeType(value_value_fingers) - thisSerializer.writeInt8(value_value_fingers_type) - if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { - const value_value_fingers_value = value_value_fingers! - thisSerializer.writeNumber(value_value_fingers_value) - } - const value_value_direction = value_value.direction - let value_value_direction_type: int32 = RuntimeType.UNDEFINED - value_value_direction_type = runtimeType(value_value_direction) - thisSerializer.writeInt8(value_value_direction_type) - if ((RuntimeType.UNDEFINED) != (value_value_direction_type)) { - const value_value_direction_value = value_value_direction! - thisSerializer.writeInt32(value_value_direction_value.valueOf()) - } - const value_value_distance = value_value.distance - let value_value_distance_type: int32 = RuntimeType.UNDEFINED - value_value_distance_type = runtimeType(value_value_distance) - thisSerializer.writeInt8(value_value_distance_type) - if ((RuntimeType.UNDEFINED) != (value_value_distance_type)) { - const value_value_distance_value = value_value_distance! - thisSerializer.writeNumber(value_value_distance_value) - } - } - const retval = ArkUIGeneratedNativeModule._PanGestureOptions_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval + get scaleX(): number | undefined { + return this.getScaleX() } - constructor(value?: { fingers?: number, direction?: PanDirection, distance?: number }) { - const ctorPtr: KPointer = PanGestureOptions.ctor_pangestureoptions(value) - this.peer = new Finalizable(ctorPtr, PanGestureOptions.getFinalizer()) + set scaleX(scaleX: number | undefined) { + const scaleX_NonNull = (scaleX as number) + this.setScaleX(scaleX_NonNull) } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._PanGestureOptions_getFinalizer() + get rotateY(): number | undefined { + return this.getRotateY() } - public setDirection(value: PanDirection): void { - const value_casted = value as (PanDirection) - this?.setDirection_serialize(value_casted) - return + set rotateY(rotateY: number | undefined) { + const rotateY_NonNull = (rotateY as number) + this.setRotateY(rotateY_NonNull) } - public setDistance(value: number): void { - const value_casted = value as (number) - this?.setDistance_serialize(value_casted) - return + get rotateX(): number | undefined { + return this.getRotateX() } - public setFingers(value: number): void { - const value_casted = value as (number) - this?.setFingers_serialize(value_casted) - return + set rotateX(rotateX: number | undefined) { + const rotateX_NonNull = (rotateX as number) + this.setRotateX(rotateX_NonNull) } - public getDirection(): PanDirection { - return this.getDirection_serialize() + get scaleY(): number | undefined { + return this.getScaleY() } - private setDirection_serialize(value: PanDirection): void { - ArkUIGeneratedNativeModule._PanGestureOptions_setDirection(this.peer!.ptr, value.valueOf()) + set scaleY(scaleY: number | undefined) { + const scaleY_NonNull = (scaleY as number) + this.setScaleY(scaleY_NonNull) } - private setDistance_serialize(value: number): void { - ArkUIGeneratedNativeModule._PanGestureOptions_setDistance(this.peer!.ptr, value) + get translateX(): number | undefined { + return this.getTranslateX() } - private setFingers_serialize(value: number): void { - ArkUIGeneratedNativeModule._PanGestureOptions_setFingers(this.peer!.ptr, value) + set translateX(translateX: number | undefined) { + const translateX_NonNull = (translateX as number) + this.setTranslateX(translateX_NonNull) } - private getDirection_serialize(): PanDirection { - const retval = ArkUIGeneratedNativeModule._PanGestureOptions_getDirection(this.peer!.ptr) + get translateY(): number | undefined { + return this.getTranslateY() + } + set translateY(translateY: number | undefined) { + const translateY_NonNull = (translateY as number) + this.setTranslateY(translateY_NonNull) + } + static ctor_matrix2d(): KPointer { + const retval = ArkUIGeneratedNativeModule._Matrix2D_ctor() return retval } -} -export interface PanGestureInterface { - onActionStart(event: ((event: GestureEvent) => void)): PanGestureInterface - onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureInterface - onActionEnd(event: ((event: GestureEvent) => void)): PanGestureInterface - onActionCancel(event: (() => void)): PanGestureInterface -} -export class PanGestureInterfaceInternal implements MaterializedBase,GestureInterface,PanGestureInterface { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + constructor() { + const ctorPtr: KPointer = Matrix2D.ctor_matrix2d() + this.peer = new Finalizable(ctorPtr, Matrix2D.getFinalizer()) } - static ctor_pangestureinterface(value?: { fingers?: number, direction?: PanDirection, distance?: number } | PanGestureOptions): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - thisSerializer.writeInt8(value_type) - if ((RuntimeType.UNDEFINED) != (value_type)) { - const value_value = value! - let value_value_type: int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - if (((RuntimeType.OBJECT) == (value_value_type)) && (((value_value!.hasOwnProperty("fingers")) || (value_value!.hasOwnProperty("direction")) || (value_value!.hasOwnProperty("distance"))))) { - thisSerializer.writeInt8(0) - const value_value_0 = unsafeCast<{ fingers?: number, direction?: PanDirection, distance?: number }>(value_value) - const value_value_0_fingers = value_value_0.fingers - let value_value_0_fingers_type: int32 = RuntimeType.UNDEFINED - value_value_0_fingers_type = runtimeType(value_value_0_fingers) - thisSerializer.writeInt8(value_value_0_fingers_type) - if ((RuntimeType.UNDEFINED) != (value_value_0_fingers_type)) { - const value_value_0_fingers_value = value_value_0_fingers! - thisSerializer.writeNumber(value_value_0_fingers_value) - } - const value_value_0_direction = value_value_0.direction - let value_value_0_direction_type: int32 = RuntimeType.UNDEFINED - value_value_0_direction_type = runtimeType(value_value_0_direction) - thisSerializer.writeInt8(value_value_0_direction_type) - if ((RuntimeType.UNDEFINED) != (value_value_0_direction_type)) { - const value_value_0_direction_value = value_value_0_direction! - thisSerializer.writeInt32(value_value_0_direction_value.valueOf()) - } - const value_value_0_distance = value_value_0.distance - let value_value_0_distance_type: int32 = RuntimeType.UNDEFINED - value_value_0_distance_type = runtimeType(value_value_0_distance) - thisSerializer.writeInt8(value_value_0_distance_type) - if ((RuntimeType.UNDEFINED) != (value_value_0_distance_type)) { - const value_value_0_distance_value = value_value_0_distance! - thisSerializer.writeNumber(value_value_0_distance_value) - } - } - else if (((RuntimeType.OBJECT) == (value_value_type)) && (value_value instanceof PanGestureOptions)) { - thisSerializer.writeInt8(1) - const value_value_1 = unsafeCast(value_value) - thisSerializer.writePanGestureOptions(value_value_1) - } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._Matrix2D_getFinalizer() + } + public identity(): Matrix2D { + return this.identity_serialize() + } + public invert(): Matrix2D { + return this.invert_serialize() + } + public multiply(other?: Matrix2D): Matrix2D { + const other_casted = other as (Matrix2D | undefined) + return this.multiply_serialize(other_casted) + } + public rotate(degree?: number | undefined | number, rx?: number, ry?: number): Matrix2D { + const degree_type = runtimeType(degree) + const rx_type = runtimeType(rx) + const ry_type = runtimeType(ry) + if (((RuntimeType.NUMBER == degree_type) || (RuntimeType.UNDEFINED == degree_type)) && ((RuntimeType.NUMBER == rx_type) || (RuntimeType.UNDEFINED == rx_type)) && (RuntimeType.UNDEFINED == ry_type)) { + const rx_casted = degree as (number | undefined) + const ry_casted = rx as (number | undefined) + return this.rotate0_serialize(rx_casted, ry_casted) } - const retval = ArkUIGeneratedNativeModule._PanGestureInterface_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval + if ((RuntimeType.NUMBER == degree_type) && ((RuntimeType.NUMBER == rx_type) || (RuntimeType.UNDEFINED == rx_type)) && ((RuntimeType.NUMBER == ry_type) || (RuntimeType.UNDEFINED == ry_type))) { + const degree_casted = degree as (number) + const rx_casted = rx as (number | undefined) + const ry_casted = ry as (number | undefined) + return this.rotate1_serialize(degree_casted, rx_casted, ry_casted) + } + throw new Error("Can not select appropriate overload") + } + public translate(tx?: number, ty?: number): Matrix2D { + const tx_casted = tx as (number | undefined) + const ty_casted = ty as (number | undefined) + return this.translate_serialize(tx_casted, ty_casted) + } + public scale(sx?: number, sy?: number): Matrix2D { + const sx_casted = sx as (number | undefined) + const sy_casted = sy as (number | undefined) + return this.scale_serialize(sx_casted, sy_casted) + } + private getScaleX(): number | undefined { + return this.getScaleX_serialize() + } + private setScaleX(scaleX: number): void { + const scaleX_casted = scaleX as (number) + this?.setScaleX_serialize(scaleX_casted) + return + } + private getRotateY(): number | undefined { + return this.getRotateY_serialize() + } + private setRotateY(rotateY: number): void { + const rotateY_casted = rotateY as (number) + this?.setRotateY_serialize(rotateY_casted) + return } - constructor(value?: { fingers?: number, direction?: PanDirection, distance?: number } | PanGestureOptions) { - const ctorPtr: KPointer = PanGestureInterfaceInternal.ctor_pangestureinterface(value) - this.peer = new Finalizable(ctorPtr, PanGestureInterfaceInternal.getFinalizer()) + private getRotateX(): number | undefined { + return this.getRotateX_serialize() } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._PanGestureInterface_getFinalizer() + private setRotateX(rotateX: number): void { + const rotateX_casted = rotateX as (number) + this?.setRotateX_serialize(rotateX_casted) + return } - public onActionStart(event: ((event: GestureEvent) => void)): PanGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionStart_serialize(event_casted) + private getScaleY(): number | undefined { + return this.getScaleY_serialize() } - public onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionUpdate_serialize(event_casted) + private setScaleY(scaleY: number): void { + const scaleY_casted = scaleY as (number) + this?.setScaleY_serialize(scaleY_casted) + return } - public onActionEnd(event: ((event: GestureEvent) => void)): PanGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionEnd_serialize(event_casted) + private getTranslateX(): number | undefined { + return this.getTranslateX_serialize() } - public onActionCancel(event: (() => void)): PanGestureInterface { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) + private setTranslateX(translateX: number): void { + const translateX_casted = translateX as (number) + this?.setTranslateX_serialize(translateX_casted) + return } - private onActionStart_serialize(event: ((event: GestureEvent) => void)): PanGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureInterface_onActionStart(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: PanGestureInterface = PanGestureInterfaceInternal.fromPtr(retval) + private getTranslateY(): number | undefined { + return this.getTranslateY_serialize() + } + private setTranslateY(translateY: number): void { + const translateY_casted = translateY as (number) + this?.setTranslateY_serialize(translateY_casted) + return + } + private identity_serialize(): Matrix2D { + const retval = ArkUIGeneratedNativeModule._Matrix2D_identity(this.peer!.ptr) + const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) return obj } - private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): PanGestureInterface { + private invert_serialize(): Matrix2D { + const retval = ArkUIGeneratedNativeModule._Matrix2D_invert(this.peer!.ptr) + const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) + return obj + } + private multiply_serialize(other?: Matrix2D): Matrix2D { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureInterface_onActionUpdate(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + let other_type: int32 = RuntimeType.UNDEFINED + other_type = runtimeType(other) + thisSerializer.writeInt8(other_type) + if ((RuntimeType.UNDEFINED) != (other_type)) { + const other_value = other! + thisSerializer.writeMatrix2D(other_value) + } + const retval = ArkUIGeneratedNativeModule._Matrix2D_multiply(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - const obj: PanGestureInterface = PanGestureInterfaceInternal.fromPtr(retval) + const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) return obj } - private onActionEnd_serialize(event: ((event: GestureEvent) => void)): PanGestureInterface { + private rotate0_serialize(rx?: number, ry?: number): Matrix2D { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureInterface_onActionEnd(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + let rx_type: int32 = RuntimeType.UNDEFINED + rx_type = runtimeType(rx) + thisSerializer.writeInt8(rx_type) + if ((RuntimeType.UNDEFINED) != (rx_type)) { + const rx_value = rx! + thisSerializer.writeNumber(rx_value) + } + let ry_type: int32 = RuntimeType.UNDEFINED + ry_type = runtimeType(ry) + thisSerializer.writeInt8(ry_type) + if ((RuntimeType.UNDEFINED) != (ry_type)) { + const ry_value = ry! + thisSerializer.writeNumber(ry_value) + } + const retval = ArkUIGeneratedNativeModule._Matrix2D_rotate0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - const obj: PanGestureInterface = PanGestureInterfaceInternal.fromPtr(retval) + const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) return obj } - private onActionCancel_serialize(event: (() => void)): PanGestureInterface { + private rotate1_serialize(degree: number, rx?: number, ry?: number): Matrix2D { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureInterface_onActionCancel(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + let rx_type: int32 = RuntimeType.UNDEFINED + rx_type = runtimeType(rx) + thisSerializer.writeInt8(rx_type) + if ((RuntimeType.UNDEFINED) != (rx_type)) { + const rx_value = rx! + thisSerializer.writeNumber(rx_value) + } + let ry_type: int32 = RuntimeType.UNDEFINED + ry_type = runtimeType(ry) + thisSerializer.writeInt8(ry_type) + if ((RuntimeType.UNDEFINED) != (ry_type)) { + const ry_value = ry! + thisSerializer.writeNumber(ry_value) + } + const retval = ArkUIGeneratedNativeModule._Matrix2D_rotate1(this.peer!.ptr, degree, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - const obj: PanGestureInterface = PanGestureInterfaceInternal.fromPtr(retval) + const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) return obj } - public static fromPtr(ptr: KPointer): PanGestureInterfaceInternal { - const obj: PanGestureInterfaceInternal = new PanGestureInterfaceInternal(undefined) - obj.peer = new Finalizable(ptr, PanGestureInterfaceInternal.getFinalizer()) + private translate_serialize(tx?: number, ty?: number): Matrix2D { + const thisSerializer: Serializer = Serializer.hold() + let tx_type: int32 = RuntimeType.UNDEFINED + tx_type = runtimeType(tx) + thisSerializer.writeInt8(tx_type) + if ((RuntimeType.UNDEFINED) != (tx_type)) { + const tx_value = tx! + thisSerializer.writeNumber(tx_value) + } + let ty_type: int32 = RuntimeType.UNDEFINED + ty_type = runtimeType(ty) + thisSerializer.writeInt8(ty_type) + if ((RuntimeType.UNDEFINED) != (ty_type)) { + const ty_value = ty! + thisSerializer.writeNumber(ty_value) + } + const retval = ArkUIGeneratedNativeModule._Matrix2D_translate(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) return obj } -} -export interface SwipeGestureInterface { - onAction(event: ((event: GestureEvent) => void)): SwipeGestureInterface -} -export class SwipeGestureInterfaceInternal implements MaterializedBase,GestureInterface,SwipeGestureInterface { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - static ctor_swipegestureinterface(value?: { fingers?: number, direction?: SwipeDirection, speed?: number }): KPointer { + private scale_serialize(sx?: number, sy?: number): Matrix2D { const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - thisSerializer.writeInt8(value_type) - if ((RuntimeType.UNDEFINED) != (value_type)) { - const value_value = value! - const value_value_fingers = value_value.fingers - let value_value_fingers_type: int32 = RuntimeType.UNDEFINED - value_value_fingers_type = runtimeType(value_value_fingers) - thisSerializer.writeInt8(value_value_fingers_type) - if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { - const value_value_fingers_value = value_value_fingers! - thisSerializer.writeNumber(value_value_fingers_value) - } - const value_value_direction = value_value.direction - let value_value_direction_type: int32 = RuntimeType.UNDEFINED - value_value_direction_type = runtimeType(value_value_direction) - thisSerializer.writeInt8(value_value_direction_type) - if ((RuntimeType.UNDEFINED) != (value_value_direction_type)) { - const value_value_direction_value = value_value_direction! - thisSerializer.writeInt32(value_value_direction_value.valueOf()) - } - const value_value_speed = value_value.speed - let value_value_speed_type: int32 = RuntimeType.UNDEFINED - value_value_speed_type = runtimeType(value_value_speed) - thisSerializer.writeInt8(value_value_speed_type) - if ((RuntimeType.UNDEFINED) != (value_value_speed_type)) { - const value_value_speed_value = value_value_speed! - thisSerializer.writeNumber(value_value_speed_value) - } + let sx_type: int32 = RuntimeType.UNDEFINED + sx_type = runtimeType(sx) + thisSerializer.writeInt8(sx_type) + if ((RuntimeType.UNDEFINED) != (sx_type)) { + const sx_value = sx! + thisSerializer.writeNumber(sx_value) } - const retval = ArkUIGeneratedNativeModule._SwipeGestureInterface_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + let sy_type: int32 = RuntimeType.UNDEFINED + sy_type = runtimeType(sy) + thisSerializer.writeInt8(sy_type) + if ((RuntimeType.UNDEFINED) != (sy_type)) { + const sy_value = sy! + thisSerializer.writeNumber(sy_value) + } + const retval = ArkUIGeneratedNativeModule._Matrix2D_scale(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - return retval + const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) + return obj } - constructor(value?: { fingers?: number, direction?: SwipeDirection, speed?: number }) { - const ctorPtr: KPointer = SwipeGestureInterfaceInternal.ctor_swipegestureinterface(value) - this.peer = new Finalizable(ctorPtr, SwipeGestureInterfaceInternal.getFinalizer()) + private getScaleX_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._Matrix2D_getScaleX(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._SwipeGestureInterface_getFinalizer() + private setScaleX_serialize(scaleX: number): void { + ArkUIGeneratedNativeModule._Matrix2D_setScaleX(this.peer!.ptr, scaleX) } - public onAction(event: ((event: GestureEvent) => void)): SwipeGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onAction_serialize(event_casted) + private getRotateY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._Matrix2D_getRotateY(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private onAction_serialize(event: ((event: GestureEvent) => void)): SwipeGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._SwipeGestureInterface_onAction(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: SwipeGestureInterface = SwipeGestureInterfaceInternal.fromPtr(retval) - return obj + private setRotateY_serialize(rotateY: number): void { + ArkUIGeneratedNativeModule._Matrix2D_setRotateY(this.peer!.ptr, rotateY) } - public static fromPtr(ptr: KPointer): SwipeGestureInterfaceInternal { - const obj: SwipeGestureInterfaceInternal = new SwipeGestureInterfaceInternal(undefined) - obj.peer = new Finalizable(ptr, SwipeGestureInterfaceInternal.getFinalizer()) - return obj + private getRotateX_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._Matrix2D_getRotateX(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setRotateX_serialize(rotateX: number): void { + ArkUIGeneratedNativeModule._Matrix2D_setRotateX(this.peer!.ptr, rotateX) + } + private getScaleY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._Matrix2D_getScaleY(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setScaleY_serialize(scaleY: number): void { + ArkUIGeneratedNativeModule._Matrix2D_setScaleY(this.peer!.ptr, scaleY) + } + private getTranslateX_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._Matrix2D_getTranslateX(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setTranslateX_serialize(translateX: number): void { + ArkUIGeneratedNativeModule._Matrix2D_setTranslateX(this.peer!.ptr, translateX) + } + private getTranslateY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._Matrix2D_getTranslateY(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setTranslateY_serialize(translateY: number): void { + ArkUIGeneratedNativeModule._Matrix2D_setTranslateY(this.peer!.ptr, translateY) } } -export interface PinchGestureInterface { - onActionStart(event: ((event: GestureEvent) => void)): PinchGestureInterface - onActionUpdate(event: ((event: GestureEvent) => void)): PinchGestureInterface - onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureInterface - onActionCancel(event: (() => void)): PinchGestureInterface +export interface NavDestinationContext { + pathInfo: NavPathInfo + pathStack: NavPathStack + navDestinationId?: string | undefined + getConfigInRouteMap(): RouteMapConfig | undefined } -export class PinchGestureInterfaceInternal implements MaterializedBase,GestureInterface,PinchGestureInterface { +export class NavDestinationContextInternal implements MaterializedBase,NavDestinationContext { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_pinchgestureinterface(value?: { fingers?: number, distance?: number }): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - thisSerializer.writeInt8(value_type) - if ((RuntimeType.UNDEFINED) != (value_type)) { - const value_value = value! - const value_value_fingers = value_value.fingers - let value_value_fingers_type: int32 = RuntimeType.UNDEFINED - value_value_fingers_type = runtimeType(value_value_fingers) - thisSerializer.writeInt8(value_value_fingers_type) - if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { - const value_value_fingers_value = value_value_fingers! - thisSerializer.writeNumber(value_value_fingers_value) - } - const value_value_distance = value_value.distance - let value_value_distance_type: int32 = RuntimeType.UNDEFINED - value_value_distance_type = runtimeType(value_value_distance) - thisSerializer.writeInt8(value_value_distance_type) - if ((RuntimeType.UNDEFINED) != (value_value_distance_type)) { - const value_value_distance_value = value_value_distance! - thisSerializer.writeNumber(value_value_distance_value) - } - } - const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + get pathInfo(): NavPathInfo { + return this.getPathInfo() + } + set pathInfo(pathInfo: NavPathInfo) { + this.setPathInfo(pathInfo) + } + get pathStack(): NavPathStack { + return this.getPathStack() + } + set pathStack(pathStack: NavPathStack) { + this.setPathStack(pathStack) + } + get navDestinationId(): string | undefined { + return this.getNavDestinationId() + } + set navDestinationId(navDestinationId: string | undefined) { + const navDestinationId_NonNull = (navDestinationId as string) + this.setNavDestinationId(navDestinationId_NonNull) + } + static ctor_navdestinationcontext(): KPointer { + const retval = ArkUIGeneratedNativeModule._NavDestinationContext_ctor() return retval } - constructor(value?: { fingers?: number, distance?: number }) { - const ctorPtr: KPointer = PinchGestureInterfaceInternal.ctor_pinchgestureinterface(value) - this.peer = new Finalizable(ctorPtr, PinchGestureInterfaceInternal.getFinalizer()) + constructor() { + const ctorPtr: KPointer = NavDestinationContextInternal.ctor_navdestinationcontext() + this.peer = new Finalizable(ctorPtr, NavDestinationContextInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._PinchGestureInterface_getFinalizer() + return ArkUIGeneratedNativeModule._NavDestinationContext_getFinalizer() } - public onActionStart(event: ((event: GestureEvent) => void)): PinchGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionStart_serialize(event_casted) + public getConfigInRouteMap(): RouteMapConfig | undefined { + return this.getConfigInRouteMap_serialize() } - public onActionUpdate(event: ((event: GestureEvent) => void)): PinchGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionUpdate_serialize(event_casted) + private getPathInfo(): NavPathInfo { + return this.getPathInfo_serialize() } - public onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionEnd_serialize(event_casted) + private setPathInfo(pathInfo: NavPathInfo): void { + const pathInfo_casted = pathInfo as (NavPathInfo) + this?.setPathInfo_serialize(pathInfo_casted) + return } - public onActionCancel(event: (() => void)): PinchGestureInterface { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) + private getPathStack(): NavPathStack { + return this.getPathStack_serialize() } - private onActionStart_serialize(event: ((event: GestureEvent) => void)): PinchGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_onActionStart(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: PinchGestureInterface = PinchGestureInterfaceInternal.fromPtr(retval) - return obj + private setPathStack(pathStack: NavPathStack): void { + const pathStack_casted = pathStack as (NavPathStack) + this?.setPathStack_serialize(pathStack_casted) + return } - private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): PinchGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_onActionUpdate(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: PinchGestureInterface = PinchGestureInterfaceInternal.fromPtr(retval) - return obj + private getNavDestinationId(): string | undefined { + return this.getNavDestinationId_serialize() } - private onActionEnd_serialize(event: ((event: GestureEvent) => void)): PinchGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_onActionEnd(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: PinchGestureInterface = PinchGestureInterfaceInternal.fromPtr(retval) + private setNavDestinationId(navDestinationId: string): void { + const navDestinationId_casted = navDestinationId as (string) + this?.setNavDestinationId_serialize(navDestinationId_casted) + return + } + private getConfigInRouteMap_serialize(): RouteMapConfig | undefined { + const retval = ArkUIGeneratedNativeModule._NavDestinationContext_getConfigInRouteMap(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getPathInfo_serialize(): NavPathInfo { + const retval = ArkUIGeneratedNativeModule._NavDestinationContext_getPathInfo(this.peer!.ptr) + const obj: NavPathInfo = NavPathInfoInternal.fromPtr(retval) return obj } - private onActionCancel_serialize(event: (() => void)): PinchGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureInterface_onActionCancel(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: PinchGestureInterface = PinchGestureInterfaceInternal.fromPtr(retval) + private setPathInfo_serialize(pathInfo: NavPathInfo): void { + ArkUIGeneratedNativeModule._NavDestinationContext_setPathInfo(this.peer!.ptr, toPeerPtr(pathInfo)) + } + private getPathStack_serialize(): NavPathStack { + const retval = ArkUIGeneratedNativeModule._NavDestinationContext_getPathStack(this.peer!.ptr) + const obj: NavPathStack = NavPathStackInternal.fromPtr(retval) return obj } - public static fromPtr(ptr: KPointer): PinchGestureInterfaceInternal { - const obj: PinchGestureInterfaceInternal = new PinchGestureInterfaceInternal(undefined) - obj.peer = new Finalizable(ptr, PinchGestureInterfaceInternal.getFinalizer()) + private setPathStack_serialize(pathStack: NavPathStack): void { + ArkUIGeneratedNativeModule._NavDestinationContext_setPathStack(this.peer!.ptr, toPeerPtr(pathStack)) + } + private getNavDestinationId_serialize(): string | undefined { + const retval = ArkUIGeneratedNativeModule._NavDestinationContext_getNavDestinationId(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setNavDestinationId_serialize(navDestinationId: string): void { + ArkUIGeneratedNativeModule._NavDestinationContext_setNavDestinationId(this.peer!.ptr, navDestinationId) + } + public static fromPtr(ptr: KPointer): NavDestinationContextInternal { + const obj: NavDestinationContextInternal = new NavDestinationContextInternal() + obj.peer = new Finalizable(ptr, NavDestinationContextInternal.getFinalizer()) return obj } } -export interface RotationGestureInterface { - onActionStart(event: ((event: GestureEvent) => void)): RotationGestureInterface - onActionUpdate(event: ((event: GestureEvent) => void)): RotationGestureInterface - onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureInterface - onActionCancel(event: (() => void)): RotationGestureInterface +export class PatternLockControllerInternal { + public static fromPtr(ptr: KPointer): PatternLockController { + const obj: PatternLockController = new PatternLockController() + obj.peer = new Finalizable(ptr, PatternLockController.getFinalizer()) + return obj + } } -export class RotationGestureInterfaceInternal implements MaterializedBase,GestureInterface,RotationGestureInterface { +export class PatternLockController implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_rotationgestureinterface(value?: { fingers?: number, angle?: number }): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - thisSerializer.writeInt8(value_type) - if ((RuntimeType.UNDEFINED) != (value_type)) { - const value_value = value! - const value_value_fingers = value_value.fingers - let value_value_fingers_type: int32 = RuntimeType.UNDEFINED - value_value_fingers_type = runtimeType(value_value_fingers) - thisSerializer.writeInt8(value_value_fingers_type) - if ((RuntimeType.UNDEFINED) != (value_value_fingers_type)) { - const value_value_fingers_value = value_value_fingers! - thisSerializer.writeNumber(value_value_fingers_value) - } - const value_value_angle = value_value.angle - let value_value_angle_type: int32 = RuntimeType.UNDEFINED - value_value_angle_type = runtimeType(value_value_angle) - thisSerializer.writeInt8(value_value_angle_type) - if ((RuntimeType.UNDEFINED) != (value_value_angle_type)) { - const value_value_angle_value = value_value_angle! - thisSerializer.writeNumber(value_value_angle_value) - } - } - const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + static ctor_patternlockcontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._PatternLockController_ctor() return retval } - constructor(value?: { fingers?: number, angle?: number }) { - const ctorPtr: KPointer = RotationGestureInterfaceInternal.ctor_rotationgestureinterface(value) - this.peer = new Finalizable(ctorPtr, RotationGestureInterfaceInternal.getFinalizer()) + constructor() { + const ctorPtr: KPointer = PatternLockController.ctor_patternlockcontroller() + this.peer = new Finalizable(ctorPtr, PatternLockController.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._RotationGestureInterface_getFinalizer() + return ArkUIGeneratedNativeModule._PatternLockController_getFinalizer() } - public onActionStart(event: ((event: GestureEvent) => void)): RotationGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionStart_serialize(event_casted) + public reset(): void { + this?.reset_serialize() + return } - public onActionUpdate(event: ((event: GestureEvent) => void)): RotationGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionUpdate_serialize(event_casted) + public setChallengeResult(result: PatternLockChallengeResult): void { + const result_casted = result as (PatternLockChallengeResult) + this?.setChallengeResult_serialize(result_casted) + return } - public onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureInterface { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionEnd_serialize(event_casted) + private reset_serialize(): void { + ArkUIGeneratedNativeModule._PatternLockController_reset(this.peer!.ptr) } - public onActionCancel(event: (() => void)): RotationGestureInterface { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) + private setChallengeResult_serialize(result: PatternLockChallengeResult): void { + ArkUIGeneratedNativeModule._PatternLockController_setChallengeResult(this.peer!.ptr, result.valueOf()) } - private onActionStart_serialize(event: ((event: GestureEvent) => void)): RotationGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_onActionStart(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: RotationGestureInterface = RotationGestureInterfaceInternal.fromPtr(retval) - return obj +} +export interface VirtualScrollOptions { + totalCount?: number | undefined + reusable?: boolean | undefined + onLazyLoading(index: number): void + onTotalCount(): number +} +export class VirtualScrollOptionsInternal implements MaterializedBase,VirtualScrollOptions { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): RotationGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_onActionUpdate(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: RotationGestureInterface = RotationGestureInterfaceInternal.fromPtr(retval) - return obj + get totalCount(): number | undefined { + return this.getTotalCount() } - private onActionEnd_serialize(event: ((event: GestureEvent) => void)): RotationGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_onActionEnd(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: RotationGestureInterface = RotationGestureInterfaceInternal.fromPtr(retval) - return obj + set totalCount(totalCount: number | undefined) { + const totalCount_NonNull = (totalCount as number) + this.setTotalCount(totalCount_NonNull) } - private onActionCancel_serialize(event: (() => void)): RotationGestureInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureInterface_onActionCancel(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: RotationGestureInterface = RotationGestureInterfaceInternal.fromPtr(retval) - return obj + get reusable(): boolean | undefined { + return this.getReusable() + } + set reusable(reusable: boolean | undefined) { + const reusable_NonNull = (reusable as boolean) + this.setReusable(reusable_NonNull) + } + static ctor_virtualscrolloptions(): KPointer { + const retval = ArkUIGeneratedNativeModule._VirtualScrollOptions_ctor() + return retval + } + constructor() { + const ctorPtr: KPointer = VirtualScrollOptionsInternal.ctor_virtualscrolloptions() + this.peer = new Finalizable(ctorPtr, VirtualScrollOptionsInternal.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._VirtualScrollOptions_getFinalizer() + } + public onLazyLoading(index: number): void { + const index_casted = index as (number) + this?.onLazyLoading_serialize(index_casted) + return + } + public onTotalCount(): number { + return this.onTotalCount_serialize() + } + private getTotalCount(): number | undefined { + return this.getTotalCount_serialize() + } + private setTotalCount(totalCount: number): void { + const totalCount_casted = totalCount as (number) + this?.setTotalCount_serialize(totalCount_casted) + return + } + private getReusable(): boolean | undefined { + return this.getReusable_serialize() } - public static fromPtr(ptr: KPointer): RotationGestureInterfaceInternal { - const obj: RotationGestureInterfaceInternal = new RotationGestureInterfaceInternal(undefined) - obj.peer = new Finalizable(ptr, RotationGestureInterfaceInternal.getFinalizer()) - return obj + private setReusable(reusable: boolean): void { + const reusable_casted = reusable as (boolean) + this?.setReusable_serialize(reusable_casted) + return } -} -export interface GestureGroupInterface { - onCancel(event: (() => void)): GestureGroupInterface -} -export class GestureGroupInterfaceInternal implements MaterializedBase,GestureGroupInterface { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + private onLazyLoading_serialize(index: number): void { + ArkUIGeneratedNativeModule._VirtualScrollOptions_onLazyLoading(this.peer!.ptr, index) } - static ctor_gesturegroupinterface(mode: GestureMode, gesture: Array): KPointer { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(gesture.length) - for (let i = 0; i < gesture.length; i++) { - const gesture_element: GestureType = gesture[i] - let gesture_element_type: int32 = RuntimeType.UNDEFINED - gesture_element_type = runtimeType(gesture_element) - if ((unsafeCast>(gesture_element).type) === (GestureName.Tap)) { - thisSerializer.writeInt8(0) - const gesture_element_0 = unsafeCast(gesture_element) - thisSerializer.writeTapGestureInterface(gesture_element_0) - } - else if ((unsafeCast>(gesture_element).type) === (GestureName.LongPress)) { - thisSerializer.writeInt8(1) - const gesture_element_1 = unsafeCast(gesture_element) - thisSerializer.writeLongPressGestureInterface(gesture_element_1) - } - else if ((unsafeCast>(gesture_element).type) === (GestureName.Pan)) { - thisSerializer.writeInt8(2) - const gesture_element_2 = unsafeCast(gesture_element) - thisSerializer.writePanGestureInterface(gesture_element_2) - } - else if ((unsafeCast>(gesture_element).type) === (GestureName.Pinch)) { - thisSerializer.writeInt8(3) - const gesture_element_3 = unsafeCast(gesture_element) - thisSerializer.writePinchGestureInterface(gesture_element_3) - } - else if ((unsafeCast>(gesture_element).type) === (GestureName.Swipe)) { - thisSerializer.writeInt8(4) - const gesture_element_4 = unsafeCast(gesture_element) - thisSerializer.writeSwipeGestureInterface(gesture_element_4) - } - else if ((unsafeCast>(gesture_element).type) === (GestureName.Rotation)) { - thisSerializer.writeInt8(5) - const gesture_element_5 = unsafeCast(gesture_element) - thisSerializer.writeRotationGestureInterface(gesture_element_5) - } - else if ((unsafeCast>(gesture_element).type) === (GestureName.Group)) { - thisSerializer.writeInt8(6) - const gesture_element_6 = unsafeCast(gesture_element) - thisSerializer.writeGestureGroupInterface(gesture_element_6) - } - } - const retval = ArkUIGeneratedNativeModule._GestureGroupInterface_ctor(mode.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private onTotalCount_serialize(): number { + const retval = ArkUIGeneratedNativeModule._VirtualScrollOptions_onTotalCount(this.peer!.ptr) return retval } - constructor(mode?: GestureMode, gesture?: Array) { - if (((mode) !== (undefined)) || ((gesture) !== (undefined))) - { - const ctorPtr: KPointer = GestureGroupInterfaceInternal.ctor_gesturegroupinterface((mode)!, (gesture)!) - this.peer = new Finalizable(ctorPtr, GestureGroupInterfaceInternal.getFinalizer()) - } + private getTotalCount_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._VirtualScrollOptions_getTotalCount(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._GestureGroupInterface_getFinalizer() + private setTotalCount_serialize(totalCount: number): void { + ArkUIGeneratedNativeModule._VirtualScrollOptions_setTotalCount(this.peer!.ptr, totalCount) } - public onCancel(event: (() => void)): GestureGroupInterface { - const event_casted = event as ((() => void)) - return this.onCancel_serialize(event_casted) + private getReusable_serialize(): boolean | undefined { + const retval = ArkUIGeneratedNativeModule._VirtualScrollOptions_getReusable(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private onCancel_serialize(event: (() => void)): GestureGroupInterface { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._GestureGroupInterface_onCancel(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: GestureGroupInterface = GestureGroupInterfaceInternal.fromPtr(retval) - return obj + private setReusable_serialize(reusable: boolean): void { + ArkUIGeneratedNativeModule._VirtualScrollOptions_setReusable(this.peer!.ptr, +reusable) } - public static fromPtr(ptr: KPointer): GestureGroupInterfaceInternal { - const obj: GestureGroupInterfaceInternal = new GestureGroupInterfaceInternal(undefined, undefined) - obj.peer = new Finalizable(ptr, GestureGroupInterfaceInternal.getFinalizer()) + public static fromPtr(ptr: KPointer): VirtualScrollOptionsInternal { + const obj: VirtualScrollOptionsInternal = new VirtualScrollOptionsInternal() + obj.peer = new Finalizable(ptr, VirtualScrollOptionsInternal.getFinalizer()) return obj } } -export class EventTargetInfoInternal { - public static fromPtr(ptr: KPointer): EventTargetInfo { - const obj: EventTargetInfo = new EventTargetInfo() - obj.peer = new Finalizable(ptr, EventTargetInfo.getFinalizer()) +export class RichEditorBaseControllerInternal { + public static fromPtr(ptr: KPointer): RichEditorBaseController { + const obj: RichEditorBaseController = new RichEditorBaseController() + obj.peer = new Finalizable(ptr, RichEditorBaseController.getFinalizer()) return obj } } -export class EventTargetInfo implements MaterializedBase { +export class RichEditorBaseController implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_eventtargetinfo(): KPointer { - const retval = ArkUIGeneratedNativeModule._EventTargetInfo_ctor() + static ctor_richeditorbasecontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_ctor() return retval } constructor() { - const ctorPtr: KPointer = EventTargetInfo.ctor_eventtargetinfo() - this.peer = new Finalizable(ctorPtr, EventTargetInfo.getFinalizer()) + const ctorPtr: KPointer = RichEditorBaseController.ctor_richeditorbasecontroller() + this.peer = new Finalizable(ctorPtr, RichEditorBaseController.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._EventTargetInfo_getFinalizer() + return ArkUIGeneratedNativeModule._RichEditorBaseController_getFinalizer() } - public getId(): string { - return this.getId_serialize() + public getCaretOffset(): number { + return this.getCaretOffset_serialize() } - private getId_serialize(): string { - const retval = ArkUIGeneratedNativeModule._EventTargetInfo_getId(this.peer!.ptr) + public setCaretOffset(offset: number): boolean { + const offset_casted = offset as (number) + return this.setCaretOffset_serialize(offset_casted) + } + public closeSelectionMenu(): void { + this?.closeSelectionMenu_serialize() + return + } + public getTypingStyle(): RichEditorTextStyle { + return this.getTypingStyle_serialize() + } + public setTypingStyle(value: RichEditorTextStyle): void { + const value_casted = value as (RichEditorTextStyle) + this?.setTypingStyle_serialize(value_casted) + return + } + public setSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void { + const selectionStart_casted = selectionStart as (number) + const selectionEnd_casted = selectionEnd as (number) + const options_casted = options as (SelectionOptions | undefined) + this?.setSelection_serialize(selectionStart_casted, selectionEnd_casted, options_casted) + return + } + public isEditing(): boolean { + return this.isEditing_serialize() + } + public stopEditing(): void { + this?.stopEditing_serialize() + return + } + public getLayoutManager(): LayoutManager { + return this.getLayoutManager_serialize() + } + public getPreviewText(): PreviewText { + return this.getPreviewText_serialize() + } + public getCaretRect(): RectResult | undefined { + return this.getCaretRect_serialize() + } + private getCaretOffset_serialize(): number { + const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_getCaretOffset(this.peer!.ptr) + return retval + } + private setCaretOffset_serialize(offset: number): boolean { + const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_setCaretOffset(this.peer!.ptr, offset) + return retval + } + private closeSelectionMenu_serialize(): void { + ArkUIGeneratedNativeModule._RichEditorBaseController_closeSelectionMenu(this.peer!.ptr) + } + private getTypingStyle_serialize(): RichEditorTextStyle { + const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_getTypingStyle(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: RichEditorTextStyle = retvalDeserializer.readRichEditorTextStyle() + return returnResult + } + private setTypingStyle_serialize(value: RichEditorTextStyle): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeRichEditorTextStyle(value) + ArkUIGeneratedNativeModule._RichEditorBaseController_setTypingStyle(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private setSelection_serialize(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeSelectionOptions(options_value) + } + ArkUIGeneratedNativeModule._RichEditorBaseController_setSelection(this.peer!.ptr, selectionStart, selectionEnd, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private isEditing_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_isEditing(this.peer!.ptr) return retval } + private stopEditing_serialize(): void { + ArkUIGeneratedNativeModule._RichEditorBaseController_stopEditing(this.peer!.ptr) + } + private getLayoutManager_serialize(): LayoutManager { + const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_getLayoutManager(this.peer!.ptr) + const obj: LayoutManager = LayoutManagerInternal.fromPtr(retval) + return obj + } + private getPreviewText_serialize(): PreviewText { + const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_getPreviewText(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: PreviewText = retvalDeserializer.readPreviewText() + return returnResult + } + private getCaretRect_serialize(): RectResult | undefined { + const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_getCaretRect(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } } -export class GestureRecognizerInternal { - public static fromPtr(ptr: KPointer): GestureRecognizer { - const obj: GestureRecognizer = new GestureRecognizer() - obj.peer = new Finalizable(ptr, GestureRecognizer.getFinalizer()) +export class ScrollerInternal { + public static fromPtr(ptr: KPointer): Scroller { + const obj: Scroller = new Scroller() + obj.peer = new Finalizable(ptr, Scroller.getFinalizer()) return obj } } -export class GestureRecognizer implements MaterializedBase { +export class Scroller implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_gesturerecognizer(): KPointer { - const retval = ArkUIGeneratedNativeModule._GestureRecognizer_ctor() + static ctor_scroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._Scroller_ctor() return retval } constructor() { - const ctorPtr: KPointer = GestureRecognizer.ctor_gesturerecognizer() - this.peer = new Finalizable(ctorPtr, GestureRecognizer.getFinalizer()) + const ctorPtr: KPointer = Scroller.ctor_scroller() + this.peer = new Finalizable(ctorPtr, Scroller.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._GestureRecognizer_getFinalizer() - } - public getTag(): string { - return this.getTag_serialize() - } - public getType(): GestureControl.GestureType { - return this.getType_serialize() - } - public isBuiltIn(): boolean { - return this.isBuiltIn_serialize() + return ArkUIGeneratedNativeModule._Scroller_getFinalizer() } - public setEnabled(isEnabled: boolean): void { - const isEnabled_casted = isEnabled as (boolean) - this?.setEnabled_serialize(isEnabled_casted) + public scrollTo(options: ScrollOptions): void { + const options_casted = options as (ScrollOptions) + this?.scrollTo_serialize(options_casted) return } - public isEnabled(): boolean { - return this.isEnabled_serialize() + public scrollEdge(value: Edge, options?: ScrollEdgeOptions): void { + const value_casted = value as (Edge) + const options_casted = options as (ScrollEdgeOptions | undefined) + this?.scrollEdge_serialize(value_casted, options_casted) + return } - public getState(): GestureRecognizerState { - return this.getState_serialize() + public fling(velocity: number): void { + const velocity_casted = velocity as (number) + this?.fling_serialize(velocity_casted) + return } - public getEventTargetInfo(): EventTargetInfo { - return this.getEventTargetInfo_serialize() + public scrollPage(value: ScrollPageOptions | { next: boolean, direction?: Axis }): void { + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("animation")))) { + const value_casted = value as (ScrollPageOptions) + this?.scrollPage0_serialize(value_casted) + return + } + if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("direction")))) { + const value_casted = value as ({ next: boolean, direction?: Axis }) + this?.scrollPage1_serialize(value_casted) + return + } + throw new Error("Can not select appropriate overload") } - public isValid(): boolean { - return this.isValid_serialize() + public currentOffset(): OffsetResult { + return this.currentOffset_serialize() } - private getTag_serialize(): string { - const retval = ArkUIGeneratedNativeModule._GestureRecognizer_getTag(this.peer!.ptr) - return retval + public scrollToIndex(value: number, smooth?: boolean, align?: ScrollAlign, options?: ScrollToIndexOptions): void { + const value_casted = value as (number) + const smooth_casted = smooth as (boolean | undefined) + const align_casted = align as (ScrollAlign | undefined) + const options_casted = options as (ScrollToIndexOptions | undefined) + this?.scrollToIndex_serialize(value_casted, smooth_casted, align_casted, options_casted) + return } - private getType_serialize(): GestureControl.GestureType { - const retval = ArkUIGeneratedNativeModule._GestureRecognizer_getType(this.peer!.ptr) - return retval + public scrollBy(dx: Length, dy: Length): void { + const dx_casted = dx as (Length) + const dy_casted = dy as (Length) + this?.scrollBy_serialize(dx_casted, dy_casted) + return } - private isBuiltIn_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._GestureRecognizer_isBuiltIn(this.peer!.ptr) - return retval + public isAtEnd(): boolean { + return this.isAtEnd_serialize() } - private setEnabled_serialize(isEnabled: boolean): void { - ArkUIGeneratedNativeModule._GestureRecognizer_setEnabled(this.peer!.ptr, +isEnabled) + public getItemRect(index: number): RectResult { + const index_casted = index as (number) + return this.getItemRect_serialize(index_casted) } - private isEnabled_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._GestureRecognizer_isEnabled(this.peer!.ptr) - return retval + public getItemIndex(x: number, y: number): number { + const x_casted = x as (number) + const y_casted = y as (number) + return this.getItemIndex_serialize(x_casted, y_casted) } - private getState_serialize(): GestureRecognizerState { - const retval = ArkUIGeneratedNativeModule._GestureRecognizer_getState(this.peer!.ptr) - return retval + private scrollTo_serialize(options: ScrollOptions): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeScrollOptions(options) + ArkUIGeneratedNativeModule._Scroller_scrollTo(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private getEventTargetInfo_serialize(): EventTargetInfo { - const retval = ArkUIGeneratedNativeModule._GestureRecognizer_getEventTargetInfo(this.peer!.ptr) - const obj: EventTargetInfo = EventTargetInfoInternal.fromPtr(retval) - return obj + private scrollEdge_serialize(value: Edge, options?: ScrollEdgeOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeScrollEdgeOptions(options_value) + } + ArkUIGeneratedNativeModule._Scroller_scrollEdge(this.peer!.ptr, value.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private isValid_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._GestureRecognizer_isValid(this.peer!.ptr) - return retval + private fling_serialize(velocity: number): void { + ArkUIGeneratedNativeModule._Scroller_fling(this.peer!.ptr, velocity) } -} -export class ImageAnalyzerControllerInternal { - public static fromPtr(ptr: KPointer): ImageAnalyzerController { - const obj: ImageAnalyzerController = new ImageAnalyzerController() - obj.peer = new Finalizable(ptr, ImageAnalyzerController.getFinalizer()) - return obj + private scrollPage0_serialize(value: ScrollPageOptions): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeScrollPageOptions(value) + ArkUIGeneratedNativeModule._Scroller_scrollPage0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } -} -export class ImageAnalyzerController implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + private scrollPage1_serialize(value: { next: boolean, direction?: Axis }): void { + const thisSerializer: Serializer = Serializer.hold() + const value_next = value.next + thisSerializer.writeBoolean(value_next) + const value_direction = value.direction + let value_direction_type: int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + thisSerializer.writeInt8(value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = value_direction! + thisSerializer.writeInt32(value_direction_value.valueOf()) + } + ArkUIGeneratedNativeModule._Scroller_scrollPage1(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - static ctor_imageanalyzercontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._ImageAnalyzerController_ctor() - return retval + private currentOffset_serialize(): OffsetResult { + const retval = ArkUIGeneratedNativeModule._Scroller_currentOffset(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: OffsetResult = retvalDeserializer.readOffsetResult() + return returnResult } - constructor() { - const ctorPtr: KPointer = ImageAnalyzerController.ctor_imageanalyzercontroller() - this.peer = new Finalizable(ctorPtr, ImageAnalyzerController.getFinalizer()) + private scrollToIndex_serialize(value: number, smooth?: boolean, align?: ScrollAlign, options?: ScrollToIndexOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let smooth_type: int32 = RuntimeType.UNDEFINED + smooth_type = runtimeType(smooth) + thisSerializer.writeInt8(smooth_type) + if ((RuntimeType.UNDEFINED) != (smooth_type)) { + const smooth_value = smooth! + thisSerializer.writeBoolean(smooth_value) + } + let align_type: int32 = RuntimeType.UNDEFINED + align_type = runtimeType(align) + thisSerializer.writeInt8(align_type) + if ((RuntimeType.UNDEFINED) != (align_type)) { + const align_value = align! + thisSerializer.writeInt32(align_value.valueOf()) + } + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeScrollToIndexOptions(options_value) + } + ArkUIGeneratedNativeModule._Scroller_scrollToIndex(this.peer!.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ImageAnalyzerController_getFinalizer() + private scrollBy_serialize(dx: Length, dy: Length): void { + const thisSerializer: Serializer = Serializer.hold() + let dx_type: int32 = RuntimeType.UNDEFINED + dx_type = runtimeType(dx) + if (RuntimeType.STRING == dx_type) { + thisSerializer.writeInt8(0) + const dx_0 = unsafeCast(dx) + thisSerializer.writeString(dx_0) + } + else if (RuntimeType.NUMBER == dx_type) { + thisSerializer.writeInt8(1) + const dx_1 = unsafeCast(dx) + thisSerializer.writeNumber(dx_1) + } + else if (RuntimeType.OBJECT == dx_type) { + thisSerializer.writeInt8(2) + const dx_2 = unsafeCast(dx) + thisSerializer.writeResource(dx_2) + } + let dy_type: int32 = RuntimeType.UNDEFINED + dy_type = runtimeType(dy) + if (RuntimeType.STRING == dy_type) { + thisSerializer.writeInt8(0) + const dy_0 = unsafeCast(dy) + thisSerializer.writeString(dy_0) + } + else if (RuntimeType.NUMBER == dy_type) { + thisSerializer.writeInt8(1) + const dy_1 = unsafeCast(dy) + thisSerializer.writeNumber(dy_1) + } + else if (RuntimeType.OBJECT == dy_type) { + thisSerializer.writeInt8(2) + const dy_2 = unsafeCast(dy) + thisSerializer.writeResource(dy_2) + } + ArkUIGeneratedNativeModule._Scroller_scrollBy(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public getImageAnalyzerSupportTypes(): Array { - return this.getImageAnalyzerSupportTypes_serialize() + private isAtEnd_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._Scroller_isAtEnd(this.peer!.ptr) + return retval } - private getImageAnalyzerSupportTypes_serialize(): Array { - const retval = ArkUIGeneratedNativeModule._ImageAnalyzerController_getImageAnalyzerSupportTypes(this.peer!.ptr) + private getItemRect_serialize(index: number): RectResult { + const retval = ArkUIGeneratedNativeModule._Scroller_getItemRect(this.peer!.ptr, index) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) - for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = retvalDeserializer.readInt32() - } - const returnResult: Array = buffer + const returnResult: RectResult = retvalDeserializer.readRectResult() return returnResult } -} -export class Matrix2DInternal { - public static fromPtr(ptr: KPointer): Matrix2D { - const obj: Matrix2D = new Matrix2D() - obj.peer = new Finalizable(ptr, Matrix2D.getFinalizer()) - return obj + private getItemIndex_serialize(x: number, y: number): number { + const retval = ArkUIGeneratedNativeModule._Scroller_getItemIndex(this.peer!.ptr, x, y) + return retval } } -export class Matrix2D implements MaterializedBase { +export interface MenuItemConfiguration { + value: ResourceStr + icon?: ResourceStr | undefined + symbolIcon?: SymbolGlyphModifier | undefined + selected: boolean + index: number + triggerSelect(index: number, value: string): void +} +export class MenuItemConfigurationInternal implements MaterializedBase,CommonConfiguration,MenuItemConfiguration { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get scaleX(): number | undefined { - return this.getScaleX() + get enabled(): boolean { + return this.getEnabled() } - set scaleX(scaleX: number | undefined) { - const scaleX_NonNull = (scaleX as number) - this.setScaleX(scaleX_NonNull) + set enabled(enabled: boolean) { + this.setEnabled(enabled) } - get rotateY(): number | undefined { - return this.getRotateY() + get contentModifier(): ContentModifier { + throw new Error("Not implemented") } - set rotateY(rotateY: number | undefined) { - const rotateY_NonNull = (rotateY as number) - this.setRotateY(rotateY_NonNull) + set contentModifier(contentModifier: ContentModifier) { + this.setContentModifier(contentModifier) } - get rotateX(): number | undefined { - return this.getRotateX() + get value(): ResourceStr { + throw new Error("Not implemented") } - set rotateX(rotateX: number | undefined) { - const rotateX_NonNull = (rotateX as number) - this.setRotateX(rotateX_NonNull) + set value(value: ResourceStr) { + this.setValue(value) } - get scaleY(): number | undefined { - return this.getScaleY() + get icon(): ResourceStr | undefined { + throw new Error("Not implemented") } - set scaleY(scaleY: number | undefined) { - const scaleY_NonNull = (scaleY as number) - this.setScaleY(scaleY_NonNull) + set icon(icon: ResourceStr | undefined) { + const icon_NonNull = (icon as ResourceStr) + this.setIcon(icon_NonNull) + } + get symbolIcon(): SymbolGlyphModifier | undefined { + throw new Error("Not implemented") + } + set symbolIcon(symbolIcon: SymbolGlyphModifier | undefined) { + const symbolIcon_NonNull = (symbolIcon as SymbolGlyphModifier) + this.setSymbolIcon(symbolIcon_NonNull) } - get translateX(): number | undefined { - return this.getTranslateX() + get selected(): boolean { + return this.getSelected() } - set translateX(translateX: number | undefined) { - const translateX_NonNull = (translateX as number) - this.setTranslateX(translateX_NonNull) + set selected(selected: boolean) { + this.setSelected(selected) } - get translateY(): number | undefined { - return this.getTranslateY() + get index(): number { + return this.getIndex() } - set translateY(translateY: number | undefined) { - const translateY_NonNull = (translateY as number) - this.setTranslateY(translateY_NonNull) + set index(index: number) { + this.setIndex(index) } - static ctor_matrix2d(): KPointer { - const retval = ArkUIGeneratedNativeModule._Matrix2D_ctor() + static ctor_menuitemconfiguration(): KPointer { + const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_ctor() return retval } constructor() { - const ctorPtr: KPointer = Matrix2D.ctor_matrix2d() - this.peer = new Finalizable(ctorPtr, Matrix2D.getFinalizer()) + const ctorPtr: KPointer = MenuItemConfigurationInternal.ctor_menuitemconfiguration() + this.peer = new Finalizable(ctorPtr, MenuItemConfigurationInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._Matrix2D_getFinalizer() - } - public identity(): Matrix2D { - return this.identity_serialize() - } - public invert(): Matrix2D { - return this.invert_serialize() - } - public multiply(other?: Matrix2D): Matrix2D { - const other_casted = other as (Matrix2D | undefined) - return this.multiply_serialize(other_casted) - } - public rotate(degree?: number | undefined | number, rx?: number, ry?: number): Matrix2D { - const degree_type = runtimeType(degree) - const rx_type = runtimeType(rx) - const ry_type = runtimeType(ry) - if (((RuntimeType.NUMBER == degree_type) || (RuntimeType.UNDEFINED == degree_type)) && ((RuntimeType.NUMBER == rx_type) || (RuntimeType.UNDEFINED == rx_type)) && (RuntimeType.UNDEFINED == ry_type)) { - const rx_casted = degree as (number | undefined) - const ry_casted = rx as (number | undefined) - return this.rotate0_serialize(rx_casted, ry_casted) - } - if ((RuntimeType.NUMBER == degree_type) && ((RuntimeType.NUMBER == rx_type) || (RuntimeType.UNDEFINED == rx_type)) && ((RuntimeType.NUMBER == ry_type) || (RuntimeType.UNDEFINED == ry_type))) { - const degree_casted = degree as (number) - const rx_casted = rx as (number | undefined) - const ry_casted = ry as (number | undefined) - return this.rotate1_serialize(degree_casted, rx_casted, ry_casted) - } - throw new Error("Can not select appropriate overload") - } - public translate(tx?: number, ty?: number): Matrix2D { - const tx_casted = tx as (number | undefined) - const ty_casted = ty as (number | undefined) - return this.translate_serialize(tx_casted, ty_casted) + return ArkUIGeneratedNativeModule._MenuItemConfiguration_getFinalizer() } - public scale(sx?: number, sy?: number): Matrix2D { - const sx_casted = sx as (number | undefined) - const sy_casted = sy as (number | undefined) - return this.scale_serialize(sx_casted, sy_casted) + public triggerSelect(index: number, value: string): void { + const index_casted = index as (number) + const value_casted = value as (string) + this?.triggerSelect_serialize(index_casted, value_casted) + return } - private getScaleX(): number | undefined { - return this.getScaleX_serialize() + private getEnabled(): boolean { + return this.getEnabled_serialize() } - private setScaleX(scaleX: number): void { - const scaleX_casted = scaleX as (number) - this?.setScaleX_serialize(scaleX_casted) + private setEnabled(enabled: boolean): void { + const enabled_casted = enabled as (boolean) + this?.setEnabled_serialize(enabled_casted) return } - private getRotateY(): number | undefined { - return this.getRotateY_serialize() + private getContentModifier(): ContentModifier { + return this.getContentModifier_serialize() } - private setRotateY(rotateY: number): void { - const rotateY_casted = rotateY as (number) - this?.setRotateY_serialize(rotateY_casted) + private setContentModifier(contentModifier: ContentModifier): void { + const contentModifier_casted = contentModifier as (ContentModifier) + this?.setContentModifier_serialize(contentModifier_casted) return } - private getRotateX(): number | undefined { - return this.getRotateX_serialize() + private getValue(): ResourceStr { + return this.getValue_serialize() } - private setRotateX(rotateX: number): void { - const rotateX_casted = rotateX as (number) - this?.setRotateX_serialize(rotateX_casted) + private setValue(value: ResourceStr): void { + const value_casted = value as (ResourceStr) + this?.setValue_serialize(value_casted) return } - private getScaleY(): number | undefined { - return this.getScaleY_serialize() + private getIcon(): ResourceStr | undefined { + return this.getIcon_serialize() } - private setScaleY(scaleY: number): void { - const scaleY_casted = scaleY as (number) - this?.setScaleY_serialize(scaleY_casted) + private setIcon(icon: ResourceStr): void { + const icon_casted = icon as (ResourceStr) + this?.setIcon_serialize(icon_casted) return } - private getTranslateX(): number | undefined { - return this.getTranslateX_serialize() + private getSymbolIcon(): SymbolGlyphModifier | undefined { + return this.getSymbolIcon_serialize() } - private setTranslateX(translateX: number): void { - const translateX_casted = translateX as (number) - this?.setTranslateX_serialize(translateX_casted) + private setSymbolIcon(symbolIcon: SymbolGlyphModifier): void { + const symbolIcon_casted = symbolIcon as (SymbolGlyphModifier) + this?.setSymbolIcon_serialize(symbolIcon_casted) return } - private getTranslateY(): number | undefined { - return this.getTranslateY_serialize() + private getSelected(): boolean { + return this.getSelected_serialize() } - private setTranslateY(translateY: number): void { - const translateY_casted = translateY as (number) - this?.setTranslateY_serialize(translateY_casted) + private setSelected(selected: boolean): void { + const selected_casted = selected as (boolean) + this?.setSelected_serialize(selected_casted) return } - private identity_serialize(): Matrix2D { - const retval = ArkUIGeneratedNativeModule._Matrix2D_identity(this.peer!.ptr) - const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) - return obj + private getIndex(): number { + return this.getIndex_serialize() } - private invert_serialize(): Matrix2D { - const retval = ArkUIGeneratedNativeModule._Matrix2D_invert(this.peer!.ptr) - const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) - return obj + private setIndex(index: number): void { + const index_casted = index as (number) + this?.setIndex_serialize(index_casted) + return } - private multiply_serialize(other?: Matrix2D): Matrix2D { - const thisSerializer: Serializer = Serializer.hold() - let other_type: int32 = RuntimeType.UNDEFINED - other_type = runtimeType(other) - thisSerializer.writeInt8(other_type) - if ((RuntimeType.UNDEFINED) != (other_type)) { - const other_value = other! - thisSerializer.writeMatrix2D(other_value) - } - const retval = ArkUIGeneratedNativeModule._Matrix2D_multiply(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) - return obj + private triggerSelect_serialize(index: number, value: string): void { + ArkUIGeneratedNativeModule._MenuItemConfiguration_triggerSelect(this.peer!.ptr, index, value) } - private rotate0_serialize(rx?: number, ry?: number): Matrix2D { - const thisSerializer: Serializer = Serializer.hold() - let rx_type: int32 = RuntimeType.UNDEFINED - rx_type = runtimeType(rx) - thisSerializer.writeInt8(rx_type) - if ((RuntimeType.UNDEFINED) != (rx_type)) { - const rx_value = rx! - thisSerializer.writeNumber(rx_value) - } - let ry_type: int32 = RuntimeType.UNDEFINED - ry_type = runtimeType(ry) - thisSerializer.writeInt8(ry_type) - if ((RuntimeType.UNDEFINED) != (ry_type)) { - const ry_value = ry! - thisSerializer.writeNumber(ry_value) - } - const retval = ArkUIGeneratedNativeModule._Matrix2D_rotate0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) - return obj + private getEnabled_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getEnabled(this.peer!.ptr) + return retval } - private rotate1_serialize(degree: number, rx?: number, ry?: number): Matrix2D { - const thisSerializer: Serializer = Serializer.hold() - let rx_type: int32 = RuntimeType.UNDEFINED - rx_type = runtimeType(rx) - thisSerializer.writeInt8(rx_type) - if ((RuntimeType.UNDEFINED) != (rx_type)) { - const rx_value = rx! - thisSerializer.writeNumber(rx_value) - } - let ry_type: int32 = RuntimeType.UNDEFINED - ry_type = runtimeType(ry) - thisSerializer.writeInt8(ry_type) - if ((RuntimeType.UNDEFINED) != (ry_type)) { - const ry_value = ry! - thisSerializer.writeNumber(ry_value) - } - const retval = ArkUIGeneratedNativeModule._Matrix2D_rotate1(this.peer!.ptr, degree, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) - return obj + private setEnabled_serialize(enabled: boolean): void { + ArkUIGeneratedNativeModule._MenuItemConfiguration_setEnabled(this.peer!.ptr, +enabled) } - private translate_serialize(tx?: number, ty?: number): Matrix2D { - const thisSerializer: Serializer = Serializer.hold() - let tx_type: int32 = RuntimeType.UNDEFINED - tx_type = runtimeType(tx) - thisSerializer.writeInt8(tx_type) - if ((RuntimeType.UNDEFINED) != (tx_type)) { - const tx_value = tx! - thisSerializer.writeNumber(tx_value) - } - let ty_type: int32 = RuntimeType.UNDEFINED - ty_type = runtimeType(ty) - thisSerializer.writeInt8(ty_type) - if ((RuntimeType.UNDEFINED) != (ty_type)) { - const ty_value = ty! - thisSerializer.writeNumber(ty_value) - } - const retval = ArkUIGeneratedNativeModule._Matrix2D_translate(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) - return obj + private getContentModifier_serialize(): ContentModifier { + const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getContentModifier(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: ContentModifier = (retvalDeserializer.readObject() as ContentModifier) + return returnResult } - private scale_serialize(sx?: number, sy?: number): Matrix2D { + private setContentModifier_serialize(contentModifier: ContentModifier): void { const thisSerializer: Serializer = Serializer.hold() - let sx_type: int32 = RuntimeType.UNDEFINED - sx_type = runtimeType(sx) - thisSerializer.writeInt8(sx_type) - if ((RuntimeType.UNDEFINED) != (sx_type)) { - const sx_value = sx! - thisSerializer.writeNumber(sx_value) - } - let sy_type: int32 = RuntimeType.UNDEFINED - sy_type = runtimeType(sy) - thisSerializer.writeInt8(sy_type) - if ((RuntimeType.UNDEFINED) != (sy_type)) { - const sy_value = sy! - thisSerializer.writeNumber(sy_value) - } - const retval = ArkUIGeneratedNativeModule._Matrix2D_scale(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: Matrix2D = Matrix2DInternal.fromPtr(retval) - return obj - } - private getScaleX_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._Matrix2D_getScaleX(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") - } - private setScaleX_serialize(scaleX: number): void { - ArkUIGeneratedNativeModule._Matrix2D_setScaleX(this.peer!.ptr, scaleX) + thisSerializer.holdAndWriteObject(contentModifier) + ArkUIGeneratedNativeModule._MenuItemConfiguration_setContentModifier(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private getRotateY_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._Matrix2D_getRotateY(this.peer!.ptr) + private getValue_serialize(): ResourceStr { + const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getValue(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setRotateY_serialize(rotateY: number): void { - ArkUIGeneratedNativeModule._Matrix2D_setRotateY(this.peer!.ptr, rotateY) + private setValue_serialize(value: ResourceStr): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.STRING == value_type) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeString(value_0) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeResource(value_1) + } + ArkUIGeneratedNativeModule._MenuItemConfiguration_setValue(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private getRotateX_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._Matrix2D_getRotateX(this.peer!.ptr) + private getIcon_serialize(): ResourceStr | undefined { + const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getIcon(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setRotateX_serialize(rotateX: number): void { - ArkUIGeneratedNativeModule._Matrix2D_setRotateX(this.peer!.ptr, rotateX) + private setIcon_serialize(icon: ResourceStr): void { + const thisSerializer: Serializer = Serializer.hold() + let icon_type: int32 = RuntimeType.UNDEFINED + icon_type = runtimeType(icon) + if (RuntimeType.STRING == icon_type) { + thisSerializer.writeInt8(0) + const icon_0 = unsafeCast(icon) + thisSerializer.writeString(icon_0) + } + else if (RuntimeType.OBJECT == icon_type) { + thisSerializer.writeInt8(1) + const icon_1 = unsafeCast(icon) + thisSerializer.writeResource(icon_1) + } + ArkUIGeneratedNativeModule._MenuItemConfiguration_setIcon(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private getScaleY_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._Matrix2D_getScaleY(this.peer!.ptr) + private getSymbolIcon_serialize(): SymbolGlyphModifier | undefined { + const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getSymbolIcon(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setScaleY_serialize(scaleY: number): void { - ArkUIGeneratedNativeModule._Matrix2D_setScaleY(this.peer!.ptr, scaleY) + private setSymbolIcon_serialize(symbolIcon: SymbolGlyphModifier): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeSymbolGlyphModifier(symbolIcon) + ArkUIGeneratedNativeModule._MenuItemConfiguration_setSymbolIcon(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private getTranslateX_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._Matrix2D_getTranslateX(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + private getSelected_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getSelected(this.peer!.ptr) + return retval } - private setTranslateX_serialize(translateX: number): void { - ArkUIGeneratedNativeModule._Matrix2D_setTranslateX(this.peer!.ptr, translateX) + private setSelected_serialize(selected: boolean): void { + ArkUIGeneratedNativeModule._MenuItemConfiguration_setSelected(this.peer!.ptr, +selected) } - private getTranslateY_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._Matrix2D_getTranslateY(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + private getIndex_serialize(): number { + const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getIndex(this.peer!.ptr) + return retval } - private setTranslateY_serialize(translateY: number): void { - ArkUIGeneratedNativeModule._Matrix2D_setTranslateY(this.peer!.ptr, translateY) + private setIndex_serialize(index: number): void { + ArkUIGeneratedNativeModule._MenuItemConfiguration_setIndex(this.peer!.ptr, index) + } + public static fromPtr(ptr: KPointer): MenuItemConfigurationInternal { + const obj: MenuItemConfigurationInternal = new MenuItemConfigurationInternal() + obj.peer = new Finalizable(ptr, MenuItemConfigurationInternal.getFinalizer()) + return obj } } -export interface NavDestinationContext { - pathInfo: NavPathInfo - pathStack: NavPathStack - navDestinationId?: string | undefined - getConfigInRouteMap(): RouteMapConfig | undefined +export class SwiperControllerInternal { + public static fromPtr(ptr: KPointer): SwiperController { + const obj: SwiperController = new SwiperController() + obj.peer = new Finalizable(ptr, SwiperController.getFinalizer()) + return obj + } } -export class NavDestinationContextInternal implements MaterializedBase,NavDestinationContext { +export class SwiperController implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get pathInfo(): NavPathInfo { - return this.getPathInfo() - } - set pathInfo(pathInfo: NavPathInfo) { - this.setPathInfo(pathInfo) - } - get pathStack(): NavPathStack { - return this.getPathStack() - } - set pathStack(pathStack: NavPathStack) { - this.setPathStack(pathStack) - } - get navDestinationId(): string | undefined { - return this.getNavDestinationId() - } - set navDestinationId(navDestinationId: string | undefined) { - const navDestinationId_NonNull = (navDestinationId as string) - this.setNavDestinationId(navDestinationId_NonNull) - } - static ctor_navdestinationcontext(): KPointer { - const retval = ArkUIGeneratedNativeModule._NavDestinationContext_ctor() + static ctor_swipercontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._SwiperController_ctor() return retval } constructor() { - const ctorPtr: KPointer = NavDestinationContextInternal.ctor_navdestinationcontext() - this.peer = new Finalizable(ctorPtr, NavDestinationContextInternal.getFinalizer()) + const ctorPtr: KPointer = SwiperController.ctor_swipercontroller() + this.peer = new Finalizable(ctorPtr, SwiperController.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._NavDestinationContext_getFinalizer() - } - public getConfigInRouteMap(): RouteMapConfig | undefined { - return this.getConfigInRouteMap_serialize() - } - private getPathInfo(): NavPathInfo { - return this.getPathInfo_serialize() + return ArkUIGeneratedNativeModule._SwiperController_getFinalizer() } - private setPathInfo(pathInfo: NavPathInfo): void { - const pathInfo_casted = pathInfo as (NavPathInfo) - this?.setPathInfo_serialize(pathInfo_casted) + public showNext(): void { + this?.showNext_serialize() return } - private getPathStack(): NavPathStack { - return this.getPathStack_serialize() - } - private setPathStack(pathStack: NavPathStack): void { - const pathStack_casted = pathStack as (NavPathStack) - this?.setPathStack_serialize(pathStack_casted) + public showPrevious(): void { + this?.showPrevious_serialize() return } - private getNavDestinationId(): string | undefined { - return this.getNavDestinationId_serialize() + public changeIndex(index: number, useAnimation?: boolean | undefined | SwiperAnimationMode | boolean | undefined): void { + const index_type = runtimeType(index) + const useAnimation_type = runtimeType(useAnimation) + if ((RuntimeType.BOOLEAN == useAnimation_type) || (RuntimeType.UNDEFINED == useAnimation_type)) { + const index_casted = index as (number) + const useAnimation_casted = useAnimation as (boolean | undefined) + this?.changeIndex0_serialize(index_casted, useAnimation_casted) + return + } + if ((RuntimeType.NUMBER == useAnimation_type) || (RuntimeType.BOOLEAN == useAnimation_type) || (RuntimeType.UNDEFINED == useAnimation_type)) { + const index_casted = index as (number) + const animationMode_casted = useAnimation as (SwiperAnimationMode | boolean | undefined) + this?.changeIndex1_serialize(index_casted, animationMode_casted) + return + } + throw new Error("Can not select appropriate overload") } - private setNavDestinationId(navDestinationId: string): void { - const navDestinationId_casted = navDestinationId as (string) - this?.setNavDestinationId_serialize(navDestinationId_casted) + public finishAnimation(callback_?: VoidCallback): void { + const callback__casted = callback_ as (VoidCallback | undefined) + this?.finishAnimation_serialize(callback__casted) return } - private getConfigInRouteMap_serialize(): RouteMapConfig | undefined { - const retval = ArkUIGeneratedNativeModule._NavDestinationContext_getConfigInRouteMap(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") - } - private getPathInfo_serialize(): NavPathInfo { - const retval = ArkUIGeneratedNativeModule._NavDestinationContext_getPathInfo(this.peer!.ptr) - const obj: NavPathInfo = NavPathInfoInternal.fromPtr(retval) - return obj + public preloadItems(indices: Array | undefined): Promise { + const indices_casted = indices as (Array | undefined) + return this.preloadItems_serialize(indices_casted) } - private setPathInfo_serialize(pathInfo: NavPathInfo): void { - ArkUIGeneratedNativeModule._NavDestinationContext_setPathInfo(this.peer!.ptr, toPeerPtr(pathInfo)) + private showNext_serialize(): void { + ArkUIGeneratedNativeModule._SwiperController_showNext(this.peer!.ptr) } - private getPathStack_serialize(): NavPathStack { - const retval = ArkUIGeneratedNativeModule._NavDestinationContext_getPathStack(this.peer!.ptr) - const obj: NavPathStack = NavPathStackInternal.fromPtr(retval) - return obj + private showPrevious_serialize(): void { + ArkUIGeneratedNativeModule._SwiperController_showPrevious(this.peer!.ptr) } - private setPathStack_serialize(pathStack: NavPathStack): void { - ArkUIGeneratedNativeModule._NavDestinationContext_setPathStack(this.peer!.ptr, toPeerPtr(pathStack)) + private changeIndex0_serialize(index: number, useAnimation?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + let useAnimation_type: int32 = RuntimeType.UNDEFINED + useAnimation_type = runtimeType(useAnimation) + thisSerializer.writeInt8(useAnimation_type) + if ((RuntimeType.UNDEFINED) != (useAnimation_type)) { + const useAnimation_value = useAnimation! + thisSerializer.writeBoolean(useAnimation_value) + } + ArkUIGeneratedNativeModule._SwiperController_changeIndex0(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private getNavDestinationId_serialize(): string | undefined { - const retval = ArkUIGeneratedNativeModule._NavDestinationContext_getNavDestinationId(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + private changeIndex1_serialize(index: number, animationMode?: SwiperAnimationMode | boolean): void { + const thisSerializer: Serializer = Serializer.hold() + let animationMode_type: int32 = RuntimeType.UNDEFINED + animationMode_type = runtimeType(animationMode) + thisSerializer.writeInt8(animationMode_type) + if ((RuntimeType.UNDEFINED) != (animationMode_type)) { + const animationMode_value = animationMode! + let animationMode_value_type: int32 = RuntimeType.UNDEFINED + animationMode_value_type = runtimeType(animationMode_value) + if (RuntimeType.NUMBER == animationMode_value_type) { + thisSerializer.writeInt8(0) + const animationMode_value_0 = unsafeCast(animationMode_value) + thisSerializer.writeInt32(animationMode_value_0.valueOf()) + } + else if (RuntimeType.BOOLEAN == animationMode_value_type) { + thisSerializer.writeInt8(1) + const animationMode_value_1 = unsafeCast(animationMode_value) + thisSerializer.writeBoolean(animationMode_value_1) + } + } + ArkUIGeneratedNativeModule._SwiperController_changeIndex1(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private setNavDestinationId_serialize(navDestinationId: string): void { - ArkUIGeneratedNativeModule._NavDestinationContext_setNavDestinationId(this.peer!.ptr, navDestinationId) + private finishAnimation_serialize(callback_?: VoidCallback): void { + const thisSerializer: Serializer = Serializer.hold() + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._SwiperController_finishAnimation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public static fromPtr(ptr: KPointer): NavDestinationContextInternal { - const obj: NavDestinationContextInternal = new NavDestinationContextInternal() - obj.peer = new Finalizable(ptr, NavDestinationContextInternal.getFinalizer()) - return obj + private preloadItems_serialize(indices: Array | undefined): Promise { + const thisSerializer: Serializer = Serializer.hold() + let indices_type: int32 = RuntimeType.UNDEFINED + indices_type = runtimeType(indices) + thisSerializer.writeInt8(indices_type) + if ((RuntimeType.UNDEFINED) != (indices_type)) { + const indices_value = indices! + thisSerializer.writeInt32(indices_value.length) + for (let i = 0; i < indices_value.length; i++) { + const indices_value_element: number = indices_value[i] + thisSerializer.writeNumber(indices_value_element) + } + } + const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] + ArkUIGeneratedNativeModule._SwiperController_preloadItems(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval } } -export class PatternLockControllerInternal { - public static fromPtr(ptr: KPointer): PatternLockController { - const obj: PatternLockController = new PatternLockController() - obj.peer = new Finalizable(ptr, PatternLockController.getFinalizer()) - return obj - } +export interface SwiperContentTransitionProxy { + selectedIndex: number + index: number + position: number + mainAxisLength: number + finishTransition(): void } -export class PatternLockController implements MaterializedBase { +export class SwiperContentTransitionProxyInternal implements MaterializedBase,SwiperContentTransitionProxy { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_patternlockcontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._PatternLockController_ctor() - return retval - } - constructor() { - const ctorPtr: KPointer = PatternLockController.ctor_patternlockcontroller() - this.peer = new Finalizable(ctorPtr, PatternLockController.getFinalizer()) + get selectedIndex(): number { + return this.getSelectedIndex() } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._PatternLockController_getFinalizer() + set selectedIndex(selectedIndex: number) { + this.setSelectedIndex(selectedIndex) } - public reset(): void { - this?.reset_serialize() - return + get index(): number { + return this.getIndex() } - public setChallengeResult(result: PatternLockChallengeResult): void { - const result_casted = result as (PatternLockChallengeResult) - this?.setChallengeResult_serialize(result_casted) - return + set index(index: number) { + this.setIndex(index) } - private reset_serialize(): void { - ArkUIGeneratedNativeModule._PatternLockController_reset(this.peer!.ptr) + get position(): number { + return this.getPosition() } - private setChallengeResult_serialize(result: PatternLockChallengeResult): void { - ArkUIGeneratedNativeModule._PatternLockController_setChallengeResult(this.peer!.ptr, result.valueOf()) + set position(position: number) { + this.setPosition(position) } -} -export class RichEditorBaseControllerInternal { - public static fromPtr(ptr: KPointer): RichEditorBaseController { - const obj: RichEditorBaseController = new RichEditorBaseController() - obj.peer = new Finalizable(ptr, RichEditorBaseController.getFinalizer()) - return obj + get mainAxisLength(): number { + return this.getMainAxisLength() } -} -export class RichEditorBaseController implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + set mainAxisLength(mainAxisLength: number) { + this.setMainAxisLength(mainAxisLength) } - static ctor_richeditorbasecontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_ctor() + static ctor_swipercontenttransitionproxy(): KPointer { + const retval = ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_ctor() return retval } constructor() { - const ctorPtr: KPointer = RichEditorBaseController.ctor_richeditorbasecontroller() - this.peer = new Finalizable(ctorPtr, RichEditorBaseController.getFinalizer()) + const ctorPtr: KPointer = SwiperContentTransitionProxyInternal.ctor_swipercontenttransitionproxy() + this.peer = new Finalizable(ctorPtr, SwiperContentTransitionProxyInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._RichEditorBaseController_getFinalizer() + return ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_getFinalizer() } - public getCaretOffset(): number { - return this.getCaretOffset_serialize() + public finishTransition(): void { + this?.finishTransition_serialize() + return } - public setCaretOffset(offset: number): boolean { - const offset_casted = offset as (number) - return this.setCaretOffset_serialize(offset_casted) + private getSelectedIndex(): number { + return this.getSelectedIndex_serialize() } - public closeSelectionMenu(): void { - this?.closeSelectionMenu_serialize() + private setSelectedIndex(selectedIndex: number): void { + const selectedIndex_casted = selectedIndex as (number) + this?.setSelectedIndex_serialize(selectedIndex_casted) return } - public getTypingStyle(): RichEditorTextStyle { - return this.getTypingStyle_serialize() + private getIndex(): number { + return this.getIndex_serialize() } - public setTypingStyle(value: RichEditorTextStyle): void { - const value_casted = value as (RichEditorTextStyle) - this?.setTypingStyle_serialize(value_casted) + private setIndex(index: number): void { + const index_casted = index as (number) + this?.setIndex_serialize(index_casted) return } - public setSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void { - const selectionStart_casted = selectionStart as (number) - const selectionEnd_casted = selectionEnd as (number) - const options_casted = options as (SelectionOptions | undefined) - this?.setSelection_serialize(selectionStart_casted, selectionEnd_casted, options_casted) + private getPosition(): number { + return this.getPosition_serialize() + } + private setPosition(position: number): void { + const position_casted = position as (number) + this?.setPosition_serialize(position_casted) return } - public isEditing(): boolean { - return this.isEditing_serialize() + private getMainAxisLength(): number { + return this.getMainAxisLength_serialize() } - public stopEditing(): void { - this?.stopEditing_serialize() + private setMainAxisLength(mainAxisLength: number): void { + const mainAxisLength_casted = mainAxisLength as (number) + this?.setMainAxisLength_serialize(mainAxisLength_casted) return } - public getLayoutManager(): LayoutManager { - return this.getLayoutManager_serialize() - } - public getPreviewText(): PreviewText { - return this.getPreviewText_serialize() + private finishTransition_serialize(): void { + ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_finishTransition(this.peer!.ptr) } - private getCaretOffset_serialize(): number { - const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_getCaretOffset(this.peer!.ptr) + private getSelectedIndex_serialize(): number { + const retval = ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_getSelectedIndex(this.peer!.ptr) return retval } - private setCaretOffset_serialize(offset: number): boolean { - const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_setCaretOffset(this.peer!.ptr, offset) - return retval + private setSelectedIndex_serialize(selectedIndex: number): void { + ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_setSelectedIndex(this.peer!.ptr, selectedIndex) } - private closeSelectionMenu_serialize(): void { - ArkUIGeneratedNativeModule._RichEditorBaseController_closeSelectionMenu(this.peer!.ptr) + private getIndex_serialize(): number { + const retval = ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_getIndex(this.peer!.ptr) + return retval } - private getTypingStyle_serialize(): RichEditorTextStyle { - const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_getTypingStyle(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: RichEditorTextStyle = retvalDeserializer.readRichEditorTextStyle() - return returnResult + private setIndex_serialize(index: number): void { + ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_setIndex(this.peer!.ptr, index) } - private setTypingStyle_serialize(value: RichEditorTextStyle): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeRichEditorTextStyle(value) - ArkUIGeneratedNativeModule._RichEditorBaseController_setTypingStyle(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getPosition_serialize(): number { + const retval = ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_getPosition(this.peer!.ptr) + return retval } - private setSelection_serialize(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeSelectionOptions(options_value) - } - ArkUIGeneratedNativeModule._RichEditorBaseController_setSelection(this.peer!.ptr, selectionStart, selectionEnd, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private setPosition_serialize(position: number): void { + ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_setPosition(this.peer!.ptr, position) } - private isEditing_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_isEditing(this.peer!.ptr) + private getMainAxisLength_serialize(): number { + const retval = ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_getMainAxisLength(this.peer!.ptr) return retval } - private stopEditing_serialize(): void { - ArkUIGeneratedNativeModule._RichEditorBaseController_stopEditing(this.peer!.ptr) + private setMainAxisLength_serialize(mainAxisLength: number): void { + ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_setMainAxisLength(this.peer!.ptr, mainAxisLength) } - private getLayoutManager_serialize(): LayoutManager { - const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_getLayoutManager(this.peer!.ptr) - const obj: LayoutManager = LayoutManagerInternal.fromPtr(retval) + public static fromPtr(ptr: KPointer): SwiperContentTransitionProxyInternal { + const obj: SwiperContentTransitionProxyInternal = new SwiperContentTransitionProxyInternal() + obj.peer = new Finalizable(ptr, SwiperContentTransitionProxyInternal.getFinalizer()) return obj } - private getPreviewText_serialize(): PreviewText { - const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_getPreviewText(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: PreviewText = retvalDeserializer.readPreviewText() - return returnResult - } } -export class ScrollerInternal { - public static fromPtr(ptr: KPointer): Scroller { - const obj: Scroller = new Scroller() - obj.peer = new Finalizable(ptr, Scroller.getFinalizer()) +export class IndicatorComponentControllerInternal { + public static fromPtr(ptr: KPointer): IndicatorComponentController { + const obj: IndicatorComponentController = new IndicatorComponentController() + obj.peer = new Finalizable(ptr, IndicatorComponentController.getFinalizer()) return obj } } -export class Scroller implements MaterializedBase { +export class IndicatorComponentController implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_scroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._Scroller_ctor() + static ctor_indicatorcomponentcontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._IndicatorComponentController_ctor() return retval } constructor() { - const ctorPtr: KPointer = Scroller.ctor_scroller() - this.peer = new Finalizable(ctorPtr, Scroller.getFinalizer()) + const ctorPtr: KPointer = IndicatorComponentController.ctor_indicatorcomponentcontroller() + this.peer = new Finalizable(ctorPtr, IndicatorComponentController.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._Scroller_getFinalizer() + return ArkUIGeneratedNativeModule._IndicatorComponentController_getFinalizer() } - public scrollTo(options: ScrollOptions): void { - const options_casted = options as (ScrollOptions) - this?.scrollTo_serialize(options_casted) + public showNext(): void { + this?.showNext_serialize() return } - public scrollEdge(value: Edge, options?: ScrollEdgeOptions): void { - const value_casted = value as (Edge) - const options_casted = options as (ScrollEdgeOptions | undefined) - this?.scrollEdge_serialize(value_casted, options_casted) + public showPrevious(): void { + this?.showPrevious_serialize() return } - public fling(velocity: number): void { - const velocity_casted = velocity as (number) - this?.fling_serialize(velocity_casted) + public changeIndex(index: number, useAnimation?: boolean): void { + const index_casted = index as (number) + const useAnimation_casted = useAnimation as (boolean | undefined) + this?.changeIndex_serialize(index_casted, useAnimation_casted) return } - public scrollPage(value: ScrollPageOptions | { next: boolean, direction?: Axis }): void { - const value_type = runtimeType(value) - if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("animation")))) { - const value_casted = value as (ScrollPageOptions) - this?.scrollPage0_serialize(value_casted) - return - } - if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("direction")))) { - const value_casted = value as ({ next: boolean, direction?: Axis }) - this?.scrollPage1_serialize(value_casted) - return - } - throw new Error("Can not select appropriate overload") + private showNext_serialize(): void { + ArkUIGeneratedNativeModule._IndicatorComponentController_showNext(this.peer!.ptr) } - public currentOffset(): OffsetResult { - return this.currentOffset_serialize() + private showPrevious_serialize(): void { + ArkUIGeneratedNativeModule._IndicatorComponentController_showPrevious(this.peer!.ptr) } - public scrollToIndex(value: number, smooth?: boolean, align?: ScrollAlign, options?: ScrollToIndexOptions): void { - const value_casted = value as (number) - const smooth_casted = smooth as (boolean | undefined) - const align_casted = align as (ScrollAlign | undefined) - const options_casted = options as (ScrollToIndexOptions | undefined) - this?.scrollToIndex_serialize(value_casted, smooth_casted, align_casted, options_casted) - return + private changeIndex_serialize(index: number, useAnimation?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + let useAnimation_type: int32 = RuntimeType.UNDEFINED + useAnimation_type = runtimeType(useAnimation) + thisSerializer.writeInt8(useAnimation_type) + if ((RuntimeType.UNDEFINED) != (useAnimation_type)) { + const useAnimation_value = useAnimation! + thisSerializer.writeBoolean(useAnimation_value) + } + ArkUIGeneratedNativeModule._IndicatorComponentController_changeIndex(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public scrollBy(dx: Length, dy: Length): void { - const dx_casted = dx as (Length) - const dy_casted = dy as (Length) - this?.scrollBy_serialize(dx_casted, dy_casted) - return +} +export class TabsControllerInternal { + public static fromPtr(ptr: KPointer): TabsController { + const obj: TabsController = new TabsController() + obj.peer = new Finalizable(ptr, TabsController.getFinalizer()) + return obj } - public isAtEnd(): boolean { - return this.isAtEnd_serialize() +} +export class TabsController implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - public getItemRect(index: number): RectResult { - const index_casted = index as (number) - return this.getItemRect_serialize(index_casted) + static ctor_tabscontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._TabsController_ctor() + return retval } - public getItemIndex(x: number, y: number): number { - const x_casted = x as (number) - const y_casted = y as (number) - return this.getItemIndex_serialize(x_casted, y_casted) + constructor() { + const ctorPtr: KPointer = TabsController.ctor_tabscontroller() + this.peer = new Finalizable(ctorPtr, TabsController.getFinalizer()) } - private scrollTo_serialize(options: ScrollOptions): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeScrollOptions(options) - ArkUIGeneratedNativeModule._Scroller_scrollTo(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TabsController_getFinalizer() } - private scrollEdge_serialize(value: Edge, options?: ScrollEdgeOptions): void { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeScrollEdgeOptions(options_value) - } - ArkUIGeneratedNativeModule._Scroller_scrollEdge(this.peer!.ptr, value.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + public changeIndex(value: number): void { + const value_casted = value as (number) + this?.changeIndex_serialize(value_casted) + return } - private fling_serialize(velocity: number): void { - ArkUIGeneratedNativeModule._Scroller_fling(this.peer!.ptr, velocity) + public preloadItems(indices: Array | undefined): Promise { + const indices_casted = indices as (Array | undefined) + return this.preloadItems_serialize(indices_casted) } - private scrollPage0_serialize(value: ScrollPageOptions): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeScrollPageOptions(value) - ArkUIGeneratedNativeModule._Scroller_scrollPage0(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + public setTabBarTranslate(translate: TranslateOptions): void { + const translate_casted = translate as (TranslateOptions) + this?.setTabBarTranslate_serialize(translate_casted) + return } - private scrollPage1_serialize(value: { next: boolean, direction?: Axis }): void { - const thisSerializer: Serializer = Serializer.hold() - const value_next = value.next - thisSerializer.writeBoolean(value_next) - const value_direction = value.direction - let value_direction_type: int32 = RuntimeType.UNDEFINED - value_direction_type = runtimeType(value_direction) - thisSerializer.writeInt8(value_direction_type) - if ((RuntimeType.UNDEFINED) != (value_direction_type)) { - const value_direction_value = value_direction! - thisSerializer.writeInt32(value_direction_value.valueOf()) - } - ArkUIGeneratedNativeModule._Scroller_scrollPage1(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + public setTabBarOpacity(opacity: number): void { + const opacity_casted = opacity as (number) + this?.setTabBarOpacity_serialize(opacity_casted) + return } - private currentOffset_serialize(): OffsetResult { - const retval = ArkUIGeneratedNativeModule._Scroller_currentOffset(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: OffsetResult = retvalDeserializer.readOffsetResult() - return returnResult + private changeIndex_serialize(value: number): void { + ArkUIGeneratedNativeModule._TabsController_changeIndex(this.peer!.ptr, value) } - private scrollToIndex_serialize(value: number, smooth?: boolean, align?: ScrollAlign, options?: ScrollToIndexOptions): void { + private preloadItems_serialize(indices: Array | undefined): Promise { const thisSerializer: Serializer = Serializer.hold() - let smooth_type: int32 = RuntimeType.UNDEFINED - smooth_type = runtimeType(smooth) - thisSerializer.writeInt8(smooth_type) - if ((RuntimeType.UNDEFINED) != (smooth_type)) { - const smooth_value = smooth! - thisSerializer.writeBoolean(smooth_value) - } - let align_type: int32 = RuntimeType.UNDEFINED - align_type = runtimeType(align) - thisSerializer.writeInt8(align_type) - if ((RuntimeType.UNDEFINED) != (align_type)) { - const align_value = align! - thisSerializer.writeInt32(align_value.valueOf()) - } - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeScrollToIndexOptions(options_value) + let indices_type: int32 = RuntimeType.UNDEFINED + indices_type = runtimeType(indices) + thisSerializer.writeInt8(indices_type) + if ((RuntimeType.UNDEFINED) != (indices_type)) { + const indices_value = indices! + thisSerializer.writeInt32(indices_value.length) + for (let i = 0; i < indices_value.length; i++) { + const indices_value_element: number = indices_value[i] + thisSerializer.writeNumber(indices_value_element) + } } - ArkUIGeneratedNativeModule._Scroller_scrollToIndex(this.peer!.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] + ArkUIGeneratedNativeModule._TabsController_preloadItems(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + return retval } - private scrollBy_serialize(dx: Length, dy: Length): void { + private setTabBarTranslate_serialize(translate: TranslateOptions): void { const thisSerializer: Serializer = Serializer.hold() - let dx_type: int32 = RuntimeType.UNDEFINED - dx_type = runtimeType(dx) - if (RuntimeType.STRING == dx_type) { - thisSerializer.writeInt8(0) - const dx_0 = unsafeCast(dx) - thisSerializer.writeString(dx_0) - } - else if (RuntimeType.NUMBER == dx_type) { - thisSerializer.writeInt8(1) - const dx_1 = unsafeCast(dx) - thisSerializer.writeNumber(dx_1) - } - else if (RuntimeType.OBJECT == dx_type) { - thisSerializer.writeInt8(2) - const dx_2 = unsafeCast(dx) - thisSerializer.writeResource(dx_2) - } - let dy_type: int32 = RuntimeType.UNDEFINED - dy_type = runtimeType(dy) - if (RuntimeType.STRING == dy_type) { - thisSerializer.writeInt8(0) - const dy_0 = unsafeCast(dy) - thisSerializer.writeString(dy_0) - } - else if (RuntimeType.NUMBER == dy_type) { - thisSerializer.writeInt8(1) - const dy_1 = unsafeCast(dy) - thisSerializer.writeNumber(dy_1) - } - else if (RuntimeType.OBJECT == dy_type) { - thisSerializer.writeInt8(2) - const dy_2 = unsafeCast(dy) - thisSerializer.writeResource(dy_2) - } - ArkUIGeneratedNativeModule._Scroller_scrollBy(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeTranslateOptions(translate) + ArkUIGeneratedNativeModule._TabsController_setTabBarTranslate(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private isAtEnd_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._Scroller_isAtEnd(this.peer!.ptr) - return retval - } - private getItemRect_serialize(index: number): RectResult { - const retval = ArkUIGeneratedNativeModule._Scroller_getItemRect(this.peer!.ptr, index) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: RectResult = retvalDeserializer.readRectResult() - return returnResult - } - private getItemIndex_serialize(x: number, y: number): number { - const retval = ArkUIGeneratedNativeModule._Scroller_getItemIndex(this.peer!.ptr, x, y) - return retval + private setTabBarOpacity_serialize(opacity: number): void { + ArkUIGeneratedNativeModule._TabsController_setTabBarOpacity(this.peer!.ptr, opacity) } } -export interface MenuItemConfiguration { - value: ResourceStr - icon?: ResourceStr | undefined - symbolIcon?: SymbolGlyphModifier | undefined - selected: boolean - index: number - triggerSelect(index: number, value: string): void +export interface TabContentTransitionProxy { + from: number + to: number + finishTransition(): void } -export class MenuItemConfigurationInternal implements MaterializedBase,CommonConfiguration,MenuItemConfiguration { +export class TabContentTransitionProxyInternal implements MaterializedBase,TabContentTransitionProxy { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get enabled(): boolean { - return this.getEnabled() + get from(): number { + return this.getFrom() } - set enabled(enabled: boolean) { - this.setEnabled(enabled) + set from(from: number) { + this.setFrom(from) } - get contentModifier(): ContentModifier { - throw new Error("Not implemented") + get to(): number { + return this.getTo() } - set contentModifier(contentModifier: ContentModifier) { - this.setContentModifier(contentModifier) + set to(to: number) { + this.setTo(to) } - get value(): ResourceStr { - throw new Error("Not implemented") + static ctor_tabcontenttransitionproxy(): KPointer { + const retval = ArkUIGeneratedNativeModule._TabContentTransitionProxy_ctor() + return retval } - set value(value: ResourceStr) { - this.setValue(value) + constructor() { + const ctorPtr: KPointer = TabContentTransitionProxyInternal.ctor_tabcontenttransitionproxy() + this.peer = new Finalizable(ctorPtr, TabContentTransitionProxyInternal.getFinalizer()) } - get icon(): ResourceStr | undefined { - throw new Error("Not implemented") + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TabContentTransitionProxy_getFinalizer() } - set icon(icon: ResourceStr | undefined) { - const icon_NonNull = (icon as ResourceStr) - this.setIcon(icon_NonNull) + public finishTransition(): void { + this?.finishTransition_serialize() + return } - get symbolIcon(): SymbolGlyphModifier | undefined { - throw new Error("Not implemented") + private getFrom(): number { + return this.getFrom_serialize() } - set symbolIcon(symbolIcon: SymbolGlyphModifier | undefined) { - const symbolIcon_NonNull = (symbolIcon as SymbolGlyphModifier) - this.setSymbolIcon(symbolIcon_NonNull) + private setFrom(from: number): void { + const from_casted = from as (number) + this?.setFrom_serialize(from_casted) + return } - get selected(): boolean { - return this.getSelected() + private getTo(): number { + return this.getTo_serialize() } - set selected(selected: boolean) { - this.setSelected(selected) + private setTo(to: number): void { + const to_casted = to as (number) + this?.setTo_serialize(to_casted) + return + } + private finishTransition_serialize(): void { + ArkUIGeneratedNativeModule._TabContentTransitionProxy_finishTransition(this.peer!.ptr) + } + private getFrom_serialize(): number { + const retval = ArkUIGeneratedNativeModule._TabContentTransitionProxy_getFrom(this.peer!.ptr) + return retval + } + private setFrom_serialize(from: number): void { + ArkUIGeneratedNativeModule._TabContentTransitionProxy_setFrom(this.peer!.ptr, from) + } + private getTo_serialize(): number { + const retval = ArkUIGeneratedNativeModule._TabContentTransitionProxy_getTo(this.peer!.ptr) + return retval + } + private setTo_serialize(to: number): void { + ArkUIGeneratedNativeModule._TabContentTransitionProxy_setTo(this.peer!.ptr, to) + } + public static fromPtr(ptr: KPointer): TabContentTransitionProxyInternal { + const obj: TabContentTransitionProxyInternal = new TabContentTransitionProxyInternal() + obj.peer = new Finalizable(ptr, TabContentTransitionProxyInternal.getFinalizer()) + return obj } - get index(): number { - return this.getIndex() +} +export class TextControllerInternal { + public static fromPtr(ptr: KPointer): TextController { + const obj: TextController = new TextController() + obj.peer = new Finalizable(ptr, TextController.getFinalizer()) + return obj } - set index(index: number) { - this.setIndex(index) +} +export class TextController implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - static ctor_menuitemconfiguration(): KPointer { - const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_ctor() + static ctor_textcontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._TextController_ctor() return retval } constructor() { - const ctorPtr: KPointer = MenuItemConfigurationInternal.ctor_menuitemconfiguration() - this.peer = new Finalizable(ctorPtr, MenuItemConfigurationInternal.getFinalizer()) + const ctorPtr: KPointer = TextController.ctor_textcontroller() + this.peer = new Finalizable(ctorPtr, TextController.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._MenuItemConfiguration_getFinalizer() + return ArkUIGeneratedNativeModule._TextController_getFinalizer() } - public triggerSelect(index: number, value: string): void { - const index_casted = index as (number) - const value_casted = value as (string) - this?.triggerSelect_serialize(index_casted, value_casted) + public closeSelectionMenu(): void { + this?.closeSelectionMenu_serialize() return } - private getEnabled(): boolean { - return this.getEnabled_serialize() - } - private setEnabled(enabled: boolean): void { - const enabled_casted = enabled as (boolean) - this?.setEnabled_serialize(enabled_casted) + public setStyledString(value: StyledString): void { + const value_casted = value as (StyledString) + this?.setStyledString_serialize(value_casted) return } - private getContentModifier(): ContentModifier { - return this.getContentModifier_serialize() + public getLayoutManager(): LayoutManager { + return this.getLayoutManager_serialize() } - private setContentModifier(contentModifier: ContentModifier): void { - const contentModifier_casted = contentModifier as (ContentModifier) - this?.setContentModifier_serialize(contentModifier_casted) - return + private closeSelectionMenu_serialize(): void { + ArkUIGeneratedNativeModule._TextController_closeSelectionMenu(this.peer!.ptr) } - private getValue(): ResourceStr { - return this.getValue_serialize() + private setStyledString_serialize(value: StyledString): void { + ArkUIGeneratedNativeModule._TextController_setStyledString(this.peer!.ptr, toPeerPtr(value)) } - private setValue(value: ResourceStr): void { - const value_casted = value as (ResourceStr) - this?.setValue_serialize(value_casted) - return + private getLayoutManager_serialize(): LayoutManager { + const retval = ArkUIGeneratedNativeModule._TextController_getLayoutManager(this.peer!.ptr) + const obj: LayoutManager = LayoutManagerInternal.fromPtr(retval) + return obj } - private getIcon(): ResourceStr | undefined { - return this.getIcon_serialize() +} +export class TextClockControllerInternal { + public static fromPtr(ptr: KPointer): TextClockController { + const obj: TextClockController = new TextClockController() + obj.peer = new Finalizable(ptr, TextClockController.getFinalizer()) + return obj } - private setIcon(icon: ResourceStr): void { - const icon_casted = icon as (ResourceStr) - this?.setIcon_serialize(icon_casted) - return +} +export class TextClockController implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - private getSymbolIcon(): SymbolGlyphModifier | undefined { - return this.getSymbolIcon_serialize() + static ctor_textclockcontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._TextClockController_ctor() + return retval } - private setSymbolIcon(symbolIcon: SymbolGlyphModifier): void { - const symbolIcon_casted = symbolIcon as (SymbolGlyphModifier) - this?.setSymbolIcon_serialize(symbolIcon_casted) - return + constructor() { + const ctorPtr: KPointer = TextClockController.ctor_textclockcontroller() + this.peer = new Finalizable(ctorPtr, TextClockController.getFinalizer()) } - private getSelected(): boolean { - return this.getSelected_serialize() + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TextClockController_getFinalizer() } - private setSelected(selected: boolean): void { - const selected_casted = selected as (boolean) - this?.setSelected_serialize(selected_casted) + public start(): void { + this?.start_serialize() return } - private getIndex(): number { - return this.getIndex_serialize() - } - private setIndex(index: number): void { - const index_casted = index as (number) - this?.setIndex_serialize(index_casted) + public stop(): void { + this?.stop_serialize() return } - private triggerSelect_serialize(index: number, value: string): void { - ArkUIGeneratedNativeModule._MenuItemConfiguration_triggerSelect(this.peer!.ptr, index, value) + private start_serialize(): void { + ArkUIGeneratedNativeModule._TextClockController_start(this.peer!.ptr) } - private getEnabled_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getEnabled(this.peer!.ptr) + private stop_serialize(): void { + ArkUIGeneratedNativeModule._TextClockController_stop(this.peer!.ptr) + } +} +export interface TextBaseController { + setSelection(selectionStart: number, selectionEnd: number, options: SelectionOptions | undefined): void + closeSelectionMenu(): void + getLayoutManager(): LayoutManager +} +export class TextBaseControllerInternal implements MaterializedBase,TextBaseController { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor_textbasecontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._TextBaseController_ctor() return retval } - private setEnabled_serialize(enabled: boolean): void { - ArkUIGeneratedNativeModule._MenuItemConfiguration_setEnabled(this.peer!.ptr, +enabled) + constructor() { + const ctorPtr: KPointer = TextBaseControllerInternal.ctor_textbasecontroller() + this.peer = new Finalizable(ctorPtr, TextBaseControllerInternal.getFinalizer()) } - private getContentModifier_serialize(): ContentModifier { - const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getContentModifier(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: ContentModifier = (retvalDeserializer.readObject() as ContentModifier) - return returnResult + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TextBaseController_getFinalizer() } - private setContentModifier_serialize(contentModifier: ContentModifier): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteObject(contentModifier) - ArkUIGeneratedNativeModule._MenuItemConfiguration_setContentModifier(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + public setSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void { + const selectionStart_casted = selectionStart as (number) + const selectionEnd_casted = selectionEnd as (number) + const options_casted = options as (SelectionOptions | undefined) + this?.setSelection_serialize(selectionStart_casted, selectionEnd_casted, options_casted) + return } - private getValue_serialize(): ResourceStr { - const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getValue(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + public closeSelectionMenu(): void { + this?.closeSelectionMenu_serialize() + return } - private setValue_serialize(value: ResourceStr): void { + public getLayoutManager(): LayoutManager { + return this.getLayoutManager_serialize() + } + private setSelection_serialize(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void { const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0) - const value_0 = unsafeCast(value) - thisSerializer.writeString(value_0) - } - else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1) - const value_1 = unsafeCast(value) - thisSerializer.writeResource(value_1) + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeSelectionOptions(options_value) } - ArkUIGeneratedNativeModule._MenuItemConfiguration_setValue(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextBaseController_setSelection(this.peer!.ptr, selectionStart, selectionEnd, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private getIcon_serialize(): ResourceStr | undefined { - const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getIcon(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + private closeSelectionMenu_serialize(): void { + ArkUIGeneratedNativeModule._TextBaseController_closeSelectionMenu(this.peer!.ptr) } - private setIcon_serialize(icon: ResourceStr): void { - const thisSerializer: Serializer = Serializer.hold() - let icon_type: int32 = RuntimeType.UNDEFINED - icon_type = runtimeType(icon) - if (RuntimeType.STRING == icon_type) { - thisSerializer.writeInt8(0) - const icon_0 = unsafeCast(icon) - thisSerializer.writeString(icon_0) - } - else if (RuntimeType.OBJECT == icon_type) { - thisSerializer.writeInt8(1) - const icon_1 = unsafeCast(icon) - thisSerializer.writeResource(icon_1) - } - ArkUIGeneratedNativeModule._MenuItemConfiguration_setIcon(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getLayoutManager_serialize(): LayoutManager { + const retval = ArkUIGeneratedNativeModule._TextBaseController_getLayoutManager(this.peer!.ptr) + const obj: LayoutManager = LayoutManagerInternal.fromPtr(retval) + return obj } - private getSymbolIcon_serialize(): SymbolGlyphModifier | undefined { - const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getSymbolIcon(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + public static fromPtr(ptr: KPointer): TextBaseControllerInternal { + const obj: TextBaseControllerInternal = new TextBaseControllerInternal() + obj.peer = new Finalizable(ptr, TextBaseControllerInternal.getFinalizer()) + return obj } - private setSymbolIcon_serialize(symbolIcon: SymbolGlyphModifier): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeSymbolGlyphModifier(symbolIcon) - ArkUIGeneratedNativeModule._MenuItemConfiguration_setSymbolIcon(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() +} +export interface StyledStringController { + setStyledString(styledString: StyledString): void + getStyledString(): MutableStyledString +} +export class StyledStringControllerInternal implements MaterializedBase,StyledStringController { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - private getSelected_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getSelected(this.peer!.ptr) + static ctor_styledstringcontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._StyledStringController_ctor() return retval } - private setSelected_serialize(selected: boolean): void { - ArkUIGeneratedNativeModule._MenuItemConfiguration_setSelected(this.peer!.ptr, +selected) + constructor() { + const ctorPtr: KPointer = StyledStringControllerInternal.ctor_styledstringcontroller() + this.peer = new Finalizable(ctorPtr, StyledStringControllerInternal.getFinalizer()) } - private getIndex_serialize(): number { - const retval = ArkUIGeneratedNativeModule._MenuItemConfiguration_getIndex(this.peer!.ptr) - return retval + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._StyledStringController_getFinalizer() } - private setIndex_serialize(index: number): void { - ArkUIGeneratedNativeModule._MenuItemConfiguration_setIndex(this.peer!.ptr, index) + public setStyledString(styledString: StyledString): void { + const styledString_casted = styledString as (StyledString) + this?.setStyledString_serialize(styledString_casted) + return } - public static fromPtr(ptr: KPointer): MenuItemConfigurationInternal { - const obj: MenuItemConfigurationInternal = new MenuItemConfigurationInternal() - obj.peer = new Finalizable(ptr, MenuItemConfigurationInternal.getFinalizer()) + public getStyledString(): MutableStyledString { + return this.getStyledString_serialize() + } + private setStyledString_serialize(styledString: StyledString): void { + ArkUIGeneratedNativeModule._StyledStringController_setStyledString(this.peer!.ptr, toPeerPtr(styledString)) + } + private getStyledString_serialize(): MutableStyledString { + const retval = ArkUIGeneratedNativeModule._StyledStringController_getStyledString(this.peer!.ptr) + const obj: MutableStyledString = MutableStyledStringInternal.fromPtr(retval) return obj } -} -export class SwiperControllerInternal { - public static fromPtr(ptr: KPointer): SwiperController { - const obj: SwiperController = new SwiperController() - obj.peer = new Finalizable(ptr, SwiperController.getFinalizer()) + public static fromPtr(ptr: KPointer): StyledStringControllerInternal { + const obj: StyledStringControllerInternal = new StyledStringControllerInternal() + obj.peer = new Finalizable(ptr, StyledStringControllerInternal.getFinalizer()) return obj } } -export class SwiperController implements MaterializedBase { +export interface LayoutManager { + getLineCount(): number + getGlyphPositionAtCoordinate(x: number, y: number): PositionWithAffinity + getLineMetrics(lineNumber: number): LineMetrics + getRectsForRange(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array +} +export class LayoutManagerInternal implements MaterializedBase,LayoutManager { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_swipercontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._SwiperController_ctor() + static ctor_layoutmanager(): KPointer { + const retval = ArkUIGeneratedNativeModule._LayoutManager_ctor() return retval } constructor() { - const ctorPtr: KPointer = SwiperController.ctor_swipercontroller() - this.peer = new Finalizable(ctorPtr, SwiperController.getFinalizer()) + const ctorPtr: KPointer = LayoutManagerInternal.ctor_layoutmanager() + this.peer = new Finalizable(ctorPtr, LayoutManagerInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._SwiperController_getFinalizer() + return ArkUIGeneratedNativeModule._LayoutManager_getFinalizer() } - public showNext(): void { - this?.showNext_serialize() - return + public getLineCount(): number { + return this.getLineCount_serialize() } - public showPrevious(): void { - this?.showPrevious_serialize() - return + public getGlyphPositionAtCoordinate(x: number, y: number): PositionWithAffinity { + const x_casted = x as (number) + const y_casted = y as (number) + return this.getGlyphPositionAtCoordinate_serialize(x_casted, y_casted) } - public changeIndex(index: number, useAnimation?: boolean): void { - const index_casted = index as (number) - const useAnimation_casted = useAnimation as (boolean | undefined) - this?.changeIndex_serialize(index_casted, useAnimation_casted) - return + public getLineMetrics(lineNumber: number): LineMetrics { + const lineNumber_casted = lineNumber as (number) + return this.getLineMetrics_serialize(lineNumber_casted) } - public finishAnimation(callback_?: VoidCallback): void { - const callback__casted = callback_ as (VoidCallback | undefined) - this?.finishAnimation_serialize(callback__casted) - return + public getRectsForRange(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array { + const range_casted = range as (TextRange) + const widthStyle_casted = widthStyle as (RectWidthStyle) + const heightStyle_casted = heightStyle as (RectHeightStyle) + return this.getRectsForRange_serialize(range_casted, widthStyle_casted, heightStyle_casted) } - private showNext_serialize(): void { - ArkUIGeneratedNativeModule._SwiperController_showNext(this.peer!.ptr) + private getLineCount_serialize(): number { + const retval = ArkUIGeneratedNativeModule._LayoutManager_getLineCount(this.peer!.ptr) + return retval } - private showPrevious_serialize(): void { - ArkUIGeneratedNativeModule._SwiperController_showPrevious(this.peer!.ptr) + private getGlyphPositionAtCoordinate_serialize(x: number, y: number): PositionWithAffinity { + const retval = ArkUIGeneratedNativeModule._LayoutManager_getGlyphPositionAtCoordinate(this.peer!.ptr, x, y) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: PositionWithAffinity = retvalDeserializer.readPositionWithAffinity() + return returnResult } - private changeIndex_serialize(index: number, useAnimation?: boolean): void { - const thisSerializer: Serializer = Serializer.hold() - let useAnimation_type: int32 = RuntimeType.UNDEFINED - useAnimation_type = runtimeType(useAnimation) - thisSerializer.writeInt8(useAnimation_type) - if ((RuntimeType.UNDEFINED) != (useAnimation_type)) { - const useAnimation_value = useAnimation! - thisSerializer.writeBoolean(useAnimation_value) - } - ArkUIGeneratedNativeModule._SwiperController_changeIndex(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getLineMetrics_serialize(lineNumber: number): LineMetrics { + const retval = ArkUIGeneratedNativeModule._LayoutManager_getLineMetrics(this.peer!.ptr, lineNumber) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: LineMetrics = retvalDeserializer.readLineMetrics() + return returnResult } - private finishAnimation_serialize(callback_?: VoidCallback): void { + private getRectsForRange_serialize(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array { const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) - } - ArkUIGeneratedNativeModule._SwiperController_finishAnimation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeTextRange(range) + const retval = ArkUIGeneratedNativeModule._LayoutManager_getRectsForRange(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length(), widthStyle.valueOf(), heightStyle.valueOf()) thisSerializer.release() + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = retvalDeserializer.readTextBox() + } + const returnResult: Array = buffer + return returnResult + } + public static fromPtr(ptr: KPointer): LayoutManagerInternal { + const obj: LayoutManagerInternal = new LayoutManagerInternal() + obj.peer = new Finalizable(ptr, LayoutManagerInternal.getFinalizer()) + return obj } } -export interface SwiperContentTransitionProxy { - selectedIndex: number - index: number - position: number - mainAxisLength: number - finishTransition(): void +export class TextMenuItemIdInternal { + public static fromPtr(ptr: KPointer): TextMenuItemId { + const obj: TextMenuItemId = new TextMenuItemId() + obj.peer = new Finalizable(ptr, TextMenuItemId.getFinalizer()) + return obj + } } -export class SwiperContentTransitionProxyInternal implements MaterializedBase,SwiperContentTransitionProxy { +export class TextMenuItemId implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get selectedIndex(): number { - return this.getSelectedIndex() + static get CUT(): TextMenuItemId { + return TextMenuItemId.getCUT() } - set selectedIndex(selectedIndex: number) { - this.setSelectedIndex(selectedIndex) + static get COPY(): TextMenuItemId { + return TextMenuItemId.getCOPY() } - get index(): number { - return this.getIndex() + static get PASTE(): TextMenuItemId { + return TextMenuItemId.getPASTE() } - set index(index: number) { - this.setIndex(index) + static get SELECT_ALL(): TextMenuItemId { + return TextMenuItemId.getSELECT_ALL() } - get position(): number { - return this.getPosition() + static get COLLABORATION_SERVICE(): TextMenuItemId { + return TextMenuItemId.getCOLLABORATION_SERVICE() } - set position(position: number) { - this.setPosition(position) + static get CAMERA_INPUT(): TextMenuItemId { + return TextMenuItemId.getCAMERA_INPUT() } - get mainAxisLength(): number { - return this.getMainAxisLength() + static get AI_WRITER(): TextMenuItemId { + return TextMenuItemId.getAI_WRITER() } - set mainAxisLength(mainAxisLength: number) { - this.setMainAxisLength(mainAxisLength) + static get TRANSLATE(): TextMenuItemId { + return TextMenuItemId.getTRANSLATE() } - static ctor_swipercontenttransitionproxy(): KPointer { - const retval = ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_ctor() + static get SEARCH(): TextMenuItemId { + return TextMenuItemId.getSEARCH() + } + static get SHARE(): TextMenuItemId { + return TextMenuItemId.getSHARE() + } + static ctor_textmenuitemid(): KPointer { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_ctor() return retval } constructor() { - const ctorPtr: KPointer = SwiperContentTransitionProxyInternal.ctor_swipercontenttransitionproxy() - this.peer = new Finalizable(ctorPtr, SwiperContentTransitionProxyInternal.getFinalizer()) + // Constructor does not have parameters. + // It means that the static method call invokes ctor method as well + // when all arguments are undefined. + const ctorPtr: KPointer = TextMenuItemId.ctor_textmenuitemid() + this.peer = new Finalizable(ctorPtr, TextMenuItemId.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_getFinalizer() + return ArkUIGeneratedNativeModule._TextMenuItemId_getFinalizer() } - public finishTransition(): void { - this?.finishTransition_serialize() - return + public static of(id: ResourceStr): TextMenuItemId { + const id_casted = id as (ResourceStr) + return TextMenuItemId.of_serialize(id_casted) } - private getSelectedIndex(): number { - return this.getSelectedIndex_serialize() + public equals(id: TextMenuItemId): boolean { + const id_casted = id as (TextMenuItemId) + return this.equals_serialize(id_casted) } - private setSelectedIndex(selectedIndex: number): void { - const selectedIndex_casted = selectedIndex as (number) - this?.setSelectedIndex_serialize(selectedIndex_casted) - return + private static getCUT(): TextMenuItemId { + return TextMenuItemId.getCUT_serialize() } - private getIndex(): number { - return this.getIndex_serialize() + private static getCOPY(): TextMenuItemId { + return TextMenuItemId.getCOPY_serialize() } - private setIndex(index: number): void { - const index_casted = index as (number) - this?.setIndex_serialize(index_casted) - return + private static getPASTE(): TextMenuItemId { + return TextMenuItemId.getPASTE_serialize() } - private getPosition(): number { - return this.getPosition_serialize() + private static getSELECT_ALL(): TextMenuItemId { + return TextMenuItemId.getSELECT_ALL_serialize() } - private setPosition(position: number): void { - const position_casted = position as (number) - this?.setPosition_serialize(position_casted) - return + private static getCOLLABORATION_SERVICE(): TextMenuItemId { + return TextMenuItemId.getCOLLABORATION_SERVICE_serialize() } - private getMainAxisLength(): number { - return this.getMainAxisLength_serialize() + private static getCAMERA_INPUT(): TextMenuItemId { + return TextMenuItemId.getCAMERA_INPUT_serialize() } - private setMainAxisLength(mainAxisLength: number): void { - const mainAxisLength_casted = mainAxisLength as (number) - this?.setMainAxisLength_serialize(mainAxisLength_casted) - return + private static getAI_WRITER(): TextMenuItemId { + return TextMenuItemId.getAI_WRITER_serialize() } - private finishTransition_serialize(): void { - ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_finishTransition(this.peer!.ptr) + private static getTRANSLATE(): TextMenuItemId { + return TextMenuItemId.getTRANSLATE_serialize() } - private getSelectedIndex_serialize(): number { - const retval = ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_getSelectedIndex(this.peer!.ptr) + private static getSEARCH(): TextMenuItemId { + return TextMenuItemId.getSEARCH_serialize() + } + private static getSHARE(): TextMenuItemId { + return TextMenuItemId.getSHARE_serialize() + } + private static of_serialize(id: ResourceStr): TextMenuItemId { + const thisSerializer: Serializer = Serializer.hold() + let id_type: int32 = RuntimeType.UNDEFINED + id_type = runtimeType(id) + if (RuntimeType.STRING == id_type) { + thisSerializer.writeInt8(0) + const id_0 = unsafeCast(id) + thisSerializer.writeString(id_0) + } + else if (RuntimeType.OBJECT == id_type) { + thisSerializer.writeInt8(1) + const id_1 = unsafeCast(id) + thisSerializer.writeResource(id_1) + } + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_of(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) + return obj + } + private equals_serialize(id: TextMenuItemId): boolean { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_equals(this.peer!.ptr, toPeerPtr(id)) return retval } - private setSelectedIndex_serialize(selectedIndex: number): void { - ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_setSelectedIndex(this.peer!.ptr, selectedIndex) + private static getCUT_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getCUT() + const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) + return obj + } + private static getCOPY_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getCOPY() + const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) + return obj } - private getIndex_serialize(): number { - const retval = ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_getIndex(this.peer!.ptr) - return retval + private static getPASTE_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getPASTE() + const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) + return obj } - private setIndex_serialize(index: number): void { - ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_setIndex(this.peer!.ptr, index) + private static getSELECT_ALL_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getSELECT_ALL() + const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) + return obj } - private getPosition_serialize(): number { - const retval = ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_getPosition(this.peer!.ptr) - return retval + private static getCOLLABORATION_SERVICE_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getCOLLABORATION_SERVICE() + const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) + return obj } - private setPosition_serialize(position: number): void { - ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_setPosition(this.peer!.ptr, position) + private static getCAMERA_INPUT_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getCAMERA_INPUT() + const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) + return obj } - private getMainAxisLength_serialize(): number { - const retval = ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_getMainAxisLength(this.peer!.ptr) - return retval + private static getAI_WRITER_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getAI_WRITER() + const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) + return obj } - private setMainAxisLength_serialize(mainAxisLength: number): void { - ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_setMainAxisLength(this.peer!.ptr, mainAxisLength) + private static getTRANSLATE_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getTRANSLATE() + const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) + return obj } - public static fromPtr(ptr: KPointer): SwiperContentTransitionProxyInternal { - const obj: SwiperContentTransitionProxyInternal = new SwiperContentTransitionProxyInternal() - obj.peer = new Finalizable(ptr, SwiperContentTransitionProxyInternal.getFinalizer()) + private static getSEARCH_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getSEARCH() + const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) return obj } -} -export class IndicatorComponentControllerInternal { - public static fromPtr(ptr: KPointer): IndicatorComponentController { - const obj: IndicatorComponentController = new IndicatorComponentController() - obj.peer = new Finalizable(ptr, IndicatorComponentController.getFinalizer()) + private static getSHARE_serialize(): TextMenuItemId { + const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getSHARE() + const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) return obj } } -export class IndicatorComponentController implements MaterializedBase { +export interface SubmitEvent { + text: string + keepEditableState(): void +} +export class SubmitEventInternal implements MaterializedBase,SubmitEvent { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_indicatorcomponentcontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._IndicatorComponentController_ctor() + get text(): string { + return this.getText() + } + set text(text: string) { + this.setText(text) + } + static ctor_submitevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._SubmitEvent_ctor() return retval } constructor() { - const ctorPtr: KPointer = IndicatorComponentController.ctor_indicatorcomponentcontroller() - this.peer = new Finalizable(ctorPtr, IndicatorComponentController.getFinalizer()) + const ctorPtr: KPointer = SubmitEventInternal.ctor_submitevent() + this.peer = new Finalizable(ctorPtr, SubmitEventInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._IndicatorComponentController_getFinalizer() + return ArkUIGeneratedNativeModule._SubmitEvent_getFinalizer() } - public showNext(): void { - this?.showNext_serialize() + public keepEditableState(): void { + this?.keepEditableState_serialize() return } - public showPrevious(): void { - this?.showPrevious_serialize() - return + private getText(): string { + return this.getText_serialize() } - public changeIndex(index: number, useAnimation?: boolean): void { - const index_casted = index as (number) - const useAnimation_casted = useAnimation as (boolean | undefined) - this?.changeIndex_serialize(index_casted, useAnimation_casted) + private setText(text: string): void { + const text_casted = text as (string) + this?.setText_serialize(text_casted) return } - private showNext_serialize(): void { - ArkUIGeneratedNativeModule._IndicatorComponentController_showNext(this.peer!.ptr) + private keepEditableState_serialize(): void { + ArkUIGeneratedNativeModule._SubmitEvent_keepEditableState(this.peer!.ptr) } - private showPrevious_serialize(): void { - ArkUIGeneratedNativeModule._IndicatorComponentController_showPrevious(this.peer!.ptr) + private getText_serialize(): string { + const retval = ArkUIGeneratedNativeModule._SubmitEvent_getText(this.peer!.ptr) + return retval } - private changeIndex_serialize(index: number, useAnimation?: boolean): void { - const thisSerializer: Serializer = Serializer.hold() - let useAnimation_type: int32 = RuntimeType.UNDEFINED - useAnimation_type = runtimeType(useAnimation) - thisSerializer.writeInt8(useAnimation_type) - if ((RuntimeType.UNDEFINED) != (useAnimation_type)) { - const useAnimation_value = useAnimation! - thisSerializer.writeBoolean(useAnimation_value) - } - ArkUIGeneratedNativeModule._IndicatorComponentController_changeIndex(this.peer!.ptr, index, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private setText_serialize(text: string): void { + ArkUIGeneratedNativeModule._SubmitEvent_setText(this.peer!.ptr, text) } -} -export class TabsControllerInternal { - public static fromPtr(ptr: KPointer): TabsController { - const obj: TabsController = new TabsController() - obj.peer = new Finalizable(ptr, TabsController.getFinalizer()) + public static fromPtr(ptr: KPointer): SubmitEventInternal { + const obj: SubmitEventInternal = new SubmitEventInternal() + obj.peer = new Finalizable(ptr, SubmitEventInternal.getFinalizer()) return obj } } -export class TabsController implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - static ctor_tabscontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._TabsController_ctor() - return retval - } - constructor() { - const ctorPtr: KPointer = TabsController.ctor_tabscontroller() - this.peer = new Finalizable(ctorPtr, TabsController.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TabsController_getFinalizer() - } - public changeIndex(value: number): void { - const value_casted = value as (number) - this?.changeIndex_serialize(value_casted) - return - } - public preloadItems(indices: Array | undefined): Promise { - const indices_casted = indices as (Array | undefined) - return this.preloadItems_serialize(indices_casted) - } - public setTabBarTranslate(translate: TranslateOptions): void { - const translate_casted = translate as (TranslateOptions) - this?.setTabBarTranslate_serialize(translate_casted) - return - } - public setTabBarOpacity(opacity: number): void { - const opacity_casted = opacity as (number) - this?.setTabBarOpacity_serialize(opacity_casted) +export class TextPickerDialog { + public static show(options?: TextPickerDialogOptions): void { + const options_casted = options as (TextPickerDialogOptions | undefined) + TextPickerDialog.show_serialize(options_casted) return } - private changeIndex_serialize(value: number): void { - ArkUIGeneratedNativeModule._TabsController_changeIndex(this.peer!.ptr, value) - } - private preloadItems_serialize(indices: Array | undefined): Promise { + private static show_serialize(options?: TextPickerDialogOptions): void { const thisSerializer: Serializer = Serializer.hold() - let indices_type: int32 = RuntimeType.UNDEFINED - indices_type = runtimeType(indices) - thisSerializer.writeInt8(indices_type) - if ((RuntimeType.UNDEFINED) != (indices_type)) { - const indices_value = indices! - thisSerializer.writeInt32(indices_value.length) - for (let i = 0; i < indices_value.length; i++) { - const indices_value_element: number = indices_value[i] - thisSerializer.writeNumber(indices_value_element) - } + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeTextPickerDialogOptions(options_value) } - const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] - ArkUIGeneratedNativeModule._TabsController_preloadItems(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval - } - private setTabBarTranslate_serialize(translate: TranslateOptions): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeTranslateOptions(translate) - ArkUIGeneratedNativeModule._TabsController_setTabBarTranslate(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerDialog_show(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - private setTabBarOpacity_serialize(opacity: number): void { - ArkUIGeneratedNativeModule._TabsController_setTabBarOpacity(this.peer!.ptr, opacity) - } } -export interface TabContentTransitionProxy { - from: number - to: number - finishTransition(): void +export class TextTimerControllerInternal { + public static fromPtr(ptr: KPointer): TextTimerController { + const obj: TextTimerController = new TextTimerController() + obj.peer = new Finalizable(ptr, TextTimerController.getFinalizer()) + return obj + } } -export class TabContentTransitionProxyInternal implements MaterializedBase,TabContentTransitionProxy { +export class TextTimerController implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get from(): number { - return this.getFrom() - } - set from(from: number) { - this.setFrom(from) - } - get to(): number { - return this.getTo() - } - set to(to: number) { - this.setTo(to) - } - static ctor_tabcontenttransitionproxy(): KPointer { - const retval = ArkUIGeneratedNativeModule._TabContentTransitionProxy_ctor() + static ctor_texttimercontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._TextTimerController_ctor() return retval } constructor() { - const ctorPtr: KPointer = TabContentTransitionProxyInternal.ctor_tabcontenttransitionproxy() - this.peer = new Finalizable(ctorPtr, TabContentTransitionProxyInternal.getFinalizer()) + const ctorPtr: KPointer = TextTimerController.ctor_texttimercontroller() + this.peer = new Finalizable(ctorPtr, TextTimerController.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TabContentTransitionProxy_getFinalizer() + return ArkUIGeneratedNativeModule._TextTimerController_getFinalizer() } - public finishTransition(): void { - this?.finishTransition_serialize() + public start(): void { + this?.start_serialize() return } - private getFrom(): number { - return this.getFrom_serialize() - } - private setFrom(from: number): void { - const from_casted = from as (number) - this?.setFrom_serialize(from_casted) + public pause(): void { + this?.pause_serialize() return } - private getTo(): number { - return this.getTo_serialize() - } - private setTo(to: number): void { - const to_casted = to as (number) - this?.setTo_serialize(to_casted) + public reset(): void { + this?.reset_serialize() return } - private finishTransition_serialize(): void { - ArkUIGeneratedNativeModule._TabContentTransitionProxy_finishTransition(this.peer!.ptr) - } - private getFrom_serialize(): number { - const retval = ArkUIGeneratedNativeModule._TabContentTransitionProxy_getFrom(this.peer!.ptr) - return retval - } - private setFrom_serialize(from: number): void { - ArkUIGeneratedNativeModule._TabContentTransitionProxy_setFrom(this.peer!.ptr, from) + private start_serialize(): void { + ArkUIGeneratedNativeModule._TextTimerController_start(this.peer!.ptr) } - private getTo_serialize(): number { - const retval = ArkUIGeneratedNativeModule._TabContentTransitionProxy_getTo(this.peer!.ptr) - return retval + private pause_serialize(): void { + ArkUIGeneratedNativeModule._TextTimerController_pause(this.peer!.ptr) } - private setTo_serialize(to: number): void { - ArkUIGeneratedNativeModule._TabContentTransitionProxy_setTo(this.peer!.ptr, to) + private reset_serialize(): void { + ArkUIGeneratedNativeModule._TextTimerController_reset(this.peer!.ptr) } - public static fromPtr(ptr: KPointer): TabContentTransitionProxyInternal { - const obj: TabContentTransitionProxyInternal = new TabContentTransitionProxyInternal() - obj.peer = new Finalizable(ptr, TabContentTransitionProxyInternal.getFinalizer()) - return obj +} +export class TimePickerDialog { + public static show(options?: TimePickerDialogOptions): void { + const options_casted = options as (TimePickerDialogOptions | undefined) + TimePickerDialog.show_serialize(options_casted) + return + } + private static show_serialize(options?: TimePickerDialogOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeTimePickerDialogOptions(options_value) + } + ArkUIGeneratedNativeModule._TimePickerDialog_show(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } } -export class TextControllerInternal { - public static fromPtr(ptr: KPointer): TextController { - const obj: TextController = new TextController() - obj.peer = new Finalizable(ptr, TextController.getFinalizer()) +export class ColorFilterInternal { + public static fromPtr(ptr: KPointer): ColorFilter { + const obj: ColorFilter = new ColorFilter(undefined) + obj.peer = new Finalizable(ptr, ColorFilter.getFinalizer()) return obj } } -export class TextController implements MaterializedBase { +export class ColorFilter implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_textcontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._TextController_ctor() + static ctor_colorfilter(value: Array): KPointer { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(value.length) + for (let i = 0; i < value.length; i++) { + const value_element: number = value[i] + thisSerializer.writeNumber(value_element) + } + const retval = ArkUIGeneratedNativeModule._ColorFilter_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor() { - const ctorPtr: KPointer = TextController.ctor_textcontroller() - this.peer = new Finalizable(ctorPtr, TextController.getFinalizer()) + constructor(value?: Array) { + if ((value) !== (undefined)) + { + const ctorPtr: KPointer = ColorFilter.ctor_colorfilter((value)!) + this.peer = new Finalizable(ctorPtr, ColorFilter.getFinalizer()) + } } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TextController_getFinalizer() - } - public closeSelectionMenu(): void { - this?.closeSelectionMenu_serialize() - return - } - public setStyledString(value: StyledString): void { - const value_casted = value as (StyledString) - this?.setStyledString_serialize(value_casted) - return - } - public getLayoutManager(): LayoutManager { - return this.getLayoutManager_serialize() - } - private closeSelectionMenu_serialize(): void { - ArkUIGeneratedNativeModule._TextController_closeSelectionMenu(this.peer!.ptr) - } - private setStyledString_serialize(value: StyledString): void { - ArkUIGeneratedNativeModule._TextController_setStyledString(this.peer!.ptr, toPeerPtr(value)) - } - private getLayoutManager_serialize(): LayoutManager { - const retval = ArkUIGeneratedNativeModule._TextController_getLayoutManager(this.peer!.ptr) - const obj: LayoutManager = LayoutManagerInternal.fromPtr(retval) - return obj + return ArkUIGeneratedNativeModule._ColorFilter_getFinalizer() } } -export class TextClockControllerInternal { - public static fromPtr(ptr: KPointer): TextClockController { - const obj: TextClockController = new TextClockController() - obj.peer = new Finalizable(ptr, TextClockController.getFinalizer()) +export class VideoControllerInternal { + public static fromPtr(ptr: KPointer): VideoController { + const obj: VideoController = new VideoController() + obj.peer = new Finalizable(ptr, VideoController.getFinalizer()) return obj } } -export class TextClockController implements MaterializedBase { +export class VideoController implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_textclockcontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._TextClockController_ctor() + static ctor_videocontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._VideoController_ctor() return retval } constructor() { - const ctorPtr: KPointer = TextClockController.ctor_textclockcontroller() - this.peer = new Finalizable(ctorPtr, TextClockController.getFinalizer()) + const ctorPtr: KPointer = VideoController.ctor_videocontroller() + this.peer = new Finalizable(ctorPtr, VideoController.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TextClockController_getFinalizer() + return ArkUIGeneratedNativeModule._VideoController_getFinalizer() } public start(): void { this?.start_serialize() return } + public pause(): void { + this?.pause_serialize() + return + } public stop(): void { this?.stop_serialize() return } + public setCurrentTime(value: number, seekMode?: SeekMode): void { + const value_type = runtimeType(value) + const seekMode_type = runtimeType(seekMode) + if (RuntimeType.UNDEFINED == seekMode_type) { + const value_casted = value as (number) + this?.setCurrentTime0_serialize(value_casted) + return + } + if (RuntimeType.NUMBER == seekMode_type) { + const value_casted = value as (number) + const seekMode_casted = seekMode as (SeekMode) + this?.setCurrentTime1_serialize(value_casted, seekMode_casted) + return + } + throw new Error("Can not select appropriate overload") + } + public requestFullscreen(value: boolean): void { + const value_casted = value as (boolean) + this?.requestFullscreen_serialize(value_casted) + return + } + public exitFullscreen(): void { + this?.exitFullscreen_serialize() + return + } + public reset(): void { + this?.reset_serialize() + return + } private start_serialize(): void { - ArkUIGeneratedNativeModule._TextClockController_start(this.peer!.ptr) + ArkUIGeneratedNativeModule._VideoController_start(this.peer!.ptr) + } + private pause_serialize(): void { + ArkUIGeneratedNativeModule._VideoController_pause(this.peer!.ptr) } private stop_serialize(): void { - ArkUIGeneratedNativeModule._TextClockController_stop(this.peer!.ptr) + ArkUIGeneratedNativeModule._VideoController_stop(this.peer!.ptr) + } + private setCurrentTime0_serialize(value: number): void { + ArkUIGeneratedNativeModule._VideoController_setCurrentTime0(this.peer!.ptr, value) + } + private setCurrentTime1_serialize(value: number, seekMode: SeekMode): void { + ArkUIGeneratedNativeModule._VideoController_setCurrentTime1(this.peer!.ptr, value, seekMode.valueOf()) + } + private requestFullscreen_serialize(value: boolean): void { + ArkUIGeneratedNativeModule._VideoController_requestFullscreen(this.peer!.ptr, +value) + } + private exitFullscreen_serialize(): void { + ArkUIGeneratedNativeModule._VideoController_exitFullscreen(this.peer!.ptr) + } + private reset_serialize(): void { + ArkUIGeneratedNativeModule._VideoController_reset(this.peer!.ptr) } } -export interface TextBaseController { - setSelection(selectionStart: number, selectionEnd: number, options: SelectionOptions | undefined): void - closeSelectionMenu(): void - getLayoutManager(): LayoutManager +export class WebKeyboardControllerInternal { + public static fromPtr(ptr: KPointer): WebKeyboardController { + const obj: WebKeyboardController = new WebKeyboardController() + obj.peer = new Finalizable(ptr, WebKeyboardController.getFinalizer()) + return obj + } } -export class TextBaseControllerInternal implements MaterializedBase,TextBaseController { +export class WebKeyboardController implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_textbasecontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._TextBaseController_ctor() + static ctor_webkeyboardcontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebKeyboardController_ctor() return retval } constructor() { - const ctorPtr: KPointer = TextBaseControllerInternal.ctor_textbasecontroller() - this.peer = new Finalizable(ctorPtr, TextBaseControllerInternal.getFinalizer()) + const ctorPtr: KPointer = WebKeyboardController.ctor_webkeyboardcontroller() + this.peer = new Finalizable(ctorPtr, WebKeyboardController.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TextBaseController_getFinalizer() + return ArkUIGeneratedNativeModule._WebKeyboardController_getFinalizer() } - public setSelection(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void { - const selectionStart_casted = selectionStart as (number) - const selectionEnd_casted = selectionEnd as (number) - const options_casted = options as (SelectionOptions | undefined) - this?.setSelection_serialize(selectionStart_casted, selectionEnd_casted, options_casted) + public insertText(text: string): void { + const text_casted = text as (string) + this?.insertText_serialize(text_casted) return } - public closeSelectionMenu(): void { - this?.closeSelectionMenu_serialize() + public deleteForward(length: number): void { + const length_casted = length as (number) + this?.deleteForward_serialize(length_casted) return } - public getLayoutManager(): LayoutManager { - return this.getLayoutManager_serialize() + public deleteBackward(length: number): void { + const length_casted = length as (number) + this?.deleteBackward_serialize(length_casted) + return } - private setSelection_serialize(selectionStart: number, selectionEnd: number, options?: SelectionOptions): void { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeSelectionOptions(options_value) - } - ArkUIGeneratedNativeModule._TextBaseController_setSelection(this.peer!.ptr, selectionStart, selectionEnd, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + public sendFunctionKey(key: number): void { + const key_casted = key as (number) + this?.sendFunctionKey_serialize(key_casted) + return } - private closeSelectionMenu_serialize(): void { - ArkUIGeneratedNativeModule._TextBaseController_closeSelectionMenu(this.peer!.ptr) + public close(): void { + this?.close_serialize() + return } - private getLayoutManager_serialize(): LayoutManager { - const retval = ArkUIGeneratedNativeModule._TextBaseController_getLayoutManager(this.peer!.ptr) - const obj: LayoutManager = LayoutManagerInternal.fromPtr(retval) - return obj + private insertText_serialize(text: string): void { + ArkUIGeneratedNativeModule._WebKeyboardController_insertText(this.peer!.ptr, text) } - public static fromPtr(ptr: KPointer): TextBaseControllerInternal { - const obj: TextBaseControllerInternal = new TextBaseControllerInternal() - obj.peer = new Finalizable(ptr, TextBaseControllerInternal.getFinalizer()) - return obj + private deleteForward_serialize(length: number): void { + ArkUIGeneratedNativeModule._WebKeyboardController_deleteForward(this.peer!.ptr, length) + } + private deleteBackward_serialize(length: number): void { + ArkUIGeneratedNativeModule._WebKeyboardController_deleteBackward(this.peer!.ptr, length) + } + private sendFunctionKey_serialize(key: number): void { + ArkUIGeneratedNativeModule._WebKeyboardController_sendFunctionKey(this.peer!.ptr, key) + } + private close_serialize(): void { + ArkUIGeneratedNativeModule._WebKeyboardController_close(this.peer!.ptr) } } -export interface StyledStringController { - setStyledString(styledString: StyledString): void - getStyledString(): MutableStyledString +export class FullScreenExitHandlerInternal { + public static fromPtr(ptr: KPointer): FullScreenExitHandler { + const obj: FullScreenExitHandler = new FullScreenExitHandler() + obj.peer = new Finalizable(ptr, FullScreenExitHandler.getFinalizer()) + return obj + } } -export class StyledStringControllerInternal implements MaterializedBase,StyledStringController { +export class FullScreenExitHandler implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_styledstringcontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._StyledStringController_ctor() + static ctor_fullscreenexithandler(): KPointer { + const retval = ArkUIGeneratedNativeModule._FullScreenExitHandler_ctor() return retval } - constructor() { - const ctorPtr: KPointer = StyledStringControllerInternal.ctor_styledstringcontroller() - this.peer = new Finalizable(ctorPtr, StyledStringControllerInternal.getFinalizer()) + constructor() { + const ctorPtr: KPointer = FullScreenExitHandler.ctor_fullscreenexithandler() + this.peer = new Finalizable(ctorPtr, FullScreenExitHandler.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._StyledStringController_getFinalizer() + return ArkUIGeneratedNativeModule._FullScreenExitHandler_getFinalizer() } - public setStyledString(styledString: StyledString): void { - const styledString_casted = styledString as (StyledString) - this?.setStyledString_serialize(styledString_casted) + public exitFullScreen(): void { + this?.exitFullScreen_serialize() return } - public getStyledString(): MutableStyledString { - return this.getStyledString_serialize() - } - private setStyledString_serialize(styledString: StyledString): void { - ArkUIGeneratedNativeModule._StyledStringController_setStyledString(this.peer!.ptr, toPeerPtr(styledString)) - } - private getStyledString_serialize(): MutableStyledString { - const retval = ArkUIGeneratedNativeModule._StyledStringController_getStyledString(this.peer!.ptr) - const obj: MutableStyledString = MutableStyledStringInternal.fromPtr(retval) - return obj + private exitFullScreen_serialize(): void { + ArkUIGeneratedNativeModule._FullScreenExitHandler_exitFullScreen(this.peer!.ptr) } - public static fromPtr(ptr: KPointer): StyledStringControllerInternal { - const obj: StyledStringControllerInternal = new StyledStringControllerInternal() - obj.peer = new Finalizable(ptr, StyledStringControllerInternal.getFinalizer()) +} +export class FileSelectorParamInternal { + public static fromPtr(ptr: KPointer): FileSelectorParam { + const obj: FileSelectorParam = new FileSelectorParam() + obj.peer = new Finalizable(ptr, FileSelectorParam.getFinalizer()) return obj } } -export interface LayoutManager { - getLineCount(): number - getGlyphPositionAtCoordinate(x: number, y: number): PositionWithAffinity - getLineMetrics(lineNumber: number): LineMetrics - getRectsForRange(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array -} -export class LayoutManagerInternal implements MaterializedBase,LayoutManager { +export class FileSelectorParam implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_layoutmanager(): KPointer { - const retval = ArkUIGeneratedNativeModule._LayoutManager_ctor() + static ctor_fileselectorparam(): KPointer { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_ctor() return retval } constructor() { - const ctorPtr: KPointer = LayoutManagerInternal.ctor_layoutmanager() - this.peer = new Finalizable(ctorPtr, LayoutManagerInternal.getFinalizer()) + const ctorPtr: KPointer = FileSelectorParam.ctor_fileselectorparam() + this.peer = new Finalizable(ctorPtr, FileSelectorParam.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._LayoutManager_getFinalizer() + return ArkUIGeneratedNativeModule._FileSelectorParam_getFinalizer() } - public getLineCount(): number { - return this.getLineCount_serialize() + public getTitle(): string { + return this.getTitle_serialize() } - public getGlyphPositionAtCoordinate(x: number, y: number): PositionWithAffinity { - const x_casted = x as (number) - const y_casted = y as (number) - return this.getGlyphPositionAtCoordinate_serialize(x_casted, y_casted) + public getMode(): FileSelectorMode { + return this.getMode_serialize() } - public getLineMetrics(lineNumber: number): LineMetrics { - const lineNumber_casted = lineNumber as (number) - return this.getLineMetrics_serialize(lineNumber_casted) + public getAcceptType(): Array { + return this.getAcceptType_serialize() } - public getRectsForRange(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array { - const range_casted = range as (TextRange) - const widthStyle_casted = widthStyle as (RectWidthStyle) - const heightStyle_casted = heightStyle as (RectHeightStyle) - return this.getRectsForRange_serialize(range_casted, widthStyle_casted, heightStyle_casted) + public isCapture(): boolean { + return this.isCapture_serialize() } - private getLineCount_serialize(): number { - const retval = ArkUIGeneratedNativeModule._LayoutManager_getLineCount(this.peer!.ptr) + public getMimeTypes(): Array { + return this.getMimeTypes_serialize() + } + private getTitle_serialize(): string { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getTitle(this.peer!.ptr) return retval } - private getGlyphPositionAtCoordinate_serialize(x: number, y: number): PositionWithAffinity { - const retval = ArkUIGeneratedNativeModule._LayoutManager_getGlyphPositionAtCoordinate(this.peer!.ptr, x, y) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: PositionWithAffinity = retvalDeserializer.readPositionWithAffinity() - return returnResult + private getMode_serialize(): FileSelectorMode { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getMode(this.peer!.ptr) + return retval } - private getLineMetrics_serialize(lineNumber: number): LineMetrics { - const retval = ArkUIGeneratedNativeModule._LayoutManager_getLineMetrics(this.peer!.ptr, lineNumber) + private getAcceptType_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getAcceptType(this.peer!.ptr) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: LineMetrics = retvalDeserializer.readLineMetrics() + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = (retvalDeserializer.readString() as string) + } + const returnResult: Array = buffer return returnResult } - private getRectsForRange_serialize(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeTextRange(range) - const retval = ArkUIGeneratedNativeModule._LayoutManager_getRectsForRange(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length(), widthStyle.valueOf(), heightStyle.valueOf()) - thisSerializer.release() + private isCapture_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_isCapture(this.peer!.ptr) + return retval + } + private getMimeTypes_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getMimeTypes(this.peer!.ptr) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) + let buffer: Array = new Array(buffer_length) for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = retvalDeserializer.readTextBox() + buffer[buffer_i] = (retvalDeserializer.readString() as string) } - const returnResult: Array = buffer + const returnResult: Array = buffer return returnResult } - public static fromPtr(ptr: KPointer): LayoutManagerInternal { - const obj: LayoutManagerInternal = new LayoutManagerInternal() - obj.peer = new Finalizable(ptr, LayoutManagerInternal.getFinalizer()) - return obj - } } -export class TextMenuItemIdInternal { - public static fromPtr(ptr: KPointer): TextMenuItemId { - const obj: TextMenuItemId = new TextMenuItemId() - obj.peer = new Finalizable(ptr, TextMenuItemId.getFinalizer()) +export class JsResultInternal { + public static fromPtr(ptr: KPointer): JsResult { + const obj: JsResult = new JsResult() + obj.peer = new Finalizable(ptr, JsResult.getFinalizer()) return obj } } -export class TextMenuItemId implements MaterializedBase { +export class JsResult implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static get CUT(): TextMenuItemId { - return TextMenuItemId.getCUT() - } - static get COPY(): TextMenuItemId { - return TextMenuItemId.getCOPY() - } - static get PASTE(): TextMenuItemId { - return TextMenuItemId.getPASTE() - } - static get SELECT_ALL(): TextMenuItemId { - return TextMenuItemId.getSELECT_ALL() - } - static get COLLABORATION_SERVICE(): TextMenuItemId { - return TextMenuItemId.getCOLLABORATION_SERVICE() - } - static get CAMERA_INPUT(): TextMenuItemId { - return TextMenuItemId.getCAMERA_INPUT() - } - static get AI_WRITER(): TextMenuItemId { - return TextMenuItemId.getAI_WRITER() - } - static ctor_textmenuitemid(): KPointer { - const retval = ArkUIGeneratedNativeModule._TextMenuItemId_ctor() + static ctor_jsresult(): KPointer { + const retval = ArkUIGeneratedNativeModule._JsResult_ctor() return retval } constructor() { - // Constructor does not have parameters. - // It means that the static method call invokes ctor method as well - // when all arguments are undefined. - const ctorPtr: KPointer = TextMenuItemId.ctor_textmenuitemid() - this.peer = new Finalizable(ctorPtr, TextMenuItemId.getFinalizer()) + const ctorPtr: KPointer = JsResult.ctor_jsresult() + this.peer = new Finalizable(ctorPtr, JsResult.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TextMenuItemId_getFinalizer() - } - public static of(id: ResourceStr): TextMenuItemId { - const id_casted = id as (ResourceStr) - return TextMenuItemId.of_serialize(id_casted) - } - public equals(id: TextMenuItemId): boolean { - const id_casted = id as (TextMenuItemId) - return this.equals_serialize(id_casted) - } - private static getCUT(): TextMenuItemId { - return TextMenuItemId.getCUT_serialize() + return ArkUIGeneratedNativeModule._JsResult_getFinalizer() } - private static getCOPY(): TextMenuItemId { - return TextMenuItemId.getCOPY_serialize() + public handleCancel(): void { + this?.handleCancel_serialize() + return } - private static getPASTE(): TextMenuItemId { - return TextMenuItemId.getPASTE_serialize() + public handleConfirm(): void { + this?.handleConfirm_serialize() + return } - private static getSELECT_ALL(): TextMenuItemId { - return TextMenuItemId.getSELECT_ALL_serialize() + public handlePromptConfirm(result: string): void { + const result_casted = result as (string) + this?.handlePromptConfirm_serialize(result_casted) + return } - private static getCOLLABORATION_SERVICE(): TextMenuItemId { - return TextMenuItemId.getCOLLABORATION_SERVICE_serialize() + private handleCancel_serialize(): void { + ArkUIGeneratedNativeModule._JsResult_handleCancel(this.peer!.ptr) } - private static getCAMERA_INPUT(): TextMenuItemId { - return TextMenuItemId.getCAMERA_INPUT_serialize() + private handleConfirm_serialize(): void { + ArkUIGeneratedNativeModule._JsResult_handleConfirm(this.peer!.ptr) } - private static getAI_WRITER(): TextMenuItemId { - return TextMenuItemId.getAI_WRITER_serialize() + private handlePromptConfirm_serialize(result: string): void { + ArkUIGeneratedNativeModule._JsResult_handlePromptConfirm(this.peer!.ptr, result) } - private static of_serialize(id: ResourceStr): TextMenuItemId { - const thisSerializer: Serializer = Serializer.hold() - let id_type: int32 = RuntimeType.UNDEFINED - id_type = runtimeType(id) - if (RuntimeType.STRING == id_type) { - thisSerializer.writeInt8(0) - const id_0 = unsafeCast(id) - thisSerializer.writeString(id_0) - } - else if (RuntimeType.OBJECT == id_type) { - thisSerializer.writeInt8(1) - const id_1 = unsafeCast(id) - thisSerializer.writeResource(id_1) - } - const retval = ArkUIGeneratedNativeModule._TextMenuItemId_of(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) +} +export class FileSelectorResultInternal { + public static fromPtr(ptr: KPointer): FileSelectorResult { + const obj: FileSelectorResult = new FileSelectorResult() + obj.peer = new Finalizable(ptr, FileSelectorResult.getFinalizer()) return obj } - private equals_serialize(id: TextMenuItemId): boolean { - const retval = ArkUIGeneratedNativeModule._TextMenuItemId_equals(this.peer!.ptr, toPeerPtr(id)) - return retval - } - private static getCUT_serialize(): TextMenuItemId { - const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getCUT() - const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) - return obj +} +export class FileSelectorResult implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - private static getCOPY_serialize(): TextMenuItemId { - const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getCOPY() - const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) - return obj + static ctor_fileselectorresult(): KPointer { + const retval = ArkUIGeneratedNativeModule._FileSelectorResult_ctor() + return retval } - private static getPASTE_serialize(): TextMenuItemId { - const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getPASTE() - const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) - return obj + constructor() { + const ctorPtr: KPointer = FileSelectorResult.ctor_fileselectorresult() + this.peer = new Finalizable(ctorPtr, FileSelectorResult.getFinalizer()) } - private static getSELECT_ALL_serialize(): TextMenuItemId { - const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getSELECT_ALL() - const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) - return obj + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._FileSelectorResult_getFinalizer() } - private static getCOLLABORATION_SERVICE_serialize(): TextMenuItemId { - const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getCOLLABORATION_SERVICE() - const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) - return obj + public handleFileList(fileList: Array): void { + const fileList_casted = fileList as (Array) + this?.handleFileList_serialize(fileList_casted) + return } - private static getCAMERA_INPUT_serialize(): TextMenuItemId { - const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getCAMERA_INPUT() - const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) - return obj + private handleFileList_serialize(fileList: Array): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(fileList.length) + for (let i = 0; i < fileList.length; i++) { + const fileList_element: string = fileList[i] + thisSerializer.writeString(fileList_element) + } + ArkUIGeneratedNativeModule._FileSelectorResult_handleFileList(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private static getAI_WRITER_serialize(): TextMenuItemId { - const retval = ArkUIGeneratedNativeModule._TextMenuItemId_getAI_WRITER() - const obj: TextMenuItemId = TextMenuItemIdInternal.fromPtr(retval) +} +export class HttpAuthHandlerInternal { + public static fromPtr(ptr: KPointer): HttpAuthHandler { + const obj: HttpAuthHandler = new HttpAuthHandler() + obj.peer = new Finalizable(ptr, HttpAuthHandler.getFinalizer()) return obj } } -export interface SubmitEvent { - text: string - keepEditableState(): void -} -export class SubmitEventInternal implements MaterializedBase,SubmitEvent { +export class HttpAuthHandler implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get text(): string { - return this.getText() - } - set text(text: string) { - this.setText(text) - } - static ctor_submitevent(): KPointer { - const retval = ArkUIGeneratedNativeModule._SubmitEvent_ctor() + static ctor_httpauthhandler(): KPointer { + const retval = ArkUIGeneratedNativeModule._HttpAuthHandler_ctor() return retval } constructor() { - const ctorPtr: KPointer = SubmitEventInternal.ctor_submitevent() - this.peer = new Finalizable(ctorPtr, SubmitEventInternal.getFinalizer()) + const ctorPtr: KPointer = HttpAuthHandler.ctor_httpauthhandler() + this.peer = new Finalizable(ctorPtr, HttpAuthHandler.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._SubmitEvent_getFinalizer() - } - public keepEditableState(): void { - this?.keepEditableState_serialize() - return + return ArkUIGeneratedNativeModule._HttpAuthHandler_getFinalizer() } - private getText(): string { - return this.getText_serialize() + public confirm(userName: string, password: string): boolean { + const userName_casted = userName as (string) + const password_casted = password as (string) + return this.confirm_serialize(userName_casted, password_casted) } - private setText(text: string): void { - const text_casted = text as (string) - this?.setText_serialize(text_casted) + public cancel(): void { + this?.cancel_serialize() return } - private keepEditableState_serialize(): void { - ArkUIGeneratedNativeModule._SubmitEvent_keepEditableState(this.peer!.ptr) + public isHttpAuthInfoSaved(): boolean { + return this.isHttpAuthInfoSaved_serialize() } - private getText_serialize(): string { - const retval = ArkUIGeneratedNativeModule._SubmitEvent_getText(this.peer!.ptr) + private confirm_serialize(userName: string, password: string): boolean { + const retval = ArkUIGeneratedNativeModule._HttpAuthHandler_confirm(this.peer!.ptr, userName, password) return retval } - private setText_serialize(text: string): void { - ArkUIGeneratedNativeModule._SubmitEvent_setText(this.peer!.ptr, text) + private cancel_serialize(): void { + ArkUIGeneratedNativeModule._HttpAuthHandler_cancel(this.peer!.ptr) } - public static fromPtr(ptr: KPointer): SubmitEventInternal { - const obj: SubmitEventInternal = new SubmitEventInternal() - obj.peer = new Finalizable(ptr, SubmitEventInternal.getFinalizer()) + private isHttpAuthInfoSaved_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._HttpAuthHandler_isHttpAuthInfoSaved(this.peer!.ptr) + return retval + } +} +export class SslErrorHandlerInternal { + public static fromPtr(ptr: KPointer): SslErrorHandler { + const obj: SslErrorHandler = new SslErrorHandler() + obj.peer = new Finalizable(ptr, SslErrorHandler.getFinalizer()) return obj } } -export class TextPickerDialog { - public static show(options?: TextPickerDialogOptions): void { - const options_casted = options as (TextPickerDialogOptions | undefined) - TextPickerDialog.show_serialize(options_casted) +export class SslErrorHandler implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor_sslerrorhandler(): KPointer { + const retval = ArkUIGeneratedNativeModule._SslErrorHandler_ctor() + return retval + } + constructor() { + const ctorPtr: KPointer = SslErrorHandler.ctor_sslerrorhandler() + this.peer = new Finalizable(ctorPtr, SslErrorHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._SslErrorHandler_getFinalizer() + } + public handleConfirm(): void { + this?.handleConfirm_serialize() return } - private static show_serialize(options?: TextPickerDialogOptions): void { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeTextPickerDialogOptions(options_value) - } - ArkUIGeneratedNativeModule._TextPickerDialog_show(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + public handleCancel(): void { + this?.handleCancel_serialize() + return + } + private handleConfirm_serialize(): void { + ArkUIGeneratedNativeModule._SslErrorHandler_handleConfirm(this.peer!.ptr) + } + private handleCancel_serialize(): void { + ArkUIGeneratedNativeModule._SslErrorHandler_handleCancel(this.peer!.ptr) } } -export class TextTimerControllerInternal { - public static fromPtr(ptr: KPointer): TextTimerController { - const obj: TextTimerController = new TextTimerController() - obj.peer = new Finalizable(ptr, TextTimerController.getFinalizer()) +export class ClientAuthenticationHandlerInternal { + public static fromPtr(ptr: KPointer): ClientAuthenticationHandler { + const obj: ClientAuthenticationHandler = new ClientAuthenticationHandler() + obj.peer = new Finalizable(ptr, ClientAuthenticationHandler.getFinalizer()) return obj } } -export class TextTimerController implements MaterializedBase { +export class ClientAuthenticationHandler implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_texttimercontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._TextTimerController_ctor() + static ctor_clientauthenticationhandler(): KPointer { + const retval = ArkUIGeneratedNativeModule._ClientAuthenticationHandler_ctor() return retval } constructor() { - const ctorPtr: KPointer = TextTimerController.ctor_texttimercontroller() - this.peer = new Finalizable(ctorPtr, TextTimerController.getFinalizer()) + const ctorPtr: KPointer = ClientAuthenticationHandler.ctor_clientauthenticationhandler() + this.peer = new Finalizable(ctorPtr, ClientAuthenticationHandler.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TextTimerController_getFinalizer() + return ArkUIGeneratedNativeModule._ClientAuthenticationHandler_getFinalizer() } - public start(): void { - this?.start_serialize() + public confirm(priKeyFile: string, certChainFile?: string): void { + const priKeyFile_type = runtimeType(priKeyFile) + const certChainFile_type = runtimeType(certChainFile) + const authUri_casted = priKeyFile as (string) + this?.confirm1_serialize(authUri_casted) return } - public pause(): void { - this?.pause_serialize() + public cancel(): void { + this?.cancel_serialize() return } - public reset(): void { - this?.reset_serialize() + public ignore(): void { + this?.ignore_serialize() return } - private start_serialize(): void { - ArkUIGeneratedNativeModule._TextTimerController_start(this.peer!.ptr) - } - private pause_serialize(): void { - ArkUIGeneratedNativeModule._TextTimerController_pause(this.peer!.ptr) + private confirm0_serialize(priKeyFile: string, certChainFile: string): void { + ArkUIGeneratedNativeModule._ClientAuthenticationHandler_confirm0(this.peer!.ptr, priKeyFile, certChainFile) } - private reset_serialize(): void { - ArkUIGeneratedNativeModule._TextTimerController_reset(this.peer!.ptr) + private confirm1_serialize(authUri: string): void { + ArkUIGeneratedNativeModule._ClientAuthenticationHandler_confirm1(this.peer!.ptr, authUri) } -} -export class TimePickerDialog { - public static show(options?: TimePickerDialogOptions): void { - const options_casted = options as (TimePickerDialogOptions | undefined) - TimePickerDialog.show_serialize(options_casted) - return + private cancel_serialize(): void { + ArkUIGeneratedNativeModule._ClientAuthenticationHandler_cancel(this.peer!.ptr) } - private static show_serialize(options?: TimePickerDialogOptions): void { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeTimePickerDialogOptions(options_value) - } - ArkUIGeneratedNativeModule._TimePickerDialog_show(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private ignore_serialize(): void { + ArkUIGeneratedNativeModule._ClientAuthenticationHandler_ignore(this.peer!.ptr) } } -export class ColorFilterInternal { - public static fromPtr(ptr: KPointer): ColorFilter { - const obj: ColorFilter = new ColorFilter(undefined) - obj.peer = new Finalizable(ptr, ColorFilter.getFinalizer()) +export class PermissionRequestInternal { + public static fromPtr(ptr: KPointer): PermissionRequest { + const obj: PermissionRequest = new PermissionRequest() + obj.peer = new Finalizable(ptr, PermissionRequest.getFinalizer()) return obj } } -export class ColorFilter implements MaterializedBase { +export class PermissionRequest implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_colorfilter(value: Array): KPointer { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(value.length) - for (let i = 0; i < value.length; i++) { - const value_element: number = value[i] - thisSerializer.writeNumber(value_element) - } - const retval = ArkUIGeneratedNativeModule._ColorFilter_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + static ctor_permissionrequest(): KPointer { + const retval = ArkUIGeneratedNativeModule._PermissionRequest_ctor() return retval } - constructor(value?: Array) { - if ((value) !== (undefined)) - { - const ctorPtr: KPointer = ColorFilter.ctor_colorfilter((value)!) - this.peer = new Finalizable(ctorPtr, ColorFilter.getFinalizer()) + constructor() { + const ctorPtr: KPointer = PermissionRequest.ctor_permissionrequest() + this.peer = new Finalizable(ctorPtr, PermissionRequest.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PermissionRequest_getFinalizer() + } + public deny(): void { + this?.deny_serialize() + return + } + public getOrigin(): string { + return this.getOrigin_serialize() + } + public getAccessibleResource(): Array { + return this.getAccessibleResource_serialize() + } + public grant(resources: Array): void { + const resources_casted = resources as (Array) + this?.grant_serialize(resources_casted) + return + } + private deny_serialize(): void { + ArkUIGeneratedNativeModule._PermissionRequest_deny(this.peer!.ptr) + } + private getOrigin_serialize(): string { + const retval = ArkUIGeneratedNativeModule._PermissionRequest_getOrigin(this.peer!.ptr) + return retval + } + private getAccessibleResource_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._PermissionRequest_getAccessibleResource(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = (retvalDeserializer.readString() as string) } + const returnResult: Array = buffer + return returnResult } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ColorFilter_getFinalizer() + private grant_serialize(resources: Array): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(resources.length) + for (let i = 0; i < resources.length; i++) { + const resources_element: string = resources[i] + thisSerializer.writeString(resources_element) + } + ArkUIGeneratedNativeModule._PermissionRequest_grant(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } } -export class VideoControllerInternal { - public static fromPtr(ptr: KPointer): VideoController { - const obj: VideoController = new VideoController() - obj.peer = new Finalizable(ptr, VideoController.getFinalizer()) +export class ScreenCaptureHandlerInternal { + public static fromPtr(ptr: KPointer): ScreenCaptureHandler { + const obj: ScreenCaptureHandler = new ScreenCaptureHandler() + obj.peer = new Finalizable(ptr, ScreenCaptureHandler.getFinalizer()) return obj } } -export class VideoController implements MaterializedBase { +export class ScreenCaptureHandler implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_videocontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._VideoController_ctor() + static ctor_screencapturehandler(): KPointer { + const retval = ArkUIGeneratedNativeModule._ScreenCaptureHandler_ctor() return retval } constructor() { - const ctorPtr: KPointer = VideoController.ctor_videocontroller() - this.peer = new Finalizable(ctorPtr, VideoController.getFinalizer()) + const ctorPtr: KPointer = ScreenCaptureHandler.ctor_screencapturehandler() + this.peer = new Finalizable(ctorPtr, ScreenCaptureHandler.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._VideoController_getFinalizer() - } - public start(): void { - this?.start_serialize() - return - } - public pause(): void { - this?.pause_serialize() - return - } - public stop(): void { - this?.stop_serialize() - return - } - public setCurrentTime(value: number, seekMode?: SeekMode): void { - const value_type = runtimeType(value) - const seekMode_type = runtimeType(seekMode) - if (RuntimeType.UNDEFINED == seekMode_type) { - const value_casted = value as (number) - this?.setCurrentTime0_serialize(value_casted) - return - } - if (RuntimeType.NUMBER == seekMode_type) { - const value_casted = value as (number) - const seekMode_casted = seekMode as (SeekMode) - this?.setCurrentTime1_serialize(value_casted, seekMode_casted) - return - } - throw new Error("Can not select appropriate overload") + return ArkUIGeneratedNativeModule._ScreenCaptureHandler_getFinalizer() } - public requestFullscreen(value: boolean): void { - const value_casted = value as (boolean) - this?.requestFullscreen_serialize(value_casted) - return + public getOrigin(): string { + return this.getOrigin_serialize() } - public exitFullscreen(): void { - this?.exitFullscreen_serialize() + public grant(config: ScreenCaptureConfig): void { + const config_casted = config as (ScreenCaptureConfig) + this?.grant_serialize(config_casted) return } - public reset(): void { - this?.reset_serialize() + public deny(): void { + this?.deny_serialize() return } - private start_serialize(): void { - ArkUIGeneratedNativeModule._VideoController_start(this.peer!.ptr) - } - private pause_serialize(): void { - ArkUIGeneratedNativeModule._VideoController_pause(this.peer!.ptr) - } - private stop_serialize(): void { - ArkUIGeneratedNativeModule._VideoController_stop(this.peer!.ptr) - } - private setCurrentTime0_serialize(value: number): void { - ArkUIGeneratedNativeModule._VideoController_setCurrentTime0(this.peer!.ptr, value) - } - private setCurrentTime1_serialize(value: number, seekMode: SeekMode): void { - ArkUIGeneratedNativeModule._VideoController_setCurrentTime1(this.peer!.ptr, value, seekMode.valueOf()) - } - private requestFullscreen_serialize(value: boolean): void { - ArkUIGeneratedNativeModule._VideoController_requestFullscreen(this.peer!.ptr, +value) + private getOrigin_serialize(): string { + const retval = ArkUIGeneratedNativeModule._ScreenCaptureHandler_getOrigin(this.peer!.ptr) + return retval } - private exitFullscreen_serialize(): void { - ArkUIGeneratedNativeModule._VideoController_exitFullscreen(this.peer!.ptr) + private grant_serialize(config: ScreenCaptureConfig): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeScreenCaptureConfig(config) + ArkUIGeneratedNativeModule._ScreenCaptureHandler_grant(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private reset_serialize(): void { - ArkUIGeneratedNativeModule._VideoController_reset(this.peer!.ptr) + private deny_serialize(): void { + ArkUIGeneratedNativeModule._ScreenCaptureHandler_deny(this.peer!.ptr) } } -export class WebKeyboardControllerInternal { - public static fromPtr(ptr: KPointer): WebKeyboardController { - const obj: WebKeyboardController = new WebKeyboardController() - obj.peer = new Finalizable(ptr, WebKeyboardController.getFinalizer()) +export class DataResubmissionHandlerInternal { + public static fromPtr(ptr: KPointer): DataResubmissionHandler { + const obj: DataResubmissionHandler = new DataResubmissionHandler() + obj.peer = new Finalizable(ptr, DataResubmissionHandler.getFinalizer()) return obj } } -export class WebKeyboardController implements MaterializedBase { +export class DataResubmissionHandler implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_webkeyboardcontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._WebKeyboardController_ctor() + static ctor_dataresubmissionhandler(): KPointer { + const retval = ArkUIGeneratedNativeModule._DataResubmissionHandler_ctor() return retval } constructor() { - const ctorPtr: KPointer = WebKeyboardController.ctor_webkeyboardcontroller() - this.peer = new Finalizable(ctorPtr, WebKeyboardController.getFinalizer()) + const ctorPtr: KPointer = DataResubmissionHandler.ctor_dataresubmissionhandler() + this.peer = new Finalizable(ctorPtr, DataResubmissionHandler.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._WebKeyboardController_getFinalizer() + return ArkUIGeneratedNativeModule._DataResubmissionHandler_getFinalizer() } - public insertText(text: string): void { - const text_casted = text as (string) - this?.insertText_serialize(text_casted) + public resend(): void { + this?.resend_serialize() return } - public deleteForward(length: number): void { - const length_casted = length as (number) - this?.deleteForward_serialize(length_casted) + public cancel(): void { + this?.cancel_serialize() return } - public deleteBackward(length: number): void { - const length_casted = length as (number) - this?.deleteBackward_serialize(length_casted) - return + private resend_serialize(): void { + ArkUIGeneratedNativeModule._DataResubmissionHandler_resend(this.peer!.ptr) } - public sendFunctionKey(key: number): void { - const key_casted = key as (number) - this?.sendFunctionKey_serialize(key_casted) - return + private cancel_serialize(): void { + ArkUIGeneratedNativeModule._DataResubmissionHandler_cancel(this.peer!.ptr) } - public close(): void { - this?.close_serialize() - return +} +export class ControllerHandlerInternal { + public static fromPtr(ptr: KPointer): ControllerHandler { + const obj: ControllerHandler = new ControllerHandler() + obj.peer = new Finalizable(ptr, ControllerHandler.getFinalizer()) + return obj } - private insertText_serialize(text: string): void { - ArkUIGeneratedNativeModule._WebKeyboardController_insertText(this.peer!.ptr, text) +} +export class ControllerHandler implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - private deleteForward_serialize(length: number): void { - ArkUIGeneratedNativeModule._WebKeyboardController_deleteForward(this.peer!.ptr, length) + static ctor_controllerhandler(): KPointer { + const retval = ArkUIGeneratedNativeModule._ControllerHandler_ctor() + return retval } - private deleteBackward_serialize(length: number): void { - ArkUIGeneratedNativeModule._WebKeyboardController_deleteBackward(this.peer!.ptr, length) + constructor() { + const ctorPtr: KPointer = ControllerHandler.ctor_controllerhandler() + this.peer = new Finalizable(ctorPtr, ControllerHandler.getFinalizer()) } - private sendFunctionKey_serialize(key: number): void { - ArkUIGeneratedNativeModule._WebKeyboardController_sendFunctionKey(this.peer!.ptr, key) + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._ControllerHandler_getFinalizer() } - private close_serialize(): void { - ArkUIGeneratedNativeModule._WebKeyboardController_close(this.peer!.ptr) + public setWebController(controller: WebviewController): void { + const controller_casted = controller as (WebviewController) + this?.setWebController_serialize(controller_casted) + return + } + private setWebController_serialize(controller: WebviewController): void { + ArkUIGeneratedNativeModule._ControllerHandler_setWebController(this.peer!.ptr, toPeerPtr(controller)) } } -export class FullScreenExitHandlerInternal { - public static fromPtr(ptr: KPointer): FullScreenExitHandler { - const obj: FullScreenExitHandler = new FullScreenExitHandler() - obj.peer = new Finalizable(ptr, FullScreenExitHandler.getFinalizer()) +export class WebContextMenuParamInternal { + public static fromPtr(ptr: KPointer): WebContextMenuParam { + const obj: WebContextMenuParam = new WebContextMenuParam() + obj.peer = new Finalizable(ptr, WebContextMenuParam.getFinalizer()) return obj } } -export class FullScreenExitHandler implements MaterializedBase { +export class WebContextMenuParam implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_fullscreenexithandler(): KPointer { - const retval = ArkUIGeneratedNativeModule._FullScreenExitHandler_ctor() + static ctor_webcontextmenuparam(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_ctor() return retval } constructor() { - const ctorPtr: KPointer = FullScreenExitHandler.ctor_fullscreenexithandler() - this.peer = new Finalizable(ctorPtr, FullScreenExitHandler.getFinalizer()) + const ctorPtr: KPointer = WebContextMenuParam.ctor_webcontextmenuparam() + this.peer = new Finalizable(ctorPtr, WebContextMenuParam.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._FullScreenExitHandler_getFinalizer() + return ArkUIGeneratedNativeModule._WebContextMenuParam_getFinalizer() } - public exitFullScreen(): void { - this?.exitFullScreen_serialize() - return + public x(): number { + return this.x_serialize() } - private exitFullScreen_serialize(): void { - ArkUIGeneratedNativeModule._FullScreenExitHandler_exitFullScreen(this.peer!.ptr) + public y(): number { + return this.y_serialize() + } + public getLinkUrl(): string { + return this.getLinkUrl_serialize() + } + public getUnfilteredLinkUrl(): string { + return this.getUnfilteredLinkUrl_serialize() + } + public getSourceUrl(): string { + return this.getSourceUrl_serialize() + } + public existsImageContents(): boolean { + return this.existsImageContents_serialize() + } + public getMediaType(): ContextMenuMediaType { + return this.getMediaType_serialize() + } + public getSelectionText(): string { + return this.getSelectionText_serialize() + } + public getSourceType(): ContextMenuSourceType { + return this.getSourceType_serialize() + } + public getInputFieldType(): ContextMenuInputFieldType { + return this.getInputFieldType_serialize() + } + public isEditable(): boolean { + return this.isEditable_serialize() + } + public getEditStateFlags(): number { + return this.getEditStateFlags_serialize() + } + public getPreviewWidth(): number { + return this.getPreviewWidth_serialize() + } + public getPreviewHeight(): number { + return this.getPreviewHeight_serialize() + } + private x_serialize(): number { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_x(this.peer!.ptr) + return retval } -} -export class FileSelectorParamInternal { - public static fromPtr(ptr: KPointer): FileSelectorParam { - const obj: FileSelectorParam = new FileSelectorParam() - obj.peer = new Finalizable(ptr, FileSelectorParam.getFinalizer()) - return obj + private y_serialize(): number { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_y(this.peer!.ptr) + return retval } -} -export class FileSelectorParam implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + private getLinkUrl_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getLinkUrl(this.peer!.ptr) + return retval } - static ctor_fileselectorparam(): KPointer { - const retval = ArkUIGeneratedNativeModule._FileSelectorParam_ctor() + private getUnfilteredLinkUrl_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getUnfilteredLinkUrl(this.peer!.ptr) return retval } - constructor() { - const ctorPtr: KPointer = FileSelectorParam.ctor_fileselectorparam() - this.peer = new Finalizable(ctorPtr, FileSelectorParam.getFinalizer()) + private getSourceUrl_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getSourceUrl(this.peer!.ptr) + return retval } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._FileSelectorParam_getFinalizer() + private existsImageContents_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_existsImageContents(this.peer!.ptr) + return retval } - public getTitle(): string { - return this.getTitle_serialize() + private getMediaType_serialize(): ContextMenuMediaType { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getMediaType(this.peer!.ptr) + return retval } - public getMode(): FileSelectorMode { - return this.getMode_serialize() + private getSelectionText_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getSelectionText(this.peer!.ptr) + return retval } - public getAcceptType(): Array { - return this.getAcceptType_serialize() + private getSourceType_serialize(): ContextMenuSourceType { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getSourceType(this.peer!.ptr) + return retval } - public isCapture(): boolean { - return this.isCapture_serialize() + private getInputFieldType_serialize(): ContextMenuInputFieldType { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getInputFieldType(this.peer!.ptr) + return retval } - private getTitle_serialize(): string { - const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getTitle(this.peer!.ptr) + private isEditable_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_isEditable(this.peer!.ptr) return retval } - private getMode_serialize(): FileSelectorMode { - const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getMode(this.peer!.ptr) + private getEditStateFlags_serialize(): number { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getEditStateFlags(this.peer!.ptr) return retval } - private getAcceptType_serialize(): Array { - const retval = ArkUIGeneratedNativeModule._FileSelectorParam_getAcceptType(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) - for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = (retvalDeserializer.readString() as string) - } - const returnResult: Array = buffer - return returnResult + private getPreviewWidth_serialize(): number { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getPreviewWidth(this.peer!.ptr) + return retval } - private isCapture_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._FileSelectorParam_isCapture(this.peer!.ptr) + private getPreviewHeight_serialize(): number { + const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getPreviewHeight(this.peer!.ptr) return retval } } -export class JsResultInternal { - public static fromPtr(ptr: KPointer): JsResult { - const obj: JsResult = new JsResult() - obj.peer = new Finalizable(ptr, JsResult.getFinalizer()) +export class WebContextMenuResultInternal { + public static fromPtr(ptr: KPointer): WebContextMenuResult { + const obj: WebContextMenuResult = new WebContextMenuResult() + obj.peer = new Finalizable(ptr, WebContextMenuResult.getFinalizer()) return obj } } -export class JsResult implements MaterializedBase { +export class WebContextMenuResult implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_jsresult(): KPointer { - const retval = ArkUIGeneratedNativeModule._JsResult_ctor() + static ctor_webcontextmenuresult(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebContextMenuResult_ctor() return retval } constructor() { - const ctorPtr: KPointer = JsResult.ctor_jsresult() - this.peer = new Finalizable(ctorPtr, JsResult.getFinalizer()) + const ctorPtr: KPointer = WebContextMenuResult.ctor_webcontextmenuresult() + this.peer = new Finalizable(ctorPtr, WebContextMenuResult.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._JsResult_getFinalizer() + return ArkUIGeneratedNativeModule._WebContextMenuResult_getFinalizer() } - public handleCancel(): void { - this?.handleCancel_serialize() + public closeContextMenu(): void { + this?.closeContextMenu_serialize() return } - public handleConfirm(): void { - this?.handleConfirm_serialize() + public copyImage(): void { + this?.copyImage_serialize() return } - public handlePromptConfirm(result: string): void { - const result_casted = result as (string) - this?.handlePromptConfirm_serialize(result_casted) + public copy(): void { + this?.copy_serialize() return } - private handleCancel_serialize(): void { - ArkUIGeneratedNativeModule._JsResult_handleCancel(this.peer!.ptr) + public paste(): void { + this?.paste_serialize() + return } - private handleConfirm_serialize(): void { - ArkUIGeneratedNativeModule._JsResult_handleConfirm(this.peer!.ptr) + public cut(): void { + this?.cut_serialize() + return } - private handlePromptConfirm_serialize(result: string): void { - ArkUIGeneratedNativeModule._JsResult_handlePromptConfirm(this.peer!.ptr, result) + public selectAll(): void { + this?.selectAll_serialize() + return + } + private closeContextMenu_serialize(): void { + ArkUIGeneratedNativeModule._WebContextMenuResult_closeContextMenu(this.peer!.ptr) + } + private copyImage_serialize(): void { + ArkUIGeneratedNativeModule._WebContextMenuResult_copyImage(this.peer!.ptr) + } + private copy_serialize(): void { + ArkUIGeneratedNativeModule._WebContextMenuResult_copy(this.peer!.ptr) + } + private paste_serialize(): void { + ArkUIGeneratedNativeModule._WebContextMenuResult_paste(this.peer!.ptr) + } + private cut_serialize(): void { + ArkUIGeneratedNativeModule._WebContextMenuResult_cut(this.peer!.ptr) + } + private selectAll_serialize(): void { + ArkUIGeneratedNativeModule._WebContextMenuResult_selectAll(this.peer!.ptr) } } -export class FileSelectorResultInternal { - public static fromPtr(ptr: KPointer): FileSelectorResult { - const obj: FileSelectorResult = new FileSelectorResult() - obj.peer = new Finalizable(ptr, FileSelectorResult.getFinalizer()) +export class ConsoleMessageInternal { + public static fromPtr(ptr: KPointer): ConsoleMessage { + const obj: ConsoleMessage = new ConsoleMessage(undefined, undefined, undefined, undefined) + obj.peer = new Finalizable(ptr, ConsoleMessage.getFinalizer()) return obj } } -export class FileSelectorResult implements MaterializedBase { +export class ConsoleMessage implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_fileselectorresult(): KPointer { - const retval = ArkUIGeneratedNativeModule._FileSelectorResult_ctor() + static ctor_consolemessage(message: string, sourceId: string, lineNumber: number, messageLevel: MessageLevel): KPointer { + const retval = ArkUIGeneratedNativeModule._ConsoleMessage_ctor(message, sourceId, lineNumber, messageLevel.valueOf()) return retval } - constructor() { - const ctorPtr: KPointer = FileSelectorResult.ctor_fileselectorresult() - this.peer = new Finalizable(ctorPtr, FileSelectorResult.getFinalizer()) + constructor(message?: string, sourceId?: string, lineNumber?: number, messageLevel?: MessageLevel) { + if (((message) !== (undefined)) || ((sourceId) !== (undefined)) || ((lineNumber) !== (undefined)) || ((messageLevel) !== (undefined))) + { + const ctorPtr: KPointer = ConsoleMessage.ctor_consolemessage((message)!, (sourceId)!, (lineNumber)!, (messageLevel)!) + this.peer = new Finalizable(ctorPtr, ConsoleMessage.getFinalizer()) + } } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._FileSelectorResult_getFinalizer() + return ArkUIGeneratedNativeModule._ConsoleMessage_getFinalizer() } - public handleFileList(fileList: Array): void { - const fileList_casted = fileList as (Array) - this?.handleFileList_serialize(fileList_casted) - return + public getMessage(): string { + return this.getMessage_serialize() } - private handleFileList_serialize(fileList: Array): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(fileList.length) - for (let i = 0; i < fileList.length; i++) { - const fileList_element: string = fileList[i] - thisSerializer.writeString(fileList_element) - } - ArkUIGeneratedNativeModule._FileSelectorResult_handleFileList(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + public getSourceId(): string { + return this.getSourceId_serialize() + } + public getLineNumber(): number { + return this.getLineNumber_serialize() + } + public getMessageLevel(): MessageLevel { + return this.getMessageLevel_serialize() + } + private getMessage_serialize(): string { + const retval = ArkUIGeneratedNativeModule._ConsoleMessage_getMessage(this.peer!.ptr) + return retval + } + private getSourceId_serialize(): string { + const retval = ArkUIGeneratedNativeModule._ConsoleMessage_getSourceId(this.peer!.ptr) + return retval + } + private getLineNumber_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ConsoleMessage_getLineNumber(this.peer!.ptr) + return retval + } + private getMessageLevel_serialize(): MessageLevel { + const retval = ArkUIGeneratedNativeModule._ConsoleMessage_getMessageLevel(this.peer!.ptr) + return retval } } -export class HttpAuthHandlerInternal { - public static fromPtr(ptr: KPointer): HttpAuthHandler { - const obj: HttpAuthHandler = new HttpAuthHandler() - obj.peer = new Finalizable(ptr, HttpAuthHandler.getFinalizer()) +export class WebResourceRequestInternal { + public static fromPtr(ptr: KPointer): WebResourceRequest { + const obj: WebResourceRequest = new WebResourceRequest() + obj.peer = new Finalizable(ptr, WebResourceRequest.getFinalizer()) return obj } } -export class HttpAuthHandler implements MaterializedBase { +export class WebResourceRequest implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_httpauthhandler(): KPointer { - const retval = ArkUIGeneratedNativeModule._HttpAuthHandler_ctor() + static ctor_webresourcerequest(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_ctor() return retval } constructor() { - const ctorPtr: KPointer = HttpAuthHandler.ctor_httpauthhandler() - this.peer = new Finalizable(ctorPtr, HttpAuthHandler.getFinalizer()) + const ctorPtr: KPointer = WebResourceRequest.ctor_webresourcerequest() + this.peer = new Finalizable(ctorPtr, WebResourceRequest.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._HttpAuthHandler_getFinalizer() + return ArkUIGeneratedNativeModule._WebResourceRequest_getFinalizer() } - public confirm(userName: string, password: string): boolean { - const userName_casted = userName as (string) - const password_casted = password as (string) - return this.confirm_serialize(userName_casted, password_casted) + public getRequestHeader(): Array
{ + return this.getRequestHeader_serialize() + } + public getRequestUrl(): string { + return this.getRequestUrl_serialize() + } + public isRequestGesture(): boolean { + return this.isRequestGesture_serialize() + } + public isMainFrame(): boolean { + return this.isMainFrame_serialize() + } + public isRedirect(): boolean { + return this.isRedirect_serialize() + } + public getRequestMethod(): string { + return this.getRequestMethod_serialize() + } + private getRequestHeader_serialize(): Array
{ + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_getRequestHeader(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array
= new Array
(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = retvalDeserializer.readHeader() + } + const returnResult: Array
= buffer + return returnResult } - public cancel(): void { - this?.cancel_serialize() - return + private getRequestUrl_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_getRequestUrl(this.peer!.ptr) + return retval } - public isHttpAuthInfoSaved(): boolean { - return this.isHttpAuthInfoSaved_serialize() + private isRequestGesture_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_isRequestGesture(this.peer!.ptr) + return retval } - private confirm_serialize(userName: string, password: string): boolean { - const retval = ArkUIGeneratedNativeModule._HttpAuthHandler_confirm(this.peer!.ptr, userName, password) + private isMainFrame_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_isMainFrame(this.peer!.ptr) return retval } - private cancel_serialize(): void { - ArkUIGeneratedNativeModule._HttpAuthHandler_cancel(this.peer!.ptr) + private isRedirect_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_isRedirect(this.peer!.ptr) + return retval } - private isHttpAuthInfoSaved_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._HttpAuthHandler_isHttpAuthInfoSaved(this.peer!.ptr) + private getRequestMethod_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceRequest_getRequestMethod(this.peer!.ptr) return retval } } -export class SslErrorHandlerInternal { - public static fromPtr(ptr: KPointer): SslErrorHandler { - const obj: SslErrorHandler = new SslErrorHandler() - obj.peer = new Finalizable(ptr, SslErrorHandler.getFinalizer()) +export class WebResourceResponseInternal { + public static fromPtr(ptr: KPointer): WebResourceResponse { + const obj: WebResourceResponse = new WebResourceResponse() + obj.peer = new Finalizable(ptr, WebResourceResponse.getFinalizer()) return obj } } -export class SslErrorHandler implements MaterializedBase { +export class WebResourceResponse implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_sslerrorhandler(): KPointer { - const retval = ArkUIGeneratedNativeModule._SslErrorHandler_ctor() + static ctor_webresourceresponse(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_ctor() return retval } constructor() { - const ctorPtr: KPointer = SslErrorHandler.ctor_sslerrorhandler() - this.peer = new Finalizable(ctorPtr, SslErrorHandler.getFinalizer()) + const ctorPtr: KPointer = WebResourceResponse.ctor_webresourceresponse() + this.peer = new Finalizable(ctorPtr, WebResourceResponse.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._SslErrorHandler_getFinalizer() - } - public handleConfirm(): void { - this?.handleConfirm_serialize() - return - } - public handleCancel(): void { - this?.handleCancel_serialize() - return + return ArkUIGeneratedNativeModule._WebResourceResponse_getFinalizer() } - private handleConfirm_serialize(): void { - ArkUIGeneratedNativeModule._SslErrorHandler_handleConfirm(this.peer!.ptr) + public getResponseData(): string { + return this.getResponseData_serialize() } - private handleCancel_serialize(): void { - ArkUIGeneratedNativeModule._SslErrorHandler_handleCancel(this.peer!.ptr) + public getResponseDataEx(): string | number | NativeBuffer | Resource | undefined { + return this.getResponseDataEx_serialize() } -} -export class ClientAuthenticationHandlerInternal { - public static fromPtr(ptr: KPointer): ClientAuthenticationHandler { - const obj: ClientAuthenticationHandler = new ClientAuthenticationHandler() - obj.peer = new Finalizable(ptr, ClientAuthenticationHandler.getFinalizer()) - return obj + public getResponseEncoding(): string { + return this.getResponseEncoding_serialize() } -} -export class ClientAuthenticationHandler implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + public getResponseMimeType(): string { + return this.getResponseMimeType_serialize() } - static ctor_clientauthenticationhandler(): KPointer { - const retval = ArkUIGeneratedNativeModule._ClientAuthenticationHandler_ctor() - return retval + public getReasonMessage(): string { + return this.getReasonMessage_serialize() } - constructor() { - const ctorPtr: KPointer = ClientAuthenticationHandler.ctor_clientauthenticationhandler() - this.peer = new Finalizable(ctorPtr, ClientAuthenticationHandler.getFinalizer()) + public getResponseHeader(): Array
{ + return this.getResponseHeader_serialize() } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ClientAuthenticationHandler_getFinalizer() + public getResponseCode(): number { + return this.getResponseCode_serialize() } - public confirm(priKeyFile: string, certChainFile?: string): void { - const priKeyFile_type = runtimeType(priKeyFile) - const certChainFile_type = runtimeType(certChainFile) - const authUri_casted = priKeyFile as (string) - this?.confirm1_serialize(authUri_casted) + public setResponseData(data: string | number | Resource | NativeBuffer): void { + const data_casted = data as (string | number | Resource | NativeBuffer) + this?.setResponseData_serialize(data_casted) return } - public cancel(): void { - this?.cancel_serialize() + public setResponseEncoding(encoding: string): void { + const encoding_casted = encoding as (string) + this?.setResponseEncoding_serialize(encoding_casted) return } - public ignore(): void { - this?.ignore_serialize() + public setResponseMimeType(mimeType: string): void { + const mimeType_casted = mimeType as (string) + this?.setResponseMimeType_serialize(mimeType_casted) return } - private confirm0_serialize(priKeyFile: string, certChainFile: string): void { - ArkUIGeneratedNativeModule._ClientAuthenticationHandler_confirm0(this.peer!.ptr, priKeyFile, certChainFile) - } - private confirm1_serialize(authUri: string): void { - ArkUIGeneratedNativeModule._ClientAuthenticationHandler_confirm1(this.peer!.ptr, authUri) + public setReasonMessage(reason: string): void { + const reason_casted = reason as (string) + this?.setReasonMessage_serialize(reason_casted) + return } - private cancel_serialize(): void { - ArkUIGeneratedNativeModule._ClientAuthenticationHandler_cancel(this.peer!.ptr) + public setResponseHeader(header: Array
): void { + const header_casted = header as (Array
) + this?.setResponseHeader_serialize(header_casted) + return } - private ignore_serialize(): void { - ArkUIGeneratedNativeModule._ClientAuthenticationHandler_ignore(this.peer!.ptr) + public setResponseCode(code: number): void { + const code_casted = code as (number) + this?.setResponseCode_serialize(code_casted) + return } -} -export class PermissionRequestInternal { - public static fromPtr(ptr: KPointer): PermissionRequest { - const obj: PermissionRequest = new PermissionRequest() - obj.peer = new Finalizable(ptr, PermissionRequest.getFinalizer()) - return obj + public setResponseIsReady(IsReady: boolean): void { + const IsReady_casted = IsReady as (boolean) + this?.setResponseIsReady_serialize(IsReady_casted) + return } -} -export class PermissionRequest implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + public getResponseIsReady(): boolean { + return this.getResponseIsReady_serialize() } - static ctor_permissionrequest(): KPointer { - const retval = ArkUIGeneratedNativeModule._PermissionRequest_ctor() + private getResponseData_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseData(this.peer!.ptr) return retval } - constructor() { - const ctorPtr: KPointer = PermissionRequest.ctor_permissionrequest() - this.peer = new Finalizable(ctorPtr, PermissionRequest.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._PermissionRequest_getFinalizer() - } - public deny(): void { - this?.deny_serialize() - return - } - public getOrigin(): string { - return this.getOrigin_serialize() - } - public getAccessibleResource(): Array { - return this.getAccessibleResource_serialize() + private getResponseDataEx_serialize(): string | number | NativeBuffer | Resource | undefined { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseDataEx(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - public grant(resources: Array): void { - const resources_casted = resources as (Array) - this?.grant_serialize(resources_casted) - return + private getResponseEncoding_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseEncoding(this.peer!.ptr) + return retval } - private deny_serialize(): void { - ArkUIGeneratedNativeModule._PermissionRequest_deny(this.peer!.ptr) + private getResponseMimeType_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseMimeType(this.peer!.ptr) + return retval } - private getOrigin_serialize(): string { - const retval = ArkUIGeneratedNativeModule._PermissionRequest_getOrigin(this.peer!.ptr) + private getReasonMessage_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getReasonMessage(this.peer!.ptr) return retval } - private getAccessibleResource_serialize(): Array { - const retval = ArkUIGeneratedNativeModule._PermissionRequest_getAccessibleResource(this.peer!.ptr) + private getResponseHeader_serialize(): Array
{ + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseHeader(this.peer!.ptr) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) + let buffer: Array
= new Array
(buffer_length) for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = (retvalDeserializer.readString() as string) + buffer[buffer_i] = retvalDeserializer.readHeader() } - const returnResult: Array = buffer + const returnResult: Array
= buffer return returnResult } - private grant_serialize(resources: Array): void { + private getResponseCode_serialize(): number { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseCode(this.peer!.ptr) + return retval + } + private setResponseData_serialize(data: string | number | Resource | NativeBuffer): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(resources.length) - for (let i = 0; i < resources.length; i++) { - const resources_element: string = resources[i] - thisSerializer.writeString(resources_element) + let data_type: int32 = RuntimeType.UNDEFINED + data_type = runtimeType(data) + if (RuntimeType.STRING == data_type) { + thisSerializer.writeInt8(0) + const data_0 = unsafeCast(data) + thisSerializer.writeString(data_0) } - ArkUIGeneratedNativeModule._PermissionRequest_grant(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + else if (RuntimeType.NUMBER == data_type) { + thisSerializer.writeInt8(1) + const data_1 = unsafeCast(data) + thisSerializer.writeNumber(data_1) + } + else if (((RuntimeType.OBJECT) == (data_type)) && ((data!.hasOwnProperty("bundleName")))) { + thisSerializer.writeInt8(2) + const data_2 = unsafeCast(data) + thisSerializer.writeResource(data_2) + } + else if (data instanceof NativeBuffer) { + thisSerializer.writeInt8(3) + const data_3 = unsafeCast(data) + thisSerializer.writeBuffer(data_3) + } + ArkUIGeneratedNativeModule._WebResourceResponse_setResponseData(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private setResponseEncoding_serialize(encoding: string): void { + ArkUIGeneratedNativeModule._WebResourceResponse_setResponseEncoding(this.peer!.ptr, encoding) + } + private setResponseMimeType_serialize(mimeType: string): void { + ArkUIGeneratedNativeModule._WebResourceResponse_setResponseMimeType(this.peer!.ptr, mimeType) + } + private setReasonMessage_serialize(reason: string): void { + ArkUIGeneratedNativeModule._WebResourceResponse_setReasonMessage(this.peer!.ptr, reason) + } + private setResponseHeader_serialize(header: Array
): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(header.length) + for (let i = 0; i < header.length; i++) { + const header_element: Header = header[i] + thisSerializer.writeHeader(header_element) + } + ArkUIGeneratedNativeModule._WebResourceResponse_setResponseHeader(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + private setResponseCode_serialize(code: number): void { + ArkUIGeneratedNativeModule._WebResourceResponse_setResponseCode(this.peer!.ptr, code) + } + private setResponseIsReady_serialize(IsReady: boolean): void { + ArkUIGeneratedNativeModule._WebResourceResponse_setResponseIsReady(this.peer!.ptr, +IsReady) + } + private getResponseIsReady_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseIsReady(this.peer!.ptr) + return retval + } } -export class ScreenCaptureHandlerInternal { - public static fromPtr(ptr: KPointer): ScreenCaptureHandler { - const obj: ScreenCaptureHandler = new ScreenCaptureHandler() - obj.peer = new Finalizable(ptr, ScreenCaptureHandler.getFinalizer()) +export class WebResourceErrorInternal { + public static fromPtr(ptr: KPointer): WebResourceError { + const obj: WebResourceError = new WebResourceError() + obj.peer = new Finalizable(ptr, WebResourceError.getFinalizer()) return obj } } -export class ScreenCaptureHandler implements MaterializedBase { +export class WebResourceError implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_screencapturehandler(): KPointer { - const retval = ArkUIGeneratedNativeModule._ScreenCaptureHandler_ctor() + static ctor_webresourceerror(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebResourceError_ctor() return retval } constructor() { - const ctorPtr: KPointer = ScreenCaptureHandler.ctor_screencapturehandler() - this.peer = new Finalizable(ctorPtr, ScreenCaptureHandler.getFinalizer()) + const ctorPtr: KPointer = WebResourceError.ctor_webresourceerror() + this.peer = new Finalizable(ctorPtr, WebResourceError.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ScreenCaptureHandler_getFinalizer() - } - public getOrigin(): string { - return this.getOrigin_serialize() + return ArkUIGeneratedNativeModule._WebResourceError_getFinalizer() } - public grant(config: ScreenCaptureConfig): void { - const config_casted = config as (ScreenCaptureConfig) - this?.grant_serialize(config_casted) - return + public getErrorInfo(): string { + return this.getErrorInfo_serialize() } - public deny(): void { - this?.deny_serialize() - return + public getErrorCode(): number { + return this.getErrorCode_serialize() } - private getOrigin_serialize(): string { - const retval = ArkUIGeneratedNativeModule._ScreenCaptureHandler_getOrigin(this.peer!.ptr) + private getErrorInfo_serialize(): string { + const retval = ArkUIGeneratedNativeModule._WebResourceError_getErrorInfo(this.peer!.ptr) return retval } - private grant_serialize(config: ScreenCaptureConfig): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeScreenCaptureConfig(config) - ArkUIGeneratedNativeModule._ScreenCaptureHandler_grant(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private deny_serialize(): void { - ArkUIGeneratedNativeModule._ScreenCaptureHandler_deny(this.peer!.ptr) + private getErrorCode_serialize(): number { + const retval = ArkUIGeneratedNativeModule._WebResourceError_getErrorCode(this.peer!.ptr) + return retval } } -export class DataResubmissionHandlerInternal { - public static fromPtr(ptr: KPointer): DataResubmissionHandler { - const obj: DataResubmissionHandler = new DataResubmissionHandler() - obj.peer = new Finalizable(ptr, DataResubmissionHandler.getFinalizer()) +export class JsGeolocationInternal { + public static fromPtr(ptr: KPointer): JsGeolocation { + const obj: JsGeolocation = new JsGeolocation() + obj.peer = new Finalizable(ptr, JsGeolocation.getFinalizer()) return obj } } -export class DataResubmissionHandler implements MaterializedBase { +export class JsGeolocation implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_dataresubmissionhandler(): KPointer { - const retval = ArkUIGeneratedNativeModule._DataResubmissionHandler_ctor() + static ctor_jsgeolocation(): KPointer { + const retval = ArkUIGeneratedNativeModule._JsGeolocation_ctor() return retval } constructor() { - const ctorPtr: KPointer = DataResubmissionHandler.ctor_dataresubmissionhandler() - this.peer = new Finalizable(ctorPtr, DataResubmissionHandler.getFinalizer()) + const ctorPtr: KPointer = JsGeolocation.ctor_jsgeolocation() + this.peer = new Finalizable(ctorPtr, JsGeolocation.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._DataResubmissionHandler_getFinalizer() - } - public resend(): void { - this?.resend_serialize() - return + return ArkUIGeneratedNativeModule._JsGeolocation_getFinalizer() } - public cancel(): void { - this?.cancel_serialize() + public invoke(origin: string, allow: boolean, retain: boolean): void { + const origin_casted = origin as (string) + const allow_casted = allow as (boolean) + const retain_casted = retain as (boolean) + this?.invoke_serialize(origin_casted, allow_casted, retain_casted) return } - private resend_serialize(): void { - ArkUIGeneratedNativeModule._DataResubmissionHandler_resend(this.peer!.ptr) - } - private cancel_serialize(): void { - ArkUIGeneratedNativeModule._DataResubmissionHandler_cancel(this.peer!.ptr) + private invoke_serialize(origin: string, allow: boolean, retain: boolean): void { + ArkUIGeneratedNativeModule._JsGeolocation_invoke(this.peer!.ptr, origin, +allow, +retain) } } -export class ControllerHandlerInternal { - public static fromPtr(ptr: KPointer): ControllerHandler { - const obj: ControllerHandler = new ControllerHandler() - obj.peer = new Finalizable(ptr, ControllerHandler.getFinalizer()) +export class WebCookieInternal { + public static fromPtr(ptr: KPointer): WebCookie { + const obj: WebCookie = new WebCookie() + obj.peer = new Finalizable(ptr, WebCookie.getFinalizer()) return obj } } -export class ControllerHandler implements MaterializedBase { +export class WebCookie implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_controllerhandler(): KPointer { - const retval = ArkUIGeneratedNativeModule._ControllerHandler_ctor() + static ctor_webcookie(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebCookie_ctor() return retval } constructor() { - const ctorPtr: KPointer = ControllerHandler.ctor_controllerhandler() - this.peer = new Finalizable(ctorPtr, ControllerHandler.getFinalizer()) + const ctorPtr: KPointer = WebCookie.ctor_webcookie() + this.peer = new Finalizable(ctorPtr, WebCookie.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ControllerHandler_getFinalizer() + return ArkUIGeneratedNativeModule._WebCookie_getFinalizer() } - public setWebController(controller: WebviewController): void { - const controller_casted = controller as (WebviewController) - this?.setWebController_serialize(controller_casted) + public setCookie(): void { + this?.setCookie_serialize() return } - private setWebController_serialize(controller: WebviewController): void { - ArkUIGeneratedNativeModule._ControllerHandler_setWebController(this.peer!.ptr, toPeerPtr(controller)) + public saveCookie(): void { + this?.saveCookie_serialize() + return + } + private setCookie_serialize(): void { + ArkUIGeneratedNativeModule._WebCookie_setCookie(this.peer!.ptr) + } + private saveCookie_serialize(): void { + ArkUIGeneratedNativeModule._WebCookie_saveCookie(this.peer!.ptr) } } -export class WebContextMenuParamInternal { - public static fromPtr(ptr: KPointer): WebContextMenuParam { - const obj: WebContextMenuParam = new WebContextMenuParam() - obj.peer = new Finalizable(ptr, WebContextMenuParam.getFinalizer()) +export class EventResultInternal { + public static fromPtr(ptr: KPointer): EventResult { + const obj: EventResult = new EventResult() + obj.peer = new Finalizable(ptr, EventResult.getFinalizer()) return obj } } -export class WebContextMenuParam implements MaterializedBase { +export class EventResult implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_webcontextmenuparam(): KPointer { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_ctor() + static ctor_eventresult(): KPointer { + const retval = ArkUIGeneratedNativeModule._EventResult_ctor() return retval } constructor() { - const ctorPtr: KPointer = WebContextMenuParam.ctor_webcontextmenuparam() - this.peer = new Finalizable(ctorPtr, WebContextMenuParam.getFinalizer()) + const ctorPtr: KPointer = EventResult.ctor_eventresult() + this.peer = new Finalizable(ctorPtr, EventResult.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._WebContextMenuParam_getFinalizer() - } - public x(): number { - return this.x_serialize() - } - public y(): number { - return this.y_serialize() - } - public getLinkUrl(): string { - return this.getLinkUrl_serialize() - } - public getUnfilteredLinkUrl(): string { - return this.getUnfilteredLinkUrl_serialize() - } - public getSourceUrl(): string { - return this.getSourceUrl_serialize() - } - public existsImageContents(): boolean { - return this.existsImageContents_serialize() - } - public getMediaType(): ContextMenuMediaType { - return this.getMediaType_serialize() - } - public getSelectionText(): string { - return this.getSelectionText_serialize() - } - public getSourceType(): ContextMenuSourceType { - return this.getSourceType_serialize() - } - public getInputFieldType(): ContextMenuInputFieldType { - return this.getInputFieldType_serialize() - } - public isEditable(): boolean { - return this.isEditable_serialize() - } - public getEditStateFlags(): number { - return this.getEditStateFlags_serialize() - } - public getPreviewWidth(): number { - return this.getPreviewWidth_serialize() - } - public getPreviewHeight(): number { - return this.getPreviewHeight_serialize() - } - private x_serialize(): number { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_x(this.peer!.ptr) - return retval - } - private y_serialize(): number { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_y(this.peer!.ptr) - return retval - } - private getLinkUrl_serialize(): string { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getLinkUrl(this.peer!.ptr) - return retval - } - private getUnfilteredLinkUrl_serialize(): string { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getUnfilteredLinkUrl(this.peer!.ptr) - return retval - } - private getSourceUrl_serialize(): string { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getSourceUrl(this.peer!.ptr) - return retval - } - private existsImageContents_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_existsImageContents(this.peer!.ptr) - return retval - } - private getMediaType_serialize(): ContextMenuMediaType { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getMediaType(this.peer!.ptr) - return retval - } - private getSelectionText_serialize(): string { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getSelectionText(this.peer!.ptr) - return retval - } - private getSourceType_serialize(): ContextMenuSourceType { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getSourceType(this.peer!.ptr) - return retval - } - private getInputFieldType_serialize(): ContextMenuInputFieldType { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getInputFieldType(this.peer!.ptr) - return retval - } - private isEditable_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_isEditable(this.peer!.ptr) - return retval + return ArkUIGeneratedNativeModule._EventResult_getFinalizer() } - private getEditStateFlags_serialize(): number { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getEditStateFlags(this.peer!.ptr) - return retval + public setGestureEventResult(result: boolean, stopPropagation?: boolean): void { + const result_type = runtimeType(result) + const stopPropagation_type = runtimeType(stopPropagation) + const result_casted = result as (boolean) + this?.setGestureEventResult0_serialize(result_casted) + return } - private getPreviewWidth_serialize(): number { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getPreviewWidth(this.peer!.ptr) - return retval + private setGestureEventResult0_serialize(result: boolean): void { + ArkUIGeneratedNativeModule._EventResult_setGestureEventResult0(this.peer!.ptr, +result) } - private getPreviewHeight_serialize(): number { - const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_getPreviewHeight(this.peer!.ptr) - return retval + private setGestureEventResult1_serialize(result: boolean, stopPropagation: boolean): void { + ArkUIGeneratedNativeModule._EventResult_setGestureEventResult1(this.peer!.ptr, +result, +stopPropagation) } } -export class WebContextMenuResultInternal { - public static fromPtr(ptr: KPointer): WebContextMenuResult { - const obj: WebContextMenuResult = new WebContextMenuResult() - obj.peer = new Finalizable(ptr, WebContextMenuResult.getFinalizer()) +export class WebControllerInternal { + public static fromPtr(ptr: KPointer): WebController { + const obj: WebController = new WebController() + obj.peer = new Finalizable(ptr, WebController.getFinalizer()) return obj } } -export class WebContextMenuResult implements MaterializedBase { +export class WebController implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_webcontextmenuresult(): KPointer { - const retval = ArkUIGeneratedNativeModule._WebContextMenuResult_ctor() + static ctor_webcontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebController_ctor() return retval } constructor() { - const ctorPtr: KPointer = WebContextMenuResult.ctor_webcontextmenuresult() - this.peer = new Finalizable(ctorPtr, WebContextMenuResult.getFinalizer()) + const ctorPtr: KPointer = WebController.ctor_webcontroller() + this.peer = new Finalizable(ctorPtr, WebController.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._WebContextMenuResult_getFinalizer() + return ArkUIGeneratedNativeModule._WebController_getFinalizer() } - public closeContextMenu(): void { - this?.closeContextMenu_serialize() + public onInactive(): void { + this?.onInactive_serialize() return } - public copyImage(): void { - this?.copyImage_serialize() + public onActive(): void { + this?.onActive_serialize() return } - public copy(): void { - this?.copy_serialize() + public zoom(factor: number): void { + const factor_casted = factor as (number) + this?.zoom_serialize(factor_casted) return } - public paste(): void { - this?.paste_serialize() + public clearHistory(): void { + this?.clearHistory_serialize() return } - public cut(): void { - this?.cut_serialize() + public runJavaScript(options: { script: string, callback_?: ((breakpoints: string) => void) }): void { + const options_casted = options as ({ script: string, callback_?: ((breakpoints: string) => void) }) + this?.runJavaScript_serialize(options_casted) return } - public selectAll(): void { - this?.selectAll_serialize() + public loadData(options: { data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string }): void { + const options_casted = options as ({ data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string }) + this?.loadData_serialize(options_casted) return } - private closeContextMenu_serialize(): void { - ArkUIGeneratedNativeModule._WebContextMenuResult_closeContextMenu(this.peer!.ptr) - } - private copyImage_serialize(): void { - ArkUIGeneratedNativeModule._WebContextMenuResult_copyImage(this.peer!.ptr) - } - private copy_serialize(): void { - ArkUIGeneratedNativeModule._WebContextMenuResult_copy(this.peer!.ptr) - } - private paste_serialize(): void { - ArkUIGeneratedNativeModule._WebContextMenuResult_paste(this.peer!.ptr) - } - private cut_serialize(): void { - ArkUIGeneratedNativeModule._WebContextMenuResult_cut(this.peer!.ptr) - } - private selectAll_serialize(): void { - ArkUIGeneratedNativeModule._WebContextMenuResult_selectAll(this.peer!.ptr) + public loadUrl(options: { url: string | Resource, headers?: Array
}): void { + const options_casted = options as ({ url: string | Resource, headers?: Array
}) + this?.loadUrl_serialize(options_casted) + return } -} -export class ConsoleMessageInternal { - public static fromPtr(ptr: KPointer): ConsoleMessage { - const obj: ConsoleMessage = new ConsoleMessage(undefined, undefined, undefined, undefined) - obj.peer = new Finalizable(ptr, ConsoleMessage.getFinalizer()) - return obj + public refresh(): void { + this?.refresh_serialize() + return } -} -export class ConsoleMessage implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + public stop(): void { + this?.stop_serialize() + return } - static ctor_consolemessage(message: string, sourceId: string, lineNumber: number, messageLevel: MessageLevel): KPointer { - const retval = ArkUIGeneratedNativeModule._ConsoleMessage_ctor(message, sourceId, lineNumber, messageLevel.valueOf()) - return retval + public registerJavaScriptProxy(options: { object_: Object, name: string, methodList: Array }): void { + const options_casted = options as ({ object_: Object, name: string, methodList: Array }) + this?.registerJavaScriptProxy_serialize(options_casted) + return } - constructor(message?: string, sourceId?: string, lineNumber?: number, messageLevel?: MessageLevel) { - if (((message) !== (undefined)) || ((sourceId) !== (undefined)) || ((lineNumber) !== (undefined)) || ((messageLevel) !== (undefined))) - { - const ctorPtr: KPointer = ConsoleMessage.ctor_consolemessage((message)!, (sourceId)!, (lineNumber)!, (messageLevel)!) - this.peer = new Finalizable(ctorPtr, ConsoleMessage.getFinalizer()) - } + public deleteJavaScriptRegister(name: string): void { + const name_casted = name as (string) + this?.deleteJavaScriptRegister_serialize(name_casted) + return } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ConsoleMessage_getFinalizer() + public getHitTest(): HitTestType { + return this.getHitTest_serialize() } - public getMessage(): string { - return this.getMessage_serialize() + public requestFocus(): void { + this?.requestFocus_serialize() + return } - public getSourceId(): string { - return this.getSourceId_serialize() + public accessBackward(): boolean { + return this.accessBackward_serialize() } - public getLineNumber(): number { - return this.getLineNumber_serialize() + public accessForward(): boolean { + return this.accessForward_serialize() } - public getMessageLevel(): MessageLevel { - return this.getMessageLevel_serialize() + public accessStep(step: number): boolean { + const step_casted = step as (number) + return this.accessStep_serialize(step_casted) } - private getMessage_serialize(): string { - const retval = ArkUIGeneratedNativeModule._ConsoleMessage_getMessage(this.peer!.ptr) - return retval + public backward(): void { + this?.backward_serialize() + return } - private getSourceId_serialize(): string { - const retval = ArkUIGeneratedNativeModule._ConsoleMessage_getSourceId(this.peer!.ptr) - return retval + public forward(): void { + this?.forward_serialize() + return } - private getLineNumber_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ConsoleMessage_getLineNumber(this.peer!.ptr) - return retval + public getCookieManager(): WebCookie { + return this.getCookieManager_serialize() } - private getMessageLevel_serialize(): MessageLevel { - const retval = ArkUIGeneratedNativeModule._ConsoleMessage_getMessageLevel(this.peer!.ptr) - return retval + private onInactive_serialize(): void { + ArkUIGeneratedNativeModule._WebController_onInactive(this.peer!.ptr) } -} -export class WebResourceRequestInternal { - public static fromPtr(ptr: KPointer): WebResourceRequest { - const obj: WebResourceRequest = new WebResourceRequest() - obj.peer = new Finalizable(ptr, WebResourceRequest.getFinalizer()) - return obj + private onActive_serialize(): void { + ArkUIGeneratedNativeModule._WebController_onActive(this.peer!.ptr) } -} -export class WebResourceRequest implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + private zoom_serialize(factor: number): void { + ArkUIGeneratedNativeModule._WebController_zoom(this.peer!.ptr, factor) } - static ctor_webresourcerequest(): KPointer { - const retval = ArkUIGeneratedNativeModule._WebResourceRequest_ctor() - return retval + private clearHistory_serialize(): void { + ArkUIGeneratedNativeModule._WebController_clearHistory(this.peer!.ptr) } - constructor() { - const ctorPtr: KPointer = WebResourceRequest.ctor_webresourcerequest() - this.peer = new Finalizable(ctorPtr, WebResourceRequest.getFinalizer()) + private runJavaScript_serialize(options: { script: string, callback_?: ((breakpoints: string) => void) }): void { + const thisSerializer: Serializer = Serializer.hold() + const options_script = options.script + thisSerializer.writeString(options_script) + const options_callback_ = options.callback_ + let options_callback__type: int32 = RuntimeType.UNDEFINED + options_callback__type = runtimeType(options_callback_) + thisSerializer.writeInt8(options_callback__type) + if ((RuntimeType.UNDEFINED) != (options_callback__type)) { + const options_callback__value = options_callback_! + thisSerializer.holdAndWriteCallback(options_callback__value) + } + ArkUIGeneratedNativeModule._WebController_runJavaScript(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._WebResourceRequest_getFinalizer() + private loadData_serialize(options: { data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string }): void { + const thisSerializer: Serializer = Serializer.hold() + const options_data = options.data + thisSerializer.writeString(options_data) + const options_mimeType = options.mimeType + thisSerializer.writeString(options_mimeType) + const options_encoding = options.encoding + thisSerializer.writeString(options_encoding) + const options_baseUrl = options.baseUrl + let options_baseUrl_type: int32 = RuntimeType.UNDEFINED + options_baseUrl_type = runtimeType(options_baseUrl) + thisSerializer.writeInt8(options_baseUrl_type) + if ((RuntimeType.UNDEFINED) != (options_baseUrl_type)) { + const options_baseUrl_value = options_baseUrl! + thisSerializer.writeString(options_baseUrl_value) + } + const options_historyUrl = options.historyUrl + let options_historyUrl_type: int32 = RuntimeType.UNDEFINED + options_historyUrl_type = runtimeType(options_historyUrl) + thisSerializer.writeInt8(options_historyUrl_type) + if ((RuntimeType.UNDEFINED) != (options_historyUrl_type)) { + const options_historyUrl_value = options_historyUrl! + thisSerializer.writeString(options_historyUrl_value) + } + ArkUIGeneratedNativeModule._WebController_loadData(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public getRequestHeader(): Array
{ - return this.getRequestHeader_serialize() + private loadUrl_serialize(options: { url: string | Resource, headers?: Array
}): void { + const thisSerializer: Serializer = Serializer.hold() + const options_url = options.url + let options_url_type: int32 = RuntimeType.UNDEFINED + options_url_type = runtimeType(options_url) + if (RuntimeType.STRING == options_url_type) { + thisSerializer.writeInt8(0) + const options_url_0 = unsafeCast(options_url) + thisSerializer.writeString(options_url_0) + } + else if (RuntimeType.OBJECT == options_url_type) { + thisSerializer.writeInt8(1) + const options_url_1 = unsafeCast(options_url) + thisSerializer.writeResource(options_url_1) + } + const options_headers = options.headers + let options_headers_type: int32 = RuntimeType.UNDEFINED + options_headers_type = runtimeType(options_headers) + thisSerializer.writeInt8(options_headers_type) + if ((RuntimeType.UNDEFINED) != (options_headers_type)) { + const options_headers_value = options_headers! + thisSerializer.writeInt32(options_headers_value.length) + for (let i = 0; i < options_headers_value.length; i++) { + const options_headers_value_element: Header = options_headers_value[i] + thisSerializer.writeHeader(options_headers_value_element) + } + } + ArkUIGeneratedNativeModule._WebController_loadUrl(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public getRequestUrl(): string { - return this.getRequestUrl_serialize() + private refresh_serialize(): void { + ArkUIGeneratedNativeModule._WebController_refresh(this.peer!.ptr) } - public isRequestGesture(): boolean { - return this.isRequestGesture_serialize() + private stop_serialize(): void { + ArkUIGeneratedNativeModule._WebController_stop(this.peer!.ptr) } - public isMainFrame(): boolean { - return this.isMainFrame_serialize() + private registerJavaScriptProxy_serialize(options: { object_: Object, name: string, methodList: Array }): void { + const thisSerializer: Serializer = Serializer.hold() + const options_object_ = options.object_ + thisSerializer.holdAndWriteObject(options_object_) + const options_name = options.name + thisSerializer.writeString(options_name) + const options_methodList = options.methodList + thisSerializer.writeInt32(options_methodList.length) + for (let i = 0; i < options_methodList.length; i++) { + const options_methodList_element: string = options_methodList[i] + thisSerializer.writeString(options_methodList_element) + } + ArkUIGeneratedNativeModule._WebController_registerJavaScriptProxy(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public isRedirect(): boolean { - return this.isRedirect_serialize() + private deleteJavaScriptRegister_serialize(name: string): void { + ArkUIGeneratedNativeModule._WebController_deleteJavaScriptRegister(this.peer!.ptr, name) } - public getRequestMethod(): string { - return this.getRequestMethod_serialize() + private getHitTest_serialize(): HitTestType { + const retval = ArkUIGeneratedNativeModule._WebController_getHitTest(this.peer!.ptr) + return retval } - private getRequestHeader_serialize(): Array
{ - const retval = ArkUIGeneratedNativeModule._WebResourceRequest_getRequestHeader(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array
= new Array
(buffer_length) - for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = retvalDeserializer.readHeader() - } - const returnResult: Array
= buffer - return returnResult + private requestFocus_serialize(): void { + ArkUIGeneratedNativeModule._WebController_requestFocus(this.peer!.ptr) } - private getRequestUrl_serialize(): string { - const retval = ArkUIGeneratedNativeModule._WebResourceRequest_getRequestUrl(this.peer!.ptr) + private accessBackward_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebController_accessBackward(this.peer!.ptr) return retval } - private isRequestGesture_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._WebResourceRequest_isRequestGesture(this.peer!.ptr) + private accessForward_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._WebController_accessForward(this.peer!.ptr) return retval } - private isMainFrame_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._WebResourceRequest_isMainFrame(this.peer!.ptr) + private accessStep_serialize(step: number): boolean { + const retval = ArkUIGeneratedNativeModule._WebController_accessStep(this.peer!.ptr, step) return retval } - private isRedirect_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._WebResourceRequest_isRedirect(this.peer!.ptr) - return retval + private backward_serialize(): void { + ArkUIGeneratedNativeModule._WebController_backward(this.peer!.ptr) } - private getRequestMethod_serialize(): string { - const retval = ArkUIGeneratedNativeModule._WebResourceRequest_getRequestMethod(this.peer!.ptr) - return retval + private forward_serialize(): void { + ArkUIGeneratedNativeModule._WebController_forward(this.peer!.ptr) + } + private getCookieManager_serialize(): WebCookie { + const retval = ArkUIGeneratedNativeModule._WebController_getCookieManager(this.peer!.ptr) + const obj: WebCookie = WebCookieInternal.fromPtr(retval) + return obj } } -export class WebResourceResponseInternal { - public static fromPtr(ptr: KPointer): WebResourceResponse { - const obj: WebResourceResponse = new WebResourceResponse() - obj.peer = new Finalizable(ptr, WebResourceResponse.getFinalizer()) +export class XComponentControllerInternal { + public static fromPtr(ptr: KPointer): XComponentController { + const obj: XComponentController = new XComponentController() + obj.peer = new Finalizable(ptr, XComponentController.getFinalizer()) return obj } } -export class WebResourceResponse implements MaterializedBase { +export class XComponentController implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_webresourceresponse(): KPointer { - const retval = ArkUIGeneratedNativeModule._WebResourceResponse_ctor() - return retval - } - constructor() { - const ctorPtr: KPointer = WebResourceResponse.ctor_webresourceresponse() - this.peer = new Finalizable(ctorPtr, WebResourceResponse.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._WebResourceResponse_getFinalizer() + get onSurfaceCreated(): ((breakpoints: string) => void) { + throw new Error("Not implemented") } - public getResponseData(): string { - return this.getResponseData_serialize() + set onSurfaceCreated(onSurfaceCreated: ((breakpoints: string) => void)) { + this.setOnSurfaceCreated(onSurfaceCreated) } - public getResponseDataEx(): string | number | NativeBuffer | Resource | undefined { - return this.getResponseDataEx_serialize() + get onSurfaceChanged(): ((surfaceId: string, rect: SurfaceRect) => void) { + throw new Error("Not implemented") } - public getResponseEncoding(): string { - return this.getResponseEncoding_serialize() + set onSurfaceChanged(onSurfaceChanged: ((surfaceId: string, rect: SurfaceRect) => void)) { + this.setOnSurfaceChanged(onSurfaceChanged) } - public getResponseMimeType(): string { - return this.getResponseMimeType_serialize() + get onSurfaceDestroyed(): ((breakpoints: string) => void) { + throw new Error("Not implemented") } - public getReasonMessage(): string { - return this.getReasonMessage_serialize() + set onSurfaceDestroyed(onSurfaceDestroyed: ((breakpoints: string) => void)) { + this.setOnSurfaceDestroyed(onSurfaceDestroyed) } - public getResponseHeader(): Array
{ - return this.getResponseHeader_serialize() + static ctor_xcomponentcontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._XComponentController_ctor() + return retval } - public getResponseCode(): number { - return this.getResponseCode_serialize() + constructor() { + const ctorPtr: KPointer = XComponentController.ctor_xcomponentcontroller() + this.peer = new Finalizable(ctorPtr, XComponentController.getFinalizer()) } - public setResponseData(data: string | number | Resource | NativeBuffer): void { - const data_casted = data as (string | number | Resource | NativeBuffer) - this?.setResponseData_serialize(data_casted) - return + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._XComponentController_getFinalizer() } - public setResponseEncoding(encoding: string): void { - const encoding_casted = encoding as (string) - this?.setResponseEncoding_serialize(encoding_casted) - return + public getXComponentSurfaceId(): string { + return this.getXComponentSurfaceId_serialize() } - public setResponseMimeType(mimeType: string): void { - const mimeType_casted = mimeType as (string) - this?.setResponseMimeType_serialize(mimeType_casted) - return + public getXComponentContext(): Object { + return this.getXComponentContext_serialize() } - public setReasonMessage(reason: string): void { - const reason_casted = reason as (string) - this?.setReasonMessage_serialize(reason_casted) + public setXComponentSurfaceSize(value: { surfaceWidth: number, surfaceHeight: number }): void { + const value_casted = value as ({ surfaceWidth: number, surfaceHeight: number }) + this?.setXComponentSurfaceSize_serialize(value_casted) return } - public setResponseHeader(header: Array
): void { - const header_casted = header as (Array
) - this?.setResponseHeader_serialize(header_casted) + public setXComponentSurfaceRect(rect: SurfaceRect): void { + const rect_casted = rect as (SurfaceRect) + this?.setXComponentSurfaceRect_serialize(rect_casted) return } - public setResponseCode(code: number): void { - const code_casted = code as (number) - this?.setResponseCode_serialize(code_casted) - return + public getXComponentSurfaceRect(): SurfaceRect { + return this.getXComponentSurfaceRect_serialize() } - public setResponseIsReady(IsReady: boolean): void { - const IsReady_casted = IsReady as (boolean) - this?.setResponseIsReady_serialize(IsReady_casted) + public setXComponentSurfaceRotation(rotationOptions: SurfaceRotationOptions): void { + const rotationOptions_casted = rotationOptions as (SurfaceRotationOptions) + this?.setXComponentSurfaceRotation_serialize(rotationOptions_casted) return } - public getResponseIsReady(): boolean { - return this.getResponseIsReady_serialize() - } - private getResponseData_serialize(): string { - const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseData(this.peer!.ptr) - return retval - } - private getResponseDataEx_serialize(): string | number | NativeBuffer | Resource | undefined { - const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseDataEx(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") - } - private getResponseEncoding_serialize(): string { - const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseEncoding(this.peer!.ptr) - return retval - } - private getResponseMimeType_serialize(): string { - const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseMimeType(this.peer!.ptr) - return retval - } - private getReasonMessage_serialize(): string { - const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getReasonMessage(this.peer!.ptr) - return retval - } - private getResponseHeader_serialize(): Array
{ - const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseHeader(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array
= new Array
(buffer_length) - for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = retvalDeserializer.readHeader() - } - const returnResult: Array
= buffer - return returnResult - } - private getResponseCode_serialize(): number { - const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseCode(this.peer!.ptr) - return retval - } - private setResponseData_serialize(data: string | number | Resource | NativeBuffer): void { - const thisSerializer: Serializer = Serializer.hold() - let data_type: int32 = RuntimeType.UNDEFINED - data_type = runtimeType(data) - if (RuntimeType.STRING == data_type) { - thisSerializer.writeInt8(0) - const data_0 = unsafeCast(data) - thisSerializer.writeString(data_0) - } - else if (RuntimeType.NUMBER == data_type) { - thisSerializer.writeInt8(1) - const data_1 = unsafeCast(data) - thisSerializer.writeNumber(data_1) - } - else if (((RuntimeType.OBJECT) == (data_type)) && ((data!.hasOwnProperty("bundleName")))) { - thisSerializer.writeInt8(2) - const data_2 = unsafeCast(data) - thisSerializer.writeResource(data_2) - } - else if (data instanceof NativeBuffer) { - thisSerializer.writeInt8(3) - const data_3 = unsafeCast(data) - thisSerializer.writeBuffer(data_3) - } - ArkUIGeneratedNativeModule._WebResourceResponse_setResponseData(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private setResponseEncoding_serialize(encoding: string): void { - ArkUIGeneratedNativeModule._WebResourceResponse_setResponseEncoding(this.peer!.ptr, encoding) - } - private setResponseMimeType_serialize(mimeType: string): void { - ArkUIGeneratedNativeModule._WebResourceResponse_setResponseMimeType(this.peer!.ptr, mimeType) + public getXComponentSurfaceRotation(): SurfaceRotationOptions { + return this.getXComponentSurfaceRotation_serialize() } - private setReasonMessage_serialize(reason: string): void { - ArkUIGeneratedNativeModule._WebResourceResponse_setReasonMessage(this.peer!.ptr, reason) + public startImageAnalyzer(config: ImageAnalyzerConfig): Promise { + const config_casted = config as (ImageAnalyzerConfig) + return this.startImageAnalyzer_serialize(config_casted) } - private setResponseHeader_serialize(header: Array
): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(header.length) - for (let i = 0; i < header.length; i++) { - const header_element: Header = header[i] - thisSerializer.writeHeader(header_element) - } - ArkUIGeneratedNativeModule._WebResourceResponse_setResponseHeader(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + public stopImageAnalyzer(): void { + this?.stopImageAnalyzer_serialize() + return } - private setResponseCode_serialize(code: number): void { - ArkUIGeneratedNativeModule._WebResourceResponse_setResponseCode(this.peer!.ptr, code) + private getOnSurfaceCreated(): ((breakpoints: string) => void) { + return this.getOnSurfaceCreated_serialize() } - private setResponseIsReady_serialize(IsReady: boolean): void { - ArkUIGeneratedNativeModule._WebResourceResponse_setResponseIsReady(this.peer!.ptr, +IsReady) + private setOnSurfaceCreated(onSurfaceCreated: ((breakpoints: string) => void)): void { + const onSurfaceCreated_casted = onSurfaceCreated as (((breakpoints: string) => void)) + this?.setOnSurfaceCreated_serialize(onSurfaceCreated_casted) + return } - private getResponseIsReady_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._WebResourceResponse_getResponseIsReady(this.peer!.ptr) - return retval + private getOnSurfaceChanged(): ((surfaceId: string, rect: SurfaceRect) => void) { + return this.getOnSurfaceChanged_serialize() } -} -export class WebResourceErrorInternal { - public static fromPtr(ptr: KPointer): WebResourceError { - const obj: WebResourceError = new WebResourceError() - obj.peer = new Finalizable(ptr, WebResourceError.getFinalizer()) - return obj + private setOnSurfaceChanged(onSurfaceChanged: ((surfaceId: string, rect: SurfaceRect) => void)): void { + const onSurfaceChanged_casted = onSurfaceChanged as (((surfaceId: string, rect: SurfaceRect) => void)) + this?.setOnSurfaceChanged_serialize(onSurfaceChanged_casted) + return } -} -export class WebResourceError implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + private getOnSurfaceDestroyed(): ((breakpoints: string) => void) { + return this.getOnSurfaceDestroyed_serialize() } - static ctor_webresourceerror(): KPointer { - const retval = ArkUIGeneratedNativeModule._WebResourceError_ctor() + private setOnSurfaceDestroyed(onSurfaceDestroyed: ((breakpoints: string) => void)): void { + const onSurfaceDestroyed_casted = onSurfaceDestroyed as (((breakpoints: string) => void)) + this?.setOnSurfaceDestroyed_serialize(onSurfaceDestroyed_casted) + return + } + private getXComponentSurfaceId_serialize(): string { + const retval = ArkUIGeneratedNativeModule._XComponentController_getXComponentSurfaceId(this.peer!.ptr) return retval } - constructor() { - const ctorPtr: KPointer = WebResourceError.ctor_webresourceerror() - this.peer = new Finalizable(ctorPtr, WebResourceError.getFinalizer()) + private getXComponentContext_serialize(): Object { + const retval = ArkUIGeneratedNativeModule._XComponentController_getXComponentContext(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._WebResourceError_getFinalizer() + private setXComponentSurfaceSize_serialize(value: { surfaceWidth: number, surfaceHeight: number }): void { + const thisSerializer: Serializer = Serializer.hold() + const value_surfaceWidth = value.surfaceWidth + thisSerializer.writeNumber(value_surfaceWidth) + const value_surfaceHeight = value.surfaceHeight + thisSerializer.writeNumber(value_surfaceHeight) + ArkUIGeneratedNativeModule._XComponentController_setXComponentSurfaceSize(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public getErrorInfo(): string { - return this.getErrorInfo_serialize() + private setXComponentSurfaceRect_serialize(rect: SurfaceRect): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeSurfaceRect(rect) + ArkUIGeneratedNativeModule._XComponentController_setXComponentSurfaceRect(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public getErrorCode(): number { - return this.getErrorCode_serialize() + private getXComponentSurfaceRect_serialize(): SurfaceRect { + const retval = ArkUIGeneratedNativeModule._XComponentController_getXComponentSurfaceRect(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: SurfaceRect = retvalDeserializer.readSurfaceRect() + return returnResult } - private getErrorInfo_serialize(): string { - const retval = ArkUIGeneratedNativeModule._WebResourceError_getErrorInfo(this.peer!.ptr) - return retval + private setXComponentSurfaceRotation_serialize(rotationOptions: SurfaceRotationOptions): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeSurfaceRotationOptions(rotationOptions) + ArkUIGeneratedNativeModule._XComponentController_setXComponentSurfaceRotation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private getErrorCode_serialize(): number { - const retval = ArkUIGeneratedNativeModule._WebResourceError_getErrorCode(this.peer!.ptr) + private getXComponentSurfaceRotation_serialize(): SurfaceRotationOptions { + const retval = ArkUIGeneratedNativeModule._XComponentController_getXComponentSurfaceRotation(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: SurfaceRotationOptions = retvalDeserializer.readSurfaceRotationOptions() + return returnResult + } + private startImageAnalyzer_serialize(config: ImageAnalyzerConfig): Promise { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeImageAnalyzerConfig(config) + const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] + ArkUIGeneratedNativeModule._XComponentController_startImageAnalyzer(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } -} -export class JsGeolocationInternal { - public static fromPtr(ptr: KPointer): JsGeolocation { - const obj: JsGeolocation = new JsGeolocation() - obj.peer = new Finalizable(ptr, JsGeolocation.getFinalizer()) - return obj + private stopImageAnalyzer_serialize(): void { + ArkUIGeneratedNativeModule._XComponentController_stopImageAnalyzer(this.peer!.ptr) } -} -export class JsGeolocation implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + private getOnSurfaceCreated_serialize(): ((breakpoints: string) => void) { + const retval = ArkUIGeneratedNativeModule._XComponentController_getOnSurfaceCreated(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - static ctor_jsgeolocation(): KPointer { - const retval = ArkUIGeneratedNativeModule._JsGeolocation_ctor() - return retval + private setOnSurfaceCreated_serialize(onSurfaceCreated: ((breakpoints: string) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(onSurfaceCreated) + ArkUIGeneratedNativeModule._XComponentController_setOnSurfaceCreated(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - constructor() { - const ctorPtr: KPointer = JsGeolocation.ctor_jsgeolocation() - this.peer = new Finalizable(ctorPtr, JsGeolocation.getFinalizer()) + private getOnSurfaceChanged_serialize(): ((surfaceId: string, rect: SurfaceRect) => void) { + const retval = ArkUIGeneratedNativeModule._XComponentController_getOnSurfaceChanged(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._JsGeolocation_getFinalizer() + private setOnSurfaceChanged_serialize(onSurfaceChanged: ((surfaceId: string, rect: SurfaceRect) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(onSurfaceChanged) + ArkUIGeneratedNativeModule._XComponentController_setOnSurfaceChanged(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public invoke(origin: string, allow: boolean, retain: boolean): void { - const origin_casted = origin as (string) - const allow_casted = allow as (boolean) - const retain_casted = retain as (boolean) - this?.invoke_serialize(origin_casted, allow_casted, retain_casted) - return + private getOnSurfaceDestroyed_serialize(): ((breakpoints: string) => void) { + const retval = ArkUIGeneratedNativeModule._XComponentController_getOnSurfaceDestroyed(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private invoke_serialize(origin: string, allow: boolean, retain: boolean): void { - ArkUIGeneratedNativeModule._JsGeolocation_invoke(this.peer!.ptr, origin, +allow, +retain) + private setOnSurfaceDestroyed_serialize(onSurfaceDestroyed: ((breakpoints: string) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(onSurfaceDestroyed) + ArkUIGeneratedNativeModule._XComponentController_setOnSurfaceDestroyed(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } } -export class WebCookieInternal { - public static fromPtr(ptr: KPointer): WebCookie { - const obj: WebCookie = new WebCookie() - obj.peer = new Finalizable(ptr, WebCookie.getFinalizer()) +export class WaterFlowSectionsInternal { + public static fromPtr(ptr: KPointer): WaterFlowSections { + const obj: WaterFlowSections = new WaterFlowSections() + obj.peer = new Finalizable(ptr, WaterFlowSections.getFinalizer()) return obj } } -export class WebCookie implements MaterializedBase { +export class WaterFlowSections implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_webcookie(): KPointer { - const retval = ArkUIGeneratedNativeModule._WebCookie_ctor() + static ctor_waterflowsections(): KPointer { + const retval = ArkUIGeneratedNativeModule._WaterFlowSections_ctor() return retval } constructor() { - const ctorPtr: KPointer = WebCookie.ctor_webcookie() - this.peer = new Finalizable(ctorPtr, WebCookie.getFinalizer()) + const ctorPtr: KPointer = WaterFlowSections.ctor_waterflowsections() + this.peer = new Finalizable(ctorPtr, WaterFlowSections.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._WebCookie_getFinalizer() - } - public setCookie(): void { - this?.setCookie_serialize() - return + return ArkUIGeneratedNativeModule._WaterFlowSections_getFinalizer() } - public saveCookie(): void { - this?.saveCookie_serialize() - return + public splice(start: number, deleteCount?: number, sections?: Array): boolean { + const start_casted = start as (number) + const deleteCount_casted = deleteCount as (number | undefined) + const sections_casted = sections as (Array | undefined) + return this.splice_serialize(start_casted, deleteCount_casted, sections_casted) } - private setCookie_serialize(): void { - ArkUIGeneratedNativeModule._WebCookie_setCookie(this.peer!.ptr) + public push(section: SectionOptions): boolean { + const section_casted = section as (SectionOptions) + return this.push_serialize(section_casted) } - private saveCookie_serialize(): void { - ArkUIGeneratedNativeModule._WebCookie_saveCookie(this.peer!.ptr) + public update(sectionIndex: number, section: SectionOptions): boolean { + const sectionIndex_casted = sectionIndex as (number) + const section_casted = section as (SectionOptions) + return this.update_serialize(sectionIndex_casted, section_casted) } -} -export class EventResultInternal { - public static fromPtr(ptr: KPointer): EventResult { - const obj: EventResult = new EventResult() - obj.peer = new Finalizable(ptr, EventResult.getFinalizer()) - return obj + public values(): Array { + return this.values_serialize() } -} -export class EventResult implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + public length(): number { + return this.length_serialize() } - static ctor_eventresult(): KPointer { - const retval = ArkUIGeneratedNativeModule._EventResult_ctor() + private splice_serialize(start: number, deleteCount?: number, sections?: Array): boolean { + const thisSerializer: Serializer = Serializer.hold() + let deleteCount_type: int32 = RuntimeType.UNDEFINED + deleteCount_type = runtimeType(deleteCount) + thisSerializer.writeInt8(deleteCount_type) + if ((RuntimeType.UNDEFINED) != (deleteCount_type)) { + const deleteCount_value = deleteCount! + thisSerializer.writeNumber(deleteCount_value) + } + let sections_type: int32 = RuntimeType.UNDEFINED + sections_type = runtimeType(sections) + thisSerializer.writeInt8(sections_type) + if ((RuntimeType.UNDEFINED) != (sections_type)) { + const sections_value = sections! + thisSerializer.writeInt32(sections_value.length) + for (let i = 0; i < sections_value.length; i++) { + const sections_value_element: SectionOptions = sections_value[i] + thisSerializer.writeSectionOptions(sections_value_element) + } + } + const retval = ArkUIGeneratedNativeModule._WaterFlowSections_splice(this.peer!.ptr, start, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor() { - const ctorPtr: KPointer = EventResult.ctor_eventresult() - this.peer = new Finalizable(ctorPtr, EventResult.getFinalizer()) + private push_serialize(section: SectionOptions): boolean { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeSectionOptions(section) + const retval = ArkUIGeneratedNativeModule._WaterFlowSections_push(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._EventResult_getFinalizer() + private update_serialize(sectionIndex: number, section: SectionOptions): boolean { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeSectionOptions(section) + const retval = ArkUIGeneratedNativeModule._WaterFlowSections_update(this.peer!.ptr, sectionIndex, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval } - public setGestureEventResult(result: boolean): void { - const result_casted = result as (boolean) - this?.setGestureEventResult_serialize(result_casted) - return + private values_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._WaterFlowSections_values(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = retvalDeserializer.readSectionOptions() + } + const returnResult: Array = buffer + return returnResult } - private setGestureEventResult_serialize(result: boolean): void { - ArkUIGeneratedNativeModule._EventResult_setGestureEventResult(this.peer!.ptr, +result) + private length_serialize(): number { + const retval = ArkUIGeneratedNativeModule._WaterFlowSections_length(this.peer!.ptr) + return retval } } -export class WebControllerInternal { - public static fromPtr(ptr: KPointer): WebController { - const obj: WebController = new WebController() - obj.peer = new Finalizable(ptr, WebController.getFinalizer()) - return obj - } +export interface UIExtensionProxy { + send(data: Map): void + sendSync(data: Map): Map + onAsyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void + onSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void + offAsyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void) | undefined): void + offSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void) | undefined): void } -export class WebController implements MaterializedBase { +export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionProxy { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_webcontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._WebController_ctor() + static ctor_uiextensionproxy(): KPointer { + const retval = ArkUIGeneratedNativeModule._UIExtensionProxy_ctor() return retval } constructor() { - const ctorPtr: KPointer = WebController.ctor_webcontroller() - this.peer = new Finalizable(ctorPtr, WebController.getFinalizer()) + const ctorPtr: KPointer = UIExtensionProxyInternal.ctor_uiextensionproxy() + this.peer = new Finalizable(ctorPtr, UIExtensionProxyInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._WebController_getFinalizer() + return ArkUIGeneratedNativeModule._UIExtensionProxy_getFinalizer() } - public onInactive(): void { - this?.onInactive_serialize() + public send(data: Map): void { + const data_casted = data as (Map) + this?.send_serialize(data_casted) return } - public onActive(): void { - this?.onActive_serialize() - return + public sendSync(data: Map): Map { + const data_casted = data as (Map) + return this.sendSync_serialize(data_casted) } - public zoom(factor: number): void { - const factor_casted = factor as (number) - this?.zoom_serialize(factor_casted) + public onAsyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void { + const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void)) + this?.onAsyncReceiverRegister_serialize(callback__casted) return } - public clearHistory(): void { - this?.clearHistory_serialize() + public onSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void { + const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void)) + this?.onSyncReceiverRegister_serialize(callback__casted) return } - public runJavaScript(options: { script: string, callback_?: ((breakpoints: string) => void) }): void { - const options_casted = options as ({ script: string, callback_?: ((breakpoints: string) => void) }) - this?.runJavaScript_serialize(options_casted) + public offAsyncReceiverRegister(callback_?: ((parameter: UIExtensionProxy) => void)): void { + const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void) | undefined) + this?.offAsyncReceiverRegister_serialize(callback__casted) return } - public loadData(options: { data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string }): void { - const options_casted = options as ({ data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string }) - this?.loadData_serialize(options_casted) + public offSyncReceiverRegister(callback_?: ((parameter: UIExtensionProxy) => void)): void { + const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void) | undefined) + this?.offSyncReceiverRegister_serialize(callback__casted) return } - public loadUrl(options: { url: string | Resource, headers?: Array
}): void { - const options_casted = options as ({ url: string | Resource, headers?: Array
}) - this?.loadUrl_serialize(options_casted) - return + on(type: string, callback_: ((parameter: UIExtensionProxy) => void)): void { + throw new Error("TBD") } - public refresh(): void { - this?.refresh_serialize() - return + off(type: string, callback_: ((parameter: UIExtensionProxy) => void)): void { + throw new Error("TBD") } - public stop(): void { - this?.stop_serialize() - return + private send_serialize(data: Map): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(data.size) + for (const [data_key, data_value] of data) { + thisSerializer.writeString(data_key) + thisSerializer.holdAndWriteObject(data_value) + } + ArkUIGeneratedNativeModule._UIExtensionProxy_send(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public registerJavaScriptProxy(options: { object_: Object, name: string, methodList: Array }): void { - const options_casted = options as ({ object_: Object, name: string, methodList: Array }) - this?.registerJavaScriptProxy_serialize(options_casted) - return + private sendSync_serialize(data: Map): Map { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(data.size) + for (const [data_key, data_value] of data) { + thisSerializer.writeString(data_key) + thisSerializer.holdAndWriteObject(data_value) + } + const retval = ArkUIGeneratedNativeModule._UIExtensionProxy_sendSync(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const buffer_size: int32 = retvalDeserializer.readInt32() + let buffer: Map = new Map() + // TODO: TS map resize + for (let buffer_i = 0; buffer_i < buffer_size; buffer_i++) { + const buffer_key: string = (retvalDeserializer.readString() as string) + const buffer_value: Object = (retvalDeserializer.readObject() as Object) + buffer.set(buffer_key, buffer_value) + } + const returnResult: Map = buffer + return returnResult } - public deleteJavaScriptRegister(name: string): void { - const name_casted = name as (string) - this?.deleteJavaScriptRegister_serialize(name_casted) - return + private onAsyncReceiverRegister_serialize(callback_: ((parameter: UIExtensionProxy) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(callback_) + ArkUIGeneratedNativeModule._UIExtensionProxy_onAsyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public getHitTest(): HitTestType { - return this.getHitTest_serialize() + private onSyncReceiverRegister_serialize(callback_: ((parameter: UIExtensionProxy) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(callback_) + ArkUIGeneratedNativeModule._UIExtensionProxy_onSyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public requestFocus(): void { - this?.requestFocus_serialize() - return + private offAsyncReceiverRegister_serialize(callback_?: ((parameter: UIExtensionProxy) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UIExtensionProxy_offAsyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public accessBackward(): boolean { - return this.accessBackward_serialize() + private offSyncReceiverRegister_serialize(callback_?: ((parameter: UIExtensionProxy) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + let callback__type: int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UIExtensionProxy_offSyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - public accessForward(): boolean { - return this.accessForward_serialize() + public static fromPtr(ptr: KPointer): UIExtensionProxyInternal { + const obj: UIExtensionProxyInternal = new UIExtensionProxyInternal() + obj.peer = new Finalizable(ptr, UIExtensionProxyInternal.getFinalizer()) + return obj } - public accessStep(step: number): boolean { - const step_casted = step as (number) - return this.accessStep_serialize(step_casted) +} +export class StyledStringInternal { + public static fromPtr(ptr: KPointer): StyledString { + const obj: StyledString = new StyledString(undefined, undefined) + obj.peer = new Finalizable(ptr, StyledString.getFinalizer()) + return obj } - public backward(): void { - this?.backward_serialize() - return +} +export class StyledString implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - public forward(): void { - this?.forward_serialize() - return + get length(): number { + return this.getLength() } - public getCookieManager(): WebCookie { - return this.getCookieManager_serialize() + static ctor_styledstring(value: string | ImageAttachment | CustomSpan, styles?: Array): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.STRING == value_type) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeString(value_0) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof ImageAttachment)) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeImageAttachment(value_1) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof CustomSpan)) { + thisSerializer.writeInt8(2) + const value_2 = unsafeCast(value) + thisSerializer.writeCustomSpan(value_2) + } + let styles_type: int32 = RuntimeType.UNDEFINED + styles_type = runtimeType(styles) + thisSerializer.writeInt8(styles_type) + if ((RuntimeType.UNDEFINED) != (styles_type)) { + const styles_value = styles! + thisSerializer.writeInt32(styles_value.length) + for (let i = 0; i < styles_value.length; i++) { + const styles_value_element: StyleOptions = styles_value[i] + thisSerializer.writeStyleOptions(styles_value_element) + } + } + const retval = ArkUIGeneratedNativeModule._StyledString_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval } - private onInactive_serialize(): void { - ArkUIGeneratedNativeModule._WebController_onInactive(this.peer!.ptr) + constructor(value?: string | ImageAttachment | CustomSpan, styles?: Array) { + if (((value) !== (undefined)) || ((styles) !== (undefined))) + { + const ctorPtr: KPointer = StyledString.ctor_styledstring((value)!, styles) + this.peer = new Finalizable(ctorPtr, StyledString.getFinalizer()) + } } - private onActive_serialize(): void { - ArkUIGeneratedNativeModule._WebController_onActive(this.peer!.ptr) + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._StyledString_getFinalizer() } - private zoom_serialize(factor: number): void { - ArkUIGeneratedNativeModule._WebController_zoom(this.peer!.ptr, factor) + public getString(): string { + return this.getString_serialize() } - private clearHistory_serialize(): void { - ArkUIGeneratedNativeModule._WebController_clearHistory(this.peer!.ptr) + public getStyles(start: number, length: number, styledKey?: StyledStringKey): Array { + const start_casted = start as (number) + const length_casted = length as (number) + const styledKey_casted = styledKey as (StyledStringKey | undefined) + return this.getStyles_serialize(start_casted, length_casted, styledKey_casted) } - private runJavaScript_serialize(options: { script: string, callback_?: ((breakpoints: string) => void) }): void { + public equals(other: StyledString): boolean { + const other_casted = other as (StyledString) + return this.equals_serialize(other_casted) + } + public subStyledString(start: number, length?: number): StyledString { + const start_casted = start as (number) + const length_casted = length as (number | undefined) + return this.subStyledString_serialize(start_casted, length_casted) + } + public static fromHtml(html: string): Promise { + const html_casted = html as (string) + return StyledString.fromHtml_serialize(html_casted) + } + public static toHtml(styledString: StyledString): string { + const styledString_casted = styledString as (StyledString) + return StyledString.toHtml_serialize(styledString_casted) + } + public static marshalling(styledString: StyledString, callback_?: StyledStringMarshallCallback): NativeBuffer { + const styledString_type = runtimeType(styledString) + const callback__type = runtimeType(callback_) + const styledString_casted = styledString as (StyledString) + return StyledString.marshalling1_serialize(styledString_casted) + } + public static unmarshalling(buffer: NativeBuffer, callback_?: StyledStringUnmarshallCallback): Promise { + const buffer_type = runtimeType(buffer) + const callback__type = runtimeType(callback_) + const buffer_casted = buffer as (NativeBuffer) + return StyledString.unmarshalling1_serialize(buffer_casted) + } + private getLength(): number { + return this.getLength_serialize() + } + private getString_serialize(): string { + const retval = ArkUIGeneratedNativeModule._StyledString_getString(this.peer!.ptr) + return retval + } + private getStyles_serialize(start: number, length: number, styledKey?: StyledStringKey): Array { const thisSerializer: Serializer = Serializer.hold() - const options_script = options.script - thisSerializer.writeString(options_script) - const options_callback_ = options.callback_ - let options_callback__type: int32 = RuntimeType.UNDEFINED - options_callback__type = runtimeType(options_callback_) - thisSerializer.writeInt8(options_callback__type) - if ((RuntimeType.UNDEFINED) != (options_callback__type)) { - const options_callback__value = options_callback_! - thisSerializer.holdAndWriteCallback(options_callback__value) + let styledKey_type: int32 = RuntimeType.UNDEFINED + styledKey_type = runtimeType(styledKey) + thisSerializer.writeInt8(styledKey_type) + if ((RuntimeType.UNDEFINED) != (styledKey_type)) { + const styledKey_value = styledKey! + thisSerializer.writeInt32(styledKey_value.valueOf()) } - ArkUIGeneratedNativeModule._WebController_runJavaScript(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._StyledString_getStyles(this.peer!.ptr, start, length, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = retvalDeserializer.readSpanStyle() + } + const returnResult: Array = buffer + return returnResult } - private loadData_serialize(options: { data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string }): void { + private equals_serialize(other: StyledString): boolean { + const retval = ArkUIGeneratedNativeModule._StyledString_equals(this.peer!.ptr, toPeerPtr(other)) + return retval + } + private subStyledString_serialize(start: number, length?: number): StyledString { const thisSerializer: Serializer = Serializer.hold() - const options_data = options.data - thisSerializer.writeString(options_data) - const options_mimeType = options.mimeType - thisSerializer.writeString(options_mimeType) - const options_encoding = options.encoding - thisSerializer.writeString(options_encoding) - const options_baseUrl = options.baseUrl - let options_baseUrl_type: int32 = RuntimeType.UNDEFINED - options_baseUrl_type = runtimeType(options_baseUrl) - thisSerializer.writeInt8(options_baseUrl_type) - if ((RuntimeType.UNDEFINED) != (options_baseUrl_type)) { - const options_baseUrl_value = options_baseUrl! - thisSerializer.writeString(options_baseUrl_value) - } - const options_historyUrl = options.historyUrl - let options_historyUrl_type: int32 = RuntimeType.UNDEFINED - options_historyUrl_type = runtimeType(options_historyUrl) - thisSerializer.writeInt8(options_historyUrl_type) - if ((RuntimeType.UNDEFINED) != (options_historyUrl_type)) { - const options_historyUrl_value = options_historyUrl! - thisSerializer.writeString(options_historyUrl_value) + let length_type: int32 = RuntimeType.UNDEFINED + length_type = runtimeType(length) + thisSerializer.writeInt8(length_type) + if ((RuntimeType.UNDEFINED) != (length_type)) { + const length_value = length! + thisSerializer.writeNumber(length_value) } - ArkUIGeneratedNativeModule._WebController_loadData(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._StyledString_subStyledString(this.peer!.ptr, start, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + const obj: StyledString = StyledStringInternal.fromPtr(retval) + return obj } - private loadUrl_serialize(options: { url: string | Resource, headers?: Array
}): void { + private static fromHtml_serialize(html: string): Promise { const thisSerializer: Serializer = Serializer.hold() - const options_url = options.url - let options_url_type: int32 = RuntimeType.UNDEFINED - options_url_type = runtimeType(options_url) - if (RuntimeType.STRING == options_url_type) { - thisSerializer.writeInt8(0) - const options_url_0 = unsafeCast(options_url) - thisSerializer.writeString(options_url_0) - } - else if (RuntimeType.OBJECT == options_url_type) { - thisSerializer.writeInt8(1) - const options_url_1 = unsafeCast(options_url) - thisSerializer.writeResource(options_url_1) - } - const options_headers = options.headers - let options_headers_type: int32 = RuntimeType.UNDEFINED - options_headers_type = runtimeType(options_headers) - thisSerializer.writeInt8(options_headers_type) - if ((RuntimeType.UNDEFINED) != (options_headers_type)) { - const options_headers_value = options_headers! - thisSerializer.writeInt32(options_headers_value.length) - for (let i = 0; i < options_headers_value.length; i++) { - const options_headers_value_element: Header = options_headers_value[i] - thisSerializer.writeHeader(options_headers_value_element) - } - } - ArkUIGeneratedNativeModule._WebController_loadUrl(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = thisSerializer.holdAndWriteCallbackForPromise()[0] + ArkUIGeneratedNativeModule._StyledString_fromHtml(html, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + return retval } - private refresh_serialize(): void { - ArkUIGeneratedNativeModule._WebController_refresh(this.peer!.ptr) - } - private stop_serialize(): void { - ArkUIGeneratedNativeModule._WebController_stop(this.peer!.ptr) + private static toHtml_serialize(styledString: StyledString): string { + const retval = ArkUIGeneratedNativeModule._StyledString_toHtml(toPeerPtr(styledString)) + return retval } - private registerJavaScriptProxy_serialize(options: { object_: Object, name: string, methodList: Array }): void { + private static marshalling0_serialize(styledString: StyledString, callback_: StyledStringMarshallCallback): NativeBuffer { const thisSerializer: Serializer = Serializer.hold() - const options_object_ = options.object_ - thisSerializer.holdAndWriteObject(options_object_) - const options_name = options.name - thisSerializer.writeString(options_name) - const options_methodList = options.methodList - thisSerializer.writeInt32(options_methodList.length) - for (let i = 0; i < options_methodList.length; i++) { - const options_methodList_element: string = options_methodList[i] - thisSerializer.writeString(options_methodList_element) - } - ArkUIGeneratedNativeModule._WebController_registerJavaScriptProxy(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.holdAndWriteCallback(callback_) + const retval = ArkUIGeneratedNativeModule._StyledString_marshalling0(toPeerPtr(styledString), thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + return new Deserializer(retval.buffer, retval.byteLength).readBuffer() } - private deleteJavaScriptRegister_serialize(name: string): void { - ArkUIGeneratedNativeModule._WebController_deleteJavaScriptRegister(this.peer!.ptr, name) - } - private getHitTest_serialize(): HitTestType { - const retval = ArkUIGeneratedNativeModule._WebController_getHitTest(this.peer!.ptr) - return retval - } - private requestFocus_serialize(): void { - ArkUIGeneratedNativeModule._WebController_requestFocus(this.peer!.ptr) + private static marshalling1_serialize(styledString: StyledString): NativeBuffer { + const retval = ArkUIGeneratedNativeModule._StyledString_marshalling1(toPeerPtr(styledString)) + return new Deserializer(retval.buffer, retval.byteLength).readBuffer() } - private accessBackward_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._WebController_accessBackward(this.peer!.ptr) + private static unmarshalling0_serialize(buffer: NativeBuffer, callback_: StyledStringUnmarshallCallback): Promise { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeBuffer(buffer) + thisSerializer.holdAndWriteCallback(callback_) + const retval = thisSerializer.holdAndWriteCallbackForPromise()[0] + ArkUIGeneratedNativeModule._StyledString_unmarshalling0(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - private accessForward_serialize(): boolean { - const retval = ArkUIGeneratedNativeModule._WebController_accessForward(this.peer!.ptr) + private static unmarshalling1_serialize(buffer: NativeBuffer): Promise { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeBuffer(buffer) + const retval = thisSerializer.holdAndWriteCallbackForPromise()[0] + ArkUIGeneratedNativeModule._StyledString_unmarshalling1(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - private accessStep_serialize(step: number): boolean { - const retval = ArkUIGeneratedNativeModule._WebController_accessStep(this.peer!.ptr, step) + private getLength_serialize(): number { + const retval = ArkUIGeneratedNativeModule._StyledString_getLength(this.peer!.ptr) return retval } - private backward_serialize(): void { - ArkUIGeneratedNativeModule._WebController_backward(this.peer!.ptr) - } - private forward_serialize(): void { - ArkUIGeneratedNativeModule._WebController_forward(this.peer!.ptr) - } - private getCookieManager_serialize(): WebCookie { - const retval = ArkUIGeneratedNativeModule._WebController_getCookieManager(this.peer!.ptr) - const obj: WebCookie = WebCookieInternal.fromPtr(retval) - return obj - } } -export class XComponentControllerInternal { - public static fromPtr(ptr: KPointer): XComponentController { - const obj: XComponentController = new XComponentController() - obj.peer = new Finalizable(ptr, XComponentController.getFinalizer()) +export class TextStyle_styled_stringInternal { + public static fromPtr(ptr: KPointer): TextStyle_styled_string { + const obj: TextStyle_styled_string = new TextStyle_styled_string(undefined) + obj.peer = new Finalizable(ptr, TextStyle_styled_string.getFinalizer()) return obj } } -export class XComponentController implements MaterializedBase { +export class TextStyle_styled_string implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get onSurfaceCreated(): ((breakpoints: string) => void) { + get fontColor(): ResourceColor | undefined { throw new Error("Not implemented") } - set onSurfaceCreated(onSurfaceCreated: ((breakpoints: string) => void)) { - this.setOnSurfaceCreated(onSurfaceCreated) - } - get onSurfaceChanged(): ((surfaceId: string, rect: SurfaceRect) => void) { - throw new Error("Not implemented") + get fontFamily(): string | undefined { + return this.getFontFamily() } - set onSurfaceChanged(onSurfaceChanged: ((surfaceId: string, rect: SurfaceRect) => void)) { - this.setOnSurfaceChanged(onSurfaceChanged) + get fontSize(): number | undefined { + return this.getFontSize() } - get onSurfaceDestroyed(): ((breakpoints: string) => void) { - throw new Error("Not implemented") + get fontWeight(): number | undefined { + return this.getFontWeight() } - set onSurfaceDestroyed(onSurfaceDestroyed: ((breakpoints: string) => void)) { - this.setOnSurfaceDestroyed(onSurfaceDestroyed) + get fontStyle(): FontStyle | undefined { + return this.getFontStyle() } - static ctor_xcomponentcontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._XComponentController_ctor() + static ctor_textstyle_styled_string(value?: TextStyleInterface): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeTextStyleInterface(value_value) + } + const retval = ArkUIGeneratedNativeModule._TextStyle_styled_string_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor() { - const ctorPtr: KPointer = XComponentController.ctor_xcomponentcontroller() - this.peer = new Finalizable(ctorPtr, XComponentController.getFinalizer()) + constructor(value?: TextStyleInterface) { + const ctorPtr: KPointer = TextStyle_styled_string.ctor_textstyle_styled_string(value) + this.peer = new Finalizable(ctorPtr, TextStyle_styled_string.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._XComponentController_getFinalizer() - } - public getXComponentSurfaceId(): string { - return this.getXComponentSurfaceId_serialize() - } - public getXComponentContext(): Object { - return this.getXComponentContext_serialize() - } - public setXComponentSurfaceSize(value: { surfaceWidth: number, surfaceHeight: number }): void { - const value_casted = value as ({ surfaceWidth: number, surfaceHeight: number }) - this?.setXComponentSurfaceSize_serialize(value_casted) - return - } - public setXComponentSurfaceRect(rect: SurfaceRect): void { - const rect_casted = rect as (SurfaceRect) - this?.setXComponentSurfaceRect_serialize(rect_casted) - return - } - public getXComponentSurfaceRect(): SurfaceRect { - return this.getXComponentSurfaceRect_serialize() - } - public setXComponentSurfaceRotation(rotationOptions: SurfaceRotationOptions): void { - const rotationOptions_casted = rotationOptions as (SurfaceRotationOptions) - this?.setXComponentSurfaceRotation_serialize(rotationOptions_casted) - return - } - public getXComponentSurfaceRotation(): SurfaceRotationOptions { - return this.getXComponentSurfaceRotation_serialize() - } - public startImageAnalyzer(config: ImageAnalyzerConfig): Promise { - const config_casted = config as (ImageAnalyzerConfig) - return this.startImageAnalyzer_serialize(config_casted) + return ArkUIGeneratedNativeModule._TextStyle_styled_string_getFinalizer() } - public stopImageAnalyzer(): void { - this?.stopImageAnalyzer_serialize() - return + private getFontColor(): ResourceColor | undefined { + return this.getFontColor_serialize() } - private getOnSurfaceCreated(): ((breakpoints: string) => void) { - return this.getOnSurfaceCreated_serialize() + private getFontFamily(): string | undefined { + return this.getFontFamily_serialize() } - private setOnSurfaceCreated(onSurfaceCreated: ((breakpoints: string) => void)): void { - const onSurfaceCreated_casted = onSurfaceCreated as (((breakpoints: string) => void)) - this?.setOnSurfaceCreated_serialize(onSurfaceCreated_casted) - return + private getFontSize(): number | undefined { + return this.getFontSize_serialize() } - private getOnSurfaceChanged(): ((surfaceId: string, rect: SurfaceRect) => void) { - return this.getOnSurfaceChanged_serialize() + private getFontWeight(): number | undefined { + return this.getFontWeight_serialize() } - private setOnSurfaceChanged(onSurfaceChanged: ((surfaceId: string, rect: SurfaceRect) => void)): void { - const onSurfaceChanged_casted = onSurfaceChanged as (((surfaceId: string, rect: SurfaceRect) => void)) - this?.setOnSurfaceChanged_serialize(onSurfaceChanged_casted) - return + private getFontStyle(): FontStyle | undefined { + return this.getFontStyle_serialize() } - private getOnSurfaceDestroyed(): ((breakpoints: string) => void) { - return this.getOnSurfaceDestroyed_serialize() + private getFontColor_serialize(): ResourceColor | undefined { + const retval = ArkUIGeneratedNativeModule._TextStyle_styled_string_getFontColor(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private setOnSurfaceDestroyed(onSurfaceDestroyed: ((breakpoints: string) => void)): void { - const onSurfaceDestroyed_casted = onSurfaceDestroyed as (((breakpoints: string) => void)) - this?.setOnSurfaceDestroyed_serialize(onSurfaceDestroyed_casted) - return + private getFontFamily_serialize(): string | undefined { + const retval = ArkUIGeneratedNativeModule._TextStyle_styled_string_getFontFamily(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private getXComponentSurfaceId_serialize(): string { - const retval = ArkUIGeneratedNativeModule._XComponentController_getXComponentSurfaceId(this.peer!.ptr) - return retval + private getFontSize_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._TextStyle_styled_string_getFontSize(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private getXComponentContext_serialize(): Object { - const retval = ArkUIGeneratedNativeModule._XComponentController_getXComponentContext(this.peer!.ptr) + private getFontWeight_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._TextStyle_styled_string_getFontWeight(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setXComponentSurfaceSize_serialize(value: { surfaceWidth: number, surfaceHeight: number }): void { - const thisSerializer: Serializer = Serializer.hold() - const value_surfaceWidth = value.surfaceWidth - thisSerializer.writeNumber(value_surfaceWidth) - const value_surfaceHeight = value.surfaceHeight - thisSerializer.writeNumber(value_surfaceHeight) - ArkUIGeneratedNativeModule._XComponentController_setXComponentSurfaceSize(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getFontStyle_serialize(): FontStyle | undefined { + const retval = ArkUIGeneratedNativeModule._TextStyle_styled_string_getFontStyle(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private setXComponentSurfaceRect_serialize(rect: SurfaceRect): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeSurfaceRect(rect) - ArkUIGeneratedNativeModule._XComponentController_setXComponentSurfaceRect(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() +} +export class DecorationStyleInternal { + public static fromPtr(ptr: KPointer): DecorationStyle { + const obj: DecorationStyle = new DecorationStyle(undefined) + obj.peer = new Finalizable(ptr, DecorationStyle.getFinalizer()) + return obj } - private getXComponentSurfaceRect_serialize(): SurfaceRect { - const retval = ArkUIGeneratedNativeModule._XComponentController_getXComponentSurfaceRect(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: SurfaceRect = retvalDeserializer.readSurfaceRect() - return returnResult +} +export class DecorationStyle implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - private setXComponentSurfaceRotation_serialize(rotationOptions: SurfaceRotationOptions): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeSurfaceRotationOptions(rotationOptions) - ArkUIGeneratedNativeModule._XComponentController_setXComponentSurfaceRotation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + get type(): TextDecorationType { + return this.getType() } - private getXComponentSurfaceRotation_serialize(): SurfaceRotationOptions { - const retval = ArkUIGeneratedNativeModule._XComponentController_getXComponentSurfaceRotation(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: SurfaceRotationOptions = retvalDeserializer.readSurfaceRotationOptions() - return returnResult + get color(): ResourceColor | undefined { + throw new Error("Not implemented") } - private startImageAnalyzer_serialize(config: ImageAnalyzerConfig): Promise { + get style(): TextDecorationStyle | undefined { + return this.getStyle() + } + static ctor_decorationstyle(value: DecorationStyleInterface): KPointer { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeImageAnalyzerConfig(config) - const retval = thisSerializer.holdAndWriteCallbackForPromiseVoid()[0] - ArkUIGeneratedNativeModule._XComponentController_startImageAnalyzer(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeDecorationStyleInterface(value) + const retval = ArkUIGeneratedNativeModule._DecorationStyle_ctor(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() return retval } - private stopImageAnalyzer_serialize(): void { - ArkUIGeneratedNativeModule._XComponentController_stopImageAnalyzer(this.peer!.ptr) + constructor(value?: DecorationStyleInterface) { + if ((value) !== (undefined)) + { + const ctorPtr: KPointer = DecorationStyle.ctor_decorationstyle((value)!) + this.peer = new Finalizable(ctorPtr, DecorationStyle.getFinalizer()) + } } - private getOnSurfaceCreated_serialize(): ((breakpoints: string) => void) { - const retval = ArkUIGeneratedNativeModule._XComponentController_getOnSurfaceCreated(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._DecorationStyle_getFinalizer() } - private setOnSurfaceCreated_serialize(onSurfaceCreated: ((breakpoints: string) => void)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(onSurfaceCreated) - ArkUIGeneratedNativeModule._XComponentController_setOnSurfaceCreated(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getType(): TextDecorationType { + return this.getType_serialize() } - private getOnSurfaceChanged_serialize(): ((surfaceId: string, rect: SurfaceRect) => void) { - const retval = ArkUIGeneratedNativeModule._XComponentController_getOnSurfaceChanged(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + private getColor(): ResourceColor | undefined { + return this.getColor_serialize() } - private setOnSurfaceChanged_serialize(onSurfaceChanged: ((surfaceId: string, rect: SurfaceRect) => void)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(onSurfaceChanged) - ArkUIGeneratedNativeModule._XComponentController_setOnSurfaceChanged(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getStyle(): TextDecorationStyle | undefined { + return this.getStyle_serialize() } - private getOnSurfaceDestroyed_serialize(): ((breakpoints: string) => void) { - const retval = ArkUIGeneratedNativeModule._XComponentController_getOnSurfaceDestroyed(this.peer!.ptr) + private getType_serialize(): TextDecorationType { + const retval = ArkUIGeneratedNativeModule._DecorationStyle_getType(this.peer!.ptr) + return retval + } + private getColor_serialize(): ResourceColor | undefined { + const retval = ArkUIGeneratedNativeModule._DecorationStyle_getColor(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setOnSurfaceDestroyed_serialize(onSurfaceDestroyed: ((breakpoints: string) => void)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(onSurfaceDestroyed) - ArkUIGeneratedNativeModule._XComponentController_setOnSurfaceDestroyed(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getStyle_serialize(): TextDecorationStyle | undefined { + const retval = ArkUIGeneratedNativeModule._DecorationStyle_getStyle(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } } -export class WaterFlowSectionsInternal { - public static fromPtr(ptr: KPointer): WaterFlowSections { - const obj: WaterFlowSections = new WaterFlowSections() - obj.peer = new Finalizable(ptr, WaterFlowSections.getFinalizer()) +export class BaselineOffsetStyleInternal { + public static fromPtr(ptr: KPointer): BaselineOffsetStyle { + const obj: BaselineOffsetStyle = new BaselineOffsetStyle(undefined) + obj.peer = new Finalizable(ptr, BaselineOffsetStyle.getFinalizer()) return obj } } -export class WaterFlowSections implements MaterializedBase { +export class BaselineOffsetStyle implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_waterflowsections(): KPointer { - const retval = ArkUIGeneratedNativeModule._WaterFlowSections_ctor() + get baselineOffset(): number { + return this.getBaselineOffset() + } + static ctor_baselineoffsetstyle(value: LengthMetrics): KPointer { + const retval = ArkUIGeneratedNativeModule._BaselineOffsetStyle_ctor(toPeerPtr(value)) return retval } - constructor() { - const ctorPtr: KPointer = WaterFlowSections.ctor_waterflowsections() - this.peer = new Finalizable(ctorPtr, WaterFlowSections.getFinalizer()) + constructor(value?: LengthMetrics) { + if ((value) !== (undefined)) + { + const ctorPtr: KPointer = BaselineOffsetStyle.ctor_baselineoffsetstyle((value)!) + this.peer = new Finalizable(ctorPtr, BaselineOffsetStyle.getFinalizer()) + } } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._WaterFlowSections_getFinalizer() + return ArkUIGeneratedNativeModule._BaselineOffsetStyle_getFinalizer() } - public splice(start: number, deleteCount?: number, sections?: Array): boolean { - const start_casted = start as (number) - const deleteCount_casted = deleteCount as (number | undefined) - const sections_casted = sections as (Array | undefined) - return this.splice_serialize(start_casted, deleteCount_casted, sections_casted) + private getBaselineOffset(): number { + return this.getBaselineOffset_serialize() } - public push(section: SectionOptions): boolean { - const section_casted = section as (SectionOptions) - return this.push_serialize(section_casted) + private getBaselineOffset_serialize(): number { + const retval = ArkUIGeneratedNativeModule._BaselineOffsetStyle_getBaselineOffset(this.peer!.ptr) + return retval } - public update(sectionIndex: number, section: SectionOptions): boolean { - const sectionIndex_casted = sectionIndex as (number) - const section_casted = section as (SectionOptions) - return this.update_serialize(sectionIndex_casted, section_casted) +} +export class LetterSpacingStyleInternal { + public static fromPtr(ptr: KPointer): LetterSpacingStyle { + const obj: LetterSpacingStyle = new LetterSpacingStyle(undefined) + obj.peer = new Finalizable(ptr, LetterSpacingStyle.getFinalizer()) + return obj } - public values(): Array { - return this.values_serialize() +} +export class LetterSpacingStyle implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - public length(): number { - return this.length_serialize() + get letterSpacing(): number { + return this.getLetterSpacing() } - private splice_serialize(start: number, deleteCount?: number, sections?: Array): boolean { - const thisSerializer: Serializer = Serializer.hold() - let deleteCount_type: int32 = RuntimeType.UNDEFINED - deleteCount_type = runtimeType(deleteCount) - thisSerializer.writeInt8(deleteCount_type) - if ((RuntimeType.UNDEFINED) != (deleteCount_type)) { - const deleteCount_value = deleteCount! - thisSerializer.writeNumber(deleteCount_value) - } - let sections_type: int32 = RuntimeType.UNDEFINED - sections_type = runtimeType(sections) - thisSerializer.writeInt8(sections_type) - if ((RuntimeType.UNDEFINED) != (sections_type)) { - const sections_value = sections! - thisSerializer.writeInt32(sections_value.length) - for (let i = 0; i < sections_value.length; i++) { - const sections_value_element: SectionOptions = sections_value[i] - thisSerializer.writeSectionOptions(sections_value_element) - } + static ctor_letterspacingstyle(value: LengthMetrics): KPointer { + const retval = ArkUIGeneratedNativeModule._LetterSpacingStyle_ctor(toPeerPtr(value)) + return retval + } + constructor(value?: LengthMetrics) { + if ((value) !== (undefined)) + { + const ctorPtr: KPointer = LetterSpacingStyle.ctor_letterspacingstyle((value)!) + this.peer = new Finalizable(ctorPtr, LetterSpacingStyle.getFinalizer()) } - const retval = ArkUIGeneratedNativeModule._WaterFlowSections_splice(this.peer!.ptr, start, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LetterSpacingStyle_getFinalizer() + } + private getLetterSpacing(): number { + return this.getLetterSpacing_serialize() + } + private getLetterSpacing_serialize(): number { + const retval = ArkUIGeneratedNativeModule._LetterSpacingStyle_getLetterSpacing(this.peer!.ptr) return retval } - private push_serialize(section: SectionOptions): boolean { +} +export class TextShadowStyleInternal { + public static fromPtr(ptr: KPointer): TextShadowStyle { + const obj: TextShadowStyle = new TextShadowStyle(undefined) + obj.peer = new Finalizable(ptr, TextShadowStyle.getFinalizer()) + return obj + } +} +export class TextShadowStyle implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + get textShadow(): Array { + throw new Error("Not implemented") + } + static ctor_textshadowstyle(value: ShadowOptions | Array): KPointer { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeSectionOptions(section) - const retval = ArkUIGeneratedNativeModule._WaterFlowSections_push(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("radius")))) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeShadowOptions(value_0) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof Array)) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast>(value) + thisSerializer.writeInt32(value_1.length) + for (let i = 0; i < value_1.length; i++) { + const value_1_element: ShadowOptions = value_1[i] + thisSerializer.writeShadowOptions(value_1_element) + } + } + const retval = ArkUIGeneratedNativeModule._TextShadowStyle_ctor(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() return retval } - private update_serialize(sectionIndex: number, section: SectionOptions): boolean { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeSectionOptions(section) - const retval = ArkUIGeneratedNativeModule._WaterFlowSections_update(this.peer!.ptr, sectionIndex, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval + constructor(value?: ShadowOptions | Array) { + if ((value) !== (undefined)) + { + const ctorPtr: KPointer = TextShadowStyle.ctor_textshadowstyle((value)!) + this.peer = new Finalizable(ctorPtr, TextShadowStyle.getFinalizer()) + } } - private values_serialize(): Array { - const retval = ArkUIGeneratedNativeModule._WaterFlowSections_values(this.peer!.ptr) + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TextShadowStyle_getFinalizer() + } + private getTextShadow(): Array { + return this.getTextShadow_serialize() + } + private getTextShadow_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._TextShadowStyle_getTextShadow(this.peer!.ptr) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) + let buffer: Array = new Array(buffer_length) for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = retvalDeserializer.readSectionOptions() + buffer[buffer_i] = retvalDeserializer.readShadowOptions() } - const returnResult: Array = buffer + const returnResult: Array = buffer return returnResult } - private length_serialize(): number { - const retval = ArkUIGeneratedNativeModule._WaterFlowSections_length(this.peer!.ptr) - return retval - } } -export interface UIExtensionProxy { - send(data: Map): void - sendSync(data: Map): Map - onAsyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void - onSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void - offAsyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void) | undefined): void - offSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void) | undefined): void +export class BackgroundColorStyleInternal { + public static fromPtr(ptr: KPointer): BackgroundColorStyle { + const obj: BackgroundColorStyle = new BackgroundColorStyle(undefined) + obj.peer = new Finalizable(ptr, BackgroundColorStyle.getFinalizer()) + return obj + } } -export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionProxy { +export class BackgroundColorStyle implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor_uiextensionproxy(): KPointer { - const retval = ArkUIGeneratedNativeModule._UIExtensionProxy_ctor() + get textBackgroundStyle(): TextBackgroundStyle { + throw new Error("Not implemented") + } + static ctor_backgroundcolorstyle(textBackgroundStyle: TextBackgroundStyle): KPointer { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeTextBackgroundStyle(textBackgroundStyle) + const retval = ArkUIGeneratedNativeModule._BackgroundColorStyle_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor() { - const ctorPtr: KPointer = UIExtensionProxyInternal.ctor_uiextensionproxy() - this.peer = new Finalizable(ctorPtr, UIExtensionProxyInternal.getFinalizer()) + constructor(textBackgroundStyle?: TextBackgroundStyle) { + if ((textBackgroundStyle) !== (undefined)) + { + const ctorPtr: KPointer = BackgroundColorStyle.ctor_backgroundcolorstyle((textBackgroundStyle)!) + this.peer = new Finalizable(ctorPtr, BackgroundColorStyle.getFinalizer()) + } } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._UIExtensionProxy_getFinalizer() - } - public send(data: Map): void { - const data_casted = data as (Map) - this?.send_serialize(data_casted) - return - } - public sendSync(data: Map): Map { - const data_casted = data as (Map) - return this.sendSync_serialize(data_casted) - } - public onAsyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void { - const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void)) - this?.onAsyncReceiverRegister_serialize(callback__casted) - return - } - public onSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void { - const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void)) - this?.onSyncReceiverRegister_serialize(callback__casted) - return - } - public offAsyncReceiverRegister(callback_?: ((parameter: UIExtensionProxy) => void)): void { - const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void) | undefined) - this?.offAsyncReceiverRegister_serialize(callback__casted) - return - } - public offSyncReceiverRegister(callback_?: ((parameter: UIExtensionProxy) => void)): void { - const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void) | undefined) - this?.offSyncReceiverRegister_serialize(callback__casted) - return - } - on(type: string, callback_: ((parameter: UIExtensionProxy) => void)): void { - throw new Error("TBD") - } - off(type: string, callback_: ((parameter: UIExtensionProxy) => void)): void { - throw new Error("TBD") + return ArkUIGeneratedNativeModule._BackgroundColorStyle_getFinalizer() } - private send_serialize(data: Map): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(data.size) - for (const [data_key, data_value] of data) { - thisSerializer.writeString(data_key) - thisSerializer.holdAndWriteObject(data_value) - } - ArkUIGeneratedNativeModule._UIExtensionProxy_send(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getTextBackgroundStyle(): TextBackgroundStyle { + return this.getTextBackgroundStyle_serialize() } - private sendSync_serialize(data: Map): Map { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(data.size) - for (const [data_key, data_value] of data) { - thisSerializer.writeString(data_key) - thisSerializer.holdAndWriteObject(data_value) - } - const retval = ArkUIGeneratedNativeModule._UIExtensionProxy_sendSync(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private getTextBackgroundStyle_serialize(): TextBackgroundStyle { + const retval = ArkUIGeneratedNativeModule._BackgroundColorStyle_getTextBackgroundStyle(this.peer!.ptr) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_size: int32 = retvalDeserializer.readInt32() - let buffer: Map = new Map() - // TODO: TS map resize - for (let buffer_i = 0; buffer_i < buffer_size; buffer_i++) { - const buffer_key: string = (retvalDeserializer.readString() as string) - const buffer_value: Object = (retvalDeserializer.readObject() as Object) - buffer.set(buffer_key, buffer_value) - } - const returnResult: Map = buffer + const returnResult: TextBackgroundStyle = retvalDeserializer.readTextBackgroundStyle() return returnResult } - private onAsyncReceiverRegister_serialize(callback_: ((parameter: UIExtensionProxy) => void)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback_) - ArkUIGeneratedNativeModule._UIExtensionProxy_onAsyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() +} +export class GestureStyleInternal { + public static fromPtr(ptr: KPointer): GestureStyle { + const obj: GestureStyle = new GestureStyle(undefined) + obj.peer = new Finalizable(ptr, GestureStyle.getFinalizer()) + return obj } - private onSyncReceiverRegister_serialize(callback_: ((parameter: UIExtensionProxy) => void)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback_) - ArkUIGeneratedNativeModule._UIExtensionProxy_onSyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() +} +export class GestureStyle implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - private offAsyncReceiverRegister_serialize(callback_?: ((parameter: UIExtensionProxy) => void)): void { + static ctor_gesturestyle(value?: GestureStyleInterface): KPointer { const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeGestureStyleInterface(value_value) } - ArkUIGeneratedNativeModule._UIExtensionProxy_offAsyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._GestureStyle_ctor(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + return retval } - private offSyncReceiverRegister_serialize(callback_?: ((parameter: UIExtensionProxy) => void)): void { - const thisSerializer: Serializer = Serializer.hold() - let callback__type: int32 = RuntimeType.UNDEFINED - callback__type = runtimeType(callback_) - thisSerializer.writeInt8(callback__type) - if ((RuntimeType.UNDEFINED) != (callback__type)) { - const callback__value = callback_! - thisSerializer.holdAndWriteCallback(callback__value) - } - ArkUIGeneratedNativeModule._UIExtensionProxy_offSyncReceiverRegister(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + constructor(value?: GestureStyleInterface) { + const ctorPtr: KPointer = GestureStyle.ctor_gesturestyle(value) + this.peer = new Finalizable(ctorPtr, GestureStyle.getFinalizer()) } - public static fromPtr(ptr: KPointer): UIExtensionProxyInternal { - const obj: UIExtensionProxyInternal = new UIExtensionProxyInternal() - obj.peer = new Finalizable(ptr, UIExtensionProxyInternal.getFinalizer()) - return obj + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._GestureStyle_getFinalizer() } } -export class StyledStringInternal { - public static fromPtr(ptr: KPointer): StyledString { - const obj: StyledString = new StyledString(undefined, undefined) - obj.peer = new Finalizable(ptr, StyledString.getFinalizer()) +export class ParagraphStyleInternal { + public static fromPtr(ptr: KPointer): ParagraphStyle { + const obj: ParagraphStyle = new ParagraphStyle(undefined) + obj.peer = new Finalizable(ptr, ParagraphStyle.getFinalizer()) return obj } } -export class StyledString implements MaterializedBase { +export class ParagraphStyle implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get length(): number { - return this.getLength() + get textAlign(): TextAlign | undefined { + return this.getTextAlign() } - static ctor_styledstring(value: string | ImageAttachment | CustomSpan, styles?: Array): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(0) - const value_0 = unsafeCast(value) - thisSerializer.writeString(value_0) - } - else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof ImageAttachment)) { - thisSerializer.writeInt8(1) - const value_1 = unsafeCast(value) - thisSerializer.writeImageAttachment(value_1) - } - else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof CustomSpan)) { - thisSerializer.writeInt8(2) - const value_2 = unsafeCast(value) - thisSerializer.writeCustomSpan(value_2) - } - let styles_type: int32 = RuntimeType.UNDEFINED - styles_type = runtimeType(styles) - thisSerializer.writeInt8(styles_type) - if ((RuntimeType.UNDEFINED) != (styles_type)) { - const styles_value = styles! - thisSerializer.writeInt32(styles_value.length) - for (let i = 0; i < styles_value.length; i++) { - const styles_value_element: StyleOptions = styles_value[i] - thisSerializer.writeStyleOptions(styles_value_element) - } + get textIndent(): number | undefined { + return this.getTextIndent() + } + get maxLines(): number | undefined { + return this.getMaxLines() + } + get overflow(): TextOverflow | undefined { + return this.getOverflow() + } + get wordBreak(): WordBreak | undefined { + return this.getWordBreak() + } + get leadingMargin(): number | LeadingMarginPlaceholder | undefined { + throw new Error("Not implemented") + } + get paragraphSpacing(): number | undefined { + return this.getParagraphSpacing() + } + static ctor_paragraphstyle(value?: ParagraphStyleInterface): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeParagraphStyleInterface(value_value) } - const retval = ArkUIGeneratedNativeModule._StyledString_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + const retval = ArkUIGeneratedNativeModule._ParagraphStyle_ctor(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() return retval } - constructor(value?: string | ImageAttachment | CustomSpan, styles?: Array) { - if (((value) !== (undefined)) || ((styles) !== (undefined))) - { - const ctorPtr: KPointer = StyledString.ctor_styledstring((value)!, styles) - this.peer = new Finalizable(ctorPtr, StyledString.getFinalizer()) - } + constructor(value?: ParagraphStyleInterface) { + const ctorPtr: KPointer = ParagraphStyle.ctor_paragraphstyle(value) + this.peer = new Finalizable(ctorPtr, ParagraphStyle.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._StyledString_getFinalizer() + return ArkUIGeneratedNativeModule._ParagraphStyle_getFinalizer() } - public getString(): string { - return this.getString_serialize() + private getTextAlign(): TextAlign | undefined { + return this.getTextAlign_serialize() } - public getStyles(start: number, length: number, styledKey?: StyledStringKey): Array { - const start_casted = start as (number) - const length_casted = length as (number) - const styledKey_casted = styledKey as (StyledStringKey | undefined) - return this.getStyles_serialize(start_casted, length_casted, styledKey_casted) + private getTextIndent(): number | undefined { + return this.getTextIndent_serialize() } - public equals(other: StyledString): boolean { - const other_casted = other as (StyledString) - return this.equals_serialize(other_casted) + private getMaxLines(): number | undefined { + return this.getMaxLines_serialize() } - public subStyledString(start: number, length?: number): StyledString { - const start_casted = start as (number) - const length_casted = length as (number | undefined) - return this.subStyledString_serialize(start_casted, length_casted) + private getOverflow(): TextOverflow | undefined { + return this.getOverflow_serialize() } - public static fromHtml(html: string): Promise { - const html_casted = html as (string) - return StyledString.fromHtml_serialize(html_casted) + private getWordBreak(): WordBreak | undefined { + return this.getWordBreak_serialize() } - public static toHtml(styledString: StyledString): string { - const styledString_casted = styledString as (StyledString) - return StyledString.toHtml_serialize(styledString_casted) + private getLeadingMargin(): number | LeadingMarginPlaceholder | undefined { + return this.getLeadingMargin_serialize() } - public static marshalling(styledString: StyledString): NativeBuffer { - const styledString_casted = styledString as (StyledString) - return StyledString.marshalling_serialize(styledString_casted) + private getParagraphSpacing(): number | undefined { + return this.getParagraphSpacing_serialize() } - public static unmarshalling(buffer: NativeBuffer): Promise { - const buffer_casted = buffer as (NativeBuffer) - return StyledString.unmarshalling_serialize(buffer_casted) + private getTextAlign_serialize(): TextAlign | undefined { + const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getTextAlign(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private getLength(): number { - return this.getLength_serialize() + private getTextIndent_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getTextIndent(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private getString_serialize(): string { - const retval = ArkUIGeneratedNativeModule._StyledString_getString(this.peer!.ptr) + private getMaxLines_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getMaxLines(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getOverflow_serialize(): TextOverflow | undefined { + const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getOverflow(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getWordBreak_serialize(): WordBreak | undefined { + const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getWordBreak(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getLeadingMargin_serialize(): number | LeadingMarginPlaceholder | undefined { + const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getLeadingMargin(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getParagraphSpacing_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getParagraphSpacing(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } +} +export class LineHeightStyleInternal { + public static fromPtr(ptr: KPointer): LineHeightStyle { + const obj: LineHeightStyle = new LineHeightStyle(undefined) + obj.peer = new Finalizable(ptr, LineHeightStyle.getFinalizer()) + return obj + } +} +export class LineHeightStyle implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + get lineHeight(): number { + return this.getLineHeight() + } + static ctor_lineheightstyle(lineHeight: LengthMetrics): KPointer { + const retval = ArkUIGeneratedNativeModule._LineHeightStyle_ctor(toPeerPtr(lineHeight)) return retval } - private getStyles_serialize(start: number, length: number, styledKey?: StyledStringKey): Array { - const thisSerializer: Serializer = Serializer.hold() - let styledKey_type: int32 = RuntimeType.UNDEFINED - styledKey_type = runtimeType(styledKey) - thisSerializer.writeInt8(styledKey_type) - if ((RuntimeType.UNDEFINED) != (styledKey_type)) { - const styledKey_value = styledKey! - thisSerializer.writeInt32(styledKey_value.valueOf()) - } - const retval = ArkUIGeneratedNativeModule._StyledString_getStyles(this.peer!.ptr, start, length, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) - for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = retvalDeserializer.readSpanStyle() + constructor(lineHeight?: LengthMetrics) { + if ((lineHeight) !== (undefined)) + { + const ctorPtr: KPointer = LineHeightStyle.ctor_lineheightstyle((lineHeight)!) + this.peer = new Finalizable(ctorPtr, LineHeightStyle.getFinalizer()) } - const returnResult: Array = buffer - return returnResult } - private equals_serialize(other: StyledString): boolean { - const retval = ArkUIGeneratedNativeModule._StyledString_equals(this.peer!.ptr, toPeerPtr(other)) + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LineHeightStyle_getFinalizer() + } + private getLineHeight(): number { + return this.getLineHeight_serialize() + } + private getLineHeight_serialize(): number { + const retval = ArkUIGeneratedNativeModule._LineHeightStyle_getLineHeight(this.peer!.ptr) return retval } - private subStyledString_serialize(start: number, length?: number): StyledString { - const thisSerializer: Serializer = Serializer.hold() - let length_type: int32 = RuntimeType.UNDEFINED - length_type = runtimeType(length) - thisSerializer.writeInt8(length_type) - if ((RuntimeType.UNDEFINED) != (length_type)) { - const length_value = length! - thisSerializer.writeNumber(length_value) - } - const retval = ArkUIGeneratedNativeModule._StyledString_subStyledString(this.peer!.ptr, start, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - const obj: StyledString = StyledStringInternal.fromPtr(retval) +} +export class UrlStyleInternal { + public static fromPtr(ptr: KPointer): UrlStyle { + const obj: UrlStyle = new UrlStyle(undefined) + obj.peer = new Finalizable(ptr, UrlStyle.getFinalizer()) return obj } - private static fromHtml_serialize(html: string): Promise { - const thisSerializer: Serializer = Serializer.hold() - const retval = thisSerializer.holdAndWriteCallbackForPromise()[0] - ArkUIGeneratedNativeModule._StyledString_fromHtml(html, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval +} +export class UrlStyle implements MaterializedBase { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer } - private static toHtml_serialize(styledString: StyledString): string { - const retval = ArkUIGeneratedNativeModule._StyledString_toHtml(toPeerPtr(styledString)) + get url(): string { + return this.getUrl() + } + static ctor_urlstyle(url: string): KPointer { + const retval = ArkUIGeneratedNativeModule._UrlStyle_ctor(url) return retval } - private static marshalling_serialize(styledString: StyledString): NativeBuffer { - const retval = ArkUIGeneratedNativeModule._StyledString_marshalling(toPeerPtr(styledString)) - return new Deserializer(retval.buffer, retval.byteLength).readBuffer() + constructor(url?: string) { + if ((url) !== (undefined)) + { + const ctorPtr: KPointer = UrlStyle.ctor_urlstyle((url)!) + this.peer = new Finalizable(ctorPtr, UrlStyle.getFinalizer()) + } } - private static unmarshalling_serialize(buffer: NativeBuffer): Promise { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeBuffer(buffer) - const retval = thisSerializer.holdAndWriteCallbackForPromise()[0] - ArkUIGeneratedNativeModule._StyledString_unmarshalling(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._UrlStyle_getFinalizer() } - private getLength_serialize(): number { - const retval = ArkUIGeneratedNativeModule._StyledString_getLength(this.peer!.ptr) + private getUrl(): string { + return this.getUrl_serialize() + } + private getUrl_serialize(): string { + const retval = ArkUIGeneratedNativeModule._UrlStyle_getUrl(this.peer!.ptr) return retval } } -export class TextStyle_styled_stringInternal { - public static fromPtr(ptr: KPointer): TextStyle_styled_string { - const obj: TextStyle_styled_string = new TextStyle_styled_string(undefined) - obj.peer = new Finalizable(ptr, TextStyle_styled_string.getFinalizer()) +export class ImageAttachmentInternal { + public static fromPtr(ptr: KPointer): ImageAttachment { + const obj: ImageAttachment = new ImageAttachment(undefined) + obj.peer = new Finalizable(ptr, ImageAttachment.getFinalizer()) return obj } } -export class TextStyle_styled_string implements MaterializedBase { +export class ImageAttachment implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get fontColor(): ResourceColor | undefined { + get value(): PixelMap { + return this.getValue() + } + get size(): SizeOptions | undefined { throw new Error("Not implemented") } - get fontFamily(): string | undefined { - return this.getFontFamily() + get verticalAlign(): ImageSpanAlignment | undefined { + return this.getVerticalAlign() } - get fontSize(): number | undefined { - return this.getFontSize() + get objectFit(): ImageFit | undefined { + return this.getObjectFit() } - get fontWeight(): number | undefined { - return this.getFontWeight() + get layoutStyle(): ImageAttachmentLayoutStyle | undefined { + throw new Error("Not implemented") } - get fontStyle(): FontStyle | undefined { - return this.getFontStyle() + get colorFilter(): ColorFilterType | undefined { + throw new Error("Not implemented") } - static ctor_textstyle_styled_string(value?: TextStyleInterface): KPointer { + static ctor_imageattachment(value: ImageAttachmentInterface): KPointer { const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - thisSerializer.writeInt8(value_type) - if ((RuntimeType.UNDEFINED) != (value_type)) { - const value_value = value! - thisSerializer.writeTextStyleInterface(value_value) - } - const retval = ArkUIGeneratedNativeModule._TextStyle_styled_string_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeImageAttachmentInterface(value) + const retval = ArkUIGeneratedNativeModule._ImageAttachment_ctor(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() return retval } - constructor(value?: TextStyleInterface) { - const ctorPtr: KPointer = TextStyle_styled_string.ctor_textstyle_styled_string(value) - this.peer = new Finalizable(ctorPtr, TextStyle_styled_string.getFinalizer()) + constructor(value?: ImageAttachmentInterface) { + if ((value) !== (undefined)) + { + const ctorPtr: KPointer = ImageAttachment.ctor_imageattachment((value)!) + this.peer = new Finalizable(ctorPtr, ImageAttachment.getFinalizer()) + } } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TextStyle_styled_string_getFinalizer() + return ArkUIGeneratedNativeModule._ImageAttachment_getFinalizer() } - private getFontColor(): ResourceColor | undefined { - return this.getFontColor_serialize() + private getValue(): PixelMap { + return this.getValue_serialize() } - private getFontFamily(): string | undefined { - return this.getFontFamily_serialize() + private getSize(): SizeOptions | undefined { + return this.getSize_serialize() + } + private getVerticalAlign(): ImageSpanAlignment | undefined { + return this.getVerticalAlign_serialize() + } + private getObjectFit(): ImageFit | undefined { + return this.getObjectFit_serialize() } - private getFontSize(): number | undefined { - return this.getFontSize_serialize() + private getLayoutStyle(): ImageAttachmentLayoutStyle | undefined { + return this.getLayoutStyle_serialize() } - private getFontWeight(): number | undefined { - return this.getFontWeight_serialize() + private getColorFilter(): ColorFilterType | undefined { + return this.getColorFilter_serialize() } - private getFontStyle(): FontStyle | undefined { - return this.getFontStyle_serialize() + private getValue_serialize(): PixelMap { + const retval = ArkUIGeneratedNativeModule._ImageAttachment_getValue(this.peer!.ptr) + const obj: PixelMap = PixelMapInternal.fromPtr(retval) + return obj } - private getFontColor_serialize(): ResourceColor | undefined { - const retval = ArkUIGeneratedNativeModule._TextStyle_styled_string_getFontColor(this.peer!.ptr) + private getSize_serialize(): SizeOptions | undefined { + const retval = ArkUIGeneratedNativeModule._ImageAttachment_getSize(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private getFontFamily_serialize(): string | undefined { - const retval = ArkUIGeneratedNativeModule._TextStyle_styled_string_getFontFamily(this.peer!.ptr) + private getVerticalAlign_serialize(): ImageSpanAlignment | undefined { + const retval = ArkUIGeneratedNativeModule._ImageAttachment_getVerticalAlign(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private getFontSize_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._TextStyle_styled_string_getFontSize(this.peer!.ptr) + private getObjectFit_serialize(): ImageFit | undefined { + const retval = ArkUIGeneratedNativeModule._ImageAttachment_getObjectFit(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private getFontWeight_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._TextStyle_styled_string_getFontWeight(this.peer!.ptr) + private getLayoutStyle_serialize(): ImageAttachmentLayoutStyle | undefined { + const retval = ArkUIGeneratedNativeModule._ImageAttachment_getLayoutStyle(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private getFontStyle_serialize(): FontStyle | undefined { - const retval = ArkUIGeneratedNativeModule._TextStyle_styled_string_getFontStyle(this.peer!.ptr) + private getColorFilter_serialize(): ColorFilterType | undefined { + const retval = ArkUIGeneratedNativeModule._ImageAttachment_getColorFilter(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } } -export class DecorationStyleInternal { - public static fromPtr(ptr: KPointer): DecorationStyle { - const obj: DecorationStyle = new DecorationStyle(undefined) - obj.peer = new Finalizable(ptr, DecorationStyle.getFinalizer()) +export class CustomSpanInternal { + public static fromPtr(ptr: KPointer): CustomSpan { + const obj: CustomSpan = new CustomSpan() + obj.peer = new Finalizable(ptr, CustomSpan.getFinalizer()) return obj } } -export class DecorationStyle implements MaterializedBase { +export class CustomSpan implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get type(): TextDecorationType { - return this.getType() + get onMeasure(): ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics) { + throw new Error("Not implemented") } - get color(): ResourceColor | undefined { + set onMeasure(onMeasure: ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics)) { + this.setOnMeasure(onMeasure) + } + get onDraw(): ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void) { throw new Error("Not implemented") } - get style(): TextDecorationStyle | undefined { - return this.getStyle() + set onDraw(onDraw: ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void)) { + this.setOnDraw(onDraw) } - static ctor_decorationstyle(value: DecorationStyleInterface): KPointer { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeDecorationStyleInterface(value) - const retval = ArkUIGeneratedNativeModule._DecorationStyle_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + static ctor_customspan(): KPointer { + const retval = ArkUIGeneratedNativeModule._CustomSpan_ctor() return retval } - constructor(value?: DecorationStyleInterface) { - if ((value) !== (undefined)) - { - const ctorPtr: KPointer = DecorationStyle.ctor_decorationstyle((value)!) - this.peer = new Finalizable(ctorPtr, DecorationStyle.getFinalizer()) - } + constructor() { + const ctorPtr: KPointer = CustomSpan.ctor_customspan() + this.peer = new Finalizable(ctorPtr, CustomSpan.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._DecorationStyle_getFinalizer() + return ArkUIGeneratedNativeModule._CustomSpan_getFinalizer() } - private getType(): TextDecorationType { - return this.getType_serialize() + public invalidate(): void { + this?.invalidate_serialize() + return } - private getColor(): ResourceColor | undefined { - return this.getColor_serialize() + private getOnMeasure(): ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics) { + return this.getOnMeasure_serialize() } - private getStyle(): TextDecorationStyle | undefined { - return this.getStyle_serialize() + private setOnMeasure(onMeasure: ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics)): void { + const onMeasure_casted = onMeasure as (((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics)) + this?.setOnMeasure_serialize(onMeasure_casted) + return } - private getType_serialize(): TextDecorationType { - const retval = ArkUIGeneratedNativeModule._DecorationStyle_getType(this.peer!.ptr) - return retval + private getOnDraw(): ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void) { + return this.getOnDraw_serialize() } - private getColor_serialize(): ResourceColor | undefined { - const retval = ArkUIGeneratedNativeModule._DecorationStyle_getColor(this.peer!.ptr) + private setOnDraw(onDraw: ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void)): void { + const onDraw_casted = onDraw as (((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void)) + this?.setOnDraw_serialize(onDraw_casted) + return + } + private invalidate_serialize(): void { + ArkUIGeneratedNativeModule._CustomSpan_invalidate(this.peer!.ptr) + } + private getOnMeasure_serialize(): ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics) { + const retval = ArkUIGeneratedNativeModule._CustomSpan_getOnMeasure(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private getStyle_serialize(): TextDecorationStyle | undefined { - const retval = ArkUIGeneratedNativeModule._DecorationStyle_getStyle(this.peer!.ptr) + private setOnMeasure_serialize(onMeasure: ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(onMeasure) + ArkUIGeneratedNativeModule._CustomSpan_setOnMeasure(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private getOnDraw_serialize(): ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void) { + const retval = ArkUIGeneratedNativeModule._CustomSpan_getOnDraw(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } + private setOnDraw_serialize(onDraw: ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(onDraw) + ArkUIGeneratedNativeModule._CustomSpan_setOnDraw(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } } -export class BaselineOffsetStyleInternal { - public static fromPtr(ptr: KPointer): BaselineOffsetStyle { - const obj: BaselineOffsetStyle = new BaselineOffsetStyle(undefined) - obj.peer = new Finalizable(ptr, BaselineOffsetStyle.getFinalizer()) +export class LinearIndicatorControllerInternal { + public static fromPtr(ptr: KPointer): LinearIndicatorController { + const obj: LinearIndicatorController = new LinearIndicatorController() + obj.peer = new Finalizable(ptr, LinearIndicatorController.getFinalizer()) return obj } } -export class BaselineOffsetStyle implements MaterializedBase { +export class LinearIndicatorController implements MaterializedBase { peer?: Finalizable | undefined = undefined public getPeer(): Finalizable | undefined { return this.peer } - get baselineOffset(): number { - return this.getBaselineOffset() - } - static ctor_baselineoffsetstyle(value: LengthMetrics): KPointer { - const retval = ArkUIGeneratedNativeModule._BaselineOffsetStyle_ctor(toPeerPtr(value)) + static ctor_linearindicatorcontroller(): KPointer { + const retval = ArkUIGeneratedNativeModule._LinearIndicatorController_ctor() return retval } - constructor(value?: LengthMetrics) { - if ((value) !== (undefined)) - { - const ctorPtr: KPointer = BaselineOffsetStyle.ctor_baselineoffsetstyle((value)!) - this.peer = new Finalizable(ctorPtr, BaselineOffsetStyle.getFinalizer()) - } + constructor() { + const ctorPtr: KPointer = LinearIndicatorController.ctor_linearindicatorcontroller() + this.peer = new Finalizable(ctorPtr, LinearIndicatorController.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._BaselineOffsetStyle_getFinalizer() + return ArkUIGeneratedNativeModule._LinearIndicatorController_getFinalizer() } - private getBaselineOffset(): number { - return this.getBaselineOffset_serialize() + public setProgress(index: number, progress: number): void { + const index_casted = index as (number) + const progress_casted = progress as (number) + this?.setProgress_serialize(index_casted, progress_casted) + return } - private getBaselineOffset_serialize(): number { - const retval = ArkUIGeneratedNativeModule._BaselineOffsetStyle_getBaselineOffset(this.peer!.ptr) - return retval + public start(options?: LinearIndicatorStartOptions): void { + const options_casted = options as (LinearIndicatorStartOptions | undefined) + this?.start_serialize(options_casted) + return + } + public pause(): void { + this?.pause_serialize() + return + } + public stop(): void { + this?.stop_serialize() + return + } + private setProgress_serialize(index: number, progress: number): void { + ArkUIGeneratedNativeModule._LinearIndicatorController_setProgress(this.peer!.ptr, index, progress) + } + private start_serialize(options?: LinearIndicatorStartOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeLinearIndicatorStartOptions(options_value) + } + ArkUIGeneratedNativeModule._LinearIndicatorController_start(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private pause_serialize(): void { + ArkUIGeneratedNativeModule._LinearIndicatorController_pause(this.peer!.ptr) + } + private stop_serialize(): void { + ArkUIGeneratedNativeModule._LinearIndicatorController_stop(this.peer!.ptr) } } -export class LetterSpacingStyleInternal { - public static fromPtr(ptr: KPointer): LetterSpacingStyle { - const obj: LetterSpacingStyle = new LetterSpacingStyle(undefined) - obj.peer = new Finalizable(ptr, LetterSpacingStyle.getFinalizer()) +export class ContextInternal { + public static fromPtr(ptr: KPointer): Context { + const obj: Context = new Context() + obj.peer = new Finalizable(ptr, Context.getFinalizer()) return obj } } -export class LetterSpacingStyle implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer +export class Context extends BaseContext implements MaterializedBase { + get cacheDir(): string { + return this.getCacheDir() } - get letterSpacing(): number { - return this.getLetterSpacing() + set cacheDir(cacheDir: string) { + this.setCacheDir(cacheDir) } - static ctor_letterspacingstyle(value: LengthMetrics): KPointer { - const retval = ArkUIGeneratedNativeModule._LetterSpacingStyle_ctor(toPeerPtr(value)) - return retval + get tempDir(): string { + return this.getTempDir() } - constructor(value?: LengthMetrics) { - if ((value) !== (undefined)) - { - const ctorPtr: KPointer = LetterSpacingStyle.ctor_letterspacingstyle((value)!) - this.peer = new Finalizable(ctorPtr, LetterSpacingStyle.getFinalizer()) - } + set tempDir(tempDir: string) { + this.setTempDir(tempDir) } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._LetterSpacingStyle_getFinalizer() + get filesDir(): string { + return this.getFilesDir() } - private getLetterSpacing(): number { - return this.getLetterSpacing_serialize() + set filesDir(filesDir: string) { + this.setFilesDir(filesDir) } - private getLetterSpacing_serialize(): number { - const retval = ArkUIGeneratedNativeModule._LetterSpacingStyle_getLetterSpacing(this.peer!.ptr) - return retval + get databaseDir(): string { + return this.getDatabaseDir() + } + set databaseDir(databaseDir: string) { + this.setDatabaseDir(databaseDir) + } + get preferencesDir(): string { + return this.getPreferencesDir() + } + set preferencesDir(preferencesDir: string) { + this.setPreferencesDir(preferencesDir) + } + get bundleCodeDir(): string { + return this.getBundleCodeDir() + } + set bundleCodeDir(bundleCodeDir: string) { + this.setBundleCodeDir(bundleCodeDir) + } + get distributedFilesDir(): string { + return this.getDistributedFilesDir() + } + set distributedFilesDir(distributedFilesDir: string) { + this.setDistributedFilesDir(distributedFilesDir) } -} -export class TextShadowStyleInternal { - public static fromPtr(ptr: KPointer): TextShadowStyle { - const obj: TextShadowStyle = new TextShadowStyle(undefined) - obj.peer = new Finalizable(ptr, TextShadowStyle.getFinalizer()) - return obj + get resourceDir(): string { + return this.getResourceDir() } -} -export class TextShadowStyle implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + set resourceDir(resourceDir: string) { + this.setResourceDir(resourceDir) } - get textShadow(): Array { - throw new Error("Not implemented") + get cloudFileDir(): string { + return this.getCloudFileDir() } - static ctor_textshadowstyle(value: ShadowOptions | Array): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("radius")))) { - thisSerializer.writeInt8(0) - const value_0 = unsafeCast(value) - thisSerializer.writeShadowOptions(value_0) - } - else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof Array)) { - thisSerializer.writeInt8(1) - const value_1 = unsafeCast>(value) - thisSerializer.writeInt32(value_1.length) - for (let i = 0; i < value_1.length; i++) { - const value_1_element: ShadowOptions = value_1[i] - thisSerializer.writeShadowOptions(value_1_element) - } - } - const retval = ArkUIGeneratedNativeModule._TextShadowStyle_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + set cloudFileDir(cloudFileDir: string) { + this.setCloudFileDir(cloudFileDir) + } + static ctor_context(): KPointer { + const retval = ArkUIGeneratedNativeModule._Context_ctor() return retval } - constructor(value?: ShadowOptions | Array) { - if ((value) !== (undefined)) - { - const ctorPtr: KPointer = TextShadowStyle.ctor_textshadowstyle((value)!) - this.peer = new Finalizable(ctorPtr, TextShadowStyle.getFinalizer()) - } + constructor() { + super() + const ctorPtr: KPointer = Context.ctor_context() + this.peer = new Finalizable(ctorPtr, Context.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TextShadowStyle_getFinalizer() + return ArkUIGeneratedNativeModule._Context_getFinalizer() } - private getTextShadow(): Array { - return this.getTextShadow_serialize() + public createBundleContext(bundleName: string): Context { + const bundleName_casted = bundleName as (string) + return this.createBundleContext_serialize(bundleName_casted) } - private getTextShadow_serialize(): Array { - const retval = ArkUIGeneratedNativeModule._TextShadowStyle_getTextShadow(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) - for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = retvalDeserializer.readShadowOptions() - } - const returnResult: Array = buffer - return returnResult + public createModuleContext(bundleName: string, moduleName?: string): Context { + const bundleName_type = runtimeType(bundleName) + const moduleName_type = runtimeType(moduleName) + const moduleName_casted = bundleName as (string) + return this.createModuleContext0_serialize(moduleName_casted) } -} -export class BackgroundColorStyleInternal { - public static fromPtr(ptr: KPointer): BackgroundColorStyle { - const obj: BackgroundColorStyle = new BackgroundColorStyle(undefined) - obj.peer = new Finalizable(ptr, BackgroundColorStyle.getFinalizer()) - return obj + public getGroupDir(dataGroupID: string, callback_?: Context_getGroupDir_Callback): string | undefined { + const dataGroupID_type = runtimeType(dataGroupID) + const callback__type = runtimeType(callback_) + const dataGroupID_casted = dataGroupID as (string) + return this.getGroupDir1_serialize(dataGroupID_casted) } -} -export class BackgroundColorStyle implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + private getCacheDir(): string { + return this.getCacheDir_serialize() } - get textBackgroundStyle(): TextBackgroundStyle { - throw new Error("Not implemented") + private setCacheDir(cacheDir: string): void { + const cacheDir_casted = cacheDir as (string) + this?.setCacheDir_serialize(cacheDir_casted) + return } - static ctor_backgroundcolorstyle(textBackgroundStyle: TextBackgroundStyle): KPointer { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeTextBackgroundStyle(textBackgroundStyle) - const retval = ArkUIGeneratedNativeModule._BackgroundColorStyle_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval + private getTempDir(): string { + return this.getTempDir_serialize() } - constructor(textBackgroundStyle?: TextBackgroundStyle) { - if ((textBackgroundStyle) !== (undefined)) - { - const ctorPtr: KPointer = BackgroundColorStyle.ctor_backgroundcolorstyle((textBackgroundStyle)!) - this.peer = new Finalizable(ctorPtr, BackgroundColorStyle.getFinalizer()) - } + private setTempDir(tempDir: string): void { + const tempDir_casted = tempDir as (string) + this?.setTempDir_serialize(tempDir_casted) + return } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._BackgroundColorStyle_getFinalizer() + private getFilesDir(): string { + return this.getFilesDir_serialize() } - private getTextBackgroundStyle(): TextBackgroundStyle { - return this.getTextBackgroundStyle_serialize() + private setFilesDir(filesDir: string): void { + const filesDir_casted = filesDir as (string) + this?.setFilesDir_serialize(filesDir_casted) + return } - private getTextBackgroundStyle_serialize(): TextBackgroundStyle { - const retval = ArkUIGeneratedNativeModule._BackgroundColorStyle_getTextBackgroundStyle(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const returnResult: TextBackgroundStyle = retvalDeserializer.readTextBackgroundStyle() - return returnResult + private getDatabaseDir(): string { + return this.getDatabaseDir_serialize() } -} -export class GestureStyleInternal { - public static fromPtr(ptr: KPointer): GestureStyle { - const obj: GestureStyle = new GestureStyle(undefined) - obj.peer = new Finalizable(ptr, GestureStyle.getFinalizer()) - return obj + private setDatabaseDir(databaseDir: string): void { + const databaseDir_casted = databaseDir as (string) + this?.setDatabaseDir_serialize(databaseDir_casted) + return } -} -export class GestureStyle implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + private getPreferencesDir(): string { + return this.getPreferencesDir_serialize() } - static ctor_gesturestyle(value?: GestureStyleInterface): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - thisSerializer.writeInt8(value_type) - if ((RuntimeType.UNDEFINED) != (value_type)) { - const value_value = value! - thisSerializer.writeGestureStyleInterface(value_value) - } - const retval = ArkUIGeneratedNativeModule._GestureStyle_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval + private setPreferencesDir(preferencesDir: string): void { + const preferencesDir_casted = preferencesDir as (string) + this?.setPreferencesDir_serialize(preferencesDir_casted) + return } - constructor(value?: GestureStyleInterface) { - const ctorPtr: KPointer = GestureStyle.ctor_gesturestyle(value) - this.peer = new Finalizable(ctorPtr, GestureStyle.getFinalizer()) + private getBundleCodeDir(): string { + return this.getBundleCodeDir_serialize() } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._GestureStyle_getFinalizer() + private setBundleCodeDir(bundleCodeDir: string): void { + const bundleCodeDir_casted = bundleCodeDir as (string) + this?.setBundleCodeDir_serialize(bundleCodeDir_casted) + return } -} -export class ParagraphStyleInternal { - public static fromPtr(ptr: KPointer): ParagraphStyle { - const obj: ParagraphStyle = new ParagraphStyle(undefined) - obj.peer = new Finalizable(ptr, ParagraphStyle.getFinalizer()) - return obj + private getDistributedFilesDir(): string { + return this.getDistributedFilesDir_serialize() } -} -export class ParagraphStyle implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + private setDistributedFilesDir(distributedFilesDir: string): void { + const distributedFilesDir_casted = distributedFilesDir as (string) + this?.setDistributedFilesDir_serialize(distributedFilesDir_casted) + return } - get textAlign(): TextAlign | undefined { - return this.getTextAlign() + private getResourceDir(): string { + return this.getResourceDir_serialize() } - get textIndent(): number | undefined { - return this.getTextIndent() + private setResourceDir(resourceDir: string): void { + const resourceDir_casted = resourceDir as (string) + this?.setResourceDir_serialize(resourceDir_casted) + return } - get maxLines(): number | undefined { - return this.getMaxLines() + private getCloudFileDir(): string { + return this.getCloudFileDir_serialize() } - get overflow(): TextOverflow | undefined { - return this.getOverflow() + private setCloudFileDir(cloudFileDir: string): void { + const cloudFileDir_casted = cloudFileDir as (string) + this?.setCloudFileDir_serialize(cloudFileDir_casted) + return } - get wordBreak(): WordBreak | undefined { - return this.getWordBreak() + private createBundleContext_serialize(bundleName: string): Context { + const retval = ArkUIGeneratedNativeModule._Context_createBundleContext(this.peer!.ptr, bundleName) + const obj: Context = ContextInternal.fromPtr(retval) + return obj } - get leadingMargin(): number | LeadingMarginPlaceholder | undefined { - throw new Error("Not implemented") + private createModuleContext0_serialize(moduleName: string): Context { + const retval = ArkUIGeneratedNativeModule._Context_createModuleContext0(this.peer!.ptr, moduleName) + const obj: Context = ContextInternal.fromPtr(retval) + return obj } - static ctor_paragraphstyle(value?: ParagraphStyleInterface): KPointer { + private createModuleContext1_serialize(bundleName: string, moduleName: string): Context { + const retval = ArkUIGeneratedNativeModule._Context_createModuleContext1(this.peer!.ptr, bundleName, moduleName) + const obj: Context = ContextInternal.fromPtr(retval) + return obj + } + private getGroupDir0_serialize(dataGroupID: string, callback_: Context_getGroupDir_Callback): void { const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - thisSerializer.writeInt8(value_type) - if ((RuntimeType.UNDEFINED) != (value_type)) { - const value_value = value! - thisSerializer.writeParagraphStyleInterface(value_value) - } - const retval = ArkUIGeneratedNativeModule._ParagraphStyle_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.holdAndWriteCallback(callback_) + ArkUIGeneratedNativeModule._Context_getGroupDir0(this.peer!.ptr, dataGroupID, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() + } + private getGroupDir1_serialize(dataGroupID: string): string { + const retval = ArkUIGeneratedNativeModule._Context_getGroupDir1(this.peer!.ptr, dataGroupID) + return retval + } + private getCacheDir_serialize(): string { + const retval = ArkUIGeneratedNativeModule._Context_getCacheDir(this.peer!.ptr) + return retval + } + private setCacheDir_serialize(cacheDir: string): void { + ArkUIGeneratedNativeModule._Context_setCacheDir(this.peer!.ptr, cacheDir) + } + private getTempDir_serialize(): string { + const retval = ArkUIGeneratedNativeModule._Context_getTempDir(this.peer!.ptr) return retval } - constructor(value?: ParagraphStyleInterface) { - const ctorPtr: KPointer = ParagraphStyle.ctor_paragraphstyle(value) - this.peer = new Finalizable(ctorPtr, ParagraphStyle.getFinalizer()) + private setTempDir_serialize(tempDir: string): void { + ArkUIGeneratedNativeModule._Context_setTempDir(this.peer!.ptr, tempDir) } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ParagraphStyle_getFinalizer() + private getFilesDir_serialize(): string { + const retval = ArkUIGeneratedNativeModule._Context_getFilesDir(this.peer!.ptr) + return retval } - private getTextAlign(): TextAlign | undefined { - return this.getTextAlign_serialize() + private setFilesDir_serialize(filesDir: string): void { + ArkUIGeneratedNativeModule._Context_setFilesDir(this.peer!.ptr, filesDir) } - private getTextIndent(): number | undefined { - return this.getTextIndent_serialize() + private getDatabaseDir_serialize(): string { + const retval = ArkUIGeneratedNativeModule._Context_getDatabaseDir(this.peer!.ptr) + return retval } - private getMaxLines(): number | undefined { - return this.getMaxLines_serialize() + private setDatabaseDir_serialize(databaseDir: string): void { + ArkUIGeneratedNativeModule._Context_setDatabaseDir(this.peer!.ptr, databaseDir) } - private getOverflow(): TextOverflow | undefined { - return this.getOverflow_serialize() + private getPreferencesDir_serialize(): string { + const retval = ArkUIGeneratedNativeModule._Context_getPreferencesDir(this.peer!.ptr) + return retval } - private getWordBreak(): WordBreak | undefined { - return this.getWordBreak_serialize() + private setPreferencesDir_serialize(preferencesDir: string): void { + ArkUIGeneratedNativeModule._Context_setPreferencesDir(this.peer!.ptr, preferencesDir) } - private getLeadingMargin(): number | LeadingMarginPlaceholder | undefined { - return this.getLeadingMargin_serialize() + private getBundleCodeDir_serialize(): string { + const retval = ArkUIGeneratedNativeModule._Context_getBundleCodeDir(this.peer!.ptr) + return retval } - private getTextAlign_serialize(): TextAlign | undefined { - const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getTextAlign(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + private setBundleCodeDir_serialize(bundleCodeDir: string): void { + ArkUIGeneratedNativeModule._Context_setBundleCodeDir(this.peer!.ptr, bundleCodeDir) } - private getTextIndent_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getTextIndent(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + private getDistributedFilesDir_serialize(): string { + const retval = ArkUIGeneratedNativeModule._Context_getDistributedFilesDir(this.peer!.ptr) + return retval } - private getMaxLines_serialize(): number | undefined { - const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getMaxLines(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + private setDistributedFilesDir_serialize(distributedFilesDir: string): void { + ArkUIGeneratedNativeModule._Context_setDistributedFilesDir(this.peer!.ptr, distributedFilesDir) } - private getOverflow_serialize(): TextOverflow | undefined { - const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getOverflow(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + private getResourceDir_serialize(): string { + const retval = ArkUIGeneratedNativeModule._Context_getResourceDir(this.peer!.ptr) + return retval } - private getWordBreak_serialize(): WordBreak | undefined { - const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getWordBreak(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + private setResourceDir_serialize(resourceDir: string): void { + ArkUIGeneratedNativeModule._Context_setResourceDir(this.peer!.ptr, resourceDir) } - private getLeadingMargin_serialize(): number | LeadingMarginPlaceholder | undefined { - const retval = ArkUIGeneratedNativeModule._ParagraphStyle_getLeadingMargin(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + private getCloudFileDir_serialize(): string { + const retval = ArkUIGeneratedNativeModule._Context_getCloudFileDir(this.peer!.ptr) + return retval + } + private setCloudFileDir_serialize(cloudFileDir: string): void { + ArkUIGeneratedNativeModule._Context_setCloudFileDir(this.peer!.ptr, cloudFileDir) } } -export class LineHeightStyleInternal { - public static fromPtr(ptr: KPointer): LineHeightStyle { - const obj: LineHeightStyle = new LineHeightStyle(undefined) - obj.peer = new Finalizable(ptr, LineHeightStyle.getFinalizer()) +export class LayeredDrawableDescriptorInternal { + public static fromPtr(ptr: KPointer): LayeredDrawableDescriptor { + const obj: LayeredDrawableDescriptor = new LayeredDrawableDescriptor(undefined, undefined, undefined) + obj.peer = new Finalizable(ptr, LayeredDrawableDescriptor.getFinalizer()) return obj } } -export class LineHeightStyle implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - get lineHeight(): number { - return this.getLineHeight() - } - static ctor_lineheightstyle(lineHeight: LengthMetrics): KPointer { - const retval = ArkUIGeneratedNativeModule._LineHeightStyle_ctor(toPeerPtr(lineHeight)) +export class LayeredDrawableDescriptor extends DrawableDescriptor implements MaterializedBase { + static ctor_layereddrawabledescriptor(foreground?: DrawableDescriptor, background?: DrawableDescriptor, mask?: DrawableDescriptor): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let foreground_type: int32 = RuntimeType.UNDEFINED + foreground_type = runtimeType(foreground) + thisSerializer.writeInt8(foreground_type) + if ((RuntimeType.UNDEFINED) != (foreground_type)) { + const foreground_value = foreground! + thisSerializer.writeDrawableDescriptor(foreground_value) + } + let background_type: int32 = RuntimeType.UNDEFINED + background_type = runtimeType(background) + thisSerializer.writeInt8(background_type) + if ((RuntimeType.UNDEFINED) != (background_type)) { + const background_value = background! + thisSerializer.writeDrawableDescriptor(background_value) + } + let mask_type: int32 = RuntimeType.UNDEFINED + mask_type = runtimeType(mask) + thisSerializer.writeInt8(mask_type) + if ((RuntimeType.UNDEFINED) != (mask_type)) { + const mask_value = mask! + thisSerializer.writeDrawableDescriptor(mask_value) + } + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor(lineHeight?: LengthMetrics) { - if ((lineHeight) !== (undefined)) - { - const ctorPtr: KPointer = LineHeightStyle.ctor_lineheightstyle((lineHeight)!) - this.peer = new Finalizable(ctorPtr, LineHeightStyle.getFinalizer()) - } + constructor(foreground?: DrawableDescriptor, background?: DrawableDescriptor, mask?: DrawableDescriptor) { + super() + // All constructor parameters are optional. + // It means that the static method call invokes ctor method as well + // when all arguments are undefined. + const ctorPtr: KPointer = LayeredDrawableDescriptor.ctor_layereddrawabledescriptor(foreground, background, mask) + this.peer = new Finalizable(ctorPtr, LayeredDrawableDescriptor.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._LineHeightStyle_getFinalizer() - } - private getLineHeight(): number { - return this.getLineHeight_serialize() - } - private getLineHeight_serialize(): number { - const retval = ArkUIGeneratedNativeModule._LineHeightStyle_getLineHeight(this.peer!.ptr) - return retval + return ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getFinalizer() } -} -export class UrlStyleInternal { - public static fromPtr(ptr: KPointer): UrlStyle { - const obj: UrlStyle = new UrlStyle(undefined) - obj.peer = new Finalizable(ptr, UrlStyle.getFinalizer()) - return obj + public getForeground(): DrawableDescriptor { + return this.getForeground_serialize() } -} -export class UrlStyle implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer + public getBackground(): DrawableDescriptor { + return this.getBackground_serialize() } - get url(): string { - return this.getUrl() + public getMask(): DrawableDescriptor { + return this.getMask_serialize() } - static ctor_urlstyle(url: string): KPointer { - const retval = ArkUIGeneratedNativeModule._UrlStyle_ctor(url) - return retval + public static getMaskClipPath(): string { + return LayeredDrawableDescriptor.getMaskClipPath_serialize() } - constructor(url?: string) { - if ((url) !== (undefined)) - { - const ctorPtr: KPointer = UrlStyle.ctor_urlstyle((url)!) - this.peer = new Finalizable(ctorPtr, UrlStyle.getFinalizer()) - } + private getForeground_serialize(): DrawableDescriptor { + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getForeground(this.peer!.ptr) + const obj: DrawableDescriptor = DrawableDescriptorInternal.fromPtr(retval) + return obj } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._UrlStyle_getFinalizer() + private getBackground_serialize(): DrawableDescriptor { + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getBackground(this.peer!.ptr) + const obj: DrawableDescriptor = DrawableDescriptorInternal.fromPtr(retval) + return obj } - private getUrl(): string { - return this.getUrl_serialize() + private getMask_serialize(): DrawableDescriptor { + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getMask(this.peer!.ptr) + const obj: DrawableDescriptor = DrawableDescriptorInternal.fromPtr(retval) + return obj } - private getUrl_serialize(): string { - const retval = ArkUIGeneratedNativeModule._UrlStyle_getUrl(this.peer!.ptr) + private static getMaskClipPath_serialize(): string { + const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getMaskClipPath() return retval } } -export class ImageAttachmentInternal { - public static fromPtr(ptr: KPointer): ImageAttachment { - const obj: ImageAttachment = new ImageAttachment(undefined) - obj.peer = new Finalizable(ptr, ImageAttachment.getFinalizer()) +export class PixelMapDrawableDescriptorInternal { + public static fromPtr(ptr: KPointer): PixelMapDrawableDescriptor { + const obj: PixelMapDrawableDescriptor = new PixelMapDrawableDescriptor(undefined) + obj.peer = new Finalizable(ptr, PixelMapDrawableDescriptor.getFinalizer()) return obj } } -export class ImageAttachment implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - get value(): PixelMap { - return this.getValue() - } - get size(): SizeOptions | undefined { - throw new Error("Not implemented") +export class PixelMapDrawableDescriptor extends DrawableDescriptor implements MaterializedBase { + static ctor_pixelmapdrawabledescriptor(src?: PixelMap): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let src_type: int32 = RuntimeType.UNDEFINED + src_type = runtimeType(src) + thisSerializer.writeInt8(src_type) + if ((RuntimeType.UNDEFINED) != (src_type)) { + const src_value = src! + thisSerializer.writePixelMap(src_value) + } + const retval = ArkUIGeneratedNativeModule._PixelMapDrawableDescriptor_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + return retval } - get verticalAlign(): ImageSpanAlignment | undefined { - return this.getVerticalAlign() + constructor(src?: PixelMap) { + super() + const ctorPtr: KPointer = PixelMapDrawableDescriptor.ctor_pixelmapdrawabledescriptor(src) + this.peer = new Finalizable(ctorPtr, PixelMapDrawableDescriptor.getFinalizer()) } - get objectFit(): ImageFit | undefined { - return this.getObjectFit() + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PixelMapDrawableDescriptor_getFinalizer() } - get layoutStyle(): ImageAttachmentLayoutStyle | undefined { - throw new Error("Not implemented") +} +export class AnimatedDrawableDescriptorInternal { + public static fromPtr(ptr: KPointer): AnimatedDrawableDescriptor { + const obj: AnimatedDrawableDescriptor = new AnimatedDrawableDescriptor(undefined, undefined) + obj.peer = new Finalizable(ptr, AnimatedDrawableDescriptor.getFinalizer()) + return obj } - static ctor_imageattachment(value: ImageAttachmentInterface): KPointer { +} +export class AnimatedDrawableDescriptor extends DrawableDescriptor implements MaterializedBase { + static ctor_animateddrawabledescriptor(pixelMaps: Array, options?: AnimationOptions): KPointer { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeImageAttachmentInterface(value) - const retval = ArkUIGeneratedNativeModule._ImageAttachment_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeInt32(pixelMaps.length) + for (let i = 0; i < pixelMaps.length; i++) { + const pixelMaps_element: PixelMap = pixelMaps[i] + thisSerializer.writePixelMap(pixelMaps_element) + } + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeAnimationOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._AnimatedDrawableDescriptor_ctor(thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() return retval } - constructor(value?: ImageAttachmentInterface) { - if ((value) !== (undefined)) + constructor(pixelMaps?: Array, options?: AnimationOptions) { + super() + if (((pixelMaps) !== (undefined)) || ((options) !== (undefined))) { - const ctorPtr: KPointer = ImageAttachment.ctor_imageattachment((value)!) - this.peer = new Finalizable(ctorPtr, ImageAttachment.getFinalizer()) + const ctorPtr: KPointer = AnimatedDrawableDescriptor.ctor_animateddrawabledescriptor((pixelMaps)!, options) + this.peer = new Finalizable(ctorPtr, AnimatedDrawableDescriptor.getFinalizer()) } } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ImageAttachment_getFinalizer() - } - private getValue(): PixelMap { - return this.getValue_serialize() - } - private getSize(): SizeOptions | undefined { - return this.getSize_serialize() - } - private getVerticalAlign(): ImageSpanAlignment | undefined { - return this.getVerticalAlign_serialize() - } - private getObjectFit(): ImageFit | undefined { - return this.getObjectFit_serialize() - } - private getLayoutStyle(): ImageAttachmentLayoutStyle | undefined { - return this.getLayoutStyle_serialize() - } - private getValue_serialize(): PixelMap { - const retval = ArkUIGeneratedNativeModule._ImageAttachment_getValue(this.peer!.ptr) - const obj: PixelMap = PixelMapInternal.fromPtr(retval) - return obj - } - private getSize_serialize(): SizeOptions | undefined { - const retval = ArkUIGeneratedNativeModule._ImageAttachment_getSize(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") - } - private getVerticalAlign_serialize(): ImageSpanAlignment | undefined { - const retval = ArkUIGeneratedNativeModule._ImageAttachment_getVerticalAlign(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") - } - private getObjectFit_serialize(): ImageFit | undefined { - const retval = ArkUIGeneratedNativeModule._ImageAttachment_getObjectFit(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") - } - private getLayoutStyle_serialize(): ImageAttachmentLayoutStyle | undefined { - const retval = ArkUIGeneratedNativeModule._ImageAttachment_getLayoutStyle(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") + return ArkUIGeneratedNativeModule._AnimatedDrawableDescriptor_getFinalizer() } } -export class CustomSpanInternal { - public static fromPtr(ptr: KPointer): CustomSpan { - const obj: CustomSpan = new CustomSpan() - obj.peer = new Finalizable(ptr, CustomSpan.getFinalizer()) +export class ScaleSymbolEffectInternal { + public static fromPtr(ptr: KPointer): ScaleSymbolEffect { + const obj: ScaleSymbolEffect = new ScaleSymbolEffect(undefined, undefined) + obj.peer = new Finalizable(ptr, ScaleSymbolEffect.getFinalizer()) return obj } } -export class CustomSpan implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - get onMeasure(): ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics) { - throw new Error("Not implemented") +export class ScaleSymbolEffect extends SymbolEffect implements MaterializedBase { + get scope(): EffectScope | undefined { + return this.getScope() } - set onMeasure(onMeasure: ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics)) { - this.setOnMeasure(onMeasure) + set scope(scope: EffectScope | undefined) { + const scope_NonNull = (scope as EffectScope) + this.setScope(scope_NonNull) } - get onDraw(): ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void) { - throw new Error("Not implemented") + get direction(): EffectDirection | undefined { + return this.getDirection() } - set onDraw(onDraw: ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void)) { - this.setOnDraw(onDraw) + set direction(direction: EffectDirection | undefined) { + const direction_NonNull = (direction as EffectDirection) + this.setDirection(direction_NonNull) } - static ctor_customspan(): KPointer { - const retval = ArkUIGeneratedNativeModule._CustomSpan_ctor() + static ctor_scalesymboleffect(scope?: EffectScope, direction?: EffectDirection): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let scope_type: int32 = RuntimeType.UNDEFINED + scope_type = runtimeType(scope) + thisSerializer.writeInt8(scope_type) + if ((RuntimeType.UNDEFINED) != (scope_type)) { + const scope_value = scope! + thisSerializer.writeInt32(scope_value.valueOf()) + } + let direction_type: int32 = RuntimeType.UNDEFINED + direction_type = runtimeType(direction) + thisSerializer.writeInt8(direction_type) + if ((RuntimeType.UNDEFINED) != (direction_type)) { + const direction_value = direction! + thisSerializer.writeInt32(direction_value.valueOf()) + } + const retval = ArkUIGeneratedNativeModule._ScaleSymbolEffect_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor() { - const ctorPtr: KPointer = CustomSpan.ctor_customspan() - this.peer = new Finalizable(ctorPtr, CustomSpan.getFinalizer()) + constructor(scope?: EffectScope, direction?: EffectDirection) { + super() + const ctorPtr: KPointer = ScaleSymbolEffect.ctor_scalesymboleffect(scope, direction) + this.peer = new Finalizable(ctorPtr, ScaleSymbolEffect.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._CustomSpan_getFinalizer() - } - public invalidate(): void { - this?.invalidate_serialize() - return + return ArkUIGeneratedNativeModule._ScaleSymbolEffect_getFinalizer() } - private getOnMeasure(): ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics) { - return this.getOnMeasure_serialize() + private getScope(): EffectScope | undefined { + return this.getScope_serialize() } - private setOnMeasure(onMeasure: ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics)): void { - const onMeasure_casted = onMeasure as (((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics)) - this?.setOnMeasure_serialize(onMeasure_casted) + private setScope(scope: EffectScope): void { + const scope_casted = scope as (EffectScope) + this?.setScope_serialize(scope_casted) return } - private getOnDraw(): ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void) { - return this.getOnDraw_serialize() + private getDirection(): EffectDirection | undefined { + return this.getDirection_serialize() } - private setOnDraw(onDraw: ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void)): void { - const onDraw_casted = onDraw as (((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void)) - this?.setOnDraw_serialize(onDraw_casted) + private setDirection(direction: EffectDirection): void { + const direction_casted = direction as (EffectDirection) + this?.setDirection_serialize(direction_casted) return } - private invalidate_serialize(): void { - ArkUIGeneratedNativeModule._CustomSpan_invalidate(this.peer!.ptr) - } - private getOnMeasure_serialize(): ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics) { - const retval = ArkUIGeneratedNativeModule._CustomSpan_getOnMeasure(this.peer!.ptr) + private getScope_serialize(): EffectScope | undefined { + const retval = ArkUIGeneratedNativeModule._ScaleSymbolEffect_getScope(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setOnMeasure_serialize(onMeasure: ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(onMeasure) - ArkUIGeneratedNativeModule._CustomSpan_setOnMeasure(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private setScope_serialize(scope: EffectScope): void { + ArkUIGeneratedNativeModule._ScaleSymbolEffect_setScope(this.peer!.ptr, scope.valueOf()) } - private getOnDraw_serialize(): ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void) { - const retval = ArkUIGeneratedNativeModule._CustomSpan_getOnDraw(this.peer!.ptr) + private getDirection_serialize(): EffectDirection | undefined { + const retval = ArkUIGeneratedNativeModule._ScaleSymbolEffect_getDirection(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setOnDraw_serialize(onDraw: ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(onDraw) - ArkUIGeneratedNativeModule._CustomSpan_setOnDraw(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + private setDirection_serialize(direction: EffectDirection): void { + ArkUIGeneratedNativeModule._ScaleSymbolEffect_setDirection(this.peer!.ptr, direction.valueOf()) } } -export class LinearIndicatorControllerInternal { - public static fromPtr(ptr: KPointer): LinearIndicatorController { - const obj: LinearIndicatorController = new LinearIndicatorController() - obj.peer = new Finalizable(ptr, LinearIndicatorController.getFinalizer()) +export class ReplaceSymbolEffectInternal { + public static fromPtr(ptr: KPointer): ReplaceSymbolEffect { + const obj: ReplaceSymbolEffect = new ReplaceSymbolEffect(undefined) + obj.peer = new Finalizable(ptr, ReplaceSymbolEffect.getFinalizer()) return obj } } -export class LinearIndicatorController implements MaterializedBase { - peer?: Finalizable | undefined = undefined - public getPeer(): Finalizable | undefined { - return this.peer +export class ReplaceSymbolEffect extends SymbolEffect implements MaterializedBase { + get scope(): EffectScope | undefined { + return this.getScope() } - static ctor_linearindicatorcontroller(): KPointer { - const retval = ArkUIGeneratedNativeModule._LinearIndicatorController_ctor() + set scope(scope: EffectScope | undefined) { + const scope_NonNull = (scope as EffectScope) + this.setScope(scope_NonNull) + } + static ctor_replacesymboleffect(scope?: EffectScope): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let scope_type: int32 = RuntimeType.UNDEFINED + scope_type = runtimeType(scope) + thisSerializer.writeInt8(scope_type) + if ((RuntimeType.UNDEFINED) != (scope_type)) { + const scope_value = scope! + thisSerializer.writeInt32(scope_value.valueOf()) + } + const retval = ArkUIGeneratedNativeModule._ReplaceSymbolEffect_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() return retval } - constructor() { - const ctorPtr: KPointer = LinearIndicatorController.ctor_linearindicatorcontroller() - this.peer = new Finalizable(ctorPtr, LinearIndicatorController.getFinalizer()) + constructor(scope?: EffectScope) { + super() + const ctorPtr: KPointer = ReplaceSymbolEffect.ctor_replacesymboleffect(scope) + this.peer = new Finalizable(ctorPtr, ReplaceSymbolEffect.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._LinearIndicatorController_getFinalizer() - } - public setProgress(index: number, progress: number): void { - const index_casted = index as (number) - const progress_casted = progress as (number) - this?.setProgress_serialize(index_casted, progress_casted) - return - } - public start(options?: LinearIndicatorStartOptions): void { - const options_casted = options as (LinearIndicatorStartOptions | undefined) - this?.start_serialize(options_casted) - return + return ArkUIGeneratedNativeModule._ReplaceSymbolEffect_getFinalizer() } - public pause(): void { - this?.pause_serialize() - return + private getScope(): EffectScope | undefined { + return this.getScope_serialize() } - public stop(): void { - this?.stop_serialize() + private setScope(scope: EffectScope): void { + const scope_casted = scope as (EffectScope) + this?.setScope_serialize(scope_casted) return } - private setProgress_serialize(index: number, progress: number): void { - ArkUIGeneratedNativeModule._LinearIndicatorController_setProgress(this.peer!.ptr, index, progress) - } - private start_serialize(options?: LinearIndicatorStartOptions): void { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeLinearIndicatorStartOptions(options_value) - } - ArkUIGeneratedNativeModule._LinearIndicatorController_start(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private pause_serialize(): void { - ArkUIGeneratedNativeModule._LinearIndicatorController_pause(this.peer!.ptr) + private getScope_serialize(): EffectScope | undefined { + const retval = ArkUIGeneratedNativeModule._ReplaceSymbolEffect_getScope(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private stop_serialize(): void { - ArkUIGeneratedNativeModule._LinearIndicatorController_stop(this.peer!.ptr) + private setScope_serialize(scope: EffectScope): void { + ArkUIGeneratedNativeModule._ReplaceSymbolEffect_setScope(this.peer!.ptr, scope.valueOf()) } } -export class ContextInternal { - public static fromPtr(ptr: KPointer): Context { - const obj: Context = new Context() - obj.peer = new Finalizable(ptr, Context.getFinalizer()) - return obj +export interface ClickEvent { + displayX: number + displayY: number + windowX: number + windowY: number + screenX: number + screenY: number + x: number + y: number + hand?: InteractionHand | undefined + preventDefault: (() => void) +} +export class ClickEventInternal extends BaseEventInternal implements MaterializedBase,ClickEvent { + get displayX(): number { + return this.getDisplayX() } -} -export class Context extends BaseContext implements MaterializedBase { - get cacheDir(): string { - return this.getCacheDir() + set displayX(displayX: number) { + this.setDisplayX(displayX) } - set cacheDir(cacheDir: string) { - this.setCacheDir(cacheDir) + get displayY(): number { + return this.getDisplayY() } - get tempDir(): string { - return this.getTempDir() + set displayY(displayY: number) { + this.setDisplayY(displayY) } - set tempDir(tempDir: string) { - this.setTempDir(tempDir) + get windowX(): number { + return this.getWindowX() } - get filesDir(): string { - return this.getFilesDir() + set windowX(windowX: number) { + this.setWindowX(windowX) } - set filesDir(filesDir: string) { - this.setFilesDir(filesDir) + get windowY(): number { + return this.getWindowY() } - get databaseDir(): string { - return this.getDatabaseDir() + set windowY(windowY: number) { + this.setWindowY(windowY) } - set databaseDir(databaseDir: string) { - this.setDatabaseDir(databaseDir) + get screenX(): number { + return this.getScreenX() } - get preferencesDir(): string { - return this.getPreferencesDir() + set screenX(screenX: number) { + this.setScreenX(screenX) } - set preferencesDir(preferencesDir: string) { - this.setPreferencesDir(preferencesDir) + get screenY(): number { + return this.getScreenY() } - get bundleCodeDir(): string { - return this.getBundleCodeDir() + set screenY(screenY: number) { + this.setScreenY(screenY) } - set bundleCodeDir(bundleCodeDir: string) { - this.setBundleCodeDir(bundleCodeDir) + get x(): number { + return this.getX() } - get distributedFilesDir(): string { - return this.getDistributedFilesDir() + set x(x: number) { + this.setX(x) } - set distributedFilesDir(distributedFilesDir: string) { - this.setDistributedFilesDir(distributedFilesDir) + get y(): number { + return this.getY() } - get resourceDir(): string { - return this.getResourceDir() + set y(y: number) { + this.setY(y) } - set resourceDir(resourceDir: string) { - this.setResourceDir(resourceDir) + get hand(): InteractionHand | undefined { + return this.getHand() } - get cloudFileDir(): string { - return this.getCloudFileDir() + set hand(hand: InteractionHand | undefined) { + const hand_NonNull = (hand as InteractionHand) + this.setHand(hand_NonNull) } - set cloudFileDir(cloudFileDir: string) { - this.setCloudFileDir(cloudFileDir) + get preventDefault(): (() => void) { + throw new Error("Not implemented") } - static ctor_context(): KPointer { - const retval = ArkUIGeneratedNativeModule._Context_ctor() + set preventDefault(preventDefault: (() => void)) { + this.setPreventDefault(preventDefault) + } + static ctor_clickevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._ClickEvent_ctor() return retval } constructor() { super() - const ctorPtr: KPointer = Context.ctor_context() - this.peer = new Finalizable(ctorPtr, Context.getFinalizer()) + const ctorPtr: KPointer = ClickEventInternal.ctor_clickevent() + this.peer = new Finalizable(ctorPtr, ClickEventInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._Context_getFinalizer() - } - public createBundleContext(bundleName: string): Context { - const bundleName_casted = bundleName as (string) - return this.createBundleContext_serialize(bundleName_casted) - } - public createModuleContext(bundleName: string, moduleName?: string): Context { - const bundleName_type = runtimeType(bundleName) - const moduleName_type = runtimeType(moduleName) - const moduleName_casted = bundleName as (string) - return this.createModuleContext0_serialize(moduleName_casted) - } - public getGroupDir(dataGroupID: string, callback_?: Context_getGroupDir_Callback): string | undefined { - const dataGroupID_type = runtimeType(dataGroupID) - const callback__type = runtimeType(callback_) - const dataGroupID_casted = dataGroupID as (string) - return this.getGroupDir1_serialize(dataGroupID_casted) + return ArkUIGeneratedNativeModule._ClickEvent_getFinalizer() } - private getCacheDir(): string { - return this.getCacheDir_serialize() + private getDisplayX(): number { + return this.getDisplayX_serialize() } - private setCacheDir(cacheDir: string): void { - const cacheDir_casted = cacheDir as (string) - this?.setCacheDir_serialize(cacheDir_casted) + private setDisplayX(displayX: number): void { + const displayX_casted = displayX as (number) + this?.setDisplayX_serialize(displayX_casted) return } - private getTempDir(): string { - return this.getTempDir_serialize() + private getDisplayY(): number { + return this.getDisplayY_serialize() } - private setTempDir(tempDir: string): void { - const tempDir_casted = tempDir as (string) - this?.setTempDir_serialize(tempDir_casted) + private setDisplayY(displayY: number): void { + const displayY_casted = displayY as (number) + this?.setDisplayY_serialize(displayY_casted) return } - private getFilesDir(): string { - return this.getFilesDir_serialize() + private getWindowX(): number { + return this.getWindowX_serialize() } - private setFilesDir(filesDir: string): void { - const filesDir_casted = filesDir as (string) - this?.setFilesDir_serialize(filesDir_casted) + private setWindowX(windowX: number): void { + const windowX_casted = windowX as (number) + this?.setWindowX_serialize(windowX_casted) return } - private getDatabaseDir(): string { - return this.getDatabaseDir_serialize() + private getWindowY(): number { + return this.getWindowY_serialize() } - private setDatabaseDir(databaseDir: string): void { - const databaseDir_casted = databaseDir as (string) - this?.setDatabaseDir_serialize(databaseDir_casted) + private setWindowY(windowY: number): void { + const windowY_casted = windowY as (number) + this?.setWindowY_serialize(windowY_casted) return } - private getPreferencesDir(): string { - return this.getPreferencesDir_serialize() + private getScreenX(): number { + return this.getScreenX_serialize() } - private setPreferencesDir(preferencesDir: string): void { - const preferencesDir_casted = preferencesDir as (string) - this?.setPreferencesDir_serialize(preferencesDir_casted) + private setScreenX(screenX: number): void { + const screenX_casted = screenX as (number) + this?.setScreenX_serialize(screenX_casted) return } - private getBundleCodeDir(): string { - return this.getBundleCodeDir_serialize() + private getScreenY(): number { + return this.getScreenY_serialize() } - private setBundleCodeDir(bundleCodeDir: string): void { - const bundleCodeDir_casted = bundleCodeDir as (string) - this?.setBundleCodeDir_serialize(bundleCodeDir_casted) + private setScreenY(screenY: number): void { + const screenY_casted = screenY as (number) + this?.setScreenY_serialize(screenY_casted) return } - private getDistributedFilesDir(): string { - return this.getDistributedFilesDir_serialize() + private getX(): number { + return this.getX_serialize() } - private setDistributedFilesDir(distributedFilesDir: string): void { - const distributedFilesDir_casted = distributedFilesDir as (string) - this?.setDistributedFilesDir_serialize(distributedFilesDir_casted) + private setX(x: number): void { + const x_casted = x as (number) + this?.setX_serialize(x_casted) return } - private getResourceDir(): string { - return this.getResourceDir_serialize() + private getY(): number { + return this.getY_serialize() } - private setResourceDir(resourceDir: string): void { - const resourceDir_casted = resourceDir as (string) - this?.setResourceDir_serialize(resourceDir_casted) + private setY(y: number): void { + const y_casted = y as (number) + this?.setY_serialize(y_casted) return } - private getCloudFileDir(): string { - return this.getCloudFileDir_serialize() + private getHand(): InteractionHand | undefined { + return this.getHand_serialize() } - private setCloudFileDir(cloudFileDir: string): void { - const cloudFileDir_casted = cloudFileDir as (string) - this?.setCloudFileDir_serialize(cloudFileDir_casted) + private setHand(hand: InteractionHand): void { + const hand_casted = hand as (InteractionHand) + this?.setHand_serialize(hand_casted) return } - private createBundleContext_serialize(bundleName: string): Context { - const retval = ArkUIGeneratedNativeModule._Context_createBundleContext(this.peer!.ptr, bundleName) - const obj: Context = ContextInternal.fromPtr(retval) - return obj - } - private createModuleContext0_serialize(moduleName: string): Context { - const retval = ArkUIGeneratedNativeModule._Context_createModuleContext0(this.peer!.ptr, moduleName) - const obj: Context = ContextInternal.fromPtr(retval) - return obj - } - private createModuleContext1_serialize(bundleName: string, moduleName: string): Context { - const retval = ArkUIGeneratedNativeModule._Context_createModuleContext1(this.peer!.ptr, bundleName, moduleName) - const obj: Context = ContextInternal.fromPtr(retval) - return obj - } - private getGroupDir0_serialize(dataGroupID: string, callback_: Context_getGroupDir_Callback): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback_) - ArkUIGeneratedNativeModule._Context_getGroupDir0(this.peer!.ptr, dataGroupID, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private getGroupDir1_serialize(dataGroupID: string): string { - const retval = ArkUIGeneratedNativeModule._Context_getGroupDir1(this.peer!.ptr, dataGroupID) - return retval - } - private getCacheDir_serialize(): string { - const retval = ArkUIGeneratedNativeModule._Context_getCacheDir(this.peer!.ptr) - return retval + private getPreventDefault(): (() => void) { + return this.getPreventDefault_serialize() } - private setCacheDir_serialize(cacheDir: string): void { - ArkUIGeneratedNativeModule._Context_setCacheDir(this.peer!.ptr, cacheDir) + private setPreventDefault(preventDefault: (() => void)): void { + const preventDefault_casted = preventDefault as ((() => void)) + this?.setPreventDefault_serialize(preventDefault_casted) + return } - private getTempDir_serialize(): string { - const retval = ArkUIGeneratedNativeModule._Context_getTempDir(this.peer!.ptr) + private getDisplayX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getDisplayX(this.peer!.ptr) return retval } - private setTempDir_serialize(tempDir: string): void { - ArkUIGeneratedNativeModule._Context_setTempDir(this.peer!.ptr, tempDir) + private setDisplayX_serialize(displayX: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setDisplayX(this.peer!.ptr, displayX) } - private getFilesDir_serialize(): string { - const retval = ArkUIGeneratedNativeModule._Context_getFilesDir(this.peer!.ptr) + private getDisplayY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getDisplayY(this.peer!.ptr) return retval } - private setFilesDir_serialize(filesDir: string): void { - ArkUIGeneratedNativeModule._Context_setFilesDir(this.peer!.ptr, filesDir) + private setDisplayY_serialize(displayY: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setDisplayY(this.peer!.ptr, displayY) } - private getDatabaseDir_serialize(): string { - const retval = ArkUIGeneratedNativeModule._Context_getDatabaseDir(this.peer!.ptr) + private getWindowX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getWindowX(this.peer!.ptr) return retval } - private setDatabaseDir_serialize(databaseDir: string): void { - ArkUIGeneratedNativeModule._Context_setDatabaseDir(this.peer!.ptr, databaseDir) + private setWindowX_serialize(windowX: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setWindowX(this.peer!.ptr, windowX) } - private getPreferencesDir_serialize(): string { - const retval = ArkUIGeneratedNativeModule._Context_getPreferencesDir(this.peer!.ptr) + private getWindowY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getWindowY(this.peer!.ptr) return retval } - private setPreferencesDir_serialize(preferencesDir: string): void { - ArkUIGeneratedNativeModule._Context_setPreferencesDir(this.peer!.ptr, preferencesDir) + private setWindowY_serialize(windowY: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setWindowY(this.peer!.ptr, windowY) } - private getBundleCodeDir_serialize(): string { - const retval = ArkUIGeneratedNativeModule._Context_getBundleCodeDir(this.peer!.ptr) + private getScreenX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getScreenX(this.peer!.ptr) return retval } - private setBundleCodeDir_serialize(bundleCodeDir: string): void { - ArkUIGeneratedNativeModule._Context_setBundleCodeDir(this.peer!.ptr, bundleCodeDir) + private setScreenX_serialize(screenX: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setScreenX(this.peer!.ptr, screenX) } - private getDistributedFilesDir_serialize(): string { - const retval = ArkUIGeneratedNativeModule._Context_getDistributedFilesDir(this.peer!.ptr) + private getScreenY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getScreenY(this.peer!.ptr) return retval } - private setDistributedFilesDir_serialize(distributedFilesDir: string): void { - ArkUIGeneratedNativeModule._Context_setDistributedFilesDir(this.peer!.ptr, distributedFilesDir) + private setScreenY_serialize(screenY: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setScreenY(this.peer!.ptr, screenY) } - private getResourceDir_serialize(): string { - const retval = ArkUIGeneratedNativeModule._Context_getResourceDir(this.peer!.ptr) + private getX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getX(this.peer!.ptr) return retval } - private setResourceDir_serialize(resourceDir: string): void { - ArkUIGeneratedNativeModule._Context_setResourceDir(this.peer!.ptr, resourceDir) + private setX_serialize(x: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setX(this.peer!.ptr, x) } - private getCloudFileDir_serialize(): string { - const retval = ArkUIGeneratedNativeModule._Context_getCloudFileDir(this.peer!.ptr) + private getY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getY(this.peer!.ptr) return retval } - private setCloudFileDir_serialize(cloudFileDir: string): void { - ArkUIGeneratedNativeModule._Context_setCloudFileDir(this.peer!.ptr, cloudFileDir) + private setY_serialize(y: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setY(this.peer!.ptr, y) } -} -export class LayeredDrawableDescriptorInternal { - public static fromPtr(ptr: KPointer): LayeredDrawableDescriptor { - const obj: LayeredDrawableDescriptor = new LayeredDrawableDescriptor(undefined, undefined, undefined) - obj.peer = new Finalizable(ptr, LayeredDrawableDescriptor.getFinalizer()) - return obj + private getHand_serialize(): InteractionHand | undefined { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getHand(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } -} -export class LayeredDrawableDescriptor extends DrawableDescriptor implements MaterializedBase { - static ctor_layereddrawabledescriptor(foreground?: DrawableDescriptor, background?: DrawableDescriptor, mask?: DrawableDescriptor): KPointer { + private setHand_serialize(hand: InteractionHand): void { + ArkUIGeneratedNativeModule._ClickEvent_setHand(this.peer!.ptr, hand.valueOf()) + } + private getPreventDefault_serialize(): (() => void) { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getPreventDefault(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setPreventDefault_serialize(preventDefault: (() => void)): void { const thisSerializer: Serializer = Serializer.hold() - let foreground_type: int32 = RuntimeType.UNDEFINED - foreground_type = runtimeType(foreground) - thisSerializer.writeInt8(foreground_type) - if ((RuntimeType.UNDEFINED) != (foreground_type)) { - const foreground_value = foreground! - thisSerializer.writeDrawableDescriptor(foreground_value) - } - let background_type: int32 = RuntimeType.UNDEFINED - background_type = runtimeType(background) - thisSerializer.writeInt8(background_type) - if ((RuntimeType.UNDEFINED) != (background_type)) { - const background_value = background! - thisSerializer.writeDrawableDescriptor(background_value) - } - let mask_type: int32 = RuntimeType.UNDEFINED - mask_type = runtimeType(mask) - thisSerializer.writeInt8(mask_type) - if ((RuntimeType.UNDEFINED) != (mask_type)) { - const mask_value = mask! - thisSerializer.writeDrawableDescriptor(mask_value) - } - const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_ctor(thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.holdAndWriteCallback(preventDefault) + ArkUIGeneratedNativeModule._ClickEvent_setPreventDefault(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() - return retval } - constructor(foreground?: DrawableDescriptor, background?: DrawableDescriptor, mask?: DrawableDescriptor) { - super() - // All constructor parameters are optional. - // It means that the static method call invokes ctor method as well - // when all arguments are undefined. - const ctorPtr: KPointer = LayeredDrawableDescriptor.ctor_layereddrawabledescriptor(foreground, background, mask) - this.peer = new Finalizable(ctorPtr, LayeredDrawableDescriptor.getFinalizer()) + public static fromPtr(ptr: KPointer): ClickEventInternal { + const obj: ClickEventInternal = new ClickEventInternal() + obj.peer = new Finalizable(ptr, ClickEventInternal.getFinalizer()) + return obj } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getFinalizer() +} +export interface HoverEvent { + x?: number | undefined + y?: number | undefined + windowX?: number | undefined + windowY?: number | undefined + displayX?: number | undefined + displayY?: number | undefined + stopPropagation: (() => void) +} +export class HoverEventInternal extends BaseEventInternal implements MaterializedBase,HoverEvent { + get x(): number | undefined { + return this.getX() } - public getForeground(): DrawableDescriptor { - return this.getForeground_serialize() + set x(x: number | undefined) { + const x_NonNull = (x as number) + this.setX(x_NonNull) } - public getBackground(): DrawableDescriptor { - return this.getBackground_serialize() + get y(): number | undefined { + return this.getY() } - public getMask(): DrawableDescriptor { - return this.getMask_serialize() + set y(y: number | undefined) { + const y_NonNull = (y as number) + this.setY(y_NonNull) } - public static getMaskClipPath(): string { - return LayeredDrawableDescriptor.getMaskClipPath_serialize() + get windowX(): number | undefined { + return this.getWindowX() } - private getForeground_serialize(): DrawableDescriptor { - const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getForeground(this.peer!.ptr) - const obj: DrawableDescriptor = DrawableDescriptorInternal.fromPtr(retval) - return obj + set windowX(windowX: number | undefined) { + const windowX_NonNull = (windowX as number) + this.setWindowX(windowX_NonNull) } - private getBackground_serialize(): DrawableDescriptor { - const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getBackground(this.peer!.ptr) - const obj: DrawableDescriptor = DrawableDescriptorInternal.fromPtr(retval) - return obj + get windowY(): number | undefined { + return this.getWindowY() } - private getMask_serialize(): DrawableDescriptor { - const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getMask(this.peer!.ptr) - const obj: DrawableDescriptor = DrawableDescriptorInternal.fromPtr(retval) - return obj + set windowY(windowY: number | undefined) { + const windowY_NonNull = (windowY as number) + this.setWindowY(windowY_NonNull) } - private static getMaskClipPath_serialize(): string { - const retval = ArkUIGeneratedNativeModule._LayeredDrawableDescriptor_getMaskClipPath() - return retval + get displayX(): number | undefined { + return this.getDisplayX() } -} -export class PixelMapDrawableDescriptorInternal { - public static fromPtr(ptr: KPointer): PixelMapDrawableDescriptor { - const obj: PixelMapDrawableDescriptor = new PixelMapDrawableDescriptor(undefined) - obj.peer = new Finalizable(ptr, PixelMapDrawableDescriptor.getFinalizer()) - return obj + set displayX(displayX: number | undefined) { + const displayX_NonNull = (displayX as number) + this.setDisplayX(displayX_NonNull) } -} -export class PixelMapDrawableDescriptor extends DrawableDescriptor implements MaterializedBase { - static ctor_pixelmapdrawabledescriptor(src?: PixelMap): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let src_type: int32 = RuntimeType.UNDEFINED - src_type = runtimeType(src) - thisSerializer.writeInt8(src_type) - if ((RuntimeType.UNDEFINED) != (src_type)) { - const src_value = src! - thisSerializer.writePixelMap(src_value) - } - const retval = ArkUIGeneratedNativeModule._PixelMapDrawableDescriptor_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval + get displayY(): number | undefined { + return this.getDisplayY() } - constructor(src?: PixelMap) { - super() - const ctorPtr: KPointer = PixelMapDrawableDescriptor.ctor_pixelmapdrawabledescriptor(src) - this.peer = new Finalizable(ctorPtr, PixelMapDrawableDescriptor.getFinalizer()) + set displayY(displayY: number | undefined) { + const displayY_NonNull = (displayY as number) + this.setDisplayY(displayY_NonNull) } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._PixelMapDrawableDescriptor_getFinalizer() + get stopPropagation(): (() => void) { + throw new Error("Not implemented") } -} -export class AnimatedDrawableDescriptorInternal { - public static fromPtr(ptr: KPointer): AnimatedDrawableDescriptor { - const obj: AnimatedDrawableDescriptor = new AnimatedDrawableDescriptor(undefined, undefined) - obj.peer = new Finalizable(ptr, AnimatedDrawableDescriptor.getFinalizer()) - return obj + set stopPropagation(stopPropagation: (() => void)) { + this.setStopPropagation(stopPropagation) } -} -export class AnimatedDrawableDescriptor extends DrawableDescriptor implements MaterializedBase { - static ctor_animateddrawabledescriptor(pixelMaps: Array, options?: AnimationOptions): KPointer { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(pixelMaps.length) - for (let i = 0; i < pixelMaps.length; i++) { - const pixelMaps_element: PixelMap = pixelMaps[i] - thisSerializer.writePixelMap(pixelMaps_element) - } - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeAnimationOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._AnimatedDrawableDescriptor_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() + static ctor_hoverevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._HoverEvent_ctor() return retval } - constructor(pixelMaps?: Array, options?: AnimationOptions) { + constructor() { super() - if (((pixelMaps) !== (undefined)) || ((options) !== (undefined))) - { - const ctorPtr: KPointer = AnimatedDrawableDescriptor.ctor_animateddrawabledescriptor((pixelMaps)!, options) - this.peer = new Finalizable(ctorPtr, AnimatedDrawableDescriptor.getFinalizer()) - } + const ctorPtr: KPointer = HoverEventInternal.ctor_hoverevent() + this.peer = new Finalizable(ctorPtr, HoverEventInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._AnimatedDrawableDescriptor_getFinalizer() + return ArkUIGeneratedNativeModule._HoverEvent_getFinalizer() } -} -export class ScaleSymbolEffectInternal { - public static fromPtr(ptr: KPointer): ScaleSymbolEffect { - const obj: ScaleSymbolEffect = new ScaleSymbolEffect(undefined, undefined) - obj.peer = new Finalizable(ptr, ScaleSymbolEffect.getFinalizer()) - return obj + private getX(): number | undefined { + return this.getX_serialize() } -} -export class ScaleSymbolEffect extends SymbolEffect implements MaterializedBase { - get scope(): EffectScope | undefined { - return this.getScope() + private setX(x: number): void { + const x_casted = x as (number) + this?.setX_serialize(x_casted) + return } - set scope(scope: EffectScope | undefined) { - const scope_NonNull = (scope as EffectScope) - this.setScope(scope_NonNull) + private getY(): number | undefined { + return this.getY_serialize() } - get direction(): EffectDirection | undefined { - return this.getDirection() + private setY(y: number): void { + const y_casted = y as (number) + this?.setY_serialize(y_casted) + return } - set direction(direction: EffectDirection | undefined) { - const direction_NonNull = (direction as EffectDirection) - this.setDirection(direction_NonNull) + private getWindowX(): number | undefined { + return this.getWindowX_serialize() } - static ctor_scalesymboleffect(scope?: EffectScope, direction?: EffectDirection): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let scope_type: int32 = RuntimeType.UNDEFINED - scope_type = runtimeType(scope) - thisSerializer.writeInt8(scope_type) - if ((RuntimeType.UNDEFINED) != (scope_type)) { - const scope_value = scope! - thisSerializer.writeInt32(scope_value.valueOf()) - } - let direction_type: int32 = RuntimeType.UNDEFINED - direction_type = runtimeType(direction) - thisSerializer.writeInt8(direction_type) - if ((RuntimeType.UNDEFINED) != (direction_type)) { - const direction_value = direction! - thisSerializer.writeInt32(direction_value.valueOf()) - } - const retval = ArkUIGeneratedNativeModule._ScaleSymbolEffect_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval + private setWindowX(windowX: number): void { + const windowX_casted = windowX as (number) + this?.setWindowX_serialize(windowX_casted) + return } - constructor(scope?: EffectScope, direction?: EffectDirection) { - super() - const ctorPtr: KPointer = ScaleSymbolEffect.ctor_scalesymboleffect(scope, direction) - this.peer = new Finalizable(ctorPtr, ScaleSymbolEffect.getFinalizer()) + private getWindowY(): number | undefined { + return this.getWindowY_serialize() + } + private setWindowY(windowY: number): void { + const windowY_casted = windowY as (number) + this?.setWindowY_serialize(windowY_casted) + return + } + private getDisplayX(): number | undefined { + return this.getDisplayX_serialize() } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ScaleSymbolEffect_getFinalizer() + private setDisplayX(displayX: number): void { + const displayX_casted = displayX as (number) + this?.setDisplayX_serialize(displayX_casted) + return } - private getScope(): EffectScope | undefined { - return this.getScope_serialize() + private getDisplayY(): number | undefined { + return this.getDisplayY_serialize() } - private setScope(scope: EffectScope): void { - const scope_casted = scope as (EffectScope) - this?.setScope_serialize(scope_casted) + private setDisplayY(displayY: number): void { + const displayY_casted = displayY as (number) + this?.setDisplayY_serialize(displayY_casted) return } - private getDirection(): EffectDirection | undefined { - return this.getDirection_serialize() + private getStopPropagation(): (() => void) { + return this.getStopPropagation_serialize() } - private setDirection(direction: EffectDirection): void { - const direction_casted = direction as (EffectDirection) - this?.setDirection_serialize(direction_casted) + private setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this?.setStopPropagation_serialize(stopPropagation_casted) return } - private getScope_serialize(): EffectScope | undefined { - const retval = ArkUIGeneratedNativeModule._ScaleSymbolEffect_getScope(this.peer!.ptr) + private getX_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getX(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setScope_serialize(scope: EffectScope): void { - ArkUIGeneratedNativeModule._ScaleSymbolEffect_setScope(this.peer!.ptr, scope.valueOf()) + private setX_serialize(x: number): void { + ArkUIGeneratedNativeModule._HoverEvent_setX(this.peer!.ptr, x) } - private getDirection_serialize(): EffectDirection | undefined { - const retval = ArkUIGeneratedNativeModule._ScaleSymbolEffect_getDirection(this.peer!.ptr) + private getY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getY(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setDirection_serialize(direction: EffectDirection): void { - ArkUIGeneratedNativeModule._ScaleSymbolEffect_setDirection(this.peer!.ptr, direction.valueOf()) + private setY_serialize(y: number): void { + ArkUIGeneratedNativeModule._HoverEvent_setY(this.peer!.ptr, y) } -} -export class ReplaceSymbolEffectInternal { - public static fromPtr(ptr: KPointer): ReplaceSymbolEffect { - const obj: ReplaceSymbolEffect = new ReplaceSymbolEffect(undefined) - obj.peer = new Finalizable(ptr, ReplaceSymbolEffect.getFinalizer()) - return obj + private getWindowX_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getWindowX(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } -} -export class ReplaceSymbolEffect extends SymbolEffect implements MaterializedBase { - get scope(): EffectScope | undefined { - return this.getScope() + private setWindowX_serialize(windowX: number): void { + ArkUIGeneratedNativeModule._HoverEvent_setWindowX(this.peer!.ptr, windowX) } - set scope(scope: EffectScope | undefined) { - const scope_NonNull = (scope as EffectScope) - this.setScope(scope_NonNull) + private getWindowY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getWindowY(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - static ctor_replacesymboleffect(scope?: EffectScope): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let scope_type: int32 = RuntimeType.UNDEFINED - scope_type = runtimeType(scope) - thisSerializer.writeInt8(scope_type) - if ((RuntimeType.UNDEFINED) != (scope_type)) { - const scope_value = scope! - thisSerializer.writeInt32(scope_value.valueOf()) - } - const retval = ArkUIGeneratedNativeModule._ReplaceSymbolEffect_ctor(thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - return retval + private setWindowY_serialize(windowY: number): void { + ArkUIGeneratedNativeModule._HoverEvent_setWindowY(this.peer!.ptr, windowY) } - constructor(scope?: EffectScope) { - super() - const ctorPtr: KPointer = ReplaceSymbolEffect.ctor_replacesymboleffect(scope) - this.peer = new Finalizable(ctorPtr, ReplaceSymbolEffect.getFinalizer()) + private getDisplayX_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getDisplayX(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ReplaceSymbolEffect_getFinalizer() + private setDisplayX_serialize(displayX: number): void { + ArkUIGeneratedNativeModule._HoverEvent_setDisplayX(this.peer!.ptr, displayX) } - private getScope(): EffectScope | undefined { - return this.getScope_serialize() + private getDisplayY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getDisplayY(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private setScope(scope: EffectScope): void { - const scope_casted = scope as (EffectScope) - this?.setScope_serialize(scope_casted) - return + private setDisplayY_serialize(displayY: number): void { + ArkUIGeneratedNativeModule._HoverEvent_setDisplayY(this.peer!.ptr, displayY) } - private getScope_serialize(): EffectScope | undefined { - const retval = ArkUIGeneratedNativeModule._ReplaceSymbolEffect_getScope(this.peer!.ptr) + private getStopPropagation_serialize(): (() => void) { + const retval = ArkUIGeneratedNativeModule._HoverEvent_getStopPropagation(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setScope_serialize(scope: EffectScope): void { - ArkUIGeneratedNativeModule._ReplaceSymbolEffect_setScope(this.peer!.ptr, scope.valueOf()) + private setStopPropagation_serialize(stopPropagation: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(stopPropagation) + ArkUIGeneratedNativeModule._HoverEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): HoverEventInternal { + const obj: HoverEventInternal = new HoverEventInternal() + obj.peer = new Finalizable(ptr, HoverEventInternal.getFinalizer()) + return obj } } -export interface ClickEvent { +export interface MouseEvent { + button: MouseButton + action: MouseAction displayX: number displayY: number windowX: number @@ -13947,9 +14948,24 @@ export interface ClickEvent { screenY: number x: number y: number - preventDefault: (() => void) + stopPropagation: (() => void) + rawDeltaX?: number | undefined + rawDeltaY?: number | undefined + pressedButtons?: Array | undefined } -export class ClickEventInternal extends BaseEventInternal implements MaterializedBase,ClickEvent { +export class MouseEventInternal extends BaseEventInternal implements MaterializedBase,MouseEvent { + get button(): MouseButton { + return this.getButton() + } + set button(button: MouseButton) { + this.setButton(button) + } + get action(): MouseAction { + return this.getAction() + } + set action(action: MouseAction) { + this.setAction(action) + } get displayX(): number { return this.getDisplayX() } @@ -13998,23 +15014,60 @@ export class ClickEventInternal extends BaseEventInternal implements Materialize set y(y: number) { this.setY(y) } - get preventDefault(): (() => void) { + get stopPropagation(): (() => void) { throw new Error("Not implemented") } - set preventDefault(preventDefault: (() => void)) { - this.setPreventDefault(preventDefault) + set stopPropagation(stopPropagation: (() => void)) { + this.setStopPropagation(stopPropagation) } - static ctor_clickevent(): KPointer { - const retval = ArkUIGeneratedNativeModule._ClickEvent_ctor() + get rawDeltaX(): number | undefined { + return this.getRawDeltaX() + } + set rawDeltaX(rawDeltaX: number | undefined) { + const rawDeltaX_NonNull = (rawDeltaX as number) + this.setRawDeltaX(rawDeltaX_NonNull) + } + get rawDeltaY(): number | undefined { + return this.getRawDeltaY() + } + set rawDeltaY(rawDeltaY: number | undefined) { + const rawDeltaY_NonNull = (rawDeltaY as number) + this.setRawDeltaY(rawDeltaY_NonNull) + } + get pressedButtons(): Array | undefined { + throw new Error("Not implemented") + } + set pressedButtons(pressedButtons: Array | undefined) { + const pressedButtons_NonNull = (pressedButtons as Array) + this.setPressedButtons(pressedButtons_NonNull) + } + static ctor_mouseevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._MouseEvent_ctor() return retval } constructor() { super() - const ctorPtr: KPointer = ClickEventInternal.ctor_clickevent() - this.peer = new Finalizable(ctorPtr, ClickEventInternal.getFinalizer()) + const ctorPtr: KPointer = MouseEventInternal.ctor_mouseevent() + this.peer = new Finalizable(ctorPtr, MouseEventInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._ClickEvent_getFinalizer() + return ArkUIGeneratedNativeModule._MouseEvent_getFinalizer() + } + private getButton(): MouseButton { + return this.getButton_serialize() + } + private setButton(button: MouseButton): void { + const button_casted = button as (MouseButton) + this?.setButton_serialize(button_casted) + return + } + private getAction(): MouseAction { + return this.getAction_serialize() + } + private setAction(action: MouseAction): void { + const action_casted = action as (MouseAction) + this?.setAction_serialize(action_casted) + return } private getDisplayX(): number { return this.getDisplayX_serialize() @@ -14080,157 +15133,179 @@ export class ClickEventInternal extends BaseEventInternal implements Materialize this?.setY_serialize(y_casted) return } - private getPreventDefault(): (() => void) { - return this.getPreventDefault_serialize() + private getStopPropagation(): (() => void) { + return this.getStopPropagation_serialize() } - private setPreventDefault(preventDefault: (() => void)): void { - const preventDefault_casted = preventDefault as ((() => void)) - this?.setPreventDefault_serialize(preventDefault_casted) + private setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this?.setStopPropagation_serialize(stopPropagation_casted) + return + } + private getRawDeltaX(): number | undefined { + return this.getRawDeltaX_serialize() + } + private setRawDeltaX(rawDeltaX: number): void { + const rawDeltaX_casted = rawDeltaX as (number) + this?.setRawDeltaX_serialize(rawDeltaX_casted) + return + } + private getRawDeltaY(): number | undefined { + return this.getRawDeltaY_serialize() + } + private setRawDeltaY(rawDeltaY: number): void { + const rawDeltaY_casted = rawDeltaY as (number) + this?.setRawDeltaY_serialize(rawDeltaY_casted) return } + private getPressedButtons(): Array | undefined { + return this.getPressedButtons_serialize() + } + private setPressedButtons(pressedButtons: Array): void { + const pressedButtons_casted = pressedButtons as (Array) + this?.setPressedButtons_serialize(pressedButtons_casted) + return + } + private getButton_serialize(): MouseButton { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getButton(this.peer!.ptr) + return retval + } + private setButton_serialize(button: MouseButton): void { + ArkUIGeneratedNativeModule._MouseEvent_setButton(this.peer!.ptr, button.valueOf()) + } + private getAction_serialize(): MouseAction { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getAction(this.peer!.ptr) + return retval + } + private setAction_serialize(action: MouseAction): void { + ArkUIGeneratedNativeModule._MouseEvent_setAction(this.peer!.ptr, action.valueOf()) + } private getDisplayX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ClickEvent_getDisplayX(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._MouseEvent_getDisplayX(this.peer!.ptr) return retval } private setDisplayX_serialize(displayX: number): void { - ArkUIGeneratedNativeModule._ClickEvent_setDisplayX(this.peer!.ptr, displayX) + ArkUIGeneratedNativeModule._MouseEvent_setDisplayX(this.peer!.ptr, displayX) } private getDisplayY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ClickEvent_getDisplayY(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._MouseEvent_getDisplayY(this.peer!.ptr) return retval } private setDisplayY_serialize(displayY: number): void { - ArkUIGeneratedNativeModule._ClickEvent_setDisplayY(this.peer!.ptr, displayY) + ArkUIGeneratedNativeModule._MouseEvent_setDisplayY(this.peer!.ptr, displayY) } private getWindowX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ClickEvent_getWindowX(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._MouseEvent_getWindowX(this.peer!.ptr) return retval } private setWindowX_serialize(windowX: number): void { - ArkUIGeneratedNativeModule._ClickEvent_setWindowX(this.peer!.ptr, windowX) + ArkUIGeneratedNativeModule._MouseEvent_setWindowX(this.peer!.ptr, windowX) } private getWindowY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ClickEvent_getWindowY(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._MouseEvent_getWindowY(this.peer!.ptr) return retval } private setWindowY_serialize(windowY: number): void { - ArkUIGeneratedNativeModule._ClickEvent_setWindowY(this.peer!.ptr, windowY) + ArkUIGeneratedNativeModule._MouseEvent_setWindowY(this.peer!.ptr, windowY) } private getScreenX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ClickEvent_getScreenX(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._MouseEvent_getScreenX(this.peer!.ptr) return retval } private setScreenX_serialize(screenX: number): void { - ArkUIGeneratedNativeModule._ClickEvent_setScreenX(this.peer!.ptr, screenX) + ArkUIGeneratedNativeModule._MouseEvent_setScreenX(this.peer!.ptr, screenX) } private getScreenY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ClickEvent_getScreenY(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._MouseEvent_getScreenY(this.peer!.ptr) return retval } private setScreenY_serialize(screenY: number): void { - ArkUIGeneratedNativeModule._ClickEvent_setScreenY(this.peer!.ptr, screenY) + ArkUIGeneratedNativeModule._MouseEvent_setScreenY(this.peer!.ptr, screenY) } private getX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ClickEvent_getX(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._MouseEvent_getX(this.peer!.ptr) return retval } private setX_serialize(x: number): void { - ArkUIGeneratedNativeModule._ClickEvent_setX(this.peer!.ptr, x) + ArkUIGeneratedNativeModule._MouseEvent_setX(this.peer!.ptr, x) } private getY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._ClickEvent_getY(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._MouseEvent_getY(this.peer!.ptr) return retval } private setY_serialize(y: number): void { - ArkUIGeneratedNativeModule._ClickEvent_setY(this.peer!.ptr, y) + ArkUIGeneratedNativeModule._MouseEvent_setY(this.peer!.ptr, y) } - private getPreventDefault_serialize(): (() => void) { - const retval = ArkUIGeneratedNativeModule._ClickEvent_getPreventDefault(this.peer!.ptr) + private getStopPropagation_serialize(): (() => void) { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getStopPropagation(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setPreventDefault_serialize(preventDefault: (() => void)): void { + private setStopPropagation_serialize(stopPropagation: (() => void)): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(preventDefault) - ArkUIGeneratedNativeModule._ClickEvent_setPreventDefault(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.holdAndWriteCallback(stopPropagation) + ArkUIGeneratedNativeModule._MouseEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - public static fromPtr(ptr: KPointer): ClickEventInternal { - const obj: ClickEventInternal = new ClickEventInternal() - obj.peer = new Finalizable(ptr, ClickEventInternal.getFinalizer()) - return obj - } -} -export interface HoverEvent { - stopPropagation: (() => void) -} -export class HoverEventInternal extends BaseEventInternal implements MaterializedBase,HoverEvent { - get stopPropagation(): (() => void) { - throw new Error("Not implemented") - } - set stopPropagation(stopPropagation: (() => void)) { - this.setStopPropagation(stopPropagation) - } - static ctor_hoverevent(): KPointer { - const retval = ArkUIGeneratedNativeModule._HoverEvent_ctor() - return retval - } - constructor() { - super() - const ctorPtr: KPointer = HoverEventInternal.ctor_hoverevent() - this.peer = new Finalizable(ctorPtr, HoverEventInternal.getFinalizer()) + private getRawDeltaX_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getRawDeltaX(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._HoverEvent_getFinalizer() + private setRawDeltaX_serialize(rawDeltaX: number): void { + ArkUIGeneratedNativeModule._MouseEvent_setRawDeltaX(this.peer!.ptr, rawDeltaX) } - private getStopPropagation(): (() => void) { - return this.getStopPropagation_serialize() + private getRawDeltaY_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getRawDeltaY(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - private setStopPropagation(stopPropagation: (() => void)): void { - const stopPropagation_casted = stopPropagation as ((() => void)) - this?.setStopPropagation_serialize(stopPropagation_casted) - return + private setRawDeltaY_serialize(rawDeltaY: number): void { + ArkUIGeneratedNativeModule._MouseEvent_setRawDeltaY(this.peer!.ptr, rawDeltaY) } - private getStopPropagation_serialize(): (() => void) { - const retval = ArkUIGeneratedNativeModule._HoverEvent_getStopPropagation(this.peer!.ptr) + private getPressedButtons_serialize(): Array | undefined { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getPressedButtons(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } - private setStopPropagation_serialize(stopPropagation: (() => void)): void { + private setPressedButtons_serialize(pressedButtons: Array): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(stopPropagation) - ArkUIGeneratedNativeModule._HoverEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.writeInt32(pressedButtons.length) + for (let i = 0; i < pressedButtons.length; i++) { + const pressedButtons_element: MouseButton = pressedButtons[i] + thisSerializer.writeInt32(pressedButtons_element.valueOf()) + } + ArkUIGeneratedNativeModule._MouseEvent_setPressedButtons(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - public static fromPtr(ptr: KPointer): HoverEventInternal { - const obj: HoverEventInternal = new HoverEventInternal() - obj.peer = new Finalizable(ptr, HoverEventInternal.getFinalizer()) + public static fromPtr(ptr: KPointer): MouseEventInternal { + const obj: MouseEventInternal = new MouseEventInternal() + obj.peer = new Finalizable(ptr, MouseEventInternal.getFinalizer()) return obj } } -export interface MouseEvent { - button: MouseButton - action: MouseAction +export interface AccessibilityHoverEvent { + type: AccessibilityHoverType + x: number + y: number displayX: number displayY: number windowX: number windowY: number - screenX: number - screenY: number - x: number - y: number - stopPropagation: (() => void) } -export class MouseEventInternal extends BaseEventInternal implements MaterializedBase,MouseEvent { - get button(): MouseButton { - return this.getButton() +export class AccessibilityHoverEventInternal extends BaseEventInternal implements MaterializedBase,AccessibilityHoverEvent { + get type(): AccessibilityHoverType { + return this.getType() } - set button(button: MouseButton) { - this.setButton(button) + set type(type: AccessibilityHoverType) { + this.setType(type) } - get action(): MouseAction { - return this.getAction() + get x(): number { + return this.getX() } - set action(action: MouseAction) { - this.setAction(action) + set x(x: number) { + this.setX(x) + } + get y(): number { + return this.getY() + } + set y(y: number) { + this.setY(y) } get displayX(): number { return this.getDisplayX() @@ -14256,62 +15331,40 @@ export class MouseEventInternal extends BaseEventInternal implements Materialize set windowY(windowY: number) { this.setWindowY(windowY) } - get screenX(): number { - return this.getScreenX() - } - set screenX(screenX: number) { - this.setScreenX(screenX) - } - get screenY(): number { - return this.getScreenY() - } - set screenY(screenY: number) { - this.setScreenY(screenY) - } - get x(): number { - return this.getX() - } - set x(x: number) { - this.setX(x) - } - get y(): number { - return this.getY() - } - set y(y: number) { - this.setY(y) - } - get stopPropagation(): (() => void) { - throw new Error("Not implemented") - } - set stopPropagation(stopPropagation: (() => void)) { - this.setStopPropagation(stopPropagation) - } - static ctor_mouseevent(): KPointer { - const retval = ArkUIGeneratedNativeModule._MouseEvent_ctor() + static ctor_accessibilityhoverevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_ctor() return retval } constructor() { super() - const ctorPtr: KPointer = MouseEventInternal.ctor_mouseevent() - this.peer = new Finalizable(ctorPtr, MouseEventInternal.getFinalizer()) + const ctorPtr: KPointer = AccessibilityHoverEventInternal.ctor_accessibilityhoverevent() + this.peer = new Finalizable(ctorPtr, AccessibilityHoverEventInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._MouseEvent_getFinalizer() + return ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getFinalizer() } - private getButton(): MouseButton { - return this.getButton_serialize() + private getType(): AccessibilityHoverType { + return this.getType_serialize() } - private setButton(button: MouseButton): void { - const button_casted = button as (MouseButton) - this?.setButton_serialize(button_casted) + private setType(type: AccessibilityHoverType): void { + const type_casted = type as (AccessibilityHoverType) + this?.setType_serialize(type_casted) return } - private getAction(): MouseAction { - return this.getAction_serialize() + private getX(): number { + return this.getX_serialize() } - private setAction(action: MouseAction): void { - const action_casted = action as (MouseAction) - this?.setAction_serialize(action_casted) + private setX(x: number): void { + const x_casted = x as (number) + this?.setX_serialize(x_casted) + return + } + private getY(): number { + return this.getY_serialize() + } + private setY(y: number): void { + const y_casted = y as (number) + this?.setY_serialize(y_casted) return } private getDisplayX(): number { @@ -14346,36 +15399,137 @@ export class MouseEventInternal extends BaseEventInternal implements Materialize this?.setWindowY_serialize(windowY_casted) return } - private getScreenX(): number { - return this.getScreenX_serialize() + private getType_serialize(): AccessibilityHoverType { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getType(this.peer!.ptr) + return retval } - private setScreenX(screenX: number): void { - const screenX_casted = screenX as (number) - this?.setScreenX_serialize(screenX_casted) - return + private setType_serialize(type: AccessibilityHoverType): void { + ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setType(this.peer!.ptr, type.valueOf()) } - private getScreenY(): number { - return this.getScreenY_serialize() + private getX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getX(this.peer!.ptr) + return retval } - private setScreenY(screenY: number): void { - const screenY_casted = screenY as (number) - this?.setScreenY_serialize(screenY_casted) + private setX_serialize(x: number): void { + ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setX(this.peer!.ptr, x) + } + private getY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getY(this.peer!.ptr) + return retval + } + private setY_serialize(y: number): void { + ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setY(this.peer!.ptr, y) + } + private getDisplayX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getDisplayX(this.peer!.ptr) + return retval + } + private setDisplayX_serialize(displayX: number): void { + ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setDisplayX(this.peer!.ptr, displayX) + } + private getDisplayY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getDisplayY(this.peer!.ptr) + return retval + } + private setDisplayY_serialize(displayY: number): void { + ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setDisplayY(this.peer!.ptr, displayY) + } + private getWindowX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getWindowX(this.peer!.ptr) + return retval + } + private setWindowX_serialize(windowX: number): void { + ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setWindowX(this.peer!.ptr, windowX) + } + private getWindowY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getWindowY(this.peer!.ptr) + return retval + } + private setWindowY_serialize(windowY: number): void { + ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setWindowY(this.peer!.ptr, windowY) + } + public static fromPtr(ptr: KPointer): AccessibilityHoverEventInternal { + const obj: AccessibilityHoverEventInternal = new AccessibilityHoverEventInternal() + obj.peer = new Finalizable(ptr, AccessibilityHoverEventInternal.getFinalizer()) + return obj + } +} +export interface TouchEvent { + type: TouchType + touches: Array + changedTouches: Array + stopPropagation: (() => void) + preventDefault: (() => void) + getHistoricalPoints(): Array +} +export class TouchEventInternal extends BaseEventInternal implements MaterializedBase,TouchEvent { + get type(): TouchType { + return this.getType() + } + set type(type: TouchType) { + this.setType(type) + } + get touches(): Array { + throw new Error("Not implemented") + } + set touches(touches: Array) { + this.setTouches(touches) + } + get changedTouches(): Array { + throw new Error("Not implemented") + } + set changedTouches(changedTouches: Array) { + this.setChangedTouches(changedTouches) + } + get stopPropagation(): (() => void) { + throw new Error("Not implemented") + } + set stopPropagation(stopPropagation: (() => void)) { + this.setStopPropagation(stopPropagation) + } + get preventDefault(): (() => void) { + throw new Error("Not implemented") + } + set preventDefault(preventDefault: (() => void)) { + this.setPreventDefault(preventDefault) + } + static ctor_touchevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._TouchEvent_ctor() + return retval + } + constructor() { + super() + const ctorPtr: KPointer = TouchEventInternal.ctor_touchevent() + this.peer = new Finalizable(ctorPtr, TouchEventInternal.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TouchEvent_getFinalizer() + } + public getHistoricalPoints(): Array { + return this.getHistoricalPoints_serialize() + } + private getType(): TouchType { + return this.getType_serialize() + } + private setType(type: TouchType): void { + const type_casted = type as (TouchType) + this?.setType_serialize(type_casted) return } - private getX(): number { - return this.getX_serialize() + private getTouches(): Array { + return this.getTouches_serialize() } - private setX(x: number): void { - const x_casted = x as (number) - this?.setX_serialize(x_casted) + private setTouches(touches: Array): void { + const touches_casted = touches as (Array) + this?.setTouches_serialize(touches_casted) return } - private getY(): number { - return this.getY_serialize() + private getChangedTouches(): Array { + return this.getChangedTouches_serialize() } - private setY(y: number): void { - const y_casted = y as (number) - this?.setY_serialize(y_casted) + private setChangedTouches(changedTouches: Array): void { + const changedTouches_casted = changedTouches as (Array) + this?.setChangedTouches_serialize(changedTouches_casted) return } private getStopPropagation(): (() => void) { @@ -14386,119 +15540,119 @@ export class MouseEventInternal extends BaseEventInternal implements Materialize this?.setStopPropagation_serialize(stopPropagation_casted) return } - private getButton_serialize(): MouseButton { - const retval = ArkUIGeneratedNativeModule._MouseEvent_getButton(this.peer!.ptr) - return retval - } - private setButton_serialize(button: MouseButton): void { - ArkUIGeneratedNativeModule._MouseEvent_setButton(this.peer!.ptr, button.valueOf()) - } - private getAction_serialize(): MouseAction { - const retval = ArkUIGeneratedNativeModule._MouseEvent_getAction(this.peer!.ptr) - return retval - } - private setAction_serialize(action: MouseAction): void { - ArkUIGeneratedNativeModule._MouseEvent_setAction(this.peer!.ptr, action.valueOf()) - } - private getDisplayX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._MouseEvent_getDisplayX(this.peer!.ptr) - return retval - } - private setDisplayX_serialize(displayX: number): void { - ArkUIGeneratedNativeModule._MouseEvent_setDisplayX(this.peer!.ptr, displayX) - } - private getDisplayY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._MouseEvent_getDisplayY(this.peer!.ptr) - return retval - } - private setDisplayY_serialize(displayY: number): void { - ArkUIGeneratedNativeModule._MouseEvent_setDisplayY(this.peer!.ptr, displayY) - } - private getWindowX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._MouseEvent_getWindowX(this.peer!.ptr) - return retval - } - private setWindowX_serialize(windowX: number): void { - ArkUIGeneratedNativeModule._MouseEvent_setWindowX(this.peer!.ptr, windowX) - } - private getWindowY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._MouseEvent_getWindowY(this.peer!.ptr) - return retval - } - private setWindowY_serialize(windowY: number): void { - ArkUIGeneratedNativeModule._MouseEvent_setWindowY(this.peer!.ptr, windowY) + private getPreventDefault(): (() => void) { + return this.getPreventDefault_serialize() } - private getScreenX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._MouseEvent_getScreenX(this.peer!.ptr) - return retval + private setPreventDefault(preventDefault: (() => void)): void { + const preventDefault_casted = preventDefault as ((() => void)) + this?.setPreventDefault_serialize(preventDefault_casted) + return } - private setScreenX_serialize(screenX: number): void { - ArkUIGeneratedNativeModule._MouseEvent_setScreenX(this.peer!.ptr, screenX) + private getHistoricalPoints_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._TouchEvent_getHistoricalPoints(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = retvalDeserializer.readHistoricalPoint() + } + const returnResult: Array = buffer + return returnResult } - private getScreenY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._MouseEvent_getScreenY(this.peer!.ptr) + private getType_serialize(): TouchType { + const retval = ArkUIGeneratedNativeModule._TouchEvent_getType(this.peer!.ptr) return retval } - private setScreenY_serialize(screenY: number): void { - ArkUIGeneratedNativeModule._MouseEvent_setScreenY(this.peer!.ptr, screenY) + private setType_serialize(type: TouchType): void { + ArkUIGeneratedNativeModule._TouchEvent_setType(this.peer!.ptr, type.valueOf()) } - private getX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._MouseEvent_getX(this.peer!.ptr) - return retval + private getTouches_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._TouchEvent_getTouches(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = retvalDeserializer.readTouchObject() + } + const returnResult: Array = buffer + return returnResult } - private setX_serialize(x: number): void { - ArkUIGeneratedNativeModule._MouseEvent_setX(this.peer!.ptr, x) + private setTouches_serialize(touches: Array): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(touches.length) + for (let i = 0; i < touches.length; i++) { + const touches_element: TouchObject = touches[i] + thisSerializer.writeTouchObject(touches_element) + } + ArkUIGeneratedNativeModule._TouchEvent_setTouches(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - private getY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._MouseEvent_getY(this.peer!.ptr) - return retval + private getChangedTouches_serialize(): Array { + const retval = ArkUIGeneratedNativeModule._TouchEvent_getChangedTouches(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const buffer_length: int32 = retvalDeserializer.readInt32() + let buffer: Array = new Array(buffer_length) + for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { + buffer[buffer_i] = retvalDeserializer.readTouchObject() + } + const returnResult: Array = buffer + return returnResult } - private setY_serialize(y: number): void { - ArkUIGeneratedNativeModule._MouseEvent_setY(this.peer!.ptr, y) + private setChangedTouches_serialize(changedTouches: Array): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(changedTouches.length) + for (let i = 0; i < changedTouches.length; i++) { + const changedTouches_element: TouchObject = changedTouches[i] + thisSerializer.writeTouchObject(changedTouches_element) + } + ArkUIGeneratedNativeModule._TouchEvent_setChangedTouches(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } private getStopPropagation_serialize(): (() => void) { - const retval = ArkUIGeneratedNativeModule._MouseEvent_getStopPropagation(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._TouchEvent_getStopPropagation(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } private setStopPropagation_serialize(stopPropagation: (() => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(stopPropagation) - ArkUIGeneratedNativeModule._MouseEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TouchEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - public static fromPtr(ptr: KPointer): MouseEventInternal { - const obj: MouseEventInternal = new MouseEventInternal() - obj.peer = new Finalizable(ptr, MouseEventInternal.getFinalizer()) + private getPreventDefault_serialize(): (() => void) { + const retval = ArkUIGeneratedNativeModule._TouchEvent_getPreventDefault(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setPreventDefault_serialize(preventDefault: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(preventDefault) + ArkUIGeneratedNativeModule._TouchEvent_setPreventDefault(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): TouchEventInternal { + const obj: TouchEventInternal = new TouchEventInternal() + obj.peer = new Finalizable(ptr, TouchEventInternal.getFinalizer()) return obj } } -export interface AccessibilityHoverEvent { - type: AccessibilityHoverType - x: number - y: number +export interface AxisEvent { + action: AxisAction displayX: number displayY: number windowX: number windowY: number + x: number + y: number + scrollStep?: number | undefined + propagation: (() => void) + getHorizontalAxisValue(): number + getVerticalAxisValue(): number } -export class AccessibilityHoverEventInternal extends BaseEventInternal implements MaterializedBase,AccessibilityHoverEvent { - get type(): AccessibilityHoverType { - return this.getType() - } - set type(type: AccessibilityHoverType) { - this.setType(type) - } - get x(): number { - return this.getX() - } - set x(x: number) { - this.setX(x) - } - get y(): number { - return this.getY() +export class AxisEventInternal extends BaseEventInternal implements MaterializedBase,AxisEvent { + get action(): AxisAction { + return this.getAction() } - set y(y: number) { - this.setY(y) + set action(action: AxisAction) { + this.setAction(action) } get displayX(): number { return this.getDisplayX() @@ -14524,40 +15678,55 @@ export class AccessibilityHoverEventInternal extends BaseEventInternal implement set windowY(windowY: number) { this.setWindowY(windowY) } - static ctor_accessibilityhoverevent(): KPointer { - const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_ctor() + get x(): number { + return this.getX() + } + set x(x: number) { + this.setX(x) + } + get y(): number { + return this.getY() + } + set y(y: number) { + this.setY(y) + } + get scrollStep(): number | undefined { + return this.getScrollStep() + } + set scrollStep(scrollStep: number | undefined) { + const scrollStep_NonNull = (scrollStep as number) + this.setScrollStep(scrollStep_NonNull) + } + get propagation(): (() => void) { + throw new Error("Not implemented") + } + set propagation(propagation: (() => void)) { + this.setPropagation(propagation) + } + static ctor_axisevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._AxisEvent_ctor() return retval } constructor() { super() - const ctorPtr: KPointer = AccessibilityHoverEventInternal.ctor_accessibilityhoverevent() - this.peer = new Finalizable(ctorPtr, AccessibilityHoverEventInternal.getFinalizer()) + const ctorPtr: KPointer = AxisEventInternal.ctor_axisevent() + this.peer = new Finalizable(ctorPtr, AxisEventInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getFinalizer() - } - private getType(): AccessibilityHoverType { - return this.getType_serialize() + return ArkUIGeneratedNativeModule._AxisEvent_getFinalizer() } - private setType(type: AccessibilityHoverType): void { - const type_casted = type as (AccessibilityHoverType) - this?.setType_serialize(type_casted) - return + public getHorizontalAxisValue(): number { + return this.getHorizontalAxisValue_serialize() } - private getX(): number { - return this.getX_serialize() - } - private setX(x: number): void { - const x_casted = x as (number) - this?.setX_serialize(x_casted) - return + public getVerticalAxisValue(): number { + return this.getVerticalAxisValue_serialize() } - private getY(): number { - return this.getY_serialize() + private getAction(): AxisAction { + return this.getAction_serialize() } - private setY(y: number): void { - const y_casted = y as (number) - this?.setY_serialize(y_casted) + private setAction(action: AxisAction): void { + const action_casted = action as (AxisAction) + this?.setAction_serialize(action_casted) return } private getDisplayX(): number { @@ -14592,87 +15761,128 @@ export class AccessibilityHoverEventInternal extends BaseEventInternal implement this?.setWindowY_serialize(windowY_casted) return } - private getType_serialize(): AccessibilityHoverType { - const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getType(this.peer!.ptr) - return retval + private getX(): number { + return this.getX_serialize() } - private setType_serialize(type: AccessibilityHoverType): void { - ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setType(this.peer!.ptr, type.valueOf()) + private setX(x: number): void { + const x_casted = x as (number) + this?.setX_serialize(x_casted) + return } - private getX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getX(this.peer!.ptr) + private getY(): number { + return this.getY_serialize() + } + private setY(y: number): void { + const y_casted = y as (number) + this?.setY_serialize(y_casted) + return + } + private getScrollStep(): number | undefined { + return this.getScrollStep_serialize() + } + private setScrollStep(scrollStep: number): void { + const scrollStep_casted = scrollStep as (number) + this?.setScrollStep_serialize(scrollStep_casted) + return + } + private getPropagation(): (() => void) { + return this.getPropagation_serialize() + } + private setPropagation(propagation: (() => void)): void { + const propagation_casted = propagation as ((() => void)) + this?.setPropagation_serialize(propagation_casted) + return + } + private getHorizontalAxisValue_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getHorizontalAxisValue(this.peer!.ptr) return retval } - private setX_serialize(x: number): void { - ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setX(this.peer!.ptr, x) + private getVerticalAxisValue_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getVerticalAxisValue(this.peer!.ptr) + return retval } - private getY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getY(this.peer!.ptr) + private getAction_serialize(): AxisAction { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getAction(this.peer!.ptr) return retval } - private setY_serialize(y: number): void { - ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setY(this.peer!.ptr, y) + private setAction_serialize(action: AxisAction): void { + ArkUIGeneratedNativeModule._AxisEvent_setAction(this.peer!.ptr, action.valueOf()) } private getDisplayX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getDisplayX(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._AxisEvent_getDisplayX(this.peer!.ptr) return retval } private setDisplayX_serialize(displayX: number): void { - ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setDisplayX(this.peer!.ptr, displayX) + ArkUIGeneratedNativeModule._AxisEvent_setDisplayX(this.peer!.ptr, displayX) } private getDisplayY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getDisplayY(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._AxisEvent_getDisplayY(this.peer!.ptr) return retval } private setDisplayY_serialize(displayY: number): void { - ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setDisplayY(this.peer!.ptr, displayY) + ArkUIGeneratedNativeModule._AxisEvent_setDisplayY(this.peer!.ptr, displayY) } private getWindowX_serialize(): number { - const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getWindowX(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._AxisEvent_getWindowX(this.peer!.ptr) return retval } private setWindowX_serialize(windowX: number): void { - ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setWindowX(this.peer!.ptr, windowX) + ArkUIGeneratedNativeModule._AxisEvent_setWindowX(this.peer!.ptr, windowX) } private getWindowY_serialize(): number { - const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getWindowY(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._AxisEvent_getWindowY(this.peer!.ptr) return retval } private setWindowY_serialize(windowY: number): void { - ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setWindowY(this.peer!.ptr, windowY) + ArkUIGeneratedNativeModule._AxisEvent_setWindowY(this.peer!.ptr, windowY) } - public static fromPtr(ptr: KPointer): AccessibilityHoverEventInternal { - const obj: AccessibilityHoverEventInternal = new AccessibilityHoverEventInternal() - obj.peer = new Finalizable(ptr, AccessibilityHoverEventInternal.getFinalizer()) - return obj + private getX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getX(this.peer!.ptr) + return retval } -} -export interface TouchEvent { - type: TouchType - touches: Array - changedTouches: Array - stopPropagation: (() => void) - preventDefault: (() => void) - getHistoricalPoints(): Array -} -export class TouchEventInternal extends BaseEventInternal implements MaterializedBase,TouchEvent { - get type(): TouchType { - return this.getType() + private setX_serialize(x: number): void { + ArkUIGeneratedNativeModule._AxisEvent_setX(this.peer!.ptr, x) } - set type(type: TouchType) { - this.setType(type) + private getY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getY(this.peer!.ptr) + return retval } - get touches(): Array { - throw new Error("Not implemented") + private setY_serialize(y: number): void { + ArkUIGeneratedNativeModule._AxisEvent_setY(this.peer!.ptr, y) } - set touches(touches: Array) { - this.setTouches(touches) + private getScrollStep_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getScrollStep(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") } - get changedTouches(): Array { + private setScrollStep_serialize(scrollStep: number): void { + ArkUIGeneratedNativeModule._AxisEvent_setScrollStep(this.peer!.ptr, scrollStep) + } + private getPropagation_serialize(): (() => void) { + const retval = ArkUIGeneratedNativeModule._AxisEvent_getPropagation(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setPropagation_serialize(propagation: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(propagation) + ArkUIGeneratedNativeModule._AxisEvent_setPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): AxisEventInternal { + const obj: AxisEventInternal = new AxisEventInternal() + obj.peer = new Finalizable(ptr, AxisEventInternal.getFinalizer()) + return obj + } +} +export interface FocusAxisEvent { + axisMap: Map + stopPropagation: (() => void) +} +export class FocusAxisEventInternal extends BaseEventInternal implements MaterializedBase,FocusAxisEvent { + get axisMap(): Map { throw new Error("Not implemented") } - set changedTouches(changedTouches: Array) { - this.setChangedTouches(changedTouches) + set axisMap(axisMap: Map) { + this.setAxisMap(axisMap) } get stopPropagation(): (() => void) { throw new Error("Not implemented") @@ -14680,49 +15890,24 @@ export class TouchEventInternal extends BaseEventInternal implements Materialize set stopPropagation(stopPropagation: (() => void)) { this.setStopPropagation(stopPropagation) } - get preventDefault(): (() => void) { - throw new Error("Not implemented") - } - set preventDefault(preventDefault: (() => void)) { - this.setPreventDefault(preventDefault) - } - static ctor_touchevent(): KPointer { - const retval = ArkUIGeneratedNativeModule._TouchEvent_ctor() + static ctor_focusaxisevent(): KPointer { + const retval = ArkUIGeneratedNativeModule._FocusAxisEvent_ctor() return retval } constructor() { super() - const ctorPtr: KPointer = TouchEventInternal.ctor_touchevent() - this.peer = new Finalizable(ctorPtr, TouchEventInternal.getFinalizer()) + const ctorPtr: KPointer = FocusAxisEventInternal.ctor_focusaxisevent() + this.peer = new Finalizable(ctorPtr, FocusAxisEventInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TouchEvent_getFinalizer() - } - public getHistoricalPoints(): Array { - return this.getHistoricalPoints_serialize() - } - private getType(): TouchType { - return this.getType_serialize() + return ArkUIGeneratedNativeModule._FocusAxisEvent_getFinalizer() } - private setType(type: TouchType): void { - const type_casted = type as (TouchType) - this?.setType_serialize(type_casted) - return - } - private getTouches(): Array { - return this.getTouches_serialize() - } - private setTouches(touches: Array): void { - const touches_casted = touches as (Array) - this?.setTouches_serialize(touches_casted) - return + private getAxisMap(): Map { + return this.getAxisMap_serialize() } - private getChangedTouches(): Array { - return this.getChangedTouches_serialize() - } - private setChangedTouches(changedTouches: Array): void { - const changedTouches_casted = changedTouches as (Array) - this?.setChangedTouches_serialize(changedTouches_casted) + private setAxisMap(axisMap: Map): void { + const axisMap_casted = axisMap as (Map) + this?.setAxisMap_serialize(axisMap_casted) return } private getStopPropagation(): (() => void) { @@ -14733,97 +15918,43 @@ export class TouchEventInternal extends BaseEventInternal implements Materialize this?.setStopPropagation_serialize(stopPropagation_casted) return } - private getPreventDefault(): (() => void) { - return this.getPreventDefault_serialize() - } - private setPreventDefault(preventDefault: (() => void)): void { - const preventDefault_casted = preventDefault as ((() => void)) - this?.setPreventDefault_serialize(preventDefault_casted) - return - } - private getHistoricalPoints_serialize(): Array { - const retval = ArkUIGeneratedNativeModule._TouchEvent_getHistoricalPoints(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) - for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = retvalDeserializer.readHistoricalPoint() - } - const returnResult: Array = buffer - return returnResult - } - private getType_serialize(): TouchType { - const retval = ArkUIGeneratedNativeModule._TouchEvent_getType(this.peer!.ptr) - return retval - } - private setType_serialize(type: TouchType): void { - ArkUIGeneratedNativeModule._TouchEvent_setType(this.peer!.ptr, type.valueOf()) - } - private getTouches_serialize(): Array { - const retval = ArkUIGeneratedNativeModule._TouchEvent_getTouches(this.peer!.ptr) - let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) - for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = retvalDeserializer.readTouchObject() - } - const returnResult: Array = buffer - return returnResult - } - private setTouches_serialize(touches: Array): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(touches.length) - for (let i = 0; i < touches.length; i++) { - const touches_element: TouchObject = touches[i] - thisSerializer.writeTouchObject(touches_element) - } - ArkUIGeneratedNativeModule._TouchEvent_setTouches(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private getChangedTouches_serialize(): Array { - const retval = ArkUIGeneratedNativeModule._TouchEvent_getChangedTouches(this.peer!.ptr) + private getAxisMap_serialize(): Map { + const retval = ArkUIGeneratedNativeModule._FocusAxisEvent_getAxisMap(this.peer!.ptr) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_length: int32 = retvalDeserializer.readInt32() - let buffer: Array = new Array(buffer_length) - for (let buffer_i = 0; buffer_i < buffer_length; buffer_i++) { - buffer[buffer_i] = retvalDeserializer.readTouchObject() + const buffer_size: int32 = retvalDeserializer.readInt32() + let buffer: Map = new Map() + // TODO: TS map resize + for (let buffer_i = 0; buffer_i < buffer_size; buffer_i++) { + const buffer_key: AxisModel = retvalDeserializer.readInt32() + const buffer_value: number = (retvalDeserializer.readNumber() as number) + buffer.set(buffer_key, buffer_value) } - const returnResult: Array = buffer + const returnResult: Map = buffer return returnResult } - private setChangedTouches_serialize(changedTouches: Array): void { + private setAxisMap_serialize(axisMap: Map): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(changedTouches.length) - for (let i = 0; i < changedTouches.length; i++) { - const changedTouches_element: TouchObject = changedTouches[i] - thisSerializer.writeTouchObject(changedTouches_element) + thisSerializer.writeInt32(axisMap.size) + for (const [axisMap_key, axisMap_value] of axisMap) { + thisSerializer.writeInt32(axisMap_key.valueOf()) + thisSerializer.writeNumber(axisMap_value) } - ArkUIGeneratedNativeModule._TouchEvent_setChangedTouches(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._FocusAxisEvent_setAxisMap(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } private getStopPropagation_serialize(): (() => void) { - const retval = ArkUIGeneratedNativeModule._TouchEvent_getStopPropagation(this.peer!.ptr) + const retval = ArkUIGeneratedNativeModule._FocusAxisEvent_getStopPropagation(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } private setStopPropagation_serialize(stopPropagation: (() => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(stopPropagation) - ArkUIGeneratedNativeModule._TouchEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - private getPreventDefault_serialize(): (() => void) { - const retval = ArkUIGeneratedNativeModule._TouchEvent_getPreventDefault(this.peer!.ptr) - throw new Error("Object deserialization is not implemented.") - } - private setPreventDefault_serialize(preventDefault: (() => void)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(preventDefault) - ArkUIGeneratedNativeModule._TouchEvent_setPreventDefault(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._FocusAxisEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - public static fromPtr(ptr: KPointer): TouchEventInternal { - const obj: TouchEventInternal = new TouchEventInternal() - obj.peer = new Finalizable(ptr, TouchEventInternal.getFinalizer()) + public static fromPtr(ptr: KPointer): FocusAxisEventInternal { + const obj: FocusAxisEventInternal = new FocusAxisEventInternal() + obj.peer = new Finalizable(ptr, FocusAxisEventInternal.getFinalizer()) return obj } } @@ -14874,6 +16005,12 @@ export class CanvasRendererInternal { } } export class CanvasRenderer extends CanvasPath implements MaterializedBase { + get letterSpacing(): LengthMetrics | string { + throw new Error("Not implemented") + } + set letterSpacing(letterSpacing: LengthMetrics | string) { + this.setLetterSpacing(letterSpacing) + } get globalAlpha(): number { return this.getGlobalAlpha() } @@ -15311,6 +16448,14 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { this?.reset_serialize() return } + private getLetterSpacing(): LengthMetrics | string { + return this.getLetterSpacing_serialize() + } + private setLetterSpacing(letterSpacing: LengthMetrics | string): void { + const letterSpacing_casted = letterSpacing as (LengthMetrics | string) + this?.setLetterSpacing_serialize(letterSpacing_casted) + return + } private getGlobalAlpha(): number { return this.getGlobalAlpha_serialize() } @@ -15858,6 +17003,27 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { private reset_serialize(): void { ArkUIGeneratedNativeModule._CanvasRenderer_reset(this.peer!.ptr) } + private getLetterSpacing_serialize(): LengthMetrics | string { + const retval = ArkUIGeneratedNativeModule._CanvasRenderer_getLetterSpacing(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setLetterSpacing_serialize(letterSpacing: LengthMetrics | string): void { + const thisSerializer: Serializer = Serializer.hold() + let letterSpacing_type: int32 = RuntimeType.UNDEFINED + letterSpacing_type = runtimeType(letterSpacing) + if (RuntimeType.OBJECT == letterSpacing_type) { + thisSerializer.writeInt8(0) + const letterSpacing_0 = unsafeCast(letterSpacing) + thisSerializer.writeLengthMetrics(letterSpacing_0) + } + else if (RuntimeType.STRING == letterSpacing_type) { + thisSerializer.writeInt8(1) + const letterSpacing_1 = unsafeCast(letterSpacing) + thisSerializer.writeString(letterSpacing_1) + } + ArkUIGeneratedNativeModule._CanvasRenderer_setLetterSpacing(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } private getGlobalAlpha_serialize(): number { const retval = ArkUIGeneratedNativeModule._CanvasRenderer_getGlobalAlpha(this.peer!.ptr) return retval @@ -16438,6 +17604,160 @@ export class ScrollableTargetInfo extends EventTargetInfo implements Materialize return retval } } +export class TapRecognizerInternal { + public static fromPtr(ptr: KPointer): TapRecognizer { + const obj: TapRecognizer = new TapRecognizer() + obj.peer = new Finalizable(ptr, TapRecognizer.getFinalizer()) + return obj + } +} +export class TapRecognizer extends GestureRecognizer implements MaterializedBase { + static ctor_taprecognizer(): KPointer { + const retval = ArkUIGeneratedNativeModule._TapRecognizer_ctor() + return retval + } + constructor() { + super() + const ctorPtr: KPointer = TapRecognizer.ctor_taprecognizer() + this.peer = new Finalizable(ctorPtr, TapRecognizer.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TapRecognizer_getFinalizer() + } + public getTapCount(): number { + return this.getTapCount_serialize() + } + private getTapCount_serialize(): number { + const retval = ArkUIGeneratedNativeModule._TapRecognizer_getTapCount(this.peer!.ptr) + return retval + } +} +export class LongPressRecognizerInternal { + public static fromPtr(ptr: KPointer): LongPressRecognizer { + const obj: LongPressRecognizer = new LongPressRecognizer() + obj.peer = new Finalizable(ptr, LongPressRecognizer.getFinalizer()) + return obj + } +} +export class LongPressRecognizer extends GestureRecognizer implements MaterializedBase { + static ctor_longpressrecognizer(): KPointer { + const retval = ArkUIGeneratedNativeModule._LongPressRecognizer_ctor() + return retval + } + constructor() { + super() + const ctorPtr: KPointer = LongPressRecognizer.ctor_longpressrecognizer() + this.peer = new Finalizable(ctorPtr, LongPressRecognizer.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LongPressRecognizer_getFinalizer() + } + public isRepeat(): boolean { + return this.isRepeat_serialize() + } + public getDuration(): number { + return this.getDuration_serialize() + } + private isRepeat_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._LongPressRecognizer_isRepeat(this.peer!.ptr) + return retval + } + private getDuration_serialize(): number { + const retval = ArkUIGeneratedNativeModule._LongPressRecognizer_getDuration(this.peer!.ptr) + return retval + } +} +export class SwipeRecognizerInternal { + public static fromPtr(ptr: KPointer): SwipeRecognizer { + const obj: SwipeRecognizer = new SwipeRecognizer() + obj.peer = new Finalizable(ptr, SwipeRecognizer.getFinalizer()) + return obj + } +} +export class SwipeRecognizer extends GestureRecognizer implements MaterializedBase { + static ctor_swiperecognizer(): KPointer { + const retval = ArkUIGeneratedNativeModule._SwipeRecognizer_ctor() + return retval + } + constructor() { + super() + const ctorPtr: KPointer = SwipeRecognizer.ctor_swiperecognizer() + this.peer = new Finalizable(ctorPtr, SwipeRecognizer.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._SwipeRecognizer_getFinalizer() + } + public getVelocityThreshold(): number { + return this.getVelocityThreshold_serialize() + } + public getDirection(): SwipeDirection { + return this.getDirection_serialize() + } + private getVelocityThreshold_serialize(): number { + const retval = ArkUIGeneratedNativeModule._SwipeRecognizer_getVelocityThreshold(this.peer!.ptr) + return retval + } + private getDirection_serialize(): SwipeDirection { + const retval = ArkUIGeneratedNativeModule._SwipeRecognizer_getDirection(this.peer!.ptr) + return retval + } +} +export class PinchRecognizerInternal { + public static fromPtr(ptr: KPointer): PinchRecognizer { + const obj: PinchRecognizer = new PinchRecognizer() + obj.peer = new Finalizable(ptr, PinchRecognizer.getFinalizer()) + return obj + } +} +export class PinchRecognizer extends GestureRecognizer implements MaterializedBase { + static ctor_pinchrecognizer(): KPointer { + const retval = ArkUIGeneratedNativeModule._PinchRecognizer_ctor() + return retval + } + constructor() { + super() + const ctorPtr: KPointer = PinchRecognizer.ctor_pinchrecognizer() + this.peer = new Finalizable(ctorPtr, PinchRecognizer.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PinchRecognizer_getFinalizer() + } + public getDistance(): number { + return this.getDistance_serialize() + } + private getDistance_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PinchRecognizer_getDistance(this.peer!.ptr) + return retval + } +} +export class RotationRecognizerInternal { + public static fromPtr(ptr: KPointer): RotationRecognizer { + const obj: RotationRecognizer = new RotationRecognizer() + obj.peer = new Finalizable(ptr, RotationRecognizer.getFinalizer()) + return obj + } +} +export class RotationRecognizer extends GestureRecognizer implements MaterializedBase { + static ctor_rotationrecognizer(): KPointer { + const retval = ArkUIGeneratedNativeModule._RotationRecognizer_ctor() + return retval + } + constructor() { + super() + const ctorPtr: KPointer = RotationRecognizer.ctor_rotationrecognizer() + this.peer = new Finalizable(ctorPtr, RotationRecognizer.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._RotationRecognizer_getFinalizer() + } + public getAngle(): number { + return this.getAngle_serialize() + } + private getAngle_serialize(): number { + const retval = ArkUIGeneratedNativeModule._RotationRecognizer_getAngle(this.peer!.ptr) + return retval + } +} export class PanRecognizerInternal { public static fromPtr(ptr: KPointer): PanRecognizer { const obj: PanRecognizer = new PanRecognizer() diff --git a/arkoala/arkui/src/generated/ArkDotIndicatorBuilder.ts b/arkoala/arkui/src/generated/ArkDotIndicatorBuilder.ts index 6be8078820..0b005e1b2a 100644 --- a/arkoala/arkui/src/generated/ArkDotIndicatorBuilder.ts +++ b/arkoala/arkui/src/generated/ArkDotIndicatorBuilder.ts @@ -36,6 +36,7 @@ export class DotIndicator { _color?: ResourceColor | undefined _selectedColor?: ResourceColor | undefined _maxDisplayCount?: number | undefined + _space?: LengthMetrics | undefined constructor() { } static dot(): DotIndicator { @@ -100,4 +101,8 @@ export class DotIndicator { this._maxDisplayCount = maxDisplayCount return this } + space(space: LengthMetrics): this { + this._space = space + return this + } } diff --git a/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts b/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts index ac0c157069..bff96d6f43 100644 --- a/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts +++ b/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts @@ -248,6 +248,12 @@ export class ArkUIGeneratedNativeModuleEmpty { _ButtonAttribute_labelStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_ButtonAttribute_labelStyle") } + _ButtonAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_ButtonAttribute_minFontScale") + } + _ButtonAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_ButtonAttribute_maxFontScale") + } _Calendar_construct(id: KInt, flags: KInt): KPointer { console.log("_Calendar_construct") return -1 @@ -301,115 +307,42 @@ export class ArkUIGeneratedNativeModuleEmpty { _CalendarPickerInterface_setCalendarPickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CalendarPickerInterface_setCalendarPickerOptions") } - _CalendarPickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CalendarPickerAttribute_textStyle") - } - _CalendarPickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CalendarPickerAttribute_onChange") - } - _CalendarPickerAttribute_edgeAlign(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CalendarPickerAttribute_edgeAlign") - } - _Navigation_construct(id: KInt, flags: KInt): KPointer { - console.log("_Navigation_construct") - return -1 - } - _NavigationInterface_setNavigationOptions0(ptr: KPointer): void { - console.log("_NavigationInterface_setNavigationOptions0") - } - _NavigationInterface_setNavigationOptions1(ptr: KPointer, pathInfos: KPointer): void { - console.log("_NavigationInterface_setNavigationOptions1") - } - _NavigationAttribute_navBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_navBarWidth") - } - _NavigationAttribute_navBarPosition(ptr: KPointer, value: KInt): void { - console.log("_NavigationAttribute_navBarPosition") - } - _NavigationAttribute_navBarWidthRange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_navBarWidthRange") - } - _NavigationAttribute_minContentWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_minContentWidth") - } - _NavigationAttribute_mode(ptr: KPointer, value: KInt): void { - console.log("_NavigationAttribute_mode") - } - _NavigationAttribute_backButtonIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_backButtonIcon") - } - _NavigationAttribute_hideNavBar(ptr: KPointer, value: KInt): void { - console.log("_NavigationAttribute_hideNavBar") - } - _NavigationAttribute_subTitle(ptr: KPointer, value: KStringPtr): void { - console.log("_NavigationAttribute_subTitle") - } - _NavigationAttribute_hideTitleBar0(ptr: KPointer, value: KInt): void { - console.log("_NavigationAttribute_hideTitleBar0") - } - _NavigationAttribute_hideTitleBar1(ptr: KPointer, hide: KInt, animated: KInt): void { - console.log("_NavigationAttribute_hideTitleBar1") - } - _NavigationAttribute_hideBackButton(ptr: KPointer, value: KInt): void { - console.log("_NavigationAttribute_hideBackButton") - } - _NavigationAttribute_titleMode(ptr: KPointer, value: KInt): void { - console.log("_NavigationAttribute_titleMode") - } - _NavigationAttribute_menus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_menus") - } - _NavigationAttribute_toolBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_toolBar") - } - _NavigationAttribute_hideToolBar0(ptr: KPointer, value: KInt): void { - console.log("_NavigationAttribute_hideToolBar0") - } - _NavigationAttribute_hideToolBar1(ptr: KPointer, hide: KInt, animated: KInt): void { - console.log("_NavigationAttribute_hideToolBar1") - } - _NavigationAttribute_onTitleModeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_onTitleModeChange") - } - _NavigationAttribute_onNavBarStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_onNavBarStateChange") - } - _NavigationAttribute_onNavigationModeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_onNavigationModeChange") - } - _NavigationAttribute_navDestination(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_navDestination") - } - _NavigationAttribute_customNavContentTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_customNavContentTransition") + _CalendarPickerAttribute_textStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CalendarPickerAttribute_textStyle0") } - _NavigationAttribute_systemBarStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_systemBarStyle") + _CalendarPickerAttribute_textStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CalendarPickerAttribute_textStyle1") } - _NavigationAttribute_recoverable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_recoverable") + _CalendarPickerAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CalendarPickerAttribute_onChange0") } - _NavigationAttribute_enableDragBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_enableDragBar") + _CalendarPickerAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CalendarPickerAttribute_onChange1") } - _NavigationAttribute_title(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_title") + _CalendarPickerAttribute_markToday(ptr: KPointer, value: KInt): void { + console.log("_CalendarPickerAttribute_markToday") } - _NavigationAttribute_toolbarConfiguration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_toolbarConfiguration") + _CalendarPickerAttribute_edgeAlign0(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CalendarPickerAttribute_edgeAlign0") } - _NavigationAttribute_ignoreLayoutSafeArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationAttribute_ignoreLayoutSafeArea") + _CalendarPickerAttribute_edgeAlign1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CalendarPickerAttribute_edgeAlign1") } _CommonMethod_construct(id: KInt, flags: KInt): KPointer { console.log("_CommonMethod_construct") return -1 } - _CommonMethod_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_width") + _CommonMethod_width0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_width0") + } + _CommonMethod_width1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_width1") } - _CommonMethod_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_height") + _CommonMethod_height0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_height0") + } + _CommonMethod_height1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_height1") } _CommonMethod_drawModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_drawModifier") @@ -450,8 +383,11 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_margin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_margin") } - _CommonMethod_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_backgroundColor") + _CommonMethod_backgroundColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_backgroundColor0") + } + _CommonMethod_backgroundColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_backgroundColor1") } _CommonMethod_pixelRound(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_pixelRound") @@ -462,8 +398,11 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_backgroundImagePosition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_backgroundImagePosition") } - _CommonMethod_backgroundEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_backgroundEffect") + _CommonMethod_backgroundEffect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_backgroundEffect0") + } + _CommonMethod_backgroundEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_backgroundEffect1") } _CommonMethod_backgroundImageResizable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_backgroundImageResizable") @@ -483,8 +422,11 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_compositingFilter(ptr: KPointer, value: KPointer): void { console.log("_CommonMethod_compositingFilter") } - _CommonMethod_opacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_opacity") + _CommonMethod_opacity0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_opacity0") + } + _CommonMethod_opacity1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_opacity1") } _CommonMethod_border(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_border") @@ -504,23 +446,41 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_borderImage(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_borderImage") } - _CommonMethod_outline(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_outline") + _CommonMethod_outline0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_outline0") + } + _CommonMethod_outline1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_outline1") + } + _CommonMethod_outlineStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_outlineStyle0") + } + _CommonMethod_outlineStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_outlineStyle1") + } + _CommonMethod_outlineWidth0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_outlineWidth0") + } + _CommonMethod_outlineWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_outlineWidth1") + } + _CommonMethod_outlineColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_outlineColor0") } - _CommonMethod_outlineStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_outlineStyle") + _CommonMethod_outlineColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_outlineColor1") } - _CommonMethod_outlineWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_outlineWidth") + _CommonMethod_outlineRadius0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_outlineRadius0") } - _CommonMethod_outlineColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_outlineColor") + _CommonMethod_outlineRadius1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_outlineRadius1") } - _CommonMethod_outlineRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_outlineRadius") + _CommonMethod_foregroundColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_foregroundColor0") } - _CommonMethod_foregroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_foregroundColor") + _CommonMethod_foregroundColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_foregroundColor1") } _CommonMethod_onClick0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onClick0") @@ -531,6 +491,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_onHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onHover") } + _CommonMethod_onHoverMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_onHoverMove") + } _CommonMethod_onAccessibilityHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onAccessibilityHover") } @@ -543,15 +506,36 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_onTouch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onTouch") } - _CommonMethod_onKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_onKeyEvent") + _CommonMethod_onKeyEvent0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_onKeyEvent0") + } + _CommonMethod_onKeyEvent1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_onKeyEvent1") + } + _CommonMethod_onDigitalCrown(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_onDigitalCrown") } _CommonMethod_onKeyPreIme(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onKeyPreIme") } + _CommonMethod_onKeyEventDispatch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_onKeyEventDispatch") + } + _CommonMethod_onFocusAxisEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_onFocusAxisEvent") + } + _CommonMethod_onAxisEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_onAxisEvent") + } _CommonMethod_focusable(ptr: KPointer, value: KInt): void { console.log("_CommonMethod_focusable") } + _CommonMethod_nextFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_nextFocus") + } + _CommonMethod_tabStop(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_tabStop") + } _CommonMethod_onFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onFocus") } @@ -582,35 +566,65 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_transition1(ptr: KPointer, effect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_transition1") } - _CommonMethod_motionBlur(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_motionBlur") + _CommonMethod_motionBlur0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_motionBlur0") + } + _CommonMethod_motionBlur1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_motionBlur1") + } + _CommonMethod_brightness0(ptr: KPointer, value: number): void { + console.log("_CommonMethod_brightness0") + } + _CommonMethod_brightness1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_brightness1") + } + _CommonMethod_contrast0(ptr: KPointer, value: number): void { + console.log("_CommonMethod_contrast0") + } + _CommonMethod_contrast1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_contrast1") + } + _CommonMethod_grayscale0(ptr: KPointer, value: number): void { + console.log("_CommonMethod_grayscale0") + } + _CommonMethod_grayscale1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_grayscale1") + } + _CommonMethod_colorBlend0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_colorBlend0") } - _CommonMethod_brightness(ptr: KPointer, value: number): void { - console.log("_CommonMethod_brightness") + _CommonMethod_colorBlend1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_colorBlend1") } - _CommonMethod_contrast(ptr: KPointer, value: number): void { - console.log("_CommonMethod_contrast") + _CommonMethod_saturate0(ptr: KPointer, value: number): void { + console.log("_CommonMethod_saturate0") } - _CommonMethod_grayscale(ptr: KPointer, value: number): void { - console.log("_CommonMethod_grayscale") + _CommonMethod_saturate1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_saturate1") } - _CommonMethod_colorBlend(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_colorBlend") + _CommonMethod_sepia0(ptr: KPointer, value: number): void { + console.log("_CommonMethod_sepia0") } - _CommonMethod_saturate(ptr: KPointer, value: number): void { - console.log("_CommonMethod_saturate") + _CommonMethod_sepia1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_sepia1") } - _CommonMethod_sepia(ptr: KPointer, value: number): void { - console.log("_CommonMethod_sepia") + _CommonMethod_invert0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_invert0") } - _CommonMethod_invert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_invert") + _CommonMethod_invert1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_invert1") } - _CommonMethod_hueRotate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_hueRotate") + _CommonMethod_hueRotate0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_hueRotate0") } - _CommonMethod_useShadowBatching(ptr: KPointer, value: KInt): void { - console.log("_CommonMethod_useShadowBatching") + _CommonMethod_hueRotate1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_hueRotate1") + } + _CommonMethod_useShadowBatching0(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_useShadowBatching0") + } + _CommonMethod_useShadowBatching1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_useShadowBatching1") } _CommonMethod_useEffect0(ptr: KPointer, value: KInt): void { console.log("_CommonMethod_useEffect0") @@ -618,17 +632,32 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_useEffect1(ptr: KPointer, useEffect: KInt, effectType: KInt): void { console.log("_CommonMethod_useEffect1") } - _CommonMethod_renderGroup(ptr: KPointer, value: KInt): void { - console.log("_CommonMethod_renderGroup") + _CommonMethod_useEffect2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_useEffect2") + } + _CommonMethod_renderGroup0(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_renderGroup0") + } + _CommonMethod_renderGroup1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_renderGroup1") } - _CommonMethod_freeze(ptr: KPointer, value: KInt): void { - console.log("_CommonMethod_freeze") + _CommonMethod_freeze0(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_freeze0") } - _CommonMethod_translate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_translate") + _CommonMethod_freeze1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_freeze1") } - _CommonMethod_scale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_scale") + _CommonMethod_translate0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_translate0") + } + _CommonMethod_translate1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_translate1") + } + _CommonMethod_scale0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_scale0") + } + _CommonMethod_scale1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_scale1") } _CommonMethod_gridSpan(ptr: KPointer, value: number): void { console.log("_CommonMethod_gridSpan") @@ -636,11 +665,17 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_gridOffset(ptr: KPointer, value: number): void { console.log("_CommonMethod_gridOffset") } - _CommonMethod_rotate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_rotate") + _CommonMethod_rotate0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_rotate0") + } + _CommonMethod_rotate1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_rotate1") } - _CommonMethod_transform(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_transform") + _CommonMethod_transform0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_transform0") + } + _CommonMethod_transform1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_transform1") } _CommonMethod_onAppear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onAppear") @@ -708,8 +743,11 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_aspectRatio(ptr: KPointer, value: number): void { console.log("_CommonMethod_aspectRatio") } - _CommonMethod_clickEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_clickEffect") + _CommonMethod_clickEffect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_clickEffect0") + } + _CommonMethod_clickEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_clickEffect1") } _CommonMethod_onDragStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onDragStart") @@ -723,8 +761,11 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_onDragLeave(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onDragLeave") } - _CommonMethod_onDrop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_onDrop") + _CommonMethod_onDrop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_onDrop0") + } + _CommonMethod_onDrop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_onDrop1") } _CommonMethod_onDragEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onDragEnd") @@ -735,26 +776,41 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_draggable(ptr: KPointer, value: KInt): void { console.log("_CommonMethod_draggable") } - _CommonMethod_dragPreview(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_dragPreview") + _CommonMethod_dragPreview0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_dragPreview0") + } + _CommonMethod_dragPreview1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_dragPreview1") } _CommonMethod_onPreDrag(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onPreDrag") } - _CommonMethod_linearGradient(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_linearGradient") + _CommonMethod_linearGradient0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_linearGradient0") } - _CommonMethod_sweepGradient(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_sweepGradient") + _CommonMethod_linearGradient1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_linearGradient1") } - _CommonMethod_radialGradient(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_radialGradient") + _CommonMethod_sweepGradient0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_sweepGradient0") + } + _CommonMethod_sweepGradient1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_sweepGradient1") + } + _CommonMethod_radialGradient0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_radialGradient0") + } + _CommonMethod_radialGradient1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_radialGradient1") } _CommonMethod_motionPath(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_motionPath") } - _CommonMethod_shadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_shadow") + _CommonMethod_shadow0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_shadow0") + } + _CommonMethod_shadow1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_shadow1") } _CommonMethod_clip0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_clip0") @@ -762,8 +818,14 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_clip1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_clip1") } - _CommonMethod_clipShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_clipShape") + _CommonMethod_clip2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_clip2") + } + _CommonMethod_clipShape0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_clipShape0") + } + _CommonMethod_clipShape1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_clipShape1") } _CommonMethod_mask0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_mask0") @@ -771,8 +833,14 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_mask1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_mask1") } - _CommonMethod_maskShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_maskShape") + _CommonMethod_mask2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_mask2") + } + _CommonMethod_maskShape0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_maskShape0") + } + _CommonMethod_maskShape1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_maskShape1") } _CommonMethod_key(ptr: KPointer, value: KStringPtr): void { console.log("_CommonMethod_key") @@ -792,14 +860,23 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_restoreId(ptr: KPointer, value: number): void { console.log("_CommonMethod_restoreId") } - _CommonMethod_sphericalEffect(ptr: KPointer, value: number): void { - console.log("_CommonMethod_sphericalEffect") + _CommonMethod_sphericalEffect0(ptr: KPointer, value: number): void { + console.log("_CommonMethod_sphericalEffect0") } - _CommonMethod_lightUpEffect(ptr: KPointer, value: number): void { - console.log("_CommonMethod_lightUpEffect") + _CommonMethod_sphericalEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_sphericalEffect1") } - _CommonMethod_pixelStretchEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_pixelStretchEffect") + _CommonMethod_lightUpEffect0(ptr: KPointer, value: number): void { + console.log("_CommonMethod_lightUpEffect0") + } + _CommonMethod_lightUpEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_lightUpEffect1") + } + _CommonMethod_pixelStretchEffect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_pixelStretchEffect0") + } + _CommonMethod_pixelStretchEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_pixelStretchEffect1") } _CommonMethod_accessibilityGroup0(ptr: KPointer, value: KInt): void { console.log("_CommonMethod_accessibilityGroup0") @@ -813,6 +890,24 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_accessibilityText1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_accessibilityText1") } + _CommonMethod_accessibilityNextFocusId(ptr: KPointer, value: KStringPtr): void { + console.log("_CommonMethod_accessibilityNextFocusId") + } + _CommonMethod_accessibilityDefaultFocus(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_accessibilityDefaultFocus") + } + _CommonMethod_accessibilityUseSamePage(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_accessibilityUseSamePage") + } + _CommonMethod_accessibilityScrollTriggerable(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_accessibilityScrollTriggerable") + } + _CommonMethod_accessibilityRole(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_accessibilityRole") + } + _CommonMethod_onAccessibilityFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_onAccessibilityFocus") + } _CommonMethod_accessibilityTextHint(ptr: KPointer, value: KStringPtr): void { console.log("_CommonMethod_accessibilityTextHint") } @@ -840,14 +935,23 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_reuseId(ptr: KPointer, value: KStringPtr): void { console.log("_CommonMethod_reuseId") } - _CommonMethod_renderFit(ptr: KPointer, value: KInt): void { - console.log("_CommonMethod_renderFit") + _CommonMethod_reuse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_reuse") + } + _CommonMethod_renderFit0(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_renderFit0") + } + _CommonMethod_renderFit1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_renderFit1") } _CommonMethod_gestureModifier(ptr: KPointer, value: KPointer): void { console.log("_CommonMethod_gestureModifier") } - _CommonMethod_backgroundBrightness(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_backgroundBrightness") + _CommonMethod_backgroundBrightness0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_backgroundBrightness0") + } + _CommonMethod_backgroundBrightness1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_backgroundBrightness1") } _CommonMethod_onGestureJudgeBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onGestureJudgeBegin") @@ -870,6 +974,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_onSizeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onSizeChange") } + _CommonMethod_accessibilityFocusDrawLevel(ptr: KPointer, value: KInt): void { + console.log("_CommonMethod_accessibilityFocusDrawLevel") + } _CommonMethod_customProperty(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_customProperty") } @@ -879,14 +986,23 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_background(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_background") } - _CommonMethod_backgroundImage(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_backgroundImage") + _CommonMethod_backgroundImage0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_backgroundImage0") + } + _CommonMethod_backgroundImage1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_backgroundImage1") + } + _CommonMethod_backgroundBlurStyle0(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_backgroundBlurStyle0") + } + _CommonMethod_backgroundBlurStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_backgroundBlurStyle1") } - _CommonMethod_backgroundBlurStyle(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_backgroundBlurStyle") + _CommonMethod_foregroundBlurStyle0(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_foregroundBlurStyle0") } - _CommonMethod_foregroundBlurStyle(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_foregroundBlurStyle") + _CommonMethod_foregroundBlurStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_foregroundBlurStyle1") } _CommonMethod_focusScopeId0(ptr: KPointer, id: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_focusScopeId0") @@ -906,17 +1022,26 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_parallelGesture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_parallelGesture") } - _CommonMethod_blur(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_blur") + _CommonMethod_blur0(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_blur0") } - _CommonMethod_linearGradientBlur(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_linearGradientBlur") + _CommonMethod_blur1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_blur1") + } + _CommonMethod_linearGradientBlur0(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_linearGradientBlur0") + } + _CommonMethod_linearGradientBlur1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_linearGradientBlur1") } _CommonMethod_systemBarEffect(ptr: KPointer): void { console.log("_CommonMethod_systemBarEffect") } - _CommonMethod_backdropBlur(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_backdropBlur") + _CommonMethod_backdropBlur0(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_backdropBlur0") + } + _CommonMethod_backdropBlur1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_backdropBlur1") } _CommonMethod_sharedTransition(ptr: KPointer, id: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_sharedTransition") @@ -930,12 +1055,18 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_overlay(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_overlay") } - _CommonMethod_blendMode(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CommonMethod_blendMode") + _CommonMethod_blendMode0(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_blendMode0") + } + _CommonMethod_blendMode1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_blendMode1") } _CommonMethod_advancedBlendMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_advancedBlendMode") } + _CommonMethod_bindTips(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_bindTips") + } _CommonMethod_bindPopup(ptr: KPointer, show: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_bindPopup") } @@ -951,18 +1082,21 @@ export class ArkUIGeneratedNativeModuleEmpty { _CommonMethod_bindContextMenu1(ptr: KPointer, isShown: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_bindContextMenu1") } - _CommonMethod_bindContentCover0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + _CommonMethod_bindContentCover0(ptr: KPointer, isShow: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_bindContentCover0") } - _CommonMethod_bindContentCover1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + _CommonMethod_bindContentCover1(ptr: KPointer, isShow: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_bindContentCover1") } - _CommonMethod_bindSheet(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + _CommonMethod_bindSheet(ptr: KPointer, isShow: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_bindSheet") } _CommonMethod_onVisibleAreaChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_onVisibleAreaChange") } + _CommonMethod_onVisibleAreaApproximateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CommonMethod_onVisibleAreaApproximateChange") + } _CommonMethod_keyboardShortcut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CommonMethod_keyboardShortcut") } @@ -1053,12 +1187,121 @@ export class ArkUIGeneratedNativeModuleEmpty { _ScrollableCommonMethod_clipContent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_ScrollableCommonMethod_clipContent") } + _ScrollableCommonMethod_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_ScrollableCommonMethod_digitalCrownSensitivity") + } + _ScrollableCommonMethod_backToTop(ptr: KPointer, value: KInt): void { + console.log("_ScrollableCommonMethod_backToTop") + } _ScrollableCommonMethod_edgeEffect(ptr: KPointer, edgeEffect: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_ScrollableCommonMethod_edgeEffect") } _ScrollableCommonMethod_fadingEdge(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_ScrollableCommonMethod_fadingEdge") } + _Navigation_construct(id: KInt, flags: KInt): KPointer { + console.log("_Navigation_construct") + return -1 + } + _NavigationInterface_setNavigationOptions0(ptr: KPointer): void { + console.log("_NavigationInterface_setNavigationOptions0") + } + _NavigationInterface_setNavigationOptions1(ptr: KPointer, pathInfos: KPointer): void { + console.log("_NavigationInterface_setNavigationOptions1") + } + _NavigationAttribute_navBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_navBarWidth") + } + _NavigationAttribute_navBarPosition(ptr: KPointer, value: KInt): void { + console.log("_NavigationAttribute_navBarPosition") + } + _NavigationAttribute_navBarWidthRange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_navBarWidthRange") + } + _NavigationAttribute_minContentWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_minContentWidth") + } + _NavigationAttribute_mode(ptr: KPointer, value: KInt): void { + console.log("_NavigationAttribute_mode") + } + _NavigationAttribute_backButtonIcon0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_backButtonIcon0") + } + _NavigationAttribute_backButtonIcon1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_backButtonIcon1") + } + _NavigationAttribute_hideNavBar(ptr: KPointer, value: KInt): void { + console.log("_NavigationAttribute_hideNavBar") + } + _NavigationAttribute_subTitle(ptr: KPointer, value: KStringPtr): void { + console.log("_NavigationAttribute_subTitle") + } + _NavigationAttribute_hideTitleBar0(ptr: KPointer, value: KInt): void { + console.log("_NavigationAttribute_hideTitleBar0") + } + _NavigationAttribute_hideTitleBar1(ptr: KPointer, hide: KInt, animated: KInt): void { + console.log("_NavigationAttribute_hideTitleBar1") + } + _NavigationAttribute_hideBackButton(ptr: KPointer, value: KInt): void { + console.log("_NavigationAttribute_hideBackButton") + } + _NavigationAttribute_titleMode(ptr: KPointer, value: KInt): void { + console.log("_NavigationAttribute_titleMode") + } + _NavigationAttribute_menus0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_menus0") + } + _NavigationAttribute_menus1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_menus1") + } + _NavigationAttribute_toolBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_toolBar") + } + _NavigationAttribute_hideToolBar0(ptr: KPointer, value: KInt): void { + console.log("_NavigationAttribute_hideToolBar0") + } + _NavigationAttribute_hideToolBar1(ptr: KPointer, hide: KInt, animated: KInt): void { + console.log("_NavigationAttribute_hideToolBar1") + } + _NavigationAttribute_enableToolBarAdaptation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_enableToolBarAdaptation") + } + _NavigationAttribute_onTitleModeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_onTitleModeChange") + } + _NavigationAttribute_onNavBarStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_onNavBarStateChange") + } + _NavigationAttribute_onNavigationModeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_onNavigationModeChange") + } + _NavigationAttribute_navDestination(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_navDestination") + } + _NavigationAttribute_customNavContentTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_customNavContentTransition") + } + _NavigationAttribute_systemBarStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_systemBarStyle") + } + _NavigationAttribute_recoverable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_recoverable") + } + _NavigationAttribute_enableDragBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_enableDragBar") + } + _NavigationAttribute_enableModeChangeAnimation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_enableModeChangeAnimation") + } + _NavigationAttribute_title(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_title") + } + _NavigationAttribute_toolbarConfiguration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_toolbarConfiguration") + } + _NavigationAttribute_ignoreLayoutSafeArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationAttribute_ignoreLayoutSafeArea") + } _Canvas_construct(id: KInt, flags: KInt): KPointer { console.log("_Canvas_construct") return -1 @@ -1082,26 +1325,47 @@ export class ArkUIGeneratedNativeModuleEmpty { _CheckboxInterface_setCheckboxOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CheckboxInterface_setCheckboxOptions") } - _CheckboxAttribute_select(ptr: KPointer, value: KInt): void { - console.log("_CheckboxAttribute_select") + _CheckboxAttribute_select0(ptr: KPointer, value: KInt): void { + console.log("_CheckboxAttribute_select0") + } + _CheckboxAttribute_select1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxAttribute_select1") } - _CheckboxAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CheckboxAttribute_selectedColor") + _CheckboxAttribute_selectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxAttribute_selectedColor0") } - _CheckboxAttribute_shape(ptr: KPointer, value: KInt): void { - console.log("_CheckboxAttribute_shape") + _CheckboxAttribute_selectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxAttribute_selectedColor1") } - _CheckboxAttribute_unselectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CheckboxAttribute_unselectedColor") + _CheckboxAttribute_shape0(ptr: KPointer, value: KInt): void { + console.log("_CheckboxAttribute_shape0") } - _CheckboxAttribute_mark(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CheckboxAttribute_mark") + _CheckboxAttribute_shape1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxAttribute_shape1") } - _CheckboxAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CheckboxAttribute_onChange") + _CheckboxAttribute_unselectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxAttribute_unselectedColor0") } - _CheckboxAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CheckboxAttribute_contentModifier") + _CheckboxAttribute_unselectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxAttribute_unselectedColor1") + } + _CheckboxAttribute_mark0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxAttribute_mark0") + } + _CheckboxAttribute_mark1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxAttribute_mark1") + } + _CheckboxAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxAttribute_onChange0") + } + _CheckboxAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxAttribute_onChange1") + } + _CheckboxAttribute_contentModifier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxAttribute_contentModifier0") + } + _CheckboxAttribute_contentModifier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxAttribute_contentModifier1") } _CheckboxAttribute__onChangeEvent_select(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CheckboxAttribute__onChangeEvent_select") @@ -1113,26 +1377,44 @@ export class ArkUIGeneratedNativeModuleEmpty { _CheckboxGroupInterface_setCheckboxGroupOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CheckboxGroupInterface_setCheckboxGroupOptions") } - _CheckboxGroupAttribute_selectAll(ptr: KPointer, value: KInt): void { - console.log("_CheckboxGroupAttribute_selectAll") + _CheckboxGroupAttribute_selectAll0(ptr: KPointer, value: KInt): void { + console.log("_CheckboxGroupAttribute_selectAll0") } - _CheckboxGroupAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CheckboxGroupAttribute_selectedColor") + _CheckboxGroupAttribute_selectAll1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxGroupAttribute_selectAll1") } - _CheckboxGroupAttribute_unselectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CheckboxGroupAttribute_unselectedColor") + _CheckboxGroupAttribute_selectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxGroupAttribute_selectedColor0") } - _CheckboxGroupAttribute_mark(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CheckboxGroupAttribute_mark") + _CheckboxGroupAttribute_selectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxGroupAttribute_selectedColor1") } - _CheckboxGroupAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CheckboxGroupAttribute_onChange") + _CheckboxGroupAttribute_unselectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxGroupAttribute_unselectedColor0") } - _CheckboxGroupAttribute_checkboxShape(ptr: KPointer, value: KInt): void { - console.log("_CheckboxGroupAttribute_checkboxShape") + _CheckboxGroupAttribute_unselectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxGroupAttribute_unselectedColor1") } - _CheckboxGroupAttribute__onChangeEvent_selectAll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_CheckboxGroupAttribute__onChangeEvent_selectAll") + _CheckboxGroupAttribute_mark0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxGroupAttribute_mark0") + } + _CheckboxGroupAttribute_mark1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxGroupAttribute_mark1") + } + _CheckboxGroupAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxGroupAttribute_onChange0") + } + _CheckboxGroupAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxGroupAttribute_onChange1") + } + _CheckboxGroupAttribute_checkboxShape0(ptr: KPointer, value: KInt): void { + console.log("_CheckboxGroupAttribute_checkboxShape0") + } + _CheckboxGroupAttribute_checkboxShape1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxGroupAttribute_checkboxShape1") + } + _CheckboxGroupAttribute__onChangeEvent_selectAll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CheckboxGroupAttribute__onChangeEvent_selectAll") } _Circle_construct(id: KInt, flags: KInt): KPointer { console.log("_Circle_construct") @@ -1145,8 +1427,11 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_Column_construct") return -1 } - _ColumnInterface_setColumnOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_ColumnInterface_setColumnOptions") + _ColumnInterface_setColumnOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_ColumnInterface_setColumnOptions0") + } + _ColumnInterface_setColumnOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_ColumnInterface_setColumnOptions1") } _ColumnAttribute_alignItems(ptr: KPointer, value: KInt): void { console.log("_ColumnAttribute_alignItems") @@ -1262,23 +1547,44 @@ export class ArkUIGeneratedNativeModuleEmpty { _DatePickerInterface_setDatePickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_DatePickerInterface_setDatePickerOptions") } - _DatePickerAttribute_lunar(ptr: KPointer, value: KInt): void { - console.log("_DatePickerAttribute_lunar") + _DatePickerAttribute_lunar0(ptr: KPointer, value: KInt): void { + console.log("_DatePickerAttribute_lunar0") + } + _DatePickerAttribute_lunar1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DatePickerAttribute_lunar1") + } + _DatePickerAttribute_disappearTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DatePickerAttribute_disappearTextStyle0") + } + _DatePickerAttribute_disappearTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DatePickerAttribute_disappearTextStyle1") } - _DatePickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_DatePickerAttribute_disappearTextStyle") + _DatePickerAttribute_textStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DatePickerAttribute_textStyle0") } - _DatePickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_DatePickerAttribute_textStyle") + _DatePickerAttribute_textStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DatePickerAttribute_textStyle1") } - _DatePickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_DatePickerAttribute_selectedTextStyle") + _DatePickerAttribute_selectedTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DatePickerAttribute_selectedTextStyle0") + } + _DatePickerAttribute_selectedTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DatePickerAttribute_selectedTextStyle1") } _DatePickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_DatePickerAttribute_onChange") } - _DatePickerAttribute_onDateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_DatePickerAttribute_onDateChange") + _DatePickerAttribute_onDateChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DatePickerAttribute_onDateChange0") + } + _DatePickerAttribute_onDateChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DatePickerAttribute_onDateChange1") + } + _DatePickerAttribute_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DatePickerAttribute_digitalCrownSensitivity") + } + _DatePickerAttribute_enableHapticFeedback(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DatePickerAttribute_enableHapticFeedback") } _DatePickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_DatePickerAttribute__onChangeEvent_selected") @@ -1660,12 +1966,18 @@ export class ArkUIGeneratedNativeModuleEmpty { _ImageAttribute_fitOriginalSize(ptr: KPointer, value: KInt): void { console.log("_ImageAttribute_fitOriginalSize") } - _ImageAttribute_fillColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_ImageAttribute_fillColor") + _ImageAttribute_fillColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_ImageAttribute_fillColor0") + } + _ImageAttribute_fillColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_ImageAttribute_fillColor1") } _ImageAttribute_objectFit(ptr: KPointer, value: KInt): void { console.log("_ImageAttribute_objectFit") } + _ImageAttribute_imageMatrix(ptr: KPointer, value: KPointer): void { + console.log("_ImageAttribute_imageMatrix") + } _ImageAttribute_objectRepeat(ptr: KPointer, value: KInt): void { console.log("_ImageAttribute_objectRepeat") } @@ -1726,6 +2038,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _ImageAttribute_enhancedImageQuality(ptr: KPointer, value: KInt): void { console.log("_ImageAttribute_enhancedImageQuality") } + _ImageAttribute_orientation(ptr: KPointer, value: KInt): void { + console.log("_ImageAttribute_orientation") + } _ImageAnimator_construct(id: KInt, flags: KInt): KPointer { console.log("_ImageAnimator_construct") return -1 @@ -1757,6 +2072,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _ImageAnimatorAttribute_iterations(ptr: KPointer, value: number): void { console.log("_ImageAnimatorAttribute_iterations") } + _ImageAnimatorAttribute_monitorInvisibleArea(ptr: KPointer, value: KInt): void { + console.log("_ImageAnimatorAttribute_monitorInvisibleArea") + } _ImageAnimatorAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_ImageAnimatorAttribute_onStart") } @@ -1797,6 +2115,26 @@ export class ArkUIGeneratedNativeModuleEmpty { _ImageSpanAttribute_alt(ptr: KPointer, value: KPointer): void { console.log("_ImageSpanAttribute_alt") } + _LazyGridLayout_construct(id: KInt, flags: KInt): KPointer { + console.log("_LazyGridLayout_construct") + return -1 + } + _LazyGridLayoutAttribute_rowsGap(ptr: KPointer, value: KPointer): void { + console.log("_LazyGridLayoutAttribute_rowsGap") + } + _LazyGridLayoutAttribute_columnsGap(ptr: KPointer, value: KPointer): void { + console.log("_LazyGridLayoutAttribute_columnsGap") + } + _LazyVGridLayout_construct(id: KInt, flags: KInt): KPointer { + console.log("_LazyVGridLayout_construct") + return -1 + } + _LazyVGridLayoutInterface_setLazyVGridLayoutOptions(ptr: KPointer): void { + console.log("_LazyVGridLayoutInterface_setLazyVGridLayoutOptions") + } + _LazyVGridLayoutAttribute_columnsTemplate(ptr: KPointer, value: KStringPtr): void { + console.log("_LazyVGridLayoutAttribute_columnsTemplate") + } _Line_construct(id: KInt, flags: KInt): KPointer { console.log("_Line_construct") return -1 @@ -1874,6 +2212,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _ListAttribute_maintainVisibleContentPosition(ptr: KPointer, value: KInt): void { console.log("_ListAttribute_maintainVisibleContentPosition") } + _ListAttribute_stackFromEnd(ptr: KPointer, value: KInt): void { + console.log("_ListAttribute_stackFromEnd") + } _ListAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_ListAttribute_onScroll") } @@ -2118,6 +2459,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _NavDestinationAttribute_hideTitleBar1(ptr: KPointer, hide: KInt, animated: KInt): void { console.log("_NavDestinationAttribute_hideTitleBar1") } + _NavDestinationAttribute_hideBackButton(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_hideBackButton") + } _NavDestinationAttribute_onShown(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_NavDestinationAttribute_onShown") } @@ -2127,14 +2471,23 @@ export class ArkUIGeneratedNativeModuleEmpty { _NavDestinationAttribute_onBackPressed(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_NavDestinationAttribute_onBackPressed") } + _NavDestinationAttribute_onResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_onResult") + } _NavDestinationAttribute_mode(ptr: KPointer, value: KInt): void { console.log("_NavDestinationAttribute_mode") } - _NavDestinationAttribute_backButtonIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavDestinationAttribute_backButtonIcon") + _NavDestinationAttribute_backButtonIcon0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_backButtonIcon0") + } + _NavDestinationAttribute_backButtonIcon1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_backButtonIcon1") } - _NavDestinationAttribute_menus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavDestinationAttribute_menus") + _NavDestinationAttribute_menus0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_menus0") + } + _NavDestinationAttribute_menus1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_menus1") } _NavDestinationAttribute_onReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_NavDestinationAttribute_onReady") @@ -2160,6 +2513,30 @@ export class ArkUIGeneratedNativeModuleEmpty { _NavDestinationAttribute_systemTransition(ptr: KPointer, value: KInt): void { console.log("_NavDestinationAttribute_systemTransition") } + _NavDestinationAttribute_bindToScrollable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_bindToScrollable") + } + _NavDestinationAttribute_bindToNestedScrollable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_bindToNestedScrollable") + } + _NavDestinationAttribute_onActive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_onActive") + } + _NavDestinationAttribute_onInactive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_onInactive") + } + _NavDestinationAttribute_customTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_customTransition") + } + _NavDestinationAttribute_onNewParam(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_onNewParam") + } + _NavDestinationAttribute_preferredOrientation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_preferredOrientation") + } + _NavDestinationAttribute_enableNavigationIndicator(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_enableNavigationIndicator") + } _NavDestinationAttribute_title(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_NavDestinationAttribute_title") } @@ -2172,6 +2549,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _NavDestinationAttribute_ignoreLayoutSafeArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_NavDestinationAttribute_ignoreLayoutSafeArea") } + _NavDestinationAttribute_enableStatusBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavDestinationAttribute_enableStatusBar") + } _NavRouter_construct(id: KInt, flags: KInt): KPointer { console.log("_NavRouter_construct") return -1 @@ -2329,6 +2709,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _PatternLockAttribute_activateCircleStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_PatternLockAttribute_activateCircleStyle") } + _PatternLockAttribute_skipUnselectedPoint(ptr: KPointer, value: KInt): void { + console.log("_PatternLockAttribute_skipUnselectedPoint") + } _PluginComponent_construct(id: KInt, flags: KInt): KPointer { console.log("_PluginComponent_construct") return -1 @@ -2407,17 +2790,26 @@ export class ArkUIGeneratedNativeModuleEmpty { _RadioInterface_setRadioOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_RadioInterface_setRadioOptions") } - _RadioAttribute_checked(ptr: KPointer, value: KInt): void { - console.log("_RadioAttribute_checked") + _RadioAttribute_checked0(ptr: KPointer, value: KInt): void { + console.log("_RadioAttribute_checked0") + } + _RadioAttribute_checked1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RadioAttribute_checked1") } - _RadioAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_RadioAttribute_onChange") + _RadioAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RadioAttribute_onChange0") + } + _RadioAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RadioAttribute_onChange1") } _RadioAttribute_radioStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_RadioAttribute_radioStyle") } - _RadioAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_RadioAttribute_contentModifier") + _RadioAttribute_contentModifier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RadioAttribute_contentModifier0") + } + _RadioAttribute_contentModifier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RadioAttribute_contentModifier1") } _RadioAttribute__onChangeEvent_checked(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_RadioAttribute__onChangeEvent_checked") @@ -2429,20 +2821,35 @@ export class ArkUIGeneratedNativeModuleEmpty { _RatingInterface_setRatingOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_RatingInterface_setRatingOptions") } - _RatingAttribute_stars(ptr: KPointer, value: number): void { - console.log("_RatingAttribute_stars") + _RatingAttribute_stars0(ptr: KPointer, value: number): void { + console.log("_RatingAttribute_stars0") + } + _RatingAttribute_stars1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RatingAttribute_stars1") + } + _RatingAttribute_stepSize0(ptr: KPointer, value: number): void { + console.log("_RatingAttribute_stepSize0") } - _RatingAttribute_stepSize(ptr: KPointer, value: number): void { - console.log("_RatingAttribute_stepSize") + _RatingAttribute_stepSize1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RatingAttribute_stepSize1") } - _RatingAttribute_starStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_RatingAttribute_starStyle") + _RatingAttribute_starStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RatingAttribute_starStyle0") } - _RatingAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_RatingAttribute_onChange") + _RatingAttribute_starStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RatingAttribute_starStyle1") } - _RatingAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_RatingAttribute_contentModifier") + _RatingAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RatingAttribute_onChange0") + } + _RatingAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RatingAttribute_onChange1") + } + _RatingAttribute_contentModifier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RatingAttribute_contentModifier0") + } + _RatingAttribute_contentModifier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RatingAttribute_contentModifier1") } _RatingAttribute__onChangeEvent_rating(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_RatingAttribute__onChangeEvent_rating") @@ -2595,6 +3002,18 @@ export class ArkUIGeneratedNativeModuleEmpty { _RichEditorAttribute_barState(ptr: KPointer, value: KInt): void { console.log("_RichEditorAttribute_barState") } + _RichEditorAttribute_maxLength(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RichEditorAttribute_maxLength") + } + _RichEditorAttribute_maxLines(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RichEditorAttribute_maxLines") + } + _RichEditorAttribute_keyboardAppearance(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RichEditorAttribute_keyboardAppearance") + } + _RichEditorAttribute_stopBackPress(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RichEditorAttribute_stopBackPress") + } _RichEditorAttribute_bindSelectionMenu(ptr: KPointer, spanType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_RichEditorAttribute_bindSelectionMenu") } @@ -2628,8 +3047,11 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_Row_construct") return -1 } - _RowInterface_setRowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_RowInterface_setRowOptions") + _RowInterface_setRowOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RowInterface_setRowOptions0") + } + _RowInterface_setRowOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_RowInterface_setRowOptions1") } _RowAttribute_alignItems(ptr: KPointer, value: KInt): void { console.log("_RowAttribute_alignItems") @@ -2832,6 +3254,12 @@ export class ArkUIGeneratedNativeModuleEmpty { _SearchAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SearchAttribute_maxFontSize") } + _SearchAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SearchAttribute_minFontScale") + } + _SearchAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SearchAttribute_maxFontScale") + } _SearchAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SearchAttribute_decoration") } @@ -2868,6 +3296,21 @@ export class ArkUIGeneratedNativeModuleEmpty { _SearchAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { console.log("_SearchAttribute_enableHapticFeedback") } + _SearchAttribute_autoCapitalizationMode(ptr: KPointer, value: KInt): void { + console.log("_SearchAttribute_autoCapitalizationMode") + } + _SearchAttribute_halfLeading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SearchAttribute_halfLeading") + } + _SearchAttribute_stopBackPress(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SearchAttribute_stopBackPress") + } + _SearchAttribute_onWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SearchAttribute_onWillChange") + } + _SearchAttribute_keyboardAppearance(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SearchAttribute_keyboardAppearance") + } _SearchAttribute_searchButton(ptr: KPointer, value: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SearchAttribute_searchButton") } @@ -2929,8 +3372,11 @@ export class ArkUIGeneratedNativeModuleEmpty { _SecurityComponentMethod_borderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SecurityComponentMethod_borderColor") } - _SecurityComponentMethod_borderRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SecurityComponentMethod_borderRadius") + _SecurityComponentMethod_borderRadius0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SecurityComponentMethod_borderRadius0") + } + _SecurityComponentMethod_borderRadius1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SecurityComponentMethod_borderRadius1") } _SecurityComponentMethod_padding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SecurityComponentMethod_padding") @@ -2953,6 +3399,42 @@ export class ArkUIGeneratedNativeModuleEmpty { _SecurityComponentMethod_constraintSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SecurityComponentMethod_constraintSize") } + _SecurityComponentMethod_align(ptr: KPointer, value: KInt): void { + console.log("_SecurityComponentMethod_align") + } + _SecurityComponentMethod_alignRules0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SecurityComponentMethod_alignRules0") + } + _SecurityComponentMethod_alignRules1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SecurityComponentMethod_alignRules1") + } + _SecurityComponentMethod_id(ptr: KPointer, value: KStringPtr): void { + console.log("_SecurityComponentMethod_id") + } + _SecurityComponentMethod_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SecurityComponentMethod_minFontScale") + } + _SecurityComponentMethod_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SecurityComponentMethod_maxFontScale") + } + _SecurityComponentMethod_maxLines(ptr: KPointer, value: number): void { + console.log("_SecurityComponentMethod_maxLines") + } + _SecurityComponentMethod_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SecurityComponentMethod_minFontSize") + } + _SecurityComponentMethod_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SecurityComponentMethod_maxFontSize") + } + _SecurityComponentMethod_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { + console.log("_SecurityComponentMethod_heightAdaptivePolicy") + } + _SecurityComponentMethod_enabled(ptr: KPointer, value: KInt): void { + console.log("_SecurityComponentMethod_enabled") + } + _SecurityComponentMethod_chainMode(ptr: KPointer, direction: KInt, style: KInt): void { + console.log("_SecurityComponentMethod_chainMode") + } _Select_construct(id: KInt, flags: KInt): KPointer { console.log("_Select_construct") return -1 @@ -2960,68 +3442,149 @@ export class ArkUIGeneratedNativeModuleEmpty { _SelectInterface_setSelectOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SelectInterface_setSelectOptions") } - _SelectAttribute_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_selected") + _SelectAttribute_selected0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_selected0") + } + _SelectAttribute_selected1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_selected1") + } + _SelectAttribute_value0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_value0") + } + _SelectAttribute_value1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_value1") + } + _SelectAttribute_font0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_font0") } - _SelectAttribute_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_value") + _SelectAttribute_font1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_font1") } - _SelectAttribute_font(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_font") + _SelectAttribute_fontColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_fontColor0") } - _SelectAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_fontColor") + _SelectAttribute_fontColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_fontColor1") } - _SelectAttribute_selectedOptionBgColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_selectedOptionBgColor") + _SelectAttribute_selectedOptionBgColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_selectedOptionBgColor0") } - _SelectAttribute_selectedOptionFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_selectedOptionFont") + _SelectAttribute_selectedOptionBgColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_selectedOptionBgColor1") } - _SelectAttribute_selectedOptionFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_selectedOptionFontColor") + _SelectAttribute_selectedOptionFont0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_selectedOptionFont0") } - _SelectAttribute_optionBgColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_optionBgColor") + _SelectAttribute_selectedOptionFont1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_selectedOptionFont1") } - _SelectAttribute_optionFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_optionFont") + _SelectAttribute_selectedOptionFontColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_selectedOptionFontColor0") } - _SelectAttribute_optionFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_optionFontColor") + _SelectAttribute_selectedOptionFontColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_selectedOptionFontColor1") } - _SelectAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_onSelect") + _SelectAttribute_optionBgColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_optionBgColor0") } - _SelectAttribute_space(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_space") + _SelectAttribute_optionBgColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_optionBgColor1") } - _SelectAttribute_arrowPosition(ptr: KPointer, value: KInt): void { - console.log("_SelectAttribute_arrowPosition") + _SelectAttribute_optionFont0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_optionFont0") } - _SelectAttribute_optionWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_optionWidth") + _SelectAttribute_optionFont1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_optionFont1") } - _SelectAttribute_optionHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_optionHeight") + _SelectAttribute_optionFontColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_optionFontColor0") } - _SelectAttribute_menuBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_menuBackgroundColor") + _SelectAttribute_optionFontColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_optionFontColor1") } - _SelectAttribute_menuBackgroundBlurStyle(ptr: KPointer, value: KInt): void { - console.log("_SelectAttribute_menuBackgroundBlurStyle") + _SelectAttribute_onSelect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_onSelect0") } - _SelectAttribute_controlSize(ptr: KPointer, value: KInt): void { - console.log("_SelectAttribute_controlSize") + _SelectAttribute_onSelect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_onSelect1") } - _SelectAttribute_menuItemContentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_menuItemContentModifier") + _SelectAttribute_space0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_space0") + } + _SelectAttribute_space1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_space1") + } + _SelectAttribute_arrowPosition0(ptr: KPointer, value: KInt): void { + console.log("_SelectAttribute_arrowPosition0") + } + _SelectAttribute_arrowPosition1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_arrowPosition1") + } + _SelectAttribute_optionWidth0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_optionWidth0") + } + _SelectAttribute_optionWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_optionWidth1") + } + _SelectAttribute_optionHeight0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_optionHeight0") + } + _SelectAttribute_optionHeight1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_optionHeight1") + } + _SelectAttribute_menuBackgroundColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_menuBackgroundColor0") + } + _SelectAttribute_menuBackgroundColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_menuBackgroundColor1") + } + _SelectAttribute_menuBackgroundBlurStyle0(ptr: KPointer, value: KInt): void { + console.log("_SelectAttribute_menuBackgroundBlurStyle0") + } + _SelectAttribute_menuBackgroundBlurStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_menuBackgroundBlurStyle1") + } + _SelectAttribute_controlSize0(ptr: KPointer, value: KInt): void { + console.log("_SelectAttribute_controlSize0") + } + _SelectAttribute_controlSize1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_controlSize1") + } + _SelectAttribute_menuItemContentModifier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_menuItemContentModifier0") + } + _SelectAttribute_menuItemContentModifier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_menuItemContentModifier1") } _SelectAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SelectAttribute_divider") } - _SelectAttribute_menuAlign(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SelectAttribute_menuAlign") + _SelectAttribute_textModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_textModifier") + } + _SelectAttribute_arrowModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_arrowModifier") + } + _SelectAttribute_optionTextModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_optionTextModifier") + } + _SelectAttribute_selectedOptionTextModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_selectedOptionTextModifier") + } + _SelectAttribute_dividerStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_dividerStyle") + } + _SelectAttribute_avoidance(ptr: KPointer, value: KInt): void { + console.log("_SelectAttribute_avoidance") + } + _SelectAttribute_menuOutline(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_menuOutline") + } + _SelectAttribute_menuAlign0(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_menuAlign0") + } + _SelectAttribute_menuAlign1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SelectAttribute_menuAlign1") } _SelectAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SelectAttribute__onChangeEvent_selected") @@ -3091,8 +3654,11 @@ export class ArkUIGeneratedNativeModuleEmpty { _SliderAttribute_trackColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SliderAttribute_trackColor") } - _SliderAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SliderAttribute_selectedColor") + _SliderAttribute_selectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SliderAttribute_selectedColor0") + } + _SliderAttribute_selectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SliderAttribute_selectedColor1") } _SliderAttribute_minLabel(ptr: KPointer, value: KStringPtr): void { console.log("_SliderAttribute_minLabel") @@ -3145,6 +3711,12 @@ export class ArkUIGeneratedNativeModuleEmpty { _SliderAttribute_slideRange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SliderAttribute_slideRange") } + _SliderAttribute_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SliderAttribute_digitalCrownSensitivity") + } + _SliderAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + console.log("_SliderAttribute_enableHapticFeedback") + } _SliderAttribute_showTips(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SliderAttribute_showTips") } @@ -3265,8 +3837,11 @@ export class ArkUIGeneratedNativeModuleEmpty { _SwiperAttribute_index(ptr: KPointer, value: number): void { console.log("_SwiperAttribute_index") } - _SwiperAttribute_autoPlay(ptr: KPointer, value: KInt): void { - console.log("_SwiperAttribute_autoPlay") + _SwiperAttribute_autoPlay0(ptr: KPointer, value: KInt): void { + console.log("_SwiperAttribute_autoPlay0") + } + _SwiperAttribute_autoPlay1(ptr: KPointer, autoPlay: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SwiperAttribute_autoPlay1") } _SwiperAttribute_interval(ptr: KPointer, value: number): void { console.log("_SwiperAttribute_interval") @@ -3274,7 +3849,7 @@ export class ArkUIGeneratedNativeModuleEmpty { _SwiperAttribute_indicator0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SwiperAttribute_indicator0") } - _SwiperAttribute_indicator1(ptr: KPointer, value: KPointer): void { + _SwiperAttribute_indicator1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SwiperAttribute_indicator1") } _SwiperAttribute_loop(ptr: KPointer, value: KInt): void { @@ -3292,8 +3867,11 @@ export class ArkUIGeneratedNativeModuleEmpty { _SwiperAttribute_displayMode(ptr: KPointer, value: KInt): void { console.log("_SwiperAttribute_displayMode") } - _SwiperAttribute_cachedCount(ptr: KPointer, value: number): void { - console.log("_SwiperAttribute_cachedCount") + _SwiperAttribute_cachedCount0(ptr: KPointer, value: number): void { + console.log("_SwiperAttribute_cachedCount0") + } + _SwiperAttribute_cachedCount1(ptr: KPointer, count: number, isShown: KInt): void { + console.log("_SwiperAttribute_cachedCount1") } _SwiperAttribute_effectMode(ptr: KPointer, value: KInt): void { console.log("_SwiperAttribute_effectMode") @@ -3307,9 +3885,15 @@ export class ArkUIGeneratedNativeModuleEmpty { _SwiperAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SwiperAttribute_onChange") } + _SwiperAttribute_onSelected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SwiperAttribute_onSelected") + } _SwiperAttribute_indicatorStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SwiperAttribute_indicatorStyle") } + _SwiperAttribute_onUnselected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SwiperAttribute_onUnselected") + } _SwiperAttribute_onAnimationStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SwiperAttribute_onAnimationStart") } @@ -3331,6 +3915,12 @@ export class ArkUIGeneratedNativeModuleEmpty { _SwiperAttribute_indicatorInteractive(ptr: KPointer, value: KInt): void { console.log("_SwiperAttribute_indicatorInteractive") } + _SwiperAttribute_pageFlipMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SwiperAttribute_pageFlipMode") + } + _SwiperAttribute_onContentWillScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SwiperAttribute_onContentWillScroll") + } _SwiperAttribute_displayArrow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SwiperAttribute_displayArrow") } @@ -3393,6 +3983,12 @@ export class ArkUIGeneratedNativeModuleEmpty { _SymbolGlyphAttribute_renderingStrategy(ptr: KPointer, value: KInt): void { console.log("_SymbolGlyphAttribute_renderingStrategy") } + _SymbolGlyphAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SymbolGlyphAttribute_minFontScale") + } + _SymbolGlyphAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SymbolGlyphAttribute_maxFontScale") + } _SymbolGlyphAttribute_symbolEffect0(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SymbolGlyphAttribute_symbolEffect0") } @@ -3461,9 +4057,15 @@ export class ArkUIGeneratedNativeModuleEmpty { _TabsAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TabsAttribute_onChange") } + _TabsAttribute_onSelected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TabsAttribute_onSelected") + } _TabsAttribute_onTabBarClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TabsAttribute_onTabBarClick") } + _TabsAttribute_onUnselected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TabsAttribute_onUnselected") + } _TabsAttribute_onAnimationStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TabsAttribute_onAnimationStart") } @@ -3500,12 +4102,18 @@ export class ArkUIGeneratedNativeModuleEmpty { _TabsAttribute_barBackgroundEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TabsAttribute_barBackgroundEffect") } + _TabsAttribute_pageFlipMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TabsAttribute_pageFlipMode") + } _TabsAttribute_onContentWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TabsAttribute_onContentWillChange") } _TabsAttribute_barModeScrollable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TabsAttribute_barModeScrollable") } + _TabsAttribute_cachedMaxCount(ptr: KPointer, count: number, mode: KInt): void { + console.log("_TabsAttribute_cachedMaxCount") + } _TabsAttribute__onChangeEvent_index(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TabsAttribute__onChangeEvent_index") } @@ -3522,6 +4130,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _TabContentAttribute_tabBar1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TabContentAttribute_tabBar1") } + _TabContentAttribute_tabBar2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TabContentAttribute_tabBar2") + } _TabContentAttribute_onWillShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TabContentAttribute_onWillShow") } @@ -3643,6 +4254,12 @@ export class ArkUIGeneratedNativeModuleEmpty { _TextAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { console.log("_TextAttribute_fontFeature") } + _TextAttribute_marqueeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextAttribute_marqueeOptions") + } + _TextAttribute_onMarqueeStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextAttribute_onMarqueeStateChange") + } _TextAttribute_privacySensitive(ptr: KPointer, value: KInt): void { console.log("_TextAttribute_privacySensitive") } @@ -3764,6 +4381,12 @@ export class ArkUIGeneratedNativeModuleEmpty { _TextAreaAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TextAreaAttribute_maxFontSize") } + _TextAreaAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextAreaAttribute_minFontScale") + } + _TextAreaAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextAreaAttribute_maxFontScale") + } _TextAreaAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { console.log("_TextAreaAttribute_heightAdaptivePolicy") } @@ -3821,6 +4444,24 @@ export class ArkUIGeneratedNativeModuleEmpty { _TextAreaAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { console.log("_TextAreaAttribute_enableHapticFeedback") } + _TextAreaAttribute_autoCapitalizationMode(ptr: KPointer, value: KInt): void { + console.log("_TextAreaAttribute_autoCapitalizationMode") + } + _TextAreaAttribute_halfLeading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextAreaAttribute_halfLeading") + } + _TextAreaAttribute_ellipsisMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextAreaAttribute_ellipsisMode") + } + _TextAreaAttribute_stopBackPress(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextAreaAttribute_stopBackPress") + } + _TextAreaAttribute_onWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextAreaAttribute_onWillChange") + } + _TextAreaAttribute_keyboardAppearance(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextAreaAttribute_keyboardAppearance") + } _TextAreaAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TextAreaAttribute_inputFilter") } @@ -4018,6 +4659,12 @@ export class ArkUIGeneratedNativeModuleEmpty { _TextInputAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TextInputAttribute_maxFontSize") } + _TextInputAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextInputAttribute_minFontScale") + } + _TextInputAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextInputAttribute_maxFontScale") + } _TextInputAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { console.log("_TextInputAttribute_heightAdaptivePolicy") } @@ -4066,6 +4713,24 @@ export class ArkUIGeneratedNativeModuleEmpty { _TextInputAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { console.log("_TextInputAttribute_enableHapticFeedback") } + _TextInputAttribute_autoCapitalizationMode(ptr: KPointer, value: KInt): void { + console.log("_TextInputAttribute_autoCapitalizationMode") + } + _TextInputAttribute_halfLeading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextInputAttribute_halfLeading") + } + _TextInputAttribute_ellipsisMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextInputAttribute_ellipsisMode") + } + _TextInputAttribute_stopBackPress(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextInputAttribute_stopBackPress") + } + _TextInputAttribute_onWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextInputAttribute_onWillChange") + } + _TextInputAttribute_keyboardAppearance(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextInputAttribute_keyboardAppearance") + } _TextInputAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TextInputAttribute_inputFilter") } @@ -4085,20 +4750,41 @@ export class ArkUIGeneratedNativeModuleEmpty { _TextPickerInterface_setTextPickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TextPickerInterface_setTextPickerOptions") } - _TextPickerAttribute_defaultPickerItemHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TextPickerAttribute_defaultPickerItemHeight") + _TextPickerAttribute_defaultPickerItemHeight0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_defaultPickerItemHeight0") + } + _TextPickerAttribute_defaultPickerItemHeight1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_defaultPickerItemHeight1") + } + _TextPickerAttribute_canLoop0(ptr: KPointer, value: KInt): void { + console.log("_TextPickerAttribute_canLoop0") + } + _TextPickerAttribute_canLoop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_canLoop1") + } + _TextPickerAttribute_disappearTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_disappearTextStyle0") + } + _TextPickerAttribute_disappearTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_disappearTextStyle1") + } + _TextPickerAttribute_textStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_textStyle0") + } + _TextPickerAttribute_textStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_textStyle1") } - _TextPickerAttribute_canLoop(ptr: KPointer, value: KInt): void { - console.log("_TextPickerAttribute_canLoop") + _TextPickerAttribute_selectedTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_selectedTextStyle0") } - _TextPickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TextPickerAttribute_disappearTextStyle") + _TextPickerAttribute_selectedTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_selectedTextStyle1") } - _TextPickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TextPickerAttribute_textStyle") + _TextPickerAttribute_disableTextStyleAnimation(ptr: KPointer, value: KInt): void { + console.log("_TextPickerAttribute_disableTextStyleAnimation") } - _TextPickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TextPickerAttribute_selectedTextStyle") + _TextPickerAttribute_defaultTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_defaultTextStyle") } _TextPickerAttribute_onAccept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TextPickerAttribute_onAccept") @@ -4106,17 +4792,44 @@ export class ArkUIGeneratedNativeModuleEmpty { _TextPickerAttribute_onCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TextPickerAttribute_onCancel") } - _TextPickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TextPickerAttribute_onChange") + _TextPickerAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_onChange0") } - _TextPickerAttribute_selectedIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TextPickerAttribute_selectedIndex") + _TextPickerAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_onChange1") } - _TextPickerAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TextPickerAttribute_divider") + _TextPickerAttribute_onScrollStop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_onScrollStop0") } - _TextPickerAttribute_gradientHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TextPickerAttribute_gradientHeight") + _TextPickerAttribute_onScrollStop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_onScrollStop1") + } + _TextPickerAttribute_onEnterSelectedArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_onEnterSelectedArea") + } + _TextPickerAttribute_selectedIndex0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_selectedIndex0") + } + _TextPickerAttribute_selectedIndex1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_selectedIndex1") + } + _TextPickerAttribute_divider0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_divider0") + } + _TextPickerAttribute_divider1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_divider1") + } + _TextPickerAttribute_gradientHeight0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_gradientHeight0") + } + _TextPickerAttribute_gradientHeight1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_gradientHeight1") + } + _TextPickerAttribute_enableHapticFeedback(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_enableHapticFeedback") + } + _TextPickerAttribute_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextPickerAttribute_digitalCrownSensitivity") } _TextPickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TextPickerAttribute__onChangeEvent_selected") @@ -4165,29 +4878,62 @@ export class ArkUIGeneratedNativeModuleEmpty { _TimePickerInterface_setTimePickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TimePickerInterface_setTimePickerOptions") } - _TimePickerAttribute_useMilitaryTime(ptr: KPointer, value: KInt): void { - console.log("_TimePickerAttribute_useMilitaryTime") + _TimePickerAttribute_useMilitaryTime0(ptr: KPointer, value: KInt): void { + console.log("_TimePickerAttribute_useMilitaryTime0") + } + _TimePickerAttribute_useMilitaryTime1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_useMilitaryTime1") + } + _TimePickerAttribute_loop0(ptr: KPointer, value: KInt): void { + console.log("_TimePickerAttribute_loop0") + } + _TimePickerAttribute_loop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_loop1") + } + _TimePickerAttribute_disappearTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_disappearTextStyle0") + } + _TimePickerAttribute_disappearTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_disappearTextStyle1") + } + _TimePickerAttribute_textStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_textStyle0") + } + _TimePickerAttribute_textStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_textStyle1") } - _TimePickerAttribute_loop(ptr: KPointer, value: KInt): void { - console.log("_TimePickerAttribute_loop") + _TimePickerAttribute_selectedTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_selectedTextStyle0") } - _TimePickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TimePickerAttribute_disappearTextStyle") + _TimePickerAttribute_selectedTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_selectedTextStyle1") } - _TimePickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TimePickerAttribute_textStyle") + _TimePickerAttribute_dateTimeOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_dateTimeOptions0") } - _TimePickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TimePickerAttribute_selectedTextStyle") + _TimePickerAttribute_dateTimeOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_dateTimeOptions1") } - _TimePickerAttribute_dateTimeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TimePickerAttribute_dateTimeOptions") + _TimePickerAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_onChange0") } - _TimePickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_TimePickerAttribute_onChange") + _TimePickerAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_onChange1") } - _TimePickerAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { - console.log("_TimePickerAttribute_enableHapticFeedback") + _TimePickerAttribute_onEnterSelectedArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_onEnterSelectedArea") + } + _TimePickerAttribute_enableHapticFeedback0(ptr: KPointer, value: KInt): void { + console.log("_TimePickerAttribute_enableHapticFeedback0") + } + _TimePickerAttribute_enableHapticFeedback1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_enableHapticFeedback1") + } + _TimePickerAttribute_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TimePickerAttribute_digitalCrownSensitivity") + } + _TimePickerAttribute_enableCascade(ptr: KPointer, value: KInt): void { + console.log("_TimePickerAttribute_enableCascade") } _TimePickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TimePickerAttribute__onChangeEvent_selected") @@ -4275,6 +5021,12 @@ export class ArkUIGeneratedNativeModuleEmpty { _VideoAttribute_analyzerConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_VideoAttribute_analyzerConfig") } + _VideoAttribute_surfaceBackgroundColor(ptr: KPointer, value: KPointer): void { + console.log("_VideoAttribute_surfaceBackgroundColor") + } + _VideoAttribute_enableShortcutKey(ptr: KPointer, value: KInt): void { + console.log("_VideoAttribute_enableShortcutKey") + } _Web_construct(id: KInt, flags: KInt): KPointer { console.log("_Web_construct") return -1 @@ -4336,6 +5088,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _WebAttribute_overScrollMode(ptr: KPointer, value: KInt): void { console.log("_WebAttribute_overScrollMode") } + _WebAttribute_blurOnKeyboardHideMode(ptr: KPointer, value: KInt): void { + console.log("_WebAttribute_blurOnKeyboardHideMode") + } _WebAttribute_textZoomAtio(ptr: KPointer, value: number): void { console.log("_WebAttribute_textZoomAtio") } @@ -4609,9 +5364,6 @@ export class ArkUIGeneratedNativeModuleEmpty { _WebAttribute_enableNativeMediaPlayer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_WebAttribute_enableNativeMediaPlayer") } - _WebAttribute_enableSmoothDragResize(ptr: KPointer, value: KInt): void { - console.log("_WebAttribute_enableSmoothDragResize") - } _WebAttribute_onRenderProcessNotResponding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_WebAttribute_onRenderProcessNotResponding") } @@ -4639,6 +5391,27 @@ export class ArkUIGeneratedNativeModuleEmpty { _WebAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { console.log("_WebAttribute_enableHapticFeedback") } + _WebAttribute_optimizeParserBudget(ptr: KPointer, value: KInt): void { + console.log("_WebAttribute_optimizeParserBudget") + } + _WebAttribute_enableFollowSystemFontWeight(ptr: KPointer, value: KInt): void { + console.log("_WebAttribute_enableFollowSystemFontWeight") + } + _WebAttribute_enableWebAVSession(ptr: KPointer, value: KInt): void { + console.log("_WebAttribute_enableWebAVSession") + } + _WebAttribute_runJavaScriptOnDocumentStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_WebAttribute_runJavaScriptOnDocumentStart") + } + _WebAttribute_runJavaScriptOnDocumentEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_WebAttribute_runJavaScriptOnDocumentEnd") + } + _WebAttribute_runJavaScriptOnHeadEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_WebAttribute_runJavaScriptOnHeadEnd") + } + _WebAttribute_nativeEmbedOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_WebAttribute_nativeEmbedOptions") + } _WebAttribute_registerNativeEmbedRule(ptr: KPointer, tag: KStringPtr, type: KStringPtr): void { console.log("_WebAttribute_registerNativeEmbedRule") } @@ -4668,6 +5441,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _XComponentInterface_setXComponentOptions2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_XComponentInterface_setXComponentOptions2") } + _XComponentInterface_setXComponentOptions3(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_XComponentInterface_setXComponentOptions3") + } _XComponentAttribute_onLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_XComponentAttribute_onLoad") } @@ -4680,6 +5456,12 @@ export class ArkUIGeneratedNativeModuleEmpty { _XComponentAttribute_enableSecure(ptr: KPointer, value: KInt): void { console.log("_XComponentAttribute_enableSecure") } + _XComponentAttribute_hdrBrightness(ptr: KPointer, value: number): void { + console.log("_XComponentAttribute_hdrBrightness") + } + _XComponentAttribute_enableTransparentLayer(ptr: KPointer, value: KInt): void { + console.log("_XComponentAttribute_enableTransparentLayer") + } _SideBarContainer_construct(id: KInt, flags: KInt): KPointer { console.log("_SideBarContainer_construct") return -1 @@ -4816,6 +5598,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _UIExtensionComponentAttribute_onTerminated(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_UIExtensionComponentAttribute_onTerminated") } + _UIExtensionComponentAttribute_onDrawReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_UIExtensionComponentAttribute_onDrawReady") + } _LinearIndicator_construct(id: KInt, flags: KInt): KPointer { console.log("_LinearIndicator_construct") return -1 @@ -6261,262 +7046,65 @@ export class ArkUIGeneratedNativeModuleEmpty { _CalendarPickerDialog_show(thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_CalendarPickerDialog_show") } - _NavPathInfo_ctor(name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_NavPathInfo_ctor") + _ICurve_ctor(): KPointer { + console.log("_ICurve_ctor") return -1 } - _NavPathInfo_getFinalizer(): KPointer { - console.log("_NavPathInfo_getFinalizer") + _ICurve_getFinalizer(): KPointer { + console.log("_ICurve_getFinalizer") return -1 } - _NavPathInfo_getName(ptr: KPointer): string { - console.log("_NavPathInfo_getName") - return "" - } - _NavPathInfo_setName(ptr: KPointer, name: KStringPtr): void { - console.log("_NavPathInfo_setName") + _ICurve_interpolate(ptr: KPointer, fraction: number): number { + console.log("_ICurve_interpolate") + return 1 } - _NavPathInfo_getParam(ptr: KPointer): KInteropReturnBuffer { - console.log("_NavPathInfo_getParam") - return new Uint8Array() + _DrawModifier_ctor(): KPointer { + console.log("_DrawModifier_ctor") + return -1 } - _NavPathInfo_setParam(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathInfo_setParam") + _DrawModifier_getFinalizer(): KPointer { + console.log("_DrawModifier_getFinalizer") + return -1 } - _NavPathInfo_getOnPop(ptr: KPointer): KInteropReturnBuffer { - console.log("_NavPathInfo_getOnPop") - return new Uint8Array() + _DrawModifier_drawBehind(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DrawModifier_drawBehind") } - _NavPathInfo_setOnPop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathInfo_setOnPop") + _DrawModifier_drawContent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DrawModifier_drawContent") } - _NavPathInfo_getIsEntry(ptr: KPointer): KInteropReturnBuffer { - console.log("_NavPathInfo_getIsEntry") - return new Uint8Array() + _DrawModifier_drawFront(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DrawModifier_drawFront") } - _NavPathInfo_setIsEntry(ptr: KPointer, isEntry: KInt): void { - console.log("_NavPathInfo_setIsEntry") + _DrawModifier_invalidate(ptr: KPointer): void { + console.log("_DrawModifier_invalidate") } - _NavPathStack_ctor(): KPointer { - console.log("_NavPathStack_ctor") + _TransitionEffect_ctor(type: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_TransitionEffect_ctor") return -1 } - _NavPathStack_getFinalizer(): KPointer { - console.log("_NavPathStack_getFinalizer") + _TransitionEffect_getFinalizer(): KPointer { + console.log("_TransitionEffect_getFinalizer") return -1 } - _NavPathStack_pushPath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathStack_pushPath0") + _TransitionEffect_translate(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_TransitionEffect_translate") + return -1 } - _NavPathStack_pushPath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathStack_pushPath1") + _TransitionEffect_rotate(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_TransitionEffect_rotate") + return -1 } - _NavPathStack_pushDestination0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_NavPathStack_pushDestination0") + _TransitionEffect_scale(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_TransitionEffect_scale") return -1 } - _NavPathStack_pushDestination1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_NavPathStack_pushDestination1") + _TransitionEffect_opacity(alpha: number): KPointer { + console.log("_TransitionEffect_opacity") return -1 } - _NavPathStack_pushPathByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathStack_pushPathByName0") - } - _NavPathStack_pushPathByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathStack_pushPathByName1") - } - _NavPathStack_pushDestinationByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_NavPathStack_pushDestinationByName0") - return -1 - } - _NavPathStack_pushDestinationByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_NavPathStack_pushDestinationByName1") - return -1 - } - _NavPathStack_replacePath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathStack_replacePath0") - } - _NavPathStack_replacePath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathStack_replacePath1") - } - _NavPathStack_replaceDestination(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_NavPathStack_replaceDestination") - return -1 - } - _NavPathStack_replacePathByName(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathStack_replacePathByName") - } - _NavPathStack_removeByIndexes(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): number { - console.log("_NavPathStack_removeByIndexes") - return 1 - } - _NavPathStack_removeByName(ptr: KPointer, name: KStringPtr): number { - console.log("_NavPathStack_removeByName") - return 1 - } - _NavPathStack_removeByNavDestinationId(ptr: KPointer, navDestinationId: KStringPtr): boolean { - console.log("_NavPathStack_removeByNavDestinationId") - return false - } - _NavPathStack_pop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { - console.log("_NavPathStack_pop0") - return new Uint8Array() - } - _NavPathStack_pop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { - console.log("_NavPathStack_pop1") - return new Uint8Array() - } - _NavPathStack_popToName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { - console.log("_NavPathStack_popToName0") - return 1 - } - _NavPathStack_popToName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { - console.log("_NavPathStack_popToName1") - return 1 - } - _NavPathStack_popToIndex0(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathStack_popToIndex0") - } - _NavPathStack_popToIndex1(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathStack_popToIndex1") - } - _NavPathStack_moveToTop(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { - console.log("_NavPathStack_moveToTop") - return 1 - } - _NavPathStack_moveIndexToTop(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathStack_moveIndexToTop") - } - _NavPathStack_clear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathStack_clear") - } - _NavPathStack_getAllPathName(ptr: KPointer): KInteropReturnBuffer { - console.log("_NavPathStack_getAllPathName") - return new Uint8Array() - } - _NavPathStack_getParamByIndex(ptr: KPointer, index: number): KInteropReturnBuffer { - console.log("_NavPathStack_getParamByIndex") - return new Uint8Array() - } - _NavPathStack_getParamByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer { - console.log("_NavPathStack_getParamByName") - return new Uint8Array() - } - _NavPathStack_getIndexByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer { - console.log("_NavPathStack_getIndexByName") - return new Uint8Array() - } - _NavPathStack_getParent(ptr: KPointer): KInteropReturnBuffer { - console.log("_NavPathStack_getParent") - return new Uint8Array() - } - _NavPathStack_size(ptr: KPointer): number { - console.log("_NavPathStack_size") - return 1 - } - _NavPathStack_disableAnimation(ptr: KPointer, value: KInt): void { - console.log("_NavPathStack_disableAnimation") - } - _NavPathStack_setInterception(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavPathStack_setInterception") - } - _NavigationTransitionProxy_ctor(): KPointer { - console.log("_NavigationTransitionProxy_ctor") - return -1 - } - _NavigationTransitionProxy_getFinalizer(): KPointer { - console.log("_NavigationTransitionProxy_getFinalizer") - return -1 - } - _NavigationTransitionProxy_finishTransition(ptr: KPointer): void { - console.log("_NavigationTransitionProxy_finishTransition") - } - _NavigationTransitionProxy_cancelTransition(ptr: KPointer): void { - console.log("_NavigationTransitionProxy_cancelTransition") - } - _NavigationTransitionProxy_updateTransition(ptr: KPointer, progress: number): void { - console.log("_NavigationTransitionProxy_updateTransition") - } - _NavigationTransitionProxy_getFrom(ptr: KPointer): KInteropReturnBuffer { - console.log("_NavigationTransitionProxy_getFrom") - return new Uint8Array() - } - _NavigationTransitionProxy_setFrom(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationTransitionProxy_setFrom") - } - _NavigationTransitionProxy_getTo(ptr: KPointer): KInteropReturnBuffer { - console.log("_NavigationTransitionProxy_getTo") - return new Uint8Array() - } - _NavigationTransitionProxy_setTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_NavigationTransitionProxy_setTo") - } - _NavigationTransitionProxy_getIsInteractive(ptr: KPointer): KInteropReturnBuffer { - console.log("_NavigationTransitionProxy_getIsInteractive") - return new Uint8Array() - } - _NavigationTransitionProxy_setIsInteractive(ptr: KPointer, isInteractive: KInt): void { - console.log("_NavigationTransitionProxy_setIsInteractive") - } - _ICurve_ctor(): KPointer { - console.log("_ICurve_ctor") - return -1 - } - _ICurve_getFinalizer(): KPointer { - console.log("_ICurve_getFinalizer") - return -1 - } - _ICurve_interpolate(ptr: KPointer, fraction: number): number { - console.log("_ICurve_interpolate") - return 1 - } - _DrawModifier_ctor(): KPointer { - console.log("_DrawModifier_ctor") - return -1 - } - _DrawModifier_getFinalizer(): KPointer { - console.log("_DrawModifier_getFinalizer") - return -1 - } - _DrawModifier_drawBehind(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_DrawModifier_drawBehind") - } - _DrawModifier_drawContent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_DrawModifier_drawContent") - } - _DrawModifier_drawFront(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_DrawModifier_drawFront") - } - _DrawModifier_invalidate(ptr: KPointer): void { - console.log("_DrawModifier_invalidate") - } - _TransitionEffect_ctor(type: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_TransitionEffect_ctor") - return -1 - } - _TransitionEffect_getFinalizer(): KPointer { - console.log("_TransitionEffect_getFinalizer") - return -1 - } - _TransitionEffect_translate(thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_TransitionEffect_translate") - return -1 - } - _TransitionEffect_rotate(thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_TransitionEffect_rotate") - return -1 - } - _TransitionEffect_scale(thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_TransitionEffect_scale") - return -1 - } - _TransitionEffect_opacity(alpha: number): KPointer { - console.log("_TransitionEffect_opacity") - return -1 - } - _TransitionEffect_move(edge: KInt): KPointer { - console.log("_TransitionEffect_move") - return -1 + _TransitionEffect_move(edge: KInt): KPointer { + console.log("_TransitionEffect_move") + return -1 } _TransitionEffect_asymmetric(appear: KPointer, disappear: KPointer): KPointer { console.log("_TransitionEffect_asymmetric") @@ -6614,6 +7202,13 @@ export class ArkUIGeneratedNativeModuleEmpty { _BaseEvent_setTiltY(ptr: KPointer, tiltY: number): void { console.log("_BaseEvent_setTiltY") } + _BaseEvent_getRollAngle(ptr: KPointer): KInteropReturnBuffer { + console.log("_BaseEvent_getRollAngle") + return new Uint8Array() + } + _BaseEvent_setRollAngle(ptr: KPointer, rollAngle: number): void { + console.log("_BaseEvent_setRollAngle") + } _BaseEvent_getSourceTool(ptr: KPointer): int32 { console.log("_BaseEvent_getSourceTool") return 0 @@ -6628,6 +7223,13 @@ export class ArkUIGeneratedNativeModuleEmpty { _BaseEvent_setDeviceId(ptr: KPointer, deviceId: number): void { console.log("_BaseEvent_setDeviceId") } + _BaseEvent_getTargetDisplayId(ptr: KPointer): KInteropReturnBuffer { + console.log("_BaseEvent_getTargetDisplayId") + return new Uint8Array() + } + _BaseEvent_setTargetDisplayId(ptr: KPointer, targetDisplayId: number): void { + console.log("_BaseEvent_setTargetDisplayId") + } _ClickEvent_ctor(): KPointer { console.log("_ClickEvent_ctor") return -1 @@ -6692,6 +7294,13 @@ export class ArkUIGeneratedNativeModuleEmpty { _ClickEvent_setY(ptr: KPointer, y: number): void { console.log("_ClickEvent_setY") } + _ClickEvent_getHand(ptr: KPointer): KInteropReturnBuffer { + console.log("_ClickEvent_getHand") + return new Uint8Array() + } + _ClickEvent_setHand(ptr: KPointer, hand: KInt): void { + console.log("_ClickEvent_setHand") + } _ClickEvent_getPreventDefault(ptr: KPointer): KPointer { console.log("_ClickEvent_getPreventDefault") return -1 @@ -6707,6 +7316,48 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_HoverEvent_getFinalizer") return -1 } + _HoverEvent_getX(ptr: KPointer): KInteropReturnBuffer { + console.log("_HoverEvent_getX") + return new Uint8Array() + } + _HoverEvent_setX(ptr: KPointer, x: number): void { + console.log("_HoverEvent_setX") + } + _HoverEvent_getY(ptr: KPointer): KInteropReturnBuffer { + console.log("_HoverEvent_getY") + return new Uint8Array() + } + _HoverEvent_setY(ptr: KPointer, y: number): void { + console.log("_HoverEvent_setY") + } + _HoverEvent_getWindowX(ptr: KPointer): KInteropReturnBuffer { + console.log("_HoverEvent_getWindowX") + return new Uint8Array() + } + _HoverEvent_setWindowX(ptr: KPointer, windowX: number): void { + console.log("_HoverEvent_setWindowX") + } + _HoverEvent_getWindowY(ptr: KPointer): KInteropReturnBuffer { + console.log("_HoverEvent_getWindowY") + return new Uint8Array() + } + _HoverEvent_setWindowY(ptr: KPointer, windowY: number): void { + console.log("_HoverEvent_setWindowY") + } + _HoverEvent_getDisplayX(ptr: KPointer): KInteropReturnBuffer { + console.log("_HoverEvent_getDisplayX") + return new Uint8Array() + } + _HoverEvent_setDisplayX(ptr: KPointer, displayX: number): void { + console.log("_HoverEvent_setDisplayX") + } + _HoverEvent_getDisplayY(ptr: KPointer): KInteropReturnBuffer { + console.log("_HoverEvent_getDisplayY") + return new Uint8Array() + } + _HoverEvent_setDisplayY(ptr: KPointer, displayY: number): void { + console.log("_HoverEvent_setDisplayY") + } _HoverEvent_getStopPropagation(ptr: KPointer): KPointer { console.log("_HoverEvent_getStopPropagation") return -1 @@ -6799,6 +7450,27 @@ export class ArkUIGeneratedNativeModuleEmpty { _MouseEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_MouseEvent_setStopPropagation") } + _MouseEvent_getRawDeltaX(ptr: KPointer): KInteropReturnBuffer { + console.log("_MouseEvent_getRawDeltaX") + return new Uint8Array() + } + _MouseEvent_setRawDeltaX(ptr: KPointer, rawDeltaX: number): void { + console.log("_MouseEvent_setRawDeltaX") + } + _MouseEvent_getRawDeltaY(ptr: KPointer): KInteropReturnBuffer { + console.log("_MouseEvent_getRawDeltaY") + return new Uint8Array() + } + _MouseEvent_setRawDeltaY(ptr: KPointer, rawDeltaY: number): void { + console.log("_MouseEvent_setRawDeltaY") + } + _MouseEvent_getPressedButtons(ptr: KPointer): KInteropReturnBuffer { + console.log("_MouseEvent_getPressedButtons") + return new Uint8Array() + } + _MouseEvent_setPressedButtons(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_MouseEvent_setPressedButtons") + } _AccessibilityHoverEvent_ctor(): KPointer { console.log("_AccessibilityHoverEvent_ctor") return -1 @@ -6903,6 +7575,85 @@ export class ArkUIGeneratedNativeModuleEmpty { _TouchEvent_setPreventDefault(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_TouchEvent_setPreventDefault") } + _AxisEvent_ctor(): KPointer { + console.log("_AxisEvent_ctor") + return -1 + } + _AxisEvent_getFinalizer(): KPointer { + console.log("_AxisEvent_getFinalizer") + return -1 + } + _AxisEvent_getHorizontalAxisValue(ptr: KPointer): number { + console.log("_AxisEvent_getHorizontalAxisValue") + return 1 + } + _AxisEvent_getVerticalAxisValue(ptr: KPointer): number { + console.log("_AxisEvent_getVerticalAxisValue") + return 1 + } + _AxisEvent_getAction(ptr: KPointer): int32 { + console.log("_AxisEvent_getAction") + return 0 + } + _AxisEvent_setAction(ptr: KPointer, action: KInt): void { + console.log("_AxisEvent_setAction") + } + _AxisEvent_getDisplayX(ptr: KPointer): number { + console.log("_AxisEvent_getDisplayX") + return 1 + } + _AxisEvent_setDisplayX(ptr: KPointer, displayX: number): void { + console.log("_AxisEvent_setDisplayX") + } + _AxisEvent_getDisplayY(ptr: KPointer): number { + console.log("_AxisEvent_getDisplayY") + return 1 + } + _AxisEvent_setDisplayY(ptr: KPointer, displayY: number): void { + console.log("_AxisEvent_setDisplayY") + } + _AxisEvent_getWindowX(ptr: KPointer): number { + console.log("_AxisEvent_getWindowX") + return 1 + } + _AxisEvent_setWindowX(ptr: KPointer, windowX: number): void { + console.log("_AxisEvent_setWindowX") + } + _AxisEvent_getWindowY(ptr: KPointer): number { + console.log("_AxisEvent_getWindowY") + return 1 + } + _AxisEvent_setWindowY(ptr: KPointer, windowY: number): void { + console.log("_AxisEvent_setWindowY") + } + _AxisEvent_getX(ptr: KPointer): number { + console.log("_AxisEvent_getX") + return 1 + } + _AxisEvent_setX(ptr: KPointer, x: number): void { + console.log("_AxisEvent_setX") + } + _AxisEvent_getY(ptr: KPointer): number { + console.log("_AxisEvent_getY") + return 1 + } + _AxisEvent_setY(ptr: KPointer, y: number): void { + console.log("_AxisEvent_setY") + } + _AxisEvent_getScrollStep(ptr: KPointer): KInteropReturnBuffer { + console.log("_AxisEvent_getScrollStep") + return new Uint8Array() + } + _AxisEvent_setScrollStep(ptr: KPointer, scrollStep: number): void { + console.log("_AxisEvent_setScrollStep") + } + _AxisEvent_getPropagation(ptr: KPointer): KPointer { + console.log("_AxisEvent_getPropagation") + return -1 + } + _AxisEvent_setPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_AxisEvent_setPropagation") + } _PixelMapMock_ctor(): KPointer { console.log("_PixelMapMock_ctor") return -1 @@ -6984,6 +7735,13 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_DragEvent_getModifierKeyState") return false } + _DragEvent_executeDropAnimation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_DragEvent_executeDropAnimation") + } + _DragEvent_startDataLoading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): string { + console.log("_DragEvent_startDataLoading") + return "" + } _DragEvent_getDragBehavior(ptr: KPointer): int32 { console.log("_DragEvent_getDragBehavior") return 0 @@ -7080,6 +7838,28 @@ export class ArkUIGeneratedNativeModuleEmpty { _KeyEvent_setUnicode(ptr: KPointer, unicode: number): void { console.log("_KeyEvent_setUnicode") } + _FocusAxisEvent_ctor(): KPointer { + console.log("_FocusAxisEvent_ctor") + return -1 + } + _FocusAxisEvent_getFinalizer(): KPointer { + console.log("_FocusAxisEvent_getFinalizer") + return -1 + } + _FocusAxisEvent_getAxisMap(ptr: KPointer): KInteropReturnBuffer { + console.log("_FocusAxisEvent_getAxisMap") + return new Uint8Array() + } + _FocusAxisEvent_setAxisMap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_FocusAxisEvent_setAxisMap") + } + _FocusAxisEvent_getStopPropagation(ptr: KPointer): KPointer { + console.log("_FocusAxisEvent_getStopPropagation") + return -1 + } + _FocusAxisEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_FocusAxisEvent_setStopPropagation") + } _ProgressMask_ctor(value: number, total: number, thisArray: KSerializerBuffer, thisLength: int32): KPointer { console.log("_ProgressMask_ctor") return -1 @@ -7121,110 +7901,346 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_Measurable_getBorderWidth") return new Uint8Array() } - _View_ctor(): KPointer { - console.log("_View_ctor") - return -1 + _Measurable_getUniqueId(ptr: KPointer): KInteropReturnBuffer { + console.log("_Measurable_getUniqueId") + return new Uint8Array() + } + _Measurable_setUniqueId(ptr: KPointer, uniqueId: number): void { + console.log("_Measurable_setUniqueId") + } + _View_ctor(): KPointer { + console.log("_View_ctor") + return -1 + } + _View_getFinalizer(): KPointer { + console.log("_View_getFinalizer") + return -1 + } + _View_create(ptr: KPointer, value: KPointer): KPointer { + console.log("_View_create") + return -1 + } + _TextContentControllerBase_ctor(): KPointer { + console.log("_TextContentControllerBase_ctor") + return -1 + } + _TextContentControllerBase_getFinalizer(): KPointer { + console.log("_TextContentControllerBase_getFinalizer") + return -1 + } + _TextContentControllerBase_getCaretOffset(ptr: KPointer): KInteropReturnBuffer { + console.log("_TextContentControllerBase_getCaretOffset") + return new Uint8Array() + } + _TextContentControllerBase_getTextContentRect(ptr: KPointer): KInteropReturnBuffer { + console.log("_TextContentControllerBase_getTextContentRect") + return new Uint8Array() + } + _TextContentControllerBase_getTextContentLineCount(ptr: KPointer): number { + console.log("_TextContentControllerBase_getTextContentLineCount") + return 1 + } + _TextContentControllerBase_addText(ptr: KPointer, text: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { + console.log("_TextContentControllerBase_addText") + return 1 + } + _TextContentControllerBase_deleteText(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_TextContentControllerBase_deleteText") + } + _TextContentControllerBase_getSelection(ptr: KPointer): KInteropReturnBuffer { + console.log("_TextContentControllerBase_getSelection") + return new Uint8Array() + } + _TextContentControllerBase_clearPreviewText(ptr: KPointer): void { + console.log("_TextContentControllerBase_clearPreviewText") + } + _TextContentControllerBase_getText(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): string { + console.log("_TextContentControllerBase_getText") + return "" + } + _ChildrenMainSize_ctor(childDefaultSize: number): KPointer { + console.log("_ChildrenMainSize_ctor") + return -1 + } + _ChildrenMainSize_getFinalizer(): KPointer { + console.log("_ChildrenMainSize_getFinalizer") + return -1 + } + _ChildrenMainSize_splice(ptr: KPointer, start: number, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_ChildrenMainSize_splice") + } + _ChildrenMainSize_update(ptr: KPointer, index: number, childSize: number): void { + console.log("_ChildrenMainSize_update") + } + _ChildrenMainSize_getChildDefaultSize(ptr: KPointer): number { + console.log("_ChildrenMainSize_getChildDefaultSize") + return 1 + } + _ChildrenMainSize_setChildDefaultSize(ptr: KPointer, childDefaultSize: number): void { + console.log("_ChildrenMainSize_setChildDefaultSize") + } + _UICommonEvent_ctor(): KPointer { + console.log("_UICommonEvent_ctor") + return -1 + } + _UICommonEvent_getFinalizer(): KPointer { + console.log("_UICommonEvent_getFinalizer") + return -1 + } + _UICommonEvent_setOnClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_UICommonEvent_setOnClick") + } + _UICommonEvent_setOnTouch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_UICommonEvent_setOnTouch") + } + _UICommonEvent_setOnAppear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_UICommonEvent_setOnAppear") + } + _UICommonEvent_setOnDisappear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_UICommonEvent_setOnDisappear") + } + _UICommonEvent_setOnKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_UICommonEvent_setOnKeyEvent") + } + _UICommonEvent_setOnFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_UICommonEvent_setOnFocus") + } + _UICommonEvent_setOnBlur(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_UICommonEvent_setOnBlur") + } + _UICommonEvent_setOnHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_UICommonEvent_setOnHover") + } + _UICommonEvent_setOnMouse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_UICommonEvent_setOnMouse") + } + _UICommonEvent_setOnSizeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_UICommonEvent_setOnSizeChange") + } + _UICommonEvent_setOnVisibleAreaApproximateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_UICommonEvent_setOnVisibleAreaApproximateChange") + } + _GestureModifier_ctor(): KPointer { + console.log("_GestureModifier_ctor") + return -1 + } + _GestureModifier_getFinalizer(): KPointer { + console.log("_GestureModifier_getFinalizer") + return -1 + } + _GestureModifier_applyGesture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_GestureModifier_applyGesture") + } + _NavPathInfo_ctor(name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_NavPathInfo_ctor") + return -1 + } + _NavPathInfo_getFinalizer(): KPointer { + console.log("_NavPathInfo_getFinalizer") + return -1 + } + _NavPathInfo_getName(ptr: KPointer): string { + console.log("_NavPathInfo_getName") + return "" + } + _NavPathInfo_setName(ptr: KPointer, name: KStringPtr): void { + console.log("_NavPathInfo_setName") + } + _NavPathInfo_getParam(ptr: KPointer): KInteropReturnBuffer { + console.log("_NavPathInfo_getParam") + return new Uint8Array() + } + _NavPathInfo_setParam(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathInfo_setParam") + } + _NavPathInfo_getOnPop(ptr: KPointer): KInteropReturnBuffer { + console.log("_NavPathInfo_getOnPop") + return new Uint8Array() + } + _NavPathInfo_setOnPop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathInfo_setOnPop") + } + _NavPathInfo_getIsEntry(ptr: KPointer): KInteropReturnBuffer { + console.log("_NavPathInfo_getIsEntry") + return new Uint8Array() + } + _NavPathInfo_setIsEntry(ptr: KPointer, isEntry: KInt): void { + console.log("_NavPathInfo_setIsEntry") + } + _NavPathInfo_getNavDestinationId(ptr: KPointer): KInteropReturnBuffer { + console.log("_NavPathInfo_getNavDestinationId") + return new Uint8Array() + } + _NavPathInfo_setNavDestinationId(ptr: KPointer, navDestinationId: KStringPtr): void { + console.log("_NavPathInfo_setNavDestinationId") + } + _NavPathStack_ctor(): KPointer { + console.log("_NavPathStack_ctor") + return -1 + } + _NavPathStack_getFinalizer(): KPointer { + console.log("_NavPathStack_getFinalizer") + return -1 + } + _NavPathStack_pushPath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_pushPath0") + } + _NavPathStack_pushPath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_pushPath1") + } + _NavPathStack_pushDestination0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_NavPathStack_pushDestination0") + return -1 + } + _NavPathStack_pushDestination1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_NavPathStack_pushDestination1") + return -1 + } + _NavPathStack_pushPathByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_pushPathByName0") + } + _NavPathStack_pushPathByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_pushPathByName1") } - _View_getFinalizer(): KPointer { - console.log("_View_getFinalizer") + _NavPathStack_pushDestinationByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_NavPathStack_pushDestinationByName0") return -1 } - _View_create(ptr: KPointer, value: KPointer): KPointer { - console.log("_View_create") + _NavPathStack_pushDestinationByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_NavPathStack_pushDestinationByName1") return -1 } - _TextContentControllerBase_ctor(): KPointer { - console.log("_TextContentControllerBase_ctor") - return -1 + _NavPathStack_replacePath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_replacePath0") } - _TextContentControllerBase_getFinalizer(): KPointer { - console.log("_TextContentControllerBase_getFinalizer") + _NavPathStack_replacePath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_replacePath1") + } + _NavPathStack_replaceDestination(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_NavPathStack_replaceDestination") return -1 } - _TextContentControllerBase_getCaretOffset(ptr: KPointer): KInteropReturnBuffer { - console.log("_TextContentControllerBase_getCaretOffset") - return new Uint8Array() + _NavPathStack_replacePathByName(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_replacePathByName") } - _TextContentControllerBase_getTextContentRect(ptr: KPointer): KInteropReturnBuffer { - console.log("_TextContentControllerBase_getTextContentRect") - return new Uint8Array() + _NavPathStack_removeByIndexes(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): number { + console.log("_NavPathStack_removeByIndexes") + return 1 } - _TextContentControllerBase_getTextContentLineCount(ptr: KPointer): number { - console.log("_TextContentControllerBase_getTextContentLineCount") + _NavPathStack_removeByName(ptr: KPointer, name: KStringPtr): number { + console.log("_NavPathStack_removeByName") return 1 } - _ChildrenMainSize_ctor(childDefaultSize: number): KPointer { - console.log("_ChildrenMainSize_ctor") - return -1 + _NavPathStack_removeByNavDestinationId(ptr: KPointer, navDestinationId: KStringPtr): boolean { + console.log("_NavPathStack_removeByNavDestinationId") + return false } - _ChildrenMainSize_getFinalizer(): KPointer { - console.log("_ChildrenMainSize_getFinalizer") - return -1 + _NavPathStack_pop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + console.log("_NavPathStack_pop0") + return new Uint8Array() } - _ChildrenMainSize_splice(ptr: KPointer, start: number, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_ChildrenMainSize_splice") + _NavPathStack_pop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + console.log("_NavPathStack_pop1") + return new Uint8Array() } - _ChildrenMainSize_update(ptr: KPointer, index: number, childSize: number): void { - console.log("_ChildrenMainSize_update") + _NavPathStack_popToName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { + console.log("_NavPathStack_popToName0") + return 1 } - _ChildrenMainSize_getChildDefaultSize(ptr: KPointer): number { - console.log("_ChildrenMainSize_getChildDefaultSize") + _NavPathStack_popToName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { + console.log("_NavPathStack_popToName1") return 1 } - _ChildrenMainSize_setChildDefaultSize(ptr: KPointer, childDefaultSize: number): void { - console.log("_ChildrenMainSize_setChildDefaultSize") + _NavPathStack_popToIndex0(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_popToIndex0") } - _UICommonEvent_ctor(): KPointer { - console.log("_UICommonEvent_ctor") - return -1 + _NavPathStack_popToIndex1(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_popToIndex1") } - _UICommonEvent_getFinalizer(): KPointer { - console.log("_UICommonEvent_getFinalizer") - return -1 + _NavPathStack_moveToTop(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { + console.log("_NavPathStack_moveToTop") + return 1 } - _UICommonEvent_setOnClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_UICommonEvent_setOnClick") + _NavPathStack_moveIndexToTop(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_moveIndexToTop") } - _UICommonEvent_setOnTouch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_UICommonEvent_setOnTouch") + _NavPathStack_clear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_clear") } - _UICommonEvent_setOnAppear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_UICommonEvent_setOnAppear") + _NavPathStack_getAllPathName(ptr: KPointer): KInteropReturnBuffer { + console.log("_NavPathStack_getAllPathName") + return new Uint8Array() } - _UICommonEvent_setOnDisappear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_UICommonEvent_setOnDisappear") + _NavPathStack_getParamByIndex(ptr: KPointer, index: number): KInteropReturnBuffer { + console.log("_NavPathStack_getParamByIndex") + return new Uint8Array() } - _UICommonEvent_setOnKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_UICommonEvent_setOnKeyEvent") + _NavPathStack_getParamByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer { + console.log("_NavPathStack_getParamByName") + return new Uint8Array() } - _UICommonEvent_setOnFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_UICommonEvent_setOnFocus") + _NavPathStack_getIndexByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer { + console.log("_NavPathStack_getIndexByName") + return new Uint8Array() } - _UICommonEvent_setOnBlur(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_UICommonEvent_setOnBlur") + _NavPathStack_getParent(ptr: KPointer): KInteropReturnBuffer { + console.log("_NavPathStack_getParent") + return new Uint8Array() } - _UICommonEvent_setOnHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_UICommonEvent_setOnHover") + _NavPathStack_size(ptr: KPointer): number { + console.log("_NavPathStack_size") + return 1 } - _UICommonEvent_setOnMouse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_UICommonEvent_setOnMouse") + _NavPathStack_disableAnimation(ptr: KPointer, value: KInt): void { + console.log("_NavPathStack_disableAnimation") } - _UICommonEvent_setOnSizeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_UICommonEvent_setOnSizeChange") + _NavPathStack_setInterception(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_setInterception") } - _UICommonEvent_setOnVisibleAreaApproximateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_UICommonEvent_setOnVisibleAreaApproximateChange") + _NavPathStack_getPathStack(ptr: KPointer): KInteropReturnBuffer { + console.log("_NavPathStack_getPathStack") + return new Uint8Array() } - _GestureModifier_ctor(): KPointer { - console.log("_GestureModifier_ctor") + _NavPathStack_setPathStack(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavPathStack_setPathStack") + } + _NavigationTransitionProxy_ctor(): KPointer { + console.log("_NavigationTransitionProxy_ctor") return -1 } - _GestureModifier_getFinalizer(): KPointer { - console.log("_GestureModifier_getFinalizer") + _NavigationTransitionProxy_getFinalizer(): KPointer { + console.log("_NavigationTransitionProxy_getFinalizer") return -1 } - _GestureModifier_applyGesture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_GestureModifier_applyGesture") + _NavigationTransitionProxy_finishTransition(ptr: KPointer): void { + console.log("_NavigationTransitionProxy_finishTransition") + } + _NavigationTransitionProxy_cancelTransition(ptr: KPointer): void { + console.log("_NavigationTransitionProxy_cancelTransition") + } + _NavigationTransitionProxy_updateTransition(ptr: KPointer, progress: number): void { + console.log("_NavigationTransitionProxy_updateTransition") + } + _NavigationTransitionProxy_getFrom(ptr: KPointer): KInteropReturnBuffer { + console.log("_NavigationTransitionProxy_getFrom") + return new Uint8Array() + } + _NavigationTransitionProxy_setFrom(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationTransitionProxy_setFrom") + } + _NavigationTransitionProxy_getTo(ptr: KPointer): KInteropReturnBuffer { + console.log("_NavigationTransitionProxy_getTo") + return new Uint8Array() + } + _NavigationTransitionProxy_setTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_NavigationTransitionProxy_setTo") + } + _NavigationTransitionProxy_getIsInteractive(ptr: KPointer): KInteropReturnBuffer { + console.log("_NavigationTransitionProxy_getIsInteractive") + return new Uint8Array() + } + _NavigationTransitionProxy_setIsInteractive(ptr: KPointer, isInteractive: KInt): void { + console.log("_NavigationTransitionProxy_setIsInteractive") } _CanvasGradient_ctor(): KPointer { console.log("_CanvasGradient_ctor") @@ -7496,6 +8512,13 @@ export class ArkUIGeneratedNativeModuleEmpty { _CanvasRenderer_reset(ptr: KPointer): void { console.log("_CanvasRenderer_reset") } + _CanvasRenderer_getLetterSpacing(ptr: KPointer): KInteropReturnBuffer { + console.log("_CanvasRenderer_getLetterSpacing") + return new Uint8Array() + } + _CanvasRenderer_setLetterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CanvasRenderer_setLetterSpacing") + } _CanvasRenderer_getGlobalAlpha(ptr: KPointer): number { console.log("_CanvasRenderer_getGlobalAlpha") return 1 @@ -8039,8 +9062,12 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_LongPressGestureInterface_onActionEnd") return -1 } - _LongPressGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_LongPressGestureInterface_onActionCancel") + _LongPressGestureInterface_onActionCancel0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_LongPressGestureInterface_onActionCancel0") + return -1 + } + _LongPressGestureInterface_onActionCancel1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_LongPressGestureInterface_onActionCancel1") return -1 } _PanGestureOptions_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { @@ -8064,6 +9091,10 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_PanGestureOptions_getDirection") return 0 } + _PanGestureOptions_getDistance(ptr: KPointer): number { + console.log("_PanGestureOptions_getDistance") + return 1 + } _PanGestureInterface_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { console.log("_PanGestureInterface_ctor") return -1 @@ -8084,8 +9115,12 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_PanGestureInterface_onActionEnd") return -1 } - _PanGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_PanGestureInterface_onActionCancel") + _PanGestureInterface_onActionCancel0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_PanGestureInterface_onActionCancel0") + return -1 + } + _PanGestureInterface_onActionCancel1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_PanGestureInterface_onActionCancel1") return -1 } _SwipeGestureInterface_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { @@ -8120,8 +9155,12 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_PinchGestureInterface_onActionEnd") return -1 } - _PinchGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_PinchGestureInterface_onActionCancel") + _PinchGestureInterface_onActionCancel0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_PinchGestureInterface_onActionCancel0") + return -1 + } + _PinchGestureInterface_onActionCancel1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_PinchGestureInterface_onActionCancel1") return -1 } _RotationGestureInterface_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { @@ -8144,8 +9183,12 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_RotationGestureInterface_onActionEnd") return -1 } - _RotationGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_RotationGestureInterface_onActionCancel") + _RotationGestureInterface_onActionCancel0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_RotationGestureInterface_onActionCancel0") + return -1 + } + _RotationGestureInterface_onActionCancel1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_RotationGestureInterface_onActionCancel1") return -1 } _GestureGroupInterface_ctor(mode: KInt, thisArray: KSerializerBuffer, thisLength: int32): KPointer { @@ -8227,6 +9270,82 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_GestureRecognizer_isValid") return false } + _GestureRecognizer_getFingerCount(ptr: KPointer): number { + console.log("_GestureRecognizer_getFingerCount") + return 1 + } + _GestureRecognizer_isFingerCountLimit(ptr: KPointer): boolean { + console.log("_GestureRecognizer_isFingerCountLimit") + return false + } + _TapRecognizer_ctor(): KPointer { + console.log("_TapRecognizer_ctor") + return -1 + } + _TapRecognizer_getFinalizer(): KPointer { + console.log("_TapRecognizer_getFinalizer") + return -1 + } + _TapRecognizer_getTapCount(ptr: KPointer): number { + console.log("_TapRecognizer_getTapCount") + return 1 + } + _LongPressRecognizer_ctor(): KPointer { + console.log("_LongPressRecognizer_ctor") + return -1 + } + _LongPressRecognizer_getFinalizer(): KPointer { + console.log("_LongPressRecognizer_getFinalizer") + return -1 + } + _LongPressRecognizer_isRepeat(ptr: KPointer): boolean { + console.log("_LongPressRecognizer_isRepeat") + return false + } + _LongPressRecognizer_getDuration(ptr: KPointer): number { + console.log("_LongPressRecognizer_getDuration") + return 1 + } + _SwipeRecognizer_ctor(): KPointer { + console.log("_SwipeRecognizer_ctor") + return -1 + } + _SwipeRecognizer_getFinalizer(): KPointer { + console.log("_SwipeRecognizer_getFinalizer") + return -1 + } + _SwipeRecognizer_getVelocityThreshold(ptr: KPointer): number { + console.log("_SwipeRecognizer_getVelocityThreshold") + return 1 + } + _SwipeRecognizer_getDirection(ptr: KPointer): int32 { + console.log("_SwipeRecognizer_getDirection") + return 0 + } + _PinchRecognizer_ctor(): KPointer { + console.log("_PinchRecognizer_ctor") + return -1 + } + _PinchRecognizer_getFinalizer(): KPointer { + console.log("_PinchRecognizer_getFinalizer") + return -1 + } + _PinchRecognizer_getDistance(ptr: KPointer): number { + console.log("_PinchRecognizer_getDistance") + return 1 + } + _RotationRecognizer_ctor(): KPointer { + console.log("_RotationRecognizer_ctor") + return -1 + } + _RotationRecognizer_getFinalizer(): KPointer { + console.log("_RotationRecognizer_getFinalizer") + return -1 + } + _RotationRecognizer_getAngle(ptr: KPointer): number { + console.log("_RotationRecognizer_getAngle") + return 1 + } _PanRecognizer_ctor(): KPointer { console.log("_PanRecognizer_ctor") return -1 @@ -8398,6 +9517,35 @@ export class ArkUIGeneratedNativeModuleEmpty { _PatternLockController_setChallengeResult(ptr: KPointer, result: KInt): void { console.log("_PatternLockController_setChallengeResult") } + _VirtualScrollOptions_ctor(): KPointer { + console.log("_VirtualScrollOptions_ctor") + return -1 + } + _VirtualScrollOptions_getFinalizer(): KPointer { + console.log("_VirtualScrollOptions_getFinalizer") + return -1 + } + _VirtualScrollOptions_onLazyLoading(ptr: KPointer, index: number): void { + console.log("_VirtualScrollOptions_onLazyLoading") + } + _VirtualScrollOptions_onTotalCount(ptr: KPointer): number { + console.log("_VirtualScrollOptions_onTotalCount") + return 1 + } + _VirtualScrollOptions_getTotalCount(ptr: KPointer): KInteropReturnBuffer { + console.log("_VirtualScrollOptions_getTotalCount") + return new Uint8Array() + } + _VirtualScrollOptions_setTotalCount(ptr: KPointer, totalCount: number): void { + console.log("_VirtualScrollOptions_setTotalCount") + } + _VirtualScrollOptions_getReusable(ptr: KPointer): KInteropReturnBuffer { + console.log("_VirtualScrollOptions_getReusable") + return new Uint8Array() + } + _VirtualScrollOptions_setReusable(ptr: KPointer, reusable: KInt): void { + console.log("_VirtualScrollOptions_setReusable") + } _RichEditorBaseController_ctor(): KPointer { console.log("_RichEditorBaseController_ctor") return -1 @@ -8442,6 +9590,10 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_RichEditorBaseController_getPreviewText") return new Uint8Array() } + _RichEditorBaseController_getCaretRect(ptr: KPointer): KInteropReturnBuffer { + console.log("_RichEditorBaseController_getCaretRect") + return new Uint8Array() + } _RichEditorController_ctor(): KPointer { console.log("_RichEditorController_ctor") return -1 @@ -8653,12 +9805,19 @@ export class ArkUIGeneratedNativeModuleEmpty { _SwiperController_showPrevious(ptr: KPointer): void { console.log("_SwiperController_showPrevious") } - _SwiperController_changeIndex(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { - console.log("_SwiperController_changeIndex") + _SwiperController_changeIndex0(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SwiperController_changeIndex0") + } + _SwiperController_changeIndex1(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_SwiperController_changeIndex1") } _SwiperController_finishAnimation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { console.log("_SwiperController_finishAnimation") } + _SwiperController_preloadItems(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_SwiperController_preloadItems") + return -1 + } _SwiperContentTransitionProxy_ctor(): KPointer { console.log("_SwiperContentTransitionProxy_ctor") return -1 @@ -9013,6 +10172,18 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_TextMenuItemId_getAI_WRITER") return -1 } + _TextMenuItemId_getTRANSLATE(): KPointer { + console.log("_TextMenuItemId_getTRANSLATE") + return -1 + } + _TextMenuItemId_getSEARCH(): KPointer { + console.log("_TextMenuItemId_getSEARCH") + return -1 + } + _TextMenuItemId_getSHARE(): KPointer { + console.log("_TextMenuItemId_getSHARE") + return -1 + } _SubmitEvent_ctor(): KPointer { console.log("_SubmitEvent_ctor") return -1 @@ -9169,6 +10340,10 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_FileSelectorParam_isCapture") return false } + _FileSelectorParam_getMimeTypes(ptr: KPointer): KInteropReturnBuffer { + console.log("_FileSelectorParam_getMimeTypes") + return new Uint8Array() + } _JsResult_ctor(): KPointer { console.log("_JsResult_ctor") return -1 @@ -9571,8 +10746,11 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_EventResult_getFinalizer") return -1 } - _EventResult_setGestureEventResult(ptr: KPointer, result: KInt): void { - console.log("_EventResult_setGestureEventResult") + _EventResult_setGestureEventResult0(ptr: KPointer, result: KInt): void { + console.log("_EventResult_setGestureEventResult0") + } + _EventResult_setGestureEventResult1(ptr: KPointer, result: KInt, stopPropagation: KInt): void { + console.log("_EventResult_setGestureEventResult1") } _WebController_ctor(): KPointer { console.log("_WebController_ctor") @@ -9792,12 +10970,20 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_StyledString_toHtml") return "" } - _StyledString_marshalling(styledString: KPointer): KInteropReturnBuffer { - console.log("_StyledString_marshalling") + _StyledString_marshalling0(styledString: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + console.log("_StyledString_marshalling0") return new Uint8Array() } - _StyledString_unmarshalling(thisArray: KSerializerBuffer, thisLength: int32): KPointer { - console.log("_StyledString_unmarshalling") + _StyledString_marshalling1(styledString: KPointer): KInteropReturnBuffer { + console.log("_StyledString_marshalling1") + return new Uint8Array() + } + _StyledString_unmarshalling0(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_StyledString_unmarshalling0") + return -1 + } + _StyledString_unmarshalling1(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + console.log("_StyledString_unmarshalling1") return -1 } _StyledString_getLength(ptr: KPointer): number { @@ -9940,6 +11126,10 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_ParagraphStyle_getLeadingMargin") return new Uint8Array() } + _ParagraphStyle_getParagraphSpacing(ptr: KPointer): KInteropReturnBuffer { + console.log("_ParagraphStyle_getParagraphSpacing") + return new Uint8Array() + } _LineHeightStyle_ctor(lineHeight: KPointer): KPointer { console.log("_LineHeightStyle_ctor") return -1 @@ -10033,6 +11223,10 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_ImageAttachment_getLayoutStyle") return new Uint8Array() } + _ImageAttachment_getColorFilter(ptr: KPointer): KInteropReturnBuffer { + console.log("_ImageAttachment_getColorFilter") + return new Uint8Array() + } _CustomSpan_ctor(): KPointer { console.log("_CustomSpan_ctor") return -1 diff --git a/arkoala/arkui/src/generated/EnumsImpl.ts b/arkoala/arkui/src/generated/EnumsImpl.ts index 651bb76e49..47deca4ac0 100644 --- a/arkoala/arkui/src/generated/EnumsImpl.ts +++ b/arkoala/arkui/src/generated/EnumsImpl.ts @@ -468,48 +468,136 @@ export enum CalendarAlign { CENTER = 1, END = 2, } -export enum NavigationMode { - STACK, - Stack = STACK, - SPLIT = 1, - Split = SPLIT, - AUTO = 2, - Auto = AUTO, -} -export enum NavBarPosition { - START, - Start = START, - END = 1, - End = END, -} -export enum NavigationTitleMode { - FREE, - Free = FREE, - FULL = 1, - Full = FULL, - MINI = 2, - Mini = MINI, -} -export enum LaunchMode { - STANDARD, - MOVE_TO_TOP_SINGLETON = 1, - POP_TO_SINGLETON = 2, - NEW_INSTANCE = 3, -} -export enum ToolbarItemStatus { - NORMAL, - DISABLED = 1, - ACTIVE = 2, -} -export enum NavigationOperation { - PUSH = 1, - POP = 2, - REPLACE = 3, -} -export enum BarStyle { - STANDARD, - STACK = 1, - SAFE_AREA_PADDING = 2, +export enum AccessibilitySamePageMode { + SEMI_SILENT, + FULL_SILENT = 1, +} +export enum AccessibilityRoleType { + ACTION_SHEET, + ALERT_DIALOG = 1, + INDEXER_COMPONENT = 2, + BADGE_COMPONENT = 3, + BLANK = 4, + BUTTON = 5, + BACK_BUTTON = 6, + SHEET_DRAG_BAR = 7, + CALENDAR_PICKER = 8, + CALENDAR = 9, + CANVAS = 10, + CANVAS_GRADIENT = 11, + CANVAS_PATTERN = 12, + CHECKBOX = 13, + CHECKBOX_GROUP = 14, + CIRCLE = 15, + COLUMN_SPLIT = 16, + COLUMN = 17, + CANVAS_RENDERING_CONTEXT_2D = 18, + CHART = 19, + COUNTER = 20, + CONTAINER_MODAL = 21, + DATA_PANEL = 22, + DATE_PICKER = 23, + DIALOG = 24, + DIVIDER = 25, + DRAG_BAR = 26, + EFFECT_COMPONENT = 27, + ELLIPSE = 28, + FLEX = 29, + FLOW_ITEM = 30, + FORM_COMPONENT = 31, + FORM_LINK = 32, + GAUGE = 33, + GRID = 34, + GRID_COL = 35, + GRID_CONTAINER = 36, + GRID_ITEM = 37, + GRID_ROW = 38, + HYPERLINK = 39, + IMAGE = 40, + IMAGE_ANIMATOR = 41, + IMAGE_BITMAP = 42, + IMAGE_DATA = 43, + IMAGE_SPAN = 44, + LABEL = 45, + LINE = 46, + LIST = 47, + LIST_ITEM = 48, + LIST_ITEM_GROUP = 49, + LOADING_PROGRESS = 50, + MARQUEE = 51, + MATRIX2D = 52, + MENU = 53, + MENU_ITEM = 54, + MENU_ITEM_GROUP = 55, + NAV_DESTINATION = 56, + NAV_ROUTER = 57, + NAVIGATION = 58, + NAVIGATION_BAR = 59, + NAVIGATION_MENU = 60, + NAVIGATOR = 61, + OFFSCREEN_CANVAS = 62, + OFFSCREEN_CANVAS_RENDERING_CONTEXT2D = 63, + OPTION = 64, + PANEL = 65, + PAPER_PAGE = 66, + PATH = 67, + PATH2D = 68, + PATTERN_LOCK = 69, + PICKER = 70, + PICKER_VIEW = 71, + PLUGIN_COMPONENT = 72, + POLYGON = 73, + POLYLINE = 74, + POPUP = 75, + PROGRESS = 76, + QRCODE = 77, + RADIO = 78, + RATING = 79, + RECT = 80, + REFRESH = 81, + RELATIVE_CONTAINER = 82, + REMOTE_WINDOW = 83, + RICH_EDITOR = 84, + RICH_TEXT = 85, + ROLE_PAGER = 86, + ROW = 87, + ROW_SPLIT = 88, + SCROLL = 89, + SCROLL_BAR = 90, + SEARCH = 91, + SEARCH_FIELD = 92, + SELECT = 93, + SHAPE = 94, + SIDEBAR_CONTAINER = 95, + SLIDER = 96, + SPAN = 97, + STACK = 98, + STEPPER = 99, + STEPPER_ITEM = 100, + SWIPER = 101, + SWIPER_INDICATOR = 102, + SWITCH = 103, + SYMBOL_GLYPH = 104, + TAB_CONTENT = 105, + TAB_BAR = 106, + TABS = 107, + TEXT = 108, + TEXT_CLOCK = 109, + TEXT_ENTRY = 110, + TEXT_INPUT = 111, + TEXT_PICKER = 112, + TEXT_TIMER = 113, + TEXT_AREA = 114, + TEXT_FIELD = 115, + TIME_PICKER = 116, + TITLE_BAR = 117, + TOGGLER = 118, + UI_EXTENSION_COMPONENT = 119, + VIDEO = 120, + WATER_FLOW = 121, + WEB = 122, + XCOMPONENT = 123, + ROLE_NONE = 124, } export enum FinishCallbackType { REMOVED, @@ -547,6 +635,7 @@ export enum PreDragStatus { PREVIEW_LANDING_STARTED = 4, PREVIEW_LANDING_FINISHED = 5, ACTION_CANCELED_BEFORE_DRAG = 6, + PREPARING_FOR_DRAG_DETECTION = 7, } export enum SourceType { UNKNOWN, @@ -693,6 +782,11 @@ export enum MenuPreviewMode { NONE, IMAGE = 1, } +export enum HapticFeedbackMode { + DISABLED, + ENABLED = 1, + AUTO = 2, +} export enum OutlineStyle { SOLID, DASHED = 1, @@ -703,6 +797,14 @@ export enum DragPreviewMode { DISABLE_SCALE = 2, ENABLE_DEFAULT_SHADOW = 3, ENABLE_DEFAULT_RADIUS = 4, + ENABLE_DRAG_ITEM_GRAY_EFFECT = 5, + ENABLE_MULTI_TILE_EFFECT = 6, + ENABLE_TOUCH_POINT_CALCULATION_BASED_ON_FINAL_PREVIEW = 7, +} +export enum DraggingSizeChangeEffect { + DEFAULT, + SIZE_TRANSITION = 1, + SIZE_CONTENT_TRANSITION = 2, } export enum MenuPolicy { DEFAULT, @@ -714,6 +816,10 @@ export enum ContentClipMode { BOUNDARY = 1, SAFE_AREA = 2, } +export enum EffectEdge { + START = 1, + END = 2, +} export enum KeyboardAvoidMode { DEFAULT, NONE = 1, @@ -722,6 +828,49 @@ export enum HoverModeAreaType { TOP_SCREEN, BOTTOM_SCREEN = 1, } +export enum NavigationMode { + STACK, + Stack = STACK, + SPLIT = 1, + Split = SPLIT, + AUTO = 2, + Auto = AUTO, +} +export enum NavBarPosition { + START, + Start = START, + END = 1, + End = END, +} +export enum NavigationTitleMode { + FREE, + Free = FREE, + FULL = 1, + Full = FULL, + MINI = 2, + Mini = MINI, +} +export enum LaunchMode { + STANDARD, + MOVE_TO_TOP_SINGLETON = 1, + POP_TO_SINGLETON = 2, + NEW_INSTANCE = 3, +} +export enum ToolbarItemStatus { + NORMAL, + DISABLED = 1, + ACTIVE = 2, +} +export enum NavigationOperation { + PUSH = 1, + POP = 2, + REPLACE = 3, +} +export enum BarStyle { + STANDARD, + STACK = 1, + SAFE_AREA_PADDING = 2, +} export enum SelectStatus { ALL, All = ALL, @@ -740,6 +889,11 @@ export enum DataPanelType { CIRCLE = 1, Circle = CIRCLE, } +export enum DatePickerMode { + DATE, + YEAR_AND_MONTH = 1, + MONTH_AND_DAY = 2, +} export enum CheckBoxShape { CIRCLE, ROUNDED_SQUARE = 1, @@ -797,6 +951,7 @@ export enum ImageFit { BOTTOM_START = 13, BOTTOM = 14, BOTTOM_END = 15, + MATRIX = 16, } export enum BorderStyle { DOTTED, @@ -824,6 +979,11 @@ export enum TouchType { CANCEL = 3, Cancel = CANCEL, } +export enum InteractionHand { + NONE, + LEFT = 1, + RIGHT = 2, +} export enum MouseButton { LEFT, Left = LEFT, @@ -847,6 +1007,7 @@ export enum MouseAction { Move = MOVE, HOVER = 3, Hover = HOVER, + CANCEL = 13, } export enum AnimationStatus { INITIAL, @@ -917,6 +1078,7 @@ export enum KeySource { Unknown = UNKNOWN, KEYBOARD = 1, Keyboard = KEYBOARD, + JOYSTICK = 2, } export enum Edge { TOP, @@ -1079,6 +1241,10 @@ export enum PixelRoundCalcPolicy { FORCE_CEIL = 1, FORCE_FLOOR = 2, } +export enum PixelRoundMode { + PIXEL_ROUND_ON_LAYOUT_FINISH, + PIXEL_ROUND_AFTER_MEASURE = 1, +} export enum FlexWrap { NO_WRAP, NoWrap = NO_WRAP, @@ -1345,16 +1511,13 @@ export enum WordBreak { NORMAL, BREAK_ALL = 1, BREAK_WORD = 2, + HYPHENATION = 3, } export enum LineBreakStrategy { GREEDY, HIGH_QUALITY = 1, BALANCED = 2, } -export enum OptionWidthMode { - FIT_CONTENT = "fit_content", - FIT_TRIGGER = "fit_trigger", -} export enum IlluminatedType { NONE, BORDER = 1, @@ -1363,6 +1526,10 @@ export enum IlluminatedType { BLOOM_BORDER = 4, BLOOM_BORDER_CONTENT = 5, } +export enum OptionWidthMode { + FIT_CONTENT = "fit_content", + FIT_TRIGGER = "fit_trigger", +} export enum FoldStatus { FOLD_STATUS_UNKNOWN, FOLD_STATUS_EXPANDED = 1, @@ -1405,11 +1572,54 @@ export enum HeightBreakpoint { HEIGHT_MD = 1, HEIGHT_LG = 2, } +export enum AxisModel { + ABS_X, + ABS_Y = 1, + ABS_Z = 2, + ABS_RZ = 3, + ABS_GAS = 4, + ABS_BRAKE = 5, + ABS_HAT0X = 6, + ABS_HAT0Y = 7, +} +export enum PageFlipMode { + CONTINUOUS, + SINGLE = 1, +} +export enum CrownAction { + BEGIN, + UPDATE = 1, + END = 2, +} +export enum CrownSensitivity { + LOW, + MEDIUM = 1, + HIGH = 2, +} +export enum AxisAction { + NONE, + BEGIN = 1, + UPDATE = 2, + END = 3, + CANCEL = 4, +} +export enum FocusDrawLevel { + SELF, + TOP = 1, +} +export enum DividerMode { + FLOATING_ABOVE_MENU, + EMBEDDED_IN_MENU = 1, +} export enum FocusPriority { AUTO, PRIOR = 2000, PREVIOUS = 3000, } +export enum KeyProcessingMode { + FOCUS_NAVIGATION, + ANCESTOR_EVENT = 1, +} export enum FormDimension { DIMENSION_1_2, Dimension_1_2 = DIMENSION_1_2, @@ -1423,6 +1633,9 @@ export enum FormDimension { Dimension_2_1 = DIMENSION_2_1, DIMENSION_1_1 = 6, DIMENSION_6_4 = 7, + DIMENSION_2_3 = 8, + DIMENSION_3_3 = 9, + DIMENSION_3_4 = 10, } export enum FormRenderingMode { FULL_COLOR, @@ -1564,6 +1777,13 @@ export enum ImageInterpolation { HIGH = 3, High = HIGH, } +export enum ImageRotateOrientation { + AUTO, + UP = 1, + RIGHT = 2, + DOWN = 3, + LEFT = 4, +} export enum ImageAnalyzerType { SUBJECT, TEXT = 1, @@ -1691,11 +1911,23 @@ export enum NavigationSystemTransitionType { NONE = 1, TITLE = 2, CONTENT = 3, + FADE = 4, + EXPLODE = 5, + SLIDE_RIGHT = 6, + SLIDE_BOTTOM = 7, } export enum NavDestinationMode { STANDARD, DIALOG = 1, } +export enum NavDestinationActiveReason { + TRANSITION, + CONTENT_COVER = 1, + SHEET = 2, + DIALOG = 3, + OVERLAY = 4, + APP_STATE = 5, +} export enum NavRouteMode { PUSH_WITH_RECREATE, PUSH = 1, @@ -1852,11 +2084,13 @@ export enum RichEditorSpanType { IMAGE = 1, MIXED = 2, BUILDER = 3, + DEFAULT = 4, } export enum RichEditorResponseType { RIGHT_CLICK, LONG_PRESS = 1, SELECT = 2, + DEFAULT = 3, } export enum SaveIconStyle { FULL_FILLED, @@ -1876,6 +2110,7 @@ export enum SaveDescription { EXPORT_TO_GALLERY = 9, QUICK_SAVE_TO_GALLERY = 10, RESAVE_TO_GALLERY = 11, + SAVE_ALL = 12, } export enum SaveButtonOnClickResult { SUCCESS, @@ -1929,6 +2164,10 @@ export enum MenuAlignType { CENTER = 1, END = 2, } +export enum AvoidanceMode { + COVER_TARGET, + AVOID_AROUND_TARGET = 1, +} export enum SliderStyle { OUT_SET, OutSet = OUT_SET, @@ -1988,6 +2227,11 @@ export enum SwiperNestedScrollMode { SELF_ONLY, SELF_FIRST = 1, } +export enum SwiperAnimationMode { + NO_ANIMATION, + DEFAULT_ANIMATION = 1, + FAST_ANIMATION = 2, +} export enum SymbolRenderingStrategy { SINGLE, MULTIPLE_COLOR = 1, @@ -2012,6 +2256,8 @@ export enum AnimationMode { CONTENT_FIRST, ACTION_FIRST = 1, NO_ANIMATION = 2, + CONTENT_FIRST_WITH_JUMP = 3, + ACTION_FIRST_WITH_JUMP = 4, } export enum BarPosition { START, @@ -2024,6 +2270,10 @@ export enum LayoutStyle { ALWAYS_AVERAGE_SPLIT = 1, SPACE_BETWEEN_OR_CENTER = 2, } +export enum TabsCacheMode { + CACHE_BOTH_SIDE, + CACHE_LATEST_SWITCHED = 1, +} export enum SelectedMode { INDICATOR, BOARD = 1, @@ -2037,11 +2287,22 @@ export enum TextSpanType { TEXT, IMAGE = 1, MIXED = 2, + DEFAULT = 3, } export enum TextResponseType { RIGHT_CLICK, LONG_PRESS = 1, SELECT = 2, + DEFAULT = 3, +} +export enum MarqueeState { + START, + BOUNCE = 1, + FINISH = 2, +} +export enum MarqueeStartPolicy { + DEFAULT, + ON_FOCUS = 1, } export enum TextAreaType { NORMAL, @@ -2051,29 +2312,6 @@ export enum TextAreaType { NUMBER_DECIMAL = 12, URL = 13, } -export enum ContentType { - USER_NAME, - PASSWORD = 1, - NEW_PASSWORD = 2, - FULL_STREET_ADDRESS = 3, - HOUSE_NUMBER = 4, - DISTRICT_ADDRESS = 5, - CITY_ADDRESS = 6, - PROVINCE_ADDRESS = 7, - COUNTRY_ADDRESS = 8, - PERSON_FULL_NAME = 9, - PERSON_LAST_NAME = 10, - PERSON_FIRST_NAME = 11, - PHONE_NUMBER = 12, - PHONE_COUNTRY_CODE = 13, - FULL_PHONE_NUMBER = 14, - EMAIL_ADDRESS = 15, - BANK_CARD_NUMBER = 16, - ID_CARD_NUMBER = 17, - NICKNAME = 23, - DETAIL_INFO_WITHOUT_STREET = 24, - FORMAT_ADDRESS = 25, -} export enum TextDataDetectorType { PHONE_NUMBER, URL = 1, @@ -2089,6 +2327,22 @@ export enum MenuType { SELECTION_MENU, PREVIEW_MENU = 1, } +export enum AutoCapitalizationMode { + NONE, + WORDS = 1, + SENTENCES = 2, + ALL_CHARACTERS = 3, +} +export enum TextMenuShowMode { + DEFAULT, + PREFER_WINDOW = 1, +} +export enum KeyboardAppearance { + NONE_IMMERSIVE, + IMMERSIVE = 1, + LIGHT_IMMERSIVE = 2, + DARK_IMMERSIVE = 3, +} export enum InputType { NORMAL, Normal = NORMAL, @@ -2107,6 +2361,41 @@ export enum InputType { NUMBER_DECIMAL = 12, URL = 13, } +export enum ContentType { + USER_NAME, + PASSWORD = 1, + NEW_PASSWORD = 2, + FULL_STREET_ADDRESS = 3, + HOUSE_NUMBER = 4, + DISTRICT_ADDRESS = 5, + CITY_ADDRESS = 6, + PROVINCE_ADDRESS = 7, + COUNTRY_ADDRESS = 8, + PERSON_FULL_NAME = 9, + PERSON_LAST_NAME = 10, + PERSON_FIRST_NAME = 11, + PHONE_NUMBER = 12, + PHONE_COUNTRY_CODE = 13, + FULL_PHONE_NUMBER = 14, + EMAIL_ADDRESS = 15, + BANK_CARD_NUMBER = 16, + ID_CARD_NUMBER = 17, + NICKNAME = 23, + DETAIL_INFO_WITHOUT_STREET = 24, + FORMAT_ADDRESS = 25, + PASSPORT_NUMBER = 26, + VALIDITY = 27, + ISSUE_AT = 28, + ORGANIZATION = 29, + TAX_ID = 30, + ADDRESS_CITY_AND_STATE = 31, + FLIGHT_NUMBER = 32, + LICENSE_NUMBER = 33, + LICENSE_FILE_NUMBER = 34, + LICENSE_PLATE = 35, + ENGINE_NUMBER = 36, + LICENSE_CHASSIS_NUMBER = 37, +} export enum EnterKeyType { GO = 2, Go = GO, @@ -2213,6 +2502,10 @@ export enum OverScrollMode { NEVER, ALWAYS = 1, } +export enum BlurOnKeyboardHideMode { + SILENT, + BLUR = 1, +} export enum WebDarkMode { OFF, Off = OFF, @@ -2367,6 +2660,10 @@ export enum DpiFollowStrategy { FOLLOW_HOST_DPI, FOLLOW_UI_EXTENSION_ABILITY_DPI = 1, } +export enum WindowModeFollowStrategy { + FOLLOW_HOST_WINDOW_MODE, + FOLLOW_UI_EXTENSION_ABILITY_WINDOW_MODE = 1, +} export enum StyledStringKey { FONT, DECORATION = 1, @@ -2384,6 +2681,8 @@ export enum StyledStringKey { } Object.assign(globalThis, { AccessibilityHoverType: AccessibilityHoverType, + AccessibilityRoleType: AccessibilityRoleType, + AccessibilitySamePageMode: AccessibilitySamePageMode, AdaptiveColor: AdaptiveColor, Affinity: Affinity, Alignment: Alignment, @@ -2392,7 +2691,11 @@ Object.assign(globalThis, { AppRotation: AppRotation, ArrowPointPosition: ArrowPointPosition, ArrowPosition: ArrowPosition, + AutoCapitalizationMode: AutoCapitalizationMode, + AvoidanceMode: AvoidanceMode, Axis: Axis, + AxisAction: AxisAction, + AxisModel: AxisModel, BadgePosition: BadgePosition, BarMode: BarMode, BarPosition: BarPosition, @@ -2401,6 +2704,7 @@ Object.assign(globalThis, { BarStyle: BarStyle, BlendApplyType: BlendApplyType, BlendMode: BlendMode, + BlurOnKeyboardHideMode: BlurOnKeyboardHideMode, BlurStyle: BlurStyle, BlurStyleActivePolicy: BlurStyleActivePolicy, BorderStyle: BorderStyle, @@ -2426,9 +2730,12 @@ Object.assign(globalThis, { ContextMenuSourceType: ContextMenuSourceType, ControlSize: ControlSize, CopyOptions: CopyOptions, + CrownAction: CrownAction, + CrownSensitivity: CrownSensitivity, Curve: Curve, DataOperationType: DataOperationType, DataPanelType: DataPanelType, + DatePickerMode: DatePickerMode, DialogAlignment: DialogAlignment, DialogButtonDirection: DialogButtonDirection, DialogButtonStyle: DialogButtonStyle, @@ -2436,8 +2743,10 @@ Object.assign(globalThis, { DismissReason: DismissReason, DistributionType: DistributionType, DisturbanceFieldShape: DisturbanceFieldShape, + DividerMode: DividerMode, DpiFollowStrategy: DpiFollowStrategy, DragBehavior: DragBehavior, + DraggingSizeChangeEffect: DraggingSizeChangeEffect, DragPreviewMode: DragPreviewMode, DragResult: DragResult, DynamicRangeMode: DynamicRangeMode, @@ -2445,6 +2754,7 @@ Object.assign(globalThis, { EdgeEffect: EdgeEffect, EditMode: EditMode, EffectDirection: EffectDirection, + EffectEdge: EffectEdge, EffectFillStyle: EffectFillStyle, EffectScope: EffectScope, EffectType: EffectType, @@ -2458,6 +2768,7 @@ Object.assign(globalThis, { FlexDirection: FlexDirection, FlexWrap: FlexWrap, FlyMode: FlyMode, + FocusDrawLevel: FocusDrawLevel, FocusPriority: FocusPriority, FoldStatus: FoldStatus, FontMetricsFlags: FontMetricsFlags, @@ -2479,6 +2790,7 @@ Object.assign(globalThis, { GridItemAlignment: GridItemAlignment, GridItemStyle: GridItemStyle, GridRowDirection: GridRowDirection, + HapticFeedbackMode: HapticFeedbackMode, HeightBreakpoint: HeightBreakpoint, HitTestMode: HitTestMode, HitTestType: HitTestType, @@ -2492,14 +2804,18 @@ Object.assign(globalThis, { ImageInterpolation: ImageInterpolation, ImageRenderMode: ImageRenderMode, ImageRepeat: ImageRepeat, + ImageRotateOrientation: ImageRotateOrientation, ImageSize: ImageSize, ImageSpanAlignment: ImageSpanAlignment, IndexerAlign: IndexerAlign, InputType: InputType, IntentionCode: IntentionCode, + InteractionHand: InteractionHand, ItemAlign: ItemAlign, ItemState: ItemState, + KeyboardAppearance: KeyboardAppearance, KeyboardAvoidMode: KeyboardAvoidMode, + KeyProcessingMode: KeyProcessingMode, KeySource: KeySource, KeyType: KeyType, LaunchMode: LaunchMode, @@ -2522,6 +2838,8 @@ Object.assign(globalThis, { LocationButtonOnClickResult: LocationButtonOnClickResult, LocationDescription: LocationDescription, LocationIconStyle: LocationIconStyle, + MarqueeStartPolicy: MarqueeStartPolicy, + MarqueeState: MarqueeState, MarqueeUpdateStrategy: MarqueeUpdateStrategy, MenuAlignType: MenuAlignType, MenuPolicy: MenuPolicy, @@ -2536,6 +2854,7 @@ Object.assign(globalThis, { MouseButton: MouseButton, NativeEmbedStatus: NativeEmbedStatus, NavBarPosition: NavBarPosition, + NavDestinationActiveReason: NavDestinationActiveReason, NavDestinationMode: NavDestinationMode, NavigationMode: NavigationMode, NavigationOperation: NavigationOperation, @@ -2548,6 +2867,7 @@ Object.assign(globalThis, { OptionWidthMode: OptionWidthMode, OutlineStyle: OutlineStyle, OverScrollMode: OverScrollMode, + PageFlipMode: PageFlipMode, PanDirection: PanDirection, PanelHeight: PanelHeight, PanelMode: PanelMode, @@ -2562,6 +2882,7 @@ Object.assign(globalThis, { PerfMonitorActionType: PerfMonitorActionType, PerfMonitorSourceType: PerfMonitorSourceType, PixelRoundCalcPolicy: PixelRoundCalcPolicy, + PixelRoundMode: PixelRoundMode, Placement: Placement, PlaybackSpeed: PlaybackSpeed, PlayMode: PlayMode, @@ -2630,10 +2951,12 @@ Object.assign(globalThis, { SwipeActionState: SwipeActionState, SwipeDirection: SwipeDirection, SwipeEdgeEffect: SwipeEdgeEffect, + SwiperAnimationMode: SwiperAnimationMode, SwiperDisplayMode: SwiperDisplayMode, SwiperNestedScrollMode: SwiperNestedScrollMode, SymbolEffectStrategy: SymbolEffectStrategy, SymbolRenderingStrategy: SymbolRenderingStrategy, + TabsCacheMode: TabsCacheMode, TextAlign: TextAlign, TextAreaType: TextAreaType, TextBaseline: TextBaseline, @@ -2646,6 +2969,7 @@ Object.assign(globalThis, { TextDirection: TextDirection, TextHeightAdaptivePolicy: TextHeightAdaptivePolicy, TextInputStyle: TextInputStyle, + TextMenuShowMode: TextMenuShowMode, TextOverflow: TextOverflow, TextResponseType: TextResponseType, TextSelectableMode: TextSelectableMode, @@ -2677,6 +3001,7 @@ Object.assign(globalThis, { WebResponseType: WebResponseType, Week: Week, WidthBreakpoint: WidthBreakpoint, + WindowModeFollowStrategy: WindowModeFollowStrategy, WindowStatusType: WindowStatusType, WordBreak: WordBreak, XComponentType: XComponentType, diff --git a/arkoala/arkui/src/generated/GlobalScope.ts b/arkoala/arkui/src/generated/GlobalScope.ts index d15d7bb2fc..e359ae746d 100644 --- a/arkoala/arkui/src/generated/GlobalScope.ts +++ b/arkoala/arkui/src/generated/GlobalScope.ts @@ -71,91 +71,7 @@ export class GlobalScope { static borderRadiuses_serialize(all: number): BorderRadiuses { const retval = ArkUIGeneratedNativeModule._GlobalScope_borderRadiuses(all) let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) - const buffer_topLeft_buf_runtimeType = (retvalDeserializer.readInt8() as int32) - let buffer_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (buffer_topLeft_buf_runtimeType)) - { - const buffer_topLeft_buf__selector: number = retvalDeserializer.readInt8() - let buffer_topLeft_buf_: string | number | Resource | undefined|undefined - if (buffer_topLeft_buf__selector == 0) { - buffer_topLeft_buf_ = (retvalDeserializer.readString() as string) - } - else if (buffer_topLeft_buf__selector == 1) { - buffer_topLeft_buf_ = (retvalDeserializer.readNumber() as number) - } - else if (buffer_topLeft_buf__selector == 2) { - buffer_topLeft_buf_ = retvalDeserializer.readResource() - } - else { - throw new Error("One of the branches for buffer_topLeft_buf_ has to be chosen through deserialisation.") - } - buffer_topLeft_buf = (buffer_topLeft_buf_ as string | number | Resource) - } - const buffer_topLeft: undefined | Length = buffer_topLeft_buf - const buffer_topRight_buf_runtimeType = (retvalDeserializer.readInt8() as int32) - let buffer_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (buffer_topRight_buf_runtimeType)) - { - const buffer_topRight_buf__selector: number = retvalDeserializer.readInt8() - let buffer_topRight_buf_: string | number | Resource | undefined|undefined - if (buffer_topRight_buf__selector == 0) { - buffer_topRight_buf_ = (retvalDeserializer.readString() as string) - } - else if (buffer_topRight_buf__selector == 1) { - buffer_topRight_buf_ = (retvalDeserializer.readNumber() as number) - } - else if (buffer_topRight_buf__selector == 2) { - buffer_topRight_buf_ = retvalDeserializer.readResource() - } - else { - throw new Error("One of the branches for buffer_topRight_buf_ has to be chosen through deserialisation.") - } - buffer_topRight_buf = (buffer_topRight_buf_ as string | number | Resource) - } - const buffer_topRight: undefined | Length = buffer_topRight_buf - const buffer_bottomLeft_buf_runtimeType = (retvalDeserializer.readInt8() as int32) - let buffer_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (buffer_bottomLeft_buf_runtimeType)) - { - const buffer_bottomLeft_buf__selector: number = retvalDeserializer.readInt8() - let buffer_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (buffer_bottomLeft_buf__selector == 0) { - buffer_bottomLeft_buf_ = (retvalDeserializer.readString() as string) - } - else if (buffer_bottomLeft_buf__selector == 1) { - buffer_bottomLeft_buf_ = (retvalDeserializer.readNumber() as number) - } - else if (buffer_bottomLeft_buf__selector == 2) { - buffer_bottomLeft_buf_ = retvalDeserializer.readResource() - } - else { - throw new Error("One of the branches for buffer_bottomLeft_buf_ has to be chosen through deserialisation.") - } - buffer_bottomLeft_buf = (buffer_bottomLeft_buf_ as string | number | Resource) - } - const buffer_bottomLeft: undefined | Length = buffer_bottomLeft_buf - const buffer_bottomRight_buf_runtimeType = (retvalDeserializer.readInt8() as int32) - let buffer_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (buffer_bottomRight_buf_runtimeType)) - { - const buffer_bottomRight_buf__selector: number = retvalDeserializer.readInt8() - let buffer_bottomRight_buf_: string | number | Resource | undefined|undefined - if (buffer_bottomRight_buf__selector == 0) { - buffer_bottomRight_buf_ = (retvalDeserializer.readString() as string) - } - else if (buffer_bottomRight_buf__selector == 1) { - buffer_bottomRight_buf_ = (retvalDeserializer.readNumber() as number) - } - else if (buffer_bottomRight_buf__selector == 2) { - buffer_bottomRight_buf_ = retvalDeserializer.readResource() - } - else { - throw new Error("One of the branches for buffer_bottomRight_buf_ has to be chosen through deserialisation.") - } - buffer_bottomRight_buf = (buffer_bottomRight_buf_ as string | number | Resource) - } - const buffer_bottomRight: undefined | Length = buffer_bottomRight_buf - const returnResult: BorderRadiuses = ({topLeft: buffer_topLeft, topRight: buffer_topRight, bottomLeft: buffer_bottomLeft, bottomRight: buffer_bottomRight} as BorderRadiuses) + const returnResult: BorderRadiuses = retvalDeserializer.readBorderRadiuses() return returnResult } public static wrapBuilder(builder: ((...args: CommonConfiguration[]) => void)): WrappedBuilder { diff --git a/arkoala/arkui/src/generated/action_sheet.ts b/arkoala/arkui/src/generated/action_sheet.ts index ac307ccd20..188487965c 100644 --- a/arkoala/arkui/src/generated/action_sheet.ts +++ b/arkoala/arkui/src/generated/action_sheet.ts @@ -20,9 +20,9 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, wrapCallback } from "@koalaui/interop" import { Resource } from "./resource" import { VoidCallback, ResourceStr, ResourceColor, Dimension, BorderRadiuses, LocalizedBorderRadiuses, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors } from "./units" -import { DismissReason, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType } from "./common" +import { DismissReason, Rectangle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ShadowOptions, ShadowStyle, HoverModeAreaType } from "./common" import { DialogButtonStyle, BorderStyle } from "./enums" -import { DialogAlignment } from "./alert_dialog" +import { DialogAlignment, LevelOrder } from "./alert_dialog" import { TransitionEffect } from "./AllMaterialized" import { EdgeStyles } from "./arkui-external" export interface SheetInfo { @@ -45,6 +45,12 @@ export interface ActionSheetOffset { dx: number | string | Resource; dy: number | string | Resource; } +export interface LevelMode { + _LevelModeStub: string; +} +export interface ImmersiveMode { + _ImmersiveModeStub: string; +} export type Callback_DismissDialogAction_Void = (parameter: DismissDialogAction) => void; export interface ActionSheetOptions { title: string | Resource; @@ -61,6 +67,8 @@ export interface ActionSheetOptions { isModal?: boolean; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onWillDismiss?: ((parameter: DismissDialogAction) => void); transition?: TransitionEffect; cornerRadius?: Dimension | BorderRadiuses | LocalizedBorderRadiuses; @@ -72,4 +80,12 @@ export interface ActionSheetOptions { shadow?: ShadowOptions | ShadowStyle; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + onDidAppear?: (() => void); + onDidDisappear?: (() => void); + onWillAppear?: (() => void); + onWillDisappear?: (() => void); + levelMode?: LevelMode; + levelUniqueId?: number; + immersiveMode?: ImmersiveMode; + levelOrder?: LevelOrder; } diff --git a/arkoala/arkui/src/generated/alert_dialog.ts b/arkoala/arkui/src/generated/alert_dialog.ts index a2ebfa5f38..9e6c776a78 100644 --- a/arkoala/arkui/src/generated/alert_dialog.ts +++ b/arkoala/arkui/src/generated/alert_dialog.ts @@ -20,8 +20,8 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, wrapCallback } from "@koalaui/interop" import { DialogButtonStyle, WordBreak, BorderStyle } from "./enums" import { ResourceStr, ResourceColor, VoidCallback, Offset, Dimension, BorderRadiuses, LocalizedBorderRadiuses, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors } from "./units" -import { Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType } from "./common" -import { DismissDialogAction } from "./action_sheet" +import { Rectangle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ShadowOptions, ShadowStyle, HoverModeAreaType } from "./common" +import { DismissDialogAction, LevelMode, ImmersiveMode } from "./action_sheet" import { TransitionEffect } from "./AllMaterialized" import { EdgeStyles } from "./arkui-external" export enum DialogAlignment { @@ -66,6 +66,9 @@ export interface AlertDialogButtonOptions extends AlertDialogButtonBaseOptions { export interface TextStyle_alert_dialog { wordBreak?: WordBreak; } +export interface LevelOrder { + _LevelOrderStub: string; +} export interface AlertDialogParam { title?: ResourceStr; subtitle?: ResourceStr; @@ -80,6 +83,8 @@ export interface AlertDialogParam { isModal?: boolean; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onWillDismiss?: ((parameter: DismissDialogAction) => void); transition?: TransitionEffect; cornerRadius?: Dimension | BorderRadiuses | LocalizedBorderRadiuses; @@ -92,6 +97,14 @@ export interface AlertDialogParam { textStyle?: TextStyle_alert_dialog; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + onDidAppear?: (() => void); + onDidDisappear?: (() => void); + onWillAppear?: (() => void); + onWillDisappear?: (() => void); + levelMode?: LevelMode; + levelUniqueId?: number; + immersiveMode?: ImmersiveMode; + levelOrder?: LevelOrder; } export interface AlertDialogParamWithConfirm extends AlertDialogParam { confirm?: AlertDialogButtonBaseOptions; diff --git a/arkoala/arkui/src/generated/button.ts b/arkoala/arkui/src/generated/button.ts index fdd526df3d..dc7bf9b8cf 100644 --- a/arkoala/arkui/src/generated/button.ts +++ b/arkoala/arkui/src/generated/button.ts @@ -198,6 +198,40 @@ export class ArkButtonPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ButtonAttribute_labelStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + minFontScaleAttribute(value: number | Resource): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeNumber(value_0) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeResource(value_1) + } + ArkUIGeneratedNativeModule._ButtonAttribute_minFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontScaleAttribute(value: number | Resource): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeNumber(value_0) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeResource(value_1) + } + ArkUIGeneratedNativeModule._ButtonAttribute_maxFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } } export enum ButtonType { CAPSULE, @@ -248,6 +282,8 @@ export interface ButtonAttribute extends CommonMethod { fontFamily(value: string | Resource): this contentModifier(value: ContentModifier): this labelStyle(value: LabelStyle): this + minFontScale(value: number | Resource): this + maxFontScale(value: number | Resource): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIButtonAttribute extends UICommonMethod { @@ -276,6 +312,10 @@ export interface UIButtonAttribute extends UICommonMethod { /** @memo */ labelStyle(value: LabelStyle): this /** @memo */ + minFontScale(value: number | Resource): this + /** @memo */ + maxFontScale(value: number | Resource): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkButtonStyle extends ArkCommonMethodStyle implements ButtonAttribute { @@ -291,6 +331,8 @@ export class ArkButtonStyle extends ArkCommonMethodStyle implements ButtonAttrib fontFamily_value?: string | Resource contentModifier_value?: ContentModifier labelStyle_value?: LabelStyle + minFontScale_value?: number | Resource + maxFontScale_value?: number | Resource public type(value: ButtonType): this { return this } @@ -327,6 +369,12 @@ export class ArkButtonStyle extends ArkCommonMethodStyle implements ButtonAttrib public labelStyle(value: LabelStyle): this { return this } + public minFontScale(value: number | Resource): this { + return this + } + public maxFontScale(value: number | Resource): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -469,6 +517,24 @@ export class ArkButtonComponent extends ArkCommonMethodComponent implements UIBu return this } /** @memo */ + public minFontScale(value: number | Resource): this { + if (this.checkPriority("minFontScale")) { + const value_casted = value as (number | Resource) + this.getPeer()?.minFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontScale(value: number | Resource): this { + if (this.checkPriority("maxFontScale")) { + const value_casted = value as (number | Resource) + this.getPeer()?.maxFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala/arkui/src/generated/calendar_picker.ts b/arkoala/arkui/src/generated/calendar_picker.ts index 47b3e6f8c7..7217f49fb1 100644 --- a/arkoala/arkui/src/generated/calendar_picker.ts +++ b/arkoala/arkui/src/generated/calendar_picker.ts @@ -21,7 +21,7 @@ import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType import { Serializer } from "./peers/Serializer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, BlurStyle, PickerDialogButtonStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, DateRange, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, PickerDialogButtonStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { Offset, Length, VoidCallback, ResourceColor } from "./units" import { Resource } from "./resource" import { GestureName, GestureComponent } from "./shared/generated-utils" @@ -55,63 +55,74 @@ export class ArkCalendarPickerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._CalendarPickerInterface_setCalendarPickerOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - textStyleAttribute(value: PickerTextStyle): void { + textStyle0Attribute(value: PickerTextStyle): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._CalendarPickerAttribute_textStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CalendarPickerAttribute_textStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onChangeAttribute(value: ((parameter: Date) => void)): void { + textStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._CalendarPickerAttribute_textStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange0Attribute(value: ((parameter: Date) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._CalendarPickerAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CalendarPickerAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange1Attribute(value: ((parameter: Date) => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._CalendarPickerAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - edgeAlignAttribute(alignType: CalendarAlign, offset?: Offset): void { + markTodayAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._CalendarPickerAttribute_markToday(this.peer.ptr, +value) + } + edgeAlign0Attribute(alignType: CalendarAlign, offset?: Offset): void { const thisSerializer: Serializer = Serializer.hold() let offset_type: int32 = RuntimeType.UNDEFINED offset_type = runtimeType(offset) thisSerializer.writeInt8(offset_type) if ((RuntimeType.UNDEFINED) != (offset_type)) { const offset_value = offset! - const offset_value_dx = offset_value.dx - let offset_value_dx_type: int32 = RuntimeType.UNDEFINED - offset_value_dx_type = runtimeType(offset_value_dx) - if (RuntimeType.STRING == offset_value_dx_type) { - thisSerializer.writeInt8(0) - const offset_value_dx_0 = unsafeCast(offset_value_dx) - thisSerializer.writeString(offset_value_dx_0) - } - else if (RuntimeType.NUMBER == offset_value_dx_type) { - thisSerializer.writeInt8(1) - const offset_value_dx_1 = unsafeCast(offset_value_dx) - thisSerializer.writeNumber(offset_value_dx_1) - } - else if (RuntimeType.OBJECT == offset_value_dx_type) { - thisSerializer.writeInt8(2) - const offset_value_dx_2 = unsafeCast(offset_value_dx) - thisSerializer.writeResource(offset_value_dx_2) - } - const offset_value_dy = offset_value.dy - let offset_value_dy_type: int32 = RuntimeType.UNDEFINED - offset_value_dy_type = runtimeType(offset_value_dy) - if (RuntimeType.STRING == offset_value_dy_type) { - thisSerializer.writeInt8(0) - const offset_value_dy_0 = unsafeCast(offset_value_dy) - thisSerializer.writeString(offset_value_dy_0) - } - else if (RuntimeType.NUMBER == offset_value_dy_type) { - thisSerializer.writeInt8(1) - const offset_value_dy_1 = unsafeCast(offset_value_dy) - thisSerializer.writeNumber(offset_value_dy_1) - } - else if (RuntimeType.OBJECT == offset_value_dy_type) { - thisSerializer.writeInt8(2) - const offset_value_dy_2 = unsafeCast(offset_value_dy) - thisSerializer.writeResource(offset_value_dy_2) - } + thisSerializer.writeOffset(offset_value) + } + ArkUIGeneratedNativeModule._CalendarPickerAttribute_edgeAlign0(this.peer.ptr, alignType.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + edgeAlign1Attribute(alignType: CalendarAlign | undefined, offset?: Offset): void { + const thisSerializer: Serializer = Serializer.hold() + let alignType_type: int32 = RuntimeType.UNDEFINED + alignType_type = runtimeType(alignType) + thisSerializer.writeInt8(alignType_type) + if ((RuntimeType.UNDEFINED) != (alignType_type)) { + const alignType_value = alignType! + thisSerializer.writeInt32(alignType_value.valueOf()) + } + let offset_type: int32 = RuntimeType.UNDEFINED + offset_type = runtimeType(offset) + thisSerializer.writeInt8(offset_type) + if ((RuntimeType.UNDEFINED) != (offset_type)) { + const offset_value = offset! + thisSerializer.writeOffset(offset_value) } - ArkUIGeneratedNativeModule._CalendarPickerAttribute_edgeAlign(this.peer.ptr, alignType.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CalendarPickerAttribute_edgeAlign1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } } @@ -123,35 +134,45 @@ export enum CalendarAlign { export interface CalendarOptions { hintRadius?: number | Resource; selected?: Date; + start?: Date; + end?: Date; + disabledDateRange?: Array; } export type Callback_Date_Void = (parameter: Date) => void; export interface CalendarPickerAttribute extends CommonMethod { - textStyle(value: PickerTextStyle): this - onChange(value: ((parameter: Date) => void)): this - edgeAlign(alignType: CalendarAlign, offset?: Offset): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + onChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this + markToday(value: boolean): this + edgeAlign(alignType: CalendarAlign | CalendarAlign | undefined, offset?: Offset): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UICalendarPickerAttribute extends UICommonMethod { /** @memo */ - textStyle(value: PickerTextStyle): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - onChange(value: ((parameter: Date) => void)): this + onChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this /** @memo */ - edgeAlign(alignType: CalendarAlign, offset?: Offset): this + markToday(value: boolean): this + /** @memo */ + edgeAlign(alignType: CalendarAlign | CalendarAlign | undefined, offset?: Offset): this /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkCalendarPickerStyle extends ArkCommonMethodStyle implements CalendarPickerAttribute { textStyle_value?: PickerTextStyle onChange_value?: ((parameter: Date) => void) - public textStyle(value: PickerTextStyle): this { + markToday_value?: boolean + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { + return this + } + public onChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this { return this } - public onChange(value: ((parameter: Date) => void)): this { + public markToday(value: boolean): this { return this } - public edgeAlign(alignType: CalendarAlign, offset?: Offset): this { + public edgeAlign(alignType: CalendarAlign | CalendarAlign | undefined, offset?: Offset): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -164,6 +185,8 @@ export interface CalendarDialogOptions extends CalendarOptions { onChange?: ((parameter: Date) => void); backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; acceptButtonStyle?: PickerDialogButtonStyle; cancelButtonStyle?: PickerDialogButtonStyle; onDidAppear?: VoidCallback; @@ -173,6 +196,7 @@ export interface CalendarDialogOptions extends CalendarOptions { shadow?: ShadowOptions | ShadowStyle; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + markToday?: boolean; } /** @memo:stable */ export class ArkCalendarPickerComponent extends ArkCommonMethodComponent implements UICalendarPickerAttribute { @@ -189,30 +213,68 @@ export class ArkCalendarPickerComponent extends ArkCommonMethodComponent impleme return this } /** @memo */ - public textStyle(value: PickerTextStyle): this { + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("textStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.textStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("color")) || (value!.hasOwnProperty("font"))))) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.textStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.textStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onChange(value: ((parameter: Date) => void)): this { + public onChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this { if (this.checkPriority("onChange")) { - const value_casted = value as (((parameter: Date) => void)) - this.getPeer()?.onChangeAttribute(value_casted) + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((parameter: Date) => void)) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (((parameter: Date) => void) | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public markToday(value: boolean): this { + if (this.checkPriority("markToday")) { + const value_casted = value as (boolean) + this.getPeer()?.markTodayAttribute(value_casted) return this } return this } /** @memo */ - public edgeAlign(alignType: CalendarAlign, offset?: Offset): this { + public edgeAlign(alignType: CalendarAlign | CalendarAlign | undefined, offset?: Offset): this { if (this.checkPriority("edgeAlign")) { - const alignType_casted = alignType as (CalendarAlign) - const offset_casted = offset as (Offset | undefined) - this.getPeer()?.edgeAlignAttribute(alignType_casted, offset_casted) - return this + const alignType_type = runtimeType(alignType) + const offset_type = runtimeType(offset) + if (((RuntimeType.NUMBER) == (alignType_type)) && ((unsafeCast(alignType)) >= (0)) && ((unsafeCast(alignType)) <= (2))) { + const alignType_casted = alignType as (CalendarAlign) + const offset_casted = offset as (Offset | undefined) + this.getPeer()?.edgeAlign0Attribute(alignType_casted, offset_casted) + return this + } + if ((RuntimeType.NUMBER == alignType_type) || (RuntimeType.UNDEFINED == alignType_type)) { + const alignType_casted = alignType as (CalendarAlign | undefined) + const offset_casted = offset as (Offset | undefined) + this.getPeer()?.edgeAlign1Attribute(alignType_casted, offset_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } diff --git a/arkoala/arkui/src/generated/checkbox.ts b/arkoala/arkui/src/generated/checkbox.ts index 18c6f695a6..8418127d41 100644 --- a/arkoala/arkui/src/generated/checkbox.ts +++ b/arkoala/arkui/src/generated/checkbox.ts @@ -57,10 +57,22 @@ export class ArkCheckboxPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._CheckboxInterface_setCheckboxOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._CheckboxAttribute_select(this.peer.ptr, +value) + select0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._CheckboxAttribute_select0(this.peer.ptr, +value) } - selectedColorAttribute(value: ResourceColor): void { + select1Attribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._CheckboxAttribute_select1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -84,13 +96,58 @@ export class ArkCheckboxPeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._CheckboxAttribute_selectedColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxAttribute_selectedColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - shapeAttribute(value: CheckBoxShape): void { - ArkUIGeneratedNativeModule._CheckboxAttribute_shape(this.peer.ptr, value.valueOf()) + selectedColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._CheckboxAttribute_selectedColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + shape0Attribute(value: CheckBoxShape): void { + ArkUIGeneratedNativeModule._CheckboxAttribute_shape0(this.peer.ptr, value.valueOf()) } - unselectedColorAttribute(value: ResourceColor): void { + shape1Attribute(value: CheckBoxShape | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._CheckboxAttribute_shape1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + unselectedColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -114,25 +171,94 @@ export class ArkCheckboxPeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._CheckboxAttribute_unselectedColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxAttribute_unselectedColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + unselectedColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._CheckboxAttribute_unselectedColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - markAttribute(value: MarkStyle): void { + mark0Attribute(value: MarkStyle): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeMarkStyle(value) - ArkUIGeneratedNativeModule._CheckboxAttribute_mark(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxAttribute_mark0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onChangeAttribute(value: OnCheckboxChangeCallback): void { + mark1Attribute(value: MarkStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeMarkStyle(value_value) + } + ArkUIGeneratedNativeModule._CheckboxAttribute_mark1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange0Attribute(value: OnCheckboxChangeCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._CheckboxAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange1Attribute(value: OnCheckboxChangeCallback | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._CheckboxAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - contentModifierAttribute(value: ContentModifier): void { + contentModifier0Attribute(value: ContentModifier): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteObject(value) - ArkUIGeneratedNativeModule._CheckboxAttribute_contentModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxAttribute_contentModifier0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + contentModifier1Attribute(value: ContentModifier | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteObject(value_value) + } + ArkUIGeneratedNativeModule._CheckboxAttribute_contentModifier1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } _onChangeEvent_selectAttribute(callback: ((isVisible: boolean) => void)): void { @@ -155,31 +281,31 @@ export interface CheckBoxConfiguration extends CommonConfiguration { export type OnCheckboxChangeCallback = (value: boolean) => void; export interface CheckboxAttribute extends CommonMethod { - select(value: boolean): this - selectedColor(value: ResourceColor): this - shape(value: CheckBoxShape): this - unselectedColor(value: ResourceColor): this - mark(value: MarkStyle): this - onChange(value: OnCheckboxChangeCallback): this - contentModifier(value: ContentModifier): this + select(value: boolean | boolean | undefined): this + selectedColor(value: ResourceColor | ResourceColor | undefined): this + shape(value: CheckBoxShape | CheckBoxShape | undefined): this + unselectedColor(value: ResourceColor | ResourceColor | undefined): this + mark(value: MarkStyle | MarkStyle | undefined): this + onChange(value: OnCheckboxChangeCallback | OnCheckboxChangeCallback | undefined): this + contentModifier(value: ContentModifier | ContentModifier | undefined): this _onChangeEvent_select(callback: ((isVisible: boolean) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UICheckboxAttribute extends UICommonMethod { /** @memo */ - select(value: boolean): this + select(value: boolean | boolean | undefined): this /** @memo */ - selectedColor(value: ResourceColor): this + selectedColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - shape(value: CheckBoxShape): this + shape(value: CheckBoxShape | CheckBoxShape | undefined): this /** @memo */ - unselectedColor(value: ResourceColor): this + unselectedColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - mark(value: MarkStyle): this + mark(value: MarkStyle | MarkStyle | undefined): this /** @memo */ - onChange(value: OnCheckboxChangeCallback): this + onChange(value: OnCheckboxChangeCallback | OnCheckboxChangeCallback | undefined): this /** @memo */ - contentModifier(value: ContentModifier): this + contentModifier(value: ContentModifier | ContentModifier | undefined): this /** @memo */ _onChangeEvent_select(callback: ((isVisible: boolean) => void)): void /** @memo */ @@ -193,25 +319,25 @@ export class ArkCheckboxStyle extends ArkCommonMethodStyle implements CheckboxAt mark_value?: MarkStyle onChange_value?: OnCheckboxChangeCallback contentModifier_value?: ContentModifier - public select(value: boolean): this { + public select(value: boolean | boolean | undefined): this { return this } - public selectedColor(value: ResourceColor): this { + public selectedColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public shape(value: CheckBoxShape): this { + public shape(value: CheckBoxShape | CheckBoxShape | undefined): this { return this } - public unselectedColor(value: ResourceColor): this { + public unselectedColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public mark(value: MarkStyle): this { + public mark(value: MarkStyle | MarkStyle | undefined): this { return this } - public onChange(value: OnCheckboxChangeCallback): this { + public onChange(value: OnCheckboxChangeCallback | OnCheckboxChangeCallback | undefined): this { return this } - public contentModifier(value: ContentModifier): this { + public contentModifier(value: ContentModifier | ContentModifier | undefined): this { return this } public _onChangeEvent_select(callback: ((isVisible: boolean) => void)): void { @@ -236,65 +362,128 @@ export class ArkCheckboxComponent extends ArkCommonMethodComponent implements UI return this } /** @memo */ - public select(value: boolean): this { + public select(value: boolean | boolean | undefined): this { if (this.checkPriority("select")) { - const value_casted = value as (boolean) - this.getPeer()?.selectAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.select0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.select1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedColor(value: ResourceColor): this { + public selectedColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("selectedColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.selectedColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.selectedColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.selectedColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public shape(value: CheckBoxShape): this { + public shape(value: CheckBoxShape | CheckBoxShape | undefined): this { if (this.checkPriority("shape")) { - const value_casted = value as (CheckBoxShape) - this.getPeer()?.shapeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (1))) { + const value_casted = value as (CheckBoxShape) + this.getPeer()?.shape0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (CheckBoxShape | undefined) + this.getPeer()?.shape1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public unselectedColor(value: ResourceColor): this { + public unselectedColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("unselectedColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.unselectedColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.unselectedColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.unselectedColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public mark(value: MarkStyle): this { + public mark(value: MarkStyle | MarkStyle | undefined): this { if (this.checkPriority("mark")) { - const value_casted = value as (MarkStyle) - this.getPeer()?.markAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("strokeColor")) || (value!.hasOwnProperty("size")) || (value!.hasOwnProperty("strokeWidth"))))) { + const value_casted = value as (MarkStyle) + this.getPeer()?.mark0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (MarkStyle | undefined) + this.getPeer()?.mark1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onChange(value: OnCheckboxChangeCallback): this { + public onChange(value: OnCheckboxChangeCallback | OnCheckboxChangeCallback | undefined): this { if (this.checkPriority("onChange")) { - const value_casted = value as (OnCheckboxChangeCallback) - this.getPeer()?.onChangeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (OnCheckboxChangeCallback) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnCheckboxChangeCallback | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public contentModifier(value: ContentModifier): this { + public contentModifier(value: ContentModifier | ContentModifier | undefined): this { if (this.checkPriority("contentModifier")) { - const value_casted = value as (ContentModifier) - this.getPeer()?.contentModifierAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type)) { + const value_casted = value as (ContentModifier) + this.getPeer()?.contentModifier0Attribute(value_casted) + return this + } + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ContentModifier | undefined) + this.getPeer()?.contentModifier1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } diff --git a/arkoala/arkui/src/generated/checkboxgroup.ts b/arkoala/arkui/src/generated/checkboxgroup.ts index 790c56c357..9dd1d534d4 100644 --- a/arkoala/arkui/src/generated/checkboxgroup.ts +++ b/arkoala/arkui/src/generated/checkboxgroup.ts @@ -56,10 +56,22 @@ export class ArkCheckboxGroupPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._CheckboxGroupInterface_setCheckboxGroupOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectAllAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._CheckboxGroupAttribute_selectAll(this.peer.ptr, +value) + selectAll0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_selectAll0(this.peer.ptr, +value) } - selectedColorAttribute(value: ResourceColor): void { + selectAll1Attribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_selectAll1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -83,10 +95,43 @@ export class ArkCheckboxGroupPeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._CheckboxGroupAttribute_selectedColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_selectedColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - unselectedColorAttribute(value: ResourceColor): void { + selectedColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_selectedColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + unselectedColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -110,23 +155,92 @@ export class ArkCheckboxGroupPeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._CheckboxGroupAttribute_unselectedColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_unselectedColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + unselectedColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_unselectedColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - markAttribute(value: MarkStyle): void { + mark0Attribute(value: MarkStyle): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeMarkStyle(value) - ArkUIGeneratedNativeModule._CheckboxGroupAttribute_mark(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_mark0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + mark1Attribute(value: MarkStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeMarkStyle(value_value) + } + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_mark1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onChangeAttribute(value: OnCheckboxGroupChangeCallback): void { + onChange0Attribute(value: OnCheckboxGroupChangeCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._CheckboxGroupAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - checkboxShapeAttribute(value: CheckBoxShape): void { - ArkUIGeneratedNativeModule._CheckboxGroupAttribute_checkboxShape(this.peer.ptr, value.valueOf()) + onChange1Attribute(value: OnCheckboxGroupChangeCallback | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + checkboxShape0Attribute(value: CheckBoxShape): void { + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_checkboxShape0(this.peer.ptr, value.valueOf()) + } + checkboxShape1Attribute(value: CheckBoxShape | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._CheckboxGroupAttribute_checkboxShape1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } _onChangeEvent_selectAllAttribute(callback: ((isVisible: boolean) => void)): void { const thisSerializer: Serializer = Serializer.hold() @@ -153,28 +267,28 @@ export interface CheckboxGroupResult { export type OnCheckboxGroupChangeCallback = (value: CheckboxGroupResult) => void; export interface CheckboxGroupAttribute extends CommonMethod { - selectAll(value: boolean): this - selectedColor(value: ResourceColor): this - unselectedColor(value: ResourceColor): this - mark(value: MarkStyle): this - onChange(value: OnCheckboxGroupChangeCallback): this - checkboxShape(value: CheckBoxShape): this + selectAll(value: boolean | boolean | undefined): this + selectedColor(value: ResourceColor | ResourceColor | undefined): this + unselectedColor(value: ResourceColor | ResourceColor | undefined): this + mark(value: MarkStyle | MarkStyle | undefined): this + onChange(value: OnCheckboxGroupChangeCallback | OnCheckboxGroupChangeCallback | undefined): this + checkboxShape(value: CheckBoxShape | CheckBoxShape | undefined): this _onChangeEvent_selectAll(callback: ((isVisible: boolean) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UICheckboxGroupAttribute extends UICommonMethod { /** @memo */ - selectAll(value: boolean): this + selectAll(value: boolean | boolean | undefined): this /** @memo */ - selectedColor(value: ResourceColor): this + selectedColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - unselectedColor(value: ResourceColor): this + unselectedColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - mark(value: MarkStyle): this + mark(value: MarkStyle | MarkStyle | undefined): this /** @memo */ - onChange(value: OnCheckboxGroupChangeCallback): this + onChange(value: OnCheckboxGroupChangeCallback | OnCheckboxGroupChangeCallback | undefined): this /** @memo */ - checkboxShape(value: CheckBoxShape): this + checkboxShape(value: CheckBoxShape | CheckBoxShape | undefined): this /** @memo */ _onChangeEvent_selectAll(callback: ((isVisible: boolean) => void)): void /** @memo */ @@ -187,22 +301,22 @@ export class ArkCheckboxGroupStyle extends ArkCommonMethodStyle implements Check mark_value?: MarkStyle onChange_value?: OnCheckboxGroupChangeCallback checkboxShape_value?: CheckBoxShape - public selectAll(value: boolean): this { + public selectAll(value: boolean | boolean | undefined): this { return this } - public selectedColor(value: ResourceColor): this { + public selectedColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public unselectedColor(value: ResourceColor): this { + public unselectedColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public mark(value: MarkStyle): this { + public mark(value: MarkStyle | MarkStyle | undefined): this { return this } - public onChange(value: OnCheckboxGroupChangeCallback): this { + public onChange(value: OnCheckboxGroupChangeCallback | OnCheckboxGroupChangeCallback | undefined): this { return this } - public checkboxShape(value: CheckBoxShape): this { + public checkboxShape(value: CheckBoxShape | CheckBoxShape | undefined): this { return this } public _onChangeEvent_selectAll(callback: ((isVisible: boolean) => void)): void { @@ -227,56 +341,110 @@ export class ArkCheckboxGroupComponent extends ArkCommonMethodComponent implemen return this } /** @memo */ - public selectAll(value: boolean): this { + public selectAll(value: boolean | boolean | undefined): this { if (this.checkPriority("selectAll")) { - const value_casted = value as (boolean) - this.getPeer()?.selectAllAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.selectAll0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.selectAll1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedColor(value: ResourceColor): this { + public selectedColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("selectedColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.selectedColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.selectedColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.selectedColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public unselectedColor(value: ResourceColor): this { + public unselectedColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("unselectedColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.unselectedColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.unselectedColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.unselectedColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public mark(value: MarkStyle): this { + public mark(value: MarkStyle | MarkStyle | undefined): this { if (this.checkPriority("mark")) { - const value_casted = value as (MarkStyle) - this.getPeer()?.markAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("strokeColor")) || (value!.hasOwnProperty("size")) || (value!.hasOwnProperty("strokeWidth"))))) { + const value_casted = value as (MarkStyle) + this.getPeer()?.mark0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (MarkStyle | undefined) + this.getPeer()?.mark1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onChange(value: OnCheckboxGroupChangeCallback): this { + public onChange(value: OnCheckboxGroupChangeCallback | OnCheckboxGroupChangeCallback | undefined): this { if (this.checkPriority("onChange")) { - const value_casted = value as (OnCheckboxGroupChangeCallback) - this.getPeer()?.onChangeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (OnCheckboxGroupChangeCallback) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnCheckboxGroupChangeCallback | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public checkboxShape(value: CheckBoxShape): this { + public checkboxShape(value: CheckBoxShape | CheckBoxShape | undefined): this { if (this.checkPriority("checkboxShape")) { - const value_casted = value as (CheckBoxShape) - this.getPeer()?.checkboxShapeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (1))) { + const value_casted = value as (CheckBoxShape) + this.getPeer()?.checkboxShape0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (CheckBoxShape | undefined) + this.getPeer()?.checkboxShape1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } diff --git a/arkoala/arkui/src/generated/column.ts b/arkoala/arkui/src/generated/column.ts index 86111cf01e..43d7e8d8ad 100644 --- a/arkoala/arkui/src/generated/column.ts +++ b/arkoala/arkui/src/generated/column.ts @@ -29,6 +29,7 @@ import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { Deserializer } from "./peers/Deserializer" +import { Resource } from "./resource" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class ArkColumnPeer extends ArkCommonMethodPeer { @@ -42,7 +43,7 @@ export class ArkColumnPeer extends ArkCommonMethodPeer { component?.setPeer(_peer) return _peer } - setColumnOptionsAttribute(options?: ColumnOptions): void { + setColumnOptions0Attribute(options?: ColumnOptions): void { const thisSerializer: Serializer = Serializer.hold() let options_type: int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) @@ -51,7 +52,30 @@ export class ArkColumnPeer extends ArkCommonMethodPeer { const options_value = options! thisSerializer.writeColumnOptions(options_value) } - ArkUIGeneratedNativeModule._ColumnInterface_setColumnOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._ColumnInterface_setColumnOptions0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setColumnOptions1Attribute(options?: ColumnOptions | ColumnOptionsV2): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + let options_value_type: int32 = RuntimeType.UNDEFINED + options_value_type = runtimeType(options_value) + if (((RuntimeType.OBJECT) == (options_value_type)) && ((options_value!.hasOwnProperty("space")))) { + thisSerializer.writeInt8(0) + const options_value_0 = unsafeCast(options_value) + thisSerializer.writeColumnOptions(options_value_0) + } + else if (((RuntimeType.OBJECT) == (options_value_type)) && ((options_value!.hasOwnProperty("stub")))) { + thisSerializer.writeInt8(1) + const options_value_1 = unsafeCast(options_value) + thisSerializer.writeColumnOptionsV2(options_value_1) + } + } + ArkUIGeneratedNativeModule._ColumnInterface_setColumnOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } alignItemsAttribute(value: HorizontalAlign): void { @@ -79,9 +103,13 @@ export class ArkColumnPeer extends ArkCommonMethodPeer { thisSerializer.release() } } +export type SpaceType = string | number | Resource; export interface ColumnOptions { space?: string | number; } +export interface ColumnOptionsV2 { + stub: string; +} export interface ColumnAttribute extends CommonMethod { alignItems(value: HorizontalAlign): this @@ -129,11 +157,20 @@ export class ArkColumnComponent extends ArkCommonMethodComponent implements UICo return (this.peer as ArkColumnPeer) } /** @memo */ - public setColumnOptions(options?: ColumnOptions): this { + public setColumnOptions(options?: ColumnOptions | ColumnOptions | ColumnOptionsV2): this { if (this.checkPriority("setColumnOptions")) { - const options_casted = options as (ColumnOptions | undefined) - this.getPeer()?.setColumnOptionsAttribute(options_casted) - return this + const options_type = runtimeType(options) + if ((RuntimeType.OBJECT == options_type) || (RuntimeType.UNDEFINED == options_type)) { + const options_casted = options as (ColumnOptions | undefined) + this.getPeer()?.setColumnOptions0Attribute(options_casted) + return this + } + if ((RuntimeType.OBJECT == options_type) || (RuntimeType.OBJECT == options_type) || (RuntimeType.UNDEFINED == options_type)) { + const options_casted = options as (ColumnOptions | ColumnOptionsV2 | undefined) + this.getPeer()?.setColumnOptions1Attribute(options_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -189,7 +226,7 @@ export function ArkColumn( style: ((attributes: UIColumnAttribute) => void) | undefined, /** @memo */ content_: (() => void) | undefined, - options?: ColumnOptions, + options?: ColumnOptions | ColumnOptions | ColumnOptionsV2, ) { const receiver = remember(() => { return new ArkColumnComponent() diff --git a/arkoala/arkui/src/generated/common.ts b/arkoala/arkui/src/generated/common.ts index 4439b2a72e..2f4d20dd17 100644 --- a/arkoala/arkui/src/generated/common.ts +++ b/arkoala/arkui/src/generated/common.ts @@ -22,18 +22,19 @@ import { Serializer } from "./peers/Serializer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, ResourceColor, Position, BorderOptions, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Bias, Font } from "./units" -import { DrawModifier, LengthMetrics, VisualEffect, Filter, ClickEvent, HoverEvent, AccessibilityHoverEvent, MouseEvent, TouchEvent, KeyEvent, TransitionEffect, DragEvent, CircleShape, EllipseShape, PathShape, RectShape, ProgressMask, GestureModifier, BaseGestureEvent, GestureRecognizer, PixelMap, ComponentContent, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureGroupInterface, BaseEvent, GestureEvent, PanGestureOptions, ICurve, UIContext, EventTargetInfo, Context, UnifiedData, ContextInternal } from "./AllMaterialized" -import { HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Color, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, Curve, SharedTransitionEffectType, Placement, ArrowPointPosition, LineCapStyle, LineJoinStyle, BarState, EdgeEffect, PlayMode, HorizontalAlign, VerticalAlign, TransitionType, FontWeight, TouchType, ClickEffectLevel, NestedScrollMode, PixelRoundCalcPolicy, IlluminatedType } from "./enums" +import { DrawModifier, LengthMetrics, VisualEffect, Filter, ClickEvent, HoverEvent, AccessibilityHoverEvent, MouseEvent, TouchEvent, KeyEvent, FocusAxisEvent, AxisEvent, TransitionEffect, DragEvent, CircleShape, EllipseShape, PathShape, RectShape, ProgressMask, GestureModifier, BaseGestureEvent, GestureRecognizer, PixelMap, ComponentContent, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureGroupInterface, StyledString, BaseEvent, GestureEvent, PanGestureOptions, ICurve, UnifiedData, ImageAttachment, CustomSpan, UIContext, EventTargetInfo, Context, ContextInternal } from "./AllMaterialized" +import { HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Color, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, FocusDrawLevel, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, InteractionHand, GradientDirection, Curve, SharedTransitionEffectType, ArrowPointPosition, Placement, LineCapStyle, LineJoinStyle, BarState, CrownSensitivity, EdgeEffect, PlayMode, HorizontalAlign, VerticalAlign, TransitionType, FontWeight, TouchType, CrownAction, ClickEffectLevel, NestedScrollMode, PixelRoundCalcPolicy, IlluminatedType } from "./enums" import { ResizableOptions } from "./image" import { Resource } from "./resource" -import { EdgeStyles, ImageModifier, SymbolGlyphModifier, Summary, IntentionCode } from "./arkui-external" +import { EdgeStyles, Summary, ImageModifier, SymbolGlyphModifier, IntentionCode } from "./arkui-external" import { FocusBoxStyle, FocusPriority } from "./focus" import { TransformationMatrix } from "./arkui-common" import { Edges, DrawContext } from "./arkui-graphics" import { UniformDataType } from "./arkui-uniformtypedescriptor" -import { GestureInfo, GestureType, GestureMask, GestureInterface, TapGestureParameters, PanDirection, SwipeDirection, GestureMode, GestureJudgeResult, FingerInfo, GestureControl, GestureRecognizerState, GestureHandler, GesturePriority } from "./gesture" +import { GestureInfo, GestureType, GestureMask, GestureInterface, TapGestureParameters, LongPressGestureHandlerOptions, PanDirection, PanGestureHandlerOptions, PinchGestureHandlerOptions, SwipeDirection, SwipeGestureHandlerOptions, RotationGestureHandlerOptions, GestureMode, GestureJudgeResult, FingerInfo, GestureControl, GestureRecognizerState, GestureHandler, GesturePriority } from "./gesture" import { BlendMode } from "./arkui-drawing" import { BrightnessBlender } from "./arkui-uieffect" +import { StyleOptions, StyledStringKey, SpanStyle, StyledStringMarshallCallback, UserDataSpan, StyledStringUnmarshallCallback } from "./styled_string" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" import { CallbackKind } from "./peers/CallbackKind" @@ -58,7 +59,7 @@ export class ArkCommonMethodPeer extends PeerNode { component?.setPeer(_peer) return _peer } - widthAttribute(value: Length): void { + width0Attribute(value: Length): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -77,10 +78,43 @@ export class ArkCommonMethodPeer extends PeerNode { const value_2 = unsafeCast(value) thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._CommonMethod_width(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_width0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - heightAttribute(value: Length): void { + width1Attribute(value: Length | LayoutPolicy): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + let value_0_type: int32 = RuntimeType.UNDEFINED + value_0_type = runtimeType(value_0) + if (RuntimeType.STRING == value_0_type) { + thisSerializer.writeInt8(0) + const value_0_0 = unsafeCast(value_0) + thisSerializer.writeString(value_0_0) + } + else if (RuntimeType.NUMBER == value_0_type) { + thisSerializer.writeInt8(1) + const value_0_1 = unsafeCast(value_0) + thisSerializer.writeNumber(value_0_1) + } + else if (RuntimeType.OBJECT == value_0_type) { + thisSerializer.writeInt8(2) + const value_0_2 = unsafeCast(value_0) + thisSerializer.writeResource(value_0_2) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("matchParent")))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeLayoutPolicy(value_1) + } + ArkUIGeneratedNativeModule._CommonMethod_width1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + height0Attribute(value: Length): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -99,7 +133,40 @@ export class ArkCommonMethodPeer extends PeerNode { const value_2 = unsafeCast(value) thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._CommonMethod_height(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_height0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + height1Attribute(value: Length | LayoutPolicy): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + let value_0_type: int32 = RuntimeType.UNDEFINED + value_0_type = runtimeType(value_0) + if (RuntimeType.STRING == value_0_type) { + thisSerializer.writeInt8(0) + const value_0_0 = unsafeCast(value_0) + thisSerializer.writeString(value_0_0) + } + else if (RuntimeType.NUMBER == value_0_type) { + thisSerializer.writeInt8(1) + const value_0_1 = unsafeCast(value_0) + thisSerializer.writeNumber(value_0_1) + } + else if (RuntimeType.OBJECT == value_0_type) { + thisSerializer.writeInt8(2) + const value_0_2 = unsafeCast(value_0) + thisSerializer.writeResource(value_0_2) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("matchParent")))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeLayoutPolicy(value_1) + } + ArkUIGeneratedNativeModule._CommonMethod_height1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } drawModifierAttribute(value: DrawModifier | undefined): void { @@ -460,102 +527,7 @@ export class ArkCommonMethodPeer extends PeerNode { if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("right")) || (value!.hasOwnProperty("left"))))) { thisSerializer.writeInt8(0) const value_0 = unsafeCast(value) - const value_0_top = value_0.top - let value_0_top_type: int32 = RuntimeType.UNDEFINED - value_0_top_type = runtimeType(value_0_top) - thisSerializer.writeInt8(value_0_top_type) - if ((RuntimeType.UNDEFINED) != (value_0_top_type)) { - const value_0_top_value = value_0_top! - let value_0_top_value_type: int32 = RuntimeType.UNDEFINED - value_0_top_value_type = runtimeType(value_0_top_value) - if (RuntimeType.STRING == value_0_top_value_type) { - thisSerializer.writeInt8(0) - const value_0_top_value_0 = unsafeCast(value_0_top_value) - thisSerializer.writeString(value_0_top_value_0) - } - else if (RuntimeType.NUMBER == value_0_top_value_type) { - thisSerializer.writeInt8(1) - const value_0_top_value_1 = unsafeCast(value_0_top_value) - thisSerializer.writeNumber(value_0_top_value_1) - } - else if (RuntimeType.OBJECT == value_0_top_value_type) { - thisSerializer.writeInt8(2) - const value_0_top_value_2 = unsafeCast(value_0_top_value) - thisSerializer.writeResource(value_0_top_value_2) - } - } - const value_0_right = value_0.right - let value_0_right_type: int32 = RuntimeType.UNDEFINED - value_0_right_type = runtimeType(value_0_right) - thisSerializer.writeInt8(value_0_right_type) - if ((RuntimeType.UNDEFINED) != (value_0_right_type)) { - const value_0_right_value = value_0_right! - let value_0_right_value_type: int32 = RuntimeType.UNDEFINED - value_0_right_value_type = runtimeType(value_0_right_value) - if (RuntimeType.STRING == value_0_right_value_type) { - thisSerializer.writeInt8(0) - const value_0_right_value_0 = unsafeCast(value_0_right_value) - thisSerializer.writeString(value_0_right_value_0) - } - else if (RuntimeType.NUMBER == value_0_right_value_type) { - thisSerializer.writeInt8(1) - const value_0_right_value_1 = unsafeCast(value_0_right_value) - thisSerializer.writeNumber(value_0_right_value_1) - } - else if (RuntimeType.OBJECT == value_0_right_value_type) { - thisSerializer.writeInt8(2) - const value_0_right_value_2 = unsafeCast(value_0_right_value) - thisSerializer.writeResource(value_0_right_value_2) - } - } - const value_0_bottom = value_0.bottom - let value_0_bottom_type: int32 = RuntimeType.UNDEFINED - value_0_bottom_type = runtimeType(value_0_bottom) - thisSerializer.writeInt8(value_0_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_0_bottom_type)) { - const value_0_bottom_value = value_0_bottom! - let value_0_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_0_bottom_value_type = runtimeType(value_0_bottom_value) - if (RuntimeType.STRING == value_0_bottom_value_type) { - thisSerializer.writeInt8(0) - const value_0_bottom_value_0 = unsafeCast(value_0_bottom_value) - thisSerializer.writeString(value_0_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_0_bottom_value_type) { - thisSerializer.writeInt8(1) - const value_0_bottom_value_1 = unsafeCast(value_0_bottom_value) - thisSerializer.writeNumber(value_0_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_0_bottom_value_type) { - thisSerializer.writeInt8(2) - const value_0_bottom_value_2 = unsafeCast(value_0_bottom_value) - thisSerializer.writeResource(value_0_bottom_value_2) - } - } - const value_0_left = value_0.left - let value_0_left_type: int32 = RuntimeType.UNDEFINED - value_0_left_type = runtimeType(value_0_left) - thisSerializer.writeInt8(value_0_left_type) - if ((RuntimeType.UNDEFINED) != (value_0_left_type)) { - const value_0_left_value = value_0_left! - let value_0_left_value_type: int32 = RuntimeType.UNDEFINED - value_0_left_value_type = runtimeType(value_0_left_value) - if (RuntimeType.STRING == value_0_left_value_type) { - thisSerializer.writeInt8(0) - const value_0_left_value_0 = unsafeCast(value_0_left_value) - thisSerializer.writeString(value_0_left_value_0) - } - else if (RuntimeType.NUMBER == value_0_left_value_type) { - thisSerializer.writeInt8(1) - const value_0_left_value_1 = unsafeCast(value_0_left_value) - thisSerializer.writeNumber(value_0_left_value_1) - } - else if (RuntimeType.OBJECT == value_0_left_value_type) { - thisSerializer.writeInt8(2) - const value_0_left_value_2 = unsafeCast(value_0_left_value) - thisSerializer.writeResource(value_0_left_value_2) - } - } + thisSerializer.writePadding(value_0) } else if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { thisSerializer.writeInt8(1) @@ -586,7 +558,7 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_margin(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - backgroundColorAttribute(value: ResourceColor): void { + backgroundColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -610,7 +582,40 @@ export class ArkCommonMethodPeer extends PeerNode { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._CommonMethod_backgroundColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_backgroundColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backgroundColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._CommonMethod_backgroundColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } pixelRoundAttribute(value: PixelRoundPolicy): void { @@ -653,10 +658,29 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_backgroundImagePosition(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - backgroundEffectAttribute(value: BackgroundEffectOptions): void { + backgroundEffect0Attribute(value: BackgroundEffectOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeBackgroundEffectOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_backgroundEffect(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_backgroundEffect0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backgroundEffect1Attribute(options: BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeBackgroundEffectOptions(options_value) + } + let sysOptions_type: int32 = RuntimeType.UNDEFINED + sysOptions_type = runtimeType(sysOptions) + thisSerializer.writeInt8(sysOptions_type) + if ((RuntimeType.UNDEFINED) != (sysOptions_type)) { + const sysOptions_value = sysOptions! + thisSerializer.writeSystemAdaptiveOptions(sysOptions_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backgroundEffect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } backgroundImageResizableAttribute(value: ResizableOptions): void { @@ -683,7 +707,7 @@ export class ArkCommonMethodPeer extends PeerNode { compositingFilterAttribute(value: Filter): void { ArkUIGeneratedNativeModule._CommonMethod_compositingFilter(this.peer.ptr, toPeerPtr(value)) } - opacityAttribute(value: number | Resource): void { + opacity0Attribute(value: number | Resource): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -697,7 +721,30 @@ export class ArkCommonMethodPeer extends PeerNode { const value_1 = unsafeCast(value) thisSerializer.writeResource(value_1) } - ArkUIGeneratedNativeModule._CommonMethod_opacity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_opacity0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + opacity1Attribute(value: number | Resource | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._CommonMethod_opacity1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } borderAttribute(value: BorderOptions): void { @@ -751,102 +798,7 @@ export class ArkCommonMethodPeer extends PeerNode { else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("right")) || (value!.hasOwnProperty("left"))))) { thisSerializer.writeInt8(1) const value_1 = unsafeCast(value) - const value_1_top = value_1.top - let value_1_top_type: int32 = RuntimeType.UNDEFINED - value_1_top_type = runtimeType(value_1_top) - thisSerializer.writeInt8(value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { - const value_1_top_value = value_1_top! - let value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_1_top_value_type = runtimeType(value_1_top_value) - if (RuntimeType.STRING == value_1_top_value_type) { - thisSerializer.writeInt8(0) - const value_1_top_value_0 = unsafeCast(value_1_top_value) - thisSerializer.writeString(value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_1_top_value_type) { - thisSerializer.writeInt8(1) - const value_1_top_value_1 = unsafeCast(value_1_top_value) - thisSerializer.writeNumber(value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_1_top_value_type) { - thisSerializer.writeInt8(2) - const value_1_top_value_2 = unsafeCast(value_1_top_value) - thisSerializer.writeResource(value_1_top_value_2) - } - } - const value_1_right = value_1.right - let value_1_right_type: int32 = RuntimeType.UNDEFINED - value_1_right_type = runtimeType(value_1_right) - thisSerializer.writeInt8(value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { - const value_1_right_value = value_1_right! - let value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_1_right_value_type = runtimeType(value_1_right_value) - if (RuntimeType.STRING == value_1_right_value_type) { - thisSerializer.writeInt8(0) - const value_1_right_value_0 = unsafeCast(value_1_right_value) - thisSerializer.writeString(value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_1_right_value_type) { - thisSerializer.writeInt8(1) - const value_1_right_value_1 = unsafeCast(value_1_right_value) - thisSerializer.writeNumber(value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_1_right_value_type) { - thisSerializer.writeInt8(2) - const value_1_right_value_2 = unsafeCast(value_1_right_value) - thisSerializer.writeResource(value_1_right_value_2) - } - } - const value_1_bottom = value_1.bottom - let value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_1_bottom_type = runtimeType(value_1_bottom) - thisSerializer.writeInt8(value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { - const value_1_bottom_value = value_1_bottom! - let value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_1_bottom_value_type = runtimeType(value_1_bottom_value) - if (RuntimeType.STRING == value_1_bottom_value_type) { - thisSerializer.writeInt8(0) - const value_1_bottom_value_0 = unsafeCast(value_1_bottom_value) - thisSerializer.writeString(value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_1_bottom_value_type) { - thisSerializer.writeInt8(1) - const value_1_bottom_value_1 = unsafeCast(value_1_bottom_value) - thisSerializer.writeNumber(value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_1_bottom_value_type) { - thisSerializer.writeInt8(2) - const value_1_bottom_value_2 = unsafeCast(value_1_bottom_value) - thisSerializer.writeResource(value_1_bottom_value_2) - } - } - const value_1_left = value_1.left - let value_1_left_type: int32 = RuntimeType.UNDEFINED - value_1_left_type = runtimeType(value_1_left) - thisSerializer.writeInt8(value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { - const value_1_left_value = value_1_left! - let value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_1_left_value_type = runtimeType(value_1_left_value) - if (RuntimeType.STRING == value_1_left_value_type) { - thisSerializer.writeInt8(0) - const value_1_left_value_0 = unsafeCast(value_1_left_value) - thisSerializer.writeString(value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_1_left_value_type) { - thisSerializer.writeInt8(1) - const value_1_left_value_1 = unsafeCast(value_1_left_value) - thisSerializer.writeNumber(value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_1_left_value_type) { - thisSerializer.writeInt8(2) - const value_1_left_value_2 = unsafeCast(value_1_left_value) - thisSerializer.writeResource(value_1_left_value_2) - } - } + thisSerializer.writeEdgeWidths(value_1) } else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("end")) || (value!.hasOwnProperty("start"))))) { thisSerializer.writeInt8(2) @@ -889,122 +841,7 @@ export class ArkCommonMethodPeer extends PeerNode { else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("right")) || (value!.hasOwnProperty("left"))))) { thisSerializer.writeInt8(1) const value_1 = unsafeCast(value) - const value_1_top = value_1.top - let value_1_top_type: int32 = RuntimeType.UNDEFINED - value_1_top_type = runtimeType(value_1_top) - thisSerializer.writeInt8(value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { - const value_1_top_value = value_1_top! - let value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_1_top_value_type = runtimeType(value_1_top_value) - if (((RuntimeType.NUMBER) == (value_1_top_value_type)) && ((unsafeCast(value_1_top_value)) >= (0)) && ((unsafeCast(value_1_top_value)) <= (11))) { - thisSerializer.writeInt8(0) - const value_1_top_value_0 = unsafeCast(value_1_top_value) - thisSerializer.writeInt32(value_1_top_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_1_top_value_type) { - thisSerializer.writeInt8(1) - const value_1_top_value_1 = unsafeCast(value_1_top_value) - thisSerializer.writeNumber(value_1_top_value_1) - } - else if (RuntimeType.STRING == value_1_top_value_type) { - thisSerializer.writeInt8(2) - const value_1_top_value_2 = unsafeCast(value_1_top_value) - thisSerializer.writeString(value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_1_top_value_type) { - thisSerializer.writeInt8(3) - const value_1_top_value_3 = unsafeCast(value_1_top_value) - thisSerializer.writeResource(value_1_top_value_3) - } - } - const value_1_right = value_1.right - let value_1_right_type: int32 = RuntimeType.UNDEFINED - value_1_right_type = runtimeType(value_1_right) - thisSerializer.writeInt8(value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { - const value_1_right_value = value_1_right! - let value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_1_right_value_type = runtimeType(value_1_right_value) - if (((RuntimeType.NUMBER) == (value_1_right_value_type)) && ((unsafeCast(value_1_right_value)) >= (0)) && ((unsafeCast(value_1_right_value)) <= (11))) { - thisSerializer.writeInt8(0) - const value_1_right_value_0 = unsafeCast(value_1_right_value) - thisSerializer.writeInt32(value_1_right_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_1_right_value_type) { - thisSerializer.writeInt8(1) - const value_1_right_value_1 = unsafeCast(value_1_right_value) - thisSerializer.writeNumber(value_1_right_value_1) - } - else if (RuntimeType.STRING == value_1_right_value_type) { - thisSerializer.writeInt8(2) - const value_1_right_value_2 = unsafeCast(value_1_right_value) - thisSerializer.writeString(value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_1_right_value_type) { - thisSerializer.writeInt8(3) - const value_1_right_value_3 = unsafeCast(value_1_right_value) - thisSerializer.writeResource(value_1_right_value_3) - } - } - const value_1_bottom = value_1.bottom - let value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_1_bottom_type = runtimeType(value_1_bottom) - thisSerializer.writeInt8(value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { - const value_1_bottom_value = value_1_bottom! - let value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_1_bottom_value_type = runtimeType(value_1_bottom_value) - if (((RuntimeType.NUMBER) == (value_1_bottom_value_type)) && ((unsafeCast(value_1_bottom_value)) >= (0)) && ((unsafeCast(value_1_bottom_value)) <= (11))) { - thisSerializer.writeInt8(0) - const value_1_bottom_value_0 = unsafeCast(value_1_bottom_value) - thisSerializer.writeInt32(value_1_bottom_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_1_bottom_value_type) { - thisSerializer.writeInt8(1) - const value_1_bottom_value_1 = unsafeCast(value_1_bottom_value) - thisSerializer.writeNumber(value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_1_bottom_value_type) { - thisSerializer.writeInt8(2) - const value_1_bottom_value_2 = unsafeCast(value_1_bottom_value) - thisSerializer.writeString(value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_1_bottom_value_type) { - thisSerializer.writeInt8(3) - const value_1_bottom_value_3 = unsafeCast(value_1_bottom_value) - thisSerializer.writeResource(value_1_bottom_value_3) - } - } - const value_1_left = value_1.left - let value_1_left_type: int32 = RuntimeType.UNDEFINED - value_1_left_type = runtimeType(value_1_left) - thisSerializer.writeInt8(value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { - const value_1_left_value = value_1_left! - let value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_1_left_value_type = runtimeType(value_1_left_value) - if (((RuntimeType.NUMBER) == (value_1_left_value_type)) && ((unsafeCast(value_1_left_value)) >= (0)) && ((unsafeCast(value_1_left_value)) <= (11))) { - thisSerializer.writeInt8(0) - const value_1_left_value_0 = unsafeCast(value_1_left_value) - thisSerializer.writeInt32(value_1_left_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_1_left_value_type) { - thisSerializer.writeInt8(1) - const value_1_left_value_1 = unsafeCast(value_1_left_value) - thisSerializer.writeNumber(value_1_left_value_1) - } - else if (RuntimeType.STRING == value_1_left_value_type) { - thisSerializer.writeInt8(2) - const value_1_left_value_2 = unsafeCast(value_1_left_value) - thisSerializer.writeString(value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_1_left_value_type) { - thisSerializer.writeInt8(3) - const value_1_left_value_3 = unsafeCast(value_1_left_value) - thisSerializer.writeResource(value_1_left_value_3) - } - } + thisSerializer.writeEdgeColors(value_1) } else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("end")) || (value!.hasOwnProperty("start"))))) { thisSerializer.writeInt8(2) @@ -1042,102 +879,7 @@ export class ArkCommonMethodPeer extends PeerNode { else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("topLeft")) || (value!.hasOwnProperty("topRight")) || (value!.hasOwnProperty("bottomLeft")) || (value!.hasOwnProperty("bottomRight"))))) { thisSerializer.writeInt8(1) const value_1 = unsafeCast(value) - const value_1_topLeft = value_1.topLeft - let value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_1_topLeft_type = runtimeType(value_1_topLeft) - thisSerializer.writeInt8(value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_1_topLeft_type)) { - const value_1_topLeft_value = value_1_topLeft! - let value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_1_topLeft_value_type = runtimeType(value_1_topLeft_value) - if (RuntimeType.STRING == value_1_topLeft_value_type) { - thisSerializer.writeInt8(0) - const value_1_topLeft_value_0 = unsafeCast(value_1_topLeft_value) - thisSerializer.writeString(value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_1_topLeft_value_type) { - thisSerializer.writeInt8(1) - const value_1_topLeft_value_1 = unsafeCast(value_1_topLeft_value) - thisSerializer.writeNumber(value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_1_topLeft_value_type) { - thisSerializer.writeInt8(2) - const value_1_topLeft_value_2 = unsafeCast(value_1_topLeft_value) - thisSerializer.writeResource(value_1_topLeft_value_2) - } - } - const value_1_topRight = value_1.topRight - let value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_1_topRight_type = runtimeType(value_1_topRight) - thisSerializer.writeInt8(value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_1_topRight_type)) { - const value_1_topRight_value = value_1_topRight! - let value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_1_topRight_value_type = runtimeType(value_1_topRight_value) - if (RuntimeType.STRING == value_1_topRight_value_type) { - thisSerializer.writeInt8(0) - const value_1_topRight_value_0 = unsafeCast(value_1_topRight_value) - thisSerializer.writeString(value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_1_topRight_value_type) { - thisSerializer.writeInt8(1) - const value_1_topRight_value_1 = unsafeCast(value_1_topRight_value) - thisSerializer.writeNumber(value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_1_topRight_value_type) { - thisSerializer.writeInt8(2) - const value_1_topRight_value_2 = unsafeCast(value_1_topRight_value) - thisSerializer.writeResource(value_1_topRight_value_2) - } - } - const value_1_bottomLeft = value_1.bottomLeft - let value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_1_bottomLeft_type = runtimeType(value_1_bottomLeft) - thisSerializer.writeInt8(value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_1_bottomLeft_type)) { - const value_1_bottomLeft_value = value_1_bottomLeft! - let value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_1_bottomLeft_value_type = runtimeType(value_1_bottomLeft_value) - if (RuntimeType.STRING == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(0) - const value_1_bottomLeft_value_0 = unsafeCast(value_1_bottomLeft_value) - thisSerializer.writeString(value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(1) - const value_1_bottomLeft_value_1 = unsafeCast(value_1_bottomLeft_value) - thisSerializer.writeNumber(value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(2) - const value_1_bottomLeft_value_2 = unsafeCast(value_1_bottomLeft_value) - thisSerializer.writeResource(value_1_bottomLeft_value_2) - } - } - const value_1_bottomRight = value_1.bottomRight - let value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_1_bottomRight_type = runtimeType(value_1_bottomRight) - thisSerializer.writeInt8(value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_1_bottomRight_type)) { - const value_1_bottomRight_value = value_1_bottomRight! - let value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_1_bottomRight_value_type = runtimeType(value_1_bottomRight_value) - if (RuntimeType.STRING == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(0) - const value_1_bottomRight_value_0 = unsafeCast(value_1_bottomRight_value) - thisSerializer.writeString(value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(1) - const value_1_bottomRight_value_1 = unsafeCast(value_1_bottomRight_value) - thisSerializer.writeNumber(value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(2) - const value_1_bottomRight_value_2 = unsafeCast(value_1_bottomRight_value) - thisSerializer.writeResource(value_1_bottomRight_value_2) - } - } + thisSerializer.writeBorderRadiuses(value_1) } else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("topStart")) || (value!.hasOwnProperty("topEnd")) || (value!.hasOwnProperty("bottomStart")) || (value!.hasOwnProperty("bottomEnd"))))) { thisSerializer.writeInt8(2) @@ -1153,13 +895,25 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_borderImage(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - outlineAttribute(value: OutlineOptions): void { + outline0Attribute(value: OutlineOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeOutlineOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_outline(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_outline0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - outlineStyleAttribute(value: OutlineStyle | EdgeOutlineStyles): void { + outline1Attribute(value: OutlineOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeOutlineOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_outline1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + outlineStyle0Attribute(value: OutlineStyle | EdgeOutlineStyles): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -1171,43 +925,35 @@ export class ArkCommonMethodPeer extends PeerNode { else if (RuntimeType.OBJECT == value_type) { thisSerializer.writeInt8(1) const value_1 = unsafeCast(value) - const value_1_top = value_1.top - let value_1_top_type: int32 = RuntimeType.UNDEFINED - value_1_top_type = runtimeType(value_1_top) - thisSerializer.writeInt8(value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { - const value_1_top_value = value_1_top! - thisSerializer.writeInt32(value_1_top_value.valueOf()) - } - const value_1_right = value_1.right - let value_1_right_type: int32 = RuntimeType.UNDEFINED - value_1_right_type = runtimeType(value_1_right) - thisSerializer.writeInt8(value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { - const value_1_right_value = value_1_right! - thisSerializer.writeInt32(value_1_right_value.valueOf()) - } - const value_1_bottom = value_1.bottom - let value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_1_bottom_type = runtimeType(value_1_bottom) - thisSerializer.writeInt8(value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { - const value_1_bottom_value = value_1_bottom! - thisSerializer.writeInt32(value_1_bottom_value.valueOf()) - } - const value_1_left = value_1.left - let value_1_left_type: int32 = RuntimeType.UNDEFINED - value_1_left_type = runtimeType(value_1_left) - thisSerializer.writeInt8(value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { - const value_1_left_value = value_1_left! - thisSerializer.writeInt32(value_1_left_value.valueOf()) - } - } - ArkUIGeneratedNativeModule._CommonMethod_outlineStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - outlineWidthAttribute(value: Dimension | EdgeOutlineWidths): void { + thisSerializer.writeEdgeOutlineStyles(value_1) + } + ArkUIGeneratedNativeModule._CommonMethod_outlineStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + outlineStyle1Attribute(value: OutlineStyle | EdgeOutlineStyles | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeEdgeOutlineStyles(value_value_1) + } + } + ArkUIGeneratedNativeModule._CommonMethod_outlineStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + outlineWidth0Attribute(value: Dimension | EdgeOutlineWidths): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -1235,107 +981,51 @@ export class ArkCommonMethodPeer extends PeerNode { else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("top")) || (value!.hasOwnProperty("right")) || (value!.hasOwnProperty("bottom")) || (value!.hasOwnProperty("left"))))) { thisSerializer.writeInt8(1) const value_1 = unsafeCast(value) - const value_1_top = value_1.top - let value_1_top_type: int32 = RuntimeType.UNDEFINED - value_1_top_type = runtimeType(value_1_top) - thisSerializer.writeInt8(value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { - const value_1_top_value = value_1_top! - let value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_1_top_value_type = runtimeType(value_1_top_value) - if (RuntimeType.STRING == value_1_top_value_type) { - thisSerializer.writeInt8(0) - const value_1_top_value_0 = unsafeCast(value_1_top_value) - thisSerializer.writeString(value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_1_top_value_type) { - thisSerializer.writeInt8(1) - const value_1_top_value_1 = unsafeCast(value_1_top_value) - thisSerializer.writeNumber(value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_1_top_value_type) { - thisSerializer.writeInt8(2) - const value_1_top_value_2 = unsafeCast(value_1_top_value) - thisSerializer.writeResource(value_1_top_value_2) - } - } - const value_1_right = value_1.right - let value_1_right_type: int32 = RuntimeType.UNDEFINED - value_1_right_type = runtimeType(value_1_right) - thisSerializer.writeInt8(value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { - const value_1_right_value = value_1_right! - let value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_1_right_value_type = runtimeType(value_1_right_value) - if (RuntimeType.STRING == value_1_right_value_type) { - thisSerializer.writeInt8(0) - const value_1_right_value_0 = unsafeCast(value_1_right_value) - thisSerializer.writeString(value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_1_right_value_type) { - thisSerializer.writeInt8(1) - const value_1_right_value_1 = unsafeCast(value_1_right_value) - thisSerializer.writeNumber(value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_1_right_value_type) { - thisSerializer.writeInt8(2) - const value_1_right_value_2 = unsafeCast(value_1_right_value) - thisSerializer.writeResource(value_1_right_value_2) - } - } - const value_1_bottom = value_1.bottom - let value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_1_bottom_type = runtimeType(value_1_bottom) - thisSerializer.writeInt8(value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { - const value_1_bottom_value = value_1_bottom! - let value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_1_bottom_value_type = runtimeType(value_1_bottom_value) - if (RuntimeType.STRING == value_1_bottom_value_type) { + thisSerializer.writeEdgeOutlineWidths(value_1) + } + ArkUIGeneratedNativeModule._CommonMethod_outlineWidth0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + outlineWidth1Attribute(value: Dimension | EdgeOutlineWidths | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if ((RuntimeType.STRING == value_value_type) || (RuntimeType.NUMBER == value_value_type) || (RuntimeType.OBJECT == value_value_type)) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + let value_value_0_type: int32 = RuntimeType.UNDEFINED + value_value_0_type = runtimeType(value_value_0) + if (RuntimeType.STRING == value_value_0_type) { thisSerializer.writeInt8(0) - const value_1_bottom_value_0 = unsafeCast(value_1_bottom_value) - thisSerializer.writeString(value_1_bottom_value_0) + const value_value_0_0 = unsafeCast(value_value_0) + thisSerializer.writeString(value_value_0_0) } - else if (RuntimeType.NUMBER == value_1_bottom_value_type) { + else if (RuntimeType.NUMBER == value_value_0_type) { thisSerializer.writeInt8(1) - const value_1_bottom_value_1 = unsafeCast(value_1_bottom_value) - thisSerializer.writeNumber(value_1_bottom_value_1) + const value_value_0_1 = unsafeCast(value_value_0) + thisSerializer.writeNumber(value_value_0_1) } - else if (RuntimeType.OBJECT == value_1_bottom_value_type) { + else if (RuntimeType.OBJECT == value_value_0_type) { thisSerializer.writeInt8(2) - const value_1_bottom_value_2 = unsafeCast(value_1_bottom_value) - thisSerializer.writeResource(value_1_bottom_value_2) + const value_value_0_2 = unsafeCast(value_value_0) + thisSerializer.writeResource(value_value_0_2) } } - const value_1_left = value_1.left - let value_1_left_type: int32 = RuntimeType.UNDEFINED - value_1_left_type = runtimeType(value_1_left) - thisSerializer.writeInt8(value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { - const value_1_left_value = value_1_left! - let value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_1_left_value_type = runtimeType(value_1_left_value) - if (RuntimeType.STRING == value_1_left_value_type) { - thisSerializer.writeInt8(0) - const value_1_left_value_0 = unsafeCast(value_1_left_value) - thisSerializer.writeString(value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_1_left_value_type) { - thisSerializer.writeInt8(1) - const value_1_left_value_1 = unsafeCast(value_1_left_value) - thisSerializer.writeNumber(value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_1_left_value_type) { - thisSerializer.writeInt8(2) - const value_1_left_value_2 = unsafeCast(value_1_left_value) - thisSerializer.writeResource(value_1_left_value_2) - } + else if (((RuntimeType.OBJECT) == (value_value_type)) && (((value_value!.hasOwnProperty("top")) || (value_value!.hasOwnProperty("right")) || (value_value!.hasOwnProperty("bottom")) || (value_value!.hasOwnProperty("left"))))) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeEdgeOutlineWidths(value_value_1) } } - ArkUIGeneratedNativeModule._CommonMethod_outlineWidth(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_outlineWidth1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - outlineColorAttribute(value: ResourceColor | EdgeColors | LocalizedEdgeColors): void { + outlineColor0Attribute(value: ResourceColor | EdgeColors | LocalizedEdgeColors): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -1368,132 +1058,66 @@ export class ArkCommonMethodPeer extends PeerNode { else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("right")) || (value!.hasOwnProperty("left"))))) { thisSerializer.writeInt8(1) const value_1 = unsafeCast(value) - const value_1_top = value_1.top - let value_1_top_type: int32 = RuntimeType.UNDEFINED - value_1_top_type = runtimeType(value_1_top) - thisSerializer.writeInt8(value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_1_top_type)) { - const value_1_top_value = value_1_top! - let value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_1_top_value_type = runtimeType(value_1_top_value) - if (((RuntimeType.NUMBER) == (value_1_top_value_type)) && ((unsafeCast(value_1_top_value)) >= (0)) && ((unsafeCast(value_1_top_value)) <= (11))) { - thisSerializer.writeInt8(0) - const value_1_top_value_0 = unsafeCast(value_1_top_value) - thisSerializer.writeInt32(value_1_top_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_1_top_value_type) { - thisSerializer.writeInt8(1) - const value_1_top_value_1 = unsafeCast(value_1_top_value) - thisSerializer.writeNumber(value_1_top_value_1) - } - else if (RuntimeType.STRING == value_1_top_value_type) { - thisSerializer.writeInt8(2) - const value_1_top_value_2 = unsafeCast(value_1_top_value) - thisSerializer.writeString(value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_1_top_value_type) { - thisSerializer.writeInt8(3) - const value_1_top_value_3 = unsafeCast(value_1_top_value) - thisSerializer.writeResource(value_1_top_value_3) - } - } - const value_1_right = value_1.right - let value_1_right_type: int32 = RuntimeType.UNDEFINED - value_1_right_type = runtimeType(value_1_right) - thisSerializer.writeInt8(value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_1_right_type)) { - const value_1_right_value = value_1_right! - let value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_1_right_value_type = runtimeType(value_1_right_value) - if (((RuntimeType.NUMBER) == (value_1_right_value_type)) && ((unsafeCast(value_1_right_value)) >= (0)) && ((unsafeCast(value_1_right_value)) <= (11))) { + thisSerializer.writeEdgeColors(value_1) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("end")) || (value!.hasOwnProperty("start"))))) { + thisSerializer.writeInt8(2) + const value_2 = unsafeCast(value) + thisSerializer.writeLocalizedEdgeColors(value_2) + } + ArkUIGeneratedNativeModule._CommonMethod_outlineColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + outlineColor1Attribute(value: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if ((((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) || (RuntimeType.NUMBER == value_value_type) || (RuntimeType.STRING == value_value_type) || (RuntimeType.OBJECT == value_value_type)) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + let value_value_0_type: int32 = RuntimeType.UNDEFINED + value_value_0_type = runtimeType(value_value_0) + if (((RuntimeType.NUMBER) == (value_value_0_type)) && ((unsafeCast(value_value_0)) >= (0)) && ((unsafeCast(value_value_0)) <= (11))) { thisSerializer.writeInt8(0) - const value_1_right_value_0 = unsafeCast(value_1_right_value) - thisSerializer.writeInt32(value_1_right_value_0.valueOf()) + const value_value_0_0 = unsafeCast(value_value_0) + thisSerializer.writeInt32(value_value_0_0.valueOf()) } - else if (RuntimeType.NUMBER == value_1_right_value_type) { + else if (RuntimeType.NUMBER == value_value_0_type) { thisSerializer.writeInt8(1) - const value_1_right_value_1 = unsafeCast(value_1_right_value) - thisSerializer.writeNumber(value_1_right_value_1) + const value_value_0_1 = unsafeCast(value_value_0) + thisSerializer.writeNumber(value_value_0_1) } - else if (RuntimeType.STRING == value_1_right_value_type) { + else if (RuntimeType.STRING == value_value_0_type) { thisSerializer.writeInt8(2) - const value_1_right_value_2 = unsafeCast(value_1_right_value) - thisSerializer.writeString(value_1_right_value_2) + const value_value_0_2 = unsafeCast(value_value_0) + thisSerializer.writeString(value_value_0_2) } - else if (RuntimeType.OBJECT == value_1_right_value_type) { + else if (RuntimeType.OBJECT == value_value_0_type) { thisSerializer.writeInt8(3) - const value_1_right_value_3 = unsafeCast(value_1_right_value) - thisSerializer.writeResource(value_1_right_value_3) + const value_value_0_3 = unsafeCast(value_value_0) + thisSerializer.writeResource(value_value_0_3) } } - const value_1_bottom = value_1.bottom - let value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_1_bottom_type = runtimeType(value_1_bottom) - thisSerializer.writeInt8(value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_1_bottom_type)) { - const value_1_bottom_value = value_1_bottom! - let value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_1_bottom_value_type = runtimeType(value_1_bottom_value) - if (((RuntimeType.NUMBER) == (value_1_bottom_value_type)) && ((unsafeCast(value_1_bottom_value)) >= (0)) && ((unsafeCast(value_1_bottom_value)) <= (11))) { - thisSerializer.writeInt8(0) - const value_1_bottom_value_0 = unsafeCast(value_1_bottom_value) - thisSerializer.writeInt32(value_1_bottom_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_1_bottom_value_type) { - thisSerializer.writeInt8(1) - const value_1_bottom_value_1 = unsafeCast(value_1_bottom_value) - thisSerializer.writeNumber(value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_1_bottom_value_type) { - thisSerializer.writeInt8(2) - const value_1_bottom_value_2 = unsafeCast(value_1_bottom_value) - thisSerializer.writeString(value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_1_bottom_value_type) { - thisSerializer.writeInt8(3) - const value_1_bottom_value_3 = unsafeCast(value_1_bottom_value) - thisSerializer.writeResource(value_1_bottom_value_3) - } + else if (((RuntimeType.OBJECT) == (value_value_type)) && (((value_value!.hasOwnProperty("right")) || (value_value!.hasOwnProperty("left"))))) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeEdgeColors(value_value_1) } - const value_1_left = value_1.left - let value_1_left_type: int32 = RuntimeType.UNDEFINED - value_1_left_type = runtimeType(value_1_left) - thisSerializer.writeInt8(value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_1_left_type)) { - const value_1_left_value = value_1_left! - let value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_1_left_value_type = runtimeType(value_1_left_value) - if (((RuntimeType.NUMBER) == (value_1_left_value_type)) && ((unsafeCast(value_1_left_value)) >= (0)) && ((unsafeCast(value_1_left_value)) <= (11))) { - thisSerializer.writeInt8(0) - const value_1_left_value_0 = unsafeCast(value_1_left_value) - thisSerializer.writeInt32(value_1_left_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_1_left_value_type) { - thisSerializer.writeInt8(1) - const value_1_left_value_1 = unsafeCast(value_1_left_value) - thisSerializer.writeNumber(value_1_left_value_1) - } - else if (RuntimeType.STRING == value_1_left_value_type) { - thisSerializer.writeInt8(2) - const value_1_left_value_2 = unsafeCast(value_1_left_value) - thisSerializer.writeString(value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_1_left_value_type) { - thisSerializer.writeInt8(3) - const value_1_left_value_3 = unsafeCast(value_1_left_value) - thisSerializer.writeResource(value_1_left_value_3) - } + else if (((RuntimeType.OBJECT) == (value_value_type)) && (((value_value!.hasOwnProperty("end")) || (value_value!.hasOwnProperty("start"))))) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeLocalizedEdgeColors(value_value_2) } } - else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("end")) || (value!.hasOwnProperty("start"))))) { - thisSerializer.writeInt8(2) - const value_2 = unsafeCast(value) - thisSerializer.writeLocalizedEdgeColors(value_2) - } - ArkUIGeneratedNativeModule._CommonMethod_outlineColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_outlineColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - outlineRadiusAttribute(value: Dimension | OutlineRadiuses): void { + outlineRadius0Attribute(value: Dimension | OutlineRadiuses): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -1521,107 +1145,51 @@ export class ArkCommonMethodPeer extends PeerNode { else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("topLeft")) || (value!.hasOwnProperty("topRight")) || (value!.hasOwnProperty("bottomLeft")) || (value!.hasOwnProperty("bottomRight"))))) { thisSerializer.writeInt8(1) const value_1 = unsafeCast(value) - const value_1_topLeft = value_1.topLeft - let value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_1_topLeft_type = runtimeType(value_1_topLeft) - thisSerializer.writeInt8(value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_1_topLeft_type)) { - const value_1_topLeft_value = value_1_topLeft! - let value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_1_topLeft_value_type = runtimeType(value_1_topLeft_value) - if (RuntimeType.STRING == value_1_topLeft_value_type) { - thisSerializer.writeInt8(0) - const value_1_topLeft_value_0 = unsafeCast(value_1_topLeft_value) - thisSerializer.writeString(value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_1_topLeft_value_type) { - thisSerializer.writeInt8(1) - const value_1_topLeft_value_1 = unsafeCast(value_1_topLeft_value) - thisSerializer.writeNumber(value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_1_topLeft_value_type) { - thisSerializer.writeInt8(2) - const value_1_topLeft_value_2 = unsafeCast(value_1_topLeft_value) - thisSerializer.writeResource(value_1_topLeft_value_2) - } - } - const value_1_topRight = value_1.topRight - let value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_1_topRight_type = runtimeType(value_1_topRight) - thisSerializer.writeInt8(value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_1_topRight_type)) { - const value_1_topRight_value = value_1_topRight! - let value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_1_topRight_value_type = runtimeType(value_1_topRight_value) - if (RuntimeType.STRING == value_1_topRight_value_type) { - thisSerializer.writeInt8(0) - const value_1_topRight_value_0 = unsafeCast(value_1_topRight_value) - thisSerializer.writeString(value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_1_topRight_value_type) { - thisSerializer.writeInt8(1) - const value_1_topRight_value_1 = unsafeCast(value_1_topRight_value) - thisSerializer.writeNumber(value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_1_topRight_value_type) { - thisSerializer.writeInt8(2) - const value_1_topRight_value_2 = unsafeCast(value_1_topRight_value) - thisSerializer.writeResource(value_1_topRight_value_2) - } - } - const value_1_bottomLeft = value_1.bottomLeft - let value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_1_bottomLeft_type = runtimeType(value_1_bottomLeft) - thisSerializer.writeInt8(value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_1_bottomLeft_type)) { - const value_1_bottomLeft_value = value_1_bottomLeft! - let value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_1_bottomLeft_value_type = runtimeType(value_1_bottomLeft_value) - if (RuntimeType.STRING == value_1_bottomLeft_value_type) { + thisSerializer.writeOutlineRadiuses(value_1) + } + ArkUIGeneratedNativeModule._CommonMethod_outlineRadius0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + outlineRadius1Attribute(value: Dimension | OutlineRadiuses | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if ((RuntimeType.STRING == value_value_type) || (RuntimeType.NUMBER == value_value_type) || (RuntimeType.OBJECT == value_value_type)) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + let value_value_0_type: int32 = RuntimeType.UNDEFINED + value_value_0_type = runtimeType(value_value_0) + if (RuntimeType.STRING == value_value_0_type) { thisSerializer.writeInt8(0) - const value_1_bottomLeft_value_0 = unsafeCast(value_1_bottomLeft_value) - thisSerializer.writeString(value_1_bottomLeft_value_0) + const value_value_0_0 = unsafeCast(value_value_0) + thisSerializer.writeString(value_value_0_0) } - else if (RuntimeType.NUMBER == value_1_bottomLeft_value_type) { + else if (RuntimeType.NUMBER == value_value_0_type) { thisSerializer.writeInt8(1) - const value_1_bottomLeft_value_1 = unsafeCast(value_1_bottomLeft_value) - thisSerializer.writeNumber(value_1_bottomLeft_value_1) + const value_value_0_1 = unsafeCast(value_value_0) + thisSerializer.writeNumber(value_value_0_1) } - else if (RuntimeType.OBJECT == value_1_bottomLeft_value_type) { + else if (RuntimeType.OBJECT == value_value_0_type) { thisSerializer.writeInt8(2) - const value_1_bottomLeft_value_2 = unsafeCast(value_1_bottomLeft_value) - thisSerializer.writeResource(value_1_bottomLeft_value_2) + const value_value_0_2 = unsafeCast(value_value_0) + thisSerializer.writeResource(value_value_0_2) } } - const value_1_bottomRight = value_1.bottomRight - let value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_1_bottomRight_type = runtimeType(value_1_bottomRight) - thisSerializer.writeInt8(value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_1_bottomRight_type)) { - const value_1_bottomRight_value = value_1_bottomRight! - let value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_1_bottomRight_value_type = runtimeType(value_1_bottomRight_value) - if (RuntimeType.STRING == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(0) - const value_1_bottomRight_value_0 = unsafeCast(value_1_bottomRight_value) - thisSerializer.writeString(value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(1) - const value_1_bottomRight_value_1 = unsafeCast(value_1_bottomRight_value) - thisSerializer.writeNumber(value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(2) - const value_1_bottomRight_value_2 = unsafeCast(value_1_bottomRight_value) - thisSerializer.writeResource(value_1_bottomRight_value_2) - } + else if (((RuntimeType.OBJECT) == (value_value_type)) && (((value_value!.hasOwnProperty("topLeft")) || (value_value!.hasOwnProperty("topRight")) || (value_value!.hasOwnProperty("bottomLeft")) || (value_value!.hasOwnProperty("bottomRight"))))) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeOutlineRadiuses(value_value_1) } } - ArkUIGeneratedNativeModule._CommonMethod_outlineRadius(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_outlineRadius1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - foregroundColorAttribute(value: ResourceColor | ColoringStrategy): void { + foregroundColor0Attribute(value: ResourceColor | ColoringStrategy): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -1656,7 +1224,51 @@ export class ArkCommonMethodPeer extends PeerNode { const value_1 = unsafeCast(value) thisSerializer.writeInt32(Object.values(ColoringStrategy).indexOf(value_1)) } - ArkUIGeneratedNativeModule._CommonMethod_foregroundColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_foregroundColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + foregroundColor1Attribute(value: ResourceColor | ColoringStrategy | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if ((((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) || (RuntimeType.NUMBER == value_value_type) || (RuntimeType.STRING == value_value_type) || (RuntimeType.OBJECT == value_value_type)) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + let value_value_0_type: int32 = RuntimeType.UNDEFINED + value_value_0_type = runtimeType(value_value_0) + if (((RuntimeType.NUMBER) == (value_value_0_type)) && ((unsafeCast(value_value_0)) >= (0)) && ((unsafeCast(value_value_0)) <= (11))) { + thisSerializer.writeInt8(0) + const value_value_0_0 = unsafeCast(value_value_0) + thisSerializer.writeInt32(value_value_0_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_value_0_type) { + thisSerializer.writeInt8(1) + const value_value_0_1 = unsafeCast(value_value_0) + thisSerializer.writeNumber(value_value_0_1) + } + else if (RuntimeType.STRING == value_value_0_type) { + thisSerializer.writeInt8(2) + const value_value_0_2 = unsafeCast(value_value_0) + thisSerializer.writeString(value_value_0_2) + } + else if (RuntimeType.OBJECT == value_value_0_type) { + thisSerializer.writeInt8(3) + const value_value_0_3 = unsafeCast(value_value_0) + thisSerializer.writeResource(value_value_0_3) + } + } + else if (((RuntimeType.STRING) == (value_value_type)) && ((Object.values(ColoringStrategy).indexOf((value_value as ColoringStrategy))) >= (0)) && ((Object.values(ColoringStrategy).indexOf((value_value as ColoringStrategy))) <= (2))) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeInt32(Object.values(ColoringStrategy).indexOf(value_value_1)) + } + } + ArkUIGeneratedNativeModule._CommonMethod_foregroundColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onClick0Attribute(value: ((event: ClickEvent) => void)): void { @@ -1677,6 +1289,12 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onHover(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onHoverMoveAttribute(value: ((parameter: HoverEvent) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onHoverMove(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onAccessibilityHoverAttribute(value: AccessibilityCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -1698,10 +1316,28 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onTouch(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onKeyEventAttribute(value: ((event: KeyEvent) => void)): void { + onKeyEvent0Attribute(value: ((event: KeyEvent) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onKeyEvent0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onKeyEvent1Attribute(value: ((parameter: KeyEvent) => boolean)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._CommonMethod_onKeyEvent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_onKeyEvent1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onDigitalCrownAttribute(value: ((parameter: CrownEvent) => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_onDigitalCrown(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onKeyPreImeAttribute(value: ((parameter: KeyEvent) => boolean)): void { @@ -1710,9 +1346,42 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onKeyPreIme(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onKeyEventDispatchAttribute(value: ((parameter: KeyEvent) => boolean)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onKeyEventDispatch(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onFocusAxisEventAttribute(value: ((parameter: FocusAxisEvent) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onFocusAxisEvent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onAxisEventAttribute(value: ((parameter: AxisEvent) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onAxisEvent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } focusableAttribute(value: boolean): void { ArkUIGeneratedNativeModule._CommonMethod_focusable(this.peer.ptr, +value) } + nextFocusAttribute(value: FocusMovement | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeFocusMovement(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_nextFocus(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + tabStopAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_tabStop(this.peer.ptr, +value) + } onFocusAttribute(value: (() => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -1778,22 +1447,70 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_transition1(this.peer.ptr, toPeerPtr(effect), thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - motionBlurAttribute(value: MotionBlurOptions): void { + motionBlur0Attribute(value: MotionBlurOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeMotionBlurOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_motionBlur(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_motionBlur0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - brightnessAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_brightness(this.peer.ptr, value) + motionBlur1Attribute(value: MotionBlurOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeMotionBlurOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_motionBlur1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - contrastAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_contrast(this.peer.ptr, value) + brightness0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_brightness0(this.peer.ptr, value) } - grayscaleAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_grayscale(this.peer.ptr, value) + brightness1Attribute(value: number | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_brightness1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - colorBlendAttribute(value: Color | string | Resource): void { + contrast0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_contrast0(this.peer.ptr, value) + } + contrast1Attribute(value: number | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_contrast1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + grayscale0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_grayscale0(this.peer.ptr, value) + } + grayscale1Attribute(value: number | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_grayscale1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + colorBlend0Attribute(value: Color | string | Resource): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -1812,16 +1529,68 @@ export class ArkCommonMethodPeer extends PeerNode { const value_2 = unsafeCast(value) thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._CommonMethod_colorBlend(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_colorBlend0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + colorBlend1Attribute(value: Color | string | Resource | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeString(value_value_1) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_2) + } + } + ArkUIGeneratedNativeModule._CommonMethod_colorBlend1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - saturateAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_saturate(this.peer.ptr, value) + saturate0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_saturate0(this.peer.ptr, value) + } + saturate1Attribute(value: number | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_saturate1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - sepiaAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_sepia(this.peer.ptr, value) + sepia0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_sepia0(this.peer.ptr, value) } - invertAttribute(value: number | InvertOptions): void { + sepia1Attribute(value: number | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_sepia1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + invert0Attribute(value: number | InvertOptions): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -1835,10 +1604,33 @@ export class ArkCommonMethodPeer extends PeerNode { const value_1 = unsafeCast(value) thisSerializer.writeInvertOptions(value_1) } - ArkUIGeneratedNativeModule._CommonMethod_invert(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_invert0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + invert1Attribute(value: number | InvertOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeInvertOptions(value_value_1) + } + } + ArkUIGeneratedNativeModule._CommonMethod_invert1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - hueRotateAttribute(value: number | string): void { + hueRotate0Attribute(value: number | string): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -1852,11 +1644,46 @@ export class ArkCommonMethodPeer extends PeerNode { const value_1 = unsafeCast(value) thisSerializer.writeString(value_1) } - ArkUIGeneratedNativeModule._CommonMethod_hueRotate(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_hueRotate0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + hueRotate1Attribute(value: number | string | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeString(value_value_1) + } + } + ArkUIGeneratedNativeModule._CommonMethod_hueRotate1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - useShadowBatchingAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._CommonMethod_useShadowBatching(this.peer.ptr, +value) + useShadowBatching0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_useShadowBatching0(this.peer.ptr, +value) + } + useShadowBatching1Attribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_useShadowBatching1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } useEffect0Attribute(value: boolean): void { ArkUIGeneratedNativeModule._CommonMethod_useEffect0(this.peer.ptr, +value) @@ -1864,22 +1691,89 @@ export class ArkCommonMethodPeer extends PeerNode { useEffect1Attribute(useEffect: boolean, effectType: EffectType): void { ArkUIGeneratedNativeModule._CommonMethod_useEffect1(this.peer.ptr, +useEffect, effectType.valueOf()) } - renderGroupAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._CommonMethod_renderGroup(this.peer.ptr, +value) + useEffect2Attribute(useEffect: boolean | undefined, effectType?: EffectType): void { + const thisSerializer: Serializer = Serializer.hold() + let useEffect_type: int32 = RuntimeType.UNDEFINED + useEffect_type = runtimeType(useEffect) + thisSerializer.writeInt8(useEffect_type) + if ((RuntimeType.UNDEFINED) != (useEffect_type)) { + const useEffect_value = useEffect! + thisSerializer.writeBoolean(useEffect_value) + } + let effectType_type: int32 = RuntimeType.UNDEFINED + effectType_type = runtimeType(effectType) + thisSerializer.writeInt8(effectType_type) + if ((RuntimeType.UNDEFINED) != (effectType_type)) { + const effectType_value = effectType! + thisSerializer.writeInt32(effectType_value.valueOf()) + } + ArkUIGeneratedNativeModule._CommonMethod_useEffect2(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - freezeAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._CommonMethod_freeze(this.peer.ptr, +value) + renderGroup0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_renderGroup0(this.peer.ptr, +value) } - translateAttribute(value: TranslateOptions): void { + renderGroup1Attribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_renderGroup1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + freeze0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_freeze0(this.peer.ptr, +value) + } + freeze1Attribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_freeze1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + translate0Attribute(value: TranslateOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeTranslateOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_translate(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_translate0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + translate1Attribute(value: TranslateOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeTranslateOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_translate1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - scaleAttribute(value: ScaleOptions): void { + scale0Attribute(value: ScaleOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeScaleOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_scale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_scale0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + scale1Attribute(value: ScaleOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeScaleOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_scale1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } gridSpanAttribute(value: number): void { @@ -1888,16 +1782,40 @@ export class ArkCommonMethodPeer extends PeerNode { gridOffsetAttribute(value: number): void { ArkUIGeneratedNativeModule._CommonMethod_gridOffset(this.peer.ptr, value) } - rotateAttribute(value: RotateOptions): void { + rotate0Attribute(value: RotateOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeRotateOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_rotate(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_rotate0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + rotate1Attribute(value: RotateOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeRotateOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_rotate1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - transformAttribute(value: TransformationMatrix): void { + transform0Attribute(value: TransformationMatrix): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeTransformationMatrix(value) - ArkUIGeneratedNativeModule._CommonMethod_transform(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_transform0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + transform1Attribute(value: Object | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteObject(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_transform1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onAppearAttribute(value: (() => void)): void { @@ -2143,7 +2061,19 @@ export class ArkCommonMethodPeer extends PeerNode { aspectRatioAttribute(value: number): void { ArkUIGeneratedNativeModule._CommonMethod_aspectRatio(this.peer.ptr, value) } - clickEffectAttribute(value: ClickEffect | undefined): void { + clickEffect0Attribute(value: ClickEffect | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeClickEffect(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_clickEffect0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + clickEffect1Attribute(value: ClickEffect | undefined): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -2152,7 +2082,7 @@ export class ArkCommonMethodPeer extends PeerNode { const value_value = value! thisSerializer.writeClickEffect(value_value) } - ArkUIGeneratedNativeModule._CommonMethod_clickEffect(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_clickEffect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onDragStartAttribute(value: ((event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo)): void { @@ -2179,10 +2109,23 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onDragLeave(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onDropAttribute(value: ((event: DragEvent, extraParams?: string) => void)): void { + onDrop0Attribute(value: ((event: DragEvent, extraParams?: string) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._CommonMethod_onDrop(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_onDrop0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onDrop1Attribute(eventCallback: OnDragEventCallback, dropOptions?: DropOptions): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(eventCallback) + let dropOptions_type: int32 = RuntimeType.UNDEFINED + dropOptions_type = runtimeType(dropOptions) + thisSerializer.writeInt8(dropOptions_type) + if ((RuntimeType.UNDEFINED) != (dropOptions_type)) { + const dropOptions_value = dropOptions! + thisSerializer.writeDropOptions(dropOptions_value) + } + ArkUIGeneratedNativeModule._CommonMethod_onDrop1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onDragEndAttribute(value: ((event: DragEvent, extraParams?: string) => void)): void { @@ -2199,343 +2142,126 @@ export class ArkCommonMethodPeer extends PeerNode { if ((RuntimeType.UNDEFINED) != (value_type)) { const value_value = value! thisSerializer.writeInt32(value_value.length) - for (let i = 0; i < value_value.length; i++) { - const value_value_element: UniformDataType = value_value[i] - thisSerializer.writeInt32(Object.values(UniformDataType).indexOf(value_value_element)) - } - } - ArkUIGeneratedNativeModule._CommonMethod_allowDrop(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - draggableAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._CommonMethod_draggable(this.peer.ptr, +value) - } - dragPreviewAttribute(value: CustomBuilder | DragItemInfo | string): void { - const thisSerializer: Serializer = Serializer.hold() - let value_type: int32 = RuntimeType.UNDEFINED - value_type = runtimeType(value) - if (RuntimeType.FUNCTION == value_type) { - thisSerializer.writeInt8(0) - const value_0 = unsafeCast(value) - thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_0)) - } - else if (RuntimeType.OBJECT == value_type) { - thisSerializer.writeInt8(1) - const value_1 = unsafeCast(value) - thisSerializer.writeDragItemInfo(value_1) - } - else if (RuntimeType.STRING == value_type) { - thisSerializer.writeInt8(2) - const value_2 = unsafeCast(value) - thisSerializer.writeString(value_2) - } - ArkUIGeneratedNativeModule._CommonMethod_dragPreview(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - onPreDragAttribute(value: ((parameter: PreDragStatus) => void)): void { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._CommonMethod_onPreDrag(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) - thisSerializer.release() - } - linearGradientAttribute(value: { angle?: number | string, direction?: GradientDirection, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): void { - const thisSerializer: Serializer = Serializer.hold() - const value_angle = value.angle - let value_angle_type: int32 = RuntimeType.UNDEFINED - value_angle_type = runtimeType(value_angle) - thisSerializer.writeInt8(value_angle_type) - if ((RuntimeType.UNDEFINED) != (value_angle_type)) { - const value_angle_value = value_angle! - let value_angle_value_type: int32 = RuntimeType.UNDEFINED - value_angle_value_type = runtimeType(value_angle_value) - if (RuntimeType.NUMBER == value_angle_value_type) { - thisSerializer.writeInt8(0) - const value_angle_value_0 = unsafeCast(value_angle_value) - thisSerializer.writeNumber(value_angle_value_0) - } - else if (RuntimeType.STRING == value_angle_value_type) { - thisSerializer.writeInt8(1) - const value_angle_value_1 = unsafeCast(value_angle_value) - thisSerializer.writeString(value_angle_value_1) - } - } - const value_direction = value.direction - let value_direction_type: int32 = RuntimeType.UNDEFINED - value_direction_type = runtimeType(value_direction) - thisSerializer.writeInt8(value_direction_type) - if ((RuntimeType.UNDEFINED) != (value_direction_type)) { - const value_direction_value = value_direction! - thisSerializer.writeInt32(value_direction_value.valueOf()) - } - const value_colors = value.colors - thisSerializer.writeInt32(value_colors.length) - for (let i = 0; i < value_colors.length; i++) { - const value_colors_element: [ ResourceColor, number ] = value_colors[i] - const value_colors_element_0 = value_colors_element[0] - let value_colors_element_0_type: int32 = RuntimeType.UNDEFINED - value_colors_element_0_type = runtimeType(value_colors_element_0) - if (((RuntimeType.NUMBER) == (value_colors_element_0_type)) && ((unsafeCast(value_colors_element_0)) >= (0)) && ((unsafeCast(value_colors_element_0)) <= (11))) { - thisSerializer.writeInt8(0) - const value_colors_element_0_0 = unsafeCast(value_colors_element_0) - thisSerializer.writeInt32(value_colors_element_0_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_colors_element_0_type) { - thisSerializer.writeInt8(1) - const value_colors_element_0_1 = unsafeCast(value_colors_element_0) - thisSerializer.writeNumber(value_colors_element_0_1) - } - else if (RuntimeType.STRING == value_colors_element_0_type) { - thisSerializer.writeInt8(2) - const value_colors_element_0_2 = unsafeCast(value_colors_element_0) - thisSerializer.writeString(value_colors_element_0_2) - } - else if (RuntimeType.OBJECT == value_colors_element_0_type) { - thisSerializer.writeInt8(3) - const value_colors_element_0_3 = unsafeCast(value_colors_element_0) - thisSerializer.writeResource(value_colors_element_0_3) + for (let i = 0; i < value_value.length; i++) { + const value_value_element: UniformDataType = value_value[i] + thisSerializer.writeInt32(Object.values(UniformDataType).indexOf(value_value_element)) } - const value_colors_element_1 = value_colors_element[1] - thisSerializer.writeNumber(value_colors_element_1) - } - const value_repeating = value.repeating - let value_repeating_type: int32 = RuntimeType.UNDEFINED - value_repeating_type = runtimeType(value_repeating) - thisSerializer.writeInt8(value_repeating_type) - if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { - const value_repeating_value = value_repeating! - thisSerializer.writeBoolean(value_repeating_value) } - ArkUIGeneratedNativeModule._CommonMethod_linearGradient(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_allowDrop(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - sweepGradientAttribute(value: { center: [ Length, Length ], start?: number | string, end?: number | string, rotation?: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): void { + draggableAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_draggable(this.peer.ptr, +value) + } + dragPreview0Attribute(value: CustomBuilder | DragItemInfo | string): void { const thisSerializer: Serializer = Serializer.hold() - const value_center = value.center - const value_center_0 = value_center[0] - let value_center_0_type: int32 = RuntimeType.UNDEFINED - value_center_0_type = runtimeType(value_center_0) - if (RuntimeType.STRING == value_center_0_type) { - thisSerializer.writeInt8(0) - const value_center_0_0 = unsafeCast(value_center_0) - thisSerializer.writeString(value_center_0_0) - } - else if (RuntimeType.NUMBER == value_center_0_type) { - thisSerializer.writeInt8(1) - const value_center_0_1 = unsafeCast(value_center_0) - thisSerializer.writeNumber(value_center_0_1) - } - else if (RuntimeType.OBJECT == value_center_0_type) { - thisSerializer.writeInt8(2) - const value_center_0_2 = unsafeCast(value_center_0) - thisSerializer.writeResource(value_center_0_2) - } - const value_center_1 = value_center[1] - let value_center_1_type: int32 = RuntimeType.UNDEFINED - value_center_1_type = runtimeType(value_center_1) - if (RuntimeType.STRING == value_center_1_type) { + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { thisSerializer.writeInt8(0) - const value_center_1_0 = unsafeCast(value_center_1) - thisSerializer.writeString(value_center_1_0) + const value_0 = unsafeCast(value) + thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_0)) } - else if (RuntimeType.NUMBER == value_center_1_type) { + else if (RuntimeType.OBJECT == value_type) { thisSerializer.writeInt8(1) - const value_center_1_1 = unsafeCast(value_center_1) - thisSerializer.writeNumber(value_center_1_1) + const value_1 = unsafeCast(value) + thisSerializer.writeDragItemInfo(value_1) } - else if (RuntimeType.OBJECT == value_center_1_type) { + else if (RuntimeType.STRING == value_type) { thisSerializer.writeInt8(2) - const value_center_1_2 = unsafeCast(value_center_1) - thisSerializer.writeResource(value_center_1_2) - } - const value_start = value.start - let value_start_type: int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - thisSerializer.writeInt8(value_start_type) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - let value_start_value_type: int32 = RuntimeType.UNDEFINED - value_start_value_type = runtimeType(value_start_value) - if (RuntimeType.NUMBER == value_start_value_type) { - thisSerializer.writeInt8(0) - const value_start_value_0 = unsafeCast(value_start_value) - thisSerializer.writeNumber(value_start_value_0) - } - else if (RuntimeType.STRING == value_start_value_type) { - thisSerializer.writeInt8(1) - const value_start_value_1 = unsafeCast(value_start_value) - thisSerializer.writeString(value_start_value_1) - } - } - const value_end = value.end - let value_end_type: int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - thisSerializer.writeInt8(value_end_type) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - let value_end_value_type: int32 = RuntimeType.UNDEFINED - value_end_value_type = runtimeType(value_end_value) - if (RuntimeType.NUMBER == value_end_value_type) { - thisSerializer.writeInt8(0) - const value_end_value_0 = unsafeCast(value_end_value) - thisSerializer.writeNumber(value_end_value_0) - } - else if (RuntimeType.STRING == value_end_value_type) { - thisSerializer.writeInt8(1) - const value_end_value_1 = unsafeCast(value_end_value) - thisSerializer.writeString(value_end_value_1) - } - } - const value_rotation = value.rotation - let value_rotation_type: int32 = RuntimeType.UNDEFINED - value_rotation_type = runtimeType(value_rotation) - thisSerializer.writeInt8(value_rotation_type) - if ((RuntimeType.UNDEFINED) != (value_rotation_type)) { - const value_rotation_value = value_rotation! - let value_rotation_value_type: int32 = RuntimeType.UNDEFINED - value_rotation_value_type = runtimeType(value_rotation_value) - if (RuntimeType.NUMBER == value_rotation_value_type) { - thisSerializer.writeInt8(0) - const value_rotation_value_0 = unsafeCast(value_rotation_value) - thisSerializer.writeNumber(value_rotation_value_0) - } - else if (RuntimeType.STRING == value_rotation_value_type) { - thisSerializer.writeInt8(1) - const value_rotation_value_1 = unsafeCast(value_rotation_value) - thisSerializer.writeString(value_rotation_value_1) - } - } - const value_colors = value.colors - thisSerializer.writeInt32(value_colors.length) - for (let i = 0; i < value_colors.length; i++) { - const value_colors_element: [ ResourceColor, number ] = value_colors[i] - const value_colors_element_0 = value_colors_element[0] - let value_colors_element_0_type: int32 = RuntimeType.UNDEFINED - value_colors_element_0_type = runtimeType(value_colors_element_0) - if (((RuntimeType.NUMBER) == (value_colors_element_0_type)) && ((unsafeCast(value_colors_element_0)) >= (0)) && ((unsafeCast(value_colors_element_0)) <= (11))) { - thisSerializer.writeInt8(0) - const value_colors_element_0_0 = unsafeCast(value_colors_element_0) - thisSerializer.writeInt32(value_colors_element_0_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_colors_element_0_type) { - thisSerializer.writeInt8(1) - const value_colors_element_0_1 = unsafeCast(value_colors_element_0) - thisSerializer.writeNumber(value_colors_element_0_1) - } - else if (RuntimeType.STRING == value_colors_element_0_type) { - thisSerializer.writeInt8(2) - const value_colors_element_0_2 = unsafeCast(value_colors_element_0) - thisSerializer.writeString(value_colors_element_0_2) - } - else if (RuntimeType.OBJECT == value_colors_element_0_type) { - thisSerializer.writeInt8(3) - const value_colors_element_0_3 = unsafeCast(value_colors_element_0) - thisSerializer.writeResource(value_colors_element_0_3) - } - const value_colors_element_1 = value_colors_element[1] - thisSerializer.writeNumber(value_colors_element_1) - } - const value_repeating = value.repeating - let value_repeating_type: int32 = RuntimeType.UNDEFINED - value_repeating_type = runtimeType(value_repeating) - thisSerializer.writeInt8(value_repeating_type) - if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { - const value_repeating_value = value_repeating! - thisSerializer.writeBoolean(value_repeating_value) + const value_2 = unsafeCast(value) + thisSerializer.writeString(value_2) } - ArkUIGeneratedNativeModule._CommonMethod_sweepGradient(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_dragPreview0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - radialGradientAttribute(value: { center: [ Length, Length ], radius: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): void { + dragPreview1Attribute(preview: CustomBuilder | DragItemInfo | string, config?: PreviewConfiguration): void { const thisSerializer: Serializer = Serializer.hold() - const value_center = value.center - const value_center_0 = value_center[0] - let value_center_0_type: int32 = RuntimeType.UNDEFINED - value_center_0_type = runtimeType(value_center_0) - if (RuntimeType.STRING == value_center_0_type) { + let preview_type: int32 = RuntimeType.UNDEFINED + preview_type = runtimeType(preview) + if (RuntimeType.FUNCTION == preview_type) { thisSerializer.writeInt8(0) - const value_center_0_0 = unsafeCast(value_center_0) - thisSerializer.writeString(value_center_0_0) + const preview_0 = unsafeCast(preview) + thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(preview_0)) } - else if (RuntimeType.NUMBER == value_center_0_type) { + else if (RuntimeType.OBJECT == preview_type) { thisSerializer.writeInt8(1) - const value_center_0_1 = unsafeCast(value_center_0) - thisSerializer.writeNumber(value_center_0_1) + const preview_1 = unsafeCast(preview) + thisSerializer.writeDragItemInfo(preview_1) } - else if (RuntimeType.OBJECT == value_center_0_type) { + else if (RuntimeType.STRING == preview_type) { thisSerializer.writeInt8(2) - const value_center_0_2 = unsafeCast(value_center_0) - thisSerializer.writeResource(value_center_0_2) - } - const value_center_1 = value_center[1] - let value_center_1_type: int32 = RuntimeType.UNDEFINED - value_center_1_type = runtimeType(value_center_1) - if (RuntimeType.STRING == value_center_1_type) { - thisSerializer.writeInt8(0) - const value_center_1_0 = unsafeCast(value_center_1) - thisSerializer.writeString(value_center_1_0) - } - else if (RuntimeType.NUMBER == value_center_1_type) { - thisSerializer.writeInt8(1) - const value_center_1_1 = unsafeCast(value_center_1) - thisSerializer.writeNumber(value_center_1_1) + const preview_2 = unsafeCast(preview) + thisSerializer.writeString(preview_2) } - else if (RuntimeType.OBJECT == value_center_1_type) { - thisSerializer.writeInt8(2) - const value_center_1_2 = unsafeCast(value_center_1) - thisSerializer.writeResource(value_center_1_2) + let config_type: int32 = RuntimeType.UNDEFINED + config_type = runtimeType(config) + thisSerializer.writeInt8(config_type) + if ((RuntimeType.UNDEFINED) != (config_type)) { + const config_value = config! + thisSerializer.writePreviewConfiguration(config_value) } - const value_radius = value.radius - let value_radius_type: int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - if (RuntimeType.NUMBER == value_radius_type) { - thisSerializer.writeInt8(0) - const value_radius_0 = unsafeCast(value_radius) - thisSerializer.writeNumber(value_radius_0) + ArkUIGeneratedNativeModule._CommonMethod_dragPreview1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onPreDragAttribute(value: ((parameter: PreDragStatus) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onPreDrag(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + linearGradient0Attribute(value: LinearGradientOptions): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeLinearGradientOptions(value) + ArkUIGeneratedNativeModule._CommonMethod_linearGradient0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + linearGradient1Attribute(value: LinearGradientOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeLinearGradientOptions(value_value) } - else if (RuntimeType.STRING == value_radius_type) { - thisSerializer.writeInt8(1) - const value_radius_1 = unsafeCast(value_radius) - thisSerializer.writeString(value_radius_1) - } - const value_colors = value.colors - thisSerializer.writeInt32(value_colors.length) - for (let i = 0; i < value_colors.length; i++) { - const value_colors_element: [ ResourceColor, number ] = value_colors[i] - const value_colors_element_0 = value_colors_element[0] - let value_colors_element_0_type: int32 = RuntimeType.UNDEFINED - value_colors_element_0_type = runtimeType(value_colors_element_0) - if (((RuntimeType.NUMBER) == (value_colors_element_0_type)) && ((unsafeCast(value_colors_element_0)) >= (0)) && ((unsafeCast(value_colors_element_0)) <= (11))) { - thisSerializer.writeInt8(0) - const value_colors_element_0_0 = unsafeCast(value_colors_element_0) - thisSerializer.writeInt32(value_colors_element_0_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_colors_element_0_type) { - thisSerializer.writeInt8(1) - const value_colors_element_0_1 = unsafeCast(value_colors_element_0) - thisSerializer.writeNumber(value_colors_element_0_1) - } - else if (RuntimeType.STRING == value_colors_element_0_type) { - thisSerializer.writeInt8(2) - const value_colors_element_0_2 = unsafeCast(value_colors_element_0) - thisSerializer.writeString(value_colors_element_0_2) - } - else if (RuntimeType.OBJECT == value_colors_element_0_type) { - thisSerializer.writeInt8(3) - const value_colors_element_0_3 = unsafeCast(value_colors_element_0) - thisSerializer.writeResource(value_colors_element_0_3) - } - const value_colors_element_1 = value_colors_element[1] - thisSerializer.writeNumber(value_colors_element_1) + ArkUIGeneratedNativeModule._CommonMethod_linearGradient1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + sweepGradient0Attribute(value: SweepGradientOptions): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeSweepGradientOptions(value) + ArkUIGeneratedNativeModule._CommonMethod_sweepGradient0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + sweepGradient1Attribute(value: SweepGradientOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeSweepGradientOptions(value_value) } - const value_repeating = value.repeating - let value_repeating_type: int32 = RuntimeType.UNDEFINED - value_repeating_type = runtimeType(value_repeating) - thisSerializer.writeInt8(value_repeating_type) - if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { - const value_repeating_value = value_repeating! - thisSerializer.writeBoolean(value_repeating_value) + ArkUIGeneratedNativeModule._CommonMethod_sweepGradient1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + radialGradient0Attribute(value: RadialGradientOptions): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeRadialGradientOptions(value) + ArkUIGeneratedNativeModule._CommonMethod_radialGradient0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + radialGradient1Attribute(value: RadialGradientOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeRadialGradientOptions(value_value) } - ArkUIGeneratedNativeModule._CommonMethod_radialGradient(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_radialGradient1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } motionPathAttribute(value: MotionPathOptions): void { @@ -2544,7 +2270,7 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_motionPath(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - shadowAttribute(value: ShadowOptions | ShadowStyle): void { + shadow0Attribute(value: ShadowOptions | ShadowStyle): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -2558,7 +2284,30 @@ export class ArkCommonMethodPeer extends PeerNode { const value_1 = unsafeCast(value) thisSerializer.writeInt32(value_1.valueOf()) } - ArkUIGeneratedNativeModule._CommonMethod_shadow(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_shadow0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + shadow1Attribute(value: ShadowOptions | ShadowStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeShadowOptions(value_value_0) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_1.valueOf()) + } + } + ArkUIGeneratedNativeModule._CommonMethod_shadow1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } clip0Attribute(value: boolean | undefined): void { @@ -2585,7 +2334,19 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_clip1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - clipShapeAttribute(value: CircleShape | EllipseShape | PathShape | RectShape): void { + clip2Attribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_clip2(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + clipShape0Attribute(value: CircleShape | EllipseShape | PathShape | RectShape): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -2609,7 +2370,40 @@ export class ArkCommonMethodPeer extends PeerNode { const value_3 = unsafeCast(value) thisSerializer.writeRectShape(value_3) } - ArkUIGeneratedNativeModule._CommonMethod_clipShape(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_clipShape0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + clipShape1Attribute(value: CircleShape | EllipseShape | PathShape | RectShape | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.OBJECT) == (value_value_type)) && (value_value instanceof CircleShape)) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeCircleShape(value_value_0) + } + else if (((RuntimeType.OBJECT) == (value_value_type)) && (value_value instanceof EllipseShape)) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeEllipseShape(value_value_1) + } + else if (((RuntimeType.OBJECT) == (value_value_type)) && (value_value instanceof PathShape)) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writePathShape(value_value_2) + } + else if (((RuntimeType.OBJECT) == (value_value_type)) && (value_value instanceof RectShape)) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeRectShape(value_value_3) + } + } + ArkUIGeneratedNativeModule._CommonMethod_clipShape1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } mask0Attribute(value: ProgressMask | undefined): void { @@ -2636,7 +2430,19 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_mask1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - maskShapeAttribute(value: CircleShape | EllipseShape | PathShape | RectShape): void { + mask2Attribute(value: ProgressMask | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeProgressMask(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_mask2(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maskShape0Attribute(value: CircleShape | EllipseShape | PathShape | RectShape): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -2660,7 +2466,40 @@ export class ArkCommonMethodPeer extends PeerNode { const value_3 = unsafeCast(value) thisSerializer.writeRectShape(value_3) } - ArkUIGeneratedNativeModule._CommonMethod_maskShape(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_maskShape0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maskShape1Attribute(value: CircleShape | EllipseShape | PathShape | RectShape | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.OBJECT) == (value_value_type)) && (value_value instanceof CircleShape)) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeCircleShape(value_value_0) + } + else if (((RuntimeType.OBJECT) == (value_value_type)) && (value_value instanceof EllipseShape)) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeEllipseShape(value_value_1) + } + else if (((RuntimeType.OBJECT) == (value_value_type)) && (value_value instanceof PathShape)) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writePathShape(value_value_2) + } + else if (((RuntimeType.OBJECT) == (value_value_type)) && (value_value instanceof RectShape)) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeRectShape(value_value_3) + } + } + ArkUIGeneratedNativeModule._CommonMethod_maskShape1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } keyAttribute(value: string): void { @@ -2693,16 +2532,52 @@ export class ArkCommonMethodPeer extends PeerNode { restoreIdAttribute(value: number): void { ArkUIGeneratedNativeModule._CommonMethod_restoreId(this.peer.ptr, value) } - sphericalEffectAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_sphericalEffect(this.peer.ptr, value) + sphericalEffect0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_sphericalEffect0(this.peer.ptr, value) + } + sphericalEffect1Attribute(value: number | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_sphericalEffect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + lightUpEffect0Attribute(value: number): void { + ArkUIGeneratedNativeModule._CommonMethod_lightUpEffect0(this.peer.ptr, value) } - lightUpEffectAttribute(value: number): void { - ArkUIGeneratedNativeModule._CommonMethod_lightUpEffect(this.peer.ptr, value) + lightUpEffect1Attribute(value: number | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_lightUpEffect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - pixelStretchEffectAttribute(value: PixelStretchEffectOptions): void { + pixelStretchEffect0Attribute(value: PixelStretchEffectOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writePixelStretchEffectOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_pixelStretchEffect(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_pixelStretchEffect0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + pixelStretchEffect1Attribute(value: PixelStretchEffectOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePixelStretchEffectOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_pixelStretchEffect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } accessibilityGroup0Attribute(value: boolean): void { @@ -2723,6 +2598,27 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_accessibilityText1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + accessibilityNextFocusIdAttribute(value: string): void { + ArkUIGeneratedNativeModule._CommonMethod_accessibilityNextFocusId(this.peer.ptr, value) + } + accessibilityDefaultFocusAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_accessibilityDefaultFocus(this.peer.ptr, +value) + } + accessibilityUseSamePageAttribute(value: AccessibilitySamePageMode): void { + ArkUIGeneratedNativeModule._CommonMethod_accessibilityUseSamePage(this.peer.ptr, value.valueOf()) + } + accessibilityScrollTriggerableAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._CommonMethod_accessibilityScrollTriggerable(this.peer.ptr, +value) + } + accessibilityRoleAttribute(value: AccessibilityRoleType): void { + ArkUIGeneratedNativeModule._CommonMethod_accessibilityRole(this.peer.ptr, value.valueOf()) + } + onAccessibilityFocusAttribute(value: AccessibilityFocusCallback): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._CommonMethod_onAccessibilityFocus(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } accessibilityTextHintAttribute(value: string): void { ArkUIGeneratedNativeModule._CommonMethod_accessibilityTextHint(this.peer.ptr, value) } @@ -2763,16 +2659,46 @@ export class ArkCommonMethodPeer extends PeerNode { reuseIdAttribute(value: string): void { ArkUIGeneratedNativeModule._CommonMethod_reuseId(this.peer.ptr, value) } - renderFitAttribute(value: RenderFit): void { - ArkUIGeneratedNativeModule._CommonMethod_renderFit(this.peer.ptr, value.valueOf()) + reuseAttribute(value: ReuseOptions): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeReuseOptions(value) + ArkUIGeneratedNativeModule._CommonMethod_reuse(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + renderFit0Attribute(value: RenderFit): void { + ArkUIGeneratedNativeModule._CommonMethod_renderFit0(this.peer.ptr, value.valueOf()) + } + renderFit1Attribute(value: RenderFit | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._CommonMethod_renderFit1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } gestureModifierAttribute(value: GestureModifier): void { ArkUIGeneratedNativeModule._CommonMethod_gestureModifier(this.peer.ptr, toPeerPtr(value)) } - backgroundBrightnessAttribute(value: BackgroundBrightnessOptions): void { + backgroundBrightness0Attribute(value: BackgroundBrightnessOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeBackgroundBrightnessOptions(value) - ArkUIGeneratedNativeModule._CommonMethod_backgroundBrightness(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_backgroundBrightness0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backgroundBrightness1Attribute(value: BackgroundBrightnessOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBackgroundBrightnessOptions(value_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backgroundBrightness1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onGestureJudgeBeginAttribute(value: ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult)): void { @@ -2814,6 +2740,9 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onSizeChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + accessibilityFocusDrawLevelAttribute(value: FocusDrawLevel): void { + ArkUIGeneratedNativeModule._CommonMethod_accessibilityFocusDrawLevel(this.peer.ptr, value.valueOf()) + } customPropertyAttribute(name: string, value: Object | undefined): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED @@ -2873,7 +2802,42 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_background(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - backgroundImageAttribute(src: ResourceStr | PixelMap, repeat?: ImageRepeat): void { + backgroundImage0Attribute(src: ResourceStr | PixelMap, repeat?: ImageRepeat): void { + const thisSerializer: Serializer = Serializer.hold() + let src_type: int32 = RuntimeType.UNDEFINED + src_type = runtimeType(src) + if ((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) { + thisSerializer.writeInt8(0) + const src_0 = unsafeCast(src) + let src_0_type: int32 = RuntimeType.UNDEFINED + src_0_type = runtimeType(src_0) + if (RuntimeType.STRING == src_0_type) { + thisSerializer.writeInt8(0) + const src_0_0 = unsafeCast(src_0) + thisSerializer.writeString(src_0_0) + } + else if (RuntimeType.OBJECT == src_0_type) { + thisSerializer.writeInt8(1) + const src_0_1 = unsafeCast(src_0) + thisSerializer.writeResource(src_0_1) + } + } + else if (((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("isEditable")))) { + thisSerializer.writeInt8(1) + const src_1 = unsafeCast(src) + thisSerializer.writePixelMap(src_1) + } + let repeat_type: int32 = RuntimeType.UNDEFINED + repeat_type = runtimeType(repeat) + thisSerializer.writeInt8(repeat_type) + if ((RuntimeType.UNDEFINED) != (repeat_type)) { + const repeat_value = repeat! + thisSerializer.writeInt32(repeat_value.valueOf()) + } + ArkUIGeneratedNativeModule._CommonMethod_backgroundImage0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backgroundImage1Attribute(src: ResourceStr | PixelMap, options?: BackgroundImageOptions): void { const thisSerializer: Serializer = Serializer.hold() let src_type: int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) @@ -2898,18 +2862,37 @@ export class ArkCommonMethodPeer extends PeerNode { const src_1 = unsafeCast(src) thisSerializer.writePixelMap(src_1) } - let repeat_type: int32 = RuntimeType.UNDEFINED - repeat_type = runtimeType(repeat) - thisSerializer.writeInt8(repeat_type) - if ((RuntimeType.UNDEFINED) != (repeat_type)) { - const repeat_value = repeat! - thisSerializer.writeInt32(repeat_value.valueOf()) + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeBackgroundImageOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backgroundImage1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backgroundBlurStyle0Attribute(value: BlurStyle, options?: BackgroundBlurStyleOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeBackgroundBlurStyleOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_backgroundImage(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_backgroundBlurStyle0(this.peer.ptr, value.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - backgroundBlurStyleAttribute(value: BlurStyle, options?: BackgroundBlurStyleOptions): void { + backgroundBlurStyle1Attribute(style: BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): void { const thisSerializer: Serializer = Serializer.hold() + let style_type: int32 = RuntimeType.UNDEFINED + style_type = runtimeType(style) + thisSerializer.writeInt8(style_type) + if ((RuntimeType.UNDEFINED) != (style_type)) { + const style_value = style! + thisSerializer.writeInt32(style_value.valueOf()) + } let options_type: int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) thisSerializer.writeInt8(options_type) @@ -2917,11 +2900,37 @@ export class ArkCommonMethodPeer extends PeerNode { const options_value = options! thisSerializer.writeBackgroundBlurStyleOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_backgroundBlurStyle(this.peer.ptr, value.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) + let sysOptions_type: int32 = RuntimeType.UNDEFINED + sysOptions_type = runtimeType(sysOptions) + thisSerializer.writeInt8(sysOptions_type) + if ((RuntimeType.UNDEFINED) != (sysOptions_type)) { + const sysOptions_value = sysOptions! + thisSerializer.writeSystemAdaptiveOptions(sysOptions_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backgroundBlurStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + foregroundBlurStyle0Attribute(value: BlurStyle, options?: ForegroundBlurStyleOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeForegroundBlurStyleOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_foregroundBlurStyle0(this.peer.ptr, value.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - foregroundBlurStyleAttribute(value: BlurStyle, options?: ForegroundBlurStyleOptions): void { + foregroundBlurStyle1Attribute(style: BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): void { const thisSerializer: Serializer = Serializer.hold() + let style_type: int32 = RuntimeType.UNDEFINED + style_type = runtimeType(style) + thisSerializer.writeInt8(style_type) + if ((RuntimeType.UNDEFINED) != (style_type)) { + const style_value = style! + thisSerializer.writeInt32(style_value.valueOf()) + } let options_type: int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) thisSerializer.writeInt8(options_type) @@ -2929,7 +2938,14 @@ export class ArkCommonMethodPeer extends PeerNode { const options_value = options! thisSerializer.writeForegroundBlurStyleOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_foregroundBlurStyle(this.peer.ptr, value.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) + let sysOptions_type: int32 = RuntimeType.UNDEFINED + sysOptions_type = runtimeType(sysOptions) + thisSerializer.writeInt8(sysOptions_type) + if ((RuntimeType.UNDEFINED) != (sysOptions_type)) { + const sysOptions_value = sysOptions! + thisSerializer.writeSystemAdaptiveOptions(sysOptions_value) + } + ArkUIGeneratedNativeModule._CommonMethod_foregroundBlurStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } focusScopeId0Attribute(id: string, isGroup?: boolean): void { @@ -3122,8 +3138,27 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_parallelGesture(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - blurAttribute(value: number, options?: BlurOptions): void { + blur0Attribute(value: number, options?: BlurOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeBlurOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_blur0(this.peer.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + blur1Attribute(blurRadius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): void { const thisSerializer: Serializer = Serializer.hold() + let blurRadius_type: int32 = RuntimeType.UNDEFINED + blurRadius_type = runtimeType(blurRadius) + thisSerializer.writeInt8(blurRadius_type) + if ((RuntimeType.UNDEFINED) != (blurRadius_type)) { + const blurRadius_value = blurRadius! + thisSerializer.writeNumber(blurRadius_value) + } let options_type: int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) thisSerializer.writeInt8(options_type) @@ -3131,20 +3166,65 @@ export class ArkCommonMethodPeer extends PeerNode { const options_value = options! thisSerializer.writeBlurOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_blur(this.peer.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + let sysOptions_type: int32 = RuntimeType.UNDEFINED + sysOptions_type = runtimeType(sysOptions) + thisSerializer.writeInt8(sysOptions_type) + if ((RuntimeType.UNDEFINED) != (sysOptions_type)) { + const sysOptions_value = sysOptions! + thisSerializer.writeSystemAdaptiveOptions(sysOptions_value) + } + ArkUIGeneratedNativeModule._CommonMethod_blur1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - linearGradientBlurAttribute(value: number, options: LinearGradientBlurOptions): void { + linearGradientBlur0Attribute(value: number, options: LinearGradientBlurOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeLinearGradientBlurOptions(options) - ArkUIGeneratedNativeModule._CommonMethod_linearGradientBlur(this.peer.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_linearGradientBlur0(this.peer.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + linearGradientBlur1Attribute(blurRadius: number | undefined, options: LinearGradientBlurOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let blurRadius_type: int32 = RuntimeType.UNDEFINED + blurRadius_type = runtimeType(blurRadius) + thisSerializer.writeInt8(blurRadius_type) + if ((RuntimeType.UNDEFINED) != (blurRadius_type)) { + const blurRadius_value = blurRadius! + thisSerializer.writeNumber(blurRadius_value) + } + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeLinearGradientBlurOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_linearGradientBlur1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } systemBarEffectAttribute(): void { ArkUIGeneratedNativeModule._CommonMethod_systemBarEffect(this.peer.ptr) } - backdropBlurAttribute(value: number, options?: BlurOptions): void { + backdropBlur0Attribute(value: number, options?: BlurOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeBlurOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backdropBlur0(this.peer.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backdropBlur1Attribute(radius: number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): void { const thisSerializer: Serializer = Serializer.hold() + let radius_type: int32 = RuntimeType.UNDEFINED + radius_type = runtimeType(radius) + thisSerializer.writeInt8(radius_type) + if ((RuntimeType.UNDEFINED) != (radius_type)) { + const radius_value = radius! + thisSerializer.writeNumber(radius_value) + } let options_type: int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) thisSerializer.writeInt8(options_type) @@ -3152,7 +3232,14 @@ export class ArkCommonMethodPeer extends PeerNode { const options_value = options! thisSerializer.writeBlurOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_backdropBlur(this.peer.ptr, value, thisSerializer.asBuffer(), thisSerializer.length()) + let sysOptions_type: int32 = RuntimeType.UNDEFINED + sysOptions_type = runtimeType(sysOptions) + thisSerializer.writeInt8(sysOptions_type) + if ((RuntimeType.UNDEFINED) != (sysOptions_type)) { + const sysOptions_value = sysOptions! + thisSerializer.writeSystemAdaptiveOptions(sysOptions_value) + } + ArkUIGeneratedNativeModule._CommonMethod_backdropBlur1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } sharedTransitionAttribute(id: string, options?: sharedTransitionOptions): void { @@ -3212,8 +3299,27 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_overlay(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - blendModeAttribute(value: BlendMode, type?: BlendApplyType): void { + blendMode0Attribute(value: BlendMode, type?: BlendApplyType): void { + const thisSerializer: Serializer = Serializer.hold() + let type_type: int32 = RuntimeType.UNDEFINED + type_type = runtimeType(type) + thisSerializer.writeInt8(type_type) + if ((RuntimeType.UNDEFINED) != (type_type)) { + const type_value = type! + thisSerializer.writeInt32(type_value.valueOf()) + } + ArkUIGeneratedNativeModule._CommonMethod_blendMode0(this.peer.ptr, value.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + blendMode1Attribute(mode: BlendMode | undefined, type?: BlendApplyType): void { const thisSerializer: Serializer = Serializer.hold() + let mode_type: int32 = RuntimeType.UNDEFINED + mode_type = runtimeType(mode) + thisSerializer.writeInt8(mode_type) + if ((RuntimeType.UNDEFINED) != (mode_type)) { + const mode_value = mode! + thisSerializer.writeInt32(mode_value.valueOf()) + } let type_type: int32 = RuntimeType.UNDEFINED type_type = runtimeType(type) thisSerializer.writeInt8(type_type) @@ -3221,7 +3327,7 @@ export class ArkCommonMethodPeer extends PeerNode { const type_value = type! thisSerializer.writeInt32(type_value.valueOf()) } - ArkUIGeneratedNativeModule._CommonMethod_blendMode(this.peer.ptr, value.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_blendMode1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } advancedBlendModeAttribute(effect: BlendMode | BrightnessBlender, type?: BlendApplyType): void { @@ -3248,6 +3354,41 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_advancedBlendMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + bindTipsAttribute(message: TipsMessageType, options?: TipsOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let message_type: int32 = RuntimeType.UNDEFINED + message_type = runtimeType(message) + if ((RuntimeType.STRING == message_type) || (RuntimeType.OBJECT == message_type)) { + thisSerializer.writeInt8(0) + const message_0 = unsafeCast(message) + let message_0_type: int32 = RuntimeType.UNDEFINED + message_0_type = runtimeType(message_0) + if (RuntimeType.STRING == message_0_type) { + thisSerializer.writeInt8(0) + const message_0_0 = unsafeCast(message_0) + thisSerializer.writeString(message_0_0) + } + else if (RuntimeType.OBJECT == message_0_type) { + thisSerializer.writeInt8(1) + const message_0_1 = unsafeCast(message_0) + thisSerializer.writeResource(message_0_1) + } + } + else if (((RuntimeType.OBJECT) == (message_type)) && (message instanceof StyledString)) { + thisSerializer.writeInt8(1) + const message_1 = unsafeCast(message) + thisSerializer.writeStyledString(message_1) + } + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeTipsOptions(options_value) + } + ArkUIGeneratedNativeModule._CommonMethod_bindTips(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } bindPopupAttribute(show: boolean, popup: PopupOptions | CustomPopupOptions): void { const thisSerializer: Serializer = Serializer.hold() let popup_type: int32 = RuntimeType.UNDEFINED @@ -3347,15 +3488,8 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_bindContextMenu1(this.peer.ptr, +isShown, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - bindContentCover0Attribute(isShow: boolean | undefined, builder: CustomBuilder, type?: ModalTransition): void { + bindContentCover0Attribute(isShow: boolean, builder: CustomBuilder, type?: ModalTransition): void { const thisSerializer: Serializer = Serializer.hold() - let isShow_type: int32 = RuntimeType.UNDEFINED - isShow_type = runtimeType(isShow) - thisSerializer.writeInt8(isShow_type) - if ((RuntimeType.UNDEFINED) != (isShow_type)) { - const isShow_value = isShow! - thisSerializer.writeBoolean(isShow_value) - } thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(builder)) let type_type: int32 = RuntimeType.UNDEFINED type_type = runtimeType(type) @@ -3364,18 +3498,11 @@ export class ArkCommonMethodPeer extends PeerNode { const type_value = type! thisSerializer.writeInt32(type_value.valueOf()) } - ArkUIGeneratedNativeModule._CommonMethod_bindContentCover0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_bindContentCover0(this.peer.ptr, +isShow, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - bindContentCover1Attribute(isShow: boolean | undefined, builder: CustomBuilder, options?: ContentCoverOptions): void { + bindContentCover1Attribute(isShow: boolean, builder: CustomBuilder, options?: ContentCoverOptions): void { const thisSerializer: Serializer = Serializer.hold() - let isShow_type: int32 = RuntimeType.UNDEFINED - isShow_type = runtimeType(isShow) - thisSerializer.writeInt8(isShow_type) - if ((RuntimeType.UNDEFINED) != (isShow_type)) { - const isShow_value = isShow! - thisSerializer.writeBoolean(isShow_value) - } thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(builder)) let options_type: int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) @@ -3384,18 +3511,11 @@ export class ArkCommonMethodPeer extends PeerNode { const options_value = options! thisSerializer.writeContentCoverOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_bindContentCover1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_bindContentCover1(this.peer.ptr, +isShow, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - bindSheetAttribute(isShow: boolean | undefined, builder: CustomBuilder, options?: SheetOptions): void { + bindSheetAttribute(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): void { const thisSerializer: Serializer = Serializer.hold() - let isShow_type: int32 = RuntimeType.UNDEFINED - isShow_type = runtimeType(isShow) - thisSerializer.writeInt8(isShow_type) - if ((RuntimeType.UNDEFINED) != (isShow_type)) { - const isShow_value = isShow! - thisSerializer.writeBoolean(isShow_value) - } thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(builder)) let options_type: int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) @@ -3404,7 +3524,7 @@ export class ArkCommonMethodPeer extends PeerNode { const options_value = options! thisSerializer.writeSheetOptions(options_value) } - ArkUIGeneratedNativeModule._CommonMethod_bindSheet(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._CommonMethod_bindSheet(this.peer.ptr, +isShow, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onVisibleAreaChangeAttribute(ratios: Array, event: VisibleAreaChangeCallback): void { @@ -3418,6 +3538,19 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onVisibleAreaChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onVisibleAreaApproximateChangeAttribute(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeVisibleAreaEventOptions(options) + let event_type: int32 = RuntimeType.UNDEFINED + event_type = runtimeType(event) + thisSerializer.writeInt8(event_type) + if ((RuntimeType.UNDEFINED) != (event_type)) { + const event_value = event! + thisSerializer.holdAndWriteCallback(event_value) + } + ArkUIGeneratedNativeModule._CommonMethod_onVisibleAreaApproximateChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } keyboardShortcutAttribute(value: string | FunctionKey, keys: Array, action?: (() => void)): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED @@ -3793,6 +3926,21 @@ export class ArkScrollableCommonMethodPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ScrollableCommonMethod_clipContent(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + digitalCrownSensitivityAttribute(value: CrownSensitivity | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._ScrollableCommonMethod_digitalCrownSensitivity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backToTopAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._ScrollableCommonMethod_backToTop(this.peer.ptr, +value) + } edgeEffectAttribute(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): void { const thisSerializer: Serializer = Serializer.hold() let options_type: int32 = RuntimeType.UNDEFINED @@ -3842,6 +3990,10 @@ export interface ProvideOptions { } export interface AnimatableArithmetic { } +export type ReuseIdCallback = () => string; +export interface ReuseOptions { + reuseId?: ReuseIdCallback; +} export interface Configuration { readonly colorMode: string; readonly fontScale: number; @@ -3857,6 +4009,138 @@ export interface ExpectedFrameRateRange { max: number; expected: number; } +export enum AccessibilitySamePageMode { + SEMI_SILENT, + FULL_SILENT = 1, +} +export enum AccessibilityRoleType { + ACTION_SHEET, + ALERT_DIALOG = 1, + INDEXER_COMPONENT = 2, + BADGE_COMPONENT = 3, + BLANK = 4, + BUTTON = 5, + BACK_BUTTON = 6, + SHEET_DRAG_BAR = 7, + CALENDAR_PICKER = 8, + CALENDAR = 9, + CANVAS = 10, + CANVAS_GRADIENT = 11, + CANVAS_PATTERN = 12, + CHECKBOX = 13, + CHECKBOX_GROUP = 14, + CIRCLE = 15, + COLUMN_SPLIT = 16, + COLUMN = 17, + CANVAS_RENDERING_CONTEXT_2D = 18, + CHART = 19, + COUNTER = 20, + CONTAINER_MODAL = 21, + DATA_PANEL = 22, + DATE_PICKER = 23, + DIALOG = 24, + DIVIDER = 25, + DRAG_BAR = 26, + EFFECT_COMPONENT = 27, + ELLIPSE = 28, + FLEX = 29, + FLOW_ITEM = 30, + FORM_COMPONENT = 31, + FORM_LINK = 32, + GAUGE = 33, + GRID = 34, + GRID_COL = 35, + GRID_CONTAINER = 36, + GRID_ITEM = 37, + GRID_ROW = 38, + HYPERLINK = 39, + IMAGE = 40, + IMAGE_ANIMATOR = 41, + IMAGE_BITMAP = 42, + IMAGE_DATA = 43, + IMAGE_SPAN = 44, + LABEL = 45, + LINE = 46, + LIST = 47, + LIST_ITEM = 48, + LIST_ITEM_GROUP = 49, + LOADING_PROGRESS = 50, + MARQUEE = 51, + MATRIX2D = 52, + MENU = 53, + MENU_ITEM = 54, + MENU_ITEM_GROUP = 55, + NAV_DESTINATION = 56, + NAV_ROUTER = 57, + NAVIGATION = 58, + NAVIGATION_BAR = 59, + NAVIGATION_MENU = 60, + NAVIGATOR = 61, + OFFSCREEN_CANVAS = 62, + OFFSCREEN_CANVAS_RENDERING_CONTEXT2D = 63, + OPTION = 64, + PANEL = 65, + PAPER_PAGE = 66, + PATH = 67, + PATH2D = 68, + PATTERN_LOCK = 69, + PICKER = 70, + PICKER_VIEW = 71, + PLUGIN_COMPONENT = 72, + POLYGON = 73, + POLYLINE = 74, + POPUP = 75, + PROGRESS = 76, + QRCODE = 77, + RADIO = 78, + RATING = 79, + RECT = 80, + REFRESH = 81, + RELATIVE_CONTAINER = 82, + REMOTE_WINDOW = 83, + RICH_EDITOR = 84, + RICH_TEXT = 85, + ROLE_PAGER = 86, + ROW = 87, + ROW_SPLIT = 88, + SCROLL = 89, + SCROLL_BAR = 90, + SEARCH = 91, + SEARCH_FIELD = 92, + SELECT = 93, + SHAPE = 94, + SIDEBAR_CONTAINER = 95, + SLIDER = 96, + SPAN = 97, + STACK = 98, + STEPPER = 99, + STEPPER_ITEM = 100, + SWIPER = 101, + SWIPER_INDICATOR = 102, + SWITCH = 103, + SYMBOL_GLYPH = 104, + TAB_CONTENT = 105, + TAB_BAR = 106, + TABS = 107, + TEXT = 108, + TEXT_CLOCK = 109, + TEXT_ENTRY = 110, + TEXT_INPUT = 111, + TEXT_PICKER = 112, + TEXT_TIMER = 113, + TEXT_AREA = 114, + TEXT_FIELD = 115, + TIME_PICKER = 116, + TITLE_BAR = 117, + TOGGLER = 118, + UI_EXTENSION_COMPONENT = 119, + VIDEO = 120, + WATER_FLOW = 121, + WEB = 122, + XCOMPONENT = 123, + ROLE_NONE = 124, +} +export type AccessibilityFocusCallback = (isFocus: boolean) => void; export enum FinishCallbackType { REMOVED, LOGICALLY = 1, @@ -3895,6 +4179,34 @@ export interface GeometryTransitionOptions { follow?: boolean; hierarchyStrategy?: TransitionHierarchyStrategy; } +export type Tuple_ResourceColor_Number = [ + ResourceColor, + number +] +export interface LinearGradientOptions { + angle?: number | string; + direction?: GradientDirection; + colors: Array<[ ResourceColor, number ]>; + repeating?: boolean; +} +export type Tuple_Length_Length = [ + Length, + Length +] +export interface SweepGradientOptions { + center: [ Length, Length ]; + start?: number | string; + end?: number | string; + rotation?: number | string; + colors: Array<[ ResourceColor, number ]>; + repeating?: boolean; +} +export interface RadialGradientOptions { + center: [ Length, Length ]; + radius: Length; + colors: Array<[ ResourceColor, number ]>; + repeating?: boolean; +} export enum TransitionHierarchyStrategy { NONE, ADAPTIVE = 1, @@ -4014,6 +4326,7 @@ export enum PreDragStatus { PREVIEW_LANDING_STARTED = 4, PREVIEW_LANDING_FINISHED = 5, ACTION_CANCELED_BEFORE_DRAG = 6, + PREPARING_FOR_DRAG_DETECTION = 7, } export interface DragItemInfo { pixelMap?: PixelMap; @@ -4022,6 +4335,7 @@ export interface DragItemInfo { } export interface EventTarget { area: Area; + id?: string; } export enum SourceType { UNKNOWN, @@ -4098,6 +4412,9 @@ export interface ForegroundBlurStyleOptions extends BlurStyleOptions { export interface BlurOptions { grayscale: [ number, number ]; } +export interface SystemAdaptiveOptions { + disableSystemAdaptation?: boolean; +} export interface BlurStyleOptions { colorMode?: ThemeColorMode; adaptiveColor?: AdaptiveColor; @@ -4190,6 +4507,8 @@ export interface BorderImageOption { outset?: Length | EdgeWidths | LocalizedEdgeWidths; fill?: boolean; } +export interface LayoutPolicy { +} export interface TouchObject { type: TouchType; id: number; @@ -4201,6 +4520,11 @@ export interface TouchObject { screenY: number; x: number; y: number; + hand?: InteractionHand; + pressedTime?: number; + pressure?: number; + width?: number; + height?: number; } export interface HistoricalPoint { touchObject: TouchObject; @@ -4216,6 +4540,9 @@ export enum DragBehavior { COPY, MOVE = 1, } +export interface DataSyncOptions { + _DataSyncOptionsStub: string; +} export enum DragResult { DRAG_SUCCESSFUL, DRAG_FAILED = 1, @@ -4227,6 +4554,17 @@ export enum BlendApplyType { FAST, OFFSCREEN = 1, } +export type OnDragEventCallback = (event: DragEvent, extraParams?: string) => void; +export interface DropOptions { + disableDataPrefetch?: boolean; +} +export interface CrownEvent { + timestamp: number; + angularVelocity: number; + degree: number; + action: CrownAction; + stopPropagation: (() => void); +} export interface BindOptions { backgroundColor?: ResourceColor; onAppear?: (() => void); @@ -4312,6 +4650,15 @@ export interface SheetOptions extends BindOptions { onTypeDidChange?: ((parameter: SheetType) => void); uiContext?: UIContext; keyboardAvoidMode?: SheetKeyboardAvoidMode; + enableHoverMode?: boolean; + hoverModeArea?: HoverModeAreaType; + offset?: Position; + effectEdge?: number; + radius?: LengthMetrics | BorderRadiuses | LocalizedBorderRadiuses; + detentSelection?: SheetSize | Length; + showInSubWindow?: boolean; + placement?: Placement; + placementOnTarget?: boolean; } export interface StateStyles { normal?: any; @@ -4335,6 +4682,48 @@ export interface DismissPopupAction { dismiss: (() => void); reason: DismissReason; } +export interface PopupStateChangeParam { + isVisible: boolean; +} +export type PopupStateChangeCallback = (event: PopupStateChangeParam) => void; +export interface PopupMaskType { + color: ResourceColor; +} +export type Callback_DismissPopupAction_Void = (parameter: DismissPopupAction) => void; +export interface PopupCommonOptions { + placement?: Placement; + popupColor?: ResourceColor; + enableArrow?: boolean; + autoCancel?: boolean; + onStateChange?: PopupStateChangeCallback; + arrowOffset?: Length; + showInSubWindow?: boolean; + mask?: boolean | PopupMaskType; + targetSpace?: Length; + offset?: Position; + width?: Dimension; + arrowPointPosition?: ArrowPointPosition; + arrowWidth?: Dimension; + arrowHeight?: Dimension; + radius?: Dimension; + shadow?: ShadowOptions | ShadowStyle; + backgroundBlurStyle?: BlurStyle; + focusable?: boolean; + transition?: TransitionEffect; + onWillDismiss?: boolean | ((parameter: DismissPopupAction) => void); + enableHoverMode?: boolean; + followTransformOfTarget?: boolean; +} +export interface TipsOptions { + appearingTime?: number; + disappearingTime?: number; + appearingTimeWithContinuousOperation?: number; + disappearingTimeWithContinuousOperation?: number; + enableArrow?: boolean; + arrowPointPosition?: ArrowPointPosition; + arrowWidth?: Dimension; + arrowHeight?: Dimension; +} export interface Literal_String_value_Callback_Void_action { value: string; action: (() => void); @@ -4346,7 +4735,6 @@ export type Callback_Literal_Boolean_isVisible_Void = (event: { isVisible: boole export interface Literal_ResourceColor_color { color: ResourceColor; } -export type Callback_DismissPopupAction_Void = (parameter: DismissPopupAction) => void; export interface PopupOptions { message: string; placementOnTop?: boolean; @@ -4374,6 +4762,7 @@ export interface PopupOptions { onWillDismiss?: boolean | ((parameter: DismissPopupAction) => void); enableHoverMode?: boolean; followTransformOfTarget?: boolean; + keyboardAvoidMode?: KeyboardAvoidMode; } export interface CustomPopupOptions { builder: CustomBuilder; @@ -4400,6 +4789,7 @@ export interface CustomPopupOptions { onWillDismiss?: boolean | ((parameter: DismissPopupAction) => void); enableHoverMode?: boolean; followTransformOfTarget?: boolean; + keyboardAvoidMode?: KeyboardAvoidMode; } export enum MenuPreviewMode { NONE, @@ -4414,12 +4804,19 @@ export interface ContextMenuAnimationOptions { transition?: TransitionEffect; hoverScale?: [ number, number ]; } +export type BorderRadiusType = Length | BorderRadiuses | LocalizedBorderRadiuses; +export enum HapticFeedbackMode { + DISABLED, + ENABLED = 1, + AUTO = 2, +} export interface ContextMenuOptions { offset?: Position; placement?: Placement; enableArrow?: boolean; arrowOffset?: Length; preview?: MenuPreviewMode | CustomBuilder; + previewBorderRadius?: BorderRadiusType; borderRadius?: Length | BorderRadiuses | LocalizedBorderRadiuses; onAppear?: (() => void); onDisappear?: (() => void); @@ -4429,8 +4826,13 @@ export interface ContextMenuOptions { previewAnimationOptions?: ContextMenuAnimationOptions; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; transition?: TransitionEffect; enableHoverMode?: boolean; + outlineColor?: ResourceColor | EdgeColors; + outlineWidth?: Dimension | EdgeOutlineWidths; + hapticFeedbackMode?: HapticFeedbackMode; } export interface MenuOptions extends ContextMenuOptions { title?: ResourceStr; @@ -4484,6 +4886,14 @@ export enum DragPreviewMode { DISABLE_SCALE = 2, ENABLE_DEFAULT_SHADOW = 3, ENABLE_DEFAULT_RADIUS = 4, + ENABLE_DRAG_ITEM_GRAY_EFFECT = 5, + ENABLE_MULTI_TILE_EFFECT = 6, + ENABLE_TOUCH_POINT_CALCULATION_BASED_ON_FINAL_PREVIEW = 7, +} +export enum DraggingSizeChangeEffect { + DEFAULT, + SIZE_TRANSITION = 1, + SIZE_CONTENT_TRANSITION = 2, } export enum MenuPolicy { DEFAULT, @@ -4494,10 +4904,18 @@ export interface DragPreviewOptions { mode?: DragPreviewMode | Array; modifier?: ImageModifier; numberBadge?: boolean | number; + sizeChangeEffect?: DraggingSizeChangeEffect; } export interface DragInteractionOptions { isMultiSelectionEnabled?: boolean; defaultAnimationBeforeLifting?: boolean; + enableEdgeAutoScroll?: boolean; + enableHapticFeedback?: boolean; + isLiftingDisabled?: boolean; +} +export interface PreviewConfiguration { + onlyForLifting?: boolean; + delayCreating?: boolean; } export interface InvertOptions { low: number; @@ -4505,13 +4923,22 @@ export interface InvertOptions { threshold: number; thresholdRange: number; } +export type TipsMessageType = ResourceStr | StyledString; +export interface BackgroundImageOptions { + syncLoad?: boolean; + repeat?: ImageRepeat; +} export type Callback_Array_TouchTestInfo_TouchResult = (value: Array) => TouchResult; export type Callback_ClickEvent_Void = (event: ClickEvent) => void; export type Callback_Boolean_HoverEvent_Void = (isHover: boolean, event: HoverEvent) => void; +export type Callback_HoverEvent_Void = (parameter: HoverEvent) => void; export type Callback_MouseEvent_Void = (event: MouseEvent) => void; export type Callback_TouchEvent_Void = (event: TouchEvent) => void; export type Callback_KeyEvent_Void = (event: KeyEvent) => void; export type Callback_KeyEvent_Boolean = (parameter: KeyEvent) => boolean; +export type Callback_CrownEvent_Void = (parameter: CrownEvent) => void; +export type Callback_FocusAxisEvent_Void = (parameter: FocusAxisEvent) => void; +export type Callback_AxisEvent_Void = (parameter: AxisEvent) => void; export type Callback_Area_Area_Void = (oldValue: Area, newValue: Area) => void; export interface Literal_Number_offset_span { span: number; @@ -4526,42 +4953,14 @@ export interface Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs { export type Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo = (event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo; export type Callback_DragEvent_String_Void = (event: DragEvent, extraParams?: string) => void; export type Callback_PreDragStatus_Void = (parameter: PreDragStatus) => void; -export type Tuple_ResourceColor_Number = [ - ResourceColor, - number -] -export interface Type_CommonMethod_linearGradient_value { - angle?: number | string; - direction?: GradientDirection; - colors: Array<[ ResourceColor, number ]>; - repeating?: boolean; -} -export type Tuple_Length_Length = [ - Length, - Length -] -export interface Type_CommonMethod_sweepGradient_value { - center: [ Length, Length ]; - start?: number | string; - end?: number | string; - rotation?: number | string; - colors: Array<[ ResourceColor, number ]>; - repeating?: boolean; -} -export interface Type_CommonMethod_radialGradient_value { - center: [ Length, Length ]; - radius: number | string; - colors: Array<[ ResourceColor, number ]>; - repeating?: boolean; -} export type Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult = (gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult; export type Callback_TouchEvent_HitTestMode = (parameter: TouchEvent) => HitTestMode; export interface Literal_Alignment_align { align?: Alignment; } export interface CommonMethod { - width(value: Length): this - height(value: Length): this + width(value: Length | Length | LayoutPolicy): this + height(value: Length | Length | LayoutPolicy): this drawModifier(value: DrawModifier | undefined): this responseRegion(value: Array | Rectangle): this mouseResponseRegion(value: Array | Rectangle): this @@ -4575,39 +4974,46 @@ export interface CommonMethod { padding(value: Padding | Length | LocalizedPadding): this safeAreaPadding(value: Padding | LengthMetrics | LocalizedPadding): this margin(value: Padding | Length | LocalizedPadding): this - backgroundColor(value: ResourceColor): this + backgroundColor(value: ResourceColor | ResourceColor | undefined): this pixelRound(value: PixelRoundPolicy): this backgroundImageSize(value: SizeOptions | ImageSize): this backgroundImagePosition(value: Position | Alignment): this - backgroundEffect(value: BackgroundEffectOptions): this + backgroundEffect(options: BackgroundEffectOptions | BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): this backgroundImageResizable(value: ResizableOptions): this foregroundEffect(value: ForegroundEffectOptions): this visualEffect(value: VisualEffect): this backgroundFilter(value: Filter): this foregroundFilter(value: Filter): this compositingFilter(value: Filter): this - opacity(value: number | Resource): this + opacity(value: number | Resource | number | Resource | undefined): this border(value: BorderOptions): this borderStyle(value: BorderStyle | EdgeStyles): this borderWidth(value: Length | EdgeWidths | LocalizedEdgeWidths): this borderColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): this borderRadius(value: Length | BorderRadiuses | LocalizedBorderRadiuses): this borderImage(value: BorderImageOption): this - outline(value: OutlineOptions): this - outlineStyle(value: OutlineStyle | EdgeOutlineStyles): this - outlineWidth(value: Dimension | EdgeOutlineWidths): this - outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): this - outlineRadius(value: Dimension | OutlineRadiuses): this - foregroundColor(value: ResourceColor | ColoringStrategy): this + outline(value: OutlineOptions | OutlineOptions | undefined): this + outlineStyle(value: OutlineStyle | EdgeOutlineStyles | OutlineStyle | EdgeOutlineStyles | undefined): this + outlineWidth(value: Dimension | EdgeOutlineWidths | Dimension | EdgeOutlineWidths | undefined): this + outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this + outlineRadius(value: Dimension | OutlineRadiuses | Dimension | OutlineRadiuses | undefined): this + foregroundColor(value: ResourceColor | ColoringStrategy | ResourceColor | ColoringStrategy | undefined): this onClick(event: ((event: ClickEvent) => void), distanceThreshold?: number): this onHover(value: ((isHover: boolean, event: HoverEvent) => void)): this + onHoverMove(value: ((parameter: HoverEvent) => void)): this onAccessibilityHover(value: AccessibilityCallback): this hoverEffect(value: HoverEffect): this onMouse(value: ((event: MouseEvent) => void)): this onTouch(value: ((event: TouchEvent) => void)): this - onKeyEvent(value: ((event: KeyEvent) => void)): this + onKeyEvent(value: ((event: KeyEvent) => void) | ((parameter: KeyEvent) => boolean)): this + onDigitalCrown(value: ((parameter: CrownEvent) => void) | undefined): this onKeyPreIme(value: ((parameter: KeyEvent) => boolean)): this + onKeyEventDispatch(value: ((parameter: KeyEvent) => boolean)): this + onFocusAxisEvent(value: ((parameter: FocusAxisEvent) => void)): this + onAxisEvent(value: ((parameter: AxisEvent) => void)): this focusable(value: boolean): this + nextFocus(value: FocusMovement | undefined): this + tabStop(value: boolean): this onFocus(value: (() => void)): this onBlur(value: (() => void)): this tabIndex(value: number): this @@ -4617,25 +5023,25 @@ export interface CommonMethod { focusBox(value: FocusBoxStyle): this animation(value: AnimateParam): this transition(effect: TransitionOptions | TransitionEffect | TransitionEffect, onFinish?: TransitionFinishCallback): this - motionBlur(value: MotionBlurOptions): this - brightness(value: number): this - contrast(value: number): this - grayscale(value: number): this - colorBlend(value: Color | string | Resource): this - saturate(value: number): this - sepia(value: number): this - invert(value: number | InvertOptions): this - hueRotate(value: number | string): this - useShadowBatching(value: boolean): this - useEffect(useEffect: boolean, effectType?: EffectType): this - renderGroup(value: boolean): this - freeze(value: boolean): this - translate(value: TranslateOptions): this - scale(value: ScaleOptions): this + motionBlur(value: MotionBlurOptions | MotionBlurOptions | undefined): this + brightness(value: number | number | undefined): this + contrast(value: number | number | undefined): this + grayscale(value: number | number | undefined): this + colorBlend(value: Color | string | Resource | Color | string | Resource | undefined): this + saturate(value: number | number | undefined): this + sepia(value: number | number | undefined): this + invert(value: number | InvertOptions | number | InvertOptions | undefined): this + hueRotate(value: number | string | number | string | undefined): this + useShadowBatching(value: boolean | boolean | undefined): this + useEffect(useEffect: boolean | boolean | undefined, effectType?: EffectType): this + renderGroup(value: boolean | boolean | undefined): this + freeze(value: boolean | boolean | undefined): this + translate(value: TranslateOptions | TranslateOptions | undefined): this + scale(value: ScaleOptions | ScaleOptions | undefined): this gridSpan(value: number): this gridOffset(value: number): this - rotate(value: RotateOptions): this - transform(value: TransformationMatrix): this + rotate(value: RotateOptions | RotateOptions | undefined): this + transform(value: TransformationMatrix | Object | undefined): this onAppear(value: (() => void)): this onDisAppear(value: (() => void)): this onAttach(value: (() => void)): this @@ -4662,31 +5068,37 @@ export interface CommonMethod { onDragEnter(value: ((event: DragEvent, extraParams?: string) => void)): this onDragMove(value: ((event: DragEvent, extraParams?: string) => void)): this onDragLeave(value: ((event: DragEvent, extraParams?: string) => void)): this - onDrop(value: ((event: DragEvent, extraParams?: string) => void)): this + onDrop(eventCallback: ((event: DragEvent, extraParams?: string) => void) | OnDragEventCallback, dropOptions?: DropOptions): this onDragEnd(value: ((event: DragEvent, extraParams?: string) => void)): this allowDrop(value: Array | undefined): this draggable(value: boolean): this - dragPreview(value: CustomBuilder | DragItemInfo | string): this + dragPreview(preview: CustomBuilder | DragItemInfo | string, config?: PreviewConfiguration): this onPreDrag(value: ((parameter: PreDragStatus) => void)): this - linearGradient(value: { angle?: number | string, direction?: GradientDirection, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): this - sweepGradient(value: { center: [ Length, Length ], start?: number | string, end?: number | string, rotation?: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): this - radialGradient(value: { center: [ Length, Length ], radius: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): this + linearGradient(value: LinearGradientOptions | LinearGradientOptions | undefined): this + sweepGradient(value: SweepGradientOptions | SweepGradientOptions | undefined): this + radialGradient(value: RadialGradientOptions | RadialGradientOptions | undefined): this motionPath(value: MotionPathOptions): this - shadow(value: ShadowOptions | ShadowStyle): this + shadow(value: ShadowOptions | ShadowStyle | ShadowOptions | ShadowStyle | undefined): this clip(value: boolean | undefined): this - clipShape(value: CircleShape | EllipseShape | PathShape | RectShape): this + clipShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this mask(value: ProgressMask | undefined): this - maskShape(value: CircleShape | EllipseShape | PathShape | RectShape): this + maskShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this key(value: string): this id(value: string): this geometryTransition(id: string, options?: GeometryTransitionOptions): this stateStyles(value: StateStyles): this restoreId(value: number): this - sphericalEffect(value: number): this - lightUpEffect(value: number): this - pixelStretchEffect(value: PixelStretchEffectOptions): this + sphericalEffect(value: number | number | undefined): this + lightUpEffect(value: number | number | undefined): this + pixelStretchEffect(value: PixelStretchEffectOptions | PixelStretchEffectOptions | undefined): this accessibilityGroup(isGroup: boolean, accessibilityOptions?: AccessibilityOptions): this accessibilityText(value: string | Resource): this + accessibilityNextFocusId(value: string): this + accessibilityDefaultFocus(value: boolean): this + accessibilityUseSamePage(value: AccessibilitySamePageMode): this + accessibilityScrollTriggerable(value: boolean): this + accessibilityRole(value: AccessibilityRoleType): this + onAccessibilityFocus(value: AccessibilityFocusCallback): this accessibilityTextHint(value: string): this accessibilityDescription(value: string | Resource): this accessibilityLevel(value: string): this @@ -4695,50 +5107,54 @@ export interface CommonMethod { accessibilitySelected(value: boolean): this obscured(value: Array): this reuseId(value: string): this - renderFit(value: RenderFit): this + reuse(value: ReuseOptions): this + renderFit(value: RenderFit | RenderFit | undefined): this gestureModifier(value: GestureModifier): this - backgroundBrightness(value: BackgroundBrightnessOptions): this + backgroundBrightness(value: BackgroundBrightnessOptions | BackgroundBrightnessOptions | undefined): this onGestureJudgeBegin(value: ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult)): this onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback, exposeInnerGesture?: boolean): this shouldBuiltInRecognizerParallelWith(value: ShouldBuiltInRecognizerParallelWithCallback): this monopolizeEvents(value: boolean): this onTouchIntercept(value: ((parameter: TouchEvent) => HitTestMode)): this onSizeChange(value: SizeChangeCallback): this + accessibilityFocusDrawLevel(value: FocusDrawLevel): this customProperty(name: string, value: Object | undefined): this expandSafeArea(types?: Array, edges?: Array): this background(builder: CustomBuilder, options?: { align?: Alignment }): this - backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat): this - backgroundBlurStyle(value: BlurStyle, options?: BackgroundBlurStyleOptions): this - foregroundBlurStyle(value: BlurStyle, options?: ForegroundBlurStyleOptions): this + backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat | BackgroundImageOptions): this + backgroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this + foregroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this focusScopeId(id: string, isGroup?: boolean, arrowStepOut?: boolean): this focusScopePriority(scopeId: string, priority?: FocusPriority): this gesture(gesture: GestureType, mask?: GestureMask): this priorityGesture(gesture: GestureType, mask?: GestureMask): this parallelGesture(gesture: GestureType, mask?: GestureMask): this - blur(value: number, options?: BlurOptions): this - linearGradientBlur(value: number, options: LinearGradientBlurOptions): this + blur(blurRadius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this + linearGradientBlur(value: number | number | undefined, options: LinearGradientBlurOptions | LinearGradientBlurOptions | undefined): this systemBarEffect(): this - backdropBlur(value: number, options?: BlurOptions): this + backdropBlur(radius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this sharedTransition(id: string, options?: sharedTransitionOptions): this chainMode(direction: Axis, style: ChainStyle): this dragPreviewOptions(value: DragPreviewOptions, options?: DragInteractionOptions): this overlay(value: string | CustomBuilder | ComponentContent, options?: OverlayOptions): this - blendMode(value: BlendMode, type?: BlendApplyType): this + blendMode(value: BlendMode | BlendMode | undefined, type?: BlendApplyType): this advancedBlendMode(effect: BlendMode | BrightnessBlender, type?: BlendApplyType): this + bindTips(message: TipsMessageType, options?: TipsOptions): this bindPopup(show: boolean, popup: PopupOptions | CustomPopupOptions): this bindMenu(isShow: Array | CustomBuilder | boolean, content?: MenuOptions | Array | CustomBuilder, options?: MenuOptions): this bindContextMenu(content: CustomBuilder | boolean, responseType: ResponseType | CustomBuilder, options?: ContextMenuOptions): this - bindContentCover(isShow: boolean | undefined, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this - bindSheet(isShow: boolean | undefined, builder: CustomBuilder, options?: SheetOptions): this + bindContentCover(isShow: boolean, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this + bindSheet(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): this onVisibleAreaChange(ratios: Array, event: VisibleAreaChangeCallback): this + onVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void keyboardShortcut(value: string | FunctionKey, keys: Array, action?: (() => void)): this attributeModifier(value: AttributeModifier | undefined): this } export interface UICommonMethod extends UICommonBase { /** @memo */ - width(value: Length): this + width(value: Length | Length | LayoutPolicy): this /** @memo */ - height(value: Length): this + height(value: Length | Length | LayoutPolicy): this /** @memo */ drawModifier(value: DrawModifier | undefined): this /** @memo */ @@ -4766,7 +5182,7 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ margin(value: Padding | Length | LocalizedPadding): this /** @memo */ - backgroundColor(value: ResourceColor): this + backgroundColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ pixelRound(value: PixelRoundPolicy): this /** @memo */ @@ -4774,7 +5190,7 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ backgroundImagePosition(value: Position | Alignment): this /** @memo */ - backgroundEffect(value: BackgroundEffectOptions): this + backgroundEffect(options: BackgroundEffectOptions | BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): this /** @memo */ backgroundImageResizable(value: ResizableOptions): this /** @memo */ @@ -4788,7 +5204,7 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ compositingFilter(value: Filter): this /** @memo */ - opacity(value: number | Resource): this + opacity(value: number | Resource | number | Resource | undefined): this /** @memo */ border(value: BorderOptions): this /** @memo */ @@ -4802,22 +5218,24 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ borderImage(value: BorderImageOption): this /** @memo */ - outline(value: OutlineOptions): this + outline(value: OutlineOptions | OutlineOptions | undefined): this /** @memo */ - outlineStyle(value: OutlineStyle | EdgeOutlineStyles): this + outlineStyle(value: OutlineStyle | EdgeOutlineStyles | OutlineStyle | EdgeOutlineStyles | undefined): this /** @memo */ - outlineWidth(value: Dimension | EdgeOutlineWidths): this + outlineWidth(value: Dimension | EdgeOutlineWidths | Dimension | EdgeOutlineWidths | undefined): this /** @memo */ - outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): this + outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this /** @memo */ - outlineRadius(value: Dimension | OutlineRadiuses): this + outlineRadius(value: Dimension | OutlineRadiuses | Dimension | OutlineRadiuses | undefined): this /** @memo */ - foregroundColor(value: ResourceColor | ColoringStrategy): this + foregroundColor(value: ResourceColor | ColoringStrategy | ResourceColor | ColoringStrategy | undefined): this /** @memo */ onClick(event: ((event: ClickEvent) => void), distanceThreshold?: number): this /** @memo */ onHover(value: ((isHover: boolean, event: HoverEvent) => void)): this /** @memo */ + onHoverMove(value: ((parameter: HoverEvent) => void)): this + /** @memo */ onAccessibilityHover(value: AccessibilityCallback): this /** @memo */ hoverEffect(value: HoverEffect): this @@ -4826,12 +5244,24 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ onTouch(value: ((event: TouchEvent) => void)): this /** @memo */ - onKeyEvent(value: ((event: KeyEvent) => void)): this + onKeyEvent(value: ((event: KeyEvent) => void) | ((parameter: KeyEvent) => boolean)): this + /** @memo */ + onDigitalCrown(value: ((parameter: CrownEvent) => void) | undefined): this /** @memo */ onKeyPreIme(value: ((parameter: KeyEvent) => boolean)): this /** @memo */ + onKeyEventDispatch(value: ((parameter: KeyEvent) => boolean)): this + /** @memo */ + onFocusAxisEvent(value: ((parameter: FocusAxisEvent) => void)): this + /** @memo */ + onAxisEvent(value: ((parameter: AxisEvent) => void)): this + /** @memo */ focusable(value: boolean): this /** @memo */ + nextFocus(value: FocusMovement | undefined): this + /** @memo */ + tabStop(value: boolean): this + /** @memo */ onFocus(value: (() => void)): this /** @memo */ onBlur(value: (() => void)): this @@ -4850,43 +5280,43 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ transition(effect: TransitionOptions | TransitionEffect | TransitionEffect, onFinish?: TransitionFinishCallback): this /** @memo */ - motionBlur(value: MotionBlurOptions): this + motionBlur(value: MotionBlurOptions | MotionBlurOptions | undefined): this /** @memo */ - brightness(value: number): this + brightness(value: number | number | undefined): this /** @memo */ - contrast(value: number): this + contrast(value: number | number | undefined): this /** @memo */ - grayscale(value: number): this + grayscale(value: number | number | undefined): this /** @memo */ - colorBlend(value: Color | string | Resource): this + colorBlend(value: Color | string | Resource | Color | string | Resource | undefined): this /** @memo */ - saturate(value: number): this + saturate(value: number | number | undefined): this /** @memo */ - sepia(value: number): this + sepia(value: number | number | undefined): this /** @memo */ - invert(value: number | InvertOptions): this + invert(value: number | InvertOptions | number | InvertOptions | undefined): this /** @memo */ - hueRotate(value: number | string): this + hueRotate(value: number | string | number | string | undefined): this /** @memo */ - useShadowBatching(value: boolean): this + useShadowBatching(value: boolean | boolean | undefined): this /** @memo */ - useEffect(useEffect: boolean, effectType?: EffectType): this + useEffect(useEffect: boolean | boolean | undefined, effectType?: EffectType): this /** @memo */ - renderGroup(value: boolean): this + renderGroup(value: boolean | boolean | undefined): this /** @memo */ - freeze(value: boolean): this + freeze(value: boolean | boolean | undefined): this /** @memo */ - translate(value: TranslateOptions): this + translate(value: TranslateOptions | TranslateOptions | undefined): this /** @memo */ - scale(value: ScaleOptions): this + scale(value: ScaleOptions | ScaleOptions | undefined): this /** @memo */ gridSpan(value: number): this /** @memo */ gridOffset(value: number): this /** @memo */ - rotate(value: RotateOptions): this + rotate(value: RotateOptions | RotateOptions | undefined): this /** @memo */ - transform(value: TransformationMatrix): this + transform(value: TransformationMatrix | Object | undefined): this /** @memo */ onAppear(value: (() => void)): this /** @memo */ @@ -4940,7 +5370,7 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ onDragLeave(value: ((event: DragEvent, extraParams?: string) => void)): this /** @memo */ - onDrop(value: ((event: DragEvent, extraParams?: string) => void)): this + onDrop(eventCallback: ((event: DragEvent, extraParams?: string) => void) | OnDragEventCallback, dropOptions?: DropOptions): this /** @memo */ onDragEnd(value: ((event: DragEvent, extraParams?: string) => void)): this /** @memo */ @@ -4948,27 +5378,27 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ draggable(value: boolean): this /** @memo */ - dragPreview(value: CustomBuilder | DragItemInfo | string): this + dragPreview(preview: CustomBuilder | DragItemInfo | string, config?: PreviewConfiguration): this /** @memo */ onPreDrag(value: ((parameter: PreDragStatus) => void)): this /** @memo */ - linearGradient(value: { angle?: number | string, direction?: GradientDirection, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): this + linearGradient(value: LinearGradientOptions | LinearGradientOptions | undefined): this /** @memo */ - sweepGradient(value: { center: [ Length, Length ], start?: number | string, end?: number | string, rotation?: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): this + sweepGradient(value: SweepGradientOptions | SweepGradientOptions | undefined): this /** @memo */ - radialGradient(value: { center: [ Length, Length ], radius: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): this + radialGradient(value: RadialGradientOptions | RadialGradientOptions | undefined): this /** @memo */ motionPath(value: MotionPathOptions): this /** @memo */ - shadow(value: ShadowOptions | ShadowStyle): this + shadow(value: ShadowOptions | ShadowStyle | ShadowOptions | ShadowStyle | undefined): this /** @memo */ clip(value: boolean | undefined): this /** @memo */ - clipShape(value: CircleShape | EllipseShape | PathShape | RectShape): this + clipShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this /** @memo */ mask(value: ProgressMask | undefined): this /** @memo */ - maskShape(value: CircleShape | EllipseShape | PathShape | RectShape): this + maskShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this /** @memo */ key(value: string): this /** @memo */ @@ -4980,16 +5410,28 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ restoreId(value: number): this /** @memo */ - sphericalEffect(value: number): this + sphericalEffect(value: number | number | undefined): this /** @memo */ - lightUpEffect(value: number): this + lightUpEffect(value: number | number | undefined): this /** @memo */ - pixelStretchEffect(value: PixelStretchEffectOptions): this + pixelStretchEffect(value: PixelStretchEffectOptions | PixelStretchEffectOptions | undefined): this /** @memo */ accessibilityGroup(isGroup: boolean, accessibilityOptions?: AccessibilityOptions): this /** @memo */ accessibilityText(value: string | Resource): this /** @memo */ + accessibilityNextFocusId(value: string): this + /** @memo */ + accessibilityDefaultFocus(value: boolean): this + /** @memo */ + accessibilityUseSamePage(value: AccessibilitySamePageMode): this + /** @memo */ + accessibilityScrollTriggerable(value: boolean): this + /** @memo */ + accessibilityRole(value: AccessibilityRoleType): this + /** @memo */ + onAccessibilityFocus(value: AccessibilityFocusCallback): this + /** @memo */ accessibilityTextHint(value: string): this /** @memo */ accessibilityDescription(value: string | Resource): this @@ -5006,11 +5448,13 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ reuseId(value: string): this /** @memo */ - renderFit(value: RenderFit): this + reuse(value: ReuseOptions): this + /** @memo */ + renderFit(value: RenderFit | RenderFit | undefined): this /** @memo */ gestureModifier(value: GestureModifier): this /** @memo */ - backgroundBrightness(value: BackgroundBrightnessOptions): this + backgroundBrightness(value: BackgroundBrightnessOptions | BackgroundBrightnessOptions | undefined): this /** @memo */ onGestureJudgeBegin(value: ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult)): this /** @memo */ @@ -5024,17 +5468,19 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ onSizeChange(value: SizeChangeCallback): this /** @memo */ + accessibilityFocusDrawLevel(value: FocusDrawLevel): this + /** @memo */ customProperty(name: string, value: Object | undefined): this /** @memo */ expandSafeArea(types?: Array, edges?: Array): this /** @memo */ background(builder: CustomBuilder, options?: { align?: Alignment }): this /** @memo */ - backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat): this + backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat | BackgroundImageOptions): this /** @memo */ - backgroundBlurStyle(value: BlurStyle, options?: BackgroundBlurStyleOptions): this + backgroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this /** @memo */ - foregroundBlurStyle(value: BlurStyle, options?: ForegroundBlurStyleOptions): this + foregroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this /** @memo */ focusScopeId(id: string, isGroup?: boolean, arrowStepOut?: boolean): this /** @memo */ @@ -5046,13 +5492,13 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ parallelGesture(gesture: GestureType, mask?: GestureMask): this /** @memo */ - blur(value: number, options?: BlurOptions): this + blur(blurRadius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this /** @memo */ - linearGradientBlur(value: number, options: LinearGradientBlurOptions): this + linearGradientBlur(value: number | number | undefined, options: LinearGradientBlurOptions | LinearGradientBlurOptions | undefined): this /** @memo */ systemBarEffect(): this /** @memo */ - backdropBlur(value: number, options?: BlurOptions): this + backdropBlur(radius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this /** @memo */ sharedTransition(id: string, options?: sharedTransitionOptions): this /** @memo */ @@ -5062,22 +5508,26 @@ export interface UICommonMethod extends UICommonBase { /** @memo */ overlay(value: string | CustomBuilder | ComponentContent, options?: OverlayOptions): this /** @memo */ - blendMode(value: BlendMode, type?: BlendApplyType): this + blendMode(value: BlendMode | BlendMode | undefined, type?: BlendApplyType): this /** @memo */ advancedBlendMode(effect: BlendMode | BrightnessBlender, type?: BlendApplyType): this /** @memo */ + bindTips(message: TipsMessageType, options?: TipsOptions): this + /** @memo */ bindPopup(show: boolean, popup: PopupOptions | CustomPopupOptions): this /** @memo */ bindMenu(isShow: Array | CustomBuilder | boolean, content?: MenuOptions | Array | CustomBuilder, options?: MenuOptions): this /** @memo */ bindContextMenu(content: CustomBuilder | boolean, responseType: ResponseType | CustomBuilder, options?: ContextMenuOptions): this /** @memo */ - bindContentCover(isShow: boolean | undefined, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this + bindContentCover(isShow: boolean, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this /** @memo */ - bindSheet(isShow: boolean | undefined, builder: CustomBuilder, options?: SheetOptions): this + bindSheet(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): this /** @memo */ onVisibleAreaChange(ratios: Array, event: VisibleAreaChangeCallback): this /** @memo */ + onVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void + /** @memo */ keyboardShortcut(value: string | FunctionKey, keys: Array, action?: (() => void)): this /** @memo */ attributeModifier(value: AttributeModifier | undefined): this @@ -5124,13 +5574,20 @@ export class ArkCommonMethodStyle implements CommonMethod { foregroundColor_value?: ResourceColor | ColoringStrategy onClick_value?: ((event: ClickEvent) => void) onHover_value?: ((isHover: boolean, event: HoverEvent) => void) + onHoverMove_value?: ((parameter: HoverEvent) => void) onAccessibilityHover_value?: AccessibilityCallback hoverEffect_value?: HoverEffect onMouse_value?: ((event: MouseEvent) => void) onTouch_value?: ((event: TouchEvent) => void) onKeyEvent_value?: ((event: KeyEvent) => void) + onDigitalCrown_value?: ((parameter: CrownEvent) => void) | undefined onKeyPreIme_value?: ((parameter: KeyEvent) => boolean) + onKeyEventDispatch_value?: ((parameter: KeyEvent) => boolean) + onFocusAxisEvent_value?: ((parameter: FocusAxisEvent) => void) + onAxisEvent_value?: ((parameter: AxisEvent) => void) focusable_value?: boolean + nextFocus_value?: FocusMovement | undefined + tabStop_value?: boolean onFocus_value?: (() => void) onBlur_value?: (() => void) tabIndex_value?: number @@ -5191,9 +5648,9 @@ export class ArkCommonMethodStyle implements CommonMethod { draggable_value?: boolean dragPreview_value?: CustomBuilder | DragItemInfo | string onPreDrag_value?: ((parameter: PreDragStatus) => void) - linearGradient_value?: { angle?: number | string, direction?: GradientDirection, colors: Array<[ ResourceColor, number ]>, repeating?: boolean } - sweepGradient_value?: { center: [ Length, Length ], start?: number | string, end?: number | string, rotation?: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean } - radialGradient_value?: { center: [ Length, Length ], radius: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean } + linearGradient_value?: LinearGradientOptions + sweepGradient_value?: SweepGradientOptions + radialGradient_value?: RadialGradientOptions motionPath_value?: MotionPathOptions shadow_value?: ShadowOptions | ShadowStyle clip_value?: boolean | undefined @@ -5210,6 +5667,12 @@ export class ArkCommonMethodStyle implements CommonMethod { pixelStretchEffect_value?: PixelStretchEffectOptions accessibilityGroup_value?: boolean accessibilityText_value?: string + accessibilityNextFocusId_value?: string + accessibilityDefaultFocus_value?: boolean + accessibilityUseSamePage_value?: AccessibilitySamePageMode + accessibilityScrollTriggerable_value?: boolean + accessibilityRole_value?: AccessibilityRoleType + onAccessibilityFocus_value?: AccessibilityFocusCallback accessibilityTextHint_value?: string accessibilityDescription_value?: string accessibilityLevel_value?: string @@ -5218,6 +5681,7 @@ export class ArkCommonMethodStyle implements CommonMethod { accessibilitySelected_value?: boolean obscured_value?: Array reuseId_value?: string + reuse_value?: ReuseOptions renderFit_value?: RenderFit gestureModifier_value?: GestureModifier backgroundBrightness_value?: BackgroundBrightnessOptions @@ -5227,10 +5691,11 @@ export class ArkCommonMethodStyle implements CommonMethod { monopolizeEvents_value?: boolean onTouchIntercept_value?: ((parameter: TouchEvent) => HitTestMode) onSizeChange_value?: SizeChangeCallback - public width(value: Length): this { + accessibilityFocusDrawLevel_value?: FocusDrawLevel + public width(value: Length | Length | LayoutPolicy): this { return this } - public height(value: Length): this { + public height(value: Length | Length | LayoutPolicy): this { return this } public drawModifier(value: DrawModifier | undefined): this { @@ -5272,7 +5737,7 @@ export class ArkCommonMethodStyle implements CommonMethod { public margin(value: Padding | Length | LocalizedPadding): this { return this } - public backgroundColor(value: ResourceColor): this { + public backgroundColor(value: ResourceColor | ResourceColor | undefined): this { return this } public pixelRound(value: PixelRoundPolicy): this { @@ -5284,7 +5749,7 @@ export class ArkCommonMethodStyle implements CommonMethod { public backgroundImagePosition(value: Position | Alignment): this { return this } - public backgroundEffect(value: BackgroundEffectOptions): this { + public backgroundEffect(options: BackgroundEffectOptions | BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): this { return this } public backgroundImageResizable(value: ResizableOptions): this { @@ -5305,7 +5770,7 @@ export class ArkCommonMethodStyle implements CommonMethod { public compositingFilter(value: Filter): this { return this } - public opacity(value: number | Resource): this { + public opacity(value: number | Resource | number | Resource | undefined): this { return this } public border(value: BorderOptions): this { @@ -5326,22 +5791,22 @@ export class ArkCommonMethodStyle implements CommonMethod { public borderImage(value: BorderImageOption): this { return this } - public outline(value: OutlineOptions): this { + public outline(value: OutlineOptions | OutlineOptions | undefined): this { return this } - public outlineStyle(value: OutlineStyle | EdgeOutlineStyles): this { + public outlineStyle(value: OutlineStyle | EdgeOutlineStyles | OutlineStyle | EdgeOutlineStyles | undefined): this { return this } - public outlineWidth(value: Dimension | EdgeOutlineWidths): this { + public outlineWidth(value: Dimension | EdgeOutlineWidths | Dimension | EdgeOutlineWidths | undefined): this { return this } - public outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): this { + public outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this { return this } - public outlineRadius(value: Dimension | OutlineRadiuses): this { + public outlineRadius(value: Dimension | OutlineRadiuses | Dimension | OutlineRadiuses | undefined): this { return this } - public foregroundColor(value: ResourceColor | ColoringStrategy): this { + public foregroundColor(value: ResourceColor | ColoringStrategy | ResourceColor | ColoringStrategy | undefined): this { return this } public onClick(event: ((event: ClickEvent) => void), distanceThreshold?: number): this { @@ -5350,6 +5815,9 @@ export class ArkCommonMethodStyle implements CommonMethod { public onHover(value: ((isHover: boolean, event: HoverEvent) => void)): this { return this } + public onHoverMove(value: ((parameter: HoverEvent) => void)): this { + return this + } public onAccessibilityHover(value: AccessibilityCallback): this { return this } @@ -5362,15 +5830,33 @@ export class ArkCommonMethodStyle implements CommonMethod { public onTouch(value: ((event: TouchEvent) => void)): this { return this } - public onKeyEvent(value: ((event: KeyEvent) => void)): this { + public onKeyEvent(value: ((event: KeyEvent) => void) | ((parameter: KeyEvent) => boolean)): this { + return this + } + public onDigitalCrown(value: ((parameter: CrownEvent) => void) | undefined): this { return this } public onKeyPreIme(value: ((parameter: KeyEvent) => boolean)): this { return this } + public onKeyEventDispatch(value: ((parameter: KeyEvent) => boolean)): this { + return this + } + public onFocusAxisEvent(value: ((parameter: FocusAxisEvent) => void)): this { + return this + } + public onAxisEvent(value: ((parameter: AxisEvent) => void)): this { + return this + } public focusable(value: boolean): this { return this } + public nextFocus(value: FocusMovement | undefined): this { + return this + } + public tabStop(value: boolean): this { + return this + } public onFocus(value: (() => void)): this { return this } @@ -5398,49 +5884,49 @@ export class ArkCommonMethodStyle implements CommonMethod { public transition(effect: TransitionOptions | TransitionEffect | TransitionEffect, onFinish?: TransitionFinishCallback): this { return this } - public motionBlur(value: MotionBlurOptions): this { + public motionBlur(value: MotionBlurOptions | MotionBlurOptions | undefined): this { return this } - public brightness(value: number): this { + public brightness(value: number | number | undefined): this { return this } - public contrast(value: number): this { + public contrast(value: number | number | undefined): this { return this } - public grayscale(value: number): this { + public grayscale(value: number | number | undefined): this { return this } - public colorBlend(value: Color | string | Resource): this { + public colorBlend(value: Color | string | Resource | Color | string | Resource | undefined): this { return this } - public saturate(value: number): this { + public saturate(value: number | number | undefined): this { return this } - public sepia(value: number): this { + public sepia(value: number | number | undefined): this { return this } - public invert(value: number | InvertOptions): this { + public invert(value: number | InvertOptions | number | InvertOptions | undefined): this { return this } - public hueRotate(value: number | string): this { + public hueRotate(value: number | string | number | string | undefined): this { return this } - public useShadowBatching(value: boolean): this { + public useShadowBatching(value: boolean | boolean | undefined): this { return this } - public useEffect(useEffect: boolean, effectType?: EffectType): this { + public useEffect(useEffect: boolean | boolean | undefined, effectType?: EffectType): this { return this } - public renderGroup(value: boolean): this { + public renderGroup(value: boolean | boolean | undefined): this { return this } - public freeze(value: boolean): this { + public freeze(value: boolean | boolean | undefined): this { return this } - public translate(value: TranslateOptions): this { + public translate(value: TranslateOptions | TranslateOptions | undefined): this { return this } - public scale(value: ScaleOptions): this { + public scale(value: ScaleOptions | ScaleOptions | undefined): this { return this } public gridSpan(value: number): this { @@ -5449,10 +5935,10 @@ export class ArkCommonMethodStyle implements CommonMethod { public gridOffset(value: number): this { return this } - public rotate(value: RotateOptions): this { + public rotate(value: RotateOptions | RotateOptions | undefined): this { return this } - public transform(value: TransformationMatrix): this { + public transform(value: TransformationMatrix | Object | undefined): this { return this } public onAppear(value: (() => void)): this { @@ -5533,7 +6019,7 @@ export class ArkCommonMethodStyle implements CommonMethod { public onDragLeave(value: ((event: DragEvent, extraParams?: string) => void)): this { return this } - public onDrop(value: ((event: DragEvent, extraParams?: string) => void)): this { + public onDrop(eventCallback: ((event: DragEvent, extraParams?: string) => void) | OnDragEventCallback, dropOptions?: DropOptions): this { return this } public onDragEnd(value: ((event: DragEvent, extraParams?: string) => void)): this { @@ -5545,37 +6031,37 @@ export class ArkCommonMethodStyle implements CommonMethod { public draggable(value: boolean): this { return this } - public dragPreview(value: CustomBuilder | DragItemInfo | string): this { + public dragPreview(preview: CustomBuilder | DragItemInfo | string, config?: PreviewConfiguration): this { return this } public onPreDrag(value: ((parameter: PreDragStatus) => void)): this { return this } - public linearGradient(value: { angle?: number | string, direction?: GradientDirection, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): this { + public linearGradient(value: LinearGradientOptions | LinearGradientOptions | undefined): this { return this } - public sweepGradient(value: { center: [ Length, Length ], start?: number | string, end?: number | string, rotation?: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): this { + public sweepGradient(value: SweepGradientOptions | SweepGradientOptions | undefined): this { return this } - public radialGradient(value: { center: [ Length, Length ], radius: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): this { + public radialGradient(value: RadialGradientOptions | RadialGradientOptions | undefined): this { return this } public motionPath(value: MotionPathOptions): this { return this } - public shadow(value: ShadowOptions | ShadowStyle): this { + public shadow(value: ShadowOptions | ShadowStyle | ShadowOptions | ShadowStyle | undefined): this { return this } public clip(value: boolean | undefined): this { return this } - public clipShape(value: CircleShape | EllipseShape | PathShape | RectShape): this { + public clipShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this { return this } public mask(value: ProgressMask | undefined): this { return this } - public maskShape(value: CircleShape | EllipseShape | PathShape | RectShape): this { + public maskShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this { return this } public key(value: string): this { @@ -5593,19 +6079,37 @@ export class ArkCommonMethodStyle implements CommonMethod { public restoreId(value: number): this { return this } - public sphericalEffect(value: number): this { + public sphericalEffect(value: number | number | undefined): this { + return this + } + public lightUpEffect(value: number | number | undefined): this { + return this + } + public pixelStretchEffect(value: PixelStretchEffectOptions | PixelStretchEffectOptions | undefined): this { + return this + } + public accessibilityGroup(isGroup: boolean, accessibilityOptions?: AccessibilityOptions): this { + return this + } + public accessibilityText(value: string | Resource): this { + return this + } + public accessibilityNextFocusId(value: string): this { + return this + } + public accessibilityDefaultFocus(value: boolean): this { return this } - public lightUpEffect(value: number): this { + public accessibilityUseSamePage(value: AccessibilitySamePageMode): this { return this } - public pixelStretchEffect(value: PixelStretchEffectOptions): this { + public accessibilityScrollTriggerable(value: boolean): this { return this } - public accessibilityGroup(isGroup: boolean, accessibilityOptions?: AccessibilityOptions): this { + public accessibilityRole(value: AccessibilityRoleType): this { return this } - public accessibilityText(value: string | Resource): this { + public onAccessibilityFocus(value: AccessibilityFocusCallback): this { return this } public accessibilityTextHint(value: string): this { @@ -5632,13 +6136,16 @@ export class ArkCommonMethodStyle implements CommonMethod { public reuseId(value: string): this { return this } - public renderFit(value: RenderFit): this { + public reuse(value: ReuseOptions): this { + return this + } + public renderFit(value: RenderFit | RenderFit | undefined): this { return this } public gestureModifier(value: GestureModifier): this { return this } - public backgroundBrightness(value: BackgroundBrightnessOptions): this { + public backgroundBrightness(value: BackgroundBrightnessOptions | BackgroundBrightnessOptions | undefined): this { return this } public onGestureJudgeBegin(value: ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult)): this { @@ -5659,6 +6166,9 @@ export class ArkCommonMethodStyle implements CommonMethod { public onSizeChange(value: SizeChangeCallback): this { return this } + public accessibilityFocusDrawLevel(value: FocusDrawLevel): this { + return this + } public customProperty(name: string, value: Object | undefined): this { return this } @@ -5668,13 +6178,13 @@ export class ArkCommonMethodStyle implements CommonMethod { public background(builder: CustomBuilder, options?: { align?: Alignment }): this { return this } - public backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat): this { + public backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat | BackgroundImageOptions): this { return this } - public backgroundBlurStyle(value: BlurStyle, options?: BackgroundBlurStyleOptions): this { + public backgroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { return this } - public foregroundBlurStyle(value: BlurStyle, options?: ForegroundBlurStyleOptions): this { + public foregroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { return this } public focusScopeId(id: string, isGroup?: boolean, arrowStepOut?: boolean): this { @@ -5692,16 +6202,16 @@ export class ArkCommonMethodStyle implements CommonMethod { public parallelGesture(gesture: GestureType, mask?: GestureMask): this { return this } - public blur(value: number, options?: BlurOptions): this { + public blur(blurRadius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { return this } - public linearGradientBlur(value: number, options: LinearGradientBlurOptions): this { + public linearGradientBlur(value: number | number | undefined, options: LinearGradientBlurOptions | LinearGradientBlurOptions | undefined): this { return this } public systemBarEffect(): this { return this } - public backdropBlur(value: number, options?: BlurOptions): this { + public backdropBlur(radius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { return this } public sharedTransition(id: string, options?: sharedTransitionOptions): this { @@ -5716,12 +6226,15 @@ export class ArkCommonMethodStyle implements CommonMethod { public overlay(value: string | CustomBuilder | ComponentContent, options?: OverlayOptions): this { return this } - public blendMode(value: BlendMode, type?: BlendApplyType): this { + public blendMode(value: BlendMode | BlendMode | undefined, type?: BlendApplyType): this { return this } public advancedBlendMode(effect: BlendMode | BrightnessBlender, type?: BlendApplyType): this { return this } + public bindTips(message: TipsMessageType, options?: TipsOptions): this { + return this + } public bindPopup(show: boolean, popup: PopupOptions | CustomPopupOptions): this { return this } @@ -5731,15 +6244,18 @@ export class ArkCommonMethodStyle implements CommonMethod { public bindContextMenu(content: CustomBuilder | boolean, responseType: ResponseType | CustomBuilder, options?: ContextMenuOptions): this { return this } - public bindContentCover(isShow: boolean | undefined, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this { + public bindContentCover(isShow: boolean, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this { return this } - public bindSheet(isShow: boolean | undefined, builder: CustomBuilder, options?: SheetOptions): this { + public bindSheet(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): this { return this } public onVisibleAreaChange(ratios: Array, event: VisibleAreaChangeCallback): this { return this } + public onVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void { + throw new Error("Unimplmented") + } public keyboardShortcut(value: string | FunctionKey, keys: Array, action?: (() => void)): this { return this } @@ -5926,6 +6442,9 @@ export interface RouterPageInfo { export interface Theme { _ThemeStub: string; } +export interface PromptActionDialogController { + _PromptActionDialogControllerStub: string; +} export interface Literal_Empty { } export interface RectResult { @@ -5939,6 +6458,9 @@ export interface CaretOffset { x: number; y: number; } +export interface TextContentControllerOptions { + offset?: number; +} export enum ContentClipMode { CONTENT_ONLY, BOUNDARY = 1, @@ -5958,6 +6480,8 @@ export interface ScrollableCommonMethod extends CommonMethod { onScrollStop(value: (() => void)): this flingSpeedLimit(value: number): this clipContent(value: ContentClipMode | RectShape): this + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + backToTop(value: boolean): this edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): this fadingEdge(enabled: boolean | undefined, options?: FadingEdgeOptions): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this @@ -5990,6 +6514,10 @@ export interface UIScrollableCommonMethod extends UICommonMethod { /** @memo */ clipContent(value: ContentClipMode | RectShape): this /** @memo */ + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + /** @memo */ + backToTop(value: boolean): this + /** @memo */ edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): this /** @memo */ fadingEdge(enabled: boolean | undefined, options?: FadingEdgeOptions): this @@ -6036,6 +6564,12 @@ export class ArkScrollableCommonMethodStyle extends ArkCommonMethodStyle impleme public clipContent(value: ContentClipMode | RectShape): this { return this } + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + return this + } + public backToTop(value: boolean): this { + return this + } public edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): this { return this } @@ -6054,10 +6588,21 @@ export interface OnWillScrollCallback { } export type OnScrollCallback = (scrollOffset: number, scrollState: ScrollState) => void; export type OnMoveHandler = (from: number, to: number) => void; +export interface ItemDragEventHandler { + onLongPress?: ((index: number) => void); + onDragStart?: ((index: number) => void); + onMoveThrough?: OnMoveHandler; + onDrop?: ((index: number) => void); +} export interface DynamicNode { } export interface EdgeEffectOptions { alwaysEnabled: boolean; + effectEdge?: number; +} +export enum EffectEdge { + START = 1, + END = 2, } export interface BackgroundBrightnessOptions { rate: number; @@ -6079,6 +6624,7 @@ export interface KeyframeAnimateParam { delay?: number; iterations?: number; onFinish?: (() => void); + expectedFrameRateRange?: ExpectedFrameRateRange; } export interface KeyframeState { duration: number; @@ -6098,6 +6644,14 @@ export interface UIGestureEvent { export interface SelectionOptions { menuPolicy?: MenuPolicy; } +export interface FocusMovement { + forward?: string; + backward?: string; + up?: string; + down?: string; + left?: string; + right?: string; +} export enum KeyboardAvoidMode { DEFAULT, NONE = 1, @@ -6106,26 +6660,48 @@ export enum HoverModeAreaType { TOP_SCREEN, BOTTOM_SCREEN = 1, } +export interface DateRange { + start?: Date; + end?: Date; +} /** @memo:stable */ export class ArkCommonMethodComponent extends ComponentBase implements UICommonMethod { protected getPeer(): ArkCommonMethodPeer { return (this.peer as ArkCommonMethodPeer) } /** @memo */ - public width(value: Length): this { + public width(value: Length | Length | LayoutPolicy): this { if (this.checkPriority("width")) { - const value_casted = value as (Length) - this.getPeer()?.widthAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Length) + this.getPeer()?.width0Attribute(value_casted) + return this + } + if (((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("matchParent"))))) { + const value_casted = value as (Length | LayoutPolicy) + this.getPeer()?.width1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public height(value: Length): this { + public height(value: Length | Length | LayoutPolicy): this { if (this.checkPriority("height")) { - const value_casted = value as (Length) - this.getPeer()?.heightAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Length) + this.getPeer()?.height0Attribute(value_casted) + return this + } + if (((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("matchParent"))))) { + const value_casted = value as (Length | LayoutPolicy) + this.getPeer()?.height1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -6247,11 +6823,20 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public backgroundColor(value: ResourceColor): this { + public backgroundColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("backgroundColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.backgroundColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.backgroundColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.backgroundColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -6283,11 +6868,22 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public backgroundEffect(value: BackgroundEffectOptions): this { + public backgroundEffect(options: BackgroundEffectOptions | BackgroundEffectOptions | undefined, sysOptions?: SystemAdaptiveOptions): this { if (this.checkPriority("backgroundEffect")) { - const value_casted = value as (BackgroundEffectOptions) - this.getPeer()?.backgroundEffectAttribute(value_casted) - return this + const options_type = runtimeType(options) + const sysOptions_type = runtimeType(sysOptions) + if (((RuntimeType.OBJECT) == (options_type)) && ((options!.hasOwnProperty("radius")))) { + const value_casted = options as (BackgroundEffectOptions) + this.getPeer()?.backgroundEffect0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == options_type) || (RuntimeType.UNDEFINED == options_type)) { + const options_casted = options as (BackgroundEffectOptions | undefined) + const sysOptions_casted = sysOptions as (SystemAdaptiveOptions | undefined) + this.getPeer()?.backgroundEffect1Attribute(options_casted, sysOptions_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -6346,11 +6942,20 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public opacity(value: number | Resource): this { + public opacity(value: number | Resource | number | Resource | undefined): this { if (this.checkPriority("opacity")) { - const value_casted = value as (number | Resource) - this.getPeer()?.opacityAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (number | Resource) + this.getPeer()?.opacity0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.opacity1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -6409,56 +7014,110 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public outline(value: OutlineOptions): this { + public outline(value: OutlineOptions | OutlineOptions | undefined): this { if (this.checkPriority("outline")) { - const value_casted = value as (OutlineOptions) - this.getPeer()?.outlineAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("width")) || (value!.hasOwnProperty("color")) || (value!.hasOwnProperty("radius")) || (value!.hasOwnProperty("style"))))) { + const value_casted = value as (OutlineOptions) + this.getPeer()?.outline0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OutlineOptions | undefined) + this.getPeer()?.outline1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public outlineStyle(value: OutlineStyle | EdgeOutlineStyles): this { + public outlineStyle(value: OutlineStyle | EdgeOutlineStyles | OutlineStyle | EdgeOutlineStyles | undefined): this { if (this.checkPriority("outlineStyle")) { - const value_casted = value as (OutlineStyle | EdgeOutlineStyles) - this.getPeer()?.outlineStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (OutlineStyle | EdgeOutlineStyles) + this.getPeer()?.outlineStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OutlineStyle | EdgeOutlineStyles | undefined) + this.getPeer()?.outlineStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public outlineWidth(value: Dimension | EdgeOutlineWidths): this { + public outlineWidth(value: Dimension | EdgeOutlineWidths | Dimension | EdgeOutlineWidths | undefined): this { if (this.checkPriority("outlineWidth")) { - const value_casted = value as (Dimension | EdgeOutlineWidths) - this.getPeer()?.outlineWidthAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("top")) || (value!.hasOwnProperty("right")) || (value!.hasOwnProperty("bottom")) || (value!.hasOwnProperty("left")))))) { + const value_casted = value as (Dimension | EdgeOutlineWidths) + this.getPeer()?.outlineWidth0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Dimension | EdgeOutlineWidths | undefined) + this.getPeer()?.outlineWidth1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors): this { + public outlineColor(value: ResourceColor | EdgeColors | LocalizedEdgeColors | ResourceColor | EdgeColors | LocalizedEdgeColors | undefined): this { if (this.checkPriority("outlineColor")) { - const value_casted = value as (ResourceColor | EdgeColors | LocalizedEdgeColors) - this.getPeer()?.outlineColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("right")) || (value!.hasOwnProperty("left"))))) || (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("end")) || (value!.hasOwnProperty("start")))))) { + const value_casted = value as (ResourceColor | EdgeColors | LocalizedEdgeColors) + this.getPeer()?.outlineColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | EdgeColors | LocalizedEdgeColors | undefined) + this.getPeer()?.outlineColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public outlineRadius(value: Dimension | OutlineRadiuses): this { + public outlineRadius(value: Dimension | OutlineRadiuses | Dimension | OutlineRadiuses | undefined): this { if (this.checkPriority("outlineRadius")) { - const value_casted = value as (Dimension | OutlineRadiuses) - this.getPeer()?.outlineRadiusAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("topLeft")) || (value!.hasOwnProperty("topRight")) || (value!.hasOwnProperty("bottomLeft")) || (value!.hasOwnProperty("bottomRight")))))) { + const value_casted = value as (Dimension | OutlineRadiuses) + this.getPeer()?.outlineRadius0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Dimension | OutlineRadiuses | undefined) + this.getPeer()?.outlineRadius1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public foregroundColor(value: ResourceColor | ColoringStrategy): this { + public foregroundColor(value: ResourceColor | ColoringStrategy | ResourceColor | ColoringStrategy | undefined): this { if (this.checkPriority("foregroundColor")) { - const value_casted = value as (ResourceColor | ColoringStrategy) - this.getPeer()?.foregroundColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.STRING) == (value_type)) && ((Object.values(ColoringStrategy).indexOf((value as ColoringStrategy))) >= (0)) && ((Object.values(ColoringStrategy).indexOf((value as ColoringStrategy))) <= (2)))) { + const value_casted = value as (ResourceColor | ColoringStrategy) + this.getPeer()?.foregroundColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | ColoringStrategy | undefined) + this.getPeer()?.foregroundColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -6483,6 +7142,15 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public onHoverMove(value: ((parameter: HoverEvent) => void)): this { + if (this.checkPriority("onHoverMove")) { + const value_casted = value as (((parameter: HoverEvent) => void)) + this.getPeer()?.onHoverMoveAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onAccessibilityHover(value: AccessibilityCallback): this { if (this.checkPriority("onAccessibilityHover")) { const value_casted = value as (AccessibilityCallback) @@ -6519,10 +7187,28 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public onKeyEvent(value: ((event: KeyEvent) => void)): this { + public onKeyEvent(value: ((event: KeyEvent) => void) | ((parameter: KeyEvent) => boolean)): this { if (this.checkPriority("onKeyEvent")) { - const value_casted = value as (((event: KeyEvent) => void)) - this.getPeer()?.onKeyEventAttribute(value_casted) + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((event: KeyEvent) => void)) + this.getPeer()?.onKeyEvent0Attribute(value_casted) + return this + } + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((parameter: KeyEvent) => boolean)) + this.getPeer()?.onKeyEvent1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public onDigitalCrown(value: ((parameter: CrownEvent) => void) | undefined): this { + if (this.checkPriority("onDigitalCrown")) { + const value_casted = value as (((parameter: CrownEvent) => void) | undefined) + this.getPeer()?.onDigitalCrownAttribute(value_casted) return this } return this @@ -6537,6 +7223,33 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public onKeyEventDispatch(value: ((parameter: KeyEvent) => boolean)): this { + if (this.checkPriority("onKeyEventDispatch")) { + const value_casted = value as (((parameter: KeyEvent) => boolean)) + this.getPeer()?.onKeyEventDispatchAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onFocusAxisEvent(value: ((parameter: FocusAxisEvent) => void)): this { + if (this.checkPriority("onFocusAxisEvent")) { + const value_casted = value as (((parameter: FocusAxisEvent) => void)) + this.getPeer()?.onFocusAxisEventAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onAxisEvent(value: ((parameter: AxisEvent) => void)): this { + if (this.checkPriority("onAxisEvent")) { + const value_casted = value as (((parameter: AxisEvent) => void)) + this.getPeer()?.onAxisEventAttribute(value_casted) + return this + } + return this + } + /** @memo */ public focusable(value: boolean): this { if (this.checkPriority("focusable")) { const value_casted = value as (boolean) @@ -6546,6 +7259,24 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public nextFocus(value: FocusMovement | undefined): this { + if (this.checkPriority("nextFocus")) { + const value_casted = value as (FocusMovement | undefined) + this.getPeer()?.nextFocusAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public tabStop(value: boolean): this { + if (this.checkPriority("tabStop")) { + const value_casted = value as (boolean) + this.getPeer()?.tabStopAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onFocus(value: (() => void)): this { if (this.checkPriority("onFocus")) { const value_casted = value as ((() => void)) @@ -6638,148 +7369,280 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public motionBlur(value: MotionBlurOptions): this { + public motionBlur(value: MotionBlurOptions | MotionBlurOptions | undefined): this { if (this.checkPriority("motionBlur")) { - const value_casted = value as (MotionBlurOptions) - this.getPeer()?.motionBlurAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("radius")))) { + const value_casted = value as (MotionBlurOptions) + this.getPeer()?.motionBlur0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (MotionBlurOptions | undefined) + this.getPeer()?.motionBlur1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public brightness(value: number): this { + public brightness(value: number | number | undefined): this { if (this.checkPriority("brightness")) { - const value_casted = value as (number) - this.getPeer()?.brightnessAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.brightness0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.brightness1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public contrast(value: number): this { + public contrast(value: number | number | undefined): this { if (this.checkPriority("contrast")) { - const value_casted = value as (number) - this.getPeer()?.contrastAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.contrast0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.contrast1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public grayscale(value: number): this { + public grayscale(value: number | number | undefined): this { if (this.checkPriority("grayscale")) { - const value_casted = value as (number) - this.getPeer()?.grayscaleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.grayscale0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.grayscale1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public colorBlend(value: Color | string | Resource): this { + public colorBlend(value: Color | string | Resource | Color | string | Resource | undefined): this { if (this.checkPriority("colorBlend")) { - const value_casted = value as (Color | string | Resource) - this.getPeer()?.colorBlendAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Color | string | Resource) + this.getPeer()?.colorBlend0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Color | string | Resource | undefined) + this.getPeer()?.colorBlend1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public saturate(value: number): this { + public saturate(value: number | number | undefined): this { if (this.checkPriority("saturate")) { - const value_casted = value as (number) - this.getPeer()?.saturateAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.saturate0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.saturate1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public sepia(value: number): this { + public sepia(value: number | number | undefined): this { if (this.checkPriority("sepia")) { - const value_casted = value as (number) - this.getPeer()?.sepiaAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.sepia0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.sepia1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public invert(value: number | InvertOptions): this { + public invert(value: number | InvertOptions | number | InvertOptions | undefined): this { if (this.checkPriority("invert")) { - const value_casted = value as (number | InvertOptions) - this.getPeer()?.invertAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (number | InvertOptions) + this.getPeer()?.invert0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | InvertOptions | undefined) + this.getPeer()?.invert1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public hueRotate(value: number | string): this { + public hueRotate(value: number | string | number | string | undefined): this { if (this.checkPriority("hueRotate")) { - const value_casted = value as (number | string) - this.getPeer()?.hueRotateAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type)) { + const value_casted = value as (number | string) + this.getPeer()?.hueRotate0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | string | undefined) + this.getPeer()?.hueRotate1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public useShadowBatching(value: boolean): this { + public useShadowBatching(value: boolean | boolean | undefined): this { if (this.checkPriority("useShadowBatching")) { - const value_casted = value as (boolean) - this.getPeer()?.useShadowBatchingAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.useShadowBatching0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.useShadowBatching1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public useEffect(useEffect: boolean, effectType?: EffectType): this { + public useEffect(useEffect: boolean | boolean | undefined, effectType?: EffectType): this { if (this.checkPriority("useEffect")) { const useEffect_type = runtimeType(useEffect) const effectType_type = runtimeType(effectType) - if (RuntimeType.UNDEFINED == effectType_type) { + if ((RuntimeType.BOOLEAN == useEffect_type) && (RuntimeType.UNDEFINED == effectType_type)) { const value_casted = useEffect as (boolean) this.getPeer()?.useEffect0Attribute(value_casted) return this } - if (RuntimeType.NUMBER == effectType_type) { + if ((RuntimeType.BOOLEAN == useEffect_type) && (((RuntimeType.NUMBER) == (effectType_type)) && ((unsafeCast(effectType)) >= (0)) && ((unsafeCast(effectType)) <= (1)))) { const useEffect_casted = useEffect as (boolean) const effectType_casted = effectType as (EffectType) this.getPeer()?.useEffect1Attribute(useEffect_casted, effectType_casted) return this } + if (((RuntimeType.BOOLEAN == useEffect_type) || (RuntimeType.UNDEFINED == useEffect_type)) && ((RuntimeType.NUMBER == effectType_type) || (RuntimeType.UNDEFINED == effectType_type))) { + const useEffect_casted = useEffect as (boolean | undefined) + const effectType_casted = effectType as (EffectType | undefined) + this.getPeer()?.useEffect2Attribute(useEffect_casted, effectType_casted) + return this + } throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public renderGroup(value: boolean): this { + public renderGroup(value: boolean | boolean | undefined): this { if (this.checkPriority("renderGroup")) { - const value_casted = value as (boolean) - this.getPeer()?.renderGroupAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.renderGroup0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.renderGroup1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public freeze(value: boolean): this { + public freeze(value: boolean | boolean | undefined): this { if (this.checkPriority("freeze")) { - const value_casted = value as (boolean) - this.getPeer()?.freezeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.freeze0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.freeze1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public translate(value: TranslateOptions): this { + public translate(value: TranslateOptions | TranslateOptions | undefined): this { if (this.checkPriority("translate")) { - const value_casted = value as (TranslateOptions) - this.getPeer()?.translateAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("x")) || (value!.hasOwnProperty("y")) || (value!.hasOwnProperty("z"))))) { + const value_casted = value as (TranslateOptions) + this.getPeer()?.translate0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (TranslateOptions | undefined) + this.getPeer()?.translate1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public scale(value: ScaleOptions): this { + public scale(value: ScaleOptions | ScaleOptions | undefined): this { if (this.checkPriority("scale")) { - const value_casted = value as (ScaleOptions) - this.getPeer()?.scaleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("x")) || (value!.hasOwnProperty("y")) || (value!.hasOwnProperty("z")) || (value!.hasOwnProperty("centerX")) || (value!.hasOwnProperty("centerY"))))) { + const value_casted = value as (ScaleOptions) + this.getPeer()?.scale0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ScaleOptions | undefined) + this.getPeer()?.scale1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -6802,20 +7665,38 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public rotate(value: RotateOptions): this { + public rotate(value: RotateOptions | RotateOptions | undefined): this { if (this.checkPriority("rotate")) { - const value_casted = value as (RotateOptions) - this.getPeer()?.rotateAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("angle")))) { + const value_casted = value as (RotateOptions) + this.getPeer()?.rotate0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (RotateOptions | undefined) + this.getPeer()?.rotate1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public transform(value: TransformationMatrix): this { + public transform(value: TransformationMatrix | Object | undefined): this { if (this.checkPriority("transform")) { - const value_casted = value as (TransformationMatrix) - this.getPeer()?.transformAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("matrix4x4")))) { + const value_casted = value as (TransformationMatrix) + this.getPeer()?.transform0Attribute(value_casted) + return this + } + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Object | undefined) + this.getPeer()?.transform1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7020,9 +7901,18 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM /** @memo */ public clickEffect(value: ClickEffect | undefined): this { if (this.checkPriority("clickEffect")) { - const value_casted = value as (ClickEffect | undefined) - this.getPeer()?.clickEffectAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ClickEffect | undefined) + this.getPeer()?.clickEffect0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ClickEffect | undefined) + this.getPeer()?.clickEffect1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7063,11 +7953,22 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public onDrop(value: ((event: DragEvent, extraParams?: string) => void)): this { + public onDrop(eventCallback: ((event: DragEvent, extraParams?: string) => void) | OnDragEventCallback, dropOptions?: DropOptions): this { if (this.checkPriority("onDrop")) { - const value_casted = value as (((event: DragEvent, extraParams?: string) => void)) - this.getPeer()?.onDropAttribute(value_casted) - return this + const eventCallback_type = runtimeType(eventCallback) + const dropOptions_type = runtimeType(dropOptions) + if (RuntimeType.FUNCTION == eventCallback_type) { + const value_casted = eventCallback as (((event: DragEvent, extraParams?: string) => void)) + this.getPeer()?.onDrop0Attribute(value_casted) + return this + } + if (RuntimeType.FUNCTION == eventCallback_type) { + const eventCallback_casted = eventCallback as (OnDragEventCallback) + const dropOptions_casted = dropOptions as (DropOptions | undefined) + this.getPeer()?.onDrop1Attribute(eventCallback_casted, dropOptions_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7099,11 +8000,22 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public dragPreview(value: CustomBuilder | DragItemInfo | string): this { + public dragPreview(preview: CustomBuilder | DragItemInfo | string, config?: PreviewConfiguration): this { if (this.checkPriority("dragPreview")) { - const value_casted = value as (CustomBuilder | DragItemInfo | string) - this.getPeer()?.dragPreviewAttribute(value_casted) - return this + const preview_type = runtimeType(preview) + const config_type = runtimeType(config) + if ((RuntimeType.FUNCTION == preview_type) || (RuntimeType.OBJECT == preview_type) || (RuntimeType.STRING == preview_type)) { + const value_casted = preview as (CustomBuilder | DragItemInfo | string) + this.getPeer()?.dragPreview0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == preview_type) || (RuntimeType.OBJECT == preview_type) || (RuntimeType.STRING == preview_type)) { + const preview_casted = preview as (CustomBuilder | DragItemInfo | string) + const config_casted = config as (PreviewConfiguration | undefined) + this.getPeer()?.dragPreview1Attribute(preview_casted, config_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7117,29 +8029,56 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public linearGradient(value: { angle?: number | string, direction?: GradientDirection, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): this { + public linearGradient(value: LinearGradientOptions | LinearGradientOptions | undefined): this { if (this.checkPriority("linearGradient")) { - const value_casted = value as ({ angle?: number | string, direction?: GradientDirection, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }) - this.getPeer()?.linearGradientAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("colors")))) { + const value_casted = value as (LinearGradientOptions) + this.getPeer()?.linearGradient0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (LinearGradientOptions | undefined) + this.getPeer()?.linearGradient1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public sweepGradient(value: { center: [ Length, Length ], start?: number | string, end?: number | string, rotation?: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): this { + public sweepGradient(value: SweepGradientOptions | SweepGradientOptions | undefined): this { if (this.checkPriority("sweepGradient")) { - const value_casted = value as ({ center: [ Length, Length ], start?: number | string, end?: number | string, rotation?: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }) - this.getPeer()?.sweepGradientAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("center")))) { + const value_casted = value as (SweepGradientOptions) + this.getPeer()?.sweepGradient0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (SweepGradientOptions | undefined) + this.getPeer()?.sweepGradient1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public radialGradient(value: { center: [ Length, Length ], radius: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }): this { + public radialGradient(value: RadialGradientOptions | RadialGradientOptions | undefined): this { if (this.checkPriority("radialGradient")) { - const value_casted = value as ({ center: [ Length, Length ], radius: number | string, colors: Array<[ ResourceColor, number ]>, repeating?: boolean }) - this.getPeer()?.radialGradientAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("center")))) { + const value_casted = value as (RadialGradientOptions) + this.getPeer()?.radialGradient0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (RadialGradientOptions | undefined) + this.getPeer()?.radialGradient1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7153,11 +8092,20 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public shadow(value: ShadowOptions | ShadowStyle): this { + public shadow(value: ShadowOptions | ShadowStyle | ShadowOptions | ShadowStyle | undefined): this { if (this.checkPriority("shadow")) { - const value_casted = value as (ShadowOptions | ShadowStyle) - this.getPeer()?.shadowAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.NUMBER == value_type)) { + const value_casted = value as (ShadowOptions | ShadowStyle) + this.getPeer()?.shadow0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ShadowOptions | ShadowStyle | undefined) + this.getPeer()?.shadow1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7175,16 +8123,30 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM this.getPeer()?.clip1Attribute(value_casted) return this } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.clip2Attribute(value_casted) + return this + } throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public clipShape(value: CircleShape | EllipseShape | PathShape | RectShape): this { + public clipShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this { if (this.checkPriority("clipShape")) { - const value_casted = value as (CircleShape | EllipseShape | PathShape | RectShape) - this.getPeer()?.clipShapeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.OBJECT) == (value_type)) && (value instanceof CircleShape)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof EllipseShape)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof PathShape)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof RectShape))) { + const value_casted = value as (CircleShape | EllipseShape | PathShape | RectShape) + this.getPeer()?.clipShape0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (CircleShape | EllipseShape | PathShape | RectShape | undefined) + this.getPeer()?.clipShape1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7202,16 +8164,30 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM this.getPeer()?.mask1Attribute(value_casted) return this } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ProgressMask | undefined) + this.getPeer()?.mask2Attribute(value_casted) + return this + } throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public maskShape(value: CircleShape | EllipseShape | PathShape | RectShape): this { + public maskShape(value: CircleShape | EllipseShape | PathShape | RectShape | CircleShape | EllipseShape | PathShape | RectShape | undefined): this { if (this.checkPriority("maskShape")) { - const value_casted = value as (CircleShape | EllipseShape | PathShape | RectShape) - this.getPeer()?.maskShapeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.OBJECT) == (value_type)) && (value instanceof CircleShape)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof EllipseShape)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof PathShape)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof RectShape))) { + const value_casted = value as (CircleShape | EllipseShape | PathShape | RectShape) + this.getPeer()?.maskShape0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (CircleShape | EllipseShape | PathShape | RectShape | undefined) + this.getPeer()?.maskShape1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7263,29 +8239,56 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public sphericalEffect(value: number): this { + public sphericalEffect(value: number | number | undefined): this { if (this.checkPriority("sphericalEffect")) { - const value_casted = value as (number) - this.getPeer()?.sphericalEffectAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.sphericalEffect0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.sphericalEffect1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public lightUpEffect(value: number): this { + public lightUpEffect(value: number | number | undefined): this { if (this.checkPriority("lightUpEffect")) { - const value_casted = value as (number) - this.getPeer()?.lightUpEffectAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.lightUpEffect0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.lightUpEffect1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public pixelStretchEffect(value: PixelStretchEffectOptions): this { + public pixelStretchEffect(value: PixelStretchEffectOptions | PixelStretchEffectOptions | undefined): this { if (this.checkPriority("pixelStretchEffect")) { - const value_casted = value as (PixelStretchEffectOptions) - this.getPeer()?.pixelStretchEffectAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("top")) || (value!.hasOwnProperty("bottom")) || (value!.hasOwnProperty("left")) || (value!.hasOwnProperty("right"))))) { + const value_casted = value as (PixelStretchEffectOptions) + this.getPeer()?.pixelStretchEffect0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PixelStretchEffectOptions | undefined) + this.getPeer()?.pixelStretchEffect1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7319,6 +8322,60 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public accessibilityNextFocusId(value: string): this { + if (this.checkPriority("accessibilityNextFocusId")) { + const value_casted = value as (string) + this.getPeer()?.accessibilityNextFocusIdAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public accessibilityDefaultFocus(value: boolean): this { + if (this.checkPriority("accessibilityDefaultFocus")) { + const value_casted = value as (boolean) + this.getPeer()?.accessibilityDefaultFocusAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public accessibilityUseSamePage(value: AccessibilitySamePageMode): this { + if (this.checkPriority("accessibilityUseSamePage")) { + const value_casted = value as (AccessibilitySamePageMode) + this.getPeer()?.accessibilityUseSamePageAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public accessibilityScrollTriggerable(value: boolean): this { + if (this.checkPriority("accessibilityScrollTriggerable")) { + const value_casted = value as (boolean) + this.getPeer()?.accessibilityScrollTriggerableAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public accessibilityRole(value: AccessibilityRoleType): this { + if (this.checkPriority("accessibilityRole")) { + const value_casted = value as (AccessibilityRoleType) + this.getPeer()?.accessibilityRoleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onAccessibilityFocus(value: AccessibilityFocusCallback): this { + if (this.checkPriority("onAccessibilityFocus")) { + const value_casted = value as (AccessibilityFocusCallback) + this.getPeer()?.onAccessibilityFocusAttribute(value_casted) + return this + } + return this + } + /** @memo */ public accessibilityTextHint(value: string): this { if (this.checkPriority("accessibilityTextHint")) { const value_casted = value as (string) @@ -7400,15 +8457,33 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public renderFit(value: RenderFit): this { - if (this.checkPriority("renderFit")) { - const value_casted = value as (RenderFit) - this.getPeer()?.renderFitAttribute(value_casted) + public reuse(value: ReuseOptions): this { + if (this.checkPriority("reuse")) { + const value_casted = value as (ReuseOptions) + this.getPeer()?.reuseAttribute(value_casted) return this } return this } /** @memo */ + public renderFit(value: RenderFit | RenderFit | undefined): this { + if (this.checkPriority("renderFit")) { + const value_type = runtimeType(value) + if (((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (15))) { + const value_casted = value as (RenderFit) + this.getPeer()?.renderFit0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (RenderFit | undefined) + this.getPeer()?.renderFit1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ public gestureModifier(value: GestureModifier): this { if (this.checkPriority("gestureModifier")) { const value_casted = value as (GestureModifier) @@ -7418,11 +8493,20 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public backgroundBrightness(value: BackgroundBrightnessOptions): this { + public backgroundBrightness(value: BackgroundBrightnessOptions | BackgroundBrightnessOptions | undefined): this { if (this.checkPriority("backgroundBrightness")) { - const value_casted = value as (BackgroundBrightnessOptions) - this.getPeer()?.backgroundBrightnessAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("rate")))) { + const value_casted = value as (BackgroundBrightnessOptions) + this.getPeer()?.backgroundBrightness0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (BackgroundBrightnessOptions | undefined) + this.getPeer()?.backgroundBrightness1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7483,6 +8567,15 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public accessibilityFocusDrawLevel(value: FocusDrawLevel): this { + if (this.checkPriority("accessibilityFocusDrawLevel")) { + const value_casted = value as (FocusDrawLevel) + this.getPeer()?.accessibilityFocusDrawLevelAttribute(value_casted) + return this + } + return this + } + /** @memo */ public customProperty(name: string, value: Object | undefined): this { if (this.checkPriority("customProperty")) { const name_casted = name as (string) @@ -7513,32 +8606,69 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat): this { + public backgroundImage(src: ResourceStr | PixelMap, repeat?: ImageRepeat | BackgroundImageOptions): this { if (this.checkPriority("backgroundImage")) { - const src_casted = src as (ResourceStr | PixelMap) - const repeat_casted = repeat as (ImageRepeat | undefined) - this.getPeer()?.backgroundImageAttribute(src_casted, repeat_casted) - return this + const src_type = runtimeType(src) + const repeat_type = runtimeType(repeat) + if ((((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("isEditable"))))) && ((RuntimeType.NUMBER == repeat_type) || (RuntimeType.UNDEFINED == repeat_type))) { + const src_casted = src as (ResourceStr | PixelMap) + const repeat_casted = repeat as (ImageRepeat | undefined) + this.getPeer()?.backgroundImage0Attribute(src_casted, repeat_casted) + return this + } + if ((((RuntimeType.STRING == src_type) || (RuntimeType.OBJECT == src_type)) || (((RuntimeType.OBJECT) == (src_type)) && ((src!.hasOwnProperty("isEditable"))))) && ((RuntimeType.OBJECT == repeat_type) || (RuntimeType.UNDEFINED == repeat_type))) { + const src_casted = src as (ResourceStr | PixelMap) + const options_casted = repeat as (BackgroundImageOptions | undefined) + this.getPeer()?.backgroundImage1Attribute(src_casted, options_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public backgroundBlurStyle(value: BlurStyle, options?: BackgroundBlurStyleOptions): this { + public backgroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: BackgroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { if (this.checkPriority("backgroundBlurStyle")) { - const value_casted = value as (BlurStyle) - const options_casted = options as (BackgroundBlurStyleOptions | undefined) - this.getPeer()?.backgroundBlurStyleAttribute(value_casted, options_casted) - return this + const style_type = runtimeType(style) + const options_type = runtimeType(options) + const sysOptions_type = runtimeType(sysOptions) + if (((RuntimeType.NUMBER) == (style_type)) && ((unsafeCast(style)) >= (0)) && ((unsafeCast(style)) <= (12))) { + const value_casted = style as (BlurStyle) + const options_casted = options as (BackgroundBlurStyleOptions | undefined) + this.getPeer()?.backgroundBlurStyle0Attribute(value_casted, options_casted) + return this + } + if ((RuntimeType.NUMBER == style_type) || (RuntimeType.UNDEFINED == style_type)) { + const style_casted = style as (BlurStyle | undefined) + const options_casted = options as (BackgroundBlurStyleOptions | undefined) + const sysOptions_casted = sysOptions as (SystemAdaptiveOptions | undefined) + this.getPeer()?.backgroundBlurStyle1Attribute(style_casted, options_casted, sysOptions_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public foregroundBlurStyle(value: BlurStyle, options?: ForegroundBlurStyleOptions): this { + public foregroundBlurStyle(style: BlurStyle | BlurStyle | undefined, options?: ForegroundBlurStyleOptions, sysOptions?: SystemAdaptiveOptions): this { if (this.checkPriority("foregroundBlurStyle")) { - const value_casted = value as (BlurStyle) - const options_casted = options as (ForegroundBlurStyleOptions | undefined) - this.getPeer()?.foregroundBlurStyleAttribute(value_casted, options_casted) - return this + const style_type = runtimeType(style) + const options_type = runtimeType(options) + const sysOptions_type = runtimeType(sysOptions) + if (((RuntimeType.NUMBER) == (style_type)) && ((unsafeCast(style)) >= (0)) && ((unsafeCast(style)) <= (12))) { + const value_casted = style as (BlurStyle) + const options_casted = options as (ForegroundBlurStyleOptions | undefined) + this.getPeer()?.foregroundBlurStyle0Attribute(value_casted, options_casted) + return this + } + if ((RuntimeType.NUMBER == style_type) || (RuntimeType.UNDEFINED == style_type)) { + const style_casted = style as (BlurStyle | undefined) + const options_casted = options as (ForegroundBlurStyleOptions | undefined) + const sysOptions_casted = sysOptions as (SystemAdaptiveOptions | undefined) + this.getPeer()?.foregroundBlurStyle1Attribute(style_casted, options_casted, sysOptions_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7596,22 +8726,46 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public blur(value: number, options?: BlurOptions): this { + public blur(blurRadius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { if (this.checkPriority("blur")) { - const value_casted = value as (number) - const options_casted = options as (BlurOptions | undefined) - this.getPeer()?.blurAttribute(value_casted, options_casted) - return this + const blurRadius_type = runtimeType(blurRadius) + const options_type = runtimeType(options) + const sysOptions_type = runtimeType(sysOptions) + if (RuntimeType.NUMBER == blurRadius_type) { + const value_casted = blurRadius as (number) + const options_casted = options as (BlurOptions | undefined) + this.getPeer()?.blur0Attribute(value_casted, options_casted) + return this + } + if ((RuntimeType.NUMBER == blurRadius_type) || (RuntimeType.UNDEFINED == blurRadius_type)) { + const blurRadius_casted = blurRadius as (number | undefined) + const options_casted = options as (BlurOptions | undefined) + const sysOptions_casted = sysOptions as (SystemAdaptiveOptions | undefined) + this.getPeer()?.blur1Attribute(blurRadius_casted, options_casted, sysOptions_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public linearGradientBlur(value: number, options: LinearGradientBlurOptions): this { + public linearGradientBlur(value: number | number | undefined, options: LinearGradientBlurOptions | LinearGradientBlurOptions | undefined): this { if (this.checkPriority("linearGradientBlur")) { - const value_casted = value as (number) - const options_casted = options as (LinearGradientBlurOptions) - this.getPeer()?.linearGradientBlurAttribute(value_casted, options_casted) - return this + const value_type = runtimeType(value) + const options_type = runtimeType(options) + if ((RuntimeType.NUMBER == value_type) && (((RuntimeType.OBJECT) == (options_type)) && ((options!.hasOwnProperty("fractionStops"))))) { + const value_casted = value as (number) + const options_casted = options as (LinearGradientBlurOptions) + this.getPeer()?.linearGradientBlur0Attribute(value_casted, options_casted) + return this + } + if (((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) && ((RuntimeType.OBJECT == options_type) || (RuntimeType.UNDEFINED == options_type))) { + const blurRadius_casted = value as (number | undefined) + const options_casted = options as (LinearGradientBlurOptions | undefined) + this.getPeer()?.linearGradientBlur1Attribute(blurRadius_casted, options_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7624,12 +8778,25 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public backdropBlur(value: number, options?: BlurOptions): this { + public backdropBlur(radius: number | number | undefined, options?: BlurOptions, sysOptions?: SystemAdaptiveOptions): this { if (this.checkPriority("backdropBlur")) { - const value_casted = value as (number) - const options_casted = options as (BlurOptions | undefined) - this.getPeer()?.backdropBlurAttribute(value_casted, options_casted) - return this + const radius_type = runtimeType(radius) + const options_type = runtimeType(options) + const sysOptions_type = runtimeType(sysOptions) + if (RuntimeType.NUMBER == radius_type) { + const value_casted = radius as (number) + const options_casted = options as (BlurOptions | undefined) + this.getPeer()?.backdropBlur0Attribute(value_casted, options_casted) + return this + } + if ((RuntimeType.NUMBER == radius_type) || (RuntimeType.UNDEFINED == radius_type)) { + const radius_casted = radius as (number | undefined) + const options_casted = options as (BlurOptions | undefined) + const sysOptions_casted = sysOptions as (SystemAdaptiveOptions | undefined) + this.getPeer()?.backdropBlur1Attribute(radius_casted, options_casted, sysOptions_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7674,12 +8841,23 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public blendMode(value: BlendMode, type?: BlendApplyType): this { + public blendMode(value: BlendMode | BlendMode | undefined, type?: BlendApplyType): this { if (this.checkPriority("blendMode")) { - const value_casted = value as (BlendMode) - const type_casted = type as (BlendApplyType | undefined) - this.getPeer()?.blendModeAttribute(value_casted, type_casted) - return this + const value_type = runtimeType(value) + const type_type = runtimeType(type) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (28))) && ((RuntimeType.NUMBER == type_type) || (RuntimeType.UNDEFINED == type_type))) { + const value_casted = value as (BlendMode) + const type_casted = type as (BlendApplyType | undefined) + this.getPeer()?.blendMode0Attribute(value_casted, type_casted) + return this + } + if (((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) && ((RuntimeType.NUMBER == type_type) || (RuntimeType.UNDEFINED == type_type))) { + const mode_casted = value as (BlendMode | undefined) + const type_casted = type as (BlendApplyType | undefined) + this.getPeer()?.blendMode1Attribute(mode_casted, type_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -7694,6 +8872,16 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public bindTips(message: TipsMessageType, options?: TipsOptions): this { + if (this.checkPriority("bindTips")) { + const message_casted = message as (TipsMessageType) + const options_casted = options as (TipsOptions | undefined) + this.getPeer()?.bindTipsAttribute(message_casted, options_casted) + return this + } + return this + } + /** @memo */ public bindPopup(show: boolean, popup: PopupOptions | CustomPopupOptions): this { if (this.checkPriority("bindPopup")) { const show_casted = show as (boolean) @@ -7751,20 +8939,20 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public bindContentCover(isShow: boolean | undefined, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this { + public bindContentCover(isShow: boolean, builder: CustomBuilder, type?: ModalTransition | ContentCoverOptions): this { if (this.checkPriority("bindContentCover")) { const isShow_type = runtimeType(isShow) const builder_type = runtimeType(builder) const type_type = runtimeType(type) - if (((RuntimeType.BOOLEAN == isShow_type) || (RuntimeType.UNDEFINED == isShow_type)) && ((RuntimeType.NUMBER == type_type) || (RuntimeType.UNDEFINED == type_type))) { - const isShow_casted = isShow as (boolean | undefined) + if ((RuntimeType.NUMBER == type_type) || (RuntimeType.UNDEFINED == type_type)) { + const isShow_casted = isShow as (boolean) const builder_casted = builder as (CustomBuilder) const type_casted = type as (ModalTransition | undefined) this.getPeer()?.bindContentCover0Attribute(isShow_casted, builder_casted, type_casted) return this } - if (((RuntimeType.BOOLEAN == isShow_type) || (RuntimeType.UNDEFINED == isShow_type)) && ((RuntimeType.OBJECT == type_type) || (RuntimeType.UNDEFINED == type_type))) { - const isShow_casted = isShow as (boolean | undefined) + if ((RuntimeType.OBJECT == type_type) || (RuntimeType.UNDEFINED == type_type)) { + const isShow_casted = isShow as (boolean) const builder_casted = builder as (CustomBuilder) const options_casted = type as (ContentCoverOptions | undefined) this.getPeer()?.bindContentCover1Attribute(isShow_casted, builder_casted, options_casted) @@ -7775,9 +8963,9 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ - public bindSheet(isShow: boolean | undefined, builder: CustomBuilder, options?: SheetOptions): this { + public bindSheet(isShow: boolean, builder: CustomBuilder, options?: SheetOptions): this { if (this.checkPriority("bindSheet")) { - const isShow_casted = isShow as (boolean | undefined) + const isShow_casted = isShow as (boolean) const builder_casted = builder as (CustomBuilder) const options_casted = options as (SheetOptions | undefined) this.getPeer()?.bindSheetAttribute(isShow_casted, builder_casted, options_casted) @@ -7796,6 +8984,16 @@ export class ArkCommonMethodComponent extends ComponentBase implements UICommonM return this } /** @memo */ + public onVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event: VisibleAreaChangeCallback | undefined): void { + if (this.checkPriority("onVisibleAreaApproximateChange")) { + const options_casted = options as (VisibleAreaEventOptions) + const event_casted = event as (VisibleAreaChangeCallback | undefined) + this.getPeer()?.onVisibleAreaApproximateChangeAttribute(options_casted, event_casted) + return + } + return + } + /** @memo */ public keyboardShortcut(value: string | FunctionKey, keys: Array, action?: (() => void)): this { if (this.checkPriority("keyboardShortcut")) { const value_casted = value as (string | FunctionKey) @@ -8094,6 +9292,24 @@ export class ArkScrollableCommonMethodComponent extends ArkCommonMethodComponent return this } /** @memo */ + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + if (this.checkPriority("digitalCrownSensitivity")) { + const value_casted = value as (CrownSensitivity | undefined) + this.getPeer()?.digitalCrownSensitivityAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public backToTop(value: boolean): this { + if (this.checkPriority("backToTop")) { + const value_casted = value as (boolean) + this.getPeer()?.backToTopAttribute(value_casted) + return this + } + return this + } + /** @memo */ public edgeEffect(edgeEffect: EdgeEffect, options?: EdgeEffectOptions): this { if (this.checkPriority("edgeEffect")) { const edgeEffect_casted = edgeEffect as (EdgeEffect) diff --git a/arkoala/arkui/src/generated/custom_dialog_controller.ts b/arkoala/arkui/src/generated/custom_dialog_controller.ts index cf73691e44..7d536cca81 100644 --- a/arkoala/arkui/src/generated/custom_dialog_controller.ts +++ b/arkoala/arkui/src/generated/custom_dialog_controller.ts @@ -19,12 +19,13 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, wrapCallback } from "@koalaui/interop" import { CustomDialogControllerBuilder } from "./arkui-custom-dialog" -import { DialogAlignment } from "./alert_dialog" +import { DialogAlignment, LevelOrder } from "./alert_dialog" import { Offset, ResourceColor, Dimension, BorderRadiuses, EdgeWidths, EdgeColors } from "./units" -import { Rectangle, AnimateParam, ShadowOptions, ShadowStyle, BlurStyle, KeyboardAvoidMode, HoverModeAreaType } from "./common" -import { DismissDialogAction } from "./action_sheet" +import { Rectangle, AnimateParam, ShadowOptions, ShadowStyle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, KeyboardAvoidMode, HoverModeAreaType } from "./common" +import { DismissDialogAction, LevelMode, ImmersiveMode } from "./action_sheet" import { BorderStyle } from "./enums" import { EdgeStyles } from "./arkui-external" +import { LengthMetrics } from "./AllMaterialized" export interface CustomDialogControllerOptions { builder: CustomDialogControllerBuilder; cancel?: (() => void); @@ -49,7 +50,19 @@ export interface CustomDialogControllerOptions { borderStyle?: BorderStyle | EdgeStyles; shadow?: ShadowOptions | ShadowStyle; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; keyboardAvoidMode?: KeyboardAvoidMode; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + onDidAppear?: (() => void); + onDidDisappear?: (() => void); + onWillAppear?: (() => void); + onWillDisappear?: (() => void); + keyboardAvoidDistance?: LengthMetrics; + levelMode?: LevelMode; + levelUniqueId?: number; + immersiveMode?: ImmersiveMode; + levelOrder?: LevelOrder; + focusable?: boolean; } diff --git a/arkoala/arkui/src/generated/date_picker.ts b/arkoala/arkui/src/generated/date_picker.ts index 1a8a5dc507..bcf69e4756 100644 --- a/arkoala/arkui/src/generated/date_picker.ts +++ b/arkoala/arkui/src/generated/date_picker.ts @@ -21,7 +21,8 @@ import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType import { Serializer } from "./peers/Serializer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { CrownSensitivity } from "./enums" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" import { CallbackKind } from "./peers/CallbackKind" @@ -56,25 +57,73 @@ export class ArkDatePickerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._DatePickerInterface_setDatePickerOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - lunarAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._DatePickerAttribute_lunar(this.peer.ptr, +value) + lunar0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._DatePickerAttribute_lunar0(this.peer.ptr, +value) } - disappearTextStyleAttribute(value: PickerTextStyle): void { + lunar1Attribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_lunar1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + disappearTextStyle0Attribute(value: PickerTextStyle): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._DatePickerAttribute_disappearTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._DatePickerAttribute_disappearTextStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + disappearTextStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_disappearTextStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - textStyleAttribute(value: PickerTextStyle): void { + textStyle0Attribute(value: PickerTextStyle): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._DatePickerAttribute_textStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._DatePickerAttribute_textStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + textStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_textStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedTextStyleAttribute(value: PickerTextStyle): void { + selectedTextStyle0Attribute(value: PickerTextStyle): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._DatePickerAttribute_selectedTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._DatePickerAttribute_selectedTextStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedTextStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_selectedTextStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onChangeAttribute(value: ((value: DatePickerResult) => void)): void { @@ -83,10 +132,46 @@ export class ArkDatePickerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._DatePickerAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onDateChangeAttribute(value: ((parameter: Date) => void)): void { + onDateChange0Attribute(value: ((parameter: Date) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._DatePickerAttribute_onDateChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._DatePickerAttribute_onDateChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onDateChange1Attribute(value: ((parameter: Date) => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_onDateChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + digitalCrownSensitivityAttribute(value: CrownSensitivity | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_digitalCrownSensitivity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + enableHapticFeedbackAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._DatePickerAttribute_enableHapticFeedback(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } _onChangeEvent_selectedAttribute(callback: ((parameter: Date) => void)): void { @@ -101,36 +186,48 @@ export interface DatePickerResult { month?: number; day?: number; } +export enum DatePickerMode { + DATE, + YEAR_AND_MONTH = 1, + MONTH_AND_DAY = 2, +} export interface DatePickerOptions { start?: Date; end?: Date; selected?: Date; + mode?: DatePickerMode; } export type Callback_DatePickerResult_Void = (value: DatePickerResult) => void; export interface DatePickerAttribute extends CommonMethod { - lunar(value: boolean): this - disappearTextStyle(value: PickerTextStyle): this - textStyle(value: PickerTextStyle): this - selectedTextStyle(value: PickerTextStyle): this + lunar(value: boolean | boolean | undefined): this + disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this onChange(value: ((value: DatePickerResult) => void)): this - onDateChange(value: ((parameter: Date) => void)): this + onDateChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + enableHapticFeedback(value: boolean | undefined): this _onChangeEvent_selected(callback: ((parameter: Date) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIDatePickerAttribute extends UICommonMethod { /** @memo */ - lunar(value: boolean): this + lunar(value: boolean | boolean | undefined): this /** @memo */ - disappearTextStyle(value: PickerTextStyle): this + disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - textStyle(value: PickerTextStyle): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - selectedTextStyle(value: PickerTextStyle): this + selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ onChange(value: ((value: DatePickerResult) => void)): this /** @memo */ - onDateChange(value: ((parameter: Date) => void)): this + onDateChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this + /** @memo */ + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + /** @memo */ + enableHapticFeedback(value: boolean | undefined): this /** @memo */ _onChangeEvent_selected(callback: ((parameter: Date) => void)): void /** @memo */ @@ -143,22 +240,30 @@ export class ArkDatePickerStyle extends ArkCommonMethodStyle implements DatePick selectedTextStyle_value?: PickerTextStyle onChange_value?: ((value: DatePickerResult) => void) onDateChange_value?: ((parameter: Date) => void) - public lunar(value: boolean): this { + digitalCrownSensitivity_value?: CrownSensitivity | undefined + enableHapticFeedback_value?: boolean | undefined + public lunar(value: boolean | boolean | undefined): this { return this } - public disappearTextStyle(value: PickerTextStyle): this { + public disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public textStyle(value: PickerTextStyle): this { + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public selectedTextStyle(value: PickerTextStyle): this { + public selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } public onChange(value: ((value: DatePickerResult) => void)): this { return this } - public onDateChange(value: ((parameter: Date) => void)): this { + public onDateChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this { + return this + } + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + return this + } + public enableHapticFeedback(value: boolean | undefined): this { return this } public _onChangeEvent_selected(callback: ((parameter: Date) => void)): void { @@ -194,6 +299,8 @@ export interface DatePickerDialogOptions extends DatePickerOptions { onDateChange?: ((parameter: Date) => void); backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onDidAppear?: VoidCallback; onDidDisappear?: VoidCallback; onWillAppear?: VoidCallback; @@ -202,6 +309,7 @@ export interface DatePickerDialogOptions extends DatePickerOptions { dateTimeOptions?: DateTimeOptions; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + enableHapticFeedback?: boolean; } /** @memo:stable */ export class ArkDatePickerComponent extends ArkCommonMethodComponent implements UIDatePickerAttribute { @@ -218,38 +326,74 @@ export class ArkDatePickerComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public lunar(value: boolean): this { + public lunar(value: boolean | boolean | undefined): this { if (this.checkPriority("lunar")) { - const value_casted = value as (boolean) - this.getPeer()?.lunarAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.lunar0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.lunar1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public disappearTextStyle(value: PickerTextStyle): this { + public disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("disappearTextStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.disappearTextStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("color")) || (value!.hasOwnProperty("font"))))) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.disappearTextStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.disappearTextStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public textStyle(value: PickerTextStyle): this { + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("textStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.textStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("color")) || (value!.hasOwnProperty("font"))))) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.textStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.textStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedTextStyle(value: PickerTextStyle): this { + public selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("selectedTextStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.selectedTextStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("color")) || (value!.hasOwnProperty("font"))))) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.selectedTextStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.selectedTextStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -263,10 +407,37 @@ export class ArkDatePickerComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public onDateChange(value: ((parameter: Date) => void)): this { + public onDateChange(value: ((parameter: Date) => void) | ((parameter: Date) => void) | undefined): this { if (this.checkPriority("onDateChange")) { - const value_casted = value as (((parameter: Date) => void)) - this.getPeer()?.onDateChangeAttribute(value_casted) + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((parameter: Date) => void)) + this.getPeer()?.onDateChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (((parameter: Date) => void) | undefined) + this.getPeer()?.onDateChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + if (this.checkPriority("digitalCrownSensitivity")) { + const value_casted = value as (CrownSensitivity | undefined) + this.getPeer()?.digitalCrownSensitivityAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableHapticFeedback(value: boolean | undefined): this { + if (this.checkPriority("enableHapticFeedback")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.enableHapticFeedbackAttribute(value_casted) return this } return this diff --git a/arkoala/arkui/src/generated/enums.ts b/arkoala/arkui/src/generated/enums.ts index 7b247a8efe..ae12e7e1d7 100644 --- a/arkoala/arkui/src/generated/enums.ts +++ b/arkoala/arkui/src/generated/enums.ts @@ -75,6 +75,7 @@ export enum ImageFit { BOTTOM_START = 13, BOTTOM = 14, BOTTOM_END = 15, + MATRIX = 16, } export enum BorderStyle { DOTTED, @@ -102,6 +103,11 @@ export enum TouchType { CANCEL = 3, Cancel = CANCEL, } +export enum InteractionHand { + NONE, + LEFT = 1, + RIGHT = 2, +} export enum MouseButton { LEFT, Left = LEFT, @@ -125,6 +131,7 @@ export enum MouseAction { Move = MOVE, HOVER = 3, Hover = HOVER, + CANCEL = 13, } export enum AnimationStatus { INITIAL, @@ -195,6 +202,7 @@ export enum KeySource { Unknown = UNKNOWN, KEYBOARD = 1, Keyboard = KEYBOARD, + JOYSTICK = 2, } export enum Edge { TOP, @@ -357,6 +365,10 @@ export enum PixelRoundCalcPolicy { FORCE_CEIL = 1, FORCE_FLOOR = 2, } +export enum PixelRoundMode { + PIXEL_ROUND_ON_LAYOUT_FINISH, + PIXEL_ROUND_AFTER_MEASURE = 1, +} export enum FlexWrap { NO_WRAP, NoWrap = NO_WRAP, @@ -623,17 +635,13 @@ export enum WordBreak { NORMAL, BREAK_ALL = 1, BREAK_WORD = 2, + HYPHENATION = 3, } export enum LineBreakStrategy { GREEDY, HIGH_QUALITY = 1, BALANCED = 2, } -export type Nullable = T | undefined; -export enum OptionWidthMode { - FIT_CONTENT = "fit_content", - FIT_TRIGGER = "fit_trigger", -} export enum IlluminatedType { NONE, BORDER = 1, @@ -642,6 +650,11 @@ export enum IlluminatedType { BLOOM_BORDER = 4, BLOOM_BORDER_CONTENT = 5, } +export type Nullable = T | undefined; +export enum OptionWidthMode { + FIT_CONTENT = "fit_content", + FIT_TRIGGER = "fit_trigger", +} export enum FoldStatus { FOLD_STATUS_UNKNOWN, FOLD_STATUS_EXPANDED = 1, @@ -684,3 +697,42 @@ export enum HeightBreakpoint { HEIGHT_MD = 1, HEIGHT_LG = 2, } +export enum AxisModel { + ABS_X, + ABS_Y = 1, + ABS_Z = 2, + ABS_RZ = 3, + ABS_GAS = 4, + ABS_BRAKE = 5, + ABS_HAT0X = 6, + ABS_HAT0Y = 7, +} +export enum PageFlipMode { + CONTINUOUS, + SINGLE = 1, +} +export enum CrownAction { + BEGIN, + UPDATE = 1, + END = 2, +} +export enum CrownSensitivity { + LOW, + MEDIUM = 1, + HIGH = 2, +} +export enum AxisAction { + NONE, + BEGIN = 1, + UPDATE = 2, + END = 3, + CANCEL = 4, +} +export enum FocusDrawLevel { + SELF, + TOP = 1, +} +export enum DividerMode { + FLOATING_ABOVE_MENU, + EMBEDDED_IN_MENU = 1, +} diff --git a/arkoala/arkui/src/generated/focus.ts b/arkoala/arkui/src/generated/focus.ts index 0143162aba..a22108bd6b 100644 --- a/arkoala/arkui/src/generated/focus.ts +++ b/arkoala/arkui/src/generated/focus.ts @@ -29,3 +29,7 @@ export enum FocusPriority { PRIOR = 2000, PREVIOUS = 3000, } +export enum KeyProcessingMode { + FOCUS_NAVIGATION, + ANCESTOR_EVENT = 1, +} diff --git a/arkoala/arkui/src/generated/form_component.ts b/arkoala/arkui/src/generated/form_component.ts index fa7d10db9d..872d1b4a04 100644 --- a/arkoala/arkui/src/generated/form_component.ts +++ b/arkoala/arkui/src/generated/form_component.ts @@ -112,6 +112,9 @@ export enum FormDimension { Dimension_2_1 = DIMENSION_2_1, DIMENSION_1_1 = 6, DIMENSION_6_4 = 7, + DIMENSION_2_3 = 8, + DIMENSION_3_3 = 9, + DIMENSION_3_4 = 10, } export enum FormRenderingMode { FULL_COLOR, diff --git a/arkoala/arkui/src/generated/gesture.ts b/arkoala/arkui/src/generated/gesture.ts index f2cb412584..92b97e4562 100644 --- a/arkoala/arkui/src/generated/gesture.ts +++ b/arkoala/arkui/src/generated/gesture.ts @@ -18,6 +18,7 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, wrapCallback } from "@koalaui/interop" +import { InteractionHand } from "./enums" import { TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureGroupInterface, GestureEvent } from "./AllMaterialized" import { SourceTool } from "./common" export enum PanDirection { @@ -79,11 +80,15 @@ export interface FingerInfo { localY: number; displayX: number; displayY: number; + hand?: InteractionHand; } export type GestureType = TapGestureInterface | LongPressGestureInterface | PanGestureInterface | PinchGestureInterface | SwipeGestureInterface | RotationGestureInterface | GestureGroupInterface; export interface GestureInterface { } -export interface TapGestureParameters { +export interface BaseHandlerOptions { + isFingerCountLimited?: boolean; +} +export interface TapGestureParameters extends BaseHandlerOptions { count?: number; fingers?: number; distanceThreshold?: number; @@ -114,40 +119,40 @@ export interface Literal_Number_angle_fingers { } export interface GestureHandler extends GestureInterface { } -export interface TapGestureHandlerOptions { +export interface TapGestureHandlerOptions extends BaseHandlerOptions { count?: number; fingers?: number; } export interface TapGestureHandler extends GestureHandler { } -export interface LongPressGestureHandlerOptions { +export interface LongPressGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; repeat?: boolean; duration?: number; } export interface LongPressGestureHandler extends GestureHandler { } -export interface PanGestureHandlerOptions { +export interface PanGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; direction?: PanDirection; distance?: number; } export interface PanGestureHandler extends GestureHandler { } -export interface SwipeGestureHandlerOptions { +export interface SwipeGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; direction?: SwipeDirection; speed?: number; } export interface SwipeGestureHandler extends GestureHandler { } -export interface PinchGestureHandlerOptions { +export interface PinchGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; distance?: number; } export interface PinchGestureHandler extends GestureHandler { } -export interface RotationGestureHandlerOptions { +export interface RotationGestureHandlerOptions extends BaseHandlerOptions { fingers?: number; angle?: number; } diff --git a/arkoala/arkui/src/generated/image.ts b/arkoala/arkui/src/generated/image.ts index 83ef824daf..2b27507829 100644 --- a/arkoala/arkui/src/generated/image.ts +++ b/arkoala/arkui/src/generated/image.ts @@ -23,7 +23,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, PointLightStyle, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { Resource } from "./resource" -import { PixelMap, ColorFilter, DrawingColorFilter, DrawableDescriptor, DrawingLattice } from "./AllMaterialized" +import { PixelMap, Matrix4Transit, ColorFilter, DrawingColorFilter, DrawableDescriptor, DrawingLattice } from "./AllMaterialized" import { ResourceColor, ResourceStr, EdgeWidths } from "./units" import { ImageFit, ImageRepeat, CopyOptions, Color } from "./enums" import { ImageAnalyzerConfig, ImageAIOptions } from "./image_common" @@ -180,7 +180,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { fitOriginalSizeAttribute(value: boolean): void { ArkUIGeneratedNativeModule._ImageAttribute_fitOriginalSize(this.peer.ptr, +value) } - fillColorAttribute(value: ResourceColor): void { + fillColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -204,12 +204,53 @@ export class ArkImagePeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._ImageAttribute_fillColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._ImageAttribute_fillColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + fillColor1Attribute(value: ResourceColor | ColorContent): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + let value_0_type: int32 = RuntimeType.UNDEFINED + value_0_type = runtimeType(value_0) + if (((RuntimeType.NUMBER) == (value_0_type)) && ((unsafeCast(value_0)) >= (0)) && ((unsafeCast(value_0)) <= (11))) { + thisSerializer.writeInt8(0) + const value_0_0 = unsafeCast(value_0) + thisSerializer.writeInt32(value_0_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_0_type) { + thisSerializer.writeInt8(1) + const value_0_1 = unsafeCast(value_0) + thisSerializer.writeNumber(value_0_1) + } + else if (RuntimeType.STRING == value_0_type) { + thisSerializer.writeInt8(2) + const value_0_2 = unsafeCast(value_0) + thisSerializer.writeString(value_0_2) + } + else if (RuntimeType.OBJECT == value_0_type) { + thisSerializer.writeInt8(3) + const value_0_3 = unsafeCast(value_0) + thisSerializer.writeResource(value_0_3) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("ORIGIN")))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeColorContent(value_1) + } + ArkUIGeneratedNativeModule._ImageAttribute_fillColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } objectFitAttribute(value: ImageFit): void { ArkUIGeneratedNativeModule._ImageAttribute_objectFit(this.peer.ptr, value.valueOf()) } + imageMatrixAttribute(value: Matrix4Transit): void { + ArkUIGeneratedNativeModule._ImageAttribute_imageMatrix(this.peer.ptr, toPeerPtr(value)) + } objectRepeatAttribute(value: ImageRepeat): void { ArkUIGeneratedNativeModule._ImageAttribute_objectRepeat(this.peer.ptr, value.valueOf()) } @@ -305,6 +346,9 @@ export class ArkImagePeer extends ArkCommonMethodPeer { enhancedImageQualityAttribute(value: ResolutionQuality): void { ArkUIGeneratedNativeModule._ImageAttribute_enhancedImageQuality(this.peer.ptr, value.valueOf()) } + orientationAttribute(value: ImageRotateOrientation): void { + ArkUIGeneratedNativeModule._ImageAttribute_orientation(this.peer.ptr, value.valueOf()) + } } export enum ImageRenderMode { ORIGINAL, @@ -330,11 +374,20 @@ export enum ImageInterpolation { HIGH = 3, High = HIGH, } +export enum ImageRotateOrientation { + AUTO, + UP = 1, + RIGHT = 2, + DOWN = 3, + LEFT = 4, +} export interface ImageSourceSize { width: number; height: number; } +export interface ColorContent { +} export interface Type_ImageAttribute_onComplete_callback_event { width: number; height: number; @@ -351,8 +404,9 @@ export interface ImageAttribute extends CommonMethod { alt(value: string | Resource | PixelMap): this matchTextDirection(value: boolean): this fitOriginalSize(value: boolean): this - fillColor(value: ResourceColor): this + fillColor(value: ResourceColor | ResourceColor | ColorContent): this objectFit(value: ImageFit): this + imageMatrix(value: Matrix4Transit): this objectRepeat(value: ImageRepeat): this autoResize(value: boolean): this renderMode(value: ImageRenderMode): this @@ -373,6 +427,7 @@ export interface ImageAttribute extends CommonMethod { resizable(value: ResizableOptions): this privacySensitive(value: boolean): this enhancedImageQuality(value: ResolutionQuality): this + orientation(value: ImageRotateOrientation): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIImageAttribute extends UICommonMethod { @@ -383,10 +438,12 @@ export interface UIImageAttribute extends UICommonMethod { /** @memo */ fitOriginalSize(value: boolean): this /** @memo */ - fillColor(value: ResourceColor): this + fillColor(value: ResourceColor | ResourceColor | ColorContent): this /** @memo */ objectFit(value: ImageFit): this /** @memo */ + imageMatrix(value: Matrix4Transit): this + /** @memo */ objectRepeat(value: ImageRepeat): this /** @memo */ autoResize(value: boolean): this @@ -427,6 +484,8 @@ export interface UIImageAttribute extends UICommonMethod { /** @memo */ enhancedImageQuality(value: ResolutionQuality): this /** @memo */ + orientation(value: ImageRotateOrientation): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkImageStyle extends ArkCommonMethodStyle implements ImageAttribute { @@ -435,6 +494,7 @@ export class ArkImageStyle extends ArkCommonMethodStyle implements ImageAttribut fitOriginalSize_value?: boolean fillColor_value?: ResourceColor objectFit_value?: ImageFit + imageMatrix_value?: Matrix4Transit objectRepeat_value?: ImageRepeat autoResize_value?: boolean renderMode_value?: ImageRenderMode @@ -455,6 +515,7 @@ export class ArkImageStyle extends ArkCommonMethodStyle implements ImageAttribut resizable_value?: ResizableOptions privacySensitive_value?: boolean enhancedImageQuality_value?: ResolutionQuality + orientation_value?: ImageRotateOrientation public alt(value: string | Resource | PixelMap): this { return this } @@ -464,12 +525,15 @@ export class ArkImageStyle extends ArkCommonMethodStyle implements ImageAttribut public fitOriginalSize(value: boolean): this { return this } - public fillColor(value: ResourceColor): this { + public fillColor(value: ResourceColor | ResourceColor | ColorContent): this { return this } public objectFit(value: ImageFit): this { return this } + public imageMatrix(value: Matrix4Transit): this { + return this + } public objectRepeat(value: ImageRepeat): this { return this } @@ -530,6 +594,9 @@ export class ArkImageStyle extends ArkCommonMethodStyle implements ImageAttribut public enhancedImageQuality(value: ResolutionQuality): this { return this } + public orientation(value: ImageRotateOrientation): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -602,11 +669,20 @@ export class ArkImageComponent extends ArkCommonMethodComponent implements UIIma return this } /** @memo */ - public fillColor(value: ResourceColor): this { + public fillColor(value: ResourceColor | ResourceColor | ColorContent): this { if (this.checkPriority("fillColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.fillColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.fillColor0Attribute(value_casted) + return this + } + if (((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("ORIGIN"))))) { + const value_casted = value as (ResourceColor | ColorContent) + this.getPeer()?.fillColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -620,6 +696,15 @@ export class ArkImageComponent extends ArkCommonMethodComponent implements UIIma return this } /** @memo */ + public imageMatrix(value: Matrix4Transit): this { + if (this.checkPriority("imageMatrix")) { + const value_casted = value as (Matrix4Transit) + this.getPeer()?.imageMatrixAttribute(value_casted) + return this + } + return this + } + /** @memo */ public objectRepeat(value: ImageRepeat): this { if (this.checkPriority("objectRepeat")) { const value_casted = value as (ImageRepeat) @@ -800,6 +885,15 @@ export class ArkImageComponent extends ArkCommonMethodComponent implements UIIma return this } /** @memo */ + public orientation(value: ImageRotateOrientation): this { + if (this.checkPriority("orientation")) { + const value_casted = value as (ImageRotateOrientation) + this.getPeer()?.orientationAttribute(value_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala/arkui/src/generated/image_animator.ts b/arkoala/arkui/src/generated/image_animator.ts index 250488cfd6..85abb8213b 100644 --- a/arkoala/arkui/src/generated/image_animator.ts +++ b/arkoala/arkui/src/generated/image_animator.ts @@ -78,6 +78,9 @@ export class ArkImageAnimatorPeer extends ArkCommonMethodPeer { iterationsAttribute(value: number): void { ArkUIGeneratedNativeModule._ImageAnimatorAttribute_iterations(this.peer.ptr, value) } + monitorInvisibleAreaAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._ImageAnimatorAttribute_monitorInvisibleArea(this.peer.ptr, +value) + } onStartAttribute(value: (() => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -127,6 +130,7 @@ export interface ImageAnimatorAttribute extends CommonMethod { preDecode(value: number): this fillMode(value: FillMode): this iterations(value: number): this + monitorInvisibleArea(value: boolean): this onStart(value: (() => void)): this onPause(value: (() => void)): this onRepeat(value: (() => void)): this @@ -152,6 +156,8 @@ export interface UIImageAnimatorAttribute extends UICommonMethod { /** @memo */ iterations(value: number): this /** @memo */ + monitorInvisibleArea(value: boolean): this + /** @memo */ onStart(value: (() => void)): this /** @memo */ onPause(value: (() => void)): this @@ -173,6 +179,7 @@ export class ArkImageAnimatorStyle extends ArkCommonMethodStyle implements Image preDecode_value?: number fillMode_value?: FillMode iterations_value?: number + monitorInvisibleArea_value?: boolean onStart_value?: (() => void) onPause_value?: (() => void) onRepeat_value?: (() => void) @@ -202,6 +209,9 @@ export class ArkImageAnimatorStyle extends ArkCommonMethodStyle implements Image public iterations(value: number): this { return this } + public monitorInvisibleArea(value: boolean): this { + return this + } public onStart(value: (() => void)): this { return this } @@ -307,6 +317,15 @@ export class ArkImageAnimatorComponent extends ArkCommonMethodComponent implemen return this } /** @memo */ + public monitorInvisibleArea(value: boolean): this { + if (this.checkPriority("monitorInvisibleArea")) { + const value_casted = value as (boolean) + this.getPeer()?.monitorInvisibleAreaAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onStart(value: (() => void)): this { if (this.checkPriority("onStart")) { const value_casted = value as ((() => void)) diff --git a/arkoala/arkui/src/generated/lazy_grid_layout.ts b/arkoala/arkui/src/generated/lazy_grid_layout.ts new file mode 100644 index 0000000000..6afd26066d --- /dev/null +++ b/arkoala/arkui/src/generated/lazy_grid_layout.ts @@ -0,0 +1,198 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + +import { int32, int64, float32, unsafeCast } from "@koalaui/common" +import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType, isInstanceOf, MaterializedBase, toPeerPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { Serializer } from "./peers/Serializer" +import { ComponentBase } from "./../ComponentBase" +import { PeerNode } from "./../PeerNode" +import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { LengthMetrics } from "./AllMaterialized" +import { GestureName, GestureComponent } from "./shared/generated-utils" +import { isResource, isPadding } from "./../utils" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./../CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" +import { Deserializer } from "./peers/Deserializer" +import { UICommonBase, AttributeModifier } from "./../handwritten" +import { NodeAttach, remember } from "@koalaui/runtime" +export class ArkLazyGridLayoutPeer extends ArkCommonMethodPeer { + protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { + super(peerPtr, id, name, flags) + } + public static create(component?: ComponentBase, flags: int32 = 0): ArkLazyGridLayoutPeer { + const peerId = PeerNode.nextId() + const _peerPtr = ArkUIGeneratedNativeModule._LazyGridLayout_construct(peerId, flags) + const _peer = new ArkLazyGridLayoutPeer(_peerPtr, peerId, "LazyGridLayout", flags) + component?.setPeer(_peer) + return _peer + } + rowsGapAttribute(value: LengthMetrics): void { + ArkUIGeneratedNativeModule._LazyGridLayoutAttribute_rowsGap(this.peer.ptr, toPeerPtr(value)) + } + columnsGapAttribute(value: LengthMetrics): void { + ArkUIGeneratedNativeModule._LazyGridLayoutAttribute_columnsGap(this.peer.ptr, toPeerPtr(value)) + } +} +export class ArkLazyVGridLayoutPeer extends ArkLazyGridLayoutPeer { + protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { + super(peerPtr, id, name, flags) + } + public static create(component?: ComponentBase, flags: int32 = 0): ArkLazyVGridLayoutPeer { + const peerId = PeerNode.nextId() + const _peerPtr = ArkUIGeneratedNativeModule._LazyVGridLayout_construct(peerId, flags) + const _peer = new ArkLazyVGridLayoutPeer(_peerPtr, peerId, "LazyVGridLayout", flags) + component?.setPeer(_peer) + return _peer + } + setLazyVGridLayoutOptionsAttribute(): void { + ArkUIGeneratedNativeModule._LazyVGridLayoutInterface_setLazyVGridLayoutOptions(this.peer.ptr) + } + columnsTemplateAttribute(value: string): void { + ArkUIGeneratedNativeModule._LazyVGridLayoutAttribute_columnsTemplate(this.peer.ptr, value) + } +} + +export interface LazyGridLayoutAttribute extends CommonMethod { + rowsGap(value: LengthMetrics): this + columnsGap(value: LengthMetrics): this + attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this +} +export interface UILazyGridLayoutAttribute extends UICommonMethod { + /** @memo */ + rowsGap(value: LengthMetrics): this + /** @memo */ + columnsGap(value: LengthMetrics): this + /** @memo */ + attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this +} +export class ArkLazyGridLayoutStyle extends ArkCommonMethodStyle implements LazyGridLayoutAttribute { + rowsGap_value?: LengthMetrics + columnsGap_value?: LengthMetrics + public rowsGap(value: LengthMetrics): this { + return this + } + public columnsGap(value: LengthMetrics): this { + return this + } + public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { + throw new Error("Not implemented") + } +} +export interface LazyVGridLayoutAttribute extends LazyGridLayoutAttribute { + columnsTemplate(value: string): this + attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this +} +export interface UILazyVGridLayoutAttribute extends UILazyGridLayoutAttribute { + /** @memo */ + columnsTemplate(value: string): this + /** @memo */ + attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this +} +export class ArkLazyVGridLayoutStyle extends ArkLazyGridLayoutStyle implements LazyVGridLayoutAttribute { + columnsTemplate_value?: string + public columnsTemplate(value: string): this { + return this + } + public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { + throw new Error("Not implemented") + } +} +/** @memo:stable */ +export class ArkLazyGridLayoutComponent extends ArkCommonMethodComponent implements UILazyGridLayoutAttribute { + protected getPeer(): ArkLazyGridLayoutPeer { + return (this.peer as ArkLazyGridLayoutPeer) + } + /** @memo */ + public rowsGap(value: LengthMetrics): this { + if (this.checkPriority("rowsGap")) { + const value_casted = value as (LengthMetrics) + this.getPeer()?.rowsGapAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public columnsGap(value: LengthMetrics): this { + if (this.checkPriority("columnsGap")) { + const value_casted = value as (LengthMetrics) + this.getPeer()?.columnsGapAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { + console.log("attributeModifier() not implemented") + return this + } + public applyAttributesFinish(): void { + // we call this function outside of class, so need to make it public + super.applyAttributesFinish() + } +} +/** @memo:stable */ +export class ArkLazyVGridLayoutComponent extends ArkLazyGridLayoutComponent implements UILazyVGridLayoutAttribute { + protected getPeer(): ArkLazyVGridLayoutPeer { + return (this.peer as ArkLazyVGridLayoutPeer) + } + /** @memo */ + public setLazyVGridLayoutOptions(): this { + if (this.checkPriority("setLazyVGridLayoutOptions")) { + this.getPeer()?.setLazyVGridLayoutOptionsAttribute() + return this + } + return this + } + /** @memo */ + public columnsTemplate(value: string): this { + if (this.checkPriority("columnsTemplate")) { + const value_casted = value as (string) + this.getPeer()?.columnsTemplateAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public attributeModifier(value: AttributeModifier | AttributeModifier | AttributeModifier | undefined): this { + console.log("attributeModifier() not implemented") + return this + } + public applyAttributesFinish(): void { + // we call this function outside of class, so need to make it public + super.applyAttributesFinish() + } +} +/** @memo */ +export function ArkLazyVGridLayout( + /** @memo */ + style: ((attributes: UILazyVGridLayoutAttribute) => void) | undefined, + /** @memo */ + content_: (() => void) | undefined, + +) { + const receiver = remember(() => { + return new ArkLazyVGridLayoutComponent() + }) + NodeAttach((): ArkLazyVGridLayoutPeer => ArkLazyVGridLayoutPeer.create(receiver), (_: ArkLazyVGridLayoutPeer) => { + receiver.setLazyVGridLayoutOptions() + style?.(receiver) + content_?.() + receiver.applyAttributesFinish() + }) +} diff --git a/arkoala/arkui/src/generated/list.ts b/arkoala/arkui/src/generated/list.ts index b776c2defe..05b84b4da4 100644 --- a/arkoala/arkui/src/generated/list.ts +++ b/arkoala/arkui/src/generated/list.ts @@ -143,6 +143,9 @@ export class ArkListPeer extends ArkScrollableCommonMethodPeer { maintainVisibleContentPositionAttribute(value: boolean): void { ArkUIGeneratedNativeModule._ListAttribute_maintainVisibleContentPosition(this.peer.ptr, +value) } + stackFromEndAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._ListAttribute_stackFromEnd(this.peer.ptr, +value) + } onScrollAttribute(value: ((first: number, last: number) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -245,42 +248,7 @@ export class ArkListPeer extends ArkScrollableCommonMethodPeer { else if (RuntimeType.OBJECT == value_type) { thisSerializer.writeInt8(1) const value_1 = unsafeCast(value) - const value_1_minLength = value_1.minLength - let value_1_minLength_type: int32 = RuntimeType.UNDEFINED - value_1_minLength_type = runtimeType(value_1_minLength) - if (RuntimeType.STRING == value_1_minLength_type) { - thisSerializer.writeInt8(0) - const value_1_minLength_0 = unsafeCast(value_1_minLength) - thisSerializer.writeString(value_1_minLength_0) - } - else if (RuntimeType.NUMBER == value_1_minLength_type) { - thisSerializer.writeInt8(1) - const value_1_minLength_1 = unsafeCast(value_1_minLength) - thisSerializer.writeNumber(value_1_minLength_1) - } - else if (RuntimeType.OBJECT == value_1_minLength_type) { - thisSerializer.writeInt8(2) - const value_1_minLength_2 = unsafeCast(value_1_minLength) - thisSerializer.writeResource(value_1_minLength_2) - } - const value_1_maxLength = value_1.maxLength - let value_1_maxLength_type: int32 = RuntimeType.UNDEFINED - value_1_maxLength_type = runtimeType(value_1_maxLength) - if (RuntimeType.STRING == value_1_maxLength_type) { - thisSerializer.writeInt8(0) - const value_1_maxLength_0 = unsafeCast(value_1_maxLength) - thisSerializer.writeString(value_1_maxLength_0) - } - else if (RuntimeType.NUMBER == value_1_maxLength_type) { - thisSerializer.writeInt8(1) - const value_1_maxLength_1 = unsafeCast(value_1_maxLength) - thisSerializer.writeNumber(value_1_maxLength_1) - } - else if (RuntimeType.OBJECT == value_1_maxLength_type) { - thisSerializer.writeInt8(2) - const value_1_maxLength_2 = unsafeCast(value_1_maxLength) - thisSerializer.writeResource(value_1_maxLength_2) - } + thisSerializer.writeLengthConstrain(value_1) } let gutter_type: int32 = RuntimeType.UNDEFINED gutter_type = runtimeType(gutter) @@ -413,6 +381,7 @@ export interface ListAttribute extends ScrollableCommonMethod { friction(value: number | Resource): this childrenMainSize(value: ChildrenMainSize): this maintainVisibleContentPosition(value: boolean): this + stackFromEnd(value: boolean): this onScroll(value: ((first: number, last: number) => void)): this onScrollIndex(value: ((start: number, end: number, center: number) => void)): this onScrollVisibleContentChange(value: OnScrollVisibleContentChangeCallback): this @@ -470,6 +439,8 @@ export interface UIListAttribute extends UIScrollableCommonMethod { /** @memo */ maintainVisibleContentPosition(value: boolean): this /** @memo */ + stackFromEnd(value: boolean): this + /** @memo */ onScroll(value: ((first: number, last: number) => void)): this /** @memo */ onScrollIndex(value: ((start: number, end: number, center: number) => void)): this @@ -525,6 +496,7 @@ export class ArkListStyle extends ArkScrollableCommonMethodStyle implements List friction_value?: number | Resource childrenMainSize_value?: ChildrenMainSize maintainVisibleContentPosition_value?: boolean + stackFromEnd_value?: boolean onScroll_value?: ((first: number, last: number) => void) onScrollIndex_value?: ((start: number, end: number, center: number) => void) onScrollVisibleContentChange_value?: OnScrollVisibleContentChangeCallback @@ -594,6 +566,9 @@ export class ArkListStyle extends ArkScrollableCommonMethodStyle implements List public maintainVisibleContentPosition(value: boolean): this { return this } + public stackFromEnd(value: boolean): this { + return this + } public onScroll(value: ((first: number, last: number) => void)): this { return this } @@ -828,6 +803,15 @@ export class ArkListComponent extends ArkScrollableCommonMethodComponent impleme return this } /** @memo */ + public stackFromEnd(value: boolean): this { + if (this.checkPriority("stackFromEnd")) { + const value_casted = value as (boolean) + this.getPeer()?.stackFromEndAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onScroll(value: ((first: number, last: number) => void)): this { if (this.checkPriority("onScroll")) { const value_casted = value as (((first: number, last: number) => void)) diff --git a/arkoala/arkui/src/generated/list_item.ts b/arkoala/arkui/src/generated/list_item.ts index d2f0f4f2cc..b27b1a1fd4 100644 --- a/arkoala/arkui/src/generated/list_item.ts +++ b/arkoala/arkui/src/generated/list_item.ts @@ -28,6 +28,7 @@ import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { Deserializer } from "./peers/Deserializer" +import { ComponentContent } from "./AllMaterialized" import { Length } from "./units" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" @@ -141,6 +142,7 @@ export enum SwipeActionState { export type Callback_SwipeActionState_Void = (state: SwipeActionState) => void; export interface SwipeActionItem { builder?: CustomBuilder; + builderComponent?: ComponentContent; actionAreaDistance?: Length; onAction?: (() => void); onEnterActionArea?: (() => void); diff --git a/arkoala/arkui/src/generated/location_button.ts b/arkoala/arkui/src/generated/location_button.ts index 9d598472d1..df37d3524a 100644 --- a/arkoala/arkui/src/generated/location_button.ts +++ b/arkoala/arkui/src/generated/location_button.ts @@ -23,6 +23,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkSecurityComponentMethodPeer, SecurityComponentMethod, ArkSecurityComponentMethodComponent, ArkSecurityComponentMethodStyle, UISecurityComponentMethod } from "./security_component" import { ClickEvent } from "./AllMaterialized" +import { BusinessError } from "./base" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" import { CallbackKind } from "./peers/CallbackKind" @@ -52,7 +53,7 @@ export class ArkLocationButtonPeer extends ArkSecurityComponentMethodPeer { ArkUIGeneratedNativeModule._LocationButtonInterface_setLocationButtonOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onClickAttribute(value: ((event: ClickEvent, result: LocationButtonOnClickResult) => void)): void { + onClickAttribute(value: LocationButtonCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._LocationButtonAttribute_onClick(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) @@ -86,20 +87,20 @@ export enum LocationButtonOnClickResult { TEMPORARY_AUTHORIZATION_FAILED = 1, } -export type Callback_ClickEvent_LocationButtonOnClickResult_Void = (event: ClickEvent, result: LocationButtonOnClickResult) => void; +export type LocationButtonCallback = (event: ClickEvent, result: LocationButtonOnClickResult, error?: BusinessError) => void; export interface LocationButtonAttribute extends SecurityComponentMethod { - onClick(value: ((event: ClickEvent, result: LocationButtonOnClickResult) => void)): this + onClick(value: LocationButtonCallback): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UILocationButtonAttribute extends UISecurityComponentMethod { /** @memo */ - onClick(value: ((event: ClickEvent, result: LocationButtonOnClickResult) => void)): this + onClick(value: LocationButtonCallback): this /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkLocationButtonStyle extends ArkSecurityComponentMethodStyle implements LocationButtonAttribute { - onClick_value?: ((event: ClickEvent, result: LocationButtonOnClickResult) => void) - public onClick(value: ((event: ClickEvent, result: LocationButtonOnClickResult) => void)): this { + onClick_value?: LocationButtonCallback + public onClick(value: LocationButtonCallback): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -121,9 +122,9 @@ export class ArkLocationButtonComponent extends ArkSecurityComponentMethodCompon return this } /** @memo */ - public onClick(value: ((event: ClickEvent, result: LocationButtonOnClickResult) => void)): this { + public onClick(value: LocationButtonCallback): this { if (this.checkPriority("onClick")) { - const value_casted = value as (((event: ClickEvent, result: LocationButtonOnClickResult) => void)) + const value_casted = value as (LocationButtonCallback) this.getPeer()?.onClickAttribute(value_casted) return this } diff --git a/arkoala/arkui/src/generated/menu.ts b/arkoala/arkui/src/generated/menu.ts index 2fb30b138a..9a09caf51f 100644 --- a/arkoala/arkui/src/generated/menu.ts +++ b/arkoala/arkui/src/generated/menu.ts @@ -130,102 +130,7 @@ export class ArkMenuPeer extends ArkCommonMethodPeer { else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("topLeft")) || (value!.hasOwnProperty("topRight")) || (value!.hasOwnProperty("bottomLeft")) || (value!.hasOwnProperty("bottomRight"))))) { thisSerializer.writeInt8(1) const value_1 = unsafeCast(value) - const value_1_topLeft = value_1.topLeft - let value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_1_topLeft_type = runtimeType(value_1_topLeft) - thisSerializer.writeInt8(value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_1_topLeft_type)) { - const value_1_topLeft_value = value_1_topLeft! - let value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_1_topLeft_value_type = runtimeType(value_1_topLeft_value) - if (RuntimeType.STRING == value_1_topLeft_value_type) { - thisSerializer.writeInt8(0) - const value_1_topLeft_value_0 = unsafeCast(value_1_topLeft_value) - thisSerializer.writeString(value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_1_topLeft_value_type) { - thisSerializer.writeInt8(1) - const value_1_topLeft_value_1 = unsafeCast(value_1_topLeft_value) - thisSerializer.writeNumber(value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_1_topLeft_value_type) { - thisSerializer.writeInt8(2) - const value_1_topLeft_value_2 = unsafeCast(value_1_topLeft_value) - thisSerializer.writeResource(value_1_topLeft_value_2) - } - } - const value_1_topRight = value_1.topRight - let value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_1_topRight_type = runtimeType(value_1_topRight) - thisSerializer.writeInt8(value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_1_topRight_type)) { - const value_1_topRight_value = value_1_topRight! - let value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_1_topRight_value_type = runtimeType(value_1_topRight_value) - if (RuntimeType.STRING == value_1_topRight_value_type) { - thisSerializer.writeInt8(0) - const value_1_topRight_value_0 = unsafeCast(value_1_topRight_value) - thisSerializer.writeString(value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_1_topRight_value_type) { - thisSerializer.writeInt8(1) - const value_1_topRight_value_1 = unsafeCast(value_1_topRight_value) - thisSerializer.writeNumber(value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_1_topRight_value_type) { - thisSerializer.writeInt8(2) - const value_1_topRight_value_2 = unsafeCast(value_1_topRight_value) - thisSerializer.writeResource(value_1_topRight_value_2) - } - } - const value_1_bottomLeft = value_1.bottomLeft - let value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_1_bottomLeft_type = runtimeType(value_1_bottomLeft) - thisSerializer.writeInt8(value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_1_bottomLeft_type)) { - const value_1_bottomLeft_value = value_1_bottomLeft! - let value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_1_bottomLeft_value_type = runtimeType(value_1_bottomLeft_value) - if (RuntimeType.STRING == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(0) - const value_1_bottomLeft_value_0 = unsafeCast(value_1_bottomLeft_value) - thisSerializer.writeString(value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(1) - const value_1_bottomLeft_value_1 = unsafeCast(value_1_bottomLeft_value) - thisSerializer.writeNumber(value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_1_bottomLeft_value_type) { - thisSerializer.writeInt8(2) - const value_1_bottomLeft_value_2 = unsafeCast(value_1_bottomLeft_value) - thisSerializer.writeResource(value_1_bottomLeft_value_2) - } - } - const value_1_bottomRight = value_1.bottomRight - let value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_1_bottomRight_type = runtimeType(value_1_bottomRight) - thisSerializer.writeInt8(value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_1_bottomRight_type)) { - const value_1_bottomRight_value = value_1_bottomRight! - let value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_1_bottomRight_value_type = runtimeType(value_1_bottomRight_value) - if (RuntimeType.STRING == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(0) - const value_1_bottomRight_value_0 = unsafeCast(value_1_bottomRight_value) - thisSerializer.writeString(value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(1) - const value_1_bottomRight_value_1 = unsafeCast(value_1_bottomRight_value) - thisSerializer.writeNumber(value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_1_bottomRight_value_type) { - thisSerializer.writeInt8(2) - const value_1_bottomRight_value_2 = unsafeCast(value_1_bottomRight_value) - thisSerializer.writeResource(value_1_bottomRight_value_2) - } - } + thisSerializer.writeBorderRadiuses(value_1) } ArkUIGeneratedNativeModule._MenuAttribute_radius(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() diff --git a/arkoala/arkui/src/generated/nav_destination.ts b/arkoala/arkui/src/generated/nav_destination.ts index 37d3f9da78..e26f3fcd83 100644 --- a/arkoala/arkui/src/generated/nav_destination.ts +++ b/arkoala/arkui/src/generated/nav_destination.ts @@ -21,14 +21,14 @@ import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType import { Serializer } from "./peers/Serializer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, BlurStyle, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { ResourceStr, Length, ResourceColor } from "./units" -import { PixelMap, NavDestinationContext, LengthMetrics } from "./AllMaterialized" +import { PixelMap, NavDestinationContext, Scroller, LengthMetrics } from "./AllMaterialized" import { SymbolGlyphModifier, TextModifier } from "./arkui-external" -import { NavigationMenuItem, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions, BarStyle, ToolbarItemStatus } from "./navigation" +import { NavigationMenuItem, NavigationOperation, NavigationTitleOptions, NavigationMenuOptions, ToolbarItem, NavigationToolbarOptions, BarStyle, MoreButtonOptions, ToolbarItemStatus } from "./navigation" import { SystemBarStyle } from "./arkui-custom" import { Resource } from "./resource" -import { TitleHeight, Color } from "./enums" +import { TitleHeight, Color, Curve } from "./enums" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" import { CallbackKind } from "./peers/CallbackKind" @@ -57,6 +57,18 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { hideTitleBar1Attribute(hide: boolean, animated: boolean): void { ArkUIGeneratedNativeModule._NavDestinationAttribute_hideTitleBar1(this.peer.ptr, +hide, +animated) } + hideBackButtonAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_hideBackButton(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onShownAttribute(value: (() => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -75,10 +87,22 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._NavDestinationAttribute_onBackPressed(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onResultAttribute(value: ((parameter: Object) => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_onResult(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } modeAttribute(value: NavDestinationMode): void { ArkUIGeneratedNativeModule._NavDestinationAttribute_mode(this.peer.ptr, value.valueOf()) } - backButtonIconAttribute(value: ResourceStr | PixelMap | SymbolGlyphModifier): void { + backButtonIcon0Attribute(value: ResourceStr | PixelMap | SymbolGlyphModifier): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -108,10 +132,61 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { const value_2 = unsafeCast(value) thisSerializer.writeSymbolGlyphModifier(value_2) } - ArkUIGeneratedNativeModule._NavDestinationAttribute_backButtonIcon(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._NavDestinationAttribute_backButtonIcon0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backButtonIcon1Attribute(icon: ResourceStr | PixelMap | SymbolGlyphModifier, accessibilityText?: ResourceStr): void { + const thisSerializer: Serializer = Serializer.hold() + let icon_type: int32 = RuntimeType.UNDEFINED + icon_type = runtimeType(icon) + if ((RuntimeType.STRING == icon_type) || (RuntimeType.OBJECT == icon_type)) { + thisSerializer.writeInt8(0) + const icon_0 = unsafeCast(icon) + let icon_0_type: int32 = RuntimeType.UNDEFINED + icon_0_type = runtimeType(icon_0) + if (RuntimeType.STRING == icon_0_type) { + thisSerializer.writeInt8(0) + const icon_0_0 = unsafeCast(icon_0) + thisSerializer.writeString(icon_0_0) + } + else if (RuntimeType.OBJECT == icon_0_type) { + thisSerializer.writeInt8(1) + const icon_0_1 = unsafeCast(icon_0) + thisSerializer.writeResource(icon_0_1) + } + } + else if (((RuntimeType.OBJECT) == (icon_type)) && ((icon!.hasOwnProperty("isEditable")))) { + thisSerializer.writeInt8(1) + const icon_1 = unsafeCast(icon) + thisSerializer.writePixelMap(icon_1) + } + else if (RuntimeType.OBJECT == icon_type) { + thisSerializer.writeInt8(2) + const icon_2 = unsafeCast(icon) + thisSerializer.writeSymbolGlyphModifier(icon_2) + } + let accessibilityText_type: int32 = RuntimeType.UNDEFINED + accessibilityText_type = runtimeType(accessibilityText) + thisSerializer.writeInt8(accessibilityText_type) + if ((RuntimeType.UNDEFINED) != (accessibilityText_type)) { + const accessibilityText_value = accessibilityText! + let accessibilityText_value_type: int32 = RuntimeType.UNDEFINED + accessibilityText_value_type = runtimeType(accessibilityText_value) + if (RuntimeType.STRING == accessibilityText_value_type) { + thisSerializer.writeInt8(0) + const accessibilityText_value_0 = unsafeCast(accessibilityText_value) + thisSerializer.writeString(accessibilityText_value_0) + } + else if (RuntimeType.OBJECT == accessibilityText_value_type) { + thisSerializer.writeInt8(1) + const accessibilityText_value_1 = unsafeCast(accessibilityText_value) + thisSerializer.writeResource(accessibilityText_value_1) + } + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_backButtonIcon1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - menusAttribute(value: Array | CustomBuilder): void { + menus0Attribute(value: Array | CustomBuilder): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -129,7 +204,35 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { const value_1 = unsafeCast(value) thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_1)) } - ArkUIGeneratedNativeModule._NavDestinationAttribute_menus(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._NavDestinationAttribute_menus0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menus1Attribute(items: Array | CustomBuilder, options?: NavigationMenuOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let items_type: int32 = RuntimeType.UNDEFINED + items_type = runtimeType(items) + if (RuntimeType.OBJECT == items_type) { + thisSerializer.writeInt8(0) + const items_0 = unsafeCast>(items) + thisSerializer.writeInt32(items_0.length) + for (let i = 0; i < items_0.length; i++) { + const items_0_element: NavigationMenuItem = items_0[i] + thisSerializer.writeNavigationMenuItem(items_0_element) + } + } + else if (RuntimeType.FUNCTION == items_type) { + thisSerializer.writeInt8(1) + const items_1 = unsafeCast(items) + thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(items_1)) + } + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeNavigationMenuOptions(options_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_menus1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onReadyAttribute(value: ((parameter: NavDestinationContext) => void)): void { @@ -189,6 +292,92 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { systemTransitionAttribute(value: NavigationSystemTransitionType): void { ArkUIGeneratedNativeModule._NavDestinationAttribute_systemTransition(this.peer.ptr, value.valueOf()) } + bindToScrollableAttribute(value: Array): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(value.length) + for (let i = 0; i < value.length; i++) { + const value_element: Scroller = value[i] + thisSerializer.writeScroller(value_element) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_bindToScrollable(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + bindToNestedScrollableAttribute(value: Array): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(value.length) + for (let i = 0; i < value.length; i++) { + const value_element: NestedScrollInfo = value[i] + thisSerializer.writeNestedScrollInfo(value_element) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_bindToNestedScrollable(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onActiveAttribute(value: ((parameter: NavDestinationActiveReason) => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_onActive(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onInactiveAttribute(value: ((parameter: NavDestinationActiveReason) => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_onInactive(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + customTransitionAttribute(value: NavDestinationTransitionDelegate): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._NavDestinationAttribute_customTransition(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onNewParamAttribute(value: ((parameter: Object) => void) | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_onNewParam(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + preferredOrientationAttribute(value: Orientation | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeOrientation(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_preferredOrientation(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + enableNavigationIndicatorAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_enableNavigationIndicator(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } titleAttribute(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource, options?: NavigationTitleOptions): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED @@ -295,6 +484,28 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._NavDestinationAttribute_ignoreLayoutSafeArea(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + enableStatusBarAttribute(enabled: boolean | undefined, animated?: boolean): void { + const thisSerializer: Serializer = Serializer.hold() + let enabled_type: int32 = RuntimeType.UNDEFINED + enabled_type = runtimeType(enabled) + thisSerializer.writeInt8(enabled_type) + if ((RuntimeType.UNDEFINED) != (enabled_type)) { + const enabled_value = enabled! + thisSerializer.writeBoolean(enabled_value) + } + let animated_type: int32 = RuntimeType.UNDEFINED + animated_type = runtimeType(animated) + thisSerializer.writeInt8(animated_type) + if ((RuntimeType.UNDEFINED) != (animated_type)) { + const animated_value = animated! + thisSerializer.writeBoolean(animated_value) + } + ArkUIGeneratedNativeModule._NavDestinationAttribute_enableStatusBar(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } +} +export interface Orientation { + _OrientationStub: string; } export interface NavDestinationCommonTitle { main: string | Resource; @@ -309,26 +520,53 @@ export enum NavigationSystemTransitionType { NONE = 1, TITLE = 2, CONTENT = 3, + FADE = 4, + EXPLODE = 5, + SLIDE_RIGHT = 6, + SLIDE_BOTTOM = 7, } export enum NavDestinationMode { STANDARD, DIALOG = 1, } +export enum NavDestinationActiveReason { + TRANSITION, + CONTENT_COVER = 1, + SHEET = 2, + DIALOG = 3, + OVERLAY = 4, + APP_STATE = 5, +} export interface RouteMapConfig { name: string; pageSourceFile: string; data: Object; } +export interface NestedScrollInfo { + parent: Scroller; + child: Scroller; +} +export interface NavDestinationTransition { + onTransitionEnd?: (() => void); + duration?: number; + curve?: Curve; + delay?: number; + event: (() => void); +} export type Callback_Boolean = () => boolean; +export type Callback_Object_Void = (parameter: Object) => void; +export type Callback_NavDestinationActiveReason_Void = (parameter: NavDestinationActiveReason) => void; export interface NavDestinationAttribute extends CommonMethod { hideTitleBar(hide: boolean, animated?: boolean): this + hideBackButton(value: boolean | undefined): this onShown(value: (() => void)): this onHidden(value: (() => void)): this onBackPressed(value: (() => boolean)): this + onResult(value: ((parameter: Object) => void) | undefined): this mode(value: NavDestinationMode): this - backButtonIcon(value: ResourceStr | PixelMap | SymbolGlyphModifier): this - menus(value: Array | CustomBuilder): this + backButtonIcon(icon: ResourceStr | PixelMap | SymbolGlyphModifier, accessibilityText?: ResourceStr): this + menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this onReady(value: ((parameter: NavDestinationContext) => void)): this onWillAppear(value: (() => void)): this onWillDisappear(value: (() => void)): this @@ -337,27 +575,40 @@ export interface NavDestinationAttribute extends CommonMethod { systemBarStyle(value: SystemBarStyle | undefined): this recoverable(value: boolean | undefined): this systemTransition(value: NavigationSystemTransitionType): this + bindToScrollable(value: Array): this + bindToNestedScrollable(value: Array): this + onActive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this + onInactive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this + customTransition(value: NavDestinationTransitionDelegate): this + onNewParam(value: ((parameter: Object) => void) | undefined): this + preferredOrientation(value: Orientation | undefined): this + enableNavigationIndicator(value: boolean | undefined): this title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource, options?: NavigationTitleOptions): this toolbarConfiguration(toolbarParam: Array | CustomBuilder, options?: NavigationToolbarOptions): this hideToolBar(hide: boolean, animated?: boolean): this ignoreLayoutSafeArea(types?: Array, edges?: Array): this + enableStatusBar(enabled: boolean | undefined, animated?: boolean): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UINavDestinationAttribute extends UICommonMethod { /** @memo */ hideTitleBar(hide: boolean, animated?: boolean): this /** @memo */ + hideBackButton(value: boolean | undefined): this + /** @memo */ onShown(value: (() => void)): this /** @memo */ onHidden(value: (() => void)): this /** @memo */ onBackPressed(value: (() => boolean)): this /** @memo */ + onResult(value: ((parameter: Object) => void) | undefined): this + /** @memo */ mode(value: NavDestinationMode): this /** @memo */ - backButtonIcon(value: ResourceStr | PixelMap | SymbolGlyphModifier): this + backButtonIcon(icon: ResourceStr | PixelMap | SymbolGlyphModifier, accessibilityText?: ResourceStr): this /** @memo */ - menus(value: Array | CustomBuilder): this + menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this /** @memo */ onReady(value: ((parameter: NavDestinationContext) => void)): this /** @memo */ @@ -375,6 +626,22 @@ export interface UINavDestinationAttribute extends UICommonMethod { /** @memo */ systemTransition(value: NavigationSystemTransitionType): this /** @memo */ + bindToScrollable(value: Array): this + /** @memo */ + bindToNestedScrollable(value: Array): this + /** @memo */ + onActive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this + /** @memo */ + onInactive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this + /** @memo */ + customTransition(value: NavDestinationTransitionDelegate): this + /** @memo */ + onNewParam(value: ((parameter: Object) => void) | undefined): this + /** @memo */ + preferredOrientation(value: Orientation | undefined): this + /** @memo */ + enableNavigationIndicator(value: boolean | undefined): this + /** @memo */ title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource, options?: NavigationTitleOptions): this /** @memo */ toolbarConfiguration(toolbarParam: Array | CustomBuilder, options?: NavigationToolbarOptions): this @@ -383,13 +650,17 @@ export interface UINavDestinationAttribute extends UICommonMethod { /** @memo */ ignoreLayoutSafeArea(types?: Array, edges?: Array): this /** @memo */ + enableStatusBar(enabled: boolean | undefined, animated?: boolean): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkNavDestinationStyle extends ArkCommonMethodStyle implements NavDestinationAttribute { hideTitleBar_value?: boolean + hideBackButton_value?: boolean | undefined onShown_value?: (() => void) onHidden_value?: (() => void) onBackPressed_value?: (() => boolean) + onResult_value?: ((parameter: Object) => void) | undefined mode_value?: NavDestinationMode backButtonIcon_value?: ResourceStr | PixelMap | SymbolGlyphModifier menus_value?: Array | CustomBuilder @@ -401,9 +672,20 @@ export class ArkNavDestinationStyle extends ArkCommonMethodStyle implements NavD systemBarStyle_value?: SystemBarStyle | undefined recoverable_value?: boolean | undefined systemTransition_value?: NavigationSystemTransitionType + bindToScrollable_value?: Array + bindToNestedScrollable_value?: Array + onActive_value?: ((parameter: NavDestinationActiveReason) => void) | undefined + onInactive_value?: ((parameter: NavDestinationActiveReason) => void) | undefined + customTransition_value?: NavDestinationTransitionDelegate + onNewParam_value?: ((parameter: Object) => void) | undefined + preferredOrientation_value?: Orientation | undefined + enableNavigationIndicator_value?: boolean | undefined public hideTitleBar(hide: boolean, animated?: boolean): this { return this } + public hideBackButton(value: boolean | undefined): this { + return this + } public onShown(value: (() => void)): this { return this } @@ -413,13 +695,16 @@ export class ArkNavDestinationStyle extends ArkCommonMethodStyle implements NavD public onBackPressed(value: (() => boolean)): this { return this } + public onResult(value: ((parameter: Object) => void) | undefined): this { + return this + } public mode(value: NavDestinationMode): this { return this } - public backButtonIcon(value: ResourceStr | PixelMap | SymbolGlyphModifier): this { + public backButtonIcon(icon: ResourceStr | PixelMap | SymbolGlyphModifier, accessibilityText?: ResourceStr): this { return this } - public menus(value: Array | CustomBuilder): this { + public menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this { return this } public onReady(value: ((parameter: NavDestinationContext) => void)): this { @@ -446,6 +731,30 @@ export class ArkNavDestinationStyle extends ArkCommonMethodStyle implements NavD public systemTransition(value: NavigationSystemTransitionType): this { return this } + public bindToScrollable(value: Array): this { + return this + } + public bindToNestedScrollable(value: Array): this { + return this + } + public onActive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this { + return this + } + public onInactive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this { + return this + } + public customTransition(value: NavDestinationTransitionDelegate): this { + return this + } + public onNewParam(value: ((parameter: Object) => void) | undefined): this { + return this + } + public preferredOrientation(value: Orientation | undefined): this { + return this + } + public enableNavigationIndicator(value: boolean | undefined): this { + return this + } public title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource, options?: NavigationTitleOptions): this { return this } @@ -458,10 +767,14 @@ export class ArkNavDestinationStyle extends ArkCommonMethodStyle implements NavD public ignoreLayoutSafeArea(types?: Array, edges?: Array): this { return this } + public enableStatusBar(enabled: boolean | undefined, animated?: boolean): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } } +export type NavDestinationTransitionDelegate = (operation: NavigationOperation, isEnter: boolean) => Array | undefined; export type Callback_NavDestinationContext_Void = (parameter: NavDestinationContext) => void; /** @memo:stable */ export class ArkNavDestinationComponent extends ArkCommonMethodComponent implements UINavDestinationAttribute { @@ -488,6 +801,15 @@ export class ArkNavDestinationComponent extends ArkCommonMethodComponent impleme return this } /** @memo */ + public hideBackButton(value: boolean | undefined): this { + if (this.checkPriority("hideBackButton")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.hideBackButtonAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onShown(value: (() => void)): this { if (this.checkPriority("onShown")) { const value_casted = value as ((() => void)) @@ -515,6 +837,15 @@ export class ArkNavDestinationComponent extends ArkCommonMethodComponent impleme return this } /** @memo */ + public onResult(value: ((parameter: Object) => void) | undefined): this { + if (this.checkPriority("onResult")) { + const value_casted = value as (((parameter: Object) => void) | undefined) + this.getPeer()?.onResultAttribute(value_casted) + return this + } + return this + } + /** @memo */ public mode(value: NavDestinationMode): this { if (this.checkPriority("mode")) { const value_casted = value as (NavDestinationMode) @@ -524,20 +855,42 @@ export class ArkNavDestinationComponent extends ArkCommonMethodComponent impleme return this } /** @memo */ - public backButtonIcon(value: ResourceStr | PixelMap | SymbolGlyphModifier): this { + public backButtonIcon(icon: ResourceStr | PixelMap | SymbolGlyphModifier, accessibilityText?: ResourceStr): this { if (this.checkPriority("backButtonIcon")) { - const value_casted = value as (ResourceStr | PixelMap | SymbolGlyphModifier) - this.getPeer()?.backButtonIconAttribute(value_casted) - return this + const icon_type = runtimeType(icon) + const accessibilityText_type = runtimeType(accessibilityText) + if (((RuntimeType.STRING == icon_type) || (RuntimeType.OBJECT == icon_type)) || (((RuntimeType.OBJECT) == (icon_type)) && ((icon!.hasOwnProperty("isEditable")))) || (RuntimeType.OBJECT == icon_type)) { + const value_casted = icon as (ResourceStr | PixelMap | SymbolGlyphModifier) + this.getPeer()?.backButtonIcon0Attribute(value_casted) + return this + } + if (((RuntimeType.STRING == icon_type) || (RuntimeType.OBJECT == icon_type)) || (((RuntimeType.OBJECT) == (icon_type)) && ((icon!.hasOwnProperty("isEditable")))) || (RuntimeType.OBJECT == icon_type)) { + const icon_casted = icon as (ResourceStr | PixelMap | SymbolGlyphModifier) + const accessibilityText_casted = accessibilityText as (ResourceStr | undefined) + this.getPeer()?.backButtonIcon1Attribute(icon_casted, accessibilityText_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public menus(value: Array | CustomBuilder): this { + public menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this { if (this.checkPriority("menus")) { - const value_casted = value as (Array | CustomBuilder) - this.getPeer()?.menusAttribute(value_casted) - return this + const items_type = runtimeType(items) + const options_type = runtimeType(options) + if ((RuntimeType.OBJECT == items_type) || (RuntimeType.FUNCTION == items_type)) { + const value_casted = items as (Array | CustomBuilder) + this.getPeer()?.menus0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == items_type) || (RuntimeType.FUNCTION == items_type)) { + const items_casted = items as (Array | CustomBuilder) + const options_casted = options as (NavigationMenuOptions | undefined) + this.getPeer()?.menus1Attribute(items_casted, options_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -614,6 +967,78 @@ export class ArkNavDestinationComponent extends ArkCommonMethodComponent impleme return this } /** @memo */ + public bindToScrollable(value: Array): this { + if (this.checkPriority("bindToScrollable")) { + const value_casted = value as (Array) + this.getPeer()?.bindToScrollableAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public bindToNestedScrollable(value: Array): this { + if (this.checkPriority("bindToNestedScrollable")) { + const value_casted = value as (Array) + this.getPeer()?.bindToNestedScrollableAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onActive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this { + if (this.checkPriority("onActive")) { + const value_casted = value as (((parameter: NavDestinationActiveReason) => void) | undefined) + this.getPeer()?.onActiveAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onInactive(value: ((parameter: NavDestinationActiveReason) => void) | undefined): this { + if (this.checkPriority("onInactive")) { + const value_casted = value as (((parameter: NavDestinationActiveReason) => void) | undefined) + this.getPeer()?.onInactiveAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public customTransition(value: NavDestinationTransitionDelegate): this { + if (this.checkPriority("customTransition")) { + const value_casted = value as (NavDestinationTransitionDelegate) + this.getPeer()?.customTransitionAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onNewParam(value: ((parameter: Object) => void) | undefined): this { + if (this.checkPriority("onNewParam")) { + const value_casted = value as (((parameter: Object) => void) | undefined) + this.getPeer()?.onNewParamAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public preferredOrientation(value: Orientation | undefined): this { + if (this.checkPriority("preferredOrientation")) { + const value_casted = value as (Orientation | undefined) + this.getPeer()?.preferredOrientationAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableNavigationIndicator(value: boolean | undefined): this { + if (this.checkPriority("enableNavigationIndicator")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.enableNavigationIndicatorAttribute(value_casted) + return this + } + return this + } + /** @memo */ public title(value: string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource, options?: NavigationTitleOptions): this { if (this.checkPriority("title")) { const value_casted = value as (string | CustomBuilder | NavDestinationCommonTitle | NavDestinationCustomTitle | Resource) @@ -654,6 +1079,16 @@ export class ArkNavDestinationComponent extends ArkCommonMethodComponent impleme return this } /** @memo */ + public enableStatusBar(enabled: boolean | undefined, animated?: boolean): this { + if (this.checkPriority("enableStatusBar")) { + const enabled_casted = enabled as (boolean | undefined) + const animated_casted = animated as (boolean | undefined) + this.getPeer()?.enableStatusBarAttribute(enabled_casted, animated_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala/arkui/src/generated/navigation.ts b/arkoala/arkui/src/generated/navigation.ts index 946b7d4d5d..6dd6b6d133 100644 --- a/arkoala/arkui/src/generated/navigation.ts +++ b/arkoala/arkui/src/generated/navigation.ts @@ -21,7 +21,7 @@ import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType import { Serializer } from "./peers/Serializer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, BlurStyle, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { Length, Dimension, ResourceStr, ResourceColor } from "./units" import { PixelMap, LengthMetrics, NavPathStack, NavPathInfo, NavDestinationContext, NavigationTransitionProxy } from "./AllMaterialized" import { Resource } from "./resource" @@ -145,7 +145,7 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { modeAttribute(value: NavigationMode): void { ArkUIGeneratedNativeModule._NavigationAttribute_mode(this.peer.ptr, value.valueOf()) } - backButtonIconAttribute(value: string | PixelMap | Resource | SymbolGlyphModifier): void { + backButtonIcon0Attribute(value: string | PixelMap | Resource | SymbolGlyphModifier): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -169,7 +169,52 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeSymbolGlyphModifier(value_3) } - ArkUIGeneratedNativeModule._NavigationAttribute_backButtonIcon(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._NavigationAttribute_backButtonIcon0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + backButtonIcon1Attribute(icon: string | PixelMap | Resource | SymbolGlyphModifier, accessibilityText?: ResourceStr): void { + const thisSerializer: Serializer = Serializer.hold() + let icon_type: int32 = RuntimeType.UNDEFINED + icon_type = runtimeType(icon) + if (RuntimeType.STRING == icon_type) { + thisSerializer.writeInt8(0) + const icon_0 = unsafeCast(icon) + thisSerializer.writeString(icon_0) + } + else if (((RuntimeType.OBJECT) == (icon_type)) && ((icon!.hasOwnProperty("isEditable")))) { + thisSerializer.writeInt8(1) + const icon_1 = unsafeCast(icon) + thisSerializer.writePixelMap(icon_1) + } + else if (((RuntimeType.OBJECT) == (icon_type)) && ((icon!.hasOwnProperty("bundleName")))) { + thisSerializer.writeInt8(2) + const icon_2 = unsafeCast(icon) + thisSerializer.writeResource(icon_2) + } + else if (RuntimeType.OBJECT == icon_type) { + thisSerializer.writeInt8(3) + const icon_3 = unsafeCast(icon) + thisSerializer.writeSymbolGlyphModifier(icon_3) + } + let accessibilityText_type: int32 = RuntimeType.UNDEFINED + accessibilityText_type = runtimeType(accessibilityText) + thisSerializer.writeInt8(accessibilityText_type) + if ((RuntimeType.UNDEFINED) != (accessibilityText_type)) { + const accessibilityText_value = accessibilityText! + let accessibilityText_value_type: int32 = RuntimeType.UNDEFINED + accessibilityText_value_type = runtimeType(accessibilityText_value) + if (RuntimeType.STRING == accessibilityText_value_type) { + thisSerializer.writeInt8(0) + const accessibilityText_value_0 = unsafeCast(accessibilityText_value) + thisSerializer.writeString(accessibilityText_value_0) + } + else if (RuntimeType.OBJECT == accessibilityText_value_type) { + thisSerializer.writeInt8(1) + const accessibilityText_value_1 = unsafeCast(accessibilityText_value) + thisSerializer.writeResource(accessibilityText_value_1) + } + } + ArkUIGeneratedNativeModule._NavigationAttribute_backButtonIcon1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } hideNavBarAttribute(value: boolean): void { @@ -190,7 +235,7 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { titleModeAttribute(value: NavigationTitleMode): void { ArkUIGeneratedNativeModule._NavigationAttribute_titleMode(this.peer.ptr, value.valueOf()) } - menusAttribute(value: Array | CustomBuilder): void { + menus0Attribute(value: Array | CustomBuilder): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -208,7 +253,35 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { const value_1 = unsafeCast(value) thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_1)) } - ArkUIGeneratedNativeModule._NavigationAttribute_menus(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._NavigationAttribute_menus0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menus1Attribute(items: Array | CustomBuilder, options?: NavigationMenuOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let items_type: int32 = RuntimeType.UNDEFINED + items_type = runtimeType(items) + if (RuntimeType.OBJECT == items_type) { + thisSerializer.writeInt8(0) + const items_0 = unsafeCast>(items) + thisSerializer.writeInt32(items_0.length) + for (let i = 0; i < items_0.length; i++) { + const items_0_element: NavigationMenuItem = items_0[i] + thisSerializer.writeNavigationMenuItem(items_0_element) + } + } + else if (RuntimeType.FUNCTION == items_type) { + thisSerializer.writeInt8(1) + const items_1 = unsafeCast(items) + thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(items_1)) + } + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeNavigationMenuOptions(options_value) + } + ArkUIGeneratedNativeModule._NavigationAttribute_menus1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } toolBarAttribute(value: CustomBuilder): void { @@ -223,6 +296,18 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { hideToolBar1Attribute(hide: boolean, animated: boolean): void { ArkUIGeneratedNativeModule._NavigationAttribute_hideToolBar1(this.peer.ptr, +hide, +animated) } + enableToolBarAdaptationAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._NavigationAttribute_enableToolBarAdaptation(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onTitleModeChangeAttribute(value: ((titleMode: NavigationTitleMode) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -241,7 +326,7 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._NavigationAttribute_onNavigationModeChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - navDestinationAttribute(value: ((name: string, param: unknown) => void)): void { + navDestinationAttribute(value: ((name: string, param: Object | undefined) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._NavigationAttribute_navDestination(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) @@ -289,6 +374,18 @@ export class ArkNavigationPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._NavigationAttribute_enableDragBar(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + enableModeChangeAnimationAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._NavigationAttribute_enableModeChangeAnimation(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } titleAttribute(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle, options?: NavigationTitleOptions): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED @@ -472,6 +569,8 @@ export interface ToolbarItem { export interface NavigationTitleOptions { backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; barStyle?: BarStyle; paddingStart?: LengthMetrics; paddingEnd?: LengthMetrics; @@ -487,7 +586,19 @@ export enum BarStyle { export interface NavigationToolbarOptions { backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; + moreButtonOptions?: MoreButtonOptions; barStyle?: BarStyle; + hideItemValue?: boolean; +} +export interface NavigationMenuOptions { + moreButtonOptions?: MoreButtonOptions; +} +export interface MoreButtonOptions { + backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; } export type Tuple_Dimension_Dimension = [ Dimension, @@ -496,7 +607,7 @@ export type Tuple_Dimension_Dimension = [ export type Callback_NavigationTitleMode_Void = (titleMode: NavigationTitleMode) => void; export type Callback_Boolean_Void = (isVisible: boolean) => void; export type Callback_NavigationMode_Void = (mode: NavigationMode) => void; -export type Callback_String_Unknown_Void = (name: string, param: unknown) => void; +export type Callback_String_Opt_Object_Void = (name: string, param: Object | undefined) => void; export type Type_NavigationAttribute_customNavContentTransition_delegate = (from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined; export interface NavigationAttribute extends CommonMethod { navBarWidth(value: Length): this @@ -504,23 +615,25 @@ export interface NavigationAttribute extends CommonMethod { navBarWidthRange(value: [ Dimension, Dimension ]): this minContentWidth(value: Dimension): this mode(value: NavigationMode): this - backButtonIcon(value: string | PixelMap | Resource | SymbolGlyphModifier): this + backButtonIcon(icon: string | PixelMap | Resource | SymbolGlyphModifier, accessibilityText?: ResourceStr): this hideNavBar(value: boolean): this subTitle(value: string): this hideTitleBar(hide: boolean, animated?: boolean): this hideBackButton(value: boolean): this titleMode(value: NavigationTitleMode): this - menus(value: Array | CustomBuilder): this + menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this toolBar(value: CustomBuilder): this hideToolBar(hide: boolean, animated?: boolean): this + enableToolBarAdaptation(value: boolean | undefined): this onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void)): this onNavBarStateChange(value: ((isVisible: boolean) => void)): this onNavigationModeChange(value: ((mode: NavigationMode) => void)): this - navDestination(value: ((name: string, param: unknown) => void)): this + navDestination(value: ((name: string, param: Object | undefined) => void)): this customNavContentTransition(value: ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined)): this systemBarStyle(value: SystemBarStyle | undefined): this recoverable(value: boolean | undefined): this enableDragBar(value: boolean | undefined): this + enableModeChangeAnimation(value: boolean | undefined): this title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle, options?: NavigationTitleOptions): this toolbarConfiguration(value: Array | CustomBuilder, options?: NavigationToolbarOptions): this ignoreLayoutSafeArea(types?: Array, edges?: Array): this @@ -538,7 +651,7 @@ export interface UINavigationAttribute extends UICommonMethod { /** @memo */ mode(value: NavigationMode): this /** @memo */ - backButtonIcon(value: string | PixelMap | Resource | SymbolGlyphModifier): this + backButtonIcon(icon: string | PixelMap | Resource | SymbolGlyphModifier, accessibilityText?: ResourceStr): this /** @memo */ hideNavBar(value: boolean): this /** @memo */ @@ -550,19 +663,21 @@ export interface UINavigationAttribute extends UICommonMethod { /** @memo */ titleMode(value: NavigationTitleMode): this /** @memo */ - menus(value: Array | CustomBuilder): this + menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this /** @memo */ toolBar(value: CustomBuilder): this /** @memo */ hideToolBar(hide: boolean, animated?: boolean): this /** @memo */ + enableToolBarAdaptation(value: boolean | undefined): this + /** @memo */ onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void)): this /** @memo */ onNavBarStateChange(value: ((isVisible: boolean) => void)): this /** @memo */ onNavigationModeChange(value: ((mode: NavigationMode) => void)): this /** @memo */ - navDestination(value: ((name: string, param: unknown) => void)): this + navDestination(value: ((name: string, param: Object | undefined) => void)): this /** @memo */ customNavContentTransition(value: ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined)): this /** @memo */ @@ -572,6 +687,8 @@ export interface UINavigationAttribute extends UICommonMethod { /** @memo */ enableDragBar(value: boolean | undefined): this /** @memo */ + enableModeChangeAnimation(value: boolean | undefined): this + /** @memo */ title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle, options?: NavigationTitleOptions): this /** @memo */ toolbarConfiguration(value: Array | CustomBuilder, options?: NavigationToolbarOptions): this @@ -595,14 +712,16 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati menus_value?: Array | CustomBuilder toolBar_value?: CustomBuilder hideToolBar_value?: boolean + enableToolBarAdaptation_value?: boolean | undefined onTitleModeChange_value?: ((titleMode: NavigationTitleMode) => void) onNavBarStateChange_value?: ((isVisible: boolean) => void) onNavigationModeChange_value?: ((mode: NavigationMode) => void) - navDestination_value?: ((name: string, param: unknown) => void) + navDestination_value?: ((name: string, param: Object | undefined) => void) customNavContentTransition_value?: ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined) systemBarStyle_value?: SystemBarStyle | undefined recoverable_value?: boolean | undefined enableDragBar_value?: boolean | undefined + enableModeChangeAnimation_value?: boolean | undefined public navBarWidth(value: Length): this { return this } @@ -618,7 +737,7 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati public mode(value: NavigationMode): this { return this } - public backButtonIcon(value: string | PixelMap | Resource | SymbolGlyphModifier): this { + public backButtonIcon(icon: string | PixelMap | Resource | SymbolGlyphModifier, accessibilityText?: ResourceStr): this { return this } public hideNavBar(value: boolean): this { @@ -636,7 +755,7 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati public titleMode(value: NavigationTitleMode): this { return this } - public menus(value: Array | CustomBuilder): this { + public menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this { return this } public toolBar(value: CustomBuilder): this { @@ -645,6 +764,9 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati public hideToolBar(hide: boolean, animated?: boolean): this { return this } + public enableToolBarAdaptation(value: boolean | undefined): this { + return this + } public onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void)): this { return this } @@ -654,7 +776,7 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati public onNavigationModeChange(value: ((mode: NavigationMode) => void)): this { return this } - public navDestination(value: ((name: string, param: unknown) => void)): this { + public navDestination(value: ((name: string, param: Object | undefined) => void)): this { return this } public customNavContentTransition(value: ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined)): this { @@ -669,6 +791,9 @@ export class ArkNavigationStyle extends ArkCommonMethodStyle implements Navigati public enableDragBar(value: boolean | undefined): this { return this } + public enableModeChangeAnimation(value: boolean | undefined): this { + return this + } public title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle, options?: NavigationTitleOptions): this { return this } @@ -757,11 +882,22 @@ export class ArkNavigationComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public backButtonIcon(value: string | PixelMap | Resource | SymbolGlyphModifier): this { + public backButtonIcon(icon: string | PixelMap | Resource | SymbolGlyphModifier, accessibilityText?: ResourceStr): this { if (this.checkPriority("backButtonIcon")) { - const value_casted = value as (string | PixelMap | Resource | SymbolGlyphModifier) - this.getPeer()?.backButtonIconAttribute(value_casted) - return this + const icon_type = runtimeType(icon) + const accessibilityText_type = runtimeType(accessibilityText) + if ((RuntimeType.STRING == icon_type) || (((RuntimeType.OBJECT) == (icon_type)) && ((icon!.hasOwnProperty("isEditable")))) || (((RuntimeType.OBJECT) == (icon_type)) && ((icon!.hasOwnProperty("bundleName")))) || (RuntimeType.OBJECT == icon_type)) { + const value_casted = icon as (string | PixelMap | Resource | SymbolGlyphModifier) + this.getPeer()?.backButtonIcon0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == icon_type) || (((RuntimeType.OBJECT) == (icon_type)) && ((icon!.hasOwnProperty("isEditable")))) || (((RuntimeType.OBJECT) == (icon_type)) && ((icon!.hasOwnProperty("bundleName")))) || (RuntimeType.OBJECT == icon_type)) { + const icon_casted = icon as (string | PixelMap | Resource | SymbolGlyphModifier) + const accessibilityText_casted = accessibilityText as (ResourceStr | undefined) + this.getPeer()?.backButtonIcon1Attribute(icon_casted, accessibilityText_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -813,11 +949,22 @@ export class ArkNavigationComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public menus(value: Array | CustomBuilder): this { + public menus(items: Array | CustomBuilder, options?: NavigationMenuOptions): this { if (this.checkPriority("menus")) { - const value_casted = value as (Array | CustomBuilder) - this.getPeer()?.menusAttribute(value_casted) - return this + const items_type = runtimeType(items) + const options_type = runtimeType(options) + if ((RuntimeType.OBJECT == items_type) || (RuntimeType.FUNCTION == items_type)) { + const value_casted = items as (Array | CustomBuilder) + this.getPeer()?.menus0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == items_type) || (RuntimeType.FUNCTION == items_type)) { + const items_casted = items as (Array | CustomBuilder) + const options_casted = options as (NavigationMenuOptions | undefined) + this.getPeer()?.menus1Attribute(items_casted, options_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -842,6 +989,15 @@ export class ArkNavigationComponent extends ArkCommonMethodComponent implements return this } /** @memo */ + public enableToolBarAdaptation(value: boolean | undefined): this { + if (this.checkPriority("enableToolBarAdaptation")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.enableToolBarAdaptationAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onTitleModeChange(value: ((titleMode: NavigationTitleMode) => void)): this { if (this.checkPriority("onTitleModeChange")) { const value_casted = value as (((titleMode: NavigationTitleMode) => void)) @@ -869,9 +1025,9 @@ export class ArkNavigationComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public navDestination(value: ((name: string, param: unknown) => void)): this { + public navDestination(value: ((name: string, param: Object | undefined) => void)): this { if (this.checkPriority("navDestination")) { - const value_casted = value as (((name: string, param: unknown) => void)) + const value_casted = value as (((name: string, param: Object | undefined) => void)) this.getPeer()?.navDestinationAttribute(value_casted) return this } @@ -914,6 +1070,15 @@ export class ArkNavigationComponent extends ArkCommonMethodComponent implements return this } /** @memo */ + public enableModeChangeAnimation(value: boolean | undefined): this { + if (this.checkPriority("enableModeChangeAnimation")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.enableModeChangeAnimationAttribute(value_casted) + return this + } + return this + } + /** @memo */ public title(value: ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle, options?: NavigationTitleOptions): this { if (this.checkPriority("title")) { const value_casted = value as (ResourceStr | CustomBuilder | NavigationCommonTitle | NavigationCustomTitle) diff --git a/arkoala/arkui/src/generated/paste_button.ts b/arkoala/arkui/src/generated/paste_button.ts index 904b8b80f9..68c0cba313 100644 --- a/arkoala/arkui/src/generated/paste_button.ts +++ b/arkoala/arkui/src/generated/paste_button.ts @@ -23,6 +23,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkSecurityComponentMethodPeer, SecurityComponentMethod, ArkSecurityComponentMethodComponent, ArkSecurityComponentMethodStyle, UISecurityComponentMethod } from "./security_component" import { ClickEvent } from "./AllMaterialized" +import { BusinessError } from "./base" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" import { CallbackKind } from "./peers/CallbackKind" @@ -52,7 +53,7 @@ export class ArkPasteButtonPeer extends ArkSecurityComponentMethodPeer { ArkUIGeneratedNativeModule._PasteButtonInterface_setPasteButtonOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onClickAttribute(value: ((event: ClickEvent, result: PasteButtonOnClickResult) => void)): void { + onClickAttribute(value: PasteButtonCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._PasteButtonAttribute_onClick(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) @@ -75,20 +76,20 @@ export enum PasteButtonOnClickResult { TEMPORARY_AUTHORIZATION_FAILED = 1, } -export type Callback_ClickEvent_PasteButtonOnClickResult_Void = (event: ClickEvent, result: PasteButtonOnClickResult) => void; +export type PasteButtonCallback = (event: ClickEvent, result: PasteButtonOnClickResult, error?: BusinessError) => void; export interface PasteButtonAttribute extends SecurityComponentMethod { - onClick(value: ((event: ClickEvent, result: PasteButtonOnClickResult) => void)): this + onClick(value: PasteButtonCallback): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIPasteButtonAttribute extends UISecurityComponentMethod { /** @memo */ - onClick(value: ((event: ClickEvent, result: PasteButtonOnClickResult) => void)): this + onClick(value: PasteButtonCallback): this /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkPasteButtonStyle extends ArkSecurityComponentMethodStyle implements PasteButtonAttribute { - onClick_value?: ((event: ClickEvent, result: PasteButtonOnClickResult) => void) - public onClick(value: ((event: ClickEvent, result: PasteButtonOnClickResult) => void)): this { + onClick_value?: PasteButtonCallback + public onClick(value: PasteButtonCallback): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -110,9 +111,9 @@ export class ArkPasteButtonComponent extends ArkSecurityComponentMethodComponent return this } /** @memo */ - public onClick(value: ((event: ClickEvent, result: PasteButtonOnClickResult) => void)): this { + public onClick(value: PasteButtonCallback): this { if (this.checkPriority("onClick")) { - const value_casted = value as (((event: ClickEvent, result: PasteButtonOnClickResult) => void)) + const value_casted = value as (PasteButtonCallback) this.getPeer()?.onClickAttribute(value_casted) return this } diff --git a/arkoala/arkui/src/generated/pattern_lock.ts b/arkoala/arkui/src/generated/pattern_lock.ts index a7a5ca78bd..331a5ed9de 100644 --- a/arkoala/arkui/src/generated/pattern_lock.ts +++ b/arkoala/arkui/src/generated/pattern_lock.ts @@ -280,6 +280,9 @@ export class ArkPatternLockPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._PatternLockAttribute_activateCircleStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + skipUnselectedPointAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._PatternLockAttribute_skipUnselectedPoint(this.peer.ptr, +value) + } } export enum PatternLockChallengeResult { CORRECT = 1, @@ -289,6 +292,7 @@ export interface CircleStyleOptions { color?: ResourceColor; radius?: LengthMetrics; enableWaveEffect?: boolean; + enableForeground?: boolean; } export type Callback_Array_Number_Void = (input: Array) => void; @@ -305,6 +309,7 @@ export interface PatternLockAttribute extends CommonMethod { autoReset(value: boolean): this onDotConnect(value: ((index: number) => void)): this activateCircleStyle(value: CircleStyleOptions | undefined): this + skipUnselectedPoint(value: boolean): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIPatternLockAttribute extends UICommonMethod { @@ -333,6 +338,8 @@ export interface UIPatternLockAttribute extends UICommonMethod { /** @memo */ activateCircleStyle(value: CircleStyleOptions | undefined): this /** @memo */ + skipUnselectedPoint(value: boolean): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkPatternLockStyle extends ArkCommonMethodStyle implements PatternLockAttribute { @@ -348,6 +355,7 @@ export class ArkPatternLockStyle extends ArkCommonMethodStyle implements Pattern autoReset_value?: boolean onDotConnect_value?: ((index: number) => void) activateCircleStyle_value?: CircleStyleOptions | undefined + skipUnselectedPoint_value?: boolean public sideLength(value: Length): this { return this } @@ -384,6 +392,9 @@ export class ArkPatternLockStyle extends ArkCommonMethodStyle implements Pattern public activateCircleStyle(value: CircleStyleOptions | undefined): this { return this } + public skipUnselectedPoint(value: boolean): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -511,6 +522,15 @@ export class ArkPatternLockComponent extends ArkCommonMethodComponent implements return this } /** @memo */ + public skipUnselectedPoint(value: boolean): this { + if (this.checkPriority("skipUnselectedPoint")) { + const value_casted = value as (boolean) + this.getPeer()?.skipUnselectedPointAttribute(value_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts b/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts index 1fcb808410..6de59becc2 100644 --- a/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts +++ b/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts @@ -548,6 +548,20 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _ButtonAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_minFontScale(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ButtonAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ButtonAttribute_maxFontScale(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } static _Calendar_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { @@ -667,584 +681,535 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CalendarPickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - if ((this._LoadOnce()) == (true)) - { - return this._CalendarPickerAttribute_textStyle(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _CalendarPickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - if ((this._LoadOnce()) == (true)) - { - return this._CalendarPickerAttribute_onChange(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _CalendarPickerAttribute_edgeAlign(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { - if ((this._LoadOnce()) == (true)) - { - return this._CalendarPickerAttribute_edgeAlign(ptr, alignType, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _Navigation_construct(id: KInt, flags: KInt): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._Navigation_construct(id, flags) - } - throw new Error("Not implemented") - } - static _NavigationInterface_setNavigationOptions0(ptr: KPointer): void { - if ((this._LoadOnce()) == (true)) - { - return this._NavigationInterface_setNavigationOptions0(ptr) - } - throw new Error("Not implemented") - } - static _NavigationInterface_setNavigationOptions1(ptr: KPointer, pathInfos: KPointer): void { - if ((this._LoadOnce()) == (true)) - { - return this._NavigationInterface_setNavigationOptions1(ptr, pathInfos) - } - throw new Error("Not implemented") - } - static _NavigationAttribute_navBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { - if ((this._LoadOnce()) == (true)) - { - return this._NavigationAttribute_navBarWidth(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _NavigationAttribute_navBarPosition(ptr: KPointer, value: KInt): void { + static _CalendarPickerAttribute_textStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_navBarPosition(ptr, value) + return this._CalendarPickerAttribute_textStyle0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_navBarWidthRange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CalendarPickerAttribute_textStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_navBarWidthRange(ptr, thisArray, thisLength) + return this._CalendarPickerAttribute_textStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_minContentWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CalendarPickerAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_minContentWidth(ptr, thisArray, thisLength) + return this._CalendarPickerAttribute_onChange0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_mode(ptr: KPointer, value: KInt): void { + static _CalendarPickerAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_mode(ptr, value) + return this._CalendarPickerAttribute_onChange1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_backButtonIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CalendarPickerAttribute_markToday(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_backButtonIcon(ptr, thisArray, thisLength) + return this._CalendarPickerAttribute_markToday(ptr, value) } throw new Error("Not implemented") } - static _NavigationAttribute_hideNavBar(ptr: KPointer, value: KInt): void { + static _CalendarPickerAttribute_edgeAlign0(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_hideNavBar(ptr, value) + return this._CalendarPickerAttribute_edgeAlign0(ptr, alignType, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_subTitle(ptr: KPointer, value: KStringPtr): void { + static _CalendarPickerAttribute_edgeAlign1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_subTitle(ptr, value) + return this._CalendarPickerAttribute_edgeAlign1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_hideTitleBar0(ptr: KPointer, value: KInt): void { + static _CommonMethod_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_hideTitleBar0(ptr, value) + return this._CommonMethod_construct(id, flags) } throw new Error("Not implemented") } - static _NavigationAttribute_hideTitleBar1(ptr: KPointer, hide: KInt, animated: KInt): void { + static _CommonMethod_width0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_hideTitleBar1(ptr, hide, animated) + return this._CommonMethod_width0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_hideBackButton(ptr: KPointer, value: KInt): void { + static _CommonMethod_width1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_hideBackButton(ptr, value) + return this._CommonMethod_width1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_titleMode(ptr: KPointer, value: KInt): void { + static _CommonMethod_height0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_titleMode(ptr, value) + return this._CommonMethod_height0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_menus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_height1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_menus(ptr, thisArray, thisLength) + return this._CommonMethod_height1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_toolBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_drawModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_toolBar(ptr, thisArray, thisLength) + return this._CommonMethod_drawModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_hideToolBar0(ptr: KPointer, value: KInt): void { + static _CommonMethod_responseRegion(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_hideToolBar0(ptr, value) + return this._CommonMethod_responseRegion(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_hideToolBar1(ptr: KPointer, hide: KInt, animated: KInt): void { + static _CommonMethod_mouseResponseRegion(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_hideToolBar1(ptr, hide, animated) + return this._CommonMethod_mouseResponseRegion(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_onTitleModeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_onTitleModeChange(ptr, thisArray, thisLength) + return this._CommonMethod_size(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_onNavBarStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_constraintSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_onNavBarStateChange(ptr, thisArray, thisLength) + return this._CommonMethod_constraintSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_onNavigationModeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_touchable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_onNavigationModeChange(ptr, thisArray, thisLength) + return this._CommonMethod_touchable(ptr, value) } throw new Error("Not implemented") } - static _NavigationAttribute_navDestination(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_hitTestBehavior(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_navDestination(ptr, thisArray, thisLength) + return this._CommonMethod_hitTestBehavior(ptr, value) } throw new Error("Not implemented") } - static _NavigationAttribute_customNavContentTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onChildTouchTest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_customNavContentTransition(ptr, thisArray, thisLength) + return this._CommonMethod_onChildTouchTest(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_systemBarStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_layoutWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_systemBarStyle(ptr, thisArray, thisLength) + return this._CommonMethod_layoutWeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_recoverable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_chainWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_recoverable(ptr, thisArray, thisLength) + return this._CommonMethod_chainWeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_enableDragBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_padding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_enableDragBar(ptr, thisArray, thisLength) + return this._CommonMethod_padding(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_title(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_safeAreaPadding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_title(ptr, thisArray, thisLength) + return this._CommonMethod_safeAreaPadding(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_toolbarConfiguration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_margin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_toolbarConfiguration(ptr, thisArray, thisLength) + return this._CommonMethod_margin(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationAttribute_ignoreLayoutSafeArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_backgroundColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationAttribute_ignoreLayoutSafeArea(ptr, thisArray, thisLength) + return this._CommonMethod_backgroundColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_construct(id: KInt, flags: KInt): KPointer { + static _CommonMethod_backgroundColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_construct(id, flags) + return this._CommonMethod_backgroundColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_pixelRound(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_width(ptr, thisArray, thisLength) + return this._CommonMethod_pixelRound(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_backgroundImageSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_height(ptr, thisArray, thisLength) + return this._CommonMethod_backgroundImageSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_drawModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_backgroundImagePosition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_drawModifier(ptr, thisArray, thisLength) + return this._CommonMethod_backgroundImagePosition(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_responseRegion(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_backgroundEffect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_responseRegion(ptr, thisArray, thisLength) + return this._CommonMethod_backgroundEffect0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_mouseResponseRegion(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_backgroundEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_mouseResponseRegion(ptr, thisArray, thisLength) + return this._CommonMethod_backgroundEffect1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_backgroundImageResizable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_size(ptr, thisArray, thisLength) + return this._CommonMethod_backgroundImageResizable(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_constraintSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_foregroundEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_constraintSize(ptr, thisArray, thisLength) + return this._CommonMethod_foregroundEffect(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_touchable(ptr: KPointer, value: KInt): void { + static _CommonMethod_visualEffect(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_touchable(ptr, value) + return this._CommonMethod_visualEffect(ptr, value) } throw new Error("Not implemented") } - static _CommonMethod_hitTestBehavior(ptr: KPointer, value: KInt): void { + static _CommonMethod_backgroundFilter(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_hitTestBehavior(ptr, value) + return this._CommonMethod_backgroundFilter(ptr, value) } throw new Error("Not implemented") } - static _CommonMethod_onChildTouchTest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_foregroundFilter(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_onChildTouchTest(ptr, thisArray, thisLength) + return this._CommonMethod_foregroundFilter(ptr, value) } throw new Error("Not implemented") } - static _CommonMethod_layoutWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_compositingFilter(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_layoutWeight(ptr, thisArray, thisLength) + return this._CommonMethod_compositingFilter(ptr, value) } throw new Error("Not implemented") } - static _CommonMethod_chainWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_opacity0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_chainWeight(ptr, thisArray, thisLength) + return this._CommonMethod_opacity0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_padding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_opacity1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_padding(ptr, thisArray, thisLength) + return this._CommonMethod_opacity1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_safeAreaPadding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_border(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_safeAreaPadding(ptr, thisArray, thisLength) + return this._CommonMethod_border(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_margin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_borderStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_margin(ptr, thisArray, thisLength) + return this._CommonMethod_borderStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_borderWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_backgroundColor(ptr, thisArray, thisLength) + return this._CommonMethod_borderWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_pixelRound(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_borderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_pixelRound(ptr, thisArray, thisLength) + return this._CommonMethod_borderColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_backgroundImageSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_borderRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_backgroundImageSize(ptr, thisArray, thisLength) + return this._CommonMethod_borderRadius(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_backgroundImagePosition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_borderImage(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_backgroundImagePosition(ptr, thisArray, thisLength) + return this._CommonMethod_borderImage(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_backgroundEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_outline0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_backgroundEffect(ptr, thisArray, thisLength) + return this._CommonMethod_outline0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_backgroundImageResizable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_outline1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_backgroundImageResizable(ptr, thisArray, thisLength) + return this._CommonMethod_outline1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_foregroundEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_outlineStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_foregroundEffect(ptr, thisArray, thisLength) + return this._CommonMethod_outlineStyle0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_visualEffect(ptr: KPointer, value: KPointer): void { + static _CommonMethod_outlineStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_visualEffect(ptr, value) + return this._CommonMethod_outlineStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_backgroundFilter(ptr: KPointer, value: KPointer): void { + static _CommonMethod_outlineWidth0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_backgroundFilter(ptr, value) + return this._CommonMethod_outlineWidth0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_foregroundFilter(ptr: KPointer, value: KPointer): void { + static _CommonMethod_outlineWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_foregroundFilter(ptr, value) + return this._CommonMethod_outlineWidth1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_compositingFilter(ptr: KPointer, value: KPointer): void { + static _CommonMethod_outlineColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_compositingFilter(ptr, value) + return this._CommonMethod_outlineColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_opacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_outlineColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_opacity(ptr, thisArray, thisLength) + return this._CommonMethod_outlineColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_border(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_outlineRadius0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_border(ptr, thisArray, thisLength) + return this._CommonMethod_outlineRadius0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_borderStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_outlineRadius1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_borderStyle(ptr, thisArray, thisLength) + return this._CommonMethod_outlineRadius1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_borderWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_foregroundColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_borderWidth(ptr, thisArray, thisLength) + return this._CommonMethod_foregroundColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_borderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_foregroundColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_borderColor(ptr, thisArray, thisLength) + return this._CommonMethod_foregroundColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_borderRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onClick0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_borderRadius(ptr, thisArray, thisLength) + return this._CommonMethod_onClick0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_borderImage(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onClick1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, distanceThreshold: number): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_borderImage(ptr, thisArray, thisLength) + return this._CommonMethod_onClick1(ptr, thisArray, thisLength, distanceThreshold) } throw new Error("Not implemented") } - static _CommonMethod_outline(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_outline(ptr, thisArray, thisLength) + return this._CommonMethod_onHover(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_outlineStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onHoverMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_outlineStyle(ptr, thisArray, thisLength) + return this._CommonMethod_onHoverMove(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_outlineWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onAccessibilityHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_outlineWidth(ptr, thisArray, thisLength) + return this._CommonMethod_onAccessibilityHover(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_outlineColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_hoverEffect(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_outlineColor(ptr, thisArray, thisLength) + return this._CommonMethod_hoverEffect(ptr, value) } throw new Error("Not implemented") } - static _CommonMethod_outlineRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onMouse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_outlineRadius(ptr, thisArray, thisLength) + return this._CommonMethod_onMouse(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_foregroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onTouch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_foregroundColor(ptr, thisArray, thisLength) + return this._CommonMethod_onTouch(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_onClick0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onKeyEvent0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_onClick0(ptr, thisArray, thisLength) + return this._CommonMethod_onKeyEvent0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_onClick1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, distanceThreshold: number): void { + static _CommonMethod_onKeyEvent1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_onClick1(ptr, thisArray, thisLength, distanceThreshold) + return this._CommonMethod_onKeyEvent1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_onHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onDigitalCrown(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_onHover(ptr, thisArray, thisLength) + return this._CommonMethod_onDigitalCrown(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_onAccessibilityHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onKeyPreIme(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_onAccessibilityHover(ptr, thisArray, thisLength) + return this._CommonMethod_onKeyPreIme(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_hoverEffect(ptr: KPointer, value: KInt): void { + static _CommonMethod_onKeyEventDispatch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_hoverEffect(ptr, value) + return this._CommonMethod_onKeyEventDispatch(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_onMouse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onFocusAxisEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_onMouse(ptr, thisArray, thisLength) + return this._CommonMethod_onFocusAxisEvent(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_onTouch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onAxisEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_onTouch(ptr, thisArray, thisLength) + return this._CommonMethod_onAxisEvent(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_onKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_focusable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_onKeyEvent(ptr, thisArray, thisLength) + return this._CommonMethod_focusable(ptr, value) } throw new Error("Not implemented") } - static _CommonMethod_onKeyPreIme(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_nextFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_onKeyPreIme(ptr, thisArray, thisLength) + return this._CommonMethod_nextFocus(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_focusable(ptr: KPointer, value: KInt): void { + static _CommonMethod_tabStop(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_focusable(ptr, value) + return this._CommonMethod_tabStop(ptr, value) } throw new Error("Not implemented") } @@ -1318,115 +1283,220 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_motionBlur(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_motionBlur0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_motionBlur(ptr, thisArray, thisLength) + return this._CommonMethod_motionBlur0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_brightness(ptr: KPointer, value: number): void { + static _CommonMethod_motionBlur1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_brightness(ptr, value) + return this._CommonMethod_motionBlur1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_contrast(ptr: KPointer, value: number): void { + static _CommonMethod_brightness0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_contrast(ptr, value) + return this._CommonMethod_brightness0(ptr, value) } throw new Error("Not implemented") } - static _CommonMethod_grayscale(ptr: KPointer, value: number): void { + static _CommonMethod_brightness1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_grayscale(ptr, value) + return this._CommonMethod_brightness1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_colorBlend(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_contrast0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_colorBlend(ptr, thisArray, thisLength) + return this._CommonMethod_contrast0(ptr, value) } throw new Error("Not implemented") } - static _CommonMethod_saturate(ptr: KPointer, value: number): void { + static _CommonMethod_contrast1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_saturate(ptr, value) + return this._CommonMethod_contrast1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_sepia(ptr: KPointer, value: number): void { + static _CommonMethod_grayscale0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_sepia(ptr, value) + return this._CommonMethod_grayscale0(ptr, value) } throw new Error("Not implemented") } - static _CommonMethod_invert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_grayscale1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_invert(ptr, thisArray, thisLength) + return this._CommonMethod_grayscale1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_hueRotate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_colorBlend0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_hueRotate(ptr, thisArray, thisLength) + return this._CommonMethod_colorBlend0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_useShadowBatching(ptr: KPointer, value: KInt): void { + static _CommonMethod_colorBlend1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_useShadowBatching(ptr, value) + return this._CommonMethod_colorBlend1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_useEffect0(ptr: KPointer, value: KInt): void { + static _CommonMethod_saturate0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_useEffect0(ptr, value) + return this._CommonMethod_saturate0(ptr, value) } throw new Error("Not implemented") } - static _CommonMethod_useEffect1(ptr: KPointer, useEffect: KInt, effectType: KInt): void { + static _CommonMethod_saturate1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_saturate1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_sepia0(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_sepia0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_sepia1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_sepia1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_invert0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_invert0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_invert1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_invert1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_hueRotate0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_hueRotate0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_hueRotate1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_hueRotate1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_useShadowBatching0(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_useShadowBatching0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_useShadowBatching1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_useShadowBatching1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_useEffect0(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_useEffect0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_useEffect1(ptr: KPointer, useEffect: KInt, effectType: KInt): void { if ((this._LoadOnce()) == (true)) { return this._CommonMethod_useEffect1(ptr, useEffect, effectType) } throw new Error("Not implemented") } - static _CommonMethod_renderGroup(ptr: KPointer, value: KInt): void { + static _CommonMethod_useEffect2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_useEffect2(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_renderGroup0(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_renderGroup0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_renderGroup1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_renderGroup1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_freeze0(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_freeze0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_freeze1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_freeze1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_translate0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_renderGroup(ptr, value) + return this._CommonMethod_translate0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_freeze(ptr: KPointer, value: KInt): void { + static _CommonMethod_translate1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_freeze(ptr, value) + return this._CommonMethod_translate1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_translate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_scale0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_translate(ptr, thisArray, thisLength) + return this._CommonMethod_scale0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_scale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_scale1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_scale(ptr, thisArray, thisLength) + return this._CommonMethod_scale1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -1444,17 +1514,31 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_rotate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_rotate0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_rotate0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_rotate1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_rotate1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_transform0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_rotate(ptr, thisArray, thisLength) + return this._CommonMethod_transform0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_transform(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_transform1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_transform(ptr, thisArray, thisLength) + return this._CommonMethod_transform1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -1612,10 +1696,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_clickEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_clickEffect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_clickEffect(ptr, thisArray, thisLength) + return this._CommonMethod_clickEffect0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_clickEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_clickEffect1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -1647,10 +1738,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_onDrop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_onDrop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onDrop0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_onDrop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_onDrop(ptr, thisArray, thisLength) + return this._CommonMethod_onDrop1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -1675,10 +1773,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_dragPreview(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_dragPreview0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_dragPreview0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_dragPreview1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_dragPreview(ptr, thisArray, thisLength) + return this._CommonMethod_dragPreview1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -1689,24 +1794,45 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_linearGradient(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_linearGradient0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_linearGradient0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_linearGradient1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_linearGradient1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_sweepGradient0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_sweepGradient0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_sweepGradient1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_linearGradient(ptr, thisArray, thisLength) + return this._CommonMethod_sweepGradient1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_sweepGradient(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_radialGradient0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_sweepGradient(ptr, thisArray, thisLength) + return this._CommonMethod_radialGradient0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_radialGradient(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_radialGradient1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_radialGradient(ptr, thisArray, thisLength) + return this._CommonMethod_radialGradient1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -1717,10 +1843,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_shadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_shadow0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_shadow0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_shadow1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_shadow(ptr, thisArray, thisLength) + return this._CommonMethod_shadow1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -1738,10 +1871,24 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_clipShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_clip2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_clip2(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_clipShape0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_clipShape(ptr, thisArray, thisLength) + return this._CommonMethod_clipShape0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_clipShape1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_clipShape1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -1759,10 +1906,24 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_maskShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_mask2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_mask2(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_maskShape0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_maskShape0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_maskShape1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_maskShape(ptr, thisArray, thisLength) + return this._CommonMethod_maskShape1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -1808,24 +1969,45 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_sphericalEffect(ptr: KPointer, value: number): void { + static _CommonMethod_sphericalEffect0(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_sphericalEffect0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_sphericalEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_sphericalEffect1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_lightUpEffect0(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_lightUpEffect0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_lightUpEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_sphericalEffect(ptr, value) + return this._CommonMethod_lightUpEffect1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_lightUpEffect(ptr: KPointer, value: number): void { + static _CommonMethod_pixelStretchEffect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_lightUpEffect(ptr, value) + return this._CommonMethod_pixelStretchEffect0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_pixelStretchEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_pixelStretchEffect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_pixelStretchEffect(ptr, thisArray, thisLength) + return this._CommonMethod_pixelStretchEffect1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -1857,6 +2039,48 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _CommonMethod_accessibilityNextFocusId(ptr: KPointer, value: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityNextFocusId(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityDefaultFocus(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityDefaultFocus(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityUseSamePage(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityUseSamePage(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityScrollTriggerable(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityScrollTriggerable(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_accessibilityRole(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityRole(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_onAccessibilityFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onAccessibilityFocus(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } static _CommonMethod_accessibilityTextHint(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { @@ -1920,10 +2144,24 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_renderFit(ptr: KPointer, value: KInt): void { + static _CommonMethod_reuse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_reuse(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_renderFit0(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_renderFit0(ptr, value) + } + throw new Error("Not implemented") + } + static _CommonMethod_renderFit1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_renderFit(ptr, value) + return this._CommonMethod_renderFit1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -1934,10 +2172,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_backgroundBrightness(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_backgroundBrightness0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backgroundBrightness0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_backgroundBrightness1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_backgroundBrightness(ptr, thisArray, thisLength) + return this._CommonMethod_backgroundBrightness1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -1990,6 +2235,13 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _CommonMethod_accessibilityFocusDrawLevel(ptr: KPointer, value: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_accessibilityFocusDrawLevel(ptr, value) + } + throw new Error("Not implemented") + } static _CommonMethod_customProperty(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { @@ -2011,24 +2263,45 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_backgroundImage(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_backgroundImage0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_backgroundImage(ptr, thisArray, thisLength) + return this._CommonMethod_backgroundImage0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_backgroundBlurStyle(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_backgroundImage1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_backgroundBlurStyle(ptr, value, thisArray, thisLength) + return this._CommonMethod_backgroundImage1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_foregroundBlurStyle(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_backgroundBlurStyle0(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_foregroundBlurStyle(ptr, value, thisArray, thisLength) + return this._CommonMethod_backgroundBlurStyle0(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_backgroundBlurStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backgroundBlurStyle1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_foregroundBlurStyle0(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_foregroundBlurStyle0(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_foregroundBlurStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_foregroundBlurStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -2074,17 +2347,31 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_blur(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_blur0(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_blur0(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_blur1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_blur1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_linearGradientBlur0(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_blur(ptr, value, thisArray, thisLength) + return this._CommonMethod_linearGradientBlur0(ptr, value, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_linearGradientBlur(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_linearGradientBlur1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_linearGradientBlur(ptr, value, thisArray, thisLength) + return this._CommonMethod_linearGradientBlur1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -2095,10 +2382,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_backdropBlur(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_backdropBlur0(ptr: KPointer, value: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_backdropBlur0(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_backdropBlur1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_backdropBlur(ptr, value, thisArray, thisLength) + return this._CommonMethod_backdropBlur1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -2130,10 +2424,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_blendMode(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_blendMode0(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_blendMode0(ptr, value, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonMethod_blendMode1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_blendMode(ptr, value, thisArray, thisLength) + return this._CommonMethod_blendMode1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -2144,6 +2445,13 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _CommonMethod_bindTips(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_bindTips(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } static _CommonMethod_bindPopup(ptr: KPointer, show: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { @@ -2179,24 +2487,24 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _CommonMethod_bindContentCover0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_bindContentCover0(ptr: KPointer, isShow: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_bindContentCover0(ptr, thisArray, thisLength) + return this._CommonMethod_bindContentCover0(ptr, isShow, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_bindContentCover1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_bindContentCover1(ptr: KPointer, isShow: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_bindContentCover1(ptr, thisArray, thisLength) + return this._CommonMethod_bindContentCover1(ptr, isShow, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonMethod_bindSheet(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CommonMethod_bindSheet(ptr: KPointer, isShow: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonMethod_bindSheet(ptr, thisArray, thisLength) + return this._CommonMethod_bindSheet(ptr, isShow, thisArray, thisLength) } throw new Error("Not implemented") } @@ -2207,6 +2515,13 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _CommonMethod_onVisibleAreaApproximateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CommonMethod_onVisibleAreaApproximateChange(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } static _CommonMethod_keyboardShortcut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { @@ -2410,13205 +2725,15172 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _ScrollableCommonMethod_edgeEffect(ptr: KPointer, edgeEffect: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollableCommonMethod_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollableCommonMethod_edgeEffect(ptr, edgeEffect, thisArray, thisLength) + return this._ScrollableCommonMethod_digitalCrownSensitivity(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollableCommonMethod_fadingEdge(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollableCommonMethod_backToTop(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollableCommonMethod_fadingEdge(ptr, thisArray, thisLength) + return this._ScrollableCommonMethod_backToTop(ptr, value) } throw new Error("Not implemented") } - static _Canvas_construct(id: KInt, flags: KInt): KPointer { + static _ScrollableCommonMethod_edgeEffect(ptr: KPointer, edgeEffect: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Canvas_construct(id, flags) + return this._ScrollableCommonMethod_edgeEffect(ptr, edgeEffect, thisArray, thisLength) } throw new Error("Not implemented") } - static _CanvasInterface_setCanvasOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollableCommonMethod_fadingEdge(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CanvasInterface_setCanvasOptions0(ptr, thisArray, thisLength) + return this._ScrollableCommonMethod_fadingEdge(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CanvasInterface_setCanvasOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Navigation_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._CanvasInterface_setCanvasOptions1(ptr, thisArray, thisLength) + return this._Navigation_construct(id, flags) } throw new Error("Not implemented") } - static _CanvasAttribute_onReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationInterface_setNavigationOptions0(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._CanvasAttribute_onReady(ptr, thisArray, thisLength) + return this._NavigationInterface_setNavigationOptions0(ptr) } throw new Error("Not implemented") } - static _CanvasAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { + static _NavigationInterface_setNavigationOptions1(ptr: KPointer, pathInfos: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._CanvasAttribute_enableAnalyzer(ptr, value) + return this._NavigationInterface_setNavigationOptions1(ptr, pathInfos) } throw new Error("Not implemented") } - static _Checkbox_construct(id: KInt, flags: KInt): KPointer { + static _NavigationAttribute_navBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Checkbox_construct(id, flags) + return this._NavigationAttribute_navBarWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CheckboxInterface_setCheckboxOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_navBarPosition(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxInterface_setCheckboxOptions(ptr, thisArray, thisLength) + return this._NavigationAttribute_navBarPosition(ptr, value) } throw new Error("Not implemented") } - static _CheckboxAttribute_select(ptr: KPointer, value: KInt): void { + static _NavigationAttribute_navBarWidthRange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxAttribute_select(ptr, value) + return this._NavigationAttribute_navBarWidthRange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CheckboxAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_minContentWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxAttribute_selectedColor(ptr, thisArray, thisLength) + return this._NavigationAttribute_minContentWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CheckboxAttribute_shape(ptr: KPointer, value: KInt): void { + static _NavigationAttribute_mode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxAttribute_shape(ptr, value) + return this._NavigationAttribute_mode(ptr, value) } throw new Error("Not implemented") } - static _CheckboxAttribute_unselectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_backButtonIcon0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxAttribute_unselectedColor(ptr, thisArray, thisLength) + return this._NavigationAttribute_backButtonIcon0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CheckboxAttribute_mark(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_backButtonIcon1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxAttribute_mark(ptr, thisArray, thisLength) + return this._NavigationAttribute_backButtonIcon1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CheckboxAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_hideNavBar(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxAttribute_onChange(ptr, thisArray, thisLength) + return this._NavigationAttribute_hideNavBar(ptr, value) } throw new Error("Not implemented") } - static _CheckboxAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_subTitle(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxAttribute_contentModifier(ptr, thisArray, thisLength) + return this._NavigationAttribute_subTitle(ptr, value) } throw new Error("Not implemented") } - static _CheckboxAttribute__onChangeEvent_select(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_hideTitleBar0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxAttribute__onChangeEvent_select(ptr, thisArray, thisLength) + return this._NavigationAttribute_hideTitleBar0(ptr, value) } throw new Error("Not implemented") } - static _CheckboxGroup_construct(id: KInt, flags: KInt): KPointer { + static _NavigationAttribute_hideTitleBar1(ptr: KPointer, hide: KInt, animated: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxGroup_construct(id, flags) + return this._NavigationAttribute_hideTitleBar1(ptr, hide, animated) } throw new Error("Not implemented") } - static _CheckboxGroupInterface_setCheckboxGroupOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_hideBackButton(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxGroupInterface_setCheckboxGroupOptions(ptr, thisArray, thisLength) + return this._NavigationAttribute_hideBackButton(ptr, value) } throw new Error("Not implemented") } - static _CheckboxGroupAttribute_selectAll(ptr: KPointer, value: KInt): void { + static _NavigationAttribute_titleMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxGroupAttribute_selectAll(ptr, value) + return this._NavigationAttribute_titleMode(ptr, value) } throw new Error("Not implemented") } - static _CheckboxGroupAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_menus0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxGroupAttribute_selectedColor(ptr, thisArray, thisLength) + return this._NavigationAttribute_menus0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CheckboxGroupAttribute_unselectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_menus1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxGroupAttribute_unselectedColor(ptr, thisArray, thisLength) + return this._NavigationAttribute_menus1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CheckboxGroupAttribute_mark(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_toolBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxGroupAttribute_mark(ptr, thisArray, thisLength) + return this._NavigationAttribute_toolBar(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CheckboxGroupAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_hideToolBar0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxGroupAttribute_onChange(ptr, thisArray, thisLength) + return this._NavigationAttribute_hideToolBar0(ptr, value) } throw new Error("Not implemented") } - static _CheckboxGroupAttribute_checkboxShape(ptr: KPointer, value: KInt): void { + static _NavigationAttribute_hideToolBar1(ptr: KPointer, hide: KInt, animated: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxGroupAttribute_checkboxShape(ptr, value) + return this._NavigationAttribute_hideToolBar1(ptr, hide, animated) } throw new Error("Not implemented") } - static _CheckboxGroupAttribute__onChangeEvent_selectAll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_enableToolBarAdaptation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CheckboxGroupAttribute__onChangeEvent_selectAll(ptr, thisArray, thisLength) + return this._NavigationAttribute_enableToolBarAdaptation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Circle_construct(id: KInt, flags: KInt): KPointer { + static _NavigationAttribute_onTitleModeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Circle_construct(id, flags) + return this._NavigationAttribute_onTitleModeChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CircleInterface_setCircleOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_onNavBarStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CircleInterface_setCircleOptions(ptr, thisArray, thisLength) + return this._NavigationAttribute_onNavBarStateChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Column_construct(id: KInt, flags: KInt): KPointer { + static _NavigationAttribute_onNavigationModeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Column_construct(id, flags) + return this._NavigationAttribute_onNavigationModeChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColumnInterface_setColumnOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_navDestination(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColumnInterface_setColumnOptions(ptr, thisArray, thisLength) + return this._NavigationAttribute_navDestination(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColumnAttribute_alignItems(ptr: KPointer, value: KInt): void { + static _NavigationAttribute_customNavContentTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColumnAttribute_alignItems(ptr, value) + return this._NavigationAttribute_customNavContentTransition(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColumnAttribute_justifyContent(ptr: KPointer, value: KInt): void { + static _NavigationAttribute_systemBarStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColumnAttribute_justifyContent(ptr, value) + return this._NavigationAttribute_systemBarStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColumnAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_recoverable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColumnAttribute_pointLight(ptr, thisArray, thisLength) + return this._NavigationAttribute_recoverable(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColumnAttribute_reverse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_enableDragBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColumnAttribute_reverse(ptr, thisArray, thisLength) + return this._NavigationAttribute_enableDragBar(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColumnSplit_construct(id: KInt, flags: KInt): KPointer { + static _NavigationAttribute_enableModeChangeAnimation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColumnSplit_construct(id, flags) + return this._NavigationAttribute_enableModeChangeAnimation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColumnSplitInterface_setColumnSplitOptions(ptr: KPointer): void { + static _NavigationAttribute_title(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColumnSplitInterface_setColumnSplitOptions(ptr) + return this._NavigationAttribute_title(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColumnSplitAttribute_resizeable(ptr: KPointer, value: KInt): void { + static _NavigationAttribute_toolbarConfiguration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColumnSplitAttribute_resizeable(ptr, value) + return this._NavigationAttribute_toolbarConfiguration(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColumnSplitAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationAttribute_ignoreLayoutSafeArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColumnSplitAttribute_divider(ptr, thisArray, thisLength) + return this._NavigationAttribute_ignoreLayoutSafeArea(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Component3D_construct(id: KInt, flags: KInt): KPointer { + static _Canvas_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._Component3D_construct(id, flags) + return this._Canvas_construct(id, flags) } throw new Error("Not implemented") } - static _Component3DInterface_setComponent3DOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CanvasInterface_setCanvasOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Component3DInterface_setComponent3DOptions(ptr, thisArray, thisLength) + return this._CanvasInterface_setCanvasOptions0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Component3DAttribute_environment(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CanvasInterface_setCanvasOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Component3DAttribute_environment(ptr, thisArray, thisLength) + return this._CanvasInterface_setCanvasOptions1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Component3DAttribute_shader(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CanvasAttribute_onReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Component3DAttribute_shader(ptr, thisArray, thisLength) + return this._CanvasAttribute_onReady(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Component3DAttribute_shaderImageTexture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CanvasAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Component3DAttribute_shaderImageTexture(ptr, thisArray, thisLength) + return this._CanvasAttribute_enableAnalyzer(ptr, value) } throw new Error("Not implemented") } - static _Component3DAttribute_shaderInputBuffer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Checkbox_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._Component3DAttribute_shaderInputBuffer(ptr, thisArray, thisLength) + return this._Checkbox_construct(id, flags) } throw new Error("Not implemented") } - static _Component3DAttribute_renderWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxInterface_setCheckboxOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Component3DAttribute_renderWidth(ptr, thisArray, thisLength) + return this._CheckboxInterface_setCheckboxOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Component3DAttribute_renderHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxAttribute_select0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Component3DAttribute_renderHeight(ptr, thisArray, thisLength) + return this._CheckboxAttribute_select0(ptr, value) } throw new Error("Not implemented") } - static _Component3DAttribute_customRender(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, selfRenderUpdate: KInt): void { + static _CheckboxAttribute_select1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Component3DAttribute_customRender(ptr, thisArray, thisLength, selfRenderUpdate) + return this._CheckboxAttribute_select1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ContainerSpan_construct(id: KInt, flags: KInt): KPointer { + static _CheckboxAttribute_selectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ContainerSpan_construct(id, flags) + return this._CheckboxAttribute_selectedColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ContainerSpanInterface_setContainerSpanOptions(ptr: KPointer): void { + static _CheckboxAttribute_selectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ContainerSpanInterface_setContainerSpanOptions(ptr) + return this._CheckboxAttribute_selectedColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ContainerSpanAttribute_textBackgroundStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxAttribute_shape0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ContainerSpanAttribute_textBackgroundStyle(ptr, thisArray, thisLength) + return this._CheckboxAttribute_shape0(ptr, value) } throw new Error("Not implemented") } - static _Counter_construct(id: KInt, flags: KInt): KPointer { + static _CheckboxAttribute_shape1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Counter_construct(id, flags) + return this._CheckboxAttribute_shape1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CounterInterface_setCounterOptions(ptr: KPointer): void { + static _CheckboxAttribute_unselectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CounterInterface_setCounterOptions(ptr) + return this._CheckboxAttribute_unselectedColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CounterAttribute_onInc(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxAttribute_unselectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CounterAttribute_onInc(ptr, thisArray, thisLength) + return this._CheckboxAttribute_unselectedColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CounterAttribute_onDec(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxAttribute_mark0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CounterAttribute_onDec(ptr, thisArray, thisLength) + return this._CheckboxAttribute_mark0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CounterAttribute_enableDec(ptr: KPointer, value: KInt): void { + static _CheckboxAttribute_mark1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CounterAttribute_enableDec(ptr, value) + return this._CheckboxAttribute_mark1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CounterAttribute_enableInc(ptr: KPointer, value: KInt): void { + static _CheckboxAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CounterAttribute_enableInc(ptr, value) + return this._CheckboxAttribute_onChange0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DataPanel_construct(id: KInt, flags: KInt): KPointer { + static _CheckboxAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DataPanel_construct(id, flags) + return this._CheckboxAttribute_onChange1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DataPanelInterface_setDataPanelOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxAttribute_contentModifier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DataPanelInterface_setDataPanelOptions(ptr, thisArray, thisLength) + return this._CheckboxAttribute_contentModifier0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DataPanelAttribute_closeEffect(ptr: KPointer, value: KInt): void { + static _CheckboxAttribute_contentModifier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DataPanelAttribute_closeEffect(ptr, value) + return this._CheckboxAttribute_contentModifier1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DataPanelAttribute_valueColors(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxAttribute__onChangeEvent_select(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DataPanelAttribute_valueColors(ptr, thisArray, thisLength) + return this._CheckboxAttribute__onChangeEvent_select(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DataPanelAttribute_trackBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxGroup_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._DataPanelAttribute_trackBackgroundColor(ptr, thisArray, thisLength) + return this._CheckboxGroup_construct(id, flags) } throw new Error("Not implemented") } - static _DataPanelAttribute_strokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxGroupInterface_setCheckboxGroupOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DataPanelAttribute_strokeWidth(ptr, thisArray, thisLength) + return this._CheckboxGroupInterface_setCheckboxGroupOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DataPanelAttribute_trackShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxGroupAttribute_selectAll0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._DataPanelAttribute_trackShadow(ptr, thisArray, thisLength) + return this._CheckboxGroupAttribute_selectAll0(ptr, value) } throw new Error("Not implemented") } - static _DataPanelAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxGroupAttribute_selectAll1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DataPanelAttribute_contentModifier(ptr, thisArray, thisLength) + return this._CheckboxGroupAttribute_selectAll1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DatePicker_construct(id: KInt, flags: KInt): KPointer { + static _CheckboxGroupAttribute_selectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DatePicker_construct(id, flags) + return this._CheckboxGroupAttribute_selectedColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DatePickerInterface_setDatePickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxGroupAttribute_selectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DatePickerInterface_setDatePickerOptions(ptr, thisArray, thisLength) + return this._CheckboxGroupAttribute_selectedColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DatePickerAttribute_lunar(ptr: KPointer, value: KInt): void { + static _CheckboxGroupAttribute_unselectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DatePickerAttribute_lunar(ptr, value) + return this._CheckboxGroupAttribute_unselectedColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DatePickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxGroupAttribute_unselectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DatePickerAttribute_disappearTextStyle(ptr, thisArray, thisLength) + return this._CheckboxGroupAttribute_unselectedColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DatePickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxGroupAttribute_mark0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DatePickerAttribute_textStyle(ptr, thisArray, thisLength) + return this._CheckboxGroupAttribute_mark0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DatePickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxGroupAttribute_mark1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DatePickerAttribute_selectedTextStyle(ptr, thisArray, thisLength) + return this._CheckboxGroupAttribute_mark1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DatePickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxGroupAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DatePickerAttribute_onChange(ptr, thisArray, thisLength) + return this._CheckboxGroupAttribute_onChange0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DatePickerAttribute_onDateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxGroupAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DatePickerAttribute_onDateChange(ptr, thisArray, thisLength) + return this._CheckboxGroupAttribute_onChange1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DatePickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CheckboxGroupAttribute_checkboxShape0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._DatePickerAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + return this._CheckboxGroupAttribute_checkboxShape0(ptr, value) } throw new Error("Not implemented") } - static _Divider_construct(id: KInt, flags: KInt): KPointer { + static _CheckboxGroupAttribute_checkboxShape1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Divider_construct(id, flags) + return this._CheckboxGroupAttribute_checkboxShape1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DividerInterface_setDividerOptions(ptr: KPointer): void { + static _CheckboxGroupAttribute__onChangeEvent_selectAll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DividerInterface_setDividerOptions(ptr) + return this._CheckboxGroupAttribute__onChangeEvent_selectAll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DividerAttribute_vertical(ptr: KPointer, value: KInt): void { + static _Circle_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._DividerAttribute_vertical(ptr, value) + return this._Circle_construct(id, flags) } throw new Error("Not implemented") } - static _DividerAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CircleInterface_setCircleOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DividerAttribute_color(ptr, thisArray, thisLength) + return this._CircleInterface_setCircleOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DividerAttribute_strokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Column_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._DividerAttribute_strokeWidth(ptr, thisArray, thisLength) + return this._Column_construct(id, flags) } throw new Error("Not implemented") } - static _DividerAttribute_lineCap(ptr: KPointer, value: KInt): void { + static _ColumnInterface_setColumnOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DividerAttribute_lineCap(ptr, value) + return this._ColumnInterface_setColumnOptions0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _EffectComponent_construct(id: KInt, flags: KInt): KPointer { + static _ColumnInterface_setColumnOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._EffectComponent_construct(id, flags) + return this._ColumnInterface_setColumnOptions1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _EffectComponentInterface_setEffectComponentOptions(ptr: KPointer): void { + static _ColumnAttribute_alignItems(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._EffectComponentInterface_setEffectComponentOptions(ptr) + return this._ColumnAttribute_alignItems(ptr, value) } throw new Error("Not implemented") } - static _Ellipse_construct(id: KInt, flags: KInt): KPointer { + static _ColumnAttribute_justifyContent(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Ellipse_construct(id, flags) + return this._ColumnAttribute_justifyContent(ptr, value) } throw new Error("Not implemented") } - static _EllipseInterface_setEllipseOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ColumnAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._EllipseInterface_setEllipseOptions(ptr, thisArray, thisLength) + return this._ColumnAttribute_pointLight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _EmbeddedComponent_construct(id: KInt, flags: KInt): KPointer { + static _ColumnAttribute_reverse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._EmbeddedComponent_construct(id, flags) + return this._ColumnAttribute_reverse(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _EmbeddedComponentInterface_setEmbeddedComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, type: KInt): void { + static _ColumnSplit_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._EmbeddedComponentInterface_setEmbeddedComponentOptions(ptr, thisArray, thisLength, type) + return this._ColumnSplit_construct(id, flags) } throw new Error("Not implemented") } - static _EmbeddedComponentAttribute_onTerminated(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ColumnSplitInterface_setColumnSplitOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._EmbeddedComponentAttribute_onTerminated(ptr, thisArray, thisLength) + return this._ColumnSplitInterface_setColumnSplitOptions(ptr) } throw new Error("Not implemented") } - static _EmbeddedComponentAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ColumnSplitAttribute_resizeable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._EmbeddedComponentAttribute_onError(ptr, thisArray, thisLength) + return this._ColumnSplitAttribute_resizeable(ptr, value) } throw new Error("Not implemented") } - static _Flex_construct(id: KInt, flags: KInt): KPointer { + static _ColumnSplitAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Flex_construct(id, flags) + return this._ColumnSplitAttribute_divider(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FlexInterface_setFlexOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Component3D_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._FlexInterface_setFlexOptions(ptr, thisArray, thisLength) + return this._Component3D_construct(id, flags) } throw new Error("Not implemented") } - static _FlexAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Component3DInterface_setComponent3DOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FlexAttribute_pointLight(ptr, thisArray, thisLength) + return this._Component3DInterface_setComponent3DOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FlowItem_construct(id: KInt, flags: KInt): KPointer { + static _Component3DAttribute_environment(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FlowItem_construct(id, flags) + return this._Component3DAttribute_environment(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FlowItemInterface_setFlowItemOptions(ptr: KPointer): void { + static _Component3DAttribute_shader(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FlowItemInterface_setFlowItemOptions(ptr) + return this._Component3DAttribute_shader(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FolderStack_construct(id: KInt, flags: KInt): KPointer { + static _Component3DAttribute_shaderImageTexture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FolderStack_construct(id, flags) + return this._Component3DAttribute_shaderImageTexture(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FolderStackInterface_setFolderStackOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Component3DAttribute_shaderInputBuffer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FolderStackInterface_setFolderStackOptions(ptr, thisArray, thisLength) + return this._Component3DAttribute_shaderInputBuffer(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FolderStackAttribute_alignContent(ptr: KPointer, value: KInt): void { + static _Component3DAttribute_renderWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FolderStackAttribute_alignContent(ptr, value) + return this._Component3DAttribute_renderWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FolderStackAttribute_onFolderStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Component3DAttribute_renderHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FolderStackAttribute_onFolderStateChange(ptr, thisArray, thisLength) + return this._Component3DAttribute_renderHeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FolderStackAttribute_onHoverStatusChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Component3DAttribute_customRender(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, selfRenderUpdate: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._FolderStackAttribute_onHoverStatusChange(ptr, thisArray, thisLength) + return this._Component3DAttribute_customRender(ptr, thisArray, thisLength, selfRenderUpdate) } throw new Error("Not implemented") } - static _FolderStackAttribute_enableAnimation(ptr: KPointer, value: KInt): void { + static _ContainerSpan_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._FolderStackAttribute_enableAnimation(ptr, value) + return this._ContainerSpan_construct(id, flags) } throw new Error("Not implemented") } - static _FolderStackAttribute_autoHalfFold(ptr: KPointer, value: KInt): void { + static _ContainerSpanInterface_setContainerSpanOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._FolderStackAttribute_autoHalfFold(ptr, value) + return this._ContainerSpanInterface_setContainerSpanOptions(ptr) } throw new Error("Not implemented") } - static _FormComponent_construct(id: KInt, flags: KInt): KPointer { + static _ContainerSpanAttribute_textBackgroundStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FormComponent_construct(id, flags) + return this._ContainerSpanAttribute_textBackgroundStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FormComponentInterface_setFormComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Counter_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._FormComponentInterface_setFormComponentOptions(ptr, thisArray, thisLength) + return this._Counter_construct(id, flags) } throw new Error("Not implemented") } - static _FormComponentAttribute_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CounterInterface_setCounterOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._FormComponentAttribute_size(ptr, thisArray, thisLength) + return this._CounterInterface_setCounterOptions(ptr) } throw new Error("Not implemented") } - static _FormComponentAttribute_moduleName(ptr: KPointer, value: KStringPtr): void { + static _CounterAttribute_onInc(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FormComponentAttribute_moduleName(ptr, value) + return this._CounterAttribute_onInc(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FormComponentAttribute_dimension(ptr: KPointer, value: KInt): void { + static _CounterAttribute_onDec(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FormComponentAttribute_dimension(ptr, value) + return this._CounterAttribute_onDec(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FormComponentAttribute_allowUpdate(ptr: KPointer, value: KInt): void { + static _CounterAttribute_enableDec(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._FormComponentAttribute_allowUpdate(ptr, value) + return this._CounterAttribute_enableDec(ptr, value) } throw new Error("Not implemented") } - static _FormComponentAttribute_visibility(ptr: KPointer, value: KInt): void { + static _CounterAttribute_enableInc(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._FormComponentAttribute_visibility(ptr, value) + return this._CounterAttribute_enableInc(ptr, value) } throw new Error("Not implemented") } - static _FormComponentAttribute_onAcquired(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DataPanel_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._FormComponentAttribute_onAcquired(ptr, thisArray, thisLength) + return this._DataPanel_construct(id, flags) } throw new Error("Not implemented") } - static _FormComponentAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DataPanelInterface_setDataPanelOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FormComponentAttribute_onError(ptr, thisArray, thisLength) + return this._DataPanelInterface_setDataPanelOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FormComponentAttribute_onRouter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DataPanelAttribute_closeEffect(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._FormComponentAttribute_onRouter(ptr, thisArray, thisLength) + return this._DataPanelAttribute_closeEffect(ptr, value) } throw new Error("Not implemented") } - static _FormComponentAttribute_onUninstall(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DataPanelAttribute_valueColors(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FormComponentAttribute_onUninstall(ptr, thisArray, thisLength) + return this._DataPanelAttribute_valueColors(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FormComponentAttribute_onLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DataPanelAttribute_trackBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FormComponentAttribute_onLoad(ptr, thisArray, thisLength) + return this._DataPanelAttribute_trackBackgroundColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FormLink_construct(id: KInt, flags: KInt): KPointer { + static _DataPanelAttribute_strokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FormLink_construct(id, flags) + return this._DataPanelAttribute_strokeWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FormLinkInterface_setFormLinkOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DataPanelAttribute_trackShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FormLinkInterface_setFormLinkOptions(ptr, thisArray, thisLength) + return this._DataPanelAttribute_trackShadow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Gauge_construct(id: KInt, flags: KInt): KPointer { + static _DataPanelAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Gauge_construct(id, flags) + return this._DataPanelAttribute_contentModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GaugeInterface_setGaugeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DatePicker_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._GaugeInterface_setGaugeOptions(ptr, thisArray, thisLength) + return this._DatePicker_construct(id, flags) } throw new Error("Not implemented") } - static _GaugeAttribute_value(ptr: KPointer, value: number): void { + static _DatePickerInterface_setDatePickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GaugeAttribute_value(ptr, value) + return this._DatePickerInterface_setDatePickerOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GaugeAttribute_startAngle(ptr: KPointer, value: number): void { + static _DatePickerAttribute_lunar0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._GaugeAttribute_startAngle(ptr, value) + return this._DatePickerAttribute_lunar0(ptr, value) } throw new Error("Not implemented") } - static _GaugeAttribute_endAngle(ptr: KPointer, value: number): void { + static _DatePickerAttribute_lunar1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GaugeAttribute_endAngle(ptr, value) + return this._DatePickerAttribute_lunar1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GaugeAttribute_colors(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DatePickerAttribute_disappearTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GaugeAttribute_colors(ptr, thisArray, thisLength) + return this._DatePickerAttribute_disappearTextStyle0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GaugeAttribute_strokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DatePickerAttribute_disappearTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GaugeAttribute_strokeWidth(ptr, thisArray, thisLength) + return this._DatePickerAttribute_disappearTextStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GaugeAttribute_description(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DatePickerAttribute_textStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GaugeAttribute_description(ptr, thisArray, thisLength) + return this._DatePickerAttribute_textStyle0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GaugeAttribute_trackShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DatePickerAttribute_textStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GaugeAttribute_trackShadow(ptr, thisArray, thisLength) + return this._DatePickerAttribute_textStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GaugeAttribute_indicator(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DatePickerAttribute_selectedTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GaugeAttribute_indicator(ptr, thisArray, thisLength) + return this._DatePickerAttribute_selectedTextStyle0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GaugeAttribute_privacySensitive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DatePickerAttribute_selectedTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GaugeAttribute_privacySensitive(ptr, thisArray, thisLength) + return this._DatePickerAttribute_selectedTextStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GaugeAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DatePickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GaugeAttribute_contentModifier(ptr, thisArray, thisLength) + return this._DatePickerAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Grid_construct(id: KInt, flags: KInt): KPointer { + static _DatePickerAttribute_onDateChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Grid_construct(id, flags) + return this._DatePickerAttribute_onDateChange0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridInterface_setGridOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DatePickerAttribute_onDateChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridInterface_setGridOptions(ptr, thisArray, thisLength) + return this._DatePickerAttribute_onDateChange1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_columnsTemplate(ptr: KPointer, value: KStringPtr): void { + static _DatePickerAttribute_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_columnsTemplate(ptr, value) + return this._DatePickerAttribute_digitalCrownSensitivity(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_rowsTemplate(ptr: KPointer, value: KStringPtr): void { + static _DatePickerAttribute_enableHapticFeedback(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_rowsTemplate(ptr, value) + return this._DatePickerAttribute_enableHapticFeedback(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_columnsGap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DatePickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_columnsGap(ptr, thisArray, thisLength) + return this._DatePickerAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_rowsGap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Divider_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_rowsGap(ptr, thisArray, thisLength) + return this._Divider_construct(id, flags) } throw new Error("Not implemented") } - static _GridAttribute_scrollBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DividerInterface_setDividerOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_scrollBarWidth(ptr, thisArray, thisLength) + return this._DividerInterface_setDividerOptions(ptr) } throw new Error("Not implemented") } - static _GridAttribute_scrollBarColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DividerAttribute_vertical(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_scrollBarColor(ptr, thisArray, thisLength) + return this._DividerAttribute_vertical(ptr, value) } throw new Error("Not implemented") } - static _GridAttribute_scrollBar(ptr: KPointer, value: KInt): void { + static _DividerAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_scrollBar(ptr, value) + return this._DividerAttribute_color(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_onScrollBarUpdate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DividerAttribute_strokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onScrollBarUpdate(ptr, thisArray, thisLength) + return this._DividerAttribute_strokeWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_onScrollIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DividerAttribute_lineCap(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onScrollIndex(ptr, thisArray, thisLength) + return this._DividerAttribute_lineCap(ptr, value) } throw new Error("Not implemented") } - static _GridAttribute_cachedCount0(ptr: KPointer, value: number): void { + static _EffectComponent_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_cachedCount0(ptr, value) + return this._EffectComponent_construct(id, flags) } throw new Error("Not implemented") } - static _GridAttribute_cachedCount1(ptr: KPointer, count: number, show: KInt): void { + static _EffectComponentInterface_setEffectComponentOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_cachedCount1(ptr, count, show) + return this._EffectComponentInterface_setEffectComponentOptions(ptr) } throw new Error("Not implemented") } - static _GridAttribute_editMode(ptr: KPointer, value: KInt): void { + static _Ellipse_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_editMode(ptr, value) + return this._Ellipse_construct(id, flags) } throw new Error("Not implemented") } - static _GridAttribute_multiSelectable(ptr: KPointer, value: KInt): void { + static _EllipseInterface_setEllipseOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_multiSelectable(ptr, value) + return this._EllipseInterface_setEllipseOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_maxCount(ptr: KPointer, value: number): void { + static _EmbeddedComponent_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_maxCount(ptr, value) + return this._EmbeddedComponent_construct(id, flags) } throw new Error("Not implemented") } - static _GridAttribute_minCount(ptr: KPointer, value: number): void { + static _EmbeddedComponentInterface_setEmbeddedComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, type: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_minCount(ptr, value) + return this._EmbeddedComponentInterface_setEmbeddedComponentOptions(ptr, thisArray, thisLength, type) } throw new Error("Not implemented") } - static _GridAttribute_cellLength(ptr: KPointer, value: number): void { + static _EmbeddedComponentAttribute_onTerminated(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_cellLength(ptr, value) + return this._EmbeddedComponentAttribute_onTerminated(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_layoutDirection(ptr: KPointer, value: KInt): void { + static _EmbeddedComponentAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_layoutDirection(ptr, value) + return this._EmbeddedComponentAttribute_onError(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_supportAnimation(ptr: KPointer, value: KInt): void { + static _Flex_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_supportAnimation(ptr, value) + return this._Flex_construct(id, flags) } throw new Error("Not implemented") } - static _GridAttribute_onItemDragStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FlexInterface_setFlexOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onItemDragStart(ptr, thisArray, thisLength) + return this._FlexInterface_setFlexOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_onItemDragEnter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FlexAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onItemDragEnter(ptr, thisArray, thisLength) + return this._FlexAttribute_pointLight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_onItemDragMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FlowItem_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onItemDragMove(ptr, thisArray, thisLength) + return this._FlowItem_construct(id, flags) } throw new Error("Not implemented") } - static _GridAttribute_onItemDragLeave(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FlowItemInterface_setFlowItemOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onItemDragLeave(ptr, thisArray, thisLength) + return this._FlowItemInterface_setFlowItemOptions(ptr) } throw new Error("Not implemented") } - static _GridAttribute_onItemDrop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FolderStack_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onItemDrop(ptr, thisArray, thisLength) + return this._FolderStack_construct(id, flags) } throw new Error("Not implemented") } - static _GridAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FolderStackInterface_setFolderStackOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_nestedScroll(ptr, thisArray, thisLength) + return this._FolderStackInterface_setFolderStackOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { + static _FolderStackAttribute_alignContent(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_enableScrollInteraction(ptr, value) + return this._FolderStackAttribute_alignContent(ptr, value) } throw new Error("Not implemented") } - static _GridAttribute_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FolderStackAttribute_onFolderStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_friction(ptr, thisArray, thisLength) + return this._FolderStackAttribute_onFolderStateChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_alignItems(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FolderStackAttribute_onHoverStatusChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_alignItems(ptr, thisArray, thisLength) + return this._FolderStackAttribute_onHoverStatusChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FolderStackAttribute_enableAnimation(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onScroll(ptr, thisArray, thisLength) + return this._FolderStackAttribute_enableAnimation(ptr, value) } throw new Error("Not implemented") } - static _GridAttribute_onReachStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FolderStackAttribute_autoHalfFold(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onReachStart(ptr, thisArray, thisLength) + return this._FolderStackAttribute_autoHalfFold(ptr, value) } throw new Error("Not implemented") } - static _GridAttribute_onReachEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FormComponent_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onReachEnd(ptr, thisArray, thisLength) + return this._FormComponent_construct(id, flags) } throw new Error("Not implemented") } - static _GridAttribute_onScrollStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FormComponentInterface_setFormComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onScrollStart(ptr, thisArray, thisLength) + return this._FormComponentInterface_setFormComponentOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_onScrollStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FormComponentAttribute_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onScrollStop(ptr, thisArray, thisLength) + return this._FormComponentAttribute_size(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FormComponentAttribute_moduleName(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_onScrollFrameBegin(ptr, thisArray, thisLength) + return this._FormComponentAttribute_moduleName(ptr, value) } throw new Error("Not implemented") } - static _GridAttribute_edgeEffect(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FormComponentAttribute_dimension(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._GridAttribute_edgeEffect(ptr, value, thisArray, thisLength) + return this._FormComponentAttribute_dimension(ptr, value) } throw new Error("Not implemented") } - static _GridItem_construct(id: KInt, flags: KInt): KPointer { + static _FormComponentAttribute_allowUpdate(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._GridItem_construct(id, flags) + return this._FormComponentAttribute_allowUpdate(ptr, value) } throw new Error("Not implemented") } - static _GridItemInterface_setGridItemOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FormComponentAttribute_visibility(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._GridItemInterface_setGridItemOptions(ptr, thisArray, thisLength) + return this._FormComponentAttribute_visibility(ptr, value) } throw new Error("Not implemented") } - static _GridItemAttribute_rowStart(ptr: KPointer, value: number): void { + static _FormComponentAttribute_onAcquired(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridItemAttribute_rowStart(ptr, value) + return this._FormComponentAttribute_onAcquired(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridItemAttribute_rowEnd(ptr: KPointer, value: number): void { + static _FormComponentAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridItemAttribute_rowEnd(ptr, value) + return this._FormComponentAttribute_onError(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridItemAttribute_columnStart(ptr: KPointer, value: number): void { + static _FormComponentAttribute_onRouter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridItemAttribute_columnStart(ptr, value) + return this._FormComponentAttribute_onRouter(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridItemAttribute_columnEnd(ptr: KPointer, value: number): void { + static _FormComponentAttribute_onUninstall(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridItemAttribute_columnEnd(ptr, value) + return this._FormComponentAttribute_onUninstall(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridItemAttribute_forceRebuild(ptr: KPointer, value: KInt): void { + static _FormComponentAttribute_onLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridItemAttribute_forceRebuild(ptr, value) + return this._FormComponentAttribute_onLoad(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridItemAttribute_selectable(ptr: KPointer, value: KInt): void { + static _FormLink_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._GridItemAttribute_selectable(ptr, value) + return this._FormLink_construct(id, flags) } throw new Error("Not implemented") } - static _GridItemAttribute_selected(ptr: KPointer, value: KInt): void { + static _FormLinkInterface_setFormLinkOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridItemAttribute_selected(ptr, value) + return this._FormLinkInterface_setFormLinkOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridItemAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Gauge_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._GridItemAttribute_onSelect(ptr, thisArray, thisLength) + return this._Gauge_construct(id, flags) } throw new Error("Not implemented") } - static _GridItemAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GaugeInterface_setGaugeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridItemAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + return this._GaugeInterface_setGaugeOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridCol_construct(id: KInt, flags: KInt): KPointer { + static _GaugeAttribute_value(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._GridCol_construct(id, flags) + return this._GaugeAttribute_value(ptr, value) } throw new Error("Not implemented") } - static _GridColInterface_setGridColOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GaugeAttribute_startAngle(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._GridColInterface_setGridColOptions(ptr, thisArray, thisLength) + return this._GaugeAttribute_startAngle(ptr, value) } throw new Error("Not implemented") } - static _GridColAttribute_span(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GaugeAttribute_endAngle(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._GridColAttribute_span(ptr, thisArray, thisLength) + return this._GaugeAttribute_endAngle(ptr, value) } throw new Error("Not implemented") } - static _GridColAttribute_gridColOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GaugeAttribute_colors(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridColAttribute_gridColOffset(ptr, thisArray, thisLength) + return this._GaugeAttribute_colors(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridColAttribute_order(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GaugeAttribute_strokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridColAttribute_order(ptr, thisArray, thisLength) + return this._GaugeAttribute_strokeWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridContainer_construct(id: KInt, flags: KInt): KPointer { + static _GaugeAttribute_description(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridContainer_construct(id, flags) + return this._GaugeAttribute_description(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridContainerInterface_setGridContainerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GaugeAttribute_trackShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridContainerInterface_setGridContainerOptions(ptr, thisArray, thisLength) + return this._GaugeAttribute_trackShadow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridRow_construct(id: KInt, flags: KInt): KPointer { + static _GaugeAttribute_indicator(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridRow_construct(id, flags) + return this._GaugeAttribute_indicator(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridRowInterface_setGridRowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GaugeAttribute_privacySensitive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridRowInterface_setGridRowOptions(ptr, thisArray, thisLength) + return this._GaugeAttribute_privacySensitive(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridRowAttribute_onBreakpointChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GaugeAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GridRowAttribute_onBreakpointChange(ptr, thisArray, thisLength) + return this._GaugeAttribute_contentModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GridRowAttribute_alignItems(ptr: KPointer, value: KInt): void { + static _Grid_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._GridRowAttribute_alignItems(ptr, value) + return this._Grid_construct(id, flags) } throw new Error("Not implemented") } - static _Hyperlink_construct(id: KInt, flags: KInt): KPointer { + static _GridInterface_setGridOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Hyperlink_construct(id, flags) + return this._GridInterface_setGridOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _HyperlinkInterface_setHyperlinkOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_columnsTemplate(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._HyperlinkInterface_setHyperlinkOptions(ptr, thisArray, thisLength) + return this._GridAttribute_columnsTemplate(ptr, value) } throw new Error("Not implemented") } - static _HyperlinkAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_rowsTemplate(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._HyperlinkAttribute_color(ptr, thisArray, thisLength) + return this._GridAttribute_rowsTemplate(ptr, value) } throw new Error("Not implemented") } - static _Image_construct(id: KInt, flags: KInt): KPointer { + static _GridAttribute_columnsGap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Image_construct(id, flags) + return this._GridAttribute_columnsGap(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageInterface_setImageOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_rowsGap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageInterface_setImageOptions0(ptr, thisArray, thisLength) + return this._GridAttribute_rowsGap(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageInterface_setImageOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_scrollBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageInterface_setImageOptions1(ptr, thisArray, thisLength) + return this._GridAttribute_scrollBarWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageInterface_setImageOptions2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_scrollBarColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageInterface_setImageOptions2(ptr, thisArray, thisLength) + return this._GridAttribute_scrollBarColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_alt(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_scrollBar(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_alt(ptr, thisArray, thisLength) + return this._GridAttribute_scrollBar(ptr, value) } throw new Error("Not implemented") } - static _ImageAttribute_matchTextDirection(ptr: KPointer, value: KInt): void { + static _GridAttribute_onScrollBarUpdate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_matchTextDirection(ptr, value) + return this._GridAttribute_onScrollBarUpdate(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_fitOriginalSize(ptr: KPointer, value: KInt): void { + static _GridAttribute_onScrollIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_fitOriginalSize(ptr, value) + return this._GridAttribute_onScrollIndex(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_fillColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_cachedCount0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_fillColor(ptr, thisArray, thisLength) + return this._GridAttribute_cachedCount0(ptr, value) } throw new Error("Not implemented") } - static _ImageAttribute_objectFit(ptr: KPointer, value: KInt): void { + static _GridAttribute_cachedCount1(ptr: KPointer, count: number, show: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_objectFit(ptr, value) + return this._GridAttribute_cachedCount1(ptr, count, show) } throw new Error("Not implemented") } - static _ImageAttribute_objectRepeat(ptr: KPointer, value: KInt): void { + static _GridAttribute_editMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_objectRepeat(ptr, value) + return this._GridAttribute_editMode(ptr, value) } throw new Error("Not implemented") } - static _ImageAttribute_autoResize(ptr: KPointer, value: KInt): void { + static _GridAttribute_multiSelectable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_autoResize(ptr, value) + return this._GridAttribute_multiSelectable(ptr, value) } throw new Error("Not implemented") } - static _ImageAttribute_renderMode(ptr: KPointer, value: KInt): void { + static _GridAttribute_maxCount(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_renderMode(ptr, value) + return this._GridAttribute_maxCount(ptr, value) } throw new Error("Not implemented") } - static _ImageAttribute_dynamicRangeMode(ptr: KPointer, value: KInt): void { + static _GridAttribute_minCount(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_dynamicRangeMode(ptr, value) + return this._GridAttribute_minCount(ptr, value) } throw new Error("Not implemented") } - static _ImageAttribute_interpolation(ptr: KPointer, value: KInt): void { + static _GridAttribute_cellLength(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_interpolation(ptr, value) + return this._GridAttribute_cellLength(ptr, value) } throw new Error("Not implemented") } - static _ImageAttribute_sourceSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_layoutDirection(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_sourceSize(ptr, thisArray, thisLength) + return this._GridAttribute_layoutDirection(ptr, value) } throw new Error("Not implemented") } - static _ImageAttribute_syncLoad(ptr: KPointer, value: KInt): void { + static _GridAttribute_supportAnimation(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_syncLoad(ptr, value) + return this._GridAttribute_supportAnimation(ptr, value) } throw new Error("Not implemented") } - static _ImageAttribute_colorFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_onItemDragStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_colorFilter(ptr, thisArray, thisLength) + return this._GridAttribute_onItemDragStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_copyOption(ptr: KPointer, value: KInt): void { + static _GridAttribute_onItemDragEnter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_copyOption(ptr, value) + return this._GridAttribute_onItemDragEnter(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_draggable(ptr: KPointer, value: KInt): void { + static _GridAttribute_onItemDragMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_draggable(ptr, value) + return this._GridAttribute_onItemDragMove(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_onItemDragLeave(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_pointLight(ptr, thisArray, thisLength) + return this._GridAttribute_onItemDragLeave(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_edgeAntialiasing(ptr: KPointer, value: number): void { + static _GridAttribute_onItemDrop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_edgeAntialiasing(ptr, value) + return this._GridAttribute_onItemDrop(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_onComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_onComplete(ptr, thisArray, thisLength) + return this._GridAttribute_nestedScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_onError(ptr, thisArray, thisLength) + return this._GridAttribute_enableScrollInteraction(ptr, value) } throw new Error("Not implemented") } - static _ImageAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_onFinish(ptr, thisArray, thisLength) + return this._GridAttribute_friction(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { + static _GridAttribute_alignItems(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_enableAnalyzer(ptr, value) + return this._GridAttribute_alignItems(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_analyzerConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_analyzerConfig(ptr, thisArray, thisLength) + return this._GridAttribute_onScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_resizable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_onReachStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_resizable(ptr, thisArray, thisLength) + return this._GridAttribute_onReachStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_privacySensitive(ptr: KPointer, value: KInt): void { + static _GridAttribute_onReachEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_privacySensitive(ptr, value) + return this._GridAttribute_onReachEnd(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAttribute_enhancedImageQuality(ptr: KPointer, value: KInt): void { + static _GridAttribute_onScrollStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAttribute_enhancedImageQuality(ptr, value) + return this._GridAttribute_onScrollStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAnimator_construct(id: KInt, flags: KInt): KPointer { + static _GridAttribute_onScrollStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimator_construct(id, flags) + return this._GridAttribute_onScrollStop(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAnimatorInterface_setImageAnimatorOptions(ptr: KPointer): void { + static _GridAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorInterface_setImageAnimatorOptions(ptr) + return this._GridAttribute_onScrollFrameBegin(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_images(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridAttribute_edgeEffect(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_images(ptr, thisArray, thisLength) + return this._GridAttribute_edgeEffect(ptr, value, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_state(ptr: KPointer, value: KInt): void { + static _GridItem_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_state(ptr, value) + return this._GridItem_construct(id, flags) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_duration(ptr: KPointer, value: number): void { + static _GridItemInterface_setGridItemOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_duration(ptr, value) + return this._GridItemInterface_setGridItemOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_reverse(ptr: KPointer, value: KInt): void { + static _GridItemAttribute_rowStart(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_reverse(ptr, value) + return this._GridItemAttribute_rowStart(ptr, value) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_fixedSize(ptr: KPointer, value: KInt): void { + static _GridItemAttribute_rowEnd(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_fixedSize(ptr, value) + return this._GridItemAttribute_rowEnd(ptr, value) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_preDecode(ptr: KPointer, value: number): void { + static _GridItemAttribute_columnStart(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_preDecode(ptr, value) + return this._GridItemAttribute_columnStart(ptr, value) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_fillMode(ptr: KPointer, value: KInt): void { + static _GridItemAttribute_columnEnd(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_fillMode(ptr, value) + return this._GridItemAttribute_columnEnd(ptr, value) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_iterations(ptr: KPointer, value: number): void { + static _GridItemAttribute_forceRebuild(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_iterations(ptr, value) + return this._GridItemAttribute_forceRebuild(ptr, value) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridItemAttribute_selectable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_onStart(ptr, thisArray, thisLength) + return this._GridItemAttribute_selectable(ptr, value) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_onPause(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridItemAttribute_selected(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_onPause(ptr, thisArray, thisLength) + return this._GridItemAttribute_selected(ptr, value) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_onRepeat(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridItemAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_onRepeat(ptr, thisArray, thisLength) + return this._GridItemAttribute_onSelect(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_onCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridItemAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_onCancel(ptr, thisArray, thisLength) + return this._GridItemAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageAnimatorAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridCol_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ImageAnimatorAttribute_onFinish(ptr, thisArray, thisLength) + return this._GridCol_construct(id, flags) } throw new Error("Not implemented") } - static _ImageSpan_construct(id: KInt, flags: KInt): KPointer { + static _GridColInterface_setGridColOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageSpan_construct(id, flags) + return this._GridColInterface_setGridColOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageSpanInterface_setImageSpanOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridColAttribute_span(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageSpanInterface_setImageSpanOptions(ptr, thisArray, thisLength) + return this._GridColAttribute_span(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageSpanAttribute_verticalAlign(ptr: KPointer, value: KInt): void { + static _GridColAttribute_gridColOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageSpanAttribute_verticalAlign(ptr, value) + return this._GridColAttribute_gridColOffset(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageSpanAttribute_colorFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridColAttribute_order(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageSpanAttribute_colorFilter(ptr, thisArray, thisLength) + return this._GridColAttribute_order(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageSpanAttribute_objectFit(ptr: KPointer, value: KInt): void { + static _GridContainer_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ImageSpanAttribute_objectFit(ptr, value) + return this._GridContainer_construct(id, flags) } throw new Error("Not implemented") } - static _ImageSpanAttribute_onComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridContainerInterface_setGridContainerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageSpanAttribute_onComplete(ptr, thisArray, thisLength) + return this._GridContainerInterface_setGridContainerOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ImageSpanAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridRow_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ImageSpanAttribute_onError(ptr, thisArray, thisLength) + return this._GridRow_construct(id, flags) } throw new Error("Not implemented") } - static _ImageSpanAttribute_alt(ptr: KPointer, value: KPointer): void { + static _GridRowInterface_setGridRowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ImageSpanAttribute_alt(ptr, value) + return this._GridRowInterface_setGridRowOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Line_construct(id: KInt, flags: KInt): KPointer { + static _GridRowAttribute_onBreakpointChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Line_construct(id, flags) + return this._GridRowAttribute_onBreakpointChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LineInterface_setLineOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _GridRowAttribute_alignItems(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._LineInterface_setLineOptions(ptr, thisArray, thisLength) + return this._GridRowAttribute_alignItems(ptr, value) } throw new Error("Not implemented") } - static _LineAttribute_startPoint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Hyperlink_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._LineAttribute_startPoint(ptr, thisArray, thisLength) + return this._Hyperlink_construct(id, flags) } throw new Error("Not implemented") } - static _LineAttribute_endPoint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _HyperlinkInterface_setHyperlinkOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LineAttribute_endPoint(ptr, thisArray, thisLength) + return this._HyperlinkInterface_setHyperlinkOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _List_construct(id: KInt, flags: KInt): KPointer { + static _HyperlinkAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._List_construct(id, flags) + return this._HyperlinkAttribute_color(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListInterface_setListOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Image_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ListInterface_setListOptions(ptr, thisArray, thisLength) + return this._Image_construct(id, flags) } throw new Error("Not implemented") } - static _ListAttribute_alignListItem(ptr: KPointer, value: KInt): void { + static _ImageInterface_setImageOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_alignListItem(ptr, value) + return this._ImageInterface_setImageOptions0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_listDirection(ptr: KPointer, value: KInt): void { + static _ImageInterface_setImageOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_listDirection(ptr, value) + return this._ImageInterface_setImageOptions1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_scrollBar(ptr: KPointer, value: KInt): void { + static _ImageInterface_setImageOptions2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_scrollBar(ptr, value) + return this._ImageInterface_setImageOptions2(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_contentStartOffset(ptr: KPointer, value: number): void { + static _ImageAttribute_alt(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_contentStartOffset(ptr, value) + return this._ImageAttribute_alt(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_contentEndOffset(ptr: KPointer, value: number): void { + static _ImageAttribute_matchTextDirection(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_contentEndOffset(ptr, value) + return this._ImageAttribute_matchTextDirection(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_fitOriginalSize(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_divider(ptr, thisArray, thisLength) + return this._ImageAttribute_fitOriginalSize(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_editMode(ptr: KPointer, value: KInt): void { + static _ImageAttribute_fillColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_editMode(ptr, value) + return this._ImageAttribute_fillColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_multiSelectable(ptr: KPointer, value: KInt): void { + static _ImageAttribute_fillColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_multiSelectable(ptr, value) + return this._ImageAttribute_fillColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_cachedCount0(ptr: KPointer, value: number): void { + static _ImageAttribute_objectFit(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_cachedCount0(ptr, value) + return this._ImageAttribute_objectFit(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_cachedCount1(ptr: KPointer, count: number, show: KInt): void { + static _ImageAttribute_imageMatrix(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_cachedCount1(ptr, count, show) + return this._ImageAttribute_imageMatrix(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_chainAnimation(ptr: KPointer, value: KInt): void { + static _ImageAttribute_objectRepeat(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_chainAnimation(ptr, value) + return this._ImageAttribute_objectRepeat(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_chainAnimationOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_autoResize(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_chainAnimationOptions(ptr, thisArray, thisLength) + return this._ImageAttribute_autoResize(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_sticky(ptr: KPointer, value: KInt): void { + static _ImageAttribute_renderMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_sticky(ptr, value) + return this._ImageAttribute_renderMode(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_scrollSnapAlign(ptr: KPointer, value: KInt): void { + static _ImageAttribute_dynamicRangeMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_scrollSnapAlign(ptr, value) + return this._ImageAttribute_dynamicRangeMode(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_interpolation(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_nestedScroll(ptr, thisArray, thisLength) + return this._ImageAttribute_interpolation(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { + static _ImageAttribute_sourceSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_enableScrollInteraction(ptr, value) + return this._ImageAttribute_sourceSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_syncLoad(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_friction(ptr, thisArray, thisLength) + return this._ImageAttribute_syncLoad(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_childrenMainSize(ptr: KPointer, value: KPointer): void { + static _ImageAttribute_colorFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_childrenMainSize(ptr, value) + return this._ImageAttribute_colorFilter(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_maintainVisibleContentPosition(ptr: KPointer, value: KInt): void { + static _ImageAttribute_copyOption(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_maintainVisibleContentPosition(ptr, value) + return this._ImageAttribute_copyOption(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_draggable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onScroll(ptr, thisArray, thisLength) + return this._ImageAttribute_draggable(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_onScrollIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onScrollIndex(ptr, thisArray, thisLength) + return this._ImageAttribute_pointLight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_onScrollVisibleContentChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_edgeAntialiasing(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onScrollVisibleContentChange(ptr, thisArray, thisLength) + return this._ImageAttribute_edgeAntialiasing(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_onReachStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_onComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onReachStart(ptr, thisArray, thisLength) + return this._ImageAttribute_onComplete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_onReachEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onReachEnd(ptr, thisArray, thisLength) + return this._ImageAttribute_onError(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_onScrollStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onScrollStart(ptr, thisArray, thisLength) + return this._ImageAttribute_onFinish(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_onScrollStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onScrollStop(ptr, thisArray, thisLength) + return this._ImageAttribute_enableAnalyzer(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_onItemDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_analyzerConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onItemDelete(ptr, thisArray, thisLength) + return this._ImageAttribute_analyzerConfig(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_onItemMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_resizable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onItemMove(ptr, thisArray, thisLength) + return this._ImageAttribute_resizable(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_onItemDragStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_privacySensitive(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onItemDragStart(ptr, thisArray, thisLength) + return this._ImageAttribute_privacySensitive(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_onItemDragEnter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_enhancedImageQuality(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onItemDragEnter(ptr, thisArray, thisLength) + return this._ImageAttribute_enhancedImageQuality(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_onItemDragMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAttribute_orientation(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onItemDragMove(ptr, thisArray, thisLength) + return this._ImageAttribute_orientation(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_onItemDragLeave(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAnimator_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onItemDragLeave(ptr, thisArray, thisLength) + return this._ImageAnimator_construct(id, flags) } throw new Error("Not implemented") } - static _ListAttribute_onItemDrop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAnimatorInterface_setImageAnimatorOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onItemDrop(ptr, thisArray, thisLength) + return this._ImageAnimatorInterface_setImageAnimatorOptions(ptr) } throw new Error("Not implemented") } - static _ListAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAnimatorAttribute_images(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_onScrollFrameBegin(ptr, thisArray, thisLength) + return this._ImageAnimatorAttribute_images(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListAttribute_lanes(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAnimatorAttribute_state(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_lanes(ptr, thisArray, thisLength) + return this._ImageAnimatorAttribute_state(ptr, value) } throw new Error("Not implemented") } - static _ListAttribute_edgeEffect(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAnimatorAttribute_duration(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ListAttribute_edgeEffect(ptr, value, thisArray, thisLength) + return this._ImageAnimatorAttribute_duration(ptr, value) } throw new Error("Not implemented") } - static _ListItem_construct(id: KInt, flags: KInt): KPointer { + static _ImageAnimatorAttribute_reverse(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListItem_construct(id, flags) + return this._ImageAnimatorAttribute_reverse(ptr, value) } throw new Error("Not implemented") } - static _ListItemInterface_setListItemOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAnimatorAttribute_fixedSize(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListItemInterface_setListItemOptions0(ptr, thisArray, thisLength) + return this._ImageAnimatorAttribute_fixedSize(ptr, value) } throw new Error("Not implemented") } - static _ListItemInterface_setListItemOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAnimatorAttribute_preDecode(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ListItemInterface_setListItemOptions1(ptr, thisArray, thisLength) + return this._ImageAnimatorAttribute_preDecode(ptr, value) } throw new Error("Not implemented") } - static _ListItemAttribute_sticky(ptr: KPointer, value: KInt): void { + static _ImageAnimatorAttribute_fillMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListItemAttribute_sticky(ptr, value) + return this._ImageAnimatorAttribute_fillMode(ptr, value) } throw new Error("Not implemented") } - static _ListItemAttribute_editable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAnimatorAttribute_iterations(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ListItemAttribute_editable(ptr, thisArray, thisLength) + return this._ImageAnimatorAttribute_iterations(ptr, value) } throw new Error("Not implemented") } - static _ListItemAttribute_selectable(ptr: KPointer, value: KInt): void { + static _ImageAnimatorAttribute_monitorInvisibleArea(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListItemAttribute_selectable(ptr, value) + return this._ImageAnimatorAttribute_monitorInvisibleArea(ptr, value) } throw new Error("Not implemented") } - static _ListItemAttribute_selected(ptr: KPointer, value: KInt): void { + static _ImageAnimatorAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListItemAttribute_selected(ptr, value) + return this._ImageAnimatorAttribute_onStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListItemAttribute_swipeAction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAnimatorAttribute_onPause(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListItemAttribute_swipeAction(ptr, thisArray, thisLength) + return this._ImageAnimatorAttribute_onPause(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListItemAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAnimatorAttribute_onRepeat(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListItemAttribute_onSelect(ptr, thisArray, thisLength) + return this._ImageAnimatorAttribute_onRepeat(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListItemAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageAnimatorAttribute_onCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListItemAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + return this._ImageAnimatorAttribute_onCancel(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListItemGroup_construct(id: KInt, flags: KInt): KPointer { + static _ImageAnimatorAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListItemGroup_construct(id, flags) + return this._ImageAnimatorAttribute_onFinish(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListItemGroupInterface_setListItemGroupOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageSpan_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ListItemGroupInterface_setListItemGroupOptions(ptr, thisArray, thisLength) + return this._ImageSpan_construct(id, flags) } throw new Error("Not implemented") } - static _ListItemGroupAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageSpanInterface_setImageSpanOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ListItemGroupAttribute_divider(ptr, thisArray, thisLength) + return this._ImageSpanInterface_setImageSpanOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ListItemGroupAttribute_childrenMainSize(ptr: KPointer, value: KPointer): void { + static _ImageSpanAttribute_verticalAlign(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ListItemGroupAttribute_childrenMainSize(ptr, value) + return this._ImageSpanAttribute_verticalAlign(ptr, value) } throw new Error("Not implemented") } - static _LoadingProgress_construct(id: KInt, flags: KInt): KPointer { + static _ImageSpanAttribute_colorFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LoadingProgress_construct(id, flags) + return this._ImageSpanAttribute_colorFilter(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LoadingProgressInterface_setLoadingProgressOptions(ptr: KPointer): void { + static _ImageSpanAttribute_objectFit(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._LoadingProgressInterface_setLoadingProgressOptions(ptr) + return this._ImageSpanAttribute_objectFit(ptr, value) } throw new Error("Not implemented") } - static _LoadingProgressAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageSpanAttribute_onComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LoadingProgressAttribute_color(ptr, thisArray, thisLength) + return this._ImageSpanAttribute_onComplete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LoadingProgressAttribute_enableLoading(ptr: KPointer, value: KInt): void { + static _ImageSpanAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LoadingProgressAttribute_enableLoading(ptr, value) + return this._ImageSpanAttribute_onError(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LoadingProgressAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ImageSpanAttribute_alt(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._LoadingProgressAttribute_contentModifier(ptr, thisArray, thisLength) + return this._ImageSpanAttribute_alt(ptr, value) } throw new Error("Not implemented") } - static _LocationButton_construct(id: KInt, flags: KInt): KPointer { + static _LazyGridLayout_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._LocationButton_construct(id, flags) + return this._LazyGridLayout_construct(id, flags) } throw new Error("Not implemented") } - static _LocationButtonInterface_setLocationButtonOptions0(ptr: KPointer): void { + static _LazyGridLayoutAttribute_rowsGap(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._LocationButtonInterface_setLocationButtonOptions0(ptr) + return this._LazyGridLayoutAttribute_rowsGap(ptr, value) } throw new Error("Not implemented") } - static _LocationButtonInterface_setLocationButtonOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _LazyGridLayoutAttribute_columnsGap(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._LocationButtonInterface_setLocationButtonOptions1(ptr, thisArray, thisLength) + return this._LazyGridLayoutAttribute_columnsGap(ptr, value) } throw new Error("Not implemented") } - static _LocationButtonAttribute_onClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _LazyVGridLayout_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._LocationButtonAttribute_onClick(ptr, thisArray, thisLength) + return this._LazyVGridLayout_construct(id, flags) } throw new Error("Not implemented") } - static _Marquee_construct(id: KInt, flags: KInt): KPointer { + static _LazyVGridLayoutInterface_setLazyVGridLayoutOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._Marquee_construct(id, flags) + return this._LazyVGridLayoutInterface_setLazyVGridLayoutOptions(ptr) } throw new Error("Not implemented") } - static _MarqueeInterface_setMarqueeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _LazyVGridLayoutAttribute_columnsTemplate(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._MarqueeInterface_setMarqueeOptions(ptr, thisArray, thisLength) + return this._LazyVGridLayoutAttribute_columnsTemplate(ptr, value) } throw new Error("Not implemented") } - static _MarqueeAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Line_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._MarqueeAttribute_fontColor(ptr, thisArray, thisLength) + return this._Line_construct(id, flags) } throw new Error("Not implemented") } - static _MarqueeAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _LineInterface_setLineOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MarqueeAttribute_fontSize(ptr, thisArray, thisLength) + return this._LineInterface_setLineOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MarqueeAttribute_allowScale(ptr: KPointer, value: KInt): void { + static _LineAttribute_startPoint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MarqueeAttribute_allowScale(ptr, value) + return this._LineAttribute_startPoint(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MarqueeAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _LineAttribute_endPoint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MarqueeAttribute_fontWeight(ptr, thisArray, thisLength) + return this._LineAttribute_endPoint(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MarqueeAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _List_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._MarqueeAttribute_fontFamily(ptr, thisArray, thisLength) + return this._List_construct(id, flags) } throw new Error("Not implemented") } - static _MarqueeAttribute_marqueeUpdateStrategy(ptr: KPointer, value: KInt): void { + static _ListInterface_setListOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MarqueeAttribute_marqueeUpdateStrategy(ptr, value) + return this._ListInterface_setListOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MarqueeAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_alignListItem(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MarqueeAttribute_onStart(ptr, thisArray, thisLength) + return this._ListAttribute_alignListItem(ptr, value) } throw new Error("Not implemented") } - static _MarqueeAttribute_onBounce(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_listDirection(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MarqueeAttribute_onBounce(ptr, thisArray, thisLength) + return this._ListAttribute_listDirection(ptr, value) } throw new Error("Not implemented") } - static _MarqueeAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_scrollBar(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MarqueeAttribute_onFinish(ptr, thisArray, thisLength) + return this._ListAttribute_scrollBar(ptr, value) } throw new Error("Not implemented") } - static _MediaCachedImage_construct(id: KInt, flags: KInt): KPointer { + static _ListAttribute_contentStartOffset(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._MediaCachedImage_construct(id, flags) + return this._ListAttribute_contentStartOffset(ptr, value) } throw new Error("Not implemented") } - static _MediaCachedImageInterface_setMediaCachedImageOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_contentEndOffset(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._MediaCachedImageInterface_setMediaCachedImageOptions(ptr, thisArray, thisLength) + return this._ListAttribute_contentEndOffset(ptr, value) } throw new Error("Not implemented") } - static _Menu_construct(id: KInt, flags: KInt): KPointer { + static _ListAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Menu_construct(id, flags) + return this._ListAttribute_divider(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MenuInterface_setMenuOptions(ptr: KPointer): void { + static _ListAttribute_editMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MenuInterface_setMenuOptions(ptr) + return this._ListAttribute_editMode(ptr, value) } throw new Error("Not implemented") } - static _MenuAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_multiSelectable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MenuAttribute_fontSize(ptr, thisArray, thisLength) + return this._ListAttribute_multiSelectable(ptr, value) } throw new Error("Not implemented") } - static _MenuAttribute_font(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_cachedCount0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._MenuAttribute_font(ptr, thisArray, thisLength) + return this._ListAttribute_cachedCount0(ptr, value) } throw new Error("Not implemented") } - static _MenuAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_cachedCount1(ptr: KPointer, count: number, show: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MenuAttribute_fontColor(ptr, thisArray, thisLength) + return this._ListAttribute_cachedCount1(ptr, count, show) } throw new Error("Not implemented") } - static _MenuAttribute_radius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_chainAnimation(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MenuAttribute_radius(ptr, thisArray, thisLength) + return this._ListAttribute_chainAnimation(ptr, value) } throw new Error("Not implemented") } - static _MenuAttribute_menuItemDivider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_chainAnimationOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MenuAttribute_menuItemDivider(ptr, thisArray, thisLength) + return this._ListAttribute_chainAnimationOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MenuAttribute_menuItemGroupDivider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_sticky(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MenuAttribute_menuItemGroupDivider(ptr, thisArray, thisLength) + return this._ListAttribute_sticky(ptr, value) } throw new Error("Not implemented") } - static _MenuAttribute_subMenuExpandingMode(ptr: KPointer, value: KInt): void { + static _ListAttribute_scrollSnapAlign(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MenuAttribute_subMenuExpandingMode(ptr, value) + return this._ListAttribute_scrollSnapAlign(ptr, value) } throw new Error("Not implemented") } - static _MenuItem_construct(id: KInt, flags: KInt): KPointer { + static _ListAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MenuItem_construct(id, flags) + return this._ListAttribute_nestedScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MenuItemInterface_setMenuItemOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MenuItemInterface_setMenuItemOptions(ptr, thisArray, thisLength) + return this._ListAttribute_enableScrollInteraction(ptr, value) } throw new Error("Not implemented") } - static _MenuItemAttribute_selected(ptr: KPointer, value: KInt): void { + static _ListAttribute_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MenuItemAttribute_selected(ptr, value) + return this._ListAttribute_friction(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MenuItemAttribute_selectIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_childrenMainSize(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._MenuItemAttribute_selectIcon(ptr, thisArray, thisLength) + return this._ListAttribute_childrenMainSize(ptr, value) } throw new Error("Not implemented") } - static _MenuItemAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_maintainVisibleContentPosition(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MenuItemAttribute_onChange(ptr, thisArray, thisLength) + return this._ListAttribute_maintainVisibleContentPosition(ptr, value) } throw new Error("Not implemented") } - static _MenuItemAttribute_contentFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_stackFromEnd(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MenuItemAttribute_contentFont(ptr, thisArray, thisLength) + return this._ListAttribute_stackFromEnd(ptr, value) } throw new Error("Not implemented") } - static _MenuItemAttribute_contentFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MenuItemAttribute_contentFontColor(ptr, thisArray, thisLength) + return this._ListAttribute_onScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MenuItemAttribute_labelFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_onScrollIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MenuItemAttribute_labelFont(ptr, thisArray, thisLength) + return this._ListAttribute_onScrollIndex(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MenuItemAttribute_labelFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_onScrollVisibleContentChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MenuItemAttribute_labelFontColor(ptr, thisArray, thisLength) + return this._ListAttribute_onScrollVisibleContentChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MenuItemAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_onReachStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MenuItemAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + return this._ListAttribute_onReachStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MenuItemGroup_construct(id: KInt, flags: KInt): KPointer { + static _ListAttribute_onReachEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MenuItemGroup_construct(id, flags) + return this._ListAttribute_onReachEnd(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MenuItemGroupInterface_setMenuItemGroupOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_onScrollStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MenuItemGroupInterface_setMenuItemGroupOptions(ptr, thisArray, thisLength) + return this._ListAttribute_onScrollStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestination_construct(id: KInt, flags: KInt): KPointer { + static _ListAttribute_onScrollStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestination_construct(id, flags) + return this._ListAttribute_onScrollStop(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationInterface_setNavDestinationOptions(ptr: KPointer): void { + static _ListAttribute_onItemDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationInterface_setNavDestinationOptions(ptr) + return this._ListAttribute_onItemDelete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_hideTitleBar0(ptr: KPointer, value: KInt): void { + static _ListAttribute_onItemMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_hideTitleBar0(ptr, value) + return this._ListAttribute_onItemMove(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_hideTitleBar1(ptr: KPointer, hide: KInt, animated: KInt): void { + static _ListAttribute_onItemDragStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_hideTitleBar1(ptr, hide, animated) + return this._ListAttribute_onItemDragStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_onShown(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_onItemDragEnter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_onShown(ptr, thisArray, thisLength) + return this._ListAttribute_onItemDragEnter(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_onHidden(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_onItemDragMove(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_onHidden(ptr, thisArray, thisLength) + return this._ListAttribute_onItemDragMove(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_onBackPressed(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_onItemDragLeave(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_onBackPressed(ptr, thisArray, thisLength) + return this._ListAttribute_onItemDragLeave(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_mode(ptr: KPointer, value: KInt): void { + static _ListAttribute_onItemDrop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_mode(ptr, value) + return this._ListAttribute_onItemDrop(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_backButtonIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_backButtonIcon(ptr, thisArray, thisLength) + return this._ListAttribute_onScrollFrameBegin(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_menus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_lanes(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_menus(ptr, thisArray, thisLength) + return this._ListAttribute_lanes(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_onReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListAttribute_edgeEffect(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_onReady(ptr, thisArray, thisLength) + return this._ListAttribute_edgeEffect(ptr, value, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_onWillAppear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListItem_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_onWillAppear(ptr, thisArray, thisLength) + return this._ListItem_construct(id, flags) } throw new Error("Not implemented") } - static _NavDestinationAttribute_onWillDisappear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListItemInterface_setListItemOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_onWillDisappear(ptr, thisArray, thisLength) + return this._ListItemInterface_setListItemOptions0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_onWillShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListItemInterface_setListItemOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_onWillShow(ptr, thisArray, thisLength) + return this._ListItemInterface_setListItemOptions1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_onWillHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListItemAttribute_sticky(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_onWillHide(ptr, thisArray, thisLength) + return this._ListItemAttribute_sticky(ptr, value) } throw new Error("Not implemented") } - static _NavDestinationAttribute_systemBarStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListItemAttribute_editable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_systemBarStyle(ptr, thisArray, thisLength) + return this._ListItemAttribute_editable(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_recoverable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListItemAttribute_selectable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_recoverable(ptr, thisArray, thisLength) + return this._ListItemAttribute_selectable(ptr, value) } throw new Error("Not implemented") } - static _NavDestinationAttribute_systemTransition(ptr: KPointer, value: KInt): void { + static _ListItemAttribute_selected(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_systemTransition(ptr, value) + return this._ListItemAttribute_selected(ptr, value) } throw new Error("Not implemented") } - static _NavDestinationAttribute_title(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListItemAttribute_swipeAction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_title(ptr, thisArray, thisLength) + return this._ListItemAttribute_swipeAction(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_toolbarConfiguration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListItemAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_toolbarConfiguration(ptr, thisArray, thisLength) + return this._ListItemAttribute_onSelect(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_hideToolBar(ptr: KPointer, hide: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListItemAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_hideToolBar(ptr, hide, thisArray, thisLength) + return this._ListItemAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavDestinationAttribute_ignoreLayoutSafeArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListItemGroup_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavDestinationAttribute_ignoreLayoutSafeArea(ptr, thisArray, thisLength) + return this._ListItemGroup_construct(id, flags) } throw new Error("Not implemented") } - static _NavRouter_construct(id: KInt, flags: KInt): KPointer { + static _ListItemGroupInterface_setListItemGroupOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavRouter_construct(id, flags) + return this._ListItemGroupInterface_setListItemGroupOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavRouterInterface_setNavRouterOptions0(ptr: KPointer): void { + static _ListItemGroupAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavRouterInterface_setNavRouterOptions0(ptr) + return this._ListItemGroupAttribute_divider(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavRouterInterface_setNavRouterOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ListItemGroupAttribute_childrenMainSize(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._NavRouterInterface_setNavRouterOptions1(ptr, thisArray, thisLength) + return this._ListItemGroupAttribute_childrenMainSize(ptr, value) } throw new Error("Not implemented") } - static _NavRouterAttribute_onStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _LoadingProgress_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavRouterAttribute_onStateChange(ptr, thisArray, thisLength) + return this._LoadingProgress_construct(id, flags) } throw new Error("Not implemented") } - static _NavRouterAttribute_mode(ptr: KPointer, value: KInt): void { + static _LoadingProgressInterface_setLoadingProgressOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._NavRouterAttribute_mode(ptr, value) + return this._LoadingProgressInterface_setLoadingProgressOptions(ptr) } throw new Error("Not implemented") } - static _Navigator_construct(id: KInt, flags: KInt): KPointer { + static _LoadingProgressAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Navigator_construct(id, flags) + return this._LoadingProgressAttribute_color(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigatorInterface_setNavigatorOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _LoadingProgressAttribute_enableLoading(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._NavigatorInterface_setNavigatorOptions0(ptr, thisArray, thisLength) + return this._LoadingProgressAttribute_enableLoading(ptr, value) } throw new Error("Not implemented") } - static _NavigatorInterface_setNavigatorOptions1(ptr: KPointer): void { + static _LoadingProgressAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigatorInterface_setNavigatorOptions1(ptr) + return this._LoadingProgressAttribute_contentModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigatorAttribute_active(ptr: KPointer, value: KInt): void { + static _LocationButton_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavigatorAttribute_active(ptr, value) + return this._LocationButton_construct(id, flags) } throw new Error("Not implemented") } - static _NavigatorAttribute_type(ptr: KPointer, value: KInt): void { + static _LocationButtonInterface_setLocationButtonOptions0(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._NavigatorAttribute_type(ptr, value) + return this._LocationButtonInterface_setLocationButtonOptions0(ptr) } throw new Error("Not implemented") } - static _NavigatorAttribute_target(ptr: KPointer, value: KStringPtr): void { + static _LocationButtonInterface_setLocationButtonOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigatorAttribute_target(ptr, value) + return this._LocationButtonInterface_setLocationButtonOptions1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigatorAttribute_params(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _LocationButtonAttribute_onClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigatorAttribute_params(ptr, thisArray, thisLength) + return this._LocationButtonAttribute_onClick(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NodeContainer_construct(id: KInt, flags: KInt): KPointer { + static _Marquee_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NodeContainer_construct(id, flags) + return this._Marquee_construct(id, flags) } throw new Error("Not implemented") } - static _NodeContainerInterface_setNodeContainerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MarqueeInterface_setMarqueeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NodeContainerInterface_setNodeContainerOptions(ptr, thisArray, thisLength) + return this._MarqueeInterface_setMarqueeOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Panel_construct(id: KInt, flags: KInt): KPointer { + static _MarqueeAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Panel_construct(id, flags) + return this._MarqueeAttribute_fontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PanelInterface_setPanelOptions(ptr: KPointer, show: KInt): void { + static _MarqueeAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PanelInterface_setPanelOptions(ptr, show) + return this._MarqueeAttribute_fontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PanelAttribute_mode(ptr: KPointer, value: KInt): void { + static _MarqueeAttribute_allowScale(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute_mode(ptr, value) + return this._MarqueeAttribute_allowScale(ptr, value) } throw new Error("Not implemented") } - static _PanelAttribute_type(ptr: KPointer, value: KInt): void { + static _MarqueeAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute_type(ptr, value) + return this._MarqueeAttribute_fontWeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PanelAttribute_dragBar(ptr: KPointer, value: KInt): void { + static _MarqueeAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute_dragBar(ptr, value) + return this._MarqueeAttribute_fontFamily(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PanelAttribute_customHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MarqueeAttribute_marqueeUpdateStrategy(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute_customHeight(ptr, thisArray, thisLength) + return this._MarqueeAttribute_marqueeUpdateStrategy(ptr, value) } throw new Error("Not implemented") } - static _PanelAttribute_fullHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MarqueeAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute_fullHeight(ptr, thisArray, thisLength) + return this._MarqueeAttribute_onStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PanelAttribute_halfHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MarqueeAttribute_onBounce(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute_halfHeight(ptr, thisArray, thisLength) + return this._MarqueeAttribute_onBounce(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PanelAttribute_miniHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MarqueeAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute_miniHeight(ptr, thisArray, thisLength) + return this._MarqueeAttribute_onFinish(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PanelAttribute_show(ptr: KPointer, value: KInt): void { + static _MediaCachedImage_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute_show(ptr, value) + return this._MediaCachedImage_construct(id, flags) } throw new Error("Not implemented") } - static _PanelAttribute_backgroundMask(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MediaCachedImageInterface_setMediaCachedImageOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute_backgroundMask(ptr, thisArray, thisLength) + return this._MediaCachedImageInterface_setMediaCachedImageOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PanelAttribute_showCloseIcon(ptr: KPointer, value: KInt): void { + static _Menu_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute_showCloseIcon(ptr, value) + return this._Menu_construct(id, flags) } throw new Error("Not implemented") } - static _PanelAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuInterface_setMenuOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute_onChange(ptr, thisArray, thisLength) + return this._MenuInterface_setMenuOptions(ptr) } throw new Error("Not implemented") } - static _PanelAttribute_onHeightChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute_onHeightChange(ptr, thisArray, thisLength) + return this._MenuAttribute_fontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PanelAttribute__onChangeEvent_mode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuAttribute_font(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PanelAttribute__onChangeEvent_mode(ptr, thisArray, thisLength) + return this._MenuAttribute_font(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PasteButton_construct(id: KInt, flags: KInt): KPointer { + static _MenuAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PasteButton_construct(id, flags) + return this._MenuAttribute_fontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PasteButtonInterface_setPasteButtonOptions0(ptr: KPointer): void { + static _MenuAttribute_radius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PasteButtonInterface_setPasteButtonOptions0(ptr) + return this._MenuAttribute_radius(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PasteButtonInterface_setPasteButtonOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuAttribute_menuItemDivider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PasteButtonInterface_setPasteButtonOptions1(ptr, thisArray, thisLength) + return this._MenuAttribute_menuItemDivider(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PasteButtonAttribute_onClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuAttribute_menuItemGroupDivider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PasteButtonAttribute_onClick(ptr, thisArray, thisLength) + return this._MenuAttribute_menuItemGroupDivider(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Path_construct(id: KInt, flags: KInt): KPointer { + static _MenuAttribute_subMenuExpandingMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Path_construct(id, flags) + return this._MenuAttribute_subMenuExpandingMode(ptr, value) } throw new Error("Not implemented") } - static _PathInterface_setPathOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuItem_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._PathInterface_setPathOptions(ptr, thisArray, thisLength) + return this._MenuItem_construct(id, flags) } throw new Error("Not implemented") } - static _PathAttribute_commands(ptr: KPointer, value: KStringPtr): void { + static _MenuItemInterface_setMenuItemOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PathAttribute_commands(ptr, value) + return this._MenuItemInterface_setMenuItemOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PatternLock_construct(id: KInt, flags: KInt): KPointer { + static _MenuItemAttribute_selected(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._PatternLock_construct(id, flags) + return this._MenuItemAttribute_selected(ptr, value) } throw new Error("Not implemented") } - static _PatternLockInterface_setPatternLockOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuItemAttribute_selectIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PatternLockInterface_setPatternLockOptions(ptr, thisArray, thisLength) + return this._MenuItemAttribute_selectIcon(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PatternLockAttribute_sideLength(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuItemAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PatternLockAttribute_sideLength(ptr, thisArray, thisLength) + return this._MenuItemAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PatternLockAttribute_circleRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuItemAttribute_contentFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PatternLockAttribute_circleRadius(ptr, thisArray, thisLength) + return this._MenuItemAttribute_contentFont(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PatternLockAttribute_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuItemAttribute_contentFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PatternLockAttribute_backgroundColor(ptr, thisArray, thisLength) + return this._MenuItemAttribute_contentFontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PatternLockAttribute_regularColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuItemAttribute_labelFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PatternLockAttribute_regularColor(ptr, thisArray, thisLength) + return this._MenuItemAttribute_labelFont(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PatternLockAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuItemAttribute_labelFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PatternLockAttribute_selectedColor(ptr, thisArray, thisLength) + return this._MenuItemAttribute_labelFontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PatternLockAttribute_activeColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuItemAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PatternLockAttribute_activeColor(ptr, thisArray, thisLength) + return this._MenuItemAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PatternLockAttribute_pathColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuItemGroup_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._PatternLockAttribute_pathColor(ptr, thisArray, thisLength) + return this._MenuItemGroup_construct(id, flags) } throw new Error("Not implemented") } - static _PatternLockAttribute_pathStrokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MenuItemGroupInterface_setMenuItemGroupOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PatternLockAttribute_pathStrokeWidth(ptr, thisArray, thisLength) + return this._MenuItemGroupInterface_setMenuItemGroupOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PatternLockAttribute_onPatternComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestination_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._PatternLockAttribute_onPatternComplete(ptr, thisArray, thisLength) + return this._NavDestination_construct(id, flags) } throw new Error("Not implemented") } - static _PatternLockAttribute_autoReset(ptr: KPointer, value: KInt): void { + static _NavDestinationInterface_setNavDestinationOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._PatternLockAttribute_autoReset(ptr, value) + return this._NavDestinationInterface_setNavDestinationOptions(ptr) } throw new Error("Not implemented") } - static _PatternLockAttribute_onDotConnect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_hideTitleBar0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._PatternLockAttribute_onDotConnect(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_hideTitleBar0(ptr, value) } throw new Error("Not implemented") } - static _PatternLockAttribute_activateCircleStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_hideTitleBar1(ptr: KPointer, hide: KInt, animated: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._PatternLockAttribute_activateCircleStyle(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_hideTitleBar1(ptr, hide, animated) } throw new Error("Not implemented") } - static _PluginComponent_construct(id: KInt, flags: KInt): KPointer { + static _NavDestinationAttribute_hideBackButton(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PluginComponent_construct(id, flags) + return this._NavDestinationAttribute_hideBackButton(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PluginComponentInterface_setPluginComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_onShown(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PluginComponentInterface_setPluginComponentOptions(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_onShown(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PluginComponentAttribute_onComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_onHidden(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PluginComponentAttribute_onComplete(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_onHidden(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PluginComponentAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_onBackPressed(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PluginComponentAttribute_onError(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_onBackPressed(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Polygon_construct(id: KInt, flags: KInt): KPointer { + static _NavDestinationAttribute_onResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Polygon_construct(id, flags) + return this._NavDestinationAttribute_onResult(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PolygonInterface_setPolygonOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_mode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._PolygonInterface_setPolygonOptions(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_mode(ptr, value) } throw new Error("Not implemented") } - static _PolygonAttribute_points(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_backButtonIcon0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PolygonAttribute_points(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_backButtonIcon0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Polyline_construct(id: KInt, flags: KInt): KPointer { + static _NavDestinationAttribute_backButtonIcon1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Polyline_construct(id, flags) + return this._NavDestinationAttribute_backButtonIcon1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PolylineInterface_setPolylineOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_menus0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PolylineInterface_setPolylineOptions(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_menus0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PolylineAttribute_points(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_menus1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PolylineAttribute_points(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_menus1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Progress_construct(id: KInt, flags: KInt): KPointer { + static _NavDestinationAttribute_onReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Progress_construct(id, flags) + return this._NavDestinationAttribute_onReady(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ProgressInterface_setProgressOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_onWillAppear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ProgressInterface_setProgressOptions(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_onWillAppear(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ProgressAttribute_value(ptr: KPointer, value: number): void { + static _NavDestinationAttribute_onWillDisappear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ProgressAttribute_value(ptr, value) + return this._NavDestinationAttribute_onWillDisappear(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ProgressAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_onWillShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ProgressAttribute_color(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_onWillShow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ProgressAttribute_style(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_onWillHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ProgressAttribute_style(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_onWillHide(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ProgressAttribute_privacySensitive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_systemBarStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ProgressAttribute_privacySensitive(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_systemBarStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ProgressAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_recoverable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ProgressAttribute_contentModifier(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_recoverable(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _QRCode_construct(id: KInt, flags: KInt): KPointer { + static _NavDestinationAttribute_systemTransition(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._QRCode_construct(id, flags) + return this._NavDestinationAttribute_systemTransition(ptr, value) } throw new Error("Not implemented") } - static _QRCodeInterface_setQRCodeOptions(ptr: KPointer, value: KStringPtr): void { + static _NavDestinationAttribute_bindToScrollable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._QRCodeInterface_setQRCodeOptions(ptr, value) + return this._NavDestinationAttribute_bindToScrollable(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _QRCodeAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_bindToNestedScrollable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._QRCodeAttribute_color(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_bindToNestedScrollable(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _QRCodeAttribute_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_onActive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._QRCodeAttribute_backgroundColor(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_onActive(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _QRCodeAttribute_contentOpacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_onInactive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._QRCodeAttribute_contentOpacity(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_onInactive(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Radio_construct(id: KInt, flags: KInt): KPointer { + static _NavDestinationAttribute_customTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Radio_construct(id, flags) + return this._NavDestinationAttribute_customTransition(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RadioInterface_setRadioOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_onNewParam(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RadioInterface_setRadioOptions(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_onNewParam(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RadioAttribute_checked(ptr: KPointer, value: KInt): void { + static _NavDestinationAttribute_preferredOrientation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RadioAttribute_checked(ptr, value) + return this._NavDestinationAttribute_preferredOrientation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RadioAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_enableNavigationIndicator(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RadioAttribute_onChange(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_enableNavigationIndicator(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RadioAttribute_radioStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_title(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RadioAttribute_radioStyle(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_title(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RadioAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_toolbarConfiguration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RadioAttribute_contentModifier(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_toolbarConfiguration(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RadioAttribute__onChangeEvent_checked(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_hideToolBar(ptr: KPointer, hide: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RadioAttribute__onChangeEvent_checked(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_hideToolBar(ptr, hide, thisArray, thisLength) } throw new Error("Not implemented") } - static _Rating_construct(id: KInt, flags: KInt): KPointer { + static _NavDestinationAttribute_ignoreLayoutSafeArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Rating_construct(id, flags) + return this._NavDestinationAttribute_ignoreLayoutSafeArea(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RatingInterface_setRatingOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavDestinationAttribute_enableStatusBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RatingInterface_setRatingOptions(ptr, thisArray, thisLength) + return this._NavDestinationAttribute_enableStatusBar(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RatingAttribute_stars(ptr: KPointer, value: number): void { + static _NavRouter_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RatingAttribute_stars(ptr, value) + return this._NavRouter_construct(id, flags) } throw new Error("Not implemented") } - static _RatingAttribute_stepSize(ptr: KPointer, value: number): void { + static _NavRouterInterface_setNavRouterOptions0(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._RatingAttribute_stepSize(ptr, value) + return this._NavRouterInterface_setNavRouterOptions0(ptr) } throw new Error("Not implemented") } - static _RatingAttribute_starStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavRouterInterface_setNavRouterOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RatingAttribute_starStyle(ptr, thisArray, thisLength) + return this._NavRouterInterface_setNavRouterOptions1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RatingAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavRouterAttribute_onStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RatingAttribute_onChange(ptr, thisArray, thisLength) + return this._NavRouterAttribute_onStateChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RatingAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavRouterAttribute_mode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RatingAttribute_contentModifier(ptr, thisArray, thisLength) + return this._NavRouterAttribute_mode(ptr, value) } throw new Error("Not implemented") } - static _RatingAttribute__onChangeEvent_rating(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Navigator_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RatingAttribute__onChangeEvent_rating(ptr, thisArray, thisLength) + return this._Navigator_construct(id, flags) } throw new Error("Not implemented") } - static _Rect_construct(id: KInt, flags: KInt): KPointer { + static _NavigatorInterface_setNavigatorOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Rect_construct(id, flags) + return this._NavigatorInterface_setNavigatorOptions0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RectInterface_setRectOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigatorInterface_setNavigatorOptions1(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._RectInterface_setRectOptions(ptr, thisArray, thisLength) + return this._NavigatorInterface_setNavigatorOptions1(ptr) } throw new Error("Not implemented") } - static _RectAttribute_radiusWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigatorAttribute_active(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RectAttribute_radiusWidth(ptr, thisArray, thisLength) + return this._NavigatorAttribute_active(ptr, value) } throw new Error("Not implemented") } - static _RectAttribute_radiusHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigatorAttribute_type(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RectAttribute_radiusHeight(ptr, thisArray, thisLength) + return this._NavigatorAttribute_type(ptr, value) } throw new Error("Not implemented") } - static _RectAttribute_radius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigatorAttribute_target(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._RectAttribute_radius(ptr, thisArray, thisLength) + return this._NavigatorAttribute_target(ptr, value) } throw new Error("Not implemented") } - static _Refresh_construct(id: KInt, flags: KInt): KPointer { + static _NavigatorAttribute_params(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Refresh_construct(id, flags) + return this._NavigatorAttribute_params(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RefreshInterface_setRefreshOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NodeContainer_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RefreshInterface_setRefreshOptions(ptr, thisArray, thisLength) + return this._NodeContainer_construct(id, flags) } throw new Error("Not implemented") } - static _RefreshAttribute_onStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NodeContainerInterface_setNodeContainerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RefreshAttribute_onStateChange(ptr, thisArray, thisLength) + return this._NodeContainerInterface_setNodeContainerOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RefreshAttribute_onRefreshing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Panel_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RefreshAttribute_onRefreshing(ptr, thisArray, thisLength) + return this._Panel_construct(id, flags) } throw new Error("Not implemented") } - static _RefreshAttribute_refreshOffset(ptr: KPointer, value: number): void { + static _PanelInterface_setPanelOptions(ptr: KPointer, show: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RefreshAttribute_refreshOffset(ptr, value) + return this._PanelInterface_setPanelOptions(ptr, show) } throw new Error("Not implemented") } - static _RefreshAttribute_pullToRefresh(ptr: KPointer, value: KInt): void { + static _PanelAttribute_mode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RefreshAttribute_pullToRefresh(ptr, value) + return this._PanelAttribute_mode(ptr, value) } throw new Error("Not implemented") } - static _RefreshAttribute_onOffsetChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PanelAttribute_type(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RefreshAttribute_onOffsetChange(ptr, thisArray, thisLength) + return this._PanelAttribute_type(ptr, value) } throw new Error("Not implemented") } - static _RefreshAttribute_pullDownRatio(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PanelAttribute_dragBar(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RefreshAttribute_pullDownRatio(ptr, thisArray, thisLength) + return this._PanelAttribute_dragBar(ptr, value) } throw new Error("Not implemented") } - static _RefreshAttribute__onChangeEvent_refreshing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PanelAttribute_customHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RefreshAttribute__onChangeEvent_refreshing(ptr, thisArray, thisLength) + return this._PanelAttribute_customHeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RelativeContainer_construct(id: KInt, flags: KInt): KPointer { + static _PanelAttribute_fullHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RelativeContainer_construct(id, flags) + return this._PanelAttribute_fullHeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RelativeContainerInterface_setRelativeContainerOptions(ptr: KPointer): void { + static _PanelAttribute_halfHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RelativeContainerInterface_setRelativeContainerOptions(ptr) + return this._PanelAttribute_halfHeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RelativeContainerAttribute_guideLine(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PanelAttribute_miniHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RelativeContainerAttribute_guideLine(ptr, thisArray, thisLength) + return this._PanelAttribute_miniHeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RelativeContainerAttribute_barrier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PanelAttribute_show(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RelativeContainerAttribute_barrier0(ptr, thisArray, thisLength) + return this._PanelAttribute_show(ptr, value) } throw new Error("Not implemented") } - static _RelativeContainerAttribute_barrier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PanelAttribute_backgroundMask(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RelativeContainerAttribute_barrier1(ptr, thisArray, thisLength) + return this._PanelAttribute_backgroundMask(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditor_construct(id: KInt, flags: KInt): KPointer { + static _PanelAttribute_showCloseIcon(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditor_construct(id, flags) + return this._PanelAttribute_showCloseIcon(ptr, value) } throw new Error("Not implemented") } - static _RichEditorInterface_setRichEditorOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PanelAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorInterface_setRichEditorOptions0(ptr, thisArray, thisLength) + return this._PanelAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorInterface_setRichEditorOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PanelAttribute_onHeightChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorInterface_setRichEditorOptions1(ptr, thisArray, thisLength) + return this._PanelAttribute_onHeightChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_onReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PanelAttribute__onChangeEvent_mode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onReady(ptr, thisArray, thisLength) + return this._PanelAttribute__onChangeEvent_mode(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PasteButton_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onSelect(ptr, thisArray, thisLength) + return this._PasteButton_construct(id, flags) } throw new Error("Not implemented") } - static _RichEditorAttribute_onSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PasteButtonInterface_setPasteButtonOptions0(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onSelectionChange(ptr, thisArray, thisLength) + return this._PasteButtonInterface_setPasteButtonOptions0(ptr) } throw new Error("Not implemented") } - static _RichEditorAttribute_aboutToIMEInput(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PasteButtonInterface_setPasteButtonOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_aboutToIMEInput(ptr, thisArray, thisLength) + return this._PasteButtonInterface_setPasteButtonOptions1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_onIMEInputComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PasteButtonAttribute_onClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onIMEInputComplete(ptr, thisArray, thisLength) + return this._PasteButtonAttribute_onClick(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_onDidIMEInput(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Path_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onDidIMEInput(ptr, thisArray, thisLength) + return this._Path_construct(id, flags) } throw new Error("Not implemented") } - static _RichEditorAttribute_aboutToDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PathInterface_setPathOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_aboutToDelete(ptr, thisArray, thisLength) + return this._PathInterface_setPathOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_onDeleteComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PathAttribute_commands(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onDeleteComplete(ptr, thisArray, thisLength) + return this._PathAttribute_commands(ptr, value) } throw new Error("Not implemented") } - static _RichEditorAttribute_copyOptions(ptr: KPointer, value: KInt): void { + static _PatternLock_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_copyOptions(ptr, value) + return this._PatternLock_construct(id, flags) } throw new Error("Not implemented") } - static _RichEditorAttribute_onPaste(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PatternLockInterface_setPatternLockOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onPaste(ptr, thisArray, thisLength) + return this._PatternLockInterface_setPatternLockOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_enableDataDetector(ptr: KPointer, value: KInt): void { + static _PatternLockAttribute_sideLength(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_enableDataDetector(ptr, value) + return this._PatternLockAttribute_sideLength(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { + static _PatternLockAttribute_circleRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_enablePreviewText(ptr, value) + return this._PatternLockAttribute_circleRadius(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_dataDetectorConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PatternLockAttribute_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_dataDetectorConfig(ptr, thisArray, thisLength) + return this._PatternLockAttribute_backgroundColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_caretColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PatternLockAttribute_regularColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_caretColor(ptr, thisArray, thisLength) + return this._PatternLockAttribute_regularColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PatternLockAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) + return this._PatternLockAttribute_selectedColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_onEditingChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PatternLockAttribute_activeColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onEditingChange(ptr, thisArray, thisLength) + return this._PatternLockAttribute_activeColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_enterKeyType(ptr: KPointer, value: KInt): void { + static _PatternLockAttribute_pathColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_enterKeyType(ptr, value) + return this._PatternLockAttribute_pathColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_onSubmit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PatternLockAttribute_pathStrokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onSubmit(ptr, thisArray, thisLength) + return this._PatternLockAttribute_pathStrokeWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_onWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PatternLockAttribute_onPatternComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onWillChange(ptr, thisArray, thisLength) + return this._PatternLockAttribute_onPatternComplete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_onDidChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PatternLockAttribute_autoReset(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onDidChange(ptr, thisArray, thisLength) + return this._PatternLockAttribute_autoReset(ptr, value) } throw new Error("Not implemented") } - static _RichEditorAttribute_onCut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PatternLockAttribute_onDotConnect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onCut(ptr, thisArray, thisLength) + return this._PatternLockAttribute_onDotConnect(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PatternLockAttribute_activateCircleStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_onCopy(ptr, thisArray, thisLength) + return this._PatternLockAttribute_activateCircleStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PatternLockAttribute_skipUnselectedPoint(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_editMenuOptions(ptr, thisArray, thisLength) + return this._PatternLockAttribute_skipUnselectedPoint(ptr, value) } throw new Error("Not implemented") } - static _RichEditorAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { + static _PluginComponent_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_enableKeyboardOnFocus(ptr, value) + return this._PluginComponent_construct(id, flags) } throw new Error("Not implemented") } - static _RichEditorAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + static _PluginComponentInterface_setPluginComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_enableHapticFeedback(ptr, value) + return this._PluginComponentInterface_setPluginComponentOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_barState(ptr: KPointer, value: KInt): void { + static _PluginComponentAttribute_onComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_barState(ptr, value) + return this._PluginComponentAttribute_onComplete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_bindSelectionMenu(ptr: KPointer, spanType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PluginComponentAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_bindSelectionMenu(ptr, spanType, thisArray, thisLength) + return this._PluginComponentAttribute_onError(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichEditorAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Polygon_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_customKeyboard(ptr, thisArray, thisLength) + return this._Polygon_construct(id, flags) } throw new Error("Not implemented") } - static _RichEditorAttribute_placeholder(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PolygonInterface_setPolygonOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichEditorAttribute_placeholder(ptr, thisArray, thisLength) + return this._PolygonInterface_setPolygonOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichText_construct(id: KInt, flags: KInt): KPointer { + static _PolygonAttribute_points(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichText_construct(id, flags) + return this._PolygonAttribute_points(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichTextInterface_setRichTextOptions(ptr: KPointer, content: KStringPtr): void { + static _Polyline_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RichTextInterface_setRichTextOptions(ptr, content) + return this._Polyline_construct(id, flags) } throw new Error("Not implemented") } - static _RichTextAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PolylineInterface_setPolylineOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichTextAttribute_onStart(ptr, thisArray, thisLength) + return this._PolylineInterface_setPolylineOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RichTextAttribute_onComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _PolylineAttribute_points(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RichTextAttribute_onComplete(ptr, thisArray, thisLength) + return this._PolylineAttribute_points(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RootScene_construct(id: KInt, flags: KInt): KPointer { + static _Progress_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RootScene_construct(id, flags) + return this._Progress_construct(id, flags) } throw new Error("Not implemented") } - static _RootSceneInterface_setRootSceneOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ProgressInterface_setProgressOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RootSceneInterface_setRootSceneOptions(ptr, thisArray, thisLength) + return this._ProgressInterface_setProgressOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Row_construct(id: KInt, flags: KInt): KPointer { + static _ProgressAttribute_value(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._Row_construct(id, flags) + return this._ProgressAttribute_value(ptr, value) } throw new Error("Not implemented") } - static _RowInterface_setRowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ProgressAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RowInterface_setRowOptions(ptr, thisArray, thisLength) + return this._ProgressAttribute_color(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RowAttribute_alignItems(ptr: KPointer, value: KInt): void { + static _ProgressAttribute_style(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RowAttribute_alignItems(ptr, value) + return this._ProgressAttribute_style(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RowAttribute_justifyContent(ptr: KPointer, value: KInt): void { + static _ProgressAttribute_privacySensitive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RowAttribute_justifyContent(ptr, value) + return this._ProgressAttribute_privacySensitive(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RowAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ProgressAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RowAttribute_pointLight(ptr, thisArray, thisLength) + return this._ProgressAttribute_contentModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RowAttribute_reverse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _QRCode_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RowAttribute_reverse(ptr, thisArray, thisLength) + return this._QRCode_construct(id, flags) } throw new Error("Not implemented") } - static _RowSplit_construct(id: KInt, flags: KInt): KPointer { + static _QRCodeInterface_setQRCodeOptions(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._RowSplit_construct(id, flags) + return this._QRCodeInterface_setQRCodeOptions(ptr, value) } throw new Error("Not implemented") } - static _RowSplitInterface_setRowSplitOptions(ptr: KPointer): void { + static _QRCodeAttribute_color(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RowSplitInterface_setRowSplitOptions(ptr) + return this._QRCodeAttribute_color(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RowSplitAttribute_resizeable(ptr: KPointer, value: KInt): void { + static _QRCodeAttribute_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RowSplitAttribute_resizeable(ptr, value) + return this._QRCodeAttribute_backgroundColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SaveButton_construct(id: KInt, flags: KInt): KPointer { + static _QRCodeAttribute_contentOpacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SaveButton_construct(id, flags) + return this._QRCodeAttribute_contentOpacity(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SaveButtonInterface_setSaveButtonOptions0(ptr: KPointer): void { + static _Radio_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SaveButtonInterface_setSaveButtonOptions0(ptr) + return this._Radio_construct(id, flags) } throw new Error("Not implemented") } - static _SaveButtonInterface_setSaveButtonOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RadioInterface_setRadioOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SaveButtonInterface_setSaveButtonOptions1(ptr, thisArray, thisLength) + return this._RadioInterface_setRadioOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SaveButtonAttribute_onClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RadioAttribute_checked0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SaveButtonAttribute_onClick(ptr, thisArray, thisLength) + return this._RadioAttribute_checked0(ptr, value) } throw new Error("Not implemented") } - static _Screen_construct(id: KInt, flags: KInt): KPointer { + static _RadioAttribute_checked1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Screen_construct(id, flags) + return this._RadioAttribute_checked1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScreenInterface_setScreenOptions(ptr: KPointer, screenId: number): void { + static _RadioAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScreenInterface_setScreenOptions(ptr, screenId) + return this._RadioAttribute_onChange0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Scroll_construct(id: KInt, flags: KInt): KPointer { + static _RadioAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Scroll_construct(id, flags) + return this._RadioAttribute_onChange1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollInterface_setScrollOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RadioAttribute_radioStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollInterface_setScrollOptions(ptr, thisArray, thisLength) + return this._RadioAttribute_radioStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_scrollable(ptr: KPointer, value: KInt): void { + static _RadioAttribute_contentModifier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_scrollable(ptr, value) + return this._RadioAttribute_contentModifier0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RadioAttribute_contentModifier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_onScroll(ptr, thisArray, thisLength) + return this._RadioAttribute_contentModifier1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_onWillScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RadioAttribute__onChangeEvent_checked(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_onWillScroll(ptr, thisArray, thisLength) + return this._RadioAttribute__onChangeEvent_checked(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_onDidScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Rating_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_onDidScroll(ptr, thisArray, thisLength) + return this._Rating_construct(id, flags) } throw new Error("Not implemented") } - static _ScrollAttribute_onScrollEdge(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RatingInterface_setRatingOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_onScrollEdge(ptr, thisArray, thisLength) + return this._RatingInterface_setRatingOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_onScrollStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RatingAttribute_stars0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_onScrollStart(ptr, thisArray, thisLength) + return this._RatingAttribute_stars0(ptr, value) } throw new Error("Not implemented") } - static _ScrollAttribute_onScrollEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RatingAttribute_stars1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_onScrollEnd(ptr, thisArray, thisLength) + return this._RatingAttribute_stars1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_onScrollStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RatingAttribute_stepSize0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_onScrollStop(ptr, thisArray, thisLength) + return this._RatingAttribute_stepSize0(ptr, value) } throw new Error("Not implemented") } - static _ScrollAttribute_scrollBar(ptr: KPointer, value: KInt): void { + static _RatingAttribute_stepSize1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_scrollBar(ptr, value) + return this._RatingAttribute_stepSize1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_scrollBarColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RatingAttribute_starStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_scrollBarColor(ptr, thisArray, thisLength) + return this._RatingAttribute_starStyle0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_scrollBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RatingAttribute_starStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_scrollBarWidth(ptr, thisArray, thisLength) + return this._RatingAttribute_starStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RatingAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_onScrollFrameBegin(ptr, thisArray, thisLength) + return this._RatingAttribute_onChange0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RatingAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_nestedScroll(ptr, thisArray, thisLength) + return this._RatingAttribute_onChange1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { + static _RatingAttribute_contentModifier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_enableScrollInteraction(ptr, value) + return this._RatingAttribute_contentModifier0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RatingAttribute_contentModifier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_friction(ptr, thisArray, thisLength) + return this._RatingAttribute_contentModifier1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_scrollSnap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RatingAttribute__onChangeEvent_rating(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_scrollSnap(ptr, thisArray, thisLength) + return this._RatingAttribute__onChangeEvent_rating(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_enablePaging(ptr: KPointer, value: KInt): void { + static _Rect_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_enablePaging(ptr, value) + return this._Rect_construct(id, flags) } throw new Error("Not implemented") } - static _ScrollAttribute_initialOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RectInterface_setRectOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_initialOffset(ptr, thisArray, thisLength) + return this._RectInterface_setRectOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollAttribute_edgeEffect(ptr: KPointer, edgeEffect: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RectAttribute_radiusWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollAttribute_edgeEffect(ptr, edgeEffect, thisArray, thisLength) + return this._RectAttribute_radiusWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollBar_construct(id: KInt, flags: KInt): KPointer { + static _RectAttribute_radiusHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollBar_construct(id, flags) + return this._RectAttribute_radiusHeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollBarInterface_setScrollBarOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RectAttribute_radius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollBarInterface_setScrollBarOptions(ptr, thisArray, thisLength) + return this._RectAttribute_radius(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScrollBarAttribute_enableNestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Refresh_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ScrollBarAttribute_enableNestedScroll(ptr, thisArray, thisLength) + return this._Refresh_construct(id, flags) } throw new Error("Not implemented") } - static _Search_construct(id: KInt, flags: KInt): KPointer { + static _RefreshInterface_setRefreshOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Search_construct(id, flags) + return this._RefreshInterface_setRefreshOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchInterface_setSearchOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RefreshAttribute_onStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchInterface_setSearchOptions(ptr, thisArray, thisLength) + return this._RefreshAttribute_onStateChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RefreshAttribute_onRefreshing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_fontColor(ptr, thisArray, thisLength) + return this._RefreshAttribute_onRefreshing(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_searchIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RefreshAttribute_refreshOffset(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_searchIcon(ptr, thisArray, thisLength) + return this._RefreshAttribute_refreshOffset(ptr, value) } throw new Error("Not implemented") } - static _SearchAttribute_cancelButton(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RefreshAttribute_pullToRefresh(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_cancelButton(ptr, thisArray, thisLength) + return this._RefreshAttribute_pullToRefresh(ptr, value) } throw new Error("Not implemented") } - static _SearchAttribute_textIndent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RefreshAttribute_onOffsetChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_textIndent(ptr, thisArray, thisLength) + return this._RefreshAttribute_onOffsetChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_onEditChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RefreshAttribute_pullDownRatio(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onEditChange(ptr, thisArray, thisLength) + return this._RefreshAttribute_pullDownRatio(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RefreshAttribute__onChangeEvent_refreshing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) + return this._RefreshAttribute__onChangeEvent_refreshing(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_caretStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RelativeContainer_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_caretStyle(ptr, thisArray, thisLength) + return this._RelativeContainer_construct(id, flags) } throw new Error("Not implemented") } - static _SearchAttribute_placeholderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RelativeContainerInterface_setRelativeContainerOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_placeholderColor(ptr, thisArray, thisLength) + return this._RelativeContainerInterface_setRelativeContainerOptions(ptr) } throw new Error("Not implemented") } - static _SearchAttribute_placeholderFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RelativeContainerAttribute_guideLine(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_placeholderFont(ptr, thisArray, thisLength) + return this._RelativeContainerAttribute_guideLine(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_textFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RelativeContainerAttribute_barrier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_textFont(ptr, thisArray, thisLength) + return this._RelativeContainerAttribute_barrier0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_enterKeyType(ptr: KPointer, value: KInt): void { + static _RelativeContainerAttribute_barrier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_enterKeyType(ptr, value) + return this._RelativeContainerAttribute_barrier1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_onSubmit0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditor_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onSubmit0(ptr, thisArray, thisLength) + return this._RichEditor_construct(id, flags) } throw new Error("Not implemented") } - static _SearchAttribute_onSubmit1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorInterface_setRichEditorOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onSubmit1(ptr, thisArray, thisLength) + return this._RichEditorInterface_setRichEditorOptions0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorInterface_setRichEditorOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onChange(ptr, thisArray, thisLength) + return this._RichEditorInterface_setRichEditorOptions1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_onTextSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_onReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onTextSelectionChange(ptr, thisArray, thisLength) + return this._RichEditorAttribute_onReady(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_onContentScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onContentScroll(ptr, thisArray, thisLength) + return this._RichEditorAttribute_onSelect(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_onSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onCopy(ptr, thisArray, thisLength) + return this._RichEditorAttribute_onSelectionChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_onCut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_aboutToIMEInput(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onCut(ptr, thisArray, thisLength) + return this._RichEditorAttribute_aboutToIMEInput(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_onPaste(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_onIMEInputComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onPaste(ptr, thisArray, thisLength) + return this._RichEditorAttribute_onIMEInputComplete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_copyOption(ptr: KPointer, value: KInt): void { + static _RichEditorAttribute_onDidIMEInput(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_copyOption(ptr, value) + return this._RichEditorAttribute_onDidIMEInput(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_maxLength(ptr: KPointer, value: number): void { + static _RichEditorAttribute_aboutToDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_maxLength(ptr, value) + return this._RichEditorAttribute_aboutToDelete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_textAlign(ptr: KPointer, value: KInt): void { + static _RichEditorAttribute_onDeleteComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_textAlign(ptr, value) + return this._RichEditorAttribute_onDeleteComplete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { + static _RichEditorAttribute_copyOptions(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_enableKeyboardOnFocus(ptr, value) + return this._RichEditorAttribute_copyOptions(ptr, value) } throw new Error("Not implemented") } - static _SearchAttribute_selectionMenuHidden(ptr: KPointer, value: KInt): void { + static _RichEditorAttribute_onPaste(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_selectionMenuHidden(ptr, value) + return this._RichEditorAttribute_onPaste(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_enableDataDetector(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_minFontSize(ptr, thisArray, thisLength) + return this._RichEditorAttribute_enableDataDetector(ptr, value) } throw new Error("Not implemented") } - static _SearchAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_maxFontSize(ptr, thisArray, thisLength) + return this._RichEditorAttribute_enablePreviewText(ptr, value) } throw new Error("Not implemented") } - static _SearchAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_dataDetectorConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_decoration(ptr, thisArray, thisLength) + return this._RichEditorAttribute_dataDetectorConfig(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_caretColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_letterSpacing(ptr, thisArray, thisLength) + return this._RichEditorAttribute_caretColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_lineHeight(ptr, thisArray, thisLength) + return this._RichEditorAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_type(ptr: KPointer, value: KInt): void { + static _RichEditorAttribute_onEditingChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_type(ptr, value) + return this._RichEditorAttribute_onEditingChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { + static _RichEditorAttribute_enterKeyType(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_fontFeature(ptr, value) + return this._RichEditorAttribute_enterKeyType(ptr, value) } throw new Error("Not implemented") } - static _SearchAttribute_onWillInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_onSubmit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onWillInsert(ptr, thisArray, thisLength) + return this._RichEditorAttribute_onSubmit(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_onDidInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_onWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onDidInsert(ptr, thisArray, thisLength) + return this._RichEditorAttribute_onWillChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_onWillDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_onDidChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onWillDelete(ptr, thisArray, thisLength) + return this._RichEditorAttribute_onDidChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_onDidDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_onCut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_onDidDelete(ptr, thisArray, thisLength) + return this._RichEditorAttribute_onCut(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_editMenuOptions(ptr, thisArray, thisLength) + return this._RichEditorAttribute_onCopy(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { + static _RichEditorAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_enablePreviewText(ptr, value) + return this._RichEditorAttribute_editMenuOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + static _RichEditorAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_enableHapticFeedback(ptr, value) + return this._RichEditorAttribute_enableKeyboardOnFocus(ptr, value) } throw new Error("Not implemented") } - static _SearchAttribute_searchButton(ptr: KPointer, value: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_searchButton(ptr, value, thisArray, thisLength) + return this._RichEditorAttribute_enableHapticFeedback(ptr, value) } throw new Error("Not implemented") } - static _SearchAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_barState(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_inputFilter(ptr, thisArray, thisLength) + return this._RichEditorAttribute_barState(ptr, value) } throw new Error("Not implemented") } - static _SearchAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_maxLength(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute_customKeyboard(ptr, thisArray, thisLength) + return this._RichEditorAttribute_maxLength(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SearchAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_maxLines(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SearchAttribute__onChangeEvent_value(ptr, thisArray, thisLength) + return this._RichEditorAttribute_maxLines(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_construct(id: KInt, flags: KInt): KPointer { + static _RichEditorAttribute_keyboardAppearance(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_construct(id, flags) + return this._RichEditorAttribute_keyboardAppearance(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_iconSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_stopBackPress(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_iconSize(ptr, thisArray, thisLength) + return this._RichEditorAttribute_stopBackPress(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_layoutDirection(ptr: KPointer, value: KInt): void { + static _RichEditorAttribute_bindSelectionMenu(ptr: KPointer, spanType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_layoutDirection(ptr, value) + return this._RichEditorAttribute_bindSelectionMenu(ptr, spanType, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_position(ptr, thisArray, thisLength) + return this._RichEditorAttribute_customKeyboard(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_markAnchor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichEditorAttribute_placeholder(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_markAnchor(ptr, thisArray, thisLength) + return this._RichEditorAttribute_placeholder(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichText_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_offset(ptr, thisArray, thisLength) + return this._RichText_construct(id, flags) } throw new Error("Not implemented") } - static _SecurityComponentMethod_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichTextInterface_setRichTextOptions(ptr: KPointer, content: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_fontSize(ptr, thisArray, thisLength) + return this._RichTextInterface_setRichTextOptions(ptr, content) } throw new Error("Not implemented") } - static _SecurityComponentMethod_fontStyle(ptr: KPointer, value: KInt): void { + static _RichTextAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_fontStyle(ptr, value) + return this._RichTextAttribute_onStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RichTextAttribute_onComplete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_fontWeight(ptr, thisArray, thisLength) + return this._RichTextAttribute_onComplete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RootScene_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_fontFamily(ptr, thisArray, thisLength) + return this._RootScene_construct(id, flags) } throw new Error("Not implemented") } - static _SecurityComponentMethod_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RootSceneInterface_setRootSceneOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_fontColor(ptr, thisArray, thisLength) + return this._RootSceneInterface_setRootSceneOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_iconColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Row_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_iconColor(ptr, thisArray, thisLength) + return this._Row_construct(id, flags) } throw new Error("Not implemented") } - static _SecurityComponentMethod_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RowInterface_setRowOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_backgroundColor(ptr, thisArray, thisLength) + return this._RowInterface_setRowOptions0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_borderStyle(ptr: KPointer, value: KInt): void { + static _RowInterface_setRowOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_borderStyle(ptr, value) + return this._RowInterface_setRowOptions1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_borderWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RowAttribute_alignItems(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_borderWidth(ptr, thisArray, thisLength) + return this._RowAttribute_alignItems(ptr, value) } throw new Error("Not implemented") } - static _SecurityComponentMethod_borderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RowAttribute_justifyContent(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_borderColor(ptr, thisArray, thisLength) + return this._RowAttribute_justifyContent(ptr, value) } throw new Error("Not implemented") } - static _SecurityComponentMethod_borderRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RowAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_borderRadius(ptr, thisArray, thisLength) + return this._RowAttribute_pointLight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_padding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RowAttribute_reverse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_padding(ptr, thisArray, thisLength) + return this._RowAttribute_reverse(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SecurityComponentMethod_textIconSpace(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RowSplit_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_textIconSpace(ptr, thisArray, thisLength) + return this._RowSplit_construct(id, flags) } throw new Error("Not implemented") } - static _SecurityComponentMethod_key(ptr: KPointer, value: KStringPtr): void { + static _RowSplitInterface_setRowSplitOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_key(ptr, value) + return this._RowSplitInterface_setRowSplitOptions(ptr) } throw new Error("Not implemented") } - static _SecurityComponentMethod_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RowSplitAttribute_resizeable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_width(ptr, thisArray, thisLength) + return this._RowSplitAttribute_resizeable(ptr, value) } throw new Error("Not implemented") } - static _SecurityComponentMethod_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SaveButton_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_height(ptr, thisArray, thisLength) + return this._SaveButton_construct(id, flags) } throw new Error("Not implemented") } - static _SecurityComponentMethod_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SaveButtonInterface_setSaveButtonOptions0(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_size(ptr, thisArray, thisLength) + return this._SaveButtonInterface_setSaveButtonOptions0(ptr) } throw new Error("Not implemented") } - static _SecurityComponentMethod_constraintSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SaveButtonInterface_setSaveButtonOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SecurityComponentMethod_constraintSize(ptr, thisArray, thisLength) + return this._SaveButtonInterface_setSaveButtonOptions1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Select_construct(id: KInt, flags: KInt): KPointer { + static _SaveButtonAttribute_onClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Select_construct(id, flags) + return this._SaveButtonAttribute_onClick(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectInterface_setSelectOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Screen_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SelectInterface_setSelectOptions(ptr, thisArray, thisLength) + return this._Screen_construct(id, flags) } throw new Error("Not implemented") } - static _SelectAttribute_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScreenInterface_setScreenOptions(ptr: KPointer, screenId: number): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_selected(ptr, thisArray, thisLength) + return this._ScreenInterface_setScreenOptions(ptr, screenId) } throw new Error("Not implemented") } - static _SelectAttribute_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Scroll_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_value(ptr, thisArray, thisLength) + return this._Scroll_construct(id, flags) } throw new Error("Not implemented") } - static _SelectAttribute_font(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollInterface_setScrollOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_font(ptr, thisArray, thisLength) + return this._ScrollInterface_setScrollOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_scrollable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_fontColor(ptr, thisArray, thisLength) + return this._ScrollAttribute_scrollable(ptr, value) } throw new Error("Not implemented") } - static _SelectAttribute_selectedOptionBgColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_selectedOptionBgColor(ptr, thisArray, thisLength) + return this._ScrollAttribute_onScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_selectedOptionFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_onWillScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_selectedOptionFont(ptr, thisArray, thisLength) + return this._ScrollAttribute_onWillScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_selectedOptionFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_onDidScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_selectedOptionFontColor(ptr, thisArray, thisLength) + return this._ScrollAttribute_onDidScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_optionBgColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_onScrollEdge(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_optionBgColor(ptr, thisArray, thisLength) + return this._ScrollAttribute_onScrollEdge(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_optionFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_onScrollStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_optionFont(ptr, thisArray, thisLength) + return this._ScrollAttribute_onScrollStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_optionFontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_onScrollEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_optionFontColor(ptr, thisArray, thisLength) + return this._ScrollAttribute_onScrollEnd(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_onSelect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_onScrollStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_onSelect(ptr, thisArray, thisLength) + return this._ScrollAttribute_onScrollStop(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_space(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_scrollBar(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_space(ptr, thisArray, thisLength) + return this._ScrollAttribute_scrollBar(ptr, value) } throw new Error("Not implemented") } - static _SelectAttribute_arrowPosition(ptr: KPointer, value: KInt): void { + static _ScrollAttribute_scrollBarColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_arrowPosition(ptr, value) + return this._ScrollAttribute_scrollBarColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_optionWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_scrollBarWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_optionWidth(ptr, thisArray, thisLength) + return this._ScrollAttribute_scrollBarWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_optionHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_optionHeight(ptr, thisArray, thisLength) + return this._ScrollAttribute_onScrollFrameBegin(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_menuBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_menuBackgroundColor(ptr, thisArray, thisLength) + return this._ScrollAttribute_nestedScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_menuBackgroundBlurStyle(ptr: KPointer, value: KInt): void { + static _ScrollAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_menuBackgroundBlurStyle(ptr, value) + return this._ScrollAttribute_enableScrollInteraction(ptr, value) } throw new Error("Not implemented") } - static _SelectAttribute_controlSize(ptr: KPointer, value: KInt): void { + static _ScrollAttribute_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_controlSize(ptr, value) + return this._ScrollAttribute_friction(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_menuItemContentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_scrollSnap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_menuItemContentModifier(ptr, thisArray, thisLength) + return this._ScrollAttribute_scrollSnap(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_enablePaging(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_divider(ptr, thisArray, thisLength) + return this._ScrollAttribute_enablePaging(ptr, value) } throw new Error("Not implemented") } - static _SelectAttribute_menuAlign(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_initialOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute_menuAlign(ptr, alignType, thisArray, thisLength) + return this._ScrollAttribute_initialOffset(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollAttribute_edgeEffect(ptr: KPointer, edgeEffect: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + return this._ScrollAttribute_edgeEffect(ptr, edgeEffect, thisArray, thisLength) } throw new Error("Not implemented") } - static _SelectAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollBar_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SelectAttribute__onChangeEvent_value(ptr, thisArray, thisLength) + return this._ScrollBar_construct(id, flags) } throw new Error("Not implemented") } - static _Shape_construct(id: KInt, flags: KInt): KPointer { + static _ScrollBarInterface_setScrollBarOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Shape_construct(id, flags) + return this._ScrollBarInterface_setScrollBarOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeInterface_setShapeOptions0(ptr: KPointer, value: KPointer): void { + static _ScrollBarAttribute_enableNestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeInterface_setShapeOptions0(ptr, value) + return this._ScrollBarAttribute_enableNestedScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeInterface_setShapeOptions1(ptr: KPointer): void { + static _Search_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ShapeInterface_setShapeOptions1(ptr) + return this._Search_construct(id, flags) } throw new Error("Not implemented") } - static _ShapeAttribute_viewPort(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchInterface_setSearchOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_viewPort(ptr, thisArray, thisLength) + return this._SearchInterface_setSearchOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeAttribute_stroke(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_stroke(ptr, thisArray, thisLength) + return this._SearchAttribute_fontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeAttribute_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_searchIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_fill(ptr, thisArray, thisLength) + return this._SearchAttribute_searchIcon(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeAttribute_strokeDashOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_cancelButton(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_strokeDashOffset(ptr, thisArray, thisLength) + return this._SearchAttribute_cancelButton(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeAttribute_strokeDashArray(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_textIndent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_strokeDashArray(ptr, thisArray, thisLength) + return this._SearchAttribute_textIndent(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeAttribute_strokeLineCap(ptr: KPointer, value: KInt): void { + static _SearchAttribute_onEditChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_strokeLineCap(ptr, value) + return this._SearchAttribute_onEditChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeAttribute_strokeLineJoin(ptr: KPointer, value: KInt): void { + static _SearchAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_strokeLineJoin(ptr, value) + return this._SearchAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeAttribute_strokeMiterLimit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_caretStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_strokeMiterLimit(ptr, thisArray, thisLength) + return this._SearchAttribute_caretStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeAttribute_strokeOpacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_placeholderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_strokeOpacity(ptr, thisArray, thisLength) + return this._SearchAttribute_placeholderColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeAttribute_fillOpacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_placeholderFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_fillOpacity(ptr, thisArray, thisLength) + return this._SearchAttribute_placeholderFont(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeAttribute_strokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_textFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_strokeWidth(ptr, thisArray, thisLength) + return this._SearchAttribute_textFont(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeAttribute_antiAlias(ptr: KPointer, value: KInt): void { + static _SearchAttribute_enterKeyType(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_antiAlias(ptr, value) + return this._SearchAttribute_enterKeyType(ptr, value) } throw new Error("Not implemented") } - static _ShapeAttribute_mesh(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, column: number, row: number): void { + static _SearchAttribute_onSubmit0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeAttribute_mesh(ptr, thisArray, thisLength, column, row) + return this._SearchAttribute_onSubmit0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Slider_construct(id: KInt, flags: KInt): KPointer { + static _SearchAttribute_onSubmit1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Slider_construct(id, flags) + return this._SearchAttribute_onSubmit1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderInterface_setSliderOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderInterface_setSliderOptions(ptr, thisArray, thisLength) + return this._SearchAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_blockColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_onTextSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_blockColor(ptr, thisArray, thisLength) + return this._SearchAttribute_onTextSelectionChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_trackColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_onContentScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_trackColor(ptr, thisArray, thisLength) + return this._SearchAttribute_onContentScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_selectedColor(ptr, thisArray, thisLength) + return this._SearchAttribute_onCopy(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_minLabel(ptr: KPointer, value: KStringPtr): void { + static _SearchAttribute_onCut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_minLabel(ptr, value) + return this._SearchAttribute_onCut(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_maxLabel(ptr: KPointer, value: KStringPtr): void { + static _SearchAttribute_onPaste(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_maxLabel(ptr, value) + return this._SearchAttribute_onPaste(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_showSteps(ptr: KPointer, value: KInt): void { + static _SearchAttribute_copyOption(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_showSteps(ptr, value) + return this._SearchAttribute_copyOption(ptr, value) } throw new Error("Not implemented") } - static _SliderAttribute_trackThickness(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_maxLength(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_trackThickness(ptr, thisArray, thisLength) + return this._SearchAttribute_maxLength(ptr, value) } throw new Error("Not implemented") } - static _SliderAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_textAlign(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_onChange(ptr, thisArray, thisLength) + return this._SearchAttribute_textAlign(ptr, value) } throw new Error("Not implemented") } - static _SliderAttribute_blockBorderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_blockBorderColor(ptr, thisArray, thisLength) + return this._SearchAttribute_enableKeyboardOnFocus(ptr, value) } throw new Error("Not implemented") } - static _SliderAttribute_blockBorderWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_selectionMenuHidden(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_blockBorderWidth(ptr, thisArray, thisLength) + return this._SearchAttribute_selectionMenuHidden(ptr, value) } throw new Error("Not implemented") } - static _SliderAttribute_stepColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_stepColor(ptr, thisArray, thisLength) + return this._SearchAttribute_minFontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_trackBorderRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_trackBorderRadius(ptr, thisArray, thisLength) + return this._SearchAttribute_maxFontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_selectedBorderRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_selectedBorderRadius(ptr, thisArray, thisLength) + return this._SearchAttribute_minFontScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_blockSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_blockSize(ptr, thisArray, thisLength) + return this._SearchAttribute_maxFontScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_blockStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_blockStyle(ptr, thisArray, thisLength) + return this._SearchAttribute_decoration(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_stepSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_stepSize(ptr, thisArray, thisLength) + return this._SearchAttribute_letterSpacing(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_sliderInteractionMode(ptr: KPointer, value: KInt): void { + static _SearchAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_sliderInteractionMode(ptr, value) + return this._SearchAttribute_lineHeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_minResponsiveDistance(ptr: KPointer, value: number): void { + static _SearchAttribute_type(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_minResponsiveDistance(ptr, value) + return this._SearchAttribute_type(ptr, value) } throw new Error("Not implemented") } - static _SliderAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_contentModifier(ptr, thisArray, thisLength) + return this._SearchAttribute_fontFeature(ptr, value) } throw new Error("Not implemented") } - static _SliderAttribute_slideRange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_onWillInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_slideRange(ptr, thisArray, thisLength) + return this._SearchAttribute_onWillInsert(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute_showTips(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_onDidInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute_showTips(ptr, value, thisArray, thisLength) + return this._SearchAttribute_onDidInsert(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SliderAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_onWillDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SliderAttribute__onChangeEvent_value(ptr, thisArray, thisLength) + return this._SearchAttribute_onWillDelete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _BaseSpan_construct(id: KInt, flags: KInt): KPointer { + static _SearchAttribute_onDidDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._BaseSpan_construct(id, flags) + return this._SearchAttribute_onDidDelete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _BaseSpan_textBackgroundStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._BaseSpan_textBackgroundStyle(ptr, thisArray, thisLength) + return this._SearchAttribute_editMenuOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _BaseSpan_baselineOffset(ptr: KPointer, value: KPointer): void { + static _SearchAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._BaseSpan_baselineOffset(ptr, value) + return this._SearchAttribute_enablePreviewText(ptr, value) } throw new Error("Not implemented") } - static _Span_construct(id: KInt, flags: KInt): KPointer { + static _SearchAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Span_construct(id, flags) + return this._SearchAttribute_enableHapticFeedback(ptr, value) } throw new Error("Not implemented") } - static _SpanInterface_setSpanOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_autoCapitalizationMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SpanInterface_setSpanOptions(ptr, thisArray, thisLength) + return this._SearchAttribute_autoCapitalizationMode(ptr, value) } throw new Error("Not implemented") } - static _SpanAttribute_font(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_halfLeading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SpanAttribute_font(ptr, thisArray, thisLength) + return this._SearchAttribute_halfLeading(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SpanAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_stopBackPress(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SpanAttribute_fontColor(ptr, thisArray, thisLength) + return this._SearchAttribute_stopBackPress(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SpanAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_onWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SpanAttribute_fontSize(ptr, thisArray, thisLength) + return this._SearchAttribute_onWillChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SpanAttribute_fontStyle(ptr: KPointer, value: KInt): void { + static _SearchAttribute_keyboardAppearance(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SpanAttribute_fontStyle(ptr, value) + return this._SearchAttribute_keyboardAppearance(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SpanAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_searchButton(ptr: KPointer, value: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SpanAttribute_fontWeight(ptr, thisArray, thisLength) + return this._SearchAttribute_searchButton(ptr, value, thisArray, thisLength) } throw new Error("Not implemented") } - static _SpanAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SpanAttribute_fontFamily(ptr, thisArray, thisLength) + return this._SearchAttribute_inputFilter(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SpanAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SpanAttribute_decoration(ptr, thisArray, thisLength) + return this._SearchAttribute_customKeyboard(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SpanAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SearchAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SpanAttribute_letterSpacing(ptr, thisArray, thisLength) + return this._SearchAttribute__onChangeEvent_value(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SpanAttribute_textCase(ptr: KPointer, value: KInt): void { + static _SecurityComponentMethod_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SpanAttribute_textCase(ptr, value) + return this._SecurityComponentMethod_construct(id, flags) } throw new Error("Not implemented") } - static _SpanAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_iconSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SpanAttribute_lineHeight(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_iconSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SpanAttribute_textShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_layoutDirection(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SpanAttribute_textShadow(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_layoutDirection(ptr, value) } throw new Error("Not implemented") } - static _Stack_construct(id: KInt, flags: KInt): KPointer { + static _SecurityComponentMethod_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Stack_construct(id, flags) + return this._SecurityComponentMethod_position(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StackInterface_setStackOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_markAnchor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StackInterface_setStackOptions(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_markAnchor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StackAttribute_alignContent(ptr: KPointer, value: KInt): void { + static _SecurityComponentMethod_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StackAttribute_alignContent(ptr, value) + return this._SecurityComponentMethod_offset(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StackAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StackAttribute_pointLight(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_fontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Stepper_construct(id: KInt, flags: KInt): KPointer { + static _SecurityComponentMethod_fontStyle(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Stepper_construct(id, flags) + return this._SecurityComponentMethod_fontStyle(ptr, value) } throw new Error("Not implemented") } - static _StepperInterface_setStepperOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StepperInterface_setStepperOptions(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_fontWeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StepperAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StepperAttribute_onFinish(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_fontFamily(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StepperAttribute_onSkip(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StepperAttribute_onSkip(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_fontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StepperAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_iconColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StepperAttribute_onChange(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_iconColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StepperAttribute_onNext(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_backgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StepperAttribute_onNext(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_backgroundColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StepperAttribute_onPrevious(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_borderStyle(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._StepperAttribute_onPrevious(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_borderStyle(ptr, value) } throw new Error("Not implemented") } - static _StepperAttribute__onChangeEvent_index(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_borderWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StepperAttribute__onChangeEvent_index(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_borderWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StepperItem_construct(id: KInt, flags: KInt): KPointer { + static _SecurityComponentMethod_borderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StepperItem_construct(id, flags) + return this._SecurityComponentMethod_borderColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StepperItemInterface_setStepperItemOptions(ptr: KPointer): void { + static _SecurityComponentMethod_borderRadius0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StepperItemInterface_setStepperItemOptions(ptr) + return this._SecurityComponentMethod_borderRadius0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StepperItemAttribute_prevLabel(ptr: KPointer, value: KStringPtr): void { + static _SecurityComponentMethod_borderRadius1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StepperItemAttribute_prevLabel(ptr, value) + return this._SecurityComponentMethod_borderRadius1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StepperItemAttribute_nextLabel(ptr: KPointer, value: KStringPtr): void { + static _SecurityComponentMethod_padding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StepperItemAttribute_nextLabel(ptr, value) + return this._SecurityComponentMethod_padding(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _StepperItemAttribute_status(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_textIconSpace(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._StepperItemAttribute_status(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_textIconSpace(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Swiper_construct(id: KInt, flags: KInt): KPointer { + static _SecurityComponentMethod_key(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._Swiper_construct(id, flags) + return this._SecurityComponentMethod_key(ptr, value) } throw new Error("Not implemented") } - static _SwiperInterface_setSwiperOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperInterface_setSwiperOptions(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_width(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_index(ptr: KPointer, value: number): void { + static _SecurityComponentMethod_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_index(ptr, value) + return this._SecurityComponentMethod_height(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_autoPlay(ptr: KPointer, value: KInt): void { + static _SecurityComponentMethod_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_autoPlay(ptr, value) + return this._SecurityComponentMethod_size(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_interval(ptr: KPointer, value: number): void { + static _SecurityComponentMethod_constraintSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_interval(ptr, value) + return this._SecurityComponentMethod_constraintSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_indicator0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_align(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_indicator0(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_align(ptr, value) } throw new Error("Not implemented") } - static _SwiperAttribute_indicator1(ptr: KPointer, value: KPointer): void { + static _SecurityComponentMethod_alignRules0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_indicator1(ptr, value) + return this._SecurityComponentMethod_alignRules0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_loop(ptr: KPointer, value: KInt): void { + static _SecurityComponentMethod_alignRules1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_loop(ptr, value) + return this._SecurityComponentMethod_alignRules1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_duration(ptr: KPointer, value: number): void { + static _SecurityComponentMethod_id(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_duration(ptr, value) + return this._SecurityComponentMethod_id(ptr, value) } throw new Error("Not implemented") } - static _SwiperAttribute_vertical(ptr: KPointer, value: KInt): void { + static _SecurityComponentMethod_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_vertical(ptr, value) + return this._SecurityComponentMethod_minFontScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_itemSpace(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_itemSpace(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_maxFontScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_displayMode(ptr: KPointer, value: KInt): void { + static _SecurityComponentMethod_maxLines(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_displayMode(ptr, value) + return this._SecurityComponentMethod_maxLines(ptr, value) } throw new Error("Not implemented") } - static _SwiperAttribute_cachedCount(ptr: KPointer, value: number): void { + static _SecurityComponentMethod_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_cachedCount(ptr, value) + return this._SecurityComponentMethod_minFontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_effectMode(ptr: KPointer, value: KInt): void { + static _SecurityComponentMethod_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_effectMode(ptr, value) + return this._SecurityComponentMethod_maxFontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_disableSwipe(ptr: KPointer, value: KInt): void { + static _SecurityComponentMethod_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_disableSwipe(ptr, value) + return this._SecurityComponentMethod_heightAdaptivePolicy(ptr, value) } throw new Error("Not implemented") } - static _SwiperAttribute_curve(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_enabled(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_curve(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_enabled(ptr, value) } throw new Error("Not implemented") } - static _SwiperAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SecurityComponentMethod_chainMode(ptr: KPointer, direction: KInt, style: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_onChange(ptr, thisArray, thisLength) + return this._SecurityComponentMethod_chainMode(ptr, direction, style) } throw new Error("Not implemented") } - static _SwiperAttribute_indicatorStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Select_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_indicatorStyle(ptr, thisArray, thisLength) + return this._Select_construct(id, flags) } throw new Error("Not implemented") } - static _SwiperAttribute_onAnimationStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectInterface_setSelectOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_onAnimationStart(ptr, thisArray, thisLength) + return this._SelectInterface_setSelectOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_onAnimationEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_selected0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_onAnimationEnd(ptr, thisArray, thisLength) + return this._SelectAttribute_selected0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_onGestureSwipe(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_selected1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_onGestureSwipe(ptr, thisArray, thisLength) + return this._SelectAttribute_selected1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_nestedScroll(ptr: KPointer, value: KInt): void { + static _SelectAttribute_value0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_nestedScroll(ptr, value) + return this._SelectAttribute_value0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_customContentTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_value1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_customContentTransition(ptr, thisArray, thisLength) + return this._SelectAttribute_value1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_onContentDidScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_font0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_onContentDidScroll(ptr, thisArray, thisLength) + return this._SelectAttribute_font0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_indicatorInteractive(ptr: KPointer, value: KInt): void { + static _SelectAttribute_font1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_indicatorInteractive(ptr, value) + return this._SelectAttribute_font1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_displayArrow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_fontColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_displayArrow(ptr, thisArray, thisLength) + return this._SelectAttribute_fontColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_displayCount(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_fontColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_displayCount(ptr, thisArray, thisLength) + return this._SelectAttribute_fontColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_prevMargin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_selectedOptionBgColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_prevMargin(ptr, thisArray, thisLength) + return this._SelectAttribute_selectedOptionBgColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute_nextMargin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_selectedOptionBgColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute_nextMargin(ptr, thisArray, thisLength) + return this._SelectAttribute_selectedOptionBgColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SwiperAttribute__onChangeEvent_index(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_selectedOptionFont0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperAttribute__onChangeEvent_index(ptr, thisArray, thisLength) + return this._SelectAttribute_selectedOptionFont0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _IndicatorComponent_construct(id: KInt, flags: KInt): KPointer { + static _SelectAttribute_selectedOptionFont1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._IndicatorComponent_construct(id, flags) + return this._SelectAttribute_selectedOptionFont1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _IndicatorComponentInterface_setIndicatorComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_selectedOptionFontColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._IndicatorComponentInterface_setIndicatorComponentOptions(ptr, thisArray, thisLength) + return this._SelectAttribute_selectedOptionFontColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _IndicatorComponentAttribute_initialIndex(ptr: KPointer, value: number): void { + static _SelectAttribute_selectedOptionFontColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._IndicatorComponentAttribute_initialIndex(ptr, value) + return this._SelectAttribute_selectedOptionFontColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _IndicatorComponentAttribute_count(ptr: KPointer, value: number): void { + static _SelectAttribute_optionBgColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._IndicatorComponentAttribute_count(ptr, value) + return this._SelectAttribute_optionBgColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _IndicatorComponentAttribute_style(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_optionBgColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._IndicatorComponentAttribute_style(ptr, thisArray, thisLength) + return this._SelectAttribute_optionBgColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _IndicatorComponentAttribute_loop(ptr: KPointer, value: KInt): void { + static _SelectAttribute_optionFont0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._IndicatorComponentAttribute_loop(ptr, value) + return this._SelectAttribute_optionFont0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _IndicatorComponentAttribute_vertical(ptr: KPointer, value: KInt): void { + static _SelectAttribute_optionFont1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._IndicatorComponentAttribute_vertical(ptr, value) + return this._SelectAttribute_optionFont1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _IndicatorComponentAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_optionFontColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._IndicatorComponentAttribute_onChange(ptr, thisArray, thisLength) + return this._SelectAttribute_optionFontColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolGlyph_construct(id: KInt, flags: KInt): KPointer { + static _SelectAttribute_optionFontColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolGlyph_construct(id, flags) + return this._SelectAttribute_optionFontColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolGlyphInterface_setSymbolGlyphOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_onSelect0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolGlyphInterface_setSymbolGlyphOptions(ptr, thisArray, thisLength) + return this._SelectAttribute_onSelect0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolGlyphAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_onSelect1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolGlyphAttribute_fontSize(ptr, thisArray, thisLength) + return this._SelectAttribute_onSelect1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolGlyphAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_space0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolGlyphAttribute_fontColor(ptr, thisArray, thisLength) + return this._SelectAttribute_space0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolGlyphAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_space1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolGlyphAttribute_fontWeight(ptr, thisArray, thisLength) + return this._SelectAttribute_space1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolGlyphAttribute_effectStrategy(ptr: KPointer, value: KInt): void { + static _SelectAttribute_arrowPosition0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolGlyphAttribute_effectStrategy(ptr, value) + return this._SelectAttribute_arrowPosition0(ptr, value) } throw new Error("Not implemented") } - static _SymbolGlyphAttribute_renderingStrategy(ptr: KPointer, value: KInt): void { + static _SelectAttribute_arrowPosition1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolGlyphAttribute_renderingStrategy(ptr, value) + return this._SelectAttribute_arrowPosition1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolGlyphAttribute_symbolEffect0(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_optionWidth0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolGlyphAttribute_symbolEffect0(ptr, symbolEffect, thisArray, thisLength) + return this._SelectAttribute_optionWidth0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolGlyphAttribute_symbolEffect1(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_optionWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolGlyphAttribute_symbolEffect1(ptr, symbolEffect, thisArray, thisLength) + return this._SelectAttribute_optionWidth1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolSpan_construct(id: KInt, flags: KInt): KPointer { + static _SelectAttribute_optionHeight0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolSpan_construct(id, flags) + return this._SelectAttribute_optionHeight0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolSpanInterface_setSymbolSpanOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_optionHeight1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolSpanInterface_setSymbolSpanOptions(ptr, thisArray, thisLength) + return this._SelectAttribute_optionHeight1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolSpanAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_menuBackgroundColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolSpanAttribute_fontSize(ptr, thisArray, thisLength) + return this._SelectAttribute_menuBackgroundColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolSpanAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_menuBackgroundColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolSpanAttribute_fontColor(ptr, thisArray, thisLength) + return this._SelectAttribute_menuBackgroundColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolSpanAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_menuBackgroundBlurStyle0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolSpanAttribute_fontWeight(ptr, thisArray, thisLength) + return this._SelectAttribute_menuBackgroundBlurStyle0(ptr, value) } throw new Error("Not implemented") } - static _SymbolSpanAttribute_effectStrategy(ptr: KPointer, value: KInt): void { + static _SelectAttribute_menuBackgroundBlurStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolSpanAttribute_effectStrategy(ptr, value) + return this._SelectAttribute_menuBackgroundBlurStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolSpanAttribute_renderingStrategy(ptr: KPointer, value: KInt): void { + static _SelectAttribute_controlSize0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolSpanAttribute_renderingStrategy(ptr, value) + return this._SelectAttribute_controlSize0(ptr, value) } throw new Error("Not implemented") } - static _Tabs_construct(id: KInt, flags: KInt): KPointer { + static _SelectAttribute_controlSize1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Tabs_construct(id, flags) + return this._SelectAttribute_controlSize1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsInterface_setTabsOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_menuItemContentModifier0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsInterface_setTabsOptions(ptr, thisArray, thisLength) + return this._SelectAttribute_menuItemContentModifier0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_vertical(ptr: KPointer, value: KInt): void { + static _SelectAttribute_menuItemContentModifier1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_vertical(ptr, value) + return this._SelectAttribute_menuItemContentModifier1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_barPosition(ptr: KPointer, value: KInt): void { + static _SelectAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_barPosition(ptr, value) + return this._SelectAttribute_divider(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_scrollable(ptr: KPointer, value: KInt): void { + static _SelectAttribute_textModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_scrollable(ptr, value) + return this._SelectAttribute_textModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_barMode0(ptr: KPointer, value: KInt): void { + static _SelectAttribute_arrowModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_barMode0(ptr, value) + return this._SelectAttribute_arrowModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_barMode1(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_optionTextModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_barMode1(ptr, value, thisArray, thisLength) + return this._SelectAttribute_optionTextModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_barWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_selectedOptionTextModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_barWidth(ptr, thisArray, thisLength) + return this._SelectAttribute_selectedOptionTextModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_barHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_dividerStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_barHeight(ptr, thisArray, thisLength) + return this._SelectAttribute_dividerStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_animationDuration(ptr: KPointer, value: number): void { + static _SelectAttribute_avoidance(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_animationDuration(ptr, value) + return this._SelectAttribute_avoidance(ptr, value) } throw new Error("Not implemented") } - static _TabsAttribute_animationMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_menuOutline(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_animationMode(ptr, thisArray, thisLength) + return this._SelectAttribute_menuOutline(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_edgeEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_menuAlign0(ptr: KPointer, alignType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_edgeEffect(ptr, thisArray, thisLength) + return this._SelectAttribute_menuAlign0(ptr, alignType, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute_menuAlign1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_onChange(ptr, thisArray, thisLength) + return this._SelectAttribute_menuAlign1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_onTabBarClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_onTabBarClick(ptr, thisArray, thisLength) + return this._SelectAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_onAnimationStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SelectAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_onAnimationStart(ptr, thisArray, thisLength) + return this._SelectAttribute__onChangeEvent_value(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_onAnimationEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Shape_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_onAnimationEnd(ptr, thisArray, thisLength) + return this._Shape_construct(id, flags) } throw new Error("Not implemented") } - static _TabsAttribute_onGestureSwipe(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ShapeInterface_setShapeOptions0(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_onGestureSwipe(ptr, thisArray, thisLength) + return this._ShapeInterface_setShapeOptions0(ptr, value) } throw new Error("Not implemented") } - static _TabsAttribute_fadingEdge(ptr: KPointer, value: KInt): void { + static _ShapeInterface_setShapeOptions1(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_fadingEdge(ptr, value) + return this._ShapeInterface_setShapeOptions1(ptr) } throw new Error("Not implemented") } - static _TabsAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ShapeAttribute_viewPort(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_divider(ptr, thisArray, thisLength) + return this._ShapeAttribute_viewPort(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_barOverlap(ptr: KPointer, value: KInt): void { + static _ShapeAttribute_stroke(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_barOverlap(ptr, value) + return this._ShapeAttribute_stroke(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_barBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ShapeAttribute_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_barBackgroundColor(ptr, thisArray, thisLength) + return this._ShapeAttribute_fill(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_barGridAlign(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ShapeAttribute_strokeDashOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_barGridAlign(ptr, thisArray, thisLength) + return this._ShapeAttribute_strokeDashOffset(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_customContentTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ShapeAttribute_strokeDashArray(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_customContentTransition(ptr, thisArray, thisLength) + return this._ShapeAttribute_strokeDashArray(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_barBackgroundBlurStyle0(ptr: KPointer, value: KInt): void { + static _ShapeAttribute_strokeLineCap(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_barBackgroundBlurStyle0(ptr, value) + return this._ShapeAttribute_strokeLineCap(ptr, value) } throw new Error("Not implemented") } - static _TabsAttribute_barBackgroundBlurStyle1(ptr: KPointer, style: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ShapeAttribute_strokeLineJoin(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_barBackgroundBlurStyle1(ptr, style, thisArray, thisLength) + return this._ShapeAttribute_strokeLineJoin(ptr, value) } throw new Error("Not implemented") } - static _TabsAttribute_barBackgroundEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ShapeAttribute_strokeMiterLimit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_barBackgroundEffect(ptr, thisArray, thisLength) + return this._ShapeAttribute_strokeMiterLimit(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_onContentWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ShapeAttribute_strokeOpacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_onContentWillChange(ptr, thisArray, thisLength) + return this._ShapeAttribute_strokeOpacity(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute_barModeScrollable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ShapeAttribute_fillOpacity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute_barModeScrollable(ptr, thisArray, thisLength) + return this._ShapeAttribute_fillOpacity(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabsAttribute__onChangeEvent_index(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ShapeAttribute_strokeWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabsAttribute__onChangeEvent_index(ptr, thisArray, thisLength) + return this._ShapeAttribute_strokeWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabContent_construct(id: KInt, flags: KInt): KPointer { + static _ShapeAttribute_antiAlias(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TabContent_construct(id, flags) + return this._ShapeAttribute_antiAlias(ptr, value) } throw new Error("Not implemented") } - static _TabContentInterface_setTabContentOptions(ptr: KPointer): void { + static _ShapeAttribute_mesh(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, column: number, row: number): void { if ((this._LoadOnce()) == (true)) { - return this._TabContentInterface_setTabContentOptions(ptr) + return this._ShapeAttribute_mesh(ptr, thisArray, thisLength, column, row) } throw new Error("Not implemented") } - static _TabContentAttribute_tabBar0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Slider_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TabContentAttribute_tabBar0(ptr, thisArray, thisLength) + return this._Slider_construct(id, flags) } throw new Error("Not implemented") } - static _TabContentAttribute_tabBar1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderInterface_setSliderOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabContentAttribute_tabBar1(ptr, thisArray, thisLength) + return this._SliderInterface_setSliderOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabContentAttribute_onWillShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_blockColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabContentAttribute_onWillShow(ptr, thisArray, thisLength) + return this._SliderAttribute_blockColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TabContentAttribute_onWillHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_trackColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TabContentAttribute_onWillHide(ptr, thisArray, thisLength) + return this._SliderAttribute_trackColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Text_construct(id: KInt, flags: KInt): KPointer { + static _SliderAttribute_selectedColor0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Text_construct(id, flags) + return this._SliderAttribute_selectedColor0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInterface_setTextOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_selectedColor1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInterface_setTextOptions(ptr, thisArray, thisLength) + return this._SliderAttribute_selectedColor1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_font0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_minLabel(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_font0(ptr, thisArray, thisLength) + return this._SliderAttribute_minLabel(ptr, value) } throw new Error("Not implemented") } - static _TextAttribute_font1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_maxLabel(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_font1(ptr, thisArray, thisLength) + return this._SliderAttribute_maxLabel(ptr, value) } throw new Error("Not implemented") } - static _TextAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_showSteps(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_fontColor(ptr, thisArray, thisLength) + return this._SliderAttribute_showSteps(ptr, value) } throw new Error("Not implemented") } - static _TextAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_trackThickness(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_fontSize(ptr, thisArray, thisLength) + return this._SliderAttribute_trackThickness(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_minFontSize(ptr, thisArray, thisLength) + return this._SliderAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_blockBorderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_maxFontSize(ptr, thisArray, thisLength) + return this._SliderAttribute_blockBorderColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_blockBorderWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_minFontScale(ptr, thisArray, thisLength) + return this._SliderAttribute_blockBorderWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_stepColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_maxFontScale(ptr, thisArray, thisLength) + return this._SliderAttribute_stepColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_fontStyle(ptr: KPointer, value: KInt): void { + static _SliderAttribute_trackBorderRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_fontStyle(ptr, value) + return this._SliderAttribute_trackBorderRadius(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_fontWeight0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_selectedBorderRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_fontWeight0(ptr, thisArray, thisLength) + return this._SliderAttribute_selectedBorderRadius(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_fontWeight1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_blockSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_fontWeight1(ptr, thisArray, thisLength) + return this._SliderAttribute_blockSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_lineSpacing(ptr: KPointer, value: KPointer): void { + static _SliderAttribute_blockStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_lineSpacing(ptr, value) + return this._SliderAttribute_blockStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_textAlign(ptr: KPointer, value: KInt): void { + static _SliderAttribute_stepSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_textAlign(ptr, value) + return this._SliderAttribute_stepSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_sliderInteractionMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_lineHeight(ptr, thisArray, thisLength) + return this._SliderAttribute_sliderInteractionMode(ptr, value) } throw new Error("Not implemented") } - static _TextAttribute_textOverflow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_minResponsiveDistance(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_textOverflow(ptr, thisArray, thisLength) + return this._SliderAttribute_minResponsiveDistance(ptr, value) } throw new Error("Not implemented") } - static _TextAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_fontFamily(ptr, thisArray, thisLength) + return this._SliderAttribute_contentModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_maxLines(ptr: KPointer, value: number): void { + static _SliderAttribute_slideRange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_maxLines(ptr, value) + return this._SliderAttribute_slideRange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_decoration(ptr, thisArray, thisLength) + return this._SliderAttribute_digitalCrownSensitivity(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_letterSpacing(ptr, thisArray, thisLength) + return this._SliderAttribute_enableHapticFeedback(ptr, value) } throw new Error("Not implemented") } - static _TextAttribute_textCase(ptr: KPointer, value: KInt): void { + static _SliderAttribute_showTips(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_textCase(ptr, value) + return this._SliderAttribute_showTips(ptr, value, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_baselineOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SliderAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_baselineOffset(ptr, thisArray, thisLength) + return this._SliderAttribute__onChangeEvent_value(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_copyOption(ptr: KPointer, value: KInt): void { + static _BaseSpan_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_copyOption(ptr, value) + return this._BaseSpan_construct(id, flags) } throw new Error("Not implemented") } - static _TextAttribute_draggable(ptr: KPointer, value: KInt): void { + static _BaseSpan_textBackgroundStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_draggable(ptr, value) + return this._BaseSpan_textBackgroundStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_textShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _BaseSpan_baselineOffset(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_textShadow(ptr, thisArray, thisLength) + return this._BaseSpan_baselineOffset(ptr, value) } throw new Error("Not implemented") } - static _TextAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { + static _Span_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_heightAdaptivePolicy(ptr, value) + return this._Span_construct(id, flags) } throw new Error("Not implemented") } - static _TextAttribute_textIndent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SpanInterface_setSpanOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_textIndent(ptr, thisArray, thisLength) + return this._SpanInterface_setSpanOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_wordBreak(ptr: KPointer, value: KInt): void { + static _SpanAttribute_font(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_wordBreak(ptr, value) + return this._SpanAttribute_font(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_lineBreakStrategy(ptr: KPointer, value: KInt): void { + static _SpanAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_lineBreakStrategy(ptr, value) + return this._SpanAttribute_fontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SpanAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_onCopy(ptr, thisArray, thisLength) + return this._SpanAttribute_fontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_caretColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SpanAttribute_fontStyle(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_caretColor(ptr, thisArray, thisLength) + return this._SpanAttribute_fontStyle(ptr, value) } throw new Error("Not implemented") } - static _TextAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SpanAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) + return this._SpanAttribute_fontWeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_ellipsisMode(ptr: KPointer, value: KInt): void { + static _SpanAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_ellipsisMode(ptr, value) + return this._SpanAttribute_fontFamily(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_enableDataDetector(ptr: KPointer, value: KInt): void { + static _SpanAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_enableDataDetector(ptr, value) + return this._SpanAttribute_decoration(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_dataDetectorConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SpanAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_dataDetectorConfig(ptr, thisArray, thisLength) + return this._SpanAttribute_letterSpacing(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_onTextSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SpanAttribute_textCase(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_onTextSelectionChange(ptr, thisArray, thisLength) + return this._SpanAttribute_textCase(ptr, value) } throw new Error("Not implemented") } - static _TextAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { + static _SpanAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_fontFeature(ptr, value) + return this._SpanAttribute_lineHeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_privacySensitive(ptr: KPointer, value: KInt): void { + static _SpanAttribute_textShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_privacySensitive(ptr, value) + return this._SpanAttribute_textShadow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_textSelectable(ptr: KPointer, value: KInt): void { + static _Stack_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_textSelectable(ptr, value) + return this._Stack_construct(id, flags) } throw new Error("Not implemented") } - static _TextAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _StackInterface_setStackOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_editMenuOptions(ptr, thisArray, thisLength) + return this._StackInterface_setStackOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_halfLeading(ptr: KPointer, value: KInt): void { + static _StackAttribute_alignContent(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_halfLeading(ptr, value) + return this._StackAttribute_alignContent(ptr, value) } throw new Error("Not implemented") } - static _TextAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + static _StackAttribute_pointLight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_enableHapticFeedback(ptr, value) + return this._StackAttribute_pointLight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAttribute_selection(ptr: KPointer, selectionStart: number, selectionEnd: number): void { + static _Stepper_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_selection(ptr, selectionStart, selectionEnd) + return this._Stepper_construct(id, flags) } throw new Error("Not implemented") } - static _TextAttribute_bindSelectionMenu(ptr: KPointer, spanType: KInt, thisArray: KSerializerBuffer, thisLength: int32, responseType: KInt): void { + static _StepperInterface_setStepperOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAttribute_bindSelectionMenu(ptr, spanType, thisArray, thisLength, responseType) + return this._StepperInterface_setStepperOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextArea_construct(id: KInt, flags: KInt): KPointer { + static _StepperAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextArea_construct(id, flags) + return this._StepperAttribute_onFinish(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaInterface_setTextAreaOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _StepperAttribute_onSkip(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaInterface_setTextAreaOptions(ptr, thisArray, thisLength) + return this._StepperAttribute_onSkip(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_placeholderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _StepperAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_placeholderColor(ptr, thisArray, thisLength) + return this._StepperAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_placeholderFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _StepperAttribute_onNext(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_placeholderFont(ptr, thisArray, thisLength) + return this._StepperAttribute_onNext(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_enterKeyType(ptr: KPointer, value: KInt): void { + static _StepperAttribute_onPrevious(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_enterKeyType(ptr, value) + return this._StepperAttribute_onPrevious(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_textAlign(ptr: KPointer, value: KInt): void { + static _StepperAttribute__onChangeEvent_index(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_textAlign(ptr, value) + return this._StepperAttribute__onChangeEvent_index(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_caretColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _StepperItem_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_caretColor(ptr, thisArray, thisLength) + return this._StepperItem_construct(id, flags) } throw new Error("Not implemented") } - static _TextAreaAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _StepperItemInterface_setStepperItemOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_fontColor(ptr, thisArray, thisLength) + return this._StepperItemInterface_setStepperItemOptions(ptr) } throw new Error("Not implemented") } - static _TextAreaAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _StepperItemAttribute_prevLabel(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_fontSize(ptr, thisArray, thisLength) + return this._StepperItemAttribute_prevLabel(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_fontStyle(ptr: KPointer, value: KInt): void { + static _StepperItemAttribute_nextLabel(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_fontStyle(ptr, value) + return this._StepperItemAttribute_nextLabel(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _StepperItemAttribute_status(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_fontWeight(ptr, thisArray, thisLength) + return this._StepperItemAttribute_status(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Swiper_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_fontFamily(ptr, thisArray, thisLength) + return this._Swiper_construct(id, flags) } throw new Error("Not implemented") } - static _TextAreaAttribute_textOverflow(ptr: KPointer, value: KInt): void { + static _SwiperInterface_setSwiperOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_textOverflow(ptr, value) + return this._SwiperInterface_setSwiperOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_textIndent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_index(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_textIndent(ptr, thisArray, thisLength) + return this._SwiperAttribute_index(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_caretStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_autoPlay0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_caretStyle(ptr, thisArray, thisLength) + return this._SwiperAttribute_autoPlay0(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_autoPlay1(ptr: KPointer, autoPlay: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) + return this._SwiperAttribute_autoPlay1(ptr, autoPlay, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_onSubmit0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_interval(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onSubmit0(ptr, thisArray, thisLength) + return this._SwiperAttribute_interval(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_onSubmit1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_indicator0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onSubmit1(ptr, thisArray, thisLength) + return this._SwiperAttribute_indicator0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_indicator1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onChange(ptr, thisArray, thisLength) + return this._SwiperAttribute_indicator1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_onTextSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_loop(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onTextSelectionChange(ptr, thisArray, thisLength) + return this._SwiperAttribute_loop(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_onContentScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_duration(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onContentScroll(ptr, thisArray, thisLength) + return this._SwiperAttribute_duration(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_onEditChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_vertical(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onEditChange(ptr, thisArray, thisLength) + return this._SwiperAttribute_vertical(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_itemSpace(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onCopy(ptr, thisArray, thisLength) + return this._SwiperAttribute_itemSpace(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_onCut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_displayMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onCut(ptr, thisArray, thisLength) + return this._SwiperAttribute_displayMode(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_onPaste(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_cachedCount0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onPaste(ptr, thisArray, thisLength) + return this._SwiperAttribute_cachedCount0(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_copyOption(ptr: KPointer, value: KInt): void { + static _SwiperAttribute_cachedCount1(ptr: KPointer, count: number, isShown: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_copyOption(ptr, value) + return this._SwiperAttribute_cachedCount1(ptr, count, isShown) } throw new Error("Not implemented") } - static _TextAreaAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { + static _SwiperAttribute_effectMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_enableKeyboardOnFocus(ptr, value) + return this._SwiperAttribute_effectMode(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_maxLength(ptr: KPointer, value: number): void { + static _SwiperAttribute_disableSwipe(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_maxLength(ptr, value) + return this._SwiperAttribute_disableSwipe(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_style(ptr: KPointer, value: KInt): void { + static _SwiperAttribute_curve(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_style(ptr, value) + return this._SwiperAttribute_curve(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_barState(ptr: KPointer, value: KInt): void { + static _SwiperAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_barState(ptr, value) + return this._SwiperAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_selectionMenuHidden(ptr: KPointer, value: KInt): void { + static _SwiperAttribute_onSelected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_selectionMenuHidden(ptr, value) + return this._SwiperAttribute_onSelected(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_indicatorStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_minFontSize(ptr, thisArray, thisLength) + return this._SwiperAttribute_indicatorStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_onUnselected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_maxFontSize(ptr, thisArray, thisLength) + return this._SwiperAttribute_onUnselected(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { + static _SwiperAttribute_onAnimationStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_heightAdaptivePolicy(ptr, value) + return this._SwiperAttribute_onAnimationStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_maxLines(ptr: KPointer, value: number): void { + static _SwiperAttribute_onAnimationEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_maxLines(ptr, value) + return this._SwiperAttribute_onAnimationEnd(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_wordBreak(ptr: KPointer, value: KInt): void { + static _SwiperAttribute_onGestureSwipe(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_wordBreak(ptr, value) + return this._SwiperAttribute_onGestureSwipe(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_lineBreakStrategy(ptr: KPointer, value: KInt): void { + static _SwiperAttribute_nestedScroll(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_lineBreakStrategy(ptr, value) + return this._SwiperAttribute_nestedScroll(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_customContentTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_decoration(ptr, thisArray, thisLength) + return this._SwiperAttribute_customContentTransition(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_onContentDidScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_letterSpacing(ptr, thisArray, thisLength) + return this._SwiperAttribute_onContentDidScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_lineSpacing(ptr: KPointer, value: KPointer): void { + static _SwiperAttribute_indicatorInteractive(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_lineSpacing(ptr, value) + return this._SwiperAttribute_indicatorInteractive(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_pageFlipMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_lineHeight(ptr, thisArray, thisLength) + return this._SwiperAttribute_pageFlipMode(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_type(ptr: KPointer, value: KInt): void { + static _SwiperAttribute_onContentWillScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_type(ptr, value) + return this._SwiperAttribute_onContentWillScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_enableAutoFill(ptr: KPointer, value: KInt): void { + static _SwiperAttribute_displayArrow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_enableAutoFill(ptr, value) + return this._SwiperAttribute_displayArrow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_contentType(ptr: KPointer, value: KInt): void { + static _SwiperAttribute_displayCount(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_contentType(ptr, value) + return this._SwiperAttribute_displayCount(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { + static _SwiperAttribute_prevMargin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_fontFeature(ptr, value) + return this._SwiperAttribute_prevMargin(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_onWillInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute_nextMargin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onWillInsert(ptr, thisArray, thisLength) + return this._SwiperAttribute_nextMargin(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_onDidInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperAttribute__onChangeEvent_index(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onDidInsert(ptr, thisArray, thisLength) + return this._SwiperAttribute__onChangeEvent_index(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_onWillDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _IndicatorComponent_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onWillDelete(ptr, thisArray, thisLength) + return this._IndicatorComponent_construct(id, flags) } throw new Error("Not implemented") } - static _TextAreaAttribute_onDidDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _IndicatorComponentInterface_setIndicatorComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_onDidDelete(ptr, thisArray, thisLength) + return this._IndicatorComponentInterface_setIndicatorComponentOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _IndicatorComponentAttribute_initialIndex(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_editMenuOptions(ptr, thisArray, thisLength) + return this._IndicatorComponentAttribute_initialIndex(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { + static _IndicatorComponentAttribute_count(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_enablePreviewText(ptr, value) + return this._IndicatorComponentAttribute_count(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + static _IndicatorComponentAttribute_style(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_enableHapticFeedback(ptr, value) + return this._IndicatorComponentAttribute_style(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _IndicatorComponentAttribute_loop(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_inputFilter(ptr, thisArray, thisLength) + return this._IndicatorComponentAttribute_loop(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_showCounter(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _IndicatorComponentAttribute_vertical(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_showCounter(ptr, value, thisArray, thisLength) + return this._IndicatorComponentAttribute_vertical(ptr, value) } throw new Error("Not implemented") } - static _TextAreaAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _IndicatorComponentAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute_customKeyboard(ptr, thisArray, thisLength) + return this._IndicatorComponentAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextAreaAttribute__onChangeEvent_text(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SymbolGlyph_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextAreaAttribute__onChangeEvent_text(ptr, thisArray, thisLength) + return this._SymbolGlyph_construct(id, flags) } throw new Error("Not implemented") } - static _TextClock_construct(id: KInt, flags: KInt): KPointer { + static _SymbolGlyphInterface_setSymbolGlyphOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextClock_construct(id, flags) + return this._SymbolGlyphInterface_setSymbolGlyphOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextClockInterface_setTextClockOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SymbolGlyphAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextClockInterface_setTextClockOptions(ptr, thisArray, thisLength) + return this._SymbolGlyphAttribute_fontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextClockAttribute_format(ptr: KPointer, value: KStringPtr): void { + static _SymbolGlyphAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextClockAttribute_format(ptr, value) + return this._SymbolGlyphAttribute_fontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextClockAttribute_onDateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SymbolGlyphAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextClockAttribute_onDateChange(ptr, thisArray, thisLength) + return this._SymbolGlyphAttribute_fontWeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextClockAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SymbolGlyphAttribute_effectStrategy(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextClockAttribute_fontColor(ptr, thisArray, thisLength) + return this._SymbolGlyphAttribute_effectStrategy(ptr, value) } throw new Error("Not implemented") } - static _TextClockAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SymbolGlyphAttribute_renderingStrategy(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextClockAttribute_fontSize(ptr, thisArray, thisLength) + return this._SymbolGlyphAttribute_renderingStrategy(ptr, value) } throw new Error("Not implemented") } - static _TextClockAttribute_fontStyle(ptr: KPointer, value: KInt): void { + static _SymbolGlyphAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextClockAttribute_fontStyle(ptr, value) + return this._SymbolGlyphAttribute_minFontScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextClockAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SymbolGlyphAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextClockAttribute_fontWeight(ptr, thisArray, thisLength) + return this._SymbolGlyphAttribute_maxFontScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextClockAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SymbolGlyphAttribute_symbolEffect0(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextClockAttribute_fontFamily(ptr, thisArray, thisLength) + return this._SymbolGlyphAttribute_symbolEffect0(ptr, symbolEffect, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextClockAttribute_textShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SymbolGlyphAttribute_symbolEffect1(ptr: KPointer, symbolEffect: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextClockAttribute_textShadow(ptr, thisArray, thisLength) + return this._SymbolGlyphAttribute_symbolEffect1(ptr, symbolEffect, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextClockAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { + static _SymbolSpan_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextClockAttribute_fontFeature(ptr, value) + return this._SymbolSpan_construct(id, flags) } throw new Error("Not implemented") } - static _TextClockAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SymbolSpanInterface_setSymbolSpanOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextClockAttribute_contentModifier(ptr, thisArray, thisLength) + return this._SymbolSpanInterface_setSymbolSpanOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextClockAttribute_dateTimeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SymbolSpanAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextClockAttribute_dateTimeOptions(ptr, thisArray, thisLength) + return this._SymbolSpanAttribute_fontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInput_construct(id: KInt, flags: KInt): KPointer { + static _SymbolSpanAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInput_construct(id, flags) + return this._SymbolSpanAttribute_fontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputInterface_setTextInputOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SymbolSpanAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputInterface_setTextInputOptions(ptr, thisArray, thisLength) + return this._SymbolSpanAttribute_fontWeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_type(ptr: KPointer, value: KInt): void { + static _SymbolSpanAttribute_effectStrategy(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_type(ptr, value) + return this._SymbolSpanAttribute_effectStrategy(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_contentType(ptr: KPointer, value: KInt): void { + static _SymbolSpanAttribute_renderingStrategy(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_contentType(ptr, value) + return this._SymbolSpanAttribute_renderingStrategy(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_placeholderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Tabs_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_placeholderColor(ptr, thisArray, thisLength) + return this._Tabs_construct(id, flags) } throw new Error("Not implemented") } - static _TextInputAttribute_textOverflow(ptr: KPointer, value: KInt): void { + static _TabsInterface_setTabsOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_textOverflow(ptr, value) + return this._TabsInterface_setTabsOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_textIndent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_vertical(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_textIndent(ptr, thisArray, thisLength) + return this._TabsAttribute_vertical(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_placeholderFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_barPosition(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_placeholderFont(ptr, thisArray, thisLength) + return this._TabsAttribute_barPosition(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_enterKeyType(ptr: KPointer, value: KInt): void { + static _TabsAttribute_scrollable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_enterKeyType(ptr, value) + return this._TabsAttribute_scrollable(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_caretColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_barMode0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_caretColor(ptr, thisArray, thisLength) + return this._TabsAttribute_barMode0(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_onEditChanged(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_barMode1(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onEditChanged(ptr, thisArray, thisLength) + return this._TabsAttribute_barMode1(ptr, value, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_onEditChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_barWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onEditChange(ptr, thisArray, thisLength) + return this._TabsAttribute_barWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_onSubmit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_barHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onSubmit(ptr, thisArray, thisLength) + return this._TabsAttribute_barHeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_animationDuration(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onChange(ptr, thisArray, thisLength) + return this._TabsAttribute_animationDuration(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_onTextSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_animationMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onTextSelectionChange(ptr, thisArray, thisLength) + return this._TabsAttribute_animationMode(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_onContentScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_edgeEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onContentScroll(ptr, thisArray, thisLength) + return this._TabsAttribute_edgeEffect(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_maxLength(ptr: KPointer, value: number): void { + static _TabsAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_maxLength(ptr, value) + return this._TabsAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_onSelected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_fontColor(ptr, thisArray, thisLength) + return this._TabsAttribute_onSelected(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_onTabBarClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_fontSize(ptr, thisArray, thisLength) + return this._TabsAttribute_onTabBarClick(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_fontStyle(ptr: KPointer, value: KInt): void { + static _TabsAttribute_onUnselected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_fontStyle(ptr, value) + return this._TabsAttribute_onUnselected(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_onAnimationStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_fontWeight(ptr, thisArray, thisLength) + return this._TabsAttribute_onAnimationStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_onAnimationEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_fontFamily(ptr, thisArray, thisLength) + return this._TabsAttribute_onAnimationEnd(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_onGestureSwipe(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onCopy(ptr, thisArray, thisLength) + return this._TabsAttribute_onGestureSwipe(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_onCut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_fadingEdge(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onCut(ptr, thisArray, thisLength) + return this._TabsAttribute_fadingEdge(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_onPaste(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onPaste(ptr, thisArray, thisLength) + return this._TabsAttribute_divider(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_copyOption(ptr: KPointer, value: KInt): void { + static _TabsAttribute_barOverlap(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_copyOption(ptr, value) + return this._TabsAttribute_barOverlap(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_showPasswordIcon(ptr: KPointer, value: KInt): void { + static _TabsAttribute_barBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_showPasswordIcon(ptr, value) + return this._TabsAttribute_barBackgroundColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_textAlign(ptr: KPointer, value: KInt): void { + static _TabsAttribute_barGridAlign(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_textAlign(ptr, value) + return this._TabsAttribute_barGridAlign(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_style(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_customContentTransition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_style(ptr, thisArray, thisLength) + return this._TabsAttribute_customContentTransition(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_caretStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_barBackgroundBlurStyle0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_caretStyle(ptr, thisArray, thisLength) + return this._TabsAttribute_barBackgroundBlurStyle0(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_barBackgroundBlurStyle1(ptr: KPointer, style: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) + return this._TabsAttribute_barBackgroundBlurStyle1(ptr, style, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_caretPosition(ptr: KPointer, value: number): void { + static _TabsAttribute_barBackgroundEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_caretPosition(ptr, value) + return this._TabsAttribute_barBackgroundEffect(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { + static _TabsAttribute_pageFlipMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_enableKeyboardOnFocus(ptr, value) + return this._TabsAttribute_pageFlipMode(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_passwordIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_onContentWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_passwordIcon(ptr, thisArray, thisLength) + return this._TabsAttribute_onContentWillChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_showError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_barModeScrollable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_showError(ptr, thisArray, thisLength) + return this._TabsAttribute_barModeScrollable(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_showUnit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabsAttribute_cachedMaxCount(ptr: KPointer, count: number, mode: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_showUnit(ptr, thisArray, thisLength) + return this._TabsAttribute_cachedMaxCount(ptr, count, mode) } throw new Error("Not implemented") } - static _TextInputAttribute_showUnderline(ptr: KPointer, value: KInt): void { + static _TabsAttribute__onChangeEvent_index(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_showUnderline(ptr, value) + return this._TabsAttribute__onChangeEvent_index(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_underlineColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabContent_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_underlineColor(ptr, thisArray, thisLength) + return this._TabContent_construct(id, flags) } throw new Error("Not implemented") } - static _TextInputAttribute_selectionMenuHidden(ptr: KPointer, value: KInt): void { + static _TabContentInterface_setTabContentOptions(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_selectionMenuHidden(ptr, value) + return this._TabContentInterface_setTabContentOptions(ptr) } throw new Error("Not implemented") } - static _TextInputAttribute_barState(ptr: KPointer, value: KInt): void { + static _TabContentAttribute_tabBar0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_barState(ptr, value) + return this._TabContentAttribute_tabBar0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_maxLines(ptr: KPointer, value: number): void { + static _TabContentAttribute_tabBar1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_maxLines(ptr, value) + return this._TabContentAttribute_tabBar1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_wordBreak(ptr: KPointer, value: KInt): void { + static _TabContentAttribute_tabBar2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_wordBreak(ptr, value) + return this._TabContentAttribute_tabBar2(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_lineBreakStrategy(ptr: KPointer, value: KInt): void { + static _TabContentAttribute_onWillShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_lineBreakStrategy(ptr, value) + return this._TabContentAttribute_onWillShow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_cancelButton0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TabContentAttribute_onWillHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_cancelButton0(ptr, thisArray, thisLength) + return this._TabContentAttribute_onWillHide(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_cancelButton1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Text_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_cancelButton1(ptr, thisArray, thisLength) + return this._Text_construct(id, flags) } throw new Error("Not implemented") } - static _TextInputAttribute_selectAll(ptr: KPointer, value: KInt): void { + static _TextInterface_setTextOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_selectAll(ptr, value) + return this._TextInterface_setTextOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_font0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_minFontSize(ptr, thisArray, thisLength) + return this._TextAttribute_font0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_font1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_maxFontSize(ptr, thisArray, thisLength) + return this._TextAttribute_font1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { + static _TextAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_heightAdaptivePolicy(ptr, value) + return this._TextAttribute_fontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_enableAutoFill(ptr: KPointer, value: KInt): void { + static _TextAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_enableAutoFill(ptr, value) + return this._TextAttribute_fontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_decoration(ptr, thisArray, thisLength) + return this._TextAttribute_minFontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_letterSpacing(ptr, thisArray, thisLength) + return this._TextAttribute_maxFontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_lineHeight(ptr, thisArray, thisLength) + return this._TextAttribute_minFontScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_passwordRules(ptr: KPointer, value: KStringPtr): void { + static _TextAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_passwordRules(ptr, value) + return this._TextAttribute_maxFontScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { + static _TextAttribute_fontStyle(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_fontFeature(ptr, value) + return this._TextAttribute_fontStyle(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_showPassword(ptr: KPointer, value: KInt): void { + static _TextAttribute_fontWeight0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_showPassword(ptr, value) + return this._TextAttribute_fontWeight0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_onSecurityStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_fontWeight1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onSecurityStateChange(ptr, thisArray, thisLength) + return this._TextAttribute_fontWeight1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_onWillInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_lineSpacing(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onWillInsert(ptr, thisArray, thisLength) + return this._TextAttribute_lineSpacing(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_onDidInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_textAlign(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onDidInsert(ptr, thisArray, thisLength) + return this._TextAttribute_textAlign(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_onWillDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onWillDelete(ptr, thisArray, thisLength) + return this._TextAttribute_lineHeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_onDidDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_textOverflow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_onDidDelete(ptr, thisArray, thisLength) + return this._TextAttribute_textOverflow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_editMenuOptions(ptr, thisArray, thisLength) + return this._TextAttribute_fontFamily(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { + static _TextAttribute_maxLines(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_enablePreviewText(ptr, value) + return this._TextAttribute_maxLines(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + static _TextAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_enableHapticFeedback(ptr, value) + return this._TextAttribute_decoration(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_inputFilter(ptr, thisArray, thisLength) + return this._TextAttribute_letterSpacing(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_textCase(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_customKeyboard(ptr, thisArray, thisLength) + return this._TextAttribute_textCase(ptr, value) } throw new Error("Not implemented") } - static _TextInputAttribute_showCounter(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_baselineOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute_showCounter(ptr, value, thisArray, thisLength) + return this._TextAttribute_baselineOffset(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextInputAttribute__onChangeEvent_text(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_copyOption(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextInputAttribute__onChangeEvent_text(ptr, thisArray, thisLength) + return this._TextAttribute_copyOption(ptr, value) } throw new Error("Not implemented") } - static _TextPicker_construct(id: KInt, flags: KInt): KPointer { + static _TextAttribute_draggable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextPicker_construct(id, flags) + return this._TextAttribute_draggable(ptr, value) } throw new Error("Not implemented") } - static _TextPickerInterface_setTextPickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_textShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerInterface_setTextPickerOptions(ptr, thisArray, thisLength) + return this._TextAttribute_textShadow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextPickerAttribute_defaultPickerItemHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute_defaultPickerItemHeight(ptr, thisArray, thisLength) + return this._TextAttribute_heightAdaptivePolicy(ptr, value) } throw new Error("Not implemented") } - static _TextPickerAttribute_canLoop(ptr: KPointer, value: KInt): void { + static _TextAttribute_textIndent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute_canLoop(ptr, value) + return this._TextAttribute_textIndent(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextPickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_wordBreak(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute_disappearTextStyle(ptr, thisArray, thisLength) + return this._TextAttribute_wordBreak(ptr, value) } throw new Error("Not implemented") } - static _TextPickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_lineBreakStrategy(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute_textStyle(ptr, thisArray, thisLength) + return this._TextAttribute_lineBreakStrategy(ptr, value) } throw new Error("Not implemented") } - static _TextPickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute_selectedTextStyle(ptr, thisArray, thisLength) + return this._TextAttribute_onCopy(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextPickerAttribute_onAccept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_caretColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute_onAccept(ptr, thisArray, thisLength) + return this._TextAttribute_caretColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextPickerAttribute_onCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute_onCancel(ptr, thisArray, thisLength) + return this._TextAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextPickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_ellipsisMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute_onChange(ptr, thisArray, thisLength) + return this._TextAttribute_ellipsisMode(ptr, value) } throw new Error("Not implemented") } - static _TextPickerAttribute_selectedIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_enableDataDetector(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute_selectedIndex(ptr, thisArray, thisLength) + return this._TextAttribute_enableDataDetector(ptr, value) } throw new Error("Not implemented") } - static _TextPickerAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_dataDetectorConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute_divider(ptr, thisArray, thisLength) + return this._TextAttribute_dataDetectorConfig(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextPickerAttribute_gradientHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_onTextSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute_gradientHeight(ptr, thisArray, thisLength) + return this._TextAttribute_onTextSelectionChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextPickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + return this._TextAttribute_fontFeature(ptr, value) } throw new Error("Not implemented") } - static _TextPickerAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_marqueeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextPickerAttribute__onChangeEvent_value(ptr, thisArray, thisLength) + return this._TextAttribute_marqueeOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextTimer_construct(id: KInt, flags: KInt): KPointer { + static _TextAttribute_onMarqueeStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextTimer_construct(id, flags) + return this._TextAttribute_onMarqueeStateChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextTimerInterface_setTextTimerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_privacySensitive(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextTimerInterface_setTextTimerOptions(ptr, thisArray, thisLength) + return this._TextAttribute_privacySensitive(ptr, value) } throw new Error("Not implemented") } - static _TextTimerAttribute_format(ptr: KPointer, value: KStringPtr): void { + static _TextAttribute_textSelectable(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextTimerAttribute_format(ptr, value) + return this._TextAttribute_textSelectable(ptr, value) } throw new Error("Not implemented") } - static _TextTimerAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextTimerAttribute_fontColor(ptr, thisArray, thisLength) + return this._TextAttribute_editMenuOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextTimerAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_halfLeading(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextTimerAttribute_fontSize(ptr, thisArray, thisLength) + return this._TextAttribute_halfLeading(ptr, value) } throw new Error("Not implemented") } - static _TextTimerAttribute_fontStyle(ptr: KPointer, value: KInt): void { + static _TextAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextTimerAttribute_fontStyle(ptr, value) + return this._TextAttribute_enableHapticFeedback(ptr, value) } throw new Error("Not implemented") } - static _TextTimerAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_selection(ptr: KPointer, selectionStart: number, selectionEnd: number): void { if ((this._LoadOnce()) == (true)) { - return this._TextTimerAttribute_fontWeight(ptr, thisArray, thisLength) + return this._TextAttribute_selection(ptr, selectionStart, selectionEnd) } throw new Error("Not implemented") } - static _TextTimerAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAttribute_bindSelectionMenu(ptr: KPointer, spanType: KInt, thisArray: KSerializerBuffer, thisLength: int32, responseType: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TextTimerAttribute_fontFamily(ptr, thisArray, thisLength) + return this._TextAttribute_bindSelectionMenu(ptr, spanType, thisArray, thisLength, responseType) } throw new Error("Not implemented") } - static _TextTimerAttribute_onTimer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextArea_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TextTimerAttribute_onTimer(ptr, thisArray, thisLength) + return this._TextArea_construct(id, flags) } throw new Error("Not implemented") } - static _TextTimerAttribute_textShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaInterface_setTextAreaOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextTimerAttribute_textShadow(ptr, thisArray, thisLength) + return this._TextAreaInterface_setTextAreaOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextTimerAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_placeholderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextTimerAttribute_contentModifier(ptr, thisArray, thisLength) + return this._TextAreaAttribute_placeholderColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TimePicker_construct(id: KInt, flags: KInt): KPointer { + static _TextAreaAttribute_placeholderFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TimePicker_construct(id, flags) + return this._TextAreaAttribute_placeholderFont(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TimePickerInterface_setTimePickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_enterKeyType(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TimePickerInterface_setTimePickerOptions(ptr, thisArray, thisLength) + return this._TextAreaAttribute_enterKeyType(ptr, value) } throw new Error("Not implemented") } - static _TimePickerAttribute_useMilitaryTime(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_textAlign(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TimePickerAttribute_useMilitaryTime(ptr, value) + return this._TextAreaAttribute_textAlign(ptr, value) } throw new Error("Not implemented") } - static _TimePickerAttribute_loop(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_caretColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TimePickerAttribute_loop(ptr, value) + return this._TextAreaAttribute_caretColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TimePickerAttribute_disappearTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TimePickerAttribute_disappearTextStyle(ptr, thisArray, thisLength) + return this._TextAreaAttribute_fontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TimePickerAttribute_textStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TimePickerAttribute_textStyle(ptr, thisArray, thisLength) + return this._TextAreaAttribute_fontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TimePickerAttribute_selectedTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_fontStyle(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TimePickerAttribute_selectedTextStyle(ptr, thisArray, thisLength) + return this._TextAreaAttribute_fontStyle(ptr, value) } throw new Error("Not implemented") } - static _TimePickerAttribute_dateTimeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TimePickerAttribute_dateTimeOptions(ptr, thisArray, thisLength) + return this._TextAreaAttribute_fontWeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TimePickerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TimePickerAttribute_onChange(ptr, thisArray, thisLength) + return this._TextAreaAttribute_fontFamily(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TimePickerAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_textOverflow(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TimePickerAttribute_enableHapticFeedback(ptr, value) + return this._TextAreaAttribute_textOverflow(ptr, value) } throw new Error("Not implemented") } - static _TimePickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_textIndent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TimePickerAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) + return this._TextAreaAttribute_textIndent(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Toggle_construct(id: KInt, flags: KInt): KPointer { + static _TextAreaAttribute_caretStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Toggle_construct(id, flags) + return this._TextAreaAttribute_caretStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ToggleInterface_setToggleOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ToggleInterface_setToggleOptions(ptr, thisArray, thisLength) + return this._TextAreaAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ToggleAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_onSubmit0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ToggleAttribute_onChange(ptr, thisArray, thisLength) + return this._TextAreaAttribute_onSubmit0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ToggleAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_onSubmit1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ToggleAttribute_contentModifier(ptr, thisArray, thisLength) + return this._TextAreaAttribute_onSubmit1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ToggleAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ToggleAttribute_selectedColor(ptr, thisArray, thisLength) + return this._TextAreaAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ToggleAttribute_switchPointColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_onTextSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ToggleAttribute_switchPointColor(ptr, thisArray, thisLength) + return this._TextAreaAttribute_onTextSelectionChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ToggleAttribute_switchStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_onContentScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ToggleAttribute_switchStyle(ptr, thisArray, thisLength) + return this._TextAreaAttribute_onContentScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ToggleAttribute__onChangeEvent_isOn(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_onEditChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ToggleAttribute__onChangeEvent_isOn(ptr, thisArray, thisLength) + return this._TextAreaAttribute_onEditChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Video_construct(id: KInt, flags: KInt): KPointer { + static _TextAreaAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Video_construct(id, flags) + return this._TextAreaAttribute_onCopy(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _VideoInterface_setVideoOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_onCut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._VideoInterface_setVideoOptions(ptr, thisArray, thisLength) + return this._TextAreaAttribute_onCut(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _VideoAttribute_muted(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_onPaste(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_muted(ptr, value) + return this._TextAreaAttribute_onPaste(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _VideoAttribute_autoPlay(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_copyOption(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_autoPlay(ptr, value) + return this._TextAreaAttribute_copyOption(ptr, value) } throw new Error("Not implemented") } - static _VideoAttribute_controls(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_controls(ptr, value) + return this._TextAreaAttribute_enableKeyboardOnFocus(ptr, value) } throw new Error("Not implemented") } - static _VideoAttribute_loop(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_maxLength(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_loop(ptr, value) + return this._TextAreaAttribute_maxLength(ptr, value) } throw new Error("Not implemented") } - static _VideoAttribute_objectFit(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_style(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_objectFit(ptr, value) + return this._TextAreaAttribute_style(ptr, value) } throw new Error("Not implemented") } - static _VideoAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_barState(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_onStart(ptr, thisArray, thisLength) + return this._TextAreaAttribute_barState(ptr, value) } throw new Error("Not implemented") } - static _VideoAttribute_onPause(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_selectionMenuHidden(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_onPause(ptr, thisArray, thisLength) + return this._TextAreaAttribute_selectionMenuHidden(ptr, value) } throw new Error("Not implemented") } - static _VideoAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_onFinish(ptr, thisArray, thisLength) + return this._TextAreaAttribute_minFontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _VideoAttribute_onFullscreenChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_onFullscreenChange(ptr, thisArray, thisLength) + return this._TextAreaAttribute_maxFontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _VideoAttribute_onPrepared(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_onPrepared(ptr, thisArray, thisLength) + return this._TextAreaAttribute_minFontScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _VideoAttribute_onSeeking(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_onSeeking(ptr, thisArray, thisLength) + return this._TextAreaAttribute_maxFontScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _VideoAttribute_onSeeked(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_onSeeked(ptr, thisArray, thisLength) + return this._TextAreaAttribute_heightAdaptivePolicy(ptr, value) } throw new Error("Not implemented") } - static _VideoAttribute_onUpdate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_maxLines(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_onUpdate(ptr, thisArray, thisLength) + return this._TextAreaAttribute_maxLines(ptr, value) } throw new Error("Not implemented") } - static _VideoAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_wordBreak(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_onError(ptr, thisArray, thisLength) + return this._TextAreaAttribute_wordBreak(ptr, value) } throw new Error("Not implemented") } - static _VideoAttribute_onStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_lineBreakStrategy(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_onStop(ptr, thisArray, thisLength) + return this._TextAreaAttribute_lineBreakStrategy(ptr, value) } throw new Error("Not implemented") } - static _VideoAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_enableAnalyzer(ptr, value) + return this._TextAreaAttribute_decoration(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _VideoAttribute_analyzerConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._VideoAttribute_analyzerConfig(ptr, thisArray, thisLength) + return this._TextAreaAttribute_letterSpacing(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Web_construct(id: KInt, flags: KInt): KPointer { + static _TextAreaAttribute_lineSpacing(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._Web_construct(id, flags) + return this._TextAreaAttribute_lineSpacing(ptr, value) } throw new Error("Not implemented") } - static _WebInterface_setWebOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebInterface_setWebOptions(ptr, thisArray, thisLength) + return this._TextAreaAttribute_lineHeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_javaScriptAccess(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_type(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_javaScriptAccess(ptr, value) + return this._TextAreaAttribute_type(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_fileAccess(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_enableAutoFill(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_fileAccess(ptr, value) + return this._TextAreaAttribute_enableAutoFill(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onlineImageAccess(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_contentType(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onlineImageAccess(ptr, value) + return this._TextAreaAttribute_contentType(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_domStorageAccess(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_domStorageAccess(ptr, value) + return this._TextAreaAttribute_fontFeature(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_imageAccess(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_onWillInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_imageAccess(ptr, value) + return this._TextAreaAttribute_onWillInsert(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_mixedMode(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_onDidInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_mixedMode(ptr, value) + return this._TextAreaAttribute_onDidInsert(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_zoomAccess(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_onWillDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_zoomAccess(ptr, value) + return this._TextAreaAttribute_onWillDelete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_geolocationAccess(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_onDidDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_geolocationAccess(ptr, value) + return this._TextAreaAttribute_onDidDelete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_javaScriptProxy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_javaScriptProxy(ptr, thisArray, thisLength) + return this._TextAreaAttribute_editMenuOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_password(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_password(ptr, value) + return this._TextAreaAttribute_enablePreviewText(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_cacheMode(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_cacheMode(ptr, value) + return this._TextAreaAttribute_enableHapticFeedback(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_darkMode(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_autoCapitalizationMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_darkMode(ptr, value) + return this._TextAreaAttribute_autoCapitalizationMode(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_forceDarkAccess(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_halfLeading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_forceDarkAccess(ptr, value) + return this._TextAreaAttribute_halfLeading(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_mediaOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextAreaAttribute_ellipsisMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_mediaOptions(ptr, thisArray, thisLength) + return this._TextAreaAttribute_ellipsisMode(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_tableData(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_stopBackPress(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_tableData(ptr, value) + return this._TextAreaAttribute_stopBackPress(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_wideViewModeAccess(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_onWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_wideViewModeAccess(ptr, value) + return this._TextAreaAttribute_onWillChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_overviewModeAccess(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_keyboardAppearance(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_overviewModeAccess(ptr, value) + return this._TextAreaAttribute_keyboardAppearance(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_overScrollMode(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_overScrollMode(ptr, value) + return this._TextAreaAttribute_inputFilter(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_textZoomAtio(ptr: KPointer, value: number): void { + static _TextAreaAttribute_showCounter(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_textZoomAtio(ptr, value) + return this._TextAreaAttribute_showCounter(ptr, value, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_textZoomRatio(ptr: KPointer, value: number): void { + static _TextAreaAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_textZoomRatio(ptr, value) + return this._TextAreaAttribute_customKeyboard(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_databaseAccess(ptr: KPointer, value: KInt): void { + static _TextAreaAttribute__onChangeEvent_text(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_databaseAccess(ptr, value) + return this._TextAreaAttribute__onChangeEvent_text(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_initialScale(ptr: KPointer, value: number): void { + static _TextClock_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_initialScale(ptr, value) + return this._TextClock_construct(id, flags) } throw new Error("Not implemented") } - static _WebAttribute_userAgent(ptr: KPointer, value: KStringPtr): void { + static _TextClockInterface_setTextClockOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_userAgent(ptr, value) + return this._TextClockInterface_setTextClockOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_metaViewport(ptr: KPointer, value: KInt): void { + static _TextClockAttribute_format(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_metaViewport(ptr, value) + return this._TextClockAttribute_format(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onPageEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextClockAttribute_onDateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onPageEnd(ptr, thisArray, thisLength) + return this._TextClockAttribute_onDateChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onPageBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextClockAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onPageBegin(ptr, thisArray, thisLength) + return this._TextClockAttribute_fontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onProgressChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextClockAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onProgressChange(ptr, thisArray, thisLength) + return this._TextClockAttribute_fontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onTitleReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextClockAttribute_fontStyle(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onTitleReceive(ptr, thisArray, thisLength) + return this._TextClockAttribute_fontStyle(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onGeolocationHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextClockAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onGeolocationHide(ptr, thisArray, thisLength) + return this._TextClockAttribute_fontWeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onGeolocationShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextClockAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onGeolocationShow(ptr, thisArray, thisLength) + return this._TextClockAttribute_fontFamily(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onRequestSelected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextClockAttribute_textShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onRequestSelected(ptr, thisArray, thisLength) + return this._TextClockAttribute_textShadow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onAlert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextClockAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onAlert(ptr, thisArray, thisLength) + return this._TextClockAttribute_fontFeature(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onBeforeUnload(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextClockAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onBeforeUnload(ptr, thisArray, thisLength) + return this._TextClockAttribute_contentModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onConfirm(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextClockAttribute_dateTimeOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onConfirm(ptr, thisArray, thisLength) + return this._TextClockAttribute_dateTimeOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onPrompt(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInput_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onPrompt(ptr, thisArray, thisLength) + return this._TextInput_construct(id, flags) } throw new Error("Not implemented") } - static _WebAttribute_onConsole(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputInterface_setTextInputOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onConsole(ptr, thisArray, thisLength) + return this._TextInputInterface_setTextInputOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onErrorReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_type(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onErrorReceive(ptr, thisArray, thisLength) + return this._TextInputAttribute_type(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onHttpErrorReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_contentType(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onHttpErrorReceive(ptr, thisArray, thisLength) + return this._TextInputAttribute_contentType(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onDownloadStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_placeholderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onDownloadStart(ptr, thisArray, thisLength) + return this._TextInputAttribute_placeholderColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onRefreshAccessedHistory(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_textOverflow(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onRefreshAccessedHistory(ptr, thisArray, thisLength) + return this._TextInputAttribute_textOverflow(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onUrlLoadIntercept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_textIndent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onUrlLoadIntercept(ptr, thisArray, thisLength) + return this._TextInputAttribute_textIndent(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onSslErrorReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_placeholderFont(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onSslErrorReceive(ptr, thisArray, thisLength) + return this._TextInputAttribute_placeholderFont(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onRenderExited0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_enterKeyType(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onRenderExited0(ptr, thisArray, thisLength) + return this._TextInputAttribute_enterKeyType(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onRenderExited1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_caretColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onRenderExited1(ptr, thisArray, thisLength) + return this._TextInputAttribute_caretColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onShowFileSelector(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onEditChanged(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onShowFileSelector(ptr, thisArray, thisLength) + return this._TextInputAttribute_onEditChanged(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onFileSelectorShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onEditChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onFileSelectorShow(ptr, thisArray, thisLength) + return this._TextInputAttribute_onEditChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onResourceLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onSubmit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onResourceLoad(ptr, thisArray, thisLength) + return this._TextInputAttribute_onSubmit(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onFullScreenExit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onFullScreenExit(ptr, thisArray, thisLength) + return this._TextInputAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onFullScreenEnter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onTextSelectionChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onFullScreenEnter(ptr, thisArray, thisLength) + return this._TextInputAttribute_onTextSelectionChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onScaleChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onContentScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onScaleChange(ptr, thisArray, thisLength) + return this._TextInputAttribute_onContentScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onHttpAuthRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_maxLength(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onHttpAuthRequest(ptr, thisArray, thisLength) + return this._TextInputAttribute_maxLength(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onInterceptRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onInterceptRequest(ptr, thisArray, thisLength) + return this._TextInputAttribute_fontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onPermissionRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onPermissionRequest(ptr, thisArray, thisLength) + return this._TextInputAttribute_fontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onScreenCaptureRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_fontStyle(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onScreenCaptureRequest(ptr, thisArray, thisLength) + return this._TextInputAttribute_fontStyle(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onContextMenuShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onContextMenuShow(ptr, thisArray, thisLength) + return this._TextInputAttribute_fontWeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onContextMenuHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onContextMenuHide(ptr, thisArray, thisLength) + return this._TextInputAttribute_fontFamily(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_mediaPlayGestureAccess(ptr: KPointer, value: KInt): void { + static _TextInputAttribute_onCopy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_mediaPlayGestureAccess(ptr, value) + return this._TextInputAttribute_onCopy(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onSearchResultReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onCut(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onSearchResultReceive(ptr, thisArray, thisLength) + return this._TextInputAttribute_onCut(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onPaste(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onScroll(ptr, thisArray, thisLength) + return this._TextInputAttribute_onPaste(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onSslErrorEventReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_copyOption(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onSslErrorEventReceive(ptr, thisArray, thisLength) + return this._TextInputAttribute_copyOption(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onSslErrorEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_showPasswordIcon(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onSslErrorEvent(ptr, thisArray, thisLength) + return this._TextInputAttribute_showPasswordIcon(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onClientAuthenticationRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_textAlign(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onClientAuthenticationRequest(ptr, thisArray, thisLength) + return this._TextInputAttribute_textAlign(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onWindowNew(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_style(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onWindowNew(ptr, thisArray, thisLength) + return this._TextInputAttribute_style(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onWindowExit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_caretStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onWindowExit(ptr, thisArray, thisLength) + return this._TextInputAttribute_caretStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_multiWindowAccess(ptr: KPointer, value: KInt): void { + static _TextInputAttribute_selectedBackgroundColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_multiWindowAccess(ptr, value) + return this._TextInputAttribute_selectedBackgroundColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onInterceptKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_caretPosition(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onInterceptKeyEvent(ptr, thisArray, thisLength) + return this._TextInputAttribute_caretPosition(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_webStandardFont(ptr: KPointer, value: KStringPtr): void { + static _TextInputAttribute_enableKeyboardOnFocus(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_webStandardFont(ptr, value) + return this._TextInputAttribute_enableKeyboardOnFocus(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_webSerifFont(ptr: KPointer, value: KStringPtr): void { + static _TextInputAttribute_passwordIcon(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_webSerifFont(ptr, value) + return this._TextInputAttribute_passwordIcon(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_webSansSerifFont(ptr: KPointer, value: KStringPtr): void { + static _TextInputAttribute_showError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_webSansSerifFont(ptr, value) + return this._TextInputAttribute_showError(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_webFixedFont(ptr: KPointer, value: KStringPtr): void { + static _TextInputAttribute_showUnit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_webFixedFont(ptr, value) + return this._TextInputAttribute_showUnit(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_webFantasyFont(ptr: KPointer, value: KStringPtr): void { + static _TextInputAttribute_showUnderline(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_webFantasyFont(ptr, value) + return this._TextInputAttribute_showUnderline(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_webCursiveFont(ptr: KPointer, value: KStringPtr): void { + static _TextInputAttribute_underlineColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_webCursiveFont(ptr, value) + return this._TextInputAttribute_underlineColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_defaultFixedFontSize(ptr: KPointer, value: number): void { + static _TextInputAttribute_selectionMenuHidden(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_defaultFixedFontSize(ptr, value) + return this._TextInputAttribute_selectionMenuHidden(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_defaultFontSize(ptr: KPointer, value: number): void { + static _TextInputAttribute_barState(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_defaultFontSize(ptr, value) + return this._TextInputAttribute_barState(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_minFontSize(ptr: KPointer, value: number): void { + static _TextInputAttribute_maxLines(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_minFontSize(ptr, value) + return this._TextInputAttribute_maxLines(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_minLogicalFontSize(ptr: KPointer, value: number): void { + static _TextInputAttribute_wordBreak(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_minLogicalFontSize(ptr, value) + return this._TextInputAttribute_wordBreak(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_defaultTextEncodingFormat(ptr: KPointer, value: KStringPtr): void { + static _TextInputAttribute_lineBreakStrategy(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_defaultTextEncodingFormat(ptr, value) + return this._TextInputAttribute_lineBreakStrategy(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_forceDisplayScrollBar(ptr: KPointer, value: KInt): void { + static _TextInputAttribute_cancelButton0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_forceDisplayScrollBar(ptr, value) + return this._TextInputAttribute_cancelButton0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_blockNetwork(ptr: KPointer, value: KInt): void { + static _TextInputAttribute_cancelButton1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_blockNetwork(ptr, value) + return this._TextInputAttribute_cancelButton1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_horizontalScrollBarAccess(ptr: KPointer, value: KInt): void { + static _TextInputAttribute_selectAll(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_horizontalScrollBarAccess(ptr, value) + return this._TextInputAttribute_selectAll(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_verticalScrollBarAccess(ptr: KPointer, value: KInt): void { + static _TextInputAttribute_minFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_verticalScrollBarAccess(ptr, value) + return this._TextInputAttribute_minFontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onTouchIconUrlReceived(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_maxFontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onTouchIconUrlReceived(ptr, thisArray, thisLength) + return this._TextInputAttribute_maxFontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onFaviconReceived(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_minFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onFaviconReceived(ptr, thisArray, thisLength) + return this._TextInputAttribute_minFontScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onPageVisible(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_maxFontScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onPageVisible(ptr, thisArray, thisLength) + return this._TextInputAttribute_maxFontScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onDataResubmitted(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_heightAdaptivePolicy(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onDataResubmitted(ptr, thisArray, thisLength) + return this._TextInputAttribute_heightAdaptivePolicy(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_pinchSmooth(ptr: KPointer, value: KInt): void { + static _TextInputAttribute_enableAutoFill(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_pinchSmooth(ptr, value) + return this._TextInputAttribute_enableAutoFill(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_allowWindowOpenMethod(ptr: KPointer, value: KInt): void { + static _TextInputAttribute_decoration(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_allowWindowOpenMethod(ptr, value) + return this._TextInputAttribute_decoration(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onAudioStateChanged(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_letterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onAudioStateChanged(ptr, thisArray, thisLength) + return this._TextInputAttribute_letterSpacing(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onFirstContentfulPaint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_lineHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onFirstContentfulPaint(ptr, thisArray, thisLength) + return this._TextInputAttribute_lineHeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onFirstMeaningfulPaint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_passwordRules(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onFirstMeaningfulPaint(ptr, thisArray, thisLength) + return this._TextInputAttribute_passwordRules(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onLargestContentfulPaint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_fontFeature(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onLargestContentfulPaint(ptr, thisArray, thisLength) + return this._TextInputAttribute_fontFeature(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onLoadIntercept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_showPassword(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onLoadIntercept(ptr, thisArray, thisLength) + return this._TextInputAttribute_showPassword(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onControllerAttached(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onSecurityStateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onControllerAttached(ptr, thisArray, thisLength) + return this._TextInputAttribute_onSecurityStateChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onOverScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onWillInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onOverScroll(ptr, thisArray, thisLength) + return this._TextInputAttribute_onWillInsert(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onSafeBrowsingCheckResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onDidInsert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onSafeBrowsingCheckResult(ptr, thisArray, thisLength) + return this._TextInputAttribute_onDidInsert(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onNavigationEntryCommitted(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onWillDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onNavigationEntryCommitted(ptr, thisArray, thisLength) + return this._TextInputAttribute_onWillDelete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onIntelligentTrackingPreventionResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onDidDelete(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onIntelligentTrackingPreventionResult(ptr, thisArray, thisLength) + return this._TextInputAttribute_onDidDelete(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_javaScriptOnDocumentStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_javaScriptOnDocumentStart(ptr, thisArray, thisLength) + return this._TextInputAttribute_editMenuOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_javaScriptOnDocumentEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_enablePreviewText(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_javaScriptOnDocumentEnd(ptr, thisArray, thisLength) + return this._TextInputAttribute_enablePreviewText(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_layoutMode(ptr: KPointer, value: KInt): void { + static _TextInputAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_layoutMode(ptr, value) + return this._TextInputAttribute_enableHapticFeedback(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_autoCapitalizationMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_nestedScroll(ptr, thisArray, thisLength) + return this._TextInputAttribute_autoCapitalizationMode(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_enableNativeEmbedMode(ptr: KPointer, value: KInt): void { + static _TextInputAttribute_halfLeading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_enableNativeEmbedMode(ptr, value) + return this._TextInputAttribute_halfLeading(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onNativeEmbedLifecycleChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_ellipsisMode(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onNativeEmbedLifecycleChange(ptr, thisArray, thisLength) + return this._TextInputAttribute_ellipsisMode(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onNativeEmbedVisibilityChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_stopBackPress(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onNativeEmbedVisibilityChange(ptr, thisArray, thisLength) + return this._TextInputAttribute_stopBackPress(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onNativeEmbedGestureEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_onWillChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onNativeEmbedGestureEvent(ptr, thisArray, thisLength) + return this._TextInputAttribute_onWillChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_copyOptions(ptr: KPointer, value: KInt): void { + static _TextInputAttribute_keyboardAppearance(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_copyOptions(ptr, value) + return this._TextInputAttribute_keyboardAppearance(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onOverrideUrlLoading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_inputFilter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onOverrideUrlLoading(ptr, thisArray, thisLength) + return this._TextInputAttribute_inputFilter(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_textAutosizing(ptr: KPointer, value: KInt): void { + static _TextInputAttribute_customKeyboard(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_textAutosizing(ptr, value) + return this._TextInputAttribute_customKeyboard(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_enableNativeMediaPlayer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextInputAttribute_showCounter(ptr: KPointer, value: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_enableNativeMediaPlayer(ptr, thisArray, thisLength) + return this._TextInputAttribute_showCounter(ptr, value, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_enableSmoothDragResize(ptr: KPointer, value: KInt): void { + static _TextInputAttribute__onChangeEvent_text(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_enableSmoothDragResize(ptr, value) + return this._TextInputAttribute__onChangeEvent_text(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onRenderProcessNotResponding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPicker_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onRenderProcessNotResponding(ptr, thisArray, thisLength) + return this._TextPicker_construct(id, flags) } throw new Error("Not implemented") } - static _WebAttribute_onRenderProcessResponding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerInterface_setTextPickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onRenderProcessResponding(ptr, thisArray, thisLength) + return this._TextPickerInterface_setTextPickerOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_selectionMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_defaultPickerItemHeight0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_selectionMenuOptions(ptr, thisArray, thisLength) + return this._TextPickerAttribute_defaultPickerItemHeight0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onViewportFitChanged(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_defaultPickerItemHeight1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onViewportFitChanged(ptr, thisArray, thisLength) + return this._TextPickerAttribute_defaultPickerItemHeight1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_onInterceptKeyboardAttach(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_canLoop0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onInterceptKeyboardAttach(ptr, thisArray, thisLength) + return this._TextPickerAttribute_canLoop0(ptr, value) } throw new Error("Not implemented") } - static _WebAttribute_onAdsBlocked(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_canLoop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_onAdsBlocked(ptr, thisArray, thisLength) + return this._TextPickerAttribute_canLoop1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_keyboardAvoidMode(ptr: KPointer, value: KInt): void { + static _TextPickerAttribute_disappearTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_keyboardAvoidMode(ptr, value) + return this._TextPickerAttribute_disappearTextStyle0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_disappearTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_editMenuOptions(ptr, thisArray, thisLength) + return this._TextPickerAttribute_disappearTextStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { + static _TextPickerAttribute_textStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_enableHapticFeedback(ptr, value) + return this._TextPickerAttribute_textStyle0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_registerNativeEmbedRule(ptr: KPointer, tag: KStringPtr, type: KStringPtr): void { + static _TextPickerAttribute_textStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_registerNativeEmbedRule(ptr, tag, type) + return this._TextPickerAttribute_textStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WebAttribute_bindSelectionMenu(ptr: KPointer, elementType: KInt, thisArray: KSerializerBuffer, thisLength: int32, responseType: KInt): void { + static _TextPickerAttribute_selectedTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WebAttribute_bindSelectionMenu(ptr, elementType, thisArray, thisLength, responseType) + return this._TextPickerAttribute_selectedTextStyle0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WindowScene_construct(id: KInt, flags: KInt): KPointer { + static _TextPickerAttribute_selectedTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WindowScene_construct(id, flags) + return this._TextPickerAttribute_selectedTextStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WindowSceneInterface_setWindowSceneOptions(ptr: KPointer, persistentId: number): void { + static _TextPickerAttribute_disableTextStyleAnimation(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WindowSceneInterface_setWindowSceneOptions(ptr, persistentId) + return this._TextPickerAttribute_disableTextStyleAnimation(ptr, value) } throw new Error("Not implemented") } - static _WindowSceneAttribute_attractionEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, fraction: number): void { + static _TextPickerAttribute_defaultTextStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WindowSceneAttribute_attractionEffect(ptr, thisArray, thisLength, fraction) + return this._TextPickerAttribute_defaultTextStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _XComponent_construct(id: KInt, flags: KInt): KPointer { + static _TextPickerAttribute_onAccept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._XComponent_construct(id, flags) + return this._TextPickerAttribute_onAccept(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _XComponentInterface_setXComponentOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_onCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._XComponentInterface_setXComponentOptions0(ptr, thisArray, thisLength) + return this._TextPickerAttribute_onCancel(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _XComponentInterface_setXComponentOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._XComponentInterface_setXComponentOptions1(ptr, thisArray, thisLength) + return this._TextPickerAttribute_onChange0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _XComponentInterface_setXComponentOptions2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._XComponentInterface_setXComponentOptions2(ptr, thisArray, thisLength) + return this._TextPickerAttribute_onChange1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _XComponentAttribute_onLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_onScrollStop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._XComponentAttribute_onLoad(ptr, thisArray, thisLength) + return this._TextPickerAttribute_onScrollStop0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _XComponentAttribute_onDestroy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_onScrollStop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._XComponentAttribute_onDestroy(ptr, thisArray, thisLength) + return this._TextPickerAttribute_onScrollStop1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _XComponentAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { + static _TextPickerAttribute_onEnterSelectedArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._XComponentAttribute_enableAnalyzer(ptr, value) + return this._TextPickerAttribute_onEnterSelectedArea(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _XComponentAttribute_enableSecure(ptr: KPointer, value: KInt): void { + static _TextPickerAttribute_selectedIndex0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._XComponentAttribute_enableSecure(ptr, value) + return this._TextPickerAttribute_selectedIndex0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainer_construct(id: KInt, flags: KInt): KPointer { + static _TextPickerAttribute_selectedIndex1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainer_construct(id, flags) + return this._TextPickerAttribute_selectedIndex1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerInterface_setSideBarContainerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_divider0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerInterface_setSideBarContainerOptions(ptr, thisArray, thisLength) + return this._TextPickerAttribute_divider0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_showSideBar(ptr: KPointer, value: KInt): void { + static _TextPickerAttribute_divider1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_showSideBar(ptr, value) + return this._TextPickerAttribute_divider1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_controlButton(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_gradientHeight0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_controlButton(ptr, thisArray, thisLength) + return this._TextPickerAttribute_gradientHeight0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_showControlButton(ptr: KPointer, value: KInt): void { + static _TextPickerAttribute_gradientHeight1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_showControlButton(ptr, value) + return this._TextPickerAttribute_gradientHeight1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute_enableHapticFeedback(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_onChange(ptr, thisArray, thisLength) + return this._TextPickerAttribute_enableHapticFeedback(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_sideBarWidth0(ptr: KPointer, value: number): void { + static _TextPickerAttribute_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_sideBarWidth0(ptr, value) + return this._TextPickerAttribute_digitalCrownSensitivity(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_sideBarWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextPickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_sideBarWidth1(ptr, thisArray, thisLength) + return this._TextPickerAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_minSideBarWidth0(ptr: KPointer, value: number): void { + static _TextPickerAttribute__onChangeEvent_value(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_minSideBarWidth0(ptr, value) + return this._TextPickerAttribute__onChangeEvent_value(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_minSideBarWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextTimer_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_minSideBarWidth1(ptr, thisArray, thisLength) + return this._TextTimer_construct(id, flags) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_maxSideBarWidth0(ptr: KPointer, value: number): void { + static _TextTimerInterface_setTextTimerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_maxSideBarWidth0(ptr, value) + return this._TextTimerInterface_setTextTimerOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_maxSideBarWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextTimerAttribute_format(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_maxSideBarWidth1(ptr, thisArray, thisLength) + return this._TextTimerAttribute_format(ptr, value) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_autoHide(ptr: KPointer, value: KInt): void { + static _TextTimerAttribute_fontColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_autoHide(ptr, value) + return this._TextTimerAttribute_fontColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_sideBarPosition(ptr: KPointer, value: KInt): void { + static _TextTimerAttribute_fontSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_sideBarPosition(ptr, value) + return this._TextTimerAttribute_fontSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextTimerAttribute_fontStyle(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_divider(ptr, thisArray, thisLength) + return this._TextTimerAttribute_fontStyle(ptr, value) } throw new Error("Not implemented") } - static _SideBarContainerAttribute_minContentWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextTimerAttribute_fontWeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute_minContentWidth(ptr, thisArray, thisLength) + return this._TextTimerAttribute_fontWeight(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SideBarContainerAttribute__onChangeEvent_showSideBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextTimerAttribute_fontFamily(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SideBarContainerAttribute__onChangeEvent_showSideBar(ptr, thisArray, thisLength) + return this._TextTimerAttribute_fontFamily(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RemoteWindow_construct(id: KInt, flags: KInt): KPointer { + static _TextTimerAttribute_onTimer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RemoteWindow_construct(id, flags) + return this._TextTimerAttribute_onTimer(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RemoteWindowInterface_setRemoteWindowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextTimerAttribute_textShadow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RemoteWindowInterface_setRemoteWindowOptions(ptr, thisArray, thisLength) + return this._TextTimerAttribute_textShadow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlow_construct(id: KInt, flags: KInt): KPointer { + static _TextTimerAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlow_construct(id, flags) + return this._TextTimerAttribute_contentModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowInterface_setWaterFlowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePicker_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowInterface_setWaterFlowOptions(ptr, thisArray, thisLength) + return this._TimePicker_construct(id, flags) } throw new Error("Not implemented") } - static _WaterFlowAttribute_columnsTemplate(ptr: KPointer, value: KStringPtr): void { + static _TimePickerInterface_setTimePickerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_columnsTemplate(ptr, value) + return this._TimePickerInterface_setTimePickerOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowAttribute_itemConstraintSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_useMilitaryTime0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_itemConstraintSize(ptr, thisArray, thisLength) + return this._TimePickerAttribute_useMilitaryTime0(ptr, value) } throw new Error("Not implemented") } - static _WaterFlowAttribute_rowsTemplate(ptr: KPointer, value: KStringPtr): void { + static _TimePickerAttribute_useMilitaryTime1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_rowsTemplate(ptr, value) + return this._TimePickerAttribute_useMilitaryTime1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowAttribute_columnsGap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_loop0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_columnsGap(ptr, thisArray, thisLength) + return this._TimePickerAttribute_loop0(ptr, value) } throw new Error("Not implemented") } - static _WaterFlowAttribute_rowsGap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_loop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_rowsGap(ptr, thisArray, thisLength) + return this._TimePickerAttribute_loop1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowAttribute_layoutDirection(ptr: KPointer, value: KInt): void { + static _TimePickerAttribute_disappearTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_layoutDirection(ptr, value) + return this._TimePickerAttribute_disappearTextStyle0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_disappearTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_nestedScroll(ptr, thisArray, thisLength) + return this._TimePickerAttribute_disappearTextStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { + static _TimePickerAttribute_textStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_enableScrollInteraction(ptr, value) + return this._TimePickerAttribute_textStyle0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowAttribute_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_textStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_friction(ptr, thisArray, thisLength) + return this._TimePickerAttribute_textStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowAttribute_cachedCount0(ptr: KPointer, value: number): void { + static _TimePickerAttribute_selectedTextStyle0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_cachedCount0(ptr, value) + return this._TimePickerAttribute_selectedTextStyle0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowAttribute_cachedCount1(ptr: KPointer, count: number, show: KInt): void { + static _TimePickerAttribute_selectedTextStyle1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_cachedCount1(ptr, count, show) + return this._TimePickerAttribute_selectedTextStyle1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowAttribute_onReachStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_dateTimeOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_onReachStart(ptr, thisArray, thisLength) + return this._TimePickerAttribute_dateTimeOptions0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowAttribute_onReachEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_dateTimeOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_onReachEnd(ptr, thisArray, thisLength) + return this._TimePickerAttribute_dateTimeOptions1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_onChange0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_onScrollFrameBegin(ptr, thisArray, thisLength) + return this._TimePickerAttribute_onChange0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WaterFlowAttribute_onScrollIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_onChange1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WaterFlowAttribute_onScrollIndex(ptr, thisArray, thisLength) + return this._TimePickerAttribute_onChange1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIExtensionComponent_construct(id: KInt, flags: KInt): KPointer { + static _TimePickerAttribute_onEnterSelectedArea(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIExtensionComponent_construct(id, flags) + return this._TimePickerAttribute_onEnterSelectedArea(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIExtensionComponentInterface_setUIExtensionComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_enableHapticFeedback0(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UIExtensionComponentInterface_setUIExtensionComponentOptions(ptr, thisArray, thisLength) + return this._TimePickerAttribute_enableHapticFeedback0(ptr, value) } throw new Error("Not implemented") } - static _UIExtensionComponentAttribute_onRemoteReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_enableHapticFeedback1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIExtensionComponentAttribute_onRemoteReady(ptr, thisArray, thisLength) + return this._TimePickerAttribute_enableHapticFeedback1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIExtensionComponentAttribute_onReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_digitalCrownSensitivity(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIExtensionComponentAttribute_onReceive(ptr, thisArray, thisLength) + return this._TimePickerAttribute_digitalCrownSensitivity(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIExtensionComponentAttribute_onResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute_enableCascade(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UIExtensionComponentAttribute_onResult(ptr, thisArray, thisLength) + return this._TimePickerAttribute_enableCascade(ptr, value) } throw new Error("Not implemented") } - static _UIExtensionComponentAttribute_onRelease(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TimePickerAttribute__onChangeEvent_selected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIExtensionComponentAttribute_onRelease(ptr, thisArray, thisLength) + return this._TimePickerAttribute__onChangeEvent_selected(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIExtensionComponentAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Toggle_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._UIExtensionComponentAttribute_onError(ptr, thisArray, thisLength) + return this._Toggle_construct(id, flags) } throw new Error("Not implemented") } - static _UIExtensionComponentAttribute_onTerminated(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ToggleInterface_setToggleOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIExtensionComponentAttribute_onTerminated(ptr, thisArray, thisLength) + return this._ToggleInterface_setToggleOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LinearIndicator_construct(id: KInt, flags: KInt): KPointer { + static _ToggleAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LinearIndicator_construct(id, flags) + return this._ToggleAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LinearIndicatorInterface_setLinearIndicatorOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ToggleAttribute_contentModifier(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LinearIndicatorInterface_setLinearIndicatorOptions(ptr, thisArray, thisLength) + return this._ToggleAttribute_contentModifier(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LinearIndicatorAttribute_indicatorStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ToggleAttribute_selectedColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LinearIndicatorAttribute_indicatorStyle(ptr, thisArray, thisLength) + return this._ToggleAttribute_selectedColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LinearIndicatorAttribute_indicatorLoop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ToggleAttribute_switchPointColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LinearIndicatorAttribute_indicatorLoop(ptr, thisArray, thisLength) + return this._ToggleAttribute_switchPointColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LinearIndicatorAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ToggleAttribute_switchStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LinearIndicatorAttribute_onChange(ptr, thisArray, thisLength) + return this._ToggleAttribute_switchStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _AnimationExtender_SetClipRect(node: KPointer, x: KFloat, y: KFloat, width: KFloat, height: KFloat): void { + static _ToggleAttribute__onChangeEvent_isOn(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._AnimationExtender_SetClipRect(node, x, y, width, height) + return this._ToggleAttribute__onChangeEvent_isOn(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _AnimationExtender_OpenImplicitAnimation(thisArray: KSerializerBuffer, thisLength: int32): void { + static _Video_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._AnimationExtender_OpenImplicitAnimation(thisArray, thisLength) + return this._Video_construct(id, flags) } throw new Error("Not implemented") } - static _AnimationExtender_CloseImplicitAnimation(): void { + static _VideoInterface_setVideoOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._AnimationExtender_CloseImplicitAnimation() + return this._VideoInterface_setVideoOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _AnimationExtender_StartDoubleAnimation(node: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _VideoAttribute_muted(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._AnimationExtender_StartDoubleAnimation(node, thisArray, thisLength) + return this._VideoAttribute_muted(ptr, value) } throw new Error("Not implemented") } - static _AnimationExtender_AnimationTranslate(node: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _VideoAttribute_autoPlay(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._AnimationExtender_AnimationTranslate(node, thisArray, thisLength) + return this._VideoAttribute_autoPlay(ptr, value) } throw new Error("Not implemented") } - static _BaseContext_ctor(): KPointer { + static _VideoAttribute_controls(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._BaseContext_ctor() + return this._VideoAttribute_controls(ptr, value) } throw new Error("Not implemented") } - static _BaseContext_getFinalizer(): KPointer { + static _VideoAttribute_loop(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._BaseContext_getFinalizer() + return this._VideoAttribute_loop(ptr, value) } throw new Error("Not implemented") } - static _BaseContext_getStageMode(ptr: KPointer): boolean { + static _VideoAttribute_objectFit(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._BaseContext_getStageMode(ptr) + return this._VideoAttribute_objectFit(ptr, value) } throw new Error("Not implemented") } - static _BaseContext_setStageMode(ptr: KPointer, stageMode: KInt): void { + static _VideoAttribute_onStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._BaseContext_setStageMode(ptr, stageMode) + return this._VideoAttribute_onStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_ctor(): KPointer { + static _VideoAttribute_onPause(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Context_ctor() + return this._VideoAttribute_onPause(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_getFinalizer(): KPointer { + static _VideoAttribute_onFinish(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Context_getFinalizer() + return this._VideoAttribute_onFinish(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_createBundleContext(ptr: KPointer, bundleName: KStringPtr): KPointer { + static _VideoAttribute_onFullscreenChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Context_createBundleContext(ptr, bundleName) + return this._VideoAttribute_onFullscreenChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_createModuleContext0(ptr: KPointer, moduleName: KStringPtr): KPointer { + static _VideoAttribute_onPrepared(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Context_createModuleContext0(ptr, moduleName) + return this._VideoAttribute_onPrepared(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_createModuleContext1(ptr: KPointer, bundleName: KStringPtr, moduleName: KStringPtr): KPointer { + static _VideoAttribute_onSeeking(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Context_createModuleContext1(ptr, bundleName, moduleName) + return this._VideoAttribute_onSeeking(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_getGroupDir0(ptr: KPointer, dataGroupID: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + static _VideoAttribute_onSeeked(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Context_getGroupDir0(ptr, dataGroupID, thisArray, thisLength) + return this._VideoAttribute_onSeeked(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_getGroupDir1(ptr: KPointer, dataGroupID: KStringPtr): string { + static _VideoAttribute_onUpdate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Context_getGroupDir1(ptr, dataGroupID) + return this._VideoAttribute_onUpdate(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_getCacheDir(ptr: KPointer): string { + static _VideoAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Context_getCacheDir(ptr) + return this._VideoAttribute_onError(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_setCacheDir(ptr: KPointer, cacheDir: KStringPtr): void { + static _VideoAttribute_onStop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Context_setCacheDir(ptr, cacheDir) + return this._VideoAttribute_onStop(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_getTempDir(ptr: KPointer): string { + static _VideoAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Context_getTempDir(ptr) + return this._VideoAttribute_enableAnalyzer(ptr, value) } throw new Error("Not implemented") } - static _Context_setTempDir(ptr: KPointer, tempDir: KStringPtr): void { + static _VideoAttribute_analyzerConfig(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Context_setTempDir(ptr, tempDir) + return this._VideoAttribute_analyzerConfig(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_getFilesDir(ptr: KPointer): string { + static _VideoAttribute_surfaceBackgroundColor(ptr: KPointer, value: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._Context_getFilesDir(ptr) + return this._VideoAttribute_surfaceBackgroundColor(ptr, value) } throw new Error("Not implemented") } - static _Context_setFilesDir(ptr: KPointer, filesDir: KStringPtr): void { + static _VideoAttribute_enableShortcutKey(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Context_setFilesDir(ptr, filesDir) + return this._VideoAttribute_enableShortcutKey(ptr, value) } throw new Error("Not implemented") } - static _Context_getDatabaseDir(ptr: KPointer): string { + static _Web_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._Context_getDatabaseDir(ptr) + return this._Web_construct(id, flags) } throw new Error("Not implemented") } - static _Context_setDatabaseDir(ptr: KPointer, databaseDir: KStringPtr): void { + static _WebInterface_setWebOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Context_setDatabaseDir(ptr, databaseDir) + return this._WebInterface_setWebOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_getPreferencesDir(ptr: KPointer): string { + static _WebAttribute_javaScriptAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Context_getPreferencesDir(ptr) + return this._WebAttribute_javaScriptAccess(ptr, value) } throw new Error("Not implemented") } - static _Context_setPreferencesDir(ptr: KPointer, preferencesDir: KStringPtr): void { + static _WebAttribute_fileAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Context_setPreferencesDir(ptr, preferencesDir) + return this._WebAttribute_fileAccess(ptr, value) } throw new Error("Not implemented") } - static _Context_getBundleCodeDir(ptr: KPointer): string { + static _WebAttribute_onlineImageAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Context_getBundleCodeDir(ptr) + return this._WebAttribute_onlineImageAccess(ptr, value) } throw new Error("Not implemented") } - static _Context_setBundleCodeDir(ptr: KPointer, bundleCodeDir: KStringPtr): void { + static _WebAttribute_domStorageAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Context_setBundleCodeDir(ptr, bundleCodeDir) + return this._WebAttribute_domStorageAccess(ptr, value) } throw new Error("Not implemented") } - static _Context_getDistributedFilesDir(ptr: KPointer): string { + static _WebAttribute_imageAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Context_getDistributedFilesDir(ptr) + return this._WebAttribute_imageAccess(ptr, value) } throw new Error("Not implemented") } - static _Context_setDistributedFilesDir(ptr: KPointer, distributedFilesDir: KStringPtr): void { + static _WebAttribute_mixedMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Context_setDistributedFilesDir(ptr, distributedFilesDir) + return this._WebAttribute_mixedMode(ptr, value) } throw new Error("Not implemented") } - static _Context_getResourceDir(ptr: KPointer): string { + static _WebAttribute_zoomAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Context_getResourceDir(ptr) + return this._WebAttribute_zoomAccess(ptr, value) } throw new Error("Not implemented") } - static _Context_setResourceDir(ptr: KPointer, resourceDir: KStringPtr): void { + static _WebAttribute_geolocationAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Context_setResourceDir(ptr, resourceDir) + return this._WebAttribute_geolocationAccess(ptr, value) } throw new Error("Not implemented") } - static _Context_getCloudFileDir(ptr: KPointer): string { + static _WebAttribute_javaScriptProxy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Context_getCloudFileDir(ptr) + return this._WebAttribute_javaScriptProxy(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Context_setCloudFileDir(ptr: KPointer, cloudFileDir: KStringPtr): void { + static _WebAttribute_password(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._Context_setCloudFileDir(ptr, cloudFileDir) + return this._WebAttribute_password(ptr, value) } throw new Error("Not implemented") } - static _UnifiedData_ctor(): KPointer { + static _WebAttribute_cacheMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UnifiedData_ctor() + return this._WebAttribute_cacheMode(ptr, value) } throw new Error("Not implemented") } - static _UnifiedData_getFinalizer(): KPointer { + static _WebAttribute_darkMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UnifiedData_getFinalizer() + return this._WebAttribute_darkMode(ptr, value) } throw new Error("Not implemented") } - static _UnifiedData_hasType(ptr: KPointer, UnifiedData_type: KStringPtr): boolean { + static _WebAttribute_forceDarkAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UnifiedData_hasType(ptr, UnifiedData_type) + return this._WebAttribute_forceDarkAccess(ptr, value) } throw new Error("Not implemented") } - static _UnifiedData_getTypes(ptr: KPointer): KInteropReturnBuffer { + static _WebAttribute_mediaOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UnifiedData_getTypes(ptr) + return this._WebAttribute_mediaOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LazyForEachOps_NeedMoreElements(node: KPointer, mark: KPointer, direction: KInt): KPointer { + static _WebAttribute_tableData(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._LazyForEachOps_NeedMoreElements(node, mark, direction) + return this._WebAttribute_tableData(ptr, value) } throw new Error("Not implemented") } - static _LazyForEachOps_OnRangeUpdate(node: KPointer, totalCount: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_wideViewModeAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._LazyForEachOps_OnRangeUpdate(node, totalCount, thisArray, thisLength) + return this._WebAttribute_wideViewModeAccess(ptr, value) } throw new Error("Not implemented") } - static _LazyForEachOps_SetCurrentIndex(node: KPointer, index: KInt): void { + static _WebAttribute_overviewModeAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._LazyForEachOps_SetCurrentIndex(node, index) + return this._WebAttribute_overviewModeAccess(ptr, value) } throw new Error("Not implemented") } - static _LazyForEachOps_Prepare(node: KPointer, itemCount: KInt, offset: KInt): void { + static _WebAttribute_overScrollMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._LazyForEachOps_Prepare(node, itemCount, offset) + return this._WebAttribute_overScrollMode(ptr, value) } throw new Error("Not implemented") } - static _LazyForEachOps_NotifyChange(node: KPointer, startIndex: KInt, endIndex: KInt, count: KInt): void { + static _WebAttribute_blurOnKeyboardHideMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._LazyForEachOps_NotifyChange(node, startIndex, endIndex, count) + return this._WebAttribute_blurOnKeyboardHideMode(ptr, value) } throw new Error("Not implemented") } - static _SystemOps_StartFrame(): KPointer { + static _WebAttribute_textZoomAtio(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._SystemOps_StartFrame() + return this._WebAttribute_textZoomAtio(ptr, value) } throw new Error("Not implemented") } - static _SystemOps_EndFrame(root: KPointer): void { + static _WebAttribute_textZoomRatio(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._SystemOps_EndFrame(root) + return this._WebAttribute_textZoomRatio(ptr, value) } throw new Error("Not implemented") } - static _SystemOps_syncInstanceId(instanceId: KInt): void { + static _WebAttribute_databaseAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._SystemOps_syncInstanceId(instanceId) + return this._WebAttribute_databaseAccess(ptr, value) } throw new Error("Not implemented") } - static _SystemOps_restoreInstanceId(): void { + static _WebAttribute_initialScale(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._SystemOps_restoreInstanceId() + return this._WebAttribute_initialScale(ptr, value) } throw new Error("Not implemented") } - static _SystemOps_getResourceId(bundleName: KStringPtr, moduleName: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): int32 { + static _WebAttribute_userAgent(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._SystemOps_getResourceId(bundleName, moduleName, thisArray, thisLength) + return this._WebAttribute_userAgent(ptr, value) } throw new Error("Not implemented") } - static _FocusController_requestFocus(key: KStringPtr): void { + static _WebAttribute_metaViewport(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._FocusController_requestFocus(key) + return this._WebAttribute_metaViewport(ptr, value) } throw new Error("Not implemented") } - static _ComponentContent_ctor(): KPointer { + static _WebAttribute_onPageEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ComponentContent_ctor() + return this._WebAttribute_onPageEnd(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ComponentContent_getFinalizer(): KPointer { + static _WebAttribute_onPageBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ComponentContent_getFinalizer() + return this._WebAttribute_onPageBegin(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ComponentContent_update(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onProgressChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ComponentContent_update(ptr, thisArray, thisLength) + return this._WebAttribute_onProgressChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ComponentContent_reuse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onTitleReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ComponentContent_reuse(ptr, thisArray, thisLength) + return this._WebAttribute_onTitleReceive(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ComponentContent_recycle(ptr: KPointer): void { + static _WebAttribute_onGeolocationHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ComponentContent_recycle(ptr) + return this._WebAttribute_onGeolocationHide(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ComponentContent_dispose(ptr: KPointer): void { + static _WebAttribute_onGeolocationShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ComponentContent_dispose(ptr) + return this._WebAttribute_onGeolocationShow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ComponentContent_updateConfiguration(ptr: KPointer): void { + static _WebAttribute_onRequestSelected(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ComponentContent_updateConfiguration(ptr) + return this._WebAttribute_onRequestSelected(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Scene_ctor(): KPointer { + static _WebAttribute_onAlert(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Scene_ctor() + return this._WebAttribute_onAlert(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Scene_getFinalizer(): KPointer { + static _WebAttribute_onBeforeUnload(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Scene_getFinalizer() + return this._WebAttribute_onBeforeUnload(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Scene_load(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WebAttribute_onConfirm(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Scene_load(thisArray, thisLength) + return this._WebAttribute_onConfirm(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Scene_destroy(ptr: KPointer): void { + static _WebAttribute_onPrompt(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Scene_destroy(ptr) + return this._WebAttribute_onPrompt(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WorkerEventListener_ctor(): KPointer { + static _WebAttribute_onConsole(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WorkerEventListener_ctor() + return this._WebAttribute_onConsole(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WorkerEventListener_getFinalizer(): KPointer { + static _WebAttribute_onErrorReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WorkerEventListener_getFinalizer() + return this._WebAttribute_onErrorReceive(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _WorkerEventListener_invoke(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onHttpErrorReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._WorkerEventListener_invoke(ptr, thisArray, thisLength) + return this._WebAttribute_onHttpErrorReceive(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_ctor(scriptURL: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WebAttribute_onDownloadStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_ctor(scriptURL, thisArray, thisLength) + return this._WebAttribute_onDownloadStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_getFinalizer(): KPointer { + static _WebAttribute_onRefreshAccessedHistory(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_getFinalizer() + return this._WebAttribute_onRefreshAccessedHistory(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_postMessage0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onUrlLoadIntercept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_postMessage0(ptr, thisArray, thisLength) + return this._WebAttribute_onUrlLoadIntercept(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_postMessage1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onSslErrorReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_postMessage1(ptr, thisArray, thisLength) + return this._WebAttribute_onSslErrorReceive(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_postMessageWithSharedSendable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onRenderExited0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_postMessageWithSharedSendable(ptr, thisArray, thisLength) + return this._WebAttribute_onRenderExited0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_on(ptr: KPointer, Type: KStringPtr, listener: KPointer): void { + static _WebAttribute_onRenderExited1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_on(ptr, Type, listener) + return this._WebAttribute_onRenderExited1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_once(ptr: KPointer, Type: KStringPtr, listener: KPointer): void { + static _WebAttribute_onShowFileSelector(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_once(ptr, Type, listener) + return this._WebAttribute_onShowFileSelector(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_off(ptr: KPointer, Type: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onFileSelectorShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_off(ptr, Type, thisArray, thisLength) + return this._WebAttribute_onFileSelectorShow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_terminate(ptr: KPointer): void { + static _WebAttribute_onResourceLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_terminate(ptr) + return this._WebAttribute_onResourceLoad(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_addEventListener(ptr: KPointer, Type: KStringPtr, listener: KPointer): void { + static _WebAttribute_onFullScreenExit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_addEventListener(ptr, Type, listener) + return this._WebAttribute_onFullScreenExit(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_dispatchEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { + static _WebAttribute_onFullScreenEnter(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_dispatchEvent(ptr, thisArray, thisLength) + return this._WebAttribute_onFullScreenEnter(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_removeEventListener(ptr: KPointer, Type: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onScaleChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_removeEventListener(ptr, Type, thisArray, thisLength) + return this._WebAttribute_onScaleChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_removeAllListener(ptr: KPointer): void { + static _WebAttribute_onHttpAuthRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_removeAllListener(ptr) + return this._WebAttribute_onHttpAuthRequest(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_registerGlobalCallObject(ptr: KPointer, instanceName: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onInterceptRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_registerGlobalCallObject(ptr, instanceName, thisArray, thisLength) + return this._WebAttribute_onInterceptRequest(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_unregisterGlobalCallObject(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onPermissionRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_unregisterGlobalCallObject(ptr, thisArray, thisLength) + return this._WebAttribute_onPermissionRequest(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_getOnexit(ptr: KPointer): KInteropReturnBuffer { + static _WebAttribute_onScreenCaptureRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_getOnexit(ptr) + return this._WebAttribute_onScreenCaptureRequest(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_setOnexit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onContextMenuShow(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_setOnexit(ptr, thisArray, thisLength) + return this._WebAttribute_onContextMenuShow(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_getOnerror(ptr: KPointer): KInteropReturnBuffer { + static _WebAttribute_onContextMenuHide(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_getOnerror(ptr) + return this._WebAttribute_onContextMenuHide(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_setOnerror(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_mediaPlayGestureAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_setOnerror(ptr, thisArray, thisLength) + return this._WebAttribute_mediaPlayGestureAccess(ptr, value) } throw new Error("Not implemented") } - static _RestrictedWorker_getOnmessage(ptr: KPointer): KInteropReturnBuffer { + static _WebAttribute_onSearchResultReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_getOnmessage(ptr) + return this._WebAttribute_onSearchResultReceive(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_setOnmessage(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_setOnmessage(ptr, thisArray, thisLength) + return this._WebAttribute_onScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_getOnmessageerror(ptr: KPointer): KInteropReturnBuffer { + static _WebAttribute_onSslErrorEventReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_getOnmessageerror(ptr) + return this._WebAttribute_onSslErrorEventReceive(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RestrictedWorker_setOnmessageerror(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onSslErrorEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RestrictedWorker_setOnmessageerror(ptr, thisArray, thisLength) + return this._WebAttribute_onSslErrorEvent(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIContext_ctor(): KPointer { + static _WebAttribute_onClientAuthenticationRequest(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_ctor() + return this._WebAttribute_onClientAuthenticationRequest(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIContext_getFinalizer(): KPointer { + static _WebAttribute_onWindowNew(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_getFinalizer() + return this._WebAttribute_onWindowNew(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIContext_getFont(ptr: KPointer): KInteropReturnBuffer { + static _WebAttribute_onWindowExit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_getFont(ptr) + return this._WebAttribute_onWindowExit(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIContext_getFilteredInspectorTree(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): string { + static _WebAttribute_multiWindowAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_getFilteredInspectorTree(ptr, thisArray, thisLength) + return this._WebAttribute_multiWindowAccess(ptr, value) } throw new Error("Not implemented") } - static _UIContext_getFilteredInspectorTreeById(ptr: KPointer, id: KStringPtr, depth: number, thisArray: KSerializerBuffer, thisLength: int32): string { + static _WebAttribute_onInterceptKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_getFilteredInspectorTreeById(ptr, id, depth, thisArray, thisLength) + return this._WebAttribute_onInterceptKeyEvent(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIContext_animateTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_webStandardFont(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_animateTo(ptr, thisArray, thisLength) + return this._WebAttribute_webStandardFont(ptr, value) } throw new Error("Not implemented") } - static _UIContext_showTextPickerDialog(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_webSerifFont(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_showTextPickerDialog(ptr, thisArray, thisLength) + return this._WebAttribute_webSerifFont(ptr, value) } throw new Error("Not implemented") } - static _UIContext_runScopedTask(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_webSansSerifFont(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_runScopedTask(ptr, thisArray, thisLength) + return this._WebAttribute_webSansSerifFont(ptr, value) } throw new Error("Not implemented") } - static _UIContext_animateToImmediately(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_webFixedFont(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_animateToImmediately(ptr, thisArray, thisLength) + return this._WebAttribute_webFixedFont(ptr, value) } throw new Error("Not implemented") } - static _UIContext_getFrameNodeById(ptr: KPointer, id: KStringPtr): KInteropReturnBuffer { + static _WebAttribute_webFantasyFont(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_getFrameNodeById(ptr, id) + return this._WebAttribute_webFantasyFont(ptr, value) } throw new Error("Not implemented") } - static _UIContext_getAttachedFrameNodeById(ptr: KPointer, id: KStringPtr): KInteropReturnBuffer { + static _WebAttribute_webCursiveFont(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_getAttachedFrameNodeById(ptr, id) + return this._WebAttribute_webCursiveFont(ptr, value) } throw new Error("Not implemented") } - static _UIContext_getFrameNodeByUniqueId(ptr: KPointer, id: number): KInteropReturnBuffer { + static _WebAttribute_defaultFixedFontSize(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_getFrameNodeByUniqueId(ptr, id) + return this._WebAttribute_defaultFixedFontSize(ptr, value) } throw new Error("Not implemented") } - static _UIContext_vp2px(ptr: KPointer, value: number): number { + static _WebAttribute_defaultFontSize(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_vp2px(ptr, value) + return this._WebAttribute_defaultFontSize(ptr, value) } throw new Error("Not implemented") } - static _UIContext_px2vp(ptr: KPointer, value: number): number { + static _WebAttribute_minFontSize(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_px2vp(ptr, value) + return this._WebAttribute_minFontSize(ptr, value) } throw new Error("Not implemented") } - static _UIContext_fp2px(ptr: KPointer, value: number): number { + static _WebAttribute_minLogicalFontSize(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_fp2px(ptr, value) + return this._WebAttribute_minLogicalFontSize(ptr, value) } throw new Error("Not implemented") } - static _UIContext_px2fp(ptr: KPointer, value: number): number { + static _WebAttribute_defaultTextEncodingFormat(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_px2fp(ptr, value) + return this._WebAttribute_defaultTextEncodingFormat(ptr, value) } throw new Error("Not implemented") } - static _UIContext_lpx2px(ptr: KPointer, value: number): number { + static _WebAttribute_forceDisplayScrollBar(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_lpx2px(ptr, value) + return this._WebAttribute_forceDisplayScrollBar(ptr, value) } throw new Error("Not implemented") } - static _UIContext_px2lpx(ptr: KPointer, value: number): number { + static _WebAttribute_blockNetwork(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_px2lpx(ptr, value) + return this._WebAttribute_blockNetwork(ptr, value) } throw new Error("Not implemented") } - static _UIContext_getHostContext(ptr: KPointer): KInteropReturnBuffer { + static _WebAttribute_horizontalScrollBarAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_getHostContext(ptr) + return this._WebAttribute_horizontalScrollBarAccess(ptr, value) } throw new Error("Not implemented") } - static _UIContext_setDynamicDimming(ptr: KPointer, id: KStringPtr, value: number): void { + static _WebAttribute_verticalScrollBarAccess(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_setDynamicDimming(ptr, id, value) + return this._WebAttribute_verticalScrollBarAccess(ptr, value) } throw new Error("Not implemented") } - static _UIContext_getWindowName(ptr: KPointer): KInteropReturnBuffer { + static _WebAttribute_onTouchIconUrlReceived(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_getWindowName(ptr) + return this._WebAttribute_onTouchIconUrlReceived(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIContext_openBindSheet(ptr: KPointer, bindSheetContent: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onFaviconReceived(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_openBindSheet(ptr, bindSheetContent, thisArray, thisLength) + return this._WebAttribute_onFaviconReceived(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIContext_updateBindSheet(ptr: KPointer, bindSheetContent: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _WebAttribute_onPageVisible(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_updateBindSheet(ptr, bindSheetContent, thisArray, thisLength) + return this._WebAttribute_onPageVisible(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIContext_closeBindSheet(ptr: KPointer, bindSheetContent: KPointer): void { + static _WebAttribute_onDataResubmitted(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_closeBindSheet(ptr, bindSheetContent) + return this._WebAttribute_onDataResubmitted(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UIContext_clearResourceCache(ptr: KPointer): void { + static _WebAttribute_pinchSmooth(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_clearResourceCache(ptr) + return this._WebAttribute_pinchSmooth(ptr, value) } throw new Error("Not implemented") } - static _UIContext_isFollowingSystemFontScale(ptr: KPointer): boolean { + static _WebAttribute_allowWindowOpenMethod(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_isFollowingSystemFontScale(ptr) + return this._WebAttribute_allowWindowOpenMethod(ptr, value) } throw new Error("Not implemented") } - static _UIContext_getMaxFontScale(ptr: KPointer): number { + static _WebAttribute_onAudioStateChanged(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UIContext_getMaxFontScale(ptr) + return this._WebAttribute_onAudioStateChanged(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawableDescriptor_ctor(): KPointer { + static _WebAttribute_onFirstContentfulPaint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawableDescriptor_ctor() + return this._WebAttribute_onFirstContentfulPaint(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawableDescriptor_getFinalizer(): KPointer { + static _WebAttribute_onFirstMeaningfulPaint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawableDescriptor_getFinalizer() + return this._WebAttribute_onFirstMeaningfulPaint(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawableDescriptor_getPixelMap(ptr: KPointer): KPointer { + static _WebAttribute_onLargestContentfulPaint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawableDescriptor_getPixelMap(ptr) + return this._WebAttribute_onLargestContentfulPaint(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LayeredDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WebAttribute_onLoadIntercept(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LayeredDrawableDescriptor_ctor(thisArray, thisLength) + return this._WebAttribute_onLoadIntercept(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LayeredDrawableDescriptor_getFinalizer(): KPointer { + static _WebAttribute_onControllerAttached(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LayeredDrawableDescriptor_getFinalizer() + return this._WebAttribute_onControllerAttached(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LayeredDrawableDescriptor_getForeground(ptr: KPointer): KPointer { + static _WebAttribute_onOverScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LayeredDrawableDescriptor_getForeground(ptr) + return this._WebAttribute_onOverScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LayeredDrawableDescriptor_getBackground(ptr: KPointer): KPointer { + static _WebAttribute_onSafeBrowsingCheckResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LayeredDrawableDescriptor_getBackground(ptr) + return this._WebAttribute_onSafeBrowsingCheckResult(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LayeredDrawableDescriptor_getMask(ptr: KPointer): KPointer { + static _WebAttribute_onNavigationEntryCommitted(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LayeredDrawableDescriptor_getMask(ptr) + return this._WebAttribute_onNavigationEntryCommitted(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LayeredDrawableDescriptor_getMaskClipPath(): string { + static _WebAttribute_onIntelligentTrackingPreventionResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LayeredDrawableDescriptor_getMaskClipPath() + return this._WebAttribute_onIntelligentTrackingPreventionResult(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PixelMapDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WebAttribute_javaScriptOnDocumentStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PixelMapDrawableDescriptor_ctor(thisArray, thisLength) + return this._WebAttribute_javaScriptOnDocumentStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PixelMapDrawableDescriptor_getFinalizer(): KPointer { + static _WebAttribute_javaScriptOnDocumentEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PixelMapDrawableDescriptor_getFinalizer() + return this._WebAttribute_javaScriptOnDocumentEnd(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _AnimatedDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WebAttribute_layoutMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._AnimatedDrawableDescriptor_ctor(thisArray, thisLength) + return this._WebAttribute_layoutMode(ptr, value) } throw new Error("Not implemented") } - static _AnimatedDrawableDescriptor_getFinalizer(): KPointer { + static _WebAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._AnimatedDrawableDescriptor_getFinalizer() + return this._WebAttribute_nestedScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawingColorFilter_ctor(): KPointer { + static _WebAttribute_enableNativeEmbedMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingColorFilter_ctor() + return this._WebAttribute_enableNativeEmbedMode(ptr, value) } throw new Error("Not implemented") } - static _DrawingColorFilter_getFinalizer(): KPointer { + static _WebAttribute_onNativeEmbedLifecycleChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingColorFilter_getFinalizer() + return this._WebAttribute_onNativeEmbedLifecycleChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawingColorFilter_createBlendModeColorFilter0(color: KInt, mode: KInt): KPointer { + static _WebAttribute_onNativeEmbedVisibilityChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingColorFilter_createBlendModeColorFilter0(color, mode) + return this._WebAttribute_onNativeEmbedVisibilityChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawingColorFilter_createBlendModeColorFilter1(color: number, mode: KInt): KPointer { + static _WebAttribute_onNativeEmbedGestureEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingColorFilter_createBlendModeColorFilter1(color, mode) + return this._WebAttribute_onNativeEmbedGestureEvent(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawingColorFilter_createComposeColorFilter(outer: KPointer, inner: KPointer): KPointer { + static _WebAttribute_copyOptions(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingColorFilter_createComposeColorFilter(outer, inner) + return this._WebAttribute_copyOptions(ptr, value) } throw new Error("Not implemented") } - static _DrawingColorFilter_createLinearToSRGBGamma(): KPointer { + static _WebAttribute_onOverrideUrlLoading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingColorFilter_createLinearToSRGBGamma() + return this._WebAttribute_onOverrideUrlLoading(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawingColorFilter_createSRGBGammaToLinear(): KPointer { + static _WebAttribute_textAutosizing(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingColorFilter_createSRGBGammaToLinear() + return this._WebAttribute_textAutosizing(ptr, value) } throw new Error("Not implemented") } - static _DrawingColorFilter_createLumaColorFilter(): KPointer { + static _WebAttribute_enableNativeMediaPlayer(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingColorFilter_createLumaColorFilter() + return this._WebAttribute_enableNativeMediaPlayer(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawingColorFilter_createMatrixColorFilter(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WebAttribute_onRenderProcessNotResponding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingColorFilter_createMatrixColorFilter(thisArray, thisLength) + return this._WebAttribute_onRenderProcessNotResponding(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawingLattice_ctor(): KPointer { + static _WebAttribute_onRenderProcessResponding(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingLattice_ctor() + return this._WebAttribute_onRenderProcessResponding(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawingLattice_getFinalizer(): KPointer { + static _WebAttribute_selectionMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingLattice_getFinalizer() + return this._WebAttribute_selectionMenuOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawingLattice_createImageLattice(thisArray: KSerializerBuffer, thisLength: int32, fXCount: number, fYCount: number): KPointer { + static _WebAttribute_onViewportFitChanged(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingLattice_createImageLattice(thisArray, thisLength, fXCount, fYCount) + return this._WebAttribute_onViewportFitChanged(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawingCanvas_ctor(pixelmap: KPointer): KPointer { + static _WebAttribute_onInterceptKeyboardAttach(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingCanvas_ctor(pixelmap) + return this._WebAttribute_onInterceptKeyboardAttach(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawingCanvas_getFinalizer(): KPointer { + static _WebAttribute_onAdsBlocked(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingCanvas_getFinalizer() + return this._WebAttribute_onAdsBlocked(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DrawingCanvas_drawRect(ptr: KPointer, left: number, top: number, right: number, bottom: number): void { + static _WebAttribute_keyboardAvoidMode(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._DrawingCanvas_drawRect(ptr, left, top, right, bottom) + return this._WebAttribute_keyboardAvoidMode(ptr, value) } throw new Error("Not implemented") } - static _ColorMetrics_ctor(): KPointer { + static _WebAttribute_editMenuOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColorMetrics_ctor() + return this._WebAttribute_editMenuOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColorMetrics_getFinalizer(): KPointer { + static _WebAttribute_enableHapticFeedback(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ColorMetrics_getFinalizer() + return this._WebAttribute_enableHapticFeedback(ptr, value) } throw new Error("Not implemented") } - static _ColorMetrics_numeric(value: number): KPointer { + static _WebAttribute_optimizeParserBudget(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ColorMetrics_numeric(value) + return this._WebAttribute_optimizeParserBudget(ptr, value) } throw new Error("Not implemented") } - static _ColorMetrics_rgba(red: number, green: number, blue: number, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WebAttribute_enableFollowSystemFontWeight(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ColorMetrics_rgba(red, green, blue, thisArray, thisLength) + return this._WebAttribute_enableFollowSystemFontWeight(ptr, value) } throw new Error("Not implemented") } - static _ColorMetrics_resourceColor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WebAttribute_enableWebAVSession(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ColorMetrics_resourceColor(thisArray, thisLength) + return this._WebAttribute_enableWebAVSession(ptr, value) } throw new Error("Not implemented") } - static _ColorMetrics_blendColor(ptr: KPointer, overlayColor: KPointer): KPointer { + static _WebAttribute_runJavaScriptOnDocumentStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColorMetrics_blendColor(ptr, overlayColor) + return this._WebAttribute_runJavaScriptOnDocumentStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColorMetrics_getColor(ptr: KPointer): string { + static _WebAttribute_runJavaScriptOnDocumentEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColorMetrics_getColor(ptr) + return this._WebAttribute_runJavaScriptOnDocumentEnd(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColorMetrics_getRed(ptr: KPointer): number { + static _WebAttribute_runJavaScriptOnHeadEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColorMetrics_getRed(ptr) + return this._WebAttribute_runJavaScriptOnHeadEnd(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColorMetrics_getGreen(ptr: KPointer): number { + static _WebAttribute_nativeEmbedOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ColorMetrics_getGreen(ptr) + return this._WebAttribute_nativeEmbedOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ColorMetrics_getBlue(ptr: KPointer): number { + static _WebAttribute_registerNativeEmbedRule(ptr: KPointer, tag: KStringPtr, type: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._ColorMetrics_getBlue(ptr) + return this._WebAttribute_registerNativeEmbedRule(ptr, tag, type) } throw new Error("Not implemented") } - static _ColorMetrics_getAlpha(ptr: KPointer): number { + static _WebAttribute_bindSelectionMenu(ptr: KPointer, elementType: KInt, thisArray: KSerializerBuffer, thisLength: int32, responseType: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ColorMetrics_getAlpha(ptr) + return this._WebAttribute_bindSelectionMenu(ptr, elementType, thisArray, thisLength, responseType) } throw new Error("Not implemented") } - static _WebviewController_ctor(): KPointer { + static _WindowScene_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._WebviewController_ctor() + return this._WindowScene_construct(id, flags) } throw new Error("Not implemented") } - static _WebviewController_getFinalizer(): KPointer { + static _WindowSceneInterface_setWindowSceneOptions(ptr: KPointer, persistentId: number): void { if ((this._LoadOnce()) == (true)) { - return this._WebviewController_getFinalizer() + return this._WindowSceneInterface_setWindowSceneOptions(ptr, persistentId) } throw new Error("Not implemented") } - static _WebviewController_initializeWebEngine(): void { + static _WindowSceneAttribute_attractionEffect(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, fraction: number): void { if ((this._LoadOnce()) == (true)) { - return this._WebviewController_initializeWebEngine() + return this._WindowSceneAttribute_attractionEffect(ptr, thisArray, thisLength, fraction) } throw new Error("Not implemented") } - static _WebviewController_loadUrl(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _XComponent_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._WebviewController_loadUrl(ptr, thisArray, thisLength) + return this._XComponent_construct(id, flags) } throw new Error("Not implemented") } - static _GlobalScope_ohos_arkui_componentSnapshot_get(id: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + static _XComponentInterface_setXComponentOptions0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GlobalScope_ohos_arkui_componentSnapshot_get(id, thisArray, thisLength) + return this._XComponentInterface_setXComponentOptions0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GlobalScope_ohos_arkui_performanceMonitor_begin(scene: KStringPtr, startInputType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + static _XComponentInterface_setXComponentOptions1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GlobalScope_ohos_arkui_performanceMonitor_begin(scene, startInputType, thisArray, thisLength) + return this._XComponentInterface_setXComponentOptions1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GlobalScope_ohos_arkui_performanceMonitor_end(scene: KStringPtr): void { + static _XComponentInterface_setXComponentOptions2(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GlobalScope_ohos_arkui_performanceMonitor_end(scene) + return this._XComponentInterface_setXComponentOptions2(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(actionType: KInt, sourceType: KInt, time: KLong): void { + static _XComponentInterface_setXComponentOptions3(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(actionType, sourceType, time) + return this._XComponentInterface_setXComponentOptions3(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonShape_ctor(): KPointer { + static _XComponentAttribute_onLoad(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonShape_ctor() + return this._XComponentAttribute_onLoad(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonShape_getFinalizer(): KPointer { + static _XComponentAttribute_onDestroy(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CommonShape_getFinalizer() + return this._XComponentAttribute_onDestroy(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CommonShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _XComponentAttribute_enableAnalyzer(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CommonShape_offset(ptr, thisArray, thisLength) + return this._XComponentAttribute_enableAnalyzer(ptr, value) } throw new Error("Not implemented") } - static _CommonShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _XComponentAttribute_enableSecure(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._CommonShape_fill(ptr, thisArray, thisLength) + return this._XComponentAttribute_enableSecure(ptr, value) } throw new Error("Not implemented") } - static _CommonShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _XComponentAttribute_hdrBrightness(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._CommonShape_position(ptr, thisArray, thisLength) + return this._XComponentAttribute_hdrBrightness(ptr, value) } throw new Error("Not implemented") } - static _BaseShape_ctor(): KPointer { + static _XComponentAttribute_enableTransparentLayer(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._BaseShape_ctor() + return this._XComponentAttribute_enableTransparentLayer(ptr, value) } throw new Error("Not implemented") } - static _BaseShape_getFinalizer(): KPointer { + static _SideBarContainer_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._BaseShape_getFinalizer() + return this._SideBarContainer_construct(id, flags) } throw new Error("Not implemented") } - static _BaseShape_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerInterface_setSideBarContainerOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._BaseShape_width(ptr, thisArray, thisLength) + return this._SideBarContainerInterface_setSideBarContainerOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _BaseShape_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_showSideBar(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._BaseShape_height(ptr, thisArray, thisLength) + return this._SideBarContainerAttribute_showSideBar(ptr, value) } throw new Error("Not implemented") } - static _BaseShape_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_controlButton(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._BaseShape_size(ptr, thisArray, thisLength) + return this._SideBarContainerAttribute_controlButton(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RectShape_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_showControlButton(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RectShape_ctor(thisArray, thisLength) + return this._SideBarContainerAttribute_showControlButton(ptr, value) } throw new Error("Not implemented") } - static _RectShape_getFinalizer(): KPointer { + static _SideBarContainerAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RectShape_getFinalizer() + return this._SideBarContainerAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RectShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_sideBarWidth0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._RectShape_offset(ptr, thisArray, thisLength) + return this._SideBarContainerAttribute_sideBarWidth0(ptr, value) } throw new Error("Not implemented") } - static _RectShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_sideBarWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RectShape_fill(ptr, thisArray, thisLength) + return this._SideBarContainerAttribute_sideBarWidth1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RectShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_minSideBarWidth0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._RectShape_position(ptr, thisArray, thisLength) + return this._SideBarContainerAttribute_minSideBarWidth0(ptr, value) } throw new Error("Not implemented") } - static _RectShape_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_minSideBarWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RectShape_width(ptr, thisArray, thisLength) + return this._SideBarContainerAttribute_minSideBarWidth1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RectShape_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_maxSideBarWidth0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._RectShape_height(ptr, thisArray, thisLength) + return this._SideBarContainerAttribute_maxSideBarWidth0(ptr, value) } throw new Error("Not implemented") } - static _RectShape_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_maxSideBarWidth1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RectShape_size(ptr, thisArray, thisLength) + return this._SideBarContainerAttribute_maxSideBarWidth1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RectShape_radiusWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_autoHide(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RectShape_radiusWidth(ptr, thisArray, thisLength) + return this._SideBarContainerAttribute_autoHide(ptr, value) } throw new Error("Not implemented") } - static _RectShape_radiusHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_sideBarPosition(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RectShape_radiusHeight(ptr, thisArray, thisLength) + return this._SideBarContainerAttribute_sideBarPosition(ptr, value) } throw new Error("Not implemented") } - static _RectShape_radius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_divider(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RectShape_radius(ptr, thisArray, thisLength) + return this._SideBarContainerAttribute_divider(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CircleShape_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _SideBarContainerAttribute_minContentWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CircleShape_ctor(thisArray, thisLength) + return this._SideBarContainerAttribute_minContentWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CircleShape_getFinalizer(): KPointer { + static _SideBarContainerAttribute__onChangeEvent_showSideBar(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CircleShape_getFinalizer() + return this._SideBarContainerAttribute__onChangeEvent_showSideBar(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CircleShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _RemoteWindow_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._CircleShape_offset(ptr, thisArray, thisLength) + return this._RemoteWindow_construct(id, flags) } throw new Error("Not implemented") } - static _CircleShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _RemoteWindowInterface_setRemoteWindowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CircleShape_fill(ptr, thisArray, thisLength) + return this._RemoteWindowInterface_setRemoteWindowOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CircleShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlow_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._CircleShape_position(ptr, thisArray, thisLength) + return this._WaterFlow_construct(id, flags) } throw new Error("Not implemented") } - static _CircleShape_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowInterface_setWaterFlowOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CircleShape_width(ptr, thisArray, thisLength) + return this._WaterFlowInterface_setWaterFlowOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _CircleShape_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_columnsTemplate(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._CircleShape_height(ptr, thisArray, thisLength) + return this._WaterFlowAttribute_columnsTemplate(ptr, value) } throw new Error("Not implemented") } - static _CircleShape_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_itemConstraintSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._CircleShape_size(ptr, thisArray, thisLength) + return this._WaterFlowAttribute_itemConstraintSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _EllipseShape_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_rowsTemplate(ptr: KPointer, value: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._EllipseShape_ctor(thisArray, thisLength) + return this._WaterFlowAttribute_rowsTemplate(ptr, value) } throw new Error("Not implemented") } - static _EllipseShape_getFinalizer(): KPointer { + static _WaterFlowAttribute_columnsGap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._EllipseShape_getFinalizer() + return this._WaterFlowAttribute_columnsGap(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _EllipseShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_rowsGap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._EllipseShape_offset(ptr, thisArray, thisLength) + return this._WaterFlowAttribute_rowsGap(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _EllipseShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_layoutDirection(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._EllipseShape_fill(ptr, thisArray, thisLength) + return this._WaterFlowAttribute_layoutDirection(ptr, value) } throw new Error("Not implemented") } - static _EllipseShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_nestedScroll(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._EllipseShape_position(ptr, thisArray, thisLength) + return this._WaterFlowAttribute_nestedScroll(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _EllipseShape_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_enableScrollInteraction(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._EllipseShape_width(ptr, thisArray, thisLength) + return this._WaterFlowAttribute_enableScrollInteraction(ptr, value) } throw new Error("Not implemented") } - static _EllipseShape_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_friction(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._EllipseShape_height(ptr, thisArray, thisLength) + return this._WaterFlowAttribute_friction(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _EllipseShape_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_cachedCount0(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._EllipseShape_size(ptr, thisArray, thisLength) + return this._WaterFlowAttribute_cachedCount0(ptr, value) } throw new Error("Not implemented") } - static _PathShape_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_cachedCount1(ptr: KPointer, count: number, show: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._PathShape_ctor(thisArray, thisLength) + return this._WaterFlowAttribute_cachedCount1(ptr, count, show) } throw new Error("Not implemented") } - static _PathShape_getFinalizer(): KPointer { + static _WaterFlowAttribute_onReachStart(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PathShape_getFinalizer() + return this._WaterFlowAttribute_onReachStart(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PathShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_onReachEnd(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PathShape_offset(ptr, thisArray, thisLength) + return this._WaterFlowAttribute_onReachEnd(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PathShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_onScrollFrameBegin(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PathShape_fill(ptr, thisArray, thisLength) + return this._WaterFlowAttribute_onScrollFrameBegin(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PathShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _WaterFlowAttribute_onScrollIndex(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._PathShape_position(ptr, thisArray, thisLength) + return this._WaterFlowAttribute_onScrollIndex(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _PathShape_commands(ptr: KPointer, commands: KStringPtr): KPointer { + static _UIExtensionComponent_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._PathShape_commands(ptr, commands) + return this._UIExtensionComponent_construct(id, flags) } throw new Error("Not implemented") } - static _GlobalScope_ohos_font_registerFont(thisArray: KSerializerBuffer, thisLength: int32): void { + static _UIExtensionComponentInterface_setUIExtensionComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GlobalScope_ohos_font_registerFont(thisArray, thisLength) + return this._UIExtensionComponentInterface_setUIExtensionComponentOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GlobalScope_ohos_font_getSystemFontList(): KInteropReturnBuffer { + static _UIExtensionComponentAttribute_onRemoteReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GlobalScope_ohos_font_getSystemFontList() + return this._UIExtensionComponentAttribute_onRemoteReady(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GlobalScope_ohos_font_getFontByName(fontName: KStringPtr): KInteropReturnBuffer { + static _UIExtensionComponentAttribute_onReceive(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GlobalScope_ohos_font_getFontByName(fontName) + return this._UIExtensionComponentAttribute_onReceive(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GlobalScope_ohos_measure_utils_measureText(thisArray: KSerializerBuffer, thisLength: int32): number { + static _UIExtensionComponentAttribute_onResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GlobalScope_ohos_measure_utils_measureText(thisArray, thisLength) + return this._UIExtensionComponentAttribute_onResult(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GlobalScope_ohos_measure_utils_measureTextSize(thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + static _UIExtensionComponentAttribute_onRelease(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GlobalScope_ohos_measure_utils_measureTextSize(thisArray, thisLength) + return this._UIExtensionComponentAttribute_onRelease(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolEffect_ctor(): KPointer { + static _UIExtensionComponentAttribute_onError(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolEffect_ctor() + return this._UIExtensionComponentAttribute_onError(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolEffect_getFinalizer(): KPointer { + static _UIExtensionComponentAttribute_onTerminated(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolEffect_getFinalizer() + return this._UIExtensionComponentAttribute_onTerminated(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _SymbolEffect_dummyForAccessorGenerate(ptr: KPointer): void { + static _UIExtensionComponentAttribute_onDrawReady(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SymbolEffect_dummyForAccessorGenerate(ptr) + return this._UIExtensionComponentAttribute_onDrawReady(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScaleSymbolEffect_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _LinearIndicator_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ScaleSymbolEffect_ctor(thisArray, thisLength) + return this._LinearIndicator_construct(id, flags) } throw new Error("Not implemented") } - static _ScaleSymbolEffect_getFinalizer(): KPointer { + static _LinearIndicatorInterface_setLinearIndicatorOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScaleSymbolEffect_getFinalizer() + return this._LinearIndicatorInterface_setLinearIndicatorOptions(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScaleSymbolEffect_getScope(ptr: KPointer): KInteropReturnBuffer { + static _LinearIndicatorAttribute_indicatorStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScaleSymbolEffect_getScope(ptr) + return this._LinearIndicatorAttribute_indicatorStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScaleSymbolEffect_setScope(ptr: KPointer, scope: KInt): void { + static _LinearIndicatorAttribute_indicatorLoop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScaleSymbolEffect_setScope(ptr, scope) + return this._LinearIndicatorAttribute_indicatorLoop(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScaleSymbolEffect_getDirection(ptr: KPointer): KInteropReturnBuffer { + static _LinearIndicatorAttribute_onChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ScaleSymbolEffect_getDirection(ptr) + return this._LinearIndicatorAttribute_onChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ScaleSymbolEffect_setDirection(ptr: KPointer, direction: KInt): void { + static _AnimationExtender_SetClipRect(node: KPointer, x: KFloat, y: KFloat, width: KFloat, height: KFloat): void { if ((this._LoadOnce()) == (true)) { - return this._ScaleSymbolEffect_setDirection(ptr, direction) + return this._AnimationExtender_SetClipRect(node, x, y, width, height) } throw new Error("Not implemented") } - static _ReplaceSymbolEffect_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _AnimationExtender_OpenImplicitAnimation(thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ReplaceSymbolEffect_ctor(thisArray, thisLength) + return this._AnimationExtender_OpenImplicitAnimation(thisArray, thisLength) } throw new Error("Not implemented") } - static _ReplaceSymbolEffect_getFinalizer(): KPointer { + static _AnimationExtender_CloseImplicitAnimation(): void { if ((this._LoadOnce()) == (true)) { - return this._ReplaceSymbolEffect_getFinalizer() + return this._AnimationExtender_CloseImplicitAnimation() } throw new Error("Not implemented") } - static _ReplaceSymbolEffect_getScope(ptr: KPointer): KInteropReturnBuffer { + static _AnimationExtender_StartDoubleAnimation(node: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ReplaceSymbolEffect_getScope(ptr) + return this._AnimationExtender_StartDoubleAnimation(node, thisArray, thisLength) } throw new Error("Not implemented") } - static _ReplaceSymbolEffect_setScope(ptr: KPointer, scope: KInt): void { + static _AnimationExtender_AnimationTranslate(node: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ReplaceSymbolEffect_setScope(ptr, scope) + return this._AnimationExtender_AnimationTranslate(node, thisArray, thisLength) } throw new Error("Not implemented") } - static _FrameNode_ctor(uiContext: KPointer): KPointer { + static _BaseContext_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_ctor(uiContext) + return this._BaseContext_ctor() } throw new Error("Not implemented") } - static _FrameNode_getFinalizer(): KPointer { + static _BaseContext_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_getFinalizer() + return this._BaseContext_getFinalizer() + } + throw new Error("Not implemented") + } + static _BaseContext_getStageMode(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._BaseContext_getStageMode(ptr) + } + throw new Error("Not implemented") + } + static _BaseContext_setStageMode(ptr: KPointer, stageMode: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._BaseContext_setStageMode(ptr, stageMode) + } + throw new Error("Not implemented") + } + static _Context_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Context_ctor() + } + throw new Error("Not implemented") + } + static _Context_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Context_getFinalizer() + } + throw new Error("Not implemented") + } + static _Context_createBundleContext(ptr: KPointer, bundleName: KStringPtr): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Context_createBundleContext(ptr, bundleName) + } + throw new Error("Not implemented") + } + static _Context_createModuleContext0(ptr: KPointer, moduleName: KStringPtr): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Context_createModuleContext0(ptr, moduleName) + } + throw new Error("Not implemented") + } + static _Context_createModuleContext1(ptr: KPointer, bundleName: KStringPtr, moduleName: KStringPtr): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Context_createModuleContext1(ptr, bundleName, moduleName) + } + throw new Error("Not implemented") + } + static _Context_getGroupDir0(ptr: KPointer, dataGroupID: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._Context_getGroupDir0(ptr, dataGroupID, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Context_getGroupDir1(ptr: KPointer, dataGroupID: KStringPtr): string { + if ((this._LoadOnce()) == (true)) + { + return this._Context_getGroupDir1(ptr, dataGroupID) + } + throw new Error("Not implemented") + } + static _Context_getCacheDir(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._Context_getCacheDir(ptr) + } + throw new Error("Not implemented") + } + static _Context_setCacheDir(ptr: KPointer, cacheDir: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._Context_setCacheDir(ptr, cacheDir) + } + throw new Error("Not implemented") + } + static _Context_getTempDir(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._Context_getTempDir(ptr) + } + throw new Error("Not implemented") + } + static _Context_setTempDir(ptr: KPointer, tempDir: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._Context_setTempDir(ptr, tempDir) + } + throw new Error("Not implemented") + } + static _Context_getFilesDir(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._Context_getFilesDir(ptr) + } + throw new Error("Not implemented") + } + static _Context_setFilesDir(ptr: KPointer, filesDir: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._Context_setFilesDir(ptr, filesDir) + } + throw new Error("Not implemented") + } + static _Context_getDatabaseDir(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._Context_getDatabaseDir(ptr) + } + throw new Error("Not implemented") + } + static _Context_setDatabaseDir(ptr: KPointer, databaseDir: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._Context_setDatabaseDir(ptr, databaseDir) + } + throw new Error("Not implemented") + } + static _Context_getPreferencesDir(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._Context_getPreferencesDir(ptr) + } + throw new Error("Not implemented") + } + static _Context_setPreferencesDir(ptr: KPointer, preferencesDir: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._Context_setPreferencesDir(ptr, preferencesDir) + } + throw new Error("Not implemented") + } + static _Context_getBundleCodeDir(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._Context_getBundleCodeDir(ptr) + } + throw new Error("Not implemented") + } + static _Context_setBundleCodeDir(ptr: KPointer, bundleCodeDir: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._Context_setBundleCodeDir(ptr, bundleCodeDir) + } + throw new Error("Not implemented") + } + static _Context_getDistributedFilesDir(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._Context_getDistributedFilesDir(ptr) + } + throw new Error("Not implemented") + } + static _Context_setDistributedFilesDir(ptr: KPointer, distributedFilesDir: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._Context_setDistributedFilesDir(ptr, distributedFilesDir) + } + throw new Error("Not implemented") + } + static _Context_getResourceDir(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._Context_getResourceDir(ptr) + } + throw new Error("Not implemented") + } + static _Context_setResourceDir(ptr: KPointer, resourceDir: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._Context_setResourceDir(ptr, resourceDir) + } + throw new Error("Not implemented") + } + static _Context_getCloudFileDir(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._Context_getCloudFileDir(ptr) + } + throw new Error("Not implemented") + } + static _Context_setCloudFileDir(ptr: KPointer, cloudFileDir: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._Context_setCloudFileDir(ptr, cloudFileDir) + } + throw new Error("Not implemented") + } + static _UnifiedData_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UnifiedData_ctor() + } + throw new Error("Not implemented") + } + static _UnifiedData_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UnifiedData_getFinalizer() + } + throw new Error("Not implemented") + } + static _UnifiedData_hasType(ptr: KPointer, UnifiedData_type: KStringPtr): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._UnifiedData_hasType(ptr, UnifiedData_type) + } + throw new Error("Not implemented") + } + static _UnifiedData_getTypes(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._UnifiedData_getTypes(ptr) + } + throw new Error("Not implemented") + } + static _LazyForEachOps_NeedMoreElements(node: KPointer, mark: KPointer, direction: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LazyForEachOps_NeedMoreElements(node, mark, direction) + } + throw new Error("Not implemented") + } + static _LazyForEachOps_OnRangeUpdate(node: KPointer, totalCount: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._LazyForEachOps_OnRangeUpdate(node, totalCount, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LazyForEachOps_SetCurrentIndex(node: KPointer, index: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._LazyForEachOps_SetCurrentIndex(node, index) + } + throw new Error("Not implemented") + } + static _LazyForEachOps_Prepare(node: KPointer, itemCount: KInt, offset: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._LazyForEachOps_Prepare(node, itemCount, offset) + } + throw new Error("Not implemented") + } + static _LazyForEachOps_NotifyChange(node: KPointer, startIndex: KInt, endIndex: KInt, count: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._LazyForEachOps_NotifyChange(node, startIndex, endIndex, count) + } + throw new Error("Not implemented") + } + static _SystemOps_StartFrame(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SystemOps_StartFrame() + } + throw new Error("Not implemented") + } + static _SystemOps_EndFrame(root: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._SystemOps_EndFrame(root) + } + throw new Error("Not implemented") + } + static _SystemOps_syncInstanceId(instanceId: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._SystemOps_syncInstanceId(instanceId) + } + throw new Error("Not implemented") + } + static _SystemOps_restoreInstanceId(): void { + if ((this._LoadOnce()) == (true)) + { + return this._SystemOps_restoreInstanceId() + } + throw new Error("Not implemented") + } + static _SystemOps_getResourceId(bundleName: KStringPtr, moduleName: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): int32 { + if ((this._LoadOnce()) == (true)) + { + return this._SystemOps_getResourceId(bundleName, moduleName, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _FocusController_requestFocus(key: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._FocusController_requestFocus(key) + } + throw new Error("Not implemented") + } + static _ComponentContent_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ComponentContent_ctor() + } + throw new Error("Not implemented") + } + static _ComponentContent_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ComponentContent_getFinalizer() + } + throw new Error("Not implemented") + } + static _ComponentContent_update(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ComponentContent_update(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ComponentContent_reuse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ComponentContent_reuse(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ComponentContent_recycle(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ComponentContent_recycle(ptr) + } + throw new Error("Not implemented") + } + static _ComponentContent_dispose(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ComponentContent_dispose(ptr) + } + throw new Error("Not implemented") + } + static _ComponentContent_updateConfiguration(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._ComponentContent_updateConfiguration(ptr) + } + throw new Error("Not implemented") + } + static _Scene_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Scene_ctor() + } + throw new Error("Not implemented") + } + static _Scene_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Scene_getFinalizer() + } + throw new Error("Not implemented") + } + static _Scene_load(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Scene_load(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Scene_destroy(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._Scene_destroy(ptr) + } + throw new Error("Not implemented") + } + static _WorkerEventListener_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WorkerEventListener_ctor() + } + throw new Error("Not implemented") + } + static _WorkerEventListener_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WorkerEventListener_getFinalizer() + } + throw new Error("Not implemented") + } + static _WorkerEventListener_invoke(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WorkerEventListener_invoke(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_ctor(scriptURL: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_ctor(scriptURL, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_getFinalizer() + } + throw new Error("Not implemented") + } + static _RestrictedWorker_postMessage0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_postMessage0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_postMessage1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_postMessage1(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_postMessageWithSharedSendable(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_postMessageWithSharedSendable(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_on(ptr: KPointer, Type: KStringPtr, listener: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_on(ptr, Type, listener) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_once(ptr: KPointer, Type: KStringPtr, listener: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_once(ptr, Type, listener) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_off(ptr: KPointer, Type: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_off(ptr, Type, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_terminate(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_terminate(ptr) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_addEventListener(ptr: KPointer, Type: KStringPtr, listener: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_addEventListener(ptr, Type, listener) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_dispatchEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_dispatchEvent(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_removeEventListener(ptr: KPointer, Type: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_removeEventListener(ptr, Type, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_removeAllListener(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_removeAllListener(ptr) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_registerGlobalCallObject(ptr: KPointer, instanceName: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_registerGlobalCallObject(ptr, instanceName, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_unregisterGlobalCallObject(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_unregisterGlobalCallObject(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_getOnexit(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_getOnexit(ptr) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_setOnexit(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_setOnexit(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_getOnerror(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_getOnerror(ptr) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_setOnerror(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_setOnerror(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_getOnmessage(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_getOnmessage(ptr) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_setOnmessage(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_setOnmessage(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_getOnmessageerror(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_getOnmessageerror(ptr) + } + throw new Error("Not implemented") + } + static _RestrictedWorker_setOnmessageerror(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RestrictedWorker_setOnmessageerror(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIContext_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_ctor() + } + throw new Error("Not implemented") + } + static _UIContext_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_getFinalizer() + } + throw new Error("Not implemented") + } + static _UIContext_getFont(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_getFont(ptr) + } + throw new Error("Not implemented") + } + static _UIContext_getFilteredInspectorTree(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): string { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_getFilteredInspectorTree(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIContext_getFilteredInspectorTreeById(ptr: KPointer, id: KStringPtr, depth: number, thisArray: KSerializerBuffer, thisLength: int32): string { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_getFilteredInspectorTreeById(ptr, id, depth, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIContext_animateTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_animateTo(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIContext_showTextPickerDialog(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_showTextPickerDialog(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIContext_runScopedTask(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_runScopedTask(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIContext_animateToImmediately(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_animateToImmediately(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIContext_getFrameNodeById(ptr: KPointer, id: KStringPtr): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_getFrameNodeById(ptr, id) + } + throw new Error("Not implemented") + } + static _UIContext_getAttachedFrameNodeById(ptr: KPointer, id: KStringPtr): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_getAttachedFrameNodeById(ptr, id) + } + throw new Error("Not implemented") + } + static _UIContext_getFrameNodeByUniqueId(ptr: KPointer, id: number): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_getFrameNodeByUniqueId(ptr, id) + } + throw new Error("Not implemented") + } + static _UIContext_vp2px(ptr: KPointer, value: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_vp2px(ptr, value) + } + throw new Error("Not implemented") + } + static _UIContext_px2vp(ptr: KPointer, value: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_px2vp(ptr, value) + } + throw new Error("Not implemented") + } + static _UIContext_fp2px(ptr: KPointer, value: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_fp2px(ptr, value) + } + throw new Error("Not implemented") + } + static _UIContext_px2fp(ptr: KPointer, value: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_px2fp(ptr, value) + } + throw new Error("Not implemented") + } + static _UIContext_lpx2px(ptr: KPointer, value: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_lpx2px(ptr, value) + } + throw new Error("Not implemented") + } + static _UIContext_px2lpx(ptr: KPointer, value: number): number { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_px2lpx(ptr, value) + } + throw new Error("Not implemented") + } + static _UIContext_getHostContext(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_getHostContext(ptr) + } + throw new Error("Not implemented") + } + static _UIContext_setDynamicDimming(ptr: KPointer, id: KStringPtr, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_setDynamicDimming(ptr, id, value) + } + throw new Error("Not implemented") + } + static _UIContext_getWindowName(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_getWindowName(ptr) + } + throw new Error("Not implemented") + } + static _UIContext_openBindSheet(ptr: KPointer, bindSheetContent: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_openBindSheet(ptr, bindSheetContent, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIContext_updateBindSheet(ptr: KPointer, bindSheetContent: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_updateBindSheet(ptr, bindSheetContent, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _UIContext_closeBindSheet(ptr: KPointer, bindSheetContent: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_closeBindSheet(ptr, bindSheetContent) + } + throw new Error("Not implemented") + } + static _UIContext_clearResourceCache(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_clearResourceCache(ptr) + } + throw new Error("Not implemented") + } + static _UIContext_isFollowingSystemFontScale(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_isFollowingSystemFontScale(ptr) + } + throw new Error("Not implemented") + } + static _UIContext_getMaxFontScale(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._UIContext_getMaxFontScale(ptr) + } + throw new Error("Not implemented") + } + static _DrawableDescriptor_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawableDescriptor_ctor() + } + throw new Error("Not implemented") + } + static _DrawableDescriptor_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawableDescriptor_getFinalizer() + } + throw new Error("Not implemented") + } + static _DrawableDescriptor_getPixelMap(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawableDescriptor_getPixelMap(ptr) + } + throw new Error("Not implemented") + } + static _LayeredDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LayeredDrawableDescriptor_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LayeredDrawableDescriptor_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LayeredDrawableDescriptor_getFinalizer() + } + throw new Error("Not implemented") + } + static _LayeredDrawableDescriptor_getForeground(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LayeredDrawableDescriptor_getForeground(ptr) + } + throw new Error("Not implemented") + } + static _LayeredDrawableDescriptor_getBackground(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LayeredDrawableDescriptor_getBackground(ptr) + } + throw new Error("Not implemented") + } + static _LayeredDrawableDescriptor_getMask(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LayeredDrawableDescriptor_getMask(ptr) + } + throw new Error("Not implemented") + } + static _LayeredDrawableDescriptor_getMaskClipPath(): string { + if ((this._LoadOnce()) == (true)) + { + return this._LayeredDrawableDescriptor_getMaskClipPath() + } + throw new Error("Not implemented") + } + static _PixelMapDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMapDrawableDescriptor_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PixelMapDrawableDescriptor_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMapDrawableDescriptor_getFinalizer() + } + throw new Error("Not implemented") + } + static _AnimatedDrawableDescriptor_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatedDrawableDescriptor_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _AnimatedDrawableDescriptor_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._AnimatedDrawableDescriptor_getFinalizer() + } + throw new Error("Not implemented") + } + static _DrawingColorFilter_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingColorFilter_ctor() + } + throw new Error("Not implemented") + } + static _DrawingColorFilter_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingColorFilter_getFinalizer() + } + throw new Error("Not implemented") + } + static _DrawingColorFilter_createBlendModeColorFilter0(color: KInt, mode: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingColorFilter_createBlendModeColorFilter0(color, mode) + } + throw new Error("Not implemented") + } + static _DrawingColorFilter_createBlendModeColorFilter1(color: number, mode: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingColorFilter_createBlendModeColorFilter1(color, mode) + } + throw new Error("Not implemented") + } + static _DrawingColorFilter_createComposeColorFilter(outer: KPointer, inner: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingColorFilter_createComposeColorFilter(outer, inner) + } + throw new Error("Not implemented") + } + static _DrawingColorFilter_createLinearToSRGBGamma(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingColorFilter_createLinearToSRGBGamma() + } + throw new Error("Not implemented") + } + static _DrawingColorFilter_createSRGBGammaToLinear(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingColorFilter_createSRGBGammaToLinear() + } + throw new Error("Not implemented") + } + static _DrawingColorFilter_createLumaColorFilter(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingColorFilter_createLumaColorFilter() + } + throw new Error("Not implemented") + } + static _DrawingColorFilter_createMatrixColorFilter(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingColorFilter_createMatrixColorFilter(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _DrawingLattice_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingLattice_ctor() + } + throw new Error("Not implemented") + } + static _DrawingLattice_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingLattice_getFinalizer() + } + throw new Error("Not implemented") + } + static _DrawingLattice_createImageLattice(thisArray: KSerializerBuffer, thisLength: int32, fXCount: number, fYCount: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingLattice_createImageLattice(thisArray, thisLength, fXCount, fYCount) + } + throw new Error("Not implemented") + } + static _DrawingCanvas_ctor(pixelmap: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingCanvas_ctor(pixelmap) + } + throw new Error("Not implemented") + } + static _DrawingCanvas_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingCanvas_getFinalizer() + } + throw new Error("Not implemented") + } + static _DrawingCanvas_drawRect(ptr: KPointer, left: number, top: number, right: number, bottom: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._DrawingCanvas_drawRect(ptr, left, top, right, bottom) + } + throw new Error("Not implemented") + } + static _ColorMetrics_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_ctor() + } + throw new Error("Not implemented") + } + static _ColorMetrics_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_getFinalizer() + } + throw new Error("Not implemented") + } + static _ColorMetrics_numeric(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_numeric(value) + } + throw new Error("Not implemented") + } + static _ColorMetrics_rgba(red: number, green: number, blue: number, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_rgba(red, green, blue, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ColorMetrics_resourceColor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_resourceColor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ColorMetrics_blendColor(ptr: KPointer, overlayColor: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_blendColor(ptr, overlayColor) + } + throw new Error("Not implemented") + } + static _ColorMetrics_getColor(ptr: KPointer): string { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_getColor(ptr) + } + throw new Error("Not implemented") + } + static _ColorMetrics_getRed(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_getRed(ptr) + } + throw new Error("Not implemented") + } + static _ColorMetrics_getGreen(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_getGreen(ptr) + } + throw new Error("Not implemented") + } + static _ColorMetrics_getBlue(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_getBlue(ptr) + } + throw new Error("Not implemented") + } + static _ColorMetrics_getAlpha(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ColorMetrics_getAlpha(ptr) + } + throw new Error("Not implemented") + } + static _WebviewController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebviewController_ctor() + } + throw new Error("Not implemented") + } + static _WebviewController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebviewController_getFinalizer() + } + throw new Error("Not implemented") + } + static _WebviewController_initializeWebEngine(): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebviewController_initializeWebEngine() + } + throw new Error("Not implemented") + } + static _WebviewController_loadUrl(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebviewController_loadUrl(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_componentSnapshot_get(id: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_componentSnapshot_get(id, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_performanceMonitor_begin(scene: KStringPtr, startInputType: KInt, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_performanceMonitor_begin(scene, startInputType, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_performanceMonitor_end(scene: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_performanceMonitor_end(scene) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(actionType: KInt, sourceType: KInt, time: KLong): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(actionType, sourceType, time) + } + throw new Error("Not implemented") + } + static _CommonShape_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShape_ctor() + } + throw new Error("Not implemented") + } + static _CommonShape_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShape_getFinalizer() + } + throw new Error("Not implemented") + } + static _CommonShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShape_offset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShape_fill(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CommonShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CommonShape_position(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BaseShape_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseShape_ctor() + } + throw new Error("Not implemented") + } + static _BaseShape_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseShape_getFinalizer() + } + throw new Error("Not implemented") + } + static _BaseShape_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseShape_width(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BaseShape_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseShape_height(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _BaseShape_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._BaseShape_size(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_getFinalizer() + } + throw new Error("Not implemented") + } + static _RectShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_offset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_fill(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_position(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_width(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_height(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_size(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_radiusWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_radiusWidth(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_radiusHeight(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_radiusHeight(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RectShape_radius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RectShape_radius(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CircleShape_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CircleShape_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_getFinalizer() + } + throw new Error("Not implemented") + } + static _CircleShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_offset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CircleShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_fill(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CircleShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_position(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CircleShape_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_width(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CircleShape_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_height(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CircleShape_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CircleShape_size(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EllipseShape_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EllipseShape_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_getFinalizer() + } + throw new Error("Not implemented") + } + static _EllipseShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_offset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EllipseShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_fill(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EllipseShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_position(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EllipseShape_width(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_width(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EllipseShape_height(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_height(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _EllipseShape_size(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._EllipseShape_size(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PathShape_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PathShape_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PathShape_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PathShape_getFinalizer() + } + throw new Error("Not implemented") + } + static _PathShape_offset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PathShape_offset(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PathShape_fill(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PathShape_fill(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PathShape_position(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PathShape_position(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PathShape_commands(ptr: KPointer, commands: KStringPtr): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PathShape_commands(ptr, commands) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_font_registerFont(thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_font_registerFont(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_font_getSystemFontList(): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_font_getSystemFontList() + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_font_getFontByName(fontName: KStringPtr): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_font_getFontByName(fontName) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_measure_utils_measureText(thisArray: KSerializerBuffer, thisLength: int32): number { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_measure_utils_measureText(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_measure_utils_measureTextSize(thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_measure_utils_measureTextSize(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SymbolEffect_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolEffect_ctor() + } + throw new Error("Not implemented") + } + static _SymbolEffect_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolEffect_getFinalizer() + } + throw new Error("Not implemented") + } + static _SymbolEffect_dummyForAccessorGenerate(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._SymbolEffect_dummyForAccessorGenerate(ptr) + } + throw new Error("Not implemented") + } + static _ScaleSymbolEffect_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScaleSymbolEffect_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ScaleSymbolEffect_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ScaleSymbolEffect_getFinalizer() + } + throw new Error("Not implemented") + } + static _ScaleSymbolEffect_getScope(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._ScaleSymbolEffect_getScope(ptr) + } + throw new Error("Not implemented") + } + static _ScaleSymbolEffect_setScope(ptr: KPointer, scope: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScaleSymbolEffect_setScope(ptr, scope) + } + throw new Error("Not implemented") + } + static _ScaleSymbolEffect_getDirection(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._ScaleSymbolEffect_getDirection(ptr) + } + throw new Error("Not implemented") + } + static _ScaleSymbolEffect_setDirection(ptr: KPointer, direction: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ScaleSymbolEffect_setDirection(ptr, direction) + } + throw new Error("Not implemented") + } + static _ReplaceSymbolEffect_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ReplaceSymbolEffect_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ReplaceSymbolEffect_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ReplaceSymbolEffect_getFinalizer() + } + throw new Error("Not implemented") + } + static _ReplaceSymbolEffect_getScope(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._ReplaceSymbolEffect_getScope(ptr) + } + throw new Error("Not implemented") + } + static _ReplaceSymbolEffect_setScope(ptr: KPointer, scope: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._ReplaceSymbolEffect_setScope(ptr, scope) + } + throw new Error("Not implemented") + } + static _FrameNode_ctor(uiContext: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_ctor(uiContext) + } + throw new Error("Not implemented") + } + static _FrameNode_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getFinalizer() + } + throw new Error("Not implemented") + } + static _FrameNode_isModifiable(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_isModifiable(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_appendChild(ptr: KPointer, node: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_appendChild(ptr, node) + } + throw new Error("Not implemented") + } + static _FrameNode_insertChildAfter(ptr: KPointer, child: KPointer, sibling: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_insertChildAfter(ptr, child, sibling) + } + throw new Error("Not implemented") + } + static _FrameNode_removeChild(ptr: KPointer, node: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_removeChild(ptr, node) + } + throw new Error("Not implemented") + } + static _FrameNode_clearChildren(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_clearChildren(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getChild(ptr: KPointer, index: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getChild(ptr, index) + } + throw new Error("Not implemented") + } + static _FrameNode_getFirstChild(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getFirstChild(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getNextSibling(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getNextSibling(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getPreviousSibling(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getPreviousSibling(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getParent(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getParent(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getChildrenCount(ptr: KPointer): int32 { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getChildrenCount(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_dispose(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_dispose(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getOpacity(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getOpacity(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getPositionToWindowWithTransform(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getPositionToWindowWithTransform(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getFrameNodeByKey(name: KStringPtr): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getFrameNodeByKey(name) + } + throw new Error("Not implemented") + } + static _LengthMetrics_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_ctor() + } + throw new Error("Not implemented") + } + static _LengthMetrics_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_getFinalizer() + } + throw new Error("Not implemented") + } + static _LengthMetrics_px(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_px(value) + } + throw new Error("Not implemented") + } + static _LengthMetrics_vp(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_vp(value) + } + throw new Error("Not implemented") + } + static _LengthMetrics_fp(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_fp(value) + } + throw new Error("Not implemented") + } + static _LengthMetrics_percent(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_percent(value) + } + throw new Error("Not implemented") + } + static _LengthMetrics_lpx(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_lpx(value) + } + throw new Error("Not implemented") + } + static _LengthMetrics_resource(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_resource(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LengthMetrics_getUnit(ptr: KPointer): int32 { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_getUnit(ptr) + } + throw new Error("Not implemented") + } + static _LengthMetrics_setUnit(ptr: KPointer, unit: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_setUnit(ptr, unit) + } + throw new Error("Not implemented") + } + static _LengthMetrics_getValue(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_getValue(ptr) + } + throw new Error("Not implemented") + } + static _LengthMetrics_setValue(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_setValue(ptr, value) + } + throw new Error("Not implemented") + } + static _ShapeMask_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeMask_ctor() + } + throw new Error("Not implemented") + } + static _ShapeMask_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeMask_getFinalizer() + } + throw new Error("Not implemented") + } + static _ShapeMask_setRectShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeMask_setRectShape(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeMask_setRoundRectShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeMask_setRoundRectShape(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeMask_setCircleShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeMask_setCircleShape(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeMask_setOvalShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeMask_setOvalShape(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeMask_setCommandPath(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeMask_setCommandPath(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _ShapeMask_getFillColor(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeMask_getFillColor(ptr) + } + throw new Error("Not implemented") + } + static _ShapeMask_setFillColor(ptr: KPointer, fillColor: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeMask_setFillColor(ptr, fillColor) + } + throw new Error("Not implemented") + } + static _ShapeMask_getStrokeColor(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._ShapeMask_getStrokeColor(ptr) } throw new Error("Not implemented") } - static _FrameNode_isModifiable(ptr: KPointer): boolean { + static _ShapeMask_setStrokeColor(ptr: KPointer, strokeColor: number): void { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_isModifiable(ptr) + return this._ShapeMask_setStrokeColor(ptr, strokeColor) } throw new Error("Not implemented") } - static _FrameNode_appendChild(ptr: KPointer, node: KPointer): void { + static _ShapeMask_getStrokeWidth(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_appendChild(ptr, node) + return this._ShapeMask_getStrokeWidth(ptr) } throw new Error("Not implemented") } - static _FrameNode_insertChildAfter(ptr: KPointer, child: KPointer, sibling: KPointer): void { + static _ShapeMask_setStrokeWidth(ptr: KPointer, strokeWidth: number): void { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_insertChildAfter(ptr, child, sibling) + return this._ShapeMask_setStrokeWidth(ptr, strokeWidth) } throw new Error("Not implemented") } - static _FrameNode_removeChild(ptr: KPointer, node: KPointer): void { + static _ShapeClip_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_removeChild(ptr, node) + return this._ShapeClip_ctor() } throw new Error("Not implemented") } - static _FrameNode_clearChildren(ptr: KPointer): void { + static _ShapeClip_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_clearChildren(ptr) + return this._ShapeClip_getFinalizer() } throw new Error("Not implemented") } - static _FrameNode_getChild(ptr: KPointer, index: number): KPointer { + static _ShapeClip_setRectShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_getChild(ptr, index) + return this._ShapeClip_setRectShape(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FrameNode_getFirstChild(ptr: KPointer): KPointer { + static _ShapeClip_setRoundRectShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_getFirstChild(ptr) + return this._ShapeClip_setRoundRectShape(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FrameNode_getNextSibling(ptr: KPointer): KPointer { + static _ShapeClip_setCircleShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_getNextSibling(ptr) + return this._ShapeClip_setCircleShape(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FrameNode_getPreviousSibling(ptr: KPointer): KPointer { + static _ShapeClip_setOvalShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_getPreviousSibling(ptr) + return this._ShapeClip_setOvalShape(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FrameNode_getParent(ptr: KPointer): KPointer { + static _ShapeClip_setCommandPath(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_getParent(ptr) + return this._ShapeClip_setCommandPath(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _FrameNode_getChildrenCount(ptr: KPointer): int32 { + static _Matrix4Transit_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_getChildrenCount(ptr) + return this._Matrix4Transit_ctor() } throw new Error("Not implemented") } - static _FrameNode_dispose(ptr: KPointer): void { + static _Matrix4Transit_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_dispose(ptr) + return this._Matrix4Transit_getFinalizer() } throw new Error("Not implemented") } - static _FrameNode_getOpacity(ptr: KPointer): number { + static _Matrix4Transit_copy(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_getOpacity(ptr) + return this._Matrix4Transit_copy(ptr) } throw new Error("Not implemented") } - static _FrameNode_getPositionToWindowWithTransform(ptr: KPointer): KInteropReturnBuffer { + static _Matrix4Transit_invert(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_getPositionToWindowWithTransform(ptr) + return this._Matrix4Transit_invert(ptr) + } + throw new Error("Not implemented") + } + static _Matrix4Transit_combine(ptr: KPointer, options: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix4Transit_combine(ptr, options) + } + throw new Error("Not implemented") + } + static _Matrix4Transit_translate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix4Transit_translate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Matrix4Transit_scale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix4Transit_scale(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Matrix4Transit_skew(ptr: KPointer, x: number, y: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix4Transit_skew(ptr, x, y) + } + throw new Error("Not implemented") + } + static _Matrix4Transit_rotate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix4Transit_rotate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Matrix4Transit_transformPoint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix4Transit_transformPoint(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Matrix4Transit_setPolyToPoly(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Matrix4Transit_setPolyToPoly(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PixelMap_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMap_ctor() + } + throw new Error("Not implemented") + } + static _PixelMap_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMap_getFinalizer() + } + throw new Error("Not implemented") + } + static _PixelMap_readPixelsToBufferSync(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMap_readPixelsToBufferSync(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PixelMap_writeBufferToPixels(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMap_writeBufferToPixels(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PixelMap_getIsEditable(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMap_getIsEditable(ptr) + } + throw new Error("Not implemented") + } + static _PixelMap_getIsStrideAlignment(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._PixelMap_getIsStrideAlignment(ptr) + } + throw new Error("Not implemented") + } + static _RenderNode_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_ctor() + } + throw new Error("Not implemented") + } + static _RenderNode_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_getFinalizer() + } + throw new Error("Not implemented") + } + static _RenderNode_appendChild(ptr: KPointer, node: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_appendChild(ptr, node) + } + throw new Error("Not implemented") + } + static _RenderNode_insertChildAfter(ptr: KPointer, child: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_insertChildAfter(ptr, child, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RenderNode_removeChild(ptr: KPointer, node: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_removeChild(ptr, node) + } + throw new Error("Not implemented") + } + static _RenderNode_clearChildren(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_clearChildren(ptr) + } + throw new Error("Not implemented") + } + static _RenderNode_getChild(ptr: KPointer, index: number): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_getChild(ptr, index) + } + throw new Error("Not implemented") + } + static _RenderNode_getFirstChild(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_getFirstChild(ptr) + } + throw new Error("Not implemented") + } + static _RenderNode_getNextSibling(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_getNextSibling(ptr) + } + throw new Error("Not implemented") + } + static _RenderNode_getPreviousSibling(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_getPreviousSibling(ptr) + } + throw new Error("Not implemented") + } + static _RenderNode_draw(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_draw(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RenderNode_invalidate(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_invalidate(ptr) + } + throw new Error("Not implemented") + } + static _RenderNode_dispose(ptr: KPointer): void { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_dispose(ptr) + } + throw new Error("Not implemented") + } + static _RenderNode_getBackgroundColor(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_getBackgroundColor(ptr) + } + throw new Error("Not implemented") + } + static _RenderNode_setBackgroundColor(ptr: KPointer, backgroundColor: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._RenderNode_setBackgroundColor(ptr, backgroundColor) } throw new Error("Not implemented") } - static _FrameNode_getFrameNodeByKey(name: KStringPtr): KPointer { + static _RenderNode_getClipToFrame(ptr: KPointer): boolean { if ((this._LoadOnce()) == (true)) { - return this._FrameNode_getFrameNodeByKey(name) + return this._RenderNode_getClipToFrame(ptr) } throw new Error("Not implemented") } - static _LengthMetrics_ctor(): KPointer { + static _RenderNode_setClipToFrame(ptr: KPointer, clipToFrame: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._LengthMetrics_ctor() + return this._RenderNode_setClipToFrame(ptr, clipToFrame) } throw new Error("Not implemented") } - static _LengthMetrics_getFinalizer(): KPointer { + static _RenderNode_getOpacity(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._LengthMetrics_getFinalizer() + return this._RenderNode_getOpacity(ptr) } throw new Error("Not implemented") } - static _LengthMetrics_px(value: number): KPointer { + static _RenderNode_setOpacity(ptr: KPointer, opacity: number): void { if ((this._LoadOnce()) == (true)) { - return this._LengthMetrics_px(value) + return this._RenderNode_setOpacity(ptr, opacity) } throw new Error("Not implemented") } - static _LengthMetrics_vp(value: number): KPointer { + static _RenderNode_getSize(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._LengthMetrics_vp(value) + return this._RenderNode_getSize(ptr) } throw new Error("Not implemented") } - static _LengthMetrics_fp(value: number): KPointer { + static _RenderNode_setSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LengthMetrics_fp(value) + return this._RenderNode_setSize(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LengthMetrics_percent(value: number): KPointer { + static _RenderNode_getPosition(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._LengthMetrics_percent(value) + return this._RenderNode_getPosition(ptr) } throw new Error("Not implemented") } - static _LengthMetrics_lpx(value: number): KPointer { + static _RenderNode_setPosition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LengthMetrics_lpx(value) + return this._RenderNode_setPosition(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LengthMetrics_resource(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _RenderNode_getFrame(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._LengthMetrics_resource(thisArray, thisLength) + return this._RenderNode_getFrame(ptr) } throw new Error("Not implemented") } - static _LengthMetrics_getUnit(ptr: KPointer): int32 { + static _RenderNode_setFrame(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LengthMetrics_getUnit(ptr) + return this._RenderNode_setFrame(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LengthMetrics_setUnit(ptr: KPointer, unit: KInt): void { + static _RenderNode_getPivot(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._LengthMetrics_setUnit(ptr, unit) + return this._RenderNode_getPivot(ptr) } throw new Error("Not implemented") } - static _LengthMetrics_getValue(ptr: KPointer): number { + static _RenderNode_setPivot(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._LengthMetrics_getValue(ptr) + return this._RenderNode_setPivot(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _LengthMetrics_setValue(ptr: KPointer, value: number): void { + static _RenderNode_getScale(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._LengthMetrics_setValue(ptr, value) + return this._RenderNode_getScale(ptr) } throw new Error("Not implemented") } - static _ShapeMask_ctor(): KPointer { + static _RenderNode_setScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_ctor() + return this._RenderNode_setScale(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeMask_getFinalizer(): KPointer { + static _RenderNode_getTranslation(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_getFinalizer() + return this._RenderNode_getTranslation(ptr) } throw new Error("Not implemented") } - static _ShapeMask_setRectShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RenderNode_setTranslation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_setRectShape(ptr, thisArray, thisLength) + return this._RenderNode_setTranslation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeMask_setRoundRectShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RenderNode_getRotation(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_setRoundRectShape(ptr, thisArray, thisLength) + return this._RenderNode_getRotation(ptr) } throw new Error("Not implemented") } - static _ShapeMask_setCircleShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RenderNode_setRotation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_setCircleShape(ptr, thisArray, thisLength) + return this._RenderNode_setRotation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeMask_setOvalShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RenderNode_getTransform(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_setOvalShape(ptr, thisArray, thisLength) + return this._RenderNode_getTransform(ptr) } throw new Error("Not implemented") } - static _ShapeMask_setCommandPath(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RenderNode_setTransform(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_setCommandPath(ptr, thisArray, thisLength) + return this._RenderNode_setTransform(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeMask_getFillColor(ptr: KPointer): number { + static _RenderNode_getShadowColor(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_getFillColor(ptr) + return this._RenderNode_getShadowColor(ptr) } throw new Error("Not implemented") } - static _ShapeMask_setFillColor(ptr: KPointer, fillColor: number): void { + static _RenderNode_setShadowColor(ptr: KPointer, shadowColor: number): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_setFillColor(ptr, fillColor) + return this._RenderNode_setShadowColor(ptr, shadowColor) } throw new Error("Not implemented") } - static _ShapeMask_getStrokeColor(ptr: KPointer): number { + static _RenderNode_getShadowOffset(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_getStrokeColor(ptr) + return this._RenderNode_getShadowOffset(ptr) } throw new Error("Not implemented") } - static _ShapeMask_setStrokeColor(ptr: KPointer, strokeColor: number): void { + static _RenderNode_setShadowOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_setStrokeColor(ptr, strokeColor) + return this._RenderNode_setShadowOffset(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ShapeMask_getStrokeWidth(ptr: KPointer): number { + static _RenderNode_getLabel(ptr: KPointer): string { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_getStrokeWidth(ptr) + return this._RenderNode_getLabel(ptr) } throw new Error("Not implemented") } - static _ShapeMask_setStrokeWidth(ptr: KPointer, strokeWidth: number): void { + static _RenderNode_setLabel(ptr: KPointer, label: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeMask_setStrokeWidth(ptr, strokeWidth) + return this._RenderNode_setLabel(ptr, label) } throw new Error("Not implemented") } - static _ShapeClip_ctor(): KPointer { + static _RenderNode_getShadowAlpha(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._ShapeClip_ctor() + return this._RenderNode_getShadowAlpha(ptr) } throw new Error("Not implemented") } - static _ShapeClip_getFinalizer(): KPointer { + static _RenderNode_setShadowAlpha(ptr: KPointer, shadowAlpha: number): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeClip_getFinalizer() + return this._RenderNode_setShadowAlpha(ptr, shadowAlpha) } throw new Error("Not implemented") } - static _ShapeClip_setRectShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RenderNode_getShadowElevation(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._ShapeClip_setRectShape(ptr, thisArray, thisLength) + return this._RenderNode_getShadowElevation(ptr) } throw new Error("Not implemented") } - static _ShapeClip_setRoundRectShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RenderNode_setShadowElevation(ptr: KPointer, shadowElevation: number): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeClip_setRoundRectShape(ptr, thisArray, thisLength) + return this._RenderNode_setShadowElevation(ptr, shadowElevation) } throw new Error("Not implemented") } - static _ShapeClip_setCircleShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RenderNode_getShadowRadius(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._ShapeClip_setCircleShape(ptr, thisArray, thisLength) + return this._RenderNode_getShadowRadius(ptr) } throw new Error("Not implemented") } - static _ShapeClip_setOvalShape(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RenderNode_setShadowRadius(ptr: KPointer, shadowRadius: number): void { if ((this._LoadOnce()) == (true)) { - return this._ShapeClip_setOvalShape(ptr, thisArray, thisLength) + return this._RenderNode_setShadowRadius(ptr, shadowRadius) } throw new Error("Not implemented") } - static _ShapeClip_setCommandPath(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RenderNode_getBorderStyle(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._ShapeClip_setCommandPath(ptr, thisArray, thisLength) + return this._RenderNode_getBorderStyle(ptr) } throw new Error("Not implemented") } - static _Matrix4Transit_ctor(): KPointer { + static _RenderNode_setBorderStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Matrix4Transit_ctor() + return this._RenderNode_setBorderStyle(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Matrix4Transit_getFinalizer(): KPointer { + static _RenderNode_getBorderWidth(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._Matrix4Transit_getFinalizer() + return this._RenderNode_getBorderWidth(ptr) } throw new Error("Not implemented") } - static _Matrix4Transit_copy(ptr: KPointer): KPointer { + static _RenderNode_setBorderWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Matrix4Transit_copy(ptr) + return this._RenderNode_setBorderWidth(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Matrix4Transit_invert(ptr: KPointer): KPointer { + static _RenderNode_getBorderColor(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._Matrix4Transit_invert(ptr) + return this._RenderNode_getBorderColor(ptr) } throw new Error("Not implemented") } - static _Matrix4Transit_combine(ptr: KPointer, options: KPointer): KPointer { + static _RenderNode_setBorderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Matrix4Transit_combine(ptr, options) + return this._RenderNode_setBorderColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Matrix4Transit_translate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _RenderNode_getBorderRadius(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._Matrix4Transit_translate(ptr, thisArray, thisLength) + return this._RenderNode_getBorderRadius(ptr) } throw new Error("Not implemented") } - static _Matrix4Transit_scale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _RenderNode_setBorderRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Matrix4Transit_scale(ptr, thisArray, thisLength) + return this._RenderNode_setBorderRadius(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Matrix4Transit_skew(ptr: KPointer, x: number, y: number): KPointer { + static _RenderNode_getShapeMask(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._Matrix4Transit_skew(ptr, x, y) + return this._RenderNode_getShapeMask(ptr) } throw new Error("Not implemented") } - static _Matrix4Transit_rotate(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _RenderNode_setShapeMask(ptr: KPointer, shapeMask: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._Matrix4Transit_rotate(ptr, thisArray, thisLength) + return this._RenderNode_setShapeMask(ptr, shapeMask) } throw new Error("Not implemented") } - static _Matrix4Transit_transformPoint(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + static _RenderNode_getShapeClip(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._Matrix4Transit_transformPoint(ptr, thisArray, thisLength) + return this._RenderNode_getShapeClip(ptr) } throw new Error("Not implemented") } - static _Matrix4Transit_setPolyToPoly(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _RenderNode_setShapeClip(ptr: KPointer, shapeClip: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._Matrix4Transit_setPolyToPoly(ptr, thisArray, thisLength) + return this._RenderNode_setShapeClip(ptr, shapeClip) } throw new Error("Not implemented") } - static _PixelMap_ctor(): KPointer { + static _RenderNode_getMarkNodeGroup(ptr: KPointer): boolean { if ((this._LoadOnce()) == (true)) { - return this._PixelMap_ctor() + return this._RenderNode_getMarkNodeGroup(ptr) } throw new Error("Not implemented") } - static _PixelMap_getFinalizer(): KPointer { + static _RenderNode_setMarkNodeGroup(ptr: KPointer, markNodeGroup: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._PixelMap_getFinalizer() + return this._RenderNode_setMarkNodeGroup(ptr, markNodeGroup) } throw new Error("Not implemented") } - static _PixelMap_readPixelsToBufferSync(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RenderNode_getLengthMetricsUnit(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._PixelMap_readPixelsToBufferSync(ptr, thisArray, thisLength) + return this._RenderNode_getLengthMetricsUnit(ptr) } throw new Error("Not implemented") } - static _PixelMap_writeBufferToPixels(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _RenderNode_setLengthMetricsUnit(ptr: KPointer, lengthMetricsUnit: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._PixelMap_writeBufferToPixels(ptr, thisArray, thisLength) + return this._RenderNode_setLengthMetricsUnit(ptr, lengthMetricsUnit) } throw new Error("Not implemented") } - static _PixelMap_getIsEditable(ptr: KPointer): boolean { + static _Filter_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._PixelMap_getIsEditable(ptr) + return this._Filter_ctor() } throw new Error("Not implemented") } - static _PixelMap_getIsStrideAlignment(ptr: KPointer): boolean { + static _Filter_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._PixelMap_getIsStrideAlignment(ptr) + return this._Filter_getFinalizer() } throw new Error("Not implemented") } - static _RenderNode_ctor(): KPointer { + static _Filter_pixelStretch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, tileMode: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_ctor() + return this._Filter_pixelStretch(ptr, thisArray, thisLength, tileMode) } throw new Error("Not implemented") } - static _RenderNode_getFinalizer(): KPointer { + static _Filter_blur(ptr: KPointer, blurRadius: number): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getFinalizer() + return this._Filter_blur(ptr, blurRadius) } throw new Error("Not implemented") } - static _RenderNode_appendChild(ptr: KPointer, node: KPointer): void { + static _Filter_waterRipple(ptr: KPointer, progress: number, waveCount: number, x: number, y: number, rippleMode: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_appendChild(ptr, node) + return this._Filter_waterRipple(ptr, progress, waveCount, x, y, rippleMode) } throw new Error("Not implemented") } - static _RenderNode_insertChildAfter(ptr: KPointer, child: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Filter_flyInFlyOutEffect(ptr: KPointer, degree: number, flyMode: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_insertChildAfter(ptr, child, thisArray, thisLength) + return this._Filter_flyInFlyOutEffect(ptr, degree, flyMode) } throw new Error("Not implemented") } - static _RenderNode_removeChild(ptr: KPointer, node: KPointer): void { + static _Filter_distort(ptr: KPointer, distortionK: number): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_removeChild(ptr, node) + return this._Filter_distort(ptr, distortionK) } throw new Error("Not implemented") } - static _RenderNode_clearChildren(ptr: KPointer): void { + static _VisualEffect_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_clearChildren(ptr) + return this._VisualEffect_ctor() } throw new Error("Not implemented") } - static _RenderNode_getChild(ptr: KPointer, index: number): KInteropReturnBuffer { + static _VisualEffect_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getChild(ptr, index) + return this._VisualEffect_getFinalizer() } throw new Error("Not implemented") } - static _RenderNode_getFirstChild(ptr: KPointer): KInteropReturnBuffer { + static _VisualEffect_backgroundColorBlender(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getFirstChild(ptr) + return this._VisualEffect_backgroundColorBlender(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_getNextSibling(ptr: KPointer): KInteropReturnBuffer { + static _NavExtender_setUpdateStackCallback(peer: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getNextSibling(ptr) + return this._NavExtender_setUpdateStackCallback(peer, thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_getPreviousSibling(ptr: KPointer): KInteropReturnBuffer { + static _NavExtender_syncStack(peer: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getPreviousSibling(ptr) + return this._NavExtender_syncStack(peer) } throw new Error("Not implemented") } - static _RenderNode_draw(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavExtender_checkNeedCreate(navigation: KPointer, index: KInt): boolean { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_draw(ptr, thisArray, thisLength) + return this._NavExtender_checkNeedCreate(navigation, index) } throw new Error("Not implemented") } - static _RenderNode_invalidate(ptr: KPointer): void { + static _NavExtender_navigationCreate(peer: KInt, flag: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_invalidate(ptr) + return this._NavExtender_navigationCreate(peer, flag) } throw new Error("Not implemented") } - static _RenderNode_dispose(ptr: KPointer): void { + static _NavExtender_setNavigationOptions(navigation: KPointer, stack: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_dispose(ptr) + return this._NavExtender_setNavigationOptions(navigation, stack) } throw new Error("Not implemented") } - static _RenderNode_getBackgroundColor(ptr: KPointer): number { + static _NavExtender_setNavDestinationNode(peer: KPointer, index: KInt, node: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getBackgroundColor(ptr) + return this._NavExtender_setNavDestinationNode(peer, index, node) } throw new Error("Not implemented") } - static _RenderNode_setBackgroundColor(ptr: KPointer, backgroundColor: number): void { + static _NavExtender_setNavigationMode(navigation: KPointer, mode: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setBackgroundColor(ptr, backgroundColor) + return this._NavExtender_setNavigationMode(navigation, mode) } throw new Error("Not implemented") } - static _RenderNode_getClipToFrame(ptr: KPointer): boolean { + static _NavExtender_hideTitleBar(navigation: KPointer, isHide: KInt, isAnimated: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getClipToFrame(ptr) + return this._NavExtender_hideTitleBar(navigation, isHide, isAnimated) } throw new Error("Not implemented") } - static _RenderNode_setClipToFrame(ptr: KPointer, clipToFrame: KInt): void { + static _NavExtender_hideToolBar(navigation: KPointer, isHide: KInt, isAnimated: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setClipToFrame(ptr, clipToFrame) + return this._NavExtender_hideToolBar(navigation, isHide, isAnimated) } throw new Error("Not implemented") } - static _RenderNode_getOpacity(ptr: KPointer): number { + static _NavExtender_hideNavBar(navigation: KPointer, hide: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getOpacity(ptr) + return this._NavExtender_hideNavBar(navigation, hide) } throw new Error("Not implemented") } - static _RenderNode_setOpacity(ptr: KPointer, opacity: number): void { + static _NavExtender_hideBackButton(navigation: KPointer, hide: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setOpacity(ptr, opacity) + return this._NavExtender_hideBackButton(navigation, hide) } throw new Error("Not implemented") } - static _RenderNode_getSize(ptr: KPointer): KInteropReturnBuffer { + static _NavExtender_setNavBarStateChange(navigation: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getSize(ptr) + return this._NavExtender_setNavBarStateChange(navigation, thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_setSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavExtender_setTitleModeChange(navigation: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setSize(ptr, thisArray, thisLength) + return this._NavExtender_setTitleModeChange(navigation, thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_getPosition(ptr: KPointer): KInteropReturnBuffer { + static _NavExtender_setTitleMode(navigation: KPointer, titleMode: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getPosition(ptr) + return this._NavExtender_setTitleMode(navigation, titleMode) } throw new Error("Not implemented") } - static _RenderNode_setPosition(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavExtender_title(navigation: KPointer, title: KStringPtr, hasSubTitle: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setPosition(ptr, thisArray, thisLength) + return this._NavExtender_title(navigation, title, hasSubTitle) } throw new Error("Not implemented") } - static _RenderNode_getFrame(ptr: KPointer): KInteropReturnBuffer { + static _NavExtender_subTitle(navigation: KPointer, subTitle: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getFrame(ptr) + return this._NavExtender_subTitle(navigation, subTitle) } throw new Error("Not implemented") } - static _RenderNode_setFrame(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _EventEmulator_emitClickEvent(node: KPointer, event: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setFrame(ptr, thisArray, thisLength) + return this._EventEmulator_emitClickEvent(node, event) } throw new Error("Not implemented") } - static _RenderNode_getPivot(ptr: KPointer): KInteropReturnBuffer { + static _EventEmulator_emitTextInputEvent(node: KPointer, text: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getPivot(ptr) + return this._EventEmulator_emitTextInputEvent(node, text) } throw new Error("Not implemented") } - static _RenderNode_setPivot(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ActionSheet_show(thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setPivot(ptr, thisArray, thisLength) + return this._ActionSheet_show(thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_getScale(ptr: KPointer): KInteropReturnBuffer { + static _AlertDialog_show(thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getScale(ptr) + return this._AlertDialog_show(thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_setScale(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SpringProp_ctor(mass: number, stiffness: number, damping: number): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setScale(ptr, thisArray, thisLength) + return this._SpringProp_ctor(mass, stiffness, damping) } throw new Error("Not implemented") } - static _RenderNode_getTranslation(ptr: KPointer): KInteropReturnBuffer { + static _SpringProp_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getTranslation(ptr) + return this._SpringProp_getFinalizer() } throw new Error("Not implemented") } - static _RenderNode_setTranslation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SpringMotion_ctor(start: number, end: number, velocity: number, prop: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setTranslation(ptr, thisArray, thisLength) + return this._SpringMotion_ctor(start, end, velocity, prop) } throw new Error("Not implemented") } - static _RenderNode_getRotation(ptr: KPointer): KInteropReturnBuffer { + static _SpringMotion_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getRotation(ptr) + return this._SpringMotion_getFinalizer() } throw new Error("Not implemented") } - static _RenderNode_setRotation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _FrictionMotion_ctor(friction: number, position: number, velocity: number): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setRotation(ptr, thisArray, thisLength) + return this._FrictionMotion_ctor(friction, position, velocity) } throw new Error("Not implemented") } - static _RenderNode_getTransform(ptr: KPointer): KInteropReturnBuffer { + static _FrictionMotion_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getTransform(ptr) + return this._FrictionMotion_getFinalizer() } throw new Error("Not implemented") } - static _RenderNode_setTransform(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ScrollMotion_ctor(position: number, velocity: number, min: number, max: number, prop: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setTransform(ptr, thisArray, thisLength) + return this._ScrollMotion_ctor(position, velocity, min, max, prop) } throw new Error("Not implemented") } - static _RenderNode_getShadowColor(ptr: KPointer): number { + static _ScrollMotion_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getShadowColor(ptr) + return this._ScrollMotion_getFinalizer() } throw new Error("Not implemented") } - static _RenderNode_setShadowColor(ptr: KPointer, shadowColor: number): void { + static _CalendarController_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setShadowColor(ptr, shadowColor) + return this._CalendarController_ctor() } throw new Error("Not implemented") } - static _RenderNode_getShadowOffset(ptr: KPointer): KInteropReturnBuffer { + static _CalendarController_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getShadowOffset(ptr) + return this._CalendarController_getFinalizer() } throw new Error("Not implemented") } - static _RenderNode_setShadowOffset(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _CalendarController_backToToday(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setShadowOffset(ptr, thisArray, thisLength) + return this._CalendarController_backToToday(ptr) } throw new Error("Not implemented") } - static _RenderNode_getLabel(ptr: KPointer): string { + static _CalendarController_goTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getLabel(ptr) + return this._CalendarController_goTo(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_setLabel(ptr: KPointer, label: KStringPtr): void { + static _CalendarPickerDialog_show(thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setLabel(ptr, label) + return this._CalendarPickerDialog_show(thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_getShadowAlpha(ptr: KPointer): number { + static _ICurve_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getShadowAlpha(ptr) + return this._ICurve_ctor() } throw new Error("Not implemented") } - static _RenderNode_setShadowAlpha(ptr: KPointer, shadowAlpha: number): void { + static _ICurve_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setShadowAlpha(ptr, shadowAlpha) + return this._ICurve_getFinalizer() } throw new Error("Not implemented") } - static _RenderNode_getShadowElevation(ptr: KPointer): number { + static _ICurve_interpolate(ptr: KPointer, fraction: number): number { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getShadowElevation(ptr) + return this._ICurve_interpolate(ptr, fraction) } throw new Error("Not implemented") } - static _RenderNode_setShadowElevation(ptr: KPointer, shadowElevation: number): void { + static _DrawModifier_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setShadowElevation(ptr, shadowElevation) + return this._DrawModifier_ctor() } throw new Error("Not implemented") } - static _RenderNode_getShadowRadius(ptr: KPointer): number { + static _DrawModifier_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getShadowRadius(ptr) + return this._DrawModifier_getFinalizer() } throw new Error("Not implemented") } - static _RenderNode_setShadowRadius(ptr: KPointer, shadowRadius: number): void { + static _DrawModifier_drawBehind(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setShadowRadius(ptr, shadowRadius) + return this._DrawModifier_drawBehind(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_getBorderStyle(ptr: KPointer): KInteropReturnBuffer { + static _DrawModifier_drawContent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getBorderStyle(ptr) + return this._DrawModifier_drawContent(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_setBorderStyle(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DrawModifier_drawFront(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setBorderStyle(ptr, thisArray, thisLength) + return this._DrawModifier_drawFront(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_getBorderWidth(ptr: KPointer): KInteropReturnBuffer { + static _DrawModifier_invalidate(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getBorderWidth(ptr) + return this._DrawModifier_invalidate(ptr) } throw new Error("Not implemented") } - static _RenderNode_setBorderWidth(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TransitionEffect_ctor(type: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setBorderWidth(ptr, thisArray, thisLength) + return this._TransitionEffect_ctor(type, thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_getBorderColor(ptr: KPointer): KInteropReturnBuffer { + static _TransitionEffect_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getBorderColor(ptr) + return this._TransitionEffect_getFinalizer() } throw new Error("Not implemented") } - static _RenderNode_setBorderColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TransitionEffect_translate(thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setBorderColor(ptr, thisArray, thisLength) + return this._TransitionEffect_translate(thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_getBorderRadius(ptr: KPointer): KInteropReturnBuffer { + static _TransitionEffect_rotate(thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getBorderRadius(ptr) + return this._TransitionEffect_rotate(thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_setBorderRadius(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TransitionEffect_scale(thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setBorderRadius(ptr, thisArray, thisLength) + return this._TransitionEffect_scale(thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_getShapeMask(ptr: KPointer): KPointer { + static _TransitionEffect_opacity(alpha: number): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getShapeMask(ptr) + return this._TransitionEffect_opacity(alpha) } throw new Error("Not implemented") } - static _RenderNode_setShapeMask(ptr: KPointer, shapeMask: KPointer): void { + static _TransitionEffect_move(edge: KInt): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setShapeMask(ptr, shapeMask) + return this._TransitionEffect_move(edge) } throw new Error("Not implemented") } - static _RenderNode_getShapeClip(ptr: KPointer): KPointer { + static _TransitionEffect_asymmetric(appear: KPointer, disappear: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getShapeClip(ptr) + return this._TransitionEffect_asymmetric(appear, disappear) } throw new Error("Not implemented") } - static _RenderNode_setShapeClip(ptr: KPointer, shapeClip: KPointer): void { + static _TransitionEffect_animation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setShapeClip(ptr, shapeClip) + return this._TransitionEffect_animation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _RenderNode_getMarkNodeGroup(ptr: KPointer): boolean { + static _TransitionEffect_combine(ptr: KPointer, transitionEffect: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getMarkNodeGroup(ptr) + return this._TransitionEffect_combine(ptr, transitionEffect) } throw new Error("Not implemented") } - static _RenderNode_setMarkNodeGroup(ptr: KPointer, markNodeGroup: KInt): void { + static _TransitionEffect_getIDENTITY(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setMarkNodeGroup(ptr, markNodeGroup) + return this._TransitionEffect_getIDENTITY() } throw new Error("Not implemented") } - static _RenderNode_getLengthMetricsUnit(ptr: KPointer): int32 { + static _TransitionEffect_getOPACITY(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_getLengthMetricsUnit(ptr) + return this._TransitionEffect_getOPACITY() } throw new Error("Not implemented") } - static _RenderNode_setLengthMetricsUnit(ptr: KPointer, lengthMetricsUnit: KInt): void { + static _TransitionEffect_getSLIDE(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RenderNode_setLengthMetricsUnit(ptr, lengthMetricsUnit) + return this._TransitionEffect_getSLIDE() } throw new Error("Not implemented") } - static _Filter_ctor(): KPointer { + static _TransitionEffect_getSLIDE_SWITCH(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._Filter_ctor() + return this._TransitionEffect_getSLIDE_SWITCH() } throw new Error("Not implemented") } - static _Filter_getFinalizer(): KPointer { + static _BaseEvent_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._Filter_getFinalizer() + return this._BaseEvent_ctor() } throw new Error("Not implemented") } - static _Filter_pixelStretch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32, tileMode: KInt): KPointer { + static _BaseEvent_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._Filter_pixelStretch(ptr, thisArray, thisLength, tileMode) + return this._BaseEvent_getFinalizer() } throw new Error("Not implemented") } - static _Filter_blur(ptr: KPointer, blurRadius: number): KPointer { + static _BaseEvent_getModifierKeyState(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { if ((this._LoadOnce()) == (true)) { - return this._Filter_blur(ptr, blurRadius) + return this._BaseEvent_getModifierKeyState(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Filter_waterRipple(ptr: KPointer, progress: number, waveCount: number, x: number, y: number, rippleMode: KInt): KPointer { + static _BaseEvent_getTarget(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._Filter_waterRipple(ptr, progress, waveCount, x, y, rippleMode) + return this._BaseEvent_getTarget(ptr) } throw new Error("Not implemented") } - static _Filter_flyInFlyOutEffect(ptr: KPointer, degree: number, flyMode: KInt): KPointer { + static _BaseEvent_setTarget(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Filter_flyInFlyOutEffect(ptr, degree, flyMode) + return this._BaseEvent_setTarget(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Filter_distort(ptr: KPointer, distortionK: number): KPointer { + static _BaseEvent_getTimestamp(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._Filter_distort(ptr, distortionK) + return this._BaseEvent_getTimestamp(ptr) } throw new Error("Not implemented") } - static _VisualEffect_ctor(): KPointer { + static _BaseEvent_setTimestamp(ptr: KPointer, timestamp: KLong): void { if ((this._LoadOnce()) == (true)) { - return this._VisualEffect_ctor() + return this._BaseEvent_setTimestamp(ptr, timestamp) } throw new Error("Not implemented") } - static _VisualEffect_getFinalizer(): KPointer { + static _BaseEvent_getSource(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._VisualEffect_getFinalizer() + return this._BaseEvent_getSource(ptr) } throw new Error("Not implemented") } - static _VisualEffect_backgroundColorBlender(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _BaseEvent_setSource(ptr: KPointer, source: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._VisualEffect_backgroundColorBlender(ptr, thisArray, thisLength) + return this._BaseEvent_setSource(ptr, source) } throw new Error("Not implemented") } - static _NavExtender_setUpdateStackCallback(peer: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _BaseEvent_getAxisHorizontal(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_setUpdateStackCallback(peer, thisArray, thisLength) + return this._BaseEvent_getAxisHorizontal(ptr) } throw new Error("Not implemented") } - static _NavExtender_syncStack(peer: KPointer): void { + static _BaseEvent_setAxisHorizontal(ptr: KPointer, axisHorizontal: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_syncStack(peer) + return this._BaseEvent_setAxisHorizontal(ptr, axisHorizontal) } throw new Error("Not implemented") } - static _NavExtender_checkNeedCreate(navigation: KPointer, index: KInt): boolean { + static _BaseEvent_getAxisVertical(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_checkNeedCreate(navigation, index) + return this._BaseEvent_getAxisVertical(ptr) } throw new Error("Not implemented") } - static _NavExtender_navigationCreate(peer: KInt, flag: KInt): KPointer { + static _BaseEvent_setAxisVertical(ptr: KPointer, axisVertical: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_navigationCreate(peer, flag) + return this._BaseEvent_setAxisVertical(ptr, axisVertical) } throw new Error("Not implemented") } - static _NavExtender_setNavigationOptions(navigation: KPointer, stack: KPointer): void { + static _BaseEvent_getPressure(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_setNavigationOptions(navigation, stack) + return this._BaseEvent_getPressure(ptr) } throw new Error("Not implemented") } - static _NavExtender_setNavDestinationNode(peer: KPointer, index: KInt, node: KPointer): void { + static _BaseEvent_setPressure(ptr: KPointer, pressure: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_setNavDestinationNode(peer, index, node) + return this._BaseEvent_setPressure(ptr, pressure) } throw new Error("Not implemented") } - static _NavExtender_setNavigationMode(navigation: KPointer, mode: KInt): void { + static _BaseEvent_getTiltX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_setNavigationMode(navigation, mode) + return this._BaseEvent_getTiltX(ptr) } throw new Error("Not implemented") } - static _NavExtender_hideTitleBar(navigation: KPointer, isHide: KInt, isAnimated: KInt): void { + static _BaseEvent_setTiltX(ptr: KPointer, tiltX: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_hideTitleBar(navigation, isHide, isAnimated) + return this._BaseEvent_setTiltX(ptr, tiltX) } throw new Error("Not implemented") } - static _NavExtender_hideToolBar(navigation: KPointer, isHide: KInt, isAnimated: KInt): void { + static _BaseEvent_getTiltY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_hideToolBar(navigation, isHide, isAnimated) + return this._BaseEvent_getTiltY(ptr) } throw new Error("Not implemented") } - static _NavExtender_hideNavBar(navigation: KPointer, hide: KInt): void { + static _BaseEvent_setTiltY(ptr: KPointer, tiltY: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_hideNavBar(navigation, hide) + return this._BaseEvent_setTiltY(ptr, tiltY) } throw new Error("Not implemented") } - static _NavExtender_hideBackButton(navigation: KPointer, hide: KInt): void { + static _BaseEvent_getRollAngle(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_hideBackButton(navigation, hide) + return this._BaseEvent_getRollAngle(ptr) } throw new Error("Not implemented") } - static _NavExtender_setNavBarStateChange(navigation: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _BaseEvent_setRollAngle(ptr: KPointer, rollAngle: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_setNavBarStateChange(navigation, thisArray, thisLength) + return this._BaseEvent_setRollAngle(ptr, rollAngle) } throw new Error("Not implemented") } - static _NavExtender_setTitleModeChange(navigation: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _BaseEvent_getSourceTool(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_setTitleModeChange(navigation, thisArray, thisLength) + return this._BaseEvent_getSourceTool(ptr) } throw new Error("Not implemented") } - static _NavExtender_setTitleMode(navigation: KPointer, titleMode: KInt): void { + static _BaseEvent_setSourceTool(ptr: KPointer, sourceTool: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_setTitleMode(navigation, titleMode) + return this._BaseEvent_setSourceTool(ptr, sourceTool) } throw new Error("Not implemented") } - static _NavExtender_title(navigation: KPointer, title: KStringPtr, hasSubTitle: KInt): void { + static _BaseEvent_getDeviceId(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_title(navigation, title, hasSubTitle) + return this._BaseEvent_getDeviceId(ptr) } throw new Error("Not implemented") } - static _NavExtender_subTitle(navigation: KPointer, subTitle: KStringPtr): void { + static _BaseEvent_setDeviceId(ptr: KPointer, deviceId: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavExtender_subTitle(navigation, subTitle) + return this._BaseEvent_setDeviceId(ptr, deviceId) } throw new Error("Not implemented") } - static _EventEmulator_emitClickEvent(node: KPointer, event: KPointer): void { + static _BaseEvent_getTargetDisplayId(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._EventEmulator_emitClickEvent(node, event) + return this._BaseEvent_getTargetDisplayId(ptr) } throw new Error("Not implemented") } - static _EventEmulator_emitTextInputEvent(node: KPointer, text: KStringPtr): void { + static _BaseEvent_setTargetDisplayId(ptr: KPointer, targetDisplayId: number): void { if ((this._LoadOnce()) == (true)) { - return this._EventEmulator_emitTextInputEvent(node, text) + return this._BaseEvent_setTargetDisplayId(ptr, targetDisplayId) } throw new Error("Not implemented") } - static _ActionSheet_show(thisArray: KSerializerBuffer, thisLength: int32): void { + static _ClickEvent_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ActionSheet_show(thisArray, thisLength) + return this._ClickEvent_ctor() } throw new Error("Not implemented") } - static _AlertDialog_show(thisArray: KSerializerBuffer, thisLength: int32): void { + static _ClickEvent_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._AlertDialog_show(thisArray, thisLength) + return this._ClickEvent_getFinalizer() } throw new Error("Not implemented") } - static _SpringProp_ctor(mass: number, stiffness: number, damping: number): KPointer { + static _ClickEvent_getDisplayX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._SpringProp_ctor(mass, stiffness, damping) + return this._ClickEvent_getDisplayX(ptr) } throw new Error("Not implemented") } - static _SpringProp_getFinalizer(): KPointer { + static _ClickEvent_setDisplayX(ptr: KPointer, displayX: number): void { if ((this._LoadOnce()) == (true)) { - return this._SpringProp_getFinalizer() + return this._ClickEvent_setDisplayX(ptr, displayX) } throw new Error("Not implemented") } - static _SpringMotion_ctor(start: number, end: number, velocity: number, prop: KPointer): KPointer { + static _ClickEvent_getDisplayY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._SpringMotion_ctor(start, end, velocity, prop) + return this._ClickEvent_getDisplayY(ptr) } throw new Error("Not implemented") } - static _SpringMotion_getFinalizer(): KPointer { + static _ClickEvent_setDisplayY(ptr: KPointer, displayY: number): void { if ((this._LoadOnce()) == (true)) { - return this._SpringMotion_getFinalizer() + return this._ClickEvent_setDisplayY(ptr, displayY) } throw new Error("Not implemented") } - static _FrictionMotion_ctor(friction: number, position: number, velocity: number): KPointer { + static _ClickEvent_getWindowX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._FrictionMotion_ctor(friction, position, velocity) + return this._ClickEvent_getWindowX(ptr) } throw new Error("Not implemented") } - static _FrictionMotion_getFinalizer(): KPointer { + static _ClickEvent_setWindowX(ptr: KPointer, windowX: number): void { if ((this._LoadOnce()) == (true)) { - return this._FrictionMotion_getFinalizer() + return this._ClickEvent_setWindowX(ptr, windowX) } throw new Error("Not implemented") } - static _ScrollMotion_ctor(position: number, velocity: number, min: number, max: number, prop: KPointer): KPointer { + static _ClickEvent_getWindowY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._ScrollMotion_ctor(position, velocity, min, max, prop) + return this._ClickEvent_getWindowY(ptr) } throw new Error("Not implemented") } - static _ScrollMotion_getFinalizer(): KPointer { + static _ClickEvent_setWindowY(ptr: KPointer, windowY: number): void { if ((this._LoadOnce()) == (true)) { - return this._ScrollMotion_getFinalizer() + return this._ClickEvent_setWindowY(ptr, windowY) } throw new Error("Not implemented") } - static _CalendarController_ctor(): KPointer { + static _ClickEvent_getScreenX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._CalendarController_ctor() + return this._ClickEvent_getScreenX(ptr) } throw new Error("Not implemented") } - static _CalendarController_getFinalizer(): KPointer { + static _ClickEvent_setScreenX(ptr: KPointer, screenX: number): void { if ((this._LoadOnce()) == (true)) { - return this._CalendarController_getFinalizer() + return this._ClickEvent_setScreenX(ptr, screenX) } throw new Error("Not implemented") } - static _CalendarController_backToToday(ptr: KPointer): void { + static _ClickEvent_getScreenY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._CalendarController_backToToday(ptr) + return this._ClickEvent_getScreenY(ptr) } throw new Error("Not implemented") } - static _CalendarController_goTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ClickEvent_setScreenY(ptr: KPointer, screenY: number): void { if ((this._LoadOnce()) == (true)) { - return this._CalendarController_goTo(ptr, thisArray, thisLength) + return this._ClickEvent_setScreenY(ptr, screenY) } throw new Error("Not implemented") } - static _CalendarPickerDialog_show(thisArray: KSerializerBuffer, thisLength: int32): void { + static _ClickEvent_getX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._CalendarPickerDialog_show(thisArray, thisLength) + return this._ClickEvent_getX(ptr) } throw new Error("Not implemented") } - static _NavPathInfo_ctor(name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _ClickEvent_setX(ptr: KPointer, x: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathInfo_ctor(name, thisArray, thisLength) + return this._ClickEvent_setX(ptr, x) } throw new Error("Not implemented") } - static _NavPathInfo_getFinalizer(): KPointer { + static _ClickEvent_getY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._NavPathInfo_getFinalizer() + return this._ClickEvent_getY(ptr) } throw new Error("Not implemented") } - static _NavPathInfo_getName(ptr: KPointer): string { + static _ClickEvent_setY(ptr: KPointer, y: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathInfo_getName(ptr) + return this._ClickEvent_setY(ptr, y) } throw new Error("Not implemented") } - static _NavPathInfo_setName(ptr: KPointer, name: KStringPtr): void { + static _ClickEvent_getHand(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavPathInfo_setName(ptr, name) + return this._ClickEvent_getHand(ptr) } throw new Error("Not implemented") } - static _NavPathInfo_getParam(ptr: KPointer): KInteropReturnBuffer { + static _ClickEvent_setHand(ptr: KPointer, hand: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathInfo_getParam(ptr) + return this._ClickEvent_setHand(ptr, hand) } throw new Error("Not implemented") } - static _NavPathInfo_setParam(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _ClickEvent_getPreventDefault(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavPathInfo_setParam(ptr, thisArray, thisLength) + return this._ClickEvent_getPreventDefault(ptr) } throw new Error("Not implemented") } - static _NavPathInfo_getOnPop(ptr: KPointer): KInteropReturnBuffer { + static _ClickEvent_setPreventDefault(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathInfo_getOnPop(ptr) + return this._ClickEvent_setPreventDefault(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavPathInfo_setOnPop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _HoverEvent_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavPathInfo_setOnPop(ptr, thisArray, thisLength) + return this._HoverEvent_ctor() } throw new Error("Not implemented") } - static _NavPathInfo_getIsEntry(ptr: KPointer): KInteropReturnBuffer { + static _HoverEvent_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavPathInfo_getIsEntry(ptr) + return this._HoverEvent_getFinalizer() } throw new Error("Not implemented") } - static _NavPathInfo_setIsEntry(ptr: KPointer, isEntry: KInt): void { + static _HoverEvent_getX(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavPathInfo_setIsEntry(ptr, isEntry) + return this._HoverEvent_getX(ptr) } throw new Error("Not implemented") } - static _NavPathStack_ctor(): KPointer { + static _HoverEvent_setX(ptr: KPointer, x: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_ctor() + return this._HoverEvent_setX(ptr, x) } throw new Error("Not implemented") } - static _NavPathStack_getFinalizer(): KPointer { + static _HoverEvent_getY(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_getFinalizer() + return this._HoverEvent_getY(ptr) } throw new Error("Not implemented") } - static _NavPathStack_pushPath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _HoverEvent_setY(ptr: KPointer, y: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_pushPath0(ptr, info, thisArray, thisLength) + return this._HoverEvent_setY(ptr, y) } throw new Error("Not implemented") } - static _NavPathStack_pushPath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _HoverEvent_getWindowX(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_pushPath1(ptr, info, thisArray, thisLength) + return this._HoverEvent_getWindowX(ptr) } throw new Error("Not implemented") } - static _NavPathStack_pushDestination0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _HoverEvent_setWindowX(ptr: KPointer, windowX: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_pushDestination0(ptr, info, thisArray, thisLength) + return this._HoverEvent_setWindowX(ptr, windowX) } throw new Error("Not implemented") } - static _NavPathStack_pushDestination1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _HoverEvent_getWindowY(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_pushDestination1(ptr, info, thisArray, thisLength) + return this._HoverEvent_getWindowY(ptr) } throw new Error("Not implemented") } - static _NavPathStack_pushPathByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + static _HoverEvent_setWindowY(ptr: KPointer, windowY: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_pushPathByName0(ptr, name, thisArray, thisLength) + return this._HoverEvent_setWindowY(ptr, windowY) } throw new Error("Not implemented") } - static _NavPathStack_pushPathByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + static _HoverEvent_getDisplayX(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_pushPathByName1(ptr, name, thisArray, thisLength) + return this._HoverEvent_getDisplayX(ptr) } throw new Error("Not implemented") } - static _NavPathStack_pushDestinationByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _HoverEvent_setDisplayX(ptr: KPointer, displayX: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_pushDestinationByName0(ptr, name, thisArray, thisLength) + return this._HoverEvent_setDisplayX(ptr, displayX) } throw new Error("Not implemented") } - static _NavPathStack_pushDestinationByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _HoverEvent_getDisplayY(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_pushDestinationByName1(ptr, name, thisArray, thisLength) + return this._HoverEvent_getDisplayY(ptr) } throw new Error("Not implemented") } - static _NavPathStack_replacePath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _HoverEvent_setDisplayY(ptr: KPointer, displayY: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_replacePath0(ptr, info, thisArray, thisLength) + return this._HoverEvent_setDisplayY(ptr, displayY) } throw new Error("Not implemented") } - static _NavPathStack_replacePath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _HoverEvent_getStopPropagation(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_replacePath1(ptr, info, thisArray, thisLength) + return this._HoverEvent_getStopPropagation(ptr) } throw new Error("Not implemented") } - static _NavPathStack_replaceDestination(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _HoverEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_replaceDestination(ptr, info, thisArray, thisLength) + return this._HoverEvent_setStopPropagation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavPathStack_replacePathByName(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MouseEvent_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_replacePathByName(ptr, name, thisArray, thisLength) + return this._MouseEvent_ctor() } throw new Error("Not implemented") } - static _NavPathStack_removeByIndexes(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): number { + static _MouseEvent_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_removeByIndexes(ptr, thisArray, thisLength) + return this._MouseEvent_getFinalizer() } throw new Error("Not implemented") } - static _NavPathStack_removeByName(ptr: KPointer, name: KStringPtr): number { + static _MouseEvent_getButton(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_removeByName(ptr, name) + return this._MouseEvent_getButton(ptr) } throw new Error("Not implemented") } - static _NavPathStack_removeByNavDestinationId(ptr: KPointer, navDestinationId: KStringPtr): boolean { + static _MouseEvent_setButton(ptr: KPointer, button: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_removeByNavDestinationId(ptr, navDestinationId) + return this._MouseEvent_setButton(ptr, button) } throw new Error("Not implemented") } - static _NavPathStack_pop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + static _MouseEvent_getAction(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_pop0(ptr, thisArray, thisLength) + return this._MouseEvent_getAction(ptr) } throw new Error("Not implemented") } - static _NavPathStack_pop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + static _MouseEvent_setAction(ptr: KPointer, action: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_pop1(ptr, thisArray, thisLength) + return this._MouseEvent_setAction(ptr, action) } throw new Error("Not implemented") } - static _NavPathStack_popToName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { + static _MouseEvent_getDisplayX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_popToName0(ptr, name, thisArray, thisLength) + return this._MouseEvent_getDisplayX(ptr) } throw new Error("Not implemented") } - static _NavPathStack_popToName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { + static _MouseEvent_setDisplayX(ptr: KPointer, displayX: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_popToName1(ptr, name, thisArray, thisLength) + return this._MouseEvent_setDisplayX(ptr, displayX) } throw new Error("Not implemented") } - static _NavPathStack_popToIndex0(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MouseEvent_getDisplayY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_popToIndex0(ptr, index, thisArray, thisLength) + return this._MouseEvent_getDisplayY(ptr) } throw new Error("Not implemented") } - static _NavPathStack_popToIndex1(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MouseEvent_setDisplayY(ptr: KPointer, displayY: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_popToIndex1(ptr, index, thisArray, thisLength) + return this._MouseEvent_setDisplayY(ptr, displayY) } throw new Error("Not implemented") } - static _NavPathStack_moveToTop(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { + static _MouseEvent_getWindowX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_moveToTop(ptr, name, thisArray, thisLength) + return this._MouseEvent_getWindowX(ptr) } throw new Error("Not implemented") } - static _NavPathStack_moveIndexToTop(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MouseEvent_setWindowX(ptr: KPointer, windowX: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_moveIndexToTop(ptr, index, thisArray, thisLength) + return this._MouseEvent_setWindowX(ptr, windowX) } throw new Error("Not implemented") } - static _NavPathStack_clear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MouseEvent_getWindowY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_clear(ptr, thisArray, thisLength) + return this._MouseEvent_getWindowY(ptr) } throw new Error("Not implemented") } - static _NavPathStack_getAllPathName(ptr: KPointer): KInteropReturnBuffer { + static _MouseEvent_setWindowY(ptr: KPointer, windowY: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_getAllPathName(ptr) + return this._MouseEvent_setWindowY(ptr, windowY) } throw new Error("Not implemented") } - static _NavPathStack_getParamByIndex(ptr: KPointer, index: number): KInteropReturnBuffer { + static _MouseEvent_getScreenX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_getParamByIndex(ptr, index) + return this._MouseEvent_getScreenX(ptr) } throw new Error("Not implemented") } - static _NavPathStack_getParamByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer { + static _MouseEvent_setScreenX(ptr: KPointer, screenX: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_getParamByName(ptr, name) + return this._MouseEvent_setScreenX(ptr, screenX) } throw new Error("Not implemented") } - static _NavPathStack_getIndexByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer { + static _MouseEvent_getScreenY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_getIndexByName(ptr, name) + return this._MouseEvent_getScreenY(ptr) } throw new Error("Not implemented") } - static _NavPathStack_getParent(ptr: KPointer): KInteropReturnBuffer { + static _MouseEvent_setScreenY(ptr: KPointer, screenY: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_getParent(ptr) + return this._MouseEvent_setScreenY(ptr, screenY) } throw new Error("Not implemented") } - static _NavPathStack_size(ptr: KPointer): number { + static _MouseEvent_getX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_size(ptr) + return this._MouseEvent_getX(ptr) } throw new Error("Not implemented") } - static _NavPathStack_disableAnimation(ptr: KPointer, value: KInt): void { + static _MouseEvent_setX(ptr: KPointer, x: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_disableAnimation(ptr, value) + return this._MouseEvent_setX(ptr, x) } throw new Error("Not implemented") } - static _NavPathStack_setInterception(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MouseEvent_getY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._NavPathStack_setInterception(ptr, thisArray, thisLength) + return this._MouseEvent_getY(ptr) } throw new Error("Not implemented") } - static _NavigationTransitionProxy_ctor(): KPointer { + static _MouseEvent_setY(ptr: KPointer, y: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationTransitionProxy_ctor() + return this._MouseEvent_setY(ptr, y) } throw new Error("Not implemented") } - static _NavigationTransitionProxy_getFinalizer(): KPointer { + static _MouseEvent_getStopPropagation(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavigationTransitionProxy_getFinalizer() + return this._MouseEvent_getStopPropagation(ptr) } throw new Error("Not implemented") } - static _NavigationTransitionProxy_finishTransition(ptr: KPointer): void { + static _MouseEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationTransitionProxy_finishTransition(ptr) + return this._MouseEvent_setStopPropagation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationTransitionProxy_cancelTransition(ptr: KPointer): void { + static _MouseEvent_getRawDeltaX(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavigationTransitionProxy_cancelTransition(ptr) + return this._MouseEvent_getRawDeltaX(ptr) } throw new Error("Not implemented") } - static _NavigationTransitionProxy_updateTransition(ptr: KPointer, progress: number): void { + static _MouseEvent_setRawDeltaX(ptr: KPointer, rawDeltaX: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationTransitionProxy_updateTransition(ptr, progress) + return this._MouseEvent_setRawDeltaX(ptr, rawDeltaX) } throw new Error("Not implemented") } - static _NavigationTransitionProxy_getFrom(ptr: KPointer): KInteropReturnBuffer { + static _MouseEvent_getRawDeltaY(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavigationTransitionProxy_getFrom(ptr) + return this._MouseEvent_getRawDeltaY(ptr) } throw new Error("Not implemented") } - static _NavigationTransitionProxy_setFrom(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MouseEvent_setRawDeltaY(ptr: KPointer, rawDeltaY: number): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationTransitionProxy_setFrom(ptr, thisArray, thisLength) + return this._MouseEvent_setRawDeltaY(ptr, rawDeltaY) } throw new Error("Not implemented") } - static _NavigationTransitionProxy_getTo(ptr: KPointer): KInteropReturnBuffer { + static _MouseEvent_getPressedButtons(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._NavigationTransitionProxy_getTo(ptr) + return this._MouseEvent_getPressedButtons(ptr) } throw new Error("Not implemented") } - static _NavigationTransitionProxy_setTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _MouseEvent_setPressedButtons(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._NavigationTransitionProxy_setTo(ptr, thisArray, thisLength) + return this._MouseEvent_setPressedButtons(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _NavigationTransitionProxy_getIsInteractive(ptr: KPointer): KInteropReturnBuffer { + static _AccessibilityHoverEvent_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavigationTransitionProxy_getIsInteractive(ptr) + return this._AccessibilityHoverEvent_ctor() } throw new Error("Not implemented") } - static _NavigationTransitionProxy_setIsInteractive(ptr: KPointer, isInteractive: KInt): void { + static _AccessibilityHoverEvent_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._NavigationTransitionProxy_setIsInteractive(ptr, isInteractive) + return this._AccessibilityHoverEvent_getFinalizer() } throw new Error("Not implemented") } - static _ICurve_ctor(): KPointer { + static _AccessibilityHoverEvent_getType(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._ICurve_ctor() + return this._AccessibilityHoverEvent_getType(ptr) } throw new Error("Not implemented") } - static _ICurve_getFinalizer(): KPointer { + static _AccessibilityHoverEvent_setType(ptr: KPointer, type: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ICurve_getFinalizer() + return this._AccessibilityHoverEvent_setType(ptr, type) } throw new Error("Not implemented") } - static _ICurve_interpolate(ptr: KPointer, fraction: number): number { + static _AccessibilityHoverEvent_getX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._ICurve_interpolate(ptr, fraction) + return this._AccessibilityHoverEvent_getX(ptr) } throw new Error("Not implemented") } - static _DrawModifier_ctor(): KPointer { + static _AccessibilityHoverEvent_setX(ptr: KPointer, x: number): void { if ((this._LoadOnce()) == (true)) { - return this._DrawModifier_ctor() + return this._AccessibilityHoverEvent_setX(ptr, x) } throw new Error("Not implemented") } - static _DrawModifier_getFinalizer(): KPointer { + static _AccessibilityHoverEvent_getY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._DrawModifier_getFinalizer() + return this._AccessibilityHoverEvent_getY(ptr) } throw new Error("Not implemented") } - static _DrawModifier_drawBehind(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _AccessibilityHoverEvent_setY(ptr: KPointer, y: number): void { if ((this._LoadOnce()) == (true)) { - return this._DrawModifier_drawBehind(ptr, thisArray, thisLength) + return this._AccessibilityHoverEvent_setY(ptr, y) } throw new Error("Not implemented") } - static _DrawModifier_drawContent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _AccessibilityHoverEvent_getDisplayX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._DrawModifier_drawContent(ptr, thisArray, thisLength) + return this._AccessibilityHoverEvent_getDisplayX(ptr) } throw new Error("Not implemented") } - static _DrawModifier_drawFront(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _AccessibilityHoverEvent_setDisplayX(ptr: KPointer, displayX: number): void { if ((this._LoadOnce()) == (true)) { - return this._DrawModifier_drawFront(ptr, thisArray, thisLength) + return this._AccessibilityHoverEvent_setDisplayX(ptr, displayX) } throw new Error("Not implemented") } - static _DrawModifier_invalidate(ptr: KPointer): void { + static _AccessibilityHoverEvent_getDisplayY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._DrawModifier_invalidate(ptr) + return this._AccessibilityHoverEvent_getDisplayY(ptr) } throw new Error("Not implemented") } - static _TransitionEffect_ctor(type: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _AccessibilityHoverEvent_setDisplayY(ptr: KPointer, displayY: number): void { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_ctor(type, thisArray, thisLength) + return this._AccessibilityHoverEvent_setDisplayY(ptr, displayY) } throw new Error("Not implemented") } - static _TransitionEffect_getFinalizer(): KPointer { + static _AccessibilityHoverEvent_getWindowX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_getFinalizer() + return this._AccessibilityHoverEvent_getWindowX(ptr) } throw new Error("Not implemented") } - static _TransitionEffect_translate(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _AccessibilityHoverEvent_setWindowX(ptr: KPointer, windowX: number): void { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_translate(thisArray, thisLength) + return this._AccessibilityHoverEvent_setWindowX(ptr, windowX) } throw new Error("Not implemented") } - static _TransitionEffect_rotate(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _AccessibilityHoverEvent_getWindowY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_rotate(thisArray, thisLength) + return this._AccessibilityHoverEvent_getWindowY(ptr) } throw new Error("Not implemented") } - static _TransitionEffect_scale(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _AccessibilityHoverEvent_setWindowY(ptr: KPointer, windowY: number): void { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_scale(thisArray, thisLength) + return this._AccessibilityHoverEvent_setWindowY(ptr, windowY) } throw new Error("Not implemented") } - static _TransitionEffect_opacity(alpha: number): KPointer { + static _TouchEvent_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_opacity(alpha) + return this._TouchEvent_ctor() } throw new Error("Not implemented") } - static _TransitionEffect_move(edge: KInt): KPointer { + static _TouchEvent_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_move(edge) + return this._TouchEvent_getFinalizer() } throw new Error("Not implemented") } - static _TransitionEffect_asymmetric(appear: KPointer, disappear: KPointer): KPointer { + static _TouchEvent_getHistoricalPoints(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_asymmetric(appear, disappear) + return this._TouchEvent_getHistoricalPoints(ptr) } throw new Error("Not implemented") } - static _TransitionEffect_animation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _TouchEvent_getType(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_animation(ptr, thisArray, thisLength) + return this._TouchEvent_getType(ptr) } throw new Error("Not implemented") } - static _TransitionEffect_combine(ptr: KPointer, transitionEffect: KPointer): KPointer { + static _TouchEvent_setType(ptr: KPointer, type: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_combine(ptr, transitionEffect) + return this._TouchEvent_setType(ptr, type) } throw new Error("Not implemented") } - static _TransitionEffect_getIDENTITY(): KPointer { + static _TouchEvent_getTouches(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_getIDENTITY() + return this._TouchEvent_getTouches(ptr) } throw new Error("Not implemented") } - static _TransitionEffect_getOPACITY(): KPointer { + static _TouchEvent_setTouches(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_getOPACITY() + return this._TouchEvent_setTouches(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TransitionEffect_getSLIDE(): KPointer { + static _TouchEvent_getChangedTouches(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_getSLIDE() + return this._TouchEvent_getChangedTouches(ptr) } throw new Error("Not implemented") } - static _TransitionEffect_getSLIDE_SWITCH(): KPointer { + static _TouchEvent_setChangedTouches(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TransitionEffect_getSLIDE_SWITCH() + return this._TouchEvent_setChangedTouches(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _BaseEvent_ctor(): KPointer { + static _TouchEvent_getStopPropagation(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_ctor() + return this._TouchEvent_getStopPropagation(ptr) } throw new Error("Not implemented") } - static _BaseEvent_getFinalizer(): KPointer { + static _TouchEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_getFinalizer() + return this._TouchEvent_setStopPropagation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _BaseEvent_getModifierKeyState(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { + static _TouchEvent_getPreventDefault(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_getModifierKeyState(ptr, thisArray, thisLength) + return this._TouchEvent_getPreventDefault(ptr) } throw new Error("Not implemented") } - static _BaseEvent_getTarget(ptr: KPointer): KInteropReturnBuffer { + static _TouchEvent_setPreventDefault(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_getTarget(ptr) + return this._TouchEvent_setPreventDefault(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _BaseEvent_setTarget(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _AxisEvent_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_setTarget(ptr, thisArray, thisLength) + return this._AxisEvent_ctor() } throw new Error("Not implemented") } - static _BaseEvent_getTimestamp(ptr: KPointer): number { + static _AxisEvent_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_getTimestamp(ptr) + return this._AxisEvent_getFinalizer() } throw new Error("Not implemented") } - static _BaseEvent_setTimestamp(ptr: KPointer, timestamp: KLong): void { + static _AxisEvent_getHorizontalAxisValue(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_setTimestamp(ptr, timestamp) + return this._AxisEvent_getHorizontalAxisValue(ptr) } throw new Error("Not implemented") } - static _BaseEvent_getSource(ptr: KPointer): int32 { + static _AxisEvent_getVerticalAxisValue(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_getSource(ptr) + return this._AxisEvent_getVerticalAxisValue(ptr) } throw new Error("Not implemented") } - static _BaseEvent_setSource(ptr: KPointer, source: KInt): void { + static _AxisEvent_getAction(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_setSource(ptr, source) + return this._AxisEvent_getAction(ptr) } throw new Error("Not implemented") } - static _BaseEvent_getAxisHorizontal(ptr: KPointer): KInteropReturnBuffer { + static _AxisEvent_setAction(ptr: KPointer, action: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_getAxisHorizontal(ptr) + return this._AxisEvent_setAction(ptr, action) } throw new Error("Not implemented") } - static _BaseEvent_setAxisHorizontal(ptr: KPointer, axisHorizontal: number): void { + static _AxisEvent_getDisplayX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_setAxisHorizontal(ptr, axisHorizontal) + return this._AxisEvent_getDisplayX(ptr) } throw new Error("Not implemented") } - static _BaseEvent_getAxisVertical(ptr: KPointer): KInteropReturnBuffer { + static _AxisEvent_setDisplayX(ptr: KPointer, displayX: number): void { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_getAxisVertical(ptr) + return this._AxisEvent_setDisplayX(ptr, displayX) } throw new Error("Not implemented") } - static _BaseEvent_setAxisVertical(ptr: KPointer, axisVertical: number): void { + static _AxisEvent_getDisplayY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_setAxisVertical(ptr, axisVertical) + return this._AxisEvent_getDisplayY(ptr) } throw new Error("Not implemented") } - static _BaseEvent_getPressure(ptr: KPointer): number { + static _AxisEvent_setDisplayY(ptr: KPointer, displayY: number): void { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_getPressure(ptr) + return this._AxisEvent_setDisplayY(ptr, displayY) } throw new Error("Not implemented") } - static _BaseEvent_setPressure(ptr: KPointer, pressure: number): void { + static _AxisEvent_getWindowX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_setPressure(ptr, pressure) + return this._AxisEvent_getWindowX(ptr) } throw new Error("Not implemented") } - static _BaseEvent_getTiltX(ptr: KPointer): number { + static _AxisEvent_setWindowX(ptr: KPointer, windowX: number): void { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_getTiltX(ptr) + return this._AxisEvent_setWindowX(ptr, windowX) } throw new Error("Not implemented") } - static _BaseEvent_setTiltX(ptr: KPointer, tiltX: number): void { + static _AxisEvent_getWindowY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_setTiltX(ptr, tiltX) + return this._AxisEvent_getWindowY(ptr) } throw new Error("Not implemented") } - static _BaseEvent_getTiltY(ptr: KPointer): number { + static _AxisEvent_setWindowY(ptr: KPointer, windowY: number): void { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_getTiltY(ptr) + return this._AxisEvent_setWindowY(ptr, windowY) } throw new Error("Not implemented") } - static _BaseEvent_setTiltY(ptr: KPointer, tiltY: number): void { + static _AxisEvent_getX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_setTiltY(ptr, tiltY) + return this._AxisEvent_getX(ptr) } throw new Error("Not implemented") } - static _BaseEvent_getSourceTool(ptr: KPointer): int32 { + static _AxisEvent_setX(ptr: KPointer, x: number): void { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_getSourceTool(ptr) + return this._AxisEvent_setX(ptr, x) } throw new Error("Not implemented") } - static _BaseEvent_setSourceTool(ptr: KPointer, sourceTool: KInt): void { + static _AxisEvent_getY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_setSourceTool(ptr, sourceTool) + return this._AxisEvent_getY(ptr) } throw new Error("Not implemented") } - static _BaseEvent_getDeviceId(ptr: KPointer): KInteropReturnBuffer { + static _AxisEvent_setY(ptr: KPointer, y: number): void { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_getDeviceId(ptr) + return this._AxisEvent_setY(ptr, y) } throw new Error("Not implemented") } - static _BaseEvent_setDeviceId(ptr: KPointer, deviceId: number): void { + static _AxisEvent_getScrollStep(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._BaseEvent_setDeviceId(ptr, deviceId) + return this._AxisEvent_getScrollStep(ptr) } throw new Error("Not implemented") } - static _ClickEvent_ctor(): KPointer { + static _AxisEvent_setScrollStep(ptr: KPointer, scrollStep: number): void { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_ctor() + return this._AxisEvent_setScrollStep(ptr, scrollStep) } throw new Error("Not implemented") } - static _ClickEvent_getFinalizer(): KPointer { + static _AxisEvent_getPropagation(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_getFinalizer() + return this._AxisEvent_getPropagation(ptr) } throw new Error("Not implemented") } - static _ClickEvent_getDisplayX(ptr: KPointer): number { + static _AxisEvent_setPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_getDisplayX(ptr) + return this._AxisEvent_setPropagation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ClickEvent_setDisplayX(ptr: KPointer, displayX: number): void { + static _PixelMapMock_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_setDisplayX(ptr, displayX) + return this._PixelMapMock_ctor() } throw new Error("Not implemented") } - static _ClickEvent_getDisplayY(ptr: KPointer): number { + static _PixelMapMock_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_getDisplayY(ptr) + return this._PixelMapMock_getFinalizer() } throw new Error("Not implemented") } - static _ClickEvent_setDisplayY(ptr: KPointer, displayY: number): void { + static _PixelMapMock_release(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_setDisplayY(ptr, displayY) + return this._PixelMapMock_release(ptr) } throw new Error("Not implemented") } - static _ClickEvent_getWindowX(ptr: KPointer): number { + static _DragEvent_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_getWindowX(ptr) + return this._DragEvent_ctor() } throw new Error("Not implemented") } - static _ClickEvent_setWindowX(ptr: KPointer, windowX: number): void { + static _DragEvent_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_setWindowX(ptr, windowX) + return this._DragEvent_getFinalizer() } throw new Error("Not implemented") } - static _ClickEvent_getWindowY(ptr: KPointer): number { + static _DragEvent_getDisplayX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_getWindowY(ptr) + return this._DragEvent_getDisplayX(ptr) } throw new Error("Not implemented") } - static _ClickEvent_setWindowY(ptr: KPointer, windowY: number): void { + static _DragEvent_getDisplayY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_setWindowY(ptr, windowY) + return this._DragEvent_getDisplayY(ptr) } throw new Error("Not implemented") } - static _ClickEvent_getScreenX(ptr: KPointer): number { + static _DragEvent_getWindowX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_getScreenX(ptr) + return this._DragEvent_getWindowX(ptr) } throw new Error("Not implemented") } - static _ClickEvent_setScreenX(ptr: KPointer, screenX: number): void { + static _DragEvent_getWindowY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_setScreenX(ptr, screenX) + return this._DragEvent_getWindowY(ptr) } throw new Error("Not implemented") } - static _ClickEvent_getScreenY(ptr: KPointer): number { + static _DragEvent_getX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_getScreenY(ptr) + return this._DragEvent_getX(ptr) } throw new Error("Not implemented") } - static _ClickEvent_setScreenY(ptr: KPointer, screenY: number): void { + static _DragEvent_getY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_setScreenY(ptr, screenY) + return this._DragEvent_getY(ptr) } throw new Error("Not implemented") } - static _ClickEvent_getX(ptr: KPointer): number { + static _DragEvent_setData(ptr: KPointer, unifiedData: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_getX(ptr) + return this._DragEvent_setData(ptr, unifiedData) } throw new Error("Not implemented") } - static _ClickEvent_setX(ptr: KPointer, x: number): void { + static _DragEvent_getData(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_setX(ptr, x) + return this._DragEvent_getData(ptr) } throw new Error("Not implemented") } - static _ClickEvent_getY(ptr: KPointer): number { + static _DragEvent_getSummary(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_getY(ptr) + return this._DragEvent_getSummary(ptr) } throw new Error("Not implemented") } - static _ClickEvent_setY(ptr: KPointer, y: number): void { + static _DragEvent_setResult(ptr: KPointer, dragResult: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_setY(ptr, y) + return this._DragEvent_setResult(ptr, dragResult) } throw new Error("Not implemented") } - static _ClickEvent_getPreventDefault(ptr: KPointer): KPointer { + static _DragEvent_getResult(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_getPreventDefault(ptr) + return this._DragEvent_getResult(ptr) } throw new Error("Not implemented") } - static _ClickEvent_setPreventDefault(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DragEvent_getPreviewRect(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._ClickEvent_setPreventDefault(ptr, thisArray, thisLength) + return this._DragEvent_getPreviewRect(ptr) } throw new Error("Not implemented") } - static _HoverEvent_ctor(): KPointer { + static _DragEvent_getVelocityX(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._HoverEvent_ctor() + return this._DragEvent_getVelocityX(ptr) } throw new Error("Not implemented") } - static _HoverEvent_getFinalizer(): KPointer { + static _DragEvent_getVelocityY(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._HoverEvent_getFinalizer() + return this._DragEvent_getVelocityY(ptr) } throw new Error("Not implemented") } - static _HoverEvent_getStopPropagation(ptr: KPointer): KPointer { + static _DragEvent_getVelocity(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._HoverEvent_getStopPropagation(ptr) + return this._DragEvent_getVelocity(ptr) } throw new Error("Not implemented") } - static _HoverEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _DragEvent_getModifierKeyState(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { if ((this._LoadOnce()) == (true)) { - return this._HoverEvent_setStopPropagation(ptr, thisArray, thisLength) + return this._DragEvent_getModifierKeyState(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MouseEvent_ctor(): KPointer { + static _DragEvent_executeDropAnimation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_ctor() + return this._DragEvent_executeDropAnimation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MouseEvent_getFinalizer(): KPointer { + static _DragEvent_startDataLoading(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): string { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_getFinalizer() + return this._DragEvent_startDataLoading(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MouseEvent_getButton(ptr: KPointer): int32 { + static _DragEvent_getDragBehavior(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_getButton(ptr) + return this._DragEvent_getDragBehavior(ptr) } throw new Error("Not implemented") } - static _MouseEvent_setButton(ptr: KPointer, button: KInt): void { + static _DragEvent_setDragBehavior(ptr: KPointer, dragBehavior: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_setButton(ptr, button) + return this._DragEvent_setDragBehavior(ptr, dragBehavior) } throw new Error("Not implemented") } - static _MouseEvent_getAction(ptr: KPointer): int32 { + static _DragEvent_getUseCustomDropAnimation(ptr: KPointer): boolean { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_getAction(ptr) + return this._DragEvent_getUseCustomDropAnimation(ptr) } throw new Error("Not implemented") } - static _MouseEvent_setAction(ptr: KPointer, action: KInt): void { + static _DragEvent_setUseCustomDropAnimation(ptr: KPointer, useCustomDropAnimation: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_setAction(ptr, action) + return this._DragEvent_setUseCustomDropAnimation(ptr, useCustomDropAnimation) } throw new Error("Not implemented") } - static _MouseEvent_getDisplayX(ptr: KPointer): number { + static _KeyEvent_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_getDisplayX(ptr) + return this._KeyEvent_ctor() } throw new Error("Not implemented") } - static _MouseEvent_setDisplayX(ptr: KPointer, displayX: number): void { + static _KeyEvent_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_setDisplayX(ptr, displayX) + return this._KeyEvent_getFinalizer() } throw new Error("Not implemented") } - static _MouseEvent_getDisplayY(ptr: KPointer): number { + static _KeyEvent_getModifierKeyState(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_getDisplayY(ptr) + return this._KeyEvent_getModifierKeyState(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _MouseEvent_setDisplayY(ptr: KPointer, displayY: number): void { + static _KeyEvent_getType(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_setDisplayY(ptr, displayY) + return this._KeyEvent_getType(ptr) } throw new Error("Not implemented") } - static _MouseEvent_getWindowX(ptr: KPointer): number { + static _KeyEvent_setType(ptr: KPointer, type: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_getWindowX(ptr) + return this._KeyEvent_setType(ptr, type) } throw new Error("Not implemented") } - static _MouseEvent_setWindowX(ptr: KPointer, windowX: number): void { + static _KeyEvent_getKeyCode(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_setWindowX(ptr, windowX) + return this._KeyEvent_getKeyCode(ptr) } throw new Error("Not implemented") } - static _MouseEvent_getWindowY(ptr: KPointer): number { + static _KeyEvent_setKeyCode(ptr: KPointer, keyCode: number): void { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_getWindowY(ptr) + return this._KeyEvent_setKeyCode(ptr, keyCode) } throw new Error("Not implemented") } - static _MouseEvent_setWindowY(ptr: KPointer, windowY: number): void { + static _KeyEvent_getKeyText(ptr: KPointer): string { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_setWindowY(ptr, windowY) + return this._KeyEvent_getKeyText(ptr) } throw new Error("Not implemented") } - static _MouseEvent_getScreenX(ptr: KPointer): number { + static _KeyEvent_setKeyText(ptr: KPointer, keyText: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_getScreenX(ptr) + return this._KeyEvent_setKeyText(ptr, keyText) } throw new Error("Not implemented") } - static _MouseEvent_setScreenX(ptr: KPointer, screenX: number): void { + static _KeyEvent_getKeySource(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_setScreenX(ptr, screenX) + return this._KeyEvent_getKeySource(ptr) } throw new Error("Not implemented") } - static _MouseEvent_getScreenY(ptr: KPointer): number { + static _KeyEvent_setKeySource(ptr: KPointer, keySource: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_getScreenY(ptr) + return this._KeyEvent_setKeySource(ptr, keySource) } throw new Error("Not implemented") } - static _MouseEvent_setScreenY(ptr: KPointer, screenY: number): void { + static _KeyEvent_getDeviceId(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_setScreenY(ptr, screenY) + return this._KeyEvent_getDeviceId(ptr) } throw new Error("Not implemented") } - static _MouseEvent_getX(ptr: KPointer): number { + static _KeyEvent_setDeviceId(ptr: KPointer, deviceId: number): void { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_getX(ptr) + return this._KeyEvent_setDeviceId(ptr, deviceId) } throw new Error("Not implemented") } - static _MouseEvent_setX(ptr: KPointer, x: number): void { + static _KeyEvent_getMetaKey(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_setX(ptr, x) + return this._KeyEvent_getMetaKey(ptr) } throw new Error("Not implemented") } - static _MouseEvent_getY(ptr: KPointer): number { + static _KeyEvent_setMetaKey(ptr: KPointer, metaKey: number): void { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_getY(ptr) + return this._KeyEvent_setMetaKey(ptr, metaKey) } throw new Error("Not implemented") } - static _MouseEvent_setY(ptr: KPointer, y: number): void { + static _KeyEvent_getTimestamp(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_setY(ptr, y) + return this._KeyEvent_getTimestamp(ptr) } throw new Error("Not implemented") } - static _MouseEvent_getStopPropagation(ptr: KPointer): KPointer { + static _KeyEvent_setTimestamp(ptr: KPointer, timestamp: KLong): void { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_getStopPropagation(ptr) + return this._KeyEvent_setTimestamp(ptr, timestamp) } throw new Error("Not implemented") } - static _MouseEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _KeyEvent_getStopPropagation(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._MouseEvent_setStopPropagation(ptr, thisArray, thisLength) + return this._KeyEvent_getStopPropagation(ptr) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_ctor(): KPointer { + static _KeyEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_ctor() + return this._KeyEvent_setStopPropagation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_getFinalizer(): KPointer { + static _KeyEvent_getIntentionCode(ptr: KPointer): int32 { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_getFinalizer() + return this._KeyEvent_getIntentionCode(ptr) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_getType(ptr: KPointer): int32 { + static _KeyEvent_setIntentionCode(ptr: KPointer, intentionCode: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_getType(ptr) + return this._KeyEvent_setIntentionCode(ptr, intentionCode) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_setType(ptr: KPointer, type: KInt): void { + static _KeyEvent_getUnicode(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_setType(ptr, type) + return this._KeyEvent_getUnicode(ptr) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_getX(ptr: KPointer): number { + static _KeyEvent_setUnicode(ptr: KPointer, unicode: number): void { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_getX(ptr) + return this._KeyEvent_setUnicode(ptr, unicode) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_setX(ptr: KPointer, x: number): void { + static _FocusAxisEvent_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_setX(ptr, x) + return this._FocusAxisEvent_ctor() } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_getY(ptr: KPointer): number { + static _FocusAxisEvent_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_getY(ptr) + return this._FocusAxisEvent_getFinalizer() } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_setY(ptr: KPointer, y: number): void { + static _FocusAxisEvent_getAxisMap(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_setY(ptr, y) + return this._FocusAxisEvent_getAxisMap(ptr) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_getDisplayX(ptr: KPointer): number { + static _FocusAxisEvent_setAxisMap(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_getDisplayX(ptr) + return this._FocusAxisEvent_setAxisMap(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_setDisplayX(ptr: KPointer, displayX: number): void { + static _FocusAxisEvent_getStopPropagation(ptr: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_setDisplayX(ptr, displayX) + return this._FocusAxisEvent_getStopPropagation(ptr) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_getDisplayY(ptr: KPointer): number { + static _FocusAxisEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_getDisplayY(ptr) + return this._FocusAxisEvent_setStopPropagation(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_setDisplayY(ptr: KPointer, displayY: number): void { + static _ProgressMask_ctor(value: number, total: number, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_setDisplayY(ptr, displayY) + return this._ProgressMask_ctor(value, total, thisArray, thisLength) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_getWindowX(ptr: KPointer): number { + static _ProgressMask_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_getWindowX(ptr) + return this._ProgressMask_getFinalizer() } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_setWindowX(ptr: KPointer, windowX: number): void { + static _ProgressMask_updateProgress(ptr: KPointer, value: number): void { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_setWindowX(ptr, windowX) + return this._ProgressMask_updateProgress(ptr, value) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_getWindowY(ptr: KPointer): number { + static _ProgressMask_updateColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_getWindowY(ptr) + return this._ProgressMask_updateColor(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _AccessibilityHoverEvent_setWindowY(ptr: KPointer, windowY: number): void { + static _ProgressMask_enableBreathingAnimation(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._AccessibilityHoverEvent_setWindowY(ptr, windowY) + return this._ProgressMask_enableBreathingAnimation(ptr, value) } throw new Error("Not implemented") } - static _TouchEvent_ctor(): KPointer { + static _Measurable_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_ctor() + return this._Measurable_ctor() } throw new Error("Not implemented") } - static _TouchEvent_getFinalizer(): KPointer { + static _Measurable_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_getFinalizer() + return this._Measurable_getFinalizer() } throw new Error("Not implemented") } - static _TouchEvent_getHistoricalPoints(ptr: KPointer): KInteropReturnBuffer { + static _Measurable_measure(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_getHistoricalPoints(ptr) + return this._Measurable_measure(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _TouchEvent_getType(ptr: KPointer): int32 { + static _Measurable_getMargin(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_getType(ptr) + return this._Measurable_getMargin(ptr) } throw new Error("Not implemented") } - static _TouchEvent_setType(ptr: KPointer, type: KInt): void { + static _Measurable_getPadding(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_setType(ptr, type) + return this._Measurable_getPadding(ptr) } throw new Error("Not implemented") } - static _TouchEvent_getTouches(ptr: KPointer): KInteropReturnBuffer { + static _Measurable_getBorderWidth(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_getTouches(ptr) + return this._Measurable_getBorderWidth(ptr) } throw new Error("Not implemented") } - static _TouchEvent_setTouches(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _Measurable_getUniqueId(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_setTouches(ptr, thisArray, thisLength) + return this._Measurable_getUniqueId(ptr) } throw new Error("Not implemented") } - static _TouchEvent_getChangedTouches(ptr: KPointer): KInteropReturnBuffer { + static _Measurable_setUniqueId(ptr: KPointer, uniqueId: number): void { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_getChangedTouches(ptr) + return this._Measurable_setUniqueId(ptr, uniqueId) } throw new Error("Not implemented") } - static _TouchEvent_setChangedTouches(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _View_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_setChangedTouches(ptr, thisArray, thisLength) + return this._View_ctor() } throw new Error("Not implemented") } - static _TouchEvent_getStopPropagation(ptr: KPointer): KPointer { + static _View_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_getStopPropagation(ptr) + return this._View_getFinalizer() } throw new Error("Not implemented") } - static _TouchEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _View_create(ptr: KPointer, value: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_setStopPropagation(ptr, thisArray, thisLength) + return this._View_create(ptr, value) } throw new Error("Not implemented") } - static _TouchEvent_getPreventDefault(ptr: KPointer): KPointer { + static _TextContentControllerBase_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_getPreventDefault(ptr) + return this._TextContentControllerBase_ctor() } throw new Error("Not implemented") } - static _TouchEvent_setPreventDefault(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _TextContentControllerBase_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._TouchEvent_setPreventDefault(ptr, thisArray, thisLength) + return this._TextContentControllerBase_getFinalizer() } throw new Error("Not implemented") } - static _PixelMapMock_ctor(): KPointer { + static _TextContentControllerBase_getCaretOffset(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._PixelMapMock_ctor() + return this._TextContentControllerBase_getCaretOffset(ptr) } throw new Error("Not implemented") } - static _PixelMapMock_getFinalizer(): KPointer { + static _TextContentControllerBase_getTextContentRect(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._PixelMapMock_getFinalizer() + return this._TextContentControllerBase_getTextContentRect(ptr) } throw new Error("Not implemented") } - static _PixelMapMock_release(ptr: KPointer): void { + static _TextContentControllerBase_getTextContentLineCount(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._PixelMapMock_release(ptr) + return this._TextContentControllerBase_getTextContentLineCount(ptr) } throw new Error("Not implemented") } - static _DragEvent_ctor(): KPointer { + static _TextContentControllerBase_addText(ptr: KPointer, text: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_ctor() + return this._TextContentControllerBase_addText(ptr, text, thisArray, thisLength) } throw new Error("Not implemented") } - static _DragEvent_getFinalizer(): KPointer { + static _TextContentControllerBase_deleteText(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getFinalizer() + return this._TextContentControllerBase_deleteText(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DragEvent_getDisplayX(ptr: KPointer): number { + static _TextContentControllerBase_getSelection(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getDisplayX(ptr) + return this._TextContentControllerBase_getSelection(ptr) } throw new Error("Not implemented") } - static _DragEvent_getDisplayY(ptr: KPointer): number { + static _TextContentControllerBase_clearPreviewText(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getDisplayY(ptr) + return this._TextContentControllerBase_clearPreviewText(ptr) } throw new Error("Not implemented") } - static _DragEvent_getWindowX(ptr: KPointer): number { + static _TextContentControllerBase_getText(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): string { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getWindowX(ptr) + return this._TextContentControllerBase_getText(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DragEvent_getWindowY(ptr: KPointer): number { + static _ChildrenMainSize_ctor(childDefaultSize: number): KPointer { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getWindowY(ptr) + return this._ChildrenMainSize_ctor(childDefaultSize) } throw new Error("Not implemented") } - static _DragEvent_getX(ptr: KPointer): number { + static _ChildrenMainSize_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getX(ptr) + return this._ChildrenMainSize_getFinalizer() } throw new Error("Not implemented") } - static _DragEvent_getY(ptr: KPointer): number { + static _ChildrenMainSize_splice(ptr: KPointer, start: number, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getY(ptr) + return this._ChildrenMainSize_splice(ptr, start, thisArray, thisLength) } throw new Error("Not implemented") } - static _DragEvent_setData(ptr: KPointer, unifiedData: KPointer): void { + static _ChildrenMainSize_update(ptr: KPointer, index: number, childSize: number): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_setData(ptr, unifiedData) + return this._ChildrenMainSize_update(ptr, index, childSize) } throw new Error("Not implemented") } - static _DragEvent_getData(ptr: KPointer): KPointer { + static _ChildrenMainSize_getChildDefaultSize(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getData(ptr) + return this._ChildrenMainSize_getChildDefaultSize(ptr) } throw new Error("Not implemented") } - static _DragEvent_getSummary(ptr: KPointer): KInteropReturnBuffer { + static _ChildrenMainSize_setChildDefaultSize(ptr: KPointer, childDefaultSize: number): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getSummary(ptr) + return this._ChildrenMainSize_setChildDefaultSize(ptr, childDefaultSize) } throw new Error("Not implemented") } - static _DragEvent_setResult(ptr: KPointer, dragResult: KInt): void { + static _UICommonEvent_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_setResult(ptr, dragResult) + return this._UICommonEvent_ctor() } throw new Error("Not implemented") } - static _DragEvent_getResult(ptr: KPointer): int32 { + static _UICommonEvent_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getResult(ptr) + return this._UICommonEvent_getFinalizer() } throw new Error("Not implemented") } - static _DragEvent_getPreviewRect(ptr: KPointer): KInteropReturnBuffer { + static _UICommonEvent_setOnClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getPreviewRect(ptr) + return this._UICommonEvent_setOnClick(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DragEvent_getVelocityX(ptr: KPointer): number { + static _UICommonEvent_setOnTouch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getVelocityX(ptr) + return this._UICommonEvent_setOnTouch(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DragEvent_getVelocityY(ptr: KPointer): number { + static _UICommonEvent_setOnAppear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getVelocityY(ptr) + return this._UICommonEvent_setOnAppear(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DragEvent_getVelocity(ptr: KPointer): number { + static _UICommonEvent_setOnDisappear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getVelocity(ptr) + return this._UICommonEvent_setOnDisappear(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DragEvent_getModifierKeyState(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { + static _UICommonEvent_setOnKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getModifierKeyState(ptr, thisArray, thisLength) + return this._UICommonEvent_setOnKeyEvent(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DragEvent_getDragBehavior(ptr: KPointer): int32 { + static _UICommonEvent_setOnFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getDragBehavior(ptr) + return this._UICommonEvent_setOnFocus(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DragEvent_setDragBehavior(ptr: KPointer, dragBehavior: KInt): void { + static _UICommonEvent_setOnBlur(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_setDragBehavior(ptr, dragBehavior) + return this._UICommonEvent_setOnBlur(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DragEvent_getUseCustomDropAnimation(ptr: KPointer): boolean { + static _UICommonEvent_setOnHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_getUseCustomDropAnimation(ptr) + return this._UICommonEvent_setOnHover(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _DragEvent_setUseCustomDropAnimation(ptr: KPointer, useCustomDropAnimation: KInt): void { + static _UICommonEvent_setOnMouse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._DragEvent_setUseCustomDropAnimation(ptr, useCustomDropAnimation) + return this._UICommonEvent_setOnMouse(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _KeyEvent_ctor(): KPointer { + static _UICommonEvent_setOnSizeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_ctor() + return this._UICommonEvent_setOnSizeChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _KeyEvent_getFinalizer(): KPointer { + static _UICommonEvent_setOnVisibleAreaApproximateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_getFinalizer() + return this._UICommonEvent_setOnVisibleAreaApproximateChange(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _KeyEvent_getModifierKeyState(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): boolean { + static _GestureModifier_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_getModifierKeyState(ptr, thisArray, thisLength) + return this._GestureModifier_ctor() } throw new Error("Not implemented") } - static _KeyEvent_getType(ptr: KPointer): int32 { + static _GestureModifier_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_getType(ptr) + return this._GestureModifier_getFinalizer() } throw new Error("Not implemented") } - static _KeyEvent_setType(ptr: KPointer, type: KInt): void { + static _GestureModifier_applyGesture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_setType(ptr, type) + return this._GestureModifier_applyGesture(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _KeyEvent_getKeyCode(ptr: KPointer): number { + static _NavPathInfo_ctor(name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_getKeyCode(ptr) + return this._NavPathInfo_ctor(name, thisArray, thisLength) } throw new Error("Not implemented") } - static _KeyEvent_setKeyCode(ptr: KPointer, keyCode: number): void { + static _NavPathInfo_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_setKeyCode(ptr, keyCode) + return this._NavPathInfo_getFinalizer() } throw new Error("Not implemented") } - static _KeyEvent_getKeyText(ptr: KPointer): string { + static _NavPathInfo_getName(ptr: KPointer): string { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_getKeyText(ptr) + return this._NavPathInfo_getName(ptr) } throw new Error("Not implemented") } - static _KeyEvent_setKeyText(ptr: KPointer, keyText: KStringPtr): void { + static _NavPathInfo_setName(ptr: KPointer, name: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_setKeyText(ptr, keyText) + return this._NavPathInfo_setName(ptr, name) } throw new Error("Not implemented") } - static _KeyEvent_getKeySource(ptr: KPointer): int32 { + static _NavPathInfo_getParam(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_getKeySource(ptr) + return this._NavPathInfo_getParam(ptr) } throw new Error("Not implemented") } - static _KeyEvent_setKeySource(ptr: KPointer, keySource: KInt): void { + static _NavPathInfo_setParam(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_setKeySource(ptr, keySource) + return this._NavPathInfo_setParam(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _KeyEvent_getDeviceId(ptr: KPointer): number { + static _NavPathInfo_getOnPop(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_getDeviceId(ptr) + return this._NavPathInfo_getOnPop(ptr) } throw new Error("Not implemented") } - static _KeyEvent_setDeviceId(ptr: KPointer, deviceId: number): void { + static _NavPathInfo_setOnPop(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_setDeviceId(ptr, deviceId) + return this._NavPathInfo_setOnPop(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _KeyEvent_getMetaKey(ptr: KPointer): number { + static _NavPathInfo_getIsEntry(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_getMetaKey(ptr) + return this._NavPathInfo_getIsEntry(ptr) } throw new Error("Not implemented") } - static _KeyEvent_setMetaKey(ptr: KPointer, metaKey: number): void { + static _NavPathInfo_setIsEntry(ptr: KPointer, isEntry: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_setMetaKey(ptr, metaKey) + return this._NavPathInfo_setIsEntry(ptr, isEntry) } throw new Error("Not implemented") } - static _KeyEvent_getTimestamp(ptr: KPointer): number { + static _NavPathInfo_getNavDestinationId(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_getTimestamp(ptr) + return this._NavPathInfo_getNavDestinationId(ptr) } throw new Error("Not implemented") } - static _KeyEvent_setTimestamp(ptr: KPointer, timestamp: KLong): void { + static _NavPathInfo_setNavDestinationId(ptr: KPointer, navDestinationId: KStringPtr): void { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_setTimestamp(ptr, timestamp) + return this._NavPathInfo_setNavDestinationId(ptr, navDestinationId) } throw new Error("Not implemented") } - static _KeyEvent_getStopPropagation(ptr: KPointer): KPointer { + static _NavPathStack_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_getStopPropagation(ptr) + return this._NavPathStack_ctor() } throw new Error("Not implemented") } - static _KeyEvent_setStopPropagation(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavPathStack_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_setStopPropagation(ptr, thisArray, thisLength) + return this._NavPathStack_getFinalizer() } throw new Error("Not implemented") } - static _KeyEvent_getIntentionCode(ptr: KPointer): int32 { + static _NavPathStack_pushPath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_getIntentionCode(ptr) + return this._NavPathStack_pushPath0(ptr, info, thisArray, thisLength) } throw new Error("Not implemented") } - static _KeyEvent_setIntentionCode(ptr: KPointer, intentionCode: KInt): void { + static _NavPathStack_pushPath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_setIntentionCode(ptr, intentionCode) + return this._NavPathStack_pushPath1(ptr, info, thisArray, thisLength) } throw new Error("Not implemented") } - static _KeyEvent_getUnicode(ptr: KPointer): KInteropReturnBuffer { + static _NavPathStack_pushDestination0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_getUnicode(ptr) + return this._NavPathStack_pushDestination0(ptr, info, thisArray, thisLength) } throw new Error("Not implemented") } - static _KeyEvent_setUnicode(ptr: KPointer, unicode: number): void { + static _NavPathStack_pushDestination1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._KeyEvent_setUnicode(ptr, unicode) + return this._NavPathStack_pushDestination1(ptr, info, thisArray, thisLength) } throw new Error("Not implemented") } - static _ProgressMask_ctor(value: number, total: number, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _NavPathStack_pushPathByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ProgressMask_ctor(value, total, thisArray, thisLength) + return this._NavPathStack_pushPathByName0(ptr, name, thisArray, thisLength) } throw new Error("Not implemented") } - static _ProgressMask_getFinalizer(): KPointer { + static _NavPathStack_pushPathByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ProgressMask_getFinalizer() + return this._NavPathStack_pushPathByName1(ptr, name, thisArray, thisLength) } throw new Error("Not implemented") } - static _ProgressMask_updateProgress(ptr: KPointer, value: number): void { + static _NavPathStack_pushDestinationByName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ProgressMask_updateProgress(ptr, value) + return this._NavPathStack_pushDestinationByName0(ptr, name, thisArray, thisLength) } throw new Error("Not implemented") } - static _ProgressMask_updateColor(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavPathStack_pushDestinationByName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._ProgressMask_updateColor(ptr, thisArray, thisLength) + return this._NavPathStack_pushDestinationByName1(ptr, name, thisArray, thisLength) } throw new Error("Not implemented") } - static _ProgressMask_enableBreathingAnimation(ptr: KPointer, value: KInt): void { + static _NavPathStack_replacePath0(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ProgressMask_enableBreathingAnimation(ptr, value) + return this._NavPathStack_replacePath0(ptr, info, thisArray, thisLength) } throw new Error("Not implemented") } - static _Measurable_ctor(): KPointer { + static _NavPathStack_replacePath1(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Measurable_ctor() + return this._NavPathStack_replacePath1(ptr, info, thisArray, thisLength) } throw new Error("Not implemented") } - static _Measurable_getFinalizer(): KPointer { + static _NavPathStack_replaceDestination(ptr: KPointer, info: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._Measurable_getFinalizer() + return this._NavPathStack_replaceDestination(ptr, info, thisArray, thisLength) } throw new Error("Not implemented") } - static _Measurable_measure(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + static _NavPathStack_replacePathByName(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._Measurable_measure(ptr, thisArray, thisLength) + return this._NavPathStack_replacePathByName(ptr, name, thisArray, thisLength) } throw new Error("Not implemented") } - static _Measurable_getMargin(ptr: KPointer): KInteropReturnBuffer { + static _NavPathStack_removeByIndexes(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): number { if ((this._LoadOnce()) == (true)) { - return this._Measurable_getMargin(ptr) + return this._NavPathStack_removeByIndexes(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _Measurable_getPadding(ptr: KPointer): KInteropReturnBuffer { + static _NavPathStack_removeByName(ptr: KPointer, name: KStringPtr): number { if ((this._LoadOnce()) == (true)) { - return this._Measurable_getPadding(ptr) + return this._NavPathStack_removeByName(ptr, name) } throw new Error("Not implemented") } - static _Measurable_getBorderWidth(ptr: KPointer): KInteropReturnBuffer { + static _NavPathStack_removeByNavDestinationId(ptr: KPointer, navDestinationId: KStringPtr): boolean { if ((this._LoadOnce()) == (true)) { - return this._Measurable_getBorderWidth(ptr) + return this._NavPathStack_removeByNavDestinationId(ptr, navDestinationId) } throw new Error("Not implemented") } - static _View_ctor(): KPointer { + static _NavPathStack_pop0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._View_ctor() + return this._NavPathStack_pop0(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _View_getFinalizer(): KPointer { + static _NavPathStack_pop1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._View_getFinalizer() + return this._NavPathStack_pop1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _View_create(ptr: KPointer, value: KPointer): KPointer { + static _NavPathStack_popToName0(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { if ((this._LoadOnce()) == (true)) { - return this._View_create(ptr, value) + return this._NavPathStack_popToName0(ptr, name, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextContentControllerBase_ctor(): KPointer { + static _NavPathStack_popToName1(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { if ((this._LoadOnce()) == (true)) { - return this._TextContentControllerBase_ctor() + return this._NavPathStack_popToName1(ptr, name, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextContentControllerBase_getFinalizer(): KPointer { + static _NavPathStack_popToIndex0(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextContentControllerBase_getFinalizer() + return this._NavPathStack_popToIndex0(ptr, index, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextContentControllerBase_getCaretOffset(ptr: KPointer): KInteropReturnBuffer { + static _NavPathStack_popToIndex1(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextContentControllerBase_getCaretOffset(ptr) + return this._NavPathStack_popToIndex1(ptr, index, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextContentControllerBase_getTextContentRect(ptr: KPointer): KInteropReturnBuffer { + static _NavPathStack_moveToTop(ptr: KPointer, name: KStringPtr, thisArray: KSerializerBuffer, thisLength: int32): number { if ((this._LoadOnce()) == (true)) { - return this._TextContentControllerBase_getTextContentRect(ptr) + return this._NavPathStack_moveToTop(ptr, name, thisArray, thisLength) } throw new Error("Not implemented") } - static _TextContentControllerBase_getTextContentLineCount(ptr: KPointer): number { + static _NavPathStack_moveIndexToTop(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._TextContentControllerBase_getTextContentLineCount(ptr) + return this._NavPathStack_moveIndexToTop(ptr, index, thisArray, thisLength) } throw new Error("Not implemented") } - static _ChildrenMainSize_ctor(childDefaultSize: number): KPointer { + static _NavPathStack_clear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._ChildrenMainSize_ctor(childDefaultSize) + return this._NavPathStack_clear(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _ChildrenMainSize_getFinalizer(): KPointer { + static _NavPathStack_getAllPathName(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._ChildrenMainSize_getFinalizer() + return this._NavPathStack_getAllPathName(ptr) } throw new Error("Not implemented") } - static _ChildrenMainSize_splice(ptr: KPointer, start: number, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavPathStack_getParamByIndex(ptr: KPointer, index: number): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._ChildrenMainSize_splice(ptr, start, thisArray, thisLength) + return this._NavPathStack_getParamByIndex(ptr, index) } throw new Error("Not implemented") } - static _ChildrenMainSize_update(ptr: KPointer, index: number, childSize: number): void { + static _NavPathStack_getParamByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._ChildrenMainSize_update(ptr, index, childSize) + return this._NavPathStack_getParamByName(ptr, name) } throw new Error("Not implemented") } - static _ChildrenMainSize_getChildDefaultSize(ptr: KPointer): number { + static _NavPathStack_getIndexByName(ptr: KPointer, name: KStringPtr): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._ChildrenMainSize_getChildDefaultSize(ptr) + return this._NavPathStack_getIndexByName(ptr, name) } throw new Error("Not implemented") } - static _ChildrenMainSize_setChildDefaultSize(ptr: KPointer, childDefaultSize: number): void { + static _NavPathStack_getParent(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._ChildrenMainSize_setChildDefaultSize(ptr, childDefaultSize) + return this._NavPathStack_getParent(ptr) } throw new Error("Not implemented") } - static _UICommonEvent_ctor(): KPointer { + static _NavPathStack_size(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_ctor() + return this._NavPathStack_size(ptr) } throw new Error("Not implemented") } - static _UICommonEvent_getFinalizer(): KPointer { + static _NavPathStack_disableAnimation(ptr: KPointer, value: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_getFinalizer() + return this._NavPathStack_disableAnimation(ptr, value) } throw new Error("Not implemented") } - static _UICommonEvent_setOnClick(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavPathStack_setInterception(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_setOnClick(ptr, thisArray, thisLength) + return this._NavPathStack_setInterception(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UICommonEvent_setOnTouch(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavPathStack_getPathStack(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_setOnTouch(ptr, thisArray, thisLength) + return this._NavPathStack_getPathStack(ptr) } throw new Error("Not implemented") } - static _UICommonEvent_setOnAppear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavPathStack_setPathStack(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_setOnAppear(ptr, thisArray, thisLength) + return this._NavPathStack_setPathStack(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UICommonEvent_setOnDisappear(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationTransitionProxy_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_setOnDisappear(ptr, thisArray, thisLength) + return this._NavigationTransitionProxy_ctor() } throw new Error("Not implemented") } - static _UICommonEvent_setOnKeyEvent(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationTransitionProxy_getFinalizer(): KPointer { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_setOnKeyEvent(ptr, thisArray, thisLength) + return this._NavigationTransitionProxy_getFinalizer() } throw new Error("Not implemented") } - static _UICommonEvent_setOnFocus(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationTransitionProxy_finishTransition(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_setOnFocus(ptr, thisArray, thisLength) + return this._NavigationTransitionProxy_finishTransition(ptr) } throw new Error("Not implemented") } - static _UICommonEvent_setOnBlur(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationTransitionProxy_cancelTransition(ptr: KPointer): void { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_setOnBlur(ptr, thisArray, thisLength) + return this._NavigationTransitionProxy_cancelTransition(ptr) } throw new Error("Not implemented") } - static _UICommonEvent_setOnHover(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationTransitionProxy_updateTransition(ptr: KPointer, progress: number): void { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_setOnHover(ptr, thisArray, thisLength) + return this._NavigationTransitionProxy_updateTransition(ptr, progress) } throw new Error("Not implemented") } - static _UICommonEvent_setOnMouse(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationTransitionProxy_getFrom(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_setOnMouse(ptr, thisArray, thisLength) + return this._NavigationTransitionProxy_getFrom(ptr) } throw new Error("Not implemented") } - static _UICommonEvent_setOnSizeChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationTransitionProxy_setFrom(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_setOnSizeChange(ptr, thisArray, thisLength) + return this._NavigationTransitionProxy_setFrom(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _UICommonEvent_setOnVisibleAreaApproximateChange(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationTransitionProxy_getTo(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._UICommonEvent_setOnVisibleAreaApproximateChange(ptr, thisArray, thisLength) + return this._NavigationTransitionProxy_getTo(ptr) } throw new Error("Not implemented") } - static _GestureModifier_ctor(): KPointer { + static _NavigationTransitionProxy_setTo(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._GestureModifier_ctor() + return this._NavigationTransitionProxy_setTo(ptr, thisArray, thisLength) } throw new Error("Not implemented") } - static _GestureModifier_getFinalizer(): KPointer { + static _NavigationTransitionProxy_getIsInteractive(ptr: KPointer): KInteropReturnBuffer { if ((this._LoadOnce()) == (true)) { - return this._GestureModifier_getFinalizer() + return this._NavigationTransitionProxy_getIsInteractive(ptr) } throw new Error("Not implemented") } - static _GestureModifier_applyGesture(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + static _NavigationTransitionProxy_setIsInteractive(ptr: KPointer, isInteractive: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._GestureModifier_applyGesture(ptr, thisArray, thisLength) + return this._NavigationTransitionProxy_setIsInteractive(ptr, isInteractive) } throw new Error("Not implemented") } @@ -16165,6 +18447,20 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _CanvasRenderer_getLetterSpacing(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_getLetterSpacing(ptr) + } + throw new Error("Not implemented") + } + static _CanvasRenderer_setLetterSpacing(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CanvasRenderer_setLetterSpacing(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } static _CanvasRenderer_getGlobalAlpha(ptr: KPointer): number { if ((this._LoadOnce()) == (true)) { @@ -17215,10 +19511,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _LongPressGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _LongPressGestureInterface_onActionCancel0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureInterface_onActionCancel0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LongPressGestureInterface_onActionCancel1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._LongPressGestureInterface_onActionCancel(ptr, thisArray, thisLength) + return this._LongPressGestureInterface_onActionCancel1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -17264,6 +19567,13 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _PanGestureOptions_getDistance(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureOptions_getDistance(ptr) + } + throw new Error("Not implemented") + } static _PanGestureInterface_ctor(thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { @@ -17299,10 +19609,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _PanGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _PanGestureInterface_onActionCancel0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureInterface_onActionCancel0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanGestureInterface_onActionCancel1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._PanGestureInterface_onActionCancel(ptr, thisArray, thisLength) + return this._PanGestureInterface_onActionCancel1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -17362,10 +19679,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _PinchGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _PinchGestureInterface_onActionCancel0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureInterface_onActionCancel0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PinchGestureInterface_onActionCancel1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._PinchGestureInterface_onActionCancel(ptr, thisArray, thisLength) + return this._PinchGestureInterface_onActionCancel1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -17404,10 +19728,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _RotationGestureInterface_onActionCancel(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _RotationGestureInterface_onActionCancel0(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._RotationGestureInterface_onActionCancel(ptr, thisArray, thisLength) + return this._RotationGestureInterface_onActionCancel0(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RotationGestureInterface_onActionCancel1(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureInterface_onActionCancel1(ptr, thisArray, thisLength) } throw new Error("Not implemented") } @@ -17551,6 +19882,139 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _GestureRecognizer_getFingerCount(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._GestureRecognizer_getFingerCount(ptr) + } + throw new Error("Not implemented") + } + static _GestureRecognizer_isFingerCountLimit(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._GestureRecognizer_isFingerCountLimit(ptr) + } + throw new Error("Not implemented") + } + static _TapRecognizer_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TapRecognizer_ctor() + } + throw new Error("Not implemented") + } + static _TapRecognizer_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TapRecognizer_getFinalizer() + } + throw new Error("Not implemented") + } + static _TapRecognizer_getTapCount(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._TapRecognizer_getTapCount(ptr) + } + throw new Error("Not implemented") + } + static _LongPressRecognizer_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressRecognizer_ctor() + } + throw new Error("Not implemented") + } + static _LongPressRecognizer_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressRecognizer_getFinalizer() + } + throw new Error("Not implemented") + } + static _LongPressRecognizer_isRepeat(ptr: KPointer): boolean { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressRecognizer_isRepeat(ptr) + } + throw new Error("Not implemented") + } + static _LongPressRecognizer_getDuration(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressRecognizer_getDuration(ptr) + } + throw new Error("Not implemented") + } + static _SwipeRecognizer_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeRecognizer_ctor() + } + throw new Error("Not implemented") + } + static _SwipeRecognizer_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeRecognizer_getFinalizer() + } + throw new Error("Not implemented") + } + static _SwipeRecognizer_getVelocityThreshold(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeRecognizer_getVelocityThreshold(ptr) + } + throw new Error("Not implemented") + } + static _SwipeRecognizer_getDirection(ptr: KPointer): int32 { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeRecognizer_getDirection(ptr) + } + throw new Error("Not implemented") + } + static _PinchRecognizer_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchRecognizer_ctor() + } + throw new Error("Not implemented") + } + static _PinchRecognizer_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchRecognizer_getFinalizer() + } + throw new Error("Not implemented") + } + static _PinchRecognizer_getDistance(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._PinchRecognizer_getDistance(ptr) + } + throw new Error("Not implemented") + } + static _RotationRecognizer_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationRecognizer_ctor() + } + throw new Error("Not implemented") + } + static _RotationRecognizer_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationRecognizer_getFinalizer() + } + throw new Error("Not implemented") + } + static _RotationRecognizer_getAngle(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._RotationRecognizer_getAngle(ptr) + } + throw new Error("Not implemented") + } static _PanRecognizer_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { @@ -17873,6 +20337,62 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _VirtualScrollOptions_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._VirtualScrollOptions_ctor() + } + throw new Error("Not implemented") + } + static _VirtualScrollOptions_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._VirtualScrollOptions_getFinalizer() + } + throw new Error("Not implemented") + } + static _VirtualScrollOptions_onLazyLoading(ptr: KPointer, index: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._VirtualScrollOptions_onLazyLoading(ptr, index) + } + throw new Error("Not implemented") + } + static _VirtualScrollOptions_onTotalCount(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._VirtualScrollOptions_onTotalCount(ptr) + } + throw new Error("Not implemented") + } + static _VirtualScrollOptions_getTotalCount(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._VirtualScrollOptions_getTotalCount(ptr) + } + throw new Error("Not implemented") + } + static _VirtualScrollOptions_setTotalCount(ptr: KPointer, totalCount: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._VirtualScrollOptions_setTotalCount(ptr, totalCount) + } + throw new Error("Not implemented") + } + static _VirtualScrollOptions_getReusable(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._VirtualScrollOptions_getReusable(ptr) + } + throw new Error("Not implemented") + } + static _VirtualScrollOptions_setReusable(ptr: KPointer, reusable: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._VirtualScrollOptions_setReusable(ptr, reusable) + } + throw new Error("Not implemented") + } static _RichEditorBaseController_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { @@ -17957,6 +20477,13 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _RichEditorBaseController_getCaretRect(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._RichEditorBaseController_getCaretRect(ptr) + } + throw new Error("Not implemented") + } static _RichEditorController_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { @@ -18370,10 +20897,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _SwiperController_changeIndex(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + static _SwiperController_changeIndex0(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperController_changeIndex0(ptr, index, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwiperController_changeIndex1(ptr: KPointer, index: number, thisArray: KSerializerBuffer, thisLength: int32): void { if ((this._LoadOnce()) == (true)) { - return this._SwiperController_changeIndex(ptr, index, thisArray, thisLength) + return this._SwiperController_changeIndex1(ptr, index, thisArray, thisLength) } throw new Error("Not implemented") } @@ -18384,6 +20918,13 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _SwiperController_preloadItems(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwiperController_preloadItems(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } static _SwiperContentTransitionProxy_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { @@ -19056,6 +21597,27 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _TextMenuItemId_getTRANSLATE(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_getTRANSLATE() + } + throw new Error("Not implemented") + } + static _TextMenuItemId_getSEARCH(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_getSEARCH() + } + throw new Error("Not implemented") + } + static _TextMenuItemId_getSHARE(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TextMenuItemId_getSHARE() + } + throw new Error("Not implemented") + } static _SubmitEvent_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { @@ -19371,6 +21933,13 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _FileSelectorParam_getMimeTypes(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._FileSelectorParam_getMimeTypes(ptr) + } + throw new Error("Not implemented") + } static _JsResult_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { @@ -20134,10 +22703,17 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _EventResult_setGestureEventResult(ptr: KPointer, result: KInt): void { + static _EventResult_setGestureEventResult0(ptr: KPointer, result: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._EventResult_setGestureEventResult0(ptr, result) + } + throw new Error("Not implemented") + } + static _EventResult_setGestureEventResult1(ptr: KPointer, result: KInt, stopPropagation: KInt): void { if ((this._LoadOnce()) == (true)) { - return this._EventResult_setGestureEventResult(ptr, result) + return this._EventResult_setGestureEventResult1(ptr, result, stopPropagation) } throw new Error("Not implemented") } @@ -20568,17 +23144,31 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _StyledString_marshalling(styledString: KPointer): KInteropReturnBuffer { + static _StyledString_marshalling0(styledString: KPointer, thisArray: KSerializerBuffer, thisLength: int32): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_marshalling0(styledString, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _StyledString_marshalling1(styledString: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._StyledString_marshalling1(styledString) + } + throw new Error("Not implemented") + } + static _StyledString_unmarshalling0(thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._StyledString_marshalling(styledString) + return this._StyledString_unmarshalling0(thisArray, thisLength) } throw new Error("Not implemented") } - static _StyledString_unmarshalling(thisArray: KSerializerBuffer, thisLength: int32): KPointer { + static _StyledString_unmarshalling1(thisArray: KSerializerBuffer, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { - return this._StyledString_unmarshalling(thisArray, thisLength) + return this._StyledString_unmarshalling1(thisArray, thisLength) } throw new Error("Not implemented") } @@ -20827,6 +23417,13 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _ParagraphStyle_getParagraphSpacing(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._ParagraphStyle_getParagraphSpacing(ptr) + } + throw new Error("Not implemented") + } static _LineHeightStyle_ctor(lineHeight: KPointer): KPointer { if ((this._LoadOnce()) == (true)) { @@ -21009,6 +23606,13 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _ImageAttachment_getColorFilter(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._ImageAttachment_getColorFilter(ptr) + } + throw new Error("Not implemented") + } static _CustomSpan_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { diff --git a/arkoala/arkui/src/generated/peers/CallbackDeserializeCall.ts b/arkoala/arkui/src/generated/peers/CallbackDeserializeCall.ts index 7c598c76f6..2778766910 100644 --- a/arkoala/arkui/src/generated/peers/CallbackDeserializeCall.ts +++ b/arkoala/arkui/src/generated/peers/CallbackDeserializeCall.ts @@ -21,16 +21,13 @@ import { Deserializer } from "./Deserializer" import { int32, float32, int64 } from "@koalaui/common" import { ResourceHolder, KInt, KStringPtr, wrapSystemCallback, KPointer, RuntimeType, KSerializerBuffer, NativeBuffer } from "@koalaui/interop" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, TouchTestInfo, TouchResult, CustomBuilder, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, ItemDragInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback } from "./../common" -import { AccessibilityHoverEvent, PixelMap, HoverEvent, ClickEvent, DragEvent, GestureEvent, BaseGestureEvent, GestureRecognizer, KeyEvent, MouseEvent, NavDestinationContext, NavigationTransitionProxy, WebResourceResponse, StyledString, SwiperContentTransitionProxy, TabContentTransitionProxy, TouchEvent, UIExtensionProxy, WebResourceRequest, SubmitEvent } from "./../AllMaterialized" -import { TextMenuItem, TextRange, DeleteValue, InsertValue, StyledStringChangeValue, EditableTextOnChangeCallback, PreviewText, OnDidChangeCallback } from "./../text_common" -import { CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo } from "./../styled_string" +import { AccessibilityCallback, AccessibilityFocusCallback, TouchTestInfo, TouchResult, CrownEvent, CustomBuilder, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, ItemDragInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, PopupStateChangeParam, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback } from "./../common" +import { AccessibilityHoverEvent, PixelMap, AxisEvent, HoverEvent, ClickEvent, DragEvent, FocusAxisEvent, GestureEvent, BaseGestureEvent, GestureRecognizer, KeyEvent, MouseEvent, NavDestinationContext, NavigationTransitionProxy, WebResourceResponse, StyledString, SwiperContentTransitionProxy, TabContentTransitionProxy, TouchEvent, UIExtensionProxy, WebResourceRequest, SubmitEvent } from "./../AllMaterialized" +import { TextMenuItem, TextRange, DeleteValue, EditableTextChangeValue, InsertValue, StyledStringChangeValue, EditableTextOnChangeCallback, PreviewText, TextChangeOptions, OnDidChangeCallback } from "./../text_common" +import { CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo, UserDataSpan, StyledStringMarshallCallback, StyledStringUnmarshallCallback } from "./../styled_string" import { ButtonTriggerClickCallback } from "./../button" import { Area, ResourceStr, SizeOptions, VoidCallback } from "./../units" import { CalendarRequestedData, CalendarSelectedDate } from "./../calendar" -import { LocationButtonOnClickResult } from "./../location_button" -import { PasteButtonOnClickResult } from "./../paste_button" -import { SaveButtonOnClickResult } from "./../save_button" import { ComputedBarAttribute } from "./../grid" import { CopyEvent, CutEvent, RichEditorChangeValue, RichEditorDeleteValue, RichEditorInsertValue, RichEditorRange, RichEditorSelection, RichEditorTextSpanResult, PasteEvent, MenuOnAppearCallback, PasteEventCallback, SubmitCallback } from "./../rich_editor" import { DatePickerResult } from "./../date_picker" @@ -43,7 +40,9 @@ import { FullscreenInfo, PlaybackInfo, PreparedInfo } from "./../video" import { GestureInfo, GestureJudgeResult } from "./../gesture" import { HitTestMode, Edge, ScrollSource } from "./../enums" import { Want } from "./../ohos.app.ability" +import { MarqueeState } from "./../text" import { NativeEmbedDataInfo, NativeEmbedTouchInfo, OnAlertEvent, OnAudioStateChangedEvent, OnBeforeUnloadEvent, OnClientAuthenticationEvent, OnConfirmEvent, OnConsoleEvent, OnContextMenuShowEvent, OnDataResubmittedEvent, OnDownloadStartEvent, OnErrorReceiveEvent, OnFaviconReceivedEvent, OnFirstContentfulPaintEvent, OnGeolocationShowEvent, OnHttpAuthRequestEvent, OnHttpErrorReceiveEvent, OnInterceptRequestEvent, OnLoadInterceptEvent, OnOverScrollEvent, OnPageBeginEvent, OnPageEndEvent, OnPageVisibleEvent, OnPermissionRequestEvent, OnProgressChangeEvent, OnPromptEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnResourceLoadEvent, OnScaleChangeEvent, OnScreenCaptureRequestEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, OnSslErrorEventReceiveEvent, OnTitleReceiveEvent, OnTouchIconUrlReceivedEvent, OnWindowNewEvent, WebKeyboardOptions, OnAdsBlockedCallback, AdsBlockedDetails, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, FirstMeaningfulPaint, OnFullScreenEnterCallback, FullScreenEnterEvent, OnIntelligentTrackingPreventionCallback, IntelligentTrackingPreventionDetails, OnLargestContentfulPaintCallback, LargestContentfulPaint, OnNativeEmbedVisibilityChangeCallback, NativeEmbedVisibilityInfo, OnNavigationEntryCommittedCallback, LoadCommittedDetails, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, RenderProcessNotRespondingData, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, ThreatType, OnSslErrorEventCallback, SslErrorEvent, OnViewportFitChangedCallback, ViewportFit, WebKeyboardCallback, WebKeyboardCallbackInfo } from "./../web" +import { NavDestinationActiveReason, NavDestinationTransition, NavDestinationTransitionDelegate } from "./../nav_destination" import { NavigationMode, NavigationTitleMode, NavigationAnimatedTransition, PopInfo, InterceptionModeCallback, InterceptionShowCallback, NavBar, NavigationOperation, NavContentInfo } from "./../navigation" import { PanelMode } from "./../panel" import { ScrollState, OnScrollVisibleContentChangeCallback, VisibleListContentInfo } from "./../list" @@ -56,17 +55,18 @@ import { Resource } from "./../resource" import { SurfaceRect, OnNativeLoadCallback } from "./../xcomponent" import { SwipeActionState } from "./../list_item" import { TerminationInfo } from "./../embedded_component" -import { TextPickerResult } from "./../text_picker" -import { TimePickerResult } from "./../time_picker" +import { TextPickerResult, OnTextPickerChangeCallback, TextPickerEnterSelectedAreaCallback, TextPickerScrollStopCallback } from "./../text_picker" +import { TimePickerResult, OnTimePickerChangeCallback } from "./../time_picker" import { WithThemeAttribute, WithThemeInterface, WithThemeOptions } from "./../with_theme" import { CommonConfiguration } from "./../arkui-wrapper-builder" -import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, SwiperAnimationEvent, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback } from "./../swiper" +import { ContentDidScrollCallback, ContentWillScrollCallback, SwiperContentWillScrollResult, OnSwiperAnimationEndCallback, SwiperAnimationEvent, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback } from "./../swiper" import { CustomNodeBuilder } from "./../custom_builder" import { ErrorCallback } from "./../ohos.base" import { BusinessError } from "./../base" import { GetItemMainSizeByIndex } from "./../water_flow" import { ImageCompleteCallback, ImageLoadResult } from "./../image_span" import { ImageErrorCallback, ImageError } from "./../image" +import { LocationButtonCallback, LocationButtonOnClickResult } from "./../location_button" import { MenuCallback, OnHoverCallback } from "./../sdk-stubs" import { NavExtender_OnUpdateStack } from "./../navigation_extender" import { OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback } from "./../alphabet_indexer" @@ -74,9 +74,14 @@ import { OnCheckboxChangeCallback } from "./../checkbox" import { OnCheckboxGroupChangeCallback, CheckboxGroupResult } from "./../checkboxgroup" import { OnFoldStatusChangeCallback, OnFoldStatusChangeInfo, OnHoverStatusChangeCallback, HoverEventParam } from "./../folder_stack" import { OnLinearIndicatorChangeCallback } from "./../linearindicator" +import { OnRadioChangeCallback } from "./../radio" +import { OnRatingChangeCallback } from "./../rating" +import { OnSelectCallback } from "./../select" import { PageTransitionCallback, RouteType } from "./../page_transition" +import { PasteButtonCallback, PasteButtonOnClickResult } from "./../paste_button" import { PluginErrorCallback, PluginErrorData } from "./../plugin_component" import { ReceiveCallback } from "./../arkui-external" +import { SaveButtonCallback, SaveButtonOnClickResult } from "./../save_button" import { SearchSubmitCallback } from "./../search" import { TextAreaSubmitCallback } from "./../text_area" export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deserializer): void { @@ -86,6 +91,12 @@ export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deseri let event: AccessibilityHoverEvent = (thisDeserializer.readAccessibilityHoverEvent() as AccessibilityHoverEvent) _call(isHover, event) } +export function deserializeAndCallAccessibilityFocusCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as AccessibilityFocusCallback) + let isFocus: boolean = thisDeserializer.readBoolean() + _call(isFocus) +} export function deserializeAndCallAsyncCallback_Array_TextMenuItem_Array_TextMenuItem(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((menuItems: Array) => Array)) @@ -182,6 +193,12 @@ export function deserializeAndCallCallback_Array_TouchTestInfo_TouchResult(thisD const _callResult = _call(value) _continuation(_callResult) } +export function deserializeAndCallCallback_AxisEvent_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: AxisEvent) => void)) + let parameter: AxisEvent = (thisDeserializer.readAxisEvent() as AxisEvent) + _call(parameter) +} export function deserializeAndCallCallback_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as (() => boolean)) @@ -202,6 +219,12 @@ export function deserializeAndCallCallback_Boolean_Void(thisDeserializer: Deseri let isVisible: boolean = thisDeserializer.readBoolean() _call(isVisible) } +export function deserializeAndCallCallback_Buffer_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value: NativeBuffer) => void)) + let value: NativeBuffer = (thisDeserializer.readBuffer() as NativeBuffer) + _call(value) +} export function deserializeAndCallCallback_CalendarRequestedData_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: CalendarRequestedData) => void)) @@ -214,27 +237,6 @@ export function deserializeAndCallCallback_CalendarSelectedDate_Void(thisDeseria let event: CalendarSelectedDate = thisDeserializer.readCalendarSelectedDate() _call(event) } -export function deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(thisDeserializer: Deserializer): void { - const _resourceId: int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent, result: LocationButtonOnClickResult) => void)) - let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) - let result: LocationButtonOnClickResult = thisDeserializer.readInt32() - _call(event, result) -} -export function deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(thisDeserializer: Deserializer): void { - const _resourceId: int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent, result: PasteButtonOnClickResult) => void)) - let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) - let result: PasteButtonOnClickResult = thisDeserializer.readInt32() - _call(event, result) -} -export function deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(thisDeserializer: Deserializer): void { - const _resourceId: int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent, result: SaveButtonOnClickResult) => void)) - let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) - let result: SaveButtonOnClickResult = thisDeserializer.readInt32() - _call(event, result) -} export function deserializeAndCallCallback_ClickEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent) => void)) @@ -253,6 +255,12 @@ export function deserializeAndCallCallback_CopyEvent_Void(thisDeserializer: Dese let parameter: CopyEvent = thisDeserializer.readCopyEvent() _call(parameter) } +export function deserializeAndCallCallback_CrownEvent_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: CrownEvent) => void)) + let parameter: CrownEvent = thisDeserializer.readCrownEvent() + _call(parameter) +} export function deserializeAndCallCallback_CustomBuilder_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: CustomBuilder) => void)) @@ -356,6 +364,14 @@ export function deserializeAndCallCallback_DrawContext_CustomSpanDrawInfo_Void(t let drawInfo: CustomSpanDrawInfo = thisDeserializer.readCustomSpanDrawInfo() _call(context, drawInfo) } +export function deserializeAndCallCallback_EditableTextChangeValue_Boolean(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: EditableTextChangeValue) => boolean)) + let parameter: EditableTextChangeValue = thisDeserializer.readEditableTextChangeValue() + let _continuation: ((isVisible: boolean) => void) = thisDeserializer.readCallback_Boolean_Void(true) + const _callResult = _call(parameter) + _continuation(_callResult) +} export function deserializeAndCallCallback_EnterKeyType_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((enterKey: EnterKeyType) => void)) @@ -373,6 +389,12 @@ export function deserializeAndCallCallback_Extender_OnProgress(thisDeserializer: let value: float32 = thisDeserializer.readFloat32() _call(value) } +export function deserializeAndCallCallback_FocusAxisEvent_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: FocusAxisEvent) => void)) + let parameter: FocusAxisEvent = (thisDeserializer.readFocusAxisEvent() as FocusAxisEvent) + _call(parameter) +} export function deserializeAndCallCallback_FormCallbackInfo_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: FormCallbackInfo) => void)) @@ -418,6 +440,12 @@ export function deserializeAndCallCallback_HitTestMode_Void(thisDeserializer: De let value: HitTestMode = thisDeserializer.readInt32() _call(value) } +export function deserializeAndCallCallback_HoverEvent_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: HoverEvent) => void)) + let parameter: HoverEvent = (thisDeserializer.readHoverEvent() as HoverEvent) + _call(parameter) +} export function deserializeAndCallCallback_InsertValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: InsertValue) => boolean)) @@ -562,6 +590,12 @@ export function deserializeAndCallCallback_Map_String_Object_Void(thisDeserializ let parameter: Map = parameter_buf _call(parameter) } +export function deserializeAndCallCallback_MarqueeState_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: MarqueeState) => void)) + let parameter: MarqueeState = thisDeserializer.readInt32() + _call(parameter) +} export function deserializeAndCallCallback_MouseEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: MouseEvent) => void)) @@ -580,6 +614,12 @@ export function deserializeAndCallCallback_NativeEmbedTouchInfo_Void(thisDeseria let event: NativeEmbedTouchInfo = thisDeserializer.readNativeEmbedTouchInfo() _call(event) } +export function deserializeAndCallCallback_NavDestinationActiveReason_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: NavDestinationActiveReason) => void)) + let parameter: NavDestinationActiveReason = thisDeserializer.readInt32() + _call(parameter) +} export function deserializeAndCallCallback_NavDestinationContext_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: NavDestinationContext) => void)) @@ -698,6 +738,12 @@ export function deserializeAndCallCallback_Number_Void(thisDeserializer: Deseria let index: number = (thisDeserializer.readNumber() as number) _call(index) } +export function deserializeAndCallCallback_Object_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: Object) => void)) + let parameter: Object = (thisDeserializer.readObject() as Object) + _call(parameter) +} export function deserializeAndCallCallback_OffsetResult_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: OffsetResult) => void)) @@ -946,6 +992,23 @@ export function deserializeAndCallCallback_OnWindowNewEvent_Void(thisDeserialize let parameter: OnWindowNewEvent = thisDeserializer.readOnWindowNewEvent() _call(parameter) } +export function deserializeAndCallCallback_Opt_Array_NavDestinationTransition_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value: Array | undefined) => void)) + const value_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let value_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) + { + const value_buf__length: int32 = thisDeserializer.readInt32() + let value_buf_: Array = new Array(value_buf__length) + for (let value_buf__i = 0; value_buf__i < value_buf__length; value_buf__i++) { + value_buf_[value_buf__i] = thisDeserializer.readNavDestinationTransition() + } + value_buf = value_buf_ + } + let value: Array | undefined|undefined = value_buf + _call(value) +} export function deserializeAndCallCallback_Opt_Array_String_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((error?: Array | undefined) => void)) @@ -1145,6 +1208,19 @@ export function deserializeAndCallCallback_String_Number_Void(thisDeserializer: let index: number = (thisDeserializer.readNumber() as number) _call(value, index) } +export function deserializeAndCallCallback_String_Opt_Object_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((name: string, param: Object | undefined) => void)) + let name: string = (thisDeserializer.readString() as string) + const param_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let param_buf: Object | undefined|undefined + if ((RuntimeType.UNDEFINED) != (param_buf_runtimeType)) + { + param_buf = (thisDeserializer.readObject() as Object) + } + let param: Object | undefined|undefined = param_buf + _call(name, param) +} export function deserializeAndCallCallback_String_PasteEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: string, event: PasteEvent) => void)) @@ -1159,13 +1235,6 @@ export function deserializeAndCallCallback_String_SurfaceRect_Void(thisDeseriali let rect: SurfaceRect = thisDeserializer.readSurfaceRect() _call(surfaceId, rect) } -export function deserializeAndCallCallback_String_Unknown_Void(thisDeserializer: Deserializer): void { - const _resourceId: int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((name: string, param: unknown) => void)) - let name: string = (thisDeserializer.readString() as string) - let param: unknown = (thisDeserializer.readObject() as any) - _call(name, param) -} export function deserializeAndCallCallback_String_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((breakpoints: string) => void)) @@ -1180,6 +1249,12 @@ export function deserializeAndCallCallback_StyledStringChangeValue_Boolean(thisD const _callResult = _call(parameter) _continuation(_callResult) } +export function deserializeAndCallCallback_StyledStringMarshallingValue_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value: UserDataSpan) => void)) + let value: UserDataSpan = thisDeserializer.readUserDataSpan() + _call(value) +} export function deserializeAndCallCallback_SwipeActionState_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((state: SwipeActionState) => void)) @@ -1403,6 +1478,14 @@ export function deserializeAndCallContentDidScrollCallback(thisDeserializer: Des let mainAxisLength: number = (thisDeserializer.readNumber() as number) _call(selectedIndex, index, position, mainAxisLength) } +export function deserializeAndCallContentWillScrollCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ContentWillScrollCallback) + let result: SwiperContentWillScrollResult = thisDeserializer.readSwiperContentWillScrollResult() + let _continuation: ((isVisible: boolean) => void) = thisDeserializer.readCallback_Boolean_Void(true) + const _callResult = _call(result) + _continuation(_callResult) +} export function deserializeAndCallContext_getGroupDir_Callback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as Context_getGroupDir_Callback) @@ -1428,7 +1511,14 @@ export function deserializeAndCallEditableTextOnChangeCallback(thisDeserializer: previewText_buf = thisDeserializer.readPreviewText() } let previewText: PreviewText | undefined|undefined = previewText_buf - _call(value, previewText) + const options_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let options_buf: TextChangeOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (options_buf_runtimeType)) + { + options_buf = thisDeserializer.readTextChangeOptions() + } + let options: TextChangeOptions | undefined|undefined = options_buf + _call(value, previewText, options) } export function deserializeAndCallErrorCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() @@ -1539,6 +1629,20 @@ export function deserializeAndCallListAttribute_onItemDragStart_event_type(thisD const _callResult = _call(event, itemIndex) _continuation(_callResult) } +export function deserializeAndCallLocationButtonCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as LocationButtonCallback) + let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) + let result: LocationButtonOnClickResult = thisDeserializer.readInt32() + const error_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let error_buf: BusinessError | undefined|undefined + if ((RuntimeType.UNDEFINED) != (error_buf_runtimeType)) + { + error_buf = thisDeserializer.readBusinessError() + } + let error: BusinessError | undefined|undefined = error_buf + _call(event, result, error) +} export function deserializeAndCallMenuCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as MenuCallback) @@ -1551,6 +1655,15 @@ export function deserializeAndCallMenuOnAppearCallback(thisDeserializer: Deseria let end: number = (thisDeserializer.readNumber() as number) _call(start, end) } +export function deserializeAndCallNavDestinationTransitionDelegate(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as NavDestinationTransitionDelegate) + let operation: NavigationOperation = thisDeserializer.readInt32() + let isEnter: boolean = thisDeserializer.readBoolean() + let _continuation: ((value: Array | undefined) => void) = thisDeserializer.readCallback_Opt_Array_NavDestinationTransition_Void(true) + const _callResult = _call(operation, isEnter) + _continuation(_callResult) +} export function deserializeAndCallNavExtender_OnUpdateStack(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as NavExtender_OnUpdateStack) @@ -1614,6 +1727,19 @@ export function deserializeAndCallOnDidChangeCallback(thisDeserializer: Deserial let rangeAfter: TextRange = thisDeserializer.readTextRange() _call(rangeBefore, rangeAfter) } +export function deserializeAndCallOnDragEventCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnDragEventCallback) + let event: DragEvent = (thisDeserializer.readDragEvent() as DragEvent) + const extraParams_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let extraParams_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (extraParams_buf_runtimeType)) + { + extraParams_buf = (thisDeserializer.readString() as string) + } + let extraParams: string | undefined|undefined = extraParams_buf + _call(event, extraParams) +} export function deserializeAndCallOnFirstMeaningfulPaintCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnFirstMeaningfulPaintCallback) @@ -1708,6 +1834,18 @@ export function deserializeAndCallOnPasteCallback(thisDeserializer: Deserializer let event: PasteEvent = thisDeserializer.readPasteEvent() _call(content, event) } +export function deserializeAndCallOnRadioChangeCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnRadioChangeCallback) + let isChecked: boolean = thisDeserializer.readBoolean() + _call(isChecked) +} +export function deserializeAndCallOnRatingChangeCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnRatingChangeCallback) + let rating: number = (thisDeserializer.readNumber() as number) + _call(rating) +} export function deserializeAndCallOnRenderProcessNotRespondingCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnRenderProcessNotRespondingCallback) @@ -1754,6 +1892,13 @@ export function deserializeAndCallOnScrollVisibleContentChangeCallback(thisDeser let end: VisibleListContentInfo = thisDeserializer.readVisibleListContentInfo() _call(start, end) } +export function deserializeAndCallOnSelectCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnSelectCallback) + let index: number = (thisDeserializer.readNumber() as number) + let selectStr: string = (thisDeserializer.readString() as string) + _call(index, selectStr) +} export function deserializeAndCallOnSslErrorEventCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSslErrorEventCallback) @@ -1820,6 +1965,45 @@ export function deserializeAndCallOnTabsGestureSwipeCallback(thisDeserializer: D let extraInfo: TabsAnimationEvent = thisDeserializer.readTabsAnimationEvent() _call(index, extraInfo) } +export function deserializeAndCallOnTextPickerChangeCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnTextPickerChangeCallback) + const selectItem_buf_selector: number = thisDeserializer.readInt8() + let selectItem_buf: string | Array | undefined|undefined + if (selectItem_buf_selector == 0) { + selectItem_buf = (thisDeserializer.readString() as string) + } + else if (selectItem_buf_selector == 1) { + const selectItem_buf_u_length: int32 = thisDeserializer.readInt32() + let selectItem_buf_u: Array = new Array(selectItem_buf_u_length) + for (let selectItem_buf_u_i = 0; selectItem_buf_u_i < selectItem_buf_u_length; selectItem_buf_u_i++) { + selectItem_buf_u[selectItem_buf_u_i] = (thisDeserializer.readString() as string) + } + selectItem_buf = selectItem_buf_u + } + else { + throw new Error("One of the branches for selectItem_buf has to be chosen through deserialisation.") + } + let selectItem: string | Array = (selectItem_buf as string | Array) + const index_buf_selector: number = thisDeserializer.readInt8() + let index_buf: number | Array | undefined|undefined + if (index_buf_selector == 0) { + index_buf = (thisDeserializer.readNumber() as number) + } + else if (index_buf_selector == 1) { + const index_buf_u_length: int32 = thisDeserializer.readInt32() + let index_buf_u: Array = new Array(index_buf_u_length) + for (let index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u[index_buf_u_i] = (thisDeserializer.readNumber() as number) + } + index_buf = index_buf_u + } + else { + throw new Error("One of the branches for index_buf has to be chosen through deserialisation.") + } + let index: number | Array = (index_buf as number | Array) + _call(selectItem, index) +} export function deserializeAndCallOnTextSelectionChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnTextSelectionChangeCallback) @@ -1827,6 +2011,12 @@ export function deserializeAndCallOnTextSelectionChangeCallback(thisDeserializer let selectionEnd: number = (thisDeserializer.readNumber() as number) _call(selectionStart, selectionEnd) } +export function deserializeAndCallOnTimePickerChangeCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as OnTimePickerChangeCallback) + let result: TimePickerResult = thisDeserializer.readTimePickerResult() + _call(result) +} export function deserializeAndCallOnViewportFitChangedCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnViewportFitChangedCallback) @@ -1840,6 +2030,20 @@ export function deserializeAndCallPageTransitionCallback(thisDeserializer: Deser let progress: number = (thisDeserializer.readNumber() as number) _call(type, progress) } +export function deserializeAndCallPasteButtonCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as PasteButtonCallback) + let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) + let result: PasteButtonOnClickResult = thisDeserializer.readInt32() + const error_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let error_buf: BusinessError | undefined|undefined + if ((RuntimeType.UNDEFINED) != (error_buf_runtimeType)) + { + error_buf = thisDeserializer.readBusinessError() + } + let error: BusinessError | undefined|undefined = error_buf + _call(event, result, error) +} export function deserializeAndCallPasteEventCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as PasteEventCallback) @@ -1858,6 +2062,12 @@ export function deserializeAndCallPluginErrorCallback(thisDeserializer: Deserial let info: PluginErrorData = thisDeserializer.readPluginErrorData() _call(info) } +export function deserializeAndCallPopupStateChangeCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as PopupStateChangeCallback) + let event: PopupStateChangeParam = thisDeserializer.readPopupStateChangeParam() + _call(event) +} export function deserializeAndCallReceiveCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ReceiveCallback) @@ -1890,6 +2100,27 @@ export function deserializeAndCallRestrictedWorker_onmessage_Callback(thisDeseri let event: MessageEvents = thisDeserializer.readMessageEvents() _call(event) } +export function deserializeAndCallReuseIdCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ReuseIdCallback) + let _continuation: ((breakpoints: string) => void) = thisDeserializer.readCallback_String_Void(true) + const _callResult = _call() + _continuation(_callResult) +} +export function deserializeAndCallSaveButtonCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as SaveButtonCallback) + let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) + let result: SaveButtonOnClickResult = thisDeserializer.readInt32() + const error_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let error_buf: BusinessError | undefined|undefined + if ((RuntimeType.UNDEFINED) != (error_buf_runtimeType)) + { + error_buf = thisDeserializer.readBusinessError() + } + let error: BusinessError | undefined|undefined = error_buf + _call(event, result, error) +} export function deserializeAndCallScrollOnScrollCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ScrollOnScrollCallback) @@ -1950,6 +2181,22 @@ export function deserializeAndCallSliderTriggerChangeCallback(thisDeserializer: let mode: SliderChangeMode = thisDeserializer.readInt32() _call(value, mode) } +export function deserializeAndCallStyledStringMarshallCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as StyledStringMarshallCallback) + let marshallableVal: UserDataSpan = thisDeserializer.readUserDataSpan() + let _continuation: ((value: NativeBuffer) => void) = thisDeserializer.readCallback_Buffer_Void(true) + const _callResult = _call(marshallableVal) + _continuation(_callResult) +} +export function deserializeAndCallStyledStringUnmarshallCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as StyledStringUnmarshallCallback) + let buf: NativeBuffer = (thisDeserializer.readBuffer() as NativeBuffer) + let _continuation: ((value: UserDataSpan) => void) = thisDeserializer.readCallback_StyledStringMarshallingValue_Void(true) + const _callResult = _call(buf) + _continuation(_callResult) +} export function deserializeAndCallSubmitCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as SubmitCallback) @@ -1979,6 +2226,84 @@ export function deserializeAndCallTextAreaSubmitCallback(thisDeserializer: Deser let event: SubmitEvent | undefined|undefined = event_buf _call(enterKeyType, event) } +export function deserializeAndCallTextPickerEnterSelectedAreaCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as TextPickerEnterSelectedAreaCallback) + const value_buf_selector: number = thisDeserializer.readInt8() + let value_buf: string | Array | undefined|undefined + if (value_buf_selector == 0) { + value_buf = (thisDeserializer.readString() as string) + } + else if (value_buf_selector == 1) { + const value_buf_u_length: int32 = thisDeserializer.readInt32() + let value_buf_u: Array = new Array(value_buf_u_length) + for (let value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { + value_buf_u[value_buf_u_i] = (thisDeserializer.readString() as string) + } + value_buf = value_buf_u + } + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + } + let value: string | Array = (value_buf as string | Array) + const index_buf_selector: number = thisDeserializer.readInt8() + let index_buf: number | Array | undefined|undefined + if (index_buf_selector == 0) { + index_buf = (thisDeserializer.readNumber() as number) + } + else if (index_buf_selector == 1) { + const index_buf_u_length: int32 = thisDeserializer.readInt32() + let index_buf_u: Array = new Array(index_buf_u_length) + for (let index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u[index_buf_u_i] = (thisDeserializer.readNumber() as number) + } + index_buf = index_buf_u + } + else { + throw new Error("One of the branches for index_buf has to be chosen through deserialisation.") + } + let index: number | Array = (index_buf as number | Array) + _call(value, index) +} +export function deserializeAndCallTextPickerScrollStopCallback(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as TextPickerScrollStopCallback) + const value_buf_selector: number = thisDeserializer.readInt8() + let value_buf: string | Array | undefined|undefined + if (value_buf_selector == 0) { + value_buf = (thisDeserializer.readString() as string) + } + else if (value_buf_selector == 1) { + const value_buf_u_length: int32 = thisDeserializer.readInt32() + let value_buf_u: Array = new Array(value_buf_u_length) + for (let value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { + value_buf_u[value_buf_u_i] = (thisDeserializer.readString() as string) + } + value_buf = value_buf_u + } + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + } + let value: string | Array = (value_buf as string | Array) + const index_buf_selector: number = thisDeserializer.readInt8() + let index_buf: number | Array | undefined|undefined + if (index_buf_selector == 0) { + index_buf = (thisDeserializer.readNumber() as number) + } + else if (index_buf_selector == 1) { + const index_buf_u_length: int32 = thisDeserializer.readInt32() + let index_buf_u: Array = new Array(index_buf_u_length) + for (let index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u[index_buf_u_i] = (thisDeserializer.readNumber() as number) + } + index_buf = index_buf_u + } + else { + throw new Error("One of the branches for index_buf has to be chosen through deserialisation.") + } + let index: number | Array = (index_buf as number | Array) + _call(value, index) +} export function deserializeAndCallTextTimerAttribute_onTimer_event_type(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((utc: number, elapsedTime: number) => void)) @@ -2113,6 +2438,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void const kind: int32 = thisDeserializer.readInt32() switch (kind) { case 589030517/*CallbackKind.Kind_AccessibilityCallback*/: return deserializeAndCallAccessibilityCallback(thisDeserializer); + case 1715445305/*CallbackKind.Kind_AccessibilityFocusCallback*/: return deserializeAndCallAccessibilityFocusCallback(thisDeserializer); case 300202685/*CallbackKind.Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem*/: return deserializeAndCallAsyncCallback_Array_TextMenuItem_Array_TextMenuItem(thisDeserializer); case -1689064068/*CallbackKind.Kind_AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics*/: return deserializeAndCallAsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics(thisDeserializer); case 1289587365/*CallbackKind.Kind_AsyncCallback_image_PixelMap_Void*/: return deserializeAndCallAsyncCallback_image_PixelMap_Void(thisDeserializer); @@ -2123,17 +2449,17 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -440782244/*CallbackKind.Kind_Callback_Array_String_Void*/: return deserializeAndCallCallback_Array_String_Void(thisDeserializer); case 528588498/*CallbackKind.Kind_Callback_Array_TextMenuItem_Void*/: return deserializeAndCallCallback_Array_TextMenuItem_Void(thisDeserializer); case -547276916/*CallbackKind.Kind_Callback_Array_TouchTestInfo_TouchResult*/: return deserializeAndCallCallback_Array_TouchTestInfo_TouchResult(thisDeserializer); + case 109087936/*CallbackKind.Kind_Callback_AxisEvent_Void*/: return deserializeAndCallCallback_AxisEvent_Void(thisDeserializer); case -1541107680/*CallbackKind.Kind_Callback_Boolean*/: return deserializeAndCallCallback_Boolean(thisDeserializer); case -916602978/*CallbackKind.Kind_Callback_Boolean_HoverEvent_Void*/: return deserializeAndCallCallback_Boolean_HoverEvent_Void(thisDeserializer); case 313269291/*CallbackKind.Kind_Callback_Boolean_Void*/: return deserializeAndCallCallback_Boolean_Void(thisDeserializer); + case 908731311/*CallbackKind.Kind_Callback_Buffer_Void*/: return deserializeAndCallCallback_Buffer_Void(thisDeserializer); case 1074619005/*CallbackKind.Kind_Callback_CalendarRequestedData_Void*/: return deserializeAndCallCallback_CalendarRequestedData_Void(thisDeserializer); case -289198976/*CallbackKind.Kind_Callback_CalendarSelectedDate_Void*/: return deserializeAndCallCallback_CalendarSelectedDate_Void(thisDeserializer); - case -1189087745/*CallbackKind.Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void*/: return deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(thisDeserializer); - case 659292561/*CallbackKind.Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void*/: return deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(thisDeserializer); - case 846787331/*CallbackKind.Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void*/: return deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(thisDeserializer); case 1097178637/*CallbackKind.Kind_Callback_ClickEvent_Void*/: return deserializeAndCallCallback_ClickEvent_Void(thisDeserializer); case -1270343661/*CallbackKind.Kind_Callback_ComputedBarAttribute_Void*/: return deserializeAndCallCallback_ComputedBarAttribute_Void(thisDeserializer); case -120437466/*CallbackKind.Kind_Callback_CopyEvent_Void*/: return deserializeAndCallCallback_CopyEvent_Void(thisDeserializer); + case -827253372/*CallbackKind.Kind_Callback_CrownEvent_Void*/: return deserializeAndCallCallback_CrownEvent_Void(thisDeserializer); case -721106019/*CallbackKind.Kind_Callback_CustomBuilder_Void*/: return deserializeAndCallCallback_CustomBuilder_Void(thisDeserializer); case 1362306791/*CallbackKind.Kind_Callback_CustomSpanMetrics_Void*/: return deserializeAndCallCallback_CustomSpanMetrics_Void(thisDeserializer); case -1875695871/*CallbackKind.Kind_Callback_CutEvent_Void*/: return deserializeAndCallCallback_CutEvent_Void(thisDeserializer); @@ -2148,9 +2474,11 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 480978023/*CallbackKind.Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo*/: return deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(thisDeserializer); case -17167687/*CallbackKind.Kind_Callback_DragEvent_String_Void*/: return deserializeAndCallCallback_DragEvent_String_Void(thisDeserializer); case -2106022018/*CallbackKind.Kind_Callback_DrawContext_CustomSpanDrawInfo_Void*/: return deserializeAndCallCallback_DrawContext_CustomSpanDrawInfo_Void(thisDeserializer); + case -602545319/*CallbackKind.Kind_Callback_EditableTextChangeValue_Boolean*/: return deserializeAndCallCallback_EditableTextChangeValue_Boolean(thisDeserializer); case -1802605016/*CallbackKind.Kind_Callback_EnterKeyType_Void*/: return deserializeAndCallCallback_EnterKeyType_Void(thisDeserializer); case -733525640/*CallbackKind.Kind_Callback_Extender_OnFinish*/: return deserializeAndCallCallback_Extender_OnFinish(thisDeserializer); case 1264236374/*CallbackKind.Kind_Callback_Extender_OnProgress*/: return deserializeAndCallCallback_Extender_OnProgress(thisDeserializer); + case 394781580/*CallbackKind.Kind_Callback_FocusAxisEvent_Void*/: return deserializeAndCallCallback_FocusAxisEvent_Void(thisDeserializer); case 758395742/*CallbackKind.Kind_Callback_FormCallbackInfo_Void*/: return deserializeAndCallCallback_FormCallbackInfo_Void(thisDeserializer); case 583294398/*CallbackKind.Kind_Callback_FullscreenInfo_Void*/: return deserializeAndCallCallback_FullscreenInfo_Void(thisDeserializer); case -1143194492/*CallbackKind.Kind_Callback_GestureEvent_Void*/: return deserializeAndCallCallback_GestureEvent_Void(thisDeserializer); @@ -2158,6 +2486,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -684588584/*CallbackKind.Kind_Callback_GestureJudgeResult_Void*/: return deserializeAndCallCallback_GestureJudgeResult_Void(thisDeserializer); case 776202910/*CallbackKind.Kind_Callback_GestureRecognizer_Void*/: return deserializeAndCallCallback_GestureRecognizer_Void(thisDeserializer); case -1755111025/*CallbackKind.Kind_Callback_HitTestMode_Void*/: return deserializeAndCallCallback_HitTestMode_Void(thisDeserializer); + case -1576788379/*CallbackKind.Kind_Callback_HoverEvent_Void*/: return deserializeAndCallCallback_HoverEvent_Void(thisDeserializer); case -383025085/*CallbackKind.Kind_Callback_InsertValue_Boolean*/: return deserializeAndCallCallback_InsertValue_Boolean(thisDeserializer); case -1121207885/*CallbackKind.Kind_Callback_InsertValue_Void*/: return deserializeAndCallCallback_InsertValue_Void(thisDeserializer); case -1627362945/*CallbackKind.Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void*/: return deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Void(thisDeserializer); @@ -2174,9 +2503,11 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 222742448/*CallbackKind.Kind_Callback_Literal_Object_detail_Boolean*/: return deserializeAndCallCallback_Literal_Object_detail_Boolean(thisDeserializer); case -122223466/*CallbackKind.Kind_Callback_Literal_String_plainText_Void*/: return deserializeAndCallCallback_Literal_String_plainText_Void(thisDeserializer); case -1146723341/*CallbackKind.Kind_Callback_Map_String_Object_Void*/: return deserializeAndCallCallback_Map_String_Object_Void(thisDeserializer); + case -716263454/*CallbackKind.Kind_Callback_MarqueeState_Void*/: return deserializeAndCallCallback_MarqueeState_Void(thisDeserializer); case -1382640094/*CallbackKind.Kind_Callback_MouseEvent_Void*/: return deserializeAndCallCallback_MouseEvent_Void(thisDeserializer); case 477481563/*CallbackKind.Kind_Callback_NativeEmbedDataInfo_Void*/: return deserializeAndCallCallback_NativeEmbedDataInfo_Void(thisDeserializer); case -1090303858/*CallbackKind.Kind_Callback_NativeEmbedTouchInfo_Void*/: return deserializeAndCallCallback_NativeEmbedTouchInfo_Void(thisDeserializer); + case 634825762/*CallbackKind.Kind_Callback_NavDestinationActiveReason_Void*/: return deserializeAndCallCallback_NavDestinationActiveReason_Void(thisDeserializer); case -1642725259/*CallbackKind.Kind_Callback_NavDestinationContext_Void*/: return deserializeAndCallCallback_NavDestinationContext_Void(thisDeserializer); case 960690982/*CallbackKind.Kind_Callback_NavigationMode_Void*/: return deserializeAndCallCallback_NavigationMode_Void(thisDeserializer); case 1685437830/*CallbackKind.Kind_Callback_NavigationTitleMode_Void*/: return deserializeAndCallCallback_NavigationTitleMode_Void(thisDeserializer); @@ -2193,6 +2524,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 1602877440/*CallbackKind.Kind_Callback_Number_Tuple_Number_Number*/: return deserializeAndCallCallback_Number_Tuple_Number_Number(thisDeserializer); case 1618565120/*CallbackKind.Kind_Callback_Number_Tuple_Number_Number_Number_Number*/: return deserializeAndCallCallback_Number_Tuple_Number_Number_Number_Number(thisDeserializer); case 36519084/*CallbackKind.Kind_Callback_Number_Void*/: return deserializeAndCallCallback_Number_Void(thisDeserializer); + case -1782529222/*CallbackKind.Kind_Callback_Object_Void*/: return deserializeAndCallCallback_Object_Void(thisDeserializer); case 1295952075/*CallbackKind.Kind_Callback_OffsetResult_Void*/: return deserializeAndCallCallback_OffsetResult_Void(thisDeserializer); case 806070428/*CallbackKind.Kind_Callback_OnAlertEvent_Boolean*/: return deserializeAndCallCallback_OnAlertEvent_Boolean(thisDeserializer); case -1559789631/*CallbackKind.Kind_Callback_OnAudioStateChangedEvent_Void*/: return deserializeAndCallCallback_OnAudioStateChangedEvent_Void(thisDeserializer); @@ -2231,6 +2563,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -318085495/*CallbackKind.Kind_Callback_OnTitleReceiveEvent_Void*/: return deserializeAndCallCallback_OnTitleReceiveEvent_Void(thisDeserializer); case 1657893064/*CallbackKind.Kind_Callback_OnTouchIconUrlReceivedEvent_Void*/: return deserializeAndCallCallback_OnTouchIconUrlReceivedEvent_Void(thisDeserializer); case -2052382574/*CallbackKind.Kind_Callback_OnWindowNewEvent_Void*/: return deserializeAndCallCallback_OnWindowNewEvent_Void(thisDeserializer); + case 406871767/*CallbackKind.Kind_Callback_Opt_Array_NavDestinationTransition_Void*/: return deserializeAndCallCallback_Opt_Array_NavDestinationTransition_Void(thisDeserializer); case -543655128/*CallbackKind.Kind_Callback_Opt_Array_String_Void*/: return deserializeAndCallCallback_Opt_Array_String_Void(thisDeserializer); case -2035339519/*CallbackKind.Kind_Callback_Opt_NavigationAnimatedTransition_Void*/: return deserializeAndCallCallback_Opt_NavigationAnimatedTransition_Void(thisDeserializer); case -756319131/*CallbackKind.Kind_Callback_Opt_StyledString_Opt_Array_String_Void*/: return deserializeAndCallCallback_Opt_StyledString_Opt_Array_String_Void(thisDeserializer); @@ -2254,11 +2587,12 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -224451112/*CallbackKind.Kind_Callback_SheetType_Void*/: return deserializeAndCallCallback_SheetType_Void(thisDeserializer); case 1536231691/*CallbackKind.Kind_Callback_SpringBackAction_Void*/: return deserializeAndCallCallback_SpringBackAction_Void(thisDeserializer); case -879490874/*CallbackKind.Kind_Callback_String_Number_Void*/: return deserializeAndCallCallback_String_Number_Void(thisDeserializer); + case -716524508/*CallbackKind.Kind_Callback_String_Opt_Object_Void*/: return deserializeAndCallCallback_String_Opt_Object_Void(thisDeserializer); case -683652998/*CallbackKind.Kind_Callback_String_PasteEvent_Void*/: return deserializeAndCallCallback_String_PasteEvent_Void(thisDeserializer); case -1736208400/*CallbackKind.Kind_Callback_String_SurfaceRect_Void*/: return deserializeAndCallCallback_String_SurfaceRect_Void(thisDeserializer); - case -1493806035/*CallbackKind.Kind_Callback_String_Unknown_Void*/: return deserializeAndCallCallback_String_Unknown_Void(thisDeserializer); case 814634522/*CallbackKind.Kind_Callback_String_Void*/: return deserializeAndCallCallback_String_Void(thisDeserializer); case 2116745428/*CallbackKind.Kind_Callback_StyledStringChangeValue_Boolean*/: return deserializeAndCallCallback_StyledStringChangeValue_Boolean(thisDeserializer); + case -1198150682/*CallbackKind.Kind_Callback_StyledStringMarshallingValue_Void*/: return deserializeAndCallCallback_StyledStringMarshallingValue_Void(thisDeserializer); case -301561698/*CallbackKind.Kind_Callback_SwipeActionState_Void*/: return deserializeAndCallCallback_SwipeActionState_Void(thisDeserializer); case -416053361/*CallbackKind.Kind_Callback_SwiperContentTransitionProxy_Void*/: return deserializeAndCallCallback_SwiperContentTransitionProxy_Void(thisDeserializer); case -1223938478/*CallbackKind.Kind_Callback_TabContentTransitionProxy_Void*/: return deserializeAndCallCallback_TabContentTransitionProxy_Void(thisDeserializer); @@ -2283,6 +2617,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 1436479104/*CallbackKind.Kind_Callback_WithThemeAttribute_Void*/: return deserializeAndCallCallback_WithThemeAttribute_Void(thisDeserializer); case -824029805/*CallbackKind.Kind_Callback_WrappedBuilder_Args_Void*/: return deserializeAndCallCallback_WrappedBuilder_Args_Void(thisDeserializer); case 1532328438/*CallbackKind.Kind_ContentDidScrollCallback*/: return deserializeAndCallContentDidScrollCallback(thisDeserializer); + case -2146044511/*CallbackKind.Kind_ContentWillScrollCallback*/: return deserializeAndCallContentWillScrollCallback(thisDeserializer); case 260483890/*CallbackKind.Kind_Context_getGroupDir_Callback*/: return deserializeAndCallContext_getGroupDir_Callback(thisDeserializer); case 1766817632/*CallbackKind.Kind_CustomNodeBuilder*/: return deserializeAndCallCustomNodeBuilder(thisDeserializer); case -1729563209/*CallbackKind.Kind_EditableTextOnChangeCallback*/: return deserializeAndCallEditableTextOnChangeCallback(thisDeserializer); @@ -2297,8 +2632,10 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 1502213270/*CallbackKind.Kind_InterceptionModeCallback*/: return deserializeAndCallInterceptionModeCallback(thisDeserializer); case 1852781814/*CallbackKind.Kind_InterceptionShowCallback*/: return deserializeAndCallInterceptionShowCallback(thisDeserializer); case -464108861/*CallbackKind.Kind_ListAttribute_onItemDragStart_event_type*/: return deserializeAndCallListAttribute_onItemDragStart_event_type(thisDeserializer); + case -957598032/*CallbackKind.Kind_LocationButtonCallback*/: return deserializeAndCallLocationButtonCallback(thisDeserializer); case 810927048/*CallbackKind.Kind_MenuCallback*/: return deserializeAndCallMenuCallback(thisDeserializer); case -614475458/*CallbackKind.Kind_MenuOnAppearCallback*/: return deserializeAndCallMenuOnAppearCallback(thisDeserializer); + case -1066063065/*CallbackKind.Kind_NavDestinationTransitionDelegate*/: return deserializeAndCallNavDestinationTransitionDelegate(thisDeserializer); case -588228933/*CallbackKind.Kind_NavExtender_OnUpdateStack*/: return deserializeAndCallNavExtender_OnUpdateStack(thisDeserializer); case 1572284740/*CallbackKind.Kind_OnAdsBlockedCallback*/: return deserializeAndCallOnAdsBlockedCallback(thisDeserializer); case 726938390/*CallbackKind.Kind_OnAlphabetIndexerPopupSelectCallback*/: return deserializeAndCallOnAlphabetIndexerPopupSelectCallback(thisDeserializer); @@ -2309,6 +2646,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -419979106/*CallbackKind.Kind_OnContentScrollCallback*/: return deserializeAndCallOnContentScrollCallback(thisDeserializer); case 1788572278/*CallbackKind.Kind_OnContextMenuHideCallback*/: return deserializeAndCallOnContextMenuHideCallback(thisDeserializer); case 1648184341/*CallbackKind.Kind_OnDidChangeCallback*/: return deserializeAndCallOnDidChangeCallback(thisDeserializer); + case 1451593190/*CallbackKind.Kind_OnDragEventCallback*/: return deserializeAndCallOnDragEventCallback(thisDeserializer); case 767275770/*CallbackKind.Kind_OnFirstMeaningfulPaintCallback*/: return deserializeAndCallOnFirstMeaningfulPaintCallback(thisDeserializer); case 2050387049/*CallbackKind.Kind_OnFoldStatusChangeCallback*/: return deserializeAndCallOnFoldStatusChangeCallback(thisDeserializer); case 81230317/*CallbackKind.Kind_OnFullScreenEnterCallback*/: return deserializeAndCallOnFullScreenEnterCallback(thisDeserializer); @@ -2323,6 +2661,8 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -398722176/*CallbackKind.Kind_OnNavigationEntryCommittedCallback*/: return deserializeAndCallOnNavigationEntryCommittedCallback(thisDeserializer); case 865258467/*CallbackKind.Kind_OnOverrideUrlLoadingCallback*/: return deserializeAndCallOnOverrideUrlLoadingCallback(thisDeserializer); case 1738363337/*CallbackKind.Kind_OnPasteCallback*/: return deserializeAndCallOnPasteCallback(thisDeserializer); + case 511412333/*CallbackKind.Kind_OnRadioChangeCallback*/: return deserializeAndCallOnRadioChangeCallback(thisDeserializer); + case -551895045/*CallbackKind.Kind_OnRatingChangeCallback*/: return deserializeAndCallOnRatingChangeCallback(thisDeserializer); case 47282303/*CallbackKind.Kind_OnRenderProcessNotRespondingCallback*/: return deserializeAndCallOnRenderProcessNotRespondingCallback(thisDeserializer); case 1334389194/*CallbackKind.Kind_OnRenderProcessRespondingCallback*/: return deserializeAndCallOnRenderProcessRespondingCallback(thisDeserializer); case -1099824577/*CallbackKind.Kind_OnSafeBrowsingCheckResultCallback*/: return deserializeAndCallOnSafeBrowsingCheckResultCallback(thisDeserializer); @@ -2330,6 +2670,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -1259214476/*CallbackKind.Kind_OnScrollEdgeCallback*/: return deserializeAndCallOnScrollEdgeCallback(thisDeserializer); case -2133791987/*CallbackKind.Kind_OnScrollFrameBeginCallback*/: return deserializeAndCallOnScrollFrameBeginCallback(thisDeserializer); case 625641334/*CallbackKind.Kind_OnScrollVisibleContentChangeCallback*/: return deserializeAndCallOnScrollVisibleContentChangeCallback(thisDeserializer); + case -1486869198/*CallbackKind.Kind_OnSelectCallback*/: return deserializeAndCallOnSelectCallback(thisDeserializer); case -399603614/*CallbackKind.Kind_OnSslErrorEventCallback*/: return deserializeAndCallOnSslErrorEventCallback(thisDeserializer); case -1961646162/*CallbackKind.Kind_OnSubmitCallback*/: return deserializeAndCallOnSubmitCallback(thisDeserializer); case -143686583/*CallbackKind.Kind_OnSwiperAnimationEndCallback*/: return deserializeAndCallOnSwiperAnimationEndCallback(thisDeserializer); @@ -2339,24 +2680,34 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -147408344/*CallbackKind.Kind_OnTabsAnimationStartCallback*/: return deserializeAndCallOnTabsAnimationStartCallback(thisDeserializer); case -349727249/*CallbackKind.Kind_OnTabsContentWillChangeCallback*/: return deserializeAndCallOnTabsContentWillChangeCallback(thisDeserializer); case 253696833/*CallbackKind.Kind_OnTabsGestureSwipeCallback*/: return deserializeAndCallOnTabsGestureSwipeCallback(thisDeserializer); + case -1902343417/*CallbackKind.Kind_OnTextPickerChangeCallback*/: return deserializeAndCallOnTextPickerChangeCallback(thisDeserializer); case 695228737/*CallbackKind.Kind_OnTextSelectionChangeCallback*/: return deserializeAndCallOnTextSelectionChangeCallback(thisDeserializer); + case 994429103/*CallbackKind.Kind_OnTimePickerChangeCallback*/: return deserializeAndCallOnTimePickerChangeCallback(thisDeserializer); case 1847083191/*CallbackKind.Kind_OnViewportFitChangedCallback*/: return deserializeAndCallOnViewportFitChangedCallback(thisDeserializer); case 1627123591/*CallbackKind.Kind_PageTransitionCallback*/: return deserializeAndCallPageTransitionCallback(thisDeserializer); + case 1501373374/*CallbackKind.Kind_PasteButtonCallback*/: return deserializeAndCallPasteButtonCallback(thisDeserializer); case 919057028/*CallbackKind.Kind_PasteEventCallback*/: return deserializeAndCallPasteEventCallback(thisDeserializer); case -1992671958/*CallbackKind.Kind_PluginErrorCallback*/: return deserializeAndCallPluginErrorCallback(thisDeserializer); + case -1444325632/*CallbackKind.Kind_PopupStateChangeCallback*/: return deserializeAndCallPopupStateChangeCallback(thisDeserializer); case 2053798608/*CallbackKind.Kind_ReceiveCallback*/: return deserializeAndCallReceiveCallback(thisDeserializer); case -1213708823/*CallbackKind.Kind_RestrictedWorker_onerror_Callback*/: return deserializeAndCallRestrictedWorker_onerror_Callback(thisDeserializer); case -2095497263/*CallbackKind.Kind_RestrictedWorker_onexit_Callback*/: return deserializeAndCallRestrictedWorker_onexit_Callback(thisDeserializer); case 1614214490/*CallbackKind.Kind_RestrictedWorker_onmessage_Callback*/: return deserializeAndCallRestrictedWorker_onmessage_Callback(thisDeserializer); + case 1110529154/*CallbackKind.Kind_ReuseIdCallback*/: return deserializeAndCallReuseIdCallback(thisDeserializer); + case -1634474996/*CallbackKind.Kind_SaveButtonCallback*/: return deserializeAndCallSaveButtonCallback(thisDeserializer); case -1265626662/*CallbackKind.Kind_ScrollOnScrollCallback*/: return deserializeAndCallScrollOnScrollCallback(thisDeserializer); case -721521596/*CallbackKind.Kind_ScrollOnWillScrollCallback*/: return deserializeAndCallScrollOnWillScrollCallback(thisDeserializer); case 1717691617/*CallbackKind.Kind_SearchSubmitCallback*/: return deserializeAndCallSearchSubmitCallback(thisDeserializer); case -250780276/*CallbackKind.Kind_ShouldBuiltInRecognizerParallelWithCallback*/: return deserializeAndCallShouldBuiltInRecognizerParallelWithCallback(thisDeserializer); case -1716637992/*CallbackKind.Kind_SizeChangeCallback*/: return deserializeAndCallSizeChangeCallback(thisDeserializer); case 711649376/*CallbackKind.Kind_SliderTriggerChangeCallback*/: return deserializeAndCallSliderTriggerChangeCallback(thisDeserializer); + case 1095217433/*CallbackKind.Kind_StyledStringMarshallCallback*/: return deserializeAndCallStyledStringMarshallCallback(thisDeserializer); + case 1359717794/*CallbackKind.Kind_StyledStringUnmarshallCallback*/: return deserializeAndCallStyledStringUnmarshallCallback(thisDeserializer); case -712186065/*CallbackKind.Kind_SubmitCallback*/: return deserializeAndCallSubmitCallback(thisDeserializer); case 221706282/*CallbackKind.Kind_TabsCustomContentTransitionCallback*/: return deserializeAndCallTabsCustomContentTransitionCallback(thisDeserializer); case -401980571/*CallbackKind.Kind_TextAreaSubmitCallback*/: return deserializeAndCallTextAreaSubmitCallback(thisDeserializer); + case -202014218/*CallbackKind.Kind_TextPickerEnterSelectedAreaCallback*/: return deserializeAndCallTextPickerEnterSelectedAreaCallback(thisDeserializer); + case -1928298699/*CallbackKind.Kind_TextPickerScrollStopCallback*/: return deserializeAndCallTextPickerScrollStopCallback(thisDeserializer); case 2057659801/*CallbackKind.Kind_TextTimerAttribute_onTimer_event_type*/: return deserializeAndCallTextTimerAttribute_onTimer_event_type(thisDeserializer); case -1878458553/*CallbackKind.Kind_TransitionFinishCallback*/: return deserializeAndCallTransitionFinishCallback(thisDeserializer); case 1044833488/*CallbackKind.Kind_Type_NavigationAttribute_customNavContentTransition_delegate*/: return deserializeAndCallType_NavigationAttribute_customNavContentTransition_delegate(thisDeserializer); diff --git a/arkoala/arkui/src/generated/peers/CallbackKind.ts b/arkoala/arkui/src/generated/peers/CallbackKind.ts index 9c771c7c78..a20c46e90e 100644 --- a/arkoala/arkui/src/generated/peers/CallbackKind.ts +++ b/arkoala/arkui/src/generated/peers/CallbackKind.ts @@ -1,5 +1,6 @@ export enum CallbackKind { Kind_AccessibilityCallback = 589030517, + Kind_AccessibilityFocusCallback = 1715445305, Kind_AsyncCallback_Array_TextMenuItem_Array_TextMenuItem = 300202685, Kind_AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics = -1689064068, Kind_AsyncCallback_image_PixelMap_Void = 1289587365, @@ -10,17 +11,17 @@ export enum CallbackKind { Kind_Callback_Array_String_Void = -440782244, Kind_Callback_Array_TextMenuItem_Void = 528588498, Kind_Callback_Array_TouchTestInfo_TouchResult = -547276916, + Kind_Callback_AxisEvent_Void = 109087936, Kind_Callback_Boolean = -1541107680, Kind_Callback_Boolean_HoverEvent_Void = -916602978, Kind_Callback_Boolean_Void = 313269291, + Kind_Callback_Buffer_Void = 908731311, Kind_Callback_CalendarRequestedData_Void = 1074619005, Kind_Callback_CalendarSelectedDate_Void = -289198976, - Kind_Callback_ClickEvent_LocationButtonOnClickResult_Void = -1189087745, - Kind_Callback_ClickEvent_PasteButtonOnClickResult_Void = 659292561, - Kind_Callback_ClickEvent_SaveButtonOnClickResult_Void = 846787331, Kind_Callback_ClickEvent_Void = 1097178637, Kind_Callback_ComputedBarAttribute_Void = -1270343661, Kind_Callback_CopyEvent_Void = -120437466, + Kind_Callback_CrownEvent_Void = -827253372, Kind_Callback_CustomBuilder_Void = -721106019, Kind_Callback_CustomSpanMetrics_Void = 1362306791, Kind_Callback_CutEvent_Void = -1875695871, @@ -35,9 +36,11 @@ export enum CallbackKind { Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo = 480978023, Kind_Callback_DragEvent_String_Void = -17167687, Kind_Callback_DrawContext_CustomSpanDrawInfo_Void = -2106022018, + Kind_Callback_EditableTextChangeValue_Boolean = -602545319, Kind_Callback_EnterKeyType_Void = -1802605016, Kind_Callback_Extender_OnFinish = -733525640, Kind_Callback_Extender_OnProgress = 1264236374, + Kind_Callback_FocusAxisEvent_Void = 394781580, Kind_Callback_FormCallbackInfo_Void = 758395742, Kind_Callback_FullscreenInfo_Void = 583294398, Kind_Callback_GestureEvent_Void = -1143194492, @@ -45,6 +48,7 @@ export enum CallbackKind { Kind_Callback_GestureJudgeResult_Void = -684588584, Kind_Callback_GestureRecognizer_Void = 776202910, Kind_Callback_HitTestMode_Void = -1755111025, + Kind_Callback_HoverEvent_Void = -1576788379, Kind_Callback_InsertValue_Boolean = -383025085, Kind_Callback_InsertValue_Void = -1121207885, Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void = -1627362945, @@ -61,9 +65,11 @@ export enum CallbackKind { Kind_Callback_Literal_Object_detail_Boolean = 222742448, Kind_Callback_Literal_String_plainText_Void = -122223466, Kind_Callback_Map_String_Object_Void = -1146723341, + Kind_Callback_MarqueeState_Void = -716263454, Kind_Callback_MouseEvent_Void = -1382640094, Kind_Callback_NativeEmbedDataInfo_Void = 477481563, Kind_Callback_NativeEmbedTouchInfo_Void = -1090303858, + Kind_Callback_NavDestinationActiveReason_Void = 634825762, Kind_Callback_NavDestinationContext_Void = -1642725259, Kind_Callback_NavigationMode_Void = 960690982, Kind_Callback_NavigationTitleMode_Void = 1685437830, @@ -80,6 +86,7 @@ export enum CallbackKind { Kind_Callback_Number_Tuple_Number_Number = 1602877440, Kind_Callback_Number_Tuple_Number_Number_Number_Number = 1618565120, Kind_Callback_Number_Void = 36519084, + Kind_Callback_Object_Void = -1782529222, Kind_Callback_OffsetResult_Void = 1295952075, Kind_Callback_OnAlertEvent_Boolean = 806070428, Kind_Callback_OnAudioStateChangedEvent_Void = -1559789631, @@ -118,6 +125,7 @@ export enum CallbackKind { Kind_Callback_OnTitleReceiveEvent_Void = -318085495, Kind_Callback_OnTouchIconUrlReceivedEvent_Void = 1657893064, Kind_Callback_OnWindowNewEvent_Void = -2052382574, + Kind_Callback_Opt_Array_NavDestinationTransition_Void = 406871767, Kind_Callback_Opt_Array_String_Void = -543655128, Kind_Callback_Opt_NavigationAnimatedTransition_Void = -2035339519, Kind_Callback_Opt_StyledString_Opt_Array_String_Void = -756319131, @@ -141,11 +149,12 @@ export enum CallbackKind { Kind_Callback_SheetType_Void = -224451112, Kind_Callback_SpringBackAction_Void = 1536231691, Kind_Callback_String_Number_Void = -879490874, + Kind_Callback_String_Opt_Object_Void = -716524508, Kind_Callback_String_PasteEvent_Void = -683652998, Kind_Callback_String_SurfaceRect_Void = -1736208400, - Kind_Callback_String_Unknown_Void = -1493806035, Kind_Callback_String_Void = 814634522, Kind_Callback_StyledStringChangeValue_Boolean = 2116745428, + Kind_Callback_StyledStringMarshallingValue_Void = -1198150682, Kind_Callback_SwipeActionState_Void = -301561698, Kind_Callback_SwiperContentTransitionProxy_Void = -416053361, Kind_Callback_TabContentTransitionProxy_Void = -1223938478, @@ -170,6 +179,7 @@ export enum CallbackKind { Kind_Callback_WithThemeAttribute_Void = 1436479104, Kind_Callback_WrappedBuilder_Args_Void = -824029805, Kind_ContentDidScrollCallback = 1532328438, + Kind_ContentWillScrollCallback = -2146044511, Kind_Context_getGroupDir_Callback = 260483890, Kind_CustomNodeBuilder = 1766817632, Kind_EditableTextOnChangeCallback = -1729563209, @@ -184,8 +194,10 @@ export enum CallbackKind { Kind_InterceptionModeCallback = 1502213270, Kind_InterceptionShowCallback = 1852781814, Kind_ListAttribute_onItemDragStart_event_type = -464108861, + Kind_LocationButtonCallback = -957598032, Kind_MenuCallback = 810927048, Kind_MenuOnAppearCallback = -614475458, + Kind_NavDestinationTransitionDelegate = -1066063065, Kind_NavExtender_OnUpdateStack = -588228933, Kind_OnAdsBlockedCallback = 1572284740, Kind_OnAlphabetIndexerPopupSelectCallback = 726938390, @@ -196,6 +208,7 @@ export enum CallbackKind { Kind_OnContentScrollCallback = -419979106, Kind_OnContextMenuHideCallback = 1788572278, Kind_OnDidChangeCallback = 1648184341, + Kind_OnDragEventCallback = 1451593190, Kind_OnFirstMeaningfulPaintCallback = 767275770, Kind_OnFoldStatusChangeCallback = 2050387049, Kind_OnFullScreenEnterCallback = 81230317, @@ -210,6 +223,8 @@ export enum CallbackKind { Kind_OnNavigationEntryCommittedCallback = -398722176, Kind_OnOverrideUrlLoadingCallback = 865258467, Kind_OnPasteCallback = 1738363337, + Kind_OnRadioChangeCallback = 511412333, + Kind_OnRatingChangeCallback = -551895045, Kind_OnRenderProcessNotRespondingCallback = 47282303, Kind_OnRenderProcessRespondingCallback = 1334389194, Kind_OnSafeBrowsingCheckResultCallback = -1099824577, @@ -217,6 +232,7 @@ export enum CallbackKind { Kind_OnScrollEdgeCallback = -1259214476, Kind_OnScrollFrameBeginCallback = -2133791987, Kind_OnScrollVisibleContentChangeCallback = 625641334, + Kind_OnSelectCallback = -1486869198, Kind_OnSslErrorEventCallback = -399603614, Kind_OnSubmitCallback = -1961646162, Kind_OnSwiperAnimationEndCallback = -143686583, @@ -226,24 +242,34 @@ export enum CallbackKind { Kind_OnTabsAnimationStartCallback = -147408344, Kind_OnTabsContentWillChangeCallback = -349727249, Kind_OnTabsGestureSwipeCallback = 253696833, + Kind_OnTextPickerChangeCallback = -1902343417, Kind_OnTextSelectionChangeCallback = 695228737, + Kind_OnTimePickerChangeCallback = 994429103, Kind_OnViewportFitChangedCallback = 1847083191, Kind_PageTransitionCallback = 1627123591, + Kind_PasteButtonCallback = 1501373374, Kind_PasteEventCallback = 919057028, Kind_PluginErrorCallback = -1992671958, + Kind_PopupStateChangeCallback = -1444325632, Kind_ReceiveCallback = 2053798608, Kind_RestrictedWorker_onerror_Callback = -1213708823, Kind_RestrictedWorker_onexit_Callback = -2095497263, Kind_RestrictedWorker_onmessage_Callback = 1614214490, + Kind_ReuseIdCallback = 1110529154, + Kind_SaveButtonCallback = -1634474996, Kind_ScrollOnScrollCallback = -1265626662, Kind_ScrollOnWillScrollCallback = -721521596, Kind_SearchSubmitCallback = 1717691617, Kind_ShouldBuiltInRecognizerParallelWithCallback = -250780276, Kind_SizeChangeCallback = -1716637992, Kind_SliderTriggerChangeCallback = 711649376, + Kind_StyledStringMarshallCallback = 1095217433, + Kind_StyledStringUnmarshallCallback = 1359717794, Kind_SubmitCallback = -712186065, Kind_TabsCustomContentTransitionCallback = 221706282, Kind_TextAreaSubmitCallback = -401980571, + Kind_TextPickerEnterSelectedAreaCallback = -202014218, + Kind_TextPickerScrollStopCallback = -1928298699, Kind_TextTimerAttribute_onTimer_event_type = 2057659801, Kind_TransitionFinishCallback = -1878458553, Kind_Type_NavigationAttribute_customNavContentTransition_delegate = 1044833488, diff --git a/arkoala/arkui/src/generated/peers/Deserializer.ts b/arkoala/arkui/src/generated/peers/Deserializer.ts index 481f3f1c6b..03c2986ac8 100644 --- a/arkoala/arkui/src/generated/peers/Deserializer.ts +++ b/arkoala/arkui/src/generated/peers/Deserializer.ts @@ -22,42 +22,52 @@ import { CallbackKind } from "./CallbackKind" import { Serializer } from "./Serializer" import { isResource, isPadding } from "./../../utils" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, CommonMethod, BlurStyle, PickerTextStyle, DragBehavior, DragResult, Rectangle, EdgeEffectOptions, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, NestedScrollOptions, RectResult, MeasureResult, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, SelectionOptions, TextDecorationOptions, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TouchTestInfo, TransitionEffects, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, VisibleAreaEventOptions, SheetOptions, TouchResult, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, BackgroundBrightnessOptions, BlurOptions, ClickEffect, DismissReason, DragInteractionOptions, ExpectedFrameRateRange, ForegroundEffectOptions, GeometryTransitionOptions, TransitionHierarchyStrategy, InvertOptions, LinearGradient_common, LinearGradientBlurOptions, FractionStop, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, MenuPolicy, StateStyles, TouchObject, TouchTestStrategy, AlignRuleOption, FinishCallbackType, BlurStyleOptions, BlurStyleActivePolicy, AdaptiveColor, ContentCoverOptions, BindOptions, ModalTransition, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, DragPreviewMode, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, PixelStretchEffectOptions, ShadowType, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, ShadowStyle, HoverModeAreaType, BorderImageOption, RepeatMode, ContextMenuOptions, MenuPreviewMode, KeyboardAvoidMode, CustomPopupOptions, EventTarget, MenuOptions, OutlineStyle, PickerDialogButtonStyle, PointLightStyle, PopupMessageOptions, SourceType, SourceTool, PopupOptions, SheetSize, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, ThemeColorMode } from "./../common" +import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, CommonMethod, BlurStyle, PickerTextStyle, DragBehavior, DragResult, Rectangle, DataSyncOptions, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, NestedScrollOptions, EdgeEffectOptions, LayoutPolicy, RectResult, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, PopupStateChangeParam, SelectionOptions, TextDecorationOptions, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, TouchTestInfo, TransitionEffects, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, VisibleAreaEventOptions, SheetOptions, TouchResult, CrownEvent, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DismissReason, DragInteractionOptions, DropOptions, OutlineStyle, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, TransitionHierarchyStrategy, InvertOptions, LinearGradient_common, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, HapticFeedbackMode, MenuPolicy, StateStyles, SystemAdaptiveOptions, TouchObject, TouchTestStrategy, AlignRuleOption, FinishCallbackType, BlurStyleOptions, BlurStyleActivePolicy, AdaptiveColor, ContentCoverOptions, BindOptions, ModalTransition, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, DragPreviewMode, DraggingSizeChangeEffect, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ShadowType, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, SweepGradientOptions, TipsOptions, ShadowStyle, HoverModeAreaType, BorderImageOption, RepeatMode, ContextMenuOptions, MenuPreviewMode, BorderRadiusType, KeyboardAvoidMode, CustomPopupOptions, EventTarget, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, SheetSize, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, ThemeColorMode, SourceType, SourceTool, PopupOptions } from "./../common" import { ButtonTriggerClickCallback, ControlSize, ButtonOptions, ButtonType, ButtonStyleMode, ButtonRole } from "./../button" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../animation_extender" import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, SystemBarStyle, Event, ErrorEvent, MessageEvents, PostMessageOptions, WorkerOptions, CustomColors, CustomTheme } from "./../arkui-custom" -import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, SwiperAnimationEvent, SwiperAttribute, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ArrowStyle, SwiperAutoFill } from "./../swiper" +import { ContentDidScrollCallback, ContentWillScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, SwiperAnimationEvent, SwiperAttribute, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, SwiperContentWillScrollResult, AutoPlayOptions, ArrowStyle, SwiperAutoFill, SwiperAnimationMode } from "./../swiper" import { CustomNodeBuilder } from "./../custom_builder" -import { EditableTextOnChangeCallback, OnDidChangeCallback, PositionWithAffinity, TextRange, TextDataDetectorConfig, EditMenuOptions, PreviewText, StyledStringChangedListener, CaretStyle, InsertValue, DeleteValue, FontSettingOptions, TextMenuItem, StyledStringChangeValue, TextDeleteDirection, MenuType, DecorationStyleResult, TextDataDetectorType } from "./../text_common" +import { EditableTextOnChangeCallback, OnDidChangeCallback, PositionWithAffinity, TextRange, TextDataDetectorConfig, EditMenuOptions, KeyboardAppearance, PreviewText, StyledStringChangedListener, CaretStyle, TextChangeOptions, InsertValue, DeleteValue, AutoCapitalizationMode, EditableTextChangeValue, FontSettingOptions, TextMenuItem, StyledStringChangeValue, TextDeleteDirection, MenuType, DecorationStyleResult, TextDataDetectorType } from "./../text_common" import { ErrorCallback } from "./../ohos.base" import { GetItemMainSizeByIndex, WaterFlowAttribute, SectionOptions, WaterFlowOptions, WaterFlowLayoutMode } from "./../water_flow" import { ImageCompleteCallback, ImageLoadResult } from "./../image_span" -import { ImageErrorCallback, ImageError, ImageSourceSize, ResizableOptions } from "./../image" -import { InterceptionModeCallback, InterceptionShowCallback, NavigationMenuItem, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions, NavigationAttribute, NavBarPosition, NavigationMode, NavigationTitleMode, NavContentInfo, NavigationOperation, NavigationCommonTitle, NavigationCustomTitle, NavigationOptions, PopInfo, NavigationInterception, NavigationAnimatedTransition, NavBar, LaunchMode, BarStyle, ToolbarItemStatus } from "./../navigation" +import { ImageErrorCallback, ColorContent, ImageError, ImageSourceSize, ResizableOptions } from "./../image" +import { InterceptionModeCallback, InterceptionShowCallback, NavigationMenuItem, NavigationOperation, NavigationTitleOptions, NavigationMenuOptions, ToolbarItem, NavigationToolbarOptions, NavigationAttribute, NavBarPosition, NavigationMode, NavigationTitleMode, NavContentInfo, NavigationCommonTitle, NavigationCustomTitle, NavigationOptions, PopInfo, NavigationInterception, NavigationAnimatedTransition, NavBar, LaunchMode, ToolbarItemStatus, MoreButtonOptions, BarStyle } from "./../navigation" +import { LocationButtonCallback, LocationButtonOnClickResult, LocationButtonOptions, LocationIconStyle, LocationDescription } from "./../location_button" import { MenuCallback, OnHoverCallback } from "./../sdk-stubs" -import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, RichEditorAttribute, RichEditorSelection, RichEditorRange, RichEditorInsertValue, RichEditorTextSpanResult, RichEditorDeleteValue, PasteEvent, RichEditorChangeValue, CutEvent, CopyEvent, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle, RichEditorTextStyle, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorParagraphResult, RichEditorSpan, RichEditorOptions, RichEditorStyledStringOptions, RichEditorDeleteDirection, RichEditorGesture, RichEditorSpanPosition, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorSpanStyleOptions, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorParagraphStyle } from "./../rich_editor" +import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, RichEditorAttribute, RichEditorSelection, RichEditorRange, RichEditorInsertValue, RichEditorTextSpanResult, RichEditorDeleteValue, PasteEvent, RichEditorChangeValue, CutEvent, CopyEvent, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle, RichEditorTextStyle, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorParagraphResult, RichEditorSpan, RichEditorOptions, RichEditorStyledStringOptions, PreviewMenuOptions, RichEditorDeleteDirection, RichEditorGesture, RichEditorSpanPosition, RichEditorSymbolSpanStyle, RichEditorSpanStyleOptions, RichEditorUrlStyle, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorParagraphStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorTextStyleResult } from "./../rich_editor" +import { NavDestinationTransitionDelegate, NavDestinationAttribute, NavDestinationMode, NavigationSystemTransitionType, NestedScrollInfo, NavDestinationActiveReason, Orientation, NavDestinationCommonTitle, NavDestinationCustomTitle, NavDestinationTransition, RouteMapConfig } from "./../nav_destination" import { NavExtender_OnUpdateStack } from "./../navigation_extender" -import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, MessageLevel, FileSelectorMode, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, ScreenCaptureConfig, WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, OnPageEndEvent, OnPageBeginEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnResourceLoadEvent, FullScreenEnterEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnSslErrorEventReceiveEvent, SslErrorEvent, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, FirstMeaningfulPaint, LargestContentfulPaint, OnLoadInterceptEvent, ThreatType, LoadCommittedDetails, IntelligentTrackingPreventionDetails, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeEmbedDataInfo, NativeEmbedVisibilityInfo, NativeEmbedTouchInfo, RenderProcessNotRespondingData, ExpandedMenuItemOptions, ViewportFit, WebKeyboardCallbackInfo, AdsBlockedDetails, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, Header, HitTestType, WebKeyboardOptions, WebNavigationType, RenderExitReason, SslError, RenderProcessNotRespondingReason, WebCaptureMode, WebOptions, RenderMode, NativeEmbedInfo, NativeEmbedStatus } from "./../web" +import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, MessageLevel, FileSelectorMode, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, ScreenCaptureConfig, WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, BlurOnKeyboardHideMode, OnPageEndEvent, OnPageBeginEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnResourceLoadEvent, FullScreenEnterEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnSslErrorEventReceiveEvent, SslErrorEvent, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, FirstMeaningfulPaint, LargestContentfulPaint, OnLoadInterceptEvent, ThreatType, LoadCommittedDetails, IntelligentTrackingPreventionDetails, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeEmbedDataInfo, NativeEmbedVisibilityInfo, NativeEmbedTouchInfo, RenderProcessNotRespondingData, ExpandedMenuItemOptions, ViewportFit, WebKeyboardCallbackInfo, AdsBlockedDetails, WebKeyboardAvoidMode, EmbedOptions, WebElementType, WebResponseType, SelectionMenuOptionsExt, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, Header, HitTestType, WebKeyboardOptions, WebNavigationType, RenderExitReason, SslError, RenderProcessNotRespondingReason, WebCaptureMode, WebOptions, RenderMode, NativeEmbedInfo, NativeEmbedStatus } from "./../web" import { OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback, AlphabetIndexerAttribute, IndexerAlign, AlphabetIndexerOptions } from "./../alphabet_indexer" import { OnCheckboxChangeCallback, CheckboxOptions } from "./../checkbox" import { OnCheckboxGroupChangeCallback, CheckboxGroupResult, CheckboxGroupOptions, SelectStatus } from "./../checkboxgroup" -import { OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback, EnterKeyType, TextInputAttribute, InputType, TextInputStyle, PasswordIcon, UnderlineColor, TextInputOptions } from "./../text_input" +import { OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback, EnterKeyType, ContentType, TextInputAttribute, InputType, TextInputStyle, PasswordIcon, UnderlineColor, TextInputOptions } from "./../text_input" import { OnFoldStatusChangeCallback, OnHoverStatusChangeCallback, OnFoldStatusChangeInfo, HoverEventParam, FolderStackOptions } from "./../folder_stack" import { OnLinearIndicatorChangeCallback, LinearIndicatorStartOptions, LinearIndicatorStyle } from "./../linearindicator" -import { OnNativeLoadCallback, SurfaceRect, SurfaceRotationOptions, XComponentOptions } from "./../xcomponent" +import { OnNativeLoadCallback, SurfaceRect, SurfaceRotationOptions, NativeXComponentParameters, XComponentOptions } from "./../xcomponent" +import { OnRadioChangeCallback, RadioOptions, RadioIndicatorType, RadioStyle } from "./../radio" +import { OnRatingChangeCallback, RatingOptions, StarStyleOptions } from "./../rating" import { OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallback, ScrollOnWillScrollCallback, ScrollAlign, OffsetResult, OnScrollFrameBeginHandlerResult, ScrollAttribute, ScrollDirection, ScrollSnapOptions, OffsetOptions, ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, ScrollToIndexOptions, ScrollAnimationOptions } from "./../scroll" import { OnScrollVisibleContentChangeCallback, ScrollState, ListAttribute, ListItemAlign, ListDividerOptions, ChainAnimationOptions, StickyStyle, ScrollSnapAlign, VisibleListContentInfo, CloseSwipeActionOptions, ListOptions, ListItemGroupArea, ChainEdgeEffect } from "./../list" -import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, TabsAnimationEvent, TabsAttribute, BarPosition, BarMode, AnimationMode, DividerStyle, BarGridColumnOptions, ScrollableBarModeOptions, TabContentAnimatedTransition, TabsOptions, LayoutStyle } from "./../tabs" +import { OnSelectCallback, SelectAttribute, ArrowPosition, AvoidanceMode, MenuOutlineOptions, MenuAlignType, SelectOption } from "./../select" +import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, TabsAnimationEvent, TabsAttribute, BarPosition, BarMode, AnimationMode, DividerStyle, BarGridColumnOptions, ScrollableBarModeOptions, TabsCacheMode, TabContentAnimatedTransition, CommonModifier, TabsOptions, LayoutStyle } from "./../tabs" +import { OnTextPickerChangeCallback, TextPickerEnterSelectedAreaCallback, TextPickerScrollStopCallback, DividerOptions, TextPickerDialogOptions, TextPickerResult, TextCascadePickerRangeContent, TextPickerOptions, TextPickerRangeContent, TextPickerTextStyle } from "./../text_picker" +import { OnTimePickerChangeCallback, TimePickerResult, TimePickerOptions, TimePickerFormat, TimePickerDialogOptions } from "./../time_picker" import { PageTransitionCallback, RouteType } from "./../page_transition" +import { PasteButtonCallback, PasteButtonOnClickResult, PasteButtonOptions, PasteIconStyle, PasteDescription } from "./../paste_button" import { PluginErrorCallback, PluginErrorData, PluginComponentTemplate, PluginComponentOptions } from "./../plugin_component" -import { ReceiveCallback, ShapeSize, Summary, ImageModifier, RectWidthStyle, RectHeightStyle, SymbolGlyphModifier, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions, IndicatorStyle, TextModifier, WebHeader, EffectScope, EffectDirection, EdgeStyles, FontInfo, WindowStatusType, IntentionCode, SnapshotOptions, FontOptions, MeasureOptions, LabelStyle } from "./../arkui-external" +import { ReceiveCallback, ShapeSize, Summary, ImageModifier, RectWidthStyle, RectHeightStyle, SymbolGlyphModifier, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions, TextModifier, IndicatorStyle, WebHeader, EffectScope, EffectDirection, EdgeStyles, FontInfo, WindowStatusType, IntentionCode, SnapshotOptions, FontOptions, MeasureOptions, LabelStyle } from "./../arkui-external" +import { SaveButtonCallback, SaveButtonOnClickResult, SaveButtonOptions, SaveIconStyle, SaveDescription } from "./../save_button" import { SearchSubmitCallback, SearchAttribute, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchType, SearchButtonOptions, CancelButtonStyle, SearchOptions } from "./../search" import { SliderTriggerChangeCallback, SliderAttribute, SliderChangeMode, SliderBlockStyle, SliderInteraction, SlideRange, SliderOptions, SliderStyle, SliderBlockType } from "./../slider" -import { TextAreaSubmitCallback, TextAreaAttribute, TextAreaType, ContentType, TextAreaOptions } from "./../text_area" -import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ResourceStr, Dimension, LengthConstrain, ConstraintSizeOptions, DirectionalEdgesT, Area, AccessibilityOptions, Bias, ChainWeightOptions, VP, DividerStyleOptions, PX, LPX, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, MarkStyle, BorderRadiuses, EdgeWidths, EdgeColors, BorderOptions, Padding, OutlineOptions, EdgeOutlineWidths, OutlineRadiuses, EdgeOutlineStyles } from "./../units" +import { StyledStringMarshallCallback, StyledStringUnmarshallCallback, GestureStyleInterface, StyleOptions, StyledStringKey, SpanStyle, UserDataSpan, DecorationStyleInterface, CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo, TextStyleInterface, ImageAttachmentLayoutStyle, ParagraphStyleInterface, ColorFilterType, ImageAttachmentInterface, AttachmentType, ResourceImageAttachmentOptions, StyledStringValue } from "./../styled_string" +import { TextAreaSubmitCallback, TextAreaAttribute, TextAreaType, TextAreaOptions } from "./../text_area" +import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ResourceStr, Dimension, LengthConstrain, DividerStyleOptions, ConstraintSizeOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" import { WithThemeInterface, WithThemeAttribute, WithThemeOptions } from "./../with_theme" -import { AccessibilityHoverEvent, AccessibilityHoverEventInternal, AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, PixelMap, PixelMapInternal, BaseShape, BaseShapeInternal, CalendarController, CalendarControllerInternal, CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, Matrix2D, Matrix2DInternal, CircleShape, CircleShapeInternal, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ColorFilter, ColorFilterInternal, CommonShape, CommonShapeInternal, ComponentContent, ComponentContentInternal, ConsoleMessage, ConsoleMessageInternal, ControllerHandler, ControllerHandlerInternal, WebviewController, WebviewControllerInternal, CustomDialogController, CustomDialogControllerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, DragEvent, DragEventInternal, UnifiedData, UnifiedDataInternal, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, DrawModifier, DrawModifierInternal, EllipseShape, EllipseShapeInternal, EventResult, EventResultInternal, EventTargetInfo, EventTargetInfoInternal, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, Filter, FilterInternal, FrameNode, FrameNodeInternal, UIContext, UIContextInternal, FrictionMotion, FrictionMotionInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, GestureGroupInterface, GestureGroupInterfaceInternal, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureModifier, GestureModifierInternal, GestureRecognizer, GestureRecognizerInternal, GestureStyle, GestureStyleInternal, HttpAuthHandler, HttpAuthHandlerInternal, ICurve, ICurveInternal, ImageAnalyzerController, ImageAnalyzerControllerInternal, IndicatorComponentController, IndicatorComponentControllerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, LayoutManager, LayoutManagerInternal, LinearGradient, LinearGradientInternal, LinearIndicatorController, LinearIndicatorControllerInternal, ChildrenMainSize, ChildrenMainSizeInternal, ListScroller, ListScrollerInternal, Scroller, ScrollerInternal, GestureEvent, GestureEventInternal, Matrix4Transit, Matrix4TransitInternal, Measurable, MeasurableInternal, NavDestinationContext, NavDestinationContextInternal, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Path2D, Path2DInternal, PathShape, PathShapeInternal, PatternLockController, PatternLockControllerInternal, PermissionRequest, PermissionRequestInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal, PixelMapMock, PixelMapMockInternal, ProgressMask, ProgressMaskInternal, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, SubmitEvent, SubmitEventInternal, RichEditorBaseController, RichEditorBaseControllerInternal, TextEditControllerEx, TextEditControllerExInternal, RichEditorController, RichEditorControllerInternal, StyledString, StyledStringInternal, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, StyledStringController, StyledStringControllerInternal, MutableStyledString, MutableStyledStringInternal, Scene, SceneInternal, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SearchController, SearchControllerInternal, TextContentControllerBase, TextContentControllerBaseInternal, ShapeClip, ShapeClipInternal, ShapeMask, ShapeMaskInternal, SpringMotion, SpringMotionInternal, SslErrorHandler, SslErrorHandlerInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsController, TabsControllerInternal, LengthMetrics, LengthMetricsInternal, TextAreaController, TextAreaControllerInternal, TextBaseController, TextBaseControllerInternal, TextClockController, TextClockControllerInternal, TextController, TextControllerInternal, TextInputController, TextInputControllerInternal, TextMenuItemId, TextMenuItemIdInternal, TextTimerController, TextTimerControllerInternal, TransitionEffect, TransitionEffectInternal, UICommonEvent, UICommonEventInternal, ClickEvent, ClickEventInternal, TouchEvent, TouchEventInternal, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, MouseEvent, MouseEventInternal, Context, ContextInternal, UIExtensionProxy, UIExtensionProxyInternal, UrlStyle, UrlStyleInternal, VideoController, VideoControllerInternal, View, ViewInternal, VisualEffect, VisualEffectInternal, WaterFlowSections, WaterFlowSectionsInternal, WebResourceRequest, WebResourceRequestInternal, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebResourceError, WebResourceErrorInternal, WebResourceResponse, WebResourceResponseInternal, WorkerEventListener, WorkerEventListenerInternal, BaseGestureEvent, BaseGestureEventInternal, NavigationTransitionProxy, NavigationTransitionProxyInternal, AppearSymbolEffect, AppearSymbolEffectInternal, BaseContext, BaseContextInternal, BaselineOffsetStyle, BaselineOffsetStyleInternal, BounceSymbolEffect, BounceSymbolEffectInternal, CanvasRenderer, CanvasRendererInternal, ImageData, ImageDataInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, ColorMetrics, ColorMetricsInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, DrawingRenderingContext, DrawingRenderingContextInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, TextShadowStyle, TextShadowStyleInternal, XComponentController, XComponentControllerInternal, DecorationStyle, DecorationStyleInternal, MenuItemConfiguration, MenuItemConfigurationInternal, RenderNode, RenderNodeInternal, RestrictedWorker, RestrictedWorkerInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, BaseEvent, BaseEventInternal, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal, BackgroundColorStyle, BackgroundColorStyleInternal, ParagraphStyle, ParagraphStyleInternal } from "./../AllMaterialized" -import { Color, BarState, EdgeEffect, Axis, NestedScrollMode, FoldStatus, CopyOptions, ResponseType, ScrollSource, Edge, TextAlign, OptionWidthMode, LineCapStyle, LineJoinStyle, Curve, FontWeight, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, TextCase, TextSelectableMode, FlexDirection, HitTestMode, ClickEffectLevel, BorderStyle, AppRotation, KeyType, KeySource, GradientDirection, HorizontalAlign, VerticalAlign, PixelRoundCalcPolicy, Alignment, TouchType, DialogButtonStyle, PlayMode, TitleHeight, ColoringStrategy, SharedTransitionEffectType, TransitionType, XComponentType, Placement, ArrowPointPosition, FlexWrap, FlexAlign, ItemAlign, MouseButton, MouseAction, IlluminatedType, AccessibilityHoverType, ImageSpanAlignment, ImageFit } from "./../enums" +import { AccessibilityHoverEvent, AccessibilityHoverEventInternal, AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, PixelMap, PixelMapInternal, BaseShape, BaseShapeInternal, CalendarController, CalendarControllerInternal, CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, Matrix2D, Matrix2DInternal, CircleShape, CircleShapeInternal, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ColorFilter, ColorFilterInternal, CommonShape, CommonShapeInternal, ComponentContent, ComponentContentInternal, ConsoleMessage, ConsoleMessageInternal, ControllerHandler, ControllerHandlerInternal, WebviewController, WebviewControllerInternal, CustomDialogController, CustomDialogControllerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, DragEvent, DragEventInternal, UnifiedData, UnifiedDataInternal, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, DrawModifier, DrawModifierInternal, EllipseShape, EllipseShapeInternal, EventResult, EventResultInternal, EventTargetInfo, EventTargetInfoInternal, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, Filter, FilterInternal, FrameNode, FrameNodeInternal, UIContext, UIContextInternal, FrictionMotion, FrictionMotionInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, GestureGroupInterface, GestureGroupInterfaceInternal, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureModifier, GestureModifierInternal, GestureRecognizer, GestureRecognizerInternal, GestureStyle, GestureStyleInternal, HttpAuthHandler, HttpAuthHandlerInternal, ICurve, ICurveInternal, ImageAnalyzerController, ImageAnalyzerControllerInternal, IndicatorComponentController, IndicatorComponentControllerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, LayoutManager, LayoutManagerInternal, LinearGradient, LinearGradientInternal, LinearIndicatorController, LinearIndicatorControllerInternal, ChildrenMainSize, ChildrenMainSizeInternal, ListScroller, ListScrollerInternal, Scroller, ScrollerInternal, GestureEvent, GestureEventInternal, LongPressRecognizer, LongPressRecognizerInternal, Matrix4Transit, Matrix4TransitInternal, NavDestinationContext, NavDestinationContextInternal, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Path2D, Path2DInternal, PathShape, PathShapeInternal, PatternLockController, PatternLockControllerInternal, PermissionRequest, PermissionRequestInternal, PinchRecognizer, PinchRecognizerInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal, PixelMapMock, PixelMapMockInternal, ProgressMask, ProgressMaskInternal, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, SubmitEvent, SubmitEventInternal, RichEditorBaseController, RichEditorBaseControllerInternal, TextEditControllerEx, TextEditControllerExInternal, RichEditorController, RichEditorControllerInternal, StyledString, StyledStringInternal, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, StyledStringController, StyledStringControllerInternal, MutableStyledString, MutableStyledStringInternal, RotationRecognizer, RotationRecognizerInternal, Scene, SceneInternal, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SearchController, SearchControllerInternal, TextContentControllerBase, TextContentControllerBaseInternal, ShapeClip, ShapeClipInternal, ShapeMask, ShapeMaskInternal, SpringMotion, SpringMotionInternal, SslErrorHandler, SslErrorHandlerInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, SwipeRecognizer, SwipeRecognizerInternal, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsController, TabsControllerInternal, TapRecognizer, TapRecognizerInternal, LengthMetrics, LengthMetricsInternal, TextAreaController, TextAreaControllerInternal, TextBaseController, TextBaseControllerInternal, TextClockController, TextClockControllerInternal, TextController, TextControllerInternal, TextInputController, TextInputControllerInternal, TextMenuItemId, TextMenuItemIdInternal, TextTimerController, TextTimerControllerInternal, TransitionEffect, TransitionEffectInternal, UICommonEvent, UICommonEventInternal, ClickEvent, ClickEventInternal, TouchEvent, TouchEventInternal, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, MouseEvent, MouseEventInternal, Context, ContextInternal, UIExtensionProxy, UIExtensionProxyInternal, UrlStyle, UrlStyleInternal, VideoController, VideoControllerInternal, View, ViewInternal, VisualEffect, VisualEffectInternal, WaterFlowSections, WaterFlowSectionsInternal, WebResourceRequest, WebResourceRequestInternal, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebResourceError, WebResourceErrorInternal, WebResourceResponse, WebResourceResponseInternal, WorkerEventListener, WorkerEventListenerInternal, AxisEvent, AxisEventInternal, FocusAxisEvent, FocusAxisEventInternal, BaseGestureEvent, BaseGestureEventInternal, NavigationTransitionProxy, NavigationTransitionProxyInternal, AppearSymbolEffect, AppearSymbolEffectInternal, BaseContext, BaseContextInternal, BaselineOffsetStyle, BaselineOffsetStyleInternal, BounceSymbolEffect, BounceSymbolEffectInternal, ColorMetrics, ColorMetricsInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, DrawingRenderingContext, DrawingRenderingContextInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal, ImageData, ImageDataInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, Measurable, MeasurableInternal, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, TextShadowStyle, TextShadowStyleInternal, VirtualScrollOptions, VirtualScrollOptionsInternal, XComponentController, XComponentControllerInternal, CanvasRenderer, CanvasRendererInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, DecorationStyle, DecorationStyleInternal, MenuItemConfiguration, MenuItemConfigurationInternal, RestrictedWorker, RestrictedWorkerInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, RenderNode, RenderNodeInternal, BaseEvent, BaseEventInternal, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, ParagraphStyle, ParagraphStyleInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal, BackgroundColorStyle, BackgroundColorStyleInternal } from "./../AllMaterialized" +import { Color, BarState, EdgeEffect, Axis, NestedScrollMode, FoldStatus, CopyOptions, ResponseType, ScrollSource, Edge, TextAlign, OptionWidthMode, LineCapStyle, LineJoinStyle, CrownSensitivity, Curve, PageFlipMode, FontWeight, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, TextCase, TextSelectableMode, FlexDirection, HitTestMode, ImageRepeat, ClickEffectLevel, CrownAction, BorderStyle, InteractionHand, AppRotation, KeyType, KeySource, GradientDirection, HorizontalAlign, VerticalAlign, PixelRoundCalcPolicy, Alignment, TouchType, DialogButtonStyle, PlayMode, DividerMode, XComponentType, ColoringStrategy, SharedTransitionEffectType, TransitionType, FlexWrap, FlexAlign, ItemAlign, TitleHeight, IlluminatedType, ArrowPointPosition, Placement, AxisModel, MouseButton, MouseAction, AccessibilityHoverType, AxisAction, ImageSpanAlignment, ImageFit } from "./../enums" import { Resource } from "./../resource" import { AnimationOptions } from "./../arkui-drawabledescriptor" import { CalendarPickerAttribute, CalendarAlign, CalendarOptions, CalendarDialogOptions } from "./../calendar_picker" @@ -66,37 +76,29 @@ import { CustomDialogControllerOptions } from "./../custom_dialog_controller" import { BlendMode, RectType, FontMetrics, FontMetricsFlags } from "./../arkui-drawing" import { Rect, DrawContext, LengthMetricsUnit, RoundRect, Circle, CommandPath, Size, Vector2, Vector3, BorderRadiuses_graphics, CornerRadius, Frame, LengthUnit, Edges, Matrix4 } from "./../arkui-graphics" import { TileMode, WaterRippleMode, FlyMode, BrightnessBlender } from "./../arkui-uieffect" -import { FullscreenInfo, PlaybackInfo, PreparedInfo, SeekMode, VideoOptions, PlaybackSpeed } from "./../video" -import { GestureMode, GestureType, GestureControl, GestureRecognizerState, GestureInterface, PanDirection, SwipeDirection, TapGestureParameters, GestureHandler, GesturePriority, GestureMask, GestureInfo, GestureJudgeResult, FingerInfo } from "./../gesture" -import { GestureStyleInterface, StyleOptions, StyledStringKey, SpanStyle, DecorationStyleInterface, UserDataSpan, CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo, TextStyleInterface, ImageAttachmentLayoutStyle, ImageAttachmentInterface, ParagraphStyleInterface, StyledStringValue } from "./../styled_string" +import { FullscreenInfo, PlaybackInfo, PreparedInfo, SeekMode, PosterOptions, VideoOptions, PlaybackSpeed } from "./../video" +import { GestureMode, GestureType, GestureControl, GestureRecognizerState, GestureInterface, LongPressGestureHandlerOptions, PanDirection, PanGestureHandlerOptions, PinchGestureHandlerOptions, RotationGestureHandlerOptions, SwipeDirection, SwipeGestureHandlerOptions, TapGestureParameters, GestureHandler, GesturePriority, GestureMask, GestureInfo, GestureJudgeResult, FingerInfo, BaseHandlerOptions } from "./../gesture" import { GridAttribute, GridDirection, GridItemAlignment, ComputedBarAttribute, GridLayoutOptions } from "./../grid" -import { ImageAnalyzerType, ImageAnalyzerConfig, ImageAIOptions } from "./../image_common" +import { ImageAnalyzerType, ImageAIOptions, ImageAnalyzerConfig } from "./../image_common" import { LineMetrics, TextBox, Affinity, FontStyle, EllipsisMode, FontFeature, FontVariation, RunMetrics, RectStyle, TextDirection, Decoration, TextDecorationType, TextDecorationStyle, TextShadow, text, TextBaseline } from "./../arkui-graphics-text" import { ColorStop, DataPanelOptions, DataPanelType, DataPanelShadowOptions } from "./../data_panel" import { TranslateOption, ScaleOption, RotateOption, PolyToPolyOptions } from "./../arkui-matrix4" -import { NavDestinationAttribute, NavDestinationMode, NavigationSystemTransitionType, NavDestinationCommonTitle, NavDestinationCustomTitle, RouteMapConfig } from "./../nav_destination" import { NodeController } from "./../ohos.arkui.node" import { Offset_componentutils, RotateResult, ScaleResult, TranslateResult, ComponentInfo, Matrix4Result } from "./../arkui-componentutils" import { PatternLockChallengeResult, CircleStyleOptions } from "./../pattern_lock" import { RootSceneSession } from "./../root_scene" import { RRect, WindowAnimationTarget } from "./../remote_window" -import { SelectAttribute, ArrowPosition, MenuAlignType, SelectOption } from "./../select" import { ContentModifier, CommonConfiguration, WrappedBuilder } from "./../arkui-wrapper-builder" -import { DividerOptions, TextPickerDialogOptions, TextPickerResult, TextCascadePickerRangeContent, TextPickerOptions, TextPickerRangeContent } from "./../text_picker" import { ShapeAttribute, ViewportRect } from "./../shape" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SymbolGlyphAttribute, SymbolEffectStrategy, SymbolRenderingStrategy, EffectFillStyle } from "./../symbolglyph" -import { TextAttribute, TextOverflowOptions, TextSpanType, TextResponseType, TextOptions } from "./../text" +import { TextAttribute, TextOverflowOptions, TextMarqueeOptions, MarqueeState, TextSpanType, TextResponseType, TextOptions, MarqueeStartPolicy } from "./../text" import { TextMetrics, ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, CanvasTextAlign, CanvasTextBaseline, CanvasFillRule } from "./../canvas" -import { TimePickerResult, TimePickerOptions, TimePickerFormat, TimePickerDialogOptions } from "./../time_picker" import { WindowSceneAttribute } from "./../window_scene" import { CalendarRequestedData, CalendarSelectedDate, CalendarDay, MonthData, CurrentDayStyle, NonCurrentDayStyle, TodayStyle, WeekStyle, WorkStateStyle } from "./../calendar" -import { LocationButtonOnClickResult, LocationButtonOptions, LocationIconStyle, LocationDescription } from "./../location_button" -import { PasteButtonOnClickResult, PasteButtonOptions, PasteIconStyle, PasteDescription } from "./../paste_button" -import { SaveButtonOnClickResult, SaveButtonOptions, SaveIconStyle, SaveDescription } from "./../save_button" -import { DatePickerResult, DatePickerOptions, LunarSwitchStyle, DatePickerDialogOptions } from "./../date_picker" -import { DismissDialogAction, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions } from "./../action_sheet" +import { DatePickerResult, DatePickerOptions, DatePickerMode, LunarSwitchStyle, DatePickerDialogOptions } from "./../date_picker" +import { DismissDialogAction, ImmersiveMode, LevelMode, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions } from "./../action_sheet" import { FormCallbackInfo, FormInfo, FormDimension, FormRenderingMode, FormShape } from "./../form_component" import { Want } from "./../ohos.app.ability" import { PanelMode } from "./../panel" @@ -108,16 +110,17 @@ import { ASTCResource } from "./../media_cached_image" import { BarrierStyle, BarrierDirection, LocalizedBarrierStyle, LocalizedBarrierDirection, GuideLinePosition, GuideLineStyle } from "./../relative_container" import { BreakPoints, BreakpointsReference, GridRowColumnOption, GridRowSizeOption, GutterOption, GridRowOptions, GridRowDirection } from "./../grid_row" import { CircleOptions } from "./../circle" -import { ColumnOptions } from "./../column" +import { ColumnOptions, ColumnOptionsV2 } from "./../column" import { common2D } from "./../ohos.graphics.common2D" import { CustomDialogBuildOptions, CustomDialogControllerBuilder } from "./../arkui-custom-dialog" import { DateTimeOptions } from "./../arkui-intl" import { EllipseOptions } from "./../ellipse" import { FormLinkOptions } from "./../form_link" -import { GaugeOptions, GaugeIndicatorOptions, GaugeShadowOptions } from "./../gauge" +import { GaugeOptions, GaugeShadowOptions, GaugeIndicatorOptions } from "./../gauge" import { GridColColumnOption, GridColOptions } from "./../grid_col" import { GridContainerOptions, SizeType } from "./../grid_container" import { GridItemOptions, GridItemStyle } from "./../gridItem" +import { LevelOrder, TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, DialogAlignment, AlertDialogParamWithButtons, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithOptions, DialogButtonDirection } from "./../alert_dialog" import { LineOptions } from "./../line" import { ListItemGroupOptions, ListItemGroupStyle } from "./../list_item_group" import { MarqueeOptions } from "./../marquee" @@ -125,35 +128,32 @@ import { PathOptions } from "./../path" import { PolygonOptions } from "./../polygon" import { PolylineOptions } from "./../polyline" import { ProgressOptions, ProgressStyle, ProgressType, LinearStyleOptions, ScanEffectOptions, CommonProgressStyleOptions, ProgressStyleOptions, RingStyleOptions, ProgressStatus, CapsuleStyleOptions } from "./../progress" -import { RadioOptions, RadioIndicatorType, RadioStyle } from "./../radio" -import { RatingOptions, StarStyleOptions } from "./../rating" import { RoundedRectOptions, RectOptions } from "./../rect" import { RouteInfo } from "./../nav_router" -import { RowOptions } from "./../row" +import { RowOptions, RowOptionsV2 } from "./../row" import { ScrollBarOptions, ScrollBarDirection } from "./../scroll_bar" import { StackOptions } from "./../stack" -import { TabBarSymbol, BoardStyle, TabBarIconStyle, TabBarOptions, LayoutMode, SelectedMode } from "./../tab_content" +import { TabBarSymbol, TabBarIconStyle, TabBarOptions, BoardStyle, LayoutMode, SelectedMode } from "./../tab_content" import { TextClockOptions } from "./../text_clock" -import { TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, DialogAlignment, AlertDialogParamWithButtons, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithOptions, DialogButtonDirection } from "./../alert_dialog" import { TextTimerOptions } from "./../text_timer" import { ToggleOptions, ToggleType, SwitchStyle } from "./../toggle" import { TransformationMatrix } from "./../arkui-common" -import { UIExtensionOptions, DpiFollowStrategy } from "./../ui_extension_component" -import { BadgeStyle, BadgeParamWithNumber, BadgeParam, BadgeParamWithString } from "./../badge" +import { UIExtensionOptions, DpiFollowStrategy, WindowModeFollowStrategy } from "./../ui_extension_component" import { ButtonIconOptions, ButtonStyle } from "./../sidebar" -import { ColumnSplitDividerStyle } from "./../column_split" -import { Indicator } from "./../ArkIndicatorBuilder" import { FlexSpaceOptions, FlexOptions } from "./../flex" import { FocusBoxStyle } from "./../focus" import { ImageFrameInfo } from "./../image_animator" import { MenuItemGroupOptions } from "./../menu_item_group" import { MenuItemOptions } from "./../menu_item" +import { BadgeStyle, BadgeParamWithNumber, BadgeParam, BadgeParamWithString } from "./../badge" +import { ColumnSplitDividerStyle } from "./../column_split" +import { Indicator } from "./../ArkIndicatorBuilder" import { TextBackgroundStyle } from "./../span" import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" export class Deserializer extends DeserializerBase { - readAccessibilityCallback(isSync: boolean = false): AccessibilityCallback { + public readAccessibilityCallback(isSync: boolean = false): AccessibilityCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -168,397 +168,413 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readAlphabetIndexerAttribute(): AlphabetIndexerAttribute { + public readAccessibilityFocusCallback(isSync: boolean = false): AccessibilityFocusCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (isFocus: boolean): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBoolean(isFocus); + (isSync) ? (InteropNativeModule._CallCallbackSync(1715445305, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1715445305, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readAlphabetIndexerAttribute(): AlphabetIndexerAttribute { let value: AlphabetIndexerAttribute = ({} as AlphabetIndexerAttribute) return value } - readAnimatedDrawableDescriptor(): AnimatedDrawableDescriptor { + public readAnimatedDrawableDescriptor(): AnimatedDrawableDescriptor { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return AnimatedDrawableDescriptorInternal.fromPtr(ptr) } - readBaseShape(): BaseShape { + public readBaseShape(): BaseShape { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return BaseShapeInternal.fromPtr(ptr) } - readCalendarController(): CalendarController { + public readCalendarController(): CalendarController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return CalendarControllerInternal.fromPtr(ptr) } - readCalendarPickerAttribute(): CalendarPickerAttribute { + public readCalendarPickerAttribute(): CalendarPickerAttribute { let value: CalendarPickerAttribute = ({} as CalendarPickerAttribute) return value } - readCanvasGradient(): CanvasGradient { + public readCanvasGradient(): CanvasGradient { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return CanvasGradientInternal.fromPtr(ptr) } - readCanvasPath(): CanvasPath { + public readCanvasPath(): CanvasPath { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return CanvasPathInternal.fromPtr(ptr) } - readCanvasPattern(): CanvasPattern { + public readCanvasPattern(): CanvasPattern { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return CanvasPatternInternal.fromPtr(ptr) } - readCircleShape(): CircleShape { + public readCircleShape(): CircleShape { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return CircleShapeInternal.fromPtr(ptr) } - readClientAuthenticationHandler(): ClientAuthenticationHandler { + public readClientAuthenticationHandler(): ClientAuthenticationHandler { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ClientAuthenticationHandlerInternal.fromPtr(ptr) } - readColorFilter(): ColorFilter { + public readColorContent(): ColorContent { + let value: ColorContent = ({} as ColorContent) + return value + } + public readColorFilter(): ColorFilter { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ColorFilterInternal.fromPtr(ptr) } - readCommonShape(): CommonShape { + public readCommonShape(): CommonShape { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return CommonShapeInternal.fromPtr(ptr) } - readComponent3DAttribute(): Component3DAttribute { + public readComponent3DAttribute(): Component3DAttribute { let value: Component3DAttribute = ({} as Component3DAttribute) return value } - readComponentContent(): ComponentContent { + public readComponentContent(): ComponentContent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ComponentContentInternal.fromPtr(ptr) } - readConsoleMessage(): ConsoleMessage { + public readConsoleMessage(): ConsoleMessage { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ConsoleMessageInternal.fromPtr(ptr) } - readControllerHandler(): ControllerHandler { + public readControllerHandler(): ControllerHandler { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ControllerHandlerInternal.fromPtr(ptr) } - readCustomDialogController(): CustomDialogController { + public readCustomDialogController(): CustomDialogController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return CustomDialogControllerInternal.fromPtr(ptr) } - readDataResubmissionHandler(): DataResubmissionHandler { + public readDataResubmissionHandler(): DataResubmissionHandler { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return DataResubmissionHandlerInternal.fromPtr(ptr) } - readDragEvent(): DragEvent { + public readDragEvent(): DragEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return DragEventInternal.fromPtr(ptr) } - readDrawableDescriptor(): DrawableDescriptor { + public readDrawableDescriptor(): DrawableDescriptor { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return DrawableDescriptorInternal.fromPtr(ptr) } - readDrawingCanvas(): DrawingCanvas { + public readDrawingCanvas(): DrawingCanvas { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return DrawingCanvasInternal.fromPtr(ptr) } - readDrawingColorFilter(): DrawingColorFilter { + public readDrawingColorFilter(): DrawingColorFilter { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return DrawingColorFilterInternal.fromPtr(ptr) } - readDrawingLattice(): DrawingLattice { + public readDrawingLattice(): DrawingLattice { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return DrawingLatticeInternal.fromPtr(ptr) } - readDrawModifier(): DrawModifier { + public readDrawModifier(): DrawModifier { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return DrawModifierInternal.fromPtr(ptr) } - readEdgeEffectOptions(): EdgeEffectOptions { - let valueDeserializer: Deserializer = this - const alwaysEnabled_result: boolean = valueDeserializer.readBoolean() - let value: EdgeEffectOptions = ({alwaysEnabled: alwaysEnabled_result} as EdgeEffectOptions) - return value - } - readEllipseShape(): EllipseShape { + public readEllipseShape(): EllipseShape { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return EllipseShapeInternal.fromPtr(ptr) } - readEventResult(): EventResult { + public readEventResult(): EventResult { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return EventResultInternal.fromPtr(ptr) } - readEventTargetInfo(): EventTargetInfo { + public readEventTargetInfo(): EventTargetInfo { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return EventTargetInfoInternal.fromPtr(ptr) } - readFileSelectorParam(): FileSelectorParam { + public readFileSelectorParam(): FileSelectorParam { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return FileSelectorParamInternal.fromPtr(ptr) } - readFileSelectorResult(): FileSelectorResult { + public readFileSelectorResult(): FileSelectorResult { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return FileSelectorResultInternal.fromPtr(ptr) } - readFilter(): Filter { + public readFilter(): Filter { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return FilterInternal.fromPtr(ptr) } - readFrameNode(): FrameNode { + public readFrameNode(): FrameNode { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return FrameNodeInternal.fromPtr(ptr) } - readFrictionMotion(): FrictionMotion { + public readFrictionMotion(): FrictionMotion { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return FrictionMotionInternal.fromPtr(ptr) } - readFullScreenExitHandler(): FullScreenExitHandler { + public readFullScreenExitHandler(): FullScreenExitHandler { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return FullScreenExitHandlerInternal.fromPtr(ptr) } - readFullscreenInfo(): FullscreenInfo { + public readFullscreenInfo(): FullscreenInfo { let valueDeserializer: Deserializer = this const fullscreen_result: boolean = valueDeserializer.readBoolean() let value: FullscreenInfo = ({fullscreen: fullscreen_result} as FullscreenInfo) return value } - readGestureGroupInterface(): GestureGroupInterface { + public readGestureGroupInterface(): GestureGroupInterface { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return GestureGroupInterfaceInternal.fromPtr(ptr) } - readGestureModifier(): GestureModifier { + public readGestureModifier(): GestureModifier { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return GestureModifierInternal.fromPtr(ptr) } - readGestureRecognizer(): GestureRecognizer { + public readGestureRecognizer(): GestureRecognizer { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return GestureRecognizerInternal.fromPtr(ptr) } - readGestureStyle(): GestureStyle { + public readGestureStyle(): GestureStyle { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return GestureStyleInternal.fromPtr(ptr) } - readGridAttribute(): GridAttribute { + public readGridAttribute(): GridAttribute { let value: GridAttribute = ({} as GridAttribute) return value } - readHttpAuthHandler(): HttpAuthHandler { + public readHttpAuthHandler(): HttpAuthHandler { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return HttpAuthHandlerInternal.fromPtr(ptr) } - readICurve(): ICurve { + public readICurve(): ICurve { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ICurveInternal.fromPtr(ptr) } - readImageAnalyzerController(): ImageAnalyzerController { + public readImageAnalyzerController(): ImageAnalyzerController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ImageAnalyzerControllerInternal.fromPtr(ptr) } - readImageModifier(): ImageModifier { + public readImageModifier(): ImageModifier { let value: ImageModifier = ({} as ImageModifier) return value } - readIndicatorComponentController(): IndicatorComponentController { + public readIndicatorComponentController(): IndicatorComponentController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return IndicatorComponentControllerInternal.fromPtr(ptr) } - readJsGeolocation(): JsGeolocation { + public readJsGeolocation(): JsGeolocation { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return JsGeolocationInternal.fromPtr(ptr) } - readJsResult(): JsResult { + public readJsResult(): JsResult { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return JsResultInternal.fromPtr(ptr) } - readLayeredDrawableDescriptor(): LayeredDrawableDescriptor { + public readLayeredDrawableDescriptor(): LayeredDrawableDescriptor { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return LayeredDrawableDescriptorInternal.fromPtr(ptr) } - readLayoutManager(): LayoutManager { + public readLayoutManager(): LayoutManager { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return LayoutManagerInternal.fromPtr(ptr) } - readLinearGradient(): LinearGradient { + public readLayoutPolicy(): LayoutPolicy { + let value: LayoutPolicy = ({} as LayoutPolicy) + return value + } + public readLinearGradient(): LinearGradient { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return LinearGradientInternal.fromPtr(ptr) } - readLinearIndicatorController(): LinearIndicatorController { + public readLinearIndicatorController(): LinearIndicatorController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return LinearIndicatorControllerInternal.fromPtr(ptr) } - readListAttribute(): ListAttribute { + public readListAttribute(): ListAttribute { let value: ListAttribute = ({} as ListAttribute) return value } - readListScroller(): ListScroller { + public readListScroller(): ListScroller { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ListScrollerInternal.fromPtr(ptr) } - readLongPressGestureInterface(): LongPressGestureInterface { + public readLongPressGestureInterface(): LongPressGestureInterface { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return LongPressGestureInterfaceInternal.fromPtr(ptr) } - readMatrix4Transit(): Matrix4Transit { + public readLongPressRecognizer(): LongPressRecognizer { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() - return Matrix4TransitInternal.fromPtr(ptr) + return LongPressRecognizerInternal.fromPtr(ptr) } - readMeasurable(): Measurable { + public readMatrix4Transit(): Matrix4Transit { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() - return MeasurableInternal.fromPtr(ptr) + return Matrix4TransitInternal.fromPtr(ptr) } - readNativeMediaPlayerConfig(): NativeMediaPlayerConfig { + public readNativeMediaPlayerConfig(): NativeMediaPlayerConfig { let valueDeserializer: Deserializer = this const enable_result: boolean = valueDeserializer.readBoolean() const shouldOverlay_result: boolean = valueDeserializer.readBoolean() let value: NativeMediaPlayerConfig = ({enable: enable_result, shouldOverlay: shouldOverlay_result} as NativeMediaPlayerConfig) return value } - readNavDestinationAttribute(): NavDestinationAttribute { + public readNavDestinationAttribute(): NavDestinationAttribute { let value: NavDestinationAttribute = ({} as NavDestinationAttribute) return value } - readNavigationAttribute(): NavigationAttribute { + public readNavigationAttribute(): NavigationAttribute { let value: NavigationAttribute = ({} as NavigationAttribute) return value } - readNavPathStack(): NavPathStack { + public readNavPathStack(): NavPathStack { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return NavPathStackInternal.fromPtr(ptr) } - readNestedScrollOptions(): NestedScrollOptions { + public readNestedScrollOptions(): NestedScrollOptions { let valueDeserializer: Deserializer = this const scrollForward_result: NestedScrollMode = valueDeserializer.readInt32() const scrollBackward_result: NestedScrollMode = valueDeserializer.readInt32() let value: NestedScrollOptions = ({scrollForward: scrollForward_result, scrollBackward: scrollBackward_result} as NestedScrollOptions) return value } - readNodeController(): NodeController { + public readNodeController(): NodeController { let value: NodeController = ({} as NodeController) return value } - readOffscreenCanvas(): OffscreenCanvas { + public readOffscreenCanvas(): OffscreenCanvas { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return OffscreenCanvasInternal.fromPtr(ptr) } - readOffset_componentutils(): Offset_componentutils { + public readOffset_componentutils(): Offset_componentutils { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) const y_result: number = (valueDeserializer.readNumber() as number) let value: Offset_componentutils = ({x: x_result, y: y_result} as Offset_componentutils) return value } - readOffsetResult(): OffsetResult { + public readOffsetResult(): OffsetResult { let valueDeserializer: Deserializer = this const xOffset_result: number = (valueDeserializer.readNumber() as number) const yOffset_result: number = (valueDeserializer.readNumber() as number) let value: OffsetResult = ({xOffset: xOffset_result, yOffset: yOffset_result} as OffsetResult) return value } - readOnAudioStateChangedEvent(): OnAudioStateChangedEvent { + public readOnAudioStateChangedEvent(): OnAudioStateChangedEvent { let valueDeserializer: Deserializer = this const playing_result: boolean = valueDeserializer.readBoolean() let value: OnAudioStateChangedEvent = ({playing: playing_result} as OnAudioStateChangedEvent) return value } - readOnConsoleEvent(): OnConsoleEvent { + public readOnConsoleEvent(): OnConsoleEvent { let valueDeserializer: Deserializer = this const message_result: ConsoleMessage = (valueDeserializer.readConsoleMessage() as ConsoleMessage) let value: OnConsoleEvent = ({message: message_result} as OnConsoleEvent) return value } - readOnDataResubmittedEvent(): OnDataResubmittedEvent { + public readOnDataResubmittedEvent(): OnDataResubmittedEvent { let valueDeserializer: Deserializer = this const handler_result: DataResubmissionHandler = (valueDeserializer.readDataResubmissionHandler() as DataResubmissionHandler) let value: OnDataResubmittedEvent = ({handler: handler_result} as OnDataResubmittedEvent) return value } - readOnFirstContentfulPaintEvent(): OnFirstContentfulPaintEvent { + public readOnFirstContentfulPaintEvent(): OnFirstContentfulPaintEvent { let valueDeserializer: Deserializer = this const navigationStartTick_result: number = (valueDeserializer.readNumber() as number) const firstContentfulPaintMs_result: number = (valueDeserializer.readNumber() as number) let value: OnFirstContentfulPaintEvent = ({navigationStartTick: navigationStartTick_result, firstContentfulPaintMs: firstContentfulPaintMs_result} as OnFirstContentfulPaintEvent) return value } - readOnFoldStatusChangeInfo(): OnFoldStatusChangeInfo { + public readOnFoldStatusChangeInfo(): OnFoldStatusChangeInfo { let valueDeserializer: Deserializer = this const foldStatus_result: FoldStatus = valueDeserializer.readInt32() let value: OnFoldStatusChangeInfo = ({foldStatus: foldStatus_result} as OnFoldStatusChangeInfo) return value } - readOnOverScrollEvent(): OnOverScrollEvent { + public readOnOverScrollEvent(): OnOverScrollEvent { let valueDeserializer: Deserializer = this const xOffset_result: number = (valueDeserializer.readNumber() as number) const yOffset_result: number = (valueDeserializer.readNumber() as number) let value: OnOverScrollEvent = ({xOffset: xOffset_result, yOffset: yOffset_result} as OnOverScrollEvent) return value } - readOnProgressChangeEvent(): OnProgressChangeEvent { + public readOnProgressChangeEvent(): OnProgressChangeEvent { let valueDeserializer: Deserializer = this const newProgress_result: number = (valueDeserializer.readNumber() as number) let value: OnProgressChangeEvent = ({newProgress: newProgress_result} as OnProgressChangeEvent) return value } - readOnScaleChangeEvent(): OnScaleChangeEvent { + public readOnScaleChangeEvent(): OnScaleChangeEvent { let valueDeserializer: Deserializer = this const oldScale_result: number = (valueDeserializer.readNumber() as number) const newScale_result: number = (valueDeserializer.readNumber() as number) let value: OnScaleChangeEvent = ({oldScale: oldScale_result, newScale: newScale_result} as OnScaleChangeEvent) return value } - readOnScrollEvent(): OnScrollEvent { + public readOnScrollEvent(): OnScrollEvent { let valueDeserializer: Deserializer = this const xOffset_result: number = (valueDeserializer.readNumber() as number) const yOffset_result: number = (valueDeserializer.readNumber() as number) let value: OnScrollEvent = ({xOffset: xOffset_result, yOffset: yOffset_result} as OnScrollEvent) return value } - readOnScrollFrameBeginHandlerResult(): OnScrollFrameBeginHandlerResult { + public readOnScrollFrameBeginHandlerResult(): OnScrollFrameBeginHandlerResult { let valueDeserializer: Deserializer = this const offsetRemain_result: number = (valueDeserializer.readNumber() as number) let value: OnScrollFrameBeginHandlerResult = ({offsetRemain: offsetRemain_result} as OnScrollFrameBeginHandlerResult) return value } - readOnSearchResultReceiveEvent(): OnSearchResultReceiveEvent { + public readOnSearchResultReceiveEvent(): OnSearchResultReceiveEvent { let valueDeserializer: Deserializer = this const activeMatchOrdinal_result: number = (valueDeserializer.readNumber() as number) const numberOfMatches_result: number = (valueDeserializer.readNumber() as number) @@ -566,98 +582,109 @@ export class Deserializer extends DeserializerBase { let value: OnSearchResultReceiveEvent = ({activeMatchOrdinal: activeMatchOrdinal_result, numberOfMatches: numberOfMatches_result, isDoneCounting: isDoneCounting_result} as OnSearchResultReceiveEvent) return value } - readOnShowFileSelectorEvent(): OnShowFileSelectorEvent { + public readOnShowFileSelectorEvent(): OnShowFileSelectorEvent { let valueDeserializer: Deserializer = this const result_result: FileSelectorResult = (valueDeserializer.readFileSelectorResult() as FileSelectorResult) const fileSelector_result: FileSelectorParam = (valueDeserializer.readFileSelectorParam() as FileSelectorParam) let value: OnShowFileSelectorEvent = ({result: result_result, fileSelector: fileSelector_result} as OnShowFileSelectorEvent) return value } - readPanGestureInterface(): PanGestureInterface { + public readPanGestureInterface(): PanGestureInterface { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return PanGestureInterfaceInternal.fromPtr(ptr) } - readPanGestureOptions(): PanGestureOptions { + public readPanGestureOptions(): PanGestureOptions { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return PanGestureOptionsInternal.fromPtr(ptr) } - readPanRecognizer(): PanRecognizer { + public readPanRecognizer(): PanRecognizer { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return PanRecognizerInternal.fromPtr(ptr) } - readPath2D(): Path2D { + public readPath2D(): Path2D { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return Path2DInternal.fromPtr(ptr) } - readPathShape(): PathShape { + public readPathShape(): PathShape { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return PathShapeInternal.fromPtr(ptr) } - readPatternLockController(): PatternLockController { + public readPatternLockController(): PatternLockController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return PatternLockControllerInternal.fromPtr(ptr) } - readPermissionRequest(): PermissionRequest { + public readPermissionRequest(): PermissionRequest { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return PermissionRequestInternal.fromPtr(ptr) } - readPinchGestureInterface(): PinchGestureInterface { + public readPinchGestureInterface(): PinchGestureInterface { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return PinchGestureInterfaceInternal.fromPtr(ptr) } - readPixelMap(): PixelMap { + public readPinchRecognizer(): PinchRecognizer { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return PinchRecognizerInternal.fromPtr(ptr) + } + public readPixelMap(): PixelMap { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return PixelMapInternal.fromPtr(ptr) } - readPixelMapDrawableDescriptor(): PixelMapDrawableDescriptor { + public readPixelMapDrawableDescriptor(): PixelMapDrawableDescriptor { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return PixelMapDrawableDescriptorInternal.fromPtr(ptr) } - readPixelMapMock(): PixelMapMock { + public readPixelMapMock(): PixelMapMock { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return PixelMapMockInternal.fromPtr(ptr) } - readPlaybackInfo(): PlaybackInfo { + public readPlaybackInfo(): PlaybackInfo { let valueDeserializer: Deserializer = this const time_result: number = (valueDeserializer.readNumber() as number) let value: PlaybackInfo = ({time: time_result} as PlaybackInfo) return value } - readPositionWithAffinity(): PositionWithAffinity { + public readPopupStateChangeParam(): PopupStateChangeParam { + let valueDeserializer: Deserializer = this + const isVisible_result: boolean = valueDeserializer.readBoolean() + let value: PopupStateChangeParam = ({isVisible: isVisible_result} as PopupStateChangeParam) + return value + } + public readPositionWithAffinity(): PositionWithAffinity { let valueDeserializer: Deserializer = this const position_result: number = (valueDeserializer.readNumber() as number) const affinity_result: Affinity = valueDeserializer.readInt32() let value: PositionWithAffinity = ({position: position_result, affinity: affinity_result} as PositionWithAffinity) return value } - readPreparedInfo(): PreparedInfo { + public readPreparedInfo(): PreparedInfo { let valueDeserializer: Deserializer = this const duration_result: number = (valueDeserializer.readNumber() as number) let value: PreparedInfo = ({duration: duration_result} as PreparedInfo) return value } - readProgressMask(): ProgressMask { + public readProgressMask(): ProgressMask { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ProgressMaskInternal.fromPtr(ptr) } - readPulseSymbolEffect(): PulseSymbolEffect { + public readPulseSymbolEffect(): PulseSymbolEffect { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return PulseSymbolEffectInternal.fromPtr(ptr) } - readRect(): Rect { + public readRect(): Rect { let valueDeserializer: Deserializer = this const left_result: number = (valueDeserializer.readNumber() as number) const top_result: number = (valueDeserializer.readNumber() as number) @@ -666,7 +693,7 @@ export class Deserializer extends DeserializerBase { let value: Rect = ({left: left_result, top: top_result, right: right_result, bottom: bottom_result} as Rect) return value } - readRectResult(): RectResult { + public readRectResult(): RectResult { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) const y_result: number = (valueDeserializer.readNumber() as number) @@ -675,47 +702,47 @@ export class Deserializer extends DeserializerBase { let value: RectResult = ({x: x_result, y: y_result, width: width_result, height: height_result} as RectResult) return value } - readRectShape(): RectShape { + public readRectShape(): RectShape { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return RectShapeInternal.fromPtr(ptr) } - readRichEditorAttribute(): RichEditorAttribute { + public readRichEditorAttribute(): RichEditorAttribute { let value: RichEditorAttribute = ({} as RichEditorAttribute) return value } - readRichEditorBaseController(): RichEditorBaseController { + public readRichEditorBaseController(): RichEditorBaseController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return RichEditorBaseControllerInternal.fromPtr(ptr) } - readRichEditorController(): RichEditorController { + public readRichEditorController(): RichEditorController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return RichEditorControllerInternal.fromPtr(ptr) } - readRichEditorOptions(): RichEditorOptions { + public readRichEditorOptions(): RichEditorOptions { let valueDeserializer: Deserializer = this const controller_result: RichEditorController = (valueDeserializer.readRichEditorController() as RichEditorController) let value: RichEditorOptions = ({controller: controller_result} as RichEditorOptions) return value } - readRichEditorStyledStringController(): RichEditorStyledStringController { + public readRichEditorStyledStringController(): RichEditorStyledStringController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return RichEditorStyledStringControllerInternal.fromPtr(ptr) } - readRichEditorStyledStringOptions(): RichEditorStyledStringOptions { + public readRichEditorStyledStringOptions(): RichEditorStyledStringOptions { let valueDeserializer: Deserializer = this const controller_result: RichEditorStyledStringController = (valueDeserializer.readRichEditorStyledStringController() as RichEditorStyledStringController) let value: RichEditorStyledStringOptions = ({controller: controller_result} as RichEditorStyledStringOptions) return value } - readRootSceneSession(): RootSceneSession { + public readRootSceneSession(): RootSceneSession { let value: RootSceneSession = ({} as RootSceneSession) return value } - readRotateResult(): RotateResult { + public readRotateResult(): RotateResult { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) const y_result: number = (valueDeserializer.readNumber() as number) @@ -726,12 +753,17 @@ export class Deserializer extends DeserializerBase { let value: RotateResult = ({x: x_result, y: y_result, z: z_result, centerX: centerX_result, centerY: centerY_result, angle: angle_result} as RotateResult) return value } - readRotationGestureInterface(): RotationGestureInterface { + public readRotationGestureInterface(): RotationGestureInterface { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return RotationGestureInterfaceInternal.fromPtr(ptr) } - readRRect(): RRect { + public readRotationRecognizer(): RotationRecognizer { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return RotationRecognizerInternal.fromPtr(ptr) + } + public readRRect(): RRect { let valueDeserializer: Deserializer = this const left_result: number = (valueDeserializer.readNumber() as number) const top_result: number = (valueDeserializer.readNumber() as number) @@ -741,7 +773,7 @@ export class Deserializer extends DeserializerBase { let value: RRect = ({left: left_result, top: top_result, width: width_result, height: height_result, radius: radius_result} as RRect) return value } - readScaleResult(): ScaleResult { + public readScaleResult(): ScaleResult { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) const y_result: number = (valueDeserializer.readNumber() as number) @@ -751,109 +783,109 @@ export class Deserializer extends DeserializerBase { let value: ScaleResult = ({x: x_result, y: y_result, z: z_result, centerX: centerX_result, centerY: centerY_result} as ScaleResult) return value } - readScene(): Scene { + public readScene(): Scene { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return SceneInternal.fromPtr(ptr) } - readScreenCaptureHandler(): ScreenCaptureHandler { + public readScreenCaptureHandler(): ScreenCaptureHandler { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ScreenCaptureHandlerInternal.fromPtr(ptr) } - readScrollableTargetInfo(): ScrollableTargetInfo { + public readScrollableTargetInfo(): ScrollableTargetInfo { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ScrollableTargetInfoInternal.fromPtr(ptr) } - readScrollAttribute(): ScrollAttribute { + public readScrollAttribute(): ScrollAttribute { let value: ScrollAttribute = ({} as ScrollAttribute) return value } - readScroller(): Scroller { + public readScroller(): Scroller { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ScrollerInternal.fromPtr(ptr) } - readScrollMotion(): ScrollMotion { + public readScrollMotion(): ScrollMotion { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ScrollMotionInternal.fromPtr(ptr) } - readSearchAttribute(): SearchAttribute { + public readSearchAttribute(): SearchAttribute { let value: SearchAttribute = ({} as SearchAttribute) return value } - readSearchController(): SearchController { + public readSearchController(): SearchController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return SearchControllerInternal.fromPtr(ptr) } - readSelectAttribute(): SelectAttribute { + public readSelectAttribute(): SelectAttribute { let value: SelectAttribute = ({} as SelectAttribute) return value } - readShapeAttribute(): ShapeAttribute { + public readShapeAttribute(): ShapeAttribute { let value: ShapeAttribute = ({} as ShapeAttribute) return value } - readShapeClip(): ShapeClip { + public readShapeClip(): ShapeClip { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ShapeClipInternal.fromPtr(ptr) } - readShapeMask(): ShapeMask { + public readShapeMask(): ShapeMask { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ShapeMaskInternal.fromPtr(ptr) } - readSize(): Size { + public readSize(): Size { let valueDeserializer: Deserializer = this const width_result: number = (valueDeserializer.readNumber() as number) const height_result: number = (valueDeserializer.readNumber() as number) let value: Size = ({width: width_result, height: height_result} as Size) return value } - readSliderAttribute(): SliderAttribute { + public readSliderAttribute(): SliderAttribute { let value: SliderAttribute = ({} as SliderAttribute) return value } - readSpringMotion(): SpringMotion { + public readSpringMotion(): SpringMotion { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return SpringMotionInternal.fromPtr(ptr) } - readSpringProp(): SpringProp { + public readSpringProp(): SpringProp { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return SpringPropInternal.fromPtr(ptr) } - readSslErrorHandler(): SslErrorHandler { + public readSslErrorHandler(): SslErrorHandler { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return SslErrorHandlerInternal.fromPtr(ptr) } - readStyledString(): StyledString { + public readStyledString(): StyledString { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return StyledStringInternal.fromPtr(ptr) } - readStyledStringController(): StyledStringController { + public readStyledStringController(): StyledStringController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return StyledStringControllerInternal.fromPtr(ptr) } - readSubmitEvent(): SubmitEvent { + public readSubmitEvent(): SubmitEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return SubmitEventInternal.fromPtr(ptr) } - readSwipeGestureInterface(): SwipeGestureInterface { + public readSwipeGestureInterface(): SwipeGestureInterface { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return SwipeGestureInterfaceInternal.fromPtr(ptr) } - readSwiperAnimationEvent(): SwiperAnimationEvent { + public readSwiperAnimationEvent(): SwiperAnimationEvent { let valueDeserializer: Deserializer = this const currentOffset_result: number = (valueDeserializer.readNumber() as number) const targetOffset_result: number = (valueDeserializer.readNumber() as number) @@ -861,39 +893,52 @@ export class Deserializer extends DeserializerBase { let value: SwiperAnimationEvent = ({currentOffset: currentOffset_result, targetOffset: targetOffset_result, velocity: velocity_result} as SwiperAnimationEvent) return value } - readSwiperAttribute(): SwiperAttribute { + public readSwiperAttribute(): SwiperAttribute { let value: SwiperAttribute = ({} as SwiperAttribute) return value } - readSwiperContentTransitionProxy(): SwiperContentTransitionProxy { + public readSwiperContentTransitionProxy(): SwiperContentTransitionProxy { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return SwiperContentTransitionProxyInternal.fromPtr(ptr) } - readSwiperController(): SwiperController { + public readSwiperContentWillScrollResult(): SwiperContentWillScrollResult { + let valueDeserializer: Deserializer = this + const currentIndex_result: number = (valueDeserializer.readNumber() as number) + const comingIndex_result: number = (valueDeserializer.readNumber() as number) + const offset_result: number = (valueDeserializer.readNumber() as number) + let value: SwiperContentWillScrollResult = ({currentIndex: currentIndex_result, comingIndex: comingIndex_result, offset: offset_result} as SwiperContentWillScrollResult) + return value + } + public readSwiperController(): SwiperController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return SwiperControllerInternal.fromPtr(ptr) } - readSymbolEffect(): SymbolEffect { + public readSwipeRecognizer(): SwipeRecognizer { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return SwipeRecognizerInternal.fromPtr(ptr) + } + public readSymbolEffect(): SymbolEffect { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return SymbolEffectInternal.fromPtr(ptr) } - readSymbolGlyphAttribute(): SymbolGlyphAttribute { + public readSymbolGlyphAttribute(): SymbolGlyphAttribute { let value: SymbolGlyphAttribute = ({} as SymbolGlyphAttribute) return value } - readSymbolGlyphModifier(): SymbolGlyphModifier { + public readSymbolGlyphModifier(): SymbolGlyphModifier { let value: SymbolGlyphModifier = ({} as SymbolGlyphModifier) return value } - readTabContentTransitionProxy(): TabContentTransitionProxy { + public readTabContentTransitionProxy(): TabContentTransitionProxy { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TabContentTransitionProxyInternal.fromPtr(ptr) } - readTabsAnimationEvent(): TabsAnimationEvent { + public readTabsAnimationEvent(): TabsAnimationEvent { let valueDeserializer: Deserializer = this const currentOffset_result: number = (valueDeserializer.readNumber() as number) const targetOffset_result: number = (valueDeserializer.readNumber() as number) @@ -901,73 +946,78 @@ export class Deserializer extends DeserializerBase { let value: TabsAnimationEvent = ({currentOffset: currentOffset_result, targetOffset: targetOffset_result, velocity: velocity_result} as TabsAnimationEvent) return value } - readTabsAttribute(): TabsAttribute { + public readTabsAttribute(): TabsAttribute { let value: TabsAttribute = ({} as TabsAttribute) return value } - readTabsController(): TabsController { + public readTabsController(): TabsController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TabsControllerInternal.fromPtr(ptr) } - readTapGestureInterface(): TapGestureInterface { + public readTapGestureInterface(): TapGestureInterface { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TapGestureInterfaceInternal.fromPtr(ptr) } - readTextAreaAttribute(): TextAreaAttribute { + public readTapRecognizer(): TapRecognizer { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return TapRecognizerInternal.fromPtr(ptr) + } + public readTextAreaAttribute(): TextAreaAttribute { let value: TextAreaAttribute = ({} as TextAreaAttribute) return value } - readTextAreaController(): TextAreaController { + public readTextAreaController(): TextAreaController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TextAreaControllerInternal.fromPtr(ptr) } - readTextAttribute(): TextAttribute { + public readTextAttribute(): TextAttribute { let value: TextAttribute = ({} as TextAttribute) return value } - readTextBaseController(): TextBaseController { + public readTextBaseController(): TextBaseController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TextBaseControllerInternal.fromPtr(ptr) } - readTextClockController(): TextClockController { + public readTextClockController(): TextClockController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TextClockControllerInternal.fromPtr(ptr) } - readTextContentControllerBase(): TextContentControllerBase { + public readTextContentControllerBase(): TextContentControllerBase { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TextContentControllerBaseInternal.fromPtr(ptr) } - readTextController(): TextController { + public readTextController(): TextController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TextControllerInternal.fromPtr(ptr) } - readTextEditControllerEx(): TextEditControllerEx { + public readTextEditControllerEx(): TextEditControllerEx { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TextEditControllerExInternal.fromPtr(ptr) } - readTextInputAttribute(): TextInputAttribute { + public readTextInputAttribute(): TextInputAttribute { let value: TextInputAttribute = ({} as TextInputAttribute) return value } - readTextInputController(): TextInputController { + public readTextInputController(): TextInputController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TextInputControllerInternal.fromPtr(ptr) } - readTextMenuItemId(): TextMenuItemId { + public readTextMenuItemId(): TextMenuItemId { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TextMenuItemIdInternal.fromPtr(ptr) } - readTextMetrics(): TextMetrics { + public readTextMetrics(): TextMetrics { let valueDeserializer: Deserializer = this const actualBoundingBoxAscent_result: number = (valueDeserializer.readNumber() as number) const actualBoundingBoxDescent_result: number = (valueDeserializer.readNumber() as number) @@ -985,28 +1035,28 @@ export class Deserializer extends DeserializerBase { let value: TextMetrics = ({actualBoundingBoxAscent: actualBoundingBoxAscent_result, actualBoundingBoxDescent: actualBoundingBoxDescent_result, actualBoundingBoxLeft: actualBoundingBoxLeft_result, actualBoundingBoxRight: actualBoundingBoxRight_result, alphabeticBaseline: alphabeticBaseline_result, emHeightAscent: emHeightAscent_result, emHeightDescent: emHeightDescent_result, fontBoundingBoxAscent: fontBoundingBoxAscent_result, fontBoundingBoxDescent: fontBoundingBoxDescent_result, hangingBaseline: hangingBaseline_result, ideographicBaseline: ideographicBaseline_result, width: width_result, height: height_result} as TextMetrics) return value } - readTextModifier(): TextModifier { + public readTextModifier(): TextModifier { let value: TextModifier = ({} as TextModifier) return value } - readTextOptions(): TextOptions { + public readTextOptions(): TextOptions { let valueDeserializer: Deserializer = this const controller_result: TextController = (valueDeserializer.readTextController() as TextController) let value: TextOptions = ({controller: controller_result} as TextOptions) return value } - readTextOverflowOptions(): TextOverflowOptions { + public readTextOverflowOptions(): TextOverflowOptions { let valueDeserializer: Deserializer = this const overflow_result: TextOverflow = valueDeserializer.readInt32() let value: TextOverflowOptions = ({overflow: overflow_result} as TextOverflowOptions) return value } - readTextTimerController(): TextTimerController { + public readTextTimerController(): TextTimerController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TextTimerControllerInternal.fromPtr(ptr) } - readTimePickerResult(): TimePickerResult { + public readTimePickerResult(): TimePickerResult { let valueDeserializer: Deserializer = this const hour_result: number = (valueDeserializer.readNumber() as number) const minute_result: number = (valueDeserializer.readNumber() as number) @@ -1014,7 +1064,7 @@ export class Deserializer extends DeserializerBase { let value: TimePickerResult = ({hour: hour_result, minute: minute_result, second: second_result} as TimePickerResult) return value } - readTouchTestInfo(): TouchTestInfo { + public readTouchTestInfo(): TouchTestInfo { let valueDeserializer: Deserializer = this const windowX_result: number = (valueDeserializer.readNumber() as number) const windowY_result: number = (valueDeserializer.readNumber() as number) @@ -1027,12 +1077,12 @@ export class Deserializer extends DeserializerBase { let value: TouchTestInfo = ({windowX: windowX_result, windowY: windowY_result, parentX: parentX_result, parentY: parentY_result, x: x_result, y: y_result, rect: rect_result, id: id_result} as TouchTestInfo) return value } - readTransitionEffect(): TransitionEffect { + public readTransitionEffect(): TransitionEffect { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TransitionEffectInternal.fromPtr(ptr) } - readTranslateResult(): TranslateResult { + public readTranslateResult(): TranslateResult { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) const y_result: number = (valueDeserializer.readNumber() as number) @@ -1040,47 +1090,47 @@ export class Deserializer extends DeserializerBase { let value: TranslateResult = ({x: x_result, y: y_result, z: z_result} as TranslateResult) return value } - readUICommonEvent(): UICommonEvent { + public readUICommonEvent(): UICommonEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return UICommonEventInternal.fromPtr(ptr) } - readUIContext(): UIContext { + public readUIContext(): UIContext { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return UIContextInternal.fromPtr(ptr) } - readUIExtensionProxy(): UIExtensionProxy { + public readUIExtensionProxy(): UIExtensionProxy { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return UIExtensionProxyInternal.fromPtr(ptr) } - readUIGestureEvent(): UIGestureEvent { + public readUIGestureEvent(): UIGestureEvent { let value: UIGestureEvent = ({} as UIGestureEvent) return value } - readUnifiedData(): UnifiedData { + public readUnifiedData(): UnifiedData { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return UnifiedDataInternal.fromPtr(ptr) } - readUrlStyle(): UrlStyle { + public readUrlStyle(): UrlStyle { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return UrlStyleInternal.fromPtr(ptr) } - readUserDataSpan(): UserDataSpan { + public readUserDataSpan(): UserDataSpan { let value: UserDataSpan = ({} as UserDataSpan) return value } - readVector2(): Vector2 { + public readVector2(): Vector2 { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) const y_result: number = (valueDeserializer.readNumber() as number) let value: Vector2 = ({x: x_result, y: y_result} as Vector2) return value } - readVector3(): Vector3 { + public readVector3(): Vector3 { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) const y_result: number = (valueDeserializer.readNumber() as number) @@ -1088,87 +1138,87 @@ export class Deserializer extends DeserializerBase { let value: Vector3 = ({x: x_result, y: y_result, z: z_result} as Vector3) return value } - readVideoController(): VideoController { + public readVideoController(): VideoController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return VideoControllerInternal.fromPtr(ptr) } - readView(): View { + public readView(): View { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ViewInternal.fromPtr(ptr) } - readVisualEffect(): VisualEffect { + public readVisualEffect(): VisualEffect { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return VisualEffectInternal.fromPtr(ptr) } - readWaterFlowAttribute(): WaterFlowAttribute { + public readWaterFlowAttribute(): WaterFlowAttribute { let value: WaterFlowAttribute = ({} as WaterFlowAttribute) return value } - readWaterFlowSections(): WaterFlowSections { + public readWaterFlowSections(): WaterFlowSections { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return WaterFlowSectionsInternal.fromPtr(ptr) } - readWebAttribute(): WebAttribute { + public readWebAttribute(): WebAttribute { let value: WebAttribute = ({} as WebAttribute) return value } - readWebContextMenuParam(): WebContextMenuParam { + public readWebContextMenuParam(): WebContextMenuParam { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return WebContextMenuParamInternal.fromPtr(ptr) } - readWebContextMenuResult(): WebContextMenuResult { + public readWebContextMenuResult(): WebContextMenuResult { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return WebContextMenuResultInternal.fromPtr(ptr) } - readWebController(): WebController { + public readWebController(): WebController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return WebControllerInternal.fromPtr(ptr) } - readWebCookie(): WebCookie { + public readWebCookie(): WebCookie { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return WebCookieInternal.fromPtr(ptr) } - readWebHeader(): WebHeader { + public readWebHeader(): WebHeader { let valueDeserializer: Deserializer = this const headerKey_result: string = (valueDeserializer.readString() as string) const headerValue_result: string = (valueDeserializer.readString() as string) let value: WebHeader = ({headerKey: headerKey_result, headerValue: headerValue_result} as WebHeader) return value } - readWebKeyboardController(): WebKeyboardController { + public readWebKeyboardController(): WebKeyboardController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return WebKeyboardControllerInternal.fromPtr(ptr) } - readWebResourceError(): WebResourceError { + public readWebResourceError(): WebResourceError { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return WebResourceErrorInternal.fromPtr(ptr) } - readWebResourceRequest(): WebResourceRequest { + public readWebResourceRequest(): WebResourceRequest { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return WebResourceRequestInternal.fromPtr(ptr) } - readWebResourceResponse(): WebResourceResponse { + public readWebResourceResponse(): WebResourceResponse { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return WebResourceResponseInternal.fromPtr(ptr) } - readWebviewController(): WebviewController { + public readWebviewController(): WebviewController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return WebviewControllerInternal.fromPtr(ptr) } - readWindowAnimationTarget(): WindowAnimationTarget { + public readWindowAnimationTarget(): WindowAnimationTarget { let valueDeserializer: Deserializer = this const bundleName_result: string = (valueDeserializer.readString() as string) const abilityName_result: string = (valueDeserializer.readString() as string) @@ -1177,20 +1227,20 @@ export class Deserializer extends DeserializerBase { let value: WindowAnimationTarget = ({bundleName: bundleName_result, abilityName: abilityName_result, windowBounds: windowBounds_result, missionId: missionId_result} as WindowAnimationTarget) return value } - readWindowSceneAttribute(): WindowSceneAttribute { + public readWindowSceneAttribute(): WindowSceneAttribute { let value: WindowSceneAttribute = ({} as WindowSceneAttribute) return value } - readWithThemeAttribute(): WithThemeAttribute { + public readWithThemeAttribute(): WithThemeAttribute { let value: WithThemeAttribute = ({} as WithThemeAttribute) return value } - readWorkerEventListener(): WorkerEventListener { + public readWorkerEventListener(): WorkerEventListener { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return WorkerEventListenerInternal.fromPtr(ptr) } - readAsyncCallback_Array_TextMenuItem_Array_TextMenuItem(isSync: boolean = false): ((menuItems: Array) => Array) { + public readAsyncCallback_Array_TextMenuItem_Array_TextMenuItem(isSync: boolean = false): ((menuItems: Array) => Array) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1211,7 +1261,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as Array); } } - readAsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics(isSync: boolean = false): ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics) { + public readAsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics(isSync: boolean = false): ((measureInfo: CustomSpanMeasureInfo) => CustomSpanMetrics) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1228,7 +1278,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as CustomSpanMetrics); } } - readAsyncCallback_image_PixelMap_Void(isSync: boolean = false): ((result: PixelMap) => void) { + public readAsyncCallback_image_PixelMap_Void(isSync: boolean = false): ((result: PixelMap) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1242,7 +1292,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readAsyncCallback_TextMenuItem_TextRange_Boolean(isSync: boolean = false): ((menuItem: TextMenuItem, range: TextRange) => boolean) { + public readAsyncCallback_TextMenuItem_TextRange_Boolean(isSync: boolean = false): ((menuItem: TextMenuItem, range: TextRange) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1260,7 +1310,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readButtonTriggerClickCallback(isSync: boolean = false): ButtonTriggerClickCallback { + public readButtonTriggerClickCallback(isSync: boolean = false): ButtonTriggerClickCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1275,7 +1325,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Area_Area_Void(isSync: boolean = false): ((oldValue: Area, newValue: Area) => void) { + public readCallback_Area_Area_Void(isSync: boolean = false): ((oldValue: Area, newValue: Area) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1290,7 +1340,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Array_Number_Void(isSync: boolean = false): ((input: Array) => void) { + public readCallback_Array_Number_Void(isSync: boolean = false): ((input: Array) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1308,7 +1358,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Array_String_Void(isSync: boolean = false): ((value: Array) => void) { + public readCallback_Array_String_Void(isSync: boolean = false): ((value: Array) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1326,7 +1376,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Array_TextMenuItem_Void(isSync: boolean = false): ((value: Array) => void) { + public readCallback_Array_TextMenuItem_Void(isSync: boolean = false): ((value: Array) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1344,7 +1394,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Array_TouchTestInfo_TouchResult(isSync: boolean = false): ((value: Array) => TouchResult) { + public readCallback_Array_TouchTestInfo_TouchResult(isSync: boolean = false): ((value: Array) => TouchResult) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1365,7 +1415,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as TouchResult); } } - readCallback_Boolean(isSync: boolean = false): (() => boolean) { + public readCallback_AxisEvent_Void(isSync: boolean = false): ((parameter: AxisEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: AxisEvent): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeAxisEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(109087936, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(109087936, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_Boolean(isSync: boolean = false): (() => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1381,7 +1445,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_Boolean_HoverEvent_Void(isSync: boolean = false): ((isHover: boolean, event: HoverEvent) => void) { + public readCallback_Boolean_HoverEvent_Void(isSync: boolean = false): ((isHover: boolean, event: HoverEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1396,7 +1460,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Boolean_Void(isSync: boolean = false): ((isVisible: boolean) => void) { + public readCallback_Boolean_Void(isSync: boolean = false): ((isVisible: boolean) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1410,122 +1474,105 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_CalendarRequestedData_Void(isSync: boolean = false): ((event: CalendarRequestedData) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (event: CalendarRequestedData): void => { - const _argsSerializer: Serializer = Serializer.hold(); - _argsSerializer.writeInt32(_resource.resourceId); - _argsSerializer.writePointer(_call); - _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCalendarRequestedData(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())); - _argsSerializer.release(); - return; } - } - readCallback_CalendarSelectedDate_Void(isSync: boolean = false): ((event: CalendarSelectedDate) => void) { + public readCallback_Buffer_Void(isSync: boolean = false): ((value: NativeBuffer) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (event: CalendarSelectedDate): void => { + return (value: NativeBuffer): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCalendarSelectedDate(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeBuffer(value); + (isSync) ? (InteropNativeModule._CallCallbackSync(908731311, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(908731311, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_ClickEvent_LocationButtonOnClickResult_Void(isSync: boolean = false): ((event: ClickEvent, result: LocationButtonOnClickResult) => void) { + public readCallback_CalendarRequestedData_Void(isSync: boolean = false): ((event: CalendarRequestedData) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (event: ClickEvent, result: LocationButtonOnClickResult): void => { + return (event: CalendarRequestedData): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeClickEvent(event); - _argsSerializer.writeInt32(result.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1189087745, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1189087745, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeCalendarRequestedData(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1074619005, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_ClickEvent_PasteButtonOnClickResult_Void(isSync: boolean = false): ((event: ClickEvent, result: PasteButtonOnClickResult) => void) { + public readCallback_CalendarSelectedDate_Void(isSync: boolean = false): ((event: CalendarSelectedDate) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (event: ClickEvent, result: PasteButtonOnClickResult): void => { + return (event: CalendarSelectedDate): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeClickEvent(event); - _argsSerializer.writeInt32(result.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(659292561, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(659292561, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeCalendarSelectedDate(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-289198976, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_ClickEvent_SaveButtonOnClickResult_Void(isSync: boolean = false): ((event: ClickEvent, result: SaveButtonOnClickResult) => void) { + public readCallback_ClickEvent_Void(isSync: boolean = false): ((event: ClickEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (event: ClickEvent, result: SaveButtonOnClickResult): void => { + return (event: ClickEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeClickEvent(event); - _argsSerializer.writeInt32(result.valueOf()); - (isSync) ? (InteropNativeModule._CallCallbackSync(846787331, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(846787331, _argsSerializer.asBuffer(), _argsSerializer.length())); + (isSync) ? (InteropNativeModule._CallCallbackSync(1097178637, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1097178637, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_ClickEvent_Void(isSync: boolean = false): ((event: ClickEvent) => void) { + public readCallback_ComputedBarAttribute_Void(isSync: boolean = false): ((value: ComputedBarAttribute) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (event: ClickEvent): void => { + return (value: ComputedBarAttribute): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeClickEvent(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(1097178637, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1097178637, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeComputedBarAttribute(value); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1270343661, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1270343661, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_ComputedBarAttribute_Void(isSync: boolean = false): ((value: ComputedBarAttribute) => void) { + public readCallback_CopyEvent_Void(isSync: boolean = false): ((parameter: CopyEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (value: ComputedBarAttribute): void => { + return (parameter: CopyEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeComputedBarAttribute(value); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1270343661, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1270343661, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeCopyEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_CopyEvent_Void(isSync: boolean = false): ((parameter: CopyEvent) => void) { + public readCallback_CrownEvent_Void(isSync: boolean = false): ((parameter: CrownEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (parameter: CopyEvent): void => { + return (parameter: CrownEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeCopyEvent(parameter); - (isSync) ? (InteropNativeModule._CallCallbackSync(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-120437466, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeCrownEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-827253372, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-827253372, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_CustomBuilder_Void(isSync: boolean = false): ((value: CustomBuilder) => void) { + public readCallback_CustomBuilder_Void(isSync: boolean = false): ((value: CustomBuilder) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1539,7 +1586,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_CustomSpanMetrics_Void(isSync: boolean = false): ((value: CustomSpanMetrics) => void) { + public readCallback_CustomSpanMetrics_Void(isSync: boolean = false): ((value: CustomSpanMetrics) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1553,7 +1600,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_CutEvent_Void(isSync: boolean = false): ((parameter: CutEvent) => void) { + public readCallback_CutEvent_Void(isSync: boolean = false): ((parameter: CutEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1567,7 +1614,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Date_Void(isSync: boolean = false): ((parameter: Date) => void) { + public readCallback_Date_Void(isSync: boolean = false): ((parameter: Date) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1581,7 +1628,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DatePickerResult_Void(isSync: boolean = false): ((value: DatePickerResult) => void) { + public readCallback_DatePickerResult_Void(isSync: boolean = false): ((value: DatePickerResult) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1595,7 +1642,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DeleteValue_Boolean(isSync: boolean = false): ((parameter: DeleteValue) => boolean) { + public readCallback_DeleteValue_Boolean(isSync: boolean = false): ((parameter: DeleteValue) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1612,7 +1659,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_DeleteValue_Void(isSync: boolean = false): ((parameter: DeleteValue) => void) { + public readCallback_DeleteValue_Void(isSync: boolean = false): ((parameter: DeleteValue) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1626,7 +1673,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DismissContentCoverAction_Void(isSync: boolean = false): ((parameter: DismissContentCoverAction) => void) { + public readCallback_DismissContentCoverAction_Void(isSync: boolean = false): ((parameter: DismissContentCoverAction) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1640,7 +1687,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DismissDialogAction_Void(isSync: boolean = false): ((parameter: DismissDialogAction) => void) { + public readCallback_DismissDialogAction_Void(isSync: boolean = false): ((parameter: DismissDialogAction) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1654,7 +1701,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DismissPopupAction_Void(isSync: boolean = false): ((parameter: DismissPopupAction) => void) { + public readCallback_DismissPopupAction_Void(isSync: boolean = false): ((parameter: DismissPopupAction) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1668,7 +1715,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DismissSheetAction_Void(isSync: boolean = false): ((parameter: DismissSheetAction) => void) { + public readCallback_DismissSheetAction_Void(isSync: boolean = false): ((parameter: DismissSheetAction) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1682,7 +1729,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(isSync: boolean = false): ((event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo) { + public readCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(isSync: boolean = false): ((event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1706,7 +1753,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as CustomBuilder | DragItemInfo); } } - readCallback_DragEvent_String_Void(isSync: boolean = false): ((event: DragEvent, extraParams?: string) => void) { + public readCallback_DragEvent_String_Void(isSync: boolean = false): ((event: DragEvent, extraParams?: string) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1727,7 +1774,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_DrawContext_CustomSpanDrawInfo_Void(isSync: boolean = false): ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void) { + public readCallback_DrawContext_CustomSpanDrawInfo_Void(isSync: boolean = false): ((context: DrawContext, drawInfo: CustomSpanDrawInfo) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1742,7 +1789,24 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_EnterKeyType_Void(isSync: boolean = false): ((enterKey: EnterKeyType) => void) { + public readCallback_EditableTextChangeValue_Boolean(isSync: boolean = false): ((parameter: EditableTextChangeValue) => boolean) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: EditableTextChangeValue): boolean => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeEditableTextChangeValue(parameter); + let _continuationValue: boolean | undefined|undefined ; + const _continuationCallback: ((isVisible: boolean) => void) = (value: boolean): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-602545319, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-602545319, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } + public readCallback_EnterKeyType_Void(isSync: boolean = false): ((enterKey: EnterKeyType) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1756,7 +1820,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Extender_OnFinish(isSync: boolean = false): Callback_Extender_OnFinish { + public readCallback_Extender_OnFinish(isSync: boolean = false): Callback_Extender_OnFinish { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1769,7 +1833,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Extender_OnProgress(isSync: boolean = false): Callback_Extender_OnProgress { + public readCallback_Extender_OnProgress(isSync: boolean = false): Callback_Extender_OnProgress { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1783,7 +1847,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_FormCallbackInfo_Void(isSync: boolean = false): ((parameter: FormCallbackInfo) => void) { + public readCallback_FocusAxisEvent_Void(isSync: boolean = false): ((parameter: FocusAxisEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: FocusAxisEvent): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeFocusAxisEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(394781580, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(394781580, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_FormCallbackInfo_Void(isSync: boolean = false): ((parameter: FormCallbackInfo) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1797,7 +1875,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_FullscreenInfo_Void(isSync: boolean = false): ((parameter: FullscreenInfo) => void) { + public readCallback_FullscreenInfo_Void(isSync: boolean = false): ((parameter: FullscreenInfo) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1811,7 +1889,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_GestureEvent_Void(isSync: boolean = false): ((event: GestureEvent) => void) { + public readCallback_GestureEvent_Void(isSync: boolean = false): ((event: GestureEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1825,7 +1903,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(isSync: boolean = false): ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult) { + public readCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(isSync: boolean = false): ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1843,7 +1921,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as GestureJudgeResult); } } - readCallback_GestureJudgeResult_Void(isSync: boolean = false): ((value: GestureJudgeResult) => void) { + public readCallback_GestureJudgeResult_Void(isSync: boolean = false): ((value: GestureJudgeResult) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1857,7 +1935,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_GestureRecognizer_Void(isSync: boolean = false): ((value: GestureRecognizer) => void) { + public readCallback_GestureRecognizer_Void(isSync: boolean = false): ((value: GestureRecognizer) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1871,7 +1949,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_HitTestMode_Void(isSync: boolean = false): ((value: HitTestMode) => void) { + public readCallback_HitTestMode_Void(isSync: boolean = false): ((value: HitTestMode) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1885,7 +1963,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_InsertValue_Boolean(isSync: boolean = false): ((parameter: InsertValue) => boolean) { + public readCallback_HoverEvent_Void(isSync: boolean = false): ((parameter: HoverEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: HoverEvent): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeHoverEvent(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1576788379, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1576788379, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_InsertValue_Boolean(isSync: boolean = false): ((parameter: InsertValue) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1902,7 +1994,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_InsertValue_Void(isSync: boolean = false): ((parameter: InsertValue) => void) { + public readCallback_InsertValue_Void(isSync: boolean = false): ((parameter: InsertValue) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1916,7 +2008,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_ItemDragInfo_Number_Number_Boolean_Void(isSync: boolean = false): ((event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void) { + public readCallback_ItemDragInfo_Number_Number_Boolean_Void(isSync: boolean = false): ((event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1933,7 +2025,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_ItemDragInfo_Number_Number_Void(isSync: boolean = false): ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void) { + public readCallback_ItemDragInfo_Number_Number_Void(isSync: boolean = false): ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1949,7 +2041,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_ItemDragInfo_Number_Void(isSync: boolean = false): ((event: ItemDragInfo, itemIndex: number) => void) { + public readCallback_ItemDragInfo_Number_Void(isSync: boolean = false): ((event: ItemDragInfo, itemIndex: number) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1964,7 +2056,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_ItemDragInfo_Void(isSync: boolean = false): ((event: ItemDragInfo) => void) { + public readCallback_ItemDragInfo_Void(isSync: boolean = false): ((event: ItemDragInfo) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1978,7 +2070,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_KeyEvent_Boolean(isSync: boolean = false): ((parameter: KeyEvent) => boolean) { + public readCallback_KeyEvent_Boolean(isSync: boolean = false): ((parameter: KeyEvent) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -1995,7 +2087,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_KeyEvent_Void(isSync: boolean = false): ((event: KeyEvent) => void) { + public readCallback_KeyEvent_Void(isSync: boolean = false): ((event: KeyEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2009,7 +2101,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Literal_Boolean_isVisible_Void(isSync: boolean = false): ((event: { isVisible: boolean }) => void) { + public readCallback_Literal_Boolean_isVisible_Void(isSync: boolean = false): ((event: { isVisible: boolean }) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2024,7 +2116,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Literal_Function_handler_Object_error_Void(isSync: boolean = false): ((event?: { handler: Function, error: Object }) => void) { + public readCallback_Literal_Function_handler_Object_error_Void(isSync: boolean = false): ((event?: { handler: Function, error: Object }) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2047,7 +2139,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Literal_Number_code__want_Void(isSync: boolean = false): ((parameter: { code: number, want?: Want }) => void) { + public readCallback_Literal_Number_code__want_Void(isSync: boolean = false): ((parameter: { code: number, want?: Want }) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2070,7 +2162,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Literal_Number_errcode_String_msg_Void(isSync: boolean = false): ((info: { errcode: number, msg: string }) => void) { + public readCallback_Literal_Number_errcode_String_msg_Void(isSync: boolean = false): ((info: { errcode: number, msg: string }) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2087,7 +2179,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Literal_Number_offsetRemain_Void(isSync: boolean = false): ((value: { offsetRemain: number }) => void) { + public readCallback_Literal_Number_offsetRemain_Void(isSync: boolean = false): ((value: { offsetRemain: number }) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2102,7 +2194,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Literal_Object_detail_Boolean(isSync: boolean = false): ((event?: { detail: Object }) => boolean) { + public readCallback_Literal_Object_detail_Boolean(isSync: boolean = false): ((event?: { detail: Object }) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2126,7 +2218,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_Literal_String_plainText_Void(isSync: boolean = false): ((selectedText: { plainText: string }) => void) { + public readCallback_Literal_String_plainText_Void(isSync: boolean = false): ((selectedText: { plainText: string }) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2141,7 +2233,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Map_String_Object_Void(isSync: boolean = false): ((parameter: Map) => void) { + public readCallback_Map_String_Object_Void(isSync: boolean = false): ((parameter: Map) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2159,7 +2251,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_MouseEvent_Void(isSync: boolean = false): ((event: MouseEvent) => void) { + public readCallback_MarqueeState_Void(isSync: boolean = false): ((parameter: MarqueeState) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: MarqueeState): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(parameter.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(-716263454, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-716263454, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_MouseEvent_Void(isSync: boolean = false): ((event: MouseEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2173,7 +2279,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NativeEmbedDataInfo_Void(isSync: boolean = false): ((event: NativeEmbedDataInfo) => void) { + public readCallback_NativeEmbedDataInfo_Void(isSync: boolean = false): ((event: NativeEmbedDataInfo) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2187,7 +2293,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NativeEmbedTouchInfo_Void(isSync: boolean = false): ((event: NativeEmbedTouchInfo) => void) { + public readCallback_NativeEmbedTouchInfo_Void(isSync: boolean = false): ((event: NativeEmbedTouchInfo) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2201,7 +2307,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NavDestinationContext_Void(isSync: boolean = false): ((parameter: NavDestinationContext) => void) { + public readCallback_NavDestinationActiveReason_Void(isSync: boolean = false): ((parameter: NavDestinationActiveReason) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: NavDestinationActiveReason): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(parameter.valueOf()); + (isSync) ? (InteropNativeModule._CallCallbackSync(634825762, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(634825762, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_NavDestinationContext_Void(isSync: boolean = false): ((parameter: NavDestinationContext) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2215,7 +2335,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NavigationMode_Void(isSync: boolean = false): ((mode: NavigationMode) => void) { + public readCallback_NavigationMode_Void(isSync: boolean = false): ((mode: NavigationMode) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2229,7 +2349,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NavigationTitleMode_Void(isSync: boolean = false): ((titleMode: NavigationTitleMode) => void) { + public readCallback_NavigationTitleMode_Void(isSync: boolean = false): ((titleMode: NavigationTitleMode) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2243,7 +2363,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_NavigationTransitionProxy_Void(isSync: boolean = false): ((transitionProxy: NavigationTransitionProxy) => void) { + public readCallback_NavigationTransitionProxy_Void(isSync: boolean = false): ((transitionProxy: NavigationTransitionProxy) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2257,7 +2377,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Number_Boolean(isSync: boolean = false): ((index: number) => boolean) { + public readCallback_Number_Boolean(isSync: boolean = false): ((index: number) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2274,7 +2394,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_Number_Number_Boolean(isSync: boolean = false): ((from: number, to: number) => boolean) { + public readCallback_Number_Number_Boolean(isSync: boolean = false): ((from: number, to: number) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2292,7 +2412,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_Number_Number_ComputedBarAttribute(isSync: boolean = false): ((index: number, offset: number) => ComputedBarAttribute) { + public readCallback_Number_Number_ComputedBarAttribute(isSync: boolean = false): ((index: number, offset: number) => ComputedBarAttribute) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2310,7 +2430,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as ComputedBarAttribute); } } - readCallback_Number_Number_Number_Void(isSync: boolean = false): ((start: number, end: number, center: number) => void) { + public readCallback_Number_Number_Number_Void(isSync: boolean = false): ((start: number, end: number, center: number) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2326,7 +2446,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Number_Number_PanelMode_Void(isSync: boolean = false): ((width: number, height: number, mode: PanelMode) => void) { + public readCallback_Number_Number_PanelMode_Void(isSync: boolean = false): ((width: number, height: number, mode: PanelMode) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2342,7 +2462,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Number_Number_Void(isSync: boolean = false): ((first: number, last: number) => void) { + public readCallback_Number_Number_Void(isSync: boolean = false): ((first: number, last: number) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2357,7 +2477,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Number_ScrollState_Literal_Number_offsetRemain(isSync: boolean = false): ((offset: number, state: ScrollState) => { offsetRemain: number }) { + public readCallback_Number_ScrollState_Literal_Number_offsetRemain(isSync: boolean = false): ((offset: number, state: ScrollState) => { offsetRemain: number }) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2375,7 +2495,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as { offsetRemain: number }); } } - readCallback_Number_SliderChangeMode_Void(isSync: boolean = false): ((value: number, mode: SliderChangeMode) => void) { + public readCallback_Number_SliderChangeMode_Void(isSync: boolean = false): ((value: number, mode: SliderChangeMode) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2390,7 +2510,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Number_String_Void(isSync: boolean = false): ((index: number, value: string) => void) { + public readCallback_Number_String_Void(isSync: boolean = false): ((index: number, value: string) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2405,7 +2525,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Number_Tuple_Number_Number(isSync: boolean = false): ((index: number) => [ number, number ]) { + public readCallback_Number_Tuple_Number_Number(isSync: boolean = false): ((index: number) => [ number, number ]) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2422,7 +2542,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as [ number, number ]); } } - readCallback_Number_Tuple_Number_Number_Number_Number(isSync: boolean = false): ((index: number) => [ number, number, number, number ]) { + public readCallback_Number_Tuple_Number_Number_Number_Number(isSync: boolean = false): ((index: number) => [ number, number, number, number ]) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2439,7 +2559,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as [ number, number, number, number ]); } } - readCallback_Number_Void(isSync: boolean = false): ((index: number) => void) { + public readCallback_Number_Void(isSync: boolean = false): ((index: number) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2453,7 +2573,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OffsetResult_Void(isSync: boolean = false): ((value: OffsetResult) => void) { + public readCallback_Object_Void(isSync: boolean = false): ((parameter: Object) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (parameter: Object): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.holdAndWriteObject(parameter); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1782529222, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1782529222, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_OffsetResult_Void(isSync: boolean = false): ((value: OffsetResult) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2467,7 +2601,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnAlertEvent_Boolean(isSync: boolean = false): ((parameter: OnAlertEvent) => boolean) { + public readCallback_OnAlertEvent_Boolean(isSync: boolean = false): ((parameter: OnAlertEvent) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2484,7 +2618,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnAudioStateChangedEvent_Void(isSync: boolean = false): ((parameter: OnAudioStateChangedEvent) => void) { + public readCallback_OnAudioStateChangedEvent_Void(isSync: boolean = false): ((parameter: OnAudioStateChangedEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2498,7 +2632,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnBeforeUnloadEvent_Boolean(isSync: boolean = false): ((parameter: OnBeforeUnloadEvent) => boolean) { + public readCallback_OnBeforeUnloadEvent_Boolean(isSync: boolean = false): ((parameter: OnBeforeUnloadEvent) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2515,7 +2649,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnClientAuthenticationEvent_Void(isSync: boolean = false): ((parameter: OnClientAuthenticationEvent) => void) { + public readCallback_OnClientAuthenticationEvent_Void(isSync: boolean = false): ((parameter: OnClientAuthenticationEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2529,7 +2663,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnConfirmEvent_Boolean(isSync: boolean = false): ((parameter: OnConfirmEvent) => boolean) { + public readCallback_OnConfirmEvent_Boolean(isSync: boolean = false): ((parameter: OnConfirmEvent) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2546,7 +2680,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnConsoleEvent_Boolean(isSync: boolean = false): ((parameter: OnConsoleEvent) => boolean) { + public readCallback_OnConsoleEvent_Boolean(isSync: boolean = false): ((parameter: OnConsoleEvent) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2563,7 +2697,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnContextMenuShowEvent_Boolean(isSync: boolean = false): ((parameter: OnContextMenuShowEvent) => boolean) { + public readCallback_OnContextMenuShowEvent_Boolean(isSync: boolean = false): ((parameter: OnContextMenuShowEvent) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2580,7 +2714,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnDataResubmittedEvent_Void(isSync: boolean = false): ((parameter: OnDataResubmittedEvent) => void) { + public readCallback_OnDataResubmittedEvent_Void(isSync: boolean = false): ((parameter: OnDataResubmittedEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2594,7 +2728,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnDownloadStartEvent_Void(isSync: boolean = false): ((parameter: OnDownloadStartEvent) => void) { + public readCallback_OnDownloadStartEvent_Void(isSync: boolean = false): ((parameter: OnDownloadStartEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2608,7 +2742,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnErrorReceiveEvent_Void(isSync: boolean = false): ((parameter: OnErrorReceiveEvent) => void) { + public readCallback_OnErrorReceiveEvent_Void(isSync: boolean = false): ((parameter: OnErrorReceiveEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2622,7 +2756,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnFaviconReceivedEvent_Void(isSync: boolean = false): ((parameter: OnFaviconReceivedEvent) => void) { + public readCallback_OnFaviconReceivedEvent_Void(isSync: boolean = false): ((parameter: OnFaviconReceivedEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2636,7 +2770,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnFirstContentfulPaintEvent_Void(isSync: boolean = false): ((parameter: OnFirstContentfulPaintEvent) => void) { + public readCallback_OnFirstContentfulPaintEvent_Void(isSync: boolean = false): ((parameter: OnFirstContentfulPaintEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2650,7 +2784,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnGeolocationShowEvent_Void(isSync: boolean = false): ((parameter: OnGeolocationShowEvent) => void) { + public readCallback_OnGeolocationShowEvent_Void(isSync: boolean = false): ((parameter: OnGeolocationShowEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2664,7 +2798,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnHttpAuthRequestEvent_Boolean(isSync: boolean = false): ((parameter: OnHttpAuthRequestEvent) => boolean) { + public readCallback_OnHttpAuthRequestEvent_Boolean(isSync: boolean = false): ((parameter: OnHttpAuthRequestEvent) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2681,7 +2815,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnHttpErrorReceiveEvent_Void(isSync: boolean = false): ((parameter: OnHttpErrorReceiveEvent) => void) { + public readCallback_OnHttpErrorReceiveEvent_Void(isSync: boolean = false): ((parameter: OnHttpErrorReceiveEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2695,7 +2829,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnInterceptRequestEvent_WebResourceResponse(isSync: boolean = false): ((parameter: OnInterceptRequestEvent) => WebResourceResponse) { + public readCallback_OnInterceptRequestEvent_WebResourceResponse(isSync: boolean = false): ((parameter: OnInterceptRequestEvent) => WebResourceResponse) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2712,7 +2846,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as WebResourceResponse); } } - readCallback_OnLoadInterceptEvent_Boolean(isSync: boolean = false): ((parameter: OnLoadInterceptEvent) => boolean) { + public readCallback_OnLoadInterceptEvent_Boolean(isSync: boolean = false): ((parameter: OnLoadInterceptEvent) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2729,7 +2863,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnOverScrollEvent_Void(isSync: boolean = false): ((parameter: OnOverScrollEvent) => void) { + public readCallback_OnOverScrollEvent_Void(isSync: boolean = false): ((parameter: OnOverScrollEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2743,7 +2877,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnPageBeginEvent_Void(isSync: boolean = false): ((parameter: OnPageBeginEvent) => void) { + public readCallback_OnPageBeginEvent_Void(isSync: boolean = false): ((parameter: OnPageBeginEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2757,7 +2891,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnPageEndEvent_Void(isSync: boolean = false): ((parameter: OnPageEndEvent) => void) { + public readCallback_OnPageEndEvent_Void(isSync: boolean = false): ((parameter: OnPageEndEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2771,7 +2905,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnPageVisibleEvent_Void(isSync: boolean = false): ((parameter: OnPageVisibleEvent) => void) { + public readCallback_OnPageVisibleEvent_Void(isSync: boolean = false): ((parameter: OnPageVisibleEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2785,7 +2919,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnPermissionRequestEvent_Void(isSync: boolean = false): ((parameter: OnPermissionRequestEvent) => void) { + public readCallback_OnPermissionRequestEvent_Void(isSync: boolean = false): ((parameter: OnPermissionRequestEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2799,7 +2933,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnProgressChangeEvent_Void(isSync: boolean = false): ((parameter: OnProgressChangeEvent) => void) { + public readCallback_OnProgressChangeEvent_Void(isSync: boolean = false): ((parameter: OnProgressChangeEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2813,7 +2947,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnPromptEvent_Boolean(isSync: boolean = false): ((parameter: OnPromptEvent) => boolean) { + public readCallback_OnPromptEvent_Boolean(isSync: boolean = false): ((parameter: OnPromptEvent) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2830,7 +2964,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnRefreshAccessedHistoryEvent_Void(isSync: boolean = false): ((parameter: OnRefreshAccessedHistoryEvent) => void) { + public readCallback_OnRefreshAccessedHistoryEvent_Void(isSync: boolean = false): ((parameter: OnRefreshAccessedHistoryEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2844,7 +2978,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnRenderExitedEvent_Void(isSync: boolean = false): ((parameter: OnRenderExitedEvent) => void) { + public readCallback_OnRenderExitedEvent_Void(isSync: boolean = false): ((parameter: OnRenderExitedEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2858,7 +2992,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnResourceLoadEvent_Void(isSync: boolean = false): ((parameter: OnResourceLoadEvent) => void) { + public readCallback_OnResourceLoadEvent_Void(isSync: boolean = false): ((parameter: OnResourceLoadEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2872,7 +3006,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnScaleChangeEvent_Void(isSync: boolean = false): ((parameter: OnScaleChangeEvent) => void) { + public readCallback_OnScaleChangeEvent_Void(isSync: boolean = false): ((parameter: OnScaleChangeEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2886,7 +3020,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnScreenCaptureRequestEvent_Void(isSync: boolean = false): ((parameter: OnScreenCaptureRequestEvent) => void) { + public readCallback_OnScreenCaptureRequestEvent_Void(isSync: boolean = false): ((parameter: OnScreenCaptureRequestEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2900,7 +3034,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnScrollEvent_Void(isSync: boolean = false): ((parameter: OnScrollEvent) => void) { + public readCallback_OnScrollEvent_Void(isSync: boolean = false): ((parameter: OnScrollEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2914,7 +3048,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnScrollFrameBeginHandlerResult_Void(isSync: boolean = false): ((value: OnScrollFrameBeginHandlerResult) => void) { + public readCallback_OnScrollFrameBeginHandlerResult_Void(isSync: boolean = false): ((value: OnScrollFrameBeginHandlerResult) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2928,7 +3062,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnSearchResultReceiveEvent_Void(isSync: boolean = false): ((parameter: OnSearchResultReceiveEvent) => void) { + public readCallback_OnSearchResultReceiveEvent_Void(isSync: boolean = false): ((parameter: OnSearchResultReceiveEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2942,7 +3076,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnShowFileSelectorEvent_Boolean(isSync: boolean = false): ((parameter: OnShowFileSelectorEvent) => boolean) { + public readCallback_OnShowFileSelectorEvent_Boolean(isSync: boolean = false): ((parameter: OnShowFileSelectorEvent) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2959,7 +3093,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_OnSslErrorEventReceiveEvent_Void(isSync: boolean = false): ((parameter: OnSslErrorEventReceiveEvent) => void) { + public readCallback_OnSslErrorEventReceiveEvent_Void(isSync: boolean = false): ((parameter: OnSslErrorEventReceiveEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2973,7 +3107,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnTitleReceiveEvent_Void(isSync: boolean = false): ((parameter: OnTitleReceiveEvent) => void) { + public readCallback_OnTitleReceiveEvent_Void(isSync: boolean = false): ((parameter: OnTitleReceiveEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -2987,7 +3121,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnTouchIconUrlReceivedEvent_Void(isSync: boolean = false): ((parameter: OnTouchIconUrlReceivedEvent) => void) { + public readCallback_OnTouchIconUrlReceivedEvent_Void(isSync: boolean = false): ((parameter: OnTouchIconUrlReceivedEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3001,7 +3135,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_OnWindowNewEvent_Void(isSync: boolean = false): ((parameter: OnWindowNewEvent) => void) { + public readCallback_OnWindowNewEvent_Void(isSync: boolean = false): ((parameter: OnWindowNewEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3015,7 +3149,31 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Opt_Array_String_Void(isSync: boolean = false): ((error?: Array | undefined) => void) { + public readCallback_Opt_Array_NavDestinationTransition_Void(isSync: boolean = false): ((value: Array | undefined) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (value?: Array | undefined): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + let value_type: int32 = RuntimeType.UNDEFINED; + value_type = runtimeType(value); + _argsSerializer.writeInt8(value_type); + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value!; + _argsSerializer.writeInt32(value_value.length); + for (let i = 0; i < value_value.length; i++) { + const value_value_element: NavDestinationTransition = value_value[i]; + _argsSerializer.writeNavDestinationTransition(value_value_element); + } + } + (isSync) ? (InteropNativeModule._CallCallbackSync(406871767, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(406871767, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_Opt_Array_String_Void(isSync: boolean = false): ((error?: Array | undefined) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3039,7 +3197,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Opt_NavigationAnimatedTransition_Void(isSync: boolean = false): ((value: NavigationAnimatedTransition | undefined) => void) { + public readCallback_Opt_NavigationAnimatedTransition_Void(isSync: boolean = false): ((value: NavigationAnimatedTransition | undefined) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3059,7 +3217,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Opt_StyledString_Opt_Array_String_Void(isSync: boolean = false): ((value?: StyledString | undefined, error?: Array | undefined) => void) { + public readCallback_Opt_StyledString_Opt_Array_String_Void(isSync: boolean = false): ((value?: StyledString | undefined, error?: Array | undefined) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3090,7 +3248,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Opt_TabContentAnimatedTransition_Void(isSync: boolean = false): ((value: TabContentAnimatedTransition | undefined) => void) { + public readCallback_Opt_TabContentAnimatedTransition_Void(isSync: boolean = false): ((value: TabContentAnimatedTransition | undefined) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3110,7 +3268,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_PanelMode_Void(isSync: boolean = false): ((mode: PanelMode) => void) { + public readCallback_PanelMode_Void(isSync: boolean = false): ((mode: PanelMode) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3124,7 +3282,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_PlaybackInfo_Void(isSync: boolean = false): ((parameter: PlaybackInfo) => void) { + public readCallback_PlaybackInfo_Void(isSync: boolean = false): ((parameter: PlaybackInfo) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3138,7 +3296,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Pointer_Void(isSync: boolean = false): ((value: KPointer) => void) { + public readCallback_Pointer_Void(isSync: boolean = false): ((value: KPointer) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3152,7 +3310,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_PopInfo_Void(isSync: boolean = false): ((parameter: PopInfo) => void) { + public readCallback_PopInfo_Void(isSync: boolean = false): ((parameter: PopInfo) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3166,7 +3324,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_PreDragStatus_Void(isSync: boolean = false): ((parameter: PreDragStatus) => void) { + public readCallback_PreDragStatus_Void(isSync: boolean = false): ((parameter: PreDragStatus) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3180,7 +3338,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_PreparedInfo_Void(isSync: boolean = false): ((parameter: PreparedInfo) => void) { + public readCallback_PreparedInfo_Void(isSync: boolean = false): ((parameter: PreparedInfo) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3194,7 +3352,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_RangeUpdate(isSync: boolean = false): Callback_RangeUpdate { + public readCallback_RangeUpdate(isSync: boolean = false): Callback_RangeUpdate { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3210,7 +3368,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_RefreshStatus_Void(isSync: boolean = false): ((state: RefreshStatus) => void) { + public readCallback_RefreshStatus_Void(isSync: boolean = false): ((state: RefreshStatus) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3224,7 +3382,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_ResourceStr_Void(isSync: boolean = false): ((value: ResourceStr) => void) { + public readCallback_ResourceStr_Void(isSync: boolean = false): ((value: ResourceStr) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3249,7 +3407,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_RichEditorChangeValue_Boolean(isSync: boolean = false): ((parameter: RichEditorChangeValue) => boolean) { + public readCallback_RichEditorChangeValue_Boolean(isSync: boolean = false): ((parameter: RichEditorChangeValue) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3266,7 +3424,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_RichEditorDeleteValue_Boolean(isSync: boolean = false): ((parameter: RichEditorDeleteValue) => boolean) { + public readCallback_RichEditorDeleteValue_Boolean(isSync: boolean = false): ((parameter: RichEditorDeleteValue) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3283,7 +3441,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_RichEditorInsertValue_Boolean(isSync: boolean = false): ((parameter: RichEditorInsertValue) => boolean) { + public readCallback_RichEditorInsertValue_Boolean(isSync: boolean = false): ((parameter: RichEditorInsertValue) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3300,7 +3458,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_RichEditorRange_Void(isSync: boolean = false): ((parameter: RichEditorRange) => void) { + public readCallback_RichEditorRange_Void(isSync: boolean = false): ((parameter: RichEditorRange) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3314,7 +3472,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_RichEditorSelection_Void(isSync: boolean = false): ((parameter: RichEditorSelection) => void) { + public readCallback_RichEditorSelection_Void(isSync: boolean = false): ((parameter: RichEditorSelection) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3328,7 +3486,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_RichEditorTextSpanResult_Void(isSync: boolean = false): ((parameter: RichEditorTextSpanResult) => void) { + public readCallback_RichEditorTextSpanResult_Void(isSync: boolean = false): ((parameter: RichEditorTextSpanResult) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3342,7 +3500,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_SheetDismiss_Void(isSync: boolean = false): ((sheetDismiss: SheetDismiss) => void) { + public readCallback_SheetDismiss_Void(isSync: boolean = false): ((sheetDismiss: SheetDismiss) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3356,7 +3514,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_SheetType_Void(isSync: boolean = false): ((parameter: SheetType) => void) { + public readCallback_SheetType_Void(isSync: boolean = false): ((parameter: SheetType) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3370,7 +3528,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_SpringBackAction_Void(isSync: boolean = false): ((parameter: SpringBackAction) => void) { + public readCallback_SpringBackAction_Void(isSync: boolean = false): ((parameter: SpringBackAction) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3384,7 +3542,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_String_Number_Void(isSync: boolean = false): ((value: string, index: number) => void) { + public readCallback_String_Number_Void(isSync: boolean = false): ((value: string, index: number) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3399,52 +3557,58 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_String_PasteEvent_Void(isSync: boolean = false): ((value: string, event: PasteEvent) => void) { + public readCallback_String_Opt_Object_Void(isSync: boolean = false): ((name: string, param: Object | undefined) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (value: string, event: PasteEvent): void => { + return (name: string, param?: Object | undefined): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeString(value); - _argsSerializer.writePasteEvent(event); - (isSync) ? (InteropNativeModule._CallCallbackSync(-683652998, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-683652998, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeString(name); + let param_type: int32 = RuntimeType.UNDEFINED; + param_type = runtimeType(param); + _argsSerializer.writeInt8(param_type); + if ((RuntimeType.UNDEFINED) != (param_type)) { + const param_value = param!; + _argsSerializer.holdAndWriteObject(param_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-716524508, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-716524508, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_String_SurfaceRect_Void(isSync: boolean = false): ((surfaceId: string, rect: SurfaceRect) => void) { + public readCallback_String_PasteEvent_Void(isSync: boolean = false): ((value: string, event: PasteEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (surfaceId: string, rect: SurfaceRect): void => { + return (value: string, event: PasteEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeString(surfaceId); - _argsSerializer.writeSurfaceRect(rect); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1736208400, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1736208400, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeString(value); + _argsSerializer.writePasteEvent(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(-683652998, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-683652998, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_String_Unknown_Void(isSync: boolean = false): ((name: string, param: unknown) => void) { + public readCallback_String_SurfaceRect_Void(isSync: boolean = false): ((surfaceId: string, rect: SurfaceRect) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (name: string, param: unknown): void => { + return (surfaceId: string, rect: SurfaceRect): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); - _argsSerializer.writeString(name); - _argsSerializer.holdAndWriteObject(param); - (isSync) ? (InteropNativeModule._CallCallbackSync(-1493806035, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1493806035, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.writeString(surfaceId); + _argsSerializer.writeSurfaceRect(rect); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1736208400, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1736208400, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_String_Void(isSync: boolean = false): ((breakpoints: string) => void) { + public readCallback_String_Void(isSync: boolean = false): ((breakpoints: string) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3458,7 +3622,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_StyledStringChangeValue_Boolean(isSync: boolean = false): ((parameter: StyledStringChangeValue) => boolean) { + public readCallback_StyledStringChangeValue_Boolean(isSync: boolean = false): ((parameter: StyledStringChangeValue) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3475,7 +3639,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readCallback_SwipeActionState_Void(isSync: boolean = false): ((state: SwipeActionState) => void) { + public readCallback_StyledStringMarshallingValue_Void(isSync: boolean = false): ((value: UserDataSpan) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (value: UserDataSpan): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeUserDataSpan(value); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1198150682, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1198150682, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readCallback_SwipeActionState_Void(isSync: boolean = false): ((state: SwipeActionState) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3489,7 +3667,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_SwiperContentTransitionProxy_Void(isSync: boolean = false): ((parameter: SwiperContentTransitionProxy) => void) { + public readCallback_SwiperContentTransitionProxy_Void(isSync: boolean = false): ((parameter: SwiperContentTransitionProxy) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3503,7 +3681,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TabContentTransitionProxy_Void(isSync: boolean = false): ((parameter: TabContentTransitionProxy) => void) { + public readCallback_TabContentTransitionProxy_Void(isSync: boolean = false): ((parameter: TabContentTransitionProxy) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3517,7 +3695,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TerminationInfo_Void(isSync: boolean = false): ((parameter: TerminationInfo) => void) { + public readCallback_TerminationInfo_Void(isSync: boolean = false): ((parameter: TerminationInfo) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3531,7 +3709,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TextPickerResult_Void(isSync: boolean = false): ((value: TextPickerResult) => void) { + public readCallback_TextPickerResult_Void(isSync: boolean = false): ((value: TextPickerResult) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3545,7 +3723,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TextRange_Void(isSync: boolean = false): ((parameter: TextRange) => void) { + public readCallback_TextRange_Void(isSync: boolean = false): ((parameter: TextRange) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3559,7 +3737,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TimePickerResult_Void(isSync: boolean = false): ((value: TimePickerResult) => void) { + public readCallback_TimePickerResult_Void(isSync: boolean = false): ((value: TimePickerResult) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3573,7 +3751,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TouchEvent_HitTestMode(isSync: boolean = false): ((parameter: TouchEvent) => HitTestMode) { + public readCallback_TouchEvent_HitTestMode(isSync: boolean = false): ((parameter: TouchEvent) => HitTestMode) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3590,7 +3768,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as HitTestMode); } } - readCallback_TouchEvent_Void(isSync: boolean = false): ((event: TouchEvent) => void) { + public readCallback_TouchEvent_Void(isSync: boolean = false): ((event: TouchEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3604,7 +3782,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_TouchResult_Void(isSync: boolean = false): ((value: TouchResult) => void) { + public readCallback_TouchResult_Void(isSync: boolean = false): ((value: TouchResult) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3618,7 +3796,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Tuple_Number_Number_Number_Number_Void(isSync: boolean = false): ((value: [ number, number, number, number ]) => void) { + public readCallback_Tuple_Number_Number_Number_Number_Void(isSync: boolean = false): ((value: [ number, number, number, number ]) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3639,7 +3817,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Tuple_Number_Number_Void(isSync: boolean = false): ((value: [ number, number ]) => void) { + public readCallback_Tuple_Number_Number_Void(isSync: boolean = false): ((value: [ number, number ]) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3656,7 +3834,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Type_ImageAttribute_onComplete_callback_event_Void(isSync: boolean = false): ((event?: { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number }) => void) { + public readCallback_Type_ImageAttribute_onComplete_callback_event_Void(isSync: boolean = false): ((event?: { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number }) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3693,7 +3871,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_UIExtensionProxy_Void(isSync: boolean = false): ((parameter: UIExtensionProxy) => void) { + public readCallback_UIExtensionProxy_Void(isSync: boolean = false): ((parameter: UIExtensionProxy) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3707,7 +3885,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Union_CustomBuilder_DragItemInfo_Void(isSync: boolean = false): ((value: CustomBuilder | DragItemInfo) => void) { + public readCallback_Union_CustomBuilder_DragItemInfo_Void(isSync: boolean = false): ((value: CustomBuilder | DragItemInfo) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3732,7 +3910,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Union_Number_Array_Number_Void(isSync: boolean = false): ((selected: number | Array) => void) { + public readCallback_Union_Number_Array_Number_Void(isSync: boolean = false): ((selected: number | Array) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3761,7 +3939,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Union_Number_Resource_Void(isSync: boolean = false): ((selected: number | Resource) => void) { + public readCallback_Union_Number_Resource_Void(isSync: boolean = false): ((selected: number | Resource) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3786,7 +3964,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Union_String_Array_String_Void(isSync: boolean = false): ((value: string | Array) => void) { + public readCallback_Union_String_Array_String_Void(isSync: boolean = false): ((value: string | Array) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3815,7 +3993,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_Void(isSync: boolean = false): (() => void) { + public readCallback_Void(isSync: boolean = false): (() => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3828,7 +4006,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_WebKeyboardOptions_Void(isSync: boolean = false): ((value: WebKeyboardOptions) => void) { + public readCallback_WebKeyboardOptions_Void(isSync: boolean = false): ((value: WebKeyboardOptions) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3842,7 +4020,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_WebResourceResponse_Void(isSync: boolean = false): ((value: WebResourceResponse) => void) { + public readCallback_WebResourceResponse_Void(isSync: boolean = false): ((value: WebResourceResponse) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3856,7 +4034,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_WithThemeAttribute_Void(isSync: boolean = false): ((value: WithThemeAttribute) => void) { + public readCallback_WithThemeAttribute_Void(isSync: boolean = false): ((value: WithThemeAttribute) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3870,7 +4048,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCallback_WrappedBuilder_Args_Void(isSync: boolean = false): ((...args: CommonConfiguration[]) => void) { + public readCallback_WrappedBuilder_Args_Void(isSync: boolean = false): ((...args: CommonConfiguration[]) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3884,7 +4062,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readContentDidScrollCallback(isSync: boolean = false): ContentDidScrollCallback { + public readContentDidScrollCallback(isSync: boolean = false): ContentDidScrollCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3901,7 +4079,24 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readContext_getGroupDir_Callback(isSync: boolean = false): Context_getGroupDir_Callback { + public readContentWillScrollCallback(isSync: boolean = false): ContentWillScrollCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (result: SwiperContentWillScrollResult): boolean => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeSwiperContentWillScrollResult(result); + let _continuationValue: boolean | undefined|undefined ; + const _continuationCallback: ((isVisible: boolean) => void) = (value: boolean): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-2146044511, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2146044511, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as boolean); } + } + public readContext_getGroupDir_Callback(isSync: boolean = false): Context_getGroupDir_Callback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3915,7 +4110,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readCustomNodeBuilder(isSync: boolean = false): CustomNodeBuilder { + public readCustomNodeBuilder(isSync: boolean = false): CustomNodeBuilder { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3932,11 +4127,11 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as KPointer); } } - readEditableTextOnChangeCallback(isSync: boolean = false): EditableTextOnChangeCallback { + public readEditableTextOnChangeCallback(isSync: boolean = false): EditableTextOnChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (value: string, previewText?: PreviewText | undefined): void => { + return (value: string, previewText?: PreviewText | undefined, options?: TextChangeOptions | undefined): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); @@ -3949,11 +4144,18 @@ export class Deserializer extends DeserializerBase { const previewText_value = previewText!; _argsSerializer.writePreviewText(previewText_value); } + let options_type: int32 = RuntimeType.UNDEFINED; + options_type = runtimeType(options); + _argsSerializer.writeInt8(options_type); + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options!; + _argsSerializer.writeTextChangeOptions(options_value); + } (isSync) ? (InteropNativeModule._CallCallbackSync(-1729563209, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1729563209, _argsSerializer.asBuffer(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readErrorCallback(isSync: boolean = false): ErrorCallback { + public readErrorCallback(isSync: boolean = false): ErrorCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3967,7 +4169,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readFormComponentAttribute_onRouter_callback_type(isSync: boolean = false): ((info: string) => void) { + public readFormComponentAttribute_onRouter_callback_type(isSync: boolean = false): ((info: string) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -3981,7 +4183,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readGestureRecognizerJudgeBeginCallback(isSync: boolean = false): GestureRecognizerJudgeBeginCallback { + public readGestureRecognizerJudgeBeginCallback(isSync: boolean = false): GestureRecognizerJudgeBeginCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4004,7 +4206,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as GestureJudgeResult); } } - readGetItemMainSizeByIndex(isSync: boolean = false): GetItemMainSizeByIndex { + public readGetItemMainSizeByIndex(isSync: boolean = false): GetItemMainSizeByIndex { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4021,7 +4223,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as number); } } - readGridAttribute_onItemDragStart_event_type(isSync: boolean = false): ((event: ItemDragInfo, itemIndex: number) => CustomBuilder) { + public readGridAttribute_onItemDragStart_event_type(isSync: boolean = false): ((event: ItemDragInfo, itemIndex: number) => CustomBuilder) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4039,7 +4241,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as CustomBuilder); } } - readHoverCallback(isSync: boolean = false): HoverCallback { + public readHoverCallback(isSync: boolean = false): HoverCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4054,7 +4256,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readImageCompleteCallback(isSync: boolean = false): ImageCompleteCallback { + public readImageCompleteCallback(isSync: boolean = false): ImageCompleteCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4068,7 +4270,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readImageErrorCallback(isSync: boolean = false): ImageErrorCallback { + public readImageErrorCallback(isSync: boolean = false): ImageErrorCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4082,7 +4284,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readInterceptionModeCallback(isSync: boolean = false): InterceptionModeCallback { + public readInterceptionModeCallback(isSync: boolean = false): InterceptionModeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4096,7 +4298,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readInterceptionShowCallback(isSync: boolean = false): InterceptionShowCallback { + public readInterceptionShowCallback(isSync: boolean = false): InterceptionShowCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4135,7 +4337,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readListAttribute_onItemDragStart_event_type(isSync: boolean = false): ((event: ItemDragInfo, itemIndex: number) => CustomBuilder) { + public readListAttribute_onItemDragStart_event_type(isSync: boolean = false): ((event: ItemDragInfo, itemIndex: number) => CustomBuilder) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4153,7 +4355,29 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as CustomBuilder); } } - readMenuCallback(isSync: boolean = false): MenuCallback { + public readLocationButtonCallback(isSync: boolean = false): LocationButtonCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: ClickEvent, result: LocationButtonOnClickResult, error?: BusinessError | undefined): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeClickEvent(event); + _argsSerializer.writeInt32(result.valueOf()); + let error_type: int32 = RuntimeType.UNDEFINED; + error_type = runtimeType(error); + _argsSerializer.writeInt8(error_type); + if ((RuntimeType.UNDEFINED) != (error_type)) { + const error_value = error!; + _argsSerializer.writeBusinessError(error_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-957598032, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-957598032, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readMenuCallback(isSync: boolean = false): MenuCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4166,7 +4390,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readMenuOnAppearCallback(isSync: boolean = false): MenuOnAppearCallback { + public readMenuOnAppearCallback(isSync: boolean = false): MenuOnAppearCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4181,7 +4405,25 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readNavExtender_OnUpdateStack(isSync: boolean = false): NavExtender_OnUpdateStack { + public readNavDestinationTransitionDelegate(isSync: boolean = false): NavDestinationTransitionDelegate { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (operation: NavigationOperation, isEnter: boolean): Array | undefined => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeInt32(operation.valueOf()); + _argsSerializer.writeBoolean(isEnter); + let _continuationValue: Array | undefined|undefined ; + const _continuationCallback: ((value: Array | undefined) => void) = (value?: Array | undefined): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1066063065, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1066063065, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as Array | undefined); } + } + public readNavExtender_OnUpdateStack(isSync: boolean = false): NavExtender_OnUpdateStack { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4195,7 +4437,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnAdsBlockedCallback(isSync: boolean = false): OnAdsBlockedCallback { + public readOnAdsBlockedCallback(isSync: boolean = false): OnAdsBlockedCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4209,7 +4451,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnAlphabetIndexerPopupSelectCallback(isSync: boolean = false): OnAlphabetIndexerPopupSelectCallback { + public readOnAlphabetIndexerPopupSelectCallback(isSync: boolean = false): OnAlphabetIndexerPopupSelectCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4223,7 +4465,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnAlphabetIndexerRequestPopupDataCallback(isSync: boolean = false): OnAlphabetIndexerRequestPopupDataCallback { + public readOnAlphabetIndexerRequestPopupDataCallback(isSync: boolean = false): OnAlphabetIndexerRequestPopupDataCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4240,7 +4482,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as Array); } } - readOnAlphabetIndexerSelectCallback(isSync: boolean = false): OnAlphabetIndexerSelectCallback { + public readOnAlphabetIndexerSelectCallback(isSync: boolean = false): OnAlphabetIndexerSelectCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4254,7 +4496,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnCheckboxChangeCallback(isSync: boolean = false): OnCheckboxChangeCallback { + public readOnCheckboxChangeCallback(isSync: boolean = false): OnCheckboxChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4268,7 +4510,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnCheckboxGroupChangeCallback(isSync: boolean = false): OnCheckboxGroupChangeCallback { + public readOnCheckboxGroupChangeCallback(isSync: boolean = false): OnCheckboxGroupChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4282,7 +4524,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnContentScrollCallback(isSync: boolean = false): OnContentScrollCallback { + public readOnContentScrollCallback(isSync: boolean = false): OnContentScrollCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4297,7 +4539,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnContextMenuHideCallback(isSync: boolean = false): OnContextMenuHideCallback { + public readOnContextMenuHideCallback(isSync: boolean = false): OnContextMenuHideCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4310,7 +4552,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnDidChangeCallback(isSync: boolean = false): OnDidChangeCallback { + public readOnDidChangeCallback(isSync: boolean = false): OnDidChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4325,11 +4567,32 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnFirstMeaningfulPaintCallback(isSync: boolean = false): OnFirstMeaningfulPaintCallback { + public readOnDragEventCallback(isSync: boolean = false): OnDragEventCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (firstMeaningfulPaint: FirstMeaningfulPaint): void => { + return (event: DragEvent, extraParams?: string | undefined): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeDragEvent(event); + let extraParams_type: int32 = RuntimeType.UNDEFINED; + extraParams_type = runtimeType(extraParams); + _argsSerializer.writeInt8(extraParams_type); + if ((RuntimeType.UNDEFINED) != (extraParams_type)) { + const extraParams_value = extraParams!; + _argsSerializer.writeString(extraParams_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(1451593190, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1451593190, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnFirstMeaningfulPaintCallback(isSync: boolean = false): OnFirstMeaningfulPaintCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (firstMeaningfulPaint: FirstMeaningfulPaint): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); @@ -4339,7 +4602,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnFoldStatusChangeCallback(isSync: boolean = false): OnFoldStatusChangeCallback { + public readOnFoldStatusChangeCallback(isSync: boolean = false): OnFoldStatusChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4353,7 +4616,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnFullScreenEnterCallback(isSync: boolean = false): OnFullScreenEnterCallback { + public readOnFullScreenEnterCallback(isSync: boolean = false): OnFullScreenEnterCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4367,7 +4630,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnHoverCallback(isSync: boolean = false): OnHoverCallback { + public readOnHoverCallback(isSync: boolean = false): OnHoverCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4380,7 +4643,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnHoverStatusChangeCallback(isSync: boolean = false): OnHoverStatusChangeCallback { + public readOnHoverStatusChangeCallback(isSync: boolean = false): OnHoverStatusChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4394,7 +4657,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnIntelligentTrackingPreventionCallback(isSync: boolean = false): OnIntelligentTrackingPreventionCallback { + public readOnIntelligentTrackingPreventionCallback(isSync: boolean = false): OnIntelligentTrackingPreventionCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4408,7 +4671,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnLargestContentfulPaintCallback(isSync: boolean = false): OnLargestContentfulPaintCallback { + public readOnLargestContentfulPaintCallback(isSync: boolean = false): OnLargestContentfulPaintCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4422,7 +4685,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnLinearIndicatorChangeCallback(isSync: boolean = false): OnLinearIndicatorChangeCallback { + public readOnLinearIndicatorChangeCallback(isSync: boolean = false): OnLinearIndicatorChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4437,7 +4700,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnMoveHandler(isSync: boolean = false): OnMoveHandler { + public readOnMoveHandler(isSync: boolean = false): OnMoveHandler { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4452,7 +4715,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnNativeEmbedVisibilityChangeCallback(isSync: boolean = false): OnNativeEmbedVisibilityChangeCallback { + public readOnNativeEmbedVisibilityChangeCallback(isSync: boolean = false): OnNativeEmbedVisibilityChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4466,7 +4729,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnNativeLoadCallback(isSync: boolean = false): OnNativeLoadCallback { + public readOnNativeLoadCallback(isSync: boolean = false): OnNativeLoadCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4486,7 +4749,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnNavigationEntryCommittedCallback(isSync: boolean = false): OnNavigationEntryCommittedCallback { + public readOnNavigationEntryCommittedCallback(isSync: boolean = false): OnNavigationEntryCommittedCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4500,7 +4763,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnOverrideUrlLoadingCallback(isSync: boolean = false): OnOverrideUrlLoadingCallback { + public readOnOverrideUrlLoadingCallback(isSync: boolean = false): OnOverrideUrlLoadingCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4517,7 +4780,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readOnPasteCallback(isSync: boolean = false): OnPasteCallback { + public readOnPasteCallback(isSync: boolean = false): OnPasteCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4532,7 +4795,35 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnRenderProcessNotRespondingCallback(isSync: boolean = false): OnRenderProcessNotRespondingCallback { + public readOnRadioChangeCallback(isSync: boolean = false): OnRadioChangeCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (isChecked: boolean): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBoolean(isChecked); + (isSync) ? (InteropNativeModule._CallCallbackSync(511412333, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(511412333, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnRatingChangeCallback(isSync: boolean = false): OnRatingChangeCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (rating: number): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(rating); + (isSync) ? (InteropNativeModule._CallCallbackSync(-551895045, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-551895045, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnRenderProcessNotRespondingCallback(isSync: boolean = false): OnRenderProcessNotRespondingCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4546,7 +4837,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnRenderProcessRespondingCallback(isSync: boolean = false): OnRenderProcessRespondingCallback { + public readOnRenderProcessRespondingCallback(isSync: boolean = false): OnRenderProcessRespondingCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4559,7 +4850,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnSafeBrowsingCheckResultCallback(isSync: boolean = false): OnSafeBrowsingCheckResultCallback { + public readOnSafeBrowsingCheckResultCallback(isSync: boolean = false): OnSafeBrowsingCheckResultCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4573,7 +4864,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnScrollCallback(isSync: boolean = false): OnScrollCallback { + public readOnScrollCallback(isSync: boolean = false): OnScrollCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4588,7 +4879,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnScrollEdgeCallback(isSync: boolean = false): OnScrollEdgeCallback { + public readOnScrollEdgeCallback(isSync: boolean = false): OnScrollEdgeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4602,7 +4893,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnScrollFrameBeginCallback(isSync: boolean = false): OnScrollFrameBeginCallback { + public readOnScrollFrameBeginCallback(isSync: boolean = false): OnScrollFrameBeginCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4620,7 +4911,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as OnScrollFrameBeginHandlerResult); } } - readOnScrollVisibleContentChangeCallback(isSync: boolean = false): OnScrollVisibleContentChangeCallback { + public readOnScrollVisibleContentChangeCallback(isSync: boolean = false): OnScrollVisibleContentChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4635,7 +4926,22 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnSslErrorEventCallback(isSync: boolean = false): OnSslErrorEventCallback { + public readOnSelectCallback(isSync: boolean = false): OnSelectCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (index: number, selectStr: string): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeNumber(index); + _argsSerializer.writeString(selectStr); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1486869198, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1486869198, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnSslErrorEventCallback(isSync: boolean = false): OnSslErrorEventCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4649,7 +4955,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnSubmitCallback(isSync: boolean = false): OnSubmitCallback { + public readOnSubmitCallback(isSync: boolean = false): OnSubmitCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4664,7 +4970,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnSwiperAnimationEndCallback(isSync: boolean = false): OnSwiperAnimationEndCallback { + public readOnSwiperAnimationEndCallback(isSync: boolean = false): OnSwiperAnimationEndCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4679,7 +4985,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnSwiperAnimationStartCallback(isSync: boolean = false): OnSwiperAnimationStartCallback { + public readOnSwiperAnimationStartCallback(isSync: boolean = false): OnSwiperAnimationStartCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4695,7 +5001,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnSwiperGestureSwipeCallback(isSync: boolean = false): OnSwiperGestureSwipeCallback { + public readOnSwiperGestureSwipeCallback(isSync: boolean = false): OnSwiperGestureSwipeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4710,7 +5016,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnTabsAnimationEndCallback(isSync: boolean = false): OnTabsAnimationEndCallback { + public readOnTabsAnimationEndCallback(isSync: boolean = false): OnTabsAnimationEndCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4725,7 +5031,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnTabsAnimationStartCallback(isSync: boolean = false): OnTabsAnimationStartCallback { + public readOnTabsAnimationStartCallback(isSync: boolean = false): OnTabsAnimationStartCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4741,7 +5047,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnTabsContentWillChangeCallback(isSync: boolean = false): OnTabsContentWillChangeCallback { + public readOnTabsContentWillChangeCallback(isSync: boolean = false): OnTabsContentWillChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4759,7 +5065,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readOnTabsGestureSwipeCallback(isSync: boolean = false): OnTabsGestureSwipeCallback { + public readOnTabsGestureSwipeCallback(isSync: boolean = false): OnTabsGestureSwipeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4774,7 +5080,52 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnTextSelectionChangeCallback(isSync: boolean = false): OnTextSelectionChangeCallback { + public readOnTextPickerChangeCallback(isSync: boolean = false): OnTextPickerChangeCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (selectItem: string | Array, index: number | Array): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + let selectItem_type: int32 = RuntimeType.UNDEFINED; + selectItem_type = runtimeType(selectItem); + if (RuntimeType.STRING == selectItem_type) { + _argsSerializer.writeInt8(0); + const selectItem_0 = unsafeCast(selectItem); + _argsSerializer.writeString(selectItem_0); + } + else if (RuntimeType.OBJECT == selectItem_type) { + _argsSerializer.writeInt8(1); + const selectItem_1 = unsafeCast>(selectItem); + _argsSerializer.writeInt32(selectItem_1.length); + for (let i = 0; i < selectItem_1.length; i++) { + const selectItem_1_element: string = selectItem_1[i]; + _argsSerializer.writeString(selectItem_1_element); + } + } + let index_type: int32 = RuntimeType.UNDEFINED; + index_type = runtimeType(index); + if (RuntimeType.NUMBER == index_type) { + _argsSerializer.writeInt8(0); + const index_0 = unsafeCast(index); + _argsSerializer.writeNumber(index_0); + } + else if (RuntimeType.OBJECT == index_type) { + _argsSerializer.writeInt8(1); + const index_1 = unsafeCast>(index); + _argsSerializer.writeInt32(index_1.length); + for (let i = 0; i < index_1.length; i++) { + const index_1_element: number = index_1[i]; + _argsSerializer.writeNumber(index_1_element); + } + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-1902343417, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1902343417, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnTextSelectionChangeCallback(isSync: boolean = false): OnTextSelectionChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4789,7 +5140,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readOnViewportFitChangedCallback(isSync: boolean = false): OnViewportFitChangedCallback { + public readOnTimePickerChangeCallback(isSync: boolean = false): OnTimePickerChangeCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (result: TimePickerResult): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeTimePickerResult(result); + (isSync) ? (InteropNativeModule._CallCallbackSync(994429103, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(994429103, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readOnViewportFitChangedCallback(isSync: boolean = false): OnViewportFitChangedCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4803,7 +5168,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readPageTransitionCallback(isSync: boolean = false): PageTransitionCallback { + public readPageTransitionCallback(isSync: boolean = false): PageTransitionCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4818,7 +5183,29 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readPasteEventCallback(isSync: boolean = false): PasteEventCallback { + public readPasteButtonCallback(isSync: boolean = false): PasteButtonCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: ClickEvent, result: PasteButtonOnClickResult, error?: BusinessError | undefined): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeClickEvent(event); + _argsSerializer.writeInt32(result.valueOf()); + let error_type: int32 = RuntimeType.UNDEFINED; + error_type = runtimeType(error); + _argsSerializer.writeInt8(error_type); + if ((RuntimeType.UNDEFINED) != (error_type)) { + const error_value = error!; + _argsSerializer.writeBusinessError(error_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(1501373374, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1501373374, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readPasteEventCallback(isSync: boolean = false): PasteEventCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4838,7 +5225,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readPluginErrorCallback(isSync: boolean = false): PluginErrorCallback { + public readPluginErrorCallback(isSync: boolean = false): PluginErrorCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4852,7 +5239,21 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readProfiler_Callback_String_Void(isSync: boolean = false): ((info: string) => void) { + public readPopupStateChangeCallback(isSync: boolean = false): PopupStateChangeCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: PopupStateChangeParam): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writePopupStateChangeParam(event); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1444325632, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1444325632, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readProfiler_Callback_String_Void(isSync: boolean = false): ((info: string) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4866,7 +5267,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readReceiveCallback(isSync: boolean = false): ReceiveCallback { + public readReceiveCallback(isSync: boolean = false): ReceiveCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4884,7 +5285,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readRestrictedWorker_onerror_Callback(isSync: boolean = false): RestrictedWorker_onerror_Callback { + public readRestrictedWorker_onerror_Callback(isSync: boolean = false): RestrictedWorker_onerror_Callback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4898,7 +5299,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readRestrictedWorker_onexit_Callback(isSync: boolean = false): RestrictedWorker_onexit_Callback { + public readRestrictedWorker_onexit_Callback(isSync: boolean = false): RestrictedWorker_onexit_Callback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4912,7 +5313,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readRestrictedWorker_onmessage_Callback(isSync: boolean = false): RestrictedWorker_onmessage_Callback { + public readRestrictedWorker_onmessage_Callback(isSync: boolean = false): RestrictedWorker_onmessage_Callback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4926,7 +5327,45 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readScrollOnScrollCallback(isSync: boolean = false): ScrollOnScrollCallback { + public readReuseIdCallback(isSync: boolean = false): ReuseIdCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (): string => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + let _continuationValue: string | undefined|undefined ; + const _continuationCallback: ((breakpoints: string) => void) = (value: string): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(1110529154, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1110529154, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as string); } + } + public readSaveButtonCallback(isSync: boolean = false): SaveButtonCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: ClickEvent, result: SaveButtonOnClickResult, error?: BusinessError | undefined): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeClickEvent(event); + _argsSerializer.writeInt32(result.valueOf()); + let error_type: int32 = RuntimeType.UNDEFINED; + error_type = runtimeType(error); + _argsSerializer.writeInt8(error_type); + if ((RuntimeType.UNDEFINED) != (error_type)) { + const error_value = error!; + _argsSerializer.writeBusinessError(error_value); + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-1634474996, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1634474996, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readScrollOnScrollCallback(isSync: boolean = false): ScrollOnScrollCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4942,7 +5381,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readScrollOnWillScrollCallback(isSync: boolean = false): ScrollOnWillScrollCallback { + public readScrollOnWillScrollCallback(isSync: boolean = false): ScrollOnWillScrollCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4962,7 +5401,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as OffsetResult); } } - readSearchSubmitCallback(isSync: boolean = false): SearchSubmitCallback { + public readSearchSubmitCallback(isSync: boolean = false): SearchSubmitCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -4983,7 +5422,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readShouldBuiltInRecognizerParallelWithCallback(isSync: boolean = false): ShouldBuiltInRecognizerParallelWithCallback { + public readShouldBuiltInRecognizerParallelWithCallback(isSync: boolean = false): ShouldBuiltInRecognizerParallelWithCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5005,7 +5444,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as GestureRecognizer); } } - readSizeChangeCallback(isSync: boolean = false): SizeChangeCallback { + public readSizeChangeCallback(isSync: boolean = false): SizeChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5020,7 +5459,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readSliderTriggerChangeCallback(isSync: boolean = false): SliderTriggerChangeCallback { + public readSliderTriggerChangeCallback(isSync: boolean = false): SliderTriggerChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5035,7 +5474,41 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readSubmitCallback(isSync: boolean = false): SubmitCallback { + public readStyledStringMarshallCallback(isSync: boolean = false): StyledStringMarshallCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (marshallableVal: UserDataSpan): NativeBuffer => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeUserDataSpan(marshallableVal); + let _continuationValue: NativeBuffer | undefined|undefined ; + const _continuationCallback: ((value: NativeBuffer) => void) = (value: NativeBuffer): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(1095217433, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1095217433, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as NativeBuffer); } + } + public readStyledStringUnmarshallCallback(isSync: boolean = false): StyledStringUnmarshallCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (buf: NativeBuffer): UserDataSpan => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeBuffer(buf); + let _continuationValue: UserDataSpan | undefined|undefined ; + const _continuationCallback: ((value: UserDataSpan) => void) = (value: UserDataSpan): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(1359717794, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1359717794, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as UserDataSpan); } + } + public readSubmitCallback(isSync: boolean = false): SubmitCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5050,7 +5523,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readTabsCustomContentTransitionCallback(isSync: boolean = false): TabsCustomContentTransitionCallback { + public readTabsCustomContentTransitionCallback(isSync: boolean = false): TabsCustomContentTransitionCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5068,7 +5541,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as TabContentAnimatedTransition | undefined); } } - readTextAreaSubmitCallback(isSync: boolean = false): TextAreaSubmitCallback { + public readTextAreaSubmitCallback(isSync: boolean = false): TextAreaSubmitCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5089,7 +5562,97 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readTextTimerAttribute_onTimer_event_type(isSync: boolean = false): ((utc: number, elapsedTime: number) => void) { + public readTextPickerEnterSelectedAreaCallback(isSync: boolean = false): TextPickerEnterSelectedAreaCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (value: string | Array, index: number | Array): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + let value_type: int32 = RuntimeType.UNDEFINED; + value_type = runtimeType(value); + if (RuntimeType.STRING == value_type) { + _argsSerializer.writeInt8(0); + const value_0 = unsafeCast(value); + _argsSerializer.writeString(value_0); + } + else if (RuntimeType.OBJECT == value_type) { + _argsSerializer.writeInt8(1); + const value_1 = unsafeCast>(value); + _argsSerializer.writeInt32(value_1.length); + for (let i = 0; i < value_1.length; i++) { + const value_1_element: string = value_1[i]; + _argsSerializer.writeString(value_1_element); + } + } + let index_type: int32 = RuntimeType.UNDEFINED; + index_type = runtimeType(index); + if (RuntimeType.NUMBER == index_type) { + _argsSerializer.writeInt8(0); + const index_0 = unsafeCast(index); + _argsSerializer.writeNumber(index_0); + } + else if (RuntimeType.OBJECT == index_type) { + _argsSerializer.writeInt8(1); + const index_1 = unsafeCast>(index); + _argsSerializer.writeInt32(index_1.length); + for (let i = 0; i < index_1.length; i++) { + const index_1_element: number = index_1[i]; + _argsSerializer.writeNumber(index_1_element); + } + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-202014218, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-202014218, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readTextPickerScrollStopCallback(isSync: boolean = false): TextPickerScrollStopCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (value: string | Array, index: number | Array): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + let value_type: int32 = RuntimeType.UNDEFINED; + value_type = runtimeType(value); + if (RuntimeType.STRING == value_type) { + _argsSerializer.writeInt8(0); + const value_0 = unsafeCast(value); + _argsSerializer.writeString(value_0); + } + else if (RuntimeType.OBJECT == value_type) { + _argsSerializer.writeInt8(1); + const value_1 = unsafeCast>(value); + _argsSerializer.writeInt32(value_1.length); + for (let i = 0; i < value_1.length; i++) { + const value_1_element: string = value_1[i]; + _argsSerializer.writeString(value_1_element); + } + } + let index_type: int32 = RuntimeType.UNDEFINED; + index_type = runtimeType(index); + if (RuntimeType.NUMBER == index_type) { + _argsSerializer.writeInt8(0); + const index_0 = unsafeCast(index); + _argsSerializer.writeNumber(index_0); + } + else if (RuntimeType.OBJECT == index_type) { + _argsSerializer.writeInt8(1); + const index_1 = unsafeCast>(index); + _argsSerializer.writeInt32(index_1.length); + for (let i = 0; i < index_1.length; i++) { + const index_1_element: number = index_1[i]; + _argsSerializer.writeNumber(index_1_element); + } + } + (isSync) ? (InteropNativeModule._CallCallbackSync(-1928298699, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1928298699, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } + public readTextTimerAttribute_onTimer_event_type(isSync: boolean = false): ((utc: number, elapsedTime: number) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5104,7 +5667,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readTransitionFinishCallback(isSync: boolean = false): TransitionFinishCallback { + public readTransitionFinishCallback(isSync: boolean = false): TransitionFinishCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5118,7 +5681,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readType_NavigationAttribute_customNavContentTransition_delegate(isSync: boolean = false): ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined) { + public readType_NavigationAttribute_customNavContentTransition_delegate(isSync: boolean = false): ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5137,7 +5700,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as NavigationAnimatedTransition | undefined); } } - readType_TextPickerAttribute_onChange_callback(isSync: boolean = false): ((value: string | Array, index: number | Array) => void) { + public readType_TextPickerAttribute_onChange_callback(isSync: boolean = false): ((value: string | Array, index: number | Array) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5182,7 +5745,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readType_WebAttribute_onFileSelectorShow_callback(isSync: boolean = false): ((event?: { callback_: Function, fileSelector: Object }) => void) { + public readType_WebAttribute_onFileSelectorShow_callback(isSync: boolean = false): ((event?: { callback_: Function, fileSelector: Object }) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5205,7 +5768,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readType_WebAttribute_onUrlLoadIntercept_callback(isSync: boolean = false): ((event?: { data: string | WebResourceRequest }) => boolean) { + public readType_WebAttribute_onUrlLoadIntercept_callback(isSync: boolean = false): ((event?: { data: string | WebResourceRequest }) => boolean) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5240,7 +5803,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } - readVisibleAreaChangeCallback(isSync: boolean = false): VisibleAreaChangeCallback { + public readVisibleAreaChangeCallback(isSync: boolean = false): VisibleAreaChangeCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5255,7 +5818,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readVoidCallback(isSync: boolean = false): VoidCallback { + public readVoidCallback(isSync: boolean = false): VoidCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5268,7 +5831,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } - readWebKeyboardCallback(isSync: boolean = false): WebKeyboardCallback { + public readWebKeyboardCallback(isSync: boolean = false): WebKeyboardCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5285,7 +5848,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as WebKeyboardOptions); } } - readWithThemeInterface(isSync: boolean = false): WithThemeInterface { + public readWithThemeInterface(isSync: boolean = false): WithThemeInterface { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() @@ -5302,7 +5865,7 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as WithThemeAttribute); } } - readAccessibilityOptions(): AccessibilityOptions { + public readAccessibilityOptions(): AccessibilityOptions { let valueDeserializer: Deserializer = this const accessibilityPreferred_buf_runtimeType = (valueDeserializer.readInt8() as int32) let accessibilityPreferred_buf: boolean | undefined|undefined @@ -5314,7 +5877,7 @@ export class Deserializer extends DeserializerBase { let value: AccessibilityOptions = ({accessibilityPreferred: accessibilityPreferred_result} as AccessibilityOptions) return value } - readAdsBlockedDetails(): AdsBlockedDetails { + public readAdsBlockedDetails(): AdsBlockedDetails { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) const adsBlocked_buf_length: int32 = valueDeserializer.readInt32() @@ -5326,7 +5889,7 @@ export class Deserializer extends DeserializerBase { let value: AdsBlockedDetails = ({url: url_result, adsBlocked: adsBlocked_result} as AdsBlockedDetails) return value } - readAlphabetIndexerOptions(): AlphabetIndexerOptions { + public readAlphabetIndexerOptions(): AlphabetIndexerOptions { let valueDeserializer: Deserializer = this const arrayValue_buf_length: int32 = valueDeserializer.readInt32() let arrayValue_buf: Array = new Array(arrayValue_buf_length) @@ -5338,7 +5901,7 @@ export class Deserializer extends DeserializerBase { let value: AlphabetIndexerOptions = ({arrayValue: arrayValue_result, selected: selected_result} as AlphabetIndexerOptions) return value } - readAnimationOptions(): AnimationOptions { + public readAnimationOptions(): AnimationOptions { let valueDeserializer: Deserializer = this const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) let duration_buf: number | undefined|undefined @@ -5357,12 +5920,12 @@ export class Deserializer extends DeserializerBase { let value: AnimationOptions = ({duration: duration_result, iterations: iterations_result} as AnimationOptions) return value } - readAppearSymbolEffect(): AppearSymbolEffect { + public readAppearSymbolEffect(): AppearSymbolEffect { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return AppearSymbolEffectInternal.fromPtr(ptr) } - readASTCResource(): ASTCResource { + public readASTCResource(): ASTCResource { let valueDeserializer: Deserializer = this const sources_buf_length: int32 = valueDeserializer.readInt32() let sources_buf: Array = new Array(sources_buf_length) @@ -5374,14 +5937,39 @@ export class Deserializer extends DeserializerBase { let value: ASTCResource = ({sources: sources_result, column: column_result} as ASTCResource) return value } - readBackgroundBrightnessOptions(): BackgroundBrightnessOptions { + public readAutoPlayOptions(): AutoPlayOptions { + let valueDeserializer: Deserializer = this + const stopWhenTouched_result: boolean = valueDeserializer.readBoolean() + let value: AutoPlayOptions = ({stopWhenTouched: stopWhenTouched_result} as AutoPlayOptions) + return value + } + public readBackgroundBrightnessOptions(): BackgroundBrightnessOptions { let valueDeserializer: Deserializer = this const rate_result: number = (valueDeserializer.readNumber() as number) const lightUpDegree_result: number = (valueDeserializer.readNumber() as number) let value: BackgroundBrightnessOptions = ({rate: rate_result, lightUpDegree: lightUpDegree_result} as BackgroundBrightnessOptions) return value } - readBarrierStyle(): BarrierStyle { + public readBackgroundImageOptions(): BackgroundImageOptions { + let valueDeserializer: Deserializer = this + const syncLoad_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let syncLoad_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (syncLoad_buf_runtimeType)) + { + syncLoad_buf = valueDeserializer.readBoolean() + } + const syncLoad_result: boolean | undefined|undefined = syncLoad_buf + const repeat_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let repeat_buf: ImageRepeat | undefined|undefined + if ((RuntimeType.UNDEFINED) != (repeat_buf_runtimeType)) + { + repeat_buf = valueDeserializer.readInt32() + } + const repeat_result: ImageRepeat | undefined|undefined = repeat_buf + let value: BackgroundImageOptions = ({syncLoad: syncLoad_result, repeat: repeat_result} as BackgroundImageOptions) + return value + } + public readBarrierStyle(): BarrierStyle { let valueDeserializer: Deserializer = this const id_result: string = (valueDeserializer.readString() as string) const direction_result: BarrierDirection = valueDeserializer.readInt32() @@ -5394,17 +5982,17 @@ export class Deserializer extends DeserializerBase { let value: BarrierStyle = ({id: id_result, direction: direction_result, referencedId: referencedId_result} as BarrierStyle) return value } - readBaseContext(): BaseContext { + public readBaseContext(): BaseContext { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return BaseContextInternal.fromPtr(ptr) } - readBaselineOffsetStyle(): BaselineOffsetStyle { + public readBaselineOffsetStyle(): BaselineOffsetStyle { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return BaselineOffsetStyleInternal.fromPtr(ptr) } - readBias(): Bias { + public readBias(): Bias { let valueDeserializer: Deserializer = this const horizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) let horizontal_buf: number | undefined|undefined @@ -5423,7 +6011,7 @@ export class Deserializer extends DeserializerBase { let value: Bias = ({horizontal: horizontal_result, vertical: vertical_result} as Bias) return value } - readBlurOptions(): BlurOptions { + public readBlurOptions(): BlurOptions { let valueDeserializer: Deserializer = this const grayscale_buf_value0: number = (valueDeserializer.readNumber() as number) const grayscale_buf_value1: number = (valueDeserializer.readNumber() as number) @@ -5431,7 +6019,7 @@ export class Deserializer extends DeserializerBase { let value: BlurOptions = ({grayscale: grayscale_result} as BlurOptions) return value } - readBorderRadiuses_graphics(): BorderRadiuses_graphics { + public readBorderRadiuses_graphics(): BorderRadiuses_graphics { let valueDeserializer: Deserializer = this const topLeft_result: number = (valueDeserializer.readNumber() as number) const topRight_result: number = (valueDeserializer.readNumber() as number) @@ -5440,12 +6028,12 @@ export class Deserializer extends DeserializerBase { let value: BorderRadiuses_graphics = ({topLeft: topLeft_result, topRight: topRight_result, bottomLeft: bottomLeft_result, bottomRight: bottomRight_result} as BorderRadiuses_graphics) return value } - readBounceSymbolEffect(): BounceSymbolEffect { + public readBounceSymbolEffect(): BounceSymbolEffect { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return BounceSymbolEffectInternal.fromPtr(ptr) } - readBreakPoints(): BreakPoints { + public readBreakPoints(): BreakPoints { let valueDeserializer: Deserializer = this const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) let value_buf: Array | undefined|undefined @@ -5469,7 +6057,7 @@ export class Deserializer extends DeserializerBase { let value: BreakPoints = ({value: value_result, reference: reference_result} as BreakPoints) return value } - readBrightnessBlender(): BrightnessBlender { + public readBrightnessBlender(): BrightnessBlender { let valueDeserializer: Deserializer = this const cubicRate_result: number = (valueDeserializer.readNumber() as number) const quadraticRate_result: number = (valueDeserializer.readNumber() as number) @@ -5488,7 +6076,7 @@ export class Deserializer extends DeserializerBase { let value: BrightnessBlender = ({cubicRate: cubicRate_result, quadraticRate: quadraticRate_result, linearRate: linearRate_result, degree: degree_result, saturation: saturation_result, positiveCoefficient: positiveCoefficient_result, negativeCoefficient: negativeCoefficient_result, fraction: fraction_result} as BrightnessBlender) return value } - readBusinessError(): BusinessError { + public readBusinessError(): BusinessError { let valueDeserializer: Deserializer = this const name_result: string = (valueDeserializer.readString() as string) const message_result: string = (valueDeserializer.readString() as string) @@ -5503,7 +6091,7 @@ export class Deserializer extends DeserializerBase { let value: BusinessError = ({name: name_result, message: message_result, stack: stack_result, code: code_result} as BusinessError) return value } - readButtonOptions(): ButtonOptions { + public readButtonOptions(): ButtonOptions { let valueDeserializer: Deserializer = this const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) let type_buf: ButtonType | undefined|undefined @@ -5543,7 +6131,7 @@ export class Deserializer extends DeserializerBase { let value: ButtonOptions = ({type: type_result, stateEffect: stateEffect_result, buttonStyle: buttonStyle_result, controlSize: controlSize_result, role: role_result} as ButtonOptions) return value } - readCalendarDay(): CalendarDay { + public readCalendarDay(): CalendarDay { let valueDeserializer: Deserializer = this const index_result: number = (valueDeserializer.readNumber() as number) const lunarMonth_result: string = (valueDeserializer.readString() as string) @@ -5559,7 +6147,7 @@ export class Deserializer extends DeserializerBase { let value: CalendarDay = ({index: index_result, lunarMonth: lunarMonth_result, lunarDay: lunarDay_result, dayMark: dayMark_result, dayMarkValue: dayMarkValue_result, year: year_result, month: month_result, day: day_result, isFirstOfLunar: isFirstOfLunar_result, hasSchedule: hasSchedule_result, markLunarDay: markLunarDay_result} as CalendarDay) return value } - readCalendarRequestedData(): CalendarRequestedData { + public readCalendarRequestedData(): CalendarRequestedData { let valueDeserializer: Deserializer = this const year_result: number = (valueDeserializer.readNumber() as number) const month_result: number = (valueDeserializer.readNumber() as number) @@ -5569,7 +6157,7 @@ export class Deserializer extends DeserializerBase { let value: CalendarRequestedData = ({year: year_result, month: month_result, currentYear: currentYear_result, currentMonth: currentMonth_result, monthState: monthState_result} as CalendarRequestedData) return value } - readCalendarSelectedDate(): CalendarSelectedDate { + public readCalendarSelectedDate(): CalendarSelectedDate { let valueDeserializer: Deserializer = this const year_result: number = (valueDeserializer.readNumber() as number) const month_result: number = (valueDeserializer.readNumber() as number) @@ -5577,7 +6165,7 @@ export class Deserializer extends DeserializerBase { let value: CalendarSelectedDate = ({year: year_result, month: month_result, day: day_result} as CalendarSelectedDate) return value } - readCancelButtonSymbolOptions(): CancelButtonSymbolOptions { + public readCancelButtonSymbolOptions(): CancelButtonSymbolOptions { let valueDeserializer: Deserializer = this const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) let style_buf: CancelButtonStyle | undefined|undefined @@ -5596,17 +6184,7 @@ export class Deserializer extends DeserializerBase { let value: CancelButtonSymbolOptions = ({style: style_result, icon: icon_result} as CancelButtonSymbolOptions) return value } - readCanvasRenderer(): CanvasRenderer { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return CanvasRendererInternal.fromPtr(ptr) - } - readCanvasRenderingContext2D(): CanvasRenderingContext2D { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return CanvasRenderingContext2DInternal.fromPtr(ptr) - } - readCaretOffset(): CaretOffset { + public readCaretOffset(): CaretOffset { let valueDeserializer: Deserializer = this const index_result: number = (valueDeserializer.readNumber() as number) const x_result: number = (valueDeserializer.readNumber() as number) @@ -5614,7 +6192,7 @@ export class Deserializer extends DeserializerBase { let value: CaretOffset = ({index: index_result, x: x_result, y: y_result} as CaretOffset) return value } - readChainWeightOptions(): ChainWeightOptions { + public readChainWeightOptions(): ChainWeightOptions { let valueDeserializer: Deserializer = this const horizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) let horizontal_buf: number | undefined|undefined @@ -5633,7 +6211,7 @@ export class Deserializer extends DeserializerBase { let value: ChainWeightOptions = ({horizontal: horizontal_result, vertical: vertical_result} as ChainWeightOptions) return value } - readCheckboxGroupOptions(): CheckboxGroupOptions { + public readCheckboxGroupOptions(): CheckboxGroupOptions { let valueDeserializer: Deserializer = this const group_buf_runtimeType = (valueDeserializer.readInt8() as int32) let group_buf: string | undefined|undefined @@ -5645,7 +6223,7 @@ export class Deserializer extends DeserializerBase { let value: CheckboxGroupOptions = ({group: group_result} as CheckboxGroupOptions) return value } - readCheckboxGroupResult(): CheckboxGroupResult { + public readCheckboxGroupResult(): CheckboxGroupResult { let valueDeserializer: Deserializer = this const name_buf_length: int32 = valueDeserializer.readInt32() let name_buf: Array = new Array(name_buf_length) @@ -5657,7 +6235,7 @@ export class Deserializer extends DeserializerBase { let value: CheckboxGroupResult = ({name: name_result, status: status_result} as CheckboxGroupResult) return value } - readCheckboxOptions(): CheckboxOptions { + public readCheckboxOptions(): CheckboxOptions { let valueDeserializer: Deserializer = this const name_buf_runtimeType = (valueDeserializer.readInt8() as int32) let name_buf: string | undefined|undefined @@ -5683,12 +6261,12 @@ export class Deserializer extends DeserializerBase { let value: CheckboxOptions = ({name: name_result, group: group_result, indicatorBuilder: indicatorBuilder_result} as CheckboxOptions) return value } - readChildrenMainSize(): ChildrenMainSize { + public readChildrenMainSize(): ChildrenMainSize { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ChildrenMainSizeInternal.fromPtr(ptr) } - readCircle(): Circle { + public readCircle(): Circle { let valueDeserializer: Deserializer = this const centerX_result: number = (valueDeserializer.readNumber() as number) const centerY_result: number = (valueDeserializer.readNumber() as number) @@ -5696,7 +6274,7 @@ export class Deserializer extends DeserializerBase { let value: Circle = ({centerX: centerX_result, centerY: centerY_result, radius: radius_result} as Circle) return value } - readCircleOptions(): CircleOptions { + public readCircleOptions(): CircleOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf: string | number | undefined|undefined @@ -5737,7 +6315,7 @@ export class Deserializer extends DeserializerBase { let value: CircleOptions = ({width: width_result, height: height_result} as CircleOptions) return value } - readClickEffect(): ClickEffect { + public readClickEffect(): ClickEffect { let valueDeserializer: Deserializer = this const level_result: ClickEffectLevel = valueDeserializer.readInt32() const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -5750,7 +6328,7 @@ export class Deserializer extends DeserializerBase { let value: ClickEffect = ({level: level_result, scale: scale_result} as ClickEffect) return value } - readCloseSwipeActionOptions(): CloseSwipeActionOptions { + public readCloseSwipeActionOptions(): CloseSwipeActionOptions { let valueDeserializer: Deserializer = this const onFinish_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onFinish_buf: (() => void) | undefined|undefined @@ -5762,12 +6340,12 @@ export class Deserializer extends DeserializerBase { let value: CloseSwipeActionOptions = ({onFinish: onFinish_result} as CloseSwipeActionOptions) return value } - readColorMetrics(): ColorMetrics { + public readColorMetrics(): ColorMetrics { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ColorMetricsInternal.fromPtr(ptr) } - readColumnOptions(): ColumnOptions { + public readColumnOptions(): ColumnOptions { let valueDeserializer: Deserializer = this const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) let space_buf: string | number | undefined|undefined @@ -5790,13 +6368,19 @@ export class Deserializer extends DeserializerBase { let value: ColumnOptions = ({space: space_result} as ColumnOptions) return value } - readCommandPath(): CommandPath { + public readColumnOptionsV2(): ColumnOptionsV2 { + let valueDeserializer: Deserializer = this + const stub_result: string = (valueDeserializer.readString() as string) + let value: ColumnOptionsV2 = ({stub: stub_result} as ColumnOptionsV2) + return value + } + public readCommandPath(): CommandPath { let valueDeserializer: Deserializer = this const commands_result: string = (valueDeserializer.readString() as string) let value: CommandPath = ({commands: commands_result} as CommandPath) return value } - readcommon2D_Color(): common2D.Color { + public readcommon2D_Color(): common2D.Color { let valueDeserializer: Deserializer = this const alpha_result: number = (valueDeserializer.readNumber() as number) const red_result: number = (valueDeserializer.readNumber() as number) @@ -5805,33 +6389,39 @@ export class Deserializer extends DeserializerBase { let value: common2D.Color = ({alpha: alpha_result, red: red_result, green: green_result, blue: blue_result} as common2D.Color) return value } - readcommon2D_Point(): common2D.Point { + public readcommon2D_Point(): common2D.Point { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) const y_result: number = (valueDeserializer.readNumber() as number) let value: common2D.Point = ({x: x_result, y: y_result} as common2D.Point) return value } - readCommonConfiguration(): CommonConfiguration { + public readCommonConfiguration(): CommonConfiguration { let valueDeserializer: Deserializer = this const enabled_result: boolean = valueDeserializer.readBoolean() const contentModifier_result: ContentModifier = (valueDeserializer.readObject() as ContentModifier) let value: CommonConfiguration = ({enabled: enabled_result, contentModifier: contentModifier_result} as CommonConfiguration) return value } - readComputedBarAttribute(): ComputedBarAttribute { + public readCommonModifier(): CommonModifier { + let valueDeserializer: Deserializer = this + const _CommonModifierStub_result: string = (valueDeserializer.readString() as string) + let value: CommonModifier = ({_CommonModifierStub: _CommonModifierStub_result} as CommonModifier) + return value + } + public readComputedBarAttribute(): ComputedBarAttribute { let valueDeserializer: Deserializer = this const totalOffset_result: number = (valueDeserializer.readNumber() as number) const totalLength_result: number = (valueDeserializer.readNumber() as number) let value: ComputedBarAttribute = ({totalOffset: totalOffset_result, totalLength: totalLength_result} as ComputedBarAttribute) return value } - readContext(): Context { + public readContext(): Context { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ContextInternal.fromPtr(ptr) } - readCopyEvent(): CopyEvent { + public readCopyEvent(): CopyEvent { let valueDeserializer: Deserializer = this const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) let preventDefault_buf: (() => void) | undefined|undefined @@ -5843,7 +6433,7 @@ export class Deserializer extends DeserializerBase { let value: CopyEvent = ({preventDefault: preventDefault_result} as CopyEvent) return value } - readCornerRadius(): CornerRadius { + public readCornerRadius(): CornerRadius { let valueDeserializer: Deserializer = this const topLeft_result: Vector2 = valueDeserializer.readVector2() const topRight_result: Vector2 = valueDeserializer.readVector2() @@ -5852,7 +6442,17 @@ export class Deserializer extends DeserializerBase { let value: CornerRadius = ({topLeft: topLeft_result, topRight: topRight_result, bottomLeft: bottomLeft_result, bottomRight: bottomRight_result} as CornerRadius) return value } - readCustomDialogBuildOptions(): CustomDialogBuildOptions { + public readCrownEvent(): CrownEvent { + let valueDeserializer: Deserializer = this + const timestamp_result: number = valueDeserializer.readInt64() + const angularVelocity_result: number = (valueDeserializer.readNumber() as number) + const degree_result: number = (valueDeserializer.readNumber() as number) + const action_result: CrownAction = valueDeserializer.readInt32() + const stopPropagation_result: (() => void) = valueDeserializer.readCallback_Void() + let value: CrownEvent = ({timestamp: timestamp_result, angularVelocity: angularVelocity_result, degree: degree_result, action: action_result, stopPropagation: stopPropagation_result} as CrownEvent) + return value + } + public readCustomDialogBuildOptions(): CustomDialogBuildOptions { let valueDeserializer: Deserializer = this const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) let controller_buf: CustomDialogController | undefined|undefined @@ -5864,19 +6464,19 @@ export class Deserializer extends DeserializerBase { let value: CustomDialogBuildOptions = ({controller: controller_result} as CustomDialogBuildOptions) return value } - readCustomDialogControllerBuilder(): CustomDialogControllerBuilder { + public readCustomDialogControllerBuilder(): CustomDialogControllerBuilder { let valueDeserializer: Deserializer = this const buildOptions_result: CustomDialogBuildOptions = valueDeserializer.readCustomDialogBuildOptions() const build_result: CustomBuilder = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) let value: CustomDialogControllerBuilder = ({buildOptions: buildOptions_result, build: build_result} as CustomDialogControllerBuilder) return value } - readCustomSpan(): CustomSpan { + public readCustomSpan(): CustomSpan { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return CustomSpanInternal.fromPtr(ptr) } - readCustomSpanDrawInfo(): CustomSpanDrawInfo { + public readCustomSpanDrawInfo(): CustomSpanDrawInfo { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) const lineTop_result: number = (valueDeserializer.readNumber() as number) @@ -5885,13 +6485,13 @@ export class Deserializer extends DeserializerBase { let value: CustomSpanDrawInfo = ({x: x_result, lineTop: lineTop_result, lineBottom: lineBottom_result, baseline: baseline_result} as CustomSpanDrawInfo) return value } - readCustomSpanMeasureInfo(): CustomSpanMeasureInfo { + public readCustomSpanMeasureInfo(): CustomSpanMeasureInfo { let valueDeserializer: Deserializer = this const fontSize_result: number = (valueDeserializer.readNumber() as number) let value: CustomSpanMeasureInfo = ({fontSize: fontSize_result} as CustomSpanMeasureInfo) return value } - readCustomSpanMetrics(): CustomSpanMetrics { + public readCustomSpanMetrics(): CustomSpanMetrics { let valueDeserializer: Deserializer = this const width_result: number = (valueDeserializer.readNumber() as number) const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -5904,7 +6504,7 @@ export class Deserializer extends DeserializerBase { let value: CustomSpanMetrics = ({width: width_result, height: height_result} as CustomSpanMetrics) return value } - readCutEvent(): CutEvent { + public readCutEvent(): CutEvent { let valueDeserializer: Deserializer = this const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) let preventDefault_buf: (() => void) | undefined|undefined @@ -5916,7 +6516,7 @@ export class Deserializer extends DeserializerBase { let value: CutEvent = ({preventDefault: preventDefault_result} as CutEvent) return value } - readDataPanelOptions(): DataPanelOptions { + public readDataPanelOptions(): DataPanelOptions { let valueDeserializer: Deserializer = this const values_buf_length: int32 = valueDeserializer.readInt32() let values_buf: Array = new Array(values_buf_length) @@ -5941,7 +6541,13 @@ export class Deserializer extends DeserializerBase { let value: DataPanelOptions = ({values: values_result, max: max_result, type: type_result} as DataPanelOptions) return value } - readDatePickerOptions(): DatePickerOptions { + public readDataSyncOptions(): DataSyncOptions { + let valueDeserializer: Deserializer = this + const _DataSyncOptionsStub_result: string = (valueDeserializer.readString() as string) + let value: DataSyncOptions = ({_DataSyncOptionsStub: _DataSyncOptionsStub_result} as DataSyncOptions) + return value + } + public readDatePickerOptions(): DatePickerOptions { let valueDeserializer: Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf: Date | undefined|undefined @@ -5964,10 +6570,17 @@ export class Deserializer extends DeserializerBase { selected_buf = new Date(valueDeserializer.readInt64()) } const selected_result: Date | undefined|undefined = selected_buf - let value: DatePickerOptions = ({start: start_result, end: end_result, selected: selected_result} as DatePickerOptions) + const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mode_buf: DatePickerMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) + { + mode_buf = valueDeserializer.readInt32() + } + const mode_result: DatePickerMode | undefined|undefined = mode_buf + let value: DatePickerOptions = ({start: start_result, end: end_result, selected: selected_result, mode: mode_result} as DatePickerOptions) return value } - readDatePickerResult(): DatePickerResult { + public readDatePickerResult(): DatePickerResult { let valueDeserializer: Deserializer = this const year_buf_runtimeType = (valueDeserializer.readInt8() as int32) let year_buf: number | undefined|undefined @@ -5993,7 +6606,26 @@ export class Deserializer extends DeserializerBase { let value: DatePickerResult = ({year: year_result, month: month_result, day: day_result} as DatePickerResult) return value } - readDateTimeOptions(): DateTimeOptions { + public readDateRange(): DateRange { + let valueDeserializer: Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: Date | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = new Date(valueDeserializer.readInt64()) + } + const start_result: Date | undefined|undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: Date | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = new Date(valueDeserializer.readInt64()) + } + const end_result: Date | undefined|undefined = end_buf + let value: DateRange = ({start: start_result, end: end_result} as DateRange) + return value + } + public readDateTimeOptions(): DateTimeOptions { let valueDeserializer: Deserializer = this const locale_buf_runtimeType = (valueDeserializer.readInt8() as int32) let locale_buf: string | undefined|undefined @@ -6131,7 +6763,7 @@ export class Deserializer extends DeserializerBase { let value: DateTimeOptions = ({locale: locale_result, dateStyle: dateStyle_result, timeStyle: timeStyle_result, hourCycle: hourCycle_result, timeZone: timeZone_result, numberingSystem: numberingSystem_result, hour12: hour12_result, weekday: weekday_result, era: era_result, year: year_result, month: month_result, day: day_result, hour: hour_result, minute: minute_result, second: second_result, timeZoneName: timeZoneName_result, dayPeriod: dayPeriod_result, localeMatcher: localeMatcher_result, formatMatcher: formatMatcher_result} as DateTimeOptions) return value } - readDeleteValue(): DeleteValue { + public readDeleteValue(): DeleteValue { let valueDeserializer: Deserializer = this const deleteOffset_result: number = (valueDeserializer.readNumber() as number) const direction_result: TextDeleteDirection = valueDeserializer.readInt32() @@ -6139,7 +6771,7 @@ export class Deserializer extends DeserializerBase { let value: DeleteValue = ({deleteOffset: deleteOffset_result, direction: direction_result, deleteValue: deleteValue_result} as DeleteValue) return value } - readDirectionalEdgesT(): DirectionalEdgesT { + public readDirectionalEdgesT(): DirectionalEdgesT { let valueDeserializer: Deserializer = this const start_result: number = (valueDeserializer.readNumber() as number) const end_result: number = (valueDeserializer.readNumber() as number) @@ -6148,40 +6780,40 @@ export class Deserializer extends DeserializerBase { let value: DirectionalEdgesT = ({start: start_result, end: end_result, top: top_result, bottom: bottom_result} as DirectionalEdgesT) return value } - readDisappearSymbolEffect(): DisappearSymbolEffect { + public readDisappearSymbolEffect(): DisappearSymbolEffect { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return DisappearSymbolEffectInternal.fromPtr(ptr) } - readDismissContentCoverAction(): DismissContentCoverAction { + public readDismissContentCoverAction(): DismissContentCoverAction { let valueDeserializer: Deserializer = this const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() const reason_result: DismissReason = valueDeserializer.readInt32() let value: DismissContentCoverAction = ({dismiss: dismiss_result, reason: reason_result} as DismissContentCoverAction) return value } - readDismissDialogAction(): DismissDialogAction { + public readDismissDialogAction(): DismissDialogAction { let valueDeserializer: Deserializer = this const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() const reason_result: DismissReason = valueDeserializer.readInt32() let value: DismissDialogAction = ({dismiss: dismiss_result, reason: reason_result} as DismissDialogAction) return value } - readDismissPopupAction(): DismissPopupAction { + public readDismissPopupAction(): DismissPopupAction { let valueDeserializer: Deserializer = this const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() const reason_result: DismissReason = valueDeserializer.readInt32() let value: DismissPopupAction = ({dismiss: dismiss_result, reason: reason_result} as DismissPopupAction) return value } - readDismissSheetAction(): DismissSheetAction { + public readDismissSheetAction(): DismissSheetAction { let valueDeserializer: Deserializer = this const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() const reason_result: DismissReason = valueDeserializer.readInt32() let value: DismissSheetAction = ({dismiss: dismiss_result, reason: reason_result} as DismissSheetAction) return value } - readDoubleAnimationParam(): DoubleAnimationParam { + public readDoubleAnimationParam(): DoubleAnimationParam { let valueDeserializer: Deserializer = this const propertyName_result: string = (valueDeserializer.readString() as string) const startValue_result: float32 = valueDeserializer.readFloat32() @@ -6220,7 +6852,7 @@ export class Deserializer extends DeserializerBase { let value: DoubleAnimationParam = ({propertyName: propertyName_result, startValue: startValue_result, endValue: endValue_result, duration: duration_result, delay: delay_result, curve: curve_result, onProgress: onProgress_result, onFinish: onFinish_result} as DoubleAnimationParam) return value } - readDragInteractionOptions(): DragInteractionOptions { + public readDragInteractionOptions(): DragInteractionOptions { let valueDeserializer: Deserializer = this const isMultiSelectionEnabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) let isMultiSelectionEnabled_buf: boolean | undefined|undefined @@ -6236,10 +6868,31 @@ export class Deserializer extends DeserializerBase { defaultAnimationBeforeLifting_buf = valueDeserializer.readBoolean() } const defaultAnimationBeforeLifting_result: boolean | undefined|undefined = defaultAnimationBeforeLifting_buf - let value: DragInteractionOptions = ({isMultiSelectionEnabled: isMultiSelectionEnabled_result, defaultAnimationBeforeLifting: defaultAnimationBeforeLifting_result} as DragInteractionOptions) + const enableEdgeAutoScroll_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableEdgeAutoScroll_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableEdgeAutoScroll_buf_runtimeType)) + { + enableEdgeAutoScroll_buf = valueDeserializer.readBoolean() + } + const enableEdgeAutoScroll_result: boolean | undefined|undefined = enableEdgeAutoScroll_buf + const enableHapticFeedback_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableHapticFeedback_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableHapticFeedback_buf_runtimeType)) + { + enableHapticFeedback_buf = valueDeserializer.readBoolean() + } + const enableHapticFeedback_result: boolean | undefined|undefined = enableHapticFeedback_buf + const isLiftingDisabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isLiftingDisabled_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (isLiftingDisabled_buf_runtimeType)) + { + isLiftingDisabled_buf = valueDeserializer.readBoolean() + } + const isLiftingDisabled_result: boolean | undefined|undefined = isLiftingDisabled_buf + let value: DragInteractionOptions = ({isMultiSelectionEnabled: isMultiSelectionEnabled_result, defaultAnimationBeforeLifting: defaultAnimationBeforeLifting_result, enableEdgeAutoScroll: enableEdgeAutoScroll_result, enableHapticFeedback: enableHapticFeedback_result, isLiftingDisabled: isLiftingDisabled_result} as DragInteractionOptions) return value } - readDragItemInfo(): DragItemInfo { + public readDragItemInfo(): DragItemInfo { let valueDeserializer: Deserializer = this const pixelMap_buf_runtimeType = (valueDeserializer.readInt8() as int32) let pixelMap_buf: PixelMap | undefined|undefined @@ -6265,7 +6918,7 @@ export class Deserializer extends DeserializerBase { let value: DragItemInfo = ({pixelMap: pixelMap_result, builder: builder_result, extraInfo: extraInfo_result} as DragItemInfo) return value } - readDrawContext(): DrawContext { + public readDrawContext(): DrawContext { let valueDeserializer: Deserializer = this const size_result: Size = valueDeserializer.readSize() const sizeInPixel_result: Size = valueDeserializer.readSize() @@ -6273,12 +6926,70 @@ export class Deserializer extends DeserializerBase { let value: DrawContext = ({size: size_result, sizeInPixel: sizeInPixel_result, canvas: canvas_result} as DrawContext) return value } - readDrawingRenderingContext(): DrawingRenderingContext { + public readDrawingRenderingContext(): DrawingRenderingContext { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return DrawingRenderingContextInternal.fromPtr(ptr) } - readEdgeStyles(): EdgeStyles { + public readDropOptions(): DropOptions { + let valueDeserializer: Deserializer = this + const disableDataPrefetch_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disableDataPrefetch_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (disableDataPrefetch_buf_runtimeType)) + { + disableDataPrefetch_buf = valueDeserializer.readBoolean() + } + const disableDataPrefetch_result: boolean | undefined|undefined = disableDataPrefetch_buf + let value: DropOptions = ({disableDataPrefetch: disableDataPrefetch_result} as DropOptions) + return value + } + public readEdgeEffectOptions(): EdgeEffectOptions { + let valueDeserializer: Deserializer = this + const alwaysEnabled_result: boolean = valueDeserializer.readBoolean() + const effectEdge_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let effectEdge_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (effectEdge_buf_runtimeType)) + { + effectEdge_buf = (valueDeserializer.readNumber() as number) + } + const effectEdge_result: number | undefined|undefined = effectEdge_buf + let value: EdgeEffectOptions = ({alwaysEnabled: alwaysEnabled_result, effectEdge: effectEdge_result} as EdgeEffectOptions) + return value + } + public readEdgeOutlineStyles(): EdgeOutlineStyles { + let valueDeserializer: Deserializer = this + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: OutlineStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + top_buf = valueDeserializer.readInt32() + } + const top_result: OutlineStyle | undefined|undefined = top_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf: OutlineStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) + { + right_buf = valueDeserializer.readInt32() + } + const right_result: OutlineStyle | undefined|undefined = right_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf: OutlineStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf = valueDeserializer.readInt32() + } + const bottom_result: OutlineStyle | undefined|undefined = bottom_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf: OutlineStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) + { + left_buf = valueDeserializer.readInt32() + } + const left_result: OutlineStyle | undefined|undefined = left_buf + let value: EdgeOutlineStyles = ({top: top_result, right: right_result, bottom: bottom_result, left: left_result} as EdgeOutlineStyles) + return value + } + public readEdgeStyles(): EdgeStyles { let valueDeserializer: Deserializer = this const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) let top_buf: BorderStyle | undefined|undefined @@ -6311,14 +7022,14 @@ export class Deserializer extends DeserializerBase { let value: EdgeStyles = ({top: top_result, right: right_result, bottom: bottom_result, left: left_result} as EdgeStyles) return value } - readEditMenuOptions(): EditMenuOptions { + public readEditMenuOptions(): EditMenuOptions { let valueDeserializer: Deserializer = this const onCreateMenu_result: ((menuItems: Array) => Array) = valueDeserializer.readAsyncCallback_Array_TextMenuItem_Array_TextMenuItem() const onMenuItemClick_result: ((menuItem: TextMenuItem, range: TextRange) => boolean) = valueDeserializer.readAsyncCallback_TextMenuItem_TextRange_Boolean() let value: EditMenuOptions = ({onCreateMenu: onCreateMenu_result, onMenuItemClick: onMenuItemClick_result} as EditMenuOptions) return value } - readEllipseOptions(): EllipseOptions { + public readEllipseOptions(): EllipseOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf: string | number | undefined|undefined @@ -6359,7 +7070,19 @@ export class Deserializer extends DeserializerBase { let value: EllipseOptions = ({width: width_result, height: height_result} as EllipseOptions) return value } - readErrorEvent(): ErrorEvent { + public readEmbedOptions(): EmbedOptions { + let valueDeserializer: Deserializer = this + const supportDefaultIntrinsicSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let supportDefaultIntrinsicSize_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (supportDefaultIntrinsicSize_buf_runtimeType)) + { + supportDefaultIntrinsicSize_buf = valueDeserializer.readBoolean() + } + const supportDefaultIntrinsicSize_result: boolean | undefined|undefined = supportDefaultIntrinsicSize_buf + let value: EmbedOptions = ({supportDefaultIntrinsicSize: supportDefaultIntrinsicSize_result} as EmbedOptions) + return value + } + public readErrorEvent(): ErrorEvent { let valueDeserializer: Deserializer = this const type_result: string = (valueDeserializer.readString() as string) const timeStamp_result: number = valueDeserializer.readInt64() @@ -6371,14 +7094,14 @@ export class Deserializer extends DeserializerBase { let value: ErrorEvent = ({type: type_result, timeStamp: timeStamp_result, message: message_result, filename: filename_result, lineno: lineno_result, colno: colno_result, error: error_result} as ErrorEvent) return value } - readEvent(): Event { + public readEvent(): Event { let valueDeserializer: Deserializer = this const type_result: string = (valueDeserializer.readString() as string) const timeStamp_result: number = valueDeserializer.readInt64() let value: Event = ({type: type_result, timeStamp: timeStamp_result} as Event) return value } - readExpectedFrameRateRange(): ExpectedFrameRateRange { + public readExpectedFrameRateRange(): ExpectedFrameRateRange { let valueDeserializer: Deserializer = this const min_result: number = (valueDeserializer.readNumber() as number) const max_result: number = (valueDeserializer.readNumber() as number) @@ -6386,7 +7109,7 @@ export class Deserializer extends DeserializerBase { let value: ExpectedFrameRateRange = ({min: min_result, max: max_result, expected: expected_result} as ExpectedFrameRateRange) return value } - readFingerInfo(): FingerInfo { + public readFingerInfo(): FingerInfo { let valueDeserializer: Deserializer = this const id_result: number = (valueDeserializer.readNumber() as number) const globalX_result: number = (valueDeserializer.readNumber() as number) @@ -6395,10 +7118,17 @@ export class Deserializer extends DeserializerBase { const localY_result: number = (valueDeserializer.readNumber() as number) const displayX_result: number = (valueDeserializer.readNumber() as number) const displayY_result: number = (valueDeserializer.readNumber() as number) - let value: FingerInfo = ({id: id_result, globalX: globalX_result, globalY: globalY_result, localX: localX_result, localY: localY_result, displayX: displayX_result, displayY: displayY_result} as FingerInfo) + const hand_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hand_buf: InteractionHand | undefined|undefined + if ((RuntimeType.UNDEFINED) != (hand_buf_runtimeType)) + { + hand_buf = valueDeserializer.readInt32() + } + const hand_result: InteractionHand | undefined|undefined = hand_buf + let value: FingerInfo = ({id: id_result, globalX: globalX_result, globalY: globalY_result, localX: localX_result, localY: localY_result, displayX: displayX_result, displayY: displayY_result, hand: hand_result} as FingerInfo) return value } - readFirstMeaningfulPaint(): FirstMeaningfulPaint { + public readFirstMeaningfulPaint(): FirstMeaningfulPaint { let valueDeserializer: Deserializer = this const navigationStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) let navigationStartTime_buf: number | undefined|undefined @@ -6417,7 +7147,54 @@ export class Deserializer extends DeserializerBase { let value: FirstMeaningfulPaint = ({navigationStartTime: navigationStartTime_result, firstMeaningfulPaintTime: firstMeaningfulPaintTime_result} as FirstMeaningfulPaint) return value } - readFolderStackOptions(): FolderStackOptions { + public readFocusMovement(): FocusMovement { + let valueDeserializer: Deserializer = this + const forward_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let forward_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (forward_buf_runtimeType)) + { + forward_buf = (valueDeserializer.readString() as string) + } + const forward_result: string | undefined|undefined = forward_buf + const backward_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backward_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backward_buf_runtimeType)) + { + backward_buf = (valueDeserializer.readString() as string) + } + const backward_result: string | undefined|undefined = backward_buf + const up_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let up_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (up_buf_runtimeType)) + { + up_buf = (valueDeserializer.readString() as string) + } + const up_result: string | undefined|undefined = up_buf + const down_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let down_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (down_buf_runtimeType)) + { + down_buf = (valueDeserializer.readString() as string) + } + const down_result: string | undefined|undefined = down_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) + { + left_buf = (valueDeserializer.readString() as string) + } + const left_result: string | undefined|undefined = left_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) + { + right_buf = (valueDeserializer.readString() as string) + } + const right_result: string | undefined|undefined = right_buf + let value: FocusMovement = ({forward: forward_result, backward: backward_result, up: up_result, down: down_result, left: left_result, right: right_result} as FocusMovement) + return value + } + public readFolderStackOptions(): FolderStackOptions { let valueDeserializer: Deserializer = this const upperItems_buf_runtimeType = (valueDeserializer.readInt8() as int32) let upperItems_buf: Array | undefined|undefined @@ -6434,14 +7211,14 @@ export class Deserializer extends DeserializerBase { let value: FolderStackOptions = ({upperItems: upperItems_result} as FolderStackOptions) return value } - readFontFeature(): FontFeature { + public readFontFeature(): FontFeature { let valueDeserializer: Deserializer = this const name_result: string = (valueDeserializer.readString() as string) const value_result: number = (valueDeserializer.readNumber() as number) let value: FontFeature = ({name: name_result, value: value_result} as FontFeature) return value } - readFontInfo(): FontInfo { + public readFontInfo(): FontInfo { let valueDeserializer: Deserializer = this const path_result: string = (valueDeserializer.readString() as string) const postScriptName_result: string = (valueDeserializer.readString() as string) @@ -6456,7 +7233,7 @@ export class Deserializer extends DeserializerBase { let value: FontInfo = ({path: path_result, postScriptName: postScriptName_result, fullName: fullName_result, family: family_result, subfamily: subfamily_result, weight: weight_result, width: width_result, italic: italic_result, monoSpace: monoSpace_result, symbolic: symbolic_result} as FontInfo) return value } - readFontMetrics(): FontMetrics { + public readFontMetrics(): FontMetrics { let valueDeserializer: Deserializer = this const flags_buf_runtimeType = (valueDeserializer.readInt8() as int32) let flags_buf: FontMetricsFlags | undefined|undefined @@ -6543,7 +7320,7 @@ export class Deserializer extends DeserializerBase { let value: FontMetrics = ({flags: flags_result, top: top_result, ascent: ascent_result, descent: descent_result, bottom: bottom_result, leading: leading_result, avgCharWidth: avgCharWidth_result, maxCharWidth: maxCharWidth_result, xMin: xMin_result, xMax: xMax_result, xHeight: xHeight_result, capHeight: capHeight_result, underlineThickness: underlineThickness_result, underlinePosition: underlinePosition_result, strikethroughThickness: strikethroughThickness_result, strikethroughPosition: strikethroughPosition_result} as FontMetrics) return value } - readFontSettingOptions(): FontSettingOptions { + public readFontSettingOptions(): FontSettingOptions { let valueDeserializer: Deserializer = this const enableVariableFontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) let enableVariableFontWeight_buf: boolean | undefined|undefined @@ -6555,27 +7332,27 @@ export class Deserializer extends DeserializerBase { let value: FontSettingOptions = ({enableVariableFontWeight: enableVariableFontWeight_result} as FontSettingOptions) return value } - readFontVariation(): FontVariation { + public readFontVariation(): FontVariation { let valueDeserializer: Deserializer = this const axis_result: string = (valueDeserializer.readString() as string) const value_result: number = (valueDeserializer.readNumber() as number) let value: FontVariation = ({axis: axis_result, value: value_result} as FontVariation) return value } - readForegroundEffectOptions(): ForegroundEffectOptions { + public readForegroundEffectOptions(): ForegroundEffectOptions { let valueDeserializer: Deserializer = this const radius_result: number = (valueDeserializer.readNumber() as number) let value: ForegroundEffectOptions = ({radius: radius_result} as ForegroundEffectOptions) return value } - readFormCallbackInfo(): FormCallbackInfo { + public readFormCallbackInfo(): FormCallbackInfo { let valueDeserializer: Deserializer = this const id_result: number = valueDeserializer.readInt64() const idString_result: string = (valueDeserializer.readString() as string) let value: FormCallbackInfo = ({id: id_result, idString: idString_result} as FormCallbackInfo) return value } - readFormLinkOptions(): FormLinkOptions { + public readFormLinkOptions(): FormLinkOptions { let valueDeserializer: Deserializer = this const action_result: string = (valueDeserializer.readString() as string) const moduleName_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -6616,7 +7393,7 @@ export class Deserializer extends DeserializerBase { let value: FormLinkOptions = ({action: action_result, moduleName: moduleName_result, bundleName: bundleName_result, abilityName: abilityName_result, uri: uri_result, params: params_result} as FormLinkOptions) return value } - readFrame(): Frame { + public readFrame(): Frame { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) const y_result: number = (valueDeserializer.readNumber() as number) @@ -6625,7 +7402,7 @@ export class Deserializer extends DeserializerBase { let value: Frame = ({x: x_result, y: y_result, width: width_result, height: height_result} as Frame) return value } - readFullScreenEnterEvent(): FullScreenEnterEvent { + public readFullScreenEnterEvent(): FullScreenEnterEvent { let valueDeserializer: Deserializer = this const handler_result: FullScreenExitHandler = (valueDeserializer.readFullScreenExitHandler() as FullScreenExitHandler) const videoWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -6645,7 +7422,7 @@ export class Deserializer extends DeserializerBase { let value: FullScreenEnterEvent = ({handler: handler_result, videoWidth: videoWidth_result, videoHeight: videoHeight_result} as FullScreenEnterEvent) return value } - readGaugeOptions(): GaugeOptions { + public readGaugeOptions(): GaugeOptions { let valueDeserializer: Deserializer = this const value_result: number = (valueDeserializer.readNumber() as number) const min_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -6665,7 +7442,7 @@ export class Deserializer extends DeserializerBase { let value: GaugeOptions = ({value: value_result, min: min_result, max: max_result} as GaugeOptions) return value } - readGeometryTransitionOptions(): GeometryTransitionOptions { + public readGeometryTransitionOptions(): GeometryTransitionOptions { let valueDeserializer: Deserializer = this const follow_buf_runtimeType = (valueDeserializer.readInt8() as int32) let follow_buf: boolean | undefined|undefined @@ -6684,7 +7461,7 @@ export class Deserializer extends DeserializerBase { let value: GeometryTransitionOptions = ({follow: follow_result, hierarchyStrategy: hierarchyStrategy_result} as GeometryTransitionOptions) return value } - readGestureInfo(): GestureInfo { + public readGestureInfo(): GestureInfo { let valueDeserializer: Deserializer = this const tag_buf_runtimeType = (valueDeserializer.readInt8() as int32) let tag_buf: string | undefined|undefined @@ -6698,7 +7475,7 @@ export class Deserializer extends DeserializerBase { let value: GestureInfo = ({tag: tag_result, type: type_result, isSystemGesture: isSystemGesture_result} as GestureInfo) return value } - readGestureStyleInterface(): GestureStyleInterface { + public readGestureStyleInterface(): GestureStyleInterface { let valueDeserializer: Deserializer = this const onClick_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onClick_buf: ((event: ClickEvent) => void) | undefined|undefined @@ -6717,7 +7494,7 @@ export class Deserializer extends DeserializerBase { let value: GestureStyleInterface = ({onClick: onClick_result, onLongPress: onLongPress_result} as GestureStyleInterface) return value } - readGridColColumnOption(): GridColColumnOption { + public readGridColColumnOption(): GridColColumnOption { let valueDeserializer: Deserializer = this const xs_buf_runtimeType = (valueDeserializer.readInt8() as int32) let xs_buf: number | undefined|undefined @@ -6764,7 +7541,7 @@ export class Deserializer extends DeserializerBase { let value: GridColColumnOption = ({xs: xs_result, sm: sm_result, md: md_result, lg: lg_result, xl: xl_result, xxl: xxl_result} as GridColColumnOption) return value } - readGridContainerOptions(): GridContainerOptions { + public readGridContainerOptions(): GridContainerOptions { let valueDeserializer: Deserializer = this const columns_buf_runtimeType = (valueDeserializer.readInt8() as int32) let columns_buf: number | string | undefined|undefined @@ -6830,7 +7607,7 @@ export class Deserializer extends DeserializerBase { let value: GridContainerOptions = ({columns: columns_result, sizeType: sizeType_result, gutter: gutter_result, margin: margin_result} as GridContainerOptions) return value } - readGridItemOptions(): GridItemOptions { + public readGridItemOptions(): GridItemOptions { let valueDeserializer: Deserializer = this const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) let style_buf: GridItemStyle | undefined|undefined @@ -6842,7 +7619,7 @@ export class Deserializer extends DeserializerBase { let value: GridItemOptions = ({style: style_result} as GridItemOptions) return value } - readGridLayoutOptions(): GridLayoutOptions { + public readGridLayoutOptions(): GridLayoutOptions { let valueDeserializer: Deserializer = this const regularSize_buf_value0: number = (valueDeserializer.readNumber() as number) const regularSize_buf_value1: number = (valueDeserializer.readNumber() as number) @@ -6876,7 +7653,7 @@ export class Deserializer extends DeserializerBase { let value: GridLayoutOptions = ({regularSize: regularSize_result, irregularIndexes: irregularIndexes_result, onGetIrregularSizeByIndex: onGetIrregularSizeByIndex_result, onGetRectByIndex: onGetRectByIndex_result} as GridLayoutOptions) return value } - readGridRowColumnOption(): GridRowColumnOption { + public readGridRowColumnOption(): GridRowColumnOption { let valueDeserializer: Deserializer = this const xs_buf_runtimeType = (valueDeserializer.readInt8() as int32) let xs_buf: number | undefined|undefined @@ -6923,19 +7700,19 @@ export class Deserializer extends DeserializerBase { let value: GridRowColumnOption = ({xs: xs_result, sm: sm_result, md: md_result, lg: lg_result, xl: xl_result, xxl: xxl_result} as GridRowColumnOption) return value } - readHeader(): Header { + public readHeader(): Header { let valueDeserializer: Deserializer = this const headerKey_result: string = (valueDeserializer.readString() as string) const headerValue_result: string = (valueDeserializer.readString() as string) let value: Header = ({headerKey: headerKey_result, headerValue: headerValue_result} as Header) return value } - readHierarchicalSymbolEffect(): HierarchicalSymbolEffect { + public readHierarchicalSymbolEffect(): HierarchicalSymbolEffect { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return HierarchicalSymbolEffectInternal.fromPtr(ptr) } - readHoverEventParam(): HoverEventParam { + public readHoverEventParam(): HoverEventParam { let valueDeserializer: Deserializer = this const foldStatus_result: FoldStatus = valueDeserializer.readInt32() const isHoverMode_result: boolean = valueDeserializer.readBoolean() @@ -6944,7 +7721,7 @@ export class Deserializer extends DeserializerBase { let value: HoverEventParam = ({foldStatus: foldStatus_result, isHoverMode: isHoverMode_result, appRotation: appRotation_result, windowStatusType: windowStatusType_result} as HoverEventParam) return value } - readImageAIOptions(): ImageAIOptions { + public readImageAIOptions(): ImageAIOptions { let valueDeserializer: Deserializer = this const types_buf_runtimeType = (valueDeserializer.readInt8() as int32) let types_buf: Array | undefined|undefined @@ -6968,7 +7745,7 @@ export class Deserializer extends DeserializerBase { let value: ImageAIOptions = ({types: types_result, aiController: aiController_result} as ImageAIOptions) return value } - readImageAnalyzerConfig(): ImageAnalyzerConfig { + public readImageAnalyzerConfig(): ImageAnalyzerConfig { let valueDeserializer: Deserializer = this const types_buf_length: int32 = valueDeserializer.readInt32() let types_buf: Array = new Array(types_buf_length) @@ -6979,17 +7756,17 @@ export class Deserializer extends DeserializerBase { let value: ImageAnalyzerConfig = ({types: types_result} as ImageAnalyzerConfig) return value } - readImageBitmap(): ImageBitmap { + public readImageBitmap(): ImageBitmap { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ImageBitmapInternal.fromPtr(ptr) } - readImageData(): ImageData { + public readImageData(): ImageData { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ImageDataInternal.fromPtr(ptr) } - readImageError(): ImageError { + public readImageError(): ImageError { let valueDeserializer: Deserializer = this const componentWidth_result: number = (valueDeserializer.readNumber() as number) const componentHeight_result: number = (valueDeserializer.readNumber() as number) @@ -6997,7 +7774,7 @@ export class Deserializer extends DeserializerBase { let value: ImageError = ({componentWidth: componentWidth_result, componentHeight: componentHeight_result, message: message_result} as ImageError) return value } - readImageLoadResult(): ImageLoadResult { + public readImageLoadResult(): ImageLoadResult { let valueDeserializer: Deserializer = this const width_result: number = (valueDeserializer.readNumber() as number) const height_result: number = (valueDeserializer.readNumber() as number) @@ -7011,14 +7788,20 @@ export class Deserializer extends DeserializerBase { let value: ImageLoadResult = ({width: width_result, height: height_result, componentWidth: componentWidth_result, componentHeight: componentHeight_result, loadingStatus: loadingStatus_result, contentWidth: contentWidth_result, contentHeight: contentHeight_result, contentOffsetX: contentOffsetX_result, contentOffsetY: contentOffsetY_result} as ImageLoadResult) return value } - readImageSourceSize(): ImageSourceSize { + public readImageSourceSize(): ImageSourceSize { let valueDeserializer: Deserializer = this const width_result: number = (valueDeserializer.readNumber() as number) const height_result: number = (valueDeserializer.readNumber() as number) let value: ImageSourceSize = ({width: width_result, height: height_result} as ImageSourceSize) return value } - readInputCounterOptions(): InputCounterOptions { + public readImmersiveMode(): ImmersiveMode { + let valueDeserializer: Deserializer = this + const _ImmersiveModeStub_result: string = (valueDeserializer.readString() as string) + let value: ImmersiveMode = ({_ImmersiveModeStub: _ImmersiveModeStub_result} as ImmersiveMode) + return value + } + public readInputCounterOptions(): InputCounterOptions { let valueDeserializer: Deserializer = this const thresholdPercentage_buf_runtimeType = (valueDeserializer.readInt8() as int32) let thresholdPercentage_buf: number | undefined|undefined @@ -7037,21 +7820,21 @@ export class Deserializer extends DeserializerBase { let value: InputCounterOptions = ({thresholdPercentage: thresholdPercentage_result, highlightBorder: highlightBorder_result} as InputCounterOptions) return value } - readInsertValue(): InsertValue { + public readInsertValue(): InsertValue { let valueDeserializer: Deserializer = this const insertOffset_result: number = (valueDeserializer.readNumber() as number) const insertValue_result: string = (valueDeserializer.readString() as string) let value: InsertValue = ({insertOffset: insertOffset_result, insertValue: insertValue_result} as InsertValue) return value } - readIntelligentTrackingPreventionDetails(): IntelligentTrackingPreventionDetails { + public readIntelligentTrackingPreventionDetails(): IntelligentTrackingPreventionDetails { let valueDeserializer: Deserializer = this const host_result: string = (valueDeserializer.readString() as string) const trackerHost_result: string = (valueDeserializer.readString() as string) let value: IntelligentTrackingPreventionDetails = ({host: host_result, trackerHost: trackerHost_result} as IntelligentTrackingPreventionDetails) return value } - readInvertOptions(): InvertOptions { + public readInvertOptions(): InvertOptions { let valueDeserializer: Deserializer = this const low_result: number = (valueDeserializer.readNumber() as number) const high_result: number = (valueDeserializer.readNumber() as number) @@ -7060,14 +7843,14 @@ export class Deserializer extends DeserializerBase { let value: InvertOptions = ({low: low_result, high: high_result, threshold: threshold_result, thresholdRange: thresholdRange_result} as InvertOptions) return value } - readItemDragInfo(): ItemDragInfo { + public readItemDragInfo(): ItemDragInfo { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) const y_result: number = (valueDeserializer.readNumber() as number) let value: ItemDragInfo = ({x: x_result, y: y_result} as ItemDragInfo) return value } - readKeyboardOptions(): KeyboardOptions { + public readKeyboardOptions(): KeyboardOptions { let valueDeserializer: Deserializer = this const supportAvoidance_buf_runtimeType = (valueDeserializer.readInt8() as int32) let supportAvoidance_buf: boolean | undefined|undefined @@ -7079,12 +7862,12 @@ export class Deserializer extends DeserializerBase { let value: KeyboardOptions = ({supportAvoidance: supportAvoidance_result} as KeyboardOptions) return value } - readKeyEvent(): KeyEvent { + public readKeyEvent(): KeyEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return KeyEventInternal.fromPtr(ptr) } - readLargestContentfulPaint(): LargestContentfulPaint { + public readLargestContentfulPaint(): LargestContentfulPaint { let valueDeserializer: Deserializer = this const navigationStartTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) let navigationStartTime_buf: number | undefined|undefined @@ -7131,17 +7914,29 @@ export class Deserializer extends DeserializerBase { let value: LargestContentfulPaint = ({navigationStartTime: navigationStartTime_result, largestImagePaintTime: largestImagePaintTime_result, largestTextPaintTime: largestTextPaintTime_result, imageBPP: imageBPP_result, largestImageLoadStartTime: largestImageLoadStartTime_result, largestImageLoadEndTime: largestImageLoadEndTime_result} as LargestContentfulPaint) return value } - readLengthMetrics(): LengthMetrics { + public readLengthMetrics(): LengthMetrics { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return LengthMetricsInternal.fromPtr(ptr) } - readLetterSpacingStyle(): LetterSpacingStyle { + public readLetterSpacingStyle(): LetterSpacingStyle { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return LetterSpacingStyleInternal.fromPtr(ptr) } - readLinearGradient_common(): LinearGradient_common { + public readLevelMode(): LevelMode { + let valueDeserializer: Deserializer = this + const _LevelModeStub_result: string = (valueDeserializer.readString() as string) + let value: LevelMode = ({_LevelModeStub: _LevelModeStub_result} as LevelMode) + return value + } + public readLevelOrder(): LevelOrder { + let valueDeserializer: Deserializer = this + const _LevelOrderStub_result: string = (valueDeserializer.readString() as string) + let value: LevelOrder = ({_LevelOrderStub: _LevelOrderStub_result} as LevelOrder) + return value + } + public readLinearGradient_common(): LinearGradient_common { let valueDeserializer: Deserializer = this const angle_buf_runtimeType = (valueDeserializer.readInt8() as int32) let angle_buf: number | string | undefined|undefined @@ -7203,7 +7998,7 @@ export class Deserializer extends DeserializerBase { let value: LinearGradient_common = ({angle: angle_result, direction: direction_result, colors: colors_result, repeating: repeating_result} as LinearGradient_common) return value } - readLinearGradientBlurOptions(): LinearGradientBlurOptions { + public readLinearGradientBlurOptions(): LinearGradientBlurOptions { let valueDeserializer: Deserializer = this const fractionStops_buf_length: int32 = valueDeserializer.readInt32() let fractionStops_buf: Array = new Array(fractionStops_buf_length) @@ -7217,7 +8012,69 @@ export class Deserializer extends DeserializerBase { let value: LinearGradientBlurOptions = ({fractionStops: fractionStops_result, direction: direction_result} as LinearGradientBlurOptions) return value } - readLinearIndicatorStartOptions(): LinearIndicatorStartOptions { + public readLinearGradientOptions(): LinearGradientOptions { + let valueDeserializer: Deserializer = this + const angle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let angle_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (angle_buf_runtimeType)) + { + const angle_buf__selector: number = valueDeserializer.readInt8() + let angle_buf_: number | string | undefined|undefined + if (angle_buf__selector == 0) { + angle_buf_ = (valueDeserializer.readNumber() as number) + } + else if (angle_buf__selector == 1) { + angle_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for angle_buf_ has to be chosen through deserialisation.") + } + angle_buf = (angle_buf_ as number | string) + } + const angle_result: number | string | undefined|undefined = angle_buf + const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let direction_buf: GradientDirection | undefined|undefined + if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf = valueDeserializer.readInt32() + } + const direction_result: GradientDirection | undefined|undefined = direction_buf + const colors_buf_length: int32 = valueDeserializer.readInt32() + let colors_buf: Array<[ ResourceColor, number ]> = new Array<[ ResourceColor, number ]>(colors_buf_length) + for (let colors_buf_i = 0; colors_buf_i < colors_buf_length; colors_buf_i++) { + const colors_buf_buf_value0_buf_selector: number = valueDeserializer.readInt8() + let colors_buf_buf_value0_buf: Color | number | string | Resource | undefined|undefined + if (colors_buf_buf_value0_buf_selector == 0) { + colors_buf_buf_value0_buf = valueDeserializer.readInt32() + } + else if (colors_buf_buf_value0_buf_selector == 1) { + colors_buf_buf_value0_buf = (valueDeserializer.readNumber() as number) + } + else if (colors_buf_buf_value0_buf_selector == 2) { + colors_buf_buf_value0_buf = (valueDeserializer.readString() as string) + } + else if (colors_buf_buf_value0_buf_selector == 3) { + colors_buf_buf_value0_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for colors_buf_buf_value0_buf has to be chosen through deserialisation.") + } + const colors_buf_buf_value0: ResourceColor = (colors_buf_buf_value0_buf as Color | number | string | Resource) + const colors_buf_buf_value1: number = (valueDeserializer.readNumber() as number) + colors_buf[colors_buf_i] = ([colors_buf_buf_value0, colors_buf_buf_value1] as [ ResourceColor, number ]) + } + const colors_result: Array<[ ResourceColor, number ]> = colors_buf + const repeating_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let repeating_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (repeating_buf_runtimeType)) + { + repeating_buf = valueDeserializer.readBoolean() + } + const repeating_result: boolean | undefined|undefined = repeating_buf + let value: LinearGradientOptions = ({angle: angle_result, direction: direction_result, colors: colors_result, repeating: repeating_result} as LinearGradientOptions) + return value + } + public readLinearIndicatorStartOptions(): LinearIndicatorStartOptions { let valueDeserializer: Deserializer = this const interval_buf_runtimeType = (valueDeserializer.readInt8() as int32) let interval_buf: number | undefined|undefined @@ -7236,12 +8093,12 @@ export class Deserializer extends DeserializerBase { let value: LinearIndicatorStartOptions = ({interval: interval_result, duration: duration_result} as LinearIndicatorStartOptions) return value } - readLineHeightStyle(): LineHeightStyle { + public readLineHeightStyle(): LineHeightStyle { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return LineHeightStyleInternal.fromPtr(ptr) } - readLineMetrics(): LineMetrics { + public readLineMetrics(): LineMetrics { let valueDeserializer: Deserializer = this const startIndex_result: number = (valueDeserializer.readNumber() as number) const endIndex_result: number = (valueDeserializer.readNumber() as number) @@ -7265,7 +8122,7 @@ export class Deserializer extends DeserializerBase { let value: LineMetrics = ({startIndex: startIndex_result, endIndex: endIndex_result, ascent: ascent_result, descent: descent_result, height: height_result, width: width_result, left: left_result, baseline: baseline_result, lineNumber: lineNumber_result, topHeight: topHeight_result, runMetrics: runMetrics_result} as LineMetrics) return value } - readLineOptions(): LineOptions { + public readLineOptions(): LineOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf: string | number | undefined|undefined @@ -7306,7 +8163,7 @@ export class Deserializer extends DeserializerBase { let value: LineOptions = ({width: width_result, height: height_result} as LineOptions) return value } - readListItemGroupOptions(): ListItemGroupOptions { + public readListItemGroupOptions(): ListItemGroupOptions { let valueDeserializer: Deserializer = this const header_buf_runtimeType = (valueDeserializer.readInt8() as int32) let header_buf: CustomBuilder | undefined|undefined @@ -7364,7 +8221,7 @@ export class Deserializer extends DeserializerBase { let value: ListItemGroupOptions = ({header: header_result, headerComponent: headerComponent_result, footer: footer_result, footerComponent: footerComponent_result, space: space_result, style: style_result} as ListItemGroupOptions) return value } - readListItemOptions(): ListItemOptions { + public readListItemOptions(): ListItemOptions { let valueDeserializer: Deserializer = this const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) let style_buf: ListItemStyle | undefined|undefined @@ -7376,7 +8233,7 @@ export class Deserializer extends DeserializerBase { let value: ListItemOptions = ({style: style_result} as ListItemOptions) return value } - readListOptions(): ListOptions { + public readListOptions(): ListOptions { let valueDeserializer: Deserializer = this const initialIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) let initialIndex_buf: number | undefined|undefined @@ -7413,7 +8270,7 @@ export class Deserializer extends DeserializerBase { let value: ListOptions = ({initialIndex: initialIndex_result, space: space_result, scroller: scroller_result} as ListOptions) return value } - readLoadCommittedDetails(): LoadCommittedDetails { + public readLoadCommittedDetails(): LoadCommittedDetails { let valueDeserializer: Deserializer = this const isMainFrame_result: boolean = valueDeserializer.readBoolean() const isSameDocument_result: boolean = valueDeserializer.readBoolean() @@ -7423,7 +8280,7 @@ export class Deserializer extends DeserializerBase { let value: LoadCommittedDetails = ({isMainFrame: isMainFrame_result, isSameDocument: isSameDocument_result, didReplaceEntry: didReplaceEntry_result, navigationType: navigationType_result, url: url_result} as LoadCommittedDetails) return value } - readLocalizedBarrierStyle(): LocalizedBarrierStyle { + public readLocalizedBarrierStyle(): LocalizedBarrierStyle { let valueDeserializer: Deserializer = this const id_result: string = (valueDeserializer.readString() as string) const localizedDirection_result: LocalizedBarrierDirection = valueDeserializer.readInt32() @@ -7436,21 +8293,21 @@ export class Deserializer extends DeserializerBase { let value: LocalizedBarrierStyle = ({id: id_result, localizedDirection: localizedDirection_result, referencedId: referencedId_result} as LocalizedBarrierStyle) return value } - readLocalizedHorizontalAlignParam(): LocalizedHorizontalAlignParam { + public readLocalizedHorizontalAlignParam(): LocalizedHorizontalAlignParam { let valueDeserializer: Deserializer = this const anchor_result: string = (valueDeserializer.readString() as string) const align_result: HorizontalAlign = valueDeserializer.readInt32() let value: LocalizedHorizontalAlignParam = ({anchor: anchor_result, align: align_result} as LocalizedHorizontalAlignParam) return value } - readLocalizedVerticalAlignParam(): LocalizedVerticalAlignParam { + public readLocalizedVerticalAlignParam(): LocalizedVerticalAlignParam { let valueDeserializer: Deserializer = this const anchor_result: string = (valueDeserializer.readString() as string) const align_result: VerticalAlign = valueDeserializer.readInt32() let value: LocalizedVerticalAlignParam = ({anchor: anchor_result, align: align_result} as LocalizedVerticalAlignParam) return value } - readLocationButtonOptions(): LocationButtonOptions { + public readLocationButtonOptions(): LocationButtonOptions { let valueDeserializer: Deserializer = this const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) let icon_buf: LocationIconStyle | undefined|undefined @@ -7476,7 +8333,40 @@ export class Deserializer extends DeserializerBase { let value: LocationButtonOptions = ({icon: icon_result, text: text_result, buttonType: buttonType_result} as LocationButtonOptions) return value } - readMarqueeOptions(): MarqueeOptions { + public readLongPressGestureHandlerOptions(): LongPressGestureHandlerOptions { + let valueDeserializer: Deserializer = this + const isFingerCountLimited_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isFingerCountLimited_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) + { + isFingerCountLimited_buf = valueDeserializer.readBoolean() + } + const isFingerCountLimited_result: boolean | undefined|undefined = isFingerCountLimited_buf + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result: number | undefined|undefined = fingers_buf + const repeat_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let repeat_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (repeat_buf_runtimeType)) + { + repeat_buf = valueDeserializer.readBoolean() + } + const repeat_result: boolean | undefined|undefined = repeat_buf + const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let duration_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf = (valueDeserializer.readNumber() as number) + } + const duration_result: number | undefined|undefined = duration_buf + let value: LongPressGestureHandlerOptions = ({isFingerCountLimited: isFingerCountLimited_result, fingers: fingers_result, repeat: repeat_result, duration: duration_result} as LongPressGestureHandlerOptions) + return value + } + public readMarqueeOptions(): MarqueeOptions { let valueDeserializer: Deserializer = this const start_result: boolean = valueDeserializer.readBoolean() const step_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -7504,19 +8394,24 @@ export class Deserializer extends DeserializerBase { let value: MarqueeOptions = ({start: start_result, step: step_result, loop: loop_result, fromStart: fromStart_result, src: src_result} as MarqueeOptions) return value } - readMatrix2D(): Matrix2D { + public readMatrix2D(): Matrix2D { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return Matrix2DInternal.fromPtr(ptr) } - readMeasureResult(): MeasureResult { + public readMeasurable(): Measurable { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return MeasurableInternal.fromPtr(ptr) + } + public readMeasureResult(): MeasureResult { let valueDeserializer: Deserializer = this const width_result: number = (valueDeserializer.readNumber() as number) const height_result: number = (valueDeserializer.readNumber() as number) let value: MeasureResult = ({width: width_result, height: height_result} as MeasureResult) return value } - readMessageEvents(): MessageEvents { + public readMessageEvents(): MessageEvents { let valueDeserializer: Deserializer = this const type_result: string = (valueDeserializer.readString() as string) const timeStamp_result: number = valueDeserializer.readInt64() @@ -7524,7 +8419,7 @@ export class Deserializer extends DeserializerBase { let value: MessageEvents = ({type: type_result, timeStamp: timeStamp_result, data: data_result} as MessageEvents) return value } - readMonthData(): MonthData { + public readMonthData(): MonthData { let valueDeserializer: Deserializer = this const year_result: number = (valueDeserializer.readNumber() as number) const month_result: number = (valueDeserializer.readNumber() as number) @@ -7537,21 +8432,21 @@ export class Deserializer extends DeserializerBase { let value: MonthData = ({year: year_result, month: month_result, data: data_result} as MonthData) return value } - readMotionBlurAnchor(): MotionBlurAnchor { + public readMotionBlurAnchor(): MotionBlurAnchor { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) const y_result: number = (valueDeserializer.readNumber() as number) let value: MotionBlurAnchor = ({x: x_result, y: y_result} as MotionBlurAnchor) return value } - readMotionBlurOptions(): MotionBlurOptions { + public readMotionBlurOptions(): MotionBlurOptions { let valueDeserializer: Deserializer = this const radius_result: number = (valueDeserializer.readNumber() as number) const anchor_result: MotionBlurAnchor = valueDeserializer.readMotionBlurAnchor() let value: MotionBlurOptions = ({radius: radius_result, anchor: anchor_result} as MotionBlurOptions) return value } - readMotionPathOptions(): MotionPathOptions { + public readMotionPathOptions(): MotionPathOptions { let valueDeserializer: Deserializer = this const path_result: string = (valueDeserializer.readString() as string) const from_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -7578,19 +8473,19 @@ export class Deserializer extends DeserializerBase { let value: MotionPathOptions = ({path: path_result, from: from_result, to: to_result, rotatable: rotatable_result} as MotionPathOptions) return value } - readMutableStyledString(): MutableStyledString { + public readMutableStyledString(): MutableStyledString { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return MutableStyledStringInternal.fromPtr(ptr) } - readNativeEmbedVisibilityInfo(): NativeEmbedVisibilityInfo { + public readNativeEmbedVisibilityInfo(): NativeEmbedVisibilityInfo { let valueDeserializer: Deserializer = this const visibility_result: boolean = valueDeserializer.readBoolean() const embedId_result: string = (valueDeserializer.readString() as string) let value: NativeEmbedVisibilityInfo = ({visibility: visibility_result, embedId: embedId_result} as NativeEmbedVisibilityInfo) return value } - readNavContentInfo(): NavContentInfo { + public readNavContentInfo(): NavContentInfo { let valueDeserializer: Deserializer = this const name_buf_runtimeType = (valueDeserializer.readInt8() as int32) let name_buf: string | undefined|undefined @@ -7624,7 +8519,41 @@ export class Deserializer extends DeserializerBase { let value: NavContentInfo = ({name: name_result, index: index_result, mode: mode_result, param: param_result, navDestinationId: navDestinationId_result} as NavContentInfo) return value } - readNavigationAnimatedTransition(): NavigationAnimatedTransition { + public readNavDestinationTransition(): NavDestinationTransition { + let valueDeserializer: Deserializer = this + const onTransitionEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onTransitionEnd_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onTransitionEnd_buf_runtimeType)) + { + onTransitionEnd_buf = valueDeserializer.readCallback_Void() + } + const onTransitionEnd_result: (() => void) | undefined|undefined = onTransitionEnd_buf + const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let duration_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf = (valueDeserializer.readNumber() as number) + } + const duration_result: number | undefined|undefined = duration_buf + const curve_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let curve_buf: Curve | undefined|undefined + if ((RuntimeType.UNDEFINED) != (curve_buf_runtimeType)) + { + curve_buf = valueDeserializer.readInt32() + } + const curve_result: Curve | undefined|undefined = curve_buf + const delay_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let delay_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (delay_buf_runtimeType)) + { + delay_buf = (valueDeserializer.readNumber() as number) + } + const delay_result: number | undefined|undefined = delay_buf + const event_result: (() => void) = valueDeserializer.readCallback_Void() + let value: NavDestinationTransition = ({onTransitionEnd: onTransitionEnd_result, duration: duration_result, curve: curve_result, delay: delay_result, event: event_result} as NavDestinationTransition) + return value + } + public readNavigationAnimatedTransition(): NavigationAnimatedTransition { let valueDeserializer: Deserializer = this const onTransitionEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onTransitionEnd_buf: ((isVisible: boolean) => void) | undefined|undefined @@ -7651,7 +8580,7 @@ export class Deserializer extends DeserializerBase { let value: NavigationAnimatedTransition = ({onTransitionEnd: onTransitionEnd_result, timeout: timeout_result, isInteractive: isInteractive_result, transition: transition_result} as NavigationAnimatedTransition) return value } - readNavigationInterception(): NavigationInterception { + public readNavigationInterception(): NavigationInterception { let valueDeserializer: Deserializer = this const willShow_buf_runtimeType = (valueDeserializer.readInt8() as int32) let willShow_buf: InterceptionShowCallback | undefined|undefined @@ -7677,7 +8606,7 @@ export class Deserializer extends DeserializerBase { let value: NavigationInterception = ({willShow: willShow_result, didShow: didShow_result, modeChange: modeChange_result} as NavigationInterception) return value } - readNavigationOptions(): NavigationOptions { + public readNavigationOptions(): NavigationOptions { let valueDeserializer: Deserializer = this const launchMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) let launchMode_buf: LaunchMode | undefined|undefined @@ -7696,17 +8625,24 @@ export class Deserializer extends DeserializerBase { let value: NavigationOptions = ({launchMode: launchMode_result, animated: animated_result} as NavigationOptions) return value } - readNavigationTransitionProxy(): NavigationTransitionProxy { + public readNavigationTransitionProxy(): NavigationTransitionProxy { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return NavigationTransitionProxyInternal.fromPtr(ptr) } - readNavPathInfo(): NavPathInfo { + public readNavPathInfo(): NavPathInfo { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return NavPathInfoInternal.fromPtr(ptr) } - readNestedScrollOptionsExt(): NestedScrollOptionsExt { + public readNestedScrollInfo(): NestedScrollInfo { + let valueDeserializer: Deserializer = this + const parent_result: Scroller = (valueDeserializer.readScroller() as Scroller) + const child_result: Scroller = (valueDeserializer.readScroller() as Scroller) + let value: NestedScrollInfo = ({parent: parent_result, child: child_result} as NestedScrollInfo) + return value + } + public readNestedScrollOptionsExt(): NestedScrollOptionsExt { let valueDeserializer: Deserializer = this const scrollUp_buf_runtimeType = (valueDeserializer.readInt8() as int32) let scrollUp_buf: NestedScrollMode | undefined|undefined @@ -7739,12 +8675,7 @@ export class Deserializer extends DeserializerBase { let value: NestedScrollOptionsExt = ({scrollUp: scrollUp_result, scrollDown: scrollDown_result, scrollRight: scrollRight_result, scrollLeft: scrollLeft_result} as NestedScrollOptionsExt) return value } - readOffscreenCanvasRenderingContext2D(): OffscreenCanvasRenderingContext2D { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return OffscreenCanvasRenderingContext2DInternal.fromPtr(ptr) - } - readOnAlertEvent(): OnAlertEvent { + public readOnAlertEvent(): OnAlertEvent { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) const message_result: string = (valueDeserializer.readString() as string) @@ -7752,7 +8683,7 @@ export class Deserializer extends DeserializerBase { let value: OnAlertEvent = ({url: url_result, message: message_result, result: result_result} as OnAlertEvent) return value } - readOnBeforeUnloadEvent(): OnBeforeUnloadEvent { + public readOnBeforeUnloadEvent(): OnBeforeUnloadEvent { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) const message_result: string = (valueDeserializer.readString() as string) @@ -7760,7 +8691,7 @@ export class Deserializer extends DeserializerBase { let value: OnBeforeUnloadEvent = ({url: url_result, message: message_result, result: result_result} as OnBeforeUnloadEvent) return value } - readOnClientAuthenticationEvent(): OnClientAuthenticationEvent { + public readOnClientAuthenticationEvent(): OnClientAuthenticationEvent { let valueDeserializer: Deserializer = this const handler_result: ClientAuthenticationHandler = (valueDeserializer.readClientAuthenticationHandler() as ClientAuthenticationHandler) const host_result: string = (valueDeserializer.readString() as string) @@ -7780,7 +8711,7 @@ export class Deserializer extends DeserializerBase { let value: OnClientAuthenticationEvent = ({handler: handler_result, host: host_result, port: port_result, keyTypes: keyTypes_result, issuers: issuers_result} as OnClientAuthenticationEvent) return value } - readOnConfirmEvent(): OnConfirmEvent { + public readOnConfirmEvent(): OnConfirmEvent { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) const message_result: string = (valueDeserializer.readString() as string) @@ -7788,14 +8719,14 @@ export class Deserializer extends DeserializerBase { let value: OnConfirmEvent = ({url: url_result, message: message_result, result: result_result} as OnConfirmEvent) return value } - readOnContextMenuShowEvent(): OnContextMenuShowEvent { + public readOnContextMenuShowEvent(): OnContextMenuShowEvent { let valueDeserializer: Deserializer = this const param_result: WebContextMenuParam = (valueDeserializer.readWebContextMenuParam() as WebContextMenuParam) const result_result: WebContextMenuResult = (valueDeserializer.readWebContextMenuResult() as WebContextMenuResult) let value: OnContextMenuShowEvent = ({param: param_result, result: result_result} as OnContextMenuShowEvent) return value } - readOnDownloadStartEvent(): OnDownloadStartEvent { + public readOnDownloadStartEvent(): OnDownloadStartEvent { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) const userAgent_result: string = (valueDeserializer.readString() as string) @@ -7805,27 +8736,27 @@ export class Deserializer extends DeserializerBase { let value: OnDownloadStartEvent = ({url: url_result, userAgent: userAgent_result, contentDisposition: contentDisposition_result, mimetype: mimetype_result, contentLength: contentLength_result} as OnDownloadStartEvent) return value } - readOnErrorReceiveEvent(): OnErrorReceiveEvent { + public readOnErrorReceiveEvent(): OnErrorReceiveEvent { let valueDeserializer: Deserializer = this const request_result: WebResourceRequest = (valueDeserializer.readWebResourceRequest() as WebResourceRequest) const error_result: WebResourceError = (valueDeserializer.readWebResourceError() as WebResourceError) let value: OnErrorReceiveEvent = ({request: request_result, error: error_result} as OnErrorReceiveEvent) return value } - readOnFaviconReceivedEvent(): OnFaviconReceivedEvent { + public readOnFaviconReceivedEvent(): OnFaviconReceivedEvent { let valueDeserializer: Deserializer = this const favicon_result: PixelMap = (valueDeserializer.readPixelMap() as PixelMap) let value: OnFaviconReceivedEvent = ({favicon: favicon_result} as OnFaviconReceivedEvent) return value } - readOnGeolocationShowEvent(): OnGeolocationShowEvent { + public readOnGeolocationShowEvent(): OnGeolocationShowEvent { let valueDeserializer: Deserializer = this const origin_result: string = (valueDeserializer.readString() as string) const geolocation_result: JsGeolocation = (valueDeserializer.readJsGeolocation() as JsGeolocation) let value: OnGeolocationShowEvent = ({origin: origin_result, geolocation: geolocation_result} as OnGeolocationShowEvent) return value } - readOnHttpAuthRequestEvent(): OnHttpAuthRequestEvent { + public readOnHttpAuthRequestEvent(): OnHttpAuthRequestEvent { let valueDeserializer: Deserializer = this const handler_result: HttpAuthHandler = (valueDeserializer.readHttpAuthHandler() as HttpAuthHandler) const host_result: string = (valueDeserializer.readString() as string) @@ -7833,50 +8764,50 @@ export class Deserializer extends DeserializerBase { let value: OnHttpAuthRequestEvent = ({handler: handler_result, host: host_result, realm: realm_result} as OnHttpAuthRequestEvent) return value } - readOnHttpErrorReceiveEvent(): OnHttpErrorReceiveEvent { + public readOnHttpErrorReceiveEvent(): OnHttpErrorReceiveEvent { let valueDeserializer: Deserializer = this const request_result: WebResourceRequest = (valueDeserializer.readWebResourceRequest() as WebResourceRequest) const response_result: WebResourceResponse = (valueDeserializer.readWebResourceResponse() as WebResourceResponse) let value: OnHttpErrorReceiveEvent = ({request: request_result, response: response_result} as OnHttpErrorReceiveEvent) return value } - readOnInterceptRequestEvent(): OnInterceptRequestEvent { + public readOnInterceptRequestEvent(): OnInterceptRequestEvent { let valueDeserializer: Deserializer = this const request_result: WebResourceRequest = (valueDeserializer.readWebResourceRequest() as WebResourceRequest) let value: OnInterceptRequestEvent = ({request: request_result} as OnInterceptRequestEvent) return value } - readOnLoadInterceptEvent(): OnLoadInterceptEvent { + public readOnLoadInterceptEvent(): OnLoadInterceptEvent { let valueDeserializer: Deserializer = this const data_result: WebResourceRequest = (valueDeserializer.readWebResourceRequest() as WebResourceRequest) let value: OnLoadInterceptEvent = ({data: data_result} as OnLoadInterceptEvent) return value } - readOnPageBeginEvent(): OnPageBeginEvent { + public readOnPageBeginEvent(): OnPageBeginEvent { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) let value: OnPageBeginEvent = ({url: url_result} as OnPageBeginEvent) return value } - readOnPageEndEvent(): OnPageEndEvent { + public readOnPageEndEvent(): OnPageEndEvent { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) let value: OnPageEndEvent = ({url: url_result} as OnPageEndEvent) return value } - readOnPageVisibleEvent(): OnPageVisibleEvent { + public readOnPageVisibleEvent(): OnPageVisibleEvent { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) let value: OnPageVisibleEvent = ({url: url_result} as OnPageVisibleEvent) return value } - readOnPermissionRequestEvent(): OnPermissionRequestEvent { + public readOnPermissionRequestEvent(): OnPermissionRequestEvent { let valueDeserializer: Deserializer = this const request_result: PermissionRequest = (valueDeserializer.readPermissionRequest() as PermissionRequest) let value: OnPermissionRequestEvent = ({request: request_result} as OnPermissionRequestEvent) return value } - readOnPromptEvent(): OnPromptEvent { + public readOnPromptEvent(): OnPromptEvent { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) const message_result: string = (valueDeserializer.readString() as string) @@ -7885,32 +8816,32 @@ export class Deserializer extends DeserializerBase { let value: OnPromptEvent = ({url: url_result, message: message_result, value: value_result, result: result_result} as OnPromptEvent) return value } - readOnRefreshAccessedHistoryEvent(): OnRefreshAccessedHistoryEvent { + public readOnRefreshAccessedHistoryEvent(): OnRefreshAccessedHistoryEvent { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) const isRefreshed_result: boolean = valueDeserializer.readBoolean() let value: OnRefreshAccessedHistoryEvent = ({url: url_result, isRefreshed: isRefreshed_result} as OnRefreshAccessedHistoryEvent) return value } - readOnRenderExitedEvent(): OnRenderExitedEvent { + public readOnRenderExitedEvent(): OnRenderExitedEvent { let valueDeserializer: Deserializer = this const renderExitReason_result: RenderExitReason = valueDeserializer.readInt32() let value: OnRenderExitedEvent = ({renderExitReason: renderExitReason_result} as OnRenderExitedEvent) return value } - readOnResourceLoadEvent(): OnResourceLoadEvent { + public readOnResourceLoadEvent(): OnResourceLoadEvent { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) let value: OnResourceLoadEvent = ({url: url_result} as OnResourceLoadEvent) return value } - readOnScreenCaptureRequestEvent(): OnScreenCaptureRequestEvent { + public readOnScreenCaptureRequestEvent(): OnScreenCaptureRequestEvent { let valueDeserializer: Deserializer = this const handler_result: ScreenCaptureHandler = (valueDeserializer.readScreenCaptureHandler() as ScreenCaptureHandler) let value: OnScreenCaptureRequestEvent = ({handler: handler_result} as OnScreenCaptureRequestEvent) return value } - readOnSslErrorEventReceiveEvent(): OnSslErrorEventReceiveEvent { + public readOnSslErrorEventReceiveEvent(): OnSslErrorEventReceiveEvent { let valueDeserializer: Deserializer = this const handler_result: SslErrorHandler = (valueDeserializer.readSslErrorHandler() as SslErrorHandler) const error_result: SslError = valueDeserializer.readInt32() @@ -7929,20 +8860,20 @@ export class Deserializer extends DeserializerBase { let value: OnSslErrorEventReceiveEvent = ({handler: handler_result, error: error_result, certChainData: certChainData_result} as OnSslErrorEventReceiveEvent) return value } - readOnTitleReceiveEvent(): OnTitleReceiveEvent { + public readOnTitleReceiveEvent(): OnTitleReceiveEvent { let valueDeserializer: Deserializer = this const title_result: string = (valueDeserializer.readString() as string) let value: OnTitleReceiveEvent = ({title: title_result} as OnTitleReceiveEvent) return value } - readOnTouchIconUrlReceivedEvent(): OnTouchIconUrlReceivedEvent { + public readOnTouchIconUrlReceivedEvent(): OnTouchIconUrlReceivedEvent { let valueDeserializer: Deserializer = this const url_result: string = (valueDeserializer.readString() as string) const precomposed_result: boolean = valueDeserializer.readBoolean() let value: OnTouchIconUrlReceivedEvent = ({url: url_result, precomposed: precomposed_result} as OnTouchIconUrlReceivedEvent) return value } - readOnWindowNewEvent(): OnWindowNewEvent { + public readOnWindowNewEvent(): OnWindowNewEvent { let valueDeserializer: Deserializer = this const isAlert_result: boolean = valueDeserializer.readBoolean() const isUserTrigger_result: boolean = valueDeserializer.readBoolean() @@ -7951,7 +8882,13 @@ export class Deserializer extends DeserializerBase { let value: OnWindowNewEvent = ({isAlert: isAlert_result, isUserTrigger: isUserTrigger_result, targetUrl: targetUrl_result, handler: handler_result} as OnWindowNewEvent) return value } - readOverlayOffset(): OverlayOffset { + public readOrientation(): Orientation { + let valueDeserializer: Deserializer = this + const _OrientationStub_result: string = (valueDeserializer.readString() as string) + let value: Orientation = ({_OrientationStub: _OrientationStub_result} as Orientation) + return value + } + public readOverlayOffset(): OverlayOffset { let valueDeserializer: Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf: number | undefined|undefined @@ -7970,13 +8907,46 @@ export class Deserializer extends DeserializerBase { let value: OverlayOffset = ({x: x_result, y: y_result} as OverlayOffset) return value } - readPasteButtonOptions(): PasteButtonOptions { + public readPanGestureHandlerOptions(): PanGestureHandlerOptions { let valueDeserializer: Deserializer = this - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf: PasteIconStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + const isFingerCountLimited_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isFingerCountLimited_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) { - icon_buf = valueDeserializer.readInt32() + isFingerCountLimited_buf = valueDeserializer.readBoolean() + } + const isFingerCountLimited_result: boolean | undefined|undefined = isFingerCountLimited_buf + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result: number | undefined|undefined = fingers_buf + const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let direction_buf: PanDirection | undefined|undefined + if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf = valueDeserializer.readInt32() + } + const direction_result: PanDirection | undefined|undefined = direction_buf + const distance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let distance_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (distance_buf_runtimeType)) + { + distance_buf = (valueDeserializer.readNumber() as number) + } + const distance_result: number | undefined|undefined = distance_buf + let value: PanGestureHandlerOptions = ({isFingerCountLimited: isFingerCountLimited_result, fingers: fingers_result, direction: direction_result, distance: distance_result} as PanGestureHandlerOptions) + return value + } + public readPasteButtonOptions(): PasteButtonOptions { + let valueDeserializer: Deserializer = this + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf: PasteIconStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + { + icon_buf = valueDeserializer.readInt32() } const icon_result: PasteIconStyle | undefined|undefined = icon_buf const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -7996,7 +8966,7 @@ export class Deserializer extends DeserializerBase { let value: PasteButtonOptions = ({icon: icon_result, text: text_result, buttonType: buttonType_result} as PasteButtonOptions) return value } - readPasteEvent(): PasteEvent { + public readPasteEvent(): PasteEvent { let valueDeserializer: Deserializer = this const preventDefault_buf_runtimeType = (valueDeserializer.readInt8() as int32) let preventDefault_buf: (() => void) | undefined|undefined @@ -8008,7 +8978,7 @@ export class Deserializer extends DeserializerBase { let value: PasteEvent = ({preventDefault: preventDefault_result} as PasteEvent) return value } - readPathOptions(): PathOptions { + public readPathOptions(): PathOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf: number | string | undefined|undefined @@ -8056,7 +9026,7 @@ export class Deserializer extends DeserializerBase { let value: PathOptions = ({width: width_result, height: height_result, commands: commands_result} as PathOptions) return value } - readPathShapeOptions(): PathShapeOptions { + public readPathShapeOptions(): PathShapeOptions { let valueDeserializer: Deserializer = this const commands_buf_runtimeType = (valueDeserializer.readInt8() as int32) let commands_buf: string | undefined|undefined @@ -8068,7 +9038,33 @@ export class Deserializer extends DeserializerBase { let value: PathShapeOptions = ({commands: commands_result} as PathShapeOptions) return value } - readPixelRoundPolicy(): PixelRoundPolicy { + public readPinchGestureHandlerOptions(): PinchGestureHandlerOptions { + let valueDeserializer: Deserializer = this + const isFingerCountLimited_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isFingerCountLimited_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) + { + isFingerCountLimited_buf = valueDeserializer.readBoolean() + } + const isFingerCountLimited_result: boolean | undefined|undefined = isFingerCountLimited_buf + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result: number | undefined|undefined = fingers_buf + const distance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let distance_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (distance_buf_runtimeType)) + { + distance_buf = (valueDeserializer.readNumber() as number) + } + const distance_result: number | undefined|undefined = distance_buf + let value: PinchGestureHandlerOptions = ({isFingerCountLimited: isFingerCountLimited_result, fingers: fingers_result, distance: distance_result} as PinchGestureHandlerOptions) + return value + } + public readPixelRoundPolicy(): PixelRoundPolicy { let valueDeserializer: Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf: PixelRoundCalcPolicy | undefined|undefined @@ -8101,21 +9097,21 @@ export class Deserializer extends DeserializerBase { let value: PixelRoundPolicy = ({start: start_result, top: top_result, end: end_result, bottom: bottom_result} as PixelRoundPolicy) return value } - readPluginComponentTemplate(): PluginComponentTemplate { + public readPluginComponentTemplate(): PluginComponentTemplate { let valueDeserializer: Deserializer = this const source_result: string = (valueDeserializer.readString() as string) const bundleName_result: string = (valueDeserializer.readString() as string) let value: PluginComponentTemplate = ({source: source_result, bundleName: bundleName_result} as PluginComponentTemplate) return value } - readPluginErrorData(): PluginErrorData { + public readPluginErrorData(): PluginErrorData { let valueDeserializer: Deserializer = this const errcode_result: number = (valueDeserializer.readNumber() as number) const msg_result: string = (valueDeserializer.readString() as string) let value: PluginErrorData = ({errcode: errcode_result, msg: msg_result} as PluginErrorData) return value } - readPolygonOptions(): PolygonOptions { + public readPolygonOptions(): PolygonOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf: string | number | undefined|undefined @@ -8156,7 +9152,7 @@ export class Deserializer extends DeserializerBase { let value: PolygonOptions = ({width: width_result, height: height_result} as PolygonOptions) return value } - readPolylineOptions(): PolylineOptions { + public readPolylineOptions(): PolylineOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf: string | number | undefined|undefined @@ -8197,7 +9193,7 @@ export class Deserializer extends DeserializerBase { let value: PolylineOptions = ({width: width_result, height: height_result} as PolylineOptions) return value } - readPolyToPolyOptions(): PolyToPolyOptions { + public readPolyToPolyOptions(): PolyToPolyOptions { let valueDeserializer: Deserializer = this const src_buf_length: int32 = valueDeserializer.readInt32() let src_buf: Array = new Array(src_buf_length) @@ -8235,14 +9231,26 @@ export class Deserializer extends DeserializerBase { let value: PolyToPolyOptions = ({src: src_result, srcIndex: srcIndex_result, dst: dst_result, dstIndex: dstIndex_result, pointCount: pointCount_result} as PolyToPolyOptions) return value } - readPopInfo(): PopInfo { + public readPopInfo(): PopInfo { let valueDeserializer: Deserializer = this const info_result: NavPathInfo = (valueDeserializer.readNavPathInfo() as NavPathInfo) const result_result: Object = (valueDeserializer.readObject() as Object) let value: PopInfo = ({info: info_result, result: result_result} as PopInfo) return value } - readPostMessageOptions(): PostMessageOptions { + public readPosterOptions(): PosterOptions { + let valueDeserializer: Deserializer = this + const showFirstFrame_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let showFirstFrame_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (showFirstFrame_buf_runtimeType)) + { + showFirstFrame_buf = valueDeserializer.readBoolean() + } + const showFirstFrame_result: boolean | undefined|undefined = showFirstFrame_buf + let value: PosterOptions = ({showFirstFrame: showFirstFrame_result} as PosterOptions) + return value + } + public readPostMessageOptions(): PostMessageOptions { let valueDeserializer: Deserializer = this const transfer_buf_runtimeType = (valueDeserializer.readInt8() as int32) let transfer_buf: Array | undefined|undefined @@ -8259,14 +9267,45 @@ export class Deserializer extends DeserializerBase { let value: PostMessageOptions = ({transfer: transfer_result} as PostMessageOptions) return value } - readPreviewText(): PreviewText { + public readPreviewConfiguration(): PreviewConfiguration { + let valueDeserializer: Deserializer = this + const onlyForLifting_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onlyForLifting_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onlyForLifting_buf_runtimeType)) + { + onlyForLifting_buf = valueDeserializer.readBoolean() + } + const onlyForLifting_result: boolean | undefined|undefined = onlyForLifting_buf + const delayCreating_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let delayCreating_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (delayCreating_buf_runtimeType)) + { + delayCreating_buf = valueDeserializer.readBoolean() + } + const delayCreating_result: boolean | undefined|undefined = delayCreating_buf + let value: PreviewConfiguration = ({onlyForLifting: onlyForLifting_result, delayCreating: delayCreating_result} as PreviewConfiguration) + return value + } + public readPreviewMenuOptions(): PreviewMenuOptions { + let valueDeserializer: Deserializer = this + const hapticFeedbackMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hapticFeedbackMode_buf: HapticFeedbackMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (hapticFeedbackMode_buf_runtimeType)) + { + hapticFeedbackMode_buf = valueDeserializer.readInt32() + } + const hapticFeedbackMode_result: HapticFeedbackMode | undefined|undefined = hapticFeedbackMode_buf + let value: PreviewMenuOptions = ({hapticFeedbackMode: hapticFeedbackMode_result} as PreviewMenuOptions) + return value + } + public readPreviewText(): PreviewText { let valueDeserializer: Deserializer = this const offset_result: number = (valueDeserializer.readNumber() as number) const value_result: string = (valueDeserializer.readString() as string) let value: PreviewText = ({offset: offset_result, value: value_result} as PreviewText) return value } - readProgressOptions(): ProgressOptions { + public readProgressOptions(): ProgressOptions { let valueDeserializer: Deserializer = this const value_result: number = (valueDeserializer.readNumber() as number) const total_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -8293,7 +9332,7 @@ export class Deserializer extends DeserializerBase { let value: ProgressOptions = ({value: value_result, total: total_result, style: style_result, type: type_result} as ProgressOptions) return value } - readRadioOptions(): RadioOptions { + public readRadioOptions(): RadioOptions { let valueDeserializer: Deserializer = this const group_result: string = (valueDeserializer.readString() as string) const value_result: string = (valueDeserializer.readString() as string) @@ -8314,7 +9353,7 @@ export class Deserializer extends DeserializerBase { let value: RadioOptions = ({group: group_result, value: value_result, indicatorType: indicatorType_result, indicatorBuilder: indicatorBuilder_result} as RadioOptions) return value } - readRatingOptions(): RatingOptions { + public readRatingOptions(): RatingOptions { let valueDeserializer: Deserializer = this const rating_result: number = (valueDeserializer.readNumber() as number) const indicator_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -8327,7 +9366,7 @@ export class Deserializer extends DeserializerBase { let value: RatingOptions = ({rating: rating_result, indicator: indicator_result} as RatingOptions) return value } - readRectStyle(): RectStyle { + public readRectStyle(): RectStyle { let valueDeserializer: Deserializer = this const color_result: common2D.Color = valueDeserializer.readcommon2D_Color() const leftTopRadius_result: number = (valueDeserializer.readNumber() as number) @@ -8337,12 +9376,12 @@ export class Deserializer extends DeserializerBase { let value: RectStyle = ({color: color_result, leftTopRadius: leftTopRadius_result, rightTopRadius: rightTopRadius_result, rightBottomRadius: rightBottomRadius_result, leftBottomRadius: leftBottomRadius_result} as RectStyle) return value } - readRenderingContextSettings(): RenderingContextSettings { + public readRenderingContextSettings(): RenderingContextSettings { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return RenderingContextSettingsInternal.fromPtr(ptr) } - readRenderProcessNotRespondingData(): RenderProcessNotRespondingData { + public readRenderProcessNotRespondingData(): RenderProcessNotRespondingData { let valueDeserializer: Deserializer = this const jsStack_result: string = (valueDeserializer.readString() as string) const pid_result: number = (valueDeserializer.readNumber() as number) @@ -8350,12 +9389,12 @@ export class Deserializer extends DeserializerBase { let value: RenderProcessNotRespondingData = ({jsStack: jsStack_result, pid: pid_result, reason: reason_result} as RenderProcessNotRespondingData) return value } - readReplaceSymbolEffect(): ReplaceSymbolEffect { + public readReplaceSymbolEffect(): ReplaceSymbolEffect { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ReplaceSymbolEffectInternal.fromPtr(ptr) } - readResource(): Resource { + public readResource(): Resource { let valueDeserializer: Deserializer = this const bundleName_result: string = (valueDeserializer.readString() as string) const moduleName_result: string = (valueDeserializer.readString() as string) @@ -8382,19 +9421,7 @@ export class Deserializer extends DeserializerBase { let value: Resource = ({bundleName: bundleName_result, moduleName: moduleName_result, id: id_result, params: params_result, type: type_result} as Resource) return value } - readRichEditorBuilderSpanOptions(): RichEditorBuilderSpanOptions { - let valueDeserializer: Deserializer = this - const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offset_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) - { - offset_buf = (valueDeserializer.readNumber() as number) - } - const offset_result: number | undefined|undefined = offset_buf - let value: RichEditorBuilderSpanOptions = ({offset: offset_result} as RichEditorBuilderSpanOptions) - return value - } - readRichEditorDeleteValue(): RichEditorDeleteValue { + public readRichEditorDeleteValue(): RichEditorDeleteValue { let valueDeserializer: Deserializer = this const offset_result: number = (valueDeserializer.readNumber() as number) const direction_result: RichEditorDeleteDirection = valueDeserializer.readInt32() @@ -8419,7 +9446,7 @@ export class Deserializer extends DeserializerBase { let value: RichEditorDeleteValue = ({offset: offset_result, direction: direction_result, length: length_result, richEditorDeleteSpans: richEditorDeleteSpans_result} as RichEditorDeleteValue) return value } - readRichEditorGesture(): RichEditorGesture { + public readRichEditorGesture(): RichEditorGesture { let valueDeserializer: Deserializer = this const onClick_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onClick_buf: ((event: ClickEvent) => void) | undefined|undefined @@ -8435,10 +9462,17 @@ export class Deserializer extends DeserializerBase { onLongPress_buf = valueDeserializer.readCallback_GestureEvent_Void() } const onLongPress_result: ((event: GestureEvent) => void) | undefined|undefined = onLongPress_buf - let value: RichEditorGesture = ({onClick: onClick_result, onLongPress: onLongPress_result} as RichEditorGesture) + const onDoubleClick_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDoubleClick_buf: ((event: GestureEvent) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDoubleClick_buf_runtimeType)) + { + onDoubleClick_buf = valueDeserializer.readCallback_GestureEvent_Void() + } + const onDoubleClick_result: ((event: GestureEvent) => void) | undefined|undefined = onDoubleClick_buf + let value: RichEditorGesture = ({onClick: onClick_result, onLongPress: onLongPress_result, onDoubleClick: onDoubleClick_result} as RichEditorGesture) return value } - readRichEditorInsertValue(): RichEditorInsertValue { + public readRichEditorInsertValue(): RichEditorInsertValue { let valueDeserializer: Deserializer = this const insertOffset_result: number = (valueDeserializer.readNumber() as number) const insertValue_result: string = (valueDeserializer.readString() as string) @@ -8452,7 +9486,7 @@ export class Deserializer extends DeserializerBase { let value: RichEditorInsertValue = ({insertOffset: insertOffset_result, insertValue: insertValue_result, previewText: previewText_result} as RichEditorInsertValue) return value } - readRichEditorRange(): RichEditorRange { + public readRichEditorRange(): RichEditorRange { let valueDeserializer: Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf: number | undefined|undefined @@ -8471,7 +9505,7 @@ export class Deserializer extends DeserializerBase { let value: RichEditorRange = ({start: start_result, end: end_result} as RichEditorRange) return value } - readRichEditorSelection(): RichEditorSelection { + public readRichEditorSelection(): RichEditorSelection { let valueDeserializer: Deserializer = this const selection_buf_value0: number = (valueDeserializer.readNumber() as number) const selection_buf_value1: number = (valueDeserializer.readNumber() as number) @@ -8496,7 +9530,7 @@ export class Deserializer extends DeserializerBase { let value: RichEditorSelection = ({selection: selection_result, spans: spans_result} as RichEditorSelection) return value } - readRichEditorSpanPosition(): RichEditorSpanPosition { + public readRichEditorSpanPosition(): RichEditorSpanPosition { let valueDeserializer: Deserializer = this const spanIndex_result: number = (valueDeserializer.readNumber() as number) const spanRange_buf_value0: number = (valueDeserializer.readNumber() as number) @@ -8505,7 +9539,7 @@ export class Deserializer extends DeserializerBase { let value: RichEditorSpanPosition = ({spanIndex: spanIndex_result, spanRange: spanRange_result} as RichEditorSpanPosition) return value } - readRotateOption(): RotateOption { + public readRotateOption(): RotateOption { let valueDeserializer: Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf: number | undefined|undefined @@ -8552,7 +9586,7 @@ export class Deserializer extends DeserializerBase { let value: RotateOption = ({x: x_result, y: y_result, z: z_result, centerX: centerX_result, centerY: centerY_result, angle: angle_result} as RotateOption) return value } - readRotateOptions(): RotateOptions { + public readRotateOptions(): RotateOptions { let valueDeserializer: Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf: number | undefined|undefined @@ -8640,7 +9674,33 @@ export class Deserializer extends DeserializerBase { let value: RotateOptions = ({x: x_result, y: y_result, z: z_result, centerX: centerX_result, centerY: centerY_result, centerZ: centerZ_result, perspective: perspective_result, angle: angle_result} as RotateOptions) return value } - readRoundedRectOptions(): RoundedRectOptions { + public readRotationGestureHandlerOptions(): RotationGestureHandlerOptions { + let valueDeserializer: Deserializer = this + const isFingerCountLimited_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isFingerCountLimited_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) + { + isFingerCountLimited_buf = valueDeserializer.readBoolean() + } + const isFingerCountLimited_result: boolean | undefined|undefined = isFingerCountLimited_buf + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result: number | undefined|undefined = fingers_buf + const angle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let angle_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (angle_buf_runtimeType)) + { + angle_buf = (valueDeserializer.readNumber() as number) + } + const angle_result: number | undefined|undefined = angle_buf + let value: RotationGestureHandlerOptions = ({isFingerCountLimited: isFingerCountLimited_result, fingers: fingers_result, angle: angle_result} as RotationGestureHandlerOptions) + return value + } + public readRoundedRectOptions(): RoundedRectOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf: number | string | undefined|undefined @@ -8717,14 +9777,14 @@ export class Deserializer extends DeserializerBase { let value: RoundedRectOptions = ({width: width_result, height: height_result, radiusWidth: radiusWidth_result, radiusHeight: radiusHeight_result} as RoundedRectOptions) return value } - readRoundRect(): RoundRect { + public readRoundRect(): RoundRect { let valueDeserializer: Deserializer = this const rect_result: Rect = valueDeserializer.readRect() const corners_result: CornerRadius = valueDeserializer.readCornerRadius() let value: RoundRect = ({rect: rect_result, corners: corners_result} as RoundRect) return value } - readRoundRectShapeOptions(): RoundRectShapeOptions { + public readRoundRectShapeOptions(): RoundRectShapeOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf: number | string | undefined|undefined @@ -8801,7 +9861,7 @@ export class Deserializer extends DeserializerBase { let value: RoundRectShapeOptions = ({width: width_result, height: height_result, radiusWidth: radiusWidth_result, radiusHeight: radiusHeight_result} as RoundRectShapeOptions) return value } - readRouteInfo(): RouteInfo { + public readRouteInfo(): RouteInfo { let valueDeserializer: Deserializer = this const name_result: string = (valueDeserializer.readString() as string) const param_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -8814,7 +9874,7 @@ export class Deserializer extends DeserializerBase { let value: RouteInfo = ({name: name_result, param: param_result} as RouteInfo) return value } - readRouteMapConfig(): RouteMapConfig { + public readRouteMapConfig(): RouteMapConfig { let valueDeserializer: Deserializer = this const name_result: string = (valueDeserializer.readString() as string) const pageSourceFile_result: string = (valueDeserializer.readString() as string) @@ -8822,7 +9882,7 @@ export class Deserializer extends DeserializerBase { let value: RouteMapConfig = ({name: name_result, pageSourceFile: pageSourceFile_result, data: data_result} as RouteMapConfig) return value } - readRowOptions(): RowOptions { + public readRowOptions(): RowOptions { let valueDeserializer: Deserializer = this const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) let space_buf: string | number | undefined|undefined @@ -8845,7 +9905,13 @@ export class Deserializer extends DeserializerBase { let value: RowOptions = ({space: space_result} as RowOptions) return value } - readSaveButtonOptions(): SaveButtonOptions { + public readRowOptionsV2(): RowOptionsV2 { + let valueDeserializer: Deserializer = this + const stub_result: string = (valueDeserializer.readString() as string) + let value: RowOptionsV2 = ({stub: stub_result} as RowOptionsV2) + return value + } + public readSaveButtonOptions(): SaveButtonOptions { let valueDeserializer: Deserializer = this const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) let icon_buf: SaveIconStyle | undefined|undefined @@ -8871,7 +9937,7 @@ export class Deserializer extends DeserializerBase { let value: SaveButtonOptions = ({icon: icon_result, text: text_result, buttonType: buttonType_result} as SaveButtonOptions) return value } - readScaleOption(): ScaleOption { + public readScaleOption(): ScaleOption { let valueDeserializer: Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf: number | undefined|undefined @@ -8911,7 +9977,7 @@ export class Deserializer extends DeserializerBase { let value: ScaleOption = ({x: x_result, y: y_result, z: z_result, centerX: centerX_result, centerY: centerY_result} as ScaleOption) return value } - readScaleOptions(): ScaleOptions { + public readScaleOptions(): ScaleOptions { let valueDeserializer: Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf: number | undefined|undefined @@ -8973,18 +10039,18 @@ export class Deserializer extends DeserializerBase { let value: ScaleOptions = ({x: x_result, y: y_result, z: z_result, centerX: centerX_result, centerY: centerY_result} as ScaleOptions) return value } - readScaleSymbolEffect(): ScaleSymbolEffect { + public readScaleSymbolEffect(): ScaleSymbolEffect { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ScaleSymbolEffectInternal.fromPtr(ptr) } - readScreenCaptureConfig(): ScreenCaptureConfig { + public readScreenCaptureConfig(): ScreenCaptureConfig { let valueDeserializer: Deserializer = this const captureMode_result: WebCaptureMode = valueDeserializer.readInt32() let value: ScreenCaptureConfig = ({captureMode: captureMode_result} as ScreenCaptureConfig) return value } - readScriptItem(): ScriptItem { + public readScriptItem(): ScriptItem { let valueDeserializer: Deserializer = this const script_result: string = (valueDeserializer.readString() as string) const scriptRules_buf_length: int32 = valueDeserializer.readInt32() @@ -8996,7 +10062,7 @@ export class Deserializer extends DeserializerBase { let value: ScriptItem = ({script: script_result, scriptRules: scriptRules_result} as ScriptItem) return value } - readScrollAnimationOptions(): ScrollAnimationOptions { + public readScrollAnimationOptions(): ScrollAnimationOptions { let valueDeserializer: Deserializer = this const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) let duration_buf: number | undefined|undefined @@ -9033,7 +10099,7 @@ export class Deserializer extends DeserializerBase { let value: ScrollAnimationOptions = ({duration: duration_result, curve: curve_result, canOverScroll: canOverScroll_result} as ScrollAnimationOptions) return value } - readScrollBarOptions(): ScrollBarOptions { + public readScrollBarOptions(): ScrollBarOptions { let valueDeserializer: Deserializer = this const scroller_result: Scroller = (valueDeserializer.readScroller() as Scroller) const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9053,7 +10119,7 @@ export class Deserializer extends DeserializerBase { let value: ScrollBarOptions = ({scroller: scroller_result, direction: direction_result, state: state_result} as ScrollBarOptions) return value } - readScrollEdgeOptions(): ScrollEdgeOptions { + public readScrollEdgeOptions(): ScrollEdgeOptions { let valueDeserializer: Deserializer = this const velocity_buf_runtimeType = (valueDeserializer.readInt8() as int32) let velocity_buf: number | undefined|undefined @@ -9065,7 +10131,7 @@ export class Deserializer extends DeserializerBase { let value: ScrollEdgeOptions = ({velocity: velocity_result} as ScrollEdgeOptions) return value } - readScrollPageOptions(): ScrollPageOptions { + public readScrollPageOptions(): ScrollPageOptions { let valueDeserializer: Deserializer = this const next_result: boolean = valueDeserializer.readBoolean() const animation_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9078,33 +10144,7 @@ export class Deserializer extends DeserializerBase { let value: ScrollPageOptions = ({next: next_result, animation: animation_result} as ScrollPageOptions) return value } - readSelectionMenuOptions(): SelectionMenuOptions { - let valueDeserializer: Deserializer = this - const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onAppear_buf: MenuOnAppearCallback | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onAppear_buf_runtimeType)) - { - onAppear_buf = valueDeserializer.readMenuOnAppearCallback() - } - const onAppear_result: MenuOnAppearCallback | undefined|undefined = onAppear_buf - const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onDisappear_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) - { - onDisappear_buf = valueDeserializer.readCallback_Void() - } - const onDisappear_result: (() => void) | undefined|undefined = onDisappear_buf - const menuType_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let menuType_buf: MenuType | undefined|undefined - if ((RuntimeType.UNDEFINED) != (menuType_buf_runtimeType)) - { - menuType_buf = valueDeserializer.readInt32() - } - const menuType_result: MenuType | undefined|undefined = menuType_buf - let value: SelectionMenuOptions = ({onAppear: onAppear_result, onDisappear: onDisappear_result, menuType: menuType_result} as SelectionMenuOptions) - return value - } - readSelectionMenuOptionsExt(): SelectionMenuOptionsExt { + public readSelectionMenuOptionsExt(): SelectionMenuOptionsExt { let valueDeserializer: Deserializer = this const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onAppear_buf: (() => void) | undefined|undefined @@ -9137,7 +10177,7 @@ export class Deserializer extends DeserializerBase { let value: SelectionMenuOptionsExt = ({onAppear: onAppear_result, onDisappear: onDisappear_result, preview: preview_result, menuType: menuType_result} as SelectionMenuOptionsExt) return value } - readSelectionOptions(): SelectionOptions { + public readSelectionOptions(): SelectionOptions { let valueDeserializer: Deserializer = this const menuPolicy_buf_runtimeType = (valueDeserializer.readInt8() as int32) let menuPolicy_buf: MenuPolicy | undefined|undefined @@ -9149,7 +10189,7 @@ export class Deserializer extends DeserializerBase { let value: SelectionOptions = ({menuPolicy: menuPolicy_result} as SelectionOptions) return value } - readShapeSize(): ShapeSize { + public readShapeSize(): ShapeSize { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf: number | string | undefined|undefined @@ -9190,13 +10230,13 @@ export class Deserializer extends DeserializerBase { let value: ShapeSize = ({width: width_result, height: height_result} as ShapeSize) return value } - readSheetDismiss(): SheetDismiss { + public readSheetDismiss(): SheetDismiss { let valueDeserializer: Deserializer = this const dismiss_result: (() => void) = valueDeserializer.readCallback_Void() let value: SheetDismiss = ({dismiss: dismiss_result} as SheetDismiss) return value } - readSlideRange(): SlideRange { + public readSlideRange(): SlideRange { let valueDeserializer: Deserializer = this const from_buf_runtimeType = (valueDeserializer.readInt8() as int32) let from_buf: number | undefined|undefined @@ -9215,7 +10255,7 @@ export class Deserializer extends DeserializerBase { let value: SlideRange = ({from: from_result, to: to_result} as SlideRange) return value } - readSliderOptions(): SliderOptions { + public readSliderOptions(): SliderOptions { let valueDeserializer: Deserializer = this const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) let value_buf: number | undefined|undefined @@ -9269,7 +10309,7 @@ export class Deserializer extends DeserializerBase { let value: SliderOptions = ({value: value_result, min: min_result, max: max_result, step: step_result, style: style_result, direction: direction_result, reverse: reverse_result} as SliderOptions) return value } - readSnapshotOptions(): SnapshotOptions { + public readSnapshotOptions(): SnapshotOptions { let valueDeserializer: Deserializer = this const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) let scale_buf: number | undefined|undefined @@ -9288,13 +10328,13 @@ export class Deserializer extends DeserializerBase { let value: SnapshotOptions = ({scale: scale_result, waitUntilRenderFinished: waitUntilRenderFinished_result} as SnapshotOptions) return value } - readSpringBackAction(): SpringBackAction { + public readSpringBackAction(): SpringBackAction { let valueDeserializer: Deserializer = this const springBack_result: (() => void) = valueDeserializer.readCallback_Void() let value: SpringBackAction = ({springBack: springBack_result} as SpringBackAction) return value } - readSslErrorEvent(): SslErrorEvent { + public readSslErrorEvent(): SslErrorEvent { let valueDeserializer: Deserializer = this const handler_result: SslErrorHandler = (valueDeserializer.readSslErrorHandler() as SslErrorHandler) const error_result: SslError = valueDeserializer.readInt32() @@ -9306,7 +10346,7 @@ export class Deserializer extends DeserializerBase { let value: SslErrorEvent = ({handler: handler_result, error: error_result, url: url_result, originalUrl: originalUrl_result, referrer: referrer_result, isFatalError: isFatalError_result, isMainFrame: isMainFrame_result} as SslErrorEvent) return value } - readStackOptions(): StackOptions { + public readStackOptions(): StackOptions { let valueDeserializer: Deserializer = this const alignContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) let alignContent_buf: Alignment | undefined|undefined @@ -9318,7 +10358,7 @@ export class Deserializer extends DeserializerBase { let value: StackOptions = ({alignContent: alignContent_result} as StackOptions) return value } - readStarStyleOptions(): StarStyleOptions { + public readStarStyleOptions(): StarStyleOptions { let valueDeserializer: Deserializer = this const backgroundUri_result: string = (valueDeserializer.readString() as string) const foregroundUri_result: string = (valueDeserializer.readString() as string) @@ -9332,7 +10372,7 @@ export class Deserializer extends DeserializerBase { let value: StarStyleOptions = ({backgroundUri: backgroundUri_result, foregroundUri: foregroundUri_result, secondaryUri: secondaryUri_result} as StarStyleOptions) return value } - readStateStyles(): StateStyles { + public readStateStyles(): StateStyles { let valueDeserializer: Deserializer = this const normal_buf_runtimeType = (valueDeserializer.readInt8() as int32) let normal_buf: any | undefined|undefined @@ -9379,7 +10419,7 @@ export class Deserializer extends DeserializerBase { let value: StateStyles = ({normal: normal_result, pressed: pressed_result, disabled: disabled_result, focused: focused_result, clicked: clicked_result, selected: selected_result} as StateStyles) return value } - readStyledStringChangedListener(): StyledStringChangedListener { + public readStyledStringChangedListener(): StyledStringChangedListener { let valueDeserializer: Deserializer = this const onWillChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onWillChange_buf: ((parameter: StyledStringChangeValue) => boolean) | undefined|undefined @@ -9398,7 +10438,7 @@ export class Deserializer extends DeserializerBase { let value: StyledStringChangedListener = ({onWillChange: onWillChange_result, onDidChange: onDidChange_result} as StyledStringChangedListener) return value } - readSummary(): Summary { + public readSummary(): Summary { let valueDeserializer: Deserializer = this const summary_buf_size: int32 = valueDeserializer.readInt32() let summary_buf: Map = new Map() @@ -9413,7 +10453,7 @@ export class Deserializer extends DeserializerBase { let value: Summary = ({summary: summary_result, totalSize: totalSize_result} as Summary) return value } - readSurfaceRect(): SurfaceRect { + public readSurfaceRect(): SurfaceRect { let valueDeserializer: Deserializer = this const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) let offsetX_buf: number | undefined|undefined @@ -9434,7 +10474,7 @@ export class Deserializer extends DeserializerBase { let value: SurfaceRect = ({offsetX: offsetX_result, offsetY: offsetY_result, surfaceWidth: surfaceWidth_result, surfaceHeight: surfaceHeight_result} as SurfaceRect) return value } - readSurfaceRotationOptions(): SurfaceRotationOptions { + public readSurfaceRotationOptions(): SurfaceRotationOptions { let valueDeserializer: Deserializer = this const lock_buf_runtimeType = (valueDeserializer.readInt8() as int32) let lock_buf: boolean | undefined|undefined @@ -9446,7 +10486,40 @@ export class Deserializer extends DeserializerBase { let value: SurfaceRotationOptions = ({lock: lock_result} as SurfaceRotationOptions) return value } - readSwiperAutoFill(): SwiperAutoFill { + public readSwipeGestureHandlerOptions(): SwipeGestureHandlerOptions { + let valueDeserializer: Deserializer = this + const isFingerCountLimited_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isFingerCountLimited_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) + { + isFingerCountLimited_buf = valueDeserializer.readBoolean() + } + const isFingerCountLimited_result: boolean | undefined|undefined = isFingerCountLimited_buf + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result: number | undefined|undefined = fingers_buf + const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let direction_buf: SwipeDirection | undefined|undefined + if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf = valueDeserializer.readInt32() + } + const direction_result: SwipeDirection | undefined|undefined = direction_buf + const speed_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let speed_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (speed_buf_runtimeType)) + { + speed_buf = (valueDeserializer.readNumber() as number) + } + const speed_result: number | undefined|undefined = speed_buf + let value: SwipeGestureHandlerOptions = ({isFingerCountLimited: isFingerCountLimited_result, fingers: fingers_result, direction: direction_result, speed: speed_result} as SwipeGestureHandlerOptions) + return value + } + public readSwiperAutoFill(): SwiperAutoFill { let valueDeserializer: Deserializer = this const minSize_buf_selector: number = valueDeserializer.readInt8() let minSize_buf: string | number | undefined|undefined @@ -9463,7 +10536,7 @@ export class Deserializer extends DeserializerBase { let value: SwiperAutoFill = ({minSize: minSize_result} as SwiperAutoFill) return value } - readSwiperContentAnimatedTransition(): SwiperContentAnimatedTransition { + public readSwiperContentAnimatedTransition(): SwiperContentAnimatedTransition { let valueDeserializer: Deserializer = this const timeout_buf_runtimeType = (valueDeserializer.readInt8() as int32) let timeout_buf: number | undefined|undefined @@ -9476,7 +10549,19 @@ export class Deserializer extends DeserializerBase { let value: SwiperContentAnimatedTransition = ({timeout: timeout_result, transition: transition_result} as SwiperContentAnimatedTransition) return value } - readSystemBarStyle(): SystemBarStyle { + public readSystemAdaptiveOptions(): SystemAdaptiveOptions { + let valueDeserializer: Deserializer = this + const disableSystemAdaptation_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disableSystemAdaptation_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (disableSystemAdaptation_buf_runtimeType)) + { + disableSystemAdaptation_buf = valueDeserializer.readBoolean() + } + const disableSystemAdaptation_result: boolean | undefined|undefined = disableSystemAdaptation_buf + let value: SystemAdaptiveOptions = ({disableSystemAdaptation: disableSystemAdaptation_result} as SystemAdaptiveOptions) + return value + } + public readSystemBarStyle(): SystemBarStyle { let valueDeserializer: Deserializer = this const statusBarContentColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) let statusBarContentColor_buf: string | undefined|undefined @@ -9488,7 +10573,7 @@ export class Deserializer extends DeserializerBase { let value: SystemBarStyle = ({statusBarContentColor: statusBarContentColor_result} as SystemBarStyle) return value } - readTabBarSymbol(): TabBarSymbol { + public readTabBarSymbol(): TabBarSymbol { let valueDeserializer: Deserializer = this const normal_result: SymbolGlyphModifier = valueDeserializer.readSymbolGlyphModifier() const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9501,7 +10586,7 @@ export class Deserializer extends DeserializerBase { let value: TabBarSymbol = ({normal: normal_result, selected: selected_result} as TabBarSymbol) return value } - readTabContentAnimatedTransition(): TabContentAnimatedTransition { + public readTabContentAnimatedTransition(): TabContentAnimatedTransition { let valueDeserializer: Deserializer = this const timeout_buf_runtimeType = (valueDeserializer.readInt8() as int32) let timeout_buf: number | undefined|undefined @@ -9514,34 +10599,15 @@ export class Deserializer extends DeserializerBase { let value: TabContentAnimatedTransition = ({timeout: timeout_result, transition: transition_result} as TabContentAnimatedTransition) return value } - readTabsOptions(): TabsOptions { + public readTapGestureParameters(): TapGestureParameters { let valueDeserializer: Deserializer = this - const barPosition_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let barPosition_buf: BarPosition | undefined|undefined - if ((RuntimeType.UNDEFINED) != (barPosition_buf_runtimeType)) - { - barPosition_buf = valueDeserializer.readInt32() - } - const barPosition_result: BarPosition | undefined|undefined = barPosition_buf - const index_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let index_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (index_buf_runtimeType)) - { - index_buf = (valueDeserializer.readNumber() as number) - } - const index_result: number | undefined|undefined = index_buf - const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let controller_buf: TabsController | undefined|undefined - if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) + const isFingerCountLimited_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isFingerCountLimited_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (isFingerCountLimited_buf_runtimeType)) { - controller_buf = (valueDeserializer.readTabsController() as TabsController) + isFingerCountLimited_buf = valueDeserializer.readBoolean() } - const controller_result: TabsController | undefined|undefined = controller_buf - let value: TabsOptions = ({barPosition: barPosition_result, index: index_result, controller: controller_result} as TabsOptions) - return value - } - readTapGestureParameters(): TapGestureParameters { - let valueDeserializer: Deserializer = this + const isFingerCountLimited_result: boolean | undefined|undefined = isFingerCountLimited_buf const count_buf_runtimeType = (valueDeserializer.readInt8() as int32) let count_buf: number | undefined|undefined if ((RuntimeType.UNDEFINED) != (count_buf_runtimeType)) @@ -9563,17 +10629,17 @@ export class Deserializer extends DeserializerBase { distanceThreshold_buf = (valueDeserializer.readNumber() as number) } const distanceThreshold_result: number | undefined|undefined = distanceThreshold_buf - let value: TapGestureParameters = ({count: count_result, fingers: fingers_result, distanceThreshold: distanceThreshold_result} as TapGestureParameters) + let value: TapGestureParameters = ({isFingerCountLimited: isFingerCountLimited_result, count: count_result, fingers: fingers_result, distanceThreshold: distanceThreshold_result} as TapGestureParameters) return value } - readTextBox(): TextBox { + public readTextBox(): TextBox { let valueDeserializer: Deserializer = this const rect_result: Rect = valueDeserializer.readRect() const direction_result: TextDirection = valueDeserializer.readInt32() let value: TextBox = ({rect: rect_result, direction: direction_result} as TextBox) return value } - readTextClockOptions(): TextClockOptions { + public readTextClockOptions(): TextClockOptions { let valueDeserializer: Deserializer = this const timeZoneOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) let timeZoneOffset_buf: number | undefined|undefined @@ -9592,7 +10658,67 @@ export class Deserializer extends DeserializerBase { let value: TextClockOptions = ({timeZoneOffset: timeZoneOffset_result, controller: controller_result} as TextClockOptions) return value } - readTextRange(): TextRange { + public readTextContentControllerOptions(): TextContentControllerOptions { + let valueDeserializer: Deserializer = this + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) + { + offset_buf = (valueDeserializer.readNumber() as number) + } + const offset_result: number | undefined|undefined = offset_buf + let value: TextContentControllerOptions = ({offset: offset_result} as TextContentControllerOptions) + return value + } + public readTextMarqueeOptions(): TextMarqueeOptions { + let valueDeserializer: Deserializer = this + const start_result: boolean = valueDeserializer.readBoolean() + const step_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let step_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (step_buf_runtimeType)) + { + step_buf = (valueDeserializer.readNumber() as number) + } + const step_result: number | undefined|undefined = step_buf + const loop_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let loop_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (loop_buf_runtimeType)) + { + loop_buf = (valueDeserializer.readNumber() as number) + } + const loop_result: number | undefined|undefined = loop_buf + const fromStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fromStart_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fromStart_buf_runtimeType)) + { + fromStart_buf = valueDeserializer.readBoolean() + } + const fromStart_result: boolean | undefined|undefined = fromStart_buf + const delay_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let delay_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (delay_buf_runtimeType)) + { + delay_buf = (valueDeserializer.readNumber() as number) + } + const delay_result: number | undefined|undefined = delay_buf + const fadeout_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fadeout_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fadeout_buf_runtimeType)) + { + fadeout_buf = valueDeserializer.readBoolean() + } + const fadeout_result: boolean | undefined|undefined = fadeout_buf + const marqueeStartPolicy_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let marqueeStartPolicy_buf: MarqueeStartPolicy | undefined|undefined + if ((RuntimeType.UNDEFINED) != (marqueeStartPolicy_buf_runtimeType)) + { + marqueeStartPolicy_buf = valueDeserializer.readInt32() + } + const marqueeStartPolicy_result: MarqueeStartPolicy | undefined|undefined = marqueeStartPolicy_buf + let value: TextMarqueeOptions = ({start: start_result, step: step_result, loop: loop_result, fromStart: fromStart_result, delay: delay_result, fadeout: fadeout_result, marqueeStartPolicy: marqueeStartPolicy_result} as TextMarqueeOptions) + return value + } + public readTextRange(): TextRange { let valueDeserializer: Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf: number | undefined|undefined @@ -9611,12 +10737,12 @@ export class Deserializer extends DeserializerBase { let value: TextRange = ({start: start_result, end: end_result} as TextRange) return value } - readTextShadowStyle(): TextShadowStyle { + public readTextShadowStyle(): TextShadowStyle { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TextShadowStyleInternal.fromPtr(ptr) } - readTextStyle_alert_dialog(): TextStyle_alert_dialog { + public readTextStyle_alert_dialog(): TextStyle_alert_dialog { let valueDeserializer: Deserializer = this const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) let wordBreak_buf: WordBreak | undefined|undefined @@ -9628,7 +10754,7 @@ export class Deserializer extends DeserializerBase { let value: TextStyle_alert_dialog = ({wordBreak: wordBreak_result} as TextStyle_alert_dialog) return value } - readTextTimerOptions(): TextTimerOptions { + public readTextTimerOptions(): TextTimerOptions { let valueDeserializer: Deserializer = this const isCountDown_buf_runtimeType = (valueDeserializer.readInt8() as int32) let isCountDown_buf: boolean | undefined|undefined @@ -9654,7 +10780,7 @@ export class Deserializer extends DeserializerBase { let value: TextTimerOptions = ({isCountDown: isCountDown_result, count: count_result, controller: controller_result} as TextTimerOptions) return value } - readTimePickerOptions(): TimePickerOptions { + public readTimePickerOptions(): TimePickerOptions { let valueDeserializer: Deserializer = this const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) let selected_buf: Date | undefined|undefined @@ -9670,10 +10796,24 @@ export class Deserializer extends DeserializerBase { format_buf = valueDeserializer.readInt32() } const format_result: TimePickerFormat | undefined|undefined = format_buf - let value: TimePickerOptions = ({selected: selected_result, format: format_result} as TimePickerOptions) + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: Date | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = new Date(valueDeserializer.readInt64()) + } + const start_result: Date | undefined|undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: Date | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = new Date(valueDeserializer.readInt64()) + } + const end_result: Date | undefined|undefined = end_buf + let value: TimePickerOptions = ({selected: selected_result, format: format_result, start: start_result, end: end_result} as TimePickerOptions) return value } - readToggleOptions(): ToggleOptions { + public readToggleOptions(): ToggleOptions { let valueDeserializer: Deserializer = this const type_result: ToggleType = valueDeserializer.readInt32() const isOn_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9686,7 +10826,7 @@ export class Deserializer extends DeserializerBase { let value: ToggleOptions = ({type: type_result, isOn: isOn_result} as ToggleOptions) return value } - readTouchObject(): TouchObject { + public readTouchObject(): TouchObject { let valueDeserializer: Deserializer = this const type_result: TouchType = valueDeserializer.readInt32() const id_result: number = (valueDeserializer.readNumber() as number) @@ -9698,10 +10838,45 @@ export class Deserializer extends DeserializerBase { const screenY_result: number = (valueDeserializer.readNumber() as number) const x_result: number = (valueDeserializer.readNumber() as number) const y_result: number = (valueDeserializer.readNumber() as number) - let value: TouchObject = ({type: type_result, id: id_result, displayX: displayX_result, displayY: displayY_result, windowX: windowX_result, windowY: windowY_result, screenX: screenX_result, screenY: screenY_result, x: x_result, y: y_result} as TouchObject) + const hand_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hand_buf: InteractionHand | undefined|undefined + if ((RuntimeType.UNDEFINED) != (hand_buf_runtimeType)) + { + hand_buf = valueDeserializer.readInt32() + } + const hand_result: InteractionHand | undefined|undefined = hand_buf + const pressedTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let pressedTime_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (pressedTime_buf_runtimeType)) + { + pressedTime_buf = (valueDeserializer.readNumber() as number) + } + const pressedTime_result: number | undefined|undefined = pressedTime_buf + const pressure_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let pressure_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (pressure_buf_runtimeType)) + { + pressure_buf = (valueDeserializer.readNumber() as number) + } + const pressure_result: number | undefined|undefined = pressure_buf + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + width_buf = (valueDeserializer.readNumber() as number) + } + const width_result: number | undefined|undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + { + height_buf = (valueDeserializer.readNumber() as number) + } + const height_result: number | undefined|undefined = height_buf + let value: TouchObject = ({type: type_result, id: id_result, displayX: displayX_result, displayY: displayY_result, windowX: windowX_result, windowY: windowY_result, screenX: screenX_result, screenY: screenY_result, x: x_result, y: y_result, hand: hand_result, pressedTime: pressedTime_result, pressure: pressure_result, width: width_result, height: height_result} as TouchObject) return value } - readTouchResult(): TouchResult { + public readTouchResult(): TouchResult { let valueDeserializer: Deserializer = this const strategy_result: TouchTestStrategy = valueDeserializer.readInt32() const id_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9714,7 +10889,7 @@ export class Deserializer extends DeserializerBase { let value: TouchResult = ({strategy: strategy_result, id: id_result} as TouchResult) return value } - readTransformationMatrix(): TransformationMatrix { + public readTransformationMatrix(): TransformationMatrix { let valueDeserializer: Deserializer = this const matrix4x4_buf_length: int32 = valueDeserializer.readInt32() let matrix4x4_buf: Array = new Array(matrix4x4_buf_length) @@ -9725,7 +10900,7 @@ export class Deserializer extends DeserializerBase { let value: TransformationMatrix = ({matrix4x4: matrix4x4_result} as TransformationMatrix) return value } - readTranslateOption(): TranslateOption { + public readTranslateOption(): TranslateOption { let valueDeserializer: Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf: number | undefined|undefined @@ -9751,7 +10926,7 @@ export class Deserializer extends DeserializerBase { let value: TranslateOption = ({x: x_result, y: y_result, z: z_result} as TranslateOption) return value } - readTranslateOptions(): TranslateOptions { + public readTranslateOptions(): TranslateOptions { let valueDeserializer: Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf: number | string | undefined|undefined @@ -9810,7 +10985,7 @@ export class Deserializer extends DeserializerBase { let value: TranslateOptions = ({x: x_result, y: y_result, z: z_result} as TranslateOptions) return value } - readUIExtensionOptions(): UIExtensionOptions { + public readUIExtensionOptions(): UIExtensionOptions { let valueDeserializer: Deserializer = this const isTransferringCaller_buf_runtimeType = (valueDeserializer.readInt8() as int32) let isTransferringCaller_buf: boolean | undefined|undefined @@ -9848,10 +11023,17 @@ export class Deserializer extends DeserializerBase { dpiFollowStrategy_buf = valueDeserializer.readInt32() } const dpiFollowStrategy_result: DpiFollowStrategy | undefined|undefined = dpiFollowStrategy_buf - let value: UIExtensionOptions = ({isTransferringCaller: isTransferringCaller_result, placeholder: placeholder_result, areaChangePlaceholder: areaChangePlaceholder_result, dpiFollowStrategy: dpiFollowStrategy_result} as UIExtensionOptions) + const windowModeFollowStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let windowModeFollowStrategy_buf: WindowModeFollowStrategy | undefined|undefined + if ((RuntimeType.UNDEFINED) != (windowModeFollowStrategy_buf_runtimeType)) + { + windowModeFollowStrategy_buf = valueDeserializer.readInt32() + } + const windowModeFollowStrategy_result: WindowModeFollowStrategy | undefined|undefined = windowModeFollowStrategy_buf + let value: UIExtensionOptions = ({isTransferringCaller: isTransferringCaller_result, placeholder: placeholder_result, areaChangePlaceholder: areaChangePlaceholder_result, dpiFollowStrategy: dpiFollowStrategy_result, windowModeFollowStrategy: windowModeFollowStrategy_result} as UIExtensionOptions) return value } - readViewportRect(): ViewportRect { + public readViewportRect(): ViewportRect { let valueDeserializer: Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf: number | string | undefined|undefined @@ -9928,7 +11110,12 @@ export class Deserializer extends DeserializerBase { let value: ViewportRect = ({x: x_result, y: y_result, width: width_result, height: height_result} as ViewportRect) return value } - readVisibleAreaEventOptions(): VisibleAreaEventOptions { + public readVirtualScrollOptions(): VirtualScrollOptions { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return VirtualScrollOptionsInternal.fromPtr(ptr) + } + public readVisibleAreaEventOptions(): VisibleAreaEventOptions { let valueDeserializer: Deserializer = this const ratios_buf_length: int32 = valueDeserializer.readInt32() let ratios_buf: Array = new Array(ratios_buf_length) @@ -9946,7 +11133,7 @@ export class Deserializer extends DeserializerBase { let value: VisibleAreaEventOptions = ({ratios: ratios_result, expectedUpdateInterval: expectedUpdateInterval_result} as VisibleAreaEventOptions) return value } - readVisibleListContentInfo(): VisibleListContentInfo { + public readVisibleListContentInfo(): VisibleListContentInfo { let valueDeserializer: Deserializer = this const index_result: number = (valueDeserializer.readNumber() as number) const itemGroupArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9966,7 +11153,7 @@ export class Deserializer extends DeserializerBase { let value: VisibleListContentInfo = ({index: index_result, itemGroupArea: itemGroupArea_result, itemIndexInGroup: itemIndexInGroup_result} as VisibleListContentInfo) return value } - readWant(): Want { + public readWant(): Want { let valueDeserializer: Deserializer = this const bundleName_buf_runtimeType = (valueDeserializer.readInt8() as int32) let bundleName_buf: string | undefined|undefined @@ -10054,7 +11241,7 @@ export class Deserializer extends DeserializerBase { let value: Want = ({bundleName: bundleName_result, abilityName: abilityName_result, deviceId: deviceId_result, uri: uri_result, type: type_result, flags: flags_result, action: action_result, parameters: parameters_result, entities: entities_result, moduleName: moduleName_result} as Want) return value } - readWaterFlowOptions(): WaterFlowOptions { + public readWaterFlowOptions(): WaterFlowOptions { let valueDeserializer: Deserializer = this const footer_buf_runtimeType = (valueDeserializer.readInt8() as int32) let footer_buf: CustomBuilder | undefined|undefined @@ -10063,6 +11250,13 @@ export class Deserializer extends DeserializerBase { footer_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) } const footer_result: CustomBuilder | undefined|undefined = footer_buf + const footerContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let footerContent_buf: ComponentContent | undefined|undefined + if ((RuntimeType.UNDEFINED) != (footerContent_buf_runtimeType)) + { + footerContent_buf = (valueDeserializer.readComponentContent() as ComponentContent) + } + const footerContent_result: ComponentContent | undefined|undefined = footerContent_buf const scroller_buf_runtimeType = (valueDeserializer.readInt8() as int32) let scroller_buf: Scroller | undefined|undefined if ((RuntimeType.UNDEFINED) != (scroller_buf_runtimeType)) @@ -10084,10 +11278,10 @@ export class Deserializer extends DeserializerBase { layoutMode_buf = valueDeserializer.readInt32() } const layoutMode_result: WaterFlowLayoutMode | undefined|undefined = layoutMode_buf - let value: WaterFlowOptions = ({footer: footer_result, scroller: scroller_result, sections: sections_result, layoutMode: layoutMode_result} as WaterFlowOptions) + let value: WaterFlowOptions = ({footer: footer_result, footerContent: footerContent_result, scroller: scroller_result, sections: sections_result, layoutMode: layoutMode_result} as WaterFlowOptions) return value } - readWebKeyboardCallbackInfo(): WebKeyboardCallbackInfo { + public readWebKeyboardCallbackInfo(): WebKeyboardCallbackInfo { let valueDeserializer: Deserializer = this const controller_result: WebKeyboardController = (valueDeserializer.readWebKeyboardController() as WebKeyboardController) const attributes_buf_size: int32 = valueDeserializer.readInt32() @@ -10102,7 +11296,7 @@ export class Deserializer extends DeserializerBase { let value: WebKeyboardCallbackInfo = ({controller: controller_result, attributes: attributes_result} as WebKeyboardCallbackInfo) return value } - readWebKeyboardOptions(): WebKeyboardOptions { + public readWebKeyboardOptions(): WebKeyboardOptions { let valueDeserializer: Deserializer = this const useSystemKeyboard_result: boolean = valueDeserializer.readBoolean() const enterKeyType_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -10122,7 +11316,7 @@ export class Deserializer extends DeserializerBase { let value: WebKeyboardOptions = ({useSystemKeyboard: useSystemKeyboard_result, enterKeyType: enterKeyType_result, customKeyboard: customKeyboard_result} as WebKeyboardOptions) return value } - readWebMediaOptions(): WebMediaOptions { + public readWebMediaOptions(): WebMediaOptions { let valueDeserializer: Deserializer = this const resumeInterval_buf_runtimeType = (valueDeserializer.readInt8() as int32) let resumeInterval_buf: number | undefined|undefined @@ -10141,7 +11335,7 @@ export class Deserializer extends DeserializerBase { let value: WebMediaOptions = ({resumeInterval: resumeInterval_result, audioExclusive: audioExclusive_result} as WebMediaOptions) return value } - readWebOptions(): WebOptions { + public readWebOptions(): WebOptions { let valueDeserializer: Deserializer = this const src_buf_selector: number = valueDeserializer.readInt8() let src_buf: string | Resource | undefined|undefined @@ -10191,7 +11385,7 @@ export class Deserializer extends DeserializerBase { let value: WebOptions = ({src: src_result, controller: controller_result, renderMode: renderMode_result, incognitoMode: incognitoMode_result, sharedRenderProcessToken: sharedRenderProcessToken_result} as WebOptions) return value } - readWorkerOptions(): WorkerOptions { + public readWorkerOptions(): WorkerOptions { let valueDeserializer: Deserializer = this const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) let type_buf: string | undefined|undefined @@ -10217,18 +11411,18 @@ export class Deserializer extends DeserializerBase { let value: WorkerOptions = ({type: type_result, name: name_result, shared: shared_result} as WorkerOptions) return value } - readWrappedBuilder(): WrappedBuilder { + public readWrappedBuilder(): WrappedBuilder { let valueDeserializer: Deserializer = this const builder_result: ((...args: CommonConfiguration[]) => void) = valueDeserializer.readCallback_WrappedBuilder_Args_Void() let value: WrappedBuilder = ({builder: builder_result} as WrappedBuilder) return value } - readXComponentController(): XComponentController { + public readXComponentController(): XComponentController { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return XComponentControllerInternal.fromPtr(ptr) } - readActionSheetButtonOptions(): ActionSheetButtonOptions { + public readActionSheetButtonOptions(): ActionSheetButtonOptions { let valueDeserializer: Deserializer = this const enabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) let enabled_buf: boolean | undefined|undefined @@ -10267,7 +11461,7 @@ export class Deserializer extends DeserializerBase { let value: ActionSheetButtonOptions = ({enabled: enabled_result, defaultFocus: defaultFocus_result, style: style_result, value: value_result, action: action_result} as ActionSheetButtonOptions) return value } - readActionSheetOffset(): ActionSheetOffset { + public readActionSheetOffset(): ActionSheetOffset { let valueDeserializer: Deserializer = this const dx_buf_selector: number = valueDeserializer.readInt8() let dx_buf: number | string | Resource | undefined|undefined @@ -10302,7 +11496,7 @@ export class Deserializer extends DeserializerBase { let value: ActionSheetOffset = ({dx: dx_result, dy: dy_result} as ActionSheetOffset) return value } - readAlertDialogButtonBaseOptions(): AlertDialogButtonBaseOptions { + public readAlertDialogButtonBaseOptions(): AlertDialogButtonBaseOptions { let valueDeserializer: Deserializer = this const enabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) let enabled_buf: boolean | undefined|undefined @@ -10389,7 +11583,7 @@ export class Deserializer extends DeserializerBase { let value: AlertDialogButtonBaseOptions = ({enabled: enabled_result, defaultFocus: defaultFocus_result, style: style_result, value: value_result, fontColor: fontColor_result, backgroundColor: backgroundColor_result, action: action_result} as AlertDialogButtonBaseOptions) return value } - readAlertDialogButtonOptions(): AlertDialogButtonOptions { + public readAlertDialogButtonOptions(): AlertDialogButtonOptions { let valueDeserializer: Deserializer = this const enabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) let enabled_buf: boolean | undefined|undefined @@ -10483,7 +11677,7 @@ export class Deserializer extends DeserializerBase { let value: AlertDialogButtonOptions = ({enabled: enabled_result, defaultFocus: defaultFocus_result, style: style_result, value: value_result, fontColor: fontColor_result, backgroundColor: backgroundColor_result, action: action_result, primary: primary_result} as AlertDialogButtonOptions) return value } - readAlignRuleOption(): AlignRuleOption { + public readAlignRuleOption(): AlignRuleOption { let valueDeserializer: Deserializer = this const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) let left_buf: { anchor: string, align: HorizontalAlign } | undefined|undefined @@ -10549,7 +11743,7 @@ export class Deserializer extends DeserializerBase { let value: AlignRuleOption = ({left: left_result, right: right_result, middle: middle_result, top: top_result, bottom: bottom_result, center: center_result, bias: bias_result} as AlignRuleOption) return value } - readAnimateParam(): AnimateParam { + public readAnimateParam(): AnimateParam { let valueDeserializer: Deserializer = this const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) let duration_buf: number | undefined|undefined @@ -10631,122 +11825,13 @@ export class Deserializer extends DeserializerBase { let value: AnimateParam = ({duration: duration_result, tempo: tempo_result, curve: curve_result, delay: delay_result, iterations: iterations_result, playMode: playMode_result, onFinish: onFinish_result, finishCallbackType: finishCallbackType_result, expectedFrameRateRange: expectedFrameRateRange_result} as AnimateParam) return value } - readArrowStyle(): ArrowStyle { + public readBackgroundBlurStyleOptions(): BackgroundBlurStyleOptions { let valueDeserializer: Deserializer = this - const showBackground_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let showBackground_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (showBackground_buf_runtimeType)) + const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colorMode_buf: ThemeColorMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) { - showBackground_buf = valueDeserializer.readBoolean() - } - const showBackground_result: boolean | undefined|undefined = showBackground_buf - const isSidebarMiddle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let isSidebarMiddle_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (isSidebarMiddle_buf_runtimeType)) - { - isSidebarMiddle_buf = valueDeserializer.readBoolean() - } - const isSidebarMiddle_result: boolean | undefined|undefined = isSidebarMiddle_buf - const backgroundSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundSize_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundSize_buf_runtimeType)) - { - const backgroundSize_buf__selector: number = valueDeserializer.readInt8() - let backgroundSize_buf_: string | number | Resource | undefined|undefined - if (backgroundSize_buf__selector == 0) { - backgroundSize_buf_ = (valueDeserializer.readString() as string) - } - else if (backgroundSize_buf__selector == 1) { - backgroundSize_buf_ = (valueDeserializer.readNumber() as number) - } - else if (backgroundSize_buf__selector == 2) { - backgroundSize_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for backgroundSize_buf_ has to be chosen through deserialisation.") - } - backgroundSize_buf = (backgroundSize_buf_ as string | number | Resource) - } - const backgroundSize_result: Length | undefined|undefined = backgroundSize_buf - const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) - { - const backgroundColor_buf__selector: number = valueDeserializer.readInt8() - let backgroundColor_buf_: Color | number | string | Resource | undefined|undefined - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_ = valueDeserializer.readInt32() - } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_ = (valueDeserializer.readString() as string) - } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") - } - backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) - } - const backgroundColor_result: ResourceColor | undefined|undefined = backgroundColor_buf - const arrowSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let arrowSize_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (arrowSize_buf_runtimeType)) - { - const arrowSize_buf__selector: number = valueDeserializer.readInt8() - let arrowSize_buf_: string | number | Resource | undefined|undefined - if (arrowSize_buf__selector == 0) { - arrowSize_buf_ = (valueDeserializer.readString() as string) - } - else if (arrowSize_buf__selector == 1) { - arrowSize_buf_ = (valueDeserializer.readNumber() as number) - } - else if (arrowSize_buf__selector == 2) { - arrowSize_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for arrowSize_buf_ has to be chosen through deserialisation.") - } - arrowSize_buf = (arrowSize_buf_ as string | number | Resource) - } - const arrowSize_result: Length | undefined|undefined = arrowSize_buf - const arrowColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let arrowColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (arrowColor_buf_runtimeType)) - { - const arrowColor_buf__selector: number = valueDeserializer.readInt8() - let arrowColor_buf_: Color | number | string | Resource | undefined|undefined - if (arrowColor_buf__selector == 0) { - arrowColor_buf_ = valueDeserializer.readInt32() - } - else if (arrowColor_buf__selector == 1) { - arrowColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (arrowColor_buf__selector == 2) { - arrowColor_buf_ = (valueDeserializer.readString() as string) - } - else if (arrowColor_buf__selector == 3) { - arrowColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for arrowColor_buf_ has to be chosen through deserialisation.") - } - arrowColor_buf = (arrowColor_buf_ as Color | number | string | Resource) - } - const arrowColor_result: ResourceColor | undefined|undefined = arrowColor_buf - let value: ArrowStyle = ({showBackground: showBackground_result, isSidebarMiddle: isSidebarMiddle_result, backgroundSize: backgroundSize_result, backgroundColor: backgroundColor_result, arrowSize: arrowSize_result, arrowColor: arrowColor_result} as ArrowStyle) - return value - } - readBackgroundBlurStyleOptions(): BackgroundBlurStyleOptions { - let valueDeserializer: Deserializer = this - const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colorMode_buf: ThemeColorMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) - { - colorMode_buf = valueDeserializer.readInt32() + colorMode_buf = valueDeserializer.readInt32() } const colorMode_result: ThemeColorMode | undefined|undefined = colorMode_buf const adaptiveColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -10804,7 +11889,7 @@ export class Deserializer extends DeserializerBase { let value: BackgroundBlurStyleOptions = ({colorMode: colorMode_result, adaptiveColor: adaptiveColor_result, scale: scale_result, blurOptions: blurOptions_result, policy: policy_result, inactiveColor: inactiveColor_result} as BackgroundBlurStyleOptions) return value } - readBackgroundEffectOptions(): BackgroundEffectOptions { + public readBackgroundEffectOptions(): BackgroundEffectOptions { let valueDeserializer: Deserializer = this const radius_result: number = (valueDeserializer.readNumber() as number) const saturation_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -10893,7 +11978,129 @@ export class Deserializer extends DeserializerBase { let value: BackgroundEffectOptions = ({radius: radius_result, saturation: saturation_result, brightness: brightness_result, color: color_result, adaptiveColor: adaptiveColor_result, blurOptions: blurOptions_result, policy: policy_result, inactiveColor: inactiveColor_result} as BackgroundEffectOptions) return value } - readBadgeStyle(): BadgeStyle { + public readButtonIconOptions(): ButtonIconOptions { + let valueDeserializer: Deserializer = this + const shown_buf_selector: number = valueDeserializer.readInt8() + let shown_buf: string | PixelMap | Resource | undefined|undefined + if (shown_buf_selector == 0) { + shown_buf = (valueDeserializer.readString() as string) + } + else if (shown_buf_selector == 1) { + shown_buf = (valueDeserializer.readPixelMap() as PixelMap) + } + else if (shown_buf_selector == 2) { + shown_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for shown_buf has to be chosen through deserialisation.") + } + const shown_result: string | PixelMap | Resource = (shown_buf as string | PixelMap | Resource) + const hidden_buf_selector: number = valueDeserializer.readInt8() + let hidden_buf: string | PixelMap | Resource | undefined|undefined + if (hidden_buf_selector == 0) { + hidden_buf = (valueDeserializer.readString() as string) + } + else if (hidden_buf_selector == 1) { + hidden_buf = (valueDeserializer.readPixelMap() as PixelMap) + } + else if (hidden_buf_selector == 2) { + hidden_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for hidden_buf has to be chosen through deserialisation.") + } + const hidden_result: string | PixelMap | Resource = (hidden_buf as string | PixelMap | Resource) + const switching_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let switching_buf: string | PixelMap | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (switching_buf_runtimeType)) + { + const switching_buf__selector: number = valueDeserializer.readInt8() + let switching_buf_: string | PixelMap | Resource | undefined|undefined + if (switching_buf__selector == 0) { + switching_buf_ = (valueDeserializer.readString() as string) + } + else if (switching_buf__selector == 1) { + switching_buf_ = (valueDeserializer.readPixelMap() as PixelMap) + } + else if (switching_buf__selector == 2) { + switching_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for switching_buf_ has to be chosen through deserialisation.") + } + switching_buf = (switching_buf_ as string | PixelMap | Resource) + } + const switching_result: string | PixelMap | Resource | undefined|undefined = switching_buf + let value: ButtonIconOptions = ({shown: shown_result, hidden: hidden_result, switching: switching_result} as ButtonIconOptions) + return value + } + public readCalendarOptions(): CalendarOptions { + let valueDeserializer: Deserializer = this + const hintRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hintRadius_buf: number | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (hintRadius_buf_runtimeType)) + { + const hintRadius_buf__selector: number = valueDeserializer.readInt8() + let hintRadius_buf_: number | Resource | undefined|undefined + if (hintRadius_buf__selector == 0) { + hintRadius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (hintRadius_buf__selector == 1) { + hintRadius_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for hintRadius_buf_ has to be chosen through deserialisation.") + } + hintRadius_buf = (hintRadius_buf_ as number | Resource) + } + const hintRadius_result: number | Resource | undefined|undefined = hintRadius_buf + const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let selected_buf: Date | undefined|undefined + if ((RuntimeType.UNDEFINED) != (selected_buf_runtimeType)) + { + selected_buf = new Date(valueDeserializer.readInt64()) + } + const selected_result: Date | undefined|undefined = selected_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: Date | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = new Date(valueDeserializer.readInt64()) + } + const start_result: Date | undefined|undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: Date | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = new Date(valueDeserializer.readInt64()) + } + const end_result: Date | undefined|undefined = end_buf + const disabledDateRange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disabledDateRange_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (disabledDateRange_buf_runtimeType)) + { + const disabledDateRange_buf__length: int32 = valueDeserializer.readInt32() + let disabledDateRange_buf_: Array = new Array(disabledDateRange_buf__length) + for (let disabledDateRange_buf__i = 0; disabledDateRange_buf__i < disabledDateRange_buf__length; disabledDateRange_buf__i++) { + disabledDateRange_buf_[disabledDateRange_buf__i] = valueDeserializer.readDateRange() + } + disabledDateRange_buf = disabledDateRange_buf_ + } + const disabledDateRange_result: Array | undefined|undefined = disabledDateRange_buf + let value: CalendarOptions = ({hintRadius: hintRadius_result, selected: selected_result, start: start_result, end: end_result, disabledDateRange: disabledDateRange_result} as CalendarOptions) + return value + } + public readCanvasRenderer(): CanvasRenderer { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return CanvasRendererInternal.fromPtr(ptr) + } + public readCanvasRenderingContext2D(): CanvasRenderingContext2D { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return CanvasRenderingContext2DInternal.fromPtr(ptr) + } + public readCircleStyleOptions(): CircleStyleOptions { let valueDeserializer: Deserializer = this const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) let color_buf: ResourceColor | undefined|undefined @@ -10919,3098 +12126,4577 @@ export class Deserializer extends DeserializerBase { color_buf = (color_buf_ as Color | number | string | Resource) } const color_result: ResourceColor | undefined|undefined = color_buf - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let radius_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) { - const fontSize_buf__selector: number = valueDeserializer.readInt8() - let fontSize_buf_: number | string | undefined|undefined - if (fontSize_buf__selector == 0) { - fontSize_buf_ = (valueDeserializer.readNumber() as number) - } - else if (fontSize_buf__selector == 1) { - fontSize_buf_ = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") - } - fontSize_buf = (fontSize_buf_ as number | string) + radius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } - const fontSize_result: number | string | undefined|undefined = fontSize_buf - const badgeSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let badgeSize_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (badgeSize_buf_runtimeType)) + const radius_result: LengthMetrics | undefined|undefined = radius_buf + const enableWaveEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableWaveEffect_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableWaveEffect_buf_runtimeType)) { - const badgeSize_buf__selector: number = valueDeserializer.readInt8() - let badgeSize_buf_: number | string | undefined|undefined - if (badgeSize_buf__selector == 0) { - badgeSize_buf_ = (valueDeserializer.readNumber() as number) - } - else if (badgeSize_buf__selector == 1) { - badgeSize_buf_ = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for badgeSize_buf_ has to be chosen through deserialisation.") - } - badgeSize_buf = (badgeSize_buf_ as number | string) + enableWaveEffect_buf = valueDeserializer.readBoolean() } - const badgeSize_result: number | string | undefined|undefined = badgeSize_buf - const badgeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let badgeColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (badgeColor_buf_runtimeType)) + const enableWaveEffect_result: boolean | undefined|undefined = enableWaveEffect_buf + const enableForeground_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableForeground_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableForeground_buf_runtimeType)) { - const badgeColor_buf__selector: number = valueDeserializer.readInt8() - let badgeColor_buf_: Color | number | string | Resource | undefined|undefined - if (badgeColor_buf__selector == 0) { - badgeColor_buf_ = valueDeserializer.readInt32() - } - else if (badgeColor_buf__selector == 1) { - badgeColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (badgeColor_buf__selector == 2) { - badgeColor_buf_ = (valueDeserializer.readString() as string) - } - else if (badgeColor_buf__selector == 3) { - badgeColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for badgeColor_buf_ has to be chosen through deserialisation.") - } - badgeColor_buf = (badgeColor_buf_ as Color | number | string | Resource) + enableForeground_buf = valueDeserializer.readBoolean() } - const badgeColor_result: ResourceColor | undefined|undefined = badgeColor_buf - const borderColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf_runtimeType)) + const enableForeground_result: boolean | undefined|undefined = enableForeground_buf + let value: CircleStyleOptions = ({color: color_result, radius: radius_result, enableWaveEffect: enableWaveEffect_result, enableForeground: enableForeground_result} as CircleStyleOptions) + return value + } + public readComponentInfo(): ComponentInfo { + let valueDeserializer: Deserializer = this + const size_result: Size = valueDeserializer.readSize() + const localOffset_result: Offset_componentutils = valueDeserializer.readOffset_componentutils() + const windowOffset_result: Offset_componentutils = valueDeserializer.readOffset_componentutils() + const screenOffset_result: Offset_componentutils = valueDeserializer.readOffset_componentutils() + const translate_result: TranslateResult = valueDeserializer.readTranslateResult() + const scale_result: ScaleResult = valueDeserializer.readScaleResult() + const rotate_result: RotateResult = valueDeserializer.readRotateResult() + const transform_buf_value0: number = (valueDeserializer.readNumber() as number) + const transform_buf_value1: number = (valueDeserializer.readNumber() as number) + const transform_buf_value2: number = (valueDeserializer.readNumber() as number) + const transform_buf_value3: number = (valueDeserializer.readNumber() as number) + const transform_buf_value4: number = (valueDeserializer.readNumber() as number) + const transform_buf_value5: number = (valueDeserializer.readNumber() as number) + const transform_buf_value6: number = (valueDeserializer.readNumber() as number) + const transform_buf_value7: number = (valueDeserializer.readNumber() as number) + const transform_buf_value8: number = (valueDeserializer.readNumber() as number) + const transform_buf_value9: number = (valueDeserializer.readNumber() as number) + const transform_buf_value10: number = (valueDeserializer.readNumber() as number) + const transform_buf_value11: number = (valueDeserializer.readNumber() as number) + const transform_buf_value12: number = (valueDeserializer.readNumber() as number) + const transform_buf_value13: number = (valueDeserializer.readNumber() as number) + const transform_buf_value14: number = (valueDeserializer.readNumber() as number) + const transform_buf_value15: number = (valueDeserializer.readNumber() as number) + const transform_result: Matrix4Result = ([transform_buf_value0, transform_buf_value1, transform_buf_value2, transform_buf_value3, transform_buf_value4, transform_buf_value5, transform_buf_value6, transform_buf_value7, transform_buf_value8, transform_buf_value9, transform_buf_value10, transform_buf_value11, transform_buf_value12, transform_buf_value13, transform_buf_value14, transform_buf_value15] as Matrix4Result) + let value: ComponentInfo = ({size: size_result, localOffset: localOffset_result, windowOffset: windowOffset_result, screenOffset: screenOffset_result, translate: translate_result, scale: scale_result, rotate: rotate_result, transform: transform_result} as ComponentInfo) + return value + } + public readContentCoverOptions(): ContentCoverOptions { + let valueDeserializer: Deserializer = this + const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) { - const borderColor_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__selector == 0) { - borderColor_buf_ = valueDeserializer.readInt32() + const backgroundColor_buf__selector: number = valueDeserializer.readInt8() + let backgroundColor_buf_: Color | number | string | Resource | undefined|undefined + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_ = valueDeserializer.readInt32() } - else if (borderColor_buf__selector == 1) { - borderColor_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (borderColor_buf__selector == 2) { - borderColor_buf_ = (valueDeserializer.readString() as string) + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_ = (valueDeserializer.readString() as string) } - else if (borderColor_buf__selector == 3) { - borderColor_buf_ = valueDeserializer.readResource() + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") } - borderColor_buf = (borderColor_buf_ as Color | number | string | Resource) + backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) } - const borderColor_result: ResourceColor | undefined|undefined = borderColor_buf - const borderWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf_runtimeType)) + const backgroundColor_result: ResourceColor | undefined|undefined = backgroundColor_buf + const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onAppear_buf_runtimeType)) { - const borderWidth_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__selector == 0) { - borderWidth_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__selector == 1) { - borderWidth_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__selector == 2) { - borderWidth_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf = (borderWidth_buf_ as string | number | Resource) + onAppear_buf = valueDeserializer.readCallback_Void() } - const borderWidth_result: Length | undefined|undefined = borderWidth_buf - const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontWeight_buf: number | FontWeight | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + const onAppear_result: (() => void) | undefined|undefined = onAppear_buf + const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) { - const fontWeight_buf__selector: number = valueDeserializer.readInt8() - let fontWeight_buf_: number | FontWeight | string | undefined|undefined - if (fontWeight_buf__selector == 0) { - fontWeight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_ = valueDeserializer.readInt32() - } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_ = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") - } - fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) + onDisappear_buf = valueDeserializer.readCallback_Void() } - const fontWeight_result: number | FontWeight | string | undefined|undefined = fontWeight_buf - let value: BadgeStyle = ({color: color_result, fontSize: fontSize_result, badgeSize: badgeSize_result, badgeColor: badgeColor_result, borderColor: borderColor_result, borderWidth: borderWidth_result, fontWeight: fontWeight_result} as BadgeStyle) + const onDisappear_result: (() => void) | undefined|undefined = onDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result: (() => void) | undefined|undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result: (() => void) | undefined|undefined = onWillDisappear_buf + const modalTransition_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let modalTransition_buf: ModalTransition | undefined|undefined + if ((RuntimeType.UNDEFINED) != (modalTransition_buf_runtimeType)) + { + modalTransition_buf = valueDeserializer.readInt32() + } + const modalTransition_result: ModalTransition | undefined|undefined = modalTransition_buf + const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDismiss_buf: ((parameter: DismissContentCoverAction) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) + { + onWillDismiss_buf = valueDeserializer.readCallback_DismissContentCoverAction_Void() + } + const onWillDismiss_result: ((parameter: DismissContentCoverAction) => void) | undefined|undefined = onWillDismiss_buf + const transition_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let transition_buf: TransitionEffect | undefined|undefined + if ((RuntimeType.UNDEFINED) != (transition_buf_runtimeType)) + { + transition_buf = (valueDeserializer.readTransitionEffect() as TransitionEffect) + } + const transition_result: TransitionEffect | undefined|undefined = transition_buf + let value: ContentCoverOptions = ({backgroundColor: backgroundColor_result, onAppear: onAppear_result, onDisappear: onDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, modalTransition: modalTransition_result, onWillDismiss: onWillDismiss_result, transition: transition_result} as ContentCoverOptions) return value } - readBarGridColumnOptions(): BarGridColumnOptions { + public readContextMenuAnimationOptions(): ContextMenuAnimationOptions { let valueDeserializer: Deserializer = this - const sm_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let sm_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (sm_buf_runtimeType)) + const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scale_buf: [ number, number ] | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) { - sm_buf = (valueDeserializer.readNumber() as number) + const scale_buf__value0: number = (valueDeserializer.readNumber() as number) + const scale_buf__value1: number = (valueDeserializer.readNumber() as number) + scale_buf = ([scale_buf__value0, scale_buf__value1] as [ number, number ]) } - const sm_result: number | undefined|undefined = sm_buf - const md_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let md_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (md_buf_runtimeType)) + const scale_result: [ number, number ] | undefined|undefined = scale_buf + const transition_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let transition_buf: TransitionEffect | undefined|undefined + if ((RuntimeType.UNDEFINED) != (transition_buf_runtimeType)) { - md_buf = (valueDeserializer.readNumber() as number) + transition_buf = (valueDeserializer.readTransitionEffect() as TransitionEffect) } - const md_result: number | undefined|undefined = md_buf - const lg_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lg_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lg_buf_runtimeType)) + const transition_result: TransitionEffect | undefined|undefined = transition_buf + const hoverScale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hoverScale_buf: [ number, number ] | undefined|undefined + if ((RuntimeType.UNDEFINED) != (hoverScale_buf_runtimeType)) { - lg_buf = (valueDeserializer.readNumber() as number) + const hoverScale_buf__value0: number = (valueDeserializer.readNumber() as number) + const hoverScale_buf__value1: number = (valueDeserializer.readNumber() as number) + hoverScale_buf = ([hoverScale_buf__value0, hoverScale_buf__value1] as [ number, number ]) } - const lg_result: number | undefined|undefined = lg_buf - const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) + const hoverScale_result: [ number, number ] | undefined|undefined = hoverScale_buf + let value: ContextMenuAnimationOptions = ({scale: scale_result, transition: transition_result, hoverScale: hoverScale_result} as ContextMenuAnimationOptions) + return value + } + public readCurrentDayStyle(): CurrentDayStyle { + let valueDeserializer: Deserializer = this + const dayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dayColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (dayColor_buf_runtimeType)) { - const margin_buf__selector: number = valueDeserializer.readInt8() - let margin_buf_: string | number | Resource | undefined|undefined - if (margin_buf__selector == 0) { - margin_buf_ = (valueDeserializer.readString() as string) + const dayColor_buf__selector: number = valueDeserializer.readInt8() + let dayColor_buf_: Color | number | string | Resource | undefined|undefined + if (dayColor_buf__selector == 0) { + dayColor_buf_ = valueDeserializer.readInt32() } - else if (margin_buf__selector == 1) { - margin_buf_ = (valueDeserializer.readNumber() as number) + else if (dayColor_buf__selector == 1) { + dayColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (margin_buf__selector == 2) { - margin_buf_ = valueDeserializer.readResource() + else if (dayColor_buf__selector == 2) { + dayColor_buf_ = (valueDeserializer.readString() as string) + } + else if (dayColor_buf__selector == 3) { + dayColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for dayColor_buf_ has to be chosen through deserialisation.") } - margin_buf = (margin_buf_ as string | number | Resource) + dayColor_buf = (dayColor_buf_ as Color | number | string | Resource) } - const margin_result: Dimension | undefined|undefined = margin_buf - const gutter_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let gutter_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (gutter_buf_runtimeType)) + const dayColor_result: ResourceColor | undefined|undefined = dayColor_buf + const lunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lunarColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lunarColor_buf_runtimeType)) { - const gutter_buf__selector: number = valueDeserializer.readInt8() - let gutter_buf_: string | number | Resource | undefined|undefined - if (gutter_buf__selector == 0) { - gutter_buf_ = (valueDeserializer.readString() as string) + const lunarColor_buf__selector: number = valueDeserializer.readInt8() + let lunarColor_buf_: Color | number | string | Resource | undefined|undefined + if (lunarColor_buf__selector == 0) { + lunarColor_buf_ = valueDeserializer.readInt32() } - else if (gutter_buf__selector == 1) { - gutter_buf_ = (valueDeserializer.readNumber() as number) + else if (lunarColor_buf__selector == 1) { + lunarColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (gutter_buf__selector == 2) { - gutter_buf_ = valueDeserializer.readResource() + else if (lunarColor_buf__selector == 2) { + lunarColor_buf_ = (valueDeserializer.readString() as string) + } + else if (lunarColor_buf__selector == 3) { + lunarColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for gutter_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for lunarColor_buf_ has to be chosen through deserialisation.") } - gutter_buf = (gutter_buf_ as string | number | Resource) + lunarColor_buf = (lunarColor_buf_ as Color | number | string | Resource) } - const gutter_result: Dimension | undefined|undefined = gutter_buf - let value: BarGridColumnOptions = ({sm: sm_result, md: md_result, lg: lg_result, margin: margin_result, gutter: gutter_result} as BarGridColumnOptions) - return value - } - readBoardStyle(): BoardStyle { - let valueDeserializer: Deserializer = this - const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) + const lunarColor_result: ResourceColor | undefined|undefined = lunarColor_buf + const markLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let markLunarColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (markLunarColor_buf_runtimeType)) { - const borderRadius_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__selector == 0) { - borderRadius_buf_ = (valueDeserializer.readString() as string) + const markLunarColor_buf__selector: number = valueDeserializer.readInt8() + let markLunarColor_buf_: Color | number | string | Resource | undefined|undefined + if (markLunarColor_buf__selector == 0) { + markLunarColor_buf_ = valueDeserializer.readInt32() } - else if (borderRadius_buf__selector == 1) { - borderRadius_buf_ = (valueDeserializer.readNumber() as number) + else if (markLunarColor_buf__selector == 1) { + markLunarColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (borderRadius_buf__selector == 2) { - borderRadius_buf_ = valueDeserializer.readResource() + else if (markLunarColor_buf__selector == 2) { + markLunarColor_buf_ = (valueDeserializer.readString() as string) + } + else if (markLunarColor_buf__selector == 3) { + markLunarColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for markLunarColor_buf_ has to be chosen through deserialisation.") } - borderRadius_buf = (borderRadius_buf_ as string | number | Resource) + markLunarColor_buf = (markLunarColor_buf_ as Color | number | string | Resource) } - const borderRadius_result: Length | undefined|undefined = borderRadius_buf - let value: BoardStyle = ({borderRadius: borderRadius_result} as BoardStyle) - return value - } - readButtonIconOptions(): ButtonIconOptions { - let valueDeserializer: Deserializer = this - const shown_buf_selector: number = valueDeserializer.readInt8() - let shown_buf: string | PixelMap | Resource | undefined|undefined - if (shown_buf_selector == 0) { - shown_buf = (valueDeserializer.readString() as string) + const markLunarColor_result: ResourceColor | undefined|undefined = markLunarColor_buf + const dayFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dayFontSize_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (dayFontSize_buf_runtimeType)) + { + dayFontSize_buf = (valueDeserializer.readNumber() as number) } - else if (shown_buf_selector == 1) { - shown_buf = (valueDeserializer.readPixelMap() as PixelMap) + const dayFontSize_result: number | undefined|undefined = dayFontSize_buf + const lunarDayFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lunarDayFontSize_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lunarDayFontSize_buf_runtimeType)) + { + lunarDayFontSize_buf = (valueDeserializer.readNumber() as number) } - else if (shown_buf_selector == 2) { - shown_buf = valueDeserializer.readResource() + const lunarDayFontSize_result: number | undefined|undefined = lunarDayFontSize_buf + const dayHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dayHeight_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (dayHeight_buf_runtimeType)) + { + dayHeight_buf = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for shown_buf has to be chosen through deserialisation.") + const dayHeight_result: number | undefined|undefined = dayHeight_buf + const dayWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dayWidth_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (dayWidth_buf_runtimeType)) + { + dayWidth_buf = (valueDeserializer.readNumber() as number) } - const shown_result: string | PixelMap | Resource = (shown_buf as string | PixelMap | Resource) - const hidden_buf_selector: number = valueDeserializer.readInt8() - let hidden_buf: string | PixelMap | Resource | undefined|undefined - if (hidden_buf_selector == 0) { - hidden_buf = (valueDeserializer.readString() as string) + const dayWidth_result: number | undefined|undefined = dayWidth_buf + const gregorianCalendarHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let gregorianCalendarHeight_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (gregorianCalendarHeight_buf_runtimeType)) + { + gregorianCalendarHeight_buf = (valueDeserializer.readNumber() as number) } - else if (hidden_buf_selector == 1) { - hidden_buf = (valueDeserializer.readPixelMap() as PixelMap) + const gregorianCalendarHeight_result: number | undefined|undefined = gregorianCalendarHeight_buf + const dayYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dayYAxisOffset_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (dayYAxisOffset_buf_runtimeType)) + { + dayYAxisOffset_buf = (valueDeserializer.readNumber() as number) } - else if (hidden_buf_selector == 2) { - hidden_buf = valueDeserializer.readResource() + const dayYAxisOffset_result: number | undefined|undefined = dayYAxisOffset_buf + const lunarDayYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lunarDayYAxisOffset_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lunarDayYAxisOffset_buf_runtimeType)) + { + lunarDayYAxisOffset_buf = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for hidden_buf has to be chosen through deserialisation.") + const lunarDayYAxisOffset_result: number | undefined|undefined = lunarDayYAxisOffset_buf + const underscoreXAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let underscoreXAxisOffset_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (underscoreXAxisOffset_buf_runtimeType)) + { + underscoreXAxisOffset_buf = (valueDeserializer.readNumber() as number) } - const hidden_result: string | PixelMap | Resource = (hidden_buf as string | PixelMap | Resource) - const switching_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let switching_buf: string | PixelMap | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (switching_buf_runtimeType)) + const underscoreXAxisOffset_result: number | undefined|undefined = underscoreXAxisOffset_buf + const underscoreYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let underscoreYAxisOffset_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (underscoreYAxisOffset_buf_runtimeType)) { - const switching_buf__selector: number = valueDeserializer.readInt8() - let switching_buf_: string | PixelMap | Resource | undefined|undefined - if (switching_buf__selector == 0) { - switching_buf_ = (valueDeserializer.readString() as string) - } - else if (switching_buf__selector == 1) { - switching_buf_ = (valueDeserializer.readPixelMap() as PixelMap) - } - else if (switching_buf__selector == 2) { - switching_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for switching_buf_ has to be chosen through deserialisation.") - } - switching_buf = (switching_buf_ as string | PixelMap | Resource) + underscoreYAxisOffset_buf = (valueDeserializer.readNumber() as number) } - const switching_result: string | PixelMap | Resource | undefined|undefined = switching_buf - let value: ButtonIconOptions = ({shown: shown_result, hidden: hidden_result, switching: switching_result} as ButtonIconOptions) - return value - } - readCalendarOptions(): CalendarOptions { - let valueDeserializer: Deserializer = this - const hintRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let hintRadius_buf: number | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (hintRadius_buf_runtimeType)) + const underscoreYAxisOffset_result: number | undefined|undefined = underscoreYAxisOffset_buf + const scheduleMarkerXAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scheduleMarkerXAxisOffset_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scheduleMarkerXAxisOffset_buf_runtimeType)) { - const hintRadius_buf__selector: number = valueDeserializer.readInt8() - let hintRadius_buf_: number | Resource | undefined|undefined - if (hintRadius_buf__selector == 0) { - hintRadius_buf_ = (valueDeserializer.readNumber() as number) - } - else if (hintRadius_buf__selector == 1) { - hintRadius_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for hintRadius_buf_ has to be chosen through deserialisation.") - } - hintRadius_buf = (hintRadius_buf_ as number | Resource) + scheduleMarkerXAxisOffset_buf = (valueDeserializer.readNumber() as number) } - const hintRadius_result: number | Resource | undefined|undefined = hintRadius_buf - const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let selected_buf: Date | undefined|undefined - if ((RuntimeType.UNDEFINED) != (selected_buf_runtimeType)) + const scheduleMarkerXAxisOffset_result: number | undefined|undefined = scheduleMarkerXAxisOffset_buf + const scheduleMarkerYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scheduleMarkerYAxisOffset_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scheduleMarkerYAxisOffset_buf_runtimeType)) { - selected_buf = new Date(valueDeserializer.readInt64()) + scheduleMarkerYAxisOffset_buf = (valueDeserializer.readNumber() as number) } - const selected_result: Date | undefined|undefined = selected_buf - let value: CalendarOptions = ({hintRadius: hintRadius_result, selected: selected_result} as CalendarOptions) - return value - } - readCaretStyle(): CaretStyle { - let valueDeserializer: Deserializer = this - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const scheduleMarkerYAxisOffset_result: number | undefined|undefined = scheduleMarkerYAxisOffset_buf + const colSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colSpace_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (colSpace_buf_runtimeType)) { - const width_buf__selector: number = valueDeserializer.readInt8() - let width_buf_: string | number | Resource | undefined|undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__selector == 2) { - width_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") - } - width_buf = (width_buf_ as string | number | Resource) + colSpace_buf = (valueDeserializer.readNumber() as number) } - const width_result: Length | undefined|undefined = width_buf - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const colSpace_result: number | undefined|undefined = colSpace_buf + const dailyFiveRowSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dailyFiveRowSpace_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (dailyFiveRowSpace_buf_runtimeType)) { - const color_buf__selector: number = valueDeserializer.readInt8() - let color_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__selector == 0) { - color_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") - } - color_buf = (color_buf_ as Color | number | string | Resource) + dailyFiveRowSpace_buf = (valueDeserializer.readNumber() as number) } - const color_result: ResourceColor | undefined|undefined = color_buf - let value: CaretStyle = ({width: width_result, color: color_result} as CaretStyle) - return value - } - readChainAnimationOptions(): ChainAnimationOptions { - let valueDeserializer: Deserializer = this - const minSpace_buf_selector: number = valueDeserializer.readInt8() - let minSpace_buf: string | number | Resource | undefined|undefined - if (minSpace_buf_selector == 0) { - minSpace_buf = (valueDeserializer.readString() as string) + const dailyFiveRowSpace_result: number | undefined|undefined = dailyFiveRowSpace_buf + const dailySixRowSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dailySixRowSpace_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (dailySixRowSpace_buf_runtimeType)) + { + dailySixRowSpace_buf = (valueDeserializer.readNumber() as number) } - else if (minSpace_buf_selector == 1) { - minSpace_buf = (valueDeserializer.readNumber() as number) + const dailySixRowSpace_result: number | undefined|undefined = dailySixRowSpace_buf + const lunarHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lunarHeight_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lunarHeight_buf_runtimeType)) + { + lunarHeight_buf = (valueDeserializer.readNumber() as number) } - else if (minSpace_buf_selector == 2) { - minSpace_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for minSpace_buf has to be chosen through deserialisation.") - } - const minSpace_result: Length = (minSpace_buf as string | number | Resource) - const maxSpace_buf_selector: number = valueDeserializer.readInt8() - let maxSpace_buf: string | number | Resource | undefined|undefined - if (maxSpace_buf_selector == 0) { - maxSpace_buf = (valueDeserializer.readString() as string) - } - else if (maxSpace_buf_selector == 1) { - maxSpace_buf = (valueDeserializer.readNumber() as number) - } - else if (maxSpace_buf_selector == 2) { - maxSpace_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for maxSpace_buf has to be chosen through deserialisation.") - } - const maxSpace_result: Length = (maxSpace_buf as string | number | Resource) - const conductivity_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let conductivity_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (conductivity_buf_runtimeType)) + const lunarHeight_result: number | undefined|undefined = lunarHeight_buf + const underscoreWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let underscoreWidth_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (underscoreWidth_buf_runtimeType)) { - conductivity_buf = (valueDeserializer.readNumber() as number) + underscoreWidth_buf = (valueDeserializer.readNumber() as number) } - const conductivity_result: number | undefined|undefined = conductivity_buf - const intensity_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let intensity_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (intensity_buf_runtimeType)) + const underscoreWidth_result: number | undefined|undefined = underscoreWidth_buf + const underscoreLength_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let underscoreLength_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (underscoreLength_buf_runtimeType)) { - intensity_buf = (valueDeserializer.readNumber() as number) + underscoreLength_buf = (valueDeserializer.readNumber() as number) } - const intensity_result: number | undefined|undefined = intensity_buf - const edgeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let edgeEffect_buf: ChainEdgeEffect | undefined|undefined - if ((RuntimeType.UNDEFINED) != (edgeEffect_buf_runtimeType)) + const underscoreLength_result: number | undefined|undefined = underscoreLength_buf + const scheduleMarkerRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scheduleMarkerRadius_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scheduleMarkerRadius_buf_runtimeType)) { - edgeEffect_buf = valueDeserializer.readInt32() + scheduleMarkerRadius_buf = (valueDeserializer.readNumber() as number) } - const edgeEffect_result: ChainEdgeEffect | undefined|undefined = edgeEffect_buf - const stiffness_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let stiffness_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (stiffness_buf_runtimeType)) + const scheduleMarkerRadius_result: number | undefined|undefined = scheduleMarkerRadius_buf + const boundaryRowOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let boundaryRowOffset_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (boundaryRowOffset_buf_runtimeType)) { - stiffness_buf = (valueDeserializer.readNumber() as number) + boundaryRowOffset_buf = (valueDeserializer.readNumber() as number) } - const stiffness_result: number | undefined|undefined = stiffness_buf - const damping_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let damping_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (damping_buf_runtimeType)) + const boundaryRowOffset_result: number | undefined|undefined = boundaryRowOffset_buf + const boundaryColOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let boundaryColOffset_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (boundaryColOffset_buf_runtimeType)) { - damping_buf = (valueDeserializer.readNumber() as number) + boundaryColOffset_buf = (valueDeserializer.readNumber() as number) } - const damping_result: number | undefined|undefined = damping_buf - let value: ChainAnimationOptions = ({minSpace: minSpace_result, maxSpace: maxSpace_result, conductivity: conductivity_result, intensity: intensity_result, edgeEffect: edgeEffect_result, stiffness: stiffness_result, damping: damping_result} as ChainAnimationOptions) + const boundaryColOffset_result: number | undefined|undefined = boundaryColOffset_buf + let value: CurrentDayStyle = ({dayColor: dayColor_result, lunarColor: lunarColor_result, markLunarColor: markLunarColor_result, dayFontSize: dayFontSize_result, lunarDayFontSize: lunarDayFontSize_result, dayHeight: dayHeight_result, dayWidth: dayWidth_result, gregorianCalendarHeight: gregorianCalendarHeight_result, dayYAxisOffset: dayYAxisOffset_result, lunarDayYAxisOffset: lunarDayYAxisOffset_result, underscoreXAxisOffset: underscoreXAxisOffset_result, underscoreYAxisOffset: underscoreYAxisOffset_result, scheduleMarkerXAxisOffset: scheduleMarkerXAxisOffset_result, scheduleMarkerYAxisOffset: scheduleMarkerYAxisOffset_result, colSpace: colSpace_result, dailyFiveRowSpace: dailyFiveRowSpace_result, dailySixRowSpace: dailySixRowSpace_result, lunarHeight: lunarHeight_result, underscoreWidth: underscoreWidth_result, underscoreLength: underscoreLength_result, scheduleMarkerRadius: scheduleMarkerRadius_result, boundaryRowOffset: boundaryRowOffset_result, boundaryColOffset: boundaryColOffset_result} as CurrentDayStyle) return value } - readCircleStyleOptions(): CircleStyleOptions { + public readCustomColors(): CustomColors { let valueDeserializer: Deserializer = this - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const brand_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let brand_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (brand_buf_runtimeType)) { - const color_buf__selector: number = valueDeserializer.readInt8() - let color_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__selector == 0) { - color_buf_ = valueDeserializer.readInt32() + const brand_buf__selector: number = valueDeserializer.readInt8() + let brand_buf_: Color | number | string | Resource | undefined|undefined + if (brand_buf__selector == 0) { + brand_buf_ = valueDeserializer.readInt32() } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + else if (brand_buf__selector == 1) { + brand_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else if (brand_buf__selector == 2) { + brand_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (brand_buf__selector == 3) { + brand_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for brand_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) - } - const color_result: ResourceColor | undefined|undefined = color_buf - const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) - { - radius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + brand_buf = (brand_buf_ as Color | number | string | Resource) } - const radius_result: LengthMetrics | undefined|undefined = radius_buf - const enableWaveEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableWaveEffect_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (enableWaveEffect_buf_runtimeType)) + const brand_result: ResourceColor | undefined|undefined = brand_buf + const warning_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let warning_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (warning_buf_runtimeType)) { - enableWaveEffect_buf = valueDeserializer.readBoolean() - } - const enableWaveEffect_result: boolean | undefined|undefined = enableWaveEffect_buf - let value: CircleStyleOptions = ({color: color_result, radius: radius_result, enableWaveEffect: enableWaveEffect_result} as CircleStyleOptions) - return value - } - readColorStop(): ColorStop { - let valueDeserializer: Deserializer = this - const color_buf_selector: number = valueDeserializer.readInt8() - let color_buf: Color | number | string | Resource | undefined|undefined - if (color_buf_selector == 0) { - color_buf = valueDeserializer.readInt32() - } - else if (color_buf_selector == 1) { - color_buf = (valueDeserializer.readNumber() as number) - } - else if (color_buf_selector == 2) { - color_buf = (valueDeserializer.readString() as string) - } - else if (color_buf_selector == 3) { - color_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf has to be chosen through deserialisation.") - } - const color_result: ResourceColor = (color_buf as Color | number | string | Resource) - const offset_buf_selector: number = valueDeserializer.readInt8() - let offset_buf: string | number | Resource | undefined|undefined - if (offset_buf_selector == 0) { - offset_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf_selector == 1) { - offset_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf_selector == 2) { - offset_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf has to be chosen through deserialisation.") + const warning_buf__selector: number = valueDeserializer.readInt8() + let warning_buf_: Color | number | string | Resource | undefined|undefined + if (warning_buf__selector == 0) { + warning_buf_ = valueDeserializer.readInt32() + } + else if (warning_buf__selector == 1) { + warning_buf_ = (valueDeserializer.readNumber() as number) + } + else if (warning_buf__selector == 2) { + warning_buf_ = (valueDeserializer.readString() as string) + } + else if (warning_buf__selector == 3) { + warning_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for warning_buf_ has to be chosen through deserialisation.") + } + warning_buf = (warning_buf_ as Color | number | string | Resource) } - const offset_result: Length = (offset_buf as string | number | Resource) - let value: ColorStop = ({color: color_result, offset: offset_result} as ColorStop) - return value - } - readColumnSplitDividerStyle(): ColumnSplitDividerStyle { - let valueDeserializer: Deserializer = this - const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startMargin_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + const warning_result: ResourceColor | undefined|undefined = warning_buf + const alert_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let alert_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (alert_buf_runtimeType)) { - const startMargin_buf__selector: number = valueDeserializer.readInt8() - let startMargin_buf_: string | number | Resource | undefined|undefined - if (startMargin_buf__selector == 0) { - startMargin_buf_ = (valueDeserializer.readString() as string) + const alert_buf__selector: number = valueDeserializer.readInt8() + let alert_buf_: Color | number | string | Resource | undefined|undefined + if (alert_buf__selector == 0) { + alert_buf_ = valueDeserializer.readInt32() } - else if (startMargin_buf__selector == 1) { - startMargin_buf_ = (valueDeserializer.readNumber() as number) + else if (alert_buf__selector == 1) { + alert_buf_ = (valueDeserializer.readNumber() as number) } - else if (startMargin_buf__selector == 2) { - startMargin_buf_ = valueDeserializer.readResource() + else if (alert_buf__selector == 2) { + alert_buf_ = (valueDeserializer.readString() as string) + } + else if (alert_buf__selector == 3) { + alert_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for alert_buf_ has to be chosen through deserialisation.") } - startMargin_buf = (startMargin_buf_ as string | number | Resource) + alert_buf = (alert_buf_ as Color | number | string | Resource) } - const startMargin_result: Dimension | undefined|undefined = startMargin_buf - const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let endMargin_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) + const alert_result: ResourceColor | undefined|undefined = alert_buf + const confirm_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let confirm_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (confirm_buf_runtimeType)) { - const endMargin_buf__selector: number = valueDeserializer.readInt8() - let endMargin_buf_: string | number | Resource | undefined|undefined - if (endMargin_buf__selector == 0) { - endMargin_buf_ = (valueDeserializer.readString() as string) + const confirm_buf__selector: number = valueDeserializer.readInt8() + let confirm_buf_: Color | number | string | Resource | undefined|undefined + if (confirm_buf__selector == 0) { + confirm_buf_ = valueDeserializer.readInt32() } - else if (endMargin_buf__selector == 1) { - endMargin_buf_ = (valueDeserializer.readNumber() as number) + else if (confirm_buf__selector == 1) { + confirm_buf_ = (valueDeserializer.readNumber() as number) } - else if (endMargin_buf__selector == 2) { - endMargin_buf_ = valueDeserializer.readResource() + else if (confirm_buf__selector == 2) { + confirm_buf_ = (valueDeserializer.readString() as string) + } + else if (confirm_buf__selector == 3) { + confirm_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for confirm_buf_ has to be chosen through deserialisation.") } - endMargin_buf = (endMargin_buf_ as string | number | Resource) + confirm_buf = (confirm_buf_ as Color | number | string | Resource) } - const endMargin_result: Dimension | undefined|undefined = endMargin_buf - let value: ColumnSplitDividerStyle = ({startMargin: startMargin_result, endMargin: endMargin_result} as ColumnSplitDividerStyle) - return value - } - readComponentInfo(): ComponentInfo { - let valueDeserializer: Deserializer = this - const size_result: Size = valueDeserializer.readSize() - const localOffset_result: Offset_componentutils = valueDeserializer.readOffset_componentutils() - const windowOffset_result: Offset_componentutils = valueDeserializer.readOffset_componentutils() - const screenOffset_result: Offset_componentutils = valueDeserializer.readOffset_componentutils() - const translate_result: TranslateResult = valueDeserializer.readTranslateResult() - const scale_result: ScaleResult = valueDeserializer.readScaleResult() - const rotate_result: RotateResult = valueDeserializer.readRotateResult() - const transform_buf_value0: number = (valueDeserializer.readNumber() as number) - const transform_buf_value1: number = (valueDeserializer.readNumber() as number) - const transform_buf_value2: number = (valueDeserializer.readNumber() as number) - const transform_buf_value3: number = (valueDeserializer.readNumber() as number) - const transform_buf_value4: number = (valueDeserializer.readNumber() as number) - const transform_buf_value5: number = (valueDeserializer.readNumber() as number) - const transform_buf_value6: number = (valueDeserializer.readNumber() as number) - const transform_buf_value7: number = (valueDeserializer.readNumber() as number) - const transform_buf_value8: number = (valueDeserializer.readNumber() as number) - const transform_buf_value9: number = (valueDeserializer.readNumber() as number) - const transform_buf_value10: number = (valueDeserializer.readNumber() as number) - const transform_buf_value11: number = (valueDeserializer.readNumber() as number) - const transform_buf_value12: number = (valueDeserializer.readNumber() as number) - const transform_buf_value13: number = (valueDeserializer.readNumber() as number) - const transform_buf_value14: number = (valueDeserializer.readNumber() as number) - const transform_buf_value15: number = (valueDeserializer.readNumber() as number) - const transform_result: Matrix4Result = ([transform_buf_value0, transform_buf_value1, transform_buf_value2, transform_buf_value3, transform_buf_value4, transform_buf_value5, transform_buf_value6, transform_buf_value7, transform_buf_value8, transform_buf_value9, transform_buf_value10, transform_buf_value11, transform_buf_value12, transform_buf_value13, transform_buf_value14, transform_buf_value15] as Matrix4Result) - let value: ComponentInfo = ({size: size_result, localOffset: localOffset_result, windowOffset: windowOffset_result, screenOffset: screenOffset_result, translate: translate_result, scale: scale_result, rotate: rotate_result, transform: transform_result} as ComponentInfo) - return value - } - readConstraintSizeOptions(): ConstraintSizeOptions { - let valueDeserializer: Deserializer = this - const minWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let minWidth_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (minWidth_buf_runtimeType)) + const confirm_result: ResourceColor | undefined|undefined = confirm_buf + const fontPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontPrimary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontPrimary_buf_runtimeType)) { - const minWidth_buf__selector: number = valueDeserializer.readInt8() - let minWidth_buf_: string | number | Resource | undefined|undefined - if (minWidth_buf__selector == 0) { - minWidth_buf_ = (valueDeserializer.readString() as string) + const fontPrimary_buf__selector: number = valueDeserializer.readInt8() + let fontPrimary_buf_: Color | number | string | Resource | undefined|undefined + if (fontPrimary_buf__selector == 0) { + fontPrimary_buf_ = valueDeserializer.readInt32() } - else if (minWidth_buf__selector == 1) { - minWidth_buf_ = (valueDeserializer.readNumber() as number) + else if (fontPrimary_buf__selector == 1) { + fontPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (minWidth_buf__selector == 2) { - minWidth_buf_ = valueDeserializer.readResource() + else if (fontPrimary_buf__selector == 2) { + fontPrimary_buf_ = (valueDeserializer.readString() as string) + } + else if (fontPrimary_buf__selector == 3) { + fontPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for minWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontPrimary_buf_ has to be chosen through deserialisation.") } - minWidth_buf = (minWidth_buf_ as string | number | Resource) + fontPrimary_buf = (fontPrimary_buf_ as Color | number | string | Resource) } - const minWidth_result: Length | undefined|undefined = minWidth_buf - const maxWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maxWidth_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (maxWidth_buf_runtimeType)) + const fontPrimary_result: ResourceColor | undefined|undefined = fontPrimary_buf + const fontSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSecondary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontSecondary_buf_runtimeType)) { - const maxWidth_buf__selector: number = valueDeserializer.readInt8() - let maxWidth_buf_: string | number | Resource | undefined|undefined - if (maxWidth_buf__selector == 0) { - maxWidth_buf_ = (valueDeserializer.readString() as string) + const fontSecondary_buf__selector: number = valueDeserializer.readInt8() + let fontSecondary_buf_: Color | number | string | Resource | undefined|undefined + if (fontSecondary_buf__selector == 0) { + fontSecondary_buf_ = valueDeserializer.readInt32() } - else if (maxWidth_buf__selector == 1) { - maxWidth_buf_ = (valueDeserializer.readNumber() as number) + else if (fontSecondary_buf__selector == 1) { + fontSecondary_buf_ = (valueDeserializer.readNumber() as number) } - else if (maxWidth_buf__selector == 2) { - maxWidth_buf_ = valueDeserializer.readResource() + else if (fontSecondary_buf__selector == 2) { + fontSecondary_buf_ = (valueDeserializer.readString() as string) + } + else if (fontSecondary_buf__selector == 3) { + fontSecondary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for maxWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontSecondary_buf_ has to be chosen through deserialisation.") } - maxWidth_buf = (maxWidth_buf_ as string | number | Resource) + fontSecondary_buf = (fontSecondary_buf_ as Color | number | string | Resource) } - const maxWidth_result: Length | undefined|undefined = maxWidth_buf - const minHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let minHeight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (minHeight_buf_runtimeType)) + const fontSecondary_result: ResourceColor | undefined|undefined = fontSecondary_buf + const fontTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontTertiary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontTertiary_buf_runtimeType)) { - const minHeight_buf__selector: number = valueDeserializer.readInt8() - let minHeight_buf_: string | number | Resource | undefined|undefined - if (minHeight_buf__selector == 0) { - minHeight_buf_ = (valueDeserializer.readString() as string) + const fontTertiary_buf__selector: number = valueDeserializer.readInt8() + let fontTertiary_buf_: Color | number | string | Resource | undefined|undefined + if (fontTertiary_buf__selector == 0) { + fontTertiary_buf_ = valueDeserializer.readInt32() } - else if (minHeight_buf__selector == 1) { - minHeight_buf_ = (valueDeserializer.readNumber() as number) + else if (fontTertiary_buf__selector == 1) { + fontTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (minHeight_buf__selector == 2) { - minHeight_buf_ = valueDeserializer.readResource() + else if (fontTertiary_buf__selector == 2) { + fontTertiary_buf_ = (valueDeserializer.readString() as string) + } + else if (fontTertiary_buf__selector == 3) { + fontTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for minHeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontTertiary_buf_ has to be chosen through deserialisation.") } - minHeight_buf = (minHeight_buf_ as string | number | Resource) + fontTertiary_buf = (fontTertiary_buf_ as Color | number | string | Resource) } - const minHeight_result: Length | undefined|undefined = minHeight_buf - const maxHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maxHeight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (maxHeight_buf_runtimeType)) + const fontTertiary_result: ResourceColor | undefined|undefined = fontTertiary_buf + const fontFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFourth_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontFourth_buf_runtimeType)) { - const maxHeight_buf__selector: number = valueDeserializer.readInt8() - let maxHeight_buf_: string | number | Resource | undefined|undefined - if (maxHeight_buf__selector == 0) { - maxHeight_buf_ = (valueDeserializer.readString() as string) + const fontFourth_buf__selector: number = valueDeserializer.readInt8() + let fontFourth_buf_: Color | number | string | Resource | undefined|undefined + if (fontFourth_buf__selector == 0) { + fontFourth_buf_ = valueDeserializer.readInt32() } - else if (maxHeight_buf__selector == 1) { - maxHeight_buf_ = (valueDeserializer.readNumber() as number) + else if (fontFourth_buf__selector == 1) { + fontFourth_buf_ = (valueDeserializer.readNumber() as number) } - else if (maxHeight_buf__selector == 2) { - maxHeight_buf_ = valueDeserializer.readResource() + else if (fontFourth_buf__selector == 2) { + fontFourth_buf_ = (valueDeserializer.readString() as string) + } + else if (fontFourth_buf__selector == 3) { + fontFourth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for maxHeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontFourth_buf_ has to be chosen through deserialisation.") } - maxHeight_buf = (maxHeight_buf_ as string | number | Resource) + fontFourth_buf = (fontFourth_buf_ as Color | number | string | Resource) } - const maxHeight_result: Length | undefined|undefined = maxHeight_buf - let value: ConstraintSizeOptions = ({minWidth: minWidth_result, maxWidth: maxWidth_result, minHeight: minHeight_result, maxHeight: maxHeight_result} as ConstraintSizeOptions) - return value - } - readContentCoverOptions(): ContentCoverOptions { - let valueDeserializer: Deserializer = this - const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) + const fontFourth_result: ResourceColor | undefined|undefined = fontFourth_buf + const fontEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontEmphasize_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontEmphasize_buf_runtimeType)) { - const backgroundColor_buf__selector: number = valueDeserializer.readInt8() - let backgroundColor_buf_: Color | number | string | Resource | undefined|undefined - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_ = valueDeserializer.readInt32() + const fontEmphasize_buf__selector: number = valueDeserializer.readInt8() + let fontEmphasize_buf_: Color | number | string | Resource | undefined|undefined + if (fontEmphasize_buf__selector == 0) { + fontEmphasize_buf_ = valueDeserializer.readInt32() } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_ = (valueDeserializer.readNumber() as number) + else if (fontEmphasize_buf__selector == 1) { + fontEmphasize_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_ = (valueDeserializer.readString() as string) + else if (fontEmphasize_buf__selector == 2) { + fontEmphasize_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_ = valueDeserializer.readResource() + else if (fontEmphasize_buf__selector == 3) { + fontEmphasize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontEmphasize_buf_ has to be chosen through deserialisation.") } - backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) - } - const backgroundColor_result: ResourceColor | undefined|undefined = backgroundColor_buf - const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onAppear_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onAppear_buf_runtimeType)) - { - onAppear_buf = valueDeserializer.readCallback_Void() - } - const onAppear_result: (() => void) | undefined|undefined = onAppear_buf - const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onDisappear_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) - { - onDisappear_buf = valueDeserializer.readCallback_Void() + fontEmphasize_buf = (fontEmphasize_buf_ as Color | number | string | Resource) } - const onDisappear_result: (() => void) | undefined|undefined = onDisappear_buf - const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillAppear_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + const fontEmphasize_result: ResourceColor | undefined|undefined = fontEmphasize_buf + const fontOnPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontOnPrimary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontOnPrimary_buf_runtimeType)) { - onWillAppear_buf = valueDeserializer.readCallback_Void() + const fontOnPrimary_buf__selector: number = valueDeserializer.readInt8() + let fontOnPrimary_buf_: Color | number | string | Resource | undefined|undefined + if (fontOnPrimary_buf__selector == 0) { + fontOnPrimary_buf_ = valueDeserializer.readInt32() + } + else if (fontOnPrimary_buf__selector == 1) { + fontOnPrimary_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontOnPrimary_buf__selector == 2) { + fontOnPrimary_buf_ = (valueDeserializer.readString() as string) + } + else if (fontOnPrimary_buf__selector == 3) { + fontOnPrimary_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontOnPrimary_buf_ has to be chosen through deserialisation.") + } + fontOnPrimary_buf = (fontOnPrimary_buf_ as Color | number | string | Resource) } - const onWillAppear_result: (() => void) | undefined|undefined = onWillAppear_buf - const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillDisappear_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + const fontOnPrimary_result: ResourceColor | undefined|undefined = fontOnPrimary_buf + const fontOnSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontOnSecondary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontOnSecondary_buf_runtimeType)) { - onWillDisappear_buf = valueDeserializer.readCallback_Void() + const fontOnSecondary_buf__selector: number = valueDeserializer.readInt8() + let fontOnSecondary_buf_: Color | number | string | Resource | undefined|undefined + if (fontOnSecondary_buf__selector == 0) { + fontOnSecondary_buf_ = valueDeserializer.readInt32() + } + else if (fontOnSecondary_buf__selector == 1) { + fontOnSecondary_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontOnSecondary_buf__selector == 2) { + fontOnSecondary_buf_ = (valueDeserializer.readString() as string) + } + else if (fontOnSecondary_buf__selector == 3) { + fontOnSecondary_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontOnSecondary_buf_ has to be chosen through deserialisation.") + } + fontOnSecondary_buf = (fontOnSecondary_buf_ as Color | number | string | Resource) } - const onWillDisappear_result: (() => void) | undefined|undefined = onWillDisappear_buf - const modalTransition_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let modalTransition_buf: ModalTransition | undefined|undefined - if ((RuntimeType.UNDEFINED) != (modalTransition_buf_runtimeType)) + const fontOnSecondary_result: ResourceColor | undefined|undefined = fontOnSecondary_buf + const fontOnTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontOnTertiary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontOnTertiary_buf_runtimeType)) { - modalTransition_buf = valueDeserializer.readInt32() - } - const modalTransition_result: ModalTransition | undefined|undefined = modalTransition_buf - const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillDismiss_buf: ((parameter: DismissContentCoverAction) => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) - { - onWillDismiss_buf = valueDeserializer.readCallback_DismissContentCoverAction_Void() - } - const onWillDismiss_result: ((parameter: DismissContentCoverAction) => void) | undefined|undefined = onWillDismiss_buf - const transition_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let transition_buf: TransitionEffect | undefined|undefined - if ((RuntimeType.UNDEFINED) != (transition_buf_runtimeType)) - { - transition_buf = (valueDeserializer.readTransitionEffect() as TransitionEffect) + const fontOnTertiary_buf__selector: number = valueDeserializer.readInt8() + let fontOnTertiary_buf_: Color | number | string | Resource | undefined|undefined + if (fontOnTertiary_buf__selector == 0) { + fontOnTertiary_buf_ = valueDeserializer.readInt32() + } + else if (fontOnTertiary_buf__selector == 1) { + fontOnTertiary_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontOnTertiary_buf__selector == 2) { + fontOnTertiary_buf_ = (valueDeserializer.readString() as string) + } + else if (fontOnTertiary_buf__selector == 3) { + fontOnTertiary_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontOnTertiary_buf_ has to be chosen through deserialisation.") + } + fontOnTertiary_buf = (fontOnTertiary_buf_ as Color | number | string | Resource) } - const transition_result: TransitionEffect | undefined|undefined = transition_buf - let value: ContentCoverOptions = ({backgroundColor: backgroundColor_result, onAppear: onAppear_result, onDisappear: onDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, modalTransition: modalTransition_result, onWillDismiss: onWillDismiss_result, transition: transition_result} as ContentCoverOptions) - return value - } - readContextMenuAnimationOptions(): ContextMenuAnimationOptions { - let valueDeserializer: Deserializer = this - const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scale_buf: [ number, number ] | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) + const fontOnTertiary_result: ResourceColor | undefined|undefined = fontOnTertiary_buf + const fontOnFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontOnFourth_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontOnFourth_buf_runtimeType)) { - const scale_buf__value0: number = (valueDeserializer.readNumber() as number) - const scale_buf__value1: number = (valueDeserializer.readNumber() as number) - scale_buf = ([scale_buf__value0, scale_buf__value1] as [ number, number ]) + const fontOnFourth_buf__selector: number = valueDeserializer.readInt8() + let fontOnFourth_buf_: Color | number | string | Resource | undefined|undefined + if (fontOnFourth_buf__selector == 0) { + fontOnFourth_buf_ = valueDeserializer.readInt32() + } + else if (fontOnFourth_buf__selector == 1) { + fontOnFourth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontOnFourth_buf__selector == 2) { + fontOnFourth_buf_ = (valueDeserializer.readString() as string) + } + else if (fontOnFourth_buf__selector == 3) { + fontOnFourth_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontOnFourth_buf_ has to be chosen through deserialisation.") + } + fontOnFourth_buf = (fontOnFourth_buf_ as Color | number | string | Resource) } - const scale_result: [ number, number ] | undefined|undefined = scale_buf - const transition_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let transition_buf: TransitionEffect | undefined|undefined - if ((RuntimeType.UNDEFINED) != (transition_buf_runtimeType)) + const fontOnFourth_result: ResourceColor | undefined|undefined = fontOnFourth_buf + const iconPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconPrimary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (iconPrimary_buf_runtimeType)) { - transition_buf = (valueDeserializer.readTransitionEffect() as TransitionEffect) + const iconPrimary_buf__selector: number = valueDeserializer.readInt8() + let iconPrimary_buf_: Color | number | string | Resource | undefined|undefined + if (iconPrimary_buf__selector == 0) { + iconPrimary_buf_ = valueDeserializer.readInt32() + } + else if (iconPrimary_buf__selector == 1) { + iconPrimary_buf_ = (valueDeserializer.readNumber() as number) + } + else if (iconPrimary_buf__selector == 2) { + iconPrimary_buf_ = (valueDeserializer.readString() as string) + } + else if (iconPrimary_buf__selector == 3) { + iconPrimary_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for iconPrimary_buf_ has to be chosen through deserialisation.") + } + iconPrimary_buf = (iconPrimary_buf_ as Color | number | string | Resource) } - const transition_result: TransitionEffect | undefined|undefined = transition_buf - const hoverScale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let hoverScale_buf: [ number, number ] | undefined|undefined - if ((RuntimeType.UNDEFINED) != (hoverScale_buf_runtimeType)) + const iconPrimary_result: ResourceColor | undefined|undefined = iconPrimary_buf + const iconSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconSecondary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (iconSecondary_buf_runtimeType)) { - const hoverScale_buf__value0: number = (valueDeserializer.readNumber() as number) - const hoverScale_buf__value1: number = (valueDeserializer.readNumber() as number) - hoverScale_buf = ([hoverScale_buf__value0, hoverScale_buf__value1] as [ number, number ]) + const iconSecondary_buf__selector: number = valueDeserializer.readInt8() + let iconSecondary_buf_: Color | number | string | Resource | undefined|undefined + if (iconSecondary_buf__selector == 0) { + iconSecondary_buf_ = valueDeserializer.readInt32() + } + else if (iconSecondary_buf__selector == 1) { + iconSecondary_buf_ = (valueDeserializer.readNumber() as number) + } + else if (iconSecondary_buf__selector == 2) { + iconSecondary_buf_ = (valueDeserializer.readString() as string) + } + else if (iconSecondary_buf__selector == 3) { + iconSecondary_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for iconSecondary_buf_ has to be chosen through deserialisation.") + } + iconSecondary_buf = (iconSecondary_buf_ as Color | number | string | Resource) } - const hoverScale_result: [ number, number ] | undefined|undefined = hoverScale_buf - let value: ContextMenuAnimationOptions = ({scale: scale_result, transition: transition_result, hoverScale: hoverScale_result} as ContextMenuAnimationOptions) - return value - } - readCurrentDayStyle(): CurrentDayStyle { - let valueDeserializer: Deserializer = this - const dayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dayColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dayColor_buf_runtimeType)) + const iconSecondary_result: ResourceColor | undefined|undefined = iconSecondary_buf + const iconTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconTertiary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (iconTertiary_buf_runtimeType)) { - const dayColor_buf__selector: number = valueDeserializer.readInt8() - let dayColor_buf_: Color | number | string | Resource | undefined|undefined - if (dayColor_buf__selector == 0) { - dayColor_buf_ = valueDeserializer.readInt32() + const iconTertiary_buf__selector: number = valueDeserializer.readInt8() + let iconTertiary_buf_: Color | number | string | Resource | undefined|undefined + if (iconTertiary_buf__selector == 0) { + iconTertiary_buf_ = valueDeserializer.readInt32() } - else if (dayColor_buf__selector == 1) { - dayColor_buf_ = (valueDeserializer.readNumber() as number) + else if (iconTertiary_buf__selector == 1) { + iconTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (dayColor_buf__selector == 2) { - dayColor_buf_ = (valueDeserializer.readString() as string) + else if (iconTertiary_buf__selector == 2) { + iconTertiary_buf_ = (valueDeserializer.readString() as string) } - else if (dayColor_buf__selector == 3) { - dayColor_buf_ = valueDeserializer.readResource() + else if (iconTertiary_buf__selector == 3) { + iconTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for dayColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconTertiary_buf_ has to be chosen through deserialisation.") } - dayColor_buf = (dayColor_buf_ as Color | number | string | Resource) + iconTertiary_buf = (iconTertiary_buf_ as Color | number | string | Resource) } - const dayColor_result: ResourceColor | undefined|undefined = dayColor_buf - const lunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lunarColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lunarColor_buf_runtimeType)) + const iconTertiary_result: ResourceColor | undefined|undefined = iconTertiary_buf + const iconFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconFourth_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (iconFourth_buf_runtimeType)) { - const lunarColor_buf__selector: number = valueDeserializer.readInt8() - let lunarColor_buf_: Color | number | string | Resource | undefined|undefined - if (lunarColor_buf__selector == 0) { - lunarColor_buf_ = valueDeserializer.readInt32() + const iconFourth_buf__selector: number = valueDeserializer.readInt8() + let iconFourth_buf_: Color | number | string | Resource | undefined|undefined + if (iconFourth_buf__selector == 0) { + iconFourth_buf_ = valueDeserializer.readInt32() } - else if (lunarColor_buf__selector == 1) { - lunarColor_buf_ = (valueDeserializer.readNumber() as number) + else if (iconFourth_buf__selector == 1) { + iconFourth_buf_ = (valueDeserializer.readNumber() as number) } - else if (lunarColor_buf__selector == 2) { - lunarColor_buf_ = (valueDeserializer.readString() as string) + else if (iconFourth_buf__selector == 2) { + iconFourth_buf_ = (valueDeserializer.readString() as string) } - else if (lunarColor_buf__selector == 3) { - lunarColor_buf_ = valueDeserializer.readResource() + else if (iconFourth_buf__selector == 3) { + iconFourth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for lunarColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconFourth_buf_ has to be chosen through deserialisation.") } - lunarColor_buf = (lunarColor_buf_ as Color | number | string | Resource) + iconFourth_buf = (iconFourth_buf_ as Color | number | string | Resource) } - const lunarColor_result: ResourceColor | undefined|undefined = lunarColor_buf - const markLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let markLunarColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (markLunarColor_buf_runtimeType)) + const iconFourth_result: ResourceColor | undefined|undefined = iconFourth_buf + const iconEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconEmphasize_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (iconEmphasize_buf_runtimeType)) { - const markLunarColor_buf__selector: number = valueDeserializer.readInt8() - let markLunarColor_buf_: Color | number | string | Resource | undefined|undefined - if (markLunarColor_buf__selector == 0) { - markLunarColor_buf_ = valueDeserializer.readInt32() + const iconEmphasize_buf__selector: number = valueDeserializer.readInt8() + let iconEmphasize_buf_: Color | number | string | Resource | undefined|undefined + if (iconEmphasize_buf__selector == 0) { + iconEmphasize_buf_ = valueDeserializer.readInt32() } - else if (markLunarColor_buf__selector == 1) { - markLunarColor_buf_ = (valueDeserializer.readNumber() as number) + else if (iconEmphasize_buf__selector == 1) { + iconEmphasize_buf_ = (valueDeserializer.readNumber() as number) } - else if (markLunarColor_buf__selector == 2) { - markLunarColor_buf_ = (valueDeserializer.readString() as string) + else if (iconEmphasize_buf__selector == 2) { + iconEmphasize_buf_ = (valueDeserializer.readString() as string) } - else if (markLunarColor_buf__selector == 3) { - markLunarColor_buf_ = valueDeserializer.readResource() + else if (iconEmphasize_buf__selector == 3) { + iconEmphasize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for markLunarColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconEmphasize_buf_ has to be chosen through deserialisation.") } - markLunarColor_buf = (markLunarColor_buf_ as Color | number | string | Resource) + iconEmphasize_buf = (iconEmphasize_buf_ as Color | number | string | Resource) } - const markLunarColor_result: ResourceColor | undefined|undefined = markLunarColor_buf - const dayFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dayFontSize_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dayFontSize_buf_runtimeType)) + const iconEmphasize_result: ResourceColor | undefined|undefined = iconEmphasize_buf + const iconSubEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconSubEmphasize_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (iconSubEmphasize_buf_runtimeType)) { - dayFontSize_buf = (valueDeserializer.readNumber() as number) + const iconSubEmphasize_buf__selector: number = valueDeserializer.readInt8() + let iconSubEmphasize_buf_: Color | number | string | Resource | undefined|undefined + if (iconSubEmphasize_buf__selector == 0) { + iconSubEmphasize_buf_ = valueDeserializer.readInt32() + } + else if (iconSubEmphasize_buf__selector == 1) { + iconSubEmphasize_buf_ = (valueDeserializer.readNumber() as number) + } + else if (iconSubEmphasize_buf__selector == 2) { + iconSubEmphasize_buf_ = (valueDeserializer.readString() as string) + } + else if (iconSubEmphasize_buf__selector == 3) { + iconSubEmphasize_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for iconSubEmphasize_buf_ has to be chosen through deserialisation.") + } + iconSubEmphasize_buf = (iconSubEmphasize_buf_ as Color | number | string | Resource) } - const dayFontSize_result: number | undefined|undefined = dayFontSize_buf - const lunarDayFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lunarDayFontSize_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lunarDayFontSize_buf_runtimeType)) + const iconSubEmphasize_result: ResourceColor | undefined|undefined = iconSubEmphasize_buf + const iconOnPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconOnPrimary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (iconOnPrimary_buf_runtimeType)) { - lunarDayFontSize_buf = (valueDeserializer.readNumber() as number) - } - const lunarDayFontSize_result: number | undefined|undefined = lunarDayFontSize_buf - const dayHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dayHeight_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dayHeight_buf_runtimeType)) - { - dayHeight_buf = (valueDeserializer.readNumber() as number) - } - const dayHeight_result: number | undefined|undefined = dayHeight_buf - const dayWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dayWidth_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dayWidth_buf_runtimeType)) - { - dayWidth_buf = (valueDeserializer.readNumber() as number) - } - const dayWidth_result: number | undefined|undefined = dayWidth_buf - const gregorianCalendarHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let gregorianCalendarHeight_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (gregorianCalendarHeight_buf_runtimeType)) - { - gregorianCalendarHeight_buf = (valueDeserializer.readNumber() as number) - } - const gregorianCalendarHeight_result: number | undefined|undefined = gregorianCalendarHeight_buf - const dayYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dayYAxisOffset_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dayYAxisOffset_buf_runtimeType)) - { - dayYAxisOffset_buf = (valueDeserializer.readNumber() as number) - } - const dayYAxisOffset_result: number | undefined|undefined = dayYAxisOffset_buf - const lunarDayYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lunarDayYAxisOffset_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lunarDayYAxisOffset_buf_runtimeType)) - { - lunarDayYAxisOffset_buf = (valueDeserializer.readNumber() as number) - } - const lunarDayYAxisOffset_result: number | undefined|undefined = lunarDayYAxisOffset_buf - const underscoreXAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let underscoreXAxisOffset_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (underscoreXAxisOffset_buf_runtimeType)) - { - underscoreXAxisOffset_buf = (valueDeserializer.readNumber() as number) - } - const underscoreXAxisOffset_result: number | undefined|undefined = underscoreXAxisOffset_buf - const underscoreYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let underscoreYAxisOffset_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (underscoreYAxisOffset_buf_runtimeType)) - { - underscoreYAxisOffset_buf = (valueDeserializer.readNumber() as number) - } - const underscoreYAxisOffset_result: number | undefined|undefined = underscoreYAxisOffset_buf - const scheduleMarkerXAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scheduleMarkerXAxisOffset_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scheduleMarkerXAxisOffset_buf_runtimeType)) - { - scheduleMarkerXAxisOffset_buf = (valueDeserializer.readNumber() as number) - } - const scheduleMarkerXAxisOffset_result: number | undefined|undefined = scheduleMarkerXAxisOffset_buf - const scheduleMarkerYAxisOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scheduleMarkerYAxisOffset_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scheduleMarkerYAxisOffset_buf_runtimeType)) - { - scheduleMarkerYAxisOffset_buf = (valueDeserializer.readNumber() as number) - } - const scheduleMarkerYAxisOffset_result: number | undefined|undefined = scheduleMarkerYAxisOffset_buf - const colSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colSpace_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (colSpace_buf_runtimeType)) - { - colSpace_buf = (valueDeserializer.readNumber() as number) - } - const colSpace_result: number | undefined|undefined = colSpace_buf - const dailyFiveRowSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dailyFiveRowSpace_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dailyFiveRowSpace_buf_runtimeType)) - { - dailyFiveRowSpace_buf = (valueDeserializer.readNumber() as number) - } - const dailyFiveRowSpace_result: number | undefined|undefined = dailyFiveRowSpace_buf - const dailySixRowSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dailySixRowSpace_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dailySixRowSpace_buf_runtimeType)) - { - dailySixRowSpace_buf = (valueDeserializer.readNumber() as number) - } - const dailySixRowSpace_result: number | undefined|undefined = dailySixRowSpace_buf - const lunarHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lunarHeight_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lunarHeight_buf_runtimeType)) - { - lunarHeight_buf = (valueDeserializer.readNumber() as number) - } - const lunarHeight_result: number | undefined|undefined = lunarHeight_buf - const underscoreWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let underscoreWidth_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (underscoreWidth_buf_runtimeType)) - { - underscoreWidth_buf = (valueDeserializer.readNumber() as number) - } - const underscoreWidth_result: number | undefined|undefined = underscoreWidth_buf - const underscoreLength_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let underscoreLength_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (underscoreLength_buf_runtimeType)) - { - underscoreLength_buf = (valueDeserializer.readNumber() as number) - } - const underscoreLength_result: number | undefined|undefined = underscoreLength_buf - const scheduleMarkerRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scheduleMarkerRadius_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scheduleMarkerRadius_buf_runtimeType)) - { - scheduleMarkerRadius_buf = (valueDeserializer.readNumber() as number) - } - const scheduleMarkerRadius_result: number | undefined|undefined = scheduleMarkerRadius_buf - const boundaryRowOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let boundaryRowOffset_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (boundaryRowOffset_buf_runtimeType)) - { - boundaryRowOffset_buf = (valueDeserializer.readNumber() as number) - } - const boundaryRowOffset_result: number | undefined|undefined = boundaryRowOffset_buf - const boundaryColOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let boundaryColOffset_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (boundaryColOffset_buf_runtimeType)) - { - boundaryColOffset_buf = (valueDeserializer.readNumber() as number) - } - const boundaryColOffset_result: number | undefined|undefined = boundaryColOffset_buf - let value: CurrentDayStyle = ({dayColor: dayColor_result, lunarColor: lunarColor_result, markLunarColor: markLunarColor_result, dayFontSize: dayFontSize_result, lunarDayFontSize: lunarDayFontSize_result, dayHeight: dayHeight_result, dayWidth: dayWidth_result, gregorianCalendarHeight: gregorianCalendarHeight_result, dayYAxisOffset: dayYAxisOffset_result, lunarDayYAxisOffset: lunarDayYAxisOffset_result, underscoreXAxisOffset: underscoreXAxisOffset_result, underscoreYAxisOffset: underscoreYAxisOffset_result, scheduleMarkerXAxisOffset: scheduleMarkerXAxisOffset_result, scheduleMarkerYAxisOffset: scheduleMarkerYAxisOffset_result, colSpace: colSpace_result, dailyFiveRowSpace: dailyFiveRowSpace_result, dailySixRowSpace: dailySixRowSpace_result, lunarHeight: lunarHeight_result, underscoreWidth: underscoreWidth_result, underscoreLength: underscoreLength_result, scheduleMarkerRadius: scheduleMarkerRadius_result, boundaryRowOffset: boundaryRowOffset_result, boundaryColOffset: boundaryColOffset_result} as CurrentDayStyle) - return value - } - readCustomColors(): CustomColors { - let valueDeserializer: Deserializer = this - const brand_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let brand_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (brand_buf_runtimeType)) - { - const brand_buf__selector: number = valueDeserializer.readInt8() - let brand_buf_: Color | number | string | Resource | undefined|undefined - if (brand_buf__selector == 0) { - brand_buf_ = valueDeserializer.readInt32() + const iconOnPrimary_buf__selector: number = valueDeserializer.readInt8() + let iconOnPrimary_buf_: Color | number | string | Resource | undefined|undefined + if (iconOnPrimary_buf__selector == 0) { + iconOnPrimary_buf_ = valueDeserializer.readInt32() } - else if (brand_buf__selector == 1) { - brand_buf_ = (valueDeserializer.readNumber() as number) + else if (iconOnPrimary_buf__selector == 1) { + iconOnPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (brand_buf__selector == 2) { - brand_buf_ = (valueDeserializer.readString() as string) + else if (iconOnPrimary_buf__selector == 2) { + iconOnPrimary_buf_ = (valueDeserializer.readString() as string) } - else if (brand_buf__selector == 3) { - brand_buf_ = valueDeserializer.readResource() + else if (iconOnPrimary_buf__selector == 3) { + iconOnPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for brand_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconOnPrimary_buf_ has to be chosen through deserialisation.") } - brand_buf = (brand_buf_ as Color | number | string | Resource) + iconOnPrimary_buf = (iconOnPrimary_buf_ as Color | number | string | Resource) } - const brand_result: ResourceColor | undefined|undefined = brand_buf - const warning_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let warning_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (warning_buf_runtimeType)) + const iconOnPrimary_result: ResourceColor | undefined|undefined = iconOnPrimary_buf + const iconOnSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconOnSecondary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (iconOnSecondary_buf_runtimeType)) { - const warning_buf__selector: number = valueDeserializer.readInt8() - let warning_buf_: Color | number | string | Resource | undefined|undefined - if (warning_buf__selector == 0) { - warning_buf_ = valueDeserializer.readInt32() + const iconOnSecondary_buf__selector: number = valueDeserializer.readInt8() + let iconOnSecondary_buf_: Color | number | string | Resource | undefined|undefined + if (iconOnSecondary_buf__selector == 0) { + iconOnSecondary_buf_ = valueDeserializer.readInt32() } - else if (warning_buf__selector == 1) { - warning_buf_ = (valueDeserializer.readNumber() as number) + else if (iconOnSecondary_buf__selector == 1) { + iconOnSecondary_buf_ = (valueDeserializer.readNumber() as number) } - else if (warning_buf__selector == 2) { - warning_buf_ = (valueDeserializer.readString() as string) + else if (iconOnSecondary_buf__selector == 2) { + iconOnSecondary_buf_ = (valueDeserializer.readString() as string) } - else if (warning_buf__selector == 3) { - warning_buf_ = valueDeserializer.readResource() + else if (iconOnSecondary_buf__selector == 3) { + iconOnSecondary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for warning_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconOnSecondary_buf_ has to be chosen through deserialisation.") } - warning_buf = (warning_buf_ as Color | number | string | Resource) + iconOnSecondary_buf = (iconOnSecondary_buf_ as Color | number | string | Resource) } - const warning_result: ResourceColor | undefined|undefined = warning_buf - const alert_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let alert_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (alert_buf_runtimeType)) + const iconOnSecondary_result: ResourceColor | undefined|undefined = iconOnSecondary_buf + const iconOnTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconOnTertiary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (iconOnTertiary_buf_runtimeType)) { - const alert_buf__selector: number = valueDeserializer.readInt8() - let alert_buf_: Color | number | string | Resource | undefined|undefined - if (alert_buf__selector == 0) { - alert_buf_ = valueDeserializer.readInt32() + const iconOnTertiary_buf__selector: number = valueDeserializer.readInt8() + let iconOnTertiary_buf_: Color | number | string | Resource | undefined|undefined + if (iconOnTertiary_buf__selector == 0) { + iconOnTertiary_buf_ = valueDeserializer.readInt32() } - else if (alert_buf__selector == 1) { - alert_buf_ = (valueDeserializer.readNumber() as number) + else if (iconOnTertiary_buf__selector == 1) { + iconOnTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (alert_buf__selector == 2) { - alert_buf_ = (valueDeserializer.readString() as string) + else if (iconOnTertiary_buf__selector == 2) { + iconOnTertiary_buf_ = (valueDeserializer.readString() as string) } - else if (alert_buf__selector == 3) { - alert_buf_ = valueDeserializer.readResource() + else if (iconOnTertiary_buf__selector == 3) { + iconOnTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for alert_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconOnTertiary_buf_ has to be chosen through deserialisation.") } - alert_buf = (alert_buf_ as Color | number | string | Resource) + iconOnTertiary_buf = (iconOnTertiary_buf_ as Color | number | string | Resource) } - const alert_result: ResourceColor | undefined|undefined = alert_buf - const confirm_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let confirm_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (confirm_buf_runtimeType)) + const iconOnTertiary_result: ResourceColor | undefined|undefined = iconOnTertiary_buf + const iconOnFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let iconOnFourth_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (iconOnFourth_buf_runtimeType)) { - const confirm_buf__selector: number = valueDeserializer.readInt8() - let confirm_buf_: Color | number | string | Resource | undefined|undefined - if (confirm_buf__selector == 0) { - confirm_buf_ = valueDeserializer.readInt32() + const iconOnFourth_buf__selector: number = valueDeserializer.readInt8() + let iconOnFourth_buf_: Color | number | string | Resource | undefined|undefined + if (iconOnFourth_buf__selector == 0) { + iconOnFourth_buf_ = valueDeserializer.readInt32() } - else if (confirm_buf__selector == 1) { - confirm_buf_ = (valueDeserializer.readNumber() as number) + else if (iconOnFourth_buf__selector == 1) { + iconOnFourth_buf_ = (valueDeserializer.readNumber() as number) } - else if (confirm_buf__selector == 2) { - confirm_buf_ = (valueDeserializer.readString() as string) + else if (iconOnFourth_buf__selector == 2) { + iconOnFourth_buf_ = (valueDeserializer.readString() as string) } - else if (confirm_buf__selector == 3) { - confirm_buf_ = valueDeserializer.readResource() + else if (iconOnFourth_buf__selector == 3) { + iconOnFourth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for confirm_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for iconOnFourth_buf_ has to be chosen through deserialisation.") } - confirm_buf = (confirm_buf_ as Color | number | string | Resource) + iconOnFourth_buf = (iconOnFourth_buf_ as Color | number | string | Resource) } - const confirm_result: ResourceColor | undefined|undefined = confirm_buf - const fontPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontPrimary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontPrimary_buf_runtimeType)) + const iconOnFourth_result: ResourceColor | undefined|undefined = iconOnFourth_buf + const backgroundPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundPrimary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundPrimary_buf_runtimeType)) { - const fontPrimary_buf__selector: number = valueDeserializer.readInt8() - let fontPrimary_buf_: Color | number | string | Resource | undefined|undefined - if (fontPrimary_buf__selector == 0) { - fontPrimary_buf_ = valueDeserializer.readInt32() + const backgroundPrimary_buf__selector: number = valueDeserializer.readInt8() + let backgroundPrimary_buf_: Color | number | string | Resource | undefined|undefined + if (backgroundPrimary_buf__selector == 0) { + backgroundPrimary_buf_ = valueDeserializer.readInt32() } - else if (fontPrimary_buf__selector == 1) { - fontPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundPrimary_buf__selector == 1) { + backgroundPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontPrimary_buf__selector == 2) { - fontPrimary_buf_ = (valueDeserializer.readString() as string) + else if (backgroundPrimary_buf__selector == 2) { + backgroundPrimary_buf_ = (valueDeserializer.readString() as string) } - else if (fontPrimary_buf__selector == 3) { - fontPrimary_buf_ = valueDeserializer.readResource() + else if (backgroundPrimary_buf__selector == 3) { + backgroundPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundPrimary_buf_ has to be chosen through deserialisation.") } - fontPrimary_buf = (fontPrimary_buf_ as Color | number | string | Resource) + backgroundPrimary_buf = (backgroundPrimary_buf_ as Color | number | string | Resource) } - const fontPrimary_result: ResourceColor | undefined|undefined = fontPrimary_buf - const fontSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSecondary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontSecondary_buf_runtimeType)) + const backgroundPrimary_result: ResourceColor | undefined|undefined = backgroundPrimary_buf + const backgroundSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundSecondary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundSecondary_buf_runtimeType)) { - const fontSecondary_buf__selector: number = valueDeserializer.readInt8() - let fontSecondary_buf_: Color | number | string | Resource | undefined|undefined - if (fontSecondary_buf__selector == 0) { - fontSecondary_buf_ = valueDeserializer.readInt32() + const backgroundSecondary_buf__selector: number = valueDeserializer.readInt8() + let backgroundSecondary_buf_: Color | number | string | Resource | undefined|undefined + if (backgroundSecondary_buf__selector == 0) { + backgroundSecondary_buf_ = valueDeserializer.readInt32() } - else if (fontSecondary_buf__selector == 1) { - fontSecondary_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundSecondary_buf__selector == 1) { + backgroundSecondary_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontSecondary_buf__selector == 2) { - fontSecondary_buf_ = (valueDeserializer.readString() as string) + else if (backgroundSecondary_buf__selector == 2) { + backgroundSecondary_buf_ = (valueDeserializer.readString() as string) } - else if (fontSecondary_buf__selector == 3) { - fontSecondary_buf_ = valueDeserializer.readResource() + else if (backgroundSecondary_buf__selector == 3) { + backgroundSecondary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundSecondary_buf_ has to be chosen through deserialisation.") } - fontSecondary_buf = (fontSecondary_buf_ as Color | number | string | Resource) + backgroundSecondary_buf = (backgroundSecondary_buf_ as Color | number | string | Resource) } - const fontSecondary_result: ResourceColor | undefined|undefined = fontSecondary_buf - const fontTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontTertiary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontTertiary_buf_runtimeType)) + const backgroundSecondary_result: ResourceColor | undefined|undefined = backgroundSecondary_buf + const backgroundTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundTertiary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundTertiary_buf_runtimeType)) { - const fontTertiary_buf__selector: number = valueDeserializer.readInt8() - let fontTertiary_buf_: Color | number | string | Resource | undefined|undefined - if (fontTertiary_buf__selector == 0) { - fontTertiary_buf_ = valueDeserializer.readInt32() + const backgroundTertiary_buf__selector: number = valueDeserializer.readInt8() + let backgroundTertiary_buf_: Color | number | string | Resource | undefined|undefined + if (backgroundTertiary_buf__selector == 0) { + backgroundTertiary_buf_ = valueDeserializer.readInt32() } - else if (fontTertiary_buf__selector == 1) { - fontTertiary_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundTertiary_buf__selector == 1) { + backgroundTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontTertiary_buf__selector == 2) { - fontTertiary_buf_ = (valueDeserializer.readString() as string) + else if (backgroundTertiary_buf__selector == 2) { + backgroundTertiary_buf_ = (valueDeserializer.readString() as string) } - else if (fontTertiary_buf__selector == 3) { - fontTertiary_buf_ = valueDeserializer.readResource() + else if (backgroundTertiary_buf__selector == 3) { + backgroundTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundTertiary_buf_ has to be chosen through deserialisation.") } - fontTertiary_buf = (fontTertiary_buf_ as Color | number | string | Resource) + backgroundTertiary_buf = (backgroundTertiary_buf_ as Color | number | string | Resource) } - const fontTertiary_result: ResourceColor | undefined|undefined = fontTertiary_buf - const fontFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFourth_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontFourth_buf_runtimeType)) + const backgroundTertiary_result: ResourceColor | undefined|undefined = backgroundTertiary_buf + const backgroundFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundFourth_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundFourth_buf_runtimeType)) { - const fontFourth_buf__selector: number = valueDeserializer.readInt8() - let fontFourth_buf_: Color | number | string | Resource | undefined|undefined - if (fontFourth_buf__selector == 0) { - fontFourth_buf_ = valueDeserializer.readInt32() + const backgroundFourth_buf__selector: number = valueDeserializer.readInt8() + let backgroundFourth_buf_: Color | number | string | Resource | undefined|undefined + if (backgroundFourth_buf__selector == 0) { + backgroundFourth_buf_ = valueDeserializer.readInt32() } - else if (fontFourth_buf__selector == 1) { - fontFourth_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundFourth_buf__selector == 1) { + backgroundFourth_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontFourth_buf__selector == 2) { - fontFourth_buf_ = (valueDeserializer.readString() as string) + else if (backgroundFourth_buf__selector == 2) { + backgroundFourth_buf_ = (valueDeserializer.readString() as string) } - else if (fontFourth_buf__selector == 3) { - fontFourth_buf_ = valueDeserializer.readResource() + else if (backgroundFourth_buf__selector == 3) { + backgroundFourth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontFourth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundFourth_buf_ has to be chosen through deserialisation.") } - fontFourth_buf = (fontFourth_buf_ as Color | number | string | Resource) + backgroundFourth_buf = (backgroundFourth_buf_ as Color | number | string | Resource) } - const fontFourth_result: ResourceColor | undefined|undefined = fontFourth_buf - const fontEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontEmphasize_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontEmphasize_buf_runtimeType)) + const backgroundFourth_result: ResourceColor | undefined|undefined = backgroundFourth_buf + const backgroundEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEmphasize_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEmphasize_buf_runtimeType)) { - const fontEmphasize_buf__selector: number = valueDeserializer.readInt8() - let fontEmphasize_buf_: Color | number | string | Resource | undefined|undefined - if (fontEmphasize_buf__selector == 0) { - fontEmphasize_buf_ = valueDeserializer.readInt32() + const backgroundEmphasize_buf__selector: number = valueDeserializer.readInt8() + let backgroundEmphasize_buf_: Color | number | string | Resource | undefined|undefined + if (backgroundEmphasize_buf__selector == 0) { + backgroundEmphasize_buf_ = valueDeserializer.readInt32() } - else if (fontEmphasize_buf__selector == 1) { - fontEmphasize_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundEmphasize_buf__selector == 1) { + backgroundEmphasize_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontEmphasize_buf__selector == 2) { - fontEmphasize_buf_ = (valueDeserializer.readString() as string) + else if (backgroundEmphasize_buf__selector == 2) { + backgroundEmphasize_buf_ = (valueDeserializer.readString() as string) } - else if (fontEmphasize_buf__selector == 3) { - fontEmphasize_buf_ = valueDeserializer.readResource() + else if (backgroundEmphasize_buf__selector == 3) { + backgroundEmphasize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontEmphasize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundEmphasize_buf_ has to be chosen through deserialisation.") } - fontEmphasize_buf = (fontEmphasize_buf_ as Color | number | string | Resource) + backgroundEmphasize_buf = (backgroundEmphasize_buf_ as Color | number | string | Resource) } - const fontEmphasize_result: ResourceColor | undefined|undefined = fontEmphasize_buf - const fontOnPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontOnPrimary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontOnPrimary_buf_runtimeType)) + const backgroundEmphasize_result: ResourceColor | undefined|undefined = backgroundEmphasize_buf + const compForegroundPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compForegroundPrimary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compForegroundPrimary_buf_runtimeType)) { - const fontOnPrimary_buf__selector: number = valueDeserializer.readInt8() - let fontOnPrimary_buf_: Color | number | string | Resource | undefined|undefined - if (fontOnPrimary_buf__selector == 0) { - fontOnPrimary_buf_ = valueDeserializer.readInt32() + const compForegroundPrimary_buf__selector: number = valueDeserializer.readInt8() + let compForegroundPrimary_buf_: Color | number | string | Resource | undefined|undefined + if (compForegroundPrimary_buf__selector == 0) { + compForegroundPrimary_buf_ = valueDeserializer.readInt32() } - else if (fontOnPrimary_buf__selector == 1) { - fontOnPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (compForegroundPrimary_buf__selector == 1) { + compForegroundPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontOnPrimary_buf__selector == 2) { - fontOnPrimary_buf_ = (valueDeserializer.readString() as string) + else if (compForegroundPrimary_buf__selector == 2) { + compForegroundPrimary_buf_ = (valueDeserializer.readString() as string) } - else if (fontOnPrimary_buf__selector == 3) { - fontOnPrimary_buf_ = valueDeserializer.readResource() + else if (compForegroundPrimary_buf__selector == 3) { + compForegroundPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontOnPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compForegroundPrimary_buf_ has to be chosen through deserialisation.") } - fontOnPrimary_buf = (fontOnPrimary_buf_ as Color | number | string | Resource) + compForegroundPrimary_buf = (compForegroundPrimary_buf_ as Color | number | string | Resource) } - const fontOnPrimary_result: ResourceColor | undefined|undefined = fontOnPrimary_buf - const fontOnSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontOnSecondary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontOnSecondary_buf_runtimeType)) + const compForegroundPrimary_result: ResourceColor | undefined|undefined = compForegroundPrimary_buf + const compBackgroundPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundPrimary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundPrimary_buf_runtimeType)) { - const fontOnSecondary_buf__selector: number = valueDeserializer.readInt8() - let fontOnSecondary_buf_: Color | number | string | Resource | undefined|undefined - if (fontOnSecondary_buf__selector == 0) { - fontOnSecondary_buf_ = valueDeserializer.readInt32() + const compBackgroundPrimary_buf__selector: number = valueDeserializer.readInt8() + let compBackgroundPrimary_buf_: Color | number | string | Resource | undefined|undefined + if (compBackgroundPrimary_buf__selector == 0) { + compBackgroundPrimary_buf_ = valueDeserializer.readInt32() } - else if (fontOnSecondary_buf__selector == 1) { - fontOnSecondary_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundPrimary_buf__selector == 1) { + compBackgroundPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontOnSecondary_buf__selector == 2) { - fontOnSecondary_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundPrimary_buf__selector == 2) { + compBackgroundPrimary_buf_ = (valueDeserializer.readString() as string) } - else if (fontOnSecondary_buf__selector == 3) { - fontOnSecondary_buf_ = valueDeserializer.readResource() + else if (compBackgroundPrimary_buf__selector == 3) { + compBackgroundPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontOnSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundPrimary_buf_ has to be chosen through deserialisation.") } - fontOnSecondary_buf = (fontOnSecondary_buf_ as Color | number | string | Resource) + compBackgroundPrimary_buf = (compBackgroundPrimary_buf_ as Color | number | string | Resource) } - const fontOnSecondary_result: ResourceColor | undefined|undefined = fontOnSecondary_buf - const fontOnTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontOnTertiary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontOnTertiary_buf_runtimeType)) + const compBackgroundPrimary_result: ResourceColor | undefined|undefined = compBackgroundPrimary_buf + const compBackgroundPrimaryTran_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundPrimaryTran_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundPrimaryTran_buf_runtimeType)) { - const fontOnTertiary_buf__selector: number = valueDeserializer.readInt8() - let fontOnTertiary_buf_: Color | number | string | Resource | undefined|undefined - if (fontOnTertiary_buf__selector == 0) { - fontOnTertiary_buf_ = valueDeserializer.readInt32() + const compBackgroundPrimaryTran_buf__selector: number = valueDeserializer.readInt8() + let compBackgroundPrimaryTran_buf_: Color | number | string | Resource | undefined|undefined + if (compBackgroundPrimaryTran_buf__selector == 0) { + compBackgroundPrimaryTran_buf_ = valueDeserializer.readInt32() } - else if (fontOnTertiary_buf__selector == 1) { - fontOnTertiary_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundPrimaryTran_buf__selector == 1) { + compBackgroundPrimaryTran_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontOnTertiary_buf__selector == 2) { - fontOnTertiary_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundPrimaryTran_buf__selector == 2) { + compBackgroundPrimaryTran_buf_ = (valueDeserializer.readString() as string) } - else if (fontOnTertiary_buf__selector == 3) { - fontOnTertiary_buf_ = valueDeserializer.readResource() + else if (compBackgroundPrimaryTran_buf__selector == 3) { + compBackgroundPrimaryTran_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontOnTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundPrimaryTran_buf_ has to be chosen through deserialisation.") } - fontOnTertiary_buf = (fontOnTertiary_buf_ as Color | number | string | Resource) + compBackgroundPrimaryTran_buf = (compBackgroundPrimaryTran_buf_ as Color | number | string | Resource) } - const fontOnTertiary_result: ResourceColor | undefined|undefined = fontOnTertiary_buf - const fontOnFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontOnFourth_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontOnFourth_buf_runtimeType)) + const compBackgroundPrimaryTran_result: ResourceColor | undefined|undefined = compBackgroundPrimaryTran_buf + const compBackgroundPrimaryContrary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundPrimaryContrary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundPrimaryContrary_buf_runtimeType)) { - const fontOnFourth_buf__selector: number = valueDeserializer.readInt8() - let fontOnFourth_buf_: Color | number | string | Resource | undefined|undefined - if (fontOnFourth_buf__selector == 0) { - fontOnFourth_buf_ = valueDeserializer.readInt32() + const compBackgroundPrimaryContrary_buf__selector: number = valueDeserializer.readInt8() + let compBackgroundPrimaryContrary_buf_: Color | number | string | Resource | undefined|undefined + if (compBackgroundPrimaryContrary_buf__selector == 0) { + compBackgroundPrimaryContrary_buf_ = valueDeserializer.readInt32() } - else if (fontOnFourth_buf__selector == 1) { - fontOnFourth_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundPrimaryContrary_buf__selector == 1) { + compBackgroundPrimaryContrary_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontOnFourth_buf__selector == 2) { - fontOnFourth_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundPrimaryContrary_buf__selector == 2) { + compBackgroundPrimaryContrary_buf_ = (valueDeserializer.readString() as string) } - else if (fontOnFourth_buf__selector == 3) { - fontOnFourth_buf_ = valueDeserializer.readResource() + else if (compBackgroundPrimaryContrary_buf__selector == 3) { + compBackgroundPrimaryContrary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontOnFourth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundPrimaryContrary_buf_ has to be chosen through deserialisation.") } - fontOnFourth_buf = (fontOnFourth_buf_ as Color | number | string | Resource) + compBackgroundPrimaryContrary_buf = (compBackgroundPrimaryContrary_buf_ as Color | number | string | Resource) } - const fontOnFourth_result: ResourceColor | undefined|undefined = fontOnFourth_buf - const iconPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconPrimary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (iconPrimary_buf_runtimeType)) + const compBackgroundPrimaryContrary_result: ResourceColor | undefined|undefined = compBackgroundPrimaryContrary_buf + const compBackgroundGray_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundGray_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundGray_buf_runtimeType)) { - const iconPrimary_buf__selector: number = valueDeserializer.readInt8() - let iconPrimary_buf_: Color | number | string | Resource | undefined|undefined - if (iconPrimary_buf__selector == 0) { - iconPrimary_buf_ = valueDeserializer.readInt32() + const compBackgroundGray_buf__selector: number = valueDeserializer.readInt8() + let compBackgroundGray_buf_: Color | number | string | Resource | undefined|undefined + if (compBackgroundGray_buf__selector == 0) { + compBackgroundGray_buf_ = valueDeserializer.readInt32() } - else if (iconPrimary_buf__selector == 1) { - iconPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundGray_buf__selector == 1) { + compBackgroundGray_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconPrimary_buf__selector == 2) { - iconPrimary_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundGray_buf__selector == 2) { + compBackgroundGray_buf_ = (valueDeserializer.readString() as string) } - else if (iconPrimary_buf__selector == 3) { - iconPrimary_buf_ = valueDeserializer.readResource() + else if (compBackgroundGray_buf__selector == 3) { + compBackgroundGray_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundGray_buf_ has to be chosen through deserialisation.") } - iconPrimary_buf = (iconPrimary_buf_ as Color | number | string | Resource) + compBackgroundGray_buf = (compBackgroundGray_buf_ as Color | number | string | Resource) } - const iconPrimary_result: ResourceColor | undefined|undefined = iconPrimary_buf - const iconSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconSecondary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (iconSecondary_buf_runtimeType)) + const compBackgroundGray_result: ResourceColor | undefined|undefined = compBackgroundGray_buf + const compBackgroundSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundSecondary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundSecondary_buf_runtimeType)) { - const iconSecondary_buf__selector: number = valueDeserializer.readInt8() - let iconSecondary_buf_: Color | number | string | Resource | undefined|undefined - if (iconSecondary_buf__selector == 0) { - iconSecondary_buf_ = valueDeserializer.readInt32() + const compBackgroundSecondary_buf__selector: number = valueDeserializer.readInt8() + let compBackgroundSecondary_buf_: Color | number | string | Resource | undefined|undefined + if (compBackgroundSecondary_buf__selector == 0) { + compBackgroundSecondary_buf_ = valueDeserializer.readInt32() } - else if (iconSecondary_buf__selector == 1) { - iconSecondary_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundSecondary_buf__selector == 1) { + compBackgroundSecondary_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconSecondary_buf__selector == 2) { - iconSecondary_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundSecondary_buf__selector == 2) { + compBackgroundSecondary_buf_ = (valueDeserializer.readString() as string) } - else if (iconSecondary_buf__selector == 3) { - iconSecondary_buf_ = valueDeserializer.readResource() + else if (compBackgroundSecondary_buf__selector == 3) { + compBackgroundSecondary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundSecondary_buf_ has to be chosen through deserialisation.") } - iconSecondary_buf = (iconSecondary_buf_ as Color | number | string | Resource) + compBackgroundSecondary_buf = (compBackgroundSecondary_buf_ as Color | number | string | Resource) } - const iconSecondary_result: ResourceColor | undefined|undefined = iconSecondary_buf - const iconTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconTertiary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (iconTertiary_buf_runtimeType)) + const compBackgroundSecondary_result: ResourceColor | undefined|undefined = compBackgroundSecondary_buf + const compBackgroundTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundTertiary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundTertiary_buf_runtimeType)) { - const iconTertiary_buf__selector: number = valueDeserializer.readInt8() - let iconTertiary_buf_: Color | number | string | Resource | undefined|undefined - if (iconTertiary_buf__selector == 0) { - iconTertiary_buf_ = valueDeserializer.readInt32() + const compBackgroundTertiary_buf__selector: number = valueDeserializer.readInt8() + let compBackgroundTertiary_buf_: Color | number | string | Resource | undefined|undefined + if (compBackgroundTertiary_buf__selector == 0) { + compBackgroundTertiary_buf_ = valueDeserializer.readInt32() } - else if (iconTertiary_buf__selector == 1) { - iconTertiary_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundTertiary_buf__selector == 1) { + compBackgroundTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconTertiary_buf__selector == 2) { - iconTertiary_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundTertiary_buf__selector == 2) { + compBackgroundTertiary_buf_ = (valueDeserializer.readString() as string) } - else if (iconTertiary_buf__selector == 3) { - iconTertiary_buf_ = valueDeserializer.readResource() + else if (compBackgroundTertiary_buf__selector == 3) { + compBackgroundTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundTertiary_buf_ has to be chosen through deserialisation.") } - iconTertiary_buf = (iconTertiary_buf_ as Color | number | string | Resource) + compBackgroundTertiary_buf = (compBackgroundTertiary_buf_ as Color | number | string | Resource) } - const iconTertiary_result: ResourceColor | undefined|undefined = iconTertiary_buf - const iconFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconFourth_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (iconFourth_buf_runtimeType)) + const compBackgroundTertiary_result: ResourceColor | undefined|undefined = compBackgroundTertiary_buf + const compBackgroundEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundEmphasize_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundEmphasize_buf_runtimeType)) { - const iconFourth_buf__selector: number = valueDeserializer.readInt8() - let iconFourth_buf_: Color | number | string | Resource | undefined|undefined - if (iconFourth_buf__selector == 0) { - iconFourth_buf_ = valueDeserializer.readInt32() + const compBackgroundEmphasize_buf__selector: number = valueDeserializer.readInt8() + let compBackgroundEmphasize_buf_: Color | number | string | Resource | undefined|undefined + if (compBackgroundEmphasize_buf__selector == 0) { + compBackgroundEmphasize_buf_ = valueDeserializer.readInt32() } - else if (iconFourth_buf__selector == 1) { - iconFourth_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundEmphasize_buf__selector == 1) { + compBackgroundEmphasize_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconFourth_buf__selector == 2) { - iconFourth_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundEmphasize_buf__selector == 2) { + compBackgroundEmphasize_buf_ = (valueDeserializer.readString() as string) } - else if (iconFourth_buf__selector == 3) { - iconFourth_buf_ = valueDeserializer.readResource() + else if (compBackgroundEmphasize_buf__selector == 3) { + compBackgroundEmphasize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconFourth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundEmphasize_buf_ has to be chosen through deserialisation.") } - iconFourth_buf = (iconFourth_buf_ as Color | number | string | Resource) + compBackgroundEmphasize_buf = (compBackgroundEmphasize_buf_ as Color | number | string | Resource) } - const iconFourth_result: ResourceColor | undefined|undefined = iconFourth_buf - const iconEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconEmphasize_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (iconEmphasize_buf_runtimeType)) + const compBackgroundEmphasize_result: ResourceColor | undefined|undefined = compBackgroundEmphasize_buf + const compBackgroundNeutral_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundNeutral_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundNeutral_buf_runtimeType)) { - const iconEmphasize_buf__selector: number = valueDeserializer.readInt8() - let iconEmphasize_buf_: Color | number | string | Resource | undefined|undefined - if (iconEmphasize_buf__selector == 0) { - iconEmphasize_buf_ = valueDeserializer.readInt32() + const compBackgroundNeutral_buf__selector: number = valueDeserializer.readInt8() + let compBackgroundNeutral_buf_: Color | number | string | Resource | undefined|undefined + if (compBackgroundNeutral_buf__selector == 0) { + compBackgroundNeutral_buf_ = valueDeserializer.readInt32() } - else if (iconEmphasize_buf__selector == 1) { - iconEmphasize_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundNeutral_buf__selector == 1) { + compBackgroundNeutral_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconEmphasize_buf__selector == 2) { - iconEmphasize_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundNeutral_buf__selector == 2) { + compBackgroundNeutral_buf_ = (valueDeserializer.readString() as string) } - else if (iconEmphasize_buf__selector == 3) { - iconEmphasize_buf_ = valueDeserializer.readResource() + else if (compBackgroundNeutral_buf__selector == 3) { + compBackgroundNeutral_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconEmphasize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundNeutral_buf_ has to be chosen through deserialisation.") } - iconEmphasize_buf = (iconEmphasize_buf_ as Color | number | string | Resource) + compBackgroundNeutral_buf = (compBackgroundNeutral_buf_ as Color | number | string | Resource) } - const iconEmphasize_result: ResourceColor | undefined|undefined = iconEmphasize_buf - const iconSubEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconSubEmphasize_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (iconSubEmphasize_buf_runtimeType)) + const compBackgroundNeutral_result: ResourceColor | undefined|undefined = compBackgroundNeutral_buf + const compEmphasizeSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compEmphasizeSecondary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compEmphasizeSecondary_buf_runtimeType)) { - const iconSubEmphasize_buf__selector: number = valueDeserializer.readInt8() - let iconSubEmphasize_buf_: Color | number | string | Resource | undefined|undefined - if (iconSubEmphasize_buf__selector == 0) { - iconSubEmphasize_buf_ = valueDeserializer.readInt32() + const compEmphasizeSecondary_buf__selector: number = valueDeserializer.readInt8() + let compEmphasizeSecondary_buf_: Color | number | string | Resource | undefined|undefined + if (compEmphasizeSecondary_buf__selector == 0) { + compEmphasizeSecondary_buf_ = valueDeserializer.readInt32() } - else if (iconSubEmphasize_buf__selector == 1) { - iconSubEmphasize_buf_ = (valueDeserializer.readNumber() as number) + else if (compEmphasizeSecondary_buf__selector == 1) { + compEmphasizeSecondary_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconSubEmphasize_buf__selector == 2) { - iconSubEmphasize_buf_ = (valueDeserializer.readString() as string) + else if (compEmphasizeSecondary_buf__selector == 2) { + compEmphasizeSecondary_buf_ = (valueDeserializer.readString() as string) } - else if (iconSubEmphasize_buf__selector == 3) { - iconSubEmphasize_buf_ = valueDeserializer.readResource() + else if (compEmphasizeSecondary_buf__selector == 3) { + compEmphasizeSecondary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconSubEmphasize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compEmphasizeSecondary_buf_ has to be chosen through deserialisation.") } - iconSubEmphasize_buf = (iconSubEmphasize_buf_ as Color | number | string | Resource) + compEmphasizeSecondary_buf = (compEmphasizeSecondary_buf_ as Color | number | string | Resource) } - const iconSubEmphasize_result: ResourceColor | undefined|undefined = iconSubEmphasize_buf - const iconOnPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconOnPrimary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (iconOnPrimary_buf_runtimeType)) + const compEmphasizeSecondary_result: ResourceColor | undefined|undefined = compEmphasizeSecondary_buf + const compEmphasizeTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compEmphasizeTertiary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compEmphasizeTertiary_buf_runtimeType)) { - const iconOnPrimary_buf__selector: number = valueDeserializer.readInt8() - let iconOnPrimary_buf_: Color | number | string | Resource | undefined|undefined - if (iconOnPrimary_buf__selector == 0) { - iconOnPrimary_buf_ = valueDeserializer.readInt32() + const compEmphasizeTertiary_buf__selector: number = valueDeserializer.readInt8() + let compEmphasizeTertiary_buf_: Color | number | string | Resource | undefined|undefined + if (compEmphasizeTertiary_buf__selector == 0) { + compEmphasizeTertiary_buf_ = valueDeserializer.readInt32() } - else if (iconOnPrimary_buf__selector == 1) { - iconOnPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (compEmphasizeTertiary_buf__selector == 1) { + compEmphasizeTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconOnPrimary_buf__selector == 2) { - iconOnPrimary_buf_ = (valueDeserializer.readString() as string) + else if (compEmphasizeTertiary_buf__selector == 2) { + compEmphasizeTertiary_buf_ = (valueDeserializer.readString() as string) } - else if (iconOnPrimary_buf__selector == 3) { - iconOnPrimary_buf_ = valueDeserializer.readResource() + else if (compEmphasizeTertiary_buf__selector == 3) { + compEmphasizeTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconOnPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compEmphasizeTertiary_buf_ has to be chosen through deserialisation.") } - iconOnPrimary_buf = (iconOnPrimary_buf_ as Color | number | string | Resource) + compEmphasizeTertiary_buf = (compEmphasizeTertiary_buf_ as Color | number | string | Resource) } - const iconOnPrimary_result: ResourceColor | undefined|undefined = iconOnPrimary_buf - const iconOnSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconOnSecondary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (iconOnSecondary_buf_runtimeType)) + const compEmphasizeTertiary_result: ResourceColor | undefined|undefined = compEmphasizeTertiary_buf + const compDivider_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compDivider_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compDivider_buf_runtimeType)) { - const iconOnSecondary_buf__selector: number = valueDeserializer.readInt8() - let iconOnSecondary_buf_: Color | number | string | Resource | undefined|undefined - if (iconOnSecondary_buf__selector == 0) { - iconOnSecondary_buf_ = valueDeserializer.readInt32() + const compDivider_buf__selector: number = valueDeserializer.readInt8() + let compDivider_buf_: Color | number | string | Resource | undefined|undefined + if (compDivider_buf__selector == 0) { + compDivider_buf_ = valueDeserializer.readInt32() } - else if (iconOnSecondary_buf__selector == 1) { - iconOnSecondary_buf_ = (valueDeserializer.readNumber() as number) + else if (compDivider_buf__selector == 1) { + compDivider_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconOnSecondary_buf__selector == 2) { - iconOnSecondary_buf_ = (valueDeserializer.readString() as string) + else if (compDivider_buf__selector == 2) { + compDivider_buf_ = (valueDeserializer.readString() as string) } - else if (iconOnSecondary_buf__selector == 3) { - iconOnSecondary_buf_ = valueDeserializer.readResource() + else if (compDivider_buf__selector == 3) { + compDivider_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconOnSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compDivider_buf_ has to be chosen through deserialisation.") } - iconOnSecondary_buf = (iconOnSecondary_buf_ as Color | number | string | Resource) + compDivider_buf = (compDivider_buf_ as Color | number | string | Resource) } - const iconOnSecondary_result: ResourceColor | undefined|undefined = iconOnSecondary_buf - const iconOnTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconOnTertiary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (iconOnTertiary_buf_runtimeType)) + const compDivider_result: ResourceColor | undefined|undefined = compDivider_buf + const compCommonContrary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compCommonContrary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compCommonContrary_buf_runtimeType)) { - const iconOnTertiary_buf__selector: number = valueDeserializer.readInt8() - let iconOnTertiary_buf_: Color | number | string | Resource | undefined|undefined - if (iconOnTertiary_buf__selector == 0) { - iconOnTertiary_buf_ = valueDeserializer.readInt32() + const compCommonContrary_buf__selector: number = valueDeserializer.readInt8() + let compCommonContrary_buf_: Color | number | string | Resource | undefined|undefined + if (compCommonContrary_buf__selector == 0) { + compCommonContrary_buf_ = valueDeserializer.readInt32() } - else if (iconOnTertiary_buf__selector == 1) { - iconOnTertiary_buf_ = (valueDeserializer.readNumber() as number) + else if (compCommonContrary_buf__selector == 1) { + compCommonContrary_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconOnTertiary_buf__selector == 2) { - iconOnTertiary_buf_ = (valueDeserializer.readString() as string) + else if (compCommonContrary_buf__selector == 2) { + compCommonContrary_buf_ = (valueDeserializer.readString() as string) } - else if (iconOnTertiary_buf__selector == 3) { - iconOnTertiary_buf_ = valueDeserializer.readResource() + else if (compCommonContrary_buf__selector == 3) { + compCommonContrary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconOnTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compCommonContrary_buf_ has to be chosen through deserialisation.") } - iconOnTertiary_buf = (iconOnTertiary_buf_ as Color | number | string | Resource) + compCommonContrary_buf = (compCommonContrary_buf_ as Color | number | string | Resource) } - const iconOnTertiary_result: ResourceColor | undefined|undefined = iconOnTertiary_buf - const iconOnFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let iconOnFourth_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (iconOnFourth_buf_runtimeType)) + const compCommonContrary_result: ResourceColor | undefined|undefined = compCommonContrary_buf + const compBackgroundFocus_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compBackgroundFocus_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compBackgroundFocus_buf_runtimeType)) { - const iconOnFourth_buf__selector: number = valueDeserializer.readInt8() - let iconOnFourth_buf_: Color | number | string | Resource | undefined|undefined - if (iconOnFourth_buf__selector == 0) { - iconOnFourth_buf_ = valueDeserializer.readInt32() + const compBackgroundFocus_buf__selector: number = valueDeserializer.readInt8() + let compBackgroundFocus_buf_: Color | number | string | Resource | undefined|undefined + if (compBackgroundFocus_buf__selector == 0) { + compBackgroundFocus_buf_ = valueDeserializer.readInt32() } - else if (iconOnFourth_buf__selector == 1) { - iconOnFourth_buf_ = (valueDeserializer.readNumber() as number) + else if (compBackgroundFocus_buf__selector == 1) { + compBackgroundFocus_buf_ = (valueDeserializer.readNumber() as number) } - else if (iconOnFourth_buf__selector == 2) { - iconOnFourth_buf_ = (valueDeserializer.readString() as string) + else if (compBackgroundFocus_buf__selector == 2) { + compBackgroundFocus_buf_ = (valueDeserializer.readString() as string) } - else if (iconOnFourth_buf__selector == 3) { - iconOnFourth_buf_ = valueDeserializer.readResource() + else if (compBackgroundFocus_buf__selector == 3) { + compBackgroundFocus_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for iconOnFourth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compBackgroundFocus_buf_ has to be chosen through deserialisation.") } - iconOnFourth_buf = (iconOnFourth_buf_ as Color | number | string | Resource) + compBackgroundFocus_buf = (compBackgroundFocus_buf_ as Color | number | string | Resource) } - const iconOnFourth_result: ResourceColor | undefined|undefined = iconOnFourth_buf - const backgroundPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundPrimary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundPrimary_buf_runtimeType)) + const compBackgroundFocus_result: ResourceColor | undefined|undefined = compBackgroundFocus_buf + const compFocusedPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compFocusedPrimary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compFocusedPrimary_buf_runtimeType)) { - const backgroundPrimary_buf__selector: number = valueDeserializer.readInt8() - let backgroundPrimary_buf_: Color | number | string | Resource | undefined|undefined - if (backgroundPrimary_buf__selector == 0) { - backgroundPrimary_buf_ = valueDeserializer.readInt32() + const compFocusedPrimary_buf__selector: number = valueDeserializer.readInt8() + let compFocusedPrimary_buf_: Color | number | string | Resource | undefined|undefined + if (compFocusedPrimary_buf__selector == 0) { + compFocusedPrimary_buf_ = valueDeserializer.readInt32() } - else if (backgroundPrimary_buf__selector == 1) { - backgroundPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (compFocusedPrimary_buf__selector == 1) { + compFocusedPrimary_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundPrimary_buf__selector == 2) { - backgroundPrimary_buf_ = (valueDeserializer.readString() as string) + else if (compFocusedPrimary_buf__selector == 2) { + compFocusedPrimary_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundPrimary_buf__selector == 3) { - backgroundPrimary_buf_ = valueDeserializer.readResource() + else if (compFocusedPrimary_buf__selector == 3) { + compFocusedPrimary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compFocusedPrimary_buf_ has to be chosen through deserialisation.") } - backgroundPrimary_buf = (backgroundPrimary_buf_ as Color | number | string | Resource) + compFocusedPrimary_buf = (compFocusedPrimary_buf_ as Color | number | string | Resource) } - const backgroundPrimary_result: ResourceColor | undefined|undefined = backgroundPrimary_buf - const backgroundSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundSecondary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundSecondary_buf_runtimeType)) + const compFocusedPrimary_result: ResourceColor | undefined|undefined = compFocusedPrimary_buf + const compFocusedSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compFocusedSecondary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compFocusedSecondary_buf_runtimeType)) { - const backgroundSecondary_buf__selector: number = valueDeserializer.readInt8() - let backgroundSecondary_buf_: Color | number | string | Resource | undefined|undefined - if (backgroundSecondary_buf__selector == 0) { - backgroundSecondary_buf_ = valueDeserializer.readInt32() + const compFocusedSecondary_buf__selector: number = valueDeserializer.readInt8() + let compFocusedSecondary_buf_: Color | number | string | Resource | undefined|undefined + if (compFocusedSecondary_buf__selector == 0) { + compFocusedSecondary_buf_ = valueDeserializer.readInt32() } - else if (backgroundSecondary_buf__selector == 1) { - backgroundSecondary_buf_ = (valueDeserializer.readNumber() as number) + else if (compFocusedSecondary_buf__selector == 1) { + compFocusedSecondary_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundSecondary_buf__selector == 2) { - backgroundSecondary_buf_ = (valueDeserializer.readString() as string) + else if (compFocusedSecondary_buf__selector == 2) { + compFocusedSecondary_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundSecondary_buf__selector == 3) { - backgroundSecondary_buf_ = valueDeserializer.readResource() + else if (compFocusedSecondary_buf__selector == 3) { + compFocusedSecondary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compFocusedSecondary_buf_ has to be chosen through deserialisation.") } - backgroundSecondary_buf = (backgroundSecondary_buf_ as Color | number | string | Resource) + compFocusedSecondary_buf = (compFocusedSecondary_buf_ as Color | number | string | Resource) } - const backgroundSecondary_result: ResourceColor | undefined|undefined = backgroundSecondary_buf - const backgroundTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundTertiary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundTertiary_buf_runtimeType)) + const compFocusedSecondary_result: ResourceColor | undefined|undefined = compFocusedSecondary_buf + const compFocusedTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let compFocusedTertiary_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (compFocusedTertiary_buf_runtimeType)) { - const backgroundTertiary_buf__selector: number = valueDeserializer.readInt8() - let backgroundTertiary_buf_: Color | number | string | Resource | undefined|undefined - if (backgroundTertiary_buf__selector == 0) { - backgroundTertiary_buf_ = valueDeserializer.readInt32() + const compFocusedTertiary_buf__selector: number = valueDeserializer.readInt8() + let compFocusedTertiary_buf_: Color | number | string | Resource | undefined|undefined + if (compFocusedTertiary_buf__selector == 0) { + compFocusedTertiary_buf_ = valueDeserializer.readInt32() } - else if (backgroundTertiary_buf__selector == 1) { - backgroundTertiary_buf_ = (valueDeserializer.readNumber() as number) + else if (compFocusedTertiary_buf__selector == 1) { + compFocusedTertiary_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundTertiary_buf__selector == 2) { - backgroundTertiary_buf_ = (valueDeserializer.readString() as string) + else if (compFocusedTertiary_buf__selector == 2) { + compFocusedTertiary_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundTertiary_buf__selector == 3) { - backgroundTertiary_buf_ = valueDeserializer.readResource() + else if (compFocusedTertiary_buf__selector == 3) { + compFocusedTertiary_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for compFocusedTertiary_buf_ has to be chosen through deserialisation.") } - backgroundTertiary_buf = (backgroundTertiary_buf_ as Color | number | string | Resource) + compFocusedTertiary_buf = (compFocusedTertiary_buf_ as Color | number | string | Resource) } - const backgroundTertiary_result: ResourceColor | undefined|undefined = backgroundTertiary_buf - const backgroundFourth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundFourth_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundFourth_buf_runtimeType)) + const compFocusedTertiary_result: ResourceColor | undefined|undefined = compFocusedTertiary_buf + const interactiveHover_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let interactiveHover_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (interactiveHover_buf_runtimeType)) { - const backgroundFourth_buf__selector: number = valueDeserializer.readInt8() - let backgroundFourth_buf_: Color | number | string | Resource | undefined|undefined - if (backgroundFourth_buf__selector == 0) { - backgroundFourth_buf_ = valueDeserializer.readInt32() + const interactiveHover_buf__selector: number = valueDeserializer.readInt8() + let interactiveHover_buf_: Color | number | string | Resource | undefined|undefined + if (interactiveHover_buf__selector == 0) { + interactiveHover_buf_ = valueDeserializer.readInt32() } - else if (backgroundFourth_buf__selector == 1) { - backgroundFourth_buf_ = (valueDeserializer.readNumber() as number) + else if (interactiveHover_buf__selector == 1) { + interactiveHover_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundFourth_buf__selector == 2) { - backgroundFourth_buf_ = (valueDeserializer.readString() as string) + else if (interactiveHover_buf__selector == 2) { + interactiveHover_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundFourth_buf__selector == 3) { - backgroundFourth_buf_ = valueDeserializer.readResource() + else if (interactiveHover_buf__selector == 3) { + interactiveHover_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundFourth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for interactiveHover_buf_ has to be chosen through deserialisation.") } - backgroundFourth_buf = (backgroundFourth_buf_ as Color | number | string | Resource) + interactiveHover_buf = (interactiveHover_buf_ as Color | number | string | Resource) } - const backgroundFourth_result: ResourceColor | undefined|undefined = backgroundFourth_buf - const backgroundEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundEmphasize_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundEmphasize_buf_runtimeType)) + const interactiveHover_result: ResourceColor | undefined|undefined = interactiveHover_buf + const interactivePressed_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let interactivePressed_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (interactivePressed_buf_runtimeType)) { - const backgroundEmphasize_buf__selector: number = valueDeserializer.readInt8() - let backgroundEmphasize_buf_: Color | number | string | Resource | undefined|undefined - if (backgroundEmphasize_buf__selector == 0) { - backgroundEmphasize_buf_ = valueDeserializer.readInt32() + const interactivePressed_buf__selector: number = valueDeserializer.readInt8() + let interactivePressed_buf_: Color | number | string | Resource | undefined|undefined + if (interactivePressed_buf__selector == 0) { + interactivePressed_buf_ = valueDeserializer.readInt32() } - else if (backgroundEmphasize_buf__selector == 1) { - backgroundEmphasize_buf_ = (valueDeserializer.readNumber() as number) + else if (interactivePressed_buf__selector == 1) { + interactivePressed_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundEmphasize_buf__selector == 2) { - backgroundEmphasize_buf_ = (valueDeserializer.readString() as string) + else if (interactivePressed_buf__selector == 2) { + interactivePressed_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundEmphasize_buf__selector == 3) { - backgroundEmphasize_buf_ = valueDeserializer.readResource() + else if (interactivePressed_buf__selector == 3) { + interactivePressed_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundEmphasize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for interactivePressed_buf_ has to be chosen through deserialisation.") } - backgroundEmphasize_buf = (backgroundEmphasize_buf_ as Color | number | string | Resource) + interactivePressed_buf = (interactivePressed_buf_ as Color | number | string | Resource) } - const backgroundEmphasize_result: ResourceColor | undefined|undefined = backgroundEmphasize_buf - const compForegroundPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compForegroundPrimary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compForegroundPrimary_buf_runtimeType)) - { - const compForegroundPrimary_buf__selector: number = valueDeserializer.readInt8() - let compForegroundPrimary_buf_: Color | number | string | Resource | undefined|undefined - if (compForegroundPrimary_buf__selector == 0) { - compForegroundPrimary_buf_ = valueDeserializer.readInt32() - } - else if (compForegroundPrimary_buf__selector == 1) { - compForegroundPrimary_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compForegroundPrimary_buf__selector == 2) { - compForegroundPrimary_buf_ = (valueDeserializer.readString() as string) - } - else if (compForegroundPrimary_buf__selector == 3) { - compForegroundPrimary_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for compForegroundPrimary_buf_ has to be chosen through deserialisation.") - } - compForegroundPrimary_buf = (compForegroundPrimary_buf_ as Color | number | string | Resource) - } - const compForegroundPrimary_result: ResourceColor | undefined|undefined = compForegroundPrimary_buf - const compBackgroundPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundPrimary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundPrimary_buf_runtimeType)) + const interactivePressed_result: ResourceColor | undefined|undefined = interactivePressed_buf + const interactiveFocus_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let interactiveFocus_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (interactiveFocus_buf_runtimeType)) { - const compBackgroundPrimary_buf__selector: number = valueDeserializer.readInt8() - let compBackgroundPrimary_buf_: Color | number | string | Resource | undefined|undefined - if (compBackgroundPrimary_buf__selector == 0) { - compBackgroundPrimary_buf_ = valueDeserializer.readInt32() + const interactiveFocus_buf__selector: number = valueDeserializer.readInt8() + let interactiveFocus_buf_: Color | number | string | Resource | undefined|undefined + if (interactiveFocus_buf__selector == 0) { + interactiveFocus_buf_ = valueDeserializer.readInt32() } - else if (compBackgroundPrimary_buf__selector == 1) { - compBackgroundPrimary_buf_ = (valueDeserializer.readNumber() as number) + else if (interactiveFocus_buf__selector == 1) { + interactiveFocus_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundPrimary_buf__selector == 2) { - compBackgroundPrimary_buf_ = (valueDeserializer.readString() as string) + else if (interactiveFocus_buf__selector == 2) { + interactiveFocus_buf_ = (valueDeserializer.readString() as string) } - else if (compBackgroundPrimary_buf__selector == 3) { - compBackgroundPrimary_buf_ = valueDeserializer.readResource() + else if (interactiveFocus_buf__selector == 3) { + interactiveFocus_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for interactiveFocus_buf_ has to be chosen through deserialisation.") } - compBackgroundPrimary_buf = (compBackgroundPrimary_buf_ as Color | number | string | Resource) + interactiveFocus_buf = (interactiveFocus_buf_ as Color | number | string | Resource) } - const compBackgroundPrimary_result: ResourceColor | undefined|undefined = compBackgroundPrimary_buf - const compBackgroundPrimaryTran_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundPrimaryTran_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundPrimaryTran_buf_runtimeType)) + const interactiveFocus_result: ResourceColor | undefined|undefined = interactiveFocus_buf + const interactiveActive_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let interactiveActive_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (interactiveActive_buf_runtimeType)) { - const compBackgroundPrimaryTran_buf__selector: number = valueDeserializer.readInt8() - let compBackgroundPrimaryTran_buf_: Color | number | string | Resource | undefined|undefined - if (compBackgroundPrimaryTran_buf__selector == 0) { - compBackgroundPrimaryTran_buf_ = valueDeserializer.readInt32() + const interactiveActive_buf__selector: number = valueDeserializer.readInt8() + let interactiveActive_buf_: Color | number | string | Resource | undefined|undefined + if (interactiveActive_buf__selector == 0) { + interactiveActive_buf_ = valueDeserializer.readInt32() } - else if (compBackgroundPrimaryTran_buf__selector == 1) { - compBackgroundPrimaryTran_buf_ = (valueDeserializer.readNumber() as number) + else if (interactiveActive_buf__selector == 1) { + interactiveActive_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundPrimaryTran_buf__selector == 2) { - compBackgroundPrimaryTran_buf_ = (valueDeserializer.readString() as string) + else if (interactiveActive_buf__selector == 2) { + interactiveActive_buf_ = (valueDeserializer.readString() as string) } - else if (compBackgroundPrimaryTran_buf__selector == 3) { - compBackgroundPrimaryTran_buf_ = valueDeserializer.readResource() + else if (interactiveActive_buf__selector == 3) { + interactiveActive_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundPrimaryTran_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for interactiveActive_buf_ has to be chosen through deserialisation.") } - compBackgroundPrimaryTran_buf = (compBackgroundPrimaryTran_buf_ as Color | number | string | Resource) + interactiveActive_buf = (interactiveActive_buf_ as Color | number | string | Resource) } - const compBackgroundPrimaryTran_result: ResourceColor | undefined|undefined = compBackgroundPrimaryTran_buf - const compBackgroundPrimaryContrary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundPrimaryContrary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundPrimaryContrary_buf_runtimeType)) + const interactiveActive_result: ResourceColor | undefined|undefined = interactiveActive_buf + const interactiveSelect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let interactiveSelect_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (interactiveSelect_buf_runtimeType)) { - const compBackgroundPrimaryContrary_buf__selector: number = valueDeserializer.readInt8() - let compBackgroundPrimaryContrary_buf_: Color | number | string | Resource | undefined|undefined - if (compBackgroundPrimaryContrary_buf__selector == 0) { - compBackgroundPrimaryContrary_buf_ = valueDeserializer.readInt32() + const interactiveSelect_buf__selector: number = valueDeserializer.readInt8() + let interactiveSelect_buf_: Color | number | string | Resource | undefined|undefined + if (interactiveSelect_buf__selector == 0) { + interactiveSelect_buf_ = valueDeserializer.readInt32() } - else if (compBackgroundPrimaryContrary_buf__selector == 1) { - compBackgroundPrimaryContrary_buf_ = (valueDeserializer.readNumber() as number) + else if (interactiveSelect_buf__selector == 1) { + interactiveSelect_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundPrimaryContrary_buf__selector == 2) { - compBackgroundPrimaryContrary_buf_ = (valueDeserializer.readString() as string) + else if (interactiveSelect_buf__selector == 2) { + interactiveSelect_buf_ = (valueDeserializer.readString() as string) } - else if (compBackgroundPrimaryContrary_buf__selector == 3) { - compBackgroundPrimaryContrary_buf_ = valueDeserializer.readResource() + else if (interactiveSelect_buf__selector == 3) { + interactiveSelect_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundPrimaryContrary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for interactiveSelect_buf_ has to be chosen through deserialisation.") } - compBackgroundPrimaryContrary_buf = (compBackgroundPrimaryContrary_buf_ as Color | number | string | Resource) + interactiveSelect_buf = (interactiveSelect_buf_ as Color | number | string | Resource) } - const compBackgroundPrimaryContrary_result: ResourceColor | undefined|undefined = compBackgroundPrimaryContrary_buf - const compBackgroundGray_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundGray_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundGray_buf_runtimeType)) + const interactiveSelect_result: ResourceColor | undefined|undefined = interactiveSelect_buf + const interactiveClick_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let interactiveClick_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (interactiveClick_buf_runtimeType)) { - const compBackgroundGray_buf__selector: number = valueDeserializer.readInt8() - let compBackgroundGray_buf_: Color | number | string | Resource | undefined|undefined - if (compBackgroundGray_buf__selector == 0) { - compBackgroundGray_buf_ = valueDeserializer.readInt32() + const interactiveClick_buf__selector: number = valueDeserializer.readInt8() + let interactiveClick_buf_: Color | number | string | Resource | undefined|undefined + if (interactiveClick_buf__selector == 0) { + interactiveClick_buf_ = valueDeserializer.readInt32() } - else if (compBackgroundGray_buf__selector == 1) { - compBackgroundGray_buf_ = (valueDeserializer.readNumber() as number) + else if (interactiveClick_buf__selector == 1) { + interactiveClick_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundGray_buf__selector == 2) { - compBackgroundGray_buf_ = (valueDeserializer.readString() as string) + else if (interactiveClick_buf__selector == 2) { + interactiveClick_buf_ = (valueDeserializer.readString() as string) } - else if (compBackgroundGray_buf__selector == 3) { - compBackgroundGray_buf_ = valueDeserializer.readResource() + else if (interactiveClick_buf__selector == 3) { + interactiveClick_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundGray_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for interactiveClick_buf_ has to be chosen through deserialisation.") } - compBackgroundGray_buf = (compBackgroundGray_buf_ as Color | number | string | Resource) + interactiveClick_buf = (interactiveClick_buf_ as Color | number | string | Resource) } - const compBackgroundGray_result: ResourceColor | undefined|undefined = compBackgroundGray_buf - const compBackgroundSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundSecondary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundSecondary_buf_runtimeType)) + const interactiveClick_result: ResourceColor | undefined|undefined = interactiveClick_buf + let value: CustomColors = ({brand: brand_result, warning: warning_result, alert: alert_result, confirm: confirm_result, fontPrimary: fontPrimary_result, fontSecondary: fontSecondary_result, fontTertiary: fontTertiary_result, fontFourth: fontFourth_result, fontEmphasize: fontEmphasize_result, fontOnPrimary: fontOnPrimary_result, fontOnSecondary: fontOnSecondary_result, fontOnTertiary: fontOnTertiary_result, fontOnFourth: fontOnFourth_result, iconPrimary: iconPrimary_result, iconSecondary: iconSecondary_result, iconTertiary: iconTertiary_result, iconFourth: iconFourth_result, iconEmphasize: iconEmphasize_result, iconSubEmphasize: iconSubEmphasize_result, iconOnPrimary: iconOnPrimary_result, iconOnSecondary: iconOnSecondary_result, iconOnTertiary: iconOnTertiary_result, iconOnFourth: iconOnFourth_result, backgroundPrimary: backgroundPrimary_result, backgroundSecondary: backgroundSecondary_result, backgroundTertiary: backgroundTertiary_result, backgroundFourth: backgroundFourth_result, backgroundEmphasize: backgroundEmphasize_result, compForegroundPrimary: compForegroundPrimary_result, compBackgroundPrimary: compBackgroundPrimary_result, compBackgroundPrimaryTran: compBackgroundPrimaryTran_result, compBackgroundPrimaryContrary: compBackgroundPrimaryContrary_result, compBackgroundGray: compBackgroundGray_result, compBackgroundSecondary: compBackgroundSecondary_result, compBackgroundTertiary: compBackgroundTertiary_result, compBackgroundEmphasize: compBackgroundEmphasize_result, compBackgroundNeutral: compBackgroundNeutral_result, compEmphasizeSecondary: compEmphasizeSecondary_result, compEmphasizeTertiary: compEmphasizeTertiary_result, compDivider: compDivider_result, compCommonContrary: compCommonContrary_result, compBackgroundFocus: compBackgroundFocus_result, compFocusedPrimary: compFocusedPrimary_result, compFocusedSecondary: compFocusedSecondary_result, compFocusedTertiary: compFocusedTertiary_result, interactiveHover: interactiveHover_result, interactivePressed: interactivePressed_result, interactiveFocus: interactiveFocus_result, interactiveActive: interactiveActive_result, interactiveSelect: interactiveSelect_result, interactiveClick: interactiveClick_result} as CustomColors) + return value + } + public readDataPanelShadowOptions(): DataPanelShadowOptions { + let valueDeserializer: Deserializer = this + const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let radius_buf: number | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) { - const compBackgroundSecondary_buf__selector: number = valueDeserializer.readInt8() - let compBackgroundSecondary_buf_: Color | number | string | Resource | undefined|undefined - if (compBackgroundSecondary_buf__selector == 0) { - compBackgroundSecondary_buf_ = valueDeserializer.readInt32() - } - else if (compBackgroundSecondary_buf__selector == 1) { - compBackgroundSecondary_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compBackgroundSecondary_buf__selector == 2) { - compBackgroundSecondary_buf_ = (valueDeserializer.readString() as string) + const radius_buf__selector: number = valueDeserializer.readInt8() + let radius_buf_: number | Resource | undefined|undefined + if (radius_buf__selector == 0) { + radius_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundSecondary_buf__selector == 3) { - compBackgroundSecondary_buf_ = valueDeserializer.readResource() + else if (radius_buf__selector == 1) { + radius_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") } - compBackgroundSecondary_buf = (compBackgroundSecondary_buf_ as Color | number | string | Resource) + radius_buf = (radius_buf_ as number | Resource) } - const compBackgroundSecondary_result: ResourceColor | undefined|undefined = compBackgroundSecondary_buf - const compBackgroundTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundTertiary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundTertiary_buf_runtimeType)) + const radius_result: number | Resource | undefined|undefined = radius_buf + const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offsetX_buf: number | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offsetX_buf_runtimeType)) { - const compBackgroundTertiary_buf__selector: number = valueDeserializer.readInt8() - let compBackgroundTertiary_buf_: Color | number | string | Resource | undefined|undefined - if (compBackgroundTertiary_buf__selector == 0) { - compBackgroundTertiary_buf_ = valueDeserializer.readInt32() - } - else if (compBackgroundTertiary_buf__selector == 1) { - compBackgroundTertiary_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compBackgroundTertiary_buf__selector == 2) { - compBackgroundTertiary_buf_ = (valueDeserializer.readString() as string) + const offsetX_buf__selector: number = valueDeserializer.readInt8() + let offsetX_buf_: number | Resource | undefined|undefined + if (offsetX_buf__selector == 0) { + offsetX_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundTertiary_buf__selector == 3) { - compBackgroundTertiary_buf_ = valueDeserializer.readResource() + else if (offsetX_buf__selector == 1) { + offsetX_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for offsetX_buf_ has to be chosen through deserialisation.") } - compBackgroundTertiary_buf = (compBackgroundTertiary_buf_ as Color | number | string | Resource) + offsetX_buf = (offsetX_buf_ as number | Resource) } - const compBackgroundTertiary_result: ResourceColor | undefined|undefined = compBackgroundTertiary_buf - const compBackgroundEmphasize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundEmphasize_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundEmphasize_buf_runtimeType)) + const offsetX_result: number | Resource | undefined|undefined = offsetX_buf + const offsetY_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offsetY_buf: number | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offsetY_buf_runtimeType)) { - const compBackgroundEmphasize_buf__selector: number = valueDeserializer.readInt8() - let compBackgroundEmphasize_buf_: Color | number | string | Resource | undefined|undefined - if (compBackgroundEmphasize_buf__selector == 0) { - compBackgroundEmphasize_buf_ = valueDeserializer.readInt32() - } - else if (compBackgroundEmphasize_buf__selector == 1) { - compBackgroundEmphasize_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compBackgroundEmphasize_buf__selector == 2) { - compBackgroundEmphasize_buf_ = (valueDeserializer.readString() as string) + const offsetY_buf__selector: number = valueDeserializer.readInt8() + let offsetY_buf_: number | Resource | undefined|undefined + if (offsetY_buf__selector == 0) { + offsetY_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundEmphasize_buf__selector == 3) { - compBackgroundEmphasize_buf_ = valueDeserializer.readResource() + else if (offsetY_buf__selector == 1) { + offsetY_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundEmphasize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for offsetY_buf_ has to be chosen through deserialisation.") } - compBackgroundEmphasize_buf = (compBackgroundEmphasize_buf_ as Color | number | string | Resource) + offsetY_buf = (offsetY_buf_ as number | Resource) } - const compBackgroundEmphasize_result: ResourceColor | undefined|undefined = compBackgroundEmphasize_buf - const compBackgroundNeutral_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundNeutral_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundNeutral_buf_runtimeType)) + const offsetY_result: number | Resource | undefined|undefined = offsetY_buf + const colors_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colors_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (colors_buf_runtimeType)) { - const compBackgroundNeutral_buf__selector: number = valueDeserializer.readInt8() - let compBackgroundNeutral_buf_: Color | number | string | Resource | undefined|undefined - if (compBackgroundNeutral_buf__selector == 0) { - compBackgroundNeutral_buf_ = valueDeserializer.readInt32() + const colors_buf__length: int32 = valueDeserializer.readInt32() + let colors_buf_: Array = new Array(colors_buf__length) + for (let colors_buf__i = 0; colors_buf__i < colors_buf__length; colors_buf__i++) { + const colors_buf__buf_selector: number = valueDeserializer.readInt8() + let colors_buf__buf: ResourceColor | LinearGradient | undefined|undefined + if (colors_buf__buf_selector == 0) { + const colors_buf__buf_u_selector: number = valueDeserializer.readInt8() + let colors_buf__buf_u: Color | number | string | Resource | undefined|undefined + if (colors_buf__buf_u_selector == 0) { + colors_buf__buf_u = valueDeserializer.readInt32() + } + else if (colors_buf__buf_u_selector == 1) { + colors_buf__buf_u = (valueDeserializer.readNumber() as number) + } + else if (colors_buf__buf_u_selector == 2) { + colors_buf__buf_u = (valueDeserializer.readString() as string) + } + else if (colors_buf__buf_u_selector == 3) { + colors_buf__buf_u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for colors_buf__buf_u has to be chosen through deserialisation.") + } + colors_buf__buf = (colors_buf__buf_u as Color | number | string | Resource) + } + else if (colors_buf__buf_selector == 1) { + colors_buf__buf = (valueDeserializer.readLinearGradient() as LinearGradient) + } + else { + throw new Error("One of the branches for colors_buf__buf has to be chosen through deserialisation.") + } + colors_buf_[colors_buf__i] = (colors_buf__buf as ResourceColor | LinearGradient) + } + colors_buf = colors_buf_ + } + const colors_result: Array | undefined|undefined = colors_buf + let value: DataPanelShadowOptions = ({radius: radius_result, offsetX: offsetX_result, offsetY: offsetY_result, colors: colors_result} as DataPanelShadowOptions) + return value + } + public readDecoration(): Decoration { + let valueDeserializer: Deserializer = this + const textDecoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textDecoration_buf: TextDecorationType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (textDecoration_buf_runtimeType)) + { + textDecoration_buf = valueDeserializer.readInt32() + } + const textDecoration_result: TextDecorationType | undefined|undefined = textDecoration_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: common2D.Color | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + { + color_buf = valueDeserializer.readcommon2D_Color() + } + const color_result: common2D.Color | undefined|undefined = color_buf + const decorationStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let decorationStyle_buf: TextDecorationStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (decorationStyle_buf_runtimeType)) + { + decorationStyle_buf = valueDeserializer.readInt32() + } + const decorationStyle_result: TextDecorationStyle | undefined|undefined = decorationStyle_buf + const decorationThicknessScale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let decorationThicknessScale_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (decorationThicknessScale_buf_runtimeType)) + { + decorationThicknessScale_buf = (valueDeserializer.readNumber() as number) + } + const decorationThicknessScale_result: number | undefined|undefined = decorationThicknessScale_buf + let value: Decoration = ({textDecoration: textDecoration_result, color: color_result, decorationStyle: decorationStyle_result, decorationThicknessScale: decorationThicknessScale_result} as Decoration) + return value + } + public readDecorationStyle(): DecorationStyle { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return DecorationStyleInternal.fromPtr(ptr) + } + public readDecorationStyleInterface(): DecorationStyleInterface { + let valueDeserializer: Deserializer = this + const type_result: TextDecorationType = valueDeserializer.readInt32() + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + { + const color_buf__selector: number = valueDeserializer.readInt8() + let color_buf_: Color | number | string | Resource | undefined|undefined + if (color_buf__selector == 0) { + color_buf_ = valueDeserializer.readInt32() + } + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as Color | number | string | Resource) + } + const color_result: ResourceColor | undefined|undefined = color_buf + const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let style_buf: TextDecorationStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + { + style_buf = valueDeserializer.readInt32() + } + const style_result: TextDecorationStyle | undefined|undefined = style_buf + let value: DecorationStyleInterface = ({type: type_result, color: color_result, style: style_result} as DecorationStyleInterface) + return value + } + public readDecorationStyleResult(): DecorationStyleResult { + let valueDeserializer: Deserializer = this + const type_result: TextDecorationType = valueDeserializer.readInt32() + const color_buf_selector: number = valueDeserializer.readInt8() + let color_buf: Color | number | string | Resource | undefined|undefined + if (color_buf_selector == 0) { + color_buf = valueDeserializer.readInt32() + } + else if (color_buf_selector == 1) { + color_buf = (valueDeserializer.readNumber() as number) + } + else if (color_buf_selector == 2) { + color_buf = (valueDeserializer.readString() as string) + } + else if (color_buf_selector == 3) { + color_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf has to be chosen through deserialisation.") + } + const color_result: ResourceColor = (color_buf as Color | number | string | Resource) + const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let style_buf: TextDecorationStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + { + style_buf = valueDeserializer.readInt32() + } + const style_result: TextDecorationStyle | undefined|undefined = style_buf + let value: DecorationStyleResult = ({type: type_result, color: color_result, style: style_result} as DecorationStyleResult) + return value + } + public readDividerStyleOptions(): DividerStyleOptions { + let valueDeserializer: Deserializer = this + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const strokeWidth_result: LengthMetrics | undefined|undefined = strokeWidth_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + { + const color_buf__selector: number = valueDeserializer.readInt8() + let color_buf_: Color | number | string | Resource | undefined|undefined + if (color_buf__selector == 0) { + color_buf_ = valueDeserializer.readInt32() + } + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as Color | number | string | Resource) + } + const color_result: ResourceColor | undefined|undefined = color_buf + const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startMargin_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + { + startMargin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const startMargin_result: LengthMetrics | undefined|undefined = startMargin_buf + const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let endMargin_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) + { + endMargin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const endMargin_result: LengthMetrics | undefined|undefined = endMargin_buf + const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mode_buf: DividerMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) + { + mode_buf = valueDeserializer.readInt32() + } + const mode_result: DividerMode | undefined|undefined = mode_buf + let value: DividerStyleOptions = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result, mode: mode_result} as DividerStyleOptions) + return value + } + public readDragPreviewOptions(): DragPreviewOptions { + let valueDeserializer: Deserializer = this + const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mode_buf: DragPreviewMode | Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) + { + const mode_buf__selector: number = valueDeserializer.readInt8() + let mode_buf_: DragPreviewMode | Array | undefined|undefined + if (mode_buf__selector == 0) { + mode_buf_ = valueDeserializer.readInt32() + } + else if (mode_buf__selector == 1) { + const mode_buf__u_length: int32 = valueDeserializer.readInt32() + let mode_buf__u: Array = new Array(mode_buf__u_length) + for (let mode_buf__u_i = 0; mode_buf__u_i < mode_buf__u_length; mode_buf__u_i++) { + mode_buf__u[mode_buf__u_i] = valueDeserializer.readInt32() + } + mode_buf_ = mode_buf__u + } + else { + throw new Error("One of the branches for mode_buf_ has to be chosen through deserialisation.") + } + mode_buf = (mode_buf_ as DragPreviewMode | Array) + } + const mode_result: DragPreviewMode | Array | undefined|undefined = mode_buf + const modifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let modifier_buf: ImageModifier | undefined|undefined + if ((RuntimeType.UNDEFINED) != (modifier_buf_runtimeType)) + { + modifier_buf = valueDeserializer.readImageModifier() + } + const modifier_result: ImageModifier | undefined|undefined = modifier_buf + const numberBadge_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let numberBadge_buf: boolean | number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (numberBadge_buf_runtimeType)) + { + const numberBadge_buf__selector: number = valueDeserializer.readInt8() + let numberBadge_buf_: boolean | number | undefined|undefined + if (numberBadge_buf__selector == 0) { + numberBadge_buf_ = valueDeserializer.readBoolean() + } + else if (numberBadge_buf__selector == 1) { + numberBadge_buf_ = (valueDeserializer.readNumber() as number) + } + else { + throw new Error("One of the branches for numberBadge_buf_ has to be chosen through deserialisation.") + } + numberBadge_buf = (numberBadge_buf_ as boolean | number) + } + const numberBadge_result: boolean | number | undefined|undefined = numberBadge_buf + const sizeChangeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let sizeChangeEffect_buf: DraggingSizeChangeEffect | undefined|undefined + if ((RuntimeType.UNDEFINED) != (sizeChangeEffect_buf_runtimeType)) + { + sizeChangeEffect_buf = valueDeserializer.readInt32() + } + const sizeChangeEffect_result: DraggingSizeChangeEffect | undefined|undefined = sizeChangeEffect_buf + let value: DragPreviewOptions = ({mode: mode_result, modifier: modifier_result, numberBadge: numberBadge_result, sizeChangeEffect: sizeChangeEffect_result} as DragPreviewOptions) + return value + } + public readEdgeColors(): EdgeColors { + let valueDeserializer: Deserializer = this + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + const top_buf__selector: number = valueDeserializer.readInt8() + let top_buf_: Color | number | string | Resource | undefined|undefined + if (top_buf__selector == 0) { + top_buf_ = valueDeserializer.readInt32() + } + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) + } + else if (top_buf__selector == 2) { + top_buf_ = (valueDeserializer.readString() as string) + } + else if (top_buf__selector == 3) { + top_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + } + top_buf = (top_buf_ as Color | number | string | Resource) + } + const top_result: ResourceColor | undefined|undefined = top_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) + { + const right_buf__selector: number = valueDeserializer.readInt8() + let right_buf_: Color | number | string | Resource | undefined|undefined + if (right_buf__selector == 0) { + right_buf_ = valueDeserializer.readInt32() + } + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) + } + else if (right_buf__selector == 2) { + right_buf_ = (valueDeserializer.readString() as string) + } + else if (right_buf__selector == 3) { + right_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") + } + right_buf = (right_buf_ as Color | number | string | Resource) + } + const right_result: ResourceColor | undefined|undefined = right_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + const bottom_buf__selector: number = valueDeserializer.readInt8() + let bottom_buf_: Color | number | string | Resource | undefined|undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = valueDeserializer.readInt32() + } + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottom_buf__selector == 2) { + bottom_buf_ = (valueDeserializer.readString() as string) + } + else if (bottom_buf__selector == 3) { + bottom_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") + } + bottom_buf = (bottom_buf_ as Color | number | string | Resource) + } + const bottom_result: ResourceColor | undefined|undefined = bottom_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) + { + const left_buf__selector: number = valueDeserializer.readInt8() + let left_buf_: Color | number | string | Resource | undefined|undefined + if (left_buf__selector == 0) { + left_buf_ = valueDeserializer.readInt32() + } + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readNumber() as number) + } + else if (left_buf__selector == 2) { + left_buf_ = (valueDeserializer.readString() as string) + } + else if (left_buf__selector == 3) { + left_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") + } + left_buf = (left_buf_ as Color | number | string | Resource) + } + const left_result: ResourceColor | undefined|undefined = left_buf + let value: EdgeColors = ({top: top_result, right: right_result, bottom: bottom_result, left: left_result} as EdgeColors) + return value + } + public readExpandedMenuItemOptions(): ExpandedMenuItemOptions { + let valueDeserializer: Deserializer = this + const content_buf_selector: number = valueDeserializer.readInt8() + let content_buf: string | Resource | undefined|undefined + if (content_buf_selector == 0) { + content_buf = (valueDeserializer.readString() as string) + } + else if (content_buf_selector == 1) { + content_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for content_buf has to be chosen through deserialisation.") + } + const content_result: ResourceStr = (content_buf as string | Resource) + const startIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startIcon_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (startIcon_buf_runtimeType)) + { + const startIcon_buf__selector: number = valueDeserializer.readInt8() + let startIcon_buf_: string | Resource | undefined|undefined + if (startIcon_buf__selector == 0) { + startIcon_buf_ = (valueDeserializer.readString() as string) + } + else if (startIcon_buf__selector == 1) { + startIcon_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for startIcon_buf_ has to be chosen through deserialisation.") + } + startIcon_buf = (startIcon_buf_ as string | Resource) + } + const startIcon_result: ResourceStr | undefined|undefined = startIcon_buf + const action_result: ((selectedText: { plainText: string }) => void) = valueDeserializer.readCallback_Literal_String_plainText_Void() + let value: ExpandedMenuItemOptions = ({content: content_result, startIcon: startIcon_result, action: action_result} as ExpandedMenuItemOptions) + return value + } + public readFadingEdgeOptions(): FadingEdgeOptions { + let valueDeserializer: Deserializer = this + const fadingEdgeLength_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fadingEdgeLength_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fadingEdgeLength_buf_runtimeType)) + { + fadingEdgeLength_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const fadingEdgeLength_result: LengthMetrics | undefined|undefined = fadingEdgeLength_buf + let value: FadingEdgeOptions = ({fadingEdgeLength: fadingEdgeLength_result} as FadingEdgeOptions) + return value + } + public readFlexSpaceOptions(): FlexSpaceOptions { + let valueDeserializer: Deserializer = this + const main_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let main_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (main_buf_runtimeType)) + { + main_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const main_result: LengthMetrics | undefined|undefined = main_buf + const cross_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let cross_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (cross_buf_runtimeType)) + { + cross_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const cross_result: LengthMetrics | undefined|undefined = cross_buf + let value: FlexSpaceOptions = ({main: main_result, cross: cross_result} as FlexSpaceOptions) + return value + } + public readFocusBoxStyle(): FocusBoxStyle { + let valueDeserializer: Deserializer = this + const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let margin_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) + { + margin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const margin_result: LengthMetrics | undefined|undefined = margin_buf + const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeColor_buf: ColorMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) + { + strokeColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + } + const strokeColor_result: ColorMetrics | undefined|undefined = strokeColor_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const strokeWidth_result: LengthMetrics | undefined|undefined = strokeWidth_buf + let value: FocusBoxStyle = ({margin: margin_result, strokeColor: strokeColor_result, strokeWidth: strokeWidth_result} as FocusBoxStyle) + return value + } + public readFontOptions(): FontOptions { + let valueDeserializer: Deserializer = this + const familyName_buf_selector: number = valueDeserializer.readInt8() + let familyName_buf: string | Resource | undefined|undefined + if (familyName_buf_selector == 0) { + familyName_buf = (valueDeserializer.readString() as string) + } + else if (familyName_buf_selector == 1) { + familyName_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for familyName_buf has to be chosen through deserialisation.") + } + const familyName_result: string | Resource = (familyName_buf as string | Resource) + const familySrc_buf_selector: number = valueDeserializer.readInt8() + let familySrc_buf: string | Resource | undefined|undefined + if (familySrc_buf_selector == 0) { + familySrc_buf = (valueDeserializer.readString() as string) + } + else if (familySrc_buf_selector == 1) { + familySrc_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for familySrc_buf has to be chosen through deserialisation.") + } + const familySrc_result: string | Resource = (familySrc_buf as string | Resource) + let value: FontOptions = ({familyName: familyName_result, familySrc: familySrc_result} as FontOptions) + return value + } + public readForegroundBlurStyleOptions(): ForegroundBlurStyleOptions { + let valueDeserializer: Deserializer = this + const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colorMode_buf: ThemeColorMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) + { + colorMode_buf = valueDeserializer.readInt32() + } + const colorMode_result: ThemeColorMode | undefined|undefined = colorMode_buf + const adaptiveColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let adaptiveColor_buf: AdaptiveColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (adaptiveColor_buf_runtimeType)) + { + adaptiveColor_buf = valueDeserializer.readInt32() + } + const adaptiveColor_result: AdaptiveColor | undefined|undefined = adaptiveColor_buf + const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scale_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) + { + scale_buf = (valueDeserializer.readNumber() as number) + } + const scale_result: number | undefined|undefined = scale_buf + const blurOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let blurOptions_buf: BlurOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (blurOptions_buf_runtimeType)) + { + blurOptions_buf = valueDeserializer.readBlurOptions() + } + const blurOptions_result: BlurOptions | undefined|undefined = blurOptions_buf + let value: ForegroundBlurStyleOptions = ({colorMode: colorMode_result, adaptiveColor: adaptiveColor_result, scale: scale_result, blurOptions: blurOptions_result} as ForegroundBlurStyleOptions) + return value + } + public readFormInfo(): FormInfo { + let valueDeserializer: Deserializer = this + const id_buf_selector: number = valueDeserializer.readInt8() + let id_buf: number | string | undefined|undefined + if (id_buf_selector == 0) { + id_buf = valueDeserializer.readInt64() + } + else if (id_buf_selector == 1) { + id_buf = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for id_buf has to be chosen through deserialisation.") + } + const id_result: number | string = (id_buf as number | string) + const name_result: string = (valueDeserializer.readString() as string) + const bundle_result: string = (valueDeserializer.readString() as string) + const ability_result: string = (valueDeserializer.readString() as string) + const module_result: string = (valueDeserializer.readString() as string) + const dimension_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dimension_buf: FormDimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (dimension_buf_runtimeType)) + { + dimension_buf = valueDeserializer.readInt32() + } + const dimension_result: FormDimension | undefined|undefined = dimension_buf + const temporary_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let temporary_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (temporary_buf_runtimeType)) + { + temporary_buf = valueDeserializer.readBoolean() + } + const temporary_result: boolean | undefined|undefined = temporary_buf + const want_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let want_buf: Want | undefined|undefined + if ((RuntimeType.UNDEFINED) != (want_buf_runtimeType)) + { + want_buf = valueDeserializer.readWant() + } + const want_result: Want | undefined|undefined = want_buf + const renderingMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let renderingMode_buf: FormRenderingMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (renderingMode_buf_runtimeType)) + { + renderingMode_buf = valueDeserializer.readInt32() + } + const renderingMode_result: FormRenderingMode | undefined|undefined = renderingMode_buf + const shape_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let shape_buf: FormShape | undefined|undefined + if ((RuntimeType.UNDEFINED) != (shape_buf_runtimeType)) + { + shape_buf = valueDeserializer.readInt32() + } + const shape_result: FormShape | undefined|undefined = shape_buf + let value: FormInfo = ({id: id_result, name: name_result, bundle: bundle_result, ability: ability_result, module: module_result, dimension: dimension_result, temporary: temporary_result, want: want_result, renderingMode: renderingMode_result, shape: shape_result} as FormInfo) + return value + } + public readGaugeShadowOptions(): GaugeShadowOptions { + let valueDeserializer: Deserializer = this + const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let radius_buf: number | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) + { + const radius_buf__selector: number = valueDeserializer.readInt8() + let radius_buf_: number | Resource | undefined|undefined + if (radius_buf__selector == 0) { + radius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (radius_buf__selector == 1) { + radius_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") + } + radius_buf = (radius_buf_ as number | Resource) + } + const radius_result: number | Resource | undefined|undefined = radius_buf + const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offsetX_buf: number | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offsetX_buf_runtimeType)) + { + const offsetX_buf__selector: number = valueDeserializer.readInt8() + let offsetX_buf_: number | Resource | undefined|undefined + if (offsetX_buf__selector == 0) { + offsetX_buf_ = (valueDeserializer.readNumber() as number) + } + else if (offsetX_buf__selector == 1) { + offsetX_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for offsetX_buf_ has to be chosen through deserialisation.") + } + offsetX_buf = (offsetX_buf_ as number | Resource) + } + const offsetX_result: number | Resource | undefined|undefined = offsetX_buf + const offsetY_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offsetY_buf: number | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offsetY_buf_runtimeType)) + { + const offsetY_buf__selector: number = valueDeserializer.readInt8() + let offsetY_buf_: number | Resource | undefined|undefined + if (offsetY_buf__selector == 0) { + offsetY_buf_ = (valueDeserializer.readNumber() as number) + } + else if (offsetY_buf__selector == 1) { + offsetY_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for offsetY_buf_ has to be chosen through deserialisation.") + } + offsetY_buf = (offsetY_buf_ as number | Resource) + } + const offsetY_result: number | Resource | undefined|undefined = offsetY_buf + let value: GaugeShadowOptions = ({radius: radius_result, offsetX: offsetX_result, offsetY: offsetY_result} as GaugeShadowOptions) + return value + } + public readGridColOptions(): GridColOptions { + let valueDeserializer: Deserializer = this + const span_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let span_buf: number | GridColColumnOption | undefined|undefined + if ((RuntimeType.UNDEFINED) != (span_buf_runtimeType)) + { + const span_buf__selector: number = valueDeserializer.readInt8() + let span_buf_: number | GridColColumnOption | undefined|undefined + if (span_buf__selector == 0) { + span_buf_ = (valueDeserializer.readNumber() as number) + } + else if (span_buf__selector == 1) { + span_buf_ = valueDeserializer.readGridColColumnOption() + } + else { + throw new Error("One of the branches for span_buf_ has to be chosen through deserialisation.") + } + span_buf = (span_buf_ as number | GridColColumnOption) + } + const span_result: number | GridColColumnOption | undefined|undefined = span_buf + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf: number | GridColColumnOption | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) + { + const offset_buf__selector: number = valueDeserializer.readInt8() + let offset_buf_: number | GridColColumnOption | undefined|undefined + if (offset_buf__selector == 0) { + offset_buf_ = (valueDeserializer.readNumber() as number) + } + else if (offset_buf__selector == 1) { + offset_buf_ = valueDeserializer.readGridColColumnOption() + } + else { + throw new Error("One of the branches for offset_buf_ has to be chosen through deserialisation.") + } + offset_buf = (offset_buf_ as number | GridColColumnOption) + } + const offset_result: number | GridColColumnOption | undefined|undefined = offset_buf + const order_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let order_buf: number | GridColColumnOption | undefined|undefined + if ((RuntimeType.UNDEFINED) != (order_buf_runtimeType)) + { + const order_buf__selector: number = valueDeserializer.readInt8() + let order_buf_: number | GridColColumnOption | undefined|undefined + if (order_buf__selector == 0) { + order_buf_ = (valueDeserializer.readNumber() as number) + } + else if (order_buf__selector == 1) { + order_buf_ = valueDeserializer.readGridColColumnOption() + } + else { + throw new Error("One of the branches for order_buf_ has to be chosen through deserialisation.") + } + order_buf = (order_buf_ as number | GridColColumnOption) + } + const order_result: number | GridColColumnOption | undefined|undefined = order_buf + let value: GridColOptions = ({span: span_result, offset: offset_result, order: order_result} as GridColOptions) + return value + } + public readHistoricalPoint(): HistoricalPoint { + let valueDeserializer: Deserializer = this + const touchObject_result: TouchObject = valueDeserializer.readTouchObject() + const size_result: number = (valueDeserializer.readNumber() as number) + const force_result: number = (valueDeserializer.readNumber() as number) + const timestamp_result: number = valueDeserializer.readInt64() + let value: HistoricalPoint = ({touchObject: touchObject_result, size: size_result, force: force_result, timestamp: timestamp_result} as HistoricalPoint) + return value + } + public readImageFrameInfo(): ImageFrameInfo { + let valueDeserializer: Deserializer = this + const src_buf_selector: number = valueDeserializer.readInt8() + let src_buf: string | Resource | PixelMap | undefined|undefined + if (src_buf_selector == 0) { + src_buf = (valueDeserializer.readString() as string) + } + else if (src_buf_selector == 1) { + src_buf = valueDeserializer.readResource() + } + else if (src_buf_selector == 2) { + src_buf = (valueDeserializer.readPixelMap() as PixelMap) + } + else { + throw new Error("One of the branches for src_buf has to be chosen through deserialisation.") + } + const src_result: string | Resource | PixelMap = (src_buf as string | Resource | PixelMap) + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + const width_buf__selector: number = valueDeserializer.readInt8() + let width_buf_: number | string | undefined|undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readNumber() as number) + } + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + } + width_buf = (width_buf_ as number | string) + } + const width_result: number | string | undefined|undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + { + const height_buf__selector: number = valueDeserializer.readInt8() + let height_buf_: number | string | undefined|undefined + if (height_buf__selector == 0) { + height_buf_ = (valueDeserializer.readNumber() as number) + } + else if (height_buf__selector == 1) { + height_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + } + height_buf = (height_buf_ as number | string) + } + const height_result: number | string | undefined|undefined = height_buf + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + const top_buf__selector: number = valueDeserializer.readInt8() + let top_buf_: number | string | undefined|undefined + if (top_buf__selector == 0) { + top_buf_ = (valueDeserializer.readNumber() as number) + } + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + } + top_buf = (top_buf_ as number | string) + } + const top_result: number | string | undefined|undefined = top_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) + { + const left_buf__selector: number = valueDeserializer.readInt8() + let left_buf_: number | string | undefined|undefined + if (left_buf__selector == 0) { + left_buf_ = (valueDeserializer.readNumber() as number) + } + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") + } + left_buf = (left_buf_ as number | string) + } + const left_result: number | string | undefined|undefined = left_buf + const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let duration_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf = (valueDeserializer.readNumber() as number) + } + const duration_result: number | undefined|undefined = duration_buf + let value: ImageFrameInfo = ({src: src_result, width: width_result, height: height_result, top: top_result, left: left_result, duration: duration_result} as ImageFrameInfo) + return value + } + public readJavaScriptProxy(): JavaScriptProxy { + let valueDeserializer: Deserializer = this + const object__result: Object = (valueDeserializer.readObject() as Object) + const name_result: string = (valueDeserializer.readString() as string) + const methodList_buf_length: int32 = valueDeserializer.readInt32() + let methodList_buf: Array = new Array(methodList_buf_length) + for (let methodList_buf_i = 0; methodList_buf_i < methodList_buf_length; methodList_buf_i++) { + methodList_buf[methodList_buf_i] = (valueDeserializer.readString() as string) + } + const methodList_result: Array = methodList_buf + const controller_buf_selector: number = valueDeserializer.readInt8() + let controller_buf: WebController | WebviewController | undefined|undefined + if (controller_buf_selector == 0) { + controller_buf = (valueDeserializer.readWebController() as WebController) + } + else if (controller_buf_selector == 1) { + controller_buf = (valueDeserializer.readWebviewController() as WebviewController) + } + else { + throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") + } + const controller_result: WebController | WebviewController = (controller_buf as WebController | WebviewController) + const asyncMethodList_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let asyncMethodList_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (asyncMethodList_buf_runtimeType)) + { + const asyncMethodList_buf__length: int32 = valueDeserializer.readInt32() + let asyncMethodList_buf_: Array = new Array(asyncMethodList_buf__length) + for (let asyncMethodList_buf__i = 0; asyncMethodList_buf__i < asyncMethodList_buf__length; asyncMethodList_buf__i++) { + asyncMethodList_buf_[asyncMethodList_buf__i] = (valueDeserializer.readString() as string) + } + asyncMethodList_buf = asyncMethodList_buf_ + } + const asyncMethodList_result: Array | undefined|undefined = asyncMethodList_buf + const permission_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let permission_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (permission_buf_runtimeType)) + { + permission_buf = (valueDeserializer.readString() as string) + } + const permission_result: string | undefined|undefined = permission_buf + let value: JavaScriptProxy = ({object_: object__result, name: name_result, methodList: methodList_result, controller: controller_result, asyncMethodList: asyncMethodList_result, permission: permission_result} as JavaScriptProxy) + return value + } + public readLengthConstrain(): LengthConstrain { + let valueDeserializer: Deserializer = this + const minLength_buf_selector: number = valueDeserializer.readInt8() + let minLength_buf: string | number | Resource | undefined|undefined + if (minLength_buf_selector == 0) { + minLength_buf = (valueDeserializer.readString() as string) + } + else if (minLength_buf_selector == 1) { + minLength_buf = (valueDeserializer.readNumber() as number) + } + else if (minLength_buf_selector == 2) { + minLength_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for minLength_buf has to be chosen through deserialisation.") + } + const minLength_result: Length = (minLength_buf as string | number | Resource) + const maxLength_buf_selector: number = valueDeserializer.readInt8() + let maxLength_buf: string | number | Resource | undefined|undefined + if (maxLength_buf_selector == 0) { + maxLength_buf = (valueDeserializer.readString() as string) + } + else if (maxLength_buf_selector == 1) { + maxLength_buf = (valueDeserializer.readNumber() as number) + } + else if (maxLength_buf_selector == 2) { + maxLength_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for maxLength_buf has to be chosen through deserialisation.") + } + const maxLength_result: Length = (maxLength_buf as string | number | Resource) + let value: LengthConstrain = ({minLength: minLength_result, maxLength: maxLength_result} as LengthConstrain) + return value + } + public readLightSource(): LightSource { + let valueDeserializer: Deserializer = this + const positionX_buf_selector: number = valueDeserializer.readInt8() + let positionX_buf: string | number | Resource | undefined|undefined + if (positionX_buf_selector == 0) { + positionX_buf = (valueDeserializer.readString() as string) + } + else if (positionX_buf_selector == 1) { + positionX_buf = (valueDeserializer.readNumber() as number) + } + else if (positionX_buf_selector == 2) { + positionX_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for positionX_buf has to be chosen through deserialisation.") + } + const positionX_result: Dimension = (positionX_buf as string | number | Resource) + const positionY_buf_selector: number = valueDeserializer.readInt8() + let positionY_buf: string | number | Resource | undefined|undefined + if (positionY_buf_selector == 0) { + positionY_buf = (valueDeserializer.readString() as string) + } + else if (positionY_buf_selector == 1) { + positionY_buf = (valueDeserializer.readNumber() as number) + } + else if (positionY_buf_selector == 2) { + positionY_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for positionY_buf has to be chosen through deserialisation.") + } + const positionY_result: Dimension = (positionY_buf as string | number | Resource) + const positionZ_buf_selector: number = valueDeserializer.readInt8() + let positionZ_buf: string | number | Resource | undefined|undefined + if (positionZ_buf_selector == 0) { + positionZ_buf = (valueDeserializer.readString() as string) + } + else if (positionZ_buf_selector == 1) { + positionZ_buf = (valueDeserializer.readNumber() as number) + } + else if (positionZ_buf_selector == 2) { + positionZ_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for positionZ_buf has to be chosen through deserialisation.") + } + const positionZ_result: Dimension = (positionZ_buf as string | number | Resource) + const intensity_result: number = (valueDeserializer.readNumber() as number) + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + { + const color_buf__selector: number = valueDeserializer.readInt8() + let color_buf_: Color | number | string | Resource | undefined|undefined + if (color_buf__selector == 0) { + color_buf_ = valueDeserializer.readInt32() + } + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as Color | number | string | Resource) + } + const color_result: ResourceColor | undefined|undefined = color_buf + let value: LightSource = ({positionX: positionX_result, positionY: positionY_result, positionZ: positionZ_result, intensity: intensity_result, color: color_result} as LightSource) + return value + } + public readLinearIndicatorStyle(): LinearIndicatorStyle { + let valueDeserializer: Deserializer = this + const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let space_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) + { + space_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const space_result: LengthMetrics | undefined|undefined = space_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const strokeWidth_result: LengthMetrics | undefined|undefined = strokeWidth_buf + const strokeRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeRadius_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeRadius_buf_runtimeType)) + { + strokeRadius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const strokeRadius_result: LengthMetrics | undefined|undefined = strokeRadius_buf + const trackBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let trackBackgroundColor_buf: ColorMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (trackBackgroundColor_buf_runtimeType)) + { + trackBackgroundColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + } + const trackBackgroundColor_result: ColorMetrics | undefined|undefined = trackBackgroundColor_buf + const trackColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let trackColor_buf: ColorMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (trackColor_buf_runtimeType)) + { + trackColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + } + const trackColor_result: ColorMetrics | undefined|undefined = trackColor_buf + let value: LinearIndicatorStyle = ({space: space_result, strokeWidth: strokeWidth_result, strokeRadius: strokeRadius_result, trackBackgroundColor: trackBackgroundColor_result, trackColor: trackColor_result} as LinearIndicatorStyle) + return value + } + public readLocalizedAlignRuleOptions(): LocalizedAlignRuleOptions { + let valueDeserializer: Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: LocalizedHorizontalAlignParam | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = valueDeserializer.readLocalizedHorizontalAlignParam() + } + const start_result: LocalizedHorizontalAlignParam | undefined|undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: LocalizedHorizontalAlignParam | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = valueDeserializer.readLocalizedHorizontalAlignParam() + } + const end_result: LocalizedHorizontalAlignParam | undefined|undefined = end_buf + const middle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let middle_buf: LocalizedHorizontalAlignParam | undefined|undefined + if ((RuntimeType.UNDEFINED) != (middle_buf_runtimeType)) + { + middle_buf = valueDeserializer.readLocalizedHorizontalAlignParam() + } + const middle_result: LocalizedHorizontalAlignParam | undefined|undefined = middle_buf + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: LocalizedVerticalAlignParam | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + top_buf = valueDeserializer.readLocalizedVerticalAlignParam() + } + const top_result: LocalizedVerticalAlignParam | undefined|undefined = top_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf: LocalizedVerticalAlignParam | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf = valueDeserializer.readLocalizedVerticalAlignParam() + } + const bottom_result: LocalizedVerticalAlignParam | undefined|undefined = bottom_buf + const center_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let center_buf: LocalizedVerticalAlignParam | undefined|undefined + if ((RuntimeType.UNDEFINED) != (center_buf_runtimeType)) + { + center_buf = valueDeserializer.readLocalizedVerticalAlignParam() + } + const center_result: LocalizedVerticalAlignParam | undefined|undefined = center_buf + const bias_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bias_buf: Bias | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bias_buf_runtimeType)) + { + bias_buf = valueDeserializer.readBias() + } + const bias_result: Bias | undefined|undefined = bias_buf + let value: LocalizedAlignRuleOptions = ({start: start_result, end: end_result, middle: middle_result, top: top_result, bottom: bottom_result, center: center_result, bias: bias_result} as LocalizedAlignRuleOptions) + return value + } + public readLocalizedBorderRadiuses(): LocalizedBorderRadiuses { + let valueDeserializer: Deserializer = this + const topStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let topStart_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (topStart_buf_runtimeType)) + { + topStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const topStart_result: LengthMetrics | undefined|undefined = topStart_buf + const topEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let topEnd_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (topEnd_buf_runtimeType)) + { + topEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const topEnd_result: LengthMetrics | undefined|undefined = topEnd_buf + const bottomStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottomStart_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottomStart_buf_runtimeType)) + { + bottomStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const bottomStart_result: LengthMetrics | undefined|undefined = bottomStart_buf + const bottomEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottomEnd_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottomEnd_buf_runtimeType)) + { + bottomEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const bottomEnd_result: LengthMetrics | undefined|undefined = bottomEnd_buf + let value: LocalizedBorderRadiuses = ({topStart: topStart_result, topEnd: topEnd_result, bottomStart: bottomStart_result, bottomEnd: bottomEnd_result} as LocalizedBorderRadiuses) + return value + } + public readLocalizedEdgeColors(): LocalizedEdgeColors { + let valueDeserializer: Deserializer = this + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + const top_buf__selector: number = valueDeserializer.readInt8() + let top_buf_: Color | number | string | Resource | undefined|undefined + if (top_buf__selector == 0) { + top_buf_ = valueDeserializer.readInt32() + } + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) + } + else if (top_buf__selector == 2) { + top_buf_ = (valueDeserializer.readString() as string) + } + else if (top_buf__selector == 3) { + top_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + } + top_buf = (top_buf_ as Color | number | string | Resource) + } + const top_result: ResourceColor | undefined|undefined = top_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + const end_buf__selector: number = valueDeserializer.readInt8() + let end_buf_: Color | number | string | Resource | undefined|undefined + if (end_buf__selector == 0) { + end_buf_ = valueDeserializer.readInt32() + } + else if (end_buf__selector == 1) { + end_buf_ = (valueDeserializer.readNumber() as number) + } + else if (end_buf__selector == 2) { + end_buf_ = (valueDeserializer.readString() as string) + } + else if (end_buf__selector == 3) { + end_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for end_buf_ has to be chosen through deserialisation.") + } + end_buf = (end_buf_ as Color | number | string | Resource) + } + const end_result: ResourceColor | undefined|undefined = end_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + const bottom_buf__selector: number = valueDeserializer.readInt8() + let bottom_buf_: Color | number | string | Resource | undefined|undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = valueDeserializer.readInt32() + } + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottom_buf__selector == 2) { + bottom_buf_ = (valueDeserializer.readString() as string) + } + else if (bottom_buf__selector == 3) { + bottom_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") + } + bottom_buf = (bottom_buf_ as Color | number | string | Resource) + } + const bottom_result: ResourceColor | undefined|undefined = bottom_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + const start_buf__selector: number = valueDeserializer.readInt8() + let start_buf_: Color | number | string | Resource | undefined|undefined + if (start_buf__selector == 0) { + start_buf_ = valueDeserializer.readInt32() + } + else if (start_buf__selector == 1) { + start_buf_ = (valueDeserializer.readNumber() as number) + } + else if (start_buf__selector == 2) { + start_buf_ = (valueDeserializer.readString() as string) + } + else if (start_buf__selector == 3) { + start_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for start_buf_ has to be chosen through deserialisation.") + } + start_buf = (start_buf_ as Color | number | string | Resource) + } + const start_result: ResourceColor | undefined|undefined = start_buf + let value: LocalizedEdgeColors = ({top: top_result, end: end_result, bottom: bottom_result, start: start_result} as LocalizedEdgeColors) + return value + } + public readLocalizedEdges(): LocalizedEdges { + let valueDeserializer: Deserializer = this + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const top_result: LengthMetrics | undefined|undefined = top_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const start_result: LengthMetrics | undefined|undefined = start_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const bottom_result: LengthMetrics | undefined|undefined = bottom_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const end_result: LengthMetrics | undefined|undefined = end_buf + let value: LocalizedEdges = ({top: top_result, start: start_result, bottom: bottom_result, end: end_result} as LocalizedEdges) + return value + } + public readLocalizedEdgeWidths(): LocalizedEdgeWidths { + let valueDeserializer: Deserializer = this + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const top_result: LengthMetrics | undefined|undefined = top_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const end_result: LengthMetrics | undefined|undefined = end_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const bottom_result: LengthMetrics | undefined|undefined = bottom_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const start_result: LengthMetrics | undefined|undefined = start_buf + let value: LocalizedEdgeWidths = ({top: top_result, end: end_result, bottom: bottom_result, start: start_result} as LocalizedEdgeWidths) + return value + } + public readLocalizedPadding(): LocalizedPadding { + let valueDeserializer: Deserializer = this + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const top_result: LengthMetrics | undefined|undefined = top_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const end_result: LengthMetrics | undefined|undefined = end_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + { + bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const bottom_result: LengthMetrics | undefined|undefined = bottom_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const start_result: LengthMetrics | undefined|undefined = start_buf + let value: LocalizedPadding = ({top: top_result, end: end_result, bottom: bottom_result, start: start_result} as LocalizedPadding) + return value + } + public readLocalizedPosition(): LocalizedPosition { + let valueDeserializer: Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const start_result: LengthMetrics | undefined|undefined = start_buf + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + { + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const top_result: LengthMetrics | undefined|undefined = top_buf + let value: LocalizedPosition = ({start: start_result, top: top_result} as LocalizedPosition) + return value + } + public readLunarSwitchStyle(): LunarSwitchStyle { + let valueDeserializer: Deserializer = this + const selectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let selectedColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (selectedColor_buf_runtimeType)) + { + const selectedColor_buf__selector: number = valueDeserializer.readInt8() + let selectedColor_buf_: Color | number | string | Resource | undefined|undefined + if (selectedColor_buf__selector == 0) { + selectedColor_buf_ = valueDeserializer.readInt32() + } + else if (selectedColor_buf__selector == 1) { + selectedColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (selectedColor_buf__selector == 2) { + selectedColor_buf_ = (valueDeserializer.readString() as string) + } + else if (selectedColor_buf__selector == 3) { + selectedColor_buf_ = valueDeserializer.readResource() } - else if (compBackgroundNeutral_buf__selector == 1) { - compBackgroundNeutral_buf_ = (valueDeserializer.readNumber() as number) + else { + throw new Error("One of the branches for selectedColor_buf_ has to be chosen through deserialisation.") } - else if (compBackgroundNeutral_buf__selector == 2) { - compBackgroundNeutral_buf_ = (valueDeserializer.readString() as string) + selectedColor_buf = (selectedColor_buf_ as Color | number | string | Resource) + } + const selectedColor_result: ResourceColor | undefined|undefined = selectedColor_buf + const unselectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let unselectedColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (unselectedColor_buf_runtimeType)) + { + const unselectedColor_buf__selector: number = valueDeserializer.readInt8() + let unselectedColor_buf_: Color | number | string | Resource | undefined|undefined + if (unselectedColor_buf__selector == 0) { + unselectedColor_buf_ = valueDeserializer.readInt32() } - else if (compBackgroundNeutral_buf__selector == 3) { - compBackgroundNeutral_buf_ = valueDeserializer.readResource() + else if (unselectedColor_buf__selector == 1) { + unselectedColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (unselectedColor_buf__selector == 2) { + unselectedColor_buf_ = (valueDeserializer.readString() as string) + } + else if (unselectedColor_buf__selector == 3) { + unselectedColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compBackgroundNeutral_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation.") } - compBackgroundNeutral_buf = (compBackgroundNeutral_buf_ as Color | number | string | Resource) + unselectedColor_buf = (unselectedColor_buf_ as Color | number | string | Resource) } - const compBackgroundNeutral_result: ResourceColor | undefined|undefined = compBackgroundNeutral_buf - const compEmphasizeSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compEmphasizeSecondary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compEmphasizeSecondary_buf_runtimeType)) + const unselectedColor_result: ResourceColor | undefined|undefined = unselectedColor_buf + const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) { - const compEmphasizeSecondary_buf__selector: number = valueDeserializer.readInt8() - let compEmphasizeSecondary_buf_: Color | number | string | Resource | undefined|undefined - if (compEmphasizeSecondary_buf__selector == 0) { - compEmphasizeSecondary_buf_ = valueDeserializer.readInt32() + const strokeColor_buf__selector: number = valueDeserializer.readInt8() + let strokeColor_buf_: Color | number | string | Resource | undefined|undefined + if (strokeColor_buf__selector == 0) { + strokeColor_buf_ = valueDeserializer.readInt32() } - else if (compEmphasizeSecondary_buf__selector == 1) { - compEmphasizeSecondary_buf_ = (valueDeserializer.readNumber() as number) + else if (strokeColor_buf__selector == 1) { + strokeColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (compEmphasizeSecondary_buf__selector == 2) { - compEmphasizeSecondary_buf_ = (valueDeserializer.readString() as string) + else if (strokeColor_buf__selector == 2) { + strokeColor_buf_ = (valueDeserializer.readString() as string) } - else if (compEmphasizeSecondary_buf__selector == 3) { - compEmphasizeSecondary_buf_ = valueDeserializer.readResource() + else if (strokeColor_buf__selector == 3) { + strokeColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compEmphasizeSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for strokeColor_buf_ has to be chosen through deserialisation.") } - compEmphasizeSecondary_buf = (compEmphasizeSecondary_buf_ as Color | number | string | Resource) + strokeColor_buf = (strokeColor_buf_ as Color | number | string | Resource) } - const compEmphasizeSecondary_result: ResourceColor | undefined|undefined = compEmphasizeSecondary_buf - const compEmphasizeTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compEmphasizeTertiary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compEmphasizeTertiary_buf_runtimeType)) + const strokeColor_result: ResourceColor | undefined|undefined = strokeColor_buf + let value: LunarSwitchStyle = ({selectedColor: selectedColor_result, unselectedColor: unselectedColor_result, strokeColor: strokeColor_result} as LunarSwitchStyle) + return value + } + public readMeasureOptions(): MeasureOptions { + let valueDeserializer: Deserializer = this + const textContent_buf_selector: number = valueDeserializer.readInt8() + let textContent_buf: string | Resource | undefined|undefined + if (textContent_buf_selector == 0) { + textContent_buf = (valueDeserializer.readString() as string) + } + else if (textContent_buf_selector == 1) { + textContent_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for textContent_buf has to be chosen through deserialisation.") + } + const textContent_result: string | Resource = (textContent_buf as string | Resource) + const constraintWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let constraintWidth_buf: number | string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (constraintWidth_buf_runtimeType)) { - const compEmphasizeTertiary_buf__selector: number = valueDeserializer.readInt8() - let compEmphasizeTertiary_buf_: Color | number | string | Resource | undefined|undefined - if (compEmphasizeTertiary_buf__selector == 0) { - compEmphasizeTertiary_buf_ = valueDeserializer.readInt32() + const constraintWidth_buf__selector: number = valueDeserializer.readInt8() + let constraintWidth_buf_: number | string | Resource | undefined|undefined + if (constraintWidth_buf__selector == 0) { + constraintWidth_buf_ = (valueDeserializer.readNumber() as number) } - else if (compEmphasizeTertiary_buf__selector == 1) { - compEmphasizeTertiary_buf_ = (valueDeserializer.readNumber() as number) + else if (constraintWidth_buf__selector == 1) { + constraintWidth_buf_ = (valueDeserializer.readString() as string) + } + else if (constraintWidth_buf__selector == 2) { + constraintWidth_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for constraintWidth_buf_ has to be chosen through deserialisation.") + } + constraintWidth_buf = (constraintWidth_buf_ as number | string | Resource) + } + const constraintWidth_result: number | string | Resource | undefined|undefined = constraintWidth_buf + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf: number | string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + { + const fontSize_buf__selector: number = valueDeserializer.readInt8() + let fontSize_buf_: number | string | Resource | undefined|undefined + if (fontSize_buf__selector == 0) { + fontSize_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontSize_buf__selector == 1) { + fontSize_buf_ = (valueDeserializer.readString() as string) + } + else if (fontSize_buf__selector == 2) { + fontSize_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") + } + fontSize_buf = (fontSize_buf_ as number | string | Resource) + } + const fontSize_result: number | string | Resource | undefined|undefined = fontSize_buf + const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontStyle_buf: number | FontStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) + { + const fontStyle_buf__selector: number = valueDeserializer.readInt8() + let fontStyle_buf_: number | FontStyle | undefined|undefined + if (fontStyle_buf__selector == 0) { + fontStyle_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontStyle_buf__selector == 1) { + fontStyle_buf_ = valueDeserializer.readInt32() + } + else { + throw new Error("One of the branches for fontStyle_buf_ has to be chosen through deserialisation.") + } + fontStyle_buf = (fontStyle_buf_ as number | FontStyle) + } + const fontStyle_result: number | FontStyle | undefined|undefined = fontStyle_buf + const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontWeight_buf: number | string | FontWeight | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + { + const fontWeight_buf__selector: number = valueDeserializer.readInt8() + let fontWeight_buf_: number | string | FontWeight | undefined|undefined + if (fontWeight_buf__selector == 0) { + fontWeight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_ = (valueDeserializer.readString() as string) + } + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_ = valueDeserializer.readInt32() + } + else { + throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") + } + fontWeight_buf = (fontWeight_buf_ as number | string | FontWeight) + } + const fontWeight_result: number | string | FontWeight | undefined|undefined = fontWeight_buf + const fontFamily_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFamily_buf: string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontFamily_buf_runtimeType)) + { + const fontFamily_buf__selector: number = valueDeserializer.readInt8() + let fontFamily_buf_: string | Resource | undefined|undefined + if (fontFamily_buf__selector == 0) { + fontFamily_buf_ = (valueDeserializer.readString() as string) + } + else if (fontFamily_buf__selector == 1) { + fontFamily_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontFamily_buf_ has to be chosen through deserialisation.") + } + fontFamily_buf = (fontFamily_buf_ as string | Resource) + } + const fontFamily_result: string | Resource | undefined|undefined = fontFamily_buf + const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let letterSpacing_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) + { + const letterSpacing_buf__selector: number = valueDeserializer.readInt8() + let letterSpacing_buf_: number | string | undefined|undefined + if (letterSpacing_buf__selector == 0) { + letterSpacing_buf_ = (valueDeserializer.readNumber() as number) + } + else if (letterSpacing_buf__selector == 1) { + letterSpacing_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for letterSpacing_buf_ has to be chosen through deserialisation.") + } + letterSpacing_buf = (letterSpacing_buf_ as number | string) + } + const letterSpacing_result: number | string | undefined|undefined = letterSpacing_buf + const textAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textAlign_buf: number | TextAlign | undefined|undefined + if ((RuntimeType.UNDEFINED) != (textAlign_buf_runtimeType)) + { + const textAlign_buf__selector: number = valueDeserializer.readInt8() + let textAlign_buf_: number | TextAlign | undefined|undefined + if (textAlign_buf__selector == 0) { + textAlign_buf_ = (valueDeserializer.readNumber() as number) + } + else if (textAlign_buf__selector == 1) { + textAlign_buf_ = valueDeserializer.readInt32() + } + else { + throw new Error("One of the branches for textAlign_buf_ has to be chosen through deserialisation.") + } + textAlign_buf = (textAlign_buf_ as number | TextAlign) + } + const textAlign_result: number | TextAlign | undefined|undefined = textAlign_buf + const overflow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let overflow_buf: number | TextOverflow | undefined|undefined + if ((RuntimeType.UNDEFINED) != (overflow_buf_runtimeType)) + { + const overflow_buf__selector: number = valueDeserializer.readInt8() + let overflow_buf_: number | TextOverflow | undefined|undefined + if (overflow_buf__selector == 0) { + overflow_buf_ = (valueDeserializer.readNumber() as number) + } + else if (overflow_buf__selector == 1) { + overflow_buf_ = valueDeserializer.readInt32() + } + else { + throw new Error("One of the branches for overflow_buf_ has to be chosen through deserialisation.") + } + overflow_buf = (overflow_buf_ as number | TextOverflow) + } + const overflow_result: number | TextOverflow | undefined|undefined = overflow_buf + const maxLines_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxLines_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (maxLines_buf_runtimeType)) + { + maxLines_buf = (valueDeserializer.readNumber() as number) + } + const maxLines_result: number | undefined|undefined = maxLines_buf + const lineHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lineHeight_buf: number | string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lineHeight_buf_runtimeType)) + { + const lineHeight_buf__selector: number = valueDeserializer.readInt8() + let lineHeight_buf_: number | string | Resource | undefined|undefined + if (lineHeight_buf__selector == 0) { + lineHeight_buf_ = (valueDeserializer.readNumber() as number) } - else if (compEmphasizeTertiary_buf__selector == 2) { - compEmphasizeTertiary_buf_ = (valueDeserializer.readString() as string) + else if (lineHeight_buf__selector == 1) { + lineHeight_buf_ = (valueDeserializer.readString() as string) } - else if (compEmphasizeTertiary_buf__selector == 3) { - compEmphasizeTertiary_buf_ = valueDeserializer.readResource() + else if (lineHeight_buf__selector == 2) { + lineHeight_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compEmphasizeTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for lineHeight_buf_ has to be chosen through deserialisation.") } - compEmphasizeTertiary_buf = (compEmphasizeTertiary_buf_ as Color | number | string | Resource) + lineHeight_buf = (lineHeight_buf_ as number | string | Resource) } - const compEmphasizeTertiary_result: ResourceColor | undefined|undefined = compEmphasizeTertiary_buf - const compDivider_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compDivider_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compDivider_buf_runtimeType)) + const lineHeight_result: number | string | Resource | undefined|undefined = lineHeight_buf + const baselineOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let baselineOffset_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (baselineOffset_buf_runtimeType)) { - const compDivider_buf__selector: number = valueDeserializer.readInt8() - let compDivider_buf_: Color | number | string | Resource | undefined|undefined - if (compDivider_buf__selector == 0) { - compDivider_buf_ = valueDeserializer.readInt32() - } - else if (compDivider_buf__selector == 1) { - compDivider_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compDivider_buf__selector == 2) { - compDivider_buf_ = (valueDeserializer.readString() as string) + const baselineOffset_buf__selector: number = valueDeserializer.readInt8() + let baselineOffset_buf_: number | string | undefined|undefined + if (baselineOffset_buf__selector == 0) { + baselineOffset_buf_ = (valueDeserializer.readNumber() as number) } - else if (compDivider_buf__selector == 3) { - compDivider_buf_ = valueDeserializer.readResource() + else if (baselineOffset_buf__selector == 1) { + baselineOffset_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for compDivider_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for baselineOffset_buf_ has to be chosen through deserialisation.") } - compDivider_buf = (compDivider_buf_ as Color | number | string | Resource) + baselineOffset_buf = (baselineOffset_buf_ as number | string) } - const compDivider_result: ResourceColor | undefined|undefined = compDivider_buf - const compCommonContrary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compCommonContrary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compCommonContrary_buf_runtimeType)) + const baselineOffset_result: number | string | undefined|undefined = baselineOffset_buf + const textCase_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textCase_buf: number | TextCase | undefined|undefined + if ((RuntimeType.UNDEFINED) != (textCase_buf_runtimeType)) { - const compCommonContrary_buf__selector: number = valueDeserializer.readInt8() - let compCommonContrary_buf_: Color | number | string | Resource | undefined|undefined - if (compCommonContrary_buf__selector == 0) { - compCommonContrary_buf_ = valueDeserializer.readInt32() - } - else if (compCommonContrary_buf__selector == 1) { - compCommonContrary_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compCommonContrary_buf__selector == 2) { - compCommonContrary_buf_ = (valueDeserializer.readString() as string) + const textCase_buf__selector: number = valueDeserializer.readInt8() + let textCase_buf_: number | TextCase | undefined|undefined + if (textCase_buf__selector == 0) { + textCase_buf_ = (valueDeserializer.readNumber() as number) } - else if (compCommonContrary_buf__selector == 3) { - compCommonContrary_buf_ = valueDeserializer.readResource() + else if (textCase_buf__selector == 1) { + textCase_buf_ = valueDeserializer.readInt32() } else { - throw new Error("One of the branches for compCommonContrary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for textCase_buf_ has to be chosen through deserialisation.") } - compCommonContrary_buf = (compCommonContrary_buf_ as Color | number | string | Resource) + textCase_buf = (textCase_buf_ as number | TextCase) } - const compCommonContrary_result: ResourceColor | undefined|undefined = compCommonContrary_buf - const compBackgroundFocus_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compBackgroundFocus_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compBackgroundFocus_buf_runtimeType)) + const textCase_result: number | TextCase | undefined|undefined = textCase_buf + const textIndent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textIndent_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (textIndent_buf_runtimeType)) { - const compBackgroundFocus_buf__selector: number = valueDeserializer.readInt8() - let compBackgroundFocus_buf_: Color | number | string | Resource | undefined|undefined - if (compBackgroundFocus_buf__selector == 0) { - compBackgroundFocus_buf_ = valueDeserializer.readInt32() - } - else if (compBackgroundFocus_buf__selector == 1) { - compBackgroundFocus_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compBackgroundFocus_buf__selector == 2) { - compBackgroundFocus_buf_ = (valueDeserializer.readString() as string) + const textIndent_buf__selector: number = valueDeserializer.readInt8() + let textIndent_buf_: number | string | undefined|undefined + if (textIndent_buf__selector == 0) { + textIndent_buf_ = (valueDeserializer.readNumber() as number) } - else if (compBackgroundFocus_buf__selector == 3) { - compBackgroundFocus_buf_ = valueDeserializer.readResource() + else if (textIndent_buf__selector == 1) { + textIndent_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for compBackgroundFocus_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for textIndent_buf_ has to be chosen through deserialisation.") } - compBackgroundFocus_buf = (compBackgroundFocus_buf_ as Color | number | string | Resource) + textIndent_buf = (textIndent_buf_ as number | string) } - const compBackgroundFocus_result: ResourceColor | undefined|undefined = compBackgroundFocus_buf - const compFocusedPrimary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compFocusedPrimary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compFocusedPrimary_buf_runtimeType)) + const textIndent_result: number | string | undefined|undefined = textIndent_buf + const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let wordBreak_buf: WordBreak | undefined|undefined + if ((RuntimeType.UNDEFINED) != (wordBreak_buf_runtimeType)) { - const compFocusedPrimary_buf__selector: number = valueDeserializer.readInt8() - let compFocusedPrimary_buf_: Color | number | string | Resource | undefined|undefined - if (compFocusedPrimary_buf__selector == 0) { - compFocusedPrimary_buf_ = valueDeserializer.readInt32() - } - else if (compFocusedPrimary_buf__selector == 1) { - compFocusedPrimary_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compFocusedPrimary_buf__selector == 2) { - compFocusedPrimary_buf_ = (valueDeserializer.readString() as string) + wordBreak_buf = valueDeserializer.readInt32() + } + const wordBreak_result: WordBreak | undefined|undefined = wordBreak_buf + let value: MeasureOptions = ({textContent: textContent_result, constraintWidth: constraintWidth_result, fontSize: fontSize_result, fontStyle: fontStyle_result, fontWeight: fontWeight_result, fontFamily: fontFamily_result, letterSpacing: letterSpacing_result, textAlign: textAlign_result, overflow: overflow_result, maxLines: maxLines_result, lineHeight: lineHeight_result, baselineOffset: baselineOffset_result, textCase: textCase_result, textIndent: textIndent_result, wordBreak: wordBreak_result} as MeasureOptions) + return value + } + public readMenuElement(): MenuElement { + let valueDeserializer: Deserializer = this + const value_buf_selector: number = valueDeserializer.readInt8() + let value_buf: string | Resource | undefined|undefined + if (value_buf_selector == 0) { + value_buf = (valueDeserializer.readString() as string) + } + else if (value_buf_selector == 1) { + value_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + } + const value_result: ResourceStr = (value_buf as string | Resource) + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + { + const icon_buf__selector: number = valueDeserializer.readInt8() + let icon_buf_: string | Resource | undefined|undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) } - else if (compFocusedPrimary_buf__selector == 3) { - compFocusedPrimary_buf_ = valueDeserializer.readResource() + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for compFocusedPrimary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") } - compFocusedPrimary_buf = (compFocusedPrimary_buf_ as Color | number | string | Resource) + icon_buf = (icon_buf_ as string | Resource) } - const compFocusedPrimary_result: ResourceColor | undefined|undefined = compFocusedPrimary_buf - const compFocusedSecondary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compFocusedSecondary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compFocusedSecondary_buf_runtimeType)) + const icon_result: ResourceStr | undefined|undefined = icon_buf + const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let symbolIcon_buf: SymbolGlyphModifier | undefined|undefined + if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) { - const compFocusedSecondary_buf__selector: number = valueDeserializer.readInt8() - let compFocusedSecondary_buf_: Color | number | string | Resource | undefined|undefined - if (compFocusedSecondary_buf__selector == 0) { - compFocusedSecondary_buf_ = valueDeserializer.readInt32() - } - else if (compFocusedSecondary_buf__selector == 1) { - compFocusedSecondary_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compFocusedSecondary_buf__selector == 2) { - compFocusedSecondary_buf_ = (valueDeserializer.readString() as string) + symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() + } + const symbolIcon_result: SymbolGlyphModifier | undefined|undefined = symbolIcon_buf + const enabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enabled_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enabled_buf_runtimeType)) + { + enabled_buf = valueDeserializer.readBoolean() + } + const enabled_result: boolean | undefined|undefined = enabled_buf + const action_result: (() => void) = valueDeserializer.readCallback_Void() + let value: MenuElement = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, enabled: enabled_result, action: action_result} as MenuElement) + return value + } + public readMenuItemConfiguration(): MenuItemConfiguration { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return MenuItemConfigurationInternal.fromPtr(ptr) + } + public readMenuItemGroupOptions(): MenuItemGroupOptions { + let valueDeserializer: Deserializer = this + const header_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let header_buf: ResourceStr | CustomBuilder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (header_buf_runtimeType)) + { + const header_buf__selector: number = valueDeserializer.readInt8() + let header_buf_: ResourceStr | CustomBuilder | undefined|undefined + if (header_buf__selector == 0) { + const header_buf__u_selector: number = valueDeserializer.readInt8() + let header_buf__u: string | Resource | undefined|undefined + if (header_buf__u_selector == 0) { + header_buf__u = (valueDeserializer.readString() as string) + } + else if (header_buf__u_selector == 1) { + header_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for header_buf__u has to be chosen through deserialisation.") + } + header_buf_ = (header_buf__u as string | Resource) } - else if (compFocusedSecondary_buf__selector == 3) { - compFocusedSecondary_buf_ = valueDeserializer.readResource() + else if (header_buf__selector == 1) { + header_buf_ = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) } else { - throw new Error("One of the branches for compFocusedSecondary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for header_buf_ has to be chosen through deserialisation.") } - compFocusedSecondary_buf = (compFocusedSecondary_buf_ as Color | number | string | Resource) + header_buf = (header_buf_ as ResourceStr | CustomBuilder) } - const compFocusedSecondary_result: ResourceColor | undefined|undefined = compFocusedSecondary_buf - const compFocusedTertiary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let compFocusedTertiary_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (compFocusedTertiary_buf_runtimeType)) + const header_result: ResourceStr | CustomBuilder | undefined|undefined = header_buf + const footer_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let footer_buf: ResourceStr | CustomBuilder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (footer_buf_runtimeType)) { - const compFocusedTertiary_buf__selector: number = valueDeserializer.readInt8() - let compFocusedTertiary_buf_: Color | number | string | Resource | undefined|undefined - if (compFocusedTertiary_buf__selector == 0) { - compFocusedTertiary_buf_ = valueDeserializer.readInt32() - } - else if (compFocusedTertiary_buf__selector == 1) { - compFocusedTertiary_buf_ = (valueDeserializer.readNumber() as number) - } - else if (compFocusedTertiary_buf__selector == 2) { - compFocusedTertiary_buf_ = (valueDeserializer.readString() as string) + const footer_buf__selector: number = valueDeserializer.readInt8() + let footer_buf_: ResourceStr | CustomBuilder | undefined|undefined + if (footer_buf__selector == 0) { + const footer_buf__u_selector: number = valueDeserializer.readInt8() + let footer_buf__u: string | Resource | undefined|undefined + if (footer_buf__u_selector == 0) { + footer_buf__u = (valueDeserializer.readString() as string) + } + else if (footer_buf__u_selector == 1) { + footer_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for footer_buf__u has to be chosen through deserialisation.") + } + footer_buf_ = (footer_buf__u as string | Resource) } - else if (compFocusedTertiary_buf__selector == 3) { - compFocusedTertiary_buf_ = valueDeserializer.readResource() + else if (footer_buf__selector == 1) { + footer_buf_ = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) } else { - throw new Error("One of the branches for compFocusedTertiary_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for footer_buf_ has to be chosen through deserialisation.") } - compFocusedTertiary_buf = (compFocusedTertiary_buf_ as Color | number | string | Resource) + footer_buf = (footer_buf_ as ResourceStr | CustomBuilder) } - const compFocusedTertiary_result: ResourceColor | undefined|undefined = compFocusedTertiary_buf - const interactiveHover_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let interactiveHover_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (interactiveHover_buf_runtimeType)) + const footer_result: ResourceStr | CustomBuilder | undefined|undefined = footer_buf + let value: MenuItemGroupOptions = ({header: header_result, footer: footer_result} as MenuItemGroupOptions) + return value + } + public readMenuItemOptions(): MenuItemOptions { + let valueDeserializer: Deserializer = this + const startIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startIcon_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (startIcon_buf_runtimeType)) { - const interactiveHover_buf__selector: number = valueDeserializer.readInt8() - let interactiveHover_buf_: Color | number | string | Resource | undefined|undefined - if (interactiveHover_buf__selector == 0) { - interactiveHover_buf_ = valueDeserializer.readInt32() - } - else if (interactiveHover_buf__selector == 1) { - interactiveHover_buf_ = (valueDeserializer.readNumber() as number) - } - else if (interactiveHover_buf__selector == 2) { - interactiveHover_buf_ = (valueDeserializer.readString() as string) + const startIcon_buf__selector: number = valueDeserializer.readInt8() + let startIcon_buf_: string | Resource | undefined|undefined + if (startIcon_buf__selector == 0) { + startIcon_buf_ = (valueDeserializer.readString() as string) } - else if (interactiveHover_buf__selector == 3) { - interactiveHover_buf_ = valueDeserializer.readResource() + else if (startIcon_buf__selector == 1) { + startIcon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for interactiveHover_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for startIcon_buf_ has to be chosen through deserialisation.") } - interactiveHover_buf = (interactiveHover_buf_ as Color | number | string | Resource) + startIcon_buf = (startIcon_buf_ as string | Resource) } - const interactiveHover_result: ResourceColor | undefined|undefined = interactiveHover_buf - const interactivePressed_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let interactivePressed_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (interactivePressed_buf_runtimeType)) + const startIcon_result: ResourceStr | undefined|undefined = startIcon_buf + const symbolStartIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let symbolStartIcon_buf: SymbolGlyphModifier | undefined|undefined + if ((RuntimeType.UNDEFINED) != (symbolStartIcon_buf_runtimeType)) { - const interactivePressed_buf__selector: number = valueDeserializer.readInt8() - let interactivePressed_buf_: Color | number | string | Resource | undefined|undefined - if (interactivePressed_buf__selector == 0) { - interactivePressed_buf_ = valueDeserializer.readInt32() - } - else if (interactivePressed_buf__selector == 1) { - interactivePressed_buf_ = (valueDeserializer.readNumber() as number) - } - else if (interactivePressed_buf__selector == 2) { - interactivePressed_buf_ = (valueDeserializer.readString() as string) - } - else if (interactivePressed_buf__selector == 3) { - interactivePressed_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for interactivePressed_buf_ has to be chosen through deserialisation.") - } - interactivePressed_buf = (interactivePressed_buf_ as Color | number | string | Resource) + symbolStartIcon_buf = valueDeserializer.readSymbolGlyphModifier() } - const interactivePressed_result: ResourceColor | undefined|undefined = interactivePressed_buf - const interactiveFocus_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let interactiveFocus_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (interactiveFocus_buf_runtimeType)) + const symbolStartIcon_result: SymbolGlyphModifier | undefined|undefined = symbolStartIcon_buf + const content_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let content_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (content_buf_runtimeType)) { - const interactiveFocus_buf__selector: number = valueDeserializer.readInt8() - let interactiveFocus_buf_: Color | number | string | Resource | undefined|undefined - if (interactiveFocus_buf__selector == 0) { - interactiveFocus_buf_ = valueDeserializer.readInt32() - } - else if (interactiveFocus_buf__selector == 1) { - interactiveFocus_buf_ = (valueDeserializer.readNumber() as number) - } - else if (interactiveFocus_buf__selector == 2) { - interactiveFocus_buf_ = (valueDeserializer.readString() as string) + const content_buf__selector: number = valueDeserializer.readInt8() + let content_buf_: string | Resource | undefined|undefined + if (content_buf__selector == 0) { + content_buf_ = (valueDeserializer.readString() as string) } - else if (interactiveFocus_buf__selector == 3) { - interactiveFocus_buf_ = valueDeserializer.readResource() + else if (content_buf__selector == 1) { + content_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for interactiveFocus_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for content_buf_ has to be chosen through deserialisation.") } - interactiveFocus_buf = (interactiveFocus_buf_ as Color | number | string | Resource) + content_buf = (content_buf_ as string | Resource) } - const interactiveFocus_result: ResourceColor | undefined|undefined = interactiveFocus_buf - const interactiveActive_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let interactiveActive_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (interactiveActive_buf_runtimeType)) + const content_result: ResourceStr | undefined|undefined = content_buf + const endIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let endIcon_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (endIcon_buf_runtimeType)) { - const interactiveActive_buf__selector: number = valueDeserializer.readInt8() - let interactiveActive_buf_: Color | number | string | Resource | undefined|undefined - if (interactiveActive_buf__selector == 0) { - interactiveActive_buf_ = valueDeserializer.readInt32() - } - else if (interactiveActive_buf__selector == 1) { - interactiveActive_buf_ = (valueDeserializer.readNumber() as number) - } - else if (interactiveActive_buf__selector == 2) { - interactiveActive_buf_ = (valueDeserializer.readString() as string) + const endIcon_buf__selector: number = valueDeserializer.readInt8() + let endIcon_buf_: string | Resource | undefined|undefined + if (endIcon_buf__selector == 0) { + endIcon_buf_ = (valueDeserializer.readString() as string) } - else if (interactiveActive_buf__selector == 3) { - interactiveActive_buf_ = valueDeserializer.readResource() + else if (endIcon_buf__selector == 1) { + endIcon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for interactiveActive_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for endIcon_buf_ has to be chosen through deserialisation.") } - interactiveActive_buf = (interactiveActive_buf_ as Color | number | string | Resource) + endIcon_buf = (endIcon_buf_ as string | Resource) } - const interactiveActive_result: ResourceColor | undefined|undefined = interactiveActive_buf - const interactiveSelect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let interactiveSelect_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (interactiveSelect_buf_runtimeType)) + const endIcon_result: ResourceStr | undefined|undefined = endIcon_buf + const symbolEndIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let symbolEndIcon_buf: SymbolGlyphModifier | undefined|undefined + if ((RuntimeType.UNDEFINED) != (symbolEndIcon_buf_runtimeType)) { - const interactiveSelect_buf__selector: number = valueDeserializer.readInt8() - let interactiveSelect_buf_: Color | number | string | Resource | undefined|undefined - if (interactiveSelect_buf__selector == 0) { - interactiveSelect_buf_ = valueDeserializer.readInt32() - } - else if (interactiveSelect_buf__selector == 1) { - interactiveSelect_buf_ = (valueDeserializer.readNumber() as number) - } - else if (interactiveSelect_buf__selector == 2) { - interactiveSelect_buf_ = (valueDeserializer.readString() as string) + symbolEndIcon_buf = valueDeserializer.readSymbolGlyphModifier() + } + const symbolEndIcon_result: SymbolGlyphModifier | undefined|undefined = symbolEndIcon_buf + const labelInfo_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let labelInfo_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (labelInfo_buf_runtimeType)) + { + const labelInfo_buf__selector: number = valueDeserializer.readInt8() + let labelInfo_buf_: string | Resource | undefined|undefined + if (labelInfo_buf__selector == 0) { + labelInfo_buf_ = (valueDeserializer.readString() as string) } - else if (interactiveSelect_buf__selector == 3) { - interactiveSelect_buf_ = valueDeserializer.readResource() + else if (labelInfo_buf__selector == 1) { + labelInfo_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for interactiveSelect_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for labelInfo_buf_ has to be chosen through deserialisation.") } - interactiveSelect_buf = (interactiveSelect_buf_ as Color | number | string | Resource) + labelInfo_buf = (labelInfo_buf_ as string | Resource) + } + const labelInfo_result: ResourceStr | undefined|undefined = labelInfo_buf + const builder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let builder_buf: CustomBuilder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (builder_buf_runtimeType)) + { + builder_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + } + const builder_result: CustomBuilder | undefined|undefined = builder_buf + let value: MenuItemOptions = ({startIcon: startIcon_result, symbolStartIcon: symbolStartIcon_result, content: content_result, endIcon: endIcon_result, symbolEndIcon: symbolEndIcon_result, labelInfo: labelInfo_result, builder: builder_result} as MenuItemOptions) + return value + } + public readNativeXComponentParameters(): NativeXComponentParameters { + let valueDeserializer: Deserializer = this + const type_result: XComponentType = valueDeserializer.readInt32() + const imageAIOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let imageAIOptions_buf: ImageAIOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (imageAIOptions_buf_runtimeType)) + { + imageAIOptions_buf = valueDeserializer.readImageAIOptions() + } + const imageAIOptions_result: ImageAIOptions | undefined|undefined = imageAIOptions_buf + let value: NativeXComponentParameters = ({type: type_result, imageAIOptions: imageAIOptions_result} as NativeXComponentParameters) + return value + } + public readNavDestinationCommonTitle(): NavDestinationCommonTitle { + let valueDeserializer: Deserializer = this + const main_buf_selector: number = valueDeserializer.readInt8() + let main_buf: string | Resource | undefined|undefined + if (main_buf_selector == 0) { + main_buf = (valueDeserializer.readString() as string) + } + else if (main_buf_selector == 1) { + main_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for main_buf has to be chosen through deserialisation.") + } + const main_result: string | Resource = (main_buf as string | Resource) + const sub_buf_selector: number = valueDeserializer.readInt8() + let sub_buf: string | Resource | undefined|undefined + if (sub_buf_selector == 0) { + sub_buf = (valueDeserializer.readString() as string) + } + else if (sub_buf_selector == 1) { + sub_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for sub_buf has to be chosen through deserialisation.") + } + const sub_result: string | Resource = (sub_buf as string | Resource) + let value: NavDestinationCommonTitle = ({main: main_result, sub: sub_result} as NavDestinationCommonTitle) + return value + } + public readNavDestinationContext(): NavDestinationContext { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return NavDestinationContextInternal.fromPtr(ptr) + } + public readNavigationCommonTitle(): NavigationCommonTitle { + let valueDeserializer: Deserializer = this + const main_buf_selector: number = valueDeserializer.readInt8() + let main_buf: string | Resource | undefined|undefined + if (main_buf_selector == 0) { + main_buf = (valueDeserializer.readString() as string) + } + else if (main_buf_selector == 1) { + main_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for main_buf has to be chosen through deserialisation.") + } + const main_result: string | Resource = (main_buf as string | Resource) + const sub_buf_selector: number = valueDeserializer.readInt8() + let sub_buf: string | Resource | undefined|undefined + if (sub_buf_selector == 0) { + sub_buf = (valueDeserializer.readString() as string) + } + else if (sub_buf_selector == 1) { + sub_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for sub_buf has to be chosen through deserialisation.") + } + const sub_result: string | Resource = (sub_buf as string | Resource) + let value: NavigationCommonTitle = ({main: main_result, sub: sub_result} as NavigationCommonTitle) + return value + } + public readNavigationMenuItem(): NavigationMenuItem { + let valueDeserializer: Deserializer = this + const value_buf_selector: number = valueDeserializer.readInt8() + let value_buf: string | Resource | undefined|undefined + if (value_buf_selector == 0) { + value_buf = (valueDeserializer.readString() as string) + } + else if (value_buf_selector == 1) { + value_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") } - const interactiveSelect_result: ResourceColor | undefined|undefined = interactiveSelect_buf - const interactiveClick_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let interactiveClick_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (interactiveClick_buf_runtimeType)) + const value_result: string | Resource = (value_buf as string | Resource) + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf: string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) { - const interactiveClick_buf__selector: number = valueDeserializer.readInt8() - let interactiveClick_buf_: Color | number | string | Resource | undefined|undefined - if (interactiveClick_buf__selector == 0) { - interactiveClick_buf_ = valueDeserializer.readInt32() - } - else if (interactiveClick_buf__selector == 1) { - interactiveClick_buf_ = (valueDeserializer.readNumber() as number) - } - else if (interactiveClick_buf__selector == 2) { - interactiveClick_buf_ = (valueDeserializer.readString() as string) + const icon_buf__selector: number = valueDeserializer.readInt8() + let icon_buf_: string | Resource | undefined|undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) } - else if (interactiveClick_buf__selector == 3) { - interactiveClick_buf_ = valueDeserializer.readResource() + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for interactiveClick_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") } - interactiveClick_buf = (interactiveClick_buf_ as Color | number | string | Resource) + icon_buf = (icon_buf_ as string | Resource) } - const interactiveClick_result: ResourceColor | undefined|undefined = interactiveClick_buf - let value: CustomColors = ({brand: brand_result, warning: warning_result, alert: alert_result, confirm: confirm_result, fontPrimary: fontPrimary_result, fontSecondary: fontSecondary_result, fontTertiary: fontTertiary_result, fontFourth: fontFourth_result, fontEmphasize: fontEmphasize_result, fontOnPrimary: fontOnPrimary_result, fontOnSecondary: fontOnSecondary_result, fontOnTertiary: fontOnTertiary_result, fontOnFourth: fontOnFourth_result, iconPrimary: iconPrimary_result, iconSecondary: iconSecondary_result, iconTertiary: iconTertiary_result, iconFourth: iconFourth_result, iconEmphasize: iconEmphasize_result, iconSubEmphasize: iconSubEmphasize_result, iconOnPrimary: iconOnPrimary_result, iconOnSecondary: iconOnSecondary_result, iconOnTertiary: iconOnTertiary_result, iconOnFourth: iconOnFourth_result, backgroundPrimary: backgroundPrimary_result, backgroundSecondary: backgroundSecondary_result, backgroundTertiary: backgroundTertiary_result, backgroundFourth: backgroundFourth_result, backgroundEmphasize: backgroundEmphasize_result, compForegroundPrimary: compForegroundPrimary_result, compBackgroundPrimary: compBackgroundPrimary_result, compBackgroundPrimaryTran: compBackgroundPrimaryTran_result, compBackgroundPrimaryContrary: compBackgroundPrimaryContrary_result, compBackgroundGray: compBackgroundGray_result, compBackgroundSecondary: compBackgroundSecondary_result, compBackgroundTertiary: compBackgroundTertiary_result, compBackgroundEmphasize: compBackgroundEmphasize_result, compBackgroundNeutral: compBackgroundNeutral_result, compEmphasizeSecondary: compEmphasizeSecondary_result, compEmphasizeTertiary: compEmphasizeTertiary_result, compDivider: compDivider_result, compCommonContrary: compCommonContrary_result, compBackgroundFocus: compBackgroundFocus_result, compFocusedPrimary: compFocusedPrimary_result, compFocusedSecondary: compFocusedSecondary_result, compFocusedTertiary: compFocusedTertiary_result, interactiveHover: interactiveHover_result, interactivePressed: interactivePressed_result, interactiveFocus: interactiveFocus_result, interactiveActive: interactiveActive_result, interactiveSelect: interactiveSelect_result, interactiveClick: interactiveClick_result} as CustomColors) + const icon_result: string | Resource | undefined|undefined = icon_buf + const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let symbolIcon_buf: SymbolGlyphModifier | undefined|undefined + if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) + { + symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() + } + const symbolIcon_result: SymbolGlyphModifier | undefined|undefined = symbolIcon_buf + const isEnabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isEnabled_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (isEnabled_buf_runtimeType)) + { + isEnabled_buf = valueDeserializer.readBoolean() + } + const isEnabled_result: boolean | undefined|undefined = isEnabled_buf + const action_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let action_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (action_buf_runtimeType)) + { + action_buf = valueDeserializer.readCallback_Void() + } + const action_result: (() => void) | undefined|undefined = action_buf + let value: NavigationMenuItem = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, isEnabled: isEnabled_result, action: action_result} as NavigationMenuItem) return value } - readDataPanelShadowOptions(): DataPanelShadowOptions { + public readNonCurrentDayStyle(): NonCurrentDayStyle { let valueDeserializer: Deserializer = this - const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf: number | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) + const nonCurrentMonthDayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let nonCurrentMonthDayColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (nonCurrentMonthDayColor_buf_runtimeType)) { - const radius_buf__selector: number = valueDeserializer.readInt8() - let radius_buf_: number | Resource | undefined|undefined - if (radius_buf__selector == 0) { - radius_buf_ = (valueDeserializer.readNumber() as number) + const nonCurrentMonthDayColor_buf__selector: number = valueDeserializer.readInt8() + let nonCurrentMonthDayColor_buf_: Color | number | string | Resource | undefined|undefined + if (nonCurrentMonthDayColor_buf__selector == 0) { + nonCurrentMonthDayColor_buf_ = valueDeserializer.readInt32() } - else if (radius_buf__selector == 1) { - radius_buf_ = valueDeserializer.readResource() + else if (nonCurrentMonthDayColor_buf__selector == 1) { + nonCurrentMonthDayColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (nonCurrentMonthDayColor_buf__selector == 2) { + nonCurrentMonthDayColor_buf_ = (valueDeserializer.readString() as string) + } + else if (nonCurrentMonthDayColor_buf__selector == 3) { + nonCurrentMonthDayColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for nonCurrentMonthDayColor_buf_ has to be chosen through deserialisation.") } - radius_buf = (radius_buf_ as number | Resource) + nonCurrentMonthDayColor_buf = (nonCurrentMonthDayColor_buf_ as Color | number | string | Resource) } - const radius_result: number | Resource | undefined|undefined = radius_buf - const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offsetX_buf: number | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (offsetX_buf_runtimeType)) + const nonCurrentMonthDayColor_result: ResourceColor | undefined|undefined = nonCurrentMonthDayColor_buf + const nonCurrentMonthLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let nonCurrentMonthLunarColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (nonCurrentMonthLunarColor_buf_runtimeType)) { - const offsetX_buf__selector: number = valueDeserializer.readInt8() - let offsetX_buf_: number | Resource | undefined|undefined - if (offsetX_buf__selector == 0) { - offsetX_buf_ = (valueDeserializer.readNumber() as number) + const nonCurrentMonthLunarColor_buf__selector: number = valueDeserializer.readInt8() + let nonCurrentMonthLunarColor_buf_: Color | number | string | Resource | undefined|undefined + if (nonCurrentMonthLunarColor_buf__selector == 0) { + nonCurrentMonthLunarColor_buf_ = valueDeserializer.readInt32() } - else if (offsetX_buf__selector == 1) { - offsetX_buf_ = valueDeserializer.readResource() + else if (nonCurrentMonthLunarColor_buf__selector == 1) { + nonCurrentMonthLunarColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (nonCurrentMonthLunarColor_buf__selector == 2) { + nonCurrentMonthLunarColor_buf_ = (valueDeserializer.readString() as string) + } + else if (nonCurrentMonthLunarColor_buf__selector == 3) { + nonCurrentMonthLunarColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offsetX_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for nonCurrentMonthLunarColor_buf_ has to be chosen through deserialisation.") } - offsetX_buf = (offsetX_buf_ as number | Resource) + nonCurrentMonthLunarColor_buf = (nonCurrentMonthLunarColor_buf_ as Color | number | string | Resource) } - const offsetX_result: number | Resource | undefined|undefined = offsetX_buf - const offsetY_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offsetY_buf: number | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (offsetY_buf_runtimeType)) + const nonCurrentMonthLunarColor_result: ResourceColor | undefined|undefined = nonCurrentMonthLunarColor_buf + const nonCurrentMonthWorkDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let nonCurrentMonthWorkDayMarkColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (nonCurrentMonthWorkDayMarkColor_buf_runtimeType)) { - const offsetY_buf__selector: number = valueDeserializer.readInt8() - let offsetY_buf_: number | Resource | undefined|undefined - if (offsetY_buf__selector == 0) { - offsetY_buf_ = (valueDeserializer.readNumber() as number) + const nonCurrentMonthWorkDayMarkColor_buf__selector: number = valueDeserializer.readInt8() + let nonCurrentMonthWorkDayMarkColor_buf_: Color | number | string | Resource | undefined|undefined + if (nonCurrentMonthWorkDayMarkColor_buf__selector == 0) { + nonCurrentMonthWorkDayMarkColor_buf_ = valueDeserializer.readInt32() } - else if (offsetY_buf__selector == 1) { - offsetY_buf_ = valueDeserializer.readResource() + else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 1) { + nonCurrentMonthWorkDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for offsetY_buf_ has to be chosen through deserialisation.") + else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 2) { + nonCurrentMonthWorkDayMarkColor_buf_ = (valueDeserializer.readString() as string) } - offsetY_buf = (offsetY_buf_ as number | Resource) - } - const offsetY_result: number | Resource | undefined|undefined = offsetY_buf - const colors_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colors_buf: Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (colors_buf_runtimeType)) - { - const colors_buf__length: int32 = valueDeserializer.readInt32() - let colors_buf_: Array = new Array(colors_buf__length) - for (let colors_buf__i = 0; colors_buf__i < colors_buf__length; colors_buf__i++) { - const colors_buf__buf_selector: number = valueDeserializer.readInt8() - let colors_buf__buf: ResourceColor | LinearGradient | undefined|undefined - if (colors_buf__buf_selector == 0) { - const colors_buf__buf_u_selector: number = valueDeserializer.readInt8() - let colors_buf__buf_u: Color | number | string | Resource | undefined|undefined - if (colors_buf__buf_u_selector == 0) { - colors_buf__buf_u = valueDeserializer.readInt32() - } - else if (colors_buf__buf_u_selector == 1) { - colors_buf__buf_u = (valueDeserializer.readNumber() as number) - } - else if (colors_buf__buf_u_selector == 2) { - colors_buf__buf_u = (valueDeserializer.readString() as string) - } - else if (colors_buf__buf_u_selector == 3) { - colors_buf__buf_u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for colors_buf__buf_u has to be chosen through deserialisation.") - } - colors_buf__buf = (colors_buf__buf_u as Color | number | string | Resource) - } - else if (colors_buf__buf_selector == 1) { - colors_buf__buf = (valueDeserializer.readLinearGradient() as LinearGradient) - } - else { - throw new Error("One of the branches for colors_buf__buf has to be chosen through deserialisation.") - } - colors_buf_[colors_buf__i] = (colors_buf__buf as ResourceColor | LinearGradient) + else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 3) { + nonCurrentMonthWorkDayMarkColor_buf_ = valueDeserializer.readResource() } - colors_buf = colors_buf_ - } - const colors_result: Array | undefined|undefined = colors_buf - let value: DataPanelShadowOptions = ({radius: radius_result, offsetX: offsetX_result, offsetY: offsetY_result, colors: colors_result} as DataPanelShadowOptions) - return value - } - readDecoration(): Decoration { - let valueDeserializer: Deserializer = this - const textDecoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textDecoration_buf: TextDecorationType | undefined|undefined - if ((RuntimeType.UNDEFINED) != (textDecoration_buf_runtimeType)) - { - textDecoration_buf = valueDeserializer.readInt32() - } - const textDecoration_result: TextDecorationType | undefined|undefined = textDecoration_buf - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: common2D.Color | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) - { - color_buf = valueDeserializer.readcommon2D_Color() - } - const color_result: common2D.Color | undefined|undefined = color_buf - const decorationStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let decorationStyle_buf: TextDecorationStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (decorationStyle_buf_runtimeType)) - { - decorationStyle_buf = valueDeserializer.readInt32() - } - const decorationStyle_result: TextDecorationStyle | undefined|undefined = decorationStyle_buf - const decorationThicknessScale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let decorationThicknessScale_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (decorationThicknessScale_buf_runtimeType)) - { - decorationThicknessScale_buf = (valueDeserializer.readNumber() as number) + else { + throw new Error("One of the branches for nonCurrentMonthWorkDayMarkColor_buf_ has to be chosen through deserialisation.") + } + nonCurrentMonthWorkDayMarkColor_buf = (nonCurrentMonthWorkDayMarkColor_buf_ as Color | number | string | Resource) } - const decorationThicknessScale_result: number | undefined|undefined = decorationThicknessScale_buf - let value: Decoration = ({textDecoration: textDecoration_result, color: color_result, decorationStyle: decorationStyle_result, decorationThicknessScale: decorationThicknessScale_result} as Decoration) - return value - } - readDecorationStyle(): DecorationStyle { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return DecorationStyleInternal.fromPtr(ptr) - } - readDecorationStyleInterface(): DecorationStyleInterface { - let valueDeserializer: Deserializer = this - const type_result: TextDecorationType = valueDeserializer.readInt32() - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const nonCurrentMonthWorkDayMarkColor_result: ResourceColor | undefined|undefined = nonCurrentMonthWorkDayMarkColor_buf + const nonCurrentMonthOffDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let nonCurrentMonthOffDayMarkColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (nonCurrentMonthOffDayMarkColor_buf_runtimeType)) { - const color_buf__selector: number = valueDeserializer.readInt8() - let color_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__selector == 0) { - color_buf_ = valueDeserializer.readInt32() + const nonCurrentMonthOffDayMarkColor_buf__selector: number = valueDeserializer.readInt8() + let nonCurrentMonthOffDayMarkColor_buf_: Color | number | string | Resource | undefined|undefined + if (nonCurrentMonthOffDayMarkColor_buf__selector == 0) { + nonCurrentMonthOffDayMarkColor_buf_ = valueDeserializer.readInt32() } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + else if (nonCurrentMonthOffDayMarkColor_buf__selector == 1) { + nonCurrentMonthOffDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else if (nonCurrentMonthOffDayMarkColor_buf__selector == 2) { + nonCurrentMonthOffDayMarkColor_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (nonCurrentMonthOffDayMarkColor_buf__selector == 3) { + nonCurrentMonthOffDayMarkColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for nonCurrentMonthOffDayMarkColor_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) - } - const color_result: ResourceColor | undefined|undefined = color_buf - const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf: TextDecorationStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) - { - style_buf = valueDeserializer.readInt32() + nonCurrentMonthOffDayMarkColor_buf = (nonCurrentMonthOffDayMarkColor_buf_ as Color | number | string | Resource) } - const style_result: TextDecorationStyle | undefined|undefined = style_buf - let value: DecorationStyleInterface = ({type: type_result, color: color_result, style: style_result} as DecorationStyleInterface) + const nonCurrentMonthOffDayMarkColor_result: ResourceColor | undefined|undefined = nonCurrentMonthOffDayMarkColor_buf + let value: NonCurrentDayStyle = ({nonCurrentMonthDayColor: nonCurrentMonthDayColor_result, nonCurrentMonthLunarColor: nonCurrentMonthLunarColor_result, nonCurrentMonthWorkDayMarkColor: nonCurrentMonthWorkDayMarkColor_result, nonCurrentMonthOffDayMarkColor: nonCurrentMonthOffDayMarkColor_result} as NonCurrentDayStyle) return value } - readDecorationStyleResult(): DecorationStyleResult { + public readOffscreenCanvasRenderingContext2D(): OffscreenCanvasRenderingContext2D { let valueDeserializer: Deserializer = this - const type_result: TextDecorationType = valueDeserializer.readInt32() - const color_buf_selector: number = valueDeserializer.readInt8() - let color_buf: Color | number | string | Resource | undefined|undefined - if (color_buf_selector == 0) { - color_buf = valueDeserializer.readInt32() - } - else if (color_buf_selector == 1) { - color_buf = (valueDeserializer.readNumber() as number) + let ptr: KPointer = valueDeserializer.readPointer() + return OffscreenCanvasRenderingContext2DInternal.fromPtr(ptr) + } + public readOffset(): Offset { + let valueDeserializer: Deserializer = this + const dx_buf_selector: number = valueDeserializer.readInt8() + let dx_buf: string | number | Resource | undefined|undefined + if (dx_buf_selector == 0) { + dx_buf = (valueDeserializer.readString() as string) } - else if (color_buf_selector == 2) { - color_buf = (valueDeserializer.readString() as string) + else if (dx_buf_selector == 1) { + dx_buf = (valueDeserializer.readNumber() as number) } - else if (color_buf_selector == 3) { - color_buf = valueDeserializer.readResource() + else if (dx_buf_selector == 2) { + dx_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for dx_buf has to be chosen through deserialisation.") } - const color_result: ResourceColor = (color_buf as Color | number | string | Resource) - const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf: TextDecorationStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) - { - style_buf = valueDeserializer.readInt32() + const dx_result: Length = (dx_buf as string | number | Resource) + const dy_buf_selector: number = valueDeserializer.readInt8() + let dy_buf: string | number | Resource | undefined|undefined + if (dy_buf_selector == 0) { + dy_buf = (valueDeserializer.readString() as string) } - const style_result: TextDecorationStyle | undefined|undefined = style_buf - let value: DecorationStyleResult = ({type: type_result, color: color_result, style: style_result} as DecorationStyleResult) + else if (dy_buf_selector == 1) { + dy_buf = (valueDeserializer.readNumber() as number) + } + else if (dy_buf_selector == 2) { + dy_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for dy_buf has to be chosen through deserialisation.") + } + const dy_result: Length = (dy_buf as string | number | Resource) + let value: Offset = ({dx: dx_result, dy: dy_result} as Offset) return value } - readDividerOptions(): DividerOptions { + public readOverlayOptions(): OverlayOptions { let valueDeserializer: Deserializer = this - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + const align_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let align_buf: Alignment | undefined|undefined + if ((RuntimeType.UNDEFINED) != (align_buf_runtimeType)) { - const strokeWidth_buf__selector: number = valueDeserializer.readInt8() - let strokeWidth_buf_: string | number | Resource | undefined|undefined - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_ = (valueDeserializer.readString() as string) - } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_ = (valueDeserializer.readNumber() as number) - } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") - } - strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) + align_buf = valueDeserializer.readInt32() } - const strokeWidth_result: Dimension | undefined|undefined = strokeWidth_buf - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const align_result: Alignment | undefined|undefined = align_buf + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf: OverlayOffset | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const color_buf__selector: number = valueDeserializer.readInt8() - let color_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__selector == 0) { - color_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") - } - color_buf = (color_buf_ as Color | number | string | Resource) + offset_buf = valueDeserializer.readOverlayOffset() } - const color_result: ResourceColor | undefined|undefined = color_buf - const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startMargin_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + const offset_result: OverlayOffset | undefined|undefined = offset_buf + let value: OverlayOptions = ({align: align_result, offset: offset_result} as OverlayOptions) + return value + } + public readPasswordIcon(): PasswordIcon { + let valueDeserializer: Deserializer = this + const onIconSrc_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onIconSrc_buf: string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onIconSrc_buf_runtimeType)) { - const startMargin_buf__selector: number = valueDeserializer.readInt8() - let startMargin_buf_: string | number | Resource | undefined|undefined - if (startMargin_buf__selector == 0) { - startMargin_buf_ = (valueDeserializer.readString() as string) - } - else if (startMargin_buf__selector == 1) { - startMargin_buf_ = (valueDeserializer.readNumber() as number) + const onIconSrc_buf__selector: number = valueDeserializer.readInt8() + let onIconSrc_buf_: string | Resource | undefined|undefined + if (onIconSrc_buf__selector == 0) { + onIconSrc_buf_ = (valueDeserializer.readString() as string) } - else if (startMargin_buf__selector == 2) { - startMargin_buf_ = valueDeserializer.readResource() + else if (onIconSrc_buf__selector == 1) { + onIconSrc_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for onIconSrc_buf_ has to be chosen through deserialisation.") } - startMargin_buf = (startMargin_buf_ as string | number | Resource) + onIconSrc_buf = (onIconSrc_buf_ as string | Resource) } - const startMargin_result: Dimension | undefined|undefined = startMargin_buf - const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let endMargin_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) + const onIconSrc_result: string | Resource | undefined|undefined = onIconSrc_buf + const offIconSrc_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offIconSrc_buf: string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offIconSrc_buf_runtimeType)) { - const endMargin_buf__selector: number = valueDeserializer.readInt8() - let endMargin_buf_: string | number | Resource | undefined|undefined - if (endMargin_buf__selector == 0) { - endMargin_buf_ = (valueDeserializer.readString() as string) - } - else if (endMargin_buf__selector == 1) { - endMargin_buf_ = (valueDeserializer.readNumber() as number) + const offIconSrc_buf__selector: number = valueDeserializer.readInt8() + let offIconSrc_buf_: string | Resource | undefined|undefined + if (offIconSrc_buf__selector == 0) { + offIconSrc_buf_ = (valueDeserializer.readString() as string) } - else if (endMargin_buf__selector == 2) { - endMargin_buf_ = valueDeserializer.readResource() + else if (offIconSrc_buf__selector == 1) { + offIconSrc_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for offIconSrc_buf_ has to be chosen through deserialisation.") } - endMargin_buf = (endMargin_buf_ as string | number | Resource) + offIconSrc_buf = (offIconSrc_buf_ as string | Resource) } - const endMargin_result: Dimension | undefined|undefined = endMargin_buf - let value: DividerOptions = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as DividerOptions) + const offIconSrc_result: string | Resource | undefined|undefined = offIconSrc_buf + let value: PasswordIcon = ({onIconSrc: onIconSrc_result, offIconSrc: offIconSrc_result} as PasswordIcon) return value } - readDividerStyle(): DividerStyle { + public readPluginComponentOptions(): PluginComponentOptions { let valueDeserializer: Deserializer = this - const strokeWidth_buf_selector: number = valueDeserializer.readInt8() - let strokeWidth_buf: string | number | Resource | undefined|undefined - if (strokeWidth_buf_selector == 0) { - strokeWidth_buf = (valueDeserializer.readString() as string) - } - else if (strokeWidth_buf_selector == 1) { - strokeWidth_buf = (valueDeserializer.readNumber() as number) - } - else if (strokeWidth_buf_selector == 2) { - strokeWidth_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for strokeWidth_buf has to be chosen through deserialisation.") - } - const strokeWidth_result: Length = (strokeWidth_buf as string | number | Resource) - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const template_result: PluginComponentTemplate = valueDeserializer.readPluginComponentTemplate() + const data_result: string = (valueDeserializer.readString() as string) + let value: PluginComponentOptions = ({template: template_result, data: data_result} as PluginComponentOptions) + return value + } + public readRadioStyle(): RadioStyle { + let valueDeserializer: Deserializer = this + const checkedBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let checkedBackgroundColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (checkedBackgroundColor_buf_runtimeType)) { - const color_buf__selector: number = valueDeserializer.readInt8() - let color_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__selector == 0) { - color_buf_ = valueDeserializer.readInt32() + const checkedBackgroundColor_buf__selector: number = valueDeserializer.readInt8() + let checkedBackgroundColor_buf_: Color | number | string | Resource | undefined|undefined + if (checkedBackgroundColor_buf__selector == 0) { + checkedBackgroundColor_buf_ = valueDeserializer.readInt32() } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + else if (checkedBackgroundColor_buf__selector == 1) { + checkedBackgroundColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else if (checkedBackgroundColor_buf__selector == 2) { + checkedBackgroundColor_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (checkedBackgroundColor_buf__selector == 3) { + checkedBackgroundColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for checkedBackgroundColor_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) + checkedBackgroundColor_buf = (checkedBackgroundColor_buf_ as Color | number | string | Resource) } - const color_result: ResourceColor | undefined|undefined = color_buf - const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startMargin_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + const checkedBackgroundColor_result: ResourceColor | undefined|undefined = checkedBackgroundColor_buf + const uncheckedBorderColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let uncheckedBorderColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (uncheckedBorderColor_buf_runtimeType)) { - const startMargin_buf__selector: number = valueDeserializer.readInt8() - let startMargin_buf_: string | number | Resource | undefined|undefined - if (startMargin_buf__selector == 0) { - startMargin_buf_ = (valueDeserializer.readString() as string) + const uncheckedBorderColor_buf__selector: number = valueDeserializer.readInt8() + let uncheckedBorderColor_buf_: Color | number | string | Resource | undefined|undefined + if (uncheckedBorderColor_buf__selector == 0) { + uncheckedBorderColor_buf_ = valueDeserializer.readInt32() } - else if (startMargin_buf__selector == 1) { - startMargin_buf_ = (valueDeserializer.readNumber() as number) + else if (uncheckedBorderColor_buf__selector == 1) { + uncheckedBorderColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (startMargin_buf__selector == 2) { - startMargin_buf_ = valueDeserializer.readResource() + else if (uncheckedBorderColor_buf__selector == 2) { + uncheckedBorderColor_buf_ = (valueDeserializer.readString() as string) + } + else if (uncheckedBorderColor_buf__selector == 3) { + uncheckedBorderColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for uncheckedBorderColor_buf_ has to be chosen through deserialisation.") } - startMargin_buf = (startMargin_buf_ as string | number | Resource) + uncheckedBorderColor_buf = (uncheckedBorderColor_buf_ as Color | number | string | Resource) } - const startMargin_result: Length | undefined|undefined = startMargin_buf - const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let endMargin_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) + const uncheckedBorderColor_result: ResourceColor | undefined|undefined = uncheckedBorderColor_buf + const indicatorColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let indicatorColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (indicatorColor_buf_runtimeType)) { - const endMargin_buf__selector: number = valueDeserializer.readInt8() - let endMargin_buf_: string | number | Resource | undefined|undefined - if (endMargin_buf__selector == 0) { - endMargin_buf_ = (valueDeserializer.readString() as string) + const indicatorColor_buf__selector: number = valueDeserializer.readInt8() + let indicatorColor_buf_: Color | number | string | Resource | undefined|undefined + if (indicatorColor_buf__selector == 0) { + indicatorColor_buf_ = valueDeserializer.readInt32() } - else if (endMargin_buf__selector == 1) { - endMargin_buf_ = (valueDeserializer.readNumber() as number) + else if (indicatorColor_buf__selector == 1) { + indicatorColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (endMargin_buf__selector == 2) { - endMargin_buf_ = valueDeserializer.readResource() + else if (indicatorColor_buf__selector == 2) { + indicatorColor_buf_ = (valueDeserializer.readString() as string) + } + else if (indicatorColor_buf__selector == 3) { + indicatorColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for indicatorColor_buf_ has to be chosen through deserialisation.") } - endMargin_buf = (endMargin_buf_ as string | number | Resource) + indicatorColor_buf = (indicatorColor_buf_ as Color | number | string | Resource) } - const endMargin_result: Length | undefined|undefined = endMargin_buf - let value: DividerStyle = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as DividerStyle) + const indicatorColor_result: ResourceColor | undefined|undefined = indicatorColor_buf + let value: RadioStyle = ({checkedBackgroundColor: checkedBackgroundColor_result, uncheckedBorderColor: uncheckedBorderColor_result, indicatorColor: indicatorColor_result} as RadioStyle) return value } - readDividerStyleOptions(): DividerStyleOptions { + public readRectOptions(): RectOptions { let valueDeserializer: Deserializer = this - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) - { - strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const strokeWidth_result: LengthMetrics | undefined|undefined = strokeWidth_buf - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) { - const color_buf__selector: number = valueDeserializer.readInt8() - let color_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__selector == 0) { - color_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + const width_buf__selector: number = valueDeserializer.readInt8() + let width_buf_: number | string | undefined|undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) + width_buf = (width_buf_ as number | string) } - const color_result: ResourceColor | undefined|undefined = color_buf - const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startMargin_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + const width_result: number | string | undefined|undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) { - startMargin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const height_buf__selector: number = valueDeserializer.readInt8() + let height_buf_: number | string | undefined|undefined + if (height_buf__selector == 0) { + height_buf_ = (valueDeserializer.readNumber() as number) + } + else if (height_buf__selector == 1) { + height_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + } + height_buf = (height_buf_ as number | string) } - const startMargin_result: LengthMetrics | undefined|undefined = startMargin_buf - const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let endMargin_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) + const height_result: number | string | undefined|undefined = height_buf + const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let radius_buf: number | string | Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) { - endMargin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const radius_buf__selector: number = valueDeserializer.readInt8() + let radius_buf_: number | string | Array | undefined|undefined + if (radius_buf__selector == 0) { + radius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (radius_buf__selector == 1) { + radius_buf_ = (valueDeserializer.readString() as string) + } + else if (radius_buf__selector == 2) { + const radius_buf__u_length: int32 = valueDeserializer.readInt32() + let radius_buf__u: Array = new Array(radius_buf__u_length) + for (let radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { + const radius_buf__u_buf_selector: number = valueDeserializer.readInt8() + let radius_buf__u_buf: number | string | undefined|undefined + if (radius_buf__u_buf_selector == 0) { + radius_buf__u_buf = (valueDeserializer.readNumber() as number) + } + else if (radius_buf__u_buf_selector == 1) { + radius_buf__u_buf = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for radius_buf__u_buf has to be chosen through deserialisation.") + } + radius_buf__u[radius_buf__u_i] = (radius_buf__u_buf as number | string) + } + radius_buf_ = radius_buf__u + } + else { + throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") + } + radius_buf = (radius_buf_ as number | string | Array) } - const endMargin_result: LengthMetrics | undefined|undefined = endMargin_buf - let value: DividerStyleOptions = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as DividerStyleOptions) + const radius_result: number | string | Array | undefined|undefined = radius_buf + let value: RectOptions = ({width: width_result, height: height_result, radius: radius_result} as RectOptions) return value } - readDotIndicator(): DotIndicator { - throw new Error("Can not deserialize builder class") - } - readDragPreviewOptions(): DragPreviewOptions { + public readRectShapeOptions(): RectShapeOptions { let valueDeserializer: Deserializer = this - const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let mode_buf: DragPreviewMode | Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) { - const mode_buf__selector: number = valueDeserializer.readInt8() - let mode_buf_: DragPreviewMode | Array | undefined|undefined - if (mode_buf__selector == 0) { - mode_buf_ = valueDeserializer.readInt32() + const width_buf__selector: number = valueDeserializer.readInt8() + let width_buf_: number | string | undefined|undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readNumber() as number) } - else if (mode_buf__selector == 1) { - const mode_buf__u_length: int32 = valueDeserializer.readInt32() - let mode_buf__u: Array = new Array(mode_buf__u_length) - for (let mode_buf__u_i = 0; mode_buf__u_i < mode_buf__u_length; mode_buf__u_i++) { - mode_buf__u[mode_buf__u_i] = valueDeserializer.readInt32() - } - mode_buf_ = mode_buf__u + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for mode_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") } - mode_buf = (mode_buf_ as DragPreviewMode | Array) - } - const mode_result: DragPreviewMode | Array | undefined|undefined = mode_buf - const modifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let modifier_buf: ImageModifier | undefined|undefined - if ((RuntimeType.UNDEFINED) != (modifier_buf_runtimeType)) - { - modifier_buf = valueDeserializer.readImageModifier() + width_buf = (width_buf_ as number | string) } - const modifier_result: ImageModifier | undefined|undefined = modifier_buf - const numberBadge_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let numberBadge_buf: boolean | number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (numberBadge_buf_runtimeType)) + const width_result: number | string | undefined|undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) { - const numberBadge_buf__selector: number = valueDeserializer.readInt8() - let numberBadge_buf_: boolean | number | undefined|undefined - if (numberBadge_buf__selector == 0) { - numberBadge_buf_ = valueDeserializer.readBoolean() + const height_buf__selector: number = valueDeserializer.readInt8() + let height_buf_: number | string | undefined|undefined + if (height_buf__selector == 0) { + height_buf_ = (valueDeserializer.readNumber() as number) } - else if (numberBadge_buf__selector == 1) { - numberBadge_buf_ = (valueDeserializer.readNumber() as number) + else if (height_buf__selector == 1) { + height_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for numberBadge_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") } - numberBadge_buf = (numberBadge_buf_ as boolean | number) + height_buf = (height_buf_ as number | string) } - const numberBadge_result: boolean | number | undefined|undefined = numberBadge_buf - let value: DragPreviewOptions = ({mode: mode_result, modifier: modifier_result, numberBadge: numberBadge_result} as DragPreviewOptions) - return value - } - readEdges(): Edges { - let valueDeserializer: Deserializer = this - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + const height_result: number | string | undefined|undefined = height_buf + const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let radius_buf: number | string | Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) { - const top_buf__selector: number = valueDeserializer.readInt8() - let top_buf_: string | number | Resource | undefined|undefined - if (top_buf__selector == 0) { - top_buf_ = (valueDeserializer.readString() as string) + const radius_buf__selector: number = valueDeserializer.readInt8() + let radius_buf_: number | string | Array | undefined|undefined + if (radius_buf__selector == 0) { + radius_buf_ = (valueDeserializer.readNumber() as number) } - else if (top_buf__selector == 1) { - top_buf_ = (valueDeserializer.readNumber() as number) + else if (radius_buf__selector == 1) { + radius_buf_ = (valueDeserializer.readString() as string) } - else if (top_buf__selector == 2) { - top_buf_ = valueDeserializer.readResource() + else if (radius_buf__selector == 2) { + const radius_buf__u_length: int32 = valueDeserializer.readInt32() + let radius_buf__u: Array = new Array(radius_buf__u_length) + for (let radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { + const radius_buf__u_buf_selector: number = valueDeserializer.readInt8() + let radius_buf__u_buf: number | string | undefined|undefined + if (radius_buf__u_buf_selector == 0) { + radius_buf__u_buf = (valueDeserializer.readNumber() as number) + } + else if (radius_buf__u_buf_selector == 1) { + radius_buf__u_buf = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for radius_buf__u_buf has to be chosen through deserialisation.") + } + radius_buf__u[radius_buf__u_i] = (radius_buf__u_buf as number | string) + } + radius_buf_ = radius_buf__u } else { - throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") } - top_buf = (top_buf_ as string | number | Resource) + radius_buf = (radius_buf_ as number | string | Array) } - const top_result: Dimension | undefined|undefined = top_buf - const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let left_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) + const radius_result: number | string | Array | undefined|undefined = radius_buf + let value: RectShapeOptions = ({width: width_result, height: height_result, radius: radius_result} as RectShapeOptions) + return value + } + public readRefreshOptions(): RefreshOptions { + let valueDeserializer: Deserializer = this + const refreshing_result: boolean = valueDeserializer.readBoolean() + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const left_buf__selector: number = valueDeserializer.readInt8() - let left_buf_: string | number | Resource | undefined|undefined - if (left_buf__selector == 0) { - left_buf_ = (valueDeserializer.readString() as string) - } - else if (left_buf__selector == 1) { - left_buf_ = (valueDeserializer.readNumber() as number) + const offset_buf__selector: number = valueDeserializer.readInt8() + let offset_buf_: number | string | undefined|undefined + if (offset_buf__selector == 0) { + offset_buf_ = (valueDeserializer.readNumber() as number) } - else if (left_buf__selector == 2) { - left_buf_ = valueDeserializer.readResource() + else if (offset_buf__selector == 1) { + offset_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for offset_buf_ has to be chosen through deserialisation.") } - left_buf = (left_buf_ as string | number | Resource) + offset_buf = (offset_buf_ as number | string) } - const left_result: Dimension | undefined|undefined = left_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + const offset_result: number | string | undefined|undefined = offset_buf + const friction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let friction_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (friction_buf_runtimeType)) { - const bottom_buf__selector: number = valueDeserializer.readInt8() - let bottom_buf_: string | number | Resource | undefined|undefined - if (bottom_buf__selector == 0) { - bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (bottom_buf__selector == 1) { - bottom_buf_ = (valueDeserializer.readNumber() as number) + const friction_buf__selector: number = valueDeserializer.readInt8() + let friction_buf_: number | string | undefined|undefined + if (friction_buf__selector == 0) { + friction_buf_ = (valueDeserializer.readNumber() as number) } - else if (bottom_buf__selector == 2) { - bottom_buf_ = valueDeserializer.readResource() + else if (friction_buf__selector == 1) { + friction_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for friction_buf_ has to be chosen through deserialisation.") } - bottom_buf = (bottom_buf_ as string | number | Resource) + friction_buf = (friction_buf_ as number | string) } - const bottom_result: Dimension | undefined|undefined = bottom_buf - const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let right_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) + const friction_result: number | string | undefined|undefined = friction_buf + const promptText_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let promptText_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (promptText_buf_runtimeType)) { - const right_buf__selector: number = valueDeserializer.readInt8() - let right_buf_: string | number | Resource | undefined|undefined - if (right_buf__selector == 0) { - right_buf_ = (valueDeserializer.readString() as string) - } - else if (right_buf__selector == 1) { - right_buf_ = (valueDeserializer.readNumber() as number) + const promptText_buf__selector: number = valueDeserializer.readInt8() + let promptText_buf_: string | Resource | undefined|undefined + if (promptText_buf__selector == 0) { + promptText_buf_ = (valueDeserializer.readString() as string) } - else if (right_buf__selector == 2) { - right_buf_ = valueDeserializer.readResource() + else if (promptText_buf__selector == 1) { + promptText_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for promptText_buf_ has to be chosen through deserialisation.") } - right_buf = (right_buf_ as string | number | Resource) + promptText_buf = (promptText_buf_ as string | Resource) } - const right_result: Dimension | undefined|undefined = right_buf - let value: Edges = ({top: top_result, left: left_result, bottom: bottom_result, right: right_result} as Edges) + const promptText_result: ResourceStr | undefined|undefined = promptText_buf + const builder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let builder_buf: CustomBuilder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (builder_buf_runtimeType)) + { + builder_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + } + const builder_result: CustomBuilder | undefined|undefined = builder_buf + const refreshingContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let refreshingContent_buf: ComponentContent | undefined|undefined + if ((RuntimeType.UNDEFINED) != (refreshingContent_buf_runtimeType)) + { + refreshingContent_buf = (valueDeserializer.readComponentContent() as ComponentContent) + } + const refreshingContent_result: ComponentContent | undefined|undefined = refreshingContent_buf + let value: RefreshOptions = ({refreshing: refreshing_result, offset: offset_result, friction: friction_result, promptText: promptText_result, builder: builder_result, refreshingContent: refreshingContent_result} as RefreshOptions) return value } - readExpandedMenuItemOptions(): ExpandedMenuItemOptions { + public readRestrictedWorker(): RestrictedWorker { let valueDeserializer: Deserializer = this - const content_buf_selector: number = valueDeserializer.readInt8() - let content_buf: string | Resource | undefined|undefined - if (content_buf_selector == 0) { - content_buf = (valueDeserializer.readString() as string) + let ptr: KPointer = valueDeserializer.readPointer() + return RestrictedWorkerInternal.fromPtr(ptr) + } + public readReuseOptions(): ReuseOptions { + let valueDeserializer: Deserializer = this + const reuseId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let reuseId_buf: ReuseIdCallback | undefined|undefined + if ((RuntimeType.UNDEFINED) != (reuseId_buf_runtimeType)) + { + reuseId_buf = valueDeserializer.readReuseIdCallback() } - else if (content_buf_selector == 1) { - content_buf = valueDeserializer.readResource() + const reuseId_result: ReuseIdCallback | undefined|undefined = reuseId_buf + let value: ReuseOptions = ({reuseId: reuseId_result} as ReuseOptions) + return value + } + public readRichEditorBuilderSpanOptions(): RichEditorBuilderSpanOptions { + let valueDeserializer: Deserializer = this + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) + { + offset_buf = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for content_buf has to be chosen through deserialisation.") + const offset_result: number | undefined|undefined = offset_buf + const dragBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dragBackgroundColor_buf: ColorMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (dragBackgroundColor_buf_runtimeType)) + { + dragBackgroundColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) } - const content_result: ResourceStr = (content_buf as string | Resource) - const startIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startIcon_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (startIcon_buf_runtimeType)) + const dragBackgroundColor_result: ColorMetrics | undefined|undefined = dragBackgroundColor_buf + const isDragShadowNeeded_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isDragShadowNeeded_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (isDragShadowNeeded_buf_runtimeType)) { - const startIcon_buf__selector: number = valueDeserializer.readInt8() - let startIcon_buf_: string | Resource | undefined|undefined - if (startIcon_buf__selector == 0) { - startIcon_buf_ = (valueDeserializer.readString() as string) - } - else if (startIcon_buf__selector == 1) { - startIcon_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for startIcon_buf_ has to be chosen through deserialisation.") - } - startIcon_buf = (startIcon_buf_ as string | Resource) + isDragShadowNeeded_buf = valueDeserializer.readBoolean() } - const startIcon_result: ResourceStr | undefined|undefined = startIcon_buf - const action_result: ((selectedText: { plainText: string }) => void) = valueDeserializer.readCallback_Literal_String_plainText_Void() - let value: ExpandedMenuItemOptions = ({content: content_result, startIcon: startIcon_result, action: action_result} as ExpandedMenuItemOptions) + const isDragShadowNeeded_result: boolean | undefined|undefined = isDragShadowNeeded_buf + let value: RichEditorBuilderSpanOptions = ({offset: offset_result, dragBackgroundColor: dragBackgroundColor_result, isDragShadowNeeded: isDragShadowNeeded_result} as RichEditorBuilderSpanOptions) return value } - readFadingEdgeOptions(): FadingEdgeOptions { + public readRichEditorChangeValue(): RichEditorChangeValue { let valueDeserializer: Deserializer = this - const fadingEdgeLength_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fadingEdgeLength_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fadingEdgeLength_buf_runtimeType)) - { - fadingEdgeLength_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const rangeBefore_result: TextRange = valueDeserializer.readTextRange() + const replacedSpans_buf_length: int32 = valueDeserializer.readInt32() + let replacedSpans_buf: Array = new Array(replacedSpans_buf_length) + for (let replacedSpans_buf_i = 0; replacedSpans_buf_i < replacedSpans_buf_length; replacedSpans_buf_i++) { + replacedSpans_buf[replacedSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() } - const fadingEdgeLength_result: LengthMetrics | undefined|undefined = fadingEdgeLength_buf - let value: FadingEdgeOptions = ({fadingEdgeLength: fadingEdgeLength_result} as FadingEdgeOptions) + const replacedSpans_result: Array = replacedSpans_buf + const replacedImageSpans_buf_length: int32 = valueDeserializer.readInt32() + let replacedImageSpans_buf: Array = new Array(replacedImageSpans_buf_length) + for (let replacedImageSpans_buf_i = 0; replacedImageSpans_buf_i < replacedImageSpans_buf_length; replacedImageSpans_buf_i++) { + replacedImageSpans_buf[replacedImageSpans_buf_i] = valueDeserializer.readRichEditorImageSpanResult() + } + const replacedImageSpans_result: Array = replacedImageSpans_buf + const replacedSymbolSpans_buf_length: int32 = valueDeserializer.readInt32() + let replacedSymbolSpans_buf: Array = new Array(replacedSymbolSpans_buf_length) + for (let replacedSymbolSpans_buf_i = 0; replacedSymbolSpans_buf_i < replacedSymbolSpans_buf_length; replacedSymbolSpans_buf_i++) { + replacedSymbolSpans_buf[replacedSymbolSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() + } + const replacedSymbolSpans_result: Array = replacedSymbolSpans_buf + let value: RichEditorChangeValue = ({rangeBefore: rangeBefore_result, replacedSpans: replacedSpans_result, replacedImageSpans: replacedImageSpans_result, replacedSymbolSpans: replacedSymbolSpans_result} as RichEditorChangeValue) return value } - readFlexSpaceOptions(): FlexSpaceOptions { + public readRichEditorSymbolSpanStyle(): RichEditorSymbolSpanStyle { let valueDeserializer: Deserializer = this - const main_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let main_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (main_buf_runtimeType)) + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf: number | string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) { - main_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const fontSize_buf__selector: number = valueDeserializer.readInt8() + let fontSize_buf_: number | string | Resource | undefined|undefined + if (fontSize_buf__selector == 0) { + fontSize_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontSize_buf__selector == 1) { + fontSize_buf_ = (valueDeserializer.readString() as string) + } + else if (fontSize_buf__selector == 2) { + fontSize_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") + } + fontSize_buf = (fontSize_buf_ as number | string | Resource) } - const main_result: LengthMetrics | undefined|undefined = main_buf - const cross_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cross_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cross_buf_runtimeType)) + const fontSize_result: number | string | Resource | undefined|undefined = fontSize_buf + const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontColor_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) { - cross_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const fontColor_buf__length: int32 = valueDeserializer.readInt32() + let fontColor_buf_: Array = new Array(fontColor_buf__length) + for (let fontColor_buf__i = 0; fontColor_buf__i < fontColor_buf__length; fontColor_buf__i++) { + const fontColor_buf__buf_selector: number = valueDeserializer.readInt8() + let fontColor_buf__buf: Color | number | string | Resource | undefined|undefined + if (fontColor_buf__buf_selector == 0) { + fontColor_buf__buf = valueDeserializer.readInt32() + } + else if (fontColor_buf__buf_selector == 1) { + fontColor_buf__buf = (valueDeserializer.readNumber() as number) + } + else if (fontColor_buf__buf_selector == 2) { + fontColor_buf__buf = (valueDeserializer.readString() as string) + } + else if (fontColor_buf__buf_selector == 3) { + fontColor_buf__buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontColor_buf__buf has to be chosen through deserialisation.") + } + fontColor_buf_[fontColor_buf__i] = (fontColor_buf__buf as Color | number | string | Resource) + } + fontColor_buf = fontColor_buf_ } - const cross_result: LengthMetrics | undefined|undefined = cross_buf - let value: FlexSpaceOptions = ({main: main_result, cross: cross_result} as FlexSpaceOptions) + const fontColor_result: Array | undefined|undefined = fontColor_buf + const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontWeight_buf: number | FontWeight | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + { + const fontWeight_buf__selector: number = valueDeserializer.readInt8() + let fontWeight_buf_: number | FontWeight | string | undefined|undefined + if (fontWeight_buf__selector == 0) { + fontWeight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_ = valueDeserializer.readInt32() + } + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_ = (valueDeserializer.readString() as string) + } + else { + throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") + } + fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) + } + const fontWeight_result: number | FontWeight | string | undefined|undefined = fontWeight_buf + const effectStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let effectStrategy_buf: SymbolEffectStrategy | undefined|undefined + if ((RuntimeType.UNDEFINED) != (effectStrategy_buf_runtimeType)) + { + effectStrategy_buf = valueDeserializer.readInt32() + } + const effectStrategy_result: SymbolEffectStrategy | undefined|undefined = effectStrategy_buf + const renderingStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let renderingStrategy_buf: SymbolRenderingStrategy | undefined|undefined + if ((RuntimeType.UNDEFINED) != (renderingStrategy_buf_runtimeType)) + { + renderingStrategy_buf = valueDeserializer.readInt32() + } + const renderingStrategy_result: SymbolRenderingStrategy | undefined|undefined = renderingStrategy_buf + let value: RichEditorSymbolSpanStyle = ({fontSize: fontSize_result, fontColor: fontColor_result, fontWeight: fontWeight_result, effectStrategy: effectStrategy_result, renderingStrategy: renderingStrategy_result} as RichEditorSymbolSpanStyle) return value } - readFocusBoxStyle(): FocusBoxStyle { + public readRichEditorUpdateSymbolSpanStyleOptions(): RichEditorUpdateSymbolSpanStyleOptions { let valueDeserializer: Deserializer = this - const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) - { - margin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const margin_result: LengthMetrics | undefined|undefined = margin_buf - const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeColor_buf: ColorMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - strokeColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + start_buf = (valueDeserializer.readNumber() as number) } - const strokeColor_result: ColorMetrics | undefined|undefined = strokeColor_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + const start_result: number | undefined|undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + end_buf = (valueDeserializer.readNumber() as number) } - const strokeWidth_result: LengthMetrics | undefined|undefined = strokeWidth_buf - let value: FocusBoxStyle = ({margin: margin_result, strokeColor: strokeColor_result, strokeWidth: strokeWidth_result} as FocusBoxStyle) + const end_result: number | undefined|undefined = end_buf + const symbolStyle_result: RichEditorSymbolSpanStyle = valueDeserializer.readRichEditorSymbolSpanStyle() + let value: RichEditorUpdateSymbolSpanStyleOptions = ({start: start_result, end: end_result, symbolStyle: symbolStyle_result} as RichEditorUpdateSymbolSpanStyleOptions) return value } - readFont(): Font { + public readRichEditorUrlStyle(): RichEditorUrlStyle { let valueDeserializer: Deserializer = this - const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let size_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) - { - const size_buf__selector: number = valueDeserializer.readInt8() - let size_buf_: string | number | Resource | undefined|undefined - if (size_buf__selector == 0) { - size_buf_ = (valueDeserializer.readString() as string) - } - else if (size_buf__selector == 1) { - size_buf_ = (valueDeserializer.readNumber() as number) - } - else if (size_buf__selector == 2) { - size_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") - } - size_buf = (size_buf_ as string | number | Resource) - } - const size_result: Length | undefined|undefined = size_buf - const weight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weight_buf: FontWeight | number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (weight_buf_runtimeType)) + const url_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let url_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (url_buf_runtimeType)) { - const weight_buf__selector: number = valueDeserializer.readInt8() - let weight_buf_: FontWeight | number | string | undefined|undefined - if (weight_buf__selector == 0) { - weight_buf_ = valueDeserializer.readInt32() - } - else if (weight_buf__selector == 1) { - weight_buf_ = (valueDeserializer.readNumber() as number) + const url_buf__selector: number = valueDeserializer.readInt8() + let url_buf_: string | Resource | undefined|undefined + if (url_buf__selector == 0) { + url_buf_ = (valueDeserializer.readString() as string) } - else if (weight_buf__selector == 2) { - weight_buf_ = (valueDeserializer.readString() as string) + else if (url_buf__selector == 1) { + url_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for weight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for url_buf_ has to be chosen through deserialisation.") } - weight_buf = (weight_buf_ as FontWeight | number | string) + url_buf = (url_buf_ as string | Resource) } - const weight_result: FontWeight | number | string | undefined|undefined = weight_buf - const family_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let family_buf: string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (family_buf_runtimeType)) + const url_result: ResourceStr | undefined|undefined = url_buf + let value: RichEditorUrlStyle = ({url: url_result} as RichEditorUrlStyle) + return value + } + public readSceneOptions(): SceneOptions { + let valueDeserializer: Deserializer = this + const scene_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scene_buf: ResourceStr | Scene | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scene_buf_runtimeType)) { - const family_buf__selector: number = valueDeserializer.readInt8() - let family_buf_: string | Resource | undefined|undefined - if (family_buf__selector == 0) { - family_buf_ = (valueDeserializer.readString() as string) + const scene_buf__selector: number = valueDeserializer.readInt8() + let scene_buf_: ResourceStr | Scene | undefined|undefined + if (scene_buf__selector == 0) { + const scene_buf__u_selector: number = valueDeserializer.readInt8() + let scene_buf__u: string | Resource | undefined|undefined + if (scene_buf__u_selector == 0) { + scene_buf__u = (valueDeserializer.readString() as string) + } + else if (scene_buf__u_selector == 1) { + scene_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for scene_buf__u has to be chosen through deserialisation.") + } + scene_buf_ = (scene_buf__u as string | Resource) } - else if (family_buf__selector == 1) { - family_buf_ = valueDeserializer.readResource() + else if (scene_buf__selector == 1) { + scene_buf_ = (valueDeserializer.readScene() as Scene) } else { - throw new Error("One of the branches for family_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for scene_buf_ has to be chosen through deserialisation.") } - family_buf = (family_buf_ as string | Resource) + scene_buf = (scene_buf_ as ResourceStr | Scene) } - const family_result: string | Resource | undefined|undefined = family_buf - const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf: FontStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + const scene_result: ResourceStr | Scene | undefined|undefined = scene_buf + const modelType_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let modelType_buf: ModelType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (modelType_buf_runtimeType)) { - style_buf = valueDeserializer.readInt32() + modelType_buf = valueDeserializer.readInt32() } - const style_result: FontStyle | undefined|undefined = style_buf - let value: Font = ({size: size_result, weight: weight_result, family: family_result, style: style_result} as Font) + const modelType_result: ModelType | undefined|undefined = modelType_buf + let value: SceneOptions = ({scene: scene_result, modelType: modelType_result} as SceneOptions) return value } - readFontOptions(): FontOptions { + public readScrollOptions(): ScrollOptions { let valueDeserializer: Deserializer = this - const familyName_buf_selector: number = valueDeserializer.readInt8() - let familyName_buf: string | Resource | undefined|undefined - if (familyName_buf_selector == 0) { - familyName_buf = (valueDeserializer.readString() as string) + const xOffset_buf_selector: number = valueDeserializer.readInt8() + let xOffset_buf: number | string | undefined|undefined + if (xOffset_buf_selector == 0) { + xOffset_buf = (valueDeserializer.readNumber() as number) } - else if (familyName_buf_selector == 1) { - familyName_buf = valueDeserializer.readResource() + else if (xOffset_buf_selector == 1) { + xOffset_buf = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for familyName_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for xOffset_buf has to be chosen through deserialisation.") } - const familyName_result: string | Resource = (familyName_buf as string | Resource) - const familySrc_buf_selector: number = valueDeserializer.readInt8() - let familySrc_buf: string | Resource | undefined|undefined - if (familySrc_buf_selector == 0) { - familySrc_buf = (valueDeserializer.readString() as string) + const xOffset_result: number | string = (xOffset_buf as number | string) + const yOffset_buf_selector: number = valueDeserializer.readInt8() + let yOffset_buf: number | string | undefined|undefined + if (yOffset_buf_selector == 0) { + yOffset_buf = (valueDeserializer.readNumber() as number) } - else if (familySrc_buf_selector == 1) { - familySrc_buf = valueDeserializer.readResource() + else if (yOffset_buf_selector == 1) { + yOffset_buf = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for familySrc_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for yOffset_buf has to be chosen through deserialisation.") } - const familySrc_result: string | Resource = (familySrc_buf as string | Resource) - let value: FontOptions = ({familyName: familyName_result, familySrc: familySrc_result} as FontOptions) + const yOffset_result: number | string = (yOffset_buf as number | string) + const animation_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let animation_buf: ScrollAnimationOptions | boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (animation_buf_runtimeType)) + { + const animation_buf__selector: number = valueDeserializer.readInt8() + let animation_buf_: ScrollAnimationOptions | boolean | undefined|undefined + if (animation_buf__selector == 0) { + animation_buf_ = valueDeserializer.readScrollAnimationOptions() + } + else if (animation_buf__selector == 1) { + animation_buf_ = valueDeserializer.readBoolean() + } + else { + throw new Error("One of the branches for animation_buf_ has to be chosen through deserialisation.") + } + animation_buf = (animation_buf_ as ScrollAnimationOptions | boolean) + } + const animation_result: ScrollAnimationOptions | boolean | undefined|undefined = animation_buf + let value: ScrollOptions = ({xOffset: xOffset_result, yOffset: yOffset_result, animation: animation_result} as ScrollOptions) return value } - readForegroundBlurStyleOptions(): ForegroundBlurStyleOptions { + public readScrollToIndexOptions(): ScrollToIndexOptions { let valueDeserializer: Deserializer = this - const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colorMode_buf: ThemeColorMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) + const extraOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let extraOffset_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (extraOffset_buf_runtimeType)) { - colorMode_buf = valueDeserializer.readInt32() + extraOffset_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } - const colorMode_result: ThemeColorMode | undefined|undefined = colorMode_buf - const adaptiveColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let adaptiveColor_buf: AdaptiveColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (adaptiveColor_buf_runtimeType)) + const extraOffset_result: LengthMetrics | undefined|undefined = extraOffset_buf + let value: ScrollToIndexOptions = ({extraOffset: extraOffset_result} as ScrollToIndexOptions) + return value + } + public readSearchOptions(): SearchOptions { + let valueDeserializer: Deserializer = this + const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let value_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) { - adaptiveColor_buf = valueDeserializer.readInt32() + value_buf = (valueDeserializer.readString() as string) } - const adaptiveColor_result: AdaptiveColor | undefined|undefined = adaptiveColor_buf - const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scale_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) + const value_result: string | undefined|undefined = value_buf + const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let placeholder_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (placeholder_buf_runtimeType)) { - scale_buf = (valueDeserializer.readNumber() as number) + const placeholder_buf__selector: number = valueDeserializer.readInt8() + let placeholder_buf_: string | Resource | undefined|undefined + if (placeholder_buf__selector == 0) { + placeholder_buf_ = (valueDeserializer.readString() as string) + } + else if (placeholder_buf__selector == 1) { + placeholder_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for placeholder_buf_ has to be chosen through deserialisation.") + } + placeholder_buf = (placeholder_buf_ as string | Resource) } - const scale_result: number | undefined|undefined = scale_buf - const blurOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let blurOptions_buf: BlurOptions | undefined|undefined - if ((RuntimeType.UNDEFINED) != (blurOptions_buf_runtimeType)) + const placeholder_result: ResourceStr | undefined|undefined = placeholder_buf + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) { - blurOptions_buf = valueDeserializer.readBlurOptions() + icon_buf = (valueDeserializer.readString() as string) } - const blurOptions_result: BlurOptions | undefined|undefined = blurOptions_buf - let value: ForegroundBlurStyleOptions = ({colorMode: colorMode_result, adaptiveColor: adaptiveColor_result, scale: scale_result, blurOptions: blurOptions_result} as ForegroundBlurStyleOptions) + const icon_result: string | undefined|undefined = icon_buf + const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let controller_buf: SearchController | undefined|undefined + if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) + { + controller_buf = (valueDeserializer.readSearchController() as SearchController) + } + const controller_result: SearchController | undefined|undefined = controller_buf + let value: SearchOptions = ({value: value_result, placeholder: placeholder_result, icon: icon_result, controller: controller_result} as SearchOptions) return value } - readFormInfo(): FormInfo { + public readSelectionMenuOptions(): SelectionMenuOptions { let valueDeserializer: Deserializer = this - const id_buf_selector: number = valueDeserializer.readInt8() - let id_buf: number | string | undefined|undefined - if (id_buf_selector == 0) { - id_buf = valueDeserializer.readInt64() - } - else if (id_buf_selector == 1) { - id_buf = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for id_buf has to be chosen through deserialisation.") + const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onAppear_buf: MenuOnAppearCallback | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onAppear_buf_runtimeType)) + { + onAppear_buf = valueDeserializer.readMenuOnAppearCallback() } - const id_result: number | string = (id_buf as number | string) - const name_result: string = (valueDeserializer.readString() as string) - const bundle_result: string = (valueDeserializer.readString() as string) - const ability_result: string = (valueDeserializer.readString() as string) - const module_result: string = (valueDeserializer.readString() as string) - const dimension_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dimension_buf: FormDimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dimension_buf_runtimeType)) + const onAppear_result: MenuOnAppearCallback | undefined|undefined = onAppear_buf + const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) { - dimension_buf = valueDeserializer.readInt32() + onDisappear_buf = valueDeserializer.readCallback_Void() } - const dimension_result: FormDimension | undefined|undefined = dimension_buf - const temporary_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let temporary_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (temporary_buf_runtimeType)) + const onDisappear_result: (() => void) | undefined|undefined = onDisappear_buf + const menuType_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let menuType_buf: MenuType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (menuType_buf_runtimeType)) { - temporary_buf = valueDeserializer.readBoolean() + menuType_buf = valueDeserializer.readInt32() } - const temporary_result: boolean | undefined|undefined = temporary_buf - const want_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let want_buf: Want | undefined|undefined - if ((RuntimeType.UNDEFINED) != (want_buf_runtimeType)) + const menuType_result: MenuType | undefined|undefined = menuType_buf + const onMenuShow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onMenuShow_buf: MenuCallback | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onMenuShow_buf_runtimeType)) { - want_buf = valueDeserializer.readWant() + onMenuShow_buf = valueDeserializer.readMenuCallback() } - const want_result: Want | undefined|undefined = want_buf - const renderingMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let renderingMode_buf: FormRenderingMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (renderingMode_buf_runtimeType)) + const onMenuShow_result: MenuCallback | undefined|undefined = onMenuShow_buf + const onMenuHide_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onMenuHide_buf: MenuCallback | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onMenuHide_buf_runtimeType)) { - renderingMode_buf = valueDeserializer.readInt32() + onMenuHide_buf = valueDeserializer.readMenuCallback() } - const renderingMode_result: FormRenderingMode | undefined|undefined = renderingMode_buf - const shape_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let shape_buf: FormShape | undefined|undefined - if ((RuntimeType.UNDEFINED) != (shape_buf_runtimeType)) + const onMenuHide_result: MenuCallback | undefined|undefined = onMenuHide_buf + const previewMenuOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let previewMenuOptions_buf: PreviewMenuOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (previewMenuOptions_buf_runtimeType)) { - shape_buf = valueDeserializer.readInt32() + previewMenuOptions_buf = valueDeserializer.readPreviewMenuOptions() } - const shape_result: FormShape | undefined|undefined = shape_buf - let value: FormInfo = ({id: id_result, name: name_result, bundle: bundle_result, ability: ability_result, module: module_result, dimension: dimension_result, temporary: temporary_result, want: want_result, renderingMode: renderingMode_result, shape: shape_result} as FormInfo) + const previewMenuOptions_result: PreviewMenuOptions | undefined|undefined = previewMenuOptions_buf + let value: SelectionMenuOptions = ({onAppear: onAppear_result, onDisappear: onDisappear_result, menuType: menuType_result, onMenuShow: onMenuShow_result, onMenuHide: onMenuHide_result, previewMenuOptions: previewMenuOptions_result} as SelectionMenuOptions) return value } - readGaugeIndicatorOptions(): GaugeIndicatorOptions { + public readSelectOption(): SelectOption { let valueDeserializer: Deserializer = this + const value_buf_selector: number = valueDeserializer.readInt8() + let value_buf: string | Resource | undefined|undefined + if (value_buf_selector == 0) { + value_buf = (valueDeserializer.readString() as string) + } + else if (value_buf_selector == 1) { + value_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + } + const value_result: ResourceStr = (value_buf as string | Resource) const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) let icon_buf: ResourceStr | undefined|undefined if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) @@ -14029,50 +16715,61 @@ export class Deserializer extends DeserializerBase { icon_buf = (icon_buf_ as string | Resource) } const icon_result: ResourceStr | undefined|undefined = icon_buf - const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let space_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) + const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let symbolIcon_buf: SymbolGlyphModifier | undefined|undefined + if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) { - const space_buf__selector: number = valueDeserializer.readInt8() - let space_buf_: string | number | Resource | undefined|undefined - if (space_buf__selector == 0) { - space_buf_ = (valueDeserializer.readString() as string) - } - else if (space_buf__selector == 1) { - space_buf_ = (valueDeserializer.readNumber() as number) - } - else if (space_buf__selector == 2) { - space_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for space_buf_ has to be chosen through deserialisation.") - } - space_buf = (space_buf_ as string | number | Resource) + symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() } - const space_result: Dimension | undefined|undefined = space_buf - let value: GaugeIndicatorOptions = ({icon: icon_result, space: space_result} as GaugeIndicatorOptions) + const symbolIcon_result: SymbolGlyphModifier | undefined|undefined = symbolIcon_buf + let value: SelectOption = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result} as SelectOption) return value } - readGaugeShadowOptions(): GaugeShadowOptions { + public readShadowOptions(): ShadowOptions { let valueDeserializer: Deserializer = this - const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + const radius_buf_selector: number = valueDeserializer.readInt8() let radius_buf: number | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) + if (radius_buf_selector == 0) { + radius_buf = (valueDeserializer.readNumber() as number) + } + else if (radius_buf_selector == 1) { + radius_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for radius_buf has to be chosen through deserialisation.") + } + const radius_result: number | Resource = (radius_buf as number | Resource) + const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let type_buf: ShadowType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) { - const radius_buf__selector: number = valueDeserializer.readInt8() - let radius_buf_: number | Resource | undefined|undefined - if (radius_buf__selector == 0) { - radius_buf_ = (valueDeserializer.readNumber() as number) + type_buf = valueDeserializer.readInt32() + } + const type_result: ShadowType | undefined|undefined = type_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: Color | string | Resource | ColoringStrategy | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + { + const color_buf__selector: number = valueDeserializer.readInt8() + let color_buf_: Color | string | Resource | ColoringStrategy | undefined|undefined + if (color_buf__selector == 0) { + color_buf_ = valueDeserializer.readInt32() } - else if (radius_buf__selector == 1) { - radius_buf_ = valueDeserializer.readResource() + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 2) { + color_buf_ = valueDeserializer.readResource() + } + else if (color_buf__selector == 3) { + color_buf_ = Object.values(ColoringStrategy)[valueDeserializer.readInt32()] } else { - throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - radius_buf = (radius_buf_ as number | Resource) + color_buf = (color_buf_ as Color | string | Resource | ColoringStrategy) } - const radius_result: number | Resource | undefined|undefined = radius_buf + const color_result: Color | string | Resource | ColoringStrategy | undefined|undefined = color_buf const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) let offsetX_buf: number | Resource | undefined|undefined if ((RuntimeType.UNDEFINED) != (offsetX_buf_runtimeType)) @@ -14098,527 +16795,522 @@ export class Deserializer extends DeserializerBase { const offsetY_buf__selector: number = valueDeserializer.readInt8() let offsetY_buf_: number | Resource | undefined|undefined if (offsetY_buf__selector == 0) { - offsetY_buf_ = (valueDeserializer.readNumber() as number) - } - else if (offsetY_buf__selector == 1) { - offsetY_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offsetY_buf_ has to be chosen through deserialisation.") - } - offsetY_buf = (offsetY_buf_ as number | Resource) - } - const offsetY_result: number | Resource | undefined|undefined = offsetY_buf - let value: GaugeShadowOptions = ({radius: radius_result, offsetX: offsetX_result, offsetY: offsetY_result} as GaugeShadowOptions) - return value - } - readGridColOptions(): GridColOptions { - let valueDeserializer: Deserializer = this - const span_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let span_buf: number | GridColColumnOption | undefined|undefined - if ((RuntimeType.UNDEFINED) != (span_buf_runtimeType)) - { - const span_buf__selector: number = valueDeserializer.readInt8() - let span_buf_: number | GridColColumnOption | undefined|undefined - if (span_buf__selector == 0) { - span_buf_ = (valueDeserializer.readNumber() as number) - } - else if (span_buf__selector == 1) { - span_buf_ = valueDeserializer.readGridColColumnOption() - } - else { - throw new Error("One of the branches for span_buf_ has to be chosen through deserialisation.") - } - span_buf = (span_buf_ as number | GridColColumnOption) - } - const span_result: number | GridColColumnOption | undefined|undefined = span_buf - const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offset_buf: number | GridColColumnOption | undefined|undefined - if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) - { - const offset_buf__selector: number = valueDeserializer.readInt8() - let offset_buf_: number | GridColColumnOption | undefined|undefined - if (offset_buf__selector == 0) { - offset_buf_ = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__selector == 1) { - offset_buf_ = valueDeserializer.readGridColColumnOption() - } - else { - throw new Error("One of the branches for offset_buf_ has to be chosen through deserialisation.") - } - offset_buf = (offset_buf_ as number | GridColColumnOption) - } - const offset_result: number | GridColColumnOption | undefined|undefined = offset_buf - const order_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let order_buf: number | GridColColumnOption | undefined|undefined - if ((RuntimeType.UNDEFINED) != (order_buf_runtimeType)) - { - const order_buf__selector: number = valueDeserializer.readInt8() - let order_buf_: number | GridColColumnOption | undefined|undefined - if (order_buf__selector == 0) { - order_buf_ = (valueDeserializer.readNumber() as number) - } - else if (order_buf__selector == 1) { - order_buf_ = valueDeserializer.readGridColColumnOption() - } - else { - throw new Error("One of the branches for order_buf_ has to be chosen through deserialisation.") - } - order_buf = (order_buf_ as number | GridColColumnOption) - } - const order_result: number | GridColColumnOption | undefined|undefined = order_buf - let value: GridColOptions = ({span: span_result, offset: offset_result, order: order_result} as GridColOptions) - return value - } - readGridRowSizeOption(): GridRowSizeOption { - let valueDeserializer: Deserializer = this - const xs_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let xs_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (xs_buf_runtimeType)) - { - const xs_buf__selector: number = valueDeserializer.readInt8() - let xs_buf_: string | number | Resource | undefined|undefined - if (xs_buf__selector == 0) { - xs_buf_ = (valueDeserializer.readString() as string) - } - else if (xs_buf__selector == 1) { - xs_buf_ = (valueDeserializer.readNumber() as number) - } - else if (xs_buf__selector == 2) { - xs_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for xs_buf_ has to be chosen through deserialisation.") - } - xs_buf = (xs_buf_ as string | number | Resource) - } - const xs_result: Length | undefined|undefined = xs_buf - const sm_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let sm_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (sm_buf_runtimeType)) - { - const sm_buf__selector: number = valueDeserializer.readInt8() - let sm_buf_: string | number | Resource | undefined|undefined - if (sm_buf__selector == 0) { - sm_buf_ = (valueDeserializer.readString() as string) - } - else if (sm_buf__selector == 1) { - sm_buf_ = (valueDeserializer.readNumber() as number) - } - else if (sm_buf__selector == 2) { - sm_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for sm_buf_ has to be chosen through deserialisation.") - } - sm_buf = (sm_buf_ as string | number | Resource) - } - const sm_result: Length | undefined|undefined = sm_buf - const md_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let md_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (md_buf_runtimeType)) - { - const md_buf__selector: number = valueDeserializer.readInt8() - let md_buf_: string | number | Resource | undefined|undefined - if (md_buf__selector == 0) { - md_buf_ = (valueDeserializer.readString() as string) - } - else if (md_buf__selector == 1) { - md_buf_ = (valueDeserializer.readNumber() as number) - } - else if (md_buf__selector == 2) { - md_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for md_buf_ has to be chosen through deserialisation.") - } - md_buf = (md_buf_ as string | number | Resource) - } - const md_result: Length | undefined|undefined = md_buf - const lg_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lg_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lg_buf_runtimeType)) - { - const lg_buf__selector: number = valueDeserializer.readInt8() - let lg_buf_: string | number | Resource | undefined|undefined - if (lg_buf__selector == 0) { - lg_buf_ = (valueDeserializer.readString() as string) - } - else if (lg_buf__selector == 1) { - lg_buf_ = (valueDeserializer.readNumber() as number) + offsetY_buf_ = (valueDeserializer.readNumber() as number) } - else if (lg_buf__selector == 2) { - lg_buf_ = valueDeserializer.readResource() + else if (offsetY_buf__selector == 1) { + offsetY_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for lg_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for offsetY_buf_ has to be chosen through deserialisation.") } - lg_buf = (lg_buf_ as string | number | Resource) + offsetY_buf = (offsetY_buf_ as number | Resource) } - const lg_result: Length | undefined|undefined = lg_buf - const xl_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let xl_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (xl_buf_runtimeType)) + const offsetY_result: number | Resource | undefined|undefined = offsetY_buf + const fill_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fill_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fill_buf_runtimeType)) { - const xl_buf__selector: number = valueDeserializer.readInt8() - let xl_buf_: string | number | Resource | undefined|undefined - if (xl_buf__selector == 0) { - xl_buf_ = (valueDeserializer.readString() as string) + fill_buf = valueDeserializer.readBoolean() + } + const fill_result: boolean | undefined|undefined = fill_buf + let value: ShadowOptions = ({radius: radius_result, type: type_result, color: color_result, offsetX: offsetX_result, offsetY: offsetY_result, fill: fill_result} as ShadowOptions) + return value + } + public readsharedTransitionOptions(): sharedTransitionOptions { + let valueDeserializer: Deserializer = this + const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let duration_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf = (valueDeserializer.readNumber() as number) + } + const duration_result: number | undefined|undefined = duration_buf + const curve_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let curve_buf: Curve | string | ICurve | undefined|undefined + if ((RuntimeType.UNDEFINED) != (curve_buf_runtimeType)) + { + const curve_buf__selector: number = valueDeserializer.readInt8() + let curve_buf_: Curve | string | ICurve | undefined|undefined + if (curve_buf__selector == 0) { + curve_buf_ = valueDeserializer.readInt32() } - else if (xl_buf__selector == 1) { - xl_buf_ = (valueDeserializer.readNumber() as number) + else if (curve_buf__selector == 1) { + curve_buf_ = (valueDeserializer.readString() as string) } - else if (xl_buf__selector == 2) { - xl_buf_ = valueDeserializer.readResource() + else if (curve_buf__selector == 2) { + curve_buf_ = (valueDeserializer.readICurve() as ICurve) } else { - throw new Error("One of the branches for xl_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for curve_buf_ has to be chosen through deserialisation.") } - xl_buf = (xl_buf_ as string | number | Resource) + curve_buf = (curve_buf_ as Curve | string | ICurve) } - const xl_result: Length | undefined|undefined = xl_buf - const xxl_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let xxl_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (xxl_buf_runtimeType)) + const curve_result: Curve | string | ICurve | undefined|undefined = curve_buf + const delay_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let delay_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (delay_buf_runtimeType)) { - const xxl_buf__selector: number = valueDeserializer.readInt8() - let xxl_buf_: string | number | Resource | undefined|undefined - if (xxl_buf__selector == 0) { - xxl_buf_ = (valueDeserializer.readString() as string) - } - else if (xxl_buf__selector == 1) { - xxl_buf_ = (valueDeserializer.readNumber() as number) + delay_buf = (valueDeserializer.readNumber() as number) + } + const delay_result: number | undefined|undefined = delay_buf + const motionPath_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let motionPath_buf: MotionPathOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (motionPath_buf_runtimeType)) + { + motionPath_buf = valueDeserializer.readMotionPathOptions() + } + const motionPath_result: MotionPathOptions | undefined|undefined = motionPath_buf + const zIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let zIndex_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (zIndex_buf_runtimeType)) + { + zIndex_buf = (valueDeserializer.readNumber() as number) + } + const zIndex_result: number | undefined|undefined = zIndex_buf + const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let type_buf: SharedTransitionEffectType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) + { + type_buf = valueDeserializer.readInt32() + } + const type_result: SharedTransitionEffectType | undefined|undefined = type_buf + let value: sharedTransitionOptions = ({duration: duration_result, curve: curve_result, delay: delay_result, motionPath: motionPath_result, zIndex: zIndex_result, type: type_result} as sharedTransitionOptions) + return value + } + public readSheetInfo(): SheetInfo { + let valueDeserializer: Deserializer = this + const title_buf_selector: number = valueDeserializer.readInt8() + let title_buf: string | Resource | undefined|undefined + if (title_buf_selector == 0) { + title_buf = (valueDeserializer.readString() as string) + } + else if (title_buf_selector == 1) { + title_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for title_buf has to be chosen through deserialisation.") + } + const title_result: string | Resource = (title_buf as string | Resource) + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf: string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + { + const icon_buf__selector: number = valueDeserializer.readInt8() + let icon_buf_: string | Resource | undefined|undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) } - else if (xxl_buf__selector == 2) { - xxl_buf_ = valueDeserializer.readResource() + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for xxl_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") } - xxl_buf = (xxl_buf_ as string | number | Resource) + icon_buf = (icon_buf_ as string | Resource) } - const xxl_result: Length | undefined|undefined = xxl_buf - let value: GridRowSizeOption = ({xs: xs_result, sm: sm_result, md: md_result, lg: lg_result, xl: xl_result, xxl: xxl_result} as GridRowSizeOption) + const icon_result: string | Resource | undefined|undefined = icon_buf + const action_result: VoidCallback = valueDeserializer.readVoidCallback() + let value: SheetInfo = ({title: title_result, icon: icon_result, action: action_result} as SheetInfo) return value } - readGuideLinePosition(): GuideLinePosition { + public readSheetTitleOptions(): SheetTitleOptions { let valueDeserializer: Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + const title_buf_selector: number = valueDeserializer.readInt8() + let title_buf: string | Resource | undefined|undefined + if (title_buf_selector == 0) { + title_buf = (valueDeserializer.readString() as string) + } + else if (title_buf_selector == 1) { + title_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for title_buf has to be chosen through deserialisation.") + } + const title_result: ResourceStr = (title_buf as string | Resource) + const subtitle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let subtitle_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (subtitle_buf_runtimeType)) { - const start_buf__selector: number = valueDeserializer.readInt8() - let start_buf_: string | number | Resource | undefined|undefined - if (start_buf__selector == 0) { - start_buf_ = (valueDeserializer.readString() as string) - } - else if (start_buf__selector == 1) { - start_buf_ = (valueDeserializer.readNumber() as number) + const subtitle_buf__selector: number = valueDeserializer.readInt8() + let subtitle_buf_: string | Resource | undefined|undefined + if (subtitle_buf__selector == 0) { + subtitle_buf_ = (valueDeserializer.readString() as string) } - else if (start_buf__selector == 2) { - start_buf_ = valueDeserializer.readResource() + else if (subtitle_buf__selector == 1) { + subtitle_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for start_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for subtitle_buf_ has to be chosen through deserialisation.") } - start_buf = (start_buf_ as string | number | Resource) + subtitle_buf = (subtitle_buf_ as string | Resource) } - const start_result: Dimension | undefined|undefined = start_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + const subtitle_result: ResourceStr | undefined|undefined = subtitle_buf + let value: SheetTitleOptions = ({title: title_result, subtitle: subtitle_result} as SheetTitleOptions) + return value + } + public readSliderBlockStyle(): SliderBlockStyle { + let valueDeserializer: Deserializer = this + const type_result: SliderBlockType = valueDeserializer.readInt32() + const image_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let image_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (image_buf_runtimeType)) { - const end_buf__selector: number = valueDeserializer.readInt8() - let end_buf_: string | number | Resource | undefined|undefined - if (end_buf__selector == 0) { - end_buf_ = (valueDeserializer.readString() as string) - } - else if (end_buf__selector == 1) { - end_buf_ = (valueDeserializer.readNumber() as number) + const image_buf__selector: number = valueDeserializer.readInt8() + let image_buf_: string | Resource | undefined|undefined + if (image_buf__selector == 0) { + image_buf_ = (valueDeserializer.readString() as string) } - else if (end_buf__selector == 2) { - end_buf_ = valueDeserializer.readResource() + else if (image_buf__selector == 1) { + image_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for end_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for image_buf_ has to be chosen through deserialisation.") } - end_buf = (end_buf_ as string | number | Resource) + image_buf = (image_buf_ as string | Resource) } - const end_result: Dimension | undefined|undefined = end_buf - let value: GuideLinePosition = ({start: start_result, end: end_result} as GuideLinePosition) - return value - } - readGuideLineStyle(): GuideLineStyle { - let valueDeserializer: Deserializer = this - const id_result: string = (valueDeserializer.readString() as string) - const direction_result: Axis = valueDeserializer.readInt32() - const position_result: GuideLinePosition = valueDeserializer.readGuideLinePosition() - let value: GuideLineStyle = ({id: id_result, direction: direction_result, position: position_result} as GuideLineStyle) + const image_result: ResourceStr | undefined|undefined = image_buf + const shape_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let shape_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (shape_buf_runtimeType)) + { + shape_buf = (valueDeserializer.readString() as string) + } + const shape_result: string | undefined|undefined = shape_buf + let value: SliderBlockStyle = ({type: type_result, image: image_result, shape: shape_result} as SliderBlockStyle) return value } - readHistoricalPoint(): HistoricalPoint { + public readStyledStringChangeValue(): StyledStringChangeValue { let valueDeserializer: Deserializer = this - const touchObject_result: TouchObject = valueDeserializer.readTouchObject() - const size_result: number = (valueDeserializer.readNumber() as number) - const force_result: number = (valueDeserializer.readNumber() as number) - const timestamp_result: number = valueDeserializer.readInt64() - let value: HistoricalPoint = ({touchObject: touchObject_result, size: size_result, force: force_result, timestamp: timestamp_result} as HistoricalPoint) + const range_result: TextRange = valueDeserializer.readTextRange() + const replacementString_result: StyledString = (valueDeserializer.readStyledString() as StyledString) + const previewText_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let previewText_buf: StyledString | undefined|undefined + if ((RuntimeType.UNDEFINED) != (previewText_buf_runtimeType)) + { + previewText_buf = (valueDeserializer.readStyledString() as StyledString) + } + const previewText_result: StyledString | undefined|undefined = previewText_buf + let value: StyledStringChangeValue = ({range: range_result, replacementString: replacementString_result, previewText: previewText_result} as StyledStringChangeValue) return value } - readIconOptions(): IconOptions { + public readSwitchStyle(): SwitchStyle { let valueDeserializer: Deserializer = this - const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let size_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) + const pointRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let pointRadius_buf: number | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (pointRadius_buf_runtimeType)) + { + const pointRadius_buf__selector: number = valueDeserializer.readInt8() + let pointRadius_buf_: number | Resource | undefined|undefined + if (pointRadius_buf__selector == 0) { + pointRadius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (pointRadius_buf__selector == 1) { + pointRadius_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for pointRadius_buf_ has to be chosen through deserialisation.") + } + pointRadius_buf = (pointRadius_buf_ as number | Resource) + } + const pointRadius_result: number | Resource | undefined|undefined = pointRadius_buf + const unselectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let unselectedColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (unselectedColor_buf_runtimeType)) { - const size_buf__selector: number = valueDeserializer.readInt8() - let size_buf_: string | number | Resource | undefined|undefined - if (size_buf__selector == 0) { - size_buf_ = (valueDeserializer.readString() as string) + const unselectedColor_buf__selector: number = valueDeserializer.readInt8() + let unselectedColor_buf_: Color | number | string | Resource | undefined|undefined + if (unselectedColor_buf__selector == 0) { + unselectedColor_buf_ = valueDeserializer.readInt32() } - else if (size_buf__selector == 1) { - size_buf_ = (valueDeserializer.readNumber() as number) + else if (unselectedColor_buf__selector == 1) { + unselectedColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (size_buf__selector == 2) { - size_buf_ = valueDeserializer.readResource() + else if (unselectedColor_buf__selector == 2) { + unselectedColor_buf_ = (valueDeserializer.readString() as string) + } + else if (unselectedColor_buf__selector == 3) { + unselectedColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation.") } - size_buf = (size_buf_ as string | number | Resource) + unselectedColor_buf = (unselectedColor_buf_ as Color | number | string | Resource) } - const size_result: Length | undefined|undefined = size_buf - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const unselectedColor_result: ResourceColor | undefined|undefined = unselectedColor_buf + const pointColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let pointColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (pointColor_buf_runtimeType)) { - const color_buf__selector: number = valueDeserializer.readInt8() - let color_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__selector == 0) { - color_buf_ = valueDeserializer.readInt32() + const pointColor_buf__selector: number = valueDeserializer.readInt8() + let pointColor_buf_: Color | number | string | Resource | undefined|undefined + if (pointColor_buf__selector == 0) { + pointColor_buf_ = valueDeserializer.readInt32() } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + else if (pointColor_buf__selector == 1) { + pointColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else if (pointColor_buf__selector == 2) { + pointColor_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (pointColor_buf__selector == 3) { + pointColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for pointColor_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) + pointColor_buf = (pointColor_buf_ as Color | number | string | Resource) } - const color_result: ResourceColor | undefined|undefined = color_buf - const src_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let src_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (src_buf_runtimeType)) + const pointColor_result: ResourceColor | undefined|undefined = pointColor_buf + const trackBorderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let trackBorderRadius_buf: number | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (trackBorderRadius_buf_runtimeType)) { - const src_buf__selector: number = valueDeserializer.readInt8() - let src_buf_: string | Resource | undefined|undefined - if (src_buf__selector == 0) { - src_buf_ = (valueDeserializer.readString() as string) + const trackBorderRadius_buf__selector: number = valueDeserializer.readInt8() + let trackBorderRadius_buf_: number | Resource | undefined|undefined + if (trackBorderRadius_buf__selector == 0) { + trackBorderRadius_buf_ = (valueDeserializer.readNumber() as number) } - else if (src_buf__selector == 1) { - src_buf_ = valueDeserializer.readResource() + else if (trackBorderRadius_buf__selector == 1) { + trackBorderRadius_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for src_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for trackBorderRadius_buf_ has to be chosen through deserialisation.") } - src_buf = (src_buf_ as string | Resource) + trackBorderRadius_buf = (trackBorderRadius_buf_ as number | Resource) } - const src_result: ResourceStr | undefined|undefined = src_buf - let value: IconOptions = ({size: size_result, color: color_result, src: src_result} as IconOptions) + const trackBorderRadius_result: number | Resource | undefined|undefined = trackBorderRadius_buf + let value: SwitchStyle = ({pointRadius: pointRadius_result, unselectedColor: unselectedColor_result, pointColor: pointColor_result, trackBorderRadius: trackBorderRadius_result} as SwitchStyle) return value } - readImageFrameInfo(): ImageFrameInfo { + public readTabBarIconStyle(): TabBarIconStyle { let valueDeserializer: Deserializer = this - const src_buf_selector: number = valueDeserializer.readInt8() - let src_buf: string | Resource | PixelMap | undefined|undefined - if (src_buf_selector == 0) { - src_buf = (valueDeserializer.readString() as string) - } - else if (src_buf_selector == 1) { - src_buf = valueDeserializer.readResource() - } - else if (src_buf_selector == 2) { - src_buf = (valueDeserializer.readPixelMap() as PixelMap) - } - else { - throw new Error("One of the branches for src_buf has to be chosen through deserialisation.") - } - const src_result: string | Resource | PixelMap = (src_buf as string | Resource | PixelMap) - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const selectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let selectedColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (selectedColor_buf_runtimeType)) { - const width_buf__selector: number = valueDeserializer.readInt8() - let width_buf_: number | string | undefined|undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readNumber() as number) + const selectedColor_buf__selector: number = valueDeserializer.readInt8() + let selectedColor_buf_: Color | number | string | Resource | undefined|undefined + if (selectedColor_buf__selector == 0) { + selectedColor_buf_ = valueDeserializer.readInt32() } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readString() as string) + else if (selectedColor_buf__selector == 1) { + selectedColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (selectedColor_buf__selector == 2) { + selectedColor_buf_ = (valueDeserializer.readString() as string) + } + else if (selectedColor_buf__selector == 3) { + selectedColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for selectedColor_buf_ has to be chosen through deserialisation.") } - width_buf = (width_buf_ as number | string) + selectedColor_buf = (selectedColor_buf_ as Color | number | string | Resource) } - const width_result: number | string | undefined|undefined = width_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + const selectedColor_result: ResourceColor | undefined|undefined = selectedColor_buf + const unselectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let unselectedColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (unselectedColor_buf_runtimeType)) { - const height_buf__selector: number = valueDeserializer.readInt8() - let height_buf_: number | string | undefined|undefined - if (height_buf__selector == 0) { - height_buf_ = (valueDeserializer.readNumber() as number) + const unselectedColor_buf__selector: number = valueDeserializer.readInt8() + let unselectedColor_buf_: Color | number | string | Resource | undefined|undefined + if (unselectedColor_buf__selector == 0) { + unselectedColor_buf_ = valueDeserializer.readInt32() } - else if (height_buf__selector == 1) { - height_buf_ = (valueDeserializer.readString() as string) + else if (unselectedColor_buf__selector == 1) { + unselectedColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (unselectedColor_buf__selector == 2) { + unselectedColor_buf_ = (valueDeserializer.readString() as string) + } + else if (unselectedColor_buf__selector == 3) { + unselectedColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_ as number | string) + unselectedColor_buf = (unselectedColor_buf_ as Color | number | string | Resource) } - const height_result: number | string | undefined|undefined = height_buf - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + const unselectedColor_result: ResourceColor | undefined|undefined = unselectedColor_buf + let value: TabBarIconStyle = ({selectedColor: selectedColor_result, unselectedColor: unselectedColor_result} as TabBarIconStyle) + return value + } + public readTabBarOptions(): TabBarOptions { + let valueDeserializer: Deserializer = this + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf: string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) { - const top_buf__selector: number = valueDeserializer.readInt8() - let top_buf_: number | string | undefined|undefined - if (top_buf__selector == 0) { - top_buf_ = (valueDeserializer.readNumber() as number) + const icon_buf__selector: number = valueDeserializer.readInt8() + let icon_buf_: string | Resource | undefined|undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) } - else if (top_buf__selector == 1) { - top_buf_ = (valueDeserializer.readString() as string) + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") } - top_buf = (top_buf_ as number | string) + icon_buf = (icon_buf_ as string | Resource) } - const top_result: number | string | undefined|undefined = top_buf - const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let left_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) + const icon_result: string | Resource | undefined|undefined = icon_buf + const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let text_buf: string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) { - const left_buf__selector: number = valueDeserializer.readInt8() - let left_buf_: number | string | undefined|undefined - if (left_buf__selector == 0) { - left_buf_ = (valueDeserializer.readNumber() as number) + const text_buf__selector: number = valueDeserializer.readInt8() + let text_buf_: string | Resource | undefined|undefined + if (text_buf__selector == 0) { + text_buf_ = (valueDeserializer.readString() as string) } - else if (left_buf__selector == 1) { - left_buf_ = (valueDeserializer.readString() as string) + else if (text_buf__selector == 1) { + text_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") } - left_buf = (left_buf_ as number | string) + text_buf = (text_buf_ as string | Resource) } - const left_result: number | string | undefined|undefined = left_buf - const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let duration_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + const text_result: string | Resource | undefined|undefined = text_buf + let value: TabBarOptions = ({icon: icon_result, text: text_result} as TabBarOptions) + return value + } + public readTabsOptions(): TabsOptions { + let valueDeserializer: Deserializer = this + const barPosition_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let barPosition_buf: BarPosition | undefined|undefined + if ((RuntimeType.UNDEFINED) != (barPosition_buf_runtimeType)) { - duration_buf = (valueDeserializer.readNumber() as number) + barPosition_buf = valueDeserializer.readInt32() } - const duration_result: number | undefined|undefined = duration_buf - let value: ImageFrameInfo = ({src: src_result, width: width_result, height: height_result, top: top_result, left: left_result, duration: duration_result} as ImageFrameInfo) + const barPosition_result: BarPosition | undefined|undefined = barPosition_buf + const index_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let index_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (index_buf_runtimeType)) + { + index_buf = (valueDeserializer.readNumber() as number) + } + const index_result: number | undefined|undefined = index_buf + const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let controller_buf: TabsController | undefined|undefined + if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) + { + controller_buf = (valueDeserializer.readTabsController() as TabsController) + } + const controller_result: TabsController | undefined|undefined = controller_buf + const barModifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let barModifier_buf: CommonModifier | undefined|undefined + if ((RuntimeType.UNDEFINED) != (barModifier_buf_runtimeType)) + { + barModifier_buf = valueDeserializer.readCommonModifier() + } + const barModifier_result: CommonModifier | undefined|undefined = barModifier_buf + let value: TabsOptions = ({barPosition: barPosition_result, index: index_result, controller: controller_result, barModifier: barModifier_result} as TabsOptions) return value } - readIndicatorStyle(): IndicatorStyle { + public readTerminationInfo(): TerminationInfo { let valueDeserializer: Deserializer = this - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + const code_result: number = (valueDeserializer.readNumber() as number) + const want_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let want_buf: Want | undefined|undefined + if ((RuntimeType.UNDEFINED) != (want_buf_runtimeType)) + { + want_buf = valueDeserializer.readWant() + } + const want_result: Want | undefined|undefined = want_buf + let value: TerminationInfo = ({code: code_result, want: want_result} as TerminationInfo) + return value + } + public readTextAreaOptions(): TextAreaOptions { + let valueDeserializer: Deserializer = this + const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let placeholder_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (placeholder_buf_runtimeType)) { - const height_buf__selector: number = valueDeserializer.readInt8() - let height_buf_: string | number | Resource | undefined|undefined - if (height_buf__selector == 0) { - height_buf_ = (valueDeserializer.readString() as string) - } - else if (height_buf__selector == 1) { - height_buf_ = (valueDeserializer.readNumber() as number) + const placeholder_buf__selector: number = valueDeserializer.readInt8() + let placeholder_buf_: string | Resource | undefined|undefined + if (placeholder_buf__selector == 0) { + placeholder_buf_ = (valueDeserializer.readString() as string) } - else if (height_buf__selector == 2) { - height_buf_ = valueDeserializer.readResource() + else if (placeholder_buf__selector == 1) { + placeholder_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for placeholder_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_ as string | number | Resource) + placeholder_buf = (placeholder_buf_ as string | Resource) } - const height_result: Length | undefined|undefined = height_buf - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const placeholder_result: ResourceStr | undefined|undefined = placeholder_buf + const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let text_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) { - const width_buf__selector: number = valueDeserializer.readInt8() - let width_buf_: string | number | Resource | undefined|undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readNumber() as number) + const text_buf__selector: number = valueDeserializer.readInt8() + let text_buf_: string | Resource | undefined|undefined + if (text_buf__selector == 0) { + text_buf_ = (valueDeserializer.readString() as string) } - else if (width_buf__selector == 2) { - width_buf_ = valueDeserializer.readResource() + else if (text_buf__selector == 1) { + text_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") } - width_buf = (width_buf_ as string | number | Resource) + text_buf = (text_buf_ as string | Resource) } - const width_result: Length | undefined|undefined = width_buf - const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) + const text_result: ResourceStr | undefined|undefined = text_buf + const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let controller_buf: TextAreaController | undefined|undefined + if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) { - const borderRadius_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__selector == 0) { - borderRadius_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__selector == 1) { - borderRadius_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__selector == 2) { - borderRadius_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf = (borderRadius_buf_ as string | number | Resource) + controller_buf = (valueDeserializer.readTextAreaController() as TextAreaController) } - const borderRadius_result: Length | undefined|undefined = borderRadius_buf - const marginTop_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let marginTop_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (marginTop_buf_runtimeType)) + const controller_result: TextAreaController | undefined|undefined = controller_buf + let value: TextAreaOptions = ({placeholder: placeholder_result, text: text_result, controller: controller_result} as TextAreaOptions) + return value + } + public readTextCascadePickerRangeContent(): TextCascadePickerRangeContent { + let valueDeserializer: Deserializer = this + const text_buf_selector: number = valueDeserializer.readInt8() + let text_buf: string | Resource | undefined|undefined + if (text_buf_selector == 0) { + text_buf = (valueDeserializer.readString() as string) + } + else if (text_buf_selector == 1) { + text_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for text_buf has to be chosen through deserialisation.") + } + const text_result: string | Resource = (text_buf as string | Resource) + const children_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let children_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (children_buf_runtimeType)) { - const marginTop_buf__selector: number = valueDeserializer.readInt8() - let marginTop_buf_: string | number | Resource | undefined|undefined - if (marginTop_buf__selector == 0) { - marginTop_buf_ = (valueDeserializer.readString() as string) - } - else if (marginTop_buf__selector == 1) { - marginTop_buf_ = (valueDeserializer.readNumber() as number) - } - else if (marginTop_buf__selector == 2) { - marginTop_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for marginTop_buf_ has to be chosen through deserialisation.") + const children_buf__length: int32 = valueDeserializer.readInt32() + let children_buf_: Array = new Array(children_buf__length) + for (let children_buf__i = 0; children_buf__i < children_buf__length; children_buf__i++) { + children_buf_[children_buf__i] = valueDeserializer.readTextCascadePickerRangeContent() } - marginTop_buf = (marginTop_buf_ as string | number | Resource) + children_buf = children_buf_ } - const marginTop_result: Length | undefined|undefined = marginTop_buf + const children_result: Array | undefined|undefined = children_buf + let value: TextCascadePickerRangeContent = ({text: text_result, children: children_result} as TextCascadePickerRangeContent) + return value + } + public readTextChangeOptions(): TextChangeOptions { + let valueDeserializer: Deserializer = this + const rangeBefore_result: TextRange = valueDeserializer.readTextRange() + const rangeAfter_result: TextRange = valueDeserializer.readTextRange() + const oldContent_result: string = (valueDeserializer.readString() as string) + const oldPreviewText_result: PreviewText = valueDeserializer.readPreviewText() + let value: TextChangeOptions = ({rangeBefore: rangeBefore_result, rangeAfter: rangeAfter_result, oldContent: oldContent_result, oldPreviewText: oldPreviewText_result} as TextChangeOptions) + return value + } + public readTextDecorationOptions(): TextDecorationOptions { + let valueDeserializer: Deserializer = this + const type_result: TextDecorationType = valueDeserializer.readInt32() const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) let color_buf: ResourceColor | undefined|undefined if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) @@ -14643,1889 +17335,1998 @@ export class Deserializer extends DeserializerBase { color_buf = (color_buf_ as Color | number | string | Resource) } const color_result: ResourceColor | undefined|undefined = color_buf - const selectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let selectedColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (selectedColor_buf_runtimeType)) - { - const selectedColor_buf__selector: number = valueDeserializer.readInt8() - let selectedColor_buf_: Color | number | string | Resource | undefined|undefined - if (selectedColor_buf__selector == 0) { - selectedColor_buf_ = valueDeserializer.readInt32() - } - else if (selectedColor_buf__selector == 1) { - selectedColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (selectedColor_buf__selector == 2) { - selectedColor_buf_ = (valueDeserializer.readString() as string) - } - else if (selectedColor_buf__selector == 3) { - selectedColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for selectedColor_buf_ has to be chosen through deserialisation.") - } - selectedColor_buf = (selectedColor_buf_ as Color | number | string | Resource) - } - const selectedColor_result: ResourceColor | undefined|undefined = selectedColor_buf - const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) - { - const left_buf__selector: number = valueDeserializer.readInt8() - let left_buf_: string | number | Resource | undefined|undefined - if (left_buf__selector == 0) { - left_buf_ = (valueDeserializer.readString() as string) - } - else if (left_buf__selector == 1) { - left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (left_buf__selector == 2) { - left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") - } - left_buf = (left_buf_ as string | number | Resource) - } - const left_result: Length | undefined|undefined = left_buf - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) - { - const top_buf__selector: number = valueDeserializer.readInt8() - let top_buf_: string | number | Resource | undefined|undefined - if (top_buf__selector == 0) { - top_buf_ = (valueDeserializer.readString() as string) - } - else if (top_buf__selector == 1) { - top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (top_buf__selector == 2) { - top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") - } - top_buf = (top_buf_ as string | number | Resource) - } - const top_result: Length | undefined|undefined = top_buf - const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) + const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let style_buf: TextDecorationStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) { - const right_buf__selector: number = valueDeserializer.readInt8() - let right_buf_: string | number | Resource | undefined|undefined - if (right_buf__selector == 0) { - right_buf_ = (valueDeserializer.readString() as string) - } - else if (right_buf__selector == 1) { - right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (right_buf__selector == 2) { - right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") - } - right_buf = (right_buf_ as string | number | Resource) + style_buf = valueDeserializer.readInt32() } - const right_result: Length | undefined|undefined = right_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + const style_result: TextDecorationStyle | undefined|undefined = style_buf + let value: TextDecorationOptions = ({type: type_result, color: color_result, style: style_result} as TextDecorationOptions) + return value + } + public readTextInputOptions(): TextInputOptions { + let valueDeserializer: Deserializer = this + const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let placeholder_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (placeholder_buf_runtimeType)) { - const bottom_buf__selector: number = valueDeserializer.readInt8() - let bottom_buf_: string | number | Resource | undefined|undefined - if (bottom_buf__selector == 0) { - bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (bottom_buf__selector == 1) { - bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (bottom_buf__selector == 2) { - bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") + const placeholder_buf__selector: number = valueDeserializer.readInt8() + let placeholder_buf_: string | Resource | undefined|undefined + if (placeholder_buf__selector == 0) { + placeholder_buf_ = (valueDeserializer.readString() as string) } - bottom_buf = (bottom_buf_ as string | number | Resource) - } - const bottom_result: Length | undefined|undefined = bottom_buf - const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let size_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) - { - const size_buf__selector: number = valueDeserializer.readInt8() - let size_buf_: string | number | Resource | undefined|undefined - if (size_buf__selector == 0) { - size_buf_ = (valueDeserializer.readString() as string) + else if (placeholder_buf__selector == 1) { + placeholder_buf_ = valueDeserializer.readResource() } - else if (size_buf__selector == 1) { - size_buf_ = (valueDeserializer.readNumber() as number) + else { + throw new Error("One of the branches for placeholder_buf_ has to be chosen through deserialisation.") } - else if (size_buf__selector == 2) { - size_buf_ = valueDeserializer.readResource() + placeholder_buf = (placeholder_buf_ as string | Resource) + } + const placeholder_result: ResourceStr | undefined|undefined = placeholder_buf + const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let text_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) + { + const text_buf__selector: number = valueDeserializer.readInt8() + let text_buf_: string | Resource | undefined|undefined + if (text_buf__selector == 0) { + text_buf_ = (valueDeserializer.readString() as string) + } + else if (text_buf__selector == 1) { + text_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") } - size_buf = (size_buf_ as string | number | Resource) + text_buf = (text_buf_ as string | Resource) } - const size_result: Length | undefined|undefined = size_buf - const mask_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let mask_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (mask_buf_runtimeType)) + const text_result: ResourceStr | undefined|undefined = text_buf + const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let controller_buf: TextInputController | undefined|undefined + if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) { - mask_buf = valueDeserializer.readBoolean() + controller_buf = (valueDeserializer.readTextInputController() as TextInputController) } - const mask_result: boolean | undefined|undefined = mask_buf - let value: IndicatorStyle = ({height: height_result, width: width_result, borderRadius: borderRadius_result, marginTop: marginTop_result, color: color_result, selectedColor: selectedColor_result, left: left_result, top: top_result, right: right_result, bottom: bottom_result, size: size_result, mask: mask_result} as IndicatorStyle) + const controller_result: TextInputController | undefined|undefined = controller_buf + let value: TextInputOptions = ({placeholder: placeholder_result, text: text_result, controller: controller_result} as TextInputOptions) return value } - readJavaScriptProxy(): JavaScriptProxy { + public readTextMenuItem(): TextMenuItem { let valueDeserializer: Deserializer = this - const object__result: Object = (valueDeserializer.readObject() as Object) - const name_result: string = (valueDeserializer.readString() as string) - const methodList_buf_length: int32 = valueDeserializer.readInt32() - let methodList_buf: Array = new Array(methodList_buf_length) - for (let methodList_buf_i = 0; methodList_buf_i < methodList_buf_length; methodList_buf_i++) { - methodList_buf[methodList_buf_i] = (valueDeserializer.readString() as string) - } - const methodList_result: Array = methodList_buf - const controller_buf_selector: number = valueDeserializer.readInt8() - let controller_buf: WebController | WebviewController | undefined|undefined - if (controller_buf_selector == 0) { - controller_buf = (valueDeserializer.readWebController() as WebController) + const content_buf_selector: number = valueDeserializer.readInt8() + let content_buf: string | Resource | undefined|undefined + if (content_buf_selector == 0) { + content_buf = (valueDeserializer.readString() as string) } - else if (controller_buf_selector == 1) { - controller_buf = (valueDeserializer.readWebviewController() as WebviewController) + else if (content_buf_selector == 1) { + content_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for content_buf has to be chosen through deserialisation.") } - const controller_result: WebController | WebviewController = (controller_buf as WebController | WebviewController) - const asyncMethodList_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let asyncMethodList_buf: Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (asyncMethodList_buf_runtimeType)) + const content_result: ResourceStr = (content_buf as string | Resource) + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) { - const asyncMethodList_buf__length: int32 = valueDeserializer.readInt32() - let asyncMethodList_buf_: Array = new Array(asyncMethodList_buf__length) - for (let asyncMethodList_buf__i = 0; asyncMethodList_buf__i < asyncMethodList_buf__length; asyncMethodList_buf__i++) { - asyncMethodList_buf_[asyncMethodList_buf__i] = (valueDeserializer.readString() as string) + const icon_buf__selector: number = valueDeserializer.readInt8() + let icon_buf_: string | Resource | undefined|undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) } - asyncMethodList_buf = asyncMethodList_buf_ + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + } + icon_buf = (icon_buf_ as string | Resource) } - const asyncMethodList_result: Array | undefined|undefined = asyncMethodList_buf - const permission_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let permission_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (permission_buf_runtimeType)) + const icon_result: ResourceStr | undefined|undefined = icon_buf + const id_result: TextMenuItemId = (valueDeserializer.readTextMenuItemId() as TextMenuItemId) + const labelInfo_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let labelInfo_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (labelInfo_buf_runtimeType)) { - permission_buf = (valueDeserializer.readString() as string) + const labelInfo_buf__selector: number = valueDeserializer.readInt8() + let labelInfo_buf_: string | Resource | undefined|undefined + if (labelInfo_buf__selector == 0) { + labelInfo_buf_ = (valueDeserializer.readString() as string) + } + else if (labelInfo_buf__selector == 1) { + labelInfo_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for labelInfo_buf_ has to be chosen through deserialisation.") + } + labelInfo_buf = (labelInfo_buf_ as string | Resource) } - const permission_result: string | undefined|undefined = permission_buf - let value: JavaScriptProxy = ({object_: object__result, name: name_result, methodList: methodList_result, controller: controller_result, asyncMethodList: asyncMethodList_result, permission: permission_result} as JavaScriptProxy) + const labelInfo_result: ResourceStr | undefined|undefined = labelInfo_buf + let value: TextMenuItem = ({content: content_result, icon: icon_result, id: id_result, labelInfo: labelInfo_result} as TextMenuItem) return value } - readLightSource(): LightSource { + public readTextPickerOptions(): TextPickerOptions { let valueDeserializer: Deserializer = this - const positionX_buf_selector: number = valueDeserializer.readInt8() - let positionX_buf: string | number | Resource | undefined|undefined - if (positionX_buf_selector == 0) { - positionX_buf = (valueDeserializer.readString() as string) + const range_buf_selector: number = valueDeserializer.readInt8() + let range_buf: Array | Array> | Resource | Array | Array | undefined|undefined + if (range_buf_selector == 0) { + const range_buf_u_length: int32 = valueDeserializer.readInt32() + let range_buf_u: Array = new Array(range_buf_u_length) + for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { + range_buf_u[range_buf_u_i] = (valueDeserializer.readString() as string) + } + range_buf = range_buf_u } - else if (positionX_buf_selector == 1) { - positionX_buf = (valueDeserializer.readNumber() as number) + else if (range_buf_selector == 1) { + const range_buf_u_length: int32 = valueDeserializer.readInt32() + let range_buf_u: Array> = new Array>(range_buf_u_length) + for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { + const range_buf_u_buf_length: int32 = valueDeserializer.readInt32() + let range_buf_u_buf: Array = new Array(range_buf_u_buf_length) + for (let range_buf_u_buf_i = 0; range_buf_u_buf_i < range_buf_u_buf_length; range_buf_u_buf_i++) { + range_buf_u_buf[range_buf_u_buf_i] = (valueDeserializer.readString() as string) + } + range_buf_u[range_buf_u_i] = range_buf_u_buf + } + range_buf = range_buf_u } - else if (positionX_buf_selector == 2) { - positionX_buf = valueDeserializer.readResource() + else if (range_buf_selector == 2) { + range_buf = valueDeserializer.readResource() } - else { - throw new Error("One of the branches for positionX_buf has to be chosen through deserialisation.") + else if (range_buf_selector == 3) { + const range_buf_u_length: int32 = valueDeserializer.readInt32() + let range_buf_u: Array = new Array(range_buf_u_length) + for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { + range_buf_u[range_buf_u_i] = valueDeserializer.readTextPickerRangeContent() + } + range_buf = range_buf_u } - const positionX_result: Dimension = (positionX_buf as string | number | Resource) - const positionY_buf_selector: number = valueDeserializer.readInt8() - let positionY_buf: string | number | Resource | undefined|undefined - if (positionY_buf_selector == 0) { - positionY_buf = (valueDeserializer.readString() as string) + else if (range_buf_selector == 4) { + const range_buf_u_length: int32 = valueDeserializer.readInt32() + let range_buf_u: Array = new Array(range_buf_u_length) + for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { + range_buf_u[range_buf_u_i] = valueDeserializer.readTextCascadePickerRangeContent() + } + range_buf = range_buf_u } - else if (positionY_buf_selector == 1) { - positionY_buf = (valueDeserializer.readNumber() as number) + else { + throw new Error("One of the branches for range_buf has to be chosen through deserialisation.") } - else if (positionY_buf_selector == 2) { - positionY_buf = valueDeserializer.readResource() + const range_result: Array | Array> | Resource | Array | Array = (range_buf as Array | Array> | Resource | Array | Array) + const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let value_buf: string | Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) + { + const value_buf__selector: number = valueDeserializer.readInt8() + let value_buf_: string | Array | undefined|undefined + if (value_buf__selector == 0) { + value_buf_ = (valueDeserializer.readString() as string) + } + else if (value_buf__selector == 1) { + const value_buf__u_length: int32 = valueDeserializer.readInt32() + let value_buf__u: Array = new Array(value_buf__u_length) + for (let value_buf__u_i = 0; value_buf__u_i < value_buf__u_length; value_buf__u_i++) { + value_buf__u[value_buf__u_i] = (valueDeserializer.readString() as string) + } + value_buf_ = value_buf__u + } + else { + throw new Error("One of the branches for value_buf_ has to be chosen through deserialisation.") + } + value_buf = (value_buf_ as string | Array) } - else { - throw new Error("One of the branches for positionY_buf has to be chosen through deserialisation.") + const value_result: string | Array | undefined|undefined = value_buf + const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let selected_buf: number | Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (selected_buf_runtimeType)) + { + const selected_buf__selector: number = valueDeserializer.readInt8() + let selected_buf_: number | Array | undefined|undefined + if (selected_buf__selector == 0) { + selected_buf_ = (valueDeserializer.readNumber() as number) + } + else if (selected_buf__selector == 1) { + const selected_buf__u_length: int32 = valueDeserializer.readInt32() + let selected_buf__u: Array = new Array(selected_buf__u_length) + for (let selected_buf__u_i = 0; selected_buf__u_i < selected_buf__u_length; selected_buf__u_i++) { + selected_buf__u[selected_buf__u_i] = (valueDeserializer.readNumber() as number) + } + selected_buf_ = selected_buf__u + } + else { + throw new Error("One of the branches for selected_buf_ has to be chosen through deserialisation.") + } + selected_buf = (selected_buf_ as number | Array) } - const positionY_result: Dimension = (positionY_buf as string | number | Resource) - const positionZ_buf_selector: number = valueDeserializer.readInt8() - let positionZ_buf: string | number | Resource | undefined|undefined - if (positionZ_buf_selector == 0) { - positionZ_buf = (valueDeserializer.readString() as string) + const selected_result: number | Array | undefined|undefined = selected_buf + const columnWidths_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let columnWidths_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (columnWidths_buf_runtimeType)) + { + const columnWidths_buf__length: int32 = valueDeserializer.readInt32() + let columnWidths_buf_: Array = new Array(columnWidths_buf__length) + for (let columnWidths_buf__i = 0; columnWidths_buf__i < columnWidths_buf__length; columnWidths_buf__i++) { + columnWidths_buf_[columnWidths_buf__i] = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + columnWidths_buf = columnWidths_buf_ } - else if (positionZ_buf_selector == 1) { - positionZ_buf = (valueDeserializer.readNumber() as number) + const columnWidths_result: Array | undefined|undefined = columnWidths_buf + let value: TextPickerOptions = ({range: range_result, value: value_result, selected: selected_result, columnWidths: columnWidths_result} as TextPickerOptions) + return value + } + public readTextPickerRangeContent(): TextPickerRangeContent { + let valueDeserializer: Deserializer = this + const icon_buf_selector: number = valueDeserializer.readInt8() + let icon_buf: string | Resource | undefined|undefined + if (icon_buf_selector == 0) { + icon_buf = (valueDeserializer.readString() as string) } - else if (positionZ_buf_selector == 2) { - positionZ_buf = valueDeserializer.readResource() + else if (icon_buf_selector == 1) { + icon_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for positionZ_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for icon_buf has to be chosen through deserialisation.") } - const positionZ_result: Dimension = (positionZ_buf as string | number | Resource) - const intensity_result: number = (valueDeserializer.readNumber() as number) - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) - { - const color_buf__selector: number = valueDeserializer.readInt8() - let color_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__selector == 0) { - color_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + const icon_result: string | Resource = (icon_buf as string | Resource) + const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let text_buf: string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) + { + const text_buf__selector: number = valueDeserializer.readInt8() + let text_buf_: string | Resource | undefined|undefined + if (text_buf__selector == 0) { + text_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (text_buf__selector == 1) { + text_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) + text_buf = (text_buf_ as string | Resource) } - const color_result: ResourceColor | undefined|undefined = color_buf - let value: LightSource = ({positionX: positionX_result, positionY: positionY_result, positionZ: positionZ_result, intensity: intensity_result, color: color_result} as LightSource) + const text_result: string | Resource | undefined|undefined = text_buf + let value: TextPickerRangeContent = ({icon: icon_result, text: text_result} as TextPickerRangeContent) return value } - readLinearIndicatorStyle(): LinearIndicatorStyle { + public readTextPickerResult(): TextPickerResult { let valueDeserializer: Deserializer = this - const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let space_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) - { - space_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const value_buf_selector: number = valueDeserializer.readInt8() + let value_buf: string | Array | undefined|undefined + if (value_buf_selector == 0) { + value_buf = (valueDeserializer.readString() as string) } - const space_result: LengthMetrics | undefined|undefined = space_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) - { - strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + else if (value_buf_selector == 1) { + const value_buf_u_length: int32 = valueDeserializer.readInt32() + let value_buf_u: Array = new Array(value_buf_u_length) + for (let value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { + value_buf_u[value_buf_u_i] = (valueDeserializer.readString() as string) + } + value_buf = value_buf_u } - const strokeWidth_result: LengthMetrics | undefined|undefined = strokeWidth_buf - const strokeRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeRadius_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeRadius_buf_runtimeType)) + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + } + const value_result: string | Array = (value_buf as string | Array) + const index_buf_selector: number = valueDeserializer.readInt8() + let index_buf: number | Array | undefined|undefined + if (index_buf_selector == 0) { + index_buf = (valueDeserializer.readNumber() as number) + } + else if (index_buf_selector == 1) { + const index_buf_u_length: int32 = valueDeserializer.readInt32() + let index_buf_u: Array = new Array(index_buf_u_length) + for (let index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { + index_buf_u[index_buf_u_i] = (valueDeserializer.readNumber() as number) + } + index_buf = index_buf_u + } + else { + throw new Error("One of the branches for index_buf has to be chosen through deserialisation.") + } + const index_result: number | Array = (index_buf as number | Array) + let value: TextPickerResult = ({value: value_result, index: index_result} as TextPickerResult) + return value + } + public readTextShadow(): TextShadow { + let valueDeserializer: Deserializer = this + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: common2D.Color | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - strokeRadius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + color_buf = valueDeserializer.readcommon2D_Color() } - const strokeRadius_result: LengthMetrics | undefined|undefined = strokeRadius_buf - const trackBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let trackBackgroundColor_buf: ColorMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (trackBackgroundColor_buf_runtimeType)) + const color_result: common2D.Color | undefined|undefined = color_buf + const point_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let point_buf: common2D.Point | undefined|undefined + if ((RuntimeType.UNDEFINED) != (point_buf_runtimeType)) { - trackBackgroundColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + point_buf = valueDeserializer.readcommon2D_Point() } - const trackBackgroundColor_result: ColorMetrics | undefined|undefined = trackBackgroundColor_buf - const trackColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let trackColor_buf: ColorMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (trackColor_buf_runtimeType)) + const point_result: common2D.Point | undefined|undefined = point_buf + const blurRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let blurRadius_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (blurRadius_buf_runtimeType)) { - trackColor_buf = (valueDeserializer.readColorMetrics() as ColorMetrics) + blurRadius_buf = (valueDeserializer.readNumber() as number) } - const trackColor_result: ColorMetrics | undefined|undefined = trackColor_buf - let value: LinearIndicatorStyle = ({space: space_result, strokeWidth: strokeWidth_result, strokeRadius: strokeRadius_result, trackBackgroundColor: trackBackgroundColor_result, trackColor: trackColor_result} as LinearIndicatorStyle) + const blurRadius_result: number | undefined|undefined = blurRadius_buf + let value: TextShadow = ({color: color_result, point: point_result, blurRadius: blurRadius_result} as TextShadow) return value } - readLinearStyleOptions(): LinearStyleOptions { + public readTextStyle_styled_string(): TextStyle_styled_string { let valueDeserializer: Deserializer = this - const enableScanEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableScanEffect_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (enableScanEffect_buf_runtimeType)) + let ptr: KPointer = valueDeserializer.readPointer() + return TextStyle_styled_stringInternal.fromPtr(ptr) + } + public readTextStyleInterface(): TextStyleInterface { + let valueDeserializer: Deserializer = this + const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) { - enableScanEffect_buf = valueDeserializer.readBoolean() + const fontColor_buf__selector: number = valueDeserializer.readInt8() + let fontColor_buf_: Color | number | string | Resource | undefined|undefined + if (fontColor_buf__selector == 0) { + fontColor_buf_ = valueDeserializer.readInt32() + } + else if (fontColor_buf__selector == 1) { + fontColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontColor_buf__selector == 2) { + fontColor_buf_ = (valueDeserializer.readString() as string) + } + else if (fontColor_buf__selector == 3) { + fontColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontColor_buf_ has to be chosen through deserialisation.") + } + fontColor_buf = (fontColor_buf_ as Color | number | string | Resource) } - const enableScanEffect_result: boolean | undefined|undefined = enableScanEffect_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + const fontColor_result: ResourceColor | undefined|undefined = fontColor_buf + const fontFamily_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFamily_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontFamily_buf_runtimeType)) { - const strokeWidth_buf__selector: number = valueDeserializer.readInt8() - let strokeWidth_buf_: string | number | Resource | undefined|undefined - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_ = (valueDeserializer.readString() as string) - } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + const fontFamily_buf__selector: number = valueDeserializer.readInt8() + let fontFamily_buf_: string | Resource | undefined|undefined + if (fontFamily_buf__selector == 0) { + fontFamily_buf_ = (valueDeserializer.readString() as string) } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_ = valueDeserializer.readResource() + else if (fontFamily_buf__selector == 1) { + fontFamily_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontFamily_buf_ has to be chosen through deserialisation.") } - strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) + fontFamily_buf = (fontFamily_buf_ as string | Resource) } - const strokeWidth_result: Length | undefined|undefined = strokeWidth_buf - const strokeRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeRadius_buf: string | number | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeRadius_buf_runtimeType)) + const fontFamily_result: ResourceStr | undefined|undefined = fontFamily_buf + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) { - const strokeRadius_buf__selector: number = valueDeserializer.readInt8() - let strokeRadius_buf_: string | number | Resource | undefined|undefined - if (strokeRadius_buf__selector == 0) { - strokeRadius_buf_ = (valueDeserializer.readString() as string) + fontSize_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const fontSize_result: LengthMetrics | undefined|undefined = fontSize_buf + const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontWeight_buf: number | FontWeight | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + { + const fontWeight_buf__selector: number = valueDeserializer.readInt8() + let fontWeight_buf_: number | FontWeight | string | undefined|undefined + if (fontWeight_buf__selector == 0) { + fontWeight_buf_ = (valueDeserializer.readNumber() as number) } - else if (strokeRadius_buf__selector == 1) { - strokeRadius_buf_ = (valueDeserializer.readNumber() as number) + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_ = valueDeserializer.readInt32() } - else if (strokeRadius_buf__selector == 2) { - strokeRadius_buf_ = valueDeserializer.readResource() + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for strokeRadius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") } - strokeRadius_buf = (strokeRadius_buf_ as string | number | Resource) + fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) } - const strokeRadius_result: PX | VP | LPX | Resource | undefined|undefined = strokeRadius_buf - let value: LinearStyleOptions = ({enableScanEffect: enableScanEffect_result, strokeWidth: strokeWidth_result, strokeRadius: strokeRadius_result} as LinearStyleOptions) + const fontWeight_result: number | FontWeight | string | undefined|undefined = fontWeight_buf + const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontStyle_buf: FontStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) + { + fontStyle_buf = valueDeserializer.readInt32() + } + const fontStyle_result: FontStyle | undefined|undefined = fontStyle_buf + let value: TextStyleInterface = ({fontColor: fontColor_result, fontFamily: fontFamily_result, fontSize: fontSize_result, fontWeight: fontWeight_result, fontStyle: fontStyle_result} as TextStyleInterface) return value } - readListDividerOptions(): ListDividerOptions { + public readTodayStyle(): TodayStyle { let valueDeserializer: Deserializer = this - const strokeWidth_buf_selector: number = valueDeserializer.readInt8() - let strokeWidth_buf: string | number | Resource | undefined|undefined - if (strokeWidth_buf_selector == 0) { - strokeWidth_buf = (valueDeserializer.readString() as string) - } - else if (strokeWidth_buf_selector == 1) { - strokeWidth_buf = (valueDeserializer.readNumber() as number) - } - else if (strokeWidth_buf_selector == 2) { - strokeWidth_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for strokeWidth_buf has to be chosen through deserialisation.") + const focusedDayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let focusedDayColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (focusedDayColor_buf_runtimeType)) + { + const focusedDayColor_buf__selector: number = valueDeserializer.readInt8() + let focusedDayColor_buf_: Color | number | string | Resource | undefined|undefined + if (focusedDayColor_buf__selector == 0) { + focusedDayColor_buf_ = valueDeserializer.readInt32() + } + else if (focusedDayColor_buf__selector == 1) { + focusedDayColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (focusedDayColor_buf__selector == 2) { + focusedDayColor_buf_ = (valueDeserializer.readString() as string) + } + else if (focusedDayColor_buf__selector == 3) { + focusedDayColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for focusedDayColor_buf_ has to be chosen through deserialisation.") + } + focusedDayColor_buf = (focusedDayColor_buf_ as Color | number | string | Resource) } - const strokeWidth_result: Length = (strokeWidth_buf as string | number | Resource) - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const focusedDayColor_result: ResourceColor | undefined|undefined = focusedDayColor_buf + const focusedLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let focusedLunarColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (focusedLunarColor_buf_runtimeType)) { - const color_buf__selector: number = valueDeserializer.readInt8() - let color_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__selector == 0) { - color_buf_ = valueDeserializer.readInt32() + const focusedLunarColor_buf__selector: number = valueDeserializer.readInt8() + let focusedLunarColor_buf_: Color | number | string | Resource | undefined|undefined + if (focusedLunarColor_buf__selector == 0) { + focusedLunarColor_buf_ = valueDeserializer.readInt32() } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + else if (focusedLunarColor_buf__selector == 1) { + focusedLunarColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else if (focusedLunarColor_buf__selector == 2) { + focusedLunarColor_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (focusedLunarColor_buf__selector == 3) { + focusedLunarColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for focusedLunarColor_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) + focusedLunarColor_buf = (focusedLunarColor_buf_ as Color | number | string | Resource) } - const color_result: ResourceColor | undefined|undefined = color_buf - const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startMargin_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + const focusedLunarColor_result: ResourceColor | undefined|undefined = focusedLunarColor_buf + const focusedAreaBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let focusedAreaBackgroundColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (focusedAreaBackgroundColor_buf_runtimeType)) { - const startMargin_buf__selector: number = valueDeserializer.readInt8() - let startMargin_buf_: string | number | Resource | undefined|undefined - if (startMargin_buf__selector == 0) { - startMargin_buf_ = (valueDeserializer.readString() as string) + const focusedAreaBackgroundColor_buf__selector: number = valueDeserializer.readInt8() + let focusedAreaBackgroundColor_buf_: Color | number | string | Resource | undefined|undefined + if (focusedAreaBackgroundColor_buf__selector == 0) { + focusedAreaBackgroundColor_buf_ = valueDeserializer.readInt32() } - else if (startMargin_buf__selector == 1) { - startMargin_buf_ = (valueDeserializer.readNumber() as number) + else if (focusedAreaBackgroundColor_buf__selector == 1) { + focusedAreaBackgroundColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (startMargin_buf__selector == 2) { - startMargin_buf_ = valueDeserializer.readResource() + else if (focusedAreaBackgroundColor_buf__selector == 2) { + focusedAreaBackgroundColor_buf_ = (valueDeserializer.readString() as string) + } + else if (focusedAreaBackgroundColor_buf__selector == 3) { + focusedAreaBackgroundColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for focusedAreaBackgroundColor_buf_ has to be chosen through deserialisation.") } - startMargin_buf = (startMargin_buf_ as string | number | Resource) + focusedAreaBackgroundColor_buf = (focusedAreaBackgroundColor_buf_ as Color | number | string | Resource) } - const startMargin_result: Length | undefined|undefined = startMargin_buf - const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let endMargin_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) + const focusedAreaBackgroundColor_result: ResourceColor | undefined|undefined = focusedAreaBackgroundColor_buf + const focusedAreaRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let focusedAreaRadius_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (focusedAreaRadius_buf_runtimeType)) { - const endMargin_buf__selector: number = valueDeserializer.readInt8() - let endMargin_buf_: string | number | Resource | undefined|undefined - if (endMargin_buf__selector == 0) { - endMargin_buf_ = (valueDeserializer.readString() as string) - } - else if (endMargin_buf__selector == 1) { - endMargin_buf_ = (valueDeserializer.readNumber() as number) - } - else if (endMargin_buf__selector == 2) { - endMargin_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") - } - endMargin_buf = (endMargin_buf_ as string | number | Resource) + focusedAreaRadius_buf = (valueDeserializer.readNumber() as number) } - const endMargin_result: Length | undefined|undefined = endMargin_buf - let value: ListDividerOptions = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as ListDividerOptions) + const focusedAreaRadius_result: number | undefined|undefined = focusedAreaRadius_buf + let value: TodayStyle = ({focusedDayColor: focusedDayColor_result, focusedLunarColor: focusedLunarColor_result, focusedAreaBackgroundColor: focusedAreaBackgroundColor_result, focusedAreaRadius: focusedAreaRadius_result} as TodayStyle) return value } - readLocalizedAlignRuleOptions(): LocalizedAlignRuleOptions { + public readToolbarItem(): ToolbarItem { let valueDeserializer: Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf: LocalizedHorizontalAlignParam | undefined|undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) - { - start_buf = valueDeserializer.readLocalizedHorizontalAlignParam() + const value_buf_selector: number = valueDeserializer.readInt8() + let value_buf: string | Resource | undefined|undefined + if (value_buf_selector == 0) { + value_buf = (valueDeserializer.readString() as string) } - const start_result: LocalizedHorizontalAlignParam | undefined|undefined = start_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf: LocalizedHorizontalAlignParam | undefined|undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + else if (value_buf_selector == 1) { + value_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + } + const value_result: ResourceStr = (value_buf as string | Resource) + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) { - end_buf = valueDeserializer.readLocalizedHorizontalAlignParam() + const icon_buf__selector: number = valueDeserializer.readInt8() + let icon_buf_: string | Resource | undefined|undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) + } + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + } + icon_buf = (icon_buf_ as string | Resource) } - const end_result: LocalizedHorizontalAlignParam | undefined|undefined = end_buf - const middle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let middle_buf: LocalizedHorizontalAlignParam | undefined|undefined - if ((RuntimeType.UNDEFINED) != (middle_buf_runtimeType)) + const icon_result: ResourceStr | undefined|undefined = icon_buf + const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let symbolIcon_buf: SymbolGlyphModifier | undefined|undefined + if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) { - middle_buf = valueDeserializer.readLocalizedHorizontalAlignParam() + symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() } - const middle_result: LocalizedHorizontalAlignParam | undefined|undefined = middle_buf - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf: LocalizedVerticalAlignParam | undefined|undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + const symbolIcon_result: SymbolGlyphModifier | undefined|undefined = symbolIcon_buf + const action_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let action_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (action_buf_runtimeType)) { - top_buf = valueDeserializer.readLocalizedVerticalAlignParam() + action_buf = valueDeserializer.readCallback_Void() } - const top_result: LocalizedVerticalAlignParam | undefined|undefined = top_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf: LocalizedVerticalAlignParam | undefined|undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + const action_result: (() => void) | undefined|undefined = action_buf + const status_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let status_buf: ToolbarItemStatus | undefined|undefined + if ((RuntimeType.UNDEFINED) != (status_buf_runtimeType)) { - bottom_buf = valueDeserializer.readLocalizedVerticalAlignParam() + status_buf = valueDeserializer.readInt32() } - const bottom_result: LocalizedVerticalAlignParam | undefined|undefined = bottom_buf - const center_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let center_buf: LocalizedVerticalAlignParam | undefined|undefined - if ((RuntimeType.UNDEFINED) != (center_buf_runtimeType)) + const status_result: ToolbarItemStatus | undefined|undefined = status_buf + const activeIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let activeIcon_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (activeIcon_buf_runtimeType)) { - center_buf = valueDeserializer.readLocalizedVerticalAlignParam() + const activeIcon_buf__selector: number = valueDeserializer.readInt8() + let activeIcon_buf_: string | Resource | undefined|undefined + if (activeIcon_buf__selector == 0) { + activeIcon_buf_ = (valueDeserializer.readString() as string) + } + else if (activeIcon_buf__selector == 1) { + activeIcon_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for activeIcon_buf_ has to be chosen through deserialisation.") + } + activeIcon_buf = (activeIcon_buf_ as string | Resource) } - const center_result: LocalizedVerticalAlignParam | undefined|undefined = center_buf - const bias_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bias_buf: Bias | undefined|undefined - if ((RuntimeType.UNDEFINED) != (bias_buf_runtimeType)) + const activeIcon_result: ResourceStr | undefined|undefined = activeIcon_buf + const activeSymbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let activeSymbolIcon_buf: SymbolGlyphModifier | undefined|undefined + if ((RuntimeType.UNDEFINED) != (activeSymbolIcon_buf_runtimeType)) { - bias_buf = valueDeserializer.readBias() + activeSymbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() } - const bias_result: Bias | undefined|undefined = bias_buf - let value: LocalizedAlignRuleOptions = ({start: start_result, end: end_result, middle: middle_result, top: top_result, bottom: bottom_result, center: center_result, bias: bias_result} as LocalizedAlignRuleOptions) + const activeSymbolIcon_result: SymbolGlyphModifier | undefined|undefined = activeSymbolIcon_buf + let value: ToolbarItem = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, action: action_result, status: status_result, activeIcon: activeIcon_result, activeSymbolIcon: activeSymbolIcon_result} as ToolbarItem) return value } - readLocalizedBorderRadiuses(): LocalizedBorderRadiuses { + public readTransitionOptions(): TransitionOptions { let valueDeserializer: Deserializer = this - const topStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let topStart_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (topStart_buf_runtimeType)) + const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let type_buf: TransitionType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) { - topStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + type_buf = valueDeserializer.readInt32() } - const topStart_result: LengthMetrics | undefined|undefined = topStart_buf - const topEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let topEnd_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (topEnd_buf_runtimeType)) + const type_result: TransitionType | undefined|undefined = type_buf + const opacity_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let opacity_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (opacity_buf_runtimeType)) { - topEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + opacity_buf = (valueDeserializer.readNumber() as number) } - const topEnd_result: LengthMetrics | undefined|undefined = topEnd_buf - const bottomStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottomStart_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (bottomStart_buf_runtimeType)) + const opacity_result: number | undefined|undefined = opacity_buf + const translate_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let translate_buf: TranslateOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (translate_buf_runtimeType)) { - bottomStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + translate_buf = valueDeserializer.readTranslateOptions() } - const bottomStart_result: LengthMetrics | undefined|undefined = bottomStart_buf - const bottomEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottomEnd_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (bottomEnd_buf_runtimeType)) + const translate_result: TranslateOptions | undefined|undefined = translate_buf + const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scale_buf: ScaleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) { - bottomEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + scale_buf = valueDeserializer.readScaleOptions() } - const bottomEnd_result: LengthMetrics | undefined|undefined = bottomEnd_buf - let value: LocalizedBorderRadiuses = ({topStart: topStart_result, topEnd: topEnd_result, bottomStart: bottomStart_result, bottomEnd: bottomEnd_result} as LocalizedBorderRadiuses) + const scale_result: ScaleOptions | undefined|undefined = scale_buf + const rotate_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let rotate_buf: RotateOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (rotate_buf_runtimeType)) + { + rotate_buf = valueDeserializer.readRotateOptions() + } + const rotate_result: RotateOptions | undefined|undefined = rotate_buf + let value: TransitionOptions = ({type: type_result, opacity: opacity_result, translate: translate_result, scale: scale_result, rotate: rotate_result} as TransitionOptions) return value } - readLocalizedEdgeColors(): LocalizedEdgeColors { + public readUnderlineColor(): UnderlineColor { let valueDeserializer: Deserializer = this - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + const typing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let typing_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (typing_buf_runtimeType)) { - const top_buf__selector: number = valueDeserializer.readInt8() - let top_buf_: Color | number | string | Resource | undefined|undefined - if (top_buf__selector == 0) { - top_buf_ = valueDeserializer.readInt32() + const typing_buf__selector: number = valueDeserializer.readInt8() + let typing_buf_: Color | number | string | Resource | undefined|undefined + if (typing_buf__selector == 0) { + typing_buf_ = valueDeserializer.readInt32() } - else if (top_buf__selector == 1) { - top_buf_ = (valueDeserializer.readNumber() as number) + else if (typing_buf__selector == 1) { + typing_buf_ = (valueDeserializer.readNumber() as number) } - else if (top_buf__selector == 2) { - top_buf_ = (valueDeserializer.readString() as string) + else if (typing_buf__selector == 2) { + typing_buf_ = (valueDeserializer.readString() as string) } - else if (top_buf__selector == 3) { - top_buf_ = valueDeserializer.readResource() + else if (typing_buf__selector == 3) { + typing_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for typing_buf_ has to be chosen through deserialisation.") } - top_buf = (top_buf_ as Color | number | string | Resource) + typing_buf = (typing_buf_ as Color | number | string | Resource) } - const top_result: ResourceColor | undefined|undefined = top_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + const typing_result: ResourceColor | undefined|undefined = typing_buf + const normal_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let normal_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (normal_buf_runtimeType)) { - const end_buf__selector: number = valueDeserializer.readInt8() - let end_buf_: Color | number | string | Resource | undefined|undefined - if (end_buf__selector == 0) { - end_buf_ = valueDeserializer.readInt32() + const normal_buf__selector: number = valueDeserializer.readInt8() + let normal_buf_: Color | number | string | Resource | undefined|undefined + if (normal_buf__selector == 0) { + normal_buf_ = valueDeserializer.readInt32() } - else if (end_buf__selector == 1) { - end_buf_ = (valueDeserializer.readNumber() as number) + else if (normal_buf__selector == 1) { + normal_buf_ = (valueDeserializer.readNumber() as number) } - else if (end_buf__selector == 2) { - end_buf_ = (valueDeserializer.readString() as string) + else if (normal_buf__selector == 2) { + normal_buf_ = (valueDeserializer.readString() as string) } - else if (end_buf__selector == 3) { - end_buf_ = valueDeserializer.readResource() + else if (normal_buf__selector == 3) { + normal_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for end_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for normal_buf_ has to be chosen through deserialisation.") } - end_buf = (end_buf_ as Color | number | string | Resource) + normal_buf = (normal_buf_ as Color | number | string | Resource) } - const end_result: ResourceColor | undefined|undefined = end_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + const normal_result: ResourceColor | undefined|undefined = normal_buf + const error_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let error_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (error_buf_runtimeType)) { - const bottom_buf__selector: number = valueDeserializer.readInt8() - let bottom_buf_: Color | number | string | Resource | undefined|undefined - if (bottom_buf__selector == 0) { - bottom_buf_ = valueDeserializer.readInt32() + const error_buf__selector: number = valueDeserializer.readInt8() + let error_buf_: Color | number | string | Resource | undefined|undefined + if (error_buf__selector == 0) { + error_buf_ = valueDeserializer.readInt32() } - else if (bottom_buf__selector == 1) { - bottom_buf_ = (valueDeserializer.readNumber() as number) + else if (error_buf__selector == 1) { + error_buf_ = (valueDeserializer.readNumber() as number) } - else if (bottom_buf__selector == 2) { - bottom_buf_ = (valueDeserializer.readString() as string) + else if (error_buf__selector == 2) { + error_buf_ = (valueDeserializer.readString() as string) } - else if (bottom_buf__selector == 3) { - bottom_buf_ = valueDeserializer.readResource() + else if (error_buf__selector == 3) { + error_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for error_buf_ has to be chosen through deserialisation.") } - bottom_buf = (bottom_buf_ as Color | number | string | Resource) + error_buf = (error_buf_ as Color | number | string | Resource) } - const bottom_result: ResourceColor | undefined|undefined = bottom_buf - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + const error_result: ResourceColor | undefined|undefined = error_buf + const disable_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disable_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (disable_buf_runtimeType)) { - const start_buf__selector: number = valueDeserializer.readInt8() - let start_buf_: Color | number | string | Resource | undefined|undefined - if (start_buf__selector == 0) { - start_buf_ = valueDeserializer.readInt32() + const disable_buf__selector: number = valueDeserializer.readInt8() + let disable_buf_: Color | number | string | Resource | undefined|undefined + if (disable_buf__selector == 0) { + disable_buf_ = valueDeserializer.readInt32() } - else if (start_buf__selector == 1) { - start_buf_ = (valueDeserializer.readNumber() as number) + else if (disable_buf__selector == 1) { + disable_buf_ = (valueDeserializer.readNumber() as number) } - else if (start_buf__selector == 2) { - start_buf_ = (valueDeserializer.readString() as string) + else if (disable_buf__selector == 2) { + disable_buf_ = (valueDeserializer.readString() as string) } - else if (start_buf__selector == 3) { - start_buf_ = valueDeserializer.readResource() + else if (disable_buf__selector == 3) { + disable_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for start_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for disable_buf_ has to be chosen through deserialisation.") } - start_buf = (start_buf_ as Color | number | string | Resource) - } - const start_result: ResourceColor | undefined|undefined = start_buf - let value: LocalizedEdgeColors = ({top: top_result, end: end_result, bottom: bottom_result, start: start_result} as LocalizedEdgeColors) - return value - } - readLocalizedEdges(): LocalizedEdges { - let valueDeserializer: Deserializer = this - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) - { - top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const top_result: LengthMetrics | undefined|undefined = top_buf - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) - { - start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const start_result: LengthMetrics | undefined|undefined = start_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) - { - bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const bottom_result: LengthMetrics | undefined|undefined = bottom_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) - { - end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const end_result: LengthMetrics | undefined|undefined = end_buf - let value: LocalizedEdges = ({top: top_result, start: start_result, bottom: bottom_result, end: end_result} as LocalizedEdges) - return value - } - readLocalizedEdgeWidths(): LocalizedEdgeWidths { - let valueDeserializer: Deserializer = this - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) - { - top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const top_result: LengthMetrics | undefined|undefined = top_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) - { - end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const end_result: LengthMetrics | undefined|undefined = end_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) - { - bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const bottom_result: LengthMetrics | undefined|undefined = bottom_buf - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) - { - start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + disable_buf = (disable_buf_ as Color | number | string | Resource) } - const start_result: LengthMetrics | undefined|undefined = start_buf - let value: LocalizedEdgeWidths = ({top: top_result, end: end_result, bottom: bottom_result, start: start_result} as LocalizedEdgeWidths) + const disable_result: ResourceColor | undefined|undefined = disable_buf + let value: UnderlineColor = ({typing: typing_result, normal: normal_result, error: error_result, disable: disable_result} as UnderlineColor) return value } - readLocalizedPadding(): LocalizedPadding { + public readVideoOptions(): VideoOptions { let valueDeserializer: Deserializer = this - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + const src_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let src_buf: string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (src_buf_runtimeType)) { - top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const src_buf__selector: number = valueDeserializer.readInt8() + let src_buf_: string | Resource | undefined|undefined + if (src_buf__selector == 0) { + src_buf_ = (valueDeserializer.readString() as string) + } + else if (src_buf__selector == 1) { + src_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for src_buf_ has to be chosen through deserialisation.") + } + src_buf = (src_buf_ as string | Resource) } - const top_result: LengthMetrics | undefined|undefined = top_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + const src_result: string | Resource | undefined|undefined = src_buf + const currentProgressRate_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let currentProgressRate_buf: number | string | PlaybackSpeed | undefined|undefined + if ((RuntimeType.UNDEFINED) != (currentProgressRate_buf_runtimeType)) { - end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const currentProgressRate_buf__selector: number = valueDeserializer.readInt8() + let currentProgressRate_buf_: number | string | PlaybackSpeed | undefined|undefined + if (currentProgressRate_buf__selector == 0) { + currentProgressRate_buf_ = (valueDeserializer.readNumber() as number) + } + else if (currentProgressRate_buf__selector == 1) { + currentProgressRate_buf_ = (valueDeserializer.readString() as string) + } + else if (currentProgressRate_buf__selector == 2) { + currentProgressRate_buf_ = valueDeserializer.readInt32() + } + else { + throw new Error("One of the branches for currentProgressRate_buf_ has to be chosen through deserialisation.") + } + currentProgressRate_buf = (currentProgressRate_buf_ as number | string | PlaybackSpeed) } - const end_result: LengthMetrics | undefined|undefined = end_buf - const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) + const currentProgressRate_result: number | string | PlaybackSpeed | undefined|undefined = currentProgressRate_buf + const previewUri_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let previewUri_buf: string | PixelMap | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (previewUri_buf_runtimeType)) { - bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + const previewUri_buf__selector: number = valueDeserializer.readInt8() + let previewUri_buf_: string | PixelMap | Resource | undefined|undefined + if (previewUri_buf__selector == 0) { + previewUri_buf_ = (valueDeserializer.readString() as string) + } + else if (previewUri_buf__selector == 1) { + previewUri_buf_ = (valueDeserializer.readPixelMap() as PixelMap) + } + else if (previewUri_buf__selector == 2) { + previewUri_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for previewUri_buf_ has to be chosen through deserialisation.") + } + previewUri_buf = (previewUri_buf_ as string | PixelMap | Resource) } - const bottom_result: LengthMetrics | undefined|undefined = bottom_buf - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + const previewUri_result: string | PixelMap | Resource | undefined|undefined = previewUri_buf + const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let controller_buf: VideoController | undefined|undefined + if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) { - start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + controller_buf = (valueDeserializer.readVideoController() as VideoController) } - const start_result: LengthMetrics | undefined|undefined = start_buf - let value: LocalizedPadding = ({top: top_result, end: end_result, bottom: bottom_result, start: start_result} as LocalizedPadding) - return value - } - readLocalizedPosition(): LocalizedPosition { - let valueDeserializer: Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + const controller_result: VideoController | undefined|undefined = controller_buf + const imageAIOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let imageAIOptions_buf: ImageAIOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (imageAIOptions_buf_runtimeType)) { - start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + imageAIOptions_buf = valueDeserializer.readImageAIOptions() } - const start_result: LengthMetrics | undefined|undefined = start_buf - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) + const imageAIOptions_result: ImageAIOptions | undefined|undefined = imageAIOptions_buf + const posterOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let posterOptions_buf: PosterOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (posterOptions_buf_runtimeType)) { - top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + posterOptions_buf = valueDeserializer.readPosterOptions() } - const top_result: LengthMetrics | undefined|undefined = top_buf - let value: LocalizedPosition = ({start: start_result, top: top_result} as LocalizedPosition) + const posterOptions_result: PosterOptions | undefined|undefined = posterOptions_buf + let value: VideoOptions = ({src: src_result, currentProgressRate: currentProgressRate_result, previewUri: previewUri_result, controller: controller_result, imageAIOptions: imageAIOptions_result, posterOptions: posterOptions_result} as VideoOptions) return value } - readLunarSwitchStyle(): LunarSwitchStyle { + public readWeekStyle(): WeekStyle { let valueDeserializer: Deserializer = this - const selectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let selectedColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (selectedColor_buf_runtimeType)) + const weekColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (weekColor_buf_runtimeType)) { - const selectedColor_buf__selector: number = valueDeserializer.readInt8() - let selectedColor_buf_: Color | number | string | Resource | undefined|undefined - if (selectedColor_buf__selector == 0) { - selectedColor_buf_ = valueDeserializer.readInt32() + const weekColor_buf__selector: number = valueDeserializer.readInt8() + let weekColor_buf_: Color | number | string | Resource | undefined|undefined + if (weekColor_buf__selector == 0) { + weekColor_buf_ = valueDeserializer.readInt32() } - else if (selectedColor_buf__selector == 1) { - selectedColor_buf_ = (valueDeserializer.readNumber() as number) + else if (weekColor_buf__selector == 1) { + weekColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (selectedColor_buf__selector == 2) { - selectedColor_buf_ = (valueDeserializer.readString() as string) + else if (weekColor_buf__selector == 2) { + weekColor_buf_ = (valueDeserializer.readString() as string) } - else if (selectedColor_buf__selector == 3) { - selectedColor_buf_ = valueDeserializer.readResource() + else if (weekColor_buf__selector == 3) { + weekColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for selectedColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for weekColor_buf_ has to be chosen through deserialisation.") } - selectedColor_buf = (selectedColor_buf_ as Color | number | string | Resource) + weekColor_buf = (weekColor_buf_ as Color | number | string | Resource) } - const selectedColor_result: ResourceColor | undefined|undefined = selectedColor_buf - const unselectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let unselectedColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (unselectedColor_buf_runtimeType)) + const weekColor_result: ResourceColor | undefined|undefined = weekColor_buf + const weekendDayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekendDayColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (weekendDayColor_buf_runtimeType)) { - const unselectedColor_buf__selector: number = valueDeserializer.readInt8() - let unselectedColor_buf_: Color | number | string | Resource | undefined|undefined - if (unselectedColor_buf__selector == 0) { - unselectedColor_buf_ = valueDeserializer.readInt32() + const weekendDayColor_buf__selector: number = valueDeserializer.readInt8() + let weekendDayColor_buf_: Color | number | string | Resource | undefined|undefined + if (weekendDayColor_buf__selector == 0) { + weekendDayColor_buf_ = valueDeserializer.readInt32() } - else if (unselectedColor_buf__selector == 1) { - unselectedColor_buf_ = (valueDeserializer.readNumber() as number) + else if (weekendDayColor_buf__selector == 1) { + weekendDayColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (unselectedColor_buf__selector == 2) { - unselectedColor_buf_ = (valueDeserializer.readString() as string) + else if (weekendDayColor_buf__selector == 2) { + weekendDayColor_buf_ = (valueDeserializer.readString() as string) } - else if (unselectedColor_buf__selector == 3) { - unselectedColor_buf_ = valueDeserializer.readResource() + else if (weekendDayColor_buf__selector == 3) { + weekendDayColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for weekendDayColor_buf_ has to be chosen through deserialisation.") } - unselectedColor_buf = (unselectedColor_buf_ as Color | number | string | Resource) + weekendDayColor_buf = (weekendDayColor_buf_ as Color | number | string | Resource) } - const unselectedColor_result: ResourceColor | undefined|undefined = unselectedColor_buf - const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) + const weekendDayColor_result: ResourceColor | undefined|undefined = weekendDayColor_buf + const weekendLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekendLunarColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (weekendLunarColor_buf_runtimeType)) { - const strokeColor_buf__selector: number = valueDeserializer.readInt8() - let strokeColor_buf_: Color | number | string | Resource | undefined|undefined - if (strokeColor_buf__selector == 0) { - strokeColor_buf_ = valueDeserializer.readInt32() + const weekendLunarColor_buf__selector: number = valueDeserializer.readInt8() + let weekendLunarColor_buf_: Color | number | string | Resource | undefined|undefined + if (weekendLunarColor_buf__selector == 0) { + weekendLunarColor_buf_ = valueDeserializer.readInt32() } - else if (strokeColor_buf__selector == 1) { - strokeColor_buf_ = (valueDeserializer.readNumber() as number) + else if (weekendLunarColor_buf__selector == 1) { + weekendLunarColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (strokeColor_buf__selector == 2) { - strokeColor_buf_ = (valueDeserializer.readString() as string) + else if (weekendLunarColor_buf__selector == 2) { + weekendLunarColor_buf_ = (valueDeserializer.readString() as string) } - else if (strokeColor_buf__selector == 3) { - strokeColor_buf_ = valueDeserializer.readResource() + else if (weekendLunarColor_buf__selector == 3) { + weekendLunarColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for strokeColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for weekendLunarColor_buf_ has to be chosen through deserialisation.") } - strokeColor_buf = (strokeColor_buf_ as Color | number | string | Resource) + weekendLunarColor_buf = (weekendLunarColor_buf_ as Color | number | string | Resource) } - const strokeColor_result: ResourceColor | undefined|undefined = strokeColor_buf - let value: LunarSwitchStyle = ({selectedColor: selectedColor_result, unselectedColor: unselectedColor_result, strokeColor: strokeColor_result} as LunarSwitchStyle) + const weekendLunarColor_result: ResourceColor | undefined|undefined = weekendLunarColor_buf + const weekFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekFontSize_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (weekFontSize_buf_runtimeType)) + { + weekFontSize_buf = (valueDeserializer.readNumber() as number) + } + const weekFontSize_result: number | undefined|undefined = weekFontSize_buf + const weekHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekHeight_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (weekHeight_buf_runtimeType)) + { + weekHeight_buf = (valueDeserializer.readNumber() as number) + } + const weekHeight_result: number | undefined|undefined = weekHeight_buf + const weekWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekWidth_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (weekWidth_buf_runtimeType)) + { + weekWidth_buf = (valueDeserializer.readNumber() as number) + } + const weekWidth_result: number | undefined|undefined = weekWidth_buf + const weekAndDayRowSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weekAndDayRowSpace_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (weekAndDayRowSpace_buf_runtimeType)) + { + weekAndDayRowSpace_buf = (valueDeserializer.readNumber() as number) + } + const weekAndDayRowSpace_result: number | undefined|undefined = weekAndDayRowSpace_buf + let value: WeekStyle = ({weekColor: weekColor_result, weekendDayColor: weekendDayColor_result, weekendLunarColor: weekendLunarColor_result, weekFontSize: weekFontSize_result, weekHeight: weekHeight_result, weekWidth: weekWidth_result, weekAndDayRowSpace: weekAndDayRowSpace_result} as WeekStyle) return value } - readMarkStyle(): MarkStyle { + public readWorkStateStyle(): WorkStateStyle { let valueDeserializer: Deserializer = this - const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) + const workDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let workDayMarkColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (workDayMarkColor_buf_runtimeType)) { - const strokeColor_buf__selector: number = valueDeserializer.readInt8() - let strokeColor_buf_: Color | number | string | Resource | undefined|undefined - if (strokeColor_buf__selector == 0) { - strokeColor_buf_ = valueDeserializer.readInt32() + const workDayMarkColor_buf__selector: number = valueDeserializer.readInt8() + let workDayMarkColor_buf_: Color | number | string | Resource | undefined|undefined + if (workDayMarkColor_buf__selector == 0) { + workDayMarkColor_buf_ = valueDeserializer.readInt32() } - else if (strokeColor_buf__selector == 1) { - strokeColor_buf_ = (valueDeserializer.readNumber() as number) + else if (workDayMarkColor_buf__selector == 1) { + workDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (strokeColor_buf__selector == 2) { - strokeColor_buf_ = (valueDeserializer.readString() as string) + else if (workDayMarkColor_buf__selector == 2) { + workDayMarkColor_buf_ = (valueDeserializer.readString() as string) } - else if (strokeColor_buf__selector == 3) { - strokeColor_buf_ = valueDeserializer.readResource() + else if (workDayMarkColor_buf__selector == 3) { + workDayMarkColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for strokeColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for workDayMarkColor_buf_ has to be chosen through deserialisation.") } - strokeColor_buf = (strokeColor_buf_ as Color | number | string | Resource) + workDayMarkColor_buf = (workDayMarkColor_buf_ as Color | number | string | Resource) } - const strokeColor_result: ResourceColor | undefined|undefined = strokeColor_buf - const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let size_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) + const workDayMarkColor_result: ResourceColor | undefined|undefined = workDayMarkColor_buf + const offDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offDayMarkColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offDayMarkColor_buf_runtimeType)) { - const size_buf__selector: number = valueDeserializer.readInt8() - let size_buf_: string | number | Resource | undefined|undefined - if (size_buf__selector == 0) { - size_buf_ = (valueDeserializer.readString() as string) + const offDayMarkColor_buf__selector: number = valueDeserializer.readInt8() + let offDayMarkColor_buf_: Color | number | string | Resource | undefined|undefined + if (offDayMarkColor_buf__selector == 0) { + offDayMarkColor_buf_ = valueDeserializer.readInt32() } - else if (size_buf__selector == 1) { - size_buf_ = (valueDeserializer.readNumber() as number) + else if (offDayMarkColor_buf__selector == 1) { + offDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (size_buf__selector == 2) { - size_buf_ = valueDeserializer.readResource() + else if (offDayMarkColor_buf__selector == 2) { + offDayMarkColor_buf_ = (valueDeserializer.readString() as string) + } + else if (offDayMarkColor_buf__selector == 3) { + offDayMarkColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for offDayMarkColor_buf_ has to be chosen through deserialisation.") } - size_buf = (size_buf_ as string | number | Resource) + offDayMarkColor_buf = (offDayMarkColor_buf_ as Color | number | string | Resource) } - const size_result: Length | undefined|undefined = size_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + const offDayMarkColor_result: ResourceColor | undefined|undefined = offDayMarkColor_buf + const workDayMarkSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let workDayMarkSize_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (workDayMarkSize_buf_runtimeType)) { - const strokeWidth_buf__selector: number = valueDeserializer.readInt8() - let strokeWidth_buf_: string | number | Resource | undefined|undefined - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_ = (valueDeserializer.readString() as string) - } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_ = (valueDeserializer.readNumber() as number) - } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") - } - strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) + workDayMarkSize_buf = (valueDeserializer.readNumber() as number) + } + const workDayMarkSize_result: number | undefined|undefined = workDayMarkSize_buf + const offDayMarkSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offDayMarkSize_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offDayMarkSize_buf_runtimeType)) + { + offDayMarkSize_buf = (valueDeserializer.readNumber() as number) + } + const offDayMarkSize_result: number | undefined|undefined = offDayMarkSize_buf + const workStateWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let workStateWidth_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (workStateWidth_buf_runtimeType)) + { + workStateWidth_buf = (valueDeserializer.readNumber() as number) + } + const workStateWidth_result: number | undefined|undefined = workStateWidth_buf + const workStateHorizontalMovingDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let workStateHorizontalMovingDistance_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (workStateHorizontalMovingDistance_buf_runtimeType)) + { + workStateHorizontalMovingDistance_buf = (valueDeserializer.readNumber() as number) + } + const workStateHorizontalMovingDistance_result: number | undefined|undefined = workStateHorizontalMovingDistance_buf + const workStateVerticalMovingDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let workStateVerticalMovingDistance_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (workStateVerticalMovingDistance_buf_runtimeType)) + { + workStateVerticalMovingDistance_buf = (valueDeserializer.readNumber() as number) + } + const workStateVerticalMovingDistance_result: number | undefined|undefined = workStateVerticalMovingDistance_buf + let value: WorkStateStyle = ({workDayMarkColor: workDayMarkColor_result, offDayMarkColor: offDayMarkColor_result, workDayMarkSize: workDayMarkSize_result, offDayMarkSize: offDayMarkSize_result, workStateWidth: workStateWidth_result, workStateHorizontalMovingDistance: workStateHorizontalMovingDistance_result, workStateVerticalMovingDistance: workStateVerticalMovingDistance_result} as WorkStateStyle) + return value + } + public readXComponentOptions(): XComponentOptions { + let valueDeserializer: Deserializer = this + const type_result: XComponentType = valueDeserializer.readInt32() + const controller_result: XComponentController = (valueDeserializer.readXComponentController() as XComponentController) + const imageAIOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let imageAIOptions_buf: ImageAIOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (imageAIOptions_buf_runtimeType)) + { + imageAIOptions_buf = valueDeserializer.readImageAIOptions() + } + const imageAIOptions_result: ImageAIOptions | undefined|undefined = imageAIOptions_buf + const screenId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let screenId_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (screenId_buf_runtimeType)) + { + screenId_buf = (valueDeserializer.readNumber() as number) } - const strokeWidth_result: Length | undefined|undefined = strokeWidth_buf - let value: MarkStyle = ({strokeColor: strokeColor_result, size: size_result, strokeWidth: strokeWidth_result} as MarkStyle) + const screenId_result: number | undefined|undefined = screenId_buf + let value: XComponentOptions = ({type: type_result, controller: controller_result, imageAIOptions: imageAIOptions_result, screenId: screenId_result} as XComponentOptions) return value } - readMeasureOptions(): MeasureOptions { + public readArrowStyle(): ArrowStyle { let valueDeserializer: Deserializer = this - const textContent_buf_selector: number = valueDeserializer.readInt8() - let textContent_buf: string | Resource | undefined|undefined - if (textContent_buf_selector == 0) { - textContent_buf = (valueDeserializer.readString() as string) - } - else if (textContent_buf_selector == 1) { - textContent_buf = valueDeserializer.readResource() + const showBackground_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let showBackground_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (showBackground_buf_runtimeType)) + { + showBackground_buf = valueDeserializer.readBoolean() } - else { - throw new Error("One of the branches for textContent_buf has to be chosen through deserialisation.") + const showBackground_result: boolean | undefined|undefined = showBackground_buf + const isSidebarMiddle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let isSidebarMiddle_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (isSidebarMiddle_buf_runtimeType)) + { + isSidebarMiddle_buf = valueDeserializer.readBoolean() } - const textContent_result: string | Resource = (textContent_buf as string | Resource) - const constraintWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let constraintWidth_buf: number | string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (constraintWidth_buf_runtimeType)) + const isSidebarMiddle_result: boolean | undefined|undefined = isSidebarMiddle_buf + const backgroundSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundSize_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundSize_buf_runtimeType)) { - const constraintWidth_buf__selector: number = valueDeserializer.readInt8() - let constraintWidth_buf_: number | string | Resource | undefined|undefined - if (constraintWidth_buf__selector == 0) { - constraintWidth_buf_ = (valueDeserializer.readNumber() as number) + const backgroundSize_buf__selector: number = valueDeserializer.readInt8() + let backgroundSize_buf_: string | number | Resource | undefined|undefined + if (backgroundSize_buf__selector == 0) { + backgroundSize_buf_ = (valueDeserializer.readString() as string) } - else if (constraintWidth_buf__selector == 1) { - constraintWidth_buf_ = (valueDeserializer.readString() as string) + else if (backgroundSize_buf__selector == 1) { + backgroundSize_buf_ = (valueDeserializer.readNumber() as number) } - else if (constraintWidth_buf__selector == 2) { - constraintWidth_buf_ = valueDeserializer.readResource() + else if (backgroundSize_buf__selector == 2) { + backgroundSize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for constraintWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundSize_buf_ has to be chosen through deserialisation.") } - constraintWidth_buf = (constraintWidth_buf_ as number | string | Resource) + backgroundSize_buf = (backgroundSize_buf_ as string | number | Resource) } - const constraintWidth_result: number | string | Resource | undefined|undefined = constraintWidth_buf - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf: number | string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + const backgroundSize_result: Length | undefined|undefined = backgroundSize_buf + const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) { - const fontSize_buf__selector: number = valueDeserializer.readInt8() - let fontSize_buf_: number | string | Resource | undefined|undefined - if (fontSize_buf__selector == 0) { - fontSize_buf_ = (valueDeserializer.readNumber() as number) + const backgroundColor_buf__selector: number = valueDeserializer.readInt8() + let backgroundColor_buf_: Color | number | string | Resource | undefined|undefined + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_ = valueDeserializer.readInt32() } - else if (fontSize_buf__selector == 1) { - fontSize_buf_ = (valueDeserializer.readString() as string) + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontSize_buf__selector == 2) { - fontSize_buf_ = valueDeserializer.readResource() + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_ = (valueDeserializer.readString() as string) + } + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") } - fontSize_buf = (fontSize_buf_ as number | string | Resource) + backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) } - const fontSize_result: number | string | Resource | undefined|undefined = fontSize_buf - const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontStyle_buf: number | FontStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) + const backgroundColor_result: ResourceColor | undefined|undefined = backgroundColor_buf + const arrowSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let arrowSize_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (arrowSize_buf_runtimeType)) { - const fontStyle_buf__selector: number = valueDeserializer.readInt8() - let fontStyle_buf_: number | FontStyle | undefined|undefined - if (fontStyle_buf__selector == 0) { - fontStyle_buf_ = (valueDeserializer.readNumber() as number) + const arrowSize_buf__selector: number = valueDeserializer.readInt8() + let arrowSize_buf_: string | number | Resource | undefined|undefined + if (arrowSize_buf__selector == 0) { + arrowSize_buf_ = (valueDeserializer.readString() as string) } - else if (fontStyle_buf__selector == 1) { - fontStyle_buf_ = valueDeserializer.readInt32() + else if (arrowSize_buf__selector == 1) { + arrowSize_buf_ = (valueDeserializer.readNumber() as number) + } + else if (arrowSize_buf__selector == 2) { + arrowSize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontStyle_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for arrowSize_buf_ has to be chosen through deserialisation.") } - fontStyle_buf = (fontStyle_buf_ as number | FontStyle) + arrowSize_buf = (arrowSize_buf_ as string | number | Resource) } - const fontStyle_result: number | FontStyle | undefined|undefined = fontStyle_buf - const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontWeight_buf: number | string | FontWeight | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + const arrowSize_result: Length | undefined|undefined = arrowSize_buf + const arrowColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let arrowColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (arrowColor_buf_runtimeType)) { - const fontWeight_buf__selector: number = valueDeserializer.readInt8() - let fontWeight_buf_: number | string | FontWeight | undefined|undefined - if (fontWeight_buf__selector == 0) { - fontWeight_buf_ = (valueDeserializer.readNumber() as number) + const arrowColor_buf__selector: number = valueDeserializer.readInt8() + let arrowColor_buf_: Color | number | string | Resource | undefined|undefined + if (arrowColor_buf__selector == 0) { + arrowColor_buf_ = valueDeserializer.readInt32() } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_ = (valueDeserializer.readString() as string) + else if (arrowColor_buf__selector == 1) { + arrowColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_ = valueDeserializer.readInt32() + else if (arrowColor_buf__selector == 2) { + arrowColor_buf_ = (valueDeserializer.readString() as string) + } + else if (arrowColor_buf__selector == 3) { + arrowColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for arrowColor_buf_ has to be chosen through deserialisation.") } - fontWeight_buf = (fontWeight_buf_ as number | string | FontWeight) + arrowColor_buf = (arrowColor_buf_ as Color | number | string | Resource) } - const fontWeight_result: number | string | FontWeight | undefined|undefined = fontWeight_buf - const fontFamily_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFamily_buf: string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontFamily_buf_runtimeType)) + const arrowColor_result: ResourceColor | undefined|undefined = arrowColor_buf + let value: ArrowStyle = ({showBackground: showBackground_result, isSidebarMiddle: isSidebarMiddle_result, backgroundSize: backgroundSize_result, backgroundColor: backgroundColor_result, arrowSize: arrowSize_result, arrowColor: arrowColor_result} as ArrowStyle) + return value + } + public readBadgeStyle(): BadgeStyle { + let valueDeserializer: Deserializer = this + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - const fontFamily_buf__selector: number = valueDeserializer.readInt8() - let fontFamily_buf_: string | Resource | undefined|undefined - if (fontFamily_buf__selector == 0) { - fontFamily_buf_ = (valueDeserializer.readString() as string) - } - else if (fontFamily_buf__selector == 1) { - fontFamily_buf_ = valueDeserializer.readResource() + const color_buf__selector: number = valueDeserializer.readInt8() + let color_buf_: Color | number | string | Resource | undefined|undefined + if (color_buf__selector == 0) { + color_buf_ = valueDeserializer.readInt32() } - else { - throw new Error("One of the branches for fontFamily_buf_ has to be chosen through deserialisation.") + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) } - fontFamily_buf = (fontFamily_buf_ as string | Resource) - } - const fontFamily_result: string | Resource | undefined|undefined = fontFamily_buf - const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let letterSpacing_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) - { - const letterSpacing_buf__selector: number = valueDeserializer.readInt8() - let letterSpacing_buf_: number | string | undefined|undefined - if (letterSpacing_buf__selector == 0) { - letterSpacing_buf_ = (valueDeserializer.readNumber() as number) + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) } - else if (letterSpacing_buf__selector == 1) { - letterSpacing_buf_ = (valueDeserializer.readString() as string) + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for letterSpacing_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - letterSpacing_buf = (letterSpacing_buf_ as number | string) + color_buf = (color_buf_ as Color | number | string | Resource) } - const letterSpacing_result: number | string | undefined|undefined = letterSpacing_buf - const textAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textAlign_buf: number | TextAlign | undefined|undefined - if ((RuntimeType.UNDEFINED) != (textAlign_buf_runtimeType)) + const color_result: ResourceColor | undefined|undefined = color_buf + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) { - const textAlign_buf__selector: number = valueDeserializer.readInt8() - let textAlign_buf_: number | TextAlign | undefined|undefined - if (textAlign_buf__selector == 0) { - textAlign_buf_ = (valueDeserializer.readNumber() as number) + const fontSize_buf__selector: number = valueDeserializer.readInt8() + let fontSize_buf_: number | string | undefined|undefined + if (fontSize_buf__selector == 0) { + fontSize_buf_ = (valueDeserializer.readNumber() as number) } - else if (textAlign_buf__selector == 1) { - textAlign_buf_ = valueDeserializer.readInt32() + else if (fontSize_buf__selector == 1) { + fontSize_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for textAlign_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") } - textAlign_buf = (textAlign_buf_ as number | TextAlign) + fontSize_buf = (fontSize_buf_ as number | string) } - const textAlign_result: number | TextAlign | undefined|undefined = textAlign_buf - const overflow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let overflow_buf: number | TextOverflow | undefined|undefined - if ((RuntimeType.UNDEFINED) != (overflow_buf_runtimeType)) + const fontSize_result: number | string | undefined|undefined = fontSize_buf + const badgeSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let badgeSize_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (badgeSize_buf_runtimeType)) { - const overflow_buf__selector: number = valueDeserializer.readInt8() - let overflow_buf_: number | TextOverflow | undefined|undefined - if (overflow_buf__selector == 0) { - overflow_buf_ = (valueDeserializer.readNumber() as number) + const badgeSize_buf__selector: number = valueDeserializer.readInt8() + let badgeSize_buf_: number | string | undefined|undefined + if (badgeSize_buf__selector == 0) { + badgeSize_buf_ = (valueDeserializer.readNumber() as number) } - else if (overflow_buf__selector == 1) { - overflow_buf_ = valueDeserializer.readInt32() + else if (badgeSize_buf__selector == 1) { + badgeSize_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for overflow_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for badgeSize_buf_ has to be chosen through deserialisation.") } - overflow_buf = (overflow_buf_ as number | TextOverflow) - } - const overflow_result: number | TextOverflow | undefined|undefined = overflow_buf - const maxLines_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maxLines_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (maxLines_buf_runtimeType)) - { - maxLines_buf = (valueDeserializer.readNumber() as number) + badgeSize_buf = (badgeSize_buf_ as number | string) } - const maxLines_result: number | undefined|undefined = maxLines_buf - const lineHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lineHeight_buf: number | string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lineHeight_buf_runtimeType)) - { - const lineHeight_buf__selector: number = valueDeserializer.readInt8() - let lineHeight_buf_: number | string | Resource | undefined|undefined - if (lineHeight_buf__selector == 0) { - lineHeight_buf_ = (valueDeserializer.readNumber() as number) + const badgeSize_result: number | string | undefined|undefined = badgeSize_buf + const badgeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let badgeColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (badgeColor_buf_runtimeType)) + { + const badgeColor_buf__selector: number = valueDeserializer.readInt8() + let badgeColor_buf_: Color | number | string | Resource | undefined|undefined + if (badgeColor_buf__selector == 0) { + badgeColor_buf_ = valueDeserializer.readInt32() } - else if (lineHeight_buf__selector == 1) { - lineHeight_buf_ = (valueDeserializer.readString() as string) + else if (badgeColor_buf__selector == 1) { + badgeColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (lineHeight_buf__selector == 2) { - lineHeight_buf_ = valueDeserializer.readResource() + else if (badgeColor_buf__selector == 2) { + badgeColor_buf_ = (valueDeserializer.readString() as string) + } + else if (badgeColor_buf__selector == 3) { + badgeColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for lineHeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for badgeColor_buf_ has to be chosen through deserialisation.") } - lineHeight_buf = (lineHeight_buf_ as number | string | Resource) + badgeColor_buf = (badgeColor_buf_ as Color | number | string | Resource) } - const lineHeight_result: number | string | Resource | undefined|undefined = lineHeight_buf - const baselineOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let baselineOffset_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (baselineOffset_buf_runtimeType)) + const badgeColor_result: ResourceColor | undefined|undefined = badgeColor_buf + const borderColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (borderColor_buf_runtimeType)) { - const baselineOffset_buf__selector: number = valueDeserializer.readInt8() - let baselineOffset_buf_: number | string | undefined|undefined - if (baselineOffset_buf__selector == 0) { - baselineOffset_buf_ = (valueDeserializer.readNumber() as number) + const borderColor_buf__selector: number = valueDeserializer.readInt8() + let borderColor_buf_: Color | number | string | Resource | undefined|undefined + if (borderColor_buf__selector == 0) { + borderColor_buf_ = valueDeserializer.readInt32() } - else if (baselineOffset_buf__selector == 1) { - baselineOffset_buf_ = (valueDeserializer.readString() as string) + else if (borderColor_buf__selector == 1) { + borderColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (borderColor_buf__selector == 2) { + borderColor_buf_ = (valueDeserializer.readString() as string) + } + else if (borderColor_buf__selector == 3) { + borderColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for baselineOffset_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderColor_buf_ has to be chosen through deserialisation.") } - baselineOffset_buf = (baselineOffset_buf_ as number | string) + borderColor_buf = (borderColor_buf_ as Color | number | string | Resource) } - const baselineOffset_result: number | string | undefined|undefined = baselineOffset_buf - const textCase_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textCase_buf: number | TextCase | undefined|undefined - if ((RuntimeType.UNDEFINED) != (textCase_buf_runtimeType)) + const borderColor_result: ResourceColor | undefined|undefined = borderColor_buf + const borderWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderWidth_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (borderWidth_buf_runtimeType)) { - const textCase_buf__selector: number = valueDeserializer.readInt8() - let textCase_buf_: number | TextCase | undefined|undefined - if (textCase_buf__selector == 0) { - textCase_buf_ = (valueDeserializer.readNumber() as number) + const borderWidth_buf__selector: number = valueDeserializer.readInt8() + let borderWidth_buf_: string | number | Resource | undefined|undefined + if (borderWidth_buf__selector == 0) { + borderWidth_buf_ = (valueDeserializer.readString() as string) } - else if (textCase_buf__selector == 1) { - textCase_buf_ = valueDeserializer.readInt32() + else if (borderWidth_buf__selector == 1) { + borderWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (borderWidth_buf__selector == 2) { + borderWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for textCase_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderWidth_buf_ has to be chosen through deserialisation.") } - textCase_buf = (textCase_buf_ as number | TextCase) + borderWidth_buf = (borderWidth_buf_ as string | number | Resource) } - const textCase_result: number | TextCase | undefined|undefined = textCase_buf - const textIndent_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textIndent_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (textIndent_buf_runtimeType)) + const borderWidth_result: Length | undefined|undefined = borderWidth_buf + const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontWeight_buf: number | FontWeight | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) { - const textIndent_buf__selector: number = valueDeserializer.readInt8() - let textIndent_buf_: number | string | undefined|undefined - if (textIndent_buf__selector == 0) { - textIndent_buf_ = (valueDeserializer.readNumber() as number) + const fontWeight_buf__selector: number = valueDeserializer.readInt8() + let fontWeight_buf_: number | FontWeight | string | undefined|undefined + if (fontWeight_buf__selector == 0) { + fontWeight_buf_ = (valueDeserializer.readNumber() as number) } - else if (textIndent_buf__selector == 1) { - textIndent_buf_ = (valueDeserializer.readString() as string) + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_ = valueDeserializer.readInt32() + } + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for textIndent_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") } - textIndent_buf = (textIndent_buf_ as number | string) - } - const textIndent_result: number | string | undefined|undefined = textIndent_buf - const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let wordBreak_buf: WordBreak | undefined|undefined - if ((RuntimeType.UNDEFINED) != (wordBreak_buf_runtimeType)) - { - wordBreak_buf = valueDeserializer.readInt32() + fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) } - const wordBreak_result: WordBreak | undefined|undefined = wordBreak_buf - let value: MeasureOptions = ({textContent: textContent_result, constraintWidth: constraintWidth_result, fontSize: fontSize_result, fontStyle: fontStyle_result, fontWeight: fontWeight_result, fontFamily: fontFamily_result, letterSpacing: letterSpacing_result, textAlign: textAlign_result, overflow: overflow_result, maxLines: maxLines_result, lineHeight: lineHeight_result, baselineOffset: baselineOffset_result, textCase: textCase_result, textIndent: textIndent_result, wordBreak: wordBreak_result} as MeasureOptions) + const fontWeight_result: number | FontWeight | string | undefined|undefined = fontWeight_buf + let value: BadgeStyle = ({color: color_result, fontSize: fontSize_result, badgeSize: badgeSize_result, badgeColor: badgeColor_result, borderColor: borderColor_result, borderWidth: borderWidth_result, fontWeight: fontWeight_result} as BadgeStyle) return value } - readMenuElement(): MenuElement { + public readBarGridColumnOptions(): BarGridColumnOptions { let valueDeserializer: Deserializer = this - const value_buf_selector: number = valueDeserializer.readInt8() - let value_buf: string | Resource | undefined|undefined - if (value_buf_selector == 0) { - value_buf = (valueDeserializer.readString() as string) + const sm_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let sm_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (sm_buf_runtimeType)) + { + sm_buf = (valueDeserializer.readNumber() as number) } - else if (value_buf_selector == 1) { - value_buf = valueDeserializer.readResource() + const sm_result: number | undefined|undefined = sm_buf + const md_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let md_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (md_buf_runtimeType)) + { + md_buf = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + const md_result: number | undefined|undefined = md_buf + const lg_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lg_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lg_buf_runtimeType)) + { + lg_buf = (valueDeserializer.readNumber() as number) } - const value_result: ResourceStr = (value_buf as string | Resource) - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + const lg_result: number | undefined|undefined = lg_buf + const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let margin_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) { - const icon_buf__selector: number = valueDeserializer.readInt8() - let icon_buf_: string | Resource | undefined|undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + const margin_buf__selector: number = valueDeserializer.readInt8() + let margin_buf_: string | number | Resource | undefined|undefined + if (margin_buf__selector == 0) { + margin_buf_ = (valueDeserializer.readString() as string) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (margin_buf__selector == 1) { + margin_buf_ = (valueDeserializer.readNumber() as number) + } + else if (margin_buf__selector == 2) { + margin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) - } - const icon_result: ResourceStr | undefined|undefined = icon_buf - const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolIcon_buf: SymbolGlyphModifier | undefined|undefined - if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) - { - symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() - } - const symbolIcon_result: SymbolGlyphModifier | undefined|undefined = symbolIcon_buf - const enabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enabled_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (enabled_buf_runtimeType)) - { - enabled_buf = valueDeserializer.readBoolean() + margin_buf = (margin_buf_ as string | number | Resource) } - const enabled_result: boolean | undefined|undefined = enabled_buf - const action_result: (() => void) = valueDeserializer.readCallback_Void() - let value: MenuElement = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, enabled: enabled_result, action: action_result} as MenuElement) - return value - } - readMenuItemConfiguration(): MenuItemConfiguration { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return MenuItemConfigurationInternal.fromPtr(ptr) - } - readMenuItemGroupOptions(): MenuItemGroupOptions { - let valueDeserializer: Deserializer = this - const header_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let header_buf: ResourceStr | CustomBuilder | undefined|undefined - if ((RuntimeType.UNDEFINED) != (header_buf_runtimeType)) + const margin_result: Dimension | undefined|undefined = margin_buf + const gutter_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let gutter_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (gutter_buf_runtimeType)) { - const header_buf__selector: number = valueDeserializer.readInt8() - let header_buf_: ResourceStr | CustomBuilder | undefined|undefined - if (header_buf__selector == 0) { - const header_buf__u_selector: number = valueDeserializer.readInt8() - let header_buf__u: string | Resource | undefined|undefined - if (header_buf__u_selector == 0) { - header_buf__u = (valueDeserializer.readString() as string) - } - else if (header_buf__u_selector == 1) { - header_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for header_buf__u has to be chosen through deserialisation.") - } - header_buf_ = (header_buf__u as string | Resource) + const gutter_buf__selector: number = valueDeserializer.readInt8() + let gutter_buf_: string | number | Resource | undefined|undefined + if (gutter_buf__selector == 0) { + gutter_buf_ = (valueDeserializer.readString() as string) } - else if (header_buf__selector == 1) { - header_buf_ = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + else if (gutter_buf__selector == 1) { + gutter_buf_ = (valueDeserializer.readNumber() as number) + } + else if (gutter_buf__selector == 2) { + gutter_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for header_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for gutter_buf_ has to be chosen through deserialisation.") } - header_buf = (header_buf_ as ResourceStr | CustomBuilder) + gutter_buf = (gutter_buf_ as string | number | Resource) } - const header_result: ResourceStr | CustomBuilder | undefined|undefined = header_buf - const footer_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let footer_buf: ResourceStr | CustomBuilder | undefined|undefined - if ((RuntimeType.UNDEFINED) != (footer_buf_runtimeType)) + const gutter_result: Dimension | undefined|undefined = gutter_buf + let value: BarGridColumnOptions = ({sm: sm_result, md: md_result, lg: lg_result, margin: margin_result, gutter: gutter_result} as BarGridColumnOptions) + return value + } + public readBoardStyle(): BoardStyle { + let valueDeserializer: Deserializer = this + const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderRadius_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) { - const footer_buf__selector: number = valueDeserializer.readInt8() - let footer_buf_: ResourceStr | CustomBuilder | undefined|undefined - if (footer_buf__selector == 0) { - const footer_buf__u_selector: number = valueDeserializer.readInt8() - let footer_buf__u: string | Resource | undefined|undefined - if (footer_buf__u_selector == 0) { - footer_buf__u = (valueDeserializer.readString() as string) - } - else if (footer_buf__u_selector == 1) { - footer_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for footer_buf__u has to be chosen through deserialisation.") - } - footer_buf_ = (footer_buf__u as string | Resource) + const borderRadius_buf__selector: number = valueDeserializer.readInt8() + let borderRadius_buf_: string | number | Resource | undefined|undefined + if (borderRadius_buf__selector == 0) { + borderRadius_buf_ = (valueDeserializer.readString() as string) } - else if (footer_buf__selector == 1) { - footer_buf_ = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + else if (borderRadius_buf__selector == 1) { + borderRadius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (borderRadius_buf__selector == 2) { + borderRadius_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for footer_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") } - footer_buf = (footer_buf_ as ResourceStr | CustomBuilder) + borderRadius_buf = (borderRadius_buf_ as string | number | Resource) } - const footer_result: ResourceStr | CustomBuilder | undefined|undefined = footer_buf - let value: MenuItemGroupOptions = ({header: header_result, footer: footer_result} as MenuItemGroupOptions) + const borderRadius_result: Length | undefined|undefined = borderRadius_buf + let value: BoardStyle = ({borderRadius: borderRadius_result} as BoardStyle) return value } - readMenuItemOptions(): MenuItemOptions { + public readBorderRadiuses(): BorderRadiuses { let valueDeserializer: Deserializer = this - const startIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let startIcon_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (startIcon_buf_runtimeType)) + const topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let topLeft_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (topLeft_buf_runtimeType)) { - const startIcon_buf__selector: number = valueDeserializer.readInt8() - let startIcon_buf_: string | Resource | undefined|undefined - if (startIcon_buf__selector == 0) { - startIcon_buf_ = (valueDeserializer.readString() as string) + const topLeft_buf__selector: number = valueDeserializer.readInt8() + let topLeft_buf_: string | number | Resource | undefined|undefined + if (topLeft_buf__selector == 0) { + topLeft_buf_ = (valueDeserializer.readString() as string) } - else if (startIcon_buf__selector == 1) { - startIcon_buf_ = valueDeserializer.readResource() + else if (topLeft_buf__selector == 1) { + topLeft_buf_ = (valueDeserializer.readNumber() as number) + } + else if (topLeft_buf__selector == 2) { + topLeft_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for startIcon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for topLeft_buf_ has to be chosen through deserialisation.") } - startIcon_buf = (startIcon_buf_ as string | Resource) + topLeft_buf = (topLeft_buf_ as string | number | Resource) } - const startIcon_result: ResourceStr | undefined|undefined = startIcon_buf - const symbolStartIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolStartIcon_buf: SymbolGlyphModifier | undefined|undefined - if ((RuntimeType.UNDEFINED) != (symbolStartIcon_buf_runtimeType)) + const topLeft_result: Length | undefined|undefined = topLeft_buf + const topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let topRight_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (topRight_buf_runtimeType)) { - symbolStartIcon_buf = valueDeserializer.readSymbolGlyphModifier() + const topRight_buf__selector: number = valueDeserializer.readInt8() + let topRight_buf_: string | number | Resource | undefined|undefined + if (topRight_buf__selector == 0) { + topRight_buf_ = (valueDeserializer.readString() as string) + } + else if (topRight_buf__selector == 1) { + topRight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (topRight_buf__selector == 2) { + topRight_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for topRight_buf_ has to be chosen through deserialisation.") + } + topRight_buf = (topRight_buf_ as string | number | Resource) } - const symbolStartIcon_result: SymbolGlyphModifier | undefined|undefined = symbolStartIcon_buf - const content_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let content_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (content_buf_runtimeType)) + const topRight_result: Length | undefined|undefined = topRight_buf + const bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottomLeft_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottomLeft_buf_runtimeType)) { - const content_buf__selector: number = valueDeserializer.readInt8() - let content_buf_: string | Resource | undefined|undefined - if (content_buf__selector == 0) { - content_buf_ = (valueDeserializer.readString() as string) + const bottomLeft_buf__selector: number = valueDeserializer.readInt8() + let bottomLeft_buf_: string | number | Resource | undefined|undefined + if (bottomLeft_buf__selector == 0) { + bottomLeft_buf_ = (valueDeserializer.readString() as string) } - else if (content_buf__selector == 1) { - content_buf_ = valueDeserializer.readResource() + else if (bottomLeft_buf__selector == 1) { + bottomLeft_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottomLeft_buf__selector == 2) { + bottomLeft_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for content_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottomLeft_buf_ has to be chosen through deserialisation.") } - content_buf = (content_buf_ as string | Resource) + bottomLeft_buf = (bottomLeft_buf_ as string | number | Resource) } - const content_result: ResourceStr | undefined|undefined = content_buf - const endIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let endIcon_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (endIcon_buf_runtimeType)) + const bottomLeft_result: Length | undefined|undefined = bottomLeft_buf + const bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottomRight_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottomRight_buf_runtimeType)) { - const endIcon_buf__selector: number = valueDeserializer.readInt8() - let endIcon_buf_: string | Resource | undefined|undefined - if (endIcon_buf__selector == 0) { - endIcon_buf_ = (valueDeserializer.readString() as string) + const bottomRight_buf__selector: number = valueDeserializer.readInt8() + let bottomRight_buf_: string | number | Resource | undefined|undefined + if (bottomRight_buf__selector == 0) { + bottomRight_buf_ = (valueDeserializer.readString() as string) } - else if (endIcon_buf__selector == 1) { - endIcon_buf_ = valueDeserializer.readResource() + else if (bottomRight_buf__selector == 1) { + bottomRight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottomRight_buf__selector == 2) { + bottomRight_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for endIcon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottomRight_buf_ has to be chosen through deserialisation.") } - endIcon_buf = (endIcon_buf_ as string | Resource) + bottomRight_buf = (bottomRight_buf_ as string | number | Resource) } - const endIcon_result: ResourceStr | undefined|undefined = endIcon_buf - const symbolEndIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolEndIcon_buf: SymbolGlyphModifier | undefined|undefined - if ((RuntimeType.UNDEFINED) != (symbolEndIcon_buf_runtimeType)) + const bottomRight_result: Length | undefined|undefined = bottomRight_buf + let value: BorderRadiuses = ({topLeft: topLeft_result, topRight: topRight_result, bottomLeft: bottomLeft_result, bottomRight: bottomRight_result} as BorderRadiuses) + return value + } + public readButtonStyle(): ButtonStyle { + let valueDeserializer: Deserializer = this + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { - symbolEndIcon_buf = valueDeserializer.readSymbolGlyphModifier() + left_buf = (valueDeserializer.readNumber() as number) } - const symbolEndIcon_result: SymbolGlyphModifier | undefined|undefined = symbolEndIcon_buf - const labelInfo_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let labelInfo_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (labelInfo_buf_runtimeType)) + const left_result: number | undefined|undefined = left_buf + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - const labelInfo_buf__selector: number = valueDeserializer.readInt8() - let labelInfo_buf_: string | Resource | undefined|undefined - if (labelInfo_buf__selector == 0) { - labelInfo_buf_ = (valueDeserializer.readString() as string) + top_buf = (valueDeserializer.readNumber() as number) + } + const top_result: number | undefined|undefined = top_buf + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + width_buf = (valueDeserializer.readNumber() as number) + } + const width_result: number | undefined|undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + { + height_buf = (valueDeserializer.readNumber() as number) + } + const height_result: number | undefined|undefined = height_buf + const icons_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icons_buf: ButtonIconOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (icons_buf_runtimeType)) + { + icons_buf = valueDeserializer.readButtonIconOptions() + } + const icons_result: ButtonIconOptions | undefined|undefined = icons_buf + let value: ButtonStyle = ({left: left_result, top: top_result, width: width_result, height: height_result, icons: icons_result} as ButtonStyle) + return value + } + public readCaretStyle(): CaretStyle { + let valueDeserializer: Deserializer = this + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + const width_buf__selector: number = valueDeserializer.readInt8() + let width_buf_: string | number | Resource | undefined|undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readString() as string) } - else if (labelInfo_buf__selector == 1) { - labelInfo_buf_ = valueDeserializer.readResource() + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readNumber() as number) + } + else if (width_buf__selector == 2) { + width_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for labelInfo_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") } - labelInfo_buf = (labelInfo_buf_ as string | Resource) + width_buf = (width_buf_ as string | number | Resource) } - const labelInfo_result: ResourceStr | undefined|undefined = labelInfo_buf - const builder_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let builder_buf: CustomBuilder | undefined|undefined - if ((RuntimeType.UNDEFINED) != (builder_buf_runtimeType)) + const width_result: Length | undefined|undefined = width_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - builder_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + const color_buf__selector: number = valueDeserializer.readInt8() + let color_buf_: Color | number | string | Resource | undefined|undefined + if (color_buf__selector == 0) { + color_buf_ = valueDeserializer.readInt32() + } + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as Color | number | string | Resource) } - const builder_result: CustomBuilder | undefined|undefined = builder_buf - let value: MenuItemOptions = ({startIcon: startIcon_result, symbolStartIcon: symbolStartIcon_result, content: content_result, endIcon: endIcon_result, symbolEndIcon: symbolEndIcon_result, labelInfo: labelInfo_result, builder: builder_result} as MenuItemOptions) + const color_result: ResourceColor | undefined|undefined = color_buf + let value: CaretStyle = ({width: width_result, color: color_result} as CaretStyle) return value } - readNavDestinationCommonTitle(): NavDestinationCommonTitle { + public readChainAnimationOptions(): ChainAnimationOptions { let valueDeserializer: Deserializer = this - const main_buf_selector: number = valueDeserializer.readInt8() - let main_buf: string | Resource | undefined|undefined - if (main_buf_selector == 0) { - main_buf = (valueDeserializer.readString() as string) + const minSpace_buf_selector: number = valueDeserializer.readInt8() + let minSpace_buf: string | number | Resource | undefined|undefined + if (minSpace_buf_selector == 0) { + minSpace_buf = (valueDeserializer.readString() as string) } - else if (main_buf_selector == 1) { - main_buf = valueDeserializer.readResource() + else if (minSpace_buf_selector == 1) { + minSpace_buf = (valueDeserializer.readNumber() as number) + } + else if (minSpace_buf_selector == 2) { + minSpace_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for main_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for minSpace_buf has to be chosen through deserialisation.") } - const main_result: string | Resource = (main_buf as string | Resource) - const sub_buf_selector: number = valueDeserializer.readInt8() - let sub_buf: string | Resource | undefined|undefined - if (sub_buf_selector == 0) { - sub_buf = (valueDeserializer.readString() as string) + const minSpace_result: Length = (minSpace_buf as string | number | Resource) + const maxSpace_buf_selector: number = valueDeserializer.readInt8() + let maxSpace_buf: string | number | Resource | undefined|undefined + if (maxSpace_buf_selector == 0) { + maxSpace_buf = (valueDeserializer.readString() as string) } - else if (sub_buf_selector == 1) { - sub_buf = valueDeserializer.readResource() + else if (maxSpace_buf_selector == 1) { + maxSpace_buf = (valueDeserializer.readNumber() as number) + } + else if (maxSpace_buf_selector == 2) { + maxSpace_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for sub_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for maxSpace_buf has to be chosen through deserialisation.") } - const sub_result: string | Resource = (sub_buf as string | Resource) - let value: NavDestinationCommonTitle = ({main: main_result, sub: sub_result} as NavDestinationCommonTitle) - return value - } - readNavDestinationContext(): NavDestinationContext { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return NavDestinationContextInternal.fromPtr(ptr) - } - readNavDestinationCustomTitle(): NavDestinationCustomTitle { - let valueDeserializer: Deserializer = this - const builder_result: CustomBuilder = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) - const height_buf_selector: number = valueDeserializer.readInt8() - let height_buf: TitleHeight | Length | undefined|undefined - if (height_buf_selector == 0) { - height_buf = valueDeserializer.readInt32() + const maxSpace_result: Length = (maxSpace_buf as string | number | Resource) + const conductivity_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let conductivity_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (conductivity_buf_runtimeType)) + { + conductivity_buf = (valueDeserializer.readNumber() as number) } - else if (height_buf_selector == 1) { - const height_buf_u_selector: number = valueDeserializer.readInt8() - let height_buf_u: string | number | Resource | undefined|undefined - if (height_buf_u_selector == 0) { - height_buf_u = (valueDeserializer.readString() as string) - } - else if (height_buf_u_selector == 1) { - height_buf_u = (valueDeserializer.readNumber() as number) - } - else if (height_buf_u_selector == 2) { - height_buf_u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for height_buf_u has to be chosen through deserialisation.") - } - height_buf = (height_buf_u as string | number | Resource) + const conductivity_result: number | undefined|undefined = conductivity_buf + const intensity_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let intensity_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (intensity_buf_runtimeType)) + { + intensity_buf = (valueDeserializer.readNumber() as number) + } + const intensity_result: number | undefined|undefined = intensity_buf + const edgeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let edgeEffect_buf: ChainEdgeEffect | undefined|undefined + if ((RuntimeType.UNDEFINED) != (edgeEffect_buf_runtimeType)) + { + edgeEffect_buf = valueDeserializer.readInt32() + } + const edgeEffect_result: ChainEdgeEffect | undefined|undefined = edgeEffect_buf + const stiffness_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let stiffness_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (stiffness_buf_runtimeType)) + { + stiffness_buf = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for height_buf has to be chosen through deserialisation.") + const stiffness_result: number | undefined|undefined = stiffness_buf + const damping_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let damping_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (damping_buf_runtimeType)) + { + damping_buf = (valueDeserializer.readNumber() as number) } - const height_result: TitleHeight | Length = (height_buf as TitleHeight | Length) - let value: NavDestinationCustomTitle = ({builder: builder_result, height: height_result} as NavDestinationCustomTitle) + const damping_result: number | undefined|undefined = damping_buf + let value: ChainAnimationOptions = ({minSpace: minSpace_result, maxSpace: maxSpace_result, conductivity: conductivity_result, intensity: intensity_result, edgeEffect: edgeEffect_result, stiffness: stiffness_result, damping: damping_result} as ChainAnimationOptions) return value } - readNavigationCommonTitle(): NavigationCommonTitle { + public readColorStop(): ColorStop { let valueDeserializer: Deserializer = this - const main_buf_selector: number = valueDeserializer.readInt8() - let main_buf: string | Resource | undefined|undefined - if (main_buf_selector == 0) { - main_buf = (valueDeserializer.readString() as string) + const color_buf_selector: number = valueDeserializer.readInt8() + let color_buf: Color | number | string | Resource | undefined|undefined + if (color_buf_selector == 0) { + color_buf = valueDeserializer.readInt32() } - else if (main_buf_selector == 1) { - main_buf = valueDeserializer.readResource() + else if (color_buf_selector == 1) { + color_buf = (valueDeserializer.readNumber() as number) + } + else if (color_buf_selector == 2) { + color_buf = (valueDeserializer.readString() as string) + } + else if (color_buf_selector == 3) { + color_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for main_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf has to be chosen through deserialisation.") } - const main_result: string | Resource = (main_buf as string | Resource) - const sub_buf_selector: number = valueDeserializer.readInt8() - let sub_buf: string | Resource | undefined|undefined - if (sub_buf_selector == 0) { - sub_buf = (valueDeserializer.readString() as string) + const color_result: ResourceColor = (color_buf as Color | number | string | Resource) + const offset_buf_selector: number = valueDeserializer.readInt8() + let offset_buf: string | number | Resource | undefined|undefined + if (offset_buf_selector == 0) { + offset_buf = (valueDeserializer.readString() as string) } - else if (sub_buf_selector == 1) { - sub_buf = valueDeserializer.readResource() + else if (offset_buf_selector == 1) { + offset_buf = (valueDeserializer.readNumber() as number) + } + else if (offset_buf_selector == 2) { + offset_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for sub_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for offset_buf has to be chosen through deserialisation.") } - const sub_result: string | Resource = (sub_buf as string | Resource) - let value: NavigationCommonTitle = ({main: main_result, sub: sub_result} as NavigationCommonTitle) + const offset_result: Length = (offset_buf as string | number | Resource) + let value: ColorStop = ({color: color_result, offset: offset_result} as ColorStop) return value } - readNavigationCustomTitle(): NavigationCustomTitle { + public readColumnSplitDividerStyle(): ColumnSplitDividerStyle { let valueDeserializer: Deserializer = this - const builder_result: CustomBuilder = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) - const height_buf_selector: number = valueDeserializer.readInt8() - let height_buf: TitleHeight | Length | undefined|undefined - if (height_buf_selector == 0) { - height_buf = valueDeserializer.readInt32() - } - else if (height_buf_selector == 1) { - const height_buf_u_selector: number = valueDeserializer.readInt8() - let height_buf_u: string | number | Resource | undefined|undefined - if (height_buf_u_selector == 0) { - height_buf_u = (valueDeserializer.readString() as string) + const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startMargin_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) + { + const startMargin_buf__selector: number = valueDeserializer.readInt8() + let startMargin_buf_: string | number | Resource | undefined|undefined + if (startMargin_buf__selector == 0) { + startMargin_buf_ = (valueDeserializer.readString() as string) } - else if (height_buf_u_selector == 1) { - height_buf_u = (valueDeserializer.readNumber() as number) + else if (startMargin_buf__selector == 1) { + startMargin_buf_ = (valueDeserializer.readNumber() as number) } - else if (height_buf_u_selector == 2) { - height_buf_u = valueDeserializer.readResource() + else if (startMargin_buf__selector == 2) { + startMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for height_buf_u has to be chosen through deserialisation.") + throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_u as string | number | Resource) - } - else { - throw new Error("One of the branches for height_buf has to be chosen through deserialisation.") - } - const height_result: TitleHeight | Length = (height_buf as TitleHeight | Length) - let value: NavigationCustomTitle = ({builder: builder_result, height: height_result} as NavigationCustomTitle) - return value - } - readNavigationMenuItem(): NavigationMenuItem { - let valueDeserializer: Deserializer = this - const value_buf_selector: number = valueDeserializer.readInt8() - let value_buf: string | Resource | undefined|undefined - if (value_buf_selector == 0) { - value_buf = (valueDeserializer.readString() as string) - } - else if (value_buf_selector == 1) { - value_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + startMargin_buf = (startMargin_buf_ as string | number | Resource) } - const value_result: string | Resource = (value_buf as string | Resource) - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf: string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + const startMargin_result: Dimension | undefined|undefined = startMargin_buf + const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let endMargin_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) { - const icon_buf__selector: number = valueDeserializer.readInt8() - let icon_buf_: string | Resource | undefined|undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + const endMargin_buf__selector: number = valueDeserializer.readInt8() + let endMargin_buf_: string | number | Resource | undefined|undefined + if (endMargin_buf__selector == 0) { + endMargin_buf_ = (valueDeserializer.readString() as string) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (endMargin_buf__selector == 1) { + endMargin_buf_ = (valueDeserializer.readNumber() as number) + } + else if (endMargin_buf__selector == 2) { + endMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) - } - const icon_result: string | Resource | undefined|undefined = icon_buf - const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolIcon_buf: SymbolGlyphModifier | undefined|undefined - if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) - { - symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() - } - const symbolIcon_result: SymbolGlyphModifier | undefined|undefined = symbolIcon_buf - const isEnabled_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let isEnabled_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (isEnabled_buf_runtimeType)) - { - isEnabled_buf = valueDeserializer.readBoolean() - } - const isEnabled_result: boolean | undefined|undefined = isEnabled_buf - const action_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let action_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (action_buf_runtimeType)) - { - action_buf = valueDeserializer.readCallback_Void() + endMargin_buf = (endMargin_buf_ as string | number | Resource) } - const action_result: (() => void) | undefined|undefined = action_buf - let value: NavigationMenuItem = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, isEnabled: isEnabled_result, action: action_result} as NavigationMenuItem) + const endMargin_result: Dimension | undefined|undefined = endMargin_buf + let value: ColumnSplitDividerStyle = ({startMargin: startMargin_result, endMargin: endMargin_result} as ColumnSplitDividerStyle) return value } - readNavigationTitleOptions(): NavigationTitleOptions { + public readConstraintSizeOptions(): ConstraintSizeOptions { let valueDeserializer: Deserializer = this - const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) + const minWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let minWidth_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (minWidth_buf_runtimeType)) { - const backgroundColor_buf__selector: number = valueDeserializer.readInt8() - let backgroundColor_buf_: Color | number | string | Resource | undefined|undefined - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_ = valueDeserializer.readInt32() - } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_ = (valueDeserializer.readNumber() as number) + const minWidth_buf__selector: number = valueDeserializer.readInt8() + let minWidth_buf_: string | number | Resource | undefined|undefined + if (minWidth_buf__selector == 0) { + minWidth_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_ = (valueDeserializer.readString() as string) + else if (minWidth_buf__selector == 1) { + minWidth_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_ = valueDeserializer.readResource() + else if (minWidth_buf__selector == 2) { + minWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for minWidth_buf_ has to be chosen through deserialisation.") } - backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) - } - const backgroundColor_result: ResourceColor | undefined|undefined = backgroundColor_buf - const backgroundBlurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundBlurStyle_buf: BlurStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) - { - backgroundBlurStyle_buf = valueDeserializer.readInt32() - } - const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf - const barStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let barStyle_buf: BarStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (barStyle_buf_runtimeType)) - { - barStyle_buf = valueDeserializer.readInt32() - } - const barStyle_result: BarStyle | undefined|undefined = barStyle_buf - const paddingStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let paddingStart_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (paddingStart_buf_runtimeType)) - { - paddingStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const paddingStart_result: LengthMetrics | undefined|undefined = paddingStart_buf - const paddingEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let paddingEnd_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (paddingEnd_buf_runtimeType)) - { - paddingEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const paddingEnd_result: LengthMetrics | undefined|undefined = paddingEnd_buf - const mainTitleModifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let mainTitleModifier_buf: TextModifier | undefined|undefined - if ((RuntimeType.UNDEFINED) != (mainTitleModifier_buf_runtimeType)) - { - mainTitleModifier_buf = valueDeserializer.readTextModifier() - } - const mainTitleModifier_result: TextModifier | undefined|undefined = mainTitleModifier_buf - const subTitleModifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let subTitleModifier_buf: TextModifier | undefined|undefined - if ((RuntimeType.UNDEFINED) != (subTitleModifier_buf_runtimeType)) - { - subTitleModifier_buf = valueDeserializer.readTextModifier() + minWidth_buf = (minWidth_buf_ as string | number | Resource) } - const subTitleModifier_result: TextModifier | undefined|undefined = subTitleModifier_buf - const enableHoverMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableHoverMode_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (enableHoverMode_buf_runtimeType)) + const minWidth_result: Length | undefined|undefined = minWidth_buf + const maxWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxWidth_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (maxWidth_buf_runtimeType)) { - enableHoverMode_buf = valueDeserializer.readBoolean() + const maxWidth_buf__selector: number = valueDeserializer.readInt8() + let maxWidth_buf_: string | number | Resource | undefined|undefined + if (maxWidth_buf__selector == 0) { + maxWidth_buf_ = (valueDeserializer.readString() as string) + } + else if (maxWidth_buf__selector == 1) { + maxWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (maxWidth_buf__selector == 2) { + maxWidth_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for maxWidth_buf_ has to be chosen through deserialisation.") + } + maxWidth_buf = (maxWidth_buf_ as string | number | Resource) } - const enableHoverMode_result: boolean | undefined|undefined = enableHoverMode_buf - let value: NavigationTitleOptions = ({backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, barStyle: barStyle_result, paddingStart: paddingStart_result, paddingEnd: paddingEnd_result, mainTitleModifier: mainTitleModifier_result, subTitleModifier: subTitleModifier_result, enableHoverMode: enableHoverMode_result} as NavigationTitleOptions) - return value - } - readNavigationToolbarOptions(): NavigationToolbarOptions { - let valueDeserializer: Deserializer = this - const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) + const maxWidth_result: Length | undefined|undefined = maxWidth_buf + const minHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let minHeight_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (minHeight_buf_runtimeType)) { - const backgroundColor_buf__selector: number = valueDeserializer.readInt8() - let backgroundColor_buf_: Color | number | string | Resource | undefined|undefined - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_ = valueDeserializer.readInt32() - } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_ = (valueDeserializer.readNumber() as number) + const minHeight_buf__selector: number = valueDeserializer.readInt8() + let minHeight_buf_: string | number | Resource | undefined|undefined + if (minHeight_buf__selector == 0) { + minHeight_buf_ = (valueDeserializer.readString() as string) } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_ = (valueDeserializer.readString() as string) + else if (minHeight_buf__selector == 1) { + minHeight_buf_ = (valueDeserializer.readNumber() as number) } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_ = valueDeserializer.readResource() + else if (minHeight_buf__selector == 2) { + minHeight_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for minHeight_buf_ has to be chosen through deserialisation.") } - backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) + minHeight_buf = (minHeight_buf_ as string | number | Resource) } - const backgroundColor_result: ResourceColor | undefined|undefined = backgroundColor_buf - const backgroundBlurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundBlurStyle_buf: BlurStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + const minHeight_result: Length | undefined|undefined = minHeight_buf + const maxHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxHeight_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (maxHeight_buf_runtimeType)) { - backgroundBlurStyle_buf = valueDeserializer.readInt32() + const maxHeight_buf__selector: number = valueDeserializer.readInt8() + let maxHeight_buf_: string | number | Resource | undefined|undefined + if (maxHeight_buf__selector == 0) { + maxHeight_buf_ = (valueDeserializer.readString() as string) + } + else if (maxHeight_buf__selector == 1) { + maxHeight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (maxHeight_buf__selector == 2) { + maxHeight_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for maxHeight_buf_ has to be chosen through deserialisation.") + } + maxHeight_buf = (maxHeight_buf_ as string | number | Resource) } - const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf - const barStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let barStyle_buf: BarStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (barStyle_buf_runtimeType)) + const maxHeight_result: Length | undefined|undefined = maxHeight_buf + let value: ConstraintSizeOptions = ({minWidth: minWidth_result, maxWidth: maxWidth_result, minHeight: minHeight_result, maxHeight: maxHeight_result} as ConstraintSizeOptions) + return value + } + public readCustomTheme(): CustomTheme { + let valueDeserializer: Deserializer = this + const colors_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colors_buf: CustomColors | undefined|undefined + if ((RuntimeType.UNDEFINED) != (colors_buf_runtimeType)) { - barStyle_buf = valueDeserializer.readInt32() + colors_buf = valueDeserializer.readCustomColors() } - const barStyle_result: BarStyle | undefined|undefined = barStyle_buf - let value: NavigationToolbarOptions = ({backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, barStyle: barStyle_result} as NavigationToolbarOptions) + const colors_result: CustomColors | undefined|undefined = colors_buf + let value: CustomTheme = ({colors: colors_result} as CustomTheme) return value } - readNonCurrentDayStyle(): NonCurrentDayStyle { + public readDividerOptions(): DividerOptions { let valueDeserializer: Deserializer = this - const nonCurrentMonthDayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let nonCurrentMonthDayColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (nonCurrentMonthDayColor_buf_runtimeType)) + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) { - const nonCurrentMonthDayColor_buf__selector: number = valueDeserializer.readInt8() - let nonCurrentMonthDayColor_buf_: Color | number | string | Resource | undefined|undefined - if (nonCurrentMonthDayColor_buf__selector == 0) { - nonCurrentMonthDayColor_buf_ = valueDeserializer.readInt32() - } - else if (nonCurrentMonthDayColor_buf__selector == 1) { - nonCurrentMonthDayColor_buf_ = (valueDeserializer.readNumber() as number) + const strokeWidth_buf__selector: number = valueDeserializer.readInt8() + let strokeWidth_buf_: string | number | Resource | undefined|undefined + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_ = (valueDeserializer.readString() as string) } - else if (nonCurrentMonthDayColor_buf__selector == 2) { - nonCurrentMonthDayColor_buf_ = (valueDeserializer.readString() as string) + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_ = (valueDeserializer.readNumber() as number) } - else if (nonCurrentMonthDayColor_buf__selector == 3) { - nonCurrentMonthDayColor_buf_ = valueDeserializer.readResource() + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for nonCurrentMonthDayColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") } - nonCurrentMonthDayColor_buf = (nonCurrentMonthDayColor_buf_ as Color | number | string | Resource) + strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) } - const nonCurrentMonthDayColor_result: ResourceColor | undefined|undefined = nonCurrentMonthDayColor_buf - const nonCurrentMonthLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let nonCurrentMonthLunarColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (nonCurrentMonthLunarColor_buf_runtimeType)) + const strokeWidth_result: Dimension | undefined|undefined = strokeWidth_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - const nonCurrentMonthLunarColor_buf__selector: number = valueDeserializer.readInt8() - let nonCurrentMonthLunarColor_buf_: Color | number | string | Resource | undefined|undefined - if (nonCurrentMonthLunarColor_buf__selector == 0) { - nonCurrentMonthLunarColor_buf_ = valueDeserializer.readInt32() + const color_buf__selector: number = valueDeserializer.readInt8() + let color_buf_: Color | number | string | Resource | undefined|undefined + if (color_buf__selector == 0) { + color_buf_ = valueDeserializer.readInt32() } - else if (nonCurrentMonthLunarColor_buf__selector == 1) { - nonCurrentMonthLunarColor_buf_ = (valueDeserializer.readNumber() as number) + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) } - else if (nonCurrentMonthLunarColor_buf__selector == 2) { - nonCurrentMonthLunarColor_buf_ = (valueDeserializer.readString() as string) + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) } - else if (nonCurrentMonthLunarColor_buf__selector == 3) { - nonCurrentMonthLunarColor_buf_ = valueDeserializer.readResource() + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for nonCurrentMonthLunarColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - nonCurrentMonthLunarColor_buf = (nonCurrentMonthLunarColor_buf_ as Color | number | string | Resource) + color_buf = (color_buf_ as Color | number | string | Resource) } - const nonCurrentMonthLunarColor_result: ResourceColor | undefined|undefined = nonCurrentMonthLunarColor_buf - const nonCurrentMonthWorkDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let nonCurrentMonthWorkDayMarkColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (nonCurrentMonthWorkDayMarkColor_buf_runtimeType)) + const color_result: ResourceColor | undefined|undefined = color_buf + const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startMargin_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) { - const nonCurrentMonthWorkDayMarkColor_buf__selector: number = valueDeserializer.readInt8() - let nonCurrentMonthWorkDayMarkColor_buf_: Color | number | string | Resource | undefined|undefined - if (nonCurrentMonthWorkDayMarkColor_buf__selector == 0) { - nonCurrentMonthWorkDayMarkColor_buf_ = valueDeserializer.readInt32() - } - else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 1) { - nonCurrentMonthWorkDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) + const startMargin_buf__selector: number = valueDeserializer.readInt8() + let startMargin_buf_: string | number | Resource | undefined|undefined + if (startMargin_buf__selector == 0) { + startMargin_buf_ = (valueDeserializer.readString() as string) } - else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 2) { - nonCurrentMonthWorkDayMarkColor_buf_ = (valueDeserializer.readString() as string) + else if (startMargin_buf__selector == 1) { + startMargin_buf_ = (valueDeserializer.readNumber() as number) } - else if (nonCurrentMonthWorkDayMarkColor_buf__selector == 3) { - nonCurrentMonthWorkDayMarkColor_buf_ = valueDeserializer.readResource() + else if (startMargin_buf__selector == 2) { + startMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for nonCurrentMonthWorkDayMarkColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") } - nonCurrentMonthWorkDayMarkColor_buf = (nonCurrentMonthWorkDayMarkColor_buf_ as Color | number | string | Resource) + startMargin_buf = (startMargin_buf_ as string | number | Resource) } - const nonCurrentMonthWorkDayMarkColor_result: ResourceColor | undefined|undefined = nonCurrentMonthWorkDayMarkColor_buf - const nonCurrentMonthOffDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let nonCurrentMonthOffDayMarkColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (nonCurrentMonthOffDayMarkColor_buf_runtimeType)) + const startMargin_result: Dimension | undefined|undefined = startMargin_buf + const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let endMargin_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) { - const nonCurrentMonthOffDayMarkColor_buf__selector: number = valueDeserializer.readInt8() - let nonCurrentMonthOffDayMarkColor_buf_: Color | number | string | Resource | undefined|undefined - if (nonCurrentMonthOffDayMarkColor_buf__selector == 0) { - nonCurrentMonthOffDayMarkColor_buf_ = valueDeserializer.readInt32() - } - else if (nonCurrentMonthOffDayMarkColor_buf__selector == 1) { - nonCurrentMonthOffDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) + const endMargin_buf__selector: number = valueDeserializer.readInt8() + let endMargin_buf_: string | number | Resource | undefined|undefined + if (endMargin_buf__selector == 0) { + endMargin_buf_ = (valueDeserializer.readString() as string) } - else if (nonCurrentMonthOffDayMarkColor_buf__selector == 2) { - nonCurrentMonthOffDayMarkColor_buf_ = (valueDeserializer.readString() as string) + else if (endMargin_buf__selector == 1) { + endMargin_buf_ = (valueDeserializer.readNumber() as number) } - else if (nonCurrentMonthOffDayMarkColor_buf__selector == 3) { - nonCurrentMonthOffDayMarkColor_buf_ = valueDeserializer.readResource() + else if (endMargin_buf__selector == 2) { + endMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for nonCurrentMonthOffDayMarkColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") } - nonCurrentMonthOffDayMarkColor_buf = (nonCurrentMonthOffDayMarkColor_buf_ as Color | number | string | Resource) + endMargin_buf = (endMargin_buf_ as string | number | Resource) } - const nonCurrentMonthOffDayMarkColor_result: ResourceColor | undefined|undefined = nonCurrentMonthOffDayMarkColor_buf - let value: NonCurrentDayStyle = ({nonCurrentMonthDayColor: nonCurrentMonthDayColor_result, nonCurrentMonthLunarColor: nonCurrentMonthLunarColor_result, nonCurrentMonthWorkDayMarkColor: nonCurrentMonthWorkDayMarkColor_result, nonCurrentMonthOffDayMarkColor: nonCurrentMonthOffDayMarkColor_result} as NonCurrentDayStyle) + const endMargin_result: Dimension | undefined|undefined = endMargin_buf + let value: DividerOptions = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as DividerOptions) return value } - readOffsetOptions(): OffsetOptions { + public readDividerStyle(): DividerStyle { let valueDeserializer: Deserializer = this - const xOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let xOffset_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (xOffset_buf_runtimeType)) - { - const xOffset_buf__selector: number = valueDeserializer.readInt8() - let xOffset_buf_: string | number | Resource | undefined|undefined - if (xOffset_buf__selector == 0) { - xOffset_buf_ = (valueDeserializer.readString() as string) - } - else if (xOffset_buf__selector == 1) { - xOffset_buf_ = (valueDeserializer.readNumber() as number) - } - else if (xOffset_buf__selector == 2) { - xOffset_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for xOffset_buf_ has to be chosen through deserialisation.") - } - xOffset_buf = (xOffset_buf_ as string | number | Resource) + const strokeWidth_buf_selector: number = valueDeserializer.readInt8() + let strokeWidth_buf: string | number | Resource | undefined|undefined + if (strokeWidth_buf_selector == 0) { + strokeWidth_buf = (valueDeserializer.readString() as string) } - const xOffset_result: Dimension | undefined|undefined = xOffset_buf - const yOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let yOffset_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (yOffset_buf_runtimeType)) + else if (strokeWidth_buf_selector == 1) { + strokeWidth_buf = (valueDeserializer.readNumber() as number) + } + else if (strokeWidth_buf_selector == 2) { + strokeWidth_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for strokeWidth_buf has to be chosen through deserialisation.") + } + const strokeWidth_result: Length = (strokeWidth_buf as string | number | Resource) + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - const yOffset_buf__selector: number = valueDeserializer.readInt8() - let yOffset_buf_: string | number | Resource | undefined|undefined - if (yOffset_buf__selector == 0) { - yOffset_buf_ = (valueDeserializer.readString() as string) + const color_buf__selector: number = valueDeserializer.readInt8() + let color_buf_: Color | number | string | Resource | undefined|undefined + if (color_buf__selector == 0) { + color_buf_ = valueDeserializer.readInt32() } - else if (yOffset_buf__selector == 1) { - yOffset_buf_ = (valueDeserializer.readNumber() as number) + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) } - else if (yOffset_buf__selector == 2) { - yOffset_buf_ = valueDeserializer.readResource() + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for yOffset_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - yOffset_buf = (yOffset_buf_ as string | number | Resource) - } - const yOffset_result: Dimension | undefined|undefined = yOffset_buf - let value: OffsetOptions = ({xOffset: xOffset_result, yOffset: yOffset_result} as OffsetOptions) - return value - } - readOverlayOptions(): OverlayOptions { - let valueDeserializer: Deserializer = this - const align_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let align_buf: Alignment | undefined|undefined - if ((RuntimeType.UNDEFINED) != (align_buf_runtimeType)) - { - align_buf = valueDeserializer.readInt32() - } - const align_result: Alignment | undefined|undefined = align_buf - const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offset_buf: OverlayOffset | undefined|undefined - if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) - { - offset_buf = valueDeserializer.readOverlayOffset() + color_buf = (color_buf_ as Color | number | string | Resource) } - const offset_result: OverlayOffset | undefined|undefined = offset_buf - let value: OverlayOptions = ({align: align_result, offset: offset_result} as OverlayOptions) - return value - } - readPasswordIcon(): PasswordIcon { - let valueDeserializer: Deserializer = this - const onIconSrc_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onIconSrc_buf: string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onIconSrc_buf_runtimeType)) + const color_result: ResourceColor | undefined|undefined = color_buf + const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startMargin_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) { - const onIconSrc_buf__selector: number = valueDeserializer.readInt8() - let onIconSrc_buf_: string | Resource | undefined|undefined - if (onIconSrc_buf__selector == 0) { - onIconSrc_buf_ = (valueDeserializer.readString() as string) + const startMargin_buf__selector: number = valueDeserializer.readInt8() + let startMargin_buf_: string | number | Resource | undefined|undefined + if (startMargin_buf__selector == 0) { + startMargin_buf_ = (valueDeserializer.readString() as string) } - else if (onIconSrc_buf__selector == 1) { - onIconSrc_buf_ = valueDeserializer.readResource() + else if (startMargin_buf__selector == 1) { + startMargin_buf_ = (valueDeserializer.readNumber() as number) + } + else if (startMargin_buf__selector == 2) { + startMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for onIconSrc_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") } - onIconSrc_buf = (onIconSrc_buf_ as string | Resource) + startMargin_buf = (startMargin_buf_ as string | number | Resource) } - const onIconSrc_result: string | Resource | undefined|undefined = onIconSrc_buf - const offIconSrc_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offIconSrc_buf: string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (offIconSrc_buf_runtimeType)) + const startMargin_result: Length | undefined|undefined = startMargin_buf + const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let endMargin_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) { - const offIconSrc_buf__selector: number = valueDeserializer.readInt8() - let offIconSrc_buf_: string | Resource | undefined|undefined - if (offIconSrc_buf__selector == 0) { - offIconSrc_buf_ = (valueDeserializer.readString() as string) + const endMargin_buf__selector: number = valueDeserializer.readInt8() + let endMargin_buf_: string | number | Resource | undefined|undefined + if (endMargin_buf__selector == 0) { + endMargin_buf_ = (valueDeserializer.readString() as string) } - else if (offIconSrc_buf__selector == 1) { - offIconSrc_buf_ = valueDeserializer.readResource() + else if (endMargin_buf__selector == 1) { + endMargin_buf_ = (valueDeserializer.readNumber() as number) + } + else if (endMargin_buf__selector == 2) { + endMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offIconSrc_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") } - offIconSrc_buf = (offIconSrc_buf_ as string | Resource) + endMargin_buf = (endMargin_buf_ as string | number | Resource) } - const offIconSrc_result: string | Resource | undefined|undefined = offIconSrc_buf - let value: PasswordIcon = ({onIconSrc: onIconSrc_result, offIconSrc: offIconSrc_result} as PasswordIcon) + const endMargin_result: Length | undefined|undefined = endMargin_buf + let value: DividerStyle = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as DividerStyle) return value } - readPixelStretchEffectOptions(): PixelStretchEffectOptions { + public readDotIndicator(): DotIndicator { + throw new Error("Can not deserialize builder class") + } + public readEdgeOutlineWidths(): EdgeOutlineWidths { let valueDeserializer: Deserializer = this const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf: Length | undefined|undefined + let top_buf: Dimension | undefined|undefined if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { const top_buf__selector: number = valueDeserializer.readInt8() @@ -16544,9 +19345,30 @@ export class Deserializer extends DeserializerBase { } top_buf = (top_buf_ as string | number | Resource) } - const top_result: Length | undefined|undefined = top_buf + const top_result: Dimension | undefined|undefined = top_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) + { + const right_buf__selector: number = valueDeserializer.readInt8() + let right_buf_: string | number | Resource | undefined|undefined + if (right_buf__selector == 0) { + right_buf_ = (valueDeserializer.readString() as string) + } + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) + } + else if (right_buf__selector == 2) { + right_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") + } + right_buf = (right_buf_ as string | number | Resource) + } + const right_result: Dimension | undefined|undefined = right_buf const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bottom_buf: Length | undefined|undefined + let bottom_buf: Dimension | undefined|undefined if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { const bottom_buf__selector: number = valueDeserializer.readInt8() @@ -16565,9 +19387,9 @@ export class Deserializer extends DeserializerBase { } bottom_buf = (bottom_buf_ as string | number | Resource) } - const bottom_result: Length | undefined|undefined = bottom_buf + const bottom_result: Dimension | undefined|undefined = bottom_buf const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let left_buf: Length | undefined|undefined + let left_buf: Dimension | undefined|undefined if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { const left_buf__selector: number = valueDeserializer.readInt8() @@ -16586,2717 +19408,2697 @@ export class Deserializer extends DeserializerBase { } left_buf = (left_buf_ as string | number | Resource) } - const left_result: Length | undefined|undefined = left_buf - const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) - { - const right_buf__selector: number = valueDeserializer.readInt8() - let right_buf_: string | number | Resource | undefined|undefined - if (right_buf__selector == 0) { - right_buf_ = (valueDeserializer.readString() as string) - } - else if (right_buf__selector == 1) { - right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (right_buf__selector == 2) { - right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") - } - right_buf = (right_buf_ as string | number | Resource) - } - const right_result: Length | undefined|undefined = right_buf - let value: PixelStretchEffectOptions = ({top: top_result, bottom: bottom_result, left: left_result, right: right_result} as PixelStretchEffectOptions) - return value - } - readPluginComponentOptions(): PluginComponentOptions { - let valueDeserializer: Deserializer = this - const template_result: PluginComponentTemplate = valueDeserializer.readPluginComponentTemplate() - const data_result: string = (valueDeserializer.readString() as string) - let value: PluginComponentOptions = ({template: template_result, data: data_result} as PluginComponentOptions) + const left_result: Dimension | undefined|undefined = left_buf + let value: EdgeOutlineWidths = ({top: top_result, right: right_result, bottom: bottom_result, left: left_result} as EdgeOutlineWidths) return value } - readPosition(): Position { + public readEdges(): Edges { let valueDeserializer: Deserializer = this - const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let x_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (x_buf_runtimeType)) + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - const x_buf__selector: number = valueDeserializer.readInt8() - let x_buf_: string | number | Resource | undefined|undefined - if (x_buf__selector == 0) { - x_buf_ = (valueDeserializer.readString() as string) + const top_buf__selector: number = valueDeserializer.readInt8() + let top_buf_: string | number | Resource | undefined|undefined + if (top_buf__selector == 0) { + top_buf_ = (valueDeserializer.readString() as string) } - else if (x_buf__selector == 1) { - x_buf_ = (valueDeserializer.readNumber() as number) + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) } - else if (x_buf__selector == 2) { - x_buf_ = valueDeserializer.readResource() + else if (top_buf__selector == 2) { + top_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for x_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") } - x_buf = (x_buf_ as string | number | Resource) + top_buf = (top_buf_ as string | number | Resource) } - const x_result: Length | undefined|undefined = x_buf - const y_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let y_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (y_buf_runtimeType)) + const top_result: Dimension | undefined|undefined = top_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { - const y_buf__selector: number = valueDeserializer.readInt8() - let y_buf_: string | number | Resource | undefined|undefined - if (y_buf__selector == 0) { - y_buf_ = (valueDeserializer.readString() as string) + const left_buf__selector: number = valueDeserializer.readInt8() + let left_buf_: string | number | Resource | undefined|undefined + if (left_buf__selector == 0) { + left_buf_ = (valueDeserializer.readString() as string) } - else if (y_buf__selector == 1) { - y_buf_ = (valueDeserializer.readNumber() as number) + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readNumber() as number) } - else if (y_buf__selector == 2) { - y_buf_ = valueDeserializer.readResource() + else if (left_buf__selector == 2) { + left_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for y_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") } - y_buf = (y_buf_ as string | number | Resource) - } - const y_result: Length | undefined|undefined = y_buf - let value: Position = ({x: x_result, y: y_result} as Position) - return value - } - readProgressStyleOptions(): ProgressStyleOptions { - let valueDeserializer: Deserializer = this - const enableSmoothEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableSmoothEffect_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (enableSmoothEffect_buf_runtimeType)) - { - enableSmoothEffect_buf = valueDeserializer.readBoolean() + left_buf = (left_buf_ as string | number | Resource) } - const enableSmoothEffect_result: boolean | undefined|undefined = enableSmoothEffect_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + const left_result: Dimension | undefined|undefined = left_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - const strokeWidth_buf__selector: number = valueDeserializer.readInt8() - let strokeWidth_buf_: string | number | Resource | undefined|undefined - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_ = (valueDeserializer.readString() as string) + const bottom_buf__selector: number = valueDeserializer.readInt8() + let bottom_buf_: string | number | Resource | undefined|undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = (valueDeserializer.readString() as string) } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_ = valueDeserializer.readResource() + else if (bottom_buf__selector == 2) { + bottom_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") } - strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) - } - const strokeWidth_result: Length | undefined|undefined = strokeWidth_buf - const scaleCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scaleCount_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scaleCount_buf_runtimeType)) - { - scaleCount_buf = (valueDeserializer.readNumber() as number) + bottom_buf = (bottom_buf_ as string | number | Resource) } - const scaleCount_result: number | undefined|undefined = scaleCount_buf - const scaleWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scaleWidth_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scaleWidth_buf_runtimeType)) + const bottom_result: Dimension | undefined|undefined = bottom_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) { - const scaleWidth_buf__selector: number = valueDeserializer.readInt8() - let scaleWidth_buf_: string | number | Resource | undefined|undefined - if (scaleWidth_buf__selector == 0) { - scaleWidth_buf_ = (valueDeserializer.readString() as string) + const right_buf__selector: number = valueDeserializer.readInt8() + let right_buf_: string | number | Resource | undefined|undefined + if (right_buf__selector == 0) { + right_buf_ = (valueDeserializer.readString() as string) } - else if (scaleWidth_buf__selector == 1) { - scaleWidth_buf_ = (valueDeserializer.readNumber() as number) + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) } - else if (scaleWidth_buf__selector == 2) { - scaleWidth_buf_ = valueDeserializer.readResource() + else if (right_buf__selector == 2) { + right_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for scaleWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") } - scaleWidth_buf = (scaleWidth_buf_ as string | number | Resource) + right_buf = (right_buf_ as string | number | Resource) } - const scaleWidth_result: Length | undefined|undefined = scaleWidth_buf - let value: ProgressStyleOptions = ({enableSmoothEffect: enableSmoothEffect_result, strokeWidth: strokeWidth_result, scaleCount: scaleCount_result, scaleWidth: scaleWidth_result} as ProgressStyleOptions) + const right_result: Dimension | undefined|undefined = right_buf + let value: Edges = ({top: top_result, left: left_result, bottom: bottom_result, right: right_result} as Edges) return value } - readRadioStyle(): RadioStyle { + public readEdgeWidths(): EdgeWidths { let valueDeserializer: Deserializer = this - const checkedBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let checkedBackgroundColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (checkedBackgroundColor_buf_runtimeType)) + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - const checkedBackgroundColor_buf__selector: number = valueDeserializer.readInt8() - let checkedBackgroundColor_buf_: Color | number | string | Resource | undefined|undefined - if (checkedBackgroundColor_buf__selector == 0) { - checkedBackgroundColor_buf_ = valueDeserializer.readInt32() - } - else if (checkedBackgroundColor_buf__selector == 1) { - checkedBackgroundColor_buf_ = (valueDeserializer.readNumber() as number) + const top_buf__selector: number = valueDeserializer.readInt8() + let top_buf_: string | number | Resource | undefined|undefined + if (top_buf__selector == 0) { + top_buf_ = (valueDeserializer.readString() as string) } - else if (checkedBackgroundColor_buf__selector == 2) { - checkedBackgroundColor_buf_ = (valueDeserializer.readString() as string) + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) } - else if (checkedBackgroundColor_buf__selector == 3) { - checkedBackgroundColor_buf_ = valueDeserializer.readResource() + else if (top_buf__selector == 2) { + top_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for checkedBackgroundColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") } - checkedBackgroundColor_buf = (checkedBackgroundColor_buf_ as Color | number | string | Resource) + top_buf = (top_buf_ as string | number | Resource) } - const checkedBackgroundColor_result: ResourceColor | undefined|undefined = checkedBackgroundColor_buf - const uncheckedBorderColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let uncheckedBorderColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (uncheckedBorderColor_buf_runtimeType)) + const top_result: Length | undefined|undefined = top_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) { - const uncheckedBorderColor_buf__selector: number = valueDeserializer.readInt8() - let uncheckedBorderColor_buf_: Color | number | string | Resource | undefined|undefined - if (uncheckedBorderColor_buf__selector == 0) { - uncheckedBorderColor_buf_ = valueDeserializer.readInt32() - } - else if (uncheckedBorderColor_buf__selector == 1) { - uncheckedBorderColor_buf_ = (valueDeserializer.readNumber() as number) + const right_buf__selector: number = valueDeserializer.readInt8() + let right_buf_: string | number | Resource | undefined|undefined + if (right_buf__selector == 0) { + right_buf_ = (valueDeserializer.readString() as string) } - else if (uncheckedBorderColor_buf__selector == 2) { - uncheckedBorderColor_buf_ = (valueDeserializer.readString() as string) + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) } - else if (uncheckedBorderColor_buf__selector == 3) { - uncheckedBorderColor_buf_ = valueDeserializer.readResource() + else if (right_buf__selector == 2) { + right_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for uncheckedBorderColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") } - uncheckedBorderColor_buf = (uncheckedBorderColor_buf_ as Color | number | string | Resource) + right_buf = (right_buf_ as string | number | Resource) } - const uncheckedBorderColor_result: ResourceColor | undefined|undefined = uncheckedBorderColor_buf - const indicatorColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let indicatorColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (indicatorColor_buf_runtimeType)) + const right_result: Length | undefined|undefined = right_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - const indicatorColor_buf__selector: number = valueDeserializer.readInt8() - let indicatorColor_buf_: Color | number | string | Resource | undefined|undefined - if (indicatorColor_buf__selector == 0) { - indicatorColor_buf_ = valueDeserializer.readInt32() - } - else if (indicatorColor_buf__selector == 1) { - indicatorColor_buf_ = (valueDeserializer.readNumber() as number) + const bottom_buf__selector: number = valueDeserializer.readInt8() + let bottom_buf_: string | number | Resource | undefined|undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = (valueDeserializer.readString() as string) } - else if (indicatorColor_buf__selector == 2) { - indicatorColor_buf_ = (valueDeserializer.readString() as string) + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) } - else if (indicatorColor_buf__selector == 3) { - indicatorColor_buf_ = valueDeserializer.readResource() + else if (bottom_buf__selector == 2) { + bottom_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for indicatorColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") } - indicatorColor_buf = (indicatorColor_buf_ as Color | number | string | Resource) + bottom_buf = (bottom_buf_ as string | number | Resource) } - const indicatorColor_result: ResourceColor | undefined|undefined = indicatorColor_buf - let value: RadioStyle = ({checkedBackgroundColor: checkedBackgroundColor_result, uncheckedBorderColor: uncheckedBorderColor_result, indicatorColor: indicatorColor_result} as RadioStyle) - return value - } - readRectangle(): Rectangle { - let valueDeserializer: Deserializer = this - const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let x_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (x_buf_runtimeType)) + const bottom_result: Length | undefined|undefined = bottom_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { - const x_buf__selector: number = valueDeserializer.readInt8() - let x_buf_: string | number | Resource | undefined|undefined - if (x_buf__selector == 0) { - x_buf_ = (valueDeserializer.readString() as string) + const left_buf__selector: number = valueDeserializer.readInt8() + let left_buf_: string | number | Resource | undefined|undefined + if (left_buf__selector == 0) { + left_buf_ = (valueDeserializer.readString() as string) } - else if (x_buf__selector == 1) { - x_buf_ = (valueDeserializer.readNumber() as number) + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readNumber() as number) } - else if (x_buf__selector == 2) { - x_buf_ = valueDeserializer.readResource() + else if (left_buf__selector == 2) { + left_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for x_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") } - x_buf = (x_buf_ as string | number | Resource) + left_buf = (left_buf_ as string | number | Resource) } - const x_result: Length | undefined|undefined = x_buf - const y_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let y_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (y_buf_runtimeType)) + const left_result: Length | undefined|undefined = left_buf + let value: EdgeWidths = ({top: top_result, right: right_result, bottom: bottom_result, left: left_result} as EdgeWidths) + return value + } + public readEditableTextChangeValue(): EditableTextChangeValue { + let valueDeserializer: Deserializer = this + const content_result: string = (valueDeserializer.readString() as string) + const previewText_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let previewText_buf: PreviewText | undefined|undefined + if ((RuntimeType.UNDEFINED) != (previewText_buf_runtimeType)) { - const y_buf__selector: number = valueDeserializer.readInt8() - let y_buf_: string | number | Resource | undefined|undefined - if (y_buf__selector == 0) { - y_buf_ = (valueDeserializer.readString() as string) + previewText_buf = valueDeserializer.readPreviewText() + } + const previewText_result: PreviewText | undefined|undefined = previewText_buf + const options_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let options_buf: TextChangeOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (options_buf_runtimeType)) + { + options_buf = valueDeserializer.readTextChangeOptions() + } + const options_result: TextChangeOptions | undefined|undefined = options_buf + let value: EditableTextChangeValue = ({content: content_result, previewText: previewText_result, options: options_result} as EditableTextChangeValue) + return value + } + public readFlexOptions(): FlexOptions { + let valueDeserializer: Deserializer = this + const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let direction_buf: FlexDirection | undefined|undefined + if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf = valueDeserializer.readInt32() + } + const direction_result: FlexDirection | undefined|undefined = direction_buf + const wrap_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let wrap_buf: FlexWrap | undefined|undefined + if ((RuntimeType.UNDEFINED) != (wrap_buf_runtimeType)) + { + wrap_buf = valueDeserializer.readInt32() + } + const wrap_result: FlexWrap | undefined|undefined = wrap_buf + const justifyContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let justifyContent_buf: FlexAlign | undefined|undefined + if ((RuntimeType.UNDEFINED) != (justifyContent_buf_runtimeType)) + { + justifyContent_buf = valueDeserializer.readInt32() + } + const justifyContent_result: FlexAlign | undefined|undefined = justifyContent_buf + const alignItems_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let alignItems_buf: ItemAlign | undefined|undefined + if ((RuntimeType.UNDEFINED) != (alignItems_buf_runtimeType)) + { + alignItems_buf = valueDeserializer.readInt32() + } + const alignItems_result: ItemAlign | undefined|undefined = alignItems_buf + const alignContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let alignContent_buf: FlexAlign | undefined|undefined + if ((RuntimeType.UNDEFINED) != (alignContent_buf_runtimeType)) + { + alignContent_buf = valueDeserializer.readInt32() + } + const alignContent_result: FlexAlign | undefined|undefined = alignContent_buf + const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let space_buf: FlexSpaceOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) + { + space_buf = valueDeserializer.readFlexSpaceOptions() + } + const space_result: FlexSpaceOptions | undefined|undefined = space_buf + let value: FlexOptions = ({direction: direction_result, wrap: wrap_result, justifyContent: justifyContent_result, alignItems: alignItems_result, alignContent: alignContent_result, space: space_result} as FlexOptions) + return value + } + public readFont(): Font { + let valueDeserializer: Deserializer = this + const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let size_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) + { + const size_buf__selector: number = valueDeserializer.readInt8() + let size_buf_: string | number | Resource | undefined|undefined + if (size_buf__selector == 0) { + size_buf_ = (valueDeserializer.readString() as string) } - else if (y_buf__selector == 1) { - y_buf_ = (valueDeserializer.readNumber() as number) + else if (size_buf__selector == 1) { + size_buf_ = (valueDeserializer.readNumber() as number) } - else if (y_buf__selector == 2) { - y_buf_ = valueDeserializer.readResource() + else if (size_buf__selector == 2) { + size_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for y_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") } - y_buf = (y_buf_ as string | number | Resource) + size_buf = (size_buf_ as string | number | Resource) } - const y_result: Length | undefined|undefined = y_buf - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const size_result: Length | undefined|undefined = size_buf + const weight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let weight_buf: FontWeight | number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (weight_buf_runtimeType)) { - const width_buf__selector: number = valueDeserializer.readInt8() - let width_buf_: string | number | Resource | undefined|undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readNumber() as number) + const weight_buf__selector: number = valueDeserializer.readInt8() + let weight_buf_: FontWeight | number | string | undefined|undefined + if (weight_buf__selector == 0) { + weight_buf_ = valueDeserializer.readInt32() } - else if (width_buf__selector == 2) { - width_buf_ = valueDeserializer.readResource() + else if (weight_buf__selector == 1) { + weight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (weight_buf__selector == 2) { + weight_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for weight_buf_ has to be chosen through deserialisation.") } - width_buf = (width_buf_ as string | number | Resource) + weight_buf = (weight_buf_ as FontWeight | number | string) } - const width_result: Length | undefined|undefined = width_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + const weight_result: FontWeight | number | string | undefined|undefined = weight_buf + const family_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let family_buf: string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (family_buf_runtimeType)) { - const height_buf__selector: number = valueDeserializer.readInt8() - let height_buf_: string | number | Resource | undefined|undefined - if (height_buf__selector == 0) { - height_buf_ = (valueDeserializer.readString() as string) - } - else if (height_buf__selector == 1) { - height_buf_ = (valueDeserializer.readNumber() as number) + const family_buf__selector: number = valueDeserializer.readInt8() + let family_buf_: string | Resource | undefined|undefined + if (family_buf__selector == 0) { + family_buf_ = (valueDeserializer.readString() as string) } - else if (height_buf__selector == 2) { - height_buf_ = valueDeserializer.readResource() + else if (family_buf__selector == 1) { + family_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for family_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_ as string | number | Resource) + family_buf = (family_buf_ as string | Resource) } - const height_result: Length | undefined|undefined = height_buf - let value: Rectangle = ({x: x_result, y: y_result, width: width_result, height: height_result} as Rectangle) + const family_result: string | Resource | undefined|undefined = family_buf + const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let style_buf: FontStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + { + style_buf = valueDeserializer.readInt32() + } + const style_result: FontStyle | undefined|undefined = style_buf + let value: Font = ({size: size_result, weight: weight_result, family: family_result, style: style_result} as Font) return value } - readRectOptions(): RectOptions { + public readGaugeIndicatorOptions(): GaugeIndicatorOptions { let valueDeserializer: Deserializer = this - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) - { - const width_buf__selector: number = valueDeserializer.readInt8() - let width_buf_: number | string | undefined|undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") - } - width_buf = (width_buf_ as number | string) - } - const width_result: number | string | undefined|undefined = width_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let icon_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) { - const height_buf__selector: number = valueDeserializer.readInt8() - let height_buf_: number | string | undefined|undefined - if (height_buf__selector == 0) { - height_buf_ = (valueDeserializer.readNumber() as number) + const icon_buf__selector: number = valueDeserializer.readInt8() + let icon_buf_: string | Resource | undefined|undefined + if (icon_buf__selector == 0) { + icon_buf_ = (valueDeserializer.readString() as string) } - else if (height_buf__selector == 1) { - height_buf_ = (valueDeserializer.readString() as string) + else if (icon_buf__selector == 1) { + icon_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_ as number | string) + icon_buf = (icon_buf_ as string | Resource) } - const height_result: number | string | undefined|undefined = height_buf - const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf: number | string | Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) + const icon_result: ResourceStr | undefined|undefined = icon_buf + const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let space_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) { - const radius_buf__selector: number = valueDeserializer.readInt8() - let radius_buf_: number | string | Array | undefined|undefined - if (radius_buf__selector == 0) { - radius_buf_ = (valueDeserializer.readNumber() as number) + const space_buf__selector: number = valueDeserializer.readInt8() + let space_buf_: string | number | Resource | undefined|undefined + if (space_buf__selector == 0) { + space_buf_ = (valueDeserializer.readString() as string) } - else if (radius_buf__selector == 1) { - radius_buf_ = (valueDeserializer.readString() as string) + else if (space_buf__selector == 1) { + space_buf_ = (valueDeserializer.readNumber() as number) } - else if (radius_buf__selector == 2) { - const radius_buf__u_length: int32 = valueDeserializer.readInt32() - let radius_buf__u: Array = new Array(radius_buf__u_length) - for (let radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { - const radius_buf__u_buf_selector: number = valueDeserializer.readInt8() - let radius_buf__u_buf: number | string | undefined|undefined - if (radius_buf__u_buf_selector == 0) { - radius_buf__u_buf = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_buf_selector == 1) { - radius_buf__u_buf = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for radius_buf__u_buf has to be chosen through deserialisation.") - } - radius_buf__u[radius_buf__u_i] = (radius_buf__u_buf as number | string) - } - radius_buf_ = radius_buf__u + else if (space_buf__selector == 2) { + space_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for space_buf_ has to be chosen through deserialisation.") } - radius_buf = (radius_buf_ as number | string | Array) + space_buf = (space_buf_ as string | number | Resource) } - const radius_result: number | string | Array | undefined|undefined = radius_buf - let value: RectOptions = ({width: width_result, height: height_result, radius: radius_result} as RectOptions) + const space_result: Dimension | undefined|undefined = space_buf + let value: GaugeIndicatorOptions = ({icon: icon_result, space: space_result} as GaugeIndicatorOptions) return value } - readRectShapeOptions(): RectShapeOptions { + public readGridRowSizeOption(): GridRowSizeOption { let valueDeserializer: Deserializer = this - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const xs_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let xs_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (xs_buf_runtimeType)) { - const width_buf__selector: number = valueDeserializer.readInt8() - let width_buf_: number | string | undefined|undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readNumber() as number) + const xs_buf__selector: number = valueDeserializer.readInt8() + let xs_buf_: string | number | Resource | undefined|undefined + if (xs_buf__selector == 0) { + xs_buf_ = (valueDeserializer.readString() as string) } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readString() as string) + else if (xs_buf__selector == 1) { + xs_buf_ = (valueDeserializer.readNumber() as number) + } + else if (xs_buf__selector == 2) { + xs_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for xs_buf_ has to be chosen through deserialisation.") } - width_buf = (width_buf_ as number | string) + xs_buf = (xs_buf_ as string | number | Resource) } - const width_result: number | string | undefined|undefined = width_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + const xs_result: Length | undefined|undefined = xs_buf + const sm_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let sm_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (sm_buf_runtimeType)) { - const height_buf__selector: number = valueDeserializer.readInt8() - let height_buf_: number | string | undefined|undefined - if (height_buf__selector == 0) { - height_buf_ = (valueDeserializer.readNumber() as number) + const sm_buf__selector: number = valueDeserializer.readInt8() + let sm_buf_: string | number | Resource | undefined|undefined + if (sm_buf__selector == 0) { + sm_buf_ = (valueDeserializer.readString() as string) } - else if (height_buf__selector == 1) { - height_buf_ = (valueDeserializer.readString() as string) + else if (sm_buf__selector == 1) { + sm_buf_ = (valueDeserializer.readNumber() as number) + } + else if (sm_buf__selector == 2) { + sm_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for sm_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_ as number | string) + sm_buf = (sm_buf_ as string | number | Resource) } - const height_result: number | string | undefined|undefined = height_buf - const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf: number | string | Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) + const sm_result: Length | undefined|undefined = sm_buf + const md_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let md_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (md_buf_runtimeType)) { - const radius_buf__selector: number = valueDeserializer.readInt8() - let radius_buf_: number | string | Array | undefined|undefined - if (radius_buf__selector == 0) { - radius_buf_ = (valueDeserializer.readNumber() as number) + const md_buf__selector: number = valueDeserializer.readInt8() + let md_buf_: string | number | Resource | undefined|undefined + if (md_buf__selector == 0) { + md_buf_ = (valueDeserializer.readString() as string) } - else if (radius_buf__selector == 1) { - radius_buf_ = (valueDeserializer.readString() as string) + else if (md_buf__selector == 1) { + md_buf_ = (valueDeserializer.readNumber() as number) } - else if (radius_buf__selector == 2) { - const radius_buf__u_length: int32 = valueDeserializer.readInt32() - let radius_buf__u: Array = new Array(radius_buf__u_length) - for (let radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { - const radius_buf__u_buf_selector: number = valueDeserializer.readInt8() - let radius_buf__u_buf: number | string | undefined|undefined - if (radius_buf__u_buf_selector == 0) { - radius_buf__u_buf = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_buf_selector == 1) { - radius_buf__u_buf = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for radius_buf__u_buf has to be chosen through deserialisation.") - } - radius_buf__u[radius_buf__u_i] = (radius_buf__u_buf as number | string) - } - radius_buf_ = radius_buf__u + else if (md_buf__selector == 2) { + md_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for md_buf_ has to be chosen through deserialisation.") } - radius_buf = (radius_buf_ as number | string | Array) + md_buf = (md_buf_ as string | number | Resource) } - const radius_result: number | string | Array | undefined|undefined = radius_buf - let value: RectShapeOptions = ({width: width_result, height: height_result, radius: radius_result} as RectShapeOptions) - return value - } - readRefreshOptions(): RefreshOptions { - let valueDeserializer: Deserializer = this - const refreshing_result: boolean = valueDeserializer.readBoolean() - const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offset_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) + const md_result: Length | undefined|undefined = md_buf + const lg_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lg_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lg_buf_runtimeType)) { - const offset_buf__selector: number = valueDeserializer.readInt8() - let offset_buf_: number | string | undefined|undefined - if (offset_buf__selector == 0) { - offset_buf_ = (valueDeserializer.readNumber() as number) + const lg_buf__selector: number = valueDeserializer.readInt8() + let lg_buf_: string | number | Resource | undefined|undefined + if (lg_buf__selector == 0) { + lg_buf_ = (valueDeserializer.readString() as string) + } + else if (lg_buf__selector == 1) { + lg_buf_ = (valueDeserializer.readNumber() as number) } - else if (offset_buf__selector == 1) { - offset_buf_ = (valueDeserializer.readString() as string) + else if (lg_buf__selector == 2) { + lg_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offset_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for lg_buf_ has to be chosen through deserialisation.") } - offset_buf = (offset_buf_ as number | string) + lg_buf = (lg_buf_ as string | number | Resource) } - const offset_result: number | string | undefined|undefined = offset_buf - const friction_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let friction_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (friction_buf_runtimeType)) + const lg_result: Length | undefined|undefined = lg_buf + const xl_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let xl_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (xl_buf_runtimeType)) { - const friction_buf__selector: number = valueDeserializer.readInt8() - let friction_buf_: number | string | undefined|undefined - if (friction_buf__selector == 0) { - friction_buf_ = (valueDeserializer.readNumber() as number) + const xl_buf__selector: number = valueDeserializer.readInt8() + let xl_buf_: string | number | Resource | undefined|undefined + if (xl_buf__selector == 0) { + xl_buf_ = (valueDeserializer.readString() as string) } - else if (friction_buf__selector == 1) { - friction_buf_ = (valueDeserializer.readString() as string) + else if (xl_buf__selector == 1) { + xl_buf_ = (valueDeserializer.readNumber() as number) + } + else if (xl_buf__selector == 2) { + xl_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for friction_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for xl_buf_ has to be chosen through deserialisation.") } - friction_buf = (friction_buf_ as number | string) + xl_buf = (xl_buf_ as string | number | Resource) } - const friction_result: number | string | undefined|undefined = friction_buf - const promptText_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let promptText_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (promptText_buf_runtimeType)) + const xl_result: Length | undefined|undefined = xl_buf + const xxl_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let xxl_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (xxl_buf_runtimeType)) { - const promptText_buf__selector: number = valueDeserializer.readInt8() - let promptText_buf_: string | Resource | undefined|undefined - if (promptText_buf__selector == 0) { - promptText_buf_ = (valueDeserializer.readString() as string) + const xxl_buf__selector: number = valueDeserializer.readInt8() + let xxl_buf_: string | number | Resource | undefined|undefined + if (xxl_buf__selector == 0) { + xxl_buf_ = (valueDeserializer.readString() as string) } - else if (promptText_buf__selector == 1) { - promptText_buf_ = valueDeserializer.readResource() + else if (xxl_buf__selector == 1) { + xxl_buf_ = (valueDeserializer.readNumber() as number) + } + else if (xxl_buf__selector == 2) { + xxl_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for promptText_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for xxl_buf_ has to be chosen through deserialisation.") } - promptText_buf = (promptText_buf_ as string | Resource) - } - const promptText_result: ResourceStr | undefined|undefined = promptText_buf - const builder_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let builder_buf: CustomBuilder | undefined|undefined - if ((RuntimeType.UNDEFINED) != (builder_buf_runtimeType)) - { - builder_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) - } - const builder_result: CustomBuilder | undefined|undefined = builder_buf - const refreshingContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let refreshingContent_buf: ComponentContent | undefined|undefined - if ((RuntimeType.UNDEFINED) != (refreshingContent_buf_runtimeType)) - { - refreshingContent_buf = (valueDeserializer.readComponentContent() as ComponentContent) - } - const refreshingContent_result: ComponentContent | undefined|undefined = refreshingContent_buf - let value: RefreshOptions = ({refreshing: refreshing_result, offset: offset_result, friction: friction_result, promptText: promptText_result, builder: builder_result, refreshingContent: refreshingContent_result} as RefreshOptions) - return value - } - readRenderNode(): RenderNode { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return RenderNodeInternal.fromPtr(ptr) - } - readRestrictedWorker(): RestrictedWorker { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return RestrictedWorkerInternal.fromPtr(ptr) - } - readRichEditorChangeValue(): RichEditorChangeValue { - let valueDeserializer: Deserializer = this - const rangeBefore_result: TextRange = valueDeserializer.readTextRange() - const replacedSpans_buf_length: int32 = valueDeserializer.readInt32() - let replacedSpans_buf: Array = new Array(replacedSpans_buf_length) - for (let replacedSpans_buf_i = 0; replacedSpans_buf_i < replacedSpans_buf_length; replacedSpans_buf_i++) { - replacedSpans_buf[replacedSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() - } - const replacedSpans_result: Array = replacedSpans_buf - const replacedImageSpans_buf_length: int32 = valueDeserializer.readInt32() - let replacedImageSpans_buf: Array = new Array(replacedImageSpans_buf_length) - for (let replacedImageSpans_buf_i = 0; replacedImageSpans_buf_i < replacedImageSpans_buf_length; replacedImageSpans_buf_i++) { - replacedImageSpans_buf[replacedImageSpans_buf_i] = valueDeserializer.readRichEditorImageSpanResult() - } - const replacedImageSpans_result: Array = replacedImageSpans_buf - const replacedSymbolSpans_buf_length: int32 = valueDeserializer.readInt32() - let replacedSymbolSpans_buf: Array = new Array(replacedSymbolSpans_buf_length) - for (let replacedSymbolSpans_buf_i = 0; replacedSymbolSpans_buf_i < replacedSymbolSpans_buf_length; replacedSymbolSpans_buf_i++) { - replacedSymbolSpans_buf[replacedSymbolSpans_buf_i] = valueDeserializer.readRichEditorTextSpanResult() + xxl_buf = (xxl_buf_ as string | number | Resource) } - const replacedSymbolSpans_result: Array = replacedSymbolSpans_buf - let value: RichEditorChangeValue = ({rangeBefore: rangeBefore_result, replacedSpans: replacedSpans_result, replacedImageSpans: replacedImageSpans_result, replacedSymbolSpans: replacedSymbolSpans_result} as RichEditorChangeValue) + const xxl_result: Length | undefined|undefined = xxl_buf + let value: GridRowSizeOption = ({xs: xs_result, sm: sm_result, md: md_result, lg: lg_result, xl: xl_result, xxl: xxl_result} as GridRowSizeOption) return value } - readRichEditorSymbolSpanStyle(): RichEditorSymbolSpanStyle { + public readGuideLinePosition(): GuideLinePosition { let valueDeserializer: Deserializer = this - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf: number | string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - const fontSize_buf__selector: number = valueDeserializer.readInt8() - let fontSize_buf_: number | string | Resource | undefined|undefined - if (fontSize_buf__selector == 0) { - fontSize_buf_ = (valueDeserializer.readNumber() as number) + const start_buf__selector: number = valueDeserializer.readInt8() + let start_buf_: string | number | Resource | undefined|undefined + if (start_buf__selector == 0) { + start_buf_ = (valueDeserializer.readString() as string) } - else if (fontSize_buf__selector == 1) { - fontSize_buf_ = (valueDeserializer.readString() as string) + else if (start_buf__selector == 1) { + start_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontSize_buf__selector == 2) { - fontSize_buf_ = valueDeserializer.readResource() + else if (start_buf__selector == 2) { + start_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") - } - fontSize_buf = (fontSize_buf_ as number | string | Resource) - } - const fontSize_result: number | string | Resource | undefined|undefined = fontSize_buf - const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontColor_buf: Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) - { - const fontColor_buf__length: int32 = valueDeserializer.readInt32() - let fontColor_buf_: Array = new Array(fontColor_buf__length) - for (let fontColor_buf__i = 0; fontColor_buf__i < fontColor_buf__length; fontColor_buf__i++) { - const fontColor_buf__buf_selector: number = valueDeserializer.readInt8() - let fontColor_buf__buf: Color | number | string | Resource | undefined|undefined - if (fontColor_buf__buf_selector == 0) { - fontColor_buf__buf = valueDeserializer.readInt32() - } - else if (fontColor_buf__buf_selector == 1) { - fontColor_buf__buf = (valueDeserializer.readNumber() as number) - } - else if (fontColor_buf__buf_selector == 2) { - fontColor_buf__buf = (valueDeserializer.readString() as string) - } - else if (fontColor_buf__buf_selector == 3) { - fontColor_buf__buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for fontColor_buf__buf has to be chosen through deserialisation.") - } - fontColor_buf_[fontColor_buf__i] = (fontColor_buf__buf as Color | number | string | Resource) + throw new Error("One of the branches for start_buf_ has to be chosen through deserialisation.") } - fontColor_buf = fontColor_buf_ + start_buf = (start_buf_ as string | number | Resource) } - const fontColor_result: Array | undefined|undefined = fontColor_buf - const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontWeight_buf: number | FontWeight | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + const start_result: Dimension | undefined|undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - const fontWeight_buf__selector: number = valueDeserializer.readInt8() - let fontWeight_buf_: number | FontWeight | string | undefined|undefined - if (fontWeight_buf__selector == 0) { - fontWeight_buf_ = (valueDeserializer.readNumber() as number) + const end_buf__selector: number = valueDeserializer.readInt8() + let end_buf_: string | number | Resource | undefined|undefined + if (end_buf__selector == 0) { + end_buf_ = (valueDeserializer.readString() as string) } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_ = valueDeserializer.readInt32() + else if (end_buf__selector == 1) { + end_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_ = (valueDeserializer.readString() as string) + else if (end_buf__selector == 2) { + end_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for end_buf_ has to be chosen through deserialisation.") } - fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) - } - const fontWeight_result: number | FontWeight | string | undefined|undefined = fontWeight_buf - const effectStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let effectStrategy_buf: SymbolEffectStrategy | undefined|undefined - if ((RuntimeType.UNDEFINED) != (effectStrategy_buf_runtimeType)) - { - effectStrategy_buf = valueDeserializer.readInt32() - } - const effectStrategy_result: SymbolEffectStrategy | undefined|undefined = effectStrategy_buf - const renderingStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let renderingStrategy_buf: SymbolRenderingStrategy | undefined|undefined - if ((RuntimeType.UNDEFINED) != (renderingStrategy_buf_runtimeType)) - { - renderingStrategy_buf = valueDeserializer.readInt32() + end_buf = (end_buf_ as string | number | Resource) } - const renderingStrategy_result: SymbolRenderingStrategy | undefined|undefined = renderingStrategy_buf - let value: RichEditorSymbolSpanStyle = ({fontSize: fontSize_result, fontColor: fontColor_result, fontWeight: fontWeight_result, effectStrategy: effectStrategy_result, renderingStrategy: renderingStrategy_result} as RichEditorSymbolSpanStyle) + const end_result: Dimension | undefined|undefined = end_buf + let value: GuideLinePosition = ({start: start_result, end: end_result} as GuideLinePosition) return value } - readRichEditorTextStyleResult(): RichEditorTextStyleResult { + public readGuideLineStyle(): GuideLineStyle { let valueDeserializer: Deserializer = this - const fontColor_buf_selector: number = valueDeserializer.readInt8() - let fontColor_buf: Color | number | string | Resource | undefined|undefined - if (fontColor_buf_selector == 0) { - fontColor_buf = valueDeserializer.readInt32() - } - else if (fontColor_buf_selector == 1) { - fontColor_buf = (valueDeserializer.readNumber() as number) - } - else if (fontColor_buf_selector == 2) { - fontColor_buf = (valueDeserializer.readString() as string) - } - else if (fontColor_buf_selector == 3) { - fontColor_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for fontColor_buf has to be chosen through deserialisation.") - } - const fontColor_result: ResourceColor = (fontColor_buf as Color | number | string | Resource) - const fontSize_result: number = (valueDeserializer.readNumber() as number) - const fontStyle_result: FontStyle = valueDeserializer.readInt32() - const fontWeight_result: number = (valueDeserializer.readNumber() as number) - const fontFamily_result: string = (valueDeserializer.readString() as string) - const decoration_result: DecorationStyleResult = valueDeserializer.readDecorationStyleResult() - const textShadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textShadow_buf: Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (textShadow_buf_runtimeType)) - { - const textShadow_buf__length: int32 = valueDeserializer.readInt32() - let textShadow_buf_: Array = new Array(textShadow_buf__length) - for (let textShadow_buf__i = 0; textShadow_buf__i < textShadow_buf__length; textShadow_buf__i++) { - textShadow_buf_[textShadow_buf__i] = valueDeserializer.readShadowOptions() - } - textShadow_buf = textShadow_buf_ - } - const textShadow_result: Array | undefined|undefined = textShadow_buf - const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let letterSpacing_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) + const id_result: string = (valueDeserializer.readString() as string) + const direction_result: Axis = valueDeserializer.readInt32() + const position_result: GuideLinePosition = valueDeserializer.readGuideLinePosition() + let value: GuideLineStyle = ({id: id_result, direction: direction_result, position: position_result} as GuideLineStyle) + return value + } + public readIconOptions(): IconOptions { + let valueDeserializer: Deserializer = this + const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let size_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) { - letterSpacing_buf = (valueDeserializer.readNumber() as number) + const size_buf__selector: number = valueDeserializer.readInt8() + let size_buf_: string | number | Resource | undefined|undefined + if (size_buf__selector == 0) { + size_buf_ = (valueDeserializer.readString() as string) + } + else if (size_buf__selector == 1) { + size_buf_ = (valueDeserializer.readNumber() as number) + } + else if (size_buf__selector == 2) { + size_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") + } + size_buf = (size_buf_ as string | number | Resource) } - const letterSpacing_result: number | undefined|undefined = letterSpacing_buf - const lineHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lineHeight_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lineHeight_buf_runtimeType)) + const size_result: Length | undefined|undefined = size_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - lineHeight_buf = (valueDeserializer.readNumber() as number) + const color_buf__selector: number = valueDeserializer.readInt8() + let color_buf_: Color | number | string | Resource | undefined|undefined + if (color_buf__selector == 0) { + color_buf_ = valueDeserializer.readInt32() + } + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as Color | number | string | Resource) } - const lineHeight_result: number | undefined|undefined = lineHeight_buf - const fontFeature_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFeature_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontFeature_buf_runtimeType)) + const color_result: ResourceColor | undefined|undefined = color_buf + const src_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let src_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (src_buf_runtimeType)) { - fontFeature_buf = (valueDeserializer.readString() as string) + const src_buf__selector: number = valueDeserializer.readInt8() + let src_buf_: string | Resource | undefined|undefined + if (src_buf__selector == 0) { + src_buf_ = (valueDeserializer.readString() as string) + } + else if (src_buf__selector == 1) { + src_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for src_buf_ has to be chosen through deserialisation.") + } + src_buf = (src_buf_ as string | Resource) } - const fontFeature_result: string | undefined|undefined = fontFeature_buf - let value: RichEditorTextStyleResult = ({fontColor: fontColor_result, fontSize: fontSize_result, fontStyle: fontStyle_result, fontWeight: fontWeight_result, fontFamily: fontFamily_result, decoration: decoration_result, textShadow: textShadow_result, letterSpacing: letterSpacing_result, lineHeight: lineHeight_result, fontFeature: fontFeature_result} as RichEditorTextStyleResult) + const src_result: ResourceStr | undefined|undefined = src_buf + let value: IconOptions = ({size: size_result, color: color_result, src: src_result} as IconOptions) return value } - readRichEditorUpdateSymbolSpanStyleOptions(): RichEditorUpdateSymbolSpanStyleOptions { + public readIndicatorStyle(): IndicatorStyle { let valueDeserializer: Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) { - start_buf = (valueDeserializer.readNumber() as number) + const height_buf__selector: number = valueDeserializer.readInt8() + let height_buf_: string | number | Resource | undefined|undefined + if (height_buf__selector == 0) { + height_buf_ = (valueDeserializer.readString() as string) + } + else if (height_buf__selector == 1) { + height_buf_ = (valueDeserializer.readNumber() as number) + } + else if (height_buf__selector == 2) { + height_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + } + height_buf = (height_buf_ as string | number | Resource) } - const start_result: number | undefined|undefined = start_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + const height_result: Length | undefined|undefined = height_buf + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) { - end_buf = (valueDeserializer.readNumber() as number) + const width_buf__selector: number = valueDeserializer.readInt8() + let width_buf_: string | number | Resource | undefined|undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readString() as string) + } + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readNumber() as number) + } + else if (width_buf__selector == 2) { + width_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + } + width_buf = (width_buf_ as string | number | Resource) } - const end_result: number | undefined|undefined = end_buf - const symbolStyle_result: RichEditorSymbolSpanStyle = valueDeserializer.readRichEditorSymbolSpanStyle() - let value: RichEditorUpdateSymbolSpanStyleOptions = ({start: start_result, end: end_result, symbolStyle: symbolStyle_result} as RichEditorUpdateSymbolSpanStyleOptions) - return value - } - readRingStyleOptions(): RingStyleOptions { - let valueDeserializer: Deserializer = this - const enableScanEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableScanEffect_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (enableScanEffect_buf_runtimeType)) + const width_result: Length | undefined|undefined = width_buf + const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderRadius_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) { - enableScanEffect_buf = valueDeserializer.readBoolean() + const borderRadius_buf__selector: number = valueDeserializer.readInt8() + let borderRadius_buf_: string | number | Resource | undefined|undefined + if (borderRadius_buf__selector == 0) { + borderRadius_buf_ = (valueDeserializer.readString() as string) + } + else if (borderRadius_buf__selector == 1) { + borderRadius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (borderRadius_buf__selector == 2) { + borderRadius_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") + } + borderRadius_buf = (borderRadius_buf_ as string | number | Resource) } - const enableScanEffect_result: boolean | undefined|undefined = enableScanEffect_buf - const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let strokeWidth_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + const borderRadius_result: Length | undefined|undefined = borderRadius_buf + const marginTop_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let marginTop_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (marginTop_buf_runtimeType)) { - const strokeWidth_buf__selector: number = valueDeserializer.readInt8() - let strokeWidth_buf_: string | number | Resource | undefined|undefined - if (strokeWidth_buf__selector == 0) { - strokeWidth_buf_ = (valueDeserializer.readString() as string) + const marginTop_buf__selector: number = valueDeserializer.readInt8() + let marginTop_buf_: string | number | Resource | undefined|undefined + if (marginTop_buf__selector == 0) { + marginTop_buf_ = (valueDeserializer.readString() as string) } - else if (strokeWidth_buf__selector == 1) { - strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + else if (marginTop_buf__selector == 1) { + marginTop_buf_ = (valueDeserializer.readNumber() as number) } - else if (strokeWidth_buf__selector == 2) { - strokeWidth_buf_ = valueDeserializer.readResource() + else if (marginTop_buf__selector == 2) { + marginTop_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for marginTop_buf_ has to be chosen through deserialisation.") } - strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) + marginTop_buf = (marginTop_buf_ as string | number | Resource) } - const strokeWidth_result: Length | undefined|undefined = strokeWidth_buf - const shadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let shadow_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (shadow_buf_runtimeType)) + const marginTop_result: Length | undefined|undefined = marginTop_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - shadow_buf = valueDeserializer.readBoolean() + const color_buf__selector: number = valueDeserializer.readInt8() + let color_buf_: Color | number | string | Resource | undefined|undefined + if (color_buf__selector == 0) { + color_buf_ = valueDeserializer.readInt32() + } + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) + } + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) + } + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as Color | number | string | Resource) } - const shadow_result: boolean | undefined|undefined = shadow_buf - const status_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let status_buf: ProgressStatus | undefined|undefined - if ((RuntimeType.UNDEFINED) != (status_buf_runtimeType)) + const color_result: ResourceColor | undefined|undefined = color_buf + const selectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let selectedColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (selectedColor_buf_runtimeType)) { - status_buf = valueDeserializer.readInt32() + const selectedColor_buf__selector: number = valueDeserializer.readInt8() + let selectedColor_buf_: Color | number | string | Resource | undefined|undefined + if (selectedColor_buf__selector == 0) { + selectedColor_buf_ = valueDeserializer.readInt32() + } + else if (selectedColor_buf__selector == 1) { + selectedColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (selectedColor_buf__selector == 2) { + selectedColor_buf_ = (valueDeserializer.readString() as string) + } + else if (selectedColor_buf__selector == 3) { + selectedColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for selectedColor_buf_ has to be chosen through deserialisation.") + } + selectedColor_buf = (selectedColor_buf_ as Color | number | string | Resource) } - const status_result: ProgressStatus | undefined|undefined = status_buf - let value: RingStyleOptions = ({enableScanEffect: enableScanEffect_result, strokeWidth: strokeWidth_result, shadow: shadow_result, status: status_result} as RingStyleOptions) - return value - } - readSceneOptions(): SceneOptions { - let valueDeserializer: Deserializer = this - const scene_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scene_buf: ResourceStr | Scene | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scene_buf_runtimeType)) + const selectedColor_result: ResourceColor | undefined|undefined = selectedColor_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { - const scene_buf__selector: number = valueDeserializer.readInt8() - let scene_buf_: ResourceStr | Scene | undefined|undefined - if (scene_buf__selector == 0) { - const scene_buf__u_selector: number = valueDeserializer.readInt8() - let scene_buf__u: string | Resource | undefined|undefined - if (scene_buf__u_selector == 0) { - scene_buf__u = (valueDeserializer.readString() as string) - } - else if (scene_buf__u_selector == 1) { - scene_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for scene_buf__u has to be chosen through deserialisation.") - } - scene_buf_ = (scene_buf__u as string | Resource) + const left_buf__selector: number = valueDeserializer.readInt8() + let left_buf_: string | number | Resource | undefined|undefined + if (left_buf__selector == 0) { + left_buf_ = (valueDeserializer.readString() as string) } - else if (scene_buf__selector == 1) { - scene_buf_ = (valueDeserializer.readScene() as Scene) + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readNumber() as number) + } + else if (left_buf__selector == 2) { + left_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for scene_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") } - scene_buf = (scene_buf_ as ResourceStr | Scene) - } - const scene_result: ResourceStr | Scene | undefined|undefined = scene_buf - const modelType_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let modelType_buf: ModelType | undefined|undefined - if ((RuntimeType.UNDEFINED) != (modelType_buf_runtimeType)) - { - modelType_buf = valueDeserializer.readInt32() + left_buf = (left_buf_ as string | number | Resource) } - const modelType_result: ModelType | undefined|undefined = modelType_buf - let value: SceneOptions = ({scene: scene_result, modelType: modelType_result} as SceneOptions) - return value - } - readScrollableBarModeOptions(): ScrollableBarModeOptions { - let valueDeserializer: Deserializer = this - const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) + const left_result: Length | undefined|undefined = left_buf + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - const margin_buf__selector: number = valueDeserializer.readInt8() - let margin_buf_: string | number | Resource | undefined|undefined - if (margin_buf__selector == 0) { - margin_buf_ = (valueDeserializer.readString() as string) + const top_buf__selector: number = valueDeserializer.readInt8() + let top_buf_: string | number | Resource | undefined|undefined + if (top_buf__selector == 0) { + top_buf_ = (valueDeserializer.readString() as string) } - else if (margin_buf__selector == 1) { - margin_buf_ = (valueDeserializer.readNumber() as number) + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) } - else if (margin_buf__selector == 2) { - margin_buf_ = valueDeserializer.readResource() + else if (top_buf__selector == 2) { + top_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") } - margin_buf = (margin_buf_ as string | number | Resource) - } - const margin_result: Dimension | undefined|undefined = margin_buf - const nonScrollableLayoutStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let nonScrollableLayoutStyle_buf: LayoutStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (nonScrollableLayoutStyle_buf_runtimeType)) - { - nonScrollableLayoutStyle_buf = valueDeserializer.readInt32() - } - const nonScrollableLayoutStyle_result: LayoutStyle | undefined|undefined = nonScrollableLayoutStyle_buf - let value: ScrollableBarModeOptions = ({margin: margin_result, nonScrollableLayoutStyle: nonScrollableLayoutStyle_result} as ScrollableBarModeOptions) - return value - } - readScrollOptions(): ScrollOptions { - let valueDeserializer: Deserializer = this - const xOffset_buf_selector: number = valueDeserializer.readInt8() - let xOffset_buf: number | string | undefined|undefined - if (xOffset_buf_selector == 0) { - xOffset_buf = (valueDeserializer.readNumber() as number) - } - else if (xOffset_buf_selector == 1) { - xOffset_buf = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for xOffset_buf has to be chosen through deserialisation.") - } - const xOffset_result: number | string = (xOffset_buf as number | string) - const yOffset_buf_selector: number = valueDeserializer.readInt8() - let yOffset_buf: number | string | undefined|undefined - if (yOffset_buf_selector == 0) { - yOffset_buf = (valueDeserializer.readNumber() as number) - } - else if (yOffset_buf_selector == 1) { - yOffset_buf = (valueDeserializer.readString() as string) - } - else { - throw new Error("One of the branches for yOffset_buf has to be chosen through deserialisation.") + top_buf = (top_buf_ as string | number | Resource) } - const yOffset_result: number | string = (yOffset_buf as number | string) - const animation_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let animation_buf: ScrollAnimationOptions | boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (animation_buf_runtimeType)) + const top_result: Length | undefined|undefined = top_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) { - const animation_buf__selector: number = valueDeserializer.readInt8() - let animation_buf_: ScrollAnimationOptions | boolean | undefined|undefined - if (animation_buf__selector == 0) { - animation_buf_ = valueDeserializer.readScrollAnimationOptions() + const right_buf__selector: number = valueDeserializer.readInt8() + let right_buf_: string | number | Resource | undefined|undefined + if (right_buf__selector == 0) { + right_buf_ = (valueDeserializer.readString() as string) } - else if (animation_buf__selector == 1) { - animation_buf_ = valueDeserializer.readBoolean() + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) + } + else if (right_buf__selector == 2) { + right_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for animation_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") } - animation_buf = (animation_buf_ as ScrollAnimationOptions | boolean) - } - const animation_result: ScrollAnimationOptions | boolean | undefined|undefined = animation_buf - let value: ScrollOptions = ({xOffset: xOffset_result, yOffset: yOffset_result, animation: animation_result} as ScrollOptions) - return value - } - readScrollToIndexOptions(): ScrollToIndexOptions { - let valueDeserializer: Deserializer = this - const extraOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let extraOffset_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (extraOffset_buf_runtimeType)) - { - extraOffset_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + right_buf = (right_buf_ as string | number | Resource) } - const extraOffset_result: LengthMetrics | undefined|undefined = extraOffset_buf - let value: ScrollToIndexOptions = ({extraOffset: extraOffset_result} as ScrollToIndexOptions) - return value - } - readSearchButtonOptions(): SearchButtonOptions { - let valueDeserializer: Deserializer = this - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + const right_result: Length | undefined|undefined = right_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - const fontSize_buf__selector: number = valueDeserializer.readInt8() - let fontSize_buf_: string | number | Resource | undefined|undefined - if (fontSize_buf__selector == 0) { - fontSize_buf_ = (valueDeserializer.readString() as string) + const bottom_buf__selector: number = valueDeserializer.readInt8() + let bottom_buf_: string | number | Resource | undefined|undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = (valueDeserializer.readString() as string) } - else if (fontSize_buf__selector == 1) { - fontSize_buf_ = (valueDeserializer.readNumber() as number) + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontSize_buf__selector == 2) { - fontSize_buf_ = valueDeserializer.readResource() + else if (bottom_buf__selector == 2) { + bottom_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") } - fontSize_buf = (fontSize_buf_ as string | number | Resource) + bottom_buf = (bottom_buf_ as string | number | Resource) } - const fontSize_result: Length | undefined|undefined = fontSize_buf - const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) + const bottom_result: Length | undefined|undefined = bottom_buf + const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let size_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) { - const fontColor_buf__selector: number = valueDeserializer.readInt8() - let fontColor_buf_: Color | number | string | Resource | undefined|undefined - if (fontColor_buf__selector == 0) { - fontColor_buf_ = valueDeserializer.readInt32() - } - else if (fontColor_buf__selector == 1) { - fontColor_buf_ = (valueDeserializer.readNumber() as number) + const size_buf__selector: number = valueDeserializer.readInt8() + let size_buf_: string | number | Resource | undefined|undefined + if (size_buf__selector == 0) { + size_buf_ = (valueDeserializer.readString() as string) } - else if (fontColor_buf__selector == 2) { - fontColor_buf_ = (valueDeserializer.readString() as string) + else if (size_buf__selector == 1) { + size_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontColor_buf__selector == 3) { - fontColor_buf_ = valueDeserializer.readResource() + else if (size_buf__selector == 2) { + size_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") } - fontColor_buf = (fontColor_buf_ as Color | number | string | Resource) + size_buf = (size_buf_ as string | number | Resource) } - const fontColor_result: ResourceColor | undefined|undefined = fontColor_buf - const autoDisable_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let autoDisable_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (autoDisable_buf_runtimeType)) + const size_result: Length | undefined|undefined = size_buf + const mask_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mask_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (mask_buf_runtimeType)) { - autoDisable_buf = valueDeserializer.readBoolean() + mask_buf = valueDeserializer.readBoolean() } - const autoDisable_result: boolean | undefined|undefined = autoDisable_buf - let value: SearchButtonOptions = ({fontSize: fontSize_result, fontColor: fontColor_result, autoDisable: autoDisable_result} as SearchButtonOptions) + const mask_result: boolean | undefined|undefined = mask_buf + let value: IndicatorStyle = ({height: height_result, width: width_result, borderRadius: borderRadius_result, marginTop: marginTop_result, color: color_result, selectedColor: selectedColor_result, left: left_result, top: top_result, right: right_result, bottom: bottom_result, size: size_result, mask: mask_result} as IndicatorStyle) return value } - readSearchOptions(): SearchOptions { + public readLeadingMarginPlaceholder(): LeadingMarginPlaceholder { let valueDeserializer: Deserializer = this - const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let value_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) - { - value_buf = (valueDeserializer.readString() as string) + const pixelMap_result: PixelMap = (valueDeserializer.readPixelMap() as PixelMap) + const size_buf_value0_buf_selector: number = valueDeserializer.readInt8() + let size_buf_value0_buf: string | number | Resource | undefined|undefined + if (size_buf_value0_buf_selector == 0) { + size_buf_value0_buf = (valueDeserializer.readString() as string) } - const value_result: string | undefined|undefined = value_buf - const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let placeholder_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (placeholder_buf_runtimeType)) - { - const placeholder_buf__selector: number = valueDeserializer.readInt8() - let placeholder_buf_: string | Resource | undefined|undefined - if (placeholder_buf__selector == 0) { - placeholder_buf_ = (valueDeserializer.readString() as string) - } - else if (placeholder_buf__selector == 1) { - placeholder_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for placeholder_buf_ has to be chosen through deserialisation.") - } - placeholder_buf = (placeholder_buf_ as string | Resource) + else if (size_buf_value0_buf_selector == 1) { + size_buf_value0_buf = (valueDeserializer.readNumber() as number) } - const placeholder_result: ResourceStr | undefined|undefined = placeholder_buf - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) - { - icon_buf = (valueDeserializer.readString() as string) + else if (size_buf_value0_buf_selector == 2) { + size_buf_value0_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for size_buf_value0_buf has to be chosen through deserialisation.") + } + const size_buf_value0: Dimension = (size_buf_value0_buf as string | number | Resource) + const size_buf_value1_buf_selector: number = valueDeserializer.readInt8() + let size_buf_value1_buf: string | number | Resource | undefined|undefined + if (size_buf_value1_buf_selector == 0) { + size_buf_value1_buf = (valueDeserializer.readString() as string) + } + else if (size_buf_value1_buf_selector == 1) { + size_buf_value1_buf = (valueDeserializer.readNumber() as number) + } + else if (size_buf_value1_buf_selector == 2) { + size_buf_value1_buf = valueDeserializer.readResource() } - const icon_result: string | undefined|undefined = icon_buf - const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let controller_buf: SearchController | undefined|undefined - if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) - { - controller_buf = (valueDeserializer.readSearchController() as SearchController) + else { + throw new Error("One of the branches for size_buf_value1_buf has to be chosen through deserialisation.") } - const controller_result: SearchController | undefined|undefined = controller_buf - let value: SearchOptions = ({value: value_result, placeholder: placeholder_result, icon: icon_result, controller: controller_result} as SearchOptions) + const size_buf_value1: Dimension = (size_buf_value1_buf as string | number | Resource) + const size_result: [ Dimension, Dimension ] = ([size_buf_value0, size_buf_value1] as [ Dimension, Dimension ]) + let value: LeadingMarginPlaceholder = ({pixelMap: pixelMap_result, size: size_result} as LeadingMarginPlaceholder) return value } - readSelectOption(): SelectOption { + public readLinearStyleOptions(): LinearStyleOptions { let valueDeserializer: Deserializer = this - const value_buf_selector: number = valueDeserializer.readInt8() - let value_buf: string | Resource | undefined|undefined - if (value_buf_selector == 0) { - value_buf = (valueDeserializer.readString() as string) - } - else if (value_buf_selector == 1) { - value_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") + const enableScanEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableScanEffect_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableScanEffect_buf_runtimeType)) + { + enableScanEffect_buf = valueDeserializer.readBoolean() } - const value_result: ResourceStr = (value_buf as string | Resource) - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + const enableScanEffect_result: boolean | undefined|undefined = enableScanEffect_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) { - const icon_buf__selector: number = valueDeserializer.readInt8() - let icon_buf_: string | Resource | undefined|undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + const strokeWidth_buf__selector: number = valueDeserializer.readInt8() + let strokeWidth_buf_: string | number | Resource | undefined|undefined + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_ = (valueDeserializer.readString() as string) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) + strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) } - const icon_result: ResourceStr | undefined|undefined = icon_buf - const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolIcon_buf: SymbolGlyphModifier | undefined|undefined - if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) + const strokeWidth_result: Length | undefined|undefined = strokeWidth_buf + const strokeRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeRadius_buf: string | number | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeRadius_buf_runtimeType)) { - symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() + const strokeRadius_buf__selector: number = valueDeserializer.readInt8() + let strokeRadius_buf_: string | number | Resource | undefined|undefined + if (strokeRadius_buf__selector == 0) { + strokeRadius_buf_ = (valueDeserializer.readString() as string) + } + else if (strokeRadius_buf__selector == 1) { + strokeRadius_buf_ = (valueDeserializer.readNumber() as number) + } + else if (strokeRadius_buf__selector == 2) { + strokeRadius_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for strokeRadius_buf_ has to be chosen through deserialisation.") + } + strokeRadius_buf = (strokeRadius_buf_ as string | number | Resource) } - const symbolIcon_result: SymbolGlyphModifier | undefined|undefined = symbolIcon_buf - let value: SelectOption = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result} as SelectOption) + const strokeRadius_result: PX | VP | LPX | Resource | undefined|undefined = strokeRadius_buf + let value: LinearStyleOptions = ({enableScanEffect: enableScanEffect_result, strokeWidth: strokeWidth_result, strokeRadius: strokeRadius_result} as LinearStyleOptions) return value } - readShadowOptions(): ShadowOptions { + public readListDividerOptions(): ListDividerOptions { let valueDeserializer: Deserializer = this - const radius_buf_selector: number = valueDeserializer.readInt8() - let radius_buf: number | Resource | undefined|undefined - if (radius_buf_selector == 0) { - radius_buf = (valueDeserializer.readNumber() as number) + const strokeWidth_buf_selector: number = valueDeserializer.readInt8() + let strokeWidth_buf: string | number | Resource | undefined|undefined + if (strokeWidth_buf_selector == 0) { + strokeWidth_buf = (valueDeserializer.readString() as string) } - else if (radius_buf_selector == 1) { - radius_buf = valueDeserializer.readResource() + else if (strokeWidth_buf_selector == 1) { + strokeWidth_buf = (valueDeserializer.readNumber() as number) } - else { - throw new Error("One of the branches for radius_buf has to be chosen through deserialisation.") + else if (strokeWidth_buf_selector == 2) { + strokeWidth_buf = valueDeserializer.readResource() } - const radius_result: number | Resource = (radius_buf as number | Resource) - const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let type_buf: ShadowType | undefined|undefined - if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) - { - type_buf = valueDeserializer.readInt32() + else { + throw new Error("One of the branches for strokeWidth_buf has to be chosen through deserialisation.") } - const type_result: ShadowType | undefined|undefined = type_buf + const strokeWidth_result: Length = (strokeWidth_buf as string | number | Resource) const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: Color | string | Resource | ColoringStrategy | undefined|undefined + let color_buf: ResourceColor | undefined|undefined if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { const color_buf__selector: number = valueDeserializer.readInt8() - let color_buf_: Color | string | Resource | ColoringStrategy | undefined|undefined + let color_buf_: Color | number | string | Resource | undefined|undefined if (color_buf__selector == 0) { color_buf_ = valueDeserializer.readInt32() } else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readString() as string) + color_buf_ = (valueDeserializer.readNumber() as number) } else if (color_buf__selector == 2) { - color_buf_ = valueDeserializer.readResource() + color_buf_ = (valueDeserializer.readString() as string) } else if (color_buf__selector == 3) { - color_buf_ = Object.values(ColoringStrategy)[valueDeserializer.readInt32()] + color_buf_ = valueDeserializer.readResource() } else { throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | string | Resource | ColoringStrategy) + color_buf = (color_buf_ as Color | number | string | Resource) } - const color_result: Color | string | Resource | ColoringStrategy | undefined|undefined = color_buf - const offsetX_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offsetX_buf: number | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (offsetX_buf_runtimeType)) + const color_result: ResourceColor | undefined|undefined = color_buf + const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let startMargin_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) { - const offsetX_buf__selector: number = valueDeserializer.readInt8() - let offsetX_buf_: number | Resource | undefined|undefined - if (offsetX_buf__selector == 0) { - offsetX_buf_ = (valueDeserializer.readNumber() as number) + const startMargin_buf__selector: number = valueDeserializer.readInt8() + let startMargin_buf_: string | number | Resource | undefined|undefined + if (startMargin_buf__selector == 0) { + startMargin_buf_ = (valueDeserializer.readString() as string) } - else if (offsetX_buf__selector == 1) { - offsetX_buf_ = valueDeserializer.readResource() + else if (startMargin_buf__selector == 1) { + startMargin_buf_ = (valueDeserializer.readNumber() as number) + } + else if (startMargin_buf__selector == 2) { + startMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offsetX_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for startMargin_buf_ has to be chosen through deserialisation.") } - offsetX_buf = (offsetX_buf_ as number | Resource) + startMargin_buf = (startMargin_buf_ as string | number | Resource) } - const offsetX_result: number | Resource | undefined|undefined = offsetX_buf - const offsetY_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offsetY_buf: number | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (offsetY_buf_runtimeType)) + const startMargin_result: Length | undefined|undefined = startMargin_buf + const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let endMargin_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) { - const offsetY_buf__selector: number = valueDeserializer.readInt8() - let offsetY_buf_: number | Resource | undefined|undefined - if (offsetY_buf__selector == 0) { - offsetY_buf_ = (valueDeserializer.readNumber() as number) + const endMargin_buf__selector: number = valueDeserializer.readInt8() + let endMargin_buf_: string | number | Resource | undefined|undefined + if (endMargin_buf__selector == 0) { + endMargin_buf_ = (valueDeserializer.readString() as string) } - else if (offsetY_buf__selector == 1) { - offsetY_buf_ = valueDeserializer.readResource() + else if (endMargin_buf__selector == 1) { + endMargin_buf_ = (valueDeserializer.readNumber() as number) + } + else if (endMargin_buf__selector == 2) { + endMargin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offsetY_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for endMargin_buf_ has to be chosen through deserialisation.") } - offsetY_buf = (offsetY_buf_ as number | Resource) - } - const offsetY_result: number | Resource | undefined|undefined = offsetY_buf - const fill_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fill_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fill_buf_runtimeType)) - { - fill_buf = valueDeserializer.readBoolean() + endMargin_buf = (endMargin_buf_ as string | number | Resource) } - const fill_result: boolean | undefined|undefined = fill_buf - let value: ShadowOptions = ({radius: radius_result, type: type_result, color: color_result, offsetX: offsetX_result, offsetY: offsetY_result, fill: fill_result} as ShadowOptions) + const endMargin_result: Length | undefined|undefined = endMargin_buf + let value: ListDividerOptions = ({strokeWidth: strokeWidth_result, color: color_result, startMargin: startMargin_result, endMargin: endMargin_result} as ListDividerOptions) return value } - readsharedTransitionOptions(): sharedTransitionOptions { + public readMarkStyle(): MarkStyle { let valueDeserializer: Deserializer = this - const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let duration_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeColor_buf_runtimeType)) { - duration_buf = (valueDeserializer.readNumber() as number) + const strokeColor_buf__selector: number = valueDeserializer.readInt8() + let strokeColor_buf_: Color | number | string | Resource | undefined|undefined + if (strokeColor_buf__selector == 0) { + strokeColor_buf_ = valueDeserializer.readInt32() + } + else if (strokeColor_buf__selector == 1) { + strokeColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (strokeColor_buf__selector == 2) { + strokeColor_buf_ = (valueDeserializer.readString() as string) + } + else if (strokeColor_buf__selector == 3) { + strokeColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for strokeColor_buf_ has to be chosen through deserialisation.") + } + strokeColor_buf = (strokeColor_buf_ as Color | number | string | Resource) } - const duration_result: number | undefined|undefined = duration_buf - const curve_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let curve_buf: Curve | string | ICurve | undefined|undefined - if ((RuntimeType.UNDEFINED) != (curve_buf_runtimeType)) + const strokeColor_result: ResourceColor | undefined|undefined = strokeColor_buf + const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let size_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) { - const curve_buf__selector: number = valueDeserializer.readInt8() - let curve_buf_: Curve | string | ICurve | undefined|undefined - if (curve_buf__selector == 0) { - curve_buf_ = valueDeserializer.readInt32() + const size_buf__selector: number = valueDeserializer.readInt8() + let size_buf_: string | number | Resource | undefined|undefined + if (size_buf__selector == 0) { + size_buf_ = (valueDeserializer.readString() as string) } - else if (curve_buf__selector == 1) { - curve_buf_ = (valueDeserializer.readString() as string) + else if (size_buf__selector == 1) { + size_buf_ = (valueDeserializer.readNumber() as number) } - else if (curve_buf__selector == 2) { - curve_buf_ = (valueDeserializer.readICurve() as ICurve) + else if (size_buf__selector == 2) { + size_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for curve_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for size_buf_ has to be chosen through deserialisation.") } - curve_buf = (curve_buf_ as Curve | string | ICurve) + size_buf = (size_buf_ as string | number | Resource) } - const curve_result: Curve | string | ICurve | undefined|undefined = curve_buf - const delay_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let delay_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (delay_buf_runtimeType)) + const size_result: Length | undefined|undefined = size_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) { - delay_buf = (valueDeserializer.readNumber() as number) + const strokeWidth_buf__selector: number = valueDeserializer.readInt8() + let strokeWidth_buf_: string | number | Resource | undefined|undefined + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_ = (valueDeserializer.readString() as string) + } + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") + } + strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) } - const delay_result: number | undefined|undefined = delay_buf - const motionPath_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let motionPath_buf: MotionPathOptions | undefined|undefined - if ((RuntimeType.UNDEFINED) != (motionPath_buf_runtimeType)) + const strokeWidth_result: Length | undefined|undefined = strokeWidth_buf + let value: MarkStyle = ({strokeColor: strokeColor_result, size: size_result, strokeWidth: strokeWidth_result} as MarkStyle) + return value + } + public readMoreButtonOptions(): MoreButtonOptions { + let valueDeserializer: Deserializer = this + const backgroundBlurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyle_buf: BlurStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) { - motionPath_buf = valueDeserializer.readMotionPathOptions() + backgroundBlurStyle_buf = valueDeserializer.readInt32() } - const motionPath_result: MotionPathOptions | undefined|undefined = motionPath_buf - const zIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let zIndex_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (zIndex_buf_runtimeType)) + const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) { - zIndex_buf = (valueDeserializer.readNumber() as number) + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() } - const zIndex_result: number | undefined|undefined = zIndex_buf - const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let type_buf: SharedTransitionEffectType | undefined|undefined - if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) { - type_buf = valueDeserializer.readInt32() + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() } - const type_result: SharedTransitionEffectType | undefined|undefined = type_buf - let value: sharedTransitionOptions = ({duration: duration_result, curve: curve_result, delay: delay_result, motionPath: motionPath_result, zIndex: zIndex_result, type: type_result} as sharedTransitionOptions) + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf + let value: MoreButtonOptions = ({backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result} as MoreButtonOptions) return value } - readSheetInfo(): SheetInfo { + public readNavDestinationCustomTitle(): NavDestinationCustomTitle { let valueDeserializer: Deserializer = this - const title_buf_selector: number = valueDeserializer.readInt8() - let title_buf: string | Resource | undefined|undefined - if (title_buf_selector == 0) { - title_buf = (valueDeserializer.readString() as string) - } - else if (title_buf_selector == 1) { - title_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for title_buf has to be chosen through deserialisation.") + const builder_result: CustomBuilder = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + const height_buf_selector: number = valueDeserializer.readInt8() + let height_buf: TitleHeight | Length | undefined|undefined + if (height_buf_selector == 0) { + height_buf = valueDeserializer.readInt32() } - const title_result: string | Resource = (title_buf as string | Resource) - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf: string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) - { - const icon_buf__selector: number = valueDeserializer.readInt8() - let icon_buf_: string | Resource | undefined|undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + else if (height_buf_selector == 1) { + const height_buf_u_selector: number = valueDeserializer.readInt8() + let height_buf_u: string | number | Resource | undefined|undefined + if (height_buf_u_selector == 0) { + height_buf_u = (valueDeserializer.readString() as string) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (height_buf_u_selector == 1) { + height_buf_u = (valueDeserializer.readNumber() as number) + } + else if (height_buf_u_selector == 2) { + height_buf_u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for height_buf_u has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) + height_buf = (height_buf_u as string | number | Resource) } - const icon_result: string | Resource | undefined|undefined = icon_buf - const action_result: VoidCallback = valueDeserializer.readVoidCallback() - let value: SheetInfo = ({title: title_result, icon: icon_result, action: action_result} as SheetInfo) + else { + throw new Error("One of the branches for height_buf has to be chosen through deserialisation.") + } + const height_result: TitleHeight | Length = (height_buf as TitleHeight | Length) + let value: NavDestinationCustomTitle = ({builder: builder_result, height: height_result} as NavDestinationCustomTitle) return value } - readSheetTitleOptions(): SheetTitleOptions { + public readNavigationCustomTitle(): NavigationCustomTitle { let valueDeserializer: Deserializer = this - const title_buf_selector: number = valueDeserializer.readInt8() - let title_buf: string | Resource | undefined|undefined - if (title_buf_selector == 0) { - title_buf = (valueDeserializer.readString() as string) - } - else if (title_buf_selector == 1) { - title_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for title_buf has to be chosen through deserialisation.") + const builder_result: CustomBuilder = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + const height_buf_selector: number = valueDeserializer.readInt8() + let height_buf: TitleHeight | Length | undefined|undefined + if (height_buf_selector == 0) { + height_buf = valueDeserializer.readInt32() } - const title_result: ResourceStr = (title_buf as string | Resource) - const subtitle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let subtitle_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (subtitle_buf_runtimeType)) - { - const subtitle_buf__selector: number = valueDeserializer.readInt8() - let subtitle_buf_: string | Resource | undefined|undefined - if (subtitle_buf__selector == 0) { - subtitle_buf_ = (valueDeserializer.readString() as string) + else if (height_buf_selector == 1) { + const height_buf_u_selector: number = valueDeserializer.readInt8() + let height_buf_u: string | number | Resource | undefined|undefined + if (height_buf_u_selector == 0) { + height_buf_u = (valueDeserializer.readString() as string) } - else if (subtitle_buf__selector == 1) { - subtitle_buf_ = valueDeserializer.readResource() + else if (height_buf_u_selector == 1) { + height_buf_u = (valueDeserializer.readNumber() as number) + } + else if (height_buf_u_selector == 2) { + height_buf_u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for subtitle_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for height_buf_u has to be chosen through deserialisation.") } - subtitle_buf = (subtitle_buf_ as string | Resource) + height_buf = (height_buf_u as string | number | Resource) } - const subtitle_result: ResourceStr | undefined|undefined = subtitle_buf - let value: SheetTitleOptions = ({title: title_result, subtitle: subtitle_result} as SheetTitleOptions) + else { + throw new Error("One of the branches for height_buf has to be chosen through deserialisation.") + } + const height_result: TitleHeight | Length = (height_buf as TitleHeight | Length) + let value: NavigationCustomTitle = ({builder: builder_result, height: height_result} as NavigationCustomTitle) return value } - readSizeOptions(): SizeOptions { + public readNavigationTitleOptions(): NavigationTitleOptions { let valueDeserializer: Deserializer = this - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) { - const width_buf__selector: number = valueDeserializer.readInt8() - let width_buf_: string | number | Resource | undefined|undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readString() as string) + const backgroundColor_buf__selector: number = valueDeserializer.readInt8() + let backgroundColor_buf_: Color | number | string | Resource | undefined|undefined + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_ = valueDeserializer.readInt32() } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readNumber() as number) + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (width_buf__selector == 2) { - width_buf_ = valueDeserializer.readResource() + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_ = (valueDeserializer.readString() as string) + } + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") } - width_buf = (width_buf_ as string | number | Resource) + backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) } - const width_result: Length | undefined|undefined = width_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + const backgroundColor_result: ResourceColor | undefined|undefined = backgroundColor_buf + const backgroundBlurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyle_buf: BlurStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) { - const height_buf__selector: number = valueDeserializer.readInt8() - let height_buf_: string | number | Resource | undefined|undefined - if (height_buf__selector == 0) { - height_buf_ = (valueDeserializer.readString() as string) - } - else if (height_buf__selector == 1) { - height_buf_ = (valueDeserializer.readNumber() as number) - } - else if (height_buf__selector == 2) { - height_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") - } - height_buf = (height_buf_ as string | number | Resource) + backgroundBlurStyle_buf = valueDeserializer.readInt32() } - const height_result: Length | undefined|undefined = height_buf - let value: SizeOptions = ({width: width_result, height: height_result} as SizeOptions) - return value - } - readSliderBlockStyle(): SliderBlockStyle { - let valueDeserializer: Deserializer = this - const type_result: SliderBlockType = valueDeserializer.readInt32() - const image_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let image_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (image_buf_runtimeType)) + const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) { - const image_buf__selector: number = valueDeserializer.readInt8() - let image_buf_: string | Resource | undefined|undefined - if (image_buf__selector == 0) { - image_buf_ = (valueDeserializer.readString() as string) - } - else if (image_buf__selector == 1) { - image_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for image_buf_ has to be chosen through deserialisation.") - } - image_buf = (image_buf_ as string | Resource) + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() } - const image_result: ResourceStr | undefined|undefined = image_buf - const shape_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let shape_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (shape_buf_runtimeType)) + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) { - shape_buf = (valueDeserializer.readString() as string) + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() } - const shape_result: string | undefined|undefined = shape_buf - let value: SliderBlockStyle = ({type: type_result, image: image_result, shape: shape_result} as SliderBlockStyle) - return value - } - readStyledStringChangeValue(): StyledStringChangeValue { - let valueDeserializer: Deserializer = this - const range_result: TextRange = valueDeserializer.readTextRange() - const replacementString_result: StyledString = (valueDeserializer.readStyledString() as StyledString) - const previewText_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let previewText_buf: StyledString | undefined|undefined - if ((RuntimeType.UNDEFINED) != (previewText_buf_runtimeType)) + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf + const barStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let barStyle_buf: BarStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (barStyle_buf_runtimeType)) + { + barStyle_buf = valueDeserializer.readInt32() + } + const barStyle_result: BarStyle | undefined|undefined = barStyle_buf + const paddingStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let paddingStart_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (paddingStart_buf_runtimeType)) + { + paddingStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const paddingStart_result: LengthMetrics | undefined|undefined = paddingStart_buf + const paddingEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let paddingEnd_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (paddingEnd_buf_runtimeType)) + { + paddingEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const paddingEnd_result: LengthMetrics | undefined|undefined = paddingEnd_buf + const mainTitleModifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mainTitleModifier_buf: TextModifier | undefined|undefined + if ((RuntimeType.UNDEFINED) != (mainTitleModifier_buf_runtimeType)) + { + mainTitleModifier_buf = valueDeserializer.readTextModifier() + } + const mainTitleModifier_result: TextModifier | undefined|undefined = mainTitleModifier_buf + const subTitleModifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let subTitleModifier_buf: TextModifier | undefined|undefined + if ((RuntimeType.UNDEFINED) != (subTitleModifier_buf_runtimeType)) + { + subTitleModifier_buf = valueDeserializer.readTextModifier() + } + const subTitleModifier_result: TextModifier | undefined|undefined = subTitleModifier_buf + const enableHoverMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableHoverMode_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableHoverMode_buf_runtimeType)) { - previewText_buf = (valueDeserializer.readStyledString() as StyledString) + enableHoverMode_buf = valueDeserializer.readBoolean() } - const previewText_result: StyledString | undefined|undefined = previewText_buf - let value: StyledStringChangeValue = ({range: range_result, replacementString: replacementString_result, previewText: previewText_result} as StyledStringChangeValue) + const enableHoverMode_result: boolean | undefined|undefined = enableHoverMode_buf + let value: NavigationTitleOptions = ({backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, barStyle: barStyle_result, paddingStart: paddingStart_result, paddingEnd: paddingEnd_result, mainTitleModifier: mainTitleModifier_result, subTitleModifier: subTitleModifier_result, enableHoverMode: enableHoverMode_result} as NavigationTitleOptions) return value } - readSwipeActionItem(): SwipeActionItem { + public readOffsetOptions(): OffsetOptions { let valueDeserializer: Deserializer = this - const builder_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let builder_buf: CustomBuilder | undefined|undefined - if ((RuntimeType.UNDEFINED) != (builder_buf_runtimeType)) - { - builder_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) - } - const builder_result: CustomBuilder | undefined|undefined = builder_buf - const actionAreaDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let actionAreaDistance_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (actionAreaDistance_buf_runtimeType)) + const xOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let xOffset_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (xOffset_buf_runtimeType)) { - const actionAreaDistance_buf__selector: number = valueDeserializer.readInt8() - let actionAreaDistance_buf_: string | number | Resource | undefined|undefined - if (actionAreaDistance_buf__selector == 0) { - actionAreaDistance_buf_ = (valueDeserializer.readString() as string) + const xOffset_buf__selector: number = valueDeserializer.readInt8() + let xOffset_buf_: string | number | Resource | undefined|undefined + if (xOffset_buf__selector == 0) { + xOffset_buf_ = (valueDeserializer.readString() as string) } - else if (actionAreaDistance_buf__selector == 1) { - actionAreaDistance_buf_ = (valueDeserializer.readNumber() as number) + else if (xOffset_buf__selector == 1) { + xOffset_buf_ = (valueDeserializer.readNumber() as number) } - else if (actionAreaDistance_buf__selector == 2) { - actionAreaDistance_buf_ = valueDeserializer.readResource() + else if (xOffset_buf__selector == 2) { + xOffset_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for actionAreaDistance_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for xOffset_buf_ has to be chosen through deserialisation.") } - actionAreaDistance_buf = (actionAreaDistance_buf_ as string | number | Resource) - } - const actionAreaDistance_result: Length | undefined|undefined = actionAreaDistance_buf - const onAction_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onAction_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onAction_buf_runtimeType)) - { - onAction_buf = valueDeserializer.readCallback_Void() - } - const onAction_result: (() => void) | undefined|undefined = onAction_buf - const onEnterActionArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onEnterActionArea_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onEnterActionArea_buf_runtimeType)) - { - onEnterActionArea_buf = valueDeserializer.readCallback_Void() - } - const onEnterActionArea_result: (() => void) | undefined|undefined = onEnterActionArea_buf - const onExitActionArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onExitActionArea_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onExitActionArea_buf_runtimeType)) - { - onExitActionArea_buf = valueDeserializer.readCallback_Void() + xOffset_buf = (xOffset_buf_ as string | number | Resource) } - const onExitActionArea_result: (() => void) | undefined|undefined = onExitActionArea_buf - const onStateChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onStateChange_buf: ((state: SwipeActionState) => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onStateChange_buf_runtimeType)) + const xOffset_result: Dimension | undefined|undefined = xOffset_buf + const yOffset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let yOffset_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (yOffset_buf_runtimeType)) { - onStateChange_buf = valueDeserializer.readCallback_SwipeActionState_Void() + const yOffset_buf__selector: number = valueDeserializer.readInt8() + let yOffset_buf_: string | number | Resource | undefined|undefined + if (yOffset_buf__selector == 0) { + yOffset_buf_ = (valueDeserializer.readString() as string) + } + else if (yOffset_buf__selector == 1) { + yOffset_buf_ = (valueDeserializer.readNumber() as number) + } + else if (yOffset_buf__selector == 2) { + yOffset_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for yOffset_buf_ has to be chosen through deserialisation.") + } + yOffset_buf = (yOffset_buf_ as string | number | Resource) } - const onStateChange_result: ((state: SwipeActionState) => void) | undefined|undefined = onStateChange_buf - let value: SwipeActionItem = ({builder: builder_result, actionAreaDistance: actionAreaDistance_result, onAction: onAction_result, onEnterActionArea: onEnterActionArea_result, onExitActionArea: onExitActionArea_result, onStateChange: onStateChange_result} as SwipeActionItem) + const yOffset_result: Dimension | undefined|undefined = yOffset_buf + let value: OffsetOptions = ({xOffset: xOffset_result, yOffset: yOffset_result} as OffsetOptions) return value } - readSwitchStyle(): SwitchStyle { + public readOutlineRadiuses(): OutlineRadiuses { let valueDeserializer: Deserializer = this - const pointRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let pointRadius_buf: number | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (pointRadius_buf_runtimeType)) + const topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let topLeft_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (topLeft_buf_runtimeType)) { - const pointRadius_buf__selector: number = valueDeserializer.readInt8() - let pointRadius_buf_: number | Resource | undefined|undefined - if (pointRadius_buf__selector == 0) { - pointRadius_buf_ = (valueDeserializer.readNumber() as number) + const topLeft_buf__selector: number = valueDeserializer.readInt8() + let topLeft_buf_: string | number | Resource | undefined|undefined + if (topLeft_buf__selector == 0) { + topLeft_buf_ = (valueDeserializer.readString() as string) } - else if (pointRadius_buf__selector == 1) { - pointRadius_buf_ = valueDeserializer.readResource() + else if (topLeft_buf__selector == 1) { + topLeft_buf_ = (valueDeserializer.readNumber() as number) + } + else if (topLeft_buf__selector == 2) { + topLeft_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for pointRadius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for topLeft_buf_ has to be chosen through deserialisation.") } - pointRadius_buf = (pointRadius_buf_ as number | Resource) + topLeft_buf = (topLeft_buf_ as string | number | Resource) } - const pointRadius_result: number | Resource | undefined|undefined = pointRadius_buf - const unselectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let unselectedColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (unselectedColor_buf_runtimeType)) + const topLeft_result: Dimension | undefined|undefined = topLeft_buf + const topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let topRight_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (topRight_buf_runtimeType)) { - const unselectedColor_buf__selector: number = valueDeserializer.readInt8() - let unselectedColor_buf_: Color | number | string | Resource | undefined|undefined - if (unselectedColor_buf__selector == 0) { - unselectedColor_buf_ = valueDeserializer.readInt32() - } - else if (unselectedColor_buf__selector == 1) { - unselectedColor_buf_ = (valueDeserializer.readNumber() as number) + const topRight_buf__selector: number = valueDeserializer.readInt8() + let topRight_buf_: string | number | Resource | undefined|undefined + if (topRight_buf__selector == 0) { + topRight_buf_ = (valueDeserializer.readString() as string) } - else if (unselectedColor_buf__selector == 2) { - unselectedColor_buf_ = (valueDeserializer.readString() as string) + else if (topRight_buf__selector == 1) { + topRight_buf_ = (valueDeserializer.readNumber() as number) } - else if (unselectedColor_buf__selector == 3) { - unselectedColor_buf_ = valueDeserializer.readResource() + else if (topRight_buf__selector == 2) { + topRight_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for topRight_buf_ has to be chosen through deserialisation.") } - unselectedColor_buf = (unselectedColor_buf_ as Color | number | string | Resource) + topRight_buf = (topRight_buf_ as string | number | Resource) } - const unselectedColor_result: ResourceColor | undefined|undefined = unselectedColor_buf - const pointColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let pointColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (pointColor_buf_runtimeType)) + const topRight_result: Dimension | undefined|undefined = topRight_buf + const bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottomLeft_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottomLeft_buf_runtimeType)) { - const pointColor_buf__selector: number = valueDeserializer.readInt8() - let pointColor_buf_: Color | number | string | Resource | undefined|undefined - if (pointColor_buf__selector == 0) { - pointColor_buf_ = valueDeserializer.readInt32() + const bottomLeft_buf__selector: number = valueDeserializer.readInt8() + let bottomLeft_buf_: string | number | Resource | undefined|undefined + if (bottomLeft_buf__selector == 0) { + bottomLeft_buf_ = (valueDeserializer.readString() as string) } - else if (pointColor_buf__selector == 1) { - pointColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (pointColor_buf__selector == 2) { - pointColor_buf_ = (valueDeserializer.readString() as string) + else if (bottomLeft_buf__selector == 1) { + bottomLeft_buf_ = (valueDeserializer.readNumber() as number) } - else if (pointColor_buf__selector == 3) { - pointColor_buf_ = valueDeserializer.readResource() + else if (bottomLeft_buf__selector == 2) { + bottomLeft_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for pointColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottomLeft_buf_ has to be chosen through deserialisation.") } - pointColor_buf = (pointColor_buf_ as Color | number | string | Resource) + bottomLeft_buf = (bottomLeft_buf_ as string | number | Resource) } - const pointColor_result: ResourceColor | undefined|undefined = pointColor_buf - const trackBorderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let trackBorderRadius_buf: number | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (trackBorderRadius_buf_runtimeType)) + const bottomLeft_result: Dimension | undefined|undefined = bottomLeft_buf + const bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottomRight_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottomRight_buf_runtimeType)) { - const trackBorderRadius_buf__selector: number = valueDeserializer.readInt8() - let trackBorderRadius_buf_: number | Resource | undefined|undefined - if (trackBorderRadius_buf__selector == 0) { - trackBorderRadius_buf_ = (valueDeserializer.readNumber() as number) + const bottomRight_buf__selector: number = valueDeserializer.readInt8() + let bottomRight_buf_: string | number | Resource | undefined|undefined + if (bottomRight_buf__selector == 0) { + bottomRight_buf_ = (valueDeserializer.readString() as string) } - else if (trackBorderRadius_buf__selector == 1) { - trackBorderRadius_buf_ = valueDeserializer.readResource() + else if (bottomRight_buf__selector == 1) { + bottomRight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottomRight_buf__selector == 2) { + bottomRight_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for trackBorderRadius_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottomRight_buf_ has to be chosen through deserialisation.") } - trackBorderRadius_buf = (trackBorderRadius_buf_ as number | Resource) + bottomRight_buf = (bottomRight_buf_ as string | number | Resource) } - const trackBorderRadius_result: number | Resource | undefined|undefined = trackBorderRadius_buf - let value: SwitchStyle = ({pointRadius: pointRadius_result, unselectedColor: unselectedColor_result, pointColor: pointColor_result, trackBorderRadius: trackBorderRadius_result} as SwitchStyle) + const bottomRight_result: Dimension | undefined|undefined = bottomRight_buf + let value: OutlineRadiuses = ({topLeft: topLeft_result, topRight: topRight_result, bottomLeft: bottomLeft_result, bottomRight: bottomRight_result} as OutlineRadiuses) return value } - readTabBarIconStyle(): TabBarIconStyle { + public readPadding(): Padding { let valueDeserializer: Deserializer = this - const selectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let selectedColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (selectedColor_buf_runtimeType)) + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - const selectedColor_buf__selector: number = valueDeserializer.readInt8() - let selectedColor_buf_: Color | number | string | Resource | undefined|undefined - if (selectedColor_buf__selector == 0) { - selectedColor_buf_ = valueDeserializer.readInt32() - } - else if (selectedColor_buf__selector == 1) { - selectedColor_buf_ = (valueDeserializer.readNumber() as number) + const top_buf__selector: number = valueDeserializer.readInt8() + let top_buf_: string | number | Resource | undefined|undefined + if (top_buf__selector == 0) { + top_buf_ = (valueDeserializer.readString() as string) } - else if (selectedColor_buf__selector == 2) { - selectedColor_buf_ = (valueDeserializer.readString() as string) + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) } - else if (selectedColor_buf__selector == 3) { - selectedColor_buf_ = valueDeserializer.readResource() + else if (top_buf__selector == 2) { + top_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for selectedColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") } - selectedColor_buf = (selectedColor_buf_ as Color | number | string | Resource) + top_buf = (top_buf_ as string | number | Resource) } - const selectedColor_result: ResourceColor | undefined|undefined = selectedColor_buf - const unselectedColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let unselectedColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (unselectedColor_buf_runtimeType)) + const top_result: Length | undefined|undefined = top_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) { - const unselectedColor_buf__selector: number = valueDeserializer.readInt8() - let unselectedColor_buf_: Color | number | string | Resource | undefined|undefined - if (unselectedColor_buf__selector == 0) { - unselectedColor_buf_ = valueDeserializer.readInt32() - } - else if (unselectedColor_buf__selector == 1) { - unselectedColor_buf_ = (valueDeserializer.readNumber() as number) + const right_buf__selector: number = valueDeserializer.readInt8() + let right_buf_: string | number | Resource | undefined|undefined + if (right_buf__selector == 0) { + right_buf_ = (valueDeserializer.readString() as string) } - else if (unselectedColor_buf__selector == 2) { - unselectedColor_buf_ = (valueDeserializer.readString() as string) + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) } - else if (unselectedColor_buf__selector == 3) { - unselectedColor_buf_ = valueDeserializer.readResource() + else if (right_buf__selector == 2) { + right_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for unselectedColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") } - unselectedColor_buf = (unselectedColor_buf_ as Color | number | string | Resource) + right_buf = (right_buf_ as string | number | Resource) } - const unselectedColor_result: ResourceColor | undefined|undefined = unselectedColor_buf - let value: TabBarIconStyle = ({selectedColor: selectedColor_result, unselectedColor: unselectedColor_result} as TabBarIconStyle) - return value - } - readTabBarOptions(): TabBarOptions { - let valueDeserializer: Deserializer = this - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf: string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + const right_result: Length | undefined|undefined = right_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - const icon_buf__selector: number = valueDeserializer.readInt8() - let icon_buf_: string | Resource | undefined|undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + const bottom_buf__selector: number = valueDeserializer.readInt8() + let bottom_buf_: string | number | Resource | undefined|undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = (valueDeserializer.readString() as string) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottom_buf__selector == 2) { + bottom_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) + bottom_buf = (bottom_buf_ as string | number | Resource) } - const icon_result: string | Resource | undefined|undefined = icon_buf - const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let text_buf: string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) + const bottom_result: Length | undefined|undefined = bottom_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { - const text_buf__selector: number = valueDeserializer.readInt8() - let text_buf_: string | Resource | undefined|undefined - if (text_buf__selector == 0) { - text_buf_ = (valueDeserializer.readString() as string) + const left_buf__selector: number = valueDeserializer.readInt8() + let left_buf_: string | number | Resource | undefined|undefined + if (left_buf__selector == 0) { + left_buf_ = (valueDeserializer.readString() as string) + } + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readNumber() as number) } - else if (text_buf__selector == 1) { - text_buf_ = valueDeserializer.readResource() + else if (left_buf__selector == 2) { + left_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") } - text_buf = (text_buf_ as string | Resource) + left_buf = (left_buf_ as string | number | Resource) } - const text_result: string | Resource | undefined|undefined = text_buf - let value: TabBarOptions = ({icon: icon_result, text: text_result} as TabBarOptions) + const left_result: Length | undefined|undefined = left_buf + let value: Padding = ({top: top_result, right: right_result, bottom: bottom_result, left: left_result} as Padding) return value } - readTerminationInfo(): TerminationInfo { + public readPixelStretchEffectOptions(): PixelStretchEffectOptions { let valueDeserializer: Deserializer = this - const code_result: number = (valueDeserializer.readNumber() as number) - const want_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let want_buf: Want | undefined|undefined - if ((RuntimeType.UNDEFINED) != (want_buf_runtimeType)) + const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let top_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - want_buf = valueDeserializer.readWant() + const top_buf__selector: number = valueDeserializer.readInt8() + let top_buf_: string | number | Resource | undefined|undefined + if (top_buf__selector == 0) { + top_buf_ = (valueDeserializer.readString() as string) + } + else if (top_buf__selector == 1) { + top_buf_ = (valueDeserializer.readNumber() as number) + } + else if (top_buf__selector == 2) { + top_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for top_buf_ has to be chosen through deserialisation.") + } + top_buf = (top_buf_ as string | number | Resource) } - const want_result: Want | undefined|undefined = want_buf - let value: TerminationInfo = ({code: code_result, want: want_result} as TerminationInfo) - return value - } - readTextAreaOptions(): TextAreaOptions { - let valueDeserializer: Deserializer = this - const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let placeholder_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (placeholder_buf_runtimeType)) + const top_result: Length | undefined|undefined = top_buf + const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bottom_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - const placeholder_buf__selector: number = valueDeserializer.readInt8() - let placeholder_buf_: string | Resource | undefined|undefined - if (placeholder_buf__selector == 0) { - placeholder_buf_ = (valueDeserializer.readString() as string) + const bottom_buf__selector: number = valueDeserializer.readInt8() + let bottom_buf_: string | number | Resource | undefined|undefined + if (bottom_buf__selector == 0) { + bottom_buf_ = (valueDeserializer.readString() as string) } - else if (placeholder_buf__selector == 1) { - placeholder_buf_ = valueDeserializer.readResource() + else if (bottom_buf__selector == 1) { + bottom_buf_ = (valueDeserializer.readNumber() as number) + } + else if (bottom_buf__selector == 2) { + bottom_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for placeholder_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for bottom_buf_ has to be chosen through deserialisation.") } - placeholder_buf = (placeholder_buf_ as string | Resource) + bottom_buf = (bottom_buf_ as string | number | Resource) } - const placeholder_result: ResourceStr | undefined|undefined = placeholder_buf - const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let text_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) + const bottom_result: Length | undefined|undefined = bottom_buf + const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let left_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) { - const text_buf__selector: number = valueDeserializer.readInt8() - let text_buf_: string | Resource | undefined|undefined - if (text_buf__selector == 0) { - text_buf_ = (valueDeserializer.readString() as string) + const left_buf__selector: number = valueDeserializer.readInt8() + let left_buf_: string | number | Resource | undefined|undefined + if (left_buf__selector == 0) { + left_buf_ = (valueDeserializer.readString() as string) } - else if (text_buf__selector == 1) { - text_buf_ = valueDeserializer.readResource() + else if (left_buf__selector == 1) { + left_buf_ = (valueDeserializer.readNumber() as number) + } + else if (left_buf__selector == 2) { + left_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for left_buf_ has to be chosen through deserialisation.") } - text_buf = (text_buf_ as string | Resource) + left_buf = (left_buf_ as string | number | Resource) } - const text_result: ResourceStr | undefined|undefined = text_buf - const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let controller_buf: TextAreaController | undefined|undefined - if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) + const left_result: Length | undefined|undefined = left_buf + const right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let right_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (right_buf_runtimeType)) { - controller_buf = (valueDeserializer.readTextAreaController() as TextAreaController) + const right_buf__selector: number = valueDeserializer.readInt8() + let right_buf_: string | number | Resource | undefined|undefined + if (right_buf__selector == 0) { + right_buf_ = (valueDeserializer.readString() as string) + } + else if (right_buf__selector == 1) { + right_buf_ = (valueDeserializer.readNumber() as number) + } + else if (right_buf__selector == 2) { + right_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for right_buf_ has to be chosen through deserialisation.") + } + right_buf = (right_buf_ as string | number | Resource) } - const controller_result: TextAreaController | undefined|undefined = controller_buf - let value: TextAreaOptions = ({placeholder: placeholder_result, text: text_result, controller: controller_result} as TextAreaOptions) + const right_result: Length | undefined|undefined = right_buf + let value: PixelStretchEffectOptions = ({top: top_result, bottom: bottom_result, left: left_result, right: right_result} as PixelStretchEffectOptions) return value } - readTextCascadePickerRangeContent(): TextCascadePickerRangeContent { + public readPointLightStyle(): PointLightStyle { let valueDeserializer: Deserializer = this - const text_buf_selector: number = valueDeserializer.readInt8() - let text_buf: string | Resource | undefined|undefined - if (text_buf_selector == 0) { - text_buf = (valueDeserializer.readString() as string) - } - else if (text_buf_selector == 1) { - text_buf = valueDeserializer.readResource() + const lightSource_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lightSource_buf: LightSource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lightSource_buf_runtimeType)) + { + lightSource_buf = valueDeserializer.readLightSource() } - else { - throw new Error("One of the branches for text_buf has to be chosen through deserialisation.") + const lightSource_result: LightSource | undefined|undefined = lightSource_buf + const illuminated_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let illuminated_buf: IlluminatedType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (illuminated_buf_runtimeType)) + { + illuminated_buf = valueDeserializer.readInt32() } - const text_result: string | Resource = (text_buf as string | Resource) - const children_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let children_buf: Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (children_buf_runtimeType)) + const illuminated_result: IlluminatedType | undefined|undefined = illuminated_buf + const bloom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let bloom_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (bloom_buf_runtimeType)) { - const children_buf__length: int32 = valueDeserializer.readInt32() - let children_buf_: Array = new Array(children_buf__length) - for (let children_buf__i = 0; children_buf__i < children_buf__length; children_buf__i++) { - children_buf_[children_buf__i] = valueDeserializer.readTextCascadePickerRangeContent() - } - children_buf = children_buf_ + bloom_buf = (valueDeserializer.readNumber() as number) } - const children_result: Array | undefined|undefined = children_buf - let value: TextCascadePickerRangeContent = ({text: text_result, children: children_result} as TextCascadePickerRangeContent) + const bloom_result: number | undefined|undefined = bloom_buf + let value: PointLightStyle = ({lightSource: lightSource_result, illuminated: illuminated_result, bloom: bloom_result} as PointLightStyle) return value } - readTextDecorationOptions(): TextDecorationOptions { + public readPosition(): Position { let valueDeserializer: Deserializer = this - const type_result: TextDecorationType = valueDeserializer.readInt32() - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let x_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (x_buf_runtimeType)) { - const color_buf__selector: number = valueDeserializer.readInt8() - let color_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__selector == 0) { - color_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__selector == 1) { - color_buf_ = (valueDeserializer.readNumber() as number) + const x_buf__selector: number = valueDeserializer.readInt8() + let x_buf_: string | number | Resource | undefined|undefined + if (x_buf__selector == 0) { + x_buf_ = (valueDeserializer.readString() as string) } - else if (color_buf__selector == 2) { - color_buf_ = (valueDeserializer.readString() as string) + else if (x_buf__selector == 1) { + x_buf_ = (valueDeserializer.readNumber() as number) } - else if (color_buf__selector == 3) { - color_buf_ = valueDeserializer.readResource() + else if (x_buf__selector == 2) { + x_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for x_buf_ has to be chosen through deserialisation.") } - color_buf = (color_buf_ as Color | number | string | Resource) + x_buf = (x_buf_ as string | number | Resource) } - const color_result: ResourceColor | undefined|undefined = color_buf - const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf: TextDecorationStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + const x_result: Length | undefined|undefined = x_buf + const y_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let y_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (y_buf_runtimeType)) { - style_buf = valueDeserializer.readInt32() + const y_buf__selector: number = valueDeserializer.readInt8() + let y_buf_: string | number | Resource | undefined|undefined + if (y_buf__selector == 0) { + y_buf_ = (valueDeserializer.readString() as string) + } + else if (y_buf__selector == 1) { + y_buf_ = (valueDeserializer.readNumber() as number) + } + else if (y_buf__selector == 2) { + y_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for y_buf_ has to be chosen through deserialisation.") + } + y_buf = (y_buf_ as string | number | Resource) } - const style_result: TextDecorationStyle | undefined|undefined = style_buf - let value: TextDecorationOptions = ({type: type_result, color: color_result, style: style_result} as TextDecorationOptions) + const y_result: Length | undefined|undefined = y_buf + let value: Position = ({x: x_result, y: y_result} as Position) return value } - readTextInputOptions(): TextInputOptions { + public readProgressStyleOptions(): ProgressStyleOptions { let valueDeserializer: Deserializer = this - const placeholder_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let placeholder_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (placeholder_buf_runtimeType)) + const enableSmoothEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableSmoothEffect_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableSmoothEffect_buf_runtimeType)) { - const placeholder_buf__selector: number = valueDeserializer.readInt8() - let placeholder_buf_: string | Resource | undefined|undefined - if (placeholder_buf__selector == 0) { - placeholder_buf_ = (valueDeserializer.readString() as string) + enableSmoothEffect_buf = valueDeserializer.readBoolean() + } + const enableSmoothEffect_result: boolean | undefined|undefined = enableSmoothEffect_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + const strokeWidth_buf__selector: number = valueDeserializer.readInt8() + let strokeWidth_buf_: string | number | Resource | undefined|undefined + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_ = (valueDeserializer.readString() as string) } - else if (placeholder_buf__selector == 1) { - placeholder_buf_ = valueDeserializer.readResource() + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for placeholder_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") } - placeholder_buf = (placeholder_buf_ as string | Resource) + strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) + } + const strokeWidth_result: Length | undefined|undefined = strokeWidth_buf + const scaleCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scaleCount_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scaleCount_buf_runtimeType)) + { + scaleCount_buf = (valueDeserializer.readNumber() as number) } - const placeholder_result: ResourceStr | undefined|undefined = placeholder_buf - const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let text_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) + const scaleCount_result: number | undefined|undefined = scaleCount_buf + const scaleWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scaleWidth_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scaleWidth_buf_runtimeType)) { - const text_buf__selector: number = valueDeserializer.readInt8() - let text_buf_: string | Resource | undefined|undefined - if (text_buf__selector == 0) { - text_buf_ = (valueDeserializer.readString() as string) + const scaleWidth_buf__selector: number = valueDeserializer.readInt8() + let scaleWidth_buf_: string | number | Resource | undefined|undefined + if (scaleWidth_buf__selector == 0) { + scaleWidth_buf_ = (valueDeserializer.readString() as string) } - else if (text_buf__selector == 1) { - text_buf_ = valueDeserializer.readResource() + else if (scaleWidth_buf__selector == 1) { + scaleWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (scaleWidth_buf__selector == 2) { + scaleWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for scaleWidth_buf_ has to be chosen through deserialisation.") } - text_buf = (text_buf_ as string | Resource) - } - const text_result: ResourceStr | undefined|undefined = text_buf - const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let controller_buf: TextInputController | undefined|undefined - if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) - { - controller_buf = (valueDeserializer.readTextInputController() as TextInputController) + scaleWidth_buf = (scaleWidth_buf_ as string | number | Resource) } - const controller_result: TextInputController | undefined|undefined = controller_buf - let value: TextInputOptions = ({placeholder: placeholder_result, text: text_result, controller: controller_result} as TextInputOptions) + const scaleWidth_result: Length | undefined|undefined = scaleWidth_buf + let value: ProgressStyleOptions = ({enableSmoothEffect: enableSmoothEffect_result, strokeWidth: strokeWidth_result, scaleCount: scaleCount_result, scaleWidth: scaleWidth_result} as ProgressStyleOptions) return value } - readTextMenuItem(): TextMenuItem { + public readRadialGradientOptions(): RadialGradientOptions { let valueDeserializer: Deserializer = this - const content_buf_selector: number = valueDeserializer.readInt8() - let content_buf: string | Resource | undefined|undefined - if (content_buf_selector == 0) { - content_buf = (valueDeserializer.readString() as string) + const center_buf_value0_buf_selector: number = valueDeserializer.readInt8() + let center_buf_value0_buf: string | number | Resource | undefined|undefined + if (center_buf_value0_buf_selector == 0) { + center_buf_value0_buf = (valueDeserializer.readString() as string) } - else if (content_buf_selector == 1) { - content_buf = valueDeserializer.readResource() + else if (center_buf_value0_buf_selector == 1) { + center_buf_value0_buf = (valueDeserializer.readNumber() as number) + } + else if (center_buf_value0_buf_selector == 2) { + center_buf_value0_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for content_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for center_buf_value0_buf has to be chosen through deserialisation.") } - const content_result: ResourceStr = (content_buf as string | Resource) - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) - { - const icon_buf__selector: number = valueDeserializer.readInt8() - let icon_buf_: string | Resource | undefined|undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + const center_buf_value0: Length = (center_buf_value0_buf as string | number | Resource) + const center_buf_value1_buf_selector: number = valueDeserializer.readInt8() + let center_buf_value1_buf: string | number | Resource | undefined|undefined + if (center_buf_value1_buf_selector == 0) { + center_buf_value1_buf = (valueDeserializer.readString() as string) + } + else if (center_buf_value1_buf_selector == 1) { + center_buf_value1_buf = (valueDeserializer.readNumber() as number) + } + else if (center_buf_value1_buf_selector == 2) { + center_buf_value1_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for center_buf_value1_buf has to be chosen through deserialisation.") + } + const center_buf_value1: Length = (center_buf_value1_buf as string | number | Resource) + const center_result: [ Length, Length ] = ([center_buf_value0, center_buf_value1] as [ Length, Length ]) + const radius_buf_selector: number = valueDeserializer.readInt8() + let radius_buf: string | number | Resource | undefined|undefined + if (radius_buf_selector == 0) { + radius_buf = (valueDeserializer.readString() as string) + } + else if (radius_buf_selector == 1) { + radius_buf = (valueDeserializer.readNumber() as number) + } + else if (radius_buf_selector == 2) { + radius_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for radius_buf has to be chosen through deserialisation.") + } + const radius_result: Length = (radius_buf as string | number | Resource) + const colors_buf_length: int32 = valueDeserializer.readInt32() + let colors_buf: Array<[ ResourceColor, number ]> = new Array<[ ResourceColor, number ]>(colors_buf_length) + for (let colors_buf_i = 0; colors_buf_i < colors_buf_length; colors_buf_i++) { + const colors_buf_buf_value0_buf_selector: number = valueDeserializer.readInt8() + let colors_buf_buf_value0_buf: Color | number | string | Resource | undefined|undefined + if (colors_buf_buf_value0_buf_selector == 0) { + colors_buf_buf_value0_buf = valueDeserializer.readInt32() } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (colors_buf_buf_value0_buf_selector == 1) { + colors_buf_buf_value0_buf = (valueDeserializer.readNumber() as number) + } + else if (colors_buf_buf_value0_buf_selector == 2) { + colors_buf_buf_value0_buf = (valueDeserializer.readString() as string) + } + else if (colors_buf_buf_value0_buf_selector == 3) { + colors_buf_buf_value0_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for colors_buf_buf_value0_buf has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) + const colors_buf_buf_value0: ResourceColor = (colors_buf_buf_value0_buf as Color | number | string | Resource) + const colors_buf_buf_value1: number = (valueDeserializer.readNumber() as number) + colors_buf[colors_buf_i] = ([colors_buf_buf_value0, colors_buf_buf_value1] as [ ResourceColor, number ]) } - const icon_result: ResourceStr | undefined|undefined = icon_buf - const id_result: TextMenuItemId = (valueDeserializer.readTextMenuItemId() as TextMenuItemId) - let value: TextMenuItem = ({content: content_result, icon: icon_result, id: id_result} as TextMenuItem) + const colors_result: Array<[ ResourceColor, number ]> = colors_buf + const repeating_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let repeating_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (repeating_buf_runtimeType)) + { + repeating_buf = valueDeserializer.readBoolean() + } + const repeating_result: boolean | undefined|undefined = repeating_buf + let value: RadialGradientOptions = ({center: center_result, radius: radius_result, colors: colors_result, repeating: repeating_result} as RadialGradientOptions) return value } - readTextPickerOptions(): TextPickerOptions { + public readRectangle(): Rectangle { let valueDeserializer: Deserializer = this - const range_buf_selector: number = valueDeserializer.readInt8() - let range_buf: Array | Array> | Resource | Array | Array | undefined|undefined - if (range_buf_selector == 0) { - const range_buf_u_length: int32 = valueDeserializer.readInt32() - let range_buf_u: Array = new Array(range_buf_u_length) - for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { - range_buf_u[range_buf_u_i] = (valueDeserializer.readString() as string) + const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let x_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (x_buf_runtimeType)) + { + const x_buf__selector: number = valueDeserializer.readInt8() + let x_buf_: string | number | Resource | undefined|undefined + if (x_buf__selector == 0) { + x_buf_ = (valueDeserializer.readString() as string) } - range_buf = range_buf_u - } - else if (range_buf_selector == 1) { - const range_buf_u_length: int32 = valueDeserializer.readInt32() - let range_buf_u: Array> = new Array>(range_buf_u_length) - for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { - const range_buf_u_buf_length: int32 = valueDeserializer.readInt32() - let range_buf_u_buf: Array = new Array(range_buf_u_buf_length) - for (let range_buf_u_buf_i = 0; range_buf_u_buf_i < range_buf_u_buf_length; range_buf_u_buf_i++) { - range_buf_u_buf[range_buf_u_buf_i] = (valueDeserializer.readString() as string) - } - range_buf_u[range_buf_u_i] = range_buf_u_buf + else if (x_buf__selector == 1) { + x_buf_ = (valueDeserializer.readNumber() as number) } - range_buf = range_buf_u - } - else if (range_buf_selector == 2) { - range_buf = valueDeserializer.readResource() - } - else if (range_buf_selector == 3) { - const range_buf_u_length: int32 = valueDeserializer.readInt32() - let range_buf_u: Array = new Array(range_buf_u_length) - for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { - range_buf_u[range_buf_u_i] = valueDeserializer.readTextPickerRangeContent() + else if (x_buf__selector == 2) { + x_buf_ = valueDeserializer.readResource() } - range_buf = range_buf_u - } - else if (range_buf_selector == 4) { - const range_buf_u_length: int32 = valueDeserializer.readInt32() - let range_buf_u: Array = new Array(range_buf_u_length) - for (let range_buf_u_i = 0; range_buf_u_i < range_buf_u_length; range_buf_u_i++) { - range_buf_u[range_buf_u_i] = valueDeserializer.readTextCascadePickerRangeContent() + else { + throw new Error("One of the branches for x_buf_ has to be chosen through deserialisation.") } - range_buf = range_buf_u - } - else { - throw new Error("One of the branches for range_buf has to be chosen through deserialisation.") + x_buf = (x_buf_ as string | number | Resource) } - const range_result: Array | Array> | Resource | Array | Array = (range_buf as Array | Array> | Resource | Array | Array) - const value_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let value_buf: string | Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (value_buf_runtimeType)) + const x_result: Length | undefined|undefined = x_buf + const y_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let y_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (y_buf_runtimeType)) { - const value_buf__selector: number = valueDeserializer.readInt8() - let value_buf_: string | Array | undefined|undefined - if (value_buf__selector == 0) { - value_buf_ = (valueDeserializer.readString() as string) + const y_buf__selector: number = valueDeserializer.readInt8() + let y_buf_: string | number | Resource | undefined|undefined + if (y_buf__selector == 0) { + y_buf_ = (valueDeserializer.readString() as string) } - else if (value_buf__selector == 1) { - const value_buf__u_length: int32 = valueDeserializer.readInt32() - let value_buf__u: Array = new Array(value_buf__u_length) - for (let value_buf__u_i = 0; value_buf__u_i < value_buf__u_length; value_buf__u_i++) { - value_buf__u[value_buf__u_i] = (valueDeserializer.readString() as string) - } - value_buf_ = value_buf__u + else if (y_buf__selector == 1) { + y_buf_ = (valueDeserializer.readNumber() as number) + } + else if (y_buf__selector == 2) { + y_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for value_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for y_buf_ has to be chosen through deserialisation.") } - value_buf = (value_buf_ as string | Array) + y_buf = (y_buf_ as string | number | Resource) } - const value_result: string | Array | undefined|undefined = value_buf - const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let selected_buf: number | Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (selected_buf_runtimeType)) + const y_result: Length | undefined|undefined = y_buf + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) { - const selected_buf__selector: number = valueDeserializer.readInt8() - let selected_buf_: number | Array | undefined|undefined - if (selected_buf__selector == 0) { - selected_buf_ = (valueDeserializer.readNumber() as number) + const width_buf__selector: number = valueDeserializer.readInt8() + let width_buf_: string | number | Resource | undefined|undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readString() as string) } - else if (selected_buf__selector == 1) { - const selected_buf__u_length: int32 = valueDeserializer.readInt32() - let selected_buf__u: Array = new Array(selected_buf__u_length) - for (let selected_buf__u_i = 0; selected_buf__u_i < selected_buf__u_length; selected_buf__u_i++) { - selected_buf__u[selected_buf__u_i] = (valueDeserializer.readNumber() as number) - } - selected_buf_ = selected_buf__u + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readNumber() as number) + } + else if (width_buf__selector == 2) { + width_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for selected_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") } - selected_buf = (selected_buf_ as number | Array) - } - const selected_result: number | Array | undefined|undefined = selected_buf - let value: TextPickerOptions = ({range: range_result, value: value_result, selected: selected_result} as TextPickerOptions) - return value - } - readTextPickerRangeContent(): TextPickerRangeContent { - let valueDeserializer: Deserializer = this - const icon_buf_selector: number = valueDeserializer.readInt8() - let icon_buf: string | Resource | undefined|undefined - if (icon_buf_selector == 0) { - icon_buf = (valueDeserializer.readString() as string) - } - else if (icon_buf_selector == 1) { - icon_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for icon_buf has to be chosen through deserialisation.") + width_buf = (width_buf_ as string | number | Resource) } - const icon_result: string | Resource = (icon_buf as string | Resource) - const text_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let text_buf: string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (text_buf_runtimeType)) + const width_result: Length | undefined|undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) { - const text_buf__selector: number = valueDeserializer.readInt8() - let text_buf_: string | Resource | undefined|undefined - if (text_buf__selector == 0) { - text_buf_ = (valueDeserializer.readString() as string) + const height_buf__selector: number = valueDeserializer.readInt8() + let height_buf_: string | number | Resource | undefined|undefined + if (height_buf__selector == 0) { + height_buf_ = (valueDeserializer.readString() as string) } - else if (text_buf__selector == 1) { - text_buf_ = valueDeserializer.readResource() + else if (height_buf__selector == 1) { + height_buf_ = (valueDeserializer.readNumber() as number) + } + else if (height_buf__selector == 2) { + height_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for text_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") } - text_buf = (text_buf_ as string | Resource) + height_buf = (height_buf_ as string | number | Resource) } - const text_result: string | Resource | undefined|undefined = text_buf - let value: TextPickerRangeContent = ({icon: icon_result, text: text_result} as TextPickerRangeContent) + const height_result: Length | undefined|undefined = height_buf + let value: Rectangle = ({x: x_result, y: y_result, width: width_result, height: height_result} as Rectangle) return value } - readTextPickerResult(): TextPickerResult { + public readRenderNode(): RenderNode { let valueDeserializer: Deserializer = this - const value_buf_selector: number = valueDeserializer.readInt8() - let value_buf: string | Array | undefined|undefined - if (value_buf_selector == 0) { - value_buf = (valueDeserializer.readString() as string) - } - else if (value_buf_selector == 1) { - const value_buf_u_length: int32 = valueDeserializer.readInt32() - let value_buf_u: Array = new Array(value_buf_u_length) - for (let value_buf_u_i = 0; value_buf_u_i < value_buf_u_length; value_buf_u_i++) { - value_buf_u[value_buf_u_i] = (valueDeserializer.readString() as string) - } - value_buf = value_buf_u - } - else { - throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") - } - const value_result: string | Array = (value_buf as string | Array) - const index_buf_selector: number = valueDeserializer.readInt8() - let index_buf: number | Array | undefined|undefined - if (index_buf_selector == 0) { - index_buf = (valueDeserializer.readNumber() as number) - } - else if (index_buf_selector == 1) { - const index_buf_u_length: int32 = valueDeserializer.readInt32() - let index_buf_u: Array = new Array(index_buf_u_length) - for (let index_buf_u_i = 0; index_buf_u_i < index_buf_u_length; index_buf_u_i++) { - index_buf_u[index_buf_u_i] = (valueDeserializer.readNumber() as number) - } - index_buf = index_buf_u - } - else { - throw new Error("One of the branches for index_buf has to be chosen through deserialisation.") - } - const index_result: number | Array = (index_buf as number | Array) - let value: TextPickerResult = ({value: value_result, index: index_result} as TextPickerResult) - return value + let ptr: KPointer = valueDeserializer.readPointer() + return RenderNodeInternal.fromPtr(ptr) } - readTextShadow(): TextShadow { + public readRichEditorSymbolSpanOptions(): RichEditorSymbolSpanOptions { let valueDeserializer: Deserializer = this - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: common2D.Color | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) - { - color_buf = valueDeserializer.readcommon2D_Color() - } - const color_result: common2D.Color | undefined|undefined = color_buf - const point_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let point_buf: common2D.Point | undefined|undefined - if ((RuntimeType.UNDEFINED) != (point_buf_runtimeType)) + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - point_buf = valueDeserializer.readcommon2D_Point() + offset_buf = (valueDeserializer.readNumber() as number) } - const point_result: common2D.Point | undefined|undefined = point_buf - const blurRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let blurRadius_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (blurRadius_buf_runtimeType)) + const offset_result: number | undefined|undefined = offset_buf + const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let style_buf: RichEditorSymbolSpanStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) { - blurRadius_buf = (valueDeserializer.readNumber() as number) + style_buf = valueDeserializer.readRichEditorSymbolSpanStyle() } - const blurRadius_result: number | undefined|undefined = blurRadius_buf - let value: TextShadow = ({color: color_result, point: point_result, blurRadius: blurRadius_result} as TextShadow) + const style_result: RichEditorSymbolSpanStyle | undefined|undefined = style_buf + let value: RichEditorSymbolSpanOptions = ({offset: offset_result, style: style_result} as RichEditorSymbolSpanOptions) return value } - readTextStyle_styled_string(): TextStyle_styled_string { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return TextStyle_styled_stringInternal.fromPtr(ptr) - } - readTextStyleInterface(): TextStyleInterface { + public readRingStyleOptions(): RingStyleOptions { let valueDeserializer: Deserializer = this - const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) + const enableScanEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableScanEffect_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableScanEffect_buf_runtimeType)) { - const fontColor_buf__selector: number = valueDeserializer.readInt8() - let fontColor_buf_: Color | number | string | Resource | undefined|undefined - if (fontColor_buf__selector == 0) { - fontColor_buf_ = valueDeserializer.readInt32() - } - else if (fontColor_buf__selector == 1) { - fontColor_buf_ = (valueDeserializer.readNumber() as number) + enableScanEffect_buf = valueDeserializer.readBoolean() + } + const enableScanEffect_result: boolean | undefined|undefined = enableScanEffect_buf + const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let strokeWidth_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) + { + const strokeWidth_buf__selector: number = valueDeserializer.readInt8() + let strokeWidth_buf_: string | number | Resource | undefined|undefined + if (strokeWidth_buf__selector == 0) { + strokeWidth_buf_ = (valueDeserializer.readString() as string) } - else if (fontColor_buf__selector == 2) { - fontColor_buf_ = (valueDeserializer.readString() as string) + else if (strokeWidth_buf__selector == 1) { + strokeWidth_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontColor_buf__selector == 3) { - fontColor_buf_ = valueDeserializer.readResource() + else if (strokeWidth_buf__selector == 2) { + strokeWidth_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for strokeWidth_buf_ has to be chosen through deserialisation.") } - fontColor_buf = (fontColor_buf_ as Color | number | string | Resource) + strokeWidth_buf = (strokeWidth_buf_ as string | number | Resource) } - const fontColor_result: ResourceColor | undefined|undefined = fontColor_buf - const fontFamily_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFamily_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontFamily_buf_runtimeType)) + const strokeWidth_result: Length | undefined|undefined = strokeWidth_buf + const shadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let shadow_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (shadow_buf_runtimeType)) { - const fontFamily_buf__selector: number = valueDeserializer.readInt8() - let fontFamily_buf_: string | Resource | undefined|undefined - if (fontFamily_buf__selector == 0) { - fontFamily_buf_ = (valueDeserializer.readString() as string) - } - else if (fontFamily_buf__selector == 1) { - fontFamily_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for fontFamily_buf_ has to be chosen through deserialisation.") - } - fontFamily_buf = (fontFamily_buf_ as string | Resource) + shadow_buf = valueDeserializer.readBoolean() } - const fontFamily_result: ResourceStr | undefined|undefined = fontFamily_buf - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + const shadow_result: boolean | undefined|undefined = shadow_buf + const status_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let status_buf: ProgressStatus | undefined|undefined + if ((RuntimeType.UNDEFINED) != (status_buf_runtimeType)) { - fontSize_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + status_buf = valueDeserializer.readInt32() } - const fontSize_result: LengthMetrics | undefined|undefined = fontSize_buf - const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontWeight_buf: number | FontWeight | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + const status_result: ProgressStatus | undefined|undefined = status_buf + let value: RingStyleOptions = ({enableScanEffect: enableScanEffect_result, strokeWidth: strokeWidth_result, shadow: shadow_result, status: status_result} as RingStyleOptions) + return value + } + public readScrollableBarModeOptions(): ScrollableBarModeOptions { + let valueDeserializer: Deserializer = this + const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let margin_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) { - const fontWeight_buf__selector: number = valueDeserializer.readInt8() - let fontWeight_buf_: number | FontWeight | string | undefined|undefined - if (fontWeight_buf__selector == 0) { - fontWeight_buf_ = (valueDeserializer.readNumber() as number) + const margin_buf__selector: number = valueDeserializer.readInt8() + let margin_buf_: string | number | Resource | undefined|undefined + if (margin_buf__selector == 0) { + margin_buf_ = (valueDeserializer.readString() as string) } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_ = valueDeserializer.readInt32() + else if (margin_buf__selector == 1) { + margin_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_ = (valueDeserializer.readString() as string) + else if (margin_buf__selector == 2) { + margin_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") } - fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) + margin_buf = (margin_buf_ as string | number | Resource) } - const fontWeight_result: number | FontWeight | string | undefined|undefined = fontWeight_buf - const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontStyle_buf: FontStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) + const margin_result: Dimension | undefined|undefined = margin_buf + const nonScrollableLayoutStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let nonScrollableLayoutStyle_buf: LayoutStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (nonScrollableLayoutStyle_buf_runtimeType)) { - fontStyle_buf = valueDeserializer.readInt32() + nonScrollableLayoutStyle_buf = valueDeserializer.readInt32() } - const fontStyle_result: FontStyle | undefined|undefined = fontStyle_buf - let value: TextStyleInterface = ({fontColor: fontColor_result, fontFamily: fontFamily_result, fontSize: fontSize_result, fontWeight: fontWeight_result, fontStyle: fontStyle_result} as TextStyleInterface) + const nonScrollableLayoutStyle_result: LayoutStyle | undefined|undefined = nonScrollableLayoutStyle_buf + let value: ScrollableBarModeOptions = ({margin: margin_result, nonScrollableLayoutStyle: nonScrollableLayoutStyle_result} as ScrollableBarModeOptions) return value } - readTodayStyle(): TodayStyle { + public readScrollSnapOptions(): ScrollSnapOptions { let valueDeserializer: Deserializer = this - const focusedDayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let focusedDayColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (focusedDayColor_buf_runtimeType)) + const snapAlign_result: ScrollSnapAlign = valueDeserializer.readInt32() + const snapPagination_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let snapPagination_buf: Dimension | Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (snapPagination_buf_runtimeType)) { - const focusedDayColor_buf__selector: number = valueDeserializer.readInt8() - let focusedDayColor_buf_: Color | number | string | Resource | undefined|undefined - if (focusedDayColor_buf__selector == 0) { - focusedDayColor_buf_ = valueDeserializer.readInt32() - } - else if (focusedDayColor_buf__selector == 1) { - focusedDayColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (focusedDayColor_buf__selector == 2) { - focusedDayColor_buf_ = (valueDeserializer.readString() as string) + const snapPagination_buf__selector: number = valueDeserializer.readInt8() + let snapPagination_buf_: Dimension | Array | undefined|undefined + if (snapPagination_buf__selector == 0) { + const snapPagination_buf__u_selector: number = valueDeserializer.readInt8() + let snapPagination_buf__u: string | number | Resource | undefined|undefined + if (snapPagination_buf__u_selector == 0) { + snapPagination_buf__u = (valueDeserializer.readString() as string) + } + else if (snapPagination_buf__u_selector == 1) { + snapPagination_buf__u = (valueDeserializer.readNumber() as number) + } + else if (snapPagination_buf__u_selector == 2) { + snapPagination_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for snapPagination_buf__u has to be chosen through deserialisation.") + } + snapPagination_buf_ = (snapPagination_buf__u as string | number | Resource) } - else if (focusedDayColor_buf__selector == 3) { - focusedDayColor_buf_ = valueDeserializer.readResource() + else if (snapPagination_buf__selector == 1) { + const snapPagination_buf__u_length: int32 = valueDeserializer.readInt32() + let snapPagination_buf__u: Array = new Array(snapPagination_buf__u_length) + for (let snapPagination_buf__u_i = 0; snapPagination_buf__u_i < snapPagination_buf__u_length; snapPagination_buf__u_i++) { + const snapPagination_buf__u_buf_selector: number = valueDeserializer.readInt8() + let snapPagination_buf__u_buf: string | number | Resource | undefined|undefined + if (snapPagination_buf__u_buf_selector == 0) { + snapPagination_buf__u_buf = (valueDeserializer.readString() as string) + } + else if (snapPagination_buf__u_buf_selector == 1) { + snapPagination_buf__u_buf = (valueDeserializer.readNumber() as number) + } + else if (snapPagination_buf__u_buf_selector == 2) { + snapPagination_buf__u_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for snapPagination_buf__u_buf has to be chosen through deserialisation.") + } + snapPagination_buf__u[snapPagination_buf__u_i] = (snapPagination_buf__u_buf as string | number | Resource) + } + snapPagination_buf_ = snapPagination_buf__u } else { - throw new Error("One of the branches for focusedDayColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for snapPagination_buf_ has to be chosen through deserialisation.") } - focusedDayColor_buf = (focusedDayColor_buf_ as Color | number | string | Resource) + snapPagination_buf = (snapPagination_buf_ as Dimension | Array) } - const focusedDayColor_result: ResourceColor | undefined|undefined = focusedDayColor_buf - const focusedLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let focusedLunarColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (focusedLunarColor_buf_runtimeType)) + const snapPagination_result: Dimension | Array | undefined|undefined = snapPagination_buf + const enableSnapToStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableSnapToStart_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableSnapToStart_buf_runtimeType)) { - const focusedLunarColor_buf__selector: number = valueDeserializer.readInt8() - let focusedLunarColor_buf_: Color | number | string | Resource | undefined|undefined - if (focusedLunarColor_buf__selector == 0) { - focusedLunarColor_buf_ = valueDeserializer.readInt32() - } - else if (focusedLunarColor_buf__selector == 1) { - focusedLunarColor_buf_ = (valueDeserializer.readNumber() as number) + enableSnapToStart_buf = valueDeserializer.readBoolean() + } + const enableSnapToStart_result: boolean | undefined|undefined = enableSnapToStart_buf + const enableSnapToEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableSnapToEnd_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableSnapToEnd_buf_runtimeType)) + { + enableSnapToEnd_buf = valueDeserializer.readBoolean() + } + const enableSnapToEnd_result: boolean | undefined|undefined = enableSnapToEnd_buf + let value: ScrollSnapOptions = ({snapAlign: snapAlign_result, snapPagination: snapPagination_result, enableSnapToStart: enableSnapToStart_result, enableSnapToEnd: enableSnapToEnd_result} as ScrollSnapOptions) + return value + } + public readSearchButtonOptions(): SearchButtonOptions { + let valueDeserializer: Deserializer = this + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + { + const fontSize_buf__selector: number = valueDeserializer.readInt8() + let fontSize_buf_: string | number | Resource | undefined|undefined + if (fontSize_buf__selector == 0) { + fontSize_buf_ = (valueDeserializer.readString() as string) } - else if (focusedLunarColor_buf__selector == 2) { - focusedLunarColor_buf_ = (valueDeserializer.readString() as string) + else if (fontSize_buf__selector == 1) { + fontSize_buf_ = (valueDeserializer.readNumber() as number) } - else if (focusedLunarColor_buf__selector == 3) { - focusedLunarColor_buf_ = valueDeserializer.readResource() + else if (fontSize_buf__selector == 2) { + fontSize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for focusedLunarColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") } - focusedLunarColor_buf = (focusedLunarColor_buf_ as Color | number | string | Resource) + fontSize_buf = (fontSize_buf_ as string | number | Resource) } - const focusedLunarColor_result: ResourceColor | undefined|undefined = focusedLunarColor_buf - const focusedAreaBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let focusedAreaBackgroundColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (focusedAreaBackgroundColor_buf_runtimeType)) + const fontSize_result: Length | undefined|undefined = fontSize_buf + const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) { - const focusedAreaBackgroundColor_buf__selector: number = valueDeserializer.readInt8() - let focusedAreaBackgroundColor_buf_: Color | number | string | Resource | undefined|undefined - if (focusedAreaBackgroundColor_buf__selector == 0) { - focusedAreaBackgroundColor_buf_ = valueDeserializer.readInt32() + const fontColor_buf__selector: number = valueDeserializer.readInt8() + let fontColor_buf_: Color | number | string | Resource | undefined|undefined + if (fontColor_buf__selector == 0) { + fontColor_buf_ = valueDeserializer.readInt32() } - else if (focusedAreaBackgroundColor_buf__selector == 1) { - focusedAreaBackgroundColor_buf_ = (valueDeserializer.readNumber() as number) + else if (fontColor_buf__selector == 1) { + fontColor_buf_ = (valueDeserializer.readNumber() as number) } - else if (focusedAreaBackgroundColor_buf__selector == 2) { - focusedAreaBackgroundColor_buf_ = (valueDeserializer.readString() as string) + else if (fontColor_buf__selector == 2) { + fontColor_buf_ = (valueDeserializer.readString() as string) } - else if (focusedAreaBackgroundColor_buf__selector == 3) { - focusedAreaBackgroundColor_buf_ = valueDeserializer.readResource() + else if (fontColor_buf__selector == 3) { + fontColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for focusedAreaBackgroundColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontColor_buf_ has to be chosen through deserialisation.") } - focusedAreaBackgroundColor_buf = (focusedAreaBackgroundColor_buf_ as Color | number | string | Resource) + fontColor_buf = (fontColor_buf_ as Color | number | string | Resource) } - const focusedAreaBackgroundColor_result: ResourceColor | undefined|undefined = focusedAreaBackgroundColor_buf - const focusedAreaRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let focusedAreaRadius_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (focusedAreaRadius_buf_runtimeType)) + const fontColor_result: ResourceColor | undefined|undefined = fontColor_buf + const autoDisable_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let autoDisable_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (autoDisable_buf_runtimeType)) { - focusedAreaRadius_buf = (valueDeserializer.readNumber() as number) + autoDisable_buf = valueDeserializer.readBoolean() } - const focusedAreaRadius_result: number | undefined|undefined = focusedAreaRadius_buf - let value: TodayStyle = ({focusedDayColor: focusedDayColor_result, focusedLunarColor: focusedLunarColor_result, focusedAreaBackgroundColor: focusedAreaBackgroundColor_result, focusedAreaRadius: focusedAreaRadius_result} as TodayStyle) + const autoDisable_result: boolean | undefined|undefined = autoDisable_buf + let value: SearchButtonOptions = ({fontSize: fontSize_result, fontColor: fontColor_result, autoDisable: autoDisable_result} as SearchButtonOptions) return value } - readToolbarItem(): ToolbarItem { + public readSizeOptions(): SizeOptions { let valueDeserializer: Deserializer = this - const value_buf_selector: number = valueDeserializer.readInt8() - let value_buf: string | Resource | undefined|undefined - if (value_buf_selector == 0) { - value_buf = (valueDeserializer.readString() as string) - } - else if (value_buf_selector == 1) { - value_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for value_buf has to be chosen through deserialisation.") - } - const value_result: ResourceStr = (value_buf as string | Resource) - const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icon_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (icon_buf_runtimeType)) + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) { - const icon_buf__selector: number = valueDeserializer.readInt8() - let icon_buf_: string | Resource | undefined|undefined - if (icon_buf__selector == 0) { - icon_buf_ = (valueDeserializer.readString() as string) + const width_buf__selector: number = valueDeserializer.readInt8() + let width_buf_: string | number | Resource | undefined|undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readString() as string) } - else if (icon_buf__selector == 1) { - icon_buf_ = valueDeserializer.readResource() + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readNumber() as number) + } + else if (width_buf__selector == 2) { + width_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for icon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") } - icon_buf = (icon_buf_ as string | Resource) - } - const icon_result: ResourceStr | undefined|undefined = icon_buf - const symbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let symbolIcon_buf: SymbolGlyphModifier | undefined|undefined - if ((RuntimeType.UNDEFINED) != (symbolIcon_buf_runtimeType)) - { - symbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() - } - const symbolIcon_result: SymbolGlyphModifier | undefined|undefined = symbolIcon_buf - const action_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let action_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (action_buf_runtimeType)) - { - action_buf = valueDeserializer.readCallback_Void() - } - const action_result: (() => void) | undefined|undefined = action_buf - const status_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let status_buf: ToolbarItemStatus | undefined|undefined - if ((RuntimeType.UNDEFINED) != (status_buf_runtimeType)) - { - status_buf = valueDeserializer.readInt32() + width_buf = (width_buf_ as string | number | Resource) } - const status_result: ToolbarItemStatus | undefined|undefined = status_buf - const activeIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let activeIcon_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (activeIcon_buf_runtimeType)) + const width_result: Length | undefined|undefined = width_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) { - const activeIcon_buf__selector: number = valueDeserializer.readInt8() - let activeIcon_buf_: string | Resource | undefined|undefined - if (activeIcon_buf__selector == 0) { - activeIcon_buf_ = (valueDeserializer.readString() as string) + const height_buf__selector: number = valueDeserializer.readInt8() + let height_buf_: string | number | Resource | undefined|undefined + if (height_buf__selector == 0) { + height_buf_ = (valueDeserializer.readString() as string) } - else if (activeIcon_buf__selector == 1) { - activeIcon_buf_ = valueDeserializer.readResource() + else if (height_buf__selector == 1) { + height_buf_ = (valueDeserializer.readNumber() as number) + } + else if (height_buf__selector == 2) { + height_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for activeIcon_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") } - activeIcon_buf = (activeIcon_buf_ as string | Resource) - } - const activeIcon_result: ResourceStr | undefined|undefined = activeIcon_buf - const activeSymbolIcon_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let activeSymbolIcon_buf: SymbolGlyphModifier | undefined|undefined - if ((RuntimeType.UNDEFINED) != (activeSymbolIcon_buf_runtimeType)) - { - activeSymbolIcon_buf = valueDeserializer.readSymbolGlyphModifier() + height_buf = (height_buf_ as string | number | Resource) } - const activeSymbolIcon_result: SymbolGlyphModifier | undefined|undefined = activeSymbolIcon_buf - let value: ToolbarItem = ({value: value_result, icon: icon_result, symbolIcon: symbolIcon_result, action: action_result, status: status_result, activeIcon: activeIcon_result, activeSymbolIcon: activeSymbolIcon_result} as ToolbarItem) + const height_result: Length | undefined|undefined = height_buf + let value: SizeOptions = ({width: width_result, height: height_result} as SizeOptions) return value } - readTransitionOptions(): TransitionOptions { + public readSweepGradientOptions(): SweepGradientOptions { let valueDeserializer: Deserializer = this - const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let type_buf: TransitionType | undefined|undefined - if ((RuntimeType.UNDEFINED) != (type_buf_runtimeType)) - { - type_buf = valueDeserializer.readInt32() + const center_buf_value0_buf_selector: number = valueDeserializer.readInt8() + let center_buf_value0_buf: string | number | Resource | undefined|undefined + if (center_buf_value0_buf_selector == 0) { + center_buf_value0_buf = (valueDeserializer.readString() as string) } - const type_result: TransitionType | undefined|undefined = type_buf - const opacity_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let opacity_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (opacity_buf_runtimeType)) - { - opacity_buf = (valueDeserializer.readNumber() as number) + else if (center_buf_value0_buf_selector == 1) { + center_buf_value0_buf = (valueDeserializer.readNumber() as number) } - const opacity_result: number | undefined|undefined = opacity_buf - const translate_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let translate_buf: TranslateOptions | undefined|undefined - if ((RuntimeType.UNDEFINED) != (translate_buf_runtimeType)) - { - translate_buf = valueDeserializer.readTranslateOptions() + else if (center_buf_value0_buf_selector == 2) { + center_buf_value0_buf = valueDeserializer.readResource() } - const translate_result: TranslateOptions | undefined|undefined = translate_buf - const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scale_buf: ScaleOptions | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) - { - scale_buf = valueDeserializer.readScaleOptions() + else { + throw new Error("One of the branches for center_buf_value0_buf has to be chosen through deserialisation.") } - const scale_result: ScaleOptions | undefined|undefined = scale_buf - const rotate_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let rotate_buf: RotateOptions | undefined|undefined - if ((RuntimeType.UNDEFINED) != (rotate_buf_runtimeType)) - { - rotate_buf = valueDeserializer.readRotateOptions() + const center_buf_value0: Length = (center_buf_value0_buf as string | number | Resource) + const center_buf_value1_buf_selector: number = valueDeserializer.readInt8() + let center_buf_value1_buf: string | number | Resource | undefined|undefined + if (center_buf_value1_buf_selector == 0) { + center_buf_value1_buf = (valueDeserializer.readString() as string) } - const rotate_result: RotateOptions | undefined|undefined = rotate_buf - let value: TransitionOptions = ({type: type_result, opacity: opacity_result, translate: translate_result, scale: scale_result, rotate: rotate_result} as TransitionOptions) - return value - } - readUnderlineColor(): UnderlineColor { - let valueDeserializer: Deserializer = this - const typing_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let typing_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (typing_buf_runtimeType)) + else if (center_buf_value1_buf_selector == 1) { + center_buf_value1_buf = (valueDeserializer.readNumber() as number) + } + else if (center_buf_value1_buf_selector == 2) { + center_buf_value1_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for center_buf_value1_buf has to be chosen through deserialisation.") + } + const center_buf_value1: Length = (center_buf_value1_buf as string | number | Resource) + const center_result: [ Length, Length ] = ([center_buf_value0, center_buf_value1] as [ Length, Length ]) + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - const typing_buf__selector: number = valueDeserializer.readInt8() - let typing_buf_: Color | number | string | Resource | undefined|undefined - if (typing_buf__selector == 0) { - typing_buf_ = valueDeserializer.readInt32() - } - else if (typing_buf__selector == 1) { - typing_buf_ = (valueDeserializer.readNumber() as number) - } - else if (typing_buf__selector == 2) { - typing_buf_ = (valueDeserializer.readString() as string) - } - else if (typing_buf__selector == 3) { - typing_buf_ = valueDeserializer.readResource() + const start_buf__selector: number = valueDeserializer.readInt8() + let start_buf_: number | string | undefined|undefined + if (start_buf__selector == 0) { + start_buf_ = (valueDeserializer.readNumber() as number) + } + else if (start_buf__selector == 1) { + start_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for typing_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for start_buf_ has to be chosen through deserialisation.") } - typing_buf = (typing_buf_ as Color | number | string | Resource) + start_buf = (start_buf_ as number | string) } - const typing_result: ResourceColor | undefined|undefined = typing_buf - const normal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let normal_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (normal_buf_runtimeType)) + const start_result: number | string | undefined|undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - const normal_buf__selector: number = valueDeserializer.readInt8() - let normal_buf_: Color | number | string | Resource | undefined|undefined - if (normal_buf__selector == 0) { - normal_buf_ = valueDeserializer.readInt32() - } - else if (normal_buf__selector == 1) { - normal_buf_ = (valueDeserializer.readNumber() as number) - } - else if (normal_buf__selector == 2) { - normal_buf_ = (valueDeserializer.readString() as string) + const end_buf__selector: number = valueDeserializer.readInt8() + let end_buf_: number | string | undefined|undefined + if (end_buf__selector == 0) { + end_buf_ = (valueDeserializer.readNumber() as number) } - else if (normal_buf__selector == 3) { - normal_buf_ = valueDeserializer.readResource() + else if (end_buf__selector == 1) { + end_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for normal_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for end_buf_ has to be chosen through deserialisation.") } - normal_buf = (normal_buf_ as Color | number | string | Resource) + end_buf = (end_buf_ as number | string) } - const normal_result: ResourceColor | undefined|undefined = normal_buf - const error_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let error_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (error_buf_runtimeType)) + const end_result: number | string | undefined|undefined = end_buf + const rotation_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let rotation_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (rotation_buf_runtimeType)) { - const error_buf__selector: number = valueDeserializer.readInt8() - let error_buf_: Color | number | string | Resource | undefined|undefined - if (error_buf__selector == 0) { - error_buf_ = valueDeserializer.readInt32() + const rotation_buf__selector: number = valueDeserializer.readInt8() + let rotation_buf_: number | string | undefined|undefined + if (rotation_buf__selector == 0) { + rotation_buf_ = (valueDeserializer.readNumber() as number) } - else if (error_buf__selector == 1) { - error_buf_ = (valueDeserializer.readNumber() as number) - } - else if (error_buf__selector == 2) { - error_buf_ = (valueDeserializer.readString() as string) - } - else if (error_buf__selector == 3) { - error_buf_ = valueDeserializer.readResource() + else if (rotation_buf__selector == 1) { + rotation_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for error_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for rotation_buf_ has to be chosen through deserialisation.") } - error_buf = (error_buf_ as Color | number | string | Resource) + rotation_buf = (rotation_buf_ as number | string) } - const error_result: ResourceColor | undefined|undefined = error_buf - const disable_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let disable_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (disable_buf_runtimeType)) - { - const disable_buf__selector: number = valueDeserializer.readInt8() - let disable_buf_: Color | number | string | Resource | undefined|undefined - if (disable_buf__selector == 0) { - disable_buf_ = valueDeserializer.readInt32() + const rotation_result: number | string | undefined|undefined = rotation_buf + const colors_buf_length: int32 = valueDeserializer.readInt32() + let colors_buf: Array<[ ResourceColor, number ]> = new Array<[ ResourceColor, number ]>(colors_buf_length) + for (let colors_buf_i = 0; colors_buf_i < colors_buf_length; colors_buf_i++) { + const colors_buf_buf_value0_buf_selector: number = valueDeserializer.readInt8() + let colors_buf_buf_value0_buf: Color | number | string | Resource | undefined|undefined + if (colors_buf_buf_value0_buf_selector == 0) { + colors_buf_buf_value0_buf = valueDeserializer.readInt32() } - else if (disable_buf__selector == 1) { - disable_buf_ = (valueDeserializer.readNumber() as number) + else if (colors_buf_buf_value0_buf_selector == 1) { + colors_buf_buf_value0_buf = (valueDeserializer.readNumber() as number) } - else if (disable_buf__selector == 2) { - disable_buf_ = (valueDeserializer.readString() as string) + else if (colors_buf_buf_value0_buf_selector == 2) { + colors_buf_buf_value0_buf = (valueDeserializer.readString() as string) } - else if (disable_buf__selector == 3) { - disable_buf_ = valueDeserializer.readResource() + else if (colors_buf_buf_value0_buf_selector == 3) { + colors_buf_buf_value0_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for disable_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for colors_buf_buf_value0_buf has to be chosen through deserialisation.") } - disable_buf = (disable_buf_ as Color | number | string | Resource) + const colors_buf_buf_value0: ResourceColor = (colors_buf_buf_value0_buf as Color | number | string | Resource) + const colors_buf_buf_value1: number = (valueDeserializer.readNumber() as number) + colors_buf[colors_buf_i] = ([colors_buf_buf_value0, colors_buf_buf_value1] as [ ResourceColor, number ]) } - const disable_result: ResourceColor | undefined|undefined = disable_buf - let value: UnderlineColor = ({typing: typing_result, normal: normal_result, error: error_result, disable: disable_result} as UnderlineColor) + const colors_result: Array<[ ResourceColor, number ]> = colors_buf + const repeating_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let repeating_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (repeating_buf_runtimeType)) + { + repeating_buf = valueDeserializer.readBoolean() + } + const repeating_result: boolean | undefined|undefined = repeating_buf + let value: SweepGradientOptions = ({center: center_result, start: start_result, end: end_result, rotation: rotation_result, colors: colors_result, repeating: repeating_result} as SweepGradientOptions) return value } - readVideoOptions(): VideoOptions { + public readSwipeActionItem(): SwipeActionItem { let valueDeserializer: Deserializer = this - const src_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let src_buf: string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (src_buf_runtimeType)) + const builder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let builder_buf: CustomBuilder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (builder_buf_runtimeType)) { - const src_buf__selector: number = valueDeserializer.readInt8() - let src_buf_: string | Resource | undefined|undefined - if (src_buf__selector == 0) { - src_buf_ = (valueDeserializer.readString() as string) - } - else if (src_buf__selector == 1) { - src_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for src_buf_ has to be chosen through deserialisation.") - } - src_buf = (src_buf_ as string | Resource) + builder_buf = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) } - const src_result: string | Resource | undefined|undefined = src_buf - const currentProgressRate_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let currentProgressRate_buf: number | string | PlaybackSpeed | undefined|undefined - if ((RuntimeType.UNDEFINED) != (currentProgressRate_buf_runtimeType)) + const builder_result: CustomBuilder | undefined|undefined = builder_buf + const builderComponent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let builderComponent_buf: ComponentContent | undefined|undefined + if ((RuntimeType.UNDEFINED) != (builderComponent_buf_runtimeType)) { - const currentProgressRate_buf__selector: number = valueDeserializer.readInt8() - let currentProgressRate_buf_: number | string | PlaybackSpeed | undefined|undefined - if (currentProgressRate_buf__selector == 0) { - currentProgressRate_buf_ = (valueDeserializer.readNumber() as number) + builderComponent_buf = (valueDeserializer.readComponentContent() as ComponentContent) + } + const builderComponent_result: ComponentContent | undefined|undefined = builderComponent_buf + const actionAreaDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let actionAreaDistance_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (actionAreaDistance_buf_runtimeType)) + { + const actionAreaDistance_buf__selector: number = valueDeserializer.readInt8() + let actionAreaDistance_buf_: string | number | Resource | undefined|undefined + if (actionAreaDistance_buf__selector == 0) { + actionAreaDistance_buf_ = (valueDeserializer.readString() as string) } - else if (currentProgressRate_buf__selector == 1) { - currentProgressRate_buf_ = (valueDeserializer.readString() as string) + else if (actionAreaDistance_buf__selector == 1) { + actionAreaDistance_buf_ = (valueDeserializer.readNumber() as number) } - else if (currentProgressRate_buf__selector == 2) { - currentProgressRate_buf_ = valueDeserializer.readInt32() + else if (actionAreaDistance_buf__selector == 2) { + actionAreaDistance_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for currentProgressRate_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for actionAreaDistance_buf_ has to be chosen through deserialisation.") } - currentProgressRate_buf = (currentProgressRate_buf_ as number | string | PlaybackSpeed) + actionAreaDistance_buf = (actionAreaDistance_buf_ as string | number | Resource) } - const currentProgressRate_result: number | string | PlaybackSpeed | undefined|undefined = currentProgressRate_buf - const previewUri_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let previewUri_buf: string | PixelMap | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (previewUri_buf_runtimeType)) + const actionAreaDistance_result: Length | undefined|undefined = actionAreaDistance_buf + const onAction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onAction_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onAction_buf_runtimeType)) + { + onAction_buf = valueDeserializer.readCallback_Void() + } + const onAction_result: (() => void) | undefined|undefined = onAction_buf + const onEnterActionArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onEnterActionArea_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onEnterActionArea_buf_runtimeType)) + { + onEnterActionArea_buf = valueDeserializer.readCallback_Void() + } + const onEnterActionArea_result: (() => void) | undefined|undefined = onEnterActionArea_buf + const onExitActionArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onExitActionArea_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onExitActionArea_buf_runtimeType)) + { + onExitActionArea_buf = valueDeserializer.readCallback_Void() + } + const onExitActionArea_result: (() => void) | undefined|undefined = onExitActionArea_buf + const onStateChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onStateChange_buf: ((state: SwipeActionState) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onStateChange_buf_runtimeType)) + { + onStateChange_buf = valueDeserializer.readCallback_SwipeActionState_Void() + } + const onStateChange_result: ((state: SwipeActionState) => void) | undefined|undefined = onStateChange_buf + let value: SwipeActionItem = ({builder: builder_result, builderComponent: builderComponent_result, actionAreaDistance: actionAreaDistance_result, onAction: onAction_result, onEnterActionArea: onEnterActionArea_result, onExitActionArea: onExitActionArea_result, onStateChange: onStateChange_result} as SwipeActionItem) + return value + } + public readtext_TextStyle(): text.TextStyle { + let valueDeserializer: Deserializer = this + const decoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let decoration_buf: Decoration | undefined|undefined + if ((RuntimeType.UNDEFINED) != (decoration_buf_runtimeType)) + { + decoration_buf = valueDeserializer.readDecoration() + } + const decoration_result: Decoration | undefined|undefined = decoration_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: common2D.Color | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) + { + color_buf = valueDeserializer.readcommon2D_Color() + } + const color_result: common2D.Color | undefined|undefined = color_buf + const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontWeight_buf: FontWeight | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + { + fontWeight_buf = valueDeserializer.readInt32() + } + const fontWeight_result: FontWeight | undefined|undefined = fontWeight_buf + const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontStyle_buf: FontStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) + { + fontStyle_buf = valueDeserializer.readInt32() + } + const fontStyle_result: FontStyle | undefined|undefined = fontStyle_buf + const baseline_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let baseline_buf: TextBaseline | undefined|undefined + if ((RuntimeType.UNDEFINED) != (baseline_buf_runtimeType)) + { + baseline_buf = valueDeserializer.readInt32() + } + const baseline_result: TextBaseline | undefined|undefined = baseline_buf + const fontFamilies_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFamilies_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontFamilies_buf_runtimeType)) + { + const fontFamilies_buf__length: int32 = valueDeserializer.readInt32() + let fontFamilies_buf_: Array = new Array(fontFamilies_buf__length) + for (let fontFamilies_buf__i = 0; fontFamilies_buf__i < fontFamilies_buf__length; fontFamilies_buf__i++) { + fontFamilies_buf_[fontFamilies_buf__i] = (valueDeserializer.readString() as string) + } + fontFamilies_buf = fontFamilies_buf_ + } + const fontFamilies_result: Array | undefined|undefined = fontFamilies_buf + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + { + fontSize_buf = (valueDeserializer.readNumber() as number) + } + const fontSize_result: number | undefined|undefined = fontSize_buf + const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let letterSpacing_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) + { + letterSpacing_buf = (valueDeserializer.readNumber() as number) + } + const letterSpacing_result: number | undefined|undefined = letterSpacing_buf + const wordSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let wordSpacing_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (wordSpacing_buf_runtimeType)) + { + wordSpacing_buf = (valueDeserializer.readNumber() as number) + } + const wordSpacing_result: number | undefined|undefined = wordSpacing_buf + const heightScale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let heightScale_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (heightScale_buf_runtimeType)) + { + heightScale_buf = (valueDeserializer.readNumber() as number) + } + const heightScale_result: number | undefined|undefined = heightScale_buf + const halfLeading_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let halfLeading_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (halfLeading_buf_runtimeType)) { - const previewUri_buf__selector: number = valueDeserializer.readInt8() - let previewUri_buf_: string | PixelMap | Resource | undefined|undefined - if (previewUri_buf__selector == 0) { - previewUri_buf_ = (valueDeserializer.readString() as string) - } - else if (previewUri_buf__selector == 1) { - previewUri_buf_ = (valueDeserializer.readPixelMap() as PixelMap) - } - else if (previewUri_buf__selector == 2) { - previewUri_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for previewUri_buf_ has to be chosen through deserialisation.") - } - previewUri_buf = (previewUri_buf_ as string | PixelMap | Resource) + halfLeading_buf = valueDeserializer.readBoolean() } - const previewUri_result: string | PixelMap | Resource | undefined|undefined = previewUri_buf - const controller_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let controller_buf: VideoController | undefined|undefined - if ((RuntimeType.UNDEFINED) != (controller_buf_runtimeType)) + const halfLeading_result: boolean | undefined|undefined = halfLeading_buf + const heightOnly_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let heightOnly_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (heightOnly_buf_runtimeType)) { - controller_buf = (valueDeserializer.readVideoController() as VideoController) + heightOnly_buf = valueDeserializer.readBoolean() } - const controller_result: VideoController | undefined|undefined = controller_buf - const imageAIOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let imageAIOptions_buf: ImageAIOptions | undefined|undefined - if ((RuntimeType.UNDEFINED) != (imageAIOptions_buf_runtimeType)) + const heightOnly_result: boolean | undefined|undefined = heightOnly_buf + const ellipsis_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let ellipsis_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (ellipsis_buf_runtimeType)) { - imageAIOptions_buf = valueDeserializer.readImageAIOptions() + ellipsis_buf = (valueDeserializer.readString() as string) } - const imageAIOptions_result: ImageAIOptions | undefined|undefined = imageAIOptions_buf - let value: VideoOptions = ({src: src_result, currentProgressRate: currentProgressRate_result, previewUri: previewUri_result, controller: controller_result, imageAIOptions: imageAIOptions_result} as VideoOptions) - return value - } - readWeekStyle(): WeekStyle { - let valueDeserializer: Deserializer = this - const weekColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (weekColor_buf_runtimeType)) + const ellipsis_result: string | undefined|undefined = ellipsis_buf + const ellipsisMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let ellipsisMode_buf: EllipsisMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (ellipsisMode_buf_runtimeType)) { - const weekColor_buf__selector: number = valueDeserializer.readInt8() - let weekColor_buf_: Color | number | string | Resource | undefined|undefined - if (weekColor_buf__selector == 0) { - weekColor_buf_ = valueDeserializer.readInt32() - } - else if (weekColor_buf__selector == 1) { - weekColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (weekColor_buf__selector == 2) { - weekColor_buf_ = (valueDeserializer.readString() as string) - } - else if (weekColor_buf__selector == 3) { - weekColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for weekColor_buf_ has to be chosen through deserialisation.") - } - weekColor_buf = (weekColor_buf_ as Color | number | string | Resource) + ellipsisMode_buf = valueDeserializer.readInt32() } - const weekColor_result: ResourceColor | undefined|undefined = weekColor_buf - const weekendDayColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekendDayColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (weekendDayColor_buf_runtimeType)) + const ellipsisMode_result: EllipsisMode | undefined|undefined = ellipsisMode_buf + const locale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let locale_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (locale_buf_runtimeType)) { - const weekendDayColor_buf__selector: number = valueDeserializer.readInt8() - let weekendDayColor_buf_: Color | number | string | Resource | undefined|undefined - if (weekendDayColor_buf__selector == 0) { - weekendDayColor_buf_ = valueDeserializer.readInt32() - } - else if (weekendDayColor_buf__selector == 1) { - weekendDayColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (weekendDayColor_buf__selector == 2) { - weekendDayColor_buf_ = (valueDeserializer.readString() as string) - } - else if (weekendDayColor_buf__selector == 3) { - weekendDayColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for weekendDayColor_buf_ has to be chosen through deserialisation.") - } - weekendDayColor_buf = (weekendDayColor_buf_ as Color | number | string | Resource) + locale_buf = (valueDeserializer.readString() as string) } - const weekendDayColor_result: ResourceColor | undefined|undefined = weekendDayColor_buf - const weekendLunarColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekendLunarColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (weekendLunarColor_buf_runtimeType)) + const locale_result: string | undefined|undefined = locale_buf + const baselineShift_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let baselineShift_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (baselineShift_buf_runtimeType)) { - const weekendLunarColor_buf__selector: number = valueDeserializer.readInt8() - let weekendLunarColor_buf_: Color | number | string | Resource | undefined|undefined - if (weekendLunarColor_buf__selector == 0) { - weekendLunarColor_buf_ = valueDeserializer.readInt32() - } - else if (weekendLunarColor_buf__selector == 1) { - weekendLunarColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (weekendLunarColor_buf__selector == 2) { - weekendLunarColor_buf_ = (valueDeserializer.readString() as string) - } - else if (weekendLunarColor_buf__selector == 3) { - weekendLunarColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for weekendLunarColor_buf_ has to be chosen through deserialisation.") - } - weekendLunarColor_buf = (weekendLunarColor_buf_ as Color | number | string | Resource) + baselineShift_buf = (valueDeserializer.readNumber() as number) } - const weekendLunarColor_result: ResourceColor | undefined|undefined = weekendLunarColor_buf - const weekFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekFontSize_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (weekFontSize_buf_runtimeType)) + const baselineShift_result: number | undefined|undefined = baselineShift_buf + const fontFeatures_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFeatures_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontFeatures_buf_runtimeType)) { - weekFontSize_buf = (valueDeserializer.readNumber() as number) + const fontFeatures_buf__length: int32 = valueDeserializer.readInt32() + let fontFeatures_buf_: Array = new Array(fontFeatures_buf__length) + for (let fontFeatures_buf__i = 0; fontFeatures_buf__i < fontFeatures_buf__length; fontFeatures_buf__i++) { + fontFeatures_buf_[fontFeatures_buf__i] = valueDeserializer.readFontFeature() + } + fontFeatures_buf = fontFeatures_buf_ } - const weekFontSize_result: number | undefined|undefined = weekFontSize_buf - const weekHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekHeight_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (weekHeight_buf_runtimeType)) + const fontFeatures_result: Array | undefined|undefined = fontFeatures_buf + const textShadows_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textShadows_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (textShadows_buf_runtimeType)) { - weekHeight_buf = (valueDeserializer.readNumber() as number) + const textShadows_buf__length: int32 = valueDeserializer.readInt32() + let textShadows_buf_: Array = new Array(textShadows_buf__length) + for (let textShadows_buf__i = 0; textShadows_buf__i < textShadows_buf__length; textShadows_buf__i++) { + textShadows_buf_[textShadows_buf__i] = valueDeserializer.readTextShadow() + } + textShadows_buf = textShadows_buf_ } - const weekHeight_result: number | undefined|undefined = weekHeight_buf - const weekWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekWidth_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (weekWidth_buf_runtimeType)) + const textShadows_result: Array | undefined|undefined = textShadows_buf + const backgroundRect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundRect_buf: RectStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundRect_buf_runtimeType)) { - weekWidth_buf = (valueDeserializer.readNumber() as number) + backgroundRect_buf = valueDeserializer.readRectStyle() } - const weekWidth_result: number | undefined|undefined = weekWidth_buf - const weekAndDayRowSpace_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let weekAndDayRowSpace_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (weekAndDayRowSpace_buf_runtimeType)) + const backgroundRect_result: RectStyle | undefined|undefined = backgroundRect_buf + const fontVariations_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontVariations_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontVariations_buf_runtimeType)) { - weekAndDayRowSpace_buf = (valueDeserializer.readNumber() as number) + const fontVariations_buf__length: int32 = valueDeserializer.readInt32() + let fontVariations_buf_: Array = new Array(fontVariations_buf__length) + for (let fontVariations_buf__i = 0; fontVariations_buf__i < fontVariations_buf__length; fontVariations_buf__i++) { + fontVariations_buf_[fontVariations_buf__i] = valueDeserializer.readFontVariation() + } + fontVariations_buf = fontVariations_buf_ } - const weekAndDayRowSpace_result: number | undefined|undefined = weekAndDayRowSpace_buf - let value: WeekStyle = ({weekColor: weekColor_result, weekendDayColor: weekendDayColor_result, weekendLunarColor: weekendLunarColor_result, weekFontSize: weekFontSize_result, weekHeight: weekHeight_result, weekWidth: weekWidth_result, weekAndDayRowSpace: weekAndDayRowSpace_result} as WeekStyle) + const fontVariations_result: Array | undefined|undefined = fontVariations_buf + let value: text.TextStyle = ({decoration: decoration_result, color: color_result, fontWeight: fontWeight_result, fontStyle: fontStyle_result, baseline: baseline_result, fontFamilies: fontFamilies_result, fontSize: fontSize_result, letterSpacing: letterSpacing_result, wordSpacing: wordSpacing_result, heightScale: heightScale_result, halfLeading: halfLeading_result, heightOnly: heightOnly_result, ellipsis: ellipsis_result, ellipsisMode: ellipsisMode_result, locale: locale_result, baselineShift: baselineShift_result, fontFeatures: fontFeatures_result, textShadows: textShadows_result, backgroundRect: backgroundRect_result, fontVariations: fontVariations_result} as text.TextStyle) return value } - readWorkStateStyle(): WorkStateStyle { + public readTextDataDetectorConfig(): TextDataDetectorConfig { let valueDeserializer: Deserializer = this - const workDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let workDayMarkColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (workDayMarkColor_buf_runtimeType)) + const types_buf_length: int32 = valueDeserializer.readInt32() + let types_buf: Array = new Array(types_buf_length) + for (let types_buf_i = 0; types_buf_i < types_buf_length; types_buf_i++) { + types_buf[types_buf_i] = valueDeserializer.readInt32() + } + const types_result: Array = types_buf + const onDetectResultUpdate_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDetectResultUpdate_buf: ((breakpoints: string) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDetectResultUpdate_buf_runtimeType)) { - const workDayMarkColor_buf__selector: number = valueDeserializer.readInt8() - let workDayMarkColor_buf_: Color | number | string | Resource | undefined|undefined - if (workDayMarkColor_buf__selector == 0) { - workDayMarkColor_buf_ = valueDeserializer.readInt32() - } - else if (workDayMarkColor_buf__selector == 1) { - workDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (workDayMarkColor_buf__selector == 2) { - workDayMarkColor_buf_ = (valueDeserializer.readString() as string) - } - else if (workDayMarkColor_buf__selector == 3) { - workDayMarkColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for workDayMarkColor_buf_ has to be chosen through deserialisation.") - } - workDayMarkColor_buf = (workDayMarkColor_buf_ as Color | number | string | Resource) + onDetectResultUpdate_buf = valueDeserializer.readCallback_String_Void() } - const workDayMarkColor_result: ResourceColor | undefined|undefined = workDayMarkColor_buf - const offDayMarkColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offDayMarkColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (offDayMarkColor_buf_runtimeType)) + const onDetectResultUpdate_result: ((breakpoints: string) => void) | undefined|undefined = onDetectResultUpdate_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - const offDayMarkColor_buf__selector: number = valueDeserializer.readInt8() - let offDayMarkColor_buf_: Color | number | string | Resource | undefined|undefined - if (offDayMarkColor_buf__selector == 0) { - offDayMarkColor_buf_ = valueDeserializer.readInt32() + const color_buf__selector: number = valueDeserializer.readInt8() + let color_buf_: Color | number | string | Resource | undefined|undefined + if (color_buf__selector == 0) { + color_buf_ = valueDeserializer.readInt32() } - else if (offDayMarkColor_buf__selector == 1) { - offDayMarkColor_buf_ = (valueDeserializer.readNumber() as number) + else if (color_buf__selector == 1) { + color_buf_ = (valueDeserializer.readNumber() as number) } - else if (offDayMarkColor_buf__selector == 2) { - offDayMarkColor_buf_ = (valueDeserializer.readString() as string) + else if (color_buf__selector == 2) { + color_buf_ = (valueDeserializer.readString() as string) } - else if (offDayMarkColor_buf__selector == 3) { - offDayMarkColor_buf_ = valueDeserializer.readResource() + else if (color_buf__selector == 3) { + color_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for offDayMarkColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") } - offDayMarkColor_buf = (offDayMarkColor_buf_ as Color | number | string | Resource) + color_buf = (color_buf_ as Color | number | string | Resource) + } + const color_result: ResourceColor | undefined|undefined = color_buf + const decoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let decoration_buf: DecorationStyleInterface | undefined|undefined + if ((RuntimeType.UNDEFINED) != (decoration_buf_runtimeType)) + { + decoration_buf = valueDeserializer.readDecorationStyleInterface() + } + const decoration_result: DecorationStyleInterface | undefined|undefined = decoration_buf + let value: TextDataDetectorConfig = ({types: types_result, onDetectResultUpdate: onDetectResultUpdate_result, color: color_result, decoration: decoration_result} as TextDataDetectorConfig) + return value + } + public readTipsOptions(): TipsOptions { + let valueDeserializer: Deserializer = this + const appearingTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let appearingTime_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (appearingTime_buf_runtimeType)) + { + appearingTime_buf = (valueDeserializer.readNumber() as number) } - const offDayMarkColor_result: ResourceColor | undefined|undefined = offDayMarkColor_buf - const workDayMarkSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let workDayMarkSize_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (workDayMarkSize_buf_runtimeType)) + const appearingTime_result: number | undefined|undefined = appearingTime_buf + const disappearingTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disappearingTime_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (disappearingTime_buf_runtimeType)) { - workDayMarkSize_buf = (valueDeserializer.readNumber() as number) + disappearingTime_buf = (valueDeserializer.readNumber() as number) } - const workDayMarkSize_result: number | undefined|undefined = workDayMarkSize_buf - const offDayMarkSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offDayMarkSize_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (offDayMarkSize_buf_runtimeType)) + const disappearingTime_result: number | undefined|undefined = disappearingTime_buf + const appearingTimeWithContinuousOperation_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let appearingTimeWithContinuousOperation_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (appearingTimeWithContinuousOperation_buf_runtimeType)) { - offDayMarkSize_buf = (valueDeserializer.readNumber() as number) + appearingTimeWithContinuousOperation_buf = (valueDeserializer.readNumber() as number) } - const offDayMarkSize_result: number | undefined|undefined = offDayMarkSize_buf - const workStateWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let workStateWidth_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (workStateWidth_buf_runtimeType)) + const appearingTimeWithContinuousOperation_result: number | undefined|undefined = appearingTimeWithContinuousOperation_buf + const disappearingTimeWithContinuousOperation_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disappearingTimeWithContinuousOperation_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (disappearingTimeWithContinuousOperation_buf_runtimeType)) { - workStateWidth_buf = (valueDeserializer.readNumber() as number) + disappearingTimeWithContinuousOperation_buf = (valueDeserializer.readNumber() as number) } - const workStateWidth_result: number | undefined|undefined = workStateWidth_buf - const workStateHorizontalMovingDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let workStateHorizontalMovingDistance_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (workStateHorizontalMovingDistance_buf_runtimeType)) + const disappearingTimeWithContinuousOperation_result: number | undefined|undefined = disappearingTimeWithContinuousOperation_buf + const enableArrow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableArrow_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableArrow_buf_runtimeType)) { - workStateHorizontalMovingDistance_buf = (valueDeserializer.readNumber() as number) + enableArrow_buf = valueDeserializer.readBoolean() } - const workStateHorizontalMovingDistance_result: number | undefined|undefined = workStateHorizontalMovingDistance_buf - const workStateVerticalMovingDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let workStateVerticalMovingDistance_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (workStateVerticalMovingDistance_buf_runtimeType)) + const enableArrow_result: boolean | undefined|undefined = enableArrow_buf + const arrowPointPosition_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let arrowPointPosition_buf: ArrowPointPosition | undefined|undefined + if ((RuntimeType.UNDEFINED) != (arrowPointPosition_buf_runtimeType)) { - workStateVerticalMovingDistance_buf = (valueDeserializer.readNumber() as number) + arrowPointPosition_buf = Object.values(ArrowPointPosition)[valueDeserializer.readInt32()] } - const workStateVerticalMovingDistance_result: number | undefined|undefined = workStateVerticalMovingDistance_buf - let value: WorkStateStyle = ({workDayMarkColor: workDayMarkColor_result, offDayMarkColor: offDayMarkColor_result, workDayMarkSize: workDayMarkSize_result, offDayMarkSize: offDayMarkSize_result, workStateWidth: workStateWidth_result, workStateHorizontalMovingDistance: workStateHorizontalMovingDistance_result, workStateVerticalMovingDistance: workStateVerticalMovingDistance_result} as WorkStateStyle) - return value - } - readXComponentOptions(): XComponentOptions { - let valueDeserializer: Deserializer = this - const type_result: XComponentType = valueDeserializer.readInt32() - const controller_result: XComponentController = (valueDeserializer.readXComponentController() as XComponentController) - const imageAIOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let imageAIOptions_buf: ImageAIOptions | undefined|undefined - if ((RuntimeType.UNDEFINED) != (imageAIOptions_buf_runtimeType)) + const arrowPointPosition_result: ArrowPointPosition | undefined|undefined = arrowPointPosition_buf + const arrowWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let arrowWidth_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (arrowWidth_buf_runtimeType)) { - imageAIOptions_buf = valueDeserializer.readImageAIOptions() + const arrowWidth_buf__selector: number = valueDeserializer.readInt8() + let arrowWidth_buf_: string | number | Resource | undefined|undefined + if (arrowWidth_buf__selector == 0) { + arrowWidth_buf_ = (valueDeserializer.readString() as string) + } + else if (arrowWidth_buf__selector == 1) { + arrowWidth_buf_ = (valueDeserializer.readNumber() as number) + } + else if (arrowWidth_buf__selector == 2) { + arrowWidth_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for arrowWidth_buf_ has to be chosen through deserialisation.") + } + arrowWidth_buf = (arrowWidth_buf_ as string | number | Resource) } - const imageAIOptions_result: ImageAIOptions | undefined|undefined = imageAIOptions_buf - let value: XComponentOptions = ({type: type_result, controller: controller_result, imageAIOptions: imageAIOptions_result} as XComponentOptions) + const arrowWidth_result: Dimension | undefined|undefined = arrowWidth_buf + const arrowHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let arrowHeight_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (arrowHeight_buf_runtimeType)) + { + const arrowHeight_buf__selector: number = valueDeserializer.readInt8() + let arrowHeight_buf_: string | number | Resource | undefined|undefined + if (arrowHeight_buf__selector == 0) { + arrowHeight_buf_ = (valueDeserializer.readString() as string) + } + else if (arrowHeight_buf__selector == 1) { + arrowHeight_buf_ = (valueDeserializer.readNumber() as number) + } + else if (arrowHeight_buf__selector == 2) { + arrowHeight_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for arrowHeight_buf_ has to be chosen through deserialisation.") + } + arrowHeight_buf = (arrowHeight_buf_ as string | number | Resource) + } + const arrowHeight_result: Dimension | undefined|undefined = arrowHeight_buf + let value: TipsOptions = ({appearingTime: appearingTime_result, disappearingTime: disappearingTime_result, appearingTimeWithContinuousOperation: appearingTimeWithContinuousOperation_result, disappearingTimeWithContinuousOperation: disappearingTimeWithContinuousOperation_result, enableArrow: enableArrow_result, arrowPointPosition: arrowPointPosition_result, arrowWidth: arrowWidth_result, arrowHeight: arrowHeight_result} as TipsOptions) return value } - readActionSheetOptions(): ActionSheetOptions { + public readActionSheetOptions(): ActionSheetOptions { let valueDeserializer: Deserializer = this const title_buf_selector: number = valueDeserializer.readInt8() let title_buf: string | Resource | undefined|undefined @@ -19433,6 +22235,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = valueDeserializer.readInt32() } const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onWillDismiss_buf: ((parameter: DismissDialogAction) => void) | undefined|undefined if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) @@ -19471,91 +22287,7 @@ export class Deserializer extends DeserializerBase { cornerRadius_buf_ = (cornerRadius_buf__u as string | number | Resource) } else if (cornerRadius_buf__selector == 1) { - const cornerRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topLeft_buf = (cornerRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topLeft: undefined | Length = cornerRadius_buf__u_topLeft_buf - const cornerRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const cornerRadius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topRight_buf = (cornerRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topRight: undefined | Length = cornerRadius_buf__u_topRight_buf - const cornerRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomLeft_buf = (cornerRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomLeft: undefined | Length = cornerRadius_buf__u_bottomLeft_buf - const cornerRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomRight_buf = (cornerRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomRight: undefined | Length = cornerRadius_buf__u_bottomRight_buf - cornerRadius_buf_ = ({topLeft: cornerRadius_buf__u_topLeft, topRight: cornerRadius_buf__u_topRight, bottomLeft: cornerRadius_buf__u_bottomLeft, bottomRight: cornerRadius_buf__u_bottomRight} as BorderRadiuses) + cornerRadius_buf_ = valueDeserializer.readBorderRadiuses() } else if (cornerRadius_buf__selector == 2) { cornerRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() @@ -19632,91 +22364,7 @@ export class Deserializer extends DeserializerBase { borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) } else if (borderWidth_buf__selector == 1) { - const borderWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const borderWidth_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_top_buf = (borderWidth_buf__u_top_buf_ as string | number | Resource) - } - const borderWidth_buf__u_top: undefined | Length = borderWidth_buf__u_top_buf - const borderWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const borderWidth_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_right_buf = (borderWidth_buf__u_right_buf_ as string | number | Resource) - } - const borderWidth_buf__u_right: undefined | Length = borderWidth_buf__u_right_buf - const borderWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const borderWidth_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_bottom_buf = (borderWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const borderWidth_buf__u_bottom: undefined | Length = borderWidth_buf__u_bottom_buf - const borderWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const borderWidth_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_left_buf = (borderWidth_buf__u_left_buf_ as string | number | Resource) - } - const borderWidth_buf__u_left: undefined | Length = borderWidth_buf__u_left_buf - borderWidth_buf_ = ({top: borderWidth_buf__u_top, right: borderWidth_buf__u_right, bottom: borderWidth_buf__u_bottom, left: borderWidth_buf__u_left} as EdgeWidths) + borderWidth_buf_ = valueDeserializer.readEdgeWidths() } else if (borderWidth_buf__selector == 2) { borderWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -19754,103 +22402,7 @@ export class Deserializer extends DeserializerBase { borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) } else if (borderColor_buf__selector == 1) { - const borderColor_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_top_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const borderColor_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_top_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_top_buf = (borderColor_buf__u_top_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_top: undefined | ResourceColor = borderColor_buf__u_top_buf - const borderColor_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_right_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const borderColor_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_right_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_right_buf = (borderColor_buf__u_right_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_right: undefined | ResourceColor = borderColor_buf__u_right_buf - const borderColor_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_bottom_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const borderColor_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_bottom_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_bottom_buf = (borderColor_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_bottom: undefined | ResourceColor = borderColor_buf__u_bottom_buf - const borderColor_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_left_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const borderColor_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_left_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_left_buf = (borderColor_buf__u_left_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_left: undefined | ResourceColor = borderColor_buf__u_left_buf - borderColor_buf_ = ({top: borderColor_buf__u_top, right: borderColor_buf__u_right, bottom: borderColor_buf__u_bottom, left: borderColor_buf__u_left} as EdgeColors) + borderColor_buf_ = valueDeserializer.readEdgeColors() } else if (borderColor_buf__selector == 2) { borderColor_buf_ = valueDeserializer.readLocalizedEdgeColors() @@ -19911,10 +22463,66 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = valueDeserializer.readInt32() } const hoverModeArea_result: HoverModeAreaType | undefined|undefined = hoverModeArea_buf - let value: ActionSheetOptions = ({title: title_result, subtitle: subtitle_result, message: message_result, confirm: confirm_result, cancel: cancel_result, sheets: sheets_result, autoCancel: autoCancel_result, alignment: alignment_result, offset: offset_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result} as ActionSheetOptions) + const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf = valueDeserializer.readCallback_Void() + } + const onDidAppear_result: (() => void) | undefined|undefined = onDidAppear_buf + const onDidDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDidDisappear_result: (() => void) | undefined|undefined = onDidDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result: (() => void) | undefined|undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result: (() => void) | undefined|undefined = onWillDisappear_buf + const levelMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelMode_buf: LevelMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf = valueDeserializer.readLevelMode() + } + const levelMode_result: LevelMode | undefined|undefined = levelMode_buf + const levelUniqueId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelUniqueId_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf = (valueDeserializer.readNumber() as number) + } + const levelUniqueId_result: number | undefined|undefined = levelUniqueId_buf + const immersiveMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let immersiveMode_buf: ImmersiveMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf = valueDeserializer.readImmersiveMode() + } + const immersiveMode_result: ImmersiveMode | undefined|undefined = immersiveMode_buf + const levelOrder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelOrder_buf: LevelOrder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf = valueDeserializer.readLevelOrder() + } + const levelOrder_result: LevelOrder | undefined|undefined = levelOrder_buf + let value: ActionSheetOptions = ({title: title_result, subtitle: subtitle_result, message: message_result, confirm: confirm_result, cancel: cancel_result, sheets: sheets_result, autoCancel: autoCancel_result, alignment: alignment_result, offset: offset_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, levelMode: levelMode_result, levelUniqueId: levelUniqueId_result, immersiveMode: immersiveMode_result, levelOrder: levelOrder_result} as ActionSheetOptions) return value } - readAlertDialogParamWithButtons(): AlertDialogParamWithButtons { + public readAlertDialogParamWithButtons(): AlertDialogParamWithButtons { let valueDeserializer: Deserializer = this const title_buf_runtimeType = (valueDeserializer.readInt8() as int32) let title_buf: ResourceStr | undefined|undefined @@ -19989,37 +22597,7 @@ export class Deserializer extends DeserializerBase { let offset_buf: Offset | undefined|undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dx_buf: string | number | Resource | undefined|undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx: Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dy_buf: string | number | Resource | undefined|undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy: Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result: Offset | undefined|undefined = offset_buf const gridCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -20081,6 +22659,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = valueDeserializer.readInt32() } const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onWillDismiss_buf: ((parameter: DismissDialogAction) => void) | undefined|undefined if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) @@ -20107,103 +22699,19 @@ export class Deserializer extends DeserializerBase { if (cornerRadius_buf__u_selector == 0) { cornerRadius_buf__u = (valueDeserializer.readString() as string) } - else if (cornerRadius_buf__u_selector == 1) { - cornerRadius_buf__u = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_selector == 2) { - cornerRadius_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u has to be chosen through deserialisation.") - } - cornerRadius_buf_ = (cornerRadius_buf__u as string | number | Resource) - } - else if (cornerRadius_buf__selector == 1) { - const cornerRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topLeft_buf = (cornerRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topLeft: undefined | Length = cornerRadius_buf__u_topLeft_buf - const cornerRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const cornerRadius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topRight_buf = (cornerRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topRight: undefined | Length = cornerRadius_buf__u_topRight_buf - const cornerRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomLeft_buf = (cornerRadius_buf__u_bottomLeft_buf_ as string | number | Resource) + else if (cornerRadius_buf__u_selector == 1) { + cornerRadius_buf__u = (valueDeserializer.readNumber() as number) } - const cornerRadius_buf__u_bottomLeft: undefined | Length = cornerRadius_buf__u_bottomLeft_buf - const cornerRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomRight_buf = (cornerRadius_buf__u_bottomRight_buf_ as string | number | Resource) + else if (cornerRadius_buf__u_selector == 2) { + cornerRadius_buf__u = valueDeserializer.readResource() } - const cornerRadius_buf__u_bottomRight: undefined | Length = cornerRadius_buf__u_bottomRight_buf - cornerRadius_buf_ = ({topLeft: cornerRadius_buf__u_topLeft, topRight: cornerRadius_buf__u_topRight, bottomLeft: cornerRadius_buf__u_bottomLeft, bottomRight: cornerRadius_buf__u_bottomRight} as BorderRadiuses) + else { + throw new Error("One of the branches for cornerRadius_buf__u has to be chosen through deserialisation.") + } + cornerRadius_buf_ = (cornerRadius_buf__u as string | number | Resource) + } + else if (cornerRadius_buf__selector == 1) { + cornerRadius_buf_ = valueDeserializer.readBorderRadiuses() } else if (cornerRadius_buf__selector == 2) { cornerRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() @@ -20280,91 +22788,7 @@ export class Deserializer extends DeserializerBase { borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) } else if (borderWidth_buf__selector == 1) { - const borderWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const borderWidth_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_top_buf = (borderWidth_buf__u_top_buf_ as string | number | Resource) - } - const borderWidth_buf__u_top: undefined | Length = borderWidth_buf__u_top_buf - const borderWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const borderWidth_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_right_buf = (borderWidth_buf__u_right_buf_ as string | number | Resource) - } - const borderWidth_buf__u_right: undefined | Length = borderWidth_buf__u_right_buf - const borderWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const borderWidth_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_bottom_buf = (borderWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const borderWidth_buf__u_bottom: undefined | Length = borderWidth_buf__u_bottom_buf - const borderWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const borderWidth_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_left_buf = (borderWidth_buf__u_left_buf_ as string | number | Resource) - } - const borderWidth_buf__u_left: undefined | Length = borderWidth_buf__u_left_buf - borderWidth_buf_ = ({top: borderWidth_buf__u_top, right: borderWidth_buf__u_right, bottom: borderWidth_buf__u_bottom, left: borderWidth_buf__u_left} as EdgeWidths) + borderWidth_buf_ = valueDeserializer.readEdgeWidths() } else if (borderWidth_buf__selector == 2) { borderWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -20402,103 +22826,7 @@ export class Deserializer extends DeserializerBase { borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) } else if (borderColor_buf__selector == 1) { - const borderColor_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_top_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const borderColor_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_top_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_top_buf = (borderColor_buf__u_top_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_top: undefined | ResourceColor = borderColor_buf__u_top_buf - const borderColor_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_right_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const borderColor_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_right_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_right_buf = (borderColor_buf__u_right_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_right: undefined | ResourceColor = borderColor_buf__u_right_buf - const borderColor_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_bottom_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const borderColor_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_bottom_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_bottom_buf = (borderColor_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_bottom: undefined | ResourceColor = borderColor_buf__u_bottom_buf - const borderColor_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_left_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const borderColor_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_left_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_left_buf = (borderColor_buf__u_left_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_left: undefined | ResourceColor = borderColor_buf__u_left_buf - borderColor_buf_ = ({top: borderColor_buf__u_top, right: borderColor_buf__u_right, bottom: borderColor_buf__u_bottom, left: borderColor_buf__u_left} as EdgeColors) + borderColor_buf_ = valueDeserializer.readEdgeColors() } else if (borderColor_buf__selector == 2) { borderColor_buf_ = valueDeserializer.readLocalizedEdgeColors() @@ -20566,12 +22894,68 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = valueDeserializer.readInt32() } const hoverModeArea_result: HoverModeAreaType | undefined|undefined = hoverModeArea_buf + const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf = valueDeserializer.readCallback_Void() + } + const onDidAppear_result: (() => void) | undefined|undefined = onDidAppear_buf + const onDidDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDidDisappear_result: (() => void) | undefined|undefined = onDidDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result: (() => void) | undefined|undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result: (() => void) | undefined|undefined = onWillDisappear_buf + const levelMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelMode_buf: LevelMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf = valueDeserializer.readLevelMode() + } + const levelMode_result: LevelMode | undefined|undefined = levelMode_buf + const levelUniqueId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelUniqueId_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf = (valueDeserializer.readNumber() as number) + } + const levelUniqueId_result: number | undefined|undefined = levelUniqueId_buf + const immersiveMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let immersiveMode_buf: ImmersiveMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf = valueDeserializer.readImmersiveMode() + } + const immersiveMode_result: ImmersiveMode | undefined|undefined = immersiveMode_buf + const levelOrder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelOrder_buf: LevelOrder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf = valueDeserializer.readLevelOrder() + } + const levelOrder_result: LevelOrder | undefined|undefined = levelOrder_buf const primaryButton_result: AlertDialogButtonBaseOptions = valueDeserializer.readAlertDialogButtonBaseOptions() const secondaryButton_result: AlertDialogButtonBaseOptions = valueDeserializer.readAlertDialogButtonBaseOptions() - let value: AlertDialogParamWithButtons = ({title: title_result, subtitle: subtitle_result, message: message_result, autoCancel: autoCancel_result, cancel: cancel_result, alignment: alignment_result, offset: offset_result, gridCount: gridCount_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, textStyle: textStyle_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, primaryButton: primaryButton_result, secondaryButton: secondaryButton_result} as AlertDialogParamWithButtons) + let value: AlertDialogParamWithButtons = ({title: title_result, subtitle: subtitle_result, message: message_result, autoCancel: autoCancel_result, cancel: cancel_result, alignment: alignment_result, offset: offset_result, gridCount: gridCount_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, textStyle: textStyle_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, levelMode: levelMode_result, levelUniqueId: levelUniqueId_result, immersiveMode: immersiveMode_result, levelOrder: levelOrder_result, primaryButton: primaryButton_result, secondaryButton: secondaryButton_result} as AlertDialogParamWithButtons) return value } - readAlertDialogParamWithConfirm(): AlertDialogParamWithConfirm { + public readAlertDialogParamWithConfirm(): AlertDialogParamWithConfirm { let valueDeserializer: Deserializer = this const title_buf_runtimeType = (valueDeserializer.readInt8() as int32) let title_buf: ResourceStr | undefined|undefined @@ -20646,37 +23030,7 @@ export class Deserializer extends DeserializerBase { let offset_buf: Offset | undefined|undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dx_buf: string | number | Resource | undefined|undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx: Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dy_buf: string | number | Resource | undefined|undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy: Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result: Offset | undefined|undefined = offset_buf const gridCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -20738,6 +23092,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = valueDeserializer.readInt32() } const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onWillDismiss_buf: ((parameter: DismissDialogAction) => void) | undefined|undefined if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) @@ -20776,91 +23144,7 @@ export class Deserializer extends DeserializerBase { cornerRadius_buf_ = (cornerRadius_buf__u as string | number | Resource) } else if (cornerRadius_buf__selector == 1) { - const cornerRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topLeft_buf = (cornerRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topLeft: undefined | Length = cornerRadius_buf__u_topLeft_buf - const cornerRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const cornerRadius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topRight_buf = (cornerRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topRight: undefined | Length = cornerRadius_buf__u_topRight_buf - const cornerRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomLeft_buf = (cornerRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomLeft: undefined | Length = cornerRadius_buf__u_bottomLeft_buf - const cornerRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomRight_buf = (cornerRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomRight: undefined | Length = cornerRadius_buf__u_bottomRight_buf - cornerRadius_buf_ = ({topLeft: cornerRadius_buf__u_topLeft, topRight: cornerRadius_buf__u_topRight, bottomLeft: cornerRadius_buf__u_bottomLeft, bottomRight: cornerRadius_buf__u_bottomRight} as BorderRadiuses) + cornerRadius_buf_ = valueDeserializer.readBorderRadiuses() } else if (cornerRadius_buf__selector == 2) { cornerRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() @@ -20937,91 +23221,7 @@ export class Deserializer extends DeserializerBase { borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) } else if (borderWidth_buf__selector == 1) { - const borderWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const borderWidth_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_top_buf = (borderWidth_buf__u_top_buf_ as string | number | Resource) - } - const borderWidth_buf__u_top: undefined | Length = borderWidth_buf__u_top_buf - const borderWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const borderWidth_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_right_buf = (borderWidth_buf__u_right_buf_ as string | number | Resource) - } - const borderWidth_buf__u_right: undefined | Length = borderWidth_buf__u_right_buf - const borderWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const borderWidth_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_bottom_buf = (borderWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const borderWidth_buf__u_bottom: undefined | Length = borderWidth_buf__u_bottom_buf - const borderWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const borderWidth_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_left_buf = (borderWidth_buf__u_left_buf_ as string | number | Resource) - } - const borderWidth_buf__u_left: undefined | Length = borderWidth_buf__u_left_buf - borderWidth_buf_ = ({top: borderWidth_buf__u_top, right: borderWidth_buf__u_right, bottom: borderWidth_buf__u_bottom, left: borderWidth_buf__u_left} as EdgeWidths) + borderWidth_buf_ = valueDeserializer.readEdgeWidths() } else if (borderWidth_buf__selector == 2) { borderWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -21059,103 +23259,7 @@ export class Deserializer extends DeserializerBase { borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) } else if (borderColor_buf__selector == 1) { - const borderColor_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_top_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const borderColor_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_top_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_top_buf = (borderColor_buf__u_top_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_top: undefined | ResourceColor = borderColor_buf__u_top_buf - const borderColor_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_right_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const borderColor_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_right_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_right_buf = (borderColor_buf__u_right_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_right: undefined | ResourceColor = borderColor_buf__u_right_buf - const borderColor_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_bottom_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const borderColor_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_bottom_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_bottom_buf = (borderColor_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_bottom: undefined | ResourceColor = borderColor_buf__u_bottom_buf - const borderColor_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_left_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const borderColor_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_left_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_left_buf = (borderColor_buf__u_left_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_left: undefined | ResourceColor = borderColor_buf__u_left_buf - borderColor_buf_ = ({top: borderColor_buf__u_top, right: borderColor_buf__u_right, bottom: borderColor_buf__u_bottom, left: borderColor_buf__u_left} as EdgeColors) + borderColor_buf_ = valueDeserializer.readEdgeColors() } else if (borderColor_buf__selector == 2) { borderColor_buf_ = valueDeserializer.readLocalizedEdgeColors() @@ -21220,9 +23324,65 @@ export class Deserializer extends DeserializerBase { let hoverModeArea_buf: HoverModeAreaType | undefined|undefined if ((RuntimeType.UNDEFINED) != (hoverModeArea_buf_runtimeType)) { - hoverModeArea_buf = valueDeserializer.readInt32() + hoverModeArea_buf = valueDeserializer.readInt32() + } + const hoverModeArea_result: HoverModeAreaType | undefined|undefined = hoverModeArea_buf + const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf = valueDeserializer.readCallback_Void() + } + const onDidAppear_result: (() => void) | undefined|undefined = onDidAppear_buf + const onDidDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDidDisappear_result: (() => void) | undefined|undefined = onDidDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result: (() => void) | undefined|undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result: (() => void) | undefined|undefined = onWillDisappear_buf + const levelMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelMode_buf: LevelMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf = valueDeserializer.readLevelMode() + } + const levelMode_result: LevelMode | undefined|undefined = levelMode_buf + const levelUniqueId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelUniqueId_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf = (valueDeserializer.readNumber() as number) + } + const levelUniqueId_result: number | undefined|undefined = levelUniqueId_buf + const immersiveMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let immersiveMode_buf: ImmersiveMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf = valueDeserializer.readImmersiveMode() } - const hoverModeArea_result: HoverModeAreaType | undefined|undefined = hoverModeArea_buf + const immersiveMode_result: ImmersiveMode | undefined|undefined = immersiveMode_buf + const levelOrder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelOrder_buf: LevelOrder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf = valueDeserializer.readLevelOrder() + } + const levelOrder_result: LevelOrder | undefined|undefined = levelOrder_buf const confirm_buf_runtimeType = (valueDeserializer.readInt8() as int32) let confirm_buf: AlertDialogButtonBaseOptions | undefined|undefined if ((RuntimeType.UNDEFINED) != (confirm_buf_runtimeType)) @@ -21230,10 +23390,10 @@ export class Deserializer extends DeserializerBase { confirm_buf = valueDeserializer.readAlertDialogButtonBaseOptions() } const confirm_result: AlertDialogButtonBaseOptions | undefined|undefined = confirm_buf - let value: AlertDialogParamWithConfirm = ({title: title_result, subtitle: subtitle_result, message: message_result, autoCancel: autoCancel_result, cancel: cancel_result, alignment: alignment_result, offset: offset_result, gridCount: gridCount_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, textStyle: textStyle_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, confirm: confirm_result} as AlertDialogParamWithConfirm) + let value: AlertDialogParamWithConfirm = ({title: title_result, subtitle: subtitle_result, message: message_result, autoCancel: autoCancel_result, cancel: cancel_result, alignment: alignment_result, offset: offset_result, gridCount: gridCount_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, textStyle: textStyle_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, levelMode: levelMode_result, levelUniqueId: levelUniqueId_result, immersiveMode: immersiveMode_result, levelOrder: levelOrder_result, confirm: confirm_result} as AlertDialogParamWithConfirm) return value } - readAlertDialogParamWithOptions(): AlertDialogParamWithOptions { + public readAlertDialogParamWithOptions(): AlertDialogParamWithOptions { let valueDeserializer: Deserializer = this const title_buf_runtimeType = (valueDeserializer.readInt8() as int32) let title_buf: ResourceStr | undefined|undefined @@ -21308,37 +23468,7 @@ export class Deserializer extends DeserializerBase { let offset_buf: Offset | undefined|undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dx_buf: string | number | Resource | undefined|undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx: Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dy_buf: string | number | Resource | undefined|undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy: Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result: Offset | undefined|undefined = offset_buf const gridCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -21400,6 +23530,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = valueDeserializer.readInt32() } const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onWillDismiss_buf: ((parameter: DismissDialogAction) => void) | undefined|undefined if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) @@ -21438,91 +23582,7 @@ export class Deserializer extends DeserializerBase { cornerRadius_buf_ = (cornerRadius_buf__u as string | number | Resource) } else if (cornerRadius_buf__selector == 1) { - const cornerRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topLeft_buf = (cornerRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topLeft: undefined | Length = cornerRadius_buf__u_topLeft_buf - const cornerRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const cornerRadius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topRight_buf = (cornerRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topRight: undefined | Length = cornerRadius_buf__u_topRight_buf - const cornerRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomLeft_buf = (cornerRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomLeft: undefined | Length = cornerRadius_buf__u_bottomLeft_buf - const cornerRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomRight_buf = (cornerRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomRight: undefined | Length = cornerRadius_buf__u_bottomRight_buf - cornerRadius_buf_ = ({topLeft: cornerRadius_buf__u_topLeft, topRight: cornerRadius_buf__u_topRight, bottomLeft: cornerRadius_buf__u_bottomLeft, bottomRight: cornerRadius_buf__u_bottomRight} as BorderRadiuses) + cornerRadius_buf_ = valueDeserializer.readBorderRadiuses() } else if (cornerRadius_buf__selector == 2) { cornerRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() @@ -21599,91 +23659,7 @@ export class Deserializer extends DeserializerBase { borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) } else if (borderWidth_buf__selector == 1) { - const borderWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const borderWidth_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_top_buf = (borderWidth_buf__u_top_buf_ as string | number | Resource) - } - const borderWidth_buf__u_top: undefined | Length = borderWidth_buf__u_top_buf - const borderWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const borderWidth_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_right_buf = (borderWidth_buf__u_right_buf_ as string | number | Resource) - } - const borderWidth_buf__u_right: undefined | Length = borderWidth_buf__u_right_buf - const borderWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const borderWidth_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_bottom_buf = (borderWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const borderWidth_buf__u_bottom: undefined | Length = borderWidth_buf__u_bottom_buf - const borderWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const borderWidth_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_left_buf = (borderWidth_buf__u_left_buf_ as string | number | Resource) - } - const borderWidth_buf__u_left: undefined | Length = borderWidth_buf__u_left_buf - borderWidth_buf_ = ({top: borderWidth_buf__u_top, right: borderWidth_buf__u_right, bottom: borderWidth_buf__u_bottom, left: borderWidth_buf__u_left} as EdgeWidths) + borderWidth_buf_ = valueDeserializer.readEdgeWidths() } else if (borderWidth_buf__selector == 2) { borderWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -21721,103 +23697,7 @@ export class Deserializer extends DeserializerBase { borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) } else if (borderColor_buf__selector == 1) { - const borderColor_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_top_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const borderColor_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_top_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_top_buf = (borderColor_buf__u_top_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_top: undefined | ResourceColor = borderColor_buf__u_top_buf - const borderColor_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_right_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const borderColor_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_right_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_right_buf = (borderColor_buf__u_right_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_right: undefined | ResourceColor = borderColor_buf__u_right_buf - const borderColor_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_bottom_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const borderColor_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_bottom_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_bottom_buf = (borderColor_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_bottom: undefined | ResourceColor = borderColor_buf__u_bottom_buf - const borderColor_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_left_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const borderColor_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_left_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_left_buf = (borderColor_buf__u_left_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_left: undefined | ResourceColor = borderColor_buf__u_left_buf - borderColor_buf_ = ({top: borderColor_buf__u_top, right: borderColor_buf__u_right, bottom: borderColor_buf__u_bottom, left: borderColor_buf__u_left} as EdgeColors) + borderColor_buf_ = valueDeserializer.readEdgeColors() } else if (borderColor_buf__selector == 2) { borderColor_buf_ = valueDeserializer.readLocalizedEdgeColors() @@ -21885,6 +23765,62 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = valueDeserializer.readInt32() } const hoverModeArea_result: HoverModeAreaType | undefined|undefined = hoverModeArea_buf + const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf = valueDeserializer.readCallback_Void() + } + const onDidAppear_result: (() => void) | undefined|undefined = onDidAppear_buf + const onDidDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDidDisappear_result: (() => void) | undefined|undefined = onDidDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result: (() => void) | undefined|undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result: (() => void) | undefined|undefined = onWillDisappear_buf + const levelMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelMode_buf: LevelMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf = valueDeserializer.readLevelMode() + } + const levelMode_result: LevelMode | undefined|undefined = levelMode_buf + const levelUniqueId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelUniqueId_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf = (valueDeserializer.readNumber() as number) + } + const levelUniqueId_result: number | undefined|undefined = levelUniqueId_buf + const immersiveMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let immersiveMode_buf: ImmersiveMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf = valueDeserializer.readImmersiveMode() + } + const immersiveMode_result: ImmersiveMode | undefined|undefined = immersiveMode_buf + const levelOrder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelOrder_buf: LevelOrder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf = valueDeserializer.readLevelOrder() + } + const levelOrder_result: LevelOrder | undefined|undefined = levelOrder_buf const buttons_buf_length: int32 = valueDeserializer.readInt32() let buttons_buf: Array = new Array(buttons_buf_length) for (let buttons_buf_i = 0; buttons_buf_i < buttons_buf_length; buttons_buf_i++) { @@ -21898,10 +23834,10 @@ export class Deserializer extends DeserializerBase { buttonDirection_buf = valueDeserializer.readInt32() } const buttonDirection_result: DialogButtonDirection | undefined|undefined = buttonDirection_buf - let value: AlertDialogParamWithOptions = ({title: title_result, subtitle: subtitle_result, message: message_result, autoCancel: autoCancel_result, cancel: cancel_result, alignment: alignment_result, offset: offset_result, gridCount: gridCount_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, textStyle: textStyle_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, buttons: buttons_result, buttonDirection: buttonDirection_result} as AlertDialogParamWithOptions) + let value: AlertDialogParamWithOptions = ({title: title_result, subtitle: subtitle_result, message: message_result, autoCancel: autoCancel_result, cancel: cancel_result, alignment: alignment_result, offset: offset_result, gridCount: gridCount_result, maskRect: maskRect_result, showInSubWindow: showInSubWindow_result, isModal: isModal_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, onWillDismiss: onWillDismiss_result, transition: transition_result, cornerRadius: cornerRadius_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, textStyle: textStyle_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, levelMode: levelMode_result, levelUniqueId: levelUniqueId_result, immersiveMode: immersiveMode_result, levelOrder: levelOrder_result, buttons: buttons_result, buttonDirection: buttonDirection_result} as AlertDialogParamWithOptions) return value } - readArea(): Area { + public readArea(): Area { let valueDeserializer: Deserializer = this const width_buf_selector: number = valueDeserializer.readInt8() let width_buf: string | number | Resource | undefined|undefined @@ -21938,7 +23874,7 @@ export class Deserializer extends DeserializerBase { let value: Area = ({width: width_result, height: height_result, position: position_result, globalPosition: globalPosition_result} as Area) return value } - readBadgeParamWithNumber(): BadgeParamWithNumber { + public readBadgeParamWithNumber(): BadgeParamWithNumber { let valueDeserializer: Deserializer = this const position_buf_runtimeType = (valueDeserializer.readInt8() as int32) let position_buf: BadgePosition | Position | undefined|undefined @@ -21970,7 +23906,7 @@ export class Deserializer extends DeserializerBase { let value: BadgeParamWithNumber = ({position: position_result, style: style_result, count: count_result, maxCount: maxCount_result} as BadgeParamWithNumber) return value } - readBadgeParamWithString(): BadgeParamWithString { + public readBadgeParamWithString(): BadgeParamWithString { let valueDeserializer: Deserializer = this const position_buf_runtimeType = (valueDeserializer.readInt8() as int32) let position_buf: BadgePosition | Position | undefined|undefined @@ -21995,7 +23931,7 @@ export class Deserializer extends DeserializerBase { let value: BadgeParamWithString = ({position: position_result, style: style_result, value: value_result} as BadgeParamWithString) return value } - readBorderImageOption(): BorderImageOption { + public readBorderImageOption(): BorderImageOption { let valueDeserializer: Deserializer = this const slice_buf_runtimeType = (valueDeserializer.readInt8() as int32) let slice_buf: Length | EdgeWidths | LocalizedEdgeWidths | undefined|undefined @@ -22021,91 +23957,7 @@ export class Deserializer extends DeserializerBase { slice_buf_ = (slice_buf__u as string | number | Resource) } else if (slice_buf__selector == 1) { - const slice_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__u_top_buf_runtimeType)) - { - const slice_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let slice_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (slice_buf__u_top_buf__selector == 0) { - slice_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (slice_buf__u_top_buf__selector == 1) { - slice_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (slice_buf__u_top_buf__selector == 2) { - slice_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for slice_buf__u_top_buf_ has to be chosen through deserialisation.") - } - slice_buf__u_top_buf = (slice_buf__u_top_buf_ as string | number | Resource) - } - const slice_buf__u_top: undefined | Length = slice_buf__u_top_buf - const slice_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__u_right_buf_runtimeType)) - { - const slice_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let slice_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (slice_buf__u_right_buf__selector == 0) { - slice_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (slice_buf__u_right_buf__selector == 1) { - slice_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (slice_buf__u_right_buf__selector == 2) { - slice_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for slice_buf__u_right_buf_ has to be chosen through deserialisation.") - } - slice_buf__u_right_buf = (slice_buf__u_right_buf_ as string | number | Resource) - } - const slice_buf__u_right: undefined | Length = slice_buf__u_right_buf - const slice_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__u_bottom_buf_runtimeType)) - { - const slice_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let slice_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (slice_buf__u_bottom_buf__selector == 0) { - slice_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (slice_buf__u_bottom_buf__selector == 1) { - slice_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (slice_buf__u_bottom_buf__selector == 2) { - slice_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for slice_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - slice_buf__u_bottom_buf = (slice_buf__u_bottom_buf_ as string | number | Resource) - } - const slice_buf__u_bottom: undefined | Length = slice_buf__u_bottom_buf - const slice_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__u_left_buf_runtimeType)) - { - const slice_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let slice_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (slice_buf__u_left_buf__selector == 0) { - slice_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (slice_buf__u_left_buf__selector == 1) { - slice_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (slice_buf__u_left_buf__selector == 2) { - slice_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for slice_buf__u_left_buf_ has to be chosen through deserialisation.") - } - slice_buf__u_left_buf = (slice_buf__u_left_buf_ as string | number | Resource) - } - const slice_buf__u_left: undefined | Length = slice_buf__u_left_buf - slice_buf_ = ({top: slice_buf__u_top, right: slice_buf__u_right, bottom: slice_buf__u_bottom, left: slice_buf__u_left} as EdgeWidths) + slice_buf_ = valueDeserializer.readEdgeWidths() } else if (slice_buf__selector == 2) { slice_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -22168,91 +24020,7 @@ export class Deserializer extends DeserializerBase { width_buf_ = (width_buf__u as string | number | Resource) } else if (width_buf__selector == 1) { - const width_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_top_buf_runtimeType)) - { - const width_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let width_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (width_buf__u_top_buf__selector == 0) { - width_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_top_buf__selector == 1) { - width_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_top_buf__selector == 2) { - width_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_top_buf_ has to be chosen through deserialisation.") - } - width_buf__u_top_buf = (width_buf__u_top_buf_ as string | number | Resource) - } - const width_buf__u_top: undefined | Length = width_buf__u_top_buf - const width_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_right_buf_runtimeType)) - { - const width_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let width_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (width_buf__u_right_buf__selector == 0) { - width_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_right_buf__selector == 1) { - width_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_right_buf__selector == 2) { - width_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_right_buf_ has to be chosen through deserialisation.") - } - width_buf__u_right_buf = (width_buf__u_right_buf_ as string | number | Resource) - } - const width_buf__u_right: undefined | Length = width_buf__u_right_buf - const width_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_bottom_buf_runtimeType)) - { - const width_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let width_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (width_buf__u_bottom_buf__selector == 0) { - width_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_bottom_buf__selector == 1) { - width_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_bottom_buf__selector == 2) { - width_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - width_buf__u_bottom_buf = (width_buf__u_bottom_buf_ as string | number | Resource) - } - const width_buf__u_bottom: undefined | Length = width_buf__u_bottom_buf - const width_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_left_buf_runtimeType)) - { - const width_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let width_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (width_buf__u_left_buf__selector == 0) { - width_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_left_buf__selector == 1) { - width_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_left_buf__selector == 2) { - width_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_left_buf_ has to be chosen through deserialisation.") - } - width_buf__u_left_buf = (width_buf__u_left_buf_ as string | number | Resource) - } - const width_buf__u_left: undefined | Length = width_buf__u_left_buf - width_buf_ = ({top: width_buf__u_top, right: width_buf__u_right, bottom: width_buf__u_bottom, left: width_buf__u_left} as EdgeWidths) + width_buf_ = valueDeserializer.readEdgeWidths() } else if (width_buf__selector == 2) { width_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -22287,91 +24055,7 @@ export class Deserializer extends DeserializerBase { outset_buf_ = (outset_buf__u as string | number | Resource) } else if (outset_buf__selector == 1) { - const outset_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let outset_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (outset_buf__u_top_buf_runtimeType)) - { - const outset_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let outset_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (outset_buf__u_top_buf__selector == 0) { - outset_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (outset_buf__u_top_buf__selector == 1) { - outset_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (outset_buf__u_top_buf__selector == 2) { - outset_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for outset_buf__u_top_buf_ has to be chosen through deserialisation.") - } - outset_buf__u_top_buf = (outset_buf__u_top_buf_ as string | number | Resource) - } - const outset_buf__u_top: undefined | Length = outset_buf__u_top_buf - const outset_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let outset_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (outset_buf__u_right_buf_runtimeType)) - { - const outset_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let outset_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (outset_buf__u_right_buf__selector == 0) { - outset_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (outset_buf__u_right_buf__selector == 1) { - outset_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (outset_buf__u_right_buf__selector == 2) { - outset_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for outset_buf__u_right_buf_ has to be chosen through deserialisation.") - } - outset_buf__u_right_buf = (outset_buf__u_right_buf_ as string | number | Resource) - } - const outset_buf__u_right: undefined | Length = outset_buf__u_right_buf - const outset_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let outset_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (outset_buf__u_bottom_buf_runtimeType)) - { - const outset_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let outset_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (outset_buf__u_bottom_buf__selector == 0) { - outset_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (outset_buf__u_bottom_buf__selector == 1) { - outset_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (outset_buf__u_bottom_buf__selector == 2) { - outset_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for outset_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - outset_buf__u_bottom_buf = (outset_buf__u_bottom_buf_ as string | number | Resource) - } - const outset_buf__u_bottom: undefined | Length = outset_buf__u_bottom_buf - const outset_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let outset_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (outset_buf__u_left_buf_runtimeType)) - { - const outset_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let outset_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (outset_buf__u_left_buf__selector == 0) { - outset_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (outset_buf__u_left_buf__selector == 1) { - outset_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (outset_buf__u_left_buf__selector == 2) { - outset_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for outset_buf__u_left_buf_ has to be chosen through deserialisation.") - } - outset_buf__u_left_buf = (outset_buf__u_left_buf_ as string | number | Resource) - } - const outset_buf__u_left: undefined | Length = outset_buf__u_left_buf - outset_buf_ = ({top: outset_buf__u_top, right: outset_buf__u_right, bottom: outset_buf__u_bottom, left: outset_buf__u_left} as EdgeWidths) + outset_buf_ = valueDeserializer.readEdgeWidths() } else if (outset_buf__selector == 2) { outset_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -22392,100 +24076,16 @@ export class Deserializer extends DeserializerBase { let value: BorderImageOption = ({slice: slice_result, repeat: repeat_result, source: source_result, width: width_result, outset: outset_result, fill: fill_result} as BorderImageOption) return value } - readBorderOptions(): BorderOptions { + public readBorderOptions(): BorderOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf: EdgeWidths | Length | LocalizedEdgeWidths | undefined|undefined if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) { const width_buf__selector: number = valueDeserializer.readInt8() - let width_buf_: EdgeWidths | Length | LocalizedEdgeWidths | undefined|undefined - if (width_buf__selector == 0) { - const width_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_top_buf_runtimeType)) - { - const width_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let width_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (width_buf__u_top_buf__selector == 0) { - width_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_top_buf__selector == 1) { - width_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_top_buf__selector == 2) { - width_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_top_buf_ has to be chosen through deserialisation.") - } - width_buf__u_top_buf = (width_buf__u_top_buf_ as string | number | Resource) - } - const width_buf__u_top: undefined | Length = width_buf__u_top_buf - const width_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_right_buf_runtimeType)) - { - const width_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let width_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (width_buf__u_right_buf__selector == 0) { - width_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_right_buf__selector == 1) { - width_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_right_buf__selector == 2) { - width_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_right_buf_ has to be chosen through deserialisation.") - } - width_buf__u_right_buf = (width_buf__u_right_buf_ as string | number | Resource) - } - const width_buf__u_right: undefined | Length = width_buf__u_right_buf - const width_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_bottom_buf_runtimeType)) - { - const width_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let width_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (width_buf__u_bottom_buf__selector == 0) { - width_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_bottom_buf__selector == 1) { - width_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_bottom_buf__selector == 2) { - width_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - width_buf__u_bottom_buf = (width_buf__u_bottom_buf_ as string | number | Resource) - } - const width_buf__u_bottom: undefined | Length = width_buf__u_bottom_buf - const width_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_left_buf_runtimeType)) - { - const width_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let width_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (width_buf__u_left_buf__selector == 0) { - width_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_left_buf__selector == 1) { - width_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_left_buf__selector == 2) { - width_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_left_buf_ has to be chosen through deserialisation.") - } - width_buf__u_left_buf = (width_buf__u_left_buf_ as string | number | Resource) - } - const width_buf__u_left: undefined | Length = width_buf__u_left_buf - width_buf_ = ({top: width_buf__u_top, right: width_buf__u_right, bottom: width_buf__u_bottom, left: width_buf__u_left} as EdgeWidths) + let width_buf_: EdgeWidths | Length | LocalizedEdgeWidths | undefined|undefined + if (width_buf__selector == 0) { + width_buf_ = valueDeserializer.readEdgeWidths() } else if (width_buf__selector == 1) { const width_buf__u_selector: number = valueDeserializer.readInt8() @@ -22520,103 +24120,7 @@ export class Deserializer extends DeserializerBase { const color_buf__selector: number = valueDeserializer.readInt8() let color_buf_: EdgeColors | ResourceColor | LocalizedEdgeColors | undefined|undefined if (color_buf__selector == 0) { - const color_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_top_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_top_buf_runtimeType)) - { - const color_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let color_buf__u_top_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__u_top_buf__selector == 0) { - color_buf__u_top_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__u_top_buf__selector == 1) { - color_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_top_buf__selector == 2) { - color_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_top_buf__selector == 3) { - color_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_top_buf_ has to be chosen through deserialisation.") - } - color_buf__u_top_buf = (color_buf__u_top_buf_ as Color | number | string | Resource) - } - const color_buf__u_top: undefined | ResourceColor = color_buf__u_top_buf - const color_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_right_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_right_buf_runtimeType)) - { - const color_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let color_buf__u_right_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__u_right_buf__selector == 0) { - color_buf__u_right_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__u_right_buf__selector == 1) { - color_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_right_buf__selector == 2) { - color_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_right_buf__selector == 3) { - color_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_right_buf_ has to be chosen through deserialisation.") - } - color_buf__u_right_buf = (color_buf__u_right_buf_ as Color | number | string | Resource) - } - const color_buf__u_right: undefined | ResourceColor = color_buf__u_right_buf - const color_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_bottom_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_bottom_buf_runtimeType)) - { - const color_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let color_buf__u_bottom_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__u_bottom_buf__selector == 0) { - color_buf__u_bottom_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__u_bottom_buf__selector == 1) { - color_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_bottom_buf__selector == 2) { - color_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_bottom_buf__selector == 3) { - color_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - color_buf__u_bottom_buf = (color_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const color_buf__u_bottom: undefined | ResourceColor = color_buf__u_bottom_buf - const color_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_left_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_left_buf_runtimeType)) - { - const color_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let color_buf__u_left_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__u_left_buf__selector == 0) { - color_buf__u_left_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__u_left_buf__selector == 1) { - color_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_left_buf__selector == 2) { - color_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_left_buf__selector == 3) { - color_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_left_buf_ has to be chosen through deserialisation.") - } - color_buf__u_left_buf = (color_buf__u_left_buf_ as Color | number | string | Resource) - } - const color_buf__u_left: undefined | ResourceColor = color_buf__u_left_buf - color_buf_ = ({top: color_buf__u_top, right: color_buf__u_right, bottom: color_buf__u_bottom, left: color_buf__u_left} as EdgeColors) + color_buf_ = valueDeserializer.readEdgeColors() } else if (color_buf__selector == 1) { const color_buf__u_selector: number = valueDeserializer.readInt8() @@ -22654,91 +24158,7 @@ export class Deserializer extends DeserializerBase { const radius_buf__selector: number = valueDeserializer.readInt8() let radius_buf_: BorderRadiuses | Length | LocalizedBorderRadiuses | undefined|undefined if (radius_buf__selector == 0) { - const radius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_topLeft_buf_runtimeType)) - { - const radius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let radius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (radius_buf__u_topLeft_buf__selector == 0) { - radius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_topLeft_buf__selector == 1) { - radius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_topLeft_buf__selector == 2) { - radius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_topLeft_buf = (radius_buf__u_topLeft_buf_ as string | number | Resource) - } - const radius_buf__u_topLeft: undefined | Length = radius_buf__u_topLeft_buf - const radius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_topRight_buf_runtimeType)) - { - const radius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let radius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (radius_buf__u_topRight_buf__selector == 0) { - radius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_topRight_buf__selector == 1) { - radius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_topRight_buf__selector == 2) { - radius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_topRight_buf = (radius_buf__u_topRight_buf_ as string | number | Resource) - } - const radius_buf__u_topRight: undefined | Length = radius_buf__u_topRight_buf - const radius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_bottomLeft_buf_runtimeType)) - { - const radius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let radius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (radius_buf__u_bottomLeft_buf__selector == 0) { - radius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_bottomLeft_buf__selector == 1) { - radius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_bottomLeft_buf__selector == 2) { - radius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_bottomLeft_buf = (radius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const radius_buf__u_bottomLeft: undefined | Length = radius_buf__u_bottomLeft_buf - const radius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_bottomRight_buf_runtimeType)) - { - const radius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let radius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (radius_buf__u_bottomRight_buf__selector == 0) { - radius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_bottomRight_buf__selector == 1) { - radius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_bottomRight_buf__selector == 2) { - radius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_bottomRight_buf = (radius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const radius_buf__u_bottomRight: undefined | Length = radius_buf__u_bottomRight_buf - radius_buf_ = ({topLeft: radius_buf__u_topLeft, topRight: radius_buf__u_topRight, bottomLeft: radius_buf__u_bottomLeft, bottomRight: radius_buf__u_bottomRight} as BorderRadiuses) + radius_buf_ = valueDeserializer.readBorderRadiuses() } else if (radius_buf__selector == 1) { const radius_buf__u_selector: number = valueDeserializer.readInt8() @@ -22791,91 +24211,7 @@ export class Deserializer extends DeserializerBase { const dashGap_buf__selector: number = valueDeserializer.readInt8() let dashGap_buf_: EdgeWidths | LengthMetrics | LocalizedEdgeWidths | undefined|undefined if (dashGap_buf__selector == 0) { - const dashGap_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashGap_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dashGap_buf__u_top_buf_runtimeType)) - { - const dashGap_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let dashGap_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (dashGap_buf__u_top_buf__selector == 0) { - dashGap_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (dashGap_buf__u_top_buf__selector == 1) { - dashGap_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashGap_buf__u_top_buf__selector == 2) { - dashGap_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashGap_buf__u_top_buf_ has to be chosen through deserialisation.") - } - dashGap_buf__u_top_buf = (dashGap_buf__u_top_buf_ as string | number | Resource) - } - const dashGap_buf__u_top: undefined | Length = dashGap_buf__u_top_buf - const dashGap_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashGap_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dashGap_buf__u_right_buf_runtimeType)) - { - const dashGap_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let dashGap_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (dashGap_buf__u_right_buf__selector == 0) { - dashGap_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (dashGap_buf__u_right_buf__selector == 1) { - dashGap_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashGap_buf__u_right_buf__selector == 2) { - dashGap_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashGap_buf__u_right_buf_ has to be chosen through deserialisation.") - } - dashGap_buf__u_right_buf = (dashGap_buf__u_right_buf_ as string | number | Resource) - } - const dashGap_buf__u_right: undefined | Length = dashGap_buf__u_right_buf - const dashGap_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashGap_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dashGap_buf__u_bottom_buf_runtimeType)) - { - const dashGap_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let dashGap_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (dashGap_buf__u_bottom_buf__selector == 0) { - dashGap_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (dashGap_buf__u_bottom_buf__selector == 1) { - dashGap_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashGap_buf__u_bottom_buf__selector == 2) { - dashGap_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashGap_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - dashGap_buf__u_bottom_buf = (dashGap_buf__u_bottom_buf_ as string | number | Resource) - } - const dashGap_buf__u_bottom: undefined | Length = dashGap_buf__u_bottom_buf - const dashGap_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashGap_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dashGap_buf__u_left_buf_runtimeType)) - { - const dashGap_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let dashGap_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (dashGap_buf__u_left_buf__selector == 0) { - dashGap_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (dashGap_buf__u_left_buf__selector == 1) { - dashGap_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashGap_buf__u_left_buf__selector == 2) { - dashGap_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashGap_buf__u_left_buf_ has to be chosen through deserialisation.") - } - dashGap_buf__u_left_buf = (dashGap_buf__u_left_buf_ as string | number | Resource) - } - const dashGap_buf__u_left: undefined | Length = dashGap_buf__u_left_buf - dashGap_buf_ = ({top: dashGap_buf__u_top, right: dashGap_buf__u_right, bottom: dashGap_buf__u_bottom, left: dashGap_buf__u_left} as EdgeWidths) + dashGap_buf_ = valueDeserializer.readEdgeWidths() } else if (dashGap_buf__selector == 1) { dashGap_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) @@ -22896,91 +24232,7 @@ export class Deserializer extends DeserializerBase { const dashWidth_buf__selector: number = valueDeserializer.readInt8() let dashWidth_buf_: EdgeWidths | LengthMetrics | LocalizedEdgeWidths | undefined|undefined if (dashWidth_buf__selector == 0) { - const dashWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashWidth_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dashWidth_buf__u_top_buf_runtimeType)) - { - const dashWidth_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let dashWidth_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (dashWidth_buf__u_top_buf__selector == 0) { - dashWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (dashWidth_buf__u_top_buf__selector == 1) { - dashWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashWidth_buf__u_top_buf__selector == 2) { - dashWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - dashWidth_buf__u_top_buf = (dashWidth_buf__u_top_buf_ as string | number | Resource) - } - const dashWidth_buf__u_top: undefined | Length = dashWidth_buf__u_top_buf - const dashWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashWidth_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dashWidth_buf__u_right_buf_runtimeType)) - { - const dashWidth_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let dashWidth_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (dashWidth_buf__u_right_buf__selector == 0) { - dashWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (dashWidth_buf__u_right_buf__selector == 1) { - dashWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashWidth_buf__u_right_buf__selector == 2) { - dashWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - dashWidth_buf__u_right_buf = (dashWidth_buf__u_right_buf_ as string | number | Resource) - } - const dashWidth_buf__u_right: undefined | Length = dashWidth_buf__u_right_buf - const dashWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashWidth_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dashWidth_buf__u_bottom_buf_runtimeType)) - { - const dashWidth_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let dashWidth_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (dashWidth_buf__u_bottom_buf__selector == 0) { - dashWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (dashWidth_buf__u_bottom_buf__selector == 1) { - dashWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashWidth_buf__u_bottom_buf__selector == 2) { - dashWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - dashWidth_buf__u_bottom_buf = (dashWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const dashWidth_buf__u_bottom: undefined | Length = dashWidth_buf__u_bottom_buf - const dashWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dashWidth_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dashWidth_buf__u_left_buf_runtimeType)) - { - const dashWidth_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let dashWidth_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (dashWidth_buf__u_left_buf__selector == 0) { - dashWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (dashWidth_buf__u_left_buf__selector == 1) { - dashWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (dashWidth_buf__u_left_buf__selector == 2) { - dashWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for dashWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - dashWidth_buf__u_left_buf = (dashWidth_buf__u_left_buf_ as string | number | Resource) - } - const dashWidth_buf__u_left: undefined | Length = dashWidth_buf__u_left_buf - dashWidth_buf_ = ({top: dashWidth_buf__u_top, right: dashWidth_buf__u_right, bottom: dashWidth_buf__u_bottom, left: dashWidth_buf__u_left} as EdgeWidths) + dashWidth_buf_ = valueDeserializer.readEdgeWidths() } else if (dashWidth_buf__selector == 1) { dashWidth_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) @@ -22997,47 +24249,7 @@ export class Deserializer extends DeserializerBase { let value: BorderOptions = ({width: width_result, color: color_result, radius: radius_result, style: style_result, dashGap: dashGap_result, dashWidth: dashWidth_result} as BorderOptions) return value } - readButtonStyle(): ButtonStyle { - let valueDeserializer: Deserializer = this - const left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let left_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (left_buf_runtimeType)) - { - left_buf = (valueDeserializer.readNumber() as number) - } - const left_result: number | undefined|undefined = left_buf - const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let top_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) - { - top_buf = (valueDeserializer.readNumber() as number) - } - const top_result: number | undefined|undefined = top_buf - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) - { - width_buf = (valueDeserializer.readNumber() as number) - } - const width_result: number | undefined|undefined = width_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) - { - height_buf = (valueDeserializer.readNumber() as number) - } - const height_result: number | undefined|undefined = height_buf - const icons_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let icons_buf: ButtonIconOptions | undefined|undefined - if ((RuntimeType.UNDEFINED) != (icons_buf_runtimeType)) - { - icons_buf = valueDeserializer.readButtonIconOptions() - } - const icons_result: ButtonIconOptions | undefined|undefined = icons_buf - let value: ButtonStyle = ({left: left_result, top: top_result, width: width_result, height: height_result, icons: icons_result} as ButtonStyle) - return value - } - readCancelButtonOptions(): CancelButtonOptions { + public readCancelButtonOptions(): CancelButtonOptions { let valueDeserializer: Deserializer = this const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) let style_buf: CancelButtonStyle | undefined|undefined @@ -23056,7 +24268,7 @@ export class Deserializer extends DeserializerBase { let value: CancelButtonOptions = ({style: style_result, icon: icon_result} as CancelButtonOptions) return value } - readCapsuleStyleOptions(): CapsuleStyleOptions { + public readCapsuleStyleOptions(): CapsuleStyleOptions { let valueDeserializer: Deserializer = this const enableScanEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) let enableScanEffect_buf: boolean | undefined|undefined @@ -23155,10 +24367,17 @@ export class Deserializer extends DeserializerBase { showDefaultPercentage_buf = valueDeserializer.readBoolean() } const showDefaultPercentage_result: boolean | undefined|undefined = showDefaultPercentage_buf - let value: CapsuleStyleOptions = ({enableScanEffect: enableScanEffect_result, borderColor: borderColor_result, borderWidth: borderWidth_result, content: content_result, font: font_result, fontColor: fontColor_result, showDefaultPercentage: showDefaultPercentage_result} as CapsuleStyleOptions) + const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderRadius_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) + { + borderRadius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const borderRadius_result: LengthMetrics | undefined|undefined = borderRadius_buf + let value: CapsuleStyleOptions = ({enableScanEffect: enableScanEffect_result, borderColor: borderColor_result, borderWidth: borderWidth_result, content: content_result, font: font_result, fontColor: fontColor_result, showDefaultPercentage: showDefaultPercentage_result, borderRadius: borderRadius_result} as CapsuleStyleOptions) return value } - readContextMenuOptions(): ContextMenuOptions { + public readContextMenuOptions(): ContextMenuOptions { let valueDeserializer: Deserializer = this const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) let offset_buf: Position | undefined|undefined @@ -23220,6 +24439,41 @@ export class Deserializer extends DeserializerBase { preview_buf = (preview_buf_ as MenuPreviewMode | CustomBuilder) } const preview_result: MenuPreviewMode | CustomBuilder | undefined|undefined = preview_buf + const previewBorderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let previewBorderRadius_buf: BorderRadiusType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (previewBorderRadius_buf_runtimeType)) + { + const previewBorderRadius_buf__selector: number = valueDeserializer.readInt8() + let previewBorderRadius_buf_: Length | BorderRadiuses | LocalizedBorderRadiuses | undefined|undefined + if (previewBorderRadius_buf__selector == 0) { + const previewBorderRadius_buf__u_selector: number = valueDeserializer.readInt8() + let previewBorderRadius_buf__u: string | number | Resource | undefined|undefined + if (previewBorderRadius_buf__u_selector == 0) { + previewBorderRadius_buf__u = (valueDeserializer.readString() as string) + } + else if (previewBorderRadius_buf__u_selector == 1) { + previewBorderRadius_buf__u = (valueDeserializer.readNumber() as number) + } + else if (previewBorderRadius_buf__u_selector == 2) { + previewBorderRadius_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for previewBorderRadius_buf__u has to be chosen through deserialisation.") + } + previewBorderRadius_buf_ = (previewBorderRadius_buf__u as string | number | Resource) + } + else if (previewBorderRadius_buf__selector == 1) { + previewBorderRadius_buf_ = valueDeserializer.readBorderRadiuses() + } + else if (previewBorderRadius_buf__selector == 2) { + previewBorderRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() + } + else { + throw new Error("One of the branches for previewBorderRadius_buf_ has to be chosen through deserialisation.") + } + previewBorderRadius_buf = (previewBorderRadius_buf_ as Length | BorderRadiuses | LocalizedBorderRadiuses) + } + const previewBorderRadius_result: BorderRadiusType | undefined|undefined = previewBorderRadius_buf const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) let borderRadius_buf: Length | BorderRadiuses | LocalizedBorderRadiuses | undefined|undefined if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) @@ -23244,91 +24498,7 @@ export class Deserializer extends DeserializerBase { borderRadius_buf_ = (borderRadius_buf__u as string | number | Resource) } else if (borderRadius_buf__selector == 1) { - const borderRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const borderRadius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topLeft_buf = (borderRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topLeft: undefined | Length = borderRadius_buf__u_topLeft_buf - const borderRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const borderRadius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topRight_buf = (borderRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topRight: undefined | Length = borderRadius_buf__u_topRight_buf - const borderRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const borderRadius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomLeft_buf = (borderRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomLeft: undefined | Length = borderRadius_buf__u_bottomLeft_buf - const borderRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const borderRadius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomRight_buf = (borderRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomRight: undefined | Length = borderRadius_buf__u_bottomRight_buf - borderRadius_buf_ = ({topLeft: borderRadius_buf__u_topLeft, topRight: borderRadius_buf__u_topRight, bottomLeft: borderRadius_buf__u_bottomLeft, bottomRight: borderRadius_buf__u_bottomRight} as BorderRadiuses) + borderRadius_buf_ = valueDeserializer.readBorderRadiuses() } else if (borderRadius_buf__selector == 2) { borderRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() @@ -23345,118 +24515,34 @@ export class Deserializer extends DeserializerBase { { onAppear_buf = valueDeserializer.readCallback_Void() } - const onAppear_result: (() => void) | undefined|undefined = onAppear_buf - const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onDisappear_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) - { - onDisappear_buf = valueDeserializer.readCallback_Void() - } - const onDisappear_result: (() => void) | undefined|undefined = onDisappear_buf - const aboutToAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let aboutToAppear_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (aboutToAppear_buf_runtimeType)) - { - aboutToAppear_buf = valueDeserializer.readCallback_Void() - } - const aboutToAppear_result: (() => void) | undefined|undefined = aboutToAppear_buf - const aboutToDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let aboutToDisappear_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (aboutToDisappear_buf_runtimeType)) - { - aboutToDisappear_buf = valueDeserializer.readCallback_Void() - } - const aboutToDisappear_result: (() => void) | undefined|undefined = aboutToDisappear_buf - const layoutRegionMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf: Padding | undefined|undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf_runtimeType)) - { - const layoutRegionMargin_buf__top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__top_buf_runtimeType)) - { - const layoutRegionMargin_buf__top_buf__selector: number = valueDeserializer.readInt8() - let layoutRegionMargin_buf__top_buf_: string | number | Resource | undefined|undefined - if (layoutRegionMargin_buf__top_buf__selector == 0) { - layoutRegionMargin_buf__top_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__top_buf__selector == 1) { - layoutRegionMargin_buf__top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__top_buf__selector == 2) { - layoutRegionMargin_buf__top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__top_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__top_buf = (layoutRegionMargin_buf__top_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__top: undefined | Length = layoutRegionMargin_buf__top_buf - const layoutRegionMargin_buf__right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__right_buf_runtimeType)) - { - const layoutRegionMargin_buf__right_buf__selector: number = valueDeserializer.readInt8() - let layoutRegionMargin_buf__right_buf_: string | number | Resource | undefined|undefined - if (layoutRegionMargin_buf__right_buf__selector == 0) { - layoutRegionMargin_buf__right_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__right_buf__selector == 1) { - layoutRegionMargin_buf__right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__right_buf__selector == 2) { - layoutRegionMargin_buf__right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__right_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__right_buf = (layoutRegionMargin_buf__right_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__right: undefined | Length = layoutRegionMargin_buf__right_buf - const layoutRegionMargin_buf__bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__bottom_buf_runtimeType)) - { - const layoutRegionMargin_buf__bottom_buf__selector: number = valueDeserializer.readInt8() - let layoutRegionMargin_buf__bottom_buf_: string | number | Resource | undefined|undefined - if (layoutRegionMargin_buf__bottom_buf__selector == 0) { - layoutRegionMargin_buf__bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__bottom_buf__selector == 1) { - layoutRegionMargin_buf__bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__bottom_buf__selector == 2) { - layoutRegionMargin_buf__bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__bottom_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__bottom_buf = (layoutRegionMargin_buf__bottom_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__bottom: undefined | Length = layoutRegionMargin_buf__bottom_buf - const layoutRegionMargin_buf__left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__left_buf_runtimeType)) - { - const layoutRegionMargin_buf__left_buf__selector: number = valueDeserializer.readInt8() - let layoutRegionMargin_buf__left_buf_: string | number | Resource | undefined|undefined - if (layoutRegionMargin_buf__left_buf__selector == 0) { - layoutRegionMargin_buf__left_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__left_buf__selector == 1) { - layoutRegionMargin_buf__left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__left_buf__selector == 2) { - layoutRegionMargin_buf__left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__left_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__left_buf = (layoutRegionMargin_buf__left_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__left: undefined | Length = layoutRegionMargin_buf__left_buf - layoutRegionMargin_buf = ({top: layoutRegionMargin_buf__top, right: layoutRegionMargin_buf__right, bottom: layoutRegionMargin_buf__bottom, left: layoutRegionMargin_buf__left} as Padding) - } + const onAppear_result: (() => void) | undefined|undefined = onAppear_buf + const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) + { + onDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDisappear_result: (() => void) | undefined|undefined = onDisappear_buf + const aboutToAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let aboutToAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (aboutToAppear_buf_runtimeType)) + { + aboutToAppear_buf = valueDeserializer.readCallback_Void() + } + const aboutToAppear_result: (() => void) | undefined|undefined = aboutToAppear_buf + const aboutToDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let aboutToDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (aboutToDisappear_buf_runtimeType)) + { + aboutToDisappear_buf = valueDeserializer.readCallback_Void() + } + const aboutToDisappear_result: (() => void) | undefined|undefined = aboutToDisappear_buf + const layoutRegionMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let layoutRegionMargin_buf: Padding | undefined|undefined + if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf_runtimeType)) + { + layoutRegionMargin_buf = valueDeserializer.readPadding() + } const layoutRegionMargin_result: Padding | undefined|undefined = layoutRegionMargin_buf const previewAnimationOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) let previewAnimationOptions_buf: ContextMenuAnimationOptions | undefined|undefined @@ -23496,6 +24582,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = valueDeserializer.readInt32() } const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf const transition_buf_runtimeType = (valueDeserializer.readInt8() as int32) let transition_buf: TransitionEffect | undefined|undefined if ((RuntimeType.UNDEFINED) != (transition_buf_runtimeType)) @@ -23510,10 +24610,84 @@ export class Deserializer extends DeserializerBase { enableHoverMode_buf = valueDeserializer.readBoolean() } const enableHoverMode_result: boolean | undefined|undefined = enableHoverMode_buf - let value: ContextMenuOptions = ({offset: offset_result, placement: placement_result, enableArrow: enableArrow_result, arrowOffset: arrowOffset_result, preview: preview_result, borderRadius: borderRadius_result, onAppear: onAppear_result, onDisappear: onDisappear_result, aboutToAppear: aboutToAppear_result, aboutToDisappear: aboutToDisappear_result, layoutRegionMargin: layoutRegionMargin_result, previewAnimationOptions: previewAnimationOptions_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, transition: transition_result, enableHoverMode: enableHoverMode_result} as ContextMenuOptions) + const outlineColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let outlineColor_buf: ResourceColor | EdgeColors | undefined|undefined + if ((RuntimeType.UNDEFINED) != (outlineColor_buf_runtimeType)) + { + const outlineColor_buf__selector: number = valueDeserializer.readInt8() + let outlineColor_buf_: ResourceColor | EdgeColors | undefined|undefined + if (outlineColor_buf__selector == 0) { + const outlineColor_buf__u_selector: number = valueDeserializer.readInt8() + let outlineColor_buf__u: Color | number | string | Resource | undefined|undefined + if (outlineColor_buf__u_selector == 0) { + outlineColor_buf__u = valueDeserializer.readInt32() + } + else if (outlineColor_buf__u_selector == 1) { + outlineColor_buf__u = (valueDeserializer.readNumber() as number) + } + else if (outlineColor_buf__u_selector == 2) { + outlineColor_buf__u = (valueDeserializer.readString() as string) + } + else if (outlineColor_buf__u_selector == 3) { + outlineColor_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for outlineColor_buf__u has to be chosen through deserialisation.") + } + outlineColor_buf_ = (outlineColor_buf__u as Color | number | string | Resource) + } + else if (outlineColor_buf__selector == 1) { + outlineColor_buf_ = valueDeserializer.readEdgeColors() + } + else { + throw new Error("One of the branches for outlineColor_buf_ has to be chosen through deserialisation.") + } + outlineColor_buf = (outlineColor_buf_ as ResourceColor | EdgeColors) + } + const outlineColor_result: ResourceColor | EdgeColors | undefined|undefined = outlineColor_buf + const outlineWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let outlineWidth_buf: Dimension | EdgeOutlineWidths | undefined|undefined + if ((RuntimeType.UNDEFINED) != (outlineWidth_buf_runtimeType)) + { + const outlineWidth_buf__selector: number = valueDeserializer.readInt8() + let outlineWidth_buf_: Dimension | EdgeOutlineWidths | undefined|undefined + if (outlineWidth_buf__selector == 0) { + const outlineWidth_buf__u_selector: number = valueDeserializer.readInt8() + let outlineWidth_buf__u: string | number | Resource | undefined|undefined + if (outlineWidth_buf__u_selector == 0) { + outlineWidth_buf__u = (valueDeserializer.readString() as string) + } + else if (outlineWidth_buf__u_selector == 1) { + outlineWidth_buf__u = (valueDeserializer.readNumber() as number) + } + else if (outlineWidth_buf__u_selector == 2) { + outlineWidth_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for outlineWidth_buf__u has to be chosen through deserialisation.") + } + outlineWidth_buf_ = (outlineWidth_buf__u as string | number | Resource) + } + else if (outlineWidth_buf__selector == 1) { + outlineWidth_buf_ = valueDeserializer.readEdgeOutlineWidths() + } + else { + throw new Error("One of the branches for outlineWidth_buf_ has to be chosen through deserialisation.") + } + outlineWidth_buf = (outlineWidth_buf_ as Dimension | EdgeOutlineWidths) + } + const outlineWidth_result: Dimension | EdgeOutlineWidths | undefined|undefined = outlineWidth_buf + const hapticFeedbackMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hapticFeedbackMode_buf: HapticFeedbackMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (hapticFeedbackMode_buf_runtimeType)) + { + hapticFeedbackMode_buf = valueDeserializer.readInt32() + } + const hapticFeedbackMode_result: HapticFeedbackMode | undefined|undefined = hapticFeedbackMode_buf + let value: ContextMenuOptions = ({offset: offset_result, placement: placement_result, enableArrow: enableArrow_result, arrowOffset: arrowOffset_result, preview: preview_result, previewBorderRadius: previewBorderRadius_result, borderRadius: borderRadius_result, onAppear: onAppear_result, onDisappear: onDisappear_result, aboutToAppear: aboutToAppear_result, aboutToDisappear: aboutToDisappear_result, layoutRegionMargin: layoutRegionMargin_result, previewAnimationOptions: previewAnimationOptions_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, transition: transition_result, enableHoverMode: enableHoverMode_result, outlineColor: outlineColor_result, outlineWidth: outlineWidth_result, hapticFeedbackMode: hapticFeedbackMode_result} as ContextMenuOptions) return value } - readCustomDialogControllerOptions(): CustomDialogControllerOptions { + public readCustomDialogControllerOptions(): CustomDialogControllerOptions { let valueDeserializer: Deserializer = this const builder_result: CustomDialogControllerBuilder = valueDeserializer.readCustomDialogControllerBuilder() const cancel_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -23541,37 +24715,7 @@ export class Deserializer extends DeserializerBase { let offset_buf: Offset | undefined|undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dx_buf: string | number | Resource | undefined|undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx: Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dy_buf: string | number | Resource | undefined|undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy: Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result: Offset | undefined|undefined = offset_buf const customStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -23688,91 +24832,7 @@ export class Deserializer extends DeserializerBase { cornerRadius_buf_ = (cornerRadius_buf__u as string | number | Resource) } else if (cornerRadius_buf__selector == 1) { - const cornerRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_topLeft_buf__selector == 0) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 1) { - cornerRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topLeft_buf__selector == 2) { - cornerRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topLeft_buf = (cornerRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topLeft: undefined | Length = cornerRadius_buf__u_topLeft_buf - const cornerRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) - { - const cornerRadius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_topRight_buf__selector == 0) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 1) { - cornerRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_topRight_buf__selector == 2) { - cornerRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_topRight_buf = (cornerRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_topRight: undefined | Length = cornerRadius_buf__u_topRight_buf - const cornerRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_bottomLeft_buf__selector == 0) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 1) { - cornerRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomLeft_buf__selector == 2) { - cornerRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomLeft_buf = (cornerRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomLeft: undefined | Length = cornerRadius_buf__u_bottomLeft_buf - const cornerRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let cornerRadius_buf__u_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) - { - const cornerRadius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let cornerRadius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (cornerRadius_buf__u_bottomRight_buf__selector == 0) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 1) { - cornerRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (cornerRadius_buf__u_bottomRight_buf__selector == 2) { - cornerRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for cornerRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - cornerRadius_buf__u_bottomRight_buf = (cornerRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const cornerRadius_buf__u_bottomRight: undefined | Length = cornerRadius_buf__u_bottomRight_buf - cornerRadius_buf_ = ({topLeft: cornerRadius_buf__u_topLeft, topRight: cornerRadius_buf__u_topRight, bottomLeft: cornerRadius_buf__u_bottomLeft, bottomRight: cornerRadius_buf__u_bottomRight} as BorderRadiuses) + cornerRadius_buf_ = valueDeserializer.readBorderRadiuses() } else { throw new Error("One of the branches for cornerRadius_buf_ has to be chosen through deserialisation.") @@ -23860,91 +24920,7 @@ export class Deserializer extends DeserializerBase { borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) } else if (borderWidth_buf__selector == 1) { - const borderWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const borderWidth_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_top_buf = (borderWidth_buf__u_top_buf_ as string | number | Resource) - } - const borderWidth_buf__u_top: undefined | Length = borderWidth_buf__u_top_buf - const borderWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const borderWidth_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_right_buf = (borderWidth_buf__u_right_buf_ as string | number | Resource) - } - const borderWidth_buf__u_right: undefined | Length = borderWidth_buf__u_right_buf - const borderWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const borderWidth_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_bottom_buf = (borderWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const borderWidth_buf__u_bottom: undefined | Length = borderWidth_buf__u_bottom_buf - const borderWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const borderWidth_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_left_buf = (borderWidth_buf__u_left_buf_ as string | number | Resource) - } - const borderWidth_buf__u_left: undefined | Length = borderWidth_buf__u_left_buf - borderWidth_buf_ = ({top: borderWidth_buf__u_top, right: borderWidth_buf__u_right, bottom: borderWidth_buf__u_bottom, left: borderWidth_buf__u_left} as EdgeWidths) + borderWidth_buf_ = valueDeserializer.readEdgeWidths() } else { throw new Error("One of the branches for borderWidth_buf_ has to be chosen through deserialisation.") @@ -23979,103 +24955,7 @@ export class Deserializer extends DeserializerBase { borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) } else if (borderColor_buf__selector == 1) { - const borderColor_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_top_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const borderColor_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_top_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_top_buf = (borderColor_buf__u_top_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_top: undefined | ResourceColor = borderColor_buf__u_top_buf - const borderColor_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_right_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const borderColor_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_right_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_right_buf = (borderColor_buf__u_right_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_right: undefined | ResourceColor = borderColor_buf__u_right_buf - const borderColor_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_bottom_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const borderColor_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_bottom_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_bottom_buf = (borderColor_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_bottom: undefined | ResourceColor = borderColor_buf__u_bottom_buf - const borderColor_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_left_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const borderColor_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_left_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_left_buf = (borderColor_buf__u_left_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_left: undefined | ResourceColor = borderColor_buf__u_left_buf - borderColor_buf_ = ({top: borderColor_buf__u_top, right: borderColor_buf__u_right, bottom: borderColor_buf__u_bottom, left: borderColor_buf__u_left} as EdgeColors) + borderColor_buf_ = valueDeserializer.readEdgeColors() } else { throw new Error("One of the branches for borderColor_buf_ has to be chosen through deserialisation.") @@ -24126,6 +25006,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = valueDeserializer.readInt32() } const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf const keyboardAvoidMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) let keyboardAvoidMode_buf: KeyboardAvoidMode | undefined|undefined if ((RuntimeType.UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) @@ -24147,10 +25041,80 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = valueDeserializer.readInt32() } const hoverModeArea_result: HoverModeAreaType | undefined|undefined = hoverModeArea_buf - let value: CustomDialogControllerOptions = ({builder: builder_result, cancel: cancel_result, autoCancel: autoCancel_result, alignment: alignment_result, offset: offset_result, customStyle: customStyle_result, gridCount: gridCount_result, maskColor: maskColor_result, maskRect: maskRect_result, openAnimation: openAnimation_result, closeAnimation: closeAnimation_result, showInSubWindow: showInSubWindow_result, backgroundColor: backgroundColor_result, cornerRadius: cornerRadius_result, isModal: isModal_result, onWillDismiss: onWillDismiss_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, backgroundBlurStyle: backgroundBlurStyle_result, keyboardAvoidMode: keyboardAvoidMode_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result} as CustomDialogControllerOptions) + const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) + { + onDidAppear_buf = valueDeserializer.readCallback_Void() + } + const onDidAppear_result: (() => void) | undefined|undefined = onDidAppear_buf + const onDidDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDidDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDidDisappear_buf_runtimeType)) + { + onDidDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDidDisappear_result: (() => void) | undefined|undefined = onDidDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result: (() => void) | undefined|undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result: (() => void) | undefined|undefined = onWillDisappear_buf + const keyboardAvoidDistance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let keyboardAvoidDistance_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (keyboardAvoidDistance_buf_runtimeType)) + { + keyboardAvoidDistance_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const keyboardAvoidDistance_result: LengthMetrics | undefined|undefined = keyboardAvoidDistance_buf + const levelMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelMode_buf: LevelMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelMode_buf_runtimeType)) + { + levelMode_buf = valueDeserializer.readLevelMode() + } + const levelMode_result: LevelMode | undefined|undefined = levelMode_buf + const levelUniqueId_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelUniqueId_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelUniqueId_buf_runtimeType)) + { + levelUniqueId_buf = (valueDeserializer.readNumber() as number) + } + const levelUniqueId_result: number | undefined|undefined = levelUniqueId_buf + const immersiveMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let immersiveMode_buf: ImmersiveMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (immersiveMode_buf_runtimeType)) + { + immersiveMode_buf = valueDeserializer.readImmersiveMode() + } + const immersiveMode_result: ImmersiveMode | undefined|undefined = immersiveMode_buf + const levelOrder_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let levelOrder_buf: LevelOrder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (levelOrder_buf_runtimeType)) + { + levelOrder_buf = valueDeserializer.readLevelOrder() + } + const levelOrder_result: LevelOrder | undefined|undefined = levelOrder_buf + const focusable_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let focusable_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (focusable_buf_runtimeType)) + { + focusable_buf = valueDeserializer.readBoolean() + } + const focusable_result: boolean | undefined|undefined = focusable_buf + let value: CustomDialogControllerOptions = ({builder: builder_result, cancel: cancel_result, autoCancel: autoCancel_result, alignment: alignment_result, offset: offset_result, customStyle: customStyle_result, gridCount: gridCount_result, maskColor: maskColor_result, maskRect: maskRect_result, openAnimation: openAnimation_result, closeAnimation: closeAnimation_result, showInSubWindow: showInSubWindow_result, backgroundColor: backgroundColor_result, cornerRadius: cornerRadius_result, isModal: isModal_result, onWillDismiss: onWillDismiss_result, width: width_result, height: height_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, keyboardAvoidMode: keyboardAvoidMode_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, keyboardAvoidDistance: keyboardAvoidDistance_result, levelMode: levelMode_result, levelUniqueId: levelUniqueId_result, immersiveMode: immersiveMode_result, levelOrder: levelOrder_result, focusable: focusable_result} as CustomDialogControllerOptions) return value } - readCustomPopupOptions(): CustomPopupOptions { + public readCustomPopupOptions(): CustomPopupOptions { let valueDeserializer: Deserializer = this const builder_result: CustomBuilder = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) const placement_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -24481,85 +25445,45 @@ export class Deserializer extends DeserializerBase { if ((RuntimeType.UNDEFINED) != (followTransformOfTarget_buf_runtimeType)) { followTransformOfTarget_buf = valueDeserializer.readBoolean() - } - const followTransformOfTarget_result: boolean | undefined|undefined = followTransformOfTarget_buf - let value: CustomPopupOptions = ({builder: builder_result, placement: placement_result, maskColor: maskColor_result, popupColor: popupColor_result, enableArrow: enableArrow_result, autoCancel: autoCancel_result, onStateChange: onStateChange_result, arrowOffset: arrowOffset_result, showInSubWindow: showInSubWindow_result, mask: mask_result, targetSpace: targetSpace_result, offset: offset_result, width: width_result, arrowPointPosition: arrowPointPosition_result, arrowWidth: arrowWidth_result, arrowHeight: arrowHeight_result, radius: radius_result, shadow: shadow_result, backgroundBlurStyle: backgroundBlurStyle_result, focusable: focusable_result, transition: transition_result, onWillDismiss: onWillDismiss_result, enableHoverMode: enableHoverMode_result, followTransformOfTarget: followTransformOfTarget_result} as CustomPopupOptions) - return value - } - readCustomTheme(): CustomTheme { - let valueDeserializer: Deserializer = this - const colors_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colors_buf: CustomColors | undefined|undefined - if ((RuntimeType.UNDEFINED) != (colors_buf_runtimeType)) - { - colors_buf = valueDeserializer.readCustomColors() - } - const colors_result: CustomColors | undefined|undefined = colors_buf - let value: CustomTheme = ({colors: colors_result} as CustomTheme) - return value - } - readDigitIndicator(): DigitIndicator { - throw new Error("Can not deserialize builder class") - } - readEventTarget(): EventTarget { - let valueDeserializer: Deserializer = this - const area_result: Area = valueDeserializer.readArea() - let value: EventTarget = ({area: area_result} as EventTarget) - return value - } - readFlexOptions(): FlexOptions { - let valueDeserializer: Deserializer = this - const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let direction_buf: FlexDirection | undefined|undefined - if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) - { - direction_buf = valueDeserializer.readInt32() - } - const direction_result: FlexDirection | undefined|undefined = direction_buf - const wrap_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let wrap_buf: FlexWrap | undefined|undefined - if ((RuntimeType.UNDEFINED) != (wrap_buf_runtimeType)) - { - wrap_buf = valueDeserializer.readInt32() - } - const wrap_result: FlexWrap | undefined|undefined = wrap_buf - const justifyContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let justifyContent_buf: FlexAlign | undefined|undefined - if ((RuntimeType.UNDEFINED) != (justifyContent_buf_runtimeType)) - { - justifyContent_buf = valueDeserializer.readInt32() - } - const justifyContent_result: FlexAlign | undefined|undefined = justifyContent_buf - const alignItems_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let alignItems_buf: ItemAlign | undefined|undefined - if ((RuntimeType.UNDEFINED) != (alignItems_buf_runtimeType)) - { - alignItems_buf = valueDeserializer.readInt32() - } - const alignItems_result: ItemAlign | undefined|undefined = alignItems_buf - const alignContent_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let alignContent_buf: FlexAlign | undefined|undefined - if ((RuntimeType.UNDEFINED) != (alignContent_buf_runtimeType)) + } + const followTransformOfTarget_result: boolean | undefined|undefined = followTransformOfTarget_buf + const keyboardAvoidMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let keyboardAvoidMode_buf: KeyboardAvoidMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) { - alignContent_buf = valueDeserializer.readInt32() + keyboardAvoidMode_buf = valueDeserializer.readInt32() } - const alignContent_result: FlexAlign | undefined|undefined = alignContent_buf - const space_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let space_buf: FlexSpaceOptions | undefined|undefined - if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) + const keyboardAvoidMode_result: KeyboardAvoidMode | undefined|undefined = keyboardAvoidMode_buf + let value: CustomPopupOptions = ({builder: builder_result, placement: placement_result, maskColor: maskColor_result, popupColor: popupColor_result, enableArrow: enableArrow_result, autoCancel: autoCancel_result, onStateChange: onStateChange_result, arrowOffset: arrowOffset_result, showInSubWindow: showInSubWindow_result, mask: mask_result, targetSpace: targetSpace_result, offset: offset_result, width: width_result, arrowPointPosition: arrowPointPosition_result, arrowWidth: arrowWidth_result, arrowHeight: arrowHeight_result, radius: radius_result, shadow: shadow_result, backgroundBlurStyle: backgroundBlurStyle_result, focusable: focusable_result, transition: transition_result, onWillDismiss: onWillDismiss_result, enableHoverMode: enableHoverMode_result, followTransformOfTarget: followTransformOfTarget_result, keyboardAvoidMode: keyboardAvoidMode_result} as CustomPopupOptions) + return value + } + public readDigitIndicator(): DigitIndicator { + throw new Error("Can not deserialize builder class") + } + public readEventTarget(): EventTarget { + let valueDeserializer: Deserializer = this + const area_result: Area = valueDeserializer.readArea() + const id_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let id_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (id_buf_runtimeType)) { - space_buf = valueDeserializer.readFlexSpaceOptions() + id_buf = (valueDeserializer.readString() as string) } - const space_result: FlexSpaceOptions | undefined|undefined = space_buf - let value: FlexOptions = ({direction: direction_result, wrap: wrap_result, justifyContent: justifyContent_result, alignItems: alignItems_result, alignContent: alignContent_result, space: space_result} as FlexOptions) + const id_result: string | undefined|undefined = id_buf + let value: EventTarget = ({area: area_result, id: id_result} as EventTarget) return value } - readGestureEvent(): GestureEvent { + public readFocusAxisEvent(): FocusAxisEvent { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return FocusAxisEventInternal.fromPtr(ptr) + } + public readGestureEvent(): GestureEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return GestureEventInternal.fromPtr(ptr) } - readGutterOption(): GutterOption { + public readGutterOption(): GutterOption { let valueDeserializer: Deserializer = this const x_buf_runtimeType = (valueDeserializer.readInt8() as int32) let x_buf: Length | GridRowSizeOption | undefined|undefined @@ -24628,12 +25552,12 @@ export class Deserializer extends DeserializerBase { let value: GutterOption = ({x: x_result, y: y_result} as GutterOption) return value } - readHoverEvent(): HoverEvent { + public readHoverEvent(): HoverEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return HoverEventInternal.fromPtr(ptr) } - readImageAttachmentLayoutStyle(): ImageAttachmentLayoutStyle { + public readImageAttachmentLayoutStyle(): ImageAttachmentLayoutStyle { let valueDeserializer: Deserializer = this const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) let margin_buf: LengthMetrics | Padding | undefined|undefined @@ -24645,91 +25569,7 @@ export class Deserializer extends DeserializerBase { margin_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (margin_buf__selector == 1) { - const margin_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_top_buf_runtimeType)) - { - const margin_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let margin_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (margin_buf__u_top_buf__selector == 0) { - margin_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_top_buf__selector == 1) { - margin_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_top_buf__selector == 2) { - margin_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_top_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_top_buf = (margin_buf__u_top_buf_ as string | number | Resource) - } - const margin_buf__u_top: undefined | Length = margin_buf__u_top_buf - const margin_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_right_buf_runtimeType)) - { - const margin_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let margin_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (margin_buf__u_right_buf__selector == 0) { - margin_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_right_buf__selector == 1) { - margin_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_right_buf__selector == 2) { - margin_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_right_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_right_buf = (margin_buf__u_right_buf_ as string | number | Resource) - } - const margin_buf__u_right: undefined | Length = margin_buf__u_right_buf - const margin_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_bottom_buf_runtimeType)) - { - const margin_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let margin_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (margin_buf__u_bottom_buf__selector == 0) { - margin_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_bottom_buf__selector == 1) { - margin_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_bottom_buf__selector == 2) { - margin_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_bottom_buf = (margin_buf__u_bottom_buf_ as string | number | Resource) - } - const margin_buf__u_bottom: undefined | Length = margin_buf__u_bottom_buf - const margin_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_left_buf_runtimeType)) - { - const margin_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let margin_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (margin_buf__u_left_buf__selector == 0) { - margin_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_left_buf__selector == 1) { - margin_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_left_buf__selector == 2) { - margin_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_left_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_left_buf = (margin_buf__u_left_buf_ as string | number | Resource) - } - const margin_buf__u_left: undefined | Length = margin_buf__u_left_buf - margin_buf_ = ({top: margin_buf__u_top, right: margin_buf__u_right, bottom: margin_buf__u_bottom, left: margin_buf__u_left} as Padding) + margin_buf_ = valueDeserializer.readPadding() } else { throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") @@ -24849,91 +25689,7 @@ export class Deserializer extends DeserializerBase { borderRadius_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (borderRadius_buf__selector == 1) { - const borderRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const borderRadius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topLeft_buf = (borderRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topLeft: undefined | Length = borderRadius_buf__u_topLeft_buf - const borderRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const borderRadius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topRight_buf = (borderRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topRight: undefined | Length = borderRadius_buf__u_topRight_buf - const borderRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const borderRadius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomLeft_buf = (borderRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomLeft: undefined | Length = borderRadius_buf__u_bottomLeft_buf - const borderRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const borderRadius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomRight_buf = (borderRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomRight: undefined | Length = borderRadius_buf__u_bottomRight_buf - borderRadius_buf_ = ({topLeft: borderRadius_buf__u_topLeft, topRight: borderRadius_buf__u_topRight, bottomLeft: borderRadius_buf__u_bottomLeft, bottomRight: borderRadius_buf__u_bottomRight} as BorderRadiuses) + borderRadius_buf_ = valueDeserializer.readBorderRadiuses() } else { throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") @@ -24944,7 +25700,7 @@ export class Deserializer extends DeserializerBase { let value: ImageAttachmentLayoutStyle = ({margin: margin_result, padding: padding_result, borderRadius: borderRadius_result} as ImageAttachmentLayoutStyle) return value } - readLabelStyle(): LabelStyle { + public readLabelStyle(): LabelStyle { let valueDeserializer: Deserializer = this const overflow_buf_runtimeType = (valueDeserializer.readInt8() as int32) let overflow_buf: TextOverflow | undefined|undefined @@ -25083,49 +25839,12 @@ export class Deserializer extends DeserializerBase { let value: LabelStyle = ({overflow: overflow_result, maxLines: maxLines_result, minFontSize: minFontSize_result, maxFontSize: maxFontSize_result, heightAdaptivePolicy: heightAdaptivePolicy_result, font: font_result, selectedColor: selectedColor_result, unselectedColor: unselectedColor_result} as LabelStyle) return value } - readLeadingMarginPlaceholder(): LeadingMarginPlaceholder { - let valueDeserializer: Deserializer = this - const pixelMap_result: PixelMap = (valueDeserializer.readPixelMap() as PixelMap) - const size_buf_value0_buf_selector: number = valueDeserializer.readInt8() - let size_buf_value0_buf: string | number | Resource | undefined|undefined - if (size_buf_value0_buf_selector == 0) { - size_buf_value0_buf = (valueDeserializer.readString() as string) - } - else if (size_buf_value0_buf_selector == 1) { - size_buf_value0_buf = (valueDeserializer.readNumber() as number) - } - else if (size_buf_value0_buf_selector == 2) { - size_buf_value0_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for size_buf_value0_buf has to be chosen through deserialisation.") - } - const size_buf_value0: Dimension = (size_buf_value0_buf as string | number | Resource) - const size_buf_value1_buf_selector: number = valueDeserializer.readInt8() - let size_buf_value1_buf: string | number | Resource | undefined|undefined - if (size_buf_value1_buf_selector == 0) { - size_buf_value1_buf = (valueDeserializer.readString() as string) - } - else if (size_buf_value1_buf_selector == 1) { - size_buf_value1_buf = (valueDeserializer.readNumber() as number) - } - else if (size_buf_value1_buf_selector == 2) { - size_buf_value1_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for size_buf_value1_buf has to be chosen through deserialisation.") - } - const size_buf_value1: Dimension = (size_buf_value1_buf as string | number | Resource) - const size_result: [ Dimension, Dimension ] = ([size_buf_value0, size_buf_value1] as [ Dimension, Dimension ]) - let value: LeadingMarginPlaceholder = ({pixelMap: pixelMap_result, size: size_result} as LeadingMarginPlaceholder) - return value - } - readLongPressGestureEvent(): LongPressGestureEvent { + public readLongPressGestureEvent(): LongPressGestureEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return LongPressGestureEventInternal.fromPtr(ptr) } - readMenuOptions(): MenuOptions { + public readMenuOptions(): MenuOptions { let valueDeserializer: Deserializer = this const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) let offset_buf: Position | undefined|undefined @@ -25187,6 +25906,41 @@ export class Deserializer extends DeserializerBase { preview_buf = (preview_buf_ as MenuPreviewMode | CustomBuilder) } const preview_result: MenuPreviewMode | CustomBuilder | undefined|undefined = preview_buf + const previewBorderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let previewBorderRadius_buf: BorderRadiusType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (previewBorderRadius_buf_runtimeType)) + { + const previewBorderRadius_buf__selector: number = valueDeserializer.readInt8() + let previewBorderRadius_buf_: Length | BorderRadiuses | LocalizedBorderRadiuses | undefined|undefined + if (previewBorderRadius_buf__selector == 0) { + const previewBorderRadius_buf__u_selector: number = valueDeserializer.readInt8() + let previewBorderRadius_buf__u: string | number | Resource | undefined|undefined + if (previewBorderRadius_buf__u_selector == 0) { + previewBorderRadius_buf__u = (valueDeserializer.readString() as string) + } + else if (previewBorderRadius_buf__u_selector == 1) { + previewBorderRadius_buf__u = (valueDeserializer.readNumber() as number) + } + else if (previewBorderRadius_buf__u_selector == 2) { + previewBorderRadius_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for previewBorderRadius_buf__u has to be chosen through deserialisation.") + } + previewBorderRadius_buf_ = (previewBorderRadius_buf__u as string | number | Resource) + } + else if (previewBorderRadius_buf__selector == 1) { + previewBorderRadius_buf_ = valueDeserializer.readBorderRadiuses() + } + else if (previewBorderRadius_buf__selector == 2) { + previewBorderRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() + } + else { + throw new Error("One of the branches for previewBorderRadius_buf_ has to be chosen through deserialisation.") + } + previewBorderRadius_buf = (previewBorderRadius_buf_ as Length | BorderRadiuses | LocalizedBorderRadiuses) + } + const previewBorderRadius_result: BorderRadiusType | undefined|undefined = previewBorderRadius_buf const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) let borderRadius_buf: Length | BorderRadiuses | LocalizedBorderRadiuses | undefined|undefined if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) @@ -25211,91 +25965,7 @@ export class Deserializer extends DeserializerBase { borderRadius_buf_ = (borderRadius_buf__u as string | number | Resource) } else if (borderRadius_buf__selector == 1) { - const borderRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const borderRadius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topLeft_buf = (borderRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topLeft: undefined | Length = borderRadius_buf__u_topLeft_buf - const borderRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const borderRadius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topRight_buf = (borderRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topRight: undefined | Length = borderRadius_buf__u_topRight_buf - const borderRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const borderRadius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomLeft_buf = (borderRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomLeft: undefined | Length = borderRadius_buf__u_bottomLeft_buf - const borderRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const borderRadius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomRight_buf = (borderRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomRight: undefined | Length = borderRadius_buf__u_bottomRight_buf - borderRadius_buf_ = ({topLeft: borderRadius_buf__u_topLeft, topRight: borderRadius_buf__u_topRight, bottomLeft: borderRadius_buf__u_bottomLeft, bottomRight: borderRadius_buf__u_bottomRight} as BorderRadiuses) + borderRadius_buf_ = valueDeserializer.readBorderRadiuses() } else if (borderRadius_buf__selector == 2) { borderRadius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() @@ -25338,91 +26008,7 @@ export class Deserializer extends DeserializerBase { let layoutRegionMargin_buf: Padding | undefined|undefined if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf_runtimeType)) { - const layoutRegionMargin_buf__top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__top_buf_runtimeType)) - { - const layoutRegionMargin_buf__top_buf__selector: number = valueDeserializer.readInt8() - let layoutRegionMargin_buf__top_buf_: string | number | Resource | undefined|undefined - if (layoutRegionMargin_buf__top_buf__selector == 0) { - layoutRegionMargin_buf__top_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__top_buf__selector == 1) { - layoutRegionMargin_buf__top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__top_buf__selector == 2) { - layoutRegionMargin_buf__top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__top_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__top_buf = (layoutRegionMargin_buf__top_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__top: undefined | Length = layoutRegionMargin_buf__top_buf - const layoutRegionMargin_buf__right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__right_buf_runtimeType)) - { - const layoutRegionMargin_buf__right_buf__selector: number = valueDeserializer.readInt8() - let layoutRegionMargin_buf__right_buf_: string | number | Resource | undefined|undefined - if (layoutRegionMargin_buf__right_buf__selector == 0) { - layoutRegionMargin_buf__right_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__right_buf__selector == 1) { - layoutRegionMargin_buf__right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__right_buf__selector == 2) { - layoutRegionMargin_buf__right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__right_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__right_buf = (layoutRegionMargin_buf__right_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__right: undefined | Length = layoutRegionMargin_buf__right_buf - const layoutRegionMargin_buf__bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__bottom_buf_runtimeType)) - { - const layoutRegionMargin_buf__bottom_buf__selector: number = valueDeserializer.readInt8() - let layoutRegionMargin_buf__bottom_buf_: string | number | Resource | undefined|undefined - if (layoutRegionMargin_buf__bottom_buf__selector == 0) { - layoutRegionMargin_buf__bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__bottom_buf__selector == 1) { - layoutRegionMargin_buf__bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__bottom_buf__selector == 2) { - layoutRegionMargin_buf__bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__bottom_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__bottom_buf = (layoutRegionMargin_buf__bottom_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__bottom: undefined | Length = layoutRegionMargin_buf__bottom_buf - const layoutRegionMargin_buf__left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutRegionMargin_buf__left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (layoutRegionMargin_buf__left_buf_runtimeType)) - { - const layoutRegionMargin_buf__left_buf__selector: number = valueDeserializer.readInt8() - let layoutRegionMargin_buf__left_buf_: string | number | Resource | undefined|undefined - if (layoutRegionMargin_buf__left_buf__selector == 0) { - layoutRegionMargin_buf__left_buf_ = (valueDeserializer.readString() as string) - } - else if (layoutRegionMargin_buf__left_buf__selector == 1) { - layoutRegionMargin_buf__left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (layoutRegionMargin_buf__left_buf__selector == 2) { - layoutRegionMargin_buf__left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for layoutRegionMargin_buf__left_buf_ has to be chosen through deserialisation.") - } - layoutRegionMargin_buf__left_buf = (layoutRegionMargin_buf__left_buf_ as string | number | Resource) - } - const layoutRegionMargin_buf__left: undefined | Length = layoutRegionMargin_buf__left_buf - layoutRegionMargin_buf = ({top: layoutRegionMargin_buf__top, right: layoutRegionMargin_buf__right, bottom: layoutRegionMargin_buf__bottom, left: layoutRegionMargin_buf__left} as Padding) + layoutRegionMargin_buf = valueDeserializer.readPadding() } const layoutRegionMargin_result: Padding | undefined|undefined = layoutRegionMargin_buf const previewAnimationOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -25463,6 +26049,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = valueDeserializer.readInt32() } const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf const transition_buf_runtimeType = (valueDeserializer.readInt8() as int32) let transition_buf: TransitionEffect | undefined|undefined if ((RuntimeType.UNDEFINED) != (transition_buf_runtimeType)) @@ -25477,6 +26077,80 @@ export class Deserializer extends DeserializerBase { enableHoverMode_buf = valueDeserializer.readBoolean() } const enableHoverMode_result: boolean | undefined|undefined = enableHoverMode_buf + const outlineColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let outlineColor_buf: ResourceColor | EdgeColors | undefined|undefined + if ((RuntimeType.UNDEFINED) != (outlineColor_buf_runtimeType)) + { + const outlineColor_buf__selector: number = valueDeserializer.readInt8() + let outlineColor_buf_: ResourceColor | EdgeColors | undefined|undefined + if (outlineColor_buf__selector == 0) { + const outlineColor_buf__u_selector: number = valueDeserializer.readInt8() + let outlineColor_buf__u: Color | number | string | Resource | undefined|undefined + if (outlineColor_buf__u_selector == 0) { + outlineColor_buf__u = valueDeserializer.readInt32() + } + else if (outlineColor_buf__u_selector == 1) { + outlineColor_buf__u = (valueDeserializer.readNumber() as number) + } + else if (outlineColor_buf__u_selector == 2) { + outlineColor_buf__u = (valueDeserializer.readString() as string) + } + else if (outlineColor_buf__u_selector == 3) { + outlineColor_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for outlineColor_buf__u has to be chosen through deserialisation.") + } + outlineColor_buf_ = (outlineColor_buf__u as Color | number | string | Resource) + } + else if (outlineColor_buf__selector == 1) { + outlineColor_buf_ = valueDeserializer.readEdgeColors() + } + else { + throw new Error("One of the branches for outlineColor_buf_ has to be chosen through deserialisation.") + } + outlineColor_buf = (outlineColor_buf_ as ResourceColor | EdgeColors) + } + const outlineColor_result: ResourceColor | EdgeColors | undefined|undefined = outlineColor_buf + const outlineWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let outlineWidth_buf: Dimension | EdgeOutlineWidths | undefined|undefined + if ((RuntimeType.UNDEFINED) != (outlineWidth_buf_runtimeType)) + { + const outlineWidth_buf__selector: number = valueDeserializer.readInt8() + let outlineWidth_buf_: Dimension | EdgeOutlineWidths | undefined|undefined + if (outlineWidth_buf__selector == 0) { + const outlineWidth_buf__u_selector: number = valueDeserializer.readInt8() + let outlineWidth_buf__u: string | number | Resource | undefined|undefined + if (outlineWidth_buf__u_selector == 0) { + outlineWidth_buf__u = (valueDeserializer.readString() as string) + } + else if (outlineWidth_buf__u_selector == 1) { + outlineWidth_buf__u = (valueDeserializer.readNumber() as number) + } + else if (outlineWidth_buf__u_selector == 2) { + outlineWidth_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for outlineWidth_buf__u has to be chosen through deserialisation.") + } + outlineWidth_buf_ = (outlineWidth_buf__u as string | number | Resource) + } + else if (outlineWidth_buf__selector == 1) { + outlineWidth_buf_ = valueDeserializer.readEdgeOutlineWidths() + } + else { + throw new Error("One of the branches for outlineWidth_buf_ has to be chosen through deserialisation.") + } + outlineWidth_buf = (outlineWidth_buf_ as Dimension | EdgeOutlineWidths) + } + const outlineWidth_result: Dimension | EdgeOutlineWidths | undefined|undefined = outlineWidth_buf + const hapticFeedbackMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hapticFeedbackMode_buf: HapticFeedbackMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (hapticFeedbackMode_buf_runtimeType)) + { + hapticFeedbackMode_buf = valueDeserializer.readInt32() + } + const hapticFeedbackMode_result: HapticFeedbackMode | undefined|undefined = hapticFeedbackMode_buf const title_buf_runtimeType = (valueDeserializer.readInt8() as int32) let title_buf: ResourceStr | undefined|undefined if ((RuntimeType.UNDEFINED) != (title_buf_runtimeType)) @@ -25486,31 +26160,103 @@ export class Deserializer extends DeserializerBase { if (title_buf__selector == 0) { title_buf_ = (valueDeserializer.readString() as string) } - else if (title_buf__selector == 1) { - title_buf_ = valueDeserializer.readResource() + else if (title_buf__selector == 1) { + title_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for title_buf_ has to be chosen through deserialisation.") + } + title_buf = (title_buf_ as string | Resource) + } + const title_result: ResourceStr | undefined|undefined = title_buf + const showInSubWindow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let showInSubWindow_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (showInSubWindow_buf_runtimeType)) + { + showInSubWindow_buf = valueDeserializer.readBoolean() + } + const showInSubWindow_result: boolean | undefined|undefined = showInSubWindow_buf + let value: MenuOptions = ({offset: offset_result, placement: placement_result, enableArrow: enableArrow_result, arrowOffset: arrowOffset_result, preview: preview_result, previewBorderRadius: previewBorderRadius_result, borderRadius: borderRadius_result, onAppear: onAppear_result, onDisappear: onDisappear_result, aboutToAppear: aboutToAppear_result, aboutToDisappear: aboutToDisappear_result, layoutRegionMargin: layoutRegionMargin_result, previewAnimationOptions: previewAnimationOptions_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, transition: transition_result, enableHoverMode: enableHoverMode_result, outlineColor: outlineColor_result, outlineWidth: outlineWidth_result, hapticFeedbackMode: hapticFeedbackMode_result, title: title_result, showInSubWindow: showInSubWindow_result} as MenuOptions) + return value + } + public readMenuOutlineOptions(): MenuOutlineOptions { + let valueDeserializer: Deserializer = this + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf: Dimension | EdgeOutlineWidths | undefined|undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + const width_buf__selector: number = valueDeserializer.readInt8() + let width_buf_: Dimension | EdgeOutlineWidths | undefined|undefined + if (width_buf__selector == 0) { + const width_buf__u_selector: number = valueDeserializer.readInt8() + let width_buf__u: string | number | Resource | undefined|undefined + if (width_buf__u_selector == 0) { + width_buf__u = (valueDeserializer.readString() as string) + } + else if (width_buf__u_selector == 1) { + width_buf__u = (valueDeserializer.readNumber() as number) + } + else if (width_buf__u_selector == 2) { + width_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for width_buf__u has to be chosen through deserialisation.") + } + width_buf_ = (width_buf__u as string | number | Resource) + } + else if (width_buf__selector == 1) { + width_buf_ = valueDeserializer.readEdgeOutlineWidths() } else { - throw new Error("One of the branches for title_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") } - title_buf = (title_buf_ as string | Resource) + width_buf = (width_buf_ as Dimension | EdgeOutlineWidths) } - const title_result: ResourceStr | undefined|undefined = title_buf - const showInSubWindow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let showInSubWindow_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (showInSubWindow_buf_runtimeType)) + const width_result: Dimension | EdgeOutlineWidths | undefined|undefined = width_buf + const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let color_buf: ResourceColor | EdgeColors | undefined|undefined + if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) { - showInSubWindow_buf = valueDeserializer.readBoolean() + const color_buf__selector: number = valueDeserializer.readInt8() + let color_buf_: ResourceColor | EdgeColors | undefined|undefined + if (color_buf__selector == 0) { + const color_buf__u_selector: number = valueDeserializer.readInt8() + let color_buf__u: Color | number | string | Resource | undefined|undefined + if (color_buf__u_selector == 0) { + color_buf__u = valueDeserializer.readInt32() + } + else if (color_buf__u_selector == 1) { + color_buf__u = (valueDeserializer.readNumber() as number) + } + else if (color_buf__u_selector == 2) { + color_buf__u = (valueDeserializer.readString() as string) + } + else if (color_buf__u_selector == 3) { + color_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for color_buf__u has to be chosen through deserialisation.") + } + color_buf_ = (color_buf__u as Color | number | string | Resource) + } + else if (color_buf__selector == 1) { + color_buf_ = valueDeserializer.readEdgeColors() + } + else { + throw new Error("One of the branches for color_buf_ has to be chosen through deserialisation.") + } + color_buf = (color_buf_ as ResourceColor | EdgeColors) } - const showInSubWindow_result: boolean | undefined|undefined = showInSubWindow_buf - let value: MenuOptions = ({offset: offset_result, placement: placement_result, enableArrow: enableArrow_result, arrowOffset: arrowOffset_result, preview: preview_result, borderRadius: borderRadius_result, onAppear: onAppear_result, onDisappear: onDisappear_result, aboutToAppear: aboutToAppear_result, aboutToDisappear: aboutToDisappear_result, layoutRegionMargin: layoutRegionMargin_result, previewAnimationOptions: previewAnimationOptions_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, transition: transition_result, enableHoverMode: enableHoverMode_result, title: title_result, showInSubWindow: showInSubWindow_result} as MenuOptions) + const color_result: ResourceColor | EdgeColors | undefined|undefined = color_buf + let value: MenuOutlineOptions = ({width: width_result, color: color_result} as MenuOutlineOptions) return value } - readMouseEvent(): MouseEvent { + public readMouseEvent(): MouseEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return MouseEventInternal.fromPtr(ptr) } - readNativeEmbedInfo(): NativeEmbedInfo { + public readNativeEmbedInfo(): NativeEmbedInfo { let valueDeserializer: Deserializer = this const id_buf_runtimeType = (valueDeserializer.readInt8() as int32) let id_buf: string | undefined|undefined @@ -25586,7 +26332,90 @@ export class Deserializer extends DeserializerBase { let value: NativeEmbedInfo = ({id: id_result, type: type_result, src: src_result, position: position_result, width: width_result, height: height_result, url: url_result, tag: tag_result, params: params_result} as NativeEmbedInfo) return value } - readOutlineOptions(): OutlineOptions { + public readNavigationMenuOptions(): NavigationMenuOptions { + let valueDeserializer: Deserializer = this + const moreButtonOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let moreButtonOptions_buf: MoreButtonOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (moreButtonOptions_buf_runtimeType)) + { + moreButtonOptions_buf = valueDeserializer.readMoreButtonOptions() + } + const moreButtonOptions_result: MoreButtonOptions | undefined|undefined = moreButtonOptions_buf + let value: NavigationMenuOptions = ({moreButtonOptions: moreButtonOptions_result} as NavigationMenuOptions) + return value + } + public readNavigationToolbarOptions(): NavigationToolbarOptions { + let valueDeserializer: Deserializer = this + const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) + { + const backgroundColor_buf__selector: number = valueDeserializer.readInt8() + let backgroundColor_buf_: Color | number | string | Resource | undefined|undefined + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_ = valueDeserializer.readInt32() + } + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_ = (valueDeserializer.readString() as string) + } + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") + } + backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) + } + const backgroundColor_result: ResourceColor | undefined|undefined = backgroundColor_buf + const backgroundBlurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyle_buf: BlurStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + { + backgroundBlurStyle_buf = valueDeserializer.readInt32() + } + const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf + const moreButtonOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let moreButtonOptions_buf: MoreButtonOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (moreButtonOptions_buf_runtimeType)) + { + moreButtonOptions_buf = valueDeserializer.readMoreButtonOptions() + } + const moreButtonOptions_result: MoreButtonOptions | undefined|undefined = moreButtonOptions_buf + const barStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let barStyle_buf: BarStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (barStyle_buf_runtimeType)) + { + barStyle_buf = valueDeserializer.readInt32() + } + const barStyle_result: BarStyle | undefined|undefined = barStyle_buf + const hideItemValue_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hideItemValue_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (hideItemValue_buf_runtimeType)) + { + hideItemValue_buf = valueDeserializer.readBoolean() + } + const hideItemValue_result: boolean | undefined|undefined = hideItemValue_buf + let value: NavigationToolbarOptions = ({backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, moreButtonOptions: moreButtonOptions_result, barStyle: barStyle_result, hideItemValue: hideItemValue_result} as NavigationToolbarOptions) + return value + } + public readOutlineOptions(): OutlineOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) let width_buf: EdgeOutlineWidths | Dimension | undefined|undefined @@ -25595,91 +26424,7 @@ export class Deserializer extends DeserializerBase { const width_buf__selector: number = valueDeserializer.readInt8() let width_buf_: EdgeOutlineWidths | Dimension | undefined|undefined if (width_buf__selector == 0) { - const width_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_top_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_top_buf_runtimeType)) - { - const width_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let width_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (width_buf__u_top_buf__selector == 0) { - width_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_top_buf__selector == 1) { - width_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_top_buf__selector == 2) { - width_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_top_buf_ has to be chosen through deserialisation.") - } - width_buf__u_top_buf = (width_buf__u_top_buf_ as string | number | Resource) - } - const width_buf__u_top: undefined | Dimension = width_buf__u_top_buf - const width_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_right_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_right_buf_runtimeType)) - { - const width_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let width_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (width_buf__u_right_buf__selector == 0) { - width_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_right_buf__selector == 1) { - width_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_right_buf__selector == 2) { - width_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_right_buf_ has to be chosen through deserialisation.") - } - width_buf__u_right_buf = (width_buf__u_right_buf_ as string | number | Resource) - } - const width_buf__u_right: undefined | Dimension = width_buf__u_right_buf - const width_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_bottom_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_bottom_buf_runtimeType)) - { - const width_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let width_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (width_buf__u_bottom_buf__selector == 0) { - width_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_bottom_buf__selector == 1) { - width_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_bottom_buf__selector == 2) { - width_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - width_buf__u_bottom_buf = (width_buf__u_bottom_buf_ as string | number | Resource) - } - const width_buf__u_bottom: undefined | Dimension = width_buf__u_bottom_buf - const width_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf__u_left_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf__u_left_buf_runtimeType)) - { - const width_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let width_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (width_buf__u_left_buf__selector == 0) { - width_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (width_buf__u_left_buf__selector == 1) { - width_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (width_buf__u_left_buf__selector == 2) { - width_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for width_buf__u_left_buf_ has to be chosen through deserialisation.") - } - width_buf__u_left_buf = (width_buf__u_left_buf_ as string | number | Resource) - } - const width_buf__u_left: undefined | Dimension = width_buf__u_left_buf - width_buf_ = ({top: width_buf__u_top, right: width_buf__u_right, bottom: width_buf__u_bottom, left: width_buf__u_left} as EdgeOutlineWidths) + width_buf_ = valueDeserializer.readEdgeOutlineWidths() } else if (width_buf__selector == 1) { const width_buf__u_selector: number = valueDeserializer.readInt8() @@ -25711,103 +26456,7 @@ export class Deserializer extends DeserializerBase { const color_buf__selector: number = valueDeserializer.readInt8() let color_buf_: EdgeColors | ResourceColor | LocalizedEdgeColors | undefined|undefined if (color_buf__selector == 0) { - const color_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_top_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_top_buf_runtimeType)) - { - const color_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let color_buf__u_top_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__u_top_buf__selector == 0) { - color_buf__u_top_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__u_top_buf__selector == 1) { - color_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_top_buf__selector == 2) { - color_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_top_buf__selector == 3) { - color_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_top_buf_ has to be chosen through deserialisation.") - } - color_buf__u_top_buf = (color_buf__u_top_buf_ as Color | number | string | Resource) - } - const color_buf__u_top: undefined | ResourceColor = color_buf__u_top_buf - const color_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_right_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_right_buf_runtimeType)) - { - const color_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let color_buf__u_right_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__u_right_buf__selector == 0) { - color_buf__u_right_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__u_right_buf__selector == 1) { - color_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_right_buf__selector == 2) { - color_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_right_buf__selector == 3) { - color_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_right_buf_ has to be chosen through deserialisation.") - } - color_buf__u_right_buf = (color_buf__u_right_buf_ as Color | number | string | Resource) - } - const color_buf__u_right: undefined | ResourceColor = color_buf__u_right_buf - const color_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_bottom_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_bottom_buf_runtimeType)) - { - const color_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let color_buf__u_bottom_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__u_bottom_buf__selector == 0) { - color_buf__u_bottom_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__u_bottom_buf__selector == 1) { - color_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_bottom_buf__selector == 2) { - color_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_bottom_buf__selector == 3) { - color_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - color_buf__u_bottom_buf = (color_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const color_buf__u_bottom: undefined | ResourceColor = color_buf__u_bottom_buf - const color_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf__u_left_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf__u_left_buf_runtimeType)) - { - const color_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let color_buf__u_left_buf_: Color | number | string | Resource | undefined|undefined - if (color_buf__u_left_buf__selector == 0) { - color_buf__u_left_buf_ = valueDeserializer.readInt32() - } - else if (color_buf__u_left_buf__selector == 1) { - color_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (color_buf__u_left_buf__selector == 2) { - color_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (color_buf__u_left_buf__selector == 3) { - color_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for color_buf__u_left_buf_ has to be chosen through deserialisation.") - } - color_buf__u_left_buf = (color_buf__u_left_buf_ as Color | number | string | Resource) - } - const color_buf__u_left: undefined | ResourceColor = color_buf__u_left_buf - color_buf_ = ({top: color_buf__u_top, right: color_buf__u_right, bottom: color_buf__u_bottom, left: color_buf__u_left} as EdgeColors) + color_buf_ = valueDeserializer.readEdgeColors() } else if (color_buf__selector == 1) { const color_buf__u_selector: number = valueDeserializer.readInt8() @@ -25845,91 +26494,7 @@ export class Deserializer extends DeserializerBase { const radius_buf__selector: number = valueDeserializer.readInt8() let radius_buf_: OutlineRadiuses | Dimension | undefined|undefined if (radius_buf__selector == 0) { - const radius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_topLeft_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_topLeft_buf_runtimeType)) - { - const radius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let radius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (radius_buf__u_topLeft_buf__selector == 0) { - radius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_topLeft_buf__selector == 1) { - radius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_topLeft_buf__selector == 2) { - radius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_topLeft_buf = (radius_buf__u_topLeft_buf_ as string | number | Resource) - } - const radius_buf__u_topLeft: undefined | Dimension = radius_buf__u_topLeft_buf - const radius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_topRight_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_topRight_buf_runtimeType)) - { - const radius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let radius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (radius_buf__u_topRight_buf__selector == 0) { - radius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_topRight_buf__selector == 1) { - radius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_topRight_buf__selector == 2) { - radius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_topRight_buf = (radius_buf__u_topRight_buf_ as string | number | Resource) - } - const radius_buf__u_topRight: undefined | Dimension = radius_buf__u_topRight_buf - const radius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_bottomLeft_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_bottomLeft_buf_runtimeType)) - { - const radius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let radius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (radius_buf__u_bottomLeft_buf__selector == 0) { - radius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_bottomLeft_buf__selector == 1) { - radius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_bottomLeft_buf__selector == 2) { - radius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_bottomLeft_buf = (radius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const radius_buf__u_bottomLeft: undefined | Dimension = radius_buf__u_bottomLeft_buf - const radius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_bottomRight_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_bottomRight_buf_runtimeType)) - { - const radius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let radius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (radius_buf__u_bottomRight_buf__selector == 0) { - radius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_bottomRight_buf__selector == 1) { - radius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_bottomRight_buf__selector == 2) { - radius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_bottomRight_buf = (radius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const radius_buf__u_bottomRight: undefined | Dimension = radius_buf__u_bottomRight_buf - radius_buf_ = ({topLeft: radius_buf__u_topLeft, topRight: radius_buf__u_topRight, bottomLeft: radius_buf__u_bottomLeft, bottomRight: radius_buf__u_bottomRight} as OutlineRadiuses) + radius_buf_ = valueDeserializer.readOutlineRadiuses() } else if (radius_buf__selector == 1) { const radius_buf__u_selector: number = valueDeserializer.readInt8() @@ -25961,54 +26526,96 @@ export class Deserializer extends DeserializerBase { const style_buf__selector: number = valueDeserializer.readInt8() let style_buf_: EdgeOutlineStyles | OutlineStyle | undefined|undefined if (style_buf__selector == 0) { - const style_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf__u_top_buf: OutlineStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (style_buf__u_top_buf_runtimeType)) - { - style_buf__u_top_buf = valueDeserializer.readInt32() - } - const style_buf__u_top: undefined | OutlineStyle = style_buf__u_top_buf - const style_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf__u_right_buf: OutlineStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (style_buf__u_right_buf_runtimeType)) - { - style_buf__u_right_buf = valueDeserializer.readInt32() - } - const style_buf__u_right: undefined | OutlineStyle = style_buf__u_right_buf - const style_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf__u_bottom_buf: OutlineStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (style_buf__u_bottom_buf_runtimeType)) - { - style_buf__u_bottom_buf = valueDeserializer.readInt32() - } - const style_buf__u_bottom: undefined | OutlineStyle = style_buf__u_bottom_buf - const style_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf__u_left_buf: OutlineStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (style_buf__u_left_buf_runtimeType)) - { - style_buf__u_left_buf = valueDeserializer.readInt32() - } - const style_buf__u_left: undefined | OutlineStyle = style_buf__u_left_buf - style_buf_ = ({top: style_buf__u_top, right: style_buf__u_right, bottom: style_buf__u_bottom, left: style_buf__u_left} as EdgeOutlineStyles) + style_buf_ = valueDeserializer.readEdgeOutlineStyles() } else if (style_buf__selector == 1) { style_buf_ = valueDeserializer.readInt32() } else { - throw new Error("One of the branches for style_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for style_buf_ has to be chosen through deserialisation.") + } + style_buf = (style_buf_ as EdgeOutlineStyles | OutlineStyle) + } + const style_result: EdgeOutlineStyles | OutlineStyle | undefined|undefined = style_buf + let value: OutlineOptions = ({width: width_result, color: color_result, radius: radius_result, style: style_result} as OutlineOptions) + return value + } + public readPanGestureEvent(): PanGestureEvent { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return PanGestureEventInternal.fromPtr(ptr) + } + public readParagraphStyle(): ParagraphStyle { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return ParagraphStyleInternal.fromPtr(ptr) + } + public readParagraphStyleInterface(): ParagraphStyleInterface { + let valueDeserializer: Deserializer = this + const textAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textAlign_buf: TextAlign | undefined|undefined + if ((RuntimeType.UNDEFINED) != (textAlign_buf_runtimeType)) + { + textAlign_buf = valueDeserializer.readInt32() + } + const textAlign_result: TextAlign | undefined|undefined = textAlign_buf + const textIndent_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textIndent_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (textIndent_buf_runtimeType)) + { + textIndent_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const textIndent_result: LengthMetrics | undefined|undefined = textIndent_buf + const maxLines_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxLines_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (maxLines_buf_runtimeType)) + { + maxLines_buf = (valueDeserializer.readNumber() as number) + } + const maxLines_result: number | undefined|undefined = maxLines_buf + const overflow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let overflow_buf: TextOverflow | undefined|undefined + if ((RuntimeType.UNDEFINED) != (overflow_buf_runtimeType)) + { + overflow_buf = valueDeserializer.readInt32() + } + const overflow_result: TextOverflow | undefined|undefined = overflow_buf + const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let wordBreak_buf: WordBreak | undefined|undefined + if ((RuntimeType.UNDEFINED) != (wordBreak_buf_runtimeType)) + { + wordBreak_buf = valueDeserializer.readInt32() + } + const wordBreak_result: WordBreak | undefined|undefined = wordBreak_buf + const leadingMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let leadingMargin_buf: LengthMetrics | LeadingMarginPlaceholder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (leadingMargin_buf_runtimeType)) + { + const leadingMargin_buf__selector: number = valueDeserializer.readInt8() + let leadingMargin_buf_: LengthMetrics | LeadingMarginPlaceholder | undefined|undefined + if (leadingMargin_buf__selector == 0) { + leadingMargin_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + else if (leadingMargin_buf__selector == 1) { + leadingMargin_buf_ = valueDeserializer.readLeadingMarginPlaceholder() + } + else { + throw new Error("One of the branches for leadingMargin_buf_ has to be chosen through deserialisation.") } - style_buf = (style_buf_ as EdgeOutlineStyles | OutlineStyle) + leadingMargin_buf = (leadingMargin_buf_ as LengthMetrics | LeadingMarginPlaceholder) } - const style_result: EdgeOutlineStyles | OutlineStyle | undefined|undefined = style_buf - let value: OutlineOptions = ({width: width_result, color: color_result, radius: radius_result, style: style_result} as OutlineOptions) + const leadingMargin_result: LengthMetrics | LeadingMarginPlaceholder | undefined|undefined = leadingMargin_buf + const paragraphSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let paragraphSpacing_buf: LengthMetrics | undefined|undefined + if ((RuntimeType.UNDEFINED) != (paragraphSpacing_buf_runtimeType)) + { + paragraphSpacing_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + const paragraphSpacing_result: LengthMetrics | undefined|undefined = paragraphSpacing_buf + let value: ParagraphStyleInterface = ({textAlign: textAlign_result, textIndent: textIndent_result, maxLines: maxLines_result, overflow: overflow_result, wordBreak: wordBreak_result, leadingMargin: leadingMargin_result, paragraphSpacing: paragraphSpacing_result} as ParagraphStyleInterface) return value } - readPanGestureEvent(): PanGestureEvent { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return PanGestureEventInternal.fromPtr(ptr) - } - readPickerDialogButtonStyle(): PickerDialogButtonStyle { + public readPickerDialogButtonStyle(): PickerDialogButtonStyle { let valueDeserializer: Deserializer = this const type_buf_runtimeType = (valueDeserializer.readInt8() as int32) let type_buf: ButtonType | undefined|undefined @@ -26170,91 +26777,7 @@ export class Deserializer extends DeserializerBase { borderRadius_buf_ = (borderRadius_buf__u as string | number | Resource) } else if (borderRadius_buf__selector == 1) { - const borderRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const borderRadius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topLeft_buf = (borderRadius_buf__u_topLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topLeft: undefined | Length = borderRadius_buf__u_topLeft_buf - const borderRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const borderRadius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topRight_buf = (borderRadius_buf__u_topRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_topRight: undefined | Length = borderRadius_buf__u_topRight_buf - const borderRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const borderRadius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomLeft_buf = (borderRadius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomLeft: undefined | Length = borderRadius_buf__u_bottomLeft_buf - const borderRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const borderRadius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomRight_buf = (borderRadius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const borderRadius_buf__u_bottomRight: undefined | Length = borderRadius_buf__u_bottomRight_buf - borderRadius_buf_ = ({topLeft: borderRadius_buf__u_topLeft, topRight: borderRadius_buf__u_topRight, bottomLeft: borderRadius_buf__u_bottomLeft, bottomRight: borderRadius_buf__u_bottomRight} as BorderRadiuses) + borderRadius_buf_ = valueDeserializer.readBorderRadiuses() } else { throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") @@ -26272,7 +26795,7 @@ export class Deserializer extends DeserializerBase { let value: PickerDialogButtonStyle = ({type: type_result, style: style_result, role: role_result, fontSize: fontSize_result, fontColor: fontColor_result, fontWeight: fontWeight_result, fontStyle: fontStyle_result, fontFamily: fontFamily_result, backgroundColor: backgroundColor_result, borderRadius: borderRadius_result, primary: primary_result} as PickerDialogButtonStyle) return value } - readPickerTextStyle(): PickerTextStyle { + public readPickerTextStyle(): PickerTextStyle { let valueDeserializer: Deserializer = this const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) let color_buf: ResourceColor | undefined|undefined @@ -26308,12 +26831,12 @@ export class Deserializer extends DeserializerBase { let value: PickerTextStyle = ({color: color_result, font: font_result} as PickerTextStyle) return value } - readPinchGestureEvent(): PinchGestureEvent { + public readPinchGestureEvent(): PinchGestureEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return PinchGestureEventInternal.fromPtr(ptr) } - readPlaceholderStyle(): PlaceholderStyle { + public readPlaceholderStyle(): PlaceholderStyle { let valueDeserializer: Deserializer = this const font_buf_runtimeType = (valueDeserializer.readInt8() as int32) let font_buf: Font | undefined|undefined @@ -26349,33 +26872,7 @@ export class Deserializer extends DeserializerBase { let value: PlaceholderStyle = ({font: font_result, fontColor: fontColor_result} as PlaceholderStyle) return value } - readPointLightStyle(): PointLightStyle { - let valueDeserializer: Deserializer = this - const lightSource_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lightSource_buf: LightSource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lightSource_buf_runtimeType)) - { - lightSource_buf = valueDeserializer.readLightSource() - } - const lightSource_result: LightSource | undefined|undefined = lightSource_buf - const illuminated_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let illuminated_buf: IlluminatedType | undefined|undefined - if ((RuntimeType.UNDEFINED) != (illuminated_buf_runtimeType)) - { - illuminated_buf = valueDeserializer.readInt32() - } - const illuminated_result: IlluminatedType | undefined|undefined = illuminated_buf - const bloom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let bloom_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (bloom_buf_runtimeType)) - { - bloom_buf = (valueDeserializer.readNumber() as number) - } - const bloom_result: number | undefined|undefined = bloom_buf - let value: PointLightStyle = ({lightSource: lightSource_result, illuminated: illuminated_result, bloom: bloom_result} as PointLightStyle) - return value - } - readPopupMessageOptions(): PopupMessageOptions { + public readPopupMessageOptions(): PopupMessageOptions { let valueDeserializer: Deserializer = this const textColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) let textColor_buf: ResourceColor | undefined|undefined @@ -26411,118 +26908,260 @@ export class Deserializer extends DeserializerBase { let value: PopupMessageOptions = ({textColor: textColor_result, font: font_result} as PopupMessageOptions) return value } - readResizableOptions(): ResizableOptions { + public readResizableOptions(): ResizableOptions { let valueDeserializer: Deserializer = this const slice_buf_runtimeType = (valueDeserializer.readInt8() as int32) let slice_buf: EdgeWidths | undefined|undefined if ((RuntimeType.UNDEFINED) != (slice_buf_runtimeType)) { - const slice_buf__top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__top_buf_runtimeType)) - { - const slice_buf__top_buf__selector: number = valueDeserializer.readInt8() - let slice_buf__top_buf_: string | number | Resource | undefined|undefined - if (slice_buf__top_buf__selector == 0) { - slice_buf__top_buf_ = (valueDeserializer.readString() as string) + slice_buf = valueDeserializer.readEdgeWidths() + } + const slice_result: EdgeWidths | undefined|undefined = slice_buf + const lattice_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lattice_buf: DrawingLattice | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lattice_buf_runtimeType)) + { + lattice_buf = (valueDeserializer.readDrawingLattice() as DrawingLattice) + } + const lattice_result: DrawingLattice | undefined|undefined = lattice_buf + let value: ResizableOptions = ({slice: slice_result, lattice: lattice_result} as ResizableOptions) + return value + } + public readRichEditorLayoutStyle(): RichEditorLayoutStyle { + let valueDeserializer: Deserializer = this + const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let margin_buf: Dimension | Padding | undefined|undefined + if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) + { + const margin_buf__selector: number = valueDeserializer.readInt8() + let margin_buf_: Dimension | Padding | undefined|undefined + if (margin_buf__selector == 0) { + const margin_buf__u_selector: number = valueDeserializer.readInt8() + let margin_buf__u: string | number | Resource | undefined|undefined + if (margin_buf__u_selector == 0) { + margin_buf__u = (valueDeserializer.readString() as string) } - else if (slice_buf__top_buf__selector == 1) { - slice_buf__top_buf_ = (valueDeserializer.readNumber() as number) + else if (margin_buf__u_selector == 1) { + margin_buf__u = (valueDeserializer.readNumber() as number) } - else if (slice_buf__top_buf__selector == 2) { - slice_buf__top_buf_ = valueDeserializer.readResource() + else if (margin_buf__u_selector == 2) { + margin_buf__u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for slice_buf__top_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for margin_buf__u has to be chosen through deserialisation.") } - slice_buf__top_buf = (slice_buf__top_buf_ as string | number | Resource) + margin_buf_ = (margin_buf__u as string | number | Resource) } - const slice_buf__top: undefined | Length = slice_buf__top_buf - const slice_buf__right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__right_buf_runtimeType)) - { - const slice_buf__right_buf__selector: number = valueDeserializer.readInt8() - let slice_buf__right_buf_: string | number | Resource | undefined|undefined - if (slice_buf__right_buf__selector == 0) { - slice_buf__right_buf_ = (valueDeserializer.readString() as string) - } - else if (slice_buf__right_buf__selector == 1) { - slice_buf__right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (slice_buf__right_buf__selector == 2) { - slice_buf__right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for slice_buf__right_buf_ has to be chosen through deserialisation.") - } - slice_buf__right_buf = (slice_buf__right_buf_ as string | number | Resource) + else if (margin_buf__selector == 1) { + margin_buf_ = valueDeserializer.readPadding() } - const slice_buf__right: undefined | Length = slice_buf__right_buf - const slice_buf__bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__bottom_buf_runtimeType)) - { - const slice_buf__bottom_buf__selector: number = valueDeserializer.readInt8() - let slice_buf__bottom_buf_: string | number | Resource | undefined|undefined - if (slice_buf__bottom_buf__selector == 0) { - slice_buf__bottom_buf_ = (valueDeserializer.readString() as string) + else { + throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") + } + margin_buf = (margin_buf_ as Dimension | Padding) + } + const margin_result: Dimension | Padding | undefined|undefined = margin_buf + const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderRadius_buf: Dimension | BorderRadiuses | undefined|undefined + if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) + { + const borderRadius_buf__selector: number = valueDeserializer.readInt8() + let borderRadius_buf_: Dimension | BorderRadiuses | undefined|undefined + if (borderRadius_buf__selector == 0) { + const borderRadius_buf__u_selector: number = valueDeserializer.readInt8() + let borderRadius_buf__u: string | number | Resource | undefined|undefined + if (borderRadius_buf__u_selector == 0) { + borderRadius_buf__u = (valueDeserializer.readString() as string) } - else if (slice_buf__bottom_buf__selector == 1) { - slice_buf__bottom_buf_ = (valueDeserializer.readNumber() as number) + else if (borderRadius_buf__u_selector == 1) { + borderRadius_buf__u = (valueDeserializer.readNumber() as number) } - else if (slice_buf__bottom_buf__selector == 2) { - slice_buf__bottom_buf_ = valueDeserializer.readResource() + else if (borderRadius_buf__u_selector == 2) { + borderRadius_buf__u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for slice_buf__bottom_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderRadius_buf__u has to be chosen through deserialisation.") } - slice_buf__bottom_buf = (slice_buf__bottom_buf_ as string | number | Resource) + borderRadius_buf_ = (borderRadius_buf__u as string | number | Resource) } - const slice_buf__bottom: undefined | Length = slice_buf__bottom_buf - const slice_buf__left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let slice_buf__left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (slice_buf__left_buf_runtimeType)) - { - const slice_buf__left_buf__selector: number = valueDeserializer.readInt8() - let slice_buf__left_buf_: string | number | Resource | undefined|undefined - if (slice_buf__left_buf__selector == 0) { - slice_buf__left_buf_ = (valueDeserializer.readString() as string) + else if (borderRadius_buf__selector == 1) { + borderRadius_buf_ = valueDeserializer.readBorderRadiuses() + } + else { + throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") + } + borderRadius_buf = (borderRadius_buf_ as Dimension | BorderRadiuses) + } + const borderRadius_result: Dimension | BorderRadiuses | undefined|undefined = borderRadius_buf + let value: RichEditorLayoutStyle = ({margin: margin_result, borderRadius: borderRadius_result} as RichEditorLayoutStyle) + return value + } + public readRichEditorParagraphStyle(): RichEditorParagraphStyle { + let valueDeserializer: Deserializer = this + const textAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textAlign_buf: TextAlign | undefined|undefined + if ((RuntimeType.UNDEFINED) != (textAlign_buf_runtimeType)) + { + textAlign_buf = valueDeserializer.readInt32() + } + const textAlign_result: TextAlign | undefined|undefined = textAlign_buf + const leadingMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let leadingMargin_buf: Dimension | LeadingMarginPlaceholder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (leadingMargin_buf_runtimeType)) + { + const leadingMargin_buf__selector: number = valueDeserializer.readInt8() + let leadingMargin_buf_: Dimension | LeadingMarginPlaceholder | undefined|undefined + if (leadingMargin_buf__selector == 0) { + const leadingMargin_buf__u_selector: number = valueDeserializer.readInt8() + let leadingMargin_buf__u: string | number | Resource | undefined|undefined + if (leadingMargin_buf__u_selector == 0) { + leadingMargin_buf__u = (valueDeserializer.readString() as string) } - else if (slice_buf__left_buf__selector == 1) { - slice_buf__left_buf_ = (valueDeserializer.readNumber() as number) + else if (leadingMargin_buf__u_selector == 1) { + leadingMargin_buf__u = (valueDeserializer.readNumber() as number) } - else if (slice_buf__left_buf__selector == 2) { - slice_buf__left_buf_ = valueDeserializer.readResource() + else if (leadingMargin_buf__u_selector == 2) { + leadingMargin_buf__u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for slice_buf__left_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for leadingMargin_buf__u has to be chosen through deserialisation.") } - slice_buf__left_buf = (slice_buf__left_buf_ as string | number | Resource) + leadingMargin_buf_ = (leadingMargin_buf__u as string | number | Resource) + } + else if (leadingMargin_buf__selector == 1) { + leadingMargin_buf_ = valueDeserializer.readLeadingMarginPlaceholder() + } + else { + throw new Error("One of the branches for leadingMargin_buf_ has to be chosen through deserialisation.") + } + leadingMargin_buf = (leadingMargin_buf_ as Dimension | LeadingMarginPlaceholder) + } + const leadingMargin_result: Dimension | LeadingMarginPlaceholder | undefined|undefined = leadingMargin_buf + const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let wordBreak_buf: WordBreak | undefined|undefined + if ((RuntimeType.UNDEFINED) != (wordBreak_buf_runtimeType)) + { + wordBreak_buf = valueDeserializer.readInt32() + } + const wordBreak_result: WordBreak | undefined|undefined = wordBreak_buf + const lineBreakStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lineBreakStrategy_buf: LineBreakStrategy | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lineBreakStrategy_buf_runtimeType)) + { + lineBreakStrategy_buf = valueDeserializer.readInt32() + } + const lineBreakStrategy_result: LineBreakStrategy | undefined|undefined = lineBreakStrategy_buf + const paragraphSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let paragraphSpacing_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (paragraphSpacing_buf_runtimeType)) + { + paragraphSpacing_buf = (valueDeserializer.readNumber() as number) + } + const paragraphSpacing_result: number | undefined|undefined = paragraphSpacing_buf + let value: RichEditorParagraphStyle = ({textAlign: textAlign_result, leadingMargin: leadingMargin_result, wordBreak: wordBreak_result, lineBreakStrategy: lineBreakStrategy_result, paragraphSpacing: paragraphSpacing_result} as RichEditorParagraphStyle) + return value + } + public readRichEditorParagraphStyleOptions(): RichEditorParagraphStyleOptions { + let valueDeserializer: Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = (valueDeserializer.readNumber() as number) + } + const start_result: number | undefined|undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = (valueDeserializer.readNumber() as number) + } + const end_result: number | undefined|undefined = end_buf + const style_result: RichEditorParagraphStyle = valueDeserializer.readRichEditorParagraphStyle() + let value: RichEditorParagraphStyleOptions = ({start: start_result, end: end_result, style: style_result} as RichEditorParagraphStyleOptions) + return value + } + public readRotationGestureEvent(): RotationGestureEvent { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return RotationGestureEventInternal.fromPtr(ptr) + } + public readRunMetrics(): RunMetrics { + let valueDeserializer: Deserializer = this + const textStyle_result: text.TextStyle = valueDeserializer.readtext_TextStyle() + const fontMetrics_result: FontMetrics = valueDeserializer.readFontMetrics() + let value: RunMetrics = ({textStyle: textStyle_result, fontMetrics: fontMetrics_result} as RunMetrics) + return value + } + public readSectionOptions(): SectionOptions { + let valueDeserializer: Deserializer = this + const itemsCount_result: number = (valueDeserializer.readNumber() as number) + const crossCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let crossCount_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (crossCount_buf_runtimeType)) + { + crossCount_buf = (valueDeserializer.readNumber() as number) + } + const crossCount_result: number | undefined|undefined = crossCount_buf + const onGetItemMainSizeByIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onGetItemMainSizeByIndex_buf: GetItemMainSizeByIndex | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onGetItemMainSizeByIndex_buf_runtimeType)) + { + onGetItemMainSizeByIndex_buf = valueDeserializer.readGetItemMainSizeByIndex() + } + const onGetItemMainSizeByIndex_result: GetItemMainSizeByIndex | undefined|undefined = onGetItemMainSizeByIndex_buf + const columnsGap_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let columnsGap_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (columnsGap_buf_runtimeType)) + { + const columnsGap_buf__selector: number = valueDeserializer.readInt8() + let columnsGap_buf_: string | number | Resource | undefined|undefined + if (columnsGap_buf__selector == 0) { + columnsGap_buf_ = (valueDeserializer.readString() as string) + } + else if (columnsGap_buf__selector == 1) { + columnsGap_buf_ = (valueDeserializer.readNumber() as number) + } + else if (columnsGap_buf__selector == 2) { + columnsGap_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for columnsGap_buf_ has to be chosen through deserialisation.") } - const slice_buf__left: undefined | Length = slice_buf__left_buf - slice_buf = ({top: slice_buf__top, right: slice_buf__right, bottom: slice_buf__bottom, left: slice_buf__left} as EdgeWidths) + columnsGap_buf = (columnsGap_buf_ as string | number | Resource) } - const slice_result: EdgeWidths | undefined|undefined = slice_buf - const lattice_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lattice_buf: DrawingLattice | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lattice_buf_runtimeType)) + const columnsGap_result: Dimension | undefined|undefined = columnsGap_buf + const rowsGap_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let rowsGap_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (rowsGap_buf_runtimeType)) { - lattice_buf = (valueDeserializer.readDrawingLattice() as DrawingLattice) + const rowsGap_buf__selector: number = valueDeserializer.readInt8() + let rowsGap_buf_: string | number | Resource | undefined|undefined + if (rowsGap_buf__selector == 0) { + rowsGap_buf_ = (valueDeserializer.readString() as string) + } + else if (rowsGap_buf__selector == 1) { + rowsGap_buf_ = (valueDeserializer.readNumber() as number) + } + else if (rowsGap_buf__selector == 2) { + rowsGap_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for rowsGap_buf_ has to be chosen through deserialisation.") + } + rowsGap_buf = (rowsGap_buf_ as string | number | Resource) } - const lattice_result: DrawingLattice | undefined|undefined = lattice_buf - let value: ResizableOptions = ({slice: slice_result, lattice: lattice_result} as ResizableOptions) - return value - } - readRichEditorLayoutStyle(): RichEditorLayoutStyle { - let valueDeserializer: Deserializer = this + const rowsGap_result: Dimension | undefined|undefined = rowsGap_buf const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf: Dimension | Padding | undefined|undefined + let margin_buf: Padding | Dimension | undefined|undefined if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) { const margin_buf__selector: number = valueDeserializer.readInt8() - let margin_buf_: Dimension | Padding | undefined|undefined + let margin_buf_: Padding | Dimension | undefined|undefined if (margin_buf__selector == 0) { + margin_buf_ = valueDeserializer.readPadding() + } + else if (margin_buf__selector == 1) { const margin_buf__u_selector: number = valueDeserializer.readInt8() let margin_buf__u: string | number | Resource | undefined|undefined if (margin_buf__u_selector == 0) { @@ -26539,684 +27178,599 @@ export class Deserializer extends DeserializerBase { } margin_buf_ = (margin_buf__u as string | number | Resource) } - else if (margin_buf__selector == 1) { - const margin_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_top_buf_runtimeType)) - { - const margin_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let margin_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (margin_buf__u_top_buf__selector == 0) { - margin_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_top_buf__selector == 1) { - margin_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_top_buf__selector == 2) { - margin_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_top_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_top_buf = (margin_buf__u_top_buf_ as string | number | Resource) + else { + throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") + } + margin_buf = (margin_buf_ as Padding | Dimension) + } + const margin_result: Padding | Dimension | undefined|undefined = margin_buf + let value: SectionOptions = ({itemsCount: itemsCount_result, crossCount: crossCount_result, onGetItemMainSizeByIndex: onGetItemMainSizeByIndex_result, columnsGap: columnsGap_result, rowsGap: rowsGap_result, margin: margin_result} as SectionOptions) + return value + } + public readSheetOptions(): SheetOptions { + let valueDeserializer: Deserializer = this + const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) + { + const backgroundColor_buf__selector: number = valueDeserializer.readInt8() + let backgroundColor_buf_: Color | number | string | Resource | undefined|undefined + if (backgroundColor_buf__selector == 0) { + backgroundColor_buf_ = valueDeserializer.readInt32() + } + else if (backgroundColor_buf__selector == 1) { + backgroundColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (backgroundColor_buf__selector == 2) { + backgroundColor_buf_ = (valueDeserializer.readString() as string) + } + else if (backgroundColor_buf__selector == 3) { + backgroundColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") + } + backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) + } + const backgroundColor_result: ResourceColor | undefined|undefined = backgroundColor_buf + const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onAppear_buf_runtimeType)) + { + onAppear_buf = valueDeserializer.readCallback_Void() + } + const onAppear_result: (() => void) | undefined|undefined = onAppear_buf + const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) + { + onDisappear_buf = valueDeserializer.readCallback_Void() + } + const onDisappear_result: (() => void) | undefined|undefined = onDisappear_buf + const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillAppear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) + { + onWillAppear_buf = valueDeserializer.readCallback_Void() + } + const onWillAppear_result: (() => void) | undefined|undefined = onWillAppear_buf + const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDisappear_buf: (() => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) + { + onWillDisappear_buf = valueDeserializer.readCallback_Void() + } + const onWillDisappear_result: (() => void) | undefined|undefined = onWillDisappear_buf + const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let height_buf: SheetSize | Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) + { + const height_buf__selector: number = valueDeserializer.readInt8() + let height_buf_: SheetSize | Length | undefined|undefined + if (height_buf__selector == 0) { + height_buf_ = valueDeserializer.readInt32() + } + else if (height_buf__selector == 1) { + const height_buf__u_selector: number = valueDeserializer.readInt8() + let height_buf__u: string | number | Resource | undefined|undefined + if (height_buf__u_selector == 0) { + height_buf__u = (valueDeserializer.readString() as string) } - const margin_buf__u_top: undefined | Length = margin_buf__u_top_buf - const margin_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_right_buf_runtimeType)) - { - const margin_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let margin_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (margin_buf__u_right_buf__selector == 0) { - margin_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_right_buf__selector == 1) { - margin_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_right_buf__selector == 2) { - margin_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_right_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_right_buf = (margin_buf__u_right_buf_ as string | number | Resource) + else if (height_buf__u_selector == 1) { + height_buf__u = (valueDeserializer.readNumber() as number) } - const margin_buf__u_right: undefined | Length = margin_buf__u_right_buf - const margin_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_bottom_buf_runtimeType)) - { - const margin_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let margin_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (margin_buf__u_bottom_buf__selector == 0) { - margin_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_bottom_buf__selector == 1) { - margin_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_bottom_buf__selector == 2) { - margin_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_bottom_buf = (margin_buf__u_bottom_buf_ as string | number | Resource) + else if (height_buf__u_selector == 2) { + height_buf__u = valueDeserializer.readResource() } - const margin_buf__u_bottom: undefined | Length = margin_buf__u_bottom_buf - const margin_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_left_buf_runtimeType)) - { - const margin_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let margin_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (margin_buf__u_left_buf__selector == 0) { - margin_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_left_buf__selector == 1) { - margin_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_left_buf__selector == 2) { - margin_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_left_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_left_buf = (margin_buf__u_left_buf_ as string | number | Resource) + else { + throw new Error("One of the branches for height_buf__u has to be chosen through deserialisation.") } - const margin_buf__u_left: undefined | Length = margin_buf__u_left_buf - margin_buf_ = ({top: margin_buf__u_top, right: margin_buf__u_right, bottom: margin_buf__u_bottom, left: margin_buf__u_left} as Padding) + height_buf_ = (height_buf__u as string | number | Resource) } else { - throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") } - margin_buf = (margin_buf_ as Dimension | Padding) + height_buf = (height_buf_ as SheetSize | Length) } - const margin_result: Dimension | Padding | undefined|undefined = margin_buf - const borderRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf: Dimension | BorderRadiuses | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf_runtimeType)) + const height_result: SheetSize | Length | undefined|undefined = height_buf + const dragBar_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let dragBar_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (dragBar_buf_runtimeType)) { - const borderRadius_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf_: Dimension | BorderRadiuses | undefined|undefined - if (borderRadius_buf__selector == 0) { - const borderRadius_buf__u_selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_selector == 0) { - borderRadius_buf__u = (valueDeserializer.readString() as string) + dragBar_buf = valueDeserializer.readBoolean() + } + const dragBar_result: boolean | undefined|undefined = dragBar_buf + const maskColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maskColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (maskColor_buf_runtimeType)) + { + const maskColor_buf__selector: number = valueDeserializer.readInt8() + let maskColor_buf_: Color | number | string | Resource | undefined|undefined + if (maskColor_buf__selector == 0) { + maskColor_buf_ = valueDeserializer.readInt32() + } + else if (maskColor_buf__selector == 1) { + maskColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (maskColor_buf__selector == 2) { + maskColor_buf_ = (valueDeserializer.readString() as string) + } + else if (maskColor_buf__selector == 3) { + maskColor_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for maskColor_buf_ has to be chosen through deserialisation.") + } + maskColor_buf = (maskColor_buf_ as Color | number | string | Resource) + } + const maskColor_result: ResourceColor | undefined|undefined = maskColor_buf + const detents_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let detents_buf: [ SheetSize | Length, (SheetSize | Length)?, (SheetSize | Length)? ] | undefined|undefined + if ((RuntimeType.UNDEFINED) != (detents_buf_runtimeType)) + { + const detents_buf__value0_buf_selector: number = valueDeserializer.readInt8() + let detents_buf__value0_buf: SheetSize | Length | undefined|undefined + if (detents_buf__value0_buf_selector == 0) { + detents_buf__value0_buf = valueDeserializer.readInt32() + } + else if (detents_buf__value0_buf_selector == 1) { + const detents_buf__value0_buf_u_selector: number = valueDeserializer.readInt8() + let detents_buf__value0_buf_u: string | number | Resource | undefined|undefined + if (detents_buf__value0_buf_u_selector == 0) { + detents_buf__value0_buf_u = (valueDeserializer.readString() as string) } - else if (borderRadius_buf__u_selector == 1) { - borderRadius_buf__u = (valueDeserializer.readNumber() as number) + else if (detents_buf__value0_buf_u_selector == 1) { + detents_buf__value0_buf_u = (valueDeserializer.readNumber() as number) } - else if (borderRadius_buf__u_selector == 2) { - borderRadius_buf__u = valueDeserializer.readResource() + else if (detents_buf__value0_buf_u_selector == 2) { + detents_buf__value0_buf_u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderRadius_buf__u has to be chosen through deserialisation.") + throw new Error("One of the branches for detents_buf__value0_buf_u has to be chosen through deserialisation.") } - borderRadius_buf_ = (borderRadius_buf__u as string | number | Resource) + detents_buf__value0_buf = (detents_buf__value0_buf_u as string | number | Resource) } - else if (borderRadius_buf__selector == 1) { - const borderRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) - { - const borderRadius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_topLeft_buf__selector == 0) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 1) { - borderRadius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_topLeft_buf__selector == 2) { - borderRadius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_topLeft_buf = (borderRadius_buf__u_topLeft_buf_ as string | number | Resource) + else { + throw new Error("One of the branches for detents_buf__value0_buf has to be chosen through deserialisation.") + } + const detents_buf__value0: SheetSize | Length = (detents_buf__value0_buf as SheetSize | Length) + const detents_buf__value1_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let detents_buf__value1_buf: SheetSize | Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (detents_buf__value1_buf_runtimeType)) + { + const detents_buf__value1_buf__selector: number = valueDeserializer.readInt8() + let detents_buf__value1_buf_: SheetSize | Length | undefined|undefined + if (detents_buf__value1_buf__selector == 0) { + detents_buf__value1_buf_ = valueDeserializer.readInt32() } - const borderRadius_buf__u_topLeft: undefined | Length = borderRadius_buf__u_topLeft_buf - const borderRadius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) - { - const borderRadius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_topRight_buf__selector == 0) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) + else if (detents_buf__value1_buf__selector == 1) { + const detents_buf__value1_buf__u_selector: number = valueDeserializer.readInt8() + let detents_buf__value1_buf__u: string | number | Resource | undefined|undefined + if (detents_buf__value1_buf__u_selector == 0) { + detents_buf__value1_buf__u = (valueDeserializer.readString() as string) } - else if (borderRadius_buf__u_topRight_buf__selector == 1) { - borderRadius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) + else if (detents_buf__value1_buf__u_selector == 1) { + detents_buf__value1_buf__u = (valueDeserializer.readNumber() as number) } - else if (borderRadius_buf__u_topRight_buf__selector == 2) { - borderRadius_buf__u_topRight_buf_ = valueDeserializer.readResource() + else if (detents_buf__value1_buf__u_selector == 2) { + detents_buf__value1_buf__u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderRadius_buf__u_topRight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for detents_buf__value1_buf__u has to be chosen through deserialisation.") } - borderRadius_buf__u_topRight_buf = (borderRadius_buf__u_topRight_buf_ as string | number | Resource) + detents_buf__value1_buf_ = (detents_buf__value1_buf__u as string | number | Resource) + } + else { + throw new Error("One of the branches for detents_buf__value1_buf_ has to be chosen through deserialisation.") + } + detents_buf__value1_buf = (detents_buf__value1_buf_ as SheetSize | Length) + } + const detents_buf__value1: undefined | SheetSize | Length = detents_buf__value1_buf + const detents_buf__value2_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let detents_buf__value2_buf: SheetSize | Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (detents_buf__value2_buf_runtimeType)) + { + const detents_buf__value2_buf__selector: number = valueDeserializer.readInt8() + let detents_buf__value2_buf_: SheetSize | Length | undefined|undefined + if (detents_buf__value2_buf__selector == 0) { + detents_buf__value2_buf_ = valueDeserializer.readInt32() } - const borderRadius_buf__u_topRight: undefined | Length = borderRadius_buf__u_topRight_buf - const borderRadius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) - { - const borderRadius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_bottomLeft_buf__selector == 0) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) + else if (detents_buf__value2_buf__selector == 1) { + const detents_buf__value2_buf__u_selector: number = valueDeserializer.readInt8() + let detents_buf__value2_buf__u: string | number | Resource | undefined|undefined + if (detents_buf__value2_buf__u_selector == 0) { + detents_buf__value2_buf__u = (valueDeserializer.readString() as string) } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 1) { - borderRadius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) + else if (detents_buf__value2_buf__u_selector == 1) { + detents_buf__value2_buf__u = (valueDeserializer.readNumber() as number) } - else if (borderRadius_buf__u_bottomLeft_buf__selector == 2) { - borderRadius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() + else if (detents_buf__value2_buf__u_selector == 2) { + detents_buf__value2_buf__u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderRadius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for detents_buf__value2_buf__u has to be chosen through deserialisation.") } - borderRadius_buf__u_bottomLeft_buf = (borderRadius_buf__u_bottomLeft_buf_ as string | number | Resource) + detents_buf__value2_buf_ = (detents_buf__value2_buf__u as string | number | Resource) } - const borderRadius_buf__u_bottomLeft: undefined | Length = borderRadius_buf__u_bottomLeft_buf - const borderRadius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderRadius_buf__u_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) - { - const borderRadius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let borderRadius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (borderRadius_buf__u_bottomRight_buf__selector == 0) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 1) { - borderRadius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderRadius_buf__u_bottomRight_buf__selector == 2) { - borderRadius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderRadius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - borderRadius_buf__u_bottomRight_buf = (borderRadius_buf__u_bottomRight_buf_ as string | number | Resource) + else { + throw new Error("One of the branches for detents_buf__value2_buf_ has to be chosen through deserialisation.") } - const borderRadius_buf__u_bottomRight: undefined | Length = borderRadius_buf__u_bottomRight_buf - borderRadius_buf_ = ({topLeft: borderRadius_buf__u_topLeft, topRight: borderRadius_buf__u_topRight, bottomLeft: borderRadius_buf__u_bottomLeft, bottomRight: borderRadius_buf__u_bottomRight} as BorderRadiuses) - } - else { - throw new Error("One of the branches for borderRadius_buf_ has to be chosen through deserialisation.") + detents_buf__value2_buf = (detents_buf__value2_buf_ as SheetSize | Length) } - borderRadius_buf = (borderRadius_buf_ as Dimension | BorderRadiuses) - } - const borderRadius_result: Dimension | BorderRadiuses | undefined|undefined = borderRadius_buf - let value: RichEditorLayoutStyle = ({margin: margin_result, borderRadius: borderRadius_result} as RichEditorLayoutStyle) - return value - } - readRichEditorSymbolSpanOptions(): RichEditorSymbolSpanOptions { - let valueDeserializer: Deserializer = this - const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let offset_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) - { - offset_buf = (valueDeserializer.readNumber() as number) + const detents_buf__value2: undefined | SheetSize | Length = detents_buf__value2_buf + detents_buf = ([detents_buf__value0, detents_buf__value1, detents_buf__value2] as [ SheetSize | Length, (SheetSize | Length)?, (SheetSize | Length)? ]) } - const offset_result: number | undefined|undefined = offset_buf - const style_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let style_buf: RichEditorSymbolSpanStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (style_buf_runtimeType)) + const detents_result: [ SheetSize | Length, (SheetSize | Length)?, (SheetSize | Length)? ] | undefined|undefined = detents_buf + const blurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let blurStyle_buf: BlurStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (blurStyle_buf_runtimeType)) { - style_buf = valueDeserializer.readRichEditorSymbolSpanStyle() + blurStyle_buf = valueDeserializer.readInt32() } - const style_result: RichEditorSymbolSpanStyle | undefined|undefined = style_buf - let value: RichEditorSymbolSpanOptions = ({offset: offset_result, style: style_result} as RichEditorSymbolSpanOptions) - return value - } - readRichEditorTextStyle(): RichEditorTextStyle { - let valueDeserializer: Deserializer = this - const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) + const blurStyle_result: BlurStyle | undefined|undefined = blurStyle_buf + const showClose_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let showClose_buf: boolean | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (showClose_buf_runtimeType)) { - const fontColor_buf__selector: number = valueDeserializer.readInt8() - let fontColor_buf_: Color | number | string | Resource | undefined|undefined - if (fontColor_buf__selector == 0) { - fontColor_buf_ = valueDeserializer.readInt32() - } - else if (fontColor_buf__selector == 1) { - fontColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (fontColor_buf__selector == 2) { - fontColor_buf_ = (valueDeserializer.readString() as string) + const showClose_buf__selector: number = valueDeserializer.readInt8() + let showClose_buf_: boolean | Resource | undefined|undefined + if (showClose_buf__selector == 0) { + showClose_buf_ = valueDeserializer.readBoolean() } - else if (fontColor_buf__selector == 3) { - fontColor_buf_ = valueDeserializer.readResource() + else if (showClose_buf__selector == 1) { + showClose_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for showClose_buf_ has to be chosen through deserialisation.") } - fontColor_buf = (fontColor_buf_ as Color | number | string | Resource) + showClose_buf = (showClose_buf_ as boolean | Resource) } - const fontColor_result: ResourceColor | undefined|undefined = fontColor_buf - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf: string | number | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) + const showClose_result: boolean | Resource | undefined|undefined = showClose_buf + const preferType_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let preferType_buf: SheetType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (preferType_buf_runtimeType)) { - const fontSize_buf__selector: number = valueDeserializer.readInt8() - let fontSize_buf_: string | number | Resource | undefined|undefined - if (fontSize_buf__selector == 0) { - fontSize_buf_ = (valueDeserializer.readString() as string) - } - else if (fontSize_buf__selector == 1) { - fontSize_buf_ = (valueDeserializer.readNumber() as number) + preferType_buf = valueDeserializer.readInt32() + } + const preferType_result: SheetType | undefined|undefined = preferType_buf + const title_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let title_buf: SheetTitleOptions | CustomBuilder | undefined|undefined + if ((RuntimeType.UNDEFINED) != (title_buf_runtimeType)) + { + const title_buf__selector: number = valueDeserializer.readInt8() + let title_buf_: SheetTitleOptions | CustomBuilder | undefined|undefined + if (title_buf__selector == 0) { + title_buf_ = valueDeserializer.readSheetTitleOptions() } - else if (fontSize_buf__selector == 2) { - fontSize_buf_ = valueDeserializer.readResource() + else if (title_buf__selector == 1) { + title_buf_ = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) } else { - throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for title_buf_ has to be chosen through deserialisation.") } - fontSize_buf = (fontSize_buf_ as string | number | Resource) + title_buf = (title_buf_ as SheetTitleOptions | CustomBuilder) } - const fontSize_result: Length | number | undefined|undefined = fontSize_buf - const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontStyle_buf: FontStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) + const title_result: SheetTitleOptions | CustomBuilder | undefined|undefined = title_buf + const shouldDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let shouldDismiss_buf: ((sheetDismiss: SheetDismiss) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (shouldDismiss_buf_runtimeType)) { - fontStyle_buf = valueDeserializer.readInt32() + shouldDismiss_buf = valueDeserializer.readCallback_SheetDismiss_Void() } - const fontStyle_result: FontStyle | undefined|undefined = fontStyle_buf - const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontWeight_buf: number | FontWeight | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) + const shouldDismiss_result: ((sheetDismiss: SheetDismiss) => void) | undefined|undefined = shouldDismiss_buf + const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillDismiss_buf: ((parameter: DismissSheetAction) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) { - const fontWeight_buf__selector: number = valueDeserializer.readInt8() - let fontWeight_buf_: number | FontWeight | string | undefined|undefined - if (fontWeight_buf__selector == 0) { - fontWeight_buf_ = (valueDeserializer.readNumber() as number) + onWillDismiss_buf = valueDeserializer.readCallback_DismissSheetAction_Void() + } + const onWillDismiss_result: ((parameter: DismissSheetAction) => void) | undefined|undefined = onWillDismiss_buf + const onWillSpringBackWhenDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWillSpringBackWhenDismiss_buf: ((parameter: SpringBackAction) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWillSpringBackWhenDismiss_buf_runtimeType)) + { + onWillSpringBackWhenDismiss_buf = valueDeserializer.readCallback_SpringBackAction_Void() + } + const onWillSpringBackWhenDismiss_result: ((parameter: SpringBackAction) => void) | undefined|undefined = onWillSpringBackWhenDismiss_buf + const enableOutsideInteractive_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableOutsideInteractive_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableOutsideInteractive_buf_runtimeType)) + { + enableOutsideInteractive_buf = valueDeserializer.readBoolean() + } + const enableOutsideInteractive_result: boolean | undefined|undefined = enableOutsideInteractive_buf + const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let width_buf: Dimension | undefined|undefined + if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + { + const width_buf__selector: number = valueDeserializer.readInt8() + let width_buf_: string | number | Resource | undefined|undefined + if (width_buf__selector == 0) { + width_buf_ = (valueDeserializer.readString() as string) } - else if (fontWeight_buf__selector == 1) { - fontWeight_buf_ = valueDeserializer.readInt32() + else if (width_buf__selector == 1) { + width_buf_ = (valueDeserializer.readNumber() as number) } - else if (fontWeight_buf__selector == 2) { - fontWeight_buf_ = (valueDeserializer.readString() as string) + else if (width_buf__selector == 2) { + width_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") } - fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) + width_buf = (width_buf_ as string | number | Resource) } - const fontWeight_result: number | FontWeight | string | undefined|undefined = fontWeight_buf - const fontFamily_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFamily_buf: ResourceStr | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontFamily_buf_runtimeType)) + const width_result: Dimension | undefined|undefined = width_buf + const borderWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderWidth_buf: Dimension | EdgeWidths | LocalizedEdgeWidths | undefined|undefined + if ((RuntimeType.UNDEFINED) != (borderWidth_buf_runtimeType)) { - const fontFamily_buf__selector: number = valueDeserializer.readInt8() - let fontFamily_buf_: string | Resource | undefined|undefined - if (fontFamily_buf__selector == 0) { - fontFamily_buf_ = (valueDeserializer.readString() as string) + const borderWidth_buf__selector: number = valueDeserializer.readInt8() + let borderWidth_buf_: Dimension | EdgeWidths | LocalizedEdgeWidths | undefined|undefined + if (borderWidth_buf__selector == 0) { + const borderWidth_buf__u_selector: number = valueDeserializer.readInt8() + let borderWidth_buf__u: string | number | Resource | undefined|undefined + if (borderWidth_buf__u_selector == 0) { + borderWidth_buf__u = (valueDeserializer.readString() as string) + } + else if (borderWidth_buf__u_selector == 1) { + borderWidth_buf__u = (valueDeserializer.readNumber() as number) + } + else if (borderWidth_buf__u_selector == 2) { + borderWidth_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for borderWidth_buf__u has to be chosen through deserialisation.") + } + borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) } - else if (fontFamily_buf__selector == 1) { - fontFamily_buf_ = valueDeserializer.readResource() + else if (borderWidth_buf__selector == 1) { + borderWidth_buf_ = valueDeserializer.readEdgeWidths() + } + else if (borderWidth_buf__selector == 2) { + borderWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() } else { - throw new Error("One of the branches for fontFamily_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderWidth_buf_ has to be chosen through deserialisation.") } - fontFamily_buf = (fontFamily_buf_ as string | Resource) - } - const fontFamily_result: ResourceStr | undefined|undefined = fontFamily_buf - const decoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let decoration_buf: DecorationStyleInterface | undefined|undefined - if ((RuntimeType.UNDEFINED) != (decoration_buf_runtimeType)) - { - decoration_buf = valueDeserializer.readDecorationStyleInterface() + borderWidth_buf = (borderWidth_buf_ as Dimension | EdgeWidths | LocalizedEdgeWidths) } - const decoration_result: DecorationStyleInterface | undefined|undefined = decoration_buf - const textShadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textShadow_buf: ShadowOptions | Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (textShadow_buf_runtimeType)) + const borderWidth_result: Dimension | EdgeWidths | LocalizedEdgeWidths | undefined|undefined = borderWidth_buf + const borderColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderColor_buf: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined|undefined + if ((RuntimeType.UNDEFINED) != (borderColor_buf_runtimeType)) { - const textShadow_buf__selector: number = valueDeserializer.readInt8() - let textShadow_buf_: ShadowOptions | Array | undefined|undefined - if (textShadow_buf__selector == 0) { - textShadow_buf_ = valueDeserializer.readShadowOptions() - } - else if (textShadow_buf__selector == 1) { - const textShadow_buf__u_length: int32 = valueDeserializer.readInt32() - let textShadow_buf__u: Array = new Array(textShadow_buf__u_length) - for (let textShadow_buf__u_i = 0; textShadow_buf__u_i < textShadow_buf__u_length; textShadow_buf__u_i++) { - textShadow_buf__u[textShadow_buf__u_i] = valueDeserializer.readShadowOptions() + const borderColor_buf__selector: number = valueDeserializer.readInt8() + let borderColor_buf_: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined|undefined + if (borderColor_buf__selector == 0) { + const borderColor_buf__u_selector: number = valueDeserializer.readInt8() + let borderColor_buf__u: Color | number | string | Resource | undefined|undefined + if (borderColor_buf__u_selector == 0) { + borderColor_buf__u = valueDeserializer.readInt32() + } + else if (borderColor_buf__u_selector == 1) { + borderColor_buf__u = (valueDeserializer.readNumber() as number) } - textShadow_buf_ = textShadow_buf__u + else if (borderColor_buf__u_selector == 2) { + borderColor_buf__u = (valueDeserializer.readString() as string) + } + else if (borderColor_buf__u_selector == 3) { + borderColor_buf__u = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for borderColor_buf__u has to be chosen through deserialisation.") + } + borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) + } + else if (borderColor_buf__selector == 1) { + borderColor_buf_ = valueDeserializer.readEdgeColors() + } + else if (borderColor_buf__selector == 2) { + borderColor_buf_ = valueDeserializer.readLocalizedEdgeColors() } else { - throw new Error("One of the branches for textShadow_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderColor_buf_ has to be chosen through deserialisation.") } - textShadow_buf = (textShadow_buf_ as ShadowOptions | Array) + borderColor_buf = (borderColor_buf_ as ResourceColor | EdgeColors | LocalizedEdgeColors) } - const textShadow_result: ShadowOptions | Array | undefined|undefined = textShadow_buf - const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let letterSpacing_buf: number | string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) + const borderColor_result: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined|undefined = borderColor_buf + const borderStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let borderStyle_buf: BorderStyle | EdgeStyles | undefined|undefined + if ((RuntimeType.UNDEFINED) != (borderStyle_buf_runtimeType)) { - const letterSpacing_buf__selector: number = valueDeserializer.readInt8() - let letterSpacing_buf_: number | string | undefined|undefined - if (letterSpacing_buf__selector == 0) { - letterSpacing_buf_ = (valueDeserializer.readNumber() as number) + const borderStyle_buf__selector: number = valueDeserializer.readInt8() + let borderStyle_buf_: BorderStyle | EdgeStyles | undefined|undefined + if (borderStyle_buf__selector == 0) { + borderStyle_buf_ = valueDeserializer.readInt32() } - else if (letterSpacing_buf__selector == 1) { - letterSpacing_buf_ = (valueDeserializer.readString() as string) + else if (borderStyle_buf__selector == 1) { + borderStyle_buf_ = valueDeserializer.readEdgeStyles() } else { - throw new Error("One of the branches for letterSpacing_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for borderStyle_buf_ has to be chosen through deserialisation.") } - letterSpacing_buf = (letterSpacing_buf_ as number | string) + borderStyle_buf = (borderStyle_buf_ as BorderStyle | EdgeStyles) } - const letterSpacing_result: number | string | undefined|undefined = letterSpacing_buf - const lineHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lineHeight_buf: number | string | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lineHeight_buf_runtimeType)) + const borderStyle_result: BorderStyle | EdgeStyles | undefined|undefined = borderStyle_buf + const shadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let shadow_buf: ShadowOptions | ShadowStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (shadow_buf_runtimeType)) { - const lineHeight_buf__selector: number = valueDeserializer.readInt8() - let lineHeight_buf_: number | string | Resource | undefined|undefined - if (lineHeight_buf__selector == 0) { - lineHeight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (lineHeight_buf__selector == 1) { - lineHeight_buf_ = (valueDeserializer.readString() as string) + const shadow_buf__selector: number = valueDeserializer.readInt8() + let shadow_buf_: ShadowOptions | ShadowStyle | undefined|undefined + if (shadow_buf__selector == 0) { + shadow_buf_ = valueDeserializer.readShadowOptions() } - else if (lineHeight_buf__selector == 2) { - lineHeight_buf_ = valueDeserializer.readResource() + else if (shadow_buf__selector == 1) { + shadow_buf_ = valueDeserializer.readInt32() } else { - throw new Error("One of the branches for lineHeight_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for shadow_buf_ has to be chosen through deserialisation.") } - lineHeight_buf = (lineHeight_buf_ as number | string | Resource) + shadow_buf = (shadow_buf_ as ShadowOptions | ShadowStyle) } - const lineHeight_result: number | string | Resource | undefined|undefined = lineHeight_buf - const fontFeature_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFeature_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontFeature_buf_runtimeType)) + const shadow_result: ShadowOptions | ShadowStyle | undefined|undefined = shadow_buf + const onHeightDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onHeightDidChange_buf: ((index: number) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onHeightDidChange_buf_runtimeType)) { - fontFeature_buf = (valueDeserializer.readString() as string) + onHeightDidChange_buf = valueDeserializer.readCallback_Number_Void() } - const fontFeature_result: string | undefined|undefined = fontFeature_buf - let value: RichEditorTextStyle = ({fontColor: fontColor_result, fontSize: fontSize_result, fontStyle: fontStyle_result, fontWeight: fontWeight_result, fontFamily: fontFamily_result, decoration: decoration_result, textShadow: textShadow_result, letterSpacing: letterSpacing_result, lineHeight: lineHeight_result, fontFeature: fontFeature_result} as RichEditorTextStyle) - return value - } - readRichEditorUpdateTextSpanStyleOptions(): RichEditorUpdateTextSpanStyleOptions { - let valueDeserializer: Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + const onHeightDidChange_result: ((index: number) => void) | undefined|undefined = onHeightDidChange_buf + const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mode_buf: SheetMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) { - start_buf = (valueDeserializer.readNumber() as number) + mode_buf = valueDeserializer.readInt32() } - const start_result: number | undefined|undefined = start_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + const mode_result: SheetMode | undefined|undefined = mode_buf + const scrollSizeMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scrollSizeMode_buf: ScrollSizeMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scrollSizeMode_buf_runtimeType)) { - end_buf = (valueDeserializer.readNumber() as number) + scrollSizeMode_buf = valueDeserializer.readInt32() } - const end_result: number | undefined|undefined = end_buf - const textStyle_result: RichEditorTextStyle = valueDeserializer.readRichEditorTextStyle() - let value: RichEditorUpdateTextSpanStyleOptions = ({start: start_result, end: end_result, textStyle: textStyle_result} as RichEditorUpdateTextSpanStyleOptions) - return value - } - readRotationGestureEvent(): RotationGestureEvent { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return RotationGestureEventInternal.fromPtr(ptr) - } - readScrollSnapOptions(): ScrollSnapOptions { - let valueDeserializer: Deserializer = this - const snapAlign_result: ScrollSnapAlign = valueDeserializer.readInt32() - const snapPagination_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let snapPagination_buf: Dimension | Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (snapPagination_buf_runtimeType)) + const scrollSizeMode_result: ScrollSizeMode | undefined|undefined = scrollSizeMode_buf + const onDetentsDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onDetentsDidChange_buf: ((index: number) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onDetentsDidChange_buf_runtimeType)) { - const snapPagination_buf__selector: number = valueDeserializer.readInt8() - let snapPagination_buf_: Dimension | Array | undefined|undefined - if (snapPagination_buf__selector == 0) { - const snapPagination_buf__u_selector: number = valueDeserializer.readInt8() - let snapPagination_buf__u: string | number | Resource | undefined|undefined - if (snapPagination_buf__u_selector == 0) { - snapPagination_buf__u = (valueDeserializer.readString() as string) - } - else if (snapPagination_buf__u_selector == 1) { - snapPagination_buf__u = (valueDeserializer.readNumber() as number) - } - else if (snapPagination_buf__u_selector == 2) { - snapPagination_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for snapPagination_buf__u has to be chosen through deserialisation.") - } - snapPagination_buf_ = (snapPagination_buf__u as string | number | Resource) - } - else if (snapPagination_buf__selector == 1) { - const snapPagination_buf__u_length: int32 = valueDeserializer.readInt32() - let snapPagination_buf__u: Array = new Array(snapPagination_buf__u_length) - for (let snapPagination_buf__u_i = 0; snapPagination_buf__u_i < snapPagination_buf__u_length; snapPagination_buf__u_i++) { - const snapPagination_buf__u_buf_selector: number = valueDeserializer.readInt8() - let snapPagination_buf__u_buf: string | number | Resource | undefined|undefined - if (snapPagination_buf__u_buf_selector == 0) { - snapPagination_buf__u_buf = (valueDeserializer.readString() as string) - } - else if (snapPagination_buf__u_buf_selector == 1) { - snapPagination_buf__u_buf = (valueDeserializer.readNumber() as number) - } - else if (snapPagination_buf__u_buf_selector == 2) { - snapPagination_buf__u_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for snapPagination_buf__u_buf has to be chosen through deserialisation.") - } - snapPagination_buf__u[snapPagination_buf__u_i] = (snapPagination_buf__u_buf as string | number | Resource) - } - snapPagination_buf_ = snapPagination_buf__u - } - else { - throw new Error("One of the branches for snapPagination_buf_ has to be chosen through deserialisation.") - } - snapPagination_buf = (snapPagination_buf_ as Dimension | Array) + onDetentsDidChange_buf = valueDeserializer.readCallback_Number_Void() } - const snapPagination_result: Dimension | Array | undefined|undefined = snapPagination_buf - const enableSnapToStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableSnapToStart_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (enableSnapToStart_buf_runtimeType)) + const onDetentsDidChange_result: ((index: number) => void) | undefined|undefined = onDetentsDidChange_buf + const onWidthDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onWidthDidChange_buf: ((index: number) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onWidthDidChange_buf_runtimeType)) { - enableSnapToStart_buf = valueDeserializer.readBoolean() + onWidthDidChange_buf = valueDeserializer.readCallback_Number_Void() } - const enableSnapToStart_result: boolean | undefined|undefined = enableSnapToStart_buf - const enableSnapToEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableSnapToEnd_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (enableSnapToEnd_buf_runtimeType)) + const onWidthDidChange_result: ((index: number) => void) | undefined|undefined = onWidthDidChange_buf + const onTypeDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onTypeDidChange_buf: ((parameter: SheetType) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onTypeDidChange_buf_runtimeType)) { - enableSnapToEnd_buf = valueDeserializer.readBoolean() + onTypeDidChange_buf = valueDeserializer.readCallback_SheetType_Void() } - const enableSnapToEnd_result: boolean | undefined|undefined = enableSnapToEnd_buf - let value: ScrollSnapOptions = ({snapAlign: snapAlign_result, snapPagination: snapPagination_result, enableSnapToStart: enableSnapToStart_result, enableSnapToEnd: enableSnapToEnd_result} as ScrollSnapOptions) - return value - } - readSectionOptions(): SectionOptions { - let valueDeserializer: Deserializer = this - const itemsCount_result: number = (valueDeserializer.readNumber() as number) - const crossCount_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let crossCount_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (crossCount_buf_runtimeType)) + const onTypeDidChange_result: ((parameter: SheetType) => void) | undefined|undefined = onTypeDidChange_buf + const uiContext_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let uiContext_buf: UIContext | undefined|undefined + if ((RuntimeType.UNDEFINED) != (uiContext_buf_runtimeType)) { - crossCount_buf = (valueDeserializer.readNumber() as number) + uiContext_buf = (valueDeserializer.readUIContext() as UIContext) } - const crossCount_result: number | undefined|undefined = crossCount_buf - const onGetItemMainSizeByIndex_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onGetItemMainSizeByIndex_buf: GetItemMainSizeByIndex | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onGetItemMainSizeByIndex_buf_runtimeType)) + const uiContext_result: UIContext | undefined|undefined = uiContext_buf + const keyboardAvoidMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let keyboardAvoidMode_buf: SheetKeyboardAvoidMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) { - onGetItemMainSizeByIndex_buf = valueDeserializer.readGetItemMainSizeByIndex() + keyboardAvoidMode_buf = valueDeserializer.readInt32() } - const onGetItemMainSizeByIndex_result: GetItemMainSizeByIndex | undefined|undefined = onGetItemMainSizeByIndex_buf - const columnsGap_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let columnsGap_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (columnsGap_buf_runtimeType)) + const keyboardAvoidMode_result: SheetKeyboardAvoidMode | undefined|undefined = keyboardAvoidMode_buf + const enableHoverMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableHoverMode_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableHoverMode_buf_runtimeType)) { - const columnsGap_buf__selector: number = valueDeserializer.readInt8() - let columnsGap_buf_: string | number | Resource | undefined|undefined - if (columnsGap_buf__selector == 0) { - columnsGap_buf_ = (valueDeserializer.readString() as string) - } - else if (columnsGap_buf__selector == 1) { - columnsGap_buf_ = (valueDeserializer.readNumber() as number) - } - else if (columnsGap_buf__selector == 2) { - columnsGap_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for columnsGap_buf_ has to be chosen through deserialisation.") - } - columnsGap_buf = (columnsGap_buf_ as string | number | Resource) + enableHoverMode_buf = valueDeserializer.readBoolean() } - const columnsGap_result: Dimension | undefined|undefined = columnsGap_buf - const rowsGap_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let rowsGap_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (rowsGap_buf_runtimeType)) + const enableHoverMode_result: boolean | undefined|undefined = enableHoverMode_buf + const hoverModeArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let hoverModeArea_buf: HoverModeAreaType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (hoverModeArea_buf_runtimeType)) + { + hoverModeArea_buf = valueDeserializer.readInt32() + } + const hoverModeArea_result: HoverModeAreaType | undefined|undefined = hoverModeArea_buf + const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let offset_buf: Position | undefined|undefined + if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) + { + offset_buf = valueDeserializer.readPosition() + } + const offset_result: Position | undefined|undefined = offset_buf + const effectEdge_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let effectEdge_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (effectEdge_buf_runtimeType)) { - const rowsGap_buf__selector: number = valueDeserializer.readInt8() - let rowsGap_buf_: string | number | Resource | undefined|undefined - if (rowsGap_buf__selector == 0) { - rowsGap_buf_ = (valueDeserializer.readString() as string) + effectEdge_buf = (valueDeserializer.readNumber() as number) + } + const effectEdge_result: number | undefined|undefined = effectEdge_buf + const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let radius_buf: LengthMetrics | BorderRadiuses | LocalizedBorderRadiuses | undefined|undefined + if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) + { + const radius_buf__selector: number = valueDeserializer.readInt8() + let radius_buf_: LengthMetrics | BorderRadiuses | LocalizedBorderRadiuses | undefined|undefined + if (radius_buf__selector == 0) { + radius_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } - else if (rowsGap_buf__selector == 1) { - rowsGap_buf_ = (valueDeserializer.readNumber() as number) + else if (radius_buf__selector == 1) { + radius_buf_ = valueDeserializer.readBorderRadiuses() } - else if (rowsGap_buf__selector == 2) { - rowsGap_buf_ = valueDeserializer.readResource() + else if (radius_buf__selector == 2) { + radius_buf_ = valueDeserializer.readLocalizedBorderRadiuses() } else { - throw new Error("One of the branches for rowsGap_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") } - rowsGap_buf = (rowsGap_buf_ as string | number | Resource) + radius_buf = (radius_buf_ as LengthMetrics | BorderRadiuses | LocalizedBorderRadiuses) } - const rowsGap_result: Dimension | undefined|undefined = rowsGap_buf - const margin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf: Padding | Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) + const radius_result: LengthMetrics | BorderRadiuses | LocalizedBorderRadiuses | undefined|undefined = radius_buf + const detentSelection_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let detentSelection_buf: SheetSize | Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (detentSelection_buf_runtimeType)) { - const margin_buf__selector: number = valueDeserializer.readInt8() - let margin_buf_: Padding | Dimension | undefined|undefined - if (margin_buf__selector == 0) { - const margin_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_top_buf_runtimeType)) - { - const margin_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let margin_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (margin_buf__u_top_buf__selector == 0) { - margin_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_top_buf__selector == 1) { - margin_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_top_buf__selector == 2) { - margin_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_top_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_top_buf = (margin_buf__u_top_buf_ as string | number | Resource) - } - const margin_buf__u_top: undefined | Length = margin_buf__u_top_buf - const margin_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_right_buf_runtimeType)) - { - const margin_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let margin_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (margin_buf__u_right_buf__selector == 0) { - margin_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_right_buf__selector == 1) { - margin_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_right_buf__selector == 2) { - margin_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_right_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_right_buf = (margin_buf__u_right_buf_ as string | number | Resource) - } - const margin_buf__u_right: undefined | Length = margin_buf__u_right_buf - const margin_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_bottom_buf_runtimeType)) - { - const margin_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let margin_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (margin_buf__u_bottom_buf__selector == 0) { - margin_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_bottom_buf__selector == 1) { - margin_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_bottom_buf__selector == 2) { - margin_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_bottom_buf = (margin_buf__u_bottom_buf_ as string | number | Resource) - } - const margin_buf__u_bottom: undefined | Length = margin_buf__u_bottom_buf - const margin_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let margin_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (margin_buf__u_left_buf_runtimeType)) - { - const margin_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let margin_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (margin_buf__u_left_buf__selector == 0) { - margin_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (margin_buf__u_left_buf__selector == 1) { - margin_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (margin_buf__u_left_buf__selector == 2) { - margin_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for margin_buf__u_left_buf_ has to be chosen through deserialisation.") - } - margin_buf__u_left_buf = (margin_buf__u_left_buf_ as string | number | Resource) - } - const margin_buf__u_left: undefined | Length = margin_buf__u_left_buf - margin_buf_ = ({top: margin_buf__u_top, right: margin_buf__u_right, bottom: margin_buf__u_bottom, left: margin_buf__u_left} as Padding) + const detentSelection_buf__selector: number = valueDeserializer.readInt8() + let detentSelection_buf_: SheetSize | Length | undefined|undefined + if (detentSelection_buf__selector == 0) { + detentSelection_buf_ = valueDeserializer.readInt32() } - else if (margin_buf__selector == 1) { - const margin_buf__u_selector: number = valueDeserializer.readInt8() - let margin_buf__u: string | number | Resource | undefined|undefined - if (margin_buf__u_selector == 0) { - margin_buf__u = (valueDeserializer.readString() as string) + else if (detentSelection_buf__selector == 1) { + const detentSelection_buf__u_selector: number = valueDeserializer.readInt8() + let detentSelection_buf__u: string | number | Resource | undefined|undefined + if (detentSelection_buf__u_selector == 0) { + detentSelection_buf__u = (valueDeserializer.readString() as string) } - else if (margin_buf__u_selector == 1) { - margin_buf__u = (valueDeserializer.readNumber() as number) + else if (detentSelection_buf__u_selector == 1) { + detentSelection_buf__u = (valueDeserializer.readNumber() as number) } - else if (margin_buf__u_selector == 2) { - margin_buf__u = valueDeserializer.readResource() + else if (detentSelection_buf__u_selector == 2) { + detentSelection_buf__u = valueDeserializer.readResource() } else { - throw new Error("One of the branches for margin_buf__u has to be chosen through deserialisation.") + throw new Error("One of the branches for detentSelection_buf__u has to be chosen through deserialisation.") } - margin_buf_ = (margin_buf__u as string | number | Resource) + detentSelection_buf_ = (detentSelection_buf__u as string | number | Resource) } else { - throw new Error("One of the branches for margin_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for detentSelection_buf_ has to be chosen through deserialisation.") } - margin_buf = (margin_buf_ as Padding | Dimension) + detentSelection_buf = (detentSelection_buf_ as SheetSize | Length) } - const margin_result: Padding | Dimension | undefined|undefined = margin_buf - let value: SectionOptions = ({itemsCount: itemsCount_result, crossCount: crossCount_result, onGetItemMainSizeByIndex: onGetItemMainSizeByIndex_result, columnsGap: columnsGap_result, rowsGap: rowsGap_result, margin: margin_result} as SectionOptions) + const detentSelection_result: SheetSize | Length | undefined|undefined = detentSelection_buf + const showInSubWindow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let showInSubWindow_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (showInSubWindow_buf_runtimeType)) + { + showInSubWindow_buf = valueDeserializer.readBoolean() + } + const showInSubWindow_result: boolean | undefined|undefined = showInSubWindow_buf + const placement_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let placement_buf: Placement | undefined|undefined + if ((RuntimeType.UNDEFINED) != (placement_buf_runtimeType)) + { + placement_buf = valueDeserializer.readInt32() + } + const placement_result: Placement | undefined|undefined = placement_buf + const placementOnTarget_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let placementOnTarget_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (placementOnTarget_buf_runtimeType)) + { + placementOnTarget_buf = valueDeserializer.readBoolean() + } + const placementOnTarget_result: boolean | undefined|undefined = placementOnTarget_buf + let value: SheetOptions = ({backgroundColor: backgroundColor_result, onAppear: onAppear_result, onDisappear: onDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, height: height_result, dragBar: dragBar_result, maskColor: maskColor_result, detents: detents_result, blurStyle: blurStyle_result, showClose: showClose_result, preferType: preferType_result, title: title_result, shouldDismiss: shouldDismiss_result, onWillDismiss: onWillDismiss_result, onWillSpringBackWhenDismiss: onWillSpringBackWhenDismiss_result, enableOutsideInteractive: enableOutsideInteractive_result, width: width_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, onHeightDidChange: onHeightDidChange_result, mode: mode_result, scrollSizeMode: scrollSizeMode_result, onDetentsDidChange: onDetentsDidChange_result, onWidthDidChange: onWidthDidChange_result, onTypeDidChange: onTypeDidChange_result, uiContext: uiContext_result, keyboardAvoidMode: keyboardAvoidMode_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, offset: offset_result, effectEdge: effectEdge_result, radius: radius_result, detentSelection: detentSelection_result, showInSubWindow: showInSubWindow_result, placement: placement_result, placementOnTarget: placementOnTarget_result} as SheetOptions) return value } - readSwipeActionOptions(): SwipeActionOptions { + public readSwipeActionOptions(): SwipeActionOptions { let valueDeserializer: Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf: CustomBuilder | SwipeActionItem | undefined|undefined @@ -27254,199 +27808,34 @@ export class Deserializer extends DeserializerBase { end_buf = (end_buf_ as CustomBuilder | SwipeActionItem) } const end_result: CustomBuilder | SwipeActionItem | undefined|undefined = end_buf - const edgeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let edgeEffect_buf: SwipeEdgeEffect | undefined|undefined - if ((RuntimeType.UNDEFINED) != (edgeEffect_buf_runtimeType)) - { - edgeEffect_buf = valueDeserializer.readInt32() - } - const edgeEffect_result: SwipeEdgeEffect | undefined|undefined = edgeEffect_buf - const onOffsetChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onOffsetChange_buf: ((index: number) => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onOffsetChange_buf_runtimeType)) - { - onOffsetChange_buf = valueDeserializer.readCallback_Number_Void() - } - const onOffsetChange_result: ((index: number) => void) | undefined|undefined = onOffsetChange_buf - let value: SwipeActionOptions = ({start: start_result, end: end_result, edgeEffect: edgeEffect_result, onOffsetChange: onOffsetChange_result} as SwipeActionOptions) - return value - } - readSwipeGestureEvent(): SwipeGestureEvent { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return SwipeGestureEventInternal.fromPtr(ptr) - } - readTapGestureEvent(): TapGestureEvent { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return TapGestureEventInternal.fromPtr(ptr) - } - readtext_TextStyle(): text.TextStyle { - let valueDeserializer: Deserializer = this - const decoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let decoration_buf: Decoration | undefined|undefined - if ((RuntimeType.UNDEFINED) != (decoration_buf_runtimeType)) - { - decoration_buf = valueDeserializer.readDecoration() - } - const decoration_result: Decoration | undefined|undefined = decoration_buf - const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let color_buf: common2D.Color | undefined|undefined - if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) - { - color_buf = valueDeserializer.readcommon2D_Color() - } - const color_result: common2D.Color | undefined|undefined = color_buf - const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontWeight_buf: FontWeight | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) - { - fontWeight_buf = valueDeserializer.readInt32() - } - const fontWeight_result: FontWeight | undefined|undefined = fontWeight_buf - const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontStyle_buf: FontStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) - { - fontStyle_buf = valueDeserializer.readInt32() - } - const fontStyle_result: FontStyle | undefined|undefined = fontStyle_buf - const baseline_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let baseline_buf: TextBaseline | undefined|undefined - if ((RuntimeType.UNDEFINED) != (baseline_buf_runtimeType)) - { - baseline_buf = valueDeserializer.readInt32() - } - const baseline_result: TextBaseline | undefined|undefined = baseline_buf - const fontFamilies_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFamilies_buf: Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontFamilies_buf_runtimeType)) - { - const fontFamilies_buf__length: int32 = valueDeserializer.readInt32() - let fontFamilies_buf_: Array = new Array(fontFamilies_buf__length) - for (let fontFamilies_buf__i = 0; fontFamilies_buf__i < fontFamilies_buf__length; fontFamilies_buf__i++) { - fontFamilies_buf_[fontFamilies_buf__i] = (valueDeserializer.readString() as string) - } - fontFamilies_buf = fontFamilies_buf_ - } - const fontFamilies_result: Array | undefined|undefined = fontFamilies_buf - const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontSize_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) - { - fontSize_buf = (valueDeserializer.readNumber() as number) - } - const fontSize_result: number | undefined|undefined = fontSize_buf - const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let letterSpacing_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) - { - letterSpacing_buf = (valueDeserializer.readNumber() as number) - } - const letterSpacing_result: number | undefined|undefined = letterSpacing_buf - const wordSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let wordSpacing_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (wordSpacing_buf_runtimeType)) - { - wordSpacing_buf = (valueDeserializer.readNumber() as number) - } - const wordSpacing_result: number | undefined|undefined = wordSpacing_buf - const heightScale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let heightScale_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (heightScale_buf_runtimeType)) - { - heightScale_buf = (valueDeserializer.readNumber() as number) - } - const heightScale_result: number | undefined|undefined = heightScale_buf - const halfLeading_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let halfLeading_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (halfLeading_buf_runtimeType)) - { - halfLeading_buf = valueDeserializer.readBoolean() - } - const halfLeading_result: boolean | undefined|undefined = halfLeading_buf - const heightOnly_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let heightOnly_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (heightOnly_buf_runtimeType)) - { - heightOnly_buf = valueDeserializer.readBoolean() - } - const heightOnly_result: boolean | undefined|undefined = heightOnly_buf - const ellipsis_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let ellipsis_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (ellipsis_buf_runtimeType)) - { - ellipsis_buf = (valueDeserializer.readString() as string) - } - const ellipsis_result: string | undefined|undefined = ellipsis_buf - const ellipsisMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let ellipsisMode_buf: EllipsisMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (ellipsisMode_buf_runtimeType)) - { - ellipsisMode_buf = valueDeserializer.readInt32() - } - const ellipsisMode_result: EllipsisMode | undefined|undefined = ellipsisMode_buf - const locale_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let locale_buf: string | undefined|undefined - if ((RuntimeType.UNDEFINED) != (locale_buf_runtimeType)) - { - locale_buf = (valueDeserializer.readString() as string) - } - const locale_result: string | undefined|undefined = locale_buf - const baselineShift_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let baselineShift_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (baselineShift_buf_runtimeType)) - { - baselineShift_buf = (valueDeserializer.readNumber() as number) - } - const baselineShift_result: number | undefined|undefined = baselineShift_buf - const fontFeatures_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontFeatures_buf: Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontFeatures_buf_runtimeType)) - { - const fontFeatures_buf__length: int32 = valueDeserializer.readInt32() - let fontFeatures_buf_: Array = new Array(fontFeatures_buf__length) - for (let fontFeatures_buf__i = 0; fontFeatures_buf__i < fontFeatures_buf__length; fontFeatures_buf__i++) { - fontFeatures_buf_[fontFeatures_buf__i] = valueDeserializer.readFontFeature() - } - fontFeatures_buf = fontFeatures_buf_ - } - const fontFeatures_result: Array | undefined|undefined = fontFeatures_buf - const textShadows_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textShadows_buf: Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (textShadows_buf_runtimeType)) - { - const textShadows_buf__length: int32 = valueDeserializer.readInt32() - let textShadows_buf_: Array = new Array(textShadows_buf__length) - for (let textShadows_buf__i = 0; textShadows_buf__i < textShadows_buf__length; textShadows_buf__i++) { - textShadows_buf_[textShadows_buf__i] = valueDeserializer.readTextShadow() - } - textShadows_buf = textShadows_buf_ - } - const textShadows_result: Array | undefined|undefined = textShadows_buf - const backgroundRect_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundRect_buf: RectStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundRect_buf_runtimeType)) + const edgeEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let edgeEffect_buf: SwipeEdgeEffect | undefined|undefined + if ((RuntimeType.UNDEFINED) != (edgeEffect_buf_runtimeType)) { - backgroundRect_buf = valueDeserializer.readRectStyle() + edgeEffect_buf = valueDeserializer.readInt32() } - const backgroundRect_result: RectStyle | undefined|undefined = backgroundRect_buf - const fontVariations_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fontVariations_buf: Array | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fontVariations_buf_runtimeType)) + const edgeEffect_result: SwipeEdgeEffect | undefined|undefined = edgeEffect_buf + const onOffsetChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onOffsetChange_buf: ((index: number) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onOffsetChange_buf_runtimeType)) { - const fontVariations_buf__length: int32 = valueDeserializer.readInt32() - let fontVariations_buf_: Array = new Array(fontVariations_buf__length) - for (let fontVariations_buf__i = 0; fontVariations_buf__i < fontVariations_buf__length; fontVariations_buf__i++) { - fontVariations_buf_[fontVariations_buf__i] = valueDeserializer.readFontVariation() - } - fontVariations_buf = fontVariations_buf_ + onOffsetChange_buf = valueDeserializer.readCallback_Number_Void() } - const fontVariations_result: Array | undefined|undefined = fontVariations_buf - let value: text.TextStyle = ({decoration: decoration_result, color: color_result, fontWeight: fontWeight_result, fontStyle: fontStyle_result, baseline: baseline_result, fontFamilies: fontFamilies_result, fontSize: fontSize_result, letterSpacing: letterSpacing_result, wordSpacing: wordSpacing_result, heightScale: heightScale_result, halfLeading: halfLeading_result, heightOnly: heightOnly_result, ellipsis: ellipsis_result, ellipsisMode: ellipsisMode_result, locale: locale_result, baselineShift: baselineShift_result, fontFeatures: fontFeatures_result, textShadows: textShadows_result, backgroundRect: backgroundRect_result, fontVariations: fontVariations_result} as text.TextStyle) + const onOffsetChange_result: ((index: number) => void) | undefined|undefined = onOffsetChange_buf + let value: SwipeActionOptions = ({start: start_result, end: end_result, edgeEffect: edgeEffect_result, onOffsetChange: onOffsetChange_result} as SwipeActionOptions) return value } - readTextBackgroundStyle(): TextBackgroundStyle { + public readSwipeGestureEvent(): SwipeGestureEvent { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return SwipeGestureEventInternal.fromPtr(ptr) + } + public readTapGestureEvent(): TapGestureEvent { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return TapGestureEventInternal.fromPtr(ptr) + } + public readTextBackgroundStyle(): TextBackgroundStyle { let valueDeserializer: Deserializer = this const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) let color_buf: ResourceColor | undefined|undefined @@ -27496,91 +27885,7 @@ export class Deserializer extends DeserializerBase { radius_buf_ = (radius_buf__u as string | number | Resource) } else if (radius_buf__selector == 1) { - const radius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_topLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_topLeft_buf_runtimeType)) - { - const radius_buf__u_topLeft_buf__selector: number = valueDeserializer.readInt8() - let radius_buf__u_topLeft_buf_: string | number | Resource | undefined|undefined - if (radius_buf__u_topLeft_buf__selector == 0) { - radius_buf__u_topLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_topLeft_buf__selector == 1) { - radius_buf__u_topLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_topLeft_buf__selector == 2) { - radius_buf__u_topLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_topLeft_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_topLeft_buf = (radius_buf__u_topLeft_buf_ as string | number | Resource) - } - const radius_buf__u_topLeft: undefined | Length = radius_buf__u_topLeft_buf - const radius_buf__u_topRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_topRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_topRight_buf_runtimeType)) - { - const radius_buf__u_topRight_buf__selector: number = valueDeserializer.readInt8() - let radius_buf__u_topRight_buf_: string | number | Resource | undefined|undefined - if (radius_buf__u_topRight_buf__selector == 0) { - radius_buf__u_topRight_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_topRight_buf__selector == 1) { - radius_buf__u_topRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_topRight_buf__selector == 2) { - radius_buf__u_topRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_topRight_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_topRight_buf = (radius_buf__u_topRight_buf_ as string | number | Resource) - } - const radius_buf__u_topRight: undefined | Length = radius_buf__u_topRight_buf - const radius_buf__u_bottomLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_bottomLeft_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_bottomLeft_buf_runtimeType)) - { - const radius_buf__u_bottomLeft_buf__selector: number = valueDeserializer.readInt8() - let radius_buf__u_bottomLeft_buf_: string | number | Resource | undefined|undefined - if (radius_buf__u_bottomLeft_buf__selector == 0) { - radius_buf__u_bottomLeft_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_bottomLeft_buf__selector == 1) { - radius_buf__u_bottomLeft_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_bottomLeft_buf__selector == 2) { - radius_buf__u_bottomLeft_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_bottomLeft_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_bottomLeft_buf = (radius_buf__u_bottomLeft_buf_ as string | number | Resource) - } - const radius_buf__u_bottomLeft: undefined | Length = radius_buf__u_bottomLeft_buf - const radius_buf__u_bottomRight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf__u_bottomRight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (radius_buf__u_bottomRight_buf_runtimeType)) - { - const radius_buf__u_bottomRight_buf__selector: number = valueDeserializer.readInt8() - let radius_buf__u_bottomRight_buf_: string | number | Resource | undefined|undefined - if (radius_buf__u_bottomRight_buf__selector == 0) { - radius_buf__u_bottomRight_buf_ = (valueDeserializer.readString() as string) - } - else if (radius_buf__u_bottomRight_buf__selector == 1) { - radius_buf__u_bottomRight_buf_ = (valueDeserializer.readNumber() as number) - } - else if (radius_buf__u_bottomRight_buf__selector == 2) { - radius_buf__u_bottomRight_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for radius_buf__u_bottomRight_buf_ has to be chosen through deserialisation.") - } - radius_buf__u_bottomRight_buf = (radius_buf__u_bottomRight_buf_ as string | number | Resource) - } - const radius_buf__u_bottomRight: undefined | Length = radius_buf__u_bottomRight_buf - radius_buf_ = ({topLeft: radius_buf__u_topLeft, topRight: radius_buf__u_topRight, bottomLeft: radius_buf__u_bottomLeft, bottomRight: radius_buf__u_bottomRight} as BorderRadiuses) + radius_buf_ = valueDeserializer.readBorderRadiuses() } else { throw new Error("One of the branches for radius_buf_ has to be chosen through deserialisation.") @@ -27591,21 +27896,8 @@ export class Deserializer extends DeserializerBase { let value: TextBackgroundStyle = ({color: color_result, radius: radius_result} as TextBackgroundStyle) return value } - readTextDataDetectorConfig(): TextDataDetectorConfig { + public readTextPickerTextStyle(): TextPickerTextStyle { let valueDeserializer: Deserializer = this - const types_buf_length: int32 = valueDeserializer.readInt32() - let types_buf: Array = new Array(types_buf_length) - for (let types_buf_i = 0; types_buf_i < types_buf_length; types_buf_i++) { - types_buf[types_buf_i] = valueDeserializer.readInt32() - } - const types_result: Array = types_buf - const onDetectResultUpdate_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onDetectResultUpdate_buf: ((breakpoints: string) => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onDetectResultUpdate_buf_runtimeType)) - { - onDetectResultUpdate_buf = valueDeserializer.readCallback_String_Void() - } - const onDetectResultUpdate_result: ((breakpoints: string) => void) | undefined|undefined = onDetectResultUpdate_buf const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) let color_buf: ResourceColor | undefined|undefined if ((RuntimeType.UNDEFINED) != (color_buf_runtimeType)) @@ -27630,45 +27922,118 @@ export class Deserializer extends DeserializerBase { color_buf = (color_buf_ as Color | number | string | Resource) } const color_result: ResourceColor | undefined|undefined = color_buf - const decoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let decoration_buf: DecorationStyleInterface | undefined|undefined - if ((RuntimeType.UNDEFINED) != (decoration_buf_runtimeType)) + const font_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let font_buf: Font | undefined|undefined + if ((RuntimeType.UNDEFINED) != (font_buf_runtimeType)) { - decoration_buf = valueDeserializer.readDecorationStyleInterface() + font_buf = valueDeserializer.readFont() } - const decoration_result: DecorationStyleInterface | undefined|undefined = decoration_buf - let value: TextDataDetectorConfig = ({types: types_result, onDetectResultUpdate: onDetectResultUpdate_result, color: color_result, decoration: decoration_result} as TextDataDetectorConfig) + const font_result: Font | undefined|undefined = font_buf + const minFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let minFontSize_buf: number | string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (minFontSize_buf_runtimeType)) + { + const minFontSize_buf__selector: number = valueDeserializer.readInt8() + let minFontSize_buf_: number | string | Resource | undefined|undefined + if (minFontSize_buf__selector == 0) { + minFontSize_buf_ = (valueDeserializer.readNumber() as number) + } + else if (minFontSize_buf__selector == 1) { + minFontSize_buf_ = (valueDeserializer.readString() as string) + } + else if (minFontSize_buf__selector == 2) { + minFontSize_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for minFontSize_buf_ has to be chosen through deserialisation.") + } + minFontSize_buf = (minFontSize_buf_ as number | string | Resource) + } + const minFontSize_result: number | string | Resource | undefined|undefined = minFontSize_buf + const maxFontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxFontSize_buf: number | string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (maxFontSize_buf_runtimeType)) + { + const maxFontSize_buf__selector: number = valueDeserializer.readInt8() + let maxFontSize_buf_: number | string | Resource | undefined|undefined + if (maxFontSize_buf__selector == 0) { + maxFontSize_buf_ = (valueDeserializer.readNumber() as number) + } + else if (maxFontSize_buf__selector == 1) { + maxFontSize_buf_ = (valueDeserializer.readString() as string) + } + else if (maxFontSize_buf__selector == 2) { + maxFontSize_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for maxFontSize_buf_ has to be chosen through deserialisation.") + } + maxFontSize_buf = (maxFontSize_buf_ as number | string | Resource) + } + const maxFontSize_result: number | string | Resource | undefined|undefined = maxFontSize_buf + const overflow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let overflow_buf: TextOverflow | undefined|undefined + if ((RuntimeType.UNDEFINED) != (overflow_buf_runtimeType)) + { + overflow_buf = valueDeserializer.readInt32() + } + const overflow_result: TextOverflow | undefined|undefined = overflow_buf + let value: TextPickerTextStyle = ({color: color_result, font: font_result, minFontSize: minFontSize_result, maxFontSize: maxFontSize_result, overflow: overflow_result} as TextPickerTextStyle) return value } - readTouchEvent(): TouchEvent { + public readTouchEvent(): TouchEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return TouchEventInternal.fromPtr(ptr) } - readAccessibilityHoverEvent(): AccessibilityHoverEvent { + public readWithThemeOptions(): WithThemeOptions { + let valueDeserializer: Deserializer = this + const theme_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let theme_buf: CustomTheme | undefined|undefined + if ((RuntimeType.UNDEFINED) != (theme_buf_runtimeType)) + { + theme_buf = valueDeserializer.readCustomTheme() + } + const theme_result: CustomTheme | undefined|undefined = theme_buf + const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colorMode_buf: ThemeColorMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) + { + colorMode_buf = valueDeserializer.readInt32() + } + const colorMode_result: ThemeColorMode | undefined|undefined = colorMode_buf + let value: WithThemeOptions = ({theme: theme_result, colorMode: colorMode_result} as WithThemeOptions) + return value + } + public readAccessibilityHoverEvent(): AccessibilityHoverEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return AccessibilityHoverEventInternal.fromPtr(ptr) } - readBackgroundColorStyle(): BackgroundColorStyle { + public readAxisEvent(): AxisEvent { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return AxisEventInternal.fromPtr(ptr) + } + public readBackgroundColorStyle(): BackgroundColorStyle { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return BackgroundColorStyleInternal.fromPtr(ptr) } - readBaseEvent(): BaseEvent { + public readBaseEvent(): BaseEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return BaseEventInternal.fromPtr(ptr) } - readBaseGestureEvent(): BaseGestureEvent { + public readBaseGestureEvent(): BaseGestureEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return BaseGestureEventInternal.fromPtr(ptr) } - readBottomTabBarStyle(): BottomTabBarStyle { + public readBottomTabBarStyle(): BottomTabBarStyle { throw new Error("Can not deserialize builder class") } - readCalendarDialogOptions(): CalendarDialogOptions { + public readCalendarDialogOptions(): CalendarDialogOptions { let valueDeserializer: Deserializer = this const hintRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) let hintRadius_buf: number | Resource | undefined|undefined @@ -27695,6 +28060,32 @@ export class Deserializer extends DeserializerBase { selected_buf = new Date(valueDeserializer.readInt64()) } const selected_result: Date | undefined|undefined = selected_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: Date | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = new Date(valueDeserializer.readInt64()) + } + const start_result: Date | undefined|undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: Date | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = new Date(valueDeserializer.readInt64()) + } + const end_result: Date | undefined|undefined = end_buf + const disabledDateRange_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disabledDateRange_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (disabledDateRange_buf_runtimeType)) + { + const disabledDateRange_buf__length: int32 = valueDeserializer.readInt32() + let disabledDateRange_buf_: Array = new Array(disabledDateRange_buf__length) + for (let disabledDateRange_buf__i = 0; disabledDateRange_buf__i < disabledDateRange_buf__length; disabledDateRange_buf__i++) { + disabledDateRange_buf_[disabledDateRange_buf__i] = valueDeserializer.readDateRange() + } + disabledDateRange_buf = disabledDateRange_buf_ + } + const disabledDateRange_result: Array | undefined|undefined = disabledDateRange_buf const onAccept_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onAccept_buf: ((parameter: Date) => void) | undefined|undefined if ((RuntimeType.UNDEFINED) != (onAccept_buf_runtimeType)) @@ -27747,6 +28138,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = valueDeserializer.readInt32() } const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf const acceptButtonStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) let acceptButtonStyle_buf: PickerDialogButtonStyle | undefined|undefined if ((RuntimeType.UNDEFINED) != (acceptButtonStyle_buf_runtimeType)) @@ -27821,15 +28226,22 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = valueDeserializer.readInt32() } const hoverModeArea_result: HoverModeAreaType | undefined|undefined = hoverModeArea_buf - let value: CalendarDialogOptions = ({hintRadius: hintRadius_result, selected: selected_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result} as CalendarDialogOptions) + const markToday_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let markToday_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (markToday_buf_runtimeType)) + { + markToday_buf = valueDeserializer.readBoolean() + } + const markToday_result: boolean | undefined|undefined = markToday_buf + let value: CalendarDialogOptions = ({hintRadius: hintRadius_result, selected: selected_result, start: start_result, end: end_result, disabledDateRange: disabledDateRange_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, markToday: markToday_result} as CalendarDialogOptions) return value } - readClickEvent(): ClickEvent { + public readClickEvent(): ClickEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ClickEventInternal.fromPtr(ptr) } - readDatePickerDialogOptions(): DatePickerDialogOptions { + public readDatePickerDialogOptions(): DatePickerDialogOptions { let valueDeserializer: Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf: Date | undefined|undefined @@ -27852,6 +28264,13 @@ export class Deserializer extends DeserializerBase { selected_buf = new Date(valueDeserializer.readInt64()) } const selected_result: Date | undefined|undefined = selected_buf + const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let mode_buf: DatePickerMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) + { + mode_buf = valueDeserializer.readInt32() + } + const mode_result: DatePickerMode | undefined|undefined = mode_buf const lunar_buf_runtimeType = (valueDeserializer.readInt8() as int32) let lunar_buf: boolean | undefined|undefined if ((RuntimeType.UNDEFINED) != (lunar_buf_runtimeType)) @@ -27940,37 +28359,7 @@ export class Deserializer extends DeserializerBase { let offset_buf: Offset | undefined|undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dx_buf: string | number | Resource | undefined|undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx: Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dy_buf: string | number | Resource | undefined|undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy: Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result: Offset | undefined|undefined = offset_buf const onAccept_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -28039,6 +28428,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = valueDeserializer.readInt32() } const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onDidAppear_buf: VoidCallback | undefined|undefined if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) @@ -28106,10 +28509,17 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = valueDeserializer.readInt32() } const hoverModeArea_result: HoverModeAreaType | undefined|undefined = hoverModeArea_buf - let value: DatePickerDialogOptions = ({start: start_result, end: end_result, selected: selected_result, lunar: lunar_result, lunarSwitch: lunarSwitch_result, lunarSwitchStyle: lunarSwitchStyle_result, showTime: showTime_result, useMilitaryTime: useMilitaryTime_result, disappearTextStyle: disappearTextStyle_result, textStyle: textStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, selectedTextStyle: selectedTextStyle_result, maskRect: maskRect_result, alignment: alignment_result, offset: offset_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, onDateAccept: onDateAccept_result, onDateChange: onDateChange_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, dateTimeOptions: dateTimeOptions_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result} as DatePickerDialogOptions) + const enableHapticFeedback_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableHapticFeedback_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableHapticFeedback_buf_runtimeType)) + { + enableHapticFeedback_buf = valueDeserializer.readBoolean() + } + const enableHapticFeedback_result: boolean | undefined|undefined = enableHapticFeedback_buf + let value: DatePickerDialogOptions = ({start: start_result, end: end_result, selected: selected_result, mode: mode_result, lunar: lunar_result, lunarSwitch: lunarSwitch_result, lunarSwitchStyle: lunarSwitchStyle_result, showTime: showTime_result, useMilitaryTime: useMilitaryTime_result, disappearTextStyle: disappearTextStyle_result, textStyle: textStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, selectedTextStyle: selectedTextStyle_result, maskRect: maskRect_result, alignment: alignment_result, offset: offset_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, onDateAccept: onDateAccept_result, onDateChange: onDateChange_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, dateTimeOptions: dateTimeOptions_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, enableHapticFeedback: enableHapticFeedback_result} as DatePickerDialogOptions) return value } - readGridRowOptions(): GridRowOptions { + public readGridRowOptions(): GridRowOptions { let valueDeserializer: Deserializer = this const gutter_buf_runtimeType = (valueDeserializer.readInt8() as int32) let gutter_buf: Length | GutterOption | undefined|undefined @@ -28178,12 +28588,12 @@ export class Deserializer extends DeserializerBase { let value: GridRowOptions = ({gutter: gutter_result, columns: columns_result, breakpoints: breakpoints_result, direction: direction_result} as GridRowOptions) return value } - readImageAttachment(): ImageAttachment { + public readImageAttachment(): ImageAttachment { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() return ImageAttachmentInternal.fromPtr(ptr) } - readImageAttachmentInterface(): ImageAttachmentInterface { + public readImageAttachmentInterface(): ImageAttachmentInterface { let valueDeserializer: Deserializer = this const value_result: PixelMap = (valueDeserializer.readPixelMap() as PixelMap) const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -28214,10 +28624,28 @@ export class Deserializer extends DeserializerBase { layoutStyle_buf = valueDeserializer.readImageAttachmentLayoutStyle() } const layoutStyle_result: ImageAttachmentLayoutStyle | undefined|undefined = layoutStyle_buf - let value: ImageAttachmentInterface = ({value: value_result, size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result} as ImageAttachmentInterface) + const colorFilter_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colorFilter_buf: ColorFilterType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (colorFilter_buf_runtimeType)) + { + const colorFilter_buf__selector: number = valueDeserializer.readInt8() + let colorFilter_buf_: ColorFilter | DrawingColorFilter | undefined|undefined + if (colorFilter_buf__selector == 0) { + colorFilter_buf_ = (valueDeserializer.readColorFilter() as ColorFilter) + } + else if (colorFilter_buf__selector == 1) { + colorFilter_buf_ = (valueDeserializer.readDrawingColorFilter() as DrawingColorFilter) + } + else { + throw new Error("One of the branches for colorFilter_buf_ has to be chosen through deserialisation.") + } + colorFilter_buf = (colorFilter_buf_ as ColorFilter | DrawingColorFilter) + } + const colorFilter_result: ColorFilterType | undefined|undefined = colorFilter_buf + let value: ImageAttachmentInterface = ({value: value_result, size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result, colorFilter: colorFilter_result} as ImageAttachmentInterface) return value } - readNativeEmbedDataInfo(): NativeEmbedDataInfo { + public readNativeEmbedDataInfo(): NativeEmbedDataInfo { let valueDeserializer: Deserializer = this const status_buf_runtimeType = (valueDeserializer.readInt8() as int32) let status_buf: NativeEmbedStatus | undefined|undefined @@ -28250,7 +28678,7 @@ export class Deserializer extends DeserializerBase { let value: NativeEmbedDataInfo = ({status: status_result, surfaceId: surfaceId_result, embedId: embedId_result, info: info_result} as NativeEmbedDataInfo) return value } - readNativeEmbedTouchInfo(): NativeEmbedTouchInfo { + public readNativeEmbedTouchInfo(): NativeEmbedTouchInfo { let valueDeserializer: Deserializer = this const embedId_buf_runtimeType = (valueDeserializer.readInt8() as int32) let embedId_buf: string | undefined|undefined @@ -28266,80 +28694,17 @@ export class Deserializer extends DeserializerBase { touchEvent_buf = (valueDeserializer.readTouchEvent() as TouchEvent) } const touchEvent_result: TouchEvent | undefined|undefined = touchEvent_buf - const result_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let result_buf: EventResult | undefined|undefined - if ((RuntimeType.UNDEFINED) != (result_buf_runtimeType)) - { - result_buf = (valueDeserializer.readEventResult() as EventResult) - } - const result_result: EventResult | undefined|undefined = result_buf - let value: NativeEmbedTouchInfo = ({embedId: embedId_result, touchEvent: touchEvent_result, result: result_result} as NativeEmbedTouchInfo) - return value - } - readParagraphStyle(): ParagraphStyle { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return ParagraphStyleInternal.fromPtr(ptr) - } - readParagraphStyleInterface(): ParagraphStyleInterface { - let valueDeserializer: Deserializer = this - const textAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textAlign_buf: TextAlign | undefined|undefined - if ((RuntimeType.UNDEFINED) != (textAlign_buf_runtimeType)) - { - textAlign_buf = valueDeserializer.readInt32() - } - const textAlign_result: TextAlign | undefined|undefined = textAlign_buf - const textIndent_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textIndent_buf: LengthMetrics | undefined|undefined - if ((RuntimeType.UNDEFINED) != (textIndent_buf_runtimeType)) - { - textIndent_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - const textIndent_result: LengthMetrics | undefined|undefined = textIndent_buf - const maxLines_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maxLines_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (maxLines_buf_runtimeType)) - { - maxLines_buf = (valueDeserializer.readNumber() as number) - } - const maxLines_result: number | undefined|undefined = maxLines_buf - const overflow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let overflow_buf: TextOverflow | undefined|undefined - if ((RuntimeType.UNDEFINED) != (overflow_buf_runtimeType)) - { - overflow_buf = valueDeserializer.readInt32() - } - const overflow_result: TextOverflow | undefined|undefined = overflow_buf - const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let wordBreak_buf: WordBreak | undefined|undefined - if ((RuntimeType.UNDEFINED) != (wordBreak_buf_runtimeType)) - { - wordBreak_buf = valueDeserializer.readInt32() - } - const wordBreak_result: WordBreak | undefined|undefined = wordBreak_buf - const leadingMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let leadingMargin_buf: LengthMetrics | LeadingMarginPlaceholder | undefined|undefined - if ((RuntimeType.UNDEFINED) != (leadingMargin_buf_runtimeType)) - { - const leadingMargin_buf__selector: number = valueDeserializer.readInt8() - let leadingMargin_buf_: LengthMetrics | LeadingMarginPlaceholder | undefined|undefined - if (leadingMargin_buf__selector == 0) { - leadingMargin_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) - } - else if (leadingMargin_buf__selector == 1) { - leadingMargin_buf_ = valueDeserializer.readLeadingMarginPlaceholder() - } - else { - throw new Error("One of the branches for leadingMargin_buf_ has to be chosen through deserialisation.") - } - leadingMargin_buf = (leadingMargin_buf_ as LengthMetrics | LeadingMarginPlaceholder) + const result_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let result_buf: EventResult | undefined|undefined + if ((RuntimeType.UNDEFINED) != (result_buf_runtimeType)) + { + result_buf = (valueDeserializer.readEventResult() as EventResult) } - const leadingMargin_result: LengthMetrics | LeadingMarginPlaceholder | undefined|undefined = leadingMargin_buf - let value: ParagraphStyleInterface = ({textAlign: textAlign_result, textIndent: textIndent_result, maxLines: maxLines_result, overflow: overflow_result, wordBreak: wordBreak_result, leadingMargin: leadingMargin_result} as ParagraphStyleInterface) + const result_result: EventResult | undefined|undefined = result_buf + let value: NativeEmbedTouchInfo = ({embedId: embedId_result, touchEvent: touchEvent_result, result: result_result} as NativeEmbedTouchInfo) return value } - readPopupOptions(): PopupOptions { + public readPopupOptions(): PopupOptions { let valueDeserializer: Deserializer = this const message_result: string = (valueDeserializer.readString() as string) const placementOnTop_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -28673,48 +29038,43 @@ export class Deserializer extends DeserializerBase { followTransformOfTarget_buf = valueDeserializer.readBoolean() } const followTransformOfTarget_result: boolean | undefined|undefined = followTransformOfTarget_buf - let value: PopupOptions = ({message: message_result, placementOnTop: placementOnTop_result, placement: placement_result, primaryButton: primaryButton_result, secondaryButton: secondaryButton_result, onStateChange: onStateChange_result, arrowOffset: arrowOffset_result, showInSubWindow: showInSubWindow_result, mask: mask_result, messageOptions: messageOptions_result, targetSpace: targetSpace_result, enableArrow: enableArrow_result, offset: offset_result, popupColor: popupColor_result, autoCancel: autoCancel_result, width: width_result, arrowPointPosition: arrowPointPosition_result, arrowWidth: arrowWidth_result, arrowHeight: arrowHeight_result, radius: radius_result, shadow: shadow_result, backgroundBlurStyle: backgroundBlurStyle_result, transition: transition_result, onWillDismiss: onWillDismiss_result, enableHoverMode: enableHoverMode_result, followTransformOfTarget: followTransformOfTarget_result} as PopupOptions) + const keyboardAvoidMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let keyboardAvoidMode_buf: KeyboardAvoidMode | undefined|undefined + if ((RuntimeType.UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) + { + keyboardAvoidMode_buf = valueDeserializer.readInt32() + } + const keyboardAvoidMode_result: KeyboardAvoidMode | undefined|undefined = keyboardAvoidMode_buf + let value: PopupOptions = ({message: message_result, placementOnTop: placementOnTop_result, placement: placement_result, primaryButton: primaryButton_result, secondaryButton: secondaryButton_result, onStateChange: onStateChange_result, arrowOffset: arrowOffset_result, showInSubWindow: showInSubWindow_result, mask: mask_result, messageOptions: messageOptions_result, targetSpace: targetSpace_result, enableArrow: enableArrow_result, offset: offset_result, popupColor: popupColor_result, autoCancel: autoCancel_result, width: width_result, arrowPointPosition: arrowPointPosition_result, arrowWidth: arrowWidth_result, arrowHeight: arrowHeight_result, radius: radius_result, shadow: shadow_result, backgroundBlurStyle: backgroundBlurStyle_result, transition: transition_result, onWillDismiss: onWillDismiss_result, enableHoverMode: enableHoverMode_result, followTransformOfTarget: followTransformOfTarget_result, keyboardAvoidMode: keyboardAvoidMode_result} as PopupOptions) return value } - readRichEditorImageSpanStyle(): RichEditorImageSpanStyle { + public readResourceImageAttachmentOptions(): ResourceImageAttachmentOptions { let valueDeserializer: Deserializer = this - const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let size_buf: [ Dimension, Dimension ] | undefined|undefined - if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) + const resourceValue_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let resourceValue_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (resourceValue_buf_runtimeType)) { - const size_buf__value0_buf_selector: number = valueDeserializer.readInt8() - let size_buf__value0_buf: string | number | Resource | undefined|undefined - if (size_buf__value0_buf_selector == 0) { - size_buf__value0_buf = (valueDeserializer.readString() as string) - } - else if (size_buf__value0_buf_selector == 1) { - size_buf__value0_buf = (valueDeserializer.readNumber() as number) - } - else if (size_buf__value0_buf_selector == 2) { - size_buf__value0_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for size_buf__value0_buf has to be chosen through deserialisation.") - } - const size_buf__value0: Dimension = (size_buf__value0_buf as string | number | Resource) - const size_buf__value1_buf_selector: number = valueDeserializer.readInt8() - let size_buf__value1_buf: string | number | Resource | undefined|undefined - if (size_buf__value1_buf_selector == 0) { - size_buf__value1_buf = (valueDeserializer.readString() as string) - } - else if (size_buf__value1_buf_selector == 1) { - size_buf__value1_buf = (valueDeserializer.readNumber() as number) + const resourceValue_buf__selector: number = valueDeserializer.readInt8() + let resourceValue_buf_: string | Resource | undefined|undefined + if (resourceValue_buf__selector == 0) { + resourceValue_buf_ = (valueDeserializer.readString() as string) } - else if (size_buf__value1_buf_selector == 2) { - size_buf__value1_buf = valueDeserializer.readResource() + else if (resourceValue_buf__selector == 1) { + resourceValue_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for size_buf__value1_buf has to be chosen through deserialisation.") + throw new Error("One of the branches for resourceValue_buf_ has to be chosen through deserialisation.") } - const size_buf__value1: Dimension = (size_buf__value1_buf as string | number | Resource) - size_buf = ([size_buf__value0, size_buf__value1] as [ Dimension, Dimension ]) + resourceValue_buf = (resourceValue_buf_ as string | Resource) } - const size_result: [ Dimension, Dimension ] | undefined|undefined = size_buf + const resourceValue_result: ResourceStr | undefined|undefined = resourceValue_buf + const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let size_buf: SizeOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) + { + size_buf = valueDeserializer.readSizeOptions() + } + const size_result: SizeOptions | undefined|undefined = size_buf const verticalAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) let verticalAlign_buf: ImageSpanAlignment | undefined|undefined if ((RuntimeType.UNDEFINED) != (verticalAlign_buf_runtimeType)) @@ -28730,799 +29090,438 @@ export class Deserializer extends DeserializerBase { } const objectFit_result: ImageFit | undefined|undefined = objectFit_buf const layoutStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutStyle_buf: RichEditorLayoutStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (layoutStyle_buf_runtimeType)) - { - layoutStyle_buf = valueDeserializer.readRichEditorLayoutStyle() - } - const layoutStyle_result: RichEditorLayoutStyle | undefined|undefined = layoutStyle_buf - let value: RichEditorImageSpanStyle = ({size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result} as RichEditorImageSpanStyle) - return value - } - readRichEditorImageSpanStyleResult(): RichEditorImageSpanStyleResult { - let valueDeserializer: Deserializer = this - const size_buf_value0: number = (valueDeserializer.readNumber() as number) - const size_buf_value1: number = (valueDeserializer.readNumber() as number) - const size_result: [ number, number ] = ([size_buf_value0, size_buf_value1] as [ number, number ]) - const verticalAlign_result: ImageSpanAlignment = valueDeserializer.readInt32() - const objectFit_result: ImageFit = valueDeserializer.readInt32() - const layoutStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let layoutStyle_buf: RichEditorLayoutStyle | undefined|undefined + let layoutStyle_buf: ImageAttachmentLayoutStyle | undefined|undefined if ((RuntimeType.UNDEFINED) != (layoutStyle_buf_runtimeType)) { - layoutStyle_buf = valueDeserializer.readRichEditorLayoutStyle() - } - const layoutStyle_result: RichEditorLayoutStyle | undefined|undefined = layoutStyle_buf - let value: RichEditorImageSpanStyleResult = ({size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result} as RichEditorImageSpanStyleResult) - return value - } - readRichEditorParagraphStyle(): RichEditorParagraphStyle { - let valueDeserializer: Deserializer = this - const textAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let textAlign_buf: TextAlign | undefined|undefined - if ((RuntimeType.UNDEFINED) != (textAlign_buf_runtimeType)) - { - textAlign_buf = valueDeserializer.readInt32() - } - const textAlign_result: TextAlign | undefined|undefined = textAlign_buf - const leadingMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let leadingMargin_buf: Dimension | LeadingMarginPlaceholder | undefined|undefined - if ((RuntimeType.UNDEFINED) != (leadingMargin_buf_runtimeType)) - { - const leadingMargin_buf__selector: number = valueDeserializer.readInt8() - let leadingMargin_buf_: Dimension | LeadingMarginPlaceholder | undefined|undefined - if (leadingMargin_buf__selector == 0) { - const leadingMargin_buf__u_selector: number = valueDeserializer.readInt8() - let leadingMargin_buf__u: string | number | Resource | undefined|undefined - if (leadingMargin_buf__u_selector == 0) { - leadingMargin_buf__u = (valueDeserializer.readString() as string) - } - else if (leadingMargin_buf__u_selector == 1) { - leadingMargin_buf__u = (valueDeserializer.readNumber() as number) - } - else if (leadingMargin_buf__u_selector == 2) { - leadingMargin_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for leadingMargin_buf__u has to be chosen through deserialisation.") - } - leadingMargin_buf_ = (leadingMargin_buf__u as string | number | Resource) - } - else if (leadingMargin_buf__selector == 1) { - leadingMargin_buf_ = valueDeserializer.readLeadingMarginPlaceholder() - } - else { - throw new Error("One of the branches for leadingMargin_buf_ has to be chosen through deserialisation.") - } - leadingMargin_buf = (leadingMargin_buf_ as Dimension | LeadingMarginPlaceholder) - } - const leadingMargin_result: Dimension | LeadingMarginPlaceholder | undefined|undefined = leadingMargin_buf - const wordBreak_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let wordBreak_buf: WordBreak | undefined|undefined - if ((RuntimeType.UNDEFINED) != (wordBreak_buf_runtimeType)) - { - wordBreak_buf = valueDeserializer.readInt32() - } - const wordBreak_result: WordBreak | undefined|undefined = wordBreak_buf - const lineBreakStrategy_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let lineBreakStrategy_buf: LineBreakStrategy | undefined|undefined - if ((RuntimeType.UNDEFINED) != (lineBreakStrategy_buf_runtimeType)) - { - lineBreakStrategy_buf = valueDeserializer.readInt32() - } - const lineBreakStrategy_result: LineBreakStrategy | undefined|undefined = lineBreakStrategy_buf - let value: RichEditorParagraphStyle = ({textAlign: textAlign_result, leadingMargin: leadingMargin_result, wordBreak: wordBreak_result, lineBreakStrategy: lineBreakStrategy_result} as RichEditorParagraphStyle) - return value - } - readRichEditorParagraphStyleOptions(): RichEditorParagraphStyleOptions { - let valueDeserializer: Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) - { - start_buf = (valueDeserializer.readNumber() as number) - } - const start_result: number | undefined|undefined = start_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) - { - end_buf = (valueDeserializer.readNumber() as number) - } - const end_result: number | undefined|undefined = end_buf - const style_result: RichEditorParagraphStyle = valueDeserializer.readRichEditorParagraphStyle() - let value: RichEditorParagraphStyleOptions = ({start: start_result, end: end_result, style: style_result} as RichEditorParagraphStyleOptions) - return value - } - readRichEditorUpdateImageSpanStyleOptions(): RichEditorUpdateImageSpanStyleOptions { - let valueDeserializer: Deserializer = this - const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let start_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) - { - start_buf = (valueDeserializer.readNumber() as number) - } - const start_result: number | undefined|undefined = start_buf - const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let end_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) - { - end_buf = (valueDeserializer.readNumber() as number) - } - const end_result: number | undefined|undefined = end_buf - const imageStyle_result: RichEditorImageSpanStyle = valueDeserializer.readRichEditorImageSpanStyle() - let value: RichEditorUpdateImageSpanStyleOptions = ({start: start_result, end: end_result, imageStyle: imageStyle_result} as RichEditorUpdateImageSpanStyleOptions) - return value - } - readRunMetrics(): RunMetrics { - let valueDeserializer: Deserializer = this - const textStyle_result: text.TextStyle = valueDeserializer.readtext_TextStyle() - const fontMetrics_result: FontMetrics = valueDeserializer.readFontMetrics() - let value: RunMetrics = ({textStyle: textStyle_result, fontMetrics: fontMetrics_result} as RunMetrics) - return value - } - readSheetOptions(): SheetOptions { - let valueDeserializer: Deserializer = this - const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let backgroundColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) - { - const backgroundColor_buf__selector: number = valueDeserializer.readInt8() - let backgroundColor_buf_: Color | number | string | Resource | undefined|undefined - if (backgroundColor_buf__selector == 0) { - backgroundColor_buf_ = valueDeserializer.readInt32() - } - else if (backgroundColor_buf__selector == 1) { - backgroundColor_buf_ = (valueDeserializer.readNumber() as number) - } - else if (backgroundColor_buf__selector == 2) { - backgroundColor_buf_ = (valueDeserializer.readString() as string) - } - else if (backgroundColor_buf__selector == 3) { - backgroundColor_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for backgroundColor_buf_ has to be chosen through deserialisation.") - } - backgroundColor_buf = (backgroundColor_buf_ as Color | number | string | Resource) - } - const backgroundColor_result: ResourceColor | undefined|undefined = backgroundColor_buf - const onAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onAppear_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onAppear_buf_runtimeType)) - { - onAppear_buf = valueDeserializer.readCallback_Void() - } - const onAppear_result: (() => void) | undefined|undefined = onAppear_buf - const onDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onDisappear_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onDisappear_buf_runtimeType)) - { - onDisappear_buf = valueDeserializer.readCallback_Void() - } - const onDisappear_result: (() => void) | undefined|undefined = onDisappear_buf - const onWillAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillAppear_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onWillAppear_buf_runtimeType)) - { - onWillAppear_buf = valueDeserializer.readCallback_Void() - } - const onWillAppear_result: (() => void) | undefined|undefined = onWillAppear_buf - const onWillDisappear_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillDisappear_buf: (() => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onWillDisappear_buf_runtimeType)) - { - onWillDisappear_buf = valueDeserializer.readCallback_Void() + layoutStyle_buf = valueDeserializer.readImageAttachmentLayoutStyle() } - const onWillDisappear_result: (() => void) | undefined|undefined = onWillDisappear_buf - const height_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let height_buf: SheetSize | Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (height_buf_runtimeType)) - { - const height_buf__selector: number = valueDeserializer.readInt8() - let height_buf_: SheetSize | Length | undefined|undefined - if (height_buf__selector == 0) { - height_buf_ = valueDeserializer.readInt32() - } - else if (height_buf__selector == 1) { - const height_buf__u_selector: number = valueDeserializer.readInt8() - let height_buf__u: string | number | Resource | undefined|undefined - if (height_buf__u_selector == 0) { - height_buf__u = (valueDeserializer.readString() as string) - } - else if (height_buf__u_selector == 1) { - height_buf__u = (valueDeserializer.readNumber() as number) - } - else if (height_buf__u_selector == 2) { - height_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for height_buf__u has to be chosen through deserialisation.") - } - height_buf_ = (height_buf__u as string | number | Resource) + const layoutStyle_result: ImageAttachmentLayoutStyle | undefined|undefined = layoutStyle_buf + const colorFilter_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let colorFilter_buf: ColorFilterType | undefined|undefined + if ((RuntimeType.UNDEFINED) != (colorFilter_buf_runtimeType)) + { + const colorFilter_buf__selector: number = valueDeserializer.readInt8() + let colorFilter_buf_: ColorFilter | DrawingColorFilter | undefined|undefined + if (colorFilter_buf__selector == 0) { + colorFilter_buf_ = (valueDeserializer.readColorFilter() as ColorFilter) + } + else if (colorFilter_buf__selector == 1) { + colorFilter_buf_ = (valueDeserializer.readDrawingColorFilter() as DrawingColorFilter) } else { - throw new Error("One of the branches for height_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for colorFilter_buf_ has to be chosen through deserialisation.") } - height_buf = (height_buf_ as SheetSize | Length) + colorFilter_buf = (colorFilter_buf_ as ColorFilter | DrawingColorFilter) } - const height_result: SheetSize | Length | undefined|undefined = height_buf - const dragBar_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let dragBar_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (dragBar_buf_runtimeType)) + const colorFilter_result: ColorFilterType | undefined|undefined = colorFilter_buf + const syncLoad_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let syncLoad_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (syncLoad_buf_runtimeType)) { - dragBar_buf = valueDeserializer.readBoolean() + syncLoad_buf = valueDeserializer.readBoolean() } - const dragBar_result: boolean | undefined|undefined = dragBar_buf - const maskColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maskColor_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (maskColor_buf_runtimeType)) + const syncLoad_result: boolean | undefined|undefined = syncLoad_buf + let value: ResourceImageAttachmentOptions = ({resourceValue: resourceValue_result, size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result, colorFilter: colorFilter_result, syncLoad: syncLoad_result} as ResourceImageAttachmentOptions) + return value + } + public readRichEditorImageSpanStyle(): RichEditorImageSpanStyle { + let valueDeserializer: Deserializer = this + const size_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let size_buf: [ Dimension, Dimension ] | undefined|undefined + if ((RuntimeType.UNDEFINED) != (size_buf_runtimeType)) { - const maskColor_buf__selector: number = valueDeserializer.readInt8() - let maskColor_buf_: Color | number | string | Resource | undefined|undefined - if (maskColor_buf__selector == 0) { - maskColor_buf_ = valueDeserializer.readInt32() - } - else if (maskColor_buf__selector == 1) { - maskColor_buf_ = (valueDeserializer.readNumber() as number) + const size_buf__value0_buf_selector: number = valueDeserializer.readInt8() + let size_buf__value0_buf: string | number | Resource | undefined|undefined + if (size_buf__value0_buf_selector == 0) { + size_buf__value0_buf = (valueDeserializer.readString() as string) } - else if (maskColor_buf__selector == 2) { - maskColor_buf_ = (valueDeserializer.readString() as string) + else if (size_buf__value0_buf_selector == 1) { + size_buf__value0_buf = (valueDeserializer.readNumber() as number) } - else if (maskColor_buf__selector == 3) { - maskColor_buf_ = valueDeserializer.readResource() + else if (size_buf__value0_buf_selector == 2) { + size_buf__value0_buf = valueDeserializer.readResource() } else { - throw new Error("One of the branches for maskColor_buf_ has to be chosen through deserialisation.") - } - maskColor_buf = (maskColor_buf_ as Color | number | string | Resource) - } - const maskColor_result: ResourceColor | undefined|undefined = maskColor_buf - const detents_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let detents_buf: [ SheetSize | Length, (SheetSize | Length)?, (SheetSize | Length)? ] | undefined|undefined - if ((RuntimeType.UNDEFINED) != (detents_buf_runtimeType)) - { - const detents_buf__value0_buf_selector: number = valueDeserializer.readInt8() - let detents_buf__value0_buf: SheetSize | Length | undefined|undefined - if (detents_buf__value0_buf_selector == 0) { - detents_buf__value0_buf = valueDeserializer.readInt32() + throw new Error("One of the branches for size_buf__value0_buf has to be chosen through deserialisation.") } - else if (detents_buf__value0_buf_selector == 1) { - const detents_buf__value0_buf_u_selector: number = valueDeserializer.readInt8() - let detents_buf__value0_buf_u: string | number | Resource | undefined|undefined - if (detents_buf__value0_buf_u_selector == 0) { - detents_buf__value0_buf_u = (valueDeserializer.readString() as string) - } - else if (detents_buf__value0_buf_u_selector == 1) { - detents_buf__value0_buf_u = (valueDeserializer.readNumber() as number) - } - else if (detents_buf__value0_buf_u_selector == 2) { - detents_buf__value0_buf_u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for detents_buf__value0_buf_u has to be chosen through deserialisation.") - } - detents_buf__value0_buf = (detents_buf__value0_buf_u as string | number | Resource) + const size_buf__value0: Dimension = (size_buf__value0_buf as string | number | Resource) + const size_buf__value1_buf_selector: number = valueDeserializer.readInt8() + let size_buf__value1_buf: string | number | Resource | undefined|undefined + if (size_buf__value1_buf_selector == 0) { + size_buf__value1_buf = (valueDeserializer.readString() as string) } - else { - throw new Error("One of the branches for detents_buf__value0_buf has to be chosen through deserialisation.") + else if (size_buf__value1_buf_selector == 1) { + size_buf__value1_buf = (valueDeserializer.readNumber() as number) } - const detents_buf__value0: SheetSize | Length = (detents_buf__value0_buf as SheetSize | Length) - const detents_buf__value1_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let detents_buf__value1_buf: SheetSize | Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (detents_buf__value1_buf_runtimeType)) - { - const detents_buf__value1_buf__selector: number = valueDeserializer.readInt8() - let detents_buf__value1_buf_: SheetSize | Length | undefined|undefined - if (detents_buf__value1_buf__selector == 0) { - detents_buf__value1_buf_ = valueDeserializer.readInt32() - } - else if (detents_buf__value1_buf__selector == 1) { - const detents_buf__value1_buf__u_selector: number = valueDeserializer.readInt8() - let detents_buf__value1_buf__u: string | number | Resource | undefined|undefined - if (detents_buf__value1_buf__u_selector == 0) { - detents_buf__value1_buf__u = (valueDeserializer.readString() as string) - } - else if (detents_buf__value1_buf__u_selector == 1) { - detents_buf__value1_buf__u = (valueDeserializer.readNumber() as number) - } - else if (detents_buf__value1_buf__u_selector == 2) { - detents_buf__value1_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for detents_buf__value1_buf__u has to be chosen through deserialisation.") - } - detents_buf__value1_buf_ = (detents_buf__value1_buf__u as string | number | Resource) - } - else { - throw new Error("One of the branches for detents_buf__value1_buf_ has to be chosen through deserialisation.") - } - detents_buf__value1_buf = (detents_buf__value1_buf_ as SheetSize | Length) + else if (size_buf__value1_buf_selector == 2) { + size_buf__value1_buf = valueDeserializer.readResource() } - const detents_buf__value1: undefined | SheetSize | Length = detents_buf__value1_buf - const detents_buf__value2_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let detents_buf__value2_buf: SheetSize | Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (detents_buf__value2_buf_runtimeType)) - { - const detents_buf__value2_buf__selector: number = valueDeserializer.readInt8() - let detents_buf__value2_buf_: SheetSize | Length | undefined|undefined - if (detents_buf__value2_buf__selector == 0) { - detents_buf__value2_buf_ = valueDeserializer.readInt32() - } - else if (detents_buf__value2_buf__selector == 1) { - const detents_buf__value2_buf__u_selector: number = valueDeserializer.readInt8() - let detents_buf__value2_buf__u: string | number | Resource | undefined|undefined - if (detents_buf__value2_buf__u_selector == 0) { - detents_buf__value2_buf__u = (valueDeserializer.readString() as string) - } - else if (detents_buf__value2_buf__u_selector == 1) { - detents_buf__value2_buf__u = (valueDeserializer.readNumber() as number) - } - else if (detents_buf__value2_buf__u_selector == 2) { - detents_buf__value2_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for detents_buf__value2_buf__u has to be chosen through deserialisation.") - } - detents_buf__value2_buf_ = (detents_buf__value2_buf__u as string | number | Resource) - } - else { - throw new Error("One of the branches for detents_buf__value2_buf_ has to be chosen through deserialisation.") - } - detents_buf__value2_buf = (detents_buf__value2_buf_ as SheetSize | Length) + else { + throw new Error("One of the branches for size_buf__value1_buf has to be chosen through deserialisation.") } - const detents_buf__value2: undefined | SheetSize | Length = detents_buf__value2_buf - detents_buf = ([detents_buf__value0, detents_buf__value1, detents_buf__value2] as [ SheetSize | Length, (SheetSize | Length)?, (SheetSize | Length)? ]) + const size_buf__value1: Dimension = (size_buf__value1_buf as string | number | Resource) + size_buf = ([size_buf__value0, size_buf__value1] as [ Dimension, Dimension ]) } - const detents_result: [ SheetSize | Length, (SheetSize | Length)?, (SheetSize | Length)? ] | undefined|undefined = detents_buf - const blurStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let blurStyle_buf: BlurStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (blurStyle_buf_runtimeType)) + const size_result: [ Dimension, Dimension ] | undefined|undefined = size_buf + const verticalAlign_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let verticalAlign_buf: ImageSpanAlignment | undefined|undefined + if ((RuntimeType.UNDEFINED) != (verticalAlign_buf_runtimeType)) { - blurStyle_buf = valueDeserializer.readInt32() + verticalAlign_buf = valueDeserializer.readInt32() } - const blurStyle_result: BlurStyle | undefined|undefined = blurStyle_buf - const showClose_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let showClose_buf: boolean | Resource | undefined|undefined - if ((RuntimeType.UNDEFINED) != (showClose_buf_runtimeType)) + const verticalAlign_result: ImageSpanAlignment | undefined|undefined = verticalAlign_buf + const objectFit_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let objectFit_buf: ImageFit | undefined|undefined + if ((RuntimeType.UNDEFINED) != (objectFit_buf_runtimeType)) { - const showClose_buf__selector: number = valueDeserializer.readInt8() - let showClose_buf_: boolean | Resource | undefined|undefined - if (showClose_buf__selector == 0) { - showClose_buf_ = valueDeserializer.readBoolean() + objectFit_buf = valueDeserializer.readInt32() + } + const objectFit_result: ImageFit | undefined|undefined = objectFit_buf + const layoutStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let layoutStyle_buf: RichEditorLayoutStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (layoutStyle_buf_runtimeType)) + { + layoutStyle_buf = valueDeserializer.readRichEditorLayoutStyle() + } + const layoutStyle_result: RichEditorLayoutStyle | undefined|undefined = layoutStyle_buf + let value: RichEditorImageSpanStyle = ({size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result} as RichEditorImageSpanStyle) + return value + } + public readRichEditorImageSpanStyleResult(): RichEditorImageSpanStyleResult { + let valueDeserializer: Deserializer = this + const size_buf_value0: number = (valueDeserializer.readNumber() as number) + const size_buf_value1: number = (valueDeserializer.readNumber() as number) + const size_result: [ number, number ] = ([size_buf_value0, size_buf_value1] as [ number, number ]) + const verticalAlign_result: ImageSpanAlignment = valueDeserializer.readInt32() + const objectFit_result: ImageFit = valueDeserializer.readInt32() + const layoutStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let layoutStyle_buf: RichEditorLayoutStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (layoutStyle_buf_runtimeType)) + { + layoutStyle_buf = valueDeserializer.readRichEditorLayoutStyle() + } + const layoutStyle_result: RichEditorLayoutStyle | undefined|undefined = layoutStyle_buf + let value: RichEditorImageSpanStyleResult = ({size: size_result, verticalAlign: verticalAlign_result, objectFit: objectFit_result, layoutStyle: layoutStyle_result} as RichEditorImageSpanStyleResult) + return value + } + public readRichEditorParagraphResult(): RichEditorParagraphResult { + let valueDeserializer: Deserializer = this + const style_result: RichEditorParagraphStyle = valueDeserializer.readRichEditorParagraphStyle() + const range_buf_value0: number = (valueDeserializer.readNumber() as number) + const range_buf_value1: number = (valueDeserializer.readNumber() as number) + const range_result: [ number, number ] = ([range_buf_value0, range_buf_value1] as [ number, number ]) + let value: RichEditorParagraphResult = ({style: style_result, range: range_result} as RichEditorParagraphResult) + return value + } + public readRichEditorTextStyle(): RichEditorTextStyle { + let valueDeserializer: Deserializer = this + const fontColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontColor_buf: ResourceColor | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontColor_buf_runtimeType)) + { + const fontColor_buf__selector: number = valueDeserializer.readInt8() + let fontColor_buf_: Color | number | string | Resource | undefined|undefined + if (fontColor_buf__selector == 0) { + fontColor_buf_ = valueDeserializer.readInt32() } - else if (showClose_buf__selector == 1) { - showClose_buf_ = valueDeserializer.readResource() + else if (fontColor_buf__selector == 1) { + fontColor_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontColor_buf__selector == 2) { + fontColor_buf_ = (valueDeserializer.readString() as string) + } + else if (fontColor_buf__selector == 3) { + fontColor_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for showClose_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontColor_buf_ has to be chosen through deserialisation.") } - showClose_buf = (showClose_buf_ as boolean | Resource) - } - const showClose_result: boolean | Resource | undefined|undefined = showClose_buf - const preferType_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let preferType_buf: SheetType | undefined|undefined - if ((RuntimeType.UNDEFINED) != (preferType_buf_runtimeType)) - { - preferType_buf = valueDeserializer.readInt32() + fontColor_buf = (fontColor_buf_ as Color | number | string | Resource) } - const preferType_result: SheetType | undefined|undefined = preferType_buf - const title_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let title_buf: SheetTitleOptions | CustomBuilder | undefined|undefined - if ((RuntimeType.UNDEFINED) != (title_buf_runtimeType)) + const fontColor_result: ResourceColor | undefined|undefined = fontColor_buf + const fontSize_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontSize_buf: string | number | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontSize_buf_runtimeType)) { - const title_buf__selector: number = valueDeserializer.readInt8() - let title_buf_: SheetTitleOptions | CustomBuilder | undefined|undefined - if (title_buf__selector == 0) { - title_buf_ = valueDeserializer.readSheetTitleOptions() + const fontSize_buf__selector: number = valueDeserializer.readInt8() + let fontSize_buf_: string | number | Resource | undefined|undefined + if (fontSize_buf__selector == 0) { + fontSize_buf_ = (valueDeserializer.readString() as string) } - else if (title_buf__selector == 1) { - title_buf_ = CallbackTransformer.transformToCustomBuilder(valueDeserializer.readCustomNodeBuilder()) + else if (fontSize_buf__selector == 1) { + fontSize_buf_ = (valueDeserializer.readNumber() as number) + } + else if (fontSize_buf__selector == 2) { + fontSize_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for title_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontSize_buf_ has to be chosen through deserialisation.") } - title_buf = (title_buf_ as SheetTitleOptions | CustomBuilder) - } - const title_result: SheetTitleOptions | CustomBuilder | undefined|undefined = title_buf - const shouldDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let shouldDismiss_buf: ((sheetDismiss: SheetDismiss) => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (shouldDismiss_buf_runtimeType)) - { - shouldDismiss_buf = valueDeserializer.readCallback_SheetDismiss_Void() - } - const shouldDismiss_result: ((sheetDismiss: SheetDismiss) => void) | undefined|undefined = shouldDismiss_buf - const onWillDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillDismiss_buf: ((parameter: DismissSheetAction) => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onWillDismiss_buf_runtimeType)) - { - onWillDismiss_buf = valueDeserializer.readCallback_DismissSheetAction_Void() - } - const onWillDismiss_result: ((parameter: DismissSheetAction) => void) | undefined|undefined = onWillDismiss_buf - const onWillSpringBackWhenDismiss_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWillSpringBackWhenDismiss_buf: ((parameter: SpringBackAction) => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onWillSpringBackWhenDismiss_buf_runtimeType)) - { - onWillSpringBackWhenDismiss_buf = valueDeserializer.readCallback_SpringBackAction_Void() + fontSize_buf = (fontSize_buf_ as string | number | Resource) } - const onWillSpringBackWhenDismiss_result: ((parameter: SpringBackAction) => void) | undefined|undefined = onWillSpringBackWhenDismiss_buf - const enableOutsideInteractive_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let enableOutsideInteractive_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (enableOutsideInteractive_buf_runtimeType)) + const fontSize_result: Length | number | undefined|undefined = fontSize_buf + const fontStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontStyle_buf: FontStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontStyle_buf_runtimeType)) { - enableOutsideInteractive_buf = valueDeserializer.readBoolean() + fontStyle_buf = valueDeserializer.readInt32() } - const enableOutsideInteractive_result: boolean | undefined|undefined = enableOutsideInteractive_buf - const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let width_buf: Dimension | undefined|undefined - if ((RuntimeType.UNDEFINED) != (width_buf_runtimeType)) + const fontStyle_result: FontStyle | undefined|undefined = fontStyle_buf + const fontWeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontWeight_buf: number | FontWeight | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontWeight_buf_runtimeType)) { - const width_buf__selector: number = valueDeserializer.readInt8() - let width_buf_: string | number | Resource | undefined|undefined - if (width_buf__selector == 0) { - width_buf_ = (valueDeserializer.readString() as string) + const fontWeight_buf__selector: number = valueDeserializer.readInt8() + let fontWeight_buf_: number | FontWeight | string | undefined|undefined + if (fontWeight_buf__selector == 0) { + fontWeight_buf_ = (valueDeserializer.readNumber() as number) } - else if (width_buf__selector == 1) { - width_buf_ = (valueDeserializer.readNumber() as number) + else if (fontWeight_buf__selector == 1) { + fontWeight_buf_ = valueDeserializer.readInt32() } - else if (width_buf__selector == 2) { - width_buf_ = valueDeserializer.readResource() + else if (fontWeight_buf__selector == 2) { + fontWeight_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for width_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontWeight_buf_ has to be chosen through deserialisation.") } - width_buf = (width_buf_ as string | number | Resource) + fontWeight_buf = (fontWeight_buf_ as number | FontWeight | string) } - const width_result: Dimension | undefined|undefined = width_buf - const borderWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf: Dimension | EdgeWidths | LocalizedEdgeWidths | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf_runtimeType)) + const fontWeight_result: number | FontWeight | string | undefined|undefined = fontWeight_buf + const fontFamily_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFamily_buf: ResourceStr | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontFamily_buf_runtimeType)) { - const borderWidth_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf_: Dimension | EdgeWidths | LocalizedEdgeWidths | undefined|undefined - if (borderWidth_buf__selector == 0) { - const borderWidth_buf__u_selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_selector == 0) { - borderWidth_buf__u = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_selector == 1) { - borderWidth_buf__u = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_selector == 2) { - borderWidth_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u has to be chosen through deserialisation.") - } - borderWidth_buf_ = (borderWidth_buf__u as string | number | Resource) - } - else if (borderWidth_buf__selector == 1) { - const borderWidth_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_top_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) - { - const borderWidth_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_top_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_top_buf__selector == 0) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_top_buf__selector == 1) { - borderWidth_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_top_buf__selector == 2) { - borderWidth_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_top_buf = (borderWidth_buf__u_top_buf_ as string | number | Resource) - } - const borderWidth_buf__u_top: undefined | Length = borderWidth_buf__u_top_buf - const borderWidth_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_right_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) - { - const borderWidth_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_right_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_right_buf__selector == 0) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_right_buf__selector == 1) { - borderWidth_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_right_buf__selector == 2) { - borderWidth_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_right_buf = (borderWidth_buf__u_right_buf_ as string | number | Resource) - } - const borderWidth_buf__u_right: undefined | Length = borderWidth_buf__u_right_buf - const borderWidth_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_bottom_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) - { - const borderWidth_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_bottom_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_bottom_buf__selector == 0) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_bottom_buf__selector == 1) { - borderWidth_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_bottom_buf__selector == 2) { - borderWidth_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_bottom_buf = (borderWidth_buf__u_bottom_buf_ as string | number | Resource) - } - const borderWidth_buf__u_bottom: undefined | Length = borderWidth_buf__u_bottom_buf - const borderWidth_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderWidth_buf__u_left_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) - { - const borderWidth_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let borderWidth_buf__u_left_buf_: string | number | Resource | undefined|undefined - if (borderWidth_buf__u_left_buf__selector == 0) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderWidth_buf__u_left_buf__selector == 1) { - borderWidth_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderWidth_buf__u_left_buf__selector == 2) { - borderWidth_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderWidth_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderWidth_buf__u_left_buf = (borderWidth_buf__u_left_buf_ as string | number | Resource) - } - const borderWidth_buf__u_left: undefined | Length = borderWidth_buf__u_left_buf - borderWidth_buf_ = ({top: borderWidth_buf__u_top, right: borderWidth_buf__u_right, bottom: borderWidth_buf__u_bottom, left: borderWidth_buf__u_left} as EdgeWidths) + const fontFamily_buf__selector: number = valueDeserializer.readInt8() + let fontFamily_buf_: string | Resource | undefined|undefined + if (fontFamily_buf__selector == 0) { + fontFamily_buf_ = (valueDeserializer.readString() as string) } - else if (borderWidth_buf__selector == 2) { - borderWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() + else if (fontFamily_buf__selector == 1) { + fontFamily_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderWidth_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for fontFamily_buf_ has to be chosen through deserialisation.") } - borderWidth_buf = (borderWidth_buf_ as Dimension | EdgeWidths | LocalizedEdgeWidths) + fontFamily_buf = (fontFamily_buf_ as string | Resource) } - const borderWidth_result: Dimension | EdgeWidths | LocalizedEdgeWidths | undefined|undefined = borderWidth_buf - const borderColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf_runtimeType)) + const fontFamily_result: ResourceStr | undefined|undefined = fontFamily_buf + const decoration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let decoration_buf: DecorationStyleInterface | undefined|undefined + if ((RuntimeType.UNDEFINED) != (decoration_buf_runtimeType)) { - const borderColor_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf_: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined|undefined - if (borderColor_buf__selector == 0) { - const borderColor_buf__u_selector: number = valueDeserializer.readInt8() - let borderColor_buf__u: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_selector == 0) { - borderColor_buf__u = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_selector == 1) { - borderColor_buf__u = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_selector == 2) { - borderColor_buf__u = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_selector == 3) { - borderColor_buf__u = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u has to be chosen through deserialisation.") - } - borderColor_buf_ = (borderColor_buf__u as Color | number | string | Resource) + decoration_buf = valueDeserializer.readDecorationStyleInterface() + } + const decoration_result: DecorationStyleInterface | undefined|undefined = decoration_buf + const textShadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textShadow_buf: ShadowOptions | Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (textShadow_buf_runtimeType)) + { + const textShadow_buf__selector: number = valueDeserializer.readInt8() + let textShadow_buf_: ShadowOptions | Array | undefined|undefined + if (textShadow_buf__selector == 0) { + textShadow_buf_ = valueDeserializer.readShadowOptions() } - else if (borderColor_buf__selector == 1) { - const borderColor_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_top_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) - { - const borderColor_buf__u_top_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_top_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_top_buf__selector == 0) { - borderColor_buf__u_top_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_top_buf__selector == 1) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_top_buf__selector == 2) { - borderColor_buf__u_top_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_top_buf__selector == 3) { - borderColor_buf__u_top_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_top_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_top_buf = (borderColor_buf__u_top_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_top: undefined | ResourceColor = borderColor_buf__u_top_buf - const borderColor_buf__u_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_right_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) - { - const borderColor_buf__u_right_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_right_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_right_buf__selector == 0) { - borderColor_buf__u_right_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_right_buf__selector == 1) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_right_buf__selector == 2) { - borderColor_buf__u_right_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_right_buf__selector == 3) { - borderColor_buf__u_right_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_right_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_right_buf = (borderColor_buf__u_right_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_right: undefined | ResourceColor = borderColor_buf__u_right_buf - const borderColor_buf__u_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_bottom_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) - { - const borderColor_buf__u_bottom_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_bottom_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_bottom_buf__selector == 0) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_bottom_buf__selector == 1) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_bottom_buf__selector == 2) { - borderColor_buf__u_bottom_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_bottom_buf__selector == 3) { - borderColor_buf__u_bottom_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_bottom_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_bottom_buf = (borderColor_buf__u_bottom_buf_ as Color | number | string | Resource) - } - const borderColor_buf__u_bottom: undefined | ResourceColor = borderColor_buf__u_bottom_buf - const borderColor_buf__u_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderColor_buf__u_left_buf: ResourceColor | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) - { - const borderColor_buf__u_left_buf__selector: number = valueDeserializer.readInt8() - let borderColor_buf__u_left_buf_: Color | number | string | Resource | undefined|undefined - if (borderColor_buf__u_left_buf__selector == 0) { - borderColor_buf__u_left_buf_ = valueDeserializer.readInt32() - } - else if (borderColor_buf__u_left_buf__selector == 1) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readNumber() as number) - } - else if (borderColor_buf__u_left_buf__selector == 2) { - borderColor_buf__u_left_buf_ = (valueDeserializer.readString() as string) - } - else if (borderColor_buf__u_left_buf__selector == 3) { - borderColor_buf__u_left_buf_ = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for borderColor_buf__u_left_buf_ has to be chosen through deserialisation.") - } - borderColor_buf__u_left_buf = (borderColor_buf__u_left_buf_ as Color | number | string | Resource) + else if (textShadow_buf__selector == 1) { + const textShadow_buf__u_length: int32 = valueDeserializer.readInt32() + let textShadow_buf__u: Array = new Array(textShadow_buf__u_length) + for (let textShadow_buf__u_i = 0; textShadow_buf__u_i < textShadow_buf__u_length; textShadow_buf__u_i++) { + textShadow_buf__u[textShadow_buf__u_i] = valueDeserializer.readShadowOptions() } - const borderColor_buf__u_left: undefined | ResourceColor = borderColor_buf__u_left_buf - borderColor_buf_ = ({top: borderColor_buf__u_top, right: borderColor_buf__u_right, bottom: borderColor_buf__u_bottom, left: borderColor_buf__u_left} as EdgeColors) + textShadow_buf_ = textShadow_buf__u } - else if (borderColor_buf__selector == 2) { - borderColor_buf_ = valueDeserializer.readLocalizedEdgeColors() + else { + throw new Error("One of the branches for textShadow_buf_ has to be chosen through deserialisation.") + } + textShadow_buf = (textShadow_buf_ as ShadowOptions | Array) + } + const textShadow_result: ShadowOptions | Array | undefined|undefined = textShadow_buf + const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let letterSpacing_buf: number | string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) + { + const letterSpacing_buf__selector: number = valueDeserializer.readInt8() + let letterSpacing_buf_: number | string | undefined|undefined + if (letterSpacing_buf__selector == 0) { + letterSpacing_buf_ = (valueDeserializer.readNumber() as number) + } + else if (letterSpacing_buf__selector == 1) { + letterSpacing_buf_ = (valueDeserializer.readString() as string) } else { - throw new Error("One of the branches for borderColor_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for letterSpacing_buf_ has to be chosen through deserialisation.") } - borderColor_buf = (borderColor_buf_ as ResourceColor | EdgeColors | LocalizedEdgeColors) + letterSpacing_buf = (letterSpacing_buf_ as number | string) } - const borderColor_result: ResourceColor | EdgeColors | LocalizedEdgeColors | undefined|undefined = borderColor_buf - const borderStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let borderStyle_buf: BorderStyle | EdgeStyles | undefined|undefined - if ((RuntimeType.UNDEFINED) != (borderStyle_buf_runtimeType)) + const letterSpacing_result: number | string | undefined|undefined = letterSpacing_buf + const lineHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lineHeight_buf: number | string | Resource | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lineHeight_buf_runtimeType)) { - const borderStyle_buf__selector: number = valueDeserializer.readInt8() - let borderStyle_buf_: BorderStyle | EdgeStyles | undefined|undefined - if (borderStyle_buf__selector == 0) { - borderStyle_buf_ = valueDeserializer.readInt32() + const lineHeight_buf__selector: number = valueDeserializer.readInt8() + let lineHeight_buf_: number | string | Resource | undefined|undefined + if (lineHeight_buf__selector == 0) { + lineHeight_buf_ = (valueDeserializer.readNumber() as number) } - else if (borderStyle_buf__selector == 1) { - borderStyle_buf_ = valueDeserializer.readEdgeStyles() + else if (lineHeight_buf__selector == 1) { + lineHeight_buf_ = (valueDeserializer.readString() as string) + } + else if (lineHeight_buf__selector == 2) { + lineHeight_buf_ = valueDeserializer.readResource() } else { - throw new Error("One of the branches for borderStyle_buf_ has to be chosen through deserialisation.") + throw new Error("One of the branches for lineHeight_buf_ has to be chosen through deserialisation.") } - borderStyle_buf = (borderStyle_buf_ as BorderStyle | EdgeStyles) + lineHeight_buf = (lineHeight_buf_ as number | string | Resource) } - const borderStyle_result: BorderStyle | EdgeStyles | undefined|undefined = borderStyle_buf - const shadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let shadow_buf: ShadowOptions | ShadowStyle | undefined|undefined - if ((RuntimeType.UNDEFINED) != (shadow_buf_runtimeType)) + const lineHeight_result: number | string | Resource | undefined|undefined = lineHeight_buf + const halfLeading_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let halfLeading_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (halfLeading_buf_runtimeType)) { - const shadow_buf__selector: number = valueDeserializer.readInt8() - let shadow_buf_: ShadowOptions | ShadowStyle | undefined|undefined - if (shadow_buf__selector == 0) { - shadow_buf_ = valueDeserializer.readShadowOptions() - } - else if (shadow_buf__selector == 1) { - shadow_buf_ = valueDeserializer.readInt32() - } - else { - throw new Error("One of the branches for shadow_buf_ has to be chosen through deserialisation.") + halfLeading_buf = valueDeserializer.readBoolean() + } + const halfLeading_result: boolean | undefined|undefined = halfLeading_buf + const fontFeature_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFeature_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontFeature_buf_runtimeType)) + { + fontFeature_buf = (valueDeserializer.readString() as string) + } + const fontFeature_result: string | undefined|undefined = fontFeature_buf + const textBackgroundStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textBackgroundStyle_buf: TextBackgroundStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (textBackgroundStyle_buf_runtimeType)) + { + textBackgroundStyle_buf = valueDeserializer.readTextBackgroundStyle() + } + const textBackgroundStyle_result: TextBackgroundStyle | undefined|undefined = textBackgroundStyle_buf + let value: RichEditorTextStyle = ({fontColor: fontColor_result, fontSize: fontSize_result, fontStyle: fontStyle_result, fontWeight: fontWeight_result, fontFamily: fontFamily_result, decoration: decoration_result, textShadow: textShadow_result, letterSpacing: letterSpacing_result, lineHeight: lineHeight_result, halfLeading: halfLeading_result, fontFeature: fontFeature_result, textBackgroundStyle: textBackgroundStyle_result} as RichEditorTextStyle) + return value + } + public readRichEditorTextStyleResult(): RichEditorTextStyleResult { + let valueDeserializer: Deserializer = this + const fontColor_buf_selector: number = valueDeserializer.readInt8() + let fontColor_buf: Color | number | string | Resource | undefined|undefined + if (fontColor_buf_selector == 0) { + fontColor_buf = valueDeserializer.readInt32() + } + else if (fontColor_buf_selector == 1) { + fontColor_buf = (valueDeserializer.readNumber() as number) + } + else if (fontColor_buf_selector == 2) { + fontColor_buf = (valueDeserializer.readString() as string) + } + else if (fontColor_buf_selector == 3) { + fontColor_buf = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for fontColor_buf has to be chosen through deserialisation.") + } + const fontColor_result: ResourceColor = (fontColor_buf as Color | number | string | Resource) + const fontSize_result: number = (valueDeserializer.readNumber() as number) + const fontStyle_result: FontStyle = valueDeserializer.readInt32() + const fontWeight_result: number = (valueDeserializer.readNumber() as number) + const fontFamily_result: string = (valueDeserializer.readString() as string) + const decoration_result: DecorationStyleResult = valueDeserializer.readDecorationStyleResult() + const textShadow_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textShadow_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (textShadow_buf_runtimeType)) + { + const textShadow_buf__length: int32 = valueDeserializer.readInt32() + let textShadow_buf_: Array = new Array(textShadow_buf__length) + for (let textShadow_buf__i = 0; textShadow_buf__i < textShadow_buf__length; textShadow_buf__i++) { + textShadow_buf_[textShadow_buf__i] = valueDeserializer.readShadowOptions() } - shadow_buf = (shadow_buf_ as ShadowOptions | ShadowStyle) + textShadow_buf = textShadow_buf_ } - const shadow_result: ShadowOptions | ShadowStyle | undefined|undefined = shadow_buf - const onHeightDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onHeightDidChange_buf: ((index: number) => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onHeightDidChange_buf_runtimeType)) + const textShadow_result: Array | undefined|undefined = textShadow_buf + const letterSpacing_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let letterSpacing_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (letterSpacing_buf_runtimeType)) { - onHeightDidChange_buf = valueDeserializer.readCallback_Number_Void() + letterSpacing_buf = (valueDeserializer.readNumber() as number) } - const onHeightDidChange_result: ((index: number) => void) | undefined|undefined = onHeightDidChange_buf - const mode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let mode_buf: SheetMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (mode_buf_runtimeType)) + const letterSpacing_result: number | undefined|undefined = letterSpacing_buf + const lineHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let lineHeight_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (lineHeight_buf_runtimeType)) { - mode_buf = valueDeserializer.readInt32() + lineHeight_buf = (valueDeserializer.readNumber() as number) } - const mode_result: SheetMode | undefined|undefined = mode_buf - const scrollSizeMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let scrollSizeMode_buf: ScrollSizeMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (scrollSizeMode_buf_runtimeType)) + const lineHeight_result: number | undefined|undefined = lineHeight_buf + const halfLeading_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let halfLeading_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (halfLeading_buf_runtimeType)) { - scrollSizeMode_buf = valueDeserializer.readInt32() + halfLeading_buf = valueDeserializer.readBoolean() } - const scrollSizeMode_result: ScrollSizeMode | undefined|undefined = scrollSizeMode_buf - const onDetentsDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onDetentsDidChange_buf: ((index: number) => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onDetentsDidChange_buf_runtimeType)) + const halfLeading_result: boolean | undefined|undefined = halfLeading_buf + const fontFeature_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fontFeature_buf: string | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fontFeature_buf_runtimeType)) { - onDetentsDidChange_buf = valueDeserializer.readCallback_Number_Void() + fontFeature_buf = (valueDeserializer.readString() as string) } - const onDetentsDidChange_result: ((index: number) => void) | undefined|undefined = onDetentsDidChange_buf - const onWidthDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onWidthDidChange_buf: ((index: number) => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onWidthDidChange_buf_runtimeType)) + const fontFeature_result: string | undefined|undefined = fontFeature_buf + const textBackgroundStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let textBackgroundStyle_buf: TextBackgroundStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (textBackgroundStyle_buf_runtimeType)) { - onWidthDidChange_buf = valueDeserializer.readCallback_Number_Void() + textBackgroundStyle_buf = valueDeserializer.readTextBackgroundStyle() } - const onWidthDidChange_result: ((index: number) => void) | undefined|undefined = onWidthDidChange_buf - const onTypeDidChange_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let onTypeDidChange_buf: ((parameter: SheetType) => void) | undefined|undefined - if ((RuntimeType.UNDEFINED) != (onTypeDidChange_buf_runtimeType)) + const textBackgroundStyle_result: TextBackgroundStyle | undefined|undefined = textBackgroundStyle_buf + let value: RichEditorTextStyleResult = ({fontColor: fontColor_result, fontSize: fontSize_result, fontStyle: fontStyle_result, fontWeight: fontWeight_result, fontFamily: fontFamily_result, decoration: decoration_result, textShadow: textShadow_result, letterSpacing: letterSpacing_result, lineHeight: lineHeight_result, halfLeading: halfLeading_result, fontFeature: fontFeature_result, textBackgroundStyle: textBackgroundStyle_result} as RichEditorTextStyleResult) + return value + } + public readRichEditorUpdateImageSpanStyleOptions(): RichEditorUpdateImageSpanStyleOptions { + let valueDeserializer: Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - onTypeDidChange_buf = valueDeserializer.readCallback_SheetType_Void() + start_buf = (valueDeserializer.readNumber() as number) } - const onTypeDidChange_result: ((parameter: SheetType) => void) | undefined|undefined = onTypeDidChange_buf - const uiContext_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let uiContext_buf: UIContext | undefined|undefined - if ((RuntimeType.UNDEFINED) != (uiContext_buf_runtimeType)) + const start_result: number | undefined|undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - uiContext_buf = (valueDeserializer.readUIContext() as UIContext) + end_buf = (valueDeserializer.readNumber() as number) } - const uiContext_result: UIContext | undefined|undefined = uiContext_buf - const keyboardAvoidMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let keyboardAvoidMode_buf: SheetKeyboardAvoidMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) + const end_result: number | undefined|undefined = end_buf + const imageStyle_result: RichEditorImageSpanStyle = valueDeserializer.readRichEditorImageSpanStyle() + let value: RichEditorUpdateImageSpanStyleOptions = ({start: start_result, end: end_result, imageStyle: imageStyle_result} as RichEditorUpdateImageSpanStyleOptions) + return value + } + public readRichEditorUpdateTextSpanStyleOptions(): RichEditorUpdateTextSpanStyleOptions { + let valueDeserializer: Deserializer = this + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - keyboardAvoidMode_buf = valueDeserializer.readInt32() + start_buf = (valueDeserializer.readNumber() as number) } - const keyboardAvoidMode_result: SheetKeyboardAvoidMode | undefined|undefined = keyboardAvoidMode_buf - let value: SheetOptions = ({backgroundColor: backgroundColor_result, onAppear: onAppear_result, onDisappear: onDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, height: height_result, dragBar: dragBar_result, maskColor: maskColor_result, detents: detents_result, blurStyle: blurStyle_result, showClose: showClose_result, preferType: preferType_result, title: title_result, shouldDismiss: shouldDismiss_result, onWillDismiss: onWillDismiss_result, onWillSpringBackWhenDismiss: onWillSpringBackWhenDismiss_result, enableOutsideInteractive: enableOutsideInteractive_result, width: width_result, borderWidth: borderWidth_result, borderColor: borderColor_result, borderStyle: borderStyle_result, shadow: shadow_result, onHeightDidChange: onHeightDidChange_result, mode: mode_result, scrollSizeMode: scrollSizeMode_result, onDetentsDidChange: onDetentsDidChange_result, onWidthDidChange: onWidthDidChange_result, onTypeDidChange: onTypeDidChange_result, uiContext: uiContext_result, keyboardAvoidMode: keyboardAvoidMode_result} as SheetOptions) + const start_result: number | undefined|undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = (valueDeserializer.readNumber() as number) + } + const end_result: number | undefined|undefined = end_buf + const textStyle_result: RichEditorTextStyle = valueDeserializer.readRichEditorTextStyle() + const urlStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let urlStyle_buf: RichEditorUrlStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (urlStyle_buf_runtimeType)) + { + urlStyle_buf = valueDeserializer.readRichEditorUrlStyle() + } + const urlStyle_result: RichEditorUrlStyle | undefined|undefined = urlStyle_buf + let value: RichEditorUpdateTextSpanStyleOptions = ({start: start_result, end: end_result, textStyle: textStyle_result, urlStyle: urlStyle_result} as RichEditorUpdateTextSpanStyleOptions) return value } - readStyleOptions(): StyleOptions { + public readStyleOptions(): StyleOptions { let valueDeserializer: Deserializer = this const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf: number | undefined|undefined @@ -29587,10 +29586,10 @@ export class Deserializer extends DeserializerBase { let value: StyleOptions = ({start: start_result, length: length_result, styledKey: styledKey_result, styledValue: styledValue_result} as StyleOptions) return value } - readSubTabBarStyle(): SubTabBarStyle { + public readSubTabBarStyle(): SubTabBarStyle { throw new Error("Can not deserialize builder class") } - readTextPickerDialogOptions(): TextPickerDialogOptions { + public readTextPickerDialogOptions(): TextPickerDialogOptions { let valueDeserializer: Deserializer = this const range_buf_selector: number = valueDeserializer.readInt8() let range_buf: Array | Array> | Resource | Array | Array | undefined|undefined @@ -29684,6 +29683,18 @@ export class Deserializer extends DeserializerBase { selected_buf = (selected_buf_ as number | Array) } const selected_result: number | Array | undefined|undefined = selected_buf + const columnWidths_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let columnWidths_buf: Array | undefined|undefined + if ((RuntimeType.UNDEFINED) != (columnWidths_buf_runtimeType)) + { + const columnWidths_buf__length: int32 = valueDeserializer.readInt32() + let columnWidths_buf_: Array = new Array(columnWidths_buf__length) + for (let columnWidths_buf__i = 0; columnWidths_buf__i < columnWidths_buf__length; columnWidths_buf__i++) { + columnWidths_buf_[columnWidths_buf__i] = (valueDeserializer.readLengthMetrics() as LengthMetrics) + } + columnWidths_buf = columnWidths_buf_ + } + const columnWidths_result: Array | undefined|undefined = columnWidths_buf const defaultPickerItemHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) let defaultPickerItemHeight_buf: number | string | undefined|undefined if ((RuntimeType.UNDEFINED) != (defaultPickerItemHeight_buf_runtimeType)) @@ -29744,6 +29755,20 @@ export class Deserializer extends DeserializerBase { selectedTextStyle_buf = valueDeserializer.readPickerTextStyle() } const selectedTextStyle_result: PickerTextStyle | undefined|undefined = selectedTextStyle_buf + const disableTextStyleAnimation_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let disableTextStyleAnimation_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (disableTextStyleAnimation_buf_runtimeType)) + { + disableTextStyleAnimation_buf = valueDeserializer.readBoolean() + } + const disableTextStyleAnimation_result: boolean | undefined|undefined = disableTextStyleAnimation_buf + const defaultTextStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let defaultTextStyle_buf: TextPickerTextStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (defaultTextStyle_buf_runtimeType)) + { + defaultTextStyle_buf = valueDeserializer.readTextPickerTextStyle() + } + const defaultTextStyle_result: TextPickerTextStyle | undefined|undefined = defaultTextStyle_buf const onAccept_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onAccept_buf: ((value: TextPickerResult) => void) | undefined|undefined if ((RuntimeType.UNDEFINED) != (onAccept_buf_runtimeType)) @@ -29765,6 +29790,20 @@ export class Deserializer extends DeserializerBase { onChange_buf = valueDeserializer.readCallback_TextPickerResult_Void() } const onChange_result: ((value: TextPickerResult) => void) | undefined|undefined = onChange_buf + const onScrollStop_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onScrollStop_buf: ((value: TextPickerResult) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onScrollStop_buf_runtimeType)) + { + onScrollStop_buf = valueDeserializer.readCallback_TextPickerResult_Void() + } + const onScrollStop_result: ((value: TextPickerResult) => void) | undefined|undefined = onScrollStop_buf + const onEnterSelectedArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onEnterSelectedArea_buf: ((value: TextPickerResult) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onEnterSelectedArea_buf_runtimeType)) + { + onEnterSelectedArea_buf = valueDeserializer.readCallback_TextPickerResult_Void() + } + const onEnterSelectedArea_result: ((value: TextPickerResult) => void) | undefined|undefined = onEnterSelectedArea_buf const maskRect_buf_runtimeType = (valueDeserializer.readInt8() as int32) let maskRect_buf: Rectangle | undefined|undefined if ((RuntimeType.UNDEFINED) != (maskRect_buf_runtimeType)) @@ -29783,37 +29822,7 @@ export class Deserializer extends DeserializerBase { let offset_buf: Offset | undefined|undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dx_buf: string | number | Resource | undefined|undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx: Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dy_buf: string | number | Resource | undefined|undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy: Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result: Offset | undefined|undefined = offset_buf const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -29847,6 +29856,20 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = valueDeserializer.readInt32() } const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onDidAppear_buf: (() => void) | undefined|undefined if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) @@ -29907,10 +29930,17 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = valueDeserializer.readInt32() } const hoverModeArea_result: HoverModeAreaType | undefined|undefined = hoverModeArea_buf - let value: TextPickerDialogOptions = ({range: range_result, value: value_result, selected: selected_result, defaultPickerItemHeight: defaultPickerItemHeight_result, canLoop: canLoop_result, disappearTextStyle: disappearTextStyle_result, textStyle: textStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, selectedTextStyle: selectedTextStyle_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, maskRect: maskRect_result, alignment: alignment_result, offset: offset_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result} as TextPickerDialogOptions) + const enableHapticFeedback_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableHapticFeedback_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableHapticFeedback_buf_runtimeType)) + { + enableHapticFeedback_buf = valueDeserializer.readBoolean() + } + const enableHapticFeedback_result: boolean | undefined|undefined = enableHapticFeedback_buf + let value: TextPickerDialogOptions = ({range: range_result, value: value_result, selected: selected_result, columnWidths: columnWidths_result, defaultPickerItemHeight: defaultPickerItemHeight_result, canLoop: canLoop_result, disappearTextStyle: disappearTextStyle_result, textStyle: textStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, selectedTextStyle: selectedTextStyle_result, disableTextStyleAnimation: disableTextStyleAnimation_result, defaultTextStyle: defaultTextStyle_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, onScrollStop: onScrollStop_result, onEnterSelectedArea: onEnterSelectedArea_result, maskRect: maskRect_result, alignment: alignment_result, offset: offset_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, enableHapticFeedback: enableHapticFeedback_result} as TextPickerDialogOptions) return value } - readTimePickerDialogOptions(): TimePickerDialogOptions { + public readTimePickerDialogOptions(): TimePickerDialogOptions { let valueDeserializer: Deserializer = this const selected_buf_runtimeType = (valueDeserializer.readInt8() as int32) let selected_buf: Date | undefined|undefined @@ -29926,6 +29956,20 @@ export class Deserializer extends DeserializerBase { format_buf = valueDeserializer.readInt32() } const format_result: TimePickerFormat | undefined|undefined = format_buf + const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let start_buf: Date | undefined|undefined + if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) + { + start_buf = new Date(valueDeserializer.readInt64()) + } + const start_result: Date | undefined|undefined = start_buf + const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let end_buf: Date | undefined|undefined + if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) + { + end_buf = new Date(valueDeserializer.readInt64()) + } + const end_result: Date | undefined|undefined = end_buf const useMilitaryTime_buf_runtimeType = (valueDeserializer.readInt8() as int32) let useMilitaryTime_buf: boolean | undefined|undefined if ((RuntimeType.UNDEFINED) != (useMilitaryTime_buf_runtimeType)) @@ -29986,37 +30030,7 @@ export class Deserializer extends DeserializerBase { let offset_buf: Offset | undefined|undefined if ((RuntimeType.UNDEFINED) != (offset_buf_runtimeType)) { - const offset_buf__dx_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dx_buf: string | number | Resource | undefined|undefined - if (offset_buf__dx_buf_selector == 0) { - offset_buf__dx_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dx_buf_selector == 1) { - offset_buf__dx_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dx_buf_selector == 2) { - offset_buf__dx_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dx_buf has to be chosen through deserialisation.") - } - const offset_buf__dx: Length = (offset_buf__dx_buf as string | number | Resource) - const offset_buf__dy_buf_selector: number = valueDeserializer.readInt8() - let offset_buf__dy_buf: string | number | Resource | undefined|undefined - if (offset_buf__dy_buf_selector == 0) { - offset_buf__dy_buf = (valueDeserializer.readString() as string) - } - else if (offset_buf__dy_buf_selector == 1) { - offset_buf__dy_buf = (valueDeserializer.readNumber() as number) - } - else if (offset_buf__dy_buf_selector == 2) { - offset_buf__dy_buf = valueDeserializer.readResource() - } - else { - throw new Error("One of the branches for offset_buf__dy_buf has to be chosen through deserialisation.") - } - const offset_buf__dy: Length = (offset_buf__dy_buf as string | number | Resource) - offset_buf = ({dx: offset_buf__dx, dy: offset_buf__dy} as Offset) + offset_buf = valueDeserializer.readOffset() } const offset_result: Offset | undefined|undefined = offset_buf const onAccept_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -30040,6 +30054,13 @@ export class Deserializer extends DeserializerBase { onChange_buf = valueDeserializer.readCallback_TimePickerResult_Void() } const onChange_result: ((value: TimePickerResult) => void) | undefined|undefined = onChange_buf + const onEnterSelectedArea_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onEnterSelectedArea_buf: ((value: TimePickerResult) => void) | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onEnterSelectedArea_buf_runtimeType)) + { + onEnterSelectedArea_buf = valueDeserializer.readCallback_TimePickerResult_Void() + } + const onEnterSelectedArea_result: ((value: TimePickerResult) => void) | undefined|undefined = onEnterSelectedArea_buf const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) let backgroundColor_buf: ResourceColor | undefined|undefined if ((RuntimeType.UNDEFINED) != (backgroundColor_buf_runtimeType)) @@ -30071,6 +30092,27 @@ export class Deserializer extends DeserializerBase { backgroundBlurStyle_buf = valueDeserializer.readInt32() } const backgroundBlurStyle_result: BlurStyle | undefined|undefined = backgroundBlurStyle_buf + const backgroundBlurStyleOptions_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundBlurStyleOptions_buf: BackgroundBlurStyleOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundBlurStyleOptions_buf_runtimeType)) + { + backgroundBlurStyleOptions_buf = valueDeserializer.readBackgroundBlurStyleOptions() + } + const backgroundBlurStyleOptions_result: BackgroundBlurStyleOptions | undefined|undefined = backgroundBlurStyleOptions_buf + const backgroundEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let backgroundEffect_buf: BackgroundEffectOptions | undefined|undefined + if ((RuntimeType.UNDEFINED) != (backgroundEffect_buf_runtimeType)) + { + backgroundEffect_buf = valueDeserializer.readBackgroundEffectOptions() + } + const backgroundEffect_result: BackgroundEffectOptions | undefined|undefined = backgroundEffect_buf + const enableCascade_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableCascade_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableCascade_buf_runtimeType)) + { + enableCascade_buf = valueDeserializer.readBoolean() + } + const enableCascade_result: boolean | undefined|undefined = enableCascade_buf const onDidAppear_buf_runtimeType = (valueDeserializer.readInt8() as int32) let onDidAppear_buf: (() => void) | undefined|undefined if ((RuntimeType.UNDEFINED) != (onDidAppear_buf_runtimeType)) @@ -30138,29 +30180,17 @@ export class Deserializer extends DeserializerBase { hoverModeArea_buf = valueDeserializer.readInt32() } const hoverModeArea_result: HoverModeAreaType | undefined|undefined = hoverModeArea_buf - let value: TimePickerDialogOptions = ({selected: selected_result, format: format_result, useMilitaryTime: useMilitaryTime_result, disappearTextStyle: disappearTextStyle_result, textStyle: textStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, selectedTextStyle: selectedTextStyle_result, maskRect: maskRect_result, alignment: alignment_result, offset: offset_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, dateTimeOptions: dateTimeOptions_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result} as TimePickerDialogOptions) - return value - } - readWithThemeOptions(): WithThemeOptions { - let valueDeserializer: Deserializer = this - const theme_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let theme_buf: CustomTheme | undefined|undefined - if ((RuntimeType.UNDEFINED) != (theme_buf_runtimeType)) + const enableHapticFeedback_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let enableHapticFeedback_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (enableHapticFeedback_buf_runtimeType)) { - theme_buf = valueDeserializer.readCustomTheme() - } - const theme_result: CustomTheme | undefined|undefined = theme_buf - const colorMode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let colorMode_buf: ThemeColorMode | undefined|undefined - if ((RuntimeType.UNDEFINED) != (colorMode_buf_runtimeType)) - { - colorMode_buf = valueDeserializer.readInt32() + enableHapticFeedback_buf = valueDeserializer.readBoolean() } - const colorMode_result: ThemeColorMode | undefined|undefined = colorMode_buf - let value: WithThemeOptions = ({theme: theme_result, colorMode: colorMode_result} as WithThemeOptions) + const enableHapticFeedback_result: boolean | undefined|undefined = enableHapticFeedback_buf + let value: TimePickerDialogOptions = ({selected: selected_result, format: format_result, start: start_result, end: end_result, useMilitaryTime: useMilitaryTime_result, disappearTextStyle: disappearTextStyle_result, textStyle: textStyle_result, acceptButtonStyle: acceptButtonStyle_result, cancelButtonStyle: cancelButtonStyle_result, selectedTextStyle: selectedTextStyle_result, maskRect: maskRect_result, alignment: alignment_result, offset: offset_result, onAccept: onAccept_result, onCancel: onCancel_result, onChange: onChange_result, onEnterSelectedArea: onEnterSelectedArea_result, backgroundColor: backgroundColor_result, backgroundBlurStyle: backgroundBlurStyle_result, backgroundBlurStyleOptions: backgroundBlurStyleOptions_result, backgroundEffect: backgroundEffect_result, enableCascade: enableCascade_result, onDidAppear: onDidAppear_result, onDidDisappear: onDidDisappear_result, onWillAppear: onWillAppear_result, onWillDisappear: onWillDisappear_result, shadow: shadow_result, dateTimeOptions: dateTimeOptions_result, enableHoverMode: enableHoverMode_result, hoverModeArea: hoverModeArea_result, enableHapticFeedback: enableHapticFeedback_result} as TimePickerDialogOptions) return value } - readRichEditorImageSpanOptions(): RichEditorImageSpanOptions { + public readRichEditorImageSpanOptions(): RichEditorImageSpanOptions { let valueDeserializer: Deserializer = this const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) let offset_buf: number | undefined|undefined @@ -30183,10 +30213,17 @@ export class Deserializer extends DeserializerBase { gesture_buf = valueDeserializer.readRichEditorGesture() } const gesture_result: RichEditorGesture | undefined|undefined = gesture_buf - let value: RichEditorImageSpanOptions = ({offset: offset_result, imageStyle: imageStyle_result, gesture: gesture_result} as RichEditorImageSpanOptions) + const onHover_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let onHover_buf: OnHoverCallback | undefined|undefined + if ((RuntimeType.UNDEFINED) != (onHover_buf_runtimeType)) + { + onHover_buf = valueDeserializer.readOnHoverCallback() + } + const onHover_result: OnHoverCallback | undefined|undefined = onHover_buf + let value: RichEditorImageSpanOptions = ({offset: offset_result, imageStyle: imageStyle_result, gesture: gesture_result, onHover: onHover_result} as RichEditorImageSpanOptions) return value } - readRichEditorImageSpanResult(): RichEditorImageSpanResult { + public readRichEditorImageSpanResult(): RichEditorImageSpanResult { let valueDeserializer: Deserializer = this const spanPosition_result: RichEditorSpanPosition = valueDeserializer.readRichEditorSpanPosition() const valuePixelMap_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -30221,16 +30258,7 @@ export class Deserializer extends DeserializerBase { let value: RichEditorImageSpanResult = ({spanPosition: spanPosition_result, valuePixelMap: valuePixelMap_result, valueResourceStr: valueResourceStr_result, imageStyle: imageStyle_result, offsetInSpan: offsetInSpan_result} as RichEditorImageSpanResult) return value } - readRichEditorParagraphResult(): RichEditorParagraphResult { - let valueDeserializer: Deserializer = this - const style_result: RichEditorParagraphStyle = valueDeserializer.readRichEditorParagraphStyle() - const range_buf_value0: number = (valueDeserializer.readNumber() as number) - const range_buf_value1: number = (valueDeserializer.readNumber() as number) - const range_result: [ number, number ] = ([range_buf_value0, range_buf_value1] as [ number, number ]) - let value: RichEditorParagraphResult = ({style: style_result, range: range_result} as RichEditorParagraphResult) - return value - } - readRichEditorTextSpanOptions(): RichEditorTextSpanOptions { + public readRichEditorTextSpanOptions(): RichEditorTextSpanOptions { let valueDeserializer: Deserializer = this const offset_buf_runtimeType = (valueDeserializer.readInt8() as int32) let offset_buf: number | undefined|undefined @@ -30260,10 +30288,17 @@ export class Deserializer extends DeserializerBase { gesture_buf = valueDeserializer.readRichEditorGesture() } const gesture_result: RichEditorGesture | undefined|undefined = gesture_buf - let value: RichEditorTextSpanOptions = ({offset: offset_result, style: style_result, paragraphStyle: paragraphStyle_result, gesture: gesture_result} as RichEditorTextSpanOptions) + const urlStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let urlStyle_buf: RichEditorUrlStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (urlStyle_buf_runtimeType)) + { + urlStyle_buf = valueDeserializer.readRichEditorUrlStyle() + } + const urlStyle_result: RichEditorUrlStyle | undefined|undefined = urlStyle_buf + let value: RichEditorTextSpanOptions = ({offset: offset_result, style: style_result, paragraphStyle: paragraphStyle_result, gesture: gesture_result, urlStyle: urlStyle_result} as RichEditorTextSpanOptions) return value } - readRichEditorTextSpanResult(): RichEditorTextSpanResult { + public readRichEditorTextSpanResult(): RichEditorTextSpanResult { let valueDeserializer: Deserializer = this const spanPosition_result: RichEditorSpanPosition = valueDeserializer.readRichEditorSpanPosition() const value_result: string = (valueDeserializer.readString() as string) @@ -30299,10 +30334,17 @@ export class Deserializer extends DeserializerBase { previewText_buf = (valueDeserializer.readString() as string) } const previewText_result: string | undefined|undefined = previewText_buf - let value: RichEditorTextSpanResult = ({spanPosition: spanPosition_result, value: value_result, textStyle: textStyle_result, offsetInSpan: offsetInSpan_result, symbolSpanStyle: symbolSpanStyle_result, valueResource: valueResource_result, paragraphStyle: paragraphStyle_result, previewText: previewText_result} as RichEditorTextSpanResult) + const urlStyle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let urlStyle_buf: RichEditorUrlStyle | undefined|undefined + if ((RuntimeType.UNDEFINED) != (urlStyle_buf_runtimeType)) + { + urlStyle_buf = valueDeserializer.readRichEditorUrlStyle() + } + const urlStyle_result: RichEditorUrlStyle | undefined|undefined = urlStyle_buf + let value: RichEditorTextSpanResult = ({spanPosition: spanPosition_result, value: value_result, textStyle: textStyle_result, offsetInSpan: offsetInSpan_result, symbolSpanStyle: symbolSpanStyle_result, valueResource: valueResource_result, paragraphStyle: paragraphStyle_result, previewText: previewText_result, urlStyle: urlStyle_result} as RichEditorTextSpanResult) return value } - readSpanStyle(): SpanStyle { + public readSpanStyle(): SpanStyle { let valueDeserializer: Deserializer = this const start_result: number = (valueDeserializer.readNumber() as number) const length_result: number = (valueDeserializer.readNumber() as number) diff --git a/arkoala/arkui/src/generated/peers/Serializer.ts b/arkoala/arkui/src/generated/peers/Serializer.ts index e9ea727512..f513783f42 100644 --- a/arkoala/arkui/src/generated/peers/Serializer.ts +++ b/arkoala/arkui/src/generated/peers/Serializer.ts @@ -21,42 +21,52 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { CallbackKind } from "./CallbackKind" import { isResource, isPadding } from "./../../utils" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, CommonMethod, BlurStyle, PickerTextStyle, DragBehavior, DragResult, Rectangle, EdgeEffectOptions, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, NestedScrollOptions, RectResult, MeasureResult, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, SelectionOptions, TextDecorationOptions, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TouchTestInfo, TransitionEffects, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, VisibleAreaEventOptions, SheetOptions, TouchResult, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, BackgroundBrightnessOptions, BlurOptions, ClickEffect, DismissReason, DragInteractionOptions, ExpectedFrameRateRange, ForegroundEffectOptions, GeometryTransitionOptions, TransitionHierarchyStrategy, InvertOptions, LinearGradient_common, LinearGradientBlurOptions, FractionStop, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, MenuPolicy, StateStyles, TouchObject, TouchTestStrategy, AlignRuleOption, FinishCallbackType, BlurStyleOptions, BlurStyleActivePolicy, AdaptiveColor, ContentCoverOptions, BindOptions, ModalTransition, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, DragPreviewMode, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, PixelStretchEffectOptions, ShadowType, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, ShadowStyle, HoverModeAreaType, BorderImageOption, RepeatMode, ContextMenuOptions, MenuPreviewMode, KeyboardAvoidMode, CustomPopupOptions, EventTarget, MenuOptions, OutlineStyle, PickerDialogButtonStyle, PointLightStyle, PopupMessageOptions, SourceType, SourceTool, PopupOptions, SheetSize, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, ThemeColorMode } from "./../common" +import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, CommonMethod, BlurStyle, PickerTextStyle, DragBehavior, DragResult, Rectangle, DataSyncOptions, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, NestedScrollOptions, EdgeEffectOptions, LayoutPolicy, RectResult, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, PopupStateChangeParam, SelectionOptions, TextDecorationOptions, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, TouchTestInfo, TransitionEffects, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, VisibleAreaEventOptions, SheetOptions, TouchResult, CrownEvent, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DismissReason, DragInteractionOptions, DropOptions, OutlineStyle, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, TransitionHierarchyStrategy, InvertOptions, LinearGradient_common, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, HapticFeedbackMode, MenuPolicy, StateStyles, SystemAdaptiveOptions, TouchObject, TouchTestStrategy, AlignRuleOption, FinishCallbackType, BlurStyleOptions, BlurStyleActivePolicy, AdaptiveColor, ContentCoverOptions, BindOptions, ModalTransition, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, DragPreviewMode, DraggingSizeChangeEffect, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ShadowType, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, SweepGradientOptions, TipsOptions, ShadowStyle, HoverModeAreaType, BorderImageOption, RepeatMode, ContextMenuOptions, MenuPreviewMode, BorderRadiusType, KeyboardAvoidMode, CustomPopupOptions, EventTarget, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, SheetSize, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, ThemeColorMode, SourceType, SourceTool, PopupOptions } from "./../common" import { ButtonTriggerClickCallback, ControlSize, ButtonOptions, ButtonType, ButtonStyleMode, ButtonRole } from "./../button" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../animation_extender" import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, SystemBarStyle, Event, ErrorEvent, MessageEvents, PostMessageOptions, WorkerOptions, CustomColors, CustomTheme } from "./../arkui-custom" -import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, SwiperAnimationEvent, SwiperAttribute, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, ArrowStyle, SwiperAutoFill } from "./../swiper" +import { ContentDidScrollCallback, ContentWillScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, SwiperAnimationEvent, SwiperAttribute, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, SwiperContentWillScrollResult, AutoPlayOptions, ArrowStyle, SwiperAutoFill, SwiperAnimationMode } from "./../swiper" import { CustomNodeBuilder } from "./../custom_builder" -import { EditableTextOnChangeCallback, OnDidChangeCallback, PositionWithAffinity, TextRange, TextDataDetectorConfig, EditMenuOptions, PreviewText, StyledStringChangedListener, CaretStyle, InsertValue, DeleteValue, FontSettingOptions, TextMenuItem, StyledStringChangeValue, TextDeleteDirection, MenuType, DecorationStyleResult, TextDataDetectorType } from "./../text_common" +import { EditableTextOnChangeCallback, OnDidChangeCallback, PositionWithAffinity, TextRange, TextDataDetectorConfig, EditMenuOptions, KeyboardAppearance, PreviewText, StyledStringChangedListener, CaretStyle, TextChangeOptions, InsertValue, DeleteValue, AutoCapitalizationMode, EditableTextChangeValue, FontSettingOptions, TextMenuItem, StyledStringChangeValue, TextDeleteDirection, MenuType, DecorationStyleResult, TextDataDetectorType } from "./../text_common" import { ErrorCallback } from "./../ohos.base" import { GetItemMainSizeByIndex, WaterFlowAttribute, SectionOptions, WaterFlowOptions, WaterFlowLayoutMode } from "./../water_flow" import { ImageCompleteCallback, ImageLoadResult } from "./../image_span" -import { ImageErrorCallback, ImageError, ImageSourceSize, ResizableOptions } from "./../image" -import { InterceptionModeCallback, InterceptionShowCallback, NavigationMenuItem, NavigationTitleOptions, ToolbarItem, NavigationToolbarOptions, NavigationAttribute, NavBarPosition, NavigationMode, NavigationTitleMode, NavContentInfo, NavigationOperation, NavigationCommonTitle, NavigationCustomTitle, NavigationOptions, PopInfo, NavigationInterception, NavigationAnimatedTransition, NavBar, LaunchMode, BarStyle, ToolbarItemStatus } from "./../navigation" +import { ImageErrorCallback, ColorContent, ImageError, ImageSourceSize, ResizableOptions } from "./../image" +import { InterceptionModeCallback, InterceptionShowCallback, NavigationMenuItem, NavigationOperation, NavigationTitleOptions, NavigationMenuOptions, ToolbarItem, NavigationToolbarOptions, NavigationAttribute, NavBarPosition, NavigationMode, NavigationTitleMode, NavContentInfo, NavigationCommonTitle, NavigationCustomTitle, NavigationOptions, PopInfo, NavigationInterception, NavigationAnimatedTransition, NavBar, LaunchMode, ToolbarItemStatus, MoreButtonOptions, BarStyle } from "./../navigation" +import { LocationButtonCallback, LocationButtonOnClickResult, LocationButtonOptions, LocationIconStyle, LocationDescription } from "./../location_button" import { MenuCallback, OnHoverCallback } from "./../sdk-stubs" -import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, RichEditorAttribute, RichEditorSelection, RichEditorRange, RichEditorInsertValue, RichEditorTextSpanResult, RichEditorDeleteValue, PasteEvent, RichEditorChangeValue, CutEvent, CopyEvent, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle, RichEditorTextStyle, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorParagraphResult, RichEditorSpan, RichEditorOptions, RichEditorStyledStringOptions, RichEditorDeleteDirection, RichEditorGesture, RichEditorSpanPosition, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorSpanStyleOptions, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorParagraphStyle } from "./../rich_editor" +import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, RichEditorAttribute, RichEditorSelection, RichEditorRange, RichEditorInsertValue, RichEditorTextSpanResult, RichEditorDeleteValue, PasteEvent, RichEditorChangeValue, CutEvent, CopyEvent, RichEditorSpanType, RichEditorResponseType, SelectionMenuOptions, KeyboardOptions, PlaceholderStyle, RichEditorTextStyle, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorParagraphResult, RichEditorSpan, RichEditorOptions, RichEditorStyledStringOptions, PreviewMenuOptions, RichEditorDeleteDirection, RichEditorGesture, RichEditorSpanPosition, RichEditorSymbolSpanStyle, RichEditorSpanStyleOptions, RichEditorUrlStyle, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorParagraphStyle, RichEditorImageSpanStyle, RichEditorImageSpanStyleResult, RichEditorTextStyleResult } from "./../rich_editor" +import { NavDestinationTransitionDelegate, NavDestinationAttribute, NavDestinationMode, NavigationSystemTransitionType, NestedScrollInfo, NavDestinationActiveReason, Orientation, NavDestinationCommonTitle, NavDestinationCustomTitle, NavDestinationTransition, RouteMapConfig } from "./../nav_destination" import { NavExtender_OnUpdateStack } from "./../navigation_extender" -import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, MessageLevel, FileSelectorMode, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, ScreenCaptureConfig, WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, OnPageEndEvent, OnPageBeginEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnResourceLoadEvent, FullScreenEnterEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnSslErrorEventReceiveEvent, SslErrorEvent, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, FirstMeaningfulPaint, LargestContentfulPaint, OnLoadInterceptEvent, ThreatType, LoadCommittedDetails, IntelligentTrackingPreventionDetails, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeEmbedDataInfo, NativeEmbedVisibilityInfo, NativeEmbedTouchInfo, RenderProcessNotRespondingData, ExpandedMenuItemOptions, ViewportFit, WebKeyboardCallbackInfo, AdsBlockedDetails, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, Header, HitTestType, WebKeyboardOptions, WebNavigationType, RenderExitReason, SslError, RenderProcessNotRespondingReason, WebCaptureMode, WebOptions, RenderMode, NativeEmbedInfo, NativeEmbedStatus } from "./../web" +import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, MessageLevel, FileSelectorMode, NativeMediaPlayerConfig, OnAudioStateChangedEvent, OnConsoleEvent, OnDataResubmittedEvent, OnFirstContentfulPaintEvent, OnOverScrollEvent, OnProgressChangeEvent, OnScaleChangeEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnShowFileSelectorEvent, ScreenCaptureConfig, WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, BlurOnKeyboardHideMode, OnPageEndEvent, OnPageBeginEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnResourceLoadEvent, FullScreenEnterEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnSslErrorEventReceiveEvent, SslErrorEvent, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, FirstMeaningfulPaint, LargestContentfulPaint, OnLoadInterceptEvent, ThreatType, LoadCommittedDetails, IntelligentTrackingPreventionDetails, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeEmbedDataInfo, NativeEmbedVisibilityInfo, NativeEmbedTouchInfo, RenderProcessNotRespondingData, ExpandedMenuItemOptions, ViewportFit, WebKeyboardCallbackInfo, AdsBlockedDetails, WebKeyboardAvoidMode, EmbedOptions, WebElementType, WebResponseType, SelectionMenuOptionsExt, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, Header, HitTestType, WebKeyboardOptions, WebNavigationType, RenderExitReason, SslError, RenderProcessNotRespondingReason, WebCaptureMode, WebOptions, RenderMode, NativeEmbedInfo, NativeEmbedStatus } from "./../web" import { OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback, AlphabetIndexerAttribute, IndexerAlign, AlphabetIndexerOptions } from "./../alphabet_indexer" import { OnCheckboxChangeCallback, CheckboxOptions } from "./../checkbox" import { OnCheckboxGroupChangeCallback, CheckboxGroupResult, CheckboxGroupOptions, SelectStatus } from "./../checkboxgroup" -import { OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback, EnterKeyType, TextInputAttribute, InputType, TextInputStyle, PasswordIcon, UnderlineColor, TextInputOptions } from "./../text_input" +import { OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback, EnterKeyType, ContentType, TextInputAttribute, InputType, TextInputStyle, PasswordIcon, UnderlineColor, TextInputOptions } from "./../text_input" import { OnFoldStatusChangeCallback, OnHoverStatusChangeCallback, OnFoldStatusChangeInfo, HoverEventParam, FolderStackOptions } from "./../folder_stack" import { OnLinearIndicatorChangeCallback, LinearIndicatorStartOptions, LinearIndicatorStyle } from "./../linearindicator" -import { OnNativeLoadCallback, SurfaceRect, SurfaceRotationOptions, XComponentOptions } from "./../xcomponent" +import { OnNativeLoadCallback, SurfaceRect, SurfaceRotationOptions, NativeXComponentParameters, XComponentOptions } from "./../xcomponent" +import { OnRadioChangeCallback, RadioOptions, RadioIndicatorType, RadioStyle } from "./../radio" +import { OnRatingChangeCallback, RatingOptions, StarStyleOptions } from "./../rating" import { OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallback, ScrollOnWillScrollCallback, ScrollAlign, OffsetResult, OnScrollFrameBeginHandlerResult, ScrollAttribute, ScrollDirection, ScrollSnapOptions, OffsetOptions, ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, ScrollToIndexOptions, ScrollAnimationOptions } from "./../scroll" import { OnScrollVisibleContentChangeCallback, ScrollState, ListAttribute, ListItemAlign, ListDividerOptions, ChainAnimationOptions, StickyStyle, ScrollSnapAlign, VisibleListContentInfo, CloseSwipeActionOptions, ListOptions, ListItemGroupArea, ChainEdgeEffect } from "./../list" -import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, TabsAnimationEvent, TabsAttribute, BarPosition, BarMode, AnimationMode, DividerStyle, BarGridColumnOptions, ScrollableBarModeOptions, TabContentAnimatedTransition, TabsOptions, LayoutStyle } from "./../tabs" +import { OnSelectCallback, SelectAttribute, ArrowPosition, AvoidanceMode, MenuOutlineOptions, MenuAlignType, SelectOption } from "./../select" +import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, TabsAnimationEvent, TabsAttribute, BarPosition, BarMode, AnimationMode, DividerStyle, BarGridColumnOptions, ScrollableBarModeOptions, TabsCacheMode, TabContentAnimatedTransition, CommonModifier, TabsOptions, LayoutStyle } from "./../tabs" +import { OnTextPickerChangeCallback, TextPickerEnterSelectedAreaCallback, TextPickerScrollStopCallback, DividerOptions, TextPickerDialogOptions, TextPickerResult, TextCascadePickerRangeContent, TextPickerOptions, TextPickerRangeContent, TextPickerTextStyle } from "./../text_picker" +import { OnTimePickerChangeCallback, TimePickerResult, TimePickerOptions, TimePickerFormat, TimePickerDialogOptions } from "./../time_picker" import { PageTransitionCallback, RouteType } from "./../page_transition" +import { PasteButtonCallback, PasteButtonOnClickResult, PasteButtonOptions, PasteIconStyle, PasteDescription } from "./../paste_button" import { PluginErrorCallback, PluginErrorData, PluginComponentTemplate, PluginComponentOptions } from "./../plugin_component" -import { ReceiveCallback, ShapeSize, Summary, ImageModifier, RectWidthStyle, RectHeightStyle, SymbolGlyphModifier, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions, IndicatorStyle, TextModifier, WebHeader, EffectScope, EffectDirection, EdgeStyles, FontInfo, WindowStatusType, IntentionCode, SnapshotOptions, FontOptions, MeasureOptions, LabelStyle } from "./../arkui-external" +import { ReceiveCallback, ShapeSize, Summary, ImageModifier, RectWidthStyle, RectHeightStyle, SymbolGlyphModifier, PathShapeOptions, RectShapeOptions, RoundRectShapeOptions, TextModifier, IndicatorStyle, WebHeader, EffectScope, EffectDirection, EdgeStyles, FontInfo, WindowStatusType, IntentionCode, SnapshotOptions, FontOptions, MeasureOptions, LabelStyle } from "./../arkui-external" +import { SaveButtonCallback, SaveButtonOnClickResult, SaveButtonOptions, SaveIconStyle, SaveDescription } from "./../save_button" import { SearchSubmitCallback, SearchAttribute, IconOptions, CancelButtonOptions, CancelButtonSymbolOptions, SearchType, SearchButtonOptions, CancelButtonStyle, SearchOptions } from "./../search" import { SliderTriggerChangeCallback, SliderAttribute, SliderChangeMode, SliderBlockStyle, SliderInteraction, SlideRange, SliderOptions, SliderStyle, SliderBlockType } from "./../slider" -import { TextAreaSubmitCallback, TextAreaAttribute, TextAreaType, ContentType, TextAreaOptions } from "./../text_area" -import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ResourceStr, Dimension, LengthConstrain, ConstraintSizeOptions, DirectionalEdgesT, Area, AccessibilityOptions, Bias, ChainWeightOptions, VP, DividerStyleOptions, PX, LPX, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, MarkStyle, BorderRadiuses, EdgeWidths, EdgeColors, BorderOptions, Padding, OutlineOptions, EdgeOutlineWidths, OutlineRadiuses, EdgeOutlineStyles } from "./../units" +import { StyledStringMarshallCallback, StyledStringUnmarshallCallback, GestureStyleInterface, StyleOptions, StyledStringKey, SpanStyle, UserDataSpan, DecorationStyleInterface, CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo, TextStyleInterface, ImageAttachmentLayoutStyle, ParagraphStyleInterface, ColorFilterType, ImageAttachmentInterface, AttachmentType, ResourceImageAttachmentOptions, StyledStringValue } from "./../styled_string" +import { TextAreaSubmitCallback, TextAreaAttribute, TextAreaType, TextAreaOptions } from "./../text_area" +import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ResourceStr, Dimension, LengthConstrain, DividerStyleOptions, ConstraintSizeOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" import { WithThemeInterface, WithThemeAttribute, WithThemeOptions } from "./../with_theme" -import { AccessibilityHoverEvent, AccessibilityHoverEventInternal, AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, PixelMap, PixelMapInternal, BaseShape, BaseShapeInternal, CalendarController, CalendarControllerInternal, CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, Matrix2D, Matrix2DInternal, CircleShape, CircleShapeInternal, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ColorFilter, ColorFilterInternal, CommonShape, CommonShapeInternal, ComponentContent, ComponentContentInternal, ConsoleMessage, ConsoleMessageInternal, ControllerHandler, ControllerHandlerInternal, WebviewController, WebviewControllerInternal, CustomDialogController, CustomDialogControllerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, DragEvent, DragEventInternal, UnifiedData, UnifiedDataInternal, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, DrawModifier, DrawModifierInternal, EllipseShape, EllipseShapeInternal, EventResult, EventResultInternal, EventTargetInfo, EventTargetInfoInternal, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, Filter, FilterInternal, FrameNode, FrameNodeInternal, UIContext, UIContextInternal, FrictionMotion, FrictionMotionInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, GestureGroupInterface, GestureGroupInterfaceInternal, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureModifier, GestureModifierInternal, GestureRecognizer, GestureRecognizerInternal, GestureStyle, GestureStyleInternal, HttpAuthHandler, HttpAuthHandlerInternal, ICurve, ICurveInternal, ImageAnalyzerController, ImageAnalyzerControllerInternal, IndicatorComponentController, IndicatorComponentControllerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, LayoutManager, LayoutManagerInternal, LinearGradient, LinearGradientInternal, LinearIndicatorController, LinearIndicatorControllerInternal, ChildrenMainSize, ChildrenMainSizeInternal, ListScroller, ListScrollerInternal, Scroller, ScrollerInternal, GestureEvent, GestureEventInternal, Matrix4Transit, Matrix4TransitInternal, Measurable, MeasurableInternal, NavDestinationContext, NavDestinationContextInternal, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Path2D, Path2DInternal, PathShape, PathShapeInternal, PatternLockController, PatternLockControllerInternal, PermissionRequest, PermissionRequestInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal, PixelMapMock, PixelMapMockInternal, ProgressMask, ProgressMaskInternal, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, SubmitEvent, SubmitEventInternal, RichEditorBaseController, RichEditorBaseControllerInternal, TextEditControllerEx, TextEditControllerExInternal, RichEditorController, RichEditorControllerInternal, StyledString, StyledStringInternal, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, StyledStringController, StyledStringControllerInternal, MutableStyledString, MutableStyledStringInternal, Scene, SceneInternal, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SearchController, SearchControllerInternal, TextContentControllerBase, TextContentControllerBaseInternal, ShapeClip, ShapeClipInternal, ShapeMask, ShapeMaskInternal, SpringMotion, SpringMotionInternal, SslErrorHandler, SslErrorHandlerInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsController, TabsControllerInternal, LengthMetrics, LengthMetricsInternal, TextAreaController, TextAreaControllerInternal, TextBaseController, TextBaseControllerInternal, TextClockController, TextClockControllerInternal, TextController, TextControllerInternal, TextInputController, TextInputControllerInternal, TextMenuItemId, TextMenuItemIdInternal, TextTimerController, TextTimerControllerInternal, TransitionEffect, TransitionEffectInternal, UICommonEvent, UICommonEventInternal, ClickEvent, ClickEventInternal, TouchEvent, TouchEventInternal, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, MouseEvent, MouseEventInternal, Context, ContextInternal, UIExtensionProxy, UIExtensionProxyInternal, UrlStyle, UrlStyleInternal, VideoController, VideoControllerInternal, View, ViewInternal, VisualEffect, VisualEffectInternal, WaterFlowSections, WaterFlowSectionsInternal, WebResourceRequest, WebResourceRequestInternal, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebResourceError, WebResourceErrorInternal, WebResourceResponse, WebResourceResponseInternal, WorkerEventListener, WorkerEventListenerInternal, BaseGestureEvent, BaseGestureEventInternal, NavigationTransitionProxy, NavigationTransitionProxyInternal, AppearSymbolEffect, AppearSymbolEffectInternal, BaseContext, BaseContextInternal, BaselineOffsetStyle, BaselineOffsetStyleInternal, BounceSymbolEffect, BounceSymbolEffectInternal, CanvasRenderer, CanvasRendererInternal, ImageData, ImageDataInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, ColorMetrics, ColorMetricsInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, DrawingRenderingContext, DrawingRenderingContextInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, TextShadowStyle, TextShadowStyleInternal, XComponentController, XComponentControllerInternal, DecorationStyle, DecorationStyleInternal, MenuItemConfiguration, MenuItemConfigurationInternal, RenderNode, RenderNodeInternal, RestrictedWorker, RestrictedWorkerInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, BaseEvent, BaseEventInternal, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal, BackgroundColorStyle, BackgroundColorStyleInternal, ParagraphStyle, ParagraphStyleInternal } from "./../AllMaterialized" -import { Color, BarState, EdgeEffect, Axis, NestedScrollMode, FoldStatus, CopyOptions, ResponseType, ScrollSource, Edge, TextAlign, OptionWidthMode, LineCapStyle, LineJoinStyle, Curve, FontWeight, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, TextCase, TextSelectableMode, FlexDirection, HitTestMode, ClickEffectLevel, BorderStyle, AppRotation, KeyType, KeySource, GradientDirection, HorizontalAlign, VerticalAlign, PixelRoundCalcPolicy, Alignment, TouchType, DialogButtonStyle, PlayMode, TitleHeight, ColoringStrategy, SharedTransitionEffectType, TransitionType, XComponentType, Placement, ArrowPointPosition, FlexWrap, FlexAlign, ItemAlign, MouseButton, MouseAction, IlluminatedType, AccessibilityHoverType, ImageSpanAlignment, ImageFit } from "./../enums" +import { AccessibilityHoverEvent, AccessibilityHoverEventInternal, AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, PixelMap, PixelMapInternal, BaseShape, BaseShapeInternal, CalendarController, CalendarControllerInternal, CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, Matrix2D, Matrix2DInternal, CircleShape, CircleShapeInternal, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ColorFilter, ColorFilterInternal, CommonShape, CommonShapeInternal, ComponentContent, ComponentContentInternal, ConsoleMessage, ConsoleMessageInternal, ControllerHandler, ControllerHandlerInternal, WebviewController, WebviewControllerInternal, CustomDialogController, CustomDialogControllerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, DragEvent, DragEventInternal, UnifiedData, UnifiedDataInternal, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, DrawModifier, DrawModifierInternal, EllipseShape, EllipseShapeInternal, EventResult, EventResultInternal, EventTargetInfo, EventTargetInfoInternal, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, Filter, FilterInternal, FrameNode, FrameNodeInternal, UIContext, UIContextInternal, FrictionMotion, FrictionMotionInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, GestureGroupInterface, GestureGroupInterfaceInternal, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureModifier, GestureModifierInternal, GestureRecognizer, GestureRecognizerInternal, GestureStyle, GestureStyleInternal, HttpAuthHandler, HttpAuthHandlerInternal, ICurve, ICurveInternal, ImageAnalyzerController, ImageAnalyzerControllerInternal, IndicatorComponentController, IndicatorComponentControllerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, LayoutManager, LayoutManagerInternal, LinearGradient, LinearGradientInternal, LinearIndicatorController, LinearIndicatorControllerInternal, ChildrenMainSize, ChildrenMainSizeInternal, ListScroller, ListScrollerInternal, Scroller, ScrollerInternal, GestureEvent, GestureEventInternal, LongPressRecognizer, LongPressRecognizerInternal, Matrix4Transit, Matrix4TransitInternal, NavDestinationContext, NavDestinationContextInternal, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Path2D, Path2DInternal, PathShape, PathShapeInternal, PatternLockController, PatternLockControllerInternal, PermissionRequest, PermissionRequestInternal, PinchRecognizer, PinchRecognizerInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal, PixelMapMock, PixelMapMockInternal, ProgressMask, ProgressMaskInternal, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, SubmitEvent, SubmitEventInternal, RichEditorBaseController, RichEditorBaseControllerInternal, TextEditControllerEx, TextEditControllerExInternal, RichEditorController, RichEditorControllerInternal, StyledString, StyledStringInternal, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, StyledStringController, StyledStringControllerInternal, MutableStyledString, MutableStyledStringInternal, RotationRecognizer, RotationRecognizerInternal, Scene, SceneInternal, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SearchController, SearchControllerInternal, TextContentControllerBase, TextContentControllerBaseInternal, ShapeClip, ShapeClipInternal, ShapeMask, ShapeMaskInternal, SpringMotion, SpringMotionInternal, SslErrorHandler, SslErrorHandlerInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, SwipeRecognizer, SwipeRecognizerInternal, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsController, TabsControllerInternal, TapRecognizer, TapRecognizerInternal, LengthMetrics, LengthMetricsInternal, TextAreaController, TextAreaControllerInternal, TextBaseController, TextBaseControllerInternal, TextClockController, TextClockControllerInternal, TextController, TextControllerInternal, TextInputController, TextInputControllerInternal, TextMenuItemId, TextMenuItemIdInternal, TextTimerController, TextTimerControllerInternal, TransitionEffect, TransitionEffectInternal, UICommonEvent, UICommonEventInternal, ClickEvent, ClickEventInternal, TouchEvent, TouchEventInternal, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, MouseEvent, MouseEventInternal, Context, ContextInternal, UIExtensionProxy, UIExtensionProxyInternal, UrlStyle, UrlStyleInternal, VideoController, VideoControllerInternal, View, ViewInternal, VisualEffect, VisualEffectInternal, WaterFlowSections, WaterFlowSectionsInternal, WebResourceRequest, WebResourceRequestInternal, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebResourceError, WebResourceErrorInternal, WebResourceResponse, WebResourceResponseInternal, WorkerEventListener, WorkerEventListenerInternal, AxisEvent, AxisEventInternal, FocusAxisEvent, FocusAxisEventInternal, BaseGestureEvent, BaseGestureEventInternal, NavigationTransitionProxy, NavigationTransitionProxyInternal, AppearSymbolEffect, AppearSymbolEffectInternal, BaseContext, BaseContextInternal, BaselineOffsetStyle, BaselineOffsetStyleInternal, BounceSymbolEffect, BounceSymbolEffectInternal, ColorMetrics, ColorMetricsInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, DrawingRenderingContext, DrawingRenderingContextInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal, ImageData, ImageDataInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, Measurable, MeasurableInternal, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, TextShadowStyle, TextShadowStyleInternal, VirtualScrollOptions, VirtualScrollOptionsInternal, XComponentController, XComponentControllerInternal, CanvasRenderer, CanvasRendererInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, DecorationStyle, DecorationStyleInternal, MenuItemConfiguration, MenuItemConfigurationInternal, RestrictedWorker, RestrictedWorkerInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, RenderNode, RenderNodeInternal, BaseEvent, BaseEventInternal, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, ParagraphStyle, ParagraphStyleInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal, BackgroundColorStyle, BackgroundColorStyleInternal } from "./../AllMaterialized" +import { Color, BarState, EdgeEffect, Axis, NestedScrollMode, FoldStatus, CopyOptions, ResponseType, ScrollSource, Edge, TextAlign, OptionWidthMode, LineCapStyle, LineJoinStyle, CrownSensitivity, Curve, PageFlipMode, FontWeight, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, TextCase, TextSelectableMode, FlexDirection, HitTestMode, ImageRepeat, ClickEffectLevel, CrownAction, BorderStyle, InteractionHand, AppRotation, KeyType, KeySource, GradientDirection, HorizontalAlign, VerticalAlign, PixelRoundCalcPolicy, Alignment, TouchType, DialogButtonStyle, PlayMode, DividerMode, XComponentType, ColoringStrategy, SharedTransitionEffectType, TransitionType, FlexWrap, FlexAlign, ItemAlign, TitleHeight, IlluminatedType, ArrowPointPosition, Placement, AxisModel, MouseButton, MouseAction, AccessibilityHoverType, AxisAction, ImageSpanAlignment, ImageFit } from "./../enums" import { Resource } from "./../resource" import { AnimationOptions } from "./../arkui-drawabledescriptor" import { CalendarPickerAttribute, CalendarAlign, CalendarOptions, CalendarDialogOptions } from "./../calendar_picker" @@ -65,37 +75,29 @@ import { CustomDialogControllerOptions } from "./../custom_dialog_controller" import { BlendMode, RectType, FontMetrics, FontMetricsFlags } from "./../arkui-drawing" import { Rect, DrawContext, LengthMetricsUnit, RoundRect, Circle, CommandPath, Size, Vector2, Vector3, BorderRadiuses_graphics, CornerRadius, Frame, LengthUnit, Edges, Matrix4 } from "./../arkui-graphics" import { TileMode, WaterRippleMode, FlyMode, BrightnessBlender } from "./../arkui-uieffect" -import { FullscreenInfo, PlaybackInfo, PreparedInfo, SeekMode, VideoOptions, PlaybackSpeed } from "./../video" -import { GestureMode, GestureType, GestureControl, GestureRecognizerState, GestureInterface, PanDirection, SwipeDirection, TapGestureParameters, GestureHandler, GesturePriority, GestureMask, GestureInfo, GestureJudgeResult, FingerInfo } from "./../gesture" -import { GestureStyleInterface, StyleOptions, StyledStringKey, SpanStyle, DecorationStyleInterface, UserDataSpan, CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo, TextStyleInterface, ImageAttachmentLayoutStyle, ImageAttachmentInterface, ParagraphStyleInterface, StyledStringValue } from "./../styled_string" +import { FullscreenInfo, PlaybackInfo, PreparedInfo, SeekMode, PosterOptions, VideoOptions, PlaybackSpeed } from "./../video" +import { GestureMode, GestureType, GestureControl, GestureRecognizerState, GestureInterface, LongPressGestureHandlerOptions, PanDirection, PanGestureHandlerOptions, PinchGestureHandlerOptions, RotationGestureHandlerOptions, SwipeDirection, SwipeGestureHandlerOptions, TapGestureParameters, GestureHandler, GesturePriority, GestureMask, GestureInfo, GestureJudgeResult, FingerInfo, BaseHandlerOptions } from "./../gesture" import { GridAttribute, GridDirection, GridItemAlignment, ComputedBarAttribute, GridLayoutOptions } from "./../grid" -import { ImageAnalyzerType, ImageAnalyzerConfig, ImageAIOptions } from "./../image_common" +import { ImageAnalyzerType, ImageAIOptions, ImageAnalyzerConfig } from "./../image_common" import { LineMetrics, TextBox, Affinity, FontStyle, EllipsisMode, FontFeature, FontVariation, RunMetrics, RectStyle, TextDirection, Decoration, TextDecorationType, TextDecorationStyle, TextShadow, text, TextBaseline } from "./../arkui-graphics-text" import { ColorStop, DataPanelOptions, DataPanelType, DataPanelShadowOptions } from "./../data_panel" import { TranslateOption, ScaleOption, RotateOption, PolyToPolyOptions } from "./../arkui-matrix4" -import { NavDestinationAttribute, NavDestinationMode, NavigationSystemTransitionType, NavDestinationCommonTitle, NavDestinationCustomTitle, RouteMapConfig } from "./../nav_destination" import { NodeController } from "./../ohos.arkui.node" import { Offset_componentutils, RotateResult, ScaleResult, TranslateResult, ComponentInfo, Matrix4Result } from "./../arkui-componentutils" import { PatternLockChallengeResult, CircleStyleOptions } from "./../pattern_lock" import { RootSceneSession } from "./../root_scene" import { RRect, WindowAnimationTarget } from "./../remote_window" -import { SelectAttribute, ArrowPosition, MenuAlignType, SelectOption } from "./../select" import { ContentModifier, CommonConfiguration, WrappedBuilder } from "./../arkui-wrapper-builder" -import { DividerOptions, TextPickerDialogOptions, TextPickerResult, TextCascadePickerRangeContent, TextPickerOptions, TextPickerRangeContent } from "./../text_picker" import { ShapeAttribute, ViewportRect } from "./../shape" import { DotIndicator } from "./../ArkDotIndicatorBuilder" import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SymbolGlyphAttribute, SymbolEffectStrategy, SymbolRenderingStrategy, EffectFillStyle } from "./../symbolglyph" -import { TextAttribute, TextOverflowOptions, TextSpanType, TextResponseType, TextOptions } from "./../text" +import { TextAttribute, TextOverflowOptions, TextMarqueeOptions, MarqueeState, TextSpanType, TextResponseType, TextOptions, MarqueeStartPolicy } from "./../text" import { TextMetrics, ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, CanvasTextAlign, CanvasTextBaseline, CanvasFillRule } from "./../canvas" -import { TimePickerResult, TimePickerOptions, TimePickerFormat, TimePickerDialogOptions } from "./../time_picker" import { WindowSceneAttribute } from "./../window_scene" import { CalendarRequestedData, CalendarSelectedDate, CalendarDay, MonthData, CurrentDayStyle, NonCurrentDayStyle, TodayStyle, WeekStyle, WorkStateStyle } from "./../calendar" -import { LocationButtonOnClickResult, LocationButtonOptions, LocationIconStyle, LocationDescription } from "./../location_button" -import { PasteButtonOnClickResult, PasteButtonOptions, PasteIconStyle, PasteDescription } from "./../paste_button" -import { SaveButtonOnClickResult, SaveButtonOptions, SaveIconStyle, SaveDescription } from "./../save_button" -import { DatePickerResult, DatePickerOptions, LunarSwitchStyle, DatePickerDialogOptions } from "./../date_picker" -import { DismissDialogAction, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions } from "./../action_sheet" +import { DatePickerResult, DatePickerOptions, DatePickerMode, LunarSwitchStyle, DatePickerDialogOptions } from "./../date_picker" +import { DismissDialogAction, ImmersiveMode, LevelMode, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions } from "./../action_sheet" import { FormCallbackInfo, FormInfo, FormDimension, FormRenderingMode, FormShape } from "./../form_component" import { Want } from "./../ohos.app.ability" import { PanelMode } from "./../panel" @@ -107,16 +109,17 @@ import { ASTCResource } from "./../media_cached_image" import { BarrierStyle, BarrierDirection, LocalizedBarrierStyle, LocalizedBarrierDirection, GuideLinePosition, GuideLineStyle } from "./../relative_container" import { BreakPoints, BreakpointsReference, GridRowColumnOption, GridRowSizeOption, GutterOption, GridRowOptions, GridRowDirection } from "./../grid_row" import { CircleOptions } from "./../circle" -import { ColumnOptions } from "./../column" +import { ColumnOptions, ColumnOptionsV2 } from "./../column" import { common2D } from "./../ohos.graphics.common2D" import { CustomDialogBuildOptions, CustomDialogControllerBuilder } from "./../arkui-custom-dialog" import { DateTimeOptions } from "./../arkui-intl" import { EllipseOptions } from "./../ellipse" import { FormLinkOptions } from "./../form_link" -import { GaugeOptions, GaugeIndicatorOptions, GaugeShadowOptions } from "./../gauge" +import { GaugeOptions, GaugeShadowOptions, GaugeIndicatorOptions } from "./../gauge" import { GridColColumnOption, GridColOptions } from "./../grid_col" import { GridContainerOptions, SizeType } from "./../grid_container" import { GridItemOptions, GridItemStyle } from "./../gridItem" +import { LevelOrder, TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, DialogAlignment, AlertDialogParamWithButtons, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithOptions, DialogButtonDirection } from "./../alert_dialog" import { LineOptions } from "./../line" import { ListItemGroupOptions, ListItemGroupStyle } from "./../list_item_group" import { MarqueeOptions } from "./../marquee" @@ -124,29 +127,26 @@ import { PathOptions } from "./../path" import { PolygonOptions } from "./../polygon" import { PolylineOptions } from "./../polyline" import { ProgressOptions, ProgressStyle, ProgressType, LinearStyleOptions, ScanEffectOptions, CommonProgressStyleOptions, ProgressStyleOptions, RingStyleOptions, ProgressStatus, CapsuleStyleOptions } from "./../progress" -import { RadioOptions, RadioIndicatorType, RadioStyle } from "./../radio" -import { RatingOptions, StarStyleOptions } from "./../rating" import { RoundedRectOptions, RectOptions } from "./../rect" import { RouteInfo } from "./../nav_router" -import { RowOptions } from "./../row" +import { RowOptions, RowOptionsV2 } from "./../row" import { ScrollBarOptions, ScrollBarDirection } from "./../scroll_bar" import { StackOptions } from "./../stack" -import { TabBarSymbol, BoardStyle, TabBarIconStyle, TabBarOptions, LayoutMode, SelectedMode } from "./../tab_content" +import { TabBarSymbol, TabBarIconStyle, TabBarOptions, BoardStyle, LayoutMode, SelectedMode } from "./../tab_content" import { TextClockOptions } from "./../text_clock" -import { TextStyle_alert_dialog, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, DialogAlignment, AlertDialogParamWithButtons, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithOptions, DialogButtonDirection } from "./../alert_dialog" import { TextTimerOptions } from "./../text_timer" import { ToggleOptions, ToggleType, SwitchStyle } from "./../toggle" import { TransformationMatrix } from "./../arkui-common" -import { UIExtensionOptions, DpiFollowStrategy } from "./../ui_extension_component" -import { BadgeStyle, BadgeParamWithNumber, BadgeParam, BadgeParamWithString } from "./../badge" +import { UIExtensionOptions, DpiFollowStrategy, WindowModeFollowStrategy } from "./../ui_extension_component" import { ButtonIconOptions, ButtonStyle } from "./../sidebar" -import { ColumnSplitDividerStyle } from "./../column_split" -import { Indicator } from "./../ArkIndicatorBuilder" import { FlexSpaceOptions, FlexOptions } from "./../flex" import { FocusBoxStyle } from "./../focus" import { ImageFrameInfo } from "./../image_animator" import { MenuItemGroupOptions } from "./../menu_item_group" import { MenuItemOptions } from "./../menu_item" +import { BadgeStyle, BadgeParamWithNumber, BadgeParam, BadgeParamWithString } from "./../badge" +import { ColumnSplitDividerStyle } from "./../column_split" +import { Indicator } from "./../ArkIndicatorBuilder" import { TextBackgroundStyle } from "./../span" import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" @@ -188,321 +188,320 @@ export class Serializer extends SerializerBase { constructor() { super() } - writeAlphabetIndexerAttribute(value: AlphabetIndexerAttribute): void { + public writeAlphabetIndexerAttribute(value: AlphabetIndexerAttribute): void { } - writeAnimatedDrawableDescriptor(value: AnimatedDrawableDescriptor): void { + public writeAnimatedDrawableDescriptor(value: AnimatedDrawableDescriptor): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBaseShape(value: BaseShape): void { + public writeBaseShape(value: BaseShape): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCalendarController(value: CalendarController): void { + public writeCalendarController(value: CalendarController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCalendarPickerAttribute(value: CalendarPickerAttribute): void { + public writeCalendarPickerAttribute(value: CalendarPickerAttribute): void { } - writeCanvasGradient(value: CanvasGradient): void { + public writeCanvasGradient(value: CanvasGradient): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCanvasPath(value: CanvasPath): void { + public writeCanvasPath(value: CanvasPath): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCanvasPattern(value: CanvasPattern): void { + public writeCanvasPattern(value: CanvasPattern): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCircleShape(value: CircleShape): void { + public writeCircleShape(value: CircleShape): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeClientAuthenticationHandler(value: ClientAuthenticationHandler): void { + public writeClientAuthenticationHandler(value: ClientAuthenticationHandler): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeColorFilter(value: ColorFilter): void { + public writeColorContent(value: ColorContent): void { + } + public writeColorFilter(value: ColorFilter): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCommonShape(value: CommonShape): void { + public writeCommonShape(value: CommonShape): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeComponent3DAttribute(value: Component3DAttribute): void { + public writeComponent3DAttribute(value: Component3DAttribute): void { } - writeComponentContent(value: ComponentContent): void { + public writeComponentContent(value: ComponentContent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeConsoleMessage(value: ConsoleMessage): void { + public writeConsoleMessage(value: ConsoleMessage): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeControllerHandler(value: ControllerHandler): void { + public writeControllerHandler(value: ControllerHandler): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCustomDialogController(value: CustomDialogController): void { + public writeCustomDialogController(value: CustomDialogController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDataResubmissionHandler(value: DataResubmissionHandler): void { + public writeDataResubmissionHandler(value: DataResubmissionHandler): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDragEvent(value: DragEvent): void { + public writeDragEvent(value: DragEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDrawableDescriptor(value: DrawableDescriptor): void { + public writeDrawableDescriptor(value: DrawableDescriptor): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDrawingCanvas(value: DrawingCanvas): void { + public writeDrawingCanvas(value: DrawingCanvas): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDrawingColorFilter(value: DrawingColorFilter): void { + public writeDrawingColorFilter(value: DrawingColorFilter): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDrawingLattice(value: DrawingLattice): void { + public writeDrawingLattice(value: DrawingLattice): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDrawModifier(value: DrawModifier): void { + public writeDrawModifier(value: DrawModifier): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeEdgeEffectOptions(value: EdgeEffectOptions): void { - let valueSerializer: Serializer = this - const value_alwaysEnabled = value.alwaysEnabled - valueSerializer.writeBoolean(value_alwaysEnabled) - } - writeEllipseShape(value: EllipseShape): void { + public writeEllipseShape(value: EllipseShape): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeEventResult(value: EventResult): void { + public writeEventResult(value: EventResult): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeEventTargetInfo(value: EventTargetInfo): void { + public writeEventTargetInfo(value: EventTargetInfo): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFileSelectorParam(value: FileSelectorParam): void { + public writeFileSelectorParam(value: FileSelectorParam): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFileSelectorResult(value: FileSelectorResult): void { + public writeFileSelectorResult(value: FileSelectorResult): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFilter(value: Filter): void { + public writeFilter(value: Filter): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFrameNode(value: FrameNode): void { + public writeFrameNode(value: FrameNode): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFrictionMotion(value: FrictionMotion): void { + public writeFrictionMotion(value: FrictionMotion): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFullScreenExitHandler(value: FullScreenExitHandler): void { + public writeFullScreenExitHandler(value: FullScreenExitHandler): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeFullscreenInfo(value: FullscreenInfo): void { + public writeFullscreenInfo(value: FullscreenInfo): void { let valueSerializer: Serializer = this const value_fullscreen = value.fullscreen valueSerializer.writeBoolean(value_fullscreen) } - writeGestureGroupInterface(value: GestureGroupInterface): void { + public writeGestureGroupInterface(value: GestureGroupInterface): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeGestureModifier(value: GestureModifier): void { + public writeGestureModifier(value: GestureModifier): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeGestureRecognizer(value: GestureRecognizer): void { + public writeGestureRecognizer(value: GestureRecognizer): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeGestureStyle(value: GestureStyle): void { + public writeGestureStyle(value: GestureStyle): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeGridAttribute(value: GridAttribute): void { + public writeGridAttribute(value: GridAttribute): void { } - writeHttpAuthHandler(value: HttpAuthHandler): void { + public writeHttpAuthHandler(value: HttpAuthHandler): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeICurve(value: ICurve): void { + public writeICurve(value: ICurve): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeImageAnalyzerController(value: ImageAnalyzerController): void { + public writeImageAnalyzerController(value: ImageAnalyzerController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeImageModifier(value: ImageModifier): void { + public writeImageModifier(value: ImageModifier): void { } - writeIndicatorComponentController(value: IndicatorComponentController): void { + public writeIndicatorComponentController(value: IndicatorComponentController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeJsGeolocation(value: JsGeolocation): void { + public writeJsGeolocation(value: JsGeolocation): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeJsResult(value: JsResult): void { + public writeJsResult(value: JsResult): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLayeredDrawableDescriptor(value: LayeredDrawableDescriptor): void { + public writeLayeredDrawableDescriptor(value: LayeredDrawableDescriptor): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLayoutManager(value: LayoutManager): void { + public writeLayoutManager(value: LayoutManager): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLinearGradient(value: LinearGradient): void { + public writeLayoutPolicy(value: LayoutPolicy): void { + } + public writeLinearGradient(value: LinearGradient): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLinearIndicatorController(value: LinearIndicatorController): void { + public writeLinearIndicatorController(value: LinearIndicatorController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeListAttribute(value: ListAttribute): void { + public writeListAttribute(value: ListAttribute): void { } - writeListScroller(value: ListScroller): void { + public writeListScroller(value: ListScroller): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLongPressGestureInterface(value: LongPressGestureInterface): void { + public writeLongPressGestureInterface(value: LongPressGestureInterface): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeMatrix4Transit(value: Matrix4Transit): void { + public writeLongPressRecognizer(value: LongPressRecognizer): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeMeasurable(value: Measurable): void { + public writeMatrix4Transit(value: Matrix4Transit): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNativeMediaPlayerConfig(value: NativeMediaPlayerConfig): void { + public writeNativeMediaPlayerConfig(value: NativeMediaPlayerConfig): void { let valueSerializer: Serializer = this const value_enable = value.enable valueSerializer.writeBoolean(value_enable) const value_shouldOverlay = value.shouldOverlay valueSerializer.writeBoolean(value_shouldOverlay) } - writeNavDestinationAttribute(value: NavDestinationAttribute): void { + public writeNavDestinationAttribute(value: NavDestinationAttribute): void { } - writeNavigationAttribute(value: NavigationAttribute): void { + public writeNavigationAttribute(value: NavigationAttribute): void { } - writeNavPathStack(value: NavPathStack): void { + public writeNavPathStack(value: NavPathStack): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNestedScrollOptions(value: NestedScrollOptions): void { + public writeNestedScrollOptions(value: NestedScrollOptions): void { let valueSerializer: Serializer = this const value_scrollForward = value.scrollForward valueSerializer.writeInt32(value_scrollForward.valueOf()) const value_scrollBackward = value.scrollBackward valueSerializer.writeInt32(value_scrollBackward.valueOf()) } - writeNodeController(value: NodeController): void { + public writeNodeController(value: NodeController): void { } - writeOffscreenCanvas(value: OffscreenCanvas): void { + public writeOffscreenCanvas(value: OffscreenCanvas): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeOffset_componentutils(value: Offset_componentutils): void { + public writeOffset_componentutils(value: Offset_componentutils): void { let valueSerializer: Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) const value_y = value.y valueSerializer.writeNumber(value_y) } - writeOffsetResult(value: OffsetResult): void { + public writeOffsetResult(value: OffsetResult): void { let valueSerializer: Serializer = this const value_xOffset = value.xOffset valueSerializer.writeNumber(value_xOffset) const value_yOffset = value.yOffset valueSerializer.writeNumber(value_yOffset) } - writeOnAudioStateChangedEvent(value: OnAudioStateChangedEvent): void { + public writeOnAudioStateChangedEvent(value: OnAudioStateChangedEvent): void { let valueSerializer: Serializer = this const value_playing = value.playing valueSerializer.writeBoolean(value_playing) } - writeOnConsoleEvent(value: OnConsoleEvent): void { + public writeOnConsoleEvent(value: OnConsoleEvent): void { let valueSerializer: Serializer = this const value_message = value.message valueSerializer.writeConsoleMessage(value_message) } - writeOnDataResubmittedEvent(value: OnDataResubmittedEvent): void { + public writeOnDataResubmittedEvent(value: OnDataResubmittedEvent): void { let valueSerializer: Serializer = this const value_handler = value.handler valueSerializer.writeDataResubmissionHandler(value_handler) } - writeOnFirstContentfulPaintEvent(value: OnFirstContentfulPaintEvent): void { + public writeOnFirstContentfulPaintEvent(value: OnFirstContentfulPaintEvent): void { let valueSerializer: Serializer = this const value_navigationStartTick = value.navigationStartTick valueSerializer.writeNumber(value_navigationStartTick) const value_firstContentfulPaintMs = value.firstContentfulPaintMs valueSerializer.writeNumber(value_firstContentfulPaintMs) } - writeOnFoldStatusChangeInfo(value: OnFoldStatusChangeInfo): void { + public writeOnFoldStatusChangeInfo(value: OnFoldStatusChangeInfo): void { let valueSerializer: Serializer = this const value_foldStatus = value.foldStatus valueSerializer.writeInt32(value_foldStatus.valueOf()) } - writeOnOverScrollEvent(value: OnOverScrollEvent): void { + public writeOnOverScrollEvent(value: OnOverScrollEvent): void { let valueSerializer: Serializer = this const value_xOffset = value.xOffset valueSerializer.writeNumber(value_xOffset) const value_yOffset = value.yOffset valueSerializer.writeNumber(value_yOffset) } - writeOnProgressChangeEvent(value: OnProgressChangeEvent): void { + public writeOnProgressChangeEvent(value: OnProgressChangeEvent): void { let valueSerializer: Serializer = this const value_newProgress = value.newProgress valueSerializer.writeNumber(value_newProgress) } - writeOnScaleChangeEvent(value: OnScaleChangeEvent): void { + public writeOnScaleChangeEvent(value: OnScaleChangeEvent): void { let valueSerializer: Serializer = this const value_oldScale = value.oldScale valueSerializer.writeNumber(value_oldScale) const value_newScale = value.newScale valueSerializer.writeNumber(value_newScale) } - writeOnScrollEvent(value: OnScrollEvent): void { + public writeOnScrollEvent(value: OnScrollEvent): void { let valueSerializer: Serializer = this const value_xOffset = value.xOffset valueSerializer.writeNumber(value_xOffset) const value_yOffset = value.yOffset valueSerializer.writeNumber(value_yOffset) } - writeOnScrollFrameBeginHandlerResult(value: OnScrollFrameBeginHandlerResult): void { + public writeOnScrollFrameBeginHandlerResult(value: OnScrollFrameBeginHandlerResult): void { let valueSerializer: Serializer = this const value_offsetRemain = value.offsetRemain valueSerializer.writeNumber(value_offsetRemain) } - writeOnSearchResultReceiveEvent(value: OnSearchResultReceiveEvent): void { + public writeOnSearchResultReceiveEvent(value: OnSearchResultReceiveEvent): void { let valueSerializer: Serializer = this const value_activeMatchOrdinal = value.activeMatchOrdinal valueSerializer.writeNumber(value_activeMatchOrdinal) @@ -511,83 +510,92 @@ export class Serializer extends SerializerBase { const value_isDoneCounting = value.isDoneCounting valueSerializer.writeBoolean(value_isDoneCounting) } - writeOnShowFileSelectorEvent(value: OnShowFileSelectorEvent): void { + public writeOnShowFileSelectorEvent(value: OnShowFileSelectorEvent): void { let valueSerializer: Serializer = this const value_result = value.result valueSerializer.writeFileSelectorResult(value_result) const value_fileSelector = value.fileSelector valueSerializer.writeFileSelectorParam(value_fileSelector) } - writePanGestureInterface(value: PanGestureInterface): void { + public writePanGestureInterface(value: PanGestureInterface): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePanGestureOptions(value: PanGestureOptions): void { + public writePanGestureOptions(value: PanGestureOptions): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePanRecognizer(value: PanRecognizer): void { + public writePanRecognizer(value: PanRecognizer): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePath2D(value: Path2D): void { + public writePath2D(value: Path2D): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePathShape(value: PathShape): void { + public writePathShape(value: PathShape): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePatternLockController(value: PatternLockController): void { + public writePatternLockController(value: PatternLockController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePermissionRequest(value: PermissionRequest): void { + public writePermissionRequest(value: PermissionRequest): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePinchGestureInterface(value: PinchGestureInterface): void { + public writePinchGestureInterface(value: PinchGestureInterface): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePixelMap(value: PixelMap): void { + public writePinchRecognizer(value: PinchRecognizer): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePixelMapDrawableDescriptor(value: PixelMapDrawableDescriptor): void { + public writePixelMap(value: PixelMap): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePixelMapMock(value: PixelMapMock): void { + public writePixelMapDrawableDescriptor(value: PixelMapDrawableDescriptor): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePlaybackInfo(value: PlaybackInfo): void { + public writePixelMapMock(value: PixelMapMock): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writePlaybackInfo(value: PlaybackInfo): void { let valueSerializer: Serializer = this const value_time = value.time valueSerializer.writeNumber(value_time) } - writePositionWithAffinity(value: PositionWithAffinity): void { + public writePopupStateChangeParam(value: PopupStateChangeParam): void { + let valueSerializer: Serializer = this + const value_isVisible = value.isVisible + valueSerializer.writeBoolean(value_isVisible) + } + public writePositionWithAffinity(value: PositionWithAffinity): void { let valueSerializer: Serializer = this const value_position = value.position valueSerializer.writeNumber(value_position) const value_affinity = value.affinity valueSerializer.writeInt32(value_affinity.valueOf()) } - writePreparedInfo(value: PreparedInfo): void { + public writePreparedInfo(value: PreparedInfo): void { let valueSerializer: Serializer = this const value_duration = value.duration valueSerializer.writeNumber(value_duration) } - writeProgressMask(value: ProgressMask): void { + public writeProgressMask(value: ProgressMask): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePulseSymbolEffect(value: PulseSymbolEffect): void { + public writePulseSymbolEffect(value: PulseSymbolEffect): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRect(value: Rect): void { + public writeRect(value: Rect): void { let valueSerializer: Serializer = this const value_left = value.left valueSerializer.writeNumber(value_left) @@ -598,7 +606,7 @@ export class Serializer extends SerializerBase { const value_bottom = value.bottom valueSerializer.writeNumber(value_bottom) } - writeRectResult(value: RectResult): void { + public writeRectResult(value: RectResult): void { let valueSerializer: Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -609,37 +617,37 @@ export class Serializer extends SerializerBase { const value_height = value.height valueSerializer.writeNumber(value_height) } - writeRectShape(value: RectShape): void { + public writeRectShape(value: RectShape): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRichEditorAttribute(value: RichEditorAttribute): void { + public writeRichEditorAttribute(value: RichEditorAttribute): void { } - writeRichEditorBaseController(value: RichEditorBaseController): void { + public writeRichEditorBaseController(value: RichEditorBaseController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRichEditorController(value: RichEditorController): void { + public writeRichEditorController(value: RichEditorController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRichEditorOptions(value: RichEditorOptions): void { + public writeRichEditorOptions(value: RichEditorOptions): void { let valueSerializer: Serializer = this const value_controller = value.controller valueSerializer.writeRichEditorController(value_controller) } - writeRichEditorStyledStringController(value: RichEditorStyledStringController): void { + public writeRichEditorStyledStringController(value: RichEditorStyledStringController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRichEditorStyledStringOptions(value: RichEditorStyledStringOptions): void { + public writeRichEditorStyledStringOptions(value: RichEditorStyledStringOptions): void { let valueSerializer: Serializer = this const value_controller = value.controller valueSerializer.writeRichEditorStyledStringController(value_controller) } - writeRootSceneSession(value: RootSceneSession): void { + public writeRootSceneSession(value: RootSceneSession): void { } - writeRotateResult(value: RotateResult): void { + public writeRotateResult(value: RotateResult): void { let valueSerializer: Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -654,11 +662,15 @@ export class Serializer extends SerializerBase { const value_angle = value.angle valueSerializer.writeNumber(value_angle) } - writeRotationGestureInterface(value: RotationGestureInterface): void { + public writeRotationGestureInterface(value: RotationGestureInterface): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeRotationRecognizer(value: RotationRecognizer): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRRect(value: RRect): void { + public writeRRect(value: RRect): void { let valueSerializer: Serializer = this const value_left = value.left valueSerializer.writeNumber(value_left) @@ -671,7 +683,7 @@ export class Serializer extends SerializerBase { const value_radius = value.radius valueSerializer.writeNumber(value_radius) } - writeScaleResult(value: ScaleResult): void { + public writeScaleResult(value: ScaleResult): void { let valueSerializer: Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -684,84 +696,84 @@ export class Serializer extends SerializerBase { const value_centerY = value.centerY valueSerializer.writeNumber(value_centerY) } - writeScene(value: Scene): void { + public writeScene(value: Scene): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeScreenCaptureHandler(value: ScreenCaptureHandler): void { + public writeScreenCaptureHandler(value: ScreenCaptureHandler): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeScrollableTargetInfo(value: ScrollableTargetInfo): void { + public writeScrollableTargetInfo(value: ScrollableTargetInfo): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeScrollAttribute(value: ScrollAttribute): void { + public writeScrollAttribute(value: ScrollAttribute): void { } - writeScroller(value: Scroller): void { + public writeScroller(value: Scroller): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeScrollMotion(value: ScrollMotion): void { + public writeScrollMotion(value: ScrollMotion): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSearchAttribute(value: SearchAttribute): void { + public writeSearchAttribute(value: SearchAttribute): void { } - writeSearchController(value: SearchController): void { + public writeSearchController(value: SearchController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSelectAttribute(value: SelectAttribute): void { + public writeSelectAttribute(value: SelectAttribute): void { } - writeShapeAttribute(value: ShapeAttribute): void { + public writeShapeAttribute(value: ShapeAttribute): void { } - writeShapeClip(value: ShapeClip): void { + public writeShapeClip(value: ShapeClip): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeShapeMask(value: ShapeMask): void { + public writeShapeMask(value: ShapeMask): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSize(value: Size): void { + public writeSize(value: Size): void { let valueSerializer: Serializer = this const value_width = value.width valueSerializer.writeNumber(value_width) const value_height = value.height valueSerializer.writeNumber(value_height) } - writeSliderAttribute(value: SliderAttribute): void { + public writeSliderAttribute(value: SliderAttribute): void { } - writeSpringMotion(value: SpringMotion): void { + public writeSpringMotion(value: SpringMotion): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSpringProp(value: SpringProp): void { + public writeSpringProp(value: SpringProp): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSslErrorHandler(value: SslErrorHandler): void { + public writeSslErrorHandler(value: SslErrorHandler): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeStyledString(value: StyledString): void { + public writeStyledString(value: StyledString): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeStyledStringController(value: StyledStringController): void { + public writeStyledStringController(value: StyledStringController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSubmitEvent(value: SubmitEvent): void { + public writeSubmitEvent(value: SubmitEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSwipeGestureInterface(value: SwipeGestureInterface): void { + public writeSwipeGestureInterface(value: SwipeGestureInterface): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSwiperAnimationEvent(value: SwiperAnimationEvent): void { + public writeSwiperAnimationEvent(value: SwiperAnimationEvent): void { let valueSerializer: Serializer = this const value_currentOffset = value.currentOffset valueSerializer.writeNumber(value_currentOffset) @@ -770,29 +782,42 @@ export class Serializer extends SerializerBase { const value_velocity = value.velocity valueSerializer.writeNumber(value_velocity) } - writeSwiperAttribute(value: SwiperAttribute): void { + public writeSwiperAttribute(value: SwiperAttribute): void { + } + public writeSwiperContentTransitionProxy(value: SwiperContentTransitionProxy): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeSwiperContentWillScrollResult(value: SwiperContentWillScrollResult): void { + let valueSerializer: Serializer = this + const value_currentIndex = value.currentIndex + valueSerializer.writeNumber(value_currentIndex) + const value_comingIndex = value.comingIndex + valueSerializer.writeNumber(value_comingIndex) + const value_offset = value.offset + valueSerializer.writeNumber(value_offset) } - writeSwiperContentTransitionProxy(value: SwiperContentTransitionProxy): void { + public writeSwiperController(value: SwiperController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSwiperController(value: SwiperController): void { + public writeSwipeRecognizer(value: SwipeRecognizer): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSymbolEffect(value: SymbolEffect): void { + public writeSymbolEffect(value: SymbolEffect): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeSymbolGlyphAttribute(value: SymbolGlyphAttribute): void { + public writeSymbolGlyphAttribute(value: SymbolGlyphAttribute): void { } - writeSymbolGlyphModifier(value: SymbolGlyphModifier): void { + public writeSymbolGlyphModifier(value: SymbolGlyphModifier): void { } - writeTabContentTransitionProxy(value: TabContentTransitionProxy): void { + public writeTabContentTransitionProxy(value: TabContentTransitionProxy): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTabsAnimationEvent(value: TabsAnimationEvent): void { + public writeTabsAnimationEvent(value: TabsAnimationEvent): void { let valueSerializer: Serializer = this const value_currentOffset = value.currentOffset valueSerializer.writeNumber(value_currentOffset) @@ -801,55 +826,59 @@ export class Serializer extends SerializerBase { const value_velocity = value.velocity valueSerializer.writeNumber(value_velocity) } - writeTabsAttribute(value: TabsAttribute): void { + public writeTabsAttribute(value: TabsAttribute): void { + } + public writeTabsController(value: TabsController): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) } - writeTabsController(value: TabsController): void { + public writeTapGestureInterface(value: TapGestureInterface): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTapGestureInterface(value: TapGestureInterface): void { + public writeTapRecognizer(value: TapRecognizer): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextAreaAttribute(value: TextAreaAttribute): void { + public writeTextAreaAttribute(value: TextAreaAttribute): void { } - writeTextAreaController(value: TextAreaController): void { + public writeTextAreaController(value: TextAreaController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextAttribute(value: TextAttribute): void { + public writeTextAttribute(value: TextAttribute): void { } - writeTextBaseController(value: TextBaseController): void { + public writeTextBaseController(value: TextBaseController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextClockController(value: TextClockController): void { + public writeTextClockController(value: TextClockController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextContentControllerBase(value: TextContentControllerBase): void { + public writeTextContentControllerBase(value: TextContentControllerBase): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextController(value: TextController): void { + public writeTextController(value: TextController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextEditControllerEx(value: TextEditControllerEx): void { + public writeTextEditControllerEx(value: TextEditControllerEx): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextInputAttribute(value: TextInputAttribute): void { + public writeTextInputAttribute(value: TextInputAttribute): void { } - writeTextInputController(value: TextInputController): void { + public writeTextInputController(value: TextInputController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextMenuItemId(value: TextMenuItemId): void { + public writeTextMenuItemId(value: TextMenuItemId): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextMetrics(value: TextMetrics): void { + public writeTextMetrics(value: TextMetrics): void { let valueSerializer: Serializer = this const value_actualBoundingBoxAscent = value.actualBoundingBoxAscent valueSerializer.writeNumber(value_actualBoundingBoxAscent) @@ -878,23 +907,23 @@ export class Serializer extends SerializerBase { const value_height = value.height valueSerializer.writeNumber(value_height) } - writeTextModifier(value: TextModifier): void { + public writeTextModifier(value: TextModifier): void { } - writeTextOptions(value: TextOptions): void { + public writeTextOptions(value: TextOptions): void { let valueSerializer: Serializer = this const value_controller = value.controller valueSerializer.writeTextController(value_controller) } - writeTextOverflowOptions(value: TextOverflowOptions): void { + public writeTextOverflowOptions(value: TextOverflowOptions): void { let valueSerializer: Serializer = this const value_overflow = value.overflow valueSerializer.writeInt32(value_overflow.valueOf()) } - writeTextTimerController(value: TextTimerController): void { + public writeTextTimerController(value: TextTimerController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTimePickerResult(value: TimePickerResult): void { + public writeTimePickerResult(value: TimePickerResult): void { let valueSerializer: Serializer = this const value_hour = value.hour valueSerializer.writeNumber(value_hour) @@ -903,7 +932,7 @@ export class Serializer extends SerializerBase { const value_second = value.second valueSerializer.writeNumber(value_second) } - writeTouchTestInfo(value: TouchTestInfo): void { + public writeTouchTestInfo(value: TouchTestInfo): void { let valueSerializer: Serializer = this const value_windowX = value.windowX valueSerializer.writeNumber(value_windowX) @@ -922,11 +951,11 @@ export class Serializer extends SerializerBase { const value_id = value.id valueSerializer.writeString(value_id) } - writeTransitionEffect(value: TransitionEffect): void { + public writeTransitionEffect(value: TransitionEffect): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTranslateResult(value: TranslateResult): void { + public writeTranslateResult(value: TranslateResult): void { let valueSerializer: Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -935,38 +964,38 @@ export class Serializer extends SerializerBase { const value_z = value.z valueSerializer.writeNumber(value_z) } - writeUICommonEvent(value: UICommonEvent): void { + public writeUICommonEvent(value: UICommonEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeUIContext(value: UIContext): void { + public writeUIContext(value: UIContext): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeUIExtensionProxy(value: UIExtensionProxy): void { + public writeUIExtensionProxy(value: UIExtensionProxy): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeUIGestureEvent(value: UIGestureEvent): void { + public writeUIGestureEvent(value: UIGestureEvent): void { } - writeUnifiedData(value: UnifiedData): void { + public writeUnifiedData(value: UnifiedData): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeUrlStyle(value: UrlStyle): void { + public writeUrlStyle(value: UrlStyle): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeUserDataSpan(value: UserDataSpan): void { + public writeUserDataSpan(value: UserDataSpan): void { } - writeVector2(value: Vector2): void { + public writeVector2(value: Vector2): void { let valueSerializer: Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) const value_y = value.y valueSerializer.writeNumber(value_y) } - writeVector3(value: Vector3): void { + public writeVector3(value: Vector3): void { let valueSerializer: Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -975,70 +1004,70 @@ export class Serializer extends SerializerBase { const value_z = value.z valueSerializer.writeNumber(value_z) } - writeVideoController(value: VideoController): void { + public writeVideoController(value: VideoController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeView(value: View): void { + public writeView(value: View): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeVisualEffect(value: VisualEffect): void { + public writeVisualEffect(value: VisualEffect): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWaterFlowAttribute(value: WaterFlowAttribute): void { + public writeWaterFlowAttribute(value: WaterFlowAttribute): void { } - writeWaterFlowSections(value: WaterFlowSections): void { + public writeWaterFlowSections(value: WaterFlowSections): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebAttribute(value: WebAttribute): void { + public writeWebAttribute(value: WebAttribute): void { } - writeWebContextMenuParam(value: WebContextMenuParam): void { + public writeWebContextMenuParam(value: WebContextMenuParam): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebContextMenuResult(value: WebContextMenuResult): void { + public writeWebContextMenuResult(value: WebContextMenuResult): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebController(value: WebController): void { + public writeWebController(value: WebController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebCookie(value: WebCookie): void { + public writeWebCookie(value: WebCookie): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebHeader(value: WebHeader): void { + public writeWebHeader(value: WebHeader): void { let valueSerializer: Serializer = this const value_headerKey = value.headerKey valueSerializer.writeString(value_headerKey) const value_headerValue = value.headerValue valueSerializer.writeString(value_headerValue) } - writeWebKeyboardController(value: WebKeyboardController): void { + public writeWebKeyboardController(value: WebKeyboardController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebResourceError(value: WebResourceError): void { + public writeWebResourceError(value: WebResourceError): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebResourceRequest(value: WebResourceRequest): void { + public writeWebResourceRequest(value: WebResourceRequest): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebResourceResponse(value: WebResourceResponse): void { + public writeWebResourceResponse(value: WebResourceResponse): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWebviewController(value: WebviewController): void { + public writeWebviewController(value: WebviewController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeWindowAnimationTarget(value: WindowAnimationTarget): void { + public writeWindowAnimationTarget(value: WindowAnimationTarget): void { let valueSerializer: Serializer = this const value_bundleName = value.bundleName valueSerializer.writeString(value_bundleName) @@ -1049,15 +1078,15 @@ export class Serializer extends SerializerBase { const value_missionId = value.missionId valueSerializer.writeNumber(value_missionId) } - writeWindowSceneAttribute(value: WindowSceneAttribute): void { + public writeWindowSceneAttribute(value: WindowSceneAttribute): void { } - writeWithThemeAttribute(value: WithThemeAttribute): void { + public writeWithThemeAttribute(value: WithThemeAttribute): void { } - writeWorkerEventListener(value: WorkerEventListener): void { + public writeWorkerEventListener(value: WorkerEventListener): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeAccessibilityOptions(value: AccessibilityOptions): void { + public writeAccessibilityOptions(value: AccessibilityOptions): void { let valueSerializer: Serializer = this const value_accessibilityPreferred = value.accessibilityPreferred let value_accessibilityPreferred_type: int32 = RuntimeType.UNDEFINED @@ -1068,7 +1097,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_accessibilityPreferred_value) } } - writeAdsBlockedDetails(value: AdsBlockedDetails): void { + public writeAdsBlockedDetails(value: AdsBlockedDetails): void { let valueSerializer: Serializer = this const value_url = value.url valueSerializer.writeString(value_url) @@ -1079,7 +1108,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_adsBlocked_element) } } - writeAlphabetIndexerOptions(value: AlphabetIndexerOptions): void { + public writeAlphabetIndexerOptions(value: AlphabetIndexerOptions): void { let valueSerializer: Serializer = this const value_arrayValue = value.arrayValue valueSerializer.writeInt32(value_arrayValue.length) @@ -1090,7 +1119,7 @@ export class Serializer extends SerializerBase { const value_selected = value.selected valueSerializer.writeNumber(value_selected) } - writeAnimationOptions(value: AnimationOptions): void { + public writeAnimationOptions(value: AnimationOptions): void { let valueSerializer: Serializer = this const value_duration = value.duration let value_duration_type: int32 = RuntimeType.UNDEFINED @@ -1109,11 +1138,11 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_iterations_value) } } - writeAppearSymbolEffect(value: AppearSymbolEffect): void { + public writeAppearSymbolEffect(value: AppearSymbolEffect): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeASTCResource(value: ASTCResource): void { + public writeASTCResource(value: ASTCResource): void { let valueSerializer: Serializer = this const value_sources = value.sources valueSerializer.writeInt32(value_sources.length) @@ -1124,14 +1153,38 @@ export class Serializer extends SerializerBase { const value_column = value.column valueSerializer.writeNumber(value_column) } - writeBackgroundBrightnessOptions(value: BackgroundBrightnessOptions): void { + public writeAutoPlayOptions(value: AutoPlayOptions): void { + let valueSerializer: Serializer = this + const value_stopWhenTouched = value.stopWhenTouched + valueSerializer.writeBoolean(value_stopWhenTouched) + } + public writeBackgroundBrightnessOptions(value: BackgroundBrightnessOptions): void { let valueSerializer: Serializer = this const value_rate = value.rate valueSerializer.writeNumber(value_rate) const value_lightUpDegree = value.lightUpDegree valueSerializer.writeNumber(value_lightUpDegree) } - writeBarrierStyle(value: BarrierStyle): void { + public writeBackgroundImageOptions(value: BackgroundImageOptions): void { + let valueSerializer: Serializer = this + const value_syncLoad = value.syncLoad + let value_syncLoad_type: int32 = RuntimeType.UNDEFINED + value_syncLoad_type = runtimeType(value_syncLoad) + valueSerializer.writeInt8(value_syncLoad_type) + if ((RuntimeType.UNDEFINED) != (value_syncLoad_type)) { + const value_syncLoad_value = value_syncLoad! + valueSerializer.writeBoolean(value_syncLoad_value) + } + const value_repeat = value.repeat + let value_repeat_type: int32 = RuntimeType.UNDEFINED + value_repeat_type = runtimeType(value_repeat) + valueSerializer.writeInt8(value_repeat_type) + if ((RuntimeType.UNDEFINED) != (value_repeat_type)) { + const value_repeat_value = value_repeat! + valueSerializer.writeInt32(value_repeat_value.valueOf()) + } + } + public writeBarrierStyle(value: BarrierStyle): void { let valueSerializer: Serializer = this const value_id = value.id valueSerializer.writeString(value_id) @@ -1144,15 +1197,15 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_referencedId_element) } } - writeBaseContext(value: BaseContext): void { + public writeBaseContext(value: BaseContext): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBaselineOffsetStyle(value: BaselineOffsetStyle): void { + public writeBaselineOffsetStyle(value: BaselineOffsetStyle): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBias(value: Bias): void { + public writeBias(value: Bias): void { let valueSerializer: Serializer = this const value_horizontal = value.horizontal let value_horizontal_type: int32 = RuntimeType.UNDEFINED @@ -1171,7 +1224,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_vertical_value) } } - writeBlurOptions(value: BlurOptions): void { + public writeBlurOptions(value: BlurOptions): void { let valueSerializer: Serializer = this const value_grayscale = value.grayscale const value_grayscale_0 = value_grayscale[0] @@ -1179,7 +1232,7 @@ export class Serializer extends SerializerBase { const value_grayscale_1 = value_grayscale[1] valueSerializer.writeNumber(value_grayscale_1) } - writeBorderRadiuses_graphics(value: BorderRadiuses_graphics): void { + public writeBorderRadiuses_graphics(value: BorderRadiuses_graphics): void { let valueSerializer: Serializer = this const value_topLeft = value.topLeft valueSerializer.writeNumber(value_topLeft) @@ -1190,11 +1243,11 @@ export class Serializer extends SerializerBase { const value_bottomRight = value.bottomRight valueSerializer.writeNumber(value_bottomRight) } - writeBounceSymbolEffect(value: BounceSymbolEffect): void { + public writeBounceSymbolEffect(value: BounceSymbolEffect): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBreakPoints(value: BreakPoints): void { + public writeBreakPoints(value: BreakPoints): void { let valueSerializer: Serializer = this const value_value = value.value let value_value_type: int32 = RuntimeType.UNDEFINED @@ -1217,7 +1270,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_reference_value.valueOf()) } } - writeBrightnessBlender(value: BrightnessBlender): void { + public writeBrightnessBlender(value: BrightnessBlender): void { let valueSerializer: Serializer = this const value_cubicRate = value.cubicRate valueSerializer.writeNumber(value_cubicRate) @@ -1246,7 +1299,7 @@ export class Serializer extends SerializerBase { const value_fraction = value.fraction valueSerializer.writeNumber(value_fraction) } - writeBusinessError(value: BusinessError): void { + public writeBusinessError(value: BusinessError): void { let valueSerializer: Serializer = this const value_name = value.name valueSerializer.writeString(value_name) @@ -1263,7 +1316,7 @@ export class Serializer extends SerializerBase { const value_code = value.code valueSerializer.writeNumber(value_code) } - writeButtonOptions(value: ButtonOptions): void { + public writeButtonOptions(value: ButtonOptions): void { let valueSerializer: Serializer = this const value_type = value.type let value_type_type: int32 = RuntimeType.UNDEFINED @@ -1306,7 +1359,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_role_value.valueOf()) } } - writeCalendarDay(value: CalendarDay): void { + public writeCalendarDay(value: CalendarDay): void { let valueSerializer: Serializer = this const value_index = value.index valueSerializer.writeNumber(value_index) @@ -1331,7 +1384,7 @@ export class Serializer extends SerializerBase { const value_markLunarDay = value.markLunarDay valueSerializer.writeBoolean(value_markLunarDay) } - writeCalendarRequestedData(value: CalendarRequestedData): void { + public writeCalendarRequestedData(value: CalendarRequestedData): void { let valueSerializer: Serializer = this const value_year = value.year valueSerializer.writeNumber(value_year) @@ -1344,7 +1397,7 @@ export class Serializer extends SerializerBase { const value_monthState = value.monthState valueSerializer.writeNumber(value_monthState) } - writeCalendarSelectedDate(value: CalendarSelectedDate): void { + public writeCalendarSelectedDate(value: CalendarSelectedDate): void { let valueSerializer: Serializer = this const value_year = value.year valueSerializer.writeNumber(value_year) @@ -1353,7 +1406,7 @@ export class Serializer extends SerializerBase { const value_day = value.day valueSerializer.writeNumber(value_day) } - writeCancelButtonSymbolOptions(value: CancelButtonSymbolOptions): void { + public writeCancelButtonSymbolOptions(value: CancelButtonSymbolOptions): void { let valueSerializer: Serializer = this const value_style = value.style let value_style_type: int32 = RuntimeType.UNDEFINED @@ -1372,15 +1425,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeSymbolGlyphModifier(value_icon_value) } } - writeCanvasRenderer(value: CanvasRenderer): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeCanvasRenderingContext2D(value: CanvasRenderingContext2D): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeCaretOffset(value: CaretOffset): void { + public writeCaretOffset(value: CaretOffset): void { let valueSerializer: Serializer = this const value_index = value.index valueSerializer.writeNumber(value_index) @@ -1389,7 +1434,7 @@ export class Serializer extends SerializerBase { const value_y = value.y valueSerializer.writeNumber(value_y) } - writeChainWeightOptions(value: ChainWeightOptions): void { + public writeChainWeightOptions(value: ChainWeightOptions): void { let valueSerializer: Serializer = this const value_horizontal = value.horizontal let value_horizontal_type: int32 = RuntimeType.UNDEFINED @@ -1408,7 +1453,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_vertical_value) } } - writeCheckboxGroupOptions(value: CheckboxGroupOptions): void { + public writeCheckboxGroupOptions(value: CheckboxGroupOptions): void { let valueSerializer: Serializer = this const value_group = value.group let value_group_type: int32 = RuntimeType.UNDEFINED @@ -1419,7 +1464,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_group_value) } } - writeCheckboxGroupResult(value: CheckboxGroupResult): void { + public writeCheckboxGroupResult(value: CheckboxGroupResult): void { let valueSerializer: Serializer = this const value_name = value.name valueSerializer.writeInt32(value_name.length) @@ -1430,7 +1475,7 @@ export class Serializer extends SerializerBase { const value_status = value.status valueSerializer.writeInt32(value_status.valueOf()) } - writeCheckboxOptions(value: CheckboxOptions): void { + public writeCheckboxOptions(value: CheckboxOptions): void { let valueSerializer: Serializer = this const value_name = value.name let value_name_type: int32 = RuntimeType.UNDEFINED @@ -1457,11 +1502,11 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_indicatorBuilder_value)) } } - writeChildrenMainSize(value: ChildrenMainSize): void { + public writeChildrenMainSize(value: ChildrenMainSize): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCircle(value: Circle): void { + public writeCircle(value: Circle): void { let valueSerializer: Serializer = this const value_centerX = value.centerX valueSerializer.writeNumber(value_centerX) @@ -1470,7 +1515,7 @@ export class Serializer extends SerializerBase { const value_radius = value.radius valueSerializer.writeNumber(value_radius) } - writeCircleOptions(value: CircleOptions): void { + public writeCircleOptions(value: CircleOptions): void { let valueSerializer: Serializer = this const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED @@ -1511,7 +1556,7 @@ export class Serializer extends SerializerBase { } } } - writeClickEffect(value: ClickEffect): void { + public writeClickEffect(value: ClickEffect): void { let valueSerializer: Serializer = this const value_level = value.level valueSerializer.writeInt32(value_level.valueOf()) @@ -1524,7 +1569,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_scale_value) } } - writeCloseSwipeActionOptions(value: CloseSwipeActionOptions): void { + public writeCloseSwipeActionOptions(value: CloseSwipeActionOptions): void { let valueSerializer: Serializer = this const value_onFinish = value.onFinish let value_onFinish_type: int32 = RuntimeType.UNDEFINED @@ -1535,11 +1580,11 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_onFinish_value) } } - writeColorMetrics(value: ColorMetrics): void { + public writeColorMetrics(value: ColorMetrics): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeColumnOptions(value: ColumnOptions): void { + public writeColumnOptions(value: ColumnOptions): void { let valueSerializer: Serializer = this const value_space = value.space let value_space_type: int32 = RuntimeType.UNDEFINED @@ -1561,12 +1606,17 @@ export class Serializer extends SerializerBase { } } } - writeCommandPath(value: CommandPath): void { + public writeColumnOptionsV2(value: ColumnOptionsV2): void { + let valueSerializer: Serializer = this + const value_stub = value.stub + valueSerializer.writeString(value_stub) + } + public writeCommandPath(value: CommandPath): void { let valueSerializer: Serializer = this const value_commands = value.commands valueSerializer.writeString(value_commands) } - writecommon2D_Color(value: common2D.Color): void { + public writecommon2D_Color(value: common2D.Color): void { let valueSerializer: Serializer = this const value_alpha = value.alpha valueSerializer.writeNumber(value_alpha) @@ -1577,32 +1627,37 @@ export class Serializer extends SerializerBase { const value_blue = value.blue valueSerializer.writeNumber(value_blue) } - writecommon2D_Point(value: common2D.Point): void { + public writecommon2D_Point(value: common2D.Point): void { let valueSerializer: Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) const value_y = value.y valueSerializer.writeNumber(value_y) } - writeCommonConfiguration(value: CommonConfiguration): void { + public writeCommonConfiguration(value: CommonConfiguration): void { let valueSerializer: Serializer = this const value_enabled = value.enabled valueSerializer.writeBoolean(value_enabled) const value_contentModifier = value.contentModifier valueSerializer.holdAndWriteObject(value_contentModifier) } - writeComputedBarAttribute(value: ComputedBarAttribute): void { + public writeCommonModifier(value: CommonModifier): void { + let valueSerializer: Serializer = this + const value__CommonModifierStub = value._CommonModifierStub + valueSerializer.writeString(value__CommonModifierStub) + } + public writeComputedBarAttribute(value: ComputedBarAttribute): void { let valueSerializer: Serializer = this const value_totalOffset = value.totalOffset valueSerializer.writeNumber(value_totalOffset) const value_totalLength = value.totalLength valueSerializer.writeNumber(value_totalLength) } - writeContext(value: Context): void { + public writeContext(value: Context): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCopyEvent(value: CopyEvent): void { + public writeCopyEvent(value: CopyEvent): void { let valueSerializer: Serializer = this const value_preventDefault = value.preventDefault let value_preventDefault_type: int32 = RuntimeType.UNDEFINED @@ -1613,7 +1668,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_preventDefault_value) } } - writeCornerRadius(value: CornerRadius): void { + public writeCornerRadius(value: CornerRadius): void { let valueSerializer: Serializer = this const value_topLeft = value.topLeft valueSerializer.writeVector2(value_topLeft) @@ -1624,7 +1679,20 @@ export class Serializer extends SerializerBase { const value_bottomRight = value.bottomRight valueSerializer.writeVector2(value_bottomRight) } - writeCustomDialogBuildOptions(value: CustomDialogBuildOptions): void { + public writeCrownEvent(value: CrownEvent): void { + let valueSerializer: Serializer = this + const value_timestamp = value.timestamp + valueSerializer.writeInt64(value_timestamp) + const value_angularVelocity = value.angularVelocity + valueSerializer.writeNumber(value_angularVelocity) + const value_degree = value.degree + valueSerializer.writeNumber(value_degree) + const value_action = value.action + valueSerializer.writeInt32(value_action.valueOf()) + const value_stopPropagation = value.stopPropagation + valueSerializer.holdAndWriteCallback(value_stopPropagation) + } + public writeCustomDialogBuildOptions(value: CustomDialogBuildOptions): void { let valueSerializer: Serializer = this const value_controller = value.controller let value_controller_type: int32 = RuntimeType.UNDEFINED @@ -1635,18 +1703,18 @@ export class Serializer extends SerializerBase { valueSerializer.writeCustomDialogController(value_controller_value) } } - writeCustomDialogControllerBuilder(value: CustomDialogControllerBuilder): void { + public writeCustomDialogControllerBuilder(value: CustomDialogControllerBuilder): void { let valueSerializer: Serializer = this const value_buildOptions = value.buildOptions valueSerializer.writeCustomDialogBuildOptions(value_buildOptions) const value_build = value.build valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_build)) } - writeCustomSpan(value: CustomSpan): void { + public writeCustomSpan(value: CustomSpan): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeCustomSpanDrawInfo(value: CustomSpanDrawInfo): void { + public writeCustomSpanDrawInfo(value: CustomSpanDrawInfo): void { let valueSerializer: Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -1657,12 +1725,12 @@ export class Serializer extends SerializerBase { const value_baseline = value.baseline valueSerializer.writeNumber(value_baseline) } - writeCustomSpanMeasureInfo(value: CustomSpanMeasureInfo): void { + public writeCustomSpanMeasureInfo(value: CustomSpanMeasureInfo): void { let valueSerializer: Serializer = this const value_fontSize = value.fontSize valueSerializer.writeNumber(value_fontSize) } - writeCustomSpanMetrics(value: CustomSpanMetrics): void { + public writeCustomSpanMetrics(value: CustomSpanMetrics): void { let valueSerializer: Serializer = this const value_width = value.width valueSerializer.writeNumber(value_width) @@ -1675,7 +1743,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_height_value) } } - writeCutEvent(value: CutEvent): void { + public writeCutEvent(value: CutEvent): void { let valueSerializer: Serializer = this const value_preventDefault = value.preventDefault let value_preventDefault_type: int32 = RuntimeType.UNDEFINED @@ -1686,7 +1754,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_preventDefault_value) } } - writeDataPanelOptions(value: DataPanelOptions): void { + public writeDataPanelOptions(value: DataPanelOptions): void { let valueSerializer: Serializer = this const value_values = value.values valueSerializer.writeInt32(value_values.length) @@ -1711,7 +1779,12 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_type_value.valueOf()) } } - writeDatePickerOptions(value: DatePickerOptions): void { + public writeDataSyncOptions(value: DataSyncOptions): void { + let valueSerializer: Serializer = this + const value__DataSyncOptionsStub = value._DataSyncOptionsStub + valueSerializer.writeString(value__DataSyncOptionsStub) + } + public writeDatePickerOptions(value: DatePickerOptions): void { let valueSerializer: Serializer = this const value_start = value.start let value_start_type: int32 = RuntimeType.UNDEFINED @@ -1737,8 +1810,16 @@ export class Serializer extends SerializerBase { const value_selected_value = value_selected! valueSerializer.writeInt64((value_selected_value.getTime() as number)) } + const value_mode = value.mode + let value_mode_type: int32 = RuntimeType.UNDEFINED + value_mode_type = runtimeType(value_mode) + valueSerializer.writeInt8(value_mode_type) + if ((RuntimeType.UNDEFINED) != (value_mode_type)) { + const value_mode_value = value_mode! + valueSerializer.writeInt32(value_mode_value.valueOf()) + } } - writeDatePickerResult(value: DatePickerResult): void { + public writeDatePickerResult(value: DatePickerResult): void { let valueSerializer: Serializer = this const value_year = value.year let value_year_type: int32 = RuntimeType.UNDEFINED @@ -1765,7 +1846,26 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_day_value) } } - writeDateTimeOptions(value: DateTimeOptions): void { + public writeDateRange(value: DateRange): void { + let valueSerializer: Serializer = this + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeInt64((value_start_value.getTime() as number)) + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeInt64((value_end_value.getTime() as number)) + } + } + public writeDateTimeOptions(value: DateTimeOptions): void { let valueSerializer: Serializer = this const value_locale = value.locale let value_locale_type: int32 = RuntimeType.UNDEFINED @@ -1920,7 +2020,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_formatMatcher_value) } } - writeDeleteValue(value: DeleteValue): void { + public writeDeleteValue(value: DeleteValue): void { let valueSerializer: Serializer = this const value_deleteOffset = value.deleteOffset valueSerializer.writeNumber(value_deleteOffset) @@ -1929,7 +2029,7 @@ export class Serializer extends SerializerBase { const value_deleteValue = value.deleteValue valueSerializer.writeString(value_deleteValue) } - writeDirectionalEdgesT(value: DirectionalEdgesT): void { + public writeDirectionalEdgesT(value: DirectionalEdgesT): void { let valueSerializer: Serializer = this const value_start = value.start valueSerializer.writeNumber(value_start) @@ -1940,39 +2040,39 @@ export class Serializer extends SerializerBase { const value_bottom = value.bottom valueSerializer.writeNumber(value_bottom) } - writeDisappearSymbolEffect(value: DisappearSymbolEffect): void { + public writeDisappearSymbolEffect(value: DisappearSymbolEffect): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDismissContentCoverAction(value: DismissContentCoverAction): void { + public writeDismissContentCoverAction(value: DismissContentCoverAction): void { let valueSerializer: Serializer = this const value_dismiss = value.dismiss valueSerializer.holdAndWriteCallback(value_dismiss) const value_reason = value.reason valueSerializer.writeInt32(value_reason.valueOf()) } - writeDismissDialogAction(value: DismissDialogAction): void { + public writeDismissDialogAction(value: DismissDialogAction): void { let valueSerializer: Serializer = this const value_dismiss = value.dismiss valueSerializer.holdAndWriteCallback(value_dismiss) const value_reason = value.reason valueSerializer.writeInt32(value_reason.valueOf()) } - writeDismissPopupAction(value: DismissPopupAction): void { + public writeDismissPopupAction(value: DismissPopupAction): void { let valueSerializer: Serializer = this const value_dismiss = value.dismiss valueSerializer.holdAndWriteCallback(value_dismiss) const value_reason = value.reason valueSerializer.writeInt32(value_reason.valueOf()) } - writeDismissSheetAction(value: DismissSheetAction): void { + public writeDismissSheetAction(value: DismissSheetAction): void { let valueSerializer: Serializer = this const value_dismiss = value.dismiss valueSerializer.holdAndWriteCallback(value_dismiss) const value_reason = value.reason valueSerializer.writeInt32(value_reason.valueOf()) } - writeDoubleAnimationParam(value: DoubleAnimationParam): void { + public writeDoubleAnimationParam(value: DoubleAnimationParam): void { let valueSerializer: Serializer = this const value_propertyName = value.propertyName valueSerializer.writeString(value_propertyName) @@ -2019,7 +2119,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_onFinish_value) } } - writeDragInteractionOptions(value: DragInteractionOptions): void { + public writeDragInteractionOptions(value: DragInteractionOptions): void { let valueSerializer: Serializer = this const value_isMultiSelectionEnabled = value.isMultiSelectionEnabled let value_isMultiSelectionEnabled_type: int32 = RuntimeType.UNDEFINED @@ -2037,8 +2137,32 @@ export class Serializer extends SerializerBase { const value_defaultAnimationBeforeLifting_value = value_defaultAnimationBeforeLifting! valueSerializer.writeBoolean(value_defaultAnimationBeforeLifting_value) } - } - writeDragItemInfo(value: DragItemInfo): void { + const value_enableEdgeAutoScroll = value.enableEdgeAutoScroll + let value_enableEdgeAutoScroll_type: int32 = RuntimeType.UNDEFINED + value_enableEdgeAutoScroll_type = runtimeType(value_enableEdgeAutoScroll) + valueSerializer.writeInt8(value_enableEdgeAutoScroll_type) + if ((RuntimeType.UNDEFINED) != (value_enableEdgeAutoScroll_type)) { + const value_enableEdgeAutoScroll_value = value_enableEdgeAutoScroll! + valueSerializer.writeBoolean(value_enableEdgeAutoScroll_value) + } + const value_enableHapticFeedback = value.enableHapticFeedback + let value_enableHapticFeedback_type: int32 = RuntimeType.UNDEFINED + value_enableHapticFeedback_type = runtimeType(value_enableHapticFeedback) + valueSerializer.writeInt8(value_enableHapticFeedback_type) + if ((RuntimeType.UNDEFINED) != (value_enableHapticFeedback_type)) { + const value_enableHapticFeedback_value = value_enableHapticFeedback! + valueSerializer.writeBoolean(value_enableHapticFeedback_value) + } + const value_isLiftingDisabled = value.isLiftingDisabled + let value_isLiftingDisabled_type: int32 = RuntimeType.UNDEFINED + value_isLiftingDisabled_type = runtimeType(value_isLiftingDisabled) + valueSerializer.writeInt8(value_isLiftingDisabled_type) + if ((RuntimeType.UNDEFINED) != (value_isLiftingDisabled_type)) { + const value_isLiftingDisabled_value = value_isLiftingDisabled! + valueSerializer.writeBoolean(value_isLiftingDisabled_value) + } + } + public writeDragItemInfo(value: DragItemInfo): void { let valueSerializer: Serializer = this const value_pixelMap = value.pixelMap let value_pixelMap_type: int32 = RuntimeType.UNDEFINED @@ -2065,7 +2189,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_extraInfo_value) } } - writeDrawContext(value: DrawContext): void { + public writeDrawContext(value: DrawContext): void { let valueSerializer: Serializer = this const value_size = value.size valueSerializer.writeSize(value_size) @@ -2074,11 +2198,70 @@ export class Serializer extends SerializerBase { const value_canvas = value.canvas valueSerializer.writeDrawingCanvas(value_canvas) } - writeDrawingRenderingContext(value: DrawingRenderingContext): void { + public writeDrawingRenderingContext(value: DrawingRenderingContext): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeEdgeStyles(value: EdgeStyles): void { + public writeDropOptions(value: DropOptions): void { + let valueSerializer: Serializer = this + const value_disableDataPrefetch = value.disableDataPrefetch + let value_disableDataPrefetch_type: int32 = RuntimeType.UNDEFINED + value_disableDataPrefetch_type = runtimeType(value_disableDataPrefetch) + valueSerializer.writeInt8(value_disableDataPrefetch_type) + if ((RuntimeType.UNDEFINED) != (value_disableDataPrefetch_type)) { + const value_disableDataPrefetch_value = value_disableDataPrefetch! + valueSerializer.writeBoolean(value_disableDataPrefetch_value) + } + } + public writeEdgeEffectOptions(value: EdgeEffectOptions): void { + let valueSerializer: Serializer = this + const value_alwaysEnabled = value.alwaysEnabled + valueSerializer.writeBoolean(value_alwaysEnabled) + const value_effectEdge = value.effectEdge + let value_effectEdge_type: int32 = RuntimeType.UNDEFINED + value_effectEdge_type = runtimeType(value_effectEdge) + valueSerializer.writeInt8(value_effectEdge_type) + if ((RuntimeType.UNDEFINED) != (value_effectEdge_type)) { + const value_effectEdge_value = value_effectEdge! + valueSerializer.writeNumber(value_effectEdge_value) + } + } + public writeEdgeOutlineStyles(value: EdgeOutlineStyles): void { + let valueSerializer: Serializer = this + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeInt32(value_top_value.valueOf()) + } + const value_right = value.right + let value_right_type: int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + valueSerializer.writeInt32(value_right_value.valueOf()) + } + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + valueSerializer.writeInt32(value_bottom_value.valueOf()) + } + const value_left = value.left + let value_left_type: int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + valueSerializer.writeInt32(value_left_value.valueOf()) + } + } + public writeEdgeStyles(value: EdgeStyles): void { let valueSerializer: Serializer = this const value_top = value.top let value_top_type: int32 = RuntimeType.UNDEFINED @@ -2113,14 +2296,14 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_left_value.valueOf()) } } - writeEditMenuOptions(value: EditMenuOptions): void { + public writeEditMenuOptions(value: EditMenuOptions): void { let valueSerializer: Serializer = this const value_onCreateMenu = value.onCreateMenu valueSerializer.holdAndWriteCallback(value_onCreateMenu) const value_onMenuItemClick = value.onMenuItemClick valueSerializer.holdAndWriteCallback(value_onMenuItemClick) } - writeEllipseOptions(value: EllipseOptions): void { + public writeEllipseOptions(value: EllipseOptions): void { let valueSerializer: Serializer = this const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED @@ -2161,7 +2344,18 @@ export class Serializer extends SerializerBase { } } } - writeErrorEvent(value: ErrorEvent): void { + public writeEmbedOptions(value: EmbedOptions): void { + let valueSerializer: Serializer = this + const value_supportDefaultIntrinsicSize = value.supportDefaultIntrinsicSize + let value_supportDefaultIntrinsicSize_type: int32 = RuntimeType.UNDEFINED + value_supportDefaultIntrinsicSize_type = runtimeType(value_supportDefaultIntrinsicSize) + valueSerializer.writeInt8(value_supportDefaultIntrinsicSize_type) + if ((RuntimeType.UNDEFINED) != (value_supportDefaultIntrinsicSize_type)) { + const value_supportDefaultIntrinsicSize_value = value_supportDefaultIntrinsicSize! + valueSerializer.writeBoolean(value_supportDefaultIntrinsicSize_value) + } + } + public writeErrorEvent(value: ErrorEvent): void { let valueSerializer: Serializer = this const value_type = value.type valueSerializer.writeString(value_type) @@ -2178,14 +2372,14 @@ export class Serializer extends SerializerBase { const value_error = value.error valueSerializer.holdAndWriteObject(value_error) } - writeEvent(value: Event): void { + public writeEvent(value: Event): void { let valueSerializer: Serializer = this const value_type = value.type valueSerializer.writeString(value_type) const value_timeStamp = value.timeStamp valueSerializer.writeInt64(value_timeStamp) } - writeExpectedFrameRateRange(value: ExpectedFrameRateRange): void { + public writeExpectedFrameRateRange(value: ExpectedFrameRateRange): void { let valueSerializer: Serializer = this const value_min = value.min valueSerializer.writeNumber(value_min) @@ -2194,7 +2388,7 @@ export class Serializer extends SerializerBase { const value_expected = value.expected valueSerializer.writeNumber(value_expected) } - writeFingerInfo(value: FingerInfo): void { + public writeFingerInfo(value: FingerInfo): void { let valueSerializer: Serializer = this const value_id = value.id valueSerializer.writeNumber(value_id) @@ -2210,8 +2404,16 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_displayX) const value_displayY = value.displayY valueSerializer.writeNumber(value_displayY) + const value_hand = value.hand + let value_hand_type: int32 = RuntimeType.UNDEFINED + value_hand_type = runtimeType(value_hand) + valueSerializer.writeInt8(value_hand_type) + if ((RuntimeType.UNDEFINED) != (value_hand_type)) { + const value_hand_value = value_hand! + valueSerializer.writeInt32(value_hand_value.valueOf()) + } } - writeFirstMeaningfulPaint(value: FirstMeaningfulPaint): void { + public writeFirstMeaningfulPaint(value: FirstMeaningfulPaint): void { let valueSerializer: Serializer = this const value_navigationStartTime = value.navigationStartTime let value_navigationStartTime_type: int32 = RuntimeType.UNDEFINED @@ -2230,7 +2432,58 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_firstMeaningfulPaintTime_value) } } - writeFolderStackOptions(value: FolderStackOptions): void { + public writeFocusMovement(value: FocusMovement): void { + let valueSerializer: Serializer = this + const value_forward = value.forward + let value_forward_type: int32 = RuntimeType.UNDEFINED + value_forward_type = runtimeType(value_forward) + valueSerializer.writeInt8(value_forward_type) + if ((RuntimeType.UNDEFINED) != (value_forward_type)) { + const value_forward_value = value_forward! + valueSerializer.writeString(value_forward_value) + } + const value_backward = value.backward + let value_backward_type: int32 = RuntimeType.UNDEFINED + value_backward_type = runtimeType(value_backward) + valueSerializer.writeInt8(value_backward_type) + if ((RuntimeType.UNDEFINED) != (value_backward_type)) { + const value_backward_value = value_backward! + valueSerializer.writeString(value_backward_value) + } + const value_up = value.up + let value_up_type: int32 = RuntimeType.UNDEFINED + value_up_type = runtimeType(value_up) + valueSerializer.writeInt8(value_up_type) + if ((RuntimeType.UNDEFINED) != (value_up_type)) { + const value_up_value = value_up! + valueSerializer.writeString(value_up_value) + } + const value_down = value.down + let value_down_type: int32 = RuntimeType.UNDEFINED + value_down_type = runtimeType(value_down) + valueSerializer.writeInt8(value_down_type) + if ((RuntimeType.UNDEFINED) != (value_down_type)) { + const value_down_value = value_down! + valueSerializer.writeString(value_down_value) + } + const value_left = value.left + let value_left_type: int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + valueSerializer.writeString(value_left_value) + } + const value_right = value.right + let value_right_type: int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + valueSerializer.writeString(value_right_value) + } + } + public writeFolderStackOptions(value: FolderStackOptions): void { let valueSerializer: Serializer = this const value_upperItems = value.upperItems let value_upperItems_type: int32 = RuntimeType.UNDEFINED @@ -2245,14 +2498,14 @@ export class Serializer extends SerializerBase { } } } - writeFontFeature(value: FontFeature): void { + public writeFontFeature(value: FontFeature): void { let valueSerializer: Serializer = this const value_name = value.name valueSerializer.writeString(value_name) const value_value = value.value valueSerializer.writeNumber(value_value) } - writeFontInfo(value: FontInfo): void { + public writeFontInfo(value: FontInfo): void { let valueSerializer: Serializer = this const value_path = value.path valueSerializer.writeString(value_path) @@ -2275,7 +2528,7 @@ export class Serializer extends SerializerBase { const value_symbolic = value.symbolic valueSerializer.writeBoolean(value_symbolic) } - writeFontMetrics(value: FontMetrics): void { + public writeFontMetrics(value: FontMetrics): void { let valueSerializer: Serializer = this const value_flags = value.flags let value_flags_type: int32 = RuntimeType.UNDEFINED @@ -2376,7 +2629,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_strikethroughPosition_value) } } - writeFontSettingOptions(value: FontSettingOptions): void { + public writeFontSettingOptions(value: FontSettingOptions): void { let valueSerializer: Serializer = this const value_enableVariableFontWeight = value.enableVariableFontWeight let value_enableVariableFontWeight_type: int32 = RuntimeType.UNDEFINED @@ -2387,26 +2640,26 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_enableVariableFontWeight_value) } } - writeFontVariation(value: FontVariation): void { + public writeFontVariation(value: FontVariation): void { let valueSerializer: Serializer = this const value_axis = value.axis valueSerializer.writeString(value_axis) const value_value = value.value valueSerializer.writeNumber(value_value) } - writeForegroundEffectOptions(value: ForegroundEffectOptions): void { + public writeForegroundEffectOptions(value: ForegroundEffectOptions): void { let valueSerializer: Serializer = this const value_radius = value.radius valueSerializer.writeNumber(value_radius) } - writeFormCallbackInfo(value: FormCallbackInfo): void { + public writeFormCallbackInfo(value: FormCallbackInfo): void { let valueSerializer: Serializer = this const value_id = value.id valueSerializer.writeInt64(value_id) const value_idString = value.idString valueSerializer.writeString(value_idString) } - writeFormLinkOptions(value: FormLinkOptions): void { + public writeFormLinkOptions(value: FormLinkOptions): void { let valueSerializer: Serializer = this const value_action = value.action valueSerializer.writeString(value_action) @@ -2451,7 +2704,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteObject(value_params_value) } } - writeFrame(value: Frame): void { + public writeFrame(value: Frame): void { let valueSerializer: Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) @@ -2462,7 +2715,7 @@ export class Serializer extends SerializerBase { const value_height = value.height valueSerializer.writeNumber(value_height) } - writeFullScreenEnterEvent(value: FullScreenEnterEvent): void { + public writeFullScreenEnterEvent(value: FullScreenEnterEvent): void { let valueSerializer: Serializer = this const value_handler = value.handler valueSerializer.writeFullScreenExitHandler(value_handler) @@ -2483,7 +2736,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_videoHeight_value) } } - writeGaugeOptions(value: GaugeOptions): void { + public writeGaugeOptions(value: GaugeOptions): void { let valueSerializer: Serializer = this const value_value = value.value valueSerializer.writeNumber(value_value) @@ -2504,7 +2757,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_max_value) } } - writeGeometryTransitionOptions(value: GeometryTransitionOptions): void { + public writeGeometryTransitionOptions(value: GeometryTransitionOptions): void { let valueSerializer: Serializer = this const value_follow = value.follow let value_follow_type: int32 = RuntimeType.UNDEFINED @@ -2523,7 +2776,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_hierarchyStrategy_value.valueOf()) } } - writeGestureInfo(value: GestureInfo): void { + public writeGestureInfo(value: GestureInfo): void { let valueSerializer: Serializer = this const value_tag = value.tag let value_tag_type: int32 = RuntimeType.UNDEFINED @@ -2538,7 +2791,7 @@ export class Serializer extends SerializerBase { const value_isSystemGesture = value.isSystemGesture valueSerializer.writeBoolean(value_isSystemGesture) } - writeGestureStyleInterface(value: GestureStyleInterface): void { + public writeGestureStyleInterface(value: GestureStyleInterface): void { let valueSerializer: Serializer = this const value_onClick = value.onClick let value_onClick_type: int32 = RuntimeType.UNDEFINED @@ -2557,7 +2810,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_onLongPress_value) } } - writeGridColColumnOption(value: GridColColumnOption): void { + public writeGridColColumnOption(value: GridColColumnOption): void { let valueSerializer: Serializer = this const value_xs = value.xs let value_xs_type: int32 = RuntimeType.UNDEFINED @@ -2608,7 +2861,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_xxl_value) } } - writeGridContainerOptions(value: GridContainerOptions): void { + public writeGridContainerOptions(value: GridContainerOptions): void { let valueSerializer: Serializer = this const value_columns = value.columns let value_columns_type: int32 = RuntimeType.UNDEFINED @@ -2676,7 +2929,7 @@ export class Serializer extends SerializerBase { } } } - writeGridItemOptions(value: GridItemOptions): void { + public writeGridItemOptions(value: GridItemOptions): void { let valueSerializer: Serializer = this const value_style = value.style let value_style_type: int32 = RuntimeType.UNDEFINED @@ -2687,7 +2940,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_style_value.valueOf()) } } - writeGridLayoutOptions(value: GridLayoutOptions): void { + public writeGridLayoutOptions(value: GridLayoutOptions): void { let valueSerializer: Serializer = this const value_regularSize = value.regularSize const value_regularSize_0 = value_regularSize[0] @@ -2723,7 +2976,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_onGetRectByIndex_value) } } - writeGridRowColumnOption(value: GridRowColumnOption): void { + public writeGridRowColumnOption(value: GridRowColumnOption): void { let valueSerializer: Serializer = this const value_xs = value.xs let value_xs_type: int32 = RuntimeType.UNDEFINED @@ -2774,18 +3027,18 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_xxl_value) } } - writeHeader(value: Header): void { + public writeHeader(value: Header): void { let valueSerializer: Serializer = this const value_headerKey = value.headerKey valueSerializer.writeString(value_headerKey) const value_headerValue = value.headerValue valueSerializer.writeString(value_headerValue) } - writeHierarchicalSymbolEffect(value: HierarchicalSymbolEffect): void { + public writeHierarchicalSymbolEffect(value: HierarchicalSymbolEffect): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeHoverEventParam(value: HoverEventParam): void { + public writeHoverEventParam(value: HoverEventParam): void { let valueSerializer: Serializer = this const value_foldStatus = value.foldStatus valueSerializer.writeInt32(value_foldStatus.valueOf()) @@ -2796,7 +3049,7 @@ export class Serializer extends SerializerBase { const value_windowStatusType = value.windowStatusType valueSerializer.writeInt32(value_windowStatusType.valueOf()) } - writeImageAIOptions(value: ImageAIOptions): void { + public writeImageAIOptions(value: ImageAIOptions): void { let valueSerializer: Serializer = this const value_types = value.types let value_types_type: int32 = RuntimeType.UNDEFINED @@ -2819,7 +3072,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeImageAnalyzerController(value_aiController_value) } } - writeImageAnalyzerConfig(value: ImageAnalyzerConfig): void { + public writeImageAnalyzerConfig(value: ImageAnalyzerConfig): void { let valueSerializer: Serializer = this const value_types = value.types valueSerializer.writeInt32(value_types.length) @@ -2828,15 +3081,15 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_types_element.valueOf()) } } - writeImageBitmap(value: ImageBitmap): void { + public writeImageBitmap(value: ImageBitmap): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeImageData(value: ImageData): void { + public writeImageData(value: ImageData): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeImageError(value: ImageError): void { + public writeImageError(value: ImageError): void { let valueSerializer: Serializer = this const value_componentWidth = value.componentWidth valueSerializer.writeNumber(value_componentWidth) @@ -2845,7 +3098,7 @@ export class Serializer extends SerializerBase { const value_message = value.message valueSerializer.writeString(value_message) } - writeImageLoadResult(value: ImageLoadResult): void { + public writeImageLoadResult(value: ImageLoadResult): void { let valueSerializer: Serializer = this const value_width = value.width valueSerializer.writeNumber(value_width) @@ -2866,14 +3119,19 @@ export class Serializer extends SerializerBase { const value_contentOffsetY = value.contentOffsetY valueSerializer.writeNumber(value_contentOffsetY) } - writeImageSourceSize(value: ImageSourceSize): void { + public writeImageSourceSize(value: ImageSourceSize): void { let valueSerializer: Serializer = this const value_width = value.width valueSerializer.writeNumber(value_width) const value_height = value.height valueSerializer.writeNumber(value_height) } - writeInputCounterOptions(value: InputCounterOptions): void { + public writeImmersiveMode(value: ImmersiveMode): void { + let valueSerializer: Serializer = this + const value__ImmersiveModeStub = value._ImmersiveModeStub + valueSerializer.writeString(value__ImmersiveModeStub) + } + public writeInputCounterOptions(value: InputCounterOptions): void { let valueSerializer: Serializer = this const value_thresholdPercentage = value.thresholdPercentage let value_thresholdPercentage_type: int32 = RuntimeType.UNDEFINED @@ -2892,21 +3150,21 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_highlightBorder_value) } } - writeInsertValue(value: InsertValue): void { + public writeInsertValue(value: InsertValue): void { let valueSerializer: Serializer = this const value_insertOffset = value.insertOffset valueSerializer.writeNumber(value_insertOffset) const value_insertValue = value.insertValue valueSerializer.writeString(value_insertValue) } - writeIntelligentTrackingPreventionDetails(value: IntelligentTrackingPreventionDetails): void { + public writeIntelligentTrackingPreventionDetails(value: IntelligentTrackingPreventionDetails): void { let valueSerializer: Serializer = this const value_host = value.host valueSerializer.writeString(value_host) const value_trackerHost = value.trackerHost valueSerializer.writeString(value_trackerHost) } - writeInvertOptions(value: InvertOptions): void { + public writeInvertOptions(value: InvertOptions): void { let valueSerializer: Serializer = this const value_low = value.low valueSerializer.writeNumber(value_low) @@ -2917,14 +3175,14 @@ export class Serializer extends SerializerBase { const value_thresholdRange = value.thresholdRange valueSerializer.writeNumber(value_thresholdRange) } - writeItemDragInfo(value: ItemDragInfo): void { + public writeItemDragInfo(value: ItemDragInfo): void { let valueSerializer: Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) const value_y = value.y valueSerializer.writeNumber(value_y) } - writeKeyboardOptions(value: KeyboardOptions): void { + public writeKeyboardOptions(value: KeyboardOptions): void { let valueSerializer: Serializer = this const value_supportAvoidance = value.supportAvoidance let value_supportAvoidance_type: int32 = RuntimeType.UNDEFINED @@ -2935,11 +3193,11 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_supportAvoidance_value) } } - writeKeyEvent(value: KeyEvent): void { + public writeKeyEvent(value: KeyEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLargestContentfulPaint(value: LargestContentfulPaint): void { + public writeLargestContentfulPaint(value: LargestContentfulPaint): void { let valueSerializer: Serializer = this const value_navigationStartTime = value.navigationStartTime let value_navigationStartTime_type: int32 = RuntimeType.UNDEFINED @@ -2990,15 +3248,25 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_largestImageLoadEndTime_value) } } - writeLengthMetrics(value: LengthMetrics): void { + public writeLengthMetrics(value: LengthMetrics): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLetterSpacingStyle(value: LetterSpacingStyle): void { + public writeLetterSpacingStyle(value: LetterSpacingStyle): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLinearGradient_common(value: LinearGradient_common): void { + public writeLevelMode(value: LevelMode): void { + let valueSerializer: Serializer = this + const value__LevelModeStub = value._LevelModeStub + valueSerializer.writeString(value__LevelModeStub) + } + public writeLevelOrder(value: LevelOrder): void { + let valueSerializer: Serializer = this + const value__LevelOrderStub = value._LevelOrderStub + valueSerializer.writeString(value__LevelOrderStub) + } + public writeLinearGradient_common(value: LinearGradient_common): void { let valueSerializer: Serializer = this const value_angle = value.angle let value_angle_type: int32 = RuntimeType.UNDEFINED @@ -3066,7 +3334,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_repeating_value) } } - writeLinearGradientBlurOptions(value: LinearGradientBlurOptions): void { + public writeLinearGradientBlurOptions(value: LinearGradientBlurOptions): void { let valueSerializer: Serializer = this const value_fractionStops = value.fractionStops valueSerializer.writeInt32(value_fractionStops.length) @@ -3080,7 +3348,75 @@ export class Serializer extends SerializerBase { const value_direction = value.direction valueSerializer.writeInt32(value_direction.valueOf()) } - writeLinearIndicatorStartOptions(value: LinearIndicatorStartOptions): void { + public writeLinearGradientOptions(value: LinearGradientOptions): void { + let valueSerializer: Serializer = this + const value_angle = value.angle + let value_angle_type: int32 = RuntimeType.UNDEFINED + value_angle_type = runtimeType(value_angle) + valueSerializer.writeInt8(value_angle_type) + if ((RuntimeType.UNDEFINED) != (value_angle_type)) { + const value_angle_value = value_angle! + let value_angle_value_type: int32 = RuntimeType.UNDEFINED + value_angle_value_type = runtimeType(value_angle_value) + if (RuntimeType.NUMBER == value_angle_value_type) { + valueSerializer.writeInt8(0) + const value_angle_value_0 = unsafeCast(value_angle_value) + valueSerializer.writeNumber(value_angle_value_0) + } + else if (RuntimeType.STRING == value_angle_value_type) { + valueSerializer.writeInt8(1) + const value_angle_value_1 = unsafeCast(value_angle_value) + valueSerializer.writeString(value_angle_value_1) + } + } + const value_direction = value.direction + let value_direction_type: int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + valueSerializer.writeInt8(value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = value_direction! + valueSerializer.writeInt32(value_direction_value.valueOf()) + } + const value_colors = value.colors + valueSerializer.writeInt32(value_colors.length) + for (let i = 0; i < value_colors.length; i++) { + const value_colors_element: [ ResourceColor, number ] = value_colors[i] + const value_colors_element_0 = value_colors_element[0] + let value_colors_element_0_type: int32 = RuntimeType.UNDEFINED + value_colors_element_0_type = runtimeType(value_colors_element_0) + if (((RuntimeType.NUMBER) == (value_colors_element_0_type)) && ((unsafeCast(value_colors_element_0)) >= (0)) && ((unsafeCast(value_colors_element_0)) <= (11))) { + valueSerializer.writeInt8(0) + const value_colors_element_0_0 = unsafeCast(value_colors_element_0) + valueSerializer.writeInt32(value_colors_element_0_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_colors_element_0_type) { + valueSerializer.writeInt8(1) + const value_colors_element_0_1 = unsafeCast(value_colors_element_0) + valueSerializer.writeNumber(value_colors_element_0_1) + } + else if (RuntimeType.STRING == value_colors_element_0_type) { + valueSerializer.writeInt8(2) + const value_colors_element_0_2 = unsafeCast(value_colors_element_0) + valueSerializer.writeString(value_colors_element_0_2) + } + else if (RuntimeType.OBJECT == value_colors_element_0_type) { + valueSerializer.writeInt8(3) + const value_colors_element_0_3 = unsafeCast(value_colors_element_0) + valueSerializer.writeResource(value_colors_element_0_3) + } + const value_colors_element_1 = value_colors_element[1] + valueSerializer.writeNumber(value_colors_element_1) + } + const value_repeating = value.repeating + let value_repeating_type: int32 = RuntimeType.UNDEFINED + value_repeating_type = runtimeType(value_repeating) + valueSerializer.writeInt8(value_repeating_type) + if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { + const value_repeating_value = value_repeating! + valueSerializer.writeBoolean(value_repeating_value) + } + } + public writeLinearIndicatorStartOptions(value: LinearIndicatorStartOptions): void { let valueSerializer: Serializer = this const value_interval = value.interval let value_interval_type: int32 = RuntimeType.UNDEFINED @@ -3099,11 +3435,11 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_duration_value) } } - writeLineHeightStyle(value: LineHeightStyle): void { + public writeLineHeightStyle(value: LineHeightStyle): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeLineMetrics(value: LineMetrics): void { + public writeLineMetrics(value: LineMetrics): void { let valueSerializer: Serializer = this const value_startIndex = value.startIndex valueSerializer.writeNumber(value_startIndex) @@ -3132,7 +3468,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeRunMetrics(value_runMetrics_value) } } - writeLineOptions(value: LineOptions): void { + public writeLineOptions(value: LineOptions): void { let valueSerializer: Serializer = this const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED @@ -3173,7 +3509,7 @@ export class Serializer extends SerializerBase { } } } - writeListItemGroupOptions(value: ListItemGroupOptions): void { + public writeListItemGroupOptions(value: ListItemGroupOptions): void { let valueSerializer: Serializer = this const value_header = value.header let value_header_type: int32 = RuntimeType.UNDEFINED @@ -3235,7 +3571,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_style_value.valueOf()) } } - writeListItemOptions(value: ListItemOptions): void { + public writeListItemOptions(value: ListItemOptions): void { let valueSerializer: Serializer = this const value_style = value.style let value_style_type: int32 = RuntimeType.UNDEFINED @@ -3246,7 +3582,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_style_value.valueOf()) } } - writeListOptions(value: ListOptions): void { + public writeListOptions(value: ListOptions): void { let valueSerializer: Serializer = this const value_initialIndex = value.initialIndex let value_initialIndex_type: int32 = RuntimeType.UNDEFINED @@ -3284,7 +3620,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeScroller(value_scroller_value) } } - writeLoadCommittedDetails(value: LoadCommittedDetails): void { + public writeLoadCommittedDetails(value: LoadCommittedDetails): void { let valueSerializer: Serializer = this const value_isMainFrame = value.isMainFrame valueSerializer.writeBoolean(value_isMainFrame) @@ -3297,7 +3633,7 @@ export class Serializer extends SerializerBase { const value_url = value.url valueSerializer.writeString(value_url) } - writeLocalizedBarrierStyle(value: LocalizedBarrierStyle): void { + public writeLocalizedBarrierStyle(value: LocalizedBarrierStyle): void { let valueSerializer: Serializer = this const value_id = value.id valueSerializer.writeString(value_id) @@ -3310,21 +3646,21 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_referencedId_element) } } - writeLocalizedHorizontalAlignParam(value: LocalizedHorizontalAlignParam): void { + public writeLocalizedHorizontalAlignParam(value: LocalizedHorizontalAlignParam): void { let valueSerializer: Serializer = this const value_anchor = value.anchor valueSerializer.writeString(value_anchor) const value_align = value.align valueSerializer.writeInt32(value_align.valueOf()) } - writeLocalizedVerticalAlignParam(value: LocalizedVerticalAlignParam): void { + public writeLocalizedVerticalAlignParam(value: LocalizedVerticalAlignParam): void { let valueSerializer: Serializer = this const value_anchor = value.anchor valueSerializer.writeString(value_anchor) const value_align = value.align valueSerializer.writeInt32(value_align.valueOf()) } - writeLocationButtonOptions(value: LocationButtonOptions): void { + public writeLocationButtonOptions(value: LocationButtonOptions): void { let valueSerializer: Serializer = this const value_icon = value.icon let value_icon_type: int32 = RuntimeType.UNDEFINED @@ -3351,7 +3687,42 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_buttonType_value.valueOf()) } } - writeMarqueeOptions(value: MarqueeOptions): void { + public writeLongPressGestureHandlerOptions(value: LongPressGestureHandlerOptions): void { + let valueSerializer: Serializer = this + const value_isFingerCountLimited = value.isFingerCountLimited + let value_isFingerCountLimited_type: int32 = RuntimeType.UNDEFINED + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited) + valueSerializer.writeInt8(value_isFingerCountLimited_type) + if ((RuntimeType.UNDEFINED) != (value_isFingerCountLimited_type)) { + const value_isFingerCountLimited_value = value_isFingerCountLimited! + valueSerializer.writeBoolean(value_isFingerCountLimited_value) + } + const value_fingers = value.fingers + let value_fingers_type: int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_repeat = value.repeat + let value_repeat_type: int32 = RuntimeType.UNDEFINED + value_repeat_type = runtimeType(value_repeat) + valueSerializer.writeInt8(value_repeat_type) + if ((RuntimeType.UNDEFINED) != (value_repeat_type)) { + const value_repeat_value = value_repeat! + valueSerializer.writeBoolean(value_repeat_value) + } + const value_duration = value.duration + let value_duration_type: int32 = RuntimeType.UNDEFINED + value_duration_type = runtimeType(value_duration) + valueSerializer.writeInt8(value_duration_type) + if ((RuntimeType.UNDEFINED) != (value_duration_type)) { + const value_duration_value = value_duration! + valueSerializer.writeNumber(value_duration_value) + } + } + public writeMarqueeOptions(value: MarqueeOptions): void { let valueSerializer: Serializer = this const value_start = value.start valueSerializer.writeBoolean(value_start) @@ -3382,18 +3753,22 @@ export class Serializer extends SerializerBase { const value_src = value.src valueSerializer.writeString(value_src) } - writeMatrix2D(value: Matrix2D): void { + public writeMatrix2D(value: Matrix2D): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeMeasurable(value: Measurable): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeMeasureResult(value: MeasureResult): void { + public writeMeasureResult(value: MeasureResult): void { let valueSerializer: Serializer = this const value_width = value.width valueSerializer.writeNumber(value_width) const value_height = value.height valueSerializer.writeNumber(value_height) } - writeMessageEvents(value: MessageEvents): void { + public writeMessageEvents(value: MessageEvents): void { let valueSerializer: Serializer = this const value_type = value.type valueSerializer.writeString(value_type) @@ -3402,7 +3777,7 @@ export class Serializer extends SerializerBase { const value_data = value.data valueSerializer.holdAndWriteObject(value_data) } - writeMonthData(value: MonthData): void { + public writeMonthData(value: MonthData): void { let valueSerializer: Serializer = this const value_year = value.year valueSerializer.writeNumber(value_year) @@ -3415,21 +3790,21 @@ export class Serializer extends SerializerBase { valueSerializer.writeCalendarDay(value_data_element) } } - writeMotionBlurAnchor(value: MotionBlurAnchor): void { + public writeMotionBlurAnchor(value: MotionBlurAnchor): void { let valueSerializer: Serializer = this const value_x = value.x valueSerializer.writeNumber(value_x) const value_y = value.y valueSerializer.writeNumber(value_y) } - writeMotionBlurOptions(value: MotionBlurOptions): void { + public writeMotionBlurOptions(value: MotionBlurOptions): void { let valueSerializer: Serializer = this const value_radius = value.radius valueSerializer.writeNumber(value_radius) const value_anchor = value.anchor valueSerializer.writeMotionBlurAnchor(value_anchor) } - writeMotionPathOptions(value: MotionPathOptions): void { + public writeMotionPathOptions(value: MotionPathOptions): void { let valueSerializer: Serializer = this const value_path = value.path valueSerializer.writeString(value_path) @@ -3458,18 +3833,18 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_rotatable_value) } } - writeMutableStyledString(value: MutableStyledString): void { + public writeMutableStyledString(value: MutableStyledString): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNativeEmbedVisibilityInfo(value: NativeEmbedVisibilityInfo): void { + public writeNativeEmbedVisibilityInfo(value: NativeEmbedVisibilityInfo): void { let valueSerializer: Serializer = this const value_visibility = value.visibility valueSerializer.writeBoolean(value_visibility) const value_embedId = value.embedId valueSerializer.writeString(value_embedId) } - writeNavContentInfo(value: NavContentInfo): void { + public writeNavContentInfo(value: NavContentInfo): void { let valueSerializer: Serializer = this const value_name = value.name let value_name_type: int32 = RuntimeType.UNDEFINED @@ -3506,7 +3881,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_navDestinationId_value) } } - writeNavigationAnimatedTransition(value: NavigationAnimatedTransition): void { + public writeNavDestinationTransition(value: NavDestinationTransition): void { let valueSerializer: Serializer = this const value_onTransitionEnd = value.onTransitionEnd let value_onTransitionEnd_type: int32 = RuntimeType.UNDEFINED @@ -3516,9 +3891,46 @@ export class Serializer extends SerializerBase { const value_onTransitionEnd_value = value_onTransitionEnd! valueSerializer.holdAndWriteCallback(value_onTransitionEnd_value) } - const value_timeout = value.timeout - let value_timeout_type: int32 = RuntimeType.UNDEFINED - value_timeout_type = runtimeType(value_timeout) + const value_duration = value.duration + let value_duration_type: int32 = RuntimeType.UNDEFINED + value_duration_type = runtimeType(value_duration) + valueSerializer.writeInt8(value_duration_type) + if ((RuntimeType.UNDEFINED) != (value_duration_type)) { + const value_duration_value = value_duration! + valueSerializer.writeNumber(value_duration_value) + } + const value_curve = value.curve + let value_curve_type: int32 = RuntimeType.UNDEFINED + value_curve_type = runtimeType(value_curve) + valueSerializer.writeInt8(value_curve_type) + if ((RuntimeType.UNDEFINED) != (value_curve_type)) { + const value_curve_value = value_curve! + valueSerializer.writeInt32(value_curve_value.valueOf()) + } + const value_delay = value.delay + let value_delay_type: int32 = RuntimeType.UNDEFINED + value_delay_type = runtimeType(value_delay) + valueSerializer.writeInt8(value_delay_type) + if ((RuntimeType.UNDEFINED) != (value_delay_type)) { + const value_delay_value = value_delay! + valueSerializer.writeNumber(value_delay_value) + } + const value_event = value.event + valueSerializer.holdAndWriteCallback(value_event) + } + public writeNavigationAnimatedTransition(value: NavigationAnimatedTransition): void { + let valueSerializer: Serializer = this + const value_onTransitionEnd = value.onTransitionEnd + let value_onTransitionEnd_type: int32 = RuntimeType.UNDEFINED + value_onTransitionEnd_type = runtimeType(value_onTransitionEnd) + valueSerializer.writeInt8(value_onTransitionEnd_type) + if ((RuntimeType.UNDEFINED) != (value_onTransitionEnd_type)) { + const value_onTransitionEnd_value = value_onTransitionEnd! + valueSerializer.holdAndWriteCallback(value_onTransitionEnd_value) + } + const value_timeout = value.timeout + let value_timeout_type: int32 = RuntimeType.UNDEFINED + value_timeout_type = runtimeType(value_timeout) valueSerializer.writeInt8(value_timeout_type) if ((RuntimeType.UNDEFINED) != (value_timeout_type)) { const value_timeout_value = value_timeout! @@ -3535,7 +3947,7 @@ export class Serializer extends SerializerBase { const value_transition = value.transition valueSerializer.holdAndWriteCallback(value_transition) } - writeNavigationInterception(value: NavigationInterception): void { + public writeNavigationInterception(value: NavigationInterception): void { let valueSerializer: Serializer = this const value_willShow = value.willShow let value_willShow_type: int32 = RuntimeType.UNDEFINED @@ -3562,7 +3974,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_modeChange_value) } } - writeNavigationOptions(value: NavigationOptions): void { + public writeNavigationOptions(value: NavigationOptions): void { let valueSerializer: Serializer = this const value_launchMode = value.launchMode let value_launchMode_type: int32 = RuntimeType.UNDEFINED @@ -3581,15 +3993,22 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_animated_value) } } - writeNavigationTransitionProxy(value: NavigationTransitionProxy): void { + public writeNavigationTransitionProxy(value: NavigationTransitionProxy): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNavPathInfo(value: NavPathInfo): void { + public writeNavPathInfo(value: NavPathInfo): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNestedScrollOptionsExt(value: NestedScrollOptionsExt): void { + public writeNestedScrollInfo(value: NestedScrollInfo): void { + let valueSerializer: Serializer = this + const value_parent = value.parent + valueSerializer.writeScroller(value_parent) + const value_child = value.child + valueSerializer.writeScroller(value_child) + } + public writeNestedScrollOptionsExt(value: NestedScrollOptionsExt): void { let valueSerializer: Serializer = this const value_scrollUp = value.scrollUp let value_scrollUp_type: int32 = RuntimeType.UNDEFINED @@ -3624,11 +4043,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_scrollLeft_value.valueOf()) } } - writeOffscreenCanvasRenderingContext2D(value: OffscreenCanvasRenderingContext2D): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeOnAlertEvent(value: OnAlertEvent): void { + public writeOnAlertEvent(value: OnAlertEvent): void { let valueSerializer: Serializer = this const value_url = value.url valueSerializer.writeString(value_url) @@ -3637,7 +4052,7 @@ export class Serializer extends SerializerBase { const value_result = value.result valueSerializer.writeJsResult(value_result) } - writeOnBeforeUnloadEvent(value: OnBeforeUnloadEvent): void { + public writeOnBeforeUnloadEvent(value: OnBeforeUnloadEvent): void { let valueSerializer: Serializer = this const value_url = value.url valueSerializer.writeString(value_url) @@ -3646,7 +4061,7 @@ export class Serializer extends SerializerBase { const value_result = value.result valueSerializer.writeJsResult(value_result) } - writeOnClientAuthenticationEvent(value: OnClientAuthenticationEvent): void { + public writeOnClientAuthenticationEvent(value: OnClientAuthenticationEvent): void { let valueSerializer: Serializer = this const value_handler = value.handler valueSerializer.writeClientAuthenticationHandler(value_handler) @@ -3667,7 +4082,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_issuers_element) } } - writeOnConfirmEvent(value: OnConfirmEvent): void { + public writeOnConfirmEvent(value: OnConfirmEvent): void { let valueSerializer: Serializer = this const value_url = value.url valueSerializer.writeString(value_url) @@ -3676,14 +4091,14 @@ export class Serializer extends SerializerBase { const value_result = value.result valueSerializer.writeJsResult(value_result) } - writeOnContextMenuShowEvent(value: OnContextMenuShowEvent): void { + public writeOnContextMenuShowEvent(value: OnContextMenuShowEvent): void { let valueSerializer: Serializer = this const value_param = value.param valueSerializer.writeWebContextMenuParam(value_param) const value_result = value.result valueSerializer.writeWebContextMenuResult(value_result) } - writeOnDownloadStartEvent(value: OnDownloadStartEvent): void { + public writeOnDownloadStartEvent(value: OnDownloadStartEvent): void { let valueSerializer: Serializer = this const value_url = value.url valueSerializer.writeString(value_url) @@ -3696,26 +4111,26 @@ export class Serializer extends SerializerBase { const value_contentLength = value.contentLength valueSerializer.writeNumber(value_contentLength) } - writeOnErrorReceiveEvent(value: OnErrorReceiveEvent): void { + public writeOnErrorReceiveEvent(value: OnErrorReceiveEvent): void { let valueSerializer: Serializer = this const value_request = value.request valueSerializer.writeWebResourceRequest(value_request) const value_error = value.error valueSerializer.writeWebResourceError(value_error) } - writeOnFaviconReceivedEvent(value: OnFaviconReceivedEvent): void { + public writeOnFaviconReceivedEvent(value: OnFaviconReceivedEvent): void { let valueSerializer: Serializer = this const value_favicon = value.favicon valueSerializer.writePixelMap(value_favicon) } - writeOnGeolocationShowEvent(value: OnGeolocationShowEvent): void { + public writeOnGeolocationShowEvent(value: OnGeolocationShowEvent): void { let valueSerializer: Serializer = this const value_origin = value.origin valueSerializer.writeString(value_origin) const value_geolocation = value.geolocation valueSerializer.writeJsGeolocation(value_geolocation) } - writeOnHttpAuthRequestEvent(value: OnHttpAuthRequestEvent): void { + public writeOnHttpAuthRequestEvent(value: OnHttpAuthRequestEvent): void { let valueSerializer: Serializer = this const value_handler = value.handler valueSerializer.writeHttpAuthHandler(value_handler) @@ -3724,44 +4139,44 @@ export class Serializer extends SerializerBase { const value_realm = value.realm valueSerializer.writeString(value_realm) } - writeOnHttpErrorReceiveEvent(value: OnHttpErrorReceiveEvent): void { + public writeOnHttpErrorReceiveEvent(value: OnHttpErrorReceiveEvent): void { let valueSerializer: Serializer = this const value_request = value.request valueSerializer.writeWebResourceRequest(value_request) const value_response = value.response valueSerializer.writeWebResourceResponse(value_response) } - writeOnInterceptRequestEvent(value: OnInterceptRequestEvent): void { + public writeOnInterceptRequestEvent(value: OnInterceptRequestEvent): void { let valueSerializer: Serializer = this const value_request = value.request valueSerializer.writeWebResourceRequest(value_request) } - writeOnLoadInterceptEvent(value: OnLoadInterceptEvent): void { + public writeOnLoadInterceptEvent(value: OnLoadInterceptEvent): void { let valueSerializer: Serializer = this const value_data = value.data valueSerializer.writeWebResourceRequest(value_data) } - writeOnPageBeginEvent(value: OnPageBeginEvent): void { + public writeOnPageBeginEvent(value: OnPageBeginEvent): void { let valueSerializer: Serializer = this const value_url = value.url valueSerializer.writeString(value_url) } - writeOnPageEndEvent(value: OnPageEndEvent): void { + public writeOnPageEndEvent(value: OnPageEndEvent): void { let valueSerializer: Serializer = this const value_url = value.url valueSerializer.writeString(value_url) } - writeOnPageVisibleEvent(value: OnPageVisibleEvent): void { + public writeOnPageVisibleEvent(value: OnPageVisibleEvent): void { let valueSerializer: Serializer = this const value_url = value.url valueSerializer.writeString(value_url) } - writeOnPermissionRequestEvent(value: OnPermissionRequestEvent): void { + public writeOnPermissionRequestEvent(value: OnPermissionRequestEvent): void { let valueSerializer: Serializer = this const value_request = value.request valueSerializer.writePermissionRequest(value_request) } - writeOnPromptEvent(value: OnPromptEvent): void { + public writeOnPromptEvent(value: OnPromptEvent): void { let valueSerializer: Serializer = this const value_url = value.url valueSerializer.writeString(value_url) @@ -3772,29 +4187,29 @@ export class Serializer extends SerializerBase { const value_result = value.result valueSerializer.writeJsResult(value_result) } - writeOnRefreshAccessedHistoryEvent(value: OnRefreshAccessedHistoryEvent): void { + public writeOnRefreshAccessedHistoryEvent(value: OnRefreshAccessedHistoryEvent): void { let valueSerializer: Serializer = this const value_url = value.url valueSerializer.writeString(value_url) const value_isRefreshed = value.isRefreshed valueSerializer.writeBoolean(value_isRefreshed) } - writeOnRenderExitedEvent(value: OnRenderExitedEvent): void { + public writeOnRenderExitedEvent(value: OnRenderExitedEvent): void { let valueSerializer: Serializer = this const value_renderExitReason = value.renderExitReason valueSerializer.writeInt32(value_renderExitReason.valueOf()) } - writeOnResourceLoadEvent(value: OnResourceLoadEvent): void { + public writeOnResourceLoadEvent(value: OnResourceLoadEvent): void { let valueSerializer: Serializer = this const value_url = value.url valueSerializer.writeString(value_url) } - writeOnScreenCaptureRequestEvent(value: OnScreenCaptureRequestEvent): void { + public writeOnScreenCaptureRequestEvent(value: OnScreenCaptureRequestEvent): void { let valueSerializer: Serializer = this const value_handler = value.handler valueSerializer.writeScreenCaptureHandler(value_handler) } - writeOnSslErrorEventReceiveEvent(value: OnSslErrorEventReceiveEvent): void { + public writeOnSslErrorEventReceiveEvent(value: OnSslErrorEventReceiveEvent): void { let valueSerializer: Serializer = this const value_handler = value.handler valueSerializer.writeSslErrorHandler(value_handler) @@ -3813,19 +4228,19 @@ export class Serializer extends SerializerBase { } } } - writeOnTitleReceiveEvent(value: OnTitleReceiveEvent): void { + public writeOnTitleReceiveEvent(value: OnTitleReceiveEvent): void { let valueSerializer: Serializer = this const value_title = value.title valueSerializer.writeString(value_title) } - writeOnTouchIconUrlReceivedEvent(value: OnTouchIconUrlReceivedEvent): void { + public writeOnTouchIconUrlReceivedEvent(value: OnTouchIconUrlReceivedEvent): void { let valueSerializer: Serializer = this const value_url = value.url valueSerializer.writeString(value_url) const value_precomposed = value.precomposed valueSerializer.writeBoolean(value_precomposed) } - writeOnWindowNewEvent(value: OnWindowNewEvent): void { + public writeOnWindowNewEvent(value: OnWindowNewEvent): void { let valueSerializer: Serializer = this const value_isAlert = value.isAlert valueSerializer.writeBoolean(value_isAlert) @@ -3836,7 +4251,12 @@ export class Serializer extends SerializerBase { const value_handler = value.handler valueSerializer.writeControllerHandler(value_handler) } - writeOverlayOffset(value: OverlayOffset): void { + public writeOrientation(value: Orientation): void { + let valueSerializer: Serializer = this + const value__OrientationStub = value._OrientationStub + valueSerializer.writeString(value__OrientationStub) + } + public writeOverlayOffset(value: OverlayOffset): void { let valueSerializer: Serializer = this const value_x = value.x let value_x_type: int32 = RuntimeType.UNDEFINED @@ -3855,7 +4275,42 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_y_value) } } - writePasteButtonOptions(value: PasteButtonOptions): void { + public writePanGestureHandlerOptions(value: PanGestureHandlerOptions): void { + let valueSerializer: Serializer = this + const value_isFingerCountLimited = value.isFingerCountLimited + let value_isFingerCountLimited_type: int32 = RuntimeType.UNDEFINED + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited) + valueSerializer.writeInt8(value_isFingerCountLimited_type) + if ((RuntimeType.UNDEFINED) != (value_isFingerCountLimited_type)) { + const value_isFingerCountLimited_value = value_isFingerCountLimited! + valueSerializer.writeBoolean(value_isFingerCountLimited_value) + } + const value_fingers = value.fingers + let value_fingers_type: int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_direction = value.direction + let value_direction_type: int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + valueSerializer.writeInt8(value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = value_direction! + valueSerializer.writeInt32(value_direction_value.valueOf()) + } + const value_distance = value.distance + let value_distance_type: int32 = RuntimeType.UNDEFINED + value_distance_type = runtimeType(value_distance) + valueSerializer.writeInt8(value_distance_type) + if ((RuntimeType.UNDEFINED) != (value_distance_type)) { + const value_distance_value = value_distance! + valueSerializer.writeNumber(value_distance_value) + } + } + public writePasteButtonOptions(value: PasteButtonOptions): void { let valueSerializer: Serializer = this const value_icon = value.icon let value_icon_type: int32 = RuntimeType.UNDEFINED @@ -3882,7 +4337,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_buttonType_value.valueOf()) } } - writePasteEvent(value: PasteEvent): void { + public writePasteEvent(value: PasteEvent): void { let valueSerializer: Serializer = this const value_preventDefault = value.preventDefault let value_preventDefault_type: int32 = RuntimeType.UNDEFINED @@ -3893,7 +4348,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_preventDefault_value) } } - writePathOptions(value: PathOptions): void { + public writePathOptions(value: PathOptions): void { let valueSerializer: Serializer = this const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED @@ -3942,7 +4397,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_commands_value) } } - writePathShapeOptions(value: PathShapeOptions): void { + public writePathShapeOptions(value: PathShapeOptions): void { let valueSerializer: Serializer = this const value_commands = value.commands let value_commands_type: int32 = RuntimeType.UNDEFINED @@ -3953,7 +4408,34 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_commands_value) } } - writePixelRoundPolicy(value: PixelRoundPolicy): void { + public writePinchGestureHandlerOptions(value: PinchGestureHandlerOptions): void { + let valueSerializer: Serializer = this + const value_isFingerCountLimited = value.isFingerCountLimited + let value_isFingerCountLimited_type: int32 = RuntimeType.UNDEFINED + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited) + valueSerializer.writeInt8(value_isFingerCountLimited_type) + if ((RuntimeType.UNDEFINED) != (value_isFingerCountLimited_type)) { + const value_isFingerCountLimited_value = value_isFingerCountLimited! + valueSerializer.writeBoolean(value_isFingerCountLimited_value) + } + const value_fingers = value.fingers + let value_fingers_type: int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_distance = value.distance + let value_distance_type: int32 = RuntimeType.UNDEFINED + value_distance_type = runtimeType(value_distance) + valueSerializer.writeInt8(value_distance_type) + if ((RuntimeType.UNDEFINED) != (value_distance_type)) { + const value_distance_value = value_distance! + valueSerializer.writeNumber(value_distance_value) + } + } + public writePixelRoundPolicy(value: PixelRoundPolicy): void { let valueSerializer: Serializer = this const value_start = value.start let value_start_type: int32 = RuntimeType.UNDEFINED @@ -3988,21 +4470,21 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_bottom_value.valueOf()) } } - writePluginComponentTemplate(value: PluginComponentTemplate): void { + public writePluginComponentTemplate(value: PluginComponentTemplate): void { let valueSerializer: Serializer = this const value_source = value.source valueSerializer.writeString(value_source) const value_bundleName = value.bundleName valueSerializer.writeString(value_bundleName) } - writePluginErrorData(value: PluginErrorData): void { + public writePluginErrorData(value: PluginErrorData): void { let valueSerializer: Serializer = this const value_errcode = value.errcode valueSerializer.writeNumber(value_errcode) const value_msg = value.msg valueSerializer.writeString(value_msg) } - writePolygonOptions(value: PolygonOptions): void { + public writePolygonOptions(value: PolygonOptions): void { let valueSerializer: Serializer = this const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED @@ -4043,7 +4525,7 @@ export class Serializer extends SerializerBase { } } } - writePolylineOptions(value: PolylineOptions): void { + public writePolylineOptions(value: PolylineOptions): void { let valueSerializer: Serializer = this const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED @@ -4084,7 +4566,7 @@ export class Serializer extends SerializerBase { } } } - writePolyToPolyOptions(value: PolyToPolyOptions): void { + public writePolyToPolyOptions(value: PolyToPolyOptions): void { let valueSerializer: Serializer = this const value_src = value.src valueSerializer.writeInt32(value_src.length) @@ -4123,14 +4605,25 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_pointCount_value) } } - writePopInfo(value: PopInfo): void { + public writePopInfo(value: PopInfo): void { let valueSerializer: Serializer = this const value_info = value.info valueSerializer.writeNavPathInfo(value_info) const value_result = value.result valueSerializer.holdAndWriteObject(value_result) } - writePostMessageOptions(value: PostMessageOptions): void { + public writePosterOptions(value: PosterOptions): void { + let valueSerializer: Serializer = this + const value_showFirstFrame = value.showFirstFrame + let value_showFirstFrame_type: int32 = RuntimeType.UNDEFINED + value_showFirstFrame_type = runtimeType(value_showFirstFrame) + valueSerializer.writeInt8(value_showFirstFrame_type) + if ((RuntimeType.UNDEFINED) != (value_showFirstFrame_type)) { + const value_showFirstFrame_value = value_showFirstFrame! + valueSerializer.writeBoolean(value_showFirstFrame_value) + } + } + public writePostMessageOptions(value: PostMessageOptions): void { let valueSerializer: Serializer = this const value_transfer = value.transfer let value_transfer_type: int32 = RuntimeType.UNDEFINED @@ -4145,14 +4638,44 @@ export class Serializer extends SerializerBase { } } } - writePreviewText(value: PreviewText): void { + public writePreviewConfiguration(value: PreviewConfiguration): void { + let valueSerializer: Serializer = this + const value_onlyForLifting = value.onlyForLifting + let value_onlyForLifting_type: int32 = RuntimeType.UNDEFINED + value_onlyForLifting_type = runtimeType(value_onlyForLifting) + valueSerializer.writeInt8(value_onlyForLifting_type) + if ((RuntimeType.UNDEFINED) != (value_onlyForLifting_type)) { + const value_onlyForLifting_value = value_onlyForLifting! + valueSerializer.writeBoolean(value_onlyForLifting_value) + } + const value_delayCreating = value.delayCreating + let value_delayCreating_type: int32 = RuntimeType.UNDEFINED + value_delayCreating_type = runtimeType(value_delayCreating) + valueSerializer.writeInt8(value_delayCreating_type) + if ((RuntimeType.UNDEFINED) != (value_delayCreating_type)) { + const value_delayCreating_value = value_delayCreating! + valueSerializer.writeBoolean(value_delayCreating_value) + } + } + public writePreviewMenuOptions(value: PreviewMenuOptions): void { + let valueSerializer: Serializer = this + const value_hapticFeedbackMode = value.hapticFeedbackMode + let value_hapticFeedbackMode_type: int32 = RuntimeType.UNDEFINED + value_hapticFeedbackMode_type = runtimeType(value_hapticFeedbackMode) + valueSerializer.writeInt8(value_hapticFeedbackMode_type) + if ((RuntimeType.UNDEFINED) != (value_hapticFeedbackMode_type)) { + const value_hapticFeedbackMode_value = value_hapticFeedbackMode! + valueSerializer.writeInt32(value_hapticFeedbackMode_value.valueOf()) + } + } + public writePreviewText(value: PreviewText): void { let valueSerializer: Serializer = this const value_offset = value.offset valueSerializer.writeNumber(value_offset) const value_value = value.value valueSerializer.writeString(value_value) } - writeProgressOptions(value: ProgressOptions): void { + public writeProgressOptions(value: ProgressOptions): void { let valueSerializer: Serializer = this const value_value = value.value valueSerializer.writeNumber(value_value) @@ -4181,7 +4704,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_type_value.valueOf()) } } - writeRadioOptions(value: RadioOptions): void { + public writeRadioOptions(value: RadioOptions): void { let valueSerializer: Serializer = this const value_group = value.group valueSerializer.writeString(value_group) @@ -4204,7 +4727,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_indicatorBuilder_value)) } } - writeRatingOptions(value: RatingOptions): void { + public writeRatingOptions(value: RatingOptions): void { let valueSerializer: Serializer = this const value_rating = value.rating valueSerializer.writeNumber(value_rating) @@ -4217,7 +4740,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_indicator_value) } } - writeRectStyle(value: RectStyle): void { + public writeRectStyle(value: RectStyle): void { let valueSerializer: Serializer = this const value_color = value.color valueSerializer.writecommon2D_Color(value_color) @@ -4230,11 +4753,11 @@ export class Serializer extends SerializerBase { const value_leftBottomRadius = value.leftBottomRadius valueSerializer.writeNumber(value_leftBottomRadius) } - writeRenderingContextSettings(value: RenderingContextSettings): void { + public writeRenderingContextSettings(value: RenderingContextSettings): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeRenderProcessNotRespondingData(value: RenderProcessNotRespondingData): void { + public writeRenderProcessNotRespondingData(value: RenderProcessNotRespondingData): void { let valueSerializer: Serializer = this const value_jsStack = value.jsStack valueSerializer.writeString(value_jsStack) @@ -4243,11 +4766,11 @@ export class Serializer extends SerializerBase { const value_reason = value.reason valueSerializer.writeInt32(value_reason.valueOf()) } - writeReplaceSymbolEffect(value: ReplaceSymbolEffect): void { + public writeReplaceSymbolEffect(value: ReplaceSymbolEffect): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeResource(value: Resource): void { + public writeResource(value: Resource): void { let valueSerializer: Serializer = this const value_bundleName = value.bundleName valueSerializer.writeString(value_bundleName) @@ -4276,18 +4799,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_type_value) } } - writeRichEditorBuilderSpanOptions(value: RichEditorBuilderSpanOptions): void { - let valueSerializer: Serializer = this - const value_offset = value.offset - let value_offset_type: int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - valueSerializer.writeNumber(value_offset_value) - } - } - writeRichEditorDeleteValue(value: RichEditorDeleteValue): void { + public writeRichEditorDeleteValue(value: RichEditorDeleteValue): void { let valueSerializer: Serializer = this const value_offset = value.offset valueSerializer.writeNumber(value_offset) @@ -4313,7 +4825,7 @@ export class Serializer extends SerializerBase { } } } - writeRichEditorGesture(value: RichEditorGesture): void { + public writeRichEditorGesture(value: RichEditorGesture): void { let valueSerializer: Serializer = this const value_onClick = value.onClick let value_onClick_type: int32 = RuntimeType.UNDEFINED @@ -4331,8 +4843,16 @@ export class Serializer extends SerializerBase { const value_onLongPress_value = value_onLongPress! valueSerializer.holdAndWriteCallback(value_onLongPress_value) } + const value_onDoubleClick = value.onDoubleClick + let value_onDoubleClick_type: int32 = RuntimeType.UNDEFINED + value_onDoubleClick_type = runtimeType(value_onDoubleClick) + valueSerializer.writeInt8(value_onDoubleClick_type) + if ((RuntimeType.UNDEFINED) != (value_onDoubleClick_type)) { + const value_onDoubleClick_value = value_onDoubleClick! + valueSerializer.holdAndWriteCallback(value_onDoubleClick_value) + } } - writeRichEditorInsertValue(value: RichEditorInsertValue): void { + public writeRichEditorInsertValue(value: RichEditorInsertValue): void { let valueSerializer: Serializer = this const value_insertOffset = value.insertOffset valueSerializer.writeNumber(value_insertOffset) @@ -4347,7 +4867,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_previewText_value) } } - writeRichEditorRange(value: RichEditorRange): void { + public writeRichEditorRange(value: RichEditorRange): void { let valueSerializer: Serializer = this const value_start = value.start let value_start_type: int32 = RuntimeType.UNDEFINED @@ -4366,7 +4886,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_end_value) } } - writeRichEditorSelection(value: RichEditorSelection): void { + public writeRichEditorSelection(value: RichEditorSelection): void { let valueSerializer: Serializer = this const value_selection = value.selection const value_selection_0 = value_selection[0] @@ -4391,7 +4911,7 @@ export class Serializer extends SerializerBase { } } } - writeRichEditorSpanPosition(value: RichEditorSpanPosition): void { + public writeRichEditorSpanPosition(value: RichEditorSpanPosition): void { let valueSerializer: Serializer = this const value_spanIndex = value.spanIndex valueSerializer.writeNumber(value_spanIndex) @@ -4401,7 +4921,7 @@ export class Serializer extends SerializerBase { const value_spanRange_1 = value_spanRange[1] valueSerializer.writeNumber(value_spanRange_1) } - writeRotateOption(value: RotateOption): void { + public writeRotateOption(value: RotateOption): void { let valueSerializer: Serializer = this const value_x = value.x let value_x_type: int32 = RuntimeType.UNDEFINED @@ -4452,7 +4972,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_angle_value) } } - writeRotateOptions(value: RotateOptions): void { + public writeRotateOptions(value: RotateOptions): void { let valueSerializer: Serializer = this const value_x = value.x let value_x_type: int32 = RuntimeType.UNDEFINED @@ -4546,7 +5066,34 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_angle_1) } } - writeRoundedRectOptions(value: RoundedRectOptions): void { + public writeRotationGestureHandlerOptions(value: RotationGestureHandlerOptions): void { + let valueSerializer: Serializer = this + const value_isFingerCountLimited = value.isFingerCountLimited + let value_isFingerCountLimited_type: int32 = RuntimeType.UNDEFINED + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited) + valueSerializer.writeInt8(value_isFingerCountLimited_type) + if ((RuntimeType.UNDEFINED) != (value_isFingerCountLimited_type)) { + const value_isFingerCountLimited_value = value_isFingerCountLimited! + valueSerializer.writeBoolean(value_isFingerCountLimited_value) + } + const value_fingers = value.fingers + let value_fingers_type: int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_angle = value.angle + let value_angle_type: int32 = RuntimeType.UNDEFINED + value_angle_type = runtimeType(value_angle) + valueSerializer.writeInt8(value_angle_type) + if ((RuntimeType.UNDEFINED) != (value_angle_type)) { + const value_angle_value = value_angle! + valueSerializer.writeNumber(value_angle_value) + } + } + public writeRoundedRectOptions(value: RoundedRectOptions): void { let valueSerializer: Serializer = this const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED @@ -4625,14 +5172,14 @@ export class Serializer extends SerializerBase { } } } - writeRoundRect(value: RoundRect): void { + public writeRoundRect(value: RoundRect): void { let valueSerializer: Serializer = this const value_rect = value.rect valueSerializer.writeRect(value_rect) const value_corners = value.corners valueSerializer.writeCornerRadius(value_corners) } - writeRoundRectShapeOptions(value: RoundRectShapeOptions): void { + public writeRoundRectShapeOptions(value: RoundRectShapeOptions): void { let valueSerializer: Serializer = this const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED @@ -4711,7 +5258,7 @@ export class Serializer extends SerializerBase { } } } - writeRouteInfo(value: RouteInfo): void { + public writeRouteInfo(value: RouteInfo): void { let valueSerializer: Serializer = this const value_name = value.name valueSerializer.writeString(value_name) @@ -4724,7 +5271,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteObject(value_param_value) } } - writeRouteMapConfig(value: RouteMapConfig): void { + public writeRouteMapConfig(value: RouteMapConfig): void { let valueSerializer: Serializer = this const value_name = value.name valueSerializer.writeString(value_name) @@ -4733,7 +5280,7 @@ export class Serializer extends SerializerBase { const value_data = value.data valueSerializer.holdAndWriteObject(value_data) } - writeRowOptions(value: RowOptions): void { + public writeRowOptions(value: RowOptions): void { let valueSerializer: Serializer = this const value_space = value.space let value_space_type: int32 = RuntimeType.UNDEFINED @@ -4755,7 +5302,12 @@ export class Serializer extends SerializerBase { } } } - writeSaveButtonOptions(value: SaveButtonOptions): void { + public writeRowOptionsV2(value: RowOptionsV2): void { + let valueSerializer: Serializer = this + const value_stub = value.stub + valueSerializer.writeString(value_stub) + } + public writeSaveButtonOptions(value: SaveButtonOptions): void { let valueSerializer: Serializer = this const value_icon = value.icon let value_icon_type: int32 = RuntimeType.UNDEFINED @@ -4782,7 +5334,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_buttonType_value.valueOf()) } } - writeScaleOption(value: ScaleOption): void { + public writeScaleOption(value: ScaleOption): void { let valueSerializer: Serializer = this const value_x = value.x let value_x_type: int32 = RuntimeType.UNDEFINED @@ -4825,7 +5377,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_centerY_value) } } - writeScaleOptions(value: ScaleOptions): void { + public writeScaleOptions(value: ScaleOptions): void { let valueSerializer: Serializer = this const value_x = value.x let value_x_type: int32 = RuntimeType.UNDEFINED @@ -4890,16 +5442,16 @@ export class Serializer extends SerializerBase { } } } - writeScaleSymbolEffect(value: ScaleSymbolEffect): void { + public writeScaleSymbolEffect(value: ScaleSymbolEffect): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeScreenCaptureConfig(value: ScreenCaptureConfig): void { + public writeScreenCaptureConfig(value: ScreenCaptureConfig): void { let valueSerializer: Serializer = this const value_captureMode = value.captureMode valueSerializer.writeInt32(value_captureMode.valueOf()) } - writeScriptItem(value: ScriptItem): void { + public writeScriptItem(value: ScriptItem): void { let valueSerializer: Serializer = this const value_script = value.script valueSerializer.writeString(value_script) @@ -4910,7 +5462,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_scriptRules_element) } } - writeScrollAnimationOptions(value: ScrollAnimationOptions): void { + public writeScrollAnimationOptions(value: ScrollAnimationOptions): void { let valueSerializer: Serializer = this const value_duration = value.duration let value_duration_type: int32 = RuntimeType.UNDEFINED @@ -4948,7 +5500,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_canOverScroll_value) } } - writeScrollBarOptions(value: ScrollBarOptions): void { + public writeScrollBarOptions(value: ScrollBarOptions): void { let valueSerializer: Serializer = this const value_scroller = value.scroller valueSerializer.writeScroller(value_scroller) @@ -4969,7 +5521,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_state_value.valueOf()) } } - writeScrollEdgeOptions(value: ScrollEdgeOptions): void { + public writeScrollEdgeOptions(value: ScrollEdgeOptions): void { let valueSerializer: Serializer = this const value_velocity = value.velocity let value_velocity_type: int32 = RuntimeType.UNDEFINED @@ -4980,7 +5532,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_velocity_value) } } - writeScrollPageOptions(value: ScrollPageOptions): void { + public writeScrollPageOptions(value: ScrollPageOptions): void { let valueSerializer: Serializer = this const value_next = value.next valueSerializer.writeBoolean(value_next) @@ -4993,34 +5545,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_animation_value) } } - writeSelectionMenuOptions(value: SelectionMenuOptions): void { - let valueSerializer: Serializer = this - const value_onAppear = value.onAppear - let value_onAppear_type: int32 = RuntimeType.UNDEFINED - value_onAppear_type = runtimeType(value_onAppear) - valueSerializer.writeInt8(value_onAppear_type) - if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { - const value_onAppear_value = value_onAppear! - valueSerializer.holdAndWriteCallback(value_onAppear_value) - } - const value_onDisappear = value.onDisappear - let value_onDisappear_type: int32 = RuntimeType.UNDEFINED - value_onDisappear_type = runtimeType(value_onDisappear) - valueSerializer.writeInt8(value_onDisappear_type) - if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { - const value_onDisappear_value = value_onDisappear! - valueSerializer.holdAndWriteCallback(value_onDisappear_value) - } - const value_menuType = value.menuType - let value_menuType_type: int32 = RuntimeType.UNDEFINED - value_menuType_type = runtimeType(value_menuType) - valueSerializer.writeInt8(value_menuType_type) - if ((RuntimeType.UNDEFINED) != (value_menuType_type)) { - const value_menuType_value = value_menuType! - valueSerializer.writeInt32(value_menuType_value.valueOf()) - } - } - writeSelectionMenuOptionsExt(value: SelectionMenuOptionsExt): void { + public writeSelectionMenuOptionsExt(value: SelectionMenuOptionsExt): void { let valueSerializer: Serializer = this const value_onAppear = value.onAppear let value_onAppear_type: int32 = RuntimeType.UNDEFINED @@ -5055,7 +5580,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_menuType_value.valueOf()) } } - writeSelectionOptions(value: SelectionOptions): void { + public writeSelectionOptions(value: SelectionOptions): void { let valueSerializer: Serializer = this const value_menuPolicy = value.menuPolicy let value_menuPolicy_type: int32 = RuntimeType.UNDEFINED @@ -5066,7 +5591,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_menuPolicy_value.valueOf()) } } - writeShapeSize(value: ShapeSize): void { + public writeShapeSize(value: ShapeSize): void { let valueSerializer: Serializer = this const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED @@ -5107,12 +5632,12 @@ export class Serializer extends SerializerBase { } } } - writeSheetDismiss(value: SheetDismiss): void { + public writeSheetDismiss(value: SheetDismiss): void { let valueSerializer: Serializer = this const value_dismiss = value.dismiss valueSerializer.holdAndWriteCallback(value_dismiss) } - writeSlideRange(value: SlideRange): void { + public writeSlideRange(value: SlideRange): void { let valueSerializer: Serializer = this const value_from = value.from let value_from_type: int32 = RuntimeType.UNDEFINED @@ -5131,7 +5656,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_to_value) } } - writeSliderOptions(value: SliderOptions): void { + public writeSliderOptions(value: SliderOptions): void { let valueSerializer: Serializer = this const value_value = value.value let value_value_type: int32 = RuntimeType.UNDEFINED @@ -5190,7 +5715,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_reverse_value) } } - writeSnapshotOptions(value: SnapshotOptions): void { + public writeSnapshotOptions(value: SnapshotOptions): void { let valueSerializer: Serializer = this const value_scale = value.scale let value_scale_type: int32 = RuntimeType.UNDEFINED @@ -5209,12 +5734,12 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_waitUntilRenderFinished_value) } } - writeSpringBackAction(value: SpringBackAction): void { + public writeSpringBackAction(value: SpringBackAction): void { let valueSerializer: Serializer = this const value_springBack = value.springBack valueSerializer.holdAndWriteCallback(value_springBack) } - writeSslErrorEvent(value: SslErrorEvent): void { + public writeSslErrorEvent(value: SslErrorEvent): void { let valueSerializer: Serializer = this const value_handler = value.handler valueSerializer.writeSslErrorHandler(value_handler) @@ -5231,7 +5756,7 @@ export class Serializer extends SerializerBase { const value_isMainFrame = value.isMainFrame valueSerializer.writeBoolean(value_isMainFrame) } - writeStackOptions(value: StackOptions): void { + public writeStackOptions(value: StackOptions): void { let valueSerializer: Serializer = this const value_alignContent = value.alignContent let value_alignContent_type: int32 = RuntimeType.UNDEFINED @@ -5242,7 +5767,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_alignContent_value.valueOf()) } } - writeStarStyleOptions(value: StarStyleOptions): void { + public writeStarStyleOptions(value: StarStyleOptions): void { let valueSerializer: Serializer = this const value_backgroundUri = value.backgroundUri valueSerializer.writeString(value_backgroundUri) @@ -5257,7 +5782,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_secondaryUri_value) } } - writeStateStyles(value: StateStyles): void { + public writeStateStyles(value: StateStyles): void { let valueSerializer: Serializer = this const value_normal = value.normal let value_normal_type: int32 = RuntimeType.UNDEFINED @@ -5308,7 +5833,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteObject(value_selected_value) } } - writeStyledStringChangedListener(value: StyledStringChangedListener): void { + public writeStyledStringChangedListener(value: StyledStringChangedListener): void { let valueSerializer: Serializer = this const value_onWillChange = value.onWillChange let value_onWillChange_type: int32 = RuntimeType.UNDEFINED @@ -5327,7 +5852,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_onDidChange_value) } } - writeSummary(value: Summary): void { + public writeSummary(value: Summary): void { let valueSerializer: Serializer = this const value_summary = value.summary valueSerializer.writeInt32(value_summary.size) @@ -5338,7 +5863,7 @@ export class Serializer extends SerializerBase { const value_totalSize = value.totalSize valueSerializer.writeInt64(value_totalSize) } - writeSurfaceRect(value: SurfaceRect): void { + public writeSurfaceRect(value: SurfaceRect): void { let valueSerializer: Serializer = this const value_offsetX = value.offsetX let value_offsetX_type: int32 = RuntimeType.UNDEFINED @@ -5361,7 +5886,7 @@ export class Serializer extends SerializerBase { const value_surfaceHeight = value.surfaceHeight valueSerializer.writeNumber(value_surfaceHeight) } - writeSurfaceRotationOptions(value: SurfaceRotationOptions): void { + public writeSurfaceRotationOptions(value: SurfaceRotationOptions): void { let valueSerializer: Serializer = this const value_lock = value.lock let value_lock_type: int32 = RuntimeType.UNDEFINED @@ -5372,7 +5897,42 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_lock_value) } } - writeSwiperAutoFill(value: SwiperAutoFill): void { + public writeSwipeGestureHandlerOptions(value: SwipeGestureHandlerOptions): void { + let valueSerializer: Serializer = this + const value_isFingerCountLimited = value.isFingerCountLimited + let value_isFingerCountLimited_type: int32 = RuntimeType.UNDEFINED + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited) + valueSerializer.writeInt8(value_isFingerCountLimited_type) + if ((RuntimeType.UNDEFINED) != (value_isFingerCountLimited_type)) { + const value_isFingerCountLimited_value = value_isFingerCountLimited! + valueSerializer.writeBoolean(value_isFingerCountLimited_value) + } + const value_fingers = value.fingers + let value_fingers_type: int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_direction = value.direction + let value_direction_type: int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + valueSerializer.writeInt8(value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = value_direction! + valueSerializer.writeInt32(value_direction_value.valueOf()) + } + const value_speed = value.speed + let value_speed_type: int32 = RuntimeType.UNDEFINED + value_speed_type = runtimeType(value_speed) + valueSerializer.writeInt8(value_speed_type) + if ((RuntimeType.UNDEFINED) != (value_speed_type)) { + const value_speed_value = value_speed! + valueSerializer.writeNumber(value_speed_value) + } + } + public writeSwiperAutoFill(value: SwiperAutoFill): void { let valueSerializer: Serializer = this const value_minSize = value.minSize let value_minSize_type: int32 = RuntimeType.UNDEFINED @@ -5388,7 +5948,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_minSize_1) } } - writeSwiperContentAnimatedTransition(value: SwiperContentAnimatedTransition): void { + public writeSwiperContentAnimatedTransition(value: SwiperContentAnimatedTransition): void { let valueSerializer: Serializer = this const value_timeout = value.timeout let value_timeout_type: int32 = RuntimeType.UNDEFINED @@ -5401,7 +5961,18 @@ export class Serializer extends SerializerBase { const value_transition = value.transition valueSerializer.holdAndWriteCallback(value_transition) } - writeSystemBarStyle(value: SystemBarStyle): void { + public writeSystemAdaptiveOptions(value: SystemAdaptiveOptions): void { + let valueSerializer: Serializer = this + const value_disableSystemAdaptation = value.disableSystemAdaptation + let value_disableSystemAdaptation_type: int32 = RuntimeType.UNDEFINED + value_disableSystemAdaptation_type = runtimeType(value_disableSystemAdaptation) + valueSerializer.writeInt8(value_disableSystemAdaptation_type) + if ((RuntimeType.UNDEFINED) != (value_disableSystemAdaptation_type)) { + const value_disableSystemAdaptation_value = value_disableSystemAdaptation! + valueSerializer.writeBoolean(value_disableSystemAdaptation_value) + } + } + public writeSystemBarStyle(value: SystemBarStyle): void { let valueSerializer: Serializer = this const value_statusBarContentColor = value.statusBarContentColor let value_statusBarContentColor_type: int32 = RuntimeType.UNDEFINED @@ -5412,7 +5983,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_statusBarContentColor_value) } } - writeTabBarSymbol(value: TabBarSymbol): void { + public writeTabBarSymbol(value: TabBarSymbol): void { let valueSerializer: Serializer = this const value_normal = value.normal valueSerializer.writeSymbolGlyphModifier(value_normal) @@ -5425,7 +5996,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeSymbolGlyphModifier(value_selected_value) } } - writeTabContentAnimatedTransition(value: TabContentAnimatedTransition): void { + public writeTabContentAnimatedTransition(value: TabContentAnimatedTransition): void { let valueSerializer: Serializer = this const value_timeout = value.timeout let value_timeout_type: int32 = RuntimeType.UNDEFINED @@ -5438,35 +6009,16 @@ export class Serializer extends SerializerBase { const value_transition = value.transition valueSerializer.holdAndWriteCallback(value_transition) } - writeTabsOptions(value: TabsOptions): void { + public writeTapGestureParameters(value: TapGestureParameters): void { let valueSerializer: Serializer = this - const value_barPosition = value.barPosition - let value_barPosition_type: int32 = RuntimeType.UNDEFINED - value_barPosition_type = runtimeType(value_barPosition) - valueSerializer.writeInt8(value_barPosition_type) - if ((RuntimeType.UNDEFINED) != (value_barPosition_type)) { - const value_barPosition_value = value_barPosition! - valueSerializer.writeInt32(value_barPosition_value.valueOf()) - } - const value_index = value.index - let value_index_type: int32 = RuntimeType.UNDEFINED - value_index_type = runtimeType(value_index) - valueSerializer.writeInt8(value_index_type) - if ((RuntimeType.UNDEFINED) != (value_index_type)) { - const value_index_value = value_index! - valueSerializer.writeNumber(value_index_value) - } - const value_controller = value.controller - let value_controller_type: int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type) - if ((RuntimeType.UNDEFINED) != (value_controller_type)) { - const value_controller_value = value_controller! - valueSerializer.writeTabsController(value_controller_value) + const value_isFingerCountLimited = value.isFingerCountLimited + let value_isFingerCountLimited_type: int32 = RuntimeType.UNDEFINED + value_isFingerCountLimited_type = runtimeType(value_isFingerCountLimited) + valueSerializer.writeInt8(value_isFingerCountLimited_type) + if ((RuntimeType.UNDEFINED) != (value_isFingerCountLimited_type)) { + const value_isFingerCountLimited_value = value_isFingerCountLimited! + valueSerializer.writeBoolean(value_isFingerCountLimited_value) } - } - writeTapGestureParameters(value: TapGestureParameters): void { - let valueSerializer: Serializer = this const value_count = value.count let value_count_type: int32 = RuntimeType.UNDEFINED value_count_type = runtimeType(value_count) @@ -5492,14 +6044,14 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_distanceThreshold_value) } } - writeTextBox(value: TextBox): void { + public writeTextBox(value: TextBox): void { let valueSerializer: Serializer = this const value_rect = value.rect valueSerializer.writeRect(value_rect) const value_direction = value.direction valueSerializer.writeInt32(value_direction.valueOf()) } - writeTextClockOptions(value: TextClockOptions): void { + public writeTextClockOptions(value: TextClockOptions): void { let valueSerializer: Serializer = this const value_timeZoneOffset = value.timeZoneOffset let value_timeZoneOffset_type: int32 = RuntimeType.UNDEFINED @@ -5518,7 +6070,71 @@ export class Serializer extends SerializerBase { valueSerializer.writeTextClockController(value_controller_value) } } - writeTextRange(value: TextRange): void { + public writeTextContentControllerOptions(value: TextContentControllerOptions): void { + let valueSerializer: Serializer = this + const value_offset = value.offset + let value_offset_type: int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writeNumber(value_offset_value) + } + } + public writeTextMarqueeOptions(value: TextMarqueeOptions): void { + let valueSerializer: Serializer = this + const value_start = value.start + valueSerializer.writeBoolean(value_start) + const value_step = value.step + let value_step_type: int32 = RuntimeType.UNDEFINED + value_step_type = runtimeType(value_step) + valueSerializer.writeInt8(value_step_type) + if ((RuntimeType.UNDEFINED) != (value_step_type)) { + const value_step_value = value_step! + valueSerializer.writeNumber(value_step_value) + } + const value_loop = value.loop + let value_loop_type: int32 = RuntimeType.UNDEFINED + value_loop_type = runtimeType(value_loop) + valueSerializer.writeInt8(value_loop_type) + if ((RuntimeType.UNDEFINED) != (value_loop_type)) { + const value_loop_value = value_loop! + valueSerializer.writeNumber(value_loop_value) + } + const value_fromStart = value.fromStart + let value_fromStart_type: int32 = RuntimeType.UNDEFINED + value_fromStart_type = runtimeType(value_fromStart) + valueSerializer.writeInt8(value_fromStart_type) + if ((RuntimeType.UNDEFINED) != (value_fromStart_type)) { + const value_fromStart_value = value_fromStart! + valueSerializer.writeBoolean(value_fromStart_value) + } + const value_delay = value.delay + let value_delay_type: int32 = RuntimeType.UNDEFINED + value_delay_type = runtimeType(value_delay) + valueSerializer.writeInt8(value_delay_type) + if ((RuntimeType.UNDEFINED) != (value_delay_type)) { + const value_delay_value = value_delay! + valueSerializer.writeNumber(value_delay_value) + } + const value_fadeout = value.fadeout + let value_fadeout_type: int32 = RuntimeType.UNDEFINED + value_fadeout_type = runtimeType(value_fadeout) + valueSerializer.writeInt8(value_fadeout_type) + if ((RuntimeType.UNDEFINED) != (value_fadeout_type)) { + const value_fadeout_value = value_fadeout! + valueSerializer.writeBoolean(value_fadeout_value) + } + const value_marqueeStartPolicy = value.marqueeStartPolicy + let value_marqueeStartPolicy_type: int32 = RuntimeType.UNDEFINED + value_marqueeStartPolicy_type = runtimeType(value_marqueeStartPolicy) + valueSerializer.writeInt8(value_marqueeStartPolicy_type) + if ((RuntimeType.UNDEFINED) != (value_marqueeStartPolicy_type)) { + const value_marqueeStartPolicy_value = value_marqueeStartPolicy! + valueSerializer.writeInt32(value_marqueeStartPolicy_value.valueOf()) + } + } + public writeTextRange(value: TextRange): void { let valueSerializer: Serializer = this const value_start = value.start let value_start_type: int32 = RuntimeType.UNDEFINED @@ -5537,11 +6153,11 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_end_value) } } - writeTextShadowStyle(value: TextShadowStyle): void { + public writeTextShadowStyle(value: TextShadowStyle): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTextStyle_alert_dialog(value: TextStyle_alert_dialog): void { + public writeTextStyle_alert_dialog(value: TextStyle_alert_dialog): void { let valueSerializer: Serializer = this const value_wordBreak = value.wordBreak let value_wordBreak_type: int32 = RuntimeType.UNDEFINED @@ -5552,7 +6168,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_wordBreak_value.valueOf()) } } - writeTextTimerOptions(value: TextTimerOptions): void { + public writeTextTimerOptions(value: TextTimerOptions): void { let valueSerializer: Serializer = this const value_isCountDown = value.isCountDown let value_isCountDown_type: int32 = RuntimeType.UNDEFINED @@ -5579,7 +6195,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeTextTimerController(value_controller_value) } } - writeTimePickerOptions(value: TimePickerOptions): void { + public writeTimePickerOptions(value: TimePickerOptions): void { let valueSerializer: Serializer = this const value_selected = value.selected let value_selected_type: int32 = RuntimeType.UNDEFINED @@ -5597,8 +6213,24 @@ export class Serializer extends SerializerBase { const value_format_value = value_format! valueSerializer.writeInt32(value_format_value.valueOf()) } + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeInt64((value_start_value.getTime() as number)) + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeInt64((value_end_value.getTime() as number)) + } } - writeToggleOptions(value: ToggleOptions): void { + public writeToggleOptions(value: ToggleOptions): void { let valueSerializer: Serializer = this const value_type = value.type valueSerializer.writeInt32(value_type.valueOf()) @@ -5611,7 +6243,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_isOn_value) } } - writeTouchObject(value: TouchObject): void { + public writeTouchObject(value: TouchObject): void { let valueSerializer: Serializer = this const value_type = value.type valueSerializer.writeInt32(value_type.valueOf()) @@ -5633,8 +6265,48 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_x) const value_y = value.y valueSerializer.writeNumber(value_y) - } - writeTouchResult(value: TouchResult): void { + const value_hand = value.hand + let value_hand_type: int32 = RuntimeType.UNDEFINED + value_hand_type = runtimeType(value_hand) + valueSerializer.writeInt8(value_hand_type) + if ((RuntimeType.UNDEFINED) != (value_hand_type)) { + const value_hand_value = value_hand! + valueSerializer.writeInt32(value_hand_value.valueOf()) + } + const value_pressedTime = value.pressedTime + let value_pressedTime_type: int32 = RuntimeType.UNDEFINED + value_pressedTime_type = runtimeType(value_pressedTime) + valueSerializer.writeInt8(value_pressedTime_type) + if ((RuntimeType.UNDEFINED) != (value_pressedTime_type)) { + const value_pressedTime_value = value_pressedTime! + valueSerializer.writeNumber(value_pressedTime_value) + } + const value_pressure = value.pressure + let value_pressure_type: int32 = RuntimeType.UNDEFINED + value_pressure_type = runtimeType(value_pressure) + valueSerializer.writeInt8(value_pressure_type) + if ((RuntimeType.UNDEFINED) != (value_pressure_type)) { + const value_pressure_value = value_pressure! + valueSerializer.writeNumber(value_pressure_value) + } + const value_width = value.width + let value_width_type: int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + valueSerializer.writeNumber(value_width_value) + } + const value_height = value.height + let value_height_type: int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + valueSerializer.writeNumber(value_height_value) + } + } + public writeTouchResult(value: TouchResult): void { let valueSerializer: Serializer = this const value_strategy = value.strategy valueSerializer.writeInt32(value_strategy.valueOf()) @@ -5647,7 +6319,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_id_value) } } - writeTransformationMatrix(value: TransformationMatrix): void { + public writeTransformationMatrix(value: TransformationMatrix): void { let valueSerializer: Serializer = this const value_matrix4x4 = value.matrix4x4 valueSerializer.writeInt32(value_matrix4x4.length) @@ -5656,7 +6328,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_matrix4x4_element) } } - writeTranslateOption(value: TranslateOption): void { + public writeTranslateOption(value: TranslateOption): void { let valueSerializer: Serializer = this const value_x = value.x let value_x_type: int32 = RuntimeType.UNDEFINED @@ -5683,7 +6355,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_z_value) } } - writeTranslateOptions(value: TranslateOptions): void { + public writeTranslateOptions(value: TranslateOptions): void { let valueSerializer: Serializer = this const value_x = value.x let value_x_type: int32 = RuntimeType.UNDEFINED @@ -5743,7 +6415,7 @@ export class Serializer extends SerializerBase { } } } - writeUIExtensionOptions(value: UIExtensionOptions): void { + public writeUIExtensionOptions(value: UIExtensionOptions): void { let valueSerializer: Serializer = this const value_isTransferringCaller = value.isTransferringCaller let value_isTransferringCaller_type: int32 = RuntimeType.UNDEFINED @@ -5781,8 +6453,16 @@ export class Serializer extends SerializerBase { const value_dpiFollowStrategy_value = value_dpiFollowStrategy! valueSerializer.writeInt32(value_dpiFollowStrategy_value.valueOf()) } + const value_windowModeFollowStrategy = value.windowModeFollowStrategy + let value_windowModeFollowStrategy_type: int32 = RuntimeType.UNDEFINED + value_windowModeFollowStrategy_type = runtimeType(value_windowModeFollowStrategy) + valueSerializer.writeInt8(value_windowModeFollowStrategy_type) + if ((RuntimeType.UNDEFINED) != (value_windowModeFollowStrategy_type)) { + const value_windowModeFollowStrategy_value = value_windowModeFollowStrategy! + valueSerializer.writeInt32(value_windowModeFollowStrategy_value.valueOf()) + } } - writeViewportRect(value: ViewportRect): void { + public writeViewportRect(value: ViewportRect): void { let valueSerializer: Serializer = this const value_x = value.x let value_x_type: int32 = RuntimeType.UNDEFINED @@ -5861,7 +6541,11 @@ export class Serializer extends SerializerBase { } } } - writeVisibleAreaEventOptions(value: VisibleAreaEventOptions): void { + public writeVirtualScrollOptions(value: VirtualScrollOptions): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeVisibleAreaEventOptions(value: VisibleAreaEventOptions): void { let valueSerializer: Serializer = this const value_ratios = value.ratios valueSerializer.writeInt32(value_ratios.length) @@ -5878,7 +6562,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_expectedUpdateInterval_value) } } - writeVisibleListContentInfo(value: VisibleListContentInfo): void { + public writeVisibleListContentInfo(value: VisibleListContentInfo): void { let valueSerializer: Serializer = this const value_index = value.index valueSerializer.writeNumber(value_index) @@ -5899,7 +6583,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_itemIndexInGroup_value) } } - writeWant(value: Want): void { + public writeWant(value: Want): void { let valueSerializer: Serializer = this const value_bundleName = value.bundleName let value_bundleName_type: int32 = RuntimeType.UNDEFINED @@ -5990,7 +6674,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_moduleName_value) } } - writeWaterFlowOptions(value: WaterFlowOptions): void { + public writeWaterFlowOptions(value: WaterFlowOptions): void { let valueSerializer: Serializer = this const value_footer = value.footer let value_footer_type: int32 = RuntimeType.UNDEFINED @@ -6000,6 +6684,14 @@ export class Serializer extends SerializerBase { const value_footer_value = value_footer! valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_footer_value)) } + const value_footerContent = value.footerContent + let value_footerContent_type: int32 = RuntimeType.UNDEFINED + value_footerContent_type = runtimeType(value_footerContent) + valueSerializer.writeInt8(value_footerContent_type) + if ((RuntimeType.UNDEFINED) != (value_footerContent_type)) { + const value_footerContent_value = value_footerContent! + valueSerializer.writeComponentContent(value_footerContent_value) + } const value_scroller = value.scroller let value_scroller_type: int32 = RuntimeType.UNDEFINED value_scroller_type = runtimeType(value_scroller) @@ -6025,7 +6717,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_layoutMode_value.valueOf()) } } - writeWebKeyboardCallbackInfo(value: WebKeyboardCallbackInfo): void { + public writeWebKeyboardCallbackInfo(value: WebKeyboardCallbackInfo): void { let valueSerializer: Serializer = this const value_controller = value.controller valueSerializer.writeWebKeyboardController(value_controller) @@ -6036,7 +6728,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_attributes_value) } } - writeWebKeyboardOptions(value: WebKeyboardOptions): void { + public writeWebKeyboardOptions(value: WebKeyboardOptions): void { let valueSerializer: Serializer = this const value_useSystemKeyboard = value.useSystemKeyboard valueSerializer.writeBoolean(value_useSystemKeyboard) @@ -6057,7 +6749,7 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_customKeyboard_value)) } } - writeWebMediaOptions(value: WebMediaOptions): void { + public writeWebMediaOptions(value: WebMediaOptions): void { let valueSerializer: Serializer = this const value_resumeInterval = value.resumeInterval let value_resumeInterval_type: int32 = RuntimeType.UNDEFINED @@ -6076,7 +6768,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_audioExclusive_value) } } - writeWebOptions(value: WebOptions): void { + public writeWebOptions(value: WebOptions): void { let valueSerializer: Serializer = this const value_src = value.src let value_src_type: int32 = RuntimeType.UNDEFINED @@ -6129,7 +6821,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_sharedRenderProcessToken_value) } } - writeWorkerOptions(value: WorkerOptions): void { + public writeWorkerOptions(value: WorkerOptions): void { let valueSerializer: Serializer = this const value_type = value.type let value_type_type: int32 = RuntimeType.UNDEFINED @@ -6156,16 +6848,16 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_shared_value) } } - writeWrappedBuilder(value: WrappedBuilder): void { + public writeWrappedBuilder(value: WrappedBuilder): void { let valueSerializer: Serializer = this const value_builder = value.builder valueSerializer.holdAndWriteCallback(value_builder) } - writeXComponentController(value: XComponentController): void { + public writeXComponentController(value: XComponentController): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeActionSheetButtonOptions(value: ActionSheetButtonOptions): void { + public writeActionSheetButtonOptions(value: ActionSheetButtonOptions): void { let valueSerializer: Serializer = this const value_enabled = value.enabled let value_enabled_type: int32 = RuntimeType.UNDEFINED @@ -6207,7 +6899,7 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } - writeActionSheetOffset(value: ActionSheetOffset): void { + public writeActionSheetOffset(value: ActionSheetOffset): void { let valueSerializer: Serializer = this const value_dx = value.dx let value_dx_type: int32 = RuntimeType.UNDEFINED @@ -6246,7 +6938,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeResource(value_dy_2) } } - writeAlertDialogButtonBaseOptions(value: AlertDialogButtonBaseOptions): void { + public writeAlertDialogButtonBaseOptions(value: AlertDialogButtonBaseOptions): void { let valueSerializer: Serializer = this const value_enabled = value.enabled let value_enabled_type: int32 = RuntimeType.UNDEFINED @@ -6346,7 +7038,7 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } - writeAlertDialogButtonOptions(value: AlertDialogButtonOptions): void { + public writeAlertDialogButtonOptions(value: AlertDialogButtonOptions): void { let valueSerializer: Serializer = this const value_enabled = value.enabled let value_enabled_type: int32 = RuntimeType.UNDEFINED @@ -6454,7 +7146,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_primary_value) } } - writeAlignRuleOption(value: AlignRuleOption): void { + public writeAlignRuleOption(value: AlignRuleOption): void { let valueSerializer: Serializer = this const value_left = value.left let value_left_type: int32 = RuntimeType.UNDEFINED @@ -6531,7 +7223,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeBias(value_bias_value) } } - writeAnimateParam(value: AnimateParam): void { + public writeAnimateParam(value: AnimateParam): void { let valueSerializer: Serializer = this const value_duration = value.duration let value_duration_type: int32 = RuntimeType.UNDEFINED @@ -6622,132 +7314,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeExpectedFrameRateRange(value_expectedFrameRateRange_value) } } - writeArrowStyle(value: ArrowStyle): void { - let valueSerializer: Serializer = this - const value_showBackground = value.showBackground - let value_showBackground_type: int32 = RuntimeType.UNDEFINED - value_showBackground_type = runtimeType(value_showBackground) - valueSerializer.writeInt8(value_showBackground_type) - if ((RuntimeType.UNDEFINED) != (value_showBackground_type)) { - const value_showBackground_value = value_showBackground! - valueSerializer.writeBoolean(value_showBackground_value) - } - const value_isSidebarMiddle = value.isSidebarMiddle - let value_isSidebarMiddle_type: int32 = RuntimeType.UNDEFINED - value_isSidebarMiddle_type = runtimeType(value_isSidebarMiddle) - valueSerializer.writeInt8(value_isSidebarMiddle_type) - if ((RuntimeType.UNDEFINED) != (value_isSidebarMiddle_type)) { - const value_isSidebarMiddle_value = value_isSidebarMiddle! - valueSerializer.writeBoolean(value_isSidebarMiddle_value) - } - const value_backgroundSize = value.backgroundSize - let value_backgroundSize_type: int32 = RuntimeType.UNDEFINED - value_backgroundSize_type = runtimeType(value_backgroundSize) - valueSerializer.writeInt8(value_backgroundSize_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundSize_type)) { - const value_backgroundSize_value = value_backgroundSize! - let value_backgroundSize_value_type: int32 = RuntimeType.UNDEFINED - value_backgroundSize_value_type = runtimeType(value_backgroundSize_value) - if (RuntimeType.STRING == value_backgroundSize_value_type) { - valueSerializer.writeInt8(0) - const value_backgroundSize_value_0 = unsafeCast(value_backgroundSize_value) - valueSerializer.writeString(value_backgroundSize_value_0) - } - else if (RuntimeType.NUMBER == value_backgroundSize_value_type) { - valueSerializer.writeInt8(1) - const value_backgroundSize_value_1 = unsafeCast(value_backgroundSize_value) - valueSerializer.writeNumber(value_backgroundSize_value_1) - } - else if (RuntimeType.OBJECT == value_backgroundSize_value_type) { - valueSerializer.writeInt8(2) - const value_backgroundSize_value_2 = unsafeCast(value_backgroundSize_value) - valueSerializer.writeResource(value_backgroundSize_value_2) - } - } - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type: int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type: int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (((RuntimeType.NUMBER) == (value_backgroundColor_value_type)) && ((unsafeCast(value_backgroundColor_value)) >= (0)) && ((unsafeCast(value_backgroundColor_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_backgroundColor_value_0 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeInt32(value_backgroundColor_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1) - const value_backgroundColor_value_1 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeNumber(value_backgroundColor_value_1) - } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2) - const value_backgroundColor_value_2 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeString(value_backgroundColor_value_2) - } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3) - const value_backgroundColor_value_3 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeResource(value_backgroundColor_value_3) - } - } - const value_arrowSize = value.arrowSize - let value_arrowSize_type: int32 = RuntimeType.UNDEFINED - value_arrowSize_type = runtimeType(value_arrowSize) - valueSerializer.writeInt8(value_arrowSize_type) - if ((RuntimeType.UNDEFINED) != (value_arrowSize_type)) { - const value_arrowSize_value = value_arrowSize! - let value_arrowSize_value_type: int32 = RuntimeType.UNDEFINED - value_arrowSize_value_type = runtimeType(value_arrowSize_value) - if (RuntimeType.STRING == value_arrowSize_value_type) { - valueSerializer.writeInt8(0) - const value_arrowSize_value_0 = unsafeCast(value_arrowSize_value) - valueSerializer.writeString(value_arrowSize_value_0) - } - else if (RuntimeType.NUMBER == value_arrowSize_value_type) { - valueSerializer.writeInt8(1) - const value_arrowSize_value_1 = unsafeCast(value_arrowSize_value) - valueSerializer.writeNumber(value_arrowSize_value_1) - } - else if (RuntimeType.OBJECT == value_arrowSize_value_type) { - valueSerializer.writeInt8(2) - const value_arrowSize_value_2 = unsafeCast(value_arrowSize_value) - valueSerializer.writeResource(value_arrowSize_value_2) - } - } - const value_arrowColor = value.arrowColor - let value_arrowColor_type: int32 = RuntimeType.UNDEFINED - value_arrowColor_type = runtimeType(value_arrowColor) - valueSerializer.writeInt8(value_arrowColor_type) - if ((RuntimeType.UNDEFINED) != (value_arrowColor_type)) { - const value_arrowColor_value = value_arrowColor! - let value_arrowColor_value_type: int32 = RuntimeType.UNDEFINED - value_arrowColor_value_type = runtimeType(value_arrowColor_value) - if (((RuntimeType.NUMBER) == (value_arrowColor_value_type)) && ((unsafeCast(value_arrowColor_value)) >= (0)) && ((unsafeCast(value_arrowColor_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_arrowColor_value_0 = unsafeCast(value_arrowColor_value) - valueSerializer.writeInt32(value_arrowColor_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_arrowColor_value_type) { - valueSerializer.writeInt8(1) - const value_arrowColor_value_1 = unsafeCast(value_arrowColor_value) - valueSerializer.writeNumber(value_arrowColor_value_1) - } - else if (RuntimeType.STRING == value_arrowColor_value_type) { - valueSerializer.writeInt8(2) - const value_arrowColor_value_2 = unsafeCast(value_arrowColor_value) - valueSerializer.writeString(value_arrowColor_value_2) - } - else if (RuntimeType.OBJECT == value_arrowColor_value_type) { - valueSerializer.writeInt8(3) - const value_arrowColor_value_3 = unsafeCast(value_arrowColor_value) - valueSerializer.writeResource(value_arrowColor_value_3) - } - } - } - writeBackgroundBlurStyleOptions(value: BackgroundBlurStyleOptions): void { + public writeBackgroundBlurStyleOptions(value: BackgroundBlurStyleOptions): void { let valueSerializer: Serializer = this const value_colorMode = value.colorMode let value_colorMode_type: int32 = RuntimeType.UNDEFINED @@ -6819,7 +7386,7 @@ export class Serializer extends SerializerBase { } } } - writeBackgroundEffectOptions(value: BackgroundEffectOptions): void { + public writeBackgroundEffectOptions(value: BackgroundEffectOptions): void { let valueSerializer: Serializer = this const value_radius = value.radius valueSerializer.writeNumber(value_radius) @@ -6922,2658 +7489,2782 @@ export class Serializer extends SerializerBase { } } } - writeBadgeStyle(value: BadgeStyle): void { + public writeButtonIconOptions(value: ButtonIconOptions): void { let valueSerializer: Serializer = this - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { + const value_shown = value.shown + let value_shown_type: int32 = RuntimeType.UNDEFINED + value_shown_type = runtimeType(value_shown) + if (RuntimeType.STRING == value_shown_type) { + valueSerializer.writeInt8(0) + const value_shown_0 = unsafeCast(value_shown) + valueSerializer.writeString(value_shown_0) + } + else if (((RuntimeType.OBJECT) == (value_shown_type)) && ((value_shown!.hasOwnProperty("isEditable")))) { + valueSerializer.writeInt8(1) + const value_shown_1 = unsafeCast(value_shown) + valueSerializer.writePixelMap(value_shown_1) + } + else if (((RuntimeType.OBJECT) == (value_shown_type)) && ((value_shown!.hasOwnProperty("bundleName")))) { + valueSerializer.writeInt8(2) + const value_shown_2 = unsafeCast(value_shown) + valueSerializer.writeResource(value_shown_2) + } + const value_hidden = value.hidden + let value_hidden_type: int32 = RuntimeType.UNDEFINED + value_hidden_type = runtimeType(value_hidden) + if (RuntimeType.STRING == value_hidden_type) { + valueSerializer.writeInt8(0) + const value_hidden_0 = unsafeCast(value_hidden) + valueSerializer.writeString(value_hidden_0) + } + else if (((RuntimeType.OBJECT) == (value_hidden_type)) && ((value_hidden!.hasOwnProperty("isEditable")))) { + valueSerializer.writeInt8(1) + const value_hidden_1 = unsafeCast(value_hidden) + valueSerializer.writePixelMap(value_hidden_1) + } + else if (((RuntimeType.OBJECT) == (value_hidden_type)) && ((value_hidden!.hasOwnProperty("bundleName")))) { + valueSerializer.writeInt8(2) + const value_hidden_2 = unsafeCast(value_hidden) + valueSerializer.writeResource(value_hidden_2) + } + const value_switching = value.switching + let value_switching_type: int32 = RuntimeType.UNDEFINED + value_switching_type = runtimeType(value_switching) + valueSerializer.writeInt8(value_switching_type) + if ((RuntimeType.UNDEFINED) != (value_switching_type)) { + const value_switching_value = value_switching! + let value_switching_value_type: int32 = RuntimeType.UNDEFINED + value_switching_value_type = runtimeType(value_switching_value) + if (RuntimeType.STRING == value_switching_value_type) { valueSerializer.writeInt8(0) - const value_color_value_0 = unsafeCast(value_color_value) - valueSerializer.writeInt32(value_color_value_0.valueOf()) + const value_switching_value_0 = unsafeCast(value_switching_value) + valueSerializer.writeString(value_switching_value_0) } - else if (RuntimeType.NUMBER == value_color_value_type) { + else if (((RuntimeType.OBJECT) == (value_switching_value_type)) && ((value_switching_value!.hasOwnProperty("isEditable")))) { valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeNumber(value_color_value_1) + const value_switching_value_1 = unsafeCast(value_switching_value) + valueSerializer.writePixelMap(value_switching_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { + else if (((RuntimeType.OBJECT) == (value_switching_value_type)) && ((value_switching_value!.hasOwnProperty("bundleName")))) { valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_3) + const value_switching_value_2 = unsafeCast(value_switching_value) + valueSerializer.writeResource(value_switching_value_2) } } - const value_fontSize = value.fontSize - let value_fontSize_type: int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - let value_fontSize_value_type: int32 = RuntimeType.UNDEFINED - value_fontSize_value_type = runtimeType(value_fontSize_value) - if (RuntimeType.NUMBER == value_fontSize_value_type) { + } + public writeCalendarOptions(value: CalendarOptions): void { + let valueSerializer: Serializer = this + const value_hintRadius = value.hintRadius + let value_hintRadius_type: int32 = RuntimeType.UNDEFINED + value_hintRadius_type = runtimeType(value_hintRadius) + valueSerializer.writeInt8(value_hintRadius_type) + if ((RuntimeType.UNDEFINED) != (value_hintRadius_type)) { + const value_hintRadius_value = value_hintRadius! + let value_hintRadius_value_type: int32 = RuntimeType.UNDEFINED + value_hintRadius_value_type = runtimeType(value_hintRadius_value) + if (RuntimeType.NUMBER == value_hintRadius_value_type) { valueSerializer.writeInt8(0) - const value_fontSize_value_0 = unsafeCast(value_fontSize_value) - valueSerializer.writeNumber(value_fontSize_value_0) + const value_hintRadius_value_0 = unsafeCast(value_hintRadius_value) + valueSerializer.writeNumber(value_hintRadius_value_0) } - else if (RuntimeType.STRING == value_fontSize_value_type) { + else if (RuntimeType.OBJECT == value_hintRadius_value_type) { valueSerializer.writeInt8(1) - const value_fontSize_value_1 = unsafeCast(value_fontSize_value) - valueSerializer.writeString(value_fontSize_value_1) + const value_hintRadius_value_1 = unsafeCast(value_hintRadius_value) + valueSerializer.writeResource(value_hintRadius_value_1) } } - const value_badgeSize = value.badgeSize - let value_badgeSize_type: int32 = RuntimeType.UNDEFINED - value_badgeSize_type = runtimeType(value_badgeSize) - valueSerializer.writeInt8(value_badgeSize_type) - if ((RuntimeType.UNDEFINED) != (value_badgeSize_type)) { - const value_badgeSize_value = value_badgeSize! - let value_badgeSize_value_type: int32 = RuntimeType.UNDEFINED - value_badgeSize_value_type = runtimeType(value_badgeSize_value) - if (RuntimeType.NUMBER == value_badgeSize_value_type) { - valueSerializer.writeInt8(0) - const value_badgeSize_value_0 = unsafeCast(value_badgeSize_value) - valueSerializer.writeNumber(value_badgeSize_value_0) - } - else if (RuntimeType.STRING == value_badgeSize_value_type) { - valueSerializer.writeInt8(1) - const value_badgeSize_value_1 = unsafeCast(value_badgeSize_value) - valueSerializer.writeString(value_badgeSize_value_1) + const value_selected = value.selected + let value_selected_type: int32 = RuntimeType.UNDEFINED + value_selected_type = runtimeType(value_selected) + valueSerializer.writeInt8(value_selected_type) + if ((RuntimeType.UNDEFINED) != (value_selected_type)) { + const value_selected_value = value_selected! + valueSerializer.writeInt64((value_selected_value.getTime() as number)) + } + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeInt64((value_start_value.getTime() as number)) + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeInt64((value_end_value.getTime() as number)) + } + const value_disabledDateRange = value.disabledDateRange + let value_disabledDateRange_type: int32 = RuntimeType.UNDEFINED + value_disabledDateRange_type = runtimeType(value_disabledDateRange) + valueSerializer.writeInt8(value_disabledDateRange_type) + if ((RuntimeType.UNDEFINED) != (value_disabledDateRange_type)) { + const value_disabledDateRange_value = value_disabledDateRange! + valueSerializer.writeInt32(value_disabledDateRange_value.length) + for (let i = 0; i < value_disabledDateRange_value.length; i++) { + const value_disabledDateRange_value_element: DateRange = value_disabledDateRange_value[i] + valueSerializer.writeDateRange(value_disabledDateRange_value_element) } } - const value_badgeColor = value.badgeColor - let value_badgeColor_type: int32 = RuntimeType.UNDEFINED - value_badgeColor_type = runtimeType(value_badgeColor) - valueSerializer.writeInt8(value_badgeColor_type) - if ((RuntimeType.UNDEFINED) != (value_badgeColor_type)) { - const value_badgeColor_value = value_badgeColor! - let value_badgeColor_value_type: int32 = RuntimeType.UNDEFINED - value_badgeColor_value_type = runtimeType(value_badgeColor_value) - if (((RuntimeType.NUMBER) == (value_badgeColor_value_type)) && ((unsafeCast(value_badgeColor_value)) >= (0)) && ((unsafeCast(value_badgeColor_value)) <= (11))) { + } + public writeCanvasRenderer(value: CanvasRenderer): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeCanvasRenderingContext2D(value: CanvasRenderingContext2D): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeCircleStyleOptions(value: CircleStyleOptions): void { + let valueSerializer: Serializer = this + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_badgeColor_value_0 = unsafeCast(value_badgeColor_value) - valueSerializer.writeInt32(value_badgeColor_value_0.valueOf()) + const value_color_value_0 = unsafeCast(value_color_value) + valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_badgeColor_value_type) { + else if (RuntimeType.NUMBER == value_color_value_type) { valueSerializer.writeInt8(1) - const value_badgeColor_value_1 = unsafeCast(value_badgeColor_value) - valueSerializer.writeNumber(value_badgeColor_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.STRING == value_badgeColor_value_type) { + else if (RuntimeType.STRING == value_color_value_type) { valueSerializer.writeInt8(2) - const value_badgeColor_value_2 = unsafeCast(value_badgeColor_value) - valueSerializer.writeString(value_badgeColor_value_2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.OBJECT == value_badgeColor_value_type) { + else if (RuntimeType.OBJECT == value_color_value_type) { valueSerializer.writeInt8(3) - const value_badgeColor_value_3 = unsafeCast(value_badgeColor_value) - valueSerializer.writeResource(value_badgeColor_value_3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) } } - const value_borderColor = value.borderColor - let value_borderColor_type: int32 = RuntimeType.UNDEFINED - value_borderColor_type = runtimeType(value_borderColor) - valueSerializer.writeInt8(value_borderColor_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { - const value_borderColor_value = value_borderColor! - let value_borderColor_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_type = runtimeType(value_borderColor_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_type)) && ((unsafeCast(value_borderColor_value)) >= (0)) && ((unsafeCast(value_borderColor_value)) <= (11))) { + const value_radius = value.radius + let value_radius_type: int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + valueSerializer.writeLengthMetrics(value_radius_value) + } + const value_enableWaveEffect = value.enableWaveEffect + let value_enableWaveEffect_type: int32 = RuntimeType.UNDEFINED + value_enableWaveEffect_type = runtimeType(value_enableWaveEffect) + valueSerializer.writeInt8(value_enableWaveEffect_type) + if ((RuntimeType.UNDEFINED) != (value_enableWaveEffect_type)) { + const value_enableWaveEffect_value = value_enableWaveEffect! + valueSerializer.writeBoolean(value_enableWaveEffect_value) + } + const value_enableForeground = value.enableForeground + let value_enableForeground_type: int32 = RuntimeType.UNDEFINED + value_enableForeground_type = runtimeType(value_enableForeground) + valueSerializer.writeInt8(value_enableForeground_type) + if ((RuntimeType.UNDEFINED) != (value_enableForeground_type)) { + const value_enableForeground_value = value_enableForeground! + valueSerializer.writeBoolean(value_enableForeground_value) + } + } + public writeComponentInfo(value: ComponentInfo): void { + let valueSerializer: Serializer = this + const value_size = value.size + valueSerializer.writeSize(value_size) + const value_localOffset = value.localOffset + valueSerializer.writeOffset_componentutils(value_localOffset) + const value_windowOffset = value.windowOffset + valueSerializer.writeOffset_componentutils(value_windowOffset) + const value_screenOffset = value.screenOffset + valueSerializer.writeOffset_componentutils(value_screenOffset) + const value_translate = value.translate + valueSerializer.writeTranslateResult(value_translate) + const value_scale = value.scale + valueSerializer.writeScaleResult(value_scale) + const value_rotate = value.rotate + valueSerializer.writeRotateResult(value_rotate) + const value_transform = value.transform + const value_transform_0 = value_transform[0] + valueSerializer.writeNumber(value_transform_0) + const value_transform_1 = value_transform[1] + valueSerializer.writeNumber(value_transform_1) + const value_transform_2 = value_transform[2] + valueSerializer.writeNumber(value_transform_2) + const value_transform_3 = value_transform[3] + valueSerializer.writeNumber(value_transform_3) + const value_transform_4 = value_transform[4] + valueSerializer.writeNumber(value_transform_4) + const value_transform_5 = value_transform[5] + valueSerializer.writeNumber(value_transform_5) + const value_transform_6 = value_transform[6] + valueSerializer.writeNumber(value_transform_6) + const value_transform_7 = value_transform[7] + valueSerializer.writeNumber(value_transform_7) + const value_transform_8 = value_transform[8] + valueSerializer.writeNumber(value_transform_8) + const value_transform_9 = value_transform[9] + valueSerializer.writeNumber(value_transform_9) + const value_transform_10 = value_transform[10] + valueSerializer.writeNumber(value_transform_10) + const value_transform_11 = value_transform[11] + valueSerializer.writeNumber(value_transform_11) + const value_transform_12 = value_transform[12] + valueSerializer.writeNumber(value_transform_12) + const value_transform_13 = value_transform[13] + valueSerializer.writeNumber(value_transform_13) + const value_transform_14 = value_transform[14] + valueSerializer.writeNumber(value_transform_14) + const value_transform_15 = value_transform[15] + valueSerializer.writeNumber(value_transform_15) + } + public writeContentCoverOptions(value: ContentCoverOptions): void { + let valueSerializer: Serializer = this + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type: int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type: int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (((RuntimeType.NUMBER) == (value_backgroundColor_value_type)) && ((unsafeCast(value_backgroundColor_value)) >= (0)) && ((unsafeCast(value_backgroundColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_borderColor_value_0 = unsafeCast(value_borderColor_value) - valueSerializer.writeInt32(value_borderColor_value_0.valueOf()) + const value_backgroundColor_value_0 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeInt32(value_backgroundColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_borderColor_value_type) { + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { valueSerializer.writeInt8(1) - const value_borderColor_value_1 = unsafeCast(value_borderColor_value) - valueSerializer.writeNumber(value_borderColor_value_1) + const value_backgroundColor_value_1 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeNumber(value_backgroundColor_value_1) } - else if (RuntimeType.STRING == value_borderColor_value_type) { + else if (RuntimeType.STRING == value_backgroundColor_value_type) { valueSerializer.writeInt8(2) - const value_borderColor_value_2 = unsafeCast(value_borderColor_value) - valueSerializer.writeString(value_borderColor_value_2) + const value_backgroundColor_value_2 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeString(value_backgroundColor_value_2) } - else if (RuntimeType.OBJECT == value_borderColor_value_type) { + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { valueSerializer.writeInt8(3) - const value_borderColor_value_3 = unsafeCast(value_borderColor_value) - valueSerializer.writeResource(value_borderColor_value_3) + const value_backgroundColor_value_3 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeResource(value_backgroundColor_value_3) } } - const value_borderWidth = value.borderWidth - let value_borderWidth_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_type = runtimeType(value_borderWidth) - valueSerializer.writeInt8(value_borderWidth_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { - const value_borderWidth_value = value_borderWidth! - let value_borderWidth_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_type = runtimeType(value_borderWidth_value) - if (RuntimeType.STRING == value_borderWidth_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_0 = unsafeCast(value_borderWidth_value) - valueSerializer.writeString(value_borderWidth_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1 = unsafeCast(value_borderWidth_value) - valueSerializer.writeNumber(value_borderWidth_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_2 = unsafeCast(value_borderWidth_value) - valueSerializer.writeResource(value_borderWidth_value_2) - } + const value_onAppear = value.onAppear + let value_onAppear_type: int32 = RuntimeType.UNDEFINED + value_onAppear_type = runtimeType(value_onAppear) + valueSerializer.writeInt8(value_onAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { + const value_onAppear_value = value_onAppear! + valueSerializer.holdAndWriteCallback(value_onAppear_value) } - const value_fontWeight = value.fontWeight - let value_fontWeight_type: int32 = RuntimeType.UNDEFINED - value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type) - if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { - const value_fontWeight_value = value_fontWeight! - let value_fontWeight_value_type: int32 = RuntimeType.UNDEFINED - value_fontWeight_value_type = runtimeType(value_fontWeight_value) - if (RuntimeType.NUMBER == value_fontWeight_value_type) { - valueSerializer.writeInt8(0) - const value_fontWeight_value_0 = unsafeCast(value_fontWeight_value) - valueSerializer.writeNumber(value_fontWeight_value_0) - } - else if (((RuntimeType.NUMBER) == (value_fontWeight_value_type)) && ((unsafeCast(value_fontWeight_value)) >= (0)) && ((unsafeCast(value_fontWeight_value)) <= (5))) { - valueSerializer.writeInt8(1) - const value_fontWeight_value_1 = unsafeCast(value_fontWeight_value) - valueSerializer.writeInt32(value_fontWeight_value_1.valueOf()) - } - else if (RuntimeType.STRING == value_fontWeight_value_type) { - valueSerializer.writeInt8(2) - const value_fontWeight_value_2 = unsafeCast(value_fontWeight_value) - valueSerializer.writeString(value_fontWeight_value_2) - } + const value_onDisappear = value.onDisappear + let value_onDisappear_type: int32 = RuntimeType.UNDEFINED + value_onDisappear_type = runtimeType(value_onDisappear) + valueSerializer.writeInt8(value_onDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { + const value_onDisappear_value = value_onDisappear! + valueSerializer.holdAndWriteCallback(value_onDisappear_value) } - } - writeBarGridColumnOptions(value: BarGridColumnOptions): void { - let valueSerializer: Serializer = this - const value_sm = value.sm - let value_sm_type: int32 = RuntimeType.UNDEFINED - value_sm_type = runtimeType(value_sm) - valueSerializer.writeInt8(value_sm_type) - if ((RuntimeType.UNDEFINED) != (value_sm_type)) { - const value_sm_value = value_sm! - valueSerializer.writeNumber(value_sm_value) + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type: int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) } - const value_md = value.md - let value_md_type: int32 = RuntimeType.UNDEFINED - value_md_type = runtimeType(value_md) - valueSerializer.writeInt8(value_md_type) - if ((RuntimeType.UNDEFINED) != (value_md_type)) { - const value_md_value = value_md! - valueSerializer.writeNumber(value_md_value) + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type: int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) } - const value_lg = value.lg - let value_lg_type: int32 = RuntimeType.UNDEFINED - value_lg_type = runtimeType(value_lg) - valueSerializer.writeInt8(value_lg_type) - if ((RuntimeType.UNDEFINED) != (value_lg_type)) { - const value_lg_value = value_lg! - valueSerializer.writeNumber(value_lg_value) + const value_modalTransition = value.modalTransition + let value_modalTransition_type: int32 = RuntimeType.UNDEFINED + value_modalTransition_type = runtimeType(value_modalTransition) + valueSerializer.writeInt8(value_modalTransition_type) + if ((RuntimeType.UNDEFINED) != (value_modalTransition_type)) { + const value_modalTransition_value = value_modalTransition! + valueSerializer.writeInt32(value_modalTransition_value.valueOf()) } - const value_margin = value.margin - let value_margin_type: int32 = RuntimeType.UNDEFINED - value_margin_type = runtimeType(value_margin) - valueSerializer.writeInt8(value_margin_type) - if ((RuntimeType.UNDEFINED) != (value_margin_type)) { - const value_margin_value = value_margin! - let value_margin_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_type = runtimeType(value_margin_value) - if (RuntimeType.STRING == value_margin_value_type) { + const value_onWillDismiss = value.onWillDismiss + let value_onWillDismiss_type: int32 = RuntimeType.UNDEFINED + value_onWillDismiss_type = runtimeType(value_onWillDismiss) + valueSerializer.writeInt8(value_onWillDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { + const value_onWillDismiss_value = value_onWillDismiss! + valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) + } + const value_transition = value.transition + let value_transition_type: int32 = RuntimeType.UNDEFINED + value_transition_type = runtimeType(value_transition) + valueSerializer.writeInt8(value_transition_type) + if ((RuntimeType.UNDEFINED) != (value_transition_type)) { + const value_transition_value = value_transition! + valueSerializer.writeTransitionEffect(value_transition_value) + } + } + public writeContextMenuAnimationOptions(value: ContextMenuAnimationOptions): void { + let valueSerializer: Serializer = this + const value_scale = value.scale + let value_scale_type: int32 = RuntimeType.UNDEFINED + value_scale_type = runtimeType(value_scale) + valueSerializer.writeInt8(value_scale_type) + if ((RuntimeType.UNDEFINED) != (value_scale_type)) { + const value_scale_value = value_scale! + const value_scale_value_0 = value_scale_value[0] + valueSerializer.writeNumber(value_scale_value_0) + const value_scale_value_1 = value_scale_value[1] + valueSerializer.writeNumber(value_scale_value_1) + } + const value_transition = value.transition + let value_transition_type: int32 = RuntimeType.UNDEFINED + value_transition_type = runtimeType(value_transition) + valueSerializer.writeInt8(value_transition_type) + if ((RuntimeType.UNDEFINED) != (value_transition_type)) { + const value_transition_value = value_transition! + valueSerializer.writeTransitionEffect(value_transition_value) + } + const value_hoverScale = value.hoverScale + let value_hoverScale_type: int32 = RuntimeType.UNDEFINED + value_hoverScale_type = runtimeType(value_hoverScale) + valueSerializer.writeInt8(value_hoverScale_type) + if ((RuntimeType.UNDEFINED) != (value_hoverScale_type)) { + const value_hoverScale_value = value_hoverScale! + const value_hoverScale_value_0 = value_hoverScale_value[0] + valueSerializer.writeNumber(value_hoverScale_value_0) + const value_hoverScale_value_1 = value_hoverScale_value[1] + valueSerializer.writeNumber(value_hoverScale_value_1) + } + } + public writeCurrentDayStyle(value: CurrentDayStyle): void { + let valueSerializer: Serializer = this + const value_dayColor = value.dayColor + let value_dayColor_type: int32 = RuntimeType.UNDEFINED + value_dayColor_type = runtimeType(value_dayColor) + valueSerializer.writeInt8(value_dayColor_type) + if ((RuntimeType.UNDEFINED) != (value_dayColor_type)) { + const value_dayColor_value = value_dayColor! + let value_dayColor_value_type: int32 = RuntimeType.UNDEFINED + value_dayColor_value_type = runtimeType(value_dayColor_value) + if (((RuntimeType.NUMBER) == (value_dayColor_value_type)) && ((unsafeCast(value_dayColor_value)) >= (0)) && ((unsafeCast(value_dayColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_margin_value_0 = unsafeCast(value_margin_value) - valueSerializer.writeString(value_margin_value_0) + const value_dayColor_value_0 = unsafeCast(value_dayColor_value) + valueSerializer.writeInt32(value_dayColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_margin_value_type) { + else if (RuntimeType.NUMBER == value_dayColor_value_type) { valueSerializer.writeInt8(1) - const value_margin_value_1 = unsafeCast(value_margin_value) - valueSerializer.writeNumber(value_margin_value_1) + const value_dayColor_value_1 = unsafeCast(value_dayColor_value) + valueSerializer.writeNumber(value_dayColor_value_1) } - else if (RuntimeType.OBJECT == value_margin_value_type) { + else if (RuntimeType.STRING == value_dayColor_value_type) { valueSerializer.writeInt8(2) - const value_margin_value_2 = unsafeCast(value_margin_value) - valueSerializer.writeResource(value_margin_value_2) + const value_dayColor_value_2 = unsafeCast(value_dayColor_value) + valueSerializer.writeString(value_dayColor_value_2) + } + else if (RuntimeType.OBJECT == value_dayColor_value_type) { + valueSerializer.writeInt8(3) + const value_dayColor_value_3 = unsafeCast(value_dayColor_value) + valueSerializer.writeResource(value_dayColor_value_3) } } - const value_gutter = value.gutter - let value_gutter_type: int32 = RuntimeType.UNDEFINED - value_gutter_type = runtimeType(value_gutter) - valueSerializer.writeInt8(value_gutter_type) - if ((RuntimeType.UNDEFINED) != (value_gutter_type)) { - const value_gutter_value = value_gutter! - let value_gutter_value_type: int32 = RuntimeType.UNDEFINED - value_gutter_value_type = runtimeType(value_gutter_value) - if (RuntimeType.STRING == value_gutter_value_type) { + const value_lunarColor = value.lunarColor + let value_lunarColor_type: int32 = RuntimeType.UNDEFINED + value_lunarColor_type = runtimeType(value_lunarColor) + valueSerializer.writeInt8(value_lunarColor_type) + if ((RuntimeType.UNDEFINED) != (value_lunarColor_type)) { + const value_lunarColor_value = value_lunarColor! + let value_lunarColor_value_type: int32 = RuntimeType.UNDEFINED + value_lunarColor_value_type = runtimeType(value_lunarColor_value) + if (((RuntimeType.NUMBER) == (value_lunarColor_value_type)) && ((unsafeCast(value_lunarColor_value)) >= (0)) && ((unsafeCast(value_lunarColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_gutter_value_0 = unsafeCast(value_gutter_value) - valueSerializer.writeString(value_gutter_value_0) + const value_lunarColor_value_0 = unsafeCast(value_lunarColor_value) + valueSerializer.writeInt32(value_lunarColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_gutter_value_type) { + else if (RuntimeType.NUMBER == value_lunarColor_value_type) { valueSerializer.writeInt8(1) - const value_gutter_value_1 = unsafeCast(value_gutter_value) - valueSerializer.writeNumber(value_gutter_value_1) + const value_lunarColor_value_1 = unsafeCast(value_lunarColor_value) + valueSerializer.writeNumber(value_lunarColor_value_1) } - else if (RuntimeType.OBJECT == value_gutter_value_type) { + else if (RuntimeType.STRING == value_lunarColor_value_type) { valueSerializer.writeInt8(2) - const value_gutter_value_2 = unsafeCast(value_gutter_value) - valueSerializer.writeResource(value_gutter_value_2) + const value_lunarColor_value_2 = unsafeCast(value_lunarColor_value) + valueSerializer.writeString(value_lunarColor_value_2) + } + else if (RuntimeType.OBJECT == value_lunarColor_value_type) { + valueSerializer.writeInt8(3) + const value_lunarColor_value_3 = unsafeCast(value_lunarColor_value) + valueSerializer.writeResource(value_lunarColor_value_3) } } - } - writeBoardStyle(value: BoardStyle): void { - let valueSerializer: Serializer = this - const value_borderRadius = value.borderRadius - let value_borderRadius_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_type = runtimeType(value_borderRadius) - valueSerializer.writeInt8(value_borderRadius_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { - const value_borderRadius_value = value_borderRadius! - let value_borderRadius_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_type = runtimeType(value_borderRadius_value) - if (RuntimeType.STRING == value_borderRadius_value_type) { + const value_markLunarColor = value.markLunarColor + let value_markLunarColor_type: int32 = RuntimeType.UNDEFINED + value_markLunarColor_type = runtimeType(value_markLunarColor) + valueSerializer.writeInt8(value_markLunarColor_type) + if ((RuntimeType.UNDEFINED) != (value_markLunarColor_type)) { + const value_markLunarColor_value = value_markLunarColor! + let value_markLunarColor_value_type: int32 = RuntimeType.UNDEFINED + value_markLunarColor_value_type = runtimeType(value_markLunarColor_value) + if (((RuntimeType.NUMBER) == (value_markLunarColor_value_type)) && ((unsafeCast(value_markLunarColor_value)) >= (0)) && ((unsafeCast(value_markLunarColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_borderRadius_value_0 = unsafeCast(value_borderRadius_value) - valueSerializer.writeString(value_borderRadius_value_0) + const value_markLunarColor_value_0 = unsafeCast(value_markLunarColor_value) + valueSerializer.writeInt32(value_markLunarColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_borderRadius_value_type) { + else if (RuntimeType.NUMBER == value_markLunarColor_value_type) { valueSerializer.writeInt8(1) - const value_borderRadius_value_1 = unsafeCast(value_borderRadius_value) - valueSerializer.writeNumber(value_borderRadius_value_1) + const value_markLunarColor_value_1 = unsafeCast(value_markLunarColor_value) + valueSerializer.writeNumber(value_markLunarColor_value_1) } - else if (RuntimeType.OBJECT == value_borderRadius_value_type) { + else if (RuntimeType.STRING == value_markLunarColor_value_type) { valueSerializer.writeInt8(2) - const value_borderRadius_value_2 = unsafeCast(value_borderRadius_value) - valueSerializer.writeResource(value_borderRadius_value_2) + const value_markLunarColor_value_2 = unsafeCast(value_markLunarColor_value) + valueSerializer.writeString(value_markLunarColor_value_2) + } + else if (RuntimeType.OBJECT == value_markLunarColor_value_type) { + valueSerializer.writeInt8(3) + const value_markLunarColor_value_3 = unsafeCast(value_markLunarColor_value) + valueSerializer.writeResource(value_markLunarColor_value_3) } } - } - writeButtonIconOptions(value: ButtonIconOptions): void { - let valueSerializer: Serializer = this - const value_shown = value.shown - let value_shown_type: int32 = RuntimeType.UNDEFINED - value_shown_type = runtimeType(value_shown) - if (RuntimeType.STRING == value_shown_type) { - valueSerializer.writeInt8(0) - const value_shown_0 = unsafeCast(value_shown) - valueSerializer.writeString(value_shown_0) - } - else if (((RuntimeType.OBJECT) == (value_shown_type)) && ((value_shown!.hasOwnProperty("isEditable")))) { - valueSerializer.writeInt8(1) - const value_shown_1 = unsafeCast(value_shown) - valueSerializer.writePixelMap(value_shown_1) + const value_dayFontSize = value.dayFontSize + let value_dayFontSize_type: int32 = RuntimeType.UNDEFINED + value_dayFontSize_type = runtimeType(value_dayFontSize) + valueSerializer.writeInt8(value_dayFontSize_type) + if ((RuntimeType.UNDEFINED) != (value_dayFontSize_type)) { + const value_dayFontSize_value = value_dayFontSize! + valueSerializer.writeNumber(value_dayFontSize_value) } - else if (((RuntimeType.OBJECT) == (value_shown_type)) && ((value_shown!.hasOwnProperty("bundleName")))) { - valueSerializer.writeInt8(2) - const value_shown_2 = unsafeCast(value_shown) - valueSerializer.writeResource(value_shown_2) + const value_lunarDayFontSize = value.lunarDayFontSize + let value_lunarDayFontSize_type: int32 = RuntimeType.UNDEFINED + value_lunarDayFontSize_type = runtimeType(value_lunarDayFontSize) + valueSerializer.writeInt8(value_lunarDayFontSize_type) + if ((RuntimeType.UNDEFINED) != (value_lunarDayFontSize_type)) { + const value_lunarDayFontSize_value = value_lunarDayFontSize! + valueSerializer.writeNumber(value_lunarDayFontSize_value) } - const value_hidden = value.hidden - let value_hidden_type: int32 = RuntimeType.UNDEFINED - value_hidden_type = runtimeType(value_hidden) - if (RuntimeType.STRING == value_hidden_type) { - valueSerializer.writeInt8(0) - const value_hidden_0 = unsafeCast(value_hidden) - valueSerializer.writeString(value_hidden_0) + const value_dayHeight = value.dayHeight + let value_dayHeight_type: int32 = RuntimeType.UNDEFINED + value_dayHeight_type = runtimeType(value_dayHeight) + valueSerializer.writeInt8(value_dayHeight_type) + if ((RuntimeType.UNDEFINED) != (value_dayHeight_type)) { + const value_dayHeight_value = value_dayHeight! + valueSerializer.writeNumber(value_dayHeight_value) } - else if (((RuntimeType.OBJECT) == (value_hidden_type)) && ((value_hidden!.hasOwnProperty("isEditable")))) { - valueSerializer.writeInt8(1) - const value_hidden_1 = unsafeCast(value_hidden) - valueSerializer.writePixelMap(value_hidden_1) + const value_dayWidth = value.dayWidth + let value_dayWidth_type: int32 = RuntimeType.UNDEFINED + value_dayWidth_type = runtimeType(value_dayWidth) + valueSerializer.writeInt8(value_dayWidth_type) + if ((RuntimeType.UNDEFINED) != (value_dayWidth_type)) { + const value_dayWidth_value = value_dayWidth! + valueSerializer.writeNumber(value_dayWidth_value) } - else if (((RuntimeType.OBJECT) == (value_hidden_type)) && ((value_hidden!.hasOwnProperty("bundleName")))) { - valueSerializer.writeInt8(2) - const value_hidden_2 = unsafeCast(value_hidden) - valueSerializer.writeResource(value_hidden_2) + const value_gregorianCalendarHeight = value.gregorianCalendarHeight + let value_gregorianCalendarHeight_type: int32 = RuntimeType.UNDEFINED + value_gregorianCalendarHeight_type = runtimeType(value_gregorianCalendarHeight) + valueSerializer.writeInt8(value_gregorianCalendarHeight_type) + if ((RuntimeType.UNDEFINED) != (value_gregorianCalendarHeight_type)) { + const value_gregorianCalendarHeight_value = value_gregorianCalendarHeight! + valueSerializer.writeNumber(value_gregorianCalendarHeight_value) } - const value_switching = value.switching - let value_switching_type: int32 = RuntimeType.UNDEFINED - value_switching_type = runtimeType(value_switching) - valueSerializer.writeInt8(value_switching_type) - if ((RuntimeType.UNDEFINED) != (value_switching_type)) { - const value_switching_value = value_switching! - let value_switching_value_type: int32 = RuntimeType.UNDEFINED - value_switching_value_type = runtimeType(value_switching_value) - if (RuntimeType.STRING == value_switching_value_type) { - valueSerializer.writeInt8(0) - const value_switching_value_0 = unsafeCast(value_switching_value) - valueSerializer.writeString(value_switching_value_0) - } - else if (((RuntimeType.OBJECT) == (value_switching_value_type)) && ((value_switching_value!.hasOwnProperty("isEditable")))) { - valueSerializer.writeInt8(1) - const value_switching_value_1 = unsafeCast(value_switching_value) - valueSerializer.writePixelMap(value_switching_value_1) - } - else if (((RuntimeType.OBJECT) == (value_switching_value_type)) && ((value_switching_value!.hasOwnProperty("bundleName")))) { - valueSerializer.writeInt8(2) - const value_switching_value_2 = unsafeCast(value_switching_value) - valueSerializer.writeResource(value_switching_value_2) - } + const value_dayYAxisOffset = value.dayYAxisOffset + let value_dayYAxisOffset_type: int32 = RuntimeType.UNDEFINED + value_dayYAxisOffset_type = runtimeType(value_dayYAxisOffset) + valueSerializer.writeInt8(value_dayYAxisOffset_type) + if ((RuntimeType.UNDEFINED) != (value_dayYAxisOffset_type)) { + const value_dayYAxisOffset_value = value_dayYAxisOffset! + valueSerializer.writeNumber(value_dayYAxisOffset_value) } - } - writeCalendarOptions(value: CalendarOptions): void { - let valueSerializer: Serializer = this - const value_hintRadius = value.hintRadius - let value_hintRadius_type: int32 = RuntimeType.UNDEFINED - value_hintRadius_type = runtimeType(value_hintRadius) - valueSerializer.writeInt8(value_hintRadius_type) - if ((RuntimeType.UNDEFINED) != (value_hintRadius_type)) { - const value_hintRadius_value = value_hintRadius! - let value_hintRadius_value_type: int32 = RuntimeType.UNDEFINED - value_hintRadius_value_type = runtimeType(value_hintRadius_value) - if (RuntimeType.NUMBER == value_hintRadius_value_type) { - valueSerializer.writeInt8(0) - const value_hintRadius_value_0 = unsafeCast(value_hintRadius_value) - valueSerializer.writeNumber(value_hintRadius_value_0) - } - else if (RuntimeType.OBJECT == value_hintRadius_value_type) { - valueSerializer.writeInt8(1) - const value_hintRadius_value_1 = unsafeCast(value_hintRadius_value) - valueSerializer.writeResource(value_hintRadius_value_1) - } + const value_lunarDayYAxisOffset = value.lunarDayYAxisOffset + let value_lunarDayYAxisOffset_type: int32 = RuntimeType.UNDEFINED + value_lunarDayYAxisOffset_type = runtimeType(value_lunarDayYAxisOffset) + valueSerializer.writeInt8(value_lunarDayYAxisOffset_type) + if ((RuntimeType.UNDEFINED) != (value_lunarDayYAxisOffset_type)) { + const value_lunarDayYAxisOffset_value = value_lunarDayYAxisOffset! + valueSerializer.writeNumber(value_lunarDayYAxisOffset_value) } - const value_selected = value.selected - let value_selected_type: int32 = RuntimeType.UNDEFINED - value_selected_type = runtimeType(value_selected) - valueSerializer.writeInt8(value_selected_type) - if ((RuntimeType.UNDEFINED) != (value_selected_type)) { - const value_selected_value = value_selected! - valueSerializer.writeInt64((value_selected_value.getTime() as number)) + const value_underscoreXAxisOffset = value.underscoreXAxisOffset + let value_underscoreXAxisOffset_type: int32 = RuntimeType.UNDEFINED + value_underscoreXAxisOffset_type = runtimeType(value_underscoreXAxisOffset) + valueSerializer.writeInt8(value_underscoreXAxisOffset_type) + if ((RuntimeType.UNDEFINED) != (value_underscoreXAxisOffset_type)) { + const value_underscoreXAxisOffset_value = value_underscoreXAxisOffset! + valueSerializer.writeNumber(value_underscoreXAxisOffset_value) + } + const value_underscoreYAxisOffset = value.underscoreYAxisOffset + let value_underscoreYAxisOffset_type: int32 = RuntimeType.UNDEFINED + value_underscoreYAxisOffset_type = runtimeType(value_underscoreYAxisOffset) + valueSerializer.writeInt8(value_underscoreYAxisOffset_type) + if ((RuntimeType.UNDEFINED) != (value_underscoreYAxisOffset_type)) { + const value_underscoreYAxisOffset_value = value_underscoreYAxisOffset! + valueSerializer.writeNumber(value_underscoreYAxisOffset_value) + } + const value_scheduleMarkerXAxisOffset = value.scheduleMarkerXAxisOffset + let value_scheduleMarkerXAxisOffset_type: int32 = RuntimeType.UNDEFINED + value_scheduleMarkerXAxisOffset_type = runtimeType(value_scheduleMarkerXAxisOffset) + valueSerializer.writeInt8(value_scheduleMarkerXAxisOffset_type) + if ((RuntimeType.UNDEFINED) != (value_scheduleMarkerXAxisOffset_type)) { + const value_scheduleMarkerXAxisOffset_value = value_scheduleMarkerXAxisOffset! + valueSerializer.writeNumber(value_scheduleMarkerXAxisOffset_value) + } + const value_scheduleMarkerYAxisOffset = value.scheduleMarkerYAxisOffset + let value_scheduleMarkerYAxisOffset_type: int32 = RuntimeType.UNDEFINED + value_scheduleMarkerYAxisOffset_type = runtimeType(value_scheduleMarkerYAxisOffset) + valueSerializer.writeInt8(value_scheduleMarkerYAxisOffset_type) + if ((RuntimeType.UNDEFINED) != (value_scheduleMarkerYAxisOffset_type)) { + const value_scheduleMarkerYAxisOffset_value = value_scheduleMarkerYAxisOffset! + valueSerializer.writeNumber(value_scheduleMarkerYAxisOffset_value) + } + const value_colSpace = value.colSpace + let value_colSpace_type: int32 = RuntimeType.UNDEFINED + value_colSpace_type = runtimeType(value_colSpace) + valueSerializer.writeInt8(value_colSpace_type) + if ((RuntimeType.UNDEFINED) != (value_colSpace_type)) { + const value_colSpace_value = value_colSpace! + valueSerializer.writeNumber(value_colSpace_value) + } + const value_dailyFiveRowSpace = value.dailyFiveRowSpace + let value_dailyFiveRowSpace_type: int32 = RuntimeType.UNDEFINED + value_dailyFiveRowSpace_type = runtimeType(value_dailyFiveRowSpace) + valueSerializer.writeInt8(value_dailyFiveRowSpace_type) + if ((RuntimeType.UNDEFINED) != (value_dailyFiveRowSpace_type)) { + const value_dailyFiveRowSpace_value = value_dailyFiveRowSpace! + valueSerializer.writeNumber(value_dailyFiveRowSpace_value) + } + const value_dailySixRowSpace = value.dailySixRowSpace + let value_dailySixRowSpace_type: int32 = RuntimeType.UNDEFINED + value_dailySixRowSpace_type = runtimeType(value_dailySixRowSpace) + valueSerializer.writeInt8(value_dailySixRowSpace_type) + if ((RuntimeType.UNDEFINED) != (value_dailySixRowSpace_type)) { + const value_dailySixRowSpace_value = value_dailySixRowSpace! + valueSerializer.writeNumber(value_dailySixRowSpace_value) + } + const value_lunarHeight = value.lunarHeight + let value_lunarHeight_type: int32 = RuntimeType.UNDEFINED + value_lunarHeight_type = runtimeType(value_lunarHeight) + valueSerializer.writeInt8(value_lunarHeight_type) + if ((RuntimeType.UNDEFINED) != (value_lunarHeight_type)) { + const value_lunarHeight_value = value_lunarHeight! + valueSerializer.writeNumber(value_lunarHeight_value) + } + const value_underscoreWidth = value.underscoreWidth + let value_underscoreWidth_type: int32 = RuntimeType.UNDEFINED + value_underscoreWidth_type = runtimeType(value_underscoreWidth) + valueSerializer.writeInt8(value_underscoreWidth_type) + if ((RuntimeType.UNDEFINED) != (value_underscoreWidth_type)) { + const value_underscoreWidth_value = value_underscoreWidth! + valueSerializer.writeNumber(value_underscoreWidth_value) + } + const value_underscoreLength = value.underscoreLength + let value_underscoreLength_type: int32 = RuntimeType.UNDEFINED + value_underscoreLength_type = runtimeType(value_underscoreLength) + valueSerializer.writeInt8(value_underscoreLength_type) + if ((RuntimeType.UNDEFINED) != (value_underscoreLength_type)) { + const value_underscoreLength_value = value_underscoreLength! + valueSerializer.writeNumber(value_underscoreLength_value) + } + const value_scheduleMarkerRadius = value.scheduleMarkerRadius + let value_scheduleMarkerRadius_type: int32 = RuntimeType.UNDEFINED + value_scheduleMarkerRadius_type = runtimeType(value_scheduleMarkerRadius) + valueSerializer.writeInt8(value_scheduleMarkerRadius_type) + if ((RuntimeType.UNDEFINED) != (value_scheduleMarkerRadius_type)) { + const value_scheduleMarkerRadius_value = value_scheduleMarkerRadius! + valueSerializer.writeNumber(value_scheduleMarkerRadius_value) + } + const value_boundaryRowOffset = value.boundaryRowOffset + let value_boundaryRowOffset_type: int32 = RuntimeType.UNDEFINED + value_boundaryRowOffset_type = runtimeType(value_boundaryRowOffset) + valueSerializer.writeInt8(value_boundaryRowOffset_type) + if ((RuntimeType.UNDEFINED) != (value_boundaryRowOffset_type)) { + const value_boundaryRowOffset_value = value_boundaryRowOffset! + valueSerializer.writeNumber(value_boundaryRowOffset_value) + } + const value_boundaryColOffset = value.boundaryColOffset + let value_boundaryColOffset_type: int32 = RuntimeType.UNDEFINED + value_boundaryColOffset_type = runtimeType(value_boundaryColOffset) + valueSerializer.writeInt8(value_boundaryColOffset_type) + if ((RuntimeType.UNDEFINED) != (value_boundaryColOffset_type)) { + const value_boundaryColOffset_value = value_boundaryColOffset! + valueSerializer.writeNumber(value_boundaryColOffset_value) } } - writeCaretStyle(value: CaretStyle): void { + public writeCustomColors(value: CustomColors): void { let valueSerializer: Serializer = this - const value_width = value.width - let value_width_type: int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { + const value_brand = value.brand + let value_brand_type: int32 = RuntimeType.UNDEFINED + value_brand_type = runtimeType(value_brand) + valueSerializer.writeInt8(value_brand_type) + if ((RuntimeType.UNDEFINED) != (value_brand_type)) { + const value_brand_value = value_brand! + let value_brand_value_type: int32 = RuntimeType.UNDEFINED + value_brand_value_type = runtimeType(value_brand_value) + if (((RuntimeType.NUMBER) == (value_brand_value_type)) && ((unsafeCast(value_brand_value)) >= (0)) && ((unsafeCast(value_brand_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_width_value_0 = unsafeCast(value_width_value) - valueSerializer.writeString(value_width_value_0) + const value_brand_value_0 = unsafeCast(value_brand_value) + valueSerializer.writeInt32(value_brand_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_width_value_type) { + else if (RuntimeType.NUMBER == value_brand_value_type) { valueSerializer.writeInt8(1) - const value_width_value_1 = unsafeCast(value_width_value) - valueSerializer.writeNumber(value_width_value_1) + const value_brand_value_1 = unsafeCast(value_brand_value) + valueSerializer.writeNumber(value_brand_value_1) } - else if (RuntimeType.OBJECT == value_width_value_type) { + else if (RuntimeType.STRING == value_brand_value_type) { valueSerializer.writeInt8(2) - const value_width_value_2 = unsafeCast(value_width_value) - valueSerializer.writeResource(value_width_value_2) + const value_brand_value_2 = unsafeCast(value_brand_value) + valueSerializer.writeString(value_brand_value_2) + } + else if (RuntimeType.OBJECT == value_brand_value_type) { + valueSerializer.writeInt8(3) + const value_brand_value_3 = unsafeCast(value_brand_value) + valueSerializer.writeResource(value_brand_value_3) } } - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { + const value_warning = value.warning + let value_warning_type: int32 = RuntimeType.UNDEFINED + value_warning_type = runtimeType(value_warning) + valueSerializer.writeInt8(value_warning_type) + if ((RuntimeType.UNDEFINED) != (value_warning_type)) { + const value_warning_value = value_warning! + let value_warning_value_type: int32 = RuntimeType.UNDEFINED + value_warning_value_type = runtimeType(value_warning_value) + if (((RuntimeType.NUMBER) == (value_warning_value_type)) && ((unsafeCast(value_warning_value)) >= (0)) && ((unsafeCast(value_warning_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_color_value_0 = unsafeCast(value_color_value) - valueSerializer.writeInt32(value_color_value_0.valueOf()) + const value_warning_value_0 = unsafeCast(value_warning_value) + valueSerializer.writeInt32(value_warning_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_color_value_type) { + else if (RuntimeType.NUMBER == value_warning_value_type) { valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeNumber(value_color_value_1) + const value_warning_value_1 = unsafeCast(value_warning_value) + valueSerializer.writeNumber(value_warning_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { + else if (RuntimeType.STRING == value_warning_value_type) { valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_2) + const value_warning_value_2 = unsafeCast(value_warning_value) + valueSerializer.writeString(value_warning_value_2) } - else if (RuntimeType.OBJECT == value_color_value_type) { + else if (RuntimeType.OBJECT == value_warning_value_type) { valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_3) + const value_warning_value_3 = unsafeCast(value_warning_value) + valueSerializer.writeResource(value_warning_value_3) } } - } - writeChainAnimationOptions(value: ChainAnimationOptions): void { - let valueSerializer: Serializer = this - const value_minSpace = value.minSpace - let value_minSpace_type: int32 = RuntimeType.UNDEFINED - value_minSpace_type = runtimeType(value_minSpace) - if (RuntimeType.STRING == value_minSpace_type) { - valueSerializer.writeInt8(0) - const value_minSpace_0 = unsafeCast(value_minSpace) - valueSerializer.writeString(value_minSpace_0) - } - else if (RuntimeType.NUMBER == value_minSpace_type) { - valueSerializer.writeInt8(1) - const value_minSpace_1 = unsafeCast(value_minSpace) - valueSerializer.writeNumber(value_minSpace_1) - } - else if (RuntimeType.OBJECT == value_minSpace_type) { - valueSerializer.writeInt8(2) - const value_minSpace_2 = unsafeCast(value_minSpace) - valueSerializer.writeResource(value_minSpace_2) - } - const value_maxSpace = value.maxSpace - let value_maxSpace_type: int32 = RuntimeType.UNDEFINED - value_maxSpace_type = runtimeType(value_maxSpace) - if (RuntimeType.STRING == value_maxSpace_type) { - valueSerializer.writeInt8(0) - const value_maxSpace_0 = unsafeCast(value_maxSpace) - valueSerializer.writeString(value_maxSpace_0) - } - else if (RuntimeType.NUMBER == value_maxSpace_type) { - valueSerializer.writeInt8(1) - const value_maxSpace_1 = unsafeCast(value_maxSpace) - valueSerializer.writeNumber(value_maxSpace_1) - } - else if (RuntimeType.OBJECT == value_maxSpace_type) { - valueSerializer.writeInt8(2) - const value_maxSpace_2 = unsafeCast(value_maxSpace) - valueSerializer.writeResource(value_maxSpace_2) - } - const value_conductivity = value.conductivity - let value_conductivity_type: int32 = RuntimeType.UNDEFINED - value_conductivity_type = runtimeType(value_conductivity) - valueSerializer.writeInt8(value_conductivity_type) - if ((RuntimeType.UNDEFINED) != (value_conductivity_type)) { - const value_conductivity_value = value_conductivity! - valueSerializer.writeNumber(value_conductivity_value) - } - const value_intensity = value.intensity - let value_intensity_type: int32 = RuntimeType.UNDEFINED - value_intensity_type = runtimeType(value_intensity) - valueSerializer.writeInt8(value_intensity_type) - if ((RuntimeType.UNDEFINED) != (value_intensity_type)) { - const value_intensity_value = value_intensity! - valueSerializer.writeNumber(value_intensity_value) - } - const value_edgeEffect = value.edgeEffect - let value_edgeEffect_type: int32 = RuntimeType.UNDEFINED - value_edgeEffect_type = runtimeType(value_edgeEffect) - valueSerializer.writeInt8(value_edgeEffect_type) - if ((RuntimeType.UNDEFINED) != (value_edgeEffect_type)) { - const value_edgeEffect_value = value_edgeEffect! - valueSerializer.writeInt32(value_edgeEffect_value.valueOf()) - } - const value_stiffness = value.stiffness - let value_stiffness_type: int32 = RuntimeType.UNDEFINED - value_stiffness_type = runtimeType(value_stiffness) - valueSerializer.writeInt8(value_stiffness_type) - if ((RuntimeType.UNDEFINED) != (value_stiffness_type)) { - const value_stiffness_value = value_stiffness! - valueSerializer.writeNumber(value_stiffness_value) - } - const value_damping = value.damping - let value_damping_type: int32 = RuntimeType.UNDEFINED - value_damping_type = runtimeType(value_damping) - valueSerializer.writeInt8(value_damping_type) - if ((RuntimeType.UNDEFINED) != (value_damping_type)) { - const value_damping_value = value_damping! - valueSerializer.writeNumber(value_damping_value) - } - } - writeCircleStyleOptions(value: CircleStyleOptions): void { - let valueSerializer: Serializer = this - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { + const value_alert = value.alert + let value_alert_type: int32 = RuntimeType.UNDEFINED + value_alert_type = runtimeType(value_alert) + valueSerializer.writeInt8(value_alert_type) + if ((RuntimeType.UNDEFINED) != (value_alert_type)) { + const value_alert_value = value_alert! + let value_alert_value_type: int32 = RuntimeType.UNDEFINED + value_alert_value_type = runtimeType(value_alert_value) + if (((RuntimeType.NUMBER) == (value_alert_value_type)) && ((unsafeCast(value_alert_value)) >= (0)) && ((unsafeCast(value_alert_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_color_value_0 = unsafeCast(value_color_value) - valueSerializer.writeInt32(value_color_value_0.valueOf()) + const value_alert_value_0 = unsafeCast(value_alert_value) + valueSerializer.writeInt32(value_alert_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_color_value_type) { + else if (RuntimeType.NUMBER == value_alert_value_type) { valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeNumber(value_color_value_1) + const value_alert_value_1 = unsafeCast(value_alert_value) + valueSerializer.writeNumber(value_alert_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { + else if (RuntimeType.STRING == value_alert_value_type) { valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_2) + const value_alert_value_2 = unsafeCast(value_alert_value) + valueSerializer.writeString(value_alert_value_2) } - else if (RuntimeType.OBJECT == value_color_value_type) { + else if (RuntimeType.OBJECT == value_alert_value_type) { valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_3) + const value_alert_value_3 = unsafeCast(value_alert_value) + valueSerializer.writeResource(value_alert_value_3) } } - const value_radius = value.radius - let value_radius_type: int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type) - if ((RuntimeType.UNDEFINED) != (value_radius_type)) { - const value_radius_value = value_radius! - valueSerializer.writeLengthMetrics(value_radius_value) - } - const value_enableWaveEffect = value.enableWaveEffect - let value_enableWaveEffect_type: int32 = RuntimeType.UNDEFINED - value_enableWaveEffect_type = runtimeType(value_enableWaveEffect) - valueSerializer.writeInt8(value_enableWaveEffect_type) - if ((RuntimeType.UNDEFINED) != (value_enableWaveEffect_type)) { - const value_enableWaveEffect_value = value_enableWaveEffect! - valueSerializer.writeBoolean(value_enableWaveEffect_value) - } - } - writeColorStop(value: ColorStop): void { - let valueSerializer: Serializer = this - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - if (((RuntimeType.NUMBER) == (value_color_type)) && ((unsafeCast(value_color)) >= (0)) && ((unsafeCast(value_color)) <= (11))) { - valueSerializer.writeInt8(0) - const value_color_0 = unsafeCast(value_color) - valueSerializer.writeInt32(value_color_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_color_type) { - valueSerializer.writeInt8(1) - const value_color_1 = unsafeCast(value_color) - valueSerializer.writeNumber(value_color_1) - } - else if (RuntimeType.STRING == value_color_type) { - valueSerializer.writeInt8(2) - const value_color_2 = unsafeCast(value_color) - valueSerializer.writeString(value_color_2) - } - else if (RuntimeType.OBJECT == value_color_type) { - valueSerializer.writeInt8(3) - const value_color_3 = unsafeCast(value_color) - valueSerializer.writeResource(value_color_3) - } - const value_offset = value.offset - let value_offset_type: int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - if (RuntimeType.STRING == value_offset_type) { - valueSerializer.writeInt8(0) - const value_offset_0 = unsafeCast(value_offset) - valueSerializer.writeString(value_offset_0) - } - else if (RuntimeType.NUMBER == value_offset_type) { - valueSerializer.writeInt8(1) - const value_offset_1 = unsafeCast(value_offset) - valueSerializer.writeNumber(value_offset_1) - } - else if (RuntimeType.OBJECT == value_offset_type) { - valueSerializer.writeInt8(2) - const value_offset_2 = unsafeCast(value_offset) - valueSerializer.writeResource(value_offset_2) - } - } - writeColumnSplitDividerStyle(value: ColumnSplitDividerStyle): void { - let valueSerializer: Serializer = this - const value_startMargin = value.startMargin - let value_startMargin_type: int32 = RuntimeType.UNDEFINED - value_startMargin_type = runtimeType(value_startMargin) - valueSerializer.writeInt8(value_startMargin_type) - if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { - const value_startMargin_value = value_startMargin! - let value_startMargin_value_type: int32 = RuntimeType.UNDEFINED - value_startMargin_value_type = runtimeType(value_startMargin_value) - if (RuntimeType.STRING == value_startMargin_value_type) { + const value_confirm = value.confirm + let value_confirm_type: int32 = RuntimeType.UNDEFINED + value_confirm_type = runtimeType(value_confirm) + valueSerializer.writeInt8(value_confirm_type) + if ((RuntimeType.UNDEFINED) != (value_confirm_type)) { + const value_confirm_value = value_confirm! + let value_confirm_value_type: int32 = RuntimeType.UNDEFINED + value_confirm_value_type = runtimeType(value_confirm_value) + if (((RuntimeType.NUMBER) == (value_confirm_value_type)) && ((unsafeCast(value_confirm_value)) >= (0)) && ((unsafeCast(value_confirm_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_startMargin_value_0 = unsafeCast(value_startMargin_value) - valueSerializer.writeString(value_startMargin_value_0) + const value_confirm_value_0 = unsafeCast(value_confirm_value) + valueSerializer.writeInt32(value_confirm_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_startMargin_value_type) { + else if (RuntimeType.NUMBER == value_confirm_value_type) { valueSerializer.writeInt8(1) - const value_startMargin_value_1 = unsafeCast(value_startMargin_value) - valueSerializer.writeNumber(value_startMargin_value_1) + const value_confirm_value_1 = unsafeCast(value_confirm_value) + valueSerializer.writeNumber(value_confirm_value_1) } - else if (RuntimeType.OBJECT == value_startMargin_value_type) { + else if (RuntimeType.STRING == value_confirm_value_type) { valueSerializer.writeInt8(2) - const value_startMargin_value_2 = unsafeCast(value_startMargin_value) - valueSerializer.writeResource(value_startMargin_value_2) + const value_confirm_value_2 = unsafeCast(value_confirm_value) + valueSerializer.writeString(value_confirm_value_2) + } + else if (RuntimeType.OBJECT == value_confirm_value_type) { + valueSerializer.writeInt8(3) + const value_confirm_value_3 = unsafeCast(value_confirm_value) + valueSerializer.writeResource(value_confirm_value_3) } } - const value_endMargin = value.endMargin - let value_endMargin_type: int32 = RuntimeType.UNDEFINED - value_endMargin_type = runtimeType(value_endMargin) - valueSerializer.writeInt8(value_endMargin_type) - if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { - const value_endMargin_value = value_endMargin! - let value_endMargin_value_type: int32 = RuntimeType.UNDEFINED - value_endMargin_value_type = runtimeType(value_endMargin_value) - if (RuntimeType.STRING == value_endMargin_value_type) { + const value_fontPrimary = value.fontPrimary + let value_fontPrimary_type: int32 = RuntimeType.UNDEFINED + value_fontPrimary_type = runtimeType(value_fontPrimary) + valueSerializer.writeInt8(value_fontPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_fontPrimary_type)) { + const value_fontPrimary_value = value_fontPrimary! + let value_fontPrimary_value_type: int32 = RuntimeType.UNDEFINED + value_fontPrimary_value_type = runtimeType(value_fontPrimary_value) + if (((RuntimeType.NUMBER) == (value_fontPrimary_value_type)) && ((unsafeCast(value_fontPrimary_value)) >= (0)) && ((unsafeCast(value_fontPrimary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_endMargin_value_0 = unsafeCast(value_endMargin_value) - valueSerializer.writeString(value_endMargin_value_0) + const value_fontPrimary_value_0 = unsafeCast(value_fontPrimary_value) + valueSerializer.writeInt32(value_fontPrimary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_endMargin_value_type) { + else if (RuntimeType.NUMBER == value_fontPrimary_value_type) { valueSerializer.writeInt8(1) - const value_endMargin_value_1 = unsafeCast(value_endMargin_value) - valueSerializer.writeNumber(value_endMargin_value_1) + const value_fontPrimary_value_1 = unsafeCast(value_fontPrimary_value) + valueSerializer.writeNumber(value_fontPrimary_value_1) } - else if (RuntimeType.OBJECT == value_endMargin_value_type) { + else if (RuntimeType.STRING == value_fontPrimary_value_type) { valueSerializer.writeInt8(2) - const value_endMargin_value_2 = unsafeCast(value_endMargin_value) - valueSerializer.writeResource(value_endMargin_value_2) + const value_fontPrimary_value_2 = unsafeCast(value_fontPrimary_value) + valueSerializer.writeString(value_fontPrimary_value_2) + } + else if (RuntimeType.OBJECT == value_fontPrimary_value_type) { + valueSerializer.writeInt8(3) + const value_fontPrimary_value_3 = unsafeCast(value_fontPrimary_value) + valueSerializer.writeResource(value_fontPrimary_value_3) } } - } - writeComponentInfo(value: ComponentInfo): void { - let valueSerializer: Serializer = this - const value_size = value.size - valueSerializer.writeSize(value_size) - const value_localOffset = value.localOffset - valueSerializer.writeOffset_componentutils(value_localOffset) - const value_windowOffset = value.windowOffset - valueSerializer.writeOffset_componentutils(value_windowOffset) - const value_screenOffset = value.screenOffset - valueSerializer.writeOffset_componentutils(value_screenOffset) - const value_translate = value.translate - valueSerializer.writeTranslateResult(value_translate) - const value_scale = value.scale - valueSerializer.writeScaleResult(value_scale) - const value_rotate = value.rotate - valueSerializer.writeRotateResult(value_rotate) - const value_transform = value.transform - const value_transform_0 = value_transform[0] - valueSerializer.writeNumber(value_transform_0) - const value_transform_1 = value_transform[1] - valueSerializer.writeNumber(value_transform_1) - const value_transform_2 = value_transform[2] - valueSerializer.writeNumber(value_transform_2) - const value_transform_3 = value_transform[3] - valueSerializer.writeNumber(value_transform_3) - const value_transform_4 = value_transform[4] - valueSerializer.writeNumber(value_transform_4) - const value_transform_5 = value_transform[5] - valueSerializer.writeNumber(value_transform_5) - const value_transform_6 = value_transform[6] - valueSerializer.writeNumber(value_transform_6) - const value_transform_7 = value_transform[7] - valueSerializer.writeNumber(value_transform_7) - const value_transform_8 = value_transform[8] - valueSerializer.writeNumber(value_transform_8) - const value_transform_9 = value_transform[9] - valueSerializer.writeNumber(value_transform_9) - const value_transform_10 = value_transform[10] - valueSerializer.writeNumber(value_transform_10) - const value_transform_11 = value_transform[11] - valueSerializer.writeNumber(value_transform_11) - const value_transform_12 = value_transform[12] - valueSerializer.writeNumber(value_transform_12) - const value_transform_13 = value_transform[13] - valueSerializer.writeNumber(value_transform_13) - const value_transform_14 = value_transform[14] - valueSerializer.writeNumber(value_transform_14) - const value_transform_15 = value_transform[15] - valueSerializer.writeNumber(value_transform_15) - } - writeConstraintSizeOptions(value: ConstraintSizeOptions): void { - let valueSerializer: Serializer = this - const value_minWidth = value.minWidth - let value_minWidth_type: int32 = RuntimeType.UNDEFINED - value_minWidth_type = runtimeType(value_minWidth) - valueSerializer.writeInt8(value_minWidth_type) - if ((RuntimeType.UNDEFINED) != (value_minWidth_type)) { - const value_minWidth_value = value_minWidth! - let value_minWidth_value_type: int32 = RuntimeType.UNDEFINED - value_minWidth_value_type = runtimeType(value_minWidth_value) - if (RuntimeType.STRING == value_minWidth_value_type) { + const value_fontSecondary = value.fontSecondary + let value_fontSecondary_type: int32 = RuntimeType.UNDEFINED + value_fontSecondary_type = runtimeType(value_fontSecondary) + valueSerializer.writeInt8(value_fontSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_fontSecondary_type)) { + const value_fontSecondary_value = value_fontSecondary! + let value_fontSecondary_value_type: int32 = RuntimeType.UNDEFINED + value_fontSecondary_value_type = runtimeType(value_fontSecondary_value) + if (((RuntimeType.NUMBER) == (value_fontSecondary_value_type)) && ((unsafeCast(value_fontSecondary_value)) >= (0)) && ((unsafeCast(value_fontSecondary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_minWidth_value_0 = unsafeCast(value_minWidth_value) - valueSerializer.writeString(value_minWidth_value_0) + const value_fontSecondary_value_0 = unsafeCast(value_fontSecondary_value) + valueSerializer.writeInt32(value_fontSecondary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_minWidth_value_type) { + else if (RuntimeType.NUMBER == value_fontSecondary_value_type) { valueSerializer.writeInt8(1) - const value_minWidth_value_1 = unsafeCast(value_minWidth_value) - valueSerializer.writeNumber(value_minWidth_value_1) + const value_fontSecondary_value_1 = unsafeCast(value_fontSecondary_value) + valueSerializer.writeNumber(value_fontSecondary_value_1) } - else if (RuntimeType.OBJECT == value_minWidth_value_type) { + else if (RuntimeType.STRING == value_fontSecondary_value_type) { valueSerializer.writeInt8(2) - const value_minWidth_value_2 = unsafeCast(value_minWidth_value) - valueSerializer.writeResource(value_minWidth_value_2) + const value_fontSecondary_value_2 = unsafeCast(value_fontSecondary_value) + valueSerializer.writeString(value_fontSecondary_value_2) + } + else if (RuntimeType.OBJECT == value_fontSecondary_value_type) { + valueSerializer.writeInt8(3) + const value_fontSecondary_value_3 = unsafeCast(value_fontSecondary_value) + valueSerializer.writeResource(value_fontSecondary_value_3) } } - const value_maxWidth = value.maxWidth - let value_maxWidth_type: int32 = RuntimeType.UNDEFINED - value_maxWidth_type = runtimeType(value_maxWidth) - valueSerializer.writeInt8(value_maxWidth_type) - if ((RuntimeType.UNDEFINED) != (value_maxWidth_type)) { - const value_maxWidth_value = value_maxWidth! - let value_maxWidth_value_type: int32 = RuntimeType.UNDEFINED - value_maxWidth_value_type = runtimeType(value_maxWidth_value) - if (RuntimeType.STRING == value_maxWidth_value_type) { + const value_fontTertiary = value.fontTertiary + let value_fontTertiary_type: int32 = RuntimeType.UNDEFINED + value_fontTertiary_type = runtimeType(value_fontTertiary) + valueSerializer.writeInt8(value_fontTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_fontTertiary_type)) { + const value_fontTertiary_value = value_fontTertiary! + let value_fontTertiary_value_type: int32 = RuntimeType.UNDEFINED + value_fontTertiary_value_type = runtimeType(value_fontTertiary_value) + if (((RuntimeType.NUMBER) == (value_fontTertiary_value_type)) && ((unsafeCast(value_fontTertiary_value)) >= (0)) && ((unsafeCast(value_fontTertiary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_maxWidth_value_0 = unsafeCast(value_maxWidth_value) - valueSerializer.writeString(value_maxWidth_value_0) + const value_fontTertiary_value_0 = unsafeCast(value_fontTertiary_value) + valueSerializer.writeInt32(value_fontTertiary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_maxWidth_value_type) { + else if (RuntimeType.NUMBER == value_fontTertiary_value_type) { valueSerializer.writeInt8(1) - const value_maxWidth_value_1 = unsafeCast(value_maxWidth_value) - valueSerializer.writeNumber(value_maxWidth_value_1) + const value_fontTertiary_value_1 = unsafeCast(value_fontTertiary_value) + valueSerializer.writeNumber(value_fontTertiary_value_1) } - else if (RuntimeType.OBJECT == value_maxWidth_value_type) { + else if (RuntimeType.STRING == value_fontTertiary_value_type) { valueSerializer.writeInt8(2) - const value_maxWidth_value_2 = unsafeCast(value_maxWidth_value) - valueSerializer.writeResource(value_maxWidth_value_2) + const value_fontTertiary_value_2 = unsafeCast(value_fontTertiary_value) + valueSerializer.writeString(value_fontTertiary_value_2) + } + else if (RuntimeType.OBJECT == value_fontTertiary_value_type) { + valueSerializer.writeInt8(3) + const value_fontTertiary_value_3 = unsafeCast(value_fontTertiary_value) + valueSerializer.writeResource(value_fontTertiary_value_3) } } - const value_minHeight = value.minHeight - let value_minHeight_type: int32 = RuntimeType.UNDEFINED - value_minHeight_type = runtimeType(value_minHeight) - valueSerializer.writeInt8(value_minHeight_type) - if ((RuntimeType.UNDEFINED) != (value_minHeight_type)) { - const value_minHeight_value = value_minHeight! - let value_minHeight_value_type: int32 = RuntimeType.UNDEFINED - value_minHeight_value_type = runtimeType(value_minHeight_value) - if (RuntimeType.STRING == value_minHeight_value_type) { + const value_fontFourth = value.fontFourth + let value_fontFourth_type: int32 = RuntimeType.UNDEFINED + value_fontFourth_type = runtimeType(value_fontFourth) + valueSerializer.writeInt8(value_fontFourth_type) + if ((RuntimeType.UNDEFINED) != (value_fontFourth_type)) { + const value_fontFourth_value = value_fontFourth! + let value_fontFourth_value_type: int32 = RuntimeType.UNDEFINED + value_fontFourth_value_type = runtimeType(value_fontFourth_value) + if (((RuntimeType.NUMBER) == (value_fontFourth_value_type)) && ((unsafeCast(value_fontFourth_value)) >= (0)) && ((unsafeCast(value_fontFourth_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_minHeight_value_0 = unsafeCast(value_minHeight_value) - valueSerializer.writeString(value_minHeight_value_0) + const value_fontFourth_value_0 = unsafeCast(value_fontFourth_value) + valueSerializer.writeInt32(value_fontFourth_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_minHeight_value_type) { + else if (RuntimeType.NUMBER == value_fontFourth_value_type) { valueSerializer.writeInt8(1) - const value_minHeight_value_1 = unsafeCast(value_minHeight_value) - valueSerializer.writeNumber(value_minHeight_value_1) + const value_fontFourth_value_1 = unsafeCast(value_fontFourth_value) + valueSerializer.writeNumber(value_fontFourth_value_1) } - else if (RuntimeType.OBJECT == value_minHeight_value_type) { + else if (RuntimeType.STRING == value_fontFourth_value_type) { valueSerializer.writeInt8(2) - const value_minHeight_value_2 = unsafeCast(value_minHeight_value) - valueSerializer.writeResource(value_minHeight_value_2) + const value_fontFourth_value_2 = unsafeCast(value_fontFourth_value) + valueSerializer.writeString(value_fontFourth_value_2) + } + else if (RuntimeType.OBJECT == value_fontFourth_value_type) { + valueSerializer.writeInt8(3) + const value_fontFourth_value_3 = unsafeCast(value_fontFourth_value) + valueSerializer.writeResource(value_fontFourth_value_3) } } - const value_maxHeight = value.maxHeight - let value_maxHeight_type: int32 = RuntimeType.UNDEFINED - value_maxHeight_type = runtimeType(value_maxHeight) - valueSerializer.writeInt8(value_maxHeight_type) - if ((RuntimeType.UNDEFINED) != (value_maxHeight_type)) { - const value_maxHeight_value = value_maxHeight! - let value_maxHeight_value_type: int32 = RuntimeType.UNDEFINED - value_maxHeight_value_type = runtimeType(value_maxHeight_value) - if (RuntimeType.STRING == value_maxHeight_value_type) { + const value_fontEmphasize = value.fontEmphasize + let value_fontEmphasize_type: int32 = RuntimeType.UNDEFINED + value_fontEmphasize_type = runtimeType(value_fontEmphasize) + valueSerializer.writeInt8(value_fontEmphasize_type) + if ((RuntimeType.UNDEFINED) != (value_fontEmphasize_type)) { + const value_fontEmphasize_value = value_fontEmphasize! + let value_fontEmphasize_value_type: int32 = RuntimeType.UNDEFINED + value_fontEmphasize_value_type = runtimeType(value_fontEmphasize_value) + if (((RuntimeType.NUMBER) == (value_fontEmphasize_value_type)) && ((unsafeCast(value_fontEmphasize_value)) >= (0)) && ((unsafeCast(value_fontEmphasize_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_maxHeight_value_0 = unsafeCast(value_maxHeight_value) - valueSerializer.writeString(value_maxHeight_value_0) + const value_fontEmphasize_value_0 = unsafeCast(value_fontEmphasize_value) + valueSerializer.writeInt32(value_fontEmphasize_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_maxHeight_value_type) { + else if (RuntimeType.NUMBER == value_fontEmphasize_value_type) { valueSerializer.writeInt8(1) - const value_maxHeight_value_1 = unsafeCast(value_maxHeight_value) - valueSerializer.writeNumber(value_maxHeight_value_1) + const value_fontEmphasize_value_1 = unsafeCast(value_fontEmphasize_value) + valueSerializer.writeNumber(value_fontEmphasize_value_1) } - else if (RuntimeType.OBJECT == value_maxHeight_value_type) { + else if (RuntimeType.STRING == value_fontEmphasize_value_type) { valueSerializer.writeInt8(2) - const value_maxHeight_value_2 = unsafeCast(value_maxHeight_value) - valueSerializer.writeResource(value_maxHeight_value_2) + const value_fontEmphasize_value_2 = unsafeCast(value_fontEmphasize_value) + valueSerializer.writeString(value_fontEmphasize_value_2) + } + else if (RuntimeType.OBJECT == value_fontEmphasize_value_type) { + valueSerializer.writeInt8(3) + const value_fontEmphasize_value_3 = unsafeCast(value_fontEmphasize_value) + valueSerializer.writeResource(value_fontEmphasize_value_3) } } - } - writeContentCoverOptions(value: ContentCoverOptions): void { - let valueSerializer: Serializer = this - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type: int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type: int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (((RuntimeType.NUMBER) == (value_backgroundColor_value_type)) && ((unsafeCast(value_backgroundColor_value)) >= (0)) && ((unsafeCast(value_backgroundColor_value)) <= (11))) { + const value_fontOnPrimary = value.fontOnPrimary + let value_fontOnPrimary_type: int32 = RuntimeType.UNDEFINED + value_fontOnPrimary_type = runtimeType(value_fontOnPrimary) + valueSerializer.writeInt8(value_fontOnPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_fontOnPrimary_type)) { + const value_fontOnPrimary_value = value_fontOnPrimary! + let value_fontOnPrimary_value_type: int32 = RuntimeType.UNDEFINED + value_fontOnPrimary_value_type = runtimeType(value_fontOnPrimary_value) + if (((RuntimeType.NUMBER) == (value_fontOnPrimary_value_type)) && ((unsafeCast(value_fontOnPrimary_value)) >= (0)) && ((unsafeCast(value_fontOnPrimary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_backgroundColor_value_0 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeInt32(value_backgroundColor_value_0.valueOf()) + const value_fontOnPrimary_value_0 = unsafeCast(value_fontOnPrimary_value) + valueSerializer.writeInt32(value_fontOnPrimary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + else if (RuntimeType.NUMBER == value_fontOnPrimary_value_type) { valueSerializer.writeInt8(1) - const value_backgroundColor_value_1 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeNumber(value_backgroundColor_value_1) + const value_fontOnPrimary_value_1 = unsafeCast(value_fontOnPrimary_value) + valueSerializer.writeNumber(value_fontOnPrimary_value_1) } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { + else if (RuntimeType.STRING == value_fontOnPrimary_value_type) { valueSerializer.writeInt8(2) - const value_backgroundColor_value_2 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeString(value_backgroundColor_value_2) + const value_fontOnPrimary_value_2 = unsafeCast(value_fontOnPrimary_value) + valueSerializer.writeString(value_fontOnPrimary_value_2) } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + else if (RuntimeType.OBJECT == value_fontOnPrimary_value_type) { valueSerializer.writeInt8(3) - const value_backgroundColor_value_3 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeResource(value_backgroundColor_value_3) + const value_fontOnPrimary_value_3 = unsafeCast(value_fontOnPrimary_value) + valueSerializer.writeResource(value_fontOnPrimary_value_3) } } - const value_onAppear = value.onAppear - let value_onAppear_type: int32 = RuntimeType.UNDEFINED - value_onAppear_type = runtimeType(value_onAppear) - valueSerializer.writeInt8(value_onAppear_type) - if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { - const value_onAppear_value = value_onAppear! - valueSerializer.holdAndWriteCallback(value_onAppear_value) - } - const value_onDisappear = value.onDisappear - let value_onDisappear_type: int32 = RuntimeType.UNDEFINED - value_onDisappear_type = runtimeType(value_onDisappear) - valueSerializer.writeInt8(value_onDisappear_type) - if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { - const value_onDisappear_value = value_onDisappear! - valueSerializer.holdAndWriteCallback(value_onDisappear_value) - } - const value_onWillAppear = value.onWillAppear - let value_onWillAppear_type: int32 = RuntimeType.UNDEFINED - value_onWillAppear_type = runtimeType(value_onWillAppear) - valueSerializer.writeInt8(value_onWillAppear_type) - if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { - const value_onWillAppear_value = value_onWillAppear! - valueSerializer.holdAndWriteCallback(value_onWillAppear_value) - } - const value_onWillDisappear = value.onWillDisappear - let value_onWillDisappear_type: int32 = RuntimeType.UNDEFINED - value_onWillDisappear_type = runtimeType(value_onWillDisappear) - valueSerializer.writeInt8(value_onWillDisappear_type) - if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { - const value_onWillDisappear_value = value_onWillDisappear! - valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) - } - const value_modalTransition = value.modalTransition - let value_modalTransition_type: int32 = RuntimeType.UNDEFINED - value_modalTransition_type = runtimeType(value_modalTransition) - valueSerializer.writeInt8(value_modalTransition_type) - if ((RuntimeType.UNDEFINED) != (value_modalTransition_type)) { - const value_modalTransition_value = value_modalTransition! - valueSerializer.writeInt32(value_modalTransition_value.valueOf()) - } - const value_onWillDismiss = value.onWillDismiss - let value_onWillDismiss_type: int32 = RuntimeType.UNDEFINED - value_onWillDismiss_type = runtimeType(value_onWillDismiss) - valueSerializer.writeInt8(value_onWillDismiss_type) - if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { - const value_onWillDismiss_value = value_onWillDismiss! - valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) - } - const value_transition = value.transition - let value_transition_type: int32 = RuntimeType.UNDEFINED - value_transition_type = runtimeType(value_transition) - valueSerializer.writeInt8(value_transition_type) - if ((RuntimeType.UNDEFINED) != (value_transition_type)) { - const value_transition_value = value_transition! - valueSerializer.writeTransitionEffect(value_transition_value) - } - } - writeContextMenuAnimationOptions(value: ContextMenuAnimationOptions): void { - let valueSerializer: Serializer = this - const value_scale = value.scale - let value_scale_type: int32 = RuntimeType.UNDEFINED - value_scale_type = runtimeType(value_scale) - valueSerializer.writeInt8(value_scale_type) - if ((RuntimeType.UNDEFINED) != (value_scale_type)) { - const value_scale_value = value_scale! - const value_scale_value_0 = value_scale_value[0] - valueSerializer.writeNumber(value_scale_value_0) - const value_scale_value_1 = value_scale_value[1] - valueSerializer.writeNumber(value_scale_value_1) - } - const value_transition = value.transition - let value_transition_type: int32 = RuntimeType.UNDEFINED - value_transition_type = runtimeType(value_transition) - valueSerializer.writeInt8(value_transition_type) - if ((RuntimeType.UNDEFINED) != (value_transition_type)) { - const value_transition_value = value_transition! - valueSerializer.writeTransitionEffect(value_transition_value) - } - const value_hoverScale = value.hoverScale - let value_hoverScale_type: int32 = RuntimeType.UNDEFINED - value_hoverScale_type = runtimeType(value_hoverScale) - valueSerializer.writeInt8(value_hoverScale_type) - if ((RuntimeType.UNDEFINED) != (value_hoverScale_type)) { - const value_hoverScale_value = value_hoverScale! - const value_hoverScale_value_0 = value_hoverScale_value[0] - valueSerializer.writeNumber(value_hoverScale_value_0) - const value_hoverScale_value_1 = value_hoverScale_value[1] - valueSerializer.writeNumber(value_hoverScale_value_1) - } - } - writeCurrentDayStyle(value: CurrentDayStyle): void { - let valueSerializer: Serializer = this - const value_dayColor = value.dayColor - let value_dayColor_type: int32 = RuntimeType.UNDEFINED - value_dayColor_type = runtimeType(value_dayColor) - valueSerializer.writeInt8(value_dayColor_type) - if ((RuntimeType.UNDEFINED) != (value_dayColor_type)) { - const value_dayColor_value = value_dayColor! - let value_dayColor_value_type: int32 = RuntimeType.UNDEFINED - value_dayColor_value_type = runtimeType(value_dayColor_value) - if (((RuntimeType.NUMBER) == (value_dayColor_value_type)) && ((unsafeCast(value_dayColor_value)) >= (0)) && ((unsafeCast(value_dayColor_value)) <= (11))) { + const value_fontOnSecondary = value.fontOnSecondary + let value_fontOnSecondary_type: int32 = RuntimeType.UNDEFINED + value_fontOnSecondary_type = runtimeType(value_fontOnSecondary) + valueSerializer.writeInt8(value_fontOnSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_fontOnSecondary_type)) { + const value_fontOnSecondary_value = value_fontOnSecondary! + let value_fontOnSecondary_value_type: int32 = RuntimeType.UNDEFINED + value_fontOnSecondary_value_type = runtimeType(value_fontOnSecondary_value) + if (((RuntimeType.NUMBER) == (value_fontOnSecondary_value_type)) && ((unsafeCast(value_fontOnSecondary_value)) >= (0)) && ((unsafeCast(value_fontOnSecondary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_dayColor_value_0 = unsafeCast(value_dayColor_value) - valueSerializer.writeInt32(value_dayColor_value_0.valueOf()) + const value_fontOnSecondary_value_0 = unsafeCast(value_fontOnSecondary_value) + valueSerializer.writeInt32(value_fontOnSecondary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_dayColor_value_type) { + else if (RuntimeType.NUMBER == value_fontOnSecondary_value_type) { valueSerializer.writeInt8(1) - const value_dayColor_value_1 = unsafeCast(value_dayColor_value) - valueSerializer.writeNumber(value_dayColor_value_1) + const value_fontOnSecondary_value_1 = unsafeCast(value_fontOnSecondary_value) + valueSerializer.writeNumber(value_fontOnSecondary_value_1) } - else if (RuntimeType.STRING == value_dayColor_value_type) { + else if (RuntimeType.STRING == value_fontOnSecondary_value_type) { valueSerializer.writeInt8(2) - const value_dayColor_value_2 = unsafeCast(value_dayColor_value) - valueSerializer.writeString(value_dayColor_value_2) + const value_fontOnSecondary_value_2 = unsafeCast(value_fontOnSecondary_value) + valueSerializer.writeString(value_fontOnSecondary_value_2) } - else if (RuntimeType.OBJECT == value_dayColor_value_type) { + else if (RuntimeType.OBJECT == value_fontOnSecondary_value_type) { valueSerializer.writeInt8(3) - const value_dayColor_value_3 = unsafeCast(value_dayColor_value) - valueSerializer.writeResource(value_dayColor_value_3) + const value_fontOnSecondary_value_3 = unsafeCast(value_fontOnSecondary_value) + valueSerializer.writeResource(value_fontOnSecondary_value_3) } } - const value_lunarColor = value.lunarColor - let value_lunarColor_type: int32 = RuntimeType.UNDEFINED - value_lunarColor_type = runtimeType(value_lunarColor) - valueSerializer.writeInt8(value_lunarColor_type) - if ((RuntimeType.UNDEFINED) != (value_lunarColor_type)) { - const value_lunarColor_value = value_lunarColor! - let value_lunarColor_value_type: int32 = RuntimeType.UNDEFINED - value_lunarColor_value_type = runtimeType(value_lunarColor_value) - if (((RuntimeType.NUMBER) == (value_lunarColor_value_type)) && ((unsafeCast(value_lunarColor_value)) >= (0)) && ((unsafeCast(value_lunarColor_value)) <= (11))) { + const value_fontOnTertiary = value.fontOnTertiary + let value_fontOnTertiary_type: int32 = RuntimeType.UNDEFINED + value_fontOnTertiary_type = runtimeType(value_fontOnTertiary) + valueSerializer.writeInt8(value_fontOnTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_fontOnTertiary_type)) { + const value_fontOnTertiary_value = value_fontOnTertiary! + let value_fontOnTertiary_value_type: int32 = RuntimeType.UNDEFINED + value_fontOnTertiary_value_type = runtimeType(value_fontOnTertiary_value) + if (((RuntimeType.NUMBER) == (value_fontOnTertiary_value_type)) && ((unsafeCast(value_fontOnTertiary_value)) >= (0)) && ((unsafeCast(value_fontOnTertiary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_lunarColor_value_0 = unsafeCast(value_lunarColor_value) - valueSerializer.writeInt32(value_lunarColor_value_0.valueOf()) + const value_fontOnTertiary_value_0 = unsafeCast(value_fontOnTertiary_value) + valueSerializer.writeInt32(value_fontOnTertiary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_lunarColor_value_type) { + else if (RuntimeType.NUMBER == value_fontOnTertiary_value_type) { valueSerializer.writeInt8(1) - const value_lunarColor_value_1 = unsafeCast(value_lunarColor_value) - valueSerializer.writeNumber(value_lunarColor_value_1) + const value_fontOnTertiary_value_1 = unsafeCast(value_fontOnTertiary_value) + valueSerializer.writeNumber(value_fontOnTertiary_value_1) } - else if (RuntimeType.STRING == value_lunarColor_value_type) { + else if (RuntimeType.STRING == value_fontOnTertiary_value_type) { valueSerializer.writeInt8(2) - const value_lunarColor_value_2 = unsafeCast(value_lunarColor_value) - valueSerializer.writeString(value_lunarColor_value_2) + const value_fontOnTertiary_value_2 = unsafeCast(value_fontOnTertiary_value) + valueSerializer.writeString(value_fontOnTertiary_value_2) } - else if (RuntimeType.OBJECT == value_lunarColor_value_type) { + else if (RuntimeType.OBJECT == value_fontOnTertiary_value_type) { valueSerializer.writeInt8(3) - const value_lunarColor_value_3 = unsafeCast(value_lunarColor_value) - valueSerializer.writeResource(value_lunarColor_value_3) + const value_fontOnTertiary_value_3 = unsafeCast(value_fontOnTertiary_value) + valueSerializer.writeResource(value_fontOnTertiary_value_3) } } - const value_markLunarColor = value.markLunarColor - let value_markLunarColor_type: int32 = RuntimeType.UNDEFINED - value_markLunarColor_type = runtimeType(value_markLunarColor) - valueSerializer.writeInt8(value_markLunarColor_type) - if ((RuntimeType.UNDEFINED) != (value_markLunarColor_type)) { - const value_markLunarColor_value = value_markLunarColor! - let value_markLunarColor_value_type: int32 = RuntimeType.UNDEFINED - value_markLunarColor_value_type = runtimeType(value_markLunarColor_value) - if (((RuntimeType.NUMBER) == (value_markLunarColor_value_type)) && ((unsafeCast(value_markLunarColor_value)) >= (0)) && ((unsafeCast(value_markLunarColor_value)) <= (11))) { + const value_fontOnFourth = value.fontOnFourth + let value_fontOnFourth_type: int32 = RuntimeType.UNDEFINED + value_fontOnFourth_type = runtimeType(value_fontOnFourth) + valueSerializer.writeInt8(value_fontOnFourth_type) + if ((RuntimeType.UNDEFINED) != (value_fontOnFourth_type)) { + const value_fontOnFourth_value = value_fontOnFourth! + let value_fontOnFourth_value_type: int32 = RuntimeType.UNDEFINED + value_fontOnFourth_value_type = runtimeType(value_fontOnFourth_value) + if (((RuntimeType.NUMBER) == (value_fontOnFourth_value_type)) && ((unsafeCast(value_fontOnFourth_value)) >= (0)) && ((unsafeCast(value_fontOnFourth_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_markLunarColor_value_0 = unsafeCast(value_markLunarColor_value) - valueSerializer.writeInt32(value_markLunarColor_value_0.valueOf()) + const value_fontOnFourth_value_0 = unsafeCast(value_fontOnFourth_value) + valueSerializer.writeInt32(value_fontOnFourth_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_markLunarColor_value_type) { + else if (RuntimeType.NUMBER == value_fontOnFourth_value_type) { valueSerializer.writeInt8(1) - const value_markLunarColor_value_1 = unsafeCast(value_markLunarColor_value) - valueSerializer.writeNumber(value_markLunarColor_value_1) + const value_fontOnFourth_value_1 = unsafeCast(value_fontOnFourth_value) + valueSerializer.writeNumber(value_fontOnFourth_value_1) } - else if (RuntimeType.STRING == value_markLunarColor_value_type) { + else if (RuntimeType.STRING == value_fontOnFourth_value_type) { valueSerializer.writeInt8(2) - const value_markLunarColor_value_2 = unsafeCast(value_markLunarColor_value) - valueSerializer.writeString(value_markLunarColor_value_2) + const value_fontOnFourth_value_2 = unsafeCast(value_fontOnFourth_value) + valueSerializer.writeString(value_fontOnFourth_value_2) } - else if (RuntimeType.OBJECT == value_markLunarColor_value_type) { + else if (RuntimeType.OBJECT == value_fontOnFourth_value_type) { valueSerializer.writeInt8(3) - const value_markLunarColor_value_3 = unsafeCast(value_markLunarColor_value) - valueSerializer.writeResource(value_markLunarColor_value_3) + const value_fontOnFourth_value_3 = unsafeCast(value_fontOnFourth_value) + valueSerializer.writeResource(value_fontOnFourth_value_3) } } - const value_dayFontSize = value.dayFontSize - let value_dayFontSize_type: int32 = RuntimeType.UNDEFINED - value_dayFontSize_type = runtimeType(value_dayFontSize) - valueSerializer.writeInt8(value_dayFontSize_type) - if ((RuntimeType.UNDEFINED) != (value_dayFontSize_type)) { - const value_dayFontSize_value = value_dayFontSize! - valueSerializer.writeNumber(value_dayFontSize_value) + const value_iconPrimary = value.iconPrimary + let value_iconPrimary_type: int32 = RuntimeType.UNDEFINED + value_iconPrimary_type = runtimeType(value_iconPrimary) + valueSerializer.writeInt8(value_iconPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_iconPrimary_type)) { + const value_iconPrimary_value = value_iconPrimary! + let value_iconPrimary_value_type: int32 = RuntimeType.UNDEFINED + value_iconPrimary_value_type = runtimeType(value_iconPrimary_value) + if (((RuntimeType.NUMBER) == (value_iconPrimary_value_type)) && ((unsafeCast(value_iconPrimary_value)) >= (0)) && ((unsafeCast(value_iconPrimary_value)) <= (11))) { + valueSerializer.writeInt8(0) + const value_iconPrimary_value_0 = unsafeCast(value_iconPrimary_value) + valueSerializer.writeInt32(value_iconPrimary_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_iconPrimary_value_type) { + valueSerializer.writeInt8(1) + const value_iconPrimary_value_1 = unsafeCast(value_iconPrimary_value) + valueSerializer.writeNumber(value_iconPrimary_value_1) + } + else if (RuntimeType.STRING == value_iconPrimary_value_type) { + valueSerializer.writeInt8(2) + const value_iconPrimary_value_2 = unsafeCast(value_iconPrimary_value) + valueSerializer.writeString(value_iconPrimary_value_2) + } + else if (RuntimeType.OBJECT == value_iconPrimary_value_type) { + valueSerializer.writeInt8(3) + const value_iconPrimary_value_3 = unsafeCast(value_iconPrimary_value) + valueSerializer.writeResource(value_iconPrimary_value_3) + } } - const value_lunarDayFontSize = value.lunarDayFontSize - let value_lunarDayFontSize_type: int32 = RuntimeType.UNDEFINED - value_lunarDayFontSize_type = runtimeType(value_lunarDayFontSize) - valueSerializer.writeInt8(value_lunarDayFontSize_type) - if ((RuntimeType.UNDEFINED) != (value_lunarDayFontSize_type)) { - const value_lunarDayFontSize_value = value_lunarDayFontSize! - valueSerializer.writeNumber(value_lunarDayFontSize_value) - } - const value_dayHeight = value.dayHeight - let value_dayHeight_type: int32 = RuntimeType.UNDEFINED - value_dayHeight_type = runtimeType(value_dayHeight) - valueSerializer.writeInt8(value_dayHeight_type) - if ((RuntimeType.UNDEFINED) != (value_dayHeight_type)) { - const value_dayHeight_value = value_dayHeight! - valueSerializer.writeNumber(value_dayHeight_value) - } - const value_dayWidth = value.dayWidth - let value_dayWidth_type: int32 = RuntimeType.UNDEFINED - value_dayWidth_type = runtimeType(value_dayWidth) - valueSerializer.writeInt8(value_dayWidth_type) - if ((RuntimeType.UNDEFINED) != (value_dayWidth_type)) { - const value_dayWidth_value = value_dayWidth! - valueSerializer.writeNumber(value_dayWidth_value) - } - const value_gregorianCalendarHeight = value.gregorianCalendarHeight - let value_gregorianCalendarHeight_type: int32 = RuntimeType.UNDEFINED - value_gregorianCalendarHeight_type = runtimeType(value_gregorianCalendarHeight) - valueSerializer.writeInt8(value_gregorianCalendarHeight_type) - if ((RuntimeType.UNDEFINED) != (value_gregorianCalendarHeight_type)) { - const value_gregorianCalendarHeight_value = value_gregorianCalendarHeight! - valueSerializer.writeNumber(value_gregorianCalendarHeight_value) - } - const value_dayYAxisOffset = value.dayYAxisOffset - let value_dayYAxisOffset_type: int32 = RuntimeType.UNDEFINED - value_dayYAxisOffset_type = runtimeType(value_dayYAxisOffset) - valueSerializer.writeInt8(value_dayYAxisOffset_type) - if ((RuntimeType.UNDEFINED) != (value_dayYAxisOffset_type)) { - const value_dayYAxisOffset_value = value_dayYAxisOffset! - valueSerializer.writeNumber(value_dayYAxisOffset_value) - } - const value_lunarDayYAxisOffset = value.lunarDayYAxisOffset - let value_lunarDayYAxisOffset_type: int32 = RuntimeType.UNDEFINED - value_lunarDayYAxisOffset_type = runtimeType(value_lunarDayYAxisOffset) - valueSerializer.writeInt8(value_lunarDayYAxisOffset_type) - if ((RuntimeType.UNDEFINED) != (value_lunarDayYAxisOffset_type)) { - const value_lunarDayYAxisOffset_value = value_lunarDayYAxisOffset! - valueSerializer.writeNumber(value_lunarDayYAxisOffset_value) - } - const value_underscoreXAxisOffset = value.underscoreXAxisOffset - let value_underscoreXAxisOffset_type: int32 = RuntimeType.UNDEFINED - value_underscoreXAxisOffset_type = runtimeType(value_underscoreXAxisOffset) - valueSerializer.writeInt8(value_underscoreXAxisOffset_type) - if ((RuntimeType.UNDEFINED) != (value_underscoreXAxisOffset_type)) { - const value_underscoreXAxisOffset_value = value_underscoreXAxisOffset! - valueSerializer.writeNumber(value_underscoreXAxisOffset_value) - } - const value_underscoreYAxisOffset = value.underscoreYAxisOffset - let value_underscoreYAxisOffset_type: int32 = RuntimeType.UNDEFINED - value_underscoreYAxisOffset_type = runtimeType(value_underscoreYAxisOffset) - valueSerializer.writeInt8(value_underscoreYAxisOffset_type) - if ((RuntimeType.UNDEFINED) != (value_underscoreYAxisOffset_type)) { - const value_underscoreYAxisOffset_value = value_underscoreYAxisOffset! - valueSerializer.writeNumber(value_underscoreYAxisOffset_value) - } - const value_scheduleMarkerXAxisOffset = value.scheduleMarkerXAxisOffset - let value_scheduleMarkerXAxisOffset_type: int32 = RuntimeType.UNDEFINED - value_scheduleMarkerXAxisOffset_type = runtimeType(value_scheduleMarkerXAxisOffset) - valueSerializer.writeInt8(value_scheduleMarkerXAxisOffset_type) - if ((RuntimeType.UNDEFINED) != (value_scheduleMarkerXAxisOffset_type)) { - const value_scheduleMarkerXAxisOffset_value = value_scheduleMarkerXAxisOffset! - valueSerializer.writeNumber(value_scheduleMarkerXAxisOffset_value) - } - const value_scheduleMarkerYAxisOffset = value.scheduleMarkerYAxisOffset - let value_scheduleMarkerYAxisOffset_type: int32 = RuntimeType.UNDEFINED - value_scheduleMarkerYAxisOffset_type = runtimeType(value_scheduleMarkerYAxisOffset) - valueSerializer.writeInt8(value_scheduleMarkerYAxisOffset_type) - if ((RuntimeType.UNDEFINED) != (value_scheduleMarkerYAxisOffset_type)) { - const value_scheduleMarkerYAxisOffset_value = value_scheduleMarkerYAxisOffset! - valueSerializer.writeNumber(value_scheduleMarkerYAxisOffset_value) - } - const value_colSpace = value.colSpace - let value_colSpace_type: int32 = RuntimeType.UNDEFINED - value_colSpace_type = runtimeType(value_colSpace) - valueSerializer.writeInt8(value_colSpace_type) - if ((RuntimeType.UNDEFINED) != (value_colSpace_type)) { - const value_colSpace_value = value_colSpace! - valueSerializer.writeNumber(value_colSpace_value) - } - const value_dailyFiveRowSpace = value.dailyFiveRowSpace - let value_dailyFiveRowSpace_type: int32 = RuntimeType.UNDEFINED - value_dailyFiveRowSpace_type = runtimeType(value_dailyFiveRowSpace) - valueSerializer.writeInt8(value_dailyFiveRowSpace_type) - if ((RuntimeType.UNDEFINED) != (value_dailyFiveRowSpace_type)) { - const value_dailyFiveRowSpace_value = value_dailyFiveRowSpace! - valueSerializer.writeNumber(value_dailyFiveRowSpace_value) - } - const value_dailySixRowSpace = value.dailySixRowSpace - let value_dailySixRowSpace_type: int32 = RuntimeType.UNDEFINED - value_dailySixRowSpace_type = runtimeType(value_dailySixRowSpace) - valueSerializer.writeInt8(value_dailySixRowSpace_type) - if ((RuntimeType.UNDEFINED) != (value_dailySixRowSpace_type)) { - const value_dailySixRowSpace_value = value_dailySixRowSpace! - valueSerializer.writeNumber(value_dailySixRowSpace_value) - } - const value_lunarHeight = value.lunarHeight - let value_lunarHeight_type: int32 = RuntimeType.UNDEFINED - value_lunarHeight_type = runtimeType(value_lunarHeight) - valueSerializer.writeInt8(value_lunarHeight_type) - if ((RuntimeType.UNDEFINED) != (value_lunarHeight_type)) { - const value_lunarHeight_value = value_lunarHeight! - valueSerializer.writeNumber(value_lunarHeight_value) - } - const value_underscoreWidth = value.underscoreWidth - let value_underscoreWidth_type: int32 = RuntimeType.UNDEFINED - value_underscoreWidth_type = runtimeType(value_underscoreWidth) - valueSerializer.writeInt8(value_underscoreWidth_type) - if ((RuntimeType.UNDEFINED) != (value_underscoreWidth_type)) { - const value_underscoreWidth_value = value_underscoreWidth! - valueSerializer.writeNumber(value_underscoreWidth_value) - } - const value_underscoreLength = value.underscoreLength - let value_underscoreLength_type: int32 = RuntimeType.UNDEFINED - value_underscoreLength_type = runtimeType(value_underscoreLength) - valueSerializer.writeInt8(value_underscoreLength_type) - if ((RuntimeType.UNDEFINED) != (value_underscoreLength_type)) { - const value_underscoreLength_value = value_underscoreLength! - valueSerializer.writeNumber(value_underscoreLength_value) - } - const value_scheduleMarkerRadius = value.scheduleMarkerRadius - let value_scheduleMarkerRadius_type: int32 = RuntimeType.UNDEFINED - value_scheduleMarkerRadius_type = runtimeType(value_scheduleMarkerRadius) - valueSerializer.writeInt8(value_scheduleMarkerRadius_type) - if ((RuntimeType.UNDEFINED) != (value_scheduleMarkerRadius_type)) { - const value_scheduleMarkerRadius_value = value_scheduleMarkerRadius! - valueSerializer.writeNumber(value_scheduleMarkerRadius_value) - } - const value_boundaryRowOffset = value.boundaryRowOffset - let value_boundaryRowOffset_type: int32 = RuntimeType.UNDEFINED - value_boundaryRowOffset_type = runtimeType(value_boundaryRowOffset) - valueSerializer.writeInt8(value_boundaryRowOffset_type) - if ((RuntimeType.UNDEFINED) != (value_boundaryRowOffset_type)) { - const value_boundaryRowOffset_value = value_boundaryRowOffset! - valueSerializer.writeNumber(value_boundaryRowOffset_value) - } - const value_boundaryColOffset = value.boundaryColOffset - let value_boundaryColOffset_type: int32 = RuntimeType.UNDEFINED - value_boundaryColOffset_type = runtimeType(value_boundaryColOffset) - valueSerializer.writeInt8(value_boundaryColOffset_type) - if ((RuntimeType.UNDEFINED) != (value_boundaryColOffset_type)) { - const value_boundaryColOffset_value = value_boundaryColOffset! - valueSerializer.writeNumber(value_boundaryColOffset_value) - } - } - writeCustomColors(value: CustomColors): void { - let valueSerializer: Serializer = this - const value_brand = value.brand - let value_brand_type: int32 = RuntimeType.UNDEFINED - value_brand_type = runtimeType(value_brand) - valueSerializer.writeInt8(value_brand_type) - if ((RuntimeType.UNDEFINED) != (value_brand_type)) { - const value_brand_value = value_brand! - let value_brand_value_type: int32 = RuntimeType.UNDEFINED - value_brand_value_type = runtimeType(value_brand_value) - if (((RuntimeType.NUMBER) == (value_brand_value_type)) && ((unsafeCast(value_brand_value)) >= (0)) && ((unsafeCast(value_brand_value)) <= (11))) { + const value_iconSecondary = value.iconSecondary + let value_iconSecondary_type: int32 = RuntimeType.UNDEFINED + value_iconSecondary_type = runtimeType(value_iconSecondary) + valueSerializer.writeInt8(value_iconSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_iconSecondary_type)) { + const value_iconSecondary_value = value_iconSecondary! + let value_iconSecondary_value_type: int32 = RuntimeType.UNDEFINED + value_iconSecondary_value_type = runtimeType(value_iconSecondary_value) + if (((RuntimeType.NUMBER) == (value_iconSecondary_value_type)) && ((unsafeCast(value_iconSecondary_value)) >= (0)) && ((unsafeCast(value_iconSecondary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_brand_value_0 = unsafeCast(value_brand_value) - valueSerializer.writeInt32(value_brand_value_0.valueOf()) + const value_iconSecondary_value_0 = unsafeCast(value_iconSecondary_value) + valueSerializer.writeInt32(value_iconSecondary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_brand_value_type) { + else if (RuntimeType.NUMBER == value_iconSecondary_value_type) { valueSerializer.writeInt8(1) - const value_brand_value_1 = unsafeCast(value_brand_value) - valueSerializer.writeNumber(value_brand_value_1) + const value_iconSecondary_value_1 = unsafeCast(value_iconSecondary_value) + valueSerializer.writeNumber(value_iconSecondary_value_1) } - else if (RuntimeType.STRING == value_brand_value_type) { + else if (RuntimeType.STRING == value_iconSecondary_value_type) { valueSerializer.writeInt8(2) - const value_brand_value_2 = unsafeCast(value_brand_value) - valueSerializer.writeString(value_brand_value_2) + const value_iconSecondary_value_2 = unsafeCast(value_iconSecondary_value) + valueSerializer.writeString(value_iconSecondary_value_2) } - else if (RuntimeType.OBJECT == value_brand_value_type) { + else if (RuntimeType.OBJECT == value_iconSecondary_value_type) { valueSerializer.writeInt8(3) - const value_brand_value_3 = unsafeCast(value_brand_value) - valueSerializer.writeResource(value_brand_value_3) + const value_iconSecondary_value_3 = unsafeCast(value_iconSecondary_value) + valueSerializer.writeResource(value_iconSecondary_value_3) } } - const value_warning = value.warning - let value_warning_type: int32 = RuntimeType.UNDEFINED - value_warning_type = runtimeType(value_warning) - valueSerializer.writeInt8(value_warning_type) - if ((RuntimeType.UNDEFINED) != (value_warning_type)) { - const value_warning_value = value_warning! - let value_warning_value_type: int32 = RuntimeType.UNDEFINED - value_warning_value_type = runtimeType(value_warning_value) - if (((RuntimeType.NUMBER) == (value_warning_value_type)) && ((unsafeCast(value_warning_value)) >= (0)) && ((unsafeCast(value_warning_value)) <= (11))) { + const value_iconTertiary = value.iconTertiary + let value_iconTertiary_type: int32 = RuntimeType.UNDEFINED + value_iconTertiary_type = runtimeType(value_iconTertiary) + valueSerializer.writeInt8(value_iconTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_iconTertiary_type)) { + const value_iconTertiary_value = value_iconTertiary! + let value_iconTertiary_value_type: int32 = RuntimeType.UNDEFINED + value_iconTertiary_value_type = runtimeType(value_iconTertiary_value) + if (((RuntimeType.NUMBER) == (value_iconTertiary_value_type)) && ((unsafeCast(value_iconTertiary_value)) >= (0)) && ((unsafeCast(value_iconTertiary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_warning_value_0 = unsafeCast(value_warning_value) - valueSerializer.writeInt32(value_warning_value_0.valueOf()) + const value_iconTertiary_value_0 = unsafeCast(value_iconTertiary_value) + valueSerializer.writeInt32(value_iconTertiary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_warning_value_type) { + else if (RuntimeType.NUMBER == value_iconTertiary_value_type) { valueSerializer.writeInt8(1) - const value_warning_value_1 = unsafeCast(value_warning_value) - valueSerializer.writeNumber(value_warning_value_1) + const value_iconTertiary_value_1 = unsafeCast(value_iconTertiary_value) + valueSerializer.writeNumber(value_iconTertiary_value_1) } - else if (RuntimeType.STRING == value_warning_value_type) { + else if (RuntimeType.STRING == value_iconTertiary_value_type) { valueSerializer.writeInt8(2) - const value_warning_value_2 = unsafeCast(value_warning_value) - valueSerializer.writeString(value_warning_value_2) + const value_iconTertiary_value_2 = unsafeCast(value_iconTertiary_value) + valueSerializer.writeString(value_iconTertiary_value_2) } - else if (RuntimeType.OBJECT == value_warning_value_type) { + else if (RuntimeType.OBJECT == value_iconTertiary_value_type) { valueSerializer.writeInt8(3) - const value_warning_value_3 = unsafeCast(value_warning_value) - valueSerializer.writeResource(value_warning_value_3) + const value_iconTertiary_value_3 = unsafeCast(value_iconTertiary_value) + valueSerializer.writeResource(value_iconTertiary_value_3) } } - const value_alert = value.alert - let value_alert_type: int32 = RuntimeType.UNDEFINED - value_alert_type = runtimeType(value_alert) - valueSerializer.writeInt8(value_alert_type) - if ((RuntimeType.UNDEFINED) != (value_alert_type)) { - const value_alert_value = value_alert! - let value_alert_value_type: int32 = RuntimeType.UNDEFINED - value_alert_value_type = runtimeType(value_alert_value) - if (((RuntimeType.NUMBER) == (value_alert_value_type)) && ((unsafeCast(value_alert_value)) >= (0)) && ((unsafeCast(value_alert_value)) <= (11))) { + const value_iconFourth = value.iconFourth + let value_iconFourth_type: int32 = RuntimeType.UNDEFINED + value_iconFourth_type = runtimeType(value_iconFourth) + valueSerializer.writeInt8(value_iconFourth_type) + if ((RuntimeType.UNDEFINED) != (value_iconFourth_type)) { + const value_iconFourth_value = value_iconFourth! + let value_iconFourth_value_type: int32 = RuntimeType.UNDEFINED + value_iconFourth_value_type = runtimeType(value_iconFourth_value) + if (((RuntimeType.NUMBER) == (value_iconFourth_value_type)) && ((unsafeCast(value_iconFourth_value)) >= (0)) && ((unsafeCast(value_iconFourth_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_alert_value_0 = unsafeCast(value_alert_value) - valueSerializer.writeInt32(value_alert_value_0.valueOf()) + const value_iconFourth_value_0 = unsafeCast(value_iconFourth_value) + valueSerializer.writeInt32(value_iconFourth_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_alert_value_type) { + else if (RuntimeType.NUMBER == value_iconFourth_value_type) { valueSerializer.writeInt8(1) - const value_alert_value_1 = unsafeCast(value_alert_value) - valueSerializer.writeNumber(value_alert_value_1) + const value_iconFourth_value_1 = unsafeCast(value_iconFourth_value) + valueSerializer.writeNumber(value_iconFourth_value_1) } - else if (RuntimeType.STRING == value_alert_value_type) { + else if (RuntimeType.STRING == value_iconFourth_value_type) { valueSerializer.writeInt8(2) - const value_alert_value_2 = unsafeCast(value_alert_value) - valueSerializer.writeString(value_alert_value_2) + const value_iconFourth_value_2 = unsafeCast(value_iconFourth_value) + valueSerializer.writeString(value_iconFourth_value_2) } - else if (RuntimeType.OBJECT == value_alert_value_type) { + else if (RuntimeType.OBJECT == value_iconFourth_value_type) { valueSerializer.writeInt8(3) - const value_alert_value_3 = unsafeCast(value_alert_value) - valueSerializer.writeResource(value_alert_value_3) + const value_iconFourth_value_3 = unsafeCast(value_iconFourth_value) + valueSerializer.writeResource(value_iconFourth_value_3) } } - const value_confirm = value.confirm - let value_confirm_type: int32 = RuntimeType.UNDEFINED - value_confirm_type = runtimeType(value_confirm) - valueSerializer.writeInt8(value_confirm_type) - if ((RuntimeType.UNDEFINED) != (value_confirm_type)) { - const value_confirm_value = value_confirm! - let value_confirm_value_type: int32 = RuntimeType.UNDEFINED - value_confirm_value_type = runtimeType(value_confirm_value) - if (((RuntimeType.NUMBER) == (value_confirm_value_type)) && ((unsafeCast(value_confirm_value)) >= (0)) && ((unsafeCast(value_confirm_value)) <= (11))) { + const value_iconEmphasize = value.iconEmphasize + let value_iconEmphasize_type: int32 = RuntimeType.UNDEFINED + value_iconEmphasize_type = runtimeType(value_iconEmphasize) + valueSerializer.writeInt8(value_iconEmphasize_type) + if ((RuntimeType.UNDEFINED) != (value_iconEmphasize_type)) { + const value_iconEmphasize_value = value_iconEmphasize! + let value_iconEmphasize_value_type: int32 = RuntimeType.UNDEFINED + value_iconEmphasize_value_type = runtimeType(value_iconEmphasize_value) + if (((RuntimeType.NUMBER) == (value_iconEmphasize_value_type)) && ((unsafeCast(value_iconEmphasize_value)) >= (0)) && ((unsafeCast(value_iconEmphasize_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_confirm_value_0 = unsafeCast(value_confirm_value) - valueSerializer.writeInt32(value_confirm_value_0.valueOf()) + const value_iconEmphasize_value_0 = unsafeCast(value_iconEmphasize_value) + valueSerializer.writeInt32(value_iconEmphasize_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_confirm_value_type) { + else if (RuntimeType.NUMBER == value_iconEmphasize_value_type) { valueSerializer.writeInt8(1) - const value_confirm_value_1 = unsafeCast(value_confirm_value) - valueSerializer.writeNumber(value_confirm_value_1) + const value_iconEmphasize_value_1 = unsafeCast(value_iconEmphasize_value) + valueSerializer.writeNumber(value_iconEmphasize_value_1) } - else if (RuntimeType.STRING == value_confirm_value_type) { + else if (RuntimeType.STRING == value_iconEmphasize_value_type) { valueSerializer.writeInt8(2) - const value_confirm_value_2 = unsafeCast(value_confirm_value) - valueSerializer.writeString(value_confirm_value_2) + const value_iconEmphasize_value_2 = unsafeCast(value_iconEmphasize_value) + valueSerializer.writeString(value_iconEmphasize_value_2) } - else if (RuntimeType.OBJECT == value_confirm_value_type) { + else if (RuntimeType.OBJECT == value_iconEmphasize_value_type) { valueSerializer.writeInt8(3) - const value_confirm_value_3 = unsafeCast(value_confirm_value) - valueSerializer.writeResource(value_confirm_value_3) + const value_iconEmphasize_value_3 = unsafeCast(value_iconEmphasize_value) + valueSerializer.writeResource(value_iconEmphasize_value_3) } } - const value_fontPrimary = value.fontPrimary - let value_fontPrimary_type: int32 = RuntimeType.UNDEFINED - value_fontPrimary_type = runtimeType(value_fontPrimary) - valueSerializer.writeInt8(value_fontPrimary_type) - if ((RuntimeType.UNDEFINED) != (value_fontPrimary_type)) { - const value_fontPrimary_value = value_fontPrimary! - let value_fontPrimary_value_type: int32 = RuntimeType.UNDEFINED - value_fontPrimary_value_type = runtimeType(value_fontPrimary_value) - if (((RuntimeType.NUMBER) == (value_fontPrimary_value_type)) && ((unsafeCast(value_fontPrimary_value)) >= (0)) && ((unsafeCast(value_fontPrimary_value)) <= (11))) { + const value_iconSubEmphasize = value.iconSubEmphasize + let value_iconSubEmphasize_type: int32 = RuntimeType.UNDEFINED + value_iconSubEmphasize_type = runtimeType(value_iconSubEmphasize) + valueSerializer.writeInt8(value_iconSubEmphasize_type) + if ((RuntimeType.UNDEFINED) != (value_iconSubEmphasize_type)) { + const value_iconSubEmphasize_value = value_iconSubEmphasize! + let value_iconSubEmphasize_value_type: int32 = RuntimeType.UNDEFINED + value_iconSubEmphasize_value_type = runtimeType(value_iconSubEmphasize_value) + if (((RuntimeType.NUMBER) == (value_iconSubEmphasize_value_type)) && ((unsafeCast(value_iconSubEmphasize_value)) >= (0)) && ((unsafeCast(value_iconSubEmphasize_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontPrimary_value_0 = unsafeCast(value_fontPrimary_value) - valueSerializer.writeInt32(value_fontPrimary_value_0.valueOf()) + const value_iconSubEmphasize_value_0 = unsafeCast(value_iconSubEmphasize_value) + valueSerializer.writeInt32(value_iconSubEmphasize_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_fontPrimary_value_type) { + else if (RuntimeType.NUMBER == value_iconSubEmphasize_value_type) { valueSerializer.writeInt8(1) - const value_fontPrimary_value_1 = unsafeCast(value_fontPrimary_value) - valueSerializer.writeNumber(value_fontPrimary_value_1) + const value_iconSubEmphasize_value_1 = unsafeCast(value_iconSubEmphasize_value) + valueSerializer.writeNumber(value_iconSubEmphasize_value_1) } - else if (RuntimeType.STRING == value_fontPrimary_value_type) { + else if (RuntimeType.STRING == value_iconSubEmphasize_value_type) { valueSerializer.writeInt8(2) - const value_fontPrimary_value_2 = unsafeCast(value_fontPrimary_value) - valueSerializer.writeString(value_fontPrimary_value_2) + const value_iconSubEmphasize_value_2 = unsafeCast(value_iconSubEmphasize_value) + valueSerializer.writeString(value_iconSubEmphasize_value_2) } - else if (RuntimeType.OBJECT == value_fontPrimary_value_type) { + else if (RuntimeType.OBJECT == value_iconSubEmphasize_value_type) { valueSerializer.writeInt8(3) - const value_fontPrimary_value_3 = unsafeCast(value_fontPrimary_value) - valueSerializer.writeResource(value_fontPrimary_value_3) + const value_iconSubEmphasize_value_3 = unsafeCast(value_iconSubEmphasize_value) + valueSerializer.writeResource(value_iconSubEmphasize_value_3) } } - const value_fontSecondary = value.fontSecondary - let value_fontSecondary_type: int32 = RuntimeType.UNDEFINED - value_fontSecondary_type = runtimeType(value_fontSecondary) - valueSerializer.writeInt8(value_fontSecondary_type) - if ((RuntimeType.UNDEFINED) != (value_fontSecondary_type)) { - const value_fontSecondary_value = value_fontSecondary! - let value_fontSecondary_value_type: int32 = RuntimeType.UNDEFINED - value_fontSecondary_value_type = runtimeType(value_fontSecondary_value) - if (((RuntimeType.NUMBER) == (value_fontSecondary_value_type)) && ((unsafeCast(value_fontSecondary_value)) >= (0)) && ((unsafeCast(value_fontSecondary_value)) <= (11))) { + const value_iconOnPrimary = value.iconOnPrimary + let value_iconOnPrimary_type: int32 = RuntimeType.UNDEFINED + value_iconOnPrimary_type = runtimeType(value_iconOnPrimary) + valueSerializer.writeInt8(value_iconOnPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_iconOnPrimary_type)) { + const value_iconOnPrimary_value = value_iconOnPrimary! + let value_iconOnPrimary_value_type: int32 = RuntimeType.UNDEFINED + value_iconOnPrimary_value_type = runtimeType(value_iconOnPrimary_value) + if (((RuntimeType.NUMBER) == (value_iconOnPrimary_value_type)) && ((unsafeCast(value_iconOnPrimary_value)) >= (0)) && ((unsafeCast(value_iconOnPrimary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontSecondary_value_0 = unsafeCast(value_fontSecondary_value) - valueSerializer.writeInt32(value_fontSecondary_value_0.valueOf()) + const value_iconOnPrimary_value_0 = unsafeCast(value_iconOnPrimary_value) + valueSerializer.writeInt32(value_iconOnPrimary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_fontSecondary_value_type) { + else if (RuntimeType.NUMBER == value_iconOnPrimary_value_type) { valueSerializer.writeInt8(1) - const value_fontSecondary_value_1 = unsafeCast(value_fontSecondary_value) - valueSerializer.writeNumber(value_fontSecondary_value_1) + const value_iconOnPrimary_value_1 = unsafeCast(value_iconOnPrimary_value) + valueSerializer.writeNumber(value_iconOnPrimary_value_1) } - else if (RuntimeType.STRING == value_fontSecondary_value_type) { + else if (RuntimeType.STRING == value_iconOnPrimary_value_type) { valueSerializer.writeInt8(2) - const value_fontSecondary_value_2 = unsafeCast(value_fontSecondary_value) - valueSerializer.writeString(value_fontSecondary_value_2) + const value_iconOnPrimary_value_2 = unsafeCast(value_iconOnPrimary_value) + valueSerializer.writeString(value_iconOnPrimary_value_2) } - else if (RuntimeType.OBJECT == value_fontSecondary_value_type) { + else if (RuntimeType.OBJECT == value_iconOnPrimary_value_type) { valueSerializer.writeInt8(3) - const value_fontSecondary_value_3 = unsafeCast(value_fontSecondary_value) - valueSerializer.writeResource(value_fontSecondary_value_3) + const value_iconOnPrimary_value_3 = unsafeCast(value_iconOnPrimary_value) + valueSerializer.writeResource(value_iconOnPrimary_value_3) } } - const value_fontTertiary = value.fontTertiary - let value_fontTertiary_type: int32 = RuntimeType.UNDEFINED - value_fontTertiary_type = runtimeType(value_fontTertiary) - valueSerializer.writeInt8(value_fontTertiary_type) - if ((RuntimeType.UNDEFINED) != (value_fontTertiary_type)) { - const value_fontTertiary_value = value_fontTertiary! - let value_fontTertiary_value_type: int32 = RuntimeType.UNDEFINED - value_fontTertiary_value_type = runtimeType(value_fontTertiary_value) - if (((RuntimeType.NUMBER) == (value_fontTertiary_value_type)) && ((unsafeCast(value_fontTertiary_value)) >= (0)) && ((unsafeCast(value_fontTertiary_value)) <= (11))) { + const value_iconOnSecondary = value.iconOnSecondary + let value_iconOnSecondary_type: int32 = RuntimeType.UNDEFINED + value_iconOnSecondary_type = runtimeType(value_iconOnSecondary) + valueSerializer.writeInt8(value_iconOnSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_iconOnSecondary_type)) { + const value_iconOnSecondary_value = value_iconOnSecondary! + let value_iconOnSecondary_value_type: int32 = RuntimeType.UNDEFINED + value_iconOnSecondary_value_type = runtimeType(value_iconOnSecondary_value) + if (((RuntimeType.NUMBER) == (value_iconOnSecondary_value_type)) && ((unsafeCast(value_iconOnSecondary_value)) >= (0)) && ((unsafeCast(value_iconOnSecondary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontTertiary_value_0 = unsafeCast(value_fontTertiary_value) - valueSerializer.writeInt32(value_fontTertiary_value_0.valueOf()) + const value_iconOnSecondary_value_0 = unsafeCast(value_iconOnSecondary_value) + valueSerializer.writeInt32(value_iconOnSecondary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_fontTertiary_value_type) { + else if (RuntimeType.NUMBER == value_iconOnSecondary_value_type) { valueSerializer.writeInt8(1) - const value_fontTertiary_value_1 = unsafeCast(value_fontTertiary_value) - valueSerializer.writeNumber(value_fontTertiary_value_1) + const value_iconOnSecondary_value_1 = unsafeCast(value_iconOnSecondary_value) + valueSerializer.writeNumber(value_iconOnSecondary_value_1) } - else if (RuntimeType.STRING == value_fontTertiary_value_type) { + else if (RuntimeType.STRING == value_iconOnSecondary_value_type) { valueSerializer.writeInt8(2) - const value_fontTertiary_value_2 = unsafeCast(value_fontTertiary_value) - valueSerializer.writeString(value_fontTertiary_value_2) + const value_iconOnSecondary_value_2 = unsafeCast(value_iconOnSecondary_value) + valueSerializer.writeString(value_iconOnSecondary_value_2) } - else if (RuntimeType.OBJECT == value_fontTertiary_value_type) { + else if (RuntimeType.OBJECT == value_iconOnSecondary_value_type) { valueSerializer.writeInt8(3) - const value_fontTertiary_value_3 = unsafeCast(value_fontTertiary_value) - valueSerializer.writeResource(value_fontTertiary_value_3) + const value_iconOnSecondary_value_3 = unsafeCast(value_iconOnSecondary_value) + valueSerializer.writeResource(value_iconOnSecondary_value_3) } } - const value_fontFourth = value.fontFourth - let value_fontFourth_type: int32 = RuntimeType.UNDEFINED - value_fontFourth_type = runtimeType(value_fontFourth) - valueSerializer.writeInt8(value_fontFourth_type) - if ((RuntimeType.UNDEFINED) != (value_fontFourth_type)) { - const value_fontFourth_value = value_fontFourth! - let value_fontFourth_value_type: int32 = RuntimeType.UNDEFINED - value_fontFourth_value_type = runtimeType(value_fontFourth_value) - if (((RuntimeType.NUMBER) == (value_fontFourth_value_type)) && ((unsafeCast(value_fontFourth_value)) >= (0)) && ((unsafeCast(value_fontFourth_value)) <= (11))) { + const value_iconOnTertiary = value.iconOnTertiary + let value_iconOnTertiary_type: int32 = RuntimeType.UNDEFINED + value_iconOnTertiary_type = runtimeType(value_iconOnTertiary) + valueSerializer.writeInt8(value_iconOnTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_iconOnTertiary_type)) { + const value_iconOnTertiary_value = value_iconOnTertiary! + let value_iconOnTertiary_value_type: int32 = RuntimeType.UNDEFINED + value_iconOnTertiary_value_type = runtimeType(value_iconOnTertiary_value) + if (((RuntimeType.NUMBER) == (value_iconOnTertiary_value_type)) && ((unsafeCast(value_iconOnTertiary_value)) >= (0)) && ((unsafeCast(value_iconOnTertiary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontFourth_value_0 = unsafeCast(value_fontFourth_value) - valueSerializer.writeInt32(value_fontFourth_value_0.valueOf()) + const value_iconOnTertiary_value_0 = unsafeCast(value_iconOnTertiary_value) + valueSerializer.writeInt32(value_iconOnTertiary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_fontFourth_value_type) { + else if (RuntimeType.NUMBER == value_iconOnTertiary_value_type) { valueSerializer.writeInt8(1) - const value_fontFourth_value_1 = unsafeCast(value_fontFourth_value) - valueSerializer.writeNumber(value_fontFourth_value_1) + const value_iconOnTertiary_value_1 = unsafeCast(value_iconOnTertiary_value) + valueSerializer.writeNumber(value_iconOnTertiary_value_1) } - else if (RuntimeType.STRING == value_fontFourth_value_type) { + else if (RuntimeType.STRING == value_iconOnTertiary_value_type) { valueSerializer.writeInt8(2) - const value_fontFourth_value_2 = unsafeCast(value_fontFourth_value) - valueSerializer.writeString(value_fontFourth_value_2) + const value_iconOnTertiary_value_2 = unsafeCast(value_iconOnTertiary_value) + valueSerializer.writeString(value_iconOnTertiary_value_2) } - else if (RuntimeType.OBJECT == value_fontFourth_value_type) { + else if (RuntimeType.OBJECT == value_iconOnTertiary_value_type) { valueSerializer.writeInt8(3) - const value_fontFourth_value_3 = unsafeCast(value_fontFourth_value) - valueSerializer.writeResource(value_fontFourth_value_3) + const value_iconOnTertiary_value_3 = unsafeCast(value_iconOnTertiary_value) + valueSerializer.writeResource(value_iconOnTertiary_value_3) } } - const value_fontEmphasize = value.fontEmphasize - let value_fontEmphasize_type: int32 = RuntimeType.UNDEFINED - value_fontEmphasize_type = runtimeType(value_fontEmphasize) - valueSerializer.writeInt8(value_fontEmphasize_type) - if ((RuntimeType.UNDEFINED) != (value_fontEmphasize_type)) { - const value_fontEmphasize_value = value_fontEmphasize! - let value_fontEmphasize_value_type: int32 = RuntimeType.UNDEFINED - value_fontEmphasize_value_type = runtimeType(value_fontEmphasize_value) - if (((RuntimeType.NUMBER) == (value_fontEmphasize_value_type)) && ((unsafeCast(value_fontEmphasize_value)) >= (0)) && ((unsafeCast(value_fontEmphasize_value)) <= (11))) { + const value_iconOnFourth = value.iconOnFourth + let value_iconOnFourth_type: int32 = RuntimeType.UNDEFINED + value_iconOnFourth_type = runtimeType(value_iconOnFourth) + valueSerializer.writeInt8(value_iconOnFourth_type) + if ((RuntimeType.UNDEFINED) != (value_iconOnFourth_type)) { + const value_iconOnFourth_value = value_iconOnFourth! + let value_iconOnFourth_value_type: int32 = RuntimeType.UNDEFINED + value_iconOnFourth_value_type = runtimeType(value_iconOnFourth_value) + if (((RuntimeType.NUMBER) == (value_iconOnFourth_value_type)) && ((unsafeCast(value_iconOnFourth_value)) >= (0)) && ((unsafeCast(value_iconOnFourth_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontEmphasize_value_0 = unsafeCast(value_fontEmphasize_value) - valueSerializer.writeInt32(value_fontEmphasize_value_0.valueOf()) + const value_iconOnFourth_value_0 = unsafeCast(value_iconOnFourth_value) + valueSerializer.writeInt32(value_iconOnFourth_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_fontEmphasize_value_type) { + else if (RuntimeType.NUMBER == value_iconOnFourth_value_type) { valueSerializer.writeInt8(1) - const value_fontEmphasize_value_1 = unsafeCast(value_fontEmphasize_value) - valueSerializer.writeNumber(value_fontEmphasize_value_1) + const value_iconOnFourth_value_1 = unsafeCast(value_iconOnFourth_value) + valueSerializer.writeNumber(value_iconOnFourth_value_1) } - else if (RuntimeType.STRING == value_fontEmphasize_value_type) { + else if (RuntimeType.STRING == value_iconOnFourth_value_type) { valueSerializer.writeInt8(2) - const value_fontEmphasize_value_2 = unsafeCast(value_fontEmphasize_value) - valueSerializer.writeString(value_fontEmphasize_value_2) + const value_iconOnFourth_value_2 = unsafeCast(value_iconOnFourth_value) + valueSerializer.writeString(value_iconOnFourth_value_2) } - else if (RuntimeType.OBJECT == value_fontEmphasize_value_type) { + else if (RuntimeType.OBJECT == value_iconOnFourth_value_type) { valueSerializer.writeInt8(3) - const value_fontEmphasize_value_3 = unsafeCast(value_fontEmphasize_value) - valueSerializer.writeResource(value_fontEmphasize_value_3) + const value_iconOnFourth_value_3 = unsafeCast(value_iconOnFourth_value) + valueSerializer.writeResource(value_iconOnFourth_value_3) } } - const value_fontOnPrimary = value.fontOnPrimary - let value_fontOnPrimary_type: int32 = RuntimeType.UNDEFINED - value_fontOnPrimary_type = runtimeType(value_fontOnPrimary) - valueSerializer.writeInt8(value_fontOnPrimary_type) - if ((RuntimeType.UNDEFINED) != (value_fontOnPrimary_type)) { - const value_fontOnPrimary_value = value_fontOnPrimary! - let value_fontOnPrimary_value_type: int32 = RuntimeType.UNDEFINED - value_fontOnPrimary_value_type = runtimeType(value_fontOnPrimary_value) - if (((RuntimeType.NUMBER) == (value_fontOnPrimary_value_type)) && ((unsafeCast(value_fontOnPrimary_value)) >= (0)) && ((unsafeCast(value_fontOnPrimary_value)) <= (11))) { + const value_backgroundPrimary = value.backgroundPrimary + let value_backgroundPrimary_type: int32 = RuntimeType.UNDEFINED + value_backgroundPrimary_type = runtimeType(value_backgroundPrimary) + valueSerializer.writeInt8(value_backgroundPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundPrimary_type)) { + const value_backgroundPrimary_value = value_backgroundPrimary! + let value_backgroundPrimary_value_type: int32 = RuntimeType.UNDEFINED + value_backgroundPrimary_value_type = runtimeType(value_backgroundPrimary_value) + if (((RuntimeType.NUMBER) == (value_backgroundPrimary_value_type)) && ((unsafeCast(value_backgroundPrimary_value)) >= (0)) && ((unsafeCast(value_backgroundPrimary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontOnPrimary_value_0 = unsafeCast(value_fontOnPrimary_value) - valueSerializer.writeInt32(value_fontOnPrimary_value_0.valueOf()) + const value_backgroundPrimary_value_0 = unsafeCast(value_backgroundPrimary_value) + valueSerializer.writeInt32(value_backgroundPrimary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_fontOnPrimary_value_type) { + else if (RuntimeType.NUMBER == value_backgroundPrimary_value_type) { valueSerializer.writeInt8(1) - const value_fontOnPrimary_value_1 = unsafeCast(value_fontOnPrimary_value) - valueSerializer.writeNumber(value_fontOnPrimary_value_1) + const value_backgroundPrimary_value_1 = unsafeCast(value_backgroundPrimary_value) + valueSerializer.writeNumber(value_backgroundPrimary_value_1) } - else if (RuntimeType.STRING == value_fontOnPrimary_value_type) { + else if (RuntimeType.STRING == value_backgroundPrimary_value_type) { valueSerializer.writeInt8(2) - const value_fontOnPrimary_value_2 = unsafeCast(value_fontOnPrimary_value) - valueSerializer.writeString(value_fontOnPrimary_value_2) + const value_backgroundPrimary_value_2 = unsafeCast(value_backgroundPrimary_value) + valueSerializer.writeString(value_backgroundPrimary_value_2) } - else if (RuntimeType.OBJECT == value_fontOnPrimary_value_type) { + else if (RuntimeType.OBJECT == value_backgroundPrimary_value_type) { valueSerializer.writeInt8(3) - const value_fontOnPrimary_value_3 = unsafeCast(value_fontOnPrimary_value) - valueSerializer.writeResource(value_fontOnPrimary_value_3) + const value_backgroundPrimary_value_3 = unsafeCast(value_backgroundPrimary_value) + valueSerializer.writeResource(value_backgroundPrimary_value_3) } } - const value_fontOnSecondary = value.fontOnSecondary - let value_fontOnSecondary_type: int32 = RuntimeType.UNDEFINED - value_fontOnSecondary_type = runtimeType(value_fontOnSecondary) - valueSerializer.writeInt8(value_fontOnSecondary_type) - if ((RuntimeType.UNDEFINED) != (value_fontOnSecondary_type)) { - const value_fontOnSecondary_value = value_fontOnSecondary! - let value_fontOnSecondary_value_type: int32 = RuntimeType.UNDEFINED - value_fontOnSecondary_value_type = runtimeType(value_fontOnSecondary_value) - if (((RuntimeType.NUMBER) == (value_fontOnSecondary_value_type)) && ((unsafeCast(value_fontOnSecondary_value)) >= (0)) && ((unsafeCast(value_fontOnSecondary_value)) <= (11))) { + const value_backgroundSecondary = value.backgroundSecondary + let value_backgroundSecondary_type: int32 = RuntimeType.UNDEFINED + value_backgroundSecondary_type = runtimeType(value_backgroundSecondary) + valueSerializer.writeInt8(value_backgroundSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundSecondary_type)) { + const value_backgroundSecondary_value = value_backgroundSecondary! + let value_backgroundSecondary_value_type: int32 = RuntimeType.UNDEFINED + value_backgroundSecondary_value_type = runtimeType(value_backgroundSecondary_value) + if (((RuntimeType.NUMBER) == (value_backgroundSecondary_value_type)) && ((unsafeCast(value_backgroundSecondary_value)) >= (0)) && ((unsafeCast(value_backgroundSecondary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontOnSecondary_value_0 = unsafeCast(value_fontOnSecondary_value) - valueSerializer.writeInt32(value_fontOnSecondary_value_0.valueOf()) + const value_backgroundSecondary_value_0 = unsafeCast(value_backgroundSecondary_value) + valueSerializer.writeInt32(value_backgroundSecondary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_fontOnSecondary_value_type) { + else if (RuntimeType.NUMBER == value_backgroundSecondary_value_type) { valueSerializer.writeInt8(1) - const value_fontOnSecondary_value_1 = unsafeCast(value_fontOnSecondary_value) - valueSerializer.writeNumber(value_fontOnSecondary_value_1) + const value_backgroundSecondary_value_1 = unsafeCast(value_backgroundSecondary_value) + valueSerializer.writeNumber(value_backgroundSecondary_value_1) } - else if (RuntimeType.STRING == value_fontOnSecondary_value_type) { + else if (RuntimeType.STRING == value_backgroundSecondary_value_type) { valueSerializer.writeInt8(2) - const value_fontOnSecondary_value_2 = unsafeCast(value_fontOnSecondary_value) - valueSerializer.writeString(value_fontOnSecondary_value_2) + const value_backgroundSecondary_value_2 = unsafeCast(value_backgroundSecondary_value) + valueSerializer.writeString(value_backgroundSecondary_value_2) } - else if (RuntimeType.OBJECT == value_fontOnSecondary_value_type) { + else if (RuntimeType.OBJECT == value_backgroundSecondary_value_type) { valueSerializer.writeInt8(3) - const value_fontOnSecondary_value_3 = unsafeCast(value_fontOnSecondary_value) - valueSerializer.writeResource(value_fontOnSecondary_value_3) + const value_backgroundSecondary_value_3 = unsafeCast(value_backgroundSecondary_value) + valueSerializer.writeResource(value_backgroundSecondary_value_3) } } - const value_fontOnTertiary = value.fontOnTertiary - let value_fontOnTertiary_type: int32 = RuntimeType.UNDEFINED - value_fontOnTertiary_type = runtimeType(value_fontOnTertiary) - valueSerializer.writeInt8(value_fontOnTertiary_type) - if ((RuntimeType.UNDEFINED) != (value_fontOnTertiary_type)) { - const value_fontOnTertiary_value = value_fontOnTertiary! - let value_fontOnTertiary_value_type: int32 = RuntimeType.UNDEFINED - value_fontOnTertiary_value_type = runtimeType(value_fontOnTertiary_value) - if (((RuntimeType.NUMBER) == (value_fontOnTertiary_value_type)) && ((unsafeCast(value_fontOnTertiary_value)) >= (0)) && ((unsafeCast(value_fontOnTertiary_value)) <= (11))) { + const value_backgroundTertiary = value.backgroundTertiary + let value_backgroundTertiary_type: int32 = RuntimeType.UNDEFINED + value_backgroundTertiary_type = runtimeType(value_backgroundTertiary) + valueSerializer.writeInt8(value_backgroundTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundTertiary_type)) { + const value_backgroundTertiary_value = value_backgroundTertiary! + let value_backgroundTertiary_value_type: int32 = RuntimeType.UNDEFINED + value_backgroundTertiary_value_type = runtimeType(value_backgroundTertiary_value) + if (((RuntimeType.NUMBER) == (value_backgroundTertiary_value_type)) && ((unsafeCast(value_backgroundTertiary_value)) >= (0)) && ((unsafeCast(value_backgroundTertiary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontOnTertiary_value_0 = unsafeCast(value_fontOnTertiary_value) - valueSerializer.writeInt32(value_fontOnTertiary_value_0.valueOf()) + const value_backgroundTertiary_value_0 = unsafeCast(value_backgroundTertiary_value) + valueSerializer.writeInt32(value_backgroundTertiary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_fontOnTertiary_value_type) { + else if (RuntimeType.NUMBER == value_backgroundTertiary_value_type) { valueSerializer.writeInt8(1) - const value_fontOnTertiary_value_1 = unsafeCast(value_fontOnTertiary_value) - valueSerializer.writeNumber(value_fontOnTertiary_value_1) + const value_backgroundTertiary_value_1 = unsafeCast(value_backgroundTertiary_value) + valueSerializer.writeNumber(value_backgroundTertiary_value_1) } - else if (RuntimeType.STRING == value_fontOnTertiary_value_type) { + else if (RuntimeType.STRING == value_backgroundTertiary_value_type) { valueSerializer.writeInt8(2) - const value_fontOnTertiary_value_2 = unsafeCast(value_fontOnTertiary_value) - valueSerializer.writeString(value_fontOnTertiary_value_2) + const value_backgroundTertiary_value_2 = unsafeCast(value_backgroundTertiary_value) + valueSerializer.writeString(value_backgroundTertiary_value_2) } - else if (RuntimeType.OBJECT == value_fontOnTertiary_value_type) { + else if (RuntimeType.OBJECT == value_backgroundTertiary_value_type) { valueSerializer.writeInt8(3) - const value_fontOnTertiary_value_3 = unsafeCast(value_fontOnTertiary_value) - valueSerializer.writeResource(value_fontOnTertiary_value_3) + const value_backgroundTertiary_value_3 = unsafeCast(value_backgroundTertiary_value) + valueSerializer.writeResource(value_backgroundTertiary_value_3) } } - const value_fontOnFourth = value.fontOnFourth - let value_fontOnFourth_type: int32 = RuntimeType.UNDEFINED - value_fontOnFourth_type = runtimeType(value_fontOnFourth) - valueSerializer.writeInt8(value_fontOnFourth_type) - if ((RuntimeType.UNDEFINED) != (value_fontOnFourth_type)) { - const value_fontOnFourth_value = value_fontOnFourth! - let value_fontOnFourth_value_type: int32 = RuntimeType.UNDEFINED - value_fontOnFourth_value_type = runtimeType(value_fontOnFourth_value) - if (((RuntimeType.NUMBER) == (value_fontOnFourth_value_type)) && ((unsafeCast(value_fontOnFourth_value)) >= (0)) && ((unsafeCast(value_fontOnFourth_value)) <= (11))) { + const value_backgroundFourth = value.backgroundFourth + let value_backgroundFourth_type: int32 = RuntimeType.UNDEFINED + value_backgroundFourth_type = runtimeType(value_backgroundFourth) + valueSerializer.writeInt8(value_backgroundFourth_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundFourth_type)) { + const value_backgroundFourth_value = value_backgroundFourth! + let value_backgroundFourth_value_type: int32 = RuntimeType.UNDEFINED + value_backgroundFourth_value_type = runtimeType(value_backgroundFourth_value) + if (((RuntimeType.NUMBER) == (value_backgroundFourth_value_type)) && ((unsafeCast(value_backgroundFourth_value)) >= (0)) && ((unsafeCast(value_backgroundFourth_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontOnFourth_value_0 = unsafeCast(value_fontOnFourth_value) - valueSerializer.writeInt32(value_fontOnFourth_value_0.valueOf()) + const value_backgroundFourth_value_0 = unsafeCast(value_backgroundFourth_value) + valueSerializer.writeInt32(value_backgroundFourth_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_fontOnFourth_value_type) { + else if (RuntimeType.NUMBER == value_backgroundFourth_value_type) { valueSerializer.writeInt8(1) - const value_fontOnFourth_value_1 = unsafeCast(value_fontOnFourth_value) - valueSerializer.writeNumber(value_fontOnFourth_value_1) + const value_backgroundFourth_value_1 = unsafeCast(value_backgroundFourth_value) + valueSerializer.writeNumber(value_backgroundFourth_value_1) } - else if (RuntimeType.STRING == value_fontOnFourth_value_type) { + else if (RuntimeType.STRING == value_backgroundFourth_value_type) { valueSerializer.writeInt8(2) - const value_fontOnFourth_value_2 = unsafeCast(value_fontOnFourth_value) - valueSerializer.writeString(value_fontOnFourth_value_2) + const value_backgroundFourth_value_2 = unsafeCast(value_backgroundFourth_value) + valueSerializer.writeString(value_backgroundFourth_value_2) } - else if (RuntimeType.OBJECT == value_fontOnFourth_value_type) { + else if (RuntimeType.OBJECT == value_backgroundFourth_value_type) { valueSerializer.writeInt8(3) - const value_fontOnFourth_value_3 = unsafeCast(value_fontOnFourth_value) - valueSerializer.writeResource(value_fontOnFourth_value_3) + const value_backgroundFourth_value_3 = unsafeCast(value_backgroundFourth_value) + valueSerializer.writeResource(value_backgroundFourth_value_3) } } - const value_iconPrimary = value.iconPrimary - let value_iconPrimary_type: int32 = RuntimeType.UNDEFINED - value_iconPrimary_type = runtimeType(value_iconPrimary) - valueSerializer.writeInt8(value_iconPrimary_type) - if ((RuntimeType.UNDEFINED) != (value_iconPrimary_type)) { - const value_iconPrimary_value = value_iconPrimary! - let value_iconPrimary_value_type: int32 = RuntimeType.UNDEFINED - value_iconPrimary_value_type = runtimeType(value_iconPrimary_value) - if (((RuntimeType.NUMBER) == (value_iconPrimary_value_type)) && ((unsafeCast(value_iconPrimary_value)) >= (0)) && ((unsafeCast(value_iconPrimary_value)) <= (11))) { + const value_backgroundEmphasize = value.backgroundEmphasize + let value_backgroundEmphasize_type: int32 = RuntimeType.UNDEFINED + value_backgroundEmphasize_type = runtimeType(value_backgroundEmphasize) + valueSerializer.writeInt8(value_backgroundEmphasize_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEmphasize_type)) { + const value_backgroundEmphasize_value = value_backgroundEmphasize! + let value_backgroundEmphasize_value_type: int32 = RuntimeType.UNDEFINED + value_backgroundEmphasize_value_type = runtimeType(value_backgroundEmphasize_value) + if (((RuntimeType.NUMBER) == (value_backgroundEmphasize_value_type)) && ((unsafeCast(value_backgroundEmphasize_value)) >= (0)) && ((unsafeCast(value_backgroundEmphasize_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_iconPrimary_value_0 = unsafeCast(value_iconPrimary_value) - valueSerializer.writeInt32(value_iconPrimary_value_0.valueOf()) + const value_backgroundEmphasize_value_0 = unsafeCast(value_backgroundEmphasize_value) + valueSerializer.writeInt32(value_backgroundEmphasize_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_iconPrimary_value_type) { + else if (RuntimeType.NUMBER == value_backgroundEmphasize_value_type) { valueSerializer.writeInt8(1) - const value_iconPrimary_value_1 = unsafeCast(value_iconPrimary_value) - valueSerializer.writeNumber(value_iconPrimary_value_1) + const value_backgroundEmphasize_value_1 = unsafeCast(value_backgroundEmphasize_value) + valueSerializer.writeNumber(value_backgroundEmphasize_value_1) } - else if (RuntimeType.STRING == value_iconPrimary_value_type) { + else if (RuntimeType.STRING == value_backgroundEmphasize_value_type) { valueSerializer.writeInt8(2) - const value_iconPrimary_value_2 = unsafeCast(value_iconPrimary_value) - valueSerializer.writeString(value_iconPrimary_value_2) + const value_backgroundEmphasize_value_2 = unsafeCast(value_backgroundEmphasize_value) + valueSerializer.writeString(value_backgroundEmphasize_value_2) } - else if (RuntimeType.OBJECT == value_iconPrimary_value_type) { + else if (RuntimeType.OBJECT == value_backgroundEmphasize_value_type) { valueSerializer.writeInt8(3) - const value_iconPrimary_value_3 = unsafeCast(value_iconPrimary_value) - valueSerializer.writeResource(value_iconPrimary_value_3) + const value_backgroundEmphasize_value_3 = unsafeCast(value_backgroundEmphasize_value) + valueSerializer.writeResource(value_backgroundEmphasize_value_3) } } - const value_iconSecondary = value.iconSecondary - let value_iconSecondary_type: int32 = RuntimeType.UNDEFINED - value_iconSecondary_type = runtimeType(value_iconSecondary) - valueSerializer.writeInt8(value_iconSecondary_type) - if ((RuntimeType.UNDEFINED) != (value_iconSecondary_type)) { - const value_iconSecondary_value = value_iconSecondary! - let value_iconSecondary_value_type: int32 = RuntimeType.UNDEFINED - value_iconSecondary_value_type = runtimeType(value_iconSecondary_value) - if (((RuntimeType.NUMBER) == (value_iconSecondary_value_type)) && ((unsafeCast(value_iconSecondary_value)) >= (0)) && ((unsafeCast(value_iconSecondary_value)) <= (11))) { + const value_compForegroundPrimary = value.compForegroundPrimary + let value_compForegroundPrimary_type: int32 = RuntimeType.UNDEFINED + value_compForegroundPrimary_type = runtimeType(value_compForegroundPrimary) + valueSerializer.writeInt8(value_compForegroundPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_compForegroundPrimary_type)) { + const value_compForegroundPrimary_value = value_compForegroundPrimary! + let value_compForegroundPrimary_value_type: int32 = RuntimeType.UNDEFINED + value_compForegroundPrimary_value_type = runtimeType(value_compForegroundPrimary_value) + if (((RuntimeType.NUMBER) == (value_compForegroundPrimary_value_type)) && ((unsafeCast(value_compForegroundPrimary_value)) >= (0)) && ((unsafeCast(value_compForegroundPrimary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_iconSecondary_value_0 = unsafeCast(value_iconSecondary_value) - valueSerializer.writeInt32(value_iconSecondary_value_0.valueOf()) + const value_compForegroundPrimary_value_0 = unsafeCast(value_compForegroundPrimary_value) + valueSerializer.writeInt32(value_compForegroundPrimary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_iconSecondary_value_type) { + else if (RuntimeType.NUMBER == value_compForegroundPrimary_value_type) { valueSerializer.writeInt8(1) - const value_iconSecondary_value_1 = unsafeCast(value_iconSecondary_value) - valueSerializer.writeNumber(value_iconSecondary_value_1) + const value_compForegroundPrimary_value_1 = unsafeCast(value_compForegroundPrimary_value) + valueSerializer.writeNumber(value_compForegroundPrimary_value_1) } - else if (RuntimeType.STRING == value_iconSecondary_value_type) { + else if (RuntimeType.STRING == value_compForegroundPrimary_value_type) { valueSerializer.writeInt8(2) - const value_iconSecondary_value_2 = unsafeCast(value_iconSecondary_value) - valueSerializer.writeString(value_iconSecondary_value_2) + const value_compForegroundPrimary_value_2 = unsafeCast(value_compForegroundPrimary_value) + valueSerializer.writeString(value_compForegroundPrimary_value_2) } - else if (RuntimeType.OBJECT == value_iconSecondary_value_type) { + else if (RuntimeType.OBJECT == value_compForegroundPrimary_value_type) { valueSerializer.writeInt8(3) - const value_iconSecondary_value_3 = unsafeCast(value_iconSecondary_value) - valueSerializer.writeResource(value_iconSecondary_value_3) + const value_compForegroundPrimary_value_3 = unsafeCast(value_compForegroundPrimary_value) + valueSerializer.writeResource(value_compForegroundPrimary_value_3) } } - const value_iconTertiary = value.iconTertiary - let value_iconTertiary_type: int32 = RuntimeType.UNDEFINED - value_iconTertiary_type = runtimeType(value_iconTertiary) - valueSerializer.writeInt8(value_iconTertiary_type) - if ((RuntimeType.UNDEFINED) != (value_iconTertiary_type)) { - const value_iconTertiary_value = value_iconTertiary! - let value_iconTertiary_value_type: int32 = RuntimeType.UNDEFINED - value_iconTertiary_value_type = runtimeType(value_iconTertiary_value) - if (((RuntimeType.NUMBER) == (value_iconTertiary_value_type)) && ((unsafeCast(value_iconTertiary_value)) >= (0)) && ((unsafeCast(value_iconTertiary_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_iconTertiary_value_0 = unsafeCast(value_iconTertiary_value) - valueSerializer.writeInt32(value_iconTertiary_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_iconTertiary_value_type) { - valueSerializer.writeInt8(1) - const value_iconTertiary_value_1 = unsafeCast(value_iconTertiary_value) - valueSerializer.writeNumber(value_iconTertiary_value_1) - } - else if (RuntimeType.STRING == value_iconTertiary_value_type) { - valueSerializer.writeInt8(2) - const value_iconTertiary_value_2 = unsafeCast(value_iconTertiary_value) - valueSerializer.writeString(value_iconTertiary_value_2) - } - else if (RuntimeType.OBJECT == value_iconTertiary_value_type) { - valueSerializer.writeInt8(3) - const value_iconTertiary_value_3 = unsafeCast(value_iconTertiary_value) - valueSerializer.writeResource(value_iconTertiary_value_3) - } - } - const value_iconFourth = value.iconFourth - let value_iconFourth_type: int32 = RuntimeType.UNDEFINED - value_iconFourth_type = runtimeType(value_iconFourth) - valueSerializer.writeInt8(value_iconFourth_type) - if ((RuntimeType.UNDEFINED) != (value_iconFourth_type)) { - const value_iconFourth_value = value_iconFourth! - let value_iconFourth_value_type: int32 = RuntimeType.UNDEFINED - value_iconFourth_value_type = runtimeType(value_iconFourth_value) - if (((RuntimeType.NUMBER) == (value_iconFourth_value_type)) && ((unsafeCast(value_iconFourth_value)) >= (0)) && ((unsafeCast(value_iconFourth_value)) <= (11))) { + const value_compBackgroundPrimary = value.compBackgroundPrimary + let value_compBackgroundPrimary_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundPrimary_type = runtimeType(value_compBackgroundPrimary) + valueSerializer.writeInt8(value_compBackgroundPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundPrimary_type)) { + const value_compBackgroundPrimary_value = value_compBackgroundPrimary! + let value_compBackgroundPrimary_value_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundPrimary_value_type = runtimeType(value_compBackgroundPrimary_value) + if (((RuntimeType.NUMBER) == (value_compBackgroundPrimary_value_type)) && ((unsafeCast(value_compBackgroundPrimary_value)) >= (0)) && ((unsafeCast(value_compBackgroundPrimary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_iconFourth_value_0 = unsafeCast(value_iconFourth_value) - valueSerializer.writeInt32(value_iconFourth_value_0.valueOf()) + const value_compBackgroundPrimary_value_0 = unsafeCast(value_compBackgroundPrimary_value) + valueSerializer.writeInt32(value_compBackgroundPrimary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_iconFourth_value_type) { + else if (RuntimeType.NUMBER == value_compBackgroundPrimary_value_type) { valueSerializer.writeInt8(1) - const value_iconFourth_value_1 = unsafeCast(value_iconFourth_value) - valueSerializer.writeNumber(value_iconFourth_value_1) + const value_compBackgroundPrimary_value_1 = unsafeCast(value_compBackgroundPrimary_value) + valueSerializer.writeNumber(value_compBackgroundPrimary_value_1) } - else if (RuntimeType.STRING == value_iconFourth_value_type) { + else if (RuntimeType.STRING == value_compBackgroundPrimary_value_type) { valueSerializer.writeInt8(2) - const value_iconFourth_value_2 = unsafeCast(value_iconFourth_value) - valueSerializer.writeString(value_iconFourth_value_2) + const value_compBackgroundPrimary_value_2 = unsafeCast(value_compBackgroundPrimary_value) + valueSerializer.writeString(value_compBackgroundPrimary_value_2) } - else if (RuntimeType.OBJECT == value_iconFourth_value_type) { + else if (RuntimeType.OBJECT == value_compBackgroundPrimary_value_type) { valueSerializer.writeInt8(3) - const value_iconFourth_value_3 = unsafeCast(value_iconFourth_value) - valueSerializer.writeResource(value_iconFourth_value_3) + const value_compBackgroundPrimary_value_3 = unsafeCast(value_compBackgroundPrimary_value) + valueSerializer.writeResource(value_compBackgroundPrimary_value_3) } } - const value_iconEmphasize = value.iconEmphasize - let value_iconEmphasize_type: int32 = RuntimeType.UNDEFINED - value_iconEmphasize_type = runtimeType(value_iconEmphasize) - valueSerializer.writeInt8(value_iconEmphasize_type) - if ((RuntimeType.UNDEFINED) != (value_iconEmphasize_type)) { - const value_iconEmphasize_value = value_iconEmphasize! - let value_iconEmphasize_value_type: int32 = RuntimeType.UNDEFINED - value_iconEmphasize_value_type = runtimeType(value_iconEmphasize_value) - if (((RuntimeType.NUMBER) == (value_iconEmphasize_value_type)) && ((unsafeCast(value_iconEmphasize_value)) >= (0)) && ((unsafeCast(value_iconEmphasize_value)) <= (11))) { + const value_compBackgroundPrimaryTran = value.compBackgroundPrimaryTran + let value_compBackgroundPrimaryTran_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundPrimaryTran_type = runtimeType(value_compBackgroundPrimaryTran) + valueSerializer.writeInt8(value_compBackgroundPrimaryTran_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundPrimaryTran_type)) { + const value_compBackgroundPrimaryTran_value = value_compBackgroundPrimaryTran! + let value_compBackgroundPrimaryTran_value_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundPrimaryTran_value_type = runtimeType(value_compBackgroundPrimaryTran_value) + if (((RuntimeType.NUMBER) == (value_compBackgroundPrimaryTran_value_type)) && ((unsafeCast(value_compBackgroundPrimaryTran_value)) >= (0)) && ((unsafeCast(value_compBackgroundPrimaryTran_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_iconEmphasize_value_0 = unsafeCast(value_iconEmphasize_value) - valueSerializer.writeInt32(value_iconEmphasize_value_0.valueOf()) + const value_compBackgroundPrimaryTran_value_0 = unsafeCast(value_compBackgroundPrimaryTran_value) + valueSerializer.writeInt32(value_compBackgroundPrimaryTran_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_iconEmphasize_value_type) { + else if (RuntimeType.NUMBER == value_compBackgroundPrimaryTran_value_type) { valueSerializer.writeInt8(1) - const value_iconEmphasize_value_1 = unsafeCast(value_iconEmphasize_value) - valueSerializer.writeNumber(value_iconEmphasize_value_1) + const value_compBackgroundPrimaryTran_value_1 = unsafeCast(value_compBackgroundPrimaryTran_value) + valueSerializer.writeNumber(value_compBackgroundPrimaryTran_value_1) } - else if (RuntimeType.STRING == value_iconEmphasize_value_type) { + else if (RuntimeType.STRING == value_compBackgroundPrimaryTran_value_type) { valueSerializer.writeInt8(2) - const value_iconEmphasize_value_2 = unsafeCast(value_iconEmphasize_value) - valueSerializer.writeString(value_iconEmphasize_value_2) + const value_compBackgroundPrimaryTran_value_2 = unsafeCast(value_compBackgroundPrimaryTran_value) + valueSerializer.writeString(value_compBackgroundPrimaryTran_value_2) } - else if (RuntimeType.OBJECT == value_iconEmphasize_value_type) { + else if (RuntimeType.OBJECT == value_compBackgroundPrimaryTran_value_type) { valueSerializer.writeInt8(3) - const value_iconEmphasize_value_3 = unsafeCast(value_iconEmphasize_value) - valueSerializer.writeResource(value_iconEmphasize_value_3) + const value_compBackgroundPrimaryTran_value_3 = unsafeCast(value_compBackgroundPrimaryTran_value) + valueSerializer.writeResource(value_compBackgroundPrimaryTran_value_3) } } - const value_iconSubEmphasize = value.iconSubEmphasize - let value_iconSubEmphasize_type: int32 = RuntimeType.UNDEFINED - value_iconSubEmphasize_type = runtimeType(value_iconSubEmphasize) - valueSerializer.writeInt8(value_iconSubEmphasize_type) - if ((RuntimeType.UNDEFINED) != (value_iconSubEmphasize_type)) { - const value_iconSubEmphasize_value = value_iconSubEmphasize! - let value_iconSubEmphasize_value_type: int32 = RuntimeType.UNDEFINED - value_iconSubEmphasize_value_type = runtimeType(value_iconSubEmphasize_value) - if (((RuntimeType.NUMBER) == (value_iconSubEmphasize_value_type)) && ((unsafeCast(value_iconSubEmphasize_value)) >= (0)) && ((unsafeCast(value_iconSubEmphasize_value)) <= (11))) { + const value_compBackgroundPrimaryContrary = value.compBackgroundPrimaryContrary + let value_compBackgroundPrimaryContrary_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundPrimaryContrary_type = runtimeType(value_compBackgroundPrimaryContrary) + valueSerializer.writeInt8(value_compBackgroundPrimaryContrary_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundPrimaryContrary_type)) { + const value_compBackgroundPrimaryContrary_value = value_compBackgroundPrimaryContrary! + let value_compBackgroundPrimaryContrary_value_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundPrimaryContrary_value_type = runtimeType(value_compBackgroundPrimaryContrary_value) + if (((RuntimeType.NUMBER) == (value_compBackgroundPrimaryContrary_value_type)) && ((unsafeCast(value_compBackgroundPrimaryContrary_value)) >= (0)) && ((unsafeCast(value_compBackgroundPrimaryContrary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_iconSubEmphasize_value_0 = unsafeCast(value_iconSubEmphasize_value) - valueSerializer.writeInt32(value_iconSubEmphasize_value_0.valueOf()) + const value_compBackgroundPrimaryContrary_value_0 = unsafeCast(value_compBackgroundPrimaryContrary_value) + valueSerializer.writeInt32(value_compBackgroundPrimaryContrary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_iconSubEmphasize_value_type) { + else if (RuntimeType.NUMBER == value_compBackgroundPrimaryContrary_value_type) { valueSerializer.writeInt8(1) - const value_iconSubEmphasize_value_1 = unsafeCast(value_iconSubEmphasize_value) - valueSerializer.writeNumber(value_iconSubEmphasize_value_1) + const value_compBackgroundPrimaryContrary_value_1 = unsafeCast(value_compBackgroundPrimaryContrary_value) + valueSerializer.writeNumber(value_compBackgroundPrimaryContrary_value_1) } - else if (RuntimeType.STRING == value_iconSubEmphasize_value_type) { + else if (RuntimeType.STRING == value_compBackgroundPrimaryContrary_value_type) { valueSerializer.writeInt8(2) - const value_iconSubEmphasize_value_2 = unsafeCast(value_iconSubEmphasize_value) - valueSerializer.writeString(value_iconSubEmphasize_value_2) + const value_compBackgroundPrimaryContrary_value_2 = unsafeCast(value_compBackgroundPrimaryContrary_value) + valueSerializer.writeString(value_compBackgroundPrimaryContrary_value_2) } - else if (RuntimeType.OBJECT == value_iconSubEmphasize_value_type) { + else if (RuntimeType.OBJECT == value_compBackgroundPrimaryContrary_value_type) { valueSerializer.writeInt8(3) - const value_iconSubEmphasize_value_3 = unsafeCast(value_iconSubEmphasize_value) - valueSerializer.writeResource(value_iconSubEmphasize_value_3) + const value_compBackgroundPrimaryContrary_value_3 = unsafeCast(value_compBackgroundPrimaryContrary_value) + valueSerializer.writeResource(value_compBackgroundPrimaryContrary_value_3) } } - const value_iconOnPrimary = value.iconOnPrimary - let value_iconOnPrimary_type: int32 = RuntimeType.UNDEFINED - value_iconOnPrimary_type = runtimeType(value_iconOnPrimary) - valueSerializer.writeInt8(value_iconOnPrimary_type) - if ((RuntimeType.UNDEFINED) != (value_iconOnPrimary_type)) { - const value_iconOnPrimary_value = value_iconOnPrimary! - let value_iconOnPrimary_value_type: int32 = RuntimeType.UNDEFINED - value_iconOnPrimary_value_type = runtimeType(value_iconOnPrimary_value) - if (((RuntimeType.NUMBER) == (value_iconOnPrimary_value_type)) && ((unsafeCast(value_iconOnPrimary_value)) >= (0)) && ((unsafeCast(value_iconOnPrimary_value)) <= (11))) { + const value_compBackgroundGray = value.compBackgroundGray + let value_compBackgroundGray_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundGray_type = runtimeType(value_compBackgroundGray) + valueSerializer.writeInt8(value_compBackgroundGray_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundGray_type)) { + const value_compBackgroundGray_value = value_compBackgroundGray! + let value_compBackgroundGray_value_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundGray_value_type = runtimeType(value_compBackgroundGray_value) + if (((RuntimeType.NUMBER) == (value_compBackgroundGray_value_type)) && ((unsafeCast(value_compBackgroundGray_value)) >= (0)) && ((unsafeCast(value_compBackgroundGray_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_iconOnPrimary_value_0 = unsafeCast(value_iconOnPrimary_value) - valueSerializer.writeInt32(value_iconOnPrimary_value_0.valueOf()) + const value_compBackgroundGray_value_0 = unsafeCast(value_compBackgroundGray_value) + valueSerializer.writeInt32(value_compBackgroundGray_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_iconOnPrimary_value_type) { + else if (RuntimeType.NUMBER == value_compBackgroundGray_value_type) { valueSerializer.writeInt8(1) - const value_iconOnPrimary_value_1 = unsafeCast(value_iconOnPrimary_value) - valueSerializer.writeNumber(value_iconOnPrimary_value_1) + const value_compBackgroundGray_value_1 = unsafeCast(value_compBackgroundGray_value) + valueSerializer.writeNumber(value_compBackgroundGray_value_1) } - else if (RuntimeType.STRING == value_iconOnPrimary_value_type) { + else if (RuntimeType.STRING == value_compBackgroundGray_value_type) { valueSerializer.writeInt8(2) - const value_iconOnPrimary_value_2 = unsafeCast(value_iconOnPrimary_value) - valueSerializer.writeString(value_iconOnPrimary_value_2) + const value_compBackgroundGray_value_2 = unsafeCast(value_compBackgroundGray_value) + valueSerializer.writeString(value_compBackgroundGray_value_2) } - else if (RuntimeType.OBJECT == value_iconOnPrimary_value_type) { + else if (RuntimeType.OBJECT == value_compBackgroundGray_value_type) { valueSerializer.writeInt8(3) - const value_iconOnPrimary_value_3 = unsafeCast(value_iconOnPrimary_value) - valueSerializer.writeResource(value_iconOnPrimary_value_3) + const value_compBackgroundGray_value_3 = unsafeCast(value_compBackgroundGray_value) + valueSerializer.writeResource(value_compBackgroundGray_value_3) } } - const value_iconOnSecondary = value.iconOnSecondary - let value_iconOnSecondary_type: int32 = RuntimeType.UNDEFINED - value_iconOnSecondary_type = runtimeType(value_iconOnSecondary) - valueSerializer.writeInt8(value_iconOnSecondary_type) - if ((RuntimeType.UNDEFINED) != (value_iconOnSecondary_type)) { - const value_iconOnSecondary_value = value_iconOnSecondary! - let value_iconOnSecondary_value_type: int32 = RuntimeType.UNDEFINED - value_iconOnSecondary_value_type = runtimeType(value_iconOnSecondary_value) - if (((RuntimeType.NUMBER) == (value_iconOnSecondary_value_type)) && ((unsafeCast(value_iconOnSecondary_value)) >= (0)) && ((unsafeCast(value_iconOnSecondary_value)) <= (11))) { + const value_compBackgroundSecondary = value.compBackgroundSecondary + let value_compBackgroundSecondary_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundSecondary_type = runtimeType(value_compBackgroundSecondary) + valueSerializer.writeInt8(value_compBackgroundSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundSecondary_type)) { + const value_compBackgroundSecondary_value = value_compBackgroundSecondary! + let value_compBackgroundSecondary_value_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundSecondary_value_type = runtimeType(value_compBackgroundSecondary_value) + if (((RuntimeType.NUMBER) == (value_compBackgroundSecondary_value_type)) && ((unsafeCast(value_compBackgroundSecondary_value)) >= (0)) && ((unsafeCast(value_compBackgroundSecondary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_iconOnSecondary_value_0 = unsafeCast(value_iconOnSecondary_value) - valueSerializer.writeInt32(value_iconOnSecondary_value_0.valueOf()) + const value_compBackgroundSecondary_value_0 = unsafeCast(value_compBackgroundSecondary_value) + valueSerializer.writeInt32(value_compBackgroundSecondary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_iconOnSecondary_value_type) { + else if (RuntimeType.NUMBER == value_compBackgroundSecondary_value_type) { valueSerializer.writeInt8(1) - const value_iconOnSecondary_value_1 = unsafeCast(value_iconOnSecondary_value) - valueSerializer.writeNumber(value_iconOnSecondary_value_1) + const value_compBackgroundSecondary_value_1 = unsafeCast(value_compBackgroundSecondary_value) + valueSerializer.writeNumber(value_compBackgroundSecondary_value_1) } - else if (RuntimeType.STRING == value_iconOnSecondary_value_type) { + else if (RuntimeType.STRING == value_compBackgroundSecondary_value_type) { valueSerializer.writeInt8(2) - const value_iconOnSecondary_value_2 = unsafeCast(value_iconOnSecondary_value) - valueSerializer.writeString(value_iconOnSecondary_value_2) + const value_compBackgroundSecondary_value_2 = unsafeCast(value_compBackgroundSecondary_value) + valueSerializer.writeString(value_compBackgroundSecondary_value_2) } - else if (RuntimeType.OBJECT == value_iconOnSecondary_value_type) { + else if (RuntimeType.OBJECT == value_compBackgroundSecondary_value_type) { valueSerializer.writeInt8(3) - const value_iconOnSecondary_value_3 = unsafeCast(value_iconOnSecondary_value) - valueSerializer.writeResource(value_iconOnSecondary_value_3) + const value_compBackgroundSecondary_value_3 = unsafeCast(value_compBackgroundSecondary_value) + valueSerializer.writeResource(value_compBackgroundSecondary_value_3) } } - const value_iconOnTertiary = value.iconOnTertiary - let value_iconOnTertiary_type: int32 = RuntimeType.UNDEFINED - value_iconOnTertiary_type = runtimeType(value_iconOnTertiary) - valueSerializer.writeInt8(value_iconOnTertiary_type) - if ((RuntimeType.UNDEFINED) != (value_iconOnTertiary_type)) { - const value_iconOnTertiary_value = value_iconOnTertiary! - let value_iconOnTertiary_value_type: int32 = RuntimeType.UNDEFINED - value_iconOnTertiary_value_type = runtimeType(value_iconOnTertiary_value) - if (((RuntimeType.NUMBER) == (value_iconOnTertiary_value_type)) && ((unsafeCast(value_iconOnTertiary_value)) >= (0)) && ((unsafeCast(value_iconOnTertiary_value)) <= (11))) { + const value_compBackgroundTertiary = value.compBackgroundTertiary + let value_compBackgroundTertiary_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundTertiary_type = runtimeType(value_compBackgroundTertiary) + valueSerializer.writeInt8(value_compBackgroundTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundTertiary_type)) { + const value_compBackgroundTertiary_value = value_compBackgroundTertiary! + let value_compBackgroundTertiary_value_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundTertiary_value_type = runtimeType(value_compBackgroundTertiary_value) + if (((RuntimeType.NUMBER) == (value_compBackgroundTertiary_value_type)) && ((unsafeCast(value_compBackgroundTertiary_value)) >= (0)) && ((unsafeCast(value_compBackgroundTertiary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_iconOnTertiary_value_0 = unsafeCast(value_iconOnTertiary_value) - valueSerializer.writeInt32(value_iconOnTertiary_value_0.valueOf()) + const value_compBackgroundTertiary_value_0 = unsafeCast(value_compBackgroundTertiary_value) + valueSerializer.writeInt32(value_compBackgroundTertiary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_iconOnTertiary_value_type) { + else if (RuntimeType.NUMBER == value_compBackgroundTertiary_value_type) { valueSerializer.writeInt8(1) - const value_iconOnTertiary_value_1 = unsafeCast(value_iconOnTertiary_value) - valueSerializer.writeNumber(value_iconOnTertiary_value_1) + const value_compBackgroundTertiary_value_1 = unsafeCast(value_compBackgroundTertiary_value) + valueSerializer.writeNumber(value_compBackgroundTertiary_value_1) } - else if (RuntimeType.STRING == value_iconOnTertiary_value_type) { + else if (RuntimeType.STRING == value_compBackgroundTertiary_value_type) { valueSerializer.writeInt8(2) - const value_iconOnTertiary_value_2 = unsafeCast(value_iconOnTertiary_value) - valueSerializer.writeString(value_iconOnTertiary_value_2) + const value_compBackgroundTertiary_value_2 = unsafeCast(value_compBackgroundTertiary_value) + valueSerializer.writeString(value_compBackgroundTertiary_value_2) } - else if (RuntimeType.OBJECT == value_iconOnTertiary_value_type) { + else if (RuntimeType.OBJECT == value_compBackgroundTertiary_value_type) { valueSerializer.writeInt8(3) - const value_iconOnTertiary_value_3 = unsafeCast(value_iconOnTertiary_value) - valueSerializer.writeResource(value_iconOnTertiary_value_3) + const value_compBackgroundTertiary_value_3 = unsafeCast(value_compBackgroundTertiary_value) + valueSerializer.writeResource(value_compBackgroundTertiary_value_3) } } - const value_iconOnFourth = value.iconOnFourth - let value_iconOnFourth_type: int32 = RuntimeType.UNDEFINED - value_iconOnFourth_type = runtimeType(value_iconOnFourth) - valueSerializer.writeInt8(value_iconOnFourth_type) - if ((RuntimeType.UNDEFINED) != (value_iconOnFourth_type)) { - const value_iconOnFourth_value = value_iconOnFourth! - let value_iconOnFourth_value_type: int32 = RuntimeType.UNDEFINED - value_iconOnFourth_value_type = runtimeType(value_iconOnFourth_value) - if (((RuntimeType.NUMBER) == (value_iconOnFourth_value_type)) && ((unsafeCast(value_iconOnFourth_value)) >= (0)) && ((unsafeCast(value_iconOnFourth_value)) <= (11))) { + const value_compBackgroundEmphasize = value.compBackgroundEmphasize + let value_compBackgroundEmphasize_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundEmphasize_type = runtimeType(value_compBackgroundEmphasize) + valueSerializer.writeInt8(value_compBackgroundEmphasize_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundEmphasize_type)) { + const value_compBackgroundEmphasize_value = value_compBackgroundEmphasize! + let value_compBackgroundEmphasize_value_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundEmphasize_value_type = runtimeType(value_compBackgroundEmphasize_value) + if (((RuntimeType.NUMBER) == (value_compBackgroundEmphasize_value_type)) && ((unsafeCast(value_compBackgroundEmphasize_value)) >= (0)) && ((unsafeCast(value_compBackgroundEmphasize_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_iconOnFourth_value_0 = unsafeCast(value_iconOnFourth_value) - valueSerializer.writeInt32(value_iconOnFourth_value_0.valueOf()) + const value_compBackgroundEmphasize_value_0 = unsafeCast(value_compBackgroundEmphasize_value) + valueSerializer.writeInt32(value_compBackgroundEmphasize_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_iconOnFourth_value_type) { + else if (RuntimeType.NUMBER == value_compBackgroundEmphasize_value_type) { valueSerializer.writeInt8(1) - const value_iconOnFourth_value_1 = unsafeCast(value_iconOnFourth_value) - valueSerializer.writeNumber(value_iconOnFourth_value_1) + const value_compBackgroundEmphasize_value_1 = unsafeCast(value_compBackgroundEmphasize_value) + valueSerializer.writeNumber(value_compBackgroundEmphasize_value_1) } - else if (RuntimeType.STRING == value_iconOnFourth_value_type) { + else if (RuntimeType.STRING == value_compBackgroundEmphasize_value_type) { valueSerializer.writeInt8(2) - const value_iconOnFourth_value_2 = unsafeCast(value_iconOnFourth_value) - valueSerializer.writeString(value_iconOnFourth_value_2) + const value_compBackgroundEmphasize_value_2 = unsafeCast(value_compBackgroundEmphasize_value) + valueSerializer.writeString(value_compBackgroundEmphasize_value_2) } - else if (RuntimeType.OBJECT == value_iconOnFourth_value_type) { + else if (RuntimeType.OBJECT == value_compBackgroundEmphasize_value_type) { valueSerializer.writeInt8(3) - const value_iconOnFourth_value_3 = unsafeCast(value_iconOnFourth_value) - valueSerializer.writeResource(value_iconOnFourth_value_3) + const value_compBackgroundEmphasize_value_3 = unsafeCast(value_compBackgroundEmphasize_value) + valueSerializer.writeResource(value_compBackgroundEmphasize_value_3) } } - const value_backgroundPrimary = value.backgroundPrimary - let value_backgroundPrimary_type: int32 = RuntimeType.UNDEFINED - value_backgroundPrimary_type = runtimeType(value_backgroundPrimary) - valueSerializer.writeInt8(value_backgroundPrimary_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundPrimary_type)) { - const value_backgroundPrimary_value = value_backgroundPrimary! - let value_backgroundPrimary_value_type: int32 = RuntimeType.UNDEFINED - value_backgroundPrimary_value_type = runtimeType(value_backgroundPrimary_value) - if (((RuntimeType.NUMBER) == (value_backgroundPrimary_value_type)) && ((unsafeCast(value_backgroundPrimary_value)) >= (0)) && ((unsafeCast(value_backgroundPrimary_value)) <= (11))) { + const value_compBackgroundNeutral = value.compBackgroundNeutral + let value_compBackgroundNeutral_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundNeutral_type = runtimeType(value_compBackgroundNeutral) + valueSerializer.writeInt8(value_compBackgroundNeutral_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundNeutral_type)) { + const value_compBackgroundNeutral_value = value_compBackgroundNeutral! + let value_compBackgroundNeutral_value_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundNeutral_value_type = runtimeType(value_compBackgroundNeutral_value) + if (((RuntimeType.NUMBER) == (value_compBackgroundNeutral_value_type)) && ((unsafeCast(value_compBackgroundNeutral_value)) >= (0)) && ((unsafeCast(value_compBackgroundNeutral_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_backgroundPrimary_value_0 = unsafeCast(value_backgroundPrimary_value) - valueSerializer.writeInt32(value_backgroundPrimary_value_0.valueOf()) + const value_compBackgroundNeutral_value_0 = unsafeCast(value_compBackgroundNeutral_value) + valueSerializer.writeInt32(value_compBackgroundNeutral_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_backgroundPrimary_value_type) { + else if (RuntimeType.NUMBER == value_compBackgroundNeutral_value_type) { valueSerializer.writeInt8(1) - const value_backgroundPrimary_value_1 = unsafeCast(value_backgroundPrimary_value) - valueSerializer.writeNumber(value_backgroundPrimary_value_1) + const value_compBackgroundNeutral_value_1 = unsafeCast(value_compBackgroundNeutral_value) + valueSerializer.writeNumber(value_compBackgroundNeutral_value_1) } - else if (RuntimeType.STRING == value_backgroundPrimary_value_type) { + else if (RuntimeType.STRING == value_compBackgroundNeutral_value_type) { valueSerializer.writeInt8(2) - const value_backgroundPrimary_value_2 = unsafeCast(value_backgroundPrimary_value) - valueSerializer.writeString(value_backgroundPrimary_value_2) + const value_compBackgroundNeutral_value_2 = unsafeCast(value_compBackgroundNeutral_value) + valueSerializer.writeString(value_compBackgroundNeutral_value_2) } - else if (RuntimeType.OBJECT == value_backgroundPrimary_value_type) { + else if (RuntimeType.OBJECT == value_compBackgroundNeutral_value_type) { valueSerializer.writeInt8(3) - const value_backgroundPrimary_value_3 = unsafeCast(value_backgroundPrimary_value) - valueSerializer.writeResource(value_backgroundPrimary_value_3) + const value_compBackgroundNeutral_value_3 = unsafeCast(value_compBackgroundNeutral_value) + valueSerializer.writeResource(value_compBackgroundNeutral_value_3) } } - const value_backgroundSecondary = value.backgroundSecondary - let value_backgroundSecondary_type: int32 = RuntimeType.UNDEFINED - value_backgroundSecondary_type = runtimeType(value_backgroundSecondary) - valueSerializer.writeInt8(value_backgroundSecondary_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundSecondary_type)) { - const value_backgroundSecondary_value = value_backgroundSecondary! - let value_backgroundSecondary_value_type: int32 = RuntimeType.UNDEFINED - value_backgroundSecondary_value_type = runtimeType(value_backgroundSecondary_value) - if (((RuntimeType.NUMBER) == (value_backgroundSecondary_value_type)) && ((unsafeCast(value_backgroundSecondary_value)) >= (0)) && ((unsafeCast(value_backgroundSecondary_value)) <= (11))) { + const value_compEmphasizeSecondary = value.compEmphasizeSecondary + let value_compEmphasizeSecondary_type: int32 = RuntimeType.UNDEFINED + value_compEmphasizeSecondary_type = runtimeType(value_compEmphasizeSecondary) + valueSerializer.writeInt8(value_compEmphasizeSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_compEmphasizeSecondary_type)) { + const value_compEmphasizeSecondary_value = value_compEmphasizeSecondary! + let value_compEmphasizeSecondary_value_type: int32 = RuntimeType.UNDEFINED + value_compEmphasizeSecondary_value_type = runtimeType(value_compEmphasizeSecondary_value) + if (((RuntimeType.NUMBER) == (value_compEmphasizeSecondary_value_type)) && ((unsafeCast(value_compEmphasizeSecondary_value)) >= (0)) && ((unsafeCast(value_compEmphasizeSecondary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_backgroundSecondary_value_0 = unsafeCast(value_backgroundSecondary_value) - valueSerializer.writeInt32(value_backgroundSecondary_value_0.valueOf()) + const value_compEmphasizeSecondary_value_0 = unsafeCast(value_compEmphasizeSecondary_value) + valueSerializer.writeInt32(value_compEmphasizeSecondary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_backgroundSecondary_value_type) { + else if (RuntimeType.NUMBER == value_compEmphasizeSecondary_value_type) { valueSerializer.writeInt8(1) - const value_backgroundSecondary_value_1 = unsafeCast(value_backgroundSecondary_value) - valueSerializer.writeNumber(value_backgroundSecondary_value_1) + const value_compEmphasizeSecondary_value_1 = unsafeCast(value_compEmphasizeSecondary_value) + valueSerializer.writeNumber(value_compEmphasizeSecondary_value_1) } - else if (RuntimeType.STRING == value_backgroundSecondary_value_type) { + else if (RuntimeType.STRING == value_compEmphasizeSecondary_value_type) { valueSerializer.writeInt8(2) - const value_backgroundSecondary_value_2 = unsafeCast(value_backgroundSecondary_value) - valueSerializer.writeString(value_backgroundSecondary_value_2) + const value_compEmphasizeSecondary_value_2 = unsafeCast(value_compEmphasizeSecondary_value) + valueSerializer.writeString(value_compEmphasizeSecondary_value_2) } - else if (RuntimeType.OBJECT == value_backgroundSecondary_value_type) { + else if (RuntimeType.OBJECT == value_compEmphasizeSecondary_value_type) { valueSerializer.writeInt8(3) - const value_backgroundSecondary_value_3 = unsafeCast(value_backgroundSecondary_value) - valueSerializer.writeResource(value_backgroundSecondary_value_3) + const value_compEmphasizeSecondary_value_3 = unsafeCast(value_compEmphasizeSecondary_value) + valueSerializer.writeResource(value_compEmphasizeSecondary_value_3) } } - const value_backgroundTertiary = value.backgroundTertiary - let value_backgroundTertiary_type: int32 = RuntimeType.UNDEFINED - value_backgroundTertiary_type = runtimeType(value_backgroundTertiary) - valueSerializer.writeInt8(value_backgroundTertiary_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundTertiary_type)) { - const value_backgroundTertiary_value = value_backgroundTertiary! - let value_backgroundTertiary_value_type: int32 = RuntimeType.UNDEFINED - value_backgroundTertiary_value_type = runtimeType(value_backgroundTertiary_value) - if (((RuntimeType.NUMBER) == (value_backgroundTertiary_value_type)) && ((unsafeCast(value_backgroundTertiary_value)) >= (0)) && ((unsafeCast(value_backgroundTertiary_value)) <= (11))) { + const value_compEmphasizeTertiary = value.compEmphasizeTertiary + let value_compEmphasizeTertiary_type: int32 = RuntimeType.UNDEFINED + value_compEmphasizeTertiary_type = runtimeType(value_compEmphasizeTertiary) + valueSerializer.writeInt8(value_compEmphasizeTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_compEmphasizeTertiary_type)) { + const value_compEmphasizeTertiary_value = value_compEmphasizeTertiary! + let value_compEmphasizeTertiary_value_type: int32 = RuntimeType.UNDEFINED + value_compEmphasizeTertiary_value_type = runtimeType(value_compEmphasizeTertiary_value) + if (((RuntimeType.NUMBER) == (value_compEmphasizeTertiary_value_type)) && ((unsafeCast(value_compEmphasizeTertiary_value)) >= (0)) && ((unsafeCast(value_compEmphasizeTertiary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_backgroundTertiary_value_0 = unsafeCast(value_backgroundTertiary_value) - valueSerializer.writeInt32(value_backgroundTertiary_value_0.valueOf()) + const value_compEmphasizeTertiary_value_0 = unsafeCast(value_compEmphasizeTertiary_value) + valueSerializer.writeInt32(value_compEmphasizeTertiary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_backgroundTertiary_value_type) { + else if (RuntimeType.NUMBER == value_compEmphasizeTertiary_value_type) { valueSerializer.writeInt8(1) - const value_backgroundTertiary_value_1 = unsafeCast(value_backgroundTertiary_value) - valueSerializer.writeNumber(value_backgroundTertiary_value_1) + const value_compEmphasizeTertiary_value_1 = unsafeCast(value_compEmphasizeTertiary_value) + valueSerializer.writeNumber(value_compEmphasizeTertiary_value_1) } - else if (RuntimeType.STRING == value_backgroundTertiary_value_type) { + else if (RuntimeType.STRING == value_compEmphasizeTertiary_value_type) { valueSerializer.writeInt8(2) - const value_backgroundTertiary_value_2 = unsafeCast(value_backgroundTertiary_value) - valueSerializer.writeString(value_backgroundTertiary_value_2) + const value_compEmphasizeTertiary_value_2 = unsafeCast(value_compEmphasizeTertiary_value) + valueSerializer.writeString(value_compEmphasizeTertiary_value_2) } - else if (RuntimeType.OBJECT == value_backgroundTertiary_value_type) { + else if (RuntimeType.OBJECT == value_compEmphasizeTertiary_value_type) { valueSerializer.writeInt8(3) - const value_backgroundTertiary_value_3 = unsafeCast(value_backgroundTertiary_value) - valueSerializer.writeResource(value_backgroundTertiary_value_3) + const value_compEmphasizeTertiary_value_3 = unsafeCast(value_compEmphasizeTertiary_value) + valueSerializer.writeResource(value_compEmphasizeTertiary_value_3) } } - const value_backgroundFourth = value.backgroundFourth - let value_backgroundFourth_type: int32 = RuntimeType.UNDEFINED - value_backgroundFourth_type = runtimeType(value_backgroundFourth) - valueSerializer.writeInt8(value_backgroundFourth_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundFourth_type)) { - const value_backgroundFourth_value = value_backgroundFourth! - let value_backgroundFourth_value_type: int32 = RuntimeType.UNDEFINED - value_backgroundFourth_value_type = runtimeType(value_backgroundFourth_value) - if (((RuntimeType.NUMBER) == (value_backgroundFourth_value_type)) && ((unsafeCast(value_backgroundFourth_value)) >= (0)) && ((unsafeCast(value_backgroundFourth_value)) <= (11))) { + const value_compDivider = value.compDivider + let value_compDivider_type: int32 = RuntimeType.UNDEFINED + value_compDivider_type = runtimeType(value_compDivider) + valueSerializer.writeInt8(value_compDivider_type) + if ((RuntimeType.UNDEFINED) != (value_compDivider_type)) { + const value_compDivider_value = value_compDivider! + let value_compDivider_value_type: int32 = RuntimeType.UNDEFINED + value_compDivider_value_type = runtimeType(value_compDivider_value) + if (((RuntimeType.NUMBER) == (value_compDivider_value_type)) && ((unsafeCast(value_compDivider_value)) >= (0)) && ((unsafeCast(value_compDivider_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_backgroundFourth_value_0 = unsafeCast(value_backgroundFourth_value) - valueSerializer.writeInt32(value_backgroundFourth_value_0.valueOf()) + const value_compDivider_value_0 = unsafeCast(value_compDivider_value) + valueSerializer.writeInt32(value_compDivider_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_backgroundFourth_value_type) { + else if (RuntimeType.NUMBER == value_compDivider_value_type) { valueSerializer.writeInt8(1) - const value_backgroundFourth_value_1 = unsafeCast(value_backgroundFourth_value) - valueSerializer.writeNumber(value_backgroundFourth_value_1) + const value_compDivider_value_1 = unsafeCast(value_compDivider_value) + valueSerializer.writeNumber(value_compDivider_value_1) } - else if (RuntimeType.STRING == value_backgroundFourth_value_type) { + else if (RuntimeType.STRING == value_compDivider_value_type) { valueSerializer.writeInt8(2) - const value_backgroundFourth_value_2 = unsafeCast(value_backgroundFourth_value) - valueSerializer.writeString(value_backgroundFourth_value_2) + const value_compDivider_value_2 = unsafeCast(value_compDivider_value) + valueSerializer.writeString(value_compDivider_value_2) } - else if (RuntimeType.OBJECT == value_backgroundFourth_value_type) { + else if (RuntimeType.OBJECT == value_compDivider_value_type) { valueSerializer.writeInt8(3) - const value_backgroundFourth_value_3 = unsafeCast(value_backgroundFourth_value) - valueSerializer.writeResource(value_backgroundFourth_value_3) + const value_compDivider_value_3 = unsafeCast(value_compDivider_value) + valueSerializer.writeResource(value_compDivider_value_3) } } - const value_backgroundEmphasize = value.backgroundEmphasize - let value_backgroundEmphasize_type: int32 = RuntimeType.UNDEFINED - value_backgroundEmphasize_type = runtimeType(value_backgroundEmphasize) - valueSerializer.writeInt8(value_backgroundEmphasize_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundEmphasize_type)) { - const value_backgroundEmphasize_value = value_backgroundEmphasize! - let value_backgroundEmphasize_value_type: int32 = RuntimeType.UNDEFINED - value_backgroundEmphasize_value_type = runtimeType(value_backgroundEmphasize_value) - if (((RuntimeType.NUMBER) == (value_backgroundEmphasize_value_type)) && ((unsafeCast(value_backgroundEmphasize_value)) >= (0)) && ((unsafeCast(value_backgroundEmphasize_value)) <= (11))) { + const value_compCommonContrary = value.compCommonContrary + let value_compCommonContrary_type: int32 = RuntimeType.UNDEFINED + value_compCommonContrary_type = runtimeType(value_compCommonContrary) + valueSerializer.writeInt8(value_compCommonContrary_type) + if ((RuntimeType.UNDEFINED) != (value_compCommonContrary_type)) { + const value_compCommonContrary_value = value_compCommonContrary! + let value_compCommonContrary_value_type: int32 = RuntimeType.UNDEFINED + value_compCommonContrary_value_type = runtimeType(value_compCommonContrary_value) + if (((RuntimeType.NUMBER) == (value_compCommonContrary_value_type)) && ((unsafeCast(value_compCommonContrary_value)) >= (0)) && ((unsafeCast(value_compCommonContrary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_backgroundEmphasize_value_0 = unsafeCast(value_backgroundEmphasize_value) - valueSerializer.writeInt32(value_backgroundEmphasize_value_0.valueOf()) + const value_compCommonContrary_value_0 = unsafeCast(value_compCommonContrary_value) + valueSerializer.writeInt32(value_compCommonContrary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_backgroundEmphasize_value_type) { + else if (RuntimeType.NUMBER == value_compCommonContrary_value_type) { valueSerializer.writeInt8(1) - const value_backgroundEmphasize_value_1 = unsafeCast(value_backgroundEmphasize_value) - valueSerializer.writeNumber(value_backgroundEmphasize_value_1) + const value_compCommonContrary_value_1 = unsafeCast(value_compCommonContrary_value) + valueSerializer.writeNumber(value_compCommonContrary_value_1) } - else if (RuntimeType.STRING == value_backgroundEmphasize_value_type) { + else if (RuntimeType.STRING == value_compCommonContrary_value_type) { valueSerializer.writeInt8(2) - const value_backgroundEmphasize_value_2 = unsafeCast(value_backgroundEmphasize_value) - valueSerializer.writeString(value_backgroundEmphasize_value_2) + const value_compCommonContrary_value_2 = unsafeCast(value_compCommonContrary_value) + valueSerializer.writeString(value_compCommonContrary_value_2) } - else if (RuntimeType.OBJECT == value_backgroundEmphasize_value_type) { + else if (RuntimeType.OBJECT == value_compCommonContrary_value_type) { valueSerializer.writeInt8(3) - const value_backgroundEmphasize_value_3 = unsafeCast(value_backgroundEmphasize_value) - valueSerializer.writeResource(value_backgroundEmphasize_value_3) + const value_compCommonContrary_value_3 = unsafeCast(value_compCommonContrary_value) + valueSerializer.writeResource(value_compCommonContrary_value_3) } } - const value_compForegroundPrimary = value.compForegroundPrimary - let value_compForegroundPrimary_type: int32 = RuntimeType.UNDEFINED - value_compForegroundPrimary_type = runtimeType(value_compForegroundPrimary) - valueSerializer.writeInt8(value_compForegroundPrimary_type) - if ((RuntimeType.UNDEFINED) != (value_compForegroundPrimary_type)) { - const value_compForegroundPrimary_value = value_compForegroundPrimary! - let value_compForegroundPrimary_value_type: int32 = RuntimeType.UNDEFINED - value_compForegroundPrimary_value_type = runtimeType(value_compForegroundPrimary_value) - if (((RuntimeType.NUMBER) == (value_compForegroundPrimary_value_type)) && ((unsafeCast(value_compForegroundPrimary_value)) >= (0)) && ((unsafeCast(value_compForegroundPrimary_value)) <= (11))) { + const value_compBackgroundFocus = value.compBackgroundFocus + let value_compBackgroundFocus_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundFocus_type = runtimeType(value_compBackgroundFocus) + valueSerializer.writeInt8(value_compBackgroundFocus_type) + if ((RuntimeType.UNDEFINED) != (value_compBackgroundFocus_type)) { + const value_compBackgroundFocus_value = value_compBackgroundFocus! + let value_compBackgroundFocus_value_type: int32 = RuntimeType.UNDEFINED + value_compBackgroundFocus_value_type = runtimeType(value_compBackgroundFocus_value) + if (((RuntimeType.NUMBER) == (value_compBackgroundFocus_value_type)) && ((unsafeCast(value_compBackgroundFocus_value)) >= (0)) && ((unsafeCast(value_compBackgroundFocus_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_compForegroundPrimary_value_0 = unsafeCast(value_compForegroundPrimary_value) - valueSerializer.writeInt32(value_compForegroundPrimary_value_0.valueOf()) + const value_compBackgroundFocus_value_0 = unsafeCast(value_compBackgroundFocus_value) + valueSerializer.writeInt32(value_compBackgroundFocus_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_compForegroundPrimary_value_type) { + else if (RuntimeType.NUMBER == value_compBackgroundFocus_value_type) { valueSerializer.writeInt8(1) - const value_compForegroundPrimary_value_1 = unsafeCast(value_compForegroundPrimary_value) - valueSerializer.writeNumber(value_compForegroundPrimary_value_1) + const value_compBackgroundFocus_value_1 = unsafeCast(value_compBackgroundFocus_value) + valueSerializer.writeNumber(value_compBackgroundFocus_value_1) } - else if (RuntimeType.STRING == value_compForegroundPrimary_value_type) { + else if (RuntimeType.STRING == value_compBackgroundFocus_value_type) { valueSerializer.writeInt8(2) - const value_compForegroundPrimary_value_2 = unsafeCast(value_compForegroundPrimary_value) - valueSerializer.writeString(value_compForegroundPrimary_value_2) + const value_compBackgroundFocus_value_2 = unsafeCast(value_compBackgroundFocus_value) + valueSerializer.writeString(value_compBackgroundFocus_value_2) } - else if (RuntimeType.OBJECT == value_compForegroundPrimary_value_type) { + else if (RuntimeType.OBJECT == value_compBackgroundFocus_value_type) { valueSerializer.writeInt8(3) - const value_compForegroundPrimary_value_3 = unsafeCast(value_compForegroundPrimary_value) - valueSerializer.writeResource(value_compForegroundPrimary_value_3) + const value_compBackgroundFocus_value_3 = unsafeCast(value_compBackgroundFocus_value) + valueSerializer.writeResource(value_compBackgroundFocus_value_3) } } - const value_compBackgroundPrimary = value.compBackgroundPrimary - let value_compBackgroundPrimary_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundPrimary_type = runtimeType(value_compBackgroundPrimary) - valueSerializer.writeInt8(value_compBackgroundPrimary_type) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundPrimary_type)) { - const value_compBackgroundPrimary_value = value_compBackgroundPrimary! - let value_compBackgroundPrimary_value_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundPrimary_value_type = runtimeType(value_compBackgroundPrimary_value) - if (((RuntimeType.NUMBER) == (value_compBackgroundPrimary_value_type)) && ((unsafeCast(value_compBackgroundPrimary_value)) >= (0)) && ((unsafeCast(value_compBackgroundPrimary_value)) <= (11))) { + const value_compFocusedPrimary = value.compFocusedPrimary + let value_compFocusedPrimary_type: int32 = RuntimeType.UNDEFINED + value_compFocusedPrimary_type = runtimeType(value_compFocusedPrimary) + valueSerializer.writeInt8(value_compFocusedPrimary_type) + if ((RuntimeType.UNDEFINED) != (value_compFocusedPrimary_type)) { + const value_compFocusedPrimary_value = value_compFocusedPrimary! + let value_compFocusedPrimary_value_type: int32 = RuntimeType.UNDEFINED + value_compFocusedPrimary_value_type = runtimeType(value_compFocusedPrimary_value) + if (((RuntimeType.NUMBER) == (value_compFocusedPrimary_value_type)) && ((unsafeCast(value_compFocusedPrimary_value)) >= (0)) && ((unsafeCast(value_compFocusedPrimary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_compBackgroundPrimary_value_0 = unsafeCast(value_compBackgroundPrimary_value) - valueSerializer.writeInt32(value_compBackgroundPrimary_value_0.valueOf()) + const value_compFocusedPrimary_value_0 = unsafeCast(value_compFocusedPrimary_value) + valueSerializer.writeInt32(value_compFocusedPrimary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_compBackgroundPrimary_value_type) { + else if (RuntimeType.NUMBER == value_compFocusedPrimary_value_type) { valueSerializer.writeInt8(1) - const value_compBackgroundPrimary_value_1 = unsafeCast(value_compBackgroundPrimary_value) - valueSerializer.writeNumber(value_compBackgroundPrimary_value_1) + const value_compFocusedPrimary_value_1 = unsafeCast(value_compFocusedPrimary_value) + valueSerializer.writeNumber(value_compFocusedPrimary_value_1) } - else if (RuntimeType.STRING == value_compBackgroundPrimary_value_type) { + else if (RuntimeType.STRING == value_compFocusedPrimary_value_type) { valueSerializer.writeInt8(2) - const value_compBackgroundPrimary_value_2 = unsafeCast(value_compBackgroundPrimary_value) - valueSerializer.writeString(value_compBackgroundPrimary_value_2) + const value_compFocusedPrimary_value_2 = unsafeCast(value_compFocusedPrimary_value) + valueSerializer.writeString(value_compFocusedPrimary_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundPrimary_value_type) { + else if (RuntimeType.OBJECT == value_compFocusedPrimary_value_type) { valueSerializer.writeInt8(3) - const value_compBackgroundPrimary_value_3 = unsafeCast(value_compBackgroundPrimary_value) - valueSerializer.writeResource(value_compBackgroundPrimary_value_3) + const value_compFocusedPrimary_value_3 = unsafeCast(value_compFocusedPrimary_value) + valueSerializer.writeResource(value_compFocusedPrimary_value_3) } } - const value_compBackgroundPrimaryTran = value.compBackgroundPrimaryTran - let value_compBackgroundPrimaryTran_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundPrimaryTran_type = runtimeType(value_compBackgroundPrimaryTran) - valueSerializer.writeInt8(value_compBackgroundPrimaryTran_type) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundPrimaryTran_type)) { - const value_compBackgroundPrimaryTran_value = value_compBackgroundPrimaryTran! - let value_compBackgroundPrimaryTran_value_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundPrimaryTran_value_type = runtimeType(value_compBackgroundPrimaryTran_value) - if (((RuntimeType.NUMBER) == (value_compBackgroundPrimaryTran_value_type)) && ((unsafeCast(value_compBackgroundPrimaryTran_value)) >= (0)) && ((unsafeCast(value_compBackgroundPrimaryTran_value)) <= (11))) { + const value_compFocusedSecondary = value.compFocusedSecondary + let value_compFocusedSecondary_type: int32 = RuntimeType.UNDEFINED + value_compFocusedSecondary_type = runtimeType(value_compFocusedSecondary) + valueSerializer.writeInt8(value_compFocusedSecondary_type) + if ((RuntimeType.UNDEFINED) != (value_compFocusedSecondary_type)) { + const value_compFocusedSecondary_value = value_compFocusedSecondary! + let value_compFocusedSecondary_value_type: int32 = RuntimeType.UNDEFINED + value_compFocusedSecondary_value_type = runtimeType(value_compFocusedSecondary_value) + if (((RuntimeType.NUMBER) == (value_compFocusedSecondary_value_type)) && ((unsafeCast(value_compFocusedSecondary_value)) >= (0)) && ((unsafeCast(value_compFocusedSecondary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_compBackgroundPrimaryTran_value_0 = unsafeCast(value_compBackgroundPrimaryTran_value) - valueSerializer.writeInt32(value_compBackgroundPrimaryTran_value_0.valueOf()) + const value_compFocusedSecondary_value_0 = unsafeCast(value_compFocusedSecondary_value) + valueSerializer.writeInt32(value_compFocusedSecondary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_compBackgroundPrimaryTran_value_type) { + else if (RuntimeType.NUMBER == value_compFocusedSecondary_value_type) { valueSerializer.writeInt8(1) - const value_compBackgroundPrimaryTran_value_1 = unsafeCast(value_compBackgroundPrimaryTran_value) - valueSerializer.writeNumber(value_compBackgroundPrimaryTran_value_1) + const value_compFocusedSecondary_value_1 = unsafeCast(value_compFocusedSecondary_value) + valueSerializer.writeNumber(value_compFocusedSecondary_value_1) } - else if (RuntimeType.STRING == value_compBackgroundPrimaryTran_value_type) { + else if (RuntimeType.STRING == value_compFocusedSecondary_value_type) { valueSerializer.writeInt8(2) - const value_compBackgroundPrimaryTran_value_2 = unsafeCast(value_compBackgroundPrimaryTran_value) - valueSerializer.writeString(value_compBackgroundPrimaryTran_value_2) + const value_compFocusedSecondary_value_2 = unsafeCast(value_compFocusedSecondary_value) + valueSerializer.writeString(value_compFocusedSecondary_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundPrimaryTran_value_type) { + else if (RuntimeType.OBJECT == value_compFocusedSecondary_value_type) { valueSerializer.writeInt8(3) - const value_compBackgroundPrimaryTran_value_3 = unsafeCast(value_compBackgroundPrimaryTran_value) - valueSerializer.writeResource(value_compBackgroundPrimaryTran_value_3) + const value_compFocusedSecondary_value_3 = unsafeCast(value_compFocusedSecondary_value) + valueSerializer.writeResource(value_compFocusedSecondary_value_3) } } - const value_compBackgroundPrimaryContrary = value.compBackgroundPrimaryContrary - let value_compBackgroundPrimaryContrary_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundPrimaryContrary_type = runtimeType(value_compBackgroundPrimaryContrary) - valueSerializer.writeInt8(value_compBackgroundPrimaryContrary_type) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundPrimaryContrary_type)) { - const value_compBackgroundPrimaryContrary_value = value_compBackgroundPrimaryContrary! - let value_compBackgroundPrimaryContrary_value_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundPrimaryContrary_value_type = runtimeType(value_compBackgroundPrimaryContrary_value) - if (((RuntimeType.NUMBER) == (value_compBackgroundPrimaryContrary_value_type)) && ((unsafeCast(value_compBackgroundPrimaryContrary_value)) >= (0)) && ((unsafeCast(value_compBackgroundPrimaryContrary_value)) <= (11))) { + const value_compFocusedTertiary = value.compFocusedTertiary + let value_compFocusedTertiary_type: int32 = RuntimeType.UNDEFINED + value_compFocusedTertiary_type = runtimeType(value_compFocusedTertiary) + valueSerializer.writeInt8(value_compFocusedTertiary_type) + if ((RuntimeType.UNDEFINED) != (value_compFocusedTertiary_type)) { + const value_compFocusedTertiary_value = value_compFocusedTertiary! + let value_compFocusedTertiary_value_type: int32 = RuntimeType.UNDEFINED + value_compFocusedTertiary_value_type = runtimeType(value_compFocusedTertiary_value) + if (((RuntimeType.NUMBER) == (value_compFocusedTertiary_value_type)) && ((unsafeCast(value_compFocusedTertiary_value)) >= (0)) && ((unsafeCast(value_compFocusedTertiary_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_compBackgroundPrimaryContrary_value_0 = unsafeCast(value_compBackgroundPrimaryContrary_value) - valueSerializer.writeInt32(value_compBackgroundPrimaryContrary_value_0.valueOf()) + const value_compFocusedTertiary_value_0 = unsafeCast(value_compFocusedTertiary_value) + valueSerializer.writeInt32(value_compFocusedTertiary_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_compBackgroundPrimaryContrary_value_type) { + else if (RuntimeType.NUMBER == value_compFocusedTertiary_value_type) { valueSerializer.writeInt8(1) - const value_compBackgroundPrimaryContrary_value_1 = unsafeCast(value_compBackgroundPrimaryContrary_value) - valueSerializer.writeNumber(value_compBackgroundPrimaryContrary_value_1) + const value_compFocusedTertiary_value_1 = unsafeCast(value_compFocusedTertiary_value) + valueSerializer.writeNumber(value_compFocusedTertiary_value_1) } - else if (RuntimeType.STRING == value_compBackgroundPrimaryContrary_value_type) { + else if (RuntimeType.STRING == value_compFocusedTertiary_value_type) { valueSerializer.writeInt8(2) - const value_compBackgroundPrimaryContrary_value_2 = unsafeCast(value_compBackgroundPrimaryContrary_value) - valueSerializer.writeString(value_compBackgroundPrimaryContrary_value_2) + const value_compFocusedTertiary_value_2 = unsafeCast(value_compFocusedTertiary_value) + valueSerializer.writeString(value_compFocusedTertiary_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundPrimaryContrary_value_type) { + else if (RuntimeType.OBJECT == value_compFocusedTertiary_value_type) { valueSerializer.writeInt8(3) - const value_compBackgroundPrimaryContrary_value_3 = unsafeCast(value_compBackgroundPrimaryContrary_value) - valueSerializer.writeResource(value_compBackgroundPrimaryContrary_value_3) + const value_compFocusedTertiary_value_3 = unsafeCast(value_compFocusedTertiary_value) + valueSerializer.writeResource(value_compFocusedTertiary_value_3) } } - const value_compBackgroundGray = value.compBackgroundGray - let value_compBackgroundGray_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundGray_type = runtimeType(value_compBackgroundGray) - valueSerializer.writeInt8(value_compBackgroundGray_type) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundGray_type)) { - const value_compBackgroundGray_value = value_compBackgroundGray! - let value_compBackgroundGray_value_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundGray_value_type = runtimeType(value_compBackgroundGray_value) - if (((RuntimeType.NUMBER) == (value_compBackgroundGray_value_type)) && ((unsafeCast(value_compBackgroundGray_value)) >= (0)) && ((unsafeCast(value_compBackgroundGray_value)) <= (11))) { + const value_interactiveHover = value.interactiveHover + let value_interactiveHover_type: int32 = RuntimeType.UNDEFINED + value_interactiveHover_type = runtimeType(value_interactiveHover) + valueSerializer.writeInt8(value_interactiveHover_type) + if ((RuntimeType.UNDEFINED) != (value_interactiveHover_type)) { + const value_interactiveHover_value = value_interactiveHover! + let value_interactiveHover_value_type: int32 = RuntimeType.UNDEFINED + value_interactiveHover_value_type = runtimeType(value_interactiveHover_value) + if (((RuntimeType.NUMBER) == (value_interactiveHover_value_type)) && ((unsafeCast(value_interactiveHover_value)) >= (0)) && ((unsafeCast(value_interactiveHover_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_compBackgroundGray_value_0 = unsafeCast(value_compBackgroundGray_value) - valueSerializer.writeInt32(value_compBackgroundGray_value_0.valueOf()) + const value_interactiveHover_value_0 = unsafeCast(value_interactiveHover_value) + valueSerializer.writeInt32(value_interactiveHover_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_compBackgroundGray_value_type) { + else if (RuntimeType.NUMBER == value_interactiveHover_value_type) { valueSerializer.writeInt8(1) - const value_compBackgroundGray_value_1 = unsafeCast(value_compBackgroundGray_value) - valueSerializer.writeNumber(value_compBackgroundGray_value_1) + const value_interactiveHover_value_1 = unsafeCast(value_interactiveHover_value) + valueSerializer.writeNumber(value_interactiveHover_value_1) } - else if (RuntimeType.STRING == value_compBackgroundGray_value_type) { + else if (RuntimeType.STRING == value_interactiveHover_value_type) { valueSerializer.writeInt8(2) - const value_compBackgroundGray_value_2 = unsafeCast(value_compBackgroundGray_value) - valueSerializer.writeString(value_compBackgroundGray_value_2) + const value_interactiveHover_value_2 = unsafeCast(value_interactiveHover_value) + valueSerializer.writeString(value_interactiveHover_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundGray_value_type) { + else if (RuntimeType.OBJECT == value_interactiveHover_value_type) { valueSerializer.writeInt8(3) - const value_compBackgroundGray_value_3 = unsafeCast(value_compBackgroundGray_value) - valueSerializer.writeResource(value_compBackgroundGray_value_3) + const value_interactiveHover_value_3 = unsafeCast(value_interactiveHover_value) + valueSerializer.writeResource(value_interactiveHover_value_3) } } - const value_compBackgroundSecondary = value.compBackgroundSecondary - let value_compBackgroundSecondary_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundSecondary_type = runtimeType(value_compBackgroundSecondary) - valueSerializer.writeInt8(value_compBackgroundSecondary_type) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundSecondary_type)) { - const value_compBackgroundSecondary_value = value_compBackgroundSecondary! - let value_compBackgroundSecondary_value_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundSecondary_value_type = runtimeType(value_compBackgroundSecondary_value) - if (((RuntimeType.NUMBER) == (value_compBackgroundSecondary_value_type)) && ((unsafeCast(value_compBackgroundSecondary_value)) >= (0)) && ((unsafeCast(value_compBackgroundSecondary_value)) <= (11))) { + const value_interactivePressed = value.interactivePressed + let value_interactivePressed_type: int32 = RuntimeType.UNDEFINED + value_interactivePressed_type = runtimeType(value_interactivePressed) + valueSerializer.writeInt8(value_interactivePressed_type) + if ((RuntimeType.UNDEFINED) != (value_interactivePressed_type)) { + const value_interactivePressed_value = value_interactivePressed! + let value_interactivePressed_value_type: int32 = RuntimeType.UNDEFINED + value_interactivePressed_value_type = runtimeType(value_interactivePressed_value) + if (((RuntimeType.NUMBER) == (value_interactivePressed_value_type)) && ((unsafeCast(value_interactivePressed_value)) >= (0)) && ((unsafeCast(value_interactivePressed_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_compBackgroundSecondary_value_0 = unsafeCast(value_compBackgroundSecondary_value) - valueSerializer.writeInt32(value_compBackgroundSecondary_value_0.valueOf()) + const value_interactivePressed_value_0 = unsafeCast(value_interactivePressed_value) + valueSerializer.writeInt32(value_interactivePressed_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_compBackgroundSecondary_value_type) { + else if (RuntimeType.NUMBER == value_interactivePressed_value_type) { valueSerializer.writeInt8(1) - const value_compBackgroundSecondary_value_1 = unsafeCast(value_compBackgroundSecondary_value) - valueSerializer.writeNumber(value_compBackgroundSecondary_value_1) + const value_interactivePressed_value_1 = unsafeCast(value_interactivePressed_value) + valueSerializer.writeNumber(value_interactivePressed_value_1) } - else if (RuntimeType.STRING == value_compBackgroundSecondary_value_type) { + else if (RuntimeType.STRING == value_interactivePressed_value_type) { valueSerializer.writeInt8(2) - const value_compBackgroundSecondary_value_2 = unsafeCast(value_compBackgroundSecondary_value) - valueSerializer.writeString(value_compBackgroundSecondary_value_2) + const value_interactivePressed_value_2 = unsafeCast(value_interactivePressed_value) + valueSerializer.writeString(value_interactivePressed_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundSecondary_value_type) { + else if (RuntimeType.OBJECT == value_interactivePressed_value_type) { valueSerializer.writeInt8(3) - const value_compBackgroundSecondary_value_3 = unsafeCast(value_compBackgroundSecondary_value) - valueSerializer.writeResource(value_compBackgroundSecondary_value_3) + const value_interactivePressed_value_3 = unsafeCast(value_interactivePressed_value) + valueSerializer.writeResource(value_interactivePressed_value_3) } } - const value_compBackgroundTertiary = value.compBackgroundTertiary - let value_compBackgroundTertiary_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundTertiary_type = runtimeType(value_compBackgroundTertiary) - valueSerializer.writeInt8(value_compBackgroundTertiary_type) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundTertiary_type)) { - const value_compBackgroundTertiary_value = value_compBackgroundTertiary! - let value_compBackgroundTertiary_value_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundTertiary_value_type = runtimeType(value_compBackgroundTertiary_value) - if (((RuntimeType.NUMBER) == (value_compBackgroundTertiary_value_type)) && ((unsafeCast(value_compBackgroundTertiary_value)) >= (0)) && ((unsafeCast(value_compBackgroundTertiary_value)) <= (11))) { + const value_interactiveFocus = value.interactiveFocus + let value_interactiveFocus_type: int32 = RuntimeType.UNDEFINED + value_interactiveFocus_type = runtimeType(value_interactiveFocus) + valueSerializer.writeInt8(value_interactiveFocus_type) + if ((RuntimeType.UNDEFINED) != (value_interactiveFocus_type)) { + const value_interactiveFocus_value = value_interactiveFocus! + let value_interactiveFocus_value_type: int32 = RuntimeType.UNDEFINED + value_interactiveFocus_value_type = runtimeType(value_interactiveFocus_value) + if (((RuntimeType.NUMBER) == (value_interactiveFocus_value_type)) && ((unsafeCast(value_interactiveFocus_value)) >= (0)) && ((unsafeCast(value_interactiveFocus_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_compBackgroundTertiary_value_0 = unsafeCast(value_compBackgroundTertiary_value) - valueSerializer.writeInt32(value_compBackgroundTertiary_value_0.valueOf()) + const value_interactiveFocus_value_0 = unsafeCast(value_interactiveFocus_value) + valueSerializer.writeInt32(value_interactiveFocus_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_compBackgroundTertiary_value_type) { + else if (RuntimeType.NUMBER == value_interactiveFocus_value_type) { valueSerializer.writeInt8(1) - const value_compBackgroundTertiary_value_1 = unsafeCast(value_compBackgroundTertiary_value) - valueSerializer.writeNumber(value_compBackgroundTertiary_value_1) + const value_interactiveFocus_value_1 = unsafeCast(value_interactiveFocus_value) + valueSerializer.writeNumber(value_interactiveFocus_value_1) } - else if (RuntimeType.STRING == value_compBackgroundTertiary_value_type) { + else if (RuntimeType.STRING == value_interactiveFocus_value_type) { valueSerializer.writeInt8(2) - const value_compBackgroundTertiary_value_2 = unsafeCast(value_compBackgroundTertiary_value) - valueSerializer.writeString(value_compBackgroundTertiary_value_2) + const value_interactiveFocus_value_2 = unsafeCast(value_interactiveFocus_value) + valueSerializer.writeString(value_interactiveFocus_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundTertiary_value_type) { + else if (RuntimeType.OBJECT == value_interactiveFocus_value_type) { valueSerializer.writeInt8(3) - const value_compBackgroundTertiary_value_3 = unsafeCast(value_compBackgroundTertiary_value) - valueSerializer.writeResource(value_compBackgroundTertiary_value_3) + const value_interactiveFocus_value_3 = unsafeCast(value_interactiveFocus_value) + valueSerializer.writeResource(value_interactiveFocus_value_3) } } - const value_compBackgroundEmphasize = value.compBackgroundEmphasize - let value_compBackgroundEmphasize_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundEmphasize_type = runtimeType(value_compBackgroundEmphasize) - valueSerializer.writeInt8(value_compBackgroundEmphasize_type) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundEmphasize_type)) { - const value_compBackgroundEmphasize_value = value_compBackgroundEmphasize! - let value_compBackgroundEmphasize_value_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundEmphasize_value_type = runtimeType(value_compBackgroundEmphasize_value) - if (((RuntimeType.NUMBER) == (value_compBackgroundEmphasize_value_type)) && ((unsafeCast(value_compBackgroundEmphasize_value)) >= (0)) && ((unsafeCast(value_compBackgroundEmphasize_value)) <= (11))) { + const value_interactiveActive = value.interactiveActive + let value_interactiveActive_type: int32 = RuntimeType.UNDEFINED + value_interactiveActive_type = runtimeType(value_interactiveActive) + valueSerializer.writeInt8(value_interactiveActive_type) + if ((RuntimeType.UNDEFINED) != (value_interactiveActive_type)) { + const value_interactiveActive_value = value_interactiveActive! + let value_interactiveActive_value_type: int32 = RuntimeType.UNDEFINED + value_interactiveActive_value_type = runtimeType(value_interactiveActive_value) + if (((RuntimeType.NUMBER) == (value_interactiveActive_value_type)) && ((unsafeCast(value_interactiveActive_value)) >= (0)) && ((unsafeCast(value_interactiveActive_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_compBackgroundEmphasize_value_0 = unsafeCast(value_compBackgroundEmphasize_value) - valueSerializer.writeInt32(value_compBackgroundEmphasize_value_0.valueOf()) + const value_interactiveActive_value_0 = unsafeCast(value_interactiveActive_value) + valueSerializer.writeInt32(value_interactiveActive_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_compBackgroundEmphasize_value_type) { + else if (RuntimeType.NUMBER == value_interactiveActive_value_type) { valueSerializer.writeInt8(1) - const value_compBackgroundEmphasize_value_1 = unsafeCast(value_compBackgroundEmphasize_value) - valueSerializer.writeNumber(value_compBackgroundEmphasize_value_1) + const value_interactiveActive_value_1 = unsafeCast(value_interactiveActive_value) + valueSerializer.writeNumber(value_interactiveActive_value_1) } - else if (RuntimeType.STRING == value_compBackgroundEmphasize_value_type) { + else if (RuntimeType.STRING == value_interactiveActive_value_type) { valueSerializer.writeInt8(2) - const value_compBackgroundEmphasize_value_2 = unsafeCast(value_compBackgroundEmphasize_value) - valueSerializer.writeString(value_compBackgroundEmphasize_value_2) + const value_interactiveActive_value_2 = unsafeCast(value_interactiveActive_value) + valueSerializer.writeString(value_interactiveActive_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundEmphasize_value_type) { + else if (RuntimeType.OBJECT == value_interactiveActive_value_type) { valueSerializer.writeInt8(3) - const value_compBackgroundEmphasize_value_3 = unsafeCast(value_compBackgroundEmphasize_value) - valueSerializer.writeResource(value_compBackgroundEmphasize_value_3) + const value_interactiveActive_value_3 = unsafeCast(value_interactiveActive_value) + valueSerializer.writeResource(value_interactiveActive_value_3) } } - const value_compBackgroundNeutral = value.compBackgroundNeutral - let value_compBackgroundNeutral_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundNeutral_type = runtimeType(value_compBackgroundNeutral) - valueSerializer.writeInt8(value_compBackgroundNeutral_type) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundNeutral_type)) { - const value_compBackgroundNeutral_value = value_compBackgroundNeutral! - let value_compBackgroundNeutral_value_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundNeutral_value_type = runtimeType(value_compBackgroundNeutral_value) - if (((RuntimeType.NUMBER) == (value_compBackgroundNeutral_value_type)) && ((unsafeCast(value_compBackgroundNeutral_value)) >= (0)) && ((unsafeCast(value_compBackgroundNeutral_value)) <= (11))) { + const value_interactiveSelect = value.interactiveSelect + let value_interactiveSelect_type: int32 = RuntimeType.UNDEFINED + value_interactiveSelect_type = runtimeType(value_interactiveSelect) + valueSerializer.writeInt8(value_interactiveSelect_type) + if ((RuntimeType.UNDEFINED) != (value_interactiveSelect_type)) { + const value_interactiveSelect_value = value_interactiveSelect! + let value_interactiveSelect_value_type: int32 = RuntimeType.UNDEFINED + value_interactiveSelect_value_type = runtimeType(value_interactiveSelect_value) + if (((RuntimeType.NUMBER) == (value_interactiveSelect_value_type)) && ((unsafeCast(value_interactiveSelect_value)) >= (0)) && ((unsafeCast(value_interactiveSelect_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_compBackgroundNeutral_value_0 = unsafeCast(value_compBackgroundNeutral_value) - valueSerializer.writeInt32(value_compBackgroundNeutral_value_0.valueOf()) + const value_interactiveSelect_value_0 = unsafeCast(value_interactiveSelect_value) + valueSerializer.writeInt32(value_interactiveSelect_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_compBackgroundNeutral_value_type) { + else if (RuntimeType.NUMBER == value_interactiveSelect_value_type) { valueSerializer.writeInt8(1) - const value_compBackgroundNeutral_value_1 = unsafeCast(value_compBackgroundNeutral_value) - valueSerializer.writeNumber(value_compBackgroundNeutral_value_1) + const value_interactiveSelect_value_1 = unsafeCast(value_interactiveSelect_value) + valueSerializer.writeNumber(value_interactiveSelect_value_1) } - else if (RuntimeType.STRING == value_compBackgroundNeutral_value_type) { + else if (RuntimeType.STRING == value_interactiveSelect_value_type) { valueSerializer.writeInt8(2) - const value_compBackgroundNeutral_value_2 = unsafeCast(value_compBackgroundNeutral_value) - valueSerializer.writeString(value_compBackgroundNeutral_value_2) + const value_interactiveSelect_value_2 = unsafeCast(value_interactiveSelect_value) + valueSerializer.writeString(value_interactiveSelect_value_2) } - else if (RuntimeType.OBJECT == value_compBackgroundNeutral_value_type) { + else if (RuntimeType.OBJECT == value_interactiveSelect_value_type) { valueSerializer.writeInt8(3) - const value_compBackgroundNeutral_value_3 = unsafeCast(value_compBackgroundNeutral_value) - valueSerializer.writeResource(value_compBackgroundNeutral_value_3) + const value_interactiveSelect_value_3 = unsafeCast(value_interactiveSelect_value) + valueSerializer.writeResource(value_interactiveSelect_value_3) } } - const value_compEmphasizeSecondary = value.compEmphasizeSecondary - let value_compEmphasizeSecondary_type: int32 = RuntimeType.UNDEFINED - value_compEmphasizeSecondary_type = runtimeType(value_compEmphasizeSecondary) - valueSerializer.writeInt8(value_compEmphasizeSecondary_type) - if ((RuntimeType.UNDEFINED) != (value_compEmphasizeSecondary_type)) { - const value_compEmphasizeSecondary_value = value_compEmphasizeSecondary! - let value_compEmphasizeSecondary_value_type: int32 = RuntimeType.UNDEFINED - value_compEmphasizeSecondary_value_type = runtimeType(value_compEmphasizeSecondary_value) - if (((RuntimeType.NUMBER) == (value_compEmphasizeSecondary_value_type)) && ((unsafeCast(value_compEmphasizeSecondary_value)) >= (0)) && ((unsafeCast(value_compEmphasizeSecondary_value)) <= (11))) { + const value_interactiveClick = value.interactiveClick + let value_interactiveClick_type: int32 = RuntimeType.UNDEFINED + value_interactiveClick_type = runtimeType(value_interactiveClick) + valueSerializer.writeInt8(value_interactiveClick_type) + if ((RuntimeType.UNDEFINED) != (value_interactiveClick_type)) { + const value_interactiveClick_value = value_interactiveClick! + let value_interactiveClick_value_type: int32 = RuntimeType.UNDEFINED + value_interactiveClick_value_type = runtimeType(value_interactiveClick_value) + if (((RuntimeType.NUMBER) == (value_interactiveClick_value_type)) && ((unsafeCast(value_interactiveClick_value)) >= (0)) && ((unsafeCast(value_interactiveClick_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_compEmphasizeSecondary_value_0 = unsafeCast(value_compEmphasizeSecondary_value) - valueSerializer.writeInt32(value_compEmphasizeSecondary_value_0.valueOf()) + const value_interactiveClick_value_0 = unsafeCast(value_interactiveClick_value) + valueSerializer.writeInt32(value_interactiveClick_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_compEmphasizeSecondary_value_type) { + else if (RuntimeType.NUMBER == value_interactiveClick_value_type) { valueSerializer.writeInt8(1) - const value_compEmphasizeSecondary_value_1 = unsafeCast(value_compEmphasizeSecondary_value) - valueSerializer.writeNumber(value_compEmphasizeSecondary_value_1) + const value_interactiveClick_value_1 = unsafeCast(value_interactiveClick_value) + valueSerializer.writeNumber(value_interactiveClick_value_1) } - else if (RuntimeType.STRING == value_compEmphasizeSecondary_value_type) { + else if (RuntimeType.STRING == value_interactiveClick_value_type) { valueSerializer.writeInt8(2) - const value_compEmphasizeSecondary_value_2 = unsafeCast(value_compEmphasizeSecondary_value) - valueSerializer.writeString(value_compEmphasizeSecondary_value_2) + const value_interactiveClick_value_2 = unsafeCast(value_interactiveClick_value) + valueSerializer.writeString(value_interactiveClick_value_2) } - else if (RuntimeType.OBJECT == value_compEmphasizeSecondary_value_type) { + else if (RuntimeType.OBJECT == value_interactiveClick_value_type) { valueSerializer.writeInt8(3) - const value_compEmphasizeSecondary_value_3 = unsafeCast(value_compEmphasizeSecondary_value) - valueSerializer.writeResource(value_compEmphasizeSecondary_value_3) + const value_interactiveClick_value_3 = unsafeCast(value_interactiveClick_value) + valueSerializer.writeResource(value_interactiveClick_value_3) } } - const value_compEmphasizeTertiary = value.compEmphasizeTertiary - let value_compEmphasizeTertiary_type: int32 = RuntimeType.UNDEFINED - value_compEmphasizeTertiary_type = runtimeType(value_compEmphasizeTertiary) - valueSerializer.writeInt8(value_compEmphasizeTertiary_type) - if ((RuntimeType.UNDEFINED) != (value_compEmphasizeTertiary_type)) { - const value_compEmphasizeTertiary_value = value_compEmphasizeTertiary! - let value_compEmphasizeTertiary_value_type: int32 = RuntimeType.UNDEFINED - value_compEmphasizeTertiary_value_type = runtimeType(value_compEmphasizeTertiary_value) - if (((RuntimeType.NUMBER) == (value_compEmphasizeTertiary_value_type)) && ((unsafeCast(value_compEmphasizeTertiary_value)) >= (0)) && ((unsafeCast(value_compEmphasizeTertiary_value)) <= (11))) { + } + public writeDataPanelShadowOptions(value: DataPanelShadowOptions): void { + let valueSerializer: Serializer = this + const value_radius = value.radius + let value_radius_type: int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + let value_radius_value_type: int32 = RuntimeType.UNDEFINED + value_radius_value_type = runtimeType(value_radius_value) + if (RuntimeType.NUMBER == value_radius_value_type) { valueSerializer.writeInt8(0) - const value_compEmphasizeTertiary_value_0 = unsafeCast(value_compEmphasizeTertiary_value) - valueSerializer.writeInt32(value_compEmphasizeTertiary_value_0.valueOf()) + const value_radius_value_0 = unsafeCast(value_radius_value) + valueSerializer.writeNumber(value_radius_value_0) } - else if (RuntimeType.NUMBER == value_compEmphasizeTertiary_value_type) { + else if (RuntimeType.OBJECT == value_radius_value_type) { valueSerializer.writeInt8(1) - const value_compEmphasizeTertiary_value_1 = unsafeCast(value_compEmphasizeTertiary_value) - valueSerializer.writeNumber(value_compEmphasizeTertiary_value_1) - } - else if (RuntimeType.STRING == value_compEmphasizeTertiary_value_type) { - valueSerializer.writeInt8(2) - const value_compEmphasizeTertiary_value_2 = unsafeCast(value_compEmphasizeTertiary_value) - valueSerializer.writeString(value_compEmphasizeTertiary_value_2) - } - else if (RuntimeType.OBJECT == value_compEmphasizeTertiary_value_type) { - valueSerializer.writeInt8(3) - const value_compEmphasizeTertiary_value_3 = unsafeCast(value_compEmphasizeTertiary_value) - valueSerializer.writeResource(value_compEmphasizeTertiary_value_3) + const value_radius_value_1 = unsafeCast(value_radius_value) + valueSerializer.writeResource(value_radius_value_1) } } - const value_compDivider = value.compDivider - let value_compDivider_type: int32 = RuntimeType.UNDEFINED - value_compDivider_type = runtimeType(value_compDivider) - valueSerializer.writeInt8(value_compDivider_type) - if ((RuntimeType.UNDEFINED) != (value_compDivider_type)) { - const value_compDivider_value = value_compDivider! - let value_compDivider_value_type: int32 = RuntimeType.UNDEFINED - value_compDivider_value_type = runtimeType(value_compDivider_value) - if (((RuntimeType.NUMBER) == (value_compDivider_value_type)) && ((unsafeCast(value_compDivider_value)) >= (0)) && ((unsafeCast(value_compDivider_value)) <= (11))) { + const value_offsetX = value.offsetX + let value_offsetX_type: int32 = RuntimeType.UNDEFINED + value_offsetX_type = runtimeType(value_offsetX) + valueSerializer.writeInt8(value_offsetX_type) + if ((RuntimeType.UNDEFINED) != (value_offsetX_type)) { + const value_offsetX_value = value_offsetX! + let value_offsetX_value_type: int32 = RuntimeType.UNDEFINED + value_offsetX_value_type = runtimeType(value_offsetX_value) + if (RuntimeType.NUMBER == value_offsetX_value_type) { valueSerializer.writeInt8(0) - const value_compDivider_value_0 = unsafeCast(value_compDivider_value) - valueSerializer.writeInt32(value_compDivider_value_0.valueOf()) + const value_offsetX_value_0 = unsafeCast(value_offsetX_value) + valueSerializer.writeNumber(value_offsetX_value_0) } - else if (RuntimeType.NUMBER == value_compDivider_value_type) { + else if (RuntimeType.OBJECT == value_offsetX_value_type) { valueSerializer.writeInt8(1) - const value_compDivider_value_1 = unsafeCast(value_compDivider_value) - valueSerializer.writeNumber(value_compDivider_value_1) - } - else if (RuntimeType.STRING == value_compDivider_value_type) { - valueSerializer.writeInt8(2) - const value_compDivider_value_2 = unsafeCast(value_compDivider_value) - valueSerializer.writeString(value_compDivider_value_2) - } - else if (RuntimeType.OBJECT == value_compDivider_value_type) { - valueSerializer.writeInt8(3) - const value_compDivider_value_3 = unsafeCast(value_compDivider_value) - valueSerializer.writeResource(value_compDivider_value_3) + const value_offsetX_value_1 = unsafeCast(value_offsetX_value) + valueSerializer.writeResource(value_offsetX_value_1) } } - const value_compCommonContrary = value.compCommonContrary - let value_compCommonContrary_type: int32 = RuntimeType.UNDEFINED - value_compCommonContrary_type = runtimeType(value_compCommonContrary) - valueSerializer.writeInt8(value_compCommonContrary_type) - if ((RuntimeType.UNDEFINED) != (value_compCommonContrary_type)) { - const value_compCommonContrary_value = value_compCommonContrary! - let value_compCommonContrary_value_type: int32 = RuntimeType.UNDEFINED - value_compCommonContrary_value_type = runtimeType(value_compCommonContrary_value) - if (((RuntimeType.NUMBER) == (value_compCommonContrary_value_type)) && ((unsafeCast(value_compCommonContrary_value)) >= (0)) && ((unsafeCast(value_compCommonContrary_value)) <= (11))) { + const value_offsetY = value.offsetY + let value_offsetY_type: int32 = RuntimeType.UNDEFINED + value_offsetY_type = runtimeType(value_offsetY) + valueSerializer.writeInt8(value_offsetY_type) + if ((RuntimeType.UNDEFINED) != (value_offsetY_type)) { + const value_offsetY_value = value_offsetY! + let value_offsetY_value_type: int32 = RuntimeType.UNDEFINED + value_offsetY_value_type = runtimeType(value_offsetY_value) + if (RuntimeType.NUMBER == value_offsetY_value_type) { valueSerializer.writeInt8(0) - const value_compCommonContrary_value_0 = unsafeCast(value_compCommonContrary_value) - valueSerializer.writeInt32(value_compCommonContrary_value_0.valueOf()) + const value_offsetY_value_0 = unsafeCast(value_offsetY_value) + valueSerializer.writeNumber(value_offsetY_value_0) } - else if (RuntimeType.NUMBER == value_compCommonContrary_value_type) { + else if (RuntimeType.OBJECT == value_offsetY_value_type) { valueSerializer.writeInt8(1) - const value_compCommonContrary_value_1 = unsafeCast(value_compCommonContrary_value) - valueSerializer.writeNumber(value_compCommonContrary_value_1) - } - else if (RuntimeType.STRING == value_compCommonContrary_value_type) { - valueSerializer.writeInt8(2) - const value_compCommonContrary_value_2 = unsafeCast(value_compCommonContrary_value) - valueSerializer.writeString(value_compCommonContrary_value_2) - } - else if (RuntimeType.OBJECT == value_compCommonContrary_value_type) { - valueSerializer.writeInt8(3) - const value_compCommonContrary_value_3 = unsafeCast(value_compCommonContrary_value) - valueSerializer.writeResource(value_compCommonContrary_value_3) + const value_offsetY_value_1 = unsafeCast(value_offsetY_value) + valueSerializer.writeResource(value_offsetY_value_1) } } - const value_compBackgroundFocus = value.compBackgroundFocus - let value_compBackgroundFocus_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundFocus_type = runtimeType(value_compBackgroundFocus) - valueSerializer.writeInt8(value_compBackgroundFocus_type) - if ((RuntimeType.UNDEFINED) != (value_compBackgroundFocus_type)) { - const value_compBackgroundFocus_value = value_compBackgroundFocus! - let value_compBackgroundFocus_value_type: int32 = RuntimeType.UNDEFINED - value_compBackgroundFocus_value_type = runtimeType(value_compBackgroundFocus_value) - if (((RuntimeType.NUMBER) == (value_compBackgroundFocus_value_type)) && ((unsafeCast(value_compBackgroundFocus_value)) >= (0)) && ((unsafeCast(value_compBackgroundFocus_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_compBackgroundFocus_value_0 = unsafeCast(value_compBackgroundFocus_value) - valueSerializer.writeInt32(value_compBackgroundFocus_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_compBackgroundFocus_value_type) { - valueSerializer.writeInt8(1) - const value_compBackgroundFocus_value_1 = unsafeCast(value_compBackgroundFocus_value) - valueSerializer.writeNumber(value_compBackgroundFocus_value_1) - } - else if (RuntimeType.STRING == value_compBackgroundFocus_value_type) { - valueSerializer.writeInt8(2) - const value_compBackgroundFocus_value_2 = unsafeCast(value_compBackgroundFocus_value) - valueSerializer.writeString(value_compBackgroundFocus_value_2) - } - else if (RuntimeType.OBJECT == value_compBackgroundFocus_value_type) { - valueSerializer.writeInt8(3) - const value_compBackgroundFocus_value_3 = unsafeCast(value_compBackgroundFocus_value) - valueSerializer.writeResource(value_compBackgroundFocus_value_3) + const value_colors = value.colors + let value_colors_type: int32 = RuntimeType.UNDEFINED + value_colors_type = runtimeType(value_colors) + valueSerializer.writeInt8(value_colors_type) + if ((RuntimeType.UNDEFINED) != (value_colors_type)) { + const value_colors_value = value_colors! + valueSerializer.writeInt32(value_colors_value.length) + for (let i = 0; i < value_colors_value.length; i++) { + const value_colors_value_element: ResourceColor | LinearGradient = value_colors_value[i] + let value_colors_value_element_type: int32 = RuntimeType.UNDEFINED + value_colors_value_element_type = runtimeType(value_colors_value_element) + if ((((RuntimeType.NUMBER) == (value_colors_value_element_type)) && ((unsafeCast(value_colors_value_element)) >= (0)) && ((unsafeCast(value_colors_value_element)) <= (11))) || (RuntimeType.NUMBER == value_colors_value_element_type) || (RuntimeType.STRING == value_colors_value_element_type) || (RuntimeType.OBJECT == value_colors_value_element_type)) { + valueSerializer.writeInt8(0) + const value_colors_value_element_0 = unsafeCast(value_colors_value_element) + let value_colors_value_element_0_type: int32 = RuntimeType.UNDEFINED + value_colors_value_element_0_type = runtimeType(value_colors_value_element_0) + if (((RuntimeType.NUMBER) == (value_colors_value_element_0_type)) && ((unsafeCast(value_colors_value_element_0)) >= (0)) && ((unsafeCast(value_colors_value_element_0)) <= (11))) { + valueSerializer.writeInt8(0) + const value_colors_value_element_0_0 = unsafeCast(value_colors_value_element_0) + valueSerializer.writeInt32(value_colors_value_element_0_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_colors_value_element_0_type) { + valueSerializer.writeInt8(1) + const value_colors_value_element_0_1 = unsafeCast(value_colors_value_element_0) + valueSerializer.writeNumber(value_colors_value_element_0_1) + } + else if (RuntimeType.STRING == value_colors_value_element_0_type) { + valueSerializer.writeInt8(2) + const value_colors_value_element_0_2 = unsafeCast(value_colors_value_element_0) + valueSerializer.writeString(value_colors_value_element_0_2) + } + else if (RuntimeType.OBJECT == value_colors_value_element_0_type) { + valueSerializer.writeInt8(3) + const value_colors_value_element_0_3 = unsafeCast(value_colors_value_element_0) + valueSerializer.writeResource(value_colors_value_element_0_3) + } + } + else if (((RuntimeType.OBJECT) == (value_colors_value_element_type)) && (value_colors_value_element instanceof LinearGradient)) { + valueSerializer.writeInt8(1) + const value_colors_value_element_1 = unsafeCast(value_colors_value_element) + valueSerializer.writeLinearGradient(value_colors_value_element_1) + } } } - const value_compFocusedPrimary = value.compFocusedPrimary - let value_compFocusedPrimary_type: int32 = RuntimeType.UNDEFINED - value_compFocusedPrimary_type = runtimeType(value_compFocusedPrimary) - valueSerializer.writeInt8(value_compFocusedPrimary_type) - if ((RuntimeType.UNDEFINED) != (value_compFocusedPrimary_type)) { - const value_compFocusedPrimary_value = value_compFocusedPrimary! - let value_compFocusedPrimary_value_type: int32 = RuntimeType.UNDEFINED - value_compFocusedPrimary_value_type = runtimeType(value_compFocusedPrimary_value) - if (((RuntimeType.NUMBER) == (value_compFocusedPrimary_value_type)) && ((unsafeCast(value_compFocusedPrimary_value)) >= (0)) && ((unsafeCast(value_compFocusedPrimary_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_compFocusedPrimary_value_0 = unsafeCast(value_compFocusedPrimary_value) - valueSerializer.writeInt32(value_compFocusedPrimary_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_compFocusedPrimary_value_type) { - valueSerializer.writeInt8(1) - const value_compFocusedPrimary_value_1 = unsafeCast(value_compFocusedPrimary_value) - valueSerializer.writeNumber(value_compFocusedPrimary_value_1) - } - else if (RuntimeType.STRING == value_compFocusedPrimary_value_type) { - valueSerializer.writeInt8(2) - const value_compFocusedPrimary_value_2 = unsafeCast(value_compFocusedPrimary_value) - valueSerializer.writeString(value_compFocusedPrimary_value_2) - } - else if (RuntimeType.OBJECT == value_compFocusedPrimary_value_type) { - valueSerializer.writeInt8(3) - const value_compFocusedPrimary_value_3 = unsafeCast(value_compFocusedPrimary_value) - valueSerializer.writeResource(value_compFocusedPrimary_value_3) - } + } + public writeDecoration(value: Decoration): void { + let valueSerializer: Serializer = this + const value_textDecoration = value.textDecoration + let value_textDecoration_type: int32 = RuntimeType.UNDEFINED + value_textDecoration_type = runtimeType(value_textDecoration) + valueSerializer.writeInt8(value_textDecoration_type) + if ((RuntimeType.UNDEFINED) != (value_textDecoration_type)) { + const value_textDecoration_value = value_textDecoration! + valueSerializer.writeInt32(value_textDecoration_value.valueOf()) } - const value_compFocusedSecondary = value.compFocusedSecondary - let value_compFocusedSecondary_type: int32 = RuntimeType.UNDEFINED - value_compFocusedSecondary_type = runtimeType(value_compFocusedSecondary) - valueSerializer.writeInt8(value_compFocusedSecondary_type) - if ((RuntimeType.UNDEFINED) != (value_compFocusedSecondary_type)) { - const value_compFocusedSecondary_value = value_compFocusedSecondary! - let value_compFocusedSecondary_value_type: int32 = RuntimeType.UNDEFINED - value_compFocusedSecondary_value_type = runtimeType(value_compFocusedSecondary_value) - if (((RuntimeType.NUMBER) == (value_compFocusedSecondary_value_type)) && ((unsafeCast(value_compFocusedSecondary_value)) >= (0)) && ((unsafeCast(value_compFocusedSecondary_value)) <= (11))) { + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + valueSerializer.writecommon2D_Color(value_color_value) + } + const value_decorationStyle = value.decorationStyle + let value_decorationStyle_type: int32 = RuntimeType.UNDEFINED + value_decorationStyle_type = runtimeType(value_decorationStyle) + valueSerializer.writeInt8(value_decorationStyle_type) + if ((RuntimeType.UNDEFINED) != (value_decorationStyle_type)) { + const value_decorationStyle_value = value_decorationStyle! + valueSerializer.writeInt32(value_decorationStyle_value.valueOf()) + } + const value_decorationThicknessScale = value.decorationThicknessScale + let value_decorationThicknessScale_type: int32 = RuntimeType.UNDEFINED + value_decorationThicknessScale_type = runtimeType(value_decorationThicknessScale) + valueSerializer.writeInt8(value_decorationThicknessScale_type) + if ((RuntimeType.UNDEFINED) != (value_decorationThicknessScale_type)) { + const value_decorationThicknessScale_value = value_decorationThicknessScale! + valueSerializer.writeNumber(value_decorationThicknessScale_value) + } + } + public writeDecorationStyle(value: DecorationStyle): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeDecorationStyleInterface(value: DecorationStyleInterface): void { + let valueSerializer: Serializer = this + const value_type = value.type + valueSerializer.writeInt32(value_type.valueOf()) + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_compFocusedSecondary_value_0 = unsafeCast(value_compFocusedSecondary_value) - valueSerializer.writeInt32(value_compFocusedSecondary_value_0.valueOf()) + const value_color_value_0 = unsafeCast(value_color_value) + valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_compFocusedSecondary_value_type) { + else if (RuntimeType.NUMBER == value_color_value_type) { valueSerializer.writeInt8(1) - const value_compFocusedSecondary_value_1 = unsafeCast(value_compFocusedSecondary_value) - valueSerializer.writeNumber(value_compFocusedSecondary_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.STRING == value_compFocusedSecondary_value_type) { + else if (RuntimeType.STRING == value_color_value_type) { valueSerializer.writeInt8(2) - const value_compFocusedSecondary_value_2 = unsafeCast(value_compFocusedSecondary_value) - valueSerializer.writeString(value_compFocusedSecondary_value_2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.OBJECT == value_compFocusedSecondary_value_type) { + else if (RuntimeType.OBJECT == value_color_value_type) { valueSerializer.writeInt8(3) - const value_compFocusedSecondary_value_3 = unsafeCast(value_compFocusedSecondary_value) - valueSerializer.writeResource(value_compFocusedSecondary_value_3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) } } - const value_compFocusedTertiary = value.compFocusedTertiary - let value_compFocusedTertiary_type: int32 = RuntimeType.UNDEFINED - value_compFocusedTertiary_type = runtimeType(value_compFocusedTertiary) - valueSerializer.writeInt8(value_compFocusedTertiary_type) - if ((RuntimeType.UNDEFINED) != (value_compFocusedTertiary_type)) { - const value_compFocusedTertiary_value = value_compFocusedTertiary! - let value_compFocusedTertiary_value_type: int32 = RuntimeType.UNDEFINED - value_compFocusedTertiary_value_type = runtimeType(value_compFocusedTertiary_value) - if (((RuntimeType.NUMBER) == (value_compFocusedTertiary_value_type)) && ((unsafeCast(value_compFocusedTertiary_value)) >= (0)) && ((unsafeCast(value_compFocusedTertiary_value)) <= (11))) { + const value_style = value.style + let value_style_type: int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = value_style! + valueSerializer.writeInt32(value_style_value.valueOf()) + } + } + public writeDecorationStyleResult(value: DecorationStyleResult): void { + let valueSerializer: Serializer = this + const value_type = value.type + valueSerializer.writeInt32(value_type.valueOf()) + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + if (((RuntimeType.NUMBER) == (value_color_type)) && ((unsafeCast(value_color)) >= (0)) && ((unsafeCast(value_color)) <= (11))) { + valueSerializer.writeInt8(0) + const value_color_0 = unsafeCast(value_color) + valueSerializer.writeInt32(value_color_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_color_type) { + valueSerializer.writeInt8(1) + const value_color_1 = unsafeCast(value_color) + valueSerializer.writeNumber(value_color_1) + } + else if (RuntimeType.STRING == value_color_type) { + valueSerializer.writeInt8(2) + const value_color_2 = unsafeCast(value_color) + valueSerializer.writeString(value_color_2) + } + else if (RuntimeType.OBJECT == value_color_type) { + valueSerializer.writeInt8(3) + const value_color_3 = unsafeCast(value_color) + valueSerializer.writeResource(value_color_3) + } + const value_style = value.style + let value_style_type: int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = value_style! + valueSerializer.writeInt32(value_style_value.valueOf()) + } + } + public writeDividerStyleOptions(value: DividerStyleOptions): void { + let valueSerializer: Serializer = this + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + valueSerializer.writeLengthMetrics(value_strokeWidth_value) + } + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_compFocusedTertiary_value_0 = unsafeCast(value_compFocusedTertiary_value) - valueSerializer.writeInt32(value_compFocusedTertiary_value_0.valueOf()) + const value_color_value_0 = unsafeCast(value_color_value) + valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_compFocusedTertiary_value_type) { + else if (RuntimeType.NUMBER == value_color_value_type) { valueSerializer.writeInt8(1) - const value_compFocusedTertiary_value_1 = unsafeCast(value_compFocusedTertiary_value) - valueSerializer.writeNumber(value_compFocusedTertiary_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.STRING == value_compFocusedTertiary_value_type) { + else if (RuntimeType.STRING == value_color_value_type) { valueSerializer.writeInt8(2) - const value_compFocusedTertiary_value_2 = unsafeCast(value_compFocusedTertiary_value) - valueSerializer.writeString(value_compFocusedTertiary_value_2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.OBJECT == value_compFocusedTertiary_value_type) { + else if (RuntimeType.OBJECT == value_color_value_type) { valueSerializer.writeInt8(3) - const value_compFocusedTertiary_value_3 = unsafeCast(value_compFocusedTertiary_value) - valueSerializer.writeResource(value_compFocusedTertiary_value_3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) } } - const value_interactiveHover = value.interactiveHover - let value_interactiveHover_type: int32 = RuntimeType.UNDEFINED - value_interactiveHover_type = runtimeType(value_interactiveHover) - valueSerializer.writeInt8(value_interactiveHover_type) - if ((RuntimeType.UNDEFINED) != (value_interactiveHover_type)) { - const value_interactiveHover_value = value_interactiveHover! - let value_interactiveHover_value_type: int32 = RuntimeType.UNDEFINED - value_interactiveHover_value_type = runtimeType(value_interactiveHover_value) - if (((RuntimeType.NUMBER) == (value_interactiveHover_value_type)) && ((unsafeCast(value_interactiveHover_value)) >= (0)) && ((unsafeCast(value_interactiveHover_value)) <= (11))) { + const value_startMargin = value.startMargin + let value_startMargin_type: int32 = RuntimeType.UNDEFINED + value_startMargin_type = runtimeType(value_startMargin) + valueSerializer.writeInt8(value_startMargin_type) + if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { + const value_startMargin_value = value_startMargin! + valueSerializer.writeLengthMetrics(value_startMargin_value) + } + const value_endMargin = value.endMargin + let value_endMargin_type: int32 = RuntimeType.UNDEFINED + value_endMargin_type = runtimeType(value_endMargin) + valueSerializer.writeInt8(value_endMargin_type) + if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { + const value_endMargin_value = value_endMargin! + valueSerializer.writeLengthMetrics(value_endMargin_value) + } + const value_mode = value.mode + let value_mode_type: int32 = RuntimeType.UNDEFINED + value_mode_type = runtimeType(value_mode) + valueSerializer.writeInt8(value_mode_type) + if ((RuntimeType.UNDEFINED) != (value_mode_type)) { + const value_mode_value = value_mode! + valueSerializer.writeInt32(value_mode_value.valueOf()) + } + } + public writeDragPreviewOptions(value: DragPreviewOptions): void { + let valueSerializer: Serializer = this + const value_mode = value.mode + let value_mode_type: int32 = RuntimeType.UNDEFINED + value_mode_type = runtimeType(value_mode) + valueSerializer.writeInt8(value_mode_type) + if ((RuntimeType.UNDEFINED) != (value_mode_type)) { + const value_mode_value = value_mode! + let value_mode_value_type: int32 = RuntimeType.UNDEFINED + value_mode_value_type = runtimeType(value_mode_value) + if (RuntimeType.NUMBER == value_mode_value_type) { valueSerializer.writeInt8(0) - const value_interactiveHover_value_0 = unsafeCast(value_interactiveHover_value) - valueSerializer.writeInt32(value_interactiveHover_value_0.valueOf()) + const value_mode_value_0 = unsafeCast(value_mode_value) + valueSerializer.writeInt32(value_mode_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_interactiveHover_value_type) { + else if (RuntimeType.OBJECT == value_mode_value_type) { valueSerializer.writeInt8(1) - const value_interactiveHover_value_1 = unsafeCast(value_interactiveHover_value) - valueSerializer.writeNumber(value_interactiveHover_value_1) - } - else if (RuntimeType.STRING == value_interactiveHover_value_type) { - valueSerializer.writeInt8(2) - const value_interactiveHover_value_2 = unsafeCast(value_interactiveHover_value) - valueSerializer.writeString(value_interactiveHover_value_2) - } - else if (RuntimeType.OBJECT == value_interactiveHover_value_type) { - valueSerializer.writeInt8(3) - const value_interactiveHover_value_3 = unsafeCast(value_interactiveHover_value) - valueSerializer.writeResource(value_interactiveHover_value_3) + const value_mode_value_1 = unsafeCast>(value_mode_value) + valueSerializer.writeInt32(value_mode_value_1.length) + for (let i = 0; i < value_mode_value_1.length; i++) { + const value_mode_value_1_element: DragPreviewMode = value_mode_value_1[i] + valueSerializer.writeInt32(value_mode_value_1_element.valueOf()) + } } } - const value_interactivePressed = value.interactivePressed - let value_interactivePressed_type: int32 = RuntimeType.UNDEFINED - value_interactivePressed_type = runtimeType(value_interactivePressed) - valueSerializer.writeInt8(value_interactivePressed_type) - if ((RuntimeType.UNDEFINED) != (value_interactivePressed_type)) { - const value_interactivePressed_value = value_interactivePressed! - let value_interactivePressed_value_type: int32 = RuntimeType.UNDEFINED - value_interactivePressed_value_type = runtimeType(value_interactivePressed_value) - if (((RuntimeType.NUMBER) == (value_interactivePressed_value_type)) && ((unsafeCast(value_interactivePressed_value)) >= (0)) && ((unsafeCast(value_interactivePressed_value)) <= (11))) { + const value_modifier = value.modifier + let value_modifier_type: int32 = RuntimeType.UNDEFINED + value_modifier_type = runtimeType(value_modifier) + valueSerializer.writeInt8(value_modifier_type) + if ((RuntimeType.UNDEFINED) != (value_modifier_type)) { + const value_modifier_value = value_modifier! + valueSerializer.writeImageModifier(value_modifier_value) + } + const value_numberBadge = value.numberBadge + let value_numberBadge_type: int32 = RuntimeType.UNDEFINED + value_numberBadge_type = runtimeType(value_numberBadge) + valueSerializer.writeInt8(value_numberBadge_type) + if ((RuntimeType.UNDEFINED) != (value_numberBadge_type)) { + const value_numberBadge_value = value_numberBadge! + let value_numberBadge_value_type: int32 = RuntimeType.UNDEFINED + value_numberBadge_value_type = runtimeType(value_numberBadge_value) + if (RuntimeType.BOOLEAN == value_numberBadge_value_type) { valueSerializer.writeInt8(0) - const value_interactivePressed_value_0 = unsafeCast(value_interactivePressed_value) - valueSerializer.writeInt32(value_interactivePressed_value_0.valueOf()) + const value_numberBadge_value_0 = unsafeCast(value_numberBadge_value) + valueSerializer.writeBoolean(value_numberBadge_value_0) } - else if (RuntimeType.NUMBER == value_interactivePressed_value_type) { + else if (RuntimeType.NUMBER == value_numberBadge_value_type) { valueSerializer.writeInt8(1) - const value_interactivePressed_value_1 = unsafeCast(value_interactivePressed_value) - valueSerializer.writeNumber(value_interactivePressed_value_1) - } - else if (RuntimeType.STRING == value_interactivePressed_value_type) { - valueSerializer.writeInt8(2) - const value_interactivePressed_value_2 = unsafeCast(value_interactivePressed_value) - valueSerializer.writeString(value_interactivePressed_value_2) - } - else if (RuntimeType.OBJECT == value_interactivePressed_value_type) { - valueSerializer.writeInt8(3) - const value_interactivePressed_value_3 = unsafeCast(value_interactivePressed_value) - valueSerializer.writeResource(value_interactivePressed_value_3) + const value_numberBadge_value_1 = unsafeCast(value_numberBadge_value) + valueSerializer.writeNumber(value_numberBadge_value_1) } } - const value_interactiveFocus = value.interactiveFocus - let value_interactiveFocus_type: int32 = RuntimeType.UNDEFINED - value_interactiveFocus_type = runtimeType(value_interactiveFocus) - valueSerializer.writeInt8(value_interactiveFocus_type) - if ((RuntimeType.UNDEFINED) != (value_interactiveFocus_type)) { - const value_interactiveFocus_value = value_interactiveFocus! - let value_interactiveFocus_value_type: int32 = RuntimeType.UNDEFINED - value_interactiveFocus_value_type = runtimeType(value_interactiveFocus_value) - if (((RuntimeType.NUMBER) == (value_interactiveFocus_value_type)) && ((unsafeCast(value_interactiveFocus_value)) >= (0)) && ((unsafeCast(value_interactiveFocus_value)) <= (11))) { + const value_sizeChangeEffect = value.sizeChangeEffect + let value_sizeChangeEffect_type: int32 = RuntimeType.UNDEFINED + value_sizeChangeEffect_type = runtimeType(value_sizeChangeEffect) + valueSerializer.writeInt8(value_sizeChangeEffect_type) + if ((RuntimeType.UNDEFINED) != (value_sizeChangeEffect_type)) { + const value_sizeChangeEffect_value = value_sizeChangeEffect! + valueSerializer.writeInt32(value_sizeChangeEffect_value.valueOf()) + } + } + public writeEdgeColors(value: EdgeColors): void { + let valueSerializer: Serializer = this + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type: int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (((RuntimeType.NUMBER) == (value_top_value_type)) && ((unsafeCast(value_top_value)) >= (0)) && ((unsafeCast(value_top_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_interactiveFocus_value_0 = unsafeCast(value_interactiveFocus_value) - valueSerializer.writeInt32(value_interactiveFocus_value_0.valueOf()) + const value_top_value_0 = unsafeCast(value_top_value) + valueSerializer.writeInt32(value_top_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_interactiveFocus_value_type) { + else if (RuntimeType.NUMBER == value_top_value_type) { valueSerializer.writeInt8(1) - const value_interactiveFocus_value_1 = unsafeCast(value_interactiveFocus_value) - valueSerializer.writeNumber(value_interactiveFocus_value_1) + const value_top_value_1 = unsafeCast(value_top_value) + valueSerializer.writeNumber(value_top_value_1) } - else if (RuntimeType.STRING == value_interactiveFocus_value_type) { + else if (RuntimeType.STRING == value_top_value_type) { valueSerializer.writeInt8(2) - const value_interactiveFocus_value_2 = unsafeCast(value_interactiveFocus_value) - valueSerializer.writeString(value_interactiveFocus_value_2) + const value_top_value_2 = unsafeCast(value_top_value) + valueSerializer.writeString(value_top_value_2) } - else if (RuntimeType.OBJECT == value_interactiveFocus_value_type) { + else if (RuntimeType.OBJECT == value_top_value_type) { valueSerializer.writeInt8(3) - const value_interactiveFocus_value_3 = unsafeCast(value_interactiveFocus_value) - valueSerializer.writeResource(value_interactiveFocus_value_3) + const value_top_value_3 = unsafeCast(value_top_value) + valueSerializer.writeResource(value_top_value_3) } } - const value_interactiveActive = value.interactiveActive - let value_interactiveActive_type: int32 = RuntimeType.UNDEFINED - value_interactiveActive_type = runtimeType(value_interactiveActive) - valueSerializer.writeInt8(value_interactiveActive_type) - if ((RuntimeType.UNDEFINED) != (value_interactiveActive_type)) { - const value_interactiveActive_value = value_interactiveActive! - let value_interactiveActive_value_type: int32 = RuntimeType.UNDEFINED - value_interactiveActive_value_type = runtimeType(value_interactiveActive_value) - if (((RuntimeType.NUMBER) == (value_interactiveActive_value_type)) && ((unsafeCast(value_interactiveActive_value)) >= (0)) && ((unsafeCast(value_interactiveActive_value)) <= (11))) { + const value_right = value.right + let value_right_type: int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type: int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (((RuntimeType.NUMBER) == (value_right_value_type)) && ((unsafeCast(value_right_value)) >= (0)) && ((unsafeCast(value_right_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_interactiveActive_value_0 = unsafeCast(value_interactiveActive_value) - valueSerializer.writeInt32(value_interactiveActive_value_0.valueOf()) + const value_right_value_0 = unsafeCast(value_right_value) + valueSerializer.writeInt32(value_right_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_interactiveActive_value_type) { + else if (RuntimeType.NUMBER == value_right_value_type) { valueSerializer.writeInt8(1) - const value_interactiveActive_value_1 = unsafeCast(value_interactiveActive_value) - valueSerializer.writeNumber(value_interactiveActive_value_1) + const value_right_value_1 = unsafeCast(value_right_value) + valueSerializer.writeNumber(value_right_value_1) } - else if (RuntimeType.STRING == value_interactiveActive_value_type) { + else if (RuntimeType.STRING == value_right_value_type) { valueSerializer.writeInt8(2) - const value_interactiveActive_value_2 = unsafeCast(value_interactiveActive_value) - valueSerializer.writeString(value_interactiveActive_value_2) + const value_right_value_2 = unsafeCast(value_right_value) + valueSerializer.writeString(value_right_value_2) } - else if (RuntimeType.OBJECT == value_interactiveActive_value_type) { + else if (RuntimeType.OBJECT == value_right_value_type) { valueSerializer.writeInt8(3) - const value_interactiveActive_value_3 = unsafeCast(value_interactiveActive_value) - valueSerializer.writeResource(value_interactiveActive_value_3) + const value_right_value_3 = unsafeCast(value_right_value) + valueSerializer.writeResource(value_right_value_3) } } - const value_interactiveSelect = value.interactiveSelect - let value_interactiveSelect_type: int32 = RuntimeType.UNDEFINED - value_interactiveSelect_type = runtimeType(value_interactiveSelect) - valueSerializer.writeInt8(value_interactiveSelect_type) - if ((RuntimeType.UNDEFINED) != (value_interactiveSelect_type)) { - const value_interactiveSelect_value = value_interactiveSelect! - let value_interactiveSelect_value_type: int32 = RuntimeType.UNDEFINED - value_interactiveSelect_value_type = runtimeType(value_interactiveSelect_value) - if (((RuntimeType.NUMBER) == (value_interactiveSelect_value_type)) && ((unsafeCast(value_interactiveSelect_value)) >= (0)) && ((unsafeCast(value_interactiveSelect_value)) <= (11))) { + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type: int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (((RuntimeType.NUMBER) == (value_bottom_value_type)) && ((unsafeCast(value_bottom_value)) >= (0)) && ((unsafeCast(value_bottom_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_interactiveSelect_value_0 = unsafeCast(value_interactiveSelect_value) - valueSerializer.writeInt32(value_interactiveSelect_value_0.valueOf()) + const value_bottom_value_0 = unsafeCast(value_bottom_value) + valueSerializer.writeInt32(value_bottom_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_interactiveSelect_value_type) { + else if (RuntimeType.NUMBER == value_bottom_value_type) { valueSerializer.writeInt8(1) - const value_interactiveSelect_value_1 = unsafeCast(value_interactiveSelect_value) - valueSerializer.writeNumber(value_interactiveSelect_value_1) + const value_bottom_value_1 = unsafeCast(value_bottom_value) + valueSerializer.writeNumber(value_bottom_value_1) } - else if (RuntimeType.STRING == value_interactiveSelect_value_type) { + else if (RuntimeType.STRING == value_bottom_value_type) { valueSerializer.writeInt8(2) - const value_interactiveSelect_value_2 = unsafeCast(value_interactiveSelect_value) - valueSerializer.writeString(value_interactiveSelect_value_2) + const value_bottom_value_2 = unsafeCast(value_bottom_value) + valueSerializer.writeString(value_bottom_value_2) } - else if (RuntimeType.OBJECT == value_interactiveSelect_value_type) { + else if (RuntimeType.OBJECT == value_bottom_value_type) { valueSerializer.writeInt8(3) - const value_interactiveSelect_value_3 = unsafeCast(value_interactiveSelect_value) - valueSerializer.writeResource(value_interactiveSelect_value_3) + const value_bottom_value_3 = unsafeCast(value_bottom_value) + valueSerializer.writeResource(value_bottom_value_3) } } - const value_interactiveClick = value.interactiveClick - let value_interactiveClick_type: int32 = RuntimeType.UNDEFINED - value_interactiveClick_type = runtimeType(value_interactiveClick) - valueSerializer.writeInt8(value_interactiveClick_type) - if ((RuntimeType.UNDEFINED) != (value_interactiveClick_type)) { - const value_interactiveClick_value = value_interactiveClick! - let value_interactiveClick_value_type: int32 = RuntimeType.UNDEFINED - value_interactiveClick_value_type = runtimeType(value_interactiveClick_value) - if (((RuntimeType.NUMBER) == (value_interactiveClick_value_type)) && ((unsafeCast(value_interactiveClick_value)) >= (0)) && ((unsafeCast(value_interactiveClick_value)) <= (11))) { + const value_left = value.left + let value_left_type: int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type: int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (((RuntimeType.NUMBER) == (value_left_value_type)) && ((unsafeCast(value_left_value)) >= (0)) && ((unsafeCast(value_left_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_interactiveClick_value_0 = unsafeCast(value_interactiveClick_value) - valueSerializer.writeInt32(value_interactiveClick_value_0.valueOf()) + const value_left_value_0 = unsafeCast(value_left_value) + valueSerializer.writeInt32(value_left_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_interactiveClick_value_type) { + else if (RuntimeType.NUMBER == value_left_value_type) { valueSerializer.writeInt8(1) - const value_interactiveClick_value_1 = unsafeCast(value_interactiveClick_value) - valueSerializer.writeNumber(value_interactiveClick_value_1) + const value_left_value_1 = unsafeCast(value_left_value) + valueSerializer.writeNumber(value_left_value_1) } - else if (RuntimeType.STRING == value_interactiveClick_value_type) { + else if (RuntimeType.STRING == value_left_value_type) { valueSerializer.writeInt8(2) - const value_interactiveClick_value_2 = unsafeCast(value_interactiveClick_value) - valueSerializer.writeString(value_interactiveClick_value_2) + const value_left_value_2 = unsafeCast(value_left_value) + valueSerializer.writeString(value_left_value_2) } - else if (RuntimeType.OBJECT == value_interactiveClick_value_type) { + else if (RuntimeType.OBJECT == value_left_value_type) { valueSerializer.writeInt8(3) - const value_interactiveClick_value_3 = unsafeCast(value_interactiveClick_value) - valueSerializer.writeResource(value_interactiveClick_value_3) + const value_left_value_3 = unsafeCast(value_left_value) + valueSerializer.writeResource(value_left_value_3) + } + } + } + public writeExpandedMenuItemOptions(value: ExpandedMenuItemOptions): void { + let valueSerializer: Serializer = this + const value_content = value.content + let value_content_type: int32 = RuntimeType.UNDEFINED + value_content_type = runtimeType(value_content) + if (RuntimeType.STRING == value_content_type) { + valueSerializer.writeInt8(0) + const value_content_0 = unsafeCast(value_content) + valueSerializer.writeString(value_content_0) + } + else if (RuntimeType.OBJECT == value_content_type) { + valueSerializer.writeInt8(1) + const value_content_1 = unsafeCast(value_content) + valueSerializer.writeResource(value_content_1) + } + const value_startIcon = value.startIcon + let value_startIcon_type: int32 = RuntimeType.UNDEFINED + value_startIcon_type = runtimeType(value_startIcon) + valueSerializer.writeInt8(value_startIcon_type) + if ((RuntimeType.UNDEFINED) != (value_startIcon_type)) { + const value_startIcon_value = value_startIcon! + let value_startIcon_value_type: int32 = RuntimeType.UNDEFINED + value_startIcon_value_type = runtimeType(value_startIcon_value) + if (RuntimeType.STRING == value_startIcon_value_type) { + valueSerializer.writeInt8(0) + const value_startIcon_value_0 = unsafeCast(value_startIcon_value) + valueSerializer.writeString(value_startIcon_value_0) + } + else if (RuntimeType.OBJECT == value_startIcon_value_type) { + valueSerializer.writeInt8(1) + const value_startIcon_value_1 = unsafeCast(value_startIcon_value) + valueSerializer.writeResource(value_startIcon_value_1) } } + const value_action = value.action + valueSerializer.holdAndWriteCallback(value_action) + } + public writeFadingEdgeOptions(value: FadingEdgeOptions): void { + let valueSerializer: Serializer = this + const value_fadingEdgeLength = value.fadingEdgeLength + let value_fadingEdgeLength_type: int32 = RuntimeType.UNDEFINED + value_fadingEdgeLength_type = runtimeType(value_fadingEdgeLength) + valueSerializer.writeInt8(value_fadingEdgeLength_type) + if ((RuntimeType.UNDEFINED) != (value_fadingEdgeLength_type)) { + const value_fadingEdgeLength_value = value_fadingEdgeLength! + valueSerializer.writeLengthMetrics(value_fadingEdgeLength_value) + } + } + public writeFlexSpaceOptions(value: FlexSpaceOptions): void { + let valueSerializer: Serializer = this + const value_main = value.main + let value_main_type: int32 = RuntimeType.UNDEFINED + value_main_type = runtimeType(value_main) + valueSerializer.writeInt8(value_main_type) + if ((RuntimeType.UNDEFINED) != (value_main_type)) { + const value_main_value = value_main! + valueSerializer.writeLengthMetrics(value_main_value) + } + const value_cross = value.cross + let value_cross_type: int32 = RuntimeType.UNDEFINED + value_cross_type = runtimeType(value_cross) + valueSerializer.writeInt8(value_cross_type) + if ((RuntimeType.UNDEFINED) != (value_cross_type)) { + const value_cross_value = value_cross! + valueSerializer.writeLengthMetrics(value_cross_value) + } + } + public writeFocusBoxStyle(value: FocusBoxStyle): void { + let valueSerializer: Serializer = this + const value_margin = value.margin + let value_margin_type: int32 = RuntimeType.UNDEFINED + value_margin_type = runtimeType(value_margin) + valueSerializer.writeInt8(value_margin_type) + if ((RuntimeType.UNDEFINED) != (value_margin_type)) { + const value_margin_value = value_margin! + valueSerializer.writeLengthMetrics(value_margin_value) + } + const value_strokeColor = value.strokeColor + let value_strokeColor_type: int32 = RuntimeType.UNDEFINED + value_strokeColor_type = runtimeType(value_strokeColor) + valueSerializer.writeInt8(value_strokeColor_type) + if ((RuntimeType.UNDEFINED) != (value_strokeColor_type)) { + const value_strokeColor_value = value_strokeColor! + valueSerializer.writeColorMetrics(value_strokeColor_value) + } + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + valueSerializer.writeLengthMetrics(value_strokeWidth_value) + } + } + public writeFontOptions(value: FontOptions): void { + let valueSerializer: Serializer = this + const value_familyName = value.familyName + let value_familyName_type: int32 = RuntimeType.UNDEFINED + value_familyName_type = runtimeType(value_familyName) + if (RuntimeType.STRING == value_familyName_type) { + valueSerializer.writeInt8(0) + const value_familyName_0 = unsafeCast(value_familyName) + valueSerializer.writeString(value_familyName_0) + } + else if (RuntimeType.OBJECT == value_familyName_type) { + valueSerializer.writeInt8(1) + const value_familyName_1 = unsafeCast(value_familyName) + valueSerializer.writeResource(value_familyName_1) + } + const value_familySrc = value.familySrc + let value_familySrc_type: int32 = RuntimeType.UNDEFINED + value_familySrc_type = runtimeType(value_familySrc) + if (RuntimeType.STRING == value_familySrc_type) { + valueSerializer.writeInt8(0) + const value_familySrc_0 = unsafeCast(value_familySrc) + valueSerializer.writeString(value_familySrc_0) + } + else if (RuntimeType.OBJECT == value_familySrc_type) { + valueSerializer.writeInt8(1) + const value_familySrc_1 = unsafeCast(value_familySrc) + valueSerializer.writeResource(value_familySrc_1) + } + } + public writeForegroundBlurStyleOptions(value: ForegroundBlurStyleOptions): void { + let valueSerializer: Serializer = this + const value_colorMode = value.colorMode + let value_colorMode_type: int32 = RuntimeType.UNDEFINED + value_colorMode_type = runtimeType(value_colorMode) + valueSerializer.writeInt8(value_colorMode_type) + if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { + const value_colorMode_value = value_colorMode! + valueSerializer.writeInt32(value_colorMode_value.valueOf()) + } + const value_adaptiveColor = value.adaptiveColor + let value_adaptiveColor_type: int32 = RuntimeType.UNDEFINED + value_adaptiveColor_type = runtimeType(value_adaptiveColor) + valueSerializer.writeInt8(value_adaptiveColor_type) + if ((RuntimeType.UNDEFINED) != (value_adaptiveColor_type)) { + const value_adaptiveColor_value = value_adaptiveColor! + valueSerializer.writeInt32(value_adaptiveColor_value.valueOf()) + } + const value_scale = value.scale + let value_scale_type: int32 = RuntimeType.UNDEFINED + value_scale_type = runtimeType(value_scale) + valueSerializer.writeInt8(value_scale_type) + if ((RuntimeType.UNDEFINED) != (value_scale_type)) { + const value_scale_value = value_scale! + valueSerializer.writeNumber(value_scale_value) + } + const value_blurOptions = value.blurOptions + let value_blurOptions_type: int32 = RuntimeType.UNDEFINED + value_blurOptions_type = runtimeType(value_blurOptions) + valueSerializer.writeInt8(value_blurOptions_type) + if ((RuntimeType.UNDEFINED) != (value_blurOptions_type)) { + const value_blurOptions_value = value_blurOptions! + valueSerializer.writeBlurOptions(value_blurOptions_value) + } + } + public writeFormInfo(value: FormInfo): void { + let valueSerializer: Serializer = this + const value_id = value.id + let value_id_type: int32 = RuntimeType.UNDEFINED + value_id_type = runtimeType(value_id) + if (RuntimeType.NUMBER == value_id_type) { + valueSerializer.writeInt8(0) + const value_id_0 = unsafeCast(value_id) + valueSerializer.writeInt64(value_id_0) + } + else if (RuntimeType.STRING == value_id_type) { + valueSerializer.writeInt8(1) + const value_id_1 = unsafeCast(value_id) + valueSerializer.writeString(value_id_1) + } + const value_name = value.name + valueSerializer.writeString(value_name) + const value_bundle = value.bundle + valueSerializer.writeString(value_bundle) + const value_ability = value.ability + valueSerializer.writeString(value_ability) + const value_module = value.module + valueSerializer.writeString(value_module) + const value_dimension = value.dimension + let value_dimension_type: int32 = RuntimeType.UNDEFINED + value_dimension_type = runtimeType(value_dimension) + valueSerializer.writeInt8(value_dimension_type) + if ((RuntimeType.UNDEFINED) != (value_dimension_type)) { + const value_dimension_value = value_dimension! + valueSerializer.writeInt32(value_dimension_value.valueOf()) + } + const value_temporary = value.temporary + let value_temporary_type: int32 = RuntimeType.UNDEFINED + value_temporary_type = runtimeType(value_temporary) + valueSerializer.writeInt8(value_temporary_type) + if ((RuntimeType.UNDEFINED) != (value_temporary_type)) { + const value_temporary_value = value_temporary! + valueSerializer.writeBoolean(value_temporary_value) + } + const value_want = value.want + let value_want_type: int32 = RuntimeType.UNDEFINED + value_want_type = runtimeType(value_want) + valueSerializer.writeInt8(value_want_type) + if ((RuntimeType.UNDEFINED) != (value_want_type)) { + const value_want_value = value_want! + valueSerializer.writeWant(value_want_value) + } + const value_renderingMode = value.renderingMode + let value_renderingMode_type: int32 = RuntimeType.UNDEFINED + value_renderingMode_type = runtimeType(value_renderingMode) + valueSerializer.writeInt8(value_renderingMode_type) + if ((RuntimeType.UNDEFINED) != (value_renderingMode_type)) { + const value_renderingMode_value = value_renderingMode! + valueSerializer.writeInt32(value_renderingMode_value.valueOf()) + } + const value_shape = value.shape + let value_shape_type: int32 = RuntimeType.UNDEFINED + value_shape_type = runtimeType(value_shape) + valueSerializer.writeInt8(value_shape_type) + if ((RuntimeType.UNDEFINED) != (value_shape_type)) { + const value_shape_value = value_shape! + valueSerializer.writeInt32(value_shape_value.valueOf()) + } } - writeDataPanelShadowOptions(value: DataPanelShadowOptions): void { + public writeGaugeShadowOptions(value: GaugeShadowOptions): void { let valueSerializer: Serializer = this const value_radius = value.radius let value_radius_type: int32 = RuntimeType.UNDEFINED @@ -9632,292 +10323,326 @@ export class Serializer extends SerializerBase { valueSerializer.writeResource(value_offsetY_value_1) } } - const value_colors = value.colors - let value_colors_type: int32 = RuntimeType.UNDEFINED - value_colors_type = runtimeType(value_colors) - valueSerializer.writeInt8(value_colors_type) - if ((RuntimeType.UNDEFINED) != (value_colors_type)) { - const value_colors_value = value_colors! - valueSerializer.writeInt32(value_colors_value.length) - for (let i = 0; i < value_colors_value.length; i++) { - const value_colors_value_element: ResourceColor | LinearGradient = value_colors_value[i] - let value_colors_value_element_type: int32 = RuntimeType.UNDEFINED - value_colors_value_element_type = runtimeType(value_colors_value_element) - if ((((RuntimeType.NUMBER) == (value_colors_value_element_type)) && ((unsafeCast(value_colors_value_element)) >= (0)) && ((unsafeCast(value_colors_value_element)) <= (11))) || (RuntimeType.NUMBER == value_colors_value_element_type) || (RuntimeType.STRING == value_colors_value_element_type) || (RuntimeType.OBJECT == value_colors_value_element_type)) { - valueSerializer.writeInt8(0) - const value_colors_value_element_0 = unsafeCast(value_colors_value_element) - let value_colors_value_element_0_type: int32 = RuntimeType.UNDEFINED - value_colors_value_element_0_type = runtimeType(value_colors_value_element_0) - if (((RuntimeType.NUMBER) == (value_colors_value_element_0_type)) && ((unsafeCast(value_colors_value_element_0)) >= (0)) && ((unsafeCast(value_colors_value_element_0)) <= (11))) { - valueSerializer.writeInt8(0) - const value_colors_value_element_0_0 = unsafeCast(value_colors_value_element_0) - valueSerializer.writeInt32(value_colors_value_element_0_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_colors_value_element_0_type) { - valueSerializer.writeInt8(1) - const value_colors_value_element_0_1 = unsafeCast(value_colors_value_element_0) - valueSerializer.writeNumber(value_colors_value_element_0_1) - } - else if (RuntimeType.STRING == value_colors_value_element_0_type) { - valueSerializer.writeInt8(2) - const value_colors_value_element_0_2 = unsafeCast(value_colors_value_element_0) - valueSerializer.writeString(value_colors_value_element_0_2) - } - else if (RuntimeType.OBJECT == value_colors_value_element_0_type) { - valueSerializer.writeInt8(3) - const value_colors_value_element_0_3 = unsafeCast(value_colors_value_element_0) - valueSerializer.writeResource(value_colors_value_element_0_3) - } - } - else if (((RuntimeType.OBJECT) == (value_colors_value_element_type)) && (value_colors_value_element instanceof LinearGradient)) { - valueSerializer.writeInt8(1) - const value_colors_value_element_1 = unsafeCast(value_colors_value_element) - valueSerializer.writeLinearGradient(value_colors_value_element_1) - } - } - } - } - writeDecoration(value: Decoration): void { - let valueSerializer: Serializer = this - const value_textDecoration = value.textDecoration - let value_textDecoration_type: int32 = RuntimeType.UNDEFINED - value_textDecoration_type = runtimeType(value_textDecoration) - valueSerializer.writeInt8(value_textDecoration_type) - if ((RuntimeType.UNDEFINED) != (value_textDecoration_type)) { - const value_textDecoration_value = value_textDecoration! - valueSerializer.writeInt32(value_textDecoration_value.valueOf()) - } - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - valueSerializer.writecommon2D_Color(value_color_value) - } - const value_decorationStyle = value.decorationStyle - let value_decorationStyle_type: int32 = RuntimeType.UNDEFINED - value_decorationStyle_type = runtimeType(value_decorationStyle) - valueSerializer.writeInt8(value_decorationStyle_type) - if ((RuntimeType.UNDEFINED) != (value_decorationStyle_type)) { - const value_decorationStyle_value = value_decorationStyle! - valueSerializer.writeInt32(value_decorationStyle_value.valueOf()) - } - const value_decorationThicknessScale = value.decorationThicknessScale - let value_decorationThicknessScale_type: int32 = RuntimeType.UNDEFINED - value_decorationThicknessScale_type = runtimeType(value_decorationThicknessScale) - valueSerializer.writeInt8(value_decorationThicknessScale_type) - if ((RuntimeType.UNDEFINED) != (value_decorationThicknessScale_type)) { - const value_decorationThicknessScale_value = value_decorationThicknessScale! - valueSerializer.writeNumber(value_decorationThicknessScale_value) - } - } - writeDecorationStyle(value: DecorationStyle): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) } - writeDecorationStyleInterface(value: DecorationStyleInterface): void { + public writeGridColOptions(value: GridColOptions): void { let valueSerializer: Serializer = this - const value_type = value.type - valueSerializer.writeInt32(value_type.valueOf()) - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { + const value_span = value.span + let value_span_type: int32 = RuntimeType.UNDEFINED + value_span_type = runtimeType(value_span) + valueSerializer.writeInt8(value_span_type) + if ((RuntimeType.UNDEFINED) != (value_span_type)) { + const value_span_value = value_span! + let value_span_value_type: int32 = RuntimeType.UNDEFINED + value_span_value_type = runtimeType(value_span_value) + if (RuntimeType.NUMBER == value_span_value_type) { valueSerializer.writeInt8(0) - const value_color_value_0 = unsafeCast(value_color_value) - valueSerializer.writeInt32(value_color_value_0.valueOf()) + const value_span_value_0 = unsafeCast(value_span_value) + valueSerializer.writeNumber(value_span_value_0) } - else if (RuntimeType.NUMBER == value_color_value_type) { + else if (RuntimeType.OBJECT == value_span_value_type) { valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeNumber(value_color_value_1) + const value_span_value_1 = unsafeCast(value_span_value) + valueSerializer.writeGridColColumnOption(value_span_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_2) + } + const value_offset = value.offset + let value_offset_type: int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + let value_offset_value_type: int32 = RuntimeType.UNDEFINED + value_offset_value_type = runtimeType(value_offset_value) + if (RuntimeType.NUMBER == value_offset_value_type) { + valueSerializer.writeInt8(0) + const value_offset_value_0 = unsafeCast(value_offset_value) + valueSerializer.writeNumber(value_offset_value_0) } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_3) + else if (RuntimeType.OBJECT == value_offset_value_type) { + valueSerializer.writeInt8(1) + const value_offset_value_1 = unsafeCast(value_offset_value) + valueSerializer.writeGridColColumnOption(value_offset_value_1) } } - const value_style = value.style - let value_style_type: int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = value_style! - valueSerializer.writeInt32(value_style_value.valueOf()) + const value_order = value.order + let value_order_type: int32 = RuntimeType.UNDEFINED + value_order_type = runtimeType(value_order) + valueSerializer.writeInt8(value_order_type) + if ((RuntimeType.UNDEFINED) != (value_order_type)) { + const value_order_value = value_order! + let value_order_value_type: int32 = RuntimeType.UNDEFINED + value_order_value_type = runtimeType(value_order_value) + if (RuntimeType.NUMBER == value_order_value_type) { + valueSerializer.writeInt8(0) + const value_order_value_0 = unsafeCast(value_order_value) + valueSerializer.writeNumber(value_order_value_0) + } + else if (RuntimeType.OBJECT == value_order_value_type) { + valueSerializer.writeInt8(1) + const value_order_value_1 = unsafeCast(value_order_value) + valueSerializer.writeGridColColumnOption(value_order_value_1) + } } } - writeDecorationStyleResult(value: DecorationStyleResult): void { + public writeHistoricalPoint(value: HistoricalPoint): void { let valueSerializer: Serializer = this - const value_type = value.type - valueSerializer.writeInt32(value_type.valueOf()) - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - if (((RuntimeType.NUMBER) == (value_color_type)) && ((unsafeCast(value_color)) >= (0)) && ((unsafeCast(value_color)) <= (11))) { + const value_touchObject = value.touchObject + valueSerializer.writeTouchObject(value_touchObject) + const value_size = value.size + valueSerializer.writeNumber(value_size) + const value_force = value.force + valueSerializer.writeNumber(value_force) + const value_timestamp = value.timestamp + valueSerializer.writeInt64(value_timestamp) + } + public writeImageFrameInfo(value: ImageFrameInfo): void { + let valueSerializer: Serializer = this + const value_src = value.src + let value_src_type: int32 = RuntimeType.UNDEFINED + value_src_type = runtimeType(value_src) + if (RuntimeType.STRING == value_src_type) { valueSerializer.writeInt8(0) - const value_color_0 = unsafeCast(value_color) - valueSerializer.writeInt32(value_color_0.valueOf()) + const value_src_0 = unsafeCast(value_src) + valueSerializer.writeString(value_src_0) } - else if (RuntimeType.NUMBER == value_color_type) { + else if (((RuntimeType.OBJECT) == (value_src_type)) && ((value_src!.hasOwnProperty("bundleName")))) { valueSerializer.writeInt8(1) - const value_color_1 = unsafeCast(value_color) - valueSerializer.writeNumber(value_color_1) + const value_src_1 = unsafeCast(value_src) + valueSerializer.writeResource(value_src_1) } - else if (RuntimeType.STRING == value_color_type) { + else if (((RuntimeType.OBJECT) == (value_src_type)) && ((value_src!.hasOwnProperty("isEditable")))) { valueSerializer.writeInt8(2) - const value_color_2 = unsafeCast(value_color) - valueSerializer.writeString(value_color_2) - } - else if (RuntimeType.OBJECT == value_color_type) { - valueSerializer.writeInt8(3) - const value_color_3 = unsafeCast(value_color) - valueSerializer.writeResource(value_color_3) - } - const value_style = value.style - let value_style_type: int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = value_style! - valueSerializer.writeInt32(value_style_value.valueOf()) + const value_src_2 = unsafeCast(value_src) + valueSerializer.writePixelMap(value_src_2) } - } - writeDividerOptions(value: DividerOptions): void { - let valueSerializer: Serializer = this - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - let value_strokeWidth_value_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) - if (RuntimeType.STRING == value_strokeWidth_value_type) { + const value_width = value.width + let value_width_type: int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type: int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.NUMBER == value_width_value_type) { valueSerializer.writeInt8(0) - const value_strokeWidth_value_0 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeString(value_strokeWidth_value_0) + const value_width_value_0 = unsafeCast(value_width_value) + valueSerializer.writeNumber(value_width_value_0) } - else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { + else if (RuntimeType.STRING == value_width_value_type) { valueSerializer.writeInt8(1) - const value_strokeWidth_value_1 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeNumber(value_strokeWidth_value_1) - } - else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { - valueSerializer.writeInt8(2) - const value_strokeWidth_value_2 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeResource(value_strokeWidth_value_2) + const value_width_value_1 = unsafeCast(value_width_value) + valueSerializer.writeString(value_width_value_1) } } - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { + const value_height = value.height + let value_height_type: int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type: int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.NUMBER == value_height_value_type) { valueSerializer.writeInt8(0) - const value_color_value_0 = unsafeCast(value_color_value) - valueSerializer.writeInt32(value_color_value_0.valueOf()) + const value_height_value_0 = unsafeCast(value_height_value) + valueSerializer.writeNumber(value_height_value_0) } - else if (RuntimeType.NUMBER == value_color_value_type) { + else if (RuntimeType.STRING == value_height_value_type) { valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeNumber(value_color_value_1) - } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_3) + const value_height_value_1 = unsafeCast(value_height_value) + valueSerializer.writeString(value_height_value_1) } } - const value_startMargin = value.startMargin - let value_startMargin_type: int32 = RuntimeType.UNDEFINED - value_startMargin_type = runtimeType(value_startMargin) - valueSerializer.writeInt8(value_startMargin_type) - if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { - const value_startMargin_value = value_startMargin! - let value_startMargin_value_type: int32 = RuntimeType.UNDEFINED - value_startMargin_value_type = runtimeType(value_startMargin_value) - if (RuntimeType.STRING == value_startMargin_value_type) { - valueSerializer.writeInt8(0) - const value_startMargin_value_0 = unsafeCast(value_startMargin_value) - valueSerializer.writeString(value_startMargin_value_0) + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type: int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.NUMBER == value_top_value_type) { + valueSerializer.writeInt8(0) + const value_top_value_0 = unsafeCast(value_top_value) + valueSerializer.writeNumber(value_top_value_0) } - else if (RuntimeType.NUMBER == value_startMargin_value_type) { + else if (RuntimeType.STRING == value_top_value_type) { valueSerializer.writeInt8(1) - const value_startMargin_value_1 = unsafeCast(value_startMargin_value) - valueSerializer.writeNumber(value_startMargin_value_1) - } - else if (RuntimeType.OBJECT == value_startMargin_value_type) { - valueSerializer.writeInt8(2) - const value_startMargin_value_2 = unsafeCast(value_startMargin_value) - valueSerializer.writeResource(value_startMargin_value_2) + const value_top_value_1 = unsafeCast(value_top_value) + valueSerializer.writeString(value_top_value_1) } } - const value_endMargin = value.endMargin - let value_endMargin_type: int32 = RuntimeType.UNDEFINED - value_endMargin_type = runtimeType(value_endMargin) - valueSerializer.writeInt8(value_endMargin_type) - if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { - const value_endMargin_value = value_endMargin! - let value_endMargin_value_type: int32 = RuntimeType.UNDEFINED - value_endMargin_value_type = runtimeType(value_endMargin_value) - if (RuntimeType.STRING == value_endMargin_value_type) { + const value_left = value.left + let value_left_type: int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type: int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.NUMBER == value_left_value_type) { valueSerializer.writeInt8(0) - const value_endMargin_value_0 = unsafeCast(value_endMargin_value) - valueSerializer.writeString(value_endMargin_value_0) + const value_left_value_0 = unsafeCast(value_left_value) + valueSerializer.writeNumber(value_left_value_0) } - else if (RuntimeType.NUMBER == value_endMargin_value_type) { + else if (RuntimeType.STRING == value_left_value_type) { valueSerializer.writeInt8(1) - const value_endMargin_value_1 = unsafeCast(value_endMargin_value) - valueSerializer.writeNumber(value_endMargin_value_1) + const value_left_value_1 = unsafeCast(value_left_value) + valueSerializer.writeString(value_left_value_1) } - else if (RuntimeType.OBJECT == value_endMargin_value_type) { - valueSerializer.writeInt8(2) - const value_endMargin_value_2 = unsafeCast(value_endMargin_value) - valueSerializer.writeResource(value_endMargin_value_2) + } + const value_duration = value.duration + let value_duration_type: int32 = RuntimeType.UNDEFINED + value_duration_type = runtimeType(value_duration) + valueSerializer.writeInt8(value_duration_type) + if ((RuntimeType.UNDEFINED) != (value_duration_type)) { + const value_duration_value = value_duration! + valueSerializer.writeNumber(value_duration_value) + } + } + public writeJavaScriptProxy(value: JavaScriptProxy): void { + let valueSerializer: Serializer = this + const value_object_ = value.object_ + valueSerializer.holdAndWriteObject(value_object_) + const value_name = value.name + valueSerializer.writeString(value_name) + const value_methodList = value.methodList + valueSerializer.writeInt32(value_methodList.length) + for (let i = 0; i < value_methodList.length; i++) { + const value_methodList_element: string = value_methodList[i] + valueSerializer.writeString(value_methodList_element) + } + const value_controller = value.controller + let value_controller_type: int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + if (((RuntimeType.OBJECT) == (value_controller_type)) && (value_controller instanceof WebController)) { + valueSerializer.writeInt8(0) + const value_controller_0 = unsafeCast(value_controller) + valueSerializer.writeWebController(value_controller_0) + } + else if (((RuntimeType.OBJECT) == (value_controller_type)) && (value_controller instanceof WebviewController)) { + valueSerializer.writeInt8(1) + const value_controller_1 = unsafeCast(value_controller) + valueSerializer.writeWebviewController(value_controller_1) + } + const value_asyncMethodList = value.asyncMethodList + let value_asyncMethodList_type: int32 = RuntimeType.UNDEFINED + value_asyncMethodList_type = runtimeType(value_asyncMethodList) + valueSerializer.writeInt8(value_asyncMethodList_type) + if ((RuntimeType.UNDEFINED) != (value_asyncMethodList_type)) { + const value_asyncMethodList_value = value_asyncMethodList! + valueSerializer.writeInt32(value_asyncMethodList_value.length) + for (let i = 0; i < value_asyncMethodList_value.length; i++) { + const value_asyncMethodList_value_element: string = value_asyncMethodList_value[i] + valueSerializer.writeString(value_asyncMethodList_value_element) } } + const value_permission = value.permission + let value_permission_type: int32 = RuntimeType.UNDEFINED + value_permission_type = runtimeType(value_permission) + valueSerializer.writeInt8(value_permission_type) + if ((RuntimeType.UNDEFINED) != (value_permission_type)) { + const value_permission_value = value_permission! + valueSerializer.writeString(value_permission_value) + } } - writeDividerStyle(value: DividerStyle): void { + public writeLengthConstrain(value: LengthConstrain): void { let valueSerializer: Serializer = this - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - if (RuntimeType.STRING == value_strokeWidth_type) { + const value_minLength = value.minLength + let value_minLength_type: int32 = RuntimeType.UNDEFINED + value_minLength_type = runtimeType(value_minLength) + if (RuntimeType.STRING == value_minLength_type) { valueSerializer.writeInt8(0) - const value_strokeWidth_0 = unsafeCast(value_strokeWidth) - valueSerializer.writeString(value_strokeWidth_0) + const value_minLength_0 = unsafeCast(value_minLength) + valueSerializer.writeString(value_minLength_0) } - else if (RuntimeType.NUMBER == value_strokeWidth_type) { + else if (RuntimeType.NUMBER == value_minLength_type) { valueSerializer.writeInt8(1) - const value_strokeWidth_1 = unsafeCast(value_strokeWidth) - valueSerializer.writeNumber(value_strokeWidth_1) + const value_minLength_1 = unsafeCast(value_minLength) + valueSerializer.writeNumber(value_minLength_1) } - else if (RuntimeType.OBJECT == value_strokeWidth_type) { + else if (RuntimeType.OBJECT == value_minLength_type) { valueSerializer.writeInt8(2) - const value_strokeWidth_2 = unsafeCast(value_strokeWidth) - valueSerializer.writeResource(value_strokeWidth_2) + const value_minLength_2 = unsafeCast(value_minLength) + valueSerializer.writeResource(value_minLength_2) + } + const value_maxLength = value.maxLength + let value_maxLength_type: int32 = RuntimeType.UNDEFINED + value_maxLength_type = runtimeType(value_maxLength) + if (RuntimeType.STRING == value_maxLength_type) { + valueSerializer.writeInt8(0) + const value_maxLength_0 = unsafeCast(value_maxLength) + valueSerializer.writeString(value_maxLength_0) + } + else if (RuntimeType.NUMBER == value_maxLength_type) { + valueSerializer.writeInt8(1) + const value_maxLength_1 = unsafeCast(value_maxLength) + valueSerializer.writeNumber(value_maxLength_1) + } + else if (RuntimeType.OBJECT == value_maxLength_type) { + valueSerializer.writeInt8(2) + const value_maxLength_2 = unsafeCast(value_maxLength) + valueSerializer.writeResource(value_maxLength_2) + } + } + public writeLightSource(value: LightSource): void { + let valueSerializer: Serializer = this + const value_positionX = value.positionX + let value_positionX_type: int32 = RuntimeType.UNDEFINED + value_positionX_type = runtimeType(value_positionX) + if (RuntimeType.STRING == value_positionX_type) { + valueSerializer.writeInt8(0) + const value_positionX_0 = unsafeCast(value_positionX) + valueSerializer.writeString(value_positionX_0) + } + else if (RuntimeType.NUMBER == value_positionX_type) { + valueSerializer.writeInt8(1) + const value_positionX_1 = unsafeCast(value_positionX) + valueSerializer.writeNumber(value_positionX_1) + } + else if (RuntimeType.OBJECT == value_positionX_type) { + valueSerializer.writeInt8(2) + const value_positionX_2 = unsafeCast(value_positionX) + valueSerializer.writeResource(value_positionX_2) + } + const value_positionY = value.positionY + let value_positionY_type: int32 = RuntimeType.UNDEFINED + value_positionY_type = runtimeType(value_positionY) + if (RuntimeType.STRING == value_positionY_type) { + valueSerializer.writeInt8(0) + const value_positionY_0 = unsafeCast(value_positionY) + valueSerializer.writeString(value_positionY_0) + } + else if (RuntimeType.NUMBER == value_positionY_type) { + valueSerializer.writeInt8(1) + const value_positionY_1 = unsafeCast(value_positionY) + valueSerializer.writeNumber(value_positionY_1) } + else if (RuntimeType.OBJECT == value_positionY_type) { + valueSerializer.writeInt8(2) + const value_positionY_2 = unsafeCast(value_positionY) + valueSerializer.writeResource(value_positionY_2) + } + const value_positionZ = value.positionZ + let value_positionZ_type: int32 = RuntimeType.UNDEFINED + value_positionZ_type = runtimeType(value_positionZ) + if (RuntimeType.STRING == value_positionZ_type) { + valueSerializer.writeInt8(0) + const value_positionZ_0 = unsafeCast(value_positionZ) + valueSerializer.writeString(value_positionZ_0) + } + else if (RuntimeType.NUMBER == value_positionZ_type) { + valueSerializer.writeInt8(1) + const value_positionZ_1 = unsafeCast(value_positionZ) + valueSerializer.writeNumber(value_positionZ_1) + } + else if (RuntimeType.OBJECT == value_positionZ_type) { + valueSerializer.writeInt8(2) + const value_positionZ_2 = unsafeCast(value_positionZ) + valueSerializer.writeResource(value_positionZ_2) + } + const value_intensity = value.intensity + valueSerializer.writeNumber(value_intensity) const value_color = value.color let value_color_type: int32 = RuntimeType.UNDEFINED value_color_type = runtimeType(value_color) @@ -9947,57 +10672,17 @@ export class Serializer extends SerializerBase { valueSerializer.writeResource(value_color_value_3) } } - const value_startMargin = value.startMargin - let value_startMargin_type: int32 = RuntimeType.UNDEFINED - value_startMargin_type = runtimeType(value_startMargin) - valueSerializer.writeInt8(value_startMargin_type) - if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { - const value_startMargin_value = value_startMargin! - let value_startMargin_value_type: int32 = RuntimeType.UNDEFINED - value_startMargin_value_type = runtimeType(value_startMargin_value) - if (RuntimeType.STRING == value_startMargin_value_type) { - valueSerializer.writeInt8(0) - const value_startMargin_value_0 = unsafeCast(value_startMargin_value) - valueSerializer.writeString(value_startMargin_value_0) - } - else if (RuntimeType.NUMBER == value_startMargin_value_type) { - valueSerializer.writeInt8(1) - const value_startMargin_value_1 = unsafeCast(value_startMargin_value) - valueSerializer.writeNumber(value_startMargin_value_1) - } - else if (RuntimeType.OBJECT == value_startMargin_value_type) { - valueSerializer.writeInt8(2) - const value_startMargin_value_2 = unsafeCast(value_startMargin_value) - valueSerializer.writeResource(value_startMargin_value_2) - } - } - const value_endMargin = value.endMargin - let value_endMargin_type: int32 = RuntimeType.UNDEFINED - value_endMargin_type = runtimeType(value_endMargin) - valueSerializer.writeInt8(value_endMargin_type) - if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { - const value_endMargin_value = value_endMargin! - let value_endMargin_value_type: int32 = RuntimeType.UNDEFINED - value_endMargin_value_type = runtimeType(value_endMargin_value) - if (RuntimeType.STRING == value_endMargin_value_type) { - valueSerializer.writeInt8(0) - const value_endMargin_value_0 = unsafeCast(value_endMargin_value) - valueSerializer.writeString(value_endMargin_value_0) - } - else if (RuntimeType.NUMBER == value_endMargin_value_type) { - valueSerializer.writeInt8(1) - const value_endMargin_value_1 = unsafeCast(value_endMargin_value) - valueSerializer.writeNumber(value_endMargin_value_1) - } - else if (RuntimeType.OBJECT == value_endMargin_value_type) { - valueSerializer.writeInt8(2) - const value_endMargin_value_2 = unsafeCast(value_endMargin_value) - valueSerializer.writeResource(value_endMargin_value_2) - } - } } - writeDividerStyleOptions(value: DividerStyleOptions): void { + public writeLinearIndicatorStyle(value: LinearIndicatorStyle): void { let valueSerializer: Serializer = this + const value_space = value.space + let value_space_type: int32 = RuntimeType.UNDEFINED + value_space_type = runtimeType(value_space) + valueSerializer.writeInt8(value_space_type) + if ((RuntimeType.UNDEFINED) != (value_space_type)) { + const value_space_value = value_space! + valueSerializer.writeLengthMetrics(value_space_value) + } const value_strokeWidth = value.strokeWidth let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED value_strokeWidth_type = runtimeType(value_strokeWidth) @@ -10006,791 +10691,1051 @@ export class Serializer extends SerializerBase { const value_strokeWidth_value = value_strokeWidth! valueSerializer.writeLengthMetrics(value_strokeWidth_value) } - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_color_value_0 = unsafeCast(value_color_value) - valueSerializer.writeInt32(value_color_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_color_value_type) { - valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeNumber(value_color_value_1) - } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_3) - } + const value_strokeRadius = value.strokeRadius + let value_strokeRadius_type: int32 = RuntimeType.UNDEFINED + value_strokeRadius_type = runtimeType(value_strokeRadius) + valueSerializer.writeInt8(value_strokeRadius_type) + if ((RuntimeType.UNDEFINED) != (value_strokeRadius_type)) { + const value_strokeRadius_value = value_strokeRadius! + valueSerializer.writeLengthMetrics(value_strokeRadius_value) } - const value_startMargin = value.startMargin - let value_startMargin_type: int32 = RuntimeType.UNDEFINED - value_startMargin_type = runtimeType(value_startMargin) - valueSerializer.writeInt8(value_startMargin_type) - if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { - const value_startMargin_value = value_startMargin! - valueSerializer.writeLengthMetrics(value_startMargin_value) + const value_trackBackgroundColor = value.trackBackgroundColor + let value_trackBackgroundColor_type: int32 = RuntimeType.UNDEFINED + value_trackBackgroundColor_type = runtimeType(value_trackBackgroundColor) + valueSerializer.writeInt8(value_trackBackgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_trackBackgroundColor_type)) { + const value_trackBackgroundColor_value = value_trackBackgroundColor! + valueSerializer.writeColorMetrics(value_trackBackgroundColor_value) } - const value_endMargin = value.endMargin - let value_endMargin_type: int32 = RuntimeType.UNDEFINED - value_endMargin_type = runtimeType(value_endMargin) - valueSerializer.writeInt8(value_endMargin_type) - if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { - const value_endMargin_value = value_endMargin! - valueSerializer.writeLengthMetrics(value_endMargin_value) + const value_trackColor = value.trackColor + let value_trackColor_type: int32 = RuntimeType.UNDEFINED + value_trackColor_type = runtimeType(value_trackColor) + valueSerializer.writeInt8(value_trackColor_type) + if ((RuntimeType.UNDEFINED) != (value_trackColor_type)) { + const value_trackColor_value = value_trackColor! + valueSerializer.writeColorMetrics(value_trackColor_value) } } - writeDotIndicator(value: DotIndicator): void { + public writeLocalizedAlignRuleOptions(value: LocalizedAlignRuleOptions): void { let valueSerializer: Serializer = this - const value__left = value._left - let value__left_type: int32 = RuntimeType.UNDEFINED - value__left_type = runtimeType(value__left) - valueSerializer.writeInt8(value__left_type) - if ((RuntimeType.UNDEFINED) != (value__left_type)) { - const value__left_value = value__left! - let value__left_value_type: int32 = RuntimeType.UNDEFINED - value__left_value_type = runtimeType(value__left_value) - if (RuntimeType.STRING == value__left_value_type) { + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeLocalizedHorizontalAlignParam(value_start_value) + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeLocalizedHorizontalAlignParam(value_end_value) + } + const value_middle = value.middle + let value_middle_type: int32 = RuntimeType.UNDEFINED + value_middle_type = runtimeType(value_middle) + valueSerializer.writeInt8(value_middle_type) + if ((RuntimeType.UNDEFINED) != (value_middle_type)) { + const value_middle_value = value_middle! + valueSerializer.writeLocalizedHorizontalAlignParam(value_middle_value) + } + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeLocalizedVerticalAlignParam(value_top_value) + } + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + valueSerializer.writeLocalizedVerticalAlignParam(value_bottom_value) + } + const value_center = value.center + let value_center_type: int32 = RuntimeType.UNDEFINED + value_center_type = runtimeType(value_center) + valueSerializer.writeInt8(value_center_type) + if ((RuntimeType.UNDEFINED) != (value_center_type)) { + const value_center_value = value_center! + valueSerializer.writeLocalizedVerticalAlignParam(value_center_value) + } + const value_bias = value.bias + let value_bias_type: int32 = RuntimeType.UNDEFINED + value_bias_type = runtimeType(value_bias) + valueSerializer.writeInt8(value_bias_type) + if ((RuntimeType.UNDEFINED) != (value_bias_type)) { + const value_bias_value = value_bias! + valueSerializer.writeBias(value_bias_value) + } + } + public writeLocalizedBorderRadiuses(value: LocalizedBorderRadiuses): void { + let valueSerializer: Serializer = this + const value_topStart = value.topStart + let value_topStart_type: int32 = RuntimeType.UNDEFINED + value_topStart_type = runtimeType(value_topStart) + valueSerializer.writeInt8(value_topStart_type) + if ((RuntimeType.UNDEFINED) != (value_topStart_type)) { + const value_topStart_value = value_topStart! + valueSerializer.writeLengthMetrics(value_topStart_value) + } + const value_topEnd = value.topEnd + let value_topEnd_type: int32 = RuntimeType.UNDEFINED + value_topEnd_type = runtimeType(value_topEnd) + valueSerializer.writeInt8(value_topEnd_type) + if ((RuntimeType.UNDEFINED) != (value_topEnd_type)) { + const value_topEnd_value = value_topEnd! + valueSerializer.writeLengthMetrics(value_topEnd_value) + } + const value_bottomStart = value.bottomStart + let value_bottomStart_type: int32 = RuntimeType.UNDEFINED + value_bottomStart_type = runtimeType(value_bottomStart) + valueSerializer.writeInt8(value_bottomStart_type) + if ((RuntimeType.UNDEFINED) != (value_bottomStart_type)) { + const value_bottomStart_value = value_bottomStart! + valueSerializer.writeLengthMetrics(value_bottomStart_value) + } + const value_bottomEnd = value.bottomEnd + let value_bottomEnd_type: int32 = RuntimeType.UNDEFINED + value_bottomEnd_type = runtimeType(value_bottomEnd) + valueSerializer.writeInt8(value_bottomEnd_type) + if ((RuntimeType.UNDEFINED) != (value_bottomEnd_type)) { + const value_bottomEnd_value = value_bottomEnd! + valueSerializer.writeLengthMetrics(value_bottomEnd_value) + } + } + public writeLocalizedEdgeColors(value: LocalizedEdgeColors): void { + let valueSerializer: Serializer = this + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type: int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (((RuntimeType.NUMBER) == (value_top_value_type)) && ((unsafeCast(value_top_value)) >= (0)) && ((unsafeCast(value_top_value)) <= (11))) { valueSerializer.writeInt8(0) - const value__left_value_0 = unsafeCast(value__left_value) - valueSerializer.writeString(value__left_value_0) + const value_top_value_0 = unsafeCast(value_top_value) + valueSerializer.writeInt32(value_top_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value__left_value_type) { + else if (RuntimeType.NUMBER == value_top_value_type) { valueSerializer.writeInt8(1) - const value__left_value_1 = unsafeCast(value__left_value) - valueSerializer.writeNumber(value__left_value_1) + const value_top_value_1 = unsafeCast(value_top_value) + valueSerializer.writeNumber(value_top_value_1) } - else if (RuntimeType.OBJECT == value__left_value_type) { + else if (RuntimeType.STRING == value_top_value_type) { valueSerializer.writeInt8(2) - const value__left_value_2 = unsafeCast(value__left_value) - valueSerializer.writeResource(value__left_value_2) + const value_top_value_2 = unsafeCast(value_top_value) + valueSerializer.writeString(value_top_value_2) + } + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(3) + const value_top_value_3 = unsafeCast(value_top_value) + valueSerializer.writeResource(value_top_value_3) } } - const value__top = value._top - let value__top_type: int32 = RuntimeType.UNDEFINED - value__top_type = runtimeType(value__top) - valueSerializer.writeInt8(value__top_type) - if ((RuntimeType.UNDEFINED) != (value__top_type)) { - const value__top_value = value__top! - let value__top_value_type: int32 = RuntimeType.UNDEFINED - value__top_value_type = runtimeType(value__top_value) - if (RuntimeType.STRING == value__top_value_type) { + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + let value_end_value_type: int32 = RuntimeType.UNDEFINED + value_end_value_type = runtimeType(value_end_value) + if (((RuntimeType.NUMBER) == (value_end_value_type)) && ((unsafeCast(value_end_value)) >= (0)) && ((unsafeCast(value_end_value)) <= (11))) { valueSerializer.writeInt8(0) - const value__top_value_0 = unsafeCast(value__top_value) - valueSerializer.writeString(value__top_value_0) + const value_end_value_0 = unsafeCast(value_end_value) + valueSerializer.writeInt32(value_end_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value__top_value_type) { + else if (RuntimeType.NUMBER == value_end_value_type) { valueSerializer.writeInt8(1) - const value__top_value_1 = unsafeCast(value__top_value) - valueSerializer.writeNumber(value__top_value_1) + const value_end_value_1 = unsafeCast(value_end_value) + valueSerializer.writeNumber(value_end_value_1) } - else if (RuntimeType.OBJECT == value__top_value_type) { + else if (RuntimeType.STRING == value_end_value_type) { valueSerializer.writeInt8(2) - const value__top_value_2 = unsafeCast(value__top_value) - valueSerializer.writeResource(value__top_value_2) + const value_end_value_2 = unsafeCast(value_end_value) + valueSerializer.writeString(value_end_value_2) + } + else if (RuntimeType.OBJECT == value_end_value_type) { + valueSerializer.writeInt8(3) + const value_end_value_3 = unsafeCast(value_end_value) + valueSerializer.writeResource(value_end_value_3) } } - const value__right = value._right - let value__right_type: int32 = RuntimeType.UNDEFINED - value__right_type = runtimeType(value__right) - valueSerializer.writeInt8(value__right_type) - if ((RuntimeType.UNDEFINED) != (value__right_type)) { - const value__right_value = value__right! - let value__right_value_type: int32 = RuntimeType.UNDEFINED - value__right_value_type = runtimeType(value__right_value) - if (RuntimeType.STRING == value__right_value_type) { + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type: int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (((RuntimeType.NUMBER) == (value_bottom_value_type)) && ((unsafeCast(value_bottom_value)) >= (0)) && ((unsafeCast(value_bottom_value)) <= (11))) { valueSerializer.writeInt8(0) - const value__right_value_0 = unsafeCast(value__right_value) - valueSerializer.writeString(value__right_value_0) + const value_bottom_value_0 = unsafeCast(value_bottom_value) + valueSerializer.writeInt32(value_bottom_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value__right_value_type) { + else if (RuntimeType.NUMBER == value_bottom_value_type) { valueSerializer.writeInt8(1) - const value__right_value_1 = unsafeCast(value__right_value) - valueSerializer.writeNumber(value__right_value_1) + const value_bottom_value_1 = unsafeCast(value_bottom_value) + valueSerializer.writeNumber(value_bottom_value_1) } - else if (RuntimeType.OBJECT == value__right_value_type) { + else if (RuntimeType.STRING == value_bottom_value_type) { valueSerializer.writeInt8(2) - const value__right_value_2 = unsafeCast(value__right_value) - valueSerializer.writeResource(value__right_value_2) + const value_bottom_value_2 = unsafeCast(value_bottom_value) + valueSerializer.writeString(value_bottom_value_2) } - } - const value__bottom = value._bottom - let value__bottom_type: int32 = RuntimeType.UNDEFINED - value__bottom_type = runtimeType(value__bottom) - valueSerializer.writeInt8(value__bottom_type) - if ((RuntimeType.UNDEFINED) != (value__bottom_type)) { - const value__bottom_value = value__bottom! - let value__bottom_value_type: int32 = RuntimeType.UNDEFINED - value__bottom_value_type = runtimeType(value__bottom_value) - if (RuntimeType.STRING == value__bottom_value_type) { + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(3) + const value_bottom_value_3 = unsafeCast(value_bottom_value) + valueSerializer.writeResource(value_bottom_value_3) + } + } + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + let value_start_value_type: int32 = RuntimeType.UNDEFINED + value_start_value_type = runtimeType(value_start_value) + if (((RuntimeType.NUMBER) == (value_start_value_type)) && ((unsafeCast(value_start_value)) >= (0)) && ((unsafeCast(value_start_value)) <= (11))) { valueSerializer.writeInt8(0) - const value__bottom_value_0 = unsafeCast(value__bottom_value) - valueSerializer.writeString(value__bottom_value_0) + const value_start_value_0 = unsafeCast(value_start_value) + valueSerializer.writeInt32(value_start_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value__bottom_value_type) { + else if (RuntimeType.NUMBER == value_start_value_type) { valueSerializer.writeInt8(1) - const value__bottom_value_1 = unsafeCast(value__bottom_value) - valueSerializer.writeNumber(value__bottom_value_1) + const value_start_value_1 = unsafeCast(value_start_value) + valueSerializer.writeNumber(value_start_value_1) } - else if (RuntimeType.OBJECT == value__bottom_value_type) { + else if (RuntimeType.STRING == value_start_value_type) { valueSerializer.writeInt8(2) - const value__bottom_value_2 = unsafeCast(value__bottom_value) - valueSerializer.writeResource(value__bottom_value_2) + const value_start_value_2 = unsafeCast(value_start_value) + valueSerializer.writeString(value_start_value_2) + } + else if (RuntimeType.OBJECT == value_start_value_type) { + valueSerializer.writeInt8(3) + const value_start_value_3 = unsafeCast(value_start_value) + valueSerializer.writeResource(value_start_value_3) } } - const value__start = value._start - let value__start_type: int32 = RuntimeType.UNDEFINED - value__start_type = runtimeType(value__start) - valueSerializer.writeInt8(value__start_type) - if ((RuntimeType.UNDEFINED) != (value__start_type)) { - const value__start_value = value__start! - valueSerializer.writeLengthMetrics(value__start_value) + } + public writeLocalizedEdges(value: LocalizedEdges): void { + let valueSerializer: Serializer = this + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeLengthMetrics(value_top_value) } - const value__end = value._end - let value__end_type: int32 = RuntimeType.UNDEFINED - value__end_type = runtimeType(value__end) - valueSerializer.writeInt8(value__end_type) - if ((RuntimeType.UNDEFINED) != (value__end_type)) { - const value__end_value = value__end! - valueSerializer.writeLengthMetrics(value__end_value) + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeLengthMetrics(value_start_value) } - const value__itemWidth = value._itemWidth - let value__itemWidth_type: int32 = RuntimeType.UNDEFINED - value__itemWidth_type = runtimeType(value__itemWidth) - valueSerializer.writeInt8(value__itemWidth_type) - if ((RuntimeType.UNDEFINED) != (value__itemWidth_type)) { - const value__itemWidth_value = value__itemWidth! - let value__itemWidth_value_type: int32 = RuntimeType.UNDEFINED - value__itemWidth_value_type = runtimeType(value__itemWidth_value) - if (RuntimeType.STRING == value__itemWidth_value_type) { + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + valueSerializer.writeLengthMetrics(value_bottom_value) + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeLengthMetrics(value_end_value) + } + } + public writeLocalizedEdgeWidths(value: LocalizedEdgeWidths): void { + let valueSerializer: Serializer = this + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeLengthMetrics(value_top_value) + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeLengthMetrics(value_end_value) + } + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + valueSerializer.writeLengthMetrics(value_bottom_value) + } + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeLengthMetrics(value_start_value) + } + } + public writeLocalizedPadding(value: LocalizedPadding): void { + let valueSerializer: Serializer = this + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeLengthMetrics(value_top_value) + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeLengthMetrics(value_end_value) + } + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + valueSerializer.writeLengthMetrics(value_bottom_value) + } + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeLengthMetrics(value_start_value) + } + } + public writeLocalizedPosition(value: LocalizedPosition): void { + let valueSerializer: Serializer = this + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeLengthMetrics(value_start_value) + } + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeLengthMetrics(value_top_value) + } + } + public writeLunarSwitchStyle(value: LunarSwitchStyle): void { + let valueSerializer: Serializer = this + const value_selectedColor = value.selectedColor + let value_selectedColor_type: int32 = RuntimeType.UNDEFINED + value_selectedColor_type = runtimeType(value_selectedColor) + valueSerializer.writeInt8(value_selectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { + const value_selectedColor_value = value_selectedColor! + let value_selectedColor_value_type: int32 = RuntimeType.UNDEFINED + value_selectedColor_value_type = runtimeType(value_selectedColor_value) + if (((RuntimeType.NUMBER) == (value_selectedColor_value_type)) && ((unsafeCast(value_selectedColor_value)) >= (0)) && ((unsafeCast(value_selectedColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value__itemWidth_value_0 = unsafeCast(value__itemWidth_value) - valueSerializer.writeString(value__itemWidth_value_0) + const value_selectedColor_value_0 = unsafeCast(value_selectedColor_value) + valueSerializer.writeInt32(value_selectedColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value__itemWidth_value_type) { + else if (RuntimeType.NUMBER == value_selectedColor_value_type) { valueSerializer.writeInt8(1) - const value__itemWidth_value_1 = unsafeCast(value__itemWidth_value) - valueSerializer.writeNumber(value__itemWidth_value_1) + const value_selectedColor_value_1 = unsafeCast(value_selectedColor_value) + valueSerializer.writeNumber(value_selectedColor_value_1) } - else if (RuntimeType.OBJECT == value__itemWidth_value_type) { + else if (RuntimeType.STRING == value_selectedColor_value_type) { valueSerializer.writeInt8(2) - const value__itemWidth_value_2 = unsafeCast(value__itemWidth_value) - valueSerializer.writeResource(value__itemWidth_value_2) + const value_selectedColor_value_2 = unsafeCast(value_selectedColor_value) + valueSerializer.writeString(value_selectedColor_value_2) + } + else if (RuntimeType.OBJECT == value_selectedColor_value_type) { + valueSerializer.writeInt8(3) + const value_selectedColor_value_3 = unsafeCast(value_selectedColor_value) + valueSerializer.writeResource(value_selectedColor_value_3) } } - const value__itemHeight = value._itemHeight - let value__itemHeight_type: int32 = RuntimeType.UNDEFINED - value__itemHeight_type = runtimeType(value__itemHeight) - valueSerializer.writeInt8(value__itemHeight_type) - if ((RuntimeType.UNDEFINED) != (value__itemHeight_type)) { - const value__itemHeight_value = value__itemHeight! - let value__itemHeight_value_type: int32 = RuntimeType.UNDEFINED - value__itemHeight_value_type = runtimeType(value__itemHeight_value) - if (RuntimeType.STRING == value__itemHeight_value_type) { + const value_unselectedColor = value.unselectedColor + let value_unselectedColor_type: int32 = RuntimeType.UNDEFINED + value_unselectedColor_type = runtimeType(value_unselectedColor) + valueSerializer.writeInt8(value_unselectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { + const value_unselectedColor_value = value_unselectedColor! + let value_unselectedColor_value_type: int32 = RuntimeType.UNDEFINED + value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) + if (((RuntimeType.NUMBER) == (value_unselectedColor_value_type)) && ((unsafeCast(value_unselectedColor_value)) >= (0)) && ((unsafeCast(value_unselectedColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value__itemHeight_value_0 = unsafeCast(value__itemHeight_value) - valueSerializer.writeString(value__itemHeight_value_0) + const value_unselectedColor_value_0 = unsafeCast(value_unselectedColor_value) + valueSerializer.writeInt32(value_unselectedColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value__itemHeight_value_type) { + else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { valueSerializer.writeInt8(1) - const value__itemHeight_value_1 = unsafeCast(value__itemHeight_value) - valueSerializer.writeNumber(value__itemHeight_value_1) + const value_unselectedColor_value_1 = unsafeCast(value_unselectedColor_value) + valueSerializer.writeNumber(value_unselectedColor_value_1) } - else if (RuntimeType.OBJECT == value__itemHeight_value_type) { + else if (RuntimeType.STRING == value_unselectedColor_value_type) { valueSerializer.writeInt8(2) - const value__itemHeight_value_2 = unsafeCast(value__itemHeight_value) - valueSerializer.writeResource(value__itemHeight_value_2) + const value_unselectedColor_value_2 = unsafeCast(value_unselectedColor_value) + valueSerializer.writeString(value_unselectedColor_value_2) + } + else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { + valueSerializer.writeInt8(3) + const value_unselectedColor_value_3 = unsafeCast(value_unselectedColor_value) + valueSerializer.writeResource(value_unselectedColor_value_3) } } - const value__selectedItemWidth = value._selectedItemWidth - let value__selectedItemWidth_type: int32 = RuntimeType.UNDEFINED - value__selectedItemWidth_type = runtimeType(value__selectedItemWidth) - valueSerializer.writeInt8(value__selectedItemWidth_type) - if ((RuntimeType.UNDEFINED) != (value__selectedItemWidth_type)) { - const value__selectedItemWidth_value = value__selectedItemWidth! - let value__selectedItemWidth_value_type: int32 = RuntimeType.UNDEFINED - value__selectedItemWidth_value_type = runtimeType(value__selectedItemWidth_value) - if (RuntimeType.STRING == value__selectedItemWidth_value_type) { + const value_strokeColor = value.strokeColor + let value_strokeColor_type: int32 = RuntimeType.UNDEFINED + value_strokeColor_type = runtimeType(value_strokeColor) + valueSerializer.writeInt8(value_strokeColor_type) + if ((RuntimeType.UNDEFINED) != (value_strokeColor_type)) { + const value_strokeColor_value = value_strokeColor! + let value_strokeColor_value_type: int32 = RuntimeType.UNDEFINED + value_strokeColor_value_type = runtimeType(value_strokeColor_value) + if (((RuntimeType.NUMBER) == (value_strokeColor_value_type)) && ((unsafeCast(value_strokeColor_value)) >= (0)) && ((unsafeCast(value_strokeColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value__selectedItemWidth_value_0 = unsafeCast(value__selectedItemWidth_value) - valueSerializer.writeString(value__selectedItemWidth_value_0) + const value_strokeColor_value_0 = unsafeCast(value_strokeColor_value) + valueSerializer.writeInt32(value_strokeColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value__selectedItemWidth_value_type) { + else if (RuntimeType.NUMBER == value_strokeColor_value_type) { valueSerializer.writeInt8(1) - const value__selectedItemWidth_value_1 = unsafeCast(value__selectedItemWidth_value) - valueSerializer.writeNumber(value__selectedItemWidth_value_1) + const value_strokeColor_value_1 = unsafeCast(value_strokeColor_value) + valueSerializer.writeNumber(value_strokeColor_value_1) } - else if (RuntimeType.OBJECT == value__selectedItemWidth_value_type) { + else if (RuntimeType.STRING == value_strokeColor_value_type) { valueSerializer.writeInt8(2) - const value__selectedItemWidth_value_2 = unsafeCast(value__selectedItemWidth_value) - valueSerializer.writeResource(value__selectedItemWidth_value_2) + const value_strokeColor_value_2 = unsafeCast(value_strokeColor_value) + valueSerializer.writeString(value_strokeColor_value_2) + } + else if (RuntimeType.OBJECT == value_strokeColor_value_type) { + valueSerializer.writeInt8(3) + const value_strokeColor_value_3 = unsafeCast(value_strokeColor_value) + valueSerializer.writeResource(value_strokeColor_value_3) } } - const value__selectedItemHeight = value._selectedItemHeight - let value__selectedItemHeight_type: int32 = RuntimeType.UNDEFINED - value__selectedItemHeight_type = runtimeType(value__selectedItemHeight) - valueSerializer.writeInt8(value__selectedItemHeight_type) - if ((RuntimeType.UNDEFINED) != (value__selectedItemHeight_type)) { - const value__selectedItemHeight_value = value__selectedItemHeight! - let value__selectedItemHeight_value_type: int32 = RuntimeType.UNDEFINED - value__selectedItemHeight_value_type = runtimeType(value__selectedItemHeight_value) - if (RuntimeType.STRING == value__selectedItemHeight_value_type) { + } + public writeMeasureOptions(value: MeasureOptions): void { + let valueSerializer: Serializer = this + const value_textContent = value.textContent + let value_textContent_type: int32 = RuntimeType.UNDEFINED + value_textContent_type = runtimeType(value_textContent) + if (RuntimeType.STRING == value_textContent_type) { + valueSerializer.writeInt8(0) + const value_textContent_0 = unsafeCast(value_textContent) + valueSerializer.writeString(value_textContent_0) + } + else if (RuntimeType.OBJECT == value_textContent_type) { + valueSerializer.writeInt8(1) + const value_textContent_1 = unsafeCast(value_textContent) + valueSerializer.writeResource(value_textContent_1) + } + const value_constraintWidth = value.constraintWidth + let value_constraintWidth_type: int32 = RuntimeType.UNDEFINED + value_constraintWidth_type = runtimeType(value_constraintWidth) + valueSerializer.writeInt8(value_constraintWidth_type) + if ((RuntimeType.UNDEFINED) != (value_constraintWidth_type)) { + const value_constraintWidth_value = value_constraintWidth! + let value_constraintWidth_value_type: int32 = RuntimeType.UNDEFINED + value_constraintWidth_value_type = runtimeType(value_constraintWidth_value) + if (RuntimeType.NUMBER == value_constraintWidth_value_type) { valueSerializer.writeInt8(0) - const value__selectedItemHeight_value_0 = unsafeCast(value__selectedItemHeight_value) - valueSerializer.writeString(value__selectedItemHeight_value_0) + const value_constraintWidth_value_0 = unsafeCast(value_constraintWidth_value) + valueSerializer.writeNumber(value_constraintWidth_value_0) } - else if (RuntimeType.NUMBER == value__selectedItemHeight_value_type) { + else if (RuntimeType.STRING == value_constraintWidth_value_type) { valueSerializer.writeInt8(1) - const value__selectedItemHeight_value_1 = unsafeCast(value__selectedItemHeight_value) - valueSerializer.writeNumber(value__selectedItemHeight_value_1) + const value_constraintWidth_value_1 = unsafeCast(value_constraintWidth_value) + valueSerializer.writeString(value_constraintWidth_value_1) } - else if (RuntimeType.OBJECT == value__selectedItemHeight_value_type) { + else if (RuntimeType.OBJECT == value_constraintWidth_value_type) { valueSerializer.writeInt8(2) - const value__selectedItemHeight_value_2 = unsafeCast(value__selectedItemHeight_value) - valueSerializer.writeResource(value__selectedItemHeight_value_2) + const value_constraintWidth_value_2 = unsafeCast(value_constraintWidth_value) + valueSerializer.writeResource(value_constraintWidth_value_2) } } - const value__mask = value._mask - let value__mask_type: int32 = RuntimeType.UNDEFINED - value__mask_type = runtimeType(value__mask) - valueSerializer.writeInt8(value__mask_type) - if ((RuntimeType.UNDEFINED) != (value__mask_type)) { - const value__mask_value = value__mask! - valueSerializer.writeBoolean(value__mask_value) - } - const value__color = value._color - let value__color_type: int32 = RuntimeType.UNDEFINED - value__color_type = runtimeType(value__color) - valueSerializer.writeInt8(value__color_type) - if ((RuntimeType.UNDEFINED) != (value__color_type)) { - const value__color_value = value__color! - let value__color_value_type: int32 = RuntimeType.UNDEFINED - value__color_value_type = runtimeType(value__color_value) - if (((RuntimeType.NUMBER) == (value__color_value_type)) && ((unsafeCast(value__color_value)) >= (0)) && ((unsafeCast(value__color_value)) <= (11))) { + const value_fontSize = value.fontSize + let value_fontSize_type: int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + let value_fontSize_value_type: int32 = RuntimeType.UNDEFINED + value_fontSize_value_type = runtimeType(value_fontSize_value) + if (RuntimeType.NUMBER == value_fontSize_value_type) { valueSerializer.writeInt8(0) - const value__color_value_0 = unsafeCast(value__color_value) - valueSerializer.writeInt32(value__color_value_0.valueOf()) + const value_fontSize_value_0 = unsafeCast(value_fontSize_value) + valueSerializer.writeNumber(value_fontSize_value_0) } - else if (RuntimeType.NUMBER == value__color_value_type) { + else if (RuntimeType.STRING == value_fontSize_value_type) { valueSerializer.writeInt8(1) - const value__color_value_1 = unsafeCast(value__color_value) - valueSerializer.writeNumber(value__color_value_1) + const value_fontSize_value_1 = unsafeCast(value_fontSize_value) + valueSerializer.writeString(value_fontSize_value_1) } - else if (RuntimeType.STRING == value__color_value_type) { + else if (RuntimeType.OBJECT == value_fontSize_value_type) { valueSerializer.writeInt8(2) - const value__color_value_2 = unsafeCast(value__color_value) - valueSerializer.writeString(value__color_value_2) - } - else if (RuntimeType.OBJECT == value__color_value_type) { - valueSerializer.writeInt8(3) - const value__color_value_3 = unsafeCast(value__color_value) - valueSerializer.writeResource(value__color_value_3) + const value_fontSize_value_2 = unsafeCast(value_fontSize_value) + valueSerializer.writeResource(value_fontSize_value_2) } } - const value__selectedColor = value._selectedColor - let value__selectedColor_type: int32 = RuntimeType.UNDEFINED - value__selectedColor_type = runtimeType(value__selectedColor) - valueSerializer.writeInt8(value__selectedColor_type) - if ((RuntimeType.UNDEFINED) != (value__selectedColor_type)) { - const value__selectedColor_value = value__selectedColor! - let value__selectedColor_value_type: int32 = RuntimeType.UNDEFINED - value__selectedColor_value_type = runtimeType(value__selectedColor_value) - if (((RuntimeType.NUMBER) == (value__selectedColor_value_type)) && ((unsafeCast(value__selectedColor_value)) >= (0)) && ((unsafeCast(value__selectedColor_value)) <= (11))) { + const value_fontStyle = value.fontStyle + let value_fontStyle_type: int32 = RuntimeType.UNDEFINED + value_fontStyle_type = runtimeType(value_fontStyle) + valueSerializer.writeInt8(value_fontStyle_type) + if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { + const value_fontStyle_value = value_fontStyle! + let value_fontStyle_value_type: int32 = RuntimeType.UNDEFINED + value_fontStyle_value_type = runtimeType(value_fontStyle_value) + if (RuntimeType.NUMBER == value_fontStyle_value_type) { valueSerializer.writeInt8(0) - const value__selectedColor_value_0 = unsafeCast(value__selectedColor_value) - valueSerializer.writeInt32(value__selectedColor_value_0.valueOf()) + const value_fontStyle_value_0 = unsafeCast(value_fontStyle_value) + valueSerializer.writeNumber(value_fontStyle_value_0) } - else if (RuntimeType.NUMBER == value__selectedColor_value_type) { + else if (((RuntimeType.NUMBER) == (value_fontStyle_value_type)) && ((unsafeCast(value_fontStyle_value)) >= (0)) && ((unsafeCast(value_fontStyle_value)) <= (2))) { valueSerializer.writeInt8(1) - const value__selectedColor_value_1 = unsafeCast(value__selectedColor_value) - valueSerializer.writeNumber(value__selectedColor_value_1) - } - else if (RuntimeType.STRING == value__selectedColor_value_type) { - valueSerializer.writeInt8(2) - const value__selectedColor_value_2 = unsafeCast(value__selectedColor_value) - valueSerializer.writeString(value__selectedColor_value_2) - } - else if (RuntimeType.OBJECT == value__selectedColor_value_type) { - valueSerializer.writeInt8(3) - const value__selectedColor_value_3 = unsafeCast(value__selectedColor_value) - valueSerializer.writeResource(value__selectedColor_value_3) + const value_fontStyle_value_1 = unsafeCast(value_fontStyle_value) + valueSerializer.writeInt32(value_fontStyle_value_1.valueOf()) } } - const value__maxDisplayCount = value._maxDisplayCount - let value__maxDisplayCount_type: int32 = RuntimeType.UNDEFINED - value__maxDisplayCount_type = runtimeType(value__maxDisplayCount) - valueSerializer.writeInt8(value__maxDisplayCount_type) - if ((RuntimeType.UNDEFINED) != (value__maxDisplayCount_type)) { - const value__maxDisplayCount_value = value__maxDisplayCount! - valueSerializer.writeNumber(value__maxDisplayCount_value) - } - } - writeDragPreviewOptions(value: DragPreviewOptions): void { - let valueSerializer: Serializer = this - const value_mode = value.mode - let value_mode_type: int32 = RuntimeType.UNDEFINED - value_mode_type = runtimeType(value_mode) - valueSerializer.writeInt8(value_mode_type) - if ((RuntimeType.UNDEFINED) != (value_mode_type)) { - const value_mode_value = value_mode! - let value_mode_value_type: int32 = RuntimeType.UNDEFINED - value_mode_value_type = runtimeType(value_mode_value) - if (RuntimeType.NUMBER == value_mode_value_type) { + const value_fontWeight = value.fontWeight + let value_fontWeight_type: int32 = RuntimeType.UNDEFINED + value_fontWeight_type = runtimeType(value_fontWeight) + valueSerializer.writeInt8(value_fontWeight_type) + if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { + const value_fontWeight_value = value_fontWeight! + let value_fontWeight_value_type: int32 = RuntimeType.UNDEFINED + value_fontWeight_value_type = runtimeType(value_fontWeight_value) + if (RuntimeType.NUMBER == value_fontWeight_value_type) { valueSerializer.writeInt8(0) - const value_mode_value_0 = unsafeCast(value_mode_value) - valueSerializer.writeInt32(value_mode_value_0.valueOf()) + const value_fontWeight_value_0 = unsafeCast(value_fontWeight_value) + valueSerializer.writeNumber(value_fontWeight_value_0) } - else if (RuntimeType.OBJECT == value_mode_value_type) { + else if (RuntimeType.STRING == value_fontWeight_value_type) { valueSerializer.writeInt8(1) - const value_mode_value_1 = unsafeCast>(value_mode_value) - valueSerializer.writeInt32(value_mode_value_1.length) - for (let i = 0; i < value_mode_value_1.length; i++) { - const value_mode_value_1_element: DragPreviewMode = value_mode_value_1[i] - valueSerializer.writeInt32(value_mode_value_1_element.valueOf()) - } + const value_fontWeight_value_1 = unsafeCast(value_fontWeight_value) + valueSerializer.writeString(value_fontWeight_value_1) + } + else if (((RuntimeType.NUMBER) == (value_fontWeight_value_type)) && ((unsafeCast(value_fontWeight_value)) >= (0)) && ((unsafeCast(value_fontWeight_value)) <= (5))) { + valueSerializer.writeInt8(2) + const value_fontWeight_value_2 = unsafeCast(value_fontWeight_value) + valueSerializer.writeInt32(value_fontWeight_value_2.valueOf()) } } - const value_modifier = value.modifier - let value_modifier_type: int32 = RuntimeType.UNDEFINED - value_modifier_type = runtimeType(value_modifier) - valueSerializer.writeInt8(value_modifier_type) - if ((RuntimeType.UNDEFINED) != (value_modifier_type)) { - const value_modifier_value = value_modifier! - valueSerializer.writeImageModifier(value_modifier_value) - } - const value_numberBadge = value.numberBadge - let value_numberBadge_type: int32 = RuntimeType.UNDEFINED - value_numberBadge_type = runtimeType(value_numberBadge) - valueSerializer.writeInt8(value_numberBadge_type) - if ((RuntimeType.UNDEFINED) != (value_numberBadge_type)) { - const value_numberBadge_value = value_numberBadge! - let value_numberBadge_value_type: int32 = RuntimeType.UNDEFINED - value_numberBadge_value_type = runtimeType(value_numberBadge_value) - if (RuntimeType.BOOLEAN == value_numberBadge_value_type) { + const value_fontFamily = value.fontFamily + let value_fontFamily_type: int32 = RuntimeType.UNDEFINED + value_fontFamily_type = runtimeType(value_fontFamily) + valueSerializer.writeInt8(value_fontFamily_type) + if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { + const value_fontFamily_value = value_fontFamily! + let value_fontFamily_value_type: int32 = RuntimeType.UNDEFINED + value_fontFamily_value_type = runtimeType(value_fontFamily_value) + if (RuntimeType.STRING == value_fontFamily_value_type) { valueSerializer.writeInt8(0) - const value_numberBadge_value_0 = unsafeCast(value_numberBadge_value) - valueSerializer.writeBoolean(value_numberBadge_value_0) + const value_fontFamily_value_0 = unsafeCast(value_fontFamily_value) + valueSerializer.writeString(value_fontFamily_value_0) } - else if (RuntimeType.NUMBER == value_numberBadge_value_type) { + else if (RuntimeType.OBJECT == value_fontFamily_value_type) { valueSerializer.writeInt8(1) - const value_numberBadge_value_1 = unsafeCast(value_numberBadge_value) - valueSerializer.writeNumber(value_numberBadge_value_1) + const value_fontFamily_value_1 = unsafeCast(value_fontFamily_value) + valueSerializer.writeResource(value_fontFamily_value_1) } } - } - writeEdges(value: Edges): void { - let valueSerializer: Serializer = this - const value_top = value.top - let value_top_type: int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - let value_top_value_type: int32 = RuntimeType.UNDEFINED - value_top_value_type = runtimeType(value_top_value) - if (RuntimeType.STRING == value_top_value_type) { + const value_letterSpacing = value.letterSpacing + let value_letterSpacing_type: int32 = RuntimeType.UNDEFINED + value_letterSpacing_type = runtimeType(value_letterSpacing) + valueSerializer.writeInt8(value_letterSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { + const value_letterSpacing_value = value_letterSpacing! + let value_letterSpacing_value_type: int32 = RuntimeType.UNDEFINED + value_letterSpacing_value_type = runtimeType(value_letterSpacing_value) + if (RuntimeType.NUMBER == value_letterSpacing_value_type) { valueSerializer.writeInt8(0) - const value_top_value_0 = unsafeCast(value_top_value) - valueSerializer.writeString(value_top_value_0) + const value_letterSpacing_value_0 = unsafeCast(value_letterSpacing_value) + valueSerializer.writeNumber(value_letterSpacing_value_0) } - else if (RuntimeType.NUMBER == value_top_value_type) { + else if (RuntimeType.STRING == value_letterSpacing_value_type) { valueSerializer.writeInt8(1) - const value_top_value_1 = unsafeCast(value_top_value) - valueSerializer.writeNumber(value_top_value_1) - } - else if (RuntimeType.OBJECT == value_top_value_type) { - valueSerializer.writeInt8(2) - const value_top_value_2 = unsafeCast(value_top_value) - valueSerializer.writeResource(value_top_value_2) + const value_letterSpacing_value_1 = unsafeCast(value_letterSpacing_value) + valueSerializer.writeString(value_letterSpacing_value_1) } } - const value_left = value.left - let value_left_type: int32 = RuntimeType.UNDEFINED - value_left_type = runtimeType(value_left) - valueSerializer.writeInt8(value_left_type) - if ((RuntimeType.UNDEFINED) != (value_left_type)) { - const value_left_value = value_left! - let value_left_value_type: int32 = RuntimeType.UNDEFINED - value_left_value_type = runtimeType(value_left_value) - if (RuntimeType.STRING == value_left_value_type) { + const value_textAlign = value.textAlign + let value_textAlign_type: int32 = RuntimeType.UNDEFINED + value_textAlign_type = runtimeType(value_textAlign) + valueSerializer.writeInt8(value_textAlign_type) + if ((RuntimeType.UNDEFINED) != (value_textAlign_type)) { + const value_textAlign_value = value_textAlign! + let value_textAlign_value_type: int32 = RuntimeType.UNDEFINED + value_textAlign_value_type = runtimeType(value_textAlign_value) + if (RuntimeType.NUMBER == value_textAlign_value_type) { valueSerializer.writeInt8(0) - const value_left_value_0 = unsafeCast(value_left_value) - valueSerializer.writeString(value_left_value_0) + const value_textAlign_value_0 = unsafeCast(value_textAlign_value) + valueSerializer.writeNumber(value_textAlign_value_0) } - else if (RuntimeType.NUMBER == value_left_value_type) { + else if (((RuntimeType.NUMBER) == (value_textAlign_value_type)) && ((unsafeCast(value_textAlign_value)) >= (0)) && ((unsafeCast(value_textAlign_value)) <= (3))) { valueSerializer.writeInt8(1) - const value_left_value_1 = unsafeCast(value_left_value) - valueSerializer.writeNumber(value_left_value_1) + const value_textAlign_value_1 = unsafeCast(value_textAlign_value) + valueSerializer.writeInt32(value_textAlign_value_1.valueOf()) } - else if (RuntimeType.OBJECT == value_left_value_type) { - valueSerializer.writeInt8(2) - const value_left_value_2 = unsafeCast(value_left_value) - valueSerializer.writeResource(value_left_value_2) + } + const value_overflow = value.overflow + let value_overflow_type: int32 = RuntimeType.UNDEFINED + value_overflow_type = runtimeType(value_overflow) + valueSerializer.writeInt8(value_overflow_type) + if ((RuntimeType.UNDEFINED) != (value_overflow_type)) { + const value_overflow_value = value_overflow! + let value_overflow_value_type: int32 = RuntimeType.UNDEFINED + value_overflow_value_type = runtimeType(value_overflow_value) + if (RuntimeType.NUMBER == value_overflow_value_type) { + valueSerializer.writeInt8(0) + const value_overflow_value_0 = unsafeCast(value_overflow_value) + valueSerializer.writeNumber(value_overflow_value_0) + } + else if (((RuntimeType.NUMBER) == (value_overflow_value_type)) && ((unsafeCast(value_overflow_value)) >= (0)) && ((unsafeCast(value_overflow_value)) <= (3))) { + valueSerializer.writeInt8(1) + const value_overflow_value_1 = unsafeCast(value_overflow_value) + valueSerializer.writeInt32(value_overflow_value_1.valueOf()) } } - const value_bottom = value.bottom - let value_bottom_type: int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - let value_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_bottom_value_type = runtimeType(value_bottom_value) - if (RuntimeType.STRING == value_bottom_value_type) { + const value_maxLines = value.maxLines + let value_maxLines_type: int32 = RuntimeType.UNDEFINED + value_maxLines_type = runtimeType(value_maxLines) + valueSerializer.writeInt8(value_maxLines_type) + if ((RuntimeType.UNDEFINED) != (value_maxLines_type)) { + const value_maxLines_value = value_maxLines! + valueSerializer.writeNumber(value_maxLines_value) + } + const value_lineHeight = value.lineHeight + let value_lineHeight_type: int32 = RuntimeType.UNDEFINED + value_lineHeight_type = runtimeType(value_lineHeight) + valueSerializer.writeInt8(value_lineHeight_type) + if ((RuntimeType.UNDEFINED) != (value_lineHeight_type)) { + const value_lineHeight_value = value_lineHeight! + let value_lineHeight_value_type: int32 = RuntimeType.UNDEFINED + value_lineHeight_value_type = runtimeType(value_lineHeight_value) + if (RuntimeType.NUMBER == value_lineHeight_value_type) { valueSerializer.writeInt8(0) - const value_bottom_value_0 = unsafeCast(value_bottom_value) - valueSerializer.writeString(value_bottom_value_0) + const value_lineHeight_value_0 = unsafeCast(value_lineHeight_value) + valueSerializer.writeNumber(value_lineHeight_value_0) } - else if (RuntimeType.NUMBER == value_bottom_value_type) { + else if (RuntimeType.STRING == value_lineHeight_value_type) { valueSerializer.writeInt8(1) - const value_bottom_value_1 = unsafeCast(value_bottom_value) - valueSerializer.writeNumber(value_bottom_value_1) + const value_lineHeight_value_1 = unsafeCast(value_lineHeight_value) + valueSerializer.writeString(value_lineHeight_value_1) } - else if (RuntimeType.OBJECT == value_bottom_value_type) { + else if (RuntimeType.OBJECT == value_lineHeight_value_type) { valueSerializer.writeInt8(2) - const value_bottom_value_2 = unsafeCast(value_bottom_value) - valueSerializer.writeResource(value_bottom_value_2) + const value_lineHeight_value_2 = unsafeCast(value_lineHeight_value) + valueSerializer.writeResource(value_lineHeight_value_2) } } - const value_right = value.right - let value_right_type: int32 = RuntimeType.UNDEFINED - value_right_type = runtimeType(value_right) - valueSerializer.writeInt8(value_right_type) - if ((RuntimeType.UNDEFINED) != (value_right_type)) { - const value_right_value = value_right! - let value_right_value_type: int32 = RuntimeType.UNDEFINED - value_right_value_type = runtimeType(value_right_value) - if (RuntimeType.STRING == value_right_value_type) { + const value_baselineOffset = value.baselineOffset + let value_baselineOffset_type: int32 = RuntimeType.UNDEFINED + value_baselineOffset_type = runtimeType(value_baselineOffset) + valueSerializer.writeInt8(value_baselineOffset_type) + if ((RuntimeType.UNDEFINED) != (value_baselineOffset_type)) { + const value_baselineOffset_value = value_baselineOffset! + let value_baselineOffset_value_type: int32 = RuntimeType.UNDEFINED + value_baselineOffset_value_type = runtimeType(value_baselineOffset_value) + if (RuntimeType.NUMBER == value_baselineOffset_value_type) { valueSerializer.writeInt8(0) - const value_right_value_0 = unsafeCast(value_right_value) - valueSerializer.writeString(value_right_value_0) + const value_baselineOffset_value_0 = unsafeCast(value_baselineOffset_value) + valueSerializer.writeNumber(value_baselineOffset_value_0) } - else if (RuntimeType.NUMBER == value_right_value_type) { + else if (RuntimeType.STRING == value_baselineOffset_value_type) { valueSerializer.writeInt8(1) - const value_right_value_1 = unsafeCast(value_right_value) - valueSerializer.writeNumber(value_right_value_1) + const value_baselineOffset_value_1 = unsafeCast(value_baselineOffset_value) + valueSerializer.writeString(value_baselineOffset_value_1) } - else if (RuntimeType.OBJECT == value_right_value_type) { - valueSerializer.writeInt8(2) - const value_right_value_2 = unsafeCast(value_right_value) - valueSerializer.writeResource(value_right_value_2) + } + const value_textCase = value.textCase + let value_textCase_type: int32 = RuntimeType.UNDEFINED + value_textCase_type = runtimeType(value_textCase) + valueSerializer.writeInt8(value_textCase_type) + if ((RuntimeType.UNDEFINED) != (value_textCase_type)) { + const value_textCase_value = value_textCase! + let value_textCase_value_type: int32 = RuntimeType.UNDEFINED + value_textCase_value_type = runtimeType(value_textCase_value) + if (RuntimeType.NUMBER == value_textCase_value_type) { + valueSerializer.writeInt8(0) + const value_textCase_value_0 = unsafeCast(value_textCase_value) + valueSerializer.writeNumber(value_textCase_value_0) + } + else if (((RuntimeType.NUMBER) == (value_textCase_value_type)) && ((unsafeCast(value_textCase_value)) >= (0)) && ((unsafeCast(value_textCase_value)) <= (2))) { + valueSerializer.writeInt8(1) + const value_textCase_value_1 = unsafeCast(value_textCase_value) + valueSerializer.writeInt32(value_textCase_value_1.valueOf()) + } + } + const value_textIndent = value.textIndent + let value_textIndent_type: int32 = RuntimeType.UNDEFINED + value_textIndent_type = runtimeType(value_textIndent) + valueSerializer.writeInt8(value_textIndent_type) + if ((RuntimeType.UNDEFINED) != (value_textIndent_type)) { + const value_textIndent_value = value_textIndent! + let value_textIndent_value_type: int32 = RuntimeType.UNDEFINED + value_textIndent_value_type = runtimeType(value_textIndent_value) + if (RuntimeType.NUMBER == value_textIndent_value_type) { + valueSerializer.writeInt8(0) + const value_textIndent_value_0 = unsafeCast(value_textIndent_value) + valueSerializer.writeNumber(value_textIndent_value_0) + } + else if (RuntimeType.STRING == value_textIndent_value_type) { + valueSerializer.writeInt8(1) + const value_textIndent_value_1 = unsafeCast(value_textIndent_value) + valueSerializer.writeString(value_textIndent_value_1) } } + const value_wordBreak = value.wordBreak + let value_wordBreak_type: int32 = RuntimeType.UNDEFINED + value_wordBreak_type = runtimeType(value_wordBreak) + valueSerializer.writeInt8(value_wordBreak_type) + if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { + const value_wordBreak_value = value_wordBreak! + valueSerializer.writeInt32(value_wordBreak_value.valueOf()) + } } - writeExpandedMenuItemOptions(value: ExpandedMenuItemOptions): void { + public writeMenuElement(value: MenuElement): void { let valueSerializer: Serializer = this - const value_content = value.content - let value_content_type: int32 = RuntimeType.UNDEFINED - value_content_type = runtimeType(value_content) - if (RuntimeType.STRING == value_content_type) { + const value_value = value.value + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { valueSerializer.writeInt8(0) - const value_content_0 = unsafeCast(value_content) - valueSerializer.writeString(value_content_0) + const value_value_0 = unsafeCast(value_value) + valueSerializer.writeString(value_value_0) } - else if (RuntimeType.OBJECT == value_content_type) { + else if (RuntimeType.OBJECT == value_value_type) { valueSerializer.writeInt8(1) - const value_content_1 = unsafeCast(value_content) - valueSerializer.writeResource(value_content_1) + const value_value_1 = unsafeCast(value_value) + valueSerializer.writeResource(value_value_1) } - const value_startIcon = value.startIcon - let value_startIcon_type: int32 = RuntimeType.UNDEFINED - value_startIcon_type = runtimeType(value_startIcon) - valueSerializer.writeInt8(value_startIcon_type) - if ((RuntimeType.UNDEFINED) != (value_startIcon_type)) { - const value_startIcon_value = value_startIcon! - let value_startIcon_value_type: int32 = RuntimeType.UNDEFINED - value_startIcon_value_type = runtimeType(value_startIcon_value) - if (RuntimeType.STRING == value_startIcon_value_type) { + const value_icon = value.icon + let value_icon_type: int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + let value_icon_value_type: int32 = RuntimeType.UNDEFINED + value_icon_value_type = runtimeType(value_icon_value) + if (RuntimeType.STRING == value_icon_value_type) { valueSerializer.writeInt8(0) - const value_startIcon_value_0 = unsafeCast(value_startIcon_value) - valueSerializer.writeString(value_startIcon_value_0) + const value_icon_value_0 = unsafeCast(value_icon_value) + valueSerializer.writeString(value_icon_value_0) } - else if (RuntimeType.OBJECT == value_startIcon_value_type) { + else if (RuntimeType.OBJECT == value_icon_value_type) { valueSerializer.writeInt8(1) - const value_startIcon_value_1 = unsafeCast(value_startIcon_value) - valueSerializer.writeResource(value_startIcon_value_1) + const value_icon_value_1 = unsafeCast(value_icon_value) + valueSerializer.writeResource(value_icon_value_1) } } - const value_action = value.action - valueSerializer.holdAndWriteCallback(value_action) - } - writeFadingEdgeOptions(value: FadingEdgeOptions): void { - let valueSerializer: Serializer = this - const value_fadingEdgeLength = value.fadingEdgeLength - let value_fadingEdgeLength_type: int32 = RuntimeType.UNDEFINED - value_fadingEdgeLength_type = runtimeType(value_fadingEdgeLength) - valueSerializer.writeInt8(value_fadingEdgeLength_type) - if ((RuntimeType.UNDEFINED) != (value_fadingEdgeLength_type)) { - const value_fadingEdgeLength_value = value_fadingEdgeLength! - valueSerializer.writeLengthMetrics(value_fadingEdgeLength_value) - } - } - writeFlexSpaceOptions(value: FlexSpaceOptions): void { - let valueSerializer: Serializer = this - const value_main = value.main - let value_main_type: int32 = RuntimeType.UNDEFINED - value_main_type = runtimeType(value_main) - valueSerializer.writeInt8(value_main_type) - if ((RuntimeType.UNDEFINED) != (value_main_type)) { - const value_main_value = value_main! - valueSerializer.writeLengthMetrics(value_main_value) + const value_symbolIcon = value.symbolIcon + let value_symbolIcon_type: int32 = RuntimeType.UNDEFINED + value_symbolIcon_type = runtimeType(value_symbolIcon) + valueSerializer.writeInt8(value_symbolIcon_type) + if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { + const value_symbolIcon_value = value_symbolIcon! + valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) } - const value_cross = value.cross - let value_cross_type: int32 = RuntimeType.UNDEFINED - value_cross_type = runtimeType(value_cross) - valueSerializer.writeInt8(value_cross_type) - if ((RuntimeType.UNDEFINED) != (value_cross_type)) { - const value_cross_value = value_cross! - valueSerializer.writeLengthMetrics(value_cross_value) + const value_enabled = value.enabled + let value_enabled_type: int32 = RuntimeType.UNDEFINED + value_enabled_type = runtimeType(value_enabled) + valueSerializer.writeInt8(value_enabled_type) + if ((RuntimeType.UNDEFINED) != (value_enabled_type)) { + const value_enabled_value = value_enabled! + valueSerializer.writeBoolean(value_enabled_value) } + const value_action = value.action + valueSerializer.holdAndWriteCallback(value_action) } - writeFocusBoxStyle(value: FocusBoxStyle): void { + public writeMenuItemConfiguration(value: MenuItemConfiguration): void { let valueSerializer: Serializer = this - const value_margin = value.margin - let value_margin_type: int32 = RuntimeType.UNDEFINED - value_margin_type = runtimeType(value_margin) - valueSerializer.writeInt8(value_margin_type) - if ((RuntimeType.UNDEFINED) != (value_margin_type)) { - const value_margin_value = value_margin! - valueSerializer.writeLengthMetrics(value_margin_value) - } - const value_strokeColor = value.strokeColor - let value_strokeColor_type: int32 = RuntimeType.UNDEFINED - value_strokeColor_type = runtimeType(value_strokeColor) - valueSerializer.writeInt8(value_strokeColor_type) - if ((RuntimeType.UNDEFINED) != (value_strokeColor_type)) { - const value_strokeColor_value = value_strokeColor! - valueSerializer.writeColorMetrics(value_strokeColor_value) - } - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - valueSerializer.writeLengthMetrics(value_strokeWidth_value) - } + valueSerializer.writePointer(toPeerPtr(value)) } - writeFont(value: Font): void { + public writeMenuItemGroupOptions(value: MenuItemGroupOptions): void { let valueSerializer: Serializer = this - const value_size = value.size - let value_size_type: int32 = RuntimeType.UNDEFINED - value_size_type = runtimeType(value_size) - valueSerializer.writeInt8(value_size_type) - if ((RuntimeType.UNDEFINED) != (value_size_type)) { - const value_size_value = value_size! - let value_size_value_type: int32 = RuntimeType.UNDEFINED - value_size_value_type = runtimeType(value_size_value) - if (RuntimeType.STRING == value_size_value_type) { + const value_header = value.header + let value_header_type: int32 = RuntimeType.UNDEFINED + value_header_type = runtimeType(value_header) + valueSerializer.writeInt8(value_header_type) + if ((RuntimeType.UNDEFINED) != (value_header_type)) { + const value_header_value = value_header! + let value_header_value_type: int32 = RuntimeType.UNDEFINED + value_header_value_type = runtimeType(value_header_value) + if ((RuntimeType.STRING == value_header_value_type) || (RuntimeType.OBJECT == value_header_value_type)) { valueSerializer.writeInt8(0) - const value_size_value_0 = unsafeCast(value_size_value) - valueSerializer.writeString(value_size_value_0) + const value_header_value_0 = unsafeCast(value_header_value) + let value_header_value_0_type: int32 = RuntimeType.UNDEFINED + value_header_value_0_type = runtimeType(value_header_value_0) + if (RuntimeType.STRING == value_header_value_0_type) { + valueSerializer.writeInt8(0) + const value_header_value_0_0 = unsafeCast(value_header_value_0) + valueSerializer.writeString(value_header_value_0_0) + } + else if (RuntimeType.OBJECT == value_header_value_0_type) { + valueSerializer.writeInt8(1) + const value_header_value_0_1 = unsafeCast(value_header_value_0) + valueSerializer.writeResource(value_header_value_0_1) + } } - else if (RuntimeType.NUMBER == value_size_value_type) { + else if (RuntimeType.FUNCTION == value_header_value_type) { valueSerializer.writeInt8(1) - const value_size_value_1 = unsafeCast(value_size_value) - valueSerializer.writeNumber(value_size_value_1) - } - else if (RuntimeType.OBJECT == value_size_value_type) { - valueSerializer.writeInt8(2) - const value_size_value_2 = unsafeCast(value_size_value) - valueSerializer.writeResource(value_size_value_2) + const value_header_value_1 = unsafeCast(value_header_value) + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_header_value_1)) } } - const value_weight = value.weight - let value_weight_type: int32 = RuntimeType.UNDEFINED - value_weight_type = runtimeType(value_weight) - valueSerializer.writeInt8(value_weight_type) - if ((RuntimeType.UNDEFINED) != (value_weight_type)) { - const value_weight_value = value_weight! - let value_weight_value_type: int32 = RuntimeType.UNDEFINED - value_weight_value_type = runtimeType(value_weight_value) - if (((RuntimeType.NUMBER) == (value_weight_value_type)) && ((unsafeCast(value_weight_value)) >= (0)) && ((unsafeCast(value_weight_value)) <= (5))) { + const value_footer = value.footer + let value_footer_type: int32 = RuntimeType.UNDEFINED + value_footer_type = runtimeType(value_footer) + valueSerializer.writeInt8(value_footer_type) + if ((RuntimeType.UNDEFINED) != (value_footer_type)) { + const value_footer_value = value_footer! + let value_footer_value_type: int32 = RuntimeType.UNDEFINED + value_footer_value_type = runtimeType(value_footer_value) + if ((RuntimeType.STRING == value_footer_value_type) || (RuntimeType.OBJECT == value_footer_value_type)) { valueSerializer.writeInt8(0) - const value_weight_value_0 = unsafeCast(value_weight_value) - valueSerializer.writeInt32(value_weight_value_0.valueOf()) + const value_footer_value_0 = unsafeCast(value_footer_value) + let value_footer_value_0_type: int32 = RuntimeType.UNDEFINED + value_footer_value_0_type = runtimeType(value_footer_value_0) + if (RuntimeType.STRING == value_footer_value_0_type) { + valueSerializer.writeInt8(0) + const value_footer_value_0_0 = unsafeCast(value_footer_value_0) + valueSerializer.writeString(value_footer_value_0_0) + } + else if (RuntimeType.OBJECT == value_footer_value_0_type) { + valueSerializer.writeInt8(1) + const value_footer_value_0_1 = unsafeCast(value_footer_value_0) + valueSerializer.writeResource(value_footer_value_0_1) + } } - else if (RuntimeType.NUMBER == value_weight_value_type) { + else if (RuntimeType.FUNCTION == value_footer_value_type) { valueSerializer.writeInt8(1) - const value_weight_value_1 = unsafeCast(value_weight_value) - valueSerializer.writeNumber(value_weight_value_1) - } - else if (RuntimeType.STRING == value_weight_value_type) { - valueSerializer.writeInt8(2) - const value_weight_value_2 = unsafeCast(value_weight_value) - valueSerializer.writeString(value_weight_value_2) + const value_footer_value_1 = unsafeCast(value_footer_value) + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_footer_value_1)) } } - const value_family = value.family - let value_family_type: int32 = RuntimeType.UNDEFINED - value_family_type = runtimeType(value_family) - valueSerializer.writeInt8(value_family_type) - if ((RuntimeType.UNDEFINED) != (value_family_type)) { - const value_family_value = value_family! - let value_family_value_type: int32 = RuntimeType.UNDEFINED - value_family_value_type = runtimeType(value_family_value) - if (RuntimeType.STRING == value_family_value_type) { + } + public writeMenuItemOptions(value: MenuItemOptions): void { + let valueSerializer: Serializer = this + const value_startIcon = value.startIcon + let value_startIcon_type: int32 = RuntimeType.UNDEFINED + value_startIcon_type = runtimeType(value_startIcon) + valueSerializer.writeInt8(value_startIcon_type) + if ((RuntimeType.UNDEFINED) != (value_startIcon_type)) { + const value_startIcon_value = value_startIcon! + let value_startIcon_value_type: int32 = RuntimeType.UNDEFINED + value_startIcon_value_type = runtimeType(value_startIcon_value) + if (RuntimeType.STRING == value_startIcon_value_type) { valueSerializer.writeInt8(0) - const value_family_value_0 = unsafeCast(value_family_value) - valueSerializer.writeString(value_family_value_0) + const value_startIcon_value_0 = unsafeCast(value_startIcon_value) + valueSerializer.writeString(value_startIcon_value_0) } - else if (RuntimeType.OBJECT == value_family_value_type) { + else if (RuntimeType.OBJECT == value_startIcon_value_type) { valueSerializer.writeInt8(1) - const value_family_value_1 = unsafeCast(value_family_value) - valueSerializer.writeResource(value_family_value_1) + const value_startIcon_value_1 = unsafeCast(value_startIcon_value) + valueSerializer.writeResource(value_startIcon_value_1) } } - const value_style = value.style - let value_style_type: int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = value_style! - valueSerializer.writeInt32(value_style_value.valueOf()) + const value_symbolStartIcon = value.symbolStartIcon + let value_symbolStartIcon_type: int32 = RuntimeType.UNDEFINED + value_symbolStartIcon_type = runtimeType(value_symbolStartIcon) + valueSerializer.writeInt8(value_symbolStartIcon_type) + if ((RuntimeType.UNDEFINED) != (value_symbolStartIcon_type)) { + const value_symbolStartIcon_value = value_symbolStartIcon! + valueSerializer.writeSymbolGlyphModifier(value_symbolStartIcon_value) } - } - writeFontOptions(value: FontOptions): void { - let valueSerializer: Serializer = this - const value_familyName = value.familyName - let value_familyName_type: int32 = RuntimeType.UNDEFINED - value_familyName_type = runtimeType(value_familyName) - if (RuntimeType.STRING == value_familyName_type) { - valueSerializer.writeInt8(0) - const value_familyName_0 = unsafeCast(value_familyName) - valueSerializer.writeString(value_familyName_0) + const value_content = value.content + let value_content_type: int32 = RuntimeType.UNDEFINED + value_content_type = runtimeType(value_content) + valueSerializer.writeInt8(value_content_type) + if ((RuntimeType.UNDEFINED) != (value_content_type)) { + const value_content_value = value_content! + let value_content_value_type: int32 = RuntimeType.UNDEFINED + value_content_value_type = runtimeType(value_content_value) + if (RuntimeType.STRING == value_content_value_type) { + valueSerializer.writeInt8(0) + const value_content_value_0 = unsafeCast(value_content_value) + valueSerializer.writeString(value_content_value_0) + } + else if (RuntimeType.OBJECT == value_content_value_type) { + valueSerializer.writeInt8(1) + const value_content_value_1 = unsafeCast(value_content_value) + valueSerializer.writeResource(value_content_value_1) + } } - else if (RuntimeType.OBJECT == value_familyName_type) { - valueSerializer.writeInt8(1) - const value_familyName_1 = unsafeCast(value_familyName) - valueSerializer.writeResource(value_familyName_1) + const value_endIcon = value.endIcon + let value_endIcon_type: int32 = RuntimeType.UNDEFINED + value_endIcon_type = runtimeType(value_endIcon) + valueSerializer.writeInt8(value_endIcon_type) + if ((RuntimeType.UNDEFINED) != (value_endIcon_type)) { + const value_endIcon_value = value_endIcon! + let value_endIcon_value_type: int32 = RuntimeType.UNDEFINED + value_endIcon_value_type = runtimeType(value_endIcon_value) + if (RuntimeType.STRING == value_endIcon_value_type) { + valueSerializer.writeInt8(0) + const value_endIcon_value_0 = unsafeCast(value_endIcon_value) + valueSerializer.writeString(value_endIcon_value_0) + } + else if (RuntimeType.OBJECT == value_endIcon_value_type) { + valueSerializer.writeInt8(1) + const value_endIcon_value_1 = unsafeCast(value_endIcon_value) + valueSerializer.writeResource(value_endIcon_value_1) + } } - const value_familySrc = value.familySrc - let value_familySrc_type: int32 = RuntimeType.UNDEFINED - value_familySrc_type = runtimeType(value_familySrc) - if (RuntimeType.STRING == value_familySrc_type) { - valueSerializer.writeInt8(0) - const value_familySrc_0 = unsafeCast(value_familySrc) - valueSerializer.writeString(value_familySrc_0) + const value_symbolEndIcon = value.symbolEndIcon + let value_symbolEndIcon_type: int32 = RuntimeType.UNDEFINED + value_symbolEndIcon_type = runtimeType(value_symbolEndIcon) + valueSerializer.writeInt8(value_symbolEndIcon_type) + if ((RuntimeType.UNDEFINED) != (value_symbolEndIcon_type)) { + const value_symbolEndIcon_value = value_symbolEndIcon! + valueSerializer.writeSymbolGlyphModifier(value_symbolEndIcon_value) } - else if (RuntimeType.OBJECT == value_familySrc_type) { - valueSerializer.writeInt8(1) - const value_familySrc_1 = unsafeCast(value_familySrc) - valueSerializer.writeResource(value_familySrc_1) + const value_labelInfo = value.labelInfo + let value_labelInfo_type: int32 = RuntimeType.UNDEFINED + value_labelInfo_type = runtimeType(value_labelInfo) + valueSerializer.writeInt8(value_labelInfo_type) + if ((RuntimeType.UNDEFINED) != (value_labelInfo_type)) { + const value_labelInfo_value = value_labelInfo! + let value_labelInfo_value_type: int32 = RuntimeType.UNDEFINED + value_labelInfo_value_type = runtimeType(value_labelInfo_value) + if (RuntimeType.STRING == value_labelInfo_value_type) { + valueSerializer.writeInt8(0) + const value_labelInfo_value_0 = unsafeCast(value_labelInfo_value) + valueSerializer.writeString(value_labelInfo_value_0) + } + else if (RuntimeType.OBJECT == value_labelInfo_value_type) { + valueSerializer.writeInt8(1) + const value_labelInfo_value_1 = unsafeCast(value_labelInfo_value) + valueSerializer.writeResource(value_labelInfo_value_1) + } + } + const value_builder = value.builder + let value_builder_type: int32 = RuntimeType.UNDEFINED + value_builder_type = runtimeType(value_builder) + valueSerializer.writeInt8(value_builder_type) + if ((RuntimeType.UNDEFINED) != (value_builder_type)) { + const value_builder_value = value_builder! + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) } } - writeForegroundBlurStyleOptions(value: ForegroundBlurStyleOptions): void { + public writeNativeXComponentParameters(value: NativeXComponentParameters): void { let valueSerializer: Serializer = this - const value_colorMode = value.colorMode - let value_colorMode_type: int32 = RuntimeType.UNDEFINED - value_colorMode_type = runtimeType(value_colorMode) - valueSerializer.writeInt8(value_colorMode_type) - if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { - const value_colorMode_value = value_colorMode! - valueSerializer.writeInt32(value_colorMode_value.valueOf()) - } - const value_adaptiveColor = value.adaptiveColor - let value_adaptiveColor_type: int32 = RuntimeType.UNDEFINED - value_adaptiveColor_type = runtimeType(value_adaptiveColor) - valueSerializer.writeInt8(value_adaptiveColor_type) - if ((RuntimeType.UNDEFINED) != (value_adaptiveColor_type)) { - const value_adaptiveColor_value = value_adaptiveColor! - valueSerializer.writeInt32(value_adaptiveColor_value.valueOf()) - } - const value_scale = value.scale - let value_scale_type: int32 = RuntimeType.UNDEFINED - value_scale_type = runtimeType(value_scale) - valueSerializer.writeInt8(value_scale_type) - if ((RuntimeType.UNDEFINED) != (value_scale_type)) { - const value_scale_value = value_scale! - valueSerializer.writeNumber(value_scale_value) - } - const value_blurOptions = value.blurOptions - let value_blurOptions_type: int32 = RuntimeType.UNDEFINED - value_blurOptions_type = runtimeType(value_blurOptions) - valueSerializer.writeInt8(value_blurOptions_type) - if ((RuntimeType.UNDEFINED) != (value_blurOptions_type)) { - const value_blurOptions_value = value_blurOptions! - valueSerializer.writeBlurOptions(value_blurOptions_value) + const value_type = value.type + valueSerializer.writeInt32(value_type.valueOf()) + const value_imageAIOptions = value.imageAIOptions + let value_imageAIOptions_type: int32 = RuntimeType.UNDEFINED + value_imageAIOptions_type = runtimeType(value_imageAIOptions) + valueSerializer.writeInt8(value_imageAIOptions_type) + if ((RuntimeType.UNDEFINED) != (value_imageAIOptions_type)) { + const value_imageAIOptions_value = value_imageAIOptions! + valueSerializer.writeImageAIOptions(value_imageAIOptions_value) } } - writeFormInfo(value: FormInfo): void { + public writeNavDestinationCommonTitle(value: NavDestinationCommonTitle): void { let valueSerializer: Serializer = this - const value_id = value.id - let value_id_type: int32 = RuntimeType.UNDEFINED - value_id_type = runtimeType(value_id) - if (RuntimeType.NUMBER == value_id_type) { + const value_main = value.main + let value_main_type: int32 = RuntimeType.UNDEFINED + value_main_type = runtimeType(value_main) + if (RuntimeType.STRING == value_main_type) { valueSerializer.writeInt8(0) - const value_id_0 = unsafeCast(value_id) - valueSerializer.writeInt64(value_id_0) + const value_main_0 = unsafeCast(value_main) + valueSerializer.writeString(value_main_0) } - else if (RuntimeType.STRING == value_id_type) { + else if (RuntimeType.OBJECT == value_main_type) { valueSerializer.writeInt8(1) - const value_id_1 = unsafeCast(value_id) - valueSerializer.writeString(value_id_1) + const value_main_1 = unsafeCast(value_main) + valueSerializer.writeResource(value_main_1) } - const value_name = value.name - valueSerializer.writeString(value_name) - const value_bundle = value.bundle - valueSerializer.writeString(value_bundle) - const value_ability = value.ability - valueSerializer.writeString(value_ability) - const value_module = value.module - valueSerializer.writeString(value_module) - const value_dimension = value.dimension - let value_dimension_type: int32 = RuntimeType.UNDEFINED - value_dimension_type = runtimeType(value_dimension) - valueSerializer.writeInt8(value_dimension_type) - if ((RuntimeType.UNDEFINED) != (value_dimension_type)) { - const value_dimension_value = value_dimension! - valueSerializer.writeInt32(value_dimension_value.valueOf()) + const value_sub = value.sub + let value_sub_type: int32 = RuntimeType.UNDEFINED + value_sub_type = runtimeType(value_sub) + if (RuntimeType.STRING == value_sub_type) { + valueSerializer.writeInt8(0) + const value_sub_0 = unsafeCast(value_sub) + valueSerializer.writeString(value_sub_0) } - const value_temporary = value.temporary - let value_temporary_type: int32 = RuntimeType.UNDEFINED - value_temporary_type = runtimeType(value_temporary) - valueSerializer.writeInt8(value_temporary_type) - if ((RuntimeType.UNDEFINED) != (value_temporary_type)) { - const value_temporary_value = value_temporary! - valueSerializer.writeBoolean(value_temporary_value) + else if (RuntimeType.OBJECT == value_sub_type) { + valueSerializer.writeInt8(1) + const value_sub_1 = unsafeCast(value_sub) + valueSerializer.writeResource(value_sub_1) } - const value_want = value.want - let value_want_type: int32 = RuntimeType.UNDEFINED - value_want_type = runtimeType(value_want) - valueSerializer.writeInt8(value_want_type) - if ((RuntimeType.UNDEFINED) != (value_want_type)) { - const value_want_value = value_want! - valueSerializer.writeWant(value_want_value) + } + public writeNavDestinationContext(value: NavDestinationContext): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeNavigationCommonTitle(value: NavigationCommonTitle): void { + let valueSerializer: Serializer = this + const value_main = value.main + let value_main_type: int32 = RuntimeType.UNDEFINED + value_main_type = runtimeType(value_main) + if (RuntimeType.STRING == value_main_type) { + valueSerializer.writeInt8(0) + const value_main_0 = unsafeCast(value_main) + valueSerializer.writeString(value_main_0) } - const value_renderingMode = value.renderingMode - let value_renderingMode_type: int32 = RuntimeType.UNDEFINED - value_renderingMode_type = runtimeType(value_renderingMode) - valueSerializer.writeInt8(value_renderingMode_type) - if ((RuntimeType.UNDEFINED) != (value_renderingMode_type)) { - const value_renderingMode_value = value_renderingMode! - valueSerializer.writeInt32(value_renderingMode_value.valueOf()) + else if (RuntimeType.OBJECT == value_main_type) { + valueSerializer.writeInt8(1) + const value_main_1 = unsafeCast(value_main) + valueSerializer.writeResource(value_main_1) } - const value_shape = value.shape - let value_shape_type: int32 = RuntimeType.UNDEFINED - value_shape_type = runtimeType(value_shape) - valueSerializer.writeInt8(value_shape_type) - if ((RuntimeType.UNDEFINED) != (value_shape_type)) { - const value_shape_value = value_shape! - valueSerializer.writeInt32(value_shape_value.valueOf()) + const value_sub = value.sub + let value_sub_type: int32 = RuntimeType.UNDEFINED + value_sub_type = runtimeType(value_sub) + if (RuntimeType.STRING == value_sub_type) { + valueSerializer.writeInt8(0) + const value_sub_0 = unsafeCast(value_sub) + valueSerializer.writeString(value_sub_0) + } + else if (RuntimeType.OBJECT == value_sub_type) { + valueSerializer.writeInt8(1) + const value_sub_1 = unsafeCast(value_sub) + valueSerializer.writeResource(value_sub_1) } } - writeGaugeIndicatorOptions(value: GaugeIndicatorOptions): void { + public writeNavigationMenuItem(value: NavigationMenuItem): void { let valueSerializer: Serializer = this + const value_value = value.value + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + valueSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + valueSerializer.writeString(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + valueSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + valueSerializer.writeResource(value_value_1) + } const value_icon = value.icon let value_icon_type: int32 = RuntimeType.UNDEFINED value_icon_type = runtimeType(value_icon) @@ -10810,111 +11755,202 @@ export class Serializer extends SerializerBase { valueSerializer.writeResource(value_icon_value_1) } } - const value_space = value.space - let value_space_type: int32 = RuntimeType.UNDEFINED - value_space_type = runtimeType(value_space) - valueSerializer.writeInt8(value_space_type) - if ((RuntimeType.UNDEFINED) != (value_space_type)) { - const value_space_value = value_space! - let value_space_value_type: int32 = RuntimeType.UNDEFINED - value_space_value_type = runtimeType(value_space_value) - if (RuntimeType.STRING == value_space_value_type) { + const value_symbolIcon = value.symbolIcon + let value_symbolIcon_type: int32 = RuntimeType.UNDEFINED + value_symbolIcon_type = runtimeType(value_symbolIcon) + valueSerializer.writeInt8(value_symbolIcon_type) + if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { + const value_symbolIcon_value = value_symbolIcon! + valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) + } + const value_isEnabled = value.isEnabled + let value_isEnabled_type: int32 = RuntimeType.UNDEFINED + value_isEnabled_type = runtimeType(value_isEnabled) + valueSerializer.writeInt8(value_isEnabled_type) + if ((RuntimeType.UNDEFINED) != (value_isEnabled_type)) { + const value_isEnabled_value = value_isEnabled! + valueSerializer.writeBoolean(value_isEnabled_value) + } + const value_action = value.action + let value_action_type: int32 = RuntimeType.UNDEFINED + value_action_type = runtimeType(value_action) + valueSerializer.writeInt8(value_action_type) + if ((RuntimeType.UNDEFINED) != (value_action_type)) { + const value_action_value = value_action! + valueSerializer.holdAndWriteCallback(value_action_value) + } + } + public writeNonCurrentDayStyle(value: NonCurrentDayStyle): void { + let valueSerializer: Serializer = this + const value_nonCurrentMonthDayColor = value.nonCurrentMonthDayColor + let value_nonCurrentMonthDayColor_type: int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthDayColor_type = runtimeType(value_nonCurrentMonthDayColor) + valueSerializer.writeInt8(value_nonCurrentMonthDayColor_type) + if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthDayColor_type)) { + const value_nonCurrentMonthDayColor_value = value_nonCurrentMonthDayColor! + let value_nonCurrentMonthDayColor_value_type: int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthDayColor_value_type = runtimeType(value_nonCurrentMonthDayColor_value) + if (((RuntimeType.NUMBER) == (value_nonCurrentMonthDayColor_value_type)) && ((unsafeCast(value_nonCurrentMonthDayColor_value)) >= (0)) && ((unsafeCast(value_nonCurrentMonthDayColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_space_value_0 = unsafeCast(value_space_value) - valueSerializer.writeString(value_space_value_0) + const value_nonCurrentMonthDayColor_value_0 = unsafeCast(value_nonCurrentMonthDayColor_value) + valueSerializer.writeInt32(value_nonCurrentMonthDayColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_space_value_type) { + else if (RuntimeType.NUMBER == value_nonCurrentMonthDayColor_value_type) { valueSerializer.writeInt8(1) - const value_space_value_1 = unsafeCast(value_space_value) - valueSerializer.writeNumber(value_space_value_1) + const value_nonCurrentMonthDayColor_value_1 = unsafeCast(value_nonCurrentMonthDayColor_value) + valueSerializer.writeNumber(value_nonCurrentMonthDayColor_value_1) } - else if (RuntimeType.OBJECT == value_space_value_type) { + else if (RuntimeType.STRING == value_nonCurrentMonthDayColor_value_type) { valueSerializer.writeInt8(2) - const value_space_value_2 = unsafeCast(value_space_value) - valueSerializer.writeResource(value_space_value_2) + const value_nonCurrentMonthDayColor_value_2 = unsafeCast(value_nonCurrentMonthDayColor_value) + valueSerializer.writeString(value_nonCurrentMonthDayColor_value_2) + } + else if (RuntimeType.OBJECT == value_nonCurrentMonthDayColor_value_type) { + valueSerializer.writeInt8(3) + const value_nonCurrentMonthDayColor_value_3 = unsafeCast(value_nonCurrentMonthDayColor_value) + valueSerializer.writeResource(value_nonCurrentMonthDayColor_value_3) } } - } - writeGaugeShadowOptions(value: GaugeShadowOptions): void { - let valueSerializer: Serializer = this - const value_radius = value.radius - let value_radius_type: int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type) - if ((RuntimeType.UNDEFINED) != (value_radius_type)) { - const value_radius_value = value_radius! - let value_radius_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_type = runtimeType(value_radius_value) - if (RuntimeType.NUMBER == value_radius_value_type) { + const value_nonCurrentMonthLunarColor = value.nonCurrentMonthLunarColor + let value_nonCurrentMonthLunarColor_type: int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthLunarColor_type = runtimeType(value_nonCurrentMonthLunarColor) + valueSerializer.writeInt8(value_nonCurrentMonthLunarColor_type) + if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthLunarColor_type)) { + const value_nonCurrentMonthLunarColor_value = value_nonCurrentMonthLunarColor! + let value_nonCurrentMonthLunarColor_value_type: int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthLunarColor_value_type = runtimeType(value_nonCurrentMonthLunarColor_value) + if (((RuntimeType.NUMBER) == (value_nonCurrentMonthLunarColor_value_type)) && ((unsafeCast(value_nonCurrentMonthLunarColor_value)) >= (0)) && ((unsafeCast(value_nonCurrentMonthLunarColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_radius_value_0 = unsafeCast(value_radius_value) - valueSerializer.writeNumber(value_radius_value_0) + const value_nonCurrentMonthLunarColor_value_0 = unsafeCast(value_nonCurrentMonthLunarColor_value) + valueSerializer.writeInt32(value_nonCurrentMonthLunarColor_value_0.valueOf()) } - else if (RuntimeType.OBJECT == value_radius_value_type) { + else if (RuntimeType.NUMBER == value_nonCurrentMonthLunarColor_value_type) { valueSerializer.writeInt8(1) - const value_radius_value_1 = unsafeCast(value_radius_value) - valueSerializer.writeResource(value_radius_value_1) + const value_nonCurrentMonthLunarColor_value_1 = unsafeCast(value_nonCurrentMonthLunarColor_value) + valueSerializer.writeNumber(value_nonCurrentMonthLunarColor_value_1) + } + else if (RuntimeType.STRING == value_nonCurrentMonthLunarColor_value_type) { + valueSerializer.writeInt8(2) + const value_nonCurrentMonthLunarColor_value_2 = unsafeCast(value_nonCurrentMonthLunarColor_value) + valueSerializer.writeString(value_nonCurrentMonthLunarColor_value_2) + } + else if (RuntimeType.OBJECT == value_nonCurrentMonthLunarColor_value_type) { + valueSerializer.writeInt8(3) + const value_nonCurrentMonthLunarColor_value_3 = unsafeCast(value_nonCurrentMonthLunarColor_value) + valueSerializer.writeResource(value_nonCurrentMonthLunarColor_value_3) } } - const value_offsetX = value.offsetX - let value_offsetX_type: int32 = RuntimeType.UNDEFINED - value_offsetX_type = runtimeType(value_offsetX) - valueSerializer.writeInt8(value_offsetX_type) - if ((RuntimeType.UNDEFINED) != (value_offsetX_type)) { - const value_offsetX_value = value_offsetX! - let value_offsetX_value_type: int32 = RuntimeType.UNDEFINED - value_offsetX_value_type = runtimeType(value_offsetX_value) - if (RuntimeType.NUMBER == value_offsetX_value_type) { + const value_nonCurrentMonthWorkDayMarkColor = value.nonCurrentMonthWorkDayMarkColor + let value_nonCurrentMonthWorkDayMarkColor_type: int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthWorkDayMarkColor_type = runtimeType(value_nonCurrentMonthWorkDayMarkColor) + valueSerializer.writeInt8(value_nonCurrentMonthWorkDayMarkColor_type) + if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthWorkDayMarkColor_type)) { + const value_nonCurrentMonthWorkDayMarkColor_value = value_nonCurrentMonthWorkDayMarkColor! + let value_nonCurrentMonthWorkDayMarkColor_value_type: int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthWorkDayMarkColor_value_type = runtimeType(value_nonCurrentMonthWorkDayMarkColor_value) + if (((RuntimeType.NUMBER) == (value_nonCurrentMonthWorkDayMarkColor_value_type)) && ((unsafeCast(value_nonCurrentMonthWorkDayMarkColor_value)) >= (0)) && ((unsafeCast(value_nonCurrentMonthWorkDayMarkColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_offsetX_value_0 = unsafeCast(value_offsetX_value) - valueSerializer.writeNumber(value_offsetX_value_0) + const value_nonCurrentMonthWorkDayMarkColor_value_0 = unsafeCast(value_nonCurrentMonthWorkDayMarkColor_value) + valueSerializer.writeInt32(value_nonCurrentMonthWorkDayMarkColor_value_0.valueOf()) } - else if (RuntimeType.OBJECT == value_offsetX_value_type) { + else if (RuntimeType.NUMBER == value_nonCurrentMonthWorkDayMarkColor_value_type) { valueSerializer.writeInt8(1) - const value_offsetX_value_1 = unsafeCast(value_offsetX_value) - valueSerializer.writeResource(value_offsetX_value_1) + const value_nonCurrentMonthWorkDayMarkColor_value_1 = unsafeCast(value_nonCurrentMonthWorkDayMarkColor_value) + valueSerializer.writeNumber(value_nonCurrentMonthWorkDayMarkColor_value_1) + } + else if (RuntimeType.STRING == value_nonCurrentMonthWorkDayMarkColor_value_type) { + valueSerializer.writeInt8(2) + const value_nonCurrentMonthWorkDayMarkColor_value_2 = unsafeCast(value_nonCurrentMonthWorkDayMarkColor_value) + valueSerializer.writeString(value_nonCurrentMonthWorkDayMarkColor_value_2) + } + else if (RuntimeType.OBJECT == value_nonCurrentMonthWorkDayMarkColor_value_type) { + valueSerializer.writeInt8(3) + const value_nonCurrentMonthWorkDayMarkColor_value_3 = unsafeCast(value_nonCurrentMonthWorkDayMarkColor_value) + valueSerializer.writeResource(value_nonCurrentMonthWorkDayMarkColor_value_3) } } - const value_offsetY = value.offsetY - let value_offsetY_type: int32 = RuntimeType.UNDEFINED - value_offsetY_type = runtimeType(value_offsetY) - valueSerializer.writeInt8(value_offsetY_type) - if ((RuntimeType.UNDEFINED) != (value_offsetY_type)) { - const value_offsetY_value = value_offsetY! - let value_offsetY_value_type: int32 = RuntimeType.UNDEFINED - value_offsetY_value_type = runtimeType(value_offsetY_value) - if (RuntimeType.NUMBER == value_offsetY_value_type) { + const value_nonCurrentMonthOffDayMarkColor = value.nonCurrentMonthOffDayMarkColor + let value_nonCurrentMonthOffDayMarkColor_type: int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthOffDayMarkColor_type = runtimeType(value_nonCurrentMonthOffDayMarkColor) + valueSerializer.writeInt8(value_nonCurrentMonthOffDayMarkColor_type) + if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthOffDayMarkColor_type)) { + const value_nonCurrentMonthOffDayMarkColor_value = value_nonCurrentMonthOffDayMarkColor! + let value_nonCurrentMonthOffDayMarkColor_value_type: int32 = RuntimeType.UNDEFINED + value_nonCurrentMonthOffDayMarkColor_value_type = runtimeType(value_nonCurrentMonthOffDayMarkColor_value) + if (((RuntimeType.NUMBER) == (value_nonCurrentMonthOffDayMarkColor_value_type)) && ((unsafeCast(value_nonCurrentMonthOffDayMarkColor_value)) >= (0)) && ((unsafeCast(value_nonCurrentMonthOffDayMarkColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_offsetY_value_0 = unsafeCast(value_offsetY_value) - valueSerializer.writeNumber(value_offsetY_value_0) + const value_nonCurrentMonthOffDayMarkColor_value_0 = unsafeCast(value_nonCurrentMonthOffDayMarkColor_value) + valueSerializer.writeInt32(value_nonCurrentMonthOffDayMarkColor_value_0.valueOf()) } - else if (RuntimeType.OBJECT == value_offsetY_value_type) { + else if (RuntimeType.NUMBER == value_nonCurrentMonthOffDayMarkColor_value_type) { valueSerializer.writeInt8(1) - const value_offsetY_value_1 = unsafeCast(value_offsetY_value) - valueSerializer.writeResource(value_offsetY_value_1) + const value_nonCurrentMonthOffDayMarkColor_value_1 = unsafeCast(value_nonCurrentMonthOffDayMarkColor_value) + valueSerializer.writeNumber(value_nonCurrentMonthOffDayMarkColor_value_1) + } + else if (RuntimeType.STRING == value_nonCurrentMonthOffDayMarkColor_value_type) { + valueSerializer.writeInt8(2) + const value_nonCurrentMonthOffDayMarkColor_value_2 = unsafeCast(value_nonCurrentMonthOffDayMarkColor_value) + valueSerializer.writeString(value_nonCurrentMonthOffDayMarkColor_value_2) + } + else if (RuntimeType.OBJECT == value_nonCurrentMonthOffDayMarkColor_value_type) { + valueSerializer.writeInt8(3) + const value_nonCurrentMonthOffDayMarkColor_value_3 = unsafeCast(value_nonCurrentMonthOffDayMarkColor_value) + valueSerializer.writeResource(value_nonCurrentMonthOffDayMarkColor_value_3) } } } - writeGridColOptions(value: GridColOptions): void { + public writeOffscreenCanvasRenderingContext2D(value: OffscreenCanvasRenderingContext2D): void { let valueSerializer: Serializer = this - const value_span = value.span - let value_span_type: int32 = RuntimeType.UNDEFINED - value_span_type = runtimeType(value_span) - valueSerializer.writeInt8(value_span_type) - if ((RuntimeType.UNDEFINED) != (value_span_type)) { - const value_span_value = value_span! - let value_span_value_type: int32 = RuntimeType.UNDEFINED - value_span_value_type = runtimeType(value_span_value) - if (RuntimeType.NUMBER == value_span_value_type) { - valueSerializer.writeInt8(0) - const value_span_value_0 = unsafeCast(value_span_value) - valueSerializer.writeNumber(value_span_value_0) - } - else if (RuntimeType.OBJECT == value_span_value_type) { - valueSerializer.writeInt8(1) - const value_span_value_1 = unsafeCast(value_span_value) - valueSerializer.writeGridColColumnOption(value_span_value_1) - } + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeOffset(value: Offset): void { + let valueSerializer: Serializer = this + const value_dx = value.dx + let value_dx_type: int32 = RuntimeType.UNDEFINED + value_dx_type = runtimeType(value_dx) + if (RuntimeType.STRING == value_dx_type) { + valueSerializer.writeInt8(0) + const value_dx_0 = unsafeCast(value_dx) + valueSerializer.writeString(value_dx_0) + } + else if (RuntimeType.NUMBER == value_dx_type) { + valueSerializer.writeInt8(1) + const value_dx_1 = unsafeCast(value_dx) + valueSerializer.writeNumber(value_dx_1) + } + else if (RuntimeType.OBJECT == value_dx_type) { + valueSerializer.writeInt8(2) + const value_dx_2 = unsafeCast(value_dx) + valueSerializer.writeResource(value_dx_2) + } + const value_dy = value.dy + let value_dy_type: int32 = RuntimeType.UNDEFINED + value_dy_type = runtimeType(value_dy) + if (RuntimeType.STRING == value_dy_type) { + valueSerializer.writeInt8(0) + const value_dy_0 = unsafeCast(value_dy) + valueSerializer.writeString(value_dy_0) + } + else if (RuntimeType.NUMBER == value_dy_type) { + valueSerializer.writeInt8(1) + const value_dy_1 = unsafeCast(value_dy) + valueSerializer.writeNumber(value_dy_1) + } + else if (RuntimeType.OBJECT == value_dy_type) { + valueSerializer.writeInt8(2) + const value_dy_2 = unsafeCast(value_dy) + valueSerializer.writeResource(value_dy_2) + } + } + public writeOverlayOptions(value: OverlayOptions): void { + let valueSerializer: Serializer = this + const value_align = value.align + let value_align_type: int32 = RuntimeType.UNDEFINED + value_align_type = runtimeType(value_align) + valueSerializer.writeInt8(value_align_type) + if ((RuntimeType.UNDEFINED) != (value_align_type)) { + const value_align_value = value_align! + valueSerializer.writeInt32(value_align_value.valueOf()) } const value_offset = value.offset let value_offset_type: int32 = RuntimeType.UNDEFINED @@ -10922,535 +11958,856 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! - let value_offset_value_type: int32 = RuntimeType.UNDEFINED - value_offset_value_type = runtimeType(value_offset_value) - if (RuntimeType.NUMBER == value_offset_value_type) { + valueSerializer.writeOverlayOffset(value_offset_value) + } + } + public writePasswordIcon(value: PasswordIcon): void { + let valueSerializer: Serializer = this + const value_onIconSrc = value.onIconSrc + let value_onIconSrc_type: int32 = RuntimeType.UNDEFINED + value_onIconSrc_type = runtimeType(value_onIconSrc) + valueSerializer.writeInt8(value_onIconSrc_type) + if ((RuntimeType.UNDEFINED) != (value_onIconSrc_type)) { + const value_onIconSrc_value = value_onIconSrc! + let value_onIconSrc_value_type: int32 = RuntimeType.UNDEFINED + value_onIconSrc_value_type = runtimeType(value_onIconSrc_value) + if (RuntimeType.STRING == value_onIconSrc_value_type) { valueSerializer.writeInt8(0) - const value_offset_value_0 = unsafeCast(value_offset_value) - valueSerializer.writeNumber(value_offset_value_0) + const value_onIconSrc_value_0 = unsafeCast(value_onIconSrc_value) + valueSerializer.writeString(value_onIconSrc_value_0) } - else if (RuntimeType.OBJECT == value_offset_value_type) { + else if (RuntimeType.OBJECT == value_onIconSrc_value_type) { valueSerializer.writeInt8(1) - const value_offset_value_1 = unsafeCast(value_offset_value) - valueSerializer.writeGridColColumnOption(value_offset_value_1) + const value_onIconSrc_value_1 = unsafeCast(value_onIconSrc_value) + valueSerializer.writeResource(value_onIconSrc_value_1) } } - const value_order = value.order - let value_order_type: int32 = RuntimeType.UNDEFINED - value_order_type = runtimeType(value_order) - valueSerializer.writeInt8(value_order_type) - if ((RuntimeType.UNDEFINED) != (value_order_type)) { - const value_order_value = value_order! - let value_order_value_type: int32 = RuntimeType.UNDEFINED - value_order_value_type = runtimeType(value_order_value) - if (RuntimeType.NUMBER == value_order_value_type) { + const value_offIconSrc = value.offIconSrc + let value_offIconSrc_type: int32 = RuntimeType.UNDEFINED + value_offIconSrc_type = runtimeType(value_offIconSrc) + valueSerializer.writeInt8(value_offIconSrc_type) + if ((RuntimeType.UNDEFINED) != (value_offIconSrc_type)) { + const value_offIconSrc_value = value_offIconSrc! + let value_offIconSrc_value_type: int32 = RuntimeType.UNDEFINED + value_offIconSrc_value_type = runtimeType(value_offIconSrc_value) + if (RuntimeType.STRING == value_offIconSrc_value_type) { valueSerializer.writeInt8(0) - const value_order_value_0 = unsafeCast(value_order_value) - valueSerializer.writeNumber(value_order_value_0) + const value_offIconSrc_value_0 = unsafeCast(value_offIconSrc_value) + valueSerializer.writeString(value_offIconSrc_value_0) } - else if (RuntimeType.OBJECT == value_order_value_type) { + else if (RuntimeType.OBJECT == value_offIconSrc_value_type) { valueSerializer.writeInt8(1) - const value_order_value_1 = unsafeCast(value_order_value) - valueSerializer.writeGridColColumnOption(value_order_value_1) + const value_offIconSrc_value_1 = unsafeCast(value_offIconSrc_value) + valueSerializer.writeResource(value_offIconSrc_value_1) } } } - writeGridRowSizeOption(value: GridRowSizeOption): void { + public writePluginComponentOptions(value: PluginComponentOptions): void { let valueSerializer: Serializer = this - const value_xs = value.xs - let value_xs_type: int32 = RuntimeType.UNDEFINED - value_xs_type = runtimeType(value_xs) - valueSerializer.writeInt8(value_xs_type) - if ((RuntimeType.UNDEFINED) != (value_xs_type)) { - const value_xs_value = value_xs! - let value_xs_value_type: int32 = RuntimeType.UNDEFINED - value_xs_value_type = runtimeType(value_xs_value) - if (RuntimeType.STRING == value_xs_value_type) { + const value_template = value.template + valueSerializer.writePluginComponentTemplate(value_template) + const value_data = value.data + valueSerializer.writeString(value_data) + } + public writeRadioStyle(value: RadioStyle): void { + let valueSerializer: Serializer = this + const value_checkedBackgroundColor = value.checkedBackgroundColor + let value_checkedBackgroundColor_type: int32 = RuntimeType.UNDEFINED + value_checkedBackgroundColor_type = runtimeType(value_checkedBackgroundColor) + valueSerializer.writeInt8(value_checkedBackgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_checkedBackgroundColor_type)) { + const value_checkedBackgroundColor_value = value_checkedBackgroundColor! + let value_checkedBackgroundColor_value_type: int32 = RuntimeType.UNDEFINED + value_checkedBackgroundColor_value_type = runtimeType(value_checkedBackgroundColor_value) + if (((RuntimeType.NUMBER) == (value_checkedBackgroundColor_value_type)) && ((unsafeCast(value_checkedBackgroundColor_value)) >= (0)) && ((unsafeCast(value_checkedBackgroundColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_xs_value_0 = unsafeCast(value_xs_value) - valueSerializer.writeString(value_xs_value_0) + const value_checkedBackgroundColor_value_0 = unsafeCast(value_checkedBackgroundColor_value) + valueSerializer.writeInt32(value_checkedBackgroundColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_xs_value_type) { + else if (RuntimeType.NUMBER == value_checkedBackgroundColor_value_type) { valueSerializer.writeInt8(1) - const value_xs_value_1 = unsafeCast(value_xs_value) - valueSerializer.writeNumber(value_xs_value_1) + const value_checkedBackgroundColor_value_1 = unsafeCast(value_checkedBackgroundColor_value) + valueSerializer.writeNumber(value_checkedBackgroundColor_value_1) } - else if (RuntimeType.OBJECT == value_xs_value_type) { + else if (RuntimeType.STRING == value_checkedBackgroundColor_value_type) { valueSerializer.writeInt8(2) - const value_xs_value_2 = unsafeCast(value_xs_value) - valueSerializer.writeResource(value_xs_value_2) + const value_checkedBackgroundColor_value_2 = unsafeCast(value_checkedBackgroundColor_value) + valueSerializer.writeString(value_checkedBackgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_checkedBackgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_checkedBackgroundColor_value_3 = unsafeCast(value_checkedBackgroundColor_value) + valueSerializer.writeResource(value_checkedBackgroundColor_value_3) } } - const value_sm = value.sm - let value_sm_type: int32 = RuntimeType.UNDEFINED - value_sm_type = runtimeType(value_sm) - valueSerializer.writeInt8(value_sm_type) - if ((RuntimeType.UNDEFINED) != (value_sm_type)) { - const value_sm_value = value_sm! - let value_sm_value_type: int32 = RuntimeType.UNDEFINED - value_sm_value_type = runtimeType(value_sm_value) - if (RuntimeType.STRING == value_sm_value_type) { + const value_uncheckedBorderColor = value.uncheckedBorderColor + let value_uncheckedBorderColor_type: int32 = RuntimeType.UNDEFINED + value_uncheckedBorderColor_type = runtimeType(value_uncheckedBorderColor) + valueSerializer.writeInt8(value_uncheckedBorderColor_type) + if ((RuntimeType.UNDEFINED) != (value_uncheckedBorderColor_type)) { + const value_uncheckedBorderColor_value = value_uncheckedBorderColor! + let value_uncheckedBorderColor_value_type: int32 = RuntimeType.UNDEFINED + value_uncheckedBorderColor_value_type = runtimeType(value_uncheckedBorderColor_value) + if (((RuntimeType.NUMBER) == (value_uncheckedBorderColor_value_type)) && ((unsafeCast(value_uncheckedBorderColor_value)) >= (0)) && ((unsafeCast(value_uncheckedBorderColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_sm_value_0 = unsafeCast(value_sm_value) - valueSerializer.writeString(value_sm_value_0) + const value_uncheckedBorderColor_value_0 = unsafeCast(value_uncheckedBorderColor_value) + valueSerializer.writeInt32(value_uncheckedBorderColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_sm_value_type) { + else if (RuntimeType.NUMBER == value_uncheckedBorderColor_value_type) { valueSerializer.writeInt8(1) - const value_sm_value_1 = unsafeCast(value_sm_value) - valueSerializer.writeNumber(value_sm_value_1) + const value_uncheckedBorderColor_value_1 = unsafeCast(value_uncheckedBorderColor_value) + valueSerializer.writeNumber(value_uncheckedBorderColor_value_1) } - else if (RuntimeType.OBJECT == value_sm_value_type) { + else if (RuntimeType.STRING == value_uncheckedBorderColor_value_type) { valueSerializer.writeInt8(2) - const value_sm_value_2 = unsafeCast(value_sm_value) - valueSerializer.writeResource(value_sm_value_2) + const value_uncheckedBorderColor_value_2 = unsafeCast(value_uncheckedBorderColor_value) + valueSerializer.writeString(value_uncheckedBorderColor_value_2) + } + else if (RuntimeType.OBJECT == value_uncheckedBorderColor_value_type) { + valueSerializer.writeInt8(3) + const value_uncheckedBorderColor_value_3 = unsafeCast(value_uncheckedBorderColor_value) + valueSerializer.writeResource(value_uncheckedBorderColor_value_3) } } - const value_md = value.md - let value_md_type: int32 = RuntimeType.UNDEFINED - value_md_type = runtimeType(value_md) - valueSerializer.writeInt8(value_md_type) - if ((RuntimeType.UNDEFINED) != (value_md_type)) { - const value_md_value = value_md! - let value_md_value_type: int32 = RuntimeType.UNDEFINED - value_md_value_type = runtimeType(value_md_value) - if (RuntimeType.STRING == value_md_value_type) { + const value_indicatorColor = value.indicatorColor + let value_indicatorColor_type: int32 = RuntimeType.UNDEFINED + value_indicatorColor_type = runtimeType(value_indicatorColor) + valueSerializer.writeInt8(value_indicatorColor_type) + if ((RuntimeType.UNDEFINED) != (value_indicatorColor_type)) { + const value_indicatorColor_value = value_indicatorColor! + let value_indicatorColor_value_type: int32 = RuntimeType.UNDEFINED + value_indicatorColor_value_type = runtimeType(value_indicatorColor_value) + if (((RuntimeType.NUMBER) == (value_indicatorColor_value_type)) && ((unsafeCast(value_indicatorColor_value)) >= (0)) && ((unsafeCast(value_indicatorColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_md_value_0 = unsafeCast(value_md_value) - valueSerializer.writeString(value_md_value_0) + const value_indicatorColor_value_0 = unsafeCast(value_indicatorColor_value) + valueSerializer.writeInt32(value_indicatorColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_md_value_type) { + else if (RuntimeType.NUMBER == value_indicatorColor_value_type) { valueSerializer.writeInt8(1) - const value_md_value_1 = unsafeCast(value_md_value) - valueSerializer.writeNumber(value_md_value_1) + const value_indicatorColor_value_1 = unsafeCast(value_indicatorColor_value) + valueSerializer.writeNumber(value_indicatorColor_value_1) } - else if (RuntimeType.OBJECT == value_md_value_type) { + else if (RuntimeType.STRING == value_indicatorColor_value_type) { valueSerializer.writeInt8(2) - const value_md_value_2 = unsafeCast(value_md_value) - valueSerializer.writeResource(value_md_value_2) + const value_indicatorColor_value_2 = unsafeCast(value_indicatorColor_value) + valueSerializer.writeString(value_indicatorColor_value_2) + } + else if (RuntimeType.OBJECT == value_indicatorColor_value_type) { + valueSerializer.writeInt8(3) + const value_indicatorColor_value_3 = unsafeCast(value_indicatorColor_value) + valueSerializer.writeResource(value_indicatorColor_value_3) } } - const value_lg = value.lg - let value_lg_type: int32 = RuntimeType.UNDEFINED - value_lg_type = runtimeType(value_lg) - valueSerializer.writeInt8(value_lg_type) - if ((RuntimeType.UNDEFINED) != (value_lg_type)) { - const value_lg_value = value_lg! - let value_lg_value_type: int32 = RuntimeType.UNDEFINED - value_lg_value_type = runtimeType(value_lg_value) - if (RuntimeType.STRING == value_lg_value_type) { + } + public writeRectOptions(value: RectOptions): void { + let valueSerializer: Serializer = this + const value_width = value.width + let value_width_type: int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type: int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.NUMBER == value_width_value_type) { valueSerializer.writeInt8(0) - const value_lg_value_0 = unsafeCast(value_lg_value) - valueSerializer.writeString(value_lg_value_0) + const value_width_value_0 = unsafeCast(value_width_value) + valueSerializer.writeNumber(value_width_value_0) } - else if (RuntimeType.NUMBER == value_lg_value_type) { + else if (RuntimeType.STRING == value_width_value_type) { valueSerializer.writeInt8(1) - const value_lg_value_1 = unsafeCast(value_lg_value) - valueSerializer.writeNumber(value_lg_value_1) - } - else if (RuntimeType.OBJECT == value_lg_value_type) { - valueSerializer.writeInt8(2) - const value_lg_value_2 = unsafeCast(value_lg_value) - valueSerializer.writeResource(value_lg_value_2) + const value_width_value_1 = unsafeCast(value_width_value) + valueSerializer.writeString(value_width_value_1) } } - const value_xl = value.xl - let value_xl_type: int32 = RuntimeType.UNDEFINED - value_xl_type = runtimeType(value_xl) - valueSerializer.writeInt8(value_xl_type) - if ((RuntimeType.UNDEFINED) != (value_xl_type)) { - const value_xl_value = value_xl! - let value_xl_value_type: int32 = RuntimeType.UNDEFINED - value_xl_value_type = runtimeType(value_xl_value) - if (RuntimeType.STRING == value_xl_value_type) { + const value_height = value.height + let value_height_type: int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type: int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.NUMBER == value_height_value_type) { valueSerializer.writeInt8(0) - const value_xl_value_0 = unsafeCast(value_xl_value) - valueSerializer.writeString(value_xl_value_0) + const value_height_value_0 = unsafeCast(value_height_value) + valueSerializer.writeNumber(value_height_value_0) } - else if (RuntimeType.NUMBER == value_xl_value_type) { + else if (RuntimeType.STRING == value_height_value_type) { valueSerializer.writeInt8(1) - const value_xl_value_1 = unsafeCast(value_xl_value) - valueSerializer.writeNumber(value_xl_value_1) - } - else if (RuntimeType.OBJECT == value_xl_value_type) { - valueSerializer.writeInt8(2) - const value_xl_value_2 = unsafeCast(value_xl_value) - valueSerializer.writeResource(value_xl_value_2) + const value_height_value_1 = unsafeCast(value_height_value) + valueSerializer.writeString(value_height_value_1) } } - const value_xxl = value.xxl - let value_xxl_type: int32 = RuntimeType.UNDEFINED - value_xxl_type = runtimeType(value_xxl) - valueSerializer.writeInt8(value_xxl_type) - if ((RuntimeType.UNDEFINED) != (value_xxl_type)) { - const value_xxl_value = value_xxl! - let value_xxl_value_type: int32 = RuntimeType.UNDEFINED - value_xxl_value_type = runtimeType(value_xxl_value) - if (RuntimeType.STRING == value_xxl_value_type) { + const value_radius = value.radius + let value_radius_type: int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + let value_radius_value_type: int32 = RuntimeType.UNDEFINED + value_radius_value_type = runtimeType(value_radius_value) + if (RuntimeType.NUMBER == value_radius_value_type) { valueSerializer.writeInt8(0) - const value_xxl_value_0 = unsafeCast(value_xxl_value) - valueSerializer.writeString(value_xxl_value_0) + const value_radius_value_0 = unsafeCast(value_radius_value) + valueSerializer.writeNumber(value_radius_value_0) } - else if (RuntimeType.NUMBER == value_xxl_value_type) { + else if (RuntimeType.STRING == value_radius_value_type) { valueSerializer.writeInt8(1) - const value_xxl_value_1 = unsafeCast(value_xxl_value) - valueSerializer.writeNumber(value_xxl_value_1) + const value_radius_value_1 = unsafeCast(value_radius_value) + valueSerializer.writeString(value_radius_value_1) } - else if (RuntimeType.OBJECT == value_xxl_value_type) { + else if (RuntimeType.OBJECT == value_radius_value_type) { valueSerializer.writeInt8(2) - const value_xxl_value_2 = unsafeCast(value_xxl_value) - valueSerializer.writeResource(value_xxl_value_2) + const value_radius_value_2 = unsafeCast>(value_radius_value) + valueSerializer.writeInt32(value_radius_value_2.length) + for (let i = 0; i < value_radius_value_2.length; i++) { + const value_radius_value_2_element: number | string = value_radius_value_2[i] + let value_radius_value_2_element_type: int32 = RuntimeType.UNDEFINED + value_radius_value_2_element_type = runtimeType(value_radius_value_2_element) + if (RuntimeType.NUMBER == value_radius_value_2_element_type) { + valueSerializer.writeInt8(0) + const value_radius_value_2_element_0 = unsafeCast(value_radius_value_2_element) + valueSerializer.writeNumber(value_radius_value_2_element_0) + } + else if (RuntimeType.STRING == value_radius_value_2_element_type) { + valueSerializer.writeInt8(1) + const value_radius_value_2_element_1 = unsafeCast(value_radius_value_2_element) + valueSerializer.writeString(value_radius_value_2_element_1) + } + } } } } - writeGuideLinePosition(value: GuideLinePosition): void { + public writeRectShapeOptions(value: RectShapeOptions): void { let valueSerializer: Serializer = this - const value_start = value.start - let value_start_type: int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - let value_start_value_type: int32 = RuntimeType.UNDEFINED - value_start_value_type = runtimeType(value_start_value) - if (RuntimeType.STRING == value_start_value_type) { + const value_width = value.width + let value_width_type: int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type: int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.NUMBER == value_width_value_type) { valueSerializer.writeInt8(0) - const value_start_value_0 = unsafeCast(value_start_value) - valueSerializer.writeString(value_start_value_0) + const value_width_value_0 = unsafeCast(value_width_value) + valueSerializer.writeNumber(value_width_value_0) } - else if (RuntimeType.NUMBER == value_start_value_type) { + else if (RuntimeType.STRING == value_width_value_type) { valueSerializer.writeInt8(1) - const value_start_value_1 = unsafeCast(value_start_value) - valueSerializer.writeNumber(value_start_value_1) - } - else if (RuntimeType.OBJECT == value_start_value_type) { - valueSerializer.writeInt8(2) - const value_start_value_2 = unsafeCast(value_start_value) - valueSerializer.writeResource(value_start_value_2) + const value_width_value_1 = unsafeCast(value_width_value) + valueSerializer.writeString(value_width_value_1) } } - const value_end = value.end - let value_end_type: int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - let value_end_value_type: int32 = RuntimeType.UNDEFINED - value_end_value_type = runtimeType(value_end_value) - if (RuntimeType.STRING == value_end_value_type) { + const value_height = value.height + let value_height_type: int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type: int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.NUMBER == value_height_value_type) { valueSerializer.writeInt8(0) - const value_end_value_0 = unsafeCast(value_end_value) - valueSerializer.writeString(value_end_value_0) + const value_height_value_0 = unsafeCast(value_height_value) + valueSerializer.writeNumber(value_height_value_0) } - else if (RuntimeType.NUMBER == value_end_value_type) { + else if (RuntimeType.STRING == value_height_value_type) { valueSerializer.writeInt8(1) - const value_end_value_1 = unsafeCast(value_end_value) - valueSerializer.writeNumber(value_end_value_1) - } - else if (RuntimeType.OBJECT == value_end_value_type) { - valueSerializer.writeInt8(2) - const value_end_value_2 = unsafeCast(value_end_value) - valueSerializer.writeResource(value_end_value_2) + const value_height_value_1 = unsafeCast(value_height_value) + valueSerializer.writeString(value_height_value_1) } } - } - writeGuideLineStyle(value: GuideLineStyle): void { - let valueSerializer: Serializer = this - const value_id = value.id - valueSerializer.writeString(value_id) - const value_direction = value.direction - valueSerializer.writeInt32(value_direction.valueOf()) - const value_position = value.position - valueSerializer.writeGuideLinePosition(value_position) - } - writeHistoricalPoint(value: HistoricalPoint): void { - let valueSerializer: Serializer = this - const value_touchObject = value.touchObject - valueSerializer.writeTouchObject(value_touchObject) - const value_size = value.size - valueSerializer.writeNumber(value_size) - const value_force = value.force - valueSerializer.writeNumber(value_force) - const value_timestamp = value.timestamp - valueSerializer.writeInt64(value_timestamp) - } - writeIconOptions(value: IconOptions): void { - let valueSerializer: Serializer = this - const value_size = value.size - let value_size_type: int32 = RuntimeType.UNDEFINED - value_size_type = runtimeType(value_size) - valueSerializer.writeInt8(value_size_type) - if ((RuntimeType.UNDEFINED) != (value_size_type)) { - const value_size_value = value_size! - let value_size_value_type: int32 = RuntimeType.UNDEFINED - value_size_value_type = runtimeType(value_size_value) - if (RuntimeType.STRING == value_size_value_type) { + const value_radius = value.radius + let value_radius_type: int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + let value_radius_value_type: int32 = RuntimeType.UNDEFINED + value_radius_value_type = runtimeType(value_radius_value) + if (RuntimeType.NUMBER == value_radius_value_type) { valueSerializer.writeInt8(0) - const value_size_value_0 = unsafeCast(value_size_value) - valueSerializer.writeString(value_size_value_0) + const value_radius_value_0 = unsafeCast(value_radius_value) + valueSerializer.writeNumber(value_radius_value_0) } - else if (RuntimeType.NUMBER == value_size_value_type) { + else if (RuntimeType.STRING == value_radius_value_type) { valueSerializer.writeInt8(1) - const value_size_value_1 = unsafeCast(value_size_value) - valueSerializer.writeNumber(value_size_value_1) + const value_radius_value_1 = unsafeCast(value_radius_value) + valueSerializer.writeString(value_radius_value_1) } - else if (RuntimeType.OBJECT == value_size_value_type) { + else if (RuntimeType.OBJECT == value_radius_value_type) { valueSerializer.writeInt8(2) - const value_size_value_2 = unsafeCast(value_size_value) - valueSerializer.writeResource(value_size_value_2) + const value_radius_value_2 = unsafeCast>(value_radius_value) + valueSerializer.writeInt32(value_radius_value_2.length) + for (let i = 0; i < value_radius_value_2.length; i++) { + const value_radius_value_2_element: number | string = value_radius_value_2[i] + let value_radius_value_2_element_type: int32 = RuntimeType.UNDEFINED + value_radius_value_2_element_type = runtimeType(value_radius_value_2_element) + if (RuntimeType.NUMBER == value_radius_value_2_element_type) { + valueSerializer.writeInt8(0) + const value_radius_value_2_element_0 = unsafeCast(value_radius_value_2_element) + valueSerializer.writeNumber(value_radius_value_2_element_0) + } + else if (RuntimeType.STRING == value_radius_value_2_element_type) { + valueSerializer.writeInt8(1) + const value_radius_value_2_element_1 = unsafeCast(value_radius_value_2_element) + valueSerializer.writeString(value_radius_value_2_element_1) + } + } } } - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { + } + public writeRefreshOptions(value: RefreshOptions): void { + let valueSerializer: Serializer = this + const value_refreshing = value.refreshing + valueSerializer.writeBoolean(value_refreshing) + const value_offset = value.offset + let value_offset_type: int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + let value_offset_value_type: int32 = RuntimeType.UNDEFINED + value_offset_value_type = runtimeType(value_offset_value) + if (RuntimeType.NUMBER == value_offset_value_type) { valueSerializer.writeInt8(0) - const value_color_value_0 = unsafeCast(value_color_value) - valueSerializer.writeInt32(value_color_value_0.valueOf()) + const value_offset_value_0 = unsafeCast(value_offset_value) + valueSerializer.writeNumber(value_offset_value_0) } - else if (RuntimeType.NUMBER == value_color_value_type) { + else if (RuntimeType.STRING == value_offset_value_type) { valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeNumber(value_color_value_1) + const value_offset_value_1 = unsafeCast(value_offset_value) + valueSerializer.writeString(value_offset_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { - valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_2) + } + const value_friction = value.friction + let value_friction_type: int32 = RuntimeType.UNDEFINED + value_friction_type = runtimeType(value_friction) + valueSerializer.writeInt8(value_friction_type) + if ((RuntimeType.UNDEFINED) != (value_friction_type)) { + const value_friction_value = value_friction! + let value_friction_value_type: int32 = RuntimeType.UNDEFINED + value_friction_value_type = runtimeType(value_friction_value) + if (RuntimeType.NUMBER == value_friction_value_type) { + valueSerializer.writeInt8(0) + const value_friction_value_0 = unsafeCast(value_friction_value) + valueSerializer.writeNumber(value_friction_value_0) } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_3) + else if (RuntimeType.STRING == value_friction_value_type) { + valueSerializer.writeInt8(1) + const value_friction_value_1 = unsafeCast(value_friction_value) + valueSerializer.writeString(value_friction_value_1) } } - const value_src = value.src - let value_src_type: int32 = RuntimeType.UNDEFINED - value_src_type = runtimeType(value_src) - valueSerializer.writeInt8(value_src_type) - if ((RuntimeType.UNDEFINED) != (value_src_type)) { - const value_src_value = value_src! - let value_src_value_type: int32 = RuntimeType.UNDEFINED - value_src_value_type = runtimeType(value_src_value) - if (RuntimeType.STRING == value_src_value_type) { + const value_promptText = value.promptText + let value_promptText_type: int32 = RuntimeType.UNDEFINED + value_promptText_type = runtimeType(value_promptText) + valueSerializer.writeInt8(value_promptText_type) + if ((RuntimeType.UNDEFINED) != (value_promptText_type)) { + const value_promptText_value = value_promptText! + let value_promptText_value_type: int32 = RuntimeType.UNDEFINED + value_promptText_value_type = runtimeType(value_promptText_value) + if (RuntimeType.STRING == value_promptText_value_type) { valueSerializer.writeInt8(0) - const value_src_value_0 = unsafeCast(value_src_value) - valueSerializer.writeString(value_src_value_0) + const value_promptText_value_0 = unsafeCast(value_promptText_value) + valueSerializer.writeString(value_promptText_value_0) } - else if (RuntimeType.OBJECT == value_src_value_type) { + else if (RuntimeType.OBJECT == value_promptText_value_type) { valueSerializer.writeInt8(1) - const value_src_value_1 = unsafeCast(value_src_value) - valueSerializer.writeResource(value_src_value_1) + const value_promptText_value_1 = unsafeCast(value_promptText_value) + valueSerializer.writeResource(value_promptText_value_1) } } + const value_builder = value.builder + let value_builder_type: int32 = RuntimeType.UNDEFINED + value_builder_type = runtimeType(value_builder) + valueSerializer.writeInt8(value_builder_type) + if ((RuntimeType.UNDEFINED) != (value_builder_type)) { + const value_builder_value = value_builder! + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) + } + const value_refreshingContent = value.refreshingContent + let value_refreshingContent_type: int32 = RuntimeType.UNDEFINED + value_refreshingContent_type = runtimeType(value_refreshingContent) + valueSerializer.writeInt8(value_refreshingContent_type) + if ((RuntimeType.UNDEFINED) != (value_refreshingContent_type)) { + const value_refreshingContent_value = value_refreshingContent! + valueSerializer.writeComponentContent(value_refreshingContent_value) + } } - writeImageFrameInfo(value: ImageFrameInfo): void { + public writeRestrictedWorker(value: RestrictedWorker): void { let valueSerializer: Serializer = this - const value_src = value.src - let value_src_type: int32 = RuntimeType.UNDEFINED - value_src_type = runtimeType(value_src) - if (RuntimeType.STRING == value_src_type) { - valueSerializer.writeInt8(0) - const value_src_0 = unsafeCast(value_src) - valueSerializer.writeString(value_src_0) + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeReuseOptions(value: ReuseOptions): void { + let valueSerializer: Serializer = this + const value_reuseId = value.reuseId + let value_reuseId_type: int32 = RuntimeType.UNDEFINED + value_reuseId_type = runtimeType(value_reuseId) + valueSerializer.writeInt8(value_reuseId_type) + if ((RuntimeType.UNDEFINED) != (value_reuseId_type)) { + const value_reuseId_value = value_reuseId! + valueSerializer.holdAndWriteCallback(value_reuseId_value) } - else if (((RuntimeType.OBJECT) == (value_src_type)) && ((value_src!.hasOwnProperty("bundleName")))) { - valueSerializer.writeInt8(1) - const value_src_1 = unsafeCast(value_src) - valueSerializer.writeResource(value_src_1) + } + public writeRichEditorBuilderSpanOptions(value: RichEditorBuilderSpanOptions): void { + let valueSerializer: Serializer = this + const value_offset = value.offset + let value_offset_type: int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writeNumber(value_offset_value) } - else if (((RuntimeType.OBJECT) == (value_src_type)) && ((value_src!.hasOwnProperty("isEditable")))) { - valueSerializer.writeInt8(2) - const value_src_2 = unsafeCast(value_src) - valueSerializer.writePixelMap(value_src_2) + const value_dragBackgroundColor = value.dragBackgroundColor + let value_dragBackgroundColor_type: int32 = RuntimeType.UNDEFINED + value_dragBackgroundColor_type = runtimeType(value_dragBackgroundColor) + valueSerializer.writeInt8(value_dragBackgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_dragBackgroundColor_type)) { + const value_dragBackgroundColor_value = value_dragBackgroundColor! + valueSerializer.writeColorMetrics(value_dragBackgroundColor_value) } - const value_width = value.width - let value_width_type: int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.NUMBER == value_width_value_type) { + const value_isDragShadowNeeded = value.isDragShadowNeeded + let value_isDragShadowNeeded_type: int32 = RuntimeType.UNDEFINED + value_isDragShadowNeeded_type = runtimeType(value_isDragShadowNeeded) + valueSerializer.writeInt8(value_isDragShadowNeeded_type) + if ((RuntimeType.UNDEFINED) != (value_isDragShadowNeeded_type)) { + const value_isDragShadowNeeded_value = value_isDragShadowNeeded! + valueSerializer.writeBoolean(value_isDragShadowNeeded_value) + } + } + public writeRichEditorChangeValue(value: RichEditorChangeValue): void { + let valueSerializer: Serializer = this + const value_rangeBefore = value.rangeBefore + valueSerializer.writeTextRange(value_rangeBefore) + const value_replacedSpans = value.replacedSpans + valueSerializer.writeInt32(value_replacedSpans.length) + for (let i = 0; i < value_replacedSpans.length; i++) { + const value_replacedSpans_element: RichEditorTextSpanResult = value_replacedSpans[i] + valueSerializer.writeRichEditorTextSpanResult(value_replacedSpans_element) + } + const value_replacedImageSpans = value.replacedImageSpans + valueSerializer.writeInt32(value_replacedImageSpans.length) + for (let i = 0; i < value_replacedImageSpans.length; i++) { + const value_replacedImageSpans_element: RichEditorImageSpanResult = value_replacedImageSpans[i] + valueSerializer.writeRichEditorImageSpanResult(value_replacedImageSpans_element) + } + const value_replacedSymbolSpans = value.replacedSymbolSpans + valueSerializer.writeInt32(value_replacedSymbolSpans.length) + for (let i = 0; i < value_replacedSymbolSpans.length; i++) { + const value_replacedSymbolSpans_element: RichEditorTextSpanResult = value_replacedSymbolSpans[i] + valueSerializer.writeRichEditorTextSpanResult(value_replacedSymbolSpans_element) + } + } + public writeRichEditorSymbolSpanStyle(value: RichEditorSymbolSpanStyle): void { + let valueSerializer: Serializer = this + const value_fontSize = value.fontSize + let value_fontSize_type: int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + let value_fontSize_value_type: int32 = RuntimeType.UNDEFINED + value_fontSize_value_type = runtimeType(value_fontSize_value) + if (RuntimeType.NUMBER == value_fontSize_value_type) { valueSerializer.writeInt8(0) - const value_width_value_0 = unsafeCast(value_width_value) - valueSerializer.writeNumber(value_width_value_0) + const value_fontSize_value_0 = unsafeCast(value_fontSize_value) + valueSerializer.writeNumber(value_fontSize_value_0) } - else if (RuntimeType.STRING == value_width_value_type) { + else if (RuntimeType.STRING == value_fontSize_value_type) { valueSerializer.writeInt8(1) - const value_width_value_1 = unsafeCast(value_width_value) - valueSerializer.writeString(value_width_value_1) + const value_fontSize_value_1 = unsafeCast(value_fontSize_value) + valueSerializer.writeString(value_fontSize_value_1) + } + else if (RuntimeType.OBJECT == value_fontSize_value_type) { + valueSerializer.writeInt8(2) + const value_fontSize_value_2 = unsafeCast(value_fontSize_value) + valueSerializer.writeResource(value_fontSize_value_2) } } - const value_height = value.height - let value_height_type: int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type: int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.NUMBER == value_height_value_type) { + const value_fontColor = value.fontColor + let value_fontColor_type: int32 = RuntimeType.UNDEFINED + value_fontColor_type = runtimeType(value_fontColor) + valueSerializer.writeInt8(value_fontColor_type) + if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { + const value_fontColor_value = value_fontColor! + valueSerializer.writeInt32(value_fontColor_value.length) + for (let i = 0; i < value_fontColor_value.length; i++) { + const value_fontColor_value_element: ResourceColor = value_fontColor_value[i] + let value_fontColor_value_element_type: int32 = RuntimeType.UNDEFINED + value_fontColor_value_element_type = runtimeType(value_fontColor_value_element) + if (((RuntimeType.NUMBER) == (value_fontColor_value_element_type)) && ((unsafeCast(value_fontColor_value_element)) >= (0)) && ((unsafeCast(value_fontColor_value_element)) <= (11))) { + valueSerializer.writeInt8(0) + const value_fontColor_value_element_0 = unsafeCast(value_fontColor_value_element) + valueSerializer.writeInt32(value_fontColor_value_element_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_fontColor_value_element_type) { + valueSerializer.writeInt8(1) + const value_fontColor_value_element_1 = unsafeCast(value_fontColor_value_element) + valueSerializer.writeNumber(value_fontColor_value_element_1) + } + else if (RuntimeType.STRING == value_fontColor_value_element_type) { + valueSerializer.writeInt8(2) + const value_fontColor_value_element_2 = unsafeCast(value_fontColor_value_element) + valueSerializer.writeString(value_fontColor_value_element_2) + } + else if (RuntimeType.OBJECT == value_fontColor_value_element_type) { + valueSerializer.writeInt8(3) + const value_fontColor_value_element_3 = unsafeCast(value_fontColor_value_element) + valueSerializer.writeResource(value_fontColor_value_element_3) + } + } + } + const value_fontWeight = value.fontWeight + let value_fontWeight_type: int32 = RuntimeType.UNDEFINED + value_fontWeight_type = runtimeType(value_fontWeight) + valueSerializer.writeInt8(value_fontWeight_type) + if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { + const value_fontWeight_value = value_fontWeight! + let value_fontWeight_value_type: int32 = RuntimeType.UNDEFINED + value_fontWeight_value_type = runtimeType(value_fontWeight_value) + if (RuntimeType.NUMBER == value_fontWeight_value_type) { valueSerializer.writeInt8(0) - const value_height_value_0 = unsafeCast(value_height_value) - valueSerializer.writeNumber(value_height_value_0) + const value_fontWeight_value_0 = unsafeCast(value_fontWeight_value) + valueSerializer.writeNumber(value_fontWeight_value_0) } - else if (RuntimeType.STRING == value_height_value_type) { + else if (((RuntimeType.NUMBER) == (value_fontWeight_value_type)) && ((unsafeCast(value_fontWeight_value)) >= (0)) && ((unsafeCast(value_fontWeight_value)) <= (5))) { valueSerializer.writeInt8(1) - const value_height_value_1 = unsafeCast(value_height_value) - valueSerializer.writeString(value_height_value_1) + const value_fontWeight_value_1 = unsafeCast(value_fontWeight_value) + valueSerializer.writeInt32(value_fontWeight_value_1.valueOf()) + } + else if (RuntimeType.STRING == value_fontWeight_value_type) { + valueSerializer.writeInt8(2) + const value_fontWeight_value_2 = unsafeCast(value_fontWeight_value) + valueSerializer.writeString(value_fontWeight_value_2) } } - const value_top = value.top - let value_top_type: int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - let value_top_value_type: int32 = RuntimeType.UNDEFINED - value_top_value_type = runtimeType(value_top_value) - if (RuntimeType.NUMBER == value_top_value_type) { + const value_effectStrategy = value.effectStrategy + let value_effectStrategy_type: int32 = RuntimeType.UNDEFINED + value_effectStrategy_type = runtimeType(value_effectStrategy) + valueSerializer.writeInt8(value_effectStrategy_type) + if ((RuntimeType.UNDEFINED) != (value_effectStrategy_type)) { + const value_effectStrategy_value = value_effectStrategy! + valueSerializer.writeInt32(value_effectStrategy_value.valueOf()) + } + const value_renderingStrategy = value.renderingStrategy + let value_renderingStrategy_type: int32 = RuntimeType.UNDEFINED + value_renderingStrategy_type = runtimeType(value_renderingStrategy) + valueSerializer.writeInt8(value_renderingStrategy_type) + if ((RuntimeType.UNDEFINED) != (value_renderingStrategy_type)) { + const value_renderingStrategy_value = value_renderingStrategy! + valueSerializer.writeInt32(value_renderingStrategy_value.valueOf()) + } + } + public writeRichEditorUpdateSymbolSpanStyleOptions(value: RichEditorUpdateSymbolSpanStyleOptions): void { + let valueSerializer: Serializer = this + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeNumber(value_start_value) + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeNumber(value_end_value) + } + const value_symbolStyle = value.symbolStyle + valueSerializer.writeRichEditorSymbolSpanStyle(value_symbolStyle) + } + public writeRichEditorUrlStyle(value: RichEditorUrlStyle): void { + let valueSerializer: Serializer = this + const value_url = value.url + let value_url_type: int32 = RuntimeType.UNDEFINED + value_url_type = runtimeType(value_url) + valueSerializer.writeInt8(value_url_type) + if ((RuntimeType.UNDEFINED) != (value_url_type)) { + const value_url_value = value_url! + let value_url_value_type: int32 = RuntimeType.UNDEFINED + value_url_value_type = runtimeType(value_url_value) + if (RuntimeType.STRING == value_url_value_type) { valueSerializer.writeInt8(0) - const value_top_value_0 = unsafeCast(value_top_value) - valueSerializer.writeNumber(value_top_value_0) + const value_url_value_0 = unsafeCast(value_url_value) + valueSerializer.writeString(value_url_value_0) } - else if (RuntimeType.STRING == value_top_value_type) { + else if (RuntimeType.OBJECT == value_url_value_type) { valueSerializer.writeInt8(1) - const value_top_value_1 = unsafeCast(value_top_value) - valueSerializer.writeString(value_top_value_1) + const value_url_value_1 = unsafeCast(value_url_value) + valueSerializer.writeResource(value_url_value_1) } } - const value_left = value.left - let value_left_type: int32 = RuntimeType.UNDEFINED - value_left_type = runtimeType(value_left) - valueSerializer.writeInt8(value_left_type) - if ((RuntimeType.UNDEFINED) != (value_left_type)) { - const value_left_value = value_left! - let value_left_value_type: int32 = RuntimeType.UNDEFINED - value_left_value_type = runtimeType(value_left_value) - if (RuntimeType.NUMBER == value_left_value_type) { + } + public writeSceneOptions(value: SceneOptions): void { + let valueSerializer: Serializer = this + const value_scene = value.scene + let value_scene_type: int32 = RuntimeType.UNDEFINED + value_scene_type = runtimeType(value_scene) + valueSerializer.writeInt8(value_scene_type) + if ((RuntimeType.UNDEFINED) != (value_scene_type)) { + const value_scene_value = value_scene! + let value_scene_value_type: int32 = RuntimeType.UNDEFINED + value_scene_value_type = runtimeType(value_scene_value) + if ((RuntimeType.STRING == value_scene_value_type) || (RuntimeType.OBJECT == value_scene_value_type)) { valueSerializer.writeInt8(0) - const value_left_value_0 = unsafeCast(value_left_value) - valueSerializer.writeNumber(value_left_value_0) + const value_scene_value_0 = unsafeCast(value_scene_value) + let value_scene_value_0_type: int32 = RuntimeType.UNDEFINED + value_scene_value_0_type = runtimeType(value_scene_value_0) + if (RuntimeType.STRING == value_scene_value_0_type) { + valueSerializer.writeInt8(0) + const value_scene_value_0_0 = unsafeCast(value_scene_value_0) + valueSerializer.writeString(value_scene_value_0_0) + } + else if (RuntimeType.OBJECT == value_scene_value_0_type) { + valueSerializer.writeInt8(1) + const value_scene_value_0_1 = unsafeCast(value_scene_value_0) + valueSerializer.writeResource(value_scene_value_0_1) + } } - else if (RuntimeType.STRING == value_left_value_type) { + else if (((RuntimeType.OBJECT) == (value_scene_value_type)) && (value_scene_value instanceof Scene)) { valueSerializer.writeInt8(1) - const value_left_value_1 = unsafeCast(value_left_value) - valueSerializer.writeString(value_left_value_1) + const value_scene_value_1 = unsafeCast(value_scene_value) + valueSerializer.writeScene(value_scene_value_1) } } - const value_duration = value.duration - let value_duration_type: int32 = RuntimeType.UNDEFINED - value_duration_type = runtimeType(value_duration) - valueSerializer.writeInt8(value_duration_type) - if ((RuntimeType.UNDEFINED) != (value_duration_type)) { - const value_duration_value = value_duration! - valueSerializer.writeNumber(value_duration_value) + const value_modelType = value.modelType + let value_modelType_type: int32 = RuntimeType.UNDEFINED + value_modelType_type = runtimeType(value_modelType) + valueSerializer.writeInt8(value_modelType_type) + if ((RuntimeType.UNDEFINED) != (value_modelType_type)) { + const value_modelType_value = value_modelType! + valueSerializer.writeInt32(value_modelType_value.valueOf()) } } - writeIndicatorStyle(value: IndicatorStyle): void { + public writeScrollOptions(value: ScrollOptions): void { let valueSerializer: Serializer = this - const value_height = value.height - let value_height_type: int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type: int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.STRING == value_height_value_type) { + const value_xOffset = value.xOffset + let value_xOffset_type: int32 = RuntimeType.UNDEFINED + value_xOffset_type = runtimeType(value_xOffset) + if (RuntimeType.NUMBER == value_xOffset_type) { + valueSerializer.writeInt8(0) + const value_xOffset_0 = unsafeCast(value_xOffset) + valueSerializer.writeNumber(value_xOffset_0) + } + else if (RuntimeType.STRING == value_xOffset_type) { + valueSerializer.writeInt8(1) + const value_xOffset_1 = unsafeCast(value_xOffset) + valueSerializer.writeString(value_xOffset_1) + } + const value_yOffset = value.yOffset + let value_yOffset_type: int32 = RuntimeType.UNDEFINED + value_yOffset_type = runtimeType(value_yOffset) + if (RuntimeType.NUMBER == value_yOffset_type) { + valueSerializer.writeInt8(0) + const value_yOffset_0 = unsafeCast(value_yOffset) + valueSerializer.writeNumber(value_yOffset_0) + } + else if (RuntimeType.STRING == value_yOffset_type) { + valueSerializer.writeInt8(1) + const value_yOffset_1 = unsafeCast(value_yOffset) + valueSerializer.writeString(value_yOffset_1) + } + const value_animation = value.animation + let value_animation_type: int32 = RuntimeType.UNDEFINED + value_animation_type = runtimeType(value_animation) + valueSerializer.writeInt8(value_animation_type) + if ((RuntimeType.UNDEFINED) != (value_animation_type)) { + const value_animation_value = value_animation! + let value_animation_value_type: int32 = RuntimeType.UNDEFINED + value_animation_value_type = runtimeType(value_animation_value) + if (RuntimeType.OBJECT == value_animation_value_type) { valueSerializer.writeInt8(0) - const value_height_value_0 = unsafeCast(value_height_value) - valueSerializer.writeString(value_height_value_0) + const value_animation_value_0 = unsafeCast(value_animation_value) + valueSerializer.writeScrollAnimationOptions(value_animation_value_0) } - else if (RuntimeType.NUMBER == value_height_value_type) { + else if (RuntimeType.BOOLEAN == value_animation_value_type) { valueSerializer.writeInt8(1) - const value_height_value_1 = unsafeCast(value_height_value) - valueSerializer.writeNumber(value_height_value_1) - } - else if (RuntimeType.OBJECT == value_height_value_type) { - valueSerializer.writeInt8(2) - const value_height_value_2 = unsafeCast(value_height_value) - valueSerializer.writeResource(value_height_value_2) + const value_animation_value_1 = unsafeCast(value_animation_value) + valueSerializer.writeBoolean(value_animation_value_1) } } - const value_width = value.width - let value_width_type: int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_0 = unsafeCast(value_width_value) - valueSerializer.writeString(value_width_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_1 = unsafeCast(value_width_value) - valueSerializer.writeNumber(value_width_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_2 = unsafeCast(value_width_value) - valueSerializer.writeResource(value_width_value_2) - } + } + public writeScrollToIndexOptions(value: ScrollToIndexOptions): void { + let valueSerializer: Serializer = this + const value_extraOffset = value.extraOffset + let value_extraOffset_type: int32 = RuntimeType.UNDEFINED + value_extraOffset_type = runtimeType(value_extraOffset) + valueSerializer.writeInt8(value_extraOffset_type) + if ((RuntimeType.UNDEFINED) != (value_extraOffset_type)) { + const value_extraOffset_value = value_extraOffset! + valueSerializer.writeLengthMetrics(value_extraOffset_value) } - const value_borderRadius = value.borderRadius - let value_borderRadius_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_type = runtimeType(value_borderRadius) - valueSerializer.writeInt8(value_borderRadius_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { - const value_borderRadius_value = value_borderRadius! - let value_borderRadius_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_type = runtimeType(value_borderRadius_value) - if (RuntimeType.STRING == value_borderRadius_value_type) { + } + public writeSearchOptions(value: SearchOptions): void { + let valueSerializer: Serializer = this + const value_value = value.value + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + valueSerializer.writeInt8(value_value_type) + if ((RuntimeType.UNDEFINED) != (value_value_type)) { + const value_value_value = value_value! + valueSerializer.writeString(value_value_value) + } + const value_placeholder = value.placeholder + let value_placeholder_type: int32 = RuntimeType.UNDEFINED + value_placeholder_type = runtimeType(value_placeholder) + valueSerializer.writeInt8(value_placeholder_type) + if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { + const value_placeholder_value = value_placeholder! + let value_placeholder_value_type: int32 = RuntimeType.UNDEFINED + value_placeholder_value_type = runtimeType(value_placeholder_value) + if (RuntimeType.STRING == value_placeholder_value_type) { valueSerializer.writeInt8(0) - const value_borderRadius_value_0 = unsafeCast(value_borderRadius_value) - valueSerializer.writeString(value_borderRadius_value_0) + const value_placeholder_value_0 = unsafeCast(value_placeholder_value) + valueSerializer.writeString(value_placeholder_value_0) } - else if (RuntimeType.NUMBER == value_borderRadius_value_type) { + else if (RuntimeType.OBJECT == value_placeholder_value_type) { valueSerializer.writeInt8(1) - const value_borderRadius_value_1 = unsafeCast(value_borderRadius_value) - valueSerializer.writeNumber(value_borderRadius_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_2 = unsafeCast(value_borderRadius_value) - valueSerializer.writeResource(value_borderRadius_value_2) + const value_placeholder_value_1 = unsafeCast(value_placeholder_value) + valueSerializer.writeResource(value_placeholder_value_1) } } - const value_marginTop = value.marginTop - let value_marginTop_type: int32 = RuntimeType.UNDEFINED - value_marginTop_type = runtimeType(value_marginTop) - valueSerializer.writeInt8(value_marginTop_type) - if ((RuntimeType.UNDEFINED) != (value_marginTop_type)) { - const value_marginTop_value = value_marginTop! - let value_marginTop_value_type: int32 = RuntimeType.UNDEFINED - value_marginTop_value_type = runtimeType(value_marginTop_value) - if (RuntimeType.STRING == value_marginTop_value_type) { + const value_icon = value.icon + let value_icon_type: int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + valueSerializer.writeString(value_icon_value) + } + const value_controller = value.controller + let value_controller_type: int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + valueSerializer.writeInt8(value_controller_type) + if ((RuntimeType.UNDEFINED) != (value_controller_type)) { + const value_controller_value = value_controller! + valueSerializer.writeSearchController(value_controller_value) + } + } + public writeSelectionMenuOptions(value: SelectionMenuOptions): void { + let valueSerializer: Serializer = this + const value_onAppear = value.onAppear + let value_onAppear_type: int32 = RuntimeType.UNDEFINED + value_onAppear_type = runtimeType(value_onAppear) + valueSerializer.writeInt8(value_onAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { + const value_onAppear_value = value_onAppear! + valueSerializer.holdAndWriteCallback(value_onAppear_value) + } + const value_onDisappear = value.onDisappear + let value_onDisappear_type: int32 = RuntimeType.UNDEFINED + value_onDisappear_type = runtimeType(value_onDisappear) + valueSerializer.writeInt8(value_onDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { + const value_onDisappear_value = value_onDisappear! + valueSerializer.holdAndWriteCallback(value_onDisappear_value) + } + const value_menuType = value.menuType + let value_menuType_type: int32 = RuntimeType.UNDEFINED + value_menuType_type = runtimeType(value_menuType) + valueSerializer.writeInt8(value_menuType_type) + if ((RuntimeType.UNDEFINED) != (value_menuType_type)) { + const value_menuType_value = value_menuType! + valueSerializer.writeInt32(value_menuType_value.valueOf()) + } + const value_onMenuShow = value.onMenuShow + let value_onMenuShow_type: int32 = RuntimeType.UNDEFINED + value_onMenuShow_type = runtimeType(value_onMenuShow) + valueSerializer.writeInt8(value_onMenuShow_type) + if ((RuntimeType.UNDEFINED) != (value_onMenuShow_type)) { + const value_onMenuShow_value = value_onMenuShow! + valueSerializer.holdAndWriteCallback(value_onMenuShow_value) + } + const value_onMenuHide = value.onMenuHide + let value_onMenuHide_type: int32 = RuntimeType.UNDEFINED + value_onMenuHide_type = runtimeType(value_onMenuHide) + valueSerializer.writeInt8(value_onMenuHide_type) + if ((RuntimeType.UNDEFINED) != (value_onMenuHide_type)) { + const value_onMenuHide_value = value_onMenuHide! + valueSerializer.holdAndWriteCallback(value_onMenuHide_value) + } + const value_previewMenuOptions = value.previewMenuOptions + let value_previewMenuOptions_type: int32 = RuntimeType.UNDEFINED + value_previewMenuOptions_type = runtimeType(value_previewMenuOptions) + valueSerializer.writeInt8(value_previewMenuOptions_type) + if ((RuntimeType.UNDEFINED) != (value_previewMenuOptions_type)) { + const value_previewMenuOptions_value = value_previewMenuOptions! + valueSerializer.writePreviewMenuOptions(value_previewMenuOptions_value) + } + } + public writeSelectOption(value: SelectOption): void { + let valueSerializer: Serializer = this + const value_value = value.value + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + valueSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + valueSerializer.writeString(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + valueSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + valueSerializer.writeResource(value_value_1) + } + const value_icon = value.icon + let value_icon_type: int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + let value_icon_value_type: int32 = RuntimeType.UNDEFINED + value_icon_value_type = runtimeType(value_icon_value) + if (RuntimeType.STRING == value_icon_value_type) { valueSerializer.writeInt8(0) - const value_marginTop_value_0 = unsafeCast(value_marginTop_value) - valueSerializer.writeString(value_marginTop_value_0) + const value_icon_value_0 = unsafeCast(value_icon_value) + valueSerializer.writeString(value_icon_value_0) } - else if (RuntimeType.NUMBER == value_marginTop_value_type) { + else if (RuntimeType.OBJECT == value_icon_value_type) { valueSerializer.writeInt8(1) - const value_marginTop_value_1 = unsafeCast(value_marginTop_value) - valueSerializer.writeNumber(value_marginTop_value_1) - } - else if (RuntimeType.OBJECT == value_marginTop_value_type) { - valueSerializer.writeInt8(2) - const value_marginTop_value_2 = unsafeCast(value_marginTop_value) - valueSerializer.writeResource(value_marginTop_value_2) + const value_icon_value_1 = unsafeCast(value_icon_value) + valueSerializer.writeResource(value_icon_value_1) } } + const value_symbolIcon = value.symbolIcon + let value_symbolIcon_type: int32 = RuntimeType.UNDEFINED + value_symbolIcon_type = runtimeType(value_symbolIcon) + valueSerializer.writeInt8(value_symbolIcon_type) + if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { + const value_symbolIcon_value = value_symbolIcon! + valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) + } + } + public writeShadowOptions(value: ShadowOptions): void { + let valueSerializer: Serializer = this + const value_radius = value.radius + let value_radius_type: int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + if (RuntimeType.NUMBER == value_radius_type) { + valueSerializer.writeInt8(0) + const value_radius_0 = unsafeCast(value_radius) + valueSerializer.writeNumber(value_radius_0) + } + else if (RuntimeType.OBJECT == value_radius_type) { + valueSerializer.writeInt8(1) + const value_radius_1 = unsafeCast(value_radius) + valueSerializer.writeResource(value_radius_1) + } + const value_type = value.type + let value_type_type: int32 = RuntimeType.UNDEFINED + value_type_type = runtimeType(value_type) + valueSerializer.writeInt8(value_type_type) + if ((RuntimeType.UNDEFINED) != (value_type_type)) { + const value_type_value = value_type! + valueSerializer.writeInt32(value_type_value.valueOf()) + } const value_color = value.color let value_color_type: int32 = RuntimeType.UNDEFINED value_color_type = runtimeType(value_color) @@ -11459,1720 +12816,1775 @@ export class Serializer extends SerializerBase { const value_color_value = value_color! let value_color_value_type: int32 = RuntimeType.UNDEFINED value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { + if (RuntimeType.NUMBER == value_color_value_type) { valueSerializer.writeInt8(0) const value_color_value_0 = unsafeCast(value_color_value) valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_color_value_type) { + else if (RuntimeType.STRING == value_color_value_type) { valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeNumber(value_color_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { + else if (RuntimeType.OBJECT == value_color_value_type) { valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_2) } - else if (RuntimeType.OBJECT == value_color_value_type) { + else if (((RuntimeType.STRING) == (value_color_value_type)) && ((Object.values(ColoringStrategy).indexOf((value_color_value as ColoringStrategy))) >= (0)) && ((Object.values(ColoringStrategy).indexOf((value_color_value as ColoringStrategy))) <= (2))) { valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeInt32(Object.values(ColoringStrategy).indexOf(value_color_value_3)) } } - const value_selectedColor = value.selectedColor - let value_selectedColor_type: int32 = RuntimeType.UNDEFINED - value_selectedColor_type = runtimeType(value_selectedColor) - valueSerializer.writeInt8(value_selectedColor_type) - if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { - const value_selectedColor_value = value_selectedColor! - let value_selectedColor_value_type: int32 = RuntimeType.UNDEFINED - value_selectedColor_value_type = runtimeType(value_selectedColor_value) - if (((RuntimeType.NUMBER) == (value_selectedColor_value_type)) && ((unsafeCast(value_selectedColor_value)) >= (0)) && ((unsafeCast(value_selectedColor_value)) <= (11))) { + const value_offsetX = value.offsetX + let value_offsetX_type: int32 = RuntimeType.UNDEFINED + value_offsetX_type = runtimeType(value_offsetX) + valueSerializer.writeInt8(value_offsetX_type) + if ((RuntimeType.UNDEFINED) != (value_offsetX_type)) { + const value_offsetX_value = value_offsetX! + let value_offsetX_value_type: int32 = RuntimeType.UNDEFINED + value_offsetX_value_type = runtimeType(value_offsetX_value) + if (RuntimeType.NUMBER == value_offsetX_value_type) { valueSerializer.writeInt8(0) - const value_selectedColor_value_0 = unsafeCast(value_selectedColor_value) - valueSerializer.writeInt32(value_selectedColor_value_0.valueOf()) + const value_offsetX_value_0 = unsafeCast(value_offsetX_value) + valueSerializer.writeNumber(value_offsetX_value_0) } - else if (RuntimeType.NUMBER == value_selectedColor_value_type) { + else if (RuntimeType.OBJECT == value_offsetX_value_type) { valueSerializer.writeInt8(1) - const value_selectedColor_value_1 = unsafeCast(value_selectedColor_value) - valueSerializer.writeNumber(value_selectedColor_value_1) - } - else if (RuntimeType.STRING == value_selectedColor_value_type) { - valueSerializer.writeInt8(2) - const value_selectedColor_value_2 = unsafeCast(value_selectedColor_value) - valueSerializer.writeString(value_selectedColor_value_2) - } - else if (RuntimeType.OBJECT == value_selectedColor_value_type) { - valueSerializer.writeInt8(3) - const value_selectedColor_value_3 = unsafeCast(value_selectedColor_value) - valueSerializer.writeResource(value_selectedColor_value_3) + const value_offsetX_value_1 = unsafeCast(value_offsetX_value) + valueSerializer.writeResource(value_offsetX_value_1) } } - const value_left = value.left - let value_left_type: int32 = RuntimeType.UNDEFINED - value_left_type = runtimeType(value_left) - valueSerializer.writeInt8(value_left_type) - if ((RuntimeType.UNDEFINED) != (value_left_type)) { - const value_left_value = value_left! - let value_left_value_type: int32 = RuntimeType.UNDEFINED - value_left_value_type = runtimeType(value_left_value) - if (RuntimeType.STRING == value_left_value_type) { - valueSerializer.writeInt8(0) - const value_left_value_0 = unsafeCast(value_left_value) - valueSerializer.writeString(value_left_value_0) + const value_offsetY = value.offsetY + let value_offsetY_type: int32 = RuntimeType.UNDEFINED + value_offsetY_type = runtimeType(value_offsetY) + valueSerializer.writeInt8(value_offsetY_type) + if ((RuntimeType.UNDEFINED) != (value_offsetY_type)) { + const value_offsetY_value = value_offsetY! + let value_offsetY_value_type: int32 = RuntimeType.UNDEFINED + value_offsetY_value_type = runtimeType(value_offsetY_value) + if (RuntimeType.NUMBER == value_offsetY_value_type) { + valueSerializer.writeInt8(0) + const value_offsetY_value_0 = unsafeCast(value_offsetY_value) + valueSerializer.writeNumber(value_offsetY_value_0) } - else if (RuntimeType.NUMBER == value_left_value_type) { + else if (RuntimeType.OBJECT == value_offsetY_value_type) { valueSerializer.writeInt8(1) - const value_left_value_1 = unsafeCast(value_left_value) - valueSerializer.writeNumber(value_left_value_1) - } - else if (RuntimeType.OBJECT == value_left_value_type) { - valueSerializer.writeInt8(2) - const value_left_value_2 = unsafeCast(value_left_value) - valueSerializer.writeResource(value_left_value_2) + const value_offsetY_value_1 = unsafeCast(value_offsetY_value) + valueSerializer.writeResource(value_offsetY_value_1) } } - const value_top = value.top - let value_top_type: int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - let value_top_value_type: int32 = RuntimeType.UNDEFINED - value_top_value_type = runtimeType(value_top_value) - if (RuntimeType.STRING == value_top_value_type) { + const value_fill = value.fill + let value_fill_type: int32 = RuntimeType.UNDEFINED + value_fill_type = runtimeType(value_fill) + valueSerializer.writeInt8(value_fill_type) + if ((RuntimeType.UNDEFINED) != (value_fill_type)) { + const value_fill_value = value_fill! + valueSerializer.writeBoolean(value_fill_value) + } + } + public writesharedTransitionOptions(value: sharedTransitionOptions): void { + let valueSerializer: Serializer = this + const value_duration = value.duration + let value_duration_type: int32 = RuntimeType.UNDEFINED + value_duration_type = runtimeType(value_duration) + valueSerializer.writeInt8(value_duration_type) + if ((RuntimeType.UNDEFINED) != (value_duration_type)) { + const value_duration_value = value_duration! + valueSerializer.writeNumber(value_duration_value) + } + const value_curve = value.curve + let value_curve_type: int32 = RuntimeType.UNDEFINED + value_curve_type = runtimeType(value_curve) + valueSerializer.writeInt8(value_curve_type) + if ((RuntimeType.UNDEFINED) != (value_curve_type)) { + const value_curve_value = value_curve! + let value_curve_value_type: int32 = RuntimeType.UNDEFINED + value_curve_value_type = runtimeType(value_curve_value) + if (RuntimeType.NUMBER == value_curve_value_type) { valueSerializer.writeInt8(0) - const value_top_value_0 = unsafeCast(value_top_value) - valueSerializer.writeString(value_top_value_0) + const value_curve_value_0 = unsafeCast(value_curve_value) + valueSerializer.writeInt32(value_curve_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_top_value_type) { + else if (RuntimeType.STRING == value_curve_value_type) { valueSerializer.writeInt8(1) - const value_top_value_1 = unsafeCast(value_top_value) - valueSerializer.writeNumber(value_top_value_1) + const value_curve_value_1 = unsafeCast(value_curve_value) + valueSerializer.writeString(value_curve_value_1) } - else if (RuntimeType.OBJECT == value_top_value_type) { + else if (RuntimeType.OBJECT == value_curve_value_type) { valueSerializer.writeInt8(2) - const value_top_value_2 = unsafeCast(value_top_value) - valueSerializer.writeResource(value_top_value_2) + const value_curve_value_2 = unsafeCast(value_curve_value) + valueSerializer.writeICurve(value_curve_value_2) } } - const value_right = value.right - let value_right_type: int32 = RuntimeType.UNDEFINED - value_right_type = runtimeType(value_right) - valueSerializer.writeInt8(value_right_type) - if ((RuntimeType.UNDEFINED) != (value_right_type)) { - const value_right_value = value_right! - let value_right_value_type: int32 = RuntimeType.UNDEFINED - value_right_value_type = runtimeType(value_right_value) - if (RuntimeType.STRING == value_right_value_type) { + const value_delay = value.delay + let value_delay_type: int32 = RuntimeType.UNDEFINED + value_delay_type = runtimeType(value_delay) + valueSerializer.writeInt8(value_delay_type) + if ((RuntimeType.UNDEFINED) != (value_delay_type)) { + const value_delay_value = value_delay! + valueSerializer.writeNumber(value_delay_value) + } + const value_motionPath = value.motionPath + let value_motionPath_type: int32 = RuntimeType.UNDEFINED + value_motionPath_type = runtimeType(value_motionPath) + valueSerializer.writeInt8(value_motionPath_type) + if ((RuntimeType.UNDEFINED) != (value_motionPath_type)) { + const value_motionPath_value = value_motionPath! + valueSerializer.writeMotionPathOptions(value_motionPath_value) + } + const value_zIndex = value.zIndex + let value_zIndex_type: int32 = RuntimeType.UNDEFINED + value_zIndex_type = runtimeType(value_zIndex) + valueSerializer.writeInt8(value_zIndex_type) + if ((RuntimeType.UNDEFINED) != (value_zIndex_type)) { + const value_zIndex_value = value_zIndex! + valueSerializer.writeNumber(value_zIndex_value) + } + const value_type = value.type + let value_type_type: int32 = RuntimeType.UNDEFINED + value_type_type = runtimeType(value_type) + valueSerializer.writeInt8(value_type_type) + if ((RuntimeType.UNDEFINED) != (value_type_type)) { + const value_type_value = value_type! + valueSerializer.writeInt32(value_type_value.valueOf()) + } + } + public writeSheetInfo(value: SheetInfo): void { + let valueSerializer: Serializer = this + const value_title = value.title + let value_title_type: int32 = RuntimeType.UNDEFINED + value_title_type = runtimeType(value_title) + if (RuntimeType.STRING == value_title_type) { + valueSerializer.writeInt8(0) + const value_title_0 = unsafeCast(value_title) + valueSerializer.writeString(value_title_0) + } + else if (RuntimeType.OBJECT == value_title_type) { + valueSerializer.writeInt8(1) + const value_title_1 = unsafeCast(value_title) + valueSerializer.writeResource(value_title_1) + } + const value_icon = value.icon + let value_icon_type: int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + let value_icon_value_type: int32 = RuntimeType.UNDEFINED + value_icon_value_type = runtimeType(value_icon_value) + if (RuntimeType.STRING == value_icon_value_type) { valueSerializer.writeInt8(0) - const value_right_value_0 = unsafeCast(value_right_value) - valueSerializer.writeString(value_right_value_0) + const value_icon_value_0 = unsafeCast(value_icon_value) + valueSerializer.writeString(value_icon_value_0) } - else if (RuntimeType.NUMBER == value_right_value_type) { + else if (RuntimeType.OBJECT == value_icon_value_type) { valueSerializer.writeInt8(1) - const value_right_value_1 = unsafeCast(value_right_value) - valueSerializer.writeNumber(value_right_value_1) - } - else if (RuntimeType.OBJECT == value_right_value_type) { - valueSerializer.writeInt8(2) - const value_right_value_2 = unsafeCast(value_right_value) - valueSerializer.writeResource(value_right_value_2) + const value_icon_value_1 = unsafeCast(value_icon_value) + valueSerializer.writeResource(value_icon_value_1) } } - const value_bottom = value.bottom - let value_bottom_type: int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - let value_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_bottom_value_type = runtimeType(value_bottom_value) - if (RuntimeType.STRING == value_bottom_value_type) { + const value_action = value.action + valueSerializer.holdAndWriteCallback(value_action) + } + public writeSheetTitleOptions(value: SheetTitleOptions): void { + let valueSerializer: Serializer = this + const value_title = value.title + let value_title_type: int32 = RuntimeType.UNDEFINED + value_title_type = runtimeType(value_title) + if (RuntimeType.STRING == value_title_type) { + valueSerializer.writeInt8(0) + const value_title_0 = unsafeCast(value_title) + valueSerializer.writeString(value_title_0) + } + else if (RuntimeType.OBJECT == value_title_type) { + valueSerializer.writeInt8(1) + const value_title_1 = unsafeCast(value_title) + valueSerializer.writeResource(value_title_1) + } + const value_subtitle = value.subtitle + let value_subtitle_type: int32 = RuntimeType.UNDEFINED + value_subtitle_type = runtimeType(value_subtitle) + valueSerializer.writeInt8(value_subtitle_type) + if ((RuntimeType.UNDEFINED) != (value_subtitle_type)) { + const value_subtitle_value = value_subtitle! + let value_subtitle_value_type: int32 = RuntimeType.UNDEFINED + value_subtitle_value_type = runtimeType(value_subtitle_value) + if (RuntimeType.STRING == value_subtitle_value_type) { valueSerializer.writeInt8(0) - const value_bottom_value_0 = unsafeCast(value_bottom_value) - valueSerializer.writeString(value_bottom_value_0) + const value_subtitle_value_0 = unsafeCast(value_subtitle_value) + valueSerializer.writeString(value_subtitle_value_0) } - else if (RuntimeType.NUMBER == value_bottom_value_type) { + else if (RuntimeType.OBJECT == value_subtitle_value_type) { valueSerializer.writeInt8(1) - const value_bottom_value_1 = unsafeCast(value_bottom_value) - valueSerializer.writeNumber(value_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_bottom_value_2 = unsafeCast(value_bottom_value) - valueSerializer.writeResource(value_bottom_value_2) + const value_subtitle_value_1 = unsafeCast(value_subtitle_value) + valueSerializer.writeResource(value_subtitle_value_1) } } - const value_size = value.size - let value_size_type: int32 = RuntimeType.UNDEFINED - value_size_type = runtimeType(value_size) - valueSerializer.writeInt8(value_size_type) - if ((RuntimeType.UNDEFINED) != (value_size_type)) { - const value_size_value = value_size! - let value_size_value_type: int32 = RuntimeType.UNDEFINED - value_size_value_type = runtimeType(value_size_value) - if (RuntimeType.STRING == value_size_value_type) { + } + public writeSliderBlockStyle(value: SliderBlockStyle): void { + let valueSerializer: Serializer = this + const value_type = value.type + valueSerializer.writeInt32(value_type.valueOf()) + const value_image = value.image + let value_image_type: int32 = RuntimeType.UNDEFINED + value_image_type = runtimeType(value_image) + valueSerializer.writeInt8(value_image_type) + if ((RuntimeType.UNDEFINED) != (value_image_type)) { + const value_image_value = value_image! + let value_image_value_type: int32 = RuntimeType.UNDEFINED + value_image_value_type = runtimeType(value_image_value) + if (RuntimeType.STRING == value_image_value_type) { valueSerializer.writeInt8(0) - const value_size_value_0 = unsafeCast(value_size_value) - valueSerializer.writeString(value_size_value_0) + const value_image_value_0 = unsafeCast(value_image_value) + valueSerializer.writeString(value_image_value_0) } - else if (RuntimeType.NUMBER == value_size_value_type) { + else if (RuntimeType.OBJECT == value_image_value_type) { valueSerializer.writeInt8(1) - const value_size_value_1 = unsafeCast(value_size_value) - valueSerializer.writeNumber(value_size_value_1) - } - else if (RuntimeType.OBJECT == value_size_value_type) { - valueSerializer.writeInt8(2) - const value_size_value_2 = unsafeCast(value_size_value) - valueSerializer.writeResource(value_size_value_2) + const value_image_value_1 = unsafeCast(value_image_value) + valueSerializer.writeResource(value_image_value_1) } } - const value_mask = value.mask - let value_mask_type: int32 = RuntimeType.UNDEFINED - value_mask_type = runtimeType(value_mask) - valueSerializer.writeInt8(value_mask_type) - if ((RuntimeType.UNDEFINED) != (value_mask_type)) { - const value_mask_value = value_mask! - valueSerializer.writeBoolean(value_mask_value) + const value_shape = value.shape + let value_shape_type: int32 = RuntimeType.UNDEFINED + value_shape_type = runtimeType(value_shape) + valueSerializer.writeInt8(value_shape_type) + if ((RuntimeType.UNDEFINED) != (value_shape_type)) { + const value_shape_value = value_shape! + valueSerializer.writeString(value_shape_value) } } - writeJavaScriptProxy(value: JavaScriptProxy): void { + public writeStyledStringChangeValue(value: StyledStringChangeValue): void { let valueSerializer: Serializer = this - const value_object_ = value.object_ - valueSerializer.holdAndWriteObject(value_object_) - const value_name = value.name - valueSerializer.writeString(value_name) - const value_methodList = value.methodList - valueSerializer.writeInt32(value_methodList.length) - for (let i = 0; i < value_methodList.length; i++) { - const value_methodList_element: string = value_methodList[i] - valueSerializer.writeString(value_methodList_element) - } - const value_controller = value.controller - let value_controller_type: int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - if (((RuntimeType.OBJECT) == (value_controller_type)) && (value_controller instanceof WebController)) { - valueSerializer.writeInt8(0) - const value_controller_0 = unsafeCast(value_controller) - valueSerializer.writeWebController(value_controller_0) - } - else if (((RuntimeType.OBJECT) == (value_controller_type)) && (value_controller instanceof WebviewController)) { - valueSerializer.writeInt8(1) - const value_controller_1 = unsafeCast(value_controller) - valueSerializer.writeWebviewController(value_controller_1) - } - const value_asyncMethodList = value.asyncMethodList - let value_asyncMethodList_type: int32 = RuntimeType.UNDEFINED - value_asyncMethodList_type = runtimeType(value_asyncMethodList) - valueSerializer.writeInt8(value_asyncMethodList_type) - if ((RuntimeType.UNDEFINED) != (value_asyncMethodList_type)) { - const value_asyncMethodList_value = value_asyncMethodList! - valueSerializer.writeInt32(value_asyncMethodList_value.length) - for (let i = 0; i < value_asyncMethodList_value.length; i++) { - const value_asyncMethodList_value_element: string = value_asyncMethodList_value[i] - valueSerializer.writeString(value_asyncMethodList_value_element) - } - } - const value_permission = value.permission - let value_permission_type: int32 = RuntimeType.UNDEFINED - value_permission_type = runtimeType(value_permission) - valueSerializer.writeInt8(value_permission_type) - if ((RuntimeType.UNDEFINED) != (value_permission_type)) { - const value_permission_value = value_permission! - valueSerializer.writeString(value_permission_value) + const value_range = value.range + valueSerializer.writeTextRange(value_range) + const value_replacementString = value.replacementString + valueSerializer.writeStyledString(value_replacementString) + const value_previewText = value.previewText + let value_previewText_type: int32 = RuntimeType.UNDEFINED + value_previewText_type = runtimeType(value_previewText) + valueSerializer.writeInt8(value_previewText_type) + if ((RuntimeType.UNDEFINED) != (value_previewText_type)) { + const value_previewText_value = value_previewText! + valueSerializer.writeStyledString(value_previewText_value) } } - writeLightSource(value: LightSource): void { + public writeSwitchStyle(value: SwitchStyle): void { let valueSerializer: Serializer = this - const value_positionX = value.positionX - let value_positionX_type: int32 = RuntimeType.UNDEFINED - value_positionX_type = runtimeType(value_positionX) - if (RuntimeType.STRING == value_positionX_type) { - valueSerializer.writeInt8(0) - const value_positionX_0 = unsafeCast(value_positionX) - valueSerializer.writeString(value_positionX_0) - } - else if (RuntimeType.NUMBER == value_positionX_type) { - valueSerializer.writeInt8(1) - const value_positionX_1 = unsafeCast(value_positionX) - valueSerializer.writeNumber(value_positionX_1) - } - else if (RuntimeType.OBJECT == value_positionX_type) { - valueSerializer.writeInt8(2) - const value_positionX_2 = unsafeCast(value_positionX) - valueSerializer.writeResource(value_positionX_2) - } - const value_positionY = value.positionY - let value_positionY_type: int32 = RuntimeType.UNDEFINED - value_positionY_type = runtimeType(value_positionY) - if (RuntimeType.STRING == value_positionY_type) { - valueSerializer.writeInt8(0) - const value_positionY_0 = unsafeCast(value_positionY) - valueSerializer.writeString(value_positionY_0) - } - else if (RuntimeType.NUMBER == value_positionY_type) { - valueSerializer.writeInt8(1) - const value_positionY_1 = unsafeCast(value_positionY) - valueSerializer.writeNumber(value_positionY_1) - } - else if (RuntimeType.OBJECT == value_positionY_type) { - valueSerializer.writeInt8(2) - const value_positionY_2 = unsafeCast(value_positionY) - valueSerializer.writeResource(value_positionY_2) - } - const value_positionZ = value.positionZ - let value_positionZ_type: int32 = RuntimeType.UNDEFINED - value_positionZ_type = runtimeType(value_positionZ) - if (RuntimeType.STRING == value_positionZ_type) { - valueSerializer.writeInt8(0) - const value_positionZ_0 = unsafeCast(value_positionZ) - valueSerializer.writeString(value_positionZ_0) - } - else if (RuntimeType.NUMBER == value_positionZ_type) { - valueSerializer.writeInt8(1) - const value_positionZ_1 = unsafeCast(value_positionZ) - valueSerializer.writeNumber(value_positionZ_1) - } - else if (RuntimeType.OBJECT == value_positionZ_type) { - valueSerializer.writeInt8(2) - const value_positionZ_2 = unsafeCast(value_positionZ) - valueSerializer.writeResource(value_positionZ_2) + const value_pointRadius = value.pointRadius + let value_pointRadius_type: int32 = RuntimeType.UNDEFINED + value_pointRadius_type = runtimeType(value_pointRadius) + valueSerializer.writeInt8(value_pointRadius_type) + if ((RuntimeType.UNDEFINED) != (value_pointRadius_type)) { + const value_pointRadius_value = value_pointRadius! + let value_pointRadius_value_type: int32 = RuntimeType.UNDEFINED + value_pointRadius_value_type = runtimeType(value_pointRadius_value) + if (RuntimeType.NUMBER == value_pointRadius_value_type) { + valueSerializer.writeInt8(0) + const value_pointRadius_value_0 = unsafeCast(value_pointRadius_value) + valueSerializer.writeNumber(value_pointRadius_value_0) + } + else if (RuntimeType.OBJECT == value_pointRadius_value_type) { + valueSerializer.writeInt8(1) + const value_pointRadius_value_1 = unsafeCast(value_pointRadius_value) + valueSerializer.writeResource(value_pointRadius_value_1) + } } - const value_intensity = value.intensity - valueSerializer.writeNumber(value_intensity) - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { + const value_unselectedColor = value.unselectedColor + let value_unselectedColor_type: int32 = RuntimeType.UNDEFINED + value_unselectedColor_type = runtimeType(value_unselectedColor) + valueSerializer.writeInt8(value_unselectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { + const value_unselectedColor_value = value_unselectedColor! + let value_unselectedColor_value_type: int32 = RuntimeType.UNDEFINED + value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) + if (((RuntimeType.NUMBER) == (value_unselectedColor_value_type)) && ((unsafeCast(value_unselectedColor_value)) >= (0)) && ((unsafeCast(value_unselectedColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_color_value_0 = unsafeCast(value_color_value) - valueSerializer.writeInt32(value_color_value_0.valueOf()) + const value_unselectedColor_value_0 = unsafeCast(value_unselectedColor_value) + valueSerializer.writeInt32(value_unselectedColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_color_value_type) { + else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeNumber(value_color_value_1) + const value_unselectedColor_value_1 = unsafeCast(value_unselectedColor_value) + valueSerializer.writeNumber(value_unselectedColor_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { + else if (RuntimeType.STRING == value_unselectedColor_value_type) { valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_2) + const value_unselectedColor_value_2 = unsafeCast(value_unselectedColor_value) + valueSerializer.writeString(value_unselectedColor_value_2) } - else if (RuntimeType.OBJECT == value_color_value_type) { + else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_3) + const value_unselectedColor_value_3 = unsafeCast(value_unselectedColor_value) + valueSerializer.writeResource(value_unselectedColor_value_3) } } - } - writeLinearIndicatorStyle(value: LinearIndicatorStyle): void { - let valueSerializer: Serializer = this - const value_space = value.space - let value_space_type: int32 = RuntimeType.UNDEFINED - value_space_type = runtimeType(value_space) - valueSerializer.writeInt8(value_space_type) - if ((RuntimeType.UNDEFINED) != (value_space_type)) { - const value_space_value = value_space! - valueSerializer.writeLengthMetrics(value_space_value) - } - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - valueSerializer.writeLengthMetrics(value_strokeWidth_value) - } - const value_strokeRadius = value.strokeRadius - let value_strokeRadius_type: int32 = RuntimeType.UNDEFINED - value_strokeRadius_type = runtimeType(value_strokeRadius) - valueSerializer.writeInt8(value_strokeRadius_type) - if ((RuntimeType.UNDEFINED) != (value_strokeRadius_type)) { - const value_strokeRadius_value = value_strokeRadius! - valueSerializer.writeLengthMetrics(value_strokeRadius_value) - } - const value_trackBackgroundColor = value.trackBackgroundColor - let value_trackBackgroundColor_type: int32 = RuntimeType.UNDEFINED - value_trackBackgroundColor_type = runtimeType(value_trackBackgroundColor) - valueSerializer.writeInt8(value_trackBackgroundColor_type) - if ((RuntimeType.UNDEFINED) != (value_trackBackgroundColor_type)) { - const value_trackBackgroundColor_value = value_trackBackgroundColor! - valueSerializer.writeColorMetrics(value_trackBackgroundColor_value) - } - const value_trackColor = value.trackColor - let value_trackColor_type: int32 = RuntimeType.UNDEFINED - value_trackColor_type = runtimeType(value_trackColor) - valueSerializer.writeInt8(value_trackColor_type) - if ((RuntimeType.UNDEFINED) != (value_trackColor_type)) { - const value_trackColor_value = value_trackColor! - valueSerializer.writeColorMetrics(value_trackColor_value) - } - } - writeLinearStyleOptions(value: LinearStyleOptions): void { - let valueSerializer: Serializer = this - const value_enableScanEffect = value.enableScanEffect - let value_enableScanEffect_type: int32 = RuntimeType.UNDEFINED - value_enableScanEffect_type = runtimeType(value_enableScanEffect) - valueSerializer.writeInt8(value_enableScanEffect_type) - if ((RuntimeType.UNDEFINED) != (value_enableScanEffect_type)) { - const value_enableScanEffect_value = value_enableScanEffect! - valueSerializer.writeBoolean(value_enableScanEffect_value) - } - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - let value_strokeWidth_value_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) - if (RuntimeType.STRING == value_strokeWidth_value_type) { + const value_pointColor = value.pointColor + let value_pointColor_type: int32 = RuntimeType.UNDEFINED + value_pointColor_type = runtimeType(value_pointColor) + valueSerializer.writeInt8(value_pointColor_type) + if ((RuntimeType.UNDEFINED) != (value_pointColor_type)) { + const value_pointColor_value = value_pointColor! + let value_pointColor_value_type: int32 = RuntimeType.UNDEFINED + value_pointColor_value_type = runtimeType(value_pointColor_value) + if (((RuntimeType.NUMBER) == (value_pointColor_value_type)) && ((unsafeCast(value_pointColor_value)) >= (0)) && ((unsafeCast(value_pointColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_strokeWidth_value_0 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeString(value_strokeWidth_value_0) + const value_pointColor_value_0 = unsafeCast(value_pointColor_value) + valueSerializer.writeInt32(value_pointColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { + else if (RuntimeType.NUMBER == value_pointColor_value_type) { valueSerializer.writeInt8(1) - const value_strokeWidth_value_1 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeNumber(value_strokeWidth_value_1) + const value_pointColor_value_1 = unsafeCast(value_pointColor_value) + valueSerializer.writeNumber(value_pointColor_value_1) } - else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { + else if (RuntimeType.STRING == value_pointColor_value_type) { valueSerializer.writeInt8(2) - const value_strokeWidth_value_2 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeResource(value_strokeWidth_value_2) + const value_pointColor_value_2 = unsafeCast(value_pointColor_value) + valueSerializer.writeString(value_pointColor_value_2) } - } - const value_strokeRadius = value.strokeRadius - let value_strokeRadius_type: int32 = RuntimeType.UNDEFINED - value_strokeRadius_type = runtimeType(value_strokeRadius) - valueSerializer.writeInt8(value_strokeRadius_type) - if ((RuntimeType.UNDEFINED) != (value_strokeRadius_type)) { - const value_strokeRadius_value = value_strokeRadius! - let value_strokeRadius_value_type: int32 = RuntimeType.UNDEFINED - value_strokeRadius_value_type = runtimeType(value_strokeRadius_value) - if (RuntimeType.STRING == value_strokeRadius_value_type) { + else if (RuntimeType.OBJECT == value_pointColor_value_type) { + valueSerializer.writeInt8(3) + const value_pointColor_value_3 = unsafeCast(value_pointColor_value) + valueSerializer.writeResource(value_pointColor_value_3) + } + } + const value_trackBorderRadius = value.trackBorderRadius + let value_trackBorderRadius_type: int32 = RuntimeType.UNDEFINED + value_trackBorderRadius_type = runtimeType(value_trackBorderRadius) + valueSerializer.writeInt8(value_trackBorderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_trackBorderRadius_type)) { + const value_trackBorderRadius_value = value_trackBorderRadius! + let value_trackBorderRadius_value_type: int32 = RuntimeType.UNDEFINED + value_trackBorderRadius_value_type = runtimeType(value_trackBorderRadius_value) + if (RuntimeType.NUMBER == value_trackBorderRadius_value_type) { valueSerializer.writeInt8(0) - const value_strokeRadius_value_0 = unsafeCast(value_strokeRadius_value) - valueSerializer.writeString(value_strokeRadius_value_0) + const value_trackBorderRadius_value_0 = unsafeCast(value_trackBorderRadius_value) + valueSerializer.writeNumber(value_trackBorderRadius_value_0) } - else if (RuntimeType.NUMBER == value_strokeRadius_value_type) { + else if (RuntimeType.OBJECT == value_trackBorderRadius_value_type) { valueSerializer.writeInt8(1) - const value_strokeRadius_value_1 = unsafeCast(value_strokeRadius_value) - valueSerializer.writeNumber(value_strokeRadius_value_1) - } - else if (RuntimeType.OBJECT == value_strokeRadius_value_type) { - valueSerializer.writeInt8(2) - const value_strokeRadius_value_2 = unsafeCast(value_strokeRadius_value) - valueSerializer.writeResource(value_strokeRadius_value_2) + const value_trackBorderRadius_value_1 = unsafeCast(value_trackBorderRadius_value) + valueSerializer.writeResource(value_trackBorderRadius_value_1) } } } - writeListDividerOptions(value: ListDividerOptions): void { + public writeTabBarIconStyle(value: TabBarIconStyle): void { let valueSerializer: Serializer = this - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - if (RuntimeType.STRING == value_strokeWidth_type) { - valueSerializer.writeInt8(0) - const value_strokeWidth_0 = unsafeCast(value_strokeWidth) - valueSerializer.writeString(value_strokeWidth_0) - } - else if (RuntimeType.NUMBER == value_strokeWidth_type) { - valueSerializer.writeInt8(1) - const value_strokeWidth_1 = unsafeCast(value_strokeWidth) - valueSerializer.writeNumber(value_strokeWidth_1) - } - else if (RuntimeType.OBJECT == value_strokeWidth_type) { - valueSerializer.writeInt8(2) - const value_strokeWidth_2 = unsafeCast(value_strokeWidth) - valueSerializer.writeResource(value_strokeWidth_2) - } - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { + const value_selectedColor = value.selectedColor + let value_selectedColor_type: int32 = RuntimeType.UNDEFINED + value_selectedColor_type = runtimeType(value_selectedColor) + valueSerializer.writeInt8(value_selectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { + const value_selectedColor_value = value_selectedColor! + let value_selectedColor_value_type: int32 = RuntimeType.UNDEFINED + value_selectedColor_value_type = runtimeType(value_selectedColor_value) + if (((RuntimeType.NUMBER) == (value_selectedColor_value_type)) && ((unsafeCast(value_selectedColor_value)) >= (0)) && ((unsafeCast(value_selectedColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_color_value_0 = unsafeCast(value_color_value) - valueSerializer.writeInt32(value_color_value_0.valueOf()) + const value_selectedColor_value_0 = unsafeCast(value_selectedColor_value) + valueSerializer.writeInt32(value_selectedColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_color_value_type) { + else if (RuntimeType.NUMBER == value_selectedColor_value_type) { valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeNumber(value_color_value_1) + const value_selectedColor_value_1 = unsafeCast(value_selectedColor_value) + valueSerializer.writeNumber(value_selectedColor_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { + else if (RuntimeType.STRING == value_selectedColor_value_type) { valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_2) + const value_selectedColor_value_2 = unsafeCast(value_selectedColor_value) + valueSerializer.writeString(value_selectedColor_value_2) } - else if (RuntimeType.OBJECT == value_color_value_type) { + else if (RuntimeType.OBJECT == value_selectedColor_value_type) { valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_3) + const value_selectedColor_value_3 = unsafeCast(value_selectedColor_value) + valueSerializer.writeResource(value_selectedColor_value_3) } } - const value_startMargin = value.startMargin - let value_startMargin_type: int32 = RuntimeType.UNDEFINED - value_startMargin_type = runtimeType(value_startMargin) - valueSerializer.writeInt8(value_startMargin_type) - if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { - const value_startMargin_value = value_startMargin! - let value_startMargin_value_type: int32 = RuntimeType.UNDEFINED - value_startMargin_value_type = runtimeType(value_startMargin_value) - if (RuntimeType.STRING == value_startMargin_value_type) { + const value_unselectedColor = value.unselectedColor + let value_unselectedColor_type: int32 = RuntimeType.UNDEFINED + value_unselectedColor_type = runtimeType(value_unselectedColor) + valueSerializer.writeInt8(value_unselectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { + const value_unselectedColor_value = value_unselectedColor! + let value_unselectedColor_value_type: int32 = RuntimeType.UNDEFINED + value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) + if (((RuntimeType.NUMBER) == (value_unselectedColor_value_type)) && ((unsafeCast(value_unselectedColor_value)) >= (0)) && ((unsafeCast(value_unselectedColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_startMargin_value_0 = unsafeCast(value_startMargin_value) - valueSerializer.writeString(value_startMargin_value_0) + const value_unselectedColor_value_0 = unsafeCast(value_unselectedColor_value) + valueSerializer.writeInt32(value_unselectedColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_startMargin_value_type) { + else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { valueSerializer.writeInt8(1) - const value_startMargin_value_1 = unsafeCast(value_startMargin_value) - valueSerializer.writeNumber(value_startMargin_value_1) + const value_unselectedColor_value_1 = unsafeCast(value_unselectedColor_value) + valueSerializer.writeNumber(value_unselectedColor_value_1) } - else if (RuntimeType.OBJECT == value_startMargin_value_type) { + else if (RuntimeType.STRING == value_unselectedColor_value_type) { valueSerializer.writeInt8(2) - const value_startMargin_value_2 = unsafeCast(value_startMargin_value) - valueSerializer.writeResource(value_startMargin_value_2) + const value_unselectedColor_value_2 = unsafeCast(value_unselectedColor_value) + valueSerializer.writeString(value_unselectedColor_value_2) + } + else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { + valueSerializer.writeInt8(3) + const value_unselectedColor_value_3 = unsafeCast(value_unselectedColor_value) + valueSerializer.writeResource(value_unselectedColor_value_3) } } - const value_endMargin = value.endMargin - let value_endMargin_type: int32 = RuntimeType.UNDEFINED - value_endMargin_type = runtimeType(value_endMargin) - valueSerializer.writeInt8(value_endMargin_type) - if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { - const value_endMargin_value = value_endMargin! - let value_endMargin_value_type: int32 = RuntimeType.UNDEFINED - value_endMargin_value_type = runtimeType(value_endMargin_value) - if (RuntimeType.STRING == value_endMargin_value_type) { + } + public writeTabBarOptions(value: TabBarOptions): void { + let valueSerializer: Serializer = this + const value_icon = value.icon + let value_icon_type: int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + let value_icon_value_type: int32 = RuntimeType.UNDEFINED + value_icon_value_type = runtimeType(value_icon_value) + if (RuntimeType.STRING == value_icon_value_type) { valueSerializer.writeInt8(0) - const value_endMargin_value_0 = unsafeCast(value_endMargin_value) - valueSerializer.writeString(value_endMargin_value_0) + const value_icon_value_0 = unsafeCast(value_icon_value) + valueSerializer.writeString(value_icon_value_0) } - else if (RuntimeType.NUMBER == value_endMargin_value_type) { + else if (RuntimeType.OBJECT == value_icon_value_type) { valueSerializer.writeInt8(1) - const value_endMargin_value_1 = unsafeCast(value_endMargin_value) - valueSerializer.writeNumber(value_endMargin_value_1) + const value_icon_value_1 = unsafeCast(value_icon_value) + valueSerializer.writeResource(value_icon_value_1) } - else if (RuntimeType.OBJECT == value_endMargin_value_type) { - valueSerializer.writeInt8(2) - const value_endMargin_value_2 = unsafeCast(value_endMargin_value) - valueSerializer.writeResource(value_endMargin_value_2) + } + const value_text = value.text + let value_text_type: int32 = RuntimeType.UNDEFINED + value_text_type = runtimeType(value_text) + valueSerializer.writeInt8(value_text_type) + if ((RuntimeType.UNDEFINED) != (value_text_type)) { + const value_text_value = value_text! + let value_text_value_type: int32 = RuntimeType.UNDEFINED + value_text_value_type = runtimeType(value_text_value) + if (RuntimeType.STRING == value_text_value_type) { + valueSerializer.writeInt8(0) + const value_text_value_0 = unsafeCast(value_text_value) + valueSerializer.writeString(value_text_value_0) + } + else if (RuntimeType.OBJECT == value_text_value_type) { + valueSerializer.writeInt8(1) + const value_text_value_1 = unsafeCast(value_text_value) + valueSerializer.writeResource(value_text_value_1) } } } - writeLocalizedAlignRuleOptions(value: LocalizedAlignRuleOptions): void { + public writeTabsOptions(value: TabsOptions): void { let valueSerializer: Serializer = this - const value_start = value.start - let value_start_type: int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeLocalizedHorizontalAlignParam(value_start_value) + const value_barPosition = value.barPosition + let value_barPosition_type: int32 = RuntimeType.UNDEFINED + value_barPosition_type = runtimeType(value_barPosition) + valueSerializer.writeInt8(value_barPosition_type) + if ((RuntimeType.UNDEFINED) != (value_barPosition_type)) { + const value_barPosition_value = value_barPosition! + valueSerializer.writeInt32(value_barPosition_value.valueOf()) } - const value_end = value.end - let value_end_type: int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeLocalizedHorizontalAlignParam(value_end_value) + const value_index = value.index + let value_index_type: int32 = RuntimeType.UNDEFINED + value_index_type = runtimeType(value_index) + valueSerializer.writeInt8(value_index_type) + if ((RuntimeType.UNDEFINED) != (value_index_type)) { + const value_index_value = value_index! + valueSerializer.writeNumber(value_index_value) } - const value_middle = value.middle - let value_middle_type: int32 = RuntimeType.UNDEFINED - value_middle_type = runtimeType(value_middle) - valueSerializer.writeInt8(value_middle_type) - if ((RuntimeType.UNDEFINED) != (value_middle_type)) { - const value_middle_value = value_middle! - valueSerializer.writeLocalizedHorizontalAlignParam(value_middle_value) + const value_controller = value.controller + let value_controller_type: int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + valueSerializer.writeInt8(value_controller_type) + if ((RuntimeType.UNDEFINED) != (value_controller_type)) { + const value_controller_value = value_controller! + valueSerializer.writeTabsController(value_controller_value) } - const value_top = value.top - let value_top_type: int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - valueSerializer.writeLocalizedVerticalAlignParam(value_top_value) + const value_barModifier = value.barModifier + let value_barModifier_type: int32 = RuntimeType.UNDEFINED + value_barModifier_type = runtimeType(value_barModifier) + valueSerializer.writeInt8(value_barModifier_type) + if ((RuntimeType.UNDEFINED) != (value_barModifier_type)) { + const value_barModifier_value = value_barModifier! + valueSerializer.writeCommonModifier(value_barModifier_value) } - const value_bottom = value.bottom - let value_bottom_type: int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - valueSerializer.writeLocalizedVerticalAlignParam(value_bottom_value) + } + public writeTerminationInfo(value: TerminationInfo): void { + let valueSerializer: Serializer = this + const value_code = value.code + valueSerializer.writeNumber(value_code) + const value_want = value.want + let value_want_type: int32 = RuntimeType.UNDEFINED + value_want_type = runtimeType(value_want) + valueSerializer.writeInt8(value_want_type) + if ((RuntimeType.UNDEFINED) != (value_want_type)) { + const value_want_value = value_want! + valueSerializer.writeWant(value_want_value) } - const value_center = value.center - let value_center_type: int32 = RuntimeType.UNDEFINED - value_center_type = runtimeType(value_center) - valueSerializer.writeInt8(value_center_type) - if ((RuntimeType.UNDEFINED) != (value_center_type)) { - const value_center_value = value_center! - valueSerializer.writeLocalizedVerticalAlignParam(value_center_value) + } + public writeTextAreaOptions(value: TextAreaOptions): void { + let valueSerializer: Serializer = this + const value_placeholder = value.placeholder + let value_placeholder_type: int32 = RuntimeType.UNDEFINED + value_placeholder_type = runtimeType(value_placeholder) + valueSerializer.writeInt8(value_placeholder_type) + if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { + const value_placeholder_value = value_placeholder! + let value_placeholder_value_type: int32 = RuntimeType.UNDEFINED + value_placeholder_value_type = runtimeType(value_placeholder_value) + if (RuntimeType.STRING == value_placeholder_value_type) { + valueSerializer.writeInt8(0) + const value_placeholder_value_0 = unsafeCast(value_placeholder_value) + valueSerializer.writeString(value_placeholder_value_0) + } + else if (RuntimeType.OBJECT == value_placeholder_value_type) { + valueSerializer.writeInt8(1) + const value_placeholder_value_1 = unsafeCast(value_placeholder_value) + valueSerializer.writeResource(value_placeholder_value_1) + } } - const value_bias = value.bias - let value_bias_type: int32 = RuntimeType.UNDEFINED - value_bias_type = runtimeType(value_bias) - valueSerializer.writeInt8(value_bias_type) - if ((RuntimeType.UNDEFINED) != (value_bias_type)) { - const value_bias_value = value_bias! - valueSerializer.writeBias(value_bias_value) + const value_text = value.text + let value_text_type: int32 = RuntimeType.UNDEFINED + value_text_type = runtimeType(value_text) + valueSerializer.writeInt8(value_text_type) + if ((RuntimeType.UNDEFINED) != (value_text_type)) { + const value_text_value = value_text! + let value_text_value_type: int32 = RuntimeType.UNDEFINED + value_text_value_type = runtimeType(value_text_value) + if (RuntimeType.STRING == value_text_value_type) { + valueSerializer.writeInt8(0) + const value_text_value_0 = unsafeCast(value_text_value) + valueSerializer.writeString(value_text_value_0) + } + else if (RuntimeType.OBJECT == value_text_value_type) { + valueSerializer.writeInt8(1) + const value_text_value_1 = unsafeCast(value_text_value) + valueSerializer.writeResource(value_text_value_1) + } + } + const value_controller = value.controller + let value_controller_type: int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + valueSerializer.writeInt8(value_controller_type) + if ((RuntimeType.UNDEFINED) != (value_controller_type)) { + const value_controller_value = value_controller! + valueSerializer.writeTextAreaController(value_controller_value) } } - writeLocalizedBorderRadiuses(value: LocalizedBorderRadiuses): void { + public writeTextCascadePickerRangeContent(value: TextCascadePickerRangeContent): void { let valueSerializer: Serializer = this - const value_topStart = value.topStart - let value_topStart_type: int32 = RuntimeType.UNDEFINED - value_topStart_type = runtimeType(value_topStart) - valueSerializer.writeInt8(value_topStart_type) - if ((RuntimeType.UNDEFINED) != (value_topStart_type)) { - const value_topStart_value = value_topStart! - valueSerializer.writeLengthMetrics(value_topStart_value) - } - const value_topEnd = value.topEnd - let value_topEnd_type: int32 = RuntimeType.UNDEFINED - value_topEnd_type = runtimeType(value_topEnd) - valueSerializer.writeInt8(value_topEnd_type) - if ((RuntimeType.UNDEFINED) != (value_topEnd_type)) { - const value_topEnd_value = value_topEnd! - valueSerializer.writeLengthMetrics(value_topEnd_value) + const value_text = value.text + let value_text_type: int32 = RuntimeType.UNDEFINED + value_text_type = runtimeType(value_text) + if (RuntimeType.STRING == value_text_type) { + valueSerializer.writeInt8(0) + const value_text_0 = unsafeCast(value_text) + valueSerializer.writeString(value_text_0) } - const value_bottomStart = value.bottomStart - let value_bottomStart_type: int32 = RuntimeType.UNDEFINED - value_bottomStart_type = runtimeType(value_bottomStart) - valueSerializer.writeInt8(value_bottomStart_type) - if ((RuntimeType.UNDEFINED) != (value_bottomStart_type)) { - const value_bottomStart_value = value_bottomStart! - valueSerializer.writeLengthMetrics(value_bottomStart_value) + else if (RuntimeType.OBJECT == value_text_type) { + valueSerializer.writeInt8(1) + const value_text_1 = unsafeCast(value_text) + valueSerializer.writeResource(value_text_1) } - const value_bottomEnd = value.bottomEnd - let value_bottomEnd_type: int32 = RuntimeType.UNDEFINED - value_bottomEnd_type = runtimeType(value_bottomEnd) - valueSerializer.writeInt8(value_bottomEnd_type) - if ((RuntimeType.UNDEFINED) != (value_bottomEnd_type)) { - const value_bottomEnd_value = value_bottomEnd! - valueSerializer.writeLengthMetrics(value_bottomEnd_value) + const value_children = value.children + let value_children_type: int32 = RuntimeType.UNDEFINED + value_children_type = runtimeType(value_children) + valueSerializer.writeInt8(value_children_type) + if ((RuntimeType.UNDEFINED) != (value_children_type)) { + const value_children_value = value_children! + valueSerializer.writeInt32(value_children_value.length) + for (let i = 0; i < value_children_value.length; i++) { + const value_children_value_element: TextCascadePickerRangeContent = value_children_value[i] + valueSerializer.writeTextCascadePickerRangeContent(value_children_value_element) + } } } - writeLocalizedEdgeColors(value: LocalizedEdgeColors): void { + public writeTextChangeOptions(value: TextChangeOptions): void { let valueSerializer: Serializer = this - const value_top = value.top - let value_top_type: int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - let value_top_value_type: int32 = RuntimeType.UNDEFINED - value_top_value_type = runtimeType(value_top_value) - if (((RuntimeType.NUMBER) == (value_top_value_type)) && ((unsafeCast(value_top_value)) >= (0)) && ((unsafeCast(value_top_value)) <= (11))) { + const value_rangeBefore = value.rangeBefore + valueSerializer.writeTextRange(value_rangeBefore) + const value_rangeAfter = value.rangeAfter + valueSerializer.writeTextRange(value_rangeAfter) + const value_oldContent = value.oldContent + valueSerializer.writeString(value_oldContent) + const value_oldPreviewText = value.oldPreviewText + valueSerializer.writePreviewText(value_oldPreviewText) + } + public writeTextDecorationOptions(value: TextDecorationOptions): void { + let valueSerializer: Serializer = this + const value_type = value.type + valueSerializer.writeInt32(value_type.valueOf()) + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_top_value_0 = unsafeCast(value_top_value) - valueSerializer.writeInt32(value_top_value_0.valueOf()) + const value_color_value_0 = unsafeCast(value_color_value) + valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_top_value_type) { + else if (RuntimeType.NUMBER == value_color_value_type) { valueSerializer.writeInt8(1) - const value_top_value_1 = unsafeCast(value_top_value) - valueSerializer.writeNumber(value_top_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.STRING == value_top_value_type) { + else if (RuntimeType.STRING == value_color_value_type) { valueSerializer.writeInt8(2) - const value_top_value_2 = unsafeCast(value_top_value) - valueSerializer.writeString(value_top_value_2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.OBJECT == value_top_value_type) { + else if (RuntimeType.OBJECT == value_color_value_type) { valueSerializer.writeInt8(3) - const value_top_value_3 = unsafeCast(value_top_value) - valueSerializer.writeResource(value_top_value_3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) } } - const value_end = value.end - let value_end_type: int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - let value_end_value_type: int32 = RuntimeType.UNDEFINED - value_end_value_type = runtimeType(value_end_value) - if (((RuntimeType.NUMBER) == (value_end_value_type)) && ((unsafeCast(value_end_value)) >= (0)) && ((unsafeCast(value_end_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_end_value_0 = unsafeCast(value_end_value) - valueSerializer.writeInt32(value_end_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_end_value_type) { - valueSerializer.writeInt8(1) - const value_end_value_1 = unsafeCast(value_end_value) - valueSerializer.writeNumber(value_end_value_1) - } - else if (RuntimeType.STRING == value_end_value_type) { - valueSerializer.writeInt8(2) - const value_end_value_2 = unsafeCast(value_end_value) - valueSerializer.writeString(value_end_value_2) - } - else if (RuntimeType.OBJECT == value_end_value_type) { - valueSerializer.writeInt8(3) - const value_end_value_3 = unsafeCast(value_end_value) - valueSerializer.writeResource(value_end_value_3) - } + const value_style = value.style + let value_style_type: int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = value_style! + valueSerializer.writeInt32(value_style_value.valueOf()) } - const value_bottom = value.bottom - let value_bottom_type: int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - let value_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_bottom_value_type = runtimeType(value_bottom_value) - if (((RuntimeType.NUMBER) == (value_bottom_value_type)) && ((unsafeCast(value_bottom_value)) >= (0)) && ((unsafeCast(value_bottom_value)) <= (11))) { + } + public writeTextInputOptions(value: TextInputOptions): void { + let valueSerializer: Serializer = this + const value_placeholder = value.placeholder + let value_placeholder_type: int32 = RuntimeType.UNDEFINED + value_placeholder_type = runtimeType(value_placeholder) + valueSerializer.writeInt8(value_placeholder_type) + if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { + const value_placeholder_value = value_placeholder! + let value_placeholder_value_type: int32 = RuntimeType.UNDEFINED + value_placeholder_value_type = runtimeType(value_placeholder_value) + if (RuntimeType.STRING == value_placeholder_value_type) { valueSerializer.writeInt8(0) - const value_bottom_value_0 = unsafeCast(value_bottom_value) - valueSerializer.writeInt32(value_bottom_value_0.valueOf()) + const value_placeholder_value_0 = unsafeCast(value_placeholder_value) + valueSerializer.writeString(value_placeholder_value_0) } - else if (RuntimeType.NUMBER == value_bottom_value_type) { + else if (RuntimeType.OBJECT == value_placeholder_value_type) { valueSerializer.writeInt8(1) - const value_bottom_value_1 = unsafeCast(value_bottom_value) - valueSerializer.writeNumber(value_bottom_value_1) - } - else if (RuntimeType.STRING == value_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_bottom_value_2 = unsafeCast(value_bottom_value) - valueSerializer.writeString(value_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_bottom_value_type) { - valueSerializer.writeInt8(3) - const value_bottom_value_3 = unsafeCast(value_bottom_value) - valueSerializer.writeResource(value_bottom_value_3) + const value_placeholder_value_1 = unsafeCast(value_placeholder_value) + valueSerializer.writeResource(value_placeholder_value_1) } } - const value_start = value.start - let value_start_type: int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - let value_start_value_type: int32 = RuntimeType.UNDEFINED - value_start_value_type = runtimeType(value_start_value) - if (((RuntimeType.NUMBER) == (value_start_value_type)) && ((unsafeCast(value_start_value)) >= (0)) && ((unsafeCast(value_start_value)) <= (11))) { + const value_text = value.text + let value_text_type: int32 = RuntimeType.UNDEFINED + value_text_type = runtimeType(value_text) + valueSerializer.writeInt8(value_text_type) + if ((RuntimeType.UNDEFINED) != (value_text_type)) { + const value_text_value = value_text! + let value_text_value_type: int32 = RuntimeType.UNDEFINED + value_text_value_type = runtimeType(value_text_value) + if (RuntimeType.STRING == value_text_value_type) { valueSerializer.writeInt8(0) - const value_start_value_0 = unsafeCast(value_start_value) - valueSerializer.writeInt32(value_start_value_0.valueOf()) + const value_text_value_0 = unsafeCast(value_text_value) + valueSerializer.writeString(value_text_value_0) } - else if (RuntimeType.NUMBER == value_start_value_type) { + else if (RuntimeType.OBJECT == value_text_value_type) { valueSerializer.writeInt8(1) - const value_start_value_1 = unsafeCast(value_start_value) - valueSerializer.writeNumber(value_start_value_1) - } - else if (RuntimeType.STRING == value_start_value_type) { - valueSerializer.writeInt8(2) - const value_start_value_2 = unsafeCast(value_start_value) - valueSerializer.writeString(value_start_value_2) - } - else if (RuntimeType.OBJECT == value_start_value_type) { - valueSerializer.writeInt8(3) - const value_start_value_3 = unsafeCast(value_start_value) - valueSerializer.writeResource(value_start_value_3) + const value_text_value_1 = unsafeCast(value_text_value) + valueSerializer.writeResource(value_text_value_1) } } + const value_controller = value.controller + let value_controller_type: int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + valueSerializer.writeInt8(value_controller_type) + if ((RuntimeType.UNDEFINED) != (value_controller_type)) { + const value_controller_value = value_controller! + valueSerializer.writeTextInputController(value_controller_value) + } } - writeLocalizedEdges(value: LocalizedEdges): void { + public writeTextMenuItem(value: TextMenuItem): void { let valueSerializer: Serializer = this - const value_top = value.top - let value_top_type: int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - valueSerializer.writeLengthMetrics(value_top_value) + const value_content = value.content + let value_content_type: int32 = RuntimeType.UNDEFINED + value_content_type = runtimeType(value_content) + if (RuntimeType.STRING == value_content_type) { + valueSerializer.writeInt8(0) + const value_content_0 = unsafeCast(value_content) + valueSerializer.writeString(value_content_0) } - const value_start = value.start - let value_start_type: int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeLengthMetrics(value_start_value) + else if (RuntimeType.OBJECT == value_content_type) { + valueSerializer.writeInt8(1) + const value_content_1 = unsafeCast(value_content) + valueSerializer.writeResource(value_content_1) } - const value_bottom = value.bottom - let value_bottom_type: int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - valueSerializer.writeLengthMetrics(value_bottom_value) + const value_icon = value.icon + let value_icon_type: int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + let value_icon_value_type: int32 = RuntimeType.UNDEFINED + value_icon_value_type = runtimeType(value_icon_value) + if (RuntimeType.STRING == value_icon_value_type) { + valueSerializer.writeInt8(0) + const value_icon_value_0 = unsafeCast(value_icon_value) + valueSerializer.writeString(value_icon_value_0) + } + else if (RuntimeType.OBJECT == value_icon_value_type) { + valueSerializer.writeInt8(1) + const value_icon_value_1 = unsafeCast(value_icon_value) + valueSerializer.writeResource(value_icon_value_1) + } } - const value_end = value.end - let value_end_type: int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeLengthMetrics(value_end_value) + const value_id = value.id + valueSerializer.writeTextMenuItemId(value_id) + const value_labelInfo = value.labelInfo + let value_labelInfo_type: int32 = RuntimeType.UNDEFINED + value_labelInfo_type = runtimeType(value_labelInfo) + valueSerializer.writeInt8(value_labelInfo_type) + if ((RuntimeType.UNDEFINED) != (value_labelInfo_type)) { + const value_labelInfo_value = value_labelInfo! + let value_labelInfo_value_type: int32 = RuntimeType.UNDEFINED + value_labelInfo_value_type = runtimeType(value_labelInfo_value) + if (RuntimeType.STRING == value_labelInfo_value_type) { + valueSerializer.writeInt8(0) + const value_labelInfo_value_0 = unsafeCast(value_labelInfo_value) + valueSerializer.writeString(value_labelInfo_value_0) + } + else if (RuntimeType.OBJECT == value_labelInfo_value_type) { + valueSerializer.writeInt8(1) + const value_labelInfo_value_1 = unsafeCast(value_labelInfo_value) + valueSerializer.writeResource(value_labelInfo_value_1) + } } } - writeLocalizedEdgeWidths(value: LocalizedEdgeWidths): void { + public writeTextPickerOptions(value: TextPickerOptions): void { let valueSerializer: Serializer = this - const value_top = value.top - let value_top_type: int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - valueSerializer.writeLengthMetrics(value_top_value) + const value_range = value.range + let value_range_type: int32 = RuntimeType.UNDEFINED + value_range_type = runtimeType(value_range) + if (((RuntimeType.OBJECT) == (value_range_type)) && (value_range instanceof Array)) { + valueSerializer.writeInt8(0) + const value_range_0 = unsafeCast>(value_range) + valueSerializer.writeInt32(value_range_0.length) + for (let i = 0; i < value_range_0.length; i++) { + const value_range_0_element: string = value_range_0[i] + valueSerializer.writeString(value_range_0_element) + } } - const value_end = value.end - let value_end_type: int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeLengthMetrics(value_end_value) + else if (((RuntimeType.OBJECT) == (value_range_type)) && (value_range instanceof Array>)) { + valueSerializer.writeInt8(1) + const value_range_1 = unsafeCast>>(value_range) + valueSerializer.writeInt32(value_range_1.length) + for (let i = 0; i < value_range_1.length; i++) { + const value_range_1_element: Array = value_range_1[i] + valueSerializer.writeInt32(value_range_1_element.length) + for (let i = 0; i < value_range_1_element.length; i++) { + const value_range_1_element_element: string = value_range_1_element[i] + valueSerializer.writeString(value_range_1_element_element) + } + } } - const value_bottom = value.bottom - let value_bottom_type: int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - valueSerializer.writeLengthMetrics(value_bottom_value) + else if (((RuntimeType.OBJECT) == (value_range_type)) && ((value_range!.hasOwnProperty("bundleName")))) { + valueSerializer.writeInt8(2) + const value_range_2 = unsafeCast(value_range) + valueSerializer.writeResource(value_range_2) } - const value_start = value.start - let value_start_type: int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeLengthMetrics(value_start_value) + else if (((RuntimeType.OBJECT) == (value_range_type)) && (value_range instanceof Array)) { + valueSerializer.writeInt8(3) + const value_range_3 = unsafeCast>(value_range) + valueSerializer.writeInt32(value_range_3.length) + for (let i = 0; i < value_range_3.length; i++) { + const value_range_3_element: TextPickerRangeContent = value_range_3[i] + valueSerializer.writeTextPickerRangeContent(value_range_3_element) + } } - } - writeLocalizedPadding(value: LocalizedPadding): void { - let valueSerializer: Serializer = this - const value_top = value.top - let value_top_type: int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - valueSerializer.writeLengthMetrics(value_top_value) + else if (((RuntimeType.OBJECT) == (value_range_type)) && (value_range instanceof Array)) { + valueSerializer.writeInt8(4) + const value_range_4 = unsafeCast>(value_range) + valueSerializer.writeInt32(value_range_4.length) + for (let i = 0; i < value_range_4.length; i++) { + const value_range_4_element: TextCascadePickerRangeContent = value_range_4[i] + valueSerializer.writeTextCascadePickerRangeContent(value_range_4_element) + } } - const value_end = value.end - let value_end_type: int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeLengthMetrics(value_end_value) + const value_value = value.value + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + valueSerializer.writeInt8(value_value_type) + if ((RuntimeType.UNDEFINED) != (value_value_type)) { + const value_value_value = value_value! + let value_value_value_type: int32 = RuntimeType.UNDEFINED + value_value_value_type = runtimeType(value_value_value) + if (RuntimeType.STRING == value_value_value_type) { + valueSerializer.writeInt8(0) + const value_value_value_0 = unsafeCast(value_value_value) + valueSerializer.writeString(value_value_value_0) + } + else if (RuntimeType.OBJECT == value_value_value_type) { + valueSerializer.writeInt8(1) + const value_value_value_1 = unsafeCast>(value_value_value) + valueSerializer.writeInt32(value_value_value_1.length) + for (let i = 0; i < value_value_value_1.length; i++) { + const value_value_value_1_element: string = value_value_value_1[i] + valueSerializer.writeString(value_value_value_1_element) + } + } } - const value_bottom = value.bottom - let value_bottom_type: int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - valueSerializer.writeLengthMetrics(value_bottom_value) + const value_selected = value.selected + let value_selected_type: int32 = RuntimeType.UNDEFINED + value_selected_type = runtimeType(value_selected) + valueSerializer.writeInt8(value_selected_type) + if ((RuntimeType.UNDEFINED) != (value_selected_type)) { + const value_selected_value = value_selected! + let value_selected_value_type: int32 = RuntimeType.UNDEFINED + value_selected_value_type = runtimeType(value_selected_value) + if (RuntimeType.NUMBER == value_selected_value_type) { + valueSerializer.writeInt8(0) + const value_selected_value_0 = unsafeCast(value_selected_value) + valueSerializer.writeNumber(value_selected_value_0) + } + else if (RuntimeType.OBJECT == value_selected_value_type) { + valueSerializer.writeInt8(1) + const value_selected_value_1 = unsafeCast>(value_selected_value) + valueSerializer.writeInt32(value_selected_value_1.length) + for (let i = 0; i < value_selected_value_1.length; i++) { + const value_selected_value_1_element: number = value_selected_value_1[i] + valueSerializer.writeNumber(value_selected_value_1_element) + } + } } - const value_start = value.start - let value_start_type: int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeLengthMetrics(value_start_value) + const value_columnWidths = value.columnWidths + let value_columnWidths_type: int32 = RuntimeType.UNDEFINED + value_columnWidths_type = runtimeType(value_columnWidths) + valueSerializer.writeInt8(value_columnWidths_type) + if ((RuntimeType.UNDEFINED) != (value_columnWidths_type)) { + const value_columnWidths_value = value_columnWidths! + valueSerializer.writeInt32(value_columnWidths_value.length) + for (let i = 0; i < value_columnWidths_value.length; i++) { + const value_columnWidths_value_element: LengthMetrics = value_columnWidths_value[i] + valueSerializer.writeLengthMetrics(value_columnWidths_value_element) + } } } - writeLocalizedPosition(value: LocalizedPosition): void { + public writeTextPickerRangeContent(value: TextPickerRangeContent): void { let valueSerializer: Serializer = this - const value_start = value.start - let value_start_type: int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeLengthMetrics(value_start_value) + const value_icon = value.icon + let value_icon_type: int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + if (RuntimeType.STRING == value_icon_type) { + valueSerializer.writeInt8(0) + const value_icon_0 = unsafeCast(value_icon) + valueSerializer.writeString(value_icon_0) } - const value_top = value.top - let value_top_type: int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - valueSerializer.writeLengthMetrics(value_top_value) + else if (RuntimeType.OBJECT == value_icon_type) { + valueSerializer.writeInt8(1) + const value_icon_1 = unsafeCast(value_icon) + valueSerializer.writeResource(value_icon_1) } - } - writeLunarSwitchStyle(value: LunarSwitchStyle): void { - let valueSerializer: Serializer = this - const value_selectedColor = value.selectedColor - let value_selectedColor_type: int32 = RuntimeType.UNDEFINED - value_selectedColor_type = runtimeType(value_selectedColor) - valueSerializer.writeInt8(value_selectedColor_type) - if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { - const value_selectedColor_value = value_selectedColor! - let value_selectedColor_value_type: int32 = RuntimeType.UNDEFINED - value_selectedColor_value_type = runtimeType(value_selectedColor_value) - if (((RuntimeType.NUMBER) == (value_selectedColor_value_type)) && ((unsafeCast(value_selectedColor_value)) >= (0)) && ((unsafeCast(value_selectedColor_value)) <= (11))) { + const value_text = value.text + let value_text_type: int32 = RuntimeType.UNDEFINED + value_text_type = runtimeType(value_text) + valueSerializer.writeInt8(value_text_type) + if ((RuntimeType.UNDEFINED) != (value_text_type)) { + const value_text_value = value_text! + let value_text_value_type: int32 = RuntimeType.UNDEFINED + value_text_value_type = runtimeType(value_text_value) + if (RuntimeType.STRING == value_text_value_type) { valueSerializer.writeInt8(0) - const value_selectedColor_value_0 = unsafeCast(value_selectedColor_value) - valueSerializer.writeInt32(value_selectedColor_value_0.valueOf()) + const value_text_value_0 = unsafeCast(value_text_value) + valueSerializer.writeString(value_text_value_0) } - else if (RuntimeType.NUMBER == value_selectedColor_value_type) { + else if (RuntimeType.OBJECT == value_text_value_type) { valueSerializer.writeInt8(1) - const value_selectedColor_value_1 = unsafeCast(value_selectedColor_value) - valueSerializer.writeNumber(value_selectedColor_value_1) + const value_text_value_1 = unsafeCast(value_text_value) + valueSerializer.writeResource(value_text_value_1) } - else if (RuntimeType.STRING == value_selectedColor_value_type) { - valueSerializer.writeInt8(2) - const value_selectedColor_value_2 = unsafeCast(value_selectedColor_value) - valueSerializer.writeString(value_selectedColor_value_2) + } + } + public writeTextPickerResult(value: TextPickerResult): void { + let valueSerializer: Serializer = this + const value_value = value.value + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + valueSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + valueSerializer.writeString(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + valueSerializer.writeInt8(1) + const value_value_1 = unsafeCast>(value_value) + valueSerializer.writeInt32(value_value_1.length) + for (let i = 0; i < value_value_1.length; i++) { + const value_value_1_element: string = value_value_1[i] + valueSerializer.writeString(value_value_1_element) } - else if (RuntimeType.OBJECT == value_selectedColor_value_type) { - valueSerializer.writeInt8(3) - const value_selectedColor_value_3 = unsafeCast(value_selectedColor_value) - valueSerializer.writeResource(value_selectedColor_value_3) + } + const value_index = value.index + let value_index_type: int32 = RuntimeType.UNDEFINED + value_index_type = runtimeType(value_index) + if (RuntimeType.NUMBER == value_index_type) { + valueSerializer.writeInt8(0) + const value_index_0 = unsafeCast(value_index) + valueSerializer.writeNumber(value_index_0) + } + else if (RuntimeType.OBJECT == value_index_type) { + valueSerializer.writeInt8(1) + const value_index_1 = unsafeCast>(value_index) + valueSerializer.writeInt32(value_index_1.length) + for (let i = 0; i < value_index_1.length; i++) { + const value_index_1_element: number = value_index_1[i] + valueSerializer.writeNumber(value_index_1_element) } } - const value_unselectedColor = value.unselectedColor - let value_unselectedColor_type: int32 = RuntimeType.UNDEFINED - value_unselectedColor_type = runtimeType(value_unselectedColor) - valueSerializer.writeInt8(value_unselectedColor_type) - if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { - const value_unselectedColor_value = value_unselectedColor! - let value_unselectedColor_value_type: int32 = RuntimeType.UNDEFINED - value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) - if (((RuntimeType.NUMBER) == (value_unselectedColor_value_type)) && ((unsafeCast(value_unselectedColor_value)) >= (0)) && ((unsafeCast(value_unselectedColor_value)) <= (11))) { + } + public writeTextShadow(value: TextShadow): void { + let valueSerializer: Serializer = this + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + valueSerializer.writecommon2D_Color(value_color_value) + } + const value_point = value.point + let value_point_type: int32 = RuntimeType.UNDEFINED + value_point_type = runtimeType(value_point) + valueSerializer.writeInt8(value_point_type) + if ((RuntimeType.UNDEFINED) != (value_point_type)) { + const value_point_value = value_point! + valueSerializer.writecommon2D_Point(value_point_value) + } + const value_blurRadius = value.blurRadius + let value_blurRadius_type: int32 = RuntimeType.UNDEFINED + value_blurRadius_type = runtimeType(value_blurRadius) + valueSerializer.writeInt8(value_blurRadius_type) + if ((RuntimeType.UNDEFINED) != (value_blurRadius_type)) { + const value_blurRadius_value = value_blurRadius! + valueSerializer.writeNumber(value_blurRadius_value) + } + } + public writeTextStyle_styled_string(value: TextStyle_styled_string): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeTextStyleInterface(value: TextStyleInterface): void { + let valueSerializer: Serializer = this + const value_fontColor = value.fontColor + let value_fontColor_type: int32 = RuntimeType.UNDEFINED + value_fontColor_type = runtimeType(value_fontColor) + valueSerializer.writeInt8(value_fontColor_type) + if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { + const value_fontColor_value = value_fontColor! + let value_fontColor_value_type: int32 = RuntimeType.UNDEFINED + value_fontColor_value_type = runtimeType(value_fontColor_value) + if (((RuntimeType.NUMBER) == (value_fontColor_value_type)) && ((unsafeCast(value_fontColor_value)) >= (0)) && ((unsafeCast(value_fontColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_unselectedColor_value_0 = unsafeCast(value_unselectedColor_value) - valueSerializer.writeInt32(value_unselectedColor_value_0.valueOf()) + const value_fontColor_value_0 = unsafeCast(value_fontColor_value) + valueSerializer.writeInt32(value_fontColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { + else if (RuntimeType.NUMBER == value_fontColor_value_type) { valueSerializer.writeInt8(1) - const value_unselectedColor_value_1 = unsafeCast(value_unselectedColor_value) - valueSerializer.writeNumber(value_unselectedColor_value_1) + const value_fontColor_value_1 = unsafeCast(value_fontColor_value) + valueSerializer.writeNumber(value_fontColor_value_1) } - else if (RuntimeType.STRING == value_unselectedColor_value_type) { + else if (RuntimeType.STRING == value_fontColor_value_type) { valueSerializer.writeInt8(2) - const value_unselectedColor_value_2 = unsafeCast(value_unselectedColor_value) - valueSerializer.writeString(value_unselectedColor_value_2) + const value_fontColor_value_2 = unsafeCast(value_fontColor_value) + valueSerializer.writeString(value_fontColor_value_2) } - else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { + else if (RuntimeType.OBJECT == value_fontColor_value_type) { valueSerializer.writeInt8(3) - const value_unselectedColor_value_3 = unsafeCast(value_unselectedColor_value) - valueSerializer.writeResource(value_unselectedColor_value_3) + const value_fontColor_value_3 = unsafeCast(value_fontColor_value) + valueSerializer.writeResource(value_fontColor_value_3) } } - const value_strokeColor = value.strokeColor - let value_strokeColor_type: int32 = RuntimeType.UNDEFINED - value_strokeColor_type = runtimeType(value_strokeColor) - valueSerializer.writeInt8(value_strokeColor_type) - if ((RuntimeType.UNDEFINED) != (value_strokeColor_type)) { - const value_strokeColor_value = value_strokeColor! - let value_strokeColor_value_type: int32 = RuntimeType.UNDEFINED - value_strokeColor_value_type = runtimeType(value_strokeColor_value) - if (((RuntimeType.NUMBER) == (value_strokeColor_value_type)) && ((unsafeCast(value_strokeColor_value)) >= (0)) && ((unsafeCast(value_strokeColor_value)) <= (11))) { + const value_fontFamily = value.fontFamily + let value_fontFamily_type: int32 = RuntimeType.UNDEFINED + value_fontFamily_type = runtimeType(value_fontFamily) + valueSerializer.writeInt8(value_fontFamily_type) + if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { + const value_fontFamily_value = value_fontFamily! + let value_fontFamily_value_type: int32 = RuntimeType.UNDEFINED + value_fontFamily_value_type = runtimeType(value_fontFamily_value) + if (RuntimeType.STRING == value_fontFamily_value_type) { valueSerializer.writeInt8(0) - const value_strokeColor_value_0 = unsafeCast(value_strokeColor_value) - valueSerializer.writeInt32(value_strokeColor_value_0.valueOf()) + const value_fontFamily_value_0 = unsafeCast(value_fontFamily_value) + valueSerializer.writeString(value_fontFamily_value_0) } - else if (RuntimeType.NUMBER == value_strokeColor_value_type) { + else if (RuntimeType.OBJECT == value_fontFamily_value_type) { valueSerializer.writeInt8(1) - const value_strokeColor_value_1 = unsafeCast(value_strokeColor_value) - valueSerializer.writeNumber(value_strokeColor_value_1) + const value_fontFamily_value_1 = unsafeCast(value_fontFamily_value) + valueSerializer.writeResource(value_fontFamily_value_1) } - else if (RuntimeType.STRING == value_strokeColor_value_type) { - valueSerializer.writeInt8(2) - const value_strokeColor_value_2 = unsafeCast(value_strokeColor_value) - valueSerializer.writeString(value_strokeColor_value_2) + } + const value_fontSize = value.fontSize + let value_fontSize_type: int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + valueSerializer.writeLengthMetrics(value_fontSize_value) + } + const value_fontWeight = value.fontWeight + let value_fontWeight_type: int32 = RuntimeType.UNDEFINED + value_fontWeight_type = runtimeType(value_fontWeight) + valueSerializer.writeInt8(value_fontWeight_type) + if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { + const value_fontWeight_value = value_fontWeight! + let value_fontWeight_value_type: int32 = RuntimeType.UNDEFINED + value_fontWeight_value_type = runtimeType(value_fontWeight_value) + if (RuntimeType.NUMBER == value_fontWeight_value_type) { + valueSerializer.writeInt8(0) + const value_fontWeight_value_0 = unsafeCast(value_fontWeight_value) + valueSerializer.writeNumber(value_fontWeight_value_0) } - else if (RuntimeType.OBJECT == value_strokeColor_value_type) { - valueSerializer.writeInt8(3) - const value_strokeColor_value_3 = unsafeCast(value_strokeColor_value) - valueSerializer.writeResource(value_strokeColor_value_3) + else if (((RuntimeType.NUMBER) == (value_fontWeight_value_type)) && ((unsafeCast(value_fontWeight_value)) >= (0)) && ((unsafeCast(value_fontWeight_value)) <= (5))) { + valueSerializer.writeInt8(1) + const value_fontWeight_value_1 = unsafeCast(value_fontWeight_value) + valueSerializer.writeInt32(value_fontWeight_value_1.valueOf()) + } + else if (RuntimeType.STRING == value_fontWeight_value_type) { + valueSerializer.writeInt8(2) + const value_fontWeight_value_2 = unsafeCast(value_fontWeight_value) + valueSerializer.writeString(value_fontWeight_value_2) } } + const value_fontStyle = value.fontStyle + let value_fontStyle_type: int32 = RuntimeType.UNDEFINED + value_fontStyle_type = runtimeType(value_fontStyle) + valueSerializer.writeInt8(value_fontStyle_type) + if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { + const value_fontStyle_value = value_fontStyle! + valueSerializer.writeInt32(value_fontStyle_value.valueOf()) + } } - writeMarkStyle(value: MarkStyle): void { + public writeTodayStyle(value: TodayStyle): void { let valueSerializer: Serializer = this - const value_strokeColor = value.strokeColor - let value_strokeColor_type: int32 = RuntimeType.UNDEFINED - value_strokeColor_type = runtimeType(value_strokeColor) - valueSerializer.writeInt8(value_strokeColor_type) - if ((RuntimeType.UNDEFINED) != (value_strokeColor_type)) { - const value_strokeColor_value = value_strokeColor! - let value_strokeColor_value_type: int32 = RuntimeType.UNDEFINED - value_strokeColor_value_type = runtimeType(value_strokeColor_value) - if (((RuntimeType.NUMBER) == (value_strokeColor_value_type)) && ((unsafeCast(value_strokeColor_value)) >= (0)) && ((unsafeCast(value_strokeColor_value)) <= (11))) { + const value_focusedDayColor = value.focusedDayColor + let value_focusedDayColor_type: int32 = RuntimeType.UNDEFINED + value_focusedDayColor_type = runtimeType(value_focusedDayColor) + valueSerializer.writeInt8(value_focusedDayColor_type) + if ((RuntimeType.UNDEFINED) != (value_focusedDayColor_type)) { + const value_focusedDayColor_value = value_focusedDayColor! + let value_focusedDayColor_value_type: int32 = RuntimeType.UNDEFINED + value_focusedDayColor_value_type = runtimeType(value_focusedDayColor_value) + if (((RuntimeType.NUMBER) == (value_focusedDayColor_value_type)) && ((unsafeCast(value_focusedDayColor_value)) >= (0)) && ((unsafeCast(value_focusedDayColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_strokeColor_value_0 = unsafeCast(value_strokeColor_value) - valueSerializer.writeInt32(value_strokeColor_value_0.valueOf()) + const value_focusedDayColor_value_0 = unsafeCast(value_focusedDayColor_value) + valueSerializer.writeInt32(value_focusedDayColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_strokeColor_value_type) { + else if (RuntimeType.NUMBER == value_focusedDayColor_value_type) { valueSerializer.writeInt8(1) - const value_strokeColor_value_1 = unsafeCast(value_strokeColor_value) - valueSerializer.writeNumber(value_strokeColor_value_1) + const value_focusedDayColor_value_1 = unsafeCast(value_focusedDayColor_value) + valueSerializer.writeNumber(value_focusedDayColor_value_1) } - else if (RuntimeType.STRING == value_strokeColor_value_type) { + else if (RuntimeType.STRING == value_focusedDayColor_value_type) { valueSerializer.writeInt8(2) - const value_strokeColor_value_2 = unsafeCast(value_strokeColor_value) - valueSerializer.writeString(value_strokeColor_value_2) + const value_focusedDayColor_value_2 = unsafeCast(value_focusedDayColor_value) + valueSerializer.writeString(value_focusedDayColor_value_2) } - else if (RuntimeType.OBJECT == value_strokeColor_value_type) { + else if (RuntimeType.OBJECT == value_focusedDayColor_value_type) { valueSerializer.writeInt8(3) - const value_strokeColor_value_3 = unsafeCast(value_strokeColor_value) - valueSerializer.writeResource(value_strokeColor_value_3) + const value_focusedDayColor_value_3 = unsafeCast(value_focusedDayColor_value) + valueSerializer.writeResource(value_focusedDayColor_value_3) } } - const value_size = value.size - let value_size_type: int32 = RuntimeType.UNDEFINED - value_size_type = runtimeType(value_size) - valueSerializer.writeInt8(value_size_type) - if ((RuntimeType.UNDEFINED) != (value_size_type)) { - const value_size_value = value_size! - let value_size_value_type: int32 = RuntimeType.UNDEFINED - value_size_value_type = runtimeType(value_size_value) - if (RuntimeType.STRING == value_size_value_type) { + const value_focusedLunarColor = value.focusedLunarColor + let value_focusedLunarColor_type: int32 = RuntimeType.UNDEFINED + value_focusedLunarColor_type = runtimeType(value_focusedLunarColor) + valueSerializer.writeInt8(value_focusedLunarColor_type) + if ((RuntimeType.UNDEFINED) != (value_focusedLunarColor_type)) { + const value_focusedLunarColor_value = value_focusedLunarColor! + let value_focusedLunarColor_value_type: int32 = RuntimeType.UNDEFINED + value_focusedLunarColor_value_type = runtimeType(value_focusedLunarColor_value) + if (((RuntimeType.NUMBER) == (value_focusedLunarColor_value_type)) && ((unsafeCast(value_focusedLunarColor_value)) >= (0)) && ((unsafeCast(value_focusedLunarColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_size_value_0 = unsafeCast(value_size_value) - valueSerializer.writeString(value_size_value_0) + const value_focusedLunarColor_value_0 = unsafeCast(value_focusedLunarColor_value) + valueSerializer.writeInt32(value_focusedLunarColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_size_value_type) { + else if (RuntimeType.NUMBER == value_focusedLunarColor_value_type) { valueSerializer.writeInt8(1) - const value_size_value_1 = unsafeCast(value_size_value) - valueSerializer.writeNumber(value_size_value_1) + const value_focusedLunarColor_value_1 = unsafeCast(value_focusedLunarColor_value) + valueSerializer.writeNumber(value_focusedLunarColor_value_1) } - else if (RuntimeType.OBJECT == value_size_value_type) { + else if (RuntimeType.STRING == value_focusedLunarColor_value_type) { valueSerializer.writeInt8(2) - const value_size_value_2 = unsafeCast(value_size_value) - valueSerializer.writeResource(value_size_value_2) + const value_focusedLunarColor_value_2 = unsafeCast(value_focusedLunarColor_value) + valueSerializer.writeString(value_focusedLunarColor_value_2) + } + else if (RuntimeType.OBJECT == value_focusedLunarColor_value_type) { + valueSerializer.writeInt8(3) + const value_focusedLunarColor_value_3 = unsafeCast(value_focusedLunarColor_value) + valueSerializer.writeResource(value_focusedLunarColor_value_3) } } - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - let value_strokeWidth_value_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) - if (RuntimeType.STRING == value_strokeWidth_value_type) { + const value_focusedAreaBackgroundColor = value.focusedAreaBackgroundColor + let value_focusedAreaBackgroundColor_type: int32 = RuntimeType.UNDEFINED + value_focusedAreaBackgroundColor_type = runtimeType(value_focusedAreaBackgroundColor) + valueSerializer.writeInt8(value_focusedAreaBackgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_focusedAreaBackgroundColor_type)) { + const value_focusedAreaBackgroundColor_value = value_focusedAreaBackgroundColor! + let value_focusedAreaBackgroundColor_value_type: int32 = RuntimeType.UNDEFINED + value_focusedAreaBackgroundColor_value_type = runtimeType(value_focusedAreaBackgroundColor_value) + if (((RuntimeType.NUMBER) == (value_focusedAreaBackgroundColor_value_type)) && ((unsafeCast(value_focusedAreaBackgroundColor_value)) >= (0)) && ((unsafeCast(value_focusedAreaBackgroundColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_strokeWidth_value_0 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeString(value_strokeWidth_value_0) + const value_focusedAreaBackgroundColor_value_0 = unsafeCast(value_focusedAreaBackgroundColor_value) + valueSerializer.writeInt32(value_focusedAreaBackgroundColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { + else if (RuntimeType.NUMBER == value_focusedAreaBackgroundColor_value_type) { valueSerializer.writeInt8(1) - const value_strokeWidth_value_1 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeNumber(value_strokeWidth_value_1) + const value_focusedAreaBackgroundColor_value_1 = unsafeCast(value_focusedAreaBackgroundColor_value) + valueSerializer.writeNumber(value_focusedAreaBackgroundColor_value_1) } - else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { + else if (RuntimeType.STRING == value_focusedAreaBackgroundColor_value_type) { valueSerializer.writeInt8(2) - const value_strokeWidth_value_2 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeResource(value_strokeWidth_value_2) + const value_focusedAreaBackgroundColor_value_2 = unsafeCast(value_focusedAreaBackgroundColor_value) + valueSerializer.writeString(value_focusedAreaBackgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_focusedAreaBackgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_focusedAreaBackgroundColor_value_3 = unsafeCast(value_focusedAreaBackgroundColor_value) + valueSerializer.writeResource(value_focusedAreaBackgroundColor_value_3) } } + const value_focusedAreaRadius = value.focusedAreaRadius + let value_focusedAreaRadius_type: int32 = RuntimeType.UNDEFINED + value_focusedAreaRadius_type = runtimeType(value_focusedAreaRadius) + valueSerializer.writeInt8(value_focusedAreaRadius_type) + if ((RuntimeType.UNDEFINED) != (value_focusedAreaRadius_type)) { + const value_focusedAreaRadius_value = value_focusedAreaRadius! + valueSerializer.writeNumber(value_focusedAreaRadius_value) + } } - writeMeasureOptions(value: MeasureOptions): void { + public writeToolbarItem(value: ToolbarItem): void { let valueSerializer: Serializer = this - const value_textContent = value.textContent - let value_textContent_type: int32 = RuntimeType.UNDEFINED - value_textContent_type = runtimeType(value_textContent) - if (RuntimeType.STRING == value_textContent_type) { + const value_value = value.value + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { valueSerializer.writeInt8(0) - const value_textContent_0 = unsafeCast(value_textContent) - valueSerializer.writeString(value_textContent_0) + const value_value_0 = unsafeCast(value_value) + valueSerializer.writeString(value_value_0) } - else if (RuntimeType.OBJECT == value_textContent_type) { + else if (RuntimeType.OBJECT == value_value_type) { valueSerializer.writeInt8(1) - const value_textContent_1 = unsafeCast(value_textContent) - valueSerializer.writeResource(value_textContent_1) + const value_value_1 = unsafeCast(value_value) + valueSerializer.writeResource(value_value_1) } - const value_constraintWidth = value.constraintWidth - let value_constraintWidth_type: int32 = RuntimeType.UNDEFINED - value_constraintWidth_type = runtimeType(value_constraintWidth) - valueSerializer.writeInt8(value_constraintWidth_type) - if ((RuntimeType.UNDEFINED) != (value_constraintWidth_type)) { - const value_constraintWidth_value = value_constraintWidth! - let value_constraintWidth_value_type: int32 = RuntimeType.UNDEFINED - value_constraintWidth_value_type = runtimeType(value_constraintWidth_value) - if (RuntimeType.NUMBER == value_constraintWidth_value_type) { + const value_icon = value.icon + let value_icon_type: int32 = RuntimeType.UNDEFINED + value_icon_type = runtimeType(value_icon) + valueSerializer.writeInt8(value_icon_type) + if ((RuntimeType.UNDEFINED) != (value_icon_type)) { + const value_icon_value = value_icon! + let value_icon_value_type: int32 = RuntimeType.UNDEFINED + value_icon_value_type = runtimeType(value_icon_value) + if (RuntimeType.STRING == value_icon_value_type) { valueSerializer.writeInt8(0) - const value_constraintWidth_value_0 = unsafeCast(value_constraintWidth_value) - valueSerializer.writeNumber(value_constraintWidth_value_0) + const value_icon_value_0 = unsafeCast(value_icon_value) + valueSerializer.writeString(value_icon_value_0) } - else if (RuntimeType.STRING == value_constraintWidth_value_type) { + else if (RuntimeType.OBJECT == value_icon_value_type) { valueSerializer.writeInt8(1) - const value_constraintWidth_value_1 = unsafeCast(value_constraintWidth_value) - valueSerializer.writeString(value_constraintWidth_value_1) - } - else if (RuntimeType.OBJECT == value_constraintWidth_value_type) { - valueSerializer.writeInt8(2) - const value_constraintWidth_value_2 = unsafeCast(value_constraintWidth_value) - valueSerializer.writeResource(value_constraintWidth_value_2) + const value_icon_value_1 = unsafeCast(value_icon_value) + valueSerializer.writeResource(value_icon_value_1) } } - const value_fontSize = value.fontSize - let value_fontSize_type: int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - let value_fontSize_value_type: int32 = RuntimeType.UNDEFINED - value_fontSize_value_type = runtimeType(value_fontSize_value) - if (RuntimeType.NUMBER == value_fontSize_value_type) { - valueSerializer.writeInt8(0) - const value_fontSize_value_0 = unsafeCast(value_fontSize_value) - valueSerializer.writeNumber(value_fontSize_value_0) - } - else if (RuntimeType.STRING == value_fontSize_value_type) { - valueSerializer.writeInt8(1) - const value_fontSize_value_1 = unsafeCast(value_fontSize_value) - valueSerializer.writeString(value_fontSize_value_1) - } - else if (RuntimeType.OBJECT == value_fontSize_value_type) { - valueSerializer.writeInt8(2) - const value_fontSize_value_2 = unsafeCast(value_fontSize_value) - valueSerializer.writeResource(value_fontSize_value_2) - } + const value_symbolIcon = value.symbolIcon + let value_symbolIcon_type: int32 = RuntimeType.UNDEFINED + value_symbolIcon_type = runtimeType(value_symbolIcon) + valueSerializer.writeInt8(value_symbolIcon_type) + if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { + const value_symbolIcon_value = value_symbolIcon! + valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) } - const value_fontStyle = value.fontStyle - let value_fontStyle_type: int32 = RuntimeType.UNDEFINED - value_fontStyle_type = runtimeType(value_fontStyle) - valueSerializer.writeInt8(value_fontStyle_type) - if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { - const value_fontStyle_value = value_fontStyle! - let value_fontStyle_value_type: int32 = RuntimeType.UNDEFINED - value_fontStyle_value_type = runtimeType(value_fontStyle_value) - if (RuntimeType.NUMBER == value_fontStyle_value_type) { - valueSerializer.writeInt8(0) - const value_fontStyle_value_0 = unsafeCast(value_fontStyle_value) - valueSerializer.writeNumber(value_fontStyle_value_0) - } - else if (((RuntimeType.NUMBER) == (value_fontStyle_value_type)) && ((unsafeCast(value_fontStyle_value)) >= (0)) && ((unsafeCast(value_fontStyle_value)) <= (2))) { - valueSerializer.writeInt8(1) - const value_fontStyle_value_1 = unsafeCast(value_fontStyle_value) - valueSerializer.writeInt32(value_fontStyle_value_1.valueOf()) - } + const value_action = value.action + let value_action_type: int32 = RuntimeType.UNDEFINED + value_action_type = runtimeType(value_action) + valueSerializer.writeInt8(value_action_type) + if ((RuntimeType.UNDEFINED) != (value_action_type)) { + const value_action_value = value_action! + valueSerializer.holdAndWriteCallback(value_action_value) } - const value_fontWeight = value.fontWeight - let value_fontWeight_type: int32 = RuntimeType.UNDEFINED - value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type) - if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { - const value_fontWeight_value = value_fontWeight! - let value_fontWeight_value_type: int32 = RuntimeType.UNDEFINED - value_fontWeight_value_type = runtimeType(value_fontWeight_value) - if (RuntimeType.NUMBER == value_fontWeight_value_type) { + const value_status = value.status + let value_status_type: int32 = RuntimeType.UNDEFINED + value_status_type = runtimeType(value_status) + valueSerializer.writeInt8(value_status_type) + if ((RuntimeType.UNDEFINED) != (value_status_type)) { + const value_status_value = value_status! + valueSerializer.writeInt32(value_status_value.valueOf()) + } + const value_activeIcon = value.activeIcon + let value_activeIcon_type: int32 = RuntimeType.UNDEFINED + value_activeIcon_type = runtimeType(value_activeIcon) + valueSerializer.writeInt8(value_activeIcon_type) + if ((RuntimeType.UNDEFINED) != (value_activeIcon_type)) { + const value_activeIcon_value = value_activeIcon! + let value_activeIcon_value_type: int32 = RuntimeType.UNDEFINED + value_activeIcon_value_type = runtimeType(value_activeIcon_value) + if (RuntimeType.STRING == value_activeIcon_value_type) { valueSerializer.writeInt8(0) - const value_fontWeight_value_0 = unsafeCast(value_fontWeight_value) - valueSerializer.writeNumber(value_fontWeight_value_0) + const value_activeIcon_value_0 = unsafeCast(value_activeIcon_value) + valueSerializer.writeString(value_activeIcon_value_0) } - else if (RuntimeType.STRING == value_fontWeight_value_type) { + else if (RuntimeType.OBJECT == value_activeIcon_value_type) { valueSerializer.writeInt8(1) - const value_fontWeight_value_1 = unsafeCast(value_fontWeight_value) - valueSerializer.writeString(value_fontWeight_value_1) - } - else if (((RuntimeType.NUMBER) == (value_fontWeight_value_type)) && ((unsafeCast(value_fontWeight_value)) >= (0)) && ((unsafeCast(value_fontWeight_value)) <= (5))) { - valueSerializer.writeInt8(2) - const value_fontWeight_value_2 = unsafeCast(value_fontWeight_value) - valueSerializer.writeInt32(value_fontWeight_value_2.valueOf()) + const value_activeIcon_value_1 = unsafeCast(value_activeIcon_value) + valueSerializer.writeResource(value_activeIcon_value_1) } } - const value_fontFamily = value.fontFamily - let value_fontFamily_type: int32 = RuntimeType.UNDEFINED - value_fontFamily_type = runtimeType(value_fontFamily) - valueSerializer.writeInt8(value_fontFamily_type) - if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { - const value_fontFamily_value = value_fontFamily! - let value_fontFamily_value_type: int32 = RuntimeType.UNDEFINED - value_fontFamily_value_type = runtimeType(value_fontFamily_value) - if (RuntimeType.STRING == value_fontFamily_value_type) { - valueSerializer.writeInt8(0) - const value_fontFamily_value_0 = unsafeCast(value_fontFamily_value) - valueSerializer.writeString(value_fontFamily_value_0) - } - else if (RuntimeType.OBJECT == value_fontFamily_value_type) { - valueSerializer.writeInt8(1) - const value_fontFamily_value_1 = unsafeCast(value_fontFamily_value) - valueSerializer.writeResource(value_fontFamily_value_1) - } + const value_activeSymbolIcon = value.activeSymbolIcon + let value_activeSymbolIcon_type: int32 = RuntimeType.UNDEFINED + value_activeSymbolIcon_type = runtimeType(value_activeSymbolIcon) + valueSerializer.writeInt8(value_activeSymbolIcon_type) + if ((RuntimeType.UNDEFINED) != (value_activeSymbolIcon_type)) { + const value_activeSymbolIcon_value = value_activeSymbolIcon! + valueSerializer.writeSymbolGlyphModifier(value_activeSymbolIcon_value) } - const value_letterSpacing = value.letterSpacing - let value_letterSpacing_type: int32 = RuntimeType.UNDEFINED - value_letterSpacing_type = runtimeType(value_letterSpacing) - valueSerializer.writeInt8(value_letterSpacing_type) - if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { - const value_letterSpacing_value = value_letterSpacing! - let value_letterSpacing_value_type: int32 = RuntimeType.UNDEFINED - value_letterSpacing_value_type = runtimeType(value_letterSpacing_value) - if (RuntimeType.NUMBER == value_letterSpacing_value_type) { + } + public writeTransitionOptions(value: TransitionOptions): void { + let valueSerializer: Serializer = this + const value_type = value.type + let value_type_type: int32 = RuntimeType.UNDEFINED + value_type_type = runtimeType(value_type) + valueSerializer.writeInt8(value_type_type) + if ((RuntimeType.UNDEFINED) != (value_type_type)) { + const value_type_value = value_type! + valueSerializer.writeInt32(value_type_value.valueOf()) + } + const value_opacity = value.opacity + let value_opacity_type: int32 = RuntimeType.UNDEFINED + value_opacity_type = runtimeType(value_opacity) + valueSerializer.writeInt8(value_opacity_type) + if ((RuntimeType.UNDEFINED) != (value_opacity_type)) { + const value_opacity_value = value_opacity! + valueSerializer.writeNumber(value_opacity_value) + } + const value_translate = value.translate + let value_translate_type: int32 = RuntimeType.UNDEFINED + value_translate_type = runtimeType(value_translate) + valueSerializer.writeInt8(value_translate_type) + if ((RuntimeType.UNDEFINED) != (value_translate_type)) { + const value_translate_value = value_translate! + valueSerializer.writeTranslateOptions(value_translate_value) + } + const value_scale = value.scale + let value_scale_type: int32 = RuntimeType.UNDEFINED + value_scale_type = runtimeType(value_scale) + valueSerializer.writeInt8(value_scale_type) + if ((RuntimeType.UNDEFINED) != (value_scale_type)) { + const value_scale_value = value_scale! + valueSerializer.writeScaleOptions(value_scale_value) + } + const value_rotate = value.rotate + let value_rotate_type: int32 = RuntimeType.UNDEFINED + value_rotate_type = runtimeType(value_rotate) + valueSerializer.writeInt8(value_rotate_type) + if ((RuntimeType.UNDEFINED) != (value_rotate_type)) { + const value_rotate_value = value_rotate! + valueSerializer.writeRotateOptions(value_rotate_value) + } + } + public writeUnderlineColor(value: UnderlineColor): void { + let valueSerializer: Serializer = this + const value_typing = value.typing + let value_typing_type: int32 = RuntimeType.UNDEFINED + value_typing_type = runtimeType(value_typing) + valueSerializer.writeInt8(value_typing_type) + if ((RuntimeType.UNDEFINED) != (value_typing_type)) { + const value_typing_value = value_typing! + let value_typing_value_type: int32 = RuntimeType.UNDEFINED + value_typing_value_type = runtimeType(value_typing_value) + if (((RuntimeType.NUMBER) == (value_typing_value_type)) && ((unsafeCast(value_typing_value)) >= (0)) && ((unsafeCast(value_typing_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_letterSpacing_value_0 = unsafeCast(value_letterSpacing_value) - valueSerializer.writeNumber(value_letterSpacing_value_0) + const value_typing_value_0 = unsafeCast(value_typing_value) + valueSerializer.writeInt32(value_typing_value_0.valueOf()) } - else if (RuntimeType.STRING == value_letterSpacing_value_type) { + else if (RuntimeType.NUMBER == value_typing_value_type) { valueSerializer.writeInt8(1) - const value_letterSpacing_value_1 = unsafeCast(value_letterSpacing_value) - valueSerializer.writeString(value_letterSpacing_value_1) + const value_typing_value_1 = unsafeCast(value_typing_value) + valueSerializer.writeNumber(value_typing_value_1) + } + else if (RuntimeType.STRING == value_typing_value_type) { + valueSerializer.writeInt8(2) + const value_typing_value_2 = unsafeCast(value_typing_value) + valueSerializer.writeString(value_typing_value_2) + } + else if (RuntimeType.OBJECT == value_typing_value_type) { + valueSerializer.writeInt8(3) + const value_typing_value_3 = unsafeCast(value_typing_value) + valueSerializer.writeResource(value_typing_value_3) } } - const value_textAlign = value.textAlign - let value_textAlign_type: int32 = RuntimeType.UNDEFINED - value_textAlign_type = runtimeType(value_textAlign) - valueSerializer.writeInt8(value_textAlign_type) - if ((RuntimeType.UNDEFINED) != (value_textAlign_type)) { - const value_textAlign_value = value_textAlign! - let value_textAlign_value_type: int32 = RuntimeType.UNDEFINED - value_textAlign_value_type = runtimeType(value_textAlign_value) - if (RuntimeType.NUMBER == value_textAlign_value_type) { + const value_normal = value.normal + let value_normal_type: int32 = RuntimeType.UNDEFINED + value_normal_type = runtimeType(value_normal) + valueSerializer.writeInt8(value_normal_type) + if ((RuntimeType.UNDEFINED) != (value_normal_type)) { + const value_normal_value = value_normal! + let value_normal_value_type: int32 = RuntimeType.UNDEFINED + value_normal_value_type = runtimeType(value_normal_value) + if (((RuntimeType.NUMBER) == (value_normal_value_type)) && ((unsafeCast(value_normal_value)) >= (0)) && ((unsafeCast(value_normal_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_textAlign_value_0 = unsafeCast(value_textAlign_value) - valueSerializer.writeNumber(value_textAlign_value_0) + const value_normal_value_0 = unsafeCast(value_normal_value) + valueSerializer.writeInt32(value_normal_value_0.valueOf()) } - else if (((RuntimeType.NUMBER) == (value_textAlign_value_type)) && ((unsafeCast(value_textAlign_value)) >= (0)) && ((unsafeCast(value_textAlign_value)) <= (3))) { + else if (RuntimeType.NUMBER == value_normal_value_type) { valueSerializer.writeInt8(1) - const value_textAlign_value_1 = unsafeCast(value_textAlign_value) - valueSerializer.writeInt32(value_textAlign_value_1.valueOf()) + const value_normal_value_1 = unsafeCast(value_normal_value) + valueSerializer.writeNumber(value_normal_value_1) + } + else if (RuntimeType.STRING == value_normal_value_type) { + valueSerializer.writeInt8(2) + const value_normal_value_2 = unsafeCast(value_normal_value) + valueSerializer.writeString(value_normal_value_2) + } + else if (RuntimeType.OBJECT == value_normal_value_type) { + valueSerializer.writeInt8(3) + const value_normal_value_3 = unsafeCast(value_normal_value) + valueSerializer.writeResource(value_normal_value_3) } } - const value_overflow = value.overflow - let value_overflow_type: int32 = RuntimeType.UNDEFINED - value_overflow_type = runtimeType(value_overflow) - valueSerializer.writeInt8(value_overflow_type) - if ((RuntimeType.UNDEFINED) != (value_overflow_type)) { - const value_overflow_value = value_overflow! - let value_overflow_value_type: int32 = RuntimeType.UNDEFINED - value_overflow_value_type = runtimeType(value_overflow_value) - if (RuntimeType.NUMBER == value_overflow_value_type) { + const value_error = value.error + let value_error_type: int32 = RuntimeType.UNDEFINED + value_error_type = runtimeType(value_error) + valueSerializer.writeInt8(value_error_type) + if ((RuntimeType.UNDEFINED) != (value_error_type)) { + const value_error_value = value_error! + let value_error_value_type: int32 = RuntimeType.UNDEFINED + value_error_value_type = runtimeType(value_error_value) + if (((RuntimeType.NUMBER) == (value_error_value_type)) && ((unsafeCast(value_error_value)) >= (0)) && ((unsafeCast(value_error_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_overflow_value_0 = unsafeCast(value_overflow_value) - valueSerializer.writeNumber(value_overflow_value_0) + const value_error_value_0 = unsafeCast(value_error_value) + valueSerializer.writeInt32(value_error_value_0.valueOf()) } - else if (((RuntimeType.NUMBER) == (value_overflow_value_type)) && ((unsafeCast(value_overflow_value)) >= (0)) && ((unsafeCast(value_overflow_value)) <= (3))) { + else if (RuntimeType.NUMBER == value_error_value_type) { valueSerializer.writeInt8(1) - const value_overflow_value_1 = unsafeCast(value_overflow_value) - valueSerializer.writeInt32(value_overflow_value_1.valueOf()) + const value_error_value_1 = unsafeCast(value_error_value) + valueSerializer.writeNumber(value_error_value_1) + } + else if (RuntimeType.STRING == value_error_value_type) { + valueSerializer.writeInt8(2) + const value_error_value_2 = unsafeCast(value_error_value) + valueSerializer.writeString(value_error_value_2) + } + else if (RuntimeType.OBJECT == value_error_value_type) { + valueSerializer.writeInt8(3) + const value_error_value_3 = unsafeCast(value_error_value) + valueSerializer.writeResource(value_error_value_3) } } - const value_maxLines = value.maxLines - let value_maxLines_type: int32 = RuntimeType.UNDEFINED - value_maxLines_type = runtimeType(value_maxLines) - valueSerializer.writeInt8(value_maxLines_type) - if ((RuntimeType.UNDEFINED) != (value_maxLines_type)) { - const value_maxLines_value = value_maxLines! - valueSerializer.writeNumber(value_maxLines_value) - } - const value_lineHeight = value.lineHeight - let value_lineHeight_type: int32 = RuntimeType.UNDEFINED - value_lineHeight_type = runtimeType(value_lineHeight) - valueSerializer.writeInt8(value_lineHeight_type) - if ((RuntimeType.UNDEFINED) != (value_lineHeight_type)) { - const value_lineHeight_value = value_lineHeight! - let value_lineHeight_value_type: int32 = RuntimeType.UNDEFINED - value_lineHeight_value_type = runtimeType(value_lineHeight_value) - if (RuntimeType.NUMBER == value_lineHeight_value_type) { + const value_disable = value.disable + let value_disable_type: int32 = RuntimeType.UNDEFINED + value_disable_type = runtimeType(value_disable) + valueSerializer.writeInt8(value_disable_type) + if ((RuntimeType.UNDEFINED) != (value_disable_type)) { + const value_disable_value = value_disable! + let value_disable_value_type: int32 = RuntimeType.UNDEFINED + value_disable_value_type = runtimeType(value_disable_value) + if (((RuntimeType.NUMBER) == (value_disable_value_type)) && ((unsafeCast(value_disable_value)) >= (0)) && ((unsafeCast(value_disable_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_lineHeight_value_0 = unsafeCast(value_lineHeight_value) - valueSerializer.writeNumber(value_lineHeight_value_0) + const value_disable_value_0 = unsafeCast(value_disable_value) + valueSerializer.writeInt32(value_disable_value_0.valueOf()) } - else if (RuntimeType.STRING == value_lineHeight_value_type) { + else if (RuntimeType.NUMBER == value_disable_value_type) { valueSerializer.writeInt8(1) - const value_lineHeight_value_1 = unsafeCast(value_lineHeight_value) - valueSerializer.writeString(value_lineHeight_value_1) + const value_disable_value_1 = unsafeCast(value_disable_value) + valueSerializer.writeNumber(value_disable_value_1) } - else if (RuntimeType.OBJECT == value_lineHeight_value_type) { + else if (RuntimeType.STRING == value_disable_value_type) { valueSerializer.writeInt8(2) - const value_lineHeight_value_2 = unsafeCast(value_lineHeight_value) - valueSerializer.writeResource(value_lineHeight_value_2) + const value_disable_value_2 = unsafeCast(value_disable_value) + valueSerializer.writeString(value_disable_value_2) + } + else if (RuntimeType.OBJECT == value_disable_value_type) { + valueSerializer.writeInt8(3) + const value_disable_value_3 = unsafeCast(value_disable_value) + valueSerializer.writeResource(value_disable_value_3) } } - const value_baselineOffset = value.baselineOffset - let value_baselineOffset_type: int32 = RuntimeType.UNDEFINED - value_baselineOffset_type = runtimeType(value_baselineOffset) - valueSerializer.writeInt8(value_baselineOffset_type) - if ((RuntimeType.UNDEFINED) != (value_baselineOffset_type)) { - const value_baselineOffset_value = value_baselineOffset! - let value_baselineOffset_value_type: int32 = RuntimeType.UNDEFINED - value_baselineOffset_value_type = runtimeType(value_baselineOffset_value) - if (RuntimeType.NUMBER == value_baselineOffset_value_type) { + } + public writeVideoOptions(value: VideoOptions): void { + let valueSerializer: Serializer = this + const value_src = value.src + let value_src_type: int32 = RuntimeType.UNDEFINED + value_src_type = runtimeType(value_src) + valueSerializer.writeInt8(value_src_type) + if ((RuntimeType.UNDEFINED) != (value_src_type)) { + const value_src_value = value_src! + let value_src_value_type: int32 = RuntimeType.UNDEFINED + value_src_value_type = runtimeType(value_src_value) + if (RuntimeType.STRING == value_src_value_type) { valueSerializer.writeInt8(0) - const value_baselineOffset_value_0 = unsafeCast(value_baselineOffset_value) - valueSerializer.writeNumber(value_baselineOffset_value_0) + const value_src_value_0 = unsafeCast(value_src_value) + valueSerializer.writeString(value_src_value_0) } - else if (RuntimeType.STRING == value_baselineOffset_value_type) { + else if (RuntimeType.OBJECT == value_src_value_type) { valueSerializer.writeInt8(1) - const value_baselineOffset_value_1 = unsafeCast(value_baselineOffset_value) - valueSerializer.writeString(value_baselineOffset_value_1) + const value_src_value_1 = unsafeCast(value_src_value) + valueSerializer.writeResource(value_src_value_1) } } - const value_textCase = value.textCase - let value_textCase_type: int32 = RuntimeType.UNDEFINED - value_textCase_type = runtimeType(value_textCase) - valueSerializer.writeInt8(value_textCase_type) - if ((RuntimeType.UNDEFINED) != (value_textCase_type)) { - const value_textCase_value = value_textCase! - let value_textCase_value_type: int32 = RuntimeType.UNDEFINED - value_textCase_value_type = runtimeType(value_textCase_value) - if (RuntimeType.NUMBER == value_textCase_value_type) { + const value_currentProgressRate = value.currentProgressRate + let value_currentProgressRate_type: int32 = RuntimeType.UNDEFINED + value_currentProgressRate_type = runtimeType(value_currentProgressRate) + valueSerializer.writeInt8(value_currentProgressRate_type) + if ((RuntimeType.UNDEFINED) != (value_currentProgressRate_type)) { + const value_currentProgressRate_value = value_currentProgressRate! + let value_currentProgressRate_value_type: int32 = RuntimeType.UNDEFINED + value_currentProgressRate_value_type = runtimeType(value_currentProgressRate_value) + if (RuntimeType.NUMBER == value_currentProgressRate_value_type) { valueSerializer.writeInt8(0) - const value_textCase_value_0 = unsafeCast(value_textCase_value) - valueSerializer.writeNumber(value_textCase_value_0) + const value_currentProgressRate_value_0 = unsafeCast(value_currentProgressRate_value) + valueSerializer.writeNumber(value_currentProgressRate_value_0) } - else if (((RuntimeType.NUMBER) == (value_textCase_value_type)) && ((unsafeCast(value_textCase_value)) >= (0)) && ((unsafeCast(value_textCase_value)) <= (2))) { + else if (RuntimeType.STRING == value_currentProgressRate_value_type) { valueSerializer.writeInt8(1) - const value_textCase_value_1 = unsafeCast(value_textCase_value) - valueSerializer.writeInt32(value_textCase_value_1.valueOf()) - } - } - const value_textIndent = value.textIndent - let value_textIndent_type: int32 = RuntimeType.UNDEFINED - value_textIndent_type = runtimeType(value_textIndent) - valueSerializer.writeInt8(value_textIndent_type) - if ((RuntimeType.UNDEFINED) != (value_textIndent_type)) { - const value_textIndent_value = value_textIndent! - let value_textIndent_value_type: int32 = RuntimeType.UNDEFINED - value_textIndent_value_type = runtimeType(value_textIndent_value) - if (RuntimeType.NUMBER == value_textIndent_value_type) { - valueSerializer.writeInt8(0) - const value_textIndent_value_0 = unsafeCast(value_textIndent_value) - valueSerializer.writeNumber(value_textIndent_value_0) + const value_currentProgressRate_value_1 = unsafeCast(value_currentProgressRate_value) + valueSerializer.writeString(value_currentProgressRate_value_1) } - else if (RuntimeType.STRING == value_textIndent_value_type) { - valueSerializer.writeInt8(1) - const value_textIndent_value_1 = unsafeCast(value_textIndent_value) - valueSerializer.writeString(value_textIndent_value_1) + else if (((RuntimeType.NUMBER) == (value_currentProgressRate_value_type)) && ((unsafeCast(value_currentProgressRate_value)) >= (0)) && ((unsafeCast(value_currentProgressRate_value)) <= (4))) { + valueSerializer.writeInt8(2) + const value_currentProgressRate_value_2 = unsafeCast(value_currentProgressRate_value) + valueSerializer.writeInt32(value_currentProgressRate_value_2.valueOf()) } } - const value_wordBreak = value.wordBreak - let value_wordBreak_type: int32 = RuntimeType.UNDEFINED - value_wordBreak_type = runtimeType(value_wordBreak) - valueSerializer.writeInt8(value_wordBreak_type) - if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { - const value_wordBreak_value = value_wordBreak! - valueSerializer.writeInt32(value_wordBreak_value.valueOf()) - } - } - writeMenuElement(value: MenuElement): void { - let valueSerializer: Serializer = this - const value_value = value.value - let value_value_type: int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0) - const value_value_0 = unsafeCast(value_value) - valueSerializer.writeString(value_value_0) - } - else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1) - const value_value_1 = unsafeCast(value_value) - valueSerializer.writeResource(value_value_1) - } - const value_icon = value.icon - let value_icon_type: int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - let value_icon_value_type: int32 = RuntimeType.UNDEFINED - value_icon_value_type = runtimeType(value_icon_value) - if (RuntimeType.STRING == value_icon_value_type) { + const value_previewUri = value.previewUri + let value_previewUri_type: int32 = RuntimeType.UNDEFINED + value_previewUri_type = runtimeType(value_previewUri) + valueSerializer.writeInt8(value_previewUri_type) + if ((RuntimeType.UNDEFINED) != (value_previewUri_type)) { + const value_previewUri_value = value_previewUri! + let value_previewUri_value_type: int32 = RuntimeType.UNDEFINED + value_previewUri_value_type = runtimeType(value_previewUri_value) + if (RuntimeType.STRING == value_previewUri_value_type) { valueSerializer.writeInt8(0) - const value_icon_value_0 = unsafeCast(value_icon_value) - valueSerializer.writeString(value_icon_value_0) + const value_previewUri_value_0 = unsafeCast(value_previewUri_value) + valueSerializer.writeString(value_previewUri_value_0) } - else if (RuntimeType.OBJECT == value_icon_value_type) { + else if (((RuntimeType.OBJECT) == (value_previewUri_value_type)) && ((value_previewUri_value!.hasOwnProperty("isEditable")))) { valueSerializer.writeInt8(1) - const value_icon_value_1 = unsafeCast(value_icon_value) - valueSerializer.writeResource(value_icon_value_1) + const value_previewUri_value_1 = unsafeCast(value_previewUri_value) + valueSerializer.writePixelMap(value_previewUri_value_1) + } + else if (((RuntimeType.OBJECT) == (value_previewUri_value_type)) && ((value_previewUri_value!.hasOwnProperty("bundleName")))) { + valueSerializer.writeInt8(2) + const value_previewUri_value_2 = unsafeCast(value_previewUri_value) + valueSerializer.writeResource(value_previewUri_value_2) } } - const value_symbolIcon = value.symbolIcon - let value_symbolIcon_type: int32 = RuntimeType.UNDEFINED - value_symbolIcon_type = runtimeType(value_symbolIcon) - valueSerializer.writeInt8(value_symbolIcon_type) - if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { - const value_symbolIcon_value = value_symbolIcon! - valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) + const value_controller = value.controller + let value_controller_type: int32 = RuntimeType.UNDEFINED + value_controller_type = runtimeType(value_controller) + valueSerializer.writeInt8(value_controller_type) + if ((RuntimeType.UNDEFINED) != (value_controller_type)) { + const value_controller_value = value_controller! + valueSerializer.writeVideoController(value_controller_value) } - const value_enabled = value.enabled - let value_enabled_type: int32 = RuntimeType.UNDEFINED - value_enabled_type = runtimeType(value_enabled) - valueSerializer.writeInt8(value_enabled_type) - if ((RuntimeType.UNDEFINED) != (value_enabled_type)) { - const value_enabled_value = value_enabled! - valueSerializer.writeBoolean(value_enabled_value) + const value_imageAIOptions = value.imageAIOptions + let value_imageAIOptions_type: int32 = RuntimeType.UNDEFINED + value_imageAIOptions_type = runtimeType(value_imageAIOptions) + valueSerializer.writeInt8(value_imageAIOptions_type) + if ((RuntimeType.UNDEFINED) != (value_imageAIOptions_type)) { + const value_imageAIOptions_value = value_imageAIOptions! + valueSerializer.writeImageAIOptions(value_imageAIOptions_value) + } + const value_posterOptions = value.posterOptions + let value_posterOptions_type: int32 = RuntimeType.UNDEFINED + value_posterOptions_type = runtimeType(value_posterOptions) + valueSerializer.writeInt8(value_posterOptions_type) + if ((RuntimeType.UNDEFINED) != (value_posterOptions_type)) { + const value_posterOptions_value = value_posterOptions! + valueSerializer.writePosterOptions(value_posterOptions_value) } - const value_action = value.action - valueSerializer.holdAndWriteCallback(value_action) - } - writeMenuItemConfiguration(value: MenuItemConfiguration): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) } - writeMenuItemGroupOptions(value: MenuItemGroupOptions): void { + public writeWeekStyle(value: WeekStyle): void { let valueSerializer: Serializer = this - const value_header = value.header - let value_header_type: int32 = RuntimeType.UNDEFINED - value_header_type = runtimeType(value_header) - valueSerializer.writeInt8(value_header_type) - if ((RuntimeType.UNDEFINED) != (value_header_type)) { - const value_header_value = value_header! - let value_header_value_type: int32 = RuntimeType.UNDEFINED - value_header_value_type = runtimeType(value_header_value) - if ((RuntimeType.STRING == value_header_value_type) || (RuntimeType.OBJECT == value_header_value_type)) { + const value_weekColor = value.weekColor + let value_weekColor_type: int32 = RuntimeType.UNDEFINED + value_weekColor_type = runtimeType(value_weekColor) + valueSerializer.writeInt8(value_weekColor_type) + if ((RuntimeType.UNDEFINED) != (value_weekColor_type)) { + const value_weekColor_value = value_weekColor! + let value_weekColor_value_type: int32 = RuntimeType.UNDEFINED + value_weekColor_value_type = runtimeType(value_weekColor_value) + if (((RuntimeType.NUMBER) == (value_weekColor_value_type)) && ((unsafeCast(value_weekColor_value)) >= (0)) && ((unsafeCast(value_weekColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_header_value_0 = unsafeCast(value_header_value) - let value_header_value_0_type: int32 = RuntimeType.UNDEFINED - value_header_value_0_type = runtimeType(value_header_value_0) - if (RuntimeType.STRING == value_header_value_0_type) { - valueSerializer.writeInt8(0) - const value_header_value_0_0 = unsafeCast(value_header_value_0) - valueSerializer.writeString(value_header_value_0_0) - } - else if (RuntimeType.OBJECT == value_header_value_0_type) { - valueSerializer.writeInt8(1) - const value_header_value_0_1 = unsafeCast(value_header_value_0) - valueSerializer.writeResource(value_header_value_0_1) - } + const value_weekColor_value_0 = unsafeCast(value_weekColor_value) + valueSerializer.writeInt32(value_weekColor_value_0.valueOf()) } - else if (RuntimeType.FUNCTION == value_header_value_type) { + else if (RuntimeType.NUMBER == value_weekColor_value_type) { valueSerializer.writeInt8(1) - const value_header_value_1 = unsafeCast(value_header_value) - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_header_value_1)) + const value_weekColor_value_1 = unsafeCast(value_weekColor_value) + valueSerializer.writeNumber(value_weekColor_value_1) + } + else if (RuntimeType.STRING == value_weekColor_value_type) { + valueSerializer.writeInt8(2) + const value_weekColor_value_2 = unsafeCast(value_weekColor_value) + valueSerializer.writeString(value_weekColor_value_2) + } + else if (RuntimeType.OBJECT == value_weekColor_value_type) { + valueSerializer.writeInt8(3) + const value_weekColor_value_3 = unsafeCast(value_weekColor_value) + valueSerializer.writeResource(value_weekColor_value_3) } } - const value_footer = value.footer - let value_footer_type: int32 = RuntimeType.UNDEFINED - value_footer_type = runtimeType(value_footer) - valueSerializer.writeInt8(value_footer_type) - if ((RuntimeType.UNDEFINED) != (value_footer_type)) { - const value_footer_value = value_footer! - let value_footer_value_type: int32 = RuntimeType.UNDEFINED - value_footer_value_type = runtimeType(value_footer_value) - if ((RuntimeType.STRING == value_footer_value_type) || (RuntimeType.OBJECT == value_footer_value_type)) { + const value_weekendDayColor = value.weekendDayColor + let value_weekendDayColor_type: int32 = RuntimeType.UNDEFINED + value_weekendDayColor_type = runtimeType(value_weekendDayColor) + valueSerializer.writeInt8(value_weekendDayColor_type) + if ((RuntimeType.UNDEFINED) != (value_weekendDayColor_type)) { + const value_weekendDayColor_value = value_weekendDayColor! + let value_weekendDayColor_value_type: int32 = RuntimeType.UNDEFINED + value_weekendDayColor_value_type = runtimeType(value_weekendDayColor_value) + if (((RuntimeType.NUMBER) == (value_weekendDayColor_value_type)) && ((unsafeCast(value_weekendDayColor_value)) >= (0)) && ((unsafeCast(value_weekendDayColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_footer_value_0 = unsafeCast(value_footer_value) - let value_footer_value_0_type: int32 = RuntimeType.UNDEFINED - value_footer_value_0_type = runtimeType(value_footer_value_0) - if (RuntimeType.STRING == value_footer_value_0_type) { - valueSerializer.writeInt8(0) - const value_footer_value_0_0 = unsafeCast(value_footer_value_0) - valueSerializer.writeString(value_footer_value_0_0) - } - else if (RuntimeType.OBJECT == value_footer_value_0_type) { - valueSerializer.writeInt8(1) - const value_footer_value_0_1 = unsafeCast(value_footer_value_0) - valueSerializer.writeResource(value_footer_value_0_1) - } + const value_weekendDayColor_value_0 = unsafeCast(value_weekendDayColor_value) + valueSerializer.writeInt32(value_weekendDayColor_value_0.valueOf()) } - else if (RuntimeType.FUNCTION == value_footer_value_type) { + else if (RuntimeType.NUMBER == value_weekendDayColor_value_type) { valueSerializer.writeInt8(1) - const value_footer_value_1 = unsafeCast(value_footer_value) - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_footer_value_1)) + const value_weekendDayColor_value_1 = unsafeCast(value_weekendDayColor_value) + valueSerializer.writeNumber(value_weekendDayColor_value_1) + } + else if (RuntimeType.STRING == value_weekendDayColor_value_type) { + valueSerializer.writeInt8(2) + const value_weekendDayColor_value_2 = unsafeCast(value_weekendDayColor_value) + valueSerializer.writeString(value_weekendDayColor_value_2) + } + else if (RuntimeType.OBJECT == value_weekendDayColor_value_type) { + valueSerializer.writeInt8(3) + const value_weekendDayColor_value_3 = unsafeCast(value_weekendDayColor_value) + valueSerializer.writeResource(value_weekendDayColor_value_3) } } - } - writeMenuItemOptions(value: MenuItemOptions): void { - let valueSerializer: Serializer = this - const value_startIcon = value.startIcon - let value_startIcon_type: int32 = RuntimeType.UNDEFINED - value_startIcon_type = runtimeType(value_startIcon) - valueSerializer.writeInt8(value_startIcon_type) - if ((RuntimeType.UNDEFINED) != (value_startIcon_type)) { - const value_startIcon_value = value_startIcon! - let value_startIcon_value_type: int32 = RuntimeType.UNDEFINED - value_startIcon_value_type = runtimeType(value_startIcon_value) - if (RuntimeType.STRING == value_startIcon_value_type) { + const value_weekendLunarColor = value.weekendLunarColor + let value_weekendLunarColor_type: int32 = RuntimeType.UNDEFINED + value_weekendLunarColor_type = runtimeType(value_weekendLunarColor) + valueSerializer.writeInt8(value_weekendLunarColor_type) + if ((RuntimeType.UNDEFINED) != (value_weekendLunarColor_type)) { + const value_weekendLunarColor_value = value_weekendLunarColor! + let value_weekendLunarColor_value_type: int32 = RuntimeType.UNDEFINED + value_weekendLunarColor_value_type = runtimeType(value_weekendLunarColor_value) + if (((RuntimeType.NUMBER) == (value_weekendLunarColor_value_type)) && ((unsafeCast(value_weekendLunarColor_value)) >= (0)) && ((unsafeCast(value_weekendLunarColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_startIcon_value_0 = unsafeCast(value_startIcon_value) - valueSerializer.writeString(value_startIcon_value_0) + const value_weekendLunarColor_value_0 = unsafeCast(value_weekendLunarColor_value) + valueSerializer.writeInt32(value_weekendLunarColor_value_0.valueOf()) } - else if (RuntimeType.OBJECT == value_startIcon_value_type) { + else if (RuntimeType.NUMBER == value_weekendLunarColor_value_type) { valueSerializer.writeInt8(1) - const value_startIcon_value_1 = unsafeCast(value_startIcon_value) - valueSerializer.writeResource(value_startIcon_value_1) + const value_weekendLunarColor_value_1 = unsafeCast(value_weekendLunarColor_value) + valueSerializer.writeNumber(value_weekendLunarColor_value_1) + } + else if (RuntimeType.STRING == value_weekendLunarColor_value_type) { + valueSerializer.writeInt8(2) + const value_weekendLunarColor_value_2 = unsafeCast(value_weekendLunarColor_value) + valueSerializer.writeString(value_weekendLunarColor_value_2) + } + else if (RuntimeType.OBJECT == value_weekendLunarColor_value_type) { + valueSerializer.writeInt8(3) + const value_weekendLunarColor_value_3 = unsafeCast(value_weekendLunarColor_value) + valueSerializer.writeResource(value_weekendLunarColor_value_3) } } - const value_symbolStartIcon = value.symbolStartIcon - let value_symbolStartIcon_type: int32 = RuntimeType.UNDEFINED - value_symbolStartIcon_type = runtimeType(value_symbolStartIcon) - valueSerializer.writeInt8(value_symbolStartIcon_type) - if ((RuntimeType.UNDEFINED) != (value_symbolStartIcon_type)) { - const value_symbolStartIcon_value = value_symbolStartIcon! - valueSerializer.writeSymbolGlyphModifier(value_symbolStartIcon_value) + const value_weekFontSize = value.weekFontSize + let value_weekFontSize_type: int32 = RuntimeType.UNDEFINED + value_weekFontSize_type = runtimeType(value_weekFontSize) + valueSerializer.writeInt8(value_weekFontSize_type) + if ((RuntimeType.UNDEFINED) != (value_weekFontSize_type)) { + const value_weekFontSize_value = value_weekFontSize! + valueSerializer.writeNumber(value_weekFontSize_value) } - const value_content = value.content - let value_content_type: int32 = RuntimeType.UNDEFINED - value_content_type = runtimeType(value_content) - valueSerializer.writeInt8(value_content_type) - if ((RuntimeType.UNDEFINED) != (value_content_type)) { - const value_content_value = value_content! - let value_content_value_type: int32 = RuntimeType.UNDEFINED - value_content_value_type = runtimeType(value_content_value) - if (RuntimeType.STRING == value_content_value_type) { + const value_weekHeight = value.weekHeight + let value_weekHeight_type: int32 = RuntimeType.UNDEFINED + value_weekHeight_type = runtimeType(value_weekHeight) + valueSerializer.writeInt8(value_weekHeight_type) + if ((RuntimeType.UNDEFINED) != (value_weekHeight_type)) { + const value_weekHeight_value = value_weekHeight! + valueSerializer.writeNumber(value_weekHeight_value) + } + const value_weekWidth = value.weekWidth + let value_weekWidth_type: int32 = RuntimeType.UNDEFINED + value_weekWidth_type = runtimeType(value_weekWidth) + valueSerializer.writeInt8(value_weekWidth_type) + if ((RuntimeType.UNDEFINED) != (value_weekWidth_type)) { + const value_weekWidth_value = value_weekWidth! + valueSerializer.writeNumber(value_weekWidth_value) + } + const value_weekAndDayRowSpace = value.weekAndDayRowSpace + let value_weekAndDayRowSpace_type: int32 = RuntimeType.UNDEFINED + value_weekAndDayRowSpace_type = runtimeType(value_weekAndDayRowSpace) + valueSerializer.writeInt8(value_weekAndDayRowSpace_type) + if ((RuntimeType.UNDEFINED) != (value_weekAndDayRowSpace_type)) { + const value_weekAndDayRowSpace_value = value_weekAndDayRowSpace! + valueSerializer.writeNumber(value_weekAndDayRowSpace_value) + } + } + public writeWorkStateStyle(value: WorkStateStyle): void { + let valueSerializer: Serializer = this + const value_workDayMarkColor = value.workDayMarkColor + let value_workDayMarkColor_type: int32 = RuntimeType.UNDEFINED + value_workDayMarkColor_type = runtimeType(value_workDayMarkColor) + valueSerializer.writeInt8(value_workDayMarkColor_type) + if ((RuntimeType.UNDEFINED) != (value_workDayMarkColor_type)) { + const value_workDayMarkColor_value = value_workDayMarkColor! + let value_workDayMarkColor_value_type: int32 = RuntimeType.UNDEFINED + value_workDayMarkColor_value_type = runtimeType(value_workDayMarkColor_value) + if (((RuntimeType.NUMBER) == (value_workDayMarkColor_value_type)) && ((unsafeCast(value_workDayMarkColor_value)) >= (0)) && ((unsafeCast(value_workDayMarkColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_content_value_0 = unsafeCast(value_content_value) - valueSerializer.writeString(value_content_value_0) + const value_workDayMarkColor_value_0 = unsafeCast(value_workDayMarkColor_value) + valueSerializer.writeInt32(value_workDayMarkColor_value_0.valueOf()) } - else if (RuntimeType.OBJECT == value_content_value_type) { + else if (RuntimeType.NUMBER == value_workDayMarkColor_value_type) { valueSerializer.writeInt8(1) - const value_content_value_1 = unsafeCast(value_content_value) - valueSerializer.writeResource(value_content_value_1) + const value_workDayMarkColor_value_1 = unsafeCast(value_workDayMarkColor_value) + valueSerializer.writeNumber(value_workDayMarkColor_value_1) } - } - const value_endIcon = value.endIcon - let value_endIcon_type: int32 = RuntimeType.UNDEFINED - value_endIcon_type = runtimeType(value_endIcon) - valueSerializer.writeInt8(value_endIcon_type) - if ((RuntimeType.UNDEFINED) != (value_endIcon_type)) { - const value_endIcon_value = value_endIcon! - let value_endIcon_value_type: int32 = RuntimeType.UNDEFINED - value_endIcon_value_type = runtimeType(value_endIcon_value) - if (RuntimeType.STRING == value_endIcon_value_type) { - valueSerializer.writeInt8(0) - const value_endIcon_value_0 = unsafeCast(value_endIcon_value) - valueSerializer.writeString(value_endIcon_value_0) + else if (RuntimeType.STRING == value_workDayMarkColor_value_type) { + valueSerializer.writeInt8(2) + const value_workDayMarkColor_value_2 = unsafeCast(value_workDayMarkColor_value) + valueSerializer.writeString(value_workDayMarkColor_value_2) } - else if (RuntimeType.OBJECT == value_endIcon_value_type) { - valueSerializer.writeInt8(1) - const value_endIcon_value_1 = unsafeCast(value_endIcon_value) - valueSerializer.writeResource(value_endIcon_value_1) + else if (RuntimeType.OBJECT == value_workDayMarkColor_value_type) { + valueSerializer.writeInt8(3) + const value_workDayMarkColor_value_3 = unsafeCast(value_workDayMarkColor_value) + valueSerializer.writeResource(value_workDayMarkColor_value_3) } } - const value_symbolEndIcon = value.symbolEndIcon - let value_symbolEndIcon_type: int32 = RuntimeType.UNDEFINED - value_symbolEndIcon_type = runtimeType(value_symbolEndIcon) - valueSerializer.writeInt8(value_symbolEndIcon_type) - if ((RuntimeType.UNDEFINED) != (value_symbolEndIcon_type)) { - const value_symbolEndIcon_value = value_symbolEndIcon! - valueSerializer.writeSymbolGlyphModifier(value_symbolEndIcon_value) - } - const value_labelInfo = value.labelInfo - let value_labelInfo_type: int32 = RuntimeType.UNDEFINED - value_labelInfo_type = runtimeType(value_labelInfo) - valueSerializer.writeInt8(value_labelInfo_type) - if ((RuntimeType.UNDEFINED) != (value_labelInfo_type)) { - const value_labelInfo_value = value_labelInfo! - let value_labelInfo_value_type: int32 = RuntimeType.UNDEFINED - value_labelInfo_value_type = runtimeType(value_labelInfo_value) - if (RuntimeType.STRING == value_labelInfo_value_type) { + const value_offDayMarkColor = value.offDayMarkColor + let value_offDayMarkColor_type: int32 = RuntimeType.UNDEFINED + value_offDayMarkColor_type = runtimeType(value_offDayMarkColor) + valueSerializer.writeInt8(value_offDayMarkColor_type) + if ((RuntimeType.UNDEFINED) != (value_offDayMarkColor_type)) { + const value_offDayMarkColor_value = value_offDayMarkColor! + let value_offDayMarkColor_value_type: int32 = RuntimeType.UNDEFINED + value_offDayMarkColor_value_type = runtimeType(value_offDayMarkColor_value) + if (((RuntimeType.NUMBER) == (value_offDayMarkColor_value_type)) && ((unsafeCast(value_offDayMarkColor_value)) >= (0)) && ((unsafeCast(value_offDayMarkColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_labelInfo_value_0 = unsafeCast(value_labelInfo_value) - valueSerializer.writeString(value_labelInfo_value_0) + const value_offDayMarkColor_value_0 = unsafeCast(value_offDayMarkColor_value) + valueSerializer.writeInt32(value_offDayMarkColor_value_0.valueOf()) } - else if (RuntimeType.OBJECT == value_labelInfo_value_type) { + else if (RuntimeType.NUMBER == value_offDayMarkColor_value_type) { valueSerializer.writeInt8(1) - const value_labelInfo_value_1 = unsafeCast(value_labelInfo_value) - valueSerializer.writeResource(value_labelInfo_value_1) + const value_offDayMarkColor_value_1 = unsafeCast(value_offDayMarkColor_value) + valueSerializer.writeNumber(value_offDayMarkColor_value_1) + } + else if (RuntimeType.STRING == value_offDayMarkColor_value_type) { + valueSerializer.writeInt8(2) + const value_offDayMarkColor_value_2 = unsafeCast(value_offDayMarkColor_value) + valueSerializer.writeString(value_offDayMarkColor_value_2) + } + else if (RuntimeType.OBJECT == value_offDayMarkColor_value_type) { + valueSerializer.writeInt8(3) + const value_offDayMarkColor_value_3 = unsafeCast(value_offDayMarkColor_value) + valueSerializer.writeResource(value_offDayMarkColor_value_3) } } - const value_builder = value.builder - let value_builder_type: int32 = RuntimeType.UNDEFINED - value_builder_type = runtimeType(value_builder) - valueSerializer.writeInt8(value_builder_type) - if ((RuntimeType.UNDEFINED) != (value_builder_type)) { - const value_builder_value = value_builder! - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) + const value_workDayMarkSize = value.workDayMarkSize + let value_workDayMarkSize_type: int32 = RuntimeType.UNDEFINED + value_workDayMarkSize_type = runtimeType(value_workDayMarkSize) + valueSerializer.writeInt8(value_workDayMarkSize_type) + if ((RuntimeType.UNDEFINED) != (value_workDayMarkSize_type)) { + const value_workDayMarkSize_value = value_workDayMarkSize! + valueSerializer.writeNumber(value_workDayMarkSize_value) } - } - writeNavDestinationCommonTitle(value: NavDestinationCommonTitle): void { - let valueSerializer: Serializer = this - const value_main = value.main - let value_main_type: int32 = RuntimeType.UNDEFINED - value_main_type = runtimeType(value_main) - if (RuntimeType.STRING == value_main_type) { - valueSerializer.writeInt8(0) - const value_main_0 = unsafeCast(value_main) - valueSerializer.writeString(value_main_0) + const value_offDayMarkSize = value.offDayMarkSize + let value_offDayMarkSize_type: int32 = RuntimeType.UNDEFINED + value_offDayMarkSize_type = runtimeType(value_offDayMarkSize) + valueSerializer.writeInt8(value_offDayMarkSize_type) + if ((RuntimeType.UNDEFINED) != (value_offDayMarkSize_type)) { + const value_offDayMarkSize_value = value_offDayMarkSize! + valueSerializer.writeNumber(value_offDayMarkSize_value) } - else if (RuntimeType.OBJECT == value_main_type) { - valueSerializer.writeInt8(1) - const value_main_1 = unsafeCast(value_main) - valueSerializer.writeResource(value_main_1) + const value_workStateWidth = value.workStateWidth + let value_workStateWidth_type: int32 = RuntimeType.UNDEFINED + value_workStateWidth_type = runtimeType(value_workStateWidth) + valueSerializer.writeInt8(value_workStateWidth_type) + if ((RuntimeType.UNDEFINED) != (value_workStateWidth_type)) { + const value_workStateWidth_value = value_workStateWidth! + valueSerializer.writeNumber(value_workStateWidth_value) } - const value_sub = value.sub - let value_sub_type: int32 = RuntimeType.UNDEFINED - value_sub_type = runtimeType(value_sub) - if (RuntimeType.STRING == value_sub_type) { - valueSerializer.writeInt8(0) - const value_sub_0 = unsafeCast(value_sub) - valueSerializer.writeString(value_sub_0) + const value_workStateHorizontalMovingDistance = value.workStateHorizontalMovingDistance + let value_workStateHorizontalMovingDistance_type: int32 = RuntimeType.UNDEFINED + value_workStateHorizontalMovingDistance_type = runtimeType(value_workStateHorizontalMovingDistance) + valueSerializer.writeInt8(value_workStateHorizontalMovingDistance_type) + if ((RuntimeType.UNDEFINED) != (value_workStateHorizontalMovingDistance_type)) { + const value_workStateHorizontalMovingDistance_value = value_workStateHorizontalMovingDistance! + valueSerializer.writeNumber(value_workStateHorizontalMovingDistance_value) } - else if (RuntimeType.OBJECT == value_sub_type) { - valueSerializer.writeInt8(1) - const value_sub_1 = unsafeCast(value_sub) - valueSerializer.writeResource(value_sub_1) + const value_workStateVerticalMovingDistance = value.workStateVerticalMovingDistance + let value_workStateVerticalMovingDistance_type: int32 = RuntimeType.UNDEFINED + value_workStateVerticalMovingDistance_type = runtimeType(value_workStateVerticalMovingDistance) + valueSerializer.writeInt8(value_workStateVerticalMovingDistance_type) + if ((RuntimeType.UNDEFINED) != (value_workStateVerticalMovingDistance_type)) { + const value_workStateVerticalMovingDistance_value = value_workStateVerticalMovingDistance! + valueSerializer.writeNumber(value_workStateVerticalMovingDistance_value) } } - writeNavDestinationContext(value: NavDestinationContext): void { + public writeXComponentOptions(value: XComponentOptions): void { let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) + const value_type = value.type + valueSerializer.writeInt32(value_type.valueOf()) + const value_controller = value.controller + valueSerializer.writeXComponentController(value_controller) + const value_imageAIOptions = value.imageAIOptions + let value_imageAIOptions_type: int32 = RuntimeType.UNDEFINED + value_imageAIOptions_type = runtimeType(value_imageAIOptions) + valueSerializer.writeInt8(value_imageAIOptions_type) + if ((RuntimeType.UNDEFINED) != (value_imageAIOptions_type)) { + const value_imageAIOptions_value = value_imageAIOptions! + valueSerializer.writeImageAIOptions(value_imageAIOptions_value) + } + const value_screenId = value.screenId + let value_screenId_type: int32 = RuntimeType.UNDEFINED + value_screenId_type = runtimeType(value_screenId) + valueSerializer.writeInt8(value_screenId_type) + if ((RuntimeType.UNDEFINED) != (value_screenId_type)) { + const value_screenId_value = value_screenId! + valueSerializer.writeNumber(value_screenId_value) + } } - writeNavDestinationCustomTitle(value: NavDestinationCustomTitle): void { + public writeArrowStyle(value: ArrowStyle): void { let valueSerializer: Serializer = this - const value_builder = value.builder - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder)) - const value_height = value.height - let value_height_type: int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - if (((RuntimeType.NUMBER) == (value_height_type)) && ((unsafeCast(value_height)) >= (0)) && ((unsafeCast(value_height)) <= (1))) { - valueSerializer.writeInt8(0) - const value_height_0 = unsafeCast(value_height) - valueSerializer.writeInt32(value_height_0.valueOf()) + const value_showBackground = value.showBackground + let value_showBackground_type: int32 = RuntimeType.UNDEFINED + value_showBackground_type = runtimeType(value_showBackground) + valueSerializer.writeInt8(value_showBackground_type) + if ((RuntimeType.UNDEFINED) != (value_showBackground_type)) { + const value_showBackground_value = value_showBackground! + valueSerializer.writeBoolean(value_showBackground_value) } - else if ((RuntimeType.STRING == value_height_type) || (RuntimeType.NUMBER == value_height_type) || (RuntimeType.OBJECT == value_height_type)) { - valueSerializer.writeInt8(1) - const value_height_1 = unsafeCast(value_height) - let value_height_1_type: int32 = RuntimeType.UNDEFINED - value_height_1_type = runtimeType(value_height_1) - if (RuntimeType.STRING == value_height_1_type) { - valueSerializer.writeInt8(0) - const value_height_1_0 = unsafeCast(value_height_1) - valueSerializer.writeString(value_height_1_0) - } - else if (RuntimeType.NUMBER == value_height_1_type) { - valueSerializer.writeInt8(1) - const value_height_1_1 = unsafeCast(value_height_1) - valueSerializer.writeNumber(value_height_1_1) - } - else if (RuntimeType.OBJECT == value_height_1_type) { - valueSerializer.writeInt8(2) - const value_height_1_2 = unsafeCast(value_height_1) - valueSerializer.writeResource(value_height_1_2) - } - } - } - writeNavigationCommonTitle(value: NavigationCommonTitle): void { - let valueSerializer: Serializer = this - const value_main = value.main - let value_main_type: int32 = RuntimeType.UNDEFINED - value_main_type = runtimeType(value_main) - if (RuntimeType.STRING == value_main_type) { - valueSerializer.writeInt8(0) - const value_main_0 = unsafeCast(value_main) - valueSerializer.writeString(value_main_0) - } - else if (RuntimeType.OBJECT == value_main_type) { - valueSerializer.writeInt8(1) - const value_main_1 = unsafeCast(value_main) - valueSerializer.writeResource(value_main_1) - } - const value_sub = value.sub - let value_sub_type: int32 = RuntimeType.UNDEFINED - value_sub_type = runtimeType(value_sub) - if (RuntimeType.STRING == value_sub_type) { - valueSerializer.writeInt8(0) - const value_sub_0 = unsafeCast(value_sub) - valueSerializer.writeString(value_sub_0) - } - else if (RuntimeType.OBJECT == value_sub_type) { - valueSerializer.writeInt8(1) - const value_sub_1 = unsafeCast(value_sub) - valueSerializer.writeResource(value_sub_1) - } - } - writeNavigationCustomTitle(value: NavigationCustomTitle): void { - let valueSerializer: Serializer = this - const value_builder = value.builder - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder)) - const value_height = value.height - let value_height_type: int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - if (((RuntimeType.NUMBER) == (value_height_type)) && ((unsafeCast(value_height)) >= (0)) && ((unsafeCast(value_height)) <= (1))) { - valueSerializer.writeInt8(0) - const value_height_0 = unsafeCast(value_height) - valueSerializer.writeInt32(value_height_0.valueOf()) + const value_isSidebarMiddle = value.isSidebarMiddle + let value_isSidebarMiddle_type: int32 = RuntimeType.UNDEFINED + value_isSidebarMiddle_type = runtimeType(value_isSidebarMiddle) + valueSerializer.writeInt8(value_isSidebarMiddle_type) + if ((RuntimeType.UNDEFINED) != (value_isSidebarMiddle_type)) { + const value_isSidebarMiddle_value = value_isSidebarMiddle! + valueSerializer.writeBoolean(value_isSidebarMiddle_value) } - else if ((RuntimeType.STRING == value_height_type) || (RuntimeType.NUMBER == value_height_type) || (RuntimeType.OBJECT == value_height_type)) { - valueSerializer.writeInt8(1) - const value_height_1 = unsafeCast(value_height) - let value_height_1_type: int32 = RuntimeType.UNDEFINED - value_height_1_type = runtimeType(value_height_1) - if (RuntimeType.STRING == value_height_1_type) { + const value_backgroundSize = value.backgroundSize + let value_backgroundSize_type: int32 = RuntimeType.UNDEFINED + value_backgroundSize_type = runtimeType(value_backgroundSize) + valueSerializer.writeInt8(value_backgroundSize_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundSize_type)) { + const value_backgroundSize_value = value_backgroundSize! + let value_backgroundSize_value_type: int32 = RuntimeType.UNDEFINED + value_backgroundSize_value_type = runtimeType(value_backgroundSize_value) + if (RuntimeType.STRING == value_backgroundSize_value_type) { valueSerializer.writeInt8(0) - const value_height_1_0 = unsafeCast(value_height_1) - valueSerializer.writeString(value_height_1_0) + const value_backgroundSize_value_0 = unsafeCast(value_backgroundSize_value) + valueSerializer.writeString(value_backgroundSize_value_0) } - else if (RuntimeType.NUMBER == value_height_1_type) { + else if (RuntimeType.NUMBER == value_backgroundSize_value_type) { valueSerializer.writeInt8(1) - const value_height_1_1 = unsafeCast(value_height_1) - valueSerializer.writeNumber(value_height_1_1) + const value_backgroundSize_value_1 = unsafeCast(value_backgroundSize_value) + valueSerializer.writeNumber(value_backgroundSize_value_1) } - else if (RuntimeType.OBJECT == value_height_1_type) { + else if (RuntimeType.OBJECT == value_backgroundSize_value_type) { valueSerializer.writeInt8(2) - const value_height_1_2 = unsafeCast(value_height_1) - valueSerializer.writeResource(value_height_1_2) - } - } - } - writeNavigationMenuItem(value: NavigationMenuItem): void { - let valueSerializer: Serializer = this - const value_value = value.value - let value_value_type: int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0) - const value_value_0 = unsafeCast(value_value) - valueSerializer.writeString(value_value_0) - } - else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1) - const value_value_1 = unsafeCast(value_value) - valueSerializer.writeResource(value_value_1) - } - const value_icon = value.icon - let value_icon_type: int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - let value_icon_value_type: int32 = RuntimeType.UNDEFINED - value_icon_value_type = runtimeType(value_icon_value) - if (RuntimeType.STRING == value_icon_value_type) { - valueSerializer.writeInt8(0) - const value_icon_value_0 = unsafeCast(value_icon_value) - valueSerializer.writeString(value_icon_value_0) - } - else if (RuntimeType.OBJECT == value_icon_value_type) { - valueSerializer.writeInt8(1) - const value_icon_value_1 = unsafeCast(value_icon_value) - valueSerializer.writeResource(value_icon_value_1) + const value_backgroundSize_value_2 = unsafeCast(value_backgroundSize_value) + valueSerializer.writeResource(value_backgroundSize_value_2) } } - const value_symbolIcon = value.symbolIcon - let value_symbolIcon_type: int32 = RuntimeType.UNDEFINED - value_symbolIcon_type = runtimeType(value_symbolIcon) - valueSerializer.writeInt8(value_symbolIcon_type) - if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { - const value_symbolIcon_value = value_symbolIcon! - valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) - } - const value_isEnabled = value.isEnabled - let value_isEnabled_type: int32 = RuntimeType.UNDEFINED - value_isEnabled_type = runtimeType(value_isEnabled) - valueSerializer.writeInt8(value_isEnabled_type) - if ((RuntimeType.UNDEFINED) != (value_isEnabled_type)) { - const value_isEnabled_value = value_isEnabled! - valueSerializer.writeBoolean(value_isEnabled_value) - } - const value_action = value.action - let value_action_type: int32 = RuntimeType.UNDEFINED - value_action_type = runtimeType(value_action) - valueSerializer.writeInt8(value_action_type) - if ((RuntimeType.UNDEFINED) != (value_action_type)) { - const value_action_value = value_action! - valueSerializer.holdAndWriteCallback(value_action_value) - } - } - writeNavigationTitleOptions(value: NavigationTitleOptions): void { - let valueSerializer: Serializer = this const value_backgroundColor = value.backgroundColor let value_backgroundColor_type: int32 = RuntimeType.UNDEFINED value_backgroundColor_type = runtimeType(value_backgroundColor) @@ -13202,705 +14614,482 @@ export class Serializer extends SerializerBase { valueSerializer.writeResource(value_backgroundColor_value_3) } } - const value_backgroundBlurStyle = value.backgroundBlurStyle - let value_backgroundBlurStyle_type: int32 = RuntimeType.UNDEFINED - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { - const value_backgroundBlurStyle_value = value_backgroundBlurStyle! - valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) - } - const value_barStyle = value.barStyle - let value_barStyle_type: int32 = RuntimeType.UNDEFINED - value_barStyle_type = runtimeType(value_barStyle) - valueSerializer.writeInt8(value_barStyle_type) - if ((RuntimeType.UNDEFINED) != (value_barStyle_type)) { - const value_barStyle_value = value_barStyle! - valueSerializer.writeInt32(value_barStyle_value.valueOf()) - } - const value_paddingStart = value.paddingStart - let value_paddingStart_type: int32 = RuntimeType.UNDEFINED - value_paddingStart_type = runtimeType(value_paddingStart) - valueSerializer.writeInt8(value_paddingStart_type) - if ((RuntimeType.UNDEFINED) != (value_paddingStart_type)) { - const value_paddingStart_value = value_paddingStart! - valueSerializer.writeLengthMetrics(value_paddingStart_value) - } - const value_paddingEnd = value.paddingEnd - let value_paddingEnd_type: int32 = RuntimeType.UNDEFINED - value_paddingEnd_type = runtimeType(value_paddingEnd) - valueSerializer.writeInt8(value_paddingEnd_type) - if ((RuntimeType.UNDEFINED) != (value_paddingEnd_type)) { - const value_paddingEnd_value = value_paddingEnd! - valueSerializer.writeLengthMetrics(value_paddingEnd_value) - } - const value_mainTitleModifier = value.mainTitleModifier - let value_mainTitleModifier_type: int32 = RuntimeType.UNDEFINED - value_mainTitleModifier_type = runtimeType(value_mainTitleModifier) - valueSerializer.writeInt8(value_mainTitleModifier_type) - if ((RuntimeType.UNDEFINED) != (value_mainTitleModifier_type)) { - const value_mainTitleModifier_value = value_mainTitleModifier! - valueSerializer.writeTextModifier(value_mainTitleModifier_value) - } - const value_subTitleModifier = value.subTitleModifier - let value_subTitleModifier_type: int32 = RuntimeType.UNDEFINED - value_subTitleModifier_type = runtimeType(value_subTitleModifier) - valueSerializer.writeInt8(value_subTitleModifier_type) - if ((RuntimeType.UNDEFINED) != (value_subTitleModifier_type)) { - const value_subTitleModifier_value = value_subTitleModifier! - valueSerializer.writeTextModifier(value_subTitleModifier_value) - } - const value_enableHoverMode = value.enableHoverMode - let value_enableHoverMode_type: int32 = RuntimeType.UNDEFINED - value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type) - if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { - const value_enableHoverMode_value = value_enableHoverMode! - valueSerializer.writeBoolean(value_enableHoverMode_value) - } - } - writeNavigationToolbarOptions(value: NavigationToolbarOptions): void { - let valueSerializer: Serializer = this - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type: int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type: int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (((RuntimeType.NUMBER) == (value_backgroundColor_value_type)) && ((unsafeCast(value_backgroundColor_value)) >= (0)) && ((unsafeCast(value_backgroundColor_value)) <= (11))) { + const value_arrowSize = value.arrowSize + let value_arrowSize_type: int32 = RuntimeType.UNDEFINED + value_arrowSize_type = runtimeType(value_arrowSize) + valueSerializer.writeInt8(value_arrowSize_type) + if ((RuntimeType.UNDEFINED) != (value_arrowSize_type)) { + const value_arrowSize_value = value_arrowSize! + let value_arrowSize_value_type: int32 = RuntimeType.UNDEFINED + value_arrowSize_value_type = runtimeType(value_arrowSize_value) + if (RuntimeType.STRING == value_arrowSize_value_type) { valueSerializer.writeInt8(0) - const value_backgroundColor_value_0 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeInt32(value_backgroundColor_value_0.valueOf()) + const value_arrowSize_value_0 = unsafeCast(value_arrowSize_value) + valueSerializer.writeString(value_arrowSize_value_0) } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + else if (RuntimeType.NUMBER == value_arrowSize_value_type) { valueSerializer.writeInt8(1) - const value_backgroundColor_value_1 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeNumber(value_backgroundColor_value_1) + const value_arrowSize_value_1 = unsafeCast(value_arrowSize_value) + valueSerializer.writeNumber(value_arrowSize_value_1) } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { + else if (RuntimeType.OBJECT == value_arrowSize_value_type) { valueSerializer.writeInt8(2) - const value_backgroundColor_value_2 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeString(value_backgroundColor_value_2) - } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3) - const value_backgroundColor_value_3 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeResource(value_backgroundColor_value_3) + const value_arrowSize_value_2 = unsafeCast(value_arrowSize_value) + valueSerializer.writeResource(value_arrowSize_value_2) } } - const value_backgroundBlurStyle = value.backgroundBlurStyle - let value_backgroundBlurStyle_type: int32 = RuntimeType.UNDEFINED - value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) - valueSerializer.writeInt8(value_backgroundBlurStyle_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { - const value_backgroundBlurStyle_value = value_backgroundBlurStyle! - valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) - } - const value_barStyle = value.barStyle - let value_barStyle_type: int32 = RuntimeType.UNDEFINED - value_barStyle_type = runtimeType(value_barStyle) - valueSerializer.writeInt8(value_barStyle_type) - if ((RuntimeType.UNDEFINED) != (value_barStyle_type)) { - const value_barStyle_value = value_barStyle! - valueSerializer.writeInt32(value_barStyle_value.valueOf()) - } - } - writeNonCurrentDayStyle(value: NonCurrentDayStyle): void { - let valueSerializer: Serializer = this - const value_nonCurrentMonthDayColor = value.nonCurrentMonthDayColor - let value_nonCurrentMonthDayColor_type: int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthDayColor_type = runtimeType(value_nonCurrentMonthDayColor) - valueSerializer.writeInt8(value_nonCurrentMonthDayColor_type) - if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthDayColor_type)) { - const value_nonCurrentMonthDayColor_value = value_nonCurrentMonthDayColor! - let value_nonCurrentMonthDayColor_value_type: int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthDayColor_value_type = runtimeType(value_nonCurrentMonthDayColor_value) - if (((RuntimeType.NUMBER) == (value_nonCurrentMonthDayColor_value_type)) && ((unsafeCast(value_nonCurrentMonthDayColor_value)) >= (0)) && ((unsafeCast(value_nonCurrentMonthDayColor_value)) <= (11))) { + const value_arrowColor = value.arrowColor + let value_arrowColor_type: int32 = RuntimeType.UNDEFINED + value_arrowColor_type = runtimeType(value_arrowColor) + valueSerializer.writeInt8(value_arrowColor_type) + if ((RuntimeType.UNDEFINED) != (value_arrowColor_type)) { + const value_arrowColor_value = value_arrowColor! + let value_arrowColor_value_type: int32 = RuntimeType.UNDEFINED + value_arrowColor_value_type = runtimeType(value_arrowColor_value) + if (((RuntimeType.NUMBER) == (value_arrowColor_value_type)) && ((unsafeCast(value_arrowColor_value)) >= (0)) && ((unsafeCast(value_arrowColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_nonCurrentMonthDayColor_value_0 = unsafeCast(value_nonCurrentMonthDayColor_value) - valueSerializer.writeInt32(value_nonCurrentMonthDayColor_value_0.valueOf()) + const value_arrowColor_value_0 = unsafeCast(value_arrowColor_value) + valueSerializer.writeInt32(value_arrowColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_nonCurrentMonthDayColor_value_type) { + else if (RuntimeType.NUMBER == value_arrowColor_value_type) { valueSerializer.writeInt8(1) - const value_nonCurrentMonthDayColor_value_1 = unsafeCast(value_nonCurrentMonthDayColor_value) - valueSerializer.writeNumber(value_nonCurrentMonthDayColor_value_1) + const value_arrowColor_value_1 = unsafeCast(value_arrowColor_value) + valueSerializer.writeNumber(value_arrowColor_value_1) } - else if (RuntimeType.STRING == value_nonCurrentMonthDayColor_value_type) { + else if (RuntimeType.STRING == value_arrowColor_value_type) { valueSerializer.writeInt8(2) - const value_nonCurrentMonthDayColor_value_2 = unsafeCast(value_nonCurrentMonthDayColor_value) - valueSerializer.writeString(value_nonCurrentMonthDayColor_value_2) + const value_arrowColor_value_2 = unsafeCast(value_arrowColor_value) + valueSerializer.writeString(value_arrowColor_value_2) } - else if (RuntimeType.OBJECT == value_nonCurrentMonthDayColor_value_type) { + else if (RuntimeType.OBJECT == value_arrowColor_value_type) { valueSerializer.writeInt8(3) - const value_nonCurrentMonthDayColor_value_3 = unsafeCast(value_nonCurrentMonthDayColor_value) - valueSerializer.writeResource(value_nonCurrentMonthDayColor_value_3) + const value_arrowColor_value_3 = unsafeCast(value_arrowColor_value) + valueSerializer.writeResource(value_arrowColor_value_3) } } - const value_nonCurrentMonthLunarColor = value.nonCurrentMonthLunarColor - let value_nonCurrentMonthLunarColor_type: int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthLunarColor_type = runtimeType(value_nonCurrentMonthLunarColor) - valueSerializer.writeInt8(value_nonCurrentMonthLunarColor_type) - if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthLunarColor_type)) { - const value_nonCurrentMonthLunarColor_value = value_nonCurrentMonthLunarColor! - let value_nonCurrentMonthLunarColor_value_type: int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthLunarColor_value_type = runtimeType(value_nonCurrentMonthLunarColor_value) - if (((RuntimeType.NUMBER) == (value_nonCurrentMonthLunarColor_value_type)) && ((unsafeCast(value_nonCurrentMonthLunarColor_value)) >= (0)) && ((unsafeCast(value_nonCurrentMonthLunarColor_value)) <= (11))) { + } + public writeBadgeStyle(value: BadgeStyle): void { + let valueSerializer: Serializer = this + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_nonCurrentMonthLunarColor_value_0 = unsafeCast(value_nonCurrentMonthLunarColor_value) - valueSerializer.writeInt32(value_nonCurrentMonthLunarColor_value_0.valueOf()) + const value_color_value_0 = unsafeCast(value_color_value) + valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_nonCurrentMonthLunarColor_value_type) { + else if (RuntimeType.NUMBER == value_color_value_type) { valueSerializer.writeInt8(1) - const value_nonCurrentMonthLunarColor_value_1 = unsafeCast(value_nonCurrentMonthLunarColor_value) - valueSerializer.writeNumber(value_nonCurrentMonthLunarColor_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.STRING == value_nonCurrentMonthLunarColor_value_type) { + else if (RuntimeType.STRING == value_color_value_type) { valueSerializer.writeInt8(2) - const value_nonCurrentMonthLunarColor_value_2 = unsafeCast(value_nonCurrentMonthLunarColor_value) - valueSerializer.writeString(value_nonCurrentMonthLunarColor_value_2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.OBJECT == value_nonCurrentMonthLunarColor_value_type) { + else if (RuntimeType.OBJECT == value_color_value_type) { valueSerializer.writeInt8(3) - const value_nonCurrentMonthLunarColor_value_3 = unsafeCast(value_nonCurrentMonthLunarColor_value) - valueSerializer.writeResource(value_nonCurrentMonthLunarColor_value_3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) } } - const value_nonCurrentMonthWorkDayMarkColor = value.nonCurrentMonthWorkDayMarkColor - let value_nonCurrentMonthWorkDayMarkColor_type: int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthWorkDayMarkColor_type = runtimeType(value_nonCurrentMonthWorkDayMarkColor) - valueSerializer.writeInt8(value_nonCurrentMonthWorkDayMarkColor_type) - if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthWorkDayMarkColor_type)) { - const value_nonCurrentMonthWorkDayMarkColor_value = value_nonCurrentMonthWorkDayMarkColor! - let value_nonCurrentMonthWorkDayMarkColor_value_type: int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthWorkDayMarkColor_value_type = runtimeType(value_nonCurrentMonthWorkDayMarkColor_value) - if (((RuntimeType.NUMBER) == (value_nonCurrentMonthWorkDayMarkColor_value_type)) && ((unsafeCast(value_nonCurrentMonthWorkDayMarkColor_value)) >= (0)) && ((unsafeCast(value_nonCurrentMonthWorkDayMarkColor_value)) <= (11))) { + const value_fontSize = value.fontSize + let value_fontSize_type: int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + let value_fontSize_value_type: int32 = RuntimeType.UNDEFINED + value_fontSize_value_type = runtimeType(value_fontSize_value) + if (RuntimeType.NUMBER == value_fontSize_value_type) { valueSerializer.writeInt8(0) - const value_nonCurrentMonthWorkDayMarkColor_value_0 = unsafeCast(value_nonCurrentMonthWorkDayMarkColor_value) - valueSerializer.writeInt32(value_nonCurrentMonthWorkDayMarkColor_value_0.valueOf()) + const value_fontSize_value_0 = unsafeCast(value_fontSize_value) + valueSerializer.writeNumber(value_fontSize_value_0) } - else if (RuntimeType.NUMBER == value_nonCurrentMonthWorkDayMarkColor_value_type) { + else if (RuntimeType.STRING == value_fontSize_value_type) { valueSerializer.writeInt8(1) - const value_nonCurrentMonthWorkDayMarkColor_value_1 = unsafeCast(value_nonCurrentMonthWorkDayMarkColor_value) - valueSerializer.writeNumber(value_nonCurrentMonthWorkDayMarkColor_value_1) + const value_fontSize_value_1 = unsafeCast(value_fontSize_value) + valueSerializer.writeString(value_fontSize_value_1) } - else if (RuntimeType.STRING == value_nonCurrentMonthWorkDayMarkColor_value_type) { - valueSerializer.writeInt8(2) - const value_nonCurrentMonthWorkDayMarkColor_value_2 = unsafeCast(value_nonCurrentMonthWorkDayMarkColor_value) - valueSerializer.writeString(value_nonCurrentMonthWorkDayMarkColor_value_2) + } + const value_badgeSize = value.badgeSize + let value_badgeSize_type: int32 = RuntimeType.UNDEFINED + value_badgeSize_type = runtimeType(value_badgeSize) + valueSerializer.writeInt8(value_badgeSize_type) + if ((RuntimeType.UNDEFINED) != (value_badgeSize_type)) { + const value_badgeSize_value = value_badgeSize! + let value_badgeSize_value_type: int32 = RuntimeType.UNDEFINED + value_badgeSize_value_type = runtimeType(value_badgeSize_value) + if (RuntimeType.NUMBER == value_badgeSize_value_type) { + valueSerializer.writeInt8(0) + const value_badgeSize_value_0 = unsafeCast(value_badgeSize_value) + valueSerializer.writeNumber(value_badgeSize_value_0) } - else if (RuntimeType.OBJECT == value_nonCurrentMonthWorkDayMarkColor_value_type) { - valueSerializer.writeInt8(3) - const value_nonCurrentMonthWorkDayMarkColor_value_3 = unsafeCast(value_nonCurrentMonthWorkDayMarkColor_value) - valueSerializer.writeResource(value_nonCurrentMonthWorkDayMarkColor_value_3) + else if (RuntimeType.STRING == value_badgeSize_value_type) { + valueSerializer.writeInt8(1) + const value_badgeSize_value_1 = unsafeCast(value_badgeSize_value) + valueSerializer.writeString(value_badgeSize_value_1) } } - const value_nonCurrentMonthOffDayMarkColor = value.nonCurrentMonthOffDayMarkColor - let value_nonCurrentMonthOffDayMarkColor_type: int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthOffDayMarkColor_type = runtimeType(value_nonCurrentMonthOffDayMarkColor) - valueSerializer.writeInt8(value_nonCurrentMonthOffDayMarkColor_type) - if ((RuntimeType.UNDEFINED) != (value_nonCurrentMonthOffDayMarkColor_type)) { - const value_nonCurrentMonthOffDayMarkColor_value = value_nonCurrentMonthOffDayMarkColor! - let value_nonCurrentMonthOffDayMarkColor_value_type: int32 = RuntimeType.UNDEFINED - value_nonCurrentMonthOffDayMarkColor_value_type = runtimeType(value_nonCurrentMonthOffDayMarkColor_value) - if (((RuntimeType.NUMBER) == (value_nonCurrentMonthOffDayMarkColor_value_type)) && ((unsafeCast(value_nonCurrentMonthOffDayMarkColor_value)) >= (0)) && ((unsafeCast(value_nonCurrentMonthOffDayMarkColor_value)) <= (11))) { + const value_badgeColor = value.badgeColor + let value_badgeColor_type: int32 = RuntimeType.UNDEFINED + value_badgeColor_type = runtimeType(value_badgeColor) + valueSerializer.writeInt8(value_badgeColor_type) + if ((RuntimeType.UNDEFINED) != (value_badgeColor_type)) { + const value_badgeColor_value = value_badgeColor! + let value_badgeColor_value_type: int32 = RuntimeType.UNDEFINED + value_badgeColor_value_type = runtimeType(value_badgeColor_value) + if (((RuntimeType.NUMBER) == (value_badgeColor_value_type)) && ((unsafeCast(value_badgeColor_value)) >= (0)) && ((unsafeCast(value_badgeColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_nonCurrentMonthOffDayMarkColor_value_0 = unsafeCast(value_nonCurrentMonthOffDayMarkColor_value) - valueSerializer.writeInt32(value_nonCurrentMonthOffDayMarkColor_value_0.valueOf()) + const value_badgeColor_value_0 = unsafeCast(value_badgeColor_value) + valueSerializer.writeInt32(value_badgeColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_nonCurrentMonthOffDayMarkColor_value_type) { + else if (RuntimeType.NUMBER == value_badgeColor_value_type) { valueSerializer.writeInt8(1) - const value_nonCurrentMonthOffDayMarkColor_value_1 = unsafeCast(value_nonCurrentMonthOffDayMarkColor_value) - valueSerializer.writeNumber(value_nonCurrentMonthOffDayMarkColor_value_1) + const value_badgeColor_value_1 = unsafeCast(value_badgeColor_value) + valueSerializer.writeNumber(value_badgeColor_value_1) } - else if (RuntimeType.STRING == value_nonCurrentMonthOffDayMarkColor_value_type) { + else if (RuntimeType.STRING == value_badgeColor_value_type) { valueSerializer.writeInt8(2) - const value_nonCurrentMonthOffDayMarkColor_value_2 = unsafeCast(value_nonCurrentMonthOffDayMarkColor_value) - valueSerializer.writeString(value_nonCurrentMonthOffDayMarkColor_value_2) + const value_badgeColor_value_2 = unsafeCast(value_badgeColor_value) + valueSerializer.writeString(value_badgeColor_value_2) } - else if (RuntimeType.OBJECT == value_nonCurrentMonthOffDayMarkColor_value_type) { + else if (RuntimeType.OBJECT == value_badgeColor_value_type) { valueSerializer.writeInt8(3) - const value_nonCurrentMonthOffDayMarkColor_value_3 = unsafeCast(value_nonCurrentMonthOffDayMarkColor_value) - valueSerializer.writeResource(value_nonCurrentMonthOffDayMarkColor_value_3) + const value_badgeColor_value_3 = unsafeCast(value_badgeColor_value) + valueSerializer.writeResource(value_badgeColor_value_3) } } - } - writeOffsetOptions(value: OffsetOptions): void { - let valueSerializer: Serializer = this - const value_xOffset = value.xOffset - let value_xOffset_type: int32 = RuntimeType.UNDEFINED - value_xOffset_type = runtimeType(value_xOffset) - valueSerializer.writeInt8(value_xOffset_type) - if ((RuntimeType.UNDEFINED) != (value_xOffset_type)) { - const value_xOffset_value = value_xOffset! - let value_xOffset_value_type: int32 = RuntimeType.UNDEFINED - value_xOffset_value_type = runtimeType(value_xOffset_value) - if (RuntimeType.STRING == value_xOffset_value_type) { + const value_borderColor = value.borderColor + let value_borderColor_type: int32 = RuntimeType.UNDEFINED + value_borderColor_type = runtimeType(value_borderColor) + valueSerializer.writeInt8(value_borderColor_type) + if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { + const value_borderColor_value = value_borderColor! + let value_borderColor_value_type: int32 = RuntimeType.UNDEFINED + value_borderColor_value_type = runtimeType(value_borderColor_value) + if (((RuntimeType.NUMBER) == (value_borderColor_value_type)) && ((unsafeCast(value_borderColor_value)) >= (0)) && ((unsafeCast(value_borderColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_xOffset_value_0 = unsafeCast(value_xOffset_value) - valueSerializer.writeString(value_xOffset_value_0) + const value_borderColor_value_0 = unsafeCast(value_borderColor_value) + valueSerializer.writeInt32(value_borderColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_xOffset_value_type) { + else if (RuntimeType.NUMBER == value_borderColor_value_type) { valueSerializer.writeInt8(1) - const value_xOffset_value_1 = unsafeCast(value_xOffset_value) - valueSerializer.writeNumber(value_xOffset_value_1) + const value_borderColor_value_1 = unsafeCast(value_borderColor_value) + valueSerializer.writeNumber(value_borderColor_value_1) } - else if (RuntimeType.OBJECT == value_xOffset_value_type) { + else if (RuntimeType.STRING == value_borderColor_value_type) { valueSerializer.writeInt8(2) - const value_xOffset_value_2 = unsafeCast(value_xOffset_value) - valueSerializer.writeResource(value_xOffset_value_2) + const value_borderColor_value_2 = unsafeCast(value_borderColor_value) + valueSerializer.writeString(value_borderColor_value_2) + } + else if (RuntimeType.OBJECT == value_borderColor_value_type) { + valueSerializer.writeInt8(3) + const value_borderColor_value_3 = unsafeCast(value_borderColor_value) + valueSerializer.writeResource(value_borderColor_value_3) } } - const value_yOffset = value.yOffset - let value_yOffset_type: int32 = RuntimeType.UNDEFINED - value_yOffset_type = runtimeType(value_yOffset) - valueSerializer.writeInt8(value_yOffset_type) - if ((RuntimeType.UNDEFINED) != (value_yOffset_type)) { - const value_yOffset_value = value_yOffset! - let value_yOffset_value_type: int32 = RuntimeType.UNDEFINED - value_yOffset_value_type = runtimeType(value_yOffset_value) - if (RuntimeType.STRING == value_yOffset_value_type) { + const value_borderWidth = value.borderWidth + let value_borderWidth_type: int32 = RuntimeType.UNDEFINED + value_borderWidth_type = runtimeType(value_borderWidth) + valueSerializer.writeInt8(value_borderWidth_type) + if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { + const value_borderWidth_value = value_borderWidth! + let value_borderWidth_value_type: int32 = RuntimeType.UNDEFINED + value_borderWidth_value_type = runtimeType(value_borderWidth_value) + if (RuntimeType.STRING == value_borderWidth_value_type) { valueSerializer.writeInt8(0) - const value_yOffset_value_0 = unsafeCast(value_yOffset_value) - valueSerializer.writeString(value_yOffset_value_0) + const value_borderWidth_value_0 = unsafeCast(value_borderWidth_value) + valueSerializer.writeString(value_borderWidth_value_0) } - else if (RuntimeType.NUMBER == value_yOffset_value_type) { + else if (RuntimeType.NUMBER == value_borderWidth_value_type) { valueSerializer.writeInt8(1) - const value_yOffset_value_1 = unsafeCast(value_yOffset_value) - valueSerializer.writeNumber(value_yOffset_value_1) + const value_borderWidth_value_1 = unsafeCast(value_borderWidth_value) + valueSerializer.writeNumber(value_borderWidth_value_1) } - else if (RuntimeType.OBJECT == value_yOffset_value_type) { + else if (RuntimeType.OBJECT == value_borderWidth_value_type) { valueSerializer.writeInt8(2) - const value_yOffset_value_2 = unsafeCast(value_yOffset_value) - valueSerializer.writeResource(value_yOffset_value_2) + const value_borderWidth_value_2 = unsafeCast(value_borderWidth_value) + valueSerializer.writeResource(value_borderWidth_value_2) + } + } + const value_fontWeight = value.fontWeight + let value_fontWeight_type: int32 = RuntimeType.UNDEFINED + value_fontWeight_type = runtimeType(value_fontWeight) + valueSerializer.writeInt8(value_fontWeight_type) + if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { + const value_fontWeight_value = value_fontWeight! + let value_fontWeight_value_type: int32 = RuntimeType.UNDEFINED + value_fontWeight_value_type = runtimeType(value_fontWeight_value) + if (RuntimeType.NUMBER == value_fontWeight_value_type) { + valueSerializer.writeInt8(0) + const value_fontWeight_value_0 = unsafeCast(value_fontWeight_value) + valueSerializer.writeNumber(value_fontWeight_value_0) + } + else if (((RuntimeType.NUMBER) == (value_fontWeight_value_type)) && ((unsafeCast(value_fontWeight_value)) >= (0)) && ((unsafeCast(value_fontWeight_value)) <= (5))) { + valueSerializer.writeInt8(1) + const value_fontWeight_value_1 = unsafeCast(value_fontWeight_value) + valueSerializer.writeInt32(value_fontWeight_value_1.valueOf()) + } + else if (RuntimeType.STRING == value_fontWeight_value_type) { + valueSerializer.writeInt8(2) + const value_fontWeight_value_2 = unsafeCast(value_fontWeight_value) + valueSerializer.writeString(value_fontWeight_value_2) } } } - writeOverlayOptions(value: OverlayOptions): void { + public writeBarGridColumnOptions(value: BarGridColumnOptions): void { let valueSerializer: Serializer = this - const value_align = value.align - let value_align_type: int32 = RuntimeType.UNDEFINED - value_align_type = runtimeType(value_align) - valueSerializer.writeInt8(value_align_type) - if ((RuntimeType.UNDEFINED) != (value_align_type)) { - const value_align_value = value_align! - valueSerializer.writeInt32(value_align_value.valueOf()) + const value_sm = value.sm + let value_sm_type: int32 = RuntimeType.UNDEFINED + value_sm_type = runtimeType(value_sm) + valueSerializer.writeInt8(value_sm_type) + if ((RuntimeType.UNDEFINED) != (value_sm_type)) { + const value_sm_value = value_sm! + valueSerializer.writeNumber(value_sm_value) } - const value_offset = value.offset - let value_offset_type: int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - valueSerializer.writeOverlayOffset(value_offset_value) + const value_md = value.md + let value_md_type: int32 = RuntimeType.UNDEFINED + value_md_type = runtimeType(value_md) + valueSerializer.writeInt8(value_md_type) + if ((RuntimeType.UNDEFINED) != (value_md_type)) { + const value_md_value = value_md! + valueSerializer.writeNumber(value_md_value) } - } - writePasswordIcon(value: PasswordIcon): void { - let valueSerializer: Serializer = this - const value_onIconSrc = value.onIconSrc - let value_onIconSrc_type: int32 = RuntimeType.UNDEFINED - value_onIconSrc_type = runtimeType(value_onIconSrc) - valueSerializer.writeInt8(value_onIconSrc_type) - if ((RuntimeType.UNDEFINED) != (value_onIconSrc_type)) { - const value_onIconSrc_value = value_onIconSrc! - let value_onIconSrc_value_type: int32 = RuntimeType.UNDEFINED - value_onIconSrc_value_type = runtimeType(value_onIconSrc_value) - if (RuntimeType.STRING == value_onIconSrc_value_type) { + const value_lg = value.lg + let value_lg_type: int32 = RuntimeType.UNDEFINED + value_lg_type = runtimeType(value_lg) + valueSerializer.writeInt8(value_lg_type) + if ((RuntimeType.UNDEFINED) != (value_lg_type)) { + const value_lg_value = value_lg! + valueSerializer.writeNumber(value_lg_value) + } + const value_margin = value.margin + let value_margin_type: int32 = RuntimeType.UNDEFINED + value_margin_type = runtimeType(value_margin) + valueSerializer.writeInt8(value_margin_type) + if ((RuntimeType.UNDEFINED) != (value_margin_type)) { + const value_margin_value = value_margin! + let value_margin_value_type: int32 = RuntimeType.UNDEFINED + value_margin_value_type = runtimeType(value_margin_value) + if (RuntimeType.STRING == value_margin_value_type) { valueSerializer.writeInt8(0) - const value_onIconSrc_value_0 = unsafeCast(value_onIconSrc_value) - valueSerializer.writeString(value_onIconSrc_value_0) + const value_margin_value_0 = unsafeCast(value_margin_value) + valueSerializer.writeString(value_margin_value_0) } - else if (RuntimeType.OBJECT == value_onIconSrc_value_type) { + else if (RuntimeType.NUMBER == value_margin_value_type) { valueSerializer.writeInt8(1) - const value_onIconSrc_value_1 = unsafeCast(value_onIconSrc_value) - valueSerializer.writeResource(value_onIconSrc_value_1) + const value_margin_value_1 = unsafeCast(value_margin_value) + valueSerializer.writeNumber(value_margin_value_1) + } + else if (RuntimeType.OBJECT == value_margin_value_type) { + valueSerializer.writeInt8(2) + const value_margin_value_2 = unsafeCast(value_margin_value) + valueSerializer.writeResource(value_margin_value_2) } } - const value_offIconSrc = value.offIconSrc - let value_offIconSrc_type: int32 = RuntimeType.UNDEFINED - value_offIconSrc_type = runtimeType(value_offIconSrc) - valueSerializer.writeInt8(value_offIconSrc_type) - if ((RuntimeType.UNDEFINED) != (value_offIconSrc_type)) { - const value_offIconSrc_value = value_offIconSrc! - let value_offIconSrc_value_type: int32 = RuntimeType.UNDEFINED - value_offIconSrc_value_type = runtimeType(value_offIconSrc_value) - if (RuntimeType.STRING == value_offIconSrc_value_type) { + const value_gutter = value.gutter + let value_gutter_type: int32 = RuntimeType.UNDEFINED + value_gutter_type = runtimeType(value_gutter) + valueSerializer.writeInt8(value_gutter_type) + if ((RuntimeType.UNDEFINED) != (value_gutter_type)) { + const value_gutter_value = value_gutter! + let value_gutter_value_type: int32 = RuntimeType.UNDEFINED + value_gutter_value_type = runtimeType(value_gutter_value) + if (RuntimeType.STRING == value_gutter_value_type) { valueSerializer.writeInt8(0) - const value_offIconSrc_value_0 = unsafeCast(value_offIconSrc_value) - valueSerializer.writeString(value_offIconSrc_value_0) + const value_gutter_value_0 = unsafeCast(value_gutter_value) + valueSerializer.writeString(value_gutter_value_0) } - else if (RuntimeType.OBJECT == value_offIconSrc_value_type) { + else if (RuntimeType.NUMBER == value_gutter_value_type) { valueSerializer.writeInt8(1) - const value_offIconSrc_value_1 = unsafeCast(value_offIconSrc_value) - valueSerializer.writeResource(value_offIconSrc_value_1) + const value_gutter_value_1 = unsafeCast(value_gutter_value) + valueSerializer.writeNumber(value_gutter_value_1) + } + else if (RuntimeType.OBJECT == value_gutter_value_type) { + valueSerializer.writeInt8(2) + const value_gutter_value_2 = unsafeCast(value_gutter_value) + valueSerializer.writeResource(value_gutter_value_2) } } } - writePixelStretchEffectOptions(value: PixelStretchEffectOptions): void { + public writeBoardStyle(value: BoardStyle): void { let valueSerializer: Serializer = this - const value_top = value.top - let value_top_type: int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - let value_top_value_type: int32 = RuntimeType.UNDEFINED - value_top_value_type = runtimeType(value_top_value) - if (RuntimeType.STRING == value_top_value_type) { + const value_borderRadius = value.borderRadius + let value_borderRadius_type: int32 = RuntimeType.UNDEFINED + value_borderRadius_type = runtimeType(value_borderRadius) + valueSerializer.writeInt8(value_borderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { + const value_borderRadius_value = value_borderRadius! + let value_borderRadius_value_type: int32 = RuntimeType.UNDEFINED + value_borderRadius_value_type = runtimeType(value_borderRadius_value) + if (RuntimeType.STRING == value_borderRadius_value_type) { valueSerializer.writeInt8(0) - const value_top_value_0 = unsafeCast(value_top_value) - valueSerializer.writeString(value_top_value_0) + const value_borderRadius_value_0 = unsafeCast(value_borderRadius_value) + valueSerializer.writeString(value_borderRadius_value_0) } - else if (RuntimeType.NUMBER == value_top_value_type) { + else if (RuntimeType.NUMBER == value_borderRadius_value_type) { valueSerializer.writeInt8(1) - const value_top_value_1 = unsafeCast(value_top_value) - valueSerializer.writeNumber(value_top_value_1) + const value_borderRadius_value_1 = unsafeCast(value_borderRadius_value) + valueSerializer.writeNumber(value_borderRadius_value_1) } - else if (RuntimeType.OBJECT == value_top_value_type) { + else if (RuntimeType.OBJECT == value_borderRadius_value_type) { valueSerializer.writeInt8(2) - const value_top_value_2 = unsafeCast(value_top_value) - valueSerializer.writeResource(value_top_value_2) + const value_borderRadius_value_2 = unsafeCast(value_borderRadius_value) + valueSerializer.writeResource(value_borderRadius_value_2) } } - const value_bottom = value.bottom - let value_bottom_type: int32 = RuntimeType.UNDEFINED - value_bottom_type = runtimeType(value_bottom) - valueSerializer.writeInt8(value_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { - const value_bottom_value = value_bottom! - let value_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_bottom_value_type = runtimeType(value_bottom_value) - if (RuntimeType.STRING == value_bottom_value_type) { + } + public writeBorderRadiuses(value: BorderRadiuses): void { + let valueSerializer: Serializer = this + const value_topLeft = value.topLeft + let value_topLeft_type: int32 = RuntimeType.UNDEFINED + value_topLeft_type = runtimeType(value_topLeft) + valueSerializer.writeInt8(value_topLeft_type) + if ((RuntimeType.UNDEFINED) != (value_topLeft_type)) { + const value_topLeft_value = value_topLeft! + let value_topLeft_value_type: int32 = RuntimeType.UNDEFINED + value_topLeft_value_type = runtimeType(value_topLeft_value) + if (RuntimeType.STRING == value_topLeft_value_type) { valueSerializer.writeInt8(0) - const value_bottom_value_0 = unsafeCast(value_bottom_value) - valueSerializer.writeString(value_bottom_value_0) + const value_topLeft_value_0 = unsafeCast(value_topLeft_value) + valueSerializer.writeString(value_topLeft_value_0) } - else if (RuntimeType.NUMBER == value_bottom_value_type) { + else if (RuntimeType.NUMBER == value_topLeft_value_type) { valueSerializer.writeInt8(1) - const value_bottom_value_1 = unsafeCast(value_bottom_value) - valueSerializer.writeNumber(value_bottom_value_1) + const value_topLeft_value_1 = unsafeCast(value_topLeft_value) + valueSerializer.writeNumber(value_topLeft_value_1) } - else if (RuntimeType.OBJECT == value_bottom_value_type) { + else if (RuntimeType.OBJECT == value_topLeft_value_type) { valueSerializer.writeInt8(2) - const value_bottom_value_2 = unsafeCast(value_bottom_value) - valueSerializer.writeResource(value_bottom_value_2) + const value_topLeft_value_2 = unsafeCast(value_topLeft_value) + valueSerializer.writeResource(value_topLeft_value_2) } } - const value_left = value.left - let value_left_type: int32 = RuntimeType.UNDEFINED - value_left_type = runtimeType(value_left) - valueSerializer.writeInt8(value_left_type) - if ((RuntimeType.UNDEFINED) != (value_left_type)) { - const value_left_value = value_left! - let value_left_value_type: int32 = RuntimeType.UNDEFINED - value_left_value_type = runtimeType(value_left_value) - if (RuntimeType.STRING == value_left_value_type) { + const value_topRight = value.topRight + let value_topRight_type: int32 = RuntimeType.UNDEFINED + value_topRight_type = runtimeType(value_topRight) + valueSerializer.writeInt8(value_topRight_type) + if ((RuntimeType.UNDEFINED) != (value_topRight_type)) { + const value_topRight_value = value_topRight! + let value_topRight_value_type: int32 = RuntimeType.UNDEFINED + value_topRight_value_type = runtimeType(value_topRight_value) + if (RuntimeType.STRING == value_topRight_value_type) { valueSerializer.writeInt8(0) - const value_left_value_0 = unsafeCast(value_left_value) - valueSerializer.writeString(value_left_value_0) + const value_topRight_value_0 = unsafeCast(value_topRight_value) + valueSerializer.writeString(value_topRight_value_0) } - else if (RuntimeType.NUMBER == value_left_value_type) { + else if (RuntimeType.NUMBER == value_topRight_value_type) { valueSerializer.writeInt8(1) - const value_left_value_1 = unsafeCast(value_left_value) - valueSerializer.writeNumber(value_left_value_1) + const value_topRight_value_1 = unsafeCast(value_topRight_value) + valueSerializer.writeNumber(value_topRight_value_1) } - else if (RuntimeType.OBJECT == value_left_value_type) { + else if (RuntimeType.OBJECT == value_topRight_value_type) { valueSerializer.writeInt8(2) - const value_left_value_2 = unsafeCast(value_left_value) - valueSerializer.writeResource(value_left_value_2) + const value_topRight_value_2 = unsafeCast(value_topRight_value) + valueSerializer.writeResource(value_topRight_value_2) } } - const value_right = value.right - let value_right_type: int32 = RuntimeType.UNDEFINED - value_right_type = runtimeType(value_right) - valueSerializer.writeInt8(value_right_type) - if ((RuntimeType.UNDEFINED) != (value_right_type)) { - const value_right_value = value_right! - let value_right_value_type: int32 = RuntimeType.UNDEFINED - value_right_value_type = runtimeType(value_right_value) - if (RuntimeType.STRING == value_right_value_type) { + const value_bottomLeft = value.bottomLeft + let value_bottomLeft_type: int32 = RuntimeType.UNDEFINED + value_bottomLeft_type = runtimeType(value_bottomLeft) + valueSerializer.writeInt8(value_bottomLeft_type) + if ((RuntimeType.UNDEFINED) != (value_bottomLeft_type)) { + const value_bottomLeft_value = value_bottomLeft! + let value_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED + value_bottomLeft_value_type = runtimeType(value_bottomLeft_value) + if (RuntimeType.STRING == value_bottomLeft_value_type) { valueSerializer.writeInt8(0) - const value_right_value_0 = unsafeCast(value_right_value) - valueSerializer.writeString(value_right_value_0) + const value_bottomLeft_value_0 = unsafeCast(value_bottomLeft_value) + valueSerializer.writeString(value_bottomLeft_value_0) } - else if (RuntimeType.NUMBER == value_right_value_type) { + else if (RuntimeType.NUMBER == value_bottomLeft_value_type) { valueSerializer.writeInt8(1) - const value_right_value_1 = unsafeCast(value_right_value) - valueSerializer.writeNumber(value_right_value_1) + const value_bottomLeft_value_1 = unsafeCast(value_bottomLeft_value) + valueSerializer.writeNumber(value_bottomLeft_value_1) } - else if (RuntimeType.OBJECT == value_right_value_type) { + else if (RuntimeType.OBJECT == value_bottomLeft_value_type) { valueSerializer.writeInt8(2) - const value_right_value_2 = unsafeCast(value_right_value) - valueSerializer.writeResource(value_right_value_2) + const value_bottomLeft_value_2 = unsafeCast(value_bottomLeft_value) + valueSerializer.writeResource(value_bottomLeft_value_2) } } - } - writePluginComponentOptions(value: PluginComponentOptions): void { - let valueSerializer: Serializer = this - const value_template = value.template - valueSerializer.writePluginComponentTemplate(value_template) - const value_data = value.data - valueSerializer.writeString(value_data) - } - writePosition(value: Position): void { - let valueSerializer: Serializer = this - const value_x = value.x - let value_x_type: int32 = RuntimeType.UNDEFINED - value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type) - if ((RuntimeType.UNDEFINED) != (value_x_type)) { - const value_x_value = value_x! - let value_x_value_type: int32 = RuntimeType.UNDEFINED - value_x_value_type = runtimeType(value_x_value) - if (RuntimeType.STRING == value_x_value_type) { + const value_bottomRight = value.bottomRight + let value_bottomRight_type: int32 = RuntimeType.UNDEFINED + value_bottomRight_type = runtimeType(value_bottomRight) + valueSerializer.writeInt8(value_bottomRight_type) + if ((RuntimeType.UNDEFINED) != (value_bottomRight_type)) { + const value_bottomRight_value = value_bottomRight! + let value_bottomRight_value_type: int32 = RuntimeType.UNDEFINED + value_bottomRight_value_type = runtimeType(value_bottomRight_value) + if (RuntimeType.STRING == value_bottomRight_value_type) { valueSerializer.writeInt8(0) - const value_x_value_0 = unsafeCast(value_x_value) - valueSerializer.writeString(value_x_value_0) + const value_bottomRight_value_0 = unsafeCast(value_bottomRight_value) + valueSerializer.writeString(value_bottomRight_value_0) } - else if (RuntimeType.NUMBER == value_x_value_type) { + else if (RuntimeType.NUMBER == value_bottomRight_value_type) { valueSerializer.writeInt8(1) - const value_x_value_1 = unsafeCast(value_x_value) - valueSerializer.writeNumber(value_x_value_1) + const value_bottomRight_value_1 = unsafeCast(value_bottomRight_value) + valueSerializer.writeNumber(value_bottomRight_value_1) } - else if (RuntimeType.OBJECT == value_x_value_type) { + else if (RuntimeType.OBJECT == value_bottomRight_value_type) { valueSerializer.writeInt8(2) - const value_x_value_2 = unsafeCast(value_x_value) - valueSerializer.writeResource(value_x_value_2) - } - } - const value_y = value.y - let value_y_type: int32 = RuntimeType.UNDEFINED - value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type) - if ((RuntimeType.UNDEFINED) != (value_y_type)) { - const value_y_value = value_y! - let value_y_value_type: int32 = RuntimeType.UNDEFINED - value_y_value_type = runtimeType(value_y_value) - if (RuntimeType.STRING == value_y_value_type) { - valueSerializer.writeInt8(0) - const value_y_value_0 = unsafeCast(value_y_value) - valueSerializer.writeString(value_y_value_0) - } - else if (RuntimeType.NUMBER == value_y_value_type) { - valueSerializer.writeInt8(1) - const value_y_value_1 = unsafeCast(value_y_value) - valueSerializer.writeNumber(value_y_value_1) - } - else if (RuntimeType.OBJECT == value_y_value_type) { - valueSerializer.writeInt8(2) - const value_y_value_2 = unsafeCast(value_y_value) - valueSerializer.writeResource(value_y_value_2) + const value_bottomRight_value_2 = unsafeCast(value_bottomRight_value) + valueSerializer.writeResource(value_bottomRight_value_2) } } } - writeProgressStyleOptions(value: ProgressStyleOptions): void { + public writeButtonStyle(value: ButtonStyle): void { let valueSerializer: Serializer = this - const value_enableSmoothEffect = value.enableSmoothEffect - let value_enableSmoothEffect_type: int32 = RuntimeType.UNDEFINED - value_enableSmoothEffect_type = runtimeType(value_enableSmoothEffect) - valueSerializer.writeInt8(value_enableSmoothEffect_type) - if ((RuntimeType.UNDEFINED) != (value_enableSmoothEffect_type)) { - const value_enableSmoothEffect_value = value_enableSmoothEffect! - valueSerializer.writeBoolean(value_enableSmoothEffect_value) - } - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - let value_strokeWidth_value_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) - if (RuntimeType.STRING == value_strokeWidth_value_type) { - valueSerializer.writeInt8(0) - const value_strokeWidth_value_0 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeString(value_strokeWidth_value_0) - } - else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { - valueSerializer.writeInt8(1) - const value_strokeWidth_value_1 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeNumber(value_strokeWidth_value_1) - } - else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { - valueSerializer.writeInt8(2) - const value_strokeWidth_value_2 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeResource(value_strokeWidth_value_2) - } - } - const value_scaleCount = value.scaleCount - let value_scaleCount_type: int32 = RuntimeType.UNDEFINED - value_scaleCount_type = runtimeType(value_scaleCount) - valueSerializer.writeInt8(value_scaleCount_type) - if ((RuntimeType.UNDEFINED) != (value_scaleCount_type)) { - const value_scaleCount_value = value_scaleCount! - valueSerializer.writeNumber(value_scaleCount_value) + const value_left = value.left + let value_left_type: int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + valueSerializer.writeNumber(value_left_value) } - const value_scaleWidth = value.scaleWidth - let value_scaleWidth_type: int32 = RuntimeType.UNDEFINED - value_scaleWidth_type = runtimeType(value_scaleWidth) - valueSerializer.writeInt8(value_scaleWidth_type) - if ((RuntimeType.UNDEFINED) != (value_scaleWidth_type)) { - const value_scaleWidth_value = value_scaleWidth! - let value_scaleWidth_value_type: int32 = RuntimeType.UNDEFINED - value_scaleWidth_value_type = runtimeType(value_scaleWidth_value) - if (RuntimeType.STRING == value_scaleWidth_value_type) { - valueSerializer.writeInt8(0) - const value_scaleWidth_value_0 = unsafeCast(value_scaleWidth_value) - valueSerializer.writeString(value_scaleWidth_value_0) - } - else if (RuntimeType.NUMBER == value_scaleWidth_value_type) { - valueSerializer.writeInt8(1) - const value_scaleWidth_value_1 = unsafeCast(value_scaleWidth_value) - valueSerializer.writeNumber(value_scaleWidth_value_1) - } - else if (RuntimeType.OBJECT == value_scaleWidth_value_type) { - valueSerializer.writeInt8(2) - const value_scaleWidth_value_2 = unsafeCast(value_scaleWidth_value) - valueSerializer.writeResource(value_scaleWidth_value_2) - } + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + valueSerializer.writeNumber(value_top_value) } - } - writeRadioStyle(value: RadioStyle): void { - let valueSerializer: Serializer = this - const value_checkedBackgroundColor = value.checkedBackgroundColor - let value_checkedBackgroundColor_type: int32 = RuntimeType.UNDEFINED - value_checkedBackgroundColor_type = runtimeType(value_checkedBackgroundColor) - valueSerializer.writeInt8(value_checkedBackgroundColor_type) - if ((RuntimeType.UNDEFINED) != (value_checkedBackgroundColor_type)) { - const value_checkedBackgroundColor_value = value_checkedBackgroundColor! - let value_checkedBackgroundColor_value_type: int32 = RuntimeType.UNDEFINED - value_checkedBackgroundColor_value_type = runtimeType(value_checkedBackgroundColor_value) - if (((RuntimeType.NUMBER) == (value_checkedBackgroundColor_value_type)) && ((unsafeCast(value_checkedBackgroundColor_value)) >= (0)) && ((unsafeCast(value_checkedBackgroundColor_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_checkedBackgroundColor_value_0 = unsafeCast(value_checkedBackgroundColor_value) - valueSerializer.writeInt32(value_checkedBackgroundColor_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_checkedBackgroundColor_value_type) { - valueSerializer.writeInt8(1) - const value_checkedBackgroundColor_value_1 = unsafeCast(value_checkedBackgroundColor_value) - valueSerializer.writeNumber(value_checkedBackgroundColor_value_1) - } - else if (RuntimeType.STRING == value_checkedBackgroundColor_value_type) { - valueSerializer.writeInt8(2) - const value_checkedBackgroundColor_value_2 = unsafeCast(value_checkedBackgroundColor_value) - valueSerializer.writeString(value_checkedBackgroundColor_value_2) - } - else if (RuntimeType.OBJECT == value_checkedBackgroundColor_value_type) { - valueSerializer.writeInt8(3) - const value_checkedBackgroundColor_value_3 = unsafeCast(value_checkedBackgroundColor_value) - valueSerializer.writeResource(value_checkedBackgroundColor_value_3) - } + const value_width = value.width + let value_width_type: int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + valueSerializer.writeNumber(value_width_value) } - const value_uncheckedBorderColor = value.uncheckedBorderColor - let value_uncheckedBorderColor_type: int32 = RuntimeType.UNDEFINED - value_uncheckedBorderColor_type = runtimeType(value_uncheckedBorderColor) - valueSerializer.writeInt8(value_uncheckedBorderColor_type) - if ((RuntimeType.UNDEFINED) != (value_uncheckedBorderColor_type)) { - const value_uncheckedBorderColor_value = value_uncheckedBorderColor! - let value_uncheckedBorderColor_value_type: int32 = RuntimeType.UNDEFINED - value_uncheckedBorderColor_value_type = runtimeType(value_uncheckedBorderColor_value) - if (((RuntimeType.NUMBER) == (value_uncheckedBorderColor_value_type)) && ((unsafeCast(value_uncheckedBorderColor_value)) >= (0)) && ((unsafeCast(value_uncheckedBorderColor_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_uncheckedBorderColor_value_0 = unsafeCast(value_uncheckedBorderColor_value) - valueSerializer.writeInt32(value_uncheckedBorderColor_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_uncheckedBorderColor_value_type) { - valueSerializer.writeInt8(1) - const value_uncheckedBorderColor_value_1 = unsafeCast(value_uncheckedBorderColor_value) - valueSerializer.writeNumber(value_uncheckedBorderColor_value_1) - } - else if (RuntimeType.STRING == value_uncheckedBorderColor_value_type) { - valueSerializer.writeInt8(2) - const value_uncheckedBorderColor_value_2 = unsafeCast(value_uncheckedBorderColor_value) - valueSerializer.writeString(value_uncheckedBorderColor_value_2) - } - else if (RuntimeType.OBJECT == value_uncheckedBorderColor_value_type) { - valueSerializer.writeInt8(3) - const value_uncheckedBorderColor_value_3 = unsafeCast(value_uncheckedBorderColor_value) - valueSerializer.writeResource(value_uncheckedBorderColor_value_3) - } + const value_height = value.height + let value_height_type: int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + valueSerializer.writeNumber(value_height_value) } - const value_indicatorColor = value.indicatorColor - let value_indicatorColor_type: int32 = RuntimeType.UNDEFINED - value_indicatorColor_type = runtimeType(value_indicatorColor) - valueSerializer.writeInt8(value_indicatorColor_type) - if ((RuntimeType.UNDEFINED) != (value_indicatorColor_type)) { - const value_indicatorColor_value = value_indicatorColor! - let value_indicatorColor_value_type: int32 = RuntimeType.UNDEFINED - value_indicatorColor_value_type = runtimeType(value_indicatorColor_value) - if (((RuntimeType.NUMBER) == (value_indicatorColor_value_type)) && ((unsafeCast(value_indicatorColor_value)) >= (0)) && ((unsafeCast(value_indicatorColor_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_indicatorColor_value_0 = unsafeCast(value_indicatorColor_value) - valueSerializer.writeInt32(value_indicatorColor_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_indicatorColor_value_type) { - valueSerializer.writeInt8(1) - const value_indicatorColor_value_1 = unsafeCast(value_indicatorColor_value) - valueSerializer.writeNumber(value_indicatorColor_value_1) - } - else if (RuntimeType.STRING == value_indicatorColor_value_type) { - valueSerializer.writeInt8(2) - const value_indicatorColor_value_2 = unsafeCast(value_indicatorColor_value) - valueSerializer.writeString(value_indicatorColor_value_2) - } - else if (RuntimeType.OBJECT == value_indicatorColor_value_type) { - valueSerializer.writeInt8(3) - const value_indicatorColor_value_3 = unsafeCast(value_indicatorColor_value) - valueSerializer.writeResource(value_indicatorColor_value_3) - } + const value_icons = value.icons + let value_icons_type: int32 = RuntimeType.UNDEFINED + value_icons_type = runtimeType(value_icons) + valueSerializer.writeInt8(value_icons_type) + if ((RuntimeType.UNDEFINED) != (value_icons_type)) { + const value_icons_value = value_icons! + valueSerializer.writeButtonIconOptions(value_icons_value) } } - writeRectangle(value: Rectangle): void { + public writeCaretStyle(value: CaretStyle): void { let valueSerializer: Serializer = this - const value_x = value.x - let value_x_type: int32 = RuntimeType.UNDEFINED - value_x_type = runtimeType(value_x) - valueSerializer.writeInt8(value_x_type) - if ((RuntimeType.UNDEFINED) != (value_x_type)) { - const value_x_value = value_x! - let value_x_value_type: int32 = RuntimeType.UNDEFINED - value_x_value_type = runtimeType(value_x_value) - if (RuntimeType.STRING == value_x_value_type) { - valueSerializer.writeInt8(0) - const value_x_value_0 = unsafeCast(value_x_value) - valueSerializer.writeString(value_x_value_0) - } - else if (RuntimeType.NUMBER == value_x_value_type) { - valueSerializer.writeInt8(1) - const value_x_value_1 = unsafeCast(value_x_value) - valueSerializer.writeNumber(value_x_value_1) - } - else if (RuntimeType.OBJECT == value_x_value_type) { - valueSerializer.writeInt8(2) - const value_x_value_2 = unsafeCast(value_x_value) - valueSerializer.writeResource(value_x_value_2) - } - } - const value_y = value.y - let value_y_type: int32 = RuntimeType.UNDEFINED - value_y_type = runtimeType(value_y) - valueSerializer.writeInt8(value_y_type) - if ((RuntimeType.UNDEFINED) != (value_y_type)) { - const value_y_value = value_y! - let value_y_value_type: int32 = RuntimeType.UNDEFINED - value_y_value_type = runtimeType(value_y_value) - if (RuntimeType.STRING == value_y_value_type) { - valueSerializer.writeInt8(0) - const value_y_value_0 = unsafeCast(value_y_value) - valueSerializer.writeString(value_y_value_0) - } - else if (RuntimeType.NUMBER == value_y_value_type) { - valueSerializer.writeInt8(1) - const value_y_value_1 = unsafeCast(value_y_value) - valueSerializer.writeNumber(value_y_value_1) - } - else if (RuntimeType.OBJECT == value_y_value_type) { - valueSerializer.writeInt8(2) - const value_y_value_2 = unsafeCast(value_y_value) - valueSerializer.writeResource(value_y_value_2) - } - } const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) @@ -13925,1396 +15114,1263 @@ export class Serializer extends SerializerBase { valueSerializer.writeResource(value_width_value_2) } } - const value_height = value.height - let value_height_type: int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type: int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.STRING == value_height_value_type) { + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_height_value_0 = unsafeCast(value_height_value) - valueSerializer.writeString(value_height_value_0) + const value_color_value_0 = unsafeCast(value_color_value) + valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_height_value_type) { + else if (RuntimeType.NUMBER == value_color_value_type) { valueSerializer.writeInt8(1) - const value_height_value_1 = unsafeCast(value_height_value) - valueSerializer.writeNumber(value_height_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.OBJECT == value_height_value_type) { + else if (RuntimeType.STRING == value_color_value_type) { valueSerializer.writeInt8(2) - const value_height_value_2 = unsafeCast(value_height_value) - valueSerializer.writeResource(value_height_value_2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) + } + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) } } } - writeRectOptions(value: RectOptions): void { + public writeChainAnimationOptions(value: ChainAnimationOptions): void { let valueSerializer: Serializer = this - const value_width = value.width - let value_width_type: int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.NUMBER == value_width_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_0 = unsafeCast(value_width_value) - valueSerializer.writeNumber(value_width_value_0) - } - else if (RuntimeType.STRING == value_width_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_1 = unsafeCast(value_width_value) - valueSerializer.writeString(value_width_value_1) - } + const value_minSpace = value.minSpace + let value_minSpace_type: int32 = RuntimeType.UNDEFINED + value_minSpace_type = runtimeType(value_minSpace) + if (RuntimeType.STRING == value_minSpace_type) { + valueSerializer.writeInt8(0) + const value_minSpace_0 = unsafeCast(value_minSpace) + valueSerializer.writeString(value_minSpace_0) } - const value_height = value.height - let value_height_type: int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type: int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.NUMBER == value_height_value_type) { + else if (RuntimeType.NUMBER == value_minSpace_type) { + valueSerializer.writeInt8(1) + const value_minSpace_1 = unsafeCast(value_minSpace) + valueSerializer.writeNumber(value_minSpace_1) + } + else if (RuntimeType.OBJECT == value_minSpace_type) { + valueSerializer.writeInt8(2) + const value_minSpace_2 = unsafeCast(value_minSpace) + valueSerializer.writeResource(value_minSpace_2) + } + const value_maxSpace = value.maxSpace + let value_maxSpace_type: int32 = RuntimeType.UNDEFINED + value_maxSpace_type = runtimeType(value_maxSpace) + if (RuntimeType.STRING == value_maxSpace_type) { + valueSerializer.writeInt8(0) + const value_maxSpace_0 = unsafeCast(value_maxSpace) + valueSerializer.writeString(value_maxSpace_0) + } + else if (RuntimeType.NUMBER == value_maxSpace_type) { + valueSerializer.writeInt8(1) + const value_maxSpace_1 = unsafeCast(value_maxSpace) + valueSerializer.writeNumber(value_maxSpace_1) + } + else if (RuntimeType.OBJECT == value_maxSpace_type) { + valueSerializer.writeInt8(2) + const value_maxSpace_2 = unsafeCast(value_maxSpace) + valueSerializer.writeResource(value_maxSpace_2) + } + const value_conductivity = value.conductivity + let value_conductivity_type: int32 = RuntimeType.UNDEFINED + value_conductivity_type = runtimeType(value_conductivity) + valueSerializer.writeInt8(value_conductivity_type) + if ((RuntimeType.UNDEFINED) != (value_conductivity_type)) { + const value_conductivity_value = value_conductivity! + valueSerializer.writeNumber(value_conductivity_value) + } + const value_intensity = value.intensity + let value_intensity_type: int32 = RuntimeType.UNDEFINED + value_intensity_type = runtimeType(value_intensity) + valueSerializer.writeInt8(value_intensity_type) + if ((RuntimeType.UNDEFINED) != (value_intensity_type)) { + const value_intensity_value = value_intensity! + valueSerializer.writeNumber(value_intensity_value) + } + const value_edgeEffect = value.edgeEffect + let value_edgeEffect_type: int32 = RuntimeType.UNDEFINED + value_edgeEffect_type = runtimeType(value_edgeEffect) + valueSerializer.writeInt8(value_edgeEffect_type) + if ((RuntimeType.UNDEFINED) != (value_edgeEffect_type)) { + const value_edgeEffect_value = value_edgeEffect! + valueSerializer.writeInt32(value_edgeEffect_value.valueOf()) + } + const value_stiffness = value.stiffness + let value_stiffness_type: int32 = RuntimeType.UNDEFINED + value_stiffness_type = runtimeType(value_stiffness) + valueSerializer.writeInt8(value_stiffness_type) + if ((RuntimeType.UNDEFINED) != (value_stiffness_type)) { + const value_stiffness_value = value_stiffness! + valueSerializer.writeNumber(value_stiffness_value) + } + const value_damping = value.damping + let value_damping_type: int32 = RuntimeType.UNDEFINED + value_damping_type = runtimeType(value_damping) + valueSerializer.writeInt8(value_damping_type) + if ((RuntimeType.UNDEFINED) != (value_damping_type)) { + const value_damping_value = value_damping! + valueSerializer.writeNumber(value_damping_value) + } + } + public writeColorStop(value: ColorStop): void { + let valueSerializer: Serializer = this + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + if (((RuntimeType.NUMBER) == (value_color_type)) && ((unsafeCast(value_color)) >= (0)) && ((unsafeCast(value_color)) <= (11))) { + valueSerializer.writeInt8(0) + const value_color_0 = unsafeCast(value_color) + valueSerializer.writeInt32(value_color_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_color_type) { + valueSerializer.writeInt8(1) + const value_color_1 = unsafeCast(value_color) + valueSerializer.writeNumber(value_color_1) + } + else if (RuntimeType.STRING == value_color_type) { + valueSerializer.writeInt8(2) + const value_color_2 = unsafeCast(value_color) + valueSerializer.writeString(value_color_2) + } + else if (RuntimeType.OBJECT == value_color_type) { + valueSerializer.writeInt8(3) + const value_color_3 = unsafeCast(value_color) + valueSerializer.writeResource(value_color_3) + } + const value_offset = value.offset + let value_offset_type: int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + if (RuntimeType.STRING == value_offset_type) { + valueSerializer.writeInt8(0) + const value_offset_0 = unsafeCast(value_offset) + valueSerializer.writeString(value_offset_0) + } + else if (RuntimeType.NUMBER == value_offset_type) { + valueSerializer.writeInt8(1) + const value_offset_1 = unsafeCast(value_offset) + valueSerializer.writeNumber(value_offset_1) + } + else if (RuntimeType.OBJECT == value_offset_type) { + valueSerializer.writeInt8(2) + const value_offset_2 = unsafeCast(value_offset) + valueSerializer.writeResource(value_offset_2) + } + } + public writeColumnSplitDividerStyle(value: ColumnSplitDividerStyle): void { + let valueSerializer: Serializer = this + const value_startMargin = value.startMargin + let value_startMargin_type: int32 = RuntimeType.UNDEFINED + value_startMargin_type = runtimeType(value_startMargin) + valueSerializer.writeInt8(value_startMargin_type) + if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { + const value_startMargin_value = value_startMargin! + let value_startMargin_value_type: int32 = RuntimeType.UNDEFINED + value_startMargin_value_type = runtimeType(value_startMargin_value) + if (RuntimeType.STRING == value_startMargin_value_type) { valueSerializer.writeInt8(0) - const value_height_value_0 = unsafeCast(value_height_value) - valueSerializer.writeNumber(value_height_value_0) + const value_startMargin_value_0 = unsafeCast(value_startMargin_value) + valueSerializer.writeString(value_startMargin_value_0) } - else if (RuntimeType.STRING == value_height_value_type) { + else if (RuntimeType.NUMBER == value_startMargin_value_type) { valueSerializer.writeInt8(1) - const value_height_value_1 = unsafeCast(value_height_value) - valueSerializer.writeString(value_height_value_1) + const value_startMargin_value_1 = unsafeCast(value_startMargin_value) + valueSerializer.writeNumber(value_startMargin_value_1) + } + else if (RuntimeType.OBJECT == value_startMargin_value_type) { + valueSerializer.writeInt8(2) + const value_startMargin_value_2 = unsafeCast(value_startMargin_value) + valueSerializer.writeResource(value_startMargin_value_2) } } - const value_radius = value.radius - let value_radius_type: int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type) - if ((RuntimeType.UNDEFINED) != (value_radius_type)) { - const value_radius_value = value_radius! - let value_radius_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_type = runtimeType(value_radius_value) - if (RuntimeType.NUMBER == value_radius_value_type) { + const value_endMargin = value.endMargin + let value_endMargin_type: int32 = RuntimeType.UNDEFINED + value_endMargin_type = runtimeType(value_endMargin) + valueSerializer.writeInt8(value_endMargin_type) + if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { + const value_endMargin_value = value_endMargin! + let value_endMargin_value_type: int32 = RuntimeType.UNDEFINED + value_endMargin_value_type = runtimeType(value_endMargin_value) + if (RuntimeType.STRING == value_endMargin_value_type) { valueSerializer.writeInt8(0) - const value_radius_value_0 = unsafeCast(value_radius_value) - valueSerializer.writeNumber(value_radius_value_0) + const value_endMargin_value_0 = unsafeCast(value_endMargin_value) + valueSerializer.writeString(value_endMargin_value_0) } - else if (RuntimeType.STRING == value_radius_value_type) { + else if (RuntimeType.NUMBER == value_endMargin_value_type) { valueSerializer.writeInt8(1) - const value_radius_value_1 = unsafeCast(value_radius_value) - valueSerializer.writeString(value_radius_value_1) + const value_endMargin_value_1 = unsafeCast(value_endMargin_value) + valueSerializer.writeNumber(value_endMargin_value_1) } - else if (RuntimeType.OBJECT == value_radius_value_type) { + else if (RuntimeType.OBJECT == value_endMargin_value_type) { valueSerializer.writeInt8(2) - const value_radius_value_2 = unsafeCast>(value_radius_value) - valueSerializer.writeInt32(value_radius_value_2.length) - for (let i = 0; i < value_radius_value_2.length; i++) { - const value_radius_value_2_element: number | string = value_radius_value_2[i] - let value_radius_value_2_element_type: int32 = RuntimeType.UNDEFINED - value_radius_value_2_element_type = runtimeType(value_radius_value_2_element) - if (RuntimeType.NUMBER == value_radius_value_2_element_type) { - valueSerializer.writeInt8(0) - const value_radius_value_2_element_0 = unsafeCast(value_radius_value_2_element) - valueSerializer.writeNumber(value_radius_value_2_element_0) - } - else if (RuntimeType.STRING == value_radius_value_2_element_type) { - valueSerializer.writeInt8(1) - const value_radius_value_2_element_1 = unsafeCast(value_radius_value_2_element) - valueSerializer.writeString(value_radius_value_2_element_1) - } - } + const value_endMargin_value_2 = unsafeCast(value_endMargin_value) + valueSerializer.writeResource(value_endMargin_value_2) } } } - writeRectShapeOptions(value: RectShapeOptions): void { + public writeConstraintSizeOptions(value: ConstraintSizeOptions): void { let valueSerializer: Serializer = this - const value_width = value.width - let value_width_type: int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.NUMBER == value_width_value_type) { + const value_minWidth = value.minWidth + let value_minWidth_type: int32 = RuntimeType.UNDEFINED + value_minWidth_type = runtimeType(value_minWidth) + valueSerializer.writeInt8(value_minWidth_type) + if ((RuntimeType.UNDEFINED) != (value_minWidth_type)) { + const value_minWidth_value = value_minWidth! + let value_minWidth_value_type: int32 = RuntimeType.UNDEFINED + value_minWidth_value_type = runtimeType(value_minWidth_value) + if (RuntimeType.STRING == value_minWidth_value_type) { valueSerializer.writeInt8(0) - const value_width_value_0 = unsafeCast(value_width_value) - valueSerializer.writeNumber(value_width_value_0) + const value_minWidth_value_0 = unsafeCast(value_minWidth_value) + valueSerializer.writeString(value_minWidth_value_0) } - else if (RuntimeType.STRING == value_width_value_type) { + else if (RuntimeType.NUMBER == value_minWidth_value_type) { valueSerializer.writeInt8(1) - const value_width_value_1 = unsafeCast(value_width_value) - valueSerializer.writeString(value_width_value_1) + const value_minWidth_value_1 = unsafeCast(value_minWidth_value) + valueSerializer.writeNumber(value_minWidth_value_1) + } + else if (RuntimeType.OBJECT == value_minWidth_value_type) { + valueSerializer.writeInt8(2) + const value_minWidth_value_2 = unsafeCast(value_minWidth_value) + valueSerializer.writeResource(value_minWidth_value_2) } } - const value_height = value.height - let value_height_type: int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type: int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.NUMBER == value_height_value_type) { + const value_maxWidth = value.maxWidth + let value_maxWidth_type: int32 = RuntimeType.UNDEFINED + value_maxWidth_type = runtimeType(value_maxWidth) + valueSerializer.writeInt8(value_maxWidth_type) + if ((RuntimeType.UNDEFINED) != (value_maxWidth_type)) { + const value_maxWidth_value = value_maxWidth! + let value_maxWidth_value_type: int32 = RuntimeType.UNDEFINED + value_maxWidth_value_type = runtimeType(value_maxWidth_value) + if (RuntimeType.STRING == value_maxWidth_value_type) { valueSerializer.writeInt8(0) - const value_height_value_0 = unsafeCast(value_height_value) - valueSerializer.writeNumber(value_height_value_0) + const value_maxWidth_value_0 = unsafeCast(value_maxWidth_value) + valueSerializer.writeString(value_maxWidth_value_0) } - else if (RuntimeType.STRING == value_height_value_type) { + else if (RuntimeType.NUMBER == value_maxWidth_value_type) { valueSerializer.writeInt8(1) - const value_height_value_1 = unsafeCast(value_height_value) - valueSerializer.writeString(value_height_value_1) + const value_maxWidth_value_1 = unsafeCast(value_maxWidth_value) + valueSerializer.writeNumber(value_maxWidth_value_1) + } + else if (RuntimeType.OBJECT == value_maxWidth_value_type) { + valueSerializer.writeInt8(2) + const value_maxWidth_value_2 = unsafeCast(value_maxWidth_value) + valueSerializer.writeResource(value_maxWidth_value_2) } } - const value_radius = value.radius - let value_radius_type: int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - valueSerializer.writeInt8(value_radius_type) - if ((RuntimeType.UNDEFINED) != (value_radius_type)) { - const value_radius_value = value_radius! - let value_radius_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_type = runtimeType(value_radius_value) - if (RuntimeType.NUMBER == value_radius_value_type) { + const value_minHeight = value.minHeight + let value_minHeight_type: int32 = RuntimeType.UNDEFINED + value_minHeight_type = runtimeType(value_minHeight) + valueSerializer.writeInt8(value_minHeight_type) + if ((RuntimeType.UNDEFINED) != (value_minHeight_type)) { + const value_minHeight_value = value_minHeight! + let value_minHeight_value_type: int32 = RuntimeType.UNDEFINED + value_minHeight_value_type = runtimeType(value_minHeight_value) + if (RuntimeType.STRING == value_minHeight_value_type) { valueSerializer.writeInt8(0) - const value_radius_value_0 = unsafeCast(value_radius_value) - valueSerializer.writeNumber(value_radius_value_0) + const value_minHeight_value_0 = unsafeCast(value_minHeight_value) + valueSerializer.writeString(value_minHeight_value_0) } - else if (RuntimeType.STRING == value_radius_value_type) { + else if (RuntimeType.NUMBER == value_minHeight_value_type) { valueSerializer.writeInt8(1) - const value_radius_value_1 = unsafeCast(value_radius_value) - valueSerializer.writeString(value_radius_value_1) + const value_minHeight_value_1 = unsafeCast(value_minHeight_value) + valueSerializer.writeNumber(value_minHeight_value_1) } - else if (RuntimeType.OBJECT == value_radius_value_type) { + else if (RuntimeType.OBJECT == value_minHeight_value_type) { valueSerializer.writeInt8(2) - const value_radius_value_2 = unsafeCast>(value_radius_value) - valueSerializer.writeInt32(value_radius_value_2.length) - for (let i = 0; i < value_radius_value_2.length; i++) { - const value_radius_value_2_element: number | string = value_radius_value_2[i] - let value_radius_value_2_element_type: int32 = RuntimeType.UNDEFINED - value_radius_value_2_element_type = runtimeType(value_radius_value_2_element) - if (RuntimeType.NUMBER == value_radius_value_2_element_type) { - valueSerializer.writeInt8(0) - const value_radius_value_2_element_0 = unsafeCast(value_radius_value_2_element) - valueSerializer.writeNumber(value_radius_value_2_element_0) - } - else if (RuntimeType.STRING == value_radius_value_2_element_type) { - valueSerializer.writeInt8(1) - const value_radius_value_2_element_1 = unsafeCast(value_radius_value_2_element) - valueSerializer.writeString(value_radius_value_2_element_1) - } - } + const value_minHeight_value_2 = unsafeCast(value_minHeight_value) + valueSerializer.writeResource(value_minHeight_value_2) + } + } + const value_maxHeight = value.maxHeight + let value_maxHeight_type: int32 = RuntimeType.UNDEFINED + value_maxHeight_type = runtimeType(value_maxHeight) + valueSerializer.writeInt8(value_maxHeight_type) + if ((RuntimeType.UNDEFINED) != (value_maxHeight_type)) { + const value_maxHeight_value = value_maxHeight! + let value_maxHeight_value_type: int32 = RuntimeType.UNDEFINED + value_maxHeight_value_type = runtimeType(value_maxHeight_value) + if (RuntimeType.STRING == value_maxHeight_value_type) { + valueSerializer.writeInt8(0) + const value_maxHeight_value_0 = unsafeCast(value_maxHeight_value) + valueSerializer.writeString(value_maxHeight_value_0) + } + else if (RuntimeType.NUMBER == value_maxHeight_value_type) { + valueSerializer.writeInt8(1) + const value_maxHeight_value_1 = unsafeCast(value_maxHeight_value) + valueSerializer.writeNumber(value_maxHeight_value_1) + } + else if (RuntimeType.OBJECT == value_maxHeight_value_type) { + valueSerializer.writeInt8(2) + const value_maxHeight_value_2 = unsafeCast(value_maxHeight_value) + valueSerializer.writeResource(value_maxHeight_value_2) } } } - writeRefreshOptions(value: RefreshOptions): void { + public writeCustomTheme(value: CustomTheme): void { let valueSerializer: Serializer = this - const value_refreshing = value.refreshing - valueSerializer.writeBoolean(value_refreshing) - const value_offset = value.offset - let value_offset_type: int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - let value_offset_value_type: int32 = RuntimeType.UNDEFINED - value_offset_value_type = runtimeType(value_offset_value) - if (RuntimeType.NUMBER == value_offset_value_type) { + const value_colors = value.colors + let value_colors_type: int32 = RuntimeType.UNDEFINED + value_colors_type = runtimeType(value_colors) + valueSerializer.writeInt8(value_colors_type) + if ((RuntimeType.UNDEFINED) != (value_colors_type)) { + const value_colors_value = value_colors! + valueSerializer.writeCustomColors(value_colors_value) + } + } + public writeDividerOptions(value: DividerOptions): void { + let valueSerializer: Serializer = this + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + let value_strokeWidth_value_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) + if (RuntimeType.STRING == value_strokeWidth_value_type) { valueSerializer.writeInt8(0) - const value_offset_value_0 = unsafeCast(value_offset_value) - valueSerializer.writeNumber(value_offset_value_0) + const value_strokeWidth_value_0 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeString(value_strokeWidth_value_0) } - else if (RuntimeType.STRING == value_offset_value_type) { + else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { valueSerializer.writeInt8(1) - const value_offset_value_1 = unsafeCast(value_offset_value) - valueSerializer.writeString(value_offset_value_1) + const value_strokeWidth_value_1 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeNumber(value_strokeWidth_value_1) + } + else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_value_2 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeResource(value_strokeWidth_value_2) } } - const value_friction = value.friction - let value_friction_type: int32 = RuntimeType.UNDEFINED - value_friction_type = runtimeType(value_friction) - valueSerializer.writeInt8(value_friction_type) - if ((RuntimeType.UNDEFINED) != (value_friction_type)) { - const value_friction_value = value_friction! - let value_friction_value_type: int32 = RuntimeType.UNDEFINED - value_friction_value_type = runtimeType(value_friction_value) - if (RuntimeType.NUMBER == value_friction_value_type) { + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_friction_value_0 = unsafeCast(value_friction_value) - valueSerializer.writeNumber(value_friction_value_0) + const value_color_value_0 = unsafeCast(value_color_value) + valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.STRING == value_friction_value_type) { + else if (RuntimeType.NUMBER == value_color_value_type) { valueSerializer.writeInt8(1) - const value_friction_value_1 = unsafeCast(value_friction_value) - valueSerializer.writeString(value_friction_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) + } + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) + } + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) } } - const value_promptText = value.promptText - let value_promptText_type: int32 = RuntimeType.UNDEFINED - value_promptText_type = runtimeType(value_promptText) - valueSerializer.writeInt8(value_promptText_type) - if ((RuntimeType.UNDEFINED) != (value_promptText_type)) { - const value_promptText_value = value_promptText! - let value_promptText_value_type: int32 = RuntimeType.UNDEFINED - value_promptText_value_type = runtimeType(value_promptText_value) - if (RuntimeType.STRING == value_promptText_value_type) { + const value_startMargin = value.startMargin + let value_startMargin_type: int32 = RuntimeType.UNDEFINED + value_startMargin_type = runtimeType(value_startMargin) + valueSerializer.writeInt8(value_startMargin_type) + if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { + const value_startMargin_value = value_startMargin! + let value_startMargin_value_type: int32 = RuntimeType.UNDEFINED + value_startMargin_value_type = runtimeType(value_startMargin_value) + if (RuntimeType.STRING == value_startMargin_value_type) { valueSerializer.writeInt8(0) - const value_promptText_value_0 = unsafeCast(value_promptText_value) - valueSerializer.writeString(value_promptText_value_0) + const value_startMargin_value_0 = unsafeCast(value_startMargin_value) + valueSerializer.writeString(value_startMargin_value_0) } - else if (RuntimeType.OBJECT == value_promptText_value_type) { + else if (RuntimeType.NUMBER == value_startMargin_value_type) { valueSerializer.writeInt8(1) - const value_promptText_value_1 = unsafeCast(value_promptText_value) - valueSerializer.writeResource(value_promptText_value_1) + const value_startMargin_value_1 = unsafeCast(value_startMargin_value) + valueSerializer.writeNumber(value_startMargin_value_1) + } + else if (RuntimeType.OBJECT == value_startMargin_value_type) { + valueSerializer.writeInt8(2) + const value_startMargin_value_2 = unsafeCast(value_startMargin_value) + valueSerializer.writeResource(value_startMargin_value_2) } } - const value_builder = value.builder - let value_builder_type: int32 = RuntimeType.UNDEFINED - value_builder_type = runtimeType(value_builder) - valueSerializer.writeInt8(value_builder_type) - if ((RuntimeType.UNDEFINED) != (value_builder_type)) { - const value_builder_value = value_builder! - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) - } - const value_refreshingContent = value.refreshingContent - let value_refreshingContent_type: int32 = RuntimeType.UNDEFINED - value_refreshingContent_type = runtimeType(value_refreshingContent) - valueSerializer.writeInt8(value_refreshingContent_type) - if ((RuntimeType.UNDEFINED) != (value_refreshingContent_type)) { - const value_refreshingContent_value = value_refreshingContent! - valueSerializer.writeComponentContent(value_refreshingContent_value) + const value_endMargin = value.endMargin + let value_endMargin_type: int32 = RuntimeType.UNDEFINED + value_endMargin_type = runtimeType(value_endMargin) + valueSerializer.writeInt8(value_endMargin_type) + if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { + const value_endMargin_value = value_endMargin! + let value_endMargin_value_type: int32 = RuntimeType.UNDEFINED + value_endMargin_value_type = runtimeType(value_endMargin_value) + if (RuntimeType.STRING == value_endMargin_value_type) { + valueSerializer.writeInt8(0) + const value_endMargin_value_0 = unsafeCast(value_endMargin_value) + valueSerializer.writeString(value_endMargin_value_0) + } + else if (RuntimeType.NUMBER == value_endMargin_value_type) { + valueSerializer.writeInt8(1) + const value_endMargin_value_1 = unsafeCast(value_endMargin_value) + valueSerializer.writeNumber(value_endMargin_value_1) + } + else if (RuntimeType.OBJECT == value_endMargin_value_type) { + valueSerializer.writeInt8(2) + const value_endMargin_value_2 = unsafeCast(value_endMargin_value) + valueSerializer.writeResource(value_endMargin_value_2) + } } } - writeRenderNode(value: RenderNode): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeRestrictedWorker(value: RestrictedWorker): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeRichEditorChangeValue(value: RichEditorChangeValue): void { + public writeDividerStyle(value: DividerStyle): void { let valueSerializer: Serializer = this - const value_rangeBefore = value.rangeBefore - valueSerializer.writeTextRange(value_rangeBefore) - const value_replacedSpans = value.replacedSpans - valueSerializer.writeInt32(value_replacedSpans.length) - for (let i = 0; i < value_replacedSpans.length; i++) { - const value_replacedSpans_element: RichEditorTextSpanResult = value_replacedSpans[i] - valueSerializer.writeRichEditorTextSpanResult(value_replacedSpans_element) + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + if (RuntimeType.STRING == value_strokeWidth_type) { + valueSerializer.writeInt8(0) + const value_strokeWidth_0 = unsafeCast(value_strokeWidth) + valueSerializer.writeString(value_strokeWidth_0) } - const value_replacedImageSpans = value.replacedImageSpans - valueSerializer.writeInt32(value_replacedImageSpans.length) - for (let i = 0; i < value_replacedImageSpans.length; i++) { - const value_replacedImageSpans_element: RichEditorImageSpanResult = value_replacedImageSpans[i] - valueSerializer.writeRichEditorImageSpanResult(value_replacedImageSpans_element) + else if (RuntimeType.NUMBER == value_strokeWidth_type) { + valueSerializer.writeInt8(1) + const value_strokeWidth_1 = unsafeCast(value_strokeWidth) + valueSerializer.writeNumber(value_strokeWidth_1) } - const value_replacedSymbolSpans = value.replacedSymbolSpans - valueSerializer.writeInt32(value_replacedSymbolSpans.length) - for (let i = 0; i < value_replacedSymbolSpans.length; i++) { - const value_replacedSymbolSpans_element: RichEditorTextSpanResult = value_replacedSymbolSpans[i] - valueSerializer.writeRichEditorTextSpanResult(value_replacedSymbolSpans_element) + else if (RuntimeType.OBJECT == value_strokeWidth_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_2 = unsafeCast(value_strokeWidth) + valueSerializer.writeResource(value_strokeWidth_2) } - } - writeRichEditorSymbolSpanStyle(value: RichEditorSymbolSpanStyle): void { - let valueSerializer: Serializer = this - const value_fontSize = value.fontSize - let value_fontSize_type: int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - let value_fontSize_value_type: int32 = RuntimeType.UNDEFINED - value_fontSize_value_type = runtimeType(value_fontSize_value) - if (RuntimeType.NUMBER == value_fontSize_value_type) { + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontSize_value_0 = unsafeCast(value_fontSize_value) - valueSerializer.writeNumber(value_fontSize_value_0) + const value_color_value_0 = unsafeCast(value_color_value) + valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.STRING == value_fontSize_value_type) { + else if (RuntimeType.NUMBER == value_color_value_type) { valueSerializer.writeInt8(1) - const value_fontSize_value_1 = unsafeCast(value_fontSize_value) - valueSerializer.writeString(value_fontSize_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.OBJECT == value_fontSize_value_type) { + else if (RuntimeType.STRING == value_color_value_type) { valueSerializer.writeInt8(2) - const value_fontSize_value_2 = unsafeCast(value_fontSize_value) - valueSerializer.writeResource(value_fontSize_value_2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) } - } - const value_fontColor = value.fontColor - let value_fontColor_type: int32 = RuntimeType.UNDEFINED - value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type) - if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { - const value_fontColor_value = value_fontColor! - valueSerializer.writeInt32(value_fontColor_value.length) - for (let i = 0; i < value_fontColor_value.length; i++) { - const value_fontColor_value_element: ResourceColor = value_fontColor_value[i] - let value_fontColor_value_element_type: int32 = RuntimeType.UNDEFINED - value_fontColor_value_element_type = runtimeType(value_fontColor_value_element) - if (((RuntimeType.NUMBER) == (value_fontColor_value_element_type)) && ((unsafeCast(value_fontColor_value_element)) >= (0)) && ((unsafeCast(value_fontColor_value_element)) <= (11))) { - valueSerializer.writeInt8(0) - const value_fontColor_value_element_0 = unsafeCast(value_fontColor_value_element) - valueSerializer.writeInt32(value_fontColor_value_element_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_fontColor_value_element_type) { - valueSerializer.writeInt8(1) - const value_fontColor_value_element_1 = unsafeCast(value_fontColor_value_element) - valueSerializer.writeNumber(value_fontColor_value_element_1) - } - else if (RuntimeType.STRING == value_fontColor_value_element_type) { - valueSerializer.writeInt8(2) - const value_fontColor_value_element_2 = unsafeCast(value_fontColor_value_element) - valueSerializer.writeString(value_fontColor_value_element_2) - } - else if (RuntimeType.OBJECT == value_fontColor_value_element_type) { - valueSerializer.writeInt8(3) - const value_fontColor_value_element_3 = unsafeCast(value_fontColor_value_element) - valueSerializer.writeResource(value_fontColor_value_element_3) - } + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) } } - const value_fontWeight = value.fontWeight - let value_fontWeight_type: int32 = RuntimeType.UNDEFINED - value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type) - if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { - const value_fontWeight_value = value_fontWeight! - let value_fontWeight_value_type: int32 = RuntimeType.UNDEFINED - value_fontWeight_value_type = runtimeType(value_fontWeight_value) - if (RuntimeType.NUMBER == value_fontWeight_value_type) { + const value_startMargin = value.startMargin + let value_startMargin_type: int32 = RuntimeType.UNDEFINED + value_startMargin_type = runtimeType(value_startMargin) + valueSerializer.writeInt8(value_startMargin_type) + if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { + const value_startMargin_value = value_startMargin! + let value_startMargin_value_type: int32 = RuntimeType.UNDEFINED + value_startMargin_value_type = runtimeType(value_startMargin_value) + if (RuntimeType.STRING == value_startMargin_value_type) { valueSerializer.writeInt8(0) - const value_fontWeight_value_0 = unsafeCast(value_fontWeight_value) - valueSerializer.writeNumber(value_fontWeight_value_0) + const value_startMargin_value_0 = unsafeCast(value_startMargin_value) + valueSerializer.writeString(value_startMargin_value_0) } - else if (((RuntimeType.NUMBER) == (value_fontWeight_value_type)) && ((unsafeCast(value_fontWeight_value)) >= (0)) && ((unsafeCast(value_fontWeight_value)) <= (5))) { + else if (RuntimeType.NUMBER == value_startMargin_value_type) { valueSerializer.writeInt8(1) - const value_fontWeight_value_1 = unsafeCast(value_fontWeight_value) - valueSerializer.writeInt32(value_fontWeight_value_1.valueOf()) + const value_startMargin_value_1 = unsafeCast(value_startMargin_value) + valueSerializer.writeNumber(value_startMargin_value_1) } - else if (RuntimeType.STRING == value_fontWeight_value_type) { + else if (RuntimeType.OBJECT == value_startMargin_value_type) { valueSerializer.writeInt8(2) - const value_fontWeight_value_2 = unsafeCast(value_fontWeight_value) - valueSerializer.writeString(value_fontWeight_value_2) + const value_startMargin_value_2 = unsafeCast(value_startMargin_value) + valueSerializer.writeResource(value_startMargin_value_2) } } - const value_effectStrategy = value.effectStrategy - let value_effectStrategy_type: int32 = RuntimeType.UNDEFINED - value_effectStrategy_type = runtimeType(value_effectStrategy) - valueSerializer.writeInt8(value_effectStrategy_type) - if ((RuntimeType.UNDEFINED) != (value_effectStrategy_type)) { - const value_effectStrategy_value = value_effectStrategy! - valueSerializer.writeInt32(value_effectStrategy_value.valueOf()) - } - const value_renderingStrategy = value.renderingStrategy - let value_renderingStrategy_type: int32 = RuntimeType.UNDEFINED - value_renderingStrategy_type = runtimeType(value_renderingStrategy) - valueSerializer.writeInt8(value_renderingStrategy_type) - if ((RuntimeType.UNDEFINED) != (value_renderingStrategy_type)) { - const value_renderingStrategy_value = value_renderingStrategy! - valueSerializer.writeInt32(value_renderingStrategy_value.valueOf()) + const value_endMargin = value.endMargin + let value_endMargin_type: int32 = RuntimeType.UNDEFINED + value_endMargin_type = runtimeType(value_endMargin) + valueSerializer.writeInt8(value_endMargin_type) + if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { + const value_endMargin_value = value_endMargin! + let value_endMargin_value_type: int32 = RuntimeType.UNDEFINED + value_endMargin_value_type = runtimeType(value_endMargin_value) + if (RuntimeType.STRING == value_endMargin_value_type) { + valueSerializer.writeInt8(0) + const value_endMargin_value_0 = unsafeCast(value_endMargin_value) + valueSerializer.writeString(value_endMargin_value_0) + } + else if (RuntimeType.NUMBER == value_endMargin_value_type) { + valueSerializer.writeInt8(1) + const value_endMargin_value_1 = unsafeCast(value_endMargin_value) + valueSerializer.writeNumber(value_endMargin_value_1) + } + else if (RuntimeType.OBJECT == value_endMargin_value_type) { + valueSerializer.writeInt8(2) + const value_endMargin_value_2 = unsafeCast(value_endMargin_value) + valueSerializer.writeResource(value_endMargin_value_2) + } } } - writeRichEditorTextStyleResult(value: RichEditorTextStyleResult): void { + public writeDotIndicator(value: DotIndicator): void { let valueSerializer: Serializer = this - const value_fontColor = value.fontColor - let value_fontColor_type: int32 = RuntimeType.UNDEFINED - value_fontColor_type = runtimeType(value_fontColor) - if (((RuntimeType.NUMBER) == (value_fontColor_type)) && ((unsafeCast(value_fontColor)) >= (0)) && ((unsafeCast(value_fontColor)) <= (11))) { - valueSerializer.writeInt8(0) - const value_fontColor_0 = unsafeCast(value_fontColor) - valueSerializer.writeInt32(value_fontColor_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_fontColor_type) { - valueSerializer.writeInt8(1) - const value_fontColor_1 = unsafeCast(value_fontColor) - valueSerializer.writeNumber(value_fontColor_1) - } - else if (RuntimeType.STRING == value_fontColor_type) { - valueSerializer.writeInt8(2) - const value_fontColor_2 = unsafeCast(value_fontColor) - valueSerializer.writeString(value_fontColor_2) + const value__left = value._left + let value__left_type: int32 = RuntimeType.UNDEFINED + value__left_type = runtimeType(value__left) + valueSerializer.writeInt8(value__left_type) + if ((RuntimeType.UNDEFINED) != (value__left_type)) { + const value__left_value = value__left! + let value__left_value_type: int32 = RuntimeType.UNDEFINED + value__left_value_type = runtimeType(value__left_value) + if (RuntimeType.STRING == value__left_value_type) { + valueSerializer.writeInt8(0) + const value__left_value_0 = unsafeCast(value__left_value) + valueSerializer.writeString(value__left_value_0) + } + else if (RuntimeType.NUMBER == value__left_value_type) { + valueSerializer.writeInt8(1) + const value__left_value_1 = unsafeCast(value__left_value) + valueSerializer.writeNumber(value__left_value_1) + } + else if (RuntimeType.OBJECT == value__left_value_type) { + valueSerializer.writeInt8(2) + const value__left_value_2 = unsafeCast(value__left_value) + valueSerializer.writeResource(value__left_value_2) + } } - else if (RuntimeType.OBJECT == value_fontColor_type) { - valueSerializer.writeInt8(3) - const value_fontColor_3 = unsafeCast(value_fontColor) - valueSerializer.writeResource(value_fontColor_3) - } - const value_fontSize = value.fontSize - valueSerializer.writeNumber(value_fontSize) - const value_fontStyle = value.fontStyle - valueSerializer.writeInt32(value_fontStyle.valueOf()) - const value_fontWeight = value.fontWeight - valueSerializer.writeNumber(value_fontWeight) - const value_fontFamily = value.fontFamily - valueSerializer.writeString(value_fontFamily) - const value_decoration = value.decoration - valueSerializer.writeDecorationStyleResult(value_decoration) - const value_textShadow = value.textShadow - let value_textShadow_type: int32 = RuntimeType.UNDEFINED - value_textShadow_type = runtimeType(value_textShadow) - valueSerializer.writeInt8(value_textShadow_type) - if ((RuntimeType.UNDEFINED) != (value_textShadow_type)) { - const value_textShadow_value = value_textShadow! - valueSerializer.writeInt32(value_textShadow_value.length) - for (let i = 0; i < value_textShadow_value.length; i++) { - const value_textShadow_value_element: ShadowOptions = value_textShadow_value[i] - valueSerializer.writeShadowOptions(value_textShadow_value_element) + const value__top = value._top + let value__top_type: int32 = RuntimeType.UNDEFINED + value__top_type = runtimeType(value__top) + valueSerializer.writeInt8(value__top_type) + if ((RuntimeType.UNDEFINED) != (value__top_type)) { + const value__top_value = value__top! + let value__top_value_type: int32 = RuntimeType.UNDEFINED + value__top_value_type = runtimeType(value__top_value) + if (RuntimeType.STRING == value__top_value_type) { + valueSerializer.writeInt8(0) + const value__top_value_0 = unsafeCast(value__top_value) + valueSerializer.writeString(value__top_value_0) + } + else if (RuntimeType.NUMBER == value__top_value_type) { + valueSerializer.writeInt8(1) + const value__top_value_1 = unsafeCast(value__top_value) + valueSerializer.writeNumber(value__top_value_1) + } + else if (RuntimeType.OBJECT == value__top_value_type) { + valueSerializer.writeInt8(2) + const value__top_value_2 = unsafeCast(value__top_value) + valueSerializer.writeResource(value__top_value_2) } } - const value_letterSpacing = value.letterSpacing - let value_letterSpacing_type: int32 = RuntimeType.UNDEFINED - value_letterSpacing_type = runtimeType(value_letterSpacing) - valueSerializer.writeInt8(value_letterSpacing_type) - if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { - const value_letterSpacing_value = value_letterSpacing! - valueSerializer.writeNumber(value_letterSpacing_value) - } - const value_lineHeight = value.lineHeight - let value_lineHeight_type: int32 = RuntimeType.UNDEFINED - value_lineHeight_type = runtimeType(value_lineHeight) - valueSerializer.writeInt8(value_lineHeight_type) - if ((RuntimeType.UNDEFINED) != (value_lineHeight_type)) { - const value_lineHeight_value = value_lineHeight! - valueSerializer.writeNumber(value_lineHeight_value) - } - const value_fontFeature = value.fontFeature - let value_fontFeature_type: int32 = RuntimeType.UNDEFINED - value_fontFeature_type = runtimeType(value_fontFeature) - valueSerializer.writeInt8(value_fontFeature_type) - if ((RuntimeType.UNDEFINED) != (value_fontFeature_type)) { - const value_fontFeature_value = value_fontFeature! - valueSerializer.writeString(value_fontFeature_value) - } - } - writeRichEditorUpdateSymbolSpanStyleOptions(value: RichEditorUpdateSymbolSpanStyleOptions): void { - let valueSerializer: Serializer = this - const value_start = value.start - let value_start_type: int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeNumber(value_start_value) - } - const value_end = value.end - let value_end_type: int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeNumber(value_end_value) - } - const value_symbolStyle = value.symbolStyle - valueSerializer.writeRichEditorSymbolSpanStyle(value_symbolStyle) - } - writeRingStyleOptions(value: RingStyleOptions): void { - let valueSerializer: Serializer = this - const value_enableScanEffect = value.enableScanEffect - let value_enableScanEffect_type: int32 = RuntimeType.UNDEFINED - value_enableScanEffect_type = runtimeType(value_enableScanEffect) - valueSerializer.writeInt8(value_enableScanEffect_type) - if ((RuntimeType.UNDEFINED) != (value_enableScanEffect_type)) { - const value_enableScanEffect_value = value_enableScanEffect! - valueSerializer.writeBoolean(value_enableScanEffect_value) - } - const value_strokeWidth = value.strokeWidth - let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_type = runtimeType(value_strokeWidth) - valueSerializer.writeInt8(value_strokeWidth_type) - if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { - const value_strokeWidth_value = value_strokeWidth! - let value_strokeWidth_value_type: int32 = RuntimeType.UNDEFINED - value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) - if (RuntimeType.STRING == value_strokeWidth_value_type) { + const value__right = value._right + let value__right_type: int32 = RuntimeType.UNDEFINED + value__right_type = runtimeType(value__right) + valueSerializer.writeInt8(value__right_type) + if ((RuntimeType.UNDEFINED) != (value__right_type)) { + const value__right_value = value__right! + let value__right_value_type: int32 = RuntimeType.UNDEFINED + value__right_value_type = runtimeType(value__right_value) + if (RuntimeType.STRING == value__right_value_type) { valueSerializer.writeInt8(0) - const value_strokeWidth_value_0 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeString(value_strokeWidth_value_0) + const value__right_value_0 = unsafeCast(value__right_value) + valueSerializer.writeString(value__right_value_0) } - else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { + else if (RuntimeType.NUMBER == value__right_value_type) { valueSerializer.writeInt8(1) - const value_strokeWidth_value_1 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeNumber(value_strokeWidth_value_1) + const value__right_value_1 = unsafeCast(value__right_value) + valueSerializer.writeNumber(value__right_value_1) } - else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { + else if (RuntimeType.OBJECT == value__right_value_type) { valueSerializer.writeInt8(2) - const value_strokeWidth_value_2 = unsafeCast(value_strokeWidth_value) - valueSerializer.writeResource(value_strokeWidth_value_2) + const value__right_value_2 = unsafeCast(value__right_value) + valueSerializer.writeResource(value__right_value_2) } } - const value_shadow = value.shadow - let value_shadow_type: int32 = RuntimeType.UNDEFINED - value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type) - if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { - const value_shadow_value = value_shadow! - valueSerializer.writeBoolean(value_shadow_value) - } - const value_status = value.status - let value_status_type: int32 = RuntimeType.UNDEFINED - value_status_type = runtimeType(value_status) - valueSerializer.writeInt8(value_status_type) - if ((RuntimeType.UNDEFINED) != (value_status_type)) { - const value_status_value = value_status! - valueSerializer.writeInt32(value_status_value.valueOf()) - } - } - writeSceneOptions(value: SceneOptions): void { - let valueSerializer: Serializer = this - const value_scene = value.scene - let value_scene_type: int32 = RuntimeType.UNDEFINED - value_scene_type = runtimeType(value_scene) - valueSerializer.writeInt8(value_scene_type) - if ((RuntimeType.UNDEFINED) != (value_scene_type)) { - const value_scene_value = value_scene! - let value_scene_value_type: int32 = RuntimeType.UNDEFINED - value_scene_value_type = runtimeType(value_scene_value) - if ((RuntimeType.STRING == value_scene_value_type) || (RuntimeType.OBJECT == value_scene_value_type)) { + const value__bottom = value._bottom + let value__bottom_type: int32 = RuntimeType.UNDEFINED + value__bottom_type = runtimeType(value__bottom) + valueSerializer.writeInt8(value__bottom_type) + if ((RuntimeType.UNDEFINED) != (value__bottom_type)) { + const value__bottom_value = value__bottom! + let value__bottom_value_type: int32 = RuntimeType.UNDEFINED + value__bottom_value_type = runtimeType(value__bottom_value) + if (RuntimeType.STRING == value__bottom_value_type) { valueSerializer.writeInt8(0) - const value_scene_value_0 = unsafeCast(value_scene_value) - let value_scene_value_0_type: int32 = RuntimeType.UNDEFINED - value_scene_value_0_type = runtimeType(value_scene_value_0) - if (RuntimeType.STRING == value_scene_value_0_type) { - valueSerializer.writeInt8(0) - const value_scene_value_0_0 = unsafeCast(value_scene_value_0) - valueSerializer.writeString(value_scene_value_0_0) - } - else if (RuntimeType.OBJECT == value_scene_value_0_type) { - valueSerializer.writeInt8(1) - const value_scene_value_0_1 = unsafeCast(value_scene_value_0) - valueSerializer.writeResource(value_scene_value_0_1) - } + const value__bottom_value_0 = unsafeCast(value__bottom_value) + valueSerializer.writeString(value__bottom_value_0) } - else if (((RuntimeType.OBJECT) == (value_scene_value_type)) && (value_scene_value instanceof Scene)) { + else if (RuntimeType.NUMBER == value__bottom_value_type) { valueSerializer.writeInt8(1) - const value_scene_value_1 = unsafeCast(value_scene_value) - valueSerializer.writeScene(value_scene_value_1) + const value__bottom_value_1 = unsafeCast(value__bottom_value) + valueSerializer.writeNumber(value__bottom_value_1) + } + else if (RuntimeType.OBJECT == value__bottom_value_type) { + valueSerializer.writeInt8(2) + const value__bottom_value_2 = unsafeCast(value__bottom_value) + valueSerializer.writeResource(value__bottom_value_2) } } - const value_modelType = value.modelType - let value_modelType_type: int32 = RuntimeType.UNDEFINED - value_modelType_type = runtimeType(value_modelType) - valueSerializer.writeInt8(value_modelType_type) - if ((RuntimeType.UNDEFINED) != (value_modelType_type)) { - const value_modelType_value = value_modelType! - valueSerializer.writeInt32(value_modelType_value.valueOf()) + const value__start = value._start + let value__start_type: int32 = RuntimeType.UNDEFINED + value__start_type = runtimeType(value__start) + valueSerializer.writeInt8(value__start_type) + if ((RuntimeType.UNDEFINED) != (value__start_type)) { + const value__start_value = value__start! + valueSerializer.writeLengthMetrics(value__start_value) } - } - writeScrollableBarModeOptions(value: ScrollableBarModeOptions): void { - let valueSerializer: Serializer = this - const value_margin = value.margin - let value_margin_type: int32 = RuntimeType.UNDEFINED - value_margin_type = runtimeType(value_margin) - valueSerializer.writeInt8(value_margin_type) - if ((RuntimeType.UNDEFINED) != (value_margin_type)) { - const value_margin_value = value_margin! - let value_margin_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_type = runtimeType(value_margin_value) - if (RuntimeType.STRING == value_margin_value_type) { + const value__end = value._end + let value__end_type: int32 = RuntimeType.UNDEFINED + value__end_type = runtimeType(value__end) + valueSerializer.writeInt8(value__end_type) + if ((RuntimeType.UNDEFINED) != (value__end_type)) { + const value__end_value = value__end! + valueSerializer.writeLengthMetrics(value__end_value) + } + const value__itemWidth = value._itemWidth + let value__itemWidth_type: int32 = RuntimeType.UNDEFINED + value__itemWidth_type = runtimeType(value__itemWidth) + valueSerializer.writeInt8(value__itemWidth_type) + if ((RuntimeType.UNDEFINED) != (value__itemWidth_type)) { + const value__itemWidth_value = value__itemWidth! + let value__itemWidth_value_type: int32 = RuntimeType.UNDEFINED + value__itemWidth_value_type = runtimeType(value__itemWidth_value) + if (RuntimeType.STRING == value__itemWidth_value_type) { valueSerializer.writeInt8(0) - const value_margin_value_0 = unsafeCast(value_margin_value) - valueSerializer.writeString(value_margin_value_0) + const value__itemWidth_value_0 = unsafeCast(value__itemWidth_value) + valueSerializer.writeString(value__itemWidth_value_0) } - else if (RuntimeType.NUMBER == value_margin_value_type) { + else if (RuntimeType.NUMBER == value__itemWidth_value_type) { valueSerializer.writeInt8(1) - const value_margin_value_1 = unsafeCast(value_margin_value) - valueSerializer.writeNumber(value_margin_value_1) + const value__itemWidth_value_1 = unsafeCast(value__itemWidth_value) + valueSerializer.writeNumber(value__itemWidth_value_1) } - else if (RuntimeType.OBJECT == value_margin_value_type) { + else if (RuntimeType.OBJECT == value__itemWidth_value_type) { valueSerializer.writeInt8(2) - const value_margin_value_2 = unsafeCast(value_margin_value) - valueSerializer.writeResource(value_margin_value_2) + const value__itemWidth_value_2 = unsafeCast(value__itemWidth_value) + valueSerializer.writeResource(value__itemWidth_value_2) } } - const value_nonScrollableLayoutStyle = value.nonScrollableLayoutStyle - let value_nonScrollableLayoutStyle_type: int32 = RuntimeType.UNDEFINED - value_nonScrollableLayoutStyle_type = runtimeType(value_nonScrollableLayoutStyle) - valueSerializer.writeInt8(value_nonScrollableLayoutStyle_type) - if ((RuntimeType.UNDEFINED) != (value_nonScrollableLayoutStyle_type)) { - const value_nonScrollableLayoutStyle_value = value_nonScrollableLayoutStyle! - valueSerializer.writeInt32(value_nonScrollableLayoutStyle_value.valueOf()) - } - } - writeScrollOptions(value: ScrollOptions): void { - let valueSerializer: Serializer = this - const value_xOffset = value.xOffset - let value_xOffset_type: int32 = RuntimeType.UNDEFINED - value_xOffset_type = runtimeType(value_xOffset) - if (RuntimeType.NUMBER == value_xOffset_type) { - valueSerializer.writeInt8(0) - const value_xOffset_0 = unsafeCast(value_xOffset) - valueSerializer.writeNumber(value_xOffset_0) - } - else if (RuntimeType.STRING == value_xOffset_type) { - valueSerializer.writeInt8(1) - const value_xOffset_1 = unsafeCast(value_xOffset) - valueSerializer.writeString(value_xOffset_1) - } - const value_yOffset = value.yOffset - let value_yOffset_type: int32 = RuntimeType.UNDEFINED - value_yOffset_type = runtimeType(value_yOffset) - if (RuntimeType.NUMBER == value_yOffset_type) { - valueSerializer.writeInt8(0) - const value_yOffset_0 = unsafeCast(value_yOffset) - valueSerializer.writeNumber(value_yOffset_0) + const value__itemHeight = value._itemHeight + let value__itemHeight_type: int32 = RuntimeType.UNDEFINED + value__itemHeight_type = runtimeType(value__itemHeight) + valueSerializer.writeInt8(value__itemHeight_type) + if ((RuntimeType.UNDEFINED) != (value__itemHeight_type)) { + const value__itemHeight_value = value__itemHeight! + let value__itemHeight_value_type: int32 = RuntimeType.UNDEFINED + value__itemHeight_value_type = runtimeType(value__itemHeight_value) + if (RuntimeType.STRING == value__itemHeight_value_type) { + valueSerializer.writeInt8(0) + const value__itemHeight_value_0 = unsafeCast(value__itemHeight_value) + valueSerializer.writeString(value__itemHeight_value_0) + } + else if (RuntimeType.NUMBER == value__itemHeight_value_type) { + valueSerializer.writeInt8(1) + const value__itemHeight_value_1 = unsafeCast(value__itemHeight_value) + valueSerializer.writeNumber(value__itemHeight_value_1) + } + else if (RuntimeType.OBJECT == value__itemHeight_value_type) { + valueSerializer.writeInt8(2) + const value__itemHeight_value_2 = unsafeCast(value__itemHeight_value) + valueSerializer.writeResource(value__itemHeight_value_2) + } } - else if (RuntimeType.STRING == value_yOffset_type) { - valueSerializer.writeInt8(1) - const value_yOffset_1 = unsafeCast(value_yOffset) - valueSerializer.writeString(value_yOffset_1) + const value__selectedItemWidth = value._selectedItemWidth + let value__selectedItemWidth_type: int32 = RuntimeType.UNDEFINED + value__selectedItemWidth_type = runtimeType(value__selectedItemWidth) + valueSerializer.writeInt8(value__selectedItemWidth_type) + if ((RuntimeType.UNDEFINED) != (value__selectedItemWidth_type)) { + const value__selectedItemWidth_value = value__selectedItemWidth! + let value__selectedItemWidth_value_type: int32 = RuntimeType.UNDEFINED + value__selectedItemWidth_value_type = runtimeType(value__selectedItemWidth_value) + if (RuntimeType.STRING == value__selectedItemWidth_value_type) { + valueSerializer.writeInt8(0) + const value__selectedItemWidth_value_0 = unsafeCast(value__selectedItemWidth_value) + valueSerializer.writeString(value__selectedItemWidth_value_0) + } + else if (RuntimeType.NUMBER == value__selectedItemWidth_value_type) { + valueSerializer.writeInt8(1) + const value__selectedItemWidth_value_1 = unsafeCast(value__selectedItemWidth_value) + valueSerializer.writeNumber(value__selectedItemWidth_value_1) + } + else if (RuntimeType.OBJECT == value__selectedItemWidth_value_type) { + valueSerializer.writeInt8(2) + const value__selectedItemWidth_value_2 = unsafeCast(value__selectedItemWidth_value) + valueSerializer.writeResource(value__selectedItemWidth_value_2) + } } - const value_animation = value.animation - let value_animation_type: int32 = RuntimeType.UNDEFINED - value_animation_type = runtimeType(value_animation) - valueSerializer.writeInt8(value_animation_type) - if ((RuntimeType.UNDEFINED) != (value_animation_type)) { - const value_animation_value = value_animation! - let value_animation_value_type: int32 = RuntimeType.UNDEFINED - value_animation_value_type = runtimeType(value_animation_value) - if (RuntimeType.OBJECT == value_animation_value_type) { + const value__selectedItemHeight = value._selectedItemHeight + let value__selectedItemHeight_type: int32 = RuntimeType.UNDEFINED + value__selectedItemHeight_type = runtimeType(value__selectedItemHeight) + valueSerializer.writeInt8(value__selectedItemHeight_type) + if ((RuntimeType.UNDEFINED) != (value__selectedItemHeight_type)) { + const value__selectedItemHeight_value = value__selectedItemHeight! + let value__selectedItemHeight_value_type: int32 = RuntimeType.UNDEFINED + value__selectedItemHeight_value_type = runtimeType(value__selectedItemHeight_value) + if (RuntimeType.STRING == value__selectedItemHeight_value_type) { valueSerializer.writeInt8(0) - const value_animation_value_0 = unsafeCast(value_animation_value) - valueSerializer.writeScrollAnimationOptions(value_animation_value_0) + const value__selectedItemHeight_value_0 = unsafeCast(value__selectedItemHeight_value) + valueSerializer.writeString(value__selectedItemHeight_value_0) } - else if (RuntimeType.BOOLEAN == value_animation_value_type) { + else if (RuntimeType.NUMBER == value__selectedItemHeight_value_type) { valueSerializer.writeInt8(1) - const value_animation_value_1 = unsafeCast(value_animation_value) - valueSerializer.writeBoolean(value_animation_value_1) + const value__selectedItemHeight_value_1 = unsafeCast(value__selectedItemHeight_value) + valueSerializer.writeNumber(value__selectedItemHeight_value_1) + } + else if (RuntimeType.OBJECT == value__selectedItemHeight_value_type) { + valueSerializer.writeInt8(2) + const value__selectedItemHeight_value_2 = unsafeCast(value__selectedItemHeight_value) + valueSerializer.writeResource(value__selectedItemHeight_value_2) } } - } - writeScrollToIndexOptions(value: ScrollToIndexOptions): void { - let valueSerializer: Serializer = this - const value_extraOffset = value.extraOffset - let value_extraOffset_type: int32 = RuntimeType.UNDEFINED - value_extraOffset_type = runtimeType(value_extraOffset) - valueSerializer.writeInt8(value_extraOffset_type) - if ((RuntimeType.UNDEFINED) != (value_extraOffset_type)) { - const value_extraOffset_value = value_extraOffset! - valueSerializer.writeLengthMetrics(value_extraOffset_value) + const value__mask = value._mask + let value__mask_type: int32 = RuntimeType.UNDEFINED + value__mask_type = runtimeType(value__mask) + valueSerializer.writeInt8(value__mask_type) + if ((RuntimeType.UNDEFINED) != (value__mask_type)) { + const value__mask_value = value__mask! + valueSerializer.writeBoolean(value__mask_value) } - } - writeSearchButtonOptions(value: SearchButtonOptions): void { - let valueSerializer: Serializer = this - const value_fontSize = value.fontSize - let value_fontSize_type: int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - let value_fontSize_value_type: int32 = RuntimeType.UNDEFINED - value_fontSize_value_type = runtimeType(value_fontSize_value) - if (RuntimeType.STRING == value_fontSize_value_type) { + const value__color = value._color + let value__color_type: int32 = RuntimeType.UNDEFINED + value__color_type = runtimeType(value__color) + valueSerializer.writeInt8(value__color_type) + if ((RuntimeType.UNDEFINED) != (value__color_type)) { + const value__color_value = value__color! + let value__color_value_type: int32 = RuntimeType.UNDEFINED + value__color_value_type = runtimeType(value__color_value) + if (((RuntimeType.NUMBER) == (value__color_value_type)) && ((unsafeCast(value__color_value)) >= (0)) && ((unsafeCast(value__color_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontSize_value_0 = unsafeCast(value_fontSize_value) - valueSerializer.writeString(value_fontSize_value_0) + const value__color_value_0 = unsafeCast(value__color_value) + valueSerializer.writeInt32(value__color_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_fontSize_value_type) { + else if (RuntimeType.NUMBER == value__color_value_type) { valueSerializer.writeInt8(1) - const value_fontSize_value_1 = unsafeCast(value_fontSize_value) - valueSerializer.writeNumber(value_fontSize_value_1) + const value__color_value_1 = unsafeCast(value__color_value) + valueSerializer.writeNumber(value__color_value_1) } - else if (RuntimeType.OBJECT == value_fontSize_value_type) { + else if (RuntimeType.STRING == value__color_value_type) { valueSerializer.writeInt8(2) - const value_fontSize_value_2 = unsafeCast(value_fontSize_value) - valueSerializer.writeResource(value_fontSize_value_2) + const value__color_value_2 = unsafeCast(value__color_value) + valueSerializer.writeString(value__color_value_2) + } + else if (RuntimeType.OBJECT == value__color_value_type) { + valueSerializer.writeInt8(3) + const value__color_value_3 = unsafeCast(value__color_value) + valueSerializer.writeResource(value__color_value_3) } } - const value_fontColor = value.fontColor - let value_fontColor_type: int32 = RuntimeType.UNDEFINED - value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type) - if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { - const value_fontColor_value = value_fontColor! - let value_fontColor_value_type: int32 = RuntimeType.UNDEFINED - value_fontColor_value_type = runtimeType(value_fontColor_value) - if (((RuntimeType.NUMBER) == (value_fontColor_value_type)) && ((unsafeCast(value_fontColor_value)) >= (0)) && ((unsafeCast(value_fontColor_value)) <= (11))) { + const value__selectedColor = value._selectedColor + let value__selectedColor_type: int32 = RuntimeType.UNDEFINED + value__selectedColor_type = runtimeType(value__selectedColor) + valueSerializer.writeInt8(value__selectedColor_type) + if ((RuntimeType.UNDEFINED) != (value__selectedColor_type)) { + const value__selectedColor_value = value__selectedColor! + let value__selectedColor_value_type: int32 = RuntimeType.UNDEFINED + value__selectedColor_value_type = runtimeType(value__selectedColor_value) + if (((RuntimeType.NUMBER) == (value__selectedColor_value_type)) && ((unsafeCast(value__selectedColor_value)) >= (0)) && ((unsafeCast(value__selectedColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontColor_value_0 = unsafeCast(value_fontColor_value) - valueSerializer.writeInt32(value_fontColor_value_0.valueOf()) + const value__selectedColor_value_0 = unsafeCast(value__selectedColor_value) + valueSerializer.writeInt32(value__selectedColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_fontColor_value_type) { + else if (RuntimeType.NUMBER == value__selectedColor_value_type) { valueSerializer.writeInt8(1) - const value_fontColor_value_1 = unsafeCast(value_fontColor_value) - valueSerializer.writeNumber(value_fontColor_value_1) + const value__selectedColor_value_1 = unsafeCast(value__selectedColor_value) + valueSerializer.writeNumber(value__selectedColor_value_1) } - else if (RuntimeType.STRING == value_fontColor_value_type) { + else if (RuntimeType.STRING == value__selectedColor_value_type) { valueSerializer.writeInt8(2) - const value_fontColor_value_2 = unsafeCast(value_fontColor_value) - valueSerializer.writeString(value_fontColor_value_2) + const value__selectedColor_value_2 = unsafeCast(value__selectedColor_value) + valueSerializer.writeString(value__selectedColor_value_2) } - else if (RuntimeType.OBJECT == value_fontColor_value_type) { + else if (RuntimeType.OBJECT == value__selectedColor_value_type) { valueSerializer.writeInt8(3) - const value_fontColor_value_3 = unsafeCast(value_fontColor_value) - valueSerializer.writeResource(value_fontColor_value_3) + const value__selectedColor_value_3 = unsafeCast(value__selectedColor_value) + valueSerializer.writeResource(value__selectedColor_value_3) } } - const value_autoDisable = value.autoDisable - let value_autoDisable_type: int32 = RuntimeType.UNDEFINED - value_autoDisable_type = runtimeType(value_autoDisable) - valueSerializer.writeInt8(value_autoDisable_type) - if ((RuntimeType.UNDEFINED) != (value_autoDisable_type)) { - const value_autoDisable_value = value_autoDisable! - valueSerializer.writeBoolean(value_autoDisable_value) + const value__maxDisplayCount = value._maxDisplayCount + let value__maxDisplayCount_type: int32 = RuntimeType.UNDEFINED + value__maxDisplayCount_type = runtimeType(value__maxDisplayCount) + valueSerializer.writeInt8(value__maxDisplayCount_type) + if ((RuntimeType.UNDEFINED) != (value__maxDisplayCount_type)) { + const value__maxDisplayCount_value = value__maxDisplayCount! + valueSerializer.writeNumber(value__maxDisplayCount_value) + } + const value__space = value._space + let value__space_type: int32 = RuntimeType.UNDEFINED + value__space_type = runtimeType(value__space) + valueSerializer.writeInt8(value__space_type) + if ((RuntimeType.UNDEFINED) != (value__space_type)) { + const value__space_value = value__space! + valueSerializer.writeLengthMetrics(value__space_value) } } - writeSearchOptions(value: SearchOptions): void { + public writeEdgeOutlineWidths(value: EdgeOutlineWidths): void { let valueSerializer: Serializer = this - const value_value = value.value - let value_value_type: int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - valueSerializer.writeInt8(value_value_type) - if ((RuntimeType.UNDEFINED) != (value_value_type)) { - const value_value_value = value_value! - valueSerializer.writeString(value_value_value) - } - const value_placeholder = value.placeholder - let value_placeholder_type: int32 = RuntimeType.UNDEFINED - value_placeholder_type = runtimeType(value_placeholder) - valueSerializer.writeInt8(value_placeholder_type) - if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { - const value_placeholder_value = value_placeholder! - let value_placeholder_value_type: int32 = RuntimeType.UNDEFINED - value_placeholder_value_type = runtimeType(value_placeholder_value) - if (RuntimeType.STRING == value_placeholder_value_type) { + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type: int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.STRING == value_top_value_type) { valueSerializer.writeInt8(0) - const value_placeholder_value_0 = unsafeCast(value_placeholder_value) - valueSerializer.writeString(value_placeholder_value_0) + const value_top_value_0 = unsafeCast(value_top_value) + valueSerializer.writeString(value_top_value_0) } - else if (RuntimeType.OBJECT == value_placeholder_value_type) { + else if (RuntimeType.NUMBER == value_top_value_type) { valueSerializer.writeInt8(1) - const value_placeholder_value_1 = unsafeCast(value_placeholder_value) - valueSerializer.writeResource(value_placeholder_value_1) - } - } - const value_icon = value.icon - let value_icon_type: int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - valueSerializer.writeString(value_icon_value) - } - const value_controller = value.controller - let value_controller_type: int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type) - if ((RuntimeType.UNDEFINED) != (value_controller_type)) { - const value_controller_value = value_controller! - valueSerializer.writeSearchController(value_controller_value) - } - } - writeSelectOption(value: SelectOption): void { - let valueSerializer: Serializer = this - const value_value = value.value - let value_value_type: int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0) - const value_value_0 = unsafeCast(value_value) - valueSerializer.writeString(value_value_0) - } - else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1) - const value_value_1 = unsafeCast(value_value) - valueSerializer.writeResource(value_value_1) - } - const value_icon = value.icon - let value_icon_type: int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - let value_icon_value_type: int32 = RuntimeType.UNDEFINED - value_icon_value_type = runtimeType(value_icon_value) - if (RuntimeType.STRING == value_icon_value_type) { - valueSerializer.writeInt8(0) - const value_icon_value_0 = unsafeCast(value_icon_value) - valueSerializer.writeString(value_icon_value_0) + const value_top_value_1 = unsafeCast(value_top_value) + valueSerializer.writeNumber(value_top_value_1) } - else if (RuntimeType.OBJECT == value_icon_value_type) { - valueSerializer.writeInt8(1) - const value_icon_value_1 = unsafeCast(value_icon_value) - valueSerializer.writeResource(value_icon_value_1) + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(2) + const value_top_value_2 = unsafeCast(value_top_value) + valueSerializer.writeResource(value_top_value_2) } } - const value_symbolIcon = value.symbolIcon - let value_symbolIcon_type: int32 = RuntimeType.UNDEFINED - value_symbolIcon_type = runtimeType(value_symbolIcon) - valueSerializer.writeInt8(value_symbolIcon_type) - if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { - const value_symbolIcon_value = value_symbolIcon! - valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) - } - } - writeShadowOptions(value: ShadowOptions): void { - let valueSerializer: Serializer = this - const value_radius = value.radius - let value_radius_type: int32 = RuntimeType.UNDEFINED - value_radius_type = runtimeType(value_radius) - if (RuntimeType.NUMBER == value_radius_type) { - valueSerializer.writeInt8(0) - const value_radius_0 = unsafeCast(value_radius) - valueSerializer.writeNumber(value_radius_0) - } - else if (RuntimeType.OBJECT == value_radius_type) { - valueSerializer.writeInt8(1) - const value_radius_1 = unsafeCast(value_radius) - valueSerializer.writeResource(value_radius_1) - } - const value_type = value.type - let value_type_type: int32 = RuntimeType.UNDEFINED - value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type) - if ((RuntimeType.UNDEFINED) != (value_type_type)) { - const value_type_value = value_type! - valueSerializer.writeInt32(value_type_value.valueOf()) - } - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (RuntimeType.NUMBER == value_color_value_type) { + const value_right = value.right + let value_right_type: int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type: int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (RuntimeType.STRING == value_right_value_type) { valueSerializer.writeInt8(0) - const value_color_value_0 = unsafeCast(value_color_value) - valueSerializer.writeInt32(value_color_value_0.valueOf()) + const value_right_value_0 = unsafeCast(value_right_value) + valueSerializer.writeString(value_right_value_0) } - else if (RuntimeType.STRING == value_color_value_type) { + else if (RuntimeType.NUMBER == value_right_value_type) { valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_1) + const value_right_value_1 = unsafeCast(value_right_value) + valueSerializer.writeNumber(value_right_value_1) } - else if (RuntimeType.OBJECT == value_color_value_type) { + else if (RuntimeType.OBJECT == value_right_value_type) { valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_2) - } - else if (((RuntimeType.STRING) == (value_color_value_type)) && ((Object.values(ColoringStrategy).indexOf((value_color_value as ColoringStrategy))) >= (0)) && ((Object.values(ColoringStrategy).indexOf((value_color_value as ColoringStrategy))) <= (2))) { - valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeInt32(Object.values(ColoringStrategy).indexOf(value_color_value_3)) + const value_right_value_2 = unsafeCast(value_right_value) + valueSerializer.writeResource(value_right_value_2) } } - const value_offsetX = value.offsetX - let value_offsetX_type: int32 = RuntimeType.UNDEFINED - value_offsetX_type = runtimeType(value_offsetX) - valueSerializer.writeInt8(value_offsetX_type) - if ((RuntimeType.UNDEFINED) != (value_offsetX_type)) { - const value_offsetX_value = value_offsetX! - let value_offsetX_value_type: int32 = RuntimeType.UNDEFINED - value_offsetX_value_type = runtimeType(value_offsetX_value) - if (RuntimeType.NUMBER == value_offsetX_value_type) { + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type: int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (RuntimeType.STRING == value_bottom_value_type) { valueSerializer.writeInt8(0) - const value_offsetX_value_0 = unsafeCast(value_offsetX_value) - valueSerializer.writeNumber(value_offsetX_value_0) + const value_bottom_value_0 = unsafeCast(value_bottom_value) + valueSerializer.writeString(value_bottom_value_0) } - else if (RuntimeType.OBJECT == value_offsetX_value_type) { + else if (RuntimeType.NUMBER == value_bottom_value_type) { valueSerializer.writeInt8(1) - const value_offsetX_value_1 = unsafeCast(value_offsetX_value) - valueSerializer.writeResource(value_offsetX_value_1) + const value_bottom_value_1 = unsafeCast(value_bottom_value) + valueSerializer.writeNumber(value_bottom_value_1) + } + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = unsafeCast(value_bottom_value) + valueSerializer.writeResource(value_bottom_value_2) } } - const value_offsetY = value.offsetY - let value_offsetY_type: int32 = RuntimeType.UNDEFINED - value_offsetY_type = runtimeType(value_offsetY) - valueSerializer.writeInt8(value_offsetY_type) - if ((RuntimeType.UNDEFINED) != (value_offsetY_type)) { - const value_offsetY_value = value_offsetY! - let value_offsetY_value_type: int32 = RuntimeType.UNDEFINED - value_offsetY_value_type = runtimeType(value_offsetY_value) - if (RuntimeType.NUMBER == value_offsetY_value_type) { + const value_left = value.left + let value_left_type: int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type: int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.STRING == value_left_value_type) { valueSerializer.writeInt8(0) - const value_offsetY_value_0 = unsafeCast(value_offsetY_value) - valueSerializer.writeNumber(value_offsetY_value_0) + const value_left_value_0 = unsafeCast(value_left_value) + valueSerializer.writeString(value_left_value_0) } - else if (RuntimeType.OBJECT == value_offsetY_value_type) { + else if (RuntimeType.NUMBER == value_left_value_type) { valueSerializer.writeInt8(1) - const value_offsetY_value_1 = unsafeCast(value_offsetY_value) - valueSerializer.writeResource(value_offsetY_value_1) + const value_left_value_1 = unsafeCast(value_left_value) + valueSerializer.writeNumber(value_left_value_1) + } + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = unsafeCast(value_left_value) + valueSerializer.writeResource(value_left_value_2) } - } - const value_fill = value.fill - let value_fill_type: int32 = RuntimeType.UNDEFINED - value_fill_type = runtimeType(value_fill) - valueSerializer.writeInt8(value_fill_type) - if ((RuntimeType.UNDEFINED) != (value_fill_type)) { - const value_fill_value = value_fill! - valueSerializer.writeBoolean(value_fill_value) } } - writesharedTransitionOptions(value: sharedTransitionOptions): void { + public writeEdges(value: Edges): void { let valueSerializer: Serializer = this - const value_duration = value.duration - let value_duration_type: int32 = RuntimeType.UNDEFINED - value_duration_type = runtimeType(value_duration) - valueSerializer.writeInt8(value_duration_type) - if ((RuntimeType.UNDEFINED) != (value_duration_type)) { - const value_duration_value = value_duration! - valueSerializer.writeNumber(value_duration_value) - } - const value_curve = value.curve - let value_curve_type: int32 = RuntimeType.UNDEFINED - value_curve_type = runtimeType(value_curve) - valueSerializer.writeInt8(value_curve_type) - if ((RuntimeType.UNDEFINED) != (value_curve_type)) { - const value_curve_value = value_curve! - let value_curve_value_type: int32 = RuntimeType.UNDEFINED - value_curve_value_type = runtimeType(value_curve_value) - if (RuntimeType.NUMBER == value_curve_value_type) { + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type: int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.STRING == value_top_value_type) { valueSerializer.writeInt8(0) - const value_curve_value_0 = unsafeCast(value_curve_value) - valueSerializer.writeInt32(value_curve_value_0.valueOf()) + const value_top_value_0 = unsafeCast(value_top_value) + valueSerializer.writeString(value_top_value_0) } - else if (RuntimeType.STRING == value_curve_value_type) { + else if (RuntimeType.NUMBER == value_top_value_type) { valueSerializer.writeInt8(1) - const value_curve_value_1 = unsafeCast(value_curve_value) - valueSerializer.writeString(value_curve_value_1) + const value_top_value_1 = unsafeCast(value_top_value) + valueSerializer.writeNumber(value_top_value_1) } - else if (RuntimeType.OBJECT == value_curve_value_type) { + else if (RuntimeType.OBJECT == value_top_value_type) { valueSerializer.writeInt8(2) - const value_curve_value_2 = unsafeCast(value_curve_value) - valueSerializer.writeICurve(value_curve_value_2) + const value_top_value_2 = unsafeCast(value_top_value) + valueSerializer.writeResource(value_top_value_2) } } - const value_delay = value.delay - let value_delay_type: int32 = RuntimeType.UNDEFINED - value_delay_type = runtimeType(value_delay) - valueSerializer.writeInt8(value_delay_type) - if ((RuntimeType.UNDEFINED) != (value_delay_type)) { - const value_delay_value = value_delay! - valueSerializer.writeNumber(value_delay_value) - } - const value_motionPath = value.motionPath - let value_motionPath_type: int32 = RuntimeType.UNDEFINED - value_motionPath_type = runtimeType(value_motionPath) - valueSerializer.writeInt8(value_motionPath_type) - if ((RuntimeType.UNDEFINED) != (value_motionPath_type)) { - const value_motionPath_value = value_motionPath! - valueSerializer.writeMotionPathOptions(value_motionPath_value) - } - const value_zIndex = value.zIndex - let value_zIndex_type: int32 = RuntimeType.UNDEFINED - value_zIndex_type = runtimeType(value_zIndex) - valueSerializer.writeInt8(value_zIndex_type) - if ((RuntimeType.UNDEFINED) != (value_zIndex_type)) { - const value_zIndex_value = value_zIndex! - valueSerializer.writeNumber(value_zIndex_value) - } - const value_type = value.type - let value_type_type: int32 = RuntimeType.UNDEFINED - value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type) - if ((RuntimeType.UNDEFINED) != (value_type_type)) { - const value_type_value = value_type! - valueSerializer.writeInt32(value_type_value.valueOf()) - } - } - writeSheetInfo(value: SheetInfo): void { - let valueSerializer: Serializer = this - const value_title = value.title - let value_title_type: int32 = RuntimeType.UNDEFINED - value_title_type = runtimeType(value_title) - if (RuntimeType.STRING == value_title_type) { - valueSerializer.writeInt8(0) - const value_title_0 = unsafeCast(value_title) - valueSerializer.writeString(value_title_0) - } - else if (RuntimeType.OBJECT == value_title_type) { - valueSerializer.writeInt8(1) - const value_title_1 = unsafeCast(value_title) - valueSerializer.writeResource(value_title_1) - } - const value_icon = value.icon - let value_icon_type: int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - let value_icon_value_type: int32 = RuntimeType.UNDEFINED - value_icon_value_type = runtimeType(value_icon_value) - if (RuntimeType.STRING == value_icon_value_type) { + const value_left = value.left + let value_left_type: int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type: int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.STRING == value_left_value_type) { valueSerializer.writeInt8(0) - const value_icon_value_0 = unsafeCast(value_icon_value) - valueSerializer.writeString(value_icon_value_0) + const value_left_value_0 = unsafeCast(value_left_value) + valueSerializer.writeString(value_left_value_0) } - else if (RuntimeType.OBJECT == value_icon_value_type) { + else if (RuntimeType.NUMBER == value_left_value_type) { valueSerializer.writeInt8(1) - const value_icon_value_1 = unsafeCast(value_icon_value) - valueSerializer.writeResource(value_icon_value_1) + const value_left_value_1 = unsafeCast(value_left_value) + valueSerializer.writeNumber(value_left_value_1) + } + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = unsafeCast(value_left_value) + valueSerializer.writeResource(value_left_value_2) } } - const value_action = value.action - valueSerializer.holdAndWriteCallback(value_action) - } - writeSheetTitleOptions(value: SheetTitleOptions): void { - let valueSerializer: Serializer = this - const value_title = value.title - let value_title_type: int32 = RuntimeType.UNDEFINED - value_title_type = runtimeType(value_title) - if (RuntimeType.STRING == value_title_type) { - valueSerializer.writeInt8(0) - const value_title_0 = unsafeCast(value_title) - valueSerializer.writeString(value_title_0) - } - else if (RuntimeType.OBJECT == value_title_type) { - valueSerializer.writeInt8(1) - const value_title_1 = unsafeCast(value_title) - valueSerializer.writeResource(value_title_1) + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type: int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (RuntimeType.STRING == value_bottom_value_type) { + valueSerializer.writeInt8(0) + const value_bottom_value_0 = unsafeCast(value_bottom_value) + valueSerializer.writeString(value_bottom_value_0) + } + else if (RuntimeType.NUMBER == value_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_bottom_value_1 = unsafeCast(value_bottom_value) + valueSerializer.writeNumber(value_bottom_value_1) + } + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = unsafeCast(value_bottom_value) + valueSerializer.writeResource(value_bottom_value_2) + } } - const value_subtitle = value.subtitle - let value_subtitle_type: int32 = RuntimeType.UNDEFINED - value_subtitle_type = runtimeType(value_subtitle) - valueSerializer.writeInt8(value_subtitle_type) - if ((RuntimeType.UNDEFINED) != (value_subtitle_type)) { - const value_subtitle_value = value_subtitle! - let value_subtitle_value_type: int32 = RuntimeType.UNDEFINED - value_subtitle_value_type = runtimeType(value_subtitle_value) - if (RuntimeType.STRING == value_subtitle_value_type) { + const value_right = value.right + let value_right_type: int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type: int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (RuntimeType.STRING == value_right_value_type) { valueSerializer.writeInt8(0) - const value_subtitle_value_0 = unsafeCast(value_subtitle_value) - valueSerializer.writeString(value_subtitle_value_0) + const value_right_value_0 = unsafeCast(value_right_value) + valueSerializer.writeString(value_right_value_0) } - else if (RuntimeType.OBJECT == value_subtitle_value_type) { + else if (RuntimeType.NUMBER == value_right_value_type) { valueSerializer.writeInt8(1) - const value_subtitle_value_1 = unsafeCast(value_subtitle_value) - valueSerializer.writeResource(value_subtitle_value_1) + const value_right_value_1 = unsafeCast(value_right_value) + valueSerializer.writeNumber(value_right_value_1) + } + else if (RuntimeType.OBJECT == value_right_value_type) { + valueSerializer.writeInt8(2) + const value_right_value_2 = unsafeCast(value_right_value) + valueSerializer.writeResource(value_right_value_2) } } } - writeSizeOptions(value: SizeOptions): void { + public writeEdgeWidths(value: EdgeWidths): void { let valueSerializer: Serializer = this - const value_width = value.width - let value_width_type: int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type: int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.STRING == value_top_value_type) { valueSerializer.writeInt8(0) - const value_width_value_0 = unsafeCast(value_width_value) - valueSerializer.writeString(value_width_value_0) + const value_top_value_0 = unsafeCast(value_top_value) + valueSerializer.writeString(value_top_value_0) } - else if (RuntimeType.NUMBER == value_width_value_type) { + else if (RuntimeType.NUMBER == value_top_value_type) { valueSerializer.writeInt8(1) - const value_width_value_1 = unsafeCast(value_width_value) - valueSerializer.writeNumber(value_width_value_1) + const value_top_value_1 = unsafeCast(value_top_value) + valueSerializer.writeNumber(value_top_value_1) } - else if (RuntimeType.OBJECT == value_width_value_type) { + else if (RuntimeType.OBJECT == value_top_value_type) { valueSerializer.writeInt8(2) - const value_width_value_2 = unsafeCast(value_width_value) - valueSerializer.writeResource(value_width_value_2) + const value_top_value_2 = unsafeCast(value_top_value) + valueSerializer.writeResource(value_top_value_2) } } - const value_height = value.height - let value_height_type: int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type: int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (RuntimeType.STRING == value_height_value_type) { + const value_right = value.right + let value_right_type: int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type: int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (RuntimeType.STRING == value_right_value_type) { valueSerializer.writeInt8(0) - const value_height_value_0 = unsafeCast(value_height_value) - valueSerializer.writeString(value_height_value_0) + const value_right_value_0 = unsafeCast(value_right_value) + valueSerializer.writeString(value_right_value_0) } - else if (RuntimeType.NUMBER == value_height_value_type) { + else if (RuntimeType.NUMBER == value_right_value_type) { valueSerializer.writeInt8(1) - const value_height_value_1 = unsafeCast(value_height_value) - valueSerializer.writeNumber(value_height_value_1) + const value_right_value_1 = unsafeCast(value_right_value) + valueSerializer.writeNumber(value_right_value_1) } - else if (RuntimeType.OBJECT == value_height_value_type) { + else if (RuntimeType.OBJECT == value_right_value_type) { valueSerializer.writeInt8(2) - const value_height_value_2 = unsafeCast(value_height_value) - valueSerializer.writeResource(value_height_value_2) + const value_right_value_2 = unsafeCast(value_right_value) + valueSerializer.writeResource(value_right_value_2) } } - } - writeSliderBlockStyle(value: SliderBlockStyle): void { - let valueSerializer: Serializer = this - const value_type = value.type - valueSerializer.writeInt32(value_type.valueOf()) - const value_image = value.image - let value_image_type: int32 = RuntimeType.UNDEFINED - value_image_type = runtimeType(value_image) - valueSerializer.writeInt8(value_image_type) - if ((RuntimeType.UNDEFINED) != (value_image_type)) { - const value_image_value = value_image! - let value_image_value_type: int32 = RuntimeType.UNDEFINED - value_image_value_type = runtimeType(value_image_value) - if (RuntimeType.STRING == value_image_value_type) { + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type: int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (RuntimeType.STRING == value_bottom_value_type) { valueSerializer.writeInt8(0) - const value_image_value_0 = unsafeCast(value_image_value) - valueSerializer.writeString(value_image_value_0) + const value_bottom_value_0 = unsafeCast(value_bottom_value) + valueSerializer.writeString(value_bottom_value_0) } - else if (RuntimeType.OBJECT == value_image_value_type) { + else if (RuntimeType.NUMBER == value_bottom_value_type) { valueSerializer.writeInt8(1) - const value_image_value_1 = unsafeCast(value_image_value) - valueSerializer.writeResource(value_image_value_1) + const value_bottom_value_1 = unsafeCast(value_bottom_value) + valueSerializer.writeNumber(value_bottom_value_1) + } + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = unsafeCast(value_bottom_value) + valueSerializer.writeResource(value_bottom_value_2) } } - const value_shape = value.shape - let value_shape_type: int32 = RuntimeType.UNDEFINED - value_shape_type = runtimeType(value_shape) - valueSerializer.writeInt8(value_shape_type) - if ((RuntimeType.UNDEFINED) != (value_shape_type)) { - const value_shape_value = value_shape! - valueSerializer.writeString(value_shape_value) - } - } - writeStyledStringChangeValue(value: StyledStringChangeValue): void { - let valueSerializer: Serializer = this - const value_range = value.range - valueSerializer.writeTextRange(value_range) - const value_replacementString = value.replacementString - valueSerializer.writeStyledString(value_replacementString) - const value_previewText = value.previewText + const value_left = value.left + let value_left_type: int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type: int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.STRING == value_left_value_type) { + valueSerializer.writeInt8(0) + const value_left_value_0 = unsafeCast(value_left_value) + valueSerializer.writeString(value_left_value_0) + } + else if (RuntimeType.NUMBER == value_left_value_type) { + valueSerializer.writeInt8(1) + const value_left_value_1 = unsafeCast(value_left_value) + valueSerializer.writeNumber(value_left_value_1) + } + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = unsafeCast(value_left_value) + valueSerializer.writeResource(value_left_value_2) + } + } + } + public writeEditableTextChangeValue(value: EditableTextChangeValue): void { + let valueSerializer: Serializer = this + const value_content = value.content + valueSerializer.writeString(value_content) + const value_previewText = value.previewText let value_previewText_type: int32 = RuntimeType.UNDEFINED value_previewText_type = runtimeType(value_previewText) valueSerializer.writeInt8(value_previewText_type) if ((RuntimeType.UNDEFINED) != (value_previewText_type)) { const value_previewText_value = value_previewText! - valueSerializer.writeStyledString(value_previewText_value) + valueSerializer.writePreviewText(value_previewText_value) + } + const value_options = value.options + let value_options_type: int32 = RuntimeType.UNDEFINED + value_options_type = runtimeType(value_options) + valueSerializer.writeInt8(value_options_type) + if ((RuntimeType.UNDEFINED) != (value_options_type)) { + const value_options_value = value_options! + valueSerializer.writeTextChangeOptions(value_options_value) } } - writeSwipeActionItem(value: SwipeActionItem): void { + public writeFlexOptions(value: FlexOptions): void { let valueSerializer: Serializer = this - const value_builder = value.builder - let value_builder_type: int32 = RuntimeType.UNDEFINED - value_builder_type = runtimeType(value_builder) - valueSerializer.writeInt8(value_builder_type) - if ((RuntimeType.UNDEFINED) != (value_builder_type)) { - const value_builder_value = value_builder! - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) + const value_direction = value.direction + let value_direction_type: int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + valueSerializer.writeInt8(value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = value_direction! + valueSerializer.writeInt32(value_direction_value.valueOf()) } - const value_actionAreaDistance = value.actionAreaDistance - let value_actionAreaDistance_type: int32 = RuntimeType.UNDEFINED - value_actionAreaDistance_type = runtimeType(value_actionAreaDistance) - valueSerializer.writeInt8(value_actionAreaDistance_type) - if ((RuntimeType.UNDEFINED) != (value_actionAreaDistance_type)) { - const value_actionAreaDistance_value = value_actionAreaDistance! - let value_actionAreaDistance_value_type: int32 = RuntimeType.UNDEFINED - value_actionAreaDistance_value_type = runtimeType(value_actionAreaDistance_value) - if (RuntimeType.STRING == value_actionAreaDistance_value_type) { - valueSerializer.writeInt8(0) - const value_actionAreaDistance_value_0 = unsafeCast(value_actionAreaDistance_value) - valueSerializer.writeString(value_actionAreaDistance_value_0) - } - else if (RuntimeType.NUMBER == value_actionAreaDistance_value_type) { - valueSerializer.writeInt8(1) - const value_actionAreaDistance_value_1 = unsafeCast(value_actionAreaDistance_value) - valueSerializer.writeNumber(value_actionAreaDistance_value_1) - } - else if (RuntimeType.OBJECT == value_actionAreaDistance_value_type) { - valueSerializer.writeInt8(2) - const value_actionAreaDistance_value_2 = unsafeCast(value_actionAreaDistance_value) - valueSerializer.writeResource(value_actionAreaDistance_value_2) - } + const value_wrap = value.wrap + let value_wrap_type: int32 = RuntimeType.UNDEFINED + value_wrap_type = runtimeType(value_wrap) + valueSerializer.writeInt8(value_wrap_type) + if ((RuntimeType.UNDEFINED) != (value_wrap_type)) { + const value_wrap_value = value_wrap! + valueSerializer.writeInt32(value_wrap_value.valueOf()) } - const value_onAction = value.onAction - let value_onAction_type: int32 = RuntimeType.UNDEFINED - value_onAction_type = runtimeType(value_onAction) - valueSerializer.writeInt8(value_onAction_type) - if ((RuntimeType.UNDEFINED) != (value_onAction_type)) { - const value_onAction_value = value_onAction! - valueSerializer.holdAndWriteCallback(value_onAction_value) + const value_justifyContent = value.justifyContent + let value_justifyContent_type: int32 = RuntimeType.UNDEFINED + value_justifyContent_type = runtimeType(value_justifyContent) + valueSerializer.writeInt8(value_justifyContent_type) + if ((RuntimeType.UNDEFINED) != (value_justifyContent_type)) { + const value_justifyContent_value = value_justifyContent! + valueSerializer.writeInt32(value_justifyContent_value.valueOf()) } - const value_onEnterActionArea = value.onEnterActionArea - let value_onEnterActionArea_type: int32 = RuntimeType.UNDEFINED - value_onEnterActionArea_type = runtimeType(value_onEnterActionArea) - valueSerializer.writeInt8(value_onEnterActionArea_type) - if ((RuntimeType.UNDEFINED) != (value_onEnterActionArea_type)) { - const value_onEnterActionArea_value = value_onEnterActionArea! - valueSerializer.holdAndWriteCallback(value_onEnterActionArea_value) + const value_alignItems = value.alignItems + let value_alignItems_type: int32 = RuntimeType.UNDEFINED + value_alignItems_type = runtimeType(value_alignItems) + valueSerializer.writeInt8(value_alignItems_type) + if ((RuntimeType.UNDEFINED) != (value_alignItems_type)) { + const value_alignItems_value = value_alignItems! + valueSerializer.writeInt32(value_alignItems_value.valueOf()) } - const value_onExitActionArea = value.onExitActionArea - let value_onExitActionArea_type: int32 = RuntimeType.UNDEFINED - value_onExitActionArea_type = runtimeType(value_onExitActionArea) - valueSerializer.writeInt8(value_onExitActionArea_type) - if ((RuntimeType.UNDEFINED) != (value_onExitActionArea_type)) { - const value_onExitActionArea_value = value_onExitActionArea! - valueSerializer.holdAndWriteCallback(value_onExitActionArea_value) + const value_alignContent = value.alignContent + let value_alignContent_type: int32 = RuntimeType.UNDEFINED + value_alignContent_type = runtimeType(value_alignContent) + valueSerializer.writeInt8(value_alignContent_type) + if ((RuntimeType.UNDEFINED) != (value_alignContent_type)) { + const value_alignContent_value = value_alignContent! + valueSerializer.writeInt32(value_alignContent_value.valueOf()) } - const value_onStateChange = value.onStateChange - let value_onStateChange_type: int32 = RuntimeType.UNDEFINED - value_onStateChange_type = runtimeType(value_onStateChange) - valueSerializer.writeInt8(value_onStateChange_type) - if ((RuntimeType.UNDEFINED) != (value_onStateChange_type)) { - const value_onStateChange_value = value_onStateChange! - valueSerializer.holdAndWriteCallback(value_onStateChange_value) + const value_space = value.space + let value_space_type: int32 = RuntimeType.UNDEFINED + value_space_type = runtimeType(value_space) + valueSerializer.writeInt8(value_space_type) + if ((RuntimeType.UNDEFINED) != (value_space_type)) { + const value_space_value = value_space! + valueSerializer.writeFlexSpaceOptions(value_space_value) } } - writeSwitchStyle(value: SwitchStyle): void { + public writeFont(value: Font): void { let valueSerializer: Serializer = this - const value_pointRadius = value.pointRadius - let value_pointRadius_type: int32 = RuntimeType.UNDEFINED - value_pointRadius_type = runtimeType(value_pointRadius) - valueSerializer.writeInt8(value_pointRadius_type) - if ((RuntimeType.UNDEFINED) != (value_pointRadius_type)) { - const value_pointRadius_value = value_pointRadius! - let value_pointRadius_value_type: int32 = RuntimeType.UNDEFINED - value_pointRadius_value_type = runtimeType(value_pointRadius_value) - if (RuntimeType.NUMBER == value_pointRadius_value_type) { - valueSerializer.writeInt8(0) - const value_pointRadius_value_0 = unsafeCast(value_pointRadius_value) - valueSerializer.writeNumber(value_pointRadius_value_0) - } - else if (RuntimeType.OBJECT == value_pointRadius_value_type) { - valueSerializer.writeInt8(1) - const value_pointRadius_value_1 = unsafeCast(value_pointRadius_value) - valueSerializer.writeResource(value_pointRadius_value_1) - } - } - const value_unselectedColor = value.unselectedColor - let value_unselectedColor_type: int32 = RuntimeType.UNDEFINED - value_unselectedColor_type = runtimeType(value_unselectedColor) - valueSerializer.writeInt8(value_unselectedColor_type) - if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { - const value_unselectedColor_value = value_unselectedColor! - let value_unselectedColor_value_type: int32 = RuntimeType.UNDEFINED - value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) - if (((RuntimeType.NUMBER) == (value_unselectedColor_value_type)) && ((unsafeCast(value_unselectedColor_value)) >= (0)) && ((unsafeCast(value_unselectedColor_value)) <= (11))) { + const value_size = value.size + let value_size_type: int32 = RuntimeType.UNDEFINED + value_size_type = runtimeType(value_size) + valueSerializer.writeInt8(value_size_type) + if ((RuntimeType.UNDEFINED) != (value_size_type)) { + const value_size_value = value_size! + let value_size_value_type: int32 = RuntimeType.UNDEFINED + value_size_value_type = runtimeType(value_size_value) + if (RuntimeType.STRING == value_size_value_type) { valueSerializer.writeInt8(0) - const value_unselectedColor_value_0 = unsafeCast(value_unselectedColor_value) - valueSerializer.writeInt32(value_unselectedColor_value_0.valueOf()) + const value_size_value_0 = unsafeCast(value_size_value) + valueSerializer.writeString(value_size_value_0) } - else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { + else if (RuntimeType.NUMBER == value_size_value_type) { valueSerializer.writeInt8(1) - const value_unselectedColor_value_1 = unsafeCast(value_unselectedColor_value) - valueSerializer.writeNumber(value_unselectedColor_value_1) + const value_size_value_1 = unsafeCast(value_size_value) + valueSerializer.writeNumber(value_size_value_1) } - else if (RuntimeType.STRING == value_unselectedColor_value_type) { + else if (RuntimeType.OBJECT == value_size_value_type) { valueSerializer.writeInt8(2) - const value_unselectedColor_value_2 = unsafeCast(value_unselectedColor_value) - valueSerializer.writeString(value_unselectedColor_value_2) - } - else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { - valueSerializer.writeInt8(3) - const value_unselectedColor_value_3 = unsafeCast(value_unselectedColor_value) - valueSerializer.writeResource(value_unselectedColor_value_3) + const value_size_value_2 = unsafeCast(value_size_value) + valueSerializer.writeResource(value_size_value_2) } } - const value_pointColor = value.pointColor - let value_pointColor_type: int32 = RuntimeType.UNDEFINED - value_pointColor_type = runtimeType(value_pointColor) - valueSerializer.writeInt8(value_pointColor_type) - if ((RuntimeType.UNDEFINED) != (value_pointColor_type)) { - const value_pointColor_value = value_pointColor! - let value_pointColor_value_type: int32 = RuntimeType.UNDEFINED - value_pointColor_value_type = runtimeType(value_pointColor_value) - if (((RuntimeType.NUMBER) == (value_pointColor_value_type)) && ((unsafeCast(value_pointColor_value)) >= (0)) && ((unsafeCast(value_pointColor_value)) <= (11))) { + const value_weight = value.weight + let value_weight_type: int32 = RuntimeType.UNDEFINED + value_weight_type = runtimeType(value_weight) + valueSerializer.writeInt8(value_weight_type) + if ((RuntimeType.UNDEFINED) != (value_weight_type)) { + const value_weight_value = value_weight! + let value_weight_value_type: int32 = RuntimeType.UNDEFINED + value_weight_value_type = runtimeType(value_weight_value) + if (((RuntimeType.NUMBER) == (value_weight_value_type)) && ((unsafeCast(value_weight_value)) >= (0)) && ((unsafeCast(value_weight_value)) <= (5))) { valueSerializer.writeInt8(0) - const value_pointColor_value_0 = unsafeCast(value_pointColor_value) - valueSerializer.writeInt32(value_pointColor_value_0.valueOf()) + const value_weight_value_0 = unsafeCast(value_weight_value) + valueSerializer.writeInt32(value_weight_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_pointColor_value_type) { + else if (RuntimeType.NUMBER == value_weight_value_type) { valueSerializer.writeInt8(1) - const value_pointColor_value_1 = unsafeCast(value_pointColor_value) - valueSerializer.writeNumber(value_pointColor_value_1) + const value_weight_value_1 = unsafeCast(value_weight_value) + valueSerializer.writeNumber(value_weight_value_1) } - else if (RuntimeType.STRING == value_pointColor_value_type) { + else if (RuntimeType.STRING == value_weight_value_type) { valueSerializer.writeInt8(2) - const value_pointColor_value_2 = unsafeCast(value_pointColor_value) - valueSerializer.writeString(value_pointColor_value_2) - } - else if (RuntimeType.OBJECT == value_pointColor_value_type) { - valueSerializer.writeInt8(3) - const value_pointColor_value_3 = unsafeCast(value_pointColor_value) - valueSerializer.writeResource(value_pointColor_value_3) + const value_weight_value_2 = unsafeCast(value_weight_value) + valueSerializer.writeString(value_weight_value_2) } } - const value_trackBorderRadius = value.trackBorderRadius - let value_trackBorderRadius_type: int32 = RuntimeType.UNDEFINED - value_trackBorderRadius_type = runtimeType(value_trackBorderRadius) - valueSerializer.writeInt8(value_trackBorderRadius_type) - if ((RuntimeType.UNDEFINED) != (value_trackBorderRadius_type)) { - const value_trackBorderRadius_value = value_trackBorderRadius! - let value_trackBorderRadius_value_type: int32 = RuntimeType.UNDEFINED - value_trackBorderRadius_value_type = runtimeType(value_trackBorderRadius_value) - if (RuntimeType.NUMBER == value_trackBorderRadius_value_type) { + const value_family = value.family + let value_family_type: int32 = RuntimeType.UNDEFINED + value_family_type = runtimeType(value_family) + valueSerializer.writeInt8(value_family_type) + if ((RuntimeType.UNDEFINED) != (value_family_type)) { + const value_family_value = value_family! + let value_family_value_type: int32 = RuntimeType.UNDEFINED + value_family_value_type = runtimeType(value_family_value) + if (RuntimeType.STRING == value_family_value_type) { valueSerializer.writeInt8(0) - const value_trackBorderRadius_value_0 = unsafeCast(value_trackBorderRadius_value) - valueSerializer.writeNumber(value_trackBorderRadius_value_0) + const value_family_value_0 = unsafeCast(value_family_value) + valueSerializer.writeString(value_family_value_0) } - else if (RuntimeType.OBJECT == value_trackBorderRadius_value_type) { + else if (RuntimeType.OBJECT == value_family_value_type) { valueSerializer.writeInt8(1) - const value_trackBorderRadius_value_1 = unsafeCast(value_trackBorderRadius_value) - valueSerializer.writeResource(value_trackBorderRadius_value_1) + const value_family_value_1 = unsafeCast(value_family_value) + valueSerializer.writeResource(value_family_value_1) } } - } - writeTabBarIconStyle(value: TabBarIconStyle): void { - let valueSerializer: Serializer = this - const value_selectedColor = value.selectedColor - let value_selectedColor_type: int32 = RuntimeType.UNDEFINED - value_selectedColor_type = runtimeType(value_selectedColor) - valueSerializer.writeInt8(value_selectedColor_type) - if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { - const value_selectedColor_value = value_selectedColor! - let value_selectedColor_value_type: int32 = RuntimeType.UNDEFINED - value_selectedColor_value_type = runtimeType(value_selectedColor_value) - if (((RuntimeType.NUMBER) == (value_selectedColor_value_type)) && ((unsafeCast(value_selectedColor_value)) >= (0)) && ((unsafeCast(value_selectedColor_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_selectedColor_value_0 = unsafeCast(value_selectedColor_value) - valueSerializer.writeInt32(value_selectedColor_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_selectedColor_value_type) { - valueSerializer.writeInt8(1) - const value_selectedColor_value_1 = unsafeCast(value_selectedColor_value) - valueSerializer.writeNumber(value_selectedColor_value_1) - } - else if (RuntimeType.STRING == value_selectedColor_value_type) { - valueSerializer.writeInt8(2) - const value_selectedColor_value_2 = unsafeCast(value_selectedColor_value) - valueSerializer.writeString(value_selectedColor_value_2) - } - else if (RuntimeType.OBJECT == value_selectedColor_value_type) { - valueSerializer.writeInt8(3) - const value_selectedColor_value_3 = unsafeCast(value_selectedColor_value) - valueSerializer.writeResource(value_selectedColor_value_3) - } - } - const value_unselectedColor = value.unselectedColor - let value_unselectedColor_type: int32 = RuntimeType.UNDEFINED - value_unselectedColor_type = runtimeType(value_unselectedColor) - valueSerializer.writeInt8(value_unselectedColor_type) - if ((RuntimeType.UNDEFINED) != (value_unselectedColor_type)) { - const value_unselectedColor_value = value_unselectedColor! - let value_unselectedColor_value_type: int32 = RuntimeType.UNDEFINED - value_unselectedColor_value_type = runtimeType(value_unselectedColor_value) - if (((RuntimeType.NUMBER) == (value_unselectedColor_value_type)) && ((unsafeCast(value_unselectedColor_value)) >= (0)) && ((unsafeCast(value_unselectedColor_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_unselectedColor_value_0 = unsafeCast(value_unselectedColor_value) - valueSerializer.writeInt32(value_unselectedColor_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_unselectedColor_value_type) { - valueSerializer.writeInt8(1) - const value_unselectedColor_value_1 = unsafeCast(value_unselectedColor_value) - valueSerializer.writeNumber(value_unselectedColor_value_1) - } - else if (RuntimeType.STRING == value_unselectedColor_value_type) { - valueSerializer.writeInt8(2) - const value_unselectedColor_value_2 = unsafeCast(value_unselectedColor_value) - valueSerializer.writeString(value_unselectedColor_value_2) - } - else if (RuntimeType.OBJECT == value_unselectedColor_value_type) { - valueSerializer.writeInt8(3) - const value_unselectedColor_value_3 = unsafeCast(value_unselectedColor_value) - valueSerializer.writeResource(value_unselectedColor_value_3) - } + const value_style = value.style + let value_style_type: int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = value_style! + valueSerializer.writeInt32(value_style_value.valueOf()) } } - writeTabBarOptions(value: TabBarOptions): void { + public writeGaugeIndicatorOptions(value: GaugeIndicatorOptions): void { let valueSerializer: Serializer = this const value_icon = value.icon let value_icon_type: int32 = RuntimeType.UNDEFINED @@ -15335,1206 +16391,2607 @@ export class Serializer extends SerializerBase { valueSerializer.writeResource(value_icon_value_1) } } - const value_text = value.text - let value_text_type: int32 = RuntimeType.UNDEFINED - value_text_type = runtimeType(value_text) - valueSerializer.writeInt8(value_text_type) - if ((RuntimeType.UNDEFINED) != (value_text_type)) { - const value_text_value = value_text! - let value_text_value_type: int32 = RuntimeType.UNDEFINED - value_text_value_type = runtimeType(value_text_value) - if (RuntimeType.STRING == value_text_value_type) { + const value_space = value.space + let value_space_type: int32 = RuntimeType.UNDEFINED + value_space_type = runtimeType(value_space) + valueSerializer.writeInt8(value_space_type) + if ((RuntimeType.UNDEFINED) != (value_space_type)) { + const value_space_value = value_space! + let value_space_value_type: int32 = RuntimeType.UNDEFINED + value_space_value_type = runtimeType(value_space_value) + if (RuntimeType.STRING == value_space_value_type) { valueSerializer.writeInt8(0) - const value_text_value_0 = unsafeCast(value_text_value) - valueSerializer.writeString(value_text_value_0) + const value_space_value_0 = unsafeCast(value_space_value) + valueSerializer.writeString(value_space_value_0) } - else if (RuntimeType.OBJECT == value_text_value_type) { + else if (RuntimeType.NUMBER == value_space_value_type) { valueSerializer.writeInt8(1) - const value_text_value_1 = unsafeCast(value_text_value) - valueSerializer.writeResource(value_text_value_1) + const value_space_value_1 = unsafeCast(value_space_value) + valueSerializer.writeNumber(value_space_value_1) + } + else if (RuntimeType.OBJECT == value_space_value_type) { + valueSerializer.writeInt8(2) + const value_space_value_2 = unsafeCast(value_space_value) + valueSerializer.writeResource(value_space_value_2) } } } - writeTerminationInfo(value: TerminationInfo): void { - let valueSerializer: Serializer = this - const value_code = value.code - valueSerializer.writeNumber(value_code) - const value_want = value.want - let value_want_type: int32 = RuntimeType.UNDEFINED - value_want_type = runtimeType(value_want) - valueSerializer.writeInt8(value_want_type) - if ((RuntimeType.UNDEFINED) != (value_want_type)) { - const value_want_value = value_want! - valueSerializer.writeWant(value_want_value) - } - } - writeTextAreaOptions(value: TextAreaOptions): void { + public writeGridRowSizeOption(value: GridRowSizeOption): void { let valueSerializer: Serializer = this - const value_placeholder = value.placeholder - let value_placeholder_type: int32 = RuntimeType.UNDEFINED - value_placeholder_type = runtimeType(value_placeholder) - valueSerializer.writeInt8(value_placeholder_type) - if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { - const value_placeholder_value = value_placeholder! - let value_placeholder_value_type: int32 = RuntimeType.UNDEFINED - value_placeholder_value_type = runtimeType(value_placeholder_value) - if (RuntimeType.STRING == value_placeholder_value_type) { + const value_xs = value.xs + let value_xs_type: int32 = RuntimeType.UNDEFINED + value_xs_type = runtimeType(value_xs) + valueSerializer.writeInt8(value_xs_type) + if ((RuntimeType.UNDEFINED) != (value_xs_type)) { + const value_xs_value = value_xs! + let value_xs_value_type: int32 = RuntimeType.UNDEFINED + value_xs_value_type = runtimeType(value_xs_value) + if (RuntimeType.STRING == value_xs_value_type) { valueSerializer.writeInt8(0) - const value_placeholder_value_0 = unsafeCast(value_placeholder_value) - valueSerializer.writeString(value_placeholder_value_0) + const value_xs_value_0 = unsafeCast(value_xs_value) + valueSerializer.writeString(value_xs_value_0) } - else if (RuntimeType.OBJECT == value_placeholder_value_type) { + else if (RuntimeType.NUMBER == value_xs_value_type) { valueSerializer.writeInt8(1) - const value_placeholder_value_1 = unsafeCast(value_placeholder_value) - valueSerializer.writeResource(value_placeholder_value_1) + const value_xs_value_1 = unsafeCast(value_xs_value) + valueSerializer.writeNumber(value_xs_value_1) + } + else if (RuntimeType.OBJECT == value_xs_value_type) { + valueSerializer.writeInt8(2) + const value_xs_value_2 = unsafeCast(value_xs_value) + valueSerializer.writeResource(value_xs_value_2) } } - const value_text = value.text - let value_text_type: int32 = RuntimeType.UNDEFINED - value_text_type = runtimeType(value_text) - valueSerializer.writeInt8(value_text_type) - if ((RuntimeType.UNDEFINED) != (value_text_type)) { - const value_text_value = value_text! - let value_text_value_type: int32 = RuntimeType.UNDEFINED - value_text_value_type = runtimeType(value_text_value) - if (RuntimeType.STRING == value_text_value_type) { + const value_sm = value.sm + let value_sm_type: int32 = RuntimeType.UNDEFINED + value_sm_type = runtimeType(value_sm) + valueSerializer.writeInt8(value_sm_type) + if ((RuntimeType.UNDEFINED) != (value_sm_type)) { + const value_sm_value = value_sm! + let value_sm_value_type: int32 = RuntimeType.UNDEFINED + value_sm_value_type = runtimeType(value_sm_value) + if (RuntimeType.STRING == value_sm_value_type) { valueSerializer.writeInt8(0) - const value_text_value_0 = unsafeCast(value_text_value) - valueSerializer.writeString(value_text_value_0) + const value_sm_value_0 = unsafeCast(value_sm_value) + valueSerializer.writeString(value_sm_value_0) } - else if (RuntimeType.OBJECT == value_text_value_type) { + else if (RuntimeType.NUMBER == value_sm_value_type) { valueSerializer.writeInt8(1) - const value_text_value_1 = unsafeCast(value_text_value) - valueSerializer.writeResource(value_text_value_1) + const value_sm_value_1 = unsafeCast(value_sm_value) + valueSerializer.writeNumber(value_sm_value_1) } - } - const value_controller = value.controller - let value_controller_type: int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type) - if ((RuntimeType.UNDEFINED) != (value_controller_type)) { - const value_controller_value = value_controller! - valueSerializer.writeTextAreaController(value_controller_value) - } - } - writeTextCascadePickerRangeContent(value: TextCascadePickerRangeContent): void { - let valueSerializer: Serializer = this - const value_text = value.text - let value_text_type: int32 = RuntimeType.UNDEFINED - value_text_type = runtimeType(value_text) - if (RuntimeType.STRING == value_text_type) { - valueSerializer.writeInt8(0) - const value_text_0 = unsafeCast(value_text) - valueSerializer.writeString(value_text_0) - } - else if (RuntimeType.OBJECT == value_text_type) { - valueSerializer.writeInt8(1) - const value_text_1 = unsafeCast(value_text) - valueSerializer.writeResource(value_text_1) - } - const value_children = value.children - let value_children_type: int32 = RuntimeType.UNDEFINED - value_children_type = runtimeType(value_children) - valueSerializer.writeInt8(value_children_type) - if ((RuntimeType.UNDEFINED) != (value_children_type)) { - const value_children_value = value_children! - valueSerializer.writeInt32(value_children_value.length) - for (let i = 0; i < value_children_value.length; i++) { - const value_children_value_element: TextCascadePickerRangeContent = value_children_value[i] - valueSerializer.writeTextCascadePickerRangeContent(value_children_value_element) + else if (RuntimeType.OBJECT == value_sm_value_type) { + valueSerializer.writeInt8(2) + const value_sm_value_2 = unsafeCast(value_sm_value) + valueSerializer.writeResource(value_sm_value_2) } } - } - writeTextDecorationOptions(value: TextDecorationOptions): void { - let valueSerializer: Serializer = this - const value_type = value.type - valueSerializer.writeInt32(value_type.valueOf()) - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - let value_color_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_type = runtimeType(value_color_value) - if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { + const value_md = value.md + let value_md_type: int32 = RuntimeType.UNDEFINED + value_md_type = runtimeType(value_md) + valueSerializer.writeInt8(value_md_type) + if ((RuntimeType.UNDEFINED) != (value_md_type)) { + const value_md_value = value_md! + let value_md_value_type: int32 = RuntimeType.UNDEFINED + value_md_value_type = runtimeType(value_md_value) + if (RuntimeType.STRING == value_md_value_type) { valueSerializer.writeInt8(0) - const value_color_value_0 = unsafeCast(value_color_value) - valueSerializer.writeInt32(value_color_value_0.valueOf()) + const value_md_value_0 = unsafeCast(value_md_value) + valueSerializer.writeString(value_md_value_0) } - else if (RuntimeType.NUMBER == value_color_value_type) { + else if (RuntimeType.NUMBER == value_md_value_type) { valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeNumber(value_color_value_1) + const value_md_value_1 = unsafeCast(value_md_value) + valueSerializer.writeNumber(value_md_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { + else if (RuntimeType.OBJECT == value_md_value_type) { valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_3) + const value_md_value_2 = unsafeCast(value_md_value) + valueSerializer.writeResource(value_md_value_2) } } - const value_style = value.style - let value_style_type: int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = value_style! - valueSerializer.writeInt32(value_style_value.valueOf()) - } - } - writeTextInputOptions(value: TextInputOptions): void { - let valueSerializer: Serializer = this - const value_placeholder = value.placeholder - let value_placeholder_type: int32 = RuntimeType.UNDEFINED - value_placeholder_type = runtimeType(value_placeholder) - valueSerializer.writeInt8(value_placeholder_type) - if ((RuntimeType.UNDEFINED) != (value_placeholder_type)) { - const value_placeholder_value = value_placeholder! - let value_placeholder_value_type: int32 = RuntimeType.UNDEFINED - value_placeholder_value_type = runtimeType(value_placeholder_value) - if (RuntimeType.STRING == value_placeholder_value_type) { + const value_lg = value.lg + let value_lg_type: int32 = RuntimeType.UNDEFINED + value_lg_type = runtimeType(value_lg) + valueSerializer.writeInt8(value_lg_type) + if ((RuntimeType.UNDEFINED) != (value_lg_type)) { + const value_lg_value = value_lg! + let value_lg_value_type: int32 = RuntimeType.UNDEFINED + value_lg_value_type = runtimeType(value_lg_value) + if (RuntimeType.STRING == value_lg_value_type) { valueSerializer.writeInt8(0) - const value_placeholder_value_0 = unsafeCast(value_placeholder_value) - valueSerializer.writeString(value_placeholder_value_0) + const value_lg_value_0 = unsafeCast(value_lg_value) + valueSerializer.writeString(value_lg_value_0) } - else if (RuntimeType.OBJECT == value_placeholder_value_type) { + else if (RuntimeType.NUMBER == value_lg_value_type) { valueSerializer.writeInt8(1) - const value_placeholder_value_1 = unsafeCast(value_placeholder_value) - valueSerializer.writeResource(value_placeholder_value_1) + const value_lg_value_1 = unsafeCast(value_lg_value) + valueSerializer.writeNumber(value_lg_value_1) + } + else if (RuntimeType.OBJECT == value_lg_value_type) { + valueSerializer.writeInt8(2) + const value_lg_value_2 = unsafeCast(value_lg_value) + valueSerializer.writeResource(value_lg_value_2) } } - const value_text = value.text - let value_text_type: int32 = RuntimeType.UNDEFINED - value_text_type = runtimeType(value_text) - valueSerializer.writeInt8(value_text_type) - if ((RuntimeType.UNDEFINED) != (value_text_type)) { - const value_text_value = value_text! - let value_text_value_type: int32 = RuntimeType.UNDEFINED - value_text_value_type = runtimeType(value_text_value) - if (RuntimeType.STRING == value_text_value_type) { + const value_xl = value.xl + let value_xl_type: int32 = RuntimeType.UNDEFINED + value_xl_type = runtimeType(value_xl) + valueSerializer.writeInt8(value_xl_type) + if ((RuntimeType.UNDEFINED) != (value_xl_type)) { + const value_xl_value = value_xl! + let value_xl_value_type: int32 = RuntimeType.UNDEFINED + value_xl_value_type = runtimeType(value_xl_value) + if (RuntimeType.STRING == value_xl_value_type) { valueSerializer.writeInt8(0) - const value_text_value_0 = unsafeCast(value_text_value) - valueSerializer.writeString(value_text_value_0) + const value_xl_value_0 = unsafeCast(value_xl_value) + valueSerializer.writeString(value_xl_value_0) } - else if (RuntimeType.OBJECT == value_text_value_type) { + else if (RuntimeType.NUMBER == value_xl_value_type) { valueSerializer.writeInt8(1) - const value_text_value_1 = unsafeCast(value_text_value) - valueSerializer.writeResource(value_text_value_1) + const value_xl_value_1 = unsafeCast(value_xl_value) + valueSerializer.writeNumber(value_xl_value_1) + } + else if (RuntimeType.OBJECT == value_xl_value_type) { + valueSerializer.writeInt8(2) + const value_xl_value_2 = unsafeCast(value_xl_value) + valueSerializer.writeResource(value_xl_value_2) } } - const value_controller = value.controller - let value_controller_type: int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type) - if ((RuntimeType.UNDEFINED) != (value_controller_type)) { - const value_controller_value = value_controller! - valueSerializer.writeTextInputController(value_controller_value) - } - } - writeTextMenuItem(value: TextMenuItem): void { - let valueSerializer: Serializer = this - const value_content = value.content - let value_content_type: int32 = RuntimeType.UNDEFINED - value_content_type = runtimeType(value_content) - if (RuntimeType.STRING == value_content_type) { - valueSerializer.writeInt8(0) - const value_content_0 = unsafeCast(value_content) - valueSerializer.writeString(value_content_0) - } - else if (RuntimeType.OBJECT == value_content_type) { - valueSerializer.writeInt8(1) - const value_content_1 = unsafeCast(value_content) - valueSerializer.writeResource(value_content_1) - } - const value_icon = value.icon - let value_icon_type: int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - let value_icon_value_type: int32 = RuntimeType.UNDEFINED - value_icon_value_type = runtimeType(value_icon_value) - if (RuntimeType.STRING == value_icon_value_type) { + const value_xxl = value.xxl + let value_xxl_type: int32 = RuntimeType.UNDEFINED + value_xxl_type = runtimeType(value_xxl) + valueSerializer.writeInt8(value_xxl_type) + if ((RuntimeType.UNDEFINED) != (value_xxl_type)) { + const value_xxl_value = value_xxl! + let value_xxl_value_type: int32 = RuntimeType.UNDEFINED + value_xxl_value_type = runtimeType(value_xxl_value) + if (RuntimeType.STRING == value_xxl_value_type) { valueSerializer.writeInt8(0) - const value_icon_value_0 = unsafeCast(value_icon_value) - valueSerializer.writeString(value_icon_value_0) + const value_xxl_value_0 = unsafeCast(value_xxl_value) + valueSerializer.writeString(value_xxl_value_0) } - else if (RuntimeType.OBJECT == value_icon_value_type) { + else if (RuntimeType.NUMBER == value_xxl_value_type) { valueSerializer.writeInt8(1) - const value_icon_value_1 = unsafeCast(value_icon_value) - valueSerializer.writeResource(value_icon_value_1) + const value_xxl_value_1 = unsafeCast(value_xxl_value) + valueSerializer.writeNumber(value_xxl_value_1) + } + else if (RuntimeType.OBJECT == value_xxl_value_type) { + valueSerializer.writeInt8(2) + const value_xxl_value_2 = unsafeCast(value_xxl_value) + valueSerializer.writeResource(value_xxl_value_2) } } - const value_id = value.id - valueSerializer.writeTextMenuItemId(value_id) } - writeTextPickerOptions(value: TextPickerOptions): void { + public writeGuideLinePosition(value: GuideLinePosition): void { let valueSerializer: Serializer = this - const value_range = value.range - let value_range_type: int32 = RuntimeType.UNDEFINED - value_range_type = runtimeType(value_range) - if (((RuntimeType.OBJECT) == (value_range_type)) && (value_range instanceof Array)) { - valueSerializer.writeInt8(0) - const value_range_0 = unsafeCast>(value_range) - valueSerializer.writeInt32(value_range_0.length) - for (let i = 0; i < value_range_0.length; i++) { - const value_range_0_element: string = value_range_0[i] - valueSerializer.writeString(value_range_0_element) - } - } - else if (((RuntimeType.OBJECT) == (value_range_type)) && (value_range instanceof Array>)) { - valueSerializer.writeInt8(1) - const value_range_1 = unsafeCast>>(value_range) - valueSerializer.writeInt32(value_range_1.length) - for (let i = 0; i < value_range_1.length; i++) { - const value_range_1_element: Array = value_range_1[i] - valueSerializer.writeInt32(value_range_1_element.length) - for (let i = 0; i < value_range_1_element.length; i++) { - const value_range_1_element_element: string = value_range_1_element[i] - valueSerializer.writeString(value_range_1_element_element) - } - } - } - else if (((RuntimeType.OBJECT) == (value_range_type)) && ((value_range!.hasOwnProperty("bundleName")))) { - valueSerializer.writeInt8(2) - const value_range_2 = unsafeCast(value_range) - valueSerializer.writeResource(value_range_2) - } - else if (((RuntimeType.OBJECT) == (value_range_type)) && (value_range instanceof Array)) { - valueSerializer.writeInt8(3) - const value_range_3 = unsafeCast>(value_range) - valueSerializer.writeInt32(value_range_3.length) - for (let i = 0; i < value_range_3.length; i++) { - const value_range_3_element: TextPickerRangeContent = value_range_3[i] - valueSerializer.writeTextPickerRangeContent(value_range_3_element) - } - } - else if (((RuntimeType.OBJECT) == (value_range_type)) && (value_range instanceof Array)) { - valueSerializer.writeInt8(4) - const value_range_4 = unsafeCast>(value_range) - valueSerializer.writeInt32(value_range_4.length) - for (let i = 0; i < value_range_4.length; i++) { - const value_range_4_element: TextCascadePickerRangeContent = value_range_4[i] - valueSerializer.writeTextCascadePickerRangeContent(value_range_4_element) - } - } - const value_value = value.value - let value_value_type: int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - valueSerializer.writeInt8(value_value_type) - if ((RuntimeType.UNDEFINED) != (value_value_type)) { - const value_value_value = value_value! - let value_value_value_type: int32 = RuntimeType.UNDEFINED - value_value_value_type = runtimeType(value_value_value) - if (RuntimeType.STRING == value_value_value_type) { + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + let value_start_value_type: int32 = RuntimeType.UNDEFINED + value_start_value_type = runtimeType(value_start_value) + if (RuntimeType.STRING == value_start_value_type) { valueSerializer.writeInt8(0) - const value_value_value_0 = unsafeCast(value_value_value) - valueSerializer.writeString(value_value_value_0) + const value_start_value_0 = unsafeCast(value_start_value) + valueSerializer.writeString(value_start_value_0) } - else if (RuntimeType.OBJECT == value_value_value_type) { + else if (RuntimeType.NUMBER == value_start_value_type) { valueSerializer.writeInt8(1) - const value_value_value_1 = unsafeCast>(value_value_value) - valueSerializer.writeInt32(value_value_value_1.length) - for (let i = 0; i < value_value_value_1.length; i++) { - const value_value_value_1_element: string = value_value_value_1[i] - valueSerializer.writeString(value_value_value_1_element) - } + const value_start_value_1 = unsafeCast(value_start_value) + valueSerializer.writeNumber(value_start_value_1) + } + else if (RuntimeType.OBJECT == value_start_value_type) { + valueSerializer.writeInt8(2) + const value_start_value_2 = unsafeCast(value_start_value) + valueSerializer.writeResource(value_start_value_2) } } - const value_selected = value.selected - let value_selected_type: int32 = RuntimeType.UNDEFINED - value_selected_type = runtimeType(value_selected) - valueSerializer.writeInt8(value_selected_type) - if ((RuntimeType.UNDEFINED) != (value_selected_type)) { - const value_selected_value = value_selected! - let value_selected_value_type: int32 = RuntimeType.UNDEFINED - value_selected_value_type = runtimeType(value_selected_value) - if (RuntimeType.NUMBER == value_selected_value_type) { + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + let value_end_value_type: int32 = RuntimeType.UNDEFINED + value_end_value_type = runtimeType(value_end_value) + if (RuntimeType.STRING == value_end_value_type) { valueSerializer.writeInt8(0) - const value_selected_value_0 = unsafeCast(value_selected_value) - valueSerializer.writeNumber(value_selected_value_0) + const value_end_value_0 = unsafeCast(value_end_value) + valueSerializer.writeString(value_end_value_0) } - else if (RuntimeType.OBJECT == value_selected_value_type) { + else if (RuntimeType.NUMBER == value_end_value_type) { valueSerializer.writeInt8(1) - const value_selected_value_1 = unsafeCast>(value_selected_value) - valueSerializer.writeInt32(value_selected_value_1.length) - for (let i = 0; i < value_selected_value_1.length; i++) { - const value_selected_value_1_element: number = value_selected_value_1[i] - valueSerializer.writeNumber(value_selected_value_1_element) - } + const value_end_value_1 = unsafeCast(value_end_value) + valueSerializer.writeNumber(value_end_value_1) + } + else if (RuntimeType.OBJECT == value_end_value_type) { + valueSerializer.writeInt8(2) + const value_end_value_2 = unsafeCast(value_end_value) + valueSerializer.writeResource(value_end_value_2) } } } - writeTextPickerRangeContent(value: TextPickerRangeContent): void { + public writeGuideLineStyle(value: GuideLineStyle): void { let valueSerializer: Serializer = this - const value_icon = value.icon - let value_icon_type: int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - if (RuntimeType.STRING == value_icon_type) { - valueSerializer.writeInt8(0) - const value_icon_0 = unsafeCast(value_icon) - valueSerializer.writeString(value_icon_0) - } - else if (RuntimeType.OBJECT == value_icon_type) { - valueSerializer.writeInt8(1) - const value_icon_1 = unsafeCast(value_icon) - valueSerializer.writeResource(value_icon_1) - } - const value_text = value.text - let value_text_type: int32 = RuntimeType.UNDEFINED - value_text_type = runtimeType(value_text) - valueSerializer.writeInt8(value_text_type) - if ((RuntimeType.UNDEFINED) != (value_text_type)) { - const value_text_value = value_text! - let value_text_value_type: int32 = RuntimeType.UNDEFINED - value_text_value_type = runtimeType(value_text_value) - if (RuntimeType.STRING == value_text_value_type) { + const value_id = value.id + valueSerializer.writeString(value_id) + const value_direction = value.direction + valueSerializer.writeInt32(value_direction.valueOf()) + const value_position = value.position + valueSerializer.writeGuideLinePosition(value_position) + } + public writeIconOptions(value: IconOptions): void { + let valueSerializer: Serializer = this + const value_size = value.size + let value_size_type: int32 = RuntimeType.UNDEFINED + value_size_type = runtimeType(value_size) + valueSerializer.writeInt8(value_size_type) + if ((RuntimeType.UNDEFINED) != (value_size_type)) { + const value_size_value = value_size! + let value_size_value_type: int32 = RuntimeType.UNDEFINED + value_size_value_type = runtimeType(value_size_value) + if (RuntimeType.STRING == value_size_value_type) { valueSerializer.writeInt8(0) - const value_text_value_0 = unsafeCast(value_text_value) - valueSerializer.writeString(value_text_value_0) + const value_size_value_0 = unsafeCast(value_size_value) + valueSerializer.writeString(value_size_value_0) } - else if (RuntimeType.OBJECT == value_text_value_type) { + else if (RuntimeType.NUMBER == value_size_value_type) { valueSerializer.writeInt8(1) - const value_text_value_1 = unsafeCast(value_text_value) - valueSerializer.writeResource(value_text_value_1) - } - } - } - writeTextPickerResult(value: TextPickerResult): void { - let valueSerializer: Serializer = this - const value_value = value.value - let value_value_type: int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0) - const value_value_0 = unsafeCast(value_value) - valueSerializer.writeString(value_value_0) - } - else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1) - const value_value_1 = unsafeCast>(value_value) - valueSerializer.writeInt32(value_value_1.length) - for (let i = 0; i < value_value_1.length; i++) { - const value_value_1_element: string = value_value_1[i] - valueSerializer.writeString(value_value_1_element) + const value_size_value_1 = unsafeCast(value_size_value) + valueSerializer.writeNumber(value_size_value_1) } - } - const value_index = value.index - let value_index_type: int32 = RuntimeType.UNDEFINED - value_index_type = runtimeType(value_index) - if (RuntimeType.NUMBER == value_index_type) { - valueSerializer.writeInt8(0) - const value_index_0 = unsafeCast(value_index) - valueSerializer.writeNumber(value_index_0) - } - else if (RuntimeType.OBJECT == value_index_type) { - valueSerializer.writeInt8(1) - const value_index_1 = unsafeCast>(value_index) - valueSerializer.writeInt32(value_index_1.length) - for (let i = 0; i < value_index_1.length; i++) { - const value_index_1_element: number = value_index_1[i] - valueSerializer.writeNumber(value_index_1_element) + else if (RuntimeType.OBJECT == value_size_value_type) { + valueSerializer.writeInt8(2) + const value_size_value_2 = unsafeCast(value_size_value) + valueSerializer.writeResource(value_size_value_2) } } - } - writeTextShadow(value: TextShadow): void { - let valueSerializer: Serializer = this const value_color = value.color let value_color_type: int32 = RuntimeType.UNDEFINED value_color_type = runtimeType(value_color) valueSerializer.writeInt8(value_color_type) if ((RuntimeType.UNDEFINED) != (value_color_type)) { const value_color_value = value_color! - valueSerializer.writecommon2D_Color(value_color_value) - } - const value_point = value.point - let value_point_type: int32 = RuntimeType.UNDEFINED - value_point_type = runtimeType(value_point) - valueSerializer.writeInt8(value_point_type) - if ((RuntimeType.UNDEFINED) != (value_point_type)) { - const value_point_value = value_point! - valueSerializer.writecommon2D_Point(value_point_value) - } - const value_blurRadius = value.blurRadius - let value_blurRadius_type: int32 = RuntimeType.UNDEFINED - value_blurRadius_type = runtimeType(value_blurRadius) - valueSerializer.writeInt8(value_blurRadius_type) - if ((RuntimeType.UNDEFINED) != (value_blurRadius_type)) { - const value_blurRadius_value = value_blurRadius! - valueSerializer.writeNumber(value_blurRadius_value) - } - } - writeTextStyle_styled_string(value: TextStyle_styled_string): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeTextStyleInterface(value: TextStyleInterface): void { - let valueSerializer: Serializer = this - const value_fontColor = value.fontColor - let value_fontColor_type: int32 = RuntimeType.UNDEFINED - value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type) - if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { - const value_fontColor_value = value_fontColor! - let value_fontColor_value_type: int32 = RuntimeType.UNDEFINED - value_fontColor_value_type = runtimeType(value_fontColor_value) - if (((RuntimeType.NUMBER) == (value_fontColor_value_type)) && ((unsafeCast(value_fontColor_value)) >= (0)) && ((unsafeCast(value_fontColor_value)) <= (11))) { + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_fontColor_value_0 = unsafeCast(value_fontColor_value) - valueSerializer.writeInt32(value_fontColor_value_0.valueOf()) + const value_color_value_0 = unsafeCast(value_color_value) + valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_fontColor_value_type) { + else if (RuntimeType.NUMBER == value_color_value_type) { valueSerializer.writeInt8(1) - const value_fontColor_value_1 = unsafeCast(value_fontColor_value) - valueSerializer.writeNumber(value_fontColor_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.STRING == value_fontColor_value_type) { + else if (RuntimeType.STRING == value_color_value_type) { valueSerializer.writeInt8(2) - const value_fontColor_value_2 = unsafeCast(value_fontColor_value) - valueSerializer.writeString(value_fontColor_value_2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.OBJECT == value_fontColor_value_type) { + else if (RuntimeType.OBJECT == value_color_value_type) { valueSerializer.writeInt8(3) - const value_fontColor_value_3 = unsafeCast(value_fontColor_value) - valueSerializer.writeResource(value_fontColor_value_3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) } } - const value_fontFamily = value.fontFamily - let value_fontFamily_type: int32 = RuntimeType.UNDEFINED - value_fontFamily_type = runtimeType(value_fontFamily) - valueSerializer.writeInt8(value_fontFamily_type) - if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { - const value_fontFamily_value = value_fontFamily! - let value_fontFamily_value_type: int32 = RuntimeType.UNDEFINED - value_fontFamily_value_type = runtimeType(value_fontFamily_value) - if (RuntimeType.STRING == value_fontFamily_value_type) { + const value_src = value.src + let value_src_type: int32 = RuntimeType.UNDEFINED + value_src_type = runtimeType(value_src) + valueSerializer.writeInt8(value_src_type) + if ((RuntimeType.UNDEFINED) != (value_src_type)) { + const value_src_value = value_src! + let value_src_value_type: int32 = RuntimeType.UNDEFINED + value_src_value_type = runtimeType(value_src_value) + if (RuntimeType.STRING == value_src_value_type) { valueSerializer.writeInt8(0) - const value_fontFamily_value_0 = unsafeCast(value_fontFamily_value) - valueSerializer.writeString(value_fontFamily_value_0) + const value_src_value_0 = unsafeCast(value_src_value) + valueSerializer.writeString(value_src_value_0) } - else if (RuntimeType.OBJECT == value_fontFamily_value_type) { + else if (RuntimeType.OBJECT == value_src_value_type) { valueSerializer.writeInt8(1) - const value_fontFamily_value_1 = unsafeCast(value_fontFamily_value) - valueSerializer.writeResource(value_fontFamily_value_1) + const value_src_value_1 = unsafeCast(value_src_value) + valueSerializer.writeResource(value_src_value_1) } } - const value_fontSize = value.fontSize - let value_fontSize_type: int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - valueSerializer.writeLengthMetrics(value_fontSize_value) - } - const value_fontWeight = value.fontWeight - let value_fontWeight_type: int32 = RuntimeType.UNDEFINED - value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type) - if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { - const value_fontWeight_value = value_fontWeight! - let value_fontWeight_value_type: int32 = RuntimeType.UNDEFINED - value_fontWeight_value_type = runtimeType(value_fontWeight_value) - if (RuntimeType.NUMBER == value_fontWeight_value_type) { + } + public writeIndicatorStyle(value: IndicatorStyle): void { + let valueSerializer: Serializer = this + const value_height = value.height + let value_height_type: int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type: int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.STRING == value_height_value_type) { valueSerializer.writeInt8(0) - const value_fontWeight_value_0 = unsafeCast(value_fontWeight_value) - valueSerializer.writeNumber(value_fontWeight_value_0) + const value_height_value_0 = unsafeCast(value_height_value) + valueSerializer.writeString(value_height_value_0) } - else if (((RuntimeType.NUMBER) == (value_fontWeight_value_type)) && ((unsafeCast(value_fontWeight_value)) >= (0)) && ((unsafeCast(value_fontWeight_value)) <= (5))) { + else if (RuntimeType.NUMBER == value_height_value_type) { valueSerializer.writeInt8(1) - const value_fontWeight_value_1 = unsafeCast(value_fontWeight_value) - valueSerializer.writeInt32(value_fontWeight_value_1.valueOf()) + const value_height_value_1 = unsafeCast(value_height_value) + valueSerializer.writeNumber(value_height_value_1) } - else if (RuntimeType.STRING == value_fontWeight_value_type) { + else if (RuntimeType.OBJECT == value_height_value_type) { valueSerializer.writeInt8(2) - const value_fontWeight_value_2 = unsafeCast(value_fontWeight_value) - valueSerializer.writeString(value_fontWeight_value_2) + const value_height_value_2 = unsafeCast(value_height_value) + valueSerializer.writeResource(value_height_value_2) } } - const value_fontStyle = value.fontStyle - let value_fontStyle_type: int32 = RuntimeType.UNDEFINED - value_fontStyle_type = runtimeType(value_fontStyle) - valueSerializer.writeInt8(value_fontStyle_type) - if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { - const value_fontStyle_value = value_fontStyle! - valueSerializer.writeInt32(value_fontStyle_value.valueOf()) - } - } - writeTodayStyle(value: TodayStyle): void { - let valueSerializer: Serializer = this - const value_focusedDayColor = value.focusedDayColor - let value_focusedDayColor_type: int32 = RuntimeType.UNDEFINED - value_focusedDayColor_type = runtimeType(value_focusedDayColor) - valueSerializer.writeInt8(value_focusedDayColor_type) - if ((RuntimeType.UNDEFINED) != (value_focusedDayColor_type)) { - const value_focusedDayColor_value = value_focusedDayColor! - let value_focusedDayColor_value_type: int32 = RuntimeType.UNDEFINED - value_focusedDayColor_value_type = runtimeType(value_focusedDayColor_value) - if (((RuntimeType.NUMBER) == (value_focusedDayColor_value_type)) && ((unsafeCast(value_focusedDayColor_value)) >= (0)) && ((unsafeCast(value_focusedDayColor_value)) <= (11))) { + const value_width = value.width + let value_width_type: int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type: int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { valueSerializer.writeInt8(0) - const value_focusedDayColor_value_0 = unsafeCast(value_focusedDayColor_value) - valueSerializer.writeInt32(value_focusedDayColor_value_0.valueOf()) + const value_width_value_0 = unsafeCast(value_width_value) + valueSerializer.writeString(value_width_value_0) } - else if (RuntimeType.NUMBER == value_focusedDayColor_value_type) { + else if (RuntimeType.NUMBER == value_width_value_type) { valueSerializer.writeInt8(1) - const value_focusedDayColor_value_1 = unsafeCast(value_focusedDayColor_value) - valueSerializer.writeNumber(value_focusedDayColor_value_1) + const value_width_value_1 = unsafeCast(value_width_value) + valueSerializer.writeNumber(value_width_value_1) } - else if (RuntimeType.STRING == value_focusedDayColor_value_type) { + else if (RuntimeType.OBJECT == value_width_value_type) { valueSerializer.writeInt8(2) - const value_focusedDayColor_value_2 = unsafeCast(value_focusedDayColor_value) - valueSerializer.writeString(value_focusedDayColor_value_2) + const value_width_value_2 = unsafeCast(value_width_value) + valueSerializer.writeResource(value_width_value_2) } - else if (RuntimeType.OBJECT == value_focusedDayColor_value_type) { - valueSerializer.writeInt8(3) - const value_focusedDayColor_value_3 = unsafeCast(value_focusedDayColor_value) - valueSerializer.writeResource(value_focusedDayColor_value_3) + } + const value_borderRadius = value.borderRadius + let value_borderRadius_type: int32 = RuntimeType.UNDEFINED + value_borderRadius_type = runtimeType(value_borderRadius) + valueSerializer.writeInt8(value_borderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { + const value_borderRadius_value = value_borderRadius! + let value_borderRadius_value_type: int32 = RuntimeType.UNDEFINED + value_borderRadius_value_type = runtimeType(value_borderRadius_value) + if (RuntimeType.STRING == value_borderRadius_value_type) { + valueSerializer.writeInt8(0) + const value_borderRadius_value_0 = unsafeCast(value_borderRadius_value) + valueSerializer.writeString(value_borderRadius_value_0) + } + else if (RuntimeType.NUMBER == value_borderRadius_value_type) { + valueSerializer.writeInt8(1) + const value_borderRadius_value_1 = unsafeCast(value_borderRadius_value) + valueSerializer.writeNumber(value_borderRadius_value_1) + } + else if (RuntimeType.OBJECT == value_borderRadius_value_type) { + valueSerializer.writeInt8(2) + const value_borderRadius_value_2 = unsafeCast(value_borderRadius_value) + valueSerializer.writeResource(value_borderRadius_value_2) } } - const value_focusedLunarColor = value.focusedLunarColor - let value_focusedLunarColor_type: int32 = RuntimeType.UNDEFINED - value_focusedLunarColor_type = runtimeType(value_focusedLunarColor) - valueSerializer.writeInt8(value_focusedLunarColor_type) - if ((RuntimeType.UNDEFINED) != (value_focusedLunarColor_type)) { - const value_focusedLunarColor_value = value_focusedLunarColor! - let value_focusedLunarColor_value_type: int32 = RuntimeType.UNDEFINED - value_focusedLunarColor_value_type = runtimeType(value_focusedLunarColor_value) - if (((RuntimeType.NUMBER) == (value_focusedLunarColor_value_type)) && ((unsafeCast(value_focusedLunarColor_value)) >= (0)) && ((unsafeCast(value_focusedLunarColor_value)) <= (11))) { + const value_marginTop = value.marginTop + let value_marginTop_type: int32 = RuntimeType.UNDEFINED + value_marginTop_type = runtimeType(value_marginTop) + valueSerializer.writeInt8(value_marginTop_type) + if ((RuntimeType.UNDEFINED) != (value_marginTop_type)) { + const value_marginTop_value = value_marginTop! + let value_marginTop_value_type: int32 = RuntimeType.UNDEFINED + value_marginTop_value_type = runtimeType(value_marginTop_value) + if (RuntimeType.STRING == value_marginTop_value_type) { valueSerializer.writeInt8(0) - const value_focusedLunarColor_value_0 = unsafeCast(value_focusedLunarColor_value) - valueSerializer.writeInt32(value_focusedLunarColor_value_0.valueOf()) + const value_marginTop_value_0 = unsafeCast(value_marginTop_value) + valueSerializer.writeString(value_marginTop_value_0) } - else if (RuntimeType.NUMBER == value_focusedLunarColor_value_type) { + else if (RuntimeType.NUMBER == value_marginTop_value_type) { valueSerializer.writeInt8(1) - const value_focusedLunarColor_value_1 = unsafeCast(value_focusedLunarColor_value) - valueSerializer.writeNumber(value_focusedLunarColor_value_1) + const value_marginTop_value_1 = unsafeCast(value_marginTop_value) + valueSerializer.writeNumber(value_marginTop_value_1) } - else if (RuntimeType.STRING == value_focusedLunarColor_value_type) { + else if (RuntimeType.OBJECT == value_marginTop_value_type) { valueSerializer.writeInt8(2) - const value_focusedLunarColor_value_2 = unsafeCast(value_focusedLunarColor_value) - valueSerializer.writeString(value_focusedLunarColor_value_2) + const value_marginTop_value_2 = unsafeCast(value_marginTop_value) + valueSerializer.writeResource(value_marginTop_value_2) } - else if (RuntimeType.OBJECT == value_focusedLunarColor_value_type) { + } + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { + valueSerializer.writeInt8(0) + const value_color_value_0 = unsafeCast(value_color_value) + valueSerializer.writeInt32(value_color_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) + } + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) + } + else if (RuntimeType.OBJECT == value_color_value_type) { valueSerializer.writeInt8(3) - const value_focusedLunarColor_value_3 = unsafeCast(value_focusedLunarColor_value) - valueSerializer.writeResource(value_focusedLunarColor_value_3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) } } - const value_focusedAreaBackgroundColor = value.focusedAreaBackgroundColor - let value_focusedAreaBackgroundColor_type: int32 = RuntimeType.UNDEFINED - value_focusedAreaBackgroundColor_type = runtimeType(value_focusedAreaBackgroundColor) - valueSerializer.writeInt8(value_focusedAreaBackgroundColor_type) - if ((RuntimeType.UNDEFINED) != (value_focusedAreaBackgroundColor_type)) { - const value_focusedAreaBackgroundColor_value = value_focusedAreaBackgroundColor! - let value_focusedAreaBackgroundColor_value_type: int32 = RuntimeType.UNDEFINED - value_focusedAreaBackgroundColor_value_type = runtimeType(value_focusedAreaBackgroundColor_value) - if (((RuntimeType.NUMBER) == (value_focusedAreaBackgroundColor_value_type)) && ((unsafeCast(value_focusedAreaBackgroundColor_value)) >= (0)) && ((unsafeCast(value_focusedAreaBackgroundColor_value)) <= (11))) { + const value_selectedColor = value.selectedColor + let value_selectedColor_type: int32 = RuntimeType.UNDEFINED + value_selectedColor_type = runtimeType(value_selectedColor) + valueSerializer.writeInt8(value_selectedColor_type) + if ((RuntimeType.UNDEFINED) != (value_selectedColor_type)) { + const value_selectedColor_value = value_selectedColor! + let value_selectedColor_value_type: int32 = RuntimeType.UNDEFINED + value_selectedColor_value_type = runtimeType(value_selectedColor_value) + if (((RuntimeType.NUMBER) == (value_selectedColor_value_type)) && ((unsafeCast(value_selectedColor_value)) >= (0)) && ((unsafeCast(value_selectedColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_focusedAreaBackgroundColor_value_0 = unsafeCast(value_focusedAreaBackgroundColor_value) - valueSerializer.writeInt32(value_focusedAreaBackgroundColor_value_0.valueOf()) + const value_selectedColor_value_0 = unsafeCast(value_selectedColor_value) + valueSerializer.writeInt32(value_selectedColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_focusedAreaBackgroundColor_value_type) { + else if (RuntimeType.NUMBER == value_selectedColor_value_type) { valueSerializer.writeInt8(1) - const value_focusedAreaBackgroundColor_value_1 = unsafeCast(value_focusedAreaBackgroundColor_value) - valueSerializer.writeNumber(value_focusedAreaBackgroundColor_value_1) + const value_selectedColor_value_1 = unsafeCast(value_selectedColor_value) + valueSerializer.writeNumber(value_selectedColor_value_1) } - else if (RuntimeType.STRING == value_focusedAreaBackgroundColor_value_type) { + else if (RuntimeType.STRING == value_selectedColor_value_type) { valueSerializer.writeInt8(2) - const value_focusedAreaBackgroundColor_value_2 = unsafeCast(value_focusedAreaBackgroundColor_value) - valueSerializer.writeString(value_focusedAreaBackgroundColor_value_2) + const value_selectedColor_value_2 = unsafeCast(value_selectedColor_value) + valueSerializer.writeString(value_selectedColor_value_2) } - else if (RuntimeType.OBJECT == value_focusedAreaBackgroundColor_value_type) { + else if (RuntimeType.OBJECT == value_selectedColor_value_type) { valueSerializer.writeInt8(3) - const value_focusedAreaBackgroundColor_value_3 = unsafeCast(value_focusedAreaBackgroundColor_value) - valueSerializer.writeResource(value_focusedAreaBackgroundColor_value_3) + const value_selectedColor_value_3 = unsafeCast(value_selectedColor_value) + valueSerializer.writeResource(value_selectedColor_value_3) } } - const value_focusedAreaRadius = value.focusedAreaRadius - let value_focusedAreaRadius_type: int32 = RuntimeType.UNDEFINED - value_focusedAreaRadius_type = runtimeType(value_focusedAreaRadius) - valueSerializer.writeInt8(value_focusedAreaRadius_type) - if ((RuntimeType.UNDEFINED) != (value_focusedAreaRadius_type)) { - const value_focusedAreaRadius_value = value_focusedAreaRadius! - valueSerializer.writeNumber(value_focusedAreaRadius_value) - } - } - writeToolbarItem(value: ToolbarItem): void { - let valueSerializer: Serializer = this - const value_value = value.value - let value_value_type: int32 = RuntimeType.UNDEFINED - value_value_type = runtimeType(value_value) - if (RuntimeType.STRING == value_value_type) { - valueSerializer.writeInt8(0) - const value_value_0 = unsafeCast(value_value) - valueSerializer.writeString(value_value_0) - } - else if (RuntimeType.OBJECT == value_value_type) { - valueSerializer.writeInt8(1) - const value_value_1 = unsafeCast(value_value) - valueSerializer.writeResource(value_value_1) - } - const value_icon = value.icon - let value_icon_type: int32 = RuntimeType.UNDEFINED - value_icon_type = runtimeType(value_icon) - valueSerializer.writeInt8(value_icon_type) - if ((RuntimeType.UNDEFINED) != (value_icon_type)) { - const value_icon_value = value_icon! - let value_icon_value_type: int32 = RuntimeType.UNDEFINED - value_icon_value_type = runtimeType(value_icon_value) - if (RuntimeType.STRING == value_icon_value_type) { + const value_left = value.left + let value_left_type: int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type: int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.STRING == value_left_value_type) { valueSerializer.writeInt8(0) - const value_icon_value_0 = unsafeCast(value_icon_value) - valueSerializer.writeString(value_icon_value_0) + const value_left_value_0 = unsafeCast(value_left_value) + valueSerializer.writeString(value_left_value_0) } - else if (RuntimeType.OBJECT == value_icon_value_type) { + else if (RuntimeType.NUMBER == value_left_value_type) { valueSerializer.writeInt8(1) - const value_icon_value_1 = unsafeCast(value_icon_value) - valueSerializer.writeResource(value_icon_value_1) + const value_left_value_1 = unsafeCast(value_left_value) + valueSerializer.writeNumber(value_left_value_1) + } + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = unsafeCast(value_left_value) + valueSerializer.writeResource(value_left_value_2) } } - const value_symbolIcon = value.symbolIcon - let value_symbolIcon_type: int32 = RuntimeType.UNDEFINED - value_symbolIcon_type = runtimeType(value_symbolIcon) - valueSerializer.writeInt8(value_symbolIcon_type) - if ((RuntimeType.UNDEFINED) != (value_symbolIcon_type)) { - const value_symbolIcon_value = value_symbolIcon! - valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value) - } - const value_action = value.action - let value_action_type: int32 = RuntimeType.UNDEFINED - value_action_type = runtimeType(value_action) - valueSerializer.writeInt8(value_action_type) - if ((RuntimeType.UNDEFINED) != (value_action_type)) { - const value_action_value = value_action! - valueSerializer.holdAndWriteCallback(value_action_value) - } - const value_status = value.status - let value_status_type: int32 = RuntimeType.UNDEFINED - value_status_type = runtimeType(value_status) - valueSerializer.writeInt8(value_status_type) - if ((RuntimeType.UNDEFINED) != (value_status_type)) { - const value_status_value = value_status! - valueSerializer.writeInt32(value_status_value.valueOf()) - } - const value_activeIcon = value.activeIcon - let value_activeIcon_type: int32 = RuntimeType.UNDEFINED - value_activeIcon_type = runtimeType(value_activeIcon) - valueSerializer.writeInt8(value_activeIcon_type) - if ((RuntimeType.UNDEFINED) != (value_activeIcon_type)) { - const value_activeIcon_value = value_activeIcon! - let value_activeIcon_value_type: int32 = RuntimeType.UNDEFINED - value_activeIcon_value_type = runtimeType(value_activeIcon_value) - if (RuntimeType.STRING == value_activeIcon_value_type) { + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type: int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.STRING == value_top_value_type) { valueSerializer.writeInt8(0) - const value_activeIcon_value_0 = unsafeCast(value_activeIcon_value) - valueSerializer.writeString(value_activeIcon_value_0) + const value_top_value_0 = unsafeCast(value_top_value) + valueSerializer.writeString(value_top_value_0) } - else if (RuntimeType.OBJECT == value_activeIcon_value_type) { + else if (RuntimeType.NUMBER == value_top_value_type) { valueSerializer.writeInt8(1) - const value_activeIcon_value_1 = unsafeCast(value_activeIcon_value) - valueSerializer.writeResource(value_activeIcon_value_1) + const value_top_value_1 = unsafeCast(value_top_value) + valueSerializer.writeNumber(value_top_value_1) + } + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(2) + const value_top_value_2 = unsafeCast(value_top_value) + valueSerializer.writeResource(value_top_value_2) } } - const value_activeSymbolIcon = value.activeSymbolIcon - let value_activeSymbolIcon_type: int32 = RuntimeType.UNDEFINED - value_activeSymbolIcon_type = runtimeType(value_activeSymbolIcon) - valueSerializer.writeInt8(value_activeSymbolIcon_type) - if ((RuntimeType.UNDEFINED) != (value_activeSymbolIcon_type)) { - const value_activeSymbolIcon_value = value_activeSymbolIcon! - valueSerializer.writeSymbolGlyphModifier(value_activeSymbolIcon_value) - } - } - writeTransitionOptions(value: TransitionOptions): void { - let valueSerializer: Serializer = this - const value_type = value.type - let value_type_type: int32 = RuntimeType.UNDEFINED - value_type_type = runtimeType(value_type) - valueSerializer.writeInt8(value_type_type) - if ((RuntimeType.UNDEFINED) != (value_type_type)) { - const value_type_value = value_type! - valueSerializer.writeInt32(value_type_value.valueOf()) - } - const value_opacity = value.opacity - let value_opacity_type: int32 = RuntimeType.UNDEFINED - value_opacity_type = runtimeType(value_opacity) - valueSerializer.writeInt8(value_opacity_type) - if ((RuntimeType.UNDEFINED) != (value_opacity_type)) { - const value_opacity_value = value_opacity! - valueSerializer.writeNumber(value_opacity_value) - } - const value_translate = value.translate - let value_translate_type: int32 = RuntimeType.UNDEFINED - value_translate_type = runtimeType(value_translate) - valueSerializer.writeInt8(value_translate_type) - if ((RuntimeType.UNDEFINED) != (value_translate_type)) { - const value_translate_value = value_translate! - valueSerializer.writeTranslateOptions(value_translate_value) - } - const value_scale = value.scale - let value_scale_type: int32 = RuntimeType.UNDEFINED - value_scale_type = runtimeType(value_scale) - valueSerializer.writeInt8(value_scale_type) - if ((RuntimeType.UNDEFINED) != (value_scale_type)) { - const value_scale_value = value_scale! - valueSerializer.writeScaleOptions(value_scale_value) - } - const value_rotate = value.rotate - let value_rotate_type: int32 = RuntimeType.UNDEFINED - value_rotate_type = runtimeType(value_rotate) - valueSerializer.writeInt8(value_rotate_type) - if ((RuntimeType.UNDEFINED) != (value_rotate_type)) { - const value_rotate_value = value_rotate! - valueSerializer.writeRotateOptions(value_rotate_value) - } - } - writeUnderlineColor(value: UnderlineColor): void { - let valueSerializer: Serializer = this - const value_typing = value.typing - let value_typing_type: int32 = RuntimeType.UNDEFINED - value_typing_type = runtimeType(value_typing) - valueSerializer.writeInt8(value_typing_type) - if ((RuntimeType.UNDEFINED) != (value_typing_type)) { - const value_typing_value = value_typing! - let value_typing_value_type: int32 = RuntimeType.UNDEFINED - value_typing_value_type = runtimeType(value_typing_value) - if (((RuntimeType.NUMBER) == (value_typing_value_type)) && ((unsafeCast(value_typing_value)) >= (0)) && ((unsafeCast(value_typing_value)) <= (11))) { + const value_right = value.right + let value_right_type: int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type: int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (RuntimeType.STRING == value_right_value_type) { valueSerializer.writeInt8(0) - const value_typing_value_0 = unsafeCast(value_typing_value) - valueSerializer.writeInt32(value_typing_value_0.valueOf()) + const value_right_value_0 = unsafeCast(value_right_value) + valueSerializer.writeString(value_right_value_0) } - else if (RuntimeType.NUMBER == value_typing_value_type) { + else if (RuntimeType.NUMBER == value_right_value_type) { valueSerializer.writeInt8(1) - const value_typing_value_1 = unsafeCast(value_typing_value) - valueSerializer.writeNumber(value_typing_value_1) + const value_right_value_1 = unsafeCast(value_right_value) + valueSerializer.writeNumber(value_right_value_1) } - else if (RuntimeType.STRING == value_typing_value_type) { + else if (RuntimeType.OBJECT == value_right_value_type) { valueSerializer.writeInt8(2) - const value_typing_value_2 = unsafeCast(value_typing_value) - valueSerializer.writeString(value_typing_value_2) - } - else if (RuntimeType.OBJECT == value_typing_value_type) { - valueSerializer.writeInt8(3) - const value_typing_value_3 = unsafeCast(value_typing_value) - valueSerializer.writeResource(value_typing_value_3) + const value_right_value_2 = unsafeCast(value_right_value) + valueSerializer.writeResource(value_right_value_2) } } - const value_normal = value.normal - let value_normal_type: int32 = RuntimeType.UNDEFINED - value_normal_type = runtimeType(value_normal) - valueSerializer.writeInt8(value_normal_type) - if ((RuntimeType.UNDEFINED) != (value_normal_type)) { - const value_normal_value = value_normal! - let value_normal_value_type: int32 = RuntimeType.UNDEFINED - value_normal_value_type = runtimeType(value_normal_value) - if (((RuntimeType.NUMBER) == (value_normal_value_type)) && ((unsafeCast(value_normal_value)) >= (0)) && ((unsafeCast(value_normal_value)) <= (11))) { + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type: int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (RuntimeType.STRING == value_bottom_value_type) { valueSerializer.writeInt8(0) - const value_normal_value_0 = unsafeCast(value_normal_value) - valueSerializer.writeInt32(value_normal_value_0.valueOf()) + const value_bottom_value_0 = unsafeCast(value_bottom_value) + valueSerializer.writeString(value_bottom_value_0) } - else if (RuntimeType.NUMBER == value_normal_value_type) { + else if (RuntimeType.NUMBER == value_bottom_value_type) { valueSerializer.writeInt8(1) - const value_normal_value_1 = unsafeCast(value_normal_value) - valueSerializer.writeNumber(value_normal_value_1) + const value_bottom_value_1 = unsafeCast(value_bottom_value) + valueSerializer.writeNumber(value_bottom_value_1) } - else if (RuntimeType.STRING == value_normal_value_type) { + else if (RuntimeType.OBJECT == value_bottom_value_type) { valueSerializer.writeInt8(2) - const value_normal_value_2 = unsafeCast(value_normal_value) - valueSerializer.writeString(value_normal_value_2) - } - else if (RuntimeType.OBJECT == value_normal_value_type) { - valueSerializer.writeInt8(3) - const value_normal_value_3 = unsafeCast(value_normal_value) - valueSerializer.writeResource(value_normal_value_3) + const value_bottom_value_2 = unsafeCast(value_bottom_value) + valueSerializer.writeResource(value_bottom_value_2) } } - const value_error = value.error - let value_error_type: int32 = RuntimeType.UNDEFINED - value_error_type = runtimeType(value_error) - valueSerializer.writeInt8(value_error_type) - if ((RuntimeType.UNDEFINED) != (value_error_type)) { - const value_error_value = value_error! - let value_error_value_type: int32 = RuntimeType.UNDEFINED - value_error_value_type = runtimeType(value_error_value) - if (((RuntimeType.NUMBER) == (value_error_value_type)) && ((unsafeCast(value_error_value)) >= (0)) && ((unsafeCast(value_error_value)) <= (11))) { + const value_size = value.size + let value_size_type: int32 = RuntimeType.UNDEFINED + value_size_type = runtimeType(value_size) + valueSerializer.writeInt8(value_size_type) + if ((RuntimeType.UNDEFINED) != (value_size_type)) { + const value_size_value = value_size! + let value_size_value_type: int32 = RuntimeType.UNDEFINED + value_size_value_type = runtimeType(value_size_value) + if (RuntimeType.STRING == value_size_value_type) { valueSerializer.writeInt8(0) - const value_error_value_0 = unsafeCast(value_error_value) - valueSerializer.writeInt32(value_error_value_0.valueOf()) + const value_size_value_0 = unsafeCast(value_size_value) + valueSerializer.writeString(value_size_value_0) } - else if (RuntimeType.NUMBER == value_error_value_type) { + else if (RuntimeType.NUMBER == value_size_value_type) { valueSerializer.writeInt8(1) - const value_error_value_1 = unsafeCast(value_error_value) - valueSerializer.writeNumber(value_error_value_1) + const value_size_value_1 = unsafeCast(value_size_value) + valueSerializer.writeNumber(value_size_value_1) } - else if (RuntimeType.STRING == value_error_value_type) { + else if (RuntimeType.OBJECT == value_size_value_type) { valueSerializer.writeInt8(2) - const value_error_value_2 = unsafeCast(value_error_value) - valueSerializer.writeString(value_error_value_2) - } - else if (RuntimeType.OBJECT == value_error_value_type) { - valueSerializer.writeInt8(3) - const value_error_value_3 = unsafeCast(value_error_value) - valueSerializer.writeResource(value_error_value_3) + const value_size_value_2 = unsafeCast(value_size_value) + valueSerializer.writeResource(value_size_value_2) } } - const value_disable = value.disable - let value_disable_type: int32 = RuntimeType.UNDEFINED - value_disable_type = runtimeType(value_disable) - valueSerializer.writeInt8(value_disable_type) - if ((RuntimeType.UNDEFINED) != (value_disable_type)) { - const value_disable_value = value_disable! - let value_disable_value_type: int32 = RuntimeType.UNDEFINED - value_disable_value_type = runtimeType(value_disable_value) - if (((RuntimeType.NUMBER) == (value_disable_value_type)) && ((unsafeCast(value_disable_value)) >= (0)) && ((unsafeCast(value_disable_value)) <= (11))) { + const value_mask = value.mask + let value_mask_type: int32 = RuntimeType.UNDEFINED + value_mask_type = runtimeType(value_mask) + valueSerializer.writeInt8(value_mask_type) + if ((RuntimeType.UNDEFINED) != (value_mask_type)) { + const value_mask_value = value_mask! + valueSerializer.writeBoolean(value_mask_value) + } + } + public writeLeadingMarginPlaceholder(value: LeadingMarginPlaceholder): void { + let valueSerializer: Serializer = this + const value_pixelMap = value.pixelMap + valueSerializer.writePixelMap(value_pixelMap) + const value_size = value.size + const value_size_0 = value_size[0] + let value_size_0_type: int32 = RuntimeType.UNDEFINED + value_size_0_type = runtimeType(value_size_0) + if (RuntimeType.STRING == value_size_0_type) { + valueSerializer.writeInt8(0) + const value_size_0_0 = unsafeCast(value_size_0) + valueSerializer.writeString(value_size_0_0) + } + else if (RuntimeType.NUMBER == value_size_0_type) { + valueSerializer.writeInt8(1) + const value_size_0_1 = unsafeCast(value_size_0) + valueSerializer.writeNumber(value_size_0_1) + } + else if (RuntimeType.OBJECT == value_size_0_type) { + valueSerializer.writeInt8(2) + const value_size_0_2 = unsafeCast(value_size_0) + valueSerializer.writeResource(value_size_0_2) + } + const value_size_1 = value_size[1] + let value_size_1_type: int32 = RuntimeType.UNDEFINED + value_size_1_type = runtimeType(value_size_1) + if (RuntimeType.STRING == value_size_1_type) { + valueSerializer.writeInt8(0) + const value_size_1_0 = unsafeCast(value_size_1) + valueSerializer.writeString(value_size_1_0) + } + else if (RuntimeType.NUMBER == value_size_1_type) { + valueSerializer.writeInt8(1) + const value_size_1_1 = unsafeCast(value_size_1) + valueSerializer.writeNumber(value_size_1_1) + } + else if (RuntimeType.OBJECT == value_size_1_type) { + valueSerializer.writeInt8(2) + const value_size_1_2 = unsafeCast(value_size_1) + valueSerializer.writeResource(value_size_1_2) + } + } + public writeLinearStyleOptions(value: LinearStyleOptions): void { + let valueSerializer: Serializer = this + const value_enableScanEffect = value.enableScanEffect + let value_enableScanEffect_type: int32 = RuntimeType.UNDEFINED + value_enableScanEffect_type = runtimeType(value_enableScanEffect) + valueSerializer.writeInt8(value_enableScanEffect_type) + if ((RuntimeType.UNDEFINED) != (value_enableScanEffect_type)) { + const value_enableScanEffect_value = value_enableScanEffect! + valueSerializer.writeBoolean(value_enableScanEffect_value) + } + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + let value_strokeWidth_value_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) + if (RuntimeType.STRING == value_strokeWidth_value_type) { valueSerializer.writeInt8(0) - const value_disable_value_0 = unsafeCast(value_disable_value) - valueSerializer.writeInt32(value_disable_value_0.valueOf()) + const value_strokeWidth_value_0 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeString(value_strokeWidth_value_0) } - else if (RuntimeType.NUMBER == value_disable_value_type) { + else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { valueSerializer.writeInt8(1) - const value_disable_value_1 = unsafeCast(value_disable_value) - valueSerializer.writeNumber(value_disable_value_1) + const value_strokeWidth_value_1 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeNumber(value_strokeWidth_value_1) } - else if (RuntimeType.STRING == value_disable_value_type) { + else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { valueSerializer.writeInt8(2) - const value_disable_value_2 = unsafeCast(value_disable_value) - valueSerializer.writeString(value_disable_value_2) + const value_strokeWidth_value_2 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeResource(value_strokeWidth_value_2) } - else if (RuntimeType.OBJECT == value_disable_value_type) { - valueSerializer.writeInt8(3) - const value_disable_value_3 = unsafeCast(value_disable_value) - valueSerializer.writeResource(value_disable_value_3) + } + const value_strokeRadius = value.strokeRadius + let value_strokeRadius_type: int32 = RuntimeType.UNDEFINED + value_strokeRadius_type = runtimeType(value_strokeRadius) + valueSerializer.writeInt8(value_strokeRadius_type) + if ((RuntimeType.UNDEFINED) != (value_strokeRadius_type)) { + const value_strokeRadius_value = value_strokeRadius! + let value_strokeRadius_value_type: int32 = RuntimeType.UNDEFINED + value_strokeRadius_value_type = runtimeType(value_strokeRadius_value) + if (RuntimeType.STRING == value_strokeRadius_value_type) { + valueSerializer.writeInt8(0) + const value_strokeRadius_value_0 = unsafeCast(value_strokeRadius_value) + valueSerializer.writeString(value_strokeRadius_value_0) + } + else if (RuntimeType.NUMBER == value_strokeRadius_value_type) { + valueSerializer.writeInt8(1) + const value_strokeRadius_value_1 = unsafeCast(value_strokeRadius_value) + valueSerializer.writeNumber(value_strokeRadius_value_1) + } + else if (RuntimeType.OBJECT == value_strokeRadius_value_type) { + valueSerializer.writeInt8(2) + const value_strokeRadius_value_2 = unsafeCast(value_strokeRadius_value) + valueSerializer.writeResource(value_strokeRadius_value_2) } } } - writeVideoOptions(value: VideoOptions): void { + public writeListDividerOptions(value: ListDividerOptions): void { let valueSerializer: Serializer = this - const value_src = value.src - let value_src_type: int32 = RuntimeType.UNDEFINED - value_src_type = runtimeType(value_src) - valueSerializer.writeInt8(value_src_type) - if ((RuntimeType.UNDEFINED) != (value_src_type)) { - const value_src_value = value_src! - let value_src_value_type: int32 = RuntimeType.UNDEFINED - value_src_value_type = runtimeType(value_src_value) - if (RuntimeType.STRING == value_src_value_type) { + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + if (RuntimeType.STRING == value_strokeWidth_type) { + valueSerializer.writeInt8(0) + const value_strokeWidth_0 = unsafeCast(value_strokeWidth) + valueSerializer.writeString(value_strokeWidth_0) + } + else if (RuntimeType.NUMBER == value_strokeWidth_type) { + valueSerializer.writeInt8(1) + const value_strokeWidth_1 = unsafeCast(value_strokeWidth) + valueSerializer.writeNumber(value_strokeWidth_1) + } + else if (RuntimeType.OBJECT == value_strokeWidth_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_2 = unsafeCast(value_strokeWidth) + valueSerializer.writeResource(value_strokeWidth_2) + } + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_src_value_0 = unsafeCast(value_src_value) - valueSerializer.writeString(value_src_value_0) + const value_color_value_0 = unsafeCast(value_color_value) + valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.OBJECT == value_src_value_type) { + else if (RuntimeType.NUMBER == value_color_value_type) { valueSerializer.writeInt8(1) - const value_src_value_1 = unsafeCast(value_src_value) - valueSerializer.writeResource(value_src_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) + } + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) + } + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) } } - const value_currentProgressRate = value.currentProgressRate - let value_currentProgressRate_type: int32 = RuntimeType.UNDEFINED - value_currentProgressRate_type = runtimeType(value_currentProgressRate) - valueSerializer.writeInt8(value_currentProgressRate_type) - if ((RuntimeType.UNDEFINED) != (value_currentProgressRate_type)) { - const value_currentProgressRate_value = value_currentProgressRate! - let value_currentProgressRate_value_type: int32 = RuntimeType.UNDEFINED - value_currentProgressRate_value_type = runtimeType(value_currentProgressRate_value) - if (RuntimeType.NUMBER == value_currentProgressRate_value_type) { + const value_startMargin = value.startMargin + let value_startMargin_type: int32 = RuntimeType.UNDEFINED + value_startMargin_type = runtimeType(value_startMargin) + valueSerializer.writeInt8(value_startMargin_type) + if ((RuntimeType.UNDEFINED) != (value_startMargin_type)) { + const value_startMargin_value = value_startMargin! + let value_startMargin_value_type: int32 = RuntimeType.UNDEFINED + value_startMargin_value_type = runtimeType(value_startMargin_value) + if (RuntimeType.STRING == value_startMargin_value_type) { valueSerializer.writeInt8(0) - const value_currentProgressRate_value_0 = unsafeCast(value_currentProgressRate_value) - valueSerializer.writeNumber(value_currentProgressRate_value_0) + const value_startMargin_value_0 = unsafeCast(value_startMargin_value) + valueSerializer.writeString(value_startMargin_value_0) } - else if (RuntimeType.STRING == value_currentProgressRate_value_type) { + else if (RuntimeType.NUMBER == value_startMargin_value_type) { valueSerializer.writeInt8(1) - const value_currentProgressRate_value_1 = unsafeCast(value_currentProgressRate_value) - valueSerializer.writeString(value_currentProgressRate_value_1) + const value_startMargin_value_1 = unsafeCast(value_startMargin_value) + valueSerializer.writeNumber(value_startMargin_value_1) } - else if (((RuntimeType.NUMBER) == (value_currentProgressRate_value_type)) && ((unsafeCast(value_currentProgressRate_value)) >= (0)) && ((unsafeCast(value_currentProgressRate_value)) <= (4))) { + else if (RuntimeType.OBJECT == value_startMargin_value_type) { valueSerializer.writeInt8(2) - const value_currentProgressRate_value_2 = unsafeCast(value_currentProgressRate_value) - valueSerializer.writeInt32(value_currentProgressRate_value_2.valueOf()) + const value_startMargin_value_2 = unsafeCast(value_startMargin_value) + valueSerializer.writeResource(value_startMargin_value_2) } } - const value_previewUri = value.previewUri - let value_previewUri_type: int32 = RuntimeType.UNDEFINED - value_previewUri_type = runtimeType(value_previewUri) - valueSerializer.writeInt8(value_previewUri_type) - if ((RuntimeType.UNDEFINED) != (value_previewUri_type)) { - const value_previewUri_value = value_previewUri! - let value_previewUri_value_type: int32 = RuntimeType.UNDEFINED - value_previewUri_value_type = runtimeType(value_previewUri_value) - if (RuntimeType.STRING == value_previewUri_value_type) { + const value_endMargin = value.endMargin + let value_endMargin_type: int32 = RuntimeType.UNDEFINED + value_endMargin_type = runtimeType(value_endMargin) + valueSerializer.writeInt8(value_endMargin_type) + if ((RuntimeType.UNDEFINED) != (value_endMargin_type)) { + const value_endMargin_value = value_endMargin! + let value_endMargin_value_type: int32 = RuntimeType.UNDEFINED + value_endMargin_value_type = runtimeType(value_endMargin_value) + if (RuntimeType.STRING == value_endMargin_value_type) { valueSerializer.writeInt8(0) - const value_previewUri_value_0 = unsafeCast(value_previewUri_value) - valueSerializer.writeString(value_previewUri_value_0) + const value_endMargin_value_0 = unsafeCast(value_endMargin_value) + valueSerializer.writeString(value_endMargin_value_0) } - else if (((RuntimeType.OBJECT) == (value_previewUri_value_type)) && ((value_previewUri_value!.hasOwnProperty("isEditable")))) { + else if (RuntimeType.NUMBER == value_endMargin_value_type) { valueSerializer.writeInt8(1) - const value_previewUri_value_1 = unsafeCast(value_previewUri_value) - valueSerializer.writePixelMap(value_previewUri_value_1) + const value_endMargin_value_1 = unsafeCast(value_endMargin_value) + valueSerializer.writeNumber(value_endMargin_value_1) } - else if (((RuntimeType.OBJECT) == (value_previewUri_value_type)) && ((value_previewUri_value!.hasOwnProperty("bundleName")))) { + else if (RuntimeType.OBJECT == value_endMargin_value_type) { valueSerializer.writeInt8(2) - const value_previewUri_value_2 = unsafeCast(value_previewUri_value) - valueSerializer.writeResource(value_previewUri_value_2) + const value_endMargin_value_2 = unsafeCast(value_endMargin_value) + valueSerializer.writeResource(value_endMargin_value_2) + } + } + } + public writeMarkStyle(value: MarkStyle): void { + let valueSerializer: Serializer = this + const value_strokeColor = value.strokeColor + let value_strokeColor_type: int32 = RuntimeType.UNDEFINED + value_strokeColor_type = runtimeType(value_strokeColor) + valueSerializer.writeInt8(value_strokeColor_type) + if ((RuntimeType.UNDEFINED) != (value_strokeColor_type)) { + const value_strokeColor_value = value_strokeColor! + let value_strokeColor_value_type: int32 = RuntimeType.UNDEFINED + value_strokeColor_value_type = runtimeType(value_strokeColor_value) + if (((RuntimeType.NUMBER) == (value_strokeColor_value_type)) && ((unsafeCast(value_strokeColor_value)) >= (0)) && ((unsafeCast(value_strokeColor_value)) <= (11))) { + valueSerializer.writeInt8(0) + const value_strokeColor_value_0 = unsafeCast(value_strokeColor_value) + valueSerializer.writeInt32(value_strokeColor_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_strokeColor_value_type) { + valueSerializer.writeInt8(1) + const value_strokeColor_value_1 = unsafeCast(value_strokeColor_value) + valueSerializer.writeNumber(value_strokeColor_value_1) + } + else if (RuntimeType.STRING == value_strokeColor_value_type) { + valueSerializer.writeInt8(2) + const value_strokeColor_value_2 = unsafeCast(value_strokeColor_value) + valueSerializer.writeString(value_strokeColor_value_2) + } + else if (RuntimeType.OBJECT == value_strokeColor_value_type) { + valueSerializer.writeInt8(3) + const value_strokeColor_value_3 = unsafeCast(value_strokeColor_value) + valueSerializer.writeResource(value_strokeColor_value_3) + } + } + const value_size = value.size + let value_size_type: int32 = RuntimeType.UNDEFINED + value_size_type = runtimeType(value_size) + valueSerializer.writeInt8(value_size_type) + if ((RuntimeType.UNDEFINED) != (value_size_type)) { + const value_size_value = value_size! + let value_size_value_type: int32 = RuntimeType.UNDEFINED + value_size_value_type = runtimeType(value_size_value) + if (RuntimeType.STRING == value_size_value_type) { + valueSerializer.writeInt8(0) + const value_size_value_0 = unsafeCast(value_size_value) + valueSerializer.writeString(value_size_value_0) + } + else if (RuntimeType.NUMBER == value_size_value_type) { + valueSerializer.writeInt8(1) + const value_size_value_1 = unsafeCast(value_size_value) + valueSerializer.writeNumber(value_size_value_1) + } + else if (RuntimeType.OBJECT == value_size_value_type) { + valueSerializer.writeInt8(2) + const value_size_value_2 = unsafeCast(value_size_value) + valueSerializer.writeResource(value_size_value_2) + } + } + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + let value_strokeWidth_value_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) + if (RuntimeType.STRING == value_strokeWidth_value_type) { + valueSerializer.writeInt8(0) + const value_strokeWidth_value_0 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeString(value_strokeWidth_value_0) + } + else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { + valueSerializer.writeInt8(1) + const value_strokeWidth_value_1 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeNumber(value_strokeWidth_value_1) + } + else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_value_2 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeResource(value_strokeWidth_value_2) + } + } + } + public writeMoreButtonOptions(value: MoreButtonOptions): void { + let valueSerializer: Serializer = this + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = value_backgroundBlurStyle! + valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) + } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } + } + public writeNavDestinationCustomTitle(value: NavDestinationCustomTitle): void { + let valueSerializer: Serializer = this + const value_builder = value.builder + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder)) + const value_height = value.height + let value_height_type: int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + if (((RuntimeType.NUMBER) == (value_height_type)) && ((unsafeCast(value_height)) >= (0)) && ((unsafeCast(value_height)) <= (1))) { + valueSerializer.writeInt8(0) + const value_height_0 = unsafeCast(value_height) + valueSerializer.writeInt32(value_height_0.valueOf()) + } + else if ((RuntimeType.STRING == value_height_type) || (RuntimeType.NUMBER == value_height_type) || (RuntimeType.OBJECT == value_height_type)) { + valueSerializer.writeInt8(1) + const value_height_1 = unsafeCast(value_height) + let value_height_1_type: int32 = RuntimeType.UNDEFINED + value_height_1_type = runtimeType(value_height_1) + if (RuntimeType.STRING == value_height_1_type) { + valueSerializer.writeInt8(0) + const value_height_1_0 = unsafeCast(value_height_1) + valueSerializer.writeString(value_height_1_0) + } + else if (RuntimeType.NUMBER == value_height_1_type) { + valueSerializer.writeInt8(1) + const value_height_1_1 = unsafeCast(value_height_1) + valueSerializer.writeNumber(value_height_1_1) + } + else if (RuntimeType.OBJECT == value_height_1_type) { + valueSerializer.writeInt8(2) + const value_height_1_2 = unsafeCast(value_height_1) + valueSerializer.writeResource(value_height_1_2) + } + } + } + public writeNavigationCustomTitle(value: NavigationCustomTitle): void { + let valueSerializer: Serializer = this + const value_builder = value.builder + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder)) + const value_height = value.height + let value_height_type: int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + if (((RuntimeType.NUMBER) == (value_height_type)) && ((unsafeCast(value_height)) >= (0)) && ((unsafeCast(value_height)) <= (1))) { + valueSerializer.writeInt8(0) + const value_height_0 = unsafeCast(value_height) + valueSerializer.writeInt32(value_height_0.valueOf()) + } + else if ((RuntimeType.STRING == value_height_type) || (RuntimeType.NUMBER == value_height_type) || (RuntimeType.OBJECT == value_height_type)) { + valueSerializer.writeInt8(1) + const value_height_1 = unsafeCast(value_height) + let value_height_1_type: int32 = RuntimeType.UNDEFINED + value_height_1_type = runtimeType(value_height_1) + if (RuntimeType.STRING == value_height_1_type) { + valueSerializer.writeInt8(0) + const value_height_1_0 = unsafeCast(value_height_1) + valueSerializer.writeString(value_height_1_0) + } + else if (RuntimeType.NUMBER == value_height_1_type) { + valueSerializer.writeInt8(1) + const value_height_1_1 = unsafeCast(value_height_1) + valueSerializer.writeNumber(value_height_1_1) + } + else if (RuntimeType.OBJECT == value_height_1_type) { + valueSerializer.writeInt8(2) + const value_height_1_2 = unsafeCast(value_height_1) + valueSerializer.writeResource(value_height_1_2) + } + } + } + public writeNavigationTitleOptions(value: NavigationTitleOptions): void { + let valueSerializer: Serializer = this + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type: int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type: int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (((RuntimeType.NUMBER) == (value_backgroundColor_value_type)) && ((unsafeCast(value_backgroundColor_value)) >= (0)) && ((unsafeCast(value_backgroundColor_value)) <= (11))) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeInt32(value_backgroundColor_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeNumber(value_backgroundColor_value_1) + } + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeString(value_backgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeResource(value_backgroundColor_value_3) + } + } + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = value_backgroundBlurStyle! + valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) + } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } + const value_barStyle = value.barStyle + let value_barStyle_type: int32 = RuntimeType.UNDEFINED + value_barStyle_type = runtimeType(value_barStyle) + valueSerializer.writeInt8(value_barStyle_type) + if ((RuntimeType.UNDEFINED) != (value_barStyle_type)) { + const value_barStyle_value = value_barStyle! + valueSerializer.writeInt32(value_barStyle_value.valueOf()) + } + const value_paddingStart = value.paddingStart + let value_paddingStart_type: int32 = RuntimeType.UNDEFINED + value_paddingStart_type = runtimeType(value_paddingStart) + valueSerializer.writeInt8(value_paddingStart_type) + if ((RuntimeType.UNDEFINED) != (value_paddingStart_type)) { + const value_paddingStart_value = value_paddingStart! + valueSerializer.writeLengthMetrics(value_paddingStart_value) + } + const value_paddingEnd = value.paddingEnd + let value_paddingEnd_type: int32 = RuntimeType.UNDEFINED + value_paddingEnd_type = runtimeType(value_paddingEnd) + valueSerializer.writeInt8(value_paddingEnd_type) + if ((RuntimeType.UNDEFINED) != (value_paddingEnd_type)) { + const value_paddingEnd_value = value_paddingEnd! + valueSerializer.writeLengthMetrics(value_paddingEnd_value) + } + const value_mainTitleModifier = value.mainTitleModifier + let value_mainTitleModifier_type: int32 = RuntimeType.UNDEFINED + value_mainTitleModifier_type = runtimeType(value_mainTitleModifier) + valueSerializer.writeInt8(value_mainTitleModifier_type) + if ((RuntimeType.UNDEFINED) != (value_mainTitleModifier_type)) { + const value_mainTitleModifier_value = value_mainTitleModifier! + valueSerializer.writeTextModifier(value_mainTitleModifier_value) + } + const value_subTitleModifier = value.subTitleModifier + let value_subTitleModifier_type: int32 = RuntimeType.UNDEFINED + value_subTitleModifier_type = runtimeType(value_subTitleModifier) + valueSerializer.writeInt8(value_subTitleModifier_type) + if ((RuntimeType.UNDEFINED) != (value_subTitleModifier_type)) { + const value_subTitleModifier_value = value_subTitleModifier! + valueSerializer.writeTextModifier(value_subTitleModifier_value) + } + const value_enableHoverMode = value.enableHoverMode + let value_enableHoverMode_type: int32 = RuntimeType.UNDEFINED + value_enableHoverMode_type = runtimeType(value_enableHoverMode) + valueSerializer.writeInt8(value_enableHoverMode_type) + if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { + const value_enableHoverMode_value = value_enableHoverMode! + valueSerializer.writeBoolean(value_enableHoverMode_value) + } + } + public writeOffsetOptions(value: OffsetOptions): void { + let valueSerializer: Serializer = this + const value_xOffset = value.xOffset + let value_xOffset_type: int32 = RuntimeType.UNDEFINED + value_xOffset_type = runtimeType(value_xOffset) + valueSerializer.writeInt8(value_xOffset_type) + if ((RuntimeType.UNDEFINED) != (value_xOffset_type)) { + const value_xOffset_value = value_xOffset! + let value_xOffset_value_type: int32 = RuntimeType.UNDEFINED + value_xOffset_value_type = runtimeType(value_xOffset_value) + if (RuntimeType.STRING == value_xOffset_value_type) { + valueSerializer.writeInt8(0) + const value_xOffset_value_0 = unsafeCast(value_xOffset_value) + valueSerializer.writeString(value_xOffset_value_0) + } + else if (RuntimeType.NUMBER == value_xOffset_value_type) { + valueSerializer.writeInt8(1) + const value_xOffset_value_1 = unsafeCast(value_xOffset_value) + valueSerializer.writeNumber(value_xOffset_value_1) + } + else if (RuntimeType.OBJECT == value_xOffset_value_type) { + valueSerializer.writeInt8(2) + const value_xOffset_value_2 = unsafeCast(value_xOffset_value) + valueSerializer.writeResource(value_xOffset_value_2) + } + } + const value_yOffset = value.yOffset + let value_yOffset_type: int32 = RuntimeType.UNDEFINED + value_yOffset_type = runtimeType(value_yOffset) + valueSerializer.writeInt8(value_yOffset_type) + if ((RuntimeType.UNDEFINED) != (value_yOffset_type)) { + const value_yOffset_value = value_yOffset! + let value_yOffset_value_type: int32 = RuntimeType.UNDEFINED + value_yOffset_value_type = runtimeType(value_yOffset_value) + if (RuntimeType.STRING == value_yOffset_value_type) { + valueSerializer.writeInt8(0) + const value_yOffset_value_0 = unsafeCast(value_yOffset_value) + valueSerializer.writeString(value_yOffset_value_0) + } + else if (RuntimeType.NUMBER == value_yOffset_value_type) { + valueSerializer.writeInt8(1) + const value_yOffset_value_1 = unsafeCast(value_yOffset_value) + valueSerializer.writeNumber(value_yOffset_value_1) + } + else if (RuntimeType.OBJECT == value_yOffset_value_type) { + valueSerializer.writeInt8(2) + const value_yOffset_value_2 = unsafeCast(value_yOffset_value) + valueSerializer.writeResource(value_yOffset_value_2) + } + } + } + public writeOutlineRadiuses(value: OutlineRadiuses): void { + let valueSerializer: Serializer = this + const value_topLeft = value.topLeft + let value_topLeft_type: int32 = RuntimeType.UNDEFINED + value_topLeft_type = runtimeType(value_topLeft) + valueSerializer.writeInt8(value_topLeft_type) + if ((RuntimeType.UNDEFINED) != (value_topLeft_type)) { + const value_topLeft_value = value_topLeft! + let value_topLeft_value_type: int32 = RuntimeType.UNDEFINED + value_topLeft_value_type = runtimeType(value_topLeft_value) + if (RuntimeType.STRING == value_topLeft_value_type) { + valueSerializer.writeInt8(0) + const value_topLeft_value_0 = unsafeCast(value_topLeft_value) + valueSerializer.writeString(value_topLeft_value_0) + } + else if (RuntimeType.NUMBER == value_topLeft_value_type) { + valueSerializer.writeInt8(1) + const value_topLeft_value_1 = unsafeCast(value_topLeft_value) + valueSerializer.writeNumber(value_topLeft_value_1) + } + else if (RuntimeType.OBJECT == value_topLeft_value_type) { + valueSerializer.writeInt8(2) + const value_topLeft_value_2 = unsafeCast(value_topLeft_value) + valueSerializer.writeResource(value_topLeft_value_2) + } + } + const value_topRight = value.topRight + let value_topRight_type: int32 = RuntimeType.UNDEFINED + value_topRight_type = runtimeType(value_topRight) + valueSerializer.writeInt8(value_topRight_type) + if ((RuntimeType.UNDEFINED) != (value_topRight_type)) { + const value_topRight_value = value_topRight! + let value_topRight_value_type: int32 = RuntimeType.UNDEFINED + value_topRight_value_type = runtimeType(value_topRight_value) + if (RuntimeType.STRING == value_topRight_value_type) { + valueSerializer.writeInt8(0) + const value_topRight_value_0 = unsafeCast(value_topRight_value) + valueSerializer.writeString(value_topRight_value_0) + } + else if (RuntimeType.NUMBER == value_topRight_value_type) { + valueSerializer.writeInt8(1) + const value_topRight_value_1 = unsafeCast(value_topRight_value) + valueSerializer.writeNumber(value_topRight_value_1) + } + else if (RuntimeType.OBJECT == value_topRight_value_type) { + valueSerializer.writeInt8(2) + const value_topRight_value_2 = unsafeCast(value_topRight_value) + valueSerializer.writeResource(value_topRight_value_2) + } + } + const value_bottomLeft = value.bottomLeft + let value_bottomLeft_type: int32 = RuntimeType.UNDEFINED + value_bottomLeft_type = runtimeType(value_bottomLeft) + valueSerializer.writeInt8(value_bottomLeft_type) + if ((RuntimeType.UNDEFINED) != (value_bottomLeft_type)) { + const value_bottomLeft_value = value_bottomLeft! + let value_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED + value_bottomLeft_value_type = runtimeType(value_bottomLeft_value) + if (RuntimeType.STRING == value_bottomLeft_value_type) { + valueSerializer.writeInt8(0) + const value_bottomLeft_value_0 = unsafeCast(value_bottomLeft_value) + valueSerializer.writeString(value_bottomLeft_value_0) + } + else if (RuntimeType.NUMBER == value_bottomLeft_value_type) { + valueSerializer.writeInt8(1) + const value_bottomLeft_value_1 = unsafeCast(value_bottomLeft_value) + valueSerializer.writeNumber(value_bottomLeft_value_1) + } + else if (RuntimeType.OBJECT == value_bottomLeft_value_type) { + valueSerializer.writeInt8(2) + const value_bottomLeft_value_2 = unsafeCast(value_bottomLeft_value) + valueSerializer.writeResource(value_bottomLeft_value_2) + } + } + const value_bottomRight = value.bottomRight + let value_bottomRight_type: int32 = RuntimeType.UNDEFINED + value_bottomRight_type = runtimeType(value_bottomRight) + valueSerializer.writeInt8(value_bottomRight_type) + if ((RuntimeType.UNDEFINED) != (value_bottomRight_type)) { + const value_bottomRight_value = value_bottomRight! + let value_bottomRight_value_type: int32 = RuntimeType.UNDEFINED + value_bottomRight_value_type = runtimeType(value_bottomRight_value) + if (RuntimeType.STRING == value_bottomRight_value_type) { + valueSerializer.writeInt8(0) + const value_bottomRight_value_0 = unsafeCast(value_bottomRight_value) + valueSerializer.writeString(value_bottomRight_value_0) + } + else if (RuntimeType.NUMBER == value_bottomRight_value_type) { + valueSerializer.writeInt8(1) + const value_bottomRight_value_1 = unsafeCast(value_bottomRight_value) + valueSerializer.writeNumber(value_bottomRight_value_1) + } + else if (RuntimeType.OBJECT == value_bottomRight_value_type) { + valueSerializer.writeInt8(2) + const value_bottomRight_value_2 = unsafeCast(value_bottomRight_value) + valueSerializer.writeResource(value_bottomRight_value_2) + } + } + } + public writePadding(value: Padding): void { + let valueSerializer: Serializer = this + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type: int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.STRING == value_top_value_type) { + valueSerializer.writeInt8(0) + const value_top_value_0 = unsafeCast(value_top_value) + valueSerializer.writeString(value_top_value_0) + } + else if (RuntimeType.NUMBER == value_top_value_type) { + valueSerializer.writeInt8(1) + const value_top_value_1 = unsafeCast(value_top_value) + valueSerializer.writeNumber(value_top_value_1) + } + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(2) + const value_top_value_2 = unsafeCast(value_top_value) + valueSerializer.writeResource(value_top_value_2) + } + } + const value_right = value.right + let value_right_type: int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type: int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (RuntimeType.STRING == value_right_value_type) { + valueSerializer.writeInt8(0) + const value_right_value_0 = unsafeCast(value_right_value) + valueSerializer.writeString(value_right_value_0) + } + else if (RuntimeType.NUMBER == value_right_value_type) { + valueSerializer.writeInt8(1) + const value_right_value_1 = unsafeCast(value_right_value) + valueSerializer.writeNumber(value_right_value_1) + } + else if (RuntimeType.OBJECT == value_right_value_type) { + valueSerializer.writeInt8(2) + const value_right_value_2 = unsafeCast(value_right_value) + valueSerializer.writeResource(value_right_value_2) + } + } + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type: int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (RuntimeType.STRING == value_bottom_value_type) { + valueSerializer.writeInt8(0) + const value_bottom_value_0 = unsafeCast(value_bottom_value) + valueSerializer.writeString(value_bottom_value_0) + } + else if (RuntimeType.NUMBER == value_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_bottom_value_1 = unsafeCast(value_bottom_value) + valueSerializer.writeNumber(value_bottom_value_1) + } + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = unsafeCast(value_bottom_value) + valueSerializer.writeResource(value_bottom_value_2) + } + } + const value_left = value.left + let value_left_type: int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type: int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.STRING == value_left_value_type) { + valueSerializer.writeInt8(0) + const value_left_value_0 = unsafeCast(value_left_value) + valueSerializer.writeString(value_left_value_0) + } + else if (RuntimeType.NUMBER == value_left_value_type) { + valueSerializer.writeInt8(1) + const value_left_value_1 = unsafeCast(value_left_value) + valueSerializer.writeNumber(value_left_value_1) + } + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = unsafeCast(value_left_value) + valueSerializer.writeResource(value_left_value_2) + } + } + } + public writePixelStretchEffectOptions(value: PixelStretchEffectOptions): void { + let valueSerializer: Serializer = this + const value_top = value.top + let value_top_type: int32 = RuntimeType.UNDEFINED + value_top_type = runtimeType(value_top) + valueSerializer.writeInt8(value_top_type) + if ((RuntimeType.UNDEFINED) != (value_top_type)) { + const value_top_value = value_top! + let value_top_value_type: int32 = RuntimeType.UNDEFINED + value_top_value_type = runtimeType(value_top_value) + if (RuntimeType.STRING == value_top_value_type) { + valueSerializer.writeInt8(0) + const value_top_value_0 = unsafeCast(value_top_value) + valueSerializer.writeString(value_top_value_0) + } + else if (RuntimeType.NUMBER == value_top_value_type) { + valueSerializer.writeInt8(1) + const value_top_value_1 = unsafeCast(value_top_value) + valueSerializer.writeNumber(value_top_value_1) + } + else if (RuntimeType.OBJECT == value_top_value_type) { + valueSerializer.writeInt8(2) + const value_top_value_2 = unsafeCast(value_top_value) + valueSerializer.writeResource(value_top_value_2) + } + } + const value_bottom = value.bottom + let value_bottom_type: int32 = RuntimeType.UNDEFINED + value_bottom_type = runtimeType(value_bottom) + valueSerializer.writeInt8(value_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_bottom_type)) { + const value_bottom_value = value_bottom! + let value_bottom_value_type: int32 = RuntimeType.UNDEFINED + value_bottom_value_type = runtimeType(value_bottom_value) + if (RuntimeType.STRING == value_bottom_value_type) { + valueSerializer.writeInt8(0) + const value_bottom_value_0 = unsafeCast(value_bottom_value) + valueSerializer.writeString(value_bottom_value_0) + } + else if (RuntimeType.NUMBER == value_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_bottom_value_1 = unsafeCast(value_bottom_value) + valueSerializer.writeNumber(value_bottom_value_1) + } + else if (RuntimeType.OBJECT == value_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_bottom_value_2 = unsafeCast(value_bottom_value) + valueSerializer.writeResource(value_bottom_value_2) + } + } + const value_left = value.left + let value_left_type: int32 = RuntimeType.UNDEFINED + value_left_type = runtimeType(value_left) + valueSerializer.writeInt8(value_left_type) + if ((RuntimeType.UNDEFINED) != (value_left_type)) { + const value_left_value = value_left! + let value_left_value_type: int32 = RuntimeType.UNDEFINED + value_left_value_type = runtimeType(value_left_value) + if (RuntimeType.STRING == value_left_value_type) { + valueSerializer.writeInt8(0) + const value_left_value_0 = unsafeCast(value_left_value) + valueSerializer.writeString(value_left_value_0) + } + else if (RuntimeType.NUMBER == value_left_value_type) { + valueSerializer.writeInt8(1) + const value_left_value_1 = unsafeCast(value_left_value) + valueSerializer.writeNumber(value_left_value_1) + } + else if (RuntimeType.OBJECT == value_left_value_type) { + valueSerializer.writeInt8(2) + const value_left_value_2 = unsafeCast(value_left_value) + valueSerializer.writeResource(value_left_value_2) + } + } + const value_right = value.right + let value_right_type: int32 = RuntimeType.UNDEFINED + value_right_type = runtimeType(value_right) + valueSerializer.writeInt8(value_right_type) + if ((RuntimeType.UNDEFINED) != (value_right_type)) { + const value_right_value = value_right! + let value_right_value_type: int32 = RuntimeType.UNDEFINED + value_right_value_type = runtimeType(value_right_value) + if (RuntimeType.STRING == value_right_value_type) { + valueSerializer.writeInt8(0) + const value_right_value_0 = unsafeCast(value_right_value) + valueSerializer.writeString(value_right_value_0) + } + else if (RuntimeType.NUMBER == value_right_value_type) { + valueSerializer.writeInt8(1) + const value_right_value_1 = unsafeCast(value_right_value) + valueSerializer.writeNumber(value_right_value_1) + } + else if (RuntimeType.OBJECT == value_right_value_type) { + valueSerializer.writeInt8(2) + const value_right_value_2 = unsafeCast(value_right_value) + valueSerializer.writeResource(value_right_value_2) + } + } + } + public writePointLightStyle(value: PointLightStyle): void { + let valueSerializer: Serializer = this + const value_lightSource = value.lightSource + let value_lightSource_type: int32 = RuntimeType.UNDEFINED + value_lightSource_type = runtimeType(value_lightSource) + valueSerializer.writeInt8(value_lightSource_type) + if ((RuntimeType.UNDEFINED) != (value_lightSource_type)) { + const value_lightSource_value = value_lightSource! + valueSerializer.writeLightSource(value_lightSource_value) + } + const value_illuminated = value.illuminated + let value_illuminated_type: int32 = RuntimeType.UNDEFINED + value_illuminated_type = runtimeType(value_illuminated) + valueSerializer.writeInt8(value_illuminated_type) + if ((RuntimeType.UNDEFINED) != (value_illuminated_type)) { + const value_illuminated_value = value_illuminated! + valueSerializer.writeInt32(value_illuminated_value.valueOf()) + } + const value_bloom = value.bloom + let value_bloom_type: int32 = RuntimeType.UNDEFINED + value_bloom_type = runtimeType(value_bloom) + valueSerializer.writeInt8(value_bloom_type) + if ((RuntimeType.UNDEFINED) != (value_bloom_type)) { + const value_bloom_value = value_bloom! + valueSerializer.writeNumber(value_bloom_value) + } + } + public writePosition(value: Position): void { + let valueSerializer: Serializer = this + const value_x = value.x + let value_x_type: int32 = RuntimeType.UNDEFINED + value_x_type = runtimeType(value_x) + valueSerializer.writeInt8(value_x_type) + if ((RuntimeType.UNDEFINED) != (value_x_type)) { + const value_x_value = value_x! + let value_x_value_type: int32 = RuntimeType.UNDEFINED + value_x_value_type = runtimeType(value_x_value) + if (RuntimeType.STRING == value_x_value_type) { + valueSerializer.writeInt8(0) + const value_x_value_0 = unsafeCast(value_x_value) + valueSerializer.writeString(value_x_value_0) + } + else if (RuntimeType.NUMBER == value_x_value_type) { + valueSerializer.writeInt8(1) + const value_x_value_1 = unsafeCast(value_x_value) + valueSerializer.writeNumber(value_x_value_1) + } + else if (RuntimeType.OBJECT == value_x_value_type) { + valueSerializer.writeInt8(2) + const value_x_value_2 = unsafeCast(value_x_value) + valueSerializer.writeResource(value_x_value_2) + } + } + const value_y = value.y + let value_y_type: int32 = RuntimeType.UNDEFINED + value_y_type = runtimeType(value_y) + valueSerializer.writeInt8(value_y_type) + if ((RuntimeType.UNDEFINED) != (value_y_type)) { + const value_y_value = value_y! + let value_y_value_type: int32 = RuntimeType.UNDEFINED + value_y_value_type = runtimeType(value_y_value) + if (RuntimeType.STRING == value_y_value_type) { + valueSerializer.writeInt8(0) + const value_y_value_0 = unsafeCast(value_y_value) + valueSerializer.writeString(value_y_value_0) + } + else if (RuntimeType.NUMBER == value_y_value_type) { + valueSerializer.writeInt8(1) + const value_y_value_1 = unsafeCast(value_y_value) + valueSerializer.writeNumber(value_y_value_1) + } + else if (RuntimeType.OBJECT == value_y_value_type) { + valueSerializer.writeInt8(2) + const value_y_value_2 = unsafeCast(value_y_value) + valueSerializer.writeResource(value_y_value_2) + } + } + } + public writeProgressStyleOptions(value: ProgressStyleOptions): void { + let valueSerializer: Serializer = this + const value_enableSmoothEffect = value.enableSmoothEffect + let value_enableSmoothEffect_type: int32 = RuntimeType.UNDEFINED + value_enableSmoothEffect_type = runtimeType(value_enableSmoothEffect) + valueSerializer.writeInt8(value_enableSmoothEffect_type) + if ((RuntimeType.UNDEFINED) != (value_enableSmoothEffect_type)) { + const value_enableSmoothEffect_value = value_enableSmoothEffect! + valueSerializer.writeBoolean(value_enableSmoothEffect_value) + } + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + let value_strokeWidth_value_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) + if (RuntimeType.STRING == value_strokeWidth_value_type) { + valueSerializer.writeInt8(0) + const value_strokeWidth_value_0 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeString(value_strokeWidth_value_0) + } + else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { + valueSerializer.writeInt8(1) + const value_strokeWidth_value_1 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeNumber(value_strokeWidth_value_1) + } + else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_value_2 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeResource(value_strokeWidth_value_2) + } + } + const value_scaleCount = value.scaleCount + let value_scaleCount_type: int32 = RuntimeType.UNDEFINED + value_scaleCount_type = runtimeType(value_scaleCount) + valueSerializer.writeInt8(value_scaleCount_type) + if ((RuntimeType.UNDEFINED) != (value_scaleCount_type)) { + const value_scaleCount_value = value_scaleCount! + valueSerializer.writeNumber(value_scaleCount_value) + } + const value_scaleWidth = value.scaleWidth + let value_scaleWidth_type: int32 = RuntimeType.UNDEFINED + value_scaleWidth_type = runtimeType(value_scaleWidth) + valueSerializer.writeInt8(value_scaleWidth_type) + if ((RuntimeType.UNDEFINED) != (value_scaleWidth_type)) { + const value_scaleWidth_value = value_scaleWidth! + let value_scaleWidth_value_type: int32 = RuntimeType.UNDEFINED + value_scaleWidth_value_type = runtimeType(value_scaleWidth_value) + if (RuntimeType.STRING == value_scaleWidth_value_type) { + valueSerializer.writeInt8(0) + const value_scaleWidth_value_0 = unsafeCast(value_scaleWidth_value) + valueSerializer.writeString(value_scaleWidth_value_0) + } + else if (RuntimeType.NUMBER == value_scaleWidth_value_type) { + valueSerializer.writeInt8(1) + const value_scaleWidth_value_1 = unsafeCast(value_scaleWidth_value) + valueSerializer.writeNumber(value_scaleWidth_value_1) + } + else if (RuntimeType.OBJECT == value_scaleWidth_value_type) { + valueSerializer.writeInt8(2) + const value_scaleWidth_value_2 = unsafeCast(value_scaleWidth_value) + valueSerializer.writeResource(value_scaleWidth_value_2) + } + } + } + public writeRadialGradientOptions(value: RadialGradientOptions): void { + let valueSerializer: Serializer = this + const value_center = value.center + const value_center_0 = value_center[0] + let value_center_0_type: int32 = RuntimeType.UNDEFINED + value_center_0_type = runtimeType(value_center_0) + if (RuntimeType.STRING == value_center_0_type) { + valueSerializer.writeInt8(0) + const value_center_0_0 = unsafeCast(value_center_0) + valueSerializer.writeString(value_center_0_0) + } + else if (RuntimeType.NUMBER == value_center_0_type) { + valueSerializer.writeInt8(1) + const value_center_0_1 = unsafeCast(value_center_0) + valueSerializer.writeNumber(value_center_0_1) + } + else if (RuntimeType.OBJECT == value_center_0_type) { + valueSerializer.writeInt8(2) + const value_center_0_2 = unsafeCast(value_center_0) + valueSerializer.writeResource(value_center_0_2) + } + const value_center_1 = value_center[1] + let value_center_1_type: int32 = RuntimeType.UNDEFINED + value_center_1_type = runtimeType(value_center_1) + if (RuntimeType.STRING == value_center_1_type) { + valueSerializer.writeInt8(0) + const value_center_1_0 = unsafeCast(value_center_1) + valueSerializer.writeString(value_center_1_0) + } + else if (RuntimeType.NUMBER == value_center_1_type) { + valueSerializer.writeInt8(1) + const value_center_1_1 = unsafeCast(value_center_1) + valueSerializer.writeNumber(value_center_1_1) + } + else if (RuntimeType.OBJECT == value_center_1_type) { + valueSerializer.writeInt8(2) + const value_center_1_2 = unsafeCast(value_center_1) + valueSerializer.writeResource(value_center_1_2) + } + const value_radius = value.radius + let value_radius_type: int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + if (RuntimeType.STRING == value_radius_type) { + valueSerializer.writeInt8(0) + const value_radius_0 = unsafeCast(value_radius) + valueSerializer.writeString(value_radius_0) + } + else if (RuntimeType.NUMBER == value_radius_type) { + valueSerializer.writeInt8(1) + const value_radius_1 = unsafeCast(value_radius) + valueSerializer.writeNumber(value_radius_1) + } + else if (RuntimeType.OBJECT == value_radius_type) { + valueSerializer.writeInt8(2) + const value_radius_2 = unsafeCast(value_radius) + valueSerializer.writeResource(value_radius_2) + } + const value_colors = value.colors + valueSerializer.writeInt32(value_colors.length) + for (let i = 0; i < value_colors.length; i++) { + const value_colors_element: [ ResourceColor, number ] = value_colors[i] + const value_colors_element_0 = value_colors_element[0] + let value_colors_element_0_type: int32 = RuntimeType.UNDEFINED + value_colors_element_0_type = runtimeType(value_colors_element_0) + if (((RuntimeType.NUMBER) == (value_colors_element_0_type)) && ((unsafeCast(value_colors_element_0)) >= (0)) && ((unsafeCast(value_colors_element_0)) <= (11))) { + valueSerializer.writeInt8(0) + const value_colors_element_0_0 = unsafeCast(value_colors_element_0) + valueSerializer.writeInt32(value_colors_element_0_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_colors_element_0_type) { + valueSerializer.writeInt8(1) + const value_colors_element_0_1 = unsafeCast(value_colors_element_0) + valueSerializer.writeNumber(value_colors_element_0_1) + } + else if (RuntimeType.STRING == value_colors_element_0_type) { + valueSerializer.writeInt8(2) + const value_colors_element_0_2 = unsafeCast(value_colors_element_0) + valueSerializer.writeString(value_colors_element_0_2) + } + else if (RuntimeType.OBJECT == value_colors_element_0_type) { + valueSerializer.writeInt8(3) + const value_colors_element_0_3 = unsafeCast(value_colors_element_0) + valueSerializer.writeResource(value_colors_element_0_3) + } + const value_colors_element_1 = value_colors_element[1] + valueSerializer.writeNumber(value_colors_element_1) + } + const value_repeating = value.repeating + let value_repeating_type: int32 = RuntimeType.UNDEFINED + value_repeating_type = runtimeType(value_repeating) + valueSerializer.writeInt8(value_repeating_type) + if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { + const value_repeating_value = value_repeating! + valueSerializer.writeBoolean(value_repeating_value) + } + } + public writeRectangle(value: Rectangle): void { + let valueSerializer: Serializer = this + const value_x = value.x + let value_x_type: int32 = RuntimeType.UNDEFINED + value_x_type = runtimeType(value_x) + valueSerializer.writeInt8(value_x_type) + if ((RuntimeType.UNDEFINED) != (value_x_type)) { + const value_x_value = value_x! + let value_x_value_type: int32 = RuntimeType.UNDEFINED + value_x_value_type = runtimeType(value_x_value) + if (RuntimeType.STRING == value_x_value_type) { + valueSerializer.writeInt8(0) + const value_x_value_0 = unsafeCast(value_x_value) + valueSerializer.writeString(value_x_value_0) + } + else if (RuntimeType.NUMBER == value_x_value_type) { + valueSerializer.writeInt8(1) + const value_x_value_1 = unsafeCast(value_x_value) + valueSerializer.writeNumber(value_x_value_1) + } + else if (RuntimeType.OBJECT == value_x_value_type) { + valueSerializer.writeInt8(2) + const value_x_value_2 = unsafeCast(value_x_value) + valueSerializer.writeResource(value_x_value_2) + } + } + const value_y = value.y + let value_y_type: int32 = RuntimeType.UNDEFINED + value_y_type = runtimeType(value_y) + valueSerializer.writeInt8(value_y_type) + if ((RuntimeType.UNDEFINED) != (value_y_type)) { + const value_y_value = value_y! + let value_y_value_type: int32 = RuntimeType.UNDEFINED + value_y_value_type = runtimeType(value_y_value) + if (RuntimeType.STRING == value_y_value_type) { + valueSerializer.writeInt8(0) + const value_y_value_0 = unsafeCast(value_y_value) + valueSerializer.writeString(value_y_value_0) + } + else if (RuntimeType.NUMBER == value_y_value_type) { + valueSerializer.writeInt8(1) + const value_y_value_1 = unsafeCast(value_y_value) + valueSerializer.writeNumber(value_y_value_1) + } + else if (RuntimeType.OBJECT == value_y_value_type) { + valueSerializer.writeInt8(2) + const value_y_value_2 = unsafeCast(value_y_value) + valueSerializer.writeResource(value_y_value_2) + } + } + const value_width = value.width + let value_width_type: int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type: int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = unsafeCast(value_width_value) + valueSerializer.writeString(value_width_value_0) + } + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = unsafeCast(value_width_value) + valueSerializer.writeNumber(value_width_value_1) + } + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = unsafeCast(value_width_value) + valueSerializer.writeResource(value_width_value_2) + } + } + const value_height = value.height + let value_height_type: int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type: int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.STRING == value_height_value_type) { + valueSerializer.writeInt8(0) + const value_height_value_0 = unsafeCast(value_height_value) + valueSerializer.writeString(value_height_value_0) + } + else if (RuntimeType.NUMBER == value_height_value_type) { + valueSerializer.writeInt8(1) + const value_height_value_1 = unsafeCast(value_height_value) + valueSerializer.writeNumber(value_height_value_1) + } + else if (RuntimeType.OBJECT == value_height_value_type) { + valueSerializer.writeInt8(2) + const value_height_value_2 = unsafeCast(value_height_value) + valueSerializer.writeResource(value_height_value_2) + } + } + } + public writeRenderNode(value: RenderNode): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeRichEditorSymbolSpanOptions(value: RichEditorSymbolSpanOptions): void { + let valueSerializer: Serializer = this + const value_offset = value.offset + let value_offset_type: int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writeNumber(value_offset_value) + } + const value_style = value.style + let value_style_type: int32 = RuntimeType.UNDEFINED + value_style_type = runtimeType(value_style) + valueSerializer.writeInt8(value_style_type) + if ((RuntimeType.UNDEFINED) != (value_style_type)) { + const value_style_value = value_style! + valueSerializer.writeRichEditorSymbolSpanStyle(value_style_value) + } + } + public writeRingStyleOptions(value: RingStyleOptions): void { + let valueSerializer: Serializer = this + const value_enableScanEffect = value.enableScanEffect + let value_enableScanEffect_type: int32 = RuntimeType.UNDEFINED + value_enableScanEffect_type = runtimeType(value_enableScanEffect) + valueSerializer.writeInt8(value_enableScanEffect_type) + if ((RuntimeType.UNDEFINED) != (value_enableScanEffect_type)) { + const value_enableScanEffect_value = value_enableScanEffect! + valueSerializer.writeBoolean(value_enableScanEffect_value) + } + const value_strokeWidth = value.strokeWidth + let value_strokeWidth_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_type = runtimeType(value_strokeWidth) + valueSerializer.writeInt8(value_strokeWidth_type) + if ((RuntimeType.UNDEFINED) != (value_strokeWidth_type)) { + const value_strokeWidth_value = value_strokeWidth! + let value_strokeWidth_value_type: int32 = RuntimeType.UNDEFINED + value_strokeWidth_value_type = runtimeType(value_strokeWidth_value) + if (RuntimeType.STRING == value_strokeWidth_value_type) { + valueSerializer.writeInt8(0) + const value_strokeWidth_value_0 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeString(value_strokeWidth_value_0) + } + else if (RuntimeType.NUMBER == value_strokeWidth_value_type) { + valueSerializer.writeInt8(1) + const value_strokeWidth_value_1 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeNumber(value_strokeWidth_value_1) + } + else if (RuntimeType.OBJECT == value_strokeWidth_value_type) { + valueSerializer.writeInt8(2) + const value_strokeWidth_value_2 = unsafeCast(value_strokeWidth_value) + valueSerializer.writeResource(value_strokeWidth_value_2) + } + } + const value_shadow = value.shadow + let value_shadow_type: int32 = RuntimeType.UNDEFINED + value_shadow_type = runtimeType(value_shadow) + valueSerializer.writeInt8(value_shadow_type) + if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { + const value_shadow_value = value_shadow! + valueSerializer.writeBoolean(value_shadow_value) + } + const value_status = value.status + let value_status_type: int32 = RuntimeType.UNDEFINED + value_status_type = runtimeType(value_status) + valueSerializer.writeInt8(value_status_type) + if ((RuntimeType.UNDEFINED) != (value_status_type)) { + const value_status_value = value_status! + valueSerializer.writeInt32(value_status_value.valueOf()) + } + } + public writeScrollableBarModeOptions(value: ScrollableBarModeOptions): void { + let valueSerializer: Serializer = this + const value_margin = value.margin + let value_margin_type: int32 = RuntimeType.UNDEFINED + value_margin_type = runtimeType(value_margin) + valueSerializer.writeInt8(value_margin_type) + if ((RuntimeType.UNDEFINED) != (value_margin_type)) { + const value_margin_value = value_margin! + let value_margin_value_type: int32 = RuntimeType.UNDEFINED + value_margin_value_type = runtimeType(value_margin_value) + if (RuntimeType.STRING == value_margin_value_type) { + valueSerializer.writeInt8(0) + const value_margin_value_0 = unsafeCast(value_margin_value) + valueSerializer.writeString(value_margin_value_0) + } + else if (RuntimeType.NUMBER == value_margin_value_type) { + valueSerializer.writeInt8(1) + const value_margin_value_1 = unsafeCast(value_margin_value) + valueSerializer.writeNumber(value_margin_value_1) + } + else if (RuntimeType.OBJECT == value_margin_value_type) { + valueSerializer.writeInt8(2) + const value_margin_value_2 = unsafeCast(value_margin_value) + valueSerializer.writeResource(value_margin_value_2) + } + } + const value_nonScrollableLayoutStyle = value.nonScrollableLayoutStyle + let value_nonScrollableLayoutStyle_type: int32 = RuntimeType.UNDEFINED + value_nonScrollableLayoutStyle_type = runtimeType(value_nonScrollableLayoutStyle) + valueSerializer.writeInt8(value_nonScrollableLayoutStyle_type) + if ((RuntimeType.UNDEFINED) != (value_nonScrollableLayoutStyle_type)) { + const value_nonScrollableLayoutStyle_value = value_nonScrollableLayoutStyle! + valueSerializer.writeInt32(value_nonScrollableLayoutStyle_value.valueOf()) + } + } + public writeScrollSnapOptions(value: ScrollSnapOptions): void { + let valueSerializer: Serializer = this + const value_snapAlign = value.snapAlign + valueSerializer.writeInt32(value_snapAlign.valueOf()) + const value_snapPagination = value.snapPagination + let value_snapPagination_type: int32 = RuntimeType.UNDEFINED + value_snapPagination_type = runtimeType(value_snapPagination) + valueSerializer.writeInt8(value_snapPagination_type) + if ((RuntimeType.UNDEFINED) != (value_snapPagination_type)) { + const value_snapPagination_value = value_snapPagination! + let value_snapPagination_value_type: int32 = RuntimeType.UNDEFINED + value_snapPagination_value_type = runtimeType(value_snapPagination_value) + if ((RuntimeType.STRING == value_snapPagination_value_type) || (RuntimeType.NUMBER == value_snapPagination_value_type) || (RuntimeType.OBJECT == value_snapPagination_value_type)) { + valueSerializer.writeInt8(0) + const value_snapPagination_value_0 = unsafeCast(value_snapPagination_value) + let value_snapPagination_value_0_type: int32 = RuntimeType.UNDEFINED + value_snapPagination_value_0_type = runtimeType(value_snapPagination_value_0) + if (RuntimeType.STRING == value_snapPagination_value_0_type) { + valueSerializer.writeInt8(0) + const value_snapPagination_value_0_0 = unsafeCast(value_snapPagination_value_0) + valueSerializer.writeString(value_snapPagination_value_0_0) + } + else if (RuntimeType.NUMBER == value_snapPagination_value_0_type) { + valueSerializer.writeInt8(1) + const value_snapPagination_value_0_1 = unsafeCast(value_snapPagination_value_0) + valueSerializer.writeNumber(value_snapPagination_value_0_1) + } + else if (RuntimeType.OBJECT == value_snapPagination_value_0_type) { + valueSerializer.writeInt8(2) + const value_snapPagination_value_0_2 = unsafeCast(value_snapPagination_value_0) + valueSerializer.writeResource(value_snapPagination_value_0_2) + } + } + else if (((RuntimeType.OBJECT) == (value_snapPagination_value_type)) && (value_snapPagination_value instanceof Array)) { + valueSerializer.writeInt8(1) + const value_snapPagination_value_1 = unsafeCast>(value_snapPagination_value) + valueSerializer.writeInt32(value_snapPagination_value_1.length) + for (let i = 0; i < value_snapPagination_value_1.length; i++) { + const value_snapPagination_value_1_element: Dimension = value_snapPagination_value_1[i] + let value_snapPagination_value_1_element_type: int32 = RuntimeType.UNDEFINED + value_snapPagination_value_1_element_type = runtimeType(value_snapPagination_value_1_element) + if (RuntimeType.STRING == value_snapPagination_value_1_element_type) { + valueSerializer.writeInt8(0) + const value_snapPagination_value_1_element_0 = unsafeCast(value_snapPagination_value_1_element) + valueSerializer.writeString(value_snapPagination_value_1_element_0) + } + else if (RuntimeType.NUMBER == value_snapPagination_value_1_element_type) { + valueSerializer.writeInt8(1) + const value_snapPagination_value_1_element_1 = unsafeCast(value_snapPagination_value_1_element) + valueSerializer.writeNumber(value_snapPagination_value_1_element_1) + } + else if (RuntimeType.OBJECT == value_snapPagination_value_1_element_type) { + valueSerializer.writeInt8(2) + const value_snapPagination_value_1_element_2 = unsafeCast(value_snapPagination_value_1_element) + valueSerializer.writeResource(value_snapPagination_value_1_element_2) + } + } + } + } + const value_enableSnapToStart = value.enableSnapToStart + let value_enableSnapToStart_type: int32 = RuntimeType.UNDEFINED + value_enableSnapToStart_type = runtimeType(value_enableSnapToStart) + valueSerializer.writeInt8(value_enableSnapToStart_type) + if ((RuntimeType.UNDEFINED) != (value_enableSnapToStart_type)) { + const value_enableSnapToStart_value = value_enableSnapToStart! + valueSerializer.writeBoolean(value_enableSnapToStart_value) + } + const value_enableSnapToEnd = value.enableSnapToEnd + let value_enableSnapToEnd_type: int32 = RuntimeType.UNDEFINED + value_enableSnapToEnd_type = runtimeType(value_enableSnapToEnd) + valueSerializer.writeInt8(value_enableSnapToEnd_type) + if ((RuntimeType.UNDEFINED) != (value_enableSnapToEnd_type)) { + const value_enableSnapToEnd_value = value_enableSnapToEnd! + valueSerializer.writeBoolean(value_enableSnapToEnd_value) + } + } + public writeSearchButtonOptions(value: SearchButtonOptions): void { + let valueSerializer: Serializer = this + const value_fontSize = value.fontSize + let value_fontSize_type: int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + let value_fontSize_value_type: int32 = RuntimeType.UNDEFINED + value_fontSize_value_type = runtimeType(value_fontSize_value) + if (RuntimeType.STRING == value_fontSize_value_type) { + valueSerializer.writeInt8(0) + const value_fontSize_value_0 = unsafeCast(value_fontSize_value) + valueSerializer.writeString(value_fontSize_value_0) + } + else if (RuntimeType.NUMBER == value_fontSize_value_type) { + valueSerializer.writeInt8(1) + const value_fontSize_value_1 = unsafeCast(value_fontSize_value) + valueSerializer.writeNumber(value_fontSize_value_1) + } + else if (RuntimeType.OBJECT == value_fontSize_value_type) { + valueSerializer.writeInt8(2) + const value_fontSize_value_2 = unsafeCast(value_fontSize_value) + valueSerializer.writeResource(value_fontSize_value_2) + } + } + const value_fontColor = value.fontColor + let value_fontColor_type: int32 = RuntimeType.UNDEFINED + value_fontColor_type = runtimeType(value_fontColor) + valueSerializer.writeInt8(value_fontColor_type) + if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { + const value_fontColor_value = value_fontColor! + let value_fontColor_value_type: int32 = RuntimeType.UNDEFINED + value_fontColor_value_type = runtimeType(value_fontColor_value) + if (((RuntimeType.NUMBER) == (value_fontColor_value_type)) && ((unsafeCast(value_fontColor_value)) >= (0)) && ((unsafeCast(value_fontColor_value)) <= (11))) { + valueSerializer.writeInt8(0) + const value_fontColor_value_0 = unsafeCast(value_fontColor_value) + valueSerializer.writeInt32(value_fontColor_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_fontColor_value_type) { + valueSerializer.writeInt8(1) + const value_fontColor_value_1 = unsafeCast(value_fontColor_value) + valueSerializer.writeNumber(value_fontColor_value_1) + } + else if (RuntimeType.STRING == value_fontColor_value_type) { + valueSerializer.writeInt8(2) + const value_fontColor_value_2 = unsafeCast(value_fontColor_value) + valueSerializer.writeString(value_fontColor_value_2) + } + else if (RuntimeType.OBJECT == value_fontColor_value_type) { + valueSerializer.writeInt8(3) + const value_fontColor_value_3 = unsafeCast(value_fontColor_value) + valueSerializer.writeResource(value_fontColor_value_3) + } + } + const value_autoDisable = value.autoDisable + let value_autoDisable_type: int32 = RuntimeType.UNDEFINED + value_autoDisable_type = runtimeType(value_autoDisable) + valueSerializer.writeInt8(value_autoDisable_type) + if ((RuntimeType.UNDEFINED) != (value_autoDisable_type)) { + const value_autoDisable_value = value_autoDisable! + valueSerializer.writeBoolean(value_autoDisable_value) + } + } + public writeSizeOptions(value: SizeOptions): void { + let valueSerializer: Serializer = this + const value_width = value.width + let value_width_type: int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type: int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { + valueSerializer.writeInt8(0) + const value_width_value_0 = unsafeCast(value_width_value) + valueSerializer.writeString(value_width_value_0) + } + else if (RuntimeType.NUMBER == value_width_value_type) { + valueSerializer.writeInt8(1) + const value_width_value_1 = unsafeCast(value_width_value) + valueSerializer.writeNumber(value_width_value_1) + } + else if (RuntimeType.OBJECT == value_width_value_type) { + valueSerializer.writeInt8(2) + const value_width_value_2 = unsafeCast(value_width_value) + valueSerializer.writeResource(value_width_value_2) + } + } + const value_height = value.height + let value_height_type: int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type: int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (RuntimeType.STRING == value_height_value_type) { + valueSerializer.writeInt8(0) + const value_height_value_0 = unsafeCast(value_height_value) + valueSerializer.writeString(value_height_value_0) + } + else if (RuntimeType.NUMBER == value_height_value_type) { + valueSerializer.writeInt8(1) + const value_height_value_1 = unsafeCast(value_height_value) + valueSerializer.writeNumber(value_height_value_1) + } + else if (RuntimeType.OBJECT == value_height_value_type) { + valueSerializer.writeInt8(2) + const value_height_value_2 = unsafeCast(value_height_value) + valueSerializer.writeResource(value_height_value_2) + } + } + } + public writeSweepGradientOptions(value: SweepGradientOptions): void { + let valueSerializer: Serializer = this + const value_center = value.center + const value_center_0 = value_center[0] + let value_center_0_type: int32 = RuntimeType.UNDEFINED + value_center_0_type = runtimeType(value_center_0) + if (RuntimeType.STRING == value_center_0_type) { + valueSerializer.writeInt8(0) + const value_center_0_0 = unsafeCast(value_center_0) + valueSerializer.writeString(value_center_0_0) + } + else if (RuntimeType.NUMBER == value_center_0_type) { + valueSerializer.writeInt8(1) + const value_center_0_1 = unsafeCast(value_center_0) + valueSerializer.writeNumber(value_center_0_1) + } + else if (RuntimeType.OBJECT == value_center_0_type) { + valueSerializer.writeInt8(2) + const value_center_0_2 = unsafeCast(value_center_0) + valueSerializer.writeResource(value_center_0_2) + } + const value_center_1 = value_center[1] + let value_center_1_type: int32 = RuntimeType.UNDEFINED + value_center_1_type = runtimeType(value_center_1) + if (RuntimeType.STRING == value_center_1_type) { + valueSerializer.writeInt8(0) + const value_center_1_0 = unsafeCast(value_center_1) + valueSerializer.writeString(value_center_1_0) + } + else if (RuntimeType.NUMBER == value_center_1_type) { + valueSerializer.writeInt8(1) + const value_center_1_1 = unsafeCast(value_center_1) + valueSerializer.writeNumber(value_center_1_1) + } + else if (RuntimeType.OBJECT == value_center_1_type) { + valueSerializer.writeInt8(2) + const value_center_1_2 = unsafeCast(value_center_1) + valueSerializer.writeResource(value_center_1_2) + } + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + let value_start_value_type: int32 = RuntimeType.UNDEFINED + value_start_value_type = runtimeType(value_start_value) + if (RuntimeType.NUMBER == value_start_value_type) { + valueSerializer.writeInt8(0) + const value_start_value_0 = unsafeCast(value_start_value) + valueSerializer.writeNumber(value_start_value_0) + } + else if (RuntimeType.STRING == value_start_value_type) { + valueSerializer.writeInt8(1) + const value_start_value_1 = unsafeCast(value_start_value) + valueSerializer.writeString(value_start_value_1) + } + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + let value_end_value_type: int32 = RuntimeType.UNDEFINED + value_end_value_type = runtimeType(value_end_value) + if (RuntimeType.NUMBER == value_end_value_type) { + valueSerializer.writeInt8(0) + const value_end_value_0 = unsafeCast(value_end_value) + valueSerializer.writeNumber(value_end_value_0) + } + else if (RuntimeType.STRING == value_end_value_type) { + valueSerializer.writeInt8(1) + const value_end_value_1 = unsafeCast(value_end_value) + valueSerializer.writeString(value_end_value_1) + } + } + const value_rotation = value.rotation + let value_rotation_type: int32 = RuntimeType.UNDEFINED + value_rotation_type = runtimeType(value_rotation) + valueSerializer.writeInt8(value_rotation_type) + if ((RuntimeType.UNDEFINED) != (value_rotation_type)) { + const value_rotation_value = value_rotation! + let value_rotation_value_type: int32 = RuntimeType.UNDEFINED + value_rotation_value_type = runtimeType(value_rotation_value) + if (RuntimeType.NUMBER == value_rotation_value_type) { + valueSerializer.writeInt8(0) + const value_rotation_value_0 = unsafeCast(value_rotation_value) + valueSerializer.writeNumber(value_rotation_value_0) + } + else if (RuntimeType.STRING == value_rotation_value_type) { + valueSerializer.writeInt8(1) + const value_rotation_value_1 = unsafeCast(value_rotation_value) + valueSerializer.writeString(value_rotation_value_1) + } + } + const value_colors = value.colors + valueSerializer.writeInt32(value_colors.length) + for (let i = 0; i < value_colors.length; i++) { + const value_colors_element: [ ResourceColor, number ] = value_colors[i] + const value_colors_element_0 = value_colors_element[0] + let value_colors_element_0_type: int32 = RuntimeType.UNDEFINED + value_colors_element_0_type = runtimeType(value_colors_element_0) + if (((RuntimeType.NUMBER) == (value_colors_element_0_type)) && ((unsafeCast(value_colors_element_0)) >= (0)) && ((unsafeCast(value_colors_element_0)) <= (11))) { + valueSerializer.writeInt8(0) + const value_colors_element_0_0 = unsafeCast(value_colors_element_0) + valueSerializer.writeInt32(value_colors_element_0_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_colors_element_0_type) { + valueSerializer.writeInt8(1) + const value_colors_element_0_1 = unsafeCast(value_colors_element_0) + valueSerializer.writeNumber(value_colors_element_0_1) + } + else if (RuntimeType.STRING == value_colors_element_0_type) { + valueSerializer.writeInt8(2) + const value_colors_element_0_2 = unsafeCast(value_colors_element_0) + valueSerializer.writeString(value_colors_element_0_2) + } + else if (RuntimeType.OBJECT == value_colors_element_0_type) { + valueSerializer.writeInt8(3) + const value_colors_element_0_3 = unsafeCast(value_colors_element_0) + valueSerializer.writeResource(value_colors_element_0_3) + } + const value_colors_element_1 = value_colors_element[1] + valueSerializer.writeNumber(value_colors_element_1) + } + const value_repeating = value.repeating + let value_repeating_type: int32 = RuntimeType.UNDEFINED + value_repeating_type = runtimeType(value_repeating) + valueSerializer.writeInt8(value_repeating_type) + if ((RuntimeType.UNDEFINED) != (value_repeating_type)) { + const value_repeating_value = value_repeating! + valueSerializer.writeBoolean(value_repeating_value) + } + } + public writeSwipeActionItem(value: SwipeActionItem): void { + let valueSerializer: Serializer = this + const value_builder = value.builder + let value_builder_type: int32 = RuntimeType.UNDEFINED + value_builder_type = runtimeType(value_builder) + valueSerializer.writeInt8(value_builder_type) + if ((RuntimeType.UNDEFINED) != (value_builder_type)) { + const value_builder_value = value_builder! + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder_value)) + } + const value_builderComponent = value.builderComponent + let value_builderComponent_type: int32 = RuntimeType.UNDEFINED + value_builderComponent_type = runtimeType(value_builderComponent) + valueSerializer.writeInt8(value_builderComponent_type) + if ((RuntimeType.UNDEFINED) != (value_builderComponent_type)) { + const value_builderComponent_value = value_builderComponent! + valueSerializer.writeComponentContent(value_builderComponent_value) + } + const value_actionAreaDistance = value.actionAreaDistance + let value_actionAreaDistance_type: int32 = RuntimeType.UNDEFINED + value_actionAreaDistance_type = runtimeType(value_actionAreaDistance) + valueSerializer.writeInt8(value_actionAreaDistance_type) + if ((RuntimeType.UNDEFINED) != (value_actionAreaDistance_type)) { + const value_actionAreaDistance_value = value_actionAreaDistance! + let value_actionAreaDistance_value_type: int32 = RuntimeType.UNDEFINED + value_actionAreaDistance_value_type = runtimeType(value_actionAreaDistance_value) + if (RuntimeType.STRING == value_actionAreaDistance_value_type) { + valueSerializer.writeInt8(0) + const value_actionAreaDistance_value_0 = unsafeCast(value_actionAreaDistance_value) + valueSerializer.writeString(value_actionAreaDistance_value_0) + } + else if (RuntimeType.NUMBER == value_actionAreaDistance_value_type) { + valueSerializer.writeInt8(1) + const value_actionAreaDistance_value_1 = unsafeCast(value_actionAreaDistance_value) + valueSerializer.writeNumber(value_actionAreaDistance_value_1) + } + else if (RuntimeType.OBJECT == value_actionAreaDistance_value_type) { + valueSerializer.writeInt8(2) + const value_actionAreaDistance_value_2 = unsafeCast(value_actionAreaDistance_value) + valueSerializer.writeResource(value_actionAreaDistance_value_2) + } + } + const value_onAction = value.onAction + let value_onAction_type: int32 = RuntimeType.UNDEFINED + value_onAction_type = runtimeType(value_onAction) + valueSerializer.writeInt8(value_onAction_type) + if ((RuntimeType.UNDEFINED) != (value_onAction_type)) { + const value_onAction_value = value_onAction! + valueSerializer.holdAndWriteCallback(value_onAction_value) + } + const value_onEnterActionArea = value.onEnterActionArea + let value_onEnterActionArea_type: int32 = RuntimeType.UNDEFINED + value_onEnterActionArea_type = runtimeType(value_onEnterActionArea) + valueSerializer.writeInt8(value_onEnterActionArea_type) + if ((RuntimeType.UNDEFINED) != (value_onEnterActionArea_type)) { + const value_onEnterActionArea_value = value_onEnterActionArea! + valueSerializer.holdAndWriteCallback(value_onEnterActionArea_value) + } + const value_onExitActionArea = value.onExitActionArea + let value_onExitActionArea_type: int32 = RuntimeType.UNDEFINED + value_onExitActionArea_type = runtimeType(value_onExitActionArea) + valueSerializer.writeInt8(value_onExitActionArea_type) + if ((RuntimeType.UNDEFINED) != (value_onExitActionArea_type)) { + const value_onExitActionArea_value = value_onExitActionArea! + valueSerializer.holdAndWriteCallback(value_onExitActionArea_value) + } + const value_onStateChange = value.onStateChange + let value_onStateChange_type: int32 = RuntimeType.UNDEFINED + value_onStateChange_type = runtimeType(value_onStateChange) + valueSerializer.writeInt8(value_onStateChange_type) + if ((RuntimeType.UNDEFINED) != (value_onStateChange_type)) { + const value_onStateChange_value = value_onStateChange! + valueSerializer.holdAndWriteCallback(value_onStateChange_value) + } + } + public writetext_TextStyle(value: text.TextStyle): void { + let valueSerializer: Serializer = this + const value_decoration = value.decoration + let value_decoration_type: int32 = RuntimeType.UNDEFINED + value_decoration_type = runtimeType(value_decoration) + valueSerializer.writeInt8(value_decoration_type) + if ((RuntimeType.UNDEFINED) != (value_decoration_type)) { + const value_decoration_value = value_decoration! + valueSerializer.writeDecoration(value_decoration_value) + } + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + valueSerializer.writecommon2D_Color(value_color_value) + } + const value_fontWeight = value.fontWeight + let value_fontWeight_type: int32 = RuntimeType.UNDEFINED + value_fontWeight_type = runtimeType(value_fontWeight) + valueSerializer.writeInt8(value_fontWeight_type) + if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { + const value_fontWeight_value = value_fontWeight! + valueSerializer.writeInt32(value_fontWeight_value.valueOf()) + } + const value_fontStyle = value.fontStyle + let value_fontStyle_type: int32 = RuntimeType.UNDEFINED + value_fontStyle_type = runtimeType(value_fontStyle) + valueSerializer.writeInt8(value_fontStyle_type) + if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { + const value_fontStyle_value = value_fontStyle! + valueSerializer.writeInt32(value_fontStyle_value.valueOf()) + } + const value_baseline = value.baseline + let value_baseline_type: int32 = RuntimeType.UNDEFINED + value_baseline_type = runtimeType(value_baseline) + valueSerializer.writeInt8(value_baseline_type) + if ((RuntimeType.UNDEFINED) != (value_baseline_type)) { + const value_baseline_value = value_baseline! + valueSerializer.writeInt32(value_baseline_value.valueOf()) + } + const value_fontFamilies = value.fontFamilies + let value_fontFamilies_type: int32 = RuntimeType.UNDEFINED + value_fontFamilies_type = runtimeType(value_fontFamilies) + valueSerializer.writeInt8(value_fontFamilies_type) + if ((RuntimeType.UNDEFINED) != (value_fontFamilies_type)) { + const value_fontFamilies_value = value_fontFamilies! + valueSerializer.writeInt32(value_fontFamilies_value.length) + for (let i = 0; i < value_fontFamilies_value.length; i++) { + const value_fontFamilies_value_element: string = value_fontFamilies_value[i] + valueSerializer.writeString(value_fontFamilies_value_element) + } + } + const value_fontSize = value.fontSize + let value_fontSize_type: int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + valueSerializer.writeNumber(value_fontSize_value) + } + const value_letterSpacing = value.letterSpacing + let value_letterSpacing_type: int32 = RuntimeType.UNDEFINED + value_letterSpacing_type = runtimeType(value_letterSpacing) + valueSerializer.writeInt8(value_letterSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { + const value_letterSpacing_value = value_letterSpacing! + valueSerializer.writeNumber(value_letterSpacing_value) + } + const value_wordSpacing = value.wordSpacing + let value_wordSpacing_type: int32 = RuntimeType.UNDEFINED + value_wordSpacing_type = runtimeType(value_wordSpacing) + valueSerializer.writeInt8(value_wordSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_wordSpacing_type)) { + const value_wordSpacing_value = value_wordSpacing! + valueSerializer.writeNumber(value_wordSpacing_value) + } + const value_heightScale = value.heightScale + let value_heightScale_type: int32 = RuntimeType.UNDEFINED + value_heightScale_type = runtimeType(value_heightScale) + valueSerializer.writeInt8(value_heightScale_type) + if ((RuntimeType.UNDEFINED) != (value_heightScale_type)) { + const value_heightScale_value = value_heightScale! + valueSerializer.writeNumber(value_heightScale_value) + } + const value_halfLeading = value.halfLeading + let value_halfLeading_type: int32 = RuntimeType.UNDEFINED + value_halfLeading_type = runtimeType(value_halfLeading) + valueSerializer.writeInt8(value_halfLeading_type) + if ((RuntimeType.UNDEFINED) != (value_halfLeading_type)) { + const value_halfLeading_value = value_halfLeading! + valueSerializer.writeBoolean(value_halfLeading_value) + } + const value_heightOnly = value.heightOnly + let value_heightOnly_type: int32 = RuntimeType.UNDEFINED + value_heightOnly_type = runtimeType(value_heightOnly) + valueSerializer.writeInt8(value_heightOnly_type) + if ((RuntimeType.UNDEFINED) != (value_heightOnly_type)) { + const value_heightOnly_value = value_heightOnly! + valueSerializer.writeBoolean(value_heightOnly_value) + } + const value_ellipsis = value.ellipsis + let value_ellipsis_type: int32 = RuntimeType.UNDEFINED + value_ellipsis_type = runtimeType(value_ellipsis) + valueSerializer.writeInt8(value_ellipsis_type) + if ((RuntimeType.UNDEFINED) != (value_ellipsis_type)) { + const value_ellipsis_value = value_ellipsis! + valueSerializer.writeString(value_ellipsis_value) + } + const value_ellipsisMode = value.ellipsisMode + let value_ellipsisMode_type: int32 = RuntimeType.UNDEFINED + value_ellipsisMode_type = runtimeType(value_ellipsisMode) + valueSerializer.writeInt8(value_ellipsisMode_type) + if ((RuntimeType.UNDEFINED) != (value_ellipsisMode_type)) { + const value_ellipsisMode_value = value_ellipsisMode! + valueSerializer.writeInt32(value_ellipsisMode_value.valueOf()) + } + const value_locale = value.locale + let value_locale_type: int32 = RuntimeType.UNDEFINED + value_locale_type = runtimeType(value_locale) + valueSerializer.writeInt8(value_locale_type) + if ((RuntimeType.UNDEFINED) != (value_locale_type)) { + const value_locale_value = value_locale! + valueSerializer.writeString(value_locale_value) + } + const value_baselineShift = value.baselineShift + let value_baselineShift_type: int32 = RuntimeType.UNDEFINED + value_baselineShift_type = runtimeType(value_baselineShift) + valueSerializer.writeInt8(value_baselineShift_type) + if ((RuntimeType.UNDEFINED) != (value_baselineShift_type)) { + const value_baselineShift_value = value_baselineShift! + valueSerializer.writeNumber(value_baselineShift_value) + } + const value_fontFeatures = value.fontFeatures + let value_fontFeatures_type: int32 = RuntimeType.UNDEFINED + value_fontFeatures_type = runtimeType(value_fontFeatures) + valueSerializer.writeInt8(value_fontFeatures_type) + if ((RuntimeType.UNDEFINED) != (value_fontFeatures_type)) { + const value_fontFeatures_value = value_fontFeatures! + valueSerializer.writeInt32(value_fontFeatures_value.length) + for (let i = 0; i < value_fontFeatures_value.length; i++) { + const value_fontFeatures_value_element: FontFeature = value_fontFeatures_value[i] + valueSerializer.writeFontFeature(value_fontFeatures_value_element) } } - const value_controller = value.controller - let value_controller_type: int32 = RuntimeType.UNDEFINED - value_controller_type = runtimeType(value_controller) - valueSerializer.writeInt8(value_controller_type) - if ((RuntimeType.UNDEFINED) != (value_controller_type)) { - const value_controller_value = value_controller! - valueSerializer.writeVideoController(value_controller_value) + const value_textShadows = value.textShadows + let value_textShadows_type: int32 = RuntimeType.UNDEFINED + value_textShadows_type = runtimeType(value_textShadows) + valueSerializer.writeInt8(value_textShadows_type) + if ((RuntimeType.UNDEFINED) != (value_textShadows_type)) { + const value_textShadows_value = value_textShadows! + valueSerializer.writeInt32(value_textShadows_value.length) + for (let i = 0; i < value_textShadows_value.length; i++) { + const value_textShadows_value_element: TextShadow = value_textShadows_value[i] + valueSerializer.writeTextShadow(value_textShadows_value_element) + } } - const value_imageAIOptions = value.imageAIOptions - let value_imageAIOptions_type: int32 = RuntimeType.UNDEFINED - value_imageAIOptions_type = runtimeType(value_imageAIOptions) - valueSerializer.writeInt8(value_imageAIOptions_type) - if ((RuntimeType.UNDEFINED) != (value_imageAIOptions_type)) { - const value_imageAIOptions_value = value_imageAIOptions! - valueSerializer.writeImageAIOptions(value_imageAIOptions_value) + const value_backgroundRect = value.backgroundRect + let value_backgroundRect_type: int32 = RuntimeType.UNDEFINED + value_backgroundRect_type = runtimeType(value_backgroundRect) + valueSerializer.writeInt8(value_backgroundRect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundRect_type)) { + const value_backgroundRect_value = value_backgroundRect! + valueSerializer.writeRectStyle(value_backgroundRect_value) + } + const value_fontVariations = value.fontVariations + let value_fontVariations_type: int32 = RuntimeType.UNDEFINED + value_fontVariations_type = runtimeType(value_fontVariations) + valueSerializer.writeInt8(value_fontVariations_type) + if ((RuntimeType.UNDEFINED) != (value_fontVariations_type)) { + const value_fontVariations_value = value_fontVariations! + valueSerializer.writeInt32(value_fontVariations_value.length) + for (let i = 0; i < value_fontVariations_value.length; i++) { + const value_fontVariations_value_element: FontVariation = value_fontVariations_value[i] + valueSerializer.writeFontVariation(value_fontVariations_value_element) + } } } - writeWeekStyle(value: WeekStyle): void { + public writeTextDataDetectorConfig(value: TextDataDetectorConfig): void { let valueSerializer: Serializer = this - const value_weekColor = value.weekColor - let value_weekColor_type: int32 = RuntimeType.UNDEFINED - value_weekColor_type = runtimeType(value_weekColor) - valueSerializer.writeInt8(value_weekColor_type) - if ((RuntimeType.UNDEFINED) != (value_weekColor_type)) { - const value_weekColor_value = value_weekColor! - let value_weekColor_value_type: int32 = RuntimeType.UNDEFINED - value_weekColor_value_type = runtimeType(value_weekColor_value) - if (((RuntimeType.NUMBER) == (value_weekColor_value_type)) && ((unsafeCast(value_weekColor_value)) >= (0)) && ((unsafeCast(value_weekColor_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_weekColor_value_0 = unsafeCast(value_weekColor_value) - valueSerializer.writeInt32(value_weekColor_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_weekColor_value_type) { - valueSerializer.writeInt8(1) - const value_weekColor_value_1 = unsafeCast(value_weekColor_value) - valueSerializer.writeNumber(value_weekColor_value_1) - } - else if (RuntimeType.STRING == value_weekColor_value_type) { - valueSerializer.writeInt8(2) - const value_weekColor_value_2 = unsafeCast(value_weekColor_value) - valueSerializer.writeString(value_weekColor_value_2) - } - else if (RuntimeType.OBJECT == value_weekColor_value_type) { - valueSerializer.writeInt8(3) - const value_weekColor_value_3 = unsafeCast(value_weekColor_value) - valueSerializer.writeResource(value_weekColor_value_3) - } + const value_types = value.types + valueSerializer.writeInt32(value_types.length) + for (let i = 0; i < value_types.length; i++) { + const value_types_element: TextDataDetectorType = value_types[i] + valueSerializer.writeInt32(value_types_element.valueOf()) } - const value_weekendDayColor = value.weekendDayColor - let value_weekendDayColor_type: int32 = RuntimeType.UNDEFINED - value_weekendDayColor_type = runtimeType(value_weekendDayColor) - valueSerializer.writeInt8(value_weekendDayColor_type) - if ((RuntimeType.UNDEFINED) != (value_weekendDayColor_type)) { - const value_weekendDayColor_value = value_weekendDayColor! - let value_weekendDayColor_value_type: int32 = RuntimeType.UNDEFINED - value_weekendDayColor_value_type = runtimeType(value_weekendDayColor_value) - if (((RuntimeType.NUMBER) == (value_weekendDayColor_value_type)) && ((unsafeCast(value_weekendDayColor_value)) >= (0)) && ((unsafeCast(value_weekendDayColor_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_weekendDayColor_value_0 = unsafeCast(value_weekendDayColor_value) - valueSerializer.writeInt32(value_weekendDayColor_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_weekendDayColor_value_type) { - valueSerializer.writeInt8(1) - const value_weekendDayColor_value_1 = unsafeCast(value_weekendDayColor_value) - valueSerializer.writeNumber(value_weekendDayColor_value_1) - } - else if (RuntimeType.STRING == value_weekendDayColor_value_type) { - valueSerializer.writeInt8(2) - const value_weekendDayColor_value_2 = unsafeCast(value_weekendDayColor_value) - valueSerializer.writeString(value_weekendDayColor_value_2) - } - else if (RuntimeType.OBJECT == value_weekendDayColor_value_type) { - valueSerializer.writeInt8(3) - const value_weekendDayColor_value_3 = unsafeCast(value_weekendDayColor_value) - valueSerializer.writeResource(value_weekendDayColor_value_3) - } + const value_onDetectResultUpdate = value.onDetectResultUpdate + let value_onDetectResultUpdate_type: int32 = RuntimeType.UNDEFINED + value_onDetectResultUpdate_type = runtimeType(value_onDetectResultUpdate) + valueSerializer.writeInt8(value_onDetectResultUpdate_type) + if ((RuntimeType.UNDEFINED) != (value_onDetectResultUpdate_type)) { + const value_onDetectResultUpdate_value = value_onDetectResultUpdate! + valueSerializer.holdAndWriteCallback(value_onDetectResultUpdate_value) } - const value_weekendLunarColor = value.weekendLunarColor - let value_weekendLunarColor_type: int32 = RuntimeType.UNDEFINED - value_weekendLunarColor_type = runtimeType(value_weekendLunarColor) - valueSerializer.writeInt8(value_weekendLunarColor_type) - if ((RuntimeType.UNDEFINED) != (value_weekendLunarColor_type)) { - const value_weekendLunarColor_value = value_weekendLunarColor! - let value_weekendLunarColor_value_type: int32 = RuntimeType.UNDEFINED - value_weekendLunarColor_value_type = runtimeType(value_weekendLunarColor_value) - if (((RuntimeType.NUMBER) == (value_weekendLunarColor_value_type)) && ((unsafeCast(value_weekendLunarColor_value)) >= (0)) && ((unsafeCast(value_weekendLunarColor_value)) <= (11))) { + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if (((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_weekendLunarColor_value_0 = unsafeCast(value_weekendLunarColor_value) - valueSerializer.writeInt32(value_weekendLunarColor_value_0.valueOf()) + const value_color_value_0 = unsafeCast(value_color_value) + valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_weekendLunarColor_value_type) { + else if (RuntimeType.NUMBER == value_color_value_type) { valueSerializer.writeInt8(1) - const value_weekendLunarColor_value_1 = unsafeCast(value_weekendLunarColor_value) - valueSerializer.writeNumber(value_weekendLunarColor_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) } - else if (RuntimeType.STRING == value_weekendLunarColor_value_type) { + else if (RuntimeType.STRING == value_color_value_type) { valueSerializer.writeInt8(2) - const value_weekendLunarColor_value_2 = unsafeCast(value_weekendLunarColor_value) - valueSerializer.writeString(value_weekendLunarColor_value_2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) } - else if (RuntimeType.OBJECT == value_weekendLunarColor_value_type) { + else if (RuntimeType.OBJECT == value_color_value_type) { valueSerializer.writeInt8(3) - const value_weekendLunarColor_value_3 = unsafeCast(value_weekendLunarColor_value) - valueSerializer.writeResource(value_weekendLunarColor_value_3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) } } - const value_weekFontSize = value.weekFontSize - let value_weekFontSize_type: int32 = RuntimeType.UNDEFINED - value_weekFontSize_type = runtimeType(value_weekFontSize) - valueSerializer.writeInt8(value_weekFontSize_type) - if ((RuntimeType.UNDEFINED) != (value_weekFontSize_type)) { - const value_weekFontSize_value = value_weekFontSize! - valueSerializer.writeNumber(value_weekFontSize_value) + const value_decoration = value.decoration + let value_decoration_type: int32 = RuntimeType.UNDEFINED + value_decoration_type = runtimeType(value_decoration) + valueSerializer.writeInt8(value_decoration_type) + if ((RuntimeType.UNDEFINED) != (value_decoration_type)) { + const value_decoration_value = value_decoration! + valueSerializer.writeDecorationStyleInterface(value_decoration_value) } - const value_weekHeight = value.weekHeight - let value_weekHeight_type: int32 = RuntimeType.UNDEFINED - value_weekHeight_type = runtimeType(value_weekHeight) - valueSerializer.writeInt8(value_weekHeight_type) - if ((RuntimeType.UNDEFINED) != (value_weekHeight_type)) { - const value_weekHeight_value = value_weekHeight! - valueSerializer.writeNumber(value_weekHeight_value) + } + public writeTipsOptions(value: TipsOptions): void { + let valueSerializer: Serializer = this + const value_appearingTime = value.appearingTime + let value_appearingTime_type: int32 = RuntimeType.UNDEFINED + value_appearingTime_type = runtimeType(value_appearingTime) + valueSerializer.writeInt8(value_appearingTime_type) + if ((RuntimeType.UNDEFINED) != (value_appearingTime_type)) { + const value_appearingTime_value = value_appearingTime! + valueSerializer.writeNumber(value_appearingTime_value) + } + const value_disappearingTime = value.disappearingTime + let value_disappearingTime_type: int32 = RuntimeType.UNDEFINED + value_disappearingTime_type = runtimeType(value_disappearingTime) + valueSerializer.writeInt8(value_disappearingTime_type) + if ((RuntimeType.UNDEFINED) != (value_disappearingTime_type)) { + const value_disappearingTime_value = value_disappearingTime! + valueSerializer.writeNumber(value_disappearingTime_value) + } + const value_appearingTimeWithContinuousOperation = value.appearingTimeWithContinuousOperation + let value_appearingTimeWithContinuousOperation_type: int32 = RuntimeType.UNDEFINED + value_appearingTimeWithContinuousOperation_type = runtimeType(value_appearingTimeWithContinuousOperation) + valueSerializer.writeInt8(value_appearingTimeWithContinuousOperation_type) + if ((RuntimeType.UNDEFINED) != (value_appearingTimeWithContinuousOperation_type)) { + const value_appearingTimeWithContinuousOperation_value = value_appearingTimeWithContinuousOperation! + valueSerializer.writeNumber(value_appearingTimeWithContinuousOperation_value) + } + const value_disappearingTimeWithContinuousOperation = value.disappearingTimeWithContinuousOperation + let value_disappearingTimeWithContinuousOperation_type: int32 = RuntimeType.UNDEFINED + value_disappearingTimeWithContinuousOperation_type = runtimeType(value_disappearingTimeWithContinuousOperation) + valueSerializer.writeInt8(value_disappearingTimeWithContinuousOperation_type) + if ((RuntimeType.UNDEFINED) != (value_disappearingTimeWithContinuousOperation_type)) { + const value_disappearingTimeWithContinuousOperation_value = value_disappearingTimeWithContinuousOperation! + valueSerializer.writeNumber(value_disappearingTimeWithContinuousOperation_value) } - const value_weekWidth = value.weekWidth - let value_weekWidth_type: int32 = RuntimeType.UNDEFINED - value_weekWidth_type = runtimeType(value_weekWidth) - valueSerializer.writeInt8(value_weekWidth_type) - if ((RuntimeType.UNDEFINED) != (value_weekWidth_type)) { - const value_weekWidth_value = value_weekWidth! - valueSerializer.writeNumber(value_weekWidth_value) + const value_enableArrow = value.enableArrow + let value_enableArrow_type: int32 = RuntimeType.UNDEFINED + value_enableArrow_type = runtimeType(value_enableArrow) + valueSerializer.writeInt8(value_enableArrow_type) + if ((RuntimeType.UNDEFINED) != (value_enableArrow_type)) { + const value_enableArrow_value = value_enableArrow! + valueSerializer.writeBoolean(value_enableArrow_value) } - const value_weekAndDayRowSpace = value.weekAndDayRowSpace - let value_weekAndDayRowSpace_type: int32 = RuntimeType.UNDEFINED - value_weekAndDayRowSpace_type = runtimeType(value_weekAndDayRowSpace) - valueSerializer.writeInt8(value_weekAndDayRowSpace_type) - if ((RuntimeType.UNDEFINED) != (value_weekAndDayRowSpace_type)) { - const value_weekAndDayRowSpace_value = value_weekAndDayRowSpace! - valueSerializer.writeNumber(value_weekAndDayRowSpace_value) + const value_arrowPointPosition = value.arrowPointPosition + let value_arrowPointPosition_type: int32 = RuntimeType.UNDEFINED + value_arrowPointPosition_type = runtimeType(value_arrowPointPosition) + valueSerializer.writeInt8(value_arrowPointPosition_type) + if ((RuntimeType.UNDEFINED) != (value_arrowPointPosition_type)) { + const value_arrowPointPosition_value = value_arrowPointPosition! + valueSerializer.writeInt32(Object.values(ArrowPointPosition).indexOf(value_arrowPointPosition_value)) } - } - writeWorkStateStyle(value: WorkStateStyle): void { - let valueSerializer: Serializer = this - const value_workDayMarkColor = value.workDayMarkColor - let value_workDayMarkColor_type: int32 = RuntimeType.UNDEFINED - value_workDayMarkColor_type = runtimeType(value_workDayMarkColor) - valueSerializer.writeInt8(value_workDayMarkColor_type) - if ((RuntimeType.UNDEFINED) != (value_workDayMarkColor_type)) { - const value_workDayMarkColor_value = value_workDayMarkColor! - let value_workDayMarkColor_value_type: int32 = RuntimeType.UNDEFINED - value_workDayMarkColor_value_type = runtimeType(value_workDayMarkColor_value) - if (((RuntimeType.NUMBER) == (value_workDayMarkColor_value_type)) && ((unsafeCast(value_workDayMarkColor_value)) >= (0)) && ((unsafeCast(value_workDayMarkColor_value)) <= (11))) { + const value_arrowWidth = value.arrowWidth + let value_arrowWidth_type: int32 = RuntimeType.UNDEFINED + value_arrowWidth_type = runtimeType(value_arrowWidth) + valueSerializer.writeInt8(value_arrowWidth_type) + if ((RuntimeType.UNDEFINED) != (value_arrowWidth_type)) { + const value_arrowWidth_value = value_arrowWidth! + let value_arrowWidth_value_type: int32 = RuntimeType.UNDEFINED + value_arrowWidth_value_type = runtimeType(value_arrowWidth_value) + if (RuntimeType.STRING == value_arrowWidth_value_type) { valueSerializer.writeInt8(0) - const value_workDayMarkColor_value_0 = unsafeCast(value_workDayMarkColor_value) - valueSerializer.writeInt32(value_workDayMarkColor_value_0.valueOf()) + const value_arrowWidth_value_0 = unsafeCast(value_arrowWidth_value) + valueSerializer.writeString(value_arrowWidth_value_0) } - else if (RuntimeType.NUMBER == value_workDayMarkColor_value_type) { + else if (RuntimeType.NUMBER == value_arrowWidth_value_type) { valueSerializer.writeInt8(1) - const value_workDayMarkColor_value_1 = unsafeCast(value_workDayMarkColor_value) - valueSerializer.writeNumber(value_workDayMarkColor_value_1) + const value_arrowWidth_value_1 = unsafeCast(value_arrowWidth_value) + valueSerializer.writeNumber(value_arrowWidth_value_1) } - else if (RuntimeType.STRING == value_workDayMarkColor_value_type) { + else if (RuntimeType.OBJECT == value_arrowWidth_value_type) { valueSerializer.writeInt8(2) - const value_workDayMarkColor_value_2 = unsafeCast(value_workDayMarkColor_value) - valueSerializer.writeString(value_workDayMarkColor_value_2) - } - else if (RuntimeType.OBJECT == value_workDayMarkColor_value_type) { - valueSerializer.writeInt8(3) - const value_workDayMarkColor_value_3 = unsafeCast(value_workDayMarkColor_value) - valueSerializer.writeResource(value_workDayMarkColor_value_3) + const value_arrowWidth_value_2 = unsafeCast(value_arrowWidth_value) + valueSerializer.writeResource(value_arrowWidth_value_2) } } - const value_offDayMarkColor = value.offDayMarkColor - let value_offDayMarkColor_type: int32 = RuntimeType.UNDEFINED - value_offDayMarkColor_type = runtimeType(value_offDayMarkColor) - valueSerializer.writeInt8(value_offDayMarkColor_type) - if ((RuntimeType.UNDEFINED) != (value_offDayMarkColor_type)) { - const value_offDayMarkColor_value = value_offDayMarkColor! - let value_offDayMarkColor_value_type: int32 = RuntimeType.UNDEFINED - value_offDayMarkColor_value_type = runtimeType(value_offDayMarkColor_value) - if (((RuntimeType.NUMBER) == (value_offDayMarkColor_value_type)) && ((unsafeCast(value_offDayMarkColor_value)) >= (0)) && ((unsafeCast(value_offDayMarkColor_value)) <= (11))) { + const value_arrowHeight = value.arrowHeight + let value_arrowHeight_type: int32 = RuntimeType.UNDEFINED + value_arrowHeight_type = runtimeType(value_arrowHeight) + valueSerializer.writeInt8(value_arrowHeight_type) + if ((RuntimeType.UNDEFINED) != (value_arrowHeight_type)) { + const value_arrowHeight_value = value_arrowHeight! + let value_arrowHeight_value_type: int32 = RuntimeType.UNDEFINED + value_arrowHeight_value_type = runtimeType(value_arrowHeight_value) + if (RuntimeType.STRING == value_arrowHeight_value_type) { valueSerializer.writeInt8(0) - const value_offDayMarkColor_value_0 = unsafeCast(value_offDayMarkColor_value) - valueSerializer.writeInt32(value_offDayMarkColor_value_0.valueOf()) + const value_arrowHeight_value_0 = unsafeCast(value_arrowHeight_value) + valueSerializer.writeString(value_arrowHeight_value_0) } - else if (RuntimeType.NUMBER == value_offDayMarkColor_value_type) { + else if (RuntimeType.NUMBER == value_arrowHeight_value_type) { valueSerializer.writeInt8(1) - const value_offDayMarkColor_value_1 = unsafeCast(value_offDayMarkColor_value) - valueSerializer.writeNumber(value_offDayMarkColor_value_1) + const value_arrowHeight_value_1 = unsafeCast(value_arrowHeight_value) + valueSerializer.writeNumber(value_arrowHeight_value_1) } - else if (RuntimeType.STRING == value_offDayMarkColor_value_type) { + else if (RuntimeType.OBJECT == value_arrowHeight_value_type) { valueSerializer.writeInt8(2) - const value_offDayMarkColor_value_2 = unsafeCast(value_offDayMarkColor_value) - valueSerializer.writeString(value_offDayMarkColor_value_2) - } - else if (RuntimeType.OBJECT == value_offDayMarkColor_value_type) { - valueSerializer.writeInt8(3) - const value_offDayMarkColor_value_3 = unsafeCast(value_offDayMarkColor_value) - valueSerializer.writeResource(value_offDayMarkColor_value_3) + const value_arrowHeight_value_2 = unsafeCast(value_arrowHeight_value) + valueSerializer.writeResource(value_arrowHeight_value_2) } } - const value_workDayMarkSize = value.workDayMarkSize - let value_workDayMarkSize_type: int32 = RuntimeType.UNDEFINED - value_workDayMarkSize_type = runtimeType(value_workDayMarkSize) - valueSerializer.writeInt8(value_workDayMarkSize_type) - if ((RuntimeType.UNDEFINED) != (value_workDayMarkSize_type)) { - const value_workDayMarkSize_value = value_workDayMarkSize! - valueSerializer.writeNumber(value_workDayMarkSize_value) - } - const value_offDayMarkSize = value.offDayMarkSize - let value_offDayMarkSize_type: int32 = RuntimeType.UNDEFINED - value_offDayMarkSize_type = runtimeType(value_offDayMarkSize) - valueSerializer.writeInt8(value_offDayMarkSize_type) - if ((RuntimeType.UNDEFINED) != (value_offDayMarkSize_type)) { - const value_offDayMarkSize_value = value_offDayMarkSize! - valueSerializer.writeNumber(value_offDayMarkSize_value) - } - const value_workStateWidth = value.workStateWidth - let value_workStateWidth_type: int32 = RuntimeType.UNDEFINED - value_workStateWidth_type = runtimeType(value_workStateWidth) - valueSerializer.writeInt8(value_workStateWidth_type) - if ((RuntimeType.UNDEFINED) != (value_workStateWidth_type)) { - const value_workStateWidth_value = value_workStateWidth! - valueSerializer.writeNumber(value_workStateWidth_value) - } - const value_workStateHorizontalMovingDistance = value.workStateHorizontalMovingDistance - let value_workStateHorizontalMovingDistance_type: int32 = RuntimeType.UNDEFINED - value_workStateHorizontalMovingDistance_type = runtimeType(value_workStateHorizontalMovingDistance) - valueSerializer.writeInt8(value_workStateHorizontalMovingDistance_type) - if ((RuntimeType.UNDEFINED) != (value_workStateHorizontalMovingDistance_type)) { - const value_workStateHorizontalMovingDistance_value = value_workStateHorizontalMovingDistance! - valueSerializer.writeNumber(value_workStateHorizontalMovingDistance_value) - } - const value_workStateVerticalMovingDistance = value.workStateVerticalMovingDistance - let value_workStateVerticalMovingDistance_type: int32 = RuntimeType.UNDEFINED - value_workStateVerticalMovingDistance_type = runtimeType(value_workStateVerticalMovingDistance) - valueSerializer.writeInt8(value_workStateVerticalMovingDistance_type) - if ((RuntimeType.UNDEFINED) != (value_workStateVerticalMovingDistance_type)) { - const value_workStateVerticalMovingDistance_value = value_workStateVerticalMovingDistance! - valueSerializer.writeNumber(value_workStateVerticalMovingDistance_value) - } - } - writeXComponentOptions(value: XComponentOptions): void { - let valueSerializer: Serializer = this - const value_type = value.type - valueSerializer.writeInt32(value_type.valueOf()) - const value_controller = value.controller - valueSerializer.writeXComponentController(value_controller) - const value_imageAIOptions = value.imageAIOptions - let value_imageAIOptions_type: int32 = RuntimeType.UNDEFINED - value_imageAIOptions_type = runtimeType(value_imageAIOptions) - valueSerializer.writeInt8(value_imageAIOptions_type) - if ((RuntimeType.UNDEFINED) != (value_imageAIOptions_type)) { - const value_imageAIOptions_value = value_imageAIOptions! - valueSerializer.writeImageAIOptions(value_imageAIOptions_value) - } } - writeActionSheetOptions(value: ActionSheetOptions): void { + public writeActionSheetOptions(value: ActionSheetOptions): void { let valueSerializer: Serializer = this const value_title = value.title let value_title_type: int32 = RuntimeType.UNDEFINED @@ -16688,6 +19145,22 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle_value = value_backgroundBlurStyle! valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_onWillDismiss = value.onWillDismiss let value_onWillDismiss_type: int32 = RuntimeType.UNDEFINED value_onWillDismiss_type = runtimeType(value_onWillDismiss) @@ -16736,102 +19209,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (((value_cornerRadius_value!.hasOwnProperty("topLeft")) || (value_cornerRadius_value!.hasOwnProperty("topRight")) || (value_cornerRadius_value!.hasOwnProperty("bottomLeft")) || (value_cornerRadius_value!.hasOwnProperty("bottomRight"))))) { valueSerializer.writeInt8(1) const value_cornerRadius_value_1 = unsafeCast(value_cornerRadius_value) - const value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft - let value_cornerRadius_value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft! - let value_cornerRadius_value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_value_type = runtimeType(value_cornerRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_topLeft_value_0 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_topLeft_value_1 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_topLeft_value_2 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2) - } - } - const value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight - let value_cornerRadius_value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight! - let value_cornerRadius_value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_value_type = runtimeType(value_cornerRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_topRight_value_0 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_topRight_value_1 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_topRight_value_2 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2) - } - } - const value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft - let value_cornerRadius_value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft! - let value_cornerRadius_value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_value_type = runtimeType(value_cornerRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_bottomLeft_value_0 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_bottomLeft_value_1 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_bottomLeft_value_2 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2) - } - } - const value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight - let value_cornerRadius_value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight! - let value_cornerRadius_value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_value_type = runtimeType(value_cornerRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_bottomRight_value_0 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_bottomRight_value_1 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_bottomRight_value_2 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1) } else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (((value_cornerRadius_value!.hasOwnProperty("topStart")) || (value_cornerRadius_value!.hasOwnProperty("topEnd")) || (value_cornerRadius_value!.hasOwnProperty("bottomStart")) || (value_cornerRadius_value!.hasOwnProperty("bottomEnd"))))) { valueSerializer.writeInt8(2) @@ -16919,102 +19297,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("right")) || (value_borderWidth_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_borderWidth_value_1 = unsafeCast(value_borderWidth_value) - const value_borderWidth_value_1_top = value_borderWidth_value_1.top - let value_borderWidth_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top) - valueSerializer.writeInt8(value_borderWidth_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const value_borderWidth_value_1_top_value = value_borderWidth_value_1_top! - let value_borderWidth_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_value_type = runtimeType(value_borderWidth_value_1_top_value) - if (RuntimeType.STRING == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_top_value_0 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeString(value_borderWidth_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_top_value_1 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_top_value_2 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2) - } - } - const value_borderWidth_value_1_right = value_borderWidth_value_1.right - let value_borderWidth_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right) - valueSerializer.writeInt8(value_borderWidth_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const value_borderWidth_value_1_right_value = value_borderWidth_value_1_right! - let value_borderWidth_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_value_type = runtimeType(value_borderWidth_value_1_right_value) - if (RuntimeType.STRING == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_right_value_0 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeString(value_borderWidth_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_right_value_1 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_right_value_2 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2) - } - } - const value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom - let value_borderWidth_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom) - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom! - let value_borderWidth_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_value_type = runtimeType(value_borderWidth_value_1_bottom_value) - if (RuntimeType.STRING == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_bottom_value_0 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_bottom_value_1 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_bottom_value_2 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2) - } - } - const value_borderWidth_value_1_left = value_borderWidth_value_1.left - let value_borderWidth_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left) - valueSerializer.writeInt8(value_borderWidth_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const value_borderWidth_value_1_left_value = value_borderWidth_value_1_left! - let value_borderWidth_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_value_type = runtimeType(value_borderWidth_value_1_left_value) - if (RuntimeType.STRING == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_left_value_0 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeString(value_borderWidth_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_left_value_1 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_left_value_2 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2) - } - } + valueSerializer.writeEdgeWidths(value_borderWidth_value_1) } else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("end")) || (value_borderWidth_value!.hasOwnProperty("start"))))) { valueSerializer.writeInt8(2) @@ -17059,122 +19342,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("right")) || (value_borderColor_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_borderColor_value_1 = unsafeCast(value_borderColor_value) - const value_borderColor_value_1_top = value_borderColor_value_1.top - let value_borderColor_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top) - valueSerializer.writeInt8(value_borderColor_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_top_type)) { - const value_borderColor_value_1_top_value = value_borderColor_value_1_top! - let value_borderColor_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_value_type = runtimeType(value_borderColor_value_1_top_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_top_value_type)) && ((unsafeCast(value_borderColor_value_1_top_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_top_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_top_value_0 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeInt32(value_borderColor_value_1_top_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_top_value_1 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_top_value_2 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeString(value_borderColor_value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_top_value_3 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeResource(value_borderColor_value_1_top_value_3) - } - } - const value_borderColor_value_1_right = value_borderColor_value_1.right - let value_borderColor_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right) - valueSerializer.writeInt8(value_borderColor_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_right_type)) { - const value_borderColor_value_1_right_value = value_borderColor_value_1_right! - let value_borderColor_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_value_type = runtimeType(value_borderColor_value_1_right_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_right_value_type)) && ((unsafeCast(value_borderColor_value_1_right_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_right_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_right_value_0 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeInt32(value_borderColor_value_1_right_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_right_value_1 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_right_value_2 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeString(value_borderColor_value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_right_value_3 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeResource(value_borderColor_value_1_right_value_3) - } - } - const value_borderColor_value_1_bottom = value_borderColor_value_1.bottom - let value_borderColor_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom) - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom! - let value_borderColor_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_value_type = runtimeType(value_borderColor_value_1_bottom_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_bottom_value_type)) && ((unsafeCast(value_borderColor_value_1_bottom_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_bottom_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_bottom_value_0 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeInt32(value_borderColor_value_1_bottom_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_bottom_value_1 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_bottom_value_2 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_bottom_value_3 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3) - } - } - const value_borderColor_value_1_left = value_borderColor_value_1.left - let value_borderColor_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left) - valueSerializer.writeInt8(value_borderColor_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_left_type)) { - const value_borderColor_value_1_left_value = value_borderColor_value_1_left! - let value_borderColor_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_value_type = runtimeType(value_borderColor_value_1_left_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_left_value_type)) && ((unsafeCast(value_borderColor_value_1_left_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_left_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_left_value_0 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeInt32(value_borderColor_value_1_left_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_left_value_1 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_left_value_2 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeString(value_borderColor_value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_left_value_3 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeResource(value_borderColor_value_1_left_value_3) - } - } + valueSerializer.writeEdgeColors(value_borderColor_value_1) } else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("end")) || (value_borderColor_value!.hasOwnProperty("start"))))) { valueSerializer.writeInt8(2) @@ -17236,8 +19404,72 @@ export class Serializer extends SerializerBase { const value_hoverModeArea_value = value_hoverModeArea! valueSerializer.writeInt32(value_hoverModeArea_value.valueOf()) } - } - writeAlertDialogParamWithButtons(value: AlertDialogParamWithButtons): void { + const value_onDidAppear = value.onDidAppear + let value_onDidAppear_type: int32 = RuntimeType.UNDEFINED + value_onDidAppear_type = runtimeType(value_onDidAppear) + valueSerializer.writeInt8(value_onDidAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { + const value_onDidAppear_value = value_onDidAppear! + valueSerializer.holdAndWriteCallback(value_onDidAppear_value) + } + const value_onDidDisappear = value.onDidDisappear + let value_onDidDisappear_type: int32 = RuntimeType.UNDEFINED + value_onDidDisappear_type = runtimeType(value_onDidDisappear) + valueSerializer.writeInt8(value_onDidDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { + const value_onDidDisappear_value = value_onDidDisappear! + valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) + } + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type: int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) + } + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type: int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) + } + const value_levelMode = value.levelMode + let value_levelMode_type: int32 = RuntimeType.UNDEFINED + value_levelMode_type = runtimeType(value_levelMode) + valueSerializer.writeInt8(value_levelMode_type) + if ((RuntimeType.UNDEFINED) != (value_levelMode_type)) { + const value_levelMode_value = value_levelMode! + valueSerializer.writeLevelMode(value_levelMode_value) + } + const value_levelUniqueId = value.levelUniqueId + let value_levelUniqueId_type: int32 = RuntimeType.UNDEFINED + value_levelUniqueId_type = runtimeType(value_levelUniqueId) + valueSerializer.writeInt8(value_levelUniqueId_type) + if ((RuntimeType.UNDEFINED) != (value_levelUniqueId_type)) { + const value_levelUniqueId_value = value_levelUniqueId! + valueSerializer.writeNumber(value_levelUniqueId_value) + } + const value_immersiveMode = value.immersiveMode + let value_immersiveMode_type: int32 = RuntimeType.UNDEFINED + value_immersiveMode_type = runtimeType(value_immersiveMode) + valueSerializer.writeInt8(value_immersiveMode_type) + if ((RuntimeType.UNDEFINED) != (value_immersiveMode_type)) { + const value_immersiveMode_value = value_immersiveMode! + valueSerializer.writeImmersiveMode(value_immersiveMode_value) + } + const value_levelOrder = value.levelOrder + let value_levelOrder_type: int32 = RuntimeType.UNDEFINED + value_levelOrder_type = runtimeType(value_levelOrder) + valueSerializer.writeInt8(value_levelOrder_type) + if ((RuntimeType.UNDEFINED) != (value_levelOrder_type)) { + const value_levelOrder_value = value_levelOrder! + valueSerializer.writeLevelOrder(value_levelOrder_value) + } + } + public writeAlertDialogParamWithButtons(value: AlertDialogParamWithButtons): void { let valueSerializer: Serializer = this const value_title = value.title let value_title_type: int32 = RuntimeType.UNDEFINED @@ -17320,42 +19552,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dx_0 = unsafeCast(value_offset_value_dx) - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dx_1 = unsafeCast(value_offset_value_dx) - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dx_2 = unsafeCast(value_offset_value_dx) - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dy_0 = unsafeCast(value_offset_value_dy) - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dy_1 = unsafeCast(value_offset_value_dy) - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dy_2 = unsafeCast(value_offset_value_dy) - valueSerializer.writeResource(value_offset_value_dy_2) - } + valueSerializer.writeOffset(value_offset_value) } const value_gridCount = value.gridCount let value_gridCount_type: int32 = RuntimeType.UNDEFINED @@ -17426,6 +19623,22 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle_value = value_backgroundBlurStyle! valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_onWillDismiss = value.onWillDismiss let value_onWillDismiss_type: int32 = RuntimeType.UNDEFINED value_onWillDismiss_type = runtimeType(value_onWillDismiss) @@ -17457,120 +19670,25 @@ export class Serializer extends SerializerBase { value_cornerRadius_value_0_type = runtimeType(value_cornerRadius_value_0) if (RuntimeType.STRING == value_cornerRadius_value_0_type) { valueSerializer.writeInt8(0) - const value_cornerRadius_value_0_0 = unsafeCast(value_cornerRadius_value_0) - valueSerializer.writeString(value_cornerRadius_value_0_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_0_1 = unsafeCast(value_cornerRadius_value_0) - valueSerializer.writeNumber(value_cornerRadius_value_0_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_0_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_0_2 = unsafeCast(value_cornerRadius_value_0) - valueSerializer.writeResource(value_cornerRadius_value_0_2) - } - } - else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (((value_cornerRadius_value!.hasOwnProperty("topLeft")) || (value_cornerRadius_value!.hasOwnProperty("topRight")) || (value_cornerRadius_value!.hasOwnProperty("bottomLeft")) || (value_cornerRadius_value!.hasOwnProperty("bottomRight"))))) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1 = unsafeCast(value_cornerRadius_value) - const value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft - let value_cornerRadius_value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft! - let value_cornerRadius_value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_value_type = runtimeType(value_cornerRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_topLeft_value_0 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_topLeft_value_1 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_topLeft_value_2 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2) - } - } - const value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight - let value_cornerRadius_value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight! - let value_cornerRadius_value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_value_type = runtimeType(value_cornerRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_topRight_value_0 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_topRight_value_1 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_topRight_value_2 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2) - } - } - const value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft - let value_cornerRadius_value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft! - let value_cornerRadius_value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_value_type = runtimeType(value_cornerRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_bottomLeft_value_0 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_bottomLeft_value_1 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_bottomLeft_value_2 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2) - } + const value_cornerRadius_value_0_0 = unsafeCast(value_cornerRadius_value_0) + valueSerializer.writeString(value_cornerRadius_value_0_0) } - const value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight - let value_cornerRadius_value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight! - let value_cornerRadius_value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_value_type = runtimeType(value_cornerRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_bottomRight_value_0 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_bottomRight_value_1 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_bottomRight_value_2 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2) - } + else if (RuntimeType.NUMBER == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_cornerRadius_value_0_1 = unsafeCast(value_cornerRadius_value_0) + valueSerializer.writeNumber(value_cornerRadius_value_0_1) + } + else if (RuntimeType.OBJECT == value_cornerRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_cornerRadius_value_0_2 = unsafeCast(value_cornerRadius_value_0) + valueSerializer.writeResource(value_cornerRadius_value_0_2) } } + else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (((value_cornerRadius_value!.hasOwnProperty("topLeft")) || (value_cornerRadius_value!.hasOwnProperty("topRight")) || (value_cornerRadius_value!.hasOwnProperty("bottomLeft")) || (value_cornerRadius_value!.hasOwnProperty("bottomRight"))))) { + valueSerializer.writeInt8(1) + const value_cornerRadius_value_1 = unsafeCast(value_cornerRadius_value) + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1) + } else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (((value_cornerRadius_value!.hasOwnProperty("topStart")) || (value_cornerRadius_value!.hasOwnProperty("topEnd")) || (value_cornerRadius_value!.hasOwnProperty("bottomStart")) || (value_cornerRadius_value!.hasOwnProperty("bottomEnd"))))) { valueSerializer.writeInt8(2) const value_cornerRadius_value_2 = unsafeCast(value_cornerRadius_value) @@ -17657,102 +19775,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("right")) || (value_borderWidth_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_borderWidth_value_1 = unsafeCast(value_borderWidth_value) - const value_borderWidth_value_1_top = value_borderWidth_value_1.top - let value_borderWidth_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top) - valueSerializer.writeInt8(value_borderWidth_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const value_borderWidth_value_1_top_value = value_borderWidth_value_1_top! - let value_borderWidth_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_value_type = runtimeType(value_borderWidth_value_1_top_value) - if (RuntimeType.STRING == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_top_value_0 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeString(value_borderWidth_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_top_value_1 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_top_value_2 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2) - } - } - const value_borderWidth_value_1_right = value_borderWidth_value_1.right - let value_borderWidth_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right) - valueSerializer.writeInt8(value_borderWidth_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const value_borderWidth_value_1_right_value = value_borderWidth_value_1_right! - let value_borderWidth_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_value_type = runtimeType(value_borderWidth_value_1_right_value) - if (RuntimeType.STRING == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_right_value_0 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeString(value_borderWidth_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_right_value_1 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_right_value_2 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2) - } - } - const value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom - let value_borderWidth_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom) - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom! - let value_borderWidth_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_value_type = runtimeType(value_borderWidth_value_1_bottom_value) - if (RuntimeType.STRING == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_bottom_value_0 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_bottom_value_1 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_bottom_value_2 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2) - } - } - const value_borderWidth_value_1_left = value_borderWidth_value_1.left - let value_borderWidth_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left) - valueSerializer.writeInt8(value_borderWidth_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const value_borderWidth_value_1_left_value = value_borderWidth_value_1_left! - let value_borderWidth_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_value_type = runtimeType(value_borderWidth_value_1_left_value) - if (RuntimeType.STRING == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_left_value_0 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeString(value_borderWidth_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_left_value_1 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_left_value_2 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2) - } - } + valueSerializer.writeEdgeWidths(value_borderWidth_value_1) } else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("end")) || (value_borderWidth_value!.hasOwnProperty("start"))))) { valueSerializer.writeInt8(2) @@ -17797,122 +19820,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("right")) || (value_borderColor_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_borderColor_value_1 = unsafeCast(value_borderColor_value) - const value_borderColor_value_1_top = value_borderColor_value_1.top - let value_borderColor_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top) - valueSerializer.writeInt8(value_borderColor_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_top_type)) { - const value_borderColor_value_1_top_value = value_borderColor_value_1_top! - let value_borderColor_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_value_type = runtimeType(value_borderColor_value_1_top_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_top_value_type)) && ((unsafeCast(value_borderColor_value_1_top_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_top_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_top_value_0 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeInt32(value_borderColor_value_1_top_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_top_value_1 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_top_value_2 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeString(value_borderColor_value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_top_value_3 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeResource(value_borderColor_value_1_top_value_3) - } - } - const value_borderColor_value_1_right = value_borderColor_value_1.right - let value_borderColor_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right) - valueSerializer.writeInt8(value_borderColor_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_right_type)) { - const value_borderColor_value_1_right_value = value_borderColor_value_1_right! - let value_borderColor_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_value_type = runtimeType(value_borderColor_value_1_right_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_right_value_type)) && ((unsafeCast(value_borderColor_value_1_right_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_right_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_right_value_0 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeInt32(value_borderColor_value_1_right_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_right_value_1 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_right_value_2 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeString(value_borderColor_value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_right_value_3 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeResource(value_borderColor_value_1_right_value_3) - } - } - const value_borderColor_value_1_bottom = value_borderColor_value_1.bottom - let value_borderColor_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom) - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom! - let value_borderColor_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_value_type = runtimeType(value_borderColor_value_1_bottom_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_bottom_value_type)) && ((unsafeCast(value_borderColor_value_1_bottom_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_bottom_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_bottom_value_0 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeInt32(value_borderColor_value_1_bottom_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_bottom_value_1 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_bottom_value_2 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_bottom_value_3 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3) - } - } - const value_borderColor_value_1_left = value_borderColor_value_1.left - let value_borderColor_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left) - valueSerializer.writeInt8(value_borderColor_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_left_type)) { - const value_borderColor_value_1_left_value = value_borderColor_value_1_left! - let value_borderColor_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_value_type = runtimeType(value_borderColor_value_1_left_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_left_value_type)) && ((unsafeCast(value_borderColor_value_1_left_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_left_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_left_value_0 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeInt32(value_borderColor_value_1_left_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_left_value_1 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_left_value_2 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeString(value_borderColor_value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_left_value_3 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeResource(value_borderColor_value_1_left_value_3) - } - } + valueSerializer.writeEdgeColors(value_borderColor_value_1) } else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("end")) || (value_borderColor_value!.hasOwnProperty("start"))))) { valueSerializer.writeInt8(2) @@ -17982,12 +19890,76 @@ export class Serializer extends SerializerBase { const value_hoverModeArea_value = value_hoverModeArea! valueSerializer.writeInt32(value_hoverModeArea_value.valueOf()) } + const value_onDidAppear = value.onDidAppear + let value_onDidAppear_type: int32 = RuntimeType.UNDEFINED + value_onDidAppear_type = runtimeType(value_onDidAppear) + valueSerializer.writeInt8(value_onDidAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { + const value_onDidAppear_value = value_onDidAppear! + valueSerializer.holdAndWriteCallback(value_onDidAppear_value) + } + const value_onDidDisappear = value.onDidDisappear + let value_onDidDisappear_type: int32 = RuntimeType.UNDEFINED + value_onDidDisappear_type = runtimeType(value_onDidDisappear) + valueSerializer.writeInt8(value_onDidDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { + const value_onDidDisappear_value = value_onDidDisappear! + valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) + } + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type: int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) + } + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type: int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) + } + const value_levelMode = value.levelMode + let value_levelMode_type: int32 = RuntimeType.UNDEFINED + value_levelMode_type = runtimeType(value_levelMode) + valueSerializer.writeInt8(value_levelMode_type) + if ((RuntimeType.UNDEFINED) != (value_levelMode_type)) { + const value_levelMode_value = value_levelMode! + valueSerializer.writeLevelMode(value_levelMode_value) + } + const value_levelUniqueId = value.levelUniqueId + let value_levelUniqueId_type: int32 = RuntimeType.UNDEFINED + value_levelUniqueId_type = runtimeType(value_levelUniqueId) + valueSerializer.writeInt8(value_levelUniqueId_type) + if ((RuntimeType.UNDEFINED) != (value_levelUniqueId_type)) { + const value_levelUniqueId_value = value_levelUniqueId! + valueSerializer.writeNumber(value_levelUniqueId_value) + } + const value_immersiveMode = value.immersiveMode + let value_immersiveMode_type: int32 = RuntimeType.UNDEFINED + value_immersiveMode_type = runtimeType(value_immersiveMode) + valueSerializer.writeInt8(value_immersiveMode_type) + if ((RuntimeType.UNDEFINED) != (value_immersiveMode_type)) { + const value_immersiveMode_value = value_immersiveMode! + valueSerializer.writeImmersiveMode(value_immersiveMode_value) + } + const value_levelOrder = value.levelOrder + let value_levelOrder_type: int32 = RuntimeType.UNDEFINED + value_levelOrder_type = runtimeType(value_levelOrder) + valueSerializer.writeInt8(value_levelOrder_type) + if ((RuntimeType.UNDEFINED) != (value_levelOrder_type)) { + const value_levelOrder_value = value_levelOrder! + valueSerializer.writeLevelOrder(value_levelOrder_value) + } const value_primaryButton = value.primaryButton valueSerializer.writeAlertDialogButtonBaseOptions(value_primaryButton) const value_secondaryButton = value.secondaryButton valueSerializer.writeAlertDialogButtonBaseOptions(value_secondaryButton) } - writeAlertDialogParamWithConfirm(value: AlertDialogParamWithConfirm): void { + public writeAlertDialogParamWithConfirm(value: AlertDialogParamWithConfirm): void { let valueSerializer: Serializer = this const value_title = value.title let value_title_type: int32 = RuntimeType.UNDEFINED @@ -18070,42 +20042,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dx_0 = unsafeCast(value_offset_value_dx) - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dx_1 = unsafeCast(value_offset_value_dx) - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dx_2 = unsafeCast(value_offset_value_dx) - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dy_0 = unsafeCast(value_offset_value_dy) - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dy_1 = unsafeCast(value_offset_value_dy) - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dy_2 = unsafeCast(value_offset_value_dy) - valueSerializer.writeResource(value_offset_value_dy_2) - } + valueSerializer.writeOffset(value_offset_value) } const value_gridCount = value.gridCount let value_gridCount_type: int32 = RuntimeType.UNDEFINED @@ -18176,6 +20113,22 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle_value = value_backgroundBlurStyle! valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_onWillDismiss = value.onWillDismiss let value_onWillDismiss_type: int32 = RuntimeType.UNDEFINED value_onWillDismiss_type = runtimeType(value_onWillDismiss) @@ -18224,102 +20177,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (((value_cornerRadius_value!.hasOwnProperty("topLeft")) || (value_cornerRadius_value!.hasOwnProperty("topRight")) || (value_cornerRadius_value!.hasOwnProperty("bottomLeft")) || (value_cornerRadius_value!.hasOwnProperty("bottomRight"))))) { valueSerializer.writeInt8(1) const value_cornerRadius_value_1 = unsafeCast(value_cornerRadius_value) - const value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft - let value_cornerRadius_value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft! - let value_cornerRadius_value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_value_type = runtimeType(value_cornerRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_topLeft_value_0 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_topLeft_value_1 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_topLeft_value_2 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2) - } - } - const value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight - let value_cornerRadius_value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight! - let value_cornerRadius_value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_value_type = runtimeType(value_cornerRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_topRight_value_0 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_topRight_value_1 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_topRight_value_2 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2) - } - } - const value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft - let value_cornerRadius_value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft! - let value_cornerRadius_value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_value_type = runtimeType(value_cornerRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_bottomLeft_value_0 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_bottomLeft_value_1 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_bottomLeft_value_2 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2) - } - } - const value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight - let value_cornerRadius_value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight! - let value_cornerRadius_value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_value_type = runtimeType(value_cornerRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_bottomRight_value_0 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_bottomRight_value_1 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_bottomRight_value_2 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1) } else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (((value_cornerRadius_value!.hasOwnProperty("topStart")) || (value_cornerRadius_value!.hasOwnProperty("topEnd")) || (value_cornerRadius_value!.hasOwnProperty("bottomStart")) || (value_cornerRadius_value!.hasOwnProperty("bottomEnd"))))) { valueSerializer.writeInt8(2) @@ -18407,102 +20265,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("right")) || (value_borderWidth_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_borderWidth_value_1 = unsafeCast(value_borderWidth_value) - const value_borderWidth_value_1_top = value_borderWidth_value_1.top - let value_borderWidth_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top) - valueSerializer.writeInt8(value_borderWidth_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const value_borderWidth_value_1_top_value = value_borderWidth_value_1_top! - let value_borderWidth_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_value_type = runtimeType(value_borderWidth_value_1_top_value) - if (RuntimeType.STRING == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_top_value_0 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeString(value_borderWidth_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_top_value_1 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_top_value_2 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2) - } - } - const value_borderWidth_value_1_right = value_borderWidth_value_1.right - let value_borderWidth_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right) - valueSerializer.writeInt8(value_borderWidth_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const value_borderWidth_value_1_right_value = value_borderWidth_value_1_right! - let value_borderWidth_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_value_type = runtimeType(value_borderWidth_value_1_right_value) - if (RuntimeType.STRING == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_right_value_0 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeString(value_borderWidth_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_right_value_1 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_right_value_2 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2) - } - } - const value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom - let value_borderWidth_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom) - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom! - let value_borderWidth_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_value_type = runtimeType(value_borderWidth_value_1_bottom_value) - if (RuntimeType.STRING == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_bottom_value_0 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_bottom_value_1 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_bottom_value_2 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2) - } - } - const value_borderWidth_value_1_left = value_borderWidth_value_1.left - let value_borderWidth_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left) - valueSerializer.writeInt8(value_borderWidth_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const value_borderWidth_value_1_left_value = value_borderWidth_value_1_left! - let value_borderWidth_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_value_type = runtimeType(value_borderWidth_value_1_left_value) - if (RuntimeType.STRING == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_left_value_0 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeString(value_borderWidth_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_left_value_1 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_left_value_2 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2) - } - } + valueSerializer.writeEdgeWidths(value_borderWidth_value_1) } else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("end")) || (value_borderWidth_value!.hasOwnProperty("start"))))) { valueSerializer.writeInt8(2) @@ -18547,122 +20310,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("right")) || (value_borderColor_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_borderColor_value_1 = unsafeCast(value_borderColor_value) - const value_borderColor_value_1_top = value_borderColor_value_1.top - let value_borderColor_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top) - valueSerializer.writeInt8(value_borderColor_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_top_type)) { - const value_borderColor_value_1_top_value = value_borderColor_value_1_top! - let value_borderColor_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_value_type = runtimeType(value_borderColor_value_1_top_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_top_value_type)) && ((unsafeCast(value_borderColor_value_1_top_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_top_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_top_value_0 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeInt32(value_borderColor_value_1_top_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_top_value_1 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_top_value_2 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeString(value_borderColor_value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_top_value_3 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeResource(value_borderColor_value_1_top_value_3) - } - } - const value_borderColor_value_1_right = value_borderColor_value_1.right - let value_borderColor_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right) - valueSerializer.writeInt8(value_borderColor_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_right_type)) { - const value_borderColor_value_1_right_value = value_borderColor_value_1_right! - let value_borderColor_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_value_type = runtimeType(value_borderColor_value_1_right_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_right_value_type)) && ((unsafeCast(value_borderColor_value_1_right_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_right_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_right_value_0 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeInt32(value_borderColor_value_1_right_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_right_value_1 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_right_value_2 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeString(value_borderColor_value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_right_value_3 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeResource(value_borderColor_value_1_right_value_3) - } - } - const value_borderColor_value_1_bottom = value_borderColor_value_1.bottom - let value_borderColor_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom) - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom! - let value_borderColor_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_value_type = runtimeType(value_borderColor_value_1_bottom_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_bottom_value_type)) && ((unsafeCast(value_borderColor_value_1_bottom_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_bottom_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_bottom_value_0 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeInt32(value_borderColor_value_1_bottom_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_bottom_value_1 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_bottom_value_2 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_bottom_value_3 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3) - } - } - const value_borderColor_value_1_left = value_borderColor_value_1.left - let value_borderColor_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left) - valueSerializer.writeInt8(value_borderColor_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_left_type)) { - const value_borderColor_value_1_left_value = value_borderColor_value_1_left! - let value_borderColor_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_value_type = runtimeType(value_borderColor_value_1_left_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_left_value_type)) && ((unsafeCast(value_borderColor_value_1_left_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_left_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_left_value_0 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeInt32(value_borderColor_value_1_left_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_left_value_1 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_left_value_2 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeString(value_borderColor_value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_left_value_3 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeResource(value_borderColor_value_1_left_value_3) - } - } + valueSerializer.writeEdgeColors(value_borderColor_value_1) } else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("end")) || (value_borderColor_value!.hasOwnProperty("start"))))) { valueSerializer.writeInt8(2) @@ -18732,6 +20380,70 @@ export class Serializer extends SerializerBase { const value_hoverModeArea_value = value_hoverModeArea! valueSerializer.writeInt32(value_hoverModeArea_value.valueOf()) } + const value_onDidAppear = value.onDidAppear + let value_onDidAppear_type: int32 = RuntimeType.UNDEFINED + value_onDidAppear_type = runtimeType(value_onDidAppear) + valueSerializer.writeInt8(value_onDidAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { + const value_onDidAppear_value = value_onDidAppear! + valueSerializer.holdAndWriteCallback(value_onDidAppear_value) + } + const value_onDidDisappear = value.onDidDisappear + let value_onDidDisappear_type: int32 = RuntimeType.UNDEFINED + value_onDidDisappear_type = runtimeType(value_onDidDisappear) + valueSerializer.writeInt8(value_onDidDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { + const value_onDidDisappear_value = value_onDidDisappear! + valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) + } + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type: int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) + } + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type: int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) + } + const value_levelMode = value.levelMode + let value_levelMode_type: int32 = RuntimeType.UNDEFINED + value_levelMode_type = runtimeType(value_levelMode) + valueSerializer.writeInt8(value_levelMode_type) + if ((RuntimeType.UNDEFINED) != (value_levelMode_type)) { + const value_levelMode_value = value_levelMode! + valueSerializer.writeLevelMode(value_levelMode_value) + } + const value_levelUniqueId = value.levelUniqueId + let value_levelUniqueId_type: int32 = RuntimeType.UNDEFINED + value_levelUniqueId_type = runtimeType(value_levelUniqueId) + valueSerializer.writeInt8(value_levelUniqueId_type) + if ((RuntimeType.UNDEFINED) != (value_levelUniqueId_type)) { + const value_levelUniqueId_value = value_levelUniqueId! + valueSerializer.writeNumber(value_levelUniqueId_value) + } + const value_immersiveMode = value.immersiveMode + let value_immersiveMode_type: int32 = RuntimeType.UNDEFINED + value_immersiveMode_type = runtimeType(value_immersiveMode) + valueSerializer.writeInt8(value_immersiveMode_type) + if ((RuntimeType.UNDEFINED) != (value_immersiveMode_type)) { + const value_immersiveMode_value = value_immersiveMode! + valueSerializer.writeImmersiveMode(value_immersiveMode_value) + } + const value_levelOrder = value.levelOrder + let value_levelOrder_type: int32 = RuntimeType.UNDEFINED + value_levelOrder_type = runtimeType(value_levelOrder) + valueSerializer.writeInt8(value_levelOrder_type) + if ((RuntimeType.UNDEFINED) != (value_levelOrder_type)) { + const value_levelOrder_value = value_levelOrder! + valueSerializer.writeLevelOrder(value_levelOrder_value) + } const value_confirm = value.confirm let value_confirm_type: int32 = RuntimeType.UNDEFINED value_confirm_type = runtimeType(value_confirm) @@ -18741,7 +20453,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeAlertDialogButtonBaseOptions(value_confirm_value) } } - writeAlertDialogParamWithOptions(value: AlertDialogParamWithOptions): void { + public writeAlertDialogParamWithOptions(value: AlertDialogParamWithOptions): void { let valueSerializer: Serializer = this const value_title = value.title let value_title_type: int32 = RuntimeType.UNDEFINED @@ -18824,42 +20536,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dx_0 = unsafeCast(value_offset_value_dx) - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dx_1 = unsafeCast(value_offset_value_dx) - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dx_2 = unsafeCast(value_offset_value_dx) - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dy_0 = unsafeCast(value_offset_value_dy) - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dy_1 = unsafeCast(value_offset_value_dy) - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dy_2 = unsafeCast(value_offset_value_dy) - valueSerializer.writeResource(value_offset_value_dy_2) - } + valueSerializer.writeOffset(value_offset_value) } const value_gridCount = value.gridCount let value_gridCount_type: int32 = RuntimeType.UNDEFINED @@ -18930,6 +20607,22 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle_value = value_backgroundBlurStyle! valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_onWillDismiss = value.onWillDismiss let value_onWillDismiss_type: int32 = RuntimeType.UNDEFINED value_onWillDismiss_type = runtimeType(value_onWillDismiss) @@ -18978,102 +20671,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (((value_cornerRadius_value!.hasOwnProperty("topLeft")) || (value_cornerRadius_value!.hasOwnProperty("topRight")) || (value_cornerRadius_value!.hasOwnProperty("bottomLeft")) || (value_cornerRadius_value!.hasOwnProperty("bottomRight"))))) { valueSerializer.writeInt8(1) const value_cornerRadius_value_1 = unsafeCast(value_cornerRadius_value) - const value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft - let value_cornerRadius_value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft! - let value_cornerRadius_value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_value_type = runtimeType(value_cornerRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_topLeft_value_0 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_topLeft_value_1 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_topLeft_value_2 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2) - } - } - const value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight - let value_cornerRadius_value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight! - let value_cornerRadius_value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_value_type = runtimeType(value_cornerRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_topRight_value_0 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_topRight_value_1 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_topRight_value_2 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2) - } - } - const value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft - let value_cornerRadius_value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft! - let value_cornerRadius_value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_value_type = runtimeType(value_cornerRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_bottomLeft_value_0 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_bottomLeft_value_1 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_bottomLeft_value_2 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2) - } - } - const value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight - let value_cornerRadius_value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight! - let value_cornerRadius_value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_value_type = runtimeType(value_cornerRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_bottomRight_value_0 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_bottomRight_value_1 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_bottomRight_value_2 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1) } else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (((value_cornerRadius_value!.hasOwnProperty("topStart")) || (value_cornerRadius_value!.hasOwnProperty("topEnd")) || (value_cornerRadius_value!.hasOwnProperty("bottomStart")) || (value_cornerRadius_value!.hasOwnProperty("bottomEnd"))))) { valueSerializer.writeInt8(2) @@ -19161,102 +20759,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("right")) || (value_borderWidth_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_borderWidth_value_1 = unsafeCast(value_borderWidth_value) - const value_borderWidth_value_1_top = value_borderWidth_value_1.top - let value_borderWidth_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top) - valueSerializer.writeInt8(value_borderWidth_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const value_borderWidth_value_1_top_value = value_borderWidth_value_1_top! - let value_borderWidth_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_value_type = runtimeType(value_borderWidth_value_1_top_value) - if (RuntimeType.STRING == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_top_value_0 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeString(value_borderWidth_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_top_value_1 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_top_value_2 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2) - } - } - const value_borderWidth_value_1_right = value_borderWidth_value_1.right - let value_borderWidth_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right) - valueSerializer.writeInt8(value_borderWidth_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const value_borderWidth_value_1_right_value = value_borderWidth_value_1_right! - let value_borderWidth_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_value_type = runtimeType(value_borderWidth_value_1_right_value) - if (RuntimeType.STRING == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_right_value_0 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeString(value_borderWidth_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_right_value_1 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_right_value_2 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2) - } - } - const value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom - let value_borderWidth_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom) - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom! - let value_borderWidth_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_value_type = runtimeType(value_borderWidth_value_1_bottom_value) - if (RuntimeType.STRING == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_bottom_value_0 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_bottom_value_1 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_bottom_value_2 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2) - } - } - const value_borderWidth_value_1_left = value_borderWidth_value_1.left - let value_borderWidth_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left) - valueSerializer.writeInt8(value_borderWidth_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const value_borderWidth_value_1_left_value = value_borderWidth_value_1_left! - let value_borderWidth_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_value_type = runtimeType(value_borderWidth_value_1_left_value) - if (RuntimeType.STRING == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_left_value_0 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeString(value_borderWidth_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_left_value_1 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_left_value_2 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2) - } - } + valueSerializer.writeEdgeWidths(value_borderWidth_value_1) } else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("end")) || (value_borderWidth_value!.hasOwnProperty("start"))))) { valueSerializer.writeInt8(2) @@ -19301,122 +20804,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("right")) || (value_borderColor_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_borderColor_value_1 = unsafeCast(value_borderColor_value) - const value_borderColor_value_1_top = value_borderColor_value_1.top - let value_borderColor_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top) - valueSerializer.writeInt8(value_borderColor_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_top_type)) { - const value_borderColor_value_1_top_value = value_borderColor_value_1_top! - let value_borderColor_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_value_type = runtimeType(value_borderColor_value_1_top_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_top_value_type)) && ((unsafeCast(value_borderColor_value_1_top_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_top_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_top_value_0 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeInt32(value_borderColor_value_1_top_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_top_value_1 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_top_value_2 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeString(value_borderColor_value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_top_value_3 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeResource(value_borderColor_value_1_top_value_3) - } - } - const value_borderColor_value_1_right = value_borderColor_value_1.right - let value_borderColor_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right) - valueSerializer.writeInt8(value_borderColor_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_right_type)) { - const value_borderColor_value_1_right_value = value_borderColor_value_1_right! - let value_borderColor_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_value_type = runtimeType(value_borderColor_value_1_right_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_right_value_type)) && ((unsafeCast(value_borderColor_value_1_right_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_right_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_right_value_0 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeInt32(value_borderColor_value_1_right_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_right_value_1 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_right_value_2 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeString(value_borderColor_value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_right_value_3 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeResource(value_borderColor_value_1_right_value_3) - } - } - const value_borderColor_value_1_bottom = value_borderColor_value_1.bottom - let value_borderColor_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom) - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom! - let value_borderColor_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_value_type = runtimeType(value_borderColor_value_1_bottom_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_bottom_value_type)) && ((unsafeCast(value_borderColor_value_1_bottom_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_bottom_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_bottom_value_0 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeInt32(value_borderColor_value_1_bottom_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_bottom_value_1 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_bottom_value_2 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_bottom_value_3 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3) - } - } - const value_borderColor_value_1_left = value_borderColor_value_1.left - let value_borderColor_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left) - valueSerializer.writeInt8(value_borderColor_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_left_type)) { - const value_borderColor_value_1_left_value = value_borderColor_value_1_left! - let value_borderColor_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_value_type = runtimeType(value_borderColor_value_1_left_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_left_value_type)) && ((unsafeCast(value_borderColor_value_1_left_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_left_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_left_value_0 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeInt32(value_borderColor_value_1_left_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_left_value_1 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_left_value_2 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeString(value_borderColor_value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_left_value_3 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeResource(value_borderColor_value_1_left_value_3) - } - } + valueSerializer.writeEdgeColors(value_borderColor_value_1) } else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("end")) || (value_borderColor_value!.hasOwnProperty("start"))))) { valueSerializer.writeInt8(2) @@ -19486,6 +20874,70 @@ export class Serializer extends SerializerBase { const value_hoverModeArea_value = value_hoverModeArea! valueSerializer.writeInt32(value_hoverModeArea_value.valueOf()) } + const value_onDidAppear = value.onDidAppear + let value_onDidAppear_type: int32 = RuntimeType.UNDEFINED + value_onDidAppear_type = runtimeType(value_onDidAppear) + valueSerializer.writeInt8(value_onDidAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { + const value_onDidAppear_value = value_onDidAppear! + valueSerializer.holdAndWriteCallback(value_onDidAppear_value) + } + const value_onDidDisappear = value.onDidDisappear + let value_onDidDisappear_type: int32 = RuntimeType.UNDEFINED + value_onDidDisappear_type = runtimeType(value_onDidDisappear) + valueSerializer.writeInt8(value_onDidDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { + const value_onDidDisappear_value = value_onDidDisappear! + valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) + } + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type: int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) + } + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type: int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) + } + const value_levelMode = value.levelMode + let value_levelMode_type: int32 = RuntimeType.UNDEFINED + value_levelMode_type = runtimeType(value_levelMode) + valueSerializer.writeInt8(value_levelMode_type) + if ((RuntimeType.UNDEFINED) != (value_levelMode_type)) { + const value_levelMode_value = value_levelMode! + valueSerializer.writeLevelMode(value_levelMode_value) + } + const value_levelUniqueId = value.levelUniqueId + let value_levelUniqueId_type: int32 = RuntimeType.UNDEFINED + value_levelUniqueId_type = runtimeType(value_levelUniqueId) + valueSerializer.writeInt8(value_levelUniqueId_type) + if ((RuntimeType.UNDEFINED) != (value_levelUniqueId_type)) { + const value_levelUniqueId_value = value_levelUniqueId! + valueSerializer.writeNumber(value_levelUniqueId_value) + } + const value_immersiveMode = value.immersiveMode + let value_immersiveMode_type: int32 = RuntimeType.UNDEFINED + value_immersiveMode_type = runtimeType(value_immersiveMode) + valueSerializer.writeInt8(value_immersiveMode_type) + if ((RuntimeType.UNDEFINED) != (value_immersiveMode_type)) { + const value_immersiveMode_value = value_immersiveMode! + valueSerializer.writeImmersiveMode(value_immersiveMode_value) + } + const value_levelOrder = value.levelOrder + let value_levelOrder_type: int32 = RuntimeType.UNDEFINED + value_levelOrder_type = runtimeType(value_levelOrder) + valueSerializer.writeInt8(value_levelOrder_type) + if ((RuntimeType.UNDEFINED) != (value_levelOrder_type)) { + const value_levelOrder_value = value_levelOrder! + valueSerializer.writeLevelOrder(value_levelOrder_value) + } const value_buttons = value.buttons valueSerializer.writeInt32(value_buttons.length) for (let i = 0; i < value_buttons.length; i++) { @@ -19501,7 +20953,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_buttonDirection_value.valueOf()) } } - writeArea(value: Area): void { + public writeArea(value: Area): void { let valueSerializer: Serializer = this const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED @@ -19544,7 +20996,7 @@ export class Serializer extends SerializerBase { const value_globalPosition = value.globalPosition valueSerializer.writePosition(value_globalPosition) } - writeBadgeParamWithNumber(value: BadgeParamWithNumber): void { + public writeBadgeParamWithNumber(value: BadgeParamWithNumber): void { let valueSerializer: Serializer = this const value_position = value.position let value_position_type: int32 = RuntimeType.UNDEFINED @@ -19578,7 +21030,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNumber(value_maxCount_value) } } - writeBadgeParamWithString(value: BadgeParamWithString): void { + public writeBadgeParamWithString(value: BadgeParamWithString): void { let valueSerializer: Serializer = this const value_position = value.position let value_position_type: int32 = RuntimeType.UNDEFINED @@ -19604,7 +21056,7 @@ export class Serializer extends SerializerBase { const value_value = value.value valueSerializer.writeString(value_value) } - writeBorderImageOption(value: BorderImageOption): void { + public writeBorderImageOption(value: BorderImageOption): void { let valueSerializer: Serializer = this const value_slice = value.slice let value_slice_type: int32 = RuntimeType.UNDEFINED @@ -19638,102 +21090,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_slice_value_type)) && (((value_slice_value!.hasOwnProperty("right")) || (value_slice_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_slice_value_1 = unsafeCast(value_slice_value) - const value_slice_value_1_top = value_slice_value_1.top - let value_slice_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_slice_value_1_top_type = runtimeType(value_slice_value_1_top) - valueSerializer.writeInt8(value_slice_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_slice_value_1_top_type)) { - const value_slice_value_1_top_value = value_slice_value_1_top! - let value_slice_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_slice_value_1_top_value_type = runtimeType(value_slice_value_1_top_value) - if (RuntimeType.STRING == value_slice_value_1_top_value_type) { - valueSerializer.writeInt8(0) - const value_slice_value_1_top_value_0 = unsafeCast(value_slice_value_1_top_value) - valueSerializer.writeString(value_slice_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_slice_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_slice_value_1_top_value_1 = unsafeCast(value_slice_value_1_top_value) - valueSerializer.writeNumber(value_slice_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_slice_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_slice_value_1_top_value_2 = unsafeCast(value_slice_value_1_top_value) - valueSerializer.writeResource(value_slice_value_1_top_value_2) - } - } - const value_slice_value_1_right = value_slice_value_1.right - let value_slice_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_slice_value_1_right_type = runtimeType(value_slice_value_1_right) - valueSerializer.writeInt8(value_slice_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_slice_value_1_right_type)) { - const value_slice_value_1_right_value = value_slice_value_1_right! - let value_slice_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_slice_value_1_right_value_type = runtimeType(value_slice_value_1_right_value) - if (RuntimeType.STRING == value_slice_value_1_right_value_type) { - valueSerializer.writeInt8(0) - const value_slice_value_1_right_value_0 = unsafeCast(value_slice_value_1_right_value) - valueSerializer.writeString(value_slice_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_slice_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_slice_value_1_right_value_1 = unsafeCast(value_slice_value_1_right_value) - valueSerializer.writeNumber(value_slice_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_slice_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_slice_value_1_right_value_2 = unsafeCast(value_slice_value_1_right_value) - valueSerializer.writeResource(value_slice_value_1_right_value_2) - } - } - const value_slice_value_1_bottom = value_slice_value_1.bottom - let value_slice_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_slice_value_1_bottom_type = runtimeType(value_slice_value_1_bottom) - valueSerializer.writeInt8(value_slice_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_slice_value_1_bottom_type)) { - const value_slice_value_1_bottom_value = value_slice_value_1_bottom! - let value_slice_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_slice_value_1_bottom_value_type = runtimeType(value_slice_value_1_bottom_value) - if (RuntimeType.STRING == value_slice_value_1_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_slice_value_1_bottom_value_0 = unsafeCast(value_slice_value_1_bottom_value) - valueSerializer.writeString(value_slice_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_slice_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_slice_value_1_bottom_value_1 = unsafeCast(value_slice_value_1_bottom_value) - valueSerializer.writeNumber(value_slice_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_slice_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_slice_value_1_bottom_value_2 = unsafeCast(value_slice_value_1_bottom_value) - valueSerializer.writeResource(value_slice_value_1_bottom_value_2) - } - } - const value_slice_value_1_left = value_slice_value_1.left - let value_slice_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_slice_value_1_left_type = runtimeType(value_slice_value_1_left) - valueSerializer.writeInt8(value_slice_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_slice_value_1_left_type)) { - const value_slice_value_1_left_value = value_slice_value_1_left! - let value_slice_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_slice_value_1_left_value_type = runtimeType(value_slice_value_1_left_value) - if (RuntimeType.STRING == value_slice_value_1_left_value_type) { - valueSerializer.writeInt8(0) - const value_slice_value_1_left_value_0 = unsafeCast(value_slice_value_1_left_value) - valueSerializer.writeString(value_slice_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_slice_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_slice_value_1_left_value_1 = unsafeCast(value_slice_value_1_left_value) - valueSerializer.writeNumber(value_slice_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_slice_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_slice_value_1_left_value_2 = unsafeCast(value_slice_value_1_left_value) - valueSerializer.writeResource(value_slice_value_1_left_value_2) - } - } + valueSerializer.writeEdgeWidths(value_slice_value_1) } else if (((RuntimeType.OBJECT) == (value_slice_value_type)) && (((value_slice_value!.hasOwnProperty("end")) || (value_slice_value!.hasOwnProperty("start"))))) { valueSerializer.writeInt8(2) @@ -19805,102 +21162,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_width_value_type)) && (((value_width_value!.hasOwnProperty("right")) || (value_width_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_width_value_1 = unsafeCast(value_width_value) - const value_width_value_1_top = value_width_value_1.top - let value_width_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_width_value_1_top_type = runtimeType(value_width_value_1_top) - valueSerializer.writeInt8(value_width_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_width_value_1_top_type)) { - const value_width_value_1_top_value = value_width_value_1_top! - let value_width_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_1_top_value_type = runtimeType(value_width_value_1_top_value) - if (RuntimeType.STRING == value_width_value_1_top_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_1_top_value_0 = unsafeCast(value_width_value_1_top_value) - valueSerializer.writeString(value_width_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_1_top_value_1 = unsafeCast(value_width_value_1_top_value) - valueSerializer.writeNumber(value_width_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_1_top_value_2 = unsafeCast(value_width_value_1_top_value) - valueSerializer.writeResource(value_width_value_1_top_value_2) - } - } - const value_width_value_1_right = value_width_value_1.right - let value_width_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_width_value_1_right_type = runtimeType(value_width_value_1_right) - valueSerializer.writeInt8(value_width_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_width_value_1_right_type)) { - const value_width_value_1_right_value = value_width_value_1_right! - let value_width_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_1_right_value_type = runtimeType(value_width_value_1_right_value) - if (RuntimeType.STRING == value_width_value_1_right_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_1_right_value_0 = unsafeCast(value_width_value_1_right_value) - valueSerializer.writeString(value_width_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_1_right_value_1 = unsafeCast(value_width_value_1_right_value) - valueSerializer.writeNumber(value_width_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_1_right_value_2 = unsafeCast(value_width_value_1_right_value) - valueSerializer.writeResource(value_width_value_1_right_value_2) - } - } - const value_width_value_1_bottom = value_width_value_1.bottom - let value_width_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_width_value_1_bottom_type = runtimeType(value_width_value_1_bottom) - valueSerializer.writeInt8(value_width_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_width_value_1_bottom_type)) { - const value_width_value_1_bottom_value = value_width_value_1_bottom! - let value_width_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_1_bottom_value_type = runtimeType(value_width_value_1_bottom_value) - if (RuntimeType.STRING == value_width_value_1_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_1_bottom_value_0 = unsafeCast(value_width_value_1_bottom_value) - valueSerializer.writeString(value_width_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_1_bottom_value_1 = unsafeCast(value_width_value_1_bottom_value) - valueSerializer.writeNumber(value_width_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_1_bottom_value_2 = unsafeCast(value_width_value_1_bottom_value) - valueSerializer.writeResource(value_width_value_1_bottom_value_2) - } - } - const value_width_value_1_left = value_width_value_1.left - let value_width_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_width_value_1_left_type = runtimeType(value_width_value_1_left) - valueSerializer.writeInt8(value_width_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_width_value_1_left_type)) { - const value_width_value_1_left_value = value_width_value_1_left! - let value_width_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_1_left_value_type = runtimeType(value_width_value_1_left_value) - if (RuntimeType.STRING == value_width_value_1_left_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_1_left_value_0 = unsafeCast(value_width_value_1_left_value) - valueSerializer.writeString(value_width_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_1_left_value_1 = unsafeCast(value_width_value_1_left_value) - valueSerializer.writeNumber(value_width_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_1_left_value_2 = unsafeCast(value_width_value_1_left_value) - valueSerializer.writeResource(value_width_value_1_left_value_2) - } - } + valueSerializer.writeEdgeWidths(value_width_value_1) } else if (((RuntimeType.OBJECT) == (value_width_value_type)) && (((value_width_value!.hasOwnProperty("end")) || (value_width_value!.hasOwnProperty("start"))))) { valueSerializer.writeInt8(2) @@ -19940,102 +21202,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_outset_value_type)) && (((value_outset_value!.hasOwnProperty("right")) || (value_outset_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_outset_value_1 = unsafeCast(value_outset_value) - const value_outset_value_1_top = value_outset_value_1.top - let value_outset_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_outset_value_1_top_type = runtimeType(value_outset_value_1_top) - valueSerializer.writeInt8(value_outset_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_outset_value_1_top_type)) { - const value_outset_value_1_top_value = value_outset_value_1_top! - let value_outset_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_outset_value_1_top_value_type = runtimeType(value_outset_value_1_top_value) - if (RuntimeType.STRING == value_outset_value_1_top_value_type) { - valueSerializer.writeInt8(0) - const value_outset_value_1_top_value_0 = unsafeCast(value_outset_value_1_top_value) - valueSerializer.writeString(value_outset_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_outset_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_outset_value_1_top_value_1 = unsafeCast(value_outset_value_1_top_value) - valueSerializer.writeNumber(value_outset_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_outset_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_outset_value_1_top_value_2 = unsafeCast(value_outset_value_1_top_value) - valueSerializer.writeResource(value_outset_value_1_top_value_2) - } - } - const value_outset_value_1_right = value_outset_value_1.right - let value_outset_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_outset_value_1_right_type = runtimeType(value_outset_value_1_right) - valueSerializer.writeInt8(value_outset_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_outset_value_1_right_type)) { - const value_outset_value_1_right_value = value_outset_value_1_right! - let value_outset_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_outset_value_1_right_value_type = runtimeType(value_outset_value_1_right_value) - if (RuntimeType.STRING == value_outset_value_1_right_value_type) { - valueSerializer.writeInt8(0) - const value_outset_value_1_right_value_0 = unsafeCast(value_outset_value_1_right_value) - valueSerializer.writeString(value_outset_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_outset_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_outset_value_1_right_value_1 = unsafeCast(value_outset_value_1_right_value) - valueSerializer.writeNumber(value_outset_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_outset_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_outset_value_1_right_value_2 = unsafeCast(value_outset_value_1_right_value) - valueSerializer.writeResource(value_outset_value_1_right_value_2) - } - } - const value_outset_value_1_bottom = value_outset_value_1.bottom - let value_outset_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_outset_value_1_bottom_type = runtimeType(value_outset_value_1_bottom) - valueSerializer.writeInt8(value_outset_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_outset_value_1_bottom_type)) { - const value_outset_value_1_bottom_value = value_outset_value_1_bottom! - let value_outset_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_outset_value_1_bottom_value_type = runtimeType(value_outset_value_1_bottom_value) - if (RuntimeType.STRING == value_outset_value_1_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_outset_value_1_bottom_value_0 = unsafeCast(value_outset_value_1_bottom_value) - valueSerializer.writeString(value_outset_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_outset_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_outset_value_1_bottom_value_1 = unsafeCast(value_outset_value_1_bottom_value) - valueSerializer.writeNumber(value_outset_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_outset_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_outset_value_1_bottom_value_2 = unsafeCast(value_outset_value_1_bottom_value) - valueSerializer.writeResource(value_outset_value_1_bottom_value_2) - } - } - const value_outset_value_1_left = value_outset_value_1.left - let value_outset_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_outset_value_1_left_type = runtimeType(value_outset_value_1_left) - valueSerializer.writeInt8(value_outset_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_outset_value_1_left_type)) { - const value_outset_value_1_left_value = value_outset_value_1_left! - let value_outset_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_outset_value_1_left_value_type = runtimeType(value_outset_value_1_left_value) - if (RuntimeType.STRING == value_outset_value_1_left_value_type) { - valueSerializer.writeInt8(0) - const value_outset_value_1_left_value_0 = unsafeCast(value_outset_value_1_left_value) - valueSerializer.writeString(value_outset_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_outset_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_outset_value_1_left_value_1 = unsafeCast(value_outset_value_1_left_value) - valueSerializer.writeNumber(value_outset_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_outset_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_outset_value_1_left_value_2 = unsafeCast(value_outset_value_1_left_value) - valueSerializer.writeResource(value_outset_value_1_left_value_2) - } - } + valueSerializer.writeEdgeWidths(value_outset_value_1) } else if (((RuntimeType.OBJECT) == (value_outset_value_type)) && (((value_outset_value!.hasOwnProperty("end")) || (value_outset_value!.hasOwnProperty("start"))))) { valueSerializer.writeInt8(2) @@ -20052,115 +21219,20 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_fill_value) } } - writeBorderOptions(value: BorderOptions): void { + public writeBorderOptions(value: BorderOptions): void { let valueSerializer: Serializer = this const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED value_width_type = runtimeType(value_width) valueSerializer.writeInt8(value_width_type) if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (((RuntimeType.OBJECT) == (value_width_value_type)) && (((value_width_value!.hasOwnProperty("right")) || (value_width_value!.hasOwnProperty("left"))))) { - valueSerializer.writeInt8(0) - const value_width_value_0 = unsafeCast(value_width_value) - const value_width_value_0_top = value_width_value_0.top - let value_width_value_0_top_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_top_type = runtimeType(value_width_value_0_top) - valueSerializer.writeInt8(value_width_value_0_top_type) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_top_type)) { - const value_width_value_0_top_value = value_width_value_0_top! - let value_width_value_0_top_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_top_value_type = runtimeType(value_width_value_0_top_value) - if (RuntimeType.STRING == value_width_value_0_top_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_0_top_value_0 = unsafeCast(value_width_value_0_top_value) - valueSerializer.writeString(value_width_value_0_top_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_top_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_0_top_value_1 = unsafeCast(value_width_value_0_top_value) - valueSerializer.writeNumber(value_width_value_0_top_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_top_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_0_top_value_2 = unsafeCast(value_width_value_0_top_value) - valueSerializer.writeResource(value_width_value_0_top_value_2) - } - } - const value_width_value_0_right = value_width_value_0.right - let value_width_value_0_right_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_right_type = runtimeType(value_width_value_0_right) - valueSerializer.writeInt8(value_width_value_0_right_type) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_right_type)) { - const value_width_value_0_right_value = value_width_value_0_right! - let value_width_value_0_right_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_right_value_type = runtimeType(value_width_value_0_right_value) - if (RuntimeType.STRING == value_width_value_0_right_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_0_right_value_0 = unsafeCast(value_width_value_0_right_value) - valueSerializer.writeString(value_width_value_0_right_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_right_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_0_right_value_1 = unsafeCast(value_width_value_0_right_value) - valueSerializer.writeNumber(value_width_value_0_right_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_right_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_0_right_value_2 = unsafeCast(value_width_value_0_right_value) - valueSerializer.writeResource(value_width_value_0_right_value_2) - } - } - const value_width_value_0_bottom = value_width_value_0.bottom - let value_width_value_0_bottom_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_bottom_type = runtimeType(value_width_value_0_bottom) - valueSerializer.writeInt8(value_width_value_0_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_bottom_type)) { - const value_width_value_0_bottom_value = value_width_value_0_bottom! - let value_width_value_0_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_bottom_value_type = runtimeType(value_width_value_0_bottom_value) - if (RuntimeType.STRING == value_width_value_0_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_0_bottom_value_0 = unsafeCast(value_width_value_0_bottom_value) - valueSerializer.writeString(value_width_value_0_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_0_bottom_value_1 = unsafeCast(value_width_value_0_bottom_value) - valueSerializer.writeNumber(value_width_value_0_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_0_bottom_value_2 = unsafeCast(value_width_value_0_bottom_value) - valueSerializer.writeResource(value_width_value_0_bottom_value_2) - } - } - const value_width_value_0_left = value_width_value_0.left - let value_width_value_0_left_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_left_type = runtimeType(value_width_value_0_left) - valueSerializer.writeInt8(value_width_value_0_left_type) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_left_type)) { - const value_width_value_0_left_value = value_width_value_0_left! - let value_width_value_0_left_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_left_value_type = runtimeType(value_width_value_0_left_value) - if (RuntimeType.STRING == value_width_value_0_left_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_0_left_value_0 = unsafeCast(value_width_value_0_left_value) - valueSerializer.writeString(value_width_value_0_left_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_left_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_0_left_value_1 = unsafeCast(value_width_value_0_left_value) - valueSerializer.writeNumber(value_width_value_0_left_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_left_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_0_left_value_2 = unsafeCast(value_width_value_0_left_value) - valueSerializer.writeResource(value_width_value_0_left_value_2) - } - } + const value_width_value = value_width! + let value_width_value_type: int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (((RuntimeType.OBJECT) == (value_width_value_type)) && (((value_width_value!.hasOwnProperty("right")) || (value_width_value!.hasOwnProperty("left"))))) { + valueSerializer.writeInt8(0) + const value_width_value_0 = unsafeCast(value_width_value) + valueSerializer.writeEdgeWidths(value_width_value_0) } else if ((RuntimeType.STRING == value_width_value_type) || (RuntimeType.NUMBER == value_width_value_type) || (RuntimeType.OBJECT == value_width_value_type)) { valueSerializer.writeInt8(1) @@ -20200,122 +21272,7 @@ export class Serializer extends SerializerBase { if (((RuntimeType.OBJECT) == (value_color_value_type)) && (((value_color_value!.hasOwnProperty("right")) || (value_color_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(0) const value_color_value_0 = unsafeCast(value_color_value) - const value_color_value_0_top = value_color_value_0.top - let value_color_value_0_top_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_top_type = runtimeType(value_color_value_0_top) - valueSerializer.writeInt8(value_color_value_0_top_type) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_top_type)) { - const value_color_value_0_top_value = value_color_value_0_top! - let value_color_value_0_top_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_top_value_type = runtimeType(value_color_value_0_top_value) - if (((RuntimeType.NUMBER) == (value_color_value_0_top_value_type)) && ((unsafeCast(value_color_value_0_top_value)) >= (0)) && ((unsafeCast(value_color_value_0_top_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_color_value_0_top_value_0 = unsafeCast(value_color_value_0_top_value) - valueSerializer.writeInt32(value_color_value_0_top_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_color_value_0_top_value_type) { - valueSerializer.writeInt8(1) - const value_color_value_0_top_value_1 = unsafeCast(value_color_value_0_top_value) - valueSerializer.writeNumber(value_color_value_0_top_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_top_value_type) { - valueSerializer.writeInt8(2) - const value_color_value_0_top_value_2 = unsafeCast(value_color_value_0_top_value) - valueSerializer.writeString(value_color_value_0_top_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_top_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_0_top_value_3 = unsafeCast(value_color_value_0_top_value) - valueSerializer.writeResource(value_color_value_0_top_value_3) - } - } - const value_color_value_0_right = value_color_value_0.right - let value_color_value_0_right_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_right_type = runtimeType(value_color_value_0_right) - valueSerializer.writeInt8(value_color_value_0_right_type) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_right_type)) { - const value_color_value_0_right_value = value_color_value_0_right! - let value_color_value_0_right_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_right_value_type = runtimeType(value_color_value_0_right_value) - if (((RuntimeType.NUMBER) == (value_color_value_0_right_value_type)) && ((unsafeCast(value_color_value_0_right_value)) >= (0)) && ((unsafeCast(value_color_value_0_right_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_color_value_0_right_value_0 = unsafeCast(value_color_value_0_right_value) - valueSerializer.writeInt32(value_color_value_0_right_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_color_value_0_right_value_type) { - valueSerializer.writeInt8(1) - const value_color_value_0_right_value_1 = unsafeCast(value_color_value_0_right_value) - valueSerializer.writeNumber(value_color_value_0_right_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_right_value_type) { - valueSerializer.writeInt8(2) - const value_color_value_0_right_value_2 = unsafeCast(value_color_value_0_right_value) - valueSerializer.writeString(value_color_value_0_right_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_right_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_0_right_value_3 = unsafeCast(value_color_value_0_right_value) - valueSerializer.writeResource(value_color_value_0_right_value_3) - } - } - const value_color_value_0_bottom = value_color_value_0.bottom - let value_color_value_0_bottom_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_bottom_type = runtimeType(value_color_value_0_bottom) - valueSerializer.writeInt8(value_color_value_0_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_bottom_type)) { - const value_color_value_0_bottom_value = value_color_value_0_bottom! - let value_color_value_0_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_bottom_value_type = runtimeType(value_color_value_0_bottom_value) - if (((RuntimeType.NUMBER) == (value_color_value_0_bottom_value_type)) && ((unsafeCast(value_color_value_0_bottom_value)) >= (0)) && ((unsafeCast(value_color_value_0_bottom_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_color_value_0_bottom_value_0 = unsafeCast(value_color_value_0_bottom_value) - valueSerializer.writeInt32(value_color_value_0_bottom_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_color_value_0_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_color_value_0_bottom_value_1 = unsafeCast(value_color_value_0_bottom_value) - valueSerializer.writeNumber(value_color_value_0_bottom_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_color_value_0_bottom_value_2 = unsafeCast(value_color_value_0_bottom_value) - valueSerializer.writeString(value_color_value_0_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_bottom_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_0_bottom_value_3 = unsafeCast(value_color_value_0_bottom_value) - valueSerializer.writeResource(value_color_value_0_bottom_value_3) - } - } - const value_color_value_0_left = value_color_value_0.left - let value_color_value_0_left_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_left_type = runtimeType(value_color_value_0_left) - valueSerializer.writeInt8(value_color_value_0_left_type) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_left_type)) { - const value_color_value_0_left_value = value_color_value_0_left! - let value_color_value_0_left_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_left_value_type = runtimeType(value_color_value_0_left_value) - if (((RuntimeType.NUMBER) == (value_color_value_0_left_value_type)) && ((unsafeCast(value_color_value_0_left_value)) >= (0)) && ((unsafeCast(value_color_value_0_left_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_color_value_0_left_value_0 = unsafeCast(value_color_value_0_left_value) - valueSerializer.writeInt32(value_color_value_0_left_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_color_value_0_left_value_type) { - valueSerializer.writeInt8(1) - const value_color_value_0_left_value_1 = unsafeCast(value_color_value_0_left_value) - valueSerializer.writeNumber(value_color_value_0_left_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_left_value_type) { - valueSerializer.writeInt8(2) - const value_color_value_0_left_value_2 = unsafeCast(value_color_value_0_left_value) - valueSerializer.writeString(value_color_value_0_left_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_left_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_0_left_value_3 = unsafeCast(value_color_value_0_left_value) - valueSerializer.writeResource(value_color_value_0_left_value_3) - } - } + valueSerializer.writeEdgeColors(value_color_value_0) } else if ((((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) || (RuntimeType.NUMBER == value_color_value_type) || (RuntimeType.STRING == value_color_value_type) || (RuntimeType.OBJECT == value_color_value_type)) { valueSerializer.writeInt8(1) @@ -20360,102 +21317,7 @@ export class Serializer extends SerializerBase { if (((RuntimeType.OBJECT) == (value_radius_value_type)) && (((value_radius_value!.hasOwnProperty("topLeft")) || (value_radius_value!.hasOwnProperty("topRight")) || (value_radius_value!.hasOwnProperty("bottomLeft")) || (value_radius_value!.hasOwnProperty("bottomRight"))))) { valueSerializer.writeInt8(0) const value_radius_value_0 = unsafeCast(value_radius_value) - const value_radius_value_0_topLeft = value_radius_value_0.topLeft - let value_radius_value_0_topLeft_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_topLeft_type = runtimeType(value_radius_value_0_topLeft) - valueSerializer.writeInt8(value_radius_value_0_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_topLeft_type)) { - const value_radius_value_0_topLeft_value = value_radius_value_0_topLeft! - let value_radius_value_0_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_topLeft_value_type = runtimeType(value_radius_value_0_topLeft_value) - if (RuntimeType.STRING == value_radius_value_0_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_radius_value_0_topLeft_value_0 = unsafeCast(value_radius_value_0_topLeft_value) - valueSerializer.writeString(value_radius_value_0_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_radius_value_0_topLeft_value_1 = unsafeCast(value_radius_value_0_topLeft_value) - valueSerializer.writeNumber(value_radius_value_0_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_radius_value_0_topLeft_value_2 = unsafeCast(value_radius_value_0_topLeft_value) - valueSerializer.writeResource(value_radius_value_0_topLeft_value_2) - } - } - const value_radius_value_0_topRight = value_radius_value_0.topRight - let value_radius_value_0_topRight_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_topRight_type = runtimeType(value_radius_value_0_topRight) - valueSerializer.writeInt8(value_radius_value_0_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_topRight_type)) { - const value_radius_value_0_topRight_value = value_radius_value_0_topRight! - let value_radius_value_0_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_topRight_value_type = runtimeType(value_radius_value_0_topRight_value) - if (RuntimeType.STRING == value_radius_value_0_topRight_value_type) { - valueSerializer.writeInt8(0) - const value_radius_value_0_topRight_value_0 = unsafeCast(value_radius_value_0_topRight_value) - valueSerializer.writeString(value_radius_value_0_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_topRight_value_type) { - valueSerializer.writeInt8(1) - const value_radius_value_0_topRight_value_1 = unsafeCast(value_radius_value_0_topRight_value) - valueSerializer.writeNumber(value_radius_value_0_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_topRight_value_type) { - valueSerializer.writeInt8(2) - const value_radius_value_0_topRight_value_2 = unsafeCast(value_radius_value_0_topRight_value) - valueSerializer.writeResource(value_radius_value_0_topRight_value_2) - } - } - const value_radius_value_0_bottomLeft = value_radius_value_0.bottomLeft - let value_radius_value_0_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomLeft_type = runtimeType(value_radius_value_0_bottomLeft) - valueSerializer.writeInt8(value_radius_value_0_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_bottomLeft_type)) { - const value_radius_value_0_bottomLeft_value = value_radius_value_0_bottomLeft! - let value_radius_value_0_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomLeft_value_type = runtimeType(value_radius_value_0_bottomLeft_value) - if (RuntimeType.STRING == value_radius_value_0_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_radius_value_0_bottomLeft_value_0 = unsafeCast(value_radius_value_0_bottomLeft_value) - valueSerializer.writeString(value_radius_value_0_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_radius_value_0_bottomLeft_value_1 = unsafeCast(value_radius_value_0_bottomLeft_value) - valueSerializer.writeNumber(value_radius_value_0_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_radius_value_0_bottomLeft_value_2 = unsafeCast(value_radius_value_0_bottomLeft_value) - valueSerializer.writeResource(value_radius_value_0_bottomLeft_value_2) - } - } - const value_radius_value_0_bottomRight = value_radius_value_0.bottomRight - let value_radius_value_0_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomRight_type = runtimeType(value_radius_value_0_bottomRight) - valueSerializer.writeInt8(value_radius_value_0_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_bottomRight_type)) { - const value_radius_value_0_bottomRight_value = value_radius_value_0_bottomRight! - let value_radius_value_0_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomRight_value_type = runtimeType(value_radius_value_0_bottomRight_value) - if (RuntimeType.STRING == value_radius_value_0_bottomRight_value_type) { - valueSerializer.writeInt8(0) - const value_radius_value_0_bottomRight_value_0 = unsafeCast(value_radius_value_0_bottomRight_value) - valueSerializer.writeString(value_radius_value_0_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_bottomRight_value_type) { - valueSerializer.writeInt8(1) - const value_radius_value_0_bottomRight_value_1 = unsafeCast(value_radius_value_0_bottomRight_value) - valueSerializer.writeNumber(value_radius_value_0_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_bottomRight_value_type) { - valueSerializer.writeInt8(2) - const value_radius_value_0_bottomRight_value_2 = unsafeCast(value_radius_value_0_bottomRight_value) - valueSerializer.writeResource(value_radius_value_0_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_radius_value_0) } else if ((RuntimeType.STRING == value_radius_value_type) || (RuntimeType.NUMBER == value_radius_value_type) || (RuntimeType.OBJECT == value_radius_value_type)) { valueSerializer.writeInt8(1) @@ -20514,102 +21376,7 @@ export class Serializer extends SerializerBase { if (((RuntimeType.OBJECT) == (value_dashGap_value_type)) && (((value_dashGap_value!.hasOwnProperty("right")) || (value_dashGap_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(0) const value_dashGap_value_0 = unsafeCast(value_dashGap_value) - const value_dashGap_value_0_top = value_dashGap_value_0.top - let value_dashGap_value_0_top_type: int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_top_type = runtimeType(value_dashGap_value_0_top) - valueSerializer.writeInt8(value_dashGap_value_0_top_type) - if ((RuntimeType.UNDEFINED) != (value_dashGap_value_0_top_type)) { - const value_dashGap_value_0_top_value = value_dashGap_value_0_top! - let value_dashGap_value_0_top_value_type: int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_top_value_type = runtimeType(value_dashGap_value_0_top_value) - if (RuntimeType.STRING == value_dashGap_value_0_top_value_type) { - valueSerializer.writeInt8(0) - const value_dashGap_value_0_top_value_0 = unsafeCast(value_dashGap_value_0_top_value) - valueSerializer.writeString(value_dashGap_value_0_top_value_0) - } - else if (RuntimeType.NUMBER == value_dashGap_value_0_top_value_type) { - valueSerializer.writeInt8(1) - const value_dashGap_value_0_top_value_1 = unsafeCast(value_dashGap_value_0_top_value) - valueSerializer.writeNumber(value_dashGap_value_0_top_value_1) - } - else if (RuntimeType.OBJECT == value_dashGap_value_0_top_value_type) { - valueSerializer.writeInt8(2) - const value_dashGap_value_0_top_value_2 = unsafeCast(value_dashGap_value_0_top_value) - valueSerializer.writeResource(value_dashGap_value_0_top_value_2) - } - } - const value_dashGap_value_0_right = value_dashGap_value_0.right - let value_dashGap_value_0_right_type: int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_right_type = runtimeType(value_dashGap_value_0_right) - valueSerializer.writeInt8(value_dashGap_value_0_right_type) - if ((RuntimeType.UNDEFINED) != (value_dashGap_value_0_right_type)) { - const value_dashGap_value_0_right_value = value_dashGap_value_0_right! - let value_dashGap_value_0_right_value_type: int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_right_value_type = runtimeType(value_dashGap_value_0_right_value) - if (RuntimeType.STRING == value_dashGap_value_0_right_value_type) { - valueSerializer.writeInt8(0) - const value_dashGap_value_0_right_value_0 = unsafeCast(value_dashGap_value_0_right_value) - valueSerializer.writeString(value_dashGap_value_0_right_value_0) - } - else if (RuntimeType.NUMBER == value_dashGap_value_0_right_value_type) { - valueSerializer.writeInt8(1) - const value_dashGap_value_0_right_value_1 = unsafeCast(value_dashGap_value_0_right_value) - valueSerializer.writeNumber(value_dashGap_value_0_right_value_1) - } - else if (RuntimeType.OBJECT == value_dashGap_value_0_right_value_type) { - valueSerializer.writeInt8(2) - const value_dashGap_value_0_right_value_2 = unsafeCast(value_dashGap_value_0_right_value) - valueSerializer.writeResource(value_dashGap_value_0_right_value_2) - } - } - const value_dashGap_value_0_bottom = value_dashGap_value_0.bottom - let value_dashGap_value_0_bottom_type: int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_bottom_type = runtimeType(value_dashGap_value_0_bottom) - valueSerializer.writeInt8(value_dashGap_value_0_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_dashGap_value_0_bottom_type)) { - const value_dashGap_value_0_bottom_value = value_dashGap_value_0_bottom! - let value_dashGap_value_0_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_bottom_value_type = runtimeType(value_dashGap_value_0_bottom_value) - if (RuntimeType.STRING == value_dashGap_value_0_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_dashGap_value_0_bottom_value_0 = unsafeCast(value_dashGap_value_0_bottom_value) - valueSerializer.writeString(value_dashGap_value_0_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_dashGap_value_0_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_dashGap_value_0_bottom_value_1 = unsafeCast(value_dashGap_value_0_bottom_value) - valueSerializer.writeNumber(value_dashGap_value_0_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_dashGap_value_0_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_dashGap_value_0_bottom_value_2 = unsafeCast(value_dashGap_value_0_bottom_value) - valueSerializer.writeResource(value_dashGap_value_0_bottom_value_2) - } - } - const value_dashGap_value_0_left = value_dashGap_value_0.left - let value_dashGap_value_0_left_type: int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_left_type = runtimeType(value_dashGap_value_0_left) - valueSerializer.writeInt8(value_dashGap_value_0_left_type) - if ((RuntimeType.UNDEFINED) != (value_dashGap_value_0_left_type)) { - const value_dashGap_value_0_left_value = value_dashGap_value_0_left! - let value_dashGap_value_0_left_value_type: int32 = RuntimeType.UNDEFINED - value_dashGap_value_0_left_value_type = runtimeType(value_dashGap_value_0_left_value) - if (RuntimeType.STRING == value_dashGap_value_0_left_value_type) { - valueSerializer.writeInt8(0) - const value_dashGap_value_0_left_value_0 = unsafeCast(value_dashGap_value_0_left_value) - valueSerializer.writeString(value_dashGap_value_0_left_value_0) - } - else if (RuntimeType.NUMBER == value_dashGap_value_0_left_value_type) { - valueSerializer.writeInt8(1) - const value_dashGap_value_0_left_value_1 = unsafeCast(value_dashGap_value_0_left_value) - valueSerializer.writeNumber(value_dashGap_value_0_left_value_1) - } - else if (RuntimeType.OBJECT == value_dashGap_value_0_left_value_type) { - valueSerializer.writeInt8(2) - const value_dashGap_value_0_left_value_2 = unsafeCast(value_dashGap_value_0_left_value) - valueSerializer.writeResource(value_dashGap_value_0_left_value_2) - } - } + valueSerializer.writeEdgeWidths(value_dashGap_value_0) } else if (((RuntimeType.OBJECT) == (value_dashGap_value_type)) && (value_dashGap_value instanceof LengthMetrics)) { valueSerializer.writeInt8(1) @@ -20633,102 +21400,7 @@ export class Serializer extends SerializerBase { if (((RuntimeType.OBJECT) == (value_dashWidth_value_type)) && (((value_dashWidth_value!.hasOwnProperty("right")) || (value_dashWidth_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(0) const value_dashWidth_value_0 = unsafeCast(value_dashWidth_value) - const value_dashWidth_value_0_top = value_dashWidth_value_0.top - let value_dashWidth_value_0_top_type: int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_top_type = runtimeType(value_dashWidth_value_0_top) - valueSerializer.writeInt8(value_dashWidth_value_0_top_type) - if ((RuntimeType.UNDEFINED) != (value_dashWidth_value_0_top_type)) { - const value_dashWidth_value_0_top_value = value_dashWidth_value_0_top! - let value_dashWidth_value_0_top_value_type: int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_top_value_type = runtimeType(value_dashWidth_value_0_top_value) - if (RuntimeType.STRING == value_dashWidth_value_0_top_value_type) { - valueSerializer.writeInt8(0) - const value_dashWidth_value_0_top_value_0 = unsafeCast(value_dashWidth_value_0_top_value) - valueSerializer.writeString(value_dashWidth_value_0_top_value_0) - } - else if (RuntimeType.NUMBER == value_dashWidth_value_0_top_value_type) { - valueSerializer.writeInt8(1) - const value_dashWidth_value_0_top_value_1 = unsafeCast(value_dashWidth_value_0_top_value) - valueSerializer.writeNumber(value_dashWidth_value_0_top_value_1) - } - else if (RuntimeType.OBJECT == value_dashWidth_value_0_top_value_type) { - valueSerializer.writeInt8(2) - const value_dashWidth_value_0_top_value_2 = unsafeCast(value_dashWidth_value_0_top_value) - valueSerializer.writeResource(value_dashWidth_value_0_top_value_2) - } - } - const value_dashWidth_value_0_right = value_dashWidth_value_0.right - let value_dashWidth_value_0_right_type: int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_right_type = runtimeType(value_dashWidth_value_0_right) - valueSerializer.writeInt8(value_dashWidth_value_0_right_type) - if ((RuntimeType.UNDEFINED) != (value_dashWidth_value_0_right_type)) { - const value_dashWidth_value_0_right_value = value_dashWidth_value_0_right! - let value_dashWidth_value_0_right_value_type: int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_right_value_type = runtimeType(value_dashWidth_value_0_right_value) - if (RuntimeType.STRING == value_dashWidth_value_0_right_value_type) { - valueSerializer.writeInt8(0) - const value_dashWidth_value_0_right_value_0 = unsafeCast(value_dashWidth_value_0_right_value) - valueSerializer.writeString(value_dashWidth_value_0_right_value_0) - } - else if (RuntimeType.NUMBER == value_dashWidth_value_0_right_value_type) { - valueSerializer.writeInt8(1) - const value_dashWidth_value_0_right_value_1 = unsafeCast(value_dashWidth_value_0_right_value) - valueSerializer.writeNumber(value_dashWidth_value_0_right_value_1) - } - else if (RuntimeType.OBJECT == value_dashWidth_value_0_right_value_type) { - valueSerializer.writeInt8(2) - const value_dashWidth_value_0_right_value_2 = unsafeCast(value_dashWidth_value_0_right_value) - valueSerializer.writeResource(value_dashWidth_value_0_right_value_2) - } - } - const value_dashWidth_value_0_bottom = value_dashWidth_value_0.bottom - let value_dashWidth_value_0_bottom_type: int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_bottom_type = runtimeType(value_dashWidth_value_0_bottom) - valueSerializer.writeInt8(value_dashWidth_value_0_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_dashWidth_value_0_bottom_type)) { - const value_dashWidth_value_0_bottom_value = value_dashWidth_value_0_bottom! - let value_dashWidth_value_0_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_bottom_value_type = runtimeType(value_dashWidth_value_0_bottom_value) - if (RuntimeType.STRING == value_dashWidth_value_0_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_dashWidth_value_0_bottom_value_0 = unsafeCast(value_dashWidth_value_0_bottom_value) - valueSerializer.writeString(value_dashWidth_value_0_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_dashWidth_value_0_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_dashWidth_value_0_bottom_value_1 = unsafeCast(value_dashWidth_value_0_bottom_value) - valueSerializer.writeNumber(value_dashWidth_value_0_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_dashWidth_value_0_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_dashWidth_value_0_bottom_value_2 = unsafeCast(value_dashWidth_value_0_bottom_value) - valueSerializer.writeResource(value_dashWidth_value_0_bottom_value_2) - } - } - const value_dashWidth_value_0_left = value_dashWidth_value_0.left - let value_dashWidth_value_0_left_type: int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_left_type = runtimeType(value_dashWidth_value_0_left) - valueSerializer.writeInt8(value_dashWidth_value_0_left_type) - if ((RuntimeType.UNDEFINED) != (value_dashWidth_value_0_left_type)) { - const value_dashWidth_value_0_left_value = value_dashWidth_value_0_left! - let value_dashWidth_value_0_left_value_type: int32 = RuntimeType.UNDEFINED - value_dashWidth_value_0_left_value_type = runtimeType(value_dashWidth_value_0_left_value) - if (RuntimeType.STRING == value_dashWidth_value_0_left_value_type) { - valueSerializer.writeInt8(0) - const value_dashWidth_value_0_left_value_0 = unsafeCast(value_dashWidth_value_0_left_value) - valueSerializer.writeString(value_dashWidth_value_0_left_value_0) - } - else if (RuntimeType.NUMBER == value_dashWidth_value_0_left_value_type) { - valueSerializer.writeInt8(1) - const value_dashWidth_value_0_left_value_1 = unsafeCast(value_dashWidth_value_0_left_value) - valueSerializer.writeNumber(value_dashWidth_value_0_left_value_1) - } - else if (RuntimeType.OBJECT == value_dashWidth_value_0_left_value_type) { - valueSerializer.writeInt8(2) - const value_dashWidth_value_0_left_value_2 = unsafeCast(value_dashWidth_value_0_left_value) - valueSerializer.writeResource(value_dashWidth_value_0_left_value_2) - } - } + valueSerializer.writeEdgeWidths(value_dashWidth_value_0) } else if (((RuntimeType.OBJECT) == (value_dashWidth_value_type)) && (value_dashWidth_value instanceof LengthMetrics)) { valueSerializer.writeInt8(1) @@ -20742,50 +21414,7 @@ export class Serializer extends SerializerBase { } } } - writeButtonStyle(value: ButtonStyle): void { - let valueSerializer: Serializer = this - const value_left = value.left - let value_left_type: int32 = RuntimeType.UNDEFINED - value_left_type = runtimeType(value_left) - valueSerializer.writeInt8(value_left_type) - if ((RuntimeType.UNDEFINED) != (value_left_type)) { - const value_left_value = value_left! - valueSerializer.writeNumber(value_left_value) - } - const value_top = value.top - let value_top_type: int32 = RuntimeType.UNDEFINED - value_top_type = runtimeType(value_top) - valueSerializer.writeInt8(value_top_type) - if ((RuntimeType.UNDEFINED) != (value_top_type)) { - const value_top_value = value_top! - valueSerializer.writeNumber(value_top_value) - } - const value_width = value.width - let value_width_type: int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - valueSerializer.writeNumber(value_width_value) - } - const value_height = value.height - let value_height_type: int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - valueSerializer.writeNumber(value_height_value) - } - const value_icons = value.icons - let value_icons_type: int32 = RuntimeType.UNDEFINED - value_icons_type = runtimeType(value_icons) - valueSerializer.writeInt8(value_icons_type) - if ((RuntimeType.UNDEFINED) != (value_icons_type)) { - const value_icons_value = value_icons! - valueSerializer.writeButtonIconOptions(value_icons_value) - } - } - writeCancelButtonOptions(value: CancelButtonOptions): void { + public writeCancelButtonOptions(value: CancelButtonOptions): void { let valueSerializer: Serializer = this const value_style = value.style let value_style_type: int32 = RuntimeType.UNDEFINED @@ -20804,7 +21433,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeIconOptions(value_icon_value) } } - writeCapsuleStyleOptions(value: CapsuleStyleOptions): void { + public writeCapsuleStyleOptions(value: CapsuleStyleOptions): void { let valueSerializer: Serializer = this const value_enableScanEffect = value.enableScanEffect let value_enableScanEffect_type: int32 = RuntimeType.UNDEFINED @@ -20920,8 +21549,16 @@ export class Serializer extends SerializerBase { const value_showDefaultPercentage_value = value_showDefaultPercentage! valueSerializer.writeBoolean(value_showDefaultPercentage_value) } + const value_borderRadius = value.borderRadius + let value_borderRadius_type: int32 = RuntimeType.UNDEFINED + value_borderRadius_type = runtimeType(value_borderRadius) + valueSerializer.writeInt8(value_borderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { + const value_borderRadius_value = value_borderRadius! + valueSerializer.writeLengthMetrics(value_borderRadius_value) + } } - writeContextMenuOptions(value: ContextMenuOptions): void { + public writeContextMenuOptions(value: ContextMenuOptions): void { let valueSerializer: Serializer = this const value_offset = value.offset let value_offset_type: int32 = RuntimeType.UNDEFINED @@ -20990,6 +21627,46 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_preview_value_1)) } } + const value_previewBorderRadius = value.previewBorderRadius + let value_previewBorderRadius_type: int32 = RuntimeType.UNDEFINED + value_previewBorderRadius_type = runtimeType(value_previewBorderRadius) + valueSerializer.writeInt8(value_previewBorderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_previewBorderRadius_type)) { + const value_previewBorderRadius_value = value_previewBorderRadius! + let value_previewBorderRadius_value_type: int32 = RuntimeType.UNDEFINED + value_previewBorderRadius_value_type = runtimeType(value_previewBorderRadius_value) + if ((RuntimeType.STRING == value_previewBorderRadius_value_type) || (RuntimeType.NUMBER == value_previewBorderRadius_value_type) || (RuntimeType.OBJECT == value_previewBorderRadius_value_type)) { + valueSerializer.writeInt8(0) + const value_previewBorderRadius_value_0 = unsafeCast(value_previewBorderRadius_value) + let value_previewBorderRadius_value_0_type: int32 = RuntimeType.UNDEFINED + value_previewBorderRadius_value_0_type = runtimeType(value_previewBorderRadius_value_0) + if (RuntimeType.STRING == value_previewBorderRadius_value_0_type) { + valueSerializer.writeInt8(0) + const value_previewBorderRadius_value_0_0 = unsafeCast(value_previewBorderRadius_value_0) + valueSerializer.writeString(value_previewBorderRadius_value_0_0) + } + else if (RuntimeType.NUMBER == value_previewBorderRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_previewBorderRadius_value_0_1 = unsafeCast(value_previewBorderRadius_value_0) + valueSerializer.writeNumber(value_previewBorderRadius_value_0_1) + } + else if (RuntimeType.OBJECT == value_previewBorderRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_previewBorderRadius_value_0_2 = unsafeCast(value_previewBorderRadius_value_0) + valueSerializer.writeResource(value_previewBorderRadius_value_0_2) + } + } + else if (((RuntimeType.OBJECT) == (value_previewBorderRadius_value_type)) && (((value_previewBorderRadius_value!.hasOwnProperty("topLeft")) || (value_previewBorderRadius_value!.hasOwnProperty("topRight")) || (value_previewBorderRadius_value!.hasOwnProperty("bottomLeft")) || (value_previewBorderRadius_value!.hasOwnProperty("bottomRight"))))) { + valueSerializer.writeInt8(1) + const value_previewBorderRadius_value_1 = unsafeCast(value_previewBorderRadius_value) + valueSerializer.writeBorderRadiuses(value_previewBorderRadius_value_1) + } + else if (((RuntimeType.OBJECT) == (value_previewBorderRadius_value_type)) && (((value_previewBorderRadius_value!.hasOwnProperty("topStart")) || (value_previewBorderRadius_value!.hasOwnProperty("topEnd")) || (value_previewBorderRadius_value!.hasOwnProperty("bottomStart")) || (value_previewBorderRadius_value!.hasOwnProperty("bottomEnd"))))) { + valueSerializer.writeInt8(2) + const value_previewBorderRadius_value_2 = unsafeCast(value_previewBorderRadius_value) + valueSerializer.writeLocalizedBorderRadiuses(value_previewBorderRadius_value_2) + } + } const value_borderRadius = value.borderRadius let value_borderRadius_type: int32 = RuntimeType.UNDEFINED value_borderRadius_type = runtimeType(value_borderRadius) @@ -21022,102 +21699,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (((value_borderRadius_value!.hasOwnProperty("topLeft")) || (value_borderRadius_value!.hasOwnProperty("topRight")) || (value_borderRadius_value!.hasOwnProperty("bottomLeft")) || (value_borderRadius_value!.hasOwnProperty("bottomRight"))))) { valueSerializer.writeInt8(1) const value_borderRadius_value_1 = unsafeCast(value_borderRadius_value) - const value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft - let value_borderRadius_value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft! - let value_borderRadius_value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_value_type = runtimeType(value_borderRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_topLeft_value_0 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_topLeft_value_1 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_topLeft_value_2 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2) - } - } - const value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight - let value_borderRadius_value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight) - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight! - let value_borderRadius_value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_value_type = runtimeType(value_borderRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_topRight_value_0 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_topRight_value_1 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_topRight_value_2 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2) - } - } - const value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft - let value_borderRadius_value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft! - let value_borderRadius_value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_value_type = runtimeType(value_borderRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_bottomLeft_value_0 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_bottomLeft_value_1 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_bottomLeft_value_2 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2) - } - } - const value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight - let value_borderRadius_value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight! - let value_borderRadius_value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_value_type = runtimeType(value_borderRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_bottomRight_value_0 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_bottomRight_value_1 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_bottomRight_value_2 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1) } else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (((value_borderRadius_value!.hasOwnProperty("topStart")) || (value_borderRadius_value!.hasOwnProperty("topEnd")) || (value_borderRadius_value!.hasOwnProperty("bottomStart")) || (value_borderRadius_value!.hasOwnProperty("bottomEnd"))))) { valueSerializer.writeInt8(2) @@ -21150,115 +21732,20 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_aboutToAppear_value) } const value_aboutToDisappear = value.aboutToDisappear - let value_aboutToDisappear_type: int32 = RuntimeType.UNDEFINED - value_aboutToDisappear_type = runtimeType(value_aboutToDisappear) - valueSerializer.writeInt8(value_aboutToDisappear_type) - if ((RuntimeType.UNDEFINED) != (value_aboutToDisappear_type)) { - const value_aboutToDisappear_value = value_aboutToDisappear! - valueSerializer.holdAndWriteCallback(value_aboutToDisappear_value) - } - const value_layoutRegionMargin = value.layoutRegionMargin - let value_layoutRegionMargin_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_type = runtimeType(value_layoutRegionMargin) - valueSerializer.writeInt8(value_layoutRegionMargin_type) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_type)) { - const value_layoutRegionMargin_value = value_layoutRegionMargin! - const value_layoutRegionMargin_value_top = value_layoutRegionMargin_value.top - let value_layoutRegionMargin_value_top_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_top_type = runtimeType(value_layoutRegionMargin_value_top) - valueSerializer.writeInt8(value_layoutRegionMargin_value_top_type) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_top_type)) { - const value_layoutRegionMargin_value_top_value = value_layoutRegionMargin_value_top! - let value_layoutRegionMargin_value_top_value_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_top_value_type = runtimeType(value_layoutRegionMargin_value_top_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_top_value_type) { - valueSerializer.writeInt8(0) - const value_layoutRegionMargin_value_top_value_0 = unsafeCast(value_layoutRegionMargin_value_top_value) - valueSerializer.writeString(value_layoutRegionMargin_value_top_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_top_value_type) { - valueSerializer.writeInt8(1) - const value_layoutRegionMargin_value_top_value_1 = unsafeCast(value_layoutRegionMargin_value_top_value) - valueSerializer.writeNumber(value_layoutRegionMargin_value_top_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_top_value_type) { - valueSerializer.writeInt8(2) - const value_layoutRegionMargin_value_top_value_2 = unsafeCast(value_layoutRegionMargin_value_top_value) - valueSerializer.writeResource(value_layoutRegionMargin_value_top_value_2) - } - } - const value_layoutRegionMargin_value_right = value_layoutRegionMargin_value.right - let value_layoutRegionMargin_value_right_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_right_type = runtimeType(value_layoutRegionMargin_value_right) - valueSerializer.writeInt8(value_layoutRegionMargin_value_right_type) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_right_type)) { - const value_layoutRegionMargin_value_right_value = value_layoutRegionMargin_value_right! - let value_layoutRegionMargin_value_right_value_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_right_value_type = runtimeType(value_layoutRegionMargin_value_right_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_right_value_type) { - valueSerializer.writeInt8(0) - const value_layoutRegionMargin_value_right_value_0 = unsafeCast(value_layoutRegionMargin_value_right_value) - valueSerializer.writeString(value_layoutRegionMargin_value_right_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_right_value_type) { - valueSerializer.writeInt8(1) - const value_layoutRegionMargin_value_right_value_1 = unsafeCast(value_layoutRegionMargin_value_right_value) - valueSerializer.writeNumber(value_layoutRegionMargin_value_right_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_right_value_type) { - valueSerializer.writeInt8(2) - const value_layoutRegionMargin_value_right_value_2 = unsafeCast(value_layoutRegionMargin_value_right_value) - valueSerializer.writeResource(value_layoutRegionMargin_value_right_value_2) - } - } - const value_layoutRegionMargin_value_bottom = value_layoutRegionMargin_value.bottom - let value_layoutRegionMargin_value_bottom_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_bottom_type = runtimeType(value_layoutRegionMargin_value_bottom) - valueSerializer.writeInt8(value_layoutRegionMargin_value_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_bottom_type)) { - const value_layoutRegionMargin_value_bottom_value = value_layoutRegionMargin_value_bottom! - let value_layoutRegionMargin_value_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_bottom_value_type = runtimeType(value_layoutRegionMargin_value_bottom_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_layoutRegionMargin_value_bottom_value_0 = unsafeCast(value_layoutRegionMargin_value_bottom_value) - valueSerializer.writeString(value_layoutRegionMargin_value_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_layoutRegionMargin_value_bottom_value_1 = unsafeCast(value_layoutRegionMargin_value_bottom_value) - valueSerializer.writeNumber(value_layoutRegionMargin_value_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_layoutRegionMargin_value_bottom_value_2 = unsafeCast(value_layoutRegionMargin_value_bottom_value) - valueSerializer.writeResource(value_layoutRegionMargin_value_bottom_value_2) - } - } - const value_layoutRegionMargin_value_left = value_layoutRegionMargin_value.left - let value_layoutRegionMargin_value_left_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_left_type = runtimeType(value_layoutRegionMargin_value_left) - valueSerializer.writeInt8(value_layoutRegionMargin_value_left_type) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_left_type)) { - const value_layoutRegionMargin_value_left_value = value_layoutRegionMargin_value_left! - let value_layoutRegionMargin_value_left_value_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_left_value_type = runtimeType(value_layoutRegionMargin_value_left_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_left_value_type) { - valueSerializer.writeInt8(0) - const value_layoutRegionMargin_value_left_value_0 = unsafeCast(value_layoutRegionMargin_value_left_value) - valueSerializer.writeString(value_layoutRegionMargin_value_left_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_left_value_type) { - valueSerializer.writeInt8(1) - const value_layoutRegionMargin_value_left_value_1 = unsafeCast(value_layoutRegionMargin_value_left_value) - valueSerializer.writeNumber(value_layoutRegionMargin_value_left_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_left_value_type) { - valueSerializer.writeInt8(2) - const value_layoutRegionMargin_value_left_value_2 = unsafeCast(value_layoutRegionMargin_value_left_value) - valueSerializer.writeResource(value_layoutRegionMargin_value_left_value_2) - } - } + let value_aboutToDisappear_type: int32 = RuntimeType.UNDEFINED + value_aboutToDisappear_type = runtimeType(value_aboutToDisappear) + valueSerializer.writeInt8(value_aboutToDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_aboutToDisappear_type)) { + const value_aboutToDisappear_value = value_aboutToDisappear! + valueSerializer.holdAndWriteCallback(value_aboutToDisappear_value) + } + const value_layoutRegionMargin = value.layoutRegionMargin + let value_layoutRegionMargin_type: int32 = RuntimeType.UNDEFINED + value_layoutRegionMargin_type = runtimeType(value_layoutRegionMargin) + valueSerializer.writeInt8(value_layoutRegionMargin_type) + if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_type)) { + const value_layoutRegionMargin_value = value_layoutRegionMargin! + valueSerializer.writePadding(value_layoutRegionMargin_value) } const value_previewAnimationOptions = value.previewAnimationOptions let value_previewAnimationOptions_type: int32 = RuntimeType.UNDEFINED @@ -21305,6 +21792,22 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle_value = value_backgroundBlurStyle! valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_transition = value.transition let value_transition_type: int32 = RuntimeType.UNDEFINED value_transition_type = runtimeType(value_transition) @@ -21321,8 +21824,91 @@ export class Serializer extends SerializerBase { const value_enableHoverMode_value = value_enableHoverMode! valueSerializer.writeBoolean(value_enableHoverMode_value) } + const value_outlineColor = value.outlineColor + let value_outlineColor_type: int32 = RuntimeType.UNDEFINED + value_outlineColor_type = runtimeType(value_outlineColor) + valueSerializer.writeInt8(value_outlineColor_type) + if ((RuntimeType.UNDEFINED) != (value_outlineColor_type)) { + const value_outlineColor_value = value_outlineColor! + let value_outlineColor_value_type: int32 = RuntimeType.UNDEFINED + value_outlineColor_value_type = runtimeType(value_outlineColor_value) + if ((((RuntimeType.NUMBER) == (value_outlineColor_value_type)) && ((unsafeCast(value_outlineColor_value)) >= (0)) && ((unsafeCast(value_outlineColor_value)) <= (11))) || (RuntimeType.NUMBER == value_outlineColor_value_type) || (RuntimeType.STRING == value_outlineColor_value_type) || (RuntimeType.OBJECT == value_outlineColor_value_type)) { + valueSerializer.writeInt8(0) + const value_outlineColor_value_0 = unsafeCast(value_outlineColor_value) + let value_outlineColor_value_0_type: int32 = RuntimeType.UNDEFINED + value_outlineColor_value_0_type = runtimeType(value_outlineColor_value_0) + if (((RuntimeType.NUMBER) == (value_outlineColor_value_0_type)) && ((unsafeCast(value_outlineColor_value_0)) >= (0)) && ((unsafeCast(value_outlineColor_value_0)) <= (11))) { + valueSerializer.writeInt8(0) + const value_outlineColor_value_0_0 = unsafeCast(value_outlineColor_value_0) + valueSerializer.writeInt32(value_outlineColor_value_0_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_outlineColor_value_0_type) { + valueSerializer.writeInt8(1) + const value_outlineColor_value_0_1 = unsafeCast(value_outlineColor_value_0) + valueSerializer.writeNumber(value_outlineColor_value_0_1) + } + else if (RuntimeType.STRING == value_outlineColor_value_0_type) { + valueSerializer.writeInt8(2) + const value_outlineColor_value_0_2 = unsafeCast(value_outlineColor_value_0) + valueSerializer.writeString(value_outlineColor_value_0_2) + } + else if (RuntimeType.OBJECT == value_outlineColor_value_0_type) { + valueSerializer.writeInt8(3) + const value_outlineColor_value_0_3 = unsafeCast(value_outlineColor_value_0) + valueSerializer.writeResource(value_outlineColor_value_0_3) + } + } + else if (((RuntimeType.OBJECT) == (value_outlineColor_value_type)) && (((value_outlineColor_value!.hasOwnProperty("top")) || (value_outlineColor_value!.hasOwnProperty("right")) || (value_outlineColor_value!.hasOwnProperty("bottom")) || (value_outlineColor_value!.hasOwnProperty("left"))))) { + valueSerializer.writeInt8(1) + const value_outlineColor_value_1 = unsafeCast(value_outlineColor_value) + valueSerializer.writeEdgeColors(value_outlineColor_value_1) + } + } + const value_outlineWidth = value.outlineWidth + let value_outlineWidth_type: int32 = RuntimeType.UNDEFINED + value_outlineWidth_type = runtimeType(value_outlineWidth) + valueSerializer.writeInt8(value_outlineWidth_type) + if ((RuntimeType.UNDEFINED) != (value_outlineWidth_type)) { + const value_outlineWidth_value = value_outlineWidth! + let value_outlineWidth_value_type: int32 = RuntimeType.UNDEFINED + value_outlineWidth_value_type = runtimeType(value_outlineWidth_value) + if ((RuntimeType.STRING == value_outlineWidth_value_type) || (RuntimeType.NUMBER == value_outlineWidth_value_type) || (RuntimeType.OBJECT == value_outlineWidth_value_type)) { + valueSerializer.writeInt8(0) + const value_outlineWidth_value_0 = unsafeCast(value_outlineWidth_value) + let value_outlineWidth_value_0_type: int32 = RuntimeType.UNDEFINED + value_outlineWidth_value_0_type = runtimeType(value_outlineWidth_value_0) + if (RuntimeType.STRING == value_outlineWidth_value_0_type) { + valueSerializer.writeInt8(0) + const value_outlineWidth_value_0_0 = unsafeCast(value_outlineWidth_value_0) + valueSerializer.writeString(value_outlineWidth_value_0_0) + } + else if (RuntimeType.NUMBER == value_outlineWidth_value_0_type) { + valueSerializer.writeInt8(1) + const value_outlineWidth_value_0_1 = unsafeCast(value_outlineWidth_value_0) + valueSerializer.writeNumber(value_outlineWidth_value_0_1) + } + else if (RuntimeType.OBJECT == value_outlineWidth_value_0_type) { + valueSerializer.writeInt8(2) + const value_outlineWidth_value_0_2 = unsafeCast(value_outlineWidth_value_0) + valueSerializer.writeResource(value_outlineWidth_value_0_2) + } + } + else if (((RuntimeType.OBJECT) == (value_outlineWidth_value_type)) && (((value_outlineWidth_value!.hasOwnProperty("top")) || (value_outlineWidth_value!.hasOwnProperty("right")) || (value_outlineWidth_value!.hasOwnProperty("bottom")) || (value_outlineWidth_value!.hasOwnProperty("left"))))) { + valueSerializer.writeInt8(1) + const value_outlineWidth_value_1 = unsafeCast(value_outlineWidth_value) + valueSerializer.writeEdgeOutlineWidths(value_outlineWidth_value_1) + } + } + const value_hapticFeedbackMode = value.hapticFeedbackMode + let value_hapticFeedbackMode_type: int32 = RuntimeType.UNDEFINED + value_hapticFeedbackMode_type = runtimeType(value_hapticFeedbackMode) + valueSerializer.writeInt8(value_hapticFeedbackMode_type) + if ((RuntimeType.UNDEFINED) != (value_hapticFeedbackMode_type)) { + const value_hapticFeedbackMode_value = value_hapticFeedbackMode! + valueSerializer.writeInt32(value_hapticFeedbackMode_value.valueOf()) + } } - writeCustomDialogControllerOptions(value: CustomDialogControllerOptions): void { + public writeCustomDialogControllerOptions(value: CustomDialogControllerOptions): void { let valueSerializer: Serializer = this const value_builder = value.builder valueSerializer.writeCustomDialogControllerBuilder(value_builder) @@ -21356,42 +21942,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dx_0 = unsafeCast(value_offset_value_dx) - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dx_1 = unsafeCast(value_offset_value_dx) - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dx_2 = unsafeCast(value_offset_value_dx) - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dy_0 = unsafeCast(value_offset_value_dy) - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dy_1 = unsafeCast(value_offset_value_dy) - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dy_2 = unsafeCast(value_offset_value_dy) - valueSerializer.writeResource(value_offset_value_dy_2) - } + valueSerializer.writeOffset(value_offset_value) } const value_customStyle = value.customStyle let value_customStyle_type: int32 = RuntimeType.UNDEFINED @@ -21531,102 +22082,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_cornerRadius_value_type)) && (((value_cornerRadius_value!.hasOwnProperty("topLeft")) || (value_cornerRadius_value!.hasOwnProperty("topRight")) || (value_cornerRadius_value!.hasOwnProperty("bottomLeft")) || (value_cornerRadius_value!.hasOwnProperty("bottomRight"))))) { valueSerializer.writeInt8(1) const value_cornerRadius_value_1 = unsafeCast(value_cornerRadius_value) - const value_cornerRadius_value_1_topLeft = value_cornerRadius_value_1.topLeft - let value_cornerRadius_value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_type = runtimeType(value_cornerRadius_value_1_topLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topLeft_type)) { - const value_cornerRadius_value_1_topLeft_value = value_cornerRadius_value_1_topLeft! - let value_cornerRadius_value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topLeft_value_type = runtimeType(value_cornerRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_topLeft_value_0 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeString(value_cornerRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_topLeft_value_1 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_topLeft_value_2 = unsafeCast(value_cornerRadius_value_1_topLeft_value) - valueSerializer.writeResource(value_cornerRadius_value_1_topLeft_value_2) - } - } - const value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight - let value_cornerRadius_value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_type = runtimeType(value_cornerRadius_value_1_topRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_topRight_type)) { - const value_cornerRadius_value_1_topRight_value = value_cornerRadius_value_1_topRight! - let value_cornerRadius_value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_topRight_value_type = runtimeType(value_cornerRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_topRight_value_0 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeString(value_cornerRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_topRight_value_1 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_topRight_value_2 = unsafeCast(value_cornerRadius_value_1_topRight_value) - valueSerializer.writeResource(value_cornerRadius_value_1_topRight_value_2) - } - } - const value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft - let value_cornerRadius_value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_type = runtimeType(value_cornerRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomLeft_type)) { - const value_cornerRadius_value_1_bottomLeft_value = value_cornerRadius_value_1_bottomLeft! - let value_cornerRadius_value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomLeft_value_type = runtimeType(value_cornerRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_bottomLeft_value_0 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeString(value_cornerRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_bottomLeft_value_1 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_bottomLeft_value_2 = unsafeCast(value_cornerRadius_value_1_bottomLeft_value) - valueSerializer.writeResource(value_cornerRadius_value_1_bottomLeft_value_2) - } - } - const value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight - let value_cornerRadius_value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_type = runtimeType(value_cornerRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_cornerRadius_value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_cornerRadius_value_1_bottomRight_type)) { - const value_cornerRadius_value_1_bottomRight_value = value_cornerRadius_value_1_bottomRight! - let value_cornerRadius_value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_cornerRadius_value_1_bottomRight_value_type = runtimeType(value_cornerRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0) - const value_cornerRadius_value_1_bottomRight_value_0 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeString(value_cornerRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1) - const value_cornerRadius_value_1_bottomRight_value_1 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeNumber(value_cornerRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_cornerRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2) - const value_cornerRadius_value_1_bottomRight_value_2 = unsafeCast(value_cornerRadius_value_1_bottomRight_value) - valueSerializer.writeResource(value_cornerRadius_value_1_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_cornerRadius_value_1) } } const value_isModal = value.isModal @@ -21725,102 +22181,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("top")) || (value_borderWidth_value!.hasOwnProperty("right")) || (value_borderWidth_value!.hasOwnProperty("bottom")) || (value_borderWidth_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_borderWidth_value_1 = unsafeCast(value_borderWidth_value) - const value_borderWidth_value_1_top = value_borderWidth_value_1.top - let value_borderWidth_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top) - valueSerializer.writeInt8(value_borderWidth_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const value_borderWidth_value_1_top_value = value_borderWidth_value_1_top! - let value_borderWidth_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_value_type = runtimeType(value_borderWidth_value_1_top_value) - if (RuntimeType.STRING == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_top_value_0 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeString(value_borderWidth_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_top_value_1 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_top_value_2 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2) - } - } - const value_borderWidth_value_1_right = value_borderWidth_value_1.right - let value_borderWidth_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right) - valueSerializer.writeInt8(value_borderWidth_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const value_borderWidth_value_1_right_value = value_borderWidth_value_1_right! - let value_borderWidth_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_value_type = runtimeType(value_borderWidth_value_1_right_value) - if (RuntimeType.STRING == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_right_value_0 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeString(value_borderWidth_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_right_value_1 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_right_value_2 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2) - } - } - const value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom - let value_borderWidth_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom) - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom! - let value_borderWidth_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_value_type = runtimeType(value_borderWidth_value_1_bottom_value) - if (RuntimeType.STRING == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_bottom_value_0 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_bottom_value_1 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_bottom_value_2 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2) - } - } - const value_borderWidth_value_1_left = value_borderWidth_value_1.left - let value_borderWidth_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left) - valueSerializer.writeInt8(value_borderWidth_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const value_borderWidth_value_1_left_value = value_borderWidth_value_1_left! - let value_borderWidth_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_value_type = runtimeType(value_borderWidth_value_1_left_value) - if (RuntimeType.STRING == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_left_value_0 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeString(value_borderWidth_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_left_value_1 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_left_value_2 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2) - } - } + valueSerializer.writeEdgeWidths(value_borderWidth_value_1) } } const value_borderColor = value.borderColor @@ -21860,122 +22221,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("top")) || (value_borderColor_value!.hasOwnProperty("right")) || (value_borderColor_value!.hasOwnProperty("bottom")) || (value_borderColor_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_borderColor_value_1 = unsafeCast(value_borderColor_value) - const value_borderColor_value_1_top = value_borderColor_value_1.top - let value_borderColor_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top) - valueSerializer.writeInt8(value_borderColor_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_top_type)) { - const value_borderColor_value_1_top_value = value_borderColor_value_1_top! - let value_borderColor_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_value_type = runtimeType(value_borderColor_value_1_top_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_top_value_type)) && ((unsafeCast(value_borderColor_value_1_top_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_top_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_top_value_0 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeInt32(value_borderColor_value_1_top_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_top_value_1 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_top_value_2 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeString(value_borderColor_value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_top_value_3 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeResource(value_borderColor_value_1_top_value_3) - } - } - const value_borderColor_value_1_right = value_borderColor_value_1.right - let value_borderColor_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right) - valueSerializer.writeInt8(value_borderColor_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_right_type)) { - const value_borderColor_value_1_right_value = value_borderColor_value_1_right! - let value_borderColor_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_value_type = runtimeType(value_borderColor_value_1_right_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_right_value_type)) && ((unsafeCast(value_borderColor_value_1_right_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_right_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_right_value_0 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeInt32(value_borderColor_value_1_right_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_right_value_1 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_right_value_2 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeString(value_borderColor_value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_right_value_3 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeResource(value_borderColor_value_1_right_value_3) - } - } - const value_borderColor_value_1_bottom = value_borderColor_value_1.bottom - let value_borderColor_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom) - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom! - let value_borderColor_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_value_type = runtimeType(value_borderColor_value_1_bottom_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_bottom_value_type)) && ((unsafeCast(value_borderColor_value_1_bottom_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_bottom_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_bottom_value_0 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeInt32(value_borderColor_value_1_bottom_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_bottom_value_1 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_bottom_value_2 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_bottom_value_3 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3) - } - } - const value_borderColor_value_1_left = value_borderColor_value_1.left - let value_borderColor_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left) - valueSerializer.writeInt8(value_borderColor_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_left_type)) { - const value_borderColor_value_1_left_value = value_borderColor_value_1_left! - let value_borderColor_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_value_type = runtimeType(value_borderColor_value_1_left_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_left_value_type)) && ((unsafeCast(value_borderColor_value_1_left_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_left_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_left_value_0 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeInt32(value_borderColor_value_1_left_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_left_value_1 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_left_value_2 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeString(value_borderColor_value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_left_value_3 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeResource(value_borderColor_value_1_left_value_3) - } - } + valueSerializer.writeEdgeColors(value_borderColor_value_1) } } const value_borderStyle = value.borderStyle @@ -22024,6 +22270,22 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle_value = value_backgroundBlurStyle! valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_keyboardAvoidMode = value.keyboardAvoidMode let value_keyboardAvoidMode_type: int32 = RuntimeType.UNDEFINED value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode) @@ -22048,8 +22310,88 @@ export class Serializer extends SerializerBase { const value_hoverModeArea_value = value_hoverModeArea! valueSerializer.writeInt32(value_hoverModeArea_value.valueOf()) } + const value_onDidAppear = value.onDidAppear + let value_onDidAppear_type: int32 = RuntimeType.UNDEFINED + value_onDidAppear_type = runtimeType(value_onDidAppear) + valueSerializer.writeInt8(value_onDidAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidAppear_type)) { + const value_onDidAppear_value = value_onDidAppear! + valueSerializer.holdAndWriteCallback(value_onDidAppear_value) + } + const value_onDidDisappear = value.onDidDisappear + let value_onDidDisappear_type: int32 = RuntimeType.UNDEFINED + value_onDidDisappear_type = runtimeType(value_onDidDisappear) + valueSerializer.writeInt8(value_onDidDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDidDisappear_type)) { + const value_onDidDisappear_value = value_onDidDisappear! + valueSerializer.holdAndWriteCallback(value_onDidDisappear_value) + } + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type: int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) + } + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type: int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) + } + const value_keyboardAvoidDistance = value.keyboardAvoidDistance + let value_keyboardAvoidDistance_type: int32 = RuntimeType.UNDEFINED + value_keyboardAvoidDistance_type = runtimeType(value_keyboardAvoidDistance) + valueSerializer.writeInt8(value_keyboardAvoidDistance_type) + if ((RuntimeType.UNDEFINED) != (value_keyboardAvoidDistance_type)) { + const value_keyboardAvoidDistance_value = value_keyboardAvoidDistance! + valueSerializer.writeLengthMetrics(value_keyboardAvoidDistance_value) + } + const value_levelMode = value.levelMode + let value_levelMode_type: int32 = RuntimeType.UNDEFINED + value_levelMode_type = runtimeType(value_levelMode) + valueSerializer.writeInt8(value_levelMode_type) + if ((RuntimeType.UNDEFINED) != (value_levelMode_type)) { + const value_levelMode_value = value_levelMode! + valueSerializer.writeLevelMode(value_levelMode_value) + } + const value_levelUniqueId = value.levelUniqueId + let value_levelUniqueId_type: int32 = RuntimeType.UNDEFINED + value_levelUniqueId_type = runtimeType(value_levelUniqueId) + valueSerializer.writeInt8(value_levelUniqueId_type) + if ((RuntimeType.UNDEFINED) != (value_levelUniqueId_type)) { + const value_levelUniqueId_value = value_levelUniqueId! + valueSerializer.writeNumber(value_levelUniqueId_value) + } + const value_immersiveMode = value.immersiveMode + let value_immersiveMode_type: int32 = RuntimeType.UNDEFINED + value_immersiveMode_type = runtimeType(value_immersiveMode) + valueSerializer.writeInt8(value_immersiveMode_type) + if ((RuntimeType.UNDEFINED) != (value_immersiveMode_type)) { + const value_immersiveMode_value = value_immersiveMode! + valueSerializer.writeImmersiveMode(value_immersiveMode_value) + } + const value_levelOrder = value.levelOrder + let value_levelOrder_type: int32 = RuntimeType.UNDEFINED + value_levelOrder_type = runtimeType(value_levelOrder) + valueSerializer.writeInt8(value_levelOrder_type) + if ((RuntimeType.UNDEFINED) != (value_levelOrder_type)) { + const value_levelOrder_value = value_levelOrder! + valueSerializer.writeLevelOrder(value_levelOrder_value) + } + const value_focusable = value.focusable + let value_focusable_type: int32 = RuntimeType.UNDEFINED + value_focusable_type = runtimeType(value_focusable) + valueSerializer.writeInt8(value_focusable_type) + if ((RuntimeType.UNDEFINED) != (value_focusable_type)) { + const value_focusable_value = value_focusable! + valueSerializer.writeBoolean(value_focusable_value) + } } - writeCustomPopupOptions(value: CustomPopupOptions): void { + public writeCustomPopupOptions(value: CustomPopupOptions): void { let valueSerializer: Serializer = this const value_builder = value.builder valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_builder)) @@ -22430,19 +22772,16 @@ export class Serializer extends SerializerBase { const value_followTransformOfTarget_value = value_followTransformOfTarget! valueSerializer.writeBoolean(value_followTransformOfTarget_value) } - } - writeCustomTheme(value: CustomTheme): void { - let valueSerializer: Serializer = this - const value_colors = value.colors - let value_colors_type: int32 = RuntimeType.UNDEFINED - value_colors_type = runtimeType(value_colors) - valueSerializer.writeInt8(value_colors_type) - if ((RuntimeType.UNDEFINED) != (value_colors_type)) { - const value_colors_value = value_colors! - valueSerializer.writeCustomColors(value_colors_value) + const value_keyboardAvoidMode = value.keyboardAvoidMode + let value_keyboardAvoidMode_type: int32 = RuntimeType.UNDEFINED + value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode) + valueSerializer.writeInt8(value_keyboardAvoidMode_type) + if ((RuntimeType.UNDEFINED) != (value_keyboardAvoidMode_type)) { + const value_keyboardAvoidMode_value = value_keyboardAvoidMode! + valueSerializer.writeInt32(value_keyboardAvoidMode_value.valueOf()) } } - writeDigitIndicator(value: DigitIndicator): void { + public writeDigitIndicator(value: DigitIndicator): void { let valueSerializer: Serializer = this const value__left = value._left let value__left_type: int32 = RuntimeType.UNDEFINED @@ -22631,67 +22970,28 @@ export class Serializer extends SerializerBase { valueSerializer.writeFont(value__selectedDigitFont_value) } } - writeEventTarget(value: EventTarget): void { + public writeEventTarget(value: EventTarget): void { let valueSerializer: Serializer = this const value_area = value.area valueSerializer.writeArea(value_area) - } - writeFlexOptions(value: FlexOptions): void { - let valueSerializer: Serializer = this - const value_direction = value.direction - let value_direction_type: int32 = RuntimeType.UNDEFINED - value_direction_type = runtimeType(value_direction) - valueSerializer.writeInt8(value_direction_type) - if ((RuntimeType.UNDEFINED) != (value_direction_type)) { - const value_direction_value = value_direction! - valueSerializer.writeInt32(value_direction_value.valueOf()) - } - const value_wrap = value.wrap - let value_wrap_type: int32 = RuntimeType.UNDEFINED - value_wrap_type = runtimeType(value_wrap) - valueSerializer.writeInt8(value_wrap_type) - if ((RuntimeType.UNDEFINED) != (value_wrap_type)) { - const value_wrap_value = value_wrap! - valueSerializer.writeInt32(value_wrap_value.valueOf()) - } - const value_justifyContent = value.justifyContent - let value_justifyContent_type: int32 = RuntimeType.UNDEFINED - value_justifyContent_type = runtimeType(value_justifyContent) - valueSerializer.writeInt8(value_justifyContent_type) - if ((RuntimeType.UNDEFINED) != (value_justifyContent_type)) { - const value_justifyContent_value = value_justifyContent! - valueSerializer.writeInt32(value_justifyContent_value.valueOf()) - } - const value_alignItems = value.alignItems - let value_alignItems_type: int32 = RuntimeType.UNDEFINED - value_alignItems_type = runtimeType(value_alignItems) - valueSerializer.writeInt8(value_alignItems_type) - if ((RuntimeType.UNDEFINED) != (value_alignItems_type)) { - const value_alignItems_value = value_alignItems! - valueSerializer.writeInt32(value_alignItems_value.valueOf()) - } - const value_alignContent = value.alignContent - let value_alignContent_type: int32 = RuntimeType.UNDEFINED - value_alignContent_type = runtimeType(value_alignContent) - valueSerializer.writeInt8(value_alignContent_type) - if ((RuntimeType.UNDEFINED) != (value_alignContent_type)) { - const value_alignContent_value = value_alignContent! - valueSerializer.writeInt32(value_alignContent_value.valueOf()) - } - const value_space = value.space - let value_space_type: int32 = RuntimeType.UNDEFINED - value_space_type = runtimeType(value_space) - valueSerializer.writeInt8(value_space_type) - if ((RuntimeType.UNDEFINED) != (value_space_type)) { - const value_space_value = value_space! - valueSerializer.writeFlexSpaceOptions(value_space_value) + const value_id = value.id + let value_id_type: int32 = RuntimeType.UNDEFINED + value_id_type = runtimeType(value_id) + valueSerializer.writeInt8(value_id_type) + if ((RuntimeType.UNDEFINED) != (value_id_type)) { + const value_id_value = value_id! + valueSerializer.writeString(value_id_value) } } - writeGestureEvent(value: GestureEvent): void { + public writeFocusAxisEvent(value: FocusAxisEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeGutterOption(value: GutterOption): void { + public writeGestureEvent(value: GestureEvent): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeGutterOption(value: GutterOption): void { let valueSerializer: Serializer = this const value_x = value.x let value_x_type: int32 = RuntimeType.UNDEFINED @@ -22764,11 +23064,11 @@ export class Serializer extends SerializerBase { } } } - writeHoverEvent(value: HoverEvent): void { + public writeHoverEvent(value: HoverEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeImageAttachmentLayoutStyle(value: ImageAttachmentLayoutStyle): void { + public writeImageAttachmentLayoutStyle(value: ImageAttachmentLayoutStyle): void { let valueSerializer: Serializer = this const value_margin = value.margin let value_margin_type: int32 = RuntimeType.UNDEFINED @@ -22786,102 +23086,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_margin_value_type)) && (((value_margin_value!.hasOwnProperty("top")) || (value_margin_value!.hasOwnProperty("right")) || (value_margin_value!.hasOwnProperty("bottom")) || (value_margin_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) const value_margin_value_1 = unsafeCast(value_margin_value) - const value_margin_value_1_top = value_margin_value_1.top - let value_margin_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_top_type = runtimeType(value_margin_value_1_top) - valueSerializer.writeInt8(value_margin_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_top_type)) { - const value_margin_value_1_top_value = value_margin_value_1_top! - let value_margin_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_top_value_type = runtimeType(value_margin_value_1_top_value) - if (RuntimeType.STRING == value_margin_value_1_top_value_type) { - valueSerializer.writeInt8(0) - const value_margin_value_1_top_value_0 = unsafeCast(value_margin_value_1_top_value) - valueSerializer.writeString(value_margin_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_margin_value_1_top_value_1 = unsafeCast(value_margin_value_1_top_value) - valueSerializer.writeNumber(value_margin_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_margin_value_1_top_value_2 = unsafeCast(value_margin_value_1_top_value) - valueSerializer.writeResource(value_margin_value_1_top_value_2) - } - } - const value_margin_value_1_right = value_margin_value_1.right - let value_margin_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_right_type = runtimeType(value_margin_value_1_right) - valueSerializer.writeInt8(value_margin_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_right_type)) { - const value_margin_value_1_right_value = value_margin_value_1_right! - let value_margin_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_right_value_type = runtimeType(value_margin_value_1_right_value) - if (RuntimeType.STRING == value_margin_value_1_right_value_type) { - valueSerializer.writeInt8(0) - const value_margin_value_1_right_value_0 = unsafeCast(value_margin_value_1_right_value) - valueSerializer.writeString(value_margin_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_margin_value_1_right_value_1 = unsafeCast(value_margin_value_1_right_value) - valueSerializer.writeNumber(value_margin_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_margin_value_1_right_value_2 = unsafeCast(value_margin_value_1_right_value) - valueSerializer.writeResource(value_margin_value_1_right_value_2) - } - } - const value_margin_value_1_bottom = value_margin_value_1.bottom - let value_margin_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_bottom_type = runtimeType(value_margin_value_1_bottom) - valueSerializer.writeInt8(value_margin_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_bottom_type)) { - const value_margin_value_1_bottom_value = value_margin_value_1_bottom! - let value_margin_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_bottom_value_type = runtimeType(value_margin_value_1_bottom_value) - if (RuntimeType.STRING == value_margin_value_1_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_margin_value_1_bottom_value_0 = unsafeCast(value_margin_value_1_bottom_value) - valueSerializer.writeString(value_margin_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_margin_value_1_bottom_value_1 = unsafeCast(value_margin_value_1_bottom_value) - valueSerializer.writeNumber(value_margin_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_margin_value_1_bottom_value_2 = unsafeCast(value_margin_value_1_bottom_value) - valueSerializer.writeResource(value_margin_value_1_bottom_value_2) - } - } - const value_margin_value_1_left = value_margin_value_1.left - let value_margin_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_left_type = runtimeType(value_margin_value_1_left) - valueSerializer.writeInt8(value_margin_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_left_type)) { - const value_margin_value_1_left_value = value_margin_value_1_left! - let value_margin_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_left_value_type = runtimeType(value_margin_value_1_left_value) - if (RuntimeType.STRING == value_margin_value_1_left_value_type) { - valueSerializer.writeInt8(0) - const value_margin_value_1_left_value_0 = unsafeCast(value_margin_value_1_left_value) - valueSerializer.writeString(value_margin_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_margin_value_1_left_value_1 = unsafeCast(value_margin_value_1_left_value) - valueSerializer.writeNumber(value_margin_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_margin_value_1_left_value_2 = unsafeCast(value_margin_value_1_left_value) - valueSerializer.writeResource(value_margin_value_1_left_value_2) - } - } + valueSerializer.writePadding(value_margin_value_1) } } const value_padding = value.padding @@ -23014,106 +23219,11 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (((value_borderRadius_value!.hasOwnProperty("topLeft")) || (value_borderRadius_value!.hasOwnProperty("topRight")) || (value_borderRadius_value!.hasOwnProperty("bottomLeft")) || (value_borderRadius_value!.hasOwnProperty("bottomRight"))))) { valueSerializer.writeInt8(1) const value_borderRadius_value_1 = unsafeCast(value_borderRadius_value) - const value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft - let value_borderRadius_value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft! - let value_borderRadius_value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_value_type = runtimeType(value_borderRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_topLeft_value_0 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_topLeft_value_1 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_topLeft_value_2 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2) - } - } - const value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight - let value_borderRadius_value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight) - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight! - let value_borderRadius_value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_value_type = runtimeType(value_borderRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_topRight_value_0 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_topRight_value_1 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_topRight_value_2 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2) - } - } - const value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft - let value_borderRadius_value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft! - let value_borderRadius_value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_value_type = runtimeType(value_borderRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_bottomLeft_value_0 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_bottomLeft_value_1 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_bottomLeft_value_2 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2) - } - } - const value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight - let value_borderRadius_value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight! - let value_borderRadius_value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_value_type = runtimeType(value_borderRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_bottomRight_value_0 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_bottomRight_value_1 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_bottomRight_value_2 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1) } } } - writeLabelStyle(value: LabelStyle): void { + public writeLabelStyle(value: LabelStyle): void { let valueSerializer: Serializer = this const value_overflow = value.overflow let value_overflow_type: int32 = RuntimeType.UNDEFINED @@ -23266,53 +23376,11 @@ export class Serializer extends SerializerBase { } } } - writeLeadingMarginPlaceholder(value: LeadingMarginPlaceholder): void { - let valueSerializer: Serializer = this - const value_pixelMap = value.pixelMap - valueSerializer.writePixelMap(value_pixelMap) - const value_size = value.size - const value_size_0 = value_size[0] - let value_size_0_type: int32 = RuntimeType.UNDEFINED - value_size_0_type = runtimeType(value_size_0) - if (RuntimeType.STRING == value_size_0_type) { - valueSerializer.writeInt8(0) - const value_size_0_0 = unsafeCast(value_size_0) - valueSerializer.writeString(value_size_0_0) - } - else if (RuntimeType.NUMBER == value_size_0_type) { - valueSerializer.writeInt8(1) - const value_size_0_1 = unsafeCast(value_size_0) - valueSerializer.writeNumber(value_size_0_1) - } - else if (RuntimeType.OBJECT == value_size_0_type) { - valueSerializer.writeInt8(2) - const value_size_0_2 = unsafeCast(value_size_0) - valueSerializer.writeResource(value_size_0_2) - } - const value_size_1 = value_size[1] - let value_size_1_type: int32 = RuntimeType.UNDEFINED - value_size_1_type = runtimeType(value_size_1) - if (RuntimeType.STRING == value_size_1_type) { - valueSerializer.writeInt8(0) - const value_size_1_0 = unsafeCast(value_size_1) - valueSerializer.writeString(value_size_1_0) - } - else if (RuntimeType.NUMBER == value_size_1_type) { - valueSerializer.writeInt8(1) - const value_size_1_1 = unsafeCast(value_size_1) - valueSerializer.writeNumber(value_size_1_1) - } - else if (RuntimeType.OBJECT == value_size_1_type) { - valueSerializer.writeInt8(2) - const value_size_1_2 = unsafeCast(value_size_1) - valueSerializer.writeResource(value_size_1_2) - } - } - writeLongPressGestureEvent(value: LongPressGestureEvent): void { + public writeLongPressGestureEvent(value: LongPressGestureEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeMenuOptions(value: MenuOptions): void { + public writeMenuOptions(value: MenuOptions): void { let valueSerializer: Serializer = this const value_offset = value.offset let value_offset_type: int32 = RuntimeType.UNDEFINED @@ -23381,6 +23449,46 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_preview_value_1)) } } + const value_previewBorderRadius = value.previewBorderRadius + let value_previewBorderRadius_type: int32 = RuntimeType.UNDEFINED + value_previewBorderRadius_type = runtimeType(value_previewBorderRadius) + valueSerializer.writeInt8(value_previewBorderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_previewBorderRadius_type)) { + const value_previewBorderRadius_value = value_previewBorderRadius! + let value_previewBorderRadius_value_type: int32 = RuntimeType.UNDEFINED + value_previewBorderRadius_value_type = runtimeType(value_previewBorderRadius_value) + if ((RuntimeType.STRING == value_previewBorderRadius_value_type) || (RuntimeType.NUMBER == value_previewBorderRadius_value_type) || (RuntimeType.OBJECT == value_previewBorderRadius_value_type)) { + valueSerializer.writeInt8(0) + const value_previewBorderRadius_value_0 = unsafeCast(value_previewBorderRadius_value) + let value_previewBorderRadius_value_0_type: int32 = RuntimeType.UNDEFINED + value_previewBorderRadius_value_0_type = runtimeType(value_previewBorderRadius_value_0) + if (RuntimeType.STRING == value_previewBorderRadius_value_0_type) { + valueSerializer.writeInt8(0) + const value_previewBorderRadius_value_0_0 = unsafeCast(value_previewBorderRadius_value_0) + valueSerializer.writeString(value_previewBorderRadius_value_0_0) + } + else if (RuntimeType.NUMBER == value_previewBorderRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_previewBorderRadius_value_0_1 = unsafeCast(value_previewBorderRadius_value_0) + valueSerializer.writeNumber(value_previewBorderRadius_value_0_1) + } + else if (RuntimeType.OBJECT == value_previewBorderRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_previewBorderRadius_value_0_2 = unsafeCast(value_previewBorderRadius_value_0) + valueSerializer.writeResource(value_previewBorderRadius_value_0_2) + } + } + else if (((RuntimeType.OBJECT) == (value_previewBorderRadius_value_type)) && (((value_previewBorderRadius_value!.hasOwnProperty("topLeft")) || (value_previewBorderRadius_value!.hasOwnProperty("topRight")) || (value_previewBorderRadius_value!.hasOwnProperty("bottomLeft")) || (value_previewBorderRadius_value!.hasOwnProperty("bottomRight"))))) { + valueSerializer.writeInt8(1) + const value_previewBorderRadius_value_1 = unsafeCast(value_previewBorderRadius_value) + valueSerializer.writeBorderRadiuses(value_previewBorderRadius_value_1) + } + else if (((RuntimeType.OBJECT) == (value_previewBorderRadius_value_type)) && (((value_previewBorderRadius_value!.hasOwnProperty("topStart")) || (value_previewBorderRadius_value!.hasOwnProperty("topEnd")) || (value_previewBorderRadius_value!.hasOwnProperty("bottomStart")) || (value_previewBorderRadius_value!.hasOwnProperty("bottomEnd"))))) { + valueSerializer.writeInt8(2) + const value_previewBorderRadius_value_2 = unsafeCast(value_previewBorderRadius_value) + valueSerializer.writeLocalizedBorderRadiuses(value_previewBorderRadius_value_2) + } + } const value_borderRadius = value.borderRadius let value_borderRadius_type: int32 = RuntimeType.UNDEFINED value_borderRadius_type = runtimeType(value_borderRadius) @@ -23413,102 +23521,7 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (((value_borderRadius_value!.hasOwnProperty("topLeft")) || (value_borderRadius_value!.hasOwnProperty("topRight")) || (value_borderRadius_value!.hasOwnProperty("bottomLeft")) || (value_borderRadius_value!.hasOwnProperty("bottomRight"))))) { valueSerializer.writeInt8(1) const value_borderRadius_value_1 = unsafeCast(value_borderRadius_value) - const value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft - let value_borderRadius_value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft! - let value_borderRadius_value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_value_type = runtimeType(value_borderRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_topLeft_value_0 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_topLeft_value_1 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_topLeft_value_2 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2) - } - } - const value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight - let value_borderRadius_value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight) - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight! - let value_borderRadius_value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_value_type = runtimeType(value_borderRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_topRight_value_0 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_topRight_value_1 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_topRight_value_2 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2) - } - } - const value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft - let value_borderRadius_value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft! - let value_borderRadius_value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_value_type = runtimeType(value_borderRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_bottomLeft_value_0 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_bottomLeft_value_1 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_bottomLeft_value_2 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2) - } - } - const value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight - let value_borderRadius_value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight! - let value_borderRadius_value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_value_type = runtimeType(value_borderRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_bottomRight_value_0 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_bottomRight_value_1 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_bottomRight_value_2 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1) } else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (((value_borderRadius_value!.hasOwnProperty("topStart")) || (value_borderRadius_value!.hasOwnProperty("topEnd")) || (value_borderRadius_value!.hasOwnProperty("bottomStart")) || (value_borderRadius_value!.hasOwnProperty("bottomEnd"))))) { valueSerializer.writeInt8(2) @@ -23554,102 +23567,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt8(value_layoutRegionMargin_type) if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_type)) { const value_layoutRegionMargin_value = value_layoutRegionMargin! - const value_layoutRegionMargin_value_top = value_layoutRegionMargin_value.top - let value_layoutRegionMargin_value_top_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_top_type = runtimeType(value_layoutRegionMargin_value_top) - valueSerializer.writeInt8(value_layoutRegionMargin_value_top_type) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_top_type)) { - const value_layoutRegionMargin_value_top_value = value_layoutRegionMargin_value_top! - let value_layoutRegionMargin_value_top_value_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_top_value_type = runtimeType(value_layoutRegionMargin_value_top_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_top_value_type) { - valueSerializer.writeInt8(0) - const value_layoutRegionMargin_value_top_value_0 = unsafeCast(value_layoutRegionMargin_value_top_value) - valueSerializer.writeString(value_layoutRegionMargin_value_top_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_top_value_type) { - valueSerializer.writeInt8(1) - const value_layoutRegionMargin_value_top_value_1 = unsafeCast(value_layoutRegionMargin_value_top_value) - valueSerializer.writeNumber(value_layoutRegionMargin_value_top_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_top_value_type) { - valueSerializer.writeInt8(2) - const value_layoutRegionMargin_value_top_value_2 = unsafeCast(value_layoutRegionMargin_value_top_value) - valueSerializer.writeResource(value_layoutRegionMargin_value_top_value_2) - } - } - const value_layoutRegionMargin_value_right = value_layoutRegionMargin_value.right - let value_layoutRegionMargin_value_right_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_right_type = runtimeType(value_layoutRegionMargin_value_right) - valueSerializer.writeInt8(value_layoutRegionMargin_value_right_type) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_right_type)) { - const value_layoutRegionMargin_value_right_value = value_layoutRegionMargin_value_right! - let value_layoutRegionMargin_value_right_value_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_right_value_type = runtimeType(value_layoutRegionMargin_value_right_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_right_value_type) { - valueSerializer.writeInt8(0) - const value_layoutRegionMargin_value_right_value_0 = unsafeCast(value_layoutRegionMargin_value_right_value) - valueSerializer.writeString(value_layoutRegionMargin_value_right_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_right_value_type) { - valueSerializer.writeInt8(1) - const value_layoutRegionMargin_value_right_value_1 = unsafeCast(value_layoutRegionMargin_value_right_value) - valueSerializer.writeNumber(value_layoutRegionMargin_value_right_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_right_value_type) { - valueSerializer.writeInt8(2) - const value_layoutRegionMargin_value_right_value_2 = unsafeCast(value_layoutRegionMargin_value_right_value) - valueSerializer.writeResource(value_layoutRegionMargin_value_right_value_2) - } - } - const value_layoutRegionMargin_value_bottom = value_layoutRegionMargin_value.bottom - let value_layoutRegionMargin_value_bottom_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_bottom_type = runtimeType(value_layoutRegionMargin_value_bottom) - valueSerializer.writeInt8(value_layoutRegionMargin_value_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_bottom_type)) { - const value_layoutRegionMargin_value_bottom_value = value_layoutRegionMargin_value_bottom! - let value_layoutRegionMargin_value_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_bottom_value_type = runtimeType(value_layoutRegionMargin_value_bottom_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_layoutRegionMargin_value_bottom_value_0 = unsafeCast(value_layoutRegionMargin_value_bottom_value) - valueSerializer.writeString(value_layoutRegionMargin_value_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_layoutRegionMargin_value_bottom_value_1 = unsafeCast(value_layoutRegionMargin_value_bottom_value) - valueSerializer.writeNumber(value_layoutRegionMargin_value_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_layoutRegionMargin_value_bottom_value_2 = unsafeCast(value_layoutRegionMargin_value_bottom_value) - valueSerializer.writeResource(value_layoutRegionMargin_value_bottom_value_2) - } - } - const value_layoutRegionMargin_value_left = value_layoutRegionMargin_value.left - let value_layoutRegionMargin_value_left_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_left_type = runtimeType(value_layoutRegionMargin_value_left) - valueSerializer.writeInt8(value_layoutRegionMargin_value_left_type) - if ((RuntimeType.UNDEFINED) != (value_layoutRegionMargin_value_left_type)) { - const value_layoutRegionMargin_value_left_value = value_layoutRegionMargin_value_left! - let value_layoutRegionMargin_value_left_value_type: int32 = RuntimeType.UNDEFINED - value_layoutRegionMargin_value_left_value_type = runtimeType(value_layoutRegionMargin_value_left_value) - if (RuntimeType.STRING == value_layoutRegionMargin_value_left_value_type) { - valueSerializer.writeInt8(0) - const value_layoutRegionMargin_value_left_value_0 = unsafeCast(value_layoutRegionMargin_value_left_value) - valueSerializer.writeString(value_layoutRegionMargin_value_left_value_0) - } - else if (RuntimeType.NUMBER == value_layoutRegionMargin_value_left_value_type) { - valueSerializer.writeInt8(1) - const value_layoutRegionMargin_value_left_value_1 = unsafeCast(value_layoutRegionMargin_value_left_value) - valueSerializer.writeNumber(value_layoutRegionMargin_value_left_value_1) - } - else if (RuntimeType.OBJECT == value_layoutRegionMargin_value_left_value_type) { - valueSerializer.writeInt8(2) - const value_layoutRegionMargin_value_left_value_2 = unsafeCast(value_layoutRegionMargin_value_left_value) - valueSerializer.writeResource(value_layoutRegionMargin_value_left_value_2) - } - } + valueSerializer.writePadding(value_layoutRegionMargin_value) } const value_previewAnimationOptions = value.previewAnimationOptions let value_previewAnimationOptions_type: int32 = RuntimeType.UNDEFINED @@ -23696,6 +23614,22 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle_value = value_backgroundBlurStyle! valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_transition = value.transition let value_transition_type: int32 = RuntimeType.UNDEFINED value_transition_type = runtimeType(value_transition) @@ -23712,6 +23646,89 @@ export class Serializer extends SerializerBase { const value_enableHoverMode_value = value_enableHoverMode! valueSerializer.writeBoolean(value_enableHoverMode_value) } + const value_outlineColor = value.outlineColor + let value_outlineColor_type: int32 = RuntimeType.UNDEFINED + value_outlineColor_type = runtimeType(value_outlineColor) + valueSerializer.writeInt8(value_outlineColor_type) + if ((RuntimeType.UNDEFINED) != (value_outlineColor_type)) { + const value_outlineColor_value = value_outlineColor! + let value_outlineColor_value_type: int32 = RuntimeType.UNDEFINED + value_outlineColor_value_type = runtimeType(value_outlineColor_value) + if ((((RuntimeType.NUMBER) == (value_outlineColor_value_type)) && ((unsafeCast(value_outlineColor_value)) >= (0)) && ((unsafeCast(value_outlineColor_value)) <= (11))) || (RuntimeType.NUMBER == value_outlineColor_value_type) || (RuntimeType.STRING == value_outlineColor_value_type) || (RuntimeType.OBJECT == value_outlineColor_value_type)) { + valueSerializer.writeInt8(0) + const value_outlineColor_value_0 = unsafeCast(value_outlineColor_value) + let value_outlineColor_value_0_type: int32 = RuntimeType.UNDEFINED + value_outlineColor_value_0_type = runtimeType(value_outlineColor_value_0) + if (((RuntimeType.NUMBER) == (value_outlineColor_value_0_type)) && ((unsafeCast(value_outlineColor_value_0)) >= (0)) && ((unsafeCast(value_outlineColor_value_0)) <= (11))) { + valueSerializer.writeInt8(0) + const value_outlineColor_value_0_0 = unsafeCast(value_outlineColor_value_0) + valueSerializer.writeInt32(value_outlineColor_value_0_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_outlineColor_value_0_type) { + valueSerializer.writeInt8(1) + const value_outlineColor_value_0_1 = unsafeCast(value_outlineColor_value_0) + valueSerializer.writeNumber(value_outlineColor_value_0_1) + } + else if (RuntimeType.STRING == value_outlineColor_value_0_type) { + valueSerializer.writeInt8(2) + const value_outlineColor_value_0_2 = unsafeCast(value_outlineColor_value_0) + valueSerializer.writeString(value_outlineColor_value_0_2) + } + else if (RuntimeType.OBJECT == value_outlineColor_value_0_type) { + valueSerializer.writeInt8(3) + const value_outlineColor_value_0_3 = unsafeCast(value_outlineColor_value_0) + valueSerializer.writeResource(value_outlineColor_value_0_3) + } + } + else if (((RuntimeType.OBJECT) == (value_outlineColor_value_type)) && (((value_outlineColor_value!.hasOwnProperty("top")) || (value_outlineColor_value!.hasOwnProperty("right")) || (value_outlineColor_value!.hasOwnProperty("bottom")) || (value_outlineColor_value!.hasOwnProperty("left"))))) { + valueSerializer.writeInt8(1) + const value_outlineColor_value_1 = unsafeCast(value_outlineColor_value) + valueSerializer.writeEdgeColors(value_outlineColor_value_1) + } + } + const value_outlineWidth = value.outlineWidth + let value_outlineWidth_type: int32 = RuntimeType.UNDEFINED + value_outlineWidth_type = runtimeType(value_outlineWidth) + valueSerializer.writeInt8(value_outlineWidth_type) + if ((RuntimeType.UNDEFINED) != (value_outlineWidth_type)) { + const value_outlineWidth_value = value_outlineWidth! + let value_outlineWidth_value_type: int32 = RuntimeType.UNDEFINED + value_outlineWidth_value_type = runtimeType(value_outlineWidth_value) + if ((RuntimeType.STRING == value_outlineWidth_value_type) || (RuntimeType.NUMBER == value_outlineWidth_value_type) || (RuntimeType.OBJECT == value_outlineWidth_value_type)) { + valueSerializer.writeInt8(0) + const value_outlineWidth_value_0 = unsafeCast(value_outlineWidth_value) + let value_outlineWidth_value_0_type: int32 = RuntimeType.UNDEFINED + value_outlineWidth_value_0_type = runtimeType(value_outlineWidth_value_0) + if (RuntimeType.STRING == value_outlineWidth_value_0_type) { + valueSerializer.writeInt8(0) + const value_outlineWidth_value_0_0 = unsafeCast(value_outlineWidth_value_0) + valueSerializer.writeString(value_outlineWidth_value_0_0) + } + else if (RuntimeType.NUMBER == value_outlineWidth_value_0_type) { + valueSerializer.writeInt8(1) + const value_outlineWidth_value_0_1 = unsafeCast(value_outlineWidth_value_0) + valueSerializer.writeNumber(value_outlineWidth_value_0_1) + } + else if (RuntimeType.OBJECT == value_outlineWidth_value_0_type) { + valueSerializer.writeInt8(2) + const value_outlineWidth_value_0_2 = unsafeCast(value_outlineWidth_value_0) + valueSerializer.writeResource(value_outlineWidth_value_0_2) + } + } + else if (((RuntimeType.OBJECT) == (value_outlineWidth_value_type)) && (((value_outlineWidth_value!.hasOwnProperty("top")) || (value_outlineWidth_value!.hasOwnProperty("right")) || (value_outlineWidth_value!.hasOwnProperty("bottom")) || (value_outlineWidth_value!.hasOwnProperty("left"))))) { + valueSerializer.writeInt8(1) + const value_outlineWidth_value_1 = unsafeCast(value_outlineWidth_value) + valueSerializer.writeEdgeOutlineWidths(value_outlineWidth_value_1) + } + } + const value_hapticFeedbackMode = value.hapticFeedbackMode + let value_hapticFeedbackMode_type: int32 = RuntimeType.UNDEFINED + value_hapticFeedbackMode_type = runtimeType(value_hapticFeedbackMode) + valueSerializer.writeInt8(value_hapticFeedbackMode_type) + if ((RuntimeType.UNDEFINED) != (value_hapticFeedbackMode_type)) { + const value_hapticFeedbackMode_value = value_hapticFeedbackMode! + valueSerializer.writeInt32(value_hapticFeedbackMode_value.valueOf()) + } const value_title = value.title let value_title_type: int32 = RuntimeType.UNDEFINED value_title_type = runtimeType(value_title) @@ -23725,26 +23742,104 @@ export class Serializer extends SerializerBase { const value_title_value_0 = unsafeCast(value_title_value) valueSerializer.writeString(value_title_value_0) } - else if (RuntimeType.OBJECT == value_title_value_type) { + else if (RuntimeType.OBJECT == value_title_value_type) { + valueSerializer.writeInt8(1) + const value_title_value_1 = unsafeCast(value_title_value) + valueSerializer.writeResource(value_title_value_1) + } + } + const value_showInSubWindow = value.showInSubWindow + let value_showInSubWindow_type: int32 = RuntimeType.UNDEFINED + value_showInSubWindow_type = runtimeType(value_showInSubWindow) + valueSerializer.writeInt8(value_showInSubWindow_type) + if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { + const value_showInSubWindow_value = value_showInSubWindow! + valueSerializer.writeBoolean(value_showInSubWindow_value) + } + } + public writeMenuOutlineOptions(value: MenuOutlineOptions): void { + let valueSerializer: Serializer = this + const value_width = value.width + let value_width_type: int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type: int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if ((RuntimeType.STRING == value_width_value_type) || (RuntimeType.NUMBER == value_width_value_type) || (RuntimeType.OBJECT == value_width_value_type)) { + valueSerializer.writeInt8(0) + const value_width_value_0 = unsafeCast(value_width_value) + let value_width_value_0_type: int32 = RuntimeType.UNDEFINED + value_width_value_0_type = runtimeType(value_width_value_0) + if (RuntimeType.STRING == value_width_value_0_type) { + valueSerializer.writeInt8(0) + const value_width_value_0_0 = unsafeCast(value_width_value_0) + valueSerializer.writeString(value_width_value_0_0) + } + else if (RuntimeType.NUMBER == value_width_value_0_type) { + valueSerializer.writeInt8(1) + const value_width_value_0_1 = unsafeCast(value_width_value_0) + valueSerializer.writeNumber(value_width_value_0_1) + } + else if (RuntimeType.OBJECT == value_width_value_0_type) { + valueSerializer.writeInt8(2) + const value_width_value_0_2 = unsafeCast(value_width_value_0) + valueSerializer.writeResource(value_width_value_0_2) + } + } + else if (((RuntimeType.OBJECT) == (value_width_value_type)) && (((value_width_value!.hasOwnProperty("top")) || (value_width_value!.hasOwnProperty("right")) || (value_width_value!.hasOwnProperty("bottom")) || (value_width_value!.hasOwnProperty("left"))))) { + valueSerializer.writeInt8(1) + const value_width_value_1 = unsafeCast(value_width_value) + valueSerializer.writeEdgeOutlineWidths(value_width_value_1) + } + } + const value_color = value.color + let value_color_type: int32 = RuntimeType.UNDEFINED + value_color_type = runtimeType(value_color) + valueSerializer.writeInt8(value_color_type) + if ((RuntimeType.UNDEFINED) != (value_color_type)) { + const value_color_value = value_color! + let value_color_value_type: int32 = RuntimeType.UNDEFINED + value_color_value_type = runtimeType(value_color_value) + if ((((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) || (RuntimeType.NUMBER == value_color_value_type) || (RuntimeType.STRING == value_color_value_type) || (RuntimeType.OBJECT == value_color_value_type)) { + valueSerializer.writeInt8(0) + const value_color_value_0 = unsafeCast(value_color_value) + let value_color_value_0_type: int32 = RuntimeType.UNDEFINED + value_color_value_0_type = runtimeType(value_color_value_0) + if (((RuntimeType.NUMBER) == (value_color_value_0_type)) && ((unsafeCast(value_color_value_0)) >= (0)) && ((unsafeCast(value_color_value_0)) <= (11))) { + valueSerializer.writeInt8(0) + const value_color_value_0_0 = unsafeCast(value_color_value_0) + valueSerializer.writeInt32(value_color_value_0_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_color_value_0_type) { + valueSerializer.writeInt8(1) + const value_color_value_0_1 = unsafeCast(value_color_value_0) + valueSerializer.writeNumber(value_color_value_0_1) + } + else if (RuntimeType.STRING == value_color_value_0_type) { + valueSerializer.writeInt8(2) + const value_color_value_0_2 = unsafeCast(value_color_value_0) + valueSerializer.writeString(value_color_value_0_2) + } + else if (RuntimeType.OBJECT == value_color_value_0_type) { + valueSerializer.writeInt8(3) + const value_color_value_0_3 = unsafeCast(value_color_value_0) + valueSerializer.writeResource(value_color_value_0_3) + } + } + else if (((RuntimeType.OBJECT) == (value_color_value_type)) && (((value_color_value!.hasOwnProperty("top")) || (value_color_value!.hasOwnProperty("right")) || (value_color_value!.hasOwnProperty("bottom")) || (value_color_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) - const value_title_value_1 = unsafeCast(value_title_value) - valueSerializer.writeResource(value_title_value_1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeEdgeColors(value_color_value_1) } } - const value_showInSubWindow = value.showInSubWindow - let value_showInSubWindow_type: int32 = RuntimeType.UNDEFINED - value_showInSubWindow_type = runtimeType(value_showInSubWindow) - valueSerializer.writeInt8(value_showInSubWindow_type) - if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { - const value_showInSubWindow_value = value_showInSubWindow! - valueSerializer.writeBoolean(value_showInSubWindow_value) - } } - writeMouseEvent(value: MouseEvent): void { + public writeMouseEvent(value: MouseEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeNativeEmbedInfo(value: NativeEmbedInfo): void { + public writeNativeEmbedInfo(value: NativeEmbedInfo): void { let valueSerializer: Serializer = this const value_id = value.id let value_id_type: int32 = RuntimeType.UNDEFINED @@ -23823,7 +23918,98 @@ export class Serializer extends SerializerBase { } } } - writeOutlineOptions(value: OutlineOptions): void { + public writeNavigationMenuOptions(value: NavigationMenuOptions): void { + let valueSerializer: Serializer = this + const value_moreButtonOptions = value.moreButtonOptions + let value_moreButtonOptions_type: int32 = RuntimeType.UNDEFINED + value_moreButtonOptions_type = runtimeType(value_moreButtonOptions) + valueSerializer.writeInt8(value_moreButtonOptions_type) + if ((RuntimeType.UNDEFINED) != (value_moreButtonOptions_type)) { + const value_moreButtonOptions_value = value_moreButtonOptions! + valueSerializer.writeMoreButtonOptions(value_moreButtonOptions_value) + } + } + public writeNavigationToolbarOptions(value: NavigationToolbarOptions): void { + let valueSerializer: Serializer = this + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type: int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type: int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (((RuntimeType.NUMBER) == (value_backgroundColor_value_type)) && ((unsafeCast(value_backgroundColor_value)) >= (0)) && ((unsafeCast(value_backgroundColor_value)) <= (11))) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeInt32(value_backgroundColor_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { + valueSerializer.writeInt8(1) + const value_backgroundColor_value_1 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeNumber(value_backgroundColor_value_1) + } + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeString(value_backgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeResource(value_backgroundColor_value_3) + } + } + const value_backgroundBlurStyle = value.backgroundBlurStyle + let value_backgroundBlurStyle_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle) + valueSerializer.writeInt8(value_backgroundBlurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyle_type)) { + const value_backgroundBlurStyle_value = value_backgroundBlurStyle! + valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) + } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } + const value_moreButtonOptions = value.moreButtonOptions + let value_moreButtonOptions_type: int32 = RuntimeType.UNDEFINED + value_moreButtonOptions_type = runtimeType(value_moreButtonOptions) + valueSerializer.writeInt8(value_moreButtonOptions_type) + if ((RuntimeType.UNDEFINED) != (value_moreButtonOptions_type)) { + const value_moreButtonOptions_value = value_moreButtonOptions! + valueSerializer.writeMoreButtonOptions(value_moreButtonOptions_value) + } + const value_barStyle = value.barStyle + let value_barStyle_type: int32 = RuntimeType.UNDEFINED + value_barStyle_type = runtimeType(value_barStyle) + valueSerializer.writeInt8(value_barStyle_type) + if ((RuntimeType.UNDEFINED) != (value_barStyle_type)) { + const value_barStyle_value = value_barStyle! + valueSerializer.writeInt32(value_barStyle_value.valueOf()) + } + const value_hideItemValue = value.hideItemValue + let value_hideItemValue_type: int32 = RuntimeType.UNDEFINED + value_hideItemValue_type = runtimeType(value_hideItemValue) + valueSerializer.writeInt8(value_hideItemValue_type) + if ((RuntimeType.UNDEFINED) != (value_hideItemValue_type)) { + const value_hideItemValue_value = value_hideItemValue! + valueSerializer.writeBoolean(value_hideItemValue_value) + } + } + public writeOutlineOptions(value: OutlineOptions): void { let valueSerializer: Serializer = this const value_width = value.width let value_width_type: int32 = RuntimeType.UNDEFINED @@ -23836,102 +24022,7 @@ export class Serializer extends SerializerBase { if (((RuntimeType.OBJECT) == (value_width_value_type)) && (((value_width_value!.hasOwnProperty("top")) || (value_width_value!.hasOwnProperty("right")) || (value_width_value!.hasOwnProperty("bottom")) || (value_width_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(0) const value_width_value_0 = unsafeCast(value_width_value) - const value_width_value_0_top = value_width_value_0.top - let value_width_value_0_top_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_top_type = runtimeType(value_width_value_0_top) - valueSerializer.writeInt8(value_width_value_0_top_type) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_top_type)) { - const value_width_value_0_top_value = value_width_value_0_top! - let value_width_value_0_top_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_top_value_type = runtimeType(value_width_value_0_top_value) - if (RuntimeType.STRING == value_width_value_0_top_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_0_top_value_0 = unsafeCast(value_width_value_0_top_value) - valueSerializer.writeString(value_width_value_0_top_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_top_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_0_top_value_1 = unsafeCast(value_width_value_0_top_value) - valueSerializer.writeNumber(value_width_value_0_top_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_top_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_0_top_value_2 = unsafeCast(value_width_value_0_top_value) - valueSerializer.writeResource(value_width_value_0_top_value_2) - } - } - const value_width_value_0_right = value_width_value_0.right - let value_width_value_0_right_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_right_type = runtimeType(value_width_value_0_right) - valueSerializer.writeInt8(value_width_value_0_right_type) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_right_type)) { - const value_width_value_0_right_value = value_width_value_0_right! - let value_width_value_0_right_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_right_value_type = runtimeType(value_width_value_0_right_value) - if (RuntimeType.STRING == value_width_value_0_right_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_0_right_value_0 = unsafeCast(value_width_value_0_right_value) - valueSerializer.writeString(value_width_value_0_right_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_right_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_0_right_value_1 = unsafeCast(value_width_value_0_right_value) - valueSerializer.writeNumber(value_width_value_0_right_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_right_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_0_right_value_2 = unsafeCast(value_width_value_0_right_value) - valueSerializer.writeResource(value_width_value_0_right_value_2) - } - } - const value_width_value_0_bottom = value_width_value_0.bottom - let value_width_value_0_bottom_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_bottom_type = runtimeType(value_width_value_0_bottom) - valueSerializer.writeInt8(value_width_value_0_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_bottom_type)) { - const value_width_value_0_bottom_value = value_width_value_0_bottom! - let value_width_value_0_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_bottom_value_type = runtimeType(value_width_value_0_bottom_value) - if (RuntimeType.STRING == value_width_value_0_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_0_bottom_value_0 = unsafeCast(value_width_value_0_bottom_value) - valueSerializer.writeString(value_width_value_0_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_0_bottom_value_1 = unsafeCast(value_width_value_0_bottom_value) - valueSerializer.writeNumber(value_width_value_0_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_0_bottom_value_2 = unsafeCast(value_width_value_0_bottom_value) - valueSerializer.writeResource(value_width_value_0_bottom_value_2) - } - } - const value_width_value_0_left = value_width_value_0.left - let value_width_value_0_left_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_left_type = runtimeType(value_width_value_0_left) - valueSerializer.writeInt8(value_width_value_0_left_type) - if ((RuntimeType.UNDEFINED) != (value_width_value_0_left_type)) { - const value_width_value_0_left_value = value_width_value_0_left! - let value_width_value_0_left_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_0_left_value_type = runtimeType(value_width_value_0_left_value) - if (RuntimeType.STRING == value_width_value_0_left_value_type) { - valueSerializer.writeInt8(0) - const value_width_value_0_left_value_0 = unsafeCast(value_width_value_0_left_value) - valueSerializer.writeString(value_width_value_0_left_value_0) - } - else if (RuntimeType.NUMBER == value_width_value_0_left_value_type) { - valueSerializer.writeInt8(1) - const value_width_value_0_left_value_1 = unsafeCast(value_width_value_0_left_value) - valueSerializer.writeNumber(value_width_value_0_left_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_0_left_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_0_left_value_2 = unsafeCast(value_width_value_0_left_value) - valueSerializer.writeResource(value_width_value_0_left_value_2) - } - } + valueSerializer.writeEdgeOutlineWidths(value_width_value_0) } else if ((RuntimeType.STRING == value_width_value_type) || (RuntimeType.NUMBER == value_width_value_type) || (RuntimeType.OBJECT == value_width_value_type)) { valueSerializer.writeInt8(1) @@ -23966,122 +24057,7 @@ export class Serializer extends SerializerBase { if (((RuntimeType.OBJECT) == (value_color_value_type)) && (((value_color_value!.hasOwnProperty("right")) || (value_color_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(0) const value_color_value_0 = unsafeCast(value_color_value) - const value_color_value_0_top = value_color_value_0.top - let value_color_value_0_top_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_top_type = runtimeType(value_color_value_0_top) - valueSerializer.writeInt8(value_color_value_0_top_type) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_top_type)) { - const value_color_value_0_top_value = value_color_value_0_top! - let value_color_value_0_top_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_top_value_type = runtimeType(value_color_value_0_top_value) - if (((RuntimeType.NUMBER) == (value_color_value_0_top_value_type)) && ((unsafeCast(value_color_value_0_top_value)) >= (0)) && ((unsafeCast(value_color_value_0_top_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_color_value_0_top_value_0 = unsafeCast(value_color_value_0_top_value) - valueSerializer.writeInt32(value_color_value_0_top_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_color_value_0_top_value_type) { - valueSerializer.writeInt8(1) - const value_color_value_0_top_value_1 = unsafeCast(value_color_value_0_top_value) - valueSerializer.writeNumber(value_color_value_0_top_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_top_value_type) { - valueSerializer.writeInt8(2) - const value_color_value_0_top_value_2 = unsafeCast(value_color_value_0_top_value) - valueSerializer.writeString(value_color_value_0_top_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_top_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_0_top_value_3 = unsafeCast(value_color_value_0_top_value) - valueSerializer.writeResource(value_color_value_0_top_value_3) - } - } - const value_color_value_0_right = value_color_value_0.right - let value_color_value_0_right_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_right_type = runtimeType(value_color_value_0_right) - valueSerializer.writeInt8(value_color_value_0_right_type) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_right_type)) { - const value_color_value_0_right_value = value_color_value_0_right! - let value_color_value_0_right_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_right_value_type = runtimeType(value_color_value_0_right_value) - if (((RuntimeType.NUMBER) == (value_color_value_0_right_value_type)) && ((unsafeCast(value_color_value_0_right_value)) >= (0)) && ((unsafeCast(value_color_value_0_right_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_color_value_0_right_value_0 = unsafeCast(value_color_value_0_right_value) - valueSerializer.writeInt32(value_color_value_0_right_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_color_value_0_right_value_type) { - valueSerializer.writeInt8(1) - const value_color_value_0_right_value_1 = unsafeCast(value_color_value_0_right_value) - valueSerializer.writeNumber(value_color_value_0_right_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_right_value_type) { - valueSerializer.writeInt8(2) - const value_color_value_0_right_value_2 = unsafeCast(value_color_value_0_right_value) - valueSerializer.writeString(value_color_value_0_right_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_right_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_0_right_value_3 = unsafeCast(value_color_value_0_right_value) - valueSerializer.writeResource(value_color_value_0_right_value_3) - } - } - const value_color_value_0_bottom = value_color_value_0.bottom - let value_color_value_0_bottom_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_bottom_type = runtimeType(value_color_value_0_bottom) - valueSerializer.writeInt8(value_color_value_0_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_bottom_type)) { - const value_color_value_0_bottom_value = value_color_value_0_bottom! - let value_color_value_0_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_bottom_value_type = runtimeType(value_color_value_0_bottom_value) - if (((RuntimeType.NUMBER) == (value_color_value_0_bottom_value_type)) && ((unsafeCast(value_color_value_0_bottom_value)) >= (0)) && ((unsafeCast(value_color_value_0_bottom_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_color_value_0_bottom_value_0 = unsafeCast(value_color_value_0_bottom_value) - valueSerializer.writeInt32(value_color_value_0_bottom_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_color_value_0_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_color_value_0_bottom_value_1 = unsafeCast(value_color_value_0_bottom_value) - valueSerializer.writeNumber(value_color_value_0_bottom_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_color_value_0_bottom_value_2 = unsafeCast(value_color_value_0_bottom_value) - valueSerializer.writeString(value_color_value_0_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_bottom_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_0_bottom_value_3 = unsafeCast(value_color_value_0_bottom_value) - valueSerializer.writeResource(value_color_value_0_bottom_value_3) - } - } - const value_color_value_0_left = value_color_value_0.left - let value_color_value_0_left_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_left_type = runtimeType(value_color_value_0_left) - valueSerializer.writeInt8(value_color_value_0_left_type) - if ((RuntimeType.UNDEFINED) != (value_color_value_0_left_type)) { - const value_color_value_0_left_value = value_color_value_0_left! - let value_color_value_0_left_value_type: int32 = RuntimeType.UNDEFINED - value_color_value_0_left_value_type = runtimeType(value_color_value_0_left_value) - if (((RuntimeType.NUMBER) == (value_color_value_0_left_value_type)) && ((unsafeCast(value_color_value_0_left_value)) >= (0)) && ((unsafeCast(value_color_value_0_left_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_color_value_0_left_value_0 = unsafeCast(value_color_value_0_left_value) - valueSerializer.writeInt32(value_color_value_0_left_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_color_value_0_left_value_type) { - valueSerializer.writeInt8(1) - const value_color_value_0_left_value_1 = unsafeCast(value_color_value_0_left_value) - valueSerializer.writeNumber(value_color_value_0_left_value_1) - } - else if (RuntimeType.STRING == value_color_value_0_left_value_type) { - valueSerializer.writeInt8(2) - const value_color_value_0_left_value_2 = unsafeCast(value_color_value_0_left_value) - valueSerializer.writeString(value_color_value_0_left_value_2) - } - else if (RuntimeType.OBJECT == value_color_value_0_left_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_0_left_value_3 = unsafeCast(value_color_value_0_left_value) - valueSerializer.writeResource(value_color_value_0_left_value_3) - } - } + valueSerializer.writeEdgeColors(value_color_value_0) } else if ((((RuntimeType.NUMBER) == (value_color_value_type)) && ((unsafeCast(value_color_value)) >= (0)) && ((unsafeCast(value_color_value)) <= (11))) || (RuntimeType.NUMBER == value_color_value_type) || (RuntimeType.STRING == value_color_value_type) || (RuntimeType.OBJECT == value_color_value_type)) { valueSerializer.writeInt8(1) @@ -24126,102 +24102,7 @@ export class Serializer extends SerializerBase { if (((RuntimeType.OBJECT) == (value_radius_value_type)) && (((value_radius_value!.hasOwnProperty("topLeft")) || (value_radius_value!.hasOwnProperty("topRight")) || (value_radius_value!.hasOwnProperty("bottomLeft")) || (value_radius_value!.hasOwnProperty("bottomRight"))))) { valueSerializer.writeInt8(0) const value_radius_value_0 = unsafeCast(value_radius_value) - const value_radius_value_0_topLeft = value_radius_value_0.topLeft - let value_radius_value_0_topLeft_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_topLeft_type = runtimeType(value_radius_value_0_topLeft) - valueSerializer.writeInt8(value_radius_value_0_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_topLeft_type)) { - const value_radius_value_0_topLeft_value = value_radius_value_0_topLeft! - let value_radius_value_0_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_topLeft_value_type = runtimeType(value_radius_value_0_topLeft_value) - if (RuntimeType.STRING == value_radius_value_0_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_radius_value_0_topLeft_value_0 = unsafeCast(value_radius_value_0_topLeft_value) - valueSerializer.writeString(value_radius_value_0_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_radius_value_0_topLeft_value_1 = unsafeCast(value_radius_value_0_topLeft_value) - valueSerializer.writeNumber(value_radius_value_0_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_radius_value_0_topLeft_value_2 = unsafeCast(value_radius_value_0_topLeft_value) - valueSerializer.writeResource(value_radius_value_0_topLeft_value_2) - } - } - const value_radius_value_0_topRight = value_radius_value_0.topRight - let value_radius_value_0_topRight_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_topRight_type = runtimeType(value_radius_value_0_topRight) - valueSerializer.writeInt8(value_radius_value_0_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_topRight_type)) { - const value_radius_value_0_topRight_value = value_radius_value_0_topRight! - let value_radius_value_0_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_topRight_value_type = runtimeType(value_radius_value_0_topRight_value) - if (RuntimeType.STRING == value_radius_value_0_topRight_value_type) { - valueSerializer.writeInt8(0) - const value_radius_value_0_topRight_value_0 = unsafeCast(value_radius_value_0_topRight_value) - valueSerializer.writeString(value_radius_value_0_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_topRight_value_type) { - valueSerializer.writeInt8(1) - const value_radius_value_0_topRight_value_1 = unsafeCast(value_radius_value_0_topRight_value) - valueSerializer.writeNumber(value_radius_value_0_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_topRight_value_type) { - valueSerializer.writeInt8(2) - const value_radius_value_0_topRight_value_2 = unsafeCast(value_radius_value_0_topRight_value) - valueSerializer.writeResource(value_radius_value_0_topRight_value_2) - } - } - const value_radius_value_0_bottomLeft = value_radius_value_0.bottomLeft - let value_radius_value_0_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomLeft_type = runtimeType(value_radius_value_0_bottomLeft) - valueSerializer.writeInt8(value_radius_value_0_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_bottomLeft_type)) { - const value_radius_value_0_bottomLeft_value = value_radius_value_0_bottomLeft! - let value_radius_value_0_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomLeft_value_type = runtimeType(value_radius_value_0_bottomLeft_value) - if (RuntimeType.STRING == value_radius_value_0_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_radius_value_0_bottomLeft_value_0 = unsafeCast(value_radius_value_0_bottomLeft_value) - valueSerializer.writeString(value_radius_value_0_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_radius_value_0_bottomLeft_value_1 = unsafeCast(value_radius_value_0_bottomLeft_value) - valueSerializer.writeNumber(value_radius_value_0_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_radius_value_0_bottomLeft_value_2 = unsafeCast(value_radius_value_0_bottomLeft_value) - valueSerializer.writeResource(value_radius_value_0_bottomLeft_value_2) - } - } - const value_radius_value_0_bottomRight = value_radius_value_0.bottomRight - let value_radius_value_0_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomRight_type = runtimeType(value_radius_value_0_bottomRight) - valueSerializer.writeInt8(value_radius_value_0_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_radius_value_0_bottomRight_type)) { - const value_radius_value_0_bottomRight_value = value_radius_value_0_bottomRight! - let value_radius_value_0_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_0_bottomRight_value_type = runtimeType(value_radius_value_0_bottomRight_value) - if (RuntimeType.STRING == value_radius_value_0_bottomRight_value_type) { - valueSerializer.writeInt8(0) - const value_radius_value_0_bottomRight_value_0 = unsafeCast(value_radius_value_0_bottomRight_value) - valueSerializer.writeString(value_radius_value_0_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_0_bottomRight_value_type) { - valueSerializer.writeInt8(1) - const value_radius_value_0_bottomRight_value_1 = unsafeCast(value_radius_value_0_bottomRight_value) - valueSerializer.writeNumber(value_radius_value_0_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_0_bottomRight_value_type) { - valueSerializer.writeInt8(2) - const value_radius_value_0_bottomRight_value_2 = unsafeCast(value_radius_value_0_bottomRight_value) - valueSerializer.writeResource(value_radius_value_0_bottomRight_value_2) - } - } + valueSerializer.writeOutlineRadiuses(value_radius_value_0) } else if ((RuntimeType.STRING == value_radius_value_type) || (RuntimeType.NUMBER == value_radius_value_type) || (RuntimeType.OBJECT == value_radius_value_type)) { valueSerializer.writeInt8(1) @@ -24256,38 +24137,7 @@ export class Serializer extends SerializerBase { if (RuntimeType.OBJECT == value_style_value_type) { valueSerializer.writeInt8(0) const value_style_value_0 = unsafeCast(value_style_value) - const value_style_value_0_top = value_style_value_0.top - let value_style_value_0_top_type: int32 = RuntimeType.UNDEFINED - value_style_value_0_top_type = runtimeType(value_style_value_0_top) - valueSerializer.writeInt8(value_style_value_0_top_type) - if ((RuntimeType.UNDEFINED) != (value_style_value_0_top_type)) { - const value_style_value_0_top_value = value_style_value_0_top! - valueSerializer.writeInt32(value_style_value_0_top_value.valueOf()) - } - const value_style_value_0_right = value_style_value_0.right - let value_style_value_0_right_type: int32 = RuntimeType.UNDEFINED - value_style_value_0_right_type = runtimeType(value_style_value_0_right) - valueSerializer.writeInt8(value_style_value_0_right_type) - if ((RuntimeType.UNDEFINED) != (value_style_value_0_right_type)) { - const value_style_value_0_right_value = value_style_value_0_right! - valueSerializer.writeInt32(value_style_value_0_right_value.valueOf()) - } - const value_style_value_0_bottom = value_style_value_0.bottom - let value_style_value_0_bottom_type: int32 = RuntimeType.UNDEFINED - value_style_value_0_bottom_type = runtimeType(value_style_value_0_bottom) - valueSerializer.writeInt8(value_style_value_0_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_style_value_0_bottom_type)) { - const value_style_value_0_bottom_value = value_style_value_0_bottom! - valueSerializer.writeInt32(value_style_value_0_bottom_value.valueOf()) - } - const value_style_value_0_left = value_style_value_0.left - let value_style_value_0_left_type: int32 = RuntimeType.UNDEFINED - value_style_value_0_left_type = runtimeType(value_style_value_0_left) - valueSerializer.writeInt8(value_style_value_0_left_type) - if ((RuntimeType.UNDEFINED) != (value_style_value_0_left_type)) { - const value_style_value_0_left_value = value_style_value_0_left! - valueSerializer.writeInt32(value_style_value_0_left_value.valueOf()) - } + valueSerializer.writeEdgeOutlineStyles(value_style_value_0) } else if (RuntimeType.NUMBER == value_style_value_type) { valueSerializer.writeInt8(1) @@ -24296,11 +24146,85 @@ export class Serializer extends SerializerBase { } } } - writePanGestureEvent(value: PanGestureEvent): void { + public writePanGestureEvent(value: PanGestureEvent): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeParagraphStyle(value: ParagraphStyle): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePickerDialogButtonStyle(value: PickerDialogButtonStyle): void { + public writeParagraphStyleInterface(value: ParagraphStyleInterface): void { + let valueSerializer: Serializer = this + const value_textAlign = value.textAlign + let value_textAlign_type: int32 = RuntimeType.UNDEFINED + value_textAlign_type = runtimeType(value_textAlign) + valueSerializer.writeInt8(value_textAlign_type) + if ((RuntimeType.UNDEFINED) != (value_textAlign_type)) { + const value_textAlign_value = value_textAlign! + valueSerializer.writeInt32(value_textAlign_value.valueOf()) + } + const value_textIndent = value.textIndent + let value_textIndent_type: int32 = RuntimeType.UNDEFINED + value_textIndent_type = runtimeType(value_textIndent) + valueSerializer.writeInt8(value_textIndent_type) + if ((RuntimeType.UNDEFINED) != (value_textIndent_type)) { + const value_textIndent_value = value_textIndent! + valueSerializer.writeLengthMetrics(value_textIndent_value) + } + const value_maxLines = value.maxLines + let value_maxLines_type: int32 = RuntimeType.UNDEFINED + value_maxLines_type = runtimeType(value_maxLines) + valueSerializer.writeInt8(value_maxLines_type) + if ((RuntimeType.UNDEFINED) != (value_maxLines_type)) { + const value_maxLines_value = value_maxLines! + valueSerializer.writeNumber(value_maxLines_value) + } + const value_overflow = value.overflow + let value_overflow_type: int32 = RuntimeType.UNDEFINED + value_overflow_type = runtimeType(value_overflow) + valueSerializer.writeInt8(value_overflow_type) + if ((RuntimeType.UNDEFINED) != (value_overflow_type)) { + const value_overflow_value = value_overflow! + valueSerializer.writeInt32(value_overflow_value.valueOf()) + } + const value_wordBreak = value.wordBreak + let value_wordBreak_type: int32 = RuntimeType.UNDEFINED + value_wordBreak_type = runtimeType(value_wordBreak) + valueSerializer.writeInt8(value_wordBreak_type) + if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { + const value_wordBreak_value = value_wordBreak! + valueSerializer.writeInt32(value_wordBreak_value.valueOf()) + } + const value_leadingMargin = value.leadingMargin + let value_leadingMargin_type: int32 = RuntimeType.UNDEFINED + value_leadingMargin_type = runtimeType(value_leadingMargin) + valueSerializer.writeInt8(value_leadingMargin_type) + if ((RuntimeType.UNDEFINED) != (value_leadingMargin_type)) { + const value_leadingMargin_value = value_leadingMargin! + let value_leadingMargin_value_type: int32 = RuntimeType.UNDEFINED + value_leadingMargin_value_type = runtimeType(value_leadingMargin_value) + if (((RuntimeType.OBJECT) == (value_leadingMargin_value_type)) && (value_leadingMargin_value instanceof LengthMetrics)) { + valueSerializer.writeInt8(0) + const value_leadingMargin_value_0 = unsafeCast(value_leadingMargin_value) + valueSerializer.writeLengthMetrics(value_leadingMargin_value_0) + } + else if (((RuntimeType.OBJECT) == (value_leadingMargin_value_type)) && ((value_leadingMargin_value!.hasOwnProperty("pixelMap")))) { + valueSerializer.writeInt8(1) + const value_leadingMargin_value_1 = unsafeCast(value_leadingMargin_value) + valueSerializer.writeLeadingMarginPlaceholder(value_leadingMargin_value_1) + } + } + const value_paragraphSpacing = value.paragraphSpacing + let value_paragraphSpacing_type: int32 = RuntimeType.UNDEFINED + value_paragraphSpacing_type = runtimeType(value_paragraphSpacing) + valueSerializer.writeInt8(value_paragraphSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_paragraphSpacing_type)) { + const value_paragraphSpacing_value = value_paragraphSpacing! + valueSerializer.writeLengthMetrics(value_paragraphSpacing_value) + } + } + public writePickerDialogButtonStyle(value: PickerDialogButtonStyle): void { let valueSerializer: Serializer = this const value_type = value.type let value_type_type: int32 = RuntimeType.UNDEFINED @@ -24474,120 +24398,25 @@ export class Serializer extends SerializerBase { value_borderRadius_value_0_type = runtimeType(value_borderRadius_value_0) if (RuntimeType.STRING == value_borderRadius_value_0_type) { valueSerializer.writeInt8(0) - const value_borderRadius_value_0_0 = unsafeCast(value_borderRadius_value_0) - valueSerializer.writeString(value_borderRadius_value_0_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_0_1 = unsafeCast(value_borderRadius_value_0) - valueSerializer.writeNumber(value_borderRadius_value_0_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_0_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_0_2 = unsafeCast(value_borderRadius_value_0) - valueSerializer.writeResource(value_borderRadius_value_0_2) - } - } - else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (((value_borderRadius_value!.hasOwnProperty("topLeft")) || (value_borderRadius_value!.hasOwnProperty("topRight")) || (value_borderRadius_value!.hasOwnProperty("bottomLeft")) || (value_borderRadius_value!.hasOwnProperty("bottomRight"))))) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1 = unsafeCast(value_borderRadius_value) - const value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft - let value_borderRadius_value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft! - let value_borderRadius_value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_value_type = runtimeType(value_borderRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_topLeft_value_0 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_topLeft_value_1 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_topLeft_value_2 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2) - } - } - const value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight - let value_borderRadius_value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight) - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight! - let value_borderRadius_value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_value_type = runtimeType(value_borderRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_topRight_value_0 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_topRight_value_1 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_topRight_value_2 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2) - } + const value_borderRadius_value_0_0 = unsafeCast(value_borderRadius_value_0) + valueSerializer.writeString(value_borderRadius_value_0_0) } - const value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft - let value_borderRadius_value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft! - let value_borderRadius_value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_value_type = runtimeType(value_borderRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_bottomLeft_value_0 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_bottomLeft_value_1 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_bottomLeft_value_2 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2) - } + else if (RuntimeType.NUMBER == value_borderRadius_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderRadius_value_0_1 = unsafeCast(value_borderRadius_value_0) + valueSerializer.writeNumber(value_borderRadius_value_0_1) } - const value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight - let value_borderRadius_value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight! - let value_borderRadius_value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_value_type = runtimeType(value_borderRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_bottomRight_value_0 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_bottomRight_value_1 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_bottomRight_value_2 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2) - } + else if (RuntimeType.OBJECT == value_borderRadius_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderRadius_value_0_2 = unsafeCast(value_borderRadius_value_0) + valueSerializer.writeResource(value_borderRadius_value_0_2) } } + else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (((value_borderRadius_value!.hasOwnProperty("topLeft")) || (value_borderRadius_value!.hasOwnProperty("topRight")) || (value_borderRadius_value!.hasOwnProperty("bottomLeft")) || (value_borderRadius_value!.hasOwnProperty("bottomRight"))))) { + valueSerializer.writeInt8(1) + const value_borderRadius_value_1 = unsafeCast(value_borderRadius_value) + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1) + } } const value_primary = value.primary let value_primary_type: int32 = RuntimeType.UNDEFINED @@ -24598,7 +24427,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeBoolean(value_primary_value) } } - writePickerTextStyle(value: PickerTextStyle): void { + public writePickerTextStyle(value: PickerTextStyle): void { let valueSerializer: Serializer = this const value_color = value.color let value_color_type: int32 = RuntimeType.UNDEFINED @@ -24638,11 +24467,11 @@ export class Serializer extends SerializerBase { valueSerializer.writeFont(value_font_value) } } - writePinchGestureEvent(value: PinchGestureEvent): void { + public writePinchGestureEvent(value: PinchGestureEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writePlaceholderStyle(value: PlaceholderStyle): void { + public writePlaceholderStyle(value: PlaceholderStyle): void { let valueSerializer: Serializer = this const value_font = value.font let value_font_type: int32 = RuntimeType.UNDEFINED @@ -24682,34 +24511,7 @@ export class Serializer extends SerializerBase { } } } - writePointLightStyle(value: PointLightStyle): void { - let valueSerializer: Serializer = this - const value_lightSource = value.lightSource - let value_lightSource_type: int32 = RuntimeType.UNDEFINED - value_lightSource_type = runtimeType(value_lightSource) - valueSerializer.writeInt8(value_lightSource_type) - if ((RuntimeType.UNDEFINED) != (value_lightSource_type)) { - const value_lightSource_value = value_lightSource! - valueSerializer.writeLightSource(value_lightSource_value) - } - const value_illuminated = value.illuminated - let value_illuminated_type: int32 = RuntimeType.UNDEFINED - value_illuminated_type = runtimeType(value_illuminated) - valueSerializer.writeInt8(value_illuminated_type) - if ((RuntimeType.UNDEFINED) != (value_illuminated_type)) { - const value_illuminated_value = value_illuminated! - valueSerializer.writeInt32(value_illuminated_value.valueOf()) - } - const value_bloom = value.bloom - let value_bloom_type: int32 = RuntimeType.UNDEFINED - value_bloom_type = runtimeType(value_bloom) - valueSerializer.writeInt8(value_bloom_type) - if ((RuntimeType.UNDEFINED) != (value_bloom_type)) { - const value_bloom_value = value_bloom! - valueSerializer.writeNumber(value_bloom_value) - } - } - writePopupMessageOptions(value: PopupMessageOptions): void { + public writePopupMessageOptions(value: PopupMessageOptions): void { let valueSerializer: Serializer = this const value_textColor = value.textColor let value_textColor_type: int32 = RuntimeType.UNDEFINED @@ -24749,7 +24551,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeFont(value_font_value) } } - writeResizableOptions(value: ResizableOptions): void { + public writeResizableOptions(value: ResizableOptions): void { let valueSerializer: Serializer = this const value_slice = value.slice let value_slice_type: int32 = RuntimeType.UNDEFINED @@ -24757,114 +24559,260 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt8(value_slice_type) if ((RuntimeType.UNDEFINED) != (value_slice_type)) { const value_slice_value = value_slice! - const value_slice_value_top = value_slice_value.top - let value_slice_value_top_type: int32 = RuntimeType.UNDEFINED - value_slice_value_top_type = runtimeType(value_slice_value_top) - valueSerializer.writeInt8(value_slice_value_top_type) - if ((RuntimeType.UNDEFINED) != (value_slice_value_top_type)) { - const value_slice_value_top_value = value_slice_value_top! - let value_slice_value_top_value_type: int32 = RuntimeType.UNDEFINED - value_slice_value_top_value_type = runtimeType(value_slice_value_top_value) - if (RuntimeType.STRING == value_slice_value_top_value_type) { + valueSerializer.writeEdgeWidths(value_slice_value) + } + const value_lattice = value.lattice + let value_lattice_type: int32 = RuntimeType.UNDEFINED + value_lattice_type = runtimeType(value_lattice) + valueSerializer.writeInt8(value_lattice_type) + if ((RuntimeType.UNDEFINED) != (value_lattice_type)) { + const value_lattice_value = value_lattice! + valueSerializer.writeDrawingLattice(value_lattice_value) + } + } + public writeRichEditorLayoutStyle(value: RichEditorLayoutStyle): void { + let valueSerializer: Serializer = this + const value_margin = value.margin + let value_margin_type: int32 = RuntimeType.UNDEFINED + value_margin_type = runtimeType(value_margin) + valueSerializer.writeInt8(value_margin_type) + if ((RuntimeType.UNDEFINED) != (value_margin_type)) { + const value_margin_value = value_margin! + let value_margin_value_type: int32 = RuntimeType.UNDEFINED + value_margin_value_type = runtimeType(value_margin_value) + if ((RuntimeType.STRING == value_margin_value_type) || (RuntimeType.NUMBER == value_margin_value_type) || (RuntimeType.OBJECT == value_margin_value_type)) { + valueSerializer.writeInt8(0) + const value_margin_value_0 = unsafeCast(value_margin_value) + let value_margin_value_0_type: int32 = RuntimeType.UNDEFINED + value_margin_value_0_type = runtimeType(value_margin_value_0) + if (RuntimeType.STRING == value_margin_value_0_type) { valueSerializer.writeInt8(0) - const value_slice_value_top_value_0 = unsafeCast(value_slice_value_top_value) - valueSerializer.writeString(value_slice_value_top_value_0) + const value_margin_value_0_0 = unsafeCast(value_margin_value_0) + valueSerializer.writeString(value_margin_value_0_0) } - else if (RuntimeType.NUMBER == value_slice_value_top_value_type) { + else if (RuntimeType.NUMBER == value_margin_value_0_type) { valueSerializer.writeInt8(1) - const value_slice_value_top_value_1 = unsafeCast(value_slice_value_top_value) - valueSerializer.writeNumber(value_slice_value_top_value_1) + const value_margin_value_0_1 = unsafeCast(value_margin_value_0) + valueSerializer.writeNumber(value_margin_value_0_1) } - else if (RuntimeType.OBJECT == value_slice_value_top_value_type) { + else if (RuntimeType.OBJECT == value_margin_value_0_type) { valueSerializer.writeInt8(2) - const value_slice_value_top_value_2 = unsafeCast(value_slice_value_top_value) - valueSerializer.writeResource(value_slice_value_top_value_2) + const value_margin_value_0_2 = unsafeCast(value_margin_value_0) + valueSerializer.writeResource(value_margin_value_0_2) } } - const value_slice_value_right = value_slice_value.right - let value_slice_value_right_type: int32 = RuntimeType.UNDEFINED - value_slice_value_right_type = runtimeType(value_slice_value_right) - valueSerializer.writeInt8(value_slice_value_right_type) - if ((RuntimeType.UNDEFINED) != (value_slice_value_right_type)) { - const value_slice_value_right_value = value_slice_value_right! - let value_slice_value_right_value_type: int32 = RuntimeType.UNDEFINED - value_slice_value_right_value_type = runtimeType(value_slice_value_right_value) - if (RuntimeType.STRING == value_slice_value_right_value_type) { + else if (((RuntimeType.OBJECT) == (value_margin_value_type)) && (((value_margin_value!.hasOwnProperty("top")) || (value_margin_value!.hasOwnProperty("right")) || (value_margin_value!.hasOwnProperty("bottom")) || (value_margin_value!.hasOwnProperty("left"))))) { + valueSerializer.writeInt8(1) + const value_margin_value_1 = unsafeCast(value_margin_value) + valueSerializer.writePadding(value_margin_value_1) + } + } + const value_borderRadius = value.borderRadius + let value_borderRadius_type: int32 = RuntimeType.UNDEFINED + value_borderRadius_type = runtimeType(value_borderRadius) + valueSerializer.writeInt8(value_borderRadius_type) + if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { + const value_borderRadius_value = value_borderRadius! + let value_borderRadius_value_type: int32 = RuntimeType.UNDEFINED + value_borderRadius_value_type = runtimeType(value_borderRadius_value) + if ((RuntimeType.STRING == value_borderRadius_value_type) || (RuntimeType.NUMBER == value_borderRadius_value_type) || (RuntimeType.OBJECT == value_borderRadius_value_type)) { + valueSerializer.writeInt8(0) + const value_borderRadius_value_0 = unsafeCast(value_borderRadius_value) + let value_borderRadius_value_0_type: int32 = RuntimeType.UNDEFINED + value_borderRadius_value_0_type = runtimeType(value_borderRadius_value_0) + if (RuntimeType.STRING == value_borderRadius_value_0_type) { valueSerializer.writeInt8(0) - const value_slice_value_right_value_0 = unsafeCast(value_slice_value_right_value) - valueSerializer.writeString(value_slice_value_right_value_0) + const value_borderRadius_value_0_0 = unsafeCast(value_borderRadius_value_0) + valueSerializer.writeString(value_borderRadius_value_0_0) } - else if (RuntimeType.NUMBER == value_slice_value_right_value_type) { + else if (RuntimeType.NUMBER == value_borderRadius_value_0_type) { valueSerializer.writeInt8(1) - const value_slice_value_right_value_1 = unsafeCast(value_slice_value_right_value) - valueSerializer.writeNumber(value_slice_value_right_value_1) + const value_borderRadius_value_0_1 = unsafeCast(value_borderRadius_value_0) + valueSerializer.writeNumber(value_borderRadius_value_0_1) } - else if (RuntimeType.OBJECT == value_slice_value_right_value_type) { + else if (RuntimeType.OBJECT == value_borderRadius_value_0_type) { valueSerializer.writeInt8(2) - const value_slice_value_right_value_2 = unsafeCast(value_slice_value_right_value) - valueSerializer.writeResource(value_slice_value_right_value_2) + const value_borderRadius_value_0_2 = unsafeCast(value_borderRadius_value_0) + valueSerializer.writeResource(value_borderRadius_value_0_2) } } - const value_slice_value_bottom = value_slice_value.bottom - let value_slice_value_bottom_type: int32 = RuntimeType.UNDEFINED - value_slice_value_bottom_type = runtimeType(value_slice_value_bottom) - valueSerializer.writeInt8(value_slice_value_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_slice_value_bottom_type)) { - const value_slice_value_bottom_value = value_slice_value_bottom! - let value_slice_value_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_slice_value_bottom_value_type = runtimeType(value_slice_value_bottom_value) - if (RuntimeType.STRING == value_slice_value_bottom_value_type) { + else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (((value_borderRadius_value!.hasOwnProperty("topLeft")) || (value_borderRadius_value!.hasOwnProperty("topRight")) || (value_borderRadius_value!.hasOwnProperty("bottomLeft")) || (value_borderRadius_value!.hasOwnProperty("bottomRight"))))) { + valueSerializer.writeInt8(1) + const value_borderRadius_value_1 = unsafeCast(value_borderRadius_value) + valueSerializer.writeBorderRadiuses(value_borderRadius_value_1) + } + } + } + public writeRichEditorParagraphStyle(value: RichEditorParagraphStyle): void { + let valueSerializer: Serializer = this + const value_textAlign = value.textAlign + let value_textAlign_type: int32 = RuntimeType.UNDEFINED + value_textAlign_type = runtimeType(value_textAlign) + valueSerializer.writeInt8(value_textAlign_type) + if ((RuntimeType.UNDEFINED) != (value_textAlign_type)) { + const value_textAlign_value = value_textAlign! + valueSerializer.writeInt32(value_textAlign_value.valueOf()) + } + const value_leadingMargin = value.leadingMargin + let value_leadingMargin_type: int32 = RuntimeType.UNDEFINED + value_leadingMargin_type = runtimeType(value_leadingMargin) + valueSerializer.writeInt8(value_leadingMargin_type) + if ((RuntimeType.UNDEFINED) != (value_leadingMargin_type)) { + const value_leadingMargin_value = value_leadingMargin! + let value_leadingMargin_value_type: int32 = RuntimeType.UNDEFINED + value_leadingMargin_value_type = runtimeType(value_leadingMargin_value) + if ((RuntimeType.STRING == value_leadingMargin_value_type) || (RuntimeType.NUMBER == value_leadingMargin_value_type) || (RuntimeType.OBJECT == value_leadingMargin_value_type)) { + valueSerializer.writeInt8(0) + const value_leadingMargin_value_0 = unsafeCast(value_leadingMargin_value) + let value_leadingMargin_value_0_type: int32 = RuntimeType.UNDEFINED + value_leadingMargin_value_0_type = runtimeType(value_leadingMargin_value_0) + if (RuntimeType.STRING == value_leadingMargin_value_0_type) { valueSerializer.writeInt8(0) - const value_slice_value_bottom_value_0 = unsafeCast(value_slice_value_bottom_value) - valueSerializer.writeString(value_slice_value_bottom_value_0) + const value_leadingMargin_value_0_0 = unsafeCast(value_leadingMargin_value_0) + valueSerializer.writeString(value_leadingMargin_value_0_0) } - else if (RuntimeType.NUMBER == value_slice_value_bottom_value_type) { + else if (RuntimeType.NUMBER == value_leadingMargin_value_0_type) { valueSerializer.writeInt8(1) - const value_slice_value_bottom_value_1 = unsafeCast(value_slice_value_bottom_value) - valueSerializer.writeNumber(value_slice_value_bottom_value_1) + const value_leadingMargin_value_0_1 = unsafeCast(value_leadingMargin_value_0) + valueSerializer.writeNumber(value_leadingMargin_value_0_1) } - else if (RuntimeType.OBJECT == value_slice_value_bottom_value_type) { + else if (RuntimeType.OBJECT == value_leadingMargin_value_0_type) { valueSerializer.writeInt8(2) - const value_slice_value_bottom_value_2 = unsafeCast(value_slice_value_bottom_value) - valueSerializer.writeResource(value_slice_value_bottom_value_2) + const value_leadingMargin_value_0_2 = unsafeCast(value_leadingMargin_value_0) + valueSerializer.writeResource(value_leadingMargin_value_0_2) } } - const value_slice_value_left = value_slice_value.left - let value_slice_value_left_type: int32 = RuntimeType.UNDEFINED - value_slice_value_left_type = runtimeType(value_slice_value_left) - valueSerializer.writeInt8(value_slice_value_left_type) - if ((RuntimeType.UNDEFINED) != (value_slice_value_left_type)) { - const value_slice_value_left_value = value_slice_value_left! - let value_slice_value_left_value_type: int32 = RuntimeType.UNDEFINED - value_slice_value_left_value_type = runtimeType(value_slice_value_left_value) - if (RuntimeType.STRING == value_slice_value_left_value_type) { - valueSerializer.writeInt8(0) - const value_slice_value_left_value_0 = unsafeCast(value_slice_value_left_value) - valueSerializer.writeString(value_slice_value_left_value_0) - } - else if (RuntimeType.NUMBER == value_slice_value_left_value_type) { - valueSerializer.writeInt8(1) - const value_slice_value_left_value_1 = unsafeCast(value_slice_value_left_value) - valueSerializer.writeNumber(value_slice_value_left_value_1) - } - else if (RuntimeType.OBJECT == value_slice_value_left_value_type) { - valueSerializer.writeInt8(2) - const value_slice_value_left_value_2 = unsafeCast(value_slice_value_left_value) - valueSerializer.writeResource(value_slice_value_left_value_2) - } + else if (((RuntimeType.OBJECT) == (value_leadingMargin_value_type)) && ((value_leadingMargin_value!.hasOwnProperty("pixelMap")))) { + valueSerializer.writeInt8(1) + const value_leadingMargin_value_1 = unsafeCast(value_leadingMargin_value) + valueSerializer.writeLeadingMarginPlaceholder(value_leadingMargin_value_1) + } + } + const value_wordBreak = value.wordBreak + let value_wordBreak_type: int32 = RuntimeType.UNDEFINED + value_wordBreak_type = runtimeType(value_wordBreak) + valueSerializer.writeInt8(value_wordBreak_type) + if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { + const value_wordBreak_value = value_wordBreak! + valueSerializer.writeInt32(value_wordBreak_value.valueOf()) + } + const value_lineBreakStrategy = value.lineBreakStrategy + let value_lineBreakStrategy_type: int32 = RuntimeType.UNDEFINED + value_lineBreakStrategy_type = runtimeType(value_lineBreakStrategy) + valueSerializer.writeInt8(value_lineBreakStrategy_type) + if ((RuntimeType.UNDEFINED) != (value_lineBreakStrategy_type)) { + const value_lineBreakStrategy_value = value_lineBreakStrategy! + valueSerializer.writeInt32(value_lineBreakStrategy_value.valueOf()) + } + const value_paragraphSpacing = value.paragraphSpacing + let value_paragraphSpacing_type: int32 = RuntimeType.UNDEFINED + value_paragraphSpacing_type = runtimeType(value_paragraphSpacing) + valueSerializer.writeInt8(value_paragraphSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_paragraphSpacing_type)) { + const value_paragraphSpacing_value = value_paragraphSpacing! + valueSerializer.writeNumber(value_paragraphSpacing_value) + } + } + public writeRichEditorParagraphStyleOptions(value: RichEditorParagraphStyleOptions): void { + let valueSerializer: Serializer = this + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeNumber(value_start_value) + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeNumber(value_end_value) + } + const value_style = value.style + valueSerializer.writeRichEditorParagraphStyle(value_style) + } + public writeRotationGestureEvent(value: RotationGestureEvent): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeRunMetrics(value: RunMetrics): void { + let valueSerializer: Serializer = this + const value_textStyle = value.textStyle + valueSerializer.writetext_TextStyle(value_textStyle) + const value_fontMetrics = value.fontMetrics + valueSerializer.writeFontMetrics(value_fontMetrics) + } + public writeSectionOptions(value: SectionOptions): void { + let valueSerializer: Serializer = this + const value_itemsCount = value.itemsCount + valueSerializer.writeNumber(value_itemsCount) + const value_crossCount = value.crossCount + let value_crossCount_type: int32 = RuntimeType.UNDEFINED + value_crossCount_type = runtimeType(value_crossCount) + valueSerializer.writeInt8(value_crossCount_type) + if ((RuntimeType.UNDEFINED) != (value_crossCount_type)) { + const value_crossCount_value = value_crossCount! + valueSerializer.writeNumber(value_crossCount_value) + } + const value_onGetItemMainSizeByIndex = value.onGetItemMainSizeByIndex + let value_onGetItemMainSizeByIndex_type: int32 = RuntimeType.UNDEFINED + value_onGetItemMainSizeByIndex_type = runtimeType(value_onGetItemMainSizeByIndex) + valueSerializer.writeInt8(value_onGetItemMainSizeByIndex_type) + if ((RuntimeType.UNDEFINED) != (value_onGetItemMainSizeByIndex_type)) { + const value_onGetItemMainSizeByIndex_value = value_onGetItemMainSizeByIndex! + valueSerializer.holdAndWriteCallback(value_onGetItemMainSizeByIndex_value) + } + const value_columnsGap = value.columnsGap + let value_columnsGap_type: int32 = RuntimeType.UNDEFINED + value_columnsGap_type = runtimeType(value_columnsGap) + valueSerializer.writeInt8(value_columnsGap_type) + if ((RuntimeType.UNDEFINED) != (value_columnsGap_type)) { + const value_columnsGap_value = value_columnsGap! + let value_columnsGap_value_type: int32 = RuntimeType.UNDEFINED + value_columnsGap_value_type = runtimeType(value_columnsGap_value) + if (RuntimeType.STRING == value_columnsGap_value_type) { + valueSerializer.writeInt8(0) + const value_columnsGap_value_0 = unsafeCast(value_columnsGap_value) + valueSerializer.writeString(value_columnsGap_value_0) + } + else if (RuntimeType.NUMBER == value_columnsGap_value_type) { + valueSerializer.writeInt8(1) + const value_columnsGap_value_1 = unsafeCast(value_columnsGap_value) + valueSerializer.writeNumber(value_columnsGap_value_1) + } + else if (RuntimeType.OBJECT == value_columnsGap_value_type) { + valueSerializer.writeInt8(2) + const value_columnsGap_value_2 = unsafeCast(value_columnsGap_value) + valueSerializer.writeResource(value_columnsGap_value_2) + } + } + const value_rowsGap = value.rowsGap + let value_rowsGap_type: int32 = RuntimeType.UNDEFINED + value_rowsGap_type = runtimeType(value_rowsGap) + valueSerializer.writeInt8(value_rowsGap_type) + if ((RuntimeType.UNDEFINED) != (value_rowsGap_type)) { + const value_rowsGap_value = value_rowsGap! + let value_rowsGap_value_type: int32 = RuntimeType.UNDEFINED + value_rowsGap_value_type = runtimeType(value_rowsGap_value) + if (RuntimeType.STRING == value_rowsGap_value_type) { + valueSerializer.writeInt8(0) + const value_rowsGap_value_0 = unsafeCast(value_rowsGap_value) + valueSerializer.writeString(value_rowsGap_value_0) + } + else if (RuntimeType.NUMBER == value_rowsGap_value_type) { + valueSerializer.writeInt8(1) + const value_rowsGap_value_1 = unsafeCast(value_rowsGap_value) + valueSerializer.writeNumber(value_rowsGap_value_1) + } + else if (RuntimeType.OBJECT == value_rowsGap_value_type) { + valueSerializer.writeInt8(2) + const value_rowsGap_value_2 = unsafeCast(value_rowsGap_value) + valueSerializer.writeResource(value_rowsGap_value_2) } } - const value_lattice = value.lattice - let value_lattice_type: int32 = RuntimeType.UNDEFINED - value_lattice_type = runtimeType(value_lattice) - valueSerializer.writeInt8(value_lattice_type) - if ((RuntimeType.UNDEFINED) != (value_lattice_type)) { - const value_lattice_value = value_lattice! - valueSerializer.writeDrawingLattice(value_lattice_value) - } - } - writeRichEditorLayoutStyle(value: RichEditorLayoutStyle): void { - let valueSerializer: Serializer = this const value_margin = value.margin let value_margin_type: int32 = RuntimeType.UNDEFINED value_margin_type = runtimeType(value_margin) @@ -24873,768 +24821,689 @@ export class Serializer extends SerializerBase { const value_margin_value = value_margin! let value_margin_value_type: int32 = RuntimeType.UNDEFINED value_margin_value_type = runtimeType(value_margin_value) - if ((RuntimeType.STRING == value_margin_value_type) || (RuntimeType.NUMBER == value_margin_value_type) || (RuntimeType.OBJECT == value_margin_value_type)) { + if (((RuntimeType.OBJECT) == (value_margin_value_type)) && (((value_margin_value!.hasOwnProperty("top")) || (value_margin_value!.hasOwnProperty("right")) || (value_margin_value!.hasOwnProperty("bottom")) || (value_margin_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(0) - const value_margin_value_0 = unsafeCast(value_margin_value) - let value_margin_value_0_type: int32 = RuntimeType.UNDEFINED - value_margin_value_0_type = runtimeType(value_margin_value_0) - if (RuntimeType.STRING == value_margin_value_0_type) { + const value_margin_value_0 = unsafeCast(value_margin_value) + valueSerializer.writePadding(value_margin_value_0) + } + else if ((RuntimeType.STRING == value_margin_value_type) || (RuntimeType.NUMBER == value_margin_value_type) || (RuntimeType.OBJECT == value_margin_value_type)) { + valueSerializer.writeInt8(1) + const value_margin_value_1 = unsafeCast(value_margin_value) + let value_margin_value_1_type: int32 = RuntimeType.UNDEFINED + value_margin_value_1_type = runtimeType(value_margin_value_1) + if (RuntimeType.STRING == value_margin_value_1_type) { valueSerializer.writeInt8(0) - const value_margin_value_0_0 = unsafeCast(value_margin_value_0) - valueSerializer.writeString(value_margin_value_0_0) + const value_margin_value_1_0 = unsafeCast(value_margin_value_1) + valueSerializer.writeString(value_margin_value_1_0) } - else if (RuntimeType.NUMBER == value_margin_value_0_type) { + else if (RuntimeType.NUMBER == value_margin_value_1_type) { valueSerializer.writeInt8(1) - const value_margin_value_0_1 = unsafeCast(value_margin_value_0) - valueSerializer.writeNumber(value_margin_value_0_1) + const value_margin_value_1_1 = unsafeCast(value_margin_value_1) + valueSerializer.writeNumber(value_margin_value_1_1) } - else if (RuntimeType.OBJECT == value_margin_value_0_type) { + else if (RuntimeType.OBJECT == value_margin_value_1_type) { valueSerializer.writeInt8(2) - const value_margin_value_0_2 = unsafeCast(value_margin_value_0) - valueSerializer.writeResource(value_margin_value_0_2) + const value_margin_value_1_2 = unsafeCast(value_margin_value_1) + valueSerializer.writeResource(value_margin_value_1_2) } } - else if (((RuntimeType.OBJECT) == (value_margin_value_type)) && (((value_margin_value!.hasOwnProperty("top")) || (value_margin_value!.hasOwnProperty("right")) || (value_margin_value!.hasOwnProperty("bottom")) || (value_margin_value!.hasOwnProperty("left"))))) { + } + } + public writeSheetOptions(value: SheetOptions): void { + let valueSerializer: Serializer = this + const value_backgroundColor = value.backgroundColor + let value_backgroundColor_type: int32 = RuntimeType.UNDEFINED + value_backgroundColor_type = runtimeType(value_backgroundColor) + valueSerializer.writeInt8(value_backgroundColor_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { + const value_backgroundColor_value = value_backgroundColor! + let value_backgroundColor_value_type: int32 = RuntimeType.UNDEFINED + value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) + if (((RuntimeType.NUMBER) == (value_backgroundColor_value_type)) && ((unsafeCast(value_backgroundColor_value)) >= (0)) && ((unsafeCast(value_backgroundColor_value)) <= (11))) { + valueSerializer.writeInt8(0) + const value_backgroundColor_value_0 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeInt32(value_backgroundColor_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { valueSerializer.writeInt8(1) - const value_margin_value_1 = unsafeCast(value_margin_value) - const value_margin_value_1_top = value_margin_value_1.top - let value_margin_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_top_type = runtimeType(value_margin_value_1_top) - valueSerializer.writeInt8(value_margin_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_top_type)) { - const value_margin_value_1_top_value = value_margin_value_1_top! - let value_margin_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_top_value_type = runtimeType(value_margin_value_1_top_value) - if (RuntimeType.STRING == value_margin_value_1_top_value_type) { - valueSerializer.writeInt8(0) - const value_margin_value_1_top_value_0 = unsafeCast(value_margin_value_1_top_value) - valueSerializer.writeString(value_margin_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_margin_value_1_top_value_1 = unsafeCast(value_margin_value_1_top_value) - valueSerializer.writeNumber(value_margin_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_margin_value_1_top_value_2 = unsafeCast(value_margin_value_1_top_value) - valueSerializer.writeResource(value_margin_value_1_top_value_2) - } - } - const value_margin_value_1_right = value_margin_value_1.right - let value_margin_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_right_type = runtimeType(value_margin_value_1_right) - valueSerializer.writeInt8(value_margin_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_right_type)) { - const value_margin_value_1_right_value = value_margin_value_1_right! - let value_margin_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_right_value_type = runtimeType(value_margin_value_1_right_value) - if (RuntimeType.STRING == value_margin_value_1_right_value_type) { - valueSerializer.writeInt8(0) - const value_margin_value_1_right_value_0 = unsafeCast(value_margin_value_1_right_value) - valueSerializer.writeString(value_margin_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_margin_value_1_right_value_1 = unsafeCast(value_margin_value_1_right_value) - valueSerializer.writeNumber(value_margin_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_margin_value_1_right_value_2 = unsafeCast(value_margin_value_1_right_value) - valueSerializer.writeResource(value_margin_value_1_right_value_2) - } + const value_backgroundColor_value_1 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeNumber(value_backgroundColor_value_1) + } + else if (RuntimeType.STRING == value_backgroundColor_value_type) { + valueSerializer.writeInt8(2) + const value_backgroundColor_value_2 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeString(value_backgroundColor_value_2) + } + else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { + valueSerializer.writeInt8(3) + const value_backgroundColor_value_3 = unsafeCast(value_backgroundColor_value) + valueSerializer.writeResource(value_backgroundColor_value_3) + } + } + const value_onAppear = value.onAppear + let value_onAppear_type: int32 = RuntimeType.UNDEFINED + value_onAppear_type = runtimeType(value_onAppear) + valueSerializer.writeInt8(value_onAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { + const value_onAppear_value = value_onAppear! + valueSerializer.holdAndWriteCallback(value_onAppear_value) + } + const value_onDisappear = value.onDisappear + let value_onDisappear_type: int32 = RuntimeType.UNDEFINED + value_onDisappear_type = runtimeType(value_onDisappear) + valueSerializer.writeInt8(value_onDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { + const value_onDisappear_value = value_onDisappear! + valueSerializer.holdAndWriteCallback(value_onDisappear_value) + } + const value_onWillAppear = value.onWillAppear + let value_onWillAppear_type: int32 = RuntimeType.UNDEFINED + value_onWillAppear_type = runtimeType(value_onWillAppear) + valueSerializer.writeInt8(value_onWillAppear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { + const value_onWillAppear_value = value_onWillAppear! + valueSerializer.holdAndWriteCallback(value_onWillAppear_value) + } + const value_onWillDisappear = value.onWillDisappear + let value_onWillDisappear_type: int32 = RuntimeType.UNDEFINED + value_onWillDisappear_type = runtimeType(value_onWillDisappear) + valueSerializer.writeInt8(value_onWillDisappear_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { + const value_onWillDisappear_value = value_onWillDisappear! + valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) + } + const value_height = value.height + let value_height_type: int32 = RuntimeType.UNDEFINED + value_height_type = runtimeType(value_height) + valueSerializer.writeInt8(value_height_type) + if ((RuntimeType.UNDEFINED) != (value_height_type)) { + const value_height_value = value_height! + let value_height_value_type: int32 = RuntimeType.UNDEFINED + value_height_value_type = runtimeType(value_height_value) + if (((RuntimeType.NUMBER) == (value_height_value_type)) && ((unsafeCast(value_height_value)) >= (0)) && ((unsafeCast(value_height_value)) <= (2))) { + valueSerializer.writeInt8(0) + const value_height_value_0 = unsafeCast(value_height_value) + valueSerializer.writeInt32(value_height_value_0.valueOf()) + } + else if ((RuntimeType.STRING == value_height_value_type) || (RuntimeType.NUMBER == value_height_value_type) || (RuntimeType.OBJECT == value_height_value_type)) { + valueSerializer.writeInt8(1) + const value_height_value_1 = unsafeCast(value_height_value) + let value_height_value_1_type: int32 = RuntimeType.UNDEFINED + value_height_value_1_type = runtimeType(value_height_value_1) + if (RuntimeType.STRING == value_height_value_1_type) { + valueSerializer.writeInt8(0) + const value_height_value_1_0 = unsafeCast(value_height_value_1) + valueSerializer.writeString(value_height_value_1_0) } - const value_margin_value_1_bottom = value_margin_value_1.bottom - let value_margin_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_bottom_type = runtimeType(value_margin_value_1_bottom) - valueSerializer.writeInt8(value_margin_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_bottom_type)) { - const value_margin_value_1_bottom_value = value_margin_value_1_bottom! - let value_margin_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_bottom_value_type = runtimeType(value_margin_value_1_bottom_value) - if (RuntimeType.STRING == value_margin_value_1_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_margin_value_1_bottom_value_0 = unsafeCast(value_margin_value_1_bottom_value) - valueSerializer.writeString(value_margin_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_margin_value_1_bottom_value_1 = unsafeCast(value_margin_value_1_bottom_value) - valueSerializer.writeNumber(value_margin_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_margin_value_1_bottom_value_2 = unsafeCast(value_margin_value_1_bottom_value) - valueSerializer.writeResource(value_margin_value_1_bottom_value_2) - } + else if (RuntimeType.NUMBER == value_height_value_1_type) { + valueSerializer.writeInt8(1) + const value_height_value_1_1 = unsafeCast(value_height_value_1) + valueSerializer.writeNumber(value_height_value_1_1) } - const value_margin_value_1_left = value_margin_value_1.left - let value_margin_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_left_type = runtimeType(value_margin_value_1_left) - valueSerializer.writeInt8(value_margin_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_margin_value_1_left_type)) { - const value_margin_value_1_left_value = value_margin_value_1_left! - let value_margin_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_left_value_type = runtimeType(value_margin_value_1_left_value) - if (RuntimeType.STRING == value_margin_value_1_left_value_type) { - valueSerializer.writeInt8(0) - const value_margin_value_1_left_value_0 = unsafeCast(value_margin_value_1_left_value) - valueSerializer.writeString(value_margin_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_margin_value_1_left_value_1 = unsafeCast(value_margin_value_1_left_value) - valueSerializer.writeNumber(value_margin_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_margin_value_1_left_value_2 = unsafeCast(value_margin_value_1_left_value) - valueSerializer.writeResource(value_margin_value_1_left_value_2) - } + else if (RuntimeType.OBJECT == value_height_value_1_type) { + valueSerializer.writeInt8(2) + const value_height_value_1_2 = unsafeCast(value_height_value_1) + valueSerializer.writeResource(value_height_value_1_2) } } } - const value_borderRadius = value.borderRadius - let value_borderRadius_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_type = runtimeType(value_borderRadius) - valueSerializer.writeInt8(value_borderRadius_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_type)) { - const value_borderRadius_value = value_borderRadius! - let value_borderRadius_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_type = runtimeType(value_borderRadius_value) - if ((RuntimeType.STRING == value_borderRadius_value_type) || (RuntimeType.NUMBER == value_borderRadius_value_type) || (RuntimeType.OBJECT == value_borderRadius_value_type)) { + const value_dragBar = value.dragBar + let value_dragBar_type: int32 = RuntimeType.UNDEFINED + value_dragBar_type = runtimeType(value_dragBar) + valueSerializer.writeInt8(value_dragBar_type) + if ((RuntimeType.UNDEFINED) != (value_dragBar_type)) { + const value_dragBar_value = value_dragBar! + valueSerializer.writeBoolean(value_dragBar_value) + } + const value_maskColor = value.maskColor + let value_maskColor_type: int32 = RuntimeType.UNDEFINED + value_maskColor_type = runtimeType(value_maskColor) + valueSerializer.writeInt8(value_maskColor_type) + if ((RuntimeType.UNDEFINED) != (value_maskColor_type)) { + const value_maskColor_value = value_maskColor! + let value_maskColor_value_type: int32 = RuntimeType.UNDEFINED + value_maskColor_value_type = runtimeType(value_maskColor_value) + if (((RuntimeType.NUMBER) == (value_maskColor_value_type)) && ((unsafeCast(value_maskColor_value)) >= (0)) && ((unsafeCast(value_maskColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_borderRadius_value_0 = unsafeCast(value_borderRadius_value) - let value_borderRadius_value_0_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_0_type = runtimeType(value_borderRadius_value_0) - if (RuntimeType.STRING == value_borderRadius_value_0_type) { + const value_maskColor_value_0 = unsafeCast(value_maskColor_value) + valueSerializer.writeInt32(value_maskColor_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_maskColor_value_type) { + valueSerializer.writeInt8(1) + const value_maskColor_value_1 = unsafeCast(value_maskColor_value) + valueSerializer.writeNumber(value_maskColor_value_1) + } + else if (RuntimeType.STRING == value_maskColor_value_type) { + valueSerializer.writeInt8(2) + const value_maskColor_value_2 = unsafeCast(value_maskColor_value) + valueSerializer.writeString(value_maskColor_value_2) + } + else if (RuntimeType.OBJECT == value_maskColor_value_type) { + valueSerializer.writeInt8(3) + const value_maskColor_value_3 = unsafeCast(value_maskColor_value) + valueSerializer.writeResource(value_maskColor_value_3) + } + } + const value_detents = value.detents + let value_detents_type: int32 = RuntimeType.UNDEFINED + value_detents_type = runtimeType(value_detents) + valueSerializer.writeInt8(value_detents_type) + if ((RuntimeType.UNDEFINED) != (value_detents_type)) { + const value_detents_value = value_detents! + const value_detents_value_0 = value_detents_value[0] + let value_detents_value_0_type: int32 = RuntimeType.UNDEFINED + value_detents_value_0_type = runtimeType(value_detents_value_0) + if (((RuntimeType.NUMBER) == (value_detents_value_0_type)) && ((unsafeCast(value_detents_value_0)) >= (0)) && ((unsafeCast(value_detents_value_0)) <= (2))) { + valueSerializer.writeInt8(0) + const value_detents_value_0_0 = unsafeCast(value_detents_value_0) + valueSerializer.writeInt32(value_detents_value_0_0.valueOf()) + } + else if ((RuntimeType.STRING == value_detents_value_0_type) || (RuntimeType.NUMBER == value_detents_value_0_type) || (RuntimeType.OBJECT == value_detents_value_0_type)) { + valueSerializer.writeInt8(1) + const value_detents_value_0_1 = unsafeCast(value_detents_value_0) + let value_detents_value_0_1_type: int32 = RuntimeType.UNDEFINED + value_detents_value_0_1_type = runtimeType(value_detents_value_0_1) + if (RuntimeType.STRING == value_detents_value_0_1_type) { valueSerializer.writeInt8(0) - const value_borderRadius_value_0_0 = unsafeCast(value_borderRadius_value_0) - valueSerializer.writeString(value_borderRadius_value_0_0) + const value_detents_value_0_1_0 = unsafeCast(value_detents_value_0_1) + valueSerializer.writeString(value_detents_value_0_1_0) } - else if (RuntimeType.NUMBER == value_borderRadius_value_0_type) { + else if (RuntimeType.NUMBER == value_detents_value_0_1_type) { valueSerializer.writeInt8(1) - const value_borderRadius_value_0_1 = unsafeCast(value_borderRadius_value_0) - valueSerializer.writeNumber(value_borderRadius_value_0_1) + const value_detents_value_0_1_1 = unsafeCast(value_detents_value_0_1) + valueSerializer.writeNumber(value_detents_value_0_1_1) } - else if (RuntimeType.OBJECT == value_borderRadius_value_0_type) { + else if (RuntimeType.OBJECT == value_detents_value_0_1_type) { valueSerializer.writeInt8(2) - const value_borderRadius_value_0_2 = unsafeCast(value_borderRadius_value_0) - valueSerializer.writeResource(value_borderRadius_value_0_2) + const value_detents_value_0_1_2 = unsafeCast(value_detents_value_0_1) + valueSerializer.writeResource(value_detents_value_0_1_2) } } - else if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (((value_borderRadius_value!.hasOwnProperty("topLeft")) || (value_borderRadius_value!.hasOwnProperty("topRight")) || (value_borderRadius_value!.hasOwnProperty("bottomLeft")) || (value_borderRadius_value!.hasOwnProperty("bottomRight"))))) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1 = unsafeCast(value_borderRadius_value) - const value_borderRadius_value_1_topLeft = value_borderRadius_value_1.topLeft - let value_borderRadius_value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_type = runtimeType(value_borderRadius_value_1_topLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topLeft_type)) { - const value_borderRadius_value_1_topLeft_value = value_borderRadius_value_1_topLeft! - let value_borderRadius_value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topLeft_value_type = runtimeType(value_borderRadius_value_1_topLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_topLeft_value_0 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeString(value_borderRadius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_topLeft_value_1 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeNumber(value_borderRadius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_topLeft_value_2 = unsafeCast(value_borderRadius_value_1_topLeft_value) - valueSerializer.writeResource(value_borderRadius_value_1_topLeft_value_2) - } + const value_detents_value_1 = value_detents_value[1] + let value_detents_value_1_type: int32 = RuntimeType.UNDEFINED + value_detents_value_1_type = runtimeType(value_detents_value_1) + valueSerializer.writeInt8(value_detents_value_1_type) + if ((RuntimeType.UNDEFINED) != (value_detents_value_1_type)) { + const value_detents_value_1_value = value_detents_value_1! + let value_detents_value_1_value_type: int32 = RuntimeType.UNDEFINED + value_detents_value_1_value_type = runtimeType(value_detents_value_1_value) + if (((RuntimeType.NUMBER) == (value_detents_value_1_value_type)) && ((unsafeCast(value_detents_value_1_value)) >= (0)) && ((unsafeCast(value_detents_value_1_value)) <= (2))) { + valueSerializer.writeInt8(0) + const value_detents_value_1_value_0 = unsafeCast(value_detents_value_1_value) + valueSerializer.writeInt32(value_detents_value_1_value_0.valueOf()) } - const value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight - let value_borderRadius_value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_type = runtimeType(value_borderRadius_value_1_topRight) - valueSerializer.writeInt8(value_borderRadius_value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_topRight_type)) { - const value_borderRadius_value_1_topRight_value = value_borderRadius_value_1_topRight! - let value_borderRadius_value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_topRight_value_type = runtimeType(value_borderRadius_value_1_topRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_topRight_value_type) { + else if ((RuntimeType.STRING == value_detents_value_1_value_type) || (RuntimeType.NUMBER == value_detents_value_1_value_type) || (RuntimeType.OBJECT == value_detents_value_1_value_type)) { + valueSerializer.writeInt8(1) + const value_detents_value_1_value_1 = unsafeCast(value_detents_value_1_value) + let value_detents_value_1_value_1_type: int32 = RuntimeType.UNDEFINED + value_detents_value_1_value_1_type = runtimeType(value_detents_value_1_value_1) + if (RuntimeType.STRING == value_detents_value_1_value_1_type) { valueSerializer.writeInt8(0) - const value_borderRadius_value_1_topRight_value_0 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeString(value_borderRadius_value_1_topRight_value_0) + const value_detents_value_1_value_1_0 = unsafeCast(value_detents_value_1_value_1) + valueSerializer.writeString(value_detents_value_1_value_1_0) } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_topRight_value_type) { + else if (RuntimeType.NUMBER == value_detents_value_1_value_1_type) { valueSerializer.writeInt8(1) - const value_borderRadius_value_1_topRight_value_1 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeNumber(value_borderRadius_value_1_topRight_value_1) + const value_detents_value_1_value_1_1 = unsafeCast(value_detents_value_1_value_1) + valueSerializer.writeNumber(value_detents_value_1_value_1_1) } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_topRight_value_type) { + else if (RuntimeType.OBJECT == value_detents_value_1_value_1_type) { valueSerializer.writeInt8(2) - const value_borderRadius_value_1_topRight_value_2 = unsafeCast(value_borderRadius_value_1_topRight_value) - valueSerializer.writeResource(value_borderRadius_value_1_topRight_value_2) + const value_detents_value_1_value_1_2 = unsafeCast(value_detents_value_1_value_1) + valueSerializer.writeResource(value_detents_value_1_value_1_2) } } - const value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft - let value_borderRadius_value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_type = runtimeType(value_borderRadius_value_1_bottomLeft) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomLeft_type)) { - const value_borderRadius_value_1_bottomLeft_value = value_borderRadius_value_1_bottomLeft! - let value_borderRadius_value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomLeft_value_type = runtimeType(value_borderRadius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_borderRadius_value_1_bottomLeft_value_0 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeString(value_borderRadius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_borderRadius_value_1_bottomLeft_value_1 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeNumber(value_borderRadius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_borderRadius_value_1_bottomLeft_value_2 = unsafeCast(value_borderRadius_value_1_bottomLeft_value) - valueSerializer.writeResource(value_borderRadius_value_1_bottomLeft_value_2) - } + } + const value_detents_value_2 = value_detents_value[2] + let value_detents_value_2_type: int32 = RuntimeType.UNDEFINED + value_detents_value_2_type = runtimeType(value_detents_value_2) + valueSerializer.writeInt8(value_detents_value_2_type) + if ((RuntimeType.UNDEFINED) != (value_detents_value_2_type)) { + const value_detents_value_2_value = value_detents_value_2! + let value_detents_value_2_value_type: int32 = RuntimeType.UNDEFINED + value_detents_value_2_value_type = runtimeType(value_detents_value_2_value) + if (((RuntimeType.NUMBER) == (value_detents_value_2_value_type)) && ((unsafeCast(value_detents_value_2_value)) >= (0)) && ((unsafeCast(value_detents_value_2_value)) <= (2))) { + valueSerializer.writeInt8(0) + const value_detents_value_2_value_0 = unsafeCast(value_detents_value_2_value) + valueSerializer.writeInt32(value_detents_value_2_value_0.valueOf()) } - const value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight - let value_borderRadius_value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_type = runtimeType(value_borderRadius_value_1_bottomRight) - valueSerializer.writeInt8(value_borderRadius_value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_borderRadius_value_1_bottomRight_type)) { - const value_borderRadius_value_1_bottomRight_value = value_borderRadius_value_1_bottomRight! - let value_borderRadius_value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_borderRadius_value_1_bottomRight_value_type = runtimeType(value_borderRadius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_borderRadius_value_1_bottomRight_value_type) { + else if ((RuntimeType.STRING == value_detents_value_2_value_type) || (RuntimeType.NUMBER == value_detents_value_2_value_type) || (RuntimeType.OBJECT == value_detents_value_2_value_type)) { + valueSerializer.writeInt8(1) + const value_detents_value_2_value_1 = unsafeCast(value_detents_value_2_value) + let value_detents_value_2_value_1_type: int32 = RuntimeType.UNDEFINED + value_detents_value_2_value_1_type = runtimeType(value_detents_value_2_value_1) + if (RuntimeType.STRING == value_detents_value_2_value_1_type) { valueSerializer.writeInt8(0) - const value_borderRadius_value_1_bottomRight_value_0 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeString(value_borderRadius_value_1_bottomRight_value_0) + const value_detents_value_2_value_1_0 = unsafeCast(value_detents_value_2_value_1) + valueSerializer.writeString(value_detents_value_2_value_1_0) } - else if (RuntimeType.NUMBER == value_borderRadius_value_1_bottomRight_value_type) { + else if (RuntimeType.NUMBER == value_detents_value_2_value_1_type) { valueSerializer.writeInt8(1) - const value_borderRadius_value_1_bottomRight_value_1 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeNumber(value_borderRadius_value_1_bottomRight_value_1) + const value_detents_value_2_value_1_1 = unsafeCast(value_detents_value_2_value_1) + valueSerializer.writeNumber(value_detents_value_2_value_1_1) } - else if (RuntimeType.OBJECT == value_borderRadius_value_1_bottomRight_value_type) { + else if (RuntimeType.OBJECT == value_detents_value_2_value_1_type) { valueSerializer.writeInt8(2) - const value_borderRadius_value_1_bottomRight_value_2 = unsafeCast(value_borderRadius_value_1_bottomRight_value) - valueSerializer.writeResource(value_borderRadius_value_1_bottomRight_value_2) + const value_detents_value_2_value_1_2 = unsafeCast(value_detents_value_2_value_1) + valueSerializer.writeResource(value_detents_value_2_value_1_2) } } } } - } - writeRichEditorSymbolSpanOptions(value: RichEditorSymbolSpanOptions): void { - let valueSerializer: Serializer = this - const value_offset = value.offset - let value_offset_type: int32 = RuntimeType.UNDEFINED - value_offset_type = runtimeType(value_offset) - valueSerializer.writeInt8(value_offset_type) - if ((RuntimeType.UNDEFINED) != (value_offset_type)) { - const value_offset_value = value_offset! - valueSerializer.writeNumber(value_offset_value) - } - const value_style = value.style - let value_style_type: int32 = RuntimeType.UNDEFINED - value_style_type = runtimeType(value_style) - valueSerializer.writeInt8(value_style_type) - if ((RuntimeType.UNDEFINED) != (value_style_type)) { - const value_style_value = value_style! - valueSerializer.writeRichEditorSymbolSpanStyle(value_style_value) - } - } - writeRichEditorTextStyle(value: RichEditorTextStyle): void { - let valueSerializer: Serializer = this - const value_fontColor = value.fontColor - let value_fontColor_type: int32 = RuntimeType.UNDEFINED - value_fontColor_type = runtimeType(value_fontColor) - valueSerializer.writeInt8(value_fontColor_type) - if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { - const value_fontColor_value = value_fontColor! - let value_fontColor_value_type: int32 = RuntimeType.UNDEFINED - value_fontColor_value_type = runtimeType(value_fontColor_value) - if (((RuntimeType.NUMBER) == (value_fontColor_value_type)) && ((unsafeCast(value_fontColor_value)) >= (0)) && ((unsafeCast(value_fontColor_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_fontColor_value_0 = unsafeCast(value_fontColor_value) - valueSerializer.writeInt32(value_fontColor_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_fontColor_value_type) { - valueSerializer.writeInt8(1) - const value_fontColor_value_1 = unsafeCast(value_fontColor_value) - valueSerializer.writeNumber(value_fontColor_value_1) - } - else if (RuntimeType.STRING == value_fontColor_value_type) { - valueSerializer.writeInt8(2) - const value_fontColor_value_2 = unsafeCast(value_fontColor_value) - valueSerializer.writeString(value_fontColor_value_2) - } - else if (RuntimeType.OBJECT == value_fontColor_value_type) { - valueSerializer.writeInt8(3) - const value_fontColor_value_3 = unsafeCast(value_fontColor_value) - valueSerializer.writeResource(value_fontColor_value_3) - } - } - const value_fontSize = value.fontSize - let value_fontSize_type: int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - let value_fontSize_value_type: int32 = RuntimeType.UNDEFINED - value_fontSize_value_type = runtimeType(value_fontSize_value) - if (RuntimeType.STRING == value_fontSize_value_type) { - valueSerializer.writeInt8(0) - const value_fontSize_value_0 = unsafeCast(value_fontSize_value) - valueSerializer.writeString(value_fontSize_value_0) - } - else if (RuntimeType.NUMBER == value_fontSize_value_type) { - valueSerializer.writeInt8(1) - const value_fontSize_value_1 = unsafeCast(value_fontSize_value) - valueSerializer.writeNumber(value_fontSize_value_1) - } - else if (RuntimeType.OBJECT == value_fontSize_value_type) { - valueSerializer.writeInt8(2) - const value_fontSize_value_2 = unsafeCast(value_fontSize_value) - valueSerializer.writeResource(value_fontSize_value_2) - } - } - const value_fontStyle = value.fontStyle - let value_fontStyle_type: int32 = RuntimeType.UNDEFINED - value_fontStyle_type = runtimeType(value_fontStyle) - valueSerializer.writeInt8(value_fontStyle_type) - if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { - const value_fontStyle_value = value_fontStyle! - valueSerializer.writeInt32(value_fontStyle_value.valueOf()) - } - const value_fontWeight = value.fontWeight - let value_fontWeight_type: int32 = RuntimeType.UNDEFINED - value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type) - if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { - const value_fontWeight_value = value_fontWeight! - let value_fontWeight_value_type: int32 = RuntimeType.UNDEFINED - value_fontWeight_value_type = runtimeType(value_fontWeight_value) - if (RuntimeType.NUMBER == value_fontWeight_value_type) { - valueSerializer.writeInt8(0) - const value_fontWeight_value_0 = unsafeCast(value_fontWeight_value) - valueSerializer.writeNumber(value_fontWeight_value_0) - } - else if (((RuntimeType.NUMBER) == (value_fontWeight_value_type)) && ((unsafeCast(value_fontWeight_value)) >= (0)) && ((unsafeCast(value_fontWeight_value)) <= (5))) { - valueSerializer.writeInt8(1) - const value_fontWeight_value_1 = unsafeCast(value_fontWeight_value) - valueSerializer.writeInt32(value_fontWeight_value_1.valueOf()) - } - else if (RuntimeType.STRING == value_fontWeight_value_type) { - valueSerializer.writeInt8(2) - const value_fontWeight_value_2 = unsafeCast(value_fontWeight_value) - valueSerializer.writeString(value_fontWeight_value_2) - } - } - const value_fontFamily = value.fontFamily - let value_fontFamily_type: int32 = RuntimeType.UNDEFINED - value_fontFamily_type = runtimeType(value_fontFamily) - valueSerializer.writeInt8(value_fontFamily_type) - if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { - const value_fontFamily_value = value_fontFamily! - let value_fontFamily_value_type: int32 = RuntimeType.UNDEFINED - value_fontFamily_value_type = runtimeType(value_fontFamily_value) - if (RuntimeType.STRING == value_fontFamily_value_type) { - valueSerializer.writeInt8(0) - const value_fontFamily_value_0 = unsafeCast(value_fontFamily_value) - valueSerializer.writeString(value_fontFamily_value_0) - } - else if (RuntimeType.OBJECT == value_fontFamily_value_type) { - valueSerializer.writeInt8(1) - const value_fontFamily_value_1 = unsafeCast(value_fontFamily_value) - valueSerializer.writeResource(value_fontFamily_value_1) - } - } - const value_decoration = value.decoration - let value_decoration_type: int32 = RuntimeType.UNDEFINED - value_decoration_type = runtimeType(value_decoration) - valueSerializer.writeInt8(value_decoration_type) - if ((RuntimeType.UNDEFINED) != (value_decoration_type)) { - const value_decoration_value = value_decoration! - valueSerializer.writeDecorationStyleInterface(value_decoration_value) + const value_blurStyle = value.blurStyle + let value_blurStyle_type: int32 = RuntimeType.UNDEFINED + value_blurStyle_type = runtimeType(value_blurStyle) + valueSerializer.writeInt8(value_blurStyle_type) + if ((RuntimeType.UNDEFINED) != (value_blurStyle_type)) { + const value_blurStyle_value = value_blurStyle! + valueSerializer.writeInt32(value_blurStyle_value.valueOf()) } - const value_textShadow = value.textShadow - let value_textShadow_type: int32 = RuntimeType.UNDEFINED - value_textShadow_type = runtimeType(value_textShadow) - valueSerializer.writeInt8(value_textShadow_type) - if ((RuntimeType.UNDEFINED) != (value_textShadow_type)) { - const value_textShadow_value = value_textShadow! - let value_textShadow_value_type: int32 = RuntimeType.UNDEFINED - value_textShadow_value_type = runtimeType(value_textShadow_value) - if (((RuntimeType.OBJECT) == (value_textShadow_value_type)) && ((value_textShadow_value!.hasOwnProperty("radius")))) { + const value_showClose = value.showClose + let value_showClose_type: int32 = RuntimeType.UNDEFINED + value_showClose_type = runtimeType(value_showClose) + valueSerializer.writeInt8(value_showClose_type) + if ((RuntimeType.UNDEFINED) != (value_showClose_type)) { + const value_showClose_value = value_showClose! + let value_showClose_value_type: int32 = RuntimeType.UNDEFINED + value_showClose_value_type = runtimeType(value_showClose_value) + if (RuntimeType.BOOLEAN == value_showClose_value_type) { valueSerializer.writeInt8(0) - const value_textShadow_value_0 = unsafeCast(value_textShadow_value) - valueSerializer.writeShadowOptions(value_textShadow_value_0) + const value_showClose_value_0 = unsafeCast(value_showClose_value) + valueSerializer.writeBoolean(value_showClose_value_0) } - else if (((RuntimeType.OBJECT) == (value_textShadow_value_type)) && (value_textShadow_value instanceof Array)) { + else if (RuntimeType.OBJECT == value_showClose_value_type) { valueSerializer.writeInt8(1) - const value_textShadow_value_1 = unsafeCast>(value_textShadow_value) - valueSerializer.writeInt32(value_textShadow_value_1.length) - for (let i = 0; i < value_textShadow_value_1.length; i++) { - const value_textShadow_value_1_element: ShadowOptions = value_textShadow_value_1[i] - valueSerializer.writeShadowOptions(value_textShadow_value_1_element) - } + const value_showClose_value_1 = unsafeCast(value_showClose_value) + valueSerializer.writeResource(value_showClose_value_1) } } - const value_letterSpacing = value.letterSpacing - let value_letterSpacing_type: int32 = RuntimeType.UNDEFINED - value_letterSpacing_type = runtimeType(value_letterSpacing) - valueSerializer.writeInt8(value_letterSpacing_type) - if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { - const value_letterSpacing_value = value_letterSpacing! - let value_letterSpacing_value_type: int32 = RuntimeType.UNDEFINED - value_letterSpacing_value_type = runtimeType(value_letterSpacing_value) - if (RuntimeType.NUMBER == value_letterSpacing_value_type) { + const value_preferType = value.preferType + let value_preferType_type: int32 = RuntimeType.UNDEFINED + value_preferType_type = runtimeType(value_preferType) + valueSerializer.writeInt8(value_preferType_type) + if ((RuntimeType.UNDEFINED) != (value_preferType_type)) { + const value_preferType_value = value_preferType! + valueSerializer.writeInt32(value_preferType_value.valueOf()) + } + const value_title = value.title + let value_title_type: int32 = RuntimeType.UNDEFINED + value_title_type = runtimeType(value_title) + valueSerializer.writeInt8(value_title_type) + if ((RuntimeType.UNDEFINED) != (value_title_type)) { + const value_title_value = value_title! + let value_title_value_type: int32 = RuntimeType.UNDEFINED + value_title_value_type = runtimeType(value_title_value) + if (RuntimeType.OBJECT == value_title_value_type) { valueSerializer.writeInt8(0) - const value_letterSpacing_value_0 = unsafeCast(value_letterSpacing_value) - valueSerializer.writeNumber(value_letterSpacing_value_0) + const value_title_value_0 = unsafeCast(value_title_value) + valueSerializer.writeSheetTitleOptions(value_title_value_0) } - else if (RuntimeType.STRING == value_letterSpacing_value_type) { + else if (RuntimeType.FUNCTION == value_title_value_type) { valueSerializer.writeInt8(1) - const value_letterSpacing_value_1 = unsafeCast(value_letterSpacing_value) - valueSerializer.writeString(value_letterSpacing_value_1) + const value_title_value_1 = unsafeCast(value_title_value) + valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_title_value_1)) } } - const value_lineHeight = value.lineHeight - let value_lineHeight_type: int32 = RuntimeType.UNDEFINED - value_lineHeight_type = runtimeType(value_lineHeight) - valueSerializer.writeInt8(value_lineHeight_type) - if ((RuntimeType.UNDEFINED) != (value_lineHeight_type)) { - const value_lineHeight_value = value_lineHeight! - let value_lineHeight_value_type: int32 = RuntimeType.UNDEFINED - value_lineHeight_value_type = runtimeType(value_lineHeight_value) - if (RuntimeType.NUMBER == value_lineHeight_value_type) { + const value_shouldDismiss = value.shouldDismiss + let value_shouldDismiss_type: int32 = RuntimeType.UNDEFINED + value_shouldDismiss_type = runtimeType(value_shouldDismiss) + valueSerializer.writeInt8(value_shouldDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_shouldDismiss_type)) { + const value_shouldDismiss_value = value_shouldDismiss! + valueSerializer.holdAndWriteCallback(value_shouldDismiss_value) + } + const value_onWillDismiss = value.onWillDismiss + let value_onWillDismiss_type: int32 = RuntimeType.UNDEFINED + value_onWillDismiss_type = runtimeType(value_onWillDismiss) + valueSerializer.writeInt8(value_onWillDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { + const value_onWillDismiss_value = value_onWillDismiss! + valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) + } + const value_onWillSpringBackWhenDismiss = value.onWillSpringBackWhenDismiss + let value_onWillSpringBackWhenDismiss_type: int32 = RuntimeType.UNDEFINED + value_onWillSpringBackWhenDismiss_type = runtimeType(value_onWillSpringBackWhenDismiss) + valueSerializer.writeInt8(value_onWillSpringBackWhenDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_onWillSpringBackWhenDismiss_type)) { + const value_onWillSpringBackWhenDismiss_value = value_onWillSpringBackWhenDismiss! + valueSerializer.holdAndWriteCallback(value_onWillSpringBackWhenDismiss_value) + } + const value_enableOutsideInteractive = value.enableOutsideInteractive + let value_enableOutsideInteractive_type: int32 = RuntimeType.UNDEFINED + value_enableOutsideInteractive_type = runtimeType(value_enableOutsideInteractive) + valueSerializer.writeInt8(value_enableOutsideInteractive_type) + if ((RuntimeType.UNDEFINED) != (value_enableOutsideInteractive_type)) { + const value_enableOutsideInteractive_value = value_enableOutsideInteractive! + valueSerializer.writeBoolean(value_enableOutsideInteractive_value) + } + const value_width = value.width + let value_width_type: int32 = RuntimeType.UNDEFINED + value_width_type = runtimeType(value_width) + valueSerializer.writeInt8(value_width_type) + if ((RuntimeType.UNDEFINED) != (value_width_type)) { + const value_width_value = value_width! + let value_width_value_type: int32 = RuntimeType.UNDEFINED + value_width_value_type = runtimeType(value_width_value) + if (RuntimeType.STRING == value_width_value_type) { valueSerializer.writeInt8(0) - const value_lineHeight_value_0 = unsafeCast(value_lineHeight_value) - valueSerializer.writeNumber(value_lineHeight_value_0) + const value_width_value_0 = unsafeCast(value_width_value) + valueSerializer.writeString(value_width_value_0) } - else if (RuntimeType.STRING == value_lineHeight_value_type) { + else if (RuntimeType.NUMBER == value_width_value_type) { valueSerializer.writeInt8(1) - const value_lineHeight_value_1 = unsafeCast(value_lineHeight_value) - valueSerializer.writeString(value_lineHeight_value_1) + const value_width_value_1 = unsafeCast(value_width_value) + valueSerializer.writeNumber(value_width_value_1) } - else if (RuntimeType.OBJECT == value_lineHeight_value_type) { + else if (RuntimeType.OBJECT == value_width_value_type) { valueSerializer.writeInt8(2) - const value_lineHeight_value_2 = unsafeCast(value_lineHeight_value) - valueSerializer.writeResource(value_lineHeight_value_2) + const value_width_value_2 = unsafeCast(value_width_value) + valueSerializer.writeResource(value_width_value_2) } } - const value_fontFeature = value.fontFeature - let value_fontFeature_type: int32 = RuntimeType.UNDEFINED - value_fontFeature_type = runtimeType(value_fontFeature) - valueSerializer.writeInt8(value_fontFeature_type) - if ((RuntimeType.UNDEFINED) != (value_fontFeature_type)) { - const value_fontFeature_value = value_fontFeature! - valueSerializer.writeString(value_fontFeature_value) - } - } - writeRichEditorUpdateTextSpanStyleOptions(value: RichEditorUpdateTextSpanStyleOptions): void { - let valueSerializer: Serializer = this - const value_start = value.start - let value_start_type: int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeNumber(value_start_value) - } - const value_end = value.end - let value_end_type: int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeNumber(value_end_value) - } - const value_textStyle = value.textStyle - valueSerializer.writeRichEditorTextStyle(value_textStyle) - } - writeRotationGestureEvent(value: RotationGestureEvent): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeScrollSnapOptions(value: ScrollSnapOptions): void { - let valueSerializer: Serializer = this - const value_snapAlign = value.snapAlign - valueSerializer.writeInt32(value_snapAlign.valueOf()) - const value_snapPagination = value.snapPagination - let value_snapPagination_type: int32 = RuntimeType.UNDEFINED - value_snapPagination_type = runtimeType(value_snapPagination) - valueSerializer.writeInt8(value_snapPagination_type) - if ((RuntimeType.UNDEFINED) != (value_snapPagination_type)) { - const value_snapPagination_value = value_snapPagination! - let value_snapPagination_value_type: int32 = RuntimeType.UNDEFINED - value_snapPagination_value_type = runtimeType(value_snapPagination_value) - if ((RuntimeType.STRING == value_snapPagination_value_type) || (RuntimeType.NUMBER == value_snapPagination_value_type) || (RuntimeType.OBJECT == value_snapPagination_value_type)) { + const value_borderWidth = value.borderWidth + let value_borderWidth_type: int32 = RuntimeType.UNDEFINED + value_borderWidth_type = runtimeType(value_borderWidth) + valueSerializer.writeInt8(value_borderWidth_type) + if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { + const value_borderWidth_value = value_borderWidth! + let value_borderWidth_value_type: int32 = RuntimeType.UNDEFINED + value_borderWidth_value_type = runtimeType(value_borderWidth_value) + if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { valueSerializer.writeInt8(0) - const value_snapPagination_value_0 = unsafeCast(value_snapPagination_value) - let value_snapPagination_value_0_type: int32 = RuntimeType.UNDEFINED - value_snapPagination_value_0_type = runtimeType(value_snapPagination_value_0) - if (RuntimeType.STRING == value_snapPagination_value_0_type) { + const value_borderWidth_value_0 = unsafeCast(value_borderWidth_value) + let value_borderWidth_value_0_type: int32 = RuntimeType.UNDEFINED + value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) + if (RuntimeType.STRING == value_borderWidth_value_0_type) { valueSerializer.writeInt8(0) - const value_snapPagination_value_0_0 = unsafeCast(value_snapPagination_value_0) - valueSerializer.writeString(value_snapPagination_value_0_0) + const value_borderWidth_value_0_0 = unsafeCast(value_borderWidth_value_0) + valueSerializer.writeString(value_borderWidth_value_0_0) } - else if (RuntimeType.NUMBER == value_snapPagination_value_0_type) { + else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { valueSerializer.writeInt8(1) - const value_snapPagination_value_0_1 = unsafeCast(value_snapPagination_value_0) - valueSerializer.writeNumber(value_snapPagination_value_0_1) + const value_borderWidth_value_0_1 = unsafeCast(value_borderWidth_value_0) + valueSerializer.writeNumber(value_borderWidth_value_0_1) } - else if (RuntimeType.OBJECT == value_snapPagination_value_0_type) { + else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { valueSerializer.writeInt8(2) - const value_snapPagination_value_0_2 = unsafeCast(value_snapPagination_value_0) - valueSerializer.writeResource(value_snapPagination_value_0_2) + const value_borderWidth_value_0_2 = unsafeCast(value_borderWidth_value_0) + valueSerializer.writeResource(value_borderWidth_value_0_2) } } - else if (((RuntimeType.OBJECT) == (value_snapPagination_value_type)) && (value_snapPagination_value instanceof Array)) { + else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("right")) || (value_borderWidth_value!.hasOwnProperty("left"))))) { valueSerializer.writeInt8(1) - const value_snapPagination_value_1 = unsafeCast>(value_snapPagination_value) - valueSerializer.writeInt32(value_snapPagination_value_1.length) - for (let i = 0; i < value_snapPagination_value_1.length; i++) { - const value_snapPagination_value_1_element: Dimension = value_snapPagination_value_1[i] - let value_snapPagination_value_1_element_type: int32 = RuntimeType.UNDEFINED - value_snapPagination_value_1_element_type = runtimeType(value_snapPagination_value_1_element) - if (RuntimeType.STRING == value_snapPagination_value_1_element_type) { - valueSerializer.writeInt8(0) - const value_snapPagination_value_1_element_0 = unsafeCast(value_snapPagination_value_1_element) - valueSerializer.writeString(value_snapPagination_value_1_element_0) - } - else if (RuntimeType.NUMBER == value_snapPagination_value_1_element_type) { - valueSerializer.writeInt8(1) - const value_snapPagination_value_1_element_1 = unsafeCast(value_snapPagination_value_1_element) - valueSerializer.writeNumber(value_snapPagination_value_1_element_1) - } - else if (RuntimeType.OBJECT == value_snapPagination_value_1_element_type) { - valueSerializer.writeInt8(2) - const value_snapPagination_value_1_element_2 = unsafeCast(value_snapPagination_value_1_element) - valueSerializer.writeResource(value_snapPagination_value_1_element_2) - } - } + const value_borderWidth_value_1 = unsafeCast(value_borderWidth_value) + valueSerializer.writeEdgeWidths(value_borderWidth_value_1) + } + else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("end")) || (value_borderWidth_value!.hasOwnProperty("start"))))) { + valueSerializer.writeInt8(2) + const value_borderWidth_value_2 = unsafeCast(value_borderWidth_value) + valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2) } } - const value_enableSnapToStart = value.enableSnapToStart - let value_enableSnapToStart_type: int32 = RuntimeType.UNDEFINED - value_enableSnapToStart_type = runtimeType(value_enableSnapToStart) - valueSerializer.writeInt8(value_enableSnapToStart_type) - if ((RuntimeType.UNDEFINED) != (value_enableSnapToStart_type)) { - const value_enableSnapToStart_value = value_enableSnapToStart! - valueSerializer.writeBoolean(value_enableSnapToStart_value) - } - const value_enableSnapToEnd = value.enableSnapToEnd - let value_enableSnapToEnd_type: int32 = RuntimeType.UNDEFINED - value_enableSnapToEnd_type = runtimeType(value_enableSnapToEnd) - valueSerializer.writeInt8(value_enableSnapToEnd_type) - if ((RuntimeType.UNDEFINED) != (value_enableSnapToEnd_type)) { - const value_enableSnapToEnd_value = value_enableSnapToEnd! - valueSerializer.writeBoolean(value_enableSnapToEnd_value) - } - } - writeSectionOptions(value: SectionOptions): void { - let valueSerializer: Serializer = this - const value_itemsCount = value.itemsCount - valueSerializer.writeNumber(value_itemsCount) - const value_crossCount = value.crossCount - let value_crossCount_type: int32 = RuntimeType.UNDEFINED - value_crossCount_type = runtimeType(value_crossCount) - valueSerializer.writeInt8(value_crossCount_type) - if ((RuntimeType.UNDEFINED) != (value_crossCount_type)) { - const value_crossCount_value = value_crossCount! - valueSerializer.writeNumber(value_crossCount_value) - } - const value_onGetItemMainSizeByIndex = value.onGetItemMainSizeByIndex - let value_onGetItemMainSizeByIndex_type: int32 = RuntimeType.UNDEFINED - value_onGetItemMainSizeByIndex_type = runtimeType(value_onGetItemMainSizeByIndex) - valueSerializer.writeInt8(value_onGetItemMainSizeByIndex_type) - if ((RuntimeType.UNDEFINED) != (value_onGetItemMainSizeByIndex_type)) { - const value_onGetItemMainSizeByIndex_value = value_onGetItemMainSizeByIndex! - valueSerializer.holdAndWriteCallback(value_onGetItemMainSizeByIndex_value) + const value_borderColor = value.borderColor + let value_borderColor_type: int32 = RuntimeType.UNDEFINED + value_borderColor_type = runtimeType(value_borderColor) + valueSerializer.writeInt8(value_borderColor_type) + if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { + const value_borderColor_value = value_borderColor! + let value_borderColor_value_type: int32 = RuntimeType.UNDEFINED + value_borderColor_value_type = runtimeType(value_borderColor_value) + if ((((RuntimeType.NUMBER) == (value_borderColor_value_type)) && ((unsafeCast(value_borderColor_value)) >= (0)) && ((unsafeCast(value_borderColor_value)) <= (11))) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0 = unsafeCast(value_borderColor_value) + let value_borderColor_value_0_type: int32 = RuntimeType.UNDEFINED + value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) + if (((RuntimeType.NUMBER) == (value_borderColor_value_0_type)) && ((unsafeCast(value_borderColor_value_0)) >= (0)) && ((unsafeCast(value_borderColor_value_0)) <= (11))) { + valueSerializer.writeInt8(0) + const value_borderColor_value_0_0 = unsafeCast(value_borderColor_value_0) + valueSerializer.writeInt32(value_borderColor_value_0_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { + valueSerializer.writeInt8(1) + const value_borderColor_value_0_1 = unsafeCast(value_borderColor_value_0) + valueSerializer.writeNumber(value_borderColor_value_0_1) + } + else if (RuntimeType.STRING == value_borderColor_value_0_type) { + valueSerializer.writeInt8(2) + const value_borderColor_value_0_2 = unsafeCast(value_borderColor_value_0) + valueSerializer.writeString(value_borderColor_value_0_2) + } + else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { + valueSerializer.writeInt8(3) + const value_borderColor_value_0_3 = unsafeCast(value_borderColor_value_0) + valueSerializer.writeResource(value_borderColor_value_0_3) + } + } + else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("right")) || (value_borderColor_value!.hasOwnProperty("left"))))) { + valueSerializer.writeInt8(1) + const value_borderColor_value_1 = unsafeCast(value_borderColor_value) + valueSerializer.writeEdgeColors(value_borderColor_value_1) + } + else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("end")) || (value_borderColor_value!.hasOwnProperty("start"))))) { + valueSerializer.writeInt8(2) + const value_borderColor_value_2 = unsafeCast(value_borderColor_value) + valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2) + } } - const value_columnsGap = value.columnsGap - let value_columnsGap_type: int32 = RuntimeType.UNDEFINED - value_columnsGap_type = runtimeType(value_columnsGap) - valueSerializer.writeInt8(value_columnsGap_type) - if ((RuntimeType.UNDEFINED) != (value_columnsGap_type)) { - const value_columnsGap_value = value_columnsGap! - let value_columnsGap_value_type: int32 = RuntimeType.UNDEFINED - value_columnsGap_value_type = runtimeType(value_columnsGap_value) - if (RuntimeType.STRING == value_columnsGap_value_type) { + const value_borderStyle = value.borderStyle + let value_borderStyle_type: int32 = RuntimeType.UNDEFINED + value_borderStyle_type = runtimeType(value_borderStyle) + valueSerializer.writeInt8(value_borderStyle_type) + if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { + const value_borderStyle_value = value_borderStyle! + let value_borderStyle_value_type: int32 = RuntimeType.UNDEFINED + value_borderStyle_value_type = runtimeType(value_borderStyle_value) + if (RuntimeType.NUMBER == value_borderStyle_value_type) { valueSerializer.writeInt8(0) - const value_columnsGap_value_0 = unsafeCast(value_columnsGap_value) - valueSerializer.writeString(value_columnsGap_value_0) + const value_borderStyle_value_0 = unsafeCast(value_borderStyle_value) + valueSerializer.writeInt32(value_borderStyle_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_columnsGap_value_type) { + else if (RuntimeType.OBJECT == value_borderStyle_value_type) { valueSerializer.writeInt8(1) - const value_columnsGap_value_1 = unsafeCast(value_columnsGap_value) - valueSerializer.writeNumber(value_columnsGap_value_1) + const value_borderStyle_value_1 = unsafeCast(value_borderStyle_value) + valueSerializer.writeEdgeStyles(value_borderStyle_value_1) } - else if (RuntimeType.OBJECT == value_columnsGap_value_type) { - valueSerializer.writeInt8(2) - const value_columnsGap_value_2 = unsafeCast(value_columnsGap_value) - valueSerializer.writeResource(value_columnsGap_value_2) + } + const value_shadow = value.shadow + let value_shadow_type: int32 = RuntimeType.UNDEFINED + value_shadow_type = runtimeType(value_shadow) + valueSerializer.writeInt8(value_shadow_type) + if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { + const value_shadow_value = value_shadow! + let value_shadow_value_type: int32 = RuntimeType.UNDEFINED + value_shadow_value_type = runtimeType(value_shadow_value) + if (RuntimeType.OBJECT == value_shadow_value_type) { + valueSerializer.writeInt8(0) + const value_shadow_value_0 = unsafeCast(value_shadow_value) + valueSerializer.writeShadowOptions(value_shadow_value_0) + } + else if (RuntimeType.NUMBER == value_shadow_value_type) { + valueSerializer.writeInt8(1) + const value_shadow_value_1 = unsafeCast(value_shadow_value) + valueSerializer.writeInt32(value_shadow_value_1.valueOf()) } } - const value_rowsGap = value.rowsGap - let value_rowsGap_type: int32 = RuntimeType.UNDEFINED - value_rowsGap_type = runtimeType(value_rowsGap) - valueSerializer.writeInt8(value_rowsGap_type) - if ((RuntimeType.UNDEFINED) != (value_rowsGap_type)) { - const value_rowsGap_value = value_rowsGap! - let value_rowsGap_value_type: int32 = RuntimeType.UNDEFINED - value_rowsGap_value_type = runtimeType(value_rowsGap_value) - if (RuntimeType.STRING == value_rowsGap_value_type) { + const value_onHeightDidChange = value.onHeightDidChange + let value_onHeightDidChange_type: int32 = RuntimeType.UNDEFINED + value_onHeightDidChange_type = runtimeType(value_onHeightDidChange) + valueSerializer.writeInt8(value_onHeightDidChange_type) + if ((RuntimeType.UNDEFINED) != (value_onHeightDidChange_type)) { + const value_onHeightDidChange_value = value_onHeightDidChange! + valueSerializer.holdAndWriteCallback(value_onHeightDidChange_value) + } + const value_mode = value.mode + let value_mode_type: int32 = RuntimeType.UNDEFINED + value_mode_type = runtimeType(value_mode) + valueSerializer.writeInt8(value_mode_type) + if ((RuntimeType.UNDEFINED) != (value_mode_type)) { + const value_mode_value = value_mode! + valueSerializer.writeInt32(value_mode_value.valueOf()) + } + const value_scrollSizeMode = value.scrollSizeMode + let value_scrollSizeMode_type: int32 = RuntimeType.UNDEFINED + value_scrollSizeMode_type = runtimeType(value_scrollSizeMode) + valueSerializer.writeInt8(value_scrollSizeMode_type) + if ((RuntimeType.UNDEFINED) != (value_scrollSizeMode_type)) { + const value_scrollSizeMode_value = value_scrollSizeMode! + valueSerializer.writeInt32(value_scrollSizeMode_value.valueOf()) + } + const value_onDetentsDidChange = value.onDetentsDidChange + let value_onDetentsDidChange_type: int32 = RuntimeType.UNDEFINED + value_onDetentsDidChange_type = runtimeType(value_onDetentsDidChange) + valueSerializer.writeInt8(value_onDetentsDidChange_type) + if ((RuntimeType.UNDEFINED) != (value_onDetentsDidChange_type)) { + const value_onDetentsDidChange_value = value_onDetentsDidChange! + valueSerializer.holdAndWriteCallback(value_onDetentsDidChange_value) + } + const value_onWidthDidChange = value.onWidthDidChange + let value_onWidthDidChange_type: int32 = RuntimeType.UNDEFINED + value_onWidthDidChange_type = runtimeType(value_onWidthDidChange) + valueSerializer.writeInt8(value_onWidthDidChange_type) + if ((RuntimeType.UNDEFINED) != (value_onWidthDidChange_type)) { + const value_onWidthDidChange_value = value_onWidthDidChange! + valueSerializer.holdAndWriteCallback(value_onWidthDidChange_value) + } + const value_onTypeDidChange = value.onTypeDidChange + let value_onTypeDidChange_type: int32 = RuntimeType.UNDEFINED + value_onTypeDidChange_type = runtimeType(value_onTypeDidChange) + valueSerializer.writeInt8(value_onTypeDidChange_type) + if ((RuntimeType.UNDEFINED) != (value_onTypeDidChange_type)) { + const value_onTypeDidChange_value = value_onTypeDidChange! + valueSerializer.holdAndWriteCallback(value_onTypeDidChange_value) + } + const value_uiContext = value.uiContext + let value_uiContext_type: int32 = RuntimeType.UNDEFINED + value_uiContext_type = runtimeType(value_uiContext) + valueSerializer.writeInt8(value_uiContext_type) + if ((RuntimeType.UNDEFINED) != (value_uiContext_type)) { + const value_uiContext_value = value_uiContext! + valueSerializer.writeUIContext(value_uiContext_value) + } + const value_keyboardAvoidMode = value.keyboardAvoidMode + let value_keyboardAvoidMode_type: int32 = RuntimeType.UNDEFINED + value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode) + valueSerializer.writeInt8(value_keyboardAvoidMode_type) + if ((RuntimeType.UNDEFINED) != (value_keyboardAvoidMode_type)) { + const value_keyboardAvoidMode_value = value_keyboardAvoidMode! + valueSerializer.writeInt32(value_keyboardAvoidMode_value.valueOf()) + } + const value_enableHoverMode = value.enableHoverMode + let value_enableHoverMode_type: int32 = RuntimeType.UNDEFINED + value_enableHoverMode_type = runtimeType(value_enableHoverMode) + valueSerializer.writeInt8(value_enableHoverMode_type) + if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { + const value_enableHoverMode_value = value_enableHoverMode! + valueSerializer.writeBoolean(value_enableHoverMode_value) + } + const value_hoverModeArea = value.hoverModeArea + let value_hoverModeArea_type: int32 = RuntimeType.UNDEFINED + value_hoverModeArea_type = runtimeType(value_hoverModeArea) + valueSerializer.writeInt8(value_hoverModeArea_type) + if ((RuntimeType.UNDEFINED) != (value_hoverModeArea_type)) { + const value_hoverModeArea_value = value_hoverModeArea! + valueSerializer.writeInt32(value_hoverModeArea_value.valueOf()) + } + const value_offset = value.offset + let value_offset_type: int32 = RuntimeType.UNDEFINED + value_offset_type = runtimeType(value_offset) + valueSerializer.writeInt8(value_offset_type) + if ((RuntimeType.UNDEFINED) != (value_offset_type)) { + const value_offset_value = value_offset! + valueSerializer.writePosition(value_offset_value) + } + const value_effectEdge = value.effectEdge + let value_effectEdge_type: int32 = RuntimeType.UNDEFINED + value_effectEdge_type = runtimeType(value_effectEdge) + valueSerializer.writeInt8(value_effectEdge_type) + if ((RuntimeType.UNDEFINED) != (value_effectEdge_type)) { + const value_effectEdge_value = value_effectEdge! + valueSerializer.writeNumber(value_effectEdge_value) + } + const value_radius = value.radius + let value_radius_type: int32 = RuntimeType.UNDEFINED + value_radius_type = runtimeType(value_radius) + valueSerializer.writeInt8(value_radius_type) + if ((RuntimeType.UNDEFINED) != (value_radius_type)) { + const value_radius_value = value_radius! + let value_radius_value_type: int32 = RuntimeType.UNDEFINED + value_radius_value_type = runtimeType(value_radius_value) + if (((RuntimeType.OBJECT) == (value_radius_value_type)) && (value_radius_value instanceof LengthMetrics)) { valueSerializer.writeInt8(0) - const value_rowsGap_value_0 = unsafeCast(value_rowsGap_value) - valueSerializer.writeString(value_rowsGap_value_0) + const value_radius_value_0 = unsafeCast(value_radius_value) + valueSerializer.writeLengthMetrics(value_radius_value_0) } - else if (RuntimeType.NUMBER == value_rowsGap_value_type) { + else if (((RuntimeType.OBJECT) == (value_radius_value_type)) && (((value_radius_value!.hasOwnProperty("topLeft")) || (value_radius_value!.hasOwnProperty("topRight")) || (value_radius_value!.hasOwnProperty("bottomLeft")) || (value_radius_value!.hasOwnProperty("bottomRight"))))) { valueSerializer.writeInt8(1) - const value_rowsGap_value_1 = unsafeCast(value_rowsGap_value) - valueSerializer.writeNumber(value_rowsGap_value_1) + const value_radius_value_1 = unsafeCast(value_radius_value) + valueSerializer.writeBorderRadiuses(value_radius_value_1) } - else if (RuntimeType.OBJECT == value_rowsGap_value_type) { + else if (((RuntimeType.OBJECT) == (value_radius_value_type)) && (((value_radius_value!.hasOwnProperty("topStart")) || (value_radius_value!.hasOwnProperty("topEnd")) || (value_radius_value!.hasOwnProperty("bottomStart")) || (value_radius_value!.hasOwnProperty("bottomEnd"))))) { valueSerializer.writeInt8(2) - const value_rowsGap_value_2 = unsafeCast(value_rowsGap_value) - valueSerializer.writeResource(value_rowsGap_value_2) + const value_radius_value_2 = unsafeCast(value_radius_value) + valueSerializer.writeLocalizedBorderRadiuses(value_radius_value_2) } } - const value_margin = value.margin - let value_margin_type: int32 = RuntimeType.UNDEFINED - value_margin_type = runtimeType(value_margin) - valueSerializer.writeInt8(value_margin_type) - if ((RuntimeType.UNDEFINED) != (value_margin_type)) { - const value_margin_value = value_margin! - let value_margin_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_type = runtimeType(value_margin_value) - if (((RuntimeType.OBJECT) == (value_margin_value_type)) && (((value_margin_value!.hasOwnProperty("top")) || (value_margin_value!.hasOwnProperty("right")) || (value_margin_value!.hasOwnProperty("bottom")) || (value_margin_value!.hasOwnProperty("left"))))) { + const value_detentSelection = value.detentSelection + let value_detentSelection_type: int32 = RuntimeType.UNDEFINED + value_detentSelection_type = runtimeType(value_detentSelection) + valueSerializer.writeInt8(value_detentSelection_type) + if ((RuntimeType.UNDEFINED) != (value_detentSelection_type)) { + const value_detentSelection_value = value_detentSelection! + let value_detentSelection_value_type: int32 = RuntimeType.UNDEFINED + value_detentSelection_value_type = runtimeType(value_detentSelection_value) + if (((RuntimeType.NUMBER) == (value_detentSelection_value_type)) && ((unsafeCast(value_detentSelection_value)) >= (0)) && ((unsafeCast(value_detentSelection_value)) <= (2))) { valueSerializer.writeInt8(0) - const value_margin_value_0 = unsafeCast(value_margin_value) - const value_margin_value_0_top = value_margin_value_0.top - let value_margin_value_0_top_type: int32 = RuntimeType.UNDEFINED - value_margin_value_0_top_type = runtimeType(value_margin_value_0_top) - valueSerializer.writeInt8(value_margin_value_0_top_type) - if ((RuntimeType.UNDEFINED) != (value_margin_value_0_top_type)) { - const value_margin_value_0_top_value = value_margin_value_0_top! - let value_margin_value_0_top_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_0_top_value_type = runtimeType(value_margin_value_0_top_value) - if (RuntimeType.STRING == value_margin_value_0_top_value_type) { - valueSerializer.writeInt8(0) - const value_margin_value_0_top_value_0 = unsafeCast(value_margin_value_0_top_value) - valueSerializer.writeString(value_margin_value_0_top_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_0_top_value_type) { - valueSerializer.writeInt8(1) - const value_margin_value_0_top_value_1 = unsafeCast(value_margin_value_0_top_value) - valueSerializer.writeNumber(value_margin_value_0_top_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_0_top_value_type) { - valueSerializer.writeInt8(2) - const value_margin_value_0_top_value_2 = unsafeCast(value_margin_value_0_top_value) - valueSerializer.writeResource(value_margin_value_0_top_value_2) - } - } - const value_margin_value_0_right = value_margin_value_0.right - let value_margin_value_0_right_type: int32 = RuntimeType.UNDEFINED - value_margin_value_0_right_type = runtimeType(value_margin_value_0_right) - valueSerializer.writeInt8(value_margin_value_0_right_type) - if ((RuntimeType.UNDEFINED) != (value_margin_value_0_right_type)) { - const value_margin_value_0_right_value = value_margin_value_0_right! - let value_margin_value_0_right_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_0_right_value_type = runtimeType(value_margin_value_0_right_value) - if (RuntimeType.STRING == value_margin_value_0_right_value_type) { - valueSerializer.writeInt8(0) - const value_margin_value_0_right_value_0 = unsafeCast(value_margin_value_0_right_value) - valueSerializer.writeString(value_margin_value_0_right_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_0_right_value_type) { - valueSerializer.writeInt8(1) - const value_margin_value_0_right_value_1 = unsafeCast(value_margin_value_0_right_value) - valueSerializer.writeNumber(value_margin_value_0_right_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_0_right_value_type) { - valueSerializer.writeInt8(2) - const value_margin_value_0_right_value_2 = unsafeCast(value_margin_value_0_right_value) - valueSerializer.writeResource(value_margin_value_0_right_value_2) - } - } - const value_margin_value_0_bottom = value_margin_value_0.bottom - let value_margin_value_0_bottom_type: int32 = RuntimeType.UNDEFINED - value_margin_value_0_bottom_type = runtimeType(value_margin_value_0_bottom) - valueSerializer.writeInt8(value_margin_value_0_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_margin_value_0_bottom_type)) { - const value_margin_value_0_bottom_value = value_margin_value_0_bottom! - let value_margin_value_0_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_0_bottom_value_type = runtimeType(value_margin_value_0_bottom_value) - if (RuntimeType.STRING == value_margin_value_0_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_margin_value_0_bottom_value_0 = unsafeCast(value_margin_value_0_bottom_value) - valueSerializer.writeString(value_margin_value_0_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_0_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_margin_value_0_bottom_value_1 = unsafeCast(value_margin_value_0_bottom_value) - valueSerializer.writeNumber(value_margin_value_0_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_0_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_margin_value_0_bottom_value_2 = unsafeCast(value_margin_value_0_bottom_value) - valueSerializer.writeResource(value_margin_value_0_bottom_value_2) - } - } - const value_margin_value_0_left = value_margin_value_0.left - let value_margin_value_0_left_type: int32 = RuntimeType.UNDEFINED - value_margin_value_0_left_type = runtimeType(value_margin_value_0_left) - valueSerializer.writeInt8(value_margin_value_0_left_type) - if ((RuntimeType.UNDEFINED) != (value_margin_value_0_left_type)) { - const value_margin_value_0_left_value = value_margin_value_0_left! - let value_margin_value_0_left_value_type: int32 = RuntimeType.UNDEFINED - value_margin_value_0_left_value_type = runtimeType(value_margin_value_0_left_value) - if (RuntimeType.STRING == value_margin_value_0_left_value_type) { - valueSerializer.writeInt8(0) - const value_margin_value_0_left_value_0 = unsafeCast(value_margin_value_0_left_value) - valueSerializer.writeString(value_margin_value_0_left_value_0) - } - else if (RuntimeType.NUMBER == value_margin_value_0_left_value_type) { - valueSerializer.writeInt8(1) - const value_margin_value_0_left_value_1 = unsafeCast(value_margin_value_0_left_value) - valueSerializer.writeNumber(value_margin_value_0_left_value_1) - } - else if (RuntimeType.OBJECT == value_margin_value_0_left_value_type) { - valueSerializer.writeInt8(2) - const value_margin_value_0_left_value_2 = unsafeCast(value_margin_value_0_left_value) - valueSerializer.writeResource(value_margin_value_0_left_value_2) - } - } + const value_detentSelection_value_0 = unsafeCast(value_detentSelection_value) + valueSerializer.writeInt32(value_detentSelection_value_0.valueOf()) } - else if ((RuntimeType.STRING == value_margin_value_type) || (RuntimeType.NUMBER == value_margin_value_type) || (RuntimeType.OBJECT == value_margin_value_type)) { + else if ((RuntimeType.STRING == value_detentSelection_value_type) || (RuntimeType.NUMBER == value_detentSelection_value_type) || (RuntimeType.OBJECT == value_detentSelection_value_type)) { valueSerializer.writeInt8(1) - const value_margin_value_1 = unsafeCast(value_margin_value) - let value_margin_value_1_type: int32 = RuntimeType.UNDEFINED - value_margin_value_1_type = runtimeType(value_margin_value_1) - if (RuntimeType.STRING == value_margin_value_1_type) { + const value_detentSelection_value_1 = unsafeCast(value_detentSelection_value) + let value_detentSelection_value_1_type: int32 = RuntimeType.UNDEFINED + value_detentSelection_value_1_type = runtimeType(value_detentSelection_value_1) + if (RuntimeType.STRING == value_detentSelection_value_1_type) { valueSerializer.writeInt8(0) - const value_margin_value_1_0 = unsafeCast(value_margin_value_1) - valueSerializer.writeString(value_margin_value_1_0) + const value_detentSelection_value_1_0 = unsafeCast(value_detentSelection_value_1) + valueSerializer.writeString(value_detentSelection_value_1_0) } - else if (RuntimeType.NUMBER == value_margin_value_1_type) { + else if (RuntimeType.NUMBER == value_detentSelection_value_1_type) { valueSerializer.writeInt8(1) - const value_margin_value_1_1 = unsafeCast(value_margin_value_1) - valueSerializer.writeNumber(value_margin_value_1_1) + const value_detentSelection_value_1_1 = unsafeCast(value_detentSelection_value_1) + valueSerializer.writeNumber(value_detentSelection_value_1_1) } - else if (RuntimeType.OBJECT == value_margin_value_1_type) { + else if (RuntimeType.OBJECT == value_detentSelection_value_1_type) { valueSerializer.writeInt8(2) - const value_margin_value_1_2 = unsafeCast(value_margin_value_1) - valueSerializer.writeResource(value_margin_value_1_2) + const value_detentSelection_value_1_2 = unsafeCast(value_detentSelection_value_1) + valueSerializer.writeResource(value_detentSelection_value_1_2) } } } + const value_showInSubWindow = value.showInSubWindow + let value_showInSubWindow_type: int32 = RuntimeType.UNDEFINED + value_showInSubWindow_type = runtimeType(value_showInSubWindow) + valueSerializer.writeInt8(value_showInSubWindow_type) + if ((RuntimeType.UNDEFINED) != (value_showInSubWindow_type)) { + const value_showInSubWindow_value = value_showInSubWindow! + valueSerializer.writeBoolean(value_showInSubWindow_value) + } + const value_placement = value.placement + let value_placement_type: int32 = RuntimeType.UNDEFINED + value_placement_type = runtimeType(value_placement) + valueSerializer.writeInt8(value_placement_type) + if ((RuntimeType.UNDEFINED) != (value_placement_type)) { + const value_placement_value = value_placement! + valueSerializer.writeInt32(value_placement_value.valueOf()) + } + const value_placementOnTarget = value.placementOnTarget + let value_placementOnTarget_type: int32 = RuntimeType.UNDEFINED + value_placementOnTarget_type = runtimeType(value_placementOnTarget) + valueSerializer.writeInt8(value_placementOnTarget_type) + if ((RuntimeType.UNDEFINED) != (value_placementOnTarget_type)) { + const value_placementOnTarget_value = value_placementOnTarget! + valueSerializer.writeBoolean(value_placementOnTarget_value) + } } - writeSwipeActionOptions(value: SwipeActionOptions): void { + public writeSwipeActionOptions(value: SwipeActionOptions): void { let valueSerializer: Serializer = this const value_start = value.start let value_start_type: int32 = RuntimeType.UNDEFINED @@ -25691,194 +25560,15 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_onOffsetChange_value) } } - writeSwipeGestureEvent(value: SwipeGestureEvent): void { + public writeSwipeGestureEvent(value: SwipeGestureEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeTapGestureEvent(value: TapGestureEvent): void { + public writeTapGestureEvent(value: TapGestureEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writetext_TextStyle(value: text.TextStyle): void { - let valueSerializer: Serializer = this - const value_decoration = value.decoration - let value_decoration_type: int32 = RuntimeType.UNDEFINED - value_decoration_type = runtimeType(value_decoration) - valueSerializer.writeInt8(value_decoration_type) - if ((RuntimeType.UNDEFINED) != (value_decoration_type)) { - const value_decoration_value = value_decoration! - valueSerializer.writeDecoration(value_decoration_value) - } - const value_color = value.color - let value_color_type: int32 = RuntimeType.UNDEFINED - value_color_type = runtimeType(value_color) - valueSerializer.writeInt8(value_color_type) - if ((RuntimeType.UNDEFINED) != (value_color_type)) { - const value_color_value = value_color! - valueSerializer.writecommon2D_Color(value_color_value) - } - const value_fontWeight = value.fontWeight - let value_fontWeight_type: int32 = RuntimeType.UNDEFINED - value_fontWeight_type = runtimeType(value_fontWeight) - valueSerializer.writeInt8(value_fontWeight_type) - if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { - const value_fontWeight_value = value_fontWeight! - valueSerializer.writeInt32(value_fontWeight_value.valueOf()) - } - const value_fontStyle = value.fontStyle - let value_fontStyle_type: int32 = RuntimeType.UNDEFINED - value_fontStyle_type = runtimeType(value_fontStyle) - valueSerializer.writeInt8(value_fontStyle_type) - if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { - const value_fontStyle_value = value_fontStyle! - valueSerializer.writeInt32(value_fontStyle_value.valueOf()) - } - const value_baseline = value.baseline - let value_baseline_type: int32 = RuntimeType.UNDEFINED - value_baseline_type = runtimeType(value_baseline) - valueSerializer.writeInt8(value_baseline_type) - if ((RuntimeType.UNDEFINED) != (value_baseline_type)) { - const value_baseline_value = value_baseline! - valueSerializer.writeInt32(value_baseline_value.valueOf()) - } - const value_fontFamilies = value.fontFamilies - let value_fontFamilies_type: int32 = RuntimeType.UNDEFINED - value_fontFamilies_type = runtimeType(value_fontFamilies) - valueSerializer.writeInt8(value_fontFamilies_type) - if ((RuntimeType.UNDEFINED) != (value_fontFamilies_type)) { - const value_fontFamilies_value = value_fontFamilies! - valueSerializer.writeInt32(value_fontFamilies_value.length) - for (let i = 0; i < value_fontFamilies_value.length; i++) { - const value_fontFamilies_value_element: string = value_fontFamilies_value[i] - valueSerializer.writeString(value_fontFamilies_value_element) - } - } - const value_fontSize = value.fontSize - let value_fontSize_type: int32 = RuntimeType.UNDEFINED - value_fontSize_type = runtimeType(value_fontSize) - valueSerializer.writeInt8(value_fontSize_type) - if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { - const value_fontSize_value = value_fontSize! - valueSerializer.writeNumber(value_fontSize_value) - } - const value_letterSpacing = value.letterSpacing - let value_letterSpacing_type: int32 = RuntimeType.UNDEFINED - value_letterSpacing_type = runtimeType(value_letterSpacing) - valueSerializer.writeInt8(value_letterSpacing_type) - if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { - const value_letterSpacing_value = value_letterSpacing! - valueSerializer.writeNumber(value_letterSpacing_value) - } - const value_wordSpacing = value.wordSpacing - let value_wordSpacing_type: int32 = RuntimeType.UNDEFINED - value_wordSpacing_type = runtimeType(value_wordSpacing) - valueSerializer.writeInt8(value_wordSpacing_type) - if ((RuntimeType.UNDEFINED) != (value_wordSpacing_type)) { - const value_wordSpacing_value = value_wordSpacing! - valueSerializer.writeNumber(value_wordSpacing_value) - } - const value_heightScale = value.heightScale - let value_heightScale_type: int32 = RuntimeType.UNDEFINED - value_heightScale_type = runtimeType(value_heightScale) - valueSerializer.writeInt8(value_heightScale_type) - if ((RuntimeType.UNDEFINED) != (value_heightScale_type)) { - const value_heightScale_value = value_heightScale! - valueSerializer.writeNumber(value_heightScale_value) - } - const value_halfLeading = value.halfLeading - let value_halfLeading_type: int32 = RuntimeType.UNDEFINED - value_halfLeading_type = runtimeType(value_halfLeading) - valueSerializer.writeInt8(value_halfLeading_type) - if ((RuntimeType.UNDEFINED) != (value_halfLeading_type)) { - const value_halfLeading_value = value_halfLeading! - valueSerializer.writeBoolean(value_halfLeading_value) - } - const value_heightOnly = value.heightOnly - let value_heightOnly_type: int32 = RuntimeType.UNDEFINED - value_heightOnly_type = runtimeType(value_heightOnly) - valueSerializer.writeInt8(value_heightOnly_type) - if ((RuntimeType.UNDEFINED) != (value_heightOnly_type)) { - const value_heightOnly_value = value_heightOnly! - valueSerializer.writeBoolean(value_heightOnly_value) - } - const value_ellipsis = value.ellipsis - let value_ellipsis_type: int32 = RuntimeType.UNDEFINED - value_ellipsis_type = runtimeType(value_ellipsis) - valueSerializer.writeInt8(value_ellipsis_type) - if ((RuntimeType.UNDEFINED) != (value_ellipsis_type)) { - const value_ellipsis_value = value_ellipsis! - valueSerializer.writeString(value_ellipsis_value) - } - const value_ellipsisMode = value.ellipsisMode - let value_ellipsisMode_type: int32 = RuntimeType.UNDEFINED - value_ellipsisMode_type = runtimeType(value_ellipsisMode) - valueSerializer.writeInt8(value_ellipsisMode_type) - if ((RuntimeType.UNDEFINED) != (value_ellipsisMode_type)) { - const value_ellipsisMode_value = value_ellipsisMode! - valueSerializer.writeInt32(value_ellipsisMode_value.valueOf()) - } - const value_locale = value.locale - let value_locale_type: int32 = RuntimeType.UNDEFINED - value_locale_type = runtimeType(value_locale) - valueSerializer.writeInt8(value_locale_type) - if ((RuntimeType.UNDEFINED) != (value_locale_type)) { - const value_locale_value = value_locale! - valueSerializer.writeString(value_locale_value) - } - const value_baselineShift = value.baselineShift - let value_baselineShift_type: int32 = RuntimeType.UNDEFINED - value_baselineShift_type = runtimeType(value_baselineShift) - valueSerializer.writeInt8(value_baselineShift_type) - if ((RuntimeType.UNDEFINED) != (value_baselineShift_type)) { - const value_baselineShift_value = value_baselineShift! - valueSerializer.writeNumber(value_baselineShift_value) - } - const value_fontFeatures = value.fontFeatures - let value_fontFeatures_type: int32 = RuntimeType.UNDEFINED - value_fontFeatures_type = runtimeType(value_fontFeatures) - valueSerializer.writeInt8(value_fontFeatures_type) - if ((RuntimeType.UNDEFINED) != (value_fontFeatures_type)) { - const value_fontFeatures_value = value_fontFeatures! - valueSerializer.writeInt32(value_fontFeatures_value.length) - for (let i = 0; i < value_fontFeatures_value.length; i++) { - const value_fontFeatures_value_element: FontFeature = value_fontFeatures_value[i] - valueSerializer.writeFontFeature(value_fontFeatures_value_element) - } - } - const value_textShadows = value.textShadows - let value_textShadows_type: int32 = RuntimeType.UNDEFINED - value_textShadows_type = runtimeType(value_textShadows) - valueSerializer.writeInt8(value_textShadows_type) - if ((RuntimeType.UNDEFINED) != (value_textShadows_type)) { - const value_textShadows_value = value_textShadows! - valueSerializer.writeInt32(value_textShadows_value.length) - for (let i = 0; i < value_textShadows_value.length; i++) { - const value_textShadows_value_element: TextShadow = value_textShadows_value[i] - valueSerializer.writeTextShadow(value_textShadows_value_element) - } - } - const value_backgroundRect = value.backgroundRect - let value_backgroundRect_type: int32 = RuntimeType.UNDEFINED - value_backgroundRect_type = runtimeType(value_backgroundRect) - valueSerializer.writeInt8(value_backgroundRect_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundRect_type)) { - const value_backgroundRect_value = value_backgroundRect! - valueSerializer.writeRectStyle(value_backgroundRect_value) - } - const value_fontVariations = value.fontVariations - let value_fontVariations_type: int32 = RuntimeType.UNDEFINED - value_fontVariations_type = runtimeType(value_fontVariations) - valueSerializer.writeInt8(value_fontVariations_type) - if ((RuntimeType.UNDEFINED) != (value_fontVariations_type)) { - const value_fontVariations_value = value_fontVariations! - valueSerializer.writeInt32(value_fontVariations_value.length) - for (let i = 0; i < value_fontVariations_value.length; i++) { - const value_fontVariations_value_element: FontVariation = value_fontVariations_value[i] - valueSerializer.writeFontVariation(value_fontVariations_value_element) - } - } - } - writeTextBackgroundStyle(value: TextBackgroundStyle): void { + public writeTextBackgroundStyle(value: TextBackgroundStyle): void { let valueSerializer: Serializer = this const value_color = value.color let value_color_type: int32 = RuntimeType.UNDEFINED @@ -25941,121 +25631,12 @@ export class Serializer extends SerializerBase { else if (((RuntimeType.OBJECT) == (value_radius_value_type)) && (((value_radius_value!.hasOwnProperty("topLeft")) || (value_radius_value!.hasOwnProperty("topRight")) || (value_radius_value!.hasOwnProperty("bottomLeft")) || (value_radius_value!.hasOwnProperty("bottomRight"))))) { valueSerializer.writeInt8(1) const value_radius_value_1 = unsafeCast(value_radius_value) - const value_radius_value_1_topLeft = value_radius_value_1.topLeft - let value_radius_value_1_topLeft_type: int32 = RuntimeType.UNDEFINED - value_radius_value_1_topLeft_type = runtimeType(value_radius_value_1_topLeft) - valueSerializer.writeInt8(value_radius_value_1_topLeft_type) - if ((RuntimeType.UNDEFINED) != (value_radius_value_1_topLeft_type)) { - const value_radius_value_1_topLeft_value = value_radius_value_1_topLeft! - let value_radius_value_1_topLeft_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_1_topLeft_value_type = runtimeType(value_radius_value_1_topLeft_value) - if (RuntimeType.STRING == value_radius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(0) - const value_radius_value_1_topLeft_value_0 = unsafeCast(value_radius_value_1_topLeft_value) - valueSerializer.writeString(value_radius_value_1_topLeft_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(1) - const value_radius_value_1_topLeft_value_1 = unsafeCast(value_radius_value_1_topLeft_value) - valueSerializer.writeNumber(value_radius_value_1_topLeft_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_1_topLeft_value_type) { - valueSerializer.writeInt8(2) - const value_radius_value_1_topLeft_value_2 = unsafeCast(value_radius_value_1_topLeft_value) - valueSerializer.writeResource(value_radius_value_1_topLeft_value_2) - } - } - const value_radius_value_1_topRight = value_radius_value_1.topRight - let value_radius_value_1_topRight_type: int32 = RuntimeType.UNDEFINED - value_radius_value_1_topRight_type = runtimeType(value_radius_value_1_topRight) - valueSerializer.writeInt8(value_radius_value_1_topRight_type) - if ((RuntimeType.UNDEFINED) != (value_radius_value_1_topRight_type)) { - const value_radius_value_1_topRight_value = value_radius_value_1_topRight! - let value_radius_value_1_topRight_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_1_topRight_value_type = runtimeType(value_radius_value_1_topRight_value) - if (RuntimeType.STRING == value_radius_value_1_topRight_value_type) { - valueSerializer.writeInt8(0) - const value_radius_value_1_topRight_value_0 = unsafeCast(value_radius_value_1_topRight_value) - valueSerializer.writeString(value_radius_value_1_topRight_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_1_topRight_value_type) { - valueSerializer.writeInt8(1) - const value_radius_value_1_topRight_value_1 = unsafeCast(value_radius_value_1_topRight_value) - valueSerializer.writeNumber(value_radius_value_1_topRight_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_1_topRight_value_type) { - valueSerializer.writeInt8(2) - const value_radius_value_1_topRight_value_2 = unsafeCast(value_radius_value_1_topRight_value) - valueSerializer.writeResource(value_radius_value_1_topRight_value_2) - } - } - const value_radius_value_1_bottomLeft = value_radius_value_1.bottomLeft - let value_radius_value_1_bottomLeft_type: int32 = RuntimeType.UNDEFINED - value_radius_value_1_bottomLeft_type = runtimeType(value_radius_value_1_bottomLeft) - valueSerializer.writeInt8(value_radius_value_1_bottomLeft_type) - if ((RuntimeType.UNDEFINED) != (value_radius_value_1_bottomLeft_type)) { - const value_radius_value_1_bottomLeft_value = value_radius_value_1_bottomLeft! - let value_radius_value_1_bottomLeft_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_1_bottomLeft_value_type = runtimeType(value_radius_value_1_bottomLeft_value) - if (RuntimeType.STRING == value_radius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(0) - const value_radius_value_1_bottomLeft_value_0 = unsafeCast(value_radius_value_1_bottomLeft_value) - valueSerializer.writeString(value_radius_value_1_bottomLeft_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(1) - const value_radius_value_1_bottomLeft_value_1 = unsafeCast(value_radius_value_1_bottomLeft_value) - valueSerializer.writeNumber(value_radius_value_1_bottomLeft_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_1_bottomLeft_value_type) { - valueSerializer.writeInt8(2) - const value_radius_value_1_bottomLeft_value_2 = unsafeCast(value_radius_value_1_bottomLeft_value) - valueSerializer.writeResource(value_radius_value_1_bottomLeft_value_2) - } - } - const value_radius_value_1_bottomRight = value_radius_value_1.bottomRight - let value_radius_value_1_bottomRight_type: int32 = RuntimeType.UNDEFINED - value_radius_value_1_bottomRight_type = runtimeType(value_radius_value_1_bottomRight) - valueSerializer.writeInt8(value_radius_value_1_bottomRight_type) - if ((RuntimeType.UNDEFINED) != (value_radius_value_1_bottomRight_type)) { - const value_radius_value_1_bottomRight_value = value_radius_value_1_bottomRight! - let value_radius_value_1_bottomRight_value_type: int32 = RuntimeType.UNDEFINED - value_radius_value_1_bottomRight_value_type = runtimeType(value_radius_value_1_bottomRight_value) - if (RuntimeType.STRING == value_radius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(0) - const value_radius_value_1_bottomRight_value_0 = unsafeCast(value_radius_value_1_bottomRight_value) - valueSerializer.writeString(value_radius_value_1_bottomRight_value_0) - } - else if (RuntimeType.NUMBER == value_radius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(1) - const value_radius_value_1_bottomRight_value_1 = unsafeCast(value_radius_value_1_bottomRight_value) - valueSerializer.writeNumber(value_radius_value_1_bottomRight_value_1) - } - else if (RuntimeType.OBJECT == value_radius_value_1_bottomRight_value_type) { - valueSerializer.writeInt8(2) - const value_radius_value_1_bottomRight_value_2 = unsafeCast(value_radius_value_1_bottomRight_value) - valueSerializer.writeResource(value_radius_value_1_bottomRight_value_2) - } - } + valueSerializer.writeBorderRadiuses(value_radius_value_1) } } } - writeTextDataDetectorConfig(value: TextDataDetectorConfig): void { + public writeTextPickerTextStyle(value: TextPickerTextStyle): void { let valueSerializer: Serializer = this - const value_types = value.types - valueSerializer.writeInt32(value_types.length) - for (let i = 0; i < value_types.length; i++) { - const value_types_element: TextDataDetectorType = value_types[i] - valueSerializer.writeInt32(value_types_element.valueOf()) - } - const value_onDetectResultUpdate = value.onDetectResultUpdate - let value_onDetectResultUpdate_type: int32 = RuntimeType.UNDEFINED - value_onDetectResultUpdate_type = runtimeType(value_onDetectResultUpdate) - valueSerializer.writeInt8(value_onDetectResultUpdate_type) - if ((RuntimeType.UNDEFINED) != (value_onDetectResultUpdate_type)) { - const value_onDetectResultUpdate_value = value_onDetectResultUpdate! - valueSerializer.holdAndWriteCallback(value_onDetectResultUpdate_value) - } const value_color = value.color let value_color_type: int32 = RuntimeType.UNDEFINED value_color_type = runtimeType(value_color) @@ -26069,52 +25650,131 @@ export class Serializer extends SerializerBase { const value_color_value_0 = unsafeCast(value_color_value) valueSerializer.writeInt32(value_color_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_color_value_type) { + else if (RuntimeType.NUMBER == value_color_value_type) { + valueSerializer.writeInt8(1) + const value_color_value_1 = unsafeCast(value_color_value) + valueSerializer.writeNumber(value_color_value_1) + } + else if (RuntimeType.STRING == value_color_value_type) { + valueSerializer.writeInt8(2) + const value_color_value_2 = unsafeCast(value_color_value) + valueSerializer.writeString(value_color_value_2) + } + else if (RuntimeType.OBJECT == value_color_value_type) { + valueSerializer.writeInt8(3) + const value_color_value_3 = unsafeCast(value_color_value) + valueSerializer.writeResource(value_color_value_3) + } + } + const value_font = value.font + let value_font_type: int32 = RuntimeType.UNDEFINED + value_font_type = runtimeType(value_font) + valueSerializer.writeInt8(value_font_type) + if ((RuntimeType.UNDEFINED) != (value_font_type)) { + const value_font_value = value_font! + valueSerializer.writeFont(value_font_value) + } + const value_minFontSize = value.minFontSize + let value_minFontSize_type: int32 = RuntimeType.UNDEFINED + value_minFontSize_type = runtimeType(value_minFontSize) + valueSerializer.writeInt8(value_minFontSize_type) + if ((RuntimeType.UNDEFINED) != (value_minFontSize_type)) { + const value_minFontSize_value = value_minFontSize! + let value_minFontSize_value_type: int32 = RuntimeType.UNDEFINED + value_minFontSize_value_type = runtimeType(value_minFontSize_value) + if (RuntimeType.NUMBER == value_minFontSize_value_type) { + valueSerializer.writeInt8(0) + const value_minFontSize_value_0 = unsafeCast(value_minFontSize_value) + valueSerializer.writeNumber(value_minFontSize_value_0) + } + else if (RuntimeType.STRING == value_minFontSize_value_type) { valueSerializer.writeInt8(1) - const value_color_value_1 = unsafeCast(value_color_value) - valueSerializer.writeNumber(value_color_value_1) + const value_minFontSize_value_1 = unsafeCast(value_minFontSize_value) + valueSerializer.writeString(value_minFontSize_value_1) } - else if (RuntimeType.STRING == value_color_value_type) { + else if (RuntimeType.OBJECT == value_minFontSize_value_type) { valueSerializer.writeInt8(2) - const value_color_value_2 = unsafeCast(value_color_value) - valueSerializer.writeString(value_color_value_2) + const value_minFontSize_value_2 = unsafeCast(value_minFontSize_value) + valueSerializer.writeResource(value_minFontSize_value_2) } - else if (RuntimeType.OBJECT == value_color_value_type) { - valueSerializer.writeInt8(3) - const value_color_value_3 = unsafeCast(value_color_value) - valueSerializer.writeResource(value_color_value_3) + } + const value_maxFontSize = value.maxFontSize + let value_maxFontSize_type: int32 = RuntimeType.UNDEFINED + value_maxFontSize_type = runtimeType(value_maxFontSize) + valueSerializer.writeInt8(value_maxFontSize_type) + if ((RuntimeType.UNDEFINED) != (value_maxFontSize_type)) { + const value_maxFontSize_value = value_maxFontSize! + let value_maxFontSize_value_type: int32 = RuntimeType.UNDEFINED + value_maxFontSize_value_type = runtimeType(value_maxFontSize_value) + if (RuntimeType.NUMBER == value_maxFontSize_value_type) { + valueSerializer.writeInt8(0) + const value_maxFontSize_value_0 = unsafeCast(value_maxFontSize_value) + valueSerializer.writeNumber(value_maxFontSize_value_0) + } + else if (RuntimeType.STRING == value_maxFontSize_value_type) { + valueSerializer.writeInt8(1) + const value_maxFontSize_value_1 = unsafeCast(value_maxFontSize_value) + valueSerializer.writeString(value_maxFontSize_value_1) + } + else if (RuntimeType.OBJECT == value_maxFontSize_value_type) { + valueSerializer.writeInt8(2) + const value_maxFontSize_value_2 = unsafeCast(value_maxFontSize_value) + valueSerializer.writeResource(value_maxFontSize_value_2) } } - const value_decoration = value.decoration - let value_decoration_type: int32 = RuntimeType.UNDEFINED - value_decoration_type = runtimeType(value_decoration) - valueSerializer.writeInt8(value_decoration_type) - if ((RuntimeType.UNDEFINED) != (value_decoration_type)) { - const value_decoration_value = value_decoration! - valueSerializer.writeDecorationStyleInterface(value_decoration_value) + const value_overflow = value.overflow + let value_overflow_type: int32 = RuntimeType.UNDEFINED + value_overflow_type = runtimeType(value_overflow) + valueSerializer.writeInt8(value_overflow_type) + if ((RuntimeType.UNDEFINED) != (value_overflow_type)) { + const value_overflow_value = value_overflow! + valueSerializer.writeInt32(value_overflow_value.valueOf()) + } + } + public writeTouchEvent(value: TouchEvent): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } + public writeWithThemeOptions(value: WithThemeOptions): void { + let valueSerializer: Serializer = this + const value_theme = value.theme + let value_theme_type: int32 = RuntimeType.UNDEFINED + value_theme_type = runtimeType(value_theme) + valueSerializer.writeInt8(value_theme_type) + if ((RuntimeType.UNDEFINED) != (value_theme_type)) { + const value_theme_value = value_theme! + valueSerializer.writeCustomTheme(value_theme_value) + } + const value_colorMode = value.colorMode + let value_colorMode_type: int32 = RuntimeType.UNDEFINED + value_colorMode_type = runtimeType(value_colorMode) + valueSerializer.writeInt8(value_colorMode_type) + if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { + const value_colorMode_value = value_colorMode! + valueSerializer.writeInt32(value_colorMode_value.valueOf()) } } - writeTouchEvent(value: TouchEvent): void { + public writeAccessibilityHoverEvent(value: AccessibilityHoverEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeAccessibilityHoverEvent(value: AccessibilityHoverEvent): void { + public writeAxisEvent(value: AxisEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBackgroundColorStyle(value: BackgroundColorStyle): void { + public writeBackgroundColorStyle(value: BackgroundColorStyle): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBaseEvent(value: BaseEvent): void { + public writeBaseEvent(value: BaseEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBaseGestureEvent(value: BaseGestureEvent): void { + public writeBaseGestureEvent(value: BaseGestureEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeBottomTabBarStyle(value: BottomTabBarStyle): void { + public writeBottomTabBarStyle(value: BottomTabBarStyle): void { let valueSerializer: Serializer = this const value__icon = value._icon let value__icon_type: int32 = RuntimeType.UNDEFINED @@ -26349,7 +26009,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeTabBarIconStyle(value__iconStyle_value) } } - writeCalendarDialogOptions(value: CalendarDialogOptions): void { + public writeCalendarDialogOptions(value: CalendarDialogOptions): void { let valueSerializer: Serializer = this const value_hintRadius = value.hintRadius let value_hintRadius_type: int32 = RuntimeType.UNDEFINED @@ -26378,6 +26038,34 @@ export class Serializer extends SerializerBase { const value_selected_value = value_selected! valueSerializer.writeInt64((value_selected_value.getTime() as number)) } + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeInt64((value_start_value.getTime() as number)) + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeInt64((value_end_value.getTime() as number)) + } + const value_disabledDateRange = value.disabledDateRange + let value_disabledDateRange_type: int32 = RuntimeType.UNDEFINED + value_disabledDateRange_type = runtimeType(value_disabledDateRange) + valueSerializer.writeInt8(value_disabledDateRange_type) + if ((RuntimeType.UNDEFINED) != (value_disabledDateRange_type)) { + const value_disabledDateRange_value = value_disabledDateRange! + valueSerializer.writeInt32(value_disabledDateRange_value.length) + for (let i = 0; i < value_disabledDateRange_value.length; i++) { + const value_disabledDateRange_value_element: DateRange = value_disabledDateRange_value[i] + valueSerializer.writeDateRange(value_disabledDateRange_value_element) + } + } const value_onAccept = value.onAccept let value_onAccept_type: int32 = RuntimeType.UNDEFINED value_onAccept_type = runtimeType(value_onAccept) @@ -26439,6 +26127,22 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle_value = value_backgroundBlurStyle! valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_acceptButtonStyle = value.acceptButtonStyle let value_acceptButtonStyle_type: int32 = RuntimeType.UNDEFINED value_acceptButtonStyle_type = runtimeType(value_acceptButtonStyle) @@ -26522,12 +26226,20 @@ export class Serializer extends SerializerBase { const value_hoverModeArea_value = value_hoverModeArea! valueSerializer.writeInt32(value_hoverModeArea_value.valueOf()) } + const value_markToday = value.markToday + let value_markToday_type: int32 = RuntimeType.UNDEFINED + value_markToday_type = runtimeType(value_markToday) + valueSerializer.writeInt8(value_markToday_type) + if ((RuntimeType.UNDEFINED) != (value_markToday_type)) { + const value_markToday_value = value_markToday! + valueSerializer.writeBoolean(value_markToday_value) + } } - writeClickEvent(value: ClickEvent): void { + public writeClickEvent(value: ClickEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeDatePickerDialogOptions(value: DatePickerDialogOptions): void { + public writeDatePickerDialogOptions(value: DatePickerDialogOptions): void { let valueSerializer: Serializer = this const value_start = value.start let value_start_type: int32 = RuntimeType.UNDEFINED @@ -26553,6 +26265,14 @@ export class Serializer extends SerializerBase { const value_selected_value = value_selected! valueSerializer.writeInt64((value_selected_value.getTime() as number)) } + const value_mode = value.mode + let value_mode_type: int32 = RuntimeType.UNDEFINED + value_mode_type = runtimeType(value_mode) + valueSerializer.writeInt8(value_mode_type) + if ((RuntimeType.UNDEFINED) != (value_mode_type)) { + const value_mode_value = value_mode! + valueSerializer.writeInt32(value_mode_value.valueOf()) + } const value_lunar = value.lunar let value_lunar_type: int32 = RuntimeType.UNDEFINED value_lunar_type = runtimeType(value_lunar) @@ -26655,42 +26375,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dx_0 = unsafeCast(value_offset_value_dx) - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dx_1 = unsafeCast(value_offset_value_dx) - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dx_2 = unsafeCast(value_offset_value_dx) - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dy_0 = unsafeCast(value_offset_value_dy) - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dy_1 = unsafeCast(value_offset_value_dy) - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dy_2 = unsafeCast(value_offset_value_dy) - valueSerializer.writeResource(value_offset_value_dy_2) - } + valueSerializer.writeOffset(value_offset_value) } const value_onAccept = value.onAccept let value_onAccept_type: int32 = RuntimeType.UNDEFINED @@ -26769,6 +26454,22 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle_value = value_backgroundBlurStyle! valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_onDidAppear = value.onDidAppear let value_onDidAppear_type: int32 = RuntimeType.UNDEFINED value_onDidAppear_type = runtimeType(value_onDidAppear) @@ -26844,8 +26545,16 @@ export class Serializer extends SerializerBase { const value_hoverModeArea_value = value_hoverModeArea! valueSerializer.writeInt32(value_hoverModeArea_value.valueOf()) } + const value_enableHapticFeedback = value.enableHapticFeedback + let value_enableHapticFeedback_type: int32 = RuntimeType.UNDEFINED + value_enableHapticFeedback_type = runtimeType(value_enableHapticFeedback) + valueSerializer.writeInt8(value_enableHapticFeedback_type) + if ((RuntimeType.UNDEFINED) != (value_enableHapticFeedback_type)) { + const value_enableHapticFeedback_value = value_enableHapticFeedback! + valueSerializer.writeBoolean(value_enableHapticFeedback_value) + } } - writeGridRowOptions(value: GridRowOptions): void { + public writeGridRowOptions(value: GridRowOptions): void { let valueSerializer: Serializer = this const value_gutter = value.gutter let value_gutter_type: int32 = RuntimeType.UNDEFINED @@ -26918,11 +26627,11 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt32(value_direction_value.valueOf()) } } - writeImageAttachment(value: ImageAttachment): void { + public writeImageAttachment(value: ImageAttachment): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } - writeImageAttachmentInterface(value: ImageAttachmentInterface): void { + public writeImageAttachmentInterface(value: ImageAttachmentInterface): void { let valueSerializer: Serializer = this const value_value = value.value valueSerializer.writePixelMap(value_value) @@ -26958,8 +26667,27 @@ export class Serializer extends SerializerBase { const value_layoutStyle_value = value_layoutStyle! valueSerializer.writeImageAttachmentLayoutStyle(value_layoutStyle_value) } + const value_colorFilter = value.colorFilter + let value_colorFilter_type: int32 = RuntimeType.UNDEFINED + value_colorFilter_type = runtimeType(value_colorFilter) + valueSerializer.writeInt8(value_colorFilter_type) + if ((RuntimeType.UNDEFINED) != (value_colorFilter_type)) { + const value_colorFilter_value = value_colorFilter! + let value_colorFilter_value_type: int32 = RuntimeType.UNDEFINED + value_colorFilter_value_type = runtimeType(value_colorFilter_value) + if (((RuntimeType.OBJECT) == (value_colorFilter_value_type)) && (value_colorFilter_value instanceof ColorFilter)) { + valueSerializer.writeInt8(0) + const value_colorFilter_value_0 = unsafeCast(value_colorFilter_value) + valueSerializer.writeColorFilter(value_colorFilter_value_0) + } + else if (((RuntimeType.OBJECT) == (value_colorFilter_value_type)) && (value_colorFilter_value instanceof DrawingColorFilter)) { + valueSerializer.writeInt8(1) + const value_colorFilter_value_1 = unsafeCast(value_colorFilter_value) + valueSerializer.writeDrawingColorFilter(value_colorFilter_value_1) + } + } } - writeNativeEmbedDataInfo(value: NativeEmbedDataInfo): void { + public writeNativeEmbedDataInfo(value: NativeEmbedDataInfo): void { let valueSerializer: Serializer = this const value_status = value.status let value_status_type: int32 = RuntimeType.UNDEFINED @@ -26994,7 +26722,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeNativeEmbedInfo(value_info_value) } } - writeNativeEmbedTouchInfo(value: NativeEmbedTouchInfo): void { + public writeNativeEmbedTouchInfo(value: NativeEmbedTouchInfo): void { let valueSerializer: Serializer = this const value_embedId = value.embedId let value_embedId_type: int32 = RuntimeType.UNDEFINED @@ -27021,73 +26749,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeEventResult(value_result_value) } } - writeParagraphStyle(value: ParagraphStyle): void { - let valueSerializer: Serializer = this - valueSerializer.writePointer(toPeerPtr(value)) - } - writeParagraphStyleInterface(value: ParagraphStyleInterface): void { - let valueSerializer: Serializer = this - const value_textAlign = value.textAlign - let value_textAlign_type: int32 = RuntimeType.UNDEFINED - value_textAlign_type = runtimeType(value_textAlign) - valueSerializer.writeInt8(value_textAlign_type) - if ((RuntimeType.UNDEFINED) != (value_textAlign_type)) { - const value_textAlign_value = value_textAlign! - valueSerializer.writeInt32(value_textAlign_value.valueOf()) - } - const value_textIndent = value.textIndent - let value_textIndent_type: int32 = RuntimeType.UNDEFINED - value_textIndent_type = runtimeType(value_textIndent) - valueSerializer.writeInt8(value_textIndent_type) - if ((RuntimeType.UNDEFINED) != (value_textIndent_type)) { - const value_textIndent_value = value_textIndent! - valueSerializer.writeLengthMetrics(value_textIndent_value) - } - const value_maxLines = value.maxLines - let value_maxLines_type: int32 = RuntimeType.UNDEFINED - value_maxLines_type = runtimeType(value_maxLines) - valueSerializer.writeInt8(value_maxLines_type) - if ((RuntimeType.UNDEFINED) != (value_maxLines_type)) { - const value_maxLines_value = value_maxLines! - valueSerializer.writeNumber(value_maxLines_value) - } - const value_overflow = value.overflow - let value_overflow_type: int32 = RuntimeType.UNDEFINED - value_overflow_type = runtimeType(value_overflow) - valueSerializer.writeInt8(value_overflow_type) - if ((RuntimeType.UNDEFINED) != (value_overflow_type)) { - const value_overflow_value = value_overflow! - valueSerializer.writeInt32(value_overflow_value.valueOf()) - } - const value_wordBreak = value.wordBreak - let value_wordBreak_type: int32 = RuntimeType.UNDEFINED - value_wordBreak_type = runtimeType(value_wordBreak) - valueSerializer.writeInt8(value_wordBreak_type) - if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { - const value_wordBreak_value = value_wordBreak! - valueSerializer.writeInt32(value_wordBreak_value.valueOf()) - } - const value_leadingMargin = value.leadingMargin - let value_leadingMargin_type: int32 = RuntimeType.UNDEFINED - value_leadingMargin_type = runtimeType(value_leadingMargin) - valueSerializer.writeInt8(value_leadingMargin_type) - if ((RuntimeType.UNDEFINED) != (value_leadingMargin_type)) { - const value_leadingMargin_value = value_leadingMargin! - let value_leadingMargin_value_type: int32 = RuntimeType.UNDEFINED - value_leadingMargin_value_type = runtimeType(value_leadingMargin_value) - if (((RuntimeType.OBJECT) == (value_leadingMargin_value_type)) && (value_leadingMargin_value instanceof LengthMetrics)) { - valueSerializer.writeInt8(0) - const value_leadingMargin_value_0 = unsafeCast(value_leadingMargin_value) - valueSerializer.writeLengthMetrics(value_leadingMargin_value_0) - } - else if (((RuntimeType.OBJECT) == (value_leadingMargin_value_type)) && ((value_leadingMargin_value!.hasOwnProperty("pixelMap")))) { - valueSerializer.writeInt8(1) - const value_leadingMargin_value_1 = unsafeCast(value_leadingMargin_value) - valueSerializer.writeLeadingMarginPlaceholder(value_leadingMargin_value_1) - } - } - } - writePopupOptions(value: PopupOptions): void { + public writePopupOptions(value: PopupOptions): void { let valueSerializer: Serializer = this const value_message = value.message valueSerializer.writeString(value_message) @@ -27434,43 +27096,132 @@ export class Serializer extends SerializerBase { const value_transition_value = value_transition! valueSerializer.writeTransitionEffect(value_transition_value) } - const value_onWillDismiss = value.onWillDismiss - let value_onWillDismiss_type: int32 = RuntimeType.UNDEFINED - value_onWillDismiss_type = runtimeType(value_onWillDismiss) - valueSerializer.writeInt8(value_onWillDismiss_type) - if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { - const value_onWillDismiss_value = value_onWillDismiss! - let value_onWillDismiss_value_type: int32 = RuntimeType.UNDEFINED - value_onWillDismiss_value_type = runtimeType(value_onWillDismiss_value) - if (RuntimeType.BOOLEAN == value_onWillDismiss_value_type) { + const value_onWillDismiss = value.onWillDismiss + let value_onWillDismiss_type: int32 = RuntimeType.UNDEFINED + value_onWillDismiss_type = runtimeType(value_onWillDismiss) + valueSerializer.writeInt8(value_onWillDismiss_type) + if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { + const value_onWillDismiss_value = value_onWillDismiss! + let value_onWillDismiss_value_type: int32 = RuntimeType.UNDEFINED + value_onWillDismiss_value_type = runtimeType(value_onWillDismiss_value) + if (RuntimeType.BOOLEAN == value_onWillDismiss_value_type) { + valueSerializer.writeInt8(0) + const value_onWillDismiss_value_0 = unsafeCast(value_onWillDismiss_value) + valueSerializer.writeBoolean(value_onWillDismiss_value_0) + } + else if (RuntimeType.FUNCTION == value_onWillDismiss_value_type) { + valueSerializer.writeInt8(1) + const value_onWillDismiss_value_1 = unsafeCast<((parameter: DismissPopupAction) => void)>(value_onWillDismiss_value) + valueSerializer.holdAndWriteCallback(value_onWillDismiss_value_1) + } + } + const value_enableHoverMode = value.enableHoverMode + let value_enableHoverMode_type: int32 = RuntimeType.UNDEFINED + value_enableHoverMode_type = runtimeType(value_enableHoverMode) + valueSerializer.writeInt8(value_enableHoverMode_type) + if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { + const value_enableHoverMode_value = value_enableHoverMode! + valueSerializer.writeBoolean(value_enableHoverMode_value) + } + const value_followTransformOfTarget = value.followTransformOfTarget + let value_followTransformOfTarget_type: int32 = RuntimeType.UNDEFINED + value_followTransformOfTarget_type = runtimeType(value_followTransformOfTarget) + valueSerializer.writeInt8(value_followTransformOfTarget_type) + if ((RuntimeType.UNDEFINED) != (value_followTransformOfTarget_type)) { + const value_followTransformOfTarget_value = value_followTransformOfTarget! + valueSerializer.writeBoolean(value_followTransformOfTarget_value) + } + const value_keyboardAvoidMode = value.keyboardAvoidMode + let value_keyboardAvoidMode_type: int32 = RuntimeType.UNDEFINED + value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode) + valueSerializer.writeInt8(value_keyboardAvoidMode_type) + if ((RuntimeType.UNDEFINED) != (value_keyboardAvoidMode_type)) { + const value_keyboardAvoidMode_value = value_keyboardAvoidMode! + valueSerializer.writeInt32(value_keyboardAvoidMode_value.valueOf()) + } + } + public writeResourceImageAttachmentOptions(value: ResourceImageAttachmentOptions): void { + let valueSerializer: Serializer = this + const value_resourceValue = value.resourceValue + let value_resourceValue_type: int32 = RuntimeType.UNDEFINED + value_resourceValue_type = runtimeType(value_resourceValue) + valueSerializer.writeInt8(value_resourceValue_type) + if ((RuntimeType.UNDEFINED) != (value_resourceValue_type)) { + const value_resourceValue_value = value_resourceValue! + let value_resourceValue_value_type: int32 = RuntimeType.UNDEFINED + value_resourceValue_value_type = runtimeType(value_resourceValue_value) + if (RuntimeType.STRING == value_resourceValue_value_type) { + valueSerializer.writeInt8(0) + const value_resourceValue_value_0 = unsafeCast(value_resourceValue_value) + valueSerializer.writeString(value_resourceValue_value_0) + } + else if (RuntimeType.OBJECT == value_resourceValue_value_type) { + valueSerializer.writeInt8(1) + const value_resourceValue_value_1 = unsafeCast(value_resourceValue_value) + valueSerializer.writeResource(value_resourceValue_value_1) + } + } + const value_size = value.size + let value_size_type: int32 = RuntimeType.UNDEFINED + value_size_type = runtimeType(value_size) + valueSerializer.writeInt8(value_size_type) + if ((RuntimeType.UNDEFINED) != (value_size_type)) { + const value_size_value = value_size! + valueSerializer.writeSizeOptions(value_size_value) + } + const value_verticalAlign = value.verticalAlign + let value_verticalAlign_type: int32 = RuntimeType.UNDEFINED + value_verticalAlign_type = runtimeType(value_verticalAlign) + valueSerializer.writeInt8(value_verticalAlign_type) + if ((RuntimeType.UNDEFINED) != (value_verticalAlign_type)) { + const value_verticalAlign_value = value_verticalAlign! + valueSerializer.writeInt32(value_verticalAlign_value.valueOf()) + } + const value_objectFit = value.objectFit + let value_objectFit_type: int32 = RuntimeType.UNDEFINED + value_objectFit_type = runtimeType(value_objectFit) + valueSerializer.writeInt8(value_objectFit_type) + if ((RuntimeType.UNDEFINED) != (value_objectFit_type)) { + const value_objectFit_value = value_objectFit! + valueSerializer.writeInt32(value_objectFit_value.valueOf()) + } + const value_layoutStyle = value.layoutStyle + let value_layoutStyle_type: int32 = RuntimeType.UNDEFINED + value_layoutStyle_type = runtimeType(value_layoutStyle) + valueSerializer.writeInt8(value_layoutStyle_type) + if ((RuntimeType.UNDEFINED) != (value_layoutStyle_type)) { + const value_layoutStyle_value = value_layoutStyle! + valueSerializer.writeImageAttachmentLayoutStyle(value_layoutStyle_value) + } + const value_colorFilter = value.colorFilter + let value_colorFilter_type: int32 = RuntimeType.UNDEFINED + value_colorFilter_type = runtimeType(value_colorFilter) + valueSerializer.writeInt8(value_colorFilter_type) + if ((RuntimeType.UNDEFINED) != (value_colorFilter_type)) { + const value_colorFilter_value = value_colorFilter! + let value_colorFilter_value_type: int32 = RuntimeType.UNDEFINED + value_colorFilter_value_type = runtimeType(value_colorFilter_value) + if (((RuntimeType.OBJECT) == (value_colorFilter_value_type)) && (value_colorFilter_value instanceof ColorFilter)) { valueSerializer.writeInt8(0) - const value_onWillDismiss_value_0 = unsafeCast(value_onWillDismiss_value) - valueSerializer.writeBoolean(value_onWillDismiss_value_0) + const value_colorFilter_value_0 = unsafeCast(value_colorFilter_value) + valueSerializer.writeColorFilter(value_colorFilter_value_0) } - else if (RuntimeType.FUNCTION == value_onWillDismiss_value_type) { + else if (((RuntimeType.OBJECT) == (value_colorFilter_value_type)) && (value_colorFilter_value instanceof DrawingColorFilter)) { valueSerializer.writeInt8(1) - const value_onWillDismiss_value_1 = unsafeCast<((parameter: DismissPopupAction) => void)>(value_onWillDismiss_value) - valueSerializer.holdAndWriteCallback(value_onWillDismiss_value_1) + const value_colorFilter_value_1 = unsafeCast(value_colorFilter_value) + valueSerializer.writeDrawingColorFilter(value_colorFilter_value_1) } } - const value_enableHoverMode = value.enableHoverMode - let value_enableHoverMode_type: int32 = RuntimeType.UNDEFINED - value_enableHoverMode_type = runtimeType(value_enableHoverMode) - valueSerializer.writeInt8(value_enableHoverMode_type) - if ((RuntimeType.UNDEFINED) != (value_enableHoverMode_type)) { - const value_enableHoverMode_value = value_enableHoverMode! - valueSerializer.writeBoolean(value_enableHoverMode_value) - } - const value_followTransformOfTarget = value.followTransformOfTarget - let value_followTransformOfTarget_type: int32 = RuntimeType.UNDEFINED - value_followTransformOfTarget_type = runtimeType(value_followTransformOfTarget) - valueSerializer.writeInt8(value_followTransformOfTarget_type) - if ((RuntimeType.UNDEFINED) != (value_followTransformOfTarget_type)) { - const value_followTransformOfTarget_value = value_followTransformOfTarget! - valueSerializer.writeBoolean(value_followTransformOfTarget_value) + const value_syncLoad = value.syncLoad + let value_syncLoad_type: int32 = RuntimeType.UNDEFINED + value_syncLoad_type = runtimeType(value_syncLoad) + valueSerializer.writeInt8(value_syncLoad_type) + if ((RuntimeType.UNDEFINED) != (value_syncLoad_type)) { + const value_syncLoad_value = value_syncLoad! + valueSerializer.writeBoolean(value_syncLoad_value) } } - writeRichEditorImageSpanStyle(value: RichEditorImageSpanStyle): void { + public writeRichEditorImageSpanStyle(value: RichEditorImageSpanStyle): void { let valueSerializer: Serializer = this const value_size = value.size let value_size_type: int32 = RuntimeType.UNDEFINED @@ -27540,7 +27291,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeRichEditorLayoutStyle(value_layoutStyle_value) } } - writeRichEditorImageSpanStyleResult(value: RichEditorImageSpanStyleResult): void { + public writeRichEditorImageSpanStyleResult(value: RichEditorImageSpanStyleResult): void { let valueSerializer: Serializer = this const value_size = value.size const value_size_0 = value_size[0] @@ -27560,867 +27311,360 @@ export class Serializer extends SerializerBase { valueSerializer.writeRichEditorLayoutStyle(value_layoutStyle_value) } } - writeRichEditorParagraphStyle(value: RichEditorParagraphStyle): void { - let valueSerializer: Serializer = this - const value_textAlign = value.textAlign - let value_textAlign_type: int32 = RuntimeType.UNDEFINED - value_textAlign_type = runtimeType(value_textAlign) - valueSerializer.writeInt8(value_textAlign_type) - if ((RuntimeType.UNDEFINED) != (value_textAlign_type)) { - const value_textAlign_value = value_textAlign! - valueSerializer.writeInt32(value_textAlign_value.valueOf()) - } - const value_leadingMargin = value.leadingMargin - let value_leadingMargin_type: int32 = RuntimeType.UNDEFINED - value_leadingMargin_type = runtimeType(value_leadingMargin) - valueSerializer.writeInt8(value_leadingMargin_type) - if ((RuntimeType.UNDEFINED) != (value_leadingMargin_type)) { - const value_leadingMargin_value = value_leadingMargin! - let value_leadingMargin_value_type: int32 = RuntimeType.UNDEFINED - value_leadingMargin_value_type = runtimeType(value_leadingMargin_value) - if ((RuntimeType.STRING == value_leadingMargin_value_type) || (RuntimeType.NUMBER == value_leadingMargin_value_type) || (RuntimeType.OBJECT == value_leadingMargin_value_type)) { - valueSerializer.writeInt8(0) - const value_leadingMargin_value_0 = unsafeCast(value_leadingMargin_value) - let value_leadingMargin_value_0_type: int32 = RuntimeType.UNDEFINED - value_leadingMargin_value_0_type = runtimeType(value_leadingMargin_value_0) - if (RuntimeType.STRING == value_leadingMargin_value_0_type) { - valueSerializer.writeInt8(0) - const value_leadingMargin_value_0_0 = unsafeCast(value_leadingMargin_value_0) - valueSerializer.writeString(value_leadingMargin_value_0_0) - } - else if (RuntimeType.NUMBER == value_leadingMargin_value_0_type) { - valueSerializer.writeInt8(1) - const value_leadingMargin_value_0_1 = unsafeCast(value_leadingMargin_value_0) - valueSerializer.writeNumber(value_leadingMargin_value_0_1) - } - else if (RuntimeType.OBJECT == value_leadingMargin_value_0_type) { - valueSerializer.writeInt8(2) - const value_leadingMargin_value_0_2 = unsafeCast(value_leadingMargin_value_0) - valueSerializer.writeResource(value_leadingMargin_value_0_2) - } - } - else if (((RuntimeType.OBJECT) == (value_leadingMargin_value_type)) && ((value_leadingMargin_value!.hasOwnProperty("pixelMap")))) { - valueSerializer.writeInt8(1) - const value_leadingMargin_value_1 = unsafeCast(value_leadingMargin_value) - valueSerializer.writeLeadingMarginPlaceholder(value_leadingMargin_value_1) - } - } - const value_wordBreak = value.wordBreak - let value_wordBreak_type: int32 = RuntimeType.UNDEFINED - value_wordBreak_type = runtimeType(value_wordBreak) - valueSerializer.writeInt8(value_wordBreak_type) - if ((RuntimeType.UNDEFINED) != (value_wordBreak_type)) { - const value_wordBreak_value = value_wordBreak! - valueSerializer.writeInt32(value_wordBreak_value.valueOf()) - } - const value_lineBreakStrategy = value.lineBreakStrategy - let value_lineBreakStrategy_type: int32 = RuntimeType.UNDEFINED - value_lineBreakStrategy_type = runtimeType(value_lineBreakStrategy) - valueSerializer.writeInt8(value_lineBreakStrategy_type) - if ((RuntimeType.UNDEFINED) != (value_lineBreakStrategy_type)) { - const value_lineBreakStrategy_value = value_lineBreakStrategy! - valueSerializer.writeInt32(value_lineBreakStrategy_value.valueOf()) - } - } - writeRichEditorParagraphStyleOptions(value: RichEditorParagraphStyleOptions): void { + public writeRichEditorParagraphResult(value: RichEditorParagraphResult): void { let valueSerializer: Serializer = this - const value_start = value.start - let value_start_type: int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeNumber(value_start_value) - } - const value_end = value.end - let value_end_type: int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeNumber(value_end_value) - } const value_style = value.style valueSerializer.writeRichEditorParagraphStyle(value_style) + const value_range = value.range + const value_range_0 = value_range[0] + valueSerializer.writeNumber(value_range_0) + const value_range_1 = value_range[1] + valueSerializer.writeNumber(value_range_1) } - writeRichEditorUpdateImageSpanStyleOptions(value: RichEditorUpdateImageSpanStyleOptions): void { - let valueSerializer: Serializer = this - const value_start = value.start - let value_start_type: int32 = RuntimeType.UNDEFINED - value_start_type = runtimeType(value_start) - valueSerializer.writeInt8(value_start_type) - if ((RuntimeType.UNDEFINED) != (value_start_type)) { - const value_start_value = value_start! - valueSerializer.writeNumber(value_start_value) - } - const value_end = value.end - let value_end_type: int32 = RuntimeType.UNDEFINED - value_end_type = runtimeType(value_end) - valueSerializer.writeInt8(value_end_type) - if ((RuntimeType.UNDEFINED) != (value_end_type)) { - const value_end_value = value_end! - valueSerializer.writeNumber(value_end_value) - } - const value_imageStyle = value.imageStyle - valueSerializer.writeRichEditorImageSpanStyle(value_imageStyle) - } - writeRunMetrics(value: RunMetrics): void { - let valueSerializer: Serializer = this - const value_textStyle = value.textStyle - valueSerializer.writetext_TextStyle(value_textStyle) - const value_fontMetrics = value.fontMetrics - valueSerializer.writeFontMetrics(value_fontMetrics) - } - writeSheetOptions(value: SheetOptions): void { + public writeRichEditorTextStyle(value: RichEditorTextStyle): void { let valueSerializer: Serializer = this - const value_backgroundColor = value.backgroundColor - let value_backgroundColor_type: int32 = RuntimeType.UNDEFINED - value_backgroundColor_type = runtimeType(value_backgroundColor) - valueSerializer.writeInt8(value_backgroundColor_type) - if ((RuntimeType.UNDEFINED) != (value_backgroundColor_type)) { - const value_backgroundColor_value = value_backgroundColor! - let value_backgroundColor_value_type: int32 = RuntimeType.UNDEFINED - value_backgroundColor_value_type = runtimeType(value_backgroundColor_value) - if (((RuntimeType.NUMBER) == (value_backgroundColor_value_type)) && ((unsafeCast(value_backgroundColor_value)) >= (0)) && ((unsafeCast(value_backgroundColor_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_backgroundColor_value_0 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeInt32(value_backgroundColor_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_backgroundColor_value_type) { - valueSerializer.writeInt8(1) - const value_backgroundColor_value_1 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeNumber(value_backgroundColor_value_1) - } - else if (RuntimeType.STRING == value_backgroundColor_value_type) { - valueSerializer.writeInt8(2) - const value_backgroundColor_value_2 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeString(value_backgroundColor_value_2) - } - else if (RuntimeType.OBJECT == value_backgroundColor_value_type) { - valueSerializer.writeInt8(3) - const value_backgroundColor_value_3 = unsafeCast(value_backgroundColor_value) - valueSerializer.writeResource(value_backgroundColor_value_3) - } - } - const value_onAppear = value.onAppear - let value_onAppear_type: int32 = RuntimeType.UNDEFINED - value_onAppear_type = runtimeType(value_onAppear) - valueSerializer.writeInt8(value_onAppear_type) - if ((RuntimeType.UNDEFINED) != (value_onAppear_type)) { - const value_onAppear_value = value_onAppear! - valueSerializer.holdAndWriteCallback(value_onAppear_value) - } - const value_onDisappear = value.onDisappear - let value_onDisappear_type: int32 = RuntimeType.UNDEFINED - value_onDisappear_type = runtimeType(value_onDisappear) - valueSerializer.writeInt8(value_onDisappear_type) - if ((RuntimeType.UNDEFINED) != (value_onDisappear_type)) { - const value_onDisappear_value = value_onDisappear! - valueSerializer.holdAndWriteCallback(value_onDisappear_value) - } - const value_onWillAppear = value.onWillAppear - let value_onWillAppear_type: int32 = RuntimeType.UNDEFINED - value_onWillAppear_type = runtimeType(value_onWillAppear) - valueSerializer.writeInt8(value_onWillAppear_type) - if ((RuntimeType.UNDEFINED) != (value_onWillAppear_type)) { - const value_onWillAppear_value = value_onWillAppear! - valueSerializer.holdAndWriteCallback(value_onWillAppear_value) - } - const value_onWillDisappear = value.onWillDisappear - let value_onWillDisappear_type: int32 = RuntimeType.UNDEFINED - value_onWillDisappear_type = runtimeType(value_onWillDisappear) - valueSerializer.writeInt8(value_onWillDisappear_type) - if ((RuntimeType.UNDEFINED) != (value_onWillDisappear_type)) { - const value_onWillDisappear_value = value_onWillDisappear! - valueSerializer.holdAndWriteCallback(value_onWillDisappear_value) - } - const value_height = value.height - let value_height_type: int32 = RuntimeType.UNDEFINED - value_height_type = runtimeType(value_height) - valueSerializer.writeInt8(value_height_type) - if ((RuntimeType.UNDEFINED) != (value_height_type)) { - const value_height_value = value_height! - let value_height_value_type: int32 = RuntimeType.UNDEFINED - value_height_value_type = runtimeType(value_height_value) - if (((RuntimeType.NUMBER) == (value_height_value_type)) && ((unsafeCast(value_height_value)) >= (0)) && ((unsafeCast(value_height_value)) <= (2))) { - valueSerializer.writeInt8(0) - const value_height_value_0 = unsafeCast(value_height_value) - valueSerializer.writeInt32(value_height_value_0.valueOf()) - } - else if ((RuntimeType.STRING == value_height_value_type) || (RuntimeType.NUMBER == value_height_value_type) || (RuntimeType.OBJECT == value_height_value_type)) { - valueSerializer.writeInt8(1) - const value_height_value_1 = unsafeCast(value_height_value) - let value_height_value_1_type: int32 = RuntimeType.UNDEFINED - value_height_value_1_type = runtimeType(value_height_value_1) - if (RuntimeType.STRING == value_height_value_1_type) { - valueSerializer.writeInt8(0) - const value_height_value_1_0 = unsafeCast(value_height_value_1) - valueSerializer.writeString(value_height_value_1_0) - } - else if (RuntimeType.NUMBER == value_height_value_1_type) { - valueSerializer.writeInt8(1) - const value_height_value_1_1 = unsafeCast(value_height_value_1) - valueSerializer.writeNumber(value_height_value_1_1) - } - else if (RuntimeType.OBJECT == value_height_value_1_type) { - valueSerializer.writeInt8(2) - const value_height_value_1_2 = unsafeCast(value_height_value_1) - valueSerializer.writeResource(value_height_value_1_2) - } - } - } - const value_dragBar = value.dragBar - let value_dragBar_type: int32 = RuntimeType.UNDEFINED - value_dragBar_type = runtimeType(value_dragBar) - valueSerializer.writeInt8(value_dragBar_type) - if ((RuntimeType.UNDEFINED) != (value_dragBar_type)) { - const value_dragBar_value = value_dragBar! - valueSerializer.writeBoolean(value_dragBar_value) - } - const value_maskColor = value.maskColor - let value_maskColor_type: int32 = RuntimeType.UNDEFINED - value_maskColor_type = runtimeType(value_maskColor) - valueSerializer.writeInt8(value_maskColor_type) - if ((RuntimeType.UNDEFINED) != (value_maskColor_type)) { - const value_maskColor_value = value_maskColor! - let value_maskColor_value_type: int32 = RuntimeType.UNDEFINED - value_maskColor_value_type = runtimeType(value_maskColor_value) - if (((RuntimeType.NUMBER) == (value_maskColor_value_type)) && ((unsafeCast(value_maskColor_value)) >= (0)) && ((unsafeCast(value_maskColor_value)) <= (11))) { + const value_fontColor = value.fontColor + let value_fontColor_type: int32 = RuntimeType.UNDEFINED + value_fontColor_type = runtimeType(value_fontColor) + valueSerializer.writeInt8(value_fontColor_type) + if ((RuntimeType.UNDEFINED) != (value_fontColor_type)) { + const value_fontColor_value = value_fontColor! + let value_fontColor_value_type: int32 = RuntimeType.UNDEFINED + value_fontColor_value_type = runtimeType(value_fontColor_value) + if (((RuntimeType.NUMBER) == (value_fontColor_value_type)) && ((unsafeCast(value_fontColor_value)) >= (0)) && ((unsafeCast(value_fontColor_value)) <= (11))) { valueSerializer.writeInt8(0) - const value_maskColor_value_0 = unsafeCast(value_maskColor_value) - valueSerializer.writeInt32(value_maskColor_value_0.valueOf()) + const value_fontColor_value_0 = unsafeCast(value_fontColor_value) + valueSerializer.writeInt32(value_fontColor_value_0.valueOf()) } - else if (RuntimeType.NUMBER == value_maskColor_value_type) { + else if (RuntimeType.NUMBER == value_fontColor_value_type) { valueSerializer.writeInt8(1) - const value_maskColor_value_1 = unsafeCast(value_maskColor_value) - valueSerializer.writeNumber(value_maskColor_value_1) + const value_fontColor_value_1 = unsafeCast(value_fontColor_value) + valueSerializer.writeNumber(value_fontColor_value_1) } - else if (RuntimeType.STRING == value_maskColor_value_type) { + else if (RuntimeType.STRING == value_fontColor_value_type) { valueSerializer.writeInt8(2) - const value_maskColor_value_2 = unsafeCast(value_maskColor_value) - valueSerializer.writeString(value_maskColor_value_2) + const value_fontColor_value_2 = unsafeCast(value_fontColor_value) + valueSerializer.writeString(value_fontColor_value_2) } - else if (RuntimeType.OBJECT == value_maskColor_value_type) { + else if (RuntimeType.OBJECT == value_fontColor_value_type) { valueSerializer.writeInt8(3) - const value_maskColor_value_3 = unsafeCast(value_maskColor_value) - valueSerializer.writeResource(value_maskColor_value_3) + const value_fontColor_value_3 = unsafeCast(value_fontColor_value) + valueSerializer.writeResource(value_fontColor_value_3) } } - const value_detents = value.detents - let value_detents_type: int32 = RuntimeType.UNDEFINED - value_detents_type = runtimeType(value_detents) - valueSerializer.writeInt8(value_detents_type) - if ((RuntimeType.UNDEFINED) != (value_detents_type)) { - const value_detents_value = value_detents! - const value_detents_value_0 = value_detents_value[0] - let value_detents_value_0_type: int32 = RuntimeType.UNDEFINED - value_detents_value_0_type = runtimeType(value_detents_value_0) - if (((RuntimeType.NUMBER) == (value_detents_value_0_type)) && ((unsafeCast(value_detents_value_0)) >= (0)) && ((unsafeCast(value_detents_value_0)) <= (2))) { + const value_fontSize = value.fontSize + let value_fontSize_type: int32 = RuntimeType.UNDEFINED + value_fontSize_type = runtimeType(value_fontSize) + valueSerializer.writeInt8(value_fontSize_type) + if ((RuntimeType.UNDEFINED) != (value_fontSize_type)) { + const value_fontSize_value = value_fontSize! + let value_fontSize_value_type: int32 = RuntimeType.UNDEFINED + value_fontSize_value_type = runtimeType(value_fontSize_value) + if (RuntimeType.STRING == value_fontSize_value_type) { valueSerializer.writeInt8(0) - const value_detents_value_0_0 = unsafeCast(value_detents_value_0) - valueSerializer.writeInt32(value_detents_value_0_0.valueOf()) + const value_fontSize_value_0 = unsafeCast(value_fontSize_value) + valueSerializer.writeString(value_fontSize_value_0) } - else if ((RuntimeType.STRING == value_detents_value_0_type) || (RuntimeType.NUMBER == value_detents_value_0_type) || (RuntimeType.OBJECT == value_detents_value_0_type)) { + else if (RuntimeType.NUMBER == value_fontSize_value_type) { valueSerializer.writeInt8(1) - const value_detents_value_0_1 = unsafeCast(value_detents_value_0) - let value_detents_value_0_1_type: int32 = RuntimeType.UNDEFINED - value_detents_value_0_1_type = runtimeType(value_detents_value_0_1) - if (RuntimeType.STRING == value_detents_value_0_1_type) { - valueSerializer.writeInt8(0) - const value_detents_value_0_1_0 = unsafeCast(value_detents_value_0_1) - valueSerializer.writeString(value_detents_value_0_1_0) - } - else if (RuntimeType.NUMBER == value_detents_value_0_1_type) { - valueSerializer.writeInt8(1) - const value_detents_value_0_1_1 = unsafeCast(value_detents_value_0_1) - valueSerializer.writeNumber(value_detents_value_0_1_1) - } - else if (RuntimeType.OBJECT == value_detents_value_0_1_type) { - valueSerializer.writeInt8(2) - const value_detents_value_0_1_2 = unsafeCast(value_detents_value_0_1) - valueSerializer.writeResource(value_detents_value_0_1_2) - } - } - const value_detents_value_1 = value_detents_value[1] - let value_detents_value_1_type: int32 = RuntimeType.UNDEFINED - value_detents_value_1_type = runtimeType(value_detents_value_1) - valueSerializer.writeInt8(value_detents_value_1_type) - if ((RuntimeType.UNDEFINED) != (value_detents_value_1_type)) { - const value_detents_value_1_value = value_detents_value_1! - let value_detents_value_1_value_type: int32 = RuntimeType.UNDEFINED - value_detents_value_1_value_type = runtimeType(value_detents_value_1_value) - if (((RuntimeType.NUMBER) == (value_detents_value_1_value_type)) && ((unsafeCast(value_detents_value_1_value)) >= (0)) && ((unsafeCast(value_detents_value_1_value)) <= (2))) { - valueSerializer.writeInt8(0) - const value_detents_value_1_value_0 = unsafeCast(value_detents_value_1_value) - valueSerializer.writeInt32(value_detents_value_1_value_0.valueOf()) - } - else if ((RuntimeType.STRING == value_detents_value_1_value_type) || (RuntimeType.NUMBER == value_detents_value_1_value_type) || (RuntimeType.OBJECT == value_detents_value_1_value_type)) { - valueSerializer.writeInt8(1) - const value_detents_value_1_value_1 = unsafeCast(value_detents_value_1_value) - let value_detents_value_1_value_1_type: int32 = RuntimeType.UNDEFINED - value_detents_value_1_value_1_type = runtimeType(value_detents_value_1_value_1) - if (RuntimeType.STRING == value_detents_value_1_value_1_type) { - valueSerializer.writeInt8(0) - const value_detents_value_1_value_1_0 = unsafeCast(value_detents_value_1_value_1) - valueSerializer.writeString(value_detents_value_1_value_1_0) - } - else if (RuntimeType.NUMBER == value_detents_value_1_value_1_type) { - valueSerializer.writeInt8(1) - const value_detents_value_1_value_1_1 = unsafeCast(value_detents_value_1_value_1) - valueSerializer.writeNumber(value_detents_value_1_value_1_1) - } - else if (RuntimeType.OBJECT == value_detents_value_1_value_1_type) { - valueSerializer.writeInt8(2) - const value_detents_value_1_value_1_2 = unsafeCast(value_detents_value_1_value_1) - valueSerializer.writeResource(value_detents_value_1_value_1_2) - } - } + const value_fontSize_value_1 = unsafeCast(value_fontSize_value) + valueSerializer.writeNumber(value_fontSize_value_1) } - const value_detents_value_2 = value_detents_value[2] - let value_detents_value_2_type: int32 = RuntimeType.UNDEFINED - value_detents_value_2_type = runtimeType(value_detents_value_2) - valueSerializer.writeInt8(value_detents_value_2_type) - if ((RuntimeType.UNDEFINED) != (value_detents_value_2_type)) { - const value_detents_value_2_value = value_detents_value_2! - let value_detents_value_2_value_type: int32 = RuntimeType.UNDEFINED - value_detents_value_2_value_type = runtimeType(value_detents_value_2_value) - if (((RuntimeType.NUMBER) == (value_detents_value_2_value_type)) && ((unsafeCast(value_detents_value_2_value)) >= (0)) && ((unsafeCast(value_detents_value_2_value)) <= (2))) { - valueSerializer.writeInt8(0) - const value_detents_value_2_value_0 = unsafeCast(value_detents_value_2_value) - valueSerializer.writeInt32(value_detents_value_2_value_0.valueOf()) - } - else if ((RuntimeType.STRING == value_detents_value_2_value_type) || (RuntimeType.NUMBER == value_detents_value_2_value_type) || (RuntimeType.OBJECT == value_detents_value_2_value_type)) { - valueSerializer.writeInt8(1) - const value_detents_value_2_value_1 = unsafeCast(value_detents_value_2_value) - let value_detents_value_2_value_1_type: int32 = RuntimeType.UNDEFINED - value_detents_value_2_value_1_type = runtimeType(value_detents_value_2_value_1) - if (RuntimeType.STRING == value_detents_value_2_value_1_type) { - valueSerializer.writeInt8(0) - const value_detents_value_2_value_1_0 = unsafeCast(value_detents_value_2_value_1) - valueSerializer.writeString(value_detents_value_2_value_1_0) - } - else if (RuntimeType.NUMBER == value_detents_value_2_value_1_type) { - valueSerializer.writeInt8(1) - const value_detents_value_2_value_1_1 = unsafeCast(value_detents_value_2_value_1) - valueSerializer.writeNumber(value_detents_value_2_value_1_1) - } - else if (RuntimeType.OBJECT == value_detents_value_2_value_1_type) { - valueSerializer.writeInt8(2) - const value_detents_value_2_value_1_2 = unsafeCast(value_detents_value_2_value_1) - valueSerializer.writeResource(value_detents_value_2_value_1_2) - } - } + else if (RuntimeType.OBJECT == value_fontSize_value_type) { + valueSerializer.writeInt8(2) + const value_fontSize_value_2 = unsafeCast(value_fontSize_value) + valueSerializer.writeResource(value_fontSize_value_2) } } - const value_blurStyle = value.blurStyle - let value_blurStyle_type: int32 = RuntimeType.UNDEFINED - value_blurStyle_type = runtimeType(value_blurStyle) - valueSerializer.writeInt8(value_blurStyle_type) - if ((RuntimeType.UNDEFINED) != (value_blurStyle_type)) { - const value_blurStyle_value = value_blurStyle! - valueSerializer.writeInt32(value_blurStyle_value.valueOf()) + const value_fontStyle = value.fontStyle + let value_fontStyle_type: int32 = RuntimeType.UNDEFINED + value_fontStyle_type = runtimeType(value_fontStyle) + valueSerializer.writeInt8(value_fontStyle_type) + if ((RuntimeType.UNDEFINED) != (value_fontStyle_type)) { + const value_fontStyle_value = value_fontStyle! + valueSerializer.writeInt32(value_fontStyle_value.valueOf()) } - const value_showClose = value.showClose - let value_showClose_type: int32 = RuntimeType.UNDEFINED - value_showClose_type = runtimeType(value_showClose) - valueSerializer.writeInt8(value_showClose_type) - if ((RuntimeType.UNDEFINED) != (value_showClose_type)) { - const value_showClose_value = value_showClose! - let value_showClose_value_type: int32 = RuntimeType.UNDEFINED - value_showClose_value_type = runtimeType(value_showClose_value) - if (RuntimeType.BOOLEAN == value_showClose_value_type) { + const value_fontWeight = value.fontWeight + let value_fontWeight_type: int32 = RuntimeType.UNDEFINED + value_fontWeight_type = runtimeType(value_fontWeight) + valueSerializer.writeInt8(value_fontWeight_type) + if ((RuntimeType.UNDEFINED) != (value_fontWeight_type)) { + const value_fontWeight_value = value_fontWeight! + let value_fontWeight_value_type: int32 = RuntimeType.UNDEFINED + value_fontWeight_value_type = runtimeType(value_fontWeight_value) + if (RuntimeType.NUMBER == value_fontWeight_value_type) { valueSerializer.writeInt8(0) - const value_showClose_value_0 = unsafeCast(value_showClose_value) - valueSerializer.writeBoolean(value_showClose_value_0) + const value_fontWeight_value_0 = unsafeCast(value_fontWeight_value) + valueSerializer.writeNumber(value_fontWeight_value_0) } - else if (RuntimeType.OBJECT == value_showClose_value_type) { + else if (((RuntimeType.NUMBER) == (value_fontWeight_value_type)) && ((unsafeCast(value_fontWeight_value)) >= (0)) && ((unsafeCast(value_fontWeight_value)) <= (5))) { valueSerializer.writeInt8(1) - const value_showClose_value_1 = unsafeCast(value_showClose_value) - valueSerializer.writeResource(value_showClose_value_1) - } - } - const value_preferType = value.preferType - let value_preferType_type: int32 = RuntimeType.UNDEFINED - value_preferType_type = runtimeType(value_preferType) - valueSerializer.writeInt8(value_preferType_type) - if ((RuntimeType.UNDEFINED) != (value_preferType_type)) { - const value_preferType_value = value_preferType! - valueSerializer.writeInt32(value_preferType_value.valueOf()) - } - const value_title = value.title - let value_title_type: int32 = RuntimeType.UNDEFINED - value_title_type = runtimeType(value_title) - valueSerializer.writeInt8(value_title_type) - if ((RuntimeType.UNDEFINED) != (value_title_type)) { - const value_title_value = value_title! - let value_title_value_type: int32 = RuntimeType.UNDEFINED - value_title_value_type = runtimeType(value_title_value) - if (RuntimeType.OBJECT == value_title_value_type) { - valueSerializer.writeInt8(0) - const value_title_value_0 = unsafeCast(value_title_value) - valueSerializer.writeSheetTitleOptions(value_title_value_0) + const value_fontWeight_value_1 = unsafeCast(value_fontWeight_value) + valueSerializer.writeInt32(value_fontWeight_value_1.valueOf()) } - else if (RuntimeType.FUNCTION == value_title_value_type) { - valueSerializer.writeInt8(1) - const value_title_value_1 = unsafeCast(value_title_value) - valueSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_title_value_1)) + else if (RuntimeType.STRING == value_fontWeight_value_type) { + valueSerializer.writeInt8(2) + const value_fontWeight_value_2 = unsafeCast(value_fontWeight_value) + valueSerializer.writeString(value_fontWeight_value_2) } } - const value_shouldDismiss = value.shouldDismiss - let value_shouldDismiss_type: int32 = RuntimeType.UNDEFINED - value_shouldDismiss_type = runtimeType(value_shouldDismiss) - valueSerializer.writeInt8(value_shouldDismiss_type) - if ((RuntimeType.UNDEFINED) != (value_shouldDismiss_type)) { - const value_shouldDismiss_value = value_shouldDismiss! - valueSerializer.holdAndWriteCallback(value_shouldDismiss_value) - } - const value_onWillDismiss = value.onWillDismiss - let value_onWillDismiss_type: int32 = RuntimeType.UNDEFINED - value_onWillDismiss_type = runtimeType(value_onWillDismiss) - valueSerializer.writeInt8(value_onWillDismiss_type) - if ((RuntimeType.UNDEFINED) != (value_onWillDismiss_type)) { - const value_onWillDismiss_value = value_onWillDismiss! - valueSerializer.holdAndWriteCallback(value_onWillDismiss_value) - } - const value_onWillSpringBackWhenDismiss = value.onWillSpringBackWhenDismiss - let value_onWillSpringBackWhenDismiss_type: int32 = RuntimeType.UNDEFINED - value_onWillSpringBackWhenDismiss_type = runtimeType(value_onWillSpringBackWhenDismiss) - valueSerializer.writeInt8(value_onWillSpringBackWhenDismiss_type) - if ((RuntimeType.UNDEFINED) != (value_onWillSpringBackWhenDismiss_type)) { - const value_onWillSpringBackWhenDismiss_value = value_onWillSpringBackWhenDismiss! - valueSerializer.holdAndWriteCallback(value_onWillSpringBackWhenDismiss_value) - } - const value_enableOutsideInteractive = value.enableOutsideInteractive - let value_enableOutsideInteractive_type: int32 = RuntimeType.UNDEFINED - value_enableOutsideInteractive_type = runtimeType(value_enableOutsideInteractive) - valueSerializer.writeInt8(value_enableOutsideInteractive_type) - if ((RuntimeType.UNDEFINED) != (value_enableOutsideInteractive_type)) { - const value_enableOutsideInteractive_value = value_enableOutsideInteractive! - valueSerializer.writeBoolean(value_enableOutsideInteractive_value) - } - const value_width = value.width - let value_width_type: int32 = RuntimeType.UNDEFINED - value_width_type = runtimeType(value_width) - valueSerializer.writeInt8(value_width_type) - if ((RuntimeType.UNDEFINED) != (value_width_type)) { - const value_width_value = value_width! - let value_width_value_type: int32 = RuntimeType.UNDEFINED - value_width_value_type = runtimeType(value_width_value) - if (RuntimeType.STRING == value_width_value_type) { + const value_fontFamily = value.fontFamily + let value_fontFamily_type: int32 = RuntimeType.UNDEFINED + value_fontFamily_type = runtimeType(value_fontFamily) + valueSerializer.writeInt8(value_fontFamily_type) + if ((RuntimeType.UNDEFINED) != (value_fontFamily_type)) { + const value_fontFamily_value = value_fontFamily! + let value_fontFamily_value_type: int32 = RuntimeType.UNDEFINED + value_fontFamily_value_type = runtimeType(value_fontFamily_value) + if (RuntimeType.STRING == value_fontFamily_value_type) { valueSerializer.writeInt8(0) - const value_width_value_0 = unsafeCast(value_width_value) - valueSerializer.writeString(value_width_value_0) + const value_fontFamily_value_0 = unsafeCast(value_fontFamily_value) + valueSerializer.writeString(value_fontFamily_value_0) } - else if (RuntimeType.NUMBER == value_width_value_type) { + else if (RuntimeType.OBJECT == value_fontFamily_value_type) { valueSerializer.writeInt8(1) - const value_width_value_1 = unsafeCast(value_width_value) - valueSerializer.writeNumber(value_width_value_1) - } - else if (RuntimeType.OBJECT == value_width_value_type) { - valueSerializer.writeInt8(2) - const value_width_value_2 = unsafeCast(value_width_value) - valueSerializer.writeResource(value_width_value_2) + const value_fontFamily_value_1 = unsafeCast(value_fontFamily_value) + valueSerializer.writeResource(value_fontFamily_value_1) } } - const value_borderWidth = value.borderWidth - let value_borderWidth_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_type = runtimeType(value_borderWidth) - valueSerializer.writeInt8(value_borderWidth_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_type)) { - const value_borderWidth_value = value_borderWidth! - let value_borderWidth_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_type = runtimeType(value_borderWidth_value) - if ((RuntimeType.STRING == value_borderWidth_value_type) || (RuntimeType.NUMBER == value_borderWidth_value_type) || (RuntimeType.OBJECT == value_borderWidth_value_type)) { + const value_decoration = value.decoration + let value_decoration_type: int32 = RuntimeType.UNDEFINED + value_decoration_type = runtimeType(value_decoration) + valueSerializer.writeInt8(value_decoration_type) + if ((RuntimeType.UNDEFINED) != (value_decoration_type)) { + const value_decoration_value = value_decoration! + valueSerializer.writeDecorationStyleInterface(value_decoration_value) + } + const value_textShadow = value.textShadow + let value_textShadow_type: int32 = RuntimeType.UNDEFINED + value_textShadow_type = runtimeType(value_textShadow) + valueSerializer.writeInt8(value_textShadow_type) + if ((RuntimeType.UNDEFINED) != (value_textShadow_type)) { + const value_textShadow_value = value_textShadow! + let value_textShadow_value_type: int32 = RuntimeType.UNDEFINED + value_textShadow_value_type = runtimeType(value_textShadow_value) + if (((RuntimeType.OBJECT) == (value_textShadow_value_type)) && ((value_textShadow_value!.hasOwnProperty("radius")))) { valueSerializer.writeInt8(0) - const value_borderWidth_value_0 = unsafeCast(value_borderWidth_value) - let value_borderWidth_value_0_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_0_type = runtimeType(value_borderWidth_value_0) - if (RuntimeType.STRING == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_0_0 = unsafeCast(value_borderWidth_value_0) - valueSerializer.writeString(value_borderWidth_value_0_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_0_1 = unsafeCast(value_borderWidth_value_0) - valueSerializer.writeNumber(value_borderWidth_value_0_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_0_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_0_2 = unsafeCast(value_borderWidth_value_0) - valueSerializer.writeResource(value_borderWidth_value_0_2) - } + const value_textShadow_value_0 = unsafeCast(value_textShadow_value) + valueSerializer.writeShadowOptions(value_textShadow_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("right")) || (value_borderWidth_value!.hasOwnProperty("left"))))) { + else if (((RuntimeType.OBJECT) == (value_textShadow_value_type)) && (value_textShadow_value instanceof Array)) { valueSerializer.writeInt8(1) - const value_borderWidth_value_1 = unsafeCast(value_borderWidth_value) - const value_borderWidth_value_1_top = value_borderWidth_value_1.top - let value_borderWidth_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_type = runtimeType(value_borderWidth_value_1_top) - valueSerializer.writeInt8(value_borderWidth_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_top_type)) { - const value_borderWidth_value_1_top_value = value_borderWidth_value_1_top! - let value_borderWidth_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_top_value_type = runtimeType(value_borderWidth_value_1_top_value) - if (RuntimeType.STRING == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_top_value_0 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeString(value_borderWidth_value_1_top_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_top_value_1 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeNumber(value_borderWidth_value_1_top_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_top_value_2 = unsafeCast(value_borderWidth_value_1_top_value) - valueSerializer.writeResource(value_borderWidth_value_1_top_value_2) - } - } - const value_borderWidth_value_1_right = value_borderWidth_value_1.right - let value_borderWidth_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_type = runtimeType(value_borderWidth_value_1_right) - valueSerializer.writeInt8(value_borderWidth_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_right_type)) { - const value_borderWidth_value_1_right_value = value_borderWidth_value_1_right! - let value_borderWidth_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_right_value_type = runtimeType(value_borderWidth_value_1_right_value) - if (RuntimeType.STRING == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_right_value_0 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeString(value_borderWidth_value_1_right_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_right_value_1 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeNumber(value_borderWidth_value_1_right_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_right_value_2 = unsafeCast(value_borderWidth_value_1_right_value) - valueSerializer.writeResource(value_borderWidth_value_1_right_value_2) - } - } - const value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom - let value_borderWidth_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_type = runtimeType(value_borderWidth_value_1_bottom) - valueSerializer.writeInt8(value_borderWidth_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_bottom_type)) { - const value_borderWidth_value_1_bottom_value = value_borderWidth_value_1_bottom! - let value_borderWidth_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_bottom_value_type = runtimeType(value_borderWidth_value_1_bottom_value) - if (RuntimeType.STRING == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_bottom_value_0 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeString(value_borderWidth_value_1_bottom_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_bottom_value_1 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeNumber(value_borderWidth_value_1_bottom_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_bottom_value_2 = unsafeCast(value_borderWidth_value_1_bottom_value) - valueSerializer.writeResource(value_borderWidth_value_1_bottom_value_2) - } - } - const value_borderWidth_value_1_left = value_borderWidth_value_1.left - let value_borderWidth_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_type = runtimeType(value_borderWidth_value_1_left) - valueSerializer.writeInt8(value_borderWidth_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_borderWidth_value_1_left_type)) { - const value_borderWidth_value_1_left_value = value_borderWidth_value_1_left! - let value_borderWidth_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_borderWidth_value_1_left_value_type = runtimeType(value_borderWidth_value_1_left_value) - if (RuntimeType.STRING == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(0) - const value_borderWidth_value_1_left_value_0 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeString(value_borderWidth_value_1_left_value_0) - } - else if (RuntimeType.NUMBER == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_borderWidth_value_1_left_value_1 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeNumber(value_borderWidth_value_1_left_value_1) - } - else if (RuntimeType.OBJECT == value_borderWidth_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_1_left_value_2 = unsafeCast(value_borderWidth_value_1_left_value) - valueSerializer.writeResource(value_borderWidth_value_1_left_value_2) - } + const value_textShadow_value_1 = unsafeCast>(value_textShadow_value) + valueSerializer.writeInt32(value_textShadow_value_1.length) + for (let i = 0; i < value_textShadow_value_1.length; i++) { + const value_textShadow_value_1_element: ShadowOptions = value_textShadow_value_1[i] + valueSerializer.writeShadowOptions(value_textShadow_value_1_element) } } - else if (((RuntimeType.OBJECT) == (value_borderWidth_value_type)) && (((value_borderWidth_value!.hasOwnProperty("end")) || (value_borderWidth_value!.hasOwnProperty("start"))))) { - valueSerializer.writeInt8(2) - const value_borderWidth_value_2 = unsafeCast(value_borderWidth_value) - valueSerializer.writeLocalizedEdgeWidths(value_borderWidth_value_2) + } + const value_letterSpacing = value.letterSpacing + let value_letterSpacing_type: int32 = RuntimeType.UNDEFINED + value_letterSpacing_type = runtimeType(value_letterSpacing) + valueSerializer.writeInt8(value_letterSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { + const value_letterSpacing_value = value_letterSpacing! + let value_letterSpacing_value_type: int32 = RuntimeType.UNDEFINED + value_letterSpacing_value_type = runtimeType(value_letterSpacing_value) + if (RuntimeType.NUMBER == value_letterSpacing_value_type) { + valueSerializer.writeInt8(0) + const value_letterSpacing_value_0 = unsafeCast(value_letterSpacing_value) + valueSerializer.writeNumber(value_letterSpacing_value_0) + } + else if (RuntimeType.STRING == value_letterSpacing_value_type) { + valueSerializer.writeInt8(1) + const value_letterSpacing_value_1 = unsafeCast(value_letterSpacing_value) + valueSerializer.writeString(value_letterSpacing_value_1) } } - const value_borderColor = value.borderColor - let value_borderColor_type: int32 = RuntimeType.UNDEFINED - value_borderColor_type = runtimeType(value_borderColor) - valueSerializer.writeInt8(value_borderColor_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_type)) { - const value_borderColor_value = value_borderColor! - let value_borderColor_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_type = runtimeType(value_borderColor_value) - if ((((RuntimeType.NUMBER) == (value_borderColor_value_type)) && ((unsafeCast(value_borderColor_value)) >= (0)) && ((unsafeCast(value_borderColor_value)) <= (11))) || (RuntimeType.NUMBER == value_borderColor_value_type) || (RuntimeType.STRING == value_borderColor_value_type) || (RuntimeType.OBJECT == value_borderColor_value_type)) { + const value_lineHeight = value.lineHeight + let value_lineHeight_type: int32 = RuntimeType.UNDEFINED + value_lineHeight_type = runtimeType(value_lineHeight) + valueSerializer.writeInt8(value_lineHeight_type) + if ((RuntimeType.UNDEFINED) != (value_lineHeight_type)) { + const value_lineHeight_value = value_lineHeight! + let value_lineHeight_value_type: int32 = RuntimeType.UNDEFINED + value_lineHeight_value_type = runtimeType(value_lineHeight_value) + if (RuntimeType.NUMBER == value_lineHeight_value_type) { valueSerializer.writeInt8(0) - const value_borderColor_value_0 = unsafeCast(value_borderColor_value) - let value_borderColor_value_0_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_0_type = runtimeType(value_borderColor_value_0) - if (((RuntimeType.NUMBER) == (value_borderColor_value_0_type)) && ((unsafeCast(value_borderColor_value_0)) >= (0)) && ((unsafeCast(value_borderColor_value_0)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_0_0 = unsafeCast(value_borderColor_value_0) - valueSerializer.writeInt32(value_borderColor_value_0_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_0_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_0_1 = unsafeCast(value_borderColor_value_0) - valueSerializer.writeNumber(value_borderColor_value_0_1) - } - else if (RuntimeType.STRING == value_borderColor_value_0_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_0_2 = unsafeCast(value_borderColor_value_0) - valueSerializer.writeString(value_borderColor_value_0_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_0_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_0_3 = unsafeCast(value_borderColor_value_0) - valueSerializer.writeResource(value_borderColor_value_0_3) - } + const value_lineHeight_value_0 = unsafeCast(value_lineHeight_value) + valueSerializer.writeNumber(value_lineHeight_value_0) } - else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("right")) || (value_borderColor_value!.hasOwnProperty("left"))))) { + else if (RuntimeType.STRING == value_lineHeight_value_type) { valueSerializer.writeInt8(1) - const value_borderColor_value_1 = unsafeCast(value_borderColor_value) - const value_borderColor_value_1_top = value_borderColor_value_1.top - let value_borderColor_value_1_top_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_type = runtimeType(value_borderColor_value_1_top) - valueSerializer.writeInt8(value_borderColor_value_1_top_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_top_type)) { - const value_borderColor_value_1_top_value = value_borderColor_value_1_top! - let value_borderColor_value_1_top_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_top_value_type = runtimeType(value_borderColor_value_1_top_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_top_value_type)) && ((unsafeCast(value_borderColor_value_1_top_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_top_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_top_value_0 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeInt32(value_borderColor_value_1_top_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_top_value_1 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeNumber(value_borderColor_value_1_top_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_top_value_2 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeString(value_borderColor_value_1_top_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_top_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_top_value_3 = unsafeCast(value_borderColor_value_1_top_value) - valueSerializer.writeResource(value_borderColor_value_1_top_value_3) - } - } - const value_borderColor_value_1_right = value_borderColor_value_1.right - let value_borderColor_value_1_right_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_type = runtimeType(value_borderColor_value_1_right) - valueSerializer.writeInt8(value_borderColor_value_1_right_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_right_type)) { - const value_borderColor_value_1_right_value = value_borderColor_value_1_right! - let value_borderColor_value_1_right_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_right_value_type = runtimeType(value_borderColor_value_1_right_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_right_value_type)) && ((unsafeCast(value_borderColor_value_1_right_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_right_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_right_value_0 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeInt32(value_borderColor_value_1_right_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_right_value_1 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeNumber(value_borderColor_value_1_right_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_right_value_2 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeString(value_borderColor_value_1_right_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_right_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_right_value_3 = unsafeCast(value_borderColor_value_1_right_value) - valueSerializer.writeResource(value_borderColor_value_1_right_value_3) - } - } - const value_borderColor_value_1_bottom = value_borderColor_value_1.bottom - let value_borderColor_value_1_bottom_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_type = runtimeType(value_borderColor_value_1_bottom) - valueSerializer.writeInt8(value_borderColor_value_1_bottom_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_bottom_type)) { - const value_borderColor_value_1_bottom_value = value_borderColor_value_1_bottom! - let value_borderColor_value_1_bottom_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_bottom_value_type = runtimeType(value_borderColor_value_1_bottom_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_bottom_value_type)) && ((unsafeCast(value_borderColor_value_1_bottom_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_bottom_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_bottom_value_0 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeInt32(value_borderColor_value_1_bottom_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_bottom_value_1 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeNumber(value_borderColor_value_1_bottom_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_bottom_value_2 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeString(value_borderColor_value_1_bottom_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_bottom_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_bottom_value_3 = unsafeCast(value_borderColor_value_1_bottom_value) - valueSerializer.writeResource(value_borderColor_value_1_bottom_value_3) - } - } - const value_borderColor_value_1_left = value_borderColor_value_1.left - let value_borderColor_value_1_left_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_type = runtimeType(value_borderColor_value_1_left) - valueSerializer.writeInt8(value_borderColor_value_1_left_type) - if ((RuntimeType.UNDEFINED) != (value_borderColor_value_1_left_type)) { - const value_borderColor_value_1_left_value = value_borderColor_value_1_left! - let value_borderColor_value_1_left_value_type: int32 = RuntimeType.UNDEFINED - value_borderColor_value_1_left_value_type = runtimeType(value_borderColor_value_1_left_value) - if (((RuntimeType.NUMBER) == (value_borderColor_value_1_left_value_type)) && ((unsafeCast(value_borderColor_value_1_left_value)) >= (0)) && ((unsafeCast(value_borderColor_value_1_left_value)) <= (11))) { - valueSerializer.writeInt8(0) - const value_borderColor_value_1_left_value_0 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeInt32(value_borderColor_value_1_left_value_0.valueOf()) - } - else if (RuntimeType.NUMBER == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(1) - const value_borderColor_value_1_left_value_1 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeNumber(value_borderColor_value_1_left_value_1) - } - else if (RuntimeType.STRING == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(2) - const value_borderColor_value_1_left_value_2 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeString(value_borderColor_value_1_left_value_2) - } - else if (RuntimeType.OBJECT == value_borderColor_value_1_left_value_type) { - valueSerializer.writeInt8(3) - const value_borderColor_value_1_left_value_3 = unsafeCast(value_borderColor_value_1_left_value) - valueSerializer.writeResource(value_borderColor_value_1_left_value_3) - } - } + const value_lineHeight_value_1 = unsafeCast(value_lineHeight_value) + valueSerializer.writeString(value_lineHeight_value_1) } - else if (((RuntimeType.OBJECT) == (value_borderColor_value_type)) && (((value_borderColor_value!.hasOwnProperty("end")) || (value_borderColor_value!.hasOwnProperty("start"))))) { + else if (RuntimeType.OBJECT == value_lineHeight_value_type) { valueSerializer.writeInt8(2) - const value_borderColor_value_2 = unsafeCast(value_borderColor_value) - valueSerializer.writeLocalizedEdgeColors(value_borderColor_value_2) + const value_lineHeight_value_2 = unsafeCast(value_lineHeight_value) + valueSerializer.writeResource(value_lineHeight_value_2) } } - const value_borderStyle = value.borderStyle - let value_borderStyle_type: int32 = RuntimeType.UNDEFINED - value_borderStyle_type = runtimeType(value_borderStyle) - valueSerializer.writeInt8(value_borderStyle_type) - if ((RuntimeType.UNDEFINED) != (value_borderStyle_type)) { - const value_borderStyle_value = value_borderStyle! - let value_borderStyle_value_type: int32 = RuntimeType.UNDEFINED - value_borderStyle_value_type = runtimeType(value_borderStyle_value) - if (RuntimeType.NUMBER == value_borderStyle_value_type) { - valueSerializer.writeInt8(0) - const value_borderStyle_value_0 = unsafeCast(value_borderStyle_value) - valueSerializer.writeInt32(value_borderStyle_value_0.valueOf()) - } - else if (RuntimeType.OBJECT == value_borderStyle_value_type) { - valueSerializer.writeInt8(1) - const value_borderStyle_value_1 = unsafeCast(value_borderStyle_value) - valueSerializer.writeEdgeStyles(value_borderStyle_value_1) + const value_halfLeading = value.halfLeading + let value_halfLeading_type: int32 = RuntimeType.UNDEFINED + value_halfLeading_type = runtimeType(value_halfLeading) + valueSerializer.writeInt8(value_halfLeading_type) + if ((RuntimeType.UNDEFINED) != (value_halfLeading_type)) { + const value_halfLeading_value = value_halfLeading! + valueSerializer.writeBoolean(value_halfLeading_value) + } + const value_fontFeature = value.fontFeature + let value_fontFeature_type: int32 = RuntimeType.UNDEFINED + value_fontFeature_type = runtimeType(value_fontFeature) + valueSerializer.writeInt8(value_fontFeature_type) + if ((RuntimeType.UNDEFINED) != (value_fontFeature_type)) { + const value_fontFeature_value = value_fontFeature! + valueSerializer.writeString(value_fontFeature_value) + } + const value_textBackgroundStyle = value.textBackgroundStyle + let value_textBackgroundStyle_type: int32 = RuntimeType.UNDEFINED + value_textBackgroundStyle_type = runtimeType(value_textBackgroundStyle) + valueSerializer.writeInt8(value_textBackgroundStyle_type) + if ((RuntimeType.UNDEFINED) != (value_textBackgroundStyle_type)) { + const value_textBackgroundStyle_value = value_textBackgroundStyle! + valueSerializer.writeTextBackgroundStyle(value_textBackgroundStyle_value) + } + } + public writeRichEditorTextStyleResult(value: RichEditorTextStyleResult): void { + let valueSerializer: Serializer = this + const value_fontColor = value.fontColor + let value_fontColor_type: int32 = RuntimeType.UNDEFINED + value_fontColor_type = runtimeType(value_fontColor) + if (((RuntimeType.NUMBER) == (value_fontColor_type)) && ((unsafeCast(value_fontColor)) >= (0)) && ((unsafeCast(value_fontColor)) <= (11))) { + valueSerializer.writeInt8(0) + const value_fontColor_0 = unsafeCast(value_fontColor) + valueSerializer.writeInt32(value_fontColor_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_fontColor_type) { + valueSerializer.writeInt8(1) + const value_fontColor_1 = unsafeCast(value_fontColor) + valueSerializer.writeNumber(value_fontColor_1) + } + else if (RuntimeType.STRING == value_fontColor_type) { + valueSerializer.writeInt8(2) + const value_fontColor_2 = unsafeCast(value_fontColor) + valueSerializer.writeString(value_fontColor_2) + } + else if (RuntimeType.OBJECT == value_fontColor_type) { + valueSerializer.writeInt8(3) + const value_fontColor_3 = unsafeCast(value_fontColor) + valueSerializer.writeResource(value_fontColor_3) + } + const value_fontSize = value.fontSize + valueSerializer.writeNumber(value_fontSize) + const value_fontStyle = value.fontStyle + valueSerializer.writeInt32(value_fontStyle.valueOf()) + const value_fontWeight = value.fontWeight + valueSerializer.writeNumber(value_fontWeight) + const value_fontFamily = value.fontFamily + valueSerializer.writeString(value_fontFamily) + const value_decoration = value.decoration + valueSerializer.writeDecorationStyleResult(value_decoration) + const value_textShadow = value.textShadow + let value_textShadow_type: int32 = RuntimeType.UNDEFINED + value_textShadow_type = runtimeType(value_textShadow) + valueSerializer.writeInt8(value_textShadow_type) + if ((RuntimeType.UNDEFINED) != (value_textShadow_type)) { + const value_textShadow_value = value_textShadow! + valueSerializer.writeInt32(value_textShadow_value.length) + for (let i = 0; i < value_textShadow_value.length; i++) { + const value_textShadow_value_element: ShadowOptions = value_textShadow_value[i] + valueSerializer.writeShadowOptions(value_textShadow_value_element) } } - const value_shadow = value.shadow - let value_shadow_type: int32 = RuntimeType.UNDEFINED - value_shadow_type = runtimeType(value_shadow) - valueSerializer.writeInt8(value_shadow_type) - if ((RuntimeType.UNDEFINED) != (value_shadow_type)) { - const value_shadow_value = value_shadow! - let value_shadow_value_type: int32 = RuntimeType.UNDEFINED - value_shadow_value_type = runtimeType(value_shadow_value) - if (RuntimeType.OBJECT == value_shadow_value_type) { - valueSerializer.writeInt8(0) - const value_shadow_value_0 = unsafeCast(value_shadow_value) - valueSerializer.writeShadowOptions(value_shadow_value_0) - } - else if (RuntimeType.NUMBER == value_shadow_value_type) { - valueSerializer.writeInt8(1) - const value_shadow_value_1 = unsafeCast(value_shadow_value) - valueSerializer.writeInt32(value_shadow_value_1.valueOf()) - } + const value_letterSpacing = value.letterSpacing + let value_letterSpacing_type: int32 = RuntimeType.UNDEFINED + value_letterSpacing_type = runtimeType(value_letterSpacing) + valueSerializer.writeInt8(value_letterSpacing_type) + if ((RuntimeType.UNDEFINED) != (value_letterSpacing_type)) { + const value_letterSpacing_value = value_letterSpacing! + valueSerializer.writeNumber(value_letterSpacing_value) } - const value_onHeightDidChange = value.onHeightDidChange - let value_onHeightDidChange_type: int32 = RuntimeType.UNDEFINED - value_onHeightDidChange_type = runtimeType(value_onHeightDidChange) - valueSerializer.writeInt8(value_onHeightDidChange_type) - if ((RuntimeType.UNDEFINED) != (value_onHeightDidChange_type)) { - const value_onHeightDidChange_value = value_onHeightDidChange! - valueSerializer.holdAndWriteCallback(value_onHeightDidChange_value) + const value_lineHeight = value.lineHeight + let value_lineHeight_type: int32 = RuntimeType.UNDEFINED + value_lineHeight_type = runtimeType(value_lineHeight) + valueSerializer.writeInt8(value_lineHeight_type) + if ((RuntimeType.UNDEFINED) != (value_lineHeight_type)) { + const value_lineHeight_value = value_lineHeight! + valueSerializer.writeNumber(value_lineHeight_value) } - const value_mode = value.mode - let value_mode_type: int32 = RuntimeType.UNDEFINED - value_mode_type = runtimeType(value_mode) - valueSerializer.writeInt8(value_mode_type) - if ((RuntimeType.UNDEFINED) != (value_mode_type)) { - const value_mode_value = value_mode! - valueSerializer.writeInt32(value_mode_value.valueOf()) + const value_halfLeading = value.halfLeading + let value_halfLeading_type: int32 = RuntimeType.UNDEFINED + value_halfLeading_type = runtimeType(value_halfLeading) + valueSerializer.writeInt8(value_halfLeading_type) + if ((RuntimeType.UNDEFINED) != (value_halfLeading_type)) { + const value_halfLeading_value = value_halfLeading! + valueSerializer.writeBoolean(value_halfLeading_value) } - const value_scrollSizeMode = value.scrollSizeMode - let value_scrollSizeMode_type: int32 = RuntimeType.UNDEFINED - value_scrollSizeMode_type = runtimeType(value_scrollSizeMode) - valueSerializer.writeInt8(value_scrollSizeMode_type) - if ((RuntimeType.UNDEFINED) != (value_scrollSizeMode_type)) { - const value_scrollSizeMode_value = value_scrollSizeMode! - valueSerializer.writeInt32(value_scrollSizeMode_value.valueOf()) + const value_fontFeature = value.fontFeature + let value_fontFeature_type: int32 = RuntimeType.UNDEFINED + value_fontFeature_type = runtimeType(value_fontFeature) + valueSerializer.writeInt8(value_fontFeature_type) + if ((RuntimeType.UNDEFINED) != (value_fontFeature_type)) { + const value_fontFeature_value = value_fontFeature! + valueSerializer.writeString(value_fontFeature_value) } - const value_onDetentsDidChange = value.onDetentsDidChange - let value_onDetentsDidChange_type: int32 = RuntimeType.UNDEFINED - value_onDetentsDidChange_type = runtimeType(value_onDetentsDidChange) - valueSerializer.writeInt8(value_onDetentsDidChange_type) - if ((RuntimeType.UNDEFINED) != (value_onDetentsDidChange_type)) { - const value_onDetentsDidChange_value = value_onDetentsDidChange! - valueSerializer.holdAndWriteCallback(value_onDetentsDidChange_value) + const value_textBackgroundStyle = value.textBackgroundStyle + let value_textBackgroundStyle_type: int32 = RuntimeType.UNDEFINED + value_textBackgroundStyle_type = runtimeType(value_textBackgroundStyle) + valueSerializer.writeInt8(value_textBackgroundStyle_type) + if ((RuntimeType.UNDEFINED) != (value_textBackgroundStyle_type)) { + const value_textBackgroundStyle_value = value_textBackgroundStyle! + valueSerializer.writeTextBackgroundStyle(value_textBackgroundStyle_value) } - const value_onWidthDidChange = value.onWidthDidChange - let value_onWidthDidChange_type: int32 = RuntimeType.UNDEFINED - value_onWidthDidChange_type = runtimeType(value_onWidthDidChange) - valueSerializer.writeInt8(value_onWidthDidChange_type) - if ((RuntimeType.UNDEFINED) != (value_onWidthDidChange_type)) { - const value_onWidthDidChange_value = value_onWidthDidChange! - valueSerializer.holdAndWriteCallback(value_onWidthDidChange_value) + } + public writeRichEditorUpdateImageSpanStyleOptions(value: RichEditorUpdateImageSpanStyleOptions): void { + let valueSerializer: Serializer = this + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeNumber(value_start_value) } - const value_onTypeDidChange = value.onTypeDidChange - let value_onTypeDidChange_type: int32 = RuntimeType.UNDEFINED - value_onTypeDidChange_type = runtimeType(value_onTypeDidChange) - valueSerializer.writeInt8(value_onTypeDidChange_type) - if ((RuntimeType.UNDEFINED) != (value_onTypeDidChange_type)) { - const value_onTypeDidChange_value = value_onTypeDidChange! - valueSerializer.holdAndWriteCallback(value_onTypeDidChange_value) + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeNumber(value_end_value) } - const value_uiContext = value.uiContext - let value_uiContext_type: int32 = RuntimeType.UNDEFINED - value_uiContext_type = runtimeType(value_uiContext) - valueSerializer.writeInt8(value_uiContext_type) - if ((RuntimeType.UNDEFINED) != (value_uiContext_type)) { - const value_uiContext_value = value_uiContext! - valueSerializer.writeUIContext(value_uiContext_value) + const value_imageStyle = value.imageStyle + valueSerializer.writeRichEditorImageSpanStyle(value_imageStyle) + } + public writeRichEditorUpdateTextSpanStyleOptions(value: RichEditorUpdateTextSpanStyleOptions): void { + let valueSerializer: Serializer = this + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeNumber(value_start_value) } - const value_keyboardAvoidMode = value.keyboardAvoidMode - let value_keyboardAvoidMode_type: int32 = RuntimeType.UNDEFINED - value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode) - valueSerializer.writeInt8(value_keyboardAvoidMode_type) - if ((RuntimeType.UNDEFINED) != (value_keyboardAvoidMode_type)) { - const value_keyboardAvoidMode_value = value_keyboardAvoidMode! - valueSerializer.writeInt32(value_keyboardAvoidMode_value.valueOf()) + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeNumber(value_end_value) + } + const value_textStyle = value.textStyle + valueSerializer.writeRichEditorTextStyle(value_textStyle) + const value_urlStyle = value.urlStyle + let value_urlStyle_type: int32 = RuntimeType.UNDEFINED + value_urlStyle_type = runtimeType(value_urlStyle) + valueSerializer.writeInt8(value_urlStyle_type) + if ((RuntimeType.UNDEFINED) != (value_urlStyle_type)) { + const value_urlStyle_value = value_urlStyle! + valueSerializer.writeRichEditorUrlStyle(value_urlStyle_value) } } - writeStyleOptions(value: StyleOptions): void { + public writeStyleOptions(value: StyleOptions): void { let valueSerializer: Serializer = this const value_start = value.start let value_start_type: int32 = RuntimeType.UNDEFINED @@ -28509,7 +27753,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeBackgroundColorStyle(value_styledValue_12) } } - writeSubTabBarStyle(value: SubTabBarStyle): void { + public writeSubTabBarStyle(value: SubTabBarStyle): void { let valueSerializer: Serializer = this const value__content = value._content let value__content_type: int32 = RuntimeType.UNDEFINED @@ -28717,7 +27961,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value__id_value) } } - writeTextPickerDialogOptions(value: TextPickerDialogOptions): void { + public writeTextPickerDialogOptions(value: TextPickerDialogOptions): void { let valueSerializer: Serializer = this const value_range = value.range let value_range_type: int32 = RuntimeType.UNDEFINED @@ -28813,6 +28057,18 @@ export class Serializer extends SerializerBase { } } } + const value_columnWidths = value.columnWidths + let value_columnWidths_type: int32 = RuntimeType.UNDEFINED + value_columnWidths_type = runtimeType(value_columnWidths) + valueSerializer.writeInt8(value_columnWidths_type) + if ((RuntimeType.UNDEFINED) != (value_columnWidths_type)) { + const value_columnWidths_value = value_columnWidths! + valueSerializer.writeInt32(value_columnWidths_value.length) + for (let i = 0; i < value_columnWidths_value.length; i++) { + const value_columnWidths_value_element: LengthMetrics = value_columnWidths_value[i] + valueSerializer.writeLengthMetrics(value_columnWidths_value_element) + } + } const value_defaultPickerItemHeight = value.defaultPickerItemHeight let value_defaultPickerItemHeight_type: int32 = RuntimeType.UNDEFINED value_defaultPickerItemHeight_type = runtimeType(value_defaultPickerItemHeight) @@ -28880,6 +28136,22 @@ export class Serializer extends SerializerBase { const value_selectedTextStyle_value = value_selectedTextStyle! valueSerializer.writePickerTextStyle(value_selectedTextStyle_value) } + const value_disableTextStyleAnimation = value.disableTextStyleAnimation + let value_disableTextStyleAnimation_type: int32 = RuntimeType.UNDEFINED + value_disableTextStyleAnimation_type = runtimeType(value_disableTextStyleAnimation) + valueSerializer.writeInt8(value_disableTextStyleAnimation_type) + if ((RuntimeType.UNDEFINED) != (value_disableTextStyleAnimation_type)) { + const value_disableTextStyleAnimation_value = value_disableTextStyleAnimation! + valueSerializer.writeBoolean(value_disableTextStyleAnimation_value) + } + const value_defaultTextStyle = value.defaultTextStyle + let value_defaultTextStyle_type: int32 = RuntimeType.UNDEFINED + value_defaultTextStyle_type = runtimeType(value_defaultTextStyle) + valueSerializer.writeInt8(value_defaultTextStyle_type) + if ((RuntimeType.UNDEFINED) != (value_defaultTextStyle_type)) { + const value_defaultTextStyle_value = value_defaultTextStyle! + valueSerializer.writeTextPickerTextStyle(value_defaultTextStyle_value) + } const value_onAccept = value.onAccept let value_onAccept_type: int32 = RuntimeType.UNDEFINED value_onAccept_type = runtimeType(value_onAccept) @@ -28904,6 +28176,22 @@ export class Serializer extends SerializerBase { const value_onChange_value = value_onChange! valueSerializer.holdAndWriteCallback(value_onChange_value) } + const value_onScrollStop = value.onScrollStop + let value_onScrollStop_type: int32 = RuntimeType.UNDEFINED + value_onScrollStop_type = runtimeType(value_onScrollStop) + valueSerializer.writeInt8(value_onScrollStop_type) + if ((RuntimeType.UNDEFINED) != (value_onScrollStop_type)) { + const value_onScrollStop_value = value_onScrollStop! + valueSerializer.holdAndWriteCallback(value_onScrollStop_value) + } + const value_onEnterSelectedArea = value.onEnterSelectedArea + let value_onEnterSelectedArea_type: int32 = RuntimeType.UNDEFINED + value_onEnterSelectedArea_type = runtimeType(value_onEnterSelectedArea) + valueSerializer.writeInt8(value_onEnterSelectedArea_type) + if ((RuntimeType.UNDEFINED) != (value_onEnterSelectedArea_type)) { + const value_onEnterSelectedArea_value = value_onEnterSelectedArea! + valueSerializer.holdAndWriteCallback(value_onEnterSelectedArea_value) + } const value_maskRect = value.maskRect let value_maskRect_type: int32 = RuntimeType.UNDEFINED value_maskRect_type = runtimeType(value_maskRect) @@ -28926,42 +28214,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dx_0 = unsafeCast(value_offset_value_dx) - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dx_1 = unsafeCast(value_offset_value_dx) - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dx_2 = unsafeCast(value_offset_value_dx) - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dy_0 = unsafeCast(value_offset_value_dy) - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dy_1 = unsafeCast(value_offset_value_dy) - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dy_2 = unsafeCast(value_offset_value_dy) - valueSerializer.writeResource(value_offset_value_dy_2) - } + valueSerializer.writeOffset(value_offset_value) } const value_backgroundColor = value.backgroundColor let value_backgroundColor_type: int32 = RuntimeType.UNDEFINED @@ -29000,6 +28253,22 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle_value = value_backgroundBlurStyle! valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } const value_onDidAppear = value.onDidAppear let value_onDidAppear_type: int32 = RuntimeType.UNDEFINED value_onDidAppear_type = runtimeType(value_onDidAppear) @@ -29067,8 +28336,16 @@ export class Serializer extends SerializerBase { const value_hoverModeArea_value = value_hoverModeArea! valueSerializer.writeInt32(value_hoverModeArea_value.valueOf()) } + const value_enableHapticFeedback = value.enableHapticFeedback + let value_enableHapticFeedback_type: int32 = RuntimeType.UNDEFINED + value_enableHapticFeedback_type = runtimeType(value_enableHapticFeedback) + valueSerializer.writeInt8(value_enableHapticFeedback_type) + if ((RuntimeType.UNDEFINED) != (value_enableHapticFeedback_type)) { + const value_enableHapticFeedback_value = value_enableHapticFeedback! + valueSerializer.writeBoolean(value_enableHapticFeedback_value) + } } - writeTimePickerDialogOptions(value: TimePickerDialogOptions): void { + public writeTimePickerDialogOptions(value: TimePickerDialogOptions): void { let valueSerializer: Serializer = this const value_selected = value.selected let value_selected_type: int32 = RuntimeType.UNDEFINED @@ -29086,6 +28363,22 @@ export class Serializer extends SerializerBase { const value_format_value = value_format! valueSerializer.writeInt32(value_format_value.valueOf()) } + const value_start = value.start + let value_start_type: int32 = RuntimeType.UNDEFINED + value_start_type = runtimeType(value_start) + valueSerializer.writeInt8(value_start_type) + if ((RuntimeType.UNDEFINED) != (value_start_type)) { + const value_start_value = value_start! + valueSerializer.writeInt64((value_start_value.getTime() as number)) + } + const value_end = value.end + let value_end_type: int32 = RuntimeType.UNDEFINED + value_end_type = runtimeType(value_end) + valueSerializer.writeInt8(value_end_type) + if ((RuntimeType.UNDEFINED) != (value_end_type)) { + const value_end_value = value_end! + valueSerializer.writeInt64((value_end_value.getTime() as number)) + } const value_useMilitaryTime = value.useMilitaryTime let value_useMilitaryTime_type: int32 = RuntimeType.UNDEFINED value_useMilitaryTime_type = runtimeType(value_useMilitaryTime) @@ -29156,42 +28449,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeInt8(value_offset_type) if ((RuntimeType.UNDEFINED) != (value_offset_type)) { const value_offset_value = value_offset! - const value_offset_value_dx = value_offset_value.dx - let value_offset_value_dx_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dx_type = runtimeType(value_offset_value_dx) - if (RuntimeType.STRING == value_offset_value_dx_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dx_0 = unsafeCast(value_offset_value_dx) - valueSerializer.writeString(value_offset_value_dx_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dx_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dx_1 = unsafeCast(value_offset_value_dx) - valueSerializer.writeNumber(value_offset_value_dx_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dx_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dx_2 = unsafeCast(value_offset_value_dx) - valueSerializer.writeResource(value_offset_value_dx_2) - } - const value_offset_value_dy = value_offset_value.dy - let value_offset_value_dy_type: int32 = RuntimeType.UNDEFINED - value_offset_value_dy_type = runtimeType(value_offset_value_dy) - if (RuntimeType.STRING == value_offset_value_dy_type) { - valueSerializer.writeInt8(0) - const value_offset_value_dy_0 = unsafeCast(value_offset_value_dy) - valueSerializer.writeString(value_offset_value_dy_0) - } - else if (RuntimeType.NUMBER == value_offset_value_dy_type) { - valueSerializer.writeInt8(1) - const value_offset_value_dy_1 = unsafeCast(value_offset_value_dy) - valueSerializer.writeNumber(value_offset_value_dy_1) - } - else if (RuntimeType.OBJECT == value_offset_value_dy_type) { - valueSerializer.writeInt8(2) - const value_offset_value_dy_2 = unsafeCast(value_offset_value_dy) - valueSerializer.writeResource(value_offset_value_dy_2) - } + valueSerializer.writeOffset(value_offset_value) } const value_onAccept = value.onAccept let value_onAccept_type: int32 = RuntimeType.UNDEFINED @@ -29217,6 +28475,14 @@ export class Serializer extends SerializerBase { const value_onChange_value = value_onChange! valueSerializer.holdAndWriteCallback(value_onChange_value) } + const value_onEnterSelectedArea = value.onEnterSelectedArea + let value_onEnterSelectedArea_type: int32 = RuntimeType.UNDEFINED + value_onEnterSelectedArea_type = runtimeType(value_onEnterSelectedArea) + valueSerializer.writeInt8(value_onEnterSelectedArea_type) + if ((RuntimeType.UNDEFINED) != (value_onEnterSelectedArea_type)) { + const value_onEnterSelectedArea_value = value_onEnterSelectedArea! + valueSerializer.holdAndWriteCallback(value_onEnterSelectedArea_value) + } const value_backgroundColor = value.backgroundColor let value_backgroundColor_type: int32 = RuntimeType.UNDEFINED value_backgroundColor_type = runtimeType(value_backgroundColor) @@ -29254,6 +28520,30 @@ export class Serializer extends SerializerBase { const value_backgroundBlurStyle_value = value_backgroundBlurStyle! valueSerializer.writeInt32(value_backgroundBlurStyle_value.valueOf()) } + const value_backgroundBlurStyleOptions = value.backgroundBlurStyleOptions + let value_backgroundBlurStyleOptions_type: int32 = RuntimeType.UNDEFINED + value_backgroundBlurStyleOptions_type = runtimeType(value_backgroundBlurStyleOptions) + valueSerializer.writeInt8(value_backgroundBlurStyleOptions_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundBlurStyleOptions_type)) { + const value_backgroundBlurStyleOptions_value = value_backgroundBlurStyleOptions! + valueSerializer.writeBackgroundBlurStyleOptions(value_backgroundBlurStyleOptions_value) + } + const value_backgroundEffect = value.backgroundEffect + let value_backgroundEffect_type: int32 = RuntimeType.UNDEFINED + value_backgroundEffect_type = runtimeType(value_backgroundEffect) + valueSerializer.writeInt8(value_backgroundEffect_type) + if ((RuntimeType.UNDEFINED) != (value_backgroundEffect_type)) { + const value_backgroundEffect_value = value_backgroundEffect! + valueSerializer.writeBackgroundEffectOptions(value_backgroundEffect_value) + } + const value_enableCascade = value.enableCascade + let value_enableCascade_type: int32 = RuntimeType.UNDEFINED + value_enableCascade_type = runtimeType(value_enableCascade) + valueSerializer.writeInt8(value_enableCascade_type) + if ((RuntimeType.UNDEFINED) != (value_enableCascade_type)) { + const value_enableCascade_value = value_enableCascade! + valueSerializer.writeBoolean(value_enableCascade_value) + } const value_onDidAppear = value.onDidAppear let value_onDidAppear_type: int32 = RuntimeType.UNDEFINED value_onDidAppear_type = runtimeType(value_onDidAppear) @@ -29329,27 +28619,16 @@ export class Serializer extends SerializerBase { const value_hoverModeArea_value = value_hoverModeArea! valueSerializer.writeInt32(value_hoverModeArea_value.valueOf()) } - } - writeWithThemeOptions(value: WithThemeOptions): void { - let valueSerializer: Serializer = this - const value_theme = value.theme - let value_theme_type: int32 = RuntimeType.UNDEFINED - value_theme_type = runtimeType(value_theme) - valueSerializer.writeInt8(value_theme_type) - if ((RuntimeType.UNDEFINED) != (value_theme_type)) { - const value_theme_value = value_theme! - valueSerializer.writeCustomTheme(value_theme_value) - } - const value_colorMode = value.colorMode - let value_colorMode_type: int32 = RuntimeType.UNDEFINED - value_colorMode_type = runtimeType(value_colorMode) - valueSerializer.writeInt8(value_colorMode_type) - if ((RuntimeType.UNDEFINED) != (value_colorMode_type)) { - const value_colorMode_value = value_colorMode! - valueSerializer.writeInt32(value_colorMode_value.valueOf()) + const value_enableHapticFeedback = value.enableHapticFeedback + let value_enableHapticFeedback_type: int32 = RuntimeType.UNDEFINED + value_enableHapticFeedback_type = runtimeType(value_enableHapticFeedback) + valueSerializer.writeInt8(value_enableHapticFeedback_type) + if ((RuntimeType.UNDEFINED) != (value_enableHapticFeedback_type)) { + const value_enableHapticFeedback_value = value_enableHapticFeedback! + valueSerializer.writeBoolean(value_enableHapticFeedback_value) } } - writeRichEditorImageSpanOptions(value: RichEditorImageSpanOptions): void { + public writeRichEditorImageSpanOptions(value: RichEditorImageSpanOptions): void { let valueSerializer: Serializer = this const value_offset = value.offset let value_offset_type: int32 = RuntimeType.UNDEFINED @@ -29375,8 +28654,16 @@ export class Serializer extends SerializerBase { const value_gesture_value = value_gesture! valueSerializer.writeRichEditorGesture(value_gesture_value) } + const value_onHover = value.onHover + let value_onHover_type: int32 = RuntimeType.UNDEFINED + value_onHover_type = runtimeType(value_onHover) + valueSerializer.writeInt8(value_onHover_type) + if ((RuntimeType.UNDEFINED) != (value_onHover_type)) { + const value_onHover_value = value_onHover! + valueSerializer.holdAndWriteCallback(value_onHover_value) + } } - writeRichEditorImageSpanResult(value: RichEditorImageSpanResult): void { + public writeRichEditorImageSpanResult(value: RichEditorImageSpanResult): void { let valueSerializer: Serializer = this const value_spanPosition = value.spanPosition valueSerializer.writeRichEditorSpanPosition(value_spanPosition) @@ -29415,17 +28702,7 @@ export class Serializer extends SerializerBase { const value_offsetInSpan_1 = value_offsetInSpan[1] valueSerializer.writeNumber(value_offsetInSpan_1) } - writeRichEditorParagraphResult(value: RichEditorParagraphResult): void { - let valueSerializer: Serializer = this - const value_style = value.style - valueSerializer.writeRichEditorParagraphStyle(value_style) - const value_range = value.range - const value_range_0 = value_range[0] - valueSerializer.writeNumber(value_range_0) - const value_range_1 = value_range[1] - valueSerializer.writeNumber(value_range_1) - } - writeRichEditorTextSpanOptions(value: RichEditorTextSpanOptions): void { + public writeRichEditorTextSpanOptions(value: RichEditorTextSpanOptions): void { let valueSerializer: Serializer = this const value_offset = value.offset let value_offset_type: int32 = RuntimeType.UNDEFINED @@ -29459,8 +28736,16 @@ export class Serializer extends SerializerBase { const value_gesture_value = value_gesture! valueSerializer.writeRichEditorGesture(value_gesture_value) } + const value_urlStyle = value.urlStyle + let value_urlStyle_type: int32 = RuntimeType.UNDEFINED + value_urlStyle_type = runtimeType(value_urlStyle) + valueSerializer.writeInt8(value_urlStyle_type) + if ((RuntimeType.UNDEFINED) != (value_urlStyle_type)) { + const value_urlStyle_value = value_urlStyle! + valueSerializer.writeRichEditorUrlStyle(value_urlStyle_value) + } } - writeRichEditorTextSpanResult(value: RichEditorTextSpanResult): void { + public writeRichEditorTextSpanResult(value: RichEditorTextSpanResult): void { let valueSerializer: Serializer = this const value_spanPosition = value.spanPosition valueSerializer.writeRichEditorSpanPosition(value_spanPosition) @@ -29505,8 +28790,16 @@ export class Serializer extends SerializerBase { const value_previewText_value = value_previewText! valueSerializer.writeString(value_previewText_value) } + const value_urlStyle = value.urlStyle + let value_urlStyle_type: int32 = RuntimeType.UNDEFINED + value_urlStyle_type = runtimeType(value_urlStyle) + valueSerializer.writeInt8(value_urlStyle_type) + if ((RuntimeType.UNDEFINED) != (value_urlStyle_type)) { + const value_urlStyle_value = value_urlStyle! + valueSerializer.writeRichEditorUrlStyle(value_urlStyle_value) + } } - writeSpanStyle(value: SpanStyle): void { + public writeSpanStyle(value: SpanStyle): void { let valueSerializer: Serializer = this const value_start = value.start valueSerializer.writeNumber(value_start) diff --git a/arkoala/arkui/src/generated/progress.ts b/arkoala/arkui/src/generated/progress.ts index 1659a28131..8752ba4173 100644 --- a/arkoala/arkui/src/generated/progress.ts +++ b/arkoala/arkui/src/generated/progress.ts @@ -23,7 +23,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { ResourceColor, Length, PX, VP, LPX, Font } from "./units" -import { LinearGradient } from "./AllMaterialized" +import { LinearGradient, LengthMetrics } from "./AllMaterialized" import { ContentModifier, CommonConfiguration } from "./arkui-wrapper-builder" import { Color } from "./enums" import { Resource } from "./resource" @@ -107,7 +107,7 @@ export class ArkProgressPeer extends ArkCommonMethodPeer { const value_1 = unsafeCast(value) thisSerializer.writeRingStyleOptions(value_1) } - else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("borderColor")) || (value!.hasOwnProperty("borderWidth")) || (value!.hasOwnProperty("content")) || (value!.hasOwnProperty("font")) || (value!.hasOwnProperty("fontColor")) || (value!.hasOwnProperty("showDefaultPercentage"))))) { + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("borderColor")) || (value!.hasOwnProperty("borderWidth")) || (value!.hasOwnProperty("content")) || (value!.hasOwnProperty("font")) || (value!.hasOwnProperty("fontColor")) || (value!.hasOwnProperty("showDefaultPercentage")) || (value!.hasOwnProperty("borderRadius"))))) { thisSerializer.writeInt8(2) const value_2 = unsafeCast(value) thisSerializer.writeCapsuleStyleOptions(value_2) @@ -195,6 +195,7 @@ export interface CapsuleStyleOptions extends ScanEffectOptions, CommonProgressSt font?: Font; fontColor?: ResourceColor; showDefaultPercentage?: boolean; + borderRadius?: LengthMetrics; } export enum ProgressStyle { LINEAR, diff --git a/arkoala/arkui/src/generated/radio.ts b/arkoala/arkui/src/generated/radio.ts index dcbb020ae9..dca6fc2971 100644 --- a/arkoala/arkui/src/generated/radio.ts +++ b/arkoala/arkui/src/generated/radio.ts @@ -49,13 +49,37 @@ export class ArkRadioPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._RadioInterface_setRadioOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - checkedAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._RadioAttribute_checked(this.peer.ptr, +value) + checked0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._RadioAttribute_checked0(this.peer.ptr, +value) } - onChangeAttribute(value: ((isVisible: boolean) => void)): void { + checked1Attribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._RadioAttribute_checked1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange0Attribute(value: ((isVisible: boolean) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._RadioAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._RadioAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange1Attribute(value: OnRadioChangeCallback | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._RadioAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } radioStyleAttribute(value: RadioStyle | undefined): void { @@ -70,10 +94,22 @@ export class ArkRadioPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._RadioAttribute_radioStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - contentModifierAttribute(value: ContentModifier): void { + contentModifier0Attribute(value: ContentModifier): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteObject(value) - ArkUIGeneratedNativeModule._RadioAttribute_contentModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._RadioAttribute_contentModifier0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + contentModifier1Attribute(value: ContentModifier | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteObject(value_value) + } + ArkUIGeneratedNativeModule._RadioAttribute_contentModifier1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } _onChangeEvent_checkedAttribute(callback: ((isVisible: boolean) => void)): void { @@ -100,23 +136,24 @@ export interface RadioStyle { indicatorColor?: ResourceColor; } +export type OnRadioChangeCallback = (isChecked: boolean) => void; export interface RadioAttribute extends CommonMethod { - checked(value: boolean): this - onChange(value: ((isVisible: boolean) => void)): this + checked(value: boolean | boolean | undefined): this + onChange(value: ((isVisible: boolean) => void) | OnRadioChangeCallback | undefined): this radioStyle(value: RadioStyle | undefined): this - contentModifier(value: ContentModifier): this + contentModifier(value: ContentModifier | ContentModifier | undefined): this _onChangeEvent_checked(callback: ((isVisible: boolean) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIRadioAttribute extends UICommonMethod { /** @memo */ - checked(value: boolean): this + checked(value: boolean | boolean | undefined): this /** @memo */ - onChange(value: ((isVisible: boolean) => void)): this + onChange(value: ((isVisible: boolean) => void) | OnRadioChangeCallback | undefined): this /** @memo */ radioStyle(value: RadioStyle | undefined): this /** @memo */ - contentModifier(value: ContentModifier): this + contentModifier(value: ContentModifier | ContentModifier | undefined): this /** @memo */ _onChangeEvent_checked(callback: ((isVisible: boolean) => void)): void /** @memo */ @@ -127,16 +164,16 @@ export class ArkRadioStyle extends ArkCommonMethodStyle implements RadioAttribut onChange_value?: ((isVisible: boolean) => void) radioStyle_value?: RadioStyle contentModifier_value?: ContentModifier - public checked(value: boolean): this { + public checked(value: boolean | boolean | undefined): this { return this } - public onChange(value: ((isVisible: boolean) => void)): this { + public onChange(value: ((isVisible: boolean) => void) | OnRadioChangeCallback | undefined): this { return this } public radioStyle(value: RadioStyle | undefined): this { return this } - public contentModifier(value: ContentModifier): this { + public contentModifier(value: ContentModifier | ContentModifier | undefined): this { return this } public _onChangeEvent_checked(callback: ((isVisible: boolean) => void)): void { @@ -166,20 +203,38 @@ export class ArkRadioComponent extends ArkCommonMethodComponent implements UIRad return this } /** @memo */ - public checked(value: boolean): this { + public checked(value: boolean | boolean | undefined): this { if (this.checkPriority("checked")) { - const value_casted = value as (boolean) - this.getPeer()?.checkedAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.checked0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.checked1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onChange(value: ((isVisible: boolean) => void)): this { + public onChange(value: ((isVisible: boolean) => void) | OnRadioChangeCallback | undefined): this { if (this.checkPriority("onChange")) { - const value_casted = value as (((isVisible: boolean) => void)) - this.getPeer()?.onChangeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((isVisible: boolean) => void)) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnRadioChangeCallback | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -193,11 +248,20 @@ export class ArkRadioComponent extends ArkCommonMethodComponent implements UIRad return this } /** @memo */ - public contentModifier(value: ContentModifier): this { + public contentModifier(value: ContentModifier | ContentModifier | undefined): this { if (this.checkPriority("contentModifier")) { - const value_casted = value as (ContentModifier) - this.getPeer()?.contentModifierAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type)) { + const value_casted = value as (ContentModifier) + this.getPeer()?.contentModifier0Attribute(value_casted) + return this + } + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ContentModifier | undefined) + this.getPeer()?.contentModifier1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } diff --git a/arkoala/arkui/src/generated/rating.ts b/arkoala/arkui/src/generated/rating.ts index 5da20cbd61..96c264e09b 100644 --- a/arkoala/arkui/src/generated/rating.ts +++ b/arkoala/arkui/src/generated/rating.ts @@ -54,28 +54,88 @@ export class ArkRatingPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._RatingInterface_setRatingOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - starsAttribute(value: number): void { - ArkUIGeneratedNativeModule._RatingAttribute_stars(this.peer.ptr, value) + stars0Attribute(value: number): void { + ArkUIGeneratedNativeModule._RatingAttribute_stars0(this.peer.ptr, value) } - stepSizeAttribute(value: number): void { - ArkUIGeneratedNativeModule._RatingAttribute_stepSize(this.peer.ptr, value) + stars1Attribute(value: number | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._RatingAttribute_stars1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + stepSize0Attribute(value: number): void { + ArkUIGeneratedNativeModule._RatingAttribute_stepSize0(this.peer.ptr, value) } - starStyleAttribute(value: StarStyleOptions): void { + stepSize1Attribute(value: number | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._RatingAttribute_stepSize1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + starStyle0Attribute(value: StarStyleOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeStarStyleOptions(value) - ArkUIGeneratedNativeModule._RatingAttribute_starStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._RatingAttribute_starStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + starStyle1Attribute(value: StarStyleOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeStarStyleOptions(value_value) + } + ArkUIGeneratedNativeModule._RatingAttribute_starStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onChangeAttribute(value: ((index: number) => void)): void { + onChange0Attribute(value: ((index: number) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._RatingAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._RatingAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - contentModifierAttribute(value: ContentModifier): void { + onChange1Attribute(value: OnRatingChangeCallback | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._RatingAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + contentModifier0Attribute(value: ContentModifier): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteObject(value) - ArkUIGeneratedNativeModule._RatingAttribute_contentModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._RatingAttribute_contentModifier0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + contentModifier1Attribute(value: ContentModifier | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteObject(value_value) + } + ArkUIGeneratedNativeModule._RatingAttribute_contentModifier1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } _onChangeEvent_ratingAttribute(callback: ((index: number) => void)): void { @@ -102,26 +162,27 @@ export interface RatingConfiguration extends CommonConfiguration { stepSize: number; triggerChange: ((index: number) => void); } +export type OnRatingChangeCallback = (rating: number) => void; export interface RatingAttribute extends CommonMethod { - stars(value: number): this - stepSize(value: number): this - starStyle(value: StarStyleOptions): this - onChange(value: ((index: number) => void)): this - contentModifier(value: ContentModifier): this + stars(value: number | number | undefined): this + stepSize(value: number | number | undefined): this + starStyle(value: StarStyleOptions | StarStyleOptions | undefined): this + onChange(value: ((index: number) => void) | OnRatingChangeCallback | undefined): this + contentModifier(value: ContentModifier | ContentModifier | undefined): this _onChangeEvent_rating(callback: ((index: number) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIRatingAttribute extends UICommonMethod { /** @memo */ - stars(value: number): this + stars(value: number | number | undefined): this /** @memo */ - stepSize(value: number): this + stepSize(value: number | number | undefined): this /** @memo */ - starStyle(value: StarStyleOptions): this + starStyle(value: StarStyleOptions | StarStyleOptions | undefined): this /** @memo */ - onChange(value: ((index: number) => void)): this + onChange(value: ((index: number) => void) | OnRatingChangeCallback | undefined): this /** @memo */ - contentModifier(value: ContentModifier): this + contentModifier(value: ContentModifier | ContentModifier | undefined): this /** @memo */ _onChangeEvent_rating(callback: ((index: number) => void)): void /** @memo */ @@ -133,19 +194,19 @@ export class ArkRatingStyle extends ArkCommonMethodStyle implements RatingAttrib starStyle_value?: StarStyleOptions onChange_value?: ((index: number) => void) contentModifier_value?: ContentModifier - public stars(value: number): this { + public stars(value: number | number | undefined): this { return this } - public stepSize(value: number): this { + public stepSize(value: number | number | undefined): this { return this } - public starStyle(value: StarStyleOptions): this { + public starStyle(value: StarStyleOptions | StarStyleOptions | undefined): this { return this } - public onChange(value: ((index: number) => void)): this { + public onChange(value: ((index: number) => void) | OnRatingChangeCallback | undefined): this { return this } - public contentModifier(value: ContentModifier): this { + public contentModifier(value: ContentModifier | ContentModifier | undefined): this { return this } public _onChangeEvent_rating(callback: ((index: number) => void)): void { @@ -170,47 +231,92 @@ export class ArkRatingComponent extends ArkCommonMethodComponent implements UIRa return this } /** @memo */ - public stars(value: number): this { + public stars(value: number | number | undefined): this { if (this.checkPriority("stars")) { - const value_casted = value as (number) - this.getPeer()?.starsAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.stars0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.stars1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public stepSize(value: number): this { + public stepSize(value: number | number | undefined): this { if (this.checkPriority("stepSize")) { - const value_casted = value as (number) - this.getPeer()?.stepSizeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + const value_casted = value as (number) + this.getPeer()?.stepSize0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | undefined) + this.getPeer()?.stepSize1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public starStyle(value: StarStyleOptions): this { + public starStyle(value: StarStyleOptions | StarStyleOptions | undefined): this { if (this.checkPriority("starStyle")) { - const value_casted = value as (StarStyleOptions) - this.getPeer()?.starStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("backgroundUri")))) { + const value_casted = value as (StarStyleOptions) + this.getPeer()?.starStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (StarStyleOptions | undefined) + this.getPeer()?.starStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onChange(value: ((index: number) => void)): this { + public onChange(value: ((index: number) => void) | OnRatingChangeCallback | undefined): this { if (this.checkPriority("onChange")) { - const value_casted = value as (((index: number) => void)) - this.getPeer()?.onChangeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((index: number) => void)) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnRatingChangeCallback | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public contentModifier(value: ContentModifier): this { + public contentModifier(value: ContentModifier | ContentModifier | undefined): this { if (this.checkPriority("contentModifier")) { - const value_casted = value as (ContentModifier) - this.getPeer()?.contentModifierAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type)) { + const value_casted = value as (ContentModifier) + this.getPeer()?.contentModifier0Attribute(value_casted) + return this + } + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ContentModifier | undefined) + this.getPeer()?.contentModifier1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } diff --git a/arkoala/arkui/src/generated/repeat.ts b/arkoala/arkui/src/generated/repeat.ts index a769955130..56486794f4 100644 --- a/arkoala/arkui/src/generated/repeat.ts +++ b/arkoala/arkui/src/generated/repeat.ts @@ -18,9 +18,7 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, wrapCallback } from "@koalaui/interop" -export interface VirtualScrollOptions { - totalCount?: number; -} export interface TemplateOptions { cachedCount?: number; } +export type RepeatArray = Array | unknown | unknown; diff --git a/arkoala/arkui/src/generated/rich_editor.ts b/arkoala/arkui/src/generated/rich_editor.ts index 868ec76f9f..2464b04392 100644 --- a/arkoala/arkui/src/generated/rich_editor.ts +++ b/arkoala/arkui/src/generated/rich_editor.ts @@ -21,13 +21,14 @@ import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType import { Serializer } from "./peers/Serializer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, ShadowOptions, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" -import { TextRange, TextDataDetectorConfig, OnDidChangeCallback, EditMenuOptions, MenuType, DecorationStyleResult } from "./text_common" +import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, ShadowOptions, HapticFeedbackMode, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { TextRange, TextDataDetectorConfig, OnDidChangeCallback, EditMenuOptions, KeyboardAppearance, MenuType, DecorationStyleResult } from "./text_common" import { CopyOptions, BarState, ResponseType, Color, FontWeight, TextAlign, WordBreak, LineBreakStrategy, ImageSpanAlignment, ImageFit } from "./enums" import { ResourceColor, ResourceStr, Font, Length, Dimension, Padding, BorderRadiuses } from "./units" import { EnterKeyType } from "./text_input" -import { SubmitEvent, PixelMap, ClickEvent, GestureEvent, RichEditorController, RichEditorStyledStringController } from "./AllMaterialized" +import { SubmitEvent, PixelMap, ClickEvent, GestureEvent, ColorMetrics, RichEditorController, RichEditorStyledStringController } from "./AllMaterialized" import { Resource } from "./resource" +import { MenuCallback, OnHoverCallback } from "./sdk-stubs" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" import { CallbackKind } from "./peers/CallbackKind" @@ -36,6 +37,7 @@ import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { Deserializer } from "./peers/Deserializer" import { FontStyle } from "./arkui-graphics-text" import { DecorationStyleInterface } from "./styled_string" +import { TextBackgroundStyle } from "./span" import { SymbolEffectStrategy, SymbolRenderingStrategy } from "./symbolglyph" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" @@ -239,6 +241,54 @@ export class ArkRichEditorPeer extends ArkCommonMethodPeer { barStateAttribute(value: BarState): void { ArkUIGeneratedNativeModule._RichEditorAttribute_barState(this.peer.ptr, value.valueOf()) } + maxLengthAttribute(value: number | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._RichEditorAttribute_maxLength(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxLinesAttribute(value: number | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeNumber(value_value) + } + ArkUIGeneratedNativeModule._RichEditorAttribute_maxLines(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + keyboardAppearanceAttribute(value: KeyboardAppearance | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._RichEditorAttribute_keyboardAppearance(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + stopBackPressAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._RichEditorAttribute_stopBackPress(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } bindSelectionMenuAttribute(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType | RichEditorResponseType, options?: SelectionMenuOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(content)) @@ -249,7 +299,7 @@ export class ArkRichEditorPeer extends ArkCommonMethodPeer { const responseType_0 = unsafeCast(responseType) thisSerializer.writeInt32(responseType_0.valueOf()) } - else if (((RuntimeType.NUMBER) == (responseType_type)) && ((unsafeCast(responseType)) >= (0)) && ((unsafeCast(responseType)) <= (2))) { + else if (((RuntimeType.NUMBER) == (responseType_type)) && ((unsafeCast(responseType)) >= (0)) && ((unsafeCast(responseType)) <= (3))) { thisSerializer.writeInt8(1) const responseType_1 = unsafeCast(responseType) thisSerializer.writeInt32(responseType_1.valueOf()) @@ -311,11 +361,13 @@ export enum RichEditorSpanType { IMAGE = 1, MIXED = 2, BUILDER = 3, + DEFAULT = 4, } export enum RichEditorResponseType { RIGHT_CLICK, LONG_PRESS = 1, SELECT = 2, + DEFAULT = 3, } export interface RichEditorSpanPosition { spanIndex: number; @@ -331,7 +383,9 @@ export interface RichEditorTextStyle { textShadow?: ShadowOptions | Array; letterSpacing?: number | string; lineHeight?: number | string | Resource; + halfLeading?: boolean; fontFeature?: string; + textBackgroundStyle?: TextBackgroundStyle; } export interface LeadingMarginPlaceholder { pixelMap: PixelMap; @@ -342,6 +396,7 @@ export interface RichEditorParagraphStyle { leadingMargin?: Dimension | LeadingMarginPlaceholder; wordBreak?: WordBreak; lineBreakStrategy?: LineBreakStrategy; + paragraphSpacing?: number; } export interface PasteEvent { preventDefault?: (() => void); @@ -378,7 +433,9 @@ export interface RichEditorTextStyleResult { textShadow?: Array; letterSpacing?: number; lineHeight?: number; + halfLeading?: boolean; fontFeature?: string; + textBackgroundStyle?: TextBackgroundStyle; } export interface RichEditorParagraphResult { style: RichEditorParagraphStyle; @@ -400,6 +457,7 @@ export interface RichEditorTextSpanResult { valueResource?: Resource; paragraphStyle?: RichEditorParagraphStyle; previewText?: string; + urlStyle?: RichEditorUrlStyle; } export interface RichEditorImageSpanStyleResult { size: [ number, number ]; @@ -426,12 +484,14 @@ export interface RichEditorRange { export interface RichEditorGesture { onClick?: ((event: ClickEvent) => void); onLongPress?: ((event: GestureEvent) => void); + onDoubleClick?: ((event: GestureEvent) => void); } export interface RichEditorTextSpanOptions { offset?: number; style?: RichEditorTextStyle; paragraphStyle?: RichEditorParagraphStyle; gesture?: RichEditorGesture; + urlStyle?: RichEditorUrlStyle; } export interface KeyboardOptions { supportAvoidance?: boolean; @@ -440,9 +500,12 @@ export interface RichEditorImageSpanOptions { offset?: number; imageStyle?: RichEditorImageSpanStyle; gesture?: RichEditorGesture; + onHover?: OnHoverCallback; } export interface RichEditorBuilderSpanOptions { offset?: number; + dragBackgroundColor?: ColorMetrics; + isDragShadowNeeded?: boolean; } export interface PlaceholderStyle { font?: Font; @@ -455,6 +518,7 @@ export interface RichEditorParagraphStyleOptions extends RichEditorRange { } export interface RichEditorUpdateTextSpanStyleOptions extends RichEditorSpanStyleOptions { textStyle: RichEditorTextStyle; + urlStyle?: RichEditorUrlStyle; } export interface RichEditorUpdateImageSpanStyleOptions extends RichEditorSpanStyleOptions { imageStyle: RichEditorImageSpanStyle; @@ -497,6 +561,12 @@ export interface SelectionMenuOptions { onAppear?: MenuOnAppearCallback; onDisappear?: (() => void); menuType?: MenuType; + onMenuShow?: MenuCallback; + onMenuHide?: MenuCallback; + previewMenuOptions?: PreviewMenuOptions; +} +export interface PreviewMenuOptions { + hapticFeedbackMode?: HapticFeedbackMode; } export type RichEditorSpan = RichEditorImageSpanResult | RichEditorTextSpanResult; export type Callback_RichEditorSelection_Void = (parameter: RichEditorSelection) => void; @@ -535,6 +605,10 @@ export interface RichEditorAttribute extends CommonMethod { enableKeyboardOnFocus(value: boolean): this enableHapticFeedback(value: boolean): this barState(value: BarState): this + maxLength(value: number | undefined): this + maxLines(value: number | undefined): this + keyboardAppearance(value: KeyboardAppearance | undefined): this + stopBackPress(value: boolean | undefined): this bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType | RichEditorResponseType, options?: SelectionMenuOptions): this customKeyboard(value: CustomBuilder, options?: KeyboardOptions): this placeholder(value: ResourceStr, style?: PlaceholderStyle): this @@ -594,6 +668,14 @@ export interface UIRichEditorAttribute extends UICommonMethod { /** @memo */ barState(value: BarState): this /** @memo */ + maxLength(value: number | undefined): this + /** @memo */ + maxLines(value: number | undefined): this + /** @memo */ + keyboardAppearance(value: KeyboardAppearance | undefined): this + /** @memo */ + stopBackPress(value: boolean | undefined): this + /** @memo */ bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType | RichEditorResponseType, options?: SelectionMenuOptions): this /** @memo */ customKeyboard(value: CustomBuilder, options?: KeyboardOptions): this @@ -629,6 +711,10 @@ export class ArkRichEditorStyle extends ArkCommonMethodStyle implements RichEdit enableKeyboardOnFocus_value?: boolean enableHapticFeedback_value?: boolean barState_value?: BarState + maxLength_value?: number | undefined + maxLines_value?: number | undefined + keyboardAppearance_value?: KeyboardAppearance | undefined + stopBackPress_value?: boolean | undefined public onReady(value: (() => void)): this { return this } @@ -707,6 +793,18 @@ export class ArkRichEditorStyle extends ArkCommonMethodStyle implements RichEdit public barState(value: BarState): this { return this } + public maxLength(value: number | undefined): this { + return this + } + public maxLines(value: number | undefined): this { + return this + } + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + return this + } + public stopBackPress(value: boolean | undefined): this { + return this + } public bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType | RichEditorResponseType, options?: SelectionMenuOptions): this { return this } @@ -726,6 +824,9 @@ export interface CutEvent { export interface CopyEvent { preventDefault?: (() => void); } +export interface RichEditorUrlStyle { + url?: ResourceStr; +} export type SubmitCallback = (enterKey: EnterKeyType, event: SubmitEvent) => void; export type MenuOnAppearCallback = (start: number, end: number) => void; export type PasteEventCallback = (event?: PasteEvent) => void; @@ -988,6 +1089,42 @@ export class ArkRichEditorComponent extends ArkCommonMethodComponent implements return this } /** @memo */ + public maxLength(value: number | undefined): this { + if (this.checkPriority("maxLength")) { + const value_casted = value as (number | undefined) + this.getPeer()?.maxLengthAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxLines(value: number | undefined): this { + if (this.checkPriority("maxLines")) { + const value_casted = value as (number | undefined) + this.getPeer()?.maxLinesAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + if (this.checkPriority("keyboardAppearance")) { + const value_casted = value as (KeyboardAppearance | undefined) + this.getPeer()?.keyboardAppearanceAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public stopBackPress(value: boolean | undefined): this { + if (this.checkPriority("stopBackPress")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.stopBackPressAttribute(value_casted) + return this + } + return this + } + /** @memo */ public bindSelectionMenu(spanType: RichEditorSpanType, content: CustomBuilder, responseType: ResponseType | RichEditorResponseType, options?: SelectionMenuOptions): this { if (this.checkPriority("bindSelectionMenu")) { const spanType_casted = spanType as (RichEditorSpanType) diff --git a/arkoala/arkui/src/generated/row.ts b/arkoala/arkui/src/generated/row.ts index 2661537674..f034e438d5 100644 --- a/arkoala/arkui/src/generated/row.ts +++ b/arkoala/arkui/src/generated/row.ts @@ -42,7 +42,7 @@ export class ArkRowPeer extends ArkCommonMethodPeer { component?.setPeer(_peer) return _peer } - setRowOptionsAttribute(options?: RowOptions): void { + setRowOptions0Attribute(options?: RowOptions): void { const thisSerializer: Serializer = Serializer.hold() let options_type: int32 = RuntimeType.UNDEFINED options_type = runtimeType(options) @@ -51,7 +51,30 @@ export class ArkRowPeer extends ArkCommonMethodPeer { const options_value = options! thisSerializer.writeRowOptions(options_value) } - ArkUIGeneratedNativeModule._RowInterface_setRowOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._RowInterface_setRowOptions0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + setRowOptions1Attribute(options?: RowOptions | RowOptionsV2): void { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + let options_value_type: int32 = RuntimeType.UNDEFINED + options_value_type = runtimeType(options_value) + if (((RuntimeType.OBJECT) == (options_value_type)) && ((options_value!.hasOwnProperty("space")))) { + thisSerializer.writeInt8(0) + const options_value_0 = unsafeCast(options_value) + thisSerializer.writeRowOptions(options_value_0) + } + else if (((RuntimeType.OBJECT) == (options_value_type)) && ((options_value!.hasOwnProperty("stub")))) { + thisSerializer.writeInt8(1) + const options_value_1 = unsafeCast(options_value) + thisSerializer.writeRowOptionsV2(options_value_1) + } + } + ArkUIGeneratedNativeModule._RowInterface_setRowOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } alignItemsAttribute(value: VerticalAlign): void { @@ -82,6 +105,9 @@ export class ArkRowPeer extends ArkCommonMethodPeer { export interface RowOptions { space?: string | number; } +export interface RowOptionsV2 { + stub: string; +} export interface RowAttribute extends CommonMethod { alignItems(value: VerticalAlign): this @@ -129,11 +155,20 @@ export class ArkRowComponent extends ArkCommonMethodComponent implements UIRowAt return (this.peer as ArkRowPeer) } /** @memo */ - public setRowOptions(options?: RowOptions): this { + public setRowOptions(options?: RowOptions | RowOptions | RowOptionsV2): this { if (this.checkPriority("setRowOptions")) { - const options_casted = options as (RowOptions | undefined) - this.getPeer()?.setRowOptionsAttribute(options_casted) - return this + const options_type = runtimeType(options) + if ((RuntimeType.OBJECT == options_type) || (RuntimeType.UNDEFINED == options_type)) { + const options_casted = options as (RowOptions | undefined) + this.getPeer()?.setRowOptions0Attribute(options_casted) + return this + } + if ((RuntimeType.OBJECT == options_type) || (RuntimeType.OBJECT == options_type) || (RuntimeType.UNDEFINED == options_type)) { + const options_casted = options as (RowOptions | RowOptionsV2 | undefined) + this.getPeer()?.setRowOptions1Attribute(options_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -189,7 +224,7 @@ export function ArkRow( style: ((attributes: UIRowAttribute) => void) | undefined, /** @memo */ content_: (() => void) | undefined, - options?: RowOptions, + options?: RowOptions | RowOptions | RowOptionsV2, ) { const receiver = remember(() => { return new ArkRowComponent() diff --git a/arkoala/arkui/src/generated/save_button.ts b/arkoala/arkui/src/generated/save_button.ts index 41949fd1ec..bd63bbdeff 100644 --- a/arkoala/arkui/src/generated/save_button.ts +++ b/arkoala/arkui/src/generated/save_button.ts @@ -23,6 +23,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkSecurityComponentMethodPeer, SecurityComponentMethod, ArkSecurityComponentMethodComponent, ArkSecurityComponentMethodStyle, UISecurityComponentMethod } from "./security_component" import { ClickEvent } from "./AllMaterialized" +import { BusinessError } from "./base" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" import { CallbackKind } from "./peers/CallbackKind" @@ -52,7 +53,7 @@ export class ArkSaveButtonPeer extends ArkSecurityComponentMethodPeer { ArkUIGeneratedNativeModule._SaveButtonInterface_setSaveButtonOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onClickAttribute(value: ((event: ClickEvent, result: SaveButtonOnClickResult) => void)): void { + onClickAttribute(value: SaveButtonCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._SaveButtonAttribute_onClick(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) @@ -77,6 +78,7 @@ export enum SaveDescription { EXPORT_TO_GALLERY = 9, QUICK_SAVE_TO_GALLERY = 10, RESAVE_TO_GALLERY = 11, + SAVE_ALL = 12, } export interface SaveButtonOptions { icon?: SaveIconStyle; @@ -88,20 +90,20 @@ export enum SaveButtonOnClickResult { TEMPORARY_AUTHORIZATION_FAILED = 1, } -export type Callback_ClickEvent_SaveButtonOnClickResult_Void = (event: ClickEvent, result: SaveButtonOnClickResult) => void; +export type SaveButtonCallback = (event: ClickEvent, result: SaveButtonOnClickResult, error?: BusinessError) => void; export interface SaveButtonAttribute extends SecurityComponentMethod { - onClick(value: ((event: ClickEvent, result: SaveButtonOnClickResult) => void)): this + onClick(value: SaveButtonCallback): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UISaveButtonAttribute extends UISecurityComponentMethod { /** @memo */ - onClick(value: ((event: ClickEvent, result: SaveButtonOnClickResult) => void)): this + onClick(value: SaveButtonCallback): this /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkSaveButtonStyle extends ArkSecurityComponentMethodStyle implements SaveButtonAttribute { - onClick_value?: ((event: ClickEvent, result: SaveButtonOnClickResult) => void) - public onClick(value: ((event: ClickEvent, result: SaveButtonOnClickResult) => void)): this { + onClick_value?: SaveButtonCallback + public onClick(value: SaveButtonCallback): this { return this } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { @@ -123,9 +125,9 @@ export class ArkSaveButtonComponent extends ArkSecurityComponentMethodComponent return this } /** @memo */ - public onClick(value: ((event: ClickEvent, result: SaveButtonOnClickResult) => void)): this { + public onClick(value: SaveButtonCallback): this { if (this.checkPriority("onClick")) { - const value_casted = value as (((event: ClickEvent, result: SaveButtonOnClickResult) => void)) + const value_casted = value as (SaveButtonCallback) this.getPeer()?.onClickAttribute(value_casted) return this } diff --git a/arkoala/arkui/src/generated/search.ts b/arkoala/arkui/src/generated/search.ts index d948135de3..8eb4202e2d 100644 --- a/arkoala/arkui/src/generated/search.ts +++ b/arkoala/arkui/src/generated/search.ts @@ -24,7 +24,7 @@ import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, TextDecorationOptions, CustomBuilder, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { ResourceColor, Dimension, Font, ResourceStr, Length } from "./units" import { SymbolGlyphModifier } from "./arkui-external" -import { CaretStyle, EditableTextOnChangeCallback, PreviewText, InsertValue, DeleteValue, EditMenuOptions } from "./text_common" +import { CaretStyle, EditableTextOnChangeCallback, PreviewText, TextChangeOptions, InsertValue, DeleteValue, EditMenuOptions, AutoCapitalizationMode, EditableTextChangeValue, KeyboardAppearance } from "./text_common" import { EnterKeyType, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback } from "./text_input" import { SubmitEvent, SearchController } from "./AllMaterialized" import { PasteEvent, KeyboardOptions } from "./rich_editor" @@ -344,6 +344,52 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SearchAttribute_maxFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + minFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._SearchAttribute_minFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._SearchAttribute_maxFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } decorationAttribute(value: TextDecorationOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeTextDecorationOptions(value) @@ -436,6 +482,51 @@ export class ArkSearchPeer extends ArkCommonMethodPeer { enableHapticFeedbackAttribute(value: boolean): void { ArkUIGeneratedNativeModule._SearchAttribute_enableHapticFeedback(this.peer.ptr, +value) } + autoCapitalizationModeAttribute(value: AutoCapitalizationMode): void { + ArkUIGeneratedNativeModule._SearchAttribute_autoCapitalizationMode(this.peer.ptr, value.valueOf()) + } + halfLeadingAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._SearchAttribute_halfLeading(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + stopBackPressAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._SearchAttribute_stopBackPress(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onWillChangeAttribute(value: ((parameter: EditableTextChangeValue) => boolean)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._SearchAttribute_onWillChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + keyboardAppearanceAttribute(value: KeyboardAppearance | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._SearchAttribute_keyboardAppearance(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } searchButtonAttribute(value: string, option?: SearchButtonOptions): void { const thisSerializer: Serializer = Serializer.hold() let option_type: int32 = RuntimeType.UNDEFINED @@ -535,6 +626,7 @@ export type Callback_InsertValue_Boolean = (parameter: InsertValue) => boolean; export type Callback_InsertValue_Void = (parameter: InsertValue) => void; export type Callback_DeleteValue_Boolean = (parameter: DeleteValue) => boolean; export type Callback_DeleteValue_Void = (parameter: DeleteValue) => void; +export type Callback_EditableTextChangeValue_Boolean = (parameter: EditableTextChangeValue) => boolean; export interface SearchAttribute extends CommonMethod { fontColor(value: ResourceColor): this searchIcon(value: IconOptions | SymbolGlyphModifier): this @@ -561,6 +653,8 @@ export interface SearchAttribute extends CommonMethod { selectionMenuHidden(value: boolean): this minFontSize(value: number | string | Resource): this maxFontSize(value: number | string | Resource): this + minFontScale(value: number | Resource | undefined): this + maxFontScale(value: number | Resource | undefined): this decoration(value: TextDecorationOptions): this letterSpacing(value: number | string | Resource): this lineHeight(value: number | string | Resource): this @@ -573,6 +667,11 @@ export interface SearchAttribute extends CommonMethod { editMenuOptions(value: EditMenuOptions): this enablePreviewText(value: boolean): this enableHapticFeedback(value: boolean): this + autoCapitalizationMode(value: AutoCapitalizationMode): this + halfLeading(value: boolean | undefined): this + stopBackPress(value: boolean | undefined): this + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this + keyboardAppearance(value: KeyboardAppearance | undefined): this searchButton(value: string, option?: SearchButtonOptions): this inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this customKeyboard(value: CustomBuilder, options?: KeyboardOptions): this @@ -631,6 +730,10 @@ export interface UISearchAttribute extends UICommonMethod { /** @memo */ maxFontSize(value: number | string | Resource): this /** @memo */ + minFontScale(value: number | Resource | undefined): this + /** @memo */ + maxFontScale(value: number | Resource | undefined): this + /** @memo */ decoration(value: TextDecorationOptions): this /** @memo */ letterSpacing(value: number | string | Resource): this @@ -655,6 +758,16 @@ export interface UISearchAttribute extends UICommonMethod { /** @memo */ enableHapticFeedback(value: boolean): this /** @memo */ + autoCapitalizationMode(value: AutoCapitalizationMode): this + /** @memo */ + halfLeading(value: boolean | undefined): this + /** @memo */ + stopBackPress(value: boolean | undefined): this + /** @memo */ + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this + /** @memo */ + keyboardAppearance(value: KeyboardAppearance | undefined): this + /** @memo */ searchButton(value: string, option?: SearchButtonOptions): this /** @memo */ inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this @@ -691,6 +804,8 @@ export class ArkSearchStyle extends ArkCommonMethodStyle implements SearchAttrib selectionMenuHidden_value?: boolean minFontSize_value?: number | string | Resource maxFontSize_value?: number | string | Resource + minFontScale_value?: number | Resource | undefined + maxFontScale_value?: number | Resource | undefined decoration_value?: TextDecorationOptions letterSpacing_value?: number | string | Resource lineHeight_value?: number | string | Resource @@ -703,6 +818,11 @@ export class ArkSearchStyle extends ArkCommonMethodStyle implements SearchAttrib editMenuOptions_value?: EditMenuOptions enablePreviewText_value?: boolean enableHapticFeedback_value?: boolean + autoCapitalizationMode_value?: AutoCapitalizationMode + halfLeading_value?: boolean | undefined + stopBackPress_value?: boolean | undefined + onWillChange_value?: ((parameter: EditableTextChangeValue) => boolean) + keyboardAppearance_value?: KeyboardAppearance | undefined public fontColor(value: ResourceColor): this { return this } @@ -778,6 +898,12 @@ export class ArkSearchStyle extends ArkCommonMethodStyle implements SearchAttrib public maxFontSize(value: number | string | Resource): this { return this } + public minFontScale(value: number | Resource | undefined): this { + return this + } + public maxFontScale(value: number | Resource | undefined): this { + return this + } public decoration(value: TextDecorationOptions): this { return this } @@ -814,6 +940,21 @@ export class ArkSearchStyle extends ArkCommonMethodStyle implements SearchAttrib public enableHapticFeedback(value: boolean): this { return this } + public autoCapitalizationMode(value: AutoCapitalizationMode): this { + return this + } + public halfLeading(value: boolean | undefined): this { + return this + } + public stopBackPress(value: boolean | undefined): this { + return this + } + public onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this { + return this + } + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + return this + } public searchButton(value: string, option?: SearchButtonOptions): this { return this } @@ -1079,6 +1220,24 @@ export class ArkSearchComponent extends ArkCommonMethodComponent implements UISe return this } /** @memo */ + public minFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("minFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.minFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("maxFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.maxFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ public decoration(value: TextDecorationOptions): this { if (this.checkPriority("decoration")) { const value_casted = value as (TextDecorationOptions) @@ -1187,6 +1346,51 @@ export class ArkSearchComponent extends ArkCommonMethodComponent implements UISe return this } /** @memo */ + public autoCapitalizationMode(value: AutoCapitalizationMode): this { + if (this.checkPriority("autoCapitalizationMode")) { + const value_casted = value as (AutoCapitalizationMode) + this.getPeer()?.autoCapitalizationModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public halfLeading(value: boolean | undefined): this { + if (this.checkPriority("halfLeading")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.halfLeadingAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public stopBackPress(value: boolean | undefined): this { + if (this.checkPriority("stopBackPress")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.stopBackPressAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this { + if (this.checkPriority("onWillChange")) { + const value_casted = value as (((parameter: EditableTextChangeValue) => boolean)) + this.getPeer()?.onWillChangeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + if (this.checkPriority("keyboardAppearance")) { + const value_casted = value as (KeyboardAppearance | undefined) + this.getPeer()?.keyboardAppearanceAttribute(value_casted) + return this + } + return this + } + /** @memo */ public searchButton(value: string, option?: SearchButtonOptions): this { if (this.checkPriority("searchButton")) { const value_casted = value as (string) diff --git a/arkoala/arkui/src/generated/security_component.ts b/arkoala/arkui/src/generated/security_component.ts index 67f5dba2f9..d0c3655a33 100644 --- a/arkoala/arkui/src/generated/security_component.ts +++ b/arkoala/arkui/src/generated/security_component.ts @@ -21,11 +21,12 @@ import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType import { Serializer } from "./peers/Serializer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { Dimension, Position, LocalizedEdges, ResourceColor, Padding, Length, SizeOptions, ConstraintSizeOptions } from "./units" +import { Dimension, Position, LocalizedEdges, ResourceColor, BorderRadiuses, Padding, Length, SizeOptions, ConstraintSizeOptions } from "./units" import { Edges } from "./arkui-graphics" import { FontStyle } from "./arkui-graphics-text" -import { FontWeight, BorderStyle, Color } from "./enums" +import { FontWeight, BorderStyle, Alignment, TextHeightAdaptivePolicy, Axis, Color } from "./enums" import { Resource } from "./resource" +import { AlignRuleOption, LocalizedAlignRuleOptions, ChainStyle } from "./common" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" import { CallbackKind } from "./peers/CallbackKind" @@ -301,7 +302,7 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._SecurityComponentMethod_borderColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - borderRadiusAttribute(value: Dimension): void { + borderRadius0Attribute(value: Dimension): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -320,7 +321,40 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { const value_2 = unsafeCast(value) thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._SecurityComponentMethod_borderRadius(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SecurityComponentMethod_borderRadius0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + borderRadius1Attribute(value: Dimension | BorderRadiuses): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + let value_0_type: int32 = RuntimeType.UNDEFINED + value_0_type = runtimeType(value_0) + if (RuntimeType.STRING == value_0_type) { + thisSerializer.writeInt8(0) + const value_0_0 = unsafeCast(value_0) + thisSerializer.writeString(value_0_0) + } + else if (RuntimeType.NUMBER == value_0_type) { + thisSerializer.writeInt8(1) + const value_0_1 = unsafeCast(value_0) + thisSerializer.writeNumber(value_0_1) + } + else if (RuntimeType.OBJECT == value_0_type) { + thisSerializer.writeInt8(2) + const value_0_2 = unsafeCast(value_0) + thisSerializer.writeResource(value_0_2) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("topLeft")) || (value!.hasOwnProperty("topRight")) || (value!.hasOwnProperty("bottomLeft")) || (value!.hasOwnProperty("bottomRight"))))) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeBorderRadiuses(value_1) + } + ArkUIGeneratedNativeModule._SecurityComponentMethod_borderRadius1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } paddingAttribute(value: Padding | Dimension): void { @@ -532,6 +566,114 @@ export class ArkSecurityComponentMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._SecurityComponentMethod_constraintSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + alignAttribute(value: Alignment): void { + ArkUIGeneratedNativeModule._SecurityComponentMethod_align(this.peer.ptr, value.valueOf()) + } + alignRules0Attribute(value: AlignRuleOption): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeAlignRuleOption(value) + ArkUIGeneratedNativeModule._SecurityComponentMethod_alignRules0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + alignRules1Attribute(value: LocalizedAlignRuleOptions): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeLocalizedAlignRuleOptions(value) + ArkUIGeneratedNativeModule._SecurityComponentMethod_alignRules1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + idAttribute(value: string): void { + ArkUIGeneratedNativeModule._SecurityComponentMethod_id(this.peer.ptr, value) + } + minFontScaleAttribute(value: number | Resource): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeNumber(value_0) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeResource(value_1) + } + ArkUIGeneratedNativeModule._SecurityComponentMethod_minFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontScaleAttribute(value: number | Resource): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeNumber(value_0) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeResource(value_1) + } + ArkUIGeneratedNativeModule._SecurityComponentMethod_maxFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxLinesAttribute(value: number): void { + ArkUIGeneratedNativeModule._SecurityComponentMethod_maxLines(this.peer.ptr, value) + } + minFontSizeAttribute(value: number | string | Resource): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeNumber(value_0) + } + else if (RuntimeType.STRING == value_type) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeString(value_1) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(2) + const value_2 = unsafeCast(value) + thisSerializer.writeResource(value_2) + } + ArkUIGeneratedNativeModule._SecurityComponentMethod_minFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontSizeAttribute(value: number | string | Resource): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (RuntimeType.NUMBER == value_type) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeNumber(value_0) + } + else if (RuntimeType.STRING == value_type) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeString(value_1) + } + else if (RuntimeType.OBJECT == value_type) { + thisSerializer.writeInt8(2) + const value_2 = unsafeCast(value) + thisSerializer.writeResource(value_2) + } + ArkUIGeneratedNativeModule._SecurityComponentMethod_maxFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + heightAdaptivePolicyAttribute(value: TextHeightAdaptivePolicy): void { + ArkUIGeneratedNativeModule._SecurityComponentMethod_heightAdaptivePolicy(this.peer.ptr, value.valueOf()) + } + enabledAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._SecurityComponentMethod_enabled(this.peer.ptr, +value) + } + chainModeAttribute(direction: Axis, style: ChainStyle): void { + ArkUIGeneratedNativeModule._SecurityComponentMethod_chainMode(this.peer.ptr, direction.valueOf(), style.valueOf()) + } } export enum SecurityComponentLayoutDirection { HORIZONTAL, @@ -553,7 +695,7 @@ export interface SecurityComponentMethod { borderStyle(value: BorderStyle): this borderWidth(value: Dimension): this borderColor(value: ResourceColor): this - borderRadius(value: Dimension): this + borderRadius(value: Dimension | Dimension | BorderRadiuses): this padding(value: Padding | Dimension): this textIconSpace(value: Dimension): this key(value: string): this @@ -561,6 +703,17 @@ export interface SecurityComponentMethod { height(value: Length): this size(value: SizeOptions): this constraintSize(value: ConstraintSizeOptions): this + align(value: Alignment): this + alignRules(value: AlignRuleOption | LocalizedAlignRuleOptions): this + id(value: string): this + minFontScale(value: number | Resource): this + maxFontScale(value: number | Resource): this + maxLines(value: number): this + minFontSize(value: number | string | Resource): this + maxFontSize(value: number | string | Resource): this + heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this + enabled(value: boolean): this + chainMode(direction: Axis, style: ChainStyle): this attributeModifier(value: AttributeModifier | undefined): this } export interface UISecurityComponentMethod { @@ -595,7 +748,7 @@ export interface UISecurityComponentMethod { /** @memo */ borderColor(value: ResourceColor): this /** @memo */ - borderRadius(value: Dimension): this + borderRadius(value: Dimension | Dimension | BorderRadiuses): this /** @memo */ padding(value: Padding | Dimension): this /** @memo */ @@ -611,6 +764,28 @@ export interface UISecurityComponentMethod { /** @memo */ constraintSize(value: ConstraintSizeOptions): this /** @memo */ + align(value: Alignment): this + /** @memo */ + alignRules(value: AlignRuleOption | LocalizedAlignRuleOptions): this + /** @memo */ + id(value: string): this + /** @memo */ + minFontScale(value: number | Resource): this + /** @memo */ + maxFontScale(value: number | Resource): this + /** @memo */ + maxLines(value: number): this + /** @memo */ + minFontSize(value: number | string | Resource): this + /** @memo */ + maxFontSize(value: number | string | Resource): this + /** @memo */ + heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this + /** @memo */ + enabled(value: boolean): this + /** @memo */ + chainMode(direction: Axis, style: ChainStyle): this + /** @memo */ attributeModifier(value: AttributeModifier | undefined): this } export class ArkSecurityComponentMethodStyle implements SecurityComponentMethod { @@ -637,6 +812,16 @@ export class ArkSecurityComponentMethodStyle implements SecurityComponentMethod height_value?: Length size_value?: SizeOptions constraintSize_value?: ConstraintSizeOptions + align_value?: Alignment + alignRules_value?: AlignRuleOption + id_value?: string + minFontScale_value?: number | Resource + maxFontScale_value?: number | Resource + maxLines_value?: number + minFontSize_value?: number | string | Resource + maxFontSize_value?: number | string | Resource + heightAdaptivePolicy_value?: TextHeightAdaptivePolicy + enabled_value?: boolean public iconSize(value: Dimension): this { return this } @@ -682,7 +867,7 @@ export class ArkSecurityComponentMethodStyle implements SecurityComponentMethod public borderColor(value: ResourceColor): this { return this } - public borderRadius(value: Dimension): this { + public borderRadius(value: Dimension | Dimension | BorderRadiuses): this { return this } public padding(value: Padding | Dimension): this { @@ -706,6 +891,39 @@ export class ArkSecurityComponentMethodStyle implements SecurityComponentMethod public constraintSize(value: ConstraintSizeOptions): this { return this } + public align(value: Alignment): this { + return this + } + public alignRules(value: AlignRuleOption | LocalizedAlignRuleOptions): this { + return this + } + public id(value: string): this { + return this + } + public minFontScale(value: number | Resource): this { + return this + } + public maxFontScale(value: number | Resource): this { + return this + } + public maxLines(value: number): this { + return this + } + public minFontSize(value: number | string | Resource): this { + return this + } + public maxFontSize(value: number | string | Resource): this { + return this + } + public heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this { + return this + } + public enabled(value: boolean): this { + return this + } + public chainMode(direction: Axis, style: ChainStyle): this { + return this + } public attributeModifier(value: AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -851,11 +1069,20 @@ export class ArkSecurityComponentMethodComponent extends ComponentBase implement return this } /** @memo */ - public borderRadius(value: Dimension): this { + public borderRadius(value: Dimension | Dimension | BorderRadiuses): this { if (this.checkPriority("borderRadius")) { - const value_casted = value as (Dimension) - this.getPeer()?.borderRadiusAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Dimension) + this.getPeer()?.borderRadius0Attribute(value_casted) + return this + } + if (((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("topLeft")) || (value!.hasOwnProperty("topRight")) || (value!.hasOwnProperty("bottomLeft")) || (value!.hasOwnProperty("bottomRight")))))) { + const value_casted = value as (Dimension | BorderRadiuses) + this.getPeer()?.borderRadius1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -923,6 +1150,115 @@ export class ArkSecurityComponentMethodComponent extends ComponentBase implement return this } /** @memo */ + public align(value: Alignment): this { + if (this.checkPriority("align")) { + const value_casted = value as (Alignment) + this.getPeer()?.alignAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public alignRules(value: AlignRuleOption | LocalizedAlignRuleOptions): this { + if (this.checkPriority("alignRules")) { + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("left")) || (value!.hasOwnProperty("right"))))) { + const value_casted = value as (AlignRuleOption) + this.getPeer()?.alignRules0Attribute(value_casted) + return this + } + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("start")) || (value!.hasOwnProperty("end"))))) { + const value_casted = value as (LocalizedAlignRuleOptions) + this.getPeer()?.alignRules1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public id(value: string): this { + if (this.checkPriority("id")) { + const value_casted = value as (string) + this.getPeer()?.idAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public minFontScale(value: number | Resource): this { + if (this.checkPriority("minFontScale")) { + const value_casted = value as (number | Resource) + this.getPeer()?.minFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontScale(value: number | Resource): this { + if (this.checkPriority("maxFontScale")) { + const value_casted = value as (number | Resource) + this.getPeer()?.maxFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxLines(value: number): this { + if (this.checkPriority("maxLines")) { + const value_casted = value as (number) + this.getPeer()?.maxLinesAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public minFontSize(value: number | string | Resource): this { + if (this.checkPriority("minFontSize")) { + const value_casted = value as (number | string | Resource) + this.getPeer()?.minFontSizeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontSize(value: number | string | Resource): this { + if (this.checkPriority("maxFontSize")) { + const value_casted = value as (number | string | Resource) + this.getPeer()?.maxFontSizeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this { + if (this.checkPriority("heightAdaptivePolicy")) { + const value_casted = value as (TextHeightAdaptivePolicy) + this.getPeer()?.heightAdaptivePolicyAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enabled(value: boolean): this { + if (this.checkPriority("enabled")) { + const value_casted = value as (boolean) + this.getPeer()?.enabledAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public chainMode(direction: Axis, style: ChainStyle): this { + if (this.checkPriority("chainMode")) { + const direction_casted = direction as (Axis) + const style_casted = style as (ChainStyle) + this.getPeer()?.chainModeAttribute(direction_casted, style_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala/arkui/src/generated/select.ts b/arkoala/arkui/src/generated/select.ts index 2f8f81608a..eb3f85160e 100644 --- a/arkoala/arkui/src/generated/select.ts +++ b/arkoala/arkui/src/generated/select.ts @@ -23,18 +23,18 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, BlurStyle, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { Resource } from "./resource" -import { ResourceStr, Font, ResourceColor, Length, Dimension, Offset } from "./units" +import { ResourceStr, Font, ResourceColor, Length, Dimension, DividerStyleOptions, Offset, EdgeOutlineWidths, EdgeColors } from "./units" import { OptionWidthMode, Color } from "./enums" import { ControlSize } from "./button" import { ContentModifier } from "./arkui-wrapper-builder" import { DividerOptions } from "./text_picker" +import { TextModifier, SymbolGlyphModifier } from "./arkui-external" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { Deserializer } from "./peers/Deserializer" -import { SymbolGlyphModifier } from "./arkui-external" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class ArkSelectPeer extends ArkCommonMethodPeer { @@ -58,7 +58,7 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SelectInterface_setSelectOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedAttribute(value: number | Resource): void { + selected0Attribute(value: number | Resource): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -72,10 +72,33 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { const value_1 = unsafeCast(value) thisSerializer.writeResource(value_1) } - ArkUIGeneratedNativeModule._SelectAttribute_selected(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_selected0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - valueAttribute(value: ResourceStr): void { + selected1Attribute(value: number | Resource | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_selected1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + value0Attribute(value: ResourceStr): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -89,16 +112,51 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { const value_1 = unsafeCast(value) thisSerializer.writeResource(value_1) } - ArkUIGeneratedNativeModule._SelectAttribute_value(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_value0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - fontAttribute(value: Font): void { + value1Attribute(value: ResourceStr | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeString(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_value1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + font0Attribute(value: Font): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeFont(value) - ArkUIGeneratedNativeModule._SelectAttribute_font(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_font0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + font1Attribute(value: Font | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeFont(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_font1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - fontColorAttribute(value: ResourceColor): void { + fontColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -122,10 +180,43 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SelectAttribute_fontColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_fontColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedOptionBgColorAttribute(value: ResourceColor): void { + fontColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_fontColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedOptionBgColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -149,16 +240,61 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionBgColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionBgColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedOptionFontAttribute(value: Font): void { + selectedOptionBgColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionBgColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedOptionFont0Attribute(value: Font): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeFont(value) - ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionFont(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionFont0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedOptionFontColorAttribute(value: ResourceColor): void { + selectedOptionFont1Attribute(value: Font | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeFont(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionFont1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedOptionFontColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -182,10 +318,43 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionFontColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionFontColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - optionBgColorAttribute(value: ResourceColor): void { + selectedOptionFontColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionFontColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + optionBgColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -209,16 +378,61 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SelectAttribute_optionBgColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_optionBgColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - optionFontAttribute(value: Font): void { + optionBgColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_optionBgColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + optionFont0Attribute(value: Font): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeFont(value) - ArkUIGeneratedNativeModule._SelectAttribute_optionFont(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_optionFont0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + optionFont1Attribute(value: Font | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeFont(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_optionFont1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - optionFontColorAttribute(value: ResourceColor): void { + optionFontColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -242,16 +456,61 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SelectAttribute_optionFontColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_optionFontColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onSelectAttribute(value: ((index: number, value: string) => void)): void { + optionFontColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_optionFontColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onSelect0Attribute(value: ((index: number, value: string) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._SelectAttribute_onSelect(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_onSelect0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - spaceAttribute(value: Length): void { + onSelect1Attribute(value: OnSelectCallback | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_onSelect1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + space0Attribute(value: Length): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -270,13 +529,53 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { const value_2 = unsafeCast(value) thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._SelectAttribute_space(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_space0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + space1Attribute(value: Length | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeString(value_value_0) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_2) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_space1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - arrowPositionAttribute(value: ArrowPosition): void { - ArkUIGeneratedNativeModule._SelectAttribute_arrowPosition(this.peer.ptr, value.valueOf()) + arrowPosition0Attribute(value: ArrowPosition): void { + ArkUIGeneratedNativeModule._SelectAttribute_arrowPosition0(this.peer.ptr, value.valueOf()) + } + arrowPosition1Attribute(value: ArrowPosition | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._SelectAttribute_arrowPosition1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - optionWidthAttribute(value: Dimension | OptionWidthMode): void { + optionWidth0Attribute(value: Dimension | OptionWidthMode): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -306,10 +605,49 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { const value_1 = unsafeCast(value) thisSerializer.writeInt32(Object.values(OptionWidthMode).indexOf(value_1)) } - ArkUIGeneratedNativeModule._SelectAttribute_optionWidth(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_optionWidth0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - optionHeightAttribute(value: Dimension): void { + optionWidth1Attribute(value: Dimension | OptionWidthMode | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if ((RuntimeType.STRING == value_value_type) || (RuntimeType.NUMBER == value_value_type) || (RuntimeType.OBJECT == value_value_type)) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + let value_value_0_type: int32 = RuntimeType.UNDEFINED + value_value_0_type = runtimeType(value_value_0) + if (RuntimeType.STRING == value_value_0_type) { + thisSerializer.writeInt8(0) + const value_value_0_0 = unsafeCast(value_value_0) + thisSerializer.writeString(value_value_0_0) + } + else if (RuntimeType.NUMBER == value_value_0_type) { + thisSerializer.writeInt8(1) + const value_value_0_1 = unsafeCast(value_value_0) + thisSerializer.writeNumber(value_value_0_1) + } + else if (RuntimeType.OBJECT == value_value_0_type) { + thisSerializer.writeInt8(2) + const value_value_0_2 = unsafeCast(value_value_0) + thisSerializer.writeResource(value_value_0_2) + } + } + else if (((RuntimeType.STRING) == (value_value_type)) && ((Object.values(OptionWidthMode).indexOf((value_value as OptionWidthMode))) >= (0)) && ((Object.values(OptionWidthMode).indexOf((value_value as OptionWidthMode))) <= (1))) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeInt32(Object.values(OptionWidthMode).indexOf(value_value_1)) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_optionWidth1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + optionHeight0Attribute(value: Dimension): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -328,10 +666,38 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { const value_2 = unsafeCast(value) thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._SelectAttribute_optionHeight(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_optionHeight0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - menuBackgroundColorAttribute(value: ResourceColor): void { + optionHeight1Attribute(value: Dimension | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeString(value_value_0) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_2) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_optionHeight1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menuBackgroundColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -355,19 +721,88 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SelectAttribute_menuBackgroundColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_menuBackgroundColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menuBackgroundColor1Attribute(value: ResourceColor | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (((RuntimeType.NUMBER) == (value_value_type)) && ((unsafeCast(value_value)) >= (0)) && ((unsafeCast(value_value)) <= (11))) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeInt32(value_value_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeString(value_value_2) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(3) + const value_value_3 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_3) + } + } + ArkUIGeneratedNativeModule._SelectAttribute_menuBackgroundColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menuBackgroundBlurStyle0Attribute(value: BlurStyle): void { + ArkUIGeneratedNativeModule._SelectAttribute_menuBackgroundBlurStyle0(this.peer.ptr, value.valueOf()) + } + menuBackgroundBlurStyle1Attribute(value: BlurStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._SelectAttribute_menuBackgroundBlurStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - menuBackgroundBlurStyleAttribute(value: BlurStyle): void { - ArkUIGeneratedNativeModule._SelectAttribute_menuBackgroundBlurStyle(this.peer.ptr, value.valueOf()) + controlSize0Attribute(value: ControlSize): void { + ArkUIGeneratedNativeModule._SelectAttribute_controlSize0(this.peer.ptr, Object.values(ControlSize).indexOf(value)) } - controlSizeAttribute(value: ControlSize): void { - ArkUIGeneratedNativeModule._SelectAttribute_controlSize(this.peer.ptr, Object.values(ControlSize).indexOf(value)) + controlSize1Attribute(value: ControlSize | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(Object.values(ControlSize).indexOf(value_value)) + } + ArkUIGeneratedNativeModule._SelectAttribute_controlSize1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - menuItemContentModifierAttribute(value: ContentModifier): void { + menuItemContentModifier0Attribute(value: ContentModifier): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteObject(value) - ArkUIGeneratedNativeModule._SelectAttribute_menuItemContentModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_menuItemContentModifier0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menuItemContentModifier1Attribute(value: ContentModifier | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteObject(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_menuItemContentModifier1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } dividerAttribute(value: DividerOptions | undefined): void { @@ -382,51 +817,104 @@ export class ArkSelectPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SelectAttribute_divider(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - menuAlignAttribute(alignType: MenuAlignType, offset?: Offset): void { + textModifierAttribute(value: TextModifier | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeTextModifier(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_textModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + arrowModifierAttribute(value: SymbolGlyphModifier | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeSymbolGlyphModifier(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_arrowModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + optionTextModifierAttribute(value: TextModifier | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeTextModifier(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_optionTextModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedOptionTextModifierAttribute(value: TextModifier | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeTextModifier(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_selectedOptionTextModifier(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + dividerStyleAttribute(value: DividerStyleOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeDividerStyleOptions(value_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_dividerStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + avoidanceAttribute(value: AvoidanceMode): void { + ArkUIGeneratedNativeModule._SelectAttribute_avoidance(this.peer.ptr, value.valueOf()) + } + menuOutlineAttribute(value: MenuOutlineOptions): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeMenuOutlineOptions(value) + ArkUIGeneratedNativeModule._SelectAttribute_menuOutline(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menuAlign0Attribute(alignType: MenuAlignType, offset?: Offset): void { const thisSerializer: Serializer = Serializer.hold() let offset_type: int32 = RuntimeType.UNDEFINED offset_type = runtimeType(offset) thisSerializer.writeInt8(offset_type) if ((RuntimeType.UNDEFINED) != (offset_type)) { const offset_value = offset! - const offset_value_dx = offset_value.dx - let offset_value_dx_type: int32 = RuntimeType.UNDEFINED - offset_value_dx_type = runtimeType(offset_value_dx) - if (RuntimeType.STRING == offset_value_dx_type) { - thisSerializer.writeInt8(0) - const offset_value_dx_0 = unsafeCast(offset_value_dx) - thisSerializer.writeString(offset_value_dx_0) - } - else if (RuntimeType.NUMBER == offset_value_dx_type) { - thisSerializer.writeInt8(1) - const offset_value_dx_1 = unsafeCast(offset_value_dx) - thisSerializer.writeNumber(offset_value_dx_1) - } - else if (RuntimeType.OBJECT == offset_value_dx_type) { - thisSerializer.writeInt8(2) - const offset_value_dx_2 = unsafeCast(offset_value_dx) - thisSerializer.writeResource(offset_value_dx_2) - } - const offset_value_dy = offset_value.dy - let offset_value_dy_type: int32 = RuntimeType.UNDEFINED - offset_value_dy_type = runtimeType(offset_value_dy) - if (RuntimeType.STRING == offset_value_dy_type) { - thisSerializer.writeInt8(0) - const offset_value_dy_0 = unsafeCast(offset_value_dy) - thisSerializer.writeString(offset_value_dy_0) - } - else if (RuntimeType.NUMBER == offset_value_dy_type) { - thisSerializer.writeInt8(1) - const offset_value_dy_1 = unsafeCast(offset_value_dy) - thisSerializer.writeNumber(offset_value_dy_1) - } - else if (RuntimeType.OBJECT == offset_value_dy_type) { - thisSerializer.writeInt8(2) - const offset_value_dy_2 = unsafeCast(offset_value_dy) - thisSerializer.writeResource(offset_value_dy_2) - } + thisSerializer.writeOffset(offset_value) + } + ArkUIGeneratedNativeModule._SelectAttribute_menuAlign0(this.peer.ptr, alignType.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + menuAlign1Attribute(alignType: MenuAlignType | undefined, offset?: Offset): void { + const thisSerializer: Serializer = Serializer.hold() + let alignType_type: int32 = RuntimeType.UNDEFINED + alignType_type = runtimeType(alignType) + thisSerializer.writeInt8(alignType_type) + if ((RuntimeType.UNDEFINED) != (alignType_type)) { + const alignType_value = alignType! + thisSerializer.writeInt32(alignType_value.valueOf()) + } + let offset_type: int32 = RuntimeType.UNDEFINED + offset_type = runtimeType(offset) + thisSerializer.writeInt8(offset_type) + if ((RuntimeType.UNDEFINED) != (offset_type)) { + const offset_value = offset! + thisSerializer.writeOffset(offset_value) } - ArkUIGeneratedNativeModule._SelectAttribute_menuAlign(this.peer.ptr, alignType.valueOf(), thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SelectAttribute_menuAlign1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } _onChangeEvent_selectedAttribute(callback: ((selected: number | Resource) => void)): void { @@ -457,78 +945,108 @@ export enum MenuAlignType { CENTER = 1, END = 2, } +export enum AvoidanceMode { + COVER_TARGET, + AVOID_AROUND_TARGET = 1, +} +export type OnSelectCallback = (index: number, selectStr: string) => void; +export interface MenuOutlineOptions { + width?: Dimension | EdgeOutlineWidths; + color?: ResourceColor | EdgeColors; +} export type Callback_Number_String_Void = (index: number, value: string) => void; export type Callback_Union_Number_Resource_Void = (selected: number | Resource) => void; export type Callback_ResourceStr_Void = (value: ResourceStr) => void; export interface SelectAttribute extends CommonMethod { - selected(value: number | Resource): this - value(value: ResourceStr): this - font(value: Font): this - fontColor(value: ResourceColor): this - selectedOptionBgColor(value: ResourceColor): this - selectedOptionFont(value: Font): this - selectedOptionFontColor(value: ResourceColor): this - optionBgColor(value: ResourceColor): this - optionFont(value: Font): this - optionFontColor(value: ResourceColor): this - onSelect(value: ((index: number, value: string) => void)): this - space(value: Length): this - arrowPosition(value: ArrowPosition): this - optionWidth(value: Dimension | OptionWidthMode): this - optionHeight(value: Dimension): this - menuBackgroundColor(value: ResourceColor): this - menuBackgroundBlurStyle(value: BlurStyle): this - controlSize(value: ControlSize): this - menuItemContentModifier(value: ContentModifier): this + selected(value: number | Resource | number | Resource | undefined): this + value(value: ResourceStr | ResourceStr | undefined): this + font(value: Font | Font | undefined): this + fontColor(value: ResourceColor | ResourceColor | undefined): this + selectedOptionBgColor(value: ResourceColor | ResourceColor | undefined): this + selectedOptionFont(value: Font | Font | undefined): this + selectedOptionFontColor(value: ResourceColor | ResourceColor | undefined): this + optionBgColor(value: ResourceColor | ResourceColor | undefined): this + optionFont(value: Font | Font | undefined): this + optionFontColor(value: ResourceColor | ResourceColor | undefined): this + onSelect(value: ((index: number, value: string) => void) | OnSelectCallback | undefined): this + space(value: Length | Length | undefined): this + arrowPosition(value: ArrowPosition | ArrowPosition | undefined): this + optionWidth(value: Dimension | OptionWidthMode | Dimension | OptionWidthMode | undefined): this + optionHeight(value: Dimension | Dimension | undefined): this + menuBackgroundColor(value: ResourceColor | ResourceColor | undefined): this + menuBackgroundBlurStyle(value: BlurStyle | BlurStyle | undefined): this + controlSize(value: ControlSize | ControlSize | undefined): this + menuItemContentModifier(value: ContentModifier | ContentModifier | undefined): this divider(value: DividerOptions | undefined): this - menuAlign(alignType: MenuAlignType, offset?: Offset): this + textModifier(value: TextModifier | undefined): this + arrowModifier(value: SymbolGlyphModifier | undefined): this + optionTextModifier(value: TextModifier | undefined): this + selectedOptionTextModifier(value: TextModifier | undefined): this + dividerStyle(value: DividerStyleOptions | undefined): this + avoidance(value: AvoidanceMode): this + menuOutline(value: MenuOutlineOptions): this + menuAlign(alignType: MenuAlignType | MenuAlignType | undefined, offset?: Offset): this _onChangeEvent_selected(callback: ((selected: number | Resource) => void)): void _onChangeEvent_value(callback: ((value: ResourceStr) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UISelectAttribute extends UICommonMethod { /** @memo */ - selected(value: number | Resource): this + selected(value: number | Resource | number | Resource | undefined): this /** @memo */ - value(value: ResourceStr): this + value(value: ResourceStr | ResourceStr | undefined): this /** @memo */ - font(value: Font): this + font(value: Font | Font | undefined): this /** @memo */ - fontColor(value: ResourceColor): this + fontColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - selectedOptionBgColor(value: ResourceColor): this + selectedOptionBgColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - selectedOptionFont(value: Font): this + selectedOptionFont(value: Font | Font | undefined): this /** @memo */ - selectedOptionFontColor(value: ResourceColor): this + selectedOptionFontColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - optionBgColor(value: ResourceColor): this + optionBgColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - optionFont(value: Font): this + optionFont(value: Font | Font | undefined): this /** @memo */ - optionFontColor(value: ResourceColor): this + optionFontColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - onSelect(value: ((index: number, value: string) => void)): this + onSelect(value: ((index: number, value: string) => void) | OnSelectCallback | undefined): this /** @memo */ - space(value: Length): this + space(value: Length | Length | undefined): this /** @memo */ - arrowPosition(value: ArrowPosition): this + arrowPosition(value: ArrowPosition | ArrowPosition | undefined): this /** @memo */ - optionWidth(value: Dimension | OptionWidthMode): this + optionWidth(value: Dimension | OptionWidthMode | Dimension | OptionWidthMode | undefined): this /** @memo */ - optionHeight(value: Dimension): this + optionHeight(value: Dimension | Dimension | undefined): this /** @memo */ - menuBackgroundColor(value: ResourceColor): this + menuBackgroundColor(value: ResourceColor | ResourceColor | undefined): this /** @memo */ - menuBackgroundBlurStyle(value: BlurStyle): this + menuBackgroundBlurStyle(value: BlurStyle | BlurStyle | undefined): this /** @memo */ - controlSize(value: ControlSize): this + controlSize(value: ControlSize | ControlSize | undefined): this /** @memo */ - menuItemContentModifier(value: ContentModifier): this + menuItemContentModifier(value: ContentModifier | ContentModifier | undefined): this /** @memo */ divider(value: DividerOptions | undefined): this /** @memo */ - menuAlign(alignType: MenuAlignType, offset?: Offset): this + textModifier(value: TextModifier | undefined): this + /** @memo */ + arrowModifier(value: SymbolGlyphModifier | undefined): this + /** @memo */ + optionTextModifier(value: TextModifier | undefined): this + /** @memo */ + selectedOptionTextModifier(value: TextModifier | undefined): this + /** @memo */ + dividerStyle(value: DividerStyleOptions | undefined): this + /** @memo */ + avoidance(value: AvoidanceMode): this + /** @memo */ + menuOutline(value: MenuOutlineOptions): this + /** @memo */ + menuAlign(alignType: MenuAlignType | MenuAlignType | undefined, offset?: Offset): this /** @memo */ _onChangeEvent_selected(callback: ((selected: number | Resource) => void)): void /** @memo */ @@ -557,67 +1075,95 @@ export class ArkSelectStyle extends ArkCommonMethodStyle implements SelectAttrib controlSize_value?: ControlSize menuItemContentModifier_value?: ContentModifier divider_value?: DividerOptions | undefined - public selected(value: number | Resource): this { + textModifier_value?: TextModifier | undefined + arrowModifier_value?: SymbolGlyphModifier | undefined + optionTextModifier_value?: TextModifier | undefined + selectedOptionTextModifier_value?: TextModifier | undefined + dividerStyle_value?: DividerStyleOptions | undefined + avoidance_value?: AvoidanceMode + menuOutline_value?: MenuOutlineOptions + public selected(value: number | Resource | number | Resource | undefined): this { return this } - public value(value: ResourceStr): this { + public value(value: ResourceStr | ResourceStr | undefined): this { return this } - public font(value: Font): this { + public font(value: Font | Font | undefined): this { return this } - public fontColor(value: ResourceColor): this { + public fontColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public selectedOptionBgColor(value: ResourceColor): this { + public selectedOptionBgColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public selectedOptionFont(value: Font): this { + public selectedOptionFont(value: Font | Font | undefined): this { return this } - public selectedOptionFontColor(value: ResourceColor): this { + public selectedOptionFontColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public optionBgColor(value: ResourceColor): this { + public optionBgColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public optionFont(value: Font): this { + public optionFont(value: Font | Font | undefined): this { return this } - public optionFontColor(value: ResourceColor): this { + public optionFontColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public onSelect(value: ((index: number, value: string) => void)): this { + public onSelect(value: ((index: number, value: string) => void) | OnSelectCallback | undefined): this { return this } - public space(value: Length): this { + public space(value: Length | Length | undefined): this { return this } - public arrowPosition(value: ArrowPosition): this { + public arrowPosition(value: ArrowPosition | ArrowPosition | undefined): this { return this } - public optionWidth(value: Dimension | OptionWidthMode): this { + public optionWidth(value: Dimension | OptionWidthMode | Dimension | OptionWidthMode | undefined): this { return this } - public optionHeight(value: Dimension): this { + public optionHeight(value: Dimension | Dimension | undefined): this { return this } - public menuBackgroundColor(value: ResourceColor): this { + public menuBackgroundColor(value: ResourceColor | ResourceColor | undefined): this { return this } - public menuBackgroundBlurStyle(value: BlurStyle): this { + public menuBackgroundBlurStyle(value: BlurStyle | BlurStyle | undefined): this { return this } - public controlSize(value: ControlSize): this { + public controlSize(value: ControlSize | ControlSize | undefined): this { return this } - public menuItemContentModifier(value: ContentModifier): this { + public menuItemContentModifier(value: ContentModifier | ContentModifier | undefined): this { return this } public divider(value: DividerOptions | undefined): this { return this } - public menuAlign(alignType: MenuAlignType, offset?: Offset): this { + public textModifier(value: TextModifier | undefined): this { + return this + } + public arrowModifier(value: SymbolGlyphModifier | undefined): this { + return this + } + public optionTextModifier(value: TextModifier | undefined): this { + return this + } + public selectedOptionTextModifier(value: TextModifier | undefined): this { + return this + } + public dividerStyle(value: DividerStyleOptions | undefined): this { + return this + } + public avoidance(value: AvoidanceMode): this { + return this + } + public menuOutline(value: MenuOutlineOptions): this { + return this + } + public menuAlign(alignType: MenuAlignType | MenuAlignType | undefined, offset?: Offset): this { return this } public _onChangeEvent_selected(callback: ((selected: number | Resource) => void)): void { @@ -645,173 +1191,344 @@ export class ArkSelectComponent extends ArkCommonMethodComponent implements UISe return this } /** @memo */ - public selected(value: number | Resource): this { + public selected(value: number | Resource | number | Resource | undefined): this { if (this.checkPriority("selected")) { - const value_casted = value as (number | Resource) - this.getPeer()?.selectedAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (number | Resource) + this.getPeer()?.selected0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.selected1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public value(value: ResourceStr): this { + public value(value: ResourceStr | ResourceStr | undefined): this { if (this.checkPriority("value")) { - const value_casted = value as (ResourceStr) - this.getPeer()?.valueAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceStr) + this.getPeer()?.value0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceStr | undefined) + this.getPeer()?.value1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public font(value: Font): this { + public font(value: Font | Font | undefined): this { if (this.checkPriority("font")) { - const value_casted = value as (Font) - this.getPeer()?.fontAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("size")) || (value!.hasOwnProperty("weight")) || (value!.hasOwnProperty("family")) || (value!.hasOwnProperty("style"))))) { + const value_casted = value as (Font) + this.getPeer()?.font0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Font | undefined) + this.getPeer()?.font1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public fontColor(value: ResourceColor): this { + public fontColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("fontColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.fontColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.fontColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.fontColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedOptionBgColor(value: ResourceColor): this { + public selectedOptionBgColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("selectedOptionBgColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.selectedOptionBgColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.selectedOptionBgColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.selectedOptionBgColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedOptionFont(value: Font): this { + public selectedOptionFont(value: Font | Font | undefined): this { if (this.checkPriority("selectedOptionFont")) { - const value_casted = value as (Font) - this.getPeer()?.selectedOptionFontAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("size")) || (value!.hasOwnProperty("weight")) || (value!.hasOwnProperty("family")) || (value!.hasOwnProperty("style"))))) { + const value_casted = value as (Font) + this.getPeer()?.selectedOptionFont0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Font | undefined) + this.getPeer()?.selectedOptionFont1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedOptionFontColor(value: ResourceColor): this { + public selectedOptionFontColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("selectedOptionFontColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.selectedOptionFontColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.selectedOptionFontColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.selectedOptionFontColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public optionBgColor(value: ResourceColor): this { + public optionBgColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("optionBgColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.optionBgColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.optionBgColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.optionBgColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public optionFont(value: Font): this { + public optionFont(value: Font | Font | undefined): this { if (this.checkPriority("optionFont")) { - const value_casted = value as (Font) - this.getPeer()?.optionFontAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("size")) || (value!.hasOwnProperty("weight")) || (value!.hasOwnProperty("family")) || (value!.hasOwnProperty("style"))))) { + const value_casted = value as (Font) + this.getPeer()?.optionFont0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Font | undefined) + this.getPeer()?.optionFont1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public optionFontColor(value: ResourceColor): this { + public optionFontColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("optionFontColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.optionFontColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.optionFontColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.optionFontColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onSelect(value: ((index: number, value: string) => void)): this { + public onSelect(value: ((index: number, value: string) => void) | OnSelectCallback | undefined): this { if (this.checkPriority("onSelect")) { - const value_casted = value as (((index: number, value: string) => void)) - this.getPeer()?.onSelectAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((index: number, value: string) => void)) + this.getPeer()?.onSelect0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnSelectCallback | undefined) + this.getPeer()?.onSelect1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public space(value: Length): this { + public space(value: Length | Length | undefined): this { if (this.checkPriority("space")) { - const value_casted = value as (Length) - this.getPeer()?.spaceAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Length) + this.getPeer()?.space0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Length | undefined) + this.getPeer()?.space1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public arrowPosition(value: ArrowPosition): this { + public arrowPosition(value: ArrowPosition | ArrowPosition | undefined): this { if (this.checkPriority("arrowPosition")) { - const value_casted = value as (ArrowPosition) - this.getPeer()?.arrowPositionAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (1))) { + const value_casted = value as (ArrowPosition) + this.getPeer()?.arrowPosition0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ArrowPosition | undefined) + this.getPeer()?.arrowPosition1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public optionWidth(value: Dimension | OptionWidthMode): this { + public optionWidth(value: Dimension | OptionWidthMode | Dimension | OptionWidthMode | undefined): this { if (this.checkPriority("optionWidth")) { - const value_casted = value as (Dimension | OptionWidthMode) - this.getPeer()?.optionWidthAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.STRING) == (value_type)) && ((Object.values(OptionWidthMode).indexOf((value as OptionWidthMode))) >= (0)) && ((Object.values(OptionWidthMode).indexOf((value as OptionWidthMode))) <= (1)))) { + const value_casted = value as (Dimension | OptionWidthMode) + this.getPeer()?.optionWidth0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Dimension | OptionWidthMode | undefined) + this.getPeer()?.optionWidth1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public optionHeight(value: Dimension): this { + public optionHeight(value: Dimension | Dimension | undefined): this { if (this.checkPriority("optionHeight")) { - const value_casted = value as (Dimension) - this.getPeer()?.optionHeightAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Dimension) + this.getPeer()?.optionHeight0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Dimension | undefined) + this.getPeer()?.optionHeight1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public menuBackgroundColor(value: ResourceColor): this { + public menuBackgroundColor(value: ResourceColor | ResourceColor | undefined): this { if (this.checkPriority("menuBackgroundColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.menuBackgroundColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.menuBackgroundColor0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ResourceColor | undefined) + this.getPeer()?.menuBackgroundColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public menuBackgroundBlurStyle(value: BlurStyle): this { + public menuBackgroundBlurStyle(value: BlurStyle | BlurStyle | undefined): this { if (this.checkPriority("menuBackgroundBlurStyle")) { - const value_casted = value as (BlurStyle) - this.getPeer()?.menuBackgroundBlurStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (12))) { + const value_casted = value as (BlurStyle) + this.getPeer()?.menuBackgroundBlurStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (BlurStyle | undefined) + this.getPeer()?.menuBackgroundBlurStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public controlSize(value: ControlSize): this { + public controlSize(value: ControlSize | ControlSize | undefined): this { if (this.checkPriority("controlSize")) { - const value_casted = value as (ControlSize) - this.getPeer()?.controlSizeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.STRING) == (value_type)) && ((Object.values(ControlSize).indexOf((value as ControlSize))) >= (0)) && ((Object.values(ControlSize).indexOf((value as ControlSize))) <= (1))) { + const value_casted = value as (ControlSize) + this.getPeer()?.controlSize0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ControlSize | undefined) + this.getPeer()?.controlSize1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public menuItemContentModifier(value: ContentModifier): this { + public menuItemContentModifier(value: ContentModifier | ContentModifier | undefined): this { if (this.checkPriority("menuItemContentModifier")) { - const value_casted = value as (ContentModifier) - this.getPeer()?.menuItemContentModifierAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type)) { + const value_casted = value as (ContentModifier) + this.getPeer()?.menuItemContentModifier0Attribute(value_casted) + return this + } + if ((RuntimeType.BIGINT == value_type) || (RuntimeType.BOOLEAN == value_type) || (RuntimeType.FUNCTION == value_type) || (RuntimeType.MATERIALIZED == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.SYMBOL == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (ContentModifier | undefined) + this.getPeer()?.menuItemContentModifier1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -825,16 +1542,90 @@ export class ArkSelectComponent extends ArkCommonMethodComponent implements UISe return this } /** @memo */ - public menuAlign(alignType: MenuAlignType, offset?: Offset): this { - if (this.checkPriority("menuAlign")) { - const alignType_casted = alignType as (MenuAlignType) - const offset_casted = offset as (Offset | undefined) - this.getPeer()?.menuAlignAttribute(alignType_casted, offset_casted) + public textModifier(value: TextModifier | undefined): this { + if (this.checkPriority("textModifier")) { + const value_casted = value as (TextModifier | undefined) + this.getPeer()?.textModifierAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public arrowModifier(value: SymbolGlyphModifier | undefined): this { + if (this.checkPriority("arrowModifier")) { + const value_casted = value as (SymbolGlyphModifier | undefined) + this.getPeer()?.arrowModifierAttribute(value_casted) return this } return this } /** @memo */ + public optionTextModifier(value: TextModifier | undefined): this { + if (this.checkPriority("optionTextModifier")) { + const value_casted = value as (TextModifier | undefined) + this.getPeer()?.optionTextModifierAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public selectedOptionTextModifier(value: TextModifier | undefined): this { + if (this.checkPriority("selectedOptionTextModifier")) { + const value_casted = value as (TextModifier | undefined) + this.getPeer()?.selectedOptionTextModifierAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public dividerStyle(value: DividerStyleOptions | undefined): this { + if (this.checkPriority("dividerStyle")) { + const value_casted = value as (DividerStyleOptions | undefined) + this.getPeer()?.dividerStyleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public avoidance(value: AvoidanceMode): this { + if (this.checkPriority("avoidance")) { + const value_casted = value as (AvoidanceMode) + this.getPeer()?.avoidanceAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public menuOutline(value: MenuOutlineOptions): this { + if (this.checkPriority("menuOutline")) { + const value_casted = value as (MenuOutlineOptions) + this.getPeer()?.menuOutlineAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public menuAlign(alignType: MenuAlignType | MenuAlignType | undefined, offset?: Offset): this { + if (this.checkPriority("menuAlign")) { + const alignType_type = runtimeType(alignType) + const offset_type = runtimeType(offset) + if (((RuntimeType.NUMBER) == (alignType_type)) && ((unsafeCast(alignType)) >= (0)) && ((unsafeCast(alignType)) <= (2))) { + const alignType_casted = alignType as (MenuAlignType) + const offset_casted = offset as (Offset | undefined) + this.getPeer()?.menuAlign0Attribute(alignType_casted, offset_casted) + return this + } + if ((RuntimeType.NUMBER == alignType_type) || (RuntimeType.UNDEFINED == alignType_type)) { + const alignType_casted = alignType as (MenuAlignType | undefined) + const offset_casted = offset as (Offset | undefined) + this.getPeer()?.menuAlign1Attribute(alignType_casted, offset_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ public _onChangeEvent_selected(callback: ((selected: number | Resource) => void)): void { if (this.checkPriority("_onChangeEvent_selected")) { const callback_casted = callback as (((selected: number | Resource) => void)) diff --git a/arkoala/arkui/src/generated/slider.ts b/arkoala/arkui/src/generated/slider.ts index 3b7f55f576..736a11a838 100644 --- a/arkoala/arkui/src/generated/slider.ts +++ b/arkoala/arkui/src/generated/slider.ts @@ -25,7 +25,7 @@ import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonM import { ResourceColor, Length, Dimension, SizeOptions, ResourceStr } from "./units" import { LinearGradient } from "./AllMaterialized" import { ContentModifier, CommonConfiguration } from "./arkui-wrapper-builder" -import { Color, Axis } from "./enums" +import { CrownSensitivity, Color, Axis } from "./enums" import { Resource } from "./resource" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" @@ -123,7 +123,7 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SliderAttribute_trackColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedColorAttribute(value: ResourceColor): void { + selectedColor0Attribute(value: ResourceColor): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -147,7 +147,45 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { const value_3 = unsafeCast(value) thisSerializer.writeResource(value_3) } - ArkUIGeneratedNativeModule._SliderAttribute_selectedColor(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._SliderAttribute_selectedColor0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedColor1Attribute(value: ResourceColor | LinearGradient): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + let value_0_type: int32 = RuntimeType.UNDEFINED + value_0_type = runtimeType(value_0) + if (((RuntimeType.NUMBER) == (value_0_type)) && ((unsafeCast(value_0)) >= (0)) && ((unsafeCast(value_0)) <= (11))) { + thisSerializer.writeInt8(0) + const value_0_0 = unsafeCast(value_0) + thisSerializer.writeInt32(value_0_0.valueOf()) + } + else if (RuntimeType.NUMBER == value_0_type) { + thisSerializer.writeInt8(1) + const value_0_1 = unsafeCast(value_0) + thisSerializer.writeNumber(value_0_1) + } + else if (RuntimeType.STRING == value_0_type) { + thisSerializer.writeInt8(2) + const value_0_2 = unsafeCast(value_0) + thisSerializer.writeString(value_0_2) + } + else if (RuntimeType.OBJECT == value_0_type) { + thisSerializer.writeInt8(3) + const value_0_3 = unsafeCast(value_0) + thisSerializer.writeResource(value_0_3) + } + } + else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof LinearGradient)) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeLinearGradient(value_1) + } + ArkUIGeneratedNativeModule._SliderAttribute_selectedColor1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } minLabelAttribute(value: string): void { @@ -359,6 +397,21 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SliderAttribute_slideRange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + digitalCrownSensitivityAttribute(value: CrownSensitivity | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._SliderAttribute_digitalCrownSensitivity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + enableHapticFeedbackAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._SliderAttribute_enableHapticFeedback(this.peer.ptr, +value) + } showTipsAttribute(value: boolean, content?: ResourceStr): void { const thisSerializer: Serializer = Serializer.hold() let content_type: int32 = RuntimeType.UNDEFINED @@ -447,7 +500,7 @@ export type Callback_Number_SliderChangeMode_Void = (value: number, mode: Slider export interface SliderAttribute extends CommonMethod { blockColor(value: ResourceColor): this trackColor(value: ResourceColor | LinearGradient): this - selectedColor(value: ResourceColor): this + selectedColor(value: ResourceColor | ResourceColor | LinearGradient): this minLabel(value: string): this maxLabel(value: string): this showSteps(value: boolean): this @@ -465,6 +518,8 @@ export interface SliderAttribute extends CommonMethod { minResponsiveDistance(value: number): this contentModifier(value: ContentModifier): this slideRange(value: SlideRange): this + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + enableHapticFeedback(value: boolean): this showTips(value: boolean, content?: ResourceStr): this _onChangeEvent_value(callback: ((index: number) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this @@ -475,7 +530,7 @@ export interface UISliderAttribute extends UICommonMethod { /** @memo */ trackColor(value: ResourceColor | LinearGradient): this /** @memo */ - selectedColor(value: ResourceColor): this + selectedColor(value: ResourceColor | ResourceColor | LinearGradient): this /** @memo */ minLabel(value: string): this /** @memo */ @@ -511,6 +566,10 @@ export interface UISliderAttribute extends UICommonMethod { /** @memo */ slideRange(value: SlideRange): this /** @memo */ + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + /** @memo */ + enableHapticFeedback(value: boolean): this + /** @memo */ showTips(value: boolean, content?: ResourceStr): this /** @memo */ _onChangeEvent_value(callback: ((index: number) => void)): void @@ -538,13 +597,15 @@ export class ArkSliderStyle extends ArkCommonMethodStyle implements SliderAttrib minResponsiveDistance_value?: number contentModifier_value?: ContentModifier slideRange_value?: SlideRange + digitalCrownSensitivity_value?: CrownSensitivity | undefined + enableHapticFeedback_value?: boolean public blockColor(value: ResourceColor): this { return this } public trackColor(value: ResourceColor | LinearGradient): this { return this } - public selectedColor(value: ResourceColor): this { + public selectedColor(value: ResourceColor | ResourceColor | LinearGradient): this { return this } public minLabel(value: string): this { @@ -598,6 +659,12 @@ export class ArkSliderStyle extends ArkCommonMethodStyle implements SliderAttrib public slideRange(value: SlideRange): this { return this } + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + return this + } + public enableHapticFeedback(value: boolean): this { + return this + } public showTips(value: boolean, content?: ResourceStr): this { return this } @@ -641,11 +708,20 @@ export class ArkSliderComponent extends ArkCommonMethodComponent implements UISl return this } /** @memo */ - public selectedColor(value: ResourceColor): this { + public selectedColor(value: ResourceColor | ResourceColor | LinearGradient): this { if (this.checkPriority("selectedColor")) { - const value_casted = value as (ResourceColor) - this.getPeer()?.selectedColorAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (ResourceColor) + this.getPeer()?.selectedColor0Attribute(value_casted) + return this + } + if (((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (11))) || (RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.OBJECT == value_type)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof LinearGradient))) { + const value_casted = value as (ResourceColor | LinearGradient) + this.getPeer()?.selectedColor1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } @@ -803,6 +879,24 @@ export class ArkSliderComponent extends ArkCommonMethodComponent implements UISl return this } /** @memo */ + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + if (this.checkPriority("digitalCrownSensitivity")) { + const value_casted = value as (CrownSensitivity | undefined) + this.getPeer()?.digitalCrownSensitivityAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableHapticFeedback(value: boolean): this { + if (this.checkPriority("enableHapticFeedback")) { + const value_casted = value as (boolean) + this.getPeer()?.enableHapticFeedbackAttribute(value_casted) + return this + } + return this + } + /** @memo */ public showTips(value: boolean, content?: ResourceStr): this { if (this.checkPriority("showTips")) { const value_casted = value as (boolean) diff --git a/arkoala/arkui/src/generated/styled_string.ts b/arkoala/arkui/src/generated/styled_string.ts index ee832d5204..85f28d837c 100644 --- a/arkoala/arkui/src/generated/styled_string.ts +++ b/arkoala/arkui/src/generated/styled_string.ts @@ -19,11 +19,14 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, wrapCallback } from "@koalaui/interop" import { ResourceColor, ResourceStr, SizeOptions, Padding, BorderRadiuses } from "./units" -import { LengthMetrics, ClickEvent, GestureEvent, TextStyle_styled_string, DecorationStyle, BaselineOffsetStyle, LetterSpacingStyle, TextShadowStyle, GestureStyle, ImageAttachment, ParagraphStyle, LineHeightStyle, UrlStyle, CustomSpan, BackgroundColorStyle, PixelMap } from "./AllMaterialized" +import { LengthMetrics, ClickEvent, GestureEvent, TextStyle_styled_string, DecorationStyle, BaselineOffsetStyle, LetterSpacingStyle, TextShadowStyle, GestureStyle, ImageAttachment, ParagraphStyle, LineHeightStyle, UrlStyle, CustomSpan, BackgroundColorStyle, PixelMap, ColorFilter, DrawingColorFilter } from "./AllMaterialized" import { FontWeight, TextAlign, TextOverflow, WordBreak, ImageSpanAlignment, ImageFit } from "./enums" import { FontStyle, TextDecorationType, TextDecorationStyle } from "./arkui-graphics-text" import { LeadingMarginPlaceholder } from "./rich_editor" import { DrawContext } from "./arkui-graphics" +export type StyledStringMarshallingValue = UserDataSpan; +export type StyledStringMarshallCallback = (marshallableVal: UserDataSpan) => NativeBuffer; +export type StyledStringUnmarshallCallback = (buf: NativeBuffer) => UserDataSpan; export interface StyleOptions { start?: number; length?: number; @@ -59,6 +62,7 @@ export interface ParagraphStyleInterface { overflow?: TextOverflow; wordBreak?: WordBreak; leadingMargin?: LengthMetrics | LeadingMarginPlaceholder; + paragraphSpacing?: LengthMetrics; } export type StyledStringValue = TextStyle_styled_string | DecorationStyle | BaselineOffsetStyle | LetterSpacingStyle | TextShadowStyle | GestureStyle | ImageAttachment | ParagraphStyle | LineHeightStyle | UrlStyle | CustomSpan | UserDataSpan | BackgroundColorStyle; export enum StyledStringKey { @@ -76,13 +80,25 @@ export enum StyledStringKey { CUSTOM_SPAN = 400, USER_DATA = 500, } +export interface ResourceImageAttachmentOptions { + resourceValue: ResourceStr | undefined; + size?: SizeOptions; + verticalAlign?: ImageSpanAlignment; + objectFit?: ImageFit; + layoutStyle?: ImageAttachmentLayoutStyle; + colorFilter?: ColorFilterType; + syncLoad?: boolean; +} export interface ImageAttachmentInterface { value: PixelMap; size?: SizeOptions; verticalAlign?: ImageSpanAlignment; objectFit?: ImageFit; layoutStyle?: ImageAttachmentLayoutStyle; + colorFilter?: ColorFilterType; } +export type AttachmentType = ImageAttachmentInterface | ResourceImageAttachmentOptions; +export type ColorFilterType = ColorFilter | DrawingColorFilter; export interface ImageAttachmentLayoutStyle { margin?: LengthMetrics | Padding; padding?: LengthMetrics | Padding; diff --git a/arkoala/arkui/src/generated/swiper.ts b/arkoala/arkui/src/generated/swiper.ts index 539bcc0d81..9e90ac55f3 100644 --- a/arkoala/arkui/src/generated/swiper.ts +++ b/arkoala/arkui/src/generated/swiper.ts @@ -25,7 +25,7 @@ import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonM import { DotIndicator } from "./ArkDotIndicatorBuilder" import { DigitIndicator } from "./ArkDigitIndicatorBuilder" import { IndicatorComponentController, ICurve, SwiperController, SwiperContentTransitionProxy } from "./AllMaterialized" -import { EdgeEffect, Curve, Color } from "./enums" +import { EdgeEffect, Curve, PageFlipMode, Color } from "./enums" import { IndicatorStyle } from "./arkui-external" import { Length, ResourceColor, VP } from "./units" import { Resource } from "./resource" @@ -63,8 +63,14 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { indexAttribute(value: number): void { ArkUIGeneratedNativeModule._SwiperAttribute_index(this.peer.ptr, value) } - autoPlayAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._SwiperAttribute_autoPlay(this.peer.ptr, +value) + autoPlay0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._SwiperAttribute_autoPlay0(this.peer.ptr, +value) + } + autoPlay1Attribute(autoPlay: boolean, options: AutoPlayOptions): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeAutoPlayOptions(options) + ArkUIGeneratedNativeModule._SwiperAttribute_autoPlay1(this.peer.ptr, +autoPlay, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } intervalAttribute(value: number): void { ArkUIGeneratedNativeModule._SwiperAttribute_interval(this.peer.ptr, value) @@ -91,8 +97,32 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SwiperAttribute_indicator0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - indicator1Attribute(value: IndicatorComponentController): void { - ArkUIGeneratedNativeModule._SwiperAttribute_indicator1(this.peer.ptr, toPeerPtr(value)) + indicator1Attribute(value: IndicatorComponentController | DotIndicator | DigitIndicator | boolean): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof IndicatorComponentController)) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeIndicatorComponentController(value_0) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof DotIndicator)) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeDotIndicator(value_1) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof DigitIndicator)) { + thisSerializer.writeInt8(2) + const value_2 = unsafeCast(value) + thisSerializer.writeDigitIndicator(value_2) + } + else if (RuntimeType.BOOLEAN == value_type) { + thisSerializer.writeInt8(3) + const value_3 = unsafeCast(value) + thisSerializer.writeBoolean(value_3) + } + ArkUIGeneratedNativeModule._SwiperAttribute_indicator1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } loopAttribute(value: boolean): void { ArkUIGeneratedNativeModule._SwiperAttribute_loop(this.peer.ptr, +value) @@ -123,8 +153,11 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { displayModeAttribute(value: SwiperDisplayMode): void { ArkUIGeneratedNativeModule._SwiperAttribute_displayMode(this.peer.ptr, value.valueOf()) } - cachedCountAttribute(value: number): void { - ArkUIGeneratedNativeModule._SwiperAttribute_cachedCount(this.peer.ptr, value) + cachedCount0Attribute(value: number): void { + ArkUIGeneratedNativeModule._SwiperAttribute_cachedCount0(this.peer.ptr, value) + } + cachedCount1Attribute(count: number, isShown: boolean): void { + ArkUIGeneratedNativeModule._SwiperAttribute_cachedCount1(this.peer.ptr, count, +isShown) } effectModeAttribute(value: EdgeEffect): void { ArkUIGeneratedNativeModule._SwiperAttribute_effectMode(this.peer.ptr, value.valueOf()) @@ -160,6 +193,12 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SwiperAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onSelectedAttribute(value: ((index: number) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._SwiperAttribute_onSelected(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } indicatorStyleAttribute(value: IndicatorStyle | undefined): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED @@ -172,6 +211,12 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._SwiperAttribute_indicatorStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onUnselectedAttribute(value: ((index: number) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._SwiperAttribute_onUnselected(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onAnimationStartAttribute(value: OnSwiperAnimationStartCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -208,6 +253,24 @@ export class ArkSwiperPeer extends ArkCommonMethodPeer { indicatorInteractiveAttribute(value: boolean): void { ArkUIGeneratedNativeModule._SwiperAttribute_indicatorInteractive(this.peer.ptr, +value) } + pageFlipModeAttribute(value: PageFlipMode | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._SwiperAttribute_pageFlipMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onContentWillScrollAttribute(value: ContentWillScrollCallback): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._SwiperAttribute_onContentWillScroll(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } displayArrowAttribute(value: ArrowStyle | boolean, isHoverShow?: boolean): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED @@ -351,29 +414,39 @@ export interface SwiperAnimationEvent { targetOffset: number; velocity: number; } +export interface AutoPlayOptions { + stopWhenTouched: boolean; +} export enum SwiperNestedScrollMode { SELF_ONLY, SELF_FIRST = 1, } +export enum SwiperAnimationMode { + NO_ANIMATION, + DEFAULT_ANIMATION = 1, + FAST_ANIMATION = 2, +} export type OnSwiperAnimationStartCallback = (index: number, targetIndex: number, extraInfo: SwiperAnimationEvent) => void; export type OnSwiperAnimationEndCallback = (index: number, extraInfo: SwiperAnimationEvent) => void; export type OnSwiperGestureSwipeCallback = (index: number, extraInfo: SwiperAnimationEvent) => void; export interface SwiperAttribute extends CommonMethod { index(value: number): this - autoPlay(value: boolean): this + autoPlay(autoPlay: boolean, options?: AutoPlayOptions): this interval(value: number): this - indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController): this + indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController | DotIndicator | DigitIndicator | boolean): this loop(value: boolean): this duration(value: number): this vertical(value: boolean): this itemSpace(value: number | string): this displayMode(value: SwiperDisplayMode): this - cachedCount(value: number): this + cachedCount(count: number, isShown?: boolean): this effectMode(value: EdgeEffect): this disableSwipe(value: boolean): this curve(value: Curve | string | ICurve): this onChange(value: ((index: number) => void)): this + onSelected(value: ((index: number) => void)): this indicatorStyle(value: IndicatorStyle | undefined): this + onUnselected(value: ((index: number) => void)): this onAnimationStart(value: OnSwiperAnimationStartCallback): this onAnimationEnd(value: OnSwiperAnimationEndCallback): this onGestureSwipe(value: OnSwiperGestureSwipeCallback): this @@ -381,6 +454,8 @@ export interface SwiperAttribute extends CommonMethod { customContentTransition(value: SwiperContentAnimatedTransition): this onContentDidScroll(value: ContentDidScrollCallback): this indicatorInteractive(value: boolean): this + pageFlipMode(value: PageFlipMode | undefined): this + onContentWillScroll(value: ContentWillScrollCallback): this displayArrow(value: ArrowStyle | boolean, isHoverShow?: boolean): this displayCount(value: number | string | SwiperAutoFill, swipeByGroup?: boolean): this prevMargin(value: Length, ignoreBlank?: boolean): this @@ -392,11 +467,11 @@ export interface UISwiperAttribute extends UICommonMethod { /** @memo */ index(value: number): this /** @memo */ - autoPlay(value: boolean): this + autoPlay(autoPlay: boolean, options?: AutoPlayOptions): this /** @memo */ interval(value: number): this /** @memo */ - indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController): this + indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController | DotIndicator | DigitIndicator | boolean): this /** @memo */ loop(value: boolean): this /** @memo */ @@ -408,7 +483,7 @@ export interface UISwiperAttribute extends UICommonMethod { /** @memo */ displayMode(value: SwiperDisplayMode): this /** @memo */ - cachedCount(value: number): this + cachedCount(count: number, isShown?: boolean): this /** @memo */ effectMode(value: EdgeEffect): this /** @memo */ @@ -418,8 +493,12 @@ export interface UISwiperAttribute extends UICommonMethod { /** @memo */ onChange(value: ((index: number) => void)): this /** @memo */ + onSelected(value: ((index: number) => void)): this + /** @memo */ indicatorStyle(value: IndicatorStyle | undefined): this /** @memo */ + onUnselected(value: ((index: number) => void)): this + /** @memo */ onAnimationStart(value: OnSwiperAnimationStartCallback): this /** @memo */ onAnimationEnd(value: OnSwiperAnimationEndCallback): this @@ -434,6 +513,10 @@ export interface UISwiperAttribute extends UICommonMethod { /** @memo */ indicatorInteractive(value: boolean): this /** @memo */ + pageFlipMode(value: PageFlipMode | undefined): this + /** @memo */ + onContentWillScroll(value: ContentWillScrollCallback): this + /** @memo */ displayArrow(value: ArrowStyle | boolean, isHoverShow?: boolean): this /** @memo */ displayCount(value: number | string | SwiperAutoFill, swipeByGroup?: boolean): this @@ -461,7 +544,9 @@ export class ArkSwiperStyle extends ArkCommonMethodStyle implements SwiperAttrib disableSwipe_value?: boolean curve_value?: Curve | string | ICurve onChange_value?: ((index: number) => void) + onSelected_value?: ((index: number) => void) indicatorStyle_value?: IndicatorStyle + onUnselected_value?: ((index: number) => void) onAnimationStart_value?: OnSwiperAnimationStartCallback onAnimationEnd_value?: OnSwiperAnimationEndCallback onGestureSwipe_value?: OnSwiperGestureSwipeCallback @@ -469,16 +554,18 @@ export class ArkSwiperStyle extends ArkCommonMethodStyle implements SwiperAttrib customContentTransition_value?: SwiperContentAnimatedTransition onContentDidScroll_value?: ContentDidScrollCallback indicatorInteractive_value?: boolean + pageFlipMode_value?: PageFlipMode | undefined + onContentWillScroll_value?: ContentWillScrollCallback public index(value: number): this { return this } - public autoPlay(value: boolean): this { + public autoPlay(autoPlay: boolean, options?: AutoPlayOptions): this { return this } public interval(value: number): this { return this } - public indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController): this { + public indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController | DotIndicator | DigitIndicator | boolean): this { return this } public loop(value: boolean): this { @@ -496,7 +583,7 @@ export class ArkSwiperStyle extends ArkCommonMethodStyle implements SwiperAttrib public displayMode(value: SwiperDisplayMode): this { return this } - public cachedCount(value: number): this { + public cachedCount(count: number, isShown?: boolean): this { return this } public effectMode(value: EdgeEffect): this { @@ -511,9 +598,15 @@ export class ArkSwiperStyle extends ArkCommonMethodStyle implements SwiperAttrib public onChange(value: ((index: number) => void)): this { return this } + public onSelected(value: ((index: number) => void)): this { + return this + } public indicatorStyle(value: IndicatorStyle | undefined): this { return this } + public onUnselected(value: ((index: number) => void)): this { + return this + } public onAnimationStart(value: OnSwiperAnimationStartCallback): this { return this } @@ -535,6 +628,12 @@ export class ArkSwiperStyle extends ArkCommonMethodStyle implements SwiperAttrib public indicatorInteractive(value: boolean): this { return this } + public pageFlipMode(value: PageFlipMode | undefined): this { + return this + } + public onContentWillScroll(value: ContentWillScrollCallback): this { + return this + } public displayArrow(value: ArrowStyle | boolean, isHoverShow?: boolean): this { return this } @@ -559,7 +658,13 @@ export interface SwiperContentAnimatedTransition { timeout?: number; transition: ((parameter: SwiperContentTransitionProxy) => void); } +export interface SwiperContentWillScrollResult { + currentIndex: number; + comingIndex: number; + offset: number; +} export type ContentDidScrollCallback = (selectedIndex: number, index: number, position: number, mainAxisLength: number) => void; +export type ContentWillScrollCallback = (result: SwiperContentWillScrollResult) => boolean; /** @memo:stable */ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISwiperAttribute { protected getPeer(): ArkSwiperPeer { @@ -584,10 +689,12 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISw return this } /** @memo */ - public autoPlay(value: boolean): this { + public autoPlay(autoPlay: boolean, options?: AutoPlayOptions): this { if (this.checkPriority("autoPlay")) { - const value_casted = value as (boolean) - this.getPeer()?.autoPlayAttribute(value_casted) + const autoPlay_type = runtimeType(autoPlay) + const options_type = runtimeType(options) + const value_casted = autoPlay as (boolean) + this.getPeer()?.autoPlay0Attribute(value_casted) return this } return this @@ -602,19 +709,19 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISw return this } /** @memo */ - public indicator(value: IndicatorComponentController | DotIndicator | DigitIndicator | boolean): this { + public indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController | DotIndicator | DigitIndicator | boolean): this { if (this.checkPriority("indicator")) { const value_type = runtimeType(value) - if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof IndicatorComponentController)) { - const value_casted = value as (IndicatorComponentController) - this.getPeer()?.indicator1Attribute(value_casted) - return this - } if ((((RuntimeType.OBJECT) == (value_type)) && (value instanceof DotIndicator)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof DigitIndicator)) || (RuntimeType.BOOLEAN == value_type)) { const value_casted = value as (DotIndicator | DigitIndicator | boolean) this.getPeer()?.indicator0Attribute(value_casted) return this } + if ((((RuntimeType.OBJECT) == (value_type)) && (value instanceof IndicatorComponentController)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof DotIndicator)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof DigitIndicator)) || (RuntimeType.BOOLEAN == value_type)) { + const value_casted = value as (IndicatorComponentController | DotIndicator | DigitIndicator | boolean) + this.getPeer()?.indicator1Attribute(value_casted) + return this + } throw new Error("Can not select appropriate overload") } return this @@ -665,10 +772,12 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISw return this } /** @memo */ - public cachedCount(value: number): this { + public cachedCount(count: number, isShown?: boolean): this { if (this.checkPriority("cachedCount")) { - const value_casted = value as (number) - this.getPeer()?.cachedCountAttribute(value_casted) + const count_type = runtimeType(count) + const isShown_type = runtimeType(isShown) + const value_casted = count as (number) + this.getPeer()?.cachedCount0Attribute(value_casted) return this } return this @@ -710,6 +819,15 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISw return this } /** @memo */ + public onSelected(value: ((index: number) => void)): this { + if (this.checkPriority("onSelected")) { + const value_casted = value as (((index: number) => void)) + this.getPeer()?.onSelectedAttribute(value_casted) + return this + } + return this + } + /** @memo */ public indicatorStyle(value: IndicatorStyle | undefined): this { if (this.checkPriority("indicatorStyle")) { const value_casted = value as (IndicatorStyle | undefined) @@ -719,6 +837,15 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISw return this } /** @memo */ + public onUnselected(value: ((index: number) => void)): this { + if (this.checkPriority("onUnselected")) { + const value_casted = value as (((index: number) => void)) + this.getPeer()?.onUnselectedAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onAnimationStart(value: OnSwiperAnimationStartCallback): this { if (this.checkPriority("onAnimationStart")) { const value_casted = value as (OnSwiperAnimationStartCallback) @@ -782,6 +909,24 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent implements UISw return this } /** @memo */ + public pageFlipMode(value: PageFlipMode | undefined): this { + if (this.checkPriority("pageFlipMode")) { + const value_casted = value as (PageFlipMode | undefined) + this.getPeer()?.pageFlipModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onContentWillScroll(value: ContentWillScrollCallback): this { + if (this.checkPriority("onContentWillScroll")) { + const value_casted = value as (ContentWillScrollCallback) + this.getPeer()?.onContentWillScrollAttribute(value_casted) + return this + } + return this + } + /** @memo */ public displayArrow(value: ArrowStyle | boolean, isHoverShow?: boolean): this { if (this.checkPriority("displayArrow")) { const value_casted = value as (ArrowStyle | boolean) diff --git a/arkoala/arkui/src/generated/symbolglyph.ts b/arkoala/arkui/src/generated/symbolglyph.ts index f9d84eef3e..d1f2f76283 100644 --- a/arkoala/arkui/src/generated/symbolglyph.ts +++ b/arkoala/arkui/src/generated/symbolglyph.ts @@ -138,6 +138,52 @@ export class ArkSymbolGlyphPeer extends ArkCommonMethodPeer { renderingStrategyAttribute(value: SymbolRenderingStrategy): void { ArkUIGeneratedNativeModule._SymbolGlyphAttribute_renderingStrategy(this.peer.ptr, value.valueOf()) } + minFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._SymbolGlyphAttribute_minFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._SymbolGlyphAttribute_maxFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } symbolEffect0Attribute(symbolEffect: SymbolEffect, isActive?: boolean): void { const thisSerializer: Serializer = Serializer.hold() let isActive_type: int32 = RuntimeType.UNDEFINED @@ -184,6 +230,8 @@ export interface SymbolGlyphAttribute extends CommonMethod { fontWeight(value: number | FontWeight | string): this effectStrategy(value: SymbolEffectStrategy): this renderingStrategy(value: SymbolRenderingStrategy): this + minFontScale(value: number | Resource | undefined): this + maxFontScale(value: number | Resource | undefined): this symbolEffect(symbolEffect: SymbolEffect, isActive?: boolean | number): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } @@ -199,6 +247,10 @@ export interface UISymbolGlyphAttribute extends UICommonMethod { /** @memo */ renderingStrategy(value: SymbolRenderingStrategy): this /** @memo */ + minFontScale(value: number | Resource | undefined): this + /** @memo */ + maxFontScale(value: number | Resource | undefined): this + /** @memo */ symbolEffect(symbolEffect: SymbolEffect, isActive?: boolean | number): this /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this @@ -209,6 +261,8 @@ export class ArkSymbolGlyphStyle extends ArkCommonMethodStyle implements SymbolG fontWeight_value?: number | FontWeight | string effectStrategy_value?: SymbolEffectStrategy renderingStrategy_value?: SymbolRenderingStrategy + minFontScale_value?: number | Resource | undefined + maxFontScale_value?: number | Resource | undefined public fontSize(value: number | string | Resource): this { return this } @@ -224,6 +278,12 @@ export class ArkSymbolGlyphStyle extends ArkCommonMethodStyle implements SymbolG public renderingStrategy(value: SymbolRenderingStrategy): this { return this } + public minFontScale(value: number | Resource | undefined): this { + return this + } + public maxFontScale(value: number | Resource | undefined): this { + return this + } public symbolEffect(symbolEffect: SymbolEffect, isActive?: boolean | number): this { return this } @@ -291,6 +351,24 @@ export class ArkSymbolGlyphComponent extends ArkCommonMethodComponent implements return this } /** @memo */ + public minFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("minFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.minFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("maxFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.maxFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ public symbolEffect(symbolEffect: SymbolEffect, isActive?: boolean | number): this { if (this.checkPriority("symbolEffect")) { const symbolEffect_type = runtimeType(symbolEffect) diff --git a/arkoala/arkui/src/generated/tab_content.ts b/arkoala/arkui/src/generated/tab_content.ts index 631613dc7a..23495a1450 100644 --- a/arkoala/arkui/src/generated/tab_content.ts +++ b/arkoala/arkui/src/generated/tab_content.ts @@ -25,6 +25,7 @@ import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, ArkCommonMethodCompon import { Resource } from "./resource" import { SubTabBarStyle } from "./ArkSubTabBarStyleBuilder" import { BottomTabBarStyle } from "./ArkBottomTabBarStyleBuilder" +import { ComponentContent } from "./AllMaterialized" import { VoidCallback, Length, ResourceColor } from "./units" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" @@ -93,6 +94,48 @@ export class ArkTabContentPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TabContentAttribute_tabBar1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + tabBar2Attribute(value: ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof ComponentContent)) { + thisSerializer.writeInt8(0) + const value_0 = unsafeCast(value) + thisSerializer.writeComponentContent(value_0) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof SubTabBarStyle)) { + thisSerializer.writeInt8(1) + const value_1 = unsafeCast(value) + thisSerializer.writeSubTabBarStyle(value_1) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof BottomTabBarStyle)) { + thisSerializer.writeInt8(2) + const value_2 = unsafeCast(value) + thisSerializer.writeBottomTabBarStyle(value_2) + } + else if (RuntimeType.STRING == value_type) { + thisSerializer.writeInt8(3) + const value_3 = unsafeCast(value) + thisSerializer.writeString(value_3) + } + else if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("bundleName")))) { + thisSerializer.writeInt8(4) + const value_4 = unsafeCast(value) + thisSerializer.writeResource(value_4) + } + else if (RuntimeType.FUNCTION == value_type) { + thisSerializer.writeInt8(5) + const value_5 = unsafeCast(value) + thisSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value_5)) + } + else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("icon")) || (value!.hasOwnProperty("text"))))) { + thisSerializer.writeInt8(6) + const value_6 = unsafeCast(value) + thisSerializer.writeTabBarOptions(value_6) + } + ArkUIGeneratedNativeModule._TabContentAttribute_tabBar2(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onWillShowAttribute(value: VoidCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -132,14 +175,14 @@ export interface TabBarOptions { } export interface TabContentAttribute extends CommonMethod { - tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle): this + tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle | ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this onWillShow(value: VoidCallback): this onWillHide(value: VoidCallback): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UITabContentAttribute extends UICommonMethod { /** @memo */ - tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle): this + tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle | ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this /** @memo */ onWillShow(value: VoidCallback): this /** @memo */ @@ -151,7 +194,7 @@ export class ArkTabContentStyle extends ArkCommonMethodStyle implements TabConte tabBar_value?: string | Resource | CustomBuilder | TabBarOptions onWillShow_value?: VoidCallback onWillHide_value?: VoidCallback - public tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle): this { + public tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle | ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this { return this } public onWillShow(value: VoidCallback): this { @@ -178,7 +221,7 @@ export class ArkTabContentComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public tabBar(value: SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this { + public tabBar(value: SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions | ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this { if (this.checkPriority("tabBar")) { const value_type = runtimeType(value) if ((((RuntimeType.OBJECT) == (value_type)) && (value instanceof SubTabBarStyle)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof BottomTabBarStyle))) { @@ -191,6 +234,11 @@ export class ArkTabContentComponent extends ArkCommonMethodComponent implements this.getPeer()?.tabBar0Attribute(value_casted) return this } + if ((((RuntimeType.OBJECT) == (value_type)) && (value instanceof ComponentContent)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof SubTabBarStyle)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof BottomTabBarStyle)) || (RuntimeType.STRING == value_type) || (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("bundleName")))) || (RuntimeType.FUNCTION == value_type) || (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("icon")) || (value!.hasOwnProperty("text")))))) { + const value_casted = value as (ComponentContent | SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions) + this.getPeer()?.tabBar2Attribute(value_casted) + return this + } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala/arkui/src/generated/tabs.ts b/arkoala/arkui/src/generated/tabs.ts index 423dccadea..ab8f29c31e 100644 --- a/arkoala/arkui/src/generated/tabs.ts +++ b/arkoala/arkui/src/generated/tabs.ts @@ -23,7 +23,7 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, BlurStyle, BackgroundEffectOptions, BackgroundBlurStyleOptions, BlurStyleOptions, BlurStyleActivePolicy, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { Length, ResourceColor, Dimension } from "./units" -import { EdgeEffect, Color } from "./enums" +import { EdgeEffect, PageFlipMode, Color } from "./enums" import { Resource } from "./resource" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" @@ -158,12 +158,24 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TabsAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onSelectedAttribute(value: ((index: number) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TabsAttribute_onSelected(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onTabBarClickAttribute(value: ((index: number) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._TabsAttribute_onTabBarClick(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onUnselectedAttribute(value: ((index: number) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TabsAttribute_onUnselected(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onAnimationStartAttribute(value: OnTabsAnimationStartCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -254,6 +266,18 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TabsAttribute_barBackgroundEffect(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + pageFlipModeAttribute(value: PageFlipMode | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._TabsAttribute_pageFlipMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onContentWillChangeAttribute(value: OnTabsContentWillChangeCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -266,6 +290,9 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TabsAttribute_barModeScrollable(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + cachedMaxCountAttribute(count: number, mode: TabsCacheMode): void { + ArkUIGeneratedNativeModule._TabsAttribute_cachedMaxCount(this.peer.ptr, count, mode.valueOf()) + } _onChangeEvent_indexAttribute(callback: ((index: number) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(callback) @@ -273,6 +300,9 @@ export class ArkTabsPeer extends ArkCommonMethodPeer { thisSerializer.release() } } +export interface CommonModifier { + _CommonModifierStub: string; +} export enum BarMode { SCROLLABLE, Scrollable = SCROLLABLE, @@ -283,6 +313,8 @@ export enum AnimationMode { CONTENT_FIRST, ACTION_FIRST = 1, NO_ANIMATION = 2, + CONTENT_FIRST_WITH_JUMP = 3, + ACTION_FIRST_WITH_JUMP = 4, } export enum BarPosition { START, @@ -295,10 +327,15 @@ export enum LayoutStyle { ALWAYS_AVERAGE_SPLIT = 1, SPACE_BETWEEN_OR_CENTER = 2, } +export enum TabsCacheMode { + CACHE_BOTH_SIDE, + CACHE_LATEST_SWITCHED = 1, +} export interface TabsOptions { barPosition?: BarPosition; index?: number; controller?: TabsController; + barModifier?: CommonModifier; } export interface DividerStyle { @@ -339,7 +376,9 @@ export interface TabsAttribute extends CommonMethod { animationMode(value: AnimationMode | undefined): this edgeEffect(value: EdgeEffect | undefined): this onChange(value: ((index: number) => void)): this + onSelected(value: ((index: number) => void)): this onTabBarClick(value: ((index: number) => void)): this + onUnselected(value: ((index: number) => void)): this onAnimationStart(value: OnTabsAnimationStartCallback): this onAnimationEnd(value: OnTabsAnimationEndCallback): this onGestureSwipe(value: OnTabsGestureSwipeCallback): this @@ -351,8 +390,10 @@ export interface TabsAttribute extends CommonMethod { customContentTransition(value: TabsCustomContentTransitionCallback): this barBackgroundBlurStyle(style: BlurStyle, options?: BackgroundBlurStyleOptions): this barBackgroundEffect(value: BackgroundEffectOptions): this + pageFlipMode(value: PageFlipMode | undefined): this onContentWillChange(value: OnTabsContentWillChangeCallback): this barModeScrollable(options: ScrollableBarModeOptions): this + cachedMaxCount(count: number, mode: TabsCacheMode): this _onChangeEvent_index(callback: ((index: number) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } @@ -378,8 +419,12 @@ export interface UITabsAttribute extends UICommonMethod { /** @memo */ onChange(value: ((index: number) => void)): this /** @memo */ + onSelected(value: ((index: number) => void)): this + /** @memo */ onTabBarClick(value: ((index: number) => void)): this /** @memo */ + onUnselected(value: ((index: number) => void)): this + /** @memo */ onAnimationStart(value: OnTabsAnimationStartCallback): this /** @memo */ onAnimationEnd(value: OnTabsAnimationEndCallback): this @@ -402,10 +447,14 @@ export interface UITabsAttribute extends UICommonMethod { /** @memo */ barBackgroundEffect(value: BackgroundEffectOptions): this /** @memo */ + pageFlipMode(value: PageFlipMode | undefined): this + /** @memo */ onContentWillChange(value: OnTabsContentWillChangeCallback): this /** @memo */ barModeScrollable(options: ScrollableBarModeOptions): this /** @memo */ + cachedMaxCount(count: number, mode: TabsCacheMode): this + /** @memo */ _onChangeEvent_index(callback: ((index: number) => void)): void /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this @@ -421,7 +470,9 @@ export class ArkTabsStyle extends ArkCommonMethodStyle implements TabsAttribute animationMode_value?: AnimationMode | undefined edgeEffect_value?: EdgeEffect | undefined onChange_value?: ((index: number) => void) + onSelected_value?: ((index: number) => void) onTabBarClick_value?: ((index: number) => void) + onUnselected_value?: ((index: number) => void) onAnimationStart_value?: OnTabsAnimationStartCallback onAnimationEnd_value?: OnTabsAnimationEndCallback onGestureSwipe_value?: OnTabsGestureSwipeCallback @@ -433,6 +484,7 @@ export class ArkTabsStyle extends ArkCommonMethodStyle implements TabsAttribute customContentTransition_value?: TabsCustomContentTransitionCallback barBackgroundBlurStyle_value?: BlurStyle barBackgroundEffect_value?: BackgroundEffectOptions + pageFlipMode_value?: PageFlipMode | undefined onContentWillChange_value?: OnTabsContentWillChangeCallback public vertical(value: boolean): this { return this @@ -464,9 +516,15 @@ export class ArkTabsStyle extends ArkCommonMethodStyle implements TabsAttribute public onChange(value: ((index: number) => void)): this { return this } + public onSelected(value: ((index: number) => void)): this { + return this + } public onTabBarClick(value: ((index: number) => void)): this { return this } + public onUnselected(value: ((index: number) => void)): this { + return this + } public onAnimationStart(value: OnTabsAnimationStartCallback): this { return this } @@ -500,12 +558,18 @@ export class ArkTabsStyle extends ArkCommonMethodStyle implements TabsAttribute public barBackgroundEffect(value: BackgroundEffectOptions): this { return this } + public pageFlipMode(value: PageFlipMode | undefined): this { + return this + } public onContentWillChange(value: OnTabsContentWillChangeCallback): this { return this } public barModeScrollable(options: ScrollableBarModeOptions): this { return this } + public cachedMaxCount(count: number, mode: TabsCacheMode): this { + return this + } public _onChangeEvent_index(callback: ((index: number) => void)): void { throw new Error("Unimplmented") } @@ -634,6 +698,15 @@ export class ArkTabsComponent extends ArkCommonMethodComponent implements UITabs return this } /** @memo */ + public onSelected(value: ((index: number) => void)): this { + if (this.checkPriority("onSelected")) { + const value_casted = value as (((index: number) => void)) + this.getPeer()?.onSelectedAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onTabBarClick(value: ((index: number) => void)): this { if (this.checkPriority("onTabBarClick")) { const value_casted = value as (((index: number) => void)) @@ -643,6 +716,15 @@ export class ArkTabsComponent extends ArkCommonMethodComponent implements UITabs return this } /** @memo */ + public onUnselected(value: ((index: number) => void)): this { + if (this.checkPriority("onUnselected")) { + const value_casted = value as (((index: number) => void)) + this.getPeer()?.onUnselectedAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onAnimationStart(value: OnTabsAnimationStartCallback): this { if (this.checkPriority("onAnimationStart")) { const value_casted = value as (OnTabsAnimationStartCallback) @@ -753,6 +835,15 @@ export class ArkTabsComponent extends ArkCommonMethodComponent implements UITabs return this } /** @memo */ + public pageFlipMode(value: PageFlipMode | undefined): this { + if (this.checkPriority("pageFlipMode")) { + const value_casted = value as (PageFlipMode | undefined) + this.getPeer()?.pageFlipModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ public onContentWillChange(value: OnTabsContentWillChangeCallback): this { if (this.checkPriority("onContentWillChange")) { const value_casted = value as (OnTabsContentWillChangeCallback) @@ -771,6 +862,16 @@ export class ArkTabsComponent extends ArkCommonMethodComponent implements UITabs return this } /** @memo */ + public cachedMaxCount(count: number, mode: TabsCacheMode): this { + if (this.checkPriority("cachedMaxCount")) { + const count_casted = count as (number) + const mode_casted = mode as (TabsCacheMode) + this.getPeer()?.cachedMaxCountAttribute(count_casted, mode_casted) + return this + } + return this + } + /** @memo */ public _onChangeEvent_index(callback: ((index: number) => void)): void { if (this.checkPriority("_onChangeEvent_index")) { const callback_casted = callback as (((index: number) => void)) diff --git a/arkoala/arkui/src/generated/text.ts b/arkoala/arkui/src/generated/text.ts index c6494d3868..f26a5b9c97 100644 --- a/arkoala/arkui/src/generated/text.ts +++ b/arkoala/arkui/src/generated/text.ts @@ -29,7 +29,8 @@ import { FontWeight, TextAlign, TextCase, CopyOptions, TextHeightAdaptivePolicy, import { LengthMetrics, TextController } from "./AllMaterialized" import { DecorationStyleInterface } from "./styled_string" import { TextDataDetectorConfig, EditMenuOptions, FontSettingOptions, MenuType } from "./text_common" -import { SelectionMenuOptions, MenuOnAppearCallback } from "./rich_editor" +import { SelectionMenuOptions, MenuOnAppearCallback, PreviewMenuOptions } from "./rich_editor" +import { MenuCallback } from "./sdk-stubs" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" import { CallbackKind } from "./peers/CallbackKind" @@ -515,6 +516,24 @@ export class ArkTextPeer extends ArkCommonMethodPeer { fontFeatureAttribute(value: string): void { ArkUIGeneratedNativeModule._TextAttribute_fontFeature(this.peer.ptr, value) } + marqueeOptionsAttribute(value: TextMarqueeOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeTextMarqueeOptions(value_value) + } + ArkUIGeneratedNativeModule._TextAttribute_marqueeOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onMarqueeStateChangeAttribute(value: ((parameter: MarqueeState) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TextAttribute_onMarqueeStateChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } privacySensitiveAttribute(value: boolean): void { ArkUIGeneratedNativeModule._TextAttribute_privacySensitive(this.peer.ptr, +value) } @@ -554,6 +573,7 @@ export interface TextOverflowOptions { overflow: TextOverflow; } +export type Callback_MarqueeState_Void = (parameter: MarqueeState) => void; export interface TextAttribute extends CommonMethod { font(fontValue: Font, options?: FontSettingOptions): this fontColor(value: ResourceColor): this @@ -589,6 +609,8 @@ export interface TextAttribute extends CommonMethod { dataDetectorConfig(value: TextDataDetectorConfig): this onTextSelectionChange(value: ((first: number, last: number) => void)): this fontFeature(value: string): this + marqueeOptions(value: TextMarqueeOptions | undefined): this + onMarqueeStateChange(value: ((parameter: MarqueeState) => void)): this privacySensitive(value: boolean): this textSelectable(value: TextSelectableMode): this editMenuOptions(value: EditMenuOptions): this @@ -668,6 +690,10 @@ export interface UITextAttribute extends UICommonMethod { /** @memo */ fontFeature(value: string): this /** @memo */ + marqueeOptions(value: TextMarqueeOptions | undefined): this + /** @memo */ + onMarqueeStateChange(value: ((parameter: MarqueeState) => void)): this + /** @memo */ privacySensitive(value: boolean): this /** @memo */ textSelectable(value: TextSelectableMode): this @@ -719,6 +745,8 @@ export class ArkTextStyle extends ArkCommonMethodStyle implements TextAttribute dataDetectorConfig_value?: TextDataDetectorConfig onTextSelectionChange_value?: ((first: number, last: number) => void) fontFeature_value?: string + marqueeOptions_value?: TextMarqueeOptions | undefined + onMarqueeStateChange_value?: ((parameter: MarqueeState) => void) privacySensitive_value?: boolean textSelectable_value?: TextSelectableMode editMenuOptions_value?: EditMenuOptions @@ -826,6 +854,12 @@ export class ArkTextStyle extends ArkCommonMethodStyle implements TextAttribute public fontFeature(value: string): this { return this } + public marqueeOptions(value: TextMarqueeOptions | undefined): this { + return this + } + public onMarqueeStateChange(value: ((parameter: MarqueeState) => void)): this { + return this + } public privacySensitive(value: boolean): this { return this } @@ -855,15 +889,35 @@ export enum TextSpanType { TEXT, IMAGE = 1, MIXED = 2, + DEFAULT = 3, } export enum TextResponseType { RIGHT_CLICK, LONG_PRESS = 1, SELECT = 2, + DEFAULT = 3, +} +export enum MarqueeState { + START, + BOUNCE = 1, + FINISH = 2, +} +export enum MarqueeStartPolicy { + DEFAULT, + ON_FOCUS = 1, } export interface TextOptions { controller: TextController; } +export interface TextMarqueeOptions { + start: boolean; + step?: number; + loop?: number; + fromStart?: boolean; + delay?: number; + fadeout?: boolean; + marqueeStartPolicy?: MarqueeStartPolicy; +} /** @memo:stable */ export class ArkTextComponent extends ArkCommonMethodComponent implements UITextAttribute { protected getPeer(): ArkTextPeer { @@ -1199,6 +1253,24 @@ export class ArkTextComponent extends ArkCommonMethodComponent implements UIText return this } /** @memo */ + public marqueeOptions(value: TextMarqueeOptions | undefined): this { + if (this.checkPriority("marqueeOptions")) { + const value_casted = value as (TextMarqueeOptions | undefined) + this.getPeer()?.marqueeOptionsAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onMarqueeStateChange(value: ((parameter: MarqueeState) => void)): this { + if (this.checkPriority("onMarqueeStateChange")) { + const value_casted = value as (((parameter: MarqueeState) => void)) + this.getPeer()?.onMarqueeStateChangeAttribute(value_casted) + return this + } + return this + } + /** @memo */ public privacySensitive(value: boolean): this { if (this.checkPriority("privacySensitive")) { const value_casted = value as (boolean) diff --git a/arkoala/arkui/src/generated/text_area.ts b/arkoala/arkui/src/generated/text_area.ts index 037729c420..5435098eb5 100644 --- a/arkoala/arkui/src/generated/text_area.ts +++ b/arkoala/arkui/src/generated/text_area.ts @@ -23,10 +23,10 @@ import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, TextDecorationOptions, InputCounterOptions, CustomBuilder, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { ResourceColor, Font, Length, ResourceStr, Dimension } from "./units" -import { EnterKeyType } from "./text_input" +import { EnterKeyType, ContentType } from "./text_input" import { TextAlign, FontWeight, TextOverflow, CopyOptions, TextContentStyle, BarState, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, Color } from "./enums" -import { FontStyle } from "./arkui-graphics-text" -import { CaretStyle, EditableTextOnChangeCallback, PreviewText, InsertValue, DeleteValue, EditMenuOptions } from "./text_common" +import { FontStyle, EllipsisMode } from "./arkui-graphics-text" +import { CaretStyle, EditableTextOnChangeCallback, PreviewText, TextChangeOptions, InsertValue, DeleteValue, EditMenuOptions, AutoCapitalizationMode, EditableTextChangeValue, KeyboardAppearance } from "./text_common" import { SubmitEvent, LengthMetrics, TextAreaController } from "./AllMaterialized" import { PasteEvent, KeyboardOptions } from "./rich_editor" import { Resource } from "./resource" @@ -392,6 +392,52 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TextAreaAttribute_maxFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + minFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._TextAreaAttribute_minFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._TextAreaAttribute_maxFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } heightAdaptivePolicyAttribute(value: TextHeightAdaptivePolicy): void { ArkUIGeneratedNativeModule._TextAreaAttribute_heightAdaptivePolicy(this.peer.ptr, value.valueOf()) } @@ -505,6 +551,63 @@ export class ArkTextAreaPeer extends ArkCommonMethodPeer { enableHapticFeedbackAttribute(value: boolean): void { ArkUIGeneratedNativeModule._TextAreaAttribute_enableHapticFeedback(this.peer.ptr, +value) } + autoCapitalizationModeAttribute(value: AutoCapitalizationMode): void { + ArkUIGeneratedNativeModule._TextAreaAttribute_autoCapitalizationMode(this.peer.ptr, value.valueOf()) + } + halfLeadingAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TextAreaAttribute_halfLeading(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + ellipsisModeAttribute(value: EllipsisMode | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._TextAreaAttribute_ellipsisMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + stopBackPressAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TextAreaAttribute_stopBackPress(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onWillChangeAttribute(value: ((parameter: EditableTextChangeValue) => boolean)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TextAreaAttribute_onWillChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + keyboardAppearanceAttribute(value: KeyboardAppearance | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._TextAreaAttribute_keyboardAppearance(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } inputFilterAttribute(value: ResourceStr, error?: ((breakpoints: string) => void)): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED @@ -575,29 +678,6 @@ export enum TextAreaType { NUMBER_DECIMAL = 12, URL = 13, } -export enum ContentType { - USER_NAME, - PASSWORD = 1, - NEW_PASSWORD = 2, - FULL_STREET_ADDRESS = 3, - HOUSE_NUMBER = 4, - DISTRICT_ADDRESS = 5, - CITY_ADDRESS = 6, - PROVINCE_ADDRESS = 7, - COUNTRY_ADDRESS = 8, - PERSON_FULL_NAME = 9, - PERSON_LAST_NAME = 10, - PERSON_FIRST_NAME = 11, - PHONE_NUMBER = 12, - PHONE_COUNTRY_CODE = 13, - FULL_PHONE_NUMBER = 14, - EMAIL_ADDRESS = 15, - BANK_CARD_NUMBER = 16, - ID_CARD_NUMBER = 17, - NICKNAME = 23, - DETAIL_INFO_WITHOUT_STREET = 24, - FORMAT_ADDRESS = 25, -} export type TextAreaSubmitCallback = (enterKeyType: EnterKeyType, event?: SubmitEvent) => void; export type Callback_EnterKeyType_Void = (enterKey: EnterKeyType) => void; export type Callback_String_PasteEvent_Void = (value: string, event: PasteEvent) => void; @@ -632,6 +712,8 @@ export interface TextAreaAttribute extends CommonMethod { selectionMenuHidden(value: boolean): this minFontSize(value: number | string | Resource): this maxFontSize(value: number | string | Resource): this + minFontScale(value: number | Resource | undefined): this + maxFontScale(value: number | Resource | undefined): this heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this maxLines(value: number): this wordBreak(value: WordBreak): this @@ -651,6 +733,12 @@ export interface TextAreaAttribute extends CommonMethod { editMenuOptions(value: EditMenuOptions): this enablePreviewText(value: boolean): this enableHapticFeedback(value: boolean): this + autoCapitalizationMode(value: AutoCapitalizationMode): this + halfLeading(value: boolean | undefined): this + ellipsisMode(value: EllipsisMode | undefined): this + stopBackPress(value: boolean | undefined): this + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this + keyboardAppearance(value: KeyboardAppearance | undefined): this inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this showCounter(value: boolean, options?: InputCounterOptions): this customKeyboard(value: CustomBuilder, options?: KeyboardOptions): this @@ -719,6 +807,10 @@ export interface UITextAreaAttribute extends UICommonMethod { /** @memo */ maxFontSize(value: number | string | Resource): this /** @memo */ + minFontScale(value: number | Resource | undefined): this + /** @memo */ + maxFontScale(value: number | Resource | undefined): this + /** @memo */ heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this /** @memo */ maxLines(value: number): this @@ -757,6 +849,18 @@ export interface UITextAreaAttribute extends UICommonMethod { /** @memo */ enableHapticFeedback(value: boolean): this /** @memo */ + autoCapitalizationMode(value: AutoCapitalizationMode): this + /** @memo */ + halfLeading(value: boolean | undefined): this + /** @memo */ + ellipsisMode(value: EllipsisMode | undefined): this + /** @memo */ + stopBackPress(value: boolean | undefined): this + /** @memo */ + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this + /** @memo */ + keyboardAppearance(value: KeyboardAppearance | undefined): this + /** @memo */ inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this /** @memo */ showCounter(value: boolean, options?: InputCounterOptions): this @@ -798,6 +902,8 @@ export class ArkTextAreaStyle extends ArkCommonMethodStyle implements TextAreaAt selectionMenuHidden_value?: boolean minFontSize_value?: number | string | Resource maxFontSize_value?: number | string | Resource + minFontScale_value?: number | Resource | undefined + maxFontScale_value?: number | Resource | undefined heightAdaptivePolicy_value?: TextHeightAdaptivePolicy maxLines_value?: number wordBreak_value?: WordBreak @@ -817,6 +923,12 @@ export class ArkTextAreaStyle extends ArkCommonMethodStyle implements TextAreaAt editMenuOptions_value?: EditMenuOptions enablePreviewText_value?: boolean enableHapticFeedback_value?: boolean + autoCapitalizationMode_value?: AutoCapitalizationMode + halfLeading_value?: boolean | undefined + ellipsisMode_value?: EllipsisMode | undefined + stopBackPress_value?: boolean | undefined + onWillChange_value?: ((parameter: EditableTextChangeValue) => boolean) + keyboardAppearance_value?: KeyboardAppearance | undefined public placeholderColor(value: ResourceColor): this { return this } @@ -907,6 +1019,12 @@ export class ArkTextAreaStyle extends ArkCommonMethodStyle implements TextAreaAt public maxFontSize(value: number | string | Resource): this { return this } + public minFontScale(value: number | Resource | undefined): this { + return this + } + public maxFontScale(value: number | Resource | undefined): this { + return this + } public heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this { return this } @@ -964,6 +1082,24 @@ export class ArkTextAreaStyle extends ArkCommonMethodStyle implements TextAreaAt public enableHapticFeedback(value: boolean): this { return this } + public autoCapitalizationMode(value: AutoCapitalizationMode): this { + return this + } + public halfLeading(value: boolean | undefined): this { + return this + } + public ellipsisMode(value: EllipsisMode | undefined): this { + return this + } + public stopBackPress(value: boolean | undefined): this { + return this + } + public onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this { + return this + } + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + return this + } public inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this { return this } @@ -1274,6 +1410,24 @@ export class ArkTextAreaComponent extends ArkCommonMethodComponent implements UI return this } /** @memo */ + public minFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("minFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.minFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("maxFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.maxFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ public heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this { if (this.checkPriority("heightAdaptivePolicy")) { const value_casted = value as (TextHeightAdaptivePolicy) @@ -1445,6 +1599,60 @@ export class ArkTextAreaComponent extends ArkCommonMethodComponent implements UI return this } /** @memo */ + public autoCapitalizationMode(value: AutoCapitalizationMode): this { + if (this.checkPriority("autoCapitalizationMode")) { + const value_casted = value as (AutoCapitalizationMode) + this.getPeer()?.autoCapitalizationModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public halfLeading(value: boolean | undefined): this { + if (this.checkPriority("halfLeading")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.halfLeadingAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public ellipsisMode(value: EllipsisMode | undefined): this { + if (this.checkPriority("ellipsisMode")) { + const value_casted = value as (EllipsisMode | undefined) + this.getPeer()?.ellipsisModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public stopBackPress(value: boolean | undefined): this { + if (this.checkPriority("stopBackPress")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.stopBackPressAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this { + if (this.checkPriority("onWillChange")) { + const value_casted = value as (((parameter: EditableTextChangeValue) => boolean)) + this.getPeer()?.onWillChangeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + if (this.checkPriority("keyboardAppearance")) { + const value_casted = value as (KeyboardAppearance | undefined) + this.getPeer()?.keyboardAppearanceAttribute(value_casted) + return this + } + return this + } + /** @memo */ public inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this { if (this.checkPriority("inputFilter")) { const value_casted = value as (ResourceStr) diff --git a/arkoala/arkui/src/generated/text_common.ts b/arkoala/arkui/src/generated/text_common.ts index f6886767f3..d8cf9ae1b7 100644 --- a/arkoala/arkui/src/generated/text_common.ts +++ b/arkoala/arkui/src/generated/text_common.ts @@ -52,13 +52,23 @@ export enum MenuType { SELECTION_MENU, PREVIEW_MENU = 1, } +export enum AutoCapitalizationMode { + NONE, + WORDS = 1, + SENTENCES = 2, + ALL_CHARACTERS = 3, +} export interface DeleteValue { deleteOffset: number; direction: TextDeleteDirection; deleteValue: string; } export type OnDidChangeCallback = (rangeBefore: TextRange, rangeAfter: TextRange) => void; -export type EditableTextOnChangeCallback = (value: string, previewText?: PreviewText) => void; +export type EditableTextOnChangeCallback = (value: string, previewText?: PreviewText, options?: TextChangeOptions) => void; +export interface PreviewText { + offset: number; + value: string; +} export type Callback_StyledStringChangeValue_Boolean = (parameter: StyledStringChangeValue) => boolean; export interface StyledStringChangedListener { onWillChange?: ((parameter: StyledStringChangeValue) => boolean); @@ -77,14 +87,11 @@ export interface CaretStyle { width?: Length; color?: ResourceColor; } -export interface PreviewText { - offset: number; - value: string; -} export interface TextMenuItem { content: ResourceStr; icon?: ResourceStr; id: TextMenuItemId; + labelInfo?: ResourceStr; } export type AsyncCallback_Array_TextMenuItem_Array_TextMenuItem = (menuItems: Array) => Array; export type AsyncCallback_TextMenuItem_TextRange_Boolean = (menuItem: TextMenuItem, range: TextRange) => boolean; @@ -100,3 +107,27 @@ export interface DecorationStyleResult { export interface FontSettingOptions { enableVariableFontWeight?: boolean; } +export interface TextChangeOptions { + rangeBefore: TextRange; + rangeAfter: TextRange; + oldContent: string; + oldPreviewText: PreviewText; +} +export interface EditableTextChangeValue { + content: string; + previewText?: PreviewText; + options?: TextChangeOptions; +} +export enum TextMenuShowMode { + DEFAULT, + PREFER_WINDOW = 1, +} +export interface TextMenuOptions { + showMode?: TextMenuShowMode; +} +export enum KeyboardAppearance { + NONE_IMMERSIVE, + IMMERSIVE = 1, + LIGHT_IMMERSIVE = 2, + DARK_IMMERSIVE = 3, +} diff --git a/arkoala/arkui/src/generated/text_input.ts b/arkoala/arkui/src/generated/text_input.ts index 284c05597f..43eb0c9daf 100644 --- a/arkoala/arkui/src/generated/text_input.ts +++ b/arkoala/arkui/src/generated/text_input.ts @@ -22,12 +22,11 @@ import { Serializer } from "./peers/Serializer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" import { ArkCommonMethodPeer, CommonMethod, CustomBuilder, TextDecorationOptions, InputCounterOptions, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" -import { ContentType } from "./text_area" import { ResourceColor, Dimension, Font, Length, ResourceStr } from "./units" import { TextOverflow, FontWeight, CopyOptions, TextAlign, TextContentStyle, BarState, WordBreak, LineBreakStrategy, TextHeightAdaptivePolicy, Color } from "./enums" import { SubmitEvent, TextInputController } from "./AllMaterialized" -import { EditableTextOnChangeCallback, PreviewText, CaretStyle, InsertValue, DeleteValue, EditMenuOptions } from "./text_common" -import { FontStyle } from "./arkui-graphics-text" +import { EditableTextOnChangeCallback, PreviewText, TextChangeOptions, CaretStyle, InsertValue, DeleteValue, EditMenuOptions, AutoCapitalizationMode, EditableTextChangeValue, KeyboardAppearance } from "./text_common" +import { FontStyle, EllipsisMode } from "./arkui-graphics-text" import { PasteEvent, KeyboardOptions } from "./rich_editor" import { CancelButtonOptions, CancelButtonSymbolOptions } from "./search" import { Resource } from "./resource" @@ -531,6 +530,52 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TextInputAttribute_maxFontSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + minFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._TextInputAttribute_minFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + maxFontScaleAttribute(value: number | Resource | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_1) + } + } + ArkUIGeneratedNativeModule._TextInputAttribute_maxFontScale(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } heightAdaptivePolicyAttribute(value: TextHeightAdaptivePolicy): void { ArkUIGeneratedNativeModule._TextInputAttribute_heightAdaptivePolicy(this.peer.ptr, value.valueOf()) } @@ -638,6 +683,63 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { enableHapticFeedbackAttribute(value: boolean): void { ArkUIGeneratedNativeModule._TextInputAttribute_enableHapticFeedback(this.peer.ptr, +value) } + autoCapitalizationModeAttribute(value: AutoCapitalizationMode): void { + ArkUIGeneratedNativeModule._TextInputAttribute_autoCapitalizationMode(this.peer.ptr, value.valueOf()) + } + halfLeadingAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TextInputAttribute_halfLeading(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + ellipsisModeAttribute(value: EllipsisMode | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._TextInputAttribute_ellipsisMode(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + stopBackPressAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TextInputAttribute_stopBackPress(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onWillChangeAttribute(value: ((parameter: EditableTextChangeValue) => boolean)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TextInputAttribute_onWillChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + keyboardAppearanceAttribute(value: KeyboardAppearance | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._TextInputAttribute_keyboardAppearance(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } inputFilterAttribute(value: ResourceStr, error?: ((breakpoints: string) => void)): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED @@ -712,6 +814,41 @@ export enum InputType { NUMBER_DECIMAL = 12, URL = 13, } +export enum ContentType { + USER_NAME, + PASSWORD = 1, + NEW_PASSWORD = 2, + FULL_STREET_ADDRESS = 3, + HOUSE_NUMBER = 4, + DISTRICT_ADDRESS = 5, + CITY_ADDRESS = 6, + PROVINCE_ADDRESS = 7, + COUNTRY_ADDRESS = 8, + PERSON_FULL_NAME = 9, + PERSON_LAST_NAME = 10, + PERSON_FIRST_NAME = 11, + PHONE_NUMBER = 12, + PHONE_COUNTRY_CODE = 13, + FULL_PHONE_NUMBER = 14, + EMAIL_ADDRESS = 15, + BANK_CARD_NUMBER = 16, + ID_CARD_NUMBER = 17, + NICKNAME = 23, + DETAIL_INFO_WITHOUT_STREET = 24, + FORMAT_ADDRESS = 25, + PASSPORT_NUMBER = 26, + VALIDITY = 27, + ISSUE_AT = 28, + ORGANIZATION = 29, + TAX_ID = 30, + ADDRESS_CITY_AND_STATE = 31, + FLIGHT_NUMBER = 32, + LICENSE_NUMBER = 33, + LICENSE_FILE_NUMBER = 34, + LICENSE_PLATE = 35, + ENGINE_NUMBER = 36, + LICENSE_CHASSIS_NUMBER = 37, +} export enum EnterKeyType { GO = 2, Go = GO, @@ -798,6 +935,8 @@ export interface TextInputAttribute extends CommonMethod { selectAll(value: boolean): this minFontSize(value: number | string | Resource): this maxFontSize(value: number | string | Resource): this + minFontScale(value: number | Resource | undefined): this + maxFontScale(value: number | Resource | undefined): this heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this enableAutoFill(value: boolean): this decoration(value: TextDecorationOptions): this @@ -814,6 +953,12 @@ export interface TextInputAttribute extends CommonMethod { editMenuOptions(value: EditMenuOptions): this enablePreviewText(value: boolean): this enableHapticFeedback(value: boolean): this + autoCapitalizationMode(value: AutoCapitalizationMode): this + halfLeading(value: boolean | undefined): this + ellipsisMode(value: EllipsisMode | undefined): this + stopBackPress(value: boolean | undefined): this + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this + keyboardAppearance(value: KeyboardAppearance | undefined): this inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this customKeyboard(value: CustomBuilder, options?: KeyboardOptions): this showCounter(value: boolean, options?: InputCounterOptions): this @@ -912,6 +1057,10 @@ export interface UITextInputAttribute extends UICommonMethod { /** @memo */ maxFontSize(value: number | string | Resource): this /** @memo */ + minFontScale(value: number | Resource | undefined): this + /** @memo */ + maxFontScale(value: number | Resource | undefined): this + /** @memo */ heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this /** @memo */ enableAutoFill(value: boolean): this @@ -944,6 +1093,18 @@ export interface UITextInputAttribute extends UICommonMethod { /** @memo */ enableHapticFeedback(value: boolean): this /** @memo */ + autoCapitalizationMode(value: AutoCapitalizationMode): this + /** @memo */ + halfLeading(value: boolean | undefined): this + /** @memo */ + ellipsisMode(value: EllipsisMode | undefined): this + /** @memo */ + stopBackPress(value: boolean | undefined): this + /** @memo */ + onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this + /** @memo */ + keyboardAppearance(value: KeyboardAppearance | undefined): this + /** @memo */ inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this /** @memo */ customKeyboard(value: CustomBuilder, options?: KeyboardOptions): this @@ -1000,6 +1161,8 @@ export class ArkTextInputStyle extends ArkCommonMethodStyle implements TextInput selectAll_value?: boolean minFontSize_value?: number | string | Resource maxFontSize_value?: number | string | Resource + minFontScale_value?: number | Resource | undefined + maxFontScale_value?: number | Resource | undefined heightAdaptivePolicy_value?: TextHeightAdaptivePolicy enableAutoFill_value?: boolean decoration_value?: TextDecorationOptions @@ -1016,6 +1179,12 @@ export class ArkTextInputStyle extends ArkCommonMethodStyle implements TextInput editMenuOptions_value?: EditMenuOptions enablePreviewText_value?: boolean enableHapticFeedback_value?: boolean + autoCapitalizationMode_value?: AutoCapitalizationMode + halfLeading_value?: boolean | undefined + ellipsisMode_value?: EllipsisMode | undefined + stopBackPress_value?: boolean | undefined + onWillChange_value?: ((parameter: EditableTextChangeValue) => boolean) + keyboardAppearance_value?: KeyboardAppearance | undefined public type(value: InputType): this { return this } @@ -1151,6 +1320,12 @@ export class ArkTextInputStyle extends ArkCommonMethodStyle implements TextInput public maxFontSize(value: number | string | Resource): this { return this } + public minFontScale(value: number | Resource | undefined): this { + return this + } + public maxFontScale(value: number | Resource | undefined): this { + return this + } public heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this { return this } @@ -1199,6 +1374,24 @@ export class ArkTextInputStyle extends ArkCommonMethodStyle implements TextInput public enableHapticFeedback(value: boolean): this { return this } + public autoCapitalizationMode(value: AutoCapitalizationMode): this { + return this + } + public halfLeading(value: boolean | undefined): this { + return this + } + public ellipsisMode(value: EllipsisMode | undefined): this { + return this + } + public stopBackPress(value: boolean | undefined): this { + return this + } + public onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this { + return this + } + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + return this + } public inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this { return this } @@ -1644,6 +1837,24 @@ export class ArkTextInputComponent extends ArkCommonMethodComponent implements U return this } /** @memo */ + public minFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("minFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.minFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public maxFontScale(value: number | Resource | undefined): this { + if (this.checkPriority("maxFontScale")) { + const value_casted = value as (number | Resource | undefined) + this.getPeer()?.maxFontScaleAttribute(value_casted) + return this + } + return this + } + /** @memo */ public heightAdaptivePolicy(value: TextHeightAdaptivePolicy): this { if (this.checkPriority("heightAdaptivePolicy")) { const value_casted = value as (TextHeightAdaptivePolicy) @@ -1788,6 +1999,60 @@ export class ArkTextInputComponent extends ArkCommonMethodComponent implements U return this } /** @memo */ + public autoCapitalizationMode(value: AutoCapitalizationMode): this { + if (this.checkPriority("autoCapitalizationMode")) { + const value_casted = value as (AutoCapitalizationMode) + this.getPeer()?.autoCapitalizationModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public halfLeading(value: boolean | undefined): this { + if (this.checkPriority("halfLeading")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.halfLeadingAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public ellipsisMode(value: EllipsisMode | undefined): this { + if (this.checkPriority("ellipsisMode")) { + const value_casted = value as (EllipsisMode | undefined) + this.getPeer()?.ellipsisModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public stopBackPress(value: boolean | undefined): this { + if (this.checkPriority("stopBackPress")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.stopBackPressAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public onWillChange(value: ((parameter: EditableTextChangeValue) => boolean)): this { + if (this.checkPriority("onWillChange")) { + const value_casted = value as (((parameter: EditableTextChangeValue) => boolean)) + this.getPeer()?.onWillChangeAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public keyboardAppearance(value: KeyboardAppearance | undefined): this { + if (this.checkPriority("keyboardAppearance")) { + const value_casted = value as (KeyboardAppearance | undefined) + this.getPeer()?.keyboardAppearanceAttribute(value_casted) + return this + } + return this + } + /** @memo */ public inputFilter(value: ResourceStr, error?: ((breakpoints: string) => void)): this { if (this.checkPriority("inputFilter")) { const value_casted = value as (ResourceStr) diff --git a/arkoala/arkui/src/generated/text_picker.ts b/arkoala/arkui/src/generated/text_picker.ts index 2ea02f17d7..5747e37dd0 100644 --- a/arkoala/arkui/src/generated/text_picker.ts +++ b/arkoala/arkui/src/generated/text_picker.ts @@ -21,8 +21,9 @@ import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType import { Serializer } from "./peers/Serializer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { Dimension, ResourceColor, Offset } from "./units" +import { CrownSensitivity, TextOverflow } from "./enums" import { Resource } from "./resource" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" @@ -30,6 +31,7 @@ import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { Deserializer } from "./peers/Deserializer" +import { LengthMetrics } from "./AllMaterialized" import { DialogAlignment } from "./alert_dialog" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" @@ -56,7 +58,7 @@ export class ArkTextPickerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TextPickerInterface_setTextPickerOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - defaultPickerItemHeightAttribute(value: number | string): void { + defaultPickerItemHeight0Attribute(value: number | string): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -70,28 +72,108 @@ export class ArkTextPickerPeer extends ArkCommonMethodPeer { const value_1 = unsafeCast(value) thisSerializer.writeString(value_1) } - ArkUIGeneratedNativeModule._TextPickerAttribute_defaultPickerItemHeight(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_defaultPickerItemHeight0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - canLoopAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._TextPickerAttribute_canLoop(this.peer.ptr, +value) + defaultPickerItemHeight1Attribute(value: number | string | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeString(value_value_1) + } + } + ArkUIGeneratedNativeModule._TextPickerAttribute_defaultPickerItemHeight1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + canLoop0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._TextPickerAttribute_canLoop0(this.peer.ptr, +value) + } + canLoop1Attribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_canLoop1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - disappearTextStyleAttribute(value: PickerTextStyle): void { + disappearTextStyle0Attribute(value: PickerTextStyle): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._TextPickerAttribute_disappearTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_disappearTextStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - textStyleAttribute(value: PickerTextStyle): void { + disappearTextStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_disappearTextStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + textStyle0Attribute(value: PickerTextStyle): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._TextPickerAttribute_textStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_textStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedTextStyleAttribute(value: PickerTextStyle): void { + textStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_textStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedTextStyle0Attribute(value: PickerTextStyle): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._TextPickerAttribute_selectedTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_selectedTextStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedTextStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_selectedTextStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + disableTextStyleAnimationAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._TextPickerAttribute_disableTextStyleAnimation(this.peer.ptr, +value) + } + defaultTextStyleAttribute(value: TextPickerTextStyle): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeTextPickerTextStyle(value) + ArkUIGeneratedNativeModule._TextPickerAttribute_defaultTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } onAcceptAttribute(value: ((value: string, index: number) => void)): void { @@ -106,13 +188,49 @@ export class ArkTextPickerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TextPickerAttribute_onCancel(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onChangeAttribute(value: ((value: string | Array, index: number | Array) => void)): void { + onChange0Attribute(value: ((value: string | Array, index: number | Array) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._TextPickerAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedIndexAttribute(value: number | Array): void { + onChange1Attribute(value: OnTextPickerChangeCallback | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onScrollStop0Attribute(value: TextPickerScrollStopCallback): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TextPickerAttribute_onScrollStop0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onScrollStop1Attribute(value: TextPickerScrollStopCallback | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_onScrollStop1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onEnterSelectedAreaAttribute(value: TextPickerEnterSelectedAreaCallback): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TextPickerAttribute_onEnterSelectedArea(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedIndex0Attribute(value: number | Array): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -130,10 +248,37 @@ export class ArkTextPickerPeer extends ArkCommonMethodPeer { thisSerializer.writeNumber(value_1_element) } } - ArkUIGeneratedNativeModule._TextPickerAttribute_selectedIndex(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_selectedIndex0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - dividerAttribute(value: DividerOptions | undefined): void { + selectedIndex1Attribute(value: number | Array | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_0) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast>(value_value) + thisSerializer.writeInt32(value_value_1.length) + for (let i = 0; i < value_value_1.length; i++) { + const value_value_1_element: number = value_value_1[i] + thisSerializer.writeNumber(value_value_1_element) + } + } + } + ArkUIGeneratedNativeModule._TextPickerAttribute_selectedIndex1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + divider0Attribute(value: DividerOptions | undefined): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -142,10 +287,22 @@ export class ArkTextPickerPeer extends ArkCommonMethodPeer { const value_value = value! thisSerializer.writeDividerOptions(value_value) } - ArkUIGeneratedNativeModule._TextPickerAttribute_divider(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_divider0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - gradientHeightAttribute(value: Dimension): void { + divider1Attribute(value: DividerOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeDividerOptions(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_divider1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + gradientHeight0Attribute(value: Dimension): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -164,7 +321,59 @@ export class ArkTextPickerPeer extends ArkCommonMethodPeer { const value_2 = unsafeCast(value) thisSerializer.writeResource(value_2) } - ArkUIGeneratedNativeModule._TextPickerAttribute_gradientHeight(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TextPickerAttribute_gradientHeight0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + gradientHeight1Attribute(value: Dimension | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + let value_value_type: int32 = RuntimeType.UNDEFINED + value_value_type = runtimeType(value_value) + if (RuntimeType.STRING == value_value_type) { + thisSerializer.writeInt8(0) + const value_value_0 = unsafeCast(value_value) + thisSerializer.writeString(value_value_0) + } + else if (RuntimeType.NUMBER == value_value_type) { + thisSerializer.writeInt8(1) + const value_value_1 = unsafeCast(value_value) + thisSerializer.writeNumber(value_value_1) + } + else if (RuntimeType.OBJECT == value_value_type) { + thisSerializer.writeInt8(2) + const value_value_2 = unsafeCast(value_value) + thisSerializer.writeResource(value_value_2) + } + } + ArkUIGeneratedNativeModule._TextPickerAttribute_gradientHeight1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + enableHapticFeedbackAttribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_enableHapticFeedback(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + digitalCrownSensitivityAttribute(value: CrownSensitivity | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._TextPickerAttribute_digitalCrownSensitivity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } _onChangeEvent_selectedAttribute(callback: ((selected: number | Array) => void)): void { @@ -192,6 +401,7 @@ export interface TextPickerOptions { range: Array | Array> | Resource | Array | Array; value?: string | Array; selected?: number | Array; + columnWidths?: Array; } export interface DividerOptions { @@ -200,49 +410,75 @@ export interface DividerOptions { startMargin?: Dimension; endMargin?: Dimension; } +export interface TextPickerTextStyle extends PickerTextStyle { + minFontSize?: number | string | Resource; + maxFontSize?: number | string | Resource; + overflow?: TextOverflow; +} +export type TextPickerScrollStopCallback = (value: string | Array, index: number | Array) => void; +export type OnTextPickerChangeCallback = (selectItem: string | Array, index: number | Array) => void; +export type TextPickerEnterSelectedAreaCallback = (value: string | Array, index: number | Array) => void; export type Callback_String_Number_Void = (value: string, index: number) => void; export type Type_TextPickerAttribute_onChange_callback = (value: string | Array, index: number | Array) => void; export type Callback_Union_Number_Array_Number_Void = (selected: number | Array) => void; export type Callback_Union_String_Array_String_Void = (value: string | Array) => void; export interface TextPickerAttribute extends CommonMethod { - defaultPickerItemHeight(value: number | string): this - canLoop(value: boolean): this - disappearTextStyle(value: PickerTextStyle): this - textStyle(value: PickerTextStyle): this - selectedTextStyle(value: PickerTextStyle): this + defaultPickerItemHeight(value: number | string | number | string | undefined): this + canLoop(value: boolean | boolean | undefined): this + disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + disableTextStyleAnimation(value: boolean): this + defaultTextStyle(value: TextPickerTextStyle): this onAccept(value: ((value: string, index: number) => void)): this onCancel(value: (() => void)): this - onChange(value: ((value: string | Array, index: number | Array) => void)): this - selectedIndex(value: number | Array): this + onChange(value: ((value: string | Array, index: number | Array) => void) | OnTextPickerChangeCallback | undefined): this + onScrollStop(value: TextPickerScrollStopCallback | TextPickerScrollStopCallback | undefined): this + onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback): this + selectedIndex(value: number | Array | number | Array | undefined): this divider(value: DividerOptions | undefined): this - gradientHeight(value: Dimension): this + gradientHeight(value: Dimension | Dimension | undefined): this + enableHapticFeedback(value: boolean | undefined): this + digitalCrownSensitivity(value: CrownSensitivity | undefined): this _onChangeEvent_selected(callback: ((selected: number | Array) => void)): void _onChangeEvent_value(callback: ((value: string | Array) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UITextPickerAttribute extends UICommonMethod { /** @memo */ - defaultPickerItemHeight(value: number | string): this + defaultPickerItemHeight(value: number | string | number | string | undefined): this + /** @memo */ + canLoop(value: boolean | boolean | undefined): this /** @memo */ - canLoop(value: boolean): this + disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - disappearTextStyle(value: PickerTextStyle): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - textStyle(value: PickerTextStyle): this + selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - selectedTextStyle(value: PickerTextStyle): this + disableTextStyleAnimation(value: boolean): this + /** @memo */ + defaultTextStyle(value: TextPickerTextStyle): this /** @memo */ onAccept(value: ((value: string, index: number) => void)): this /** @memo */ onCancel(value: (() => void)): this /** @memo */ - onChange(value: ((value: string | Array, index: number | Array) => void)): this + onChange(value: ((value: string | Array, index: number | Array) => void) | OnTextPickerChangeCallback | undefined): this + /** @memo */ + onScrollStop(value: TextPickerScrollStopCallback | TextPickerScrollStopCallback | undefined): this + /** @memo */ + onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback): this /** @memo */ - selectedIndex(value: number | Array): this + selectedIndex(value: number | Array | number | Array | undefined): this /** @memo */ divider(value: DividerOptions | undefined): this /** @memo */ - gradientHeight(value: Dimension): this + gradientHeight(value: Dimension | Dimension | undefined): this + /** @memo */ + enableHapticFeedback(value: boolean | undefined): this + /** @memo */ + digitalCrownSensitivity(value: CrownSensitivity | undefined): this /** @memo */ _onChangeEvent_selected(callback: ((selected: number | Array) => void)): void /** @memo */ @@ -256,25 +492,37 @@ export class ArkTextPickerStyle extends ArkCommonMethodStyle implements TextPick disappearTextStyle_value?: PickerTextStyle textStyle_value?: PickerTextStyle selectedTextStyle_value?: PickerTextStyle + disableTextStyleAnimation_value?: boolean + defaultTextStyle_value?: TextPickerTextStyle onAccept_value?: ((value: string, index: number) => void) onCancel_value?: (() => void) onChange_value?: ((value: string | Array, index: number | Array) => void) + onScrollStop_value?: TextPickerScrollStopCallback + onEnterSelectedArea_value?: TextPickerEnterSelectedAreaCallback selectedIndex_value?: number | Array divider_value?: DividerOptions | undefined gradientHeight_value?: Dimension - public defaultPickerItemHeight(value: number | string): this { + enableHapticFeedback_value?: boolean | undefined + digitalCrownSensitivity_value?: CrownSensitivity | undefined + public defaultPickerItemHeight(value: number | string | number | string | undefined): this { + return this + } + public canLoop(value: boolean | boolean | undefined): this { + return this + } + public disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public canLoop(value: boolean): this { + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public disappearTextStyle(value: PickerTextStyle): this { + public selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public textStyle(value: PickerTextStyle): this { + public disableTextStyleAnimation(value: boolean): this { return this } - public selectedTextStyle(value: PickerTextStyle): this { + public defaultTextStyle(value: TextPickerTextStyle): this { return this } public onAccept(value: ((value: string, index: number) => void)): this { @@ -283,16 +531,28 @@ export class ArkTextPickerStyle extends ArkCommonMethodStyle implements TextPick public onCancel(value: (() => void)): this { return this } - public onChange(value: ((value: string | Array, index: number | Array) => void)): this { + public onChange(value: ((value: string | Array, index: number | Array) => void) | OnTextPickerChangeCallback | undefined): this { return this } - public selectedIndex(value: number | Array): this { + public onScrollStop(value: TextPickerScrollStopCallback | TextPickerScrollStopCallback | undefined): this { + return this + } + public onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback): this { + return this + } + public selectedIndex(value: number | Array | number | Array | undefined): this { return this } public divider(value: DividerOptions | undefined): this { return this } - public gradientHeight(value: Dimension): this { + public gradientHeight(value: Dimension | Dimension | undefined): this { + return this + } + public enableHapticFeedback(value: boolean | undefined): this { + return this + } + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } public _onChangeEvent_selected(callback: ((selected: number | Array) => void)): void { @@ -318,14 +578,20 @@ export interface TextPickerDialogOptions extends TextPickerOptions { acceptButtonStyle?: PickerDialogButtonStyle; cancelButtonStyle?: PickerDialogButtonStyle; selectedTextStyle?: PickerTextStyle; + disableTextStyleAnimation?: boolean; + defaultTextStyle?: TextPickerTextStyle; onAccept?: ((value: TextPickerResult) => void); onCancel?: (() => void); onChange?: ((value: TextPickerResult) => void); + onScrollStop?: ((value: TextPickerResult) => void); + onEnterSelectedArea?: ((value: TextPickerResult) => void); maskRect?: Rectangle; alignment?: DialogAlignment; offset?: Offset; backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; onDidAppear?: (() => void); onDidDisappear?: (() => void); onWillAppear?: (() => void); @@ -333,6 +599,7 @@ export interface TextPickerDialogOptions extends TextPickerOptions { shadow?: ShadowOptions | ShadowStyle; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + enableHapticFeedback?: boolean; } /** @memo:stable */ export class ArkTextPickerComponent extends ArkCommonMethodComponent implements UITextPickerAttribute { @@ -349,46 +616,109 @@ export class ArkTextPickerComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public defaultPickerItemHeight(value: number | string): this { + public defaultPickerItemHeight(value: number | string | number | string | undefined): this { if (this.checkPriority("defaultPickerItemHeight")) { - const value_casted = value as (number | string) - this.getPeer()?.defaultPickerItemHeightAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type)) { + const value_casted = value as (number | string) + this.getPeer()?.defaultPickerItemHeight0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.STRING == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | string | undefined) + this.getPeer()?.defaultPickerItemHeight1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public canLoop(value: boolean): this { + public canLoop(value: boolean | boolean | undefined): this { if (this.checkPriority("canLoop")) { - const value_casted = value as (boolean) - this.getPeer()?.canLoopAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.canLoop0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.canLoop1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public disappearTextStyle(value: PickerTextStyle): this { + public disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("disappearTextStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.disappearTextStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("color")) || (value!.hasOwnProperty("font"))))) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.disappearTextStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.disappearTextStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public textStyle(value: PickerTextStyle): this { + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("textStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.textStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("color")) || (value!.hasOwnProperty("font"))))) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.textStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.textStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedTextStyle(value: PickerTextStyle): this { + public selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("selectedTextStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.selectedTextStyleAttribute(value_casted) + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("color")) || (value!.hasOwnProperty("font"))))) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.selectedTextStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.selectedTextStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public disableTextStyleAnimation(value: boolean): this { + if (this.checkPriority("disableTextStyleAnimation")) { + const value_casted = value as (boolean) + this.getPeer()?.disableTextStyleAnimationAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public defaultTextStyle(value: TextPickerTextStyle): this { + if (this.checkPriority("defaultTextStyle")) { + const value_casted = value as (TextPickerTextStyle) + this.getPeer()?.defaultTextStyleAttribute(value_casted) return this } return this @@ -412,37 +742,118 @@ export class ArkTextPickerComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public onChange(value: ((value: string | Array, index: number | Array) => void)): this { + public onChange(value: ((value: string | Array, index: number | Array) => void) | OnTextPickerChangeCallback | undefined): this { if (this.checkPriority("onChange")) { - const value_casted = value as (((value: string | Array, index: number | Array) => void)) - this.getPeer()?.onChangeAttribute(value_casted) + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((value: string | Array, index: number | Array) => void)) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnTextPickerChangeCallback | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public onScrollStop(value: TextPickerScrollStopCallback | TextPickerScrollStopCallback | undefined): this { + if (this.checkPriority("onScrollStop")) { + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (TextPickerScrollStopCallback) + this.getPeer()?.onScrollStop0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (TextPickerScrollStopCallback | undefined) + this.getPeer()?.onScrollStop1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public onEnterSelectedArea(value: TextPickerEnterSelectedAreaCallback): this { + if (this.checkPriority("onEnterSelectedArea")) { + const value_casted = value as (TextPickerEnterSelectedAreaCallback) + this.getPeer()?.onEnterSelectedAreaAttribute(value_casted) return this } return this } /** @memo */ - public selectedIndex(value: number | Array): this { + public selectedIndex(value: number | Array | number | Array | undefined): this { if (this.checkPriority("selectedIndex")) { - const value_casted = value as (number | Array) - this.getPeer()?.selectedIndexAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (number | Array) + this.getPeer()?.selectedIndex0Attribute(value_casted) + return this + } + if ((RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (number | Array | undefined) + this.getPeer()?.selectedIndex1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ public divider(value: DividerOptions | undefined): this { if (this.checkPriority("divider")) { - const value_casted = value as (DividerOptions | undefined) - this.getPeer()?.dividerAttribute(value_casted) - return this + const value_type = runtimeType(value) + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (DividerOptions | undefined) + this.getPeer()?.divider0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (DividerOptions | undefined) + this.getPeer()?.divider1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public gradientHeight(value: Dimension): this { + public gradientHeight(value: Dimension | Dimension | undefined): this { if (this.checkPriority("gradientHeight")) { - const value_casted = value as (Dimension) - this.getPeer()?.gradientHeightAttribute(value_casted) + const value_type = runtimeType(value) + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type)) { + const value_casted = value as (Dimension) + this.getPeer()?.gradientHeight0Attribute(value_casted) + return this + } + if ((RuntimeType.STRING == value_type) || (RuntimeType.NUMBER == value_type) || (RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (Dimension | undefined) + this.getPeer()?.gradientHeight1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public enableHapticFeedback(value: boolean | undefined): this { + if (this.checkPriority("enableHapticFeedback")) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.enableHapticFeedbackAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + if (this.checkPriority("digitalCrownSensitivity")) { + const value_casted = value as (CrownSensitivity | undefined) + this.getPeer()?.digitalCrownSensitivityAttribute(value_casted) return this } return this diff --git a/arkoala/arkui/src/generated/time_picker.ts b/arkoala/arkui/src/generated/time_picker.ts index 80cd9118c0..7ef69debd8 100644 --- a/arkoala/arkui/src/generated/time_picker.ts +++ b/arkoala/arkui/src/generated/time_picker.ts @@ -21,8 +21,9 @@ import { nullptr, KPointer, KInt, KBoolean, KStringPtr, runtimeType, RuntimeType import { Serializer } from "./peers/Serializer" import { ComponentBase } from "./../ComponentBase" import { PeerNode } from "./../PeerNode" -import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" +import { ArkCommonMethodPeer, CommonMethod, PickerTextStyle, PickerDialogButtonStyle, Rectangle, BlurStyle, BackgroundBlurStyleOptions, BackgroundEffectOptions, ShadowOptions, ShadowStyle, HoverModeAreaType, ArkCommonMethodComponent, ArkCommonMethodStyle, UICommonMethod } from "./common" import { DateTimeOptions } from "./arkui-intl" +import { CrownSensitivity } from "./enums" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" import { CallbackKind } from "./peers/CallbackKind" @@ -56,44 +57,161 @@ export class ArkTimePickerPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._TimePickerInterface_setTimePickerOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - useMilitaryTimeAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._TimePickerAttribute_useMilitaryTime(this.peer.ptr, +value) + useMilitaryTime0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._TimePickerAttribute_useMilitaryTime0(this.peer.ptr, +value) } - loopAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._TimePickerAttribute_loop(this.peer.ptr, +value) + useMilitaryTime1Attribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_useMilitaryTime1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() } - disappearTextStyleAttribute(value: PickerTextStyle): void { + loop0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._TimePickerAttribute_loop0(this.peer.ptr, +value) + } + loop1Attribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_loop1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + disappearTextStyle0Attribute(value: PickerTextStyle): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._TimePickerAttribute_disappearTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TimePickerAttribute_disappearTextStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + disappearTextStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_disappearTextStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - textStyleAttribute(value: PickerTextStyle): void { + textStyle0Attribute(value: PickerTextStyle): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._TimePickerAttribute_textStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TimePickerAttribute_textStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - selectedTextStyleAttribute(value: PickerTextStyle): void { + textStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_textStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedTextStyle0Attribute(value: PickerTextStyle): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writePickerTextStyle(value) - ArkUIGeneratedNativeModule._TimePickerAttribute_selectedTextStyle(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TimePickerAttribute_selectedTextStyle0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + selectedTextStyle1Attribute(value: PickerTextStyle | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writePickerTextStyle(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_selectedTextStyle1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - dateTimeOptionsAttribute(value: DateTimeOptions): void { + dateTimeOptions0Attribute(value: DateTimeOptions): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeDateTimeOptions(value) - ArkUIGeneratedNativeModule._TimePickerAttribute_dateTimeOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TimePickerAttribute_dateTimeOptions0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + dateTimeOptions1Attribute(value: DateTimeOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeDateTimeOptions(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_dateTimeOptions1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange0Attribute(value: ((value: TimePickerResult) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._TimePickerAttribute_onChange0(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + onChange1Attribute(value: OnTimePickerChangeCallback | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.holdAndWriteCallback(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_onChange1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - onChangeAttribute(value: ((value: TimePickerResult) => void)): void { + onEnterSelectedAreaAttribute(value: ((value: TimePickerResult) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) - ArkUIGeneratedNativeModule._TimePickerAttribute_onChange(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + ArkUIGeneratedNativeModule._TimePickerAttribute_onEnterSelectedArea(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - enableHapticFeedbackAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._TimePickerAttribute_enableHapticFeedback(this.peer.ptr, +value) + enableHapticFeedback0Attribute(value: boolean): void { + ArkUIGeneratedNativeModule._TimePickerAttribute_enableHapticFeedback0(this.peer.ptr, +value) + } + enableHapticFeedback1Attribute(value: boolean | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeBoolean(value_value) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_enableHapticFeedback1(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + digitalCrownSensitivityAttribute(value: CrownSensitivity | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeInt32(value_value.valueOf()) + } + ArkUIGeneratedNativeModule._TimePickerAttribute_digitalCrownSensitivity(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + enableCascadeAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._TimePickerAttribute_enableCascade(this.peer.ptr, +value) } _onChangeEvent_selectedAttribute(callback: ((parameter: Date) => void)): void { const thisSerializer: Serializer = Serializer.hold() @@ -114,38 +232,50 @@ export enum TimePickerFormat { export interface TimePickerOptions { selected?: Date; format?: TimePickerFormat; + start?: Date; + end?: Date; } +export type OnTimePickerChangeCallback = (result: TimePickerResult) => void; export type Callback_TimePickerResult_Void = (value: TimePickerResult) => void; export interface TimePickerAttribute extends CommonMethod { - useMilitaryTime(value: boolean): this - loop(value: boolean): this - disappearTextStyle(value: PickerTextStyle): this - textStyle(value: PickerTextStyle): this - selectedTextStyle(value: PickerTextStyle): this - dateTimeOptions(value: DateTimeOptions): this - onChange(value: ((value: TimePickerResult) => void)): this - enableHapticFeedback(value: boolean): this + useMilitaryTime(value: boolean | boolean | undefined): this + loop(value: boolean | boolean | undefined): this + disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this + dateTimeOptions(value: DateTimeOptions | DateTimeOptions | undefined): this + onChange(value: ((value: TimePickerResult) => void) | OnTimePickerChangeCallback | undefined): this + onEnterSelectedArea(value: ((value: TimePickerResult) => void)): this + enableHapticFeedback(value: boolean | boolean | undefined): this + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + enableCascade(value: boolean): this _onChangeEvent_selected(callback: ((parameter: Date) => void)): void attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UITimePickerAttribute extends UICommonMethod { /** @memo */ - useMilitaryTime(value: boolean): this + useMilitaryTime(value: boolean | boolean | undefined): this /** @memo */ - loop(value: boolean): this + loop(value: boolean | boolean | undefined): this /** @memo */ - disappearTextStyle(value: PickerTextStyle): this + disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - textStyle(value: PickerTextStyle): this + textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - selectedTextStyle(value: PickerTextStyle): this + selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this /** @memo */ - dateTimeOptions(value: DateTimeOptions): this + dateTimeOptions(value: DateTimeOptions | DateTimeOptions | undefined): this /** @memo */ - onChange(value: ((value: TimePickerResult) => void)): this + onChange(value: ((value: TimePickerResult) => void) | OnTimePickerChangeCallback | undefined): this /** @memo */ - enableHapticFeedback(value: boolean): this + onEnterSelectedArea(value: ((value: TimePickerResult) => void)): this + /** @memo */ + enableHapticFeedback(value: boolean | boolean | undefined): this + /** @memo */ + digitalCrownSensitivity(value: CrownSensitivity | undefined): this + /** @memo */ + enableCascade(value: boolean): this /** @memo */ _onChangeEvent_selected(callback: ((parameter: Date) => void)): void /** @memo */ @@ -159,29 +289,41 @@ export class ArkTimePickerStyle extends ArkCommonMethodStyle implements TimePick selectedTextStyle_value?: PickerTextStyle dateTimeOptions_value?: DateTimeOptions onChange_value?: ((value: TimePickerResult) => void) + onEnterSelectedArea_value?: ((value: TimePickerResult) => void) enableHapticFeedback_value?: boolean - public useMilitaryTime(value: boolean): this { + digitalCrownSensitivity_value?: CrownSensitivity | undefined + enableCascade_value?: boolean + public useMilitaryTime(value: boolean | boolean | undefined): this { + return this + } + public loop(value: boolean | boolean | undefined): this { + return this + } + public disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { + return this + } + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public loop(value: boolean): this { + public selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { return this } - public disappearTextStyle(value: PickerTextStyle): this { + public dateTimeOptions(value: DateTimeOptions | DateTimeOptions | undefined): this { return this } - public textStyle(value: PickerTextStyle): this { + public onChange(value: ((value: TimePickerResult) => void) | OnTimePickerChangeCallback | undefined): this { return this } - public selectedTextStyle(value: PickerTextStyle): this { + public onEnterSelectedArea(value: ((value: TimePickerResult) => void)): this { return this } - public dateTimeOptions(value: DateTimeOptions): this { + public enableHapticFeedback(value: boolean | boolean | undefined): this { return this } - public onChange(value: ((value: TimePickerResult) => void)): this { + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { return this } - public enableHapticFeedback(value: boolean): this { + public enableCascade(value: boolean): this { return this } public _onChangeEvent_selected(callback: ((parameter: Date) => void)): void { @@ -204,8 +346,12 @@ export interface TimePickerDialogOptions extends TimePickerOptions { onAccept?: ((value: TimePickerResult) => void); onCancel?: (() => void); onChange?: ((value: TimePickerResult) => void); + onEnterSelectedArea?: ((value: TimePickerResult) => void); backgroundColor?: ResourceColor; backgroundBlurStyle?: BlurStyle; + backgroundBlurStyleOptions?: BackgroundBlurStyleOptions; + backgroundEffect?: BackgroundEffectOptions; + enableCascade?: boolean; onDidAppear?: (() => void); onDidDisappear?: (() => void); onWillAppear?: (() => void); @@ -214,6 +360,7 @@ export interface TimePickerDialogOptions extends TimePickerOptions { dateTimeOptions?: DateTimeOptions; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; + enableHapticFeedback?: boolean; } /** @memo:stable */ export class ArkTimePickerComponent extends ArkCommonMethodComponent implements UITimePickerAttribute { @@ -230,73 +377,172 @@ export class ArkTimePickerComponent extends ArkCommonMethodComponent implements return this } /** @memo */ - public useMilitaryTime(value: boolean): this { + public useMilitaryTime(value: boolean | boolean | undefined): this { if (this.checkPriority("useMilitaryTime")) { - const value_casted = value as (boolean) - this.getPeer()?.useMilitaryTimeAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.useMilitaryTime0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.useMilitaryTime1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public loop(value: boolean): this { + public loop(value: boolean | boolean | undefined): this { if (this.checkPriority("loop")) { - const value_casted = value as (boolean) - this.getPeer()?.loopAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.loop0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.loop1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public disappearTextStyle(value: PickerTextStyle): this { + public disappearTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("disappearTextStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.disappearTextStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("color")) || (value!.hasOwnProperty("font"))))) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.disappearTextStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.disappearTextStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public textStyle(value: PickerTextStyle): this { + public textStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("textStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.textStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("color")) || (value!.hasOwnProperty("font"))))) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.textStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.textStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public selectedTextStyle(value: PickerTextStyle): this { + public selectedTextStyle(value: PickerTextStyle | PickerTextStyle | undefined): this { if (this.checkPriority("selectedTextStyle")) { - const value_casted = value as (PickerTextStyle) - this.getPeer()?.selectedTextStyleAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("color")) || (value!.hasOwnProperty("font"))))) { + const value_casted = value as (PickerTextStyle) + this.getPeer()?.selectedTextStyle0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (PickerTextStyle | undefined) + this.getPeer()?.selectedTextStyle1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public dateTimeOptions(value: DateTimeOptions): this { + public dateTimeOptions(value: DateTimeOptions | DateTimeOptions | undefined): this { if (this.checkPriority("dateTimeOptions")) { - const value_casted = value as (DateTimeOptions) - this.getPeer()?.dateTimeOptionsAttribute(value_casted) - return this + const value_type = runtimeType(value) + if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("locale")) || (value!.hasOwnProperty("dateStyle")) || (value!.hasOwnProperty("timeStyle")) || (value!.hasOwnProperty("hourCycle")) || (value!.hasOwnProperty("timeZone")) || (value!.hasOwnProperty("numberingSystem")) || (value!.hasOwnProperty("hour12")) || (value!.hasOwnProperty("weekday")) || (value!.hasOwnProperty("era")) || (value!.hasOwnProperty("year")) || (value!.hasOwnProperty("month")) || (value!.hasOwnProperty("day")) || (value!.hasOwnProperty("hour")) || (value!.hasOwnProperty("minute")) || (value!.hasOwnProperty("second")) || (value!.hasOwnProperty("timeZoneName")) || (value!.hasOwnProperty("dayPeriod")) || (value!.hasOwnProperty("localeMatcher")) || (value!.hasOwnProperty("formatMatcher"))))) { + const value_casted = value as (DateTimeOptions) + this.getPeer()?.dateTimeOptions0Attribute(value_casted) + return this + } + if ((RuntimeType.OBJECT == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (DateTimeOptions | undefined) + this.getPeer()?.dateTimeOptions1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") } return this } /** @memo */ - public onChange(value: ((value: TimePickerResult) => void)): this { + public onChange(value: ((value: TimePickerResult) => void) | OnTimePickerChangeCallback | undefined): this { if (this.checkPriority("onChange")) { + const value_type = runtimeType(value) + if (RuntimeType.FUNCTION == value_type) { + const value_casted = value as (((value: TimePickerResult) => void)) + this.getPeer()?.onChange0Attribute(value_casted) + return this + } + if ((RuntimeType.FUNCTION == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (OnTimePickerChangeCallback | undefined) + this.getPeer()?.onChange1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public onEnterSelectedArea(value: ((value: TimePickerResult) => void)): this { + if (this.checkPriority("onEnterSelectedArea")) { const value_casted = value as (((value: TimePickerResult) => void)) - this.getPeer()?.onChangeAttribute(value_casted) + this.getPeer()?.onEnterSelectedAreaAttribute(value_casted) return this } return this } /** @memo */ - public enableHapticFeedback(value: boolean): this { + public enableHapticFeedback(value: boolean | boolean | undefined): this { if (this.checkPriority("enableHapticFeedback")) { + const value_type = runtimeType(value) + if (RuntimeType.BOOLEAN == value_type) { + const value_casted = value as (boolean) + this.getPeer()?.enableHapticFeedback0Attribute(value_casted) + return this + } + if ((RuntimeType.BOOLEAN == value_type) || (RuntimeType.UNDEFINED == value_type)) { + const value_casted = value as (boolean | undefined) + this.getPeer()?.enableHapticFeedback1Attribute(value_casted) + return this + } + throw new Error("Can not select appropriate overload") + } + return this + } + /** @memo */ + public digitalCrownSensitivity(value: CrownSensitivity | undefined): this { + if (this.checkPriority("digitalCrownSensitivity")) { + const value_casted = value as (CrownSensitivity | undefined) + this.getPeer()?.digitalCrownSensitivityAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableCascade(value: boolean): this { + if (this.checkPriority("enableCascade")) { const value_casted = value as (boolean) - this.getPeer()?.enableHapticFeedbackAttribute(value_casted) + this.getPeer()?.enableCascadeAttribute(value_casted) return this } return this diff --git a/arkoala/arkui/src/generated/ui_extension_component.ts b/arkoala/arkui/src/generated/ui_extension_component.ts index eee731c499..ad02ccddd0 100644 --- a/arkoala/arkui/src/generated/ui_extension_component.ts +++ b/arkoala/arkui/src/generated/ui_extension_component.ts @@ -95,16 +95,27 @@ export class ArkUIExtensionComponentPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._UIExtensionComponentAttribute_onTerminated(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + onDrawReadyAttribute(value: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(value) + ArkUIGeneratedNativeModule._UIExtensionComponentAttribute_onDrawReady(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } } export enum DpiFollowStrategy { FOLLOW_HOST_DPI, FOLLOW_UI_EXTENSION_ABILITY_DPI = 1, } +export enum WindowModeFollowStrategy { + FOLLOW_HOST_WINDOW_MODE, + FOLLOW_UI_EXTENSION_ABILITY_WINDOW_MODE = 1, +} export interface UIExtensionOptions { isTransferringCaller?: boolean; placeholder?: ComponentContent; areaChangePlaceholder?: Map; dpiFollowStrategy?: DpiFollowStrategy; + windowModeFollowStrategy?: WindowModeFollowStrategy; } export type Callback_UIExtensionProxy_Void = (parameter: UIExtensionProxy) => void; @@ -115,6 +126,7 @@ export interface UIExtensionComponentAttribute extends CommonMethod { onRelease(value: ((index: number) => void)): this onError(value: ErrorCallback): this onTerminated(value: ((parameter: TerminationInfo) => void)): this + onDrawReady(value: (() => void)): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIUIExtensionComponentAttribute extends UICommonMethod { @@ -131,6 +143,8 @@ export interface UIUIExtensionComponentAttribute extends UICommonMethod { /** @memo */ onTerminated(value: ((parameter: TerminationInfo) => void)): this /** @memo */ + onDrawReady(value: (() => void)): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkUIExtensionComponentStyle extends ArkCommonMethodStyle implements UIExtensionComponentAttribute { @@ -140,6 +154,7 @@ export class ArkUIExtensionComponentStyle extends ArkCommonMethodStyle implement onRelease_value?: ((index: number) => void) onError_value?: ErrorCallback onTerminated_value?: ((parameter: TerminationInfo) => void) + onDrawReady_value?: (() => void) public onRemoteReady(value: ((parameter: UIExtensionProxy) => void)): this { return this } @@ -158,6 +173,9 @@ export class ArkUIExtensionComponentStyle extends ArkCommonMethodStyle implement public onTerminated(value: ((parameter: TerminationInfo) => void)): this { return this } + public onDrawReady(value: (() => void)): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -238,6 +256,15 @@ export class ArkUIExtensionComponentComponent extends ArkCommonMethodComponent i return this } /** @memo */ + public onDrawReady(value: (() => void)): this { + if (this.checkPriority("onDrawReady")) { + const value_casted = value as ((() => void)) + this.getPeer()?.onDrawReadyAttribute(value_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala/arkui/src/generated/units.ts b/arkoala/arkui/src/generated/units.ts index 2c21fdb02e..b8d2f6c0bc 100644 --- a/arkoala/arkui/src/generated/units.ts +++ b/arkoala/arkui/src/generated/units.ts @@ -21,7 +21,7 @@ import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, wrapCallback } from import { Resource } from "./resource" import { LengthMetrics, ColorMetrics } from "./AllMaterialized" import { OutlineStyle } from "./common" -import { Color, FontWeight, BorderStyle } from "./enums" +import { Color, FontWeight, BorderStyle, DividerMode } from "./enums" import { LengthMetricsUnit } from "./arkui-graphics" import { FontStyle } from "./arkui-graphics-text" import { EdgeStyles } from "./arkui-external" @@ -187,6 +187,7 @@ export interface DividerStyleOptions { color?: ResourceColor; startMargin?: LengthMetrics; endMargin?: LengthMetrics; + mode?: DividerMode; } export interface ChainWeightOptions { horizontal?: number; diff --git a/arkoala/arkui/src/generated/video.ts b/arkoala/arkui/src/generated/video.ts index 0428fc44d8..2d87fe8e22 100644 --- a/arkoala/arkui/src/generated/video.ts +++ b/arkoala/arkui/src/generated/video.ts @@ -25,6 +25,7 @@ import { ArkCommonMethodPeer, CommonMethod, ArkCommonMethodComponent, ArkCommonM import { ImageFit } from "./enums" import { VoidCallback } from "./units" import { ImageAnalyzerConfig, ImageAIOptions } from "./image_common" +import { ColorMetrics, PixelMap, VideoController } from "./AllMaterialized" import { GestureName, GestureComponent } from "./shared/generated-utils" import { isResource, isPadding } from "./../utils" import { CallbackKind } from "./peers/CallbackKind" @@ -32,7 +33,6 @@ import { CallbackTransformer } from "./../CallbackTransformer" import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { Deserializer } from "./peers/Deserializer" import { Resource } from "./resource" -import { PixelMap, VideoController } from "./AllMaterialized" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class ArkVideoPeer extends ArkCommonMethodPeer { @@ -136,6 +136,12 @@ export class ArkVideoPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._VideoAttribute_analyzerConfig(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + surfaceBackgroundColorAttribute(value: ColorMetrics): void { + ArkUIGeneratedNativeModule._VideoAttribute_surfaceBackgroundColor(this.peer.ptr, toPeerPtr(value)) + } + enableShortcutKeyAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._VideoAttribute_enableShortcutKey(this.peer.ptr, +value) + } } export enum SeekMode { PREVIOUS_KEYFRAME, @@ -168,12 +174,16 @@ export interface PreparedInfo { export interface PlaybackInfo { time: number; } +export interface PosterOptions { + showFirstFrame?: boolean; +} export interface VideoOptions { src?: string | Resource; currentProgressRate?: number | string | PlaybackSpeed; previewUri?: string | PixelMap | Resource; controller?: VideoController; imageAIOptions?: ImageAIOptions; + posterOptions?: PosterOptions; } export type Callback_FullscreenInfo_Void = (parameter: FullscreenInfo) => void; @@ -197,6 +207,8 @@ export interface VideoAttribute extends CommonMethod { onStop(value: (() => void)): this enableAnalyzer(value: boolean): this analyzerConfig(value: ImageAnalyzerConfig): this + surfaceBackgroundColor(value: ColorMetrics): this + enableShortcutKey(value: boolean): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIVideoAttribute extends UICommonMethod { @@ -235,6 +247,10 @@ export interface UIVideoAttribute extends UICommonMethod { /** @memo */ analyzerConfig(value: ImageAnalyzerConfig): this /** @memo */ + surfaceBackgroundColor(value: ColorMetrics): this + /** @memo */ + enableShortcutKey(value: boolean): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkVideoStyle extends ArkCommonMethodStyle implements VideoAttribute { @@ -255,6 +271,8 @@ export class ArkVideoStyle extends ArkCommonMethodStyle implements VideoAttribut onStop_value?: (() => void) enableAnalyzer_value?: boolean analyzerConfig_value?: ImageAnalyzerConfig + surfaceBackgroundColor_value?: ColorMetrics + enableShortcutKey_value?: boolean public muted(value: boolean): this { return this } @@ -306,6 +324,12 @@ export class ArkVideoStyle extends ArkCommonMethodStyle implements VideoAttribut public analyzerConfig(value: ImageAnalyzerConfig): this { return this } + public surfaceBackgroundColor(value: ColorMetrics): this { + return this + } + public enableShortcutKey(value: boolean): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -478,6 +502,24 @@ export class ArkVideoComponent extends ArkCommonMethodComponent implements UIVid return this } /** @memo */ + public surfaceBackgroundColor(value: ColorMetrics): this { + if (this.checkPriority("surfaceBackgroundColor")) { + const value_casted = value as (ColorMetrics) + this.getPeer()?.surfaceBackgroundColorAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableShortcutKey(value: boolean): this { + if (this.checkPriority("enableShortcutKey")) { + const value_casted = value as (boolean) + this.getPeer()?.enableShortcutKeyAttribute(value_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this diff --git a/arkoala/arkui/src/generated/water_flow.ts b/arkoala/arkui/src/generated/water_flow.ts index 6ed352fa30..436162c54f 100644 --- a/arkoala/arkui/src/generated/water_flow.ts +++ b/arkoala/arkui/src/generated/water_flow.ts @@ -32,7 +32,7 @@ import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { Deserializer } from "./peers/Deserializer" -import { Scroller, WaterFlowSections } from "./AllMaterialized" +import { ComponentContent, Scroller, WaterFlowSections } from "./AllMaterialized" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class ArkWaterFlowPeer extends ArkScrollableCommonMethodPeer { @@ -189,6 +189,7 @@ export enum WaterFlowLayoutMode { } export interface WaterFlowOptions { footer?: CustomBuilder; + footerContent?: ComponentContent; scroller?: Scroller; sections?: WaterFlowSections; layoutMode?: WaterFlowLayoutMode; diff --git a/arkoala/arkui/src/generated/web.ts b/arkoala/arkui/src/generated/web.ts index 811062bbeb..7d5ffa4415 100644 --- a/arkoala/arkui/src/generated/web.ts +++ b/arkoala/arkui/src/generated/web.ts @@ -112,6 +112,9 @@ export class ArkWebPeer extends ArkCommonMethodPeer { overScrollModeAttribute(value: OverScrollMode): void { ArkUIGeneratedNativeModule._WebAttribute_overScrollMode(this.peer.ptr, value.valueOf()) } + blurOnKeyboardHideModeAttribute(value: BlurOnKeyboardHideMode): void { + ArkUIGeneratedNativeModule._WebAttribute_blurOnKeyboardHideMode(this.peer.ptr, value.valueOf()) + } textZoomAtioAttribute(value: number): void { ArkUIGeneratedNativeModule._WebAttribute_textZoomAtio(this.peer.ptr, value) } @@ -590,9 +593,6 @@ export class ArkWebPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._WebAttribute_enableNativeMediaPlayer(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } - enableSmoothDragResizeAttribute(value: boolean): void { - ArkUIGeneratedNativeModule._WebAttribute_enableSmoothDragResize(this.peer.ptr, +value) - } onRenderProcessNotRespondingAttribute(value: OnRenderProcessNotRespondingCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -645,6 +645,57 @@ export class ArkWebPeer extends ArkCommonMethodPeer { enableHapticFeedbackAttribute(value: boolean): void { ArkUIGeneratedNativeModule._WebAttribute_enableHapticFeedback(this.peer.ptr, +value) } + optimizeParserBudgetAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._WebAttribute_optimizeParserBudget(this.peer.ptr, +value) + } + enableFollowSystemFontWeightAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._WebAttribute_enableFollowSystemFontWeight(this.peer.ptr, +value) + } + enableWebAVSessionAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._WebAttribute_enableWebAVSession(this.peer.ptr, +value) + } + runJavaScriptOnDocumentStartAttribute(value: Array): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(value.length) + for (let i = 0; i < value.length; i++) { + const value_element: ScriptItem = value[i] + thisSerializer.writeScriptItem(value_element) + } + ArkUIGeneratedNativeModule._WebAttribute_runJavaScriptOnDocumentStart(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + runJavaScriptOnDocumentEndAttribute(value: Array): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(value.length) + for (let i = 0; i < value.length; i++) { + const value_element: ScriptItem = value[i] + thisSerializer.writeScriptItem(value_element) + } + ArkUIGeneratedNativeModule._WebAttribute_runJavaScriptOnDocumentEnd(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + runJavaScriptOnHeadEndAttribute(value: Array): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(value.length) + for (let i = 0; i < value.length; i++) { + const value_element: ScriptItem = value[i] + thisSerializer.writeScriptItem(value_element) + } + ArkUIGeneratedNativeModule._WebAttribute_runJavaScriptOnHeadEnd(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + nativeEmbedOptionsAttribute(value: EmbedOptions | undefined): void { + const thisSerializer: Serializer = Serializer.hold() + let value_type: int32 = RuntimeType.UNDEFINED + value_type = runtimeType(value) + thisSerializer.writeInt8(value_type) + if ((RuntimeType.UNDEFINED) != (value_type)) { + const value_value = value! + thisSerializer.writeEmbedOptions(value_value) + } + ArkUIGeneratedNativeModule._WebAttribute_nativeEmbedOptions(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } registerNativeEmbedRuleAttribute(tag: string, type: string): void { ArkUIGeneratedNativeModule._WebAttribute_registerNativeEmbedRule(this.peer.ptr, tag, type) } @@ -744,6 +795,10 @@ export enum OverScrollMode { NEVER, ALWAYS = 1, } +export enum BlurOnKeyboardHideMode { + SILENT, + BLUR = 1, +} export enum WebDarkMode { OFF, Off = OFF, @@ -1215,6 +1270,7 @@ export interface WebAttribute extends CommonMethod { wideViewModeAccess(value: boolean): this overviewModeAccess(value: boolean): this overScrollMode(value: OverScrollMode): this + blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode): this textZoomAtio(value: number): this textZoomRatio(value: number): this databaseAccess(value: boolean): this @@ -1305,7 +1361,6 @@ export interface WebAttribute extends CommonMethod { onOverrideUrlLoading(value: OnOverrideUrlLoadingCallback): this textAutosizing(value: boolean): this enableNativeMediaPlayer(value: NativeMediaPlayerConfig): this - enableSmoothDragResize(value: boolean): this onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback): this onRenderProcessResponding(value: OnRenderProcessRespondingCallback): this selectionMenuOptions(value: Array): this @@ -1315,6 +1370,13 @@ export interface WebAttribute extends CommonMethod { keyboardAvoidMode(value: WebKeyboardAvoidMode): this editMenuOptions(value: EditMenuOptions): this enableHapticFeedback(value: boolean): this + optimizeParserBudget(value: boolean): this + enableFollowSystemFontWeight(value: boolean): this + enableWebAVSession(value: boolean): this + runJavaScriptOnDocumentStart(value: Array): this + runJavaScriptOnDocumentEnd(value: Array): this + runJavaScriptOnHeadEnd(value: Array): this + nativeEmbedOptions(value: EmbedOptions | undefined): this registerNativeEmbedRule(tag: string, type: string): this bindSelectionMenu(elementType: WebElementType, content: CustomBuilder, responseType: WebResponseType, options?: SelectionMenuOptionsExt): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this @@ -1357,6 +1419,8 @@ export interface UIWebAttribute extends UICommonMethod { /** @memo */ overScrollMode(value: OverScrollMode): this /** @memo */ + blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode): this + /** @memo */ textZoomAtio(value: number): this /** @memo */ textZoomRatio(value: number): this @@ -1537,8 +1601,6 @@ export interface UIWebAttribute extends UICommonMethod { /** @memo */ enableNativeMediaPlayer(value: NativeMediaPlayerConfig): this /** @memo */ - enableSmoothDragResize(value: boolean): this - /** @memo */ onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback): this /** @memo */ onRenderProcessResponding(value: OnRenderProcessRespondingCallback): this @@ -1557,6 +1619,20 @@ export interface UIWebAttribute extends UICommonMethod { /** @memo */ enableHapticFeedback(value: boolean): this /** @memo */ + optimizeParserBudget(value: boolean): this + /** @memo */ + enableFollowSystemFontWeight(value: boolean): this + /** @memo */ + enableWebAVSession(value: boolean): this + /** @memo */ + runJavaScriptOnDocumentStart(value: Array): this + /** @memo */ + runJavaScriptOnDocumentEnd(value: Array): this + /** @memo */ + runJavaScriptOnHeadEnd(value: Array): this + /** @memo */ + nativeEmbedOptions(value: EmbedOptions | undefined): this + /** @memo */ registerNativeEmbedRule(tag: string, type: string): this /** @memo */ bindSelectionMenu(elementType: WebElementType, content: CustomBuilder, responseType: WebResponseType, options?: SelectionMenuOptionsExt): this @@ -1582,6 +1658,7 @@ export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { wideViewModeAccess_value?: boolean overviewModeAccess_value?: boolean overScrollMode_value?: OverScrollMode + blurOnKeyboardHideMode_value?: BlurOnKeyboardHideMode textZoomAtio_value?: number textZoomRatio_value?: number databaseAccess_value?: boolean @@ -1672,7 +1749,6 @@ export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { onOverrideUrlLoading_value?: OnOverrideUrlLoadingCallback textAutosizing_value?: boolean enableNativeMediaPlayer_value?: NativeMediaPlayerConfig - enableSmoothDragResize_value?: boolean onRenderProcessNotResponding_value?: OnRenderProcessNotRespondingCallback onRenderProcessResponding_value?: OnRenderProcessRespondingCallback selectionMenuOptions_value?: Array @@ -1682,6 +1758,13 @@ export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { keyboardAvoidMode_value?: WebKeyboardAvoidMode editMenuOptions_value?: EditMenuOptions enableHapticFeedback_value?: boolean + optimizeParserBudget_value?: boolean + enableFollowSystemFontWeight_value?: boolean + enableWebAVSession_value?: boolean + runJavaScriptOnDocumentStart_value?: Array + runJavaScriptOnDocumentEnd_value?: Array + runJavaScriptOnHeadEnd_value?: Array + nativeEmbedOptions_value?: EmbedOptions public javaScriptAccess(value: boolean): this { return this } @@ -1736,6 +1819,9 @@ export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { public overScrollMode(value: OverScrollMode): this { return this } + public blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode): this { + return this + } public textZoomAtio(value: number): this { return this } @@ -2006,9 +2092,6 @@ export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { public enableNativeMediaPlayer(value: NativeMediaPlayerConfig): this { return this } - public enableSmoothDragResize(value: boolean): this { - return this - } public onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback): this { return this } @@ -2036,6 +2119,27 @@ export class ArkWebStyle extends ArkCommonMethodStyle implements WebAttribute { public enableHapticFeedback(value: boolean): this { return this } + public optimizeParserBudget(value: boolean): this { + return this + } + public enableFollowSystemFontWeight(value: boolean): this { + return this + } + public enableWebAVSession(value: boolean): this { + return this + } + public runJavaScriptOnDocumentStart(value: Array): this { + return this + } + public runJavaScriptOnDocumentEnd(value: Array): this { + return this + } + public runJavaScriptOnHeadEnd(value: Array): this { + return this + } + public nativeEmbedOptions(value: EmbedOptions | undefined): this { + return this + } public registerNativeEmbedRule(tag: string, type: string): this { return this } @@ -2070,6 +2174,9 @@ export interface NestedScrollOptionsExt { scrollRight?: NestedScrollMode; scrollLeft?: NestedScrollMode; } +export interface EmbedOptions { + supportDefaultIntrinsicSize?: boolean; +} /** @memo:stable */ export class ArkWebComponent extends ArkCommonMethodComponent implements UIWebAttribute { protected getPeer(): ArkWebPeer { @@ -2247,6 +2354,15 @@ export class ArkWebComponent extends ArkCommonMethodComponent implements UIWebAt return this } /** @memo */ + public blurOnKeyboardHideMode(value: BlurOnKeyboardHideMode): this { + if (this.checkPriority("blurOnKeyboardHideMode")) { + const value_casted = value as (BlurOnKeyboardHideMode) + this.getPeer()?.blurOnKeyboardHideModeAttribute(value_casted) + return this + } + return this + } + /** @memo */ public textZoomAtio(value: number): this { if (this.checkPriority("textZoomAtio")) { const value_casted = value as (number) @@ -3066,15 +3182,6 @@ export class ArkWebComponent extends ArkCommonMethodComponent implements UIWebAt return this } /** @memo */ - public enableSmoothDragResize(value: boolean): this { - if (this.checkPriority("enableSmoothDragResize")) { - const value_casted = value as (boolean) - this.getPeer()?.enableSmoothDragResizeAttribute(value_casted) - return this - } - return this - } - /** @memo */ public onRenderProcessNotResponding(value: OnRenderProcessNotRespondingCallback): this { if (this.checkPriority("onRenderProcessNotResponding")) { const value_casted = value as (OnRenderProcessNotRespondingCallback) @@ -3156,6 +3263,69 @@ export class ArkWebComponent extends ArkCommonMethodComponent implements UIWebAt return this } /** @memo */ + public optimizeParserBudget(value: boolean): this { + if (this.checkPriority("optimizeParserBudget")) { + const value_casted = value as (boolean) + this.getPeer()?.optimizeParserBudgetAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableFollowSystemFontWeight(value: boolean): this { + if (this.checkPriority("enableFollowSystemFontWeight")) { + const value_casted = value as (boolean) + this.getPeer()?.enableFollowSystemFontWeightAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableWebAVSession(value: boolean): this { + if (this.checkPriority("enableWebAVSession")) { + const value_casted = value as (boolean) + this.getPeer()?.enableWebAVSessionAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public runJavaScriptOnDocumentStart(value: Array): this { + if (this.checkPriority("runJavaScriptOnDocumentStart")) { + const value_casted = value as (Array) + this.getPeer()?.runJavaScriptOnDocumentStartAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public runJavaScriptOnDocumentEnd(value: Array): this { + if (this.checkPriority("runJavaScriptOnDocumentEnd")) { + const value_casted = value as (Array) + this.getPeer()?.runJavaScriptOnDocumentEndAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public runJavaScriptOnHeadEnd(value: Array): this { + if (this.checkPriority("runJavaScriptOnHeadEnd")) { + const value_casted = value as (Array) + this.getPeer()?.runJavaScriptOnHeadEndAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public nativeEmbedOptions(value: EmbedOptions | undefined): this { + if (this.checkPriority("nativeEmbedOptions")) { + const value_casted = value as (EmbedOptions | undefined) + this.getPeer()?.nativeEmbedOptionsAttribute(value_casted) + return this + } + return this + } + /** @memo */ public registerNativeEmbedRule(tag: string, type: string): this { if (this.checkPriority("registerNativeEmbedRule")) { const tag_casted = tag as (string) diff --git a/arkoala/arkui/src/generated/xcomponent.ts b/arkoala/arkui/src/generated/xcomponent.ts index 38a4ddc680..efdb30dd03 100644 --- a/arkoala/arkui/src/generated/xcomponent.ts +++ b/arkoala/arkui/src/generated/xcomponent.ts @@ -101,6 +101,12 @@ export class ArkXComponentPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._XComponentInterface_setXComponentOptions2(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) thisSerializer.release() } + setXComponentOptions3Attribute(params: NativeXComponentParameters): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeNativeXComponentParameters(params) + ArkUIGeneratedNativeModule._XComponentInterface_setXComponentOptions3(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } onLoadAttribute(value: OnNativeLoadCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) @@ -119,6 +125,12 @@ export class ArkXComponentPeer extends ArkCommonMethodPeer { enableSecureAttribute(value: boolean): void { ArkUIGeneratedNativeModule._XComponentAttribute_enableSecure(this.peer.ptr, +value) } + hdrBrightnessAttribute(value: number): void { + ArkUIGeneratedNativeModule._XComponentAttribute_hdrBrightness(this.peer.ptr, value) + } + enableTransparentLayerAttribute(value: boolean): void { + ArkUIGeneratedNativeModule._XComponentAttribute_enableTransparentLayer(this.peer.ptr, +value) + } } export interface SurfaceRect { offsetX?: number; @@ -138,6 +150,11 @@ export interface XComponentOptions { type: XComponentType; controller: XComponentController; imageAIOptions?: ImageAIOptions; + screenId?: number; +} +export interface NativeXComponentParameters { + type: XComponentType; + imageAIOptions?: ImageAIOptions; } export interface Type_XComponentInterface_callable0_value { id: string; @@ -158,6 +175,8 @@ export interface XComponentAttribute extends CommonMethod { onDestroy(value: VoidCallback): this enableAnalyzer(value: boolean): this enableSecure(value: boolean): this + hdrBrightness(value: number): this + enableTransparentLayer(value: boolean): this attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export interface UIXComponentAttribute extends UICommonMethod { @@ -170,6 +189,10 @@ export interface UIXComponentAttribute extends UICommonMethod { /** @memo */ enableSecure(value: boolean): this /** @memo */ + hdrBrightness(value: number): this + /** @memo */ + enableTransparentLayer(value: boolean): this + /** @memo */ attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this } export class ArkXComponentStyle extends ArkCommonMethodStyle implements XComponentAttribute { @@ -177,6 +200,8 @@ export class ArkXComponentStyle extends ArkCommonMethodStyle implements XCompone onDestroy_value?: VoidCallback enableAnalyzer_value?: boolean enableSecure_value?: boolean + hdrBrightness_value?: number + enableTransparentLayer_value?: boolean public onLoad(value: OnNativeLoadCallback): this { return this } @@ -189,6 +214,12 @@ export class ArkXComponentStyle extends ArkCommonMethodStyle implements XCompone public enableSecure(value: boolean): this { return this } + public hdrBrightness(value: number): this { + return this + } + public enableTransparentLayer(value: boolean): this { + return this + } public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { throw new Error("Not implemented") } @@ -199,7 +230,7 @@ export class ArkXComponentComponent extends ArkCommonMethodComponent implements return (this.peer as ArkXComponentPeer) } /** @memo */ - public setXComponentOptions(value: { id: string, type: string, libraryname?: string, controller?: XComponentController } | { id: string, type: XComponentType, libraryname?: string, controller?: XComponentController } | XComponentOptions): this { + public setXComponentOptions(value: { id: string, type: string, libraryname?: string, controller?: XComponentController } | { id: string, type: XComponentType, libraryname?: string, controller?: XComponentController } | XComponentOptions | NativeXComponentParameters): this { if (this.checkPriority("setXComponentOptions")) { const value_type = runtimeType(value) if (RuntimeType.OBJECT == value_type) { @@ -212,11 +243,16 @@ export class ArkXComponentComponent extends ArkCommonMethodComponent implements this.getPeer()?.setXComponentOptions1Attribute(value_casted) return this } - if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("imageAIOptions")))) { + if (((RuntimeType.OBJECT) == (value_type)) && ((value!.hasOwnProperty("screenId")))) { const options_casted = value as (XComponentOptions) this.getPeer()?.setXComponentOptions2Attribute(options_casted) return this } + if (RuntimeType.OBJECT == value_type) { + const params_casted = value as (NativeXComponentParameters) + this.getPeer()?.setXComponentOptions3Attribute(params_casted) + return this + } throw new Error("Can not select appropriate overload") } return this @@ -258,6 +294,24 @@ export class ArkXComponentComponent extends ArkCommonMethodComponent implements return this } /** @memo */ + public hdrBrightness(value: number): this { + if (this.checkPriority("hdrBrightness")) { + const value_casted = value as (number) + this.getPeer()?.hdrBrightnessAttribute(value_casted) + return this + } + return this + } + /** @memo */ + public enableTransparentLayer(value: boolean): this { + if (this.checkPriority("enableTransparentLayer")) { + const value_casted = value as (boolean) + this.getPeer()?.enableTransparentLayerAttribute(value_casted) + return this + } + return this + } + /** @memo */ public attributeModifier(value: AttributeModifier | AttributeModifier | undefined): this { console.log("attributeModifier() not implemented") return this @@ -273,7 +327,7 @@ export function ArkXComponent( style: ((attributes: UIXComponentAttribute) => void) | undefined, /** @memo */ content_: (() => void) | undefined, - value: { id: string, type: string, libraryname?: string, controller?: XComponentController } | { id: string, type: XComponentType, libraryname?: string, controller?: XComponentController } | XComponentOptions, + value: { id: string, type: string, libraryname?: string, controller?: XComponentController } | { id: string, type: XComponentType, libraryname?: string, controller?: XComponentController } | XComponentOptions | NativeXComponentParameters, ) { const receiver = remember(() => { return new ArkXComponentComponent() -- Gitee From dd7a52f7887e7570b8184cac057e582ad6191077 Mon Sep 17 00:00:00 2001 From: Kirill Kirichenko Date: Thu, 15 May 2025 18:44:38 +0300 Subject: [PATCH 3/6] Fix build --- .../arkui-common/scripts/ohos-sdk.json | 2 +- .../arkui/src/generated/arkts/type_check.ts | 2 +- .../src/handwritten/ArkPageTransition.ts | 16 +++++----- .../trivial/user/src/ets/etsconfig.json | 3 +- arkoala-arkts/trivial/user/src/ets/page1.ets | 32 +++++++++---------- arkoala-arkts/trivial/user/src/ets/page2.ets | 22 ++++++------- arkoala-arkts/trivial/user/src/ets/page3.ets | 22 ++++++------- 7 files changed, 50 insertions(+), 49 deletions(-) diff --git a/arkoala-arkts/arkui-common/scripts/ohos-sdk.json b/arkoala-arkts/arkui-common/scripts/ohos-sdk.json index 296d9afcdc..af894f0e06 100644 --- a/arkoala-arkts/arkui-common/scripts/ohos-sdk.json +++ b/arkoala-arkts/arkui-common/scripts/ohos-sdk.json @@ -1,3 +1,3 @@ { - "hash": "ae57c19b2d7f23b44c999e2e06bfd4ff14d3c407" + "hash": "50bf554d92595f80d3b019ce5d2e4b2082a40dba" } \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts index 5bc0537bb9..5b631c58ad 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts @@ -5698,7 +5698,7 @@ export class TypeChecker { static isArray_LocalizedBarrierStyle(value: Object | string | number | undefined): boolean { return value instanceof Array } - static isArray_CustomObject(value: Object | string | number | undefined): boolean { + static isArray_CustomObject(value: Object | string | number | undefined): boolean { return value instanceof Array } } diff --git a/arkoala-arkts/arkui/src/handwritten/ArkPageTransition.ts b/arkoala-arkts/arkui/src/handwritten/ArkPageTransition.ts index 42e83c5a29..d53039ccde 100644 --- a/arkoala-arkts/arkui/src/handwritten/ArkPageTransition.ts +++ b/arkoala-arkts/arkui/src/handwritten/ArkPageTransition.ts @@ -138,19 +138,19 @@ function launchTransitionForSize(node: ArkCommonMethodPeer, router: Router | und if (style._opacity !== undefined) { if (state == RouterTransitionVisibility.Hiding) { - node.opacityAttribute(1.0) + node.opacity0Attribute(1.0) } else if (state == RouterTransitionVisibility.Showing) { - node.opacityAttribute(style._opacity ?? 1.0) + node.opacity0Attribute(style._opacity ?? 1.0) } } if (style._slide !== undefined || style._translate !== undefined || style._scale !== undefined) { if (state == RouterTransitionVisibility.Hiding) { - node.scaleAttribute(NO_SCALE) + node.scale0Attribute(NO_SCALE) AnimationExtender.AnimationTranslate(node.getPeerPtr(), ZERO_TRANSLATE) } else if (state == RouterTransitionVisibility.Showing) { if (style._scale !== undefined) { - node.scaleAttribute(style._scale ?? NO_SCALE) + node.scale0Attribute(style._scale ?? NO_SCALE) } if (style._slide !== undefined) { @@ -173,16 +173,16 @@ function launchTransitionForSize(node: ArkCommonMethodPeer, router: Router | und if (style._opacity !== undefined) { if (state == RouterTransitionVisibility.Hiding) { - node.opacityAttribute(style._opacity ?? 1.0) + node.opacity0Attribute(style._opacity ?? 1.0) } else if (state == RouterTransitionVisibility.Showing) { - node.opacityAttribute(1.0) + node.opacity0Attribute(1.0) } } if (style._slide !== undefined || style._translate !== undefined || style._scale !== undefined) { if (state == RouterTransitionVisibility.Hiding) { if (style._scale !== undefined) { - node.scaleAttribute(style._scale ?? NO_SCALE) + node.scale0Attribute(style._scale ?? NO_SCALE) } if (style._slide !== undefined) { @@ -192,7 +192,7 @@ function launchTransitionForSize(node: ArkCommonMethodPeer, router: Router | und AnimationExtender.AnimationTranslate(node.getPeerPtr(), style._translate ?? ZERO_TRANSLATE) } } else if (state == RouterTransitionVisibility.Showing) { - node.scaleAttribute(NO_SCALE) + node.scale0Attribute(NO_SCALE) AnimationExtender.AnimationTranslate(node.getPeerPtr(), ZERO_TRANSLATE) } } diff --git a/arkoala-arkts/trivial/user/src/ets/etsconfig.json b/arkoala-arkts/trivial/user/src/ets/etsconfig.json index c85e0e1762..e7c5ff6c58 100644 --- a/arkoala-arkts/trivial/user/src/ets/etsconfig.json +++ b/arkoala-arkts/trivial/user/src/ets/etsconfig.json @@ -4,7 +4,8 @@ "./**/*.ets" ], "exclude": [ - "./hello*.ets" + "./hello*.ets", + "./entry.ets" ], "compilerOptions": { "types": [], diff --git a/arkoala-arkts/trivial/user/src/ets/page1.ets b/arkoala-arkts/trivial/user/src/ets/page1.ets index 0ac25724bd..b1fe9d05ac 100644 --- a/arkoala-arkts/trivial/user/src/ets/page1.ets +++ b/arkoala-arkts/trivial/user/src/ets/page1.ets @@ -1,3 +1,7 @@ +// function nLog(message: string) { +// console.log(message) +// } + //@Entry @Component struct TestConsume { @@ -98,11 +102,11 @@ struct Page1 { data: Array = makeArray(10) build() { - nLog("In Page1 build()") + //nLog("In Page1 build()") Column({}) { if (this.visible) { - nLog("With blinker") + //nLog("With blinker") Button("Blinker") .width(200).height(100) .backgroundColor('#ff0000') @@ -116,14 +120,14 @@ struct Page1 { .backgroundColor(this.color1) .width(200).height(100) .onClick((e?: ClickEvent) => { - nLog("Hi button") + //nLog("Hi button") this.swap() }) Button("Bye") .backgroundColor(this.color2) .width(200).height(100) .onClick((e?: ClickEvent) => { - nLog("Bye button") + //nLog("Bye button") this.swap() }) Text($r('app.string.my_text')).height(50) @@ -132,8 +136,8 @@ struct Page1 { .backgroundColor($r('app.color.my_color')) .onClick((e?: ClickEvent) => { this.state++ - nLog("Click button") - nLog("#### Set Button onClick! #" + this.state) + //nLog("Click button") + //nLog("#### Set Button onClick! #" + this.state) }) Image($r('app.media.startIcon')).width(60).height(60) Image($rawfile('koala.png')).width(400) @@ -160,7 +164,7 @@ struct Page1 { } swap(): void { - nLog("#### Swap") + //nLog("#### Swap") let tmp = this.color1 this.color1 = this.color2 this.color2 = tmp @@ -168,30 +172,26 @@ struct Page1 { } } -function nLog(message: string) { - console.log(message) -} - @Component struct Child1 { onPageShow() { - nLog("Child1 onPageShow()") + //nLog("Child1 onPageShow()") } onPageHide() { - nLog("Child1 onPageHide()") + //nLog("Child1 onPageHide()") } aboutToAppear() { - nLog("Child1 aboutToAppear()") + //nLog("Child1 aboutToAppear()") } aboutToDisappear() { - nLog("Child1 aboutToDisappear()") + //nLog("Child1 aboutToDisappear()") } build() { - nLog("Child1 build()") + //nLog("Child1 build()") } } diff --git a/arkoala-arkts/trivial/user/src/ets/page2.ets b/arkoala-arkts/trivial/user/src/ets/page2.ets index 99684df866..1805c43f07 100644 --- a/arkoala-arkts/trivial/user/src/ets/page2.ets +++ b/arkoala-arkts/trivial/user/src/ets/page2.ets @@ -1,45 +1,45 @@ -import { Button, Column, ColumnOptions, ClickEvent, State, PageTransitionEnter, PageTransitionExit } from "@ohos.arkui" +//import { Button, Column, ColumnOptions, ClickEvent, State, PageTransitionEnter, PageTransitionExit } from "@ohos.arkui" import router from '@ohos.router' -function nLog(message: string) { - console.log(message) -} +// function nLog(message: string) { +// console.log(message) +// } @Component @Entry struct Page2 { @State value: number = 11 onPageShow() { - nLog('Page2 onPageShow()') + //nLog('Page2 onPageShow()') } onPageHide() { - nLog('Page2 onPageHide()') + //nLog('Page2 onPageHide()') } aboutToAppear() { - nLog('Page2 aboutToAppear()') + //nLog('Page2 aboutToAppear()') } aboutToDisappear() { - nLog('Page2 aboutToDisappear()') + //nLog('Page2 aboutToDisappear()') } build() { - nLog(`In Page2 build()`) + //nLog(`In Page2 build()`) Column({}) { Button("Click") .width(200).height(100) .backgroundColor('#ff0000') .onClick((e?: ClickEvent) => { this.value++ - nLog(`Page2: clicked ${this.value}`) + //nLog(`Page2: clicked ${this.value}`) }) Button("Back") .width(200).height(100) .backgroundColor('#ff0000') .onClick((e?: ClickEvent) => { - nLog(`Page2: back clicked`) + //nLog(`Page2: back clicked`) router.back() }) } diff --git a/arkoala-arkts/trivial/user/src/ets/page3.ets b/arkoala-arkts/trivial/user/src/ets/page3.ets index d93b4f4015..089613c3c3 100644 --- a/arkoala-arkts/trivial/user/src/ets/page3.ets +++ b/arkoala-arkts/trivial/user/src/ets/page3.ets @@ -1,44 +1,44 @@ import router from '@ohos.router' -import { Button, Column, ColumnOptions, ClickEvent, State, PageTransitionEnter, PageTransitionExit } from "@ohos.arkui" +//import { Button, Column, ColumnOptions, ClickEvent, State, PageTransitionEnter, PageTransitionExit } from "@ohos.arkui" -function nLog(message: string) { - console.log(message) -} +// function nLog(message: string) { +// console.log(message) +// } @Component @Entry struct Page3 { @State value: number = 11 onPageShow() { - nLog('Page3 onPageShow()') + //nLog('Page3 onPageShow()') } onPageHide() { - nLog('Page3 onPageHide()') + //nLog('Page3 onPageHide()') } aboutToAppear() { - nLog('Page3 aboutToAppear()') + //nLog('Page3 aboutToAppear()') } aboutToDisappear() { - nLog('Page3 aboutToDisappear()') + //nLog('Page3 aboutToDisappear()') } build() { - nLog(`In Page3 build()`) + //nLog(`In Page3 build()`) Column({}) { Button("Click") .width(200).height(100) .backgroundColor('#ff0000') .onClick((e?: ClickEvent) => { this.value++ - nLog(`Page3: clicked ${this.value}`) + //nLog(`Page3: clicked ${this.value}`) }) Button("Go") .width(200).height(100) .backgroundColor('#ff0000') .onClick((e?: ClickEvent) => { - nLog(`Page3: Go clicked`) + //nLog(`Page3: Go clicked`) router.push({ url: "page2" }) }) } -- Gitee From 7229fc990116fa9868deee6b83120e0657244053 Mon Sep 17 00:00:00 2001 From: Ilya Erokhin Date: Wed, 21 May 2025 11:03:46 +0300 Subject: [PATCH 4/6] Koala Generated Code for Custom Layout - step 1 (base) --- arkoala-arkts/arkui/src/generated/arkts/type_check.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts index 5b631c58ad..5bc0537bb9 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts @@ -5698,7 +5698,7 @@ export class TypeChecker { static isArray_LocalizedBarrierStyle(value: Object | string | number | undefined): boolean { return value instanceof Array } - static isArray_CustomObject(value: Object | string | number | undefined): boolean { + static isArray_CustomObject(value: Object | string | number | undefined): boolean { return value instanceof Array } } -- Gitee From f23cbe6147e7392fc0975b3096e26ec31822d65e Mon Sep 17 00:00:00 2001 From: Ilya Erokhin Date: Wed, 21 May 2025 11:17:47 +0300 Subject: [PATCH 5/6] Koala Generated Code for Custom Layout - step 2 (Layoutable) --- .../arkts/ArkUIGeneratedNativeModule.ts | 20 +++ .../arkui/src/generated/arkts/type_check.ts | 5 +- arkoala-arkts/arkui/src/generated/common.ts | 121 +++++++++++++++- .../arkui/src/generated/peers/Deserializer.ts | 7 +- .../arkui/src/generated/peers/Serializer.ts | 6 +- .../arkui/src/generated/ts/type_check.ts | 13 +- arkoala-arkts/arkui/types/index-full.d.ts | 7 +- .../native/src/generated/Serializers.h | 38 +++++ .../src/generated/arkoala_api_generated.h | 25 ++++ .../native/src/generated/bridge_generated.cc | 73 ++++++++++ .../native/src/generated/dummy_impl.cc | 132 ++++++++++++++++++ .../native/src/generated/real_impl.cc | 71 ++++++++++ arkoala/arkui-types/index-full.d.ts | 7 +- .../arkui/src/generated/AllMaterialized.ts | 118 +++++++++++++++- .../ArkUIGeneratedNativeModuleEmpty.ts | 37 +++++ arkoala/arkui/src/generated/common.ts | 3 - .../peers/ArkUIGeneratedNativeModule.ts | 70 ++++++++++ .../arkui/src/generated/peers/Deserializer.ts | 7 +- .../arkui/src/generated/peers/Serializer.ts | 6 +- 19 files changed, 750 insertions(+), 16 deletions(-) diff --git a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts index 874fb34d9a..8906cf0d3a 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts @@ -4895,6 +4895,26 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ProgressMask_enableBreathingAnimation(ptr: KPointer, value: KInt): void @ani.unsafe.Direct + native static _Layoutable_ctor(): KPointer + @ani.unsafe.Direct + native static _Layoutable_getFinalizer(): KPointer + @ani.unsafe.Direct + native static _Layoutable_layout(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _Layoutable_getMargin(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Quick + native static _Layoutable_getPadding(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Quick + native static _Layoutable_getBorderWidth(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Quick + native static _Layoutable_getMeasureResult(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _Layoutable_setMeasureResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Quick + native static _Layoutable_getUniqueId(ptr: KPointer): KInteropReturnBuffer + @ani.unsafe.Direct + native static _Layoutable_setUniqueId(ptr: KPointer, uniqueId: number): void + @ani.unsafe.Direct native static _Measurable_ctor(): KPointer @ani.unsafe.Direct native static _Measurable_getFinalizer(): KPointer diff --git a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts index 5bc0537bb9..5268d92a00 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts @@ -19,7 +19,7 @@ import { KBoolean, KStringPtr, NativeBuffer, MaterializedBase } from "@koalaui/interop" import { int32 } from "@koalaui/common" import { AccessibilityHoverType, Alignment, AnimationStatus, AppRotation, ArrowPointPosition, Axis, AxisAction, AxisModel, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, Color, ColoringStrategy, CopyOptions, CrownAction, CrownSensitivity, Curve, DialogButtonStyle, Direction, DividerMode, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FocusDrawLevel, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, InteractionHand, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PageFlipMode, PixelRoundCalcPolicy, PixelRoundMode, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" -import { AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, EffectEdge, EffectType, FinishCallbackType, GestureModifier, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, RectResult, Literal_Boolean_isVisible, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PopupStateChangeParam, PreDragStatus, ProgressMask, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, Callback_ClickEvent_Void, ClickEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, HoverCallback, HoverEvent, Callback_MouseEvent_Void, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, View, Callback_KeyEvent_Boolean, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, CrownEvent, DateRange, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragInteractionOptions, DragItemInfo, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, Tuple_ResourceColor_Number, LinearGradient_common, FractionStop, LinearGradientBlurOptions, LinearGradientOptions, Literal_Alignment_align, Literal_Number_offset_span, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_String_value_Callback_Void_action, Literal_TransitionEffect_appear_disappear, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, SheetDismiss, SpringBackAction, StateStyles, SystemAdaptiveOptions, TouchObject, TouchResult, AlignRuleOption, BlurStyleOptions, ContentCoverOptions, BindOptions, Callback_DismissContentCoverAction_Void, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, Literal_ResourceColor_color, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ReuseIdCallback, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, EventTarget, FocusAxisEvent, BaseEvent, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, AccessibilityHoverEvent, AxisEvent, PopupOptions, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, PromptActionDialogController, LayoutChild, Layoutable } from "./../common" +import { AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, EffectEdge, EffectType, FinishCallbackType, GestureModifier, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, RectResult, Literal_Boolean_isVisible, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PopupStateChangeParam, PreDragStatus, ProgressMask, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, Callback_ClickEvent_Void, ClickEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, HoverCallback, HoverEvent, Callback_MouseEvent_Void, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, View, Callback_KeyEvent_Boolean, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, CrownEvent, DateRange, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragInteractionOptions, DragItemInfo, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, Tuple_ResourceColor_Number, LinearGradient_common, FractionStop, LinearGradientBlurOptions, LinearGradientOptions, Literal_Alignment_align, Literal_Number_offset_span, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_String_value_Callback_Void_action, Literal_TransitionEffect_appear_disappear, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, SheetDismiss, SpringBackAction, StateStyles, SystemAdaptiveOptions, TouchObject, TouchResult, AlignRuleOption, BlurStyleOptions, ContentCoverOptions, BindOptions, Callback_DismissContentCoverAction_Void, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, Layoutable, LightSource, Literal_ResourceColor_color, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ReuseIdCallback, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, EventTarget, FocusAxisEvent, BaseEvent, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, AccessibilityHoverEvent, AxisEvent, PopupOptions, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, PromptActionDialogController, LayoutChild } from "./../common" import { Affinity, EllipsisMode, FontStyle, FontWidth, TextBox, LineMetrics, TextBaseline, TextDecorationStyle, TextDecorationType, TextDirection, FontFeature, FontVariation, RunMetrics, RectStyle, Decoration, TextShadow, text } from "./../arkui-graphics-text" import { AlphabetIndexerAttribute, Callback_Number_Void, OnAlphabetIndexerSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerPopupSelectCallback, IndexerAlign, AlphabetIndexerOptions } from "./../alphabet_indexer" import { ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ResourceStr, Dimension, LengthConstrain, VoidCallback, DividerStyleOptions, ConstraintSizeOptions, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, Area, BorderOptions, OutlineOptions } from "./../units" @@ -1402,6 +1402,9 @@ export class TypeChecker { static isLayeredDrawableDescriptor(value: Object | string | number | undefined): boolean { return value instanceof LayeredDrawableDescriptor } + static isLayoutable(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof Layoutable + } static isLayoutDirection(value: Object | string | number | undefined): boolean { return value instanceof LayoutDirection } diff --git a/arkoala-arkts/arkui/src/generated/common.ts b/arkoala-arkts/arkui/src/generated/common.ts index e6956db248..e5a6cc67f7 100644 --- a/arkoala-arkts/arkui/src/generated/common.ts +++ b/arkoala-arkts/arkui/src/generated/common.ts @@ -28,7 +28,7 @@ import { UnifiedData, UnifiedDataInternal, ComponentContent, UIContext, Context, import { Summary, IntentionCode, EdgeStyles, CircleShape, EllipseShape, PathShape, RectShape, ImageModifier, SymbolGlyphModifier } from "./arkui-external" import { Callback_Void } from "./ability_component" import { KeyType, KeySource, Color, HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, FocusDrawLevel, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, InteractionHand, GradientDirection, Curve, SharedTransitionEffectType, ArrowPointPosition, Placement, LineCapStyle, LineJoinStyle, BarState, CrownSensitivity, EdgeEffect, PlayMode, HorizontalAlign, VerticalAlign, TransitionType, FontWeight, TouchType, CrownAction, ClickEffectLevel, NestedScrollMode, PixelRoundCalcPolicy, IlluminatedType, MouseButton, MouseAction, AccessibilityHoverType, AxisAction, AxisModel } from "./enums" -import { ResourceColor, ConstraintSizeOptions, DirectionalEdgesT, SizeOptions, Length, ChainWeightOptions, Padding, LocalizedPadding, Position, BorderOptions, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Bias, Font } from "./units" +import { ResourceColor, Position, DirectionalEdgesT, ConstraintSizeOptions, SizeOptions, Length, ChainWeightOptions, Padding, LocalizedPadding, BorderOptions, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, Bias, Font } from "./units" import { Resource } from "./resource" import { TextRange } from "./text_common" import { ComponentBase } from "./../ComponentBase" @@ -1268,6 +1268,122 @@ export class ProgressMask implements MaterializedBase { ArkUIGeneratedNativeModule._ProgressMask_enableBreathingAnimation(this.peer!.ptr, value ? 1 : 0) } } +export interface Layoutable { + measureResult: MeasureResult + uniqueId?: number | undefined + layout(position: Position): void + getMargin(): DirectionalEdgesT + getPadding(): DirectionalEdgesT + getBorderWidth(): DirectionalEdgesT +} +export class LayoutableInternal implements MaterializedBase,Layoutable { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + get measureResult(): MeasureResult { + throw new Error("Not implemented") + } + set measureResult(measureResult: MeasureResult) { + this.setMeasureResult(measureResult) + } + get uniqueId(): number | undefined { + return this.getUniqueId() + } + set uniqueId(uniqueId: number | undefined) { + const uniqueId_NonNull = (uniqueId as number) + this.setUniqueId(uniqueId_NonNull) + } + static ctor_layoutable(): KPointer { + const retval = ArkUIGeneratedNativeModule._Layoutable_ctor() + return retval + } + constructor() { + const ctorPtr : KPointer = LayoutableInternal.ctor_layoutable() + this.peer = new Finalizable(ctorPtr, LayoutableInternal.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._Layoutable_getFinalizer() + } + public layout(position: Position): void { + const position_casted = position as (Position) + this.layout_serialize(position_casted) + return + } + public getMargin(): DirectionalEdgesT { + return this.getMargin_serialize() + } + public getPadding(): DirectionalEdgesT { + return this.getPadding_serialize() + } + public getBorderWidth(): DirectionalEdgesT { + return this.getBorderWidth_serialize() + } + private getMeasureResult(): MeasureResult { + return this.getMeasureResult_serialize() + } + private setMeasureResult(measureResult: MeasureResult): void { + const measureResult_casted = measureResult as (MeasureResult) + this.setMeasureResult_serialize(measureResult_casted) + return + } + private getUniqueId(): number | undefined { + return this.getUniqueId_serialize() + } + private setUniqueId(uniqueId: number): void { + const uniqueId_casted = uniqueId as (number) + this.setUniqueId_serialize(uniqueId_casted) + return + } + private layout_serialize(position: Position): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writePosition(position) + ArkUIGeneratedNativeModule._Layoutable_layout(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private getMargin_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Layoutable_getMargin(this.peer!.ptr) + let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) + const returnResult : DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() + return returnResult + } + private getPadding_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Layoutable_getPadding(this.peer!.ptr) + let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) + const returnResult : DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() + return returnResult + } + private getBorderWidth_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Layoutable_getBorderWidth(this.peer!.ptr) + let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) + const returnResult : DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() + return returnResult + } + private getMeasureResult_serialize(): MeasureResult { + const retval = ArkUIGeneratedNativeModule._Layoutable_getMeasureResult(this.peer!.ptr) + let retvalDeserializer : Deserializer = new Deserializer(retval, retval.length) + const returnResult : MeasureResult = retvalDeserializer.readMeasureResult() + return returnResult + } + private setMeasureResult_serialize(measureResult: MeasureResult): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeMeasureResult(measureResult) + ArkUIGeneratedNativeModule._Layoutable_setMeasureResult(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private getUniqueId_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._Layoutable_getUniqueId(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setUniqueId_serialize(uniqueId: number): void { + ArkUIGeneratedNativeModule._Layoutable_setUniqueId(this.peer!.ptr, uniqueId) + } + public static fromPtr(ptr: KPointer): LayoutableInternal { + const obj : LayoutableInternal = new LayoutableInternal() + obj.peer = new Finalizable(ptr, LayoutableInternal.getFinalizer()) + return obj + } +} export interface Measurable { uniqueId?: number | undefined measure(constraint: ConstraintSizeOptions): MeasureResult @@ -8228,9 +8344,6 @@ export interface GeometryInfo extends SizeResult { margin: Padding; padding: Padding; } -export interface Layoutable { - stub: string; -} export interface SizeResult { width: number; height: number; diff --git a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts index 4c9647133b..99c188fd00 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts @@ -22,7 +22,7 @@ import { CallbackKind } from "./CallbackKind" import { Serializer } from "./Serializer" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, AccessibilityHoverEvent, AccessibilityHoverEventInternal, AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragEventInternal, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, DrawModifierInternal, EffectEdge, EffectType, FinishCallbackType, GestureModifier, GestureModifierInternal, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, ICurveInternal, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, ChildrenMainSizeInternal, RectResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PixelMapMockInternal, PopupStateChangeParam, PreDragStatus, ProgressMask, ProgressMaskInternal, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, TextContentControllerBaseInternal, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffectInternal, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, UICommonEventInternal, Callback_ClickEvent_Void, ClickEvent, ClickEventInternal, Callback_TouchEvent_Void, TouchEvent, TouchEventInternal, Callback_KeyEvent_Void, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, Callback_MouseEvent_Void, MouseEvent, MouseEventInternal, VisibleAreaEventOptions, SheetOptions, View, ViewInternal, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchResult, Callback_AxisEvent_Void, AxisEvent, AxisEventInternal, Callback_Boolean_HoverEvent_Void, Callback_CrownEvent_Void, CrownEvent, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, FocusAxisEventInternal, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_PreDragStatus_Void, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DragInteractionOptions, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, LinearGradient_common, Tuple_ResourceColor_Number, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasurableInternal, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, StateStyles, SystemAdaptiveOptions, TouchObject, AlignRuleOption, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, BlurStyleOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Literal_ResourceColor_color, EventTarget, BaseEvent, BaseEventInternal, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, PopupOptions, Literal_String_value_Callback_Void_action } from "./../common" +import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, AccessibilityHoverEvent, AccessibilityHoverEventInternal, AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragEventInternal, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, DrawModifierInternal, EffectEdge, EffectType, FinishCallbackType, GestureModifier, GestureModifierInternal, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, ICurveInternal, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, ChildrenMainSizeInternal, RectResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PixelMapMockInternal, PopupStateChangeParam, PreDragStatus, ProgressMask, ProgressMaskInternal, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, TextContentControllerBaseInternal, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffectInternal, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, UICommonEventInternal, Callback_ClickEvent_Void, ClickEvent, ClickEventInternal, Callback_TouchEvent_Void, TouchEvent, TouchEventInternal, Callback_KeyEvent_Void, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, Callback_MouseEvent_Void, MouseEvent, MouseEventInternal, VisibleAreaEventOptions, SheetOptions, View, ViewInternal, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchResult, Callback_AxisEvent_Void, AxisEvent, AxisEventInternal, Callback_Boolean_HoverEvent_Void, Callback_CrownEvent_Void, CrownEvent, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, FocusAxisEventInternal, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_PreDragStatus_Void, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DragInteractionOptions, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, LinearGradient_common, Tuple_ResourceColor_Number, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasurableInternal, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, StateStyles, SystemAdaptiveOptions, TouchObject, AlignRuleOption, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, BlurStyleOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, Layoutable, LayoutableInternal, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Literal_ResourceColor_color, EventTarget, BaseEvent, BaseEventInternal, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, PopupOptions, Literal_String_value_Callback_Void_action } from "./../common" import { ButtonTriggerClickCallback, ButtonRole, ButtonStyleMode, ButtonType, ControlSize, ButtonOptions } from "./../button" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../animation_extender" import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, ComponentContent, ComponentContentInternal, UnifiedData, UnifiedDataInternal, UIContext, UIContextInternal, SystemBarStyle, PointerStyle, Scene, SceneInternal, Context, ContextInternal, WorkerEventListener, WorkerEventListenerInternal, Event, ErrorEvent, MessageEvents, BaseContext, BaseContextInternal, PostMessageOptions, WorkerOptions, CustomColors, RestrictedWorker, RestrictedWorkerInternal, CustomTheme } from "./../arkui-custom" @@ -14636,6 +14636,11 @@ export class Deserializer extends DeserializerBase { let value : JavaScriptProxy = ({object_: object__result, name: name_result, methodList: methodList_result, controller: controller_result, asyncMethodList: asyncMethodList_result, permission: permission_result} as JavaScriptProxy) return value } + public readLayoutable(): Layoutable { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return LayoutableInternal.fromPtr(ptr) + } public readLengthConstrain(): LengthConstrain { let valueDeserializer : Deserializer = this const minLength_buf_selector : int32 = valueDeserializer.readInt8() diff --git a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts index 4c1cc3a1e2..fe81163b14 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts @@ -21,7 +21,7 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, AccessibilityHoverEvent, AccessibilityHoverEventInternal, AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragEventInternal, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, DrawModifierInternal, EffectEdge, EffectType, FinishCallbackType, GestureModifier, GestureModifierInternal, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, ICurveInternal, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, ChildrenMainSizeInternal, RectResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PixelMapMockInternal, PopupStateChangeParam, PreDragStatus, ProgressMask, ProgressMaskInternal, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, TextContentControllerBaseInternal, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffectInternal, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, UICommonEventInternal, Callback_ClickEvent_Void, ClickEvent, ClickEventInternal, Callback_TouchEvent_Void, TouchEvent, TouchEventInternal, Callback_KeyEvent_Void, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, Callback_MouseEvent_Void, MouseEvent, MouseEventInternal, VisibleAreaEventOptions, SheetOptions, View, ViewInternal, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchResult, Callback_AxisEvent_Void, AxisEvent, AxisEventInternal, Callback_Boolean_HoverEvent_Void, Callback_CrownEvent_Void, CrownEvent, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, FocusAxisEventInternal, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_PreDragStatus_Void, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DragInteractionOptions, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, LinearGradient_common, Tuple_ResourceColor_Number, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasurableInternal, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, StateStyles, SystemAdaptiveOptions, TouchObject, AlignRuleOption, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, BlurStyleOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Literal_ResourceColor_color, EventTarget, BaseEvent, BaseEventInternal, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, PopupOptions, Literal_String_value_Callback_Void_action } from "./../common" +import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, AccessibilityHoverEvent, AccessibilityHoverEventInternal, AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragEventInternal, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, DrawModifierInternal, EffectEdge, EffectType, FinishCallbackType, GestureModifier, GestureModifierInternal, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, ICurveInternal, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, ChildrenMainSizeInternal, RectResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PixelMapMockInternal, PopupStateChangeParam, PreDragStatus, ProgressMask, ProgressMaskInternal, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, TextContentControllerBaseInternal, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffectInternal, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, UICommonEventInternal, Callback_ClickEvent_Void, ClickEvent, ClickEventInternal, Callback_TouchEvent_Void, TouchEvent, TouchEventInternal, Callback_KeyEvent_Void, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, Callback_MouseEvent_Void, MouseEvent, MouseEventInternal, VisibleAreaEventOptions, SheetOptions, View, ViewInternal, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchResult, Callback_AxisEvent_Void, AxisEvent, AxisEventInternal, Callback_Boolean_HoverEvent_Void, Callback_CrownEvent_Void, CrownEvent, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, FocusAxisEventInternal, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_PreDragStatus_Void, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DragInteractionOptions, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, LinearGradient_common, Tuple_ResourceColor_Number, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasurableInternal, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, StateStyles, SystemAdaptiveOptions, TouchObject, AlignRuleOption, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, BlurStyleOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, Layoutable, LayoutableInternal, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Literal_ResourceColor_color, EventTarget, BaseEvent, BaseEventInternal, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, PopupOptions, Literal_String_value_Callback_Void_action } from "./../common" import { ButtonTriggerClickCallback, ButtonRole, ButtonStyleMode, ButtonType, ControlSize, ButtonOptions } from "./../button" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../animation_extender" import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, ComponentContent, ComponentContentInternal, UnifiedData, UnifiedDataInternal, UIContext, UIContextInternal, SystemBarStyle, PointerStyle, Scene, SceneInternal, Context, ContextInternal, WorkerEventListener, WorkerEventListenerInternal, Event, ErrorEvent, MessageEvents, BaseContext, BaseContextInternal, PostMessageOptions, WorkerOptions, CustomColors, RestrictedWorker, RestrictedWorkerInternal, CustomTheme } from "./../arkui-custom" @@ -10571,6 +10571,10 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_permission_value) } } + public writeLayoutable(value: Layoutable): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } public writeLengthConstrain(value: LengthConstrain): void { let valueSerializer : Serializer = this const value_minLength = value.minLength diff --git a/arkoala-arkts/arkui/src/generated/ts/type_check.ts b/arkoala-arkts/arkui/src/generated/ts/type_check.ts index f47fdb826a..f312162dd0 100644 --- a/arkoala-arkts/arkui/src/generated/ts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/ts/type_check.ts @@ -19,7 +19,7 @@ import { KBoolean, KStringPtr, NativeBuffer, MaterializedBase } from "@koalaui/interop" import { int32 } from "@koalaui/common" import { AccessibilityHoverType, Alignment, AnimationStatus, AppRotation, ArrowPointPosition, Axis, AxisAction, AxisModel, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, Color, ColoringStrategy, CopyOptions, CrownAction, CrownSensitivity, Curve, DialogButtonStyle, Direction, DividerMode, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FocusDrawLevel, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, InteractionHand, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PageFlipMode, PixelRoundCalcPolicy, PixelRoundMode, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" -import { AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, EffectEdge, EffectType, FinishCallbackType, GestureModifier, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, RectResult, Literal_Boolean_isVisible, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PopupStateChangeParam, PreDragStatus, ProgressMask, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, Callback_ClickEvent_Void, ClickEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, HoverCallback, HoverEvent, Callback_MouseEvent_Void, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, View, Callback_KeyEvent_Boolean, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, CrownEvent, DateRange, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragInteractionOptions, DragItemInfo, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, Tuple_ResourceColor_Number, LinearGradient_common, FractionStop, LinearGradientBlurOptions, LinearGradientOptions, Literal_Alignment_align, Literal_Number_offset_span, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_String_value_Callback_Void_action, Literal_TransitionEffect_appear_disappear, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, SheetDismiss, SpringBackAction, StateStyles, SystemAdaptiveOptions, TouchObject, TouchResult, AlignRuleOption, BlurStyleOptions, ContentCoverOptions, BindOptions, Callback_DismissContentCoverAction_Void, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, Literal_ResourceColor_color, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ReuseIdCallback, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, EventTarget, FocusAxisEvent, BaseEvent, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, AccessibilityHoverEvent, AxisEvent, PopupOptions, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, PromptActionDialogController, LayoutChild, Layoutable } from "./../common" +import { AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, EffectEdge, EffectType, FinishCallbackType, GestureModifier, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, RectResult, Literal_Boolean_isVisible, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PopupStateChangeParam, PreDragStatus, ProgressMask, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, Callback_ClickEvent_Void, ClickEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, HoverCallback, HoverEvent, Callback_MouseEvent_Void, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, View, Callback_KeyEvent_Boolean, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, CrownEvent, DateRange, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragInteractionOptions, DragItemInfo, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, Tuple_ResourceColor_Number, LinearGradient_common, FractionStop, LinearGradientBlurOptions, LinearGradientOptions, Literal_Alignment_align, Literal_Number_offset_span, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_String_value_Callback_Void_action, Literal_TransitionEffect_appear_disappear, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, SheetDismiss, SpringBackAction, StateStyles, SystemAdaptiveOptions, TouchObject, TouchResult, AlignRuleOption, BlurStyleOptions, ContentCoverOptions, BindOptions, Callback_DismissContentCoverAction_Void, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, Layoutable, LightSource, Literal_ResourceColor_color, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ReuseIdCallback, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, EventTarget, FocusAxisEvent, BaseEvent, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, AccessibilityHoverEvent, AxisEvent, PopupOptions, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, PromptActionDialogController, LayoutChild } from "./../common" import { Affinity, EllipsisMode, FontStyle, FontWidth, TextBox, LineMetrics, TextBaseline, TextDecorationStyle, TextDecorationType, TextDirection, FontFeature, FontVariation, RunMetrics, RectStyle, Decoration, TextShadow, text } from "./../arkui-graphics-text" import { AlphabetIndexerAttribute, Callback_Number_Void, OnAlphabetIndexerSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerPopupSelectCallback, IndexerAlign, AlphabetIndexerOptions } from "./../alphabet_indexer" import { ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ResourceStr, Dimension, LengthConstrain, VoidCallback, DividerStyleOptions, ConstraintSizeOptions, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, Area, BorderOptions, OutlineOptions } from "./../units" @@ -7609,6 +7609,17 @@ export class TypeChecker { static isLayeredDrawableDescriptor(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof LayeredDrawableDescriptor") } + static isLayoutable(value: Object | string | number | undefined | boolean, duplicated_measureResult: boolean, duplicated_uniqueId: boolean): boolean { + if ((!duplicated_measureResult) && (value?.hasOwnProperty("measureResult"))) { + return true + } + else if ((!duplicated_uniqueId) && (value?.hasOwnProperty("uniqueId"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof Layoutable") + } + } static isLayoutDirection(value: Object | string | number | undefined | boolean): boolean { if ((value) === (LayoutDirection.LTR)) { return true diff --git a/arkoala-arkts/arkui/types/index-full.d.ts b/arkoala-arkts/arkui/types/index-full.d.ts index 2484f6aea0..2d6be49610 100644 --- a/arkoala-arkts/arkui/types/index-full.d.ts +++ b/arkoala-arkts/arkui/types/index-full.d.ts @@ -3450,7 +3450,12 @@ declare interface GeometryInfo extends SizeResult { padding: Padding; } declare interface Layoutable { - stub: string; + measureResult: MeasureResult; + uniqueId?: number; + layout(position: Position): void; + getMargin(): DirectionalEdgesT; + getPadding(): DirectionalEdgesT; + getBorderWidth(): DirectionalEdgesT; } declare interface Measurable { uniqueId?: number; diff --git a/arkoala-arkts/framework/native/src/generated/Serializers.h b/arkoala-arkts/framework/native/src/generated/Serializers.h index ca937b4a92..65de33d571 100644 --- a/arkoala-arkts/framework/native/src/generated/Serializers.h +++ b/arkoala-arkts/framework/native/src/generated/Serializers.h @@ -46868,6 +46868,33 @@ inline Ark_RuntimeType runtimeType(const Opt_JavaScriptProxy& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_Layoutable& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Layoutable value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_Layoutable* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Layoutable& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Length& value) { switch (value.selector) { @@ -73029,6 +73056,11 @@ class Serializer : public SerializerBase { valueSerializer.writeString(value_permission_value); } } + void writeLayoutable(Ark_Layoutable value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeLengthConstrain(Ark_LengthConstrain value) { Serializer& valueSerializer = *this; @@ -103499,6 +103531,12 @@ class Deserializer : public DeserializerBase { value.permission = permission_buf; return value; } + Ark_Layoutable readLayoutable() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } Ark_LengthConstrain readLengthConstrain() { Ark_LengthConstrain value = {}; diff --git a/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h b/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h index 0a59520ef4..97aacbe898 100644 --- a/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h @@ -2482,6 +2482,9 @@ typedef struct Ark_ImageFrameInfo Ark_ImageFrameInfo; typedef struct Opt_ImageFrameInfo Opt_ImageFrameInfo; typedef struct Ark_JavaScriptProxy Ark_JavaScriptProxy; typedef struct Opt_JavaScriptProxy Opt_JavaScriptProxy; +typedef struct LayoutablePeer LayoutablePeer; +typedef struct LayoutablePeer* Ark_Layoutable; +typedef struct Opt_Layoutable Opt_Layoutable; typedef struct Ark_Length Ark_Length; typedef struct Opt_Length Opt_Length; typedef struct Ark_LengthConstrain Ark_LengthConstrain; @@ -15467,6 +15470,10 @@ typedef struct Opt_JavaScriptProxy { Ark_Tag tag; Ark_JavaScriptProxy value; } Opt_JavaScriptProxy; +typedef struct Opt_Layoutable { + Ark_Tag tag; + Ark_Layoutable value; +} Opt_Layoutable; typedef struct Ark_Length { Ark_Int32 selector; union { @@ -24385,6 +24392,23 @@ typedef struct GENERATED_ArkUIProgressMaskAccessor { Ark_Boolean value); } GENERATED_ArkUIProgressMaskAccessor; +typedef struct GENERATED_ArkUILayoutableAccessor { + void (*destroyPeer)(Ark_Layoutable peer); + Ark_Layoutable (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*layout)(Ark_Layoutable peer, + const Ark_Position* position); + Ark_DirectionalEdgesT (*getMargin)(Ark_Layoutable peer); + Ark_DirectionalEdgesT (*getPadding)(Ark_Layoutable peer); + Ark_DirectionalEdgesT (*getBorderWidth)(Ark_Layoutable peer); + Ark_MeasureResult (*getMeasureResult)(Ark_Layoutable peer); + void (*setMeasureResult)(Ark_Layoutable peer, + const Ark_MeasureResult* measureResult); + Opt_Number (*getUniqueId)(Ark_Layoutable peer); + void (*setUniqueId)(Ark_Layoutable peer, + const Ark_Number* uniqueId); +} GENERATED_ArkUILayoutableAccessor; + typedef struct GENERATED_ArkUIMeasurableAccessor { void (*destroyPeer)(Ark_Measurable peer); Ark_Measurable (*ctor)(); @@ -26667,6 +26691,7 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIKeyEventAccessor* (*getKeyEventAccessor)(); const GENERATED_ArkUIFocusAxisEventAccessor* (*getFocusAxisEventAccessor)(); const GENERATED_ArkUIProgressMaskAccessor* (*getProgressMaskAccessor)(); + const GENERATED_ArkUILayoutableAccessor* (*getLayoutableAccessor)(); const GENERATED_ArkUIMeasurableAccessor* (*getMeasurableAccessor)(); const GENERATED_ArkUIViewAccessor* (*getViewAccessor)(); const GENERATED_ArkUITextContentControllerBaseAccessor* (*getTextContentControllerBaseAccessor)(); diff --git a/arkoala-arkts/framework/native/src/generated/bridge_generated.cc b/arkoala-arkts/framework/native/src/generated/bridge_generated.cc index 14959abafc..77889d6bbf 100644 --- a/arkoala-arkts/framework/native/src/generated/bridge_generated.cc +++ b/arkoala-arkts/framework/native/src/generated/bridge_generated.cc @@ -27131,6 +27131,79 @@ void impl_ProgressMask_enableBreathingAnimation(Ark_NativePointer thisPtr, Ark_B GetAccessors()->getProgressMaskAccessor()->enableBreathingAnimation(self, value); } KOALA_INTEROP_DIRECT_V2(ProgressMask_enableBreathingAnimation, Ark_NativePointer, Ark_Boolean) +Ark_NativePointer impl_Layoutable_ctor() { + return GetAccessors()->getLayoutableAccessor()->ctor(); +} +KOALA_INTEROP_DIRECT_0(Layoutable_ctor, Ark_NativePointer) +Ark_NativePointer impl_Layoutable_getFinalizer() { + return GetAccessors()->getLayoutableAccessor()->getFinalizer(); +} +KOALA_INTEROP_DIRECT_0(Layoutable_getFinalizer, Ark_NativePointer) +void impl_Layoutable_layout(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_Layoutable self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Position position_value = thisDeserializer.readPosition();; + GetAccessors()->getLayoutableAccessor()->layout(self, (const Ark_Position*)&position_value); +} +KOALA_INTEROP_DIRECT_V3(Layoutable_layout, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_Layoutable_getMargin(Ark_NativePointer thisPtr) { + Ark_Layoutable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutableAccessor()->getMargin(self); + Serializer _retSerializer {}; + _retSerializer.writeDirectionalEdgesT(retValue); + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(Layoutable_getMargin, KInteropReturnBuffer, Ark_NativePointer) +KInteropReturnBuffer impl_Layoutable_getPadding(Ark_NativePointer thisPtr) { + Ark_Layoutable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutableAccessor()->getPadding(self); + Serializer _retSerializer {}; + _retSerializer.writeDirectionalEdgesT(retValue); + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(Layoutable_getPadding, KInteropReturnBuffer, Ark_NativePointer) +KInteropReturnBuffer impl_Layoutable_getBorderWidth(Ark_NativePointer thisPtr) { + Ark_Layoutable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutableAccessor()->getBorderWidth(self); + Serializer _retSerializer {}; + _retSerializer.writeDirectionalEdgesT(retValue); + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(Layoutable_getBorderWidth, KInteropReturnBuffer, Ark_NativePointer) +KInteropReturnBuffer impl_Layoutable_getMeasureResult(Ark_NativePointer thisPtr) { + Ark_Layoutable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutableAccessor()->getMeasureResult(self); + Serializer _retSerializer {}; + _retSerializer.writeMeasureResult(retValue); + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(Layoutable_getMeasureResult, KInteropReturnBuffer, Ark_NativePointer) +void impl_Layoutable_setMeasureResult(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_Layoutable self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_MeasureResult measureResult_value = thisDeserializer.readMeasureResult();; + GetAccessors()->getLayoutableAccessor()->setMeasureResult(self, (const Ark_MeasureResult*)&measureResult_value); +} +KOALA_INTEROP_DIRECT_V3(Layoutable_setMeasureResult, Ark_NativePointer, KSerializerBuffer, int32_t) +KInteropReturnBuffer impl_Layoutable_getUniqueId(Ark_NativePointer thisPtr) { + Ark_Layoutable self = reinterpret_cast(thisPtr); + const auto &retValue = GetAccessors()->getLayoutableAccessor()->getUniqueId(self); + Serializer _retSerializer {}; + Ark_Int32 retValue_type = INTEROP_RUNTIME_UNDEFINED; + retValue_type = runtimeType(retValue); + _retSerializer.writeInt8(retValue_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (retValue_type)) { + const auto retValue_value = retValue.value; + _retSerializer.writeNumber(retValue_value); + } + return _retSerializer.toReturnBuffer(); +} +KOALA_INTEROP_1(Layoutable_getUniqueId, KInteropReturnBuffer, Ark_NativePointer) +void impl_Layoutable_setUniqueId(Ark_NativePointer thisPtr, KInteropNumber uniqueId) { + Ark_Layoutable self = reinterpret_cast(thisPtr); + GetAccessors()->getLayoutableAccessor()->setUniqueId(self, (const Ark_Number*) (&uniqueId)); +} +KOALA_INTEROP_DIRECT_V2(Layoutable_setUniqueId, Ark_NativePointer, KInteropNumber) Ark_NativePointer impl_Measurable_ctor() { return GetAccessors()->getMeasurableAccessor()->ctor(); } diff --git a/arkoala-arkts/framework/native/src/generated/dummy_impl.cc b/arkoala-arkts/framework/native/src/generated/dummy_impl.cc index ad18308d0e..866062a58f 100644 --- a/arkoala-arkts/framework/native/src/generated/dummy_impl.cc +++ b/arkoala-arkts/framework/native/src/generated/dummy_impl.cc @@ -30651,6 +30651,116 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // ProgressMaskAccessor + namespace LayoutableAccessor { + void DestroyPeerImpl(Ark_Layoutable peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Layoutable CtorImpl() + { + if (!needGroupedLog(1)) + return (Ark_Layoutable) 100; + string out("new Layoutable("); + out.append(") \n"); + out.append("[return (Ark_Layoutable) 100] \n"); + appendGroupedLog(1, out); + return (Ark_Layoutable) 100; + } + Ark_NativePointer GetFinalizerImpl() + { + if (!needGroupedLog(1)) + return fnPtr(dummyClassFinalizer); + string out("getFinalizer("); + out.append(") \n"); + out.append("[return fnPtr(dummyClassFinalizer)] \n"); + appendGroupedLog(1, out); + return fnPtr(dummyClassFinalizer); + } + void LayoutImpl(Ark_Layoutable peer, + const Ark_Position* position) + { + if (!needGroupedLog(1)) + return; + string out("layout("); + WriteToString(&out, position); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_DirectionalEdgesT GetMarginImpl(Ark_Layoutable peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getMargin("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + Ark_DirectionalEdgesT GetPaddingImpl(Ark_Layoutable peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getPadding("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + Ark_DirectionalEdgesT GetBorderWidthImpl(Ark_Layoutable peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getBorderWidth("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + Ark_MeasureResult GetMeasureResultImpl(Ark_Layoutable peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getMeasureResult("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetMeasureResultImpl(Ark_Layoutable peer, + const Ark_MeasureResult* measureResult) + { + if (!needGroupedLog(1)) + return; + string out("setMeasureResult("); + WriteToString(&out, measureResult); + out.append(") \n"); + appendGroupedLog(1, out); + } + Opt_Number GetUniqueIdImpl(Ark_Layoutable peer) + { + if (!needGroupedLog(1)) + return {}; + string out("getUniqueId("); + out.append(") \n"); + out.append("[return {}] \n"); + appendGroupedLog(1, out); + return {}; + } + void SetUniqueIdImpl(Ark_Layoutable peer, + const Ark_Number* uniqueId) + { + if (!needGroupedLog(1)) + return; + string out("setUniqueId("); + WriteToString(&out, uniqueId); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // LayoutableAccessor namespace MeasurableAccessor { void DestroyPeerImpl(Ark_Measurable peer) { @@ -43563,6 +43673,27 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ProgressMaskPeer { virtual ~ProgressMaskPeer() = default; }; + const GENERATED_ArkUILayoutableAccessor* GetLayoutableAccessor() + { + static const GENERATED_ArkUILayoutableAccessor LayoutableAccessorImpl { + LayoutableAccessor::DestroyPeerImpl, + LayoutableAccessor::CtorImpl, + LayoutableAccessor::GetFinalizerImpl, + LayoutableAccessor::LayoutImpl, + LayoutableAccessor::GetMarginImpl, + LayoutableAccessor::GetPaddingImpl, + LayoutableAccessor::GetBorderWidthImpl, + LayoutableAccessor::GetMeasureResultImpl, + LayoutableAccessor::SetMeasureResultImpl, + LayoutableAccessor::GetUniqueIdImpl, + LayoutableAccessor::SetUniqueIdImpl, + }; + return &LayoutableAccessorImpl; + } + + struct LayoutablePeer { + virtual ~LayoutablePeer() = default; + }; const GENERATED_ArkUIMeasurableAccessor* GetMeasurableAccessor() { static const GENERATED_ArkUIMeasurableAccessor MeasurableAccessorImpl { @@ -45982,6 +46113,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetKeyEventAccessor, GetFocusAxisEventAccessor, GetProgressMaskAccessor, + GetLayoutableAccessor, GetMeasurableAccessor, GetViewAccessor, GetTextContentControllerBaseAccessor, diff --git a/arkoala-arkts/framework/native/src/generated/real_impl.cc b/arkoala-arkts/framework/native/src/generated/real_impl.cc index ec5d25757b..c6231a4272 100644 --- a/arkoala-arkts/framework/native/src/generated/real_impl.cc +++ b/arkoala-arkts/framework/native/src/generated/real_impl.cc @@ -15124,6 +15124,55 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // ProgressMaskAccessor + namespace LayoutableAccessor { + void DestroyPeerImpl(Ark_Layoutable peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_Layoutable CtorImpl() + { + return new LayoutablePeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void LayoutImpl(Ark_Layoutable peer, + const Ark_Position* position) + { + } + Ark_DirectionalEdgesT GetMarginImpl(Ark_Layoutable peer) + { + return {}; + } + Ark_DirectionalEdgesT GetPaddingImpl(Ark_Layoutable peer) + { + return {}; + } + Ark_DirectionalEdgesT GetBorderWidthImpl(Ark_Layoutable peer) + { + return {}; + } + Ark_MeasureResult GetMeasureResultImpl(Ark_Layoutable peer) + { + return {}; + } + void SetMeasureResultImpl(Ark_Layoutable peer, + const Ark_MeasureResult* measureResult) + { + } + Opt_Number GetUniqueIdImpl(Ark_Layoutable peer) + { + return {}; + } + void SetUniqueIdImpl(Ark_Layoutable peer, + const Ark_Number* uniqueId) + { + } + } // LayoutableAccessor namespace MeasurableAccessor { void DestroyPeerImpl(Ark_Measurable peer) { @@ -21657,6 +21706,27 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ProgressMaskPeer { virtual ~ProgressMaskPeer() = default; }; + const GENERATED_ArkUILayoutableAccessor* GetLayoutableAccessor() + { + static const GENERATED_ArkUILayoutableAccessor LayoutableAccessorImpl { + LayoutableAccessor::DestroyPeerImpl, + LayoutableAccessor::CtorImpl, + LayoutableAccessor::GetFinalizerImpl, + LayoutableAccessor::LayoutImpl, + LayoutableAccessor::GetMarginImpl, + LayoutableAccessor::GetPaddingImpl, + LayoutableAccessor::GetBorderWidthImpl, + LayoutableAccessor::GetMeasureResultImpl, + LayoutableAccessor::SetMeasureResultImpl, + LayoutableAccessor::GetUniqueIdImpl, + LayoutableAccessor::SetUniqueIdImpl, + }; + return &LayoutableAccessorImpl; + } + + struct LayoutablePeer { + virtual ~LayoutablePeer() = default; + }; const GENERATED_ArkUIMeasurableAccessor* GetMeasurableAccessor() { static const GENERATED_ArkUIMeasurableAccessor MeasurableAccessorImpl { @@ -24076,6 +24146,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetKeyEventAccessor, GetFocusAxisEventAccessor, GetProgressMaskAccessor, + GetLayoutableAccessor, GetMeasurableAccessor, GetViewAccessor, GetTextContentControllerBaseAccessor, diff --git a/arkoala/arkui-types/index-full.d.ts b/arkoala/arkui-types/index-full.d.ts index fba6676e64..c6957d21e9 100644 --- a/arkoala/arkui-types/index-full.d.ts +++ b/arkoala/arkui-types/index-full.d.ts @@ -3529,7 +3529,12 @@ declare interface GeometryInfo extends SizeResult { padding: Padding; } declare interface Layoutable { - stub: string; + measureResult: MeasureResult; + uniqueId?: number; + layout(position: Position): void; + getMargin(): DirectionalEdgesT; + getPadding(): DirectionalEdgesT; + getBorderWidth(): DirectionalEdgesT; } declare interface Measurable { uniqueId?: number; diff --git a/arkoala/arkui/src/generated/AllMaterialized.ts b/arkoala/arkui/src/generated/AllMaterialized.ts index 59fadec5f7..086e181bd2 100644 --- a/arkoala/arkui/src/generated/AllMaterialized.ts +++ b/arkoala/arkui/src/generated/AllMaterialized.ts @@ -27,7 +27,7 @@ import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { CallbackTransformer } from "./../CallbackTransformer" import { GestureName, GestureComponent } from "./shared/generated-utils" import { Callback_RangeUpdate, Event, RestrictedWorker_onexit_Callback, RestrictedWorker_onerror_Callback, ErrorEvent, RestrictedWorker_onmessage_Callback, MessageEvents, WorkerOptions, PostMessageOptions, Context_getGroupDir_Callback } from "./arkui-custom" -import { ResourceStr, Font, ResourceColor, Position, Length, SizeOptions, ConstraintSizeOptions, DirectionalEdgesT, VoidCallback } from "./units" +import { ResourceStr, Font, ResourceColor, Position, Length, SizeOptions, DirectionalEdgesT, ConstraintSizeOptions, VoidCallback } from "./units" import { Resource } from "./resource" import { TextPickerDialogOptions } from "./text_picker" import { Color, KeyType, KeySource, Edge, Axis, TextAlign, TextOverflow, WordBreak, ImageSpanAlignment, ImageFit, InteractionHand, MouseButton, MouseAction, AccessibilityHoverType, TouchType, AxisAction, AxisModel } from "./enums" @@ -5821,6 +5821,122 @@ export class ProgressMask implements MaterializedBase { ArkUIGeneratedNativeModule._ProgressMask_enableBreathingAnimation(this.peer!.ptr, +value) } } +export interface Layoutable { + measureResult: MeasureResult + uniqueId?: number | undefined + layout(position: Position): void + getMargin(): DirectionalEdgesT + getPadding(): DirectionalEdgesT + getBorderWidth(): DirectionalEdgesT +} +export class LayoutableInternal implements MaterializedBase,Layoutable { + peer?: Finalizable | undefined = undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + get measureResult(): MeasureResult { + throw new Error("Not implemented") + } + set measureResult(measureResult: MeasureResult) { + this.setMeasureResult(measureResult) + } + get uniqueId(): number | undefined { + return this.getUniqueId() + } + set uniqueId(uniqueId: number | undefined) { + const uniqueId_NonNull = (uniqueId as number) + this.setUniqueId(uniqueId_NonNull) + } + static ctor_layoutable(): KPointer { + const retval = ArkUIGeneratedNativeModule._Layoutable_ctor() + return retval + } + constructor() { + const ctorPtr: KPointer = LayoutableInternal.ctor_layoutable() + this.peer = new Finalizable(ctorPtr, LayoutableInternal.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._Layoutable_getFinalizer() + } + public layout(position: Position): void { + const position_casted = position as (Position) + this?.layout_serialize(position_casted) + return + } + public getMargin(): DirectionalEdgesT { + return this.getMargin_serialize() + } + public getPadding(): DirectionalEdgesT { + return this.getPadding_serialize() + } + public getBorderWidth(): DirectionalEdgesT { + return this.getBorderWidth_serialize() + } + private getMeasureResult(): MeasureResult { + return this.getMeasureResult_serialize() + } + private setMeasureResult(measureResult: MeasureResult): void { + const measureResult_casted = measureResult as (MeasureResult) + this?.setMeasureResult_serialize(measureResult_casted) + return + } + private getUniqueId(): number | undefined { + return this.getUniqueId_serialize() + } + private setUniqueId(uniqueId: number): void { + const uniqueId_casted = uniqueId as (number) + this?.setUniqueId_serialize(uniqueId_casted) + return + } + private layout_serialize(position: Position): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writePosition(position) + ArkUIGeneratedNativeModule._Layoutable_layout(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private getMargin_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Layoutable_getMargin(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() + return returnResult + } + private getPadding_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Layoutable_getPadding(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() + return returnResult + } + private getBorderWidth_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Layoutable_getBorderWidth(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: DirectionalEdgesT = retvalDeserializer.readDirectionalEdgesT() + return returnResult + } + private getMeasureResult_serialize(): MeasureResult { + const retval = ArkUIGeneratedNativeModule._Layoutable_getMeasureResult(this.peer!.ptr) + let retvalDeserializer: Deserializer = new Deserializer(retval.buffer, retval.byteLength) + const returnResult: MeasureResult = retvalDeserializer.readMeasureResult() + return returnResult + } + private setMeasureResult_serialize(measureResult: MeasureResult): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeMeasureResult(measureResult) + ArkUIGeneratedNativeModule._Layoutable_setMeasureResult(this.peer!.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + private getUniqueId_serialize(): number | undefined { + const retval = ArkUIGeneratedNativeModule._Layoutable_getUniqueId(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setUniqueId_serialize(uniqueId: number): void { + ArkUIGeneratedNativeModule._Layoutable_setUniqueId(this.peer!.ptr, uniqueId) + } + public static fromPtr(ptr: KPointer): LayoutableInternal { + const obj: LayoutableInternal = new LayoutableInternal() + obj.peer = new Finalizable(ptr, LayoutableInternal.getFinalizer()) + return obj + } +} export interface Measurable { uniqueId?: number | undefined measure(constraint: ConstraintSizeOptions): MeasureResult diff --git a/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts b/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts index bff96d6f43..5747d706f7 100644 --- a/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts +++ b/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts @@ -7877,6 +7877,43 @@ export class ArkUIGeneratedNativeModuleEmpty { _ProgressMask_enableBreathingAnimation(ptr: KPointer, value: KInt): void { console.log("_ProgressMask_enableBreathingAnimation") } + _Layoutable_ctor(): KPointer { + console.log("_Layoutable_ctor") + return -1 + } + _Layoutable_getFinalizer(): KPointer { + console.log("_Layoutable_getFinalizer") + return -1 + } + _Layoutable_layout(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_Layoutable_layout") + } + _Layoutable_getMargin(ptr: KPointer): KInteropReturnBuffer { + console.log("_Layoutable_getMargin") + return new Uint8Array() + } + _Layoutable_getPadding(ptr: KPointer): KInteropReturnBuffer { + console.log("_Layoutable_getPadding") + return new Uint8Array() + } + _Layoutable_getBorderWidth(ptr: KPointer): KInteropReturnBuffer { + console.log("_Layoutable_getBorderWidth") + return new Uint8Array() + } + _Layoutable_getMeasureResult(ptr: KPointer): KInteropReturnBuffer { + console.log("_Layoutable_getMeasureResult") + return new Uint8Array() + } + _Layoutable_setMeasureResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_Layoutable_setMeasureResult") + } + _Layoutable_getUniqueId(ptr: KPointer): KInteropReturnBuffer { + console.log("_Layoutable_getUniqueId") + return new Uint8Array() + } + _Layoutable_setUniqueId(ptr: KPointer, uniqueId: number): void { + console.log("_Layoutable_setUniqueId") + } _Measurable_ctor(): KPointer { console.log("_Measurable_ctor") return -1 diff --git a/arkoala/arkui/src/generated/common.ts b/arkoala/arkui/src/generated/common.ts index 2f4d20dd17..c3133ce5e5 100644 --- a/arkoala/arkui/src/generated/common.ts +++ b/arkoala/arkui/src/generated/common.ts @@ -6421,9 +6421,6 @@ export interface GeometryInfo extends SizeResult { margin: Padding; padding: Padding; } -export interface Layoutable { - stub: string; -} export interface SizeResult { width: number; height: number; diff --git a/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts b/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts index 6de59becc2..83f583d770 100644 --- a/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts +++ b/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts @@ -17180,6 +17180,76 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _Layoutable_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Layoutable_ctor() + } + throw new Error("Not implemented") + } + static _Layoutable_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Layoutable_getFinalizer() + } + throw new Error("Not implemented") + } + static _Layoutable_layout(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._Layoutable_layout(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Layoutable_getMargin(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._Layoutable_getMargin(ptr) + } + throw new Error("Not implemented") + } + static _Layoutable_getPadding(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._Layoutable_getPadding(ptr) + } + throw new Error("Not implemented") + } + static _Layoutable_getBorderWidth(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._Layoutable_getBorderWidth(ptr) + } + throw new Error("Not implemented") + } + static _Layoutable_getMeasureResult(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._Layoutable_getMeasureResult(ptr) + } + throw new Error("Not implemented") + } + static _Layoutable_setMeasureResult(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._Layoutable_setMeasureResult(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Layoutable_getUniqueId(ptr: KPointer): KInteropReturnBuffer { + if ((this._LoadOnce()) == (true)) + { + return this._Layoutable_getUniqueId(ptr) + } + throw new Error("Not implemented") + } + static _Layoutable_setUniqueId(ptr: KPointer, uniqueId: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._Layoutable_setUniqueId(ptr, uniqueId) + } + throw new Error("Not implemented") + } static _Measurable_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { diff --git a/arkoala/arkui/src/generated/peers/Deserializer.ts b/arkoala/arkui/src/generated/peers/Deserializer.ts index 03c2986ac8..303d1a01ec 100644 --- a/arkoala/arkui/src/generated/peers/Deserializer.ts +++ b/arkoala/arkui/src/generated/peers/Deserializer.ts @@ -66,7 +66,7 @@ import { StyledStringMarshallCallback, StyledStringUnmarshallCallback, GestureSt import { TextAreaSubmitCallback, TextAreaAttribute, TextAreaType, TextAreaOptions } from "./../text_area" import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ResourceStr, Dimension, LengthConstrain, DividerStyleOptions, ConstraintSizeOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" import { WithThemeInterface, WithThemeAttribute, WithThemeOptions } from "./../with_theme" -import { AccessibilityHoverEvent, AccessibilityHoverEventInternal, AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, PixelMap, PixelMapInternal, BaseShape, BaseShapeInternal, CalendarController, CalendarControllerInternal, CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, Matrix2D, Matrix2DInternal, CircleShape, CircleShapeInternal, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ColorFilter, ColorFilterInternal, CommonShape, CommonShapeInternal, ComponentContent, ComponentContentInternal, ConsoleMessage, ConsoleMessageInternal, ControllerHandler, ControllerHandlerInternal, WebviewController, WebviewControllerInternal, CustomDialogController, CustomDialogControllerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, DragEvent, DragEventInternal, UnifiedData, UnifiedDataInternal, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, DrawModifier, DrawModifierInternal, EllipseShape, EllipseShapeInternal, EventResult, EventResultInternal, EventTargetInfo, EventTargetInfoInternal, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, Filter, FilterInternal, FrameNode, FrameNodeInternal, UIContext, UIContextInternal, FrictionMotion, FrictionMotionInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, GestureGroupInterface, GestureGroupInterfaceInternal, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureModifier, GestureModifierInternal, GestureRecognizer, GestureRecognizerInternal, GestureStyle, GestureStyleInternal, HttpAuthHandler, HttpAuthHandlerInternal, ICurve, ICurveInternal, ImageAnalyzerController, ImageAnalyzerControllerInternal, IndicatorComponentController, IndicatorComponentControllerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, LayoutManager, LayoutManagerInternal, LinearGradient, LinearGradientInternal, LinearIndicatorController, LinearIndicatorControllerInternal, ChildrenMainSize, ChildrenMainSizeInternal, ListScroller, ListScrollerInternal, Scroller, ScrollerInternal, GestureEvent, GestureEventInternal, LongPressRecognizer, LongPressRecognizerInternal, Matrix4Transit, Matrix4TransitInternal, NavDestinationContext, NavDestinationContextInternal, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Path2D, Path2DInternal, PathShape, PathShapeInternal, PatternLockController, PatternLockControllerInternal, PermissionRequest, PermissionRequestInternal, PinchRecognizer, PinchRecognizerInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal, PixelMapMock, PixelMapMockInternal, ProgressMask, ProgressMaskInternal, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, SubmitEvent, SubmitEventInternal, RichEditorBaseController, RichEditorBaseControllerInternal, TextEditControllerEx, TextEditControllerExInternal, RichEditorController, RichEditorControllerInternal, StyledString, StyledStringInternal, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, StyledStringController, StyledStringControllerInternal, MutableStyledString, MutableStyledStringInternal, RotationRecognizer, RotationRecognizerInternal, Scene, SceneInternal, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SearchController, SearchControllerInternal, TextContentControllerBase, TextContentControllerBaseInternal, ShapeClip, ShapeClipInternal, ShapeMask, ShapeMaskInternal, SpringMotion, SpringMotionInternal, SslErrorHandler, SslErrorHandlerInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, SwipeRecognizer, SwipeRecognizerInternal, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsController, TabsControllerInternal, TapRecognizer, TapRecognizerInternal, LengthMetrics, LengthMetricsInternal, TextAreaController, TextAreaControllerInternal, TextBaseController, TextBaseControllerInternal, TextClockController, TextClockControllerInternal, TextController, TextControllerInternal, TextInputController, TextInputControllerInternal, TextMenuItemId, TextMenuItemIdInternal, TextTimerController, TextTimerControllerInternal, TransitionEffect, TransitionEffectInternal, UICommonEvent, UICommonEventInternal, ClickEvent, ClickEventInternal, TouchEvent, TouchEventInternal, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, MouseEvent, MouseEventInternal, Context, ContextInternal, UIExtensionProxy, UIExtensionProxyInternal, UrlStyle, UrlStyleInternal, VideoController, VideoControllerInternal, View, ViewInternal, VisualEffect, VisualEffectInternal, WaterFlowSections, WaterFlowSectionsInternal, WebResourceRequest, WebResourceRequestInternal, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebResourceError, WebResourceErrorInternal, WebResourceResponse, WebResourceResponseInternal, WorkerEventListener, WorkerEventListenerInternal, AxisEvent, AxisEventInternal, FocusAxisEvent, FocusAxisEventInternal, BaseGestureEvent, BaseGestureEventInternal, NavigationTransitionProxy, NavigationTransitionProxyInternal, AppearSymbolEffect, AppearSymbolEffectInternal, BaseContext, BaseContextInternal, BaselineOffsetStyle, BaselineOffsetStyleInternal, BounceSymbolEffect, BounceSymbolEffectInternal, ColorMetrics, ColorMetricsInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, DrawingRenderingContext, DrawingRenderingContextInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal, ImageData, ImageDataInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, Measurable, MeasurableInternal, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, TextShadowStyle, TextShadowStyleInternal, VirtualScrollOptions, VirtualScrollOptionsInternal, XComponentController, XComponentControllerInternal, CanvasRenderer, CanvasRendererInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, DecorationStyle, DecorationStyleInternal, MenuItemConfiguration, MenuItemConfigurationInternal, RestrictedWorker, RestrictedWorkerInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, RenderNode, RenderNodeInternal, BaseEvent, BaseEventInternal, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, ParagraphStyle, ParagraphStyleInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal, BackgroundColorStyle, BackgroundColorStyleInternal } from "./../AllMaterialized" +import { AccessibilityHoverEvent, AccessibilityHoverEventInternal, AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, PixelMap, PixelMapInternal, BaseShape, BaseShapeInternal, CalendarController, CalendarControllerInternal, CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, Matrix2D, Matrix2DInternal, CircleShape, CircleShapeInternal, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ColorFilter, ColorFilterInternal, CommonShape, CommonShapeInternal, ComponentContent, ComponentContentInternal, ConsoleMessage, ConsoleMessageInternal, ControllerHandler, ControllerHandlerInternal, WebviewController, WebviewControllerInternal, CustomDialogController, CustomDialogControllerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, DragEvent, DragEventInternal, UnifiedData, UnifiedDataInternal, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, DrawModifier, DrawModifierInternal, EllipseShape, EllipseShapeInternal, EventResult, EventResultInternal, EventTargetInfo, EventTargetInfoInternal, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, Filter, FilterInternal, FrameNode, FrameNodeInternal, UIContext, UIContextInternal, FrictionMotion, FrictionMotionInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, GestureGroupInterface, GestureGroupInterfaceInternal, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureModifier, GestureModifierInternal, GestureRecognizer, GestureRecognizerInternal, GestureStyle, GestureStyleInternal, HttpAuthHandler, HttpAuthHandlerInternal, ICurve, ICurveInternal, ImageAnalyzerController, ImageAnalyzerControllerInternal, IndicatorComponentController, IndicatorComponentControllerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, LayoutManager, LayoutManagerInternal, LinearGradient, LinearGradientInternal, LinearIndicatorController, LinearIndicatorControllerInternal, ChildrenMainSize, ChildrenMainSizeInternal, ListScroller, ListScrollerInternal, Scroller, ScrollerInternal, GestureEvent, GestureEventInternal, LongPressRecognizer, LongPressRecognizerInternal, Matrix4Transit, Matrix4TransitInternal, NavDestinationContext, NavDestinationContextInternal, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Path2D, Path2DInternal, PathShape, PathShapeInternal, PatternLockController, PatternLockControllerInternal, PermissionRequest, PermissionRequestInternal, PinchRecognizer, PinchRecognizerInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal, PixelMapMock, PixelMapMockInternal, ProgressMask, ProgressMaskInternal, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, SubmitEvent, SubmitEventInternal, RichEditorBaseController, RichEditorBaseControllerInternal, TextEditControllerEx, TextEditControllerExInternal, RichEditorController, RichEditorControllerInternal, StyledString, StyledStringInternal, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, StyledStringController, StyledStringControllerInternal, MutableStyledString, MutableStyledStringInternal, RotationRecognizer, RotationRecognizerInternal, Scene, SceneInternal, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SearchController, SearchControllerInternal, TextContentControllerBase, TextContentControllerBaseInternal, ShapeClip, ShapeClipInternal, ShapeMask, ShapeMaskInternal, SpringMotion, SpringMotionInternal, SslErrorHandler, SslErrorHandlerInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, SwipeRecognizer, SwipeRecognizerInternal, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsController, TabsControllerInternal, TapRecognizer, TapRecognizerInternal, LengthMetrics, LengthMetricsInternal, TextAreaController, TextAreaControllerInternal, TextBaseController, TextBaseControllerInternal, TextClockController, TextClockControllerInternal, TextController, TextControllerInternal, TextInputController, TextInputControllerInternal, TextMenuItemId, TextMenuItemIdInternal, TextTimerController, TextTimerControllerInternal, TransitionEffect, TransitionEffectInternal, UICommonEvent, UICommonEventInternal, ClickEvent, ClickEventInternal, TouchEvent, TouchEventInternal, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, MouseEvent, MouseEventInternal, Context, ContextInternal, UIExtensionProxy, UIExtensionProxyInternal, UrlStyle, UrlStyleInternal, VideoController, VideoControllerInternal, View, ViewInternal, VisualEffect, VisualEffectInternal, WaterFlowSections, WaterFlowSectionsInternal, WebResourceRequest, WebResourceRequestInternal, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebResourceError, WebResourceErrorInternal, WebResourceResponse, WebResourceResponseInternal, WorkerEventListener, WorkerEventListenerInternal, AxisEvent, AxisEventInternal, FocusAxisEvent, FocusAxisEventInternal, BaseGestureEvent, BaseGestureEventInternal, NavigationTransitionProxy, NavigationTransitionProxyInternal, AppearSymbolEffect, AppearSymbolEffectInternal, BaseContext, BaseContextInternal, BaselineOffsetStyle, BaselineOffsetStyleInternal, BounceSymbolEffect, BounceSymbolEffectInternal, ColorMetrics, ColorMetricsInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, DrawingRenderingContext, DrawingRenderingContextInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal, ImageData, ImageDataInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, Measurable, MeasurableInternal, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, TextShadowStyle, TextShadowStyleInternal, VirtualScrollOptions, VirtualScrollOptionsInternal, XComponentController, XComponentControllerInternal, CanvasRenderer, CanvasRendererInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, DecorationStyle, DecorationStyleInternal, Layoutable, LayoutableInternal, MenuItemConfiguration, MenuItemConfigurationInternal, RestrictedWorker, RestrictedWorkerInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, RenderNode, RenderNodeInternal, BaseEvent, BaseEventInternal, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, ParagraphStyle, ParagraphStyleInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal, BackgroundColorStyle, BackgroundColorStyleInternal } from "./../AllMaterialized" import { Color, BarState, EdgeEffect, Axis, NestedScrollMode, FoldStatus, CopyOptions, ResponseType, ScrollSource, Edge, TextAlign, OptionWidthMode, LineCapStyle, LineJoinStyle, CrownSensitivity, Curve, PageFlipMode, FontWeight, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, TextCase, TextSelectableMode, FlexDirection, HitTestMode, ImageRepeat, ClickEffectLevel, CrownAction, BorderStyle, InteractionHand, AppRotation, KeyType, KeySource, GradientDirection, HorizontalAlign, VerticalAlign, PixelRoundCalcPolicy, Alignment, TouchType, DialogButtonStyle, PlayMode, DividerMode, XComponentType, ColoringStrategy, SharedTransitionEffectType, TransitionType, FlexWrap, FlexAlign, ItemAlign, TitleHeight, IlluminatedType, ArrowPointPosition, Placement, AxisModel, MouseButton, MouseAction, AccessibilityHoverType, AxisAction, ImageSpanAlignment, ImageFit } from "./../enums" import { Resource } from "./../resource" import { AnimationOptions } from "./../arkui-drawabledescriptor" @@ -14637,6 +14637,11 @@ export class Deserializer extends DeserializerBase { let value: JavaScriptProxy = ({object_: object__result, name: name_result, methodList: methodList_result, controller: controller_result, asyncMethodList: asyncMethodList_result, permission: permission_result} as JavaScriptProxy) return value } + public readLayoutable(): Layoutable { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return LayoutableInternal.fromPtr(ptr) + } public readLengthConstrain(): LengthConstrain { let valueDeserializer: Deserializer = this const minLength_buf_selector: number = valueDeserializer.readInt8() diff --git a/arkoala/arkui/src/generated/peers/Serializer.ts b/arkoala/arkui/src/generated/peers/Serializer.ts index f513783f42..ad9e2ef60f 100644 --- a/arkoala/arkui/src/generated/peers/Serializer.ts +++ b/arkoala/arkui/src/generated/peers/Serializer.ts @@ -65,7 +65,7 @@ import { StyledStringMarshallCallback, StyledStringUnmarshallCallback, GestureSt import { TextAreaSubmitCallback, TextAreaAttribute, TextAreaType, TextAreaOptions } from "./../text_area" import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ResourceStr, Dimension, LengthConstrain, DividerStyleOptions, ConstraintSizeOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" import { WithThemeInterface, WithThemeAttribute, WithThemeOptions } from "./../with_theme" -import { AccessibilityHoverEvent, AccessibilityHoverEventInternal, AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, PixelMap, PixelMapInternal, BaseShape, BaseShapeInternal, CalendarController, CalendarControllerInternal, CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, Matrix2D, Matrix2DInternal, CircleShape, CircleShapeInternal, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ColorFilter, ColorFilterInternal, CommonShape, CommonShapeInternal, ComponentContent, ComponentContentInternal, ConsoleMessage, ConsoleMessageInternal, ControllerHandler, ControllerHandlerInternal, WebviewController, WebviewControllerInternal, CustomDialogController, CustomDialogControllerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, DragEvent, DragEventInternal, UnifiedData, UnifiedDataInternal, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, DrawModifier, DrawModifierInternal, EllipseShape, EllipseShapeInternal, EventResult, EventResultInternal, EventTargetInfo, EventTargetInfoInternal, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, Filter, FilterInternal, FrameNode, FrameNodeInternal, UIContext, UIContextInternal, FrictionMotion, FrictionMotionInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, GestureGroupInterface, GestureGroupInterfaceInternal, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureModifier, GestureModifierInternal, GestureRecognizer, GestureRecognizerInternal, GestureStyle, GestureStyleInternal, HttpAuthHandler, HttpAuthHandlerInternal, ICurve, ICurveInternal, ImageAnalyzerController, ImageAnalyzerControllerInternal, IndicatorComponentController, IndicatorComponentControllerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, LayoutManager, LayoutManagerInternal, LinearGradient, LinearGradientInternal, LinearIndicatorController, LinearIndicatorControllerInternal, ChildrenMainSize, ChildrenMainSizeInternal, ListScroller, ListScrollerInternal, Scroller, ScrollerInternal, GestureEvent, GestureEventInternal, LongPressRecognizer, LongPressRecognizerInternal, Matrix4Transit, Matrix4TransitInternal, NavDestinationContext, NavDestinationContextInternal, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Path2D, Path2DInternal, PathShape, PathShapeInternal, PatternLockController, PatternLockControllerInternal, PermissionRequest, PermissionRequestInternal, PinchRecognizer, PinchRecognizerInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal, PixelMapMock, PixelMapMockInternal, ProgressMask, ProgressMaskInternal, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, SubmitEvent, SubmitEventInternal, RichEditorBaseController, RichEditorBaseControllerInternal, TextEditControllerEx, TextEditControllerExInternal, RichEditorController, RichEditorControllerInternal, StyledString, StyledStringInternal, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, StyledStringController, StyledStringControllerInternal, MutableStyledString, MutableStyledStringInternal, RotationRecognizer, RotationRecognizerInternal, Scene, SceneInternal, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SearchController, SearchControllerInternal, TextContentControllerBase, TextContentControllerBaseInternal, ShapeClip, ShapeClipInternal, ShapeMask, ShapeMaskInternal, SpringMotion, SpringMotionInternal, SslErrorHandler, SslErrorHandlerInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, SwipeRecognizer, SwipeRecognizerInternal, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsController, TabsControllerInternal, TapRecognizer, TapRecognizerInternal, LengthMetrics, LengthMetricsInternal, TextAreaController, TextAreaControllerInternal, TextBaseController, TextBaseControllerInternal, TextClockController, TextClockControllerInternal, TextController, TextControllerInternal, TextInputController, TextInputControllerInternal, TextMenuItemId, TextMenuItemIdInternal, TextTimerController, TextTimerControllerInternal, TransitionEffect, TransitionEffectInternal, UICommonEvent, UICommonEventInternal, ClickEvent, ClickEventInternal, TouchEvent, TouchEventInternal, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, MouseEvent, MouseEventInternal, Context, ContextInternal, UIExtensionProxy, UIExtensionProxyInternal, UrlStyle, UrlStyleInternal, VideoController, VideoControllerInternal, View, ViewInternal, VisualEffect, VisualEffectInternal, WaterFlowSections, WaterFlowSectionsInternal, WebResourceRequest, WebResourceRequestInternal, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebResourceError, WebResourceErrorInternal, WebResourceResponse, WebResourceResponseInternal, WorkerEventListener, WorkerEventListenerInternal, AxisEvent, AxisEventInternal, FocusAxisEvent, FocusAxisEventInternal, BaseGestureEvent, BaseGestureEventInternal, NavigationTransitionProxy, NavigationTransitionProxyInternal, AppearSymbolEffect, AppearSymbolEffectInternal, BaseContext, BaseContextInternal, BaselineOffsetStyle, BaselineOffsetStyleInternal, BounceSymbolEffect, BounceSymbolEffectInternal, ColorMetrics, ColorMetricsInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, DrawingRenderingContext, DrawingRenderingContextInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal, ImageData, ImageDataInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, Measurable, MeasurableInternal, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, TextShadowStyle, TextShadowStyleInternal, VirtualScrollOptions, VirtualScrollOptionsInternal, XComponentController, XComponentControllerInternal, CanvasRenderer, CanvasRendererInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, DecorationStyle, DecorationStyleInternal, MenuItemConfiguration, MenuItemConfigurationInternal, RestrictedWorker, RestrictedWorkerInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, RenderNode, RenderNodeInternal, BaseEvent, BaseEventInternal, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, ParagraphStyle, ParagraphStyleInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal, BackgroundColorStyle, BackgroundColorStyleInternal } from "./../AllMaterialized" +import { AccessibilityHoverEvent, AccessibilityHoverEventInternal, AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, PixelMap, PixelMapInternal, BaseShape, BaseShapeInternal, CalendarController, CalendarControllerInternal, CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, Matrix2D, Matrix2DInternal, CircleShape, CircleShapeInternal, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ColorFilter, ColorFilterInternal, CommonShape, CommonShapeInternal, ComponentContent, ComponentContentInternal, ConsoleMessage, ConsoleMessageInternal, ControllerHandler, ControllerHandlerInternal, WebviewController, WebviewControllerInternal, CustomDialogController, CustomDialogControllerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, DragEvent, DragEventInternal, UnifiedData, UnifiedDataInternal, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, DrawModifier, DrawModifierInternal, EllipseShape, EllipseShapeInternal, EventResult, EventResultInternal, EventTargetInfo, EventTargetInfoInternal, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, Filter, FilterInternal, FrameNode, FrameNodeInternal, UIContext, UIContextInternal, FrictionMotion, FrictionMotionInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, GestureGroupInterface, GestureGroupInterfaceInternal, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureModifier, GestureModifierInternal, GestureRecognizer, GestureRecognizerInternal, GestureStyle, GestureStyleInternal, HttpAuthHandler, HttpAuthHandlerInternal, ICurve, ICurveInternal, ImageAnalyzerController, ImageAnalyzerControllerInternal, IndicatorComponentController, IndicatorComponentControllerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, LayoutManager, LayoutManagerInternal, LinearGradient, LinearGradientInternal, LinearIndicatorController, LinearIndicatorControllerInternal, ChildrenMainSize, ChildrenMainSizeInternal, ListScroller, ListScrollerInternal, Scroller, ScrollerInternal, GestureEvent, GestureEventInternal, LongPressRecognizer, LongPressRecognizerInternal, Matrix4Transit, Matrix4TransitInternal, NavDestinationContext, NavDestinationContextInternal, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Path2D, Path2DInternal, PathShape, PathShapeInternal, PatternLockController, PatternLockControllerInternal, PermissionRequest, PermissionRequestInternal, PinchRecognizer, PinchRecognizerInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal, PixelMapMock, PixelMapMockInternal, ProgressMask, ProgressMaskInternal, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, SubmitEvent, SubmitEventInternal, RichEditorBaseController, RichEditorBaseControllerInternal, TextEditControllerEx, TextEditControllerExInternal, RichEditorController, RichEditorControllerInternal, StyledString, StyledStringInternal, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, StyledStringController, StyledStringControllerInternal, MutableStyledString, MutableStyledStringInternal, RotationRecognizer, RotationRecognizerInternal, Scene, SceneInternal, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SearchController, SearchControllerInternal, TextContentControllerBase, TextContentControllerBaseInternal, ShapeClip, ShapeClipInternal, ShapeMask, ShapeMaskInternal, SpringMotion, SpringMotionInternal, SslErrorHandler, SslErrorHandlerInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, SwipeRecognizer, SwipeRecognizerInternal, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsController, TabsControllerInternal, TapRecognizer, TapRecognizerInternal, LengthMetrics, LengthMetricsInternal, TextAreaController, TextAreaControllerInternal, TextBaseController, TextBaseControllerInternal, TextClockController, TextClockControllerInternal, TextController, TextControllerInternal, TextInputController, TextInputControllerInternal, TextMenuItemId, TextMenuItemIdInternal, TextTimerController, TextTimerControllerInternal, TransitionEffect, TransitionEffectInternal, UICommonEvent, UICommonEventInternal, ClickEvent, ClickEventInternal, TouchEvent, TouchEventInternal, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, MouseEvent, MouseEventInternal, Context, ContextInternal, UIExtensionProxy, UIExtensionProxyInternal, UrlStyle, UrlStyleInternal, VideoController, VideoControllerInternal, View, ViewInternal, VisualEffect, VisualEffectInternal, WaterFlowSections, WaterFlowSectionsInternal, WebResourceRequest, WebResourceRequestInternal, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebResourceError, WebResourceErrorInternal, WebResourceResponse, WebResourceResponseInternal, WorkerEventListener, WorkerEventListenerInternal, AxisEvent, AxisEventInternal, FocusAxisEvent, FocusAxisEventInternal, BaseGestureEvent, BaseGestureEventInternal, NavigationTransitionProxy, NavigationTransitionProxyInternal, AppearSymbolEffect, AppearSymbolEffectInternal, BaseContext, BaseContextInternal, BaselineOffsetStyle, BaselineOffsetStyleInternal, BounceSymbolEffect, BounceSymbolEffectInternal, ColorMetrics, ColorMetricsInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, DrawingRenderingContext, DrawingRenderingContextInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal, ImageData, ImageDataInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, Measurable, MeasurableInternal, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, TextShadowStyle, TextShadowStyleInternal, VirtualScrollOptions, VirtualScrollOptionsInternal, XComponentController, XComponentControllerInternal, CanvasRenderer, CanvasRendererInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, DecorationStyle, DecorationStyleInternal, Layoutable, LayoutableInternal, MenuItemConfiguration, MenuItemConfigurationInternal, RestrictedWorker, RestrictedWorkerInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, RenderNode, RenderNodeInternal, BaseEvent, BaseEventInternal, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, ParagraphStyle, ParagraphStyleInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal, BackgroundColorStyle, BackgroundColorStyleInternal } from "./../AllMaterialized" import { Color, BarState, EdgeEffect, Axis, NestedScrollMode, FoldStatus, CopyOptions, ResponseType, ScrollSource, Edge, TextAlign, OptionWidthMode, LineCapStyle, LineJoinStyle, CrownSensitivity, Curve, PageFlipMode, FontWeight, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, TextCase, TextSelectableMode, FlexDirection, HitTestMode, ImageRepeat, ClickEffectLevel, CrownAction, BorderStyle, InteractionHand, AppRotation, KeyType, KeySource, GradientDirection, HorizontalAlign, VerticalAlign, PixelRoundCalcPolicy, Alignment, TouchType, DialogButtonStyle, PlayMode, DividerMode, XComponentType, ColoringStrategy, SharedTransitionEffectType, TransitionType, FlexWrap, FlexAlign, ItemAlign, TitleHeight, IlluminatedType, ArrowPointPosition, Placement, AxisModel, MouseButton, MouseAction, AccessibilityHoverType, AxisAction, ImageSpanAlignment, ImageFit } from "./../enums" import { Resource } from "./../resource" import { AnimationOptions } from "./../arkui-drawabledescriptor" @@ -10546,6 +10546,10 @@ export class Serializer extends SerializerBase { valueSerializer.writeString(value_permission_value) } } + public writeLayoutable(value: Layoutable): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } public writeLengthConstrain(value: LengthConstrain): void { let valueSerializer: Serializer = this const value_minLength = value.minLength -- Gitee From 616ba4e0b7f944682d36824dc114d80765cef4ea Mon Sep 17 00:00:00 2001 From: Ilya Erokhin Date: Wed, 21 May 2025 12:05:52 +0300 Subject: [PATCH 6/6] Koala Generated Code for Custom Layout - step 3 (Custom Layout) --- .../arkts/ArkUIGeneratedNativeModule.ts | 6 + .../arkui/src/generated/arkts/type_check.ts | 26 +- .../src/generated/generator_synthetic.ts | 3 +- .../peers/CallbackDeserializeCall.ts | 44 +- .../arkui/src/generated/peers/CallbackKind.ts | 3 + .../arkui/src/generated/peers/Deserializer.ts | 170 +++++- .../arkui/src/generated/peers/Serializer.ts | 126 ++++- .../arkui/src/generated/static_components.ts | 62 ++ .../arkui/src/generated/ts/type_check.ts | 45 +- arkoala-arkts/arkui/types/index-full.d.ts | 6 + .../native/src/generated/Serializers.h | 534 ++++++++++++++++++ .../src/generated/arkoala_api_generated.h | 94 +++ .../native/src/generated/bridge_generated.cc | 18 + .../generated/callback_deserialize_call.cc | 98 ++++ .../native/src/generated/callback_kind.h | 3 + .../src/generated/callback_managed_caller.cc | 96 ++++ .../native/src/generated/dummy_impl.cc | 47 ++ .../native/src/generated/real_impl.cc | 26 + arkoala/arkui-types/index-full.d.ts | 6 + .../ArkUIGeneratedNativeModuleEmpty.ts | 10 + .../peers/ArkUIGeneratedNativeModule.ts | 21 + .../peers/CallbackDeserializeCall.ts | 44 +- .../arkui/src/generated/peers/CallbackKind.ts | 3 + .../arkui/src/generated/peers/Deserializer.ts | 170 +++++- .../arkui/src/generated/peers/Serializer.ts | 126 ++++- .../arkui/src/generated/static_components.ts | 63 +++ 26 files changed, 1815 insertions(+), 35 deletions(-) diff --git a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts index 8906cf0d3a..0a58383003 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts @@ -28,6 +28,12 @@ export class ArkUIGeneratedNativeModule { @ani.unsafe.Direct native static _ComponentRoot_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct + native static _CustomLayoutRoot_construct(id: KInt, flags: KInt): KPointer + @ani.unsafe.Direct + native static _CustomLayoutRoot_subscribeOnMeasureSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct + native static _CustomLayoutRoot_subscribeOnPlaceChildren(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void + @ani.unsafe.Direct native static _AbilityComponent_construct(id: KInt, flags: KInt): KPointer @ani.unsafe.Direct native static _AbilityComponentInterface_setAbilityComponentOptions(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void diff --git a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts index 5268d92a00..6cc8d81a56 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts @@ -19,10 +19,10 @@ import { KBoolean, KStringPtr, NativeBuffer, MaterializedBase } from "@koalaui/interop" import { int32 } from "@koalaui/common" import { AccessibilityHoverType, Alignment, AnimationStatus, AppRotation, ArrowPointPosition, Axis, AxisAction, AxisModel, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, Color, ColoringStrategy, CopyOptions, CrownAction, CrownSensitivity, Curve, DialogButtonStyle, Direction, DividerMode, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FocusDrawLevel, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, InteractionHand, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PageFlipMode, PixelRoundCalcPolicy, PixelRoundMode, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" -import { AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, EffectEdge, EffectType, FinishCallbackType, GestureModifier, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, RectResult, Literal_Boolean_isVisible, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PopupStateChangeParam, PreDragStatus, ProgressMask, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, Callback_ClickEvent_Void, ClickEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, HoverCallback, HoverEvent, Callback_MouseEvent_Void, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, View, Callback_KeyEvent_Boolean, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, CrownEvent, DateRange, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragInteractionOptions, DragItemInfo, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, Tuple_ResourceColor_Number, LinearGradient_common, FractionStop, LinearGradientBlurOptions, LinearGradientOptions, Literal_Alignment_align, Literal_Number_offset_span, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_String_value_Callback_Void_action, Literal_TransitionEffect_appear_disappear, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, SheetDismiss, SpringBackAction, StateStyles, SystemAdaptiveOptions, TouchObject, TouchResult, AlignRuleOption, BlurStyleOptions, ContentCoverOptions, BindOptions, Callback_DismissContentCoverAction_Void, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, Layoutable, LightSource, Literal_ResourceColor_color, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ReuseIdCallback, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, EventTarget, FocusAxisEvent, BaseEvent, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, AccessibilityHoverEvent, AxisEvent, PopupOptions, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, PromptActionDialogController, LayoutChild } from "./../common" +import { AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, Measurable, Layoutable, GeometryInfo, DismissReason, DragBehavior, DragEvent, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, EffectEdge, EffectType, FinishCallbackType, GestureModifier, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, RectResult, Literal_Boolean_isVisible, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PopupStateChangeParam, PreDragStatus, ProgressMask, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SizeResult, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, Callback_ClickEvent_Void, ClickEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, HoverCallback, HoverEvent, Callback_MouseEvent_Void, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, View, Callback_KeyEvent_Boolean, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, CrownEvent, DateRange, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragInteractionOptions, DragItemInfo, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, Tuple_ResourceColor_Number, LinearGradient_common, FractionStop, LinearGradientBlurOptions, LinearGradientOptions, Literal_Alignment_align, Literal_Number_offset_span, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_String_value_Callback_Void_action, Literal_TransitionEffect_appear_disappear, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, MeasureResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, SheetDismiss, SpringBackAction, StateStyles, SystemAdaptiveOptions, TouchObject, TouchResult, AlignRuleOption, BlurStyleOptions, ContentCoverOptions, BindOptions, Callback_DismissContentCoverAction_Void, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, Literal_ResourceColor_color, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ReuseIdCallback, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, EventTarget, FocusAxisEvent, BaseEvent, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, AccessibilityHoverEvent, AxisEvent, PopupOptions, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, PromptActionDialogController, LayoutChild } from "./../common" import { Affinity, EllipsisMode, FontStyle, FontWidth, TextBox, LineMetrics, TextBaseline, TextDecorationStyle, TextDecorationType, TextDirection, FontFeature, FontVariation, RunMetrics, RectStyle, Decoration, TextShadow, text } from "./../arkui-graphics-text" import { AlphabetIndexerAttribute, Callback_Number_Void, OnAlphabetIndexerSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerPopupSelectCallback, IndexerAlign, AlphabetIndexerOptions } from "./../alphabet_indexer" -import { ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ResourceStr, Dimension, LengthConstrain, VoidCallback, DividerStyleOptions, ConstraintSizeOptions, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, Area, BorderOptions, OutlineOptions } from "./../units" +import { ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ResourceStr, Dimension, ConstraintSizeOptions, LengthConstrain, VoidCallback, DividerStyleOptions, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, Area, BorderOptions, OutlineOptions } from "./../units" import { PixelMap } from "./../arkui-pixelmap" import { AnimatedDrawableDescriptor, DrawableDescriptor, AnimationOptions, LayeredDrawableDescriptor, PixelMapDrawableDescriptor } from "./../arkui-drawabledescriptor" import { AnimationMode, BarMode, BarPosition, LayoutStyle, TabContentTransitionProxy, TabsAnimationEvent, TabsAttribute, OnTabsAnimationStartCallback, OnTabsAnimationEndCallback, OnTabsGestureSwipeCallback, DividerStyle, BarGridColumnOptions, TabsCustomContentTransitionCallback, OnTabsContentWillChangeCallback, ScrollableBarModeOptions, TabsCacheMode, TabsController, CommonModifier, TabContentAnimatedTransition, Callback_TabContentTransitionProxy_Void, TabsOptions } from "./../tabs" @@ -49,6 +49,7 @@ import { ComponentContent, UnifiedData, UIContext, SystemBarStyle, PointerStyle, import { ContentModifier, WrappedBuilder, CommonConfiguration, Callback_WrappedBuilder_Args_Void } from "./../arkui-wrapper-builder" import { ContentType, EnterKeyType, InputType, SubmitEvent, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, TextInputAttribute, OnSubmitCallback, TextInputStyle, PasswordIcon, UnderlineColor, TextInputController, TextInputOptions } from "./../text_input" import { CustomDialogController, CustomDialogControllerOptions } from "./../custom_dialog_controller" +import { CustomLayoutRoot, Callback_onMeasureSize_SizeResult, Callback_onPlaceChildren_Void } from "./../static_components" import { DataOperationType } from "./../lazy_for_each" import { DataPanelType, ColorStop, LinearGradient, DataPanelOptions, DataPanelShadowOptions } from "./../data_panel" import { DatePickerMode, DatePickerOptions, DatePickerResult, LunarSwitchStyle, DatePickerDialogOptions, Callback_DatePickerResult_Void } from "./../date_picker" @@ -682,6 +683,9 @@ export class TypeChecker { static isCustomDialogControllerOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean, arg25: boolean, arg26: boolean, arg27: boolean, arg28: boolean, arg29: boolean, arg30: boolean, arg31: boolean, arg32: boolean, arg33: boolean, arg34: boolean, arg35: boolean, arg36: boolean, arg37: boolean): boolean { return value instanceof CustomDialogControllerOptions } + static isCustomLayoutRoot(value: Object | string | number | undefined): boolean { + return value instanceof CustomLayoutRoot + } static isCustomPopupOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean, arg10: boolean, arg11: boolean, arg12: boolean, arg13: boolean, arg14: boolean, arg15: boolean, arg16: boolean, arg17: boolean, arg18: boolean, arg19: boolean, arg20: boolean, arg21: boolean, arg22: boolean, arg23: boolean, arg24: boolean): boolean { return value instanceof CustomPopupOptions } @@ -1111,6 +1115,9 @@ export class TypeChecker { static isGaugeShadowOptions(value: Object | string | number | undefined): boolean { return value instanceof GaugeShadowOptions } + static isGeometryInfo(value: Object | string | number | undefined, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof GeometryInfo + } static isGeometryTransitionOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof GeometryTransitionOptions } @@ -2794,6 +2801,9 @@ export class TypeChecker { static isSizeOptions(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { return value instanceof SizeOptions } + static isSizeResult(value: Object | string | number | undefined, arg0: boolean, arg1: boolean): boolean { + return value instanceof SizeResult + } static isSizeType(value: Object | string | number | undefined): boolean { return value instanceof SizeType } @@ -5473,6 +5483,12 @@ export class TypeChecker { static isArray_Number(value: Object | string | number | undefined): boolean { return value instanceof Array } + static isArray_Measurable(value: Object | string | number | undefined): boolean { + return value instanceof Array + } + static isArray_Layoutable(value: Object | string | number | undefined): boolean { + return value instanceof Array + } static isArray_String(value: Object | string | number | undefined): boolean { return value instanceof Array } @@ -5677,12 +5693,6 @@ export class TypeChecker { static isArray_LayoutChild(value: Object | string | number | undefined): boolean { return value instanceof Array } - static isArray_Layoutable(value: Object | string | number | undefined): boolean { - return value instanceof Array - } - static isArray_Measurable(value: Object | string | number | undefined): boolean { - return value instanceof Array - } static isArray_Tuple_Union_ResourceColor_LinearGradient_Number(value: Object | string | number | undefined): boolean { return value instanceof Array<[ ResourceColor | LinearGradient, number ]> } diff --git a/arkoala-arkts/arkui/src/generated/generator_synthetic.ts b/arkoala-arkts/arkui/src/generated/generator_synthetic.ts index 6a2975b23f..e0df99dc09 100644 --- a/arkoala-arkts/arkui/src/generated/generator_synthetic.ts +++ b/arkoala-arkts/arkui/src/generated/generator_synthetic.ts @@ -18,8 +18,8 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, NativeBuffer, KStringPtr, wrapCallback } from "@koalaui/interop" +import { SizeResult, TouchResult, CustomBuilder, DragItemInfo } from "./common" import { GestureJudgeResult, GestureRecognizer } from "./gesture" -import { TouchResult, CustomBuilder, DragItemInfo } from "./common" import { HitTestMode } from "./enums" import { NavigationAnimatedTransition } from "./navigation" import { Tuple_Number_Number } from "./arkui-synthetics" @@ -32,6 +32,7 @@ import { WithThemeAttribute } from "./with_theme" import { WebKeyboardOptions, WebResourceResponse } from "./web" import { UserDataSpan, StyledString, CustomSpanMetrics } from "./styled_string" export type Callback_Pointer_Void = (value: KPointer) => void; +export type Callback_SizeResult_Void = (value: SizeResult) => void; export type Callback_Array_String_Void = (value: Array) => void; export type Callback_GestureJudgeResult_Void = (value: GestureJudgeResult) => void; export type Callback_GestureRecognizer_Void = (value: GestureRecognizer) => void; diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts index 23b368afe7..29008ceedf 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts @@ -21,15 +21,15 @@ import { Deserializer } from "./Deserializer" import { int32, float32, int64 } from "@koalaui/common" import { ResourceHolder, KInt, KStringPtr, wrapSystemCallback, KPointer, RuntimeType, KSerializerBuffer, NativeBuffer } from "@koalaui/interop" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, AccessibilityHoverEvent, AccessibilityFocusCallback, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchTestInfo, TouchResult, Callback_AxisEvent_Void, AxisEvent, Callback_Boolean_HoverEvent_Void, HoverEvent, Callback_ClickEvent_Void, ClickEvent, Callback_CrownEvent_Void, CrownEvent, CustomBuilder, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragEvent, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, ItemDragInfo, Callback_KeyEvent_Boolean, KeyEvent, Callback_KeyEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_MouseEvent_Void, MouseEvent, Callback_PreDragStatus_Void, PreDragStatus, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, SheetType, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, TouchEvent, Callback_TouchEvent_Void, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, PopupStateChangeParam, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback } from "./../common" +import { AccessibilityCallback, AccessibilityHoverEvent, AccessibilityFocusCallback, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchTestInfo, TouchResult, Callback_AxisEvent_Void, AxisEvent, Callback_Boolean_HoverEvent_Void, HoverEvent, Callback_ClickEvent_Void, ClickEvent, Callback_CrownEvent_Void, CrownEvent, CustomBuilder, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragEvent, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, ItemDragInfo, Callback_KeyEvent_Boolean, KeyEvent, Callback_KeyEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_MouseEvent_Void, MouseEvent, GeometryInfo, Measurable, SizeResult, Layoutable, Callback_PreDragStatus_Void, PreDragStatus, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, SheetType, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, TouchEvent, Callback_TouchEvent_Void, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, PopupStateChangeParam, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback } from "./../common" import { AsyncCallback_Array_TextMenuItem_Array_TextMenuItem, TextMenuItem, AsyncCallback_TextMenuItem_TextRange_Boolean, TextRange, DeleteValue, EditableTextChangeValue, InsertValue, Callback_StyledStringChangeValue_Boolean, StyledStringChangeValue, EditableTextOnChangeCallback, PreviewText, TextChangeOptions, OnDidChangeCallback } from "./../text_common" import { AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, StyledString, UserDataSpan, StyledStringMarshallCallback, StyledStringUnmarshallCallback } from "./../styled_string" import { AsyncCallback_image_PixelMap_Void, ReceiveCallback } from "./../arkui-external" import { PixelMap } from "./../arkui-pixelmap" import { ButtonTriggerClickCallback } from "./../button" -import { Area, ResourceStr, SizeOptions, VoidCallback } from "./../units" +import { Area, ConstraintSizeOptions, ResourceStr, SizeOptions, VoidCallback } from "./../units" import { Callback_Array_Number_Void } from "./../pattern_lock" -import { Callback_Array_String_Void, Callback_Array_TextMenuItem_Void, Callback_Buffer_Void, Callback_ComputedBarAttribute_Void, Callback_CustomBuilder_Void, Callback_CustomSpanMetrics_Void, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_Literal_Number_offsetRemain_Void, Callback_OffsetResult_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_Opt_Array_NavDestinationTransition_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Pointer_Void, Callback_StyledStringMarshallingValue_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void } from "./../generator_synthetic" +import { Callback_Array_String_Void, Callback_Array_TextMenuItem_Void, Callback_Buffer_Void, Callback_ComputedBarAttribute_Void, Callback_CustomBuilder_Void, Callback_CustomSpanMetrics_Void, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_Literal_Number_offsetRemain_Void, Callback_OffsetResult_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_Opt_Array_NavDestinationTransition_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Pointer_Void, Callback_SizeResult_Void, Callback_StyledStringMarshallingValue_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void } from "./../generator_synthetic" import { Callback_Boolean, Callback_NavDestinationActiveReason_Void, NavDestinationActiveReason, Callback_NavDestinationContext_Void, NavDestinationContext, Callback_Object_Void, NavDestinationTransition, NavDestinationTransitionDelegate } from "./../nav_destination" import { Callback_Boolean_Void, Callback_NavigationMode_Void, NavigationMode, Callback_NavigationTitleMode_Void, NavigationTitleMode, Callback_NavigationTransitionProxy_Void, NavigationTransitionProxy, NavigationAnimatedTransition, Callback_PopInfo_Void, PopInfo, Callback_String_Opt_Object_Void, InterceptionModeCallback, InterceptionShowCallback, NavBar, NavigationOperation, Type_NavigationAttribute_customNavContentTransition_delegate, NavContentInfo } from "./../navigation" import { Callback_CalendarRequestedData_Void, CalendarRequestedData, Callback_CalendarSelectedDate_Void, CalendarSelectedDate } from "./../calendar" @@ -58,6 +58,7 @@ import { Callback_Number_String_Void, Callback_ResourceStr_Void, Callback_Union_ import { Tuple_Number_Number } from "./../arkui-synthetics" import { Callback_Number_Void, OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback } from "./../alphabet_indexer" import { OffsetResult, OnScrollFrameBeginHandlerResult, OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallback, ScrollOnWillScrollCallback } from "./../scroll" +import { Callback_onMeasureSize_SizeResult, Callback_onPlaceChildren_Void } from "./../static_components" import { TabContentAnimatedTransition, Callback_TabContentTransitionProxy_Void, TabContentTransitionProxy, OnTabsAnimationEndCallback, TabsAnimationEvent, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback } from "./../tabs" import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, ErrorEvent, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, MessageEvents } from "./../arkui-custom" import { Callback_RefreshStatus_Void, RefreshStatus } from "./../refresh" @@ -875,6 +876,21 @@ export function deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisDese const _callResult = _call(parameter) _continuation(_callResult) } +export function deserializeAndCallCallback_onMeasureSize_SizeResult(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as Callback_onMeasureSize_SizeResult) + let selfLayoutInfo : GeometryInfo = thisDeserializer.readGeometryInfo() + const children_buf_length : int32 = thisDeserializer.readInt32() + let children_buf : Array = new Array(children_buf_length) + for (let children_buf_i = 0; children_buf_i < children_buf_length; children_buf_i++) { + children_buf[children_buf_i] = (thisDeserializer.readMeasurable() as Measurable) + } + let children : Array = children_buf + let constraint : ConstraintSizeOptions = thisDeserializer.readConstraintSizeOptions() + let _continuation : ((value: SizeResult) => void) = thisDeserializer.readCallback_SizeResult_Void(true) + const _callResult = _call(selfLayoutInfo, children, constraint) + _continuation(_callResult) +} export function deserializeAndCallCallback_OnOverScrollEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnOverScrollEvent) => void)) @@ -905,6 +921,19 @@ export function deserializeAndCallCallback_OnPermissionRequestEvent_Void(thisDes let parameter : OnPermissionRequestEvent = thisDeserializer.readOnPermissionRequestEvent() _call(parameter) } +export function deserializeAndCallCallback_onPlaceChildren_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as Callback_onPlaceChildren_Void) + let selfLayoutInfo : GeometryInfo = thisDeserializer.readGeometryInfo() + const children_buf_length : int32 = thisDeserializer.readInt32() + let children_buf : Array = new Array(children_buf_length) + for (let children_buf_i = 0; children_buf_i < children_buf_length; children_buf_i++) { + children_buf[children_buf_i] = (thisDeserializer.readLayoutable() as Layoutable) + } + let children : Array = children_buf + let constraint : ConstraintSizeOptions = thisDeserializer.readConstraintSizeOptions() + _call(selfLayoutInfo, children, constraint) +} export function deserializeAndCallCallback_OnProgressChangeEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnProgressChangeEvent) => void)) @@ -1202,6 +1231,12 @@ export function deserializeAndCallCallback_SheetType_Void(thisDeserializer: Dese let parameter : SheetType = TypeChecker.SheetType_FromNumeric(thisDeserializer.readInt32()) _call(parameter) } +export function deserializeAndCallCallback_SizeResult_Void(thisDeserializer: Deserializer): void { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value: SizeResult) => void)) + let value : SizeResult = thisDeserializer.readSizeResult() + _call(value) +} export function deserializeAndCallCallback_SpringBackAction_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: SpringBackAction) => void)) @@ -2548,11 +2583,13 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -2066745559/*CallbackKind.Kind_Callback_OnHttpErrorReceiveEvent_Void*/: return deserializeAndCallCallback_OnHttpErrorReceiveEvent_Void(thisDeserializer); case 1442698200/*CallbackKind.Kind_Callback_OnInterceptRequestEvent_WebResourceResponse*/: return deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceResponse(thisDeserializer); case 1231444306/*CallbackKind.Kind_Callback_OnLoadInterceptEvent_Boolean*/: return deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisDeserializer); + case -1356285653/*CallbackKind.Kind_Callback_onMeasureSize_SizeResult*/: return deserializeAndCallCallback_onMeasureSize_SizeResult(thisDeserializer); case -860386431/*CallbackKind.Kind_Callback_OnOverScrollEvent_Void*/: return deserializeAndCallCallback_OnOverScrollEvent_Void(thisDeserializer); case -2040193994/*CallbackKind.Kind_Callback_OnPageBeginEvent_Void*/: return deserializeAndCallCallback_OnPageBeginEvent_Void(thisDeserializer); case -130135362/*CallbackKind.Kind_Callback_OnPageEndEvent_Void*/: return deserializeAndCallCallback_OnPageEndEvent_Void(thisDeserializer); case 1805946367/*CallbackKind.Kind_Callback_OnPageVisibleEvent_Void*/: return deserializeAndCallCallback_OnPageVisibleEvent_Void(thisDeserializer); case 529980696/*CallbackKind.Kind_Callback_OnPermissionRequestEvent_Void*/: return deserializeAndCallCallback_OnPermissionRequestEvent_Void(thisDeserializer); + case -738620506/*CallbackKind.Kind_Callback_onPlaceChildren_Void*/: return deserializeAndCallCallback_onPlaceChildren_Void(thisDeserializer); case 1018740377/*CallbackKind.Kind_Callback_OnProgressChangeEvent_Void*/: return deserializeAndCallCallback_OnProgressChangeEvent_Void(thisDeserializer); case -1826742986/*CallbackKind.Kind_Callback_OnPromptEvent_Boolean*/: return deserializeAndCallCallback_OnPromptEvent_Boolean(thisDeserializer); case 1978364344/*CallbackKind.Kind_Callback_OnRefreshAccessedHistoryEvent_Void*/: return deserializeAndCallCallback_OnRefreshAccessedHistoryEvent_Void(thisDeserializer); @@ -2590,6 +2627,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 1980824326/*CallbackKind.Kind_Callback_RichEditorTextSpanResult_Void*/: return deserializeAndCallCallback_RichEditorTextSpanResult_Void(thisDeserializer); case 22609082/*CallbackKind.Kind_Callback_SheetDismiss_Void*/: return deserializeAndCallCallback_SheetDismiss_Void(thisDeserializer); case -224451112/*CallbackKind.Kind_Callback_SheetType_Void*/: return deserializeAndCallCallback_SheetType_Void(thisDeserializer); + case 1318865891/*CallbackKind.Kind_Callback_SizeResult_Void*/: return deserializeAndCallCallback_SizeResult_Void(thisDeserializer); case 1536231691/*CallbackKind.Kind_Callback_SpringBackAction_Void*/: return deserializeAndCallCallback_SpringBackAction_Void(thisDeserializer); case -879490874/*CallbackKind.Kind_Callback_String_Number_Void*/: return deserializeAndCallCallback_String_Number_Void(thisDeserializer); case -716524508/*CallbackKind.Kind_Callback_String_Opt_Object_Void*/: return deserializeAndCallCallback_String_Opt_Object_Void(thisDeserializer); diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts b/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts index 168b0fd2ee..f55948b35f 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts @@ -106,11 +106,13 @@ export enum CallbackKind { Kind_Callback_OnHttpErrorReceiveEvent_Void = -2066745559, Kind_Callback_OnInterceptRequestEvent_WebResourceResponse = 1442698200, Kind_Callback_OnLoadInterceptEvent_Boolean = 1231444306, + Kind_Callback_onMeasureSize_SizeResult = -1356285653, Kind_Callback_OnOverScrollEvent_Void = -860386431, Kind_Callback_OnPageBeginEvent_Void = -2040193994, Kind_Callback_OnPageEndEvent_Void = -130135362, Kind_Callback_OnPageVisibleEvent_Void = 1805946367, Kind_Callback_OnPermissionRequestEvent_Void = 529980696, + Kind_Callback_onPlaceChildren_Void = -738620506, Kind_Callback_OnProgressChangeEvent_Void = 1018740377, Kind_Callback_OnPromptEvent_Boolean = -1826742986, Kind_Callback_OnRefreshAccessedHistoryEvent_Void = 1978364344, @@ -148,6 +150,7 @@ export enum CallbackKind { Kind_Callback_RichEditorTextSpanResult_Void = 1980824326, Kind_Callback_SheetDismiss_Void = 22609082, Kind_Callback_SheetType_Void = -224451112, + Kind_Callback_SizeResult_Void = 1318865891, Kind_Callback_SpringBackAction_Void = 1536231691, Kind_Callback_String_Number_Void = -879490874, Kind_Callback_String_Opt_Object_Void = -716524508, diff --git a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts index 99c188fd00..3048a7b54d 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts @@ -22,9 +22,10 @@ import { CallbackKind } from "./CallbackKind" import { Serializer } from "./Serializer" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, AccessibilityHoverEvent, AccessibilityHoverEventInternal, AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragEventInternal, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, DrawModifierInternal, EffectEdge, EffectType, FinishCallbackType, GestureModifier, GestureModifierInternal, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, ICurveInternal, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, ChildrenMainSizeInternal, RectResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PixelMapMockInternal, PopupStateChangeParam, PreDragStatus, ProgressMask, ProgressMaskInternal, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, TextContentControllerBaseInternal, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffectInternal, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, UICommonEventInternal, Callback_ClickEvent_Void, ClickEvent, ClickEventInternal, Callback_TouchEvent_Void, TouchEvent, TouchEventInternal, Callback_KeyEvent_Void, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, Callback_MouseEvent_Void, MouseEvent, MouseEventInternal, VisibleAreaEventOptions, SheetOptions, View, ViewInternal, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchResult, Callback_AxisEvent_Void, AxisEvent, AxisEventInternal, Callback_Boolean_HoverEvent_Void, Callback_CrownEvent_Void, CrownEvent, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, FocusAxisEventInternal, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_PreDragStatus_Void, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DragInteractionOptions, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, LinearGradient_common, Tuple_ResourceColor_Number, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasurableInternal, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, StateStyles, SystemAdaptiveOptions, TouchObject, AlignRuleOption, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, BlurStyleOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, Layoutable, LayoutableInternal, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Literal_ResourceColor_color, EventTarget, BaseEvent, BaseEventInternal, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, PopupOptions, Literal_String_value_Callback_Void_action } from "./../common" +import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, AccessibilityHoverEvent, AccessibilityHoverEventInternal, AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, GeometryInfo, Measurable, MeasurableInternal, Layoutable, LayoutableInternal, DismissReason, DragBehavior, DragEvent, DragEventInternal, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, DrawModifierInternal, EffectEdge, EffectType, FinishCallbackType, GestureModifier, GestureModifierInternal, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, ICurveInternal, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, ChildrenMainSizeInternal, RectResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PixelMapMockInternal, PopupStateChangeParam, PreDragStatus, ProgressMask, ProgressMaskInternal, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, TextContentControllerBaseInternal, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SizeResult, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffectInternal, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, UICommonEventInternal, Callback_ClickEvent_Void, ClickEvent, ClickEventInternal, Callback_TouchEvent_Void, TouchEvent, TouchEventInternal, Callback_KeyEvent_Void, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, Callback_MouseEvent_Void, MouseEvent, MouseEventInternal, VisibleAreaEventOptions, SheetOptions, View, ViewInternal, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchResult, Callback_AxisEvent_Void, AxisEvent, AxisEventInternal, Callback_Boolean_HoverEvent_Void, Callback_CrownEvent_Void, CrownEvent, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, FocusAxisEventInternal, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_PreDragStatus_Void, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DragInteractionOptions, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, LinearGradient_common, Tuple_ResourceColor_Number, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, MeasureResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, StateStyles, SystemAdaptiveOptions, TouchObject, AlignRuleOption, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, BlurStyleOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Literal_ResourceColor_color, EventTarget, BaseEvent, BaseEventInternal, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, PopupOptions, Literal_String_value_Callback_Void_action } from "./../common" import { ButtonTriggerClickCallback, ButtonRole, ButtonStyleMode, ButtonType, ControlSize, ButtonOptions } from "./../button" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../animation_extender" +import { Callback_onMeasureSize_SizeResult, Callback_onPlaceChildren_Void, CustomLayoutRoot, CustomLayoutRootInternal } from "./../static_components" import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, ComponentContent, ComponentContentInternal, UnifiedData, UnifiedDataInternal, UIContext, UIContextInternal, SystemBarStyle, PointerStyle, Scene, SceneInternal, Context, ContextInternal, WorkerEventListener, WorkerEventListenerInternal, Event, ErrorEvent, MessageEvents, BaseContext, BaseContextInternal, PostMessageOptions, WorkerOptions, CustomColors, RestrictedWorker, RestrictedWorkerInternal, CustomTheme } from "./../arkui-custom" import { ContentDidScrollCallback, ContentWillScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, SwiperAnimationEvent, SwiperAnimationMode, SwiperAttribute, DotIndicator, DigitIndicator, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, SwiperContentWillScrollResult, AutoPlayOptions, ArrowStyle, SwiperAutoFill, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, Callback_SwiperContentTransitionProxy_Void, Indicator } from "./../swiper" import { CustomNodeBuilder } from "./../custom_builder" @@ -64,7 +65,7 @@ import { SearchSubmitCallback, CancelButtonStyle, SearchAttribute, IconOptions, import { SliderTriggerChangeCallback, SliderAttribute, Callback_Number_SliderChangeMode_Void, SliderChangeMode, SliderBlockStyle, SliderInteraction, SlideRange, SliderBlockType, SliderStyle, SliderOptions } from "./../slider" import { StyledStringMarshallCallback, StyledStringUnmarshallCallback, GestureStyle, GestureStyleInternal, GestureStyleInterface, StyledString, StyledStringInternal, MutableStyledString, MutableStyledStringInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, StyleOptions, StyledStringKey, SpanStyle, UserDataSpan, DecorationStyleInterface, UrlStyle, UrlStyleInternal, AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, BaselineOffsetStyle, BaselineOffsetStyleInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, TextShadowStyle, TextShadowStyleInternal, DecorationStyle, DecorationStyleInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, TextStyleInterface, ImageAttachmentLayoutStyle, ParagraphStyle, ParagraphStyleInternal, ParagraphStyleInterface, BackgroundColorStyle, BackgroundColorStyleInternal, ColorFilterType, ImageAttachmentInterface, AttachmentType, ResourceImageAttachmentOptions, StyledStringValue } from "./../styled_string" import { TextAreaSubmitCallback, TextAreaAttribute, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, TextAreaType, TextAreaController, TextAreaControllerInternal, TextAreaOptions } from "./../text_area" -import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ColorFilterInternal, ResourceStr, Dimension, LengthConstrain, DividerStyleOptions, ConstraintSizeOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" +import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ColorFilterInternal, ResourceStr, Dimension, ConstraintSizeOptions, LengthConstrain, DividerStyleOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" import { WithThemeInterface, WithThemeAttribute, WithThemeOptions } from "./../with_theme" import { AccessibilityHoverType, Alignment, Color, AnimationStatus, AppRotation, ArrowPointPosition, Axis, AxisAction, AxisModel, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, ColoringStrategy, CopyOptions, CrownAction, CrownSensitivity, Curve, DialogButtonStyle, Direction, DividerMode, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FocusDrawLevel, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, InteractionHand, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PageFlipMode, PixelRoundCalcPolicy, PixelRoundMode, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" import { Affinity, EllipsisMode, FontStyle, FontWidth, LineMetrics, TextBox, TextBaseline, TextDecorationStyle, TextDecorationType, TextDirection, FontFeature, FontVariation, RunMetrics, RectStyle, Decoration, TextShadow, text } from "./../arkui-graphics-text" @@ -133,7 +134,7 @@ import { TextTimerController, TextTimerControllerInternal, TextTimerOptions } fr import { ToggleType, ToggleOptions, SwitchStyle } from "./../toggle" import { UniformDataType } from "./../arkui-uniformtypedescriptor" import { WindowSceneAttribute } from "./../window_scene" -import { Callback_Array_String_Void, Callback_Array_TextMenuItem_Void, Callback_Buffer_Void, Callback_ComputedBarAttribute_Void, Callback_CustomBuilder_Void, Callback_CustomSpanMetrics_Void, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_Literal_Number_offsetRemain_Void, Callback_OffsetResult_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_Opt_Array_NavDestinationTransition_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Pointer_Void, Callback_StyledStringMarshallingValue_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void } from "./../generator_synthetic" +import { Callback_Array_String_Void, Callback_Array_TextMenuItem_Void, Callback_Buffer_Void, Callback_ComputedBarAttribute_Void, Callback_CustomBuilder_Void, Callback_CustomSpanMetrics_Void, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_Literal_Number_offsetRemain_Void, Callback_OffsetResult_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_Opt_Array_NavDestinationTransition_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Pointer_Void, Callback_SizeResult_Void, Callback_StyledStringMarshallingValue_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void } from "./../generator_synthetic" import { Callback_DismissDialogAction_Void, DismissDialogAction, ImmersiveMode, LevelMode, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions } from "./../action_sheet" import { Want } from "./../ohos.app.ability" import { Callback_TerminationInfo_Void, TerminationInfo } from "./../embedded_component" @@ -283,6 +284,11 @@ export class Deserializer extends DeserializerBase { let ptr : KPointer = valueDeserializer.readPointer() return CustomDialogControllerInternal.fromPtr(ptr) } + public readCustomLayoutRoot(): CustomLayoutRoot { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return CustomLayoutRootInternal.fromPtr(ptr) + } public readDataResubmissionHandler(): DataResubmissionHandler { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() @@ -852,6 +858,13 @@ export class Deserializer extends DeserializerBase { let value : Size = ({width: width_result, height: height_result} as Size) return value } + public readSizeResult(): SizeResult { + let valueDeserializer : Deserializer = this + const width_result : number = (valueDeserializer.readNumber() as number) + const height_result : number = (valueDeserializer.readNumber() as number) + let value : SizeResult = ({width: width_result, height: height_result} as SizeResult) + return value + } public readSliderAttribute(): SliderAttribute { throw new Error("Interface with functions is not supported") } @@ -2860,6 +2873,29 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } + public readCallback_onMeasureSize_SizeResult(isSync: boolean = false): Callback_onMeasureSize_SizeResult { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions):SizeResult => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeGeometryInfo(selfLayoutInfo); + _argsSerializer.writeInt32(children.length as int32); + for (let i = 0; i < children.length; i++) { + const children_element : Measurable = children[i]; + _argsSerializer.writeMeasurable(children_element); + } + _argsSerializer.writeConstraintSizeOptions(constraint); + let _continuationValue : SizeResult | undefined; + const _continuationCallback : ((value: SizeResult) => void) = (value: SizeResult):void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1356285653, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1356285653, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as SizeResult); } + } public readCallback_OnOverScrollEvent_Void(isSync: boolean = false): ((parameter: OnOverScrollEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -2930,6 +2966,26 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + public readCallback_onPlaceChildren_Void(isSync: boolean = false): Callback_onPlaceChildren_Void { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeGeometryInfo(selfLayoutInfo); + _argsSerializer.writeInt32(children.length as int32); + for (let i = 0; i < children.length; i++) { + const children_element : Layoutable = children[i]; + _argsSerializer.writeLayoutable(children_element); + } + _argsSerializer.writeConstraintSizeOptions(constraint); + (isSync) ? (InteropNativeModule._CallCallbackSync(-738620506, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-738620506, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } public readCallback_OnProgressChangeEvent_Void(isSync: boolean = false): ((parameter: OnProgressChangeEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -3525,6 +3581,20 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + public readCallback_SizeResult_Void(isSync: boolean = false): ((value: SizeResult) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (value: SizeResult):void => { + const _argsSerializer : Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeSizeResult(value); + (isSync) ? (InteropNativeModule._CallCallbackSync(1318865891, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1318865891, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } public readCallback_SpringBackAction_Void(isSync: boolean = false): ((parameter: SpringBackAction) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -25482,6 +25552,100 @@ export class Deserializer extends DeserializerBase { let ptr : KPointer = valueDeserializer.readPointer() return FocusAxisEventInternal.fromPtr(ptr) } + public readGeometryInfo(): GeometryInfo { + let valueDeserializer : Deserializer = this + const width_result : number = (valueDeserializer.readNumber() as number) + const height_result : number = (valueDeserializer.readNumber() as number) + const borderWidth_result : EdgeWidths = valueDeserializer.readEdgeWidths() + const margin_result : Padding = valueDeserializer.readPadding() + const padding_buf_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let padding_buf_top_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (padding_buf_top_buf_runtimeType)) + { + const padding_buf_top_buf__selector : int32 = valueDeserializer.readInt8() + let padding_buf_top_buf_ : string | number | Resource | undefined + if (padding_buf_top_buf__selector == 0) { + padding_buf_top_buf_ = (valueDeserializer.readString() as string) + } + else if (padding_buf_top_buf__selector == 1) { + padding_buf_top_buf_ = (valueDeserializer.readNumber() as number) + } + else if (padding_buf_top_buf__selector == 2) { + padding_buf_top_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for padding_buf_top_buf_ has to be chosen through deserialisation.") + } + padding_buf_top_buf = (padding_buf_top_buf_ as string | number | Resource) + } + const padding_buf_top : undefined | Length = padding_buf_top_buf + const padding_buf_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let padding_buf_right_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (padding_buf_right_buf_runtimeType)) + { + const padding_buf_right_buf__selector : int32 = valueDeserializer.readInt8() + let padding_buf_right_buf_ : string | number | Resource | undefined + if (padding_buf_right_buf__selector == 0) { + padding_buf_right_buf_ = (valueDeserializer.readString() as string) + } + else if (padding_buf_right_buf__selector == 1) { + padding_buf_right_buf_ = (valueDeserializer.readNumber() as number) + } + else if (padding_buf_right_buf__selector == 2) { + padding_buf_right_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for padding_buf_right_buf_ has to be chosen through deserialisation.") + } + padding_buf_right_buf = (padding_buf_right_buf_ as string | number | Resource) + } + const padding_buf_right : undefined | Length = padding_buf_right_buf + const padding_buf_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let padding_buf_bottom_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (padding_buf_bottom_buf_runtimeType)) + { + const padding_buf_bottom_buf__selector : int32 = valueDeserializer.readInt8() + let padding_buf_bottom_buf_ : string | number | Resource | undefined + if (padding_buf_bottom_buf__selector == 0) { + padding_buf_bottom_buf_ = (valueDeserializer.readString() as string) + } + else if (padding_buf_bottom_buf__selector == 1) { + padding_buf_bottom_buf_ = (valueDeserializer.readNumber() as number) + } + else if (padding_buf_bottom_buf__selector == 2) { + padding_buf_bottom_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for padding_buf_bottom_buf_ has to be chosen through deserialisation.") + } + padding_buf_bottom_buf = (padding_buf_bottom_buf_ as string | number | Resource) + } + const padding_buf_bottom : undefined | Length = padding_buf_bottom_buf + const padding_buf_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let padding_buf_left_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (padding_buf_left_buf_runtimeType)) + { + const padding_buf_left_buf__selector : int32 = valueDeserializer.readInt8() + let padding_buf_left_buf_ : string | number | Resource | undefined + if (padding_buf_left_buf__selector == 0) { + padding_buf_left_buf_ = (valueDeserializer.readString() as string) + } + else if (padding_buf_left_buf__selector == 1) { + padding_buf_left_buf_ = (valueDeserializer.readNumber() as number) + } + else if (padding_buf_left_buf__selector == 2) { + padding_buf_left_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for padding_buf_left_buf_ has to be chosen through deserialisation.") + } + padding_buf_left_buf = (padding_buf_left_buf_ as string | number | Resource) + } + const padding_buf_left : undefined | Length = padding_buf_left_buf + const padding_result : Padding = ({top: padding_buf_top, right: padding_buf_right, bottom: padding_buf_bottom, left: padding_buf_left} as Padding) + let value : GeometryInfo = ({width: width_result, height: height_result, borderWidth: borderWidth_result, margin: margin_result, padding: padding_result} as GeometryInfo) + return value + } public readGestureEvent(): GestureEvent { let valueDeserializer : Deserializer = this let ptr : KPointer = valueDeserializer.readPointer() diff --git a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts index fe81163b14..c72c741e05 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts @@ -21,9 +21,10 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { CallbackKind } from "./CallbackKind" import { TypeChecker } from "#components" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, AccessibilityHoverEvent, AccessibilityHoverEventInternal, AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragEventInternal, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, DrawModifierInternal, EffectEdge, EffectType, FinishCallbackType, GestureModifier, GestureModifierInternal, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, ICurveInternal, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, ChildrenMainSizeInternal, RectResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PixelMapMockInternal, PopupStateChangeParam, PreDragStatus, ProgressMask, ProgressMaskInternal, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, TextContentControllerBaseInternal, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffectInternal, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, UICommonEventInternal, Callback_ClickEvent_Void, ClickEvent, ClickEventInternal, Callback_TouchEvent_Void, TouchEvent, TouchEventInternal, Callback_KeyEvent_Void, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, Callback_MouseEvent_Void, MouseEvent, MouseEventInternal, VisibleAreaEventOptions, SheetOptions, View, ViewInternal, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchResult, Callback_AxisEvent_Void, AxisEvent, AxisEventInternal, Callback_Boolean_HoverEvent_Void, Callback_CrownEvent_Void, CrownEvent, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, FocusAxisEventInternal, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_PreDragStatus_Void, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DragInteractionOptions, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, LinearGradient_common, Tuple_ResourceColor_Number, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasurableInternal, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, StateStyles, SystemAdaptiveOptions, TouchObject, AlignRuleOption, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, BlurStyleOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, Layoutable, LayoutableInternal, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Literal_ResourceColor_color, EventTarget, BaseEvent, BaseEventInternal, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, PopupOptions, Literal_String_value_Callback_Void_action } from "./../common" +import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, AccessibilityHoverEvent, AccessibilityHoverEventInternal, AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, GeometryInfo, Measurable, MeasurableInternal, Layoutable, LayoutableInternal, DismissReason, DragBehavior, DragEvent, DragEventInternal, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, DrawModifierInternal, EffectEdge, EffectType, FinishCallbackType, GestureModifier, GestureModifierInternal, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, ICurveInternal, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, ChildrenMainSizeInternal, RectResult, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PixelMapMockInternal, PopupStateChangeParam, PreDragStatus, ProgressMask, ProgressMaskInternal, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, TextContentControllerBaseInternal, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SizeResult, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffectInternal, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, UICommonEventInternal, Callback_ClickEvent_Void, ClickEvent, ClickEventInternal, Callback_TouchEvent_Void, TouchEvent, TouchEventInternal, Callback_KeyEvent_Void, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, Callback_MouseEvent_Void, MouseEvent, MouseEventInternal, VisibleAreaEventOptions, SheetOptions, View, ViewInternal, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_Array_TouchTestInfo_TouchResult, TouchResult, Callback_AxisEvent_Void, AxisEvent, AxisEventInternal, Callback_Boolean_HoverEvent_Void, Callback_CrownEvent_Void, CrownEvent, Callback_DismissContentCoverAction_Void, DismissContentCoverAction, Callback_DismissPopupAction_Void, DismissPopupAction, Callback_DismissSheetAction_Void, DismissSheetAction, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, DragItemInfo, Callback_DragEvent_String_Void, Callback_FocusAxisEvent_Void, FocusAxisEvent, FocusAxisEventInternal, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_HoverEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_PreDragStatus_Void, Callback_SheetDismiss_Void, SheetDismiss, Callback_SheetType_Void, Callback_SpringBackAction_Void, SpringBackAction, Callback_TouchEvent_HitTestMode, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DragInteractionOptions, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, LinearGradient_common, Tuple_ResourceColor_Number, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, MeasureResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, StateStyles, SystemAdaptiveOptions, TouchObject, AlignRuleOption, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, BlurStyleOptions, ContentCoverOptions, BindOptions, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Literal_ResourceColor_color, EventTarget, BaseEvent, BaseEventInternal, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, PopupOptions, Literal_String_value_Callback_Void_action } from "./../common" import { ButtonTriggerClickCallback, ButtonRole, ButtonStyleMode, ButtonType, ControlSize, ButtonOptions } from "./../button" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../animation_extender" +import { Callback_onMeasureSize_SizeResult, Callback_onPlaceChildren_Void, CustomLayoutRoot, CustomLayoutRootInternal } from "./../static_components" import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, ComponentContent, ComponentContentInternal, UnifiedData, UnifiedDataInternal, UIContext, UIContextInternal, SystemBarStyle, PointerStyle, Scene, SceneInternal, Context, ContextInternal, WorkerEventListener, WorkerEventListenerInternal, Event, ErrorEvent, MessageEvents, BaseContext, BaseContextInternal, PostMessageOptions, WorkerOptions, CustomColors, RestrictedWorker, RestrictedWorkerInternal, CustomTheme } from "./../arkui-custom" import { ContentDidScrollCallback, ContentWillScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, SwiperAnimationEvent, SwiperAnimationMode, SwiperAttribute, DotIndicator, DigitIndicator, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, SwiperContentWillScrollResult, AutoPlayOptions, ArrowStyle, SwiperAutoFill, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, Callback_SwiperContentTransitionProxy_Void, Indicator } from "./../swiper" import { CustomNodeBuilder } from "./../custom_builder" @@ -63,7 +64,7 @@ import { SearchSubmitCallback, CancelButtonStyle, SearchAttribute, IconOptions, import { SliderTriggerChangeCallback, SliderAttribute, Callback_Number_SliderChangeMode_Void, SliderChangeMode, SliderBlockStyle, SliderInteraction, SlideRange, SliderBlockType, SliderStyle, SliderOptions } from "./../slider" import { StyledStringMarshallCallback, StyledStringUnmarshallCallback, GestureStyle, GestureStyleInternal, GestureStyleInterface, StyledString, StyledStringInternal, MutableStyledString, MutableStyledStringInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, StyleOptions, StyledStringKey, SpanStyle, UserDataSpan, DecorationStyleInterface, UrlStyle, UrlStyleInternal, AsyncCallback_CustomSpanMeasureInfo_CustomSpanMetrics, CustomSpanMeasureInfo, CustomSpanMetrics, Callback_DrawContext_CustomSpanDrawInfo_Void, CustomSpanDrawInfo, BaselineOffsetStyle, BaselineOffsetStyleInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, TextShadowStyle, TextShadowStyleInternal, DecorationStyle, DecorationStyleInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, TextStyleInterface, ImageAttachmentLayoutStyle, ParagraphStyle, ParagraphStyleInternal, ParagraphStyleInterface, BackgroundColorStyle, BackgroundColorStyleInternal, ColorFilterType, ImageAttachmentInterface, AttachmentType, ResourceImageAttachmentOptions, StyledStringValue } from "./../styled_string" import { TextAreaSubmitCallback, TextAreaAttribute, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, TextAreaType, TextAreaController, TextAreaControllerInternal, TextAreaOptions } from "./../text_area" -import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ColorFilterInternal, ResourceStr, Dimension, LengthConstrain, DividerStyleOptions, ConstraintSizeOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" +import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ColorFilterInternal, ResourceStr, Dimension, ConstraintSizeOptions, LengthConstrain, DividerStyleOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" import { WithThemeInterface, WithThemeAttribute, WithThemeOptions } from "./../with_theme" import { AccessibilityHoverType, Alignment, Color, AnimationStatus, AppRotation, ArrowPointPosition, Axis, AxisAction, AxisModel, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, ColoringStrategy, CopyOptions, CrownAction, CrownSensitivity, Curve, DialogButtonStyle, Direction, DividerMode, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FocusDrawLevel, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, InteractionHand, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PageFlipMode, PixelRoundCalcPolicy, PixelRoundMode, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" import { Affinity, EllipsisMode, FontStyle, FontWidth, LineMetrics, TextBox, TextBaseline, TextDecorationStyle, TextDecorationType, TextDirection, FontFeature, FontVariation, RunMetrics, RectStyle, Decoration, TextShadow, text } from "./../arkui-graphics-text" @@ -132,7 +133,7 @@ import { TextTimerController, TextTimerControllerInternal, TextTimerOptions } fr import { ToggleType, ToggleOptions, SwitchStyle } from "./../toggle" import { UniformDataType } from "./../arkui-uniformtypedescriptor" import { WindowSceneAttribute } from "./../window_scene" -import { Callback_Array_String_Void, Callback_Array_TextMenuItem_Void, Callback_Buffer_Void, Callback_ComputedBarAttribute_Void, Callback_CustomBuilder_Void, Callback_CustomSpanMetrics_Void, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_Literal_Number_offsetRemain_Void, Callback_OffsetResult_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_Opt_Array_NavDestinationTransition_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Pointer_Void, Callback_StyledStringMarshallingValue_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void } from "./../generator_synthetic" +import { Callback_Array_String_Void, Callback_Array_TextMenuItem_Void, Callback_Buffer_Void, Callback_ComputedBarAttribute_Void, Callback_CustomBuilder_Void, Callback_CustomSpanMetrics_Void, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_Literal_Number_offsetRemain_Void, Callback_OffsetResult_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_Opt_Array_NavDestinationTransition_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Pointer_Void, Callback_SizeResult_Void, Callback_StyledStringMarshallingValue_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void } from "./../generator_synthetic" import { Callback_DismissDialogAction_Void, DismissDialogAction, ImmersiveMode, LevelMode, ActionSheetButtonOptions, ActionSheetOffset, SheetInfo, ActionSheetOptions } from "./../action_sheet" import { Want } from "./../ohos.app.ability" import { Callback_TerminationInfo_Void, TerminationInfo } from "./../embedded_component" @@ -267,6 +268,10 @@ export class Serializer extends SerializerBase { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } + public writeCustomLayoutRoot(value: CustomLayoutRoot): void { + let valueSerializer : Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } public writeDataResubmissionHandler(value: DataResubmissionHandler): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -758,6 +763,13 @@ export class Serializer extends SerializerBase { const value_height = value.height valueSerializer.writeNumber(value_height) } + public writeSizeResult(value: SizeResult): void { + let valueSerializer : Serializer = this + const value_width = value.width + valueSerializer.writeNumber(value_width) + const value_height = value.height + valueSerializer.writeNumber(value_height) + } public writeSliderAttribute(value: SliderAttribute): void { } public writeSpringMotion(value: SpringMotion): void { @@ -23016,6 +23028,114 @@ export class Serializer extends SerializerBase { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } + public writeGeometryInfo(value: GeometryInfo): void { + let valueSerializer : Serializer = this + const value_width = value.width + valueSerializer.writeNumber(value_width) + const value_height = value.height + valueSerializer.writeNumber(value_height) + const value_borderWidth = value.borderWidth + valueSerializer.writeEdgeWidths(value_borderWidth) + const value_margin = value.margin + valueSerializer.writePadding(value_margin) + const value_padding = value.padding + const value_padding_top = value_padding.top + let value_padding_top_type : int32 = RuntimeType.UNDEFINED + value_padding_top_type = runtimeType(value_padding_top) + valueSerializer.writeInt8(value_padding_top_type) + if ((RuntimeType.UNDEFINED) != (value_padding_top_type)) { + const value_padding_top_value = value_padding_top! + let value_padding_top_value_type : int32 = RuntimeType.UNDEFINED + value_padding_top_value_type = runtimeType(value_padding_top_value) + if (RuntimeType.STRING == value_padding_top_value_type) { + valueSerializer.writeInt8(0) + const value_padding_top_value_0 = value_padding_top_value as string + valueSerializer.writeString(value_padding_top_value_0) + } + else if (RuntimeType.NUMBER == value_padding_top_value_type) { + valueSerializer.writeInt8(1) + const value_padding_top_value_1 = value_padding_top_value as number + valueSerializer.writeNumber(value_padding_top_value_1) + } + else if (RuntimeType.OBJECT == value_padding_top_value_type) { + valueSerializer.writeInt8(2) + const value_padding_top_value_2 = value_padding_top_value as Resource + valueSerializer.writeResource(value_padding_top_value_2) + } + } + const value_padding_right = value_padding.right + let value_padding_right_type : int32 = RuntimeType.UNDEFINED + value_padding_right_type = runtimeType(value_padding_right) + valueSerializer.writeInt8(value_padding_right_type) + if ((RuntimeType.UNDEFINED) != (value_padding_right_type)) { + const value_padding_right_value = value_padding_right! + let value_padding_right_value_type : int32 = RuntimeType.UNDEFINED + value_padding_right_value_type = runtimeType(value_padding_right_value) + if (RuntimeType.STRING == value_padding_right_value_type) { + valueSerializer.writeInt8(0) + const value_padding_right_value_0 = value_padding_right_value as string + valueSerializer.writeString(value_padding_right_value_0) + } + else if (RuntimeType.NUMBER == value_padding_right_value_type) { + valueSerializer.writeInt8(1) + const value_padding_right_value_1 = value_padding_right_value as number + valueSerializer.writeNumber(value_padding_right_value_1) + } + else if (RuntimeType.OBJECT == value_padding_right_value_type) { + valueSerializer.writeInt8(2) + const value_padding_right_value_2 = value_padding_right_value as Resource + valueSerializer.writeResource(value_padding_right_value_2) + } + } + const value_padding_bottom = value_padding.bottom + let value_padding_bottom_type : int32 = RuntimeType.UNDEFINED + value_padding_bottom_type = runtimeType(value_padding_bottom) + valueSerializer.writeInt8(value_padding_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_padding_bottom_type)) { + const value_padding_bottom_value = value_padding_bottom! + let value_padding_bottom_value_type : int32 = RuntimeType.UNDEFINED + value_padding_bottom_value_type = runtimeType(value_padding_bottom_value) + if (RuntimeType.STRING == value_padding_bottom_value_type) { + valueSerializer.writeInt8(0) + const value_padding_bottom_value_0 = value_padding_bottom_value as string + valueSerializer.writeString(value_padding_bottom_value_0) + } + else if (RuntimeType.NUMBER == value_padding_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_padding_bottom_value_1 = value_padding_bottom_value as number + valueSerializer.writeNumber(value_padding_bottom_value_1) + } + else if (RuntimeType.OBJECT == value_padding_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_padding_bottom_value_2 = value_padding_bottom_value as Resource + valueSerializer.writeResource(value_padding_bottom_value_2) + } + } + const value_padding_left = value_padding.left + let value_padding_left_type : int32 = RuntimeType.UNDEFINED + value_padding_left_type = runtimeType(value_padding_left) + valueSerializer.writeInt8(value_padding_left_type) + if ((RuntimeType.UNDEFINED) != (value_padding_left_type)) { + const value_padding_left_value = value_padding_left! + let value_padding_left_value_type : int32 = RuntimeType.UNDEFINED + value_padding_left_value_type = runtimeType(value_padding_left_value) + if (RuntimeType.STRING == value_padding_left_value_type) { + valueSerializer.writeInt8(0) + const value_padding_left_value_0 = value_padding_left_value as string + valueSerializer.writeString(value_padding_left_value_0) + } + else if (RuntimeType.NUMBER == value_padding_left_value_type) { + valueSerializer.writeInt8(1) + const value_padding_left_value_1 = value_padding_left_value as number + valueSerializer.writeNumber(value_padding_left_value_1) + } + else if (RuntimeType.OBJECT == value_padding_left_value_type) { + valueSerializer.writeInt8(2) + const value_padding_left_value_2 = value_padding_left_value as Resource + valueSerializer.writeResource(value_padding_left_value_2) + } + } + } public writeGestureEvent(value: GestureEvent): void { let valueSerializer : Serializer = this valueSerializer.writePointer(toPeerPtr(value)) diff --git a/arkoala-arkts/arkui/src/generated/static_components.ts b/arkoala-arkts/arkui/src/generated/static_components.ts index 5ae023ab93..fcf0a0b888 100644 --- a/arkoala-arkts/arkui/src/generated/static_components.ts +++ b/arkoala-arkts/arkui/src/generated/static_components.ts @@ -24,6 +24,9 @@ import { PeerNode } from "./../PeerNode" import { ArkUIGeneratedNativeModule, TypeChecker } from "#components" import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" +import { GeometryInfo, Measurable, Layoutable, SizeResult, MeasureResult } from "./common" +import { ConstraintSizeOptions, EdgeWidths, Padding, DirectionalEdgesT, Length, Position } from "./units" +import { Resource } from "./resource" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class ArkRootPeer extends PeerNode { @@ -50,6 +53,30 @@ export class ArkComponentRootPeer extends PeerNode { return _peer } } +export class ArkCustomLayoutRootPeer extends PeerNode { + protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { + super(peerPtr, id, name, flags) + } + public static create(component?: ComponentBase, flags: int32 = 0): ArkCustomLayoutRootPeer { + const peerId = PeerNode.nextId() + const _peerPtr = ArkUIGeneratedNativeModule._CustomLayoutRoot_construct(peerId, flags) + const _peer = new ArkCustomLayoutRootPeer(_peerPtr, peerId, "CustomLayoutRoot", flags) + component?.setPeer(_peer) + return _peer + } + subscribeOnMeasureSizeAttribute(callback: Callback_onMeasureSize_SizeResult): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(callback) + ArkUIGeneratedNativeModule._CustomLayoutRoot_subscribeOnMeasureSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + subscribeOnPlaceChildrenAttribute(callback: Callback_onPlaceChildren_Void): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(callback) + ArkUIGeneratedNativeModule._CustomLayoutRoot_subscribeOnPlaceChildren(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } +} export interface Root { attributeModifier(value: AttributeModifier | undefined): this } @@ -74,6 +101,8 @@ export class ArkComponentRootStyle implements ComponentRoot { throw new Error("Not implemented") } } +export type Callback_onMeasureSize_SizeResult = (selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions) => SizeResult; +export type Callback_onPlaceChildren_Void = (selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions) => void; /** @memo:stable */ export class ArkRootComponent extends ComponentBase implements UIRoot { getPeer(): ArkRootPeer { @@ -104,3 +133,36 @@ export class ArkComponentRootComponent extends ComponentBase implements UICompon super.applyAttributesFinish() } } +/** @memo:stable */ +export class ArkCustomLayoutRootComponent extends ComponentBase implements UICustomLayoutRoot { + getPeer(): ArkCustomLayoutRootPeer { + return (this.peer as ArkCustomLayoutRootPeer) + } + /** @memo */ + public subscribeOnMeasureSize(callback: Callback_onMeasureSize_SizeResult): void { + if (this.checkPriority("subscribeOnMeasureSize")) { + const callback_casted = callback as (Callback_onMeasureSize_SizeResult) + this.getPeer()?.subscribeOnMeasureSizeAttribute(callback_casted) + return + } + return + } + /** @memo */ + public subscribeOnPlaceChildren(callback: Callback_onPlaceChildren_Void): void { + if (this.checkPriority("subscribeOnPlaceChildren")) { + const callback_casted = callback as (Callback_onPlaceChildren_Void) + this.getPeer()?.subscribeOnPlaceChildrenAttribute(callback_casted) + return + } + return + } + /** @memo */ + public attributeModifier(value: AttributeModifier | undefined): this { + console.log("attributeModifier() not implemented") + return this + } + public applyAttributesFinish(): void { + // we call this function outside of class, so need to make it public + super.applyAttributesFinish() + } +} diff --git a/arkoala-arkts/arkui/src/generated/ts/type_check.ts b/arkoala-arkts/arkui/src/generated/ts/type_check.ts index f312162dd0..e0ec8f5089 100644 --- a/arkoala-arkts/arkui/src/generated/ts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/ts/type_check.ts @@ -19,10 +19,10 @@ import { KBoolean, KStringPtr, NativeBuffer, MaterializedBase } from "@koalaui/interop" import { int32 } from "@koalaui/common" import { AccessibilityHoverType, Alignment, AnimationStatus, AppRotation, ArrowPointPosition, Axis, AxisAction, AxisModel, BarState, BorderStyle, CheckBoxShape, ClickEffectLevel, Color, ColoringStrategy, CopyOptions, CrownAction, CrownSensitivity, Curve, DialogButtonStyle, Direction, DividerMode, Edge, EdgeEffect, EmbeddedType, FillMode, FlexAlign, FlexDirection, FlexWrap, FocusDrawLevel, FoldStatus, FontWeight, FunctionKey, GradientDirection, HeightBreakpoint, HitTestMode, HorizontalAlign, HoverEffect, IlluminatedType, ImageFit, ImageRepeat, ImageSize, ImageSpanAlignment, InteractionHand, ItemAlign, KeySource, KeyType, LineBreakStrategy, LineCapStyle, LineJoinStyle, MarqueeUpdateStrategy, ModifierKey, MouseAction, MouseButton, NestedScrollMode, ObscuredReasons, OptionWidthMode, PageFlipMode, PixelRoundCalcPolicy, PixelRoundMode, Placement, PlayMode, RelateType, RenderFit, ResponseType, ScrollSource, TextAlign, SharedTransitionEffectType, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, TextCase, TextSelectableMode, TitleHeight, TouchType, TransitionType, VerticalAlign, Visibility, Week, WidthBreakpoint, XComponentType } from "./../enums" -import { AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, DismissReason, DragBehavior, DragEvent, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, EffectEdge, EffectType, FinishCallbackType, GestureModifier, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, RectResult, Literal_Boolean_isVisible, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PopupStateChangeParam, PreDragStatus, ProgressMask, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, Callback_ClickEvent_Void, ClickEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, HoverCallback, HoverEvent, Callback_MouseEvent_Void, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, View, Callback_KeyEvent_Boolean, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, CrownEvent, DateRange, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragInteractionOptions, DragItemInfo, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, Tuple_ResourceColor_Number, LinearGradient_common, FractionStop, LinearGradientBlurOptions, LinearGradientOptions, Literal_Alignment_align, Literal_Number_offset_span, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_String_value_Callback_Void_action, Literal_TransitionEffect_appear_disappear, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, Measurable, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, SheetDismiss, SpringBackAction, StateStyles, SystemAdaptiveOptions, TouchObject, TouchResult, AlignRuleOption, BlurStyleOptions, ContentCoverOptions, BindOptions, Callback_DismissContentCoverAction_Void, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, Layoutable, LightSource, Literal_ResourceColor_color, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ReuseIdCallback, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, EventTarget, FocusAxisEvent, BaseEvent, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, AccessibilityHoverEvent, AxisEvent, PopupOptions, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, PromptActionDialogController, LayoutChild } from "./../common" +import { AccessibilityRoleType, AccessibilitySamePageMode, AdaptiveColor, CommonMethod, BlurStyle, BlendApplyType, BlurStyleActivePolicy, PickerTextStyle, ChainStyle, ContentClipMode, Measurable, Layoutable, GeometryInfo, DismissReason, DragBehavior, DragEvent, DragResult, Rectangle, DataSyncOptions, DraggingSizeChangeEffect, DragPreviewMode, DrawModifier, EffectEdge, EffectType, FinishCallbackType, GestureModifier, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions, HapticFeedbackMode, HoverModeAreaType, ICurve, KeyboardAvoidMode, LayoutPolicy, LayoutSafeAreaEdge, LayoutSafeAreaType, ChildrenMainSize, RectResult, Literal_Boolean_isVisible, MenuPolicy, MenuPreviewMode, ModalTransition, OutlineStyle, PixelMapMock, PopupStateChangeParam, PreDragStatus, ProgressMask, RepeatMode, SelectionOptions, SafeAreaEdge, SafeAreaType, ScrollSizeMode, TextDecorationOptions, TextContentControllerBase, ShadowStyle, ShadowType, SheetKeyboardAvoidMode, SheetMode, SheetSize, SheetType, SizeResult, SourceTool, SourceType, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, ThemeColorMode, TouchTestInfo, TouchTestStrategy, TransitionEdge, TransitionEffect, TransitionEffects, RotateOptions, ScaleOptions, AnimateParam, TransitionHierarchyStrategy, UICommonEvent, Callback_ClickEvent_Void, ClickEvent, Callback_TouchEvent_Void, TouchEvent, Callback_KeyEvent_Void, KeyEvent, HoverCallback, HoverEvent, Callback_MouseEvent_Void, MouseEvent, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, SheetOptions, View, Callback_KeyEvent_Boolean, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, CrownEvent, DateRange, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragInteractionOptions, DragItemInfo, DropOptions, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, InvertOptions, Tuple_ResourceColor_Number, LinearGradient_common, FractionStop, LinearGradientBlurOptions, LinearGradientOptions, Literal_Alignment_align, Literal_Number_offset_span, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_String_value_Callback_Void_action, Literal_TransitionEffect_appear_disappear, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, MeasureResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, SheetDismiss, SpringBackAction, StateStyles, SystemAdaptiveOptions, TouchObject, TouchResult, AlignRuleOption, BlurStyleOptions, ContentCoverOptions, BindOptions, Callback_DismissContentCoverAction_Void, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, Literal_ResourceColor_color, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ReuseIdCallback, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, Tuple_Length_Length, SweepGradientOptions, TipsOptions, BorderImageOption, ContextMenuOptions, BorderRadiusType, CustomPopupOptions, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, EventTarget, FocusAxisEvent, BaseEvent, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, AccessibilityHoverEvent, AxisEvent, PopupOptions, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, PromptActionDialogController, LayoutChild } from "./../common" import { Affinity, EllipsisMode, FontStyle, FontWidth, TextBox, LineMetrics, TextBaseline, TextDecorationStyle, TextDecorationType, TextDirection, FontFeature, FontVariation, RunMetrics, RectStyle, Decoration, TextShadow, text } from "./../arkui-graphics-text" import { AlphabetIndexerAttribute, Callback_Number_Void, OnAlphabetIndexerSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerPopupSelectCallback, IndexerAlign, AlphabetIndexerOptions } from "./../alphabet_indexer" -import { ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ResourceStr, Dimension, LengthConstrain, VoidCallback, DividerStyleOptions, ConstraintSizeOptions, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, Area, BorderOptions, OutlineOptions } from "./../units" +import { ResourceColor, Font, Position, Length, SizeOptions, Offset, ColorFilter, ResourceStr, Dimension, ConstraintSizeOptions, LengthConstrain, VoidCallback, DividerStyleOptions, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, Area, BorderOptions, OutlineOptions } from "./../units" import { PixelMap } from "./../arkui-pixelmap" import { AnimatedDrawableDescriptor, DrawableDescriptor, AnimationOptions, LayeredDrawableDescriptor, PixelMapDrawableDescriptor } from "./../arkui-drawabledescriptor" import { AnimationMode, BarMode, BarPosition, LayoutStyle, TabContentTransitionProxy, TabsAnimationEvent, TabsAttribute, OnTabsAnimationStartCallback, OnTabsAnimationEndCallback, OnTabsGestureSwipeCallback, DividerStyle, BarGridColumnOptions, TabsCustomContentTransitionCallback, OnTabsContentWillChangeCallback, ScrollableBarModeOptions, TabsCacheMode, TabsController, CommonModifier, TabContentAnimatedTransition, Callback_TabContentTransitionProxy_Void, TabsOptions } from "./../tabs" @@ -49,6 +49,7 @@ import { ComponentContent, UnifiedData, UIContext, SystemBarStyle, PointerStyle, import { ContentModifier, WrappedBuilder, CommonConfiguration, Callback_WrappedBuilder_Args_Void } from "./../arkui-wrapper-builder" import { ContentType, EnterKeyType, InputType, SubmitEvent, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, TextInputAttribute, OnSubmitCallback, TextInputStyle, PasswordIcon, UnderlineColor, TextInputController, TextInputOptions } from "./../text_input" import { CustomDialogController, CustomDialogControllerOptions } from "./../custom_dialog_controller" +import { CustomLayoutRoot, Callback_onMeasureSize_SizeResult, Callback_onPlaceChildren_Void } from "./../static_components" import { DataOperationType } from "./../lazy_for_each" import { DataPanelType, ColorStop, LinearGradient, DataPanelOptions, DataPanelShadowOptions } from "./../data_panel" import { DatePickerMode, DatePickerOptions, DatePickerResult, LunarSwitchStyle, DatePickerDialogOptions, Callback_DatePickerResult_Void } from "./../date_picker" @@ -3792,6 +3793,9 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof CustomDialogControllerOptions") } } + static isCustomLayoutRoot(value: Object | string | number | undefined | boolean): boolean { + throw new Error("Can not discriminate value typeof CustomLayoutRoot") + } static isCustomPopupOptions(value: Object | string | number | undefined | boolean, duplicated_builder: boolean, duplicated_placement: boolean, duplicated_maskColor: boolean, duplicated_popupColor: boolean, duplicated_enableArrow: boolean, duplicated_autoCancel: boolean, duplicated_onStateChange: boolean, duplicated_arrowOffset: boolean, duplicated_showInSubWindow: boolean, duplicated_mask: boolean, duplicated_targetSpace: boolean, duplicated_offset: boolean, duplicated_width: boolean, duplicated_arrowPointPosition: boolean, duplicated_arrowWidth: boolean, duplicated_arrowHeight: boolean, duplicated_radius: boolean, duplicated_shadow: boolean, duplicated_backgroundBlurStyle: boolean, duplicated_focusable: boolean, duplicated_transition: boolean, duplicated_onWillDismiss: boolean, duplicated_enableHoverMode: boolean, duplicated_followTransformOfTarget: boolean, duplicated_keyboardAvoidMode: boolean): boolean { if ((!duplicated_builder) && (value?.hasOwnProperty("builder"))) { return true @@ -5981,6 +5985,20 @@ export class TypeChecker { static isGaugeShadowOptions(value: Object | string | number | undefined | boolean): boolean { throw new Error("Can not discriminate value typeof GaugeShadowOptions") } + static isGeometryInfo(value: Object | string | number | undefined | boolean, duplicated_borderWidth: boolean, duplicated_margin: boolean, duplicated_padding: boolean): boolean { + if ((!duplicated_borderWidth) && (value?.hasOwnProperty("borderWidth"))) { + return true + } + else if ((!duplicated_margin) && (value?.hasOwnProperty("margin"))) { + return true + } + else if ((!duplicated_padding) && (value?.hasOwnProperty("padding"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof GeometryInfo") + } + } static isGeometryTransitionOptions(value: Object | string | number | undefined | boolean, duplicated_follow: boolean, duplicated_hierarchyStrategy: boolean): boolean { if ((!duplicated_follow) && (value?.hasOwnProperty("follow"))) { return true @@ -14748,6 +14766,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SizeOptions") } } + static isSizeResult(value: Object | string | number | undefined | boolean, duplicated_width: boolean, duplicated_height: boolean): boolean { + if ((!duplicated_width) && (value?.hasOwnProperty("width"))) { + return true + } + else if ((!duplicated_height) && (value?.hasOwnProperty("height"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof SizeResult") + } + } static isSizeType(value: Object | string | number | undefined | boolean): boolean { if ((value) === (SizeType.Auto)) { return true @@ -21628,6 +21657,12 @@ export class TypeChecker { static isArray_Number(value: Object | string | number | undefined): boolean { return Array.isArray(value) } + static isArray_Measurable(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } + static isArray_Layoutable(value: Object | string | number | undefined): boolean { + return Array.isArray(value) + } static isArray_String(value: Object | string | number | undefined): boolean { return Array.isArray(value) } @@ -21832,12 +21867,6 @@ export class TypeChecker { static isArray_LayoutChild(value: Object | string | number | undefined): boolean { return Array.isArray(value) } - static isArray_Layoutable(value: Object | string | number | undefined): boolean { - return Array.isArray(value) - } - static isArray_Measurable(value: Object | string | number | undefined): boolean { - return Array.isArray(value) - } static isArray_Tuple_Union_ResourceColor_LinearGradient_Number(value: Object | string | number | undefined): boolean { return Array.isArray(value) } diff --git a/arkoala-arkts/arkui/types/index-full.d.ts b/arkoala-arkts/arkui/types/index-full.d.ts index 2d6be49610..43d8ab299a 100644 --- a/arkoala-arkts/arkui/types/index-full.d.ts +++ b/arkoala-arkts/arkui/types/index-full.d.ts @@ -1478,6 +1478,12 @@ declare interface Root { } declare interface ComponentRoot { } +declare type Callback_onMeasureSize_SizeResult = ((selfLayoutInfo: GeometryInfo, children: Measurable[], constraint: ConstraintSizeOptions) => SizeResult); +declare type Callback_onPlaceChildren_Void = ((selfLayoutInfo: GeometryInfo, children: Layoutable[], constraint: ConstraintSizeOptions) => void); +declare interface CustomLayoutRoot { + subscribeOnMeasureSize(callback_: Callback_onMeasureSize_SizeResult): void; + subscribeOnPlaceChildren(callback_: Callback_onPlaceChildren_Void): void; +} declare class EventEmulator { static emitClickEvent(node: number|bigint, event: ClickEvent): void; static emitTextInputEvent(node: number|bigint, text: string): void; diff --git a/arkoala-arkts/framework/native/src/generated/Serializers.h b/arkoala-arkts/framework/native/src/generated/Serializers.h index 65de33d571..1856631747 100644 --- a/arkoala-arkts/framework/native/src/generated/Serializers.h +++ b/arkoala-arkts/framework/native/src/generated/Serializers.h @@ -2165,6 +2165,33 @@ inline Ark_RuntimeType runtimeType(const Opt_CustomDialogController& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_CustomLayoutRoot& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_CustomLayoutRoot value) { + WriteToString(result, static_cast(value)); +} +template <> +inline void WriteToString(std::string* result, const Opt_CustomLayoutRoot* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_CustomLayoutRoot& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline void WriteToString(std::string* result, const Opt_CustomObject* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); @@ -11443,6 +11470,41 @@ inline Ark_RuntimeType runtimeType(const Opt_Size& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_SizeResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SizeResult* value) { + result->append("{"); + // Ark_Number width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Number height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SizeResult* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SizeResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_SizeType& value) { return INTEROP_RUNTIME_NUMBER; @@ -17964,6 +18026,46 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_ImageFrameInfo& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_Layoutable& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_Layoutable value); + +template <> +inline void WriteToString(std::string* result, const Array_Layoutable* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_Layoutable* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_Layoutable& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Array_LayoutSafeAreaEdge& value) { return INTEROP_RUNTIME_OBJECT; @@ -18164,6 +18266,46 @@ inline Ark_RuntimeType runtimeType(const Opt_Array_LocalizedBarrierStyle& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_Measurable& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +void WriteToString(std::string* result, const Ark_Measurable value); + +template <> +inline void WriteToString(std::string* result, const Array_Measurable* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_Measurable* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Array_Measurable& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Array_MenuElement& value) { return INTEROP_RUNTIME_OBJECT; @@ -23308,6 +23450,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_OnLoadInterceptEvent_Boole return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_onMeasureSize_SizeResult& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_onMeasureSize_SizeResult* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_onMeasureSize_SizeResult* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_onMeasureSize_SizeResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_OnOverScrollEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -23463,6 +23636,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPermissionRequestEvent_V return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_onPlaceChildren_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_onPlaceChildren_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_onPlaceChildren_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_onPlaceChildren_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_OnProgressChangeEvent_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -24610,6 +24814,37 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_SheetType_Void& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Callback_SizeResult_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_SizeResult_Void* value) { + result->append("{"); + result->append(".resource="); + WriteToString(result, &value->resource); + result->append(", .call=0"); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Callback_SizeResult_Void* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_Callback_SizeResult_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_SpringBackAction_Void& value) { return INTEROP_RUNTIME_OBJECT; @@ -57628,6 +57863,53 @@ inline Ark_RuntimeType runtimeType(const Opt_FocusAxisEvent& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_GeometryInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_GeometryInfo* value) { + result->append("{"); + // Ark_Number width + result->append(".width="); + WriteToString(result, &value->width); + // Ark_Number height + result->append(", "); + result->append(".height="); + WriteToString(result, &value->height); + // Ark_EdgeWidths borderWidth + result->append(", "); + result->append(".borderWidth="); + WriteToString(result, &value->borderWidth); + // Ark_Padding margin + result->append(", "); + result->append(".margin="); + WriteToString(result, &value->margin); + // Ark_Padding padding + result->append(", "); + result->append(".padding="); + WriteToString(result, &value->padding); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GeometryInfo* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GeometryInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_GestureEvent& value) { return INTEROP_RUNTIME_OBJECT; @@ -62129,6 +62411,11 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeCustomLayoutRoot(Ark_CustomLayoutRoot value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value); + } void writeDataResubmissionHandler(Ark_DataResubmissionHandler value) { Serializer& valueSerializer = *this; @@ -62726,6 +63013,14 @@ class Serializer : public SerializerBase { const auto value_height = value.height; valueSerializer.writeNumber(value_height); } + void writeSizeResult(Ark_SizeResult value) + { + Serializer& valueSerializer = *this; + const auto value_width = value.width; + valueSerializer.writeNumber(value_width); + const auto value_height = value.height; + valueSerializer.writeNumber(value_height); + } void writeSliderAttribute(Ark_SliderAttribute value) { } @@ -85768,6 +86063,115 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value); } + void writeGeometryInfo(Ark_GeometryInfo value) + { + Serializer& valueSerializer = *this; + const auto value_width = value.width; + valueSerializer.writeNumber(value_width); + const auto value_height = value.height; + valueSerializer.writeNumber(value_height); + const auto value_borderWidth = value.borderWidth; + valueSerializer.writeEdgeWidths(value_borderWidth); + const auto value_margin = value.margin; + valueSerializer.writePadding(value_margin); + const auto value_padding = value.padding; + const auto value_padding_top = value_padding.top; + Ark_Int32 value_padding_top_type = INTEROP_RUNTIME_UNDEFINED; + value_padding_top_type = runtimeType(value_padding_top); + valueSerializer.writeInt8(value_padding_top_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_padding_top_type)) { + const auto value_padding_top_value = value_padding_top.value; + Ark_Int32 value_padding_top_value_type = INTEROP_RUNTIME_UNDEFINED; + value_padding_top_value_type = value_padding_top_value.selector; + if (value_padding_top_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_padding_top_value_0 = value_padding_top_value.value0; + valueSerializer.writeString(value_padding_top_value_0); + } + else if (value_padding_top_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_padding_top_value_1 = value_padding_top_value.value1; + valueSerializer.writeNumber(value_padding_top_value_1); + } + else if (value_padding_top_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_padding_top_value_2 = value_padding_top_value.value2; + valueSerializer.writeResource(value_padding_top_value_2); + } + } + const auto value_padding_right = value_padding.right; + Ark_Int32 value_padding_right_type = INTEROP_RUNTIME_UNDEFINED; + value_padding_right_type = runtimeType(value_padding_right); + valueSerializer.writeInt8(value_padding_right_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_padding_right_type)) { + const auto value_padding_right_value = value_padding_right.value; + Ark_Int32 value_padding_right_value_type = INTEROP_RUNTIME_UNDEFINED; + value_padding_right_value_type = value_padding_right_value.selector; + if (value_padding_right_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_padding_right_value_0 = value_padding_right_value.value0; + valueSerializer.writeString(value_padding_right_value_0); + } + else if (value_padding_right_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_padding_right_value_1 = value_padding_right_value.value1; + valueSerializer.writeNumber(value_padding_right_value_1); + } + else if (value_padding_right_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_padding_right_value_2 = value_padding_right_value.value2; + valueSerializer.writeResource(value_padding_right_value_2); + } + } + const auto value_padding_bottom = value_padding.bottom; + Ark_Int32 value_padding_bottom_type = INTEROP_RUNTIME_UNDEFINED; + value_padding_bottom_type = runtimeType(value_padding_bottom); + valueSerializer.writeInt8(value_padding_bottom_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_padding_bottom_type)) { + const auto value_padding_bottom_value = value_padding_bottom.value; + Ark_Int32 value_padding_bottom_value_type = INTEROP_RUNTIME_UNDEFINED; + value_padding_bottom_value_type = value_padding_bottom_value.selector; + if (value_padding_bottom_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_padding_bottom_value_0 = value_padding_bottom_value.value0; + valueSerializer.writeString(value_padding_bottom_value_0); + } + else if (value_padding_bottom_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_padding_bottom_value_1 = value_padding_bottom_value.value1; + valueSerializer.writeNumber(value_padding_bottom_value_1); + } + else if (value_padding_bottom_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_padding_bottom_value_2 = value_padding_bottom_value.value2; + valueSerializer.writeResource(value_padding_bottom_value_2); + } + } + const auto value_padding_left = value_padding.left; + Ark_Int32 value_padding_left_type = INTEROP_RUNTIME_UNDEFINED; + value_padding_left_type = runtimeType(value_padding_left); + valueSerializer.writeInt8(value_padding_left_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_padding_left_type)) { + const auto value_padding_left_value = value_padding_left.value; + Ark_Int32 value_padding_left_value_type = INTEROP_RUNTIME_UNDEFINED; + value_padding_left_value_type = value_padding_left_value.selector; + if (value_padding_left_value_type == 0) { + valueSerializer.writeInt8(0); + const auto value_padding_left_value_0 = value_padding_left_value.value0; + valueSerializer.writeString(value_padding_left_value_0); + } + else if (value_padding_left_value_type == 1) { + valueSerializer.writeInt8(1); + const auto value_padding_left_value_1 = value_padding_left_value.value1; + valueSerializer.writeNumber(value_padding_left_value_1); + } + else if (value_padding_left_value_type == 2) { + valueSerializer.writeInt8(2); + const auto value_padding_left_value_2 = value_padding_left_value.value2; + valueSerializer.writeResource(value_padding_left_value_2); + } + } + } void writeGestureEvent(Ark_GestureEvent value) { Serializer& valueSerializer = *this; @@ -91958,6 +92362,12 @@ class Deserializer : public DeserializerBase { Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } + Ark_CustomLayoutRoot readCustomLayoutRoot() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return static_cast(ptr); + } Ark_DataResubmissionHandler readDataResubmissionHandler() { Deserializer& valueDeserializer = *this; @@ -92642,6 +93052,14 @@ class Deserializer : public DeserializerBase { value.height = static_cast(valueDeserializer.readNumber()); return value; } + Ark_SizeResult readSizeResult() + { + Ark_SizeResult value = {}; + Deserializer& valueDeserializer = *this; + value.width = static_cast(valueDeserializer.readNumber()); + value.height = static_cast(valueDeserializer.readNumber()); + return value; + } Ark_SliderAttribute readSliderAttribute() { Ark_SliderAttribute value = {}; @@ -117243,6 +117661,122 @@ class Deserializer : public DeserializerBase { Ark_NativePointer ptr = valueDeserializer.readPointer(); return static_cast(ptr); } + Ark_GeometryInfo readGeometryInfo() + { + Ark_GeometryInfo value = {}; + Deserializer& valueDeserializer = *this; + value.width = static_cast(valueDeserializer.readNumber()); + value.height = static_cast(valueDeserializer.readNumber()); + value.borderWidth = valueDeserializer.readEdgeWidths(); + value.margin = valueDeserializer.readPadding(); + Ark_Padding padding_buf = {}; + const auto padding_buf_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length padding_buf_top_buf = {}; + padding_buf_top_buf.tag = padding_buf_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (padding_buf_top_buf_runtimeType)) + { + const Ark_Int8 padding_buf_top_buf__selector = valueDeserializer.readInt8(); + Ark_Length padding_buf_top_buf_ = {}; + padding_buf_top_buf_.selector = padding_buf_top_buf__selector; + if (padding_buf_top_buf__selector == 0) { + padding_buf_top_buf_.selector = 0; + padding_buf_top_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (padding_buf_top_buf__selector == 1) { + padding_buf_top_buf_.selector = 1; + padding_buf_top_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (padding_buf_top_buf__selector == 2) { + padding_buf_top_buf_.selector = 2; + padding_buf_top_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for padding_buf_top_buf_ has to be chosen through deserialisation."); + } + padding_buf_top_buf.value = static_cast(padding_buf_top_buf_); + } + padding_buf.top = padding_buf_top_buf; + const auto padding_buf_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length padding_buf_right_buf = {}; + padding_buf_right_buf.tag = padding_buf_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (padding_buf_right_buf_runtimeType)) + { + const Ark_Int8 padding_buf_right_buf__selector = valueDeserializer.readInt8(); + Ark_Length padding_buf_right_buf_ = {}; + padding_buf_right_buf_.selector = padding_buf_right_buf__selector; + if (padding_buf_right_buf__selector == 0) { + padding_buf_right_buf_.selector = 0; + padding_buf_right_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (padding_buf_right_buf__selector == 1) { + padding_buf_right_buf_.selector = 1; + padding_buf_right_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (padding_buf_right_buf__selector == 2) { + padding_buf_right_buf_.selector = 2; + padding_buf_right_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for padding_buf_right_buf_ has to be chosen through deserialisation."); + } + padding_buf_right_buf.value = static_cast(padding_buf_right_buf_); + } + padding_buf.right = padding_buf_right_buf; + const auto padding_buf_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length padding_buf_bottom_buf = {}; + padding_buf_bottom_buf.tag = padding_buf_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (padding_buf_bottom_buf_runtimeType)) + { + const Ark_Int8 padding_buf_bottom_buf__selector = valueDeserializer.readInt8(); + Ark_Length padding_buf_bottom_buf_ = {}; + padding_buf_bottom_buf_.selector = padding_buf_bottom_buf__selector; + if (padding_buf_bottom_buf__selector == 0) { + padding_buf_bottom_buf_.selector = 0; + padding_buf_bottom_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (padding_buf_bottom_buf__selector == 1) { + padding_buf_bottom_buf_.selector = 1; + padding_buf_bottom_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (padding_buf_bottom_buf__selector == 2) { + padding_buf_bottom_buf_.selector = 2; + padding_buf_bottom_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for padding_buf_bottom_buf_ has to be chosen through deserialisation."); + } + padding_buf_bottom_buf.value = static_cast(padding_buf_bottom_buf_); + } + padding_buf.bottom = padding_buf_bottom_buf; + const auto padding_buf_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length padding_buf_left_buf = {}; + padding_buf_left_buf.tag = padding_buf_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (padding_buf_left_buf_runtimeType)) + { + const Ark_Int8 padding_buf_left_buf__selector = valueDeserializer.readInt8(); + Ark_Length padding_buf_left_buf_ = {}; + padding_buf_left_buf_.selector = padding_buf_left_buf__selector; + if (padding_buf_left_buf__selector == 0) { + padding_buf_left_buf_.selector = 0; + padding_buf_left_buf_.value0 = static_cast(valueDeserializer.readString()); + } + else if (padding_buf_left_buf__selector == 1) { + padding_buf_left_buf_.selector = 1; + padding_buf_left_buf_.value1 = static_cast(valueDeserializer.readNumber()); + } + else if (padding_buf_left_buf__selector == 2) { + padding_buf_left_buf_.selector = 2; + padding_buf_left_buf_.value2 = valueDeserializer.readResource(); + } + else { + INTEROP_FATAL("One of the branches for padding_buf_left_buf_ has to be chosen through deserialisation."); + } + padding_buf_left_buf.value = static_cast(padding_buf_left_buf_); + } + padding_buf.left = padding_buf_left_buf; + value.padding = padding_buf; + return value; + } Ark_GestureEvent readGestureEvent() { Deserializer& valueDeserializer = *this; diff --git a/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h b/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h index 97aacbe898..fa101e7655 100644 --- a/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala-arkts/framework/native/src/generated/arkoala_api_generated.h @@ -315,6 +315,9 @@ typedef struct Opt_ControllerHandler Opt_ControllerHandler; typedef struct CustomDialogControllerPeer CustomDialogControllerPeer; typedef struct CustomDialogControllerPeer* Ark_CustomDialogController; typedef struct Opt_CustomDialogController Opt_CustomDialogController; +typedef struct CustomLayoutRootPeer CustomLayoutRootPeer; +typedef struct CustomLayoutRootPeer* Ark_CustomLayoutRoot; +typedef struct Opt_CustomLayoutRoot Opt_CustomLayoutRoot; typedef struct Opt_CustomObject Opt_CustomObject; typedef struct DataResubmissionHandlerPeer DataResubmissionHandlerPeer; typedef struct DataResubmissionHandlerPeer* Ark_DataResubmissionHandler; @@ -607,6 +610,8 @@ typedef struct ShapeMaskPeer* Ark_ShapeMask; typedef struct Opt_ShapeMask Opt_ShapeMask; typedef struct Ark_Size Ark_Size; typedef struct Opt_Size Opt_Size; +typedef struct Ark_SizeResult Ark_SizeResult; +typedef struct Opt_SizeResult Opt_SizeResult; typedef struct Ark_SliderAttribute Ark_SliderAttribute; typedef struct Opt_SliderAttribute Opt_SliderAttribute; typedef struct SpringMotionPeer SpringMotionPeer; @@ -901,6 +906,8 @@ typedef struct Array_ImageAnalyzerType Array_ImageAnalyzerType; typedef struct Opt_Array_ImageAnalyzerType Opt_Array_ImageAnalyzerType; typedef struct Array_ImageFrameInfo Array_ImageFrameInfo; typedef struct Opt_Array_ImageFrameInfo Opt_Array_ImageFrameInfo; +typedef struct Array_Layoutable Array_Layoutable; +typedef struct Opt_Array_Layoutable Opt_Array_Layoutable; typedef struct Array_LayoutSafeAreaEdge Array_LayoutSafeAreaEdge; typedef struct Opt_Array_LayoutSafeAreaEdge Opt_Array_LayoutSafeAreaEdge; typedef struct Array_LayoutSafeAreaType Array_LayoutSafeAreaType; @@ -911,6 +918,8 @@ typedef struct Array_LengthMetrics Array_LengthMetrics; typedef struct Opt_Array_LengthMetrics Opt_Array_LengthMetrics; typedef struct Array_LocalizedBarrierStyle Array_LocalizedBarrierStyle; typedef struct Opt_Array_LocalizedBarrierStyle Opt_Array_LocalizedBarrierStyle; +typedef struct Array_Measurable Array_Measurable; +typedef struct Opt_Array_Measurable Opt_Array_Measurable; typedef struct Array_MenuElement Array_MenuElement; typedef struct Opt_Array_MenuElement Opt_Array_MenuElement; typedef struct Array_ModifierKey Array_ModifierKey; @@ -1215,6 +1224,8 @@ typedef struct Callback_OnInterceptRequestEvent_WebResourceResponse Callback_OnI typedef struct Opt_Callback_OnInterceptRequestEvent_WebResourceResponse Opt_Callback_OnInterceptRequestEvent_WebResourceResponse; typedef struct Callback_OnLoadInterceptEvent_Boolean Callback_OnLoadInterceptEvent_Boolean; typedef struct Opt_Callback_OnLoadInterceptEvent_Boolean Opt_Callback_OnLoadInterceptEvent_Boolean; +typedef struct Callback_onMeasureSize_SizeResult Callback_onMeasureSize_SizeResult; +typedef struct Opt_Callback_onMeasureSize_SizeResult Opt_Callback_onMeasureSize_SizeResult; typedef struct Callback_OnOverScrollEvent_Void Callback_OnOverScrollEvent_Void; typedef struct Opt_Callback_OnOverScrollEvent_Void Opt_Callback_OnOverScrollEvent_Void; typedef struct Callback_OnPageBeginEvent_Void Callback_OnPageBeginEvent_Void; @@ -1225,6 +1236,8 @@ typedef struct Callback_OnPageVisibleEvent_Void Callback_OnPageVisibleEvent_Void typedef struct Opt_Callback_OnPageVisibleEvent_Void Opt_Callback_OnPageVisibleEvent_Void; typedef struct Callback_OnPermissionRequestEvent_Void Callback_OnPermissionRequestEvent_Void; typedef struct Opt_Callback_OnPermissionRequestEvent_Void Opt_Callback_OnPermissionRequestEvent_Void; +typedef struct Callback_onPlaceChildren_Void Callback_onPlaceChildren_Void; +typedef struct Opt_Callback_onPlaceChildren_Void Opt_Callback_onPlaceChildren_Void; typedef struct Callback_OnProgressChangeEvent_Void Callback_OnProgressChangeEvent_Void; typedef struct Opt_Callback_OnProgressChangeEvent_Void Opt_Callback_OnProgressChangeEvent_Void; typedef struct Callback_OnPromptEvent_Boolean Callback_OnPromptEvent_Boolean; @@ -1299,6 +1312,8 @@ typedef struct Callback_SheetDismiss_Void Callback_SheetDismiss_Void; typedef struct Opt_Callback_SheetDismiss_Void Opt_Callback_SheetDismiss_Void; typedef struct Callback_SheetType_Void Callback_SheetType_Void; typedef struct Opt_Callback_SheetType_Void Opt_Callback_SheetType_Void; +typedef struct Callback_SizeResult_Void Callback_SizeResult_Void; +typedef struct Opt_Callback_SizeResult_Void Opt_Callback_SizeResult_Void; typedef struct Callback_SpringBackAction_Void Callback_SpringBackAction_Void; typedef struct Opt_Callback_SpringBackAction_Void Opt_Callback_SpringBackAction_Void; typedef struct Callback_String_Number_Void Callback_String_Number_Void; @@ -2946,6 +2961,8 @@ typedef struct Opt_EventTarget Opt_EventTarget; typedef struct FocusAxisEventPeer FocusAxisEventPeer; typedef struct FocusAxisEventPeer* Ark_FocusAxisEvent; typedef struct Opt_FocusAxisEvent Opt_FocusAxisEvent; +typedef struct Ark_GeometryInfo Ark_GeometryInfo; +typedef struct Opt_GeometryInfo Opt_GeometryInfo; typedef struct GestureEventPeer GestureEventPeer; typedef struct GestureEventPeer* Ark_GestureEvent; typedef struct Opt_GestureEvent Opt_GestureEvent; @@ -6805,6 +6822,10 @@ typedef struct Opt_CustomDialogController { Ark_Tag tag; Ark_CustomDialogController value; } Opt_CustomDialogController; +typedef struct Opt_CustomLayoutRoot { + Ark_Tag tag; + Ark_CustomLayoutRoot value; +} Opt_CustomLayoutRoot; typedef struct Opt_CustomObject { Ark_Tag tag; Ark_CustomObject value; @@ -7449,6 +7470,14 @@ typedef struct Opt_Size { Ark_Tag tag; Ark_Size value; } Opt_Size; +typedef struct Ark_SizeResult { + Ark_Number width; + Ark_Number height; +} Ark_SizeResult; +typedef struct Opt_SizeResult { + Ark_Tag tag; + Ark_SizeResult value; +} Opt_SizeResult; typedef struct Ark_SliderAttribute { void *handle; } Ark_SliderAttribute; @@ -8379,6 +8408,14 @@ typedef struct Opt_Array_ImageFrameInfo { Ark_Tag tag; Array_ImageFrameInfo value; } Opt_Array_ImageFrameInfo; +typedef struct Array_Layoutable { + Ark_Layoutable* array; + Ark_Int32 length; +} Array_Layoutable; +typedef struct Opt_Array_Layoutable { + Ark_Tag tag; + Array_Layoutable value; +} Opt_Array_Layoutable; typedef struct Array_LayoutSafeAreaEdge { Ark_LayoutSafeAreaEdge* array; Ark_Int32 length; @@ -8419,6 +8456,14 @@ typedef struct Opt_Array_LocalizedBarrierStyle { Ark_Tag tag; Array_LocalizedBarrierStyle value; } Opt_Array_LocalizedBarrierStyle; +typedef struct Array_Measurable { + Ark_Measurable* array; + Ark_Int32 length; +} Array_Measurable; +typedef struct Opt_Array_Measurable { + Ark_Tag tag; + Array_Measurable value; +} Opt_Array_Measurable; typedef struct Array_MenuElement { Ark_MenuElement* array; Ark_Int32 length; @@ -9739,6 +9784,15 @@ typedef struct Opt_Callback_OnLoadInterceptEvent_Boolean { Ark_Tag tag; Callback_OnLoadInterceptEvent_Boolean value; } Opt_Callback_OnLoadInterceptEvent_Boolean; +typedef struct Callback_onMeasureSize_SizeResult { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_GeometryInfo selfLayoutInfo, const Array_Measurable children, const Ark_ConstraintSizeOptions constraint, const Callback_SizeResult_Void continuation); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GeometryInfo selfLayoutInfo, const Array_Measurable children, const Ark_ConstraintSizeOptions constraint, const Callback_SizeResult_Void continuation); +} Callback_onMeasureSize_SizeResult; +typedef struct Opt_Callback_onMeasureSize_SizeResult { + Ark_Tag tag; + Callback_onMeasureSize_SizeResult value; +} Opt_Callback_onMeasureSize_SizeResult; typedef struct Callback_OnOverScrollEvent_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_OnOverScrollEvent parameter); @@ -9784,6 +9838,15 @@ typedef struct Opt_Callback_OnPermissionRequestEvent_Void { Ark_Tag tag; Callback_OnPermissionRequestEvent_Void value; } Opt_Callback_OnPermissionRequestEvent_Void; +typedef struct Callback_onPlaceChildren_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_GeometryInfo selfLayoutInfo, const Array_Layoutable children, const Ark_ConstraintSizeOptions constraint); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_GeometryInfo selfLayoutInfo, const Array_Layoutable children, const Ark_ConstraintSizeOptions constraint); +} Callback_onPlaceChildren_Void; +typedef struct Opt_Callback_onPlaceChildren_Void { + Ark_Tag tag; + Callback_onPlaceChildren_Void value; +} Opt_Callback_onPlaceChildren_Void; typedef struct Callback_OnProgressChangeEvent_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_OnProgressChangeEvent parameter); @@ -10117,6 +10180,15 @@ typedef struct Opt_Callback_SheetType_Void { Ark_Tag tag; Callback_SheetType_Void value; } Opt_Callback_SheetType_Void; +typedef struct Callback_SizeResult_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_SizeResult value); + void (*callSync)(Ark_VMContext vmContext, const Ark_Int32 resourceId, const Ark_SizeResult value); +} Callback_SizeResult_Void; +typedef struct Opt_Callback_SizeResult_Void { + Ark_Tag tag; + Callback_SizeResult_Void value; +} Opt_Callback_SizeResult_Void; typedef struct Callback_SpringBackAction_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_SpringBackAction parameter); @@ -17994,6 +18066,17 @@ typedef struct Opt_FocusAxisEvent { Ark_Tag tag; Ark_FocusAxisEvent value; } Opt_FocusAxisEvent; +typedef struct Ark_GeometryInfo { + Ark_Number width; + Ark_Number height; + Ark_EdgeWidths borderWidth; + Ark_Padding margin; + Ark_Padding padding; +} Ark_GeometryInfo; +typedef struct Opt_GeometryInfo { + Ark_Tag tag; + Ark_GeometryInfo value; +} Opt_GeometryInfo; typedef struct Opt_GestureEvent { Ark_Tag tag; Ark_GestureEvent value; @@ -19006,6 +19089,15 @@ typedef struct GENERATED_ArkUIComponentRootModifier { Ark_Int32 flags); } GENERATED_ArkUIComponentRootModifier; +typedef struct GENERATED_ArkUICustomLayoutRootModifier { + Ark_NativePointer (*construct)(Ark_Int32 id, + Ark_Int32 flags); + void (*setSubscribeOnMeasureSize)(Ark_NativePointer node, + const Callback_onMeasureSize_SizeResult* callback); + void (*setSubscribeOnPlaceChildren)(Ark_NativePointer node, + const Callback_onPlaceChildren_Void* callback); +} GENERATED_ArkUICustomLayoutRootModifier; + typedef struct GENERATED_ArkUIAbilityComponentModifier { Ark_NativePointer (*construct)(Ark_Int32 id, Ark_Int32 flags); @@ -26504,6 +26596,7 @@ typedef struct GENERATED_ArkUIGlobalScopeAccessor { typedef struct GENERATED_ArkUINodeModifiers { const GENERATED_ArkUIRootModifier* (*getRootModifier)(); const GENERATED_ArkUIComponentRootModifier* (*getComponentRootModifier)(); + const GENERATED_ArkUICustomLayoutRootModifier* (*getCustomLayoutRootModifier)(); const GENERATED_ArkUIAbilityComponentModifier* (*getAbilityComponentModifier)(); const GENERATED_ArkUIAlphabetIndexerModifier* (*getAlphabetIndexerModifier)(); const GENERATED_ArkUIAnimatorModifier* (*getAnimatorModifier)(); @@ -26850,6 +26943,7 @@ typedef enum GENERATED_Ark_NodeType { GENERATED_ARKUI_COMPONENT_ROOT, GENERATED_ARKUI_CONTAINER_SPAN, GENERATED_ARKUI_COUNTER, + GENERATED_ARKUI_CUSTOM_LAYOUT_ROOT, GENERATED_ARKUI_DATA_PANEL, GENERATED_ARKUI_DATE_PICKER, GENERATED_ARKUI_DIVIDER, diff --git a/arkoala-arkts/framework/native/src/generated/bridge_generated.cc b/arkoala-arkts/framework/native/src/generated/bridge_generated.cc index 77889d6bbf..e49b5577e3 100644 --- a/arkoala-arkts/framework/native/src/generated/bridge_generated.cc +++ b/arkoala-arkts/framework/native/src/generated/bridge_generated.cc @@ -41,6 +41,24 @@ Ark_NativePointer impl_ComponentRoot_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getComponentRootModifier()->construct(id, flags); } KOALA_INTEROP_DIRECT_2(ComponentRoot_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +Ark_NativePointer impl_CustomLayoutRoot_construct(Ark_Int32 id, Ark_Int32 flags) { + return GetNodeModifiers()->getCustomLayoutRootModifier()->construct(id, flags); +} +KOALA_INTEROP_DIRECT_2(CustomLayoutRoot_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) +void impl_CustomLayoutRoot_subscribeOnMeasureSize(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_onMeasureSize_SizeResult callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_onMeasureSize_SizeResult)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_onMeasureSize_SizeResult))))};; + GetNodeModifiers()->getCustomLayoutRootModifier()->setSubscribeOnMeasureSize(self, (const Callback_onMeasureSize_SizeResult*)&callback_value); +} +KOALA_INTEROP_DIRECT_V3(CustomLayoutRoot_subscribeOnMeasureSize, Ark_NativePointer, KSerializerBuffer, int32_t) +void impl_CustomLayoutRoot_subscribeOnPlaceChildren(Ark_NativePointer thisPtr, KSerializerBuffer thisArray, int32_t thisLength) { + Ark_NodeHandle self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_onPlaceChildren_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_onPlaceChildren_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_onPlaceChildren_Void))))};; + GetNodeModifiers()->getCustomLayoutRootModifier()->setSubscribeOnPlaceChildren(self, (const Callback_onPlaceChildren_Void*)&callback_value); +} +KOALA_INTEROP_DIRECT_V3(CustomLayoutRoot_subscribeOnPlaceChildren, Ark_NativePointer, KSerializerBuffer, int32_t) Ark_NativePointer impl_Root_construct(Ark_Int32 id, Ark_Int32 flags) { return GetNodeModifiers()->getRootModifier()->construct(id, flags); } diff --git a/arkoala-arkts/framework/native/src/generated/callback_deserialize_call.cc b/arkoala-arkts/framework/native/src/generated/callback_deserialize_call.cc index d592484a2a..42dff2c673 100644 --- a/arkoala-arkts/framework/native/src/generated/callback_deserialize_call.cc +++ b/arkoala-arkts/framework/native/src/generated/callback_deserialize_call.cc @@ -2218,6 +2218,44 @@ void deserializeAndCallSyncCallback_OnLoadInterceptEvent_Boolean(Ark_VMContext v Callback_Boolean_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Boolean_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Boolean_Void))))}; _callSync(vmContext, _resourceId, parameter, _continuation); } +void deserializeAndCallCallback_onMeasureSize_SizeResult(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_GeometryInfo selfLayoutInfo = thisDeserializer.readGeometryInfo(); + const Ark_Int32 children_buf_length = thisDeserializer.readInt32(); + Array_Measurable children_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&children_buf, children_buf_length); + for (int children_buf_i = 0; children_buf_i < children_buf_length; children_buf_i++) { + children_buf.array[children_buf_i] = static_cast(thisDeserializer.readMeasurable()); + } + Array_Measurable children = children_buf; + Ark_ConstraintSizeOptions constraint = thisDeserializer.readConstraintSizeOptions(); + Callback_SizeResult_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SizeResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SizeResult_Void))))}; + _call(_resourceId, selfLayoutInfo, children, constraint, _continuation); +} +void deserializeAndCallSyncCallback_onMeasureSize_SizeResult(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_GeometryInfo selfLayoutInfo = thisDeserializer.readGeometryInfo(); + const Ark_Int32 children_buf_length = thisDeserializer.readInt32(); + Array_Measurable children_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&children_buf, children_buf_length); + for (int children_buf_i = 0; children_buf_i < children_buf_length; children_buf_i++) { + children_buf.array[children_buf_i] = static_cast(thisDeserializer.readMeasurable()); + } + Array_Measurable children = children_buf; + Ark_ConstraintSizeOptions constraint = thisDeserializer.readConstraintSizeOptions(); + Callback_SizeResult_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_SizeResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_SizeResult_Void))))}; + _callSync(vmContext, _resourceId, selfLayoutInfo, children, constraint, _continuation); +} void deserializeAndCallCallback_OnOverScrollEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -2308,6 +2346,42 @@ void deserializeAndCallSyncCallback_OnPermissionRequestEvent_Void(Ark_VMContext Ark_OnPermissionRequestEvent parameter = thisDeserializer.readOnPermissionRequestEvent(); _callSync(vmContext, _resourceId, parameter); } +void deserializeAndCallCallback_onPlaceChildren_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_GeometryInfo selfLayoutInfo = thisDeserializer.readGeometryInfo(); + const Ark_Int32 children_buf_length = thisDeserializer.readInt32(); + Array_Layoutable children_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&children_buf, children_buf_length); + for (int children_buf_i = 0; children_buf_i < children_buf_length; children_buf_i++) { + children_buf.array[children_buf_i] = static_cast(thisDeserializer.readLayoutable()); + } + Array_Layoutable children = children_buf; + Ark_ConstraintSizeOptions constraint = thisDeserializer.readConstraintSizeOptions(); + _call(_resourceId, selfLayoutInfo, children, constraint); +} +void deserializeAndCallSyncCallback_onPlaceChildren_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_GeometryInfo selfLayoutInfo = thisDeserializer.readGeometryInfo(); + const Ark_Int32 children_buf_length = thisDeserializer.readInt32(); + Array_Layoutable children_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&children_buf, children_buf_length); + for (int children_buf_i = 0; children_buf_i < children_buf_length; children_buf_i++) { + children_buf.array[children_buf_i] = static_cast(thisDeserializer.readLayoutable()); + } + Array_Layoutable children = children_buf; + Ark_ConstraintSizeOptions constraint = thisDeserializer.readConstraintSizeOptions(); + _callSync(vmContext, _resourceId, selfLayoutInfo, children, constraint); +} void deserializeAndCallCallback_OnProgressChangeEvent_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -3144,6 +3218,24 @@ void deserializeAndCallSyncCallback_SheetType_Void(Ark_VMContext vmContext, KSer Ark_SheetType parameter = static_cast(thisDeserializer.readInt32()); _callSync(vmContext, _resourceId, parameter); } +void deserializeAndCallCallback_SizeResult_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + Ark_SizeResult value = thisDeserializer.readSizeResult(); + _call(_resourceId, value); +} +void deserializeAndCallSyncCallback_SizeResult_Void(Ark_VMContext vmContext, KSerializerBuffer thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + Ark_SizeResult value = thisDeserializer.readSizeResult(); + _callSync(vmContext, _resourceId, value); +} void deserializeAndCallCallback_SpringBackAction_Void(KSerializerBuffer thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -6661,11 +6753,13 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case -2066745559/*Kind_Callback_OnHttpErrorReceiveEvent_Void*/: return deserializeAndCallCallback_OnHttpErrorReceiveEvent_Void(thisArray, thisLength); case 1442698200/*Kind_Callback_OnInterceptRequestEvent_WebResourceResponse*/: return deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceResponse(thisArray, thisLength); case 1231444306/*Kind_Callback_OnLoadInterceptEvent_Boolean*/: return deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisArray, thisLength); + case -1356285653/*Kind_Callback_onMeasureSize_SizeResult*/: return deserializeAndCallCallback_onMeasureSize_SizeResult(thisArray, thisLength); case -860386431/*Kind_Callback_OnOverScrollEvent_Void*/: return deserializeAndCallCallback_OnOverScrollEvent_Void(thisArray, thisLength); case -2040193994/*Kind_Callback_OnPageBeginEvent_Void*/: return deserializeAndCallCallback_OnPageBeginEvent_Void(thisArray, thisLength); case -130135362/*Kind_Callback_OnPageEndEvent_Void*/: return deserializeAndCallCallback_OnPageEndEvent_Void(thisArray, thisLength); case 1805946367/*Kind_Callback_OnPageVisibleEvent_Void*/: return deserializeAndCallCallback_OnPageVisibleEvent_Void(thisArray, thisLength); case 529980696/*Kind_Callback_OnPermissionRequestEvent_Void*/: return deserializeAndCallCallback_OnPermissionRequestEvent_Void(thisArray, thisLength); + case -738620506/*Kind_Callback_onPlaceChildren_Void*/: return deserializeAndCallCallback_onPlaceChildren_Void(thisArray, thisLength); case 1018740377/*Kind_Callback_OnProgressChangeEvent_Void*/: return deserializeAndCallCallback_OnProgressChangeEvent_Void(thisArray, thisLength); case -1826742986/*Kind_Callback_OnPromptEvent_Boolean*/: return deserializeAndCallCallback_OnPromptEvent_Boolean(thisArray, thisLength); case 1978364344/*Kind_Callback_OnRefreshAccessedHistoryEvent_Void*/: return deserializeAndCallCallback_OnRefreshAccessedHistoryEvent_Void(thisArray, thisLength); @@ -6703,6 +6797,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, KSerializerBuffer thisArray, Ark case 1980824326/*Kind_Callback_RichEditorTextSpanResult_Void*/: return deserializeAndCallCallback_RichEditorTextSpanResult_Void(thisArray, thisLength); case 22609082/*Kind_Callback_SheetDismiss_Void*/: return deserializeAndCallCallback_SheetDismiss_Void(thisArray, thisLength); case -224451112/*Kind_Callback_SheetType_Void*/: return deserializeAndCallCallback_SheetType_Void(thisArray, thisLength); + case 1318865891/*Kind_Callback_SizeResult_Void*/: return deserializeAndCallCallback_SizeResult_Void(thisArray, thisLength); case 1536231691/*Kind_Callback_SpringBackAction_Void*/: return deserializeAndCallCallback_SpringBackAction_Void(thisArray, thisLength); case -879490874/*Kind_Callback_String_Number_Void*/: return deserializeAndCallCallback_String_Number_Void(thisArray, thisLength); case -716524508/*Kind_Callback_String_Opt_Object_Void*/: return deserializeAndCallCallback_String_Opt_Object_Void(thisArray, thisLength); @@ -6949,11 +7044,13 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case -2066745559/*Kind_Callback_OnHttpErrorReceiveEvent_Void*/: return deserializeAndCallSyncCallback_OnHttpErrorReceiveEvent_Void(vmContext, thisArray, thisLength); case 1442698200/*Kind_Callback_OnInterceptRequestEvent_WebResourceResponse*/: return deserializeAndCallSyncCallback_OnInterceptRequestEvent_WebResourceResponse(vmContext, thisArray, thisLength); case 1231444306/*Kind_Callback_OnLoadInterceptEvent_Boolean*/: return deserializeAndCallSyncCallback_OnLoadInterceptEvent_Boolean(vmContext, thisArray, thisLength); + case -1356285653/*Kind_Callback_onMeasureSize_SizeResult*/: return deserializeAndCallSyncCallback_onMeasureSize_SizeResult(vmContext, thisArray, thisLength); case -860386431/*Kind_Callback_OnOverScrollEvent_Void*/: return deserializeAndCallSyncCallback_OnOverScrollEvent_Void(vmContext, thisArray, thisLength); case -2040193994/*Kind_Callback_OnPageBeginEvent_Void*/: return deserializeAndCallSyncCallback_OnPageBeginEvent_Void(vmContext, thisArray, thisLength); case -130135362/*Kind_Callback_OnPageEndEvent_Void*/: return deserializeAndCallSyncCallback_OnPageEndEvent_Void(vmContext, thisArray, thisLength); case 1805946367/*Kind_Callback_OnPageVisibleEvent_Void*/: return deserializeAndCallSyncCallback_OnPageVisibleEvent_Void(vmContext, thisArray, thisLength); case 529980696/*Kind_Callback_OnPermissionRequestEvent_Void*/: return deserializeAndCallSyncCallback_OnPermissionRequestEvent_Void(vmContext, thisArray, thisLength); + case -738620506/*Kind_Callback_onPlaceChildren_Void*/: return deserializeAndCallSyncCallback_onPlaceChildren_Void(vmContext, thisArray, thisLength); case 1018740377/*Kind_Callback_OnProgressChangeEvent_Void*/: return deserializeAndCallSyncCallback_OnProgressChangeEvent_Void(vmContext, thisArray, thisLength); case -1826742986/*Kind_Callback_OnPromptEvent_Boolean*/: return deserializeAndCallSyncCallback_OnPromptEvent_Boolean(vmContext, thisArray, thisLength); case 1978364344/*Kind_Callback_OnRefreshAccessedHistoryEvent_Void*/: return deserializeAndCallSyncCallback_OnRefreshAccessedHistoryEvent_Void(vmContext, thisArray, thisLength); @@ -6991,6 +7088,7 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, KSe case 1980824326/*Kind_Callback_RichEditorTextSpanResult_Void*/: return deserializeAndCallSyncCallback_RichEditorTextSpanResult_Void(vmContext, thisArray, thisLength); case 22609082/*Kind_Callback_SheetDismiss_Void*/: return deserializeAndCallSyncCallback_SheetDismiss_Void(vmContext, thisArray, thisLength); case -224451112/*Kind_Callback_SheetType_Void*/: return deserializeAndCallSyncCallback_SheetType_Void(vmContext, thisArray, thisLength); + case 1318865891/*Kind_Callback_SizeResult_Void*/: return deserializeAndCallSyncCallback_SizeResult_Void(vmContext, thisArray, thisLength); case 1536231691/*Kind_Callback_SpringBackAction_Void*/: return deserializeAndCallSyncCallback_SpringBackAction_Void(vmContext, thisArray, thisLength); case -879490874/*Kind_Callback_String_Number_Void*/: return deserializeAndCallSyncCallback_String_Number_Void(vmContext, thisArray, thisLength); case -716524508/*Kind_Callback_String_Opt_Object_Void*/: return deserializeAndCallSyncCallback_String_Opt_Object_Void(vmContext, thisArray, thisLength); diff --git a/arkoala-arkts/framework/native/src/generated/callback_kind.h b/arkoala-arkts/framework/native/src/generated/callback_kind.h index 68a8a6999e..1ef3e3b2e3 100644 --- a/arkoala-arkts/framework/native/src/generated/callback_kind.h +++ b/arkoala-arkts/framework/native/src/generated/callback_kind.h @@ -109,11 +109,13 @@ typedef enum CallbackKind { Kind_Callback_OnHttpErrorReceiveEvent_Void = -2066745559, Kind_Callback_OnInterceptRequestEvent_WebResourceResponse = 1442698200, Kind_Callback_OnLoadInterceptEvent_Boolean = 1231444306, + Kind_Callback_onMeasureSize_SizeResult = -1356285653, Kind_Callback_OnOverScrollEvent_Void = -860386431, Kind_Callback_OnPageBeginEvent_Void = -2040193994, Kind_Callback_OnPageEndEvent_Void = -130135362, Kind_Callback_OnPageVisibleEvent_Void = 1805946367, Kind_Callback_OnPermissionRequestEvent_Void = 529980696, + Kind_Callback_onPlaceChildren_Void = -738620506, Kind_Callback_OnProgressChangeEvent_Void = 1018740377, Kind_Callback_OnPromptEvent_Boolean = -1826742986, Kind_Callback_OnRefreshAccessedHistoryEvent_Void = 1978364344, @@ -151,6 +153,7 @@ typedef enum CallbackKind { Kind_Callback_RichEditorTextSpanResult_Void = 1980824326, Kind_Callback_SheetDismiss_Void = 22609082, Kind_Callback_SheetType_Void = -224451112, + Kind_Callback_SizeResult_Void = 1318865891, Kind_Callback_SpringBackAction_Void = 1536231691, Kind_Callback_String_Number_Void = -879490874, Kind_Callback_String_Opt_Object_Void = -716524508, diff --git a/arkoala-arkts/framework/native/src/generated/callback_managed_caller.cc b/arkoala-arkts/framework/native/src/generated/callback_managed_caller.cc index b9aa36cb03..b73b0e22b6 100644 --- a/arkoala-arkts/framework/native/src/generated/callback_managed_caller.cc +++ b/arkoala-arkts/framework/native/src/generated/callback_managed_caller.cc @@ -2486,6 +2486,44 @@ void callManagedCallback_OnLoadInterceptEvent_BooleanSync(Ark_VMContext vmContex argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_onMeasureSize_SizeResult(Ark_Int32 resourceId, Ark_GeometryInfo selfLayoutInfo, Array_Measurable children, Ark_ConstraintSizeOptions constraint, Callback_SizeResult_Void continuation) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_onMeasureSize_SizeResult); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeGeometryInfo(selfLayoutInfo); + argsSerializer.writeInt32(children.length); + for (int i = 0; i < children.length; i++) { + const Ark_Measurable children_element = children.array[i]; + argsSerializer.writeMeasurable(children_element); + } + argsSerializer.writeConstraintSizeOptions(constraint); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + enqueueCallback(&_buffer); +} +void callManagedCallback_onMeasureSize_SizeResultSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_GeometryInfo selfLayoutInfo, Array_Measurable children, Ark_ConstraintSizeOptions constraint, Callback_SizeResult_Void continuation) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_onMeasureSize_SizeResult); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeGeometryInfo(selfLayoutInfo); + argsSerializer.writeInt32(children.length); + for (int i = 0; i < children.length; i++) { + const Ark_Measurable children_element = children.array[i]; + argsSerializer.writeMeasurable(children_element); + } + argsSerializer.writeConstraintSizeOptions(constraint); + argsSerializer.writeCallbackResource(continuation.resource); + argsSerializer.writePointer(reinterpret_cast(continuation.call)); + argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_OnOverScrollEvent_Void(Ark_Int32 resourceId, Ark_OnOverScrollEvent parameter) { CallbackBuffer _buffer = {{}, {}}; @@ -2586,6 +2624,38 @@ void callManagedCallback_OnPermissionRequestEvent_VoidSync(Ark_VMContext vmConte argsSerializer.writeOnPermissionRequestEvent(parameter); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_onPlaceChildren_Void(Ark_Int32 resourceId, Ark_GeometryInfo selfLayoutInfo, Array_Layoutable children, Ark_ConstraintSizeOptions constraint) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_onPlaceChildren_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeGeometryInfo(selfLayoutInfo); + argsSerializer.writeInt32(children.length); + for (int i = 0; i < children.length; i++) { + const Ark_Layoutable children_element = children.array[i]; + argsSerializer.writeLayoutable(children_element); + } + argsSerializer.writeConstraintSizeOptions(constraint); + enqueueCallback(&_buffer); +} +void callManagedCallback_onPlaceChildren_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_GeometryInfo selfLayoutInfo, Array_Layoutable children, Ark_ConstraintSizeOptions constraint) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_onPlaceChildren_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeGeometryInfo(selfLayoutInfo); + argsSerializer.writeInt32(children.length); + for (int i = 0; i < children.length; i++) { + const Ark_Layoutable children_element = children.array[i]; + argsSerializer.writeLayoutable(children_element); + } + argsSerializer.writeConstraintSizeOptions(constraint); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_OnProgressChangeEvent_Void(Ark_Int32 resourceId, Ark_OnProgressChangeEvent parameter) { CallbackBuffer _buffer = {{}, {}}; @@ -3480,6 +3550,26 @@ void callManagedCallback_SheetType_VoidSync(Ark_VMContext vmContext, Ark_Int32 r argsSerializer.writeInt32(static_cast(parameter)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); } +void callManagedCallback_SizeResult_Void(Ark_Int32 resourceId, Ark_SizeResult value) +{ + CallbackBuffer _buffer = {{}, {}}; + const Ark_CallbackResource _callbackResourceSelf = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + _buffer.resourceHolder.holdCallbackResource(&_callbackResourceSelf); + Serializer argsSerializer = Serializer((KSerializerBuffer)&(_buffer.buffer), sizeof(_buffer.buffer), &(_buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_SizeResult_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeSizeResult(value); + enqueueCallback(&_buffer); +} +void callManagedCallback_SizeResult_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_SizeResult value) +{ + uint8_t _buffer[4096]; + Serializer argsSerializer = Serializer((KSerializerBuffer)&_buffer, sizeof(_buffer), nullptr); + argsSerializer.writeInt32(Kind_Callback_SizeResult_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeSizeResult(value); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(_buffer), _buffer); +} void callManagedCallback_SpringBackAction_Void(Ark_Int32 resourceId, Ark_SpringBackAction parameter) { CallbackBuffer _buffer = {{}, {}}; @@ -7179,11 +7269,13 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_OnHttpErrorReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnHttpErrorReceiveEvent_Void); case Kind_Callback_OnInterceptRequestEvent_WebResourceResponse: return reinterpret_cast(callManagedCallback_OnInterceptRequestEvent_WebResourceResponse); case Kind_Callback_OnLoadInterceptEvent_Boolean: return reinterpret_cast(callManagedCallback_OnLoadInterceptEvent_Boolean); + case Kind_Callback_onMeasureSize_SizeResult: return reinterpret_cast(callManagedCallback_onMeasureSize_SizeResult); case Kind_Callback_OnOverScrollEvent_Void: return reinterpret_cast(callManagedCallback_OnOverScrollEvent_Void); case Kind_Callback_OnPageBeginEvent_Void: return reinterpret_cast(callManagedCallback_OnPageBeginEvent_Void); case Kind_Callback_OnPageEndEvent_Void: return reinterpret_cast(callManagedCallback_OnPageEndEvent_Void); case Kind_Callback_OnPageVisibleEvent_Void: return reinterpret_cast(callManagedCallback_OnPageVisibleEvent_Void); case Kind_Callback_OnPermissionRequestEvent_Void: return reinterpret_cast(callManagedCallback_OnPermissionRequestEvent_Void); + case Kind_Callback_onPlaceChildren_Void: return reinterpret_cast(callManagedCallback_onPlaceChildren_Void); case Kind_Callback_OnProgressChangeEvent_Void: return reinterpret_cast(callManagedCallback_OnProgressChangeEvent_Void); case Kind_Callback_OnPromptEvent_Boolean: return reinterpret_cast(callManagedCallback_OnPromptEvent_Boolean); case Kind_Callback_OnRefreshAccessedHistoryEvent_Void: return reinterpret_cast(callManagedCallback_OnRefreshAccessedHistoryEvent_Void); @@ -7221,6 +7313,7 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_RichEditorTextSpanResult_Void: return reinterpret_cast(callManagedCallback_RichEditorTextSpanResult_Void); case Kind_Callback_SheetDismiss_Void: return reinterpret_cast(callManagedCallback_SheetDismiss_Void); case Kind_Callback_SheetType_Void: return reinterpret_cast(callManagedCallback_SheetType_Void); + case Kind_Callback_SizeResult_Void: return reinterpret_cast(callManagedCallback_SizeResult_Void); case Kind_Callback_SpringBackAction_Void: return reinterpret_cast(callManagedCallback_SpringBackAction_Void); case Kind_Callback_String_Number_Void: return reinterpret_cast(callManagedCallback_String_Number_Void); case Kind_Callback_String_Opt_Object_Void: return reinterpret_cast(callManagedCallback_String_Opt_Object_Void); @@ -7466,11 +7559,13 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_OnHttpErrorReceiveEvent_Void: return reinterpret_cast(callManagedCallback_OnHttpErrorReceiveEvent_VoidSync); case Kind_Callback_OnInterceptRequestEvent_WebResourceResponse: return reinterpret_cast(callManagedCallback_OnInterceptRequestEvent_WebResourceResponseSync); case Kind_Callback_OnLoadInterceptEvent_Boolean: return reinterpret_cast(callManagedCallback_OnLoadInterceptEvent_BooleanSync); + case Kind_Callback_onMeasureSize_SizeResult: return reinterpret_cast(callManagedCallback_onMeasureSize_SizeResultSync); case Kind_Callback_OnOverScrollEvent_Void: return reinterpret_cast(callManagedCallback_OnOverScrollEvent_VoidSync); case Kind_Callback_OnPageBeginEvent_Void: return reinterpret_cast(callManagedCallback_OnPageBeginEvent_VoidSync); case Kind_Callback_OnPageEndEvent_Void: return reinterpret_cast(callManagedCallback_OnPageEndEvent_VoidSync); case Kind_Callback_OnPageVisibleEvent_Void: return reinterpret_cast(callManagedCallback_OnPageVisibleEvent_VoidSync); case Kind_Callback_OnPermissionRequestEvent_Void: return reinterpret_cast(callManagedCallback_OnPermissionRequestEvent_VoidSync); + case Kind_Callback_onPlaceChildren_Void: return reinterpret_cast(callManagedCallback_onPlaceChildren_VoidSync); case Kind_Callback_OnProgressChangeEvent_Void: return reinterpret_cast(callManagedCallback_OnProgressChangeEvent_VoidSync); case Kind_Callback_OnPromptEvent_Boolean: return reinterpret_cast(callManagedCallback_OnPromptEvent_BooleanSync); case Kind_Callback_OnRefreshAccessedHistoryEvent_Void: return reinterpret_cast(callManagedCallback_OnRefreshAccessedHistoryEvent_VoidSync); @@ -7508,6 +7603,7 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_RichEditorTextSpanResult_Void: return reinterpret_cast(callManagedCallback_RichEditorTextSpanResult_VoidSync); case Kind_Callback_SheetDismiss_Void: return reinterpret_cast(callManagedCallback_SheetDismiss_VoidSync); case Kind_Callback_SheetType_Void: return reinterpret_cast(callManagedCallback_SheetType_VoidSync); + case Kind_Callback_SizeResult_Void: return reinterpret_cast(callManagedCallback_SizeResult_VoidSync); case Kind_Callback_SpringBackAction_Void: return reinterpret_cast(callManagedCallback_SpringBackAction_VoidSync); case Kind_Callback_String_Number_Void: return reinterpret_cast(callManagedCallback_String_Number_VoidSync); case Kind_Callback_String_Opt_Object_Void: return reinterpret_cast(callManagedCallback_String_Opt_Object_VoidSync); diff --git a/arkoala-arkts/framework/native/src/generated/dummy_impl.cc b/arkoala-arkts/framework/native/src/generated/dummy_impl.cc index 866062a58f..e572512b83 100644 --- a/arkoala-arkts/framework/native/src/generated/dummy_impl.cc +++ b/arkoala-arkts/framework/native/src/generated/dummy_impl.cc @@ -972,6 +972,42 @@ namespace OHOS::Ace::NG::GeneratedModifier { return new TreeNode("ComponentRoot", id, flags);; } } // ComponentRootModifier + namespace CustomLayoutRootModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + if (!needGroupedLog(1)) + return new TreeNode("CustomLayoutRoot", id, flags);; + string out("construct("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, flags); + out.append(") \n"); + out.append("[return nullptr] \n"); + appendGroupedLog(1, out); + return new TreeNode("CustomLayoutRoot", id, flags);; + } + void SubscribeOnMeasureSizeImpl(Ark_NativePointer node, + const Callback_onMeasureSize_SizeResult* callback) + { + if (!needGroupedLog(1)) + return; + string out("subscribeOnMeasureSize("); + WriteToString(&out, callback); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SubscribeOnPlaceChildrenImpl(Ark_NativePointer node, + const Callback_onPlaceChildren_Void* callback) + { + if (!needGroupedLog(1)) + return; + string out("subscribeOnPlaceChildren("); + WriteToString(&out, callback); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // CustomLayoutRootModifier namespace AbilityComponentModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) @@ -20698,6 +20734,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIComponentRootModifierImpl; } + const GENERATED_ArkUICustomLayoutRootModifier* GetCustomLayoutRootModifier() + { + static const GENERATED_ArkUICustomLayoutRootModifier ArkUICustomLayoutRootModifierImpl { + CustomLayoutRootModifier::ConstructImpl, + CustomLayoutRootModifier::SubscribeOnMeasureSizeImpl, + CustomLayoutRootModifier::SubscribeOnPlaceChildrenImpl, + }; + return &ArkUICustomLayoutRootModifierImpl; + } + const GENERATED_ArkUIAbilityComponentModifier* GetAbilityComponentModifier() { static const GENERATED_ArkUIAbilityComponentModifier ArkUIAbilityComponentModifierImpl { @@ -23340,6 +23386,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUINodeModifiers modifiersImpl = { GetRootModifier, GetComponentRootModifier, + GetCustomLayoutRootModifier, GetAbilityComponentModifier, GetAlphabetIndexerModifier, GetAnimatorModifier, diff --git a/arkoala-arkts/framework/native/src/generated/real_impl.cc b/arkoala-arkts/framework/native/src/generated/real_impl.cc index c6231a4272..a506925fae 100644 --- a/arkoala-arkts/framework/native/src/generated/real_impl.cc +++ b/arkoala-arkts/framework/native/src/generated/real_impl.cc @@ -954,6 +954,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { return {}; } } // ComponentRootModifier + namespace CustomLayoutRootModifier { + Ark_NativePointer ConstructImpl(Ark_Int32 id, + Ark_Int32 flags) + { + return {}; + } + void SubscribeOnMeasureSizeImpl(Ark_NativePointer node, + const Callback_onMeasureSize_SizeResult* callback) + { + } + void SubscribeOnPlaceChildrenImpl(Ark_NativePointer node, + const Callback_onPlaceChildren_Void* callback) + { + } + } // CustomLayoutRootModifier namespace AbilityComponentModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, Ark_Int32 flags) @@ -9139,6 +9154,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { return &ArkUIComponentRootModifierImpl; } + const GENERATED_ArkUICustomLayoutRootModifier* GetCustomLayoutRootModifier() + { + static const GENERATED_ArkUICustomLayoutRootModifier ArkUICustomLayoutRootModifierImpl { + CustomLayoutRootModifier::ConstructImpl, + CustomLayoutRootModifier::SubscribeOnMeasureSizeImpl, + CustomLayoutRootModifier::SubscribeOnPlaceChildrenImpl, + }; + return &ArkUICustomLayoutRootModifierImpl; + } + const GENERATED_ArkUIAbilityComponentModifier* GetAbilityComponentModifier() { static const GENERATED_ArkUIAbilityComponentModifier ArkUIAbilityComponentModifierImpl { @@ -11781,6 +11806,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { static const GENERATED_ArkUINodeModifiers modifiersImpl = { GetRootModifier, GetComponentRootModifier, + GetCustomLayoutRootModifier, GetAbilityComponentModifier, GetAlphabetIndexerModifier, GetAnimatorModifier, diff --git a/arkoala/arkui-types/index-full.d.ts b/arkoala/arkui-types/index-full.d.ts index c6957d21e9..7b6bd8a32f 100644 --- a/arkoala/arkui-types/index-full.d.ts +++ b/arkoala/arkui-types/index-full.d.ts @@ -1557,6 +1557,12 @@ declare interface Root { } declare interface ComponentRoot { } +declare type Callback_onMeasureSize_SizeResult = ((selfLayoutInfo: GeometryInfo, children: Measurable[], constraint: ConstraintSizeOptions) => SizeResult); +declare type Callback_onPlaceChildren_Void = ((selfLayoutInfo: GeometryInfo, children: Layoutable[], constraint: ConstraintSizeOptions) => void); +declare interface CustomLayoutRoot { + subscribeOnMeasureSize(callback_: Callback_onMeasureSize_SizeResult): void; + subscribeOnPlaceChildren(callback_: Callback_onPlaceChildren_Void): void; +} declare class EventEmulator { static emitClickEvent(node: number|bigint, event: ClickEvent): void; static emitTextInputEvent(node: number|bigint, text: string): void; diff --git a/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts b/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts index 5747d706f7..b8ce82685e 100644 --- a/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts +++ b/arkoala/arkui/src/generated/ArkUIGeneratedNativeModuleEmpty.ts @@ -26,6 +26,16 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_ComponentRoot_construct") return -1 } + _CustomLayoutRoot_construct(id: KInt, flags: KInt): KPointer { + console.log("_CustomLayoutRoot_construct") + return -1 + } + _CustomLayoutRoot_subscribeOnMeasureSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CustomLayoutRoot_subscribeOnMeasureSize") + } + _CustomLayoutRoot_subscribeOnPlaceChildren(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + console.log("_CustomLayoutRoot_subscribeOnPlaceChildren") + } _AbilityComponent_construct(id: KInt, flags: KInt): KPointer { console.log("_AbilityComponent_construct") return -1 diff --git a/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts b/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts index 83f583d770..466835bc2d 100644 --- a/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts +++ b/arkoala/arkui/src/generated/peers/ArkUIGeneratedNativeModule.ts @@ -44,6 +44,27 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _CustomLayoutRoot_construct(id: KInt, flags: KInt): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._CustomLayoutRoot_construct(id, flags) + } + throw new Error("Not implemented") + } + static _CustomLayoutRoot_subscribeOnMeasureSize(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CustomLayoutRoot_subscribeOnMeasureSize(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _CustomLayoutRoot_subscribeOnPlaceChildren(ptr: KPointer, thisArray: KSerializerBuffer, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._CustomLayoutRoot_subscribeOnPlaceChildren(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } static _AbilityComponent_construct(id: KInt, flags: KInt): KPointer { if ((this._LoadOnce()) == (true)) { diff --git a/arkoala/arkui/src/generated/peers/CallbackDeserializeCall.ts b/arkoala/arkui/src/generated/peers/CallbackDeserializeCall.ts index 2778766910..7dc64aa079 100644 --- a/arkoala/arkui/src/generated/peers/CallbackDeserializeCall.ts +++ b/arkoala/arkui/src/generated/peers/CallbackDeserializeCall.ts @@ -21,12 +21,12 @@ import { Deserializer } from "./Deserializer" import { int32, float32, int64 } from "@koalaui/common" import { ResourceHolder, KInt, KStringPtr, wrapSystemCallback, KPointer, RuntimeType, KSerializerBuffer, NativeBuffer } from "@koalaui/interop" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, AccessibilityFocusCallback, TouchTestInfo, TouchResult, CrownEvent, CustomBuilder, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, ItemDragInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, PopupStateChangeParam, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback } from "./../common" -import { AccessibilityHoverEvent, PixelMap, AxisEvent, HoverEvent, ClickEvent, DragEvent, FocusAxisEvent, GestureEvent, BaseGestureEvent, GestureRecognizer, KeyEvent, MouseEvent, NavDestinationContext, NavigationTransitionProxy, WebResourceResponse, StyledString, SwiperContentTransitionProxy, TabContentTransitionProxy, TouchEvent, UIExtensionProxy, WebResourceRequest, SubmitEvent } from "./../AllMaterialized" +import { AccessibilityCallback, AccessibilityFocusCallback, TouchTestInfo, TouchResult, CrownEvent, CustomBuilder, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, ItemDragInfo, GeometryInfo, SizeResult, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, PopupStateChangeParam, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback } from "./../common" +import { AccessibilityHoverEvent, PixelMap, AxisEvent, HoverEvent, ClickEvent, DragEvent, FocusAxisEvent, GestureEvent, BaseGestureEvent, GestureRecognizer, KeyEvent, MouseEvent, NavDestinationContext, NavigationTransitionProxy, WebResourceResponse, Measurable, Layoutable, StyledString, SwiperContentTransitionProxy, TabContentTransitionProxy, TouchEvent, UIExtensionProxy, WebResourceRequest, SubmitEvent } from "./../AllMaterialized" import { TextMenuItem, TextRange, DeleteValue, EditableTextChangeValue, InsertValue, StyledStringChangeValue, EditableTextOnChangeCallback, PreviewText, TextChangeOptions, OnDidChangeCallback } from "./../text_common" import { CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo, UserDataSpan, StyledStringMarshallCallback, StyledStringUnmarshallCallback } from "./../styled_string" import { ButtonTriggerClickCallback } from "./../button" -import { Area, ResourceStr, SizeOptions, VoidCallback } from "./../units" +import { Area, ConstraintSizeOptions, ResourceStr, SizeOptions, VoidCallback } from "./../units" import { CalendarRequestedData, CalendarSelectedDate } from "./../calendar" import { ComputedBarAttribute } from "./../grid" import { CopyEvent, CutEvent, RichEditorChangeValue, RichEditorDeleteValue, RichEditorInsertValue, RichEditorRange, RichEditorSelection, RichEditorTextSpanResult, PasteEvent, MenuOnAppearCallback, PasteEventCallback, SubmitCallback } from "./../rich_editor" @@ -48,6 +48,7 @@ import { PanelMode } from "./../panel" import { ScrollState, OnScrollVisibleContentChangeCallback, VisibleListContentInfo } from "./../list" import { SliderChangeMode, SliderTriggerChangeCallback } from "./../slider" import { OffsetResult, OnScrollFrameBeginHandlerResult, OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallback, ScrollOnWillScrollCallback } from "./../scroll" +import { Callback_onMeasureSize_SizeResult, Callback_onPlaceChildren_Void } from "./../static_components" import { TabContentAnimatedTransition, OnTabsAnimationEndCallback, TabsAnimationEvent, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback } from "./../tabs" import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, ErrorEvent, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, MessageEvents } from "./../arkui-custom" import { RefreshStatus } from "./../refresh" @@ -868,6 +869,21 @@ export function deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisDese const _callResult = _call(parameter) _continuation(_callResult) } +export function deserializeAndCallCallback_onMeasureSize_SizeResult(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as Callback_onMeasureSize_SizeResult) + let selfLayoutInfo: GeometryInfo = thisDeserializer.readGeometryInfo() + const children_buf_length: int32 = thisDeserializer.readInt32() + let children_buf: Array = new Array(children_buf_length) + for (let children_buf_i = 0; children_buf_i < children_buf_length; children_buf_i++) { + children_buf[children_buf_i] = (thisDeserializer.readMeasurable() as Measurable) + } + let children: Array = children_buf + let constraint: ConstraintSizeOptions = thisDeserializer.readConstraintSizeOptions() + let _continuation: ((value: SizeResult) => void) = thisDeserializer.readCallback_SizeResult_Void(true) + const _callResult = _call(selfLayoutInfo, children, constraint) + _continuation(_callResult) +} export function deserializeAndCallCallback_OnOverScrollEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnOverScrollEvent) => void)) @@ -898,6 +914,19 @@ export function deserializeAndCallCallback_OnPermissionRequestEvent_Void(thisDes let parameter: OnPermissionRequestEvent = thisDeserializer.readOnPermissionRequestEvent() _call(parameter) } +export function deserializeAndCallCallback_onPlaceChildren_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as Callback_onPlaceChildren_Void) + let selfLayoutInfo: GeometryInfo = thisDeserializer.readGeometryInfo() + const children_buf_length: int32 = thisDeserializer.readInt32() + let children_buf: Array = new Array(children_buf_length) + for (let children_buf_i = 0; children_buf_i < children_buf_length; children_buf_i++) { + children_buf[children_buf_i] = (thisDeserializer.readLayoutable() as Layoutable) + } + let children: Array = children_buf + let constraint: ConstraintSizeOptions = thisDeserializer.readConstraintSizeOptions() + _call(selfLayoutInfo, children, constraint) +} export function deserializeAndCallCallback_OnProgressChangeEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnProgressChangeEvent) => void)) @@ -1195,6 +1224,12 @@ export function deserializeAndCallCallback_SheetType_Void(thisDeserializer: Dese let parameter: SheetType = thisDeserializer.readInt32() _call(parameter) } +export function deserializeAndCallCallback_SizeResult_Void(thisDeserializer: Deserializer): void { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value: SizeResult) => void)) + let value: SizeResult = thisDeserializer.readSizeResult() + _call(value) +} export function deserializeAndCallCallback_SpringBackAction_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: SpringBackAction) => void)) @@ -2543,11 +2578,13 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case -2066745559/*CallbackKind.Kind_Callback_OnHttpErrorReceiveEvent_Void*/: return deserializeAndCallCallback_OnHttpErrorReceiveEvent_Void(thisDeserializer); case 1442698200/*CallbackKind.Kind_Callback_OnInterceptRequestEvent_WebResourceResponse*/: return deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceResponse(thisDeserializer); case 1231444306/*CallbackKind.Kind_Callback_OnLoadInterceptEvent_Boolean*/: return deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisDeserializer); + case -1356285653/*CallbackKind.Kind_Callback_onMeasureSize_SizeResult*/: return deserializeAndCallCallback_onMeasureSize_SizeResult(thisDeserializer); case -860386431/*CallbackKind.Kind_Callback_OnOverScrollEvent_Void*/: return deserializeAndCallCallback_OnOverScrollEvent_Void(thisDeserializer); case -2040193994/*CallbackKind.Kind_Callback_OnPageBeginEvent_Void*/: return deserializeAndCallCallback_OnPageBeginEvent_Void(thisDeserializer); case -130135362/*CallbackKind.Kind_Callback_OnPageEndEvent_Void*/: return deserializeAndCallCallback_OnPageEndEvent_Void(thisDeserializer); case 1805946367/*CallbackKind.Kind_Callback_OnPageVisibleEvent_Void*/: return deserializeAndCallCallback_OnPageVisibleEvent_Void(thisDeserializer); case 529980696/*CallbackKind.Kind_Callback_OnPermissionRequestEvent_Void*/: return deserializeAndCallCallback_OnPermissionRequestEvent_Void(thisDeserializer); + case -738620506/*CallbackKind.Kind_Callback_onPlaceChildren_Void*/: return deserializeAndCallCallback_onPlaceChildren_Void(thisDeserializer); case 1018740377/*CallbackKind.Kind_Callback_OnProgressChangeEvent_Void*/: return deserializeAndCallCallback_OnProgressChangeEvent_Void(thisDeserializer); case -1826742986/*CallbackKind.Kind_Callback_OnPromptEvent_Boolean*/: return deserializeAndCallCallback_OnPromptEvent_Boolean(thisDeserializer); case 1978364344/*CallbackKind.Kind_Callback_OnRefreshAccessedHistoryEvent_Void*/: return deserializeAndCallCallback_OnRefreshAccessedHistoryEvent_Void(thisDeserializer); @@ -2585,6 +2622,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer): void case 1980824326/*CallbackKind.Kind_Callback_RichEditorTextSpanResult_Void*/: return deserializeAndCallCallback_RichEditorTextSpanResult_Void(thisDeserializer); case 22609082/*CallbackKind.Kind_Callback_SheetDismiss_Void*/: return deserializeAndCallCallback_SheetDismiss_Void(thisDeserializer); case -224451112/*CallbackKind.Kind_Callback_SheetType_Void*/: return deserializeAndCallCallback_SheetType_Void(thisDeserializer); + case 1318865891/*CallbackKind.Kind_Callback_SizeResult_Void*/: return deserializeAndCallCallback_SizeResult_Void(thisDeserializer); case 1536231691/*CallbackKind.Kind_Callback_SpringBackAction_Void*/: return deserializeAndCallCallback_SpringBackAction_Void(thisDeserializer); case -879490874/*CallbackKind.Kind_Callback_String_Number_Void*/: return deserializeAndCallCallback_String_Number_Void(thisDeserializer); case -716524508/*CallbackKind.Kind_Callback_String_Opt_Object_Void*/: return deserializeAndCallCallback_String_Opt_Object_Void(thisDeserializer); diff --git a/arkoala/arkui/src/generated/peers/CallbackKind.ts b/arkoala/arkui/src/generated/peers/CallbackKind.ts index a20c46e90e..cf82434ab9 100644 --- a/arkoala/arkui/src/generated/peers/CallbackKind.ts +++ b/arkoala/arkui/src/generated/peers/CallbackKind.ts @@ -105,11 +105,13 @@ export enum CallbackKind { Kind_Callback_OnHttpErrorReceiveEvent_Void = -2066745559, Kind_Callback_OnInterceptRequestEvent_WebResourceResponse = 1442698200, Kind_Callback_OnLoadInterceptEvent_Boolean = 1231444306, + Kind_Callback_onMeasureSize_SizeResult = -1356285653, Kind_Callback_OnOverScrollEvent_Void = -860386431, Kind_Callback_OnPageBeginEvent_Void = -2040193994, Kind_Callback_OnPageEndEvent_Void = -130135362, Kind_Callback_OnPageVisibleEvent_Void = 1805946367, Kind_Callback_OnPermissionRequestEvent_Void = 529980696, + Kind_Callback_onPlaceChildren_Void = -738620506, Kind_Callback_OnProgressChangeEvent_Void = 1018740377, Kind_Callback_OnPromptEvent_Boolean = -1826742986, Kind_Callback_OnRefreshAccessedHistoryEvent_Void = 1978364344, @@ -147,6 +149,7 @@ export enum CallbackKind { Kind_Callback_RichEditorTextSpanResult_Void = 1980824326, Kind_Callback_SheetDismiss_Void = 22609082, Kind_Callback_SheetType_Void = -224451112, + Kind_Callback_SizeResult_Void = 1318865891, Kind_Callback_SpringBackAction_Void = 1536231691, Kind_Callback_String_Number_Void = -879490874, Kind_Callback_String_Opt_Object_Void = -716524508, diff --git a/arkoala/arkui/src/generated/peers/Deserializer.ts b/arkoala/arkui/src/generated/peers/Deserializer.ts index 303d1a01ec..339a5162c6 100644 --- a/arkoala/arkui/src/generated/peers/Deserializer.ts +++ b/arkoala/arkui/src/generated/peers/Deserializer.ts @@ -22,9 +22,10 @@ import { CallbackKind } from "./CallbackKind" import { Serializer } from "./Serializer" import { isResource, isPadding } from "./../../utils" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, CommonMethod, BlurStyle, PickerTextStyle, DragBehavior, DragResult, Rectangle, DataSyncOptions, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, NestedScrollOptions, EdgeEffectOptions, LayoutPolicy, RectResult, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, PopupStateChangeParam, SelectionOptions, TextDecorationOptions, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, TouchTestInfo, TransitionEffects, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, VisibleAreaEventOptions, SheetOptions, TouchResult, CrownEvent, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DismissReason, DragInteractionOptions, DropOptions, OutlineStyle, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, TransitionHierarchyStrategy, InvertOptions, LinearGradient_common, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, HapticFeedbackMode, MenuPolicy, StateStyles, SystemAdaptiveOptions, TouchObject, TouchTestStrategy, AlignRuleOption, FinishCallbackType, BlurStyleOptions, BlurStyleActivePolicy, AdaptiveColor, ContentCoverOptions, BindOptions, ModalTransition, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, DragPreviewMode, DraggingSizeChangeEffect, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ShadowType, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, SweepGradientOptions, TipsOptions, ShadowStyle, HoverModeAreaType, BorderImageOption, RepeatMode, ContextMenuOptions, MenuPreviewMode, BorderRadiusType, KeyboardAvoidMode, CustomPopupOptions, EventTarget, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, SheetSize, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, ThemeColorMode, SourceType, SourceTool, PopupOptions } from "./../common" +import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, CommonMethod, BlurStyle, PickerTextStyle, GeometryInfo, DragBehavior, DragResult, Rectangle, DataSyncOptions, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, NestedScrollOptions, EdgeEffectOptions, LayoutPolicy, RectResult, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, PopupStateChangeParam, SelectionOptions, TextDecorationOptions, SizeResult, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, TouchTestInfo, TransitionEffects, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, VisibleAreaEventOptions, SheetOptions, TouchResult, CrownEvent, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DismissReason, DragInteractionOptions, DropOptions, OutlineStyle, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, TransitionHierarchyStrategy, InvertOptions, LinearGradient_common, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, MeasureResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, HapticFeedbackMode, MenuPolicy, StateStyles, SystemAdaptiveOptions, TouchObject, TouchTestStrategy, AlignRuleOption, FinishCallbackType, BlurStyleOptions, BlurStyleActivePolicy, AdaptiveColor, ContentCoverOptions, BindOptions, ModalTransition, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, DragPreviewMode, DraggingSizeChangeEffect, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ShadowType, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, SweepGradientOptions, TipsOptions, ShadowStyle, HoverModeAreaType, BorderImageOption, RepeatMode, ContextMenuOptions, MenuPreviewMode, BorderRadiusType, KeyboardAvoidMode, CustomPopupOptions, EventTarget, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, SheetSize, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, ThemeColorMode, SourceType, SourceTool, PopupOptions } from "./../common" import { ButtonTriggerClickCallback, ControlSize, ButtonOptions, ButtonType, ButtonStyleMode, ButtonRole } from "./../button" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../animation_extender" +import { Callback_onMeasureSize_SizeResult, Callback_onPlaceChildren_Void, CustomLayoutRoot, CustomLayoutRootInternal } from "./../static_components" import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, SystemBarStyle, Event, ErrorEvent, MessageEvents, PostMessageOptions, WorkerOptions, CustomColors, CustomTheme } from "./../arkui-custom" import { ContentDidScrollCallback, ContentWillScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, SwiperAnimationEvent, SwiperAttribute, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, SwiperContentWillScrollResult, AutoPlayOptions, ArrowStyle, SwiperAutoFill, SwiperAnimationMode } from "./../swiper" import { CustomNodeBuilder } from "./../custom_builder" @@ -64,9 +65,9 @@ import { SearchSubmitCallback, SearchAttribute, IconOptions, CancelButtonOptions import { SliderTriggerChangeCallback, SliderAttribute, SliderChangeMode, SliderBlockStyle, SliderInteraction, SlideRange, SliderOptions, SliderStyle, SliderBlockType } from "./../slider" import { StyledStringMarshallCallback, StyledStringUnmarshallCallback, GestureStyleInterface, StyleOptions, StyledStringKey, SpanStyle, UserDataSpan, DecorationStyleInterface, CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo, TextStyleInterface, ImageAttachmentLayoutStyle, ParagraphStyleInterface, ColorFilterType, ImageAttachmentInterface, AttachmentType, ResourceImageAttachmentOptions, StyledStringValue } from "./../styled_string" import { TextAreaSubmitCallback, TextAreaAttribute, TextAreaType, TextAreaOptions } from "./../text_area" -import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ResourceStr, Dimension, LengthConstrain, DividerStyleOptions, ConstraintSizeOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" +import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ResourceStr, Dimension, ConstraintSizeOptions, LengthConstrain, DividerStyleOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" import { WithThemeInterface, WithThemeAttribute, WithThemeOptions } from "./../with_theme" -import { AccessibilityHoverEvent, AccessibilityHoverEventInternal, AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, PixelMap, PixelMapInternal, BaseShape, BaseShapeInternal, CalendarController, CalendarControllerInternal, CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, Matrix2D, Matrix2DInternal, CircleShape, CircleShapeInternal, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ColorFilter, ColorFilterInternal, CommonShape, CommonShapeInternal, ComponentContent, ComponentContentInternal, ConsoleMessage, ConsoleMessageInternal, ControllerHandler, ControllerHandlerInternal, WebviewController, WebviewControllerInternal, CustomDialogController, CustomDialogControllerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, DragEvent, DragEventInternal, UnifiedData, UnifiedDataInternal, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, DrawModifier, DrawModifierInternal, EllipseShape, EllipseShapeInternal, EventResult, EventResultInternal, EventTargetInfo, EventTargetInfoInternal, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, Filter, FilterInternal, FrameNode, FrameNodeInternal, UIContext, UIContextInternal, FrictionMotion, FrictionMotionInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, GestureGroupInterface, GestureGroupInterfaceInternal, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureModifier, GestureModifierInternal, GestureRecognizer, GestureRecognizerInternal, GestureStyle, GestureStyleInternal, HttpAuthHandler, HttpAuthHandlerInternal, ICurve, ICurveInternal, ImageAnalyzerController, ImageAnalyzerControllerInternal, IndicatorComponentController, IndicatorComponentControllerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, LayoutManager, LayoutManagerInternal, LinearGradient, LinearGradientInternal, LinearIndicatorController, LinearIndicatorControllerInternal, ChildrenMainSize, ChildrenMainSizeInternal, ListScroller, ListScrollerInternal, Scroller, ScrollerInternal, GestureEvent, GestureEventInternal, LongPressRecognizer, LongPressRecognizerInternal, Matrix4Transit, Matrix4TransitInternal, NavDestinationContext, NavDestinationContextInternal, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Path2D, Path2DInternal, PathShape, PathShapeInternal, PatternLockController, PatternLockControllerInternal, PermissionRequest, PermissionRequestInternal, PinchRecognizer, PinchRecognizerInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal, PixelMapMock, PixelMapMockInternal, ProgressMask, ProgressMaskInternal, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, SubmitEvent, SubmitEventInternal, RichEditorBaseController, RichEditorBaseControllerInternal, TextEditControllerEx, TextEditControllerExInternal, RichEditorController, RichEditorControllerInternal, StyledString, StyledStringInternal, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, StyledStringController, StyledStringControllerInternal, MutableStyledString, MutableStyledStringInternal, RotationRecognizer, RotationRecognizerInternal, Scene, SceneInternal, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SearchController, SearchControllerInternal, TextContentControllerBase, TextContentControllerBaseInternal, ShapeClip, ShapeClipInternal, ShapeMask, ShapeMaskInternal, SpringMotion, SpringMotionInternal, SslErrorHandler, SslErrorHandlerInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, SwipeRecognizer, SwipeRecognizerInternal, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsController, TabsControllerInternal, TapRecognizer, TapRecognizerInternal, LengthMetrics, LengthMetricsInternal, TextAreaController, TextAreaControllerInternal, TextBaseController, TextBaseControllerInternal, TextClockController, TextClockControllerInternal, TextController, TextControllerInternal, TextInputController, TextInputControllerInternal, TextMenuItemId, TextMenuItemIdInternal, TextTimerController, TextTimerControllerInternal, TransitionEffect, TransitionEffectInternal, UICommonEvent, UICommonEventInternal, ClickEvent, ClickEventInternal, TouchEvent, TouchEventInternal, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, MouseEvent, MouseEventInternal, Context, ContextInternal, UIExtensionProxy, UIExtensionProxyInternal, UrlStyle, UrlStyleInternal, VideoController, VideoControllerInternal, View, ViewInternal, VisualEffect, VisualEffectInternal, WaterFlowSections, WaterFlowSectionsInternal, WebResourceRequest, WebResourceRequestInternal, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebResourceError, WebResourceErrorInternal, WebResourceResponse, WebResourceResponseInternal, WorkerEventListener, WorkerEventListenerInternal, AxisEvent, AxisEventInternal, FocusAxisEvent, FocusAxisEventInternal, BaseGestureEvent, BaseGestureEventInternal, NavigationTransitionProxy, NavigationTransitionProxyInternal, AppearSymbolEffect, AppearSymbolEffectInternal, BaseContext, BaseContextInternal, BaselineOffsetStyle, BaselineOffsetStyleInternal, BounceSymbolEffect, BounceSymbolEffectInternal, ColorMetrics, ColorMetricsInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, DrawingRenderingContext, DrawingRenderingContextInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal, ImageData, ImageDataInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, Measurable, MeasurableInternal, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, TextShadowStyle, TextShadowStyleInternal, VirtualScrollOptions, VirtualScrollOptionsInternal, XComponentController, XComponentControllerInternal, CanvasRenderer, CanvasRendererInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, DecorationStyle, DecorationStyleInternal, Layoutable, LayoutableInternal, MenuItemConfiguration, MenuItemConfigurationInternal, RestrictedWorker, RestrictedWorkerInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, RenderNode, RenderNodeInternal, BaseEvent, BaseEventInternal, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, ParagraphStyle, ParagraphStyleInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal, BackgroundColorStyle, BackgroundColorStyleInternal } from "./../AllMaterialized" +import { AccessibilityHoverEvent, AccessibilityHoverEventInternal, AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, PixelMap, PixelMapInternal, BaseShape, BaseShapeInternal, CalendarController, CalendarControllerInternal, CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, Matrix2D, Matrix2DInternal, CircleShape, CircleShapeInternal, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ColorFilter, ColorFilterInternal, CommonShape, CommonShapeInternal, ComponentContent, ComponentContentInternal, ConsoleMessage, ConsoleMessageInternal, ControllerHandler, ControllerHandlerInternal, WebviewController, WebviewControllerInternal, CustomDialogController, CustomDialogControllerInternal, Measurable, MeasurableInternal, Layoutable, LayoutableInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, DragEvent, DragEventInternal, UnifiedData, UnifiedDataInternal, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, DrawModifier, DrawModifierInternal, EllipseShape, EllipseShapeInternal, EventResult, EventResultInternal, EventTargetInfo, EventTargetInfoInternal, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, Filter, FilterInternal, FrameNode, FrameNodeInternal, UIContext, UIContextInternal, FrictionMotion, FrictionMotionInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, GestureGroupInterface, GestureGroupInterfaceInternal, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureModifier, GestureModifierInternal, GestureRecognizer, GestureRecognizerInternal, GestureStyle, GestureStyleInternal, HttpAuthHandler, HttpAuthHandlerInternal, ICurve, ICurveInternal, ImageAnalyzerController, ImageAnalyzerControllerInternal, IndicatorComponentController, IndicatorComponentControllerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, LayoutManager, LayoutManagerInternal, LinearGradient, LinearGradientInternal, LinearIndicatorController, LinearIndicatorControllerInternal, ChildrenMainSize, ChildrenMainSizeInternal, ListScroller, ListScrollerInternal, Scroller, ScrollerInternal, GestureEvent, GestureEventInternal, LongPressRecognizer, LongPressRecognizerInternal, Matrix4Transit, Matrix4TransitInternal, NavDestinationContext, NavDestinationContextInternal, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Path2D, Path2DInternal, PathShape, PathShapeInternal, PatternLockController, PatternLockControllerInternal, PermissionRequest, PermissionRequestInternal, PinchRecognizer, PinchRecognizerInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal, PixelMapMock, PixelMapMockInternal, ProgressMask, ProgressMaskInternal, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, SubmitEvent, SubmitEventInternal, RichEditorBaseController, RichEditorBaseControllerInternal, TextEditControllerEx, TextEditControllerExInternal, RichEditorController, RichEditorControllerInternal, StyledString, StyledStringInternal, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, StyledStringController, StyledStringControllerInternal, MutableStyledString, MutableStyledStringInternal, RotationRecognizer, RotationRecognizerInternal, Scene, SceneInternal, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SearchController, SearchControllerInternal, TextContentControllerBase, TextContentControllerBaseInternal, ShapeClip, ShapeClipInternal, ShapeMask, ShapeMaskInternal, SpringMotion, SpringMotionInternal, SslErrorHandler, SslErrorHandlerInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, SwipeRecognizer, SwipeRecognizerInternal, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsController, TabsControllerInternal, TapRecognizer, TapRecognizerInternal, LengthMetrics, LengthMetricsInternal, TextAreaController, TextAreaControllerInternal, TextBaseController, TextBaseControllerInternal, TextClockController, TextClockControllerInternal, TextController, TextControllerInternal, TextInputController, TextInputControllerInternal, TextMenuItemId, TextMenuItemIdInternal, TextTimerController, TextTimerControllerInternal, TransitionEffect, TransitionEffectInternal, UICommonEvent, UICommonEventInternal, ClickEvent, ClickEventInternal, TouchEvent, TouchEventInternal, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, MouseEvent, MouseEventInternal, Context, ContextInternal, UIExtensionProxy, UIExtensionProxyInternal, UrlStyle, UrlStyleInternal, VideoController, VideoControllerInternal, View, ViewInternal, VisualEffect, VisualEffectInternal, WaterFlowSections, WaterFlowSectionsInternal, WebResourceRequest, WebResourceRequestInternal, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebResourceError, WebResourceErrorInternal, WebResourceResponse, WebResourceResponseInternal, WorkerEventListener, WorkerEventListenerInternal, AxisEvent, AxisEventInternal, FocusAxisEvent, FocusAxisEventInternal, BaseGestureEvent, BaseGestureEventInternal, NavigationTransitionProxy, NavigationTransitionProxyInternal, AppearSymbolEffect, AppearSymbolEffectInternal, BaseContext, BaseContextInternal, BaselineOffsetStyle, BaselineOffsetStyleInternal, BounceSymbolEffect, BounceSymbolEffectInternal, ColorMetrics, ColorMetricsInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, DrawingRenderingContext, DrawingRenderingContextInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal, ImageData, ImageDataInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, TextShadowStyle, TextShadowStyleInternal, VirtualScrollOptions, VirtualScrollOptionsInternal, XComponentController, XComponentControllerInternal, CanvasRenderer, CanvasRendererInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, DecorationStyle, DecorationStyleInternal, MenuItemConfiguration, MenuItemConfigurationInternal, RestrictedWorker, RestrictedWorkerInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, RenderNode, RenderNodeInternal, BaseEvent, BaseEventInternal, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, ParagraphStyle, ParagraphStyleInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal, BackgroundColorStyle, BackgroundColorStyleInternal } from "./../AllMaterialized" import { Color, BarState, EdgeEffect, Axis, NestedScrollMode, FoldStatus, CopyOptions, ResponseType, ScrollSource, Edge, TextAlign, OptionWidthMode, LineCapStyle, LineJoinStyle, CrownSensitivity, Curve, PageFlipMode, FontWeight, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, TextCase, TextSelectableMode, FlexDirection, HitTestMode, ImageRepeat, ClickEffectLevel, CrownAction, BorderStyle, InteractionHand, AppRotation, KeyType, KeySource, GradientDirection, HorizontalAlign, VerticalAlign, PixelRoundCalcPolicy, Alignment, TouchType, DialogButtonStyle, PlayMode, DividerMode, XComponentType, ColoringStrategy, SharedTransitionEffectType, TransitionType, FlexWrap, FlexAlign, ItemAlign, TitleHeight, IlluminatedType, ArrowPointPosition, Placement, AxisModel, MouseButton, MouseAction, AccessibilityHoverType, AxisAction, ImageSpanAlignment, ImageFit } from "./../enums" import { Resource } from "./../resource" import { AnimationOptions } from "./../arkui-drawabledescriptor" @@ -268,6 +269,11 @@ export class Deserializer extends DeserializerBase { let ptr: KPointer = valueDeserializer.readPointer() return CustomDialogControllerInternal.fromPtr(ptr) } + public readCustomLayoutRoot(): CustomLayoutRoot { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return CustomLayoutRootInternal.fromPtr(ptr) + } public readDataResubmissionHandler(): DataResubmissionHandler { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() @@ -846,6 +852,13 @@ export class Deserializer extends DeserializerBase { let value: Size = ({width: width_result, height: height_result} as Size) return value } + public readSizeResult(): SizeResult { + let valueDeserializer: Deserializer = this + const width_result: number = (valueDeserializer.readNumber() as number) + const height_result: number = (valueDeserializer.readNumber() as number) + let value: SizeResult = ({width: width_result, height: height_result} as SizeResult) + return value + } public readSliderAttribute(): SliderAttribute { let value: SliderAttribute = ({} as SliderAttribute) return value @@ -2863,6 +2876,29 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return (_continuationValue as boolean); } } + public readCallback_onMeasureSize_SizeResult(isSync: boolean = false): Callback_onMeasureSize_SizeResult { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): SizeResult => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeGeometryInfo(selfLayoutInfo); + _argsSerializer.writeInt32(children.length); + for (let i = 0; i < children.length; i++) { + const children_element: Measurable = children[i]; + _argsSerializer.writeMeasurable(children_element); + } + _argsSerializer.writeConstraintSizeOptions(constraint); + let _continuationValue: SizeResult | undefined|undefined ; + const _continuationCallback: ((value: SizeResult) => void) = (value: SizeResult): void => { _continuationValue = value; } + _argsSerializer.holdAndWriteCallback(_continuationCallback); + (isSync) ? (InteropNativeModule._CallCallbackSync(-1356285653, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1356285653, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return (_continuationValue as SizeResult); } + } public readCallback_OnOverScrollEvent_Void(isSync: boolean = false): ((parameter: OnOverScrollEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -2933,6 +2969,26 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + public readCallback_onPlaceChildren_Void(isSync: boolean = false): Callback_onPlaceChildren_Void { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeGeometryInfo(selfLayoutInfo); + _argsSerializer.writeInt32(children.length); + for (let i = 0; i < children.length; i++) { + const children_element: Layoutable = children[i]; + _argsSerializer.writeLayoutable(children_element); + } + _argsSerializer.writeConstraintSizeOptions(constraint); + (isSync) ? (InteropNativeModule._CallCallbackSync(-738620506, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-738620506, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } public readCallback_OnProgressChangeEvent_Void(isSync: boolean = false): ((parameter: OnProgressChangeEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -3528,6 +3584,20 @@ export class Deserializer extends DeserializerBase { _argsSerializer.release(); return; } } + public readCallback_SizeResult_Void(isSync: boolean = false): ((value: SizeResult) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (value: SizeResult): void => { + const _argsSerializer: Serializer = Serializer.hold(); + _argsSerializer.writeInt32(_resource.resourceId); + _argsSerializer.writePointer(_call); + _argsSerializer.writePointer(_callSync); + _argsSerializer.writeSizeResult(value); + (isSync) ? (InteropNativeModule._CallCallbackSync(1318865891, _argsSerializer.asBuffer(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1318865891, _argsSerializer.asBuffer(), _argsSerializer.length())); + _argsSerializer.release(); + return; } + } public readCallback_SpringBackAction_Void(isSync: boolean = false): ((parameter: SpringBackAction) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -25483,6 +25553,100 @@ export class Deserializer extends DeserializerBase { let ptr: KPointer = valueDeserializer.readPointer() return FocusAxisEventInternal.fromPtr(ptr) } + public readGeometryInfo(): GeometryInfo { + let valueDeserializer: Deserializer = this + const width_result: number = (valueDeserializer.readNumber() as number) + const height_result: number = (valueDeserializer.readNumber() as number) + const borderWidth_result: EdgeWidths = valueDeserializer.readEdgeWidths() + const margin_result: Padding = valueDeserializer.readPadding() + const padding_buf_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let padding_buf_top_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (padding_buf_top_buf_runtimeType)) + { + const padding_buf_top_buf__selector: number = valueDeserializer.readInt8() + let padding_buf_top_buf_: string | number | Resource | undefined|undefined + if (padding_buf_top_buf__selector == 0) { + padding_buf_top_buf_ = (valueDeserializer.readString() as string) + } + else if (padding_buf_top_buf__selector == 1) { + padding_buf_top_buf_ = (valueDeserializer.readNumber() as number) + } + else if (padding_buf_top_buf__selector == 2) { + padding_buf_top_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for padding_buf_top_buf_ has to be chosen through deserialisation.") + } + padding_buf_top_buf = (padding_buf_top_buf_ as string | number | Resource) + } + const padding_buf_top: undefined | Length = padding_buf_top_buf + const padding_buf_right_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let padding_buf_right_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (padding_buf_right_buf_runtimeType)) + { + const padding_buf_right_buf__selector: number = valueDeserializer.readInt8() + let padding_buf_right_buf_: string | number | Resource | undefined|undefined + if (padding_buf_right_buf__selector == 0) { + padding_buf_right_buf_ = (valueDeserializer.readString() as string) + } + else if (padding_buf_right_buf__selector == 1) { + padding_buf_right_buf_ = (valueDeserializer.readNumber() as number) + } + else if (padding_buf_right_buf__selector == 2) { + padding_buf_right_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for padding_buf_right_buf_ has to be chosen through deserialisation.") + } + padding_buf_right_buf = (padding_buf_right_buf_ as string | number | Resource) + } + const padding_buf_right: undefined | Length = padding_buf_right_buf + const padding_buf_bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let padding_buf_bottom_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (padding_buf_bottom_buf_runtimeType)) + { + const padding_buf_bottom_buf__selector: number = valueDeserializer.readInt8() + let padding_buf_bottom_buf_: string | number | Resource | undefined|undefined + if (padding_buf_bottom_buf__selector == 0) { + padding_buf_bottom_buf_ = (valueDeserializer.readString() as string) + } + else if (padding_buf_bottom_buf__selector == 1) { + padding_buf_bottom_buf_ = (valueDeserializer.readNumber() as number) + } + else if (padding_buf_bottom_buf__selector == 2) { + padding_buf_bottom_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for padding_buf_bottom_buf_ has to be chosen through deserialisation.") + } + padding_buf_bottom_buf = (padding_buf_bottom_buf_ as string | number | Resource) + } + const padding_buf_bottom: undefined | Length = padding_buf_bottom_buf + const padding_buf_left_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let padding_buf_left_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (padding_buf_left_buf_runtimeType)) + { + const padding_buf_left_buf__selector: number = valueDeserializer.readInt8() + let padding_buf_left_buf_: string | number | Resource | undefined|undefined + if (padding_buf_left_buf__selector == 0) { + padding_buf_left_buf_ = (valueDeserializer.readString() as string) + } + else if (padding_buf_left_buf__selector == 1) { + padding_buf_left_buf_ = (valueDeserializer.readNumber() as number) + } + else if (padding_buf_left_buf__selector == 2) { + padding_buf_left_buf_ = valueDeserializer.readResource() + } + else { + throw new Error("One of the branches for padding_buf_left_buf_ has to be chosen through deserialisation.") + } + padding_buf_left_buf = (padding_buf_left_buf_ as string | number | Resource) + } + const padding_buf_left: undefined | Length = padding_buf_left_buf + const padding_result: Padding = ({top: padding_buf_top, right: padding_buf_right, bottom: padding_buf_bottom, left: padding_buf_left} as Padding) + let value: GeometryInfo = ({width: width_result, height: height_result, borderWidth: borderWidth_result, margin: margin_result, padding: padding_result} as GeometryInfo) + return value + } public readGestureEvent(): GestureEvent { let valueDeserializer: Deserializer = this let ptr: KPointer = valueDeserializer.readPointer() diff --git a/arkoala/arkui/src/generated/peers/Serializer.ts b/arkoala/arkui/src/generated/peers/Serializer.ts index ad9e2ef60f..f3241b490c 100644 --- a/arkoala/arkui/src/generated/peers/Serializer.ts +++ b/arkoala/arkui/src/generated/peers/Serializer.ts @@ -21,9 +21,10 @@ import { int32, int64, float32, unsafeCast } from "@koalaui/common" import { CallbackKind } from "./CallbackKind" import { isResource, isPadding } from "./../../utils" import { CallbackTransformer } from "./../../CallbackTransformer" -import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, CommonMethod, BlurStyle, PickerTextStyle, DragBehavior, DragResult, Rectangle, DataSyncOptions, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, NestedScrollOptions, EdgeEffectOptions, LayoutPolicy, RectResult, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, PopupStateChangeParam, SelectionOptions, TextDecorationOptions, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, TouchTestInfo, TransitionEffects, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, VisibleAreaEventOptions, SheetOptions, TouchResult, CrownEvent, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DismissReason, DragInteractionOptions, DropOptions, OutlineStyle, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, TransitionHierarchyStrategy, InvertOptions, LinearGradient_common, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, MeasureResult, SizeResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, HapticFeedbackMode, MenuPolicy, StateStyles, SystemAdaptiveOptions, TouchObject, TouchTestStrategy, AlignRuleOption, FinishCallbackType, BlurStyleOptions, BlurStyleActivePolicy, AdaptiveColor, ContentCoverOptions, BindOptions, ModalTransition, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, DragPreviewMode, DraggingSizeChangeEffect, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ShadowType, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, SweepGradientOptions, TipsOptions, ShadowStyle, HoverModeAreaType, BorderImageOption, RepeatMode, ContextMenuOptions, MenuPreviewMode, BorderRadiusType, KeyboardAvoidMode, CustomPopupOptions, EventTarget, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, SheetSize, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, ThemeColorMode, SourceType, SourceTool, PopupOptions } from "./../common" +import { AccessibilityCallback, AccessibilityFocusCallback, GestureRecognizerJudgeBeginCallback, HoverCallback, OnDragEventCallback, OnMoveHandler, OnScrollCallback, PopupStateChangeCallback, ReuseIdCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, CommonMethod, BlurStyle, PickerTextStyle, GeometryInfo, DragBehavior, DragResult, Rectangle, DataSyncOptions, UIGestureEvent, ScrollableCommonMethod, ItemDragInfo, NestedScrollOptions, EdgeEffectOptions, LayoutPolicy, RectResult, CustomBuilder, LayoutSafeAreaType, LayoutSafeAreaEdge, PopupStateChangeParam, SelectionOptions, TextDecorationOptions, SizeResult, BackgroundEffectOptions, BackgroundBlurStyleOptions, TranslateOptions, InputCounterOptions, ShadowOptions, CaretOffset, TextContentControllerOptions, TouchTestInfo, TransitionEffects, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, VisibleAreaEventOptions, SheetOptions, TouchResult, CrownEvent, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, BackgroundBrightnessOptions, BackgroundImageOptions, BlurOptions, ClickEffect, DateRange, DismissReason, DragInteractionOptions, DropOptions, OutlineStyle, ExpectedFrameRateRange, FocusMovement, ForegroundEffectOptions, GeometryTransitionOptions, TransitionHierarchyStrategy, InvertOptions, LinearGradient_common, LinearGradientBlurOptions, FractionStop, LinearGradientOptions, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, MeasureResult, MotionBlurAnchor, MotionBlurOptions, MotionPathOptions, OverlayOffset, PixelRoundPolicy, PreviewConfiguration, HapticFeedbackMode, MenuPolicy, StateStyles, SystemAdaptiveOptions, TouchObject, TouchTestStrategy, AlignRuleOption, FinishCallbackType, BlurStyleOptions, BlurStyleActivePolicy, AdaptiveColor, ContentCoverOptions, BindOptions, ModalTransition, ContextMenuAnimationOptions, MultiShadowOptions, DragPreviewOptions, DragPreviewMode, DraggingSizeChangeEffect, FadingEdgeOptions, ForegroundBlurStyleOptions, HistoricalPoint, LightSource, LocalizedAlignRuleOptions, MenuElement, OverlayOptions, ReuseOptions, ShadowType, sharedTransitionOptions, SheetTitleOptions, TransitionOptions, PixelStretchEffectOptions, PointLightStyle, RadialGradientOptions, SweepGradientOptions, TipsOptions, ShadowStyle, HoverModeAreaType, BorderImageOption, RepeatMode, ContextMenuOptions, MenuPreviewMode, BorderRadiusType, KeyboardAvoidMode, CustomPopupOptions, EventTarget, MenuOptions, PickerDialogButtonStyle, PopupMessageOptions, SheetSize, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, ThemeColorMode, SourceType, SourceTool, PopupOptions } from "./../common" import { ButtonTriggerClickCallback, ControlSize, ButtonOptions, ButtonType, ButtonStyleMode, ButtonRole } from "./../button" import { Callback_Extender_OnFinish, Callback_Extender_OnProgress, DoubleAnimationParam } from "./../animation_extender" +import { Callback_onMeasureSize_SizeResult, Callback_onPlaceChildren_Void, CustomLayoutRoot, CustomLayoutRootInternal } from "./../static_components" import { Callback_RangeUpdate, Context_getGroupDir_Callback, RestrictedWorker_onerror_Callback, RestrictedWorker_onexit_Callback, RestrictedWorker_onmessage_Callback, SystemBarStyle, Event, ErrorEvent, MessageEvents, PostMessageOptions, WorkerOptions, CustomColors, CustomTheme } from "./../arkui-custom" import { ContentDidScrollCallback, ContentWillScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, SwiperAnimationEvent, SwiperAttribute, SwiperDisplayMode, SwiperNestedScrollMode, SwiperContentAnimatedTransition, SwiperContentWillScrollResult, AutoPlayOptions, ArrowStyle, SwiperAutoFill, SwiperAnimationMode } from "./../swiper" import { CustomNodeBuilder } from "./../custom_builder" @@ -63,9 +64,9 @@ import { SearchSubmitCallback, SearchAttribute, IconOptions, CancelButtonOptions import { SliderTriggerChangeCallback, SliderAttribute, SliderChangeMode, SliderBlockStyle, SliderInteraction, SlideRange, SliderOptions, SliderStyle, SliderBlockType } from "./../slider" import { StyledStringMarshallCallback, StyledStringUnmarshallCallback, GestureStyleInterface, StyleOptions, StyledStringKey, SpanStyle, UserDataSpan, DecorationStyleInterface, CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo, TextStyleInterface, ImageAttachmentLayoutStyle, ParagraphStyleInterface, ColorFilterType, ImageAttachmentInterface, AttachmentType, ResourceImageAttachmentOptions, StyledStringValue } from "./../styled_string" import { TextAreaSubmitCallback, TextAreaAttribute, TextAreaType, TextAreaOptions } from "./../text_area" -import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ResourceStr, Dimension, LengthConstrain, DividerStyleOptions, ConstraintSizeOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" +import { VoidCallback, ResourceColor, Font, Position, Length, SizeOptions, Offset, ResourceStr, Dimension, ConstraintSizeOptions, LengthConstrain, DividerStyleOptions, Area, AccessibilityOptions, Bias, ChainWeightOptions, DirectionalEdgesT, EdgeOutlineStyles, VP, EdgeColors, LocalizedBorderRadiuses, LocalizedEdgeColors, LocalizedEdges, LocalizedEdgeWidths, LocalizedPadding, LocalizedPosition, BorderRadiuses, EdgeOutlineWidths, EdgeWidths, PX, LPX, MarkStyle, OutlineRadiuses, Padding, BorderOptions, OutlineOptions } from "./../units" import { WithThemeInterface, WithThemeAttribute, WithThemeOptions } from "./../with_theme" -import { AccessibilityHoverEvent, AccessibilityHoverEventInternal, AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, PixelMap, PixelMapInternal, BaseShape, BaseShapeInternal, CalendarController, CalendarControllerInternal, CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, Matrix2D, Matrix2DInternal, CircleShape, CircleShapeInternal, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ColorFilter, ColorFilterInternal, CommonShape, CommonShapeInternal, ComponentContent, ComponentContentInternal, ConsoleMessage, ConsoleMessageInternal, ControllerHandler, ControllerHandlerInternal, WebviewController, WebviewControllerInternal, CustomDialogController, CustomDialogControllerInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, DragEvent, DragEventInternal, UnifiedData, UnifiedDataInternal, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, DrawModifier, DrawModifierInternal, EllipseShape, EllipseShapeInternal, EventResult, EventResultInternal, EventTargetInfo, EventTargetInfoInternal, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, Filter, FilterInternal, FrameNode, FrameNodeInternal, UIContext, UIContextInternal, FrictionMotion, FrictionMotionInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, GestureGroupInterface, GestureGroupInterfaceInternal, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureModifier, GestureModifierInternal, GestureRecognizer, GestureRecognizerInternal, GestureStyle, GestureStyleInternal, HttpAuthHandler, HttpAuthHandlerInternal, ICurve, ICurveInternal, ImageAnalyzerController, ImageAnalyzerControllerInternal, IndicatorComponentController, IndicatorComponentControllerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, LayoutManager, LayoutManagerInternal, LinearGradient, LinearGradientInternal, LinearIndicatorController, LinearIndicatorControllerInternal, ChildrenMainSize, ChildrenMainSizeInternal, ListScroller, ListScrollerInternal, Scroller, ScrollerInternal, GestureEvent, GestureEventInternal, LongPressRecognizer, LongPressRecognizerInternal, Matrix4Transit, Matrix4TransitInternal, NavDestinationContext, NavDestinationContextInternal, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Path2D, Path2DInternal, PathShape, PathShapeInternal, PatternLockController, PatternLockControllerInternal, PermissionRequest, PermissionRequestInternal, PinchRecognizer, PinchRecognizerInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal, PixelMapMock, PixelMapMockInternal, ProgressMask, ProgressMaskInternal, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, SubmitEvent, SubmitEventInternal, RichEditorBaseController, RichEditorBaseControllerInternal, TextEditControllerEx, TextEditControllerExInternal, RichEditorController, RichEditorControllerInternal, StyledString, StyledStringInternal, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, StyledStringController, StyledStringControllerInternal, MutableStyledString, MutableStyledStringInternal, RotationRecognizer, RotationRecognizerInternal, Scene, SceneInternal, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SearchController, SearchControllerInternal, TextContentControllerBase, TextContentControllerBaseInternal, ShapeClip, ShapeClipInternal, ShapeMask, ShapeMaskInternal, SpringMotion, SpringMotionInternal, SslErrorHandler, SslErrorHandlerInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, SwipeRecognizer, SwipeRecognizerInternal, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsController, TabsControllerInternal, TapRecognizer, TapRecognizerInternal, LengthMetrics, LengthMetricsInternal, TextAreaController, TextAreaControllerInternal, TextBaseController, TextBaseControllerInternal, TextClockController, TextClockControllerInternal, TextController, TextControllerInternal, TextInputController, TextInputControllerInternal, TextMenuItemId, TextMenuItemIdInternal, TextTimerController, TextTimerControllerInternal, TransitionEffect, TransitionEffectInternal, UICommonEvent, UICommonEventInternal, ClickEvent, ClickEventInternal, TouchEvent, TouchEventInternal, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, MouseEvent, MouseEventInternal, Context, ContextInternal, UIExtensionProxy, UIExtensionProxyInternal, UrlStyle, UrlStyleInternal, VideoController, VideoControllerInternal, View, ViewInternal, VisualEffect, VisualEffectInternal, WaterFlowSections, WaterFlowSectionsInternal, WebResourceRequest, WebResourceRequestInternal, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebResourceError, WebResourceErrorInternal, WebResourceResponse, WebResourceResponseInternal, WorkerEventListener, WorkerEventListenerInternal, AxisEvent, AxisEventInternal, FocusAxisEvent, FocusAxisEventInternal, BaseGestureEvent, BaseGestureEventInternal, NavigationTransitionProxy, NavigationTransitionProxyInternal, AppearSymbolEffect, AppearSymbolEffectInternal, BaseContext, BaseContextInternal, BaselineOffsetStyle, BaselineOffsetStyleInternal, BounceSymbolEffect, BounceSymbolEffectInternal, ColorMetrics, ColorMetricsInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, DrawingRenderingContext, DrawingRenderingContextInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal, ImageData, ImageDataInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, Measurable, MeasurableInternal, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, TextShadowStyle, TextShadowStyleInternal, VirtualScrollOptions, VirtualScrollOptionsInternal, XComponentController, XComponentControllerInternal, CanvasRenderer, CanvasRendererInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, DecorationStyle, DecorationStyleInternal, Layoutable, LayoutableInternal, MenuItemConfiguration, MenuItemConfigurationInternal, RestrictedWorker, RestrictedWorkerInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, RenderNode, RenderNodeInternal, BaseEvent, BaseEventInternal, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, ParagraphStyle, ParagraphStyleInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal, BackgroundColorStyle, BackgroundColorStyleInternal } from "./../AllMaterialized" +import { AccessibilityHoverEvent, AccessibilityHoverEventInternal, AnimatedDrawableDescriptor, AnimatedDrawableDescriptorInternal, DrawableDescriptor, DrawableDescriptorInternal, PixelMap, PixelMapInternal, BaseShape, BaseShapeInternal, CalendarController, CalendarControllerInternal, CanvasGradient, CanvasGradientInternal, CanvasPath, CanvasPathInternal, CanvasPattern, CanvasPatternInternal, Matrix2D, Matrix2DInternal, CircleShape, CircleShapeInternal, ClientAuthenticationHandler, ClientAuthenticationHandlerInternal, ColorFilter, ColorFilterInternal, CommonShape, CommonShapeInternal, ComponentContent, ComponentContentInternal, ConsoleMessage, ConsoleMessageInternal, ControllerHandler, ControllerHandlerInternal, WebviewController, WebviewControllerInternal, CustomDialogController, CustomDialogControllerInternal, Measurable, MeasurableInternal, Layoutable, LayoutableInternal, DataResubmissionHandler, DataResubmissionHandlerInternal, DragEvent, DragEventInternal, UnifiedData, UnifiedDataInternal, DrawingCanvas, DrawingCanvasInternal, DrawingColorFilter, DrawingColorFilterInternal, DrawingLattice, DrawingLatticeInternal, DrawModifier, DrawModifierInternal, EllipseShape, EllipseShapeInternal, EventResult, EventResultInternal, EventTargetInfo, EventTargetInfoInternal, FileSelectorParam, FileSelectorParamInternal, FileSelectorResult, FileSelectorResultInternal, Filter, FilterInternal, FrameNode, FrameNodeInternal, UIContext, UIContextInternal, FrictionMotion, FrictionMotionInternal, FullScreenExitHandler, FullScreenExitHandlerInternal, GestureGroupInterface, GestureGroupInterfaceInternal, TapGestureInterface, TapGestureInterfaceInternal, LongPressGestureInterface, LongPressGestureInterfaceInternal, PanGestureInterface, PanGestureInterfaceInternal, PinchGestureInterface, PinchGestureInterfaceInternal, SwipeGestureInterface, SwipeGestureInterfaceInternal, RotationGestureInterface, RotationGestureInterfaceInternal, GestureModifier, GestureModifierInternal, GestureRecognizer, GestureRecognizerInternal, GestureStyle, GestureStyleInternal, HttpAuthHandler, HttpAuthHandlerInternal, ICurve, ICurveInternal, ImageAnalyzerController, ImageAnalyzerControllerInternal, IndicatorComponentController, IndicatorComponentControllerInternal, JsGeolocation, JsGeolocationInternal, JsResult, JsResultInternal, LayeredDrawableDescriptor, LayeredDrawableDescriptorInternal, LayoutManager, LayoutManagerInternal, LinearGradient, LinearGradientInternal, LinearIndicatorController, LinearIndicatorControllerInternal, ChildrenMainSize, ChildrenMainSizeInternal, ListScroller, ListScrollerInternal, Scroller, ScrollerInternal, GestureEvent, GestureEventInternal, LongPressRecognizer, LongPressRecognizerInternal, Matrix4Transit, Matrix4TransitInternal, NavDestinationContext, NavDestinationContextInternal, NavPathStack, NavPathStackInternal, NavPathInfo, NavPathInfoInternal, OffscreenCanvas, OffscreenCanvasInternal, ImageBitmap, ImageBitmapInternal, RenderingContextSettings, RenderingContextSettingsInternal, OffscreenCanvasRenderingContext2D, OffscreenCanvasRenderingContext2DInternal, PanGestureOptions, PanGestureOptionsInternal, PanRecognizer, PanRecognizerInternal, Path2D, Path2DInternal, PathShape, PathShapeInternal, PatternLockController, PatternLockControllerInternal, PermissionRequest, PermissionRequestInternal, PinchRecognizer, PinchRecognizerInternal, PixelMapDrawableDescriptor, PixelMapDrawableDescriptorInternal, PixelMapMock, PixelMapMockInternal, ProgressMask, ProgressMaskInternal, PulseSymbolEffect, PulseSymbolEffectInternal, SymbolEffect, SymbolEffectInternal, RectShape, RectShapeInternal, SubmitEvent, SubmitEventInternal, RichEditorBaseController, RichEditorBaseControllerInternal, TextEditControllerEx, TextEditControllerExInternal, RichEditorController, RichEditorControllerInternal, StyledString, StyledStringInternal, RichEditorStyledStringController, RichEditorStyledStringControllerInternal, StyledStringController, StyledStringControllerInternal, MutableStyledString, MutableStyledStringInternal, RotationRecognizer, RotationRecognizerInternal, Scene, SceneInternal, ScreenCaptureHandler, ScreenCaptureHandlerInternal, ScrollableTargetInfo, ScrollableTargetInfoInternal, ScrollMotion, ScrollMotionInternal, SpringProp, SpringPropInternal, SearchController, SearchControllerInternal, TextContentControllerBase, TextContentControllerBaseInternal, ShapeClip, ShapeClipInternal, ShapeMask, ShapeMaskInternal, SpringMotion, SpringMotionInternal, SslErrorHandler, SslErrorHandlerInternal, ImageAttachment, ImageAttachmentInternal, CustomSpan, CustomSpanInternal, SwiperContentTransitionProxy, SwiperContentTransitionProxyInternal, SwiperController, SwiperControllerInternal, SwipeRecognizer, SwipeRecognizerInternal, TabContentTransitionProxy, TabContentTransitionProxyInternal, TabsController, TabsControllerInternal, TapRecognizer, TapRecognizerInternal, LengthMetrics, LengthMetricsInternal, TextAreaController, TextAreaControllerInternal, TextBaseController, TextBaseControllerInternal, TextClockController, TextClockControllerInternal, TextController, TextControllerInternal, TextInputController, TextInputControllerInternal, TextMenuItemId, TextMenuItemIdInternal, TextTimerController, TextTimerControllerInternal, TransitionEffect, TransitionEffectInternal, UICommonEvent, UICommonEventInternal, ClickEvent, ClickEventInternal, TouchEvent, TouchEventInternal, KeyEvent, KeyEventInternal, HoverEvent, HoverEventInternal, MouseEvent, MouseEventInternal, Context, ContextInternal, UIExtensionProxy, UIExtensionProxyInternal, UrlStyle, UrlStyleInternal, VideoController, VideoControllerInternal, View, ViewInternal, VisualEffect, VisualEffectInternal, WaterFlowSections, WaterFlowSectionsInternal, WebResourceRequest, WebResourceRequestInternal, WebContextMenuParam, WebContextMenuParamInternal, WebContextMenuResult, WebContextMenuResultInternal, WebController, WebControllerInternal, WebCookie, WebCookieInternal, WebKeyboardController, WebKeyboardControllerInternal, WebResourceError, WebResourceErrorInternal, WebResourceResponse, WebResourceResponseInternal, WorkerEventListener, WorkerEventListenerInternal, AxisEvent, AxisEventInternal, FocusAxisEvent, FocusAxisEventInternal, BaseGestureEvent, BaseGestureEventInternal, NavigationTransitionProxy, NavigationTransitionProxyInternal, AppearSymbolEffect, AppearSymbolEffectInternal, BaseContext, BaseContextInternal, BaselineOffsetStyle, BaselineOffsetStyleInternal, BounceSymbolEffect, BounceSymbolEffectInternal, ColorMetrics, ColorMetricsInternal, DisappearSymbolEffect, DisappearSymbolEffectInternal, DrawingRenderingContext, DrawingRenderingContextInternal, HierarchicalSymbolEffect, HierarchicalSymbolEffectInternal, ImageData, ImageDataInternal, LetterSpacingStyle, LetterSpacingStyleInternal, LineHeightStyle, LineHeightStyleInternal, ReplaceSymbolEffect, ReplaceSymbolEffectInternal, ScaleSymbolEffect, ScaleSymbolEffectInternal, TextShadowStyle, TextShadowStyleInternal, VirtualScrollOptions, VirtualScrollOptionsInternal, XComponentController, XComponentControllerInternal, CanvasRenderer, CanvasRendererInternal, CanvasRenderingContext2D, CanvasRenderingContext2DInternal, DecorationStyle, DecorationStyleInternal, MenuItemConfiguration, MenuItemConfigurationInternal, RestrictedWorker, RestrictedWorkerInternal, TextStyle_styled_string, TextStyle_styled_stringInternal, RenderNode, RenderNodeInternal, BaseEvent, BaseEventInternal, LongPressGestureEvent, LongPressGestureEventInternal, PanGestureEvent, PanGestureEventInternal, ParagraphStyle, ParagraphStyleInternal, PinchGestureEvent, PinchGestureEventInternal, RotationGestureEvent, RotationGestureEventInternal, SwipeGestureEvent, SwipeGestureEventInternal, TapGestureEvent, TapGestureEventInternal, BackgroundColorStyle, BackgroundColorStyleInternal } from "./../AllMaterialized" import { Color, BarState, EdgeEffect, Axis, NestedScrollMode, FoldStatus, CopyOptions, ResponseType, ScrollSource, Edge, TextAlign, OptionWidthMode, LineCapStyle, LineJoinStyle, CrownSensitivity, Curve, PageFlipMode, FontWeight, TextOverflow, TextContentStyle, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, TextCase, TextSelectableMode, FlexDirection, HitTestMode, ImageRepeat, ClickEffectLevel, CrownAction, BorderStyle, InteractionHand, AppRotation, KeyType, KeySource, GradientDirection, HorizontalAlign, VerticalAlign, PixelRoundCalcPolicy, Alignment, TouchType, DialogButtonStyle, PlayMode, DividerMode, XComponentType, ColoringStrategy, SharedTransitionEffectType, TransitionType, FlexWrap, FlexAlign, ItemAlign, TitleHeight, IlluminatedType, ArrowPointPosition, Placement, AxisModel, MouseButton, MouseAction, AccessibilityHoverType, AxisAction, ImageSpanAlignment, ImageFit } from "./../enums" import { Resource } from "./../resource" import { AnimationOptions } from "./../arkui-drawabledescriptor" @@ -252,6 +253,10 @@ export class Serializer extends SerializerBase { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } + public writeCustomLayoutRoot(value: CustomLayoutRoot): void { + let valueSerializer: Serializer = this + valueSerializer.writePointer(toPeerPtr(value)) + } public writeDataResubmissionHandler(value: DataResubmissionHandler): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) @@ -743,6 +748,13 @@ export class Serializer extends SerializerBase { const value_height = value.height valueSerializer.writeNumber(value_height) } + public writeSizeResult(value: SizeResult): void { + let valueSerializer: Serializer = this + const value_width = value.width + valueSerializer.writeNumber(value_width) + const value_height = value.height + valueSerializer.writeNumber(value_height) + } public writeSliderAttribute(value: SliderAttribute): void { } public writeSpringMotion(value: SpringMotion): void { @@ -22991,6 +23003,114 @@ export class Serializer extends SerializerBase { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) } + public writeGeometryInfo(value: GeometryInfo): void { + let valueSerializer: Serializer = this + const value_width = value.width + valueSerializer.writeNumber(value_width) + const value_height = value.height + valueSerializer.writeNumber(value_height) + const value_borderWidth = value.borderWidth + valueSerializer.writeEdgeWidths(value_borderWidth) + const value_margin = value.margin + valueSerializer.writePadding(value_margin) + const value_padding = value.padding + const value_padding_top = value_padding.top + let value_padding_top_type: int32 = RuntimeType.UNDEFINED + value_padding_top_type = runtimeType(value_padding_top) + valueSerializer.writeInt8(value_padding_top_type) + if ((RuntimeType.UNDEFINED) != (value_padding_top_type)) { + const value_padding_top_value = value_padding_top! + let value_padding_top_value_type: int32 = RuntimeType.UNDEFINED + value_padding_top_value_type = runtimeType(value_padding_top_value) + if (RuntimeType.STRING == value_padding_top_value_type) { + valueSerializer.writeInt8(0) + const value_padding_top_value_0 = unsafeCast(value_padding_top_value) + valueSerializer.writeString(value_padding_top_value_0) + } + else if (RuntimeType.NUMBER == value_padding_top_value_type) { + valueSerializer.writeInt8(1) + const value_padding_top_value_1 = unsafeCast(value_padding_top_value) + valueSerializer.writeNumber(value_padding_top_value_1) + } + else if (RuntimeType.OBJECT == value_padding_top_value_type) { + valueSerializer.writeInt8(2) + const value_padding_top_value_2 = unsafeCast(value_padding_top_value) + valueSerializer.writeResource(value_padding_top_value_2) + } + } + const value_padding_right = value_padding.right + let value_padding_right_type: int32 = RuntimeType.UNDEFINED + value_padding_right_type = runtimeType(value_padding_right) + valueSerializer.writeInt8(value_padding_right_type) + if ((RuntimeType.UNDEFINED) != (value_padding_right_type)) { + const value_padding_right_value = value_padding_right! + let value_padding_right_value_type: int32 = RuntimeType.UNDEFINED + value_padding_right_value_type = runtimeType(value_padding_right_value) + if (RuntimeType.STRING == value_padding_right_value_type) { + valueSerializer.writeInt8(0) + const value_padding_right_value_0 = unsafeCast(value_padding_right_value) + valueSerializer.writeString(value_padding_right_value_0) + } + else if (RuntimeType.NUMBER == value_padding_right_value_type) { + valueSerializer.writeInt8(1) + const value_padding_right_value_1 = unsafeCast(value_padding_right_value) + valueSerializer.writeNumber(value_padding_right_value_1) + } + else if (RuntimeType.OBJECT == value_padding_right_value_type) { + valueSerializer.writeInt8(2) + const value_padding_right_value_2 = unsafeCast(value_padding_right_value) + valueSerializer.writeResource(value_padding_right_value_2) + } + } + const value_padding_bottom = value_padding.bottom + let value_padding_bottom_type: int32 = RuntimeType.UNDEFINED + value_padding_bottom_type = runtimeType(value_padding_bottom) + valueSerializer.writeInt8(value_padding_bottom_type) + if ((RuntimeType.UNDEFINED) != (value_padding_bottom_type)) { + const value_padding_bottom_value = value_padding_bottom! + let value_padding_bottom_value_type: int32 = RuntimeType.UNDEFINED + value_padding_bottom_value_type = runtimeType(value_padding_bottom_value) + if (RuntimeType.STRING == value_padding_bottom_value_type) { + valueSerializer.writeInt8(0) + const value_padding_bottom_value_0 = unsafeCast(value_padding_bottom_value) + valueSerializer.writeString(value_padding_bottom_value_0) + } + else if (RuntimeType.NUMBER == value_padding_bottom_value_type) { + valueSerializer.writeInt8(1) + const value_padding_bottom_value_1 = unsafeCast(value_padding_bottom_value) + valueSerializer.writeNumber(value_padding_bottom_value_1) + } + else if (RuntimeType.OBJECT == value_padding_bottom_value_type) { + valueSerializer.writeInt8(2) + const value_padding_bottom_value_2 = unsafeCast(value_padding_bottom_value) + valueSerializer.writeResource(value_padding_bottom_value_2) + } + } + const value_padding_left = value_padding.left + let value_padding_left_type: int32 = RuntimeType.UNDEFINED + value_padding_left_type = runtimeType(value_padding_left) + valueSerializer.writeInt8(value_padding_left_type) + if ((RuntimeType.UNDEFINED) != (value_padding_left_type)) { + const value_padding_left_value = value_padding_left! + let value_padding_left_value_type: int32 = RuntimeType.UNDEFINED + value_padding_left_value_type = runtimeType(value_padding_left_value) + if (RuntimeType.STRING == value_padding_left_value_type) { + valueSerializer.writeInt8(0) + const value_padding_left_value_0 = unsafeCast(value_padding_left_value) + valueSerializer.writeString(value_padding_left_value_0) + } + else if (RuntimeType.NUMBER == value_padding_left_value_type) { + valueSerializer.writeInt8(1) + const value_padding_left_value_1 = unsafeCast(value_padding_left_value) + valueSerializer.writeNumber(value_padding_left_value_1) + } + else if (RuntimeType.OBJECT == value_padding_left_value_type) { + valueSerializer.writeInt8(2) + const value_padding_left_value_2 = unsafeCast(value_padding_left_value) + valueSerializer.writeResource(value_padding_left_value_2) + } + } + } public writeGestureEvent(value: GestureEvent): void { let valueSerializer: Serializer = this valueSerializer.writePointer(toPeerPtr(value)) diff --git a/arkoala/arkui/src/generated/static_components.ts b/arkoala/arkui/src/generated/static_components.ts index 85bcf0849e..049f0a7950 100644 --- a/arkoala/arkui/src/generated/static_components.ts +++ b/arkoala/arkui/src/generated/static_components.ts @@ -27,6 +27,10 @@ import { CallbackKind } from "./peers/CallbackKind" import { CallbackTransformer } from "./../CallbackTransformer" import { ArkUIGeneratedNativeModule } from "./peers/ArkUIGeneratedNativeModule" import { Deserializer } from "./peers/Deserializer" +import { GeometryInfo, SizeResult, MeasureResult } from "./common" +import { Measurable, Layoutable } from "./AllMaterialized" +import { ConstraintSizeOptions, EdgeWidths, Padding, DirectionalEdgesT, Length, Position } from "./units" +import { Resource } from "./resource" import { UICommonBase, AttributeModifier } from "./../handwritten" import { NodeAttach, remember } from "@koalaui/runtime" export class ArkRootPeer extends PeerNode { @@ -53,6 +57,30 @@ export class ArkComponentRootPeer extends PeerNode { return _peer } } +export class ArkCustomLayoutRootPeer extends PeerNode { + protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { + super(peerPtr, id, name, flags) + } + public static create(component?: ComponentBase, flags: int32 = 0): ArkCustomLayoutRootPeer { + const peerId = PeerNode.nextId() + const _peerPtr = ArkUIGeneratedNativeModule._CustomLayoutRoot_construct(peerId, flags) + const _peer = new ArkCustomLayoutRootPeer(_peerPtr, peerId, "CustomLayoutRoot", flags) + component?.setPeer(_peer) + return _peer + } + subscribeOnMeasureSizeAttribute(callback: Callback_onMeasureSize_SizeResult): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(callback) + ArkUIGeneratedNativeModule._CustomLayoutRoot_subscribeOnMeasureSize(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } + subscribeOnPlaceChildrenAttribute(callback: Callback_onPlaceChildren_Void): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(callback) + ArkUIGeneratedNativeModule._CustomLayoutRoot_subscribeOnPlaceChildren(this.peer.ptr, thisSerializer.asBuffer(), thisSerializer.length()) + thisSerializer.release() + } +} export interface Root { attributeModifier(value: AttributeModifier | undefined): this } @@ -77,6 +105,8 @@ export class ArkComponentRootStyle implements ComponentRoot { throw new Error("Not implemented") } } +export type Callback_onMeasureSize_SizeResult = (selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions) => SizeResult; +export type Callback_onPlaceChildren_Void = (selfLayoutInfo: GeometryInfo, children: Array, constraint: ConstraintSizeOptions) => void; /** @memo:stable */ export class ArkRootComponent extends ComponentBase implements UIRoot { protected getPeer(): ArkRootPeer { @@ -107,3 +137,36 @@ export class ArkComponentRootComponent extends ComponentBase implements UICompon super.applyAttributesFinish() } } +/** @memo:stable */ +export class ArkCustomLayoutRootComponent extends ComponentBase implements UICustomLayoutRoot { + protected getPeer(): ArkCustomLayoutRootPeer { + return (this.peer as ArkCustomLayoutRootPeer) + } + /** @memo */ + public subscribeOnMeasureSize(callback: Callback_onMeasureSize_SizeResult): void { + if (this.checkPriority("subscribeOnMeasureSize")) { + const callback_casted = callback as (Callback_onMeasureSize_SizeResult) + this.getPeer()?.subscribeOnMeasureSizeAttribute(callback_casted) + return + } + return + } + /** @memo */ + public subscribeOnPlaceChildren(callback: Callback_onPlaceChildren_Void): void { + if (this.checkPriority("subscribeOnPlaceChildren")) { + const callback_casted = callback as (Callback_onPlaceChildren_Void) + this.getPeer()?.subscribeOnPlaceChildrenAttribute(callback_casted) + return + } + return + } + /** @memo */ + public attributeModifier(value: AttributeModifier | undefined): this { + console.log("attributeModifier() not implemented") + return this + } + public applyAttributesFinish(): void { + // we call this function outside of class, so need to make it public + super.applyAttributesFinish() + } +} -- Gitee